From 2f99ce37e5380c8e53fb3515cc2bc5d48bd3d7fd Mon Sep 17 00:00:00 2001 From: Kristóf Marussy Date: Fri, 11 Jan 2019 15:41:57 +0100 Subject: Build with Eclipse 2018.12, generated files change --- .../ide/.ApplicationConfigurationIdeModule.xtendbin | Bin 1705 -> 1701 bytes .../ide/.ApplicationConfigurationIdeSetup.xtendbin | Bin 2535 -> 2526 bytes .../mit/inf/dslreasoner/application/ide/.gitignore | 4 ++++ 3 files changed, 4 insertions(+) (limited to 'Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner') diff --git a/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeModule.xtendbin b/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeModule.xtendbin index ca156c38..3a607d3e 100644 Binary files a/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeModule.xtendbin and b/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeModule.xtendbin differ diff --git a/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeSetup.xtendbin b/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeSetup.xtendbin index 51888916..46e639f1 100644 Binary files a/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeSetup.xtendbin and b/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeSetup.xtendbin differ diff --git a/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.gitignore b/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.gitignore index 1089c736..c41377d5 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.gitignore +++ b/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.gitignore @@ -1,2 +1,6 @@ /.ApplicationConfigurationIdeModule.java._trace /.ApplicationConfigurationIdeSetup.java._trace +/.ApplicationConfigurationIdeModule.xtendbin +/.ApplicationConfigurationIdeSetup.xtendbin +/ApplicationConfigurationIdeModule.java +/ApplicationConfigurationIdeSetup.java -- cgit v1.2.3-70-g09d2 From 0a21cf7ee37b2afcc71eccca34be455fc4d3f038 Mon Sep 17 00:00:00 2001 From: Kristóf Marussy Date: Tue, 5 Feb 2019 23:53:50 +0100 Subject: Generated files change --- .../.ApplicationConfigurationIdeModule.xtendbin | Bin 1701 -> 1701 bytes .../ide/.ApplicationConfigurationIdeSetup.xtendbin | Bin 2526 -> 2526 bytes .../ide/ApplicationConfigurationIdeModule.java | 26 +- .../ide/ApplicationConfigurationIdeSetup.java | 48 ++-- .../application/validation/MetamodelValidator.java | 314 ++++++++++----------- .../validation/QueryAndMetamodelValidator.java | 172 +++++------ ...licationConfigurationValueConverterService.java | 32 +-- 7 files changed, 296 insertions(+), 296 deletions(-) (limited to 'Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner') diff --git a/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeModule.xtendbin b/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeModule.xtendbin index 3a607d3e..879d3171 100644 Binary files a/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeModule.xtendbin and b/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeModule.xtendbin differ diff --git a/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeSetup.xtendbin b/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeSetup.xtendbin index 46e639f1..1583d4f9 100644 Binary files a/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeSetup.xtendbin and b/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeSetup.xtendbin differ diff --git a/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/ApplicationConfigurationIdeModule.java b/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/ApplicationConfigurationIdeModule.java index 34f65780..f4d40594 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/ApplicationConfigurationIdeModule.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/ApplicationConfigurationIdeModule.java @@ -1,13 +1,13 @@ -/** - * generated by Xtext 2.12.0 - */ -package hu.bme.mit.inf.dslreasoner.application.ide; - -import hu.bme.mit.inf.dslreasoner.application.ide.AbstractApplicationConfigurationIdeModule; - -/** - * Use this class to register ide components. - */ -@SuppressWarnings("all") -public class ApplicationConfigurationIdeModule extends AbstractApplicationConfigurationIdeModule { -} +/** + * generated by Xtext 2.12.0 + */ +package hu.bme.mit.inf.dslreasoner.application.ide; + +import hu.bme.mit.inf.dslreasoner.application.ide.AbstractApplicationConfigurationIdeModule; + +/** + * Use this class to register ide components. + */ +@SuppressWarnings("all") +public class ApplicationConfigurationIdeModule extends AbstractApplicationConfigurationIdeModule { +} diff --git a/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/ApplicationConfigurationIdeSetup.java b/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/ApplicationConfigurationIdeSetup.java index a73d3f1f..2281147c 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/ApplicationConfigurationIdeSetup.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/ApplicationConfigurationIdeSetup.java @@ -1,24 +1,24 @@ -/** - * generated by Xtext 2.12.0 - */ -package hu.bme.mit.inf.dslreasoner.application.ide; - -import com.google.inject.Guice; -import com.google.inject.Injector; -import hu.bme.mit.inf.dslreasoner.application.ApplicationConfigurationRuntimeModule; -import hu.bme.mit.inf.dslreasoner.application.ApplicationConfigurationStandaloneSetup; -import hu.bme.mit.inf.dslreasoner.application.ide.ApplicationConfigurationIdeModule; -import org.eclipse.xtext.util.Modules2; - -/** - * Initialization support for running Xtext languages as language servers. - */ -@SuppressWarnings("all") -public class ApplicationConfigurationIdeSetup extends ApplicationConfigurationStandaloneSetup { - @Override - public Injector createInjector() { - ApplicationConfigurationRuntimeModule _applicationConfigurationRuntimeModule = new ApplicationConfigurationRuntimeModule(); - ApplicationConfigurationIdeModule _applicationConfigurationIdeModule = new ApplicationConfigurationIdeModule(); - return Guice.createInjector(Modules2.mixin(_applicationConfigurationRuntimeModule, _applicationConfigurationIdeModule)); - } -} +/** + * generated by Xtext 2.12.0 + */ +package hu.bme.mit.inf.dslreasoner.application.ide; + +import com.google.inject.Guice; +import com.google.inject.Injector; +import hu.bme.mit.inf.dslreasoner.application.ApplicationConfigurationRuntimeModule; +import hu.bme.mit.inf.dslreasoner.application.ApplicationConfigurationStandaloneSetup; +import hu.bme.mit.inf.dslreasoner.application.ide.ApplicationConfigurationIdeModule; +import org.eclipse.xtext.util.Modules2; + +/** + * Initialization support for running Xtext languages as language servers. + */ +@SuppressWarnings("all") +public class ApplicationConfigurationIdeSetup extends ApplicationConfigurationStandaloneSetup { + @Override + public Injector createInjector() { + ApplicationConfigurationRuntimeModule _applicationConfigurationRuntimeModule = new ApplicationConfigurationRuntimeModule(); + ApplicationConfigurationIdeModule _applicationConfigurationIdeModule = new ApplicationConfigurationIdeModule(); + return Guice.createInjector(Modules2.mixin(_applicationConfigurationRuntimeModule, _applicationConfigurationIdeModule)); + } +} diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/xtend-gen/hu/bme/mit/inf/dslreasoner/application/validation/MetamodelValidator.java b/Application/hu.bme.mit.inf.dslreasoner.application/xtend-gen/hu/bme/mit/inf/dslreasoner/application/validation/MetamodelValidator.java index 2a2e1047..872814b8 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/xtend-gen/hu/bme/mit/inf/dslreasoner/application/validation/MetamodelValidator.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/xtend-gen/hu/bme/mit/inf/dslreasoner/application/validation/MetamodelValidator.java @@ -1,157 +1,157 @@ -package hu.bme.mit.inf.dslreasoner.application.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(); - this.allSupertypesAreIncluded(descriptor.getClasses(), errors); - this.allEnumTypesareIncluded(descriptor.getEnums(), descriptor.getLiterals(), errors); - this.referenceEndpointsAreIncluded(descriptor.getClasses(), descriptor.getReferences(), errors); - this.attributeSourcePontIsIncluded(descriptor.getClasses(), descriptor.getAttributes(), errors); - this.attributeTargetIsSupported(descriptor.getAttributes(), 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) { - boolean _contains = enums.contains(l.getEEnum()); - 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 \""); - String _name_1 = l.getEEnum().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()); - } - } - } - } -} +package hu.bme.mit.inf.dslreasoner.application.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(); + this.allSupertypesAreIncluded(descriptor.getClasses(), errors); + this.allEnumTypesareIncluded(descriptor.getEnums(), descriptor.getLiterals(), errors); + this.referenceEndpointsAreIncluded(descriptor.getClasses(), descriptor.getReferences(), errors); + this.attributeSourcePontIsIncluded(descriptor.getClasses(), descriptor.getAttributes(), errors); + this.attributeTargetIsSupported(descriptor.getAttributes(), 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) { + boolean _contains = enums.contains(l.getEEnum()); + 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 \""); + String _name_1 = l.getEEnum().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/validation/QueryAndMetamodelValidator.java b/Application/hu.bme.mit.inf.dslreasoner.application/xtend-gen/hu/bme/mit/inf/dslreasoner/application/validation/QueryAndMetamodelValidator.java index 3ed13964..e6840f6f 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/xtend-gen/hu/bme/mit/inf/dslreasoner/application/validation/QueryAndMetamodelValidator.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/xtend-gen/hu/bme/mit/inf/dslreasoner/application/validation/QueryAndMetamodelValidator.java @@ -1,86 +1,86 @@ -package hu.bme.mit.inf.dslreasoner.application.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.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.emf.vql.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(); - final Set elementsInMetamodel = IterableExtensions.toSet(Iterables.concat(_plus_2, _references)); - 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) { - final List elements = IteratorExtensions.toList(pattern.eAllContents()); - final Function1> _function = (EObject element) -> { - final EList references = element.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()); - } - } - }; - return Iterables.filter(Iterables.concat(ListExtensions.>map(references, _function_1)), ENamedElement.class); - }; - return Iterables.concat(ListExtensions.>map(elements, _function)); - } -} +package hu.bme.mit.inf.dslreasoner.application.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.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.emf.vql.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(); + final Set elementsInMetamodel = IterableExtensions.toSet(Iterables.concat(_plus_2, _references)); + 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) { + final List elements = IteratorExtensions.toList(pattern.eAllContents()); + final Function1> _function = (EObject element) -> { + final EList references = element.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()); + } + } + }; + return Iterables.filter(Iterables.concat(ListExtensions.>map(references, _function_1)), ENamedElement.class); + }; + return Iterables.concat(ListExtensions.>map(elements, _function)); + } +} diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/xtend-gen/hu/bme/mit/inf/dslreasoner/application/valueconverter/ApplicationConfigurationValueConverterService.java b/Application/hu.bme.mit.inf.dslreasoner.application/xtend-gen/hu/bme/mit/inf/dslreasoner/application/valueconverter/ApplicationConfigurationValueConverterService.java index e617a132..59a09906 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/xtend-gen/hu/bme/mit/inf/dslreasoner/application/valueconverter/ApplicationConfigurationValueConverterService.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/xtend-gen/hu/bme/mit/inf/dslreasoner/application/valueconverter/ApplicationConfigurationValueConverterService.java @@ -1,16 +1,16 @@ -package hu.bme.mit.inf.dslreasoner.application.valueconverter; - -import hu.bme.mit.inf.dslreasoner.application.valueconverter.QualifiedNameValueConverter; -import org.eclipse.xtext.common.services.DefaultTerminalConverters; -import org.eclipse.xtext.conversion.IValueConverter; -import org.eclipse.xtext.conversion.ValueConverter; - -@SuppressWarnings("all") -public class ApplicationConfigurationValueConverterService extends DefaultTerminalConverters { - private final QualifiedNameValueConverter converter2 = new QualifiedNameValueConverter(); - - @ValueConverter(rule = "QualifiedName") - public IValueConverter QualifiedName() { - return this.converter2; - } -} +package hu.bme.mit.inf.dslreasoner.application.valueconverter; + +import hu.bme.mit.inf.dslreasoner.application.valueconverter.QualifiedNameValueConverter; +import org.eclipse.xtext.common.services.DefaultTerminalConverters; +import org.eclipse.xtext.conversion.IValueConverter; +import org.eclipse.xtext.conversion.ValueConverter; + +@SuppressWarnings("all") +public class ApplicationConfigurationValueConverterService extends DefaultTerminalConverters { + private final QualifiedNameValueConverter converter2 = new QualifiedNameValueConverter(); + + @ValueConverter(rule = "QualifiedName") + public IValueConverter QualifiedName() { + return this.converter2; + } +} -- cgit v1.2.3-70-g09d2 From d90bedacaafe87e06fddaa05a6ff9b7b796e97e7 Mon Sep 17 00:00:00 2001 From: Kristóf Marussy Date: Sat, 16 Feb 2019 00:43:11 +0100 Subject: Two-valued fault tree analyzer WIP --- .../.ApplicationConfigurationIdeModule.xtendbin | Bin 1701 -> 1701 bytes .../ide/.ApplicationConfigurationIdeSetup.xtendbin | Bin 2526 -> 2526 bytes .../plugin.xml | 12 +- .../logic/model/builder/LogicSolver.xtend | 6 +- .../antlr/internal/InternalCftLanguage.g | 12 +- .../antlr/internal/InternalCftLanguage.tokens | 2 +- .../antlr/internal/InternalCftLanguageLexer.java | 122 +++--- .../antlr/internal/InternalCftLanguageParser.java | 53 +-- .../components/ide/.CftLanguageIdeModule.xtendbin | Bin 1712 -> 1712 bytes .../components/ide/.CftLanguageIdeSetup.xtendbin | Bin 2549 -> 2549 bytes .../components/ui/.CftLanguageUiModule.xtendbin | Bin 3606 -> 3606 bytes .../.CftLanguageProposalProvider.xtendbin | Bin 1820 -> 1820 bytes .../.CftLanguageDescriptionLabelProvider.xtendbin | Bin 1993 -> 1993 bytes .../ui/labeling/.CftLanguageLabelProvider.xtendbin | Bin 2885 -> 2885 bytes .../.CftLanguageOutlineTreeProvider.xtendbin | Bin 2451 -> 2451 bytes .../quickfix/.CftLanguageQuickfixProvider.xtendbin | Bin 1819 -> 1819 bytes ...LanguageSemanticHighlightingCalculator.xtendbin | Bin 3773 -> 3773 bytes .../.CftLanguageTokenToAttributeIdMapper.xtendbin | Bin 2740 -> 2740 bytes .../faulttree/components/CftLanguage.xtextbin | Bin 5923 -> 5927 bytes .../parser/antlr/internal/InternalCftLanguage.g | 15 +- .../antlr/internal/InternalCftLanguage.tokens | 2 +- .../antlr/internal/InternalCftLanguageLexer.java | 198 ++++----- .../antlr/internal/InternalCftLanguageParser.java | 143 +++---- .../serializer/CftLanguageSemanticSequencer.java | 2 +- .../services/CftLanguageGrammarAccess.java | 26 +- .../faulttree/components/CftLanguage.xtext | 4 +- .../components/.CftLanguageRuntimeModule.xtendbin | Bin 3436 -> 3436 bytes .../.CftLanguageStandaloneSetup.xtendbin | Bin 2015 -> 2015 bytes .../.CftLanguageValueConverterService.xtendbin | Bin 3002 -> 3002 bytes .../conversion/.OF_INTValueConverter.xtendbin | Bin 4411 -> 4411 bytes .../generator/.CftLanguageGenerator.xtendbin | Bin 2365 -> 2365 bytes .../.CftLanguageQualifiedNameProvider.xtendbin | Bin 3630 -> 3630 bytes .../naming/.PackageNameProvider.xtendbin | Bin 3283 -> 3283 bytes ...portedNamespaceAwareLocalScopeProvider.xtendbin | Bin 4651 -> 4651 bytes .../scoping/.CftLanguageScopeProvider.xtendbin | Bin 8989 -> 8989 bytes .../validation/.CftLanguageValidator.xtendbin | Bin 1760 -> 1760 bytes .../dslreasoner/faulttree/model/ft/BasicEvent.java | 2 +- .../faulttree/model/ft/ConstantEvent.java | 49 +++ .../faulttree/model/ft/ConstantModel.java | 49 +++ .../inf/dslreasoner/faulttree/model/ft/Event.java | 32 -- .../dslreasoner/faulttree/model/ft/FaultTree.java | 14 +- .../dslreasoner/faulttree/model/ft/FtFactory.java | 18 + .../dslreasoner/faulttree/model/ft/FtPackage.java | 308 ++++++++++++-- .../inf/dslreasoner/faulttree/model/ft/Gate.java | 8 +- .../dslreasoner/faulttree/model/ft/KOfMGate.java | 27 -- .../faulttree/model/ft/RandomEvent.java | 49 +++ .../faulttree/model/ft/ReliabilityModel.java | 18 + .../faulttree/model/ft/impl/BasicEventImpl.java | 2 +- .../faulttree/model/ft/impl/ConstantEventImpl.java | 164 ++++++++ .../faulttree/model/ft/impl/ConstantModelImpl.java | 164 ++++++++ .../faulttree/model/ft/impl/EventImpl.java | 126 ------ .../faulttree/model/ft/impl/FaultTreeImpl.java | 29 +- .../faulttree/model/ft/impl/FtFactoryImpl.java | 24 ++ .../faulttree/model/ft/impl/FtPackageImpl.java | 140 ++++++- .../faulttree/model/ft/impl/GateImpl.java | 12 +- .../faulttree/model/ft/impl/KOfMGateImpl.java | 56 --- .../faulttree/model/ft/impl/RandomEventImpl.java | 164 ++++++++ .../model/ft/impl/ReliabilityModelImpl.java | 39 ++ .../faulttree/model/ft/util/FtAdapterFactory.java | 82 +++- .../faulttree/model/ft/util/FtSwitch.java | 105 ++++- .../model/ft.ecore | 25 +- .../model/ft.genmodel | 13 +- .../representations.aird | 291 +++++++++++-- .../META-INF/MANIFEST.MF | 9 +- .../build.properties | 3 +- .../cft2ft/Cft2FtTransformation.xtend | 20 +- .../transformation/cft2ft/EventCollection.xtend | 90 ++++ .../transformation/cft2ft/EventMaterializer.xtend | 192 +++++++++ .../transformation/cft2ft/FaultTreeBuilder.xtend | 39 ++ .../ecore2cft/Ecore2CftTransformation.xtend | 1 + .../ft2galileo/Ft2GalileoTransformation.xtend | 56 +++ .../transformation/solver/ReliabilityResult.xtend | 51 +++ .../solver/StormDftConfiguration.xtend | 45 ++ .../transformation/solver/StormDftHandler.xtend | 186 +++++++++ .../transformation/solver/StormDftSolver.xtend | 43 ++ .../cft2ft/.Cft2FtTransformation.xtendbin | Bin 2298 -> 2825 bytes .../cft2ft/.EventCollection.xtendbin | Bin 0 -> 7022 bytes .../cft2ft/.EventMaterializer.xtendbin | Bin 0 -> 11749 bytes .../cft2ft/.FaultTreeBuilder.xtendbin | Bin 0 -> 4029 bytes .../faulttree/transformation/cft2ft/.gitignore | 7 + .../cft2ft/Cft2FtTransformation.java | 43 +- .../transformation/cft2ft/EventCollection.java | 188 +++++++++ .../transformation/cft2ft/EventMaterializer.java | 456 +++++++++++++++++++++ .../transformation/cft2ft/FaultTreeBuilder.java | 57 +++ .../ecore2cft/.ComponentFaultTreeTrace.xtendbin | Bin 5009 -> 5009 bytes .../ecore2cft/.ComponentInstanceTrace.xtendbin | Bin 5190 -> 5190 bytes .../ecore2cft/.ComponentNameGenerator.xtendbin | Bin 3472 -> 3472 bytes .../ecore2cft/.Ecore2CftTransformation.xtendbin | Bin 3400 -> 3431 bytes .../transformation/ecore2cft/.InputTrace.xtendbin | Bin 3849 -> 3849 bytes .../ecore2cft/.LookupHandler.xtendbin | Bin 5169 -> 5169 bytes .../ecore2cft/.MappingHandler.xtendbin | Bin 6876 -> 6876 bytes .../ecore2cft/.MappingQueries.xtendbin | Bin 4833 -> 4833 bytes .../ecore2cft/Ecore2CftTransformation.java | 20 +- .../ft2galileo/.Ft2GalileoTransformation.xtendbin | Bin 0 -> 4761 bytes .../faulttree/transformation/ft2galileo/.gitignore | 1 + .../ft2galileo/Ft2GalileoTransformation.java | 181 ++++++++ .../solver/.ReliabilityResult.xtendbin | Bin 0 -> 5435 bytes .../solver/.StormDftConfiguration.xtendbin | Bin 0 -> 4311 bytes .../solver/.StormDftHandler.xtendbin | Bin 0 -> 13615 bytes .../transformation/solver/.StormDftSolver.xtendbin | Bin 0 -> 4801 bytes .../faulttree/transformation/solver/.gitignore | 9 + .../solver/ApproximationHeuristic.java | 8 + .../transformation/solver/FtAnalysisObjective.java | 14 + .../transformation/solver/ReliabilityResult.java | 156 +++++++ .../solver/StormDftConfiguration.java | 31 ++ .../transformation/solver/StormDftException.java | 12 + .../transformation/solver/StormDftHandler.java | 351 ++++++++++++++++ .../transformation/solver/StormDftSolver.java | 79 ++++ 108 files changed, 4251 insertions(+), 704 deletions(-) create mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/ConstantEvent.java create mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/ConstantModel.java create mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/RandomEvent.java create mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/ReliabilityModel.java create mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/ConstantEventImpl.java create mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/ConstantModelImpl.java create mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/RandomEventImpl.java create mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/ReliabilityModelImpl.java create mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/EventCollection.xtend create mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/EventMaterializer.xtend create mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/FaultTreeBuilder.xtend create mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ft2galileo/Ft2GalileoTransformation.xtend create mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/ReliabilityResult.xtend create mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/StormDftConfiguration.xtend create mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/StormDftHandler.xtend create mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/StormDftSolver.xtend create mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/.EventCollection.xtendbin create mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/.EventMaterializer.xtendbin create mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/.FaultTreeBuilder.xtendbin create mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/EventCollection.java create mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/EventMaterializer.java create mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/FaultTreeBuilder.java create mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ft2galileo/.Ft2GalileoTransformation.xtendbin create mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ft2galileo/.gitignore create mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ft2galileo/Ft2GalileoTransformation.java create mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/.ReliabilityResult.xtendbin create mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/.StormDftConfiguration.xtendbin create mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/.StormDftHandler.xtendbin create mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/.StormDftSolver.xtendbin create mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/.gitignore create mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/ApproximationHeuristic.java create mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/FtAnalysisObjective.java create mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/ReliabilityResult.java create mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/StormDftConfiguration.java create mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/StormDftException.java create mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/StormDftHandler.java create mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/StormDftSolver.java (limited to 'Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner') diff --git a/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeModule.xtendbin b/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeModule.xtendbin index 879d3171..d13742f9 100644 Binary files a/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeModule.xtendbin and b/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeModule.xtendbin differ diff --git a/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeSetup.xtendbin b/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeSetup.xtendbin index 1583d4f9..dc0a79cc 100644 Binary files a/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeSetup.xtendbin and b/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeSetup.xtendbin differ diff --git a/Application/hu.bme.mit.inf.dslreasoner.application.ui/plugin.xml b/Application/hu.bme.mit.inf.dslreasoner.application.ui/plugin.xml index 099d6993..304df098 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application.ui/plugin.xml +++ b/Application/hu.bme.mit.inf.dslreasoner.application.ui/plugin.xml @@ -419,12 +419,20 @@ point="org.eclipse.ui.menus"> + locationURI="popup:hu.bme.mit.inf.dslreasoner.application.ui.menu"> + + + + diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/src/hu/bme/mit/inf/dslreasoner/logic/model/builder/LogicSolver.xtend b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/src/hu/bme/mit/inf/dslreasoner/logic/model/builder/LogicSolver.xtend index f1d410d8..d88e2a52 100644 --- a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/src/hu/bme/mit/inf/dslreasoner/logic/model/builder/LogicSolver.xtend +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/src/hu/bme/mit/inf/dslreasoner/logic/model/builder/LogicSolver.xtend @@ -34,7 +34,7 @@ public class LogicReasonerException extends Exception { } } -abstract class LogicSolverConfiguration { +abstract class SolverConfiguration { public static val Unlimited = -1; public static val String UndefinedPath = null @@ -42,7 +42,7 @@ abstract class LogicSolverConfiguration { public String solverPath = UndefinedPath /** Max runtime limit in seconds. */ public int runtimeLimit = Unlimited - /** Max runtime limit in seconds. */ + /** Max memory limit in megabytes. */ public int memoryLimit = Unlimited /** Documentation level of the solver. */ public DocumentationLevel documentationLevel = DocumentationLevel::NONE @@ -52,7 +52,9 @@ abstract class LogicSolverConfiguration { * or via a listener registered by {@link progressMonitor.addCancelListener} */ public SolverProgressMonitor progressMonitor = new NullSolverProgressMonitor +} +abstract class LogicSolverConfiguration extends SolverConfiguration { public var TypeScopes typeScopes = new TypeScopes; public var SolutionScope solutionScope = new SolutionScope } diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/contentassist/antlr/internal/InternalCftLanguage.g b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/contentassist/antlr/internal/InternalCftLanguage.g index 7c04c163..6ccf7334 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/contentassist/antlr/internal/InternalCftLanguage.g +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/contentassist/antlr/internal/InternalCftLanguage.g @@ -1564,9 +1564,9 @@ rule__ConstantDistribution__Group__0__Impl } : ( - { before(grammarAccess.getConstantDistributionAccess().getPKeyword_0()); } - 'p' - { after(grammarAccess.getConstantDistributionAccess().getPKeyword_0()); } + { before(grammarAccess.getConstantDistributionAccess().getProbKeyword_0()); } + 'prob' + { after(grammarAccess.getConstantDistributionAccess().getProbKeyword_0()); } ) ; finally { @@ -4133,9 +4133,9 @@ rule__ComponentInstance__NameAssignment_2 } : ( - { before(grammarAccess.getComponentInstanceAccess().getNameIDTerminalRuleCall_2_0()); } - RULE_ID - { after(grammarAccess.getComponentInstanceAccess().getNameIDTerminalRuleCall_2_0()); } + { before(grammarAccess.getComponentInstanceAccess().getNameValidIdParserRuleCall_2_0()); } + ruleValidId + { after(grammarAccess.getComponentInstanceAccess().getNameValidIdParserRuleCall_2_0()); } ) ; finally { diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/contentassist/antlr/internal/InternalCftLanguage.tokens b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/contentassist/antlr/internal/InternalCftLanguage.tokens index ee87b574..76556942 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/contentassist/antlr/internal/InternalCftLanguage.tokens +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/contentassist/antlr/internal/InternalCftLanguage.tokens @@ -20,8 +20,8 @@ 'of'=27 'or'=26 'out'=21 -'p'=22 'package'=14 +'prob'=22 'toplevel'=39 'transformation'=28 '{'=18 diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/contentassist/antlr/internal/InternalCftLanguageLexer.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/contentassist/antlr/internal/InternalCftLanguageLexer.java index 21e09c33..6a06d1ec 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/contentassist/antlr/internal/InternalCftLanguageLexer.java +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/contentassist/antlr/internal/InternalCftLanguageLexer.java @@ -255,10 +255,11 @@ public class InternalCftLanguageLexer extends Lexer { try { int _type = T__22; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalCftLanguage.g:20:7: ( 'p' ) - // InternalCftLanguage.g:20:9: 'p' + // InternalCftLanguage.g:20:7: ( 'prob' ) + // InternalCftLanguage.g:20:9: 'prob' { - match('p'); + match("prob"); + } @@ -1729,21 +1730,21 @@ public class InternalCftLanguageLexer extends Lexer { } } static final String DFA20_eotS = - "\1\uffff\1\34\1\37\1\uffff\2\40\2\uffff\1\40\1\53\4\40\5\uffff\2\34\1\72\1\34\1\uffff\3\34\3\uffff\1\40\3\uffff\1\40\1\103\1\40\2\uffff\1\40\1\106\1\110\2\uffff\3\40\1\114\3\40\10\uffff\1\72\5\uffff\2\40\1\uffff\1\122\1\123\1\uffff\1\124\1\uffff\2\40\1\127\1\uffff\5\40\3\uffff\2\40\1\uffff\13\40\1\152\1\153\1\154\3\40\1\160\3\uffff\2\40\1\163\1\uffff\1\40\1\165\1\uffff\1\40\1\uffff\4\40\1\173\1\uffff"; + "\1\uffff\1\34\1\40\1\uffff\2\40\2\uffff\1\40\1\53\4\40\5\uffff\2\34\1\74\1\34\1\uffff\3\34\3\uffff\2\40\2\uffff\1\40\1\104\1\40\2\uffff\1\40\1\107\1\110\2\uffff\3\40\1\115\3\40\10\uffff\1\74\5\uffff\3\40\1\uffff\1\124\1\125\2\uffff\1\126\2\40\1\131\1\uffff\4\40\1\136\1\40\3\uffff\2\40\1\uffff\4\40\1\uffff\7\40\1\155\1\156\1\157\3\40\1\163\3\uffff\2\40\1\166\1\uffff\1\40\1\170\1\uffff\1\40\1\uffff\4\40\1\176\1\uffff"; static final String DFA20_eofS = - "\174\uffff"; + "\177\uffff"; static final String DFA20_minS = - "\1\0\1\75\1\60\1\uffff\1\155\1\146\2\uffff\1\146\1\76\1\141\1\156\1\157\1\141\5\uffff\1\135\1\75\1\56\1\101\1\uffff\2\0\1\52\3\uffff\1\143\3\uffff\1\160\1\60\1\164\2\uffff\1\164\2\60\2\uffff\1\155\1\157\1\144\1\60\1\141\2\160\10\uffff\1\56\5\uffff\1\153\1\157\1\uffff\2\60\1\uffff\1\60\1\uffff\1\142\1\153\1\60\1\uffff\1\156\1\154\1\160\1\141\1\162\3\uffff\1\144\1\165\1\uffff\1\163\1\145\1\151\1\147\1\164\1\141\1\160\1\146\1\166\1\156\1\145\3\60\1\157\1\145\1\147\1\60\3\uffff\1\162\1\154\1\60\1\uffff\1\155\1\60\1\uffff\1\141\1\uffff\1\164\1\151\1\157\1\156\1\60\1\uffff"; + "\1\0\1\75\1\141\1\uffff\1\155\1\146\2\uffff\1\146\1\76\1\141\1\156\1\157\1\141\5\uffff\1\135\1\75\1\56\1\101\1\uffff\2\0\1\52\3\uffff\1\143\1\157\2\uffff\1\160\1\60\1\164\2\uffff\1\164\2\60\2\uffff\1\155\1\157\1\144\1\60\1\141\2\160\10\uffff\1\56\5\uffff\1\153\1\142\1\157\1\uffff\2\60\2\uffff\1\60\1\142\1\153\1\60\1\uffff\1\156\1\154\1\160\1\141\1\60\1\162\3\uffff\1\144\1\165\1\uffff\1\163\1\145\1\151\1\147\1\uffff\1\164\1\141\1\160\1\146\1\166\1\156\1\145\3\60\1\157\1\145\1\147\1\60\3\uffff\1\162\1\154\1\60\1\uffff\1\155\1\60\1\uffff\1\141\1\uffff\1\164\1\151\1\157\1\156\1\60\1\uffff"; static final String DFA20_maxS = - "\1\uffff\1\75\1\172\1\uffff\1\156\1\146\2\uffff\1\165\1\76\1\157\1\163\1\162\1\141\5\uffff\1\135\1\75\1\145\1\172\1\uffff\2\uffff\1\57\3\uffff\1\143\3\uffff\1\160\1\172\1\164\2\uffff\1\164\2\172\2\uffff\1\155\1\157\1\144\1\172\1\141\2\160\10\uffff\1\145\5\uffff\1\153\1\157\1\uffff\2\172\1\uffff\1\172\1\uffff\1\142\1\153\1\172\1\uffff\1\156\1\154\1\160\1\141\1\162\3\uffff\1\144\1\165\1\uffff\1\163\1\145\1\151\1\147\1\164\1\141\1\160\1\146\1\166\1\156\1\145\3\172\1\157\1\145\1\147\1\172\3\uffff\1\162\1\154\1\172\1\uffff\1\155\1\172\1\uffff\1\141\1\uffff\1\164\1\151\1\157\1\156\1\172\1\uffff"; + "\1\uffff\1\75\1\162\1\uffff\1\156\1\146\2\uffff\1\165\1\76\1\157\1\163\1\162\1\141\5\uffff\1\135\1\75\1\145\1\172\1\uffff\2\uffff\1\57\3\uffff\1\143\1\157\2\uffff\1\160\1\172\1\164\2\uffff\1\164\2\172\2\uffff\1\155\1\157\1\144\1\172\1\141\2\160\10\uffff\1\145\5\uffff\1\153\1\142\1\157\1\uffff\2\172\2\uffff\1\172\1\142\1\153\1\172\1\uffff\1\156\1\154\1\160\1\141\1\172\1\162\3\uffff\1\144\1\165\1\uffff\1\163\1\145\1\151\1\147\1\uffff\1\164\1\141\1\160\1\146\1\166\1\156\1\145\3\172\1\157\1\145\1\147\1\172\3\uffff\1\162\1\154\1\172\1\uffff\1\155\1\172\1\uffff\1\141\1\uffff\1\164\1\151\1\157\1\156\1\172\1\uffff"; static final String DFA20_acceptS = - "\3\uffff\1\3\2\uffff\1\6\1\7\6\uffff\1\22\1\23\1\24\1\27\1\31\4\uffff\1\37\3\uffff\1\44\1\45\1\1\1\uffff\1\12\1\37\1\3\3\uffff\1\6\1\7\3\uffff\1\30\1\13\7\uffff\1\22\1\23\1\24\1\27\1\31\1\32\1\34\1\40\1\uffff\1\36\1\41\1\42\1\43\1\44\2\uffff\1\10\2\uffff\1\16\1\uffff\1\17\3\uffff\1\26\5\uffff\1\5\1\11\1\35\2\uffff\1\15\22\uffff\1\4\1\14\1\25\3\uffff\1\2\2\uffff\1\21\1\uffff\1\33\5\uffff\1\20"; + "\3\uffff\1\3\2\uffff\1\6\1\7\6\uffff\1\22\1\23\1\24\1\27\1\31\4\uffff\1\37\3\uffff\1\44\1\45\1\1\2\uffff\1\37\1\3\3\uffff\1\6\1\7\3\uffff\1\30\1\13\7\uffff\1\22\1\23\1\24\1\27\1\31\1\32\1\34\1\36\1\uffff\1\40\1\41\1\42\1\43\1\44\3\uffff\1\10\2\uffff\1\16\1\17\4\uffff\1\26\6\uffff\1\5\1\11\1\35\2\uffff\1\15\4\uffff\1\12\16\uffff\1\4\1\14\1\25\3\uffff\1\2\2\uffff\1\21\1\uffff\1\33\5\uffff\1\20"; static final String DFA20_specialS = - "\1\2\27\uffff\1\1\1\0\142\uffff}>"; + "\1\0\27\uffff\1\2\1\1\145\uffff}>"; static final String[] DFA20_transitionS = { "\11\34\2\33\2\34\1\33\22\34\1\33\1\34\1\30\4\34\1\31\1\16\1\17\1\22\1\24\1\20\1\34\1\21\1\32\12\25\1\1\1\3\1\34\1\11\3\34\32\27\1\23\2\34\1\26\1\27\1\34\1\13\1\27\1\5\5\27\1\4\2\27\1\12\1\15\1\27\1\10\1\2\3\27\1\14\6\27\1\6\1\34\1\7\uff82\34", "\1\35", - "\12\40\7\uffff\32\40\4\uffff\1\40\1\uffff\1\36\31\40", + "\1\36\20\uffff\1\37", "", "\1\42\1\43", "\1\44", @@ -1762,7 +1763,7 @@ public class InternalCftLanguageLexer extends Lexer { "", "\1\70", "\1\71", - "\1\74\1\uffff\12\73\13\uffff\1\74\37\uffff\1\74", + "\1\72\1\uffff\12\73\13\uffff\1\72\37\uffff\1\72", "\32\40\4\uffff\1\40\1\uffff\32\40", "", "\0\75", @@ -1772,26 +1773,26 @@ public class InternalCftLanguageLexer extends Lexer { "", "", "\1\101", + "\1\102", "", "", - "", - "\1\102", + "\1\103", "\12\40\7\uffff\32\40\4\uffff\1\40\1\uffff\32\40", - "\1\104", + "\1\105", "", "", - "\1\105", + "\1\106", "\12\40\7\uffff\32\40\4\uffff\1\40\1\uffff\32\40", - "\12\107\7\uffff\32\40\4\uffff\1\40\1\uffff\32\40", + "\12\111\7\uffff\32\40\4\uffff\1\40\1\uffff\32\40", "", "", - "\1\111", "\1\112", "\1\113", + "\1\114", "\12\40\7\uffff\32\40\4\uffff\1\40\1\uffff\32\40", - "\1\115", "\1\116", "\1\117", + "\1\120", "", "", "", @@ -1800,69 +1801,72 @@ public class InternalCftLanguageLexer extends Lexer { "", "", "", - "\1\74\1\uffff\12\73\13\uffff\1\74\37\uffff\1\74", + "\1\72\1\uffff\12\73\13\uffff\1\72\37\uffff\1\72", "", "", "", "", "", - "\1\120", "\1\121", + "\1\122", + "\1\123", "", "\12\40\7\uffff\32\40\4\uffff\1\40\1\uffff\32\40", "\12\40\7\uffff\32\40\4\uffff\1\40\1\uffff\32\40", "", - "\12\107\7\uffff\32\40\4\uffff\1\40\1\uffff\32\40", "", - "\1\125", - "\1\126", + "\12\111\7\uffff\32\40\4\uffff\1\40\1\uffff\32\40", + "\1\127", + "\1\130", "\12\40\7\uffff\32\40\4\uffff\1\40\1\uffff\32\40", "", - "\1\130", - "\1\131", "\1\132", "\1\133", "\1\134", + "\1\135", + "\12\40\7\uffff\32\40\4\uffff\1\40\1\uffff\32\40", + "\1\137", "", "", "", - "\1\135", - "\1\136", - "", - "\1\137", "\1\140", "\1\141", + "", "\1\142", "\1\143", "\1\144", "\1\145", + "", "\1\146", "\1\147", "\1\150", "\1\151", + "\1\152", + "\1\153", + "\1\154", "\12\40\7\uffff\32\40\4\uffff\1\40\1\uffff\32\40", "\12\40\7\uffff\32\40\4\uffff\1\40\1\uffff\32\40", "\12\40\7\uffff\32\40\4\uffff\1\40\1\uffff\32\40", - "\1\155", - "\1\156", - "\1\157", - "\12\40\7\uffff\32\40\4\uffff\1\40\1\uffff\32\40", - "", - "", - "", + "\1\160", "\1\161", "\1\162", "\12\40\7\uffff\32\40\4\uffff\1\40\1\uffff\32\40", "", + "", + "", "\1\164", + "\1\165", "\12\40\7\uffff\32\40\4\uffff\1\40\1\uffff\32\40", "", - "\1\166", - "", "\1\167", - "\1\170", + "\12\40\7\uffff\32\40\4\uffff\1\40\1\uffff\32\40", + "", "\1\171", + "", "\1\172", + "\1\173", + "\1\174", + "\1\175", "\12\40\7\uffff\32\40\4\uffff\1\40\1\uffff\32\40", "" }; @@ -1904,26 +1908,6 @@ public class InternalCftLanguageLexer extends Lexer { int _s = s; switch ( s ) { case 0 : - int LA20_25 = input.LA(1); - - s = -1; - if ( ((LA20_25>='\u0000' && LA20_25<='\uFFFF')) ) {s = 61;} - - else s = 28; - - if ( s>=0 ) return s; - break; - case 1 : - int LA20_24 = input.LA(1); - - s = -1; - if ( ((LA20_24>='\u0000' && LA20_24<='\uFFFF')) ) {s = 61;} - - else s = 28; - - if ( s>=0 ) return s; - break; - case 2 : int LA20_0 = input.LA(1); s = -1; @@ -1983,6 +1967,26 @@ public class InternalCftLanguageLexer extends Lexer { else if ( ((LA20_0>='\u0000' && LA20_0<='\b')||(LA20_0>='\u000B' && LA20_0<='\f')||(LA20_0>='\u000E' && LA20_0<='\u001F')||LA20_0=='!'||(LA20_0>='#' && LA20_0<='&')||LA20_0=='-'||LA20_0=='<'||(LA20_0>='>' && LA20_0<='@')||(LA20_0>='\\' && LA20_0<=']')||LA20_0=='`'||LA20_0=='|'||(LA20_0>='~' && LA20_0<='\uFFFF')) ) {s = 28;} + if ( s>=0 ) return s; + break; + case 1 : + int LA20_25 = input.LA(1); + + s = -1; + if ( ((LA20_25>='\u0000' && LA20_25<='\uFFFF')) ) {s = 61;} + + else s = 28; + + if ( s>=0 ) return s; + break; + case 2 : + int LA20_24 = input.LA(1); + + s = -1; + if ( ((LA20_24>='\u0000' && LA20_24<='\uFFFF')) ) {s = 61;} + + else s = 28; + if ( s>=0 ) return s; break; } diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/contentassist/antlr/internal/InternalCftLanguageParser.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/contentassist/antlr/internal/InternalCftLanguageParser.java index be5e3140..df83084b 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/contentassist/antlr/internal/InternalCftLanguageParser.java +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/contentassist/antlr/internal/InternalCftLanguageParser.java @@ -22,7 +22,7 @@ import java.util.ArrayList; @SuppressWarnings("all") public class InternalCftLanguageParser extends AbstractInternalContentAssistParser { public static final String[] tokenNames = new String[] { - "", "", "", "", "RULE_ID", "RULE_OF_INT", "RULE_INT", "RULE_T_DOUBLE", "RULE_STRING", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "':='", "'package'", "';'", "'import'", "'cft'", "'{'", "'}'", "'in'", "'out'", "'p'", "'='", "'lambda'", "'and'", "'or'", "'of'", "'transformation'", "'mapping'", "'('", "')'", "','", "'lookup'", "'as'", "'.'", "'=>'", "'*'", "'[]'", "'toplevel'", "'+='" + "", "", "", "", "RULE_ID", "RULE_OF_INT", "RULE_INT", "RULE_T_DOUBLE", "RULE_STRING", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "':='", "'package'", "';'", "'import'", "'cft'", "'{'", "'}'", "'in'", "'out'", "'prob'", "'='", "'lambda'", "'and'", "'or'", "'of'", "'transformation'", "'mapping'", "'('", "')'", "','", "'lookup'", "'as'", "'.'", "'=>'", "'*'", "'[]'", "'toplevel'", "'+='" }; public static final int RULE_STRING=8; public static final int RULE_SL_COMMENT=10; @@ -4992,21 +4992,21 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars // $ANTLR start "rule__ConstantDistribution__Group__0__Impl" - // InternalCftLanguage.g:1561:1: rule__ConstantDistribution__Group__0__Impl : ( 'p' ) ; + // InternalCftLanguage.g:1561:1: rule__ConstantDistribution__Group__0__Impl : ( 'prob' ) ; public final void rule__ConstantDistribution__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalCftLanguage.g:1565:1: ( ( 'p' ) ) - // InternalCftLanguage.g:1566:1: ( 'p' ) + // InternalCftLanguage.g:1565:1: ( ( 'prob' ) ) + // InternalCftLanguage.g:1566:1: ( 'prob' ) { - // InternalCftLanguage.g:1566:1: ( 'p' ) - // InternalCftLanguage.g:1567:2: 'p' + // InternalCftLanguage.g:1566:1: ( 'prob' ) + // InternalCftLanguage.g:1567:2: 'prob' { - before(grammarAccess.getConstantDistributionAccess().getPKeyword_0()); + before(grammarAccess.getConstantDistributionAccess().getProbKeyword_0()); match(input,22,FOLLOW_2); - after(grammarAccess.getConstantDistributionAccess().getPKeyword_0()); + after(grammarAccess.getConstantDistributionAccess().getProbKeyword_0()); } @@ -9567,7 +9567,7 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars // InternalCftLanguage.g:3065:1: ( rule__ComponentInstance__Group__1__Impl rule__ComponentInstance__Group__2 ) // InternalCftLanguage.g:3066:2: rule__ComponentInstance__Group__1__Impl rule__ComponentInstance__Group__2 { - pushFollow(FOLLOW_34); + pushFollow(FOLLOW_3); rule__ComponentInstance__Group__1__Impl(); state._fsp--; @@ -9693,7 +9693,7 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars int alt28=2; int LA28_0 = input.LA(1); - if ( (LA28_0==RULE_ID) ) { + if ( ((LA28_0>=RULE_ID && LA28_0<=RULE_OF_INT)) ) { alt28=1; } switch (alt28) { @@ -9880,7 +9880,7 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars case 1 : // InternalCftLanguage.g:3160:3: rule__QualifiedName__Group_1__0 { - pushFollow(FOLLOW_35); + pushFollow(FOLLOW_34); rule__QualifiedName__Group_1__0(); state._fsp--; @@ -10245,7 +10245,7 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars // InternalCftLanguage.g:3281:1: ( rule__QualifiedNameWithWildcard__Group_1__0__Impl rule__QualifiedNameWithWildcard__Group_1__1 ) // InternalCftLanguage.g:3282:2: rule__QualifiedNameWithWildcard__Group_1__0__Impl rule__QualifiedNameWithWildcard__Group_1__1 { - pushFollow(FOLLOW_36); + pushFollow(FOLLOW_35); rule__QualifiedNameWithWildcard__Group_1__0__Impl(); state._fsp--; @@ -10588,7 +10588,7 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars // InternalCftLanguage.g:3394:1: ( rule__ComponentDefinition__UnorderedGroup_3__Impl ( rule__ComponentDefinition__UnorderedGroup_3__1 )? ) // InternalCftLanguage.g:3395:2: rule__ComponentDefinition__UnorderedGroup_3__Impl ( rule__ComponentDefinition__UnorderedGroup_3__1 )? { - pushFollow(FOLLOW_37); + pushFollow(FOLLOW_36); rule__ComponentDefinition__UnorderedGroup_3__Impl(); state._fsp--; @@ -12562,21 +12562,25 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars // $ANTLR start "rule__ComponentInstance__NameAssignment_2" - // InternalCftLanguage.g:4130:1: rule__ComponentInstance__NameAssignment_2 : ( RULE_ID ) ; + // InternalCftLanguage.g:4130:1: rule__ComponentInstance__NameAssignment_2 : ( ruleValidId ) ; public final void rule__ComponentInstance__NameAssignment_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalCftLanguage.g:4134:1: ( ( RULE_ID ) ) - // InternalCftLanguage.g:4135:2: ( RULE_ID ) + // InternalCftLanguage.g:4134:1: ( ( ruleValidId ) ) + // InternalCftLanguage.g:4135:2: ( ruleValidId ) { - // InternalCftLanguage.g:4135:2: ( RULE_ID ) - // InternalCftLanguage.g:4136:3: RULE_ID + // InternalCftLanguage.g:4135:2: ( ruleValidId ) + // InternalCftLanguage.g:4136:3: ruleValidId { - before(grammarAccess.getComponentInstanceAccess().getNameIDTerminalRuleCall_2_0()); - match(input,RULE_ID,FOLLOW_2); - after(grammarAccess.getComponentInstanceAccess().getNameIDTerminalRuleCall_2_0()); + before(grammarAccess.getComponentInstanceAccess().getNameValidIdParserRuleCall_2_0()); + pushFollow(FOLLOW_2); + ruleValidId(); + + state._fsp--; + + after(grammarAccess.getComponentInstanceAccess().getNameValidIdParserRuleCall_2_0()); } @@ -12635,9 +12639,8 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars public static final BitSet FOLLOW_31 = new BitSet(new long[]{0x0000010000002000L}); public static final BitSet FOLLOW_32 = new BitSet(new long[]{0x0000000200000030L}); public static final BitSet FOLLOW_33 = new BitSet(new long[]{0x0000000800000000L}); - public static final BitSet FOLLOW_34 = new BitSet(new long[]{0x0000000000000010L}); - public static final BitSet FOLLOW_35 = new BitSet(new long[]{0x0000000800000002L}); - public static final BitSet FOLLOW_36 = new BitSet(new long[]{0x0000002000000000L}); - public static final BitSet FOLLOW_37 = new BitSet(new long[]{0x0000000000300002L}); + public static final BitSet FOLLOW_34 = new BitSet(new long[]{0x0000000800000002L}); + public static final BitSet FOLLOW_35 = new BitSet(new long[]{0x0000002000000000L}); + public static final BitSet FOLLOW_36 = new BitSet(new long[]{0x0000000000300002L}); } diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/.CftLanguageIdeModule.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/.CftLanguageIdeModule.xtendbin index b146c48b..65b90333 100644 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/.CftLanguageIdeModule.xtendbin and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/.CftLanguageIdeModule.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/.CftLanguageIdeSetup.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/.CftLanguageIdeSetup.xtendbin index 8fc21e17..7fbd4ad1 100644 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/.CftLanguageIdeSetup.xtendbin and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/.CftLanguageIdeSetup.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/.CftLanguageUiModule.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/.CftLanguageUiModule.xtendbin index 56635dea..77bd6532 100644 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/.CftLanguageUiModule.xtendbin and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/.CftLanguageUiModule.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/contentassist/.CftLanguageProposalProvider.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/contentassist/.CftLanguageProposalProvider.xtendbin index c62e6652..33d0e601 100644 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/contentassist/.CftLanguageProposalProvider.xtendbin and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/contentassist/.CftLanguageProposalProvider.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/labeling/.CftLanguageDescriptionLabelProvider.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/labeling/.CftLanguageDescriptionLabelProvider.xtendbin index 21bd15b6..6617b26f 100644 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/labeling/.CftLanguageDescriptionLabelProvider.xtendbin and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/labeling/.CftLanguageDescriptionLabelProvider.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/labeling/.CftLanguageLabelProvider.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/labeling/.CftLanguageLabelProvider.xtendbin index ae92f324..82af00d7 100644 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/labeling/.CftLanguageLabelProvider.xtendbin and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/labeling/.CftLanguageLabelProvider.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/outline/.CftLanguageOutlineTreeProvider.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/outline/.CftLanguageOutlineTreeProvider.xtendbin index e8595819..adffb198 100644 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/outline/.CftLanguageOutlineTreeProvider.xtendbin and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/outline/.CftLanguageOutlineTreeProvider.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/quickfix/.CftLanguageQuickfixProvider.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/quickfix/.CftLanguageQuickfixProvider.xtendbin index 637b4e7e..2ecc121e 100644 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/quickfix/.CftLanguageQuickfixProvider.xtendbin and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/quickfix/.CftLanguageQuickfixProvider.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/syntaxcoloring/.CftLanguageSemanticHighlightingCalculator.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/syntaxcoloring/.CftLanguageSemanticHighlightingCalculator.xtendbin index d88f5256..ce699deb 100644 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/syntaxcoloring/.CftLanguageSemanticHighlightingCalculator.xtendbin and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/syntaxcoloring/.CftLanguageSemanticHighlightingCalculator.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/syntaxcoloring/.CftLanguageTokenToAttributeIdMapper.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/syntaxcoloring/.CftLanguageTokenToAttributeIdMapper.xtendbin index d8af5320..86752345 100644 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/syntaxcoloring/.CftLanguageTokenToAttributeIdMapper.xtendbin and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/syntaxcoloring/.CftLanguageTokenToAttributeIdMapper.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/CftLanguage.xtextbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/CftLanguage.xtextbin index ffe22f72..eb879e93 100644 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/CftLanguage.xtextbin and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/CftLanguage.xtextbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/parser/antlr/internal/InternalCftLanguage.g b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/parser/antlr/internal/InternalCftLanguage.g index 2d1b9490..51479ad3 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/parser/antlr/internal/InternalCftLanguage.g +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/parser/antlr/internal/InternalCftLanguage.g @@ -575,9 +575,9 @@ ruleConstantDistribution returns [EObject current=null] leaveRule(); }: ( - otherlv_0='p' + otherlv_0='prob' { - newLeafNode(otherlv_0, grammarAccess.getConstantDistributionAccess().getPKeyword_0()); + newLeafNode(otherlv_0, grammarAccess.getConstantDistributionAccess().getProbKeyword_0()); } otherlv_1='=' { @@ -1494,19 +1494,20 @@ ruleComponentInstance returns [EObject current=null] ) ( ( - lv_name_2_0=RULE_ID { - newLeafNode(lv_name_2_0, grammarAccess.getComponentInstanceAccess().getNameIDTerminalRuleCall_2_0()); + newCompositeNode(grammarAccess.getComponentInstanceAccess().getNameValidIdParserRuleCall_2_0()); } + lv_name_2_0=ruleValidId { if ($current==null) { - $current = createModelElement(grammarAccess.getComponentInstanceRule()); + $current = createModelElementForParent(grammarAccess.getComponentInstanceRule()); } - setWithLastConsumed( + set( $current, "name", lv_name_2_0, - "org.eclipse.xtext.common.Terminals.ID"); + "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.ValidId"); + afterParserOrEnumRuleCall(); } ) )? diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/parser/antlr/internal/InternalCftLanguage.tokens b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/parser/antlr/internal/InternalCftLanguage.tokens index 2183a28f..24a3b0ab 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/parser/antlr/internal/InternalCftLanguage.tokens +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/parser/antlr/internal/InternalCftLanguage.tokens @@ -20,8 +20,8 @@ 'of'=27 'or'=26 'out'=19 -'p'=22 'package'=13 +'prob'=22 'toplevel'=29 'transformation'=28 '{'=17 diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/parser/antlr/internal/InternalCftLanguageLexer.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/parser/antlr/internal/InternalCftLanguageLexer.java index d7e9807d..c15c826a 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/parser/antlr/internal/InternalCftLanguageLexer.java +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/parser/antlr/internal/InternalCftLanguageLexer.java @@ -255,10 +255,11 @@ public class InternalCftLanguageLexer extends Lexer { try { int _type = T__22; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalCftLanguage.g:20:7: ( 'p' ) - // InternalCftLanguage.g:20:9: 'p' + // InternalCftLanguage.g:20:7: ( 'prob' ) + // InternalCftLanguage.g:20:9: 'prob' { - match('p'); + match("prob"); + } @@ -647,12 +648,12 @@ public class InternalCftLanguageLexer extends Lexer { try { int _type = RULE_OF_INT; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalCftLanguage.g:1671:13: ( 'o' 'f' ( '0' .. '9' )+ ) - // InternalCftLanguage.g:1671:15: 'o' 'f' ( '0' .. '9' )+ + // InternalCftLanguage.g:1672:13: ( 'o' 'f' ( '0' .. '9' )+ ) + // InternalCftLanguage.g:1672:15: 'o' 'f' ( '0' .. '9' )+ { match('o'); match('f'); - // InternalCftLanguage.g:1671:23: ( '0' .. '9' )+ + // InternalCftLanguage.g:1672:23: ( '0' .. '9' )+ int cnt1=0; loop1: do { @@ -666,7 +667,7 @@ public class InternalCftLanguageLexer extends Lexer { switch (alt1) { case 1 : - // InternalCftLanguage.g:1671:24: '0' .. '9' + // InternalCftLanguage.g:1672:24: '0' .. '9' { matchRange('0','9'); @@ -698,10 +699,10 @@ public class InternalCftLanguageLexer extends Lexer { try { int _type = RULE_T_DOUBLE; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalCftLanguage.g:1673:15: ( ( '0' .. '9' )+ ( '.' ( '0' .. '9' )+ | ( '.' ( '0' .. '9' )+ )? ( 'e' | 'E' ) ( '+' | '-' )? ( '0' .. '9' )+ ) ) - // InternalCftLanguage.g:1673:17: ( '0' .. '9' )+ ( '.' ( '0' .. '9' )+ | ( '.' ( '0' .. '9' )+ )? ( 'e' | 'E' ) ( '+' | '-' )? ( '0' .. '9' )+ ) + // InternalCftLanguage.g:1674:15: ( ( '0' .. '9' )+ ( '.' ( '0' .. '9' )+ | ( '.' ( '0' .. '9' )+ )? ( 'e' | 'E' ) ( '+' | '-' )? ( '0' .. '9' )+ ) ) + // InternalCftLanguage.g:1674:17: ( '0' .. '9' )+ ( '.' ( '0' .. '9' )+ | ( '.' ( '0' .. '9' )+ )? ( 'e' | 'E' ) ( '+' | '-' )? ( '0' .. '9' )+ ) { - // InternalCftLanguage.g:1673:17: ( '0' .. '9' )+ + // InternalCftLanguage.g:1674:17: ( '0' .. '9' )+ int cnt2=0; loop2: do { @@ -715,7 +716,7 @@ public class InternalCftLanguageLexer extends Lexer { switch (alt2) { case 1 : - // InternalCftLanguage.g:1673:18: '0' .. '9' + // InternalCftLanguage.g:1674:18: '0' .. '9' { matchRange('0','9'); @@ -731,15 +732,15 @@ public class InternalCftLanguageLexer extends Lexer { cnt2++; } while (true); - // InternalCftLanguage.g:1673:29: ( '.' ( '0' .. '9' )+ | ( '.' ( '0' .. '9' )+ )? ( 'e' | 'E' ) ( '+' | '-' )? ( '0' .. '9' )+ ) + // InternalCftLanguage.g:1674:29: ( '.' ( '0' .. '9' )+ | ( '.' ( '0' .. '9' )+ )? ( 'e' | 'E' ) ( '+' | '-' )? ( '0' .. '9' )+ ) int alt8=2; alt8 = dfa8.predict(input); switch (alt8) { case 1 : - // InternalCftLanguage.g:1673:30: '.' ( '0' .. '9' )+ + // InternalCftLanguage.g:1674:30: '.' ( '0' .. '9' )+ { match('.'); - // InternalCftLanguage.g:1673:34: ( '0' .. '9' )+ + // InternalCftLanguage.g:1674:34: ( '0' .. '9' )+ int cnt3=0; loop3: do { @@ -753,7 +754,7 @@ public class InternalCftLanguageLexer extends Lexer { switch (alt3) { case 1 : - // InternalCftLanguage.g:1673:35: '0' .. '9' + // InternalCftLanguage.g:1674:35: '0' .. '9' { matchRange('0','9'); @@ -773,9 +774,9 @@ public class InternalCftLanguageLexer extends Lexer { } break; case 2 : - // InternalCftLanguage.g:1673:46: ( '.' ( '0' .. '9' )+ )? ( 'e' | 'E' ) ( '+' | '-' )? ( '0' .. '9' )+ + // InternalCftLanguage.g:1674:46: ( '.' ( '0' .. '9' )+ )? ( 'e' | 'E' ) ( '+' | '-' )? ( '0' .. '9' )+ { - // InternalCftLanguage.g:1673:46: ( '.' ( '0' .. '9' )+ )? + // InternalCftLanguage.g:1674:46: ( '.' ( '0' .. '9' )+ )? int alt5=2; int LA5_0 = input.LA(1); @@ -784,10 +785,10 @@ public class InternalCftLanguageLexer extends Lexer { } switch (alt5) { case 1 : - // InternalCftLanguage.g:1673:47: '.' ( '0' .. '9' )+ + // InternalCftLanguage.g:1674:47: '.' ( '0' .. '9' )+ { match('.'); - // InternalCftLanguage.g:1673:51: ( '0' .. '9' )+ + // InternalCftLanguage.g:1674:51: ( '0' .. '9' )+ int cnt4=0; loop4: do { @@ -801,7 +802,7 @@ public class InternalCftLanguageLexer extends Lexer { switch (alt4) { case 1 : - // InternalCftLanguage.g:1673:52: '0' .. '9' + // InternalCftLanguage.g:1674:52: '0' .. '9' { matchRange('0','9'); @@ -832,7 +833,7 @@ public class InternalCftLanguageLexer extends Lexer { recover(mse); throw mse;} - // InternalCftLanguage.g:1673:75: ( '+' | '-' )? + // InternalCftLanguage.g:1674:75: ( '+' | '-' )? int alt6=2; int LA6_0 = input.LA(1); @@ -858,7 +859,7 @@ public class InternalCftLanguageLexer extends Lexer { } - // InternalCftLanguage.g:1673:86: ( '0' .. '9' )+ + // InternalCftLanguage.g:1674:86: ( '0' .. '9' )+ int cnt7=0; loop7: do { @@ -872,7 +873,7 @@ public class InternalCftLanguageLexer extends Lexer { switch (alt7) { case 1 : - // InternalCftLanguage.g:1673:87: '0' .. '9' + // InternalCftLanguage.g:1674:87: '0' .. '9' { matchRange('0','9'); @@ -910,10 +911,10 @@ public class InternalCftLanguageLexer extends Lexer { try { int _type = RULE_ID; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalCftLanguage.g:1675:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* ) - // InternalCftLanguage.g:1675:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* + // InternalCftLanguage.g:1676:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* ) + // InternalCftLanguage.g:1676:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* { - // InternalCftLanguage.g:1675:11: ( '^' )? + // InternalCftLanguage.g:1676:11: ( '^' )? int alt9=2; int LA9_0 = input.LA(1); @@ -922,7 +923,7 @@ public class InternalCftLanguageLexer extends Lexer { } switch (alt9) { case 1 : - // InternalCftLanguage.g:1675:11: '^' + // InternalCftLanguage.g:1676:11: '^' { match('^'); @@ -940,7 +941,7 @@ public class InternalCftLanguageLexer extends Lexer { recover(mse); throw mse;} - // InternalCftLanguage.g:1675:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* + // InternalCftLanguage.g:1676:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* loop10: do { int alt10=2; @@ -989,10 +990,10 @@ public class InternalCftLanguageLexer extends Lexer { try { int _type = RULE_INT; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalCftLanguage.g:1677:10: ( ( '0' .. '9' )+ ) - // InternalCftLanguage.g:1677:12: ( '0' .. '9' )+ + // InternalCftLanguage.g:1678:10: ( ( '0' .. '9' )+ ) + // InternalCftLanguage.g:1678:12: ( '0' .. '9' )+ { - // InternalCftLanguage.g:1677:12: ( '0' .. '9' )+ + // InternalCftLanguage.g:1678:12: ( '0' .. '9' )+ int cnt11=0; loop11: do { @@ -1006,7 +1007,7 @@ public class InternalCftLanguageLexer extends Lexer { switch (alt11) { case 1 : - // InternalCftLanguage.g:1677:13: '0' .. '9' + // InternalCftLanguage.g:1678:13: '0' .. '9' { matchRange('0','9'); @@ -1038,10 +1039,10 @@ public class InternalCftLanguageLexer extends Lexer { try { int _type = RULE_STRING; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalCftLanguage.g:1679:13: ( ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) ) - // InternalCftLanguage.g:1679:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) + // InternalCftLanguage.g:1680:13: ( ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) ) + // InternalCftLanguage.g:1680:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) { - // InternalCftLanguage.g:1679:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) + // InternalCftLanguage.g:1680:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) int alt14=2; int LA14_0 = input.LA(1); @@ -1059,10 +1060,10 @@ public class InternalCftLanguageLexer extends Lexer { } switch (alt14) { case 1 : - // InternalCftLanguage.g:1679:16: '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' + // InternalCftLanguage.g:1680:16: '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' { match('\"'); - // InternalCftLanguage.g:1679:20: ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* + // InternalCftLanguage.g:1680:20: ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* loop12: do { int alt12=3; @@ -1078,7 +1079,7 @@ public class InternalCftLanguageLexer extends Lexer { switch (alt12) { case 1 : - // InternalCftLanguage.g:1679:21: '\\\\' . + // InternalCftLanguage.g:1680:21: '\\\\' . { match('\\'); matchAny(); @@ -1086,7 +1087,7 @@ public class InternalCftLanguageLexer extends Lexer { } break; case 2 : - // InternalCftLanguage.g:1679:28: ~ ( ( '\\\\' | '\"' ) ) + // InternalCftLanguage.g:1680:28: ~ ( ( '\\\\' | '\"' ) ) { if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { input.consume(); @@ -1111,10 +1112,10 @@ public class InternalCftLanguageLexer extends Lexer { } break; case 2 : - // InternalCftLanguage.g:1679:48: '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' + // InternalCftLanguage.g:1680:48: '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' { match('\''); - // InternalCftLanguage.g:1679:53: ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* + // InternalCftLanguage.g:1680:53: ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* loop13: do { int alt13=3; @@ -1130,7 +1131,7 @@ public class InternalCftLanguageLexer extends Lexer { switch (alt13) { case 1 : - // InternalCftLanguage.g:1679:54: '\\\\' . + // InternalCftLanguage.g:1680:54: '\\\\' . { match('\\'); matchAny(); @@ -1138,7 +1139,7 @@ public class InternalCftLanguageLexer extends Lexer { } break; case 2 : - // InternalCftLanguage.g:1679:61: ~ ( ( '\\\\' | '\\'' ) ) + // InternalCftLanguage.g:1680:61: ~ ( ( '\\\\' | '\\'' ) ) { if ( (input.LA(1)>='\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { input.consume(); @@ -1181,12 +1182,12 @@ public class InternalCftLanguageLexer extends Lexer { try { int _type = RULE_ML_COMMENT; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalCftLanguage.g:1681:17: ( '/*' ( options {greedy=false; } : . )* '*/' ) - // InternalCftLanguage.g:1681:19: '/*' ( options {greedy=false; } : . )* '*/' + // InternalCftLanguage.g:1682:17: ( '/*' ( options {greedy=false; } : . )* '*/' ) + // InternalCftLanguage.g:1682:19: '/*' ( options {greedy=false; } : . )* '*/' { match("/*"); - // InternalCftLanguage.g:1681:24: ( options {greedy=false; } : . )* + // InternalCftLanguage.g:1682:24: ( options {greedy=false; } : . )* loop15: do { int alt15=2; @@ -1211,7 +1212,7 @@ public class InternalCftLanguageLexer extends Lexer { switch (alt15) { case 1 : - // InternalCftLanguage.g:1681:52: . + // InternalCftLanguage.g:1682:52: . { matchAny(); @@ -1241,12 +1242,12 @@ public class InternalCftLanguageLexer extends Lexer { try { int _type = RULE_SL_COMMENT; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalCftLanguage.g:1683:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? ) - // InternalCftLanguage.g:1683:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? + // InternalCftLanguage.g:1684:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? ) + // InternalCftLanguage.g:1684:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? { match("//"); - // InternalCftLanguage.g:1683:24: (~ ( ( '\\n' | '\\r' ) ) )* + // InternalCftLanguage.g:1684:24: (~ ( ( '\\n' | '\\r' ) ) )* loop16: do { int alt16=2; @@ -1259,7 +1260,7 @@ public class InternalCftLanguageLexer extends Lexer { switch (alt16) { case 1 : - // InternalCftLanguage.g:1683:24: ~ ( ( '\\n' | '\\r' ) ) + // InternalCftLanguage.g:1684: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(); @@ -1279,7 +1280,7 @@ public class InternalCftLanguageLexer extends Lexer { } } while (true); - // InternalCftLanguage.g:1683:40: ( ( '\\r' )? '\\n' )? + // InternalCftLanguage.g:1684:40: ( ( '\\r' )? '\\n' )? int alt18=2; int LA18_0 = input.LA(1); @@ -1288,9 +1289,9 @@ public class InternalCftLanguageLexer extends Lexer { } switch (alt18) { case 1 : - // InternalCftLanguage.g:1683:41: ( '\\r' )? '\\n' + // InternalCftLanguage.g:1684:41: ( '\\r' )? '\\n' { - // InternalCftLanguage.g:1683:41: ( '\\r' )? + // InternalCftLanguage.g:1684:41: ( '\\r' )? int alt17=2; int LA17_0 = input.LA(1); @@ -1299,7 +1300,7 @@ public class InternalCftLanguageLexer extends Lexer { } switch (alt17) { case 1 : - // InternalCftLanguage.g:1683:41: '\\r' + // InternalCftLanguage.g:1684:41: '\\r' { match('\r'); @@ -1331,10 +1332,10 @@ public class InternalCftLanguageLexer extends Lexer { try { int _type = RULE_WS; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalCftLanguage.g:1685:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ ) - // InternalCftLanguage.g:1685:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ + // InternalCftLanguage.g:1686:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ ) + // InternalCftLanguage.g:1686:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ { - // InternalCftLanguage.g:1685:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ + // InternalCftLanguage.g:1686:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ int cnt19=0; loop19: do { @@ -1388,8 +1389,8 @@ public class InternalCftLanguageLexer extends Lexer { try { int _type = RULE_ANY_OTHER; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalCftLanguage.g:1687:16: ( . ) - // InternalCftLanguage.g:1687:18: . + // InternalCftLanguage.g:1688:16: ( . ) + // InternalCftLanguage.g:1688:18: . { matchAny(); @@ -1725,24 +1726,24 @@ public class InternalCftLanguageLexer extends Lexer { this.transition = DFA8_transition; } public String getDescription() { - return "1673:29: ( '.' ( '0' .. '9' )+ | ( '.' ( '0' .. '9' )+ )? ( 'e' | 'E' ) ( '+' | '-' )? ( '0' .. '9' )+ )"; + return "1674:29: ( '.' ( '0' .. '9' )+ | ( '.' ( '0' .. '9' )+ )? ( 'e' | 'E' ) ( '+' | '-' )? ( '0' .. '9' )+ )"; } } static final String DFA20_eotS = - "\1\uffff\1\36\1\uffff\2\37\1\uffff\1\37\1\uffff\1\34\1\53\4\37\3\uffff\2\34\2\uffff\1\72\1\34\1\uffff\3\34\2\uffff\1\37\3\uffff\1\37\1\103\1\37\1\uffff\1\37\1\106\1\110\4\uffff\3\37\1\114\3\37\10\uffff\1\72\5\uffff\2\37\1\uffff\1\122\1\123\1\uffff\1\124\1\uffff\2\37\1\127\1\uffff\5\37\3\uffff\2\37\1\uffff\13\37\1\152\1\153\1\154\3\37\1\160\3\uffff\2\37\1\163\1\uffff\1\37\1\165\1\uffff\1\37\1\uffff\4\37\1\173\1\uffff"; + "\1\uffff\1\37\1\uffff\2\37\1\uffff\1\37\1\uffff\1\34\1\53\4\37\3\uffff\2\34\2\uffff\1\74\1\34\1\uffff\3\34\2\uffff\2\37\2\uffff\1\37\1\104\1\37\1\uffff\1\37\1\107\1\110\4\uffff\3\37\1\115\3\37\10\uffff\1\74\5\uffff\3\37\1\uffff\1\124\1\125\2\uffff\1\126\2\37\1\131\1\uffff\4\37\1\136\1\37\3\uffff\2\37\1\uffff\4\37\1\uffff\7\37\1\155\1\156\1\157\3\37\1\163\3\uffff\2\37\1\166\1\uffff\1\37\1\170\1\uffff\1\37\1\uffff\4\37\1\176\1\uffff"; static final String DFA20_eofS = - "\174\uffff"; + "\177\uffff"; static final String DFA20_minS = - "\1\0\1\60\1\uffff\1\155\1\146\1\uffff\1\146\1\uffff\1\135\1\76\1\141\1\156\1\157\1\141\3\uffff\2\75\2\uffff\1\56\1\101\1\uffff\2\0\1\52\2\uffff\1\143\3\uffff\1\160\1\60\1\164\1\uffff\1\164\2\60\4\uffff\1\155\1\157\1\144\1\60\1\141\2\160\10\uffff\1\56\5\uffff\1\153\1\157\1\uffff\2\60\1\uffff\1\60\1\uffff\1\142\1\153\1\60\1\uffff\1\156\1\154\1\160\1\141\1\162\3\uffff\1\144\1\165\1\uffff\1\163\1\145\1\151\1\147\1\164\1\141\1\160\1\146\1\166\1\156\1\145\3\60\1\157\1\145\1\147\1\60\3\uffff\1\162\1\154\1\60\1\uffff\1\155\1\60\1\uffff\1\141\1\uffff\1\164\1\151\1\157\1\156\1\60\1\uffff"; + "\1\0\1\141\1\uffff\1\155\1\146\1\uffff\1\146\1\uffff\1\135\1\76\1\141\1\156\1\157\1\141\3\uffff\2\75\2\uffff\1\56\1\101\1\uffff\2\0\1\52\2\uffff\1\143\1\157\2\uffff\1\160\1\60\1\164\1\uffff\1\164\2\60\4\uffff\1\155\1\157\1\144\1\60\1\141\2\160\10\uffff\1\56\5\uffff\1\153\1\142\1\157\1\uffff\2\60\2\uffff\1\60\1\142\1\153\1\60\1\uffff\1\156\1\154\1\160\1\141\1\60\1\162\3\uffff\1\144\1\165\1\uffff\1\163\1\145\1\151\1\147\1\uffff\1\164\1\141\1\160\1\146\1\166\1\156\1\145\3\60\1\157\1\145\1\147\1\60\3\uffff\1\162\1\154\1\60\1\uffff\1\155\1\60\1\uffff\1\141\1\uffff\1\164\1\151\1\157\1\156\1\60\1\uffff"; static final String DFA20_maxS = - "\1\uffff\1\172\1\uffff\1\156\1\146\1\uffff\1\165\1\uffff\1\135\1\76\1\157\1\163\1\162\1\141\3\uffff\2\75\2\uffff\1\145\1\172\1\uffff\2\uffff\1\57\2\uffff\1\143\3\uffff\1\160\1\172\1\164\1\uffff\1\164\2\172\4\uffff\1\155\1\157\1\144\1\172\1\141\2\160\10\uffff\1\145\5\uffff\1\153\1\157\1\uffff\2\172\1\uffff\1\172\1\uffff\1\142\1\153\1\172\1\uffff\1\156\1\154\1\160\1\141\1\162\3\uffff\1\144\1\165\1\uffff\1\163\1\145\1\151\1\147\1\164\1\141\1\160\1\146\1\166\1\156\1\145\3\172\1\157\1\145\1\147\1\172\3\uffff\1\162\1\154\1\172\1\uffff\1\155\1\172\1\uffff\1\141\1\uffff\1\164\1\151\1\157\1\156\1\172\1\uffff"; + "\1\uffff\1\162\1\uffff\1\156\1\146\1\uffff\1\165\1\uffff\1\135\1\76\1\157\1\163\1\162\1\141\3\uffff\2\75\2\uffff\1\145\1\172\1\uffff\2\uffff\1\57\2\uffff\1\143\1\157\2\uffff\1\160\1\172\1\164\1\uffff\1\164\2\172\4\uffff\1\155\1\157\1\144\1\172\1\141\2\160\10\uffff\1\145\5\uffff\1\153\1\142\1\157\1\uffff\2\172\2\uffff\1\172\1\142\1\153\1\172\1\uffff\1\156\1\154\1\160\1\141\1\172\1\162\3\uffff\1\144\1\165\1\uffff\1\163\1\145\1\151\1\147\1\uffff\1\164\1\141\1\160\1\146\1\166\1\156\1\145\3\172\1\157\1\145\1\147\1\172\3\uffff\1\162\1\154\1\172\1\uffff\1\155\1\172\1\uffff\1\141\1\uffff\1\164\1\151\1\157\1\156\1\172\1\uffff"; static final String DFA20_acceptS = - "\2\uffff\1\2\2\uffff\1\5\1\uffff\1\10\6\uffff\1\23\1\24\1\25\2\uffff\1\32\1\34\2\uffff\1\37\3\uffff\1\44\1\45\1\uffff\1\12\1\37\1\2\3\uffff\1\5\3\uffff\1\10\1\11\1\33\1\13\7\uffff\1\23\1\24\1\25\1\30\1\31\1\32\1\34\1\40\1\uffff\1\36\1\41\1\42\1\43\1\44\2\uffff\1\6\2\uffff\1\16\1\uffff\1\17\3\uffff\1\27\5\uffff\1\4\1\7\1\35\2\uffff\1\15\22\uffff\1\3\1\14\1\26\3\uffff\1\1\2\uffff\1\22\1\uffff\1\21\5\uffff\1\20"; + "\2\uffff\1\2\2\uffff\1\5\1\uffff\1\10\6\uffff\1\23\1\24\1\25\2\uffff\1\32\1\34\2\uffff\1\37\3\uffff\1\44\1\45\2\uffff\1\37\1\2\3\uffff\1\5\3\uffff\1\10\1\11\1\33\1\13\7\uffff\1\23\1\24\1\25\1\30\1\31\1\32\1\34\1\36\1\uffff\1\40\1\41\1\42\1\43\1\44\3\uffff\1\6\2\uffff\1\16\1\17\4\uffff\1\27\6\uffff\1\4\1\7\1\35\2\uffff\1\15\4\uffff\1\12\16\uffff\1\3\1\14\1\26\3\uffff\1\1\2\uffff\1\22\1\uffff\1\21\5\uffff\1\20"; static final String DFA20_specialS = - "\1\1\27\uffff\1\2\1\0\142\uffff}>"; + "\1\1\27\uffff\1\2\1\0\145\uffff}>"; static final String[] DFA20_transitionS = { "\11\34\2\33\2\34\1\33\22\34\1\33\1\34\1\30\4\34\1\31\1\16\1\20\1\24\1\21\1\17\1\34\1\23\1\32\12\25\1\22\1\2\1\34\1\11\3\34\32\27\1\10\2\34\1\26\1\27\1\34\1\13\1\27\1\4\5\27\1\3\2\27\1\12\1\15\1\27\1\6\1\1\3\27\1\14\6\27\1\5\1\34\1\7\uff82\34", - "\12\37\7\uffff\32\37\4\uffff\1\37\1\uffff\1\35\31\37", + "\1\35\20\uffff\1\36", "", "\1\41\1\42", "\1\43", @@ -1762,7 +1763,7 @@ public class InternalCftLanguageLexer extends Lexer { "\1\67", "", "", - "\1\74\1\uffff\12\73\13\uffff\1\74\37\uffff\1\74", + "\1\72\1\uffff\12\73\13\uffff\1\72\37\uffff\1\72", "\32\37\4\uffff\1\37\1\uffff\32\37", "", "\0\75", @@ -1771,27 +1772,27 @@ public class InternalCftLanguageLexer extends Lexer { "", "", "\1\101", + "\1\102", "", "", - "", - "\1\102", + "\1\103", "\12\37\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37", - "\1\104", - "", "\1\105", + "", + "\1\106", "\12\37\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37", - "\12\107\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37", + "\12\111\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37", "", "", "", "", - "\1\111", "\1\112", "\1\113", + "\1\114", "\12\37\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37", - "\1\115", "\1\116", "\1\117", + "\1\120", "", "", "", @@ -1800,69 +1801,72 @@ public class InternalCftLanguageLexer extends Lexer { "", "", "", - "\1\74\1\uffff\12\73\13\uffff\1\74\37\uffff\1\74", + "\1\72\1\uffff\12\73\13\uffff\1\72\37\uffff\1\72", "", "", "", "", "", - "\1\120", "\1\121", + "\1\122", + "\1\123", "", "\12\37\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37", "\12\37\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37", "", - "\12\107\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37", "", - "\1\125", - "\1\126", + "\12\111\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37", + "\1\127", + "\1\130", "\12\37\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37", "", - "\1\130", - "\1\131", "\1\132", "\1\133", "\1\134", + "\1\135", + "\12\37\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37", + "\1\137", "", "", "", - "\1\135", - "\1\136", - "", - "\1\137", "\1\140", "\1\141", + "", "\1\142", "\1\143", "\1\144", "\1\145", + "", "\1\146", "\1\147", "\1\150", "\1\151", + "\1\152", + "\1\153", + "\1\154", "\12\37\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37", "\12\37\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37", "\12\37\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37", - "\1\155", - "\1\156", - "\1\157", - "\12\37\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37", - "", - "", - "", + "\1\160", "\1\161", "\1\162", "\12\37\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37", "", + "", + "", "\1\164", + "\1\165", "\12\37\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37", "", - "\1\166", - "", "\1\167", - "\1\170", + "\12\37\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37", + "", "\1\171", + "", "\1\172", + "\1\173", + "\1\174", + "\1\175", "\12\37\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37", "" }; diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/parser/antlr/internal/InternalCftLanguageParser.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/parser/antlr/internal/InternalCftLanguageParser.java index 4727763e..0da9c0f1 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/parser/antlr/internal/InternalCftLanguageParser.java +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/parser/antlr/internal/InternalCftLanguageParser.java @@ -21,7 +21,7 @@ import java.util.ArrayList; @SuppressWarnings("all") public class InternalCftLanguageParser extends AbstractInternalAntlrParser { public static final String[] tokenNames = new String[] { - "", "", "", "", "RULE_INT", "RULE_OF_INT", "RULE_ID", "RULE_T_DOUBLE", "RULE_STRING", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "'package'", "';'", "'import'", "'cft'", "'{'", "'in'", "'out'", "'}'", "'[]'", "'p'", "'='", "'lambda'", "'and'", "'or'", "'of'", "'transformation'", "'toplevel'", "'mapping'", "'('", "','", "')'", "'lookup'", "'as'", "'+='", "':='", "'.'", "'=>'", "'*'" + "", "", "", "", "RULE_INT", "RULE_OF_INT", "RULE_ID", "RULE_T_DOUBLE", "RULE_STRING", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "'package'", "';'", "'import'", "'cft'", "'{'", "'in'", "'out'", "'}'", "'[]'", "'prob'", "'='", "'lambda'", "'and'", "'or'", "'of'", "'transformation'", "'toplevel'", "'mapping'", "'('", "','", "')'", "'lookup'", "'as'", "'+='", "':='", "'.'", "'=>'", "'*'" }; public static final int RULE_STRING=8; public static final int RULE_SL_COMMENT=10; @@ -1549,7 +1549,7 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleConstantDistribution" - // InternalCftLanguage.g:570:1: ruleConstantDistribution returns [EObject current=null] : (otherlv_0= 'p' otherlv_1= '=' ( (lv_p_2_0= ruleDouble ) ) ) ; + // InternalCftLanguage.g:570:1: ruleConstantDistribution returns [EObject current=null] : (otherlv_0= 'prob' otherlv_1= '=' ( (lv_p_2_0= ruleDouble ) ) ) ; public final EObject ruleConstantDistribution() throws RecognitionException { EObject current = null; @@ -1562,15 +1562,15 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { enterRule(); try { - // InternalCftLanguage.g:576:2: ( (otherlv_0= 'p' otherlv_1= '=' ( (lv_p_2_0= ruleDouble ) ) ) ) - // InternalCftLanguage.g:577:2: (otherlv_0= 'p' otherlv_1= '=' ( (lv_p_2_0= ruleDouble ) ) ) + // InternalCftLanguage.g:576:2: ( (otherlv_0= 'prob' otherlv_1= '=' ( (lv_p_2_0= ruleDouble ) ) ) ) + // InternalCftLanguage.g:577:2: (otherlv_0= 'prob' otherlv_1= '=' ( (lv_p_2_0= ruleDouble ) ) ) { - // InternalCftLanguage.g:577:2: (otherlv_0= 'p' otherlv_1= '=' ( (lv_p_2_0= ruleDouble ) ) ) - // InternalCftLanguage.g:578:3: otherlv_0= 'p' otherlv_1= '=' ( (lv_p_2_0= ruleDouble ) ) + // InternalCftLanguage.g:577:2: (otherlv_0= 'prob' otherlv_1= '=' ( (lv_p_2_0= ruleDouble ) ) ) + // InternalCftLanguage.g:578:3: otherlv_0= 'prob' otherlv_1= '=' ( (lv_p_2_0= ruleDouble ) ) { otherlv_0=(Token)match(input,22,FOLLOW_15); - newLeafNode(otherlv_0, grammarAccess.getConstantDistributionAccess().getPKeyword_0()); + newLeafNode(otherlv_0, grammarAccess.getConstantDistributionAccess().getProbKeyword_0()); otherlv_1=(Token)match(input,23,FOLLOW_16); @@ -3861,22 +3861,23 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleComponentInstance" - // InternalCftLanguage.g:1467:1: ruleComponentInstance returns [EObject current=null] : (otherlv_0= '=>' ( ( ruleQualifiedName ) ) ( (lv_name_2_0= RULE_ID ) )? ) ; + // InternalCftLanguage.g:1467:1: ruleComponentInstance returns [EObject current=null] : (otherlv_0= '=>' ( ( ruleQualifiedName ) ) ( (lv_name_2_0= ruleValidId ) )? ) ; public final EObject ruleComponentInstance() throws RecognitionException { EObject current = null; Token otherlv_0=null; - Token lv_name_2_0=null; + AntlrDatatypeRuleToken lv_name_2_0 = null; + enterRule(); try { - // InternalCftLanguage.g:1473:2: ( (otherlv_0= '=>' ( ( ruleQualifiedName ) ) ( (lv_name_2_0= RULE_ID ) )? ) ) - // InternalCftLanguage.g:1474:2: (otherlv_0= '=>' ( ( ruleQualifiedName ) ) ( (lv_name_2_0= RULE_ID ) )? ) + // InternalCftLanguage.g:1473:2: ( (otherlv_0= '=>' ( ( ruleQualifiedName ) ) ( (lv_name_2_0= ruleValidId ) )? ) ) + // InternalCftLanguage.g:1474:2: (otherlv_0= '=>' ( ( ruleQualifiedName ) ) ( (lv_name_2_0= ruleValidId ) )? ) { - // InternalCftLanguage.g:1474:2: (otherlv_0= '=>' ( ( ruleQualifiedName ) ) ( (lv_name_2_0= RULE_ID ) )? ) - // InternalCftLanguage.g:1475:3: otherlv_0= '=>' ( ( ruleQualifiedName ) ) ( (lv_name_2_0= RULE_ID ) )? + // InternalCftLanguage.g:1474:2: (otherlv_0= '=>' ( ( ruleQualifiedName ) ) ( (lv_name_2_0= ruleValidId ) )? ) + // InternalCftLanguage.g:1475:3: otherlv_0= '=>' ( ( ruleQualifiedName ) ) ( (lv_name_2_0= ruleValidId ) )? { otherlv_0=(Token)match(input,39,FOLLOW_3); @@ -3896,7 +3897,7 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { newCompositeNode(grammarAccess.getComponentInstanceAccess().getComponentTypeComponentDefinitionCrossReference_1_0()); - pushFollow(FOLLOW_33); + pushFollow(FOLLOW_18); ruleQualifiedName(); state._fsp--; @@ -3910,33 +3911,38 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { } - // InternalCftLanguage.g:1495:3: ( (lv_name_2_0= RULE_ID ) )? + // InternalCftLanguage.g:1495:3: ( (lv_name_2_0= ruleValidId ) )? int alt26=2; int LA26_0 = input.LA(1); - if ( (LA26_0==RULE_ID) ) { + if ( ((LA26_0>=RULE_OF_INT && LA26_0<=RULE_ID)) ) { alt26=1; } switch (alt26) { case 1 : - // InternalCftLanguage.g:1496:4: (lv_name_2_0= RULE_ID ) + // InternalCftLanguage.g:1496:4: (lv_name_2_0= ruleValidId ) { - // InternalCftLanguage.g:1496:4: (lv_name_2_0= RULE_ID ) - // InternalCftLanguage.g:1497:5: lv_name_2_0= RULE_ID + // InternalCftLanguage.g:1496:4: (lv_name_2_0= ruleValidId ) + // InternalCftLanguage.g:1497:5: lv_name_2_0= ruleValidId { - lv_name_2_0=(Token)match(input,RULE_ID,FOLLOW_2); - newLeafNode(lv_name_2_0, grammarAccess.getComponentInstanceAccess().getNameIDTerminalRuleCall_2_0()); + newCompositeNode(grammarAccess.getComponentInstanceAccess().getNameValidIdParserRuleCall_2_0()); + pushFollow(FOLLOW_2); + lv_name_2_0=ruleValidId(); + + state._fsp--; + if (current==null) { - current = createModelElement(grammarAccess.getComponentInstanceRule()); + current = createModelElementForParent(grammarAccess.getComponentInstanceRule()); } - setWithLastConsumed( + set( current, "name", lv_name_2_0, - "org.eclipse.xtext.common.Terminals.ID"); + "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.ValidId"); + afterParserOrEnumRuleCall(); } @@ -3970,7 +3976,7 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleQualifiedName" - // InternalCftLanguage.g:1517:1: entryRuleQualifiedName returns [String current=null] : iv_ruleQualifiedName= ruleQualifiedName EOF ; + // InternalCftLanguage.g:1518:1: entryRuleQualifiedName returns [String current=null] : iv_ruleQualifiedName= ruleQualifiedName EOF ; public final String entryRuleQualifiedName() throws RecognitionException { String current = null; @@ -3978,8 +3984,8 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { try { - // InternalCftLanguage.g:1517:53: (iv_ruleQualifiedName= ruleQualifiedName EOF ) - // InternalCftLanguage.g:1518:2: iv_ruleQualifiedName= ruleQualifiedName EOF + // InternalCftLanguage.g:1518:53: (iv_ruleQualifiedName= ruleQualifiedName EOF ) + // InternalCftLanguage.g:1519:2: iv_ruleQualifiedName= ruleQualifiedName EOF { newCompositeNode(grammarAccess.getQualifiedNameRule()); pushFollow(FOLLOW_1); @@ -4006,7 +4012,7 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleQualifiedName" - // InternalCftLanguage.g:1524:1: ruleQualifiedName returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_ValidId_0= ruleValidId (kw= '.' this_ValidId_2= ruleValidId )* ) ; + // InternalCftLanguage.g:1525:1: ruleQualifiedName returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_ValidId_0= ruleValidId (kw= '.' this_ValidId_2= ruleValidId )* ) ; public final AntlrDatatypeRuleToken ruleQualifiedName() throws RecognitionException { AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); @@ -4020,16 +4026,16 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { enterRule(); try { - // InternalCftLanguage.g:1530:2: ( (this_ValidId_0= ruleValidId (kw= '.' this_ValidId_2= ruleValidId )* ) ) - // InternalCftLanguage.g:1531:2: (this_ValidId_0= ruleValidId (kw= '.' this_ValidId_2= ruleValidId )* ) + // InternalCftLanguage.g:1531:2: ( (this_ValidId_0= ruleValidId (kw= '.' this_ValidId_2= ruleValidId )* ) ) + // InternalCftLanguage.g:1532:2: (this_ValidId_0= ruleValidId (kw= '.' this_ValidId_2= ruleValidId )* ) { - // InternalCftLanguage.g:1531:2: (this_ValidId_0= ruleValidId (kw= '.' this_ValidId_2= ruleValidId )* ) - // InternalCftLanguage.g:1532:3: this_ValidId_0= ruleValidId (kw= '.' this_ValidId_2= ruleValidId )* + // InternalCftLanguage.g:1532:2: (this_ValidId_0= ruleValidId (kw= '.' this_ValidId_2= ruleValidId )* ) + // InternalCftLanguage.g:1533:3: this_ValidId_0= ruleValidId (kw= '.' this_ValidId_2= ruleValidId )* { newCompositeNode(grammarAccess.getQualifiedNameAccess().getValidIdParserRuleCall_0()); - pushFollow(FOLLOW_34); + pushFollow(FOLLOW_33); this_ValidId_0=ruleValidId(); state._fsp--; @@ -4040,7 +4046,7 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { afterParserOrEnumRuleCall(); - // InternalCftLanguage.g:1542:3: (kw= '.' this_ValidId_2= ruleValidId )* + // InternalCftLanguage.g:1543:3: (kw= '.' this_ValidId_2= ruleValidId )* loop27: do { int alt27=2; @@ -4059,7 +4065,7 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { switch (alt27) { case 1 : - // InternalCftLanguage.g:1543:4: kw= '.' this_ValidId_2= ruleValidId + // InternalCftLanguage.g:1544:4: kw= '.' this_ValidId_2= ruleValidId { kw=(Token)match(input,38,FOLLOW_3); @@ -4069,7 +4075,7 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { newCompositeNode(grammarAccess.getQualifiedNameAccess().getValidIdParserRuleCall_1_1()); - pushFollow(FOLLOW_34); + pushFollow(FOLLOW_33); this_ValidId_2=ruleValidId(); state._fsp--; @@ -4112,7 +4118,7 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleQualifiedNameWithWildcard" - // InternalCftLanguage.g:1563:1: entryRuleQualifiedNameWithWildcard returns [String current=null] : iv_ruleQualifiedNameWithWildcard= ruleQualifiedNameWithWildcard EOF ; + // InternalCftLanguage.g:1564:1: entryRuleQualifiedNameWithWildcard returns [String current=null] : iv_ruleQualifiedNameWithWildcard= ruleQualifiedNameWithWildcard EOF ; public final String entryRuleQualifiedNameWithWildcard() throws RecognitionException { String current = null; @@ -4120,8 +4126,8 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { try { - // InternalCftLanguage.g:1563:65: (iv_ruleQualifiedNameWithWildcard= ruleQualifiedNameWithWildcard EOF ) - // InternalCftLanguage.g:1564:2: iv_ruleQualifiedNameWithWildcard= ruleQualifiedNameWithWildcard EOF + // InternalCftLanguage.g:1564:65: (iv_ruleQualifiedNameWithWildcard= ruleQualifiedNameWithWildcard EOF ) + // InternalCftLanguage.g:1565:2: iv_ruleQualifiedNameWithWildcard= ruleQualifiedNameWithWildcard EOF { newCompositeNode(grammarAccess.getQualifiedNameWithWildcardRule()); pushFollow(FOLLOW_1); @@ -4148,7 +4154,7 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleQualifiedNameWithWildcard" - // InternalCftLanguage.g:1570:1: ruleQualifiedNameWithWildcard returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_QualifiedName_0= ruleQualifiedName (kw= '.' kw= '*' )? ) ; + // InternalCftLanguage.g:1571:1: ruleQualifiedNameWithWildcard returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_QualifiedName_0= ruleQualifiedName (kw= '.' kw= '*' )? ) ; public final AntlrDatatypeRuleToken ruleQualifiedNameWithWildcard() throws RecognitionException { AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); @@ -4160,16 +4166,16 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { enterRule(); try { - // InternalCftLanguage.g:1576:2: ( (this_QualifiedName_0= ruleQualifiedName (kw= '.' kw= '*' )? ) ) - // InternalCftLanguage.g:1577:2: (this_QualifiedName_0= ruleQualifiedName (kw= '.' kw= '*' )? ) + // InternalCftLanguage.g:1577:2: ( (this_QualifiedName_0= ruleQualifiedName (kw= '.' kw= '*' )? ) ) + // InternalCftLanguage.g:1578:2: (this_QualifiedName_0= ruleQualifiedName (kw= '.' kw= '*' )? ) { - // InternalCftLanguage.g:1577:2: (this_QualifiedName_0= ruleQualifiedName (kw= '.' kw= '*' )? ) - // InternalCftLanguage.g:1578:3: this_QualifiedName_0= ruleQualifiedName (kw= '.' kw= '*' )? + // InternalCftLanguage.g:1578:2: (this_QualifiedName_0= ruleQualifiedName (kw= '.' kw= '*' )? ) + // InternalCftLanguage.g:1579:3: this_QualifiedName_0= ruleQualifiedName (kw= '.' kw= '*' )? { newCompositeNode(grammarAccess.getQualifiedNameWithWildcardAccess().getQualifiedNameParserRuleCall_0()); - pushFollow(FOLLOW_34); + pushFollow(FOLLOW_33); this_QualifiedName_0=ruleQualifiedName(); state._fsp--; @@ -4180,7 +4186,7 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { afterParserOrEnumRuleCall(); - // InternalCftLanguage.g:1588:3: (kw= '.' kw= '*' )? + // InternalCftLanguage.g:1589:3: (kw= '.' kw= '*' )? int alt28=2; int LA28_0 = input.LA(1); @@ -4189,9 +4195,9 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { } switch (alt28) { case 1 : - // InternalCftLanguage.g:1589:4: kw= '.' kw= '*' + // InternalCftLanguage.g:1590:4: kw= '.' kw= '*' { - kw=(Token)match(input,38,FOLLOW_35); + kw=(Token)match(input,38,FOLLOW_34); current.merge(kw); newLeafNode(kw, grammarAccess.getQualifiedNameWithWildcardAccess().getFullStopKeyword_1_0()); @@ -4230,7 +4236,7 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleValidId" - // InternalCftLanguage.g:1604:1: entryRuleValidId returns [String current=null] : iv_ruleValidId= ruleValidId EOF ; + // InternalCftLanguage.g:1605:1: entryRuleValidId returns [String current=null] : iv_ruleValidId= ruleValidId EOF ; public final String entryRuleValidId() throws RecognitionException { String current = null; @@ -4238,8 +4244,8 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { try { - // InternalCftLanguage.g:1604:47: (iv_ruleValidId= ruleValidId EOF ) - // InternalCftLanguage.g:1605:2: iv_ruleValidId= ruleValidId EOF + // InternalCftLanguage.g:1605:47: (iv_ruleValidId= ruleValidId EOF ) + // InternalCftLanguage.g:1606:2: iv_ruleValidId= ruleValidId EOF { newCompositeNode(grammarAccess.getValidIdRule()); pushFollow(FOLLOW_1); @@ -4266,7 +4272,7 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleValidId" - // InternalCftLanguage.g:1611:1: ruleValidId returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_ID_0= RULE_ID | this_OF_INT_1= RULE_OF_INT ) ; + // InternalCftLanguage.g:1612:1: ruleValidId returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_ID_0= RULE_ID | this_OF_INT_1= RULE_OF_INT ) ; public final AntlrDatatypeRuleToken ruleValidId() throws RecognitionException { AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); @@ -4277,10 +4283,10 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { enterRule(); try { - // InternalCftLanguage.g:1617:2: ( (this_ID_0= RULE_ID | this_OF_INT_1= RULE_OF_INT ) ) - // InternalCftLanguage.g:1618:2: (this_ID_0= RULE_ID | this_OF_INT_1= RULE_OF_INT ) + // InternalCftLanguage.g:1618:2: ( (this_ID_0= RULE_ID | this_OF_INT_1= RULE_OF_INT ) ) + // InternalCftLanguage.g:1619:2: (this_ID_0= RULE_ID | this_OF_INT_1= RULE_OF_INT ) { - // InternalCftLanguage.g:1618:2: (this_ID_0= RULE_ID | this_OF_INT_1= RULE_OF_INT ) + // InternalCftLanguage.g:1619:2: (this_ID_0= RULE_ID | this_OF_INT_1= RULE_OF_INT ) int alt29=2; int LA29_0 = input.LA(1); @@ -4298,7 +4304,7 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { } switch (alt29) { case 1 : - // InternalCftLanguage.g:1619:3: this_ID_0= RULE_ID + // InternalCftLanguage.g:1620:3: this_ID_0= RULE_ID { this_ID_0=(Token)match(input,RULE_ID,FOLLOW_2); @@ -4311,7 +4317,7 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { } break; case 2 : - // InternalCftLanguage.g:1627:3: this_OF_INT_1= RULE_OF_INT + // InternalCftLanguage.g:1628:3: this_OF_INT_1= RULE_OF_INT { this_OF_INT_1=(Token)match(input,RULE_OF_INT,FOLLOW_2); @@ -4346,7 +4352,7 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleDouble" - // InternalCftLanguage.g:1638:1: entryRuleDouble returns [String current=null] : iv_ruleDouble= ruleDouble EOF ; + // InternalCftLanguage.g:1639:1: entryRuleDouble returns [String current=null] : iv_ruleDouble= ruleDouble EOF ; public final String entryRuleDouble() throws RecognitionException { String current = null; @@ -4354,8 +4360,8 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { try { - // InternalCftLanguage.g:1638:46: (iv_ruleDouble= ruleDouble EOF ) - // InternalCftLanguage.g:1639:2: iv_ruleDouble= ruleDouble EOF + // InternalCftLanguage.g:1639:46: (iv_ruleDouble= ruleDouble EOF ) + // InternalCftLanguage.g:1640:2: iv_ruleDouble= ruleDouble EOF { newCompositeNode(grammarAccess.getDoubleRule()); pushFollow(FOLLOW_1); @@ -4382,7 +4388,7 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleDouble" - // InternalCftLanguage.g:1645:1: ruleDouble returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_INT_0= RULE_INT | this_T_DOUBLE_1= RULE_T_DOUBLE ) ; + // InternalCftLanguage.g:1646:1: ruleDouble returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_INT_0= RULE_INT | this_T_DOUBLE_1= RULE_T_DOUBLE ) ; public final AntlrDatatypeRuleToken ruleDouble() throws RecognitionException { AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); @@ -4393,10 +4399,10 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { enterRule(); try { - // InternalCftLanguage.g:1651:2: ( (this_INT_0= RULE_INT | this_T_DOUBLE_1= RULE_T_DOUBLE ) ) - // InternalCftLanguage.g:1652:2: (this_INT_0= RULE_INT | this_T_DOUBLE_1= RULE_T_DOUBLE ) + // InternalCftLanguage.g:1652:2: ( (this_INT_0= RULE_INT | this_T_DOUBLE_1= RULE_T_DOUBLE ) ) + // InternalCftLanguage.g:1653:2: (this_INT_0= RULE_INT | this_T_DOUBLE_1= RULE_T_DOUBLE ) { - // InternalCftLanguage.g:1652:2: (this_INT_0= RULE_INT | this_T_DOUBLE_1= RULE_T_DOUBLE ) + // InternalCftLanguage.g:1653:2: (this_INT_0= RULE_INT | this_T_DOUBLE_1= RULE_T_DOUBLE ) int alt30=2; int LA30_0 = input.LA(1); @@ -4414,7 +4420,7 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { } switch (alt30) { case 1 : - // InternalCftLanguage.g:1653:3: this_INT_0= RULE_INT + // InternalCftLanguage.g:1654:3: this_INT_0= RULE_INT { this_INT_0=(Token)match(input,RULE_INT,FOLLOW_2); @@ -4427,7 +4433,7 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { } break; case 2 : - // InternalCftLanguage.g:1661:3: this_T_DOUBLE_1= RULE_T_DOUBLE + // InternalCftLanguage.g:1662:3: this_T_DOUBLE_1= RULE_T_DOUBLE { this_T_DOUBLE_1=(Token)match(input,RULE_T_DOUBLE,FOLLOW_2); @@ -4497,8 +4503,7 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { public static final BitSet FOLLOW_30 = new BitSet(new long[]{0x0000003000000000L}); public static final BitSet FOLLOW_31 = new BitSet(new long[]{0x0000000400000060L}); public static final BitSet FOLLOW_32 = new BitSet(new long[]{0x0000004000000000L}); - public static final BitSet FOLLOW_33 = new BitSet(new long[]{0x0000000000000042L}); - public static final BitSet FOLLOW_34 = new BitSet(new long[]{0x0000004000000002L}); - public static final BitSet FOLLOW_35 = new BitSet(new long[]{0x0000010000000000L}); + public static final BitSet FOLLOW_33 = new BitSet(new long[]{0x0000004000000002L}); + public static final BitSet FOLLOW_34 = new BitSet(new long[]{0x0000010000000000L}); } diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/serializer/CftLanguageSemanticSequencer.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/serializer/CftLanguageSemanticSequencer.java index 25f16824..fe329903 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/serializer/CftLanguageSemanticSequencer.java +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/serializer/CftLanguageSemanticSequencer.java @@ -194,7 +194,7 @@ public class CftLanguageSemanticSequencer extends AbstractDelegatingSemanticSequ * ComponentInstance returns ComponentInstance * * Constraint: - * (componentType=[ComponentDefinition|QualifiedName] name=ID?) + * (componentType=[ComponentDefinition|QualifiedName] name=ValidId?) */ protected void sequence_ComponentInstance(ISerializationContext context, ComponentInstance semanticObject) { genericSequencer.createSequence(context, semanticObject); diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/services/CftLanguageGrammarAccess.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/services/CftLanguageGrammarAccess.java index cbcfbe95..2b9632b7 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/services/CftLanguageGrammarAccess.java +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/services/CftLanguageGrammarAccess.java @@ -302,20 +302,20 @@ public class CftLanguageGrammarAccess extends AbstractGrammarElementFinder { public class ConstantDistributionElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.ConstantDistribution"); private final Group cGroup = (Group)rule.eContents().get(1); - private final Keyword cPKeyword_0 = (Keyword)cGroup.eContents().get(0); + private final Keyword cProbKeyword_0 = (Keyword)cGroup.eContents().get(0); private final Keyword cEqualsSignKeyword_1 = (Keyword)cGroup.eContents().get(1); private final Assignment cPAssignment_2 = (Assignment)cGroup.eContents().get(2); private final RuleCall cPDoubleParserRuleCall_2_0 = (RuleCall)cPAssignment_2.eContents().get(0); //ConstantDistribution ft::ConstantDistribution: - // "p" "=" p=Double; + // "prob" "=" p=Double; @Override public ParserRule getRule() { return rule; } - //"p" "=" p=Double + //"prob" "=" p=Double public Group getGroup() { return cGroup; } - //"p" - public Keyword getPKeyword_0() { return cPKeyword_0; } + //"prob" + public Keyword getProbKeyword_0() { return cProbKeyword_0; } //"=" public Keyword getEqualsSignKeyword_1() { return cEqualsSignKeyword_1; } @@ -880,13 +880,13 @@ public class CftLanguageGrammarAccess extends AbstractGrammarElementFinder { private final CrossReference cComponentTypeComponentDefinitionCrossReference_1_0 = (CrossReference)cComponentTypeAssignment_1.eContents().get(0); private final RuleCall cComponentTypeComponentDefinitionQualifiedNameParserRuleCall_1_0_1 = (RuleCall)cComponentTypeComponentDefinitionCrossReference_1_0.eContents().get(1); private final Assignment cNameAssignment_2 = (Assignment)cGroup.eContents().get(2); - private final RuleCall cNameIDTerminalRuleCall_2_0 = (RuleCall)cNameAssignment_2.eContents().get(0); + private final RuleCall cNameValidIdParserRuleCall_2_0 = (RuleCall)cNameAssignment_2.eContents().get(0); //ComponentInstance: - // "=>" componentType=[cft::ComponentDefinition|QualifiedName] name=ID?; + // "=>" componentType=[cft::ComponentDefinition|QualifiedName] name=ValidId?; @Override public ParserRule getRule() { return rule; } - //"=>" componentType=[cft::ComponentDefinition|QualifiedName] name=ID? + //"=>" componentType=[cft::ComponentDefinition|QualifiedName] name=ValidId? public Group getGroup() { return cGroup; } //"=>" @@ -901,11 +901,11 @@ public class CftLanguageGrammarAccess extends AbstractGrammarElementFinder { //QualifiedName public RuleCall getComponentTypeComponentDefinitionQualifiedNameParserRuleCall_1_0_1() { return cComponentTypeComponentDefinitionQualifiedNameParserRuleCall_1_0_1; } - //name=ID? + //name=ValidId? public Assignment getNameAssignment_2() { return cNameAssignment_2; } - //ID - public RuleCall getNameIDTerminalRuleCall_2_0() { return cNameIDTerminalRuleCall_2_0; } + //ValidId + public RuleCall getNameValidIdParserRuleCall_2_0() { return cNameValidIdParserRuleCall_2_0; } } public class QualifiedNameElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.QualifiedName"); @@ -1169,7 +1169,7 @@ public class CftLanguageGrammarAccess extends AbstractGrammarElementFinder { } //ConstantDistribution ft::ConstantDistribution: - // "p" "=" p=Double; + // "prob" "=" p=Double; public ConstantDistributionElements getConstantDistributionAccess() { return pConstantDistribution; } @@ -1306,7 +1306,7 @@ public class CftLanguageGrammarAccess extends AbstractGrammarElementFinder { } //ComponentInstance: - // "=>" componentType=[cft::ComponentDefinition|QualifiedName] name=ID?; + // "=>" componentType=[cft::ComponentDefinition|QualifiedName] name=ValidId?; public ComponentInstanceElements getComponentInstanceAccess() { return pComponentInstance; } diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src/hu/bme/mit/inf/dslreasoner/faulttree/components/CftLanguage.xtext b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src/hu/bme/mit/inf/dslreasoner/faulttree/components/CftLanguage.xtext index b4d5338b..ab053f67 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src/hu/bme/mit/inf/dslreasoner/faulttree/components/CftLanguage.xtext +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src/hu/bme/mit/inf/dslreasoner/faulttree/components/CftLanguage.xtext @@ -33,7 +33,7 @@ Distribution returns ft::Distribution: ConstantDistribution | ExponentialDistribution; ConstantDistribution returns ft::ConstantDistribution: - "p" "=" p=Double; + "prob" "=" p=Double; ExponentialDistribution returns ft::ExponentialDistribution: "lambda" "=" lambda=Double; @@ -80,7 +80,7 @@ EventReference: component=[Variable|ValidId] "." event=[cft::EventDeclaration|ValidId]; ComponentInstance: - "=>" componentType=[cft::ComponentDefinition|QualifiedName] name=ID?; + "=>" componentType=[cft::ComponentDefinition|QualifiedName] name=ValidId?; QualifiedName returns ecore::EString: ValidId ("." ValidId)*; diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/.CftLanguageRuntimeModule.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/.CftLanguageRuntimeModule.xtendbin index df7b7e51..98b07e66 100644 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/.CftLanguageRuntimeModule.xtendbin and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/.CftLanguageRuntimeModule.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/.CftLanguageStandaloneSetup.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/.CftLanguageStandaloneSetup.xtendbin index 414dfa3e..2ae80aef 100644 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/.CftLanguageStandaloneSetup.xtendbin and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/.CftLanguageStandaloneSetup.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/conversion/.CftLanguageValueConverterService.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/conversion/.CftLanguageValueConverterService.xtendbin index 80e91ebf..a97cd12c 100644 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/conversion/.CftLanguageValueConverterService.xtendbin and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/conversion/.CftLanguageValueConverterService.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/conversion/.OF_INTValueConverter.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/conversion/.OF_INTValueConverter.xtendbin index 6787af3f..25b37e6d 100644 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/conversion/.OF_INTValueConverter.xtendbin and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/conversion/.OF_INTValueConverter.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/generator/.CftLanguageGenerator.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/generator/.CftLanguageGenerator.xtendbin index 0ad3ae5a..b2a0c833 100644 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/generator/.CftLanguageGenerator.xtendbin and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/generator/.CftLanguageGenerator.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/naming/.CftLanguageQualifiedNameProvider.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/naming/.CftLanguageQualifiedNameProvider.xtendbin index 62a48625..cea3c7e0 100644 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/naming/.CftLanguageQualifiedNameProvider.xtendbin and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/naming/.CftLanguageQualifiedNameProvider.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/naming/.PackageNameProvider.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/naming/.PackageNameProvider.xtendbin index b5ec6fb3..a0a97448 100644 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/naming/.PackageNameProvider.xtendbin and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/naming/.PackageNameProvider.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/scoping/.CftLanguageImportedNamespaceAwareLocalScopeProvider.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/scoping/.CftLanguageImportedNamespaceAwareLocalScopeProvider.xtendbin index c570dbe3..a3aa3347 100644 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/scoping/.CftLanguageImportedNamespaceAwareLocalScopeProvider.xtendbin and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/scoping/.CftLanguageImportedNamespaceAwareLocalScopeProvider.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/scoping/.CftLanguageScopeProvider.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/scoping/.CftLanguageScopeProvider.xtendbin index 3c714b09..20f539ae 100644 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/scoping/.CftLanguageScopeProvider.xtendbin and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/scoping/.CftLanguageScopeProvider.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/validation/.CftLanguageValidator.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/validation/.CftLanguageValidator.xtendbin index 683ac14e..719d28f8 100644 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/validation/.CftLanguageValidator.xtendbin and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/validation/.CftLanguageValidator.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/BasicEvent.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/BasicEvent.java index acfc635b..63b8d0ed 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/BasicEvent.java +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/BasicEvent.java @@ -19,7 +19,7 @@ package hu.bme.mit.inf.dslreasoner.faulttree.model.ft; * @model * @generated */ -public interface BasicEvent extends Event { +public interface BasicEvent extends RandomEvent { /** * Returns the value of the 'Distribution' containment reference. * diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/ConstantEvent.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/ConstantEvent.java new file mode 100644 index 00000000..a171fc95 --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/ConstantEvent.java @@ -0,0 +1,49 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.faulttree.model.ft; + + +/** + * + * A representation of the model object 'Constant Event'. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ConstantEvent#isFailed Failed}
  • + *
+ * + * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtPackage#getConstantEvent() + * @model + * @generated + */ +public interface ConstantEvent extends Event { + /** + * Returns the value of the 'Failed' attribute. + * + *

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

+ * + * @return the value of the 'Failed' attribute. + * @see #setFailed(boolean) + * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtPackage#getConstantEvent_Failed() + * @model + * @generated + */ + boolean isFailed(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ConstantEvent#isFailed Failed}' attribute. + * + * + * @param value the new value of the 'Failed' attribute. + * @see #isFailed() + * @generated + */ + void setFailed(boolean value); + +} // ConstantEvent diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/ConstantModel.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/ConstantModel.java new file mode 100644 index 00000000..5649559f --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/ConstantModel.java @@ -0,0 +1,49 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.faulttree.model.ft; + + +/** + * + * A representation of the model object 'Constant Model'. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ConstantModel#isFailed Failed}
  • + *
+ * + * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtPackage#getConstantModel() + * @model + * @generated + */ +public interface ConstantModel extends ReliabilityModel { + /** + * Returns the value of the 'Failed' attribute. + * + *

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

+ * + * @return the value of the 'Failed' attribute. + * @see #setFailed(boolean) + * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtPackage#getConstantModel_Failed() + * @model + * @generated + */ + boolean isFailed(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ConstantModel#isFailed Failed}' attribute. + * + * + * @param value the new value of the 'Failed' attribute. + * @see #isFailed() + * @generated + */ + void setFailed(boolean value); + +} // ConstantModel diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/Event.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/Event.java index 186e23b9..a5a905a0 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/Event.java +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/Event.java @@ -9,42 +9,10 @@ import org.eclipse.emf.ecore.EObject; * A representation of the model object 'Event'. * * - *

- * The following features are supported: - *

- *
    - *
  • {@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.Event#getName Name}
  • - *
* * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtPackage#getEvent() * @model abstract="true" * @generated */ public interface Event extends EObject { - /** - * Returns the value of the 'Name' attribute. - * - *

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

- * - * @return the value of the 'Name' attribute. - * @see #setName(String) - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtPackage#getEvent_Name() - * @model - * @generated - */ - String getName(); - - /** - * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.Event#getName Name}' attribute. - * - * - * @param value the new value of the 'Name' attribute. - * @see #getName() - * @generated - */ - void setName(String value); - } // Event diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/FaultTree.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/FaultTree.java index 247a9918..0bf258be 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/FaultTree.java +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/FaultTree.java @@ -4,8 +4,6 @@ package hu.bme.mit.inf.dslreasoner.faulttree.model.ft; import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.ecore.EObject; - /** * * A representation of the model object 'Fault Tree'. @@ -23,10 +21,10 @@ import org.eclipse.emf.ecore.EObject; * @model * @generated */ -public interface FaultTree extends EObject { +public interface FaultTree extends ReliabilityModel { /** * Returns the value of the 'Events' containment reference list. - * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.Event}. + * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.RandomEvent}. * *

* If the meaning of the 'Events' containment reference list isn't clear, @@ -38,7 +36,7 @@ public interface FaultTree extends EObject { * @model containment="true" * @generated */ - EList getEvents(); + EList getEvents(); /** * Returns the value of the 'Top Event' reference. @@ -49,12 +47,12 @@ public interface FaultTree extends EObject { *

* * @return the value of the 'Top Event' reference. - * @see #setTopEvent(Event) + * @see #setTopEvent(RandomEvent) * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtPackage#getFaultTree_TopEvent() * @model required="true" * @generated */ - Event getTopEvent(); + RandomEvent getTopEvent(); /** * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FaultTree#getTopEvent Top Event}' reference. @@ -64,6 +62,6 @@ public interface FaultTree extends EObject { * @see #getTopEvent() * @generated */ - void setTopEvent(Event value); + void setTopEvent(RandomEvent value); } // FaultTree diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/FtFactory.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/FtFactory.java index 20b71b1a..7d420e34 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/FtFactory.java +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/FtFactory.java @@ -84,6 +84,24 @@ public interface FtFactory extends EFactory { */ KOfMGate createKOfMGate(); + /** + * Returns a new object of class 'Constant Model'. + * + * + * @return a new object of class 'Constant Model'. + * @generated + */ + ConstantModel createConstantModel(); + + /** + * Returns a new object of class 'Constant Event'. + * + * + * @return a new object of class 'Constant Event'. + * @generated + */ + ConstantEvent createConstantEvent(); + /** * Returns the package supported by this factory. * diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/FtPackage.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/FtPackage.java index e376063c..dd35d666 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/FtPackage.java +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/FtPackage.java @@ -56,6 +56,34 @@ public interface FtPackage extends EPackage { */ FtPackage eINSTANCE = hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.FtPackageImpl.init(); + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.ReliabilityModelImpl Reliability Model}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.ReliabilityModelImpl + * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.FtPackageImpl#getReliabilityModel() + * @generated + */ + int RELIABILITY_MODEL = 10; + + /** + * The number of structural features of the 'Reliability Model' class. + * + * + * @generated + * @ordered + */ + int RELIABILITY_MODEL_FEATURE_COUNT = 0; + + /** + * The number of operations of the 'Reliability Model' class. + * + * + * @generated + * @ordered + */ + int RELIABILITY_MODEL_OPERATION_COUNT = 0; + /** * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.FaultTreeImpl Fault Tree}' class. * @@ -73,7 +101,7 @@ public interface FtPackage extends EPackage { * @generated * @ordered */ - int FAULT_TREE__EVENTS = 0; + int FAULT_TREE__EVENTS = RELIABILITY_MODEL_FEATURE_COUNT + 0; /** * The feature id for the 'Top Event' reference. @@ -82,7 +110,7 @@ public interface FtPackage extends EPackage { * @generated * @ordered */ - int FAULT_TREE__TOP_EVENT = 1; + int FAULT_TREE__TOP_EVENT = RELIABILITY_MODEL_FEATURE_COUNT + 1; /** * The number of structural features of the 'Fault Tree' class. @@ -91,7 +119,7 @@ public interface FtPackage extends EPackage { * @generated * @ordered */ - int FAULT_TREE_FEATURE_COUNT = 2; + int FAULT_TREE_FEATURE_COUNT = RELIABILITY_MODEL_FEATURE_COUNT + 2; /** * The number of operations of the 'Fault Tree' class. @@ -100,7 +128,7 @@ public interface FtPackage extends EPackage { * @generated * @ordered */ - int FAULT_TREE_OPERATION_COUNT = 0; + int FAULT_TREE_OPERATION_COUNT = RELIABILITY_MODEL_OPERATION_COUNT + 0; /** * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.EventImpl Event}' class. @@ -110,7 +138,35 @@ public interface FtPackage extends EPackage { * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.FtPackageImpl#getEvent() * @generated */ - int EVENT = 1; + int EVENT = 12; + + /** + * The number of structural features of the 'Event' class. + * + * + * @generated + * @ordered + */ + int EVENT_FEATURE_COUNT = 0; + + /** + * The number of operations of the 'Event' class. + * + * + * @generated + * @ordered + */ + int EVENT_OPERATION_COUNT = 0; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.RandomEventImpl Random Event}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.RandomEventImpl + * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.FtPackageImpl#getRandomEvent() + * @generated + */ + int RANDOM_EVENT = 1; /** * The feature id for the 'Name' attribute. @@ -119,25 +175,25 @@ public interface FtPackage extends EPackage { * @generated * @ordered */ - int EVENT__NAME = 0; + int RANDOM_EVENT__NAME = EVENT_FEATURE_COUNT + 0; /** - * The number of structural features of the 'Event' class. + * The number of structural features of the 'Random Event' class. * * * @generated * @ordered */ - int EVENT_FEATURE_COUNT = 1; + int RANDOM_EVENT_FEATURE_COUNT = EVENT_FEATURE_COUNT + 1; /** - * The number of operations of the 'Event' class. + * The number of operations of the 'Random Event' class. * * * @generated * @ordered */ - int EVENT_OPERATION_COUNT = 0; + int RANDOM_EVENT_OPERATION_COUNT = EVENT_OPERATION_COUNT + 0; /** * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.BasicEventImpl Basic Event}' class. @@ -156,7 +212,7 @@ public interface FtPackage extends EPackage { * @generated * @ordered */ - int BASIC_EVENT__NAME = EVENT__NAME; + int BASIC_EVENT__NAME = RANDOM_EVENT__NAME; /** * The feature id for the 'Distribution' containment reference. @@ -165,7 +221,7 @@ public interface FtPackage extends EPackage { * @generated * @ordered */ - int BASIC_EVENT__DISTRIBUTION = EVENT_FEATURE_COUNT + 0; + int BASIC_EVENT__DISTRIBUTION = RANDOM_EVENT_FEATURE_COUNT + 0; /** * The number of structural features of the 'Basic Event' class. @@ -174,7 +230,7 @@ public interface FtPackage extends EPackage { * @generated * @ordered */ - int BASIC_EVENT_FEATURE_COUNT = EVENT_FEATURE_COUNT + 1; + int BASIC_EVENT_FEATURE_COUNT = RANDOM_EVENT_FEATURE_COUNT + 1; /** * The number of operations of the 'Basic Event' class. @@ -183,7 +239,7 @@ public interface FtPackage extends EPackage { * @generated * @ordered */ - int BASIC_EVENT_OPERATION_COUNT = EVENT_OPERATION_COUNT + 0; + int BASIC_EVENT_OPERATION_COUNT = RANDOM_EVENT_OPERATION_COUNT + 0; /** * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.GateImpl Gate}' class. @@ -202,7 +258,7 @@ public interface FtPackage extends EPackage { * @generated * @ordered */ - int GATE__NAME = EVENT__NAME; + int GATE__NAME = RANDOM_EVENT__NAME; /** * The feature id for the 'Input Events' reference list. @@ -211,7 +267,7 @@ public interface FtPackage extends EPackage { * @generated * @ordered */ - int GATE__INPUT_EVENTS = EVENT_FEATURE_COUNT + 0; + int GATE__INPUT_EVENTS = RANDOM_EVENT_FEATURE_COUNT + 0; /** * The number of structural features of the 'Gate' class. @@ -220,7 +276,7 @@ public interface FtPackage extends EPackage { * @generated * @ordered */ - int GATE_FEATURE_COUNT = EVENT_FEATURE_COUNT + 1; + int GATE_FEATURE_COUNT = RANDOM_EVENT_FEATURE_COUNT + 1; /** * The number of operations of the 'Gate' class. @@ -229,7 +285,7 @@ public interface FtPackage extends EPackage { * @generated * @ordered */ - int GATE_OPERATION_COUNT = EVENT_OPERATION_COUNT + 0; + int GATE_OPERATION_COUNT = RANDOM_EVENT_OPERATION_COUNT + 0; /** * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.DistributionImpl Distribution}' class. @@ -463,31 +519,96 @@ public interface FtPackage extends EPackage { int KOF_MGATE__K = GATE_FEATURE_COUNT + 0; /** - * The feature id for the 'M' attribute. + * The number of structural features of the 'KOf MGate' class. * * * @generated * @ordered */ - int KOF_MGATE__M = GATE_FEATURE_COUNT + 1; + int KOF_MGATE_FEATURE_COUNT = GATE_FEATURE_COUNT + 1; /** - * The number of structural features of the 'KOf MGate' class. + * The number of operations of the 'KOf MGate' class. * * * @generated * @ordered */ - int KOF_MGATE_FEATURE_COUNT = GATE_FEATURE_COUNT + 2; + int KOF_MGATE_OPERATION_COUNT = GATE_OPERATION_COUNT + 0; /** - * The number of operations of the 'KOf MGate' class. + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.ConstantModelImpl Constant Model}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.ConstantModelImpl + * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.FtPackageImpl#getConstantModel() + * @generated + */ + int CONSTANT_MODEL = 11; + + /** + * The feature id for the 'Failed' attribute. * * * @generated * @ordered */ - int KOF_MGATE_OPERATION_COUNT = GATE_OPERATION_COUNT + 0; + int CONSTANT_MODEL__FAILED = RELIABILITY_MODEL_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'Constant Model' class. + * + * + * @generated + * @ordered + */ + int CONSTANT_MODEL_FEATURE_COUNT = RELIABILITY_MODEL_FEATURE_COUNT + 1; + + /** + * The number of operations of the 'Constant Model' class. + * + * + * @generated + * @ordered + */ + int CONSTANT_MODEL_OPERATION_COUNT = RELIABILITY_MODEL_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.ConstantEventImpl Constant Event}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.ConstantEventImpl + * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.FtPackageImpl#getConstantEvent() + * @generated + */ + int CONSTANT_EVENT = 13; + + /** + * The feature id for the 'Failed' attribute. + * + * + * @generated + * @ordered + */ + int CONSTANT_EVENT__FAILED = EVENT_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'Constant Event' class. + * + * + * @generated + * @ordered + */ + int CONSTANT_EVENT_FEATURE_COUNT = EVENT_FEATURE_COUNT + 1; + + /** + * The number of operations of the 'Constant Event' class. + * + * + * @generated + * @ordered + */ + int CONSTANT_EVENT_OPERATION_COUNT = EVENT_OPERATION_COUNT + 0; /** @@ -523,25 +644,25 @@ public interface FtPackage extends EPackage { EReference getFaultTree_TopEvent(); /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.Event Event}'. + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.RandomEvent Random Event}'. * * - * @return the meta object for class 'Event'. - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.Event + * @return the meta object for class 'Random Event'. + * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.RandomEvent * @generated */ - EClass getEvent(); + EClass getRandomEvent(); /** - * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.Event#getName Name}'. + * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.RandomEvent#getName Name}'. * * * @return the meta object for the attribute 'Name'. - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.Event#getName() - * @see #getEvent() + * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.RandomEvent#getName() + * @see #getRandomEvent() * @generated */ - EAttribute getEvent_Name(); + EAttribute getRandomEvent_Name(); /** * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.BasicEvent Basic Event}'. @@ -679,15 +800,66 @@ public interface FtPackage extends EPackage { EAttribute getKOfMGate_K(); /** - * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.KOfMGate#getM M}'. + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ReliabilityModel Reliability Model}'. * * - * @return the meta object for the attribute 'M'. - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.KOfMGate#getM() - * @see #getKOfMGate() + * @return the meta object for class 'Reliability Model'. + * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ReliabilityModel + * @generated + */ + EClass getReliabilityModel(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ConstantModel Constant Model}'. + * + * + * @return the meta object for class 'Constant Model'. + * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ConstantModel + * @generated + */ + EClass getConstantModel(); + + /** + * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ConstantModel#isFailed Failed}'. + * + * + * @return the meta object for the attribute 'Failed'. + * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ConstantModel#isFailed() + * @see #getConstantModel() + * @generated + */ + EAttribute getConstantModel_Failed(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.Event Event}'. + * + * + * @return the meta object for class 'Event'. + * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.Event + * @generated + */ + EClass getEvent(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ConstantEvent Constant Event}'. + * + * + * @return the meta object for class 'Constant Event'. + * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ConstantEvent * @generated */ - EAttribute getKOfMGate_M(); + EClass getConstantEvent(); + + /** + * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ConstantEvent#isFailed Failed}'. + * + * + * @return the meta object for the attribute 'Failed'. + * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ConstantEvent#isFailed() + * @see #getConstantEvent() + * @generated + */ + EAttribute getConstantEvent_Failed(); /** * Returns the factory that creates the instances of the model. @@ -739,14 +911,14 @@ public interface FtPackage extends EPackage { EReference FAULT_TREE__TOP_EVENT = eINSTANCE.getFaultTree_TopEvent(); /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.EventImpl Event}' class. + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.RandomEventImpl Random Event}' class. * * - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.EventImpl - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.FtPackageImpl#getEvent() + * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.RandomEventImpl + * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.FtPackageImpl#getRandomEvent() * @generated */ - EClass EVENT = eINSTANCE.getEvent(); + EClass RANDOM_EVENT = eINSTANCE.getRandomEvent(); /** * The meta object literal for the 'Name' attribute feature. @@ -754,7 +926,7 @@ public interface FtPackage extends EPackage { * * @generated */ - EAttribute EVENT__NAME = eINSTANCE.getEvent_Name(); + EAttribute RANDOM_EVENT__NAME = eINSTANCE.getRandomEvent_Name(); /** * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.BasicEventImpl Basic Event}' class. @@ -877,12 +1049,60 @@ public interface FtPackage extends EPackage { EAttribute KOF_MGATE__K = eINSTANCE.getKOfMGate_K(); /** - * The meta object literal for the 'M' attribute feature. + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.ReliabilityModelImpl Reliability Model}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.ReliabilityModelImpl + * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.FtPackageImpl#getReliabilityModel() + * @generated + */ + EClass RELIABILITY_MODEL = eINSTANCE.getReliabilityModel(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.ConstantModelImpl Constant Model}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.ConstantModelImpl + * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.FtPackageImpl#getConstantModel() + * @generated + */ + EClass CONSTANT_MODEL = eINSTANCE.getConstantModel(); + + /** + * The meta object literal for the 'Failed' attribute feature. + * + * + * @generated + */ + EAttribute CONSTANT_MODEL__FAILED = eINSTANCE.getConstantModel_Failed(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.EventImpl Event}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.EventImpl + * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.FtPackageImpl#getEvent() + * @generated + */ + EClass EVENT = eINSTANCE.getEvent(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.ConstantEventImpl Constant Event}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.ConstantEventImpl + * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.FtPackageImpl#getConstantEvent() + * @generated + */ + EClass CONSTANT_EVENT = eINSTANCE.getConstantEvent(); + + /** + * The meta object literal for the 'Failed' attribute feature. * * * @generated */ - EAttribute KOF_MGATE__M = eINSTANCE.getKOfMGate_M(); + EAttribute CONSTANT_EVENT__FAILED = eINSTANCE.getConstantEvent_Failed(); } diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/Gate.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/Gate.java index 0df58bb4..5015051a 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/Gate.java +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/Gate.java @@ -20,10 +20,10 @@ import org.eclipse.emf.common.util.EList; * @model abstract="true" * @generated */ -public interface Gate extends Event { +public interface Gate extends RandomEvent { /** * Returns the value of the 'Input Events' reference list. - * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.Event}. + * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.RandomEvent}. * *

* If the meaning of the 'Input Events' reference list isn't clear, @@ -32,9 +32,9 @@ public interface Gate extends Event { * * @return the value of the 'Input Events' reference list. * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtPackage#getGate_InputEvents() - * @model + * @model lower="2" * @generated */ - EList getInputEvents(); + EList getInputEvents(); } // Gate diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/KOfMGate.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/KOfMGate.java index 33334083..c891f83a 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/KOfMGate.java +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/KOfMGate.java @@ -13,7 +13,6 @@ package hu.bme.mit.inf.dslreasoner.faulttree.model.ft; *

*
    *
  • {@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.KOfMGate#getK K}
  • - *
  • {@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.KOfMGate#getM M}
  • *
* * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtPackage#getKOfMGate() @@ -47,30 +46,4 @@ public interface KOfMGate extends Gate { */ void setK(int value); - /** - * Returns the value of the 'M' attribute. - * - *

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

- * - * @return the value of the 'M' attribute. - * @see #setM(int) - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtPackage#getKOfMGate_M() - * @model - * @generated - */ - int getM(); - - /** - * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.KOfMGate#getM M}' attribute. - * - * - * @param value the new value of the 'M' attribute. - * @see #getM() - * @generated - */ - void setM(int value); - } // KOfMGate diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/RandomEvent.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/RandomEvent.java new file mode 100644 index 00000000..3931ac41 --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/RandomEvent.java @@ -0,0 +1,49 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.faulttree.model.ft; + + +/** + * + * A representation of the model object 'Random Event'. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.RandomEvent#getName Name}
  • + *
+ * + * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtPackage#getRandomEvent() + * @model abstract="true" + * @generated + */ +public interface RandomEvent extends Event { + /** + * Returns the value of the 'Name' attribute. + * + *

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

+ * + * @return the value of the 'Name' attribute. + * @see #setName(String) + * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtPackage#getRandomEvent_Name() + * @model + * @generated + */ + String getName(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.RandomEvent#getName Name}' attribute. + * + * + * @param value the new value of the 'Name' attribute. + * @see #getName() + * @generated + */ + void setName(String value); + +} // RandomEvent diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/ReliabilityModel.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/ReliabilityModel.java new file mode 100644 index 00000000..c1dc2162 --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/ReliabilityModel.java @@ -0,0 +1,18 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.faulttree.model.ft; + +import org.eclipse.emf.ecore.EObject; + +/** + * + * A representation of the model object 'Reliability Model'. + * + * + * + * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtPackage#getReliabilityModel() + * @model abstract="true" + * @generated + */ +public interface ReliabilityModel extends EObject { +} // ReliabilityModel diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/BasicEventImpl.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/BasicEventImpl.java index 8fd0f613..bbed7b00 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/BasicEventImpl.java +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/BasicEventImpl.java @@ -27,7 +27,7 @@ import org.eclipse.emf.ecore.impl.ENotificationImpl; * * @generated */ -public class BasicEventImpl extends EventImpl implements BasicEvent { +public class BasicEventImpl extends RandomEventImpl implements BasicEvent { /** * The cached value of the '{@link #getDistribution() Distribution}' containment reference. * diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/ConstantEventImpl.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/ConstantEventImpl.java new file mode 100644 index 00000000..fc7bcf09 --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/ConstantEventImpl.java @@ -0,0 +1,164 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl; + +import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ConstantEvent; +import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtPackage; + +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 'Constant Event'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.ConstantEventImpl#isFailed Failed}
  • + *
+ * + * @generated + */ +public class ConstantEventImpl extends EventImpl implements ConstantEvent { + /** + * The default value of the '{@link #isFailed() Failed}' attribute. + * + * + * @see #isFailed() + * @generated + * @ordered + */ + protected static final boolean FAILED_EDEFAULT = false; + + /** + * The cached value of the '{@link #isFailed() Failed}' attribute. + * + * + * @see #isFailed() + * @generated + * @ordered + */ + protected boolean failed = FAILED_EDEFAULT; + + /** + * + * + * @generated + */ + protected ConstantEventImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return FtPackage.Literals.CONSTANT_EVENT; + } + + /** + * + * + * @generated + */ + @Override + public boolean isFailed() { + return failed; + } + + /** + * + * + * @generated + */ + @Override + public void setFailed(boolean newFailed) { + boolean oldFailed = failed; + failed = newFailed; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, FtPackage.CONSTANT_EVENT__FAILED, oldFailed, failed)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case FtPackage.CONSTANT_EVENT__FAILED: + return isFailed(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case FtPackage.CONSTANT_EVENT__FAILED: + setFailed((Boolean)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case FtPackage.CONSTANT_EVENT__FAILED: + setFailed(FAILED_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case FtPackage.CONSTANT_EVENT__FAILED: + return failed != FAILED_EDEFAULT; + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuilder result = new StringBuilder(super.toString()); + result.append(" (failed: "); + result.append(failed); + result.append(')'); + return result.toString(); + } + +} //ConstantEventImpl diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/ConstantModelImpl.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/ConstantModelImpl.java new file mode 100644 index 00000000..52e1605b --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/ConstantModelImpl.java @@ -0,0 +1,164 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl; + +import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ConstantModel; +import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtPackage; + +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 'Constant Model'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.ConstantModelImpl#isFailed Failed}
  • + *
+ * + * @generated + */ +public class ConstantModelImpl extends ReliabilityModelImpl implements ConstantModel { + /** + * The default value of the '{@link #isFailed() Failed}' attribute. + * + * + * @see #isFailed() + * @generated + * @ordered + */ + protected static final boolean FAILED_EDEFAULT = false; + + /** + * The cached value of the '{@link #isFailed() Failed}' attribute. + * + * + * @see #isFailed() + * @generated + * @ordered + */ + protected boolean failed = FAILED_EDEFAULT; + + /** + * + * + * @generated + */ + protected ConstantModelImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return FtPackage.Literals.CONSTANT_MODEL; + } + + /** + * + * + * @generated + */ + @Override + public boolean isFailed() { + return failed; + } + + /** + * + * + * @generated + */ + @Override + public void setFailed(boolean newFailed) { + boolean oldFailed = failed; + failed = newFailed; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, FtPackage.CONSTANT_MODEL__FAILED, oldFailed, failed)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case FtPackage.CONSTANT_MODEL__FAILED: + return isFailed(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case FtPackage.CONSTANT_MODEL__FAILED: + setFailed((Boolean)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case FtPackage.CONSTANT_MODEL__FAILED: + setFailed(FAILED_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case FtPackage.CONSTANT_MODEL__FAILED: + return failed != FAILED_EDEFAULT; + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuilder result = new StringBuilder(super.toString()); + result.append(" (failed: "); + result.append(failed); + result.append(')'); + return result.toString(); + } + +} //ConstantModelImpl diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/EventImpl.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/EventImpl.java index 44ac0eb6..b37fa6bd 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/EventImpl.java +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/EventImpl.java @@ -5,47 +5,18 @@ package hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl; import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.Event; import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtPackage; -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 'Event'. * - *

- * The following features are implemented: - *

- *
    - *
  • {@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.EventImpl#getName Name}
  • - *
* * @generated */ public abstract class EventImpl extends MinimalEObjectImpl.Container implements Event { - /** - * The default value of the '{@link #getName() Name}' attribute. - * - * - * @see #getName() - * @generated - * @ordered - */ - protected static final String NAME_EDEFAULT = null; - - /** - * The cached value of the '{@link #getName() Name}' attribute. - * - * - * @see #getName() - * @generated - * @ordered - */ - protected String name = NAME_EDEFAULT; - /** * * @@ -65,101 +36,4 @@ public abstract class EventImpl extends MinimalEObjectImpl.Container implements return FtPackage.Literals.EVENT; } - /** - * - * - * @generated - */ - @Override - public String getName() { - return name; - } - - /** - * - * - * @generated - */ - @Override - public void setName(String newName) { - String oldName = name; - name = newName; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, FtPackage.EVENT__NAME, oldName, name)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case FtPackage.EVENT__NAME: - return getName(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case FtPackage.EVENT__NAME: - setName((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case FtPackage.EVENT__NAME: - setName(NAME_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case FtPackage.EVENT__NAME: - return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuilder result = new StringBuilder(super.toString()); - result.append(" (name: "); - result.append(name); - result.append(')'); - return result.toString(); - } - } //EventImpl diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/FaultTreeImpl.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/FaultTreeImpl.java index 9c716c21..23f1d056 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/FaultTreeImpl.java +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/FaultTreeImpl.java @@ -2,9 +2,9 @@ */ package hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl; -import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.Event; import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FaultTree; import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtPackage; +import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.RandomEvent; import java.util.Collection; @@ -17,7 +17,6 @@ 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.emf.ecore.util.EObjectContainmentEList; import org.eclipse.emf.ecore.util.InternalEList; @@ -36,7 +35,7 @@ import org.eclipse.emf.ecore.util.InternalEList; * * @generated */ -public class FaultTreeImpl extends MinimalEObjectImpl.Container implements FaultTree { +public class FaultTreeImpl extends ReliabilityModelImpl implements FaultTree { /** * The cached value of the '{@link #getEvents() Events}' containment reference list. * @@ -45,7 +44,7 @@ public class FaultTreeImpl extends MinimalEObjectImpl.Container implements Fault * @generated * @ordered */ - protected EList events; + protected EList events; /** * The cached value of the '{@link #getTopEvent() Top Event}' reference. @@ -55,7 +54,7 @@ public class FaultTreeImpl extends MinimalEObjectImpl.Container implements Fault * @generated * @ordered */ - protected Event topEvent; + protected RandomEvent topEvent; /** * @@ -82,9 +81,9 @@ public class FaultTreeImpl extends MinimalEObjectImpl.Container implements Fault * @generated */ @Override - public EList getEvents() { + public EList getEvents() { if (events == null) { - events = new EObjectContainmentEList(Event.class, this, FtPackage.FAULT_TREE__EVENTS); + events = new EObjectContainmentEList(RandomEvent.class, this, FtPackage.FAULT_TREE__EVENTS); } return events; } @@ -95,10 +94,10 @@ public class FaultTreeImpl extends MinimalEObjectImpl.Container implements Fault * @generated */ @Override - public Event getTopEvent() { + public RandomEvent getTopEvent() { if (topEvent != null && topEvent.eIsProxy()) { InternalEObject oldTopEvent = (InternalEObject)topEvent; - topEvent = (Event)eResolveProxy(oldTopEvent); + topEvent = (RandomEvent)eResolveProxy(oldTopEvent); if (topEvent != oldTopEvent) { if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.RESOLVE, FtPackage.FAULT_TREE__TOP_EVENT, oldTopEvent, topEvent)); @@ -112,7 +111,7 @@ public class FaultTreeImpl extends MinimalEObjectImpl.Container implements Fault * * @generated */ - public Event basicGetTopEvent() { + public RandomEvent basicGetTopEvent() { return topEvent; } @@ -122,8 +121,8 @@ public class FaultTreeImpl extends MinimalEObjectImpl.Container implements Fault * @generated */ @Override - public void setTopEvent(Event newTopEvent) { - Event oldTopEvent = topEvent; + public void setTopEvent(RandomEvent newTopEvent) { + RandomEvent oldTopEvent = topEvent; topEvent = newTopEvent; if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, FtPackage.FAULT_TREE__TOP_EVENT, oldTopEvent, topEvent)); @@ -171,10 +170,10 @@ public class FaultTreeImpl extends MinimalEObjectImpl.Container implements Fault switch (featureID) { case FtPackage.FAULT_TREE__EVENTS: getEvents().clear(); - getEvents().addAll((Collection)newValue); + getEvents().addAll((Collection)newValue); return; case FtPackage.FAULT_TREE__TOP_EVENT: - setTopEvent((Event)newValue); + setTopEvent((RandomEvent)newValue); return; } super.eSet(featureID, newValue); @@ -192,7 +191,7 @@ public class FaultTreeImpl extends MinimalEObjectImpl.Container implements Fault getEvents().clear(); return; case FtPackage.FAULT_TREE__TOP_EVENT: - setTopEvent((Event)null); + setTopEvent((RandomEvent)null); return; } super.eUnset(featureID); diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/FtFactoryImpl.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/FtFactoryImpl.java index 59364443..126abed8 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/FtFactoryImpl.java +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/FtFactoryImpl.java @@ -63,6 +63,8 @@ public class FtFactoryImpl extends EFactoryImpl implements FtFactory { case FtPackage.AND_GATE: return createAndGate(); case FtPackage.OR_GATE: return createOrGate(); case FtPackage.KOF_MGATE: return createKOfMGate(); + case FtPackage.CONSTANT_MODEL: return createConstantModel(); + case FtPackage.CONSTANT_EVENT: return createConstantEvent(); default: throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); } @@ -145,6 +147,28 @@ public class FtFactoryImpl extends EFactoryImpl implements FtFactory { return kOfMGate; } + /** + * + * + * @generated + */ + @Override + public ConstantModel createConstantModel() { + ConstantModelImpl constantModel = new ConstantModelImpl(); + return constantModel; + } + + /** + * + * + * @generated + */ + @Override + public ConstantEvent createConstantEvent() { + ConstantEventImpl constantEvent = new ConstantEventImpl(); + return constantEvent; + } + /** * * diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/FtPackageImpl.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/FtPackageImpl.java index 27ff09df..cc2c0617 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/FtPackageImpl.java +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/FtPackageImpl.java @@ -5,6 +5,8 @@ package hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl; import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.AndGate; import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.BasicEvent; import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ConstantDistribution; +import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ConstantEvent; +import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ConstantModel; import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.Distribution; import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.Event; import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ExponentialDistribution; @@ -14,6 +16,8 @@ import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtPackage; import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.Gate; import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.KOfMGate; import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.OrGate; +import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.RandomEvent; +import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ReliabilityModel; import org.eclipse.emf.ecore.EAttribute; import org.eclipse.emf.ecore.EClass; @@ -41,7 +45,7 @@ public class FtPackageImpl extends EPackageImpl implements FtPackage { * * @generated */ - private EClass eventEClass = null; + private EClass randomEventEClass = null; /** * @@ -99,6 +103,34 @@ public class FtPackageImpl extends EPackageImpl implements FtPackage { */ private EClass kOfMGateEClass = null; + /** + * + * + * @generated + */ + private EClass reliabilityModelEClass = null; + + /** + * + * + * @generated + */ + private EClass constantModelEClass = null; + + /** + * + * + * @generated + */ + private EClass eventEClass = null; + + /** + * + * + * @generated + */ + private EClass constantEventEClass = null; + /** * Creates an instance of the model Package, registered with * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package @@ -196,8 +228,8 @@ public class FtPackageImpl extends EPackageImpl implements FtPackage { * @generated */ @Override - public EClass getEvent() { - return eventEClass; + public EClass getRandomEvent() { + return randomEventEClass; } /** @@ -206,8 +238,8 @@ public class FtPackageImpl extends EPackageImpl implements FtPackage { * @generated */ @Override - public EAttribute getEvent_Name() { - return (EAttribute)eventEClass.getEStructuralFeatures().get(0); + public EAttribute getRandomEvent_Name() { + return (EAttribute)randomEventEClass.getEStructuralFeatures().get(0); } /** @@ -346,8 +378,58 @@ public class FtPackageImpl extends EPackageImpl implements FtPackage { * @generated */ @Override - public EAttribute getKOfMGate_M() { - return (EAttribute)kOfMGateEClass.getEStructuralFeatures().get(1); + public EClass getReliabilityModel() { + return reliabilityModelEClass; + } + + /** + * + * + * @generated + */ + @Override + public EClass getConstantModel() { + return constantModelEClass; + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getConstantModel_Failed() { + return (EAttribute)constantModelEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EClass getEvent() { + return eventEClass; + } + + /** + * + * + * @generated + */ + @Override + public EClass getConstantEvent() { + return constantEventEClass; + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getConstantEvent_Failed() { + return (EAttribute)constantEventEClass.getEStructuralFeatures().get(0); } /** @@ -383,8 +465,8 @@ public class FtPackageImpl extends EPackageImpl implements FtPackage { createEReference(faultTreeEClass, FAULT_TREE__EVENTS); createEReference(faultTreeEClass, FAULT_TREE__TOP_EVENT); - eventEClass = createEClass(EVENT); - createEAttribute(eventEClass, EVENT__NAME); + randomEventEClass = createEClass(RANDOM_EVENT); + createEAttribute(randomEventEClass, RANDOM_EVENT__NAME); basicEventEClass = createEClass(BASIC_EVENT); createEReference(basicEventEClass, BASIC_EVENT__DISTRIBUTION); @@ -406,7 +488,16 @@ public class FtPackageImpl extends EPackageImpl implements FtPackage { kOfMGateEClass = createEClass(KOF_MGATE); createEAttribute(kOfMGateEClass, KOF_MGATE__K); - createEAttribute(kOfMGateEClass, KOF_MGATE__M); + + reliabilityModelEClass = createEClass(RELIABILITY_MODEL); + + constantModelEClass = createEClass(CONSTANT_MODEL); + createEAttribute(constantModelEClass, CONSTANT_MODEL__FAILED); + + eventEClass = createEClass(EVENT); + + constantEventEClass = createEClass(CONSTANT_EVENT); + createEAttribute(constantEventEClass, CONSTANT_EVENT__FAILED); } /** @@ -437,27 +528,31 @@ public class FtPackageImpl extends EPackageImpl implements FtPackage { // Set bounds for type parameters // Add supertypes to classes - basicEventEClass.getESuperTypes().add(this.getEvent()); - gateEClass.getESuperTypes().add(this.getEvent()); + faultTreeEClass.getESuperTypes().add(this.getReliabilityModel()); + randomEventEClass.getESuperTypes().add(this.getEvent()); + basicEventEClass.getESuperTypes().add(this.getRandomEvent()); + gateEClass.getESuperTypes().add(this.getRandomEvent()); constantDistributionEClass.getESuperTypes().add(this.getDistribution()); exponentialDistributionEClass.getESuperTypes().add(this.getDistribution()); andGateEClass.getESuperTypes().add(this.getGate()); orGateEClass.getESuperTypes().add(this.getGate()); kOfMGateEClass.getESuperTypes().add(this.getGate()); + constantModelEClass.getESuperTypes().add(this.getReliabilityModel()); + constantEventEClass.getESuperTypes().add(this.getEvent()); // Initialize classes, features, and operations; add parameters initEClass(faultTreeEClass, FaultTree.class, "FaultTree", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getFaultTree_Events(), this.getEvent(), null, "events", null, 0, -1, FaultTree.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getFaultTree_TopEvent(), this.getEvent(), null, "topEvent", null, 1, 1, FaultTree.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getFaultTree_Events(), this.getRandomEvent(), null, "events", null, 0, -1, FaultTree.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getFaultTree_TopEvent(), this.getRandomEvent(), null, "topEvent", null, 1, 1, FaultTree.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEClass(eventEClass, Event.class, "Event", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getEvent_Name(), ecorePackage.getEString(), "name", null, 0, 1, Event.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEClass(randomEventEClass, RandomEvent.class, "RandomEvent", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getRandomEvent_Name(), ecorePackage.getEString(), "name", null, 0, 1, RandomEvent.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(basicEventEClass, BasicEvent.class, "BasicEvent", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEReference(getBasicEvent_Distribution(), this.getDistribution(), null, "distribution", null, 1, 1, BasicEvent.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(gateEClass, Gate.class, "Gate", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getGate_InputEvents(), this.getEvent(), null, "inputEvents", null, 0, -1, Gate.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getGate_InputEvents(), this.getRandomEvent(), null, "inputEvents", null, 2, -1, Gate.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(distributionEClass, Distribution.class, "Distribution", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); @@ -473,7 +568,16 @@ public class FtPackageImpl extends EPackageImpl implements FtPackage { initEClass(kOfMGateEClass, KOfMGate.class, "KOfMGate", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEAttribute(getKOfMGate_K(), ecorePackage.getEInt(), "k", null, 0, 1, KOfMGate.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getKOfMGate_M(), ecorePackage.getEInt(), "m", null, 0, 1, KOfMGate.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(reliabilityModelEClass, ReliabilityModel.class, "ReliabilityModel", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(constantModelEClass, ConstantModel.class, "ConstantModel", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getConstantModel_Failed(), ecorePackage.getEBoolean(), "failed", null, 0, 1, ConstantModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(eventEClass, Event.class, "Event", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(constantEventEClass, ConstantEvent.class, "ConstantEvent", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getConstantEvent_Failed(), ecorePackage.getEBoolean(), "failed", null, 0, 1, ConstantEvent.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); // Create resource createResource(eNS_URI); diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/GateImpl.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/GateImpl.java index ae6d5a8d..9e753a09 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/GateImpl.java +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/GateImpl.java @@ -2,9 +2,9 @@ */ package hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl; -import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.Event; import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtPackage; import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.Gate; +import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.RandomEvent; import java.util.Collection; @@ -27,7 +27,7 @@ import org.eclipse.emf.ecore.util.EObjectResolvingEList; * * @generated */ -public abstract class GateImpl extends EventImpl implements Gate { +public abstract class GateImpl extends RandomEventImpl implements Gate { /** * The cached value of the '{@link #getInputEvents() Input Events}' reference list. * @@ -36,7 +36,7 @@ public abstract class GateImpl extends EventImpl implements Gate { * @generated * @ordered */ - protected EList inputEvents; + protected EList inputEvents; /** * @@ -63,9 +63,9 @@ public abstract class GateImpl extends EventImpl implements Gate { * @generated */ @Override - public EList getInputEvents() { + public EList getInputEvents() { if (inputEvents == null) { - inputEvents = new EObjectResolvingEList(Event.class, this, FtPackage.GATE__INPUT_EVENTS); + inputEvents = new EObjectResolvingEList(RandomEvent.class, this, FtPackage.GATE__INPUT_EVENTS); } return inputEvents; } @@ -95,7 +95,7 @@ public abstract class GateImpl extends EventImpl implements Gate { switch (featureID) { case FtPackage.GATE__INPUT_EVENTS: getInputEvents().clear(); - getInputEvents().addAll((Collection)newValue); + getInputEvents().addAll((Collection)newValue); return; } super.eSet(featureID, newValue); diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/KOfMGateImpl.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/KOfMGateImpl.java index 0f0dd205..47ca936b 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/KOfMGateImpl.java +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/KOfMGateImpl.java @@ -20,7 +20,6 @@ import org.eclipse.emf.ecore.impl.ENotificationImpl; *

*
    *
  • {@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.KOfMGateImpl#getK K}
  • - *
  • {@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.KOfMGateImpl#getM M}
  • *
* * @generated @@ -46,26 +45,6 @@ public class KOfMGateImpl extends GateImpl implements KOfMGate { */ protected int k = K_EDEFAULT; - /** - * The default value of the '{@link #getM() M}' attribute. - * - * - * @see #getM() - * @generated - * @ordered - */ - protected static final int M_EDEFAULT = 0; - - /** - * The cached value of the '{@link #getM() M}' attribute. - * - * - * @see #getM() - * @generated - * @ordered - */ - protected int m = M_EDEFAULT; - /** * * @@ -108,29 +87,6 @@ public class KOfMGateImpl extends GateImpl implements KOfMGate { eNotify(new ENotificationImpl(this, Notification.SET, FtPackage.KOF_MGATE__K, oldK, k)); } - /** - * - * - * @generated - */ - @Override - public int getM() { - return m; - } - - /** - * - * - * @generated - */ - @Override - public void setM(int newM) { - int oldM = m; - m = newM; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, FtPackage.KOF_MGATE__M, oldM, m)); - } - /** * * @@ -141,8 +97,6 @@ public class KOfMGateImpl extends GateImpl implements KOfMGate { switch (featureID) { case FtPackage.KOF_MGATE__K: return getK(); - case FtPackage.KOF_MGATE__M: - return getM(); } return super.eGet(featureID, resolve, coreType); } @@ -158,9 +112,6 @@ public class KOfMGateImpl extends GateImpl implements KOfMGate { case FtPackage.KOF_MGATE__K: setK((Integer)newValue); return; - case FtPackage.KOF_MGATE__M: - setM((Integer)newValue); - return; } super.eSet(featureID, newValue); } @@ -176,9 +127,6 @@ public class KOfMGateImpl extends GateImpl implements KOfMGate { case FtPackage.KOF_MGATE__K: setK(K_EDEFAULT); return; - case FtPackage.KOF_MGATE__M: - setM(M_EDEFAULT); - return; } super.eUnset(featureID); } @@ -193,8 +141,6 @@ public class KOfMGateImpl extends GateImpl implements KOfMGate { switch (featureID) { case FtPackage.KOF_MGATE__K: return k != K_EDEFAULT; - case FtPackage.KOF_MGATE__M: - return m != M_EDEFAULT; } return super.eIsSet(featureID); } @@ -211,8 +157,6 @@ public class KOfMGateImpl extends GateImpl implements KOfMGate { StringBuilder result = new StringBuilder(super.toString()); result.append(" (k: "); result.append(k); - result.append(", m: "); - result.append(m); result.append(')'); return result.toString(); } diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/RandomEventImpl.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/RandomEventImpl.java new file mode 100644 index 00000000..4f9eda56 --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/RandomEventImpl.java @@ -0,0 +1,164 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl; + +import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtPackage; +import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.RandomEvent; + +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 'Random Event'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.RandomEventImpl#getName Name}
  • + *
+ * + * @generated + */ +public abstract class RandomEventImpl extends EventImpl implements RandomEvent { + /** + * The default value of the '{@link #getName() Name}' attribute. + * + * + * @see #getName() + * @generated + * @ordered + */ + protected static final String NAME_EDEFAULT = null; + + /** + * The cached value of the '{@link #getName() Name}' attribute. + * + * + * @see #getName() + * @generated + * @ordered + */ + protected String name = NAME_EDEFAULT; + + /** + * + * + * @generated + */ + protected RandomEventImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return FtPackage.Literals.RANDOM_EVENT; + } + + /** + * + * + * @generated + */ + @Override + public String getName() { + return name; + } + + /** + * + * + * @generated + */ + @Override + public void setName(String newName) { + String oldName = name; + name = newName; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, FtPackage.RANDOM_EVENT__NAME, oldName, name)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case FtPackage.RANDOM_EVENT__NAME: + return getName(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case FtPackage.RANDOM_EVENT__NAME: + setName((String)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case FtPackage.RANDOM_EVENT__NAME: + setName(NAME_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case FtPackage.RANDOM_EVENT__NAME: + return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuilder result = new StringBuilder(super.toString()); + result.append(" (name: "); + result.append(name); + result.append(')'); + return result.toString(); + } + +} //RandomEventImpl diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/ReliabilityModelImpl.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/ReliabilityModelImpl.java new file mode 100644 index 00000000..e3d0eec1 --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/ReliabilityModelImpl.java @@ -0,0 +1,39 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl; + +import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtPackage; +import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ReliabilityModel; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +/** + * + * An implementation of the model object 'Reliability Model'. + * + * + * @generated + */ +public abstract class ReliabilityModelImpl extends MinimalEObjectImpl.Container implements ReliabilityModel { + /** + * + * + * @generated + */ + protected ReliabilityModelImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return FtPackage.Literals.RELIABILITY_MODEL; + } + +} //ReliabilityModelImpl diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/util/FtAdapterFactory.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/util/FtAdapterFactory.java index 17daaad3..ba7545f4 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/util/FtAdapterFactory.java +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/util/FtAdapterFactory.java @@ -72,8 +72,8 @@ public class FtAdapterFactory extends AdapterFactoryImpl { return createFaultTreeAdapter(); } @Override - public Adapter caseEvent(Event object) { - return createEventAdapter(); + public Adapter caseRandomEvent(RandomEvent object) { + return createRandomEventAdapter(); } @Override public Adapter caseBasicEvent(BasicEvent object) { @@ -108,6 +108,22 @@ public class FtAdapterFactory extends AdapterFactoryImpl { return createKOfMGateAdapter(); } @Override + public Adapter caseReliabilityModel(ReliabilityModel object) { + return createReliabilityModelAdapter(); + } + @Override + public Adapter caseConstantModel(ConstantModel object) { + return createConstantModelAdapter(); + } + @Override + public Adapter caseEvent(Event object) { + return createEventAdapter(); + } + @Override + public Adapter caseConstantEvent(ConstantEvent object) { + return createConstantEventAdapter(); + } + @Override public Adapter defaultCase(EObject object) { return createEObjectAdapter(); } @@ -142,16 +158,16 @@ public class FtAdapterFactory extends AdapterFactoryImpl { } /** - * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.Event Event}'. + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.RandomEvent Random Event}'. * * This default implementation returns null so that we can easily ignore cases; * it's useful to ignore a case when inheritance will catch all the cases anyway. * * @return the new adapter. - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.Event + * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.RandomEvent * @generated */ - public Adapter createEventAdapter() { + public Adapter createRandomEventAdapter() { return null; } @@ -267,6 +283,62 @@ public class FtAdapterFactory extends AdapterFactoryImpl { return null; } + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ReliabilityModel Reliability Model}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ReliabilityModel + * @generated + */ + public Adapter createReliabilityModelAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ConstantModel Constant Model}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ConstantModel + * @generated + */ + public Adapter createConstantModelAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.Event Event}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.Event + * @generated + */ + public Adapter createEventAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ConstantEvent Constant Event}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ConstantEvent + * @generated + */ + public Adapter createConstantEventAdapter() { + return null; + } + /** * Creates a new adapter for the default case. * diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/util/FtSwitch.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/util/FtSwitch.java index b1846705..1da4f8e8 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/util/FtSwitch.java +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/util/FtSwitch.java @@ -69,18 +69,21 @@ public class FtSwitch extends Switch { case FtPackage.FAULT_TREE: { FaultTree faultTree = (FaultTree)theEObject; T result = caseFaultTree(faultTree); + if (result == null) result = caseReliabilityModel(faultTree); if (result == null) result = defaultCase(theEObject); return result; } - case FtPackage.EVENT: { - Event event = (Event)theEObject; - T result = caseEvent(event); + case FtPackage.RANDOM_EVENT: { + RandomEvent randomEvent = (RandomEvent)theEObject; + T result = caseRandomEvent(randomEvent); + if (result == null) result = caseEvent(randomEvent); if (result == null) result = defaultCase(theEObject); return result; } case FtPackage.BASIC_EVENT: { BasicEvent basicEvent = (BasicEvent)theEObject; T result = caseBasicEvent(basicEvent); + if (result == null) result = caseRandomEvent(basicEvent); if (result == null) result = caseEvent(basicEvent); if (result == null) result = defaultCase(theEObject); return result; @@ -88,6 +91,7 @@ public class FtSwitch extends Switch { case FtPackage.GATE: { Gate gate = (Gate)theEObject; T result = caseGate(gate); + if (result == null) result = caseRandomEvent(gate); if (result == null) result = caseEvent(gate); if (result == null) result = defaultCase(theEObject); return result; @@ -116,6 +120,7 @@ public class FtSwitch extends Switch { AndGate andGate = (AndGate)theEObject; T result = caseAndGate(andGate); if (result == null) result = caseGate(andGate); + if (result == null) result = caseRandomEvent(andGate); if (result == null) result = caseEvent(andGate); if (result == null) result = defaultCase(theEObject); return result; @@ -124,6 +129,7 @@ public class FtSwitch extends Switch { OrGate orGate = (OrGate)theEObject; T result = caseOrGate(orGate); if (result == null) result = caseGate(orGate); + if (result == null) result = caseRandomEvent(orGate); if (result == null) result = caseEvent(orGate); if (result == null) result = defaultCase(theEObject); return result; @@ -132,10 +138,37 @@ public class FtSwitch extends Switch { KOfMGate kOfMGate = (KOfMGate)theEObject; T result = caseKOfMGate(kOfMGate); if (result == null) result = caseGate(kOfMGate); + if (result == null) result = caseRandomEvent(kOfMGate); if (result == null) result = caseEvent(kOfMGate); if (result == null) result = defaultCase(theEObject); return result; } + case FtPackage.RELIABILITY_MODEL: { + ReliabilityModel reliabilityModel = (ReliabilityModel)theEObject; + T result = caseReliabilityModel(reliabilityModel); + if (result == null) result = defaultCase(theEObject); + return result; + } + case FtPackage.CONSTANT_MODEL: { + ConstantModel constantModel = (ConstantModel)theEObject; + T result = caseConstantModel(constantModel); + if (result == null) result = caseReliabilityModel(constantModel); + if (result == null) result = defaultCase(theEObject); + return result; + } + case FtPackage.EVENT: { + Event event = (Event)theEObject; + T result = caseEvent(event); + if (result == null) result = defaultCase(theEObject); + return result; + } + case FtPackage.CONSTANT_EVENT: { + ConstantEvent constantEvent = (ConstantEvent)theEObject; + T result = caseConstantEvent(constantEvent); + if (result == null) result = caseEvent(constantEvent); + if (result == null) result = defaultCase(theEObject); + return result; + } default: return defaultCase(theEObject); } } @@ -156,17 +189,17 @@ public class FtSwitch extends Switch { } /** - * Returns the result of interpreting the object as an instance of 'Event'. + * Returns the result of interpreting the object as an instance of 'Random Event'. * * This implementation returns null; * returning a non-null result will terminate the switch. * * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Event'. + * @return the result of interpreting the object as an instance of 'Random Event'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated */ - public T caseEvent(Event object) { + public T caseRandomEvent(RandomEvent object) { return null; } @@ -290,6 +323,66 @@ public class FtSwitch extends Switch { return null; } + /** + * Returns the result of interpreting the object as an instance of 'Reliability Model'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Reliability Model'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseReliabilityModel(ReliabilityModel object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Constant Model'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Constant Model'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseConstantModel(ConstantModel object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Event'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Event'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseEvent(Event object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Constant Event'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Constant Event'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseConstantEvent(ConstantEvent object) { + return null; + } + /** * Returns the result of interpreting the object as an instance of 'EObject'. * diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/model/ft.ecore b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/model/ft.ecore index f1f410a7..afe9395e 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/model/ft.ecore +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/model/ft.ecore @@ -2,22 +2,22 @@ - + + eType="#//RandomEvent" containment="true"/> + eType="#//RandomEvent"/> - + - + - - + + @@ -30,6 +30,13 @@ - + + + + + + + + diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/model/ft.genmodel b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/model/ft.genmodel index b5f63c34..7dcd0ae7 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/model/ft.genmodel +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/model/ft.genmodel @@ -11,8 +11,8 @@ - - + + @@ -31,7 +31,14 @@ - + + + + + + + + diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/representations.aird b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/representations.aird index 0c5c0fe8..16bc44f2 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/representations.aird +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/representations.aird @@ -1074,7 +1074,7 @@ - + @@ -1087,7 +1087,7 @@ - + @@ -1096,7 +1096,7 @@ - + @@ -1105,7 +1105,7 @@ - + @@ -1114,7 +1114,7 @@ - + @@ -1127,7 +1127,7 @@ - + @@ -1140,7 +1140,7 @@ - + @@ -1149,7 +1149,7 @@ - + @@ -1158,7 +1158,7 @@ - + @@ -1167,46 +1167,86 @@ - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - + - + - + - + - + - + - + @@ -1354,9 +1394,73 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + KEEP_LOCATION @@ -1367,9 +1471,9 @@ - - - + + + KEEP_LOCATION KEEP_SIZE KEEP_RATIO @@ -1379,8 +1483,8 @@ - - + + @@ -1583,14 +1687,6 @@ - - - - - - - - @@ -1628,20 +1724,127 @@ - + - - - - labelSize + + + bold - - labelSize - + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + italic + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + + + + + + + + + italic + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + italic + + + + + + + + + + + italic + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + + + + + + + + + italic + + + + + + + + + + + + italic + + + + + diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/META-INF/MANIFEST.MF b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/META-INF/MANIFEST.MF index 91eeedc5..ce704acf 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/META-INF/MANIFEST.MF +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/META-INF/MANIFEST.MF @@ -13,4 +13,11 @@ Require-Bundle: com.google.guava, org.eclipse.viatra.query.runtime, org.eclipse.viatra.query.runtime.rete, org.eclipse.viatra.query.runtime.localsearch, - hu.bme.mit.inf.dslreasoner.faulttree.components + hu.bme.mit.inf.dslreasoner.faulttree.components, + hu.bme.mit.inf.dslreasoner.logic.model, + com.github.jnr.constants;bundle-version="0.9.8", + org.apache.commons.lang;bundle-version="2.6.0" +Export-Package: hu.bme.mit.inf.dslreasoner.faulttree.transformation.cft2ft, + hu.bme.mit.inf.dslreasoner.faulttree.transformation.ecore2cft, + hu.bme.mit.inf.dslreasoner.faulttree.transformation.ft2galileo, + hu.bme.mit.inf.dslreasoner.faulttree.transformation.solver diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/build.properties b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/build.properties index 34d2e4d2..d8e2f0e9 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/build.properties +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/build.properties @@ -1,4 +1,5 @@ -source.. = src/ +source.. = src/,\ + xtend-gen/ output.. = bin/ bin.includes = META-INF/,\ . diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/Cft2FtTransformation.xtend b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/Cft2FtTransformation.xtend index caaffc3c..a522654c 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/Cft2FtTransformation.xtend +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/Cft2FtTransformation.xtend @@ -1,10 +1,24 @@ package hu.bme.mit.inf.dslreasoner.faulttree.transformation.cft2ft import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentFaultTree +import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ConstantEvent +import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtFactory +import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.RandomEvent class Cft2FtTransformation { def createFaultTree(ComponentFaultTree componentFaultTree) { - // TODO - throw new UnsupportedOperationException() + val materializer = new EventMaterializer + val topEvent = materializer.getOrMaterialize(componentFaultTree.topEvent) + switch (topEvent) { + ConstantEvent: + FtFactory.eINSTANCE.createConstantModel => [ + failed = topEvent.failed + ] + RandomEvent: { + val builder = new FaultTreeBuilder + builder.addTopLevel(topEvent) + builder.faultTree + } + } } -} \ No newline at end of file +} diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/EventCollection.xtend b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/EventCollection.xtend new file mode 100644 index 00000000..102dc57e --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/EventCollection.xtend @@ -0,0 +1,90 @@ +package hu.bme.mit.inf.dslreasoner.faulttree.transformation.cft2ft + +import com.google.common.collect.ImmutableSet +import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ConstantEvent +import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.Event +import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.RandomEvent +import java.util.Set +import org.eclipse.xtend.lib.annotations.Data + +@Data +class EventCollection { + val int falseEventCount + val int trueEventCount + val Set randomEvents + + def containsFalseEvent() { + falseEventCount >= 1 + } + + def containsTrueEvent() { + trueEventCount >= 1 + } + + def getVariableEventCount() { + randomEvents.size + } + + def containsRandomEvent() { + variableEventCount >= 1 + } + + def getCount() { + falseEventCount + trueEventCount + variableEventCount + } + + def isEmpty() { + !containsFalseEvent && !containsTrueEvent && !containsRandomEvent + } + + def containsExactlyOneRandomEvent() { + !containsFalseEvent && !containsTrueEvent && variableEventCount == 1 + } + + def toSingleRandomEvent() { + if (!containsExactlyOneRandomEvent) { + throw new IllegalStateException("Input collection is not a single random event") + } + randomEvents.head + } + + static def builder() { + new Builder() + } + + static class Builder { + var falseEventCount = 0 + var trueEventCount = 0 + val randomEventsBuilder = ImmutableSet.builder + + private new() { + } + + def add(Event event) { + switch (event) { + ConstantEvent: + if (event.failed) { + trueEventCount++ + } else { + falseEventCount++ + } + RandomEvent: + randomEventsBuilder.add(event) + default: + throw new IllegalArgumentException("Unknown event: " + event) + } + this + } + + def addAll(EventCollection materializedEvens) { + falseEventCount += materializedEvens.falseEventCount + trueEventCount += materializedEvens.trueEventCount + randomEventsBuilder.addAll(materializedEvens.randomEvents) + this + } + + def build() { + new EventCollection(falseEventCount, trueEventCount, randomEventsBuilder.build) + } + } +} diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/EventMaterializer.xtend b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/EventMaterializer.xtend new file mode 100644 index 00000000..85396e4d --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/EventMaterializer.xtend @@ -0,0 +1,192 @@ +package hu.bme.mit.inf.dslreasoner.faulttree.transformation.cft2ft + +import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.AndGateDefinition +import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.BasicEventDefinition +import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Component +import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.EventDeclaration +import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.GateDefinition +import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.InputEvent +import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.KOfMGateDefinition +import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.OrGateDefinition +import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Output +import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ConstantEvent +import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.Event +import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtFactory +import java.util.LinkedHashSet +import java.util.Map +import org.eclipse.emf.ecore.util.EcoreUtil +import org.eclipse.xtend.lib.annotations.Data + +class EventMaterializer { + extension val FtFactory = FtFactory.eINSTANCE + + val Map, Event> materializationCache = newHashMap + val Map, EventCollection> multipleInputCache = newHashMap + val ConstantEvent falseEvent + val ConstantEvent trueEvent + val path = new LinkedHashSet> + + new() { + falseEvent = createConstantEvent => [ + failed = false + ] + trueEvent = createConstantEvent => [ + failed = true + ] + } + + def getOrMaterialize(Output output) { + getOrMaterialize(output.component, output.eventDeclaration) + } + + def Event getOrMaterialize(Component component, EventDeclaration eventDeclaration) { + val eventKey = new EventKey(component, eventDeclaration) + pushEventKey(eventKey) + try { + materializationCache.computeIfAbsent(eventKey)[materialize(it.component, it.event)] + } finally { + popEventKey(eventKey) + } + } + + protected def materialize(Component component, EventDeclaration eventDeclaration) { + val eventName = component.name + "_" + eventDeclaration.name + val event = switch (eventDeclaration) { + InputEvent: + return materializeConnectedEvent(component, eventDeclaration) + BasicEventDefinition: { + val basicEvent = createBasicEvent + basicEvent.distribution = EcoreUtil.copy(eventDeclaration.distribution) + basicEvent + } + GateDefinition: { + val inputs = collectInputs(component, eventDeclaration) + val gate = switch (eventDeclaration) { + AndGateDefinition: + if (inputs.containsFalseEvent) { + return falseEvent + } else if (inputs.empty) { + return trueEvent + } else if (inputs.containsExactlyOneRandomEvent) { + return inputs.toSingleRandomEvent + } else { + createAndGate + } + OrGateDefinition: + if (inputs.containsTrueEvent) { + return trueEvent + } else if (inputs.empty) { + return falseEvent + } else if (inputs.containsExactlyOneRandomEvent) { + return inputs.toSingleRandomEvent + } else { + createOrGate + } + KOfMGateDefinition: { + val requiredTrueInputs = inputs.count * eventDeclaration.k / eventDeclaration.m + val k = requiredTrueInputs - inputs.getTrueEventCount + val m = inputs.variableEventCount + if (k == 0) { + return trueEvent + } else if (k > m) { + return falseEvent + } else if (inputs.containsExactlyOneRandomEvent) { + return inputs.toSingleRandomEvent + } else if (k == 1) { + createOrGate + } else if (k == m) { + createAndGate + } else { + val kOfMGate = createKOfMGate + kOfMGate.k = k + kOfMGate + } + } + default: + throw new IllegalArgumentException("Unknown gate definition: " + eventDeclaration) + } + gate.inputEvents.addAll(inputs.getRandomEvents) + gate + } + default: + throw new IllegalArgumentException("Unknown event declaration: " + eventDeclaration) + } + event.name = eventName + event + } + + protected def materializeConnectedEvent(Component component, InputEvent inputEvent) { + if (inputEvent.multiple) { + throw new IllegalArgumentException('''Cannot materialize multiple nput «component.name»_«inputEvent.name»''') + } + val input = findInput(component, inputEvent) + val incomingConnections = input.incomingConnections + if (incomingConnections.size != 1) { + throw new IllegalArgumentException('''Input «component.name»_«inputEvent.name» has «incomingConnections.size» connections instead of 1''') + } + val output = incomingConnections.head.output + getOrMaterialize(output.component, output.eventDeclaration) + } + + protected def collectInputs(Component component, GateDefinition gateDefinition) { + val builder = EventCollection.builder + for (inputEventDeclaration : gateDefinition.inputEvents) { + switch (inputEventDeclaration) { + InputEvent case inputEventDeclaration.multiple: { + val materializedEvents = getOrMaterializeConnectedEvents(component, inputEventDeclaration) + builder.addAll(materializedEvents) + } + default: + builder.add(getOrMaterialize(component, inputEventDeclaration)) + } + } + builder.build + } + + protected def getOrMaterializeConnectedEvents(Component component, InputEvent inputEvent) { + val inputKey = new EventKey(component, inputEvent) + pushEventKey(inputKey) + try { + multipleInputCache.computeIfAbsent(inputKey)[materializeConnectedEvents(it.component, it.event)] + } finally { + popEventKey(inputKey) + } + } + + protected def materializeConnectedEvents(Component component, InputEvent inputEvent) { + val input = findInput(component, inputEvent) + val builder = EventCollection.builder + for (connection : input.incomingConnections) { + val materializedEvent = getOrMaterialize(connection.output) + builder.add(materializedEvent) + } + builder.build + } + + protected def findInput(Component component, InputEvent inputEvent) { + val input = component.inputs.findFirst[it.inputEvent == inputEvent] + if (input === null) { + throw new IllegalArgumentException('''No input «inputEvent» in component «component»''') + } + return input + } + + private def pushEventKey(EventKey eventKey) { + if (!path.add(eventKey)) { + throw new IllegalStateException( + '''Circular dependency [«FOR ancestor : path»«ancestor», «ENDFOR»«eventKey»] detected''') + } + } + + private def popEventKey(EventKey eventKey) { + path.remove(eventKey) + } + + @Data + protected static class EventKey { + val Component component + val T event + + override toString() '''«component.name»_«event.name»''' + } +} diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/FaultTreeBuilder.xtend b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/FaultTreeBuilder.xtend new file mode 100644 index 00000000..0b0afea6 --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/FaultTreeBuilder.xtend @@ -0,0 +1,39 @@ +package hu.bme.mit.inf.dslreasoner.faulttree.transformation.cft2ft + +import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtFactory +import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.Gate +import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.RandomEvent +import java.util.Collection +import org.eclipse.xtend.lib.annotations.Accessors + +class FaultTreeBuilder { + @Accessors + val faultTree = FtFactory.eINSTANCE.createFaultTree + + def addTopLevel(RandomEvent event) { + if (faultTree.topEvent !== null) { + throw new IllegalStateException("Top event was already set") + } + add(event) + faultTree.topEvent = event + } + + protected def void add(RandomEvent event) { + if (faultTree.eContainer == faultTree) { + return + } + if (faultTree.eContainer !== null) { + throw new IllegalStateException("Event is already in a different fault tree") + } + faultTree.events += event + if (event instanceof Gate) { + addAll(event.inputEvents) + } + } + + protected def addAll(Collection events) { + for (event : events) { + add(event) + } + } +} diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/Ecore2CftTransformation.xtend b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/Ecore2CftTransformation.xtend index 36aac5e1..062de3df 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/Ecore2CftTransformation.xtend +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/Ecore2CftTransformation.xtend @@ -23,5 +23,6 @@ class Ecore2CftTransformation { for (handler : mappingHandlers) { handler.instantiateConnections(trace) } + trace.componentFaultTree } } diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ft2galileo/Ft2GalileoTransformation.xtend b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ft2galileo/Ft2GalileoTransformation.xtend new file mode 100644 index 00000000..732d9fed --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ft2galileo/Ft2GalileoTransformation.xtend @@ -0,0 +1,56 @@ +package hu.bme.mit.inf.dslreasoner.faulttree.transformation.ft2galileo + +import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.AndGate +import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.BasicEvent +import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ConstantDistribution +import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.Distribution +import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ExponentialDistribution +import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FaultTree +import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.Gate +import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.KOfMGate +import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.OrGate +import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.RandomEvent +import org.eclipse.xtend2.lib.StringConcatenationClient + +class Ft2GalileoTransformation { + def toGalileo(FaultTree faultTree) ''' + toplevel «faultTree.topEvent.name»; + «FOR event : faultTree.events» + «event.name» «defineEvent(event)»; + «ENDFOR» + ''' + + protected dispatch def defineEvent(BasicEvent basicEvent) { + defineDistribution(basicEvent.distribution) + } + + protected dispatch def StringConcatenationClient defineDistribution(ConstantDistribution distribution) { + '''p=«distribution.p»''' + } + + protected dispatch def StringConcatenationClient defineDistribution(ExponentialDistribution distribution) { + '''lambda=«distribution.lambda»''' + } + + protected dispatch def StringConcatenationClient defineDistribution(Distribution distribution) { + throw new IllegalArgumentException("Unknown distribution: " + distribution) + } + + protected dispatch def StringConcatenationClient defineEvent(Gate gate) { + '''«defineGate(gate)» «FOR input : gate.inputEvents SEPARATOR " "»«input.name»«ENDFOR»''' + } + + protected dispatch def StringConcatenationClient defineGate(AndGate gate) '''and''' + + protected dispatch def StringConcatenationClient defineGate(OrGate gate) '''or''' + + protected dispatch def StringConcatenationClient defineGate(KOfMGate gate) '''«gate.k»of«gate.inputEvents.size»''' + + protected dispatch def StringConcatenationClient defineGate(Gate gate) { + throw new IllegalArgumentException("Unknown gate: " + gate) + } + + protected dispatch def StringConcatenationClient defineEvent(RandomEvent randomEvent) { + throw new IllegalArgumentException("Unknown random even: " + randomEvent) + } +} diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/ReliabilityResult.xtend b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/ReliabilityResult.xtend new file mode 100644 index 00000000..19c3d17d --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/ReliabilityResult.xtend @@ -0,0 +1,51 @@ +package hu.bme.mit.inf.dslreasoner.faulttree.transformation.solver + +import org.eclipse.xtend.lib.annotations.Data +import org.eclipse.xtend.lib.annotations.FinalFieldsConstructor + +abstract class ReliabilityResult { + public static val TIMEOUT = new Unknown("Solver timed out") + public static val MEMOUT = new Unknown("Solver out of memory") + + abstract def Solution getOrThrow() + + @Data + static final class Solution extends ReliabilityResult { + val double lowerBound + val double upperBound + + new(double value) { + this(value, value) + } + + new(double lowerBound, double upperBound) { + if (lowerBound > upperBound) { + throw new IllegalArgumentException("lowerBound must not be larger than upperBound") + } + this.lowerBound = lowerBound + this.upperBound = upperBound + } + + override getOrThrow() { + this + } + } + + @Data + static final class Unknown extends ReliabilityResult { + val String message + val Throwable cause + + @FinalFieldsConstructor + new() { + } + + new(String message) { + this(message, null) + } + + override getOrThrow() { + throw new RuntimeException(message, cause) + } + } +} diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/StormDftConfiguration.xtend b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/StormDftConfiguration.xtend new file mode 100644 index 00000000..d9059bfc --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/StormDftConfiguration.xtend @@ -0,0 +1,45 @@ +package hu.bme.mit.inf.dslreasoner.faulttree.transformation.solver + +import hu.bme.mit.inf.dslreasoner.logic.model.builder.SolverConfiguration + +final class StormDftConfiguration extends SolverConfiguration { + public static val DEFAULT_SOLVER_PATH = "storm-dft" + + public double precision = 1e-6 + + public boolean bisimulation = true + + public boolean symmetryReduction = true + + public boolean modularization = true + + public boolean dontCarePropagation = true + + public double approximation = 0 + + public var approximationHeuristic = ApproximationHeuristic.NONE + + public FtAnalysisObjective objective + + def isApproximationInUse() { + approximationHeuristic != ApproximationHeuristic.NONE + } +} + +abstract class FtAnalysisObjective { + public static val MTTF = new FtAnalysisObjective { + } + + private new() { + } + + static final class TimeBound extends FtAnalysisObjective { + public double timeBound = 0 + } +} + +enum ApproximationHeuristic { + NONE, + DEPTH +// See https://github.com/moves-rwth/storm/issues/35 for additional approximation heuristics. +} diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/StormDftHandler.xtend b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/StormDftHandler.xtend new file mode 100644 index 00000000..91c6a0d0 --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/StormDftHandler.xtend @@ -0,0 +1,186 @@ +package hu.bme.mit.inf.dslreasoner.faulttree.transformation.solver + +import com.google.common.collect.ImmutableList +import hu.bme.mit.inf.dslreasoner.logic.model.builder.DocumentationLevel +import hu.bme.mit.inf.dslreasoner.logic.model.builder.SolverConfiguration +import java.io.BufferedReader +import java.io.IOException +import java.io.InputStream +import java.io.InputStreamReader +import java.util.regex.Pattern +import jnr.constants.platform.Signal +import org.apache.commons.lang.SystemUtils + +class StormDftException extends RuntimeException { + new(String s) { + super(s) + } + + new(String s, Exception e) { + super(s, e) + } +} + +class StormDftHandler { + static val DOUBLE_REGEX = "[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?" + static val SINGLE_RESULT_GROUP = "single" + static val LOWER_BOUND_GROUP = "lower" + static val UPPER_BOUND_GROUP = "upper" + static val RESULT_REGEX = '''^Result:\s*\[(?:(?<«SINGLE_RESULT_GROUP»>«DOUBLE_REGEX»)|\((?<«LOWER_BOUND_GROUP»>«DOUBLE_REGEX»),\s*(?<«UPPER_BOUND_GROUP»>«DOUBLE_REGEX»)\))\]''' + static val RESULT_PATTERN = Pattern.compile(RESULT_REGEX) + + // See http://hg.openjdk.java.net/jdk7/jdk7/jdk/file/jdk7-b147/src/solaris/native/java/lang/UNIXProcess_md.c#l332 + static val SIGNAL_EXIT_VALUE_OFFSET = if(SystemUtils.IS_OS_SOLARIS) 0 else 0x80 + + static val STORM_GENERAL_ERROR = (-1).bitwiseAnd(0xff) + static val STORM_TIMEOUT = (-2).bitwiseAnd(0xff) + static val STORM_MEMOUT = (-3).bitwiseAnd(0xff) + + def callSolver(String dftFilePath, StormDftConfiguration configuration) { + val commandLine = configuration.toCommandLine(dftFilePath) + val documentationLevel = configuration.documentationLevel + val printOutput = documentationLevel == DocumentationLevel.NORMAL || + documentationLevel == DocumentationLevel.FULL + val processBuilder = new ProcessBuilder().command(commandLine) + var Process process = null + try { + try { + process = processBuilder.start + process.outputStream.close + val result = readOutput(process.inputStream, printOutput) + val error = readError(process.errorStream, printOutput) + val exitValue = process.waitFor + if (result === null) { + interpretExitStatus(exitValue, error) + } else { + result + } + } catch (IOException e) { + throw new StormDftException("Error during input/output handling of the stochastic solver.", e) + } + } catch (Exception e) { + if (process !== null) { + process.destroyForcibly.waitFor + } + throw e + } + } + + private def toCommandLine(extension StormDftConfiguration configuration, String dftFilePath) { + extension val optionsBuilder = ImmutableList.builder + add(solverPath ?: StormDftConfiguration.DEFAULT_SOLVER_PATH) + if (runtimeLimit != SolverConfiguration.Unlimited) { + add("--timeout", runtimeLimit.toString) + } + add("--precision", precision.toString) + if (bisimulation) { + add("--bisimulation") + } + if (symmetryReduction) { + add("--symmetryreduction") + } + if (modularization) { + add("--modularisation") + } + if (!dontCarePropagation) { + add("--disabledc") + } + if (approximationInUse) { + val heuristicName = switch (approximationHeuristic) { + case DEPTH: + "depth" + default: + throw new IllegalArgumentException("Unknown approximation heuristic: " + approximationHeuristic) + } + add("--approximation", approximation.toString, "--approximationheuristic", heuristicName) + } + add("--dftfile", dftFilePath) + switch (objective) { + case FtAnalysisObjective.MTTF: + add("--expectedtime") + FtAnalysisObjective.TimeBound: + add("--timebound") + default: + throw new IllegalArgumentException("Unknown analysis objective: " + objective) + } + if (documentationLevel == DocumentationLevel.FULL) { + add("--verbose") + } + build + } + + private def readOutput(InputStream inputStream, boolean printOutput) { + val bufferedReader = new BufferedReader(new InputStreamReader(inputStream)) + try { + var String line + while ((line = bufferedReader.readLine) !== null) { + if (printOutput) { + println(line) + } + val matcher = RESULT_PATTERN.matcher(line) + if (matcher.find) { + try { + val single = matcher.group(SINGLE_RESULT_GROUP) + if (single !== null) { + val singleValue = Double.parseDouble(single) + return new ReliabilityResult.Solution(singleValue) + } + val lower = matcher.group(LOWER_BOUND_GROUP) + val upper = matcher.group(UPPER_BOUND_GROUP) + if (lower !== null && upper !== null) { + val lowerValue = Double.parseDouble(lower) + val upperValue = Double.parseDouble(upper) + return new ReliabilityResult.Solution(lowerValue, upperValue) + } + throw new StormDftException("Inconsistent stochastic solver output: " + line) + } catch (NumberFormatException e) { + throw new StormDftException("Malformatted number from stochastic solver.", e) + } + } + } + } finally { + bufferedReader.close + } + null + } + + private def readError(InputStream inputStream, boolean printOutput) { + val bufferedReader = new BufferedReader(new InputStreamReader(inputStream)) + try { + val lines = newArrayList + var String line + while ((line = bufferedReader.readLine) !== null) { + if (printOutput) { + System.err.println(line) + } + lines += line + } + lines.join("\n") + } finally { + bufferedReader.close + } + } + + private def interpretExitStatus(int exitValue, String error) { + switch (exitValue) { + case STORM_GENERAL_ERROR: + throw new StormDftException("Storm error: " + error) + case STORM_TIMEOUT, + case SIGNAL_EXIT_VALUE_OFFSET + Signal.SIGXCPU.intValue: + ReliabilityResult.TIMEOUT + case STORM_MEMOUT, + case SIGNAL_EXIT_VALUE_OFFSET + Signal.SIGXFSZ.intValue: + ReliabilityResult.MEMOUT + default: { + if (exitValue > SIGNAL_EXIT_VALUE_OFFSET) { + val signalNumber = exitValue - SIGNAL_EXIT_VALUE_OFFSET + val signal = Signal.values.findFirst[intValue == signalNumber] + if (signal !== null) { + throw new StormDftException("Storm unexpectedly killed by signal " + signal + ": " + error) + } + } + throw new StormDftException("Storm unexpectedly exit with status " + exitValue + ": " + error) + } + } + } +} diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/StormDftSolver.xtend b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/StormDftSolver.xtend new file mode 100644 index 00000000..931b9f39 --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/StormDftSolver.xtend @@ -0,0 +1,43 @@ +package hu.bme.mit.inf.dslreasoner.faulttree.transformation.solver + +import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ConstantModel +import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FaultTree +import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ReliabilityModel +import hu.bme.mit.inf.dslreasoner.faulttree.transformation.ft2galileo.Ft2GalileoTransformation +import hu.bme.mit.inf.dslreasoner.workspace.ReasonerWorkspace + +class StormDftSolver { + static val DFT_FILE_NAME = "ft.dft" + + val ft2Galileo = new Ft2GalileoTransformation + val handler = new StormDftHandler + + def solve(ReliabilityModel reliabilityModel, StormDftConfiguration configuration, + ReasonerWorkspace reasonerWorkspace) { + switch (reliabilityModel) { + FaultTree: + solve(reliabilityModel, configuration, reasonerWorkspace) + ConstantModel: { + val result = if (reliabilityModel.failed) { + 0 + } else { + switch (objective : configuration.objective) { + case FtAnalysisObjective.MTTF: Double.POSITIVE_INFINITY + FtAnalysisObjective.TimeBound: 1 + default: throw new IllegalArgumentException("Unknown objective: " + objective) + } + } + new ReliabilityResult.Solution(result) + } + default: + throw new IllegalArgumentException("Unknown reliability model: " + reliabilityModel) + } + } + + def solve(FaultTree faultTree, StormDftConfiguration configuration, ReasonerWorkspace reasonerWorkspace) { + val galileo = ft2Galileo.toGalileo(faultTree) + reasonerWorkspace.writeText(DFT_FILE_NAME, galileo) + val dftFilePath = reasonerWorkspace.getFile(DFT_FILE_NAME).absolutePath + handler.callSolver(dftFilePath, configuration) + } +} diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/.Cft2FtTransformation.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/.Cft2FtTransformation.xtendbin index 3e751774..20f1f4a7 100644 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/.Cft2FtTransformation.xtendbin and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/.Cft2FtTransformation.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/.EventCollection.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/.EventCollection.xtendbin new file mode 100644 index 00000000..54ba3d09 Binary files /dev/null and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/.EventCollection.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/.EventMaterializer.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/.EventMaterializer.xtendbin new file mode 100644 index 00000000..271c9cc0 Binary files /dev/null and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/.EventMaterializer.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/.FaultTreeBuilder.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/.FaultTreeBuilder.xtendbin new file mode 100644 index 00000000..db3a7e73 Binary files /dev/null and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/.FaultTreeBuilder.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/.gitignore b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/.gitignore index 70156b02..75154a4c 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/.gitignore +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/.gitignore @@ -1 +1,8 @@ /.Cft2FtTransformation.java._trace +/.EventMaterializer.java._trace +/.MaterializedEvent.java._trace +/.CollectedInputs.java._trace +/.MaterializedEventCollection.java._trace +/.FaultTreeBuilder.java._trace +/.FaultModelBuilder.java._trace +/.EventCollection.java._trace diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/Cft2FtTransformation.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/Cft2FtTransformation.java index ae750806..e87b8865 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/Cft2FtTransformation.java +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/Cft2FtTransformation.java @@ -1,10 +1,49 @@ package hu.bme.mit.inf.dslreasoner.faulttree.transformation.cft2ft; import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentFaultTree; +import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ConstantEvent; +import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ConstantModel; +import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.Event; +import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FaultTree; +import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtFactory; +import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.RandomEvent; +import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ReliabilityModel; +import hu.bme.mit.inf.dslreasoner.faulttree.transformation.cft2ft.EventMaterializer; +import hu.bme.mit.inf.dslreasoner.faulttree.transformation.cft2ft.FaultTreeBuilder; +import org.eclipse.xtext.xbase.lib.ObjectExtensions; +import org.eclipse.xtext.xbase.lib.Procedures.Procedure1; @SuppressWarnings("all") public class Cft2FtTransformation { - public void createFaultTree(final ComponentFaultTree componentFaultTree) { - throw new UnsupportedOperationException(); + public ReliabilityModel createFaultTree(final ComponentFaultTree componentFaultTree) { + ReliabilityModel _xblockexpression = null; + { + final EventMaterializer materializer = new EventMaterializer(); + final Event topEvent = materializer.getOrMaterialize(componentFaultTree.getTopEvent()); + ReliabilityModel _switchResult = null; + boolean _matched = false; + if (topEvent instanceof ConstantEvent) { + _matched=true; + ConstantModel _createConstantModel = FtFactory.eINSTANCE.createConstantModel(); + final Procedure1 _function = (ConstantModel it) -> { + it.setFailed(((ConstantEvent)topEvent).isFailed()); + }; + _switchResult = ObjectExtensions.operator_doubleArrow(_createConstantModel, _function); + } + if (!_matched) { + if (topEvent instanceof RandomEvent) { + _matched=true; + FaultTree _xblockexpression_1 = null; + { + final FaultTreeBuilder builder = new FaultTreeBuilder(); + builder.addTopLevel(((RandomEvent)topEvent)); + _xblockexpression_1 = builder.getFaultTree(); + } + _switchResult = _xblockexpression_1; + } + } + _xblockexpression = _switchResult; + } + return _xblockexpression; } } diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/EventCollection.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/EventCollection.java new file mode 100644 index 00000000..dceef9f8 --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/EventCollection.java @@ -0,0 +1,188 @@ +package hu.bme.mit.inf.dslreasoner.faulttree.transformation.cft2ft; + +import com.google.common.collect.ImmutableSet; +import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ConstantEvent; +import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.Event; +import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.RandomEvent; +import java.util.Set; +import org.eclipse.xtend.lib.annotations.Data; +import org.eclipse.xtext.xbase.lib.IterableExtensions; +import org.eclipse.xtext.xbase.lib.Pure; +import org.eclipse.xtext.xbase.lib.util.ToStringBuilder; + +@Data +@SuppressWarnings("all") +public class EventCollection { + public static class Builder { + private int falseEventCount = 0; + + private int trueEventCount = 0; + + private final ImmutableSet.Builder randomEventsBuilder = ImmutableSet.builder(); + + private Builder() { + } + + public EventCollection.Builder add(final Event event) { + EventCollection.Builder _xblockexpression = null; + { + boolean _matched = false; + if (event instanceof ConstantEvent) { + _matched=true; + boolean _isFailed = ((ConstantEvent)event).isFailed(); + if (_isFailed) { + this.trueEventCount++; + } else { + this.falseEventCount++; + } + } + if (!_matched) { + if (event instanceof RandomEvent) { + _matched=true; + this.randomEventsBuilder.add(((RandomEvent)event)); + } + } + if (!_matched) { + throw new IllegalArgumentException(("Unknown event: " + event)); + } + _xblockexpression = this; + } + return _xblockexpression; + } + + public EventCollection.Builder addAll(final EventCollection materializedEvens) { + EventCollection.Builder _xblockexpression = null; + { + int _falseEventCount = this.falseEventCount; + this.falseEventCount = (_falseEventCount + materializedEvens.falseEventCount); + int _trueEventCount = this.trueEventCount; + this.trueEventCount = (_trueEventCount + materializedEvens.trueEventCount); + this.randomEventsBuilder.addAll(materializedEvens.randomEvents); + _xblockexpression = this; + } + return _xblockexpression; + } + + public EventCollection build() { + ImmutableSet _build = this.randomEventsBuilder.build(); + return new EventCollection(this.falseEventCount, this.trueEventCount, _build); + } + } + + private final int falseEventCount; + + private final int trueEventCount; + + private final Set randomEvents; + + public boolean containsFalseEvent() { + return (this.falseEventCount >= 1); + } + + public boolean containsTrueEvent() { + return (this.trueEventCount >= 1); + } + + public int getVariableEventCount() { + return this.randomEvents.size(); + } + + public boolean containsRandomEvent() { + int _variableEventCount = this.getVariableEventCount(); + return (_variableEventCount >= 1); + } + + public int getCount() { + int _variableEventCount = this.getVariableEventCount(); + return ((this.falseEventCount + this.trueEventCount) + _variableEventCount); + } + + public boolean isEmpty() { + return (((!this.containsFalseEvent()) && (!this.containsTrueEvent())) && (!this.containsRandomEvent())); + } + + public boolean containsExactlyOneRandomEvent() { + return (((!this.containsFalseEvent()) && (!this.containsTrueEvent())) && (this.getVariableEventCount() == 1)); + } + + public RandomEvent toSingleRandomEvent() { + RandomEvent _xblockexpression = null; + { + boolean _containsExactlyOneRandomEvent = this.containsExactlyOneRandomEvent(); + boolean _not = (!_containsExactlyOneRandomEvent); + if (_not) { + throw new IllegalStateException("Input collection is not a single random event"); + } + _xblockexpression = IterableExtensions.head(this.randomEvents); + } + return _xblockexpression; + } + + public static EventCollection.Builder builder() { + return new EventCollection.Builder(); + } + + public EventCollection(final int falseEventCount, final int trueEventCount, final Set randomEvents) { + super(); + this.falseEventCount = falseEventCount; + this.trueEventCount = trueEventCount; + this.randomEvents = randomEvents; + } + + @Override + @Pure + public int hashCode() { + final int prime = 31; + int result = 1; + result = prime * result + this.falseEventCount; + result = prime * result + this.trueEventCount; + return prime * result + ((this.randomEvents== null) ? 0 : this.randomEvents.hashCode()); + } + + @Override + @Pure + public boolean equals(final Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + if (getClass() != obj.getClass()) + return false; + EventCollection other = (EventCollection) obj; + if (other.falseEventCount != this.falseEventCount) + return false; + if (other.trueEventCount != this.trueEventCount) + return false; + if (this.randomEvents == null) { + if (other.randomEvents != null) + return false; + } else if (!this.randomEvents.equals(other.randomEvents)) + return false; + return true; + } + + @Override + @Pure + public String toString() { + ToStringBuilder b = new ToStringBuilder(this); + b.add("falseEventCount", this.falseEventCount); + b.add("trueEventCount", this.trueEventCount); + b.add("randomEvents", this.randomEvents); + return b.toString(); + } + + @Pure + public int getFalseEventCount() { + return this.falseEventCount; + } + + @Pure + public int getTrueEventCount() { + return this.trueEventCount; + } + + @Pure + public Set getRandomEvents() { + return this.randomEvents; + } +} diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/EventMaterializer.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/EventMaterializer.java new file mode 100644 index 00000000..70481341 --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/EventMaterializer.java @@ -0,0 +1,456 @@ +package hu.bme.mit.inf.dslreasoner.faulttree.transformation.cft2ft; + +import com.google.common.base.Objects; +import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.AndGateDefinition; +import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.BasicEventDefinition; +import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Component; +import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Connection; +import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.EventDeclaration; +import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.GateDefinition; +import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Input; +import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.InputEvent; +import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.KOfMGateDefinition; +import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.OrGateDefinition; +import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Output; +import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.AndGate; +import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.BasicEvent; +import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ConstantEvent; +import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.Distribution; +import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.Event; +import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtFactory; +import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.Gate; +import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.KOfMGate; +import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.OrGate; +import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.RandomEvent; +import hu.bme.mit.inf.dslreasoner.faulttree.transformation.cft2ft.EventCollection; +import java.util.LinkedHashSet; +import java.util.Map; +import java.util.function.Function; +import org.eclipse.emf.common.util.EList; +import org.eclipse.emf.ecore.util.EcoreUtil; +import org.eclipse.xtend.lib.annotations.Data; +import org.eclipse.xtend2.lib.StringConcatenation; +import org.eclipse.xtext.xbase.lib.CollectionLiterals; +import org.eclipse.xtext.xbase.lib.Extension; +import org.eclipse.xtext.xbase.lib.Functions.Function1; +import org.eclipse.xtext.xbase.lib.IterableExtensions; +import org.eclipse.xtext.xbase.lib.ObjectExtensions; +import org.eclipse.xtext.xbase.lib.Procedures.Procedure1; +import org.eclipse.xtext.xbase.lib.Pure; + +@SuppressWarnings("all") +public class EventMaterializer { + @Data + protected static class EventKey { + private final Component component; + + private final T event; + + @Override + public String toString() { + StringConcatenation _builder = new StringConcatenation(); + String _name = this.component.getName(); + _builder.append(_name); + _builder.append("_"); + String _name_1 = this.event.getName(); + _builder.append(_name_1); + return _builder.toString(); + } + + public EventKey(final Component component, final T event) { + super(); + this.component = component; + this.event = event; + } + + @Override + @Pure + public int hashCode() { + final int prime = 31; + int result = 1; + result = prime * result + ((this.component== null) ? 0 : this.component.hashCode()); + return prime * result + ((this.event== null) ? 0 : this.event.hashCode()); + } + + @Override + @Pure + public boolean equals(final Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + if (getClass() != obj.getClass()) + return false; + EventMaterializer.EventKey other = (EventMaterializer.EventKey) obj; + if (this.component == null) { + if (other.component != null) + return false; + } else if (!this.component.equals(other.component)) + return false; + if (this.event == null) { + if (other.event != null) + return false; + } else if (!this.event.equals(other.event)) + return false; + return true; + } + + @Pure + public Component getComponent() { + return this.component; + } + + @Pure + public T getEvent() { + return this.event; + } + } + + @Extension + private final FtFactory _ftFactory = FtFactory.eINSTANCE; + + private final Map, Event> materializationCache = CollectionLiterals., Event>newHashMap(); + + private final Map, EventCollection> multipleInputCache = CollectionLiterals., EventCollection>newHashMap(); + + private final ConstantEvent falseEvent; + + private final ConstantEvent trueEvent; + + private final LinkedHashSet> path = new LinkedHashSet>(); + + public EventMaterializer() { + ConstantEvent _createConstantEvent = this._ftFactory.createConstantEvent(); + final Procedure1 _function = (ConstantEvent it) -> { + it.setFailed(false); + }; + ConstantEvent _doubleArrow = ObjectExtensions.operator_doubleArrow(_createConstantEvent, _function); + this.falseEvent = _doubleArrow; + ConstantEvent _createConstantEvent_1 = this._ftFactory.createConstantEvent(); + final Procedure1 _function_1 = (ConstantEvent it) -> { + it.setFailed(true); + }; + ConstantEvent _doubleArrow_1 = ObjectExtensions.operator_doubleArrow(_createConstantEvent_1, _function_1); + this.trueEvent = _doubleArrow_1; + } + + public Event getOrMaterialize(final Output output) { + return this.getOrMaterialize(output.getComponent(), output.getEventDeclaration()); + } + + public Event getOrMaterialize(final Component component, final EventDeclaration eventDeclaration) { + Event _xblockexpression = null; + { + final EventMaterializer.EventKey eventKey = new EventMaterializer.EventKey(component, eventDeclaration); + this.pushEventKey(eventKey); + Event _xtrycatchfinallyexpression = null; + try { + final Function, Event> _function = (EventMaterializer.EventKey it) -> { + return this.materialize(it.component, it.event); + }; + _xtrycatchfinallyexpression = this.materializationCache.computeIfAbsent(eventKey, _function); + } finally { + this.popEventKey(eventKey); + } + _xblockexpression = _xtrycatchfinallyexpression; + } + return _xblockexpression; + } + + protected Event materialize(final Component component, final EventDeclaration eventDeclaration) { + RandomEvent _xblockexpression = null; + { + String _name = component.getName(); + String _plus = (_name + "_"); + String _name_1 = eventDeclaration.getName(); + final String eventName = (_plus + _name_1); + RandomEvent _switchResult = null; + boolean _matched = false; + if (eventDeclaration instanceof InputEvent) { + _matched=true; + return this.materializeConnectedEvent(component, ((InputEvent)eventDeclaration)); + } + if (!_matched) { + if (eventDeclaration instanceof BasicEventDefinition) { + _matched=true; + BasicEvent _xblockexpression_1 = null; + { + final BasicEvent basicEvent = this._ftFactory.createBasicEvent(); + basicEvent.setDistribution(EcoreUtil.copy(((BasicEventDefinition)eventDeclaration).getDistribution())); + _xblockexpression_1 = basicEvent; + } + _switchResult = _xblockexpression_1; + } + } + if (!_matched) { + if (eventDeclaration instanceof GateDefinition) { + _matched=true; + Gate _xblockexpression_1 = null; + { + final EventCollection inputs = this.collectInputs(component, ((GateDefinition)eventDeclaration)); + Gate _switchResult_1 = null; + boolean _matched_1 = false; + if (eventDeclaration instanceof AndGateDefinition) { + _matched_1=true; + AndGate _xifexpression = null; + boolean _containsFalseEvent = inputs.containsFalseEvent(); + if (_containsFalseEvent) { + return this.falseEvent; + } else { + AndGate _xifexpression_1 = null; + boolean _isEmpty = inputs.isEmpty(); + if (_isEmpty) { + return this.trueEvent; + } else { + AndGate _xifexpression_2 = null; + boolean _containsExactlyOneRandomEvent = inputs.containsExactlyOneRandomEvent(); + if (_containsExactlyOneRandomEvent) { + return inputs.toSingleRandomEvent(); + } else { + _xifexpression_2 = this._ftFactory.createAndGate(); + } + _xifexpression_1 = _xifexpression_2; + } + _xifexpression = _xifexpression_1; + } + _switchResult_1 = _xifexpression; + } + if (!_matched_1) { + if (eventDeclaration instanceof OrGateDefinition) { + _matched_1=true; + OrGate _xifexpression = null; + boolean _containsTrueEvent = inputs.containsTrueEvent(); + if (_containsTrueEvent) { + return this.trueEvent; + } else { + OrGate _xifexpression_1 = null; + boolean _isEmpty = inputs.isEmpty(); + if (_isEmpty) { + return this.falseEvent; + } else { + OrGate _xifexpression_2 = null; + boolean _containsExactlyOneRandomEvent = inputs.containsExactlyOneRandomEvent(); + if (_containsExactlyOneRandomEvent) { + return inputs.toSingleRandomEvent(); + } else { + _xifexpression_2 = this._ftFactory.createOrGate(); + } + _xifexpression_1 = _xifexpression_2; + } + _xifexpression = _xifexpression_1; + } + _switchResult_1 = _xifexpression; + } + } + if (!_matched_1) { + if (eventDeclaration instanceof KOfMGateDefinition) { + _matched_1=true; + Gate _xblockexpression_2 = null; + { + int _count = inputs.getCount(); + int _k = ((KOfMGateDefinition)eventDeclaration).getK(); + int _multiply = (_count * _k); + int _m = ((KOfMGateDefinition)eventDeclaration).getM(); + final int requiredTrueInputs = (_multiply / _m); + int _trueEventCount = inputs.getTrueEventCount(); + final int k = (requiredTrueInputs - _trueEventCount); + final int m = inputs.getVariableEventCount(); + Gate _xifexpression = null; + if ((k == 0)) { + return this.trueEvent; + } else { + Gate _xifexpression_1 = null; + if ((k > m)) { + return this.falseEvent; + } else { + Gate _xifexpression_2 = null; + boolean _containsExactlyOneRandomEvent = inputs.containsExactlyOneRandomEvent(); + if (_containsExactlyOneRandomEvent) { + return inputs.toSingleRandomEvent(); + } else { + Gate _xifexpression_3 = null; + if ((k == 1)) { + _xifexpression_3 = this._ftFactory.createOrGate(); + } else { + Gate _xifexpression_4 = null; + if ((k == m)) { + _xifexpression_4 = this._ftFactory.createAndGate(); + } else { + KOfMGate _xblockexpression_3 = null; + { + final KOfMGate kOfMGate = this._ftFactory.createKOfMGate(); + kOfMGate.setK(k); + _xblockexpression_3 = kOfMGate; + } + _xifexpression_4 = _xblockexpression_3; + } + _xifexpression_3 = _xifexpression_4; + } + _xifexpression_2 = _xifexpression_3; + } + _xifexpression_1 = _xifexpression_2; + } + _xifexpression = _xifexpression_1; + } + _xblockexpression_2 = _xifexpression; + } + _switchResult_1 = _xblockexpression_2; + } + } + if (!_matched_1) { + throw new IllegalArgumentException(("Unknown gate definition: " + eventDeclaration)); + } + final Gate gate = _switchResult_1; + gate.getInputEvents().addAll(inputs.getRandomEvents()); + _xblockexpression_1 = gate; + } + _switchResult = _xblockexpression_1; + } + } + if (!_matched) { + throw new IllegalArgumentException(("Unknown event declaration: " + eventDeclaration)); + } + final RandomEvent event = _switchResult; + event.setName(eventName); + _xblockexpression = event; + } + return _xblockexpression; + } + + protected Event materializeConnectedEvent(final Component component, final InputEvent inputEvent) { + Event _xblockexpression = null; + { + boolean _isMultiple = inputEvent.isMultiple(); + if (_isMultiple) { + StringConcatenation _builder = new StringConcatenation(); + _builder.append("Cannot materialize multiple nput "); + String _name = component.getName(); + _builder.append(_name); + _builder.append("_"); + String _name_1 = inputEvent.getName(); + _builder.append(_name_1); + throw new IllegalArgumentException(_builder.toString()); + } + final Input input = this.findInput(component, inputEvent); + final EList incomingConnections = input.getIncomingConnections(); + int _size = incomingConnections.size(); + boolean _notEquals = (_size != 1); + if (_notEquals) { + StringConcatenation _builder_1 = new StringConcatenation(); + _builder_1.append("Input "); + String _name_2 = component.getName(); + _builder_1.append(_name_2); + _builder_1.append("_"); + String _name_3 = inputEvent.getName(); + _builder_1.append(_name_3); + _builder_1.append(" has "); + int _size_1 = incomingConnections.size(); + _builder_1.append(_size_1); + _builder_1.append(" connections instead of 1"); + throw new IllegalArgumentException(_builder_1.toString()); + } + final Output output = IterableExtensions.head(incomingConnections).getOutput(); + _xblockexpression = this.getOrMaterialize(output.getComponent(), output.getEventDeclaration()); + } + return _xblockexpression; + } + + protected EventCollection collectInputs(final Component component, final GateDefinition gateDefinition) { + EventCollection _xblockexpression = null; + { + final EventCollection.Builder builder = EventCollection.builder(); + EList _inputEvents = gateDefinition.getInputEvents(); + for (final EventDeclaration inputEventDeclaration : _inputEvents) { + boolean _matched = false; + if (inputEventDeclaration instanceof InputEvent) { + boolean _isMultiple = ((InputEvent)inputEventDeclaration).isMultiple(); + if (_isMultiple) { + _matched=true; + final EventCollection materializedEvents = this.getOrMaterializeConnectedEvents(component, ((InputEvent)inputEventDeclaration)); + builder.addAll(materializedEvents); + } + } + if (!_matched) { + builder.add(this.getOrMaterialize(component, inputEventDeclaration)); + } + } + _xblockexpression = builder.build(); + } + return _xblockexpression; + } + + protected EventCollection getOrMaterializeConnectedEvents(final Component component, final InputEvent inputEvent) { + EventCollection _xblockexpression = null; + { + final EventMaterializer.EventKey inputKey = new EventMaterializer.EventKey(component, inputEvent); + this.pushEventKey(inputKey); + EventCollection _xtrycatchfinallyexpression = null; + try { + final Function, EventCollection> _function = (EventMaterializer.EventKey it) -> { + return this.materializeConnectedEvents(it.component, it.event); + }; + _xtrycatchfinallyexpression = this.multipleInputCache.computeIfAbsent(inputKey, _function); + } finally { + this.popEventKey(inputKey); + } + _xblockexpression = _xtrycatchfinallyexpression; + } + return _xblockexpression; + } + + protected EventCollection materializeConnectedEvents(final Component component, final InputEvent inputEvent) { + EventCollection _xblockexpression = null; + { + final Input input = this.findInput(component, inputEvent); + final EventCollection.Builder builder = EventCollection.builder(); + EList _incomingConnections = input.getIncomingConnections(); + for (final Connection connection : _incomingConnections) { + { + final Event materializedEvent = this.getOrMaterialize(connection.getOutput()); + builder.add(materializedEvent); + } + } + _xblockexpression = builder.build(); + } + return _xblockexpression; + } + + protected Input findInput(final Component component, final InputEvent inputEvent) { + final Function1 _function = (Input it) -> { + InputEvent _inputEvent = it.getInputEvent(); + return Boolean.valueOf(Objects.equal(_inputEvent, inputEvent)); + }; + final Input input = IterableExtensions.findFirst(component.getInputs(), _function); + if ((input == null)) { + StringConcatenation _builder = new StringConcatenation(); + _builder.append("No input "); + _builder.append(inputEvent); + _builder.append(" in component "); + _builder.append(component); + throw new IllegalArgumentException(_builder.toString()); + } + return input; + } + + private void pushEventKey(final EventMaterializer.EventKey eventKey) { + boolean _add = this.path.add(eventKey); + boolean _not = (!_add); + if (_not) { + StringConcatenation _builder = new StringConcatenation(); + _builder.append("Circular dependency ["); + { + for(final EventMaterializer.EventKey ancestor : this.path) { + _builder.append(ancestor); + _builder.append(", "); + } + } + _builder.append(eventKey); + _builder.append("] detected"); + throw new IllegalStateException(_builder.toString()); + } + } + + private boolean popEventKey(final EventMaterializer.EventKey eventKey) { + return this.path.remove(eventKey); + } +} diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/FaultTreeBuilder.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/FaultTreeBuilder.java new file mode 100644 index 00000000..9b2dfd76 --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/FaultTreeBuilder.java @@ -0,0 +1,57 @@ +package hu.bme.mit.inf.dslreasoner.faulttree.transformation.cft2ft; + +import com.google.common.base.Objects; +import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FaultTree; +import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtFactory; +import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.Gate; +import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.RandomEvent; +import java.util.Collection; +import org.eclipse.emf.common.util.EList; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.xtend.lib.annotations.Accessors; +import org.eclipse.xtext.xbase.lib.Pure; + +@SuppressWarnings("all") +public class FaultTreeBuilder { + @Accessors + private final FaultTree faultTree = FtFactory.eINSTANCE.createFaultTree(); + + public void addTopLevel(final RandomEvent event) { + RandomEvent _topEvent = this.faultTree.getTopEvent(); + boolean _tripleNotEquals = (_topEvent != null); + if (_tripleNotEquals) { + throw new IllegalStateException("Top event was already set"); + } + this.add(event); + this.faultTree.setTopEvent(event); + } + + protected void add(final RandomEvent event) { + EObject _eContainer = this.faultTree.eContainer(); + boolean _equals = Objects.equal(_eContainer, this.faultTree); + if (_equals) { + return; + } + EObject _eContainer_1 = this.faultTree.eContainer(); + boolean _tripleNotEquals = (_eContainer_1 != null); + if (_tripleNotEquals) { + throw new IllegalStateException("Event is already in a different fault tree"); + } + EList _events = this.faultTree.getEvents(); + _events.add(event); + if ((event instanceof Gate)) { + this.addAll(((Gate)event).getInputEvents()); + } + } + + protected void addAll(final Collection events) { + for (final RandomEvent event : events) { + this.add(event); + } + } + + @Pure + public FaultTree getFaultTree() { + return this.faultTree; + } +} diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.ComponentFaultTreeTrace.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.ComponentFaultTreeTrace.xtendbin index d26ae359..f705fefe 100644 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.ComponentFaultTreeTrace.xtendbin and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.ComponentFaultTreeTrace.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.ComponentInstanceTrace.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.ComponentInstanceTrace.xtendbin index 03d6064f..bab76345 100644 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.ComponentInstanceTrace.xtendbin and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.ComponentInstanceTrace.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.ComponentNameGenerator.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.ComponentNameGenerator.xtendbin index 1f6758ac..257bfc56 100644 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.ComponentNameGenerator.xtendbin and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.ComponentNameGenerator.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.Ecore2CftTransformation.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.Ecore2CftTransformation.xtendbin index 3569c02f..a1339a18 100644 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.Ecore2CftTransformation.xtendbin and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.Ecore2CftTransformation.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.InputTrace.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.InputTrace.xtendbin index 378550ba..ba19d0fb 100644 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.InputTrace.xtendbin and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.InputTrace.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.LookupHandler.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.LookupHandler.xtendbin index 0b0e534a..1e8612b2 100644 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.LookupHandler.xtendbin and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.LookupHandler.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.MappingHandler.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.MappingHandler.xtendbin index 5e26d4e4..ebe80f2e 100644 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.MappingHandler.xtendbin and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.MappingHandler.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.MappingQueries.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.MappingQueries.xtendbin index 8fb7f13f..03bd16f8 100644 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.MappingQueries.xtendbin and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.MappingQueries.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/Ecore2CftTransformation.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/Ecore2CftTransformation.java index 8b2d9d97..a63c8e78 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/Ecore2CftTransformation.java +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/Ecore2CftTransformation.java @@ -3,6 +3,7 @@ package hu.bme.mit.inf.dslreasoner.faulttree.transformation.ecore2cft; import com.google.common.collect.ImmutableList; import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingDefinition; import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.TransformationDefinition; +import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentFaultTree; import hu.bme.mit.inf.dslreasoner.faulttree.transformation.ecore2cft.ComponentFaultTreeTrace; import hu.bme.mit.inf.dslreasoner.faulttree.transformation.ecore2cft.MappingHandler; import hu.bme.mit.inf.dslreasoner.faulttree.transformation.ecore2cft.MappingQueries; @@ -23,13 +24,18 @@ public class Ecore2CftTransformation { this.mappingHandlers = ImmutableList.copyOf(ListExtensions.map(transformationDefinition.getMappingDefinitions(), _function)); } - public void createComponentFaultTree() { - final ComponentFaultTreeTrace trace = new ComponentFaultTreeTrace(); - for (final MappingHandler handler : this.mappingHandlers) { - handler.instantiateComponents(trace); - } - for (final MappingHandler handler_1 : this.mappingHandlers) { - handler_1.instantiateConnections(trace); + public ComponentFaultTree createComponentFaultTree() { + ComponentFaultTree _xblockexpression = null; + { + final ComponentFaultTreeTrace trace = new ComponentFaultTreeTrace(); + for (final MappingHandler handler : this.mappingHandlers) { + handler.instantiateComponents(trace); + } + for (final MappingHandler handler_1 : this.mappingHandlers) { + handler_1.instantiateConnections(trace); + } + _xblockexpression = trace.getComponentFaultTree(); } + return _xblockexpression; } } diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ft2galileo/.Ft2GalileoTransformation.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ft2galileo/.Ft2GalileoTransformation.xtendbin new file mode 100644 index 00000000..9fe75a0f Binary files /dev/null and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ft2galileo/.Ft2GalileoTransformation.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ft2galileo/.gitignore b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ft2galileo/.gitignore new file mode 100644 index 00000000..3f932890 --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ft2galileo/.gitignore @@ -0,0 +1 @@ +/.Ft2GalileoTransformation.java._trace diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ft2galileo/Ft2GalileoTransformation.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ft2galileo/Ft2GalileoTransformation.java new file mode 100644 index 00000000..e900c62a --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ft2galileo/Ft2GalileoTransformation.java @@ -0,0 +1,181 @@ +package hu.bme.mit.inf.dslreasoner.faulttree.transformation.ft2galileo; + +import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.AndGate; +import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.BasicEvent; +import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ConstantDistribution; +import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.Distribution; +import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ExponentialDistribution; +import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FaultTree; +import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.Gate; +import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.KOfMGate; +import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.OrGate; +import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.RandomEvent; +import java.util.Arrays; +import org.eclipse.emf.common.util.EList; +import org.eclipse.xtend2.lib.StringConcatenation; +import org.eclipse.xtend2.lib.StringConcatenationClient; + +@SuppressWarnings("all") +public class Ft2GalileoTransformation { + public CharSequence toGalileo(final FaultTree faultTree) { + StringConcatenation _builder = new StringConcatenation(); + _builder.append("toplevel "); + String _name = faultTree.getTopEvent().getName(); + _builder.append(_name); + _builder.append(";"); + _builder.newLineIfNotEmpty(); + { + EList _events = faultTree.getEvents(); + for(final RandomEvent event : _events) { + String _name_1 = event.getName(); + _builder.append(_name_1); + _builder.append(" "); + StringConcatenationClient _defineEvent = this.defineEvent(event); + _builder.append(_defineEvent); + _builder.append(";"); + _builder.newLineIfNotEmpty(); + } + } + return _builder; + } + + protected StringConcatenationClient _defineEvent(final BasicEvent basicEvent) { + return this.defineDistribution(basicEvent.getDistribution()); + } + + protected StringConcatenationClient _defineDistribution(final ConstantDistribution distribution) { + StringConcatenationClient _client = new StringConcatenationClient() { + @Override + protected void appendTo(StringConcatenationClient.TargetStringConcatenation _builder) { + _builder.append("p="); + double _p = distribution.getP(); + _builder.append(_p); + } + }; + return _client; + } + + protected StringConcatenationClient _defineDistribution(final ExponentialDistribution distribution) { + StringConcatenationClient _client = new StringConcatenationClient() { + @Override + protected void appendTo(StringConcatenationClient.TargetStringConcatenation _builder) { + _builder.append("lambda="); + double _lambda = distribution.getLambda(); + _builder.append(_lambda); + } + }; + return _client; + } + + protected StringConcatenationClient _defineDistribution(final Distribution distribution) { + throw new IllegalArgumentException(("Unknown distribution: " + distribution)); + } + + protected StringConcatenationClient _defineEvent(final Gate gate) { + StringConcatenationClient _client = new StringConcatenationClient() { + @Override + protected void appendTo(StringConcatenationClient.TargetStringConcatenation _builder) { + StringConcatenationClient _defineGate = Ft2GalileoTransformation.this.defineGate(gate); + _builder.append(_defineGate); + _builder.append(" "); + { + EList _inputEvents = gate.getInputEvents(); + boolean _hasElements = false; + for(final RandomEvent input : _inputEvents) { + if (!_hasElements) { + _hasElements = true; + } else { + _builder.appendImmediate(" ", ""); + } + String _name = input.getName(); + _builder.append(_name); + } + } + } + }; + return _client; + } + + protected StringConcatenationClient _defineGate(final AndGate gate) { + StringConcatenationClient _client = new StringConcatenationClient() { + @Override + protected void appendTo(StringConcatenationClient.TargetStringConcatenation _builder) { + _builder.append("and"); + } + }; + return _client; + } + + protected StringConcatenationClient _defineGate(final OrGate gate) { + StringConcatenationClient _client = new StringConcatenationClient() { + @Override + protected void appendTo(StringConcatenationClient.TargetStringConcatenation _builder) { + _builder.append("or"); + } + }; + return _client; + } + + protected StringConcatenationClient _defineGate(final KOfMGate gate) { + StringConcatenationClient _client = new StringConcatenationClient() { + @Override + protected void appendTo(StringConcatenationClient.TargetStringConcatenation _builder) { + int _k = gate.getK(); + _builder.append(_k); + _builder.append("of"); + int _size = gate.getInputEvents().size(); + _builder.append(_size); + } + }; + return _client; + } + + protected StringConcatenationClient _defineGate(final Gate gate) { + throw new IllegalArgumentException(("Unknown gate: " + gate)); + } + + protected StringConcatenationClient _defineEvent(final RandomEvent randomEvent) { + throw new IllegalArgumentException(("Unknown random even: " + randomEvent)); + } + + protected StringConcatenationClient defineEvent(final RandomEvent basicEvent) { + if (basicEvent instanceof BasicEvent) { + return _defineEvent((BasicEvent)basicEvent); + } else if (basicEvent instanceof Gate) { + return _defineEvent((Gate)basicEvent); + } else if (basicEvent != null) { + return _defineEvent(basicEvent); + } else { + throw new IllegalArgumentException("Unhandled parameter types: " + + Arrays.asList(basicEvent).toString()); + } + } + + protected StringConcatenationClient defineDistribution(final Distribution distribution) { + if (distribution instanceof ConstantDistribution) { + return _defineDistribution((ConstantDistribution)distribution); + } else if (distribution instanceof ExponentialDistribution) { + return _defineDistribution((ExponentialDistribution)distribution); + } else if (distribution != null) { + return _defineDistribution(distribution); + } else { + throw new IllegalArgumentException("Unhandled parameter types: " + + Arrays.asList(distribution).toString()); + } + } + + protected StringConcatenationClient defineGate(final Gate gate) { + if (gate instanceof AndGate) { + return _defineGate((AndGate)gate); + } else if (gate instanceof KOfMGate) { + return _defineGate((KOfMGate)gate); + } else if (gate instanceof OrGate) { + return _defineGate((OrGate)gate); + } else if (gate != null) { + return _defineGate(gate); + } else { + throw new IllegalArgumentException("Unhandled parameter types: " + + Arrays.asList(gate).toString()); + } + } +} diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/.ReliabilityResult.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/.ReliabilityResult.xtendbin new file mode 100644 index 00000000..57c4608d Binary files /dev/null and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/.ReliabilityResult.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/.StormDftConfiguration.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/.StormDftConfiguration.xtendbin new file mode 100644 index 00000000..f5cb52f4 Binary files /dev/null and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/.StormDftConfiguration.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/.StormDftHandler.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/.StormDftHandler.xtendbin new file mode 100644 index 00000000..5dad0728 Binary files /dev/null and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/.StormDftHandler.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/.StormDftSolver.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/.StormDftSolver.xtendbin new file mode 100644 index 00000000..abd8a501 Binary files /dev/null and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/.StormDftSolver.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/.gitignore b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/.gitignore new file mode 100644 index 00000000..59cc8fe8 --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/.gitignore @@ -0,0 +1,9 @@ +/.StormDftSolver.java._trace +/.StormDftConfiguration.java._trace +/.StormDftMttfConfiguration.java._trace +/.FtAnalysisObjective.java._trace +/.ApproximationHeuristic.java._trace +/.StormDftHandler.java._trace +/.StormDftException.java._trace +/.ReliabilityModelSolution.java._trace +/.ReliabilityResult.java._trace diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/ApproximationHeuristic.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/ApproximationHeuristic.java new file mode 100644 index 00000000..822d4f36 --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/ApproximationHeuristic.java @@ -0,0 +1,8 @@ +package hu.bme.mit.inf.dslreasoner.faulttree.transformation.solver; + +@SuppressWarnings("all") +public enum ApproximationHeuristic { + NONE, + + DEPTH; +} diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/FtAnalysisObjective.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/FtAnalysisObjective.java new file mode 100644 index 00000000..528ada42 --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/FtAnalysisObjective.java @@ -0,0 +1,14 @@ +package hu.bme.mit.inf.dslreasoner.faulttree.transformation.solver; + +@SuppressWarnings("all") +public abstract class FtAnalysisObjective { + public static final class TimeBound extends FtAnalysisObjective { + public double timeBound = 0; + } + + public static final FtAnalysisObjective MTTF = new FtAnalysisObjective() { + }; + + private FtAnalysisObjective() { + } +} diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/ReliabilityResult.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/ReliabilityResult.java new file mode 100644 index 00000000..c8c8b000 --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/ReliabilityResult.java @@ -0,0 +1,156 @@ +package hu.bme.mit.inf.dslreasoner.faulttree.transformation.solver; + +import org.eclipse.xtend.lib.annotations.Data; +import org.eclipse.xtend.lib.annotations.FinalFieldsConstructor; +import org.eclipse.xtext.xbase.lib.Pure; +import org.eclipse.xtext.xbase.lib.util.ToStringBuilder; + +@SuppressWarnings("all") +public abstract class ReliabilityResult { + @Data + public static final class Solution extends ReliabilityResult { + private final double lowerBound; + + private final double upperBound; + + public Solution(final double value) { + this(value, value); + } + + public Solution(final double lowerBound, final double upperBound) { + if ((lowerBound > upperBound)) { + throw new IllegalArgumentException("lowerBound must not be larger than upperBound"); + } + this.lowerBound = lowerBound; + this.upperBound = upperBound; + } + + @Override + public ReliabilityResult.Solution getOrThrow() { + return this; + } + + @Override + @Pure + public int hashCode() { + final int prime = 31; + int result = 1; + result = prime * result + (int) (Double.doubleToLongBits(this.lowerBound) ^ (Double.doubleToLongBits(this.lowerBound) >>> 32)); + return prime * result + (int) (Double.doubleToLongBits(this.upperBound) ^ (Double.doubleToLongBits(this.upperBound) >>> 32)); + } + + @Override + @Pure + public boolean equals(final Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + if (getClass() != obj.getClass()) + return false; + ReliabilityResult.Solution other = (ReliabilityResult.Solution) obj; + if (Double.doubleToLongBits(other.lowerBound) != Double.doubleToLongBits(this.lowerBound)) + return false; + if (Double.doubleToLongBits(other.upperBound) != Double.doubleToLongBits(this.upperBound)) + return false; + return true; + } + + @Override + @Pure + public String toString() { + return new ToStringBuilder(this) + .addAllFields() + .toString(); + } + + @Pure + public double getLowerBound() { + return this.lowerBound; + } + + @Pure + public double getUpperBound() { + return this.upperBound; + } + } + + @Data + public static final class Unknown extends ReliabilityResult { + private final String message; + + private final Throwable cause; + + @FinalFieldsConstructor + public Unknown(final String message, final Throwable cause) { + super(); + this.message = message; + this.cause = cause; + } + + public Unknown(final String message) { + this(message, null); + } + + @Override + public ReliabilityResult.Solution getOrThrow() { + throw new RuntimeException(this.message, this.cause); + } + + @Override + @Pure + public int hashCode() { + final int prime = 31; + int result = 1; + result = prime * result + ((this.message== null) ? 0 : this.message.hashCode()); + return prime * result + ((this.cause== null) ? 0 : this.cause.hashCode()); + } + + @Override + @Pure + public boolean equals(final Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + if (getClass() != obj.getClass()) + return false; + ReliabilityResult.Unknown other = (ReliabilityResult.Unknown) obj; + if (this.message == null) { + if (other.message != null) + return false; + } else if (!this.message.equals(other.message)) + return false; + if (this.cause == null) { + if (other.cause != null) + return false; + } else if (!this.cause.equals(other.cause)) + return false; + return true; + } + + @Override + @Pure + public String toString() { + return new ToStringBuilder(this) + .addAllFields() + .toString(); + } + + @Pure + public String getMessage() { + return this.message; + } + + @Pure + public Throwable getCause() { + return this.cause; + } + } + + public static final ReliabilityResult.Unknown TIMEOUT = new ReliabilityResult.Unknown("Solver timed out"); + + public static final ReliabilityResult.Unknown MEMOUT = new ReliabilityResult.Unknown("Solver out of memory"); + + public abstract ReliabilityResult.Solution getOrThrow(); +} diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/StormDftConfiguration.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/StormDftConfiguration.java new file mode 100644 index 00000000..e1bb3625 --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/StormDftConfiguration.java @@ -0,0 +1,31 @@ +package hu.bme.mit.inf.dslreasoner.faulttree.transformation.solver; + +import com.google.common.base.Objects; +import hu.bme.mit.inf.dslreasoner.faulttree.transformation.solver.ApproximationHeuristic; +import hu.bme.mit.inf.dslreasoner.faulttree.transformation.solver.FtAnalysisObjective; +import hu.bme.mit.inf.dslreasoner.logic.model.builder.SolverConfiguration; + +@SuppressWarnings("all") +public final class StormDftConfiguration extends SolverConfiguration { + public static final String DEFAULT_SOLVER_PATH = "storm-dft"; + + public double precision = 1e-6; + + public boolean bisimulation = true; + + public boolean symmetryReduction = true; + + public boolean modularization = true; + + public boolean dontCarePropagation = true; + + public double approximation = 0; + + public ApproximationHeuristic approximationHeuristic = ApproximationHeuristic.NONE; + + public FtAnalysisObjective objective; + + public boolean isApproximationInUse() { + return (!Objects.equal(this.approximationHeuristic, ApproximationHeuristic.NONE)); + } +} diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/StormDftException.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/StormDftException.java new file mode 100644 index 00000000..955c9ed1 --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/StormDftException.java @@ -0,0 +1,12 @@ +package hu.bme.mit.inf.dslreasoner.faulttree.transformation.solver; + +@SuppressWarnings("all") +public class StormDftException extends RuntimeException { + public StormDftException(final String s) { + super(s); + } + + public StormDftException(final String s, final Exception e) { + super(s, e); + } +} diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/StormDftHandler.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/StormDftHandler.java new file mode 100644 index 00000000..003d9cc5 --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/StormDftHandler.java @@ -0,0 +1,351 @@ +package hu.bme.mit.inf.dslreasoner.faulttree.transformation.solver; + +import com.google.common.base.Objects; +import com.google.common.collect.ImmutableList; +import hu.bme.mit.inf.dslreasoner.faulttree.transformation.solver.ApproximationHeuristic; +import hu.bme.mit.inf.dslreasoner.faulttree.transformation.solver.FtAnalysisObjective; +import hu.bme.mit.inf.dslreasoner.faulttree.transformation.solver.ReliabilityResult; +import hu.bme.mit.inf.dslreasoner.faulttree.transformation.solver.StormDftConfiguration; +import hu.bme.mit.inf.dslreasoner.faulttree.transformation.solver.StormDftException; +import hu.bme.mit.inf.dslreasoner.logic.model.builder.DocumentationLevel; +import hu.bme.mit.inf.dslreasoner.logic.model.builder.SolverConfiguration; +import java.io.BufferedReader; +import java.io.IOException; +import java.io.InputStream; +import java.io.InputStreamReader; +import java.util.ArrayList; +import java.util.regex.Matcher; +import java.util.regex.Pattern; +import jnr.constants.platform.Signal; +import org.apache.commons.lang.SystemUtils; +import org.eclipse.xtend2.lib.StringConcatenation; +import org.eclipse.xtext.xbase.lib.CollectionLiterals; +import org.eclipse.xtext.xbase.lib.Conversions; +import org.eclipse.xtext.xbase.lib.Exceptions; +import org.eclipse.xtext.xbase.lib.Extension; +import org.eclipse.xtext.xbase.lib.Functions.Function0; +import org.eclipse.xtext.xbase.lib.Functions.Function1; +import org.eclipse.xtext.xbase.lib.InputOutput; +import org.eclipse.xtext.xbase.lib.IterableExtensions; + +@SuppressWarnings("all") +public class StormDftHandler { + private static final String DOUBLE_REGEX = "[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?"; + + private static final String SINGLE_RESULT_GROUP = "single"; + + private static final String LOWER_BOUND_GROUP = "lower"; + + private static final String UPPER_BOUND_GROUP = "upper"; + + private static final String RESULT_REGEX = new Function0() { + public String apply() { + StringConcatenation _builder = new StringConcatenation(); + _builder.append("^Result:\\s*\\[(?:(?<"); + _builder.append(StormDftHandler.SINGLE_RESULT_GROUP); + _builder.append(">"); + _builder.append(StormDftHandler.DOUBLE_REGEX); + _builder.append(")|\\((?<"); + _builder.append(StormDftHandler.LOWER_BOUND_GROUP); + _builder.append(">"); + _builder.append(StormDftHandler.DOUBLE_REGEX); + _builder.append("),\\s*(?<"); + _builder.append(StormDftHandler.UPPER_BOUND_GROUP); + _builder.append(">"); + _builder.append(StormDftHandler.DOUBLE_REGEX); + _builder.append(")\\))\\]"); + return _builder.toString(); + } + }.apply(); + + private static final Pattern RESULT_PATTERN = Pattern.compile(StormDftHandler.RESULT_REGEX); + + private static final int SIGNAL_EXIT_VALUE_OFFSET = new Function0() { + public Integer apply() { + int _xifexpression = (int) 0; + if (SystemUtils.IS_OS_SOLARIS) { + _xifexpression = 0; + } else { + _xifexpression = 0x80; + } + return _xifexpression; + } + }.apply().intValue(); + + private static final int STORM_GENERAL_ERROR = ((-1) & 0xff); + + private static final int STORM_TIMEOUT = ((-2) & 0xff); + + private static final int STORM_MEMOUT = ((-3) & 0xff); + + public ReliabilityResult callSolver(final String dftFilePath, final StormDftConfiguration configuration) { + try { + ReliabilityResult _xblockexpression = null; + { + final ImmutableList commandLine = this.toCommandLine(configuration, dftFilePath); + final DocumentationLevel documentationLevel = configuration.documentationLevel; + final boolean printOutput = (Objects.equal(documentationLevel, DocumentationLevel.NORMAL) || + Objects.equal(documentationLevel, DocumentationLevel.FULL)); + final ProcessBuilder processBuilder = new ProcessBuilder().command(commandLine); + Process process = null; + ReliabilityResult _xtrycatchfinallyexpression = null; + try { + ReliabilityResult _xtrycatchfinallyexpression_1 = null; + try { + ReliabilityResult _xblockexpression_1 = null; + { + process = processBuilder.start(); + process.getOutputStream().close(); + final ReliabilityResult.Solution result = this.readOutput(process.getInputStream(), printOutput); + final String error = this.readError(process.getErrorStream(), printOutput); + final int exitValue = process.waitFor(); + ReliabilityResult _xifexpression = null; + if ((result == null)) { + _xifexpression = this.interpretExitStatus(exitValue, error); + } else { + _xifexpression = result; + } + _xblockexpression_1 = _xifexpression; + } + _xtrycatchfinallyexpression_1 = _xblockexpression_1; + } catch (final Throwable _t) { + if (_t instanceof IOException) { + final IOException e = (IOException)_t; + throw new StormDftException("Error during input/output handling of the stochastic solver.", e); + } else { + throw Exceptions.sneakyThrow(_t); + } + } + _xtrycatchfinallyexpression = _xtrycatchfinallyexpression_1; + } catch (final Throwable _t_1) { + if (_t_1 instanceof Exception) { + final Exception e_1 = (Exception)_t_1; + if ((process != null)) { + process.destroyForcibly().waitFor(); + } + throw e_1; + } else { + throw Exceptions.sneakyThrow(_t_1); + } + } + _xblockexpression = _xtrycatchfinallyexpression; + } + return _xblockexpression; + } catch (Throwable _e) { + throw Exceptions.sneakyThrow(_e); + } + } + + private ImmutableList toCommandLine(@Extension final StormDftConfiguration configuration, final String dftFilePath) { + ImmutableList _xblockexpression = null; + { + @Extension + final ImmutableList.Builder optionsBuilder = ImmutableList.builder(); + String _elvis = null; + if (configuration.solverPath != null) { + _elvis = configuration.solverPath; + } else { + _elvis = StormDftConfiguration.DEFAULT_SOLVER_PATH; + } + optionsBuilder.add(_elvis); + if ((configuration.runtimeLimit != SolverConfiguration.Unlimited)) { + optionsBuilder.add("--timeout", Integer.valueOf(configuration.runtimeLimit).toString()); + } + optionsBuilder.add("--precision", Double.valueOf(configuration.precision).toString()); + if (configuration.bisimulation) { + optionsBuilder.add("--bisimulation"); + } + if (configuration.symmetryReduction) { + optionsBuilder.add("--symmetryreduction"); + } + if (configuration.modularization) { + optionsBuilder.add("--modularisation"); + } + if ((!configuration.dontCarePropagation)) { + optionsBuilder.add("--disabledc"); + } + boolean _isApproximationInUse = configuration.isApproximationInUse(); + if (_isApproximationInUse) { + String _switchResult = null; + final ApproximationHeuristic approximationHeuristic = configuration.approximationHeuristic; + if (approximationHeuristic != null) { + switch (approximationHeuristic) { + case DEPTH: + _switchResult = "depth"; + break; + default: + throw new IllegalArgumentException(("Unknown approximation heuristic: " + configuration.approximationHeuristic)); + } + } else { + throw new IllegalArgumentException(("Unknown approximation heuristic: " + configuration.approximationHeuristic)); + } + final String heuristicName = _switchResult; + optionsBuilder.add("--approximation", Double.valueOf(configuration.approximation).toString(), "--approximationheuristic", heuristicName); + } + optionsBuilder.add("--dftfile", dftFilePath); + final FtAnalysisObjective objective = configuration.objective; + boolean _matched = false; + if (Objects.equal(objective, FtAnalysisObjective.MTTF)) { + _matched=true; + optionsBuilder.add("--expectedtime"); + } + if (!_matched) { + if (objective instanceof FtAnalysisObjective.TimeBound) { + _matched=true; + optionsBuilder.add("--timebound"); + } + } + if (!_matched) { + throw new IllegalArgumentException(("Unknown analysis objective: " + configuration.objective)); + } + boolean _equals = Objects.equal(configuration.documentationLevel, DocumentationLevel.FULL); + if (_equals) { + optionsBuilder.add("--verbose"); + } + _xblockexpression = optionsBuilder.build(); + } + return _xblockexpression; + } + + private ReliabilityResult.Solution readOutput(final InputStream inputStream, final boolean printOutput) { + try { + Object _xblockexpression = null; + { + InputStreamReader _inputStreamReader = new InputStreamReader(inputStream); + final BufferedReader bufferedReader = new BufferedReader(_inputStreamReader); + try { + String line = null; + while (((line = bufferedReader.readLine()) != null)) { + { + if (printOutput) { + InputOutput.println(line); + } + final Matcher matcher = StormDftHandler.RESULT_PATTERN.matcher(line); + boolean _find = matcher.find(); + if (_find) { + try { + final String single = matcher.group(StormDftHandler.SINGLE_RESULT_GROUP); + if ((single != null)) { + final double singleValue = Double.parseDouble(single); + return new ReliabilityResult.Solution(singleValue); + } + final String lower = matcher.group(StormDftHandler.LOWER_BOUND_GROUP); + final String upper = matcher.group(StormDftHandler.UPPER_BOUND_GROUP); + if (((lower != null) && (upper != null))) { + final double lowerValue = Double.parseDouble(lower); + final double upperValue = Double.parseDouble(upper); + return new ReliabilityResult.Solution(lowerValue, upperValue); + } + throw new StormDftException(("Inconsistent stochastic solver output: " + line)); + } catch (final Throwable _t) { + if (_t instanceof NumberFormatException) { + final NumberFormatException e = (NumberFormatException)_t; + throw new StormDftException("Malformatted number from stochastic solver.", e); + } else { + throw Exceptions.sneakyThrow(_t); + } + } + } + } + } + } finally { + bufferedReader.close(); + } + _xblockexpression = null; + } + return ((ReliabilityResult.Solution)_xblockexpression); + } catch (Throwable _e) { + throw Exceptions.sneakyThrow(_e); + } + } + + private String readError(final InputStream inputStream, final boolean printOutput) { + try { + String _xblockexpression = null; + { + InputStreamReader _inputStreamReader = new InputStreamReader(inputStream); + final BufferedReader bufferedReader = new BufferedReader(_inputStreamReader); + String _xtrycatchfinallyexpression = null; + try { + String _xblockexpression_1 = null; + { + final ArrayList lines = CollectionLiterals.newArrayList(); + String line = null; + while (((line = bufferedReader.readLine()) != null)) { + { + if (printOutput) { + System.err.println(line); + } + lines.add(line); + } + } + _xblockexpression_1 = IterableExtensions.join(lines, "\n"); + } + _xtrycatchfinallyexpression = _xblockexpression_1; + } finally { + bufferedReader.close(); + } + _xblockexpression = _xtrycatchfinallyexpression; + } + return _xblockexpression; + } catch (Throwable _e) { + throw Exceptions.sneakyThrow(_e); + } + } + + private ReliabilityResult.Unknown interpretExitStatus(final int exitValue, final String error) { + ReliabilityResult.Unknown _switchResult = null; + boolean _matched = false; + if (Objects.equal(exitValue, StormDftHandler.STORM_GENERAL_ERROR)) { + _matched=true; + throw new StormDftException(("Storm error: " + error)); + } + if (!_matched) { + if (Objects.equal(exitValue, StormDftHandler.STORM_TIMEOUT)) { + _matched=true; + } + if (!_matched) { + int _intValue = Signal.SIGXCPU.intValue(); + int _plus = (StormDftHandler.SIGNAL_EXIT_VALUE_OFFSET + _intValue); + if (Objects.equal(exitValue, _plus)) { + _matched=true; + } + } + if (_matched) { + _switchResult = ReliabilityResult.TIMEOUT; + } + } + if (!_matched) { + if (Objects.equal(exitValue, StormDftHandler.STORM_MEMOUT)) { + _matched=true; + } + if (!_matched) { + int _intValue_1 = Signal.SIGXFSZ.intValue(); + int _plus_1 = (StormDftHandler.SIGNAL_EXIT_VALUE_OFFSET + _intValue_1); + if (Objects.equal(exitValue, _plus_1)) { + _matched=true; + } + } + if (_matched) { + _switchResult = ReliabilityResult.MEMOUT; + } + } + if (!_matched) { + { + if ((exitValue > StormDftHandler.SIGNAL_EXIT_VALUE_OFFSET)) { + final int signalNumber = (exitValue - StormDftHandler.SIGNAL_EXIT_VALUE_OFFSET); + final Function1 _function = (Signal it) -> { + int _intValue_2 = it.intValue(); + return Boolean.valueOf((_intValue_2 == signalNumber)); + }; + final Signal signal = IterableExtensions.findFirst(((Iterable)Conversions.doWrapArray(Signal.values())), _function); + if ((signal != null)) { + throw new StormDftException(((("Storm unexpectedly killed by signal " + signal) + ": ") + error)); + } + } + throw new StormDftException(((("Storm unexpectedly exit with status " + Integer.valueOf(exitValue)) + ": ") + error)); + } + } + return _switchResult; + } +} diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/StormDftSolver.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/StormDftSolver.java new file mode 100644 index 00000000..491e7fc1 --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/StormDftSolver.java @@ -0,0 +1,79 @@ +package hu.bme.mit.inf.dslreasoner.faulttree.transformation.solver; + +import com.google.common.base.Objects; +import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ConstantModel; +import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FaultTree; +import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ReliabilityModel; +import hu.bme.mit.inf.dslreasoner.faulttree.transformation.ft2galileo.Ft2GalileoTransformation; +import hu.bme.mit.inf.dslreasoner.faulttree.transformation.solver.FtAnalysisObjective; +import hu.bme.mit.inf.dslreasoner.faulttree.transformation.solver.ReliabilityResult; +import hu.bme.mit.inf.dslreasoner.faulttree.transformation.solver.StormDftConfiguration; +import hu.bme.mit.inf.dslreasoner.faulttree.transformation.solver.StormDftHandler; +import hu.bme.mit.inf.dslreasoner.workspace.ReasonerWorkspace; + +@SuppressWarnings("all") +public class StormDftSolver { + private static final String DFT_FILE_NAME = "ft.dft"; + + private final Ft2GalileoTransformation ft2Galileo = new Ft2GalileoTransformation(); + + private final StormDftHandler handler = new StormDftHandler(); + + public ReliabilityResult solve(final ReliabilityModel reliabilityModel, final StormDftConfiguration configuration, final ReasonerWorkspace reasonerWorkspace) { + ReliabilityResult _switchResult = null; + boolean _matched = false; + if (reliabilityModel instanceof FaultTree) { + _matched=true; + _switchResult = this.solve(((FaultTree)reliabilityModel), configuration, reasonerWorkspace); + } + if (!_matched) { + if (reliabilityModel instanceof ConstantModel) { + _matched=true; + ReliabilityResult.Solution _xblockexpression = null; + { + double _xifexpression = (double) 0; + boolean _isFailed = ((ConstantModel)reliabilityModel).isFailed(); + if (_isFailed) { + _xifexpression = 0; + } else { + double _switchResult_1 = (double) 0; + final FtAnalysisObjective objective = configuration.objective; + boolean _matched_1 = false; + if (Objects.equal(objective, FtAnalysisObjective.MTTF)) { + _matched_1=true; + _switchResult_1 = Double.POSITIVE_INFINITY; + } + if (!_matched_1) { + if (objective instanceof FtAnalysisObjective.TimeBound) { + _matched_1=true; + _switchResult_1 = 1; + } + } + if (!_matched_1) { + throw new IllegalArgumentException(("Unknown objective: " + objective)); + } + _xifexpression = _switchResult_1; + } + final double result = _xifexpression; + _xblockexpression = new ReliabilityResult.Solution(result); + } + _switchResult = _xblockexpression; + } + } + if (!_matched) { + throw new IllegalArgumentException(("Unknown reliability model: " + reliabilityModel)); + } + return _switchResult; + } + + public ReliabilityResult solve(final FaultTree faultTree, final StormDftConfiguration configuration, final ReasonerWorkspace reasonerWorkspace) { + ReliabilityResult _xblockexpression = null; + { + final CharSequence galileo = this.ft2Galileo.toGalileo(faultTree); + reasonerWorkspace.writeText(StormDftSolver.DFT_FILE_NAME, galileo); + final String dftFilePath = reasonerWorkspace.getFile(StormDftSolver.DFT_FILE_NAME).getAbsolutePath(); + _xblockexpression = this.handler.callSolver(dftFilePath, configuration); + } + return _xblockexpression; + } +} -- cgit v1.2.3-70-g09d2 From 3f5aaab5025b8eb243f414b1c789085327df04f4 Mon Sep 17 00:00:00 2001 From: Kristóf Marussy Date: Wed, 20 Mar 2019 16:09:09 +0100 Subject: Fault tree transformation for partial models WIP --- .../META-INF/MANIFEST.MF | 31 +- .../META-INF/services/org.eclipse.xtext.ISetup | 2 +- .../AbstractApplicationConfigurationIdeModule.java | 107 +- .../antlr/ApplicationConfigurationParser.java | 582 +- ...pplicationConfigurationContentAssistParser.java | 68 +- .../internal/InternalApplicationConfiguration.g | 22282 +++--- .../InternalApplicationConfiguration.tokens | 214 +- .../InternalApplicationConfigurationLexer.java | 4954 +- .../InternalApplicationConfigurationParser.java | 69087 ++++++++++--------- .../.ApplicationConfigurationIdeModule.xtendbin | Bin 1701 -> 1701 bytes .../ide/.ApplicationConfigurationIdeSetup.xtendbin | Bin 2526 -> 2526 bytes .../META-INF/MANIFEST.MF | 54 +- .../plugin.xml_gen | 835 +- .../AbstractApplicationConfigurationUiModule.java | 572 +- ...ionConfigurationExecutableExtensionFactory.java | 56 +- ...ctApplicationConfigurationProposalProvider.java | 1061 +- .../ui/internal/ApplicationActivator.java | 187 +- .../Eclipse Application.launch | 68 +- .../META-INF/MANIFEST.MF | 113 +- .../model/generated/ApplicationConfiguration.ecore | 505 +- .../generated/ApplicationConfiguration.genmodel | 441 +- .../plugin.xml_gen | 20 +- ...tractApplicationConfigurationRuntimeModule.java | 402 +- .../application/ApplicationConfiguration.xtextbin | Bin 11742 -> 13581 bytes ...ationConfigurationStandaloneSetupGenerated.java | 84 +- .../applicationConfiguration/AllPackageEntry.java | 84 +- .../applicationConfiguration/AllPatternEntry.java | 84 +- .../ApplicationConfigurationFactory.java | 1366 +- .../ApplicationConfigurationPackage.java | 10599 +-- .../applicationConfiguration/CftImport.java | 52 + .../applicationConfiguration/ClassReference.java | 102 +- .../applicationConfiguration/ClassTypeScope.java | 102 +- .../applicationConfiguration/Command.java | 40 +- .../ComparisonOperator.java | 233 + .../applicationConfiguration/Config.java | 40 +- .../ConfigDeclaration.java | 102 +- .../applicationConfiguration/ConfigEntry.java | 40 +- .../applicationConfiguration/ConfigReference.java | 102 +- .../ConfigSpecification.java | 84 +- .../ConfigurationScript.java | 122 +- .../applicationConfiguration/CustomEntry.java | 156 +- .../applicationConfiguration/Declaration.java | 102 +- .../DocumentLevelSpecification.java | 517 +- .../DocumentationEntry.java | 108 +- .../applicationConfiguration/EPackageImport.java | 104 +- .../applicationConfiguration/ExactNumber.java | 156 +- .../application/applicationConfiguration/File.java | 40 +- .../applicationConfiguration/FileDeclaration.java | 102 +- .../applicationConfiguration/FileReference.java | 102 +- .../FileSpecification.java | 102 +- .../applicationConfiguration/FolderEntry.java | 84 +- .../applicationConfiguration/GenerationTask.java | 837 +- .../applicationConfiguration/GraphPattern.java | 40 +- .../GraphPatternDeclaration.java | 102 +- .../GraphPatternReference.java | 102 +- .../applicationConfiguration/Import.java | 40 +- .../applicationConfiguration/IntEnumberation.java | 84 +- .../applicationConfiguration/IntegerReference.java | 38 +- .../applicationConfiguration/IntegerScope.java | 38 +- .../applicationConfiguration/IntegerTypeScope.java | 102 +- .../applicationConfiguration/IntervallNumber.java | 210 +- .../applicationConfiguration/MemoryEntry.java | 102 +- .../applicationConfiguration/Metamodel.java | 40 +- .../MetamodelDeclaration.java | 102 +- .../applicationConfiguration/MetamodelElement.java | 160 +- .../applicationConfiguration/MetamodelEntry.java | 106 +- .../MetamodelReference.java | 102 +- .../MetamodelSpecification.java | 84 +- .../applicationConfiguration/ModelEntry.java | 38 +- .../NumberSpecification.java | 40 +- .../applicationConfiguration/ObjectReference.java | 38 +- .../applicationConfiguration/ObjectTypeScope.java | 102 +- .../applicationConfiguration/Objective.java | 20 + .../ObjectiveDeclaration.java | 51 + .../applicationConfiguration/ObjectiveEntry.java | 52 + .../ObjectiveFunction.java | 20 + .../ObjectiveReference.java | 51 + .../ObjectiveSpecification.java | 42 + .../OptimizationDirection.java | 233 + .../OptimizationEntry.java | 54 + .../applicationConfiguration/PartialModel.java | 40 +- .../PartialModelDeclaration.java | 102 +- .../PartialModelEntry.java | 104 +- .../PartialModelReference.java | 102 +- .../PartialModelSpecification.java | 84 +- .../applicationConfiguration/PatternElement.java | 104 +- .../applicationConfiguration/PatternEntry.java | 108 +- .../PatternSpecification.java | 84 +- .../applicationConfiguration/RealEnumeration.java | 88 +- .../applicationConfiguration/RealReference.java | 38 +- .../applicationConfiguration/RealScope.java | 38 +- .../applicationConfiguration/RealTypeScope.java | 102 +- .../ReliabiltiyFunction.java | 80 + .../applicationConfiguration/RuntimeEntry.java | 102 +- .../applicationConfiguration/Scope.java | 40 +- .../applicationConfiguration/ScopeDeclaration.java | 102 +- .../applicationConfiguration/ScopeReference.java | 102 +- .../ScopeSpecification.java | 84 +- .../applicationConfiguration/Solver.java | 517 +- .../StringEnumeration.java | 84 +- .../applicationConfiguration/StringReference.java | 38 +- .../applicationConfiguration/StringScope.java | 38 +- .../applicationConfiguration/StringTypeScope.java | 102 +- .../application/applicationConfiguration/Task.java | 38 +- .../applicationConfiguration/ThresholdEntry.java | 82 + .../applicationConfiguration/TypeReference.java | 40 +- .../applicationConfiguration/TypeScope.java | 212 +- .../applicationConfiguration/ViatraImport.java | 104 +- .../impl/AllPackageEntryImpl.java | 333 +- .../impl/AllPatternEntryImpl.java | 333 +- .../impl/ApplicationConfigurationFactoryImpl.java | 2214 +- .../impl/ApplicationConfigurationPackageImpl.java | 5708 +- .../impl/CftImportImpl.java | 176 + .../impl/ClassReferenceImpl.java | 390 +- .../impl/ClassTypeScopeImpl.java | 390 +- .../applicationConfiguration/impl/CommandImpl.java | 86 +- .../impl/ConfigDeclarationImpl.java | 390 +- .../impl/ConfigEntryImpl.java | 86 +- .../applicationConfiguration/impl/ConfigImpl.java | 86 +- .../impl/ConfigReferenceImpl.java | 348 +- .../impl/ConfigSpecificationImpl.java | 333 +- .../impl/ConfigurationScriptImpl.java | 416 +- .../impl/CustomEntryImpl.java | 470 +- .../impl/DeclarationImpl.java | 356 +- .../impl/DocumentationEntryImpl.java | 358 +- .../impl/EPackageImportImpl.java | 348 +- .../impl/ExactNumberImpl.java | 470 +- .../impl/FileDeclarationImpl.java | 390 +- .../applicationConfiguration/impl/FileImpl.java | 86 +- .../impl/FileReferenceImpl.java | 348 +- .../impl/FileSpecificationImpl.java | 356 +- .../impl/FolderEntryImpl.java | 333 +- .../impl/GenerationTaskImpl.java | 2228 +- .../impl/GraphPatternDeclarationImpl.java | 390 +- .../impl/GraphPatternImpl.java | 86 +- .../impl/GraphPatternReferenceImpl.java | 348 +- .../applicationConfiguration/impl/ImportImpl.java | 86 +- .../impl/IntEnumberationImpl.java | 325 +- .../impl/IntegerReferenceImpl.java | 82 +- .../impl/IntegerScopeImpl.java | 82 +- .../impl/IntegerTypeScopeImpl.java | 390 +- .../impl/IntervallNumberImpl.java | 584 +- .../impl/MemoryEntryImpl.java | 356 +- .../impl/MetamodelDeclarationImpl.java | 390 +- .../impl/MetamodelElementImpl.java | 482 +- .../impl/MetamodelEntryImpl.java | 350 +- .../impl/MetamodelImpl.java | 86 +- .../impl/MetamodelReferenceImpl.java | 348 +- .../impl/MetamodelSpecificationImpl.java | 333 +- .../impl/ModelEntryImpl.java | 82 +- .../impl/NumberSpecificationImpl.java | 86 +- .../impl/ObjectReferenceImpl.java | 82 +- .../impl/ObjectTypeScopeImpl.java | 390 +- .../impl/ObjectiveDeclarationImpl.java | 196 + .../impl/ObjectiveEntryImpl.java | 197 + .../impl/ObjectiveFunctionImpl.java | 43 + .../impl/ObjectiveImpl.java | 43 + .../impl/ObjectiveReferenceImpl.java | 175 + .../impl/ObjectiveSpecificationImpl.java | 167 + .../impl/OptimizationEntryImpl.java | 180 + .../impl/PartialModelDeclarationImpl.java | 390 +- .../impl/PartialModelEntryImpl.java | 392 +- .../impl/PartialModelImpl.java | 86 +- .../impl/PartialModelReferenceImpl.java | 348 +- .../impl/PartialModelSpecificationImpl.java | 333 +- .../impl/PatternElementImpl.java | 350 +- .../impl/PatternEntryImpl.java | 352 +- .../impl/PatternSpecificationImpl.java | 333 +- .../impl/RealEnumerationImpl.java | 329 +- .../impl/RealReferenceImpl.java | 82 +- .../impl/RealScopeImpl.java | 82 +- .../impl/RealTypeScopeImpl.java | 390 +- .../impl/ReliabiltiyFunctionImpl.java | 244 + .../impl/RuntimeEntryImpl.java | 356 +- .../impl/ScopeDeclarationImpl.java | 390 +- .../applicationConfiguration/impl/ScopeImpl.java | 86 +- .../impl/ScopeReferenceImpl.java | 348 +- .../impl/ScopeSpecificationImpl.java | 333 +- .../impl/StringEnumerationImpl.java | 325 +- .../impl/StringReferenceImpl.java | 82 +- .../impl/StringScopeImpl.java | 82 +- .../impl/StringTypeScopeImpl.java | 390 +- .../applicationConfiguration/impl/TaskImpl.java | 82 +- .../impl/ThresholdEntryImpl.java | 240 + .../impl/TypeReferenceImpl.java | 86 +- .../impl/TypeScopeImpl.java | 650 +- .../impl/ViatraImportImpl.java | 350 +- .../ApplicationConfigurationAdapterFactory.java | 3106 +- .../util/ApplicationConfigurationSwitch.java | 3636 +- ...icationConfigurationAntlrTokenFileProvider.java | 32 +- .../antlr/ApplicationConfigurationParser.java | 80 +- .../internal/InternalApplicationConfiguration.g | 9205 +-- .../InternalApplicationConfiguration.tokens | 214 +- .../InternalApplicationConfigurationLexer.java | 4954 +- .../InternalApplicationConfigurationParser.java | 24967 +++---- ...tractApplicationConfigurationScopeProvider.java | 18 +- .../ApplicationConfigurationSemanticSequencer.java | 2175 +- ...ApplicationConfigurationSyntacticSequencer.java | 86 +- .../ApplicationConfigurationGrammarAccess.java | 7646 +- .../AbstractApplicationConfigurationValidator.java | 39 +- .../application/ApplicationConfiguration.xtext | 26 +- .../GenerateApplicationConfiguration.mwe2 | 1 + .../ApplicationConfigurationLinkingService.xtend | 186 +- .../ApplicationConfigurationScopeProvider.xtend | 233 +- .../logic2viatra/patterns/PatternProvider.xtend | 24 +- .../patterns/RelationDefinitionIndexer.xtend | 2 +- .../components/ide/.CftLanguageIdeModule.xtendbin | Bin 1712 -> 1712 bytes .../components/ide/.CftLanguageIdeSetup.xtendbin | Bin 2549 -> 2549 bytes .../faulttree/components/ide/.gitignore | 4 + .../components/ui/.CftLanguageUiModule.xtendbin | Bin 3606 -> 3606 bytes .../dslreasoner/faulttree/components/ui/.gitignore | 2 + .../.CftLanguageProposalProvider.xtendbin | Bin 1820 -> 1820 bytes .../components/ui/contentassist/.gitignore | 2 + .../.CftLanguageDescriptionLabelProvider.xtendbin | Bin 1993 -> 1993 bytes .../ui/labeling/.CftLanguageLabelProvider.xtendbin | Bin 2885 -> 2885 bytes .../faulttree/components/ui/labeling/.gitignore | 4 + .../.CftLanguageOutlineTreeProvider.xtendbin | Bin 2451 -> 2451 bytes .../faulttree/components/ui/outline/.gitignore | 2 + .../quickfix/.CftLanguageQuickfixProvider.xtendbin | Bin 1819 -> 1819 bytes .../faulttree/components/ui/quickfix/.gitignore | 2 + ...LanguageSemanticHighlightingCalculator.xtendbin | Bin 3773 -> 3773 bytes .../.CftLanguageTokenToAttributeIdMapper.xtendbin | Bin 2740 -> 2740 bytes .../components/ui/syntaxcoloring/.gitignore | 4 + .../scoping/CftLanguageScopeProvider.xtend | 11 +- .../components/.CftLanguageRuntimeModule.xtendbin | Bin 3436 -> 3436 bytes .../.CftLanguageStandaloneSetup.xtendbin | Bin 2015 -> 2015 bytes .../dslreasoner/faulttree/components/.gitignore | 4 + .../.CftLanguageValueConverterService.xtendbin | Bin 3002 -> 3002 bytes .../conversion/.OF_INTValueConverter.xtendbin | Bin 4411 -> 4411 bytes .../faulttree/components/conversion/.gitignore | 4 + .../generator/.CftLanguageGenerator.xtendbin | Bin 2365 -> 2365 bytes .../faulttree/components/generator/.gitignore | 2 + .../.CftLanguageQualifiedNameProvider.xtendbin | Bin 3630 -> 3630 bytes .../naming/.PackageNameProvider.xtendbin | Bin 3283 -> 3283 bytes .../faulttree/components/naming/.gitignore | 4 + ...portedNamespaceAwareLocalScopeProvider.xtendbin | Bin 4651 -> 4651 bytes .../scoping/.CftLanguageScopeProvider.xtendbin | Bin 8989 -> 9417 bytes .../faulttree/components/scoping/.gitignore | 4 + .../scoping/CftLanguageScopeProvider.java | 26 +- .../validation/.CftLanguageValidator.xtendbin | Bin 1760 -> 1760 bytes .../faulttree/components/validation/.gitignore | 2 + .../.classpath | 1 + .../META-INF/MANIFEST.MF | 15 +- .../faulttree/model/cft/CftPackage.java | 174 +- .../dslreasoner/faulttree/model/cft/Component.java | 32 +- .../faulttree/model/cft/Connection.java | 4 +- .../faulttree/model/cft/ModalElement.java | 54 + .../dslreasoner/faulttree/model/cft/Modality.java | 244 + .../faulttree/model/cft/impl/CftFactoryImpl.java | 51 + .../faulttree/model/cft/impl/CftPackageImpl.java | 76 + .../faulttree/model/cft/impl/ComponentImpl.java | 115 +- .../faulttree/model/cft/impl/ConnectionImpl.java | 71 + .../model/cft/util/CftAdapterFactory.java | 18 + .../faulttree/model/cft/util/CftSwitch.java | 23 + .../model/cft.ecore | 15 +- .../model/cft.genmodel | 9 + .../representations.aird | 176 +- .../faulttree/model/util/CftExtensions.xtend | 48 + .../faulttree/model/util/.CftExtensions.xtendbin | Bin 0 -> 4295 bytes .../dslreasoner/faulttree/model/util/.gitignore | 1 + .../faulttree/model/util/CftExtensions.java | 69 + .../META-INF/MANIFEST.MF | 1 - .../transformation/cft2ft/EventMaterializer.xtend | 8 +- .../ecore2cft/ComponentFaultTreeTrace.xtend | 12 +- .../ecore2cft/ComponentInstanceTrace.xtend | 18 +- .../transformation/ecore2cft/InputTrace.xtend | 8 +- .../ft2galileo/Ft2GalileoTransformation.xtend | 9 +- .../transformation/solver/StormDftHandler.xtend | 16 +- .../cft2ft/.Cft2FtTransformation.xtendbin | Bin 2825 -> 2825 bytes .../cft2ft/.EventCollection.xtendbin | Bin 7022 -> 7022 bytes .../cft2ft/.EventMaterializer.xtendbin | Bin 11808 -> 11938 bytes .../cft2ft/.FaultTreeBuilder.xtendbin | Bin 4029 -> 4029 bytes .../faulttree/transformation/cft2ft/.gitignore | 8 + .../transformation/cft2ft/EventMaterializer.java | 4 +- .../ecore2cft/.ComponentFaultTreeTrace.xtendbin | Bin 5009 -> 5530 bytes .../ecore2cft/.ComponentInstanceTrace.xtendbin | Bin 5190 -> 5932 bytes .../ecore2cft/.ComponentNameGenerator.xtendbin | Bin 3472 -> 3472 bytes .../ecore2cft/.Ecore2CftTransformation.xtendbin | Bin 3431 -> 3431 bytes .../transformation/ecore2cft/.InputTrace.xtendbin | Bin 3849 -> 4202 bytes .../ecore2cft/.LookupHandler.xtendbin | Bin 5169 -> 5169 bytes .../ecore2cft/.MappingHandler.xtendbin | Bin 6876 -> 6876 bytes .../ecore2cft/.MappingQueries.xtendbin | Bin 4833 -> 4833 bytes .../faulttree/transformation/ecore2cft/.gitignore | 16 + .../ecore2cft/ComponentFaultTreeTrace.java | 12 +- .../ecore2cft/ComponentInstanceTrace.java | 16 +- .../transformation/ecore2cft/InputTrace.java | 10 +- .../ft2galileo/.Ft2GalileoTransformation.xtendbin | Bin 4761 -> 4794 bytes .../faulttree/transformation/ft2galileo/.gitignore | 2 + .../ft2galileo/Ft2GalileoTransformation.java | 21 +- .../solver/.ReliabilityResult.xtendbin | Bin 5435 -> 5435 bytes .../solver/.StormDftConfiguration.xtendbin | Bin 4311 -> 4311 bytes .../solver/.StormDftHandler.xtendbin | Bin 13615 -> 13570 bytes .../transformation/solver/.StormDftSolver.xtendbin | Bin 4801 -> 4801 bytes .../faulttree/transformation/solver/.gitignore | 11 + .../transformation/solver/StormDftHandler.java | 37 +- .../.classpath | 8 + .../.project | 34 + .../.settings/org.eclipse.jdt.core.prefs | 7 + .../META-INF/MANIFEST.MF | 25 + .../bin/.gitignore | 1 + .../build.properties | 5 + .../plugin.xml | 25 + .../inf/dslreasoner/faulttree/ui/Activator.java | 44 + .../ui/handler/ReliabilityAnalysisHandler.xtend | 128 + .../dslreasoner/faulttree/ui/handler/.gitignore | 3 + .../META-INF/MANIFEST.MF | 19 +- .../build.properties | 6 +- 307 files changed, 113532 insertions(+), 98026 deletions(-) create mode 100644 Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/CftImport.java create mode 100644 Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ComparisonOperator.java create mode 100644 Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/Objective.java create mode 100644 Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ObjectiveDeclaration.java create mode 100644 Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ObjectiveEntry.java create mode 100644 Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ObjectiveFunction.java create mode 100644 Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ObjectiveReference.java create mode 100644 Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ObjectiveSpecification.java create mode 100644 Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/OptimizationDirection.java create mode 100644 Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/OptimizationEntry.java create mode 100644 Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ReliabiltiyFunction.java create mode 100644 Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ThresholdEntry.java create mode 100644 Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/CftImportImpl.java create mode 100644 Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ObjectiveDeclarationImpl.java create mode 100644 Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ObjectiveEntryImpl.java create mode 100644 Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ObjectiveFunctionImpl.java create mode 100644 Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ObjectiveImpl.java create mode 100644 Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ObjectiveReferenceImpl.java create mode 100644 Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ObjectiveSpecificationImpl.java create mode 100644 Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/OptimizationEntryImpl.java create mode 100644 Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ReliabiltiyFunctionImpl.java create mode 100644 Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ThresholdEntryImpl.java create mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/ModalElement.java create mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/Modality.java create mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/src/hu/bme/mit/inf/dslreasoner/faulttree/model/util/CftExtensions.xtend create mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/util/.CftExtensions.xtendbin create mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/util/.gitignore create mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/util/CftExtensions.java create mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.ui/.classpath create mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.ui/.project create mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.ui/.settings/org.eclipse.jdt.core.prefs create mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.ui/META-INF/MANIFEST.MF create mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.ui/bin/.gitignore create mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.ui/build.properties create mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.ui/plugin.xml create mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.ui/src/hu/bme/mit/inf/dslreasoner/faulttree/ui/Activator.java create mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.ui/src/hu/bme/mit/inf/dslreasoner/faulttree/ui/handler/ReliabilityAnalysisHandler.xtend create mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/ui/handler/.gitignore (limited to 'Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner') diff --git a/Application/hu.bme.mit.inf.dslreasoner.application.ide/META-INF/MANIFEST.MF b/Application/hu.bme.mit.inf.dslreasoner.application.ide/META-INF/MANIFEST.MF index 7627464c..3c981280 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application.ide/META-INF/MANIFEST.MF +++ b/Application/hu.bme.mit.inf.dslreasoner.application.ide/META-INF/MANIFEST.MF @@ -1,16 +1,15 @@ -Manifest-Version: 1.0 -Bundle-ManifestVersion: 2 -Bundle-Name: hu.bme.mit.inf.dslreasoner.application.ide -Bundle-Vendor: My Company -Bundle-Version: 1.0.0.qualifier -Bundle-SymbolicName: hu.bme.mit.inf.dslreasoner.application.ide; singleton:=true -Bundle-ActivationPolicy: lazy -Require-Bundle: hu.bme.mit.inf.dslreasoner.application, - org.eclipse.xtext.ide, - org.eclipse.xtext.xbase.ide, - org.antlr.runtime -Bundle-RequiredExecutionEnvironment: JavaSE-1.8 -Export-Package: hu.bme.mit.inf.dslreasoner.application.ide.contentassist.antlr.internal, - hu.bme.mit.inf.dslreasoner.application.ide.contentassist.antlr -Automatic-Module-Name: hu.bme.mit.inf.dslreasoner.application.ide - +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: hu.bme.mit.inf.dslreasoner.application.ide +Bundle-Vendor: My Company +Bundle-Version: 1.0.0.qualifier +Bundle-SymbolicName: hu.bme.mit.inf.dslreasoner.application.ide; singleton:=true +Bundle-ActivationPolicy: lazy +Require-Bundle: hu.bme.mit.inf.dslreasoner.application, + org.eclipse.xtext.ide, + org.eclipse.xtext.xbase.ide, + org.antlr.runtime;bundle-version="[3.2.0,3.2.1)" +Bundle-RequiredExecutionEnvironment: JavaSE-1.8 +Export-Package: hu.bme.mit.inf.dslreasoner.application.ide.contentassist.antlr.internal, + hu.bme.mit.inf.dslreasoner.application.ide.contentassist.antlr +Automatic-Module-Name: hu.bme.mit.inf.dslreasoner.application.ide diff --git a/Application/hu.bme.mit.inf.dslreasoner.application.ide/src-gen/META-INF/services/org.eclipse.xtext.ISetup b/Application/hu.bme.mit.inf.dslreasoner.application.ide/src-gen/META-INF/services/org.eclipse.xtext.ISetup index bf5786d3..db512225 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application.ide/src-gen/META-INF/services/org.eclipse.xtext.ISetup +++ b/Application/hu.bme.mit.inf.dslreasoner.application.ide/src-gen/META-INF/services/org.eclipse.xtext.ISetup @@ -1 +1 @@ -hu.bme.mit.inf.dslreasoner.application.ide.ApplicationConfigurationIdeSetup +hu.bme.mit.inf.dslreasoner.application.ide.ApplicationConfigurationIdeSetup diff --git a/Application/hu.bme.mit.inf.dslreasoner.application.ide/src-gen/hu/bme/mit/inf/dslreasoner/application/ide/AbstractApplicationConfigurationIdeModule.java b/Application/hu.bme.mit.inf.dslreasoner.application.ide/src-gen/hu/bme/mit/inf/dslreasoner/application/ide/AbstractApplicationConfigurationIdeModule.java index 94ca0fcb..be81a080 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application.ide/src-gen/hu/bme/mit/inf/dslreasoner/application/ide/AbstractApplicationConfigurationIdeModule.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application.ide/src-gen/hu/bme/mit/inf/dslreasoner/application/ide/AbstractApplicationConfigurationIdeModule.java @@ -1,47 +1,60 @@ -/* - * generated by Xtext 2.12.0 - */ -package hu.bme.mit.inf.dslreasoner.application.ide; - -import com.google.inject.Binder; -import com.google.inject.name.Names; -import hu.bme.mit.inf.dslreasoner.application.ide.contentassist.antlr.ApplicationConfigurationParser; -import hu.bme.mit.inf.dslreasoner.application.ide.contentassist.antlr.internal.InternalApplicationConfigurationLexer; -import org.eclipse.xtext.ide.DefaultIdeModule; -import org.eclipse.xtext.ide.LexerIdeBindings; -import org.eclipse.xtext.ide.editor.contentassist.FQNPrefixMatcher; -import org.eclipse.xtext.ide.editor.contentassist.IPrefixMatcher; -import org.eclipse.xtext.ide.editor.contentassist.IProposalConflictHelper; -import org.eclipse.xtext.ide.editor.contentassist.antlr.AntlrProposalConflictHelper; -import org.eclipse.xtext.ide.editor.contentassist.antlr.IContentAssistParser; -import org.eclipse.xtext.ide.editor.contentassist.antlr.internal.Lexer; - -/** - * Manual modifications go to {@link ApplicationConfigurationIdeModule}. - */ -@SuppressWarnings("all") -public abstract class AbstractApplicationConfigurationIdeModule extends DefaultIdeModule { - - // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 - public void configureContentAssistLexer(Binder binder) { - binder.bind(Lexer.class) - .annotatedWith(Names.named(LexerIdeBindings.CONTENT_ASSIST)) - .to(InternalApplicationConfigurationLexer.class); - } - - // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 - public Class bindIContentAssistParser() { - return ApplicationConfigurationParser.class; - } - - // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 - public Class bindIProposalConflictHelper() { - return AntlrProposalConflictHelper.class; - } - - // contributed by org.eclipse.xtext.xtext.generator.exporting.QualifiedNamesFragment2 - public Class bindIPrefixMatcher() { - return FQNPrefixMatcher.class; - } - -} +/* + * generated by Xtext 2.16.0 + */ +package hu.bme.mit.inf.dslreasoner.application.ide; + +import com.google.inject.Binder; +import com.google.inject.name.Names; +import hu.bme.mit.inf.dslreasoner.application.ide.contentassist.antlr.ApplicationConfigurationParser; +import hu.bme.mit.inf.dslreasoner.application.ide.contentassist.antlr.internal.InternalApplicationConfigurationLexer; +import org.eclipse.xtext.ide.DefaultIdeModule; +import org.eclipse.xtext.ide.LexerIdeBindings; +import org.eclipse.xtext.ide.editor.contentassist.FQNPrefixMatcher; +import org.eclipse.xtext.ide.editor.contentassist.IPrefixMatcher; +import org.eclipse.xtext.ide.editor.contentassist.IProposalConflictHelper; +import org.eclipse.xtext.ide.editor.contentassist.antlr.AntlrProposalConflictHelper; +import org.eclipse.xtext.ide.editor.contentassist.antlr.IContentAssistParser; +import org.eclipse.xtext.ide.editor.contentassist.antlr.internal.Lexer; +import org.eclipse.xtext.ide.refactoring.IRenameStrategy2; +import org.eclipse.xtext.ide.server.rename.IRenameService; +import org.eclipse.xtext.ide.server.rename.RenameService; + +/** + * Manual modifications go to {@link ApplicationConfigurationIdeModule}. + */ +@SuppressWarnings("all") +public abstract class AbstractApplicationConfigurationIdeModule extends DefaultIdeModule { + + // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 + public void configureContentAssistLexer(Binder binder) { + binder.bind(Lexer.class) + .annotatedWith(Names.named(LexerIdeBindings.CONTENT_ASSIST)) + .to(InternalApplicationConfigurationLexer.class); + } + + // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 + public Class bindIContentAssistParser() { + return ApplicationConfigurationParser.class; + } + + // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 + public Class bindIProposalConflictHelper() { + return AntlrProposalConflictHelper.class; + } + + // contributed by org.eclipse.xtext.xtext.generator.exporting.QualifiedNamesFragment2 + public Class bindIPrefixMatcher() { + return FQNPrefixMatcher.class; + } + + // contributed by org.eclipse.xtext.xtext.generator.ui.refactoring.RefactorElementNameFragment2 + public Class bindIRenameService() { + return RenameService.class; + } + + // contributed by org.eclipse.xtext.xtext.generator.ui.refactoring.RefactorElementNameFragment2 + public Class bindIRenameStrategy2() { + return IRenameStrategy2.DefaultImpl.class; + } + +} diff --git a/Application/hu.bme.mit.inf.dslreasoner.application.ide/src-gen/hu/bme/mit/inf/dslreasoner/application/ide/contentassist/antlr/ApplicationConfigurationParser.java b/Application/hu.bme.mit.inf.dslreasoner.application.ide/src-gen/hu/bme/mit/inf/dslreasoner/application/ide/contentassist/antlr/ApplicationConfigurationParser.java index 15bd7ac0..12bf94a5 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application.ide/src-gen/hu/bme/mit/inf/dslreasoner/application/ide/contentassist/antlr/ApplicationConfigurationParser.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application.ide/src-gen/hu/bme/mit/inf/dslreasoner/application/ide/contentassist/antlr/ApplicationConfigurationParser.java @@ -1,266 +1,316 @@ -/* - * generated by Xtext 2.12.0 - */ -package hu.bme.mit.inf.dslreasoner.application.ide.contentassist.antlr; - -import com.google.inject.Inject; -import hu.bme.mit.inf.dslreasoner.application.ide.contentassist.antlr.internal.InternalApplicationConfigurationParser; -import hu.bme.mit.inf.dslreasoner.application.services.ApplicationConfigurationGrammarAccess; -import java.util.HashMap; -import java.util.Map; -import org.eclipse.xtext.AbstractElement; -import org.eclipse.xtext.ide.editor.contentassist.antlr.AbstractContentAssistParser; - -public class ApplicationConfigurationParser extends AbstractContentAssistParser { - - @Inject - private ApplicationConfigurationGrammarAccess grammarAccess; - - private Map nameMappings; - - @Override - protected InternalApplicationConfigurationParser createParser() { - InternalApplicationConfigurationParser result = new InternalApplicationConfigurationParser(null); - result.setGrammarAccess(grammarAccess); - return result; - } - - @Override - protected String getRuleName(AbstractElement element) { - if (nameMappings == null) { - nameMappings = new HashMap() { - private static final long serialVersionUID = 1L; - { - put(grammarAccess.getCommandAccess().getAlternatives(), "rule__Command__Alternatives"); - put(grammarAccess.getImportAccess().getAlternatives(), "rule__Import__Alternatives"); - put(grammarAccess.getDeclarationAccess().getAlternatives(), "rule__Declaration__Alternatives"); - put(grammarAccess.getFileAccess().getAlternatives(), "rule__File__Alternatives"); - put(grammarAccess.getMetamodelEntryAccess().getAlternatives(), "rule__MetamodelEntry__Alternatives"); - put(grammarAccess.getMetamodelAccess().getAlternatives(), "rule__Metamodel__Alternatives"); - put(grammarAccess.getPartialModelEntryAccess().getAlternatives(), "rule__PartialModelEntry__Alternatives"); - put(grammarAccess.getPartialModelAccess().getAlternatives(), "rule__PartialModel__Alternatives"); - put(grammarAccess.getPatternEntryAccess().getAlternatives(), "rule__PatternEntry__Alternatives"); - put(grammarAccess.getGraphPatternAccess().getAlternatives(), "rule__GraphPattern__Alternatives"); - put(grammarAccess.getConfigEntryAccess().getAlternatives(), "rule__ConfigEntry__Alternatives"); - put(grammarAccess.getConfigAccess().getAlternatives(), "rule__Config__Alternatives"); - put(grammarAccess.getTypeScopeAccess().getAlternatives(), "rule__TypeScope__Alternatives"); - put(grammarAccess.getClassTypeScopeAccess().getAlternatives_2(), "rule__ClassTypeScope__Alternatives_2"); - put(grammarAccess.getClassTypeScopeAccess().getAlternatives_3(), "rule__ClassTypeScope__Alternatives_3"); - put(grammarAccess.getObjectTypeScopeAccess().getAlternatives_2(), "rule__ObjectTypeScope__Alternatives_2"); - put(grammarAccess.getObjectTypeScopeAccess().getAlternatives_3(), "rule__ObjectTypeScope__Alternatives_3"); - put(grammarAccess.getIntegerTypeScopeAccess().getAlternatives_2(), "rule__IntegerTypeScope__Alternatives_2"); - put(grammarAccess.getIntegerTypeScopeAccess().getAlternatives_3(), "rule__IntegerTypeScope__Alternatives_3"); - put(grammarAccess.getRealTypeScopeAccess().getAlternatives_2(), "rule__RealTypeScope__Alternatives_2"); - put(grammarAccess.getRealTypeScopeAccess().getAlternatives_3(), "rule__RealTypeScope__Alternatives_3"); - put(grammarAccess.getStringTypeScopeAccess().getAlternatives_2(), "rule__StringTypeScope__Alternatives_2"); - put(grammarAccess.getStringTypeScopeAccess().getAlternatives_3(), "rule__StringTypeScope__Alternatives_3"); - put(grammarAccess.getTypeReferenceAccess().getAlternatives(), "rule__TypeReference__Alternatives"); - put(grammarAccess.getNumberSpecificationAccess().getAlternatives(), "rule__NumberSpecification__Alternatives"); - put(grammarAccess.getExactNumberAccess().getAlternatives(), "rule__ExactNumber__Alternatives"); - put(grammarAccess.getIntervallNumberAccess().getAlternatives_2(), "rule__IntervallNumber__Alternatives_2"); - put(grammarAccess.getScopeAccess().getAlternatives(), "rule__Scope__Alternatives"); - put(grammarAccess.getDocumentLevelSpecificationAccess().getAlternatives(), "rule__DocumentLevelSpecification__Alternatives"); - put(grammarAccess.getSolverAccess().getAlternatives(), "rule__Solver__Alternatives"); - put(grammarAccess.getConfigurationScriptAccess().getGroup(), "rule__ConfigurationScript__Group__0"); - put(grammarAccess.getQualifiedNameAccess().getGroup(), "rule__QualifiedName__Group__0"); - put(grammarAccess.getQualifiedNameAccess().getGroup_1(), "rule__QualifiedName__Group_1__0"); - put(grammarAccess.getREALLiteralAccess().getGroup(), "rule__REALLiteral__Group__0"); - put(grammarAccess.getINTLiteralAccess().getGroup(), "rule__INTLiteral__Group__0"); - put(grammarAccess.getEPackageImportAccess().getGroup(), "rule__EPackageImport__Group__0"); - put(grammarAccess.getViatraImportAccess().getGroup(), "rule__ViatraImport__Group__0"); - put(grammarAccess.getFileDeclarationAccess().getGroup(), "rule__FileDeclaration__Group__0"); - put(grammarAccess.getMetamodelSpecificationAccess().getGroup(), "rule__MetamodelSpecification__Group__0"); - put(grammarAccess.getMetamodelSpecificationAccess().getGroup_2(), "rule__MetamodelSpecification__Group_2__0"); - put(grammarAccess.getAllPackageEntryAccess().getGroup(), "rule__AllPackageEntry__Group__0"); - put(grammarAccess.getAllPackageEntryAccess().getGroup_2(), "rule__AllPackageEntry__Group_2__0"); - put(grammarAccess.getAllPackageEntryAccess().getGroup_2_3(), "rule__AllPackageEntry__Group_2_3__0"); - put(grammarAccess.getMetamodelElementAccess().getGroup(), "rule__MetamodelElement__Group__0"); - put(grammarAccess.getMetamodelElementAccess().getGroup_0(), "rule__MetamodelElement__Group_0__0"); - put(grammarAccess.getMetamodelElementAccess().getGroup_2(), "rule__MetamodelElement__Group_2__0"); - put(grammarAccess.getMetamodelDeclarationAccess().getGroup(), "rule__MetamodelDeclaration__Group__0"); - put(grammarAccess.getPartialModelSpecificationAccess().getGroup(), "rule__PartialModelSpecification__Group__0"); - put(grammarAccess.getPartialModelSpecificationAccess().getGroup_2(), "rule__PartialModelSpecification__Group_2__0"); - put(grammarAccess.getFolderEntryAccess().getGroup(), "rule__FolderEntry__Group__0"); - put(grammarAccess.getFolderEntryAccess().getGroup_2(), "rule__FolderEntry__Group_2__0"); - put(grammarAccess.getFolderEntryAccess().getGroup_2_3(), "rule__FolderEntry__Group_2_3__0"); - put(grammarAccess.getPartialModelDeclarationAccess().getGroup(), "rule__PartialModelDeclaration__Group__0"); - put(grammarAccess.getPatternSpecificationAccess().getGroup(), "rule__PatternSpecification__Group__0"); - put(grammarAccess.getPatternSpecificationAccess().getGroup_2(), "rule__PatternSpecification__Group_2__0"); - put(grammarAccess.getAllPatternEntryAccess().getGroup(), "rule__AllPatternEntry__Group__0"); - put(grammarAccess.getAllPatternEntryAccess().getGroup_2(), "rule__AllPatternEntry__Group_2__0"); - put(grammarAccess.getAllPatternEntryAccess().getGroup_2_3(), "rule__AllPatternEntry__Group_2_3__0"); - put(grammarAccess.getPatternElementAccess().getGroup(), "rule__PatternElement__Group__0"); - put(grammarAccess.getPatternElementAccess().getGroup_0(), "rule__PatternElement__Group_0__0"); - put(grammarAccess.getGraphPatternDeclarationAccess().getGroup(), "rule__GraphPatternDeclaration__Group__0"); - put(grammarAccess.getConfigSpecificationAccess().getGroup(), "rule__ConfigSpecification__Group__0"); - put(grammarAccess.getConfigSpecificationAccess().getGroup_2(), "rule__ConfigSpecification__Group_2__0"); - put(grammarAccess.getConfigSpecificationAccess().getGroup_2_1(), "rule__ConfigSpecification__Group_2_1__0"); - put(grammarAccess.getConfigDeclarationAccess().getGroup(), "rule__ConfigDeclaration__Group__0"); - put(grammarAccess.getDocumentationEntryAccess().getGroup(), "rule__DocumentationEntry__Group__0"); - put(grammarAccess.getRuntimeEntryAccess().getGroup(), "rule__RuntimeEntry__Group__0"); - put(grammarAccess.getMemoryEntryAccess().getGroup(), "rule__MemoryEntry__Group__0"); - put(grammarAccess.getCustomEntryAccess().getGroup(), "rule__CustomEntry__Group__0"); - put(grammarAccess.getScopeSpecificationAccess().getGroup(), "rule__ScopeSpecification__Group__0"); - put(grammarAccess.getScopeSpecificationAccess().getGroup_2(), "rule__ScopeSpecification__Group_2__0"); - put(grammarAccess.getScopeSpecificationAccess().getGroup_2_1(), "rule__ScopeSpecification__Group_2_1__0"); - put(grammarAccess.getClassTypeScopeAccess().getGroup(), "rule__ClassTypeScope__Group__0"); - put(grammarAccess.getObjectTypeScopeAccess().getGroup(), "rule__ObjectTypeScope__Group__0"); - put(grammarAccess.getIntegerTypeScopeAccess().getGroup(), "rule__IntegerTypeScope__Group__0"); - put(grammarAccess.getRealTypeScopeAccess().getGroup(), "rule__RealTypeScope__Group__0"); - put(grammarAccess.getStringTypeScopeAccess().getGroup(), "rule__StringTypeScope__Group__0"); - put(grammarAccess.getClassReferenceAccess().getGroup(), "rule__ClassReference__Group__0"); - put(grammarAccess.getObjectReferenceAccess().getGroup(), "rule__ObjectReference__Group__0"); - put(grammarAccess.getIntegerReferenceAccess().getGroup(), "rule__IntegerReference__Group__0"); - put(grammarAccess.getRealReferenceAccess().getGroup(), "rule__RealReference__Group__0"); - put(grammarAccess.getStringReferenceAccess().getGroup(), "rule__StringReference__Group__0"); - put(grammarAccess.getIntervallNumberAccess().getGroup(), "rule__IntervallNumber__Group__0"); - put(grammarAccess.getIntEnumberationAccess().getGroup(), "rule__IntEnumberation__Group__0"); - put(grammarAccess.getIntEnumberationAccess().getGroup_2(), "rule__IntEnumberation__Group_2__0"); - put(grammarAccess.getIntEnumberationAccess().getGroup_2_1(), "rule__IntEnumberation__Group_2_1__0"); - put(grammarAccess.getRealEnumerationAccess().getGroup(), "rule__RealEnumeration__Group__0"); - put(grammarAccess.getRealEnumerationAccess().getGroup_2(), "rule__RealEnumeration__Group_2__0"); - put(grammarAccess.getRealEnumerationAccess().getGroup_2_1(), "rule__RealEnumeration__Group_2_1__0"); - put(grammarAccess.getStringEnumerationAccess().getGroup(), "rule__StringEnumeration__Group__0"); - put(grammarAccess.getStringEnumerationAccess().getGroup_2(), "rule__StringEnumeration__Group_2__0"); - put(grammarAccess.getStringEnumerationAccess().getGroup_2_1(), "rule__StringEnumeration__Group_2_1__0"); - put(grammarAccess.getScopeDeclarationAccess().getGroup(), "rule__ScopeDeclaration__Group__0"); - put(grammarAccess.getGenerationTaskAccess().getGroup(), "rule__GenerationTask__Group__0"); - put(grammarAccess.getGenerationTaskAccess().getGroup_3_0(), "rule__GenerationTask__Group_3_0__0"); - put(grammarAccess.getGenerationTaskAccess().getGroup_3_1(), "rule__GenerationTask__Group_3_1__0"); - put(grammarAccess.getGenerationTaskAccess().getGroup_3_2(), "rule__GenerationTask__Group_3_2__0"); - put(grammarAccess.getGenerationTaskAccess().getGroup_3_3(), "rule__GenerationTask__Group_3_3__0"); - put(grammarAccess.getGenerationTaskAccess().getGroup_3_4(), "rule__GenerationTask__Group_3_4__0"); - put(grammarAccess.getGenerationTaskAccess().getGroup_3_5(), "rule__GenerationTask__Group_3_5__0"); - put(grammarAccess.getGenerationTaskAccess().getGroup_3_6(), "rule__GenerationTask__Group_3_6__0"); - put(grammarAccess.getGenerationTaskAccess().getGroup_3_7(), "rule__GenerationTask__Group_3_7__0"); - put(grammarAccess.getGenerationTaskAccess().getGroup_3_8(), "rule__GenerationTask__Group_3_8__0"); - put(grammarAccess.getGenerationTaskAccess().getGroup_3_9(), "rule__GenerationTask__Group_3_9__0"); - put(grammarAccess.getGenerationTaskAccess().getGroup_3_10(), "rule__GenerationTask__Group_3_10__0"); - put(grammarAccess.getGenerationTaskAccess().getGroup_3_11(), "rule__GenerationTask__Group_3_11__0"); - put(grammarAccess.getConfigurationScriptAccess().getImportsAssignment_0(), "rule__ConfigurationScript__ImportsAssignment_0"); - put(grammarAccess.getConfigurationScriptAccess().getCommandsAssignment_1(), "rule__ConfigurationScript__CommandsAssignment_1"); - put(grammarAccess.getEPackageImportAccess().getImportedPackageAssignment_2(), "rule__EPackageImport__ImportedPackageAssignment_2"); - put(grammarAccess.getViatraImportAccess().getImportedViatraAssignment_2(), "rule__ViatraImport__ImportedViatraAssignment_2"); - put(grammarAccess.getFileSpecificationAccess().getPathAssignment(), "rule__FileSpecification__PathAssignment"); - put(grammarAccess.getFileDeclarationAccess().getNameAssignment_1(), "rule__FileDeclaration__NameAssignment_1"); - put(grammarAccess.getFileDeclarationAccess().getSpecificationAssignment_3(), "rule__FileDeclaration__SpecificationAssignment_3"); - put(grammarAccess.getFileReferenceAccess().getReferredAssignment(), "rule__FileReference__ReferredAssignment"); - put(grammarAccess.getMetamodelSpecificationAccess().getEntriesAssignment_1(), "rule__MetamodelSpecification__EntriesAssignment_1"); - put(grammarAccess.getMetamodelSpecificationAccess().getEntriesAssignment_2_1(), "rule__MetamodelSpecification__EntriesAssignment_2_1"); - put(grammarAccess.getAllPackageEntryAccess().getPackageAssignment_1(), "rule__AllPackageEntry__PackageAssignment_1"); - put(grammarAccess.getAllPackageEntryAccess().getExclusionAssignment_2_2(), "rule__AllPackageEntry__ExclusionAssignment_2_2"); - put(grammarAccess.getAllPackageEntryAccess().getExclusionAssignment_2_3_1(), "rule__AllPackageEntry__ExclusionAssignment_2_3_1"); - put(grammarAccess.getMetamodelElementAccess().getPackageAssignment_0_0(), "rule__MetamodelElement__PackageAssignment_0_0"); - put(grammarAccess.getMetamodelElementAccess().getClassifierAssignment_1(), "rule__MetamodelElement__ClassifierAssignment_1"); - put(grammarAccess.getMetamodelElementAccess().getFeatureAssignment_2_1(), "rule__MetamodelElement__FeatureAssignment_2_1"); - put(grammarAccess.getMetamodelDeclarationAccess().getNameAssignment_1(), "rule__MetamodelDeclaration__NameAssignment_1"); - put(grammarAccess.getMetamodelDeclarationAccess().getSpecificationAssignment_2(), "rule__MetamodelDeclaration__SpecificationAssignment_2"); - put(grammarAccess.getMetamodelReferenceAccess().getReferredAssignment(), "rule__MetamodelReference__ReferredAssignment"); - put(grammarAccess.getPartialModelSpecificationAccess().getEntryAssignment_1(), "rule__PartialModelSpecification__EntryAssignment_1"); - put(grammarAccess.getPartialModelSpecificationAccess().getEntryAssignment_2_1(), "rule__PartialModelSpecification__EntryAssignment_2_1"); - put(grammarAccess.getModelEntryAccess().getPathAssignment(), "rule__ModelEntry__PathAssignment"); - put(grammarAccess.getFolderEntryAccess().getPathAssignment_1(), "rule__FolderEntry__PathAssignment_1"); - put(grammarAccess.getFolderEntryAccess().getExclusionAssignment_2_2(), "rule__FolderEntry__ExclusionAssignment_2_2"); - put(grammarAccess.getFolderEntryAccess().getExclusionAssignment_2_3_1(), "rule__FolderEntry__ExclusionAssignment_2_3_1"); - put(grammarAccess.getPartialModelDeclarationAccess().getNameAssignment_1(), "rule__PartialModelDeclaration__NameAssignment_1"); - put(grammarAccess.getPartialModelDeclarationAccess().getSpecificationAssignment_2(), "rule__PartialModelDeclaration__SpecificationAssignment_2"); - put(grammarAccess.getPartialModelReferenceAccess().getReferredAssignment(), "rule__PartialModelReference__ReferredAssignment"); - put(grammarAccess.getPatternSpecificationAccess().getEntriesAssignment_1(), "rule__PatternSpecification__EntriesAssignment_1"); - put(grammarAccess.getPatternSpecificationAccess().getEntriesAssignment_2_1(), "rule__PatternSpecification__EntriesAssignment_2_1"); - put(grammarAccess.getAllPatternEntryAccess().getPackageAssignment_1(), "rule__AllPatternEntry__PackageAssignment_1"); - put(grammarAccess.getAllPatternEntryAccess().getExclusuionAssignment_2_2(), "rule__AllPatternEntry__ExclusuionAssignment_2_2"); - put(grammarAccess.getAllPatternEntryAccess().getExclusuionAssignment_2_3_1(), "rule__AllPatternEntry__ExclusuionAssignment_2_3_1"); - put(grammarAccess.getPatternElementAccess().getPackageAssignment_0_0(), "rule__PatternElement__PackageAssignment_0_0"); - put(grammarAccess.getPatternElementAccess().getPatternAssignment_1(), "rule__PatternElement__PatternAssignment_1"); - put(grammarAccess.getGraphPatternDeclarationAccess().getNameAssignment_1(), "rule__GraphPatternDeclaration__NameAssignment_1"); - put(grammarAccess.getGraphPatternDeclarationAccess().getSpecificationAssignment_2(), "rule__GraphPatternDeclaration__SpecificationAssignment_2"); - put(grammarAccess.getGraphPatternReferenceAccess().getReferredAssignment(), "rule__GraphPatternReference__ReferredAssignment"); - put(grammarAccess.getConfigSpecificationAccess().getEntriesAssignment_2_0(), "rule__ConfigSpecification__EntriesAssignment_2_0"); - put(grammarAccess.getConfigSpecificationAccess().getEntriesAssignment_2_1_1(), "rule__ConfigSpecification__EntriesAssignment_2_1_1"); - put(grammarAccess.getConfigDeclarationAccess().getNameAssignment_1(), "rule__ConfigDeclaration__NameAssignment_1"); - put(grammarAccess.getConfigDeclarationAccess().getSpecificationAssignment_2(), "rule__ConfigDeclaration__SpecificationAssignment_2"); - put(grammarAccess.getDocumentationEntryAccess().getLevelAssignment_2(), "rule__DocumentationEntry__LevelAssignment_2"); - put(grammarAccess.getRuntimeEntryAccess().getMillisecLimitAssignment_2(), "rule__RuntimeEntry__MillisecLimitAssignment_2"); - put(grammarAccess.getMemoryEntryAccess().getMegabyteLimitAssignment_2(), "rule__MemoryEntry__MegabyteLimitAssignment_2"); - put(grammarAccess.getCustomEntryAccess().getKeyAssignment_0(), "rule__CustomEntry__KeyAssignment_0"); - put(grammarAccess.getCustomEntryAccess().getValueAssignment_2(), "rule__CustomEntry__ValueAssignment_2"); - put(grammarAccess.getConfigReferenceAccess().getConfigAssignment(), "rule__ConfigReference__ConfigAssignment"); - put(grammarAccess.getScopeSpecificationAccess().getScopesAssignment_2_0(), "rule__ScopeSpecification__ScopesAssignment_2_0"); - put(grammarAccess.getScopeSpecificationAccess().getScopesAssignment_2_1_1(), "rule__ScopeSpecification__ScopesAssignment_2_1_1"); - put(grammarAccess.getClassTypeScopeAccess().getTypeAssignment_1(), "rule__ClassTypeScope__TypeAssignment_1"); - put(grammarAccess.getClassTypeScopeAccess().getSetsNewAssignment_2_0(), "rule__ClassTypeScope__SetsNewAssignment_2_0"); - put(grammarAccess.getClassTypeScopeAccess().getSetsSumAssignment_2_1(), "rule__ClassTypeScope__SetsSumAssignment_2_1"); - put(grammarAccess.getClassTypeScopeAccess().getNumberAssignment_3_0(), "rule__ClassTypeScope__NumberAssignment_3_0"); - put(grammarAccess.getClassTypeScopeAccess().getNumberAssignment_3_1(), "rule__ClassTypeScope__NumberAssignment_3_1"); - put(grammarAccess.getObjectTypeScopeAccess().getTypeAssignment_1(), "rule__ObjectTypeScope__TypeAssignment_1"); - put(grammarAccess.getObjectTypeScopeAccess().getSetsNewAssignment_2_0(), "rule__ObjectTypeScope__SetsNewAssignment_2_0"); - put(grammarAccess.getObjectTypeScopeAccess().getSetsSumAssignment_2_1(), "rule__ObjectTypeScope__SetsSumAssignment_2_1"); - put(grammarAccess.getObjectTypeScopeAccess().getNumberAssignment_3_0(), "rule__ObjectTypeScope__NumberAssignment_3_0"); - put(grammarAccess.getObjectTypeScopeAccess().getNumberAssignment_3_1(), "rule__ObjectTypeScope__NumberAssignment_3_1"); - put(grammarAccess.getIntegerTypeScopeAccess().getTypeAssignment_1(), "rule__IntegerTypeScope__TypeAssignment_1"); - put(grammarAccess.getIntegerTypeScopeAccess().getSetsNewAssignment_2_0(), "rule__IntegerTypeScope__SetsNewAssignment_2_0"); - put(grammarAccess.getIntegerTypeScopeAccess().getSetsSumAssignment_2_1(), "rule__IntegerTypeScope__SetsSumAssignment_2_1"); - put(grammarAccess.getIntegerTypeScopeAccess().getNumberAssignment_3_0(), "rule__IntegerTypeScope__NumberAssignment_3_0"); - put(grammarAccess.getIntegerTypeScopeAccess().getNumberAssignment_3_1(), "rule__IntegerTypeScope__NumberAssignment_3_1"); - put(grammarAccess.getIntegerTypeScopeAccess().getNumberAssignment_3_2(), "rule__IntegerTypeScope__NumberAssignment_3_2"); - put(grammarAccess.getRealTypeScopeAccess().getTypeAssignment_1(), "rule__RealTypeScope__TypeAssignment_1"); - put(grammarAccess.getRealTypeScopeAccess().getSetsNewAssignment_2_0(), "rule__RealTypeScope__SetsNewAssignment_2_0"); - put(grammarAccess.getRealTypeScopeAccess().getSetsSumAssignment_2_1(), "rule__RealTypeScope__SetsSumAssignment_2_1"); - put(grammarAccess.getRealTypeScopeAccess().getNumberAssignment_3_0(), "rule__RealTypeScope__NumberAssignment_3_0"); - put(grammarAccess.getRealTypeScopeAccess().getNumberAssignment_3_1(), "rule__RealTypeScope__NumberAssignment_3_1"); - put(grammarAccess.getRealTypeScopeAccess().getNumberAssignment_3_2(), "rule__RealTypeScope__NumberAssignment_3_2"); - put(grammarAccess.getStringTypeScopeAccess().getTypeAssignment_1(), "rule__StringTypeScope__TypeAssignment_1"); - put(grammarAccess.getStringTypeScopeAccess().getSetsNewAssignment_2_0(), "rule__StringTypeScope__SetsNewAssignment_2_0"); - put(grammarAccess.getStringTypeScopeAccess().getSetsSumAssignment_2_1(), "rule__StringTypeScope__SetsSumAssignment_2_1"); - put(grammarAccess.getStringTypeScopeAccess().getNumberAssignment_3_0(), "rule__StringTypeScope__NumberAssignment_3_0"); - put(grammarAccess.getStringTypeScopeAccess().getNumberAssignment_3_1(), "rule__StringTypeScope__NumberAssignment_3_1"); - put(grammarAccess.getStringTypeScopeAccess().getNumberAssignment_3_2(), "rule__StringTypeScope__NumberAssignment_3_2"); - put(grammarAccess.getClassReferenceAccess().getElementAssignment_1(), "rule__ClassReference__ElementAssignment_1"); - put(grammarAccess.getExactNumberAccess().getExactNumberAssignment_0(), "rule__ExactNumber__ExactNumberAssignment_0"); - put(grammarAccess.getExactNumberAccess().getExactUnlimitedAssignment_1(), "rule__ExactNumber__ExactUnlimitedAssignment_1"); - put(grammarAccess.getIntervallNumberAccess().getMinAssignment_0(), "rule__IntervallNumber__MinAssignment_0"); - put(grammarAccess.getIntervallNumberAccess().getMaxNumberAssignment_2_0(), "rule__IntervallNumber__MaxNumberAssignment_2_0"); - put(grammarAccess.getIntervallNumberAccess().getMaxUnlimitedAssignment_2_1(), "rule__IntervallNumber__MaxUnlimitedAssignment_2_1"); - put(grammarAccess.getIntEnumberationAccess().getEntryAssignment_2_0(), "rule__IntEnumberation__EntryAssignment_2_0"); - put(grammarAccess.getIntEnumberationAccess().getEntryAssignment_2_1_1(), "rule__IntEnumberation__EntryAssignment_2_1_1"); - put(grammarAccess.getRealEnumerationAccess().getEntryAssignment_2_0(), "rule__RealEnumeration__EntryAssignment_2_0"); - put(grammarAccess.getRealEnumerationAccess().getEntryAssignment_2_1_1(), "rule__RealEnumeration__EntryAssignment_2_1_1"); - put(grammarAccess.getStringEnumerationAccess().getEntryAssignment_2_0(), "rule__StringEnumeration__EntryAssignment_2_0"); - put(grammarAccess.getStringEnumerationAccess().getEntryAssignment_2_1_1(), "rule__StringEnumeration__EntryAssignment_2_1_1"); - put(grammarAccess.getScopeDeclarationAccess().getNameAssignment_1(), "rule__ScopeDeclaration__NameAssignment_1"); - put(grammarAccess.getScopeDeclarationAccess().getSpecificationAssignment_2(), "rule__ScopeDeclaration__SpecificationAssignment_2"); - put(grammarAccess.getScopeReferenceAccess().getReferredAssignment(), "rule__ScopeReference__ReferredAssignment"); - put(grammarAccess.getGenerationTaskAccess().getMetamodelAssignment_3_0_2(), "rule__GenerationTask__MetamodelAssignment_3_0_2"); - put(grammarAccess.getGenerationTaskAccess().getPartialModelAssignment_3_1_2(), "rule__GenerationTask__PartialModelAssignment_3_1_2"); - put(grammarAccess.getGenerationTaskAccess().getPatternsAssignment_3_2_2(), "rule__GenerationTask__PatternsAssignment_3_2_2"); - put(grammarAccess.getGenerationTaskAccess().getScopeAssignment_3_3_2(), "rule__GenerationTask__ScopeAssignment_3_3_2"); - put(grammarAccess.getGenerationTaskAccess().getNumberSpecifiedAssignment_3_4_0(), "rule__GenerationTask__NumberSpecifiedAssignment_3_4_0"); - put(grammarAccess.getGenerationTaskAccess().getNumberAssignment_3_4_2(), "rule__GenerationTask__NumberAssignment_3_4_2"); - put(grammarAccess.getGenerationTaskAccess().getRunSpecifiedAssignment_3_5_0(), "rule__GenerationTask__RunSpecifiedAssignment_3_5_0"); - put(grammarAccess.getGenerationTaskAccess().getRunsAssignment_3_5_2(), "rule__GenerationTask__RunsAssignment_3_5_2"); - put(grammarAccess.getGenerationTaskAccess().getSolverAssignment_3_6_2(), "rule__GenerationTask__SolverAssignment_3_6_2"); - put(grammarAccess.getGenerationTaskAccess().getConfigAssignment_3_7_2(), "rule__GenerationTask__ConfigAssignment_3_7_2"); - put(grammarAccess.getGenerationTaskAccess().getDebugFolderAssignment_3_8_2(), "rule__GenerationTask__DebugFolderAssignment_3_8_2"); - put(grammarAccess.getGenerationTaskAccess().getTargetLogFileAssignment_3_9_2(), "rule__GenerationTask__TargetLogFileAssignment_3_9_2"); - put(grammarAccess.getGenerationTaskAccess().getTargetStatisticsFileAssignment_3_10_2(), "rule__GenerationTask__TargetStatisticsFileAssignment_3_10_2"); - put(grammarAccess.getGenerationTaskAccess().getTagetFolderAssignment_3_11_2(), "rule__GenerationTask__TagetFolderAssignment_3_11_2"); - put(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), "rule__GenerationTask__UnorderedGroup_3"); - } - }; - } - return nameMappings.get(element); - } - - @Override - protected String[] getInitialHiddenTokens() { - return new String[] { "RULE_WS", "RULE_ML_COMMENT", "RULE_SL_COMMENT" }; - } - - public ApplicationConfigurationGrammarAccess getGrammarAccess() { - return this.grammarAccess; - } - - public void setGrammarAccess(ApplicationConfigurationGrammarAccess grammarAccess) { - this.grammarAccess = grammarAccess; - } -} +/* + * generated by Xtext 2.16.0 + */ +package hu.bme.mit.inf.dslreasoner.application.ide.contentassist.antlr; + +import com.google.common.collect.ImmutableMap; +import com.google.inject.Inject; +import com.google.inject.Singleton; +import hu.bme.mit.inf.dslreasoner.application.ide.contentassist.antlr.internal.InternalApplicationConfigurationParser; +import hu.bme.mit.inf.dslreasoner.application.services.ApplicationConfigurationGrammarAccess; +import java.util.Map; +import org.eclipse.xtext.AbstractElement; +import org.eclipse.xtext.ide.editor.contentassist.antlr.AbstractContentAssistParser; + +public class ApplicationConfigurationParser extends AbstractContentAssistParser { + + @Singleton + public static final class NameMappings { + + private final Map mappings; + + @Inject + public NameMappings(ApplicationConfigurationGrammarAccess grammarAccess) { + ImmutableMap.Builder builder = ImmutableMap.builder(); + init(builder, grammarAccess); + this.mappings = builder.build(); + } + + public String getRuleName(AbstractElement element) { + return mappings.get(element); + } + + private static void init(ImmutableMap.Builder builder, ApplicationConfigurationGrammarAccess grammarAccess) { + builder.put(grammarAccess.getCommandAccess().getAlternatives(), "rule__Command__Alternatives"); + builder.put(grammarAccess.getImportAccess().getAlternatives(), "rule__Import__Alternatives"); + builder.put(grammarAccess.getDeclarationAccess().getAlternatives(), "rule__Declaration__Alternatives"); + builder.put(grammarAccess.getFileAccess().getAlternatives(), "rule__File__Alternatives"); + builder.put(grammarAccess.getMetamodelEntryAccess().getAlternatives(), "rule__MetamodelEntry__Alternatives"); + builder.put(grammarAccess.getMetamodelAccess().getAlternatives(), "rule__Metamodel__Alternatives"); + builder.put(grammarAccess.getPartialModelEntryAccess().getAlternatives(), "rule__PartialModelEntry__Alternatives"); + builder.put(grammarAccess.getPartialModelAccess().getAlternatives(), "rule__PartialModel__Alternatives"); + builder.put(grammarAccess.getPatternEntryAccess().getAlternatives(), "rule__PatternEntry__Alternatives"); + builder.put(grammarAccess.getGraphPatternAccess().getAlternatives(), "rule__GraphPattern__Alternatives"); + builder.put(grammarAccess.getObjectiveEntryAccess().getAlternatives(), "rule__ObjectiveEntry__Alternatives"); + builder.put(grammarAccess.getObjectiveAccess().getAlternatives(), "rule__Objective__Alternatives"); + builder.put(grammarAccess.getConfigEntryAccess().getAlternatives(), "rule__ConfigEntry__Alternatives"); + builder.put(grammarAccess.getConfigAccess().getAlternatives(), "rule__Config__Alternatives"); + builder.put(grammarAccess.getTypeScopeAccess().getAlternatives(), "rule__TypeScope__Alternatives"); + builder.put(grammarAccess.getClassTypeScopeAccess().getAlternatives_2(), "rule__ClassTypeScope__Alternatives_2"); + builder.put(grammarAccess.getClassTypeScopeAccess().getAlternatives_3(), "rule__ClassTypeScope__Alternatives_3"); + builder.put(grammarAccess.getObjectTypeScopeAccess().getAlternatives_2(), "rule__ObjectTypeScope__Alternatives_2"); + builder.put(grammarAccess.getObjectTypeScopeAccess().getAlternatives_3(), "rule__ObjectTypeScope__Alternatives_3"); + builder.put(grammarAccess.getIntegerTypeScopeAccess().getAlternatives_2(), "rule__IntegerTypeScope__Alternatives_2"); + builder.put(grammarAccess.getIntegerTypeScopeAccess().getAlternatives_3(), "rule__IntegerTypeScope__Alternatives_3"); + builder.put(grammarAccess.getRealTypeScopeAccess().getAlternatives_2(), "rule__RealTypeScope__Alternatives_2"); + builder.put(grammarAccess.getRealTypeScopeAccess().getAlternatives_3(), "rule__RealTypeScope__Alternatives_3"); + builder.put(grammarAccess.getStringTypeScopeAccess().getAlternatives_2(), "rule__StringTypeScope__Alternatives_2"); + builder.put(grammarAccess.getStringTypeScopeAccess().getAlternatives_3(), "rule__StringTypeScope__Alternatives_3"); + builder.put(grammarAccess.getTypeReferenceAccess().getAlternatives(), "rule__TypeReference__Alternatives"); + builder.put(grammarAccess.getNumberSpecificationAccess().getAlternatives(), "rule__NumberSpecification__Alternatives"); + builder.put(grammarAccess.getExactNumberAccess().getAlternatives(), "rule__ExactNumber__Alternatives"); + builder.put(grammarAccess.getIntervallNumberAccess().getAlternatives_2(), "rule__IntervallNumber__Alternatives_2"); + builder.put(grammarAccess.getScopeAccess().getAlternatives(), "rule__Scope__Alternatives"); + builder.put(grammarAccess.getOptimizationDirectionAccess().getAlternatives(), "rule__OptimizationDirection__Alternatives"); + builder.put(grammarAccess.getComparisonOperatorAccess().getAlternatives(), "rule__ComparisonOperator__Alternatives"); + builder.put(grammarAccess.getDocumentLevelSpecificationAccess().getAlternatives(), "rule__DocumentLevelSpecification__Alternatives"); + builder.put(grammarAccess.getSolverAccess().getAlternatives(), "rule__Solver__Alternatives"); + builder.put(grammarAccess.getConfigurationScriptAccess().getGroup(), "rule__ConfigurationScript__Group__0"); + builder.put(grammarAccess.getQualifiedNameAccess().getGroup(), "rule__QualifiedName__Group__0"); + builder.put(grammarAccess.getQualifiedNameAccess().getGroup_1(), "rule__QualifiedName__Group_1__0"); + builder.put(grammarAccess.getREALLiteralAccess().getGroup(), "rule__REALLiteral__Group__0"); + builder.put(grammarAccess.getINTLiteralAccess().getGroup(), "rule__INTLiteral__Group__0"); + builder.put(grammarAccess.getEPackageImportAccess().getGroup(), "rule__EPackageImport__Group__0"); + builder.put(grammarAccess.getViatraImportAccess().getGroup(), "rule__ViatraImport__Group__0"); + builder.put(grammarAccess.getCftImportAccess().getGroup(), "rule__CftImport__Group__0"); + builder.put(grammarAccess.getFileDeclarationAccess().getGroup(), "rule__FileDeclaration__Group__0"); + builder.put(grammarAccess.getMetamodelSpecificationAccess().getGroup(), "rule__MetamodelSpecification__Group__0"); + builder.put(grammarAccess.getMetamodelSpecificationAccess().getGroup_2(), "rule__MetamodelSpecification__Group_2__0"); + builder.put(grammarAccess.getAllPackageEntryAccess().getGroup(), "rule__AllPackageEntry__Group__0"); + builder.put(grammarAccess.getAllPackageEntryAccess().getGroup_2(), "rule__AllPackageEntry__Group_2__0"); + builder.put(grammarAccess.getAllPackageEntryAccess().getGroup_2_3(), "rule__AllPackageEntry__Group_2_3__0"); + builder.put(grammarAccess.getMetamodelElementAccess().getGroup(), "rule__MetamodelElement__Group__0"); + builder.put(grammarAccess.getMetamodelElementAccess().getGroup_0(), "rule__MetamodelElement__Group_0__0"); + builder.put(grammarAccess.getMetamodelElementAccess().getGroup_2(), "rule__MetamodelElement__Group_2__0"); + builder.put(grammarAccess.getMetamodelDeclarationAccess().getGroup(), "rule__MetamodelDeclaration__Group__0"); + builder.put(grammarAccess.getPartialModelSpecificationAccess().getGroup(), "rule__PartialModelSpecification__Group__0"); + builder.put(grammarAccess.getPartialModelSpecificationAccess().getGroup_2(), "rule__PartialModelSpecification__Group_2__0"); + builder.put(grammarAccess.getFolderEntryAccess().getGroup(), "rule__FolderEntry__Group__0"); + builder.put(grammarAccess.getFolderEntryAccess().getGroup_2(), "rule__FolderEntry__Group_2__0"); + builder.put(grammarAccess.getFolderEntryAccess().getGroup_2_3(), "rule__FolderEntry__Group_2_3__0"); + builder.put(grammarAccess.getPartialModelDeclarationAccess().getGroup(), "rule__PartialModelDeclaration__Group__0"); + builder.put(grammarAccess.getPatternSpecificationAccess().getGroup(), "rule__PatternSpecification__Group__0"); + builder.put(grammarAccess.getPatternSpecificationAccess().getGroup_2(), "rule__PatternSpecification__Group_2__0"); + builder.put(grammarAccess.getAllPatternEntryAccess().getGroup(), "rule__AllPatternEntry__Group__0"); + builder.put(grammarAccess.getAllPatternEntryAccess().getGroup_2(), "rule__AllPatternEntry__Group_2__0"); + builder.put(grammarAccess.getAllPatternEntryAccess().getGroup_2_3(), "rule__AllPatternEntry__Group_2_3__0"); + builder.put(grammarAccess.getPatternElementAccess().getGroup(), "rule__PatternElement__Group__0"); + builder.put(grammarAccess.getPatternElementAccess().getGroup_0(), "rule__PatternElement__Group_0__0"); + builder.put(grammarAccess.getGraphPatternDeclarationAccess().getGroup(), "rule__GraphPatternDeclaration__Group__0"); + builder.put(grammarAccess.getObjectiveSpecificationAccess().getGroup(), "rule__ObjectiveSpecification__Group__0"); + builder.put(grammarAccess.getObjectiveSpecificationAccess().getGroup_2(), "rule__ObjectiveSpecification__Group_2__0"); + builder.put(grammarAccess.getOptimizationEntryAccess().getGroup(), "rule__OptimizationEntry__Group__0"); + builder.put(grammarAccess.getThresholdEntryAccess().getGroup(), "rule__ThresholdEntry__Group__0"); + builder.put(grammarAccess.getReliabiltiyFunctionAccess().getGroup(), "rule__ReliabiltiyFunction__Group__0"); + builder.put(grammarAccess.getReliabiltiyFunctionAccess().getGroup_1(), "rule__ReliabiltiyFunction__Group_1__0"); + builder.put(grammarAccess.getObjectiveDeclarationAccess().getGroup(), "rule__ObjectiveDeclaration__Group__0"); + builder.put(grammarAccess.getConfigSpecificationAccess().getGroup(), "rule__ConfigSpecification__Group__0"); + builder.put(grammarAccess.getConfigSpecificationAccess().getGroup_2(), "rule__ConfigSpecification__Group_2__0"); + builder.put(grammarAccess.getConfigSpecificationAccess().getGroup_2_1(), "rule__ConfigSpecification__Group_2_1__0"); + builder.put(grammarAccess.getConfigDeclarationAccess().getGroup(), "rule__ConfigDeclaration__Group__0"); + builder.put(grammarAccess.getDocumentationEntryAccess().getGroup(), "rule__DocumentationEntry__Group__0"); + builder.put(grammarAccess.getRuntimeEntryAccess().getGroup(), "rule__RuntimeEntry__Group__0"); + builder.put(grammarAccess.getMemoryEntryAccess().getGroup(), "rule__MemoryEntry__Group__0"); + builder.put(grammarAccess.getCustomEntryAccess().getGroup(), "rule__CustomEntry__Group__0"); + builder.put(grammarAccess.getScopeSpecificationAccess().getGroup(), "rule__ScopeSpecification__Group__0"); + builder.put(grammarAccess.getScopeSpecificationAccess().getGroup_2(), "rule__ScopeSpecification__Group_2__0"); + builder.put(grammarAccess.getScopeSpecificationAccess().getGroup_2_1(), "rule__ScopeSpecification__Group_2_1__0"); + builder.put(grammarAccess.getClassTypeScopeAccess().getGroup(), "rule__ClassTypeScope__Group__0"); + builder.put(grammarAccess.getObjectTypeScopeAccess().getGroup(), "rule__ObjectTypeScope__Group__0"); + builder.put(grammarAccess.getIntegerTypeScopeAccess().getGroup(), "rule__IntegerTypeScope__Group__0"); + builder.put(grammarAccess.getRealTypeScopeAccess().getGroup(), "rule__RealTypeScope__Group__0"); + builder.put(grammarAccess.getStringTypeScopeAccess().getGroup(), "rule__StringTypeScope__Group__0"); + builder.put(grammarAccess.getClassReferenceAccess().getGroup(), "rule__ClassReference__Group__0"); + builder.put(grammarAccess.getObjectReferenceAccess().getGroup(), "rule__ObjectReference__Group__0"); + builder.put(grammarAccess.getIntegerReferenceAccess().getGroup(), "rule__IntegerReference__Group__0"); + builder.put(grammarAccess.getRealReferenceAccess().getGroup(), "rule__RealReference__Group__0"); + builder.put(grammarAccess.getStringReferenceAccess().getGroup(), "rule__StringReference__Group__0"); + builder.put(grammarAccess.getIntervallNumberAccess().getGroup(), "rule__IntervallNumber__Group__0"); + builder.put(grammarAccess.getIntEnumberationAccess().getGroup(), "rule__IntEnumberation__Group__0"); + builder.put(grammarAccess.getIntEnumberationAccess().getGroup_2(), "rule__IntEnumberation__Group_2__0"); + builder.put(grammarAccess.getIntEnumberationAccess().getGroup_2_1(), "rule__IntEnumberation__Group_2_1__0"); + builder.put(grammarAccess.getRealEnumerationAccess().getGroup(), "rule__RealEnumeration__Group__0"); + builder.put(grammarAccess.getRealEnumerationAccess().getGroup_2(), "rule__RealEnumeration__Group_2__0"); + builder.put(grammarAccess.getRealEnumerationAccess().getGroup_2_1(), "rule__RealEnumeration__Group_2_1__0"); + builder.put(grammarAccess.getStringEnumerationAccess().getGroup(), "rule__StringEnumeration__Group__0"); + builder.put(grammarAccess.getStringEnumerationAccess().getGroup_2(), "rule__StringEnumeration__Group_2__0"); + builder.put(grammarAccess.getStringEnumerationAccess().getGroup_2_1(), "rule__StringEnumeration__Group_2_1__0"); + builder.put(grammarAccess.getScopeDeclarationAccess().getGroup(), "rule__ScopeDeclaration__Group__0"); + builder.put(grammarAccess.getGenerationTaskAccess().getGroup(), "rule__GenerationTask__Group__0"); + builder.put(grammarAccess.getGenerationTaskAccess().getGroup_3_0(), "rule__GenerationTask__Group_3_0__0"); + builder.put(grammarAccess.getGenerationTaskAccess().getGroup_3_1(), "rule__GenerationTask__Group_3_1__0"); + builder.put(grammarAccess.getGenerationTaskAccess().getGroup_3_2(), "rule__GenerationTask__Group_3_2__0"); + builder.put(grammarAccess.getGenerationTaskAccess().getGroup_3_3(), "rule__GenerationTask__Group_3_3__0"); + builder.put(grammarAccess.getGenerationTaskAccess().getGroup_3_4(), "rule__GenerationTask__Group_3_4__0"); + builder.put(grammarAccess.getGenerationTaskAccess().getGroup_3_5(), "rule__GenerationTask__Group_3_5__0"); + builder.put(grammarAccess.getGenerationTaskAccess().getGroup_3_6(), "rule__GenerationTask__Group_3_6__0"); + builder.put(grammarAccess.getGenerationTaskAccess().getGroup_3_7(), "rule__GenerationTask__Group_3_7__0"); + builder.put(grammarAccess.getGenerationTaskAccess().getGroup_3_8(), "rule__GenerationTask__Group_3_8__0"); + builder.put(grammarAccess.getGenerationTaskAccess().getGroup_3_9(), "rule__GenerationTask__Group_3_9__0"); + builder.put(grammarAccess.getGenerationTaskAccess().getGroup_3_10(), "rule__GenerationTask__Group_3_10__0"); + builder.put(grammarAccess.getGenerationTaskAccess().getGroup_3_11(), "rule__GenerationTask__Group_3_11__0"); + builder.put(grammarAccess.getGenerationTaskAccess().getGroup_3_12(), "rule__GenerationTask__Group_3_12__0"); + builder.put(grammarAccess.getConfigurationScriptAccess().getImportsAssignment_0(), "rule__ConfigurationScript__ImportsAssignment_0"); + builder.put(grammarAccess.getConfigurationScriptAccess().getCommandsAssignment_1(), "rule__ConfigurationScript__CommandsAssignment_1"); + builder.put(grammarAccess.getEPackageImportAccess().getImportedPackageAssignment_2(), "rule__EPackageImport__ImportedPackageAssignment_2"); + builder.put(grammarAccess.getViatraImportAccess().getImportedViatraAssignment_2(), "rule__ViatraImport__ImportedViatraAssignment_2"); + builder.put(grammarAccess.getCftImportAccess().getImportedCftAssignment_2(), "rule__CftImport__ImportedCftAssignment_2"); + builder.put(grammarAccess.getFileSpecificationAccess().getPathAssignment(), "rule__FileSpecification__PathAssignment"); + builder.put(grammarAccess.getFileDeclarationAccess().getNameAssignment_1(), "rule__FileDeclaration__NameAssignment_1"); + builder.put(grammarAccess.getFileDeclarationAccess().getSpecificationAssignment_3(), "rule__FileDeclaration__SpecificationAssignment_3"); + builder.put(grammarAccess.getFileReferenceAccess().getReferredAssignment(), "rule__FileReference__ReferredAssignment"); + builder.put(grammarAccess.getMetamodelSpecificationAccess().getEntriesAssignment_1(), "rule__MetamodelSpecification__EntriesAssignment_1"); + builder.put(grammarAccess.getMetamodelSpecificationAccess().getEntriesAssignment_2_1(), "rule__MetamodelSpecification__EntriesAssignment_2_1"); + builder.put(grammarAccess.getAllPackageEntryAccess().getPackageAssignment_1(), "rule__AllPackageEntry__PackageAssignment_1"); + builder.put(grammarAccess.getAllPackageEntryAccess().getExclusionAssignment_2_2(), "rule__AllPackageEntry__ExclusionAssignment_2_2"); + builder.put(grammarAccess.getAllPackageEntryAccess().getExclusionAssignment_2_3_1(), "rule__AllPackageEntry__ExclusionAssignment_2_3_1"); + builder.put(grammarAccess.getMetamodelElementAccess().getPackageAssignment_0_0(), "rule__MetamodelElement__PackageAssignment_0_0"); + builder.put(grammarAccess.getMetamodelElementAccess().getClassifierAssignment_1(), "rule__MetamodelElement__ClassifierAssignment_1"); + builder.put(grammarAccess.getMetamodelElementAccess().getFeatureAssignment_2_1(), "rule__MetamodelElement__FeatureAssignment_2_1"); + builder.put(grammarAccess.getMetamodelDeclarationAccess().getNameAssignment_1(), "rule__MetamodelDeclaration__NameAssignment_1"); + builder.put(grammarAccess.getMetamodelDeclarationAccess().getSpecificationAssignment_2(), "rule__MetamodelDeclaration__SpecificationAssignment_2"); + builder.put(grammarAccess.getMetamodelReferenceAccess().getReferredAssignment(), "rule__MetamodelReference__ReferredAssignment"); + builder.put(grammarAccess.getPartialModelSpecificationAccess().getEntryAssignment_1(), "rule__PartialModelSpecification__EntryAssignment_1"); + builder.put(grammarAccess.getPartialModelSpecificationAccess().getEntryAssignment_2_1(), "rule__PartialModelSpecification__EntryAssignment_2_1"); + builder.put(grammarAccess.getModelEntryAccess().getPathAssignment(), "rule__ModelEntry__PathAssignment"); + builder.put(grammarAccess.getFolderEntryAccess().getPathAssignment_1(), "rule__FolderEntry__PathAssignment_1"); + builder.put(grammarAccess.getFolderEntryAccess().getExclusionAssignment_2_2(), "rule__FolderEntry__ExclusionAssignment_2_2"); + builder.put(grammarAccess.getFolderEntryAccess().getExclusionAssignment_2_3_1(), "rule__FolderEntry__ExclusionAssignment_2_3_1"); + builder.put(grammarAccess.getPartialModelDeclarationAccess().getNameAssignment_1(), "rule__PartialModelDeclaration__NameAssignment_1"); + builder.put(grammarAccess.getPartialModelDeclarationAccess().getSpecificationAssignment_2(), "rule__PartialModelDeclaration__SpecificationAssignment_2"); + builder.put(grammarAccess.getPartialModelReferenceAccess().getReferredAssignment(), "rule__PartialModelReference__ReferredAssignment"); + builder.put(grammarAccess.getPatternSpecificationAccess().getEntriesAssignment_1(), "rule__PatternSpecification__EntriesAssignment_1"); + builder.put(grammarAccess.getPatternSpecificationAccess().getEntriesAssignment_2_1(), "rule__PatternSpecification__EntriesAssignment_2_1"); + builder.put(grammarAccess.getAllPatternEntryAccess().getPackageAssignment_1(), "rule__AllPatternEntry__PackageAssignment_1"); + builder.put(grammarAccess.getAllPatternEntryAccess().getExclusuionAssignment_2_2(), "rule__AllPatternEntry__ExclusuionAssignment_2_2"); + builder.put(grammarAccess.getAllPatternEntryAccess().getExclusuionAssignment_2_3_1(), "rule__AllPatternEntry__ExclusuionAssignment_2_3_1"); + builder.put(grammarAccess.getPatternElementAccess().getPackageAssignment_0_0(), "rule__PatternElement__PackageAssignment_0_0"); + builder.put(grammarAccess.getPatternElementAccess().getPatternAssignment_1(), "rule__PatternElement__PatternAssignment_1"); + builder.put(grammarAccess.getGraphPatternDeclarationAccess().getNameAssignment_1(), "rule__GraphPatternDeclaration__NameAssignment_1"); + builder.put(grammarAccess.getGraphPatternDeclarationAccess().getSpecificationAssignment_2(), "rule__GraphPatternDeclaration__SpecificationAssignment_2"); + builder.put(grammarAccess.getGraphPatternReferenceAccess().getReferredAssignment(), "rule__GraphPatternReference__ReferredAssignment"); + builder.put(grammarAccess.getObjectiveSpecificationAccess().getEntriesAssignment_1(), "rule__ObjectiveSpecification__EntriesAssignment_1"); + builder.put(grammarAccess.getObjectiveSpecificationAccess().getEntriesAssignment_2_1(), "rule__ObjectiveSpecification__EntriesAssignment_2_1"); + builder.put(grammarAccess.getOptimizationEntryAccess().getDirectionAssignment_0(), "rule__OptimizationEntry__DirectionAssignment_0"); + builder.put(grammarAccess.getOptimizationEntryAccess().getFunctionAssignment_1(), "rule__OptimizationEntry__FunctionAssignment_1"); + builder.put(grammarAccess.getThresholdEntryAccess().getFunctionAssignment_0(), "rule__ThresholdEntry__FunctionAssignment_0"); + builder.put(grammarAccess.getThresholdEntryAccess().getOperatorAssignment_1(), "rule__ThresholdEntry__OperatorAssignment_1"); + builder.put(grammarAccess.getThresholdEntryAccess().getThresholdAssignment_2(), "rule__ThresholdEntry__ThresholdAssignment_2"); + builder.put(grammarAccess.getReliabiltiyFunctionAccess().getPackageAssignment_1_0(), "rule__ReliabiltiyFunction__PackageAssignment_1_0"); + builder.put(grammarAccess.getReliabiltiyFunctionAccess().getTransformationAssignment_2(), "rule__ReliabiltiyFunction__TransformationAssignment_2"); + builder.put(grammarAccess.getObjectiveDeclarationAccess().getNameAssignment_1(), "rule__ObjectiveDeclaration__NameAssignment_1"); + builder.put(grammarAccess.getObjectiveDeclarationAccess().getSpecificationAssignment_2(), "rule__ObjectiveDeclaration__SpecificationAssignment_2"); + builder.put(grammarAccess.getObjectiveReferenceAccess().getReferredAssignment(), "rule__ObjectiveReference__ReferredAssignment"); + builder.put(grammarAccess.getConfigSpecificationAccess().getEntriesAssignment_2_0(), "rule__ConfigSpecification__EntriesAssignment_2_0"); + builder.put(grammarAccess.getConfigSpecificationAccess().getEntriesAssignment_2_1_1(), "rule__ConfigSpecification__EntriesAssignment_2_1_1"); + builder.put(grammarAccess.getConfigDeclarationAccess().getNameAssignment_1(), "rule__ConfigDeclaration__NameAssignment_1"); + builder.put(grammarAccess.getConfigDeclarationAccess().getSpecificationAssignment_2(), "rule__ConfigDeclaration__SpecificationAssignment_2"); + builder.put(grammarAccess.getDocumentationEntryAccess().getLevelAssignment_2(), "rule__DocumentationEntry__LevelAssignment_2"); + builder.put(grammarAccess.getRuntimeEntryAccess().getMillisecLimitAssignment_2(), "rule__RuntimeEntry__MillisecLimitAssignment_2"); + builder.put(grammarAccess.getMemoryEntryAccess().getMegabyteLimitAssignment_2(), "rule__MemoryEntry__MegabyteLimitAssignment_2"); + builder.put(grammarAccess.getCustomEntryAccess().getKeyAssignment_0(), "rule__CustomEntry__KeyAssignment_0"); + builder.put(grammarAccess.getCustomEntryAccess().getValueAssignment_2(), "rule__CustomEntry__ValueAssignment_2"); + builder.put(grammarAccess.getConfigReferenceAccess().getConfigAssignment(), "rule__ConfigReference__ConfigAssignment"); + builder.put(grammarAccess.getScopeSpecificationAccess().getScopesAssignment_2_0(), "rule__ScopeSpecification__ScopesAssignment_2_0"); + builder.put(grammarAccess.getScopeSpecificationAccess().getScopesAssignment_2_1_1(), "rule__ScopeSpecification__ScopesAssignment_2_1_1"); + builder.put(grammarAccess.getClassTypeScopeAccess().getTypeAssignment_1(), "rule__ClassTypeScope__TypeAssignment_1"); + builder.put(grammarAccess.getClassTypeScopeAccess().getSetsNewAssignment_2_0(), "rule__ClassTypeScope__SetsNewAssignment_2_0"); + builder.put(grammarAccess.getClassTypeScopeAccess().getSetsSumAssignment_2_1(), "rule__ClassTypeScope__SetsSumAssignment_2_1"); + builder.put(grammarAccess.getClassTypeScopeAccess().getNumberAssignment_3_0(), "rule__ClassTypeScope__NumberAssignment_3_0"); + builder.put(grammarAccess.getClassTypeScopeAccess().getNumberAssignment_3_1(), "rule__ClassTypeScope__NumberAssignment_3_1"); + builder.put(grammarAccess.getObjectTypeScopeAccess().getTypeAssignment_1(), "rule__ObjectTypeScope__TypeAssignment_1"); + builder.put(grammarAccess.getObjectTypeScopeAccess().getSetsNewAssignment_2_0(), "rule__ObjectTypeScope__SetsNewAssignment_2_0"); + builder.put(grammarAccess.getObjectTypeScopeAccess().getSetsSumAssignment_2_1(), "rule__ObjectTypeScope__SetsSumAssignment_2_1"); + builder.put(grammarAccess.getObjectTypeScopeAccess().getNumberAssignment_3_0(), "rule__ObjectTypeScope__NumberAssignment_3_0"); + builder.put(grammarAccess.getObjectTypeScopeAccess().getNumberAssignment_3_1(), "rule__ObjectTypeScope__NumberAssignment_3_1"); + builder.put(grammarAccess.getIntegerTypeScopeAccess().getTypeAssignment_1(), "rule__IntegerTypeScope__TypeAssignment_1"); + builder.put(grammarAccess.getIntegerTypeScopeAccess().getSetsNewAssignment_2_0(), "rule__IntegerTypeScope__SetsNewAssignment_2_0"); + builder.put(grammarAccess.getIntegerTypeScopeAccess().getSetsSumAssignment_2_1(), "rule__IntegerTypeScope__SetsSumAssignment_2_1"); + builder.put(grammarAccess.getIntegerTypeScopeAccess().getNumberAssignment_3_0(), "rule__IntegerTypeScope__NumberAssignment_3_0"); + builder.put(grammarAccess.getIntegerTypeScopeAccess().getNumberAssignment_3_1(), "rule__IntegerTypeScope__NumberAssignment_3_1"); + builder.put(grammarAccess.getIntegerTypeScopeAccess().getNumberAssignment_3_2(), "rule__IntegerTypeScope__NumberAssignment_3_2"); + builder.put(grammarAccess.getRealTypeScopeAccess().getTypeAssignment_1(), "rule__RealTypeScope__TypeAssignment_1"); + builder.put(grammarAccess.getRealTypeScopeAccess().getSetsNewAssignment_2_0(), "rule__RealTypeScope__SetsNewAssignment_2_0"); + builder.put(grammarAccess.getRealTypeScopeAccess().getSetsSumAssignment_2_1(), "rule__RealTypeScope__SetsSumAssignment_2_1"); + builder.put(grammarAccess.getRealTypeScopeAccess().getNumberAssignment_3_0(), "rule__RealTypeScope__NumberAssignment_3_0"); + builder.put(grammarAccess.getRealTypeScopeAccess().getNumberAssignment_3_1(), "rule__RealTypeScope__NumberAssignment_3_1"); + builder.put(grammarAccess.getRealTypeScopeAccess().getNumberAssignment_3_2(), "rule__RealTypeScope__NumberAssignment_3_2"); + builder.put(grammarAccess.getStringTypeScopeAccess().getTypeAssignment_1(), "rule__StringTypeScope__TypeAssignment_1"); + builder.put(grammarAccess.getStringTypeScopeAccess().getSetsNewAssignment_2_0(), "rule__StringTypeScope__SetsNewAssignment_2_0"); + builder.put(grammarAccess.getStringTypeScopeAccess().getSetsSumAssignment_2_1(), "rule__StringTypeScope__SetsSumAssignment_2_1"); + builder.put(grammarAccess.getStringTypeScopeAccess().getNumberAssignment_3_0(), "rule__StringTypeScope__NumberAssignment_3_0"); + builder.put(grammarAccess.getStringTypeScopeAccess().getNumberAssignment_3_1(), "rule__StringTypeScope__NumberAssignment_3_1"); + builder.put(grammarAccess.getStringTypeScopeAccess().getNumberAssignment_3_2(), "rule__StringTypeScope__NumberAssignment_3_2"); + builder.put(grammarAccess.getClassReferenceAccess().getElementAssignment_1(), "rule__ClassReference__ElementAssignment_1"); + builder.put(grammarAccess.getExactNumberAccess().getExactNumberAssignment_0(), "rule__ExactNumber__ExactNumberAssignment_0"); + builder.put(grammarAccess.getExactNumberAccess().getExactUnlimitedAssignment_1(), "rule__ExactNumber__ExactUnlimitedAssignment_1"); + builder.put(grammarAccess.getIntervallNumberAccess().getMinAssignment_0(), "rule__IntervallNumber__MinAssignment_0"); + builder.put(grammarAccess.getIntervallNumberAccess().getMaxNumberAssignment_2_0(), "rule__IntervallNumber__MaxNumberAssignment_2_0"); + builder.put(grammarAccess.getIntervallNumberAccess().getMaxUnlimitedAssignment_2_1(), "rule__IntervallNumber__MaxUnlimitedAssignment_2_1"); + builder.put(grammarAccess.getIntEnumberationAccess().getEntryAssignment_2_0(), "rule__IntEnumberation__EntryAssignment_2_0"); + builder.put(grammarAccess.getIntEnumberationAccess().getEntryAssignment_2_1_1(), "rule__IntEnumberation__EntryAssignment_2_1_1"); + builder.put(grammarAccess.getRealEnumerationAccess().getEntryAssignment_2_0(), "rule__RealEnumeration__EntryAssignment_2_0"); + builder.put(grammarAccess.getRealEnumerationAccess().getEntryAssignment_2_1_1(), "rule__RealEnumeration__EntryAssignment_2_1_1"); + builder.put(grammarAccess.getStringEnumerationAccess().getEntryAssignment_2_0(), "rule__StringEnumeration__EntryAssignment_2_0"); + builder.put(grammarAccess.getStringEnumerationAccess().getEntryAssignment_2_1_1(), "rule__StringEnumeration__EntryAssignment_2_1_1"); + builder.put(grammarAccess.getScopeDeclarationAccess().getNameAssignment_1(), "rule__ScopeDeclaration__NameAssignment_1"); + builder.put(grammarAccess.getScopeDeclarationAccess().getSpecificationAssignment_2(), "rule__ScopeDeclaration__SpecificationAssignment_2"); + builder.put(grammarAccess.getScopeReferenceAccess().getReferredAssignment(), "rule__ScopeReference__ReferredAssignment"); + builder.put(grammarAccess.getGenerationTaskAccess().getMetamodelAssignment_3_0_2(), "rule__GenerationTask__MetamodelAssignment_3_0_2"); + builder.put(grammarAccess.getGenerationTaskAccess().getPartialModelAssignment_3_1_2(), "rule__GenerationTask__PartialModelAssignment_3_1_2"); + builder.put(grammarAccess.getGenerationTaskAccess().getPatternsAssignment_3_2_2(), "rule__GenerationTask__PatternsAssignment_3_2_2"); + builder.put(grammarAccess.getGenerationTaskAccess().getObjectivesAssignment_3_3_2(), "rule__GenerationTask__ObjectivesAssignment_3_3_2"); + builder.put(grammarAccess.getGenerationTaskAccess().getScopeAssignment_3_4_2(), "rule__GenerationTask__ScopeAssignment_3_4_2"); + builder.put(grammarAccess.getGenerationTaskAccess().getNumberSpecifiedAssignment_3_5_0(), "rule__GenerationTask__NumberSpecifiedAssignment_3_5_0"); + builder.put(grammarAccess.getGenerationTaskAccess().getNumberAssignment_3_5_2(), "rule__GenerationTask__NumberAssignment_3_5_2"); + builder.put(grammarAccess.getGenerationTaskAccess().getRunSpecifiedAssignment_3_6_0(), "rule__GenerationTask__RunSpecifiedAssignment_3_6_0"); + builder.put(grammarAccess.getGenerationTaskAccess().getRunsAssignment_3_6_2(), "rule__GenerationTask__RunsAssignment_3_6_2"); + builder.put(grammarAccess.getGenerationTaskAccess().getSolverAssignment_3_7_2(), "rule__GenerationTask__SolverAssignment_3_7_2"); + builder.put(grammarAccess.getGenerationTaskAccess().getConfigAssignment_3_8_2(), "rule__GenerationTask__ConfigAssignment_3_8_2"); + builder.put(grammarAccess.getGenerationTaskAccess().getDebugFolderAssignment_3_9_2(), "rule__GenerationTask__DebugFolderAssignment_3_9_2"); + builder.put(grammarAccess.getGenerationTaskAccess().getTargetLogFileAssignment_3_10_2(), "rule__GenerationTask__TargetLogFileAssignment_3_10_2"); + builder.put(grammarAccess.getGenerationTaskAccess().getTargetStatisticsFileAssignment_3_11_2(), "rule__GenerationTask__TargetStatisticsFileAssignment_3_11_2"); + builder.put(grammarAccess.getGenerationTaskAccess().getTagetFolderAssignment_3_12_2(), "rule__GenerationTask__TagetFolderAssignment_3_12_2"); + builder.put(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), "rule__GenerationTask__UnorderedGroup_3"); + } + } + + @Inject + private NameMappings nameMappings; + + @Inject + private ApplicationConfigurationGrammarAccess grammarAccess; + + @Override + protected InternalApplicationConfigurationParser createParser() { + InternalApplicationConfigurationParser result = new InternalApplicationConfigurationParser(null); + result.setGrammarAccess(grammarAccess); + return result; + } + + @Override + protected String getRuleName(AbstractElement element) { + return nameMappings.getRuleName(element); + } + + @Override + protected String[] getInitialHiddenTokens() { + return new String[] { "RULE_WS", "RULE_ML_COMMENT", "RULE_SL_COMMENT" }; + } + + public ApplicationConfigurationGrammarAccess getGrammarAccess() { + return this.grammarAccess; + } + + public void setGrammarAccess(ApplicationConfigurationGrammarAccess grammarAccess) { + this.grammarAccess = grammarAccess; + } + + public NameMappings getNameMappings() { + return nameMappings; + } + + public void setNameMappings(NameMappings nameMappings) { + this.nameMappings = nameMappings; + } +} diff --git a/Application/hu.bme.mit.inf.dslreasoner.application.ide/src-gen/hu/bme/mit/inf/dslreasoner/application/ide/contentassist/antlr/PartialApplicationConfigurationContentAssistParser.java b/Application/hu.bme.mit.inf.dslreasoner.application.ide/src-gen/hu/bme/mit/inf/dslreasoner/application/ide/contentassist/antlr/PartialApplicationConfigurationContentAssistParser.java index e6e84770..04ba0d3e 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application.ide/src-gen/hu/bme/mit/inf/dslreasoner/application/ide/contentassist/antlr/PartialApplicationConfigurationContentAssistParser.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application.ide/src-gen/hu/bme/mit/inf/dslreasoner/application/ide/contentassist/antlr/PartialApplicationConfigurationContentAssistParser.java @@ -1,34 +1,34 @@ -/* - * generated by Xtext 2.12.0 - */ -package hu.bme.mit.inf.dslreasoner.application.ide.contentassist.antlr; - -import java.util.Collection; -import java.util.Collections; -import org.eclipse.xtext.AbstractRule; -import org.eclipse.xtext.ide.editor.contentassist.antlr.FollowElement; -import org.eclipse.xtext.ide.editor.contentassist.antlr.internal.AbstractInternalContentAssistParser; -import org.eclipse.xtext.ide.editor.partialEditing.IPartialEditingContentAssistParser; -import org.eclipse.xtext.util.PolymorphicDispatcher; - -public class PartialApplicationConfigurationContentAssistParser extends ApplicationConfigurationParser implements IPartialEditingContentAssistParser { - - private AbstractRule rule; - - @Override - public void initializeFor(AbstractRule rule) { - this.rule = rule; - } - - @Override - protected Collection getFollowElements(AbstractInternalContentAssistParser parser) { - if (rule == null || rule.eIsProxy()) - return Collections.emptyList(); - String methodName = "entryRule" + rule.getName(); - PolymorphicDispatcher> dispatcher = - new PolymorphicDispatcher>(methodName, 0, 0, Collections.singletonList(parser)); - dispatcher.invoke(); - return parser.getFollowElements(); - } - -} +/* + * generated by Xtext 2.16.0 + */ +package hu.bme.mit.inf.dslreasoner.application.ide.contentassist.antlr; + +import java.util.Collection; +import java.util.Collections; +import org.eclipse.xtext.AbstractRule; +import org.eclipse.xtext.ide.editor.contentassist.antlr.FollowElement; +import org.eclipse.xtext.ide.editor.contentassist.antlr.internal.AbstractInternalContentAssistParser; +import org.eclipse.xtext.ide.editor.partialEditing.IPartialEditingContentAssistParser; +import org.eclipse.xtext.util.PolymorphicDispatcher; + +public class PartialApplicationConfigurationContentAssistParser extends ApplicationConfigurationParser implements IPartialEditingContentAssistParser { + + private AbstractRule rule; + + @Override + public void initializeFor(AbstractRule rule) { + this.rule = rule; + } + + @Override + protected Collection getFollowElements(AbstractInternalContentAssistParser parser) { + if (rule == null || rule.eIsProxy()) + return Collections.emptyList(); + String methodName = "entryRule" + rule.getName(); + PolymorphicDispatcher> dispatcher = + new PolymorphicDispatcher>(methodName, 0, 0, Collections.singletonList(parser)); + dispatcher.invoke(); + return parser.getFollowElements(); + } + +} diff --git a/Application/hu.bme.mit.inf.dslreasoner.application.ide/src-gen/hu/bme/mit/inf/dslreasoner/application/ide/contentassist/antlr/internal/InternalApplicationConfiguration.g b/Application/hu.bme.mit.inf.dslreasoner.application.ide/src-gen/hu/bme/mit/inf/dslreasoner/application/ide/contentassist/antlr/internal/InternalApplicationConfiguration.g index e9a91938..ae1ad469 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application.ide/src-gen/hu/bme/mit/inf/dslreasoner/application/ide/contentassist/antlr/internal/InternalApplicationConfiguration.g +++ b/Application/hu.bme.mit.inf.dslreasoner.application.ide/src-gen/hu/bme/mit/inf/dslreasoner/application/ide/contentassist/antlr/internal/InternalApplicationConfiguration.g @@ -1,10488 +1,11794 @@ -/* - * generated by Xtext 2.12.0 - */ -grammar InternalApplicationConfiguration; - -options { - superClass=AbstractInternalContentAssistParser; -} - -@lexer::header { -package hu.bme.mit.inf.dslreasoner.application.ide.contentassist.antlr.internal; - -// Hack: Use our own Lexer superclass by means of import. -// Currently there is no other way to specify the superclass for the lexer. -import org.eclipse.xtext.ide.editor.contentassist.antlr.internal.Lexer; -} - -@parser::header { -package hu.bme.mit.inf.dslreasoner.application.ide.contentassist.antlr.internal; - -import java.io.InputStream; -import org.eclipse.xtext.*; -import org.eclipse.xtext.parser.*; -import org.eclipse.xtext.parser.impl.*; -import org.eclipse.emf.ecore.util.EcoreUtil; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.xtext.parser.antlr.XtextTokenStream; -import org.eclipse.xtext.parser.antlr.XtextTokenStream.HiddenTokens; -import org.eclipse.xtext.ide.editor.contentassist.antlr.internal.AbstractInternalContentAssistParser; -import org.eclipse.xtext.ide.editor.contentassist.antlr.internal.DFA; -import hu.bme.mit.inf.dslreasoner.application.services.ApplicationConfigurationGrammarAccess; - -} -@parser::members { - private ApplicationConfigurationGrammarAccess grammarAccess; - - public void setGrammarAccess(ApplicationConfigurationGrammarAccess grammarAccess) { - this.grammarAccess = grammarAccess; - } - - @Override - protected Grammar getGrammar() { - return grammarAccess.getGrammar(); - } - - @Override - protected String getValueForTokenName(String tokenName) { - return tokenName; - } -} - -// Entry rule entryRuleConfigurationScript -entryRuleConfigurationScript -: -{ before(grammarAccess.getConfigurationScriptRule()); } - ruleConfigurationScript -{ after(grammarAccess.getConfigurationScriptRule()); } - EOF -; - -// Rule ConfigurationScript -ruleConfigurationScript - @init { - int stackSize = keepStackSize(); - } - : - ( - { before(grammarAccess.getConfigurationScriptAccess().getGroup()); } - (rule__ConfigurationScript__Group__0) - { after(grammarAccess.getConfigurationScriptAccess().getGroup()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -// Entry rule entryRuleCommand -entryRuleCommand -: -{ before(grammarAccess.getCommandRule()); } - ruleCommand -{ after(grammarAccess.getCommandRule()); } - EOF -; - -// Rule Command -ruleCommand - @init { - int stackSize = keepStackSize(); - } - : - ( - { before(grammarAccess.getCommandAccess().getAlternatives()); } - (rule__Command__Alternatives) - { after(grammarAccess.getCommandAccess().getAlternatives()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -// Entry rule entryRuleQualifiedName -entryRuleQualifiedName -: -{ before(grammarAccess.getQualifiedNameRule()); } - ruleQualifiedName -{ after(grammarAccess.getQualifiedNameRule()); } - EOF -; - -// Rule QualifiedName -ruleQualifiedName - @init { - int stackSize = keepStackSize(); - } - : - ( - { before(grammarAccess.getQualifiedNameAccess().getGroup()); } - (rule__QualifiedName__Group__0) - { after(grammarAccess.getQualifiedNameAccess().getGroup()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -// Entry rule entryRuleREALLiteral -entryRuleREALLiteral -: -{ before(grammarAccess.getREALLiteralRule()); } - ruleREALLiteral -{ after(grammarAccess.getREALLiteralRule()); } - EOF -; - -// Rule REALLiteral -ruleREALLiteral - @init { - int stackSize = keepStackSize(); - } - : - ( - { before(grammarAccess.getREALLiteralAccess().getGroup()); } - (rule__REALLiteral__Group__0) - { after(grammarAccess.getREALLiteralAccess().getGroup()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -// Entry rule entryRuleINTLiteral -entryRuleINTLiteral -: -{ before(grammarAccess.getINTLiteralRule()); } - ruleINTLiteral -{ after(grammarAccess.getINTLiteralRule()); } - EOF -; - -// Rule INTLiteral -ruleINTLiteral - @init { - int stackSize = keepStackSize(); - } - : - ( - { before(grammarAccess.getINTLiteralAccess().getGroup()); } - (rule__INTLiteral__Group__0) - { after(grammarAccess.getINTLiteralAccess().getGroup()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -// Entry rule entryRuleImport -entryRuleImport -: -{ before(grammarAccess.getImportRule()); } - ruleImport -{ after(grammarAccess.getImportRule()); } - EOF -; - -// Rule Import -ruleImport - @init { - int stackSize = keepStackSize(); - } - : - ( - { before(grammarAccess.getImportAccess().getAlternatives()); } - (rule__Import__Alternatives) - { after(grammarAccess.getImportAccess().getAlternatives()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -// Entry rule entryRuleEPackageImport -entryRuleEPackageImport -: -{ before(grammarAccess.getEPackageImportRule()); } - ruleEPackageImport -{ after(grammarAccess.getEPackageImportRule()); } - EOF -; - -// Rule EPackageImport -ruleEPackageImport - @init { - int stackSize = keepStackSize(); - } - : - ( - { before(grammarAccess.getEPackageImportAccess().getGroup()); } - (rule__EPackageImport__Group__0) - { after(grammarAccess.getEPackageImportAccess().getGroup()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -// Entry rule entryRuleViatraImport -entryRuleViatraImport -: -{ before(grammarAccess.getViatraImportRule()); } - ruleViatraImport -{ after(grammarAccess.getViatraImportRule()); } - EOF -; - -// Rule ViatraImport -ruleViatraImport - @init { - int stackSize = keepStackSize(); - } - : - ( - { before(grammarAccess.getViatraImportAccess().getGroup()); } - (rule__ViatraImport__Group__0) - { after(grammarAccess.getViatraImportAccess().getGroup()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -// Entry rule entryRuleDeclaration -entryRuleDeclaration -: -{ before(grammarAccess.getDeclarationRule()); } - ruleDeclaration -{ after(grammarAccess.getDeclarationRule()); } - EOF -; - -// Rule Declaration -ruleDeclaration - @init { - int stackSize = keepStackSize(); - } - : - ( - { before(grammarAccess.getDeclarationAccess().getAlternatives()); } - (rule__Declaration__Alternatives) - { after(grammarAccess.getDeclarationAccess().getAlternatives()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -// Entry rule entryRuleFileSpecification -entryRuleFileSpecification -: -{ before(grammarAccess.getFileSpecificationRule()); } - ruleFileSpecification -{ after(grammarAccess.getFileSpecificationRule()); } - EOF -; - -// Rule FileSpecification -ruleFileSpecification - @init { - int stackSize = keepStackSize(); - } - : - ( - { before(grammarAccess.getFileSpecificationAccess().getPathAssignment()); } - (rule__FileSpecification__PathAssignment) - { after(grammarAccess.getFileSpecificationAccess().getPathAssignment()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -// Entry rule entryRuleFileDeclaration -entryRuleFileDeclaration -: -{ before(grammarAccess.getFileDeclarationRule()); } - ruleFileDeclaration -{ after(grammarAccess.getFileDeclarationRule()); } - EOF -; - -// Rule FileDeclaration -ruleFileDeclaration - @init { - int stackSize = keepStackSize(); - } - : - ( - { before(grammarAccess.getFileDeclarationAccess().getGroup()); } - (rule__FileDeclaration__Group__0) - { after(grammarAccess.getFileDeclarationAccess().getGroup()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -// Entry rule entryRuleFileReference -entryRuleFileReference -: -{ before(grammarAccess.getFileReferenceRule()); } - ruleFileReference -{ after(grammarAccess.getFileReferenceRule()); } - EOF -; - -// Rule FileReference -ruleFileReference - @init { - int stackSize = keepStackSize(); - } - : - ( - { before(grammarAccess.getFileReferenceAccess().getReferredAssignment()); } - (rule__FileReference__ReferredAssignment) - { after(grammarAccess.getFileReferenceAccess().getReferredAssignment()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -// Entry rule entryRuleFile -entryRuleFile -: -{ before(grammarAccess.getFileRule()); } - ruleFile -{ after(grammarAccess.getFileRule()); } - EOF -; - -// Rule File -ruleFile - @init { - int stackSize = keepStackSize(); - } - : - ( - { before(grammarAccess.getFileAccess().getAlternatives()); } - (rule__File__Alternatives) - { after(grammarAccess.getFileAccess().getAlternatives()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -// Entry rule entryRuleMetamodelSpecification -entryRuleMetamodelSpecification -: -{ before(grammarAccess.getMetamodelSpecificationRule()); } - ruleMetamodelSpecification -{ after(grammarAccess.getMetamodelSpecificationRule()); } - EOF -; - -// Rule MetamodelSpecification -ruleMetamodelSpecification - @init { - int stackSize = keepStackSize(); - } - : - ( - { before(grammarAccess.getMetamodelSpecificationAccess().getGroup()); } - (rule__MetamodelSpecification__Group__0) - { after(grammarAccess.getMetamodelSpecificationAccess().getGroup()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -// Entry rule entryRuleMetamodelEntry -entryRuleMetamodelEntry -: -{ before(grammarAccess.getMetamodelEntryRule()); } - ruleMetamodelEntry -{ after(grammarAccess.getMetamodelEntryRule()); } - EOF -; - -// Rule MetamodelEntry -ruleMetamodelEntry - @init { - int stackSize = keepStackSize(); - } - : - ( - { before(grammarAccess.getMetamodelEntryAccess().getAlternatives()); } - (rule__MetamodelEntry__Alternatives) - { after(grammarAccess.getMetamodelEntryAccess().getAlternatives()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -// Entry rule entryRuleAllPackageEntry -entryRuleAllPackageEntry -: -{ before(grammarAccess.getAllPackageEntryRule()); } - ruleAllPackageEntry -{ after(grammarAccess.getAllPackageEntryRule()); } - EOF -; - -// Rule AllPackageEntry -ruleAllPackageEntry - @init { - int stackSize = keepStackSize(); - } - : - ( - { before(grammarAccess.getAllPackageEntryAccess().getGroup()); } - (rule__AllPackageEntry__Group__0) - { after(grammarAccess.getAllPackageEntryAccess().getGroup()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -// Entry rule entryRuleMetamodelElement -entryRuleMetamodelElement -: -{ before(grammarAccess.getMetamodelElementRule()); } - ruleMetamodelElement -{ after(grammarAccess.getMetamodelElementRule()); } - EOF -; - -// Rule MetamodelElement -ruleMetamodelElement - @init { - int stackSize = keepStackSize(); - } - : - ( - { before(grammarAccess.getMetamodelElementAccess().getGroup()); } - (rule__MetamodelElement__Group__0) - { after(grammarAccess.getMetamodelElementAccess().getGroup()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -// Entry rule entryRuleMetamodelDeclaration -entryRuleMetamodelDeclaration -: -{ before(grammarAccess.getMetamodelDeclarationRule()); } - ruleMetamodelDeclaration -{ after(grammarAccess.getMetamodelDeclarationRule()); } - EOF -; - -// Rule MetamodelDeclaration -ruleMetamodelDeclaration - @init { - int stackSize = keepStackSize(); - } - : - ( - { before(grammarAccess.getMetamodelDeclarationAccess().getGroup()); } - (rule__MetamodelDeclaration__Group__0) - { after(grammarAccess.getMetamodelDeclarationAccess().getGroup()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -// Entry rule entryRuleMetamodelReference -entryRuleMetamodelReference -: -{ before(grammarAccess.getMetamodelReferenceRule()); } - ruleMetamodelReference -{ after(grammarAccess.getMetamodelReferenceRule()); } - EOF -; - -// Rule MetamodelReference -ruleMetamodelReference - @init { - int stackSize = keepStackSize(); - } - : - ( - { before(grammarAccess.getMetamodelReferenceAccess().getReferredAssignment()); } - (rule__MetamodelReference__ReferredAssignment) - { after(grammarAccess.getMetamodelReferenceAccess().getReferredAssignment()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -// Entry rule entryRuleMetamodel -entryRuleMetamodel -: -{ before(grammarAccess.getMetamodelRule()); } - ruleMetamodel -{ after(grammarAccess.getMetamodelRule()); } - EOF -; - -// Rule Metamodel -ruleMetamodel - @init { - int stackSize = keepStackSize(); - } - : - ( - { before(grammarAccess.getMetamodelAccess().getAlternatives()); } - (rule__Metamodel__Alternatives) - { after(grammarAccess.getMetamodelAccess().getAlternatives()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -// Entry rule entryRulePartialModelSpecification -entryRulePartialModelSpecification -: -{ before(grammarAccess.getPartialModelSpecificationRule()); } - rulePartialModelSpecification -{ after(grammarAccess.getPartialModelSpecificationRule()); } - EOF -; - -// Rule PartialModelSpecification -rulePartialModelSpecification - @init { - int stackSize = keepStackSize(); - } - : - ( - { before(grammarAccess.getPartialModelSpecificationAccess().getGroup()); } - (rule__PartialModelSpecification__Group__0) - { after(grammarAccess.getPartialModelSpecificationAccess().getGroup()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -// Entry rule entryRulePartialModelEntry -entryRulePartialModelEntry -: -{ before(grammarAccess.getPartialModelEntryRule()); } - rulePartialModelEntry -{ after(grammarAccess.getPartialModelEntryRule()); } - EOF -; - -// Rule PartialModelEntry -rulePartialModelEntry - @init { - int stackSize = keepStackSize(); - } - : - ( - { before(grammarAccess.getPartialModelEntryAccess().getAlternatives()); } - (rule__PartialModelEntry__Alternatives) - { after(grammarAccess.getPartialModelEntryAccess().getAlternatives()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -// Entry rule entryRuleModelEntry -entryRuleModelEntry -: -{ before(grammarAccess.getModelEntryRule()); } - ruleModelEntry -{ after(grammarAccess.getModelEntryRule()); } - EOF -; - -// Rule ModelEntry -ruleModelEntry - @init { - int stackSize = keepStackSize(); - } - : - ( - { before(grammarAccess.getModelEntryAccess().getPathAssignment()); } - (rule__ModelEntry__PathAssignment) - { after(grammarAccess.getModelEntryAccess().getPathAssignment()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -// Entry rule entryRuleFolderEntry -entryRuleFolderEntry -: -{ before(grammarAccess.getFolderEntryRule()); } - ruleFolderEntry -{ after(grammarAccess.getFolderEntryRule()); } - EOF -; - -// Rule FolderEntry -ruleFolderEntry - @init { - int stackSize = keepStackSize(); - } - : - ( - { before(grammarAccess.getFolderEntryAccess().getGroup()); } - (rule__FolderEntry__Group__0) - { after(grammarAccess.getFolderEntryAccess().getGroup()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -// Entry rule entryRulePartialModelDeclaration -entryRulePartialModelDeclaration -: -{ before(grammarAccess.getPartialModelDeclarationRule()); } - rulePartialModelDeclaration -{ after(grammarAccess.getPartialModelDeclarationRule()); } - EOF -; - -// Rule PartialModelDeclaration -rulePartialModelDeclaration - @init { - int stackSize = keepStackSize(); - } - : - ( - { before(grammarAccess.getPartialModelDeclarationAccess().getGroup()); } - (rule__PartialModelDeclaration__Group__0) - { after(grammarAccess.getPartialModelDeclarationAccess().getGroup()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -// Entry rule entryRulePartialModelReference -entryRulePartialModelReference -: -{ before(grammarAccess.getPartialModelReferenceRule()); } - rulePartialModelReference -{ after(grammarAccess.getPartialModelReferenceRule()); } - EOF -; - -// Rule PartialModelReference -rulePartialModelReference - @init { - int stackSize = keepStackSize(); - } - : - ( - { before(grammarAccess.getPartialModelReferenceAccess().getReferredAssignment()); } - (rule__PartialModelReference__ReferredAssignment) - { after(grammarAccess.getPartialModelReferenceAccess().getReferredAssignment()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -// Entry rule entryRulePartialModel -entryRulePartialModel -: -{ before(grammarAccess.getPartialModelRule()); } - rulePartialModel -{ after(grammarAccess.getPartialModelRule()); } - EOF -; - -// Rule PartialModel -rulePartialModel - @init { - int stackSize = keepStackSize(); - } - : - ( - { before(grammarAccess.getPartialModelAccess().getAlternatives()); } - (rule__PartialModel__Alternatives) - { after(grammarAccess.getPartialModelAccess().getAlternatives()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -// Entry rule entryRulePatternSpecification -entryRulePatternSpecification -: -{ before(grammarAccess.getPatternSpecificationRule()); } - rulePatternSpecification -{ after(grammarAccess.getPatternSpecificationRule()); } - EOF -; - -// Rule PatternSpecification -rulePatternSpecification - @init { - int stackSize = keepStackSize(); - } - : - ( - { before(grammarAccess.getPatternSpecificationAccess().getGroup()); } - (rule__PatternSpecification__Group__0) - { after(grammarAccess.getPatternSpecificationAccess().getGroup()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -// Entry rule entryRulePatternEntry -entryRulePatternEntry -: -{ before(grammarAccess.getPatternEntryRule()); } - rulePatternEntry -{ after(grammarAccess.getPatternEntryRule()); } - EOF -; - -// Rule PatternEntry -rulePatternEntry - @init { - int stackSize = keepStackSize(); - } - : - ( - { before(grammarAccess.getPatternEntryAccess().getAlternatives()); } - (rule__PatternEntry__Alternatives) - { after(grammarAccess.getPatternEntryAccess().getAlternatives()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -// Entry rule entryRuleAllPatternEntry -entryRuleAllPatternEntry -: -{ before(grammarAccess.getAllPatternEntryRule()); } - ruleAllPatternEntry -{ after(grammarAccess.getAllPatternEntryRule()); } - EOF -; - -// Rule AllPatternEntry -ruleAllPatternEntry - @init { - int stackSize = keepStackSize(); - } - : - ( - { before(grammarAccess.getAllPatternEntryAccess().getGroup()); } - (rule__AllPatternEntry__Group__0) - { after(grammarAccess.getAllPatternEntryAccess().getGroup()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -// Entry rule entryRulePatternElement -entryRulePatternElement -: -{ before(grammarAccess.getPatternElementRule()); } - rulePatternElement -{ after(grammarAccess.getPatternElementRule()); } - EOF -; - -// Rule PatternElement -rulePatternElement - @init { - int stackSize = keepStackSize(); - } - : - ( - { before(grammarAccess.getPatternElementAccess().getGroup()); } - (rule__PatternElement__Group__0) - { after(grammarAccess.getPatternElementAccess().getGroup()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -// Entry rule entryRuleGraphPatternDeclaration -entryRuleGraphPatternDeclaration -: -{ before(grammarAccess.getGraphPatternDeclarationRule()); } - ruleGraphPatternDeclaration -{ after(grammarAccess.getGraphPatternDeclarationRule()); } - EOF -; - -// Rule GraphPatternDeclaration -ruleGraphPatternDeclaration - @init { - int stackSize = keepStackSize(); - } - : - ( - { before(grammarAccess.getGraphPatternDeclarationAccess().getGroup()); } - (rule__GraphPatternDeclaration__Group__0) - { after(grammarAccess.getGraphPatternDeclarationAccess().getGroup()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -// Entry rule entryRuleGraphPatternReference -entryRuleGraphPatternReference -: -{ before(grammarAccess.getGraphPatternReferenceRule()); } - ruleGraphPatternReference -{ after(grammarAccess.getGraphPatternReferenceRule()); } - EOF -; - -// Rule GraphPatternReference -ruleGraphPatternReference - @init { - int stackSize = keepStackSize(); - } - : - ( - { before(grammarAccess.getGraphPatternReferenceAccess().getReferredAssignment()); } - (rule__GraphPatternReference__ReferredAssignment) - { after(grammarAccess.getGraphPatternReferenceAccess().getReferredAssignment()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -// Entry rule entryRuleGraphPattern -entryRuleGraphPattern -: -{ before(grammarAccess.getGraphPatternRule()); } - ruleGraphPattern -{ after(grammarAccess.getGraphPatternRule()); } - EOF -; - -// Rule GraphPattern -ruleGraphPattern - @init { - int stackSize = keepStackSize(); - } - : - ( - { before(grammarAccess.getGraphPatternAccess().getAlternatives()); } - (rule__GraphPattern__Alternatives) - { after(grammarAccess.getGraphPatternAccess().getAlternatives()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -// Entry rule entryRuleConfigSpecification -entryRuleConfigSpecification -: -{ before(grammarAccess.getConfigSpecificationRule()); } - ruleConfigSpecification -{ after(grammarAccess.getConfigSpecificationRule()); } - EOF -; - -// Rule ConfigSpecification -ruleConfigSpecification - @init { - int stackSize = keepStackSize(); - } - : - ( - { before(grammarAccess.getConfigSpecificationAccess().getGroup()); } - (rule__ConfigSpecification__Group__0) - { after(grammarAccess.getConfigSpecificationAccess().getGroup()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -// Entry rule entryRuleConfigDeclaration -entryRuleConfigDeclaration -: -{ before(grammarAccess.getConfigDeclarationRule()); } - ruleConfigDeclaration -{ after(grammarAccess.getConfigDeclarationRule()); } - EOF -; - -// Rule ConfigDeclaration -ruleConfigDeclaration - @init { - int stackSize = keepStackSize(); - } - : - ( - { before(grammarAccess.getConfigDeclarationAccess().getGroup()); } - (rule__ConfigDeclaration__Group__0) - { after(grammarAccess.getConfigDeclarationAccess().getGroup()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -// Entry rule entryRuleConfigEntry -entryRuleConfigEntry -: -{ before(grammarAccess.getConfigEntryRule()); } - ruleConfigEntry -{ after(grammarAccess.getConfigEntryRule()); } - EOF -; - -// Rule ConfigEntry -ruleConfigEntry - @init { - int stackSize = keepStackSize(); - } - : - ( - { before(grammarAccess.getConfigEntryAccess().getAlternatives()); } - (rule__ConfigEntry__Alternatives) - { after(grammarAccess.getConfigEntryAccess().getAlternatives()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -// Entry rule entryRuleDocumentationEntry -entryRuleDocumentationEntry -: -{ before(grammarAccess.getDocumentationEntryRule()); } - ruleDocumentationEntry -{ after(grammarAccess.getDocumentationEntryRule()); } - EOF -; - -// Rule DocumentationEntry -ruleDocumentationEntry - @init { - int stackSize = keepStackSize(); - } - : - ( - { before(grammarAccess.getDocumentationEntryAccess().getGroup()); } - (rule__DocumentationEntry__Group__0) - { after(grammarAccess.getDocumentationEntryAccess().getGroup()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -// Entry rule entryRuleRuntimeEntry -entryRuleRuntimeEntry -: -{ before(grammarAccess.getRuntimeEntryRule()); } - ruleRuntimeEntry -{ after(grammarAccess.getRuntimeEntryRule()); } - EOF -; - -// Rule RuntimeEntry -ruleRuntimeEntry - @init { - int stackSize = keepStackSize(); - } - : - ( - { before(grammarAccess.getRuntimeEntryAccess().getGroup()); } - (rule__RuntimeEntry__Group__0) - { after(grammarAccess.getRuntimeEntryAccess().getGroup()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -// Entry rule entryRuleMemoryEntry -entryRuleMemoryEntry -: -{ before(grammarAccess.getMemoryEntryRule()); } - ruleMemoryEntry -{ after(grammarAccess.getMemoryEntryRule()); } - EOF -; - -// Rule MemoryEntry -ruleMemoryEntry - @init { - int stackSize = keepStackSize(); - } - : - ( - { before(grammarAccess.getMemoryEntryAccess().getGroup()); } - (rule__MemoryEntry__Group__0) - { after(grammarAccess.getMemoryEntryAccess().getGroup()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -// Entry rule entryRuleCustomEntry -entryRuleCustomEntry -: -{ before(grammarAccess.getCustomEntryRule()); } - ruleCustomEntry -{ after(grammarAccess.getCustomEntryRule()); } - EOF -; - -// Rule CustomEntry -ruleCustomEntry - @init { - int stackSize = keepStackSize(); - } - : - ( - { before(grammarAccess.getCustomEntryAccess().getGroup()); } - (rule__CustomEntry__Group__0) - { after(grammarAccess.getCustomEntryAccess().getGroup()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -// Entry rule entryRuleConfigReference -entryRuleConfigReference -: -{ before(grammarAccess.getConfigReferenceRule()); } - ruleConfigReference -{ after(grammarAccess.getConfigReferenceRule()); } - EOF -; - -// Rule ConfigReference -ruleConfigReference - @init { - int stackSize = keepStackSize(); - } - : - ( - { before(grammarAccess.getConfigReferenceAccess().getConfigAssignment()); } - (rule__ConfigReference__ConfigAssignment) - { after(grammarAccess.getConfigReferenceAccess().getConfigAssignment()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -// Entry rule entryRuleConfig -entryRuleConfig -: -{ before(grammarAccess.getConfigRule()); } - ruleConfig -{ after(grammarAccess.getConfigRule()); } - EOF -; - -// Rule Config -ruleConfig - @init { - int stackSize = keepStackSize(); - } - : - ( - { before(grammarAccess.getConfigAccess().getAlternatives()); } - (rule__Config__Alternatives) - { after(grammarAccess.getConfigAccess().getAlternatives()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -// Entry rule entryRuleScopeSpecification -entryRuleScopeSpecification -: -{ before(grammarAccess.getScopeSpecificationRule()); } - ruleScopeSpecification -{ after(grammarAccess.getScopeSpecificationRule()); } - EOF -; - -// Rule ScopeSpecification -ruleScopeSpecification - @init { - int stackSize = keepStackSize(); - } - : - ( - { before(grammarAccess.getScopeSpecificationAccess().getGroup()); } - (rule__ScopeSpecification__Group__0) - { after(grammarAccess.getScopeSpecificationAccess().getGroup()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -// Entry rule entryRuleTypeScope -entryRuleTypeScope -: -{ before(grammarAccess.getTypeScopeRule()); } - ruleTypeScope -{ after(grammarAccess.getTypeScopeRule()); } - EOF -; - -// Rule TypeScope -ruleTypeScope - @init { - int stackSize = keepStackSize(); - } - : - ( - { before(grammarAccess.getTypeScopeAccess().getAlternatives()); } - (rule__TypeScope__Alternatives) - { after(grammarAccess.getTypeScopeAccess().getAlternatives()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -// Entry rule entryRuleClassTypeScope -entryRuleClassTypeScope -: -{ before(grammarAccess.getClassTypeScopeRule()); } - ruleClassTypeScope -{ after(grammarAccess.getClassTypeScopeRule()); } - EOF -; - -// Rule ClassTypeScope -ruleClassTypeScope - @init { - int stackSize = keepStackSize(); - } - : - ( - { before(grammarAccess.getClassTypeScopeAccess().getGroup()); } - (rule__ClassTypeScope__Group__0) - { after(grammarAccess.getClassTypeScopeAccess().getGroup()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -// Entry rule entryRuleObjectTypeScope -entryRuleObjectTypeScope -: -{ before(grammarAccess.getObjectTypeScopeRule()); } - ruleObjectTypeScope -{ after(grammarAccess.getObjectTypeScopeRule()); } - EOF -; - -// Rule ObjectTypeScope -ruleObjectTypeScope - @init { - int stackSize = keepStackSize(); - } - : - ( - { before(grammarAccess.getObjectTypeScopeAccess().getGroup()); } - (rule__ObjectTypeScope__Group__0) - { after(grammarAccess.getObjectTypeScopeAccess().getGroup()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -// Entry rule entryRuleIntegerTypeScope -entryRuleIntegerTypeScope -: -{ before(grammarAccess.getIntegerTypeScopeRule()); } - ruleIntegerTypeScope -{ after(grammarAccess.getIntegerTypeScopeRule()); } - EOF -; - -// Rule IntegerTypeScope -ruleIntegerTypeScope - @init { - int stackSize = keepStackSize(); - } - : - ( - { before(grammarAccess.getIntegerTypeScopeAccess().getGroup()); } - (rule__IntegerTypeScope__Group__0) - { after(grammarAccess.getIntegerTypeScopeAccess().getGroup()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -// Entry rule entryRuleRealTypeScope -entryRuleRealTypeScope -: -{ before(grammarAccess.getRealTypeScopeRule()); } - ruleRealTypeScope -{ after(grammarAccess.getRealTypeScopeRule()); } - EOF -; - -// Rule RealTypeScope -ruleRealTypeScope - @init { - int stackSize = keepStackSize(); - } - : - ( - { before(grammarAccess.getRealTypeScopeAccess().getGroup()); } - (rule__RealTypeScope__Group__0) - { after(grammarAccess.getRealTypeScopeAccess().getGroup()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -// Entry rule entryRuleStringTypeScope -entryRuleStringTypeScope -: -{ before(grammarAccess.getStringTypeScopeRule()); } - ruleStringTypeScope -{ after(grammarAccess.getStringTypeScopeRule()); } - EOF -; - -// Rule StringTypeScope -ruleStringTypeScope - @init { - int stackSize = keepStackSize(); - } - : - ( - { before(grammarAccess.getStringTypeScopeAccess().getGroup()); } - (rule__StringTypeScope__Group__0) - { after(grammarAccess.getStringTypeScopeAccess().getGroup()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -// Entry rule entryRuleClassReference -entryRuleClassReference -: -{ before(grammarAccess.getClassReferenceRule()); } - ruleClassReference -{ after(grammarAccess.getClassReferenceRule()); } - EOF -; - -// Rule ClassReference -ruleClassReference - @init { - int stackSize = keepStackSize(); - } - : - ( - { before(grammarAccess.getClassReferenceAccess().getGroup()); } - (rule__ClassReference__Group__0) - { after(grammarAccess.getClassReferenceAccess().getGroup()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -// Entry rule entryRuleObjectReference -entryRuleObjectReference -: -{ before(grammarAccess.getObjectReferenceRule()); } - ruleObjectReference -{ after(grammarAccess.getObjectReferenceRule()); } - EOF -; - -// Rule ObjectReference -ruleObjectReference - @init { - int stackSize = keepStackSize(); - } - : - ( - { before(grammarAccess.getObjectReferenceAccess().getGroup()); } - (rule__ObjectReference__Group__0) - { after(grammarAccess.getObjectReferenceAccess().getGroup()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -// Entry rule entryRuleIntegerReference -entryRuleIntegerReference -: -{ before(grammarAccess.getIntegerReferenceRule()); } - ruleIntegerReference -{ after(grammarAccess.getIntegerReferenceRule()); } - EOF -; - -// Rule IntegerReference -ruleIntegerReference - @init { - int stackSize = keepStackSize(); - } - : - ( - { before(grammarAccess.getIntegerReferenceAccess().getGroup()); } - (rule__IntegerReference__Group__0) - { after(grammarAccess.getIntegerReferenceAccess().getGroup()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -// Entry rule entryRuleRealReference -entryRuleRealReference -: -{ before(grammarAccess.getRealReferenceRule()); } - ruleRealReference -{ after(grammarAccess.getRealReferenceRule()); } - EOF -; - -// Rule RealReference -ruleRealReference - @init { - int stackSize = keepStackSize(); - } - : - ( - { before(grammarAccess.getRealReferenceAccess().getGroup()); } - (rule__RealReference__Group__0) - { after(grammarAccess.getRealReferenceAccess().getGroup()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -// Entry rule entryRuleStringReference -entryRuleStringReference -: -{ before(grammarAccess.getStringReferenceRule()); } - ruleStringReference -{ after(grammarAccess.getStringReferenceRule()); } - EOF -; - -// Rule StringReference -ruleStringReference - @init { - int stackSize = keepStackSize(); - } - : - ( - { before(grammarAccess.getStringReferenceAccess().getGroup()); } - (rule__StringReference__Group__0) - { after(grammarAccess.getStringReferenceAccess().getGroup()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -// Entry rule entryRuleExactNumber -entryRuleExactNumber -: -{ before(grammarAccess.getExactNumberRule()); } - ruleExactNumber -{ after(grammarAccess.getExactNumberRule()); } - EOF -; - -// Rule ExactNumber -ruleExactNumber - @init { - int stackSize = keepStackSize(); - } - : - ( - { before(grammarAccess.getExactNumberAccess().getAlternatives()); } - (rule__ExactNumber__Alternatives) - { after(grammarAccess.getExactNumberAccess().getAlternatives()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -// Entry rule entryRuleIntervallNumber -entryRuleIntervallNumber -: -{ before(grammarAccess.getIntervallNumberRule()); } - ruleIntervallNumber -{ after(grammarAccess.getIntervallNumberRule()); } - EOF -; - -// Rule IntervallNumber -ruleIntervallNumber - @init { - int stackSize = keepStackSize(); - } - : - ( - { before(grammarAccess.getIntervallNumberAccess().getGroup()); } - (rule__IntervallNumber__Group__0) - { after(grammarAccess.getIntervallNumberAccess().getGroup()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -// Entry rule entryRuleIntEnumberation -entryRuleIntEnumberation -: -{ before(grammarAccess.getIntEnumberationRule()); } - ruleIntEnumberation -{ after(grammarAccess.getIntEnumberationRule()); } - EOF -; - -// Rule IntEnumberation -ruleIntEnumberation - @init { - int stackSize = keepStackSize(); - } - : - ( - { before(grammarAccess.getIntEnumberationAccess().getGroup()); } - (rule__IntEnumberation__Group__0) - { after(grammarAccess.getIntEnumberationAccess().getGroup()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -// Entry rule entryRuleRealEnumeration -entryRuleRealEnumeration -: -{ before(grammarAccess.getRealEnumerationRule()); } - ruleRealEnumeration -{ after(grammarAccess.getRealEnumerationRule()); } - EOF -; - -// Rule RealEnumeration -ruleRealEnumeration - @init { - int stackSize = keepStackSize(); - } - : - ( - { before(grammarAccess.getRealEnumerationAccess().getGroup()); } - (rule__RealEnumeration__Group__0) - { after(grammarAccess.getRealEnumerationAccess().getGroup()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -// Entry rule entryRuleStringEnumeration -entryRuleStringEnumeration -: -{ before(grammarAccess.getStringEnumerationRule()); } - ruleStringEnumeration -{ after(grammarAccess.getStringEnumerationRule()); } - EOF -; - -// Rule StringEnumeration -ruleStringEnumeration - @init { - int stackSize = keepStackSize(); - } - : - ( - { before(grammarAccess.getStringEnumerationAccess().getGroup()); } - (rule__StringEnumeration__Group__0) - { after(grammarAccess.getStringEnumerationAccess().getGroup()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -// Entry rule entryRuleScopeDeclaration -entryRuleScopeDeclaration -: -{ before(grammarAccess.getScopeDeclarationRule()); } - ruleScopeDeclaration -{ after(grammarAccess.getScopeDeclarationRule()); } - EOF -; - -// Rule ScopeDeclaration -ruleScopeDeclaration - @init { - int stackSize = keepStackSize(); - } - : - ( - { before(grammarAccess.getScopeDeclarationAccess().getGroup()); } - (rule__ScopeDeclaration__Group__0) - { after(grammarAccess.getScopeDeclarationAccess().getGroup()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -// Entry rule entryRuleScopeReference -entryRuleScopeReference -: -{ before(grammarAccess.getScopeReferenceRule()); } - ruleScopeReference -{ after(grammarAccess.getScopeReferenceRule()); } - EOF -; - -// Rule ScopeReference -ruleScopeReference - @init { - int stackSize = keepStackSize(); - } - : - ( - { before(grammarAccess.getScopeReferenceAccess().getReferredAssignment()); } - (rule__ScopeReference__ReferredAssignment) - { after(grammarAccess.getScopeReferenceAccess().getReferredAssignment()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -// Entry rule entryRuleScope -entryRuleScope -: -{ before(grammarAccess.getScopeRule()); } - ruleScope -{ after(grammarAccess.getScopeRule()); } - EOF -; - -// Rule Scope -ruleScope - @init { - int stackSize = keepStackSize(); - } - : - ( - { before(grammarAccess.getScopeAccess().getAlternatives()); } - (rule__Scope__Alternatives) - { after(grammarAccess.getScopeAccess().getAlternatives()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -// Entry rule entryRuleTask -entryRuleTask -: -{ before(grammarAccess.getTaskRule()); } - ruleTask -{ after(grammarAccess.getTaskRule()); } - EOF -; - -// Rule Task -ruleTask - @init { - int stackSize = keepStackSize(); - } - : - ( - { before(grammarAccess.getTaskAccess().getGenerationTaskParserRuleCall()); } - ruleGenerationTask - { after(grammarAccess.getTaskAccess().getGenerationTaskParserRuleCall()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -// Entry rule entryRuleGenerationTask -entryRuleGenerationTask -: -{ before(grammarAccess.getGenerationTaskRule()); } - ruleGenerationTask -{ after(grammarAccess.getGenerationTaskRule()); } - EOF -; - -// Rule GenerationTask -ruleGenerationTask - @init { - int stackSize = keepStackSize(); - } - : - ( - { before(grammarAccess.getGenerationTaskAccess().getGroup()); } - (rule__GenerationTask__Group__0) - { after(grammarAccess.getGenerationTaskAccess().getGroup()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -// Rule DocumentLevelSpecification -ruleDocumentLevelSpecification - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getDocumentLevelSpecificationAccess().getAlternatives()); } - (rule__DocumentLevelSpecification__Alternatives) - { after(grammarAccess.getDocumentLevelSpecificationAccess().getAlternatives()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -// Rule Solver -ruleSolver - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getSolverAccess().getAlternatives()); } - (rule__Solver__Alternatives) - { after(grammarAccess.getSolverAccess().getAlternatives()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__Command__Alternatives - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getCommandAccess().getDeclarationParserRuleCall_0()); } - ruleDeclaration - { after(grammarAccess.getCommandAccess().getDeclarationParserRuleCall_0()); } - ) - | - ( - { before(grammarAccess.getCommandAccess().getTaskParserRuleCall_1()); } - ruleTask - { after(grammarAccess.getCommandAccess().getTaskParserRuleCall_1()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__Import__Alternatives - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getImportAccess().getEPackageImportParserRuleCall_0()); } - ruleEPackageImport - { after(grammarAccess.getImportAccess().getEPackageImportParserRuleCall_0()); } - ) - | - ( - { before(grammarAccess.getImportAccess().getViatraImportParserRuleCall_1()); } - ruleViatraImport - { after(grammarAccess.getImportAccess().getViatraImportParserRuleCall_1()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__Declaration__Alternatives - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getDeclarationAccess().getFileDeclarationParserRuleCall_0()); } - ruleFileDeclaration - { after(grammarAccess.getDeclarationAccess().getFileDeclarationParserRuleCall_0()); } - ) - | - ( - { before(grammarAccess.getDeclarationAccess().getMetamodelDeclarationParserRuleCall_1()); } - ruleMetamodelDeclaration - { after(grammarAccess.getDeclarationAccess().getMetamodelDeclarationParserRuleCall_1()); } - ) - | - ( - { before(grammarAccess.getDeclarationAccess().getPartialModelDeclarationParserRuleCall_2()); } - rulePartialModelDeclaration - { after(grammarAccess.getDeclarationAccess().getPartialModelDeclarationParserRuleCall_2()); } - ) - | - ( - { before(grammarAccess.getDeclarationAccess().getGraphPatternDeclarationParserRuleCall_3()); } - ruleGraphPatternDeclaration - { after(grammarAccess.getDeclarationAccess().getGraphPatternDeclarationParserRuleCall_3()); } - ) - | - ( - { before(grammarAccess.getDeclarationAccess().getConfigDeclarationParserRuleCall_4()); } - ruleConfigDeclaration - { after(grammarAccess.getDeclarationAccess().getConfigDeclarationParserRuleCall_4()); } - ) - | - ( - { before(grammarAccess.getDeclarationAccess().getScopeDeclarationParserRuleCall_5()); } - ruleScopeDeclaration - { after(grammarAccess.getDeclarationAccess().getScopeDeclarationParserRuleCall_5()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__File__Alternatives - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getFileAccess().getFileSpecificationParserRuleCall_0()); } - ruleFileSpecification - { after(grammarAccess.getFileAccess().getFileSpecificationParserRuleCall_0()); } - ) - | - ( - { before(grammarAccess.getFileAccess().getFileReferenceParserRuleCall_1()); } - ruleFileReference - { after(grammarAccess.getFileAccess().getFileReferenceParserRuleCall_1()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__MetamodelEntry__Alternatives - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getMetamodelEntryAccess().getMetamodelElementParserRuleCall_0()); } - ruleMetamodelElement - { after(grammarAccess.getMetamodelEntryAccess().getMetamodelElementParserRuleCall_0()); } - ) - | - ( - { before(grammarAccess.getMetamodelEntryAccess().getAllPackageEntryParserRuleCall_1()); } - ruleAllPackageEntry - { after(grammarAccess.getMetamodelEntryAccess().getAllPackageEntryParserRuleCall_1()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__Metamodel__Alternatives - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getMetamodelAccess().getMetamodelReferenceParserRuleCall_0()); } - ruleMetamodelReference - { after(grammarAccess.getMetamodelAccess().getMetamodelReferenceParserRuleCall_0()); } - ) - | - ( - { before(grammarAccess.getMetamodelAccess().getMetamodelSpecificationParserRuleCall_1()); } - ruleMetamodelSpecification - { after(grammarAccess.getMetamodelAccess().getMetamodelSpecificationParserRuleCall_1()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__PartialModelEntry__Alternatives - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getPartialModelEntryAccess().getModelEntryParserRuleCall_0()); } - ruleModelEntry - { after(grammarAccess.getPartialModelEntryAccess().getModelEntryParserRuleCall_0()); } - ) - | - ( - { before(grammarAccess.getPartialModelEntryAccess().getFolderEntryParserRuleCall_1()); } - ruleFolderEntry - { after(grammarAccess.getPartialModelEntryAccess().getFolderEntryParserRuleCall_1()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__PartialModel__Alternatives - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getPartialModelAccess().getPartialModelSpecificationParserRuleCall_0()); } - rulePartialModelSpecification - { after(grammarAccess.getPartialModelAccess().getPartialModelSpecificationParserRuleCall_0()); } - ) - | - ( - { before(grammarAccess.getPartialModelAccess().getPartialModelReferenceParserRuleCall_1()); } - rulePartialModelReference - { after(grammarAccess.getPartialModelAccess().getPartialModelReferenceParserRuleCall_1()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__PatternEntry__Alternatives - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getPatternEntryAccess().getPatternElementParserRuleCall_0()); } - rulePatternElement - { after(grammarAccess.getPatternEntryAccess().getPatternElementParserRuleCall_0()); } - ) - | - ( - { before(grammarAccess.getPatternEntryAccess().getAllPatternEntryParserRuleCall_1()); } - ruleAllPatternEntry - { after(grammarAccess.getPatternEntryAccess().getAllPatternEntryParserRuleCall_1()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__GraphPattern__Alternatives - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getGraphPatternAccess().getGraphPatternReferenceParserRuleCall_0()); } - ruleGraphPatternReference - { after(grammarAccess.getGraphPatternAccess().getGraphPatternReferenceParserRuleCall_0()); } - ) - | - ( - { before(grammarAccess.getGraphPatternAccess().getPatternSpecificationParserRuleCall_1()); } - rulePatternSpecification - { after(grammarAccess.getGraphPatternAccess().getPatternSpecificationParserRuleCall_1()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__ConfigEntry__Alternatives - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getConfigEntryAccess().getDocumentationEntryParserRuleCall_0()); } - ruleDocumentationEntry - { after(grammarAccess.getConfigEntryAccess().getDocumentationEntryParserRuleCall_0()); } - ) - | - ( - { before(grammarAccess.getConfigEntryAccess().getRuntimeEntryParserRuleCall_1()); } - ruleRuntimeEntry - { after(grammarAccess.getConfigEntryAccess().getRuntimeEntryParserRuleCall_1()); } - ) - | - ( - { before(grammarAccess.getConfigEntryAccess().getMemoryEntryParserRuleCall_2()); } - ruleMemoryEntry - { after(grammarAccess.getConfigEntryAccess().getMemoryEntryParserRuleCall_2()); } - ) - | - ( - { before(grammarAccess.getConfigEntryAccess().getCustomEntryParserRuleCall_3()); } - ruleCustomEntry - { after(grammarAccess.getConfigEntryAccess().getCustomEntryParserRuleCall_3()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__Config__Alternatives - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getConfigAccess().getConfigSpecificationParserRuleCall_0()); } - ruleConfigSpecification - { after(grammarAccess.getConfigAccess().getConfigSpecificationParserRuleCall_0()); } - ) - | - ( - { before(grammarAccess.getConfigAccess().getConfigReferenceParserRuleCall_1()); } - ruleConfigReference - { after(grammarAccess.getConfigAccess().getConfigReferenceParserRuleCall_1()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__TypeScope__Alternatives - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getTypeScopeAccess().getClassTypeScopeParserRuleCall_0()); } - ruleClassTypeScope - { after(grammarAccess.getTypeScopeAccess().getClassTypeScopeParserRuleCall_0()); } - ) - | - ( - { before(grammarAccess.getTypeScopeAccess().getObjectTypeScopeParserRuleCall_1()); } - ruleObjectTypeScope - { after(grammarAccess.getTypeScopeAccess().getObjectTypeScopeParserRuleCall_1()); } - ) - | - ( - { before(grammarAccess.getTypeScopeAccess().getIntegerTypeScopeParserRuleCall_2()); } - ruleIntegerTypeScope - { after(grammarAccess.getTypeScopeAccess().getIntegerTypeScopeParserRuleCall_2()); } - ) - | - ( - { before(grammarAccess.getTypeScopeAccess().getRealTypeScopeParserRuleCall_3()); } - ruleRealTypeScope - { after(grammarAccess.getTypeScopeAccess().getRealTypeScopeParserRuleCall_3()); } - ) - | - ( - { before(grammarAccess.getTypeScopeAccess().getStringTypeScopeParserRuleCall_4()); } - ruleStringTypeScope - { after(grammarAccess.getTypeScopeAccess().getStringTypeScopeParserRuleCall_4()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__ClassTypeScope__Alternatives_2 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getClassTypeScopeAccess().getSetsNewAssignment_2_0()); } - (rule__ClassTypeScope__SetsNewAssignment_2_0) - { after(grammarAccess.getClassTypeScopeAccess().getSetsNewAssignment_2_0()); } - ) - | - ( - { before(grammarAccess.getClassTypeScopeAccess().getSetsSumAssignment_2_1()); } - (rule__ClassTypeScope__SetsSumAssignment_2_1) - { after(grammarAccess.getClassTypeScopeAccess().getSetsSumAssignment_2_1()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__ClassTypeScope__Alternatives_3 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getClassTypeScopeAccess().getNumberAssignment_3_0()); } - (rule__ClassTypeScope__NumberAssignment_3_0) - { after(grammarAccess.getClassTypeScopeAccess().getNumberAssignment_3_0()); } - ) - | - ( - { before(grammarAccess.getClassTypeScopeAccess().getNumberAssignment_3_1()); } - (rule__ClassTypeScope__NumberAssignment_3_1) - { after(grammarAccess.getClassTypeScopeAccess().getNumberAssignment_3_1()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__ObjectTypeScope__Alternatives_2 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getObjectTypeScopeAccess().getSetsNewAssignment_2_0()); } - (rule__ObjectTypeScope__SetsNewAssignment_2_0) - { after(grammarAccess.getObjectTypeScopeAccess().getSetsNewAssignment_2_0()); } - ) - | - ( - { before(grammarAccess.getObjectTypeScopeAccess().getSetsSumAssignment_2_1()); } - (rule__ObjectTypeScope__SetsSumAssignment_2_1) - { after(grammarAccess.getObjectTypeScopeAccess().getSetsSumAssignment_2_1()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__ObjectTypeScope__Alternatives_3 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getObjectTypeScopeAccess().getNumberAssignment_3_0()); } - (rule__ObjectTypeScope__NumberAssignment_3_0) - { after(grammarAccess.getObjectTypeScopeAccess().getNumberAssignment_3_0()); } - ) - | - ( - { before(grammarAccess.getObjectTypeScopeAccess().getNumberAssignment_3_1()); } - (rule__ObjectTypeScope__NumberAssignment_3_1) - { after(grammarAccess.getObjectTypeScopeAccess().getNumberAssignment_3_1()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__IntegerTypeScope__Alternatives_2 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getIntegerTypeScopeAccess().getSetsNewAssignment_2_0()); } - (rule__IntegerTypeScope__SetsNewAssignment_2_0) - { after(grammarAccess.getIntegerTypeScopeAccess().getSetsNewAssignment_2_0()); } - ) - | - ( - { before(grammarAccess.getIntegerTypeScopeAccess().getSetsSumAssignment_2_1()); } - (rule__IntegerTypeScope__SetsSumAssignment_2_1) - { after(grammarAccess.getIntegerTypeScopeAccess().getSetsSumAssignment_2_1()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__IntegerTypeScope__Alternatives_3 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getIntegerTypeScopeAccess().getNumberAssignment_3_0()); } - (rule__IntegerTypeScope__NumberAssignment_3_0) - { after(grammarAccess.getIntegerTypeScopeAccess().getNumberAssignment_3_0()); } - ) - | - ( - { before(grammarAccess.getIntegerTypeScopeAccess().getNumberAssignment_3_1()); } - (rule__IntegerTypeScope__NumberAssignment_3_1) - { after(grammarAccess.getIntegerTypeScopeAccess().getNumberAssignment_3_1()); } - ) - | - ( - { before(grammarAccess.getIntegerTypeScopeAccess().getNumberAssignment_3_2()); } - (rule__IntegerTypeScope__NumberAssignment_3_2) - { after(grammarAccess.getIntegerTypeScopeAccess().getNumberAssignment_3_2()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__RealTypeScope__Alternatives_2 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getRealTypeScopeAccess().getSetsNewAssignment_2_0()); } - (rule__RealTypeScope__SetsNewAssignment_2_0) - { after(grammarAccess.getRealTypeScopeAccess().getSetsNewAssignment_2_0()); } - ) - | - ( - { before(grammarAccess.getRealTypeScopeAccess().getSetsSumAssignment_2_1()); } - (rule__RealTypeScope__SetsSumAssignment_2_1) - { after(grammarAccess.getRealTypeScopeAccess().getSetsSumAssignment_2_1()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__RealTypeScope__Alternatives_3 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getRealTypeScopeAccess().getNumberAssignment_3_0()); } - (rule__RealTypeScope__NumberAssignment_3_0) - { after(grammarAccess.getRealTypeScopeAccess().getNumberAssignment_3_0()); } - ) - | - ( - { before(grammarAccess.getRealTypeScopeAccess().getNumberAssignment_3_1()); } - (rule__RealTypeScope__NumberAssignment_3_1) - { after(grammarAccess.getRealTypeScopeAccess().getNumberAssignment_3_1()); } - ) - | - ( - { before(grammarAccess.getRealTypeScopeAccess().getNumberAssignment_3_2()); } - (rule__RealTypeScope__NumberAssignment_3_2) - { after(grammarAccess.getRealTypeScopeAccess().getNumberAssignment_3_2()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__StringTypeScope__Alternatives_2 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getStringTypeScopeAccess().getSetsNewAssignment_2_0()); } - (rule__StringTypeScope__SetsNewAssignment_2_0) - { after(grammarAccess.getStringTypeScopeAccess().getSetsNewAssignment_2_0()); } - ) - | - ( - { before(grammarAccess.getStringTypeScopeAccess().getSetsSumAssignment_2_1()); } - (rule__StringTypeScope__SetsSumAssignment_2_1) - { after(grammarAccess.getStringTypeScopeAccess().getSetsSumAssignment_2_1()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__StringTypeScope__Alternatives_3 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getStringTypeScopeAccess().getNumberAssignment_3_0()); } - (rule__StringTypeScope__NumberAssignment_3_0) - { after(grammarAccess.getStringTypeScopeAccess().getNumberAssignment_3_0()); } - ) - | - ( - { before(grammarAccess.getStringTypeScopeAccess().getNumberAssignment_3_1()); } - (rule__StringTypeScope__NumberAssignment_3_1) - { after(grammarAccess.getStringTypeScopeAccess().getNumberAssignment_3_1()); } - ) - | - ( - { before(grammarAccess.getStringTypeScopeAccess().getNumberAssignment_3_2()); } - (rule__StringTypeScope__NumberAssignment_3_2) - { after(grammarAccess.getStringTypeScopeAccess().getNumberAssignment_3_2()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__ExactNumber__Alternatives - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getExactNumberAccess().getExactNumberAssignment_0()); } - (rule__ExactNumber__ExactNumberAssignment_0) - { after(grammarAccess.getExactNumberAccess().getExactNumberAssignment_0()); } - ) - | - ( - { before(grammarAccess.getExactNumberAccess().getExactUnlimitedAssignment_1()); } - (rule__ExactNumber__ExactUnlimitedAssignment_1) - { after(grammarAccess.getExactNumberAccess().getExactUnlimitedAssignment_1()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__IntervallNumber__Alternatives_2 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getIntervallNumberAccess().getMaxNumberAssignment_2_0()); } - (rule__IntervallNumber__MaxNumberAssignment_2_0) - { after(grammarAccess.getIntervallNumberAccess().getMaxNumberAssignment_2_0()); } - ) - | - ( - { before(grammarAccess.getIntervallNumberAccess().getMaxUnlimitedAssignment_2_1()); } - (rule__IntervallNumber__MaxUnlimitedAssignment_2_1) - { after(grammarAccess.getIntervallNumberAccess().getMaxUnlimitedAssignment_2_1()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__Scope__Alternatives - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getScopeAccess().getScopeSpecificationParserRuleCall_0()); } - ruleScopeSpecification - { after(grammarAccess.getScopeAccess().getScopeSpecificationParserRuleCall_0()); } - ) - | - ( - { before(grammarAccess.getScopeAccess().getScopeReferenceParserRuleCall_1()); } - ruleScopeReference - { after(grammarAccess.getScopeAccess().getScopeReferenceParserRuleCall_1()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__DocumentLevelSpecification__Alternatives - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getDocumentLevelSpecificationAccess().getNoneEnumLiteralDeclaration_0()); } - ('none') - { after(grammarAccess.getDocumentLevelSpecificationAccess().getNoneEnumLiteralDeclaration_0()); } - ) - | - ( - { before(grammarAccess.getDocumentLevelSpecificationAccess().getNormalEnumLiteralDeclaration_1()); } - ('normal') - { after(grammarAccess.getDocumentLevelSpecificationAccess().getNormalEnumLiteralDeclaration_1()); } - ) - | - ( - { before(grammarAccess.getDocumentLevelSpecificationAccess().getFullEnumLiteralDeclaration_2()); } - ('full') - { after(grammarAccess.getDocumentLevelSpecificationAccess().getFullEnumLiteralDeclaration_2()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__Solver__Alternatives - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getSolverAccess().getSMTSolverEnumLiteralDeclaration_0()); } - ('SMTSolver') - { after(grammarAccess.getSolverAccess().getSMTSolverEnumLiteralDeclaration_0()); } - ) - | - ( - { before(grammarAccess.getSolverAccess().getAlloySolverEnumLiteralDeclaration_1()); } - ('AlloySolver') - { after(grammarAccess.getSolverAccess().getAlloySolverEnumLiteralDeclaration_1()); } - ) - | - ( - { before(grammarAccess.getSolverAccess().getViatraSolverEnumLiteralDeclaration_2()); } - ('ViatraSolver') - { after(grammarAccess.getSolverAccess().getViatraSolverEnumLiteralDeclaration_2()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__ConfigurationScript__Group__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__ConfigurationScript__Group__0__Impl - rule__ConfigurationScript__Group__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__ConfigurationScript__Group__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getConfigurationScriptAccess().getImportsAssignment_0()); } - (rule__ConfigurationScript__ImportsAssignment_0)* - { after(grammarAccess.getConfigurationScriptAccess().getImportsAssignment_0()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__ConfigurationScript__Group__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__ConfigurationScript__Group__1__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__ConfigurationScript__Group__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getConfigurationScriptAccess().getCommandsAssignment_1()); } - (rule__ConfigurationScript__CommandsAssignment_1)* - { after(grammarAccess.getConfigurationScriptAccess().getCommandsAssignment_1()); } -) -; -finally { - restoreStackSize(stackSize); -} - - -rule__QualifiedName__Group__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__QualifiedName__Group__0__Impl - rule__QualifiedName__Group__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__QualifiedName__Group__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_0()); } - RULE_ID - { after(grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_0()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__QualifiedName__Group__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__QualifiedName__Group__1__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__QualifiedName__Group__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getQualifiedNameAccess().getGroup_1()); } - (rule__QualifiedName__Group_1__0)* - { after(grammarAccess.getQualifiedNameAccess().getGroup_1()); } -) -; -finally { - restoreStackSize(stackSize); -} - - -rule__QualifiedName__Group_1__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__QualifiedName__Group_1__0__Impl - rule__QualifiedName__Group_1__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__QualifiedName__Group_1__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getQualifiedNameAccess().getFullStopKeyword_1_0()); } - '.' - { after(grammarAccess.getQualifiedNameAccess().getFullStopKeyword_1_0()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__QualifiedName__Group_1__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__QualifiedName__Group_1__1__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__QualifiedName__Group_1__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_1_1()); } - RULE_ID - { after(grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_1_1()); } -) -; -finally { - restoreStackSize(stackSize); -} - - -rule__REALLiteral__Group__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__REALLiteral__Group__0__Impl - rule__REALLiteral__Group__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__REALLiteral__Group__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getREALLiteralAccess().getHyphenMinusKeyword_0()); } - ('-')? - { after(grammarAccess.getREALLiteralAccess().getHyphenMinusKeyword_0()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__REALLiteral__Group__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__REALLiteral__Group__1__Impl - rule__REALLiteral__Group__2 -; -finally { - restoreStackSize(stackSize); -} - -rule__REALLiteral__Group__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getREALLiteralAccess().getINTTerminalRuleCall_1()); } - RULE_INT - { after(grammarAccess.getREALLiteralAccess().getINTTerminalRuleCall_1()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__REALLiteral__Group__2 - @init { - int stackSize = keepStackSize(); - } -: - rule__REALLiteral__Group__2__Impl - rule__REALLiteral__Group__3 -; -finally { - restoreStackSize(stackSize); -} - -rule__REALLiteral__Group__2__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getREALLiteralAccess().getFullStopKeyword_2()); } - '.' - { after(grammarAccess.getREALLiteralAccess().getFullStopKeyword_2()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__REALLiteral__Group__3 - @init { - int stackSize = keepStackSize(); - } -: - rule__REALLiteral__Group__3__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__REALLiteral__Group__3__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getREALLiteralAccess().getINTTerminalRuleCall_3()); } - RULE_INT - { after(grammarAccess.getREALLiteralAccess().getINTTerminalRuleCall_3()); } -) -; -finally { - restoreStackSize(stackSize); -} - - -rule__INTLiteral__Group__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__INTLiteral__Group__0__Impl - rule__INTLiteral__Group__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__INTLiteral__Group__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getINTLiteralAccess().getHyphenMinusKeyword_0()); } - ('-')? - { after(grammarAccess.getINTLiteralAccess().getHyphenMinusKeyword_0()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__INTLiteral__Group__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__INTLiteral__Group__1__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__INTLiteral__Group__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getINTLiteralAccess().getINTTerminalRuleCall_1()); } - RULE_INT - { after(grammarAccess.getINTLiteralAccess().getINTTerminalRuleCall_1()); } -) -; -finally { - restoreStackSize(stackSize); -} - - -rule__EPackageImport__Group__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__EPackageImport__Group__0__Impl - rule__EPackageImport__Group__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__EPackageImport__Group__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getEPackageImportAccess().getImportKeyword_0()); } - 'import' - { after(grammarAccess.getEPackageImportAccess().getImportKeyword_0()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__EPackageImport__Group__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__EPackageImport__Group__1__Impl - rule__EPackageImport__Group__2 -; -finally { - restoreStackSize(stackSize); -} - -rule__EPackageImport__Group__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getEPackageImportAccess().getEpackageKeyword_1()); } - 'epackage' - { after(grammarAccess.getEPackageImportAccess().getEpackageKeyword_1()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__EPackageImport__Group__2 - @init { - int stackSize = keepStackSize(); - } -: - rule__EPackageImport__Group__2__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__EPackageImport__Group__2__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getEPackageImportAccess().getImportedPackageAssignment_2()); } - (rule__EPackageImport__ImportedPackageAssignment_2) - { after(grammarAccess.getEPackageImportAccess().getImportedPackageAssignment_2()); } -) -; -finally { - restoreStackSize(stackSize); -} - - -rule__ViatraImport__Group__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__ViatraImport__Group__0__Impl - rule__ViatraImport__Group__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__ViatraImport__Group__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getViatraImportAccess().getImportKeyword_0()); } - 'import' - { after(grammarAccess.getViatraImportAccess().getImportKeyword_0()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__ViatraImport__Group__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__ViatraImport__Group__1__Impl - rule__ViatraImport__Group__2 -; -finally { - restoreStackSize(stackSize); -} - -rule__ViatraImport__Group__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getViatraImportAccess().getViatraKeyword_1()); } - 'viatra' - { after(grammarAccess.getViatraImportAccess().getViatraKeyword_1()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__ViatraImport__Group__2 - @init { - int stackSize = keepStackSize(); - } -: - rule__ViatraImport__Group__2__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__ViatraImport__Group__2__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getViatraImportAccess().getImportedViatraAssignment_2()); } - (rule__ViatraImport__ImportedViatraAssignment_2) - { after(grammarAccess.getViatraImportAccess().getImportedViatraAssignment_2()); } -) -; -finally { - restoreStackSize(stackSize); -} - - -rule__FileDeclaration__Group__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__FileDeclaration__Group__0__Impl - rule__FileDeclaration__Group__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__FileDeclaration__Group__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getFileDeclarationAccess().getFileKeyword_0()); } - 'file' - { after(grammarAccess.getFileDeclarationAccess().getFileKeyword_0()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__FileDeclaration__Group__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__FileDeclaration__Group__1__Impl - rule__FileDeclaration__Group__2 -; -finally { - restoreStackSize(stackSize); -} - -rule__FileDeclaration__Group__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getFileDeclarationAccess().getNameAssignment_1()); } - (rule__FileDeclaration__NameAssignment_1) - { after(grammarAccess.getFileDeclarationAccess().getNameAssignment_1()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__FileDeclaration__Group__2 - @init { - int stackSize = keepStackSize(); - } -: - rule__FileDeclaration__Group__2__Impl - rule__FileDeclaration__Group__3 -; -finally { - restoreStackSize(stackSize); -} - -rule__FileDeclaration__Group__2__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getFileDeclarationAccess().getEqualsSignKeyword_2()); } - '=' - { after(grammarAccess.getFileDeclarationAccess().getEqualsSignKeyword_2()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__FileDeclaration__Group__3 - @init { - int stackSize = keepStackSize(); - } -: - rule__FileDeclaration__Group__3__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__FileDeclaration__Group__3__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getFileDeclarationAccess().getSpecificationAssignment_3()); } - (rule__FileDeclaration__SpecificationAssignment_3) - { after(grammarAccess.getFileDeclarationAccess().getSpecificationAssignment_3()); } -) -; -finally { - restoreStackSize(stackSize); -} - - -rule__MetamodelSpecification__Group__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__MetamodelSpecification__Group__0__Impl - rule__MetamodelSpecification__Group__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__MetamodelSpecification__Group__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getMetamodelSpecificationAccess().getLeftCurlyBracketKeyword_0()); } - '{' - { after(grammarAccess.getMetamodelSpecificationAccess().getLeftCurlyBracketKeyword_0()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__MetamodelSpecification__Group__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__MetamodelSpecification__Group__1__Impl - rule__MetamodelSpecification__Group__2 -; -finally { - restoreStackSize(stackSize); -} - -rule__MetamodelSpecification__Group__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getMetamodelSpecificationAccess().getEntriesAssignment_1()); } - (rule__MetamodelSpecification__EntriesAssignment_1) - { after(grammarAccess.getMetamodelSpecificationAccess().getEntriesAssignment_1()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__MetamodelSpecification__Group__2 - @init { - int stackSize = keepStackSize(); - } -: - rule__MetamodelSpecification__Group__2__Impl - rule__MetamodelSpecification__Group__3 -; -finally { - restoreStackSize(stackSize); -} - -rule__MetamodelSpecification__Group__2__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getMetamodelSpecificationAccess().getGroup_2()); } - (rule__MetamodelSpecification__Group_2__0)* - { after(grammarAccess.getMetamodelSpecificationAccess().getGroup_2()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__MetamodelSpecification__Group__3 - @init { - int stackSize = keepStackSize(); - } -: - rule__MetamodelSpecification__Group__3__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__MetamodelSpecification__Group__3__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getMetamodelSpecificationAccess().getRightCurlyBracketKeyword_3()); } - '}' - { after(grammarAccess.getMetamodelSpecificationAccess().getRightCurlyBracketKeyword_3()); } -) -; -finally { - restoreStackSize(stackSize); -} - - -rule__MetamodelSpecification__Group_2__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__MetamodelSpecification__Group_2__0__Impl - rule__MetamodelSpecification__Group_2__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__MetamodelSpecification__Group_2__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getMetamodelSpecificationAccess().getCommaKeyword_2_0()); } - ',' - { after(grammarAccess.getMetamodelSpecificationAccess().getCommaKeyword_2_0()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__MetamodelSpecification__Group_2__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__MetamodelSpecification__Group_2__1__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__MetamodelSpecification__Group_2__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getMetamodelSpecificationAccess().getEntriesAssignment_2_1()); } - (rule__MetamodelSpecification__EntriesAssignment_2_1) - { after(grammarAccess.getMetamodelSpecificationAccess().getEntriesAssignment_2_1()); } -) -; -finally { - restoreStackSize(stackSize); -} - - -rule__AllPackageEntry__Group__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__AllPackageEntry__Group__0__Impl - rule__AllPackageEntry__Group__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__AllPackageEntry__Group__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getAllPackageEntryAccess().getPackageKeyword_0()); } - 'package' - { after(grammarAccess.getAllPackageEntryAccess().getPackageKeyword_0()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__AllPackageEntry__Group__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__AllPackageEntry__Group__1__Impl - rule__AllPackageEntry__Group__2 -; -finally { - restoreStackSize(stackSize); -} - -rule__AllPackageEntry__Group__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getAllPackageEntryAccess().getPackageAssignment_1()); } - (rule__AllPackageEntry__PackageAssignment_1) - { after(grammarAccess.getAllPackageEntryAccess().getPackageAssignment_1()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__AllPackageEntry__Group__2 - @init { - int stackSize = keepStackSize(); - } -: - rule__AllPackageEntry__Group__2__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__AllPackageEntry__Group__2__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getAllPackageEntryAccess().getGroup_2()); } - (rule__AllPackageEntry__Group_2__0)? - { after(grammarAccess.getAllPackageEntryAccess().getGroup_2()); } -) -; -finally { - restoreStackSize(stackSize); -} - - -rule__AllPackageEntry__Group_2__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__AllPackageEntry__Group_2__0__Impl - rule__AllPackageEntry__Group_2__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__AllPackageEntry__Group_2__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getAllPackageEntryAccess().getExcludingKeyword_2_0()); } - 'excluding' - { after(grammarAccess.getAllPackageEntryAccess().getExcludingKeyword_2_0()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__AllPackageEntry__Group_2__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__AllPackageEntry__Group_2__1__Impl - rule__AllPackageEntry__Group_2__2 -; -finally { - restoreStackSize(stackSize); -} - -rule__AllPackageEntry__Group_2__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getAllPackageEntryAccess().getLeftCurlyBracketKeyword_2_1()); } - '{' - { after(grammarAccess.getAllPackageEntryAccess().getLeftCurlyBracketKeyword_2_1()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__AllPackageEntry__Group_2__2 - @init { - int stackSize = keepStackSize(); - } -: - rule__AllPackageEntry__Group_2__2__Impl - rule__AllPackageEntry__Group_2__3 -; -finally { - restoreStackSize(stackSize); -} - -rule__AllPackageEntry__Group_2__2__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getAllPackageEntryAccess().getExclusionAssignment_2_2()); } - (rule__AllPackageEntry__ExclusionAssignment_2_2) - { after(grammarAccess.getAllPackageEntryAccess().getExclusionAssignment_2_2()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__AllPackageEntry__Group_2__3 - @init { - int stackSize = keepStackSize(); - } -: - rule__AllPackageEntry__Group_2__3__Impl - rule__AllPackageEntry__Group_2__4 -; -finally { - restoreStackSize(stackSize); -} - -rule__AllPackageEntry__Group_2__3__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getAllPackageEntryAccess().getGroup_2_3()); } - (rule__AllPackageEntry__Group_2_3__0)* - { after(grammarAccess.getAllPackageEntryAccess().getGroup_2_3()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__AllPackageEntry__Group_2__4 - @init { - int stackSize = keepStackSize(); - } -: - rule__AllPackageEntry__Group_2__4__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__AllPackageEntry__Group_2__4__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getAllPackageEntryAccess().getRightCurlyBracketKeyword_2_4()); } - '}' - { after(grammarAccess.getAllPackageEntryAccess().getRightCurlyBracketKeyword_2_4()); } -) -; -finally { - restoreStackSize(stackSize); -} - - -rule__AllPackageEntry__Group_2_3__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__AllPackageEntry__Group_2_3__0__Impl - rule__AllPackageEntry__Group_2_3__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__AllPackageEntry__Group_2_3__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getAllPackageEntryAccess().getCommaKeyword_2_3_0()); } - ',' - { after(grammarAccess.getAllPackageEntryAccess().getCommaKeyword_2_3_0()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__AllPackageEntry__Group_2_3__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__AllPackageEntry__Group_2_3__1__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__AllPackageEntry__Group_2_3__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getAllPackageEntryAccess().getExclusionAssignment_2_3_1()); } - (rule__AllPackageEntry__ExclusionAssignment_2_3_1) - { after(grammarAccess.getAllPackageEntryAccess().getExclusionAssignment_2_3_1()); } -) -; -finally { - restoreStackSize(stackSize); -} - - -rule__MetamodelElement__Group__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__MetamodelElement__Group__0__Impl - rule__MetamodelElement__Group__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__MetamodelElement__Group__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getMetamodelElementAccess().getGroup_0()); } - (rule__MetamodelElement__Group_0__0)? - { after(grammarAccess.getMetamodelElementAccess().getGroup_0()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__MetamodelElement__Group__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__MetamodelElement__Group__1__Impl - rule__MetamodelElement__Group__2 -; -finally { - restoreStackSize(stackSize); -} - -rule__MetamodelElement__Group__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getMetamodelElementAccess().getClassifierAssignment_1()); } - (rule__MetamodelElement__ClassifierAssignment_1) - { after(grammarAccess.getMetamodelElementAccess().getClassifierAssignment_1()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__MetamodelElement__Group__2 - @init { - int stackSize = keepStackSize(); - } -: - rule__MetamodelElement__Group__2__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__MetamodelElement__Group__2__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getMetamodelElementAccess().getGroup_2()); } - (rule__MetamodelElement__Group_2__0)? - { after(grammarAccess.getMetamodelElementAccess().getGroup_2()); } -) -; -finally { - restoreStackSize(stackSize); -} - - -rule__MetamodelElement__Group_0__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__MetamodelElement__Group_0__0__Impl - rule__MetamodelElement__Group_0__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__MetamodelElement__Group_0__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getMetamodelElementAccess().getPackageAssignment_0_0()); } - (rule__MetamodelElement__PackageAssignment_0_0) - { after(grammarAccess.getMetamodelElementAccess().getPackageAssignment_0_0()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__MetamodelElement__Group_0__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__MetamodelElement__Group_0__1__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__MetamodelElement__Group_0__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getMetamodelElementAccess().getColonColonKeyword_0_1()); } - '::' - { after(grammarAccess.getMetamodelElementAccess().getColonColonKeyword_0_1()); } -) -; -finally { - restoreStackSize(stackSize); -} - - -rule__MetamodelElement__Group_2__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__MetamodelElement__Group_2__0__Impl - rule__MetamodelElement__Group_2__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__MetamodelElement__Group_2__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getMetamodelElementAccess().getFullStopKeyword_2_0()); } - '.' - { after(grammarAccess.getMetamodelElementAccess().getFullStopKeyword_2_0()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__MetamodelElement__Group_2__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__MetamodelElement__Group_2__1__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__MetamodelElement__Group_2__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getMetamodelElementAccess().getFeatureAssignment_2_1()); } - (rule__MetamodelElement__FeatureAssignment_2_1) - { after(grammarAccess.getMetamodelElementAccess().getFeatureAssignment_2_1()); } -) -; -finally { - restoreStackSize(stackSize); -} - - -rule__MetamodelDeclaration__Group__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__MetamodelDeclaration__Group__0__Impl - rule__MetamodelDeclaration__Group__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__MetamodelDeclaration__Group__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getMetamodelDeclarationAccess().getMetamodelKeyword_0()); } - 'metamodel' - { after(grammarAccess.getMetamodelDeclarationAccess().getMetamodelKeyword_0()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__MetamodelDeclaration__Group__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__MetamodelDeclaration__Group__1__Impl - rule__MetamodelDeclaration__Group__2 -; -finally { - restoreStackSize(stackSize); -} - -rule__MetamodelDeclaration__Group__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getMetamodelDeclarationAccess().getNameAssignment_1()); } - (rule__MetamodelDeclaration__NameAssignment_1) - { after(grammarAccess.getMetamodelDeclarationAccess().getNameAssignment_1()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__MetamodelDeclaration__Group__2 - @init { - int stackSize = keepStackSize(); - } -: - rule__MetamodelDeclaration__Group__2__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__MetamodelDeclaration__Group__2__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getMetamodelDeclarationAccess().getSpecificationAssignment_2()); } - (rule__MetamodelDeclaration__SpecificationAssignment_2) - { after(grammarAccess.getMetamodelDeclarationAccess().getSpecificationAssignment_2()); } -) -; -finally { - restoreStackSize(stackSize); -} - - -rule__PartialModelSpecification__Group__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__PartialModelSpecification__Group__0__Impl - rule__PartialModelSpecification__Group__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__PartialModelSpecification__Group__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getPartialModelSpecificationAccess().getLeftCurlyBracketKeyword_0()); } - '{' - { after(grammarAccess.getPartialModelSpecificationAccess().getLeftCurlyBracketKeyword_0()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__PartialModelSpecification__Group__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__PartialModelSpecification__Group__1__Impl - rule__PartialModelSpecification__Group__2 -; -finally { - restoreStackSize(stackSize); -} - -rule__PartialModelSpecification__Group__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getPartialModelSpecificationAccess().getEntryAssignment_1()); } - (rule__PartialModelSpecification__EntryAssignment_1) - { after(grammarAccess.getPartialModelSpecificationAccess().getEntryAssignment_1()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__PartialModelSpecification__Group__2 - @init { - int stackSize = keepStackSize(); - } -: - rule__PartialModelSpecification__Group__2__Impl - rule__PartialModelSpecification__Group__3 -; -finally { - restoreStackSize(stackSize); -} - -rule__PartialModelSpecification__Group__2__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getPartialModelSpecificationAccess().getGroup_2()); } - (rule__PartialModelSpecification__Group_2__0)? - { after(grammarAccess.getPartialModelSpecificationAccess().getGroup_2()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__PartialModelSpecification__Group__3 - @init { - int stackSize = keepStackSize(); - } -: - rule__PartialModelSpecification__Group__3__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__PartialModelSpecification__Group__3__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getPartialModelSpecificationAccess().getRightCurlyBracketKeyword_3()); } - '}' - { after(grammarAccess.getPartialModelSpecificationAccess().getRightCurlyBracketKeyword_3()); } -) -; -finally { - restoreStackSize(stackSize); -} - - -rule__PartialModelSpecification__Group_2__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__PartialModelSpecification__Group_2__0__Impl - rule__PartialModelSpecification__Group_2__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__PartialModelSpecification__Group_2__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getPartialModelSpecificationAccess().getCommaKeyword_2_0()); } - ',' - { after(grammarAccess.getPartialModelSpecificationAccess().getCommaKeyword_2_0()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__PartialModelSpecification__Group_2__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__PartialModelSpecification__Group_2__1__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__PartialModelSpecification__Group_2__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getPartialModelSpecificationAccess().getEntryAssignment_2_1()); } - (rule__PartialModelSpecification__EntryAssignment_2_1) - { after(grammarAccess.getPartialModelSpecificationAccess().getEntryAssignment_2_1()); } -) -; -finally { - restoreStackSize(stackSize); -} - - -rule__FolderEntry__Group__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__FolderEntry__Group__0__Impl - rule__FolderEntry__Group__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__FolderEntry__Group__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getFolderEntryAccess().getFolderKeyword_0()); } - 'folder' - { after(grammarAccess.getFolderEntryAccess().getFolderKeyword_0()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__FolderEntry__Group__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__FolderEntry__Group__1__Impl - rule__FolderEntry__Group__2 -; -finally { - restoreStackSize(stackSize); -} - -rule__FolderEntry__Group__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getFolderEntryAccess().getPathAssignment_1()); } - (rule__FolderEntry__PathAssignment_1) - { after(grammarAccess.getFolderEntryAccess().getPathAssignment_1()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__FolderEntry__Group__2 - @init { - int stackSize = keepStackSize(); - } -: - rule__FolderEntry__Group__2__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__FolderEntry__Group__2__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getFolderEntryAccess().getGroup_2()); } - (rule__FolderEntry__Group_2__0)? - { after(grammarAccess.getFolderEntryAccess().getGroup_2()); } -) -; -finally { - restoreStackSize(stackSize); -} - - -rule__FolderEntry__Group_2__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__FolderEntry__Group_2__0__Impl - rule__FolderEntry__Group_2__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__FolderEntry__Group_2__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getFolderEntryAccess().getExcludingKeyword_2_0()); } - 'excluding' - { after(grammarAccess.getFolderEntryAccess().getExcludingKeyword_2_0()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__FolderEntry__Group_2__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__FolderEntry__Group_2__1__Impl - rule__FolderEntry__Group_2__2 -; -finally { - restoreStackSize(stackSize); -} - -rule__FolderEntry__Group_2__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getFolderEntryAccess().getLeftCurlyBracketKeyword_2_1()); } - '{' - { after(grammarAccess.getFolderEntryAccess().getLeftCurlyBracketKeyword_2_1()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__FolderEntry__Group_2__2 - @init { - int stackSize = keepStackSize(); - } -: - rule__FolderEntry__Group_2__2__Impl - rule__FolderEntry__Group_2__3 -; -finally { - restoreStackSize(stackSize); -} - -rule__FolderEntry__Group_2__2__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getFolderEntryAccess().getExclusionAssignment_2_2()); } - (rule__FolderEntry__ExclusionAssignment_2_2) - { after(grammarAccess.getFolderEntryAccess().getExclusionAssignment_2_2()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__FolderEntry__Group_2__3 - @init { - int stackSize = keepStackSize(); - } -: - rule__FolderEntry__Group_2__3__Impl - rule__FolderEntry__Group_2__4 -; -finally { - restoreStackSize(stackSize); -} - -rule__FolderEntry__Group_2__3__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getFolderEntryAccess().getGroup_2_3()); } - (rule__FolderEntry__Group_2_3__0)* - { after(grammarAccess.getFolderEntryAccess().getGroup_2_3()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__FolderEntry__Group_2__4 - @init { - int stackSize = keepStackSize(); - } -: - rule__FolderEntry__Group_2__4__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__FolderEntry__Group_2__4__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getFolderEntryAccess().getRightCurlyBracketKeyword_2_4()); } - '}' - { after(grammarAccess.getFolderEntryAccess().getRightCurlyBracketKeyword_2_4()); } -) -; -finally { - restoreStackSize(stackSize); -} - - -rule__FolderEntry__Group_2_3__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__FolderEntry__Group_2_3__0__Impl - rule__FolderEntry__Group_2_3__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__FolderEntry__Group_2_3__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getFolderEntryAccess().getCommaKeyword_2_3_0()); } - ',' - { after(grammarAccess.getFolderEntryAccess().getCommaKeyword_2_3_0()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__FolderEntry__Group_2_3__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__FolderEntry__Group_2_3__1__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__FolderEntry__Group_2_3__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getFolderEntryAccess().getExclusionAssignment_2_3_1()); } - (rule__FolderEntry__ExclusionAssignment_2_3_1) - { after(grammarAccess.getFolderEntryAccess().getExclusionAssignment_2_3_1()); } -) -; -finally { - restoreStackSize(stackSize); -} - - -rule__PartialModelDeclaration__Group__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__PartialModelDeclaration__Group__0__Impl - rule__PartialModelDeclaration__Group__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__PartialModelDeclaration__Group__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getPartialModelDeclarationAccess().getModelsKeyword_0()); } - 'models' - { after(grammarAccess.getPartialModelDeclarationAccess().getModelsKeyword_0()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__PartialModelDeclaration__Group__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__PartialModelDeclaration__Group__1__Impl - rule__PartialModelDeclaration__Group__2 -; -finally { - restoreStackSize(stackSize); -} - -rule__PartialModelDeclaration__Group__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getPartialModelDeclarationAccess().getNameAssignment_1()); } - (rule__PartialModelDeclaration__NameAssignment_1) - { after(grammarAccess.getPartialModelDeclarationAccess().getNameAssignment_1()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__PartialModelDeclaration__Group__2 - @init { - int stackSize = keepStackSize(); - } -: - rule__PartialModelDeclaration__Group__2__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__PartialModelDeclaration__Group__2__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getPartialModelDeclarationAccess().getSpecificationAssignment_2()); } - (rule__PartialModelDeclaration__SpecificationAssignment_2) - { after(grammarAccess.getPartialModelDeclarationAccess().getSpecificationAssignment_2()); } -) -; -finally { - restoreStackSize(stackSize); -} - - -rule__PatternSpecification__Group__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__PatternSpecification__Group__0__Impl - rule__PatternSpecification__Group__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__PatternSpecification__Group__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getPatternSpecificationAccess().getLeftCurlyBracketKeyword_0()); } - '{' - { after(grammarAccess.getPatternSpecificationAccess().getLeftCurlyBracketKeyword_0()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__PatternSpecification__Group__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__PatternSpecification__Group__1__Impl - rule__PatternSpecification__Group__2 -; -finally { - restoreStackSize(stackSize); -} - -rule__PatternSpecification__Group__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getPatternSpecificationAccess().getEntriesAssignment_1()); } - (rule__PatternSpecification__EntriesAssignment_1) - { after(grammarAccess.getPatternSpecificationAccess().getEntriesAssignment_1()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__PatternSpecification__Group__2 - @init { - int stackSize = keepStackSize(); - } -: - rule__PatternSpecification__Group__2__Impl - rule__PatternSpecification__Group__3 -; -finally { - restoreStackSize(stackSize); -} - -rule__PatternSpecification__Group__2__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getPatternSpecificationAccess().getGroup_2()); } - (rule__PatternSpecification__Group_2__0)* - { after(grammarAccess.getPatternSpecificationAccess().getGroup_2()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__PatternSpecification__Group__3 - @init { - int stackSize = keepStackSize(); - } -: - rule__PatternSpecification__Group__3__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__PatternSpecification__Group__3__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getPatternSpecificationAccess().getRightCurlyBracketKeyword_3()); } - '}' - { after(grammarAccess.getPatternSpecificationAccess().getRightCurlyBracketKeyword_3()); } -) -; -finally { - restoreStackSize(stackSize); -} - - -rule__PatternSpecification__Group_2__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__PatternSpecification__Group_2__0__Impl - rule__PatternSpecification__Group_2__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__PatternSpecification__Group_2__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getPatternSpecificationAccess().getCommaKeyword_2_0()); } - ',' - { after(grammarAccess.getPatternSpecificationAccess().getCommaKeyword_2_0()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__PatternSpecification__Group_2__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__PatternSpecification__Group_2__1__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__PatternSpecification__Group_2__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getPatternSpecificationAccess().getEntriesAssignment_2_1()); } - (rule__PatternSpecification__EntriesAssignment_2_1) - { after(grammarAccess.getPatternSpecificationAccess().getEntriesAssignment_2_1()); } -) -; -finally { - restoreStackSize(stackSize); -} - - -rule__AllPatternEntry__Group__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__AllPatternEntry__Group__0__Impl - rule__AllPatternEntry__Group__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__AllPatternEntry__Group__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getAllPatternEntryAccess().getPackageKeyword_0()); } - 'package' - { after(grammarAccess.getAllPatternEntryAccess().getPackageKeyword_0()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__AllPatternEntry__Group__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__AllPatternEntry__Group__1__Impl - rule__AllPatternEntry__Group__2 -; -finally { - restoreStackSize(stackSize); -} - -rule__AllPatternEntry__Group__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getAllPatternEntryAccess().getPackageAssignment_1()); } - (rule__AllPatternEntry__PackageAssignment_1) - { after(grammarAccess.getAllPatternEntryAccess().getPackageAssignment_1()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__AllPatternEntry__Group__2 - @init { - int stackSize = keepStackSize(); - } -: - rule__AllPatternEntry__Group__2__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__AllPatternEntry__Group__2__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getAllPatternEntryAccess().getGroup_2()); } - (rule__AllPatternEntry__Group_2__0)? - { after(grammarAccess.getAllPatternEntryAccess().getGroup_2()); } -) -; -finally { - restoreStackSize(stackSize); -} - - -rule__AllPatternEntry__Group_2__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__AllPatternEntry__Group_2__0__Impl - rule__AllPatternEntry__Group_2__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__AllPatternEntry__Group_2__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getAllPatternEntryAccess().getExcludingKeyword_2_0()); } - 'excluding' - { after(grammarAccess.getAllPatternEntryAccess().getExcludingKeyword_2_0()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__AllPatternEntry__Group_2__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__AllPatternEntry__Group_2__1__Impl - rule__AllPatternEntry__Group_2__2 -; -finally { - restoreStackSize(stackSize); -} - -rule__AllPatternEntry__Group_2__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getAllPatternEntryAccess().getLeftCurlyBracketKeyword_2_1()); } - '{' - { after(grammarAccess.getAllPatternEntryAccess().getLeftCurlyBracketKeyword_2_1()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__AllPatternEntry__Group_2__2 - @init { - int stackSize = keepStackSize(); - } -: - rule__AllPatternEntry__Group_2__2__Impl - rule__AllPatternEntry__Group_2__3 -; -finally { - restoreStackSize(stackSize); -} - -rule__AllPatternEntry__Group_2__2__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getAllPatternEntryAccess().getExclusuionAssignment_2_2()); } - (rule__AllPatternEntry__ExclusuionAssignment_2_2) - { after(grammarAccess.getAllPatternEntryAccess().getExclusuionAssignment_2_2()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__AllPatternEntry__Group_2__3 - @init { - int stackSize = keepStackSize(); - } -: - rule__AllPatternEntry__Group_2__3__Impl - rule__AllPatternEntry__Group_2__4 -; -finally { - restoreStackSize(stackSize); -} - -rule__AllPatternEntry__Group_2__3__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getAllPatternEntryAccess().getGroup_2_3()); } - (rule__AllPatternEntry__Group_2_3__0)* - { after(grammarAccess.getAllPatternEntryAccess().getGroup_2_3()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__AllPatternEntry__Group_2__4 - @init { - int stackSize = keepStackSize(); - } -: - rule__AllPatternEntry__Group_2__4__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__AllPatternEntry__Group_2__4__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getAllPatternEntryAccess().getRightCurlyBracketKeyword_2_4()); } - '}' - { after(grammarAccess.getAllPatternEntryAccess().getRightCurlyBracketKeyword_2_4()); } -) -; -finally { - restoreStackSize(stackSize); -} - - -rule__AllPatternEntry__Group_2_3__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__AllPatternEntry__Group_2_3__0__Impl - rule__AllPatternEntry__Group_2_3__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__AllPatternEntry__Group_2_3__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getAllPatternEntryAccess().getCommaKeyword_2_3_0()); } - ',' - { after(grammarAccess.getAllPatternEntryAccess().getCommaKeyword_2_3_0()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__AllPatternEntry__Group_2_3__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__AllPatternEntry__Group_2_3__1__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__AllPatternEntry__Group_2_3__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getAllPatternEntryAccess().getExclusuionAssignment_2_3_1()); } - (rule__AllPatternEntry__ExclusuionAssignment_2_3_1) - { after(grammarAccess.getAllPatternEntryAccess().getExclusuionAssignment_2_3_1()); } -) -; -finally { - restoreStackSize(stackSize); -} - - -rule__PatternElement__Group__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__PatternElement__Group__0__Impl - rule__PatternElement__Group__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__PatternElement__Group__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getPatternElementAccess().getGroup_0()); } - (rule__PatternElement__Group_0__0)? - { after(grammarAccess.getPatternElementAccess().getGroup_0()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__PatternElement__Group__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__PatternElement__Group__1__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__PatternElement__Group__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getPatternElementAccess().getPatternAssignment_1()); } - (rule__PatternElement__PatternAssignment_1) - { after(grammarAccess.getPatternElementAccess().getPatternAssignment_1()); } -) -; -finally { - restoreStackSize(stackSize); -} - - -rule__PatternElement__Group_0__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__PatternElement__Group_0__0__Impl - rule__PatternElement__Group_0__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__PatternElement__Group_0__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getPatternElementAccess().getPackageAssignment_0_0()); } - (rule__PatternElement__PackageAssignment_0_0) - { after(grammarAccess.getPatternElementAccess().getPackageAssignment_0_0()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__PatternElement__Group_0__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__PatternElement__Group_0__1__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__PatternElement__Group_0__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getPatternElementAccess().getColonColonKeyword_0_1()); } - '::' - { after(grammarAccess.getPatternElementAccess().getColonColonKeyword_0_1()); } -) -; -finally { - restoreStackSize(stackSize); -} - - -rule__GraphPatternDeclaration__Group__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__GraphPatternDeclaration__Group__0__Impl - rule__GraphPatternDeclaration__Group__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__GraphPatternDeclaration__Group__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getGraphPatternDeclarationAccess().getConstraintsKeyword_0()); } - 'constraints' - { after(grammarAccess.getGraphPatternDeclarationAccess().getConstraintsKeyword_0()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__GraphPatternDeclaration__Group__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__GraphPatternDeclaration__Group__1__Impl - rule__GraphPatternDeclaration__Group__2 -; -finally { - restoreStackSize(stackSize); -} - -rule__GraphPatternDeclaration__Group__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getGraphPatternDeclarationAccess().getNameAssignment_1()); } - (rule__GraphPatternDeclaration__NameAssignment_1) - { after(grammarAccess.getGraphPatternDeclarationAccess().getNameAssignment_1()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__GraphPatternDeclaration__Group__2 - @init { - int stackSize = keepStackSize(); - } -: - rule__GraphPatternDeclaration__Group__2__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__GraphPatternDeclaration__Group__2__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getGraphPatternDeclarationAccess().getSpecificationAssignment_2()); } - (rule__GraphPatternDeclaration__SpecificationAssignment_2) - { after(grammarAccess.getGraphPatternDeclarationAccess().getSpecificationAssignment_2()); } -) -; -finally { - restoreStackSize(stackSize); -} - - -rule__ConfigSpecification__Group__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__ConfigSpecification__Group__0__Impl - rule__ConfigSpecification__Group__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__ConfigSpecification__Group__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getConfigSpecificationAccess().getConfigSpecificationAction_0()); } - () - { after(grammarAccess.getConfigSpecificationAccess().getConfigSpecificationAction_0()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__ConfigSpecification__Group__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__ConfigSpecification__Group__1__Impl - rule__ConfigSpecification__Group__2 -; -finally { - restoreStackSize(stackSize); -} - -rule__ConfigSpecification__Group__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getConfigSpecificationAccess().getLeftCurlyBracketKeyword_1()); } - '{' - { after(grammarAccess.getConfigSpecificationAccess().getLeftCurlyBracketKeyword_1()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__ConfigSpecification__Group__2 - @init { - int stackSize = keepStackSize(); - } -: - rule__ConfigSpecification__Group__2__Impl - rule__ConfigSpecification__Group__3 -; -finally { - restoreStackSize(stackSize); -} - -rule__ConfigSpecification__Group__2__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getConfigSpecificationAccess().getGroup_2()); } - (rule__ConfigSpecification__Group_2__0)? - { after(grammarAccess.getConfigSpecificationAccess().getGroup_2()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__ConfigSpecification__Group__3 - @init { - int stackSize = keepStackSize(); - } -: - rule__ConfigSpecification__Group__3__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__ConfigSpecification__Group__3__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getConfigSpecificationAccess().getRightCurlyBracketKeyword_3()); } - '}' - { after(grammarAccess.getConfigSpecificationAccess().getRightCurlyBracketKeyword_3()); } -) -; -finally { - restoreStackSize(stackSize); -} - - -rule__ConfigSpecification__Group_2__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__ConfigSpecification__Group_2__0__Impl - rule__ConfigSpecification__Group_2__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__ConfigSpecification__Group_2__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getConfigSpecificationAccess().getEntriesAssignment_2_0()); } - (rule__ConfigSpecification__EntriesAssignment_2_0) - { after(grammarAccess.getConfigSpecificationAccess().getEntriesAssignment_2_0()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__ConfigSpecification__Group_2__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__ConfigSpecification__Group_2__1__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__ConfigSpecification__Group_2__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getConfigSpecificationAccess().getGroup_2_1()); } - (rule__ConfigSpecification__Group_2_1__0)* - { after(grammarAccess.getConfigSpecificationAccess().getGroup_2_1()); } -) -; -finally { - restoreStackSize(stackSize); -} - - -rule__ConfigSpecification__Group_2_1__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__ConfigSpecification__Group_2_1__0__Impl - rule__ConfigSpecification__Group_2_1__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__ConfigSpecification__Group_2_1__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getConfigSpecificationAccess().getCommaKeyword_2_1_0()); } - ',' - { after(grammarAccess.getConfigSpecificationAccess().getCommaKeyword_2_1_0()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__ConfigSpecification__Group_2_1__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__ConfigSpecification__Group_2_1__1__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__ConfigSpecification__Group_2_1__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getConfigSpecificationAccess().getEntriesAssignment_2_1_1()); } - (rule__ConfigSpecification__EntriesAssignment_2_1_1) - { after(grammarAccess.getConfigSpecificationAccess().getEntriesAssignment_2_1_1()); } -) -; -finally { - restoreStackSize(stackSize); -} - - -rule__ConfigDeclaration__Group__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__ConfigDeclaration__Group__0__Impl - rule__ConfigDeclaration__Group__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__ConfigDeclaration__Group__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getConfigDeclarationAccess().getConfigKeyword_0()); } - 'config' - { after(grammarAccess.getConfigDeclarationAccess().getConfigKeyword_0()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__ConfigDeclaration__Group__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__ConfigDeclaration__Group__1__Impl - rule__ConfigDeclaration__Group__2 -; -finally { - restoreStackSize(stackSize); -} - -rule__ConfigDeclaration__Group__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getConfigDeclarationAccess().getNameAssignment_1()); } - (rule__ConfigDeclaration__NameAssignment_1) - { after(grammarAccess.getConfigDeclarationAccess().getNameAssignment_1()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__ConfigDeclaration__Group__2 - @init { - int stackSize = keepStackSize(); - } -: - rule__ConfigDeclaration__Group__2__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__ConfigDeclaration__Group__2__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getConfigDeclarationAccess().getSpecificationAssignment_2()); } - (rule__ConfigDeclaration__SpecificationAssignment_2) - { after(grammarAccess.getConfigDeclarationAccess().getSpecificationAssignment_2()); } -) -; -finally { - restoreStackSize(stackSize); -} - - -rule__DocumentationEntry__Group__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__DocumentationEntry__Group__0__Impl - rule__DocumentationEntry__Group__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__DocumentationEntry__Group__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getDocumentationEntryAccess().getLogLevelKeyword_0()); } - 'log-level' - { after(grammarAccess.getDocumentationEntryAccess().getLogLevelKeyword_0()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__DocumentationEntry__Group__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__DocumentationEntry__Group__1__Impl - rule__DocumentationEntry__Group__2 -; -finally { - restoreStackSize(stackSize); -} - -rule__DocumentationEntry__Group__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getDocumentationEntryAccess().getEqualsSignKeyword_1()); } - '=' - { after(grammarAccess.getDocumentationEntryAccess().getEqualsSignKeyword_1()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__DocumentationEntry__Group__2 - @init { - int stackSize = keepStackSize(); - } -: - rule__DocumentationEntry__Group__2__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__DocumentationEntry__Group__2__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getDocumentationEntryAccess().getLevelAssignment_2()); } - (rule__DocumentationEntry__LevelAssignment_2) - { after(grammarAccess.getDocumentationEntryAccess().getLevelAssignment_2()); } -) -; -finally { - restoreStackSize(stackSize); -} - - -rule__RuntimeEntry__Group__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__RuntimeEntry__Group__0__Impl - rule__RuntimeEntry__Group__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__RuntimeEntry__Group__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getRuntimeEntryAccess().getRuntimeKeyword_0()); } - 'runtime' - { after(grammarAccess.getRuntimeEntryAccess().getRuntimeKeyword_0()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__RuntimeEntry__Group__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__RuntimeEntry__Group__1__Impl - rule__RuntimeEntry__Group__2 -; -finally { - restoreStackSize(stackSize); -} - -rule__RuntimeEntry__Group__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getRuntimeEntryAccess().getEqualsSignKeyword_1()); } - '=' - { after(grammarAccess.getRuntimeEntryAccess().getEqualsSignKeyword_1()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__RuntimeEntry__Group__2 - @init { - int stackSize = keepStackSize(); - } -: - rule__RuntimeEntry__Group__2__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__RuntimeEntry__Group__2__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getRuntimeEntryAccess().getMillisecLimitAssignment_2()); } - (rule__RuntimeEntry__MillisecLimitAssignment_2) - { after(grammarAccess.getRuntimeEntryAccess().getMillisecLimitAssignment_2()); } -) -; -finally { - restoreStackSize(stackSize); -} - - -rule__MemoryEntry__Group__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__MemoryEntry__Group__0__Impl - rule__MemoryEntry__Group__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__MemoryEntry__Group__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getMemoryEntryAccess().getMemoryKeyword_0()); } - 'memory' - { after(grammarAccess.getMemoryEntryAccess().getMemoryKeyword_0()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__MemoryEntry__Group__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__MemoryEntry__Group__1__Impl - rule__MemoryEntry__Group__2 -; -finally { - restoreStackSize(stackSize); -} - -rule__MemoryEntry__Group__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getMemoryEntryAccess().getEqualsSignKeyword_1()); } - '=' - { after(grammarAccess.getMemoryEntryAccess().getEqualsSignKeyword_1()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__MemoryEntry__Group__2 - @init { - int stackSize = keepStackSize(); - } -: - rule__MemoryEntry__Group__2__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__MemoryEntry__Group__2__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getMemoryEntryAccess().getMegabyteLimitAssignment_2()); } - (rule__MemoryEntry__MegabyteLimitAssignment_2) - { after(grammarAccess.getMemoryEntryAccess().getMegabyteLimitAssignment_2()); } -) -; -finally { - restoreStackSize(stackSize); -} - - -rule__CustomEntry__Group__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__CustomEntry__Group__0__Impl - rule__CustomEntry__Group__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__CustomEntry__Group__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getCustomEntryAccess().getKeyAssignment_0()); } - (rule__CustomEntry__KeyAssignment_0) - { after(grammarAccess.getCustomEntryAccess().getKeyAssignment_0()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__CustomEntry__Group__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__CustomEntry__Group__1__Impl - rule__CustomEntry__Group__2 -; -finally { - restoreStackSize(stackSize); -} - -rule__CustomEntry__Group__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getCustomEntryAccess().getEqualsSignKeyword_1()); } - '=' - { after(grammarAccess.getCustomEntryAccess().getEqualsSignKeyword_1()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__CustomEntry__Group__2 - @init { - int stackSize = keepStackSize(); - } -: - rule__CustomEntry__Group__2__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__CustomEntry__Group__2__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getCustomEntryAccess().getValueAssignment_2()); } - (rule__CustomEntry__ValueAssignment_2) - { after(grammarAccess.getCustomEntryAccess().getValueAssignment_2()); } -) -; -finally { - restoreStackSize(stackSize); -} - - -rule__ScopeSpecification__Group__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__ScopeSpecification__Group__0__Impl - rule__ScopeSpecification__Group__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__ScopeSpecification__Group__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getScopeSpecificationAccess().getScopeSpecificationAction_0()); } - () - { after(grammarAccess.getScopeSpecificationAccess().getScopeSpecificationAction_0()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__ScopeSpecification__Group__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__ScopeSpecification__Group__1__Impl - rule__ScopeSpecification__Group__2 -; -finally { - restoreStackSize(stackSize); -} - -rule__ScopeSpecification__Group__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getScopeSpecificationAccess().getLeftCurlyBracketKeyword_1()); } - '{' - { after(grammarAccess.getScopeSpecificationAccess().getLeftCurlyBracketKeyword_1()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__ScopeSpecification__Group__2 - @init { - int stackSize = keepStackSize(); - } -: - rule__ScopeSpecification__Group__2__Impl - rule__ScopeSpecification__Group__3 -; -finally { - restoreStackSize(stackSize); -} - -rule__ScopeSpecification__Group__2__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getScopeSpecificationAccess().getGroup_2()); } - (rule__ScopeSpecification__Group_2__0)? - { after(grammarAccess.getScopeSpecificationAccess().getGroup_2()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__ScopeSpecification__Group__3 - @init { - int stackSize = keepStackSize(); - } -: - rule__ScopeSpecification__Group__3__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__ScopeSpecification__Group__3__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getScopeSpecificationAccess().getRightCurlyBracketKeyword_3()); } - '}' - { after(grammarAccess.getScopeSpecificationAccess().getRightCurlyBracketKeyword_3()); } -) -; -finally { - restoreStackSize(stackSize); -} - - -rule__ScopeSpecification__Group_2__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__ScopeSpecification__Group_2__0__Impl - rule__ScopeSpecification__Group_2__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__ScopeSpecification__Group_2__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getScopeSpecificationAccess().getScopesAssignment_2_0()); } - (rule__ScopeSpecification__ScopesAssignment_2_0) - { after(grammarAccess.getScopeSpecificationAccess().getScopesAssignment_2_0()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__ScopeSpecification__Group_2__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__ScopeSpecification__Group_2__1__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__ScopeSpecification__Group_2__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getScopeSpecificationAccess().getGroup_2_1()); } - (rule__ScopeSpecification__Group_2_1__0)* - { after(grammarAccess.getScopeSpecificationAccess().getGroup_2_1()); } -) -; -finally { - restoreStackSize(stackSize); -} - - -rule__ScopeSpecification__Group_2_1__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__ScopeSpecification__Group_2_1__0__Impl - rule__ScopeSpecification__Group_2_1__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__ScopeSpecification__Group_2_1__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getScopeSpecificationAccess().getCommaKeyword_2_1_0()); } - ',' - { after(grammarAccess.getScopeSpecificationAccess().getCommaKeyword_2_1_0()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__ScopeSpecification__Group_2_1__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__ScopeSpecification__Group_2_1__1__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__ScopeSpecification__Group_2_1__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getScopeSpecificationAccess().getScopesAssignment_2_1_1()); } - (rule__ScopeSpecification__ScopesAssignment_2_1_1) - { after(grammarAccess.getScopeSpecificationAccess().getScopesAssignment_2_1_1()); } -) -; -finally { - restoreStackSize(stackSize); -} - - -rule__ClassTypeScope__Group__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__ClassTypeScope__Group__0__Impl - rule__ClassTypeScope__Group__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__ClassTypeScope__Group__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getClassTypeScopeAccess().getNumberSignKeyword_0()); } - '#' - { after(grammarAccess.getClassTypeScopeAccess().getNumberSignKeyword_0()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__ClassTypeScope__Group__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__ClassTypeScope__Group__1__Impl - rule__ClassTypeScope__Group__2 -; -finally { - restoreStackSize(stackSize); -} - -rule__ClassTypeScope__Group__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getClassTypeScopeAccess().getTypeAssignment_1()); } - (rule__ClassTypeScope__TypeAssignment_1) - { after(grammarAccess.getClassTypeScopeAccess().getTypeAssignment_1()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__ClassTypeScope__Group__2 - @init { - int stackSize = keepStackSize(); - } -: - rule__ClassTypeScope__Group__2__Impl - rule__ClassTypeScope__Group__3 -; -finally { - restoreStackSize(stackSize); -} - -rule__ClassTypeScope__Group__2__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getClassTypeScopeAccess().getAlternatives_2()); } - (rule__ClassTypeScope__Alternatives_2) - { after(grammarAccess.getClassTypeScopeAccess().getAlternatives_2()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__ClassTypeScope__Group__3 - @init { - int stackSize = keepStackSize(); - } -: - rule__ClassTypeScope__Group__3__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__ClassTypeScope__Group__3__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getClassTypeScopeAccess().getAlternatives_3()); } - (rule__ClassTypeScope__Alternatives_3) - { after(grammarAccess.getClassTypeScopeAccess().getAlternatives_3()); } -) -; -finally { - restoreStackSize(stackSize); -} - - -rule__ObjectTypeScope__Group__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__ObjectTypeScope__Group__0__Impl - rule__ObjectTypeScope__Group__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__ObjectTypeScope__Group__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getObjectTypeScopeAccess().getNumberSignKeyword_0()); } - '#' - { after(grammarAccess.getObjectTypeScopeAccess().getNumberSignKeyword_0()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__ObjectTypeScope__Group__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__ObjectTypeScope__Group__1__Impl - rule__ObjectTypeScope__Group__2 -; -finally { - restoreStackSize(stackSize); -} - -rule__ObjectTypeScope__Group__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getObjectTypeScopeAccess().getTypeAssignment_1()); } - (rule__ObjectTypeScope__TypeAssignment_1) - { after(grammarAccess.getObjectTypeScopeAccess().getTypeAssignment_1()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__ObjectTypeScope__Group__2 - @init { - int stackSize = keepStackSize(); - } -: - rule__ObjectTypeScope__Group__2__Impl - rule__ObjectTypeScope__Group__3 -; -finally { - restoreStackSize(stackSize); -} - -rule__ObjectTypeScope__Group__2__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getObjectTypeScopeAccess().getAlternatives_2()); } - (rule__ObjectTypeScope__Alternatives_2) - { after(grammarAccess.getObjectTypeScopeAccess().getAlternatives_2()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__ObjectTypeScope__Group__3 - @init { - int stackSize = keepStackSize(); - } -: - rule__ObjectTypeScope__Group__3__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__ObjectTypeScope__Group__3__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getObjectTypeScopeAccess().getAlternatives_3()); } - (rule__ObjectTypeScope__Alternatives_3) - { after(grammarAccess.getObjectTypeScopeAccess().getAlternatives_3()); } -) -; -finally { - restoreStackSize(stackSize); -} - - -rule__IntegerTypeScope__Group__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__IntegerTypeScope__Group__0__Impl - rule__IntegerTypeScope__Group__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__IntegerTypeScope__Group__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getIntegerTypeScopeAccess().getNumberSignKeyword_0()); } - '#' - { after(grammarAccess.getIntegerTypeScopeAccess().getNumberSignKeyword_0()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__IntegerTypeScope__Group__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__IntegerTypeScope__Group__1__Impl - rule__IntegerTypeScope__Group__2 -; -finally { - restoreStackSize(stackSize); -} - -rule__IntegerTypeScope__Group__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getIntegerTypeScopeAccess().getTypeAssignment_1()); } - (rule__IntegerTypeScope__TypeAssignment_1) - { after(grammarAccess.getIntegerTypeScopeAccess().getTypeAssignment_1()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__IntegerTypeScope__Group__2 - @init { - int stackSize = keepStackSize(); - } -: - rule__IntegerTypeScope__Group__2__Impl - rule__IntegerTypeScope__Group__3 -; -finally { - restoreStackSize(stackSize); -} - -rule__IntegerTypeScope__Group__2__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getIntegerTypeScopeAccess().getAlternatives_2()); } - (rule__IntegerTypeScope__Alternatives_2) - { after(grammarAccess.getIntegerTypeScopeAccess().getAlternatives_2()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__IntegerTypeScope__Group__3 - @init { - int stackSize = keepStackSize(); - } -: - rule__IntegerTypeScope__Group__3__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__IntegerTypeScope__Group__3__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getIntegerTypeScopeAccess().getAlternatives_3()); } - (rule__IntegerTypeScope__Alternatives_3) - { after(grammarAccess.getIntegerTypeScopeAccess().getAlternatives_3()); } -) -; -finally { - restoreStackSize(stackSize); -} - - -rule__RealTypeScope__Group__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__RealTypeScope__Group__0__Impl - rule__RealTypeScope__Group__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__RealTypeScope__Group__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getRealTypeScopeAccess().getNumberSignKeyword_0()); } - '#' - { after(grammarAccess.getRealTypeScopeAccess().getNumberSignKeyword_0()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__RealTypeScope__Group__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__RealTypeScope__Group__1__Impl - rule__RealTypeScope__Group__2 -; -finally { - restoreStackSize(stackSize); -} - -rule__RealTypeScope__Group__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getRealTypeScopeAccess().getTypeAssignment_1()); } - (rule__RealTypeScope__TypeAssignment_1) - { after(grammarAccess.getRealTypeScopeAccess().getTypeAssignment_1()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__RealTypeScope__Group__2 - @init { - int stackSize = keepStackSize(); - } -: - rule__RealTypeScope__Group__2__Impl - rule__RealTypeScope__Group__3 -; -finally { - restoreStackSize(stackSize); -} - -rule__RealTypeScope__Group__2__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getRealTypeScopeAccess().getAlternatives_2()); } - (rule__RealTypeScope__Alternatives_2) - { after(grammarAccess.getRealTypeScopeAccess().getAlternatives_2()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__RealTypeScope__Group__3 - @init { - int stackSize = keepStackSize(); - } -: - rule__RealTypeScope__Group__3__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__RealTypeScope__Group__3__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getRealTypeScopeAccess().getAlternatives_3()); } - (rule__RealTypeScope__Alternatives_3) - { after(grammarAccess.getRealTypeScopeAccess().getAlternatives_3()); } -) -; -finally { - restoreStackSize(stackSize); -} - - -rule__StringTypeScope__Group__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__StringTypeScope__Group__0__Impl - rule__StringTypeScope__Group__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__StringTypeScope__Group__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getStringTypeScopeAccess().getNumberSignKeyword_0()); } - '#' - { after(grammarAccess.getStringTypeScopeAccess().getNumberSignKeyword_0()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__StringTypeScope__Group__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__StringTypeScope__Group__1__Impl - rule__StringTypeScope__Group__2 -; -finally { - restoreStackSize(stackSize); -} - -rule__StringTypeScope__Group__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getStringTypeScopeAccess().getTypeAssignment_1()); } - (rule__StringTypeScope__TypeAssignment_1) - { after(grammarAccess.getStringTypeScopeAccess().getTypeAssignment_1()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__StringTypeScope__Group__2 - @init { - int stackSize = keepStackSize(); - } -: - rule__StringTypeScope__Group__2__Impl - rule__StringTypeScope__Group__3 -; -finally { - restoreStackSize(stackSize); -} - -rule__StringTypeScope__Group__2__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getStringTypeScopeAccess().getAlternatives_2()); } - (rule__StringTypeScope__Alternatives_2) - { after(grammarAccess.getStringTypeScopeAccess().getAlternatives_2()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__StringTypeScope__Group__3 - @init { - int stackSize = keepStackSize(); - } -: - rule__StringTypeScope__Group__3__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__StringTypeScope__Group__3__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getStringTypeScopeAccess().getAlternatives_3()); } - (rule__StringTypeScope__Alternatives_3) - { after(grammarAccess.getStringTypeScopeAccess().getAlternatives_3()); } -) -; -finally { - restoreStackSize(stackSize); -} - - -rule__ClassReference__Group__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__ClassReference__Group__0__Impl - rule__ClassReference__Group__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__ClassReference__Group__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getClassReferenceAccess().getLessThanSignKeyword_0()); } - '<' - { after(grammarAccess.getClassReferenceAccess().getLessThanSignKeyword_0()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__ClassReference__Group__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__ClassReference__Group__1__Impl - rule__ClassReference__Group__2 -; -finally { - restoreStackSize(stackSize); -} - -rule__ClassReference__Group__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getClassReferenceAccess().getElementAssignment_1()); } - (rule__ClassReference__ElementAssignment_1) - { after(grammarAccess.getClassReferenceAccess().getElementAssignment_1()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__ClassReference__Group__2 - @init { - int stackSize = keepStackSize(); - } -: - rule__ClassReference__Group__2__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__ClassReference__Group__2__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getClassReferenceAccess().getGreaterThanSignKeyword_2()); } - '>' - { after(grammarAccess.getClassReferenceAccess().getGreaterThanSignKeyword_2()); } -) -; -finally { - restoreStackSize(stackSize); -} - - -rule__ObjectReference__Group__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__ObjectReference__Group__0__Impl - rule__ObjectReference__Group__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__ObjectReference__Group__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getObjectReferenceAccess().getObjectReferenceAction_0()); } - () - { after(grammarAccess.getObjectReferenceAccess().getObjectReferenceAction_0()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__ObjectReference__Group__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__ObjectReference__Group__1__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__ObjectReference__Group__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getObjectReferenceAccess().getNodeKeyword_1()); } - 'node' - { after(grammarAccess.getObjectReferenceAccess().getNodeKeyword_1()); } -) -; -finally { - restoreStackSize(stackSize); -} - - -rule__IntegerReference__Group__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__IntegerReference__Group__0__Impl - rule__IntegerReference__Group__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__IntegerReference__Group__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getIntegerReferenceAccess().getIntegerScopeAction_0()); } - () - { after(grammarAccess.getIntegerReferenceAccess().getIntegerScopeAction_0()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__IntegerReference__Group__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__IntegerReference__Group__1__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__IntegerReference__Group__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getIntegerReferenceAccess().getIntKeyword_1()); } - 'int' - { after(grammarAccess.getIntegerReferenceAccess().getIntKeyword_1()); } -) -; -finally { - restoreStackSize(stackSize); -} - - -rule__RealReference__Group__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__RealReference__Group__0__Impl - rule__RealReference__Group__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__RealReference__Group__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getRealReferenceAccess().getRealScopeAction_0()); } - () - { after(grammarAccess.getRealReferenceAccess().getRealScopeAction_0()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__RealReference__Group__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__RealReference__Group__1__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__RealReference__Group__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getRealReferenceAccess().getRealKeyword_1()); } - 'real' - { after(grammarAccess.getRealReferenceAccess().getRealKeyword_1()); } -) -; -finally { - restoreStackSize(stackSize); -} - - -rule__StringReference__Group__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__StringReference__Group__0__Impl - rule__StringReference__Group__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__StringReference__Group__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getStringReferenceAccess().getStringScopeAction_0()); } - () - { after(grammarAccess.getStringReferenceAccess().getStringScopeAction_0()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__StringReference__Group__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__StringReference__Group__1__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__StringReference__Group__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getStringReferenceAccess().getStringKeyword_1()); } - 'string' - { after(grammarAccess.getStringReferenceAccess().getStringKeyword_1()); } -) -; -finally { - restoreStackSize(stackSize); -} - - -rule__IntervallNumber__Group__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__IntervallNumber__Group__0__Impl - rule__IntervallNumber__Group__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__IntervallNumber__Group__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getIntervallNumberAccess().getMinAssignment_0()); } - (rule__IntervallNumber__MinAssignment_0) - { after(grammarAccess.getIntervallNumberAccess().getMinAssignment_0()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__IntervallNumber__Group__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__IntervallNumber__Group__1__Impl - rule__IntervallNumber__Group__2 -; -finally { - restoreStackSize(stackSize); -} - -rule__IntervallNumber__Group__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getIntervallNumberAccess().getFullStopFullStopKeyword_1()); } - '..' - { after(grammarAccess.getIntervallNumberAccess().getFullStopFullStopKeyword_1()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__IntervallNumber__Group__2 - @init { - int stackSize = keepStackSize(); - } -: - rule__IntervallNumber__Group__2__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__IntervallNumber__Group__2__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getIntervallNumberAccess().getAlternatives_2()); } - (rule__IntervallNumber__Alternatives_2) - { after(grammarAccess.getIntervallNumberAccess().getAlternatives_2()); } -) -; -finally { - restoreStackSize(stackSize); -} - - -rule__IntEnumberation__Group__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__IntEnumberation__Group__0__Impl - rule__IntEnumberation__Group__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__IntEnumberation__Group__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getIntEnumberationAccess().getIntEnumberationAction_0()); } - () - { after(grammarAccess.getIntEnumberationAccess().getIntEnumberationAction_0()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__IntEnumberation__Group__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__IntEnumberation__Group__1__Impl - rule__IntEnumberation__Group__2 -; -finally { - restoreStackSize(stackSize); -} - -rule__IntEnumberation__Group__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getIntEnumberationAccess().getLeftCurlyBracketKeyword_1()); } - '{' - { after(grammarAccess.getIntEnumberationAccess().getLeftCurlyBracketKeyword_1()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__IntEnumberation__Group__2 - @init { - int stackSize = keepStackSize(); - } -: - rule__IntEnumberation__Group__2__Impl - rule__IntEnumberation__Group__3 -; -finally { - restoreStackSize(stackSize); -} - -rule__IntEnumberation__Group__2__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getIntEnumberationAccess().getGroup_2()); } - (rule__IntEnumberation__Group_2__0)? - { after(grammarAccess.getIntEnumberationAccess().getGroup_2()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__IntEnumberation__Group__3 - @init { - int stackSize = keepStackSize(); - } -: - rule__IntEnumberation__Group__3__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__IntEnumberation__Group__3__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getIntEnumberationAccess().getRightCurlyBracketKeyword_3()); } - '}' - { after(grammarAccess.getIntEnumberationAccess().getRightCurlyBracketKeyword_3()); } -) -; -finally { - restoreStackSize(stackSize); -} - - -rule__IntEnumberation__Group_2__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__IntEnumberation__Group_2__0__Impl - rule__IntEnumberation__Group_2__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__IntEnumberation__Group_2__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getIntEnumberationAccess().getEntryAssignment_2_0()); } - (rule__IntEnumberation__EntryAssignment_2_0) - { after(grammarAccess.getIntEnumberationAccess().getEntryAssignment_2_0()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__IntEnumberation__Group_2__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__IntEnumberation__Group_2__1__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__IntEnumberation__Group_2__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getIntEnumberationAccess().getGroup_2_1()); } - (rule__IntEnumberation__Group_2_1__0)* - { after(grammarAccess.getIntEnumberationAccess().getGroup_2_1()); } -) -; -finally { - restoreStackSize(stackSize); -} - - -rule__IntEnumberation__Group_2_1__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__IntEnumberation__Group_2_1__0__Impl - rule__IntEnumberation__Group_2_1__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__IntEnumberation__Group_2_1__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getIntEnumberationAccess().getCommaKeyword_2_1_0()); } - ',' - { after(grammarAccess.getIntEnumberationAccess().getCommaKeyword_2_1_0()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__IntEnumberation__Group_2_1__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__IntEnumberation__Group_2_1__1__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__IntEnumberation__Group_2_1__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getIntEnumberationAccess().getEntryAssignment_2_1_1()); } - (rule__IntEnumberation__EntryAssignment_2_1_1) - { after(grammarAccess.getIntEnumberationAccess().getEntryAssignment_2_1_1()); } -) -; -finally { - restoreStackSize(stackSize); -} - - -rule__RealEnumeration__Group__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__RealEnumeration__Group__0__Impl - rule__RealEnumeration__Group__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__RealEnumeration__Group__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getRealEnumerationAccess().getRealEnumerationAction_0()); } - () - { after(grammarAccess.getRealEnumerationAccess().getRealEnumerationAction_0()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__RealEnumeration__Group__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__RealEnumeration__Group__1__Impl - rule__RealEnumeration__Group__2 -; -finally { - restoreStackSize(stackSize); -} - -rule__RealEnumeration__Group__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getRealEnumerationAccess().getLeftCurlyBracketKeyword_1()); } - '{' - { after(grammarAccess.getRealEnumerationAccess().getLeftCurlyBracketKeyword_1()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__RealEnumeration__Group__2 - @init { - int stackSize = keepStackSize(); - } -: - rule__RealEnumeration__Group__2__Impl - rule__RealEnumeration__Group__3 -; -finally { - restoreStackSize(stackSize); -} - -rule__RealEnumeration__Group__2__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getRealEnumerationAccess().getGroup_2()); } - (rule__RealEnumeration__Group_2__0)? - { after(grammarAccess.getRealEnumerationAccess().getGroup_2()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__RealEnumeration__Group__3 - @init { - int stackSize = keepStackSize(); - } -: - rule__RealEnumeration__Group__3__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__RealEnumeration__Group__3__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getRealEnumerationAccess().getRightCurlyBracketKeyword_3()); } - '}' - { after(grammarAccess.getRealEnumerationAccess().getRightCurlyBracketKeyword_3()); } -) -; -finally { - restoreStackSize(stackSize); -} - - -rule__RealEnumeration__Group_2__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__RealEnumeration__Group_2__0__Impl - rule__RealEnumeration__Group_2__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__RealEnumeration__Group_2__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getRealEnumerationAccess().getEntryAssignment_2_0()); } - (rule__RealEnumeration__EntryAssignment_2_0) - { after(grammarAccess.getRealEnumerationAccess().getEntryAssignment_2_0()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__RealEnumeration__Group_2__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__RealEnumeration__Group_2__1__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__RealEnumeration__Group_2__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getRealEnumerationAccess().getGroup_2_1()); } - (rule__RealEnumeration__Group_2_1__0)* - { after(grammarAccess.getRealEnumerationAccess().getGroup_2_1()); } -) -; -finally { - restoreStackSize(stackSize); -} - - -rule__RealEnumeration__Group_2_1__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__RealEnumeration__Group_2_1__0__Impl - rule__RealEnumeration__Group_2_1__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__RealEnumeration__Group_2_1__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getRealEnumerationAccess().getCommaKeyword_2_1_0()); } - ',' - { after(grammarAccess.getRealEnumerationAccess().getCommaKeyword_2_1_0()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__RealEnumeration__Group_2_1__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__RealEnumeration__Group_2_1__1__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__RealEnumeration__Group_2_1__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getRealEnumerationAccess().getEntryAssignment_2_1_1()); } - (rule__RealEnumeration__EntryAssignment_2_1_1) - { after(grammarAccess.getRealEnumerationAccess().getEntryAssignment_2_1_1()); } -) -; -finally { - restoreStackSize(stackSize); -} - - -rule__StringEnumeration__Group__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__StringEnumeration__Group__0__Impl - rule__StringEnumeration__Group__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__StringEnumeration__Group__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getStringEnumerationAccess().getStringEnumerationAction_0()); } - () - { after(grammarAccess.getStringEnumerationAccess().getStringEnumerationAction_0()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__StringEnumeration__Group__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__StringEnumeration__Group__1__Impl - rule__StringEnumeration__Group__2 -; -finally { - restoreStackSize(stackSize); -} - -rule__StringEnumeration__Group__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getStringEnumerationAccess().getLeftCurlyBracketKeyword_1()); } - '{' - { after(grammarAccess.getStringEnumerationAccess().getLeftCurlyBracketKeyword_1()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__StringEnumeration__Group__2 - @init { - int stackSize = keepStackSize(); - } -: - rule__StringEnumeration__Group__2__Impl - rule__StringEnumeration__Group__3 -; -finally { - restoreStackSize(stackSize); -} - -rule__StringEnumeration__Group__2__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getStringEnumerationAccess().getGroup_2()); } - (rule__StringEnumeration__Group_2__0)? - { after(grammarAccess.getStringEnumerationAccess().getGroup_2()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__StringEnumeration__Group__3 - @init { - int stackSize = keepStackSize(); - } -: - rule__StringEnumeration__Group__3__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__StringEnumeration__Group__3__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getStringEnumerationAccess().getRightCurlyBracketKeyword_3()); } - '}' - { after(grammarAccess.getStringEnumerationAccess().getRightCurlyBracketKeyword_3()); } -) -; -finally { - restoreStackSize(stackSize); -} - - -rule__StringEnumeration__Group_2__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__StringEnumeration__Group_2__0__Impl - rule__StringEnumeration__Group_2__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__StringEnumeration__Group_2__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getStringEnumerationAccess().getEntryAssignment_2_0()); } - (rule__StringEnumeration__EntryAssignment_2_0) - { after(grammarAccess.getStringEnumerationAccess().getEntryAssignment_2_0()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__StringEnumeration__Group_2__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__StringEnumeration__Group_2__1__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__StringEnumeration__Group_2__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getStringEnumerationAccess().getGroup_2_1()); } - (rule__StringEnumeration__Group_2_1__0)* - { after(grammarAccess.getStringEnumerationAccess().getGroup_2_1()); } -) -; -finally { - restoreStackSize(stackSize); -} - - -rule__StringEnumeration__Group_2_1__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__StringEnumeration__Group_2_1__0__Impl - rule__StringEnumeration__Group_2_1__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__StringEnumeration__Group_2_1__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getStringEnumerationAccess().getCommaKeyword_2_1_0()); } - ',' - { after(grammarAccess.getStringEnumerationAccess().getCommaKeyword_2_1_0()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__StringEnumeration__Group_2_1__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__StringEnumeration__Group_2_1__1__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__StringEnumeration__Group_2_1__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getStringEnumerationAccess().getEntryAssignment_2_1_1()); } - (rule__StringEnumeration__EntryAssignment_2_1_1) - { after(grammarAccess.getStringEnumerationAccess().getEntryAssignment_2_1_1()); } -) -; -finally { - restoreStackSize(stackSize); -} - - -rule__ScopeDeclaration__Group__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__ScopeDeclaration__Group__0__Impl - rule__ScopeDeclaration__Group__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__ScopeDeclaration__Group__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getScopeDeclarationAccess().getScopeKeyword_0()); } - 'scope' - { after(grammarAccess.getScopeDeclarationAccess().getScopeKeyword_0()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__ScopeDeclaration__Group__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__ScopeDeclaration__Group__1__Impl - rule__ScopeDeclaration__Group__2 -; -finally { - restoreStackSize(stackSize); -} - -rule__ScopeDeclaration__Group__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getScopeDeclarationAccess().getNameAssignment_1()); } - (rule__ScopeDeclaration__NameAssignment_1) - { after(grammarAccess.getScopeDeclarationAccess().getNameAssignment_1()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__ScopeDeclaration__Group__2 - @init { - int stackSize = keepStackSize(); - } -: - rule__ScopeDeclaration__Group__2__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__ScopeDeclaration__Group__2__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getScopeDeclarationAccess().getSpecificationAssignment_2()); } - (rule__ScopeDeclaration__SpecificationAssignment_2) - { after(grammarAccess.getScopeDeclarationAccess().getSpecificationAssignment_2()); } -) -; -finally { - restoreStackSize(stackSize); -} - - -rule__GenerationTask__Group__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__GenerationTask__Group__0__Impl - rule__GenerationTask__Group__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__GenerationTask__Group__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getGenerationTaskAccess().getGenerateKeyword_0()); } - 'generate' - { after(grammarAccess.getGenerationTaskAccess().getGenerateKeyword_0()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__GenerationTask__Group__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__GenerationTask__Group__1__Impl - rule__GenerationTask__Group__2 -; -finally { - restoreStackSize(stackSize); -} - -rule__GenerationTask__Group__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getGenerationTaskAccess().getGenerationTaskAction_1()); } - () - { after(grammarAccess.getGenerationTaskAccess().getGenerationTaskAction_1()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__GenerationTask__Group__2 - @init { - int stackSize = keepStackSize(); - } -: - rule__GenerationTask__Group__2__Impl - rule__GenerationTask__Group__3 -; -finally { - restoreStackSize(stackSize); -} - -rule__GenerationTask__Group__2__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getGenerationTaskAccess().getLeftCurlyBracketKeyword_2()); } - '{' - { after(grammarAccess.getGenerationTaskAccess().getLeftCurlyBracketKeyword_2()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__GenerationTask__Group__3 - @init { - int stackSize = keepStackSize(); - } -: - rule__GenerationTask__Group__3__Impl - rule__GenerationTask__Group__4 -; -finally { - restoreStackSize(stackSize); -} - -rule__GenerationTask__Group__3__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); } - (rule__GenerationTask__UnorderedGroup_3) - { after(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__GenerationTask__Group__4 - @init { - int stackSize = keepStackSize(); - } -: - rule__GenerationTask__Group__4__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__GenerationTask__Group__4__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getGenerationTaskAccess().getRightCurlyBracketKeyword_4()); } - '}' - { after(grammarAccess.getGenerationTaskAccess().getRightCurlyBracketKeyword_4()); } -) -; -finally { - restoreStackSize(stackSize); -} - - -rule__GenerationTask__Group_3_0__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__GenerationTask__Group_3_0__0__Impl - rule__GenerationTask__Group_3_0__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__GenerationTask__Group_3_0__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getGenerationTaskAccess().getMetamodelKeyword_3_0_0()); } - 'metamodel' - { after(grammarAccess.getGenerationTaskAccess().getMetamodelKeyword_3_0_0()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__GenerationTask__Group_3_0__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__GenerationTask__Group_3_0__1__Impl - rule__GenerationTask__Group_3_0__2 -; -finally { - restoreStackSize(stackSize); -} - -rule__GenerationTask__Group_3_0__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_0_1()); } - '=' - { after(grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_0_1()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__GenerationTask__Group_3_0__2 - @init { - int stackSize = keepStackSize(); - } -: - rule__GenerationTask__Group_3_0__2__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__GenerationTask__Group_3_0__2__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getGenerationTaskAccess().getMetamodelAssignment_3_0_2()); } - (rule__GenerationTask__MetamodelAssignment_3_0_2) - { after(grammarAccess.getGenerationTaskAccess().getMetamodelAssignment_3_0_2()); } -) -; -finally { - restoreStackSize(stackSize); -} - - -rule__GenerationTask__Group_3_1__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__GenerationTask__Group_3_1__0__Impl - rule__GenerationTask__Group_3_1__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__GenerationTask__Group_3_1__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getGenerationTaskAccess().getPartialModelKeyword_3_1_0()); } - 'partial-model' - { after(grammarAccess.getGenerationTaskAccess().getPartialModelKeyword_3_1_0()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__GenerationTask__Group_3_1__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__GenerationTask__Group_3_1__1__Impl - rule__GenerationTask__Group_3_1__2 -; -finally { - restoreStackSize(stackSize); -} - -rule__GenerationTask__Group_3_1__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_1_1()); } - '=' - { after(grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_1_1()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__GenerationTask__Group_3_1__2 - @init { - int stackSize = keepStackSize(); - } -: - rule__GenerationTask__Group_3_1__2__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__GenerationTask__Group_3_1__2__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getGenerationTaskAccess().getPartialModelAssignment_3_1_2()); } - (rule__GenerationTask__PartialModelAssignment_3_1_2) - { after(grammarAccess.getGenerationTaskAccess().getPartialModelAssignment_3_1_2()); } -) -; -finally { - restoreStackSize(stackSize); -} - - -rule__GenerationTask__Group_3_2__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__GenerationTask__Group_3_2__0__Impl - rule__GenerationTask__Group_3_2__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__GenerationTask__Group_3_2__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getGenerationTaskAccess().getConstraintsKeyword_3_2_0()); } - 'constraints' - { after(grammarAccess.getGenerationTaskAccess().getConstraintsKeyword_3_2_0()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__GenerationTask__Group_3_2__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__GenerationTask__Group_3_2__1__Impl - rule__GenerationTask__Group_3_2__2 -; -finally { - restoreStackSize(stackSize); -} - -rule__GenerationTask__Group_3_2__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_2_1()); } - '=' - { after(grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_2_1()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__GenerationTask__Group_3_2__2 - @init { - int stackSize = keepStackSize(); - } -: - rule__GenerationTask__Group_3_2__2__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__GenerationTask__Group_3_2__2__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getGenerationTaskAccess().getPatternsAssignment_3_2_2()); } - (rule__GenerationTask__PatternsAssignment_3_2_2) - { after(grammarAccess.getGenerationTaskAccess().getPatternsAssignment_3_2_2()); } -) -; -finally { - restoreStackSize(stackSize); -} - - -rule__GenerationTask__Group_3_3__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__GenerationTask__Group_3_3__0__Impl - rule__GenerationTask__Group_3_3__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__GenerationTask__Group_3_3__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getGenerationTaskAccess().getScopeKeyword_3_3_0()); } - 'scope' - { after(grammarAccess.getGenerationTaskAccess().getScopeKeyword_3_3_0()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__GenerationTask__Group_3_3__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__GenerationTask__Group_3_3__1__Impl - rule__GenerationTask__Group_3_3__2 -; -finally { - restoreStackSize(stackSize); -} - -rule__GenerationTask__Group_3_3__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_3_1()); } - '=' - { after(grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_3_1()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__GenerationTask__Group_3_3__2 - @init { - int stackSize = keepStackSize(); - } -: - rule__GenerationTask__Group_3_3__2__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__GenerationTask__Group_3_3__2__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getGenerationTaskAccess().getScopeAssignment_3_3_2()); } - (rule__GenerationTask__ScopeAssignment_3_3_2) - { after(grammarAccess.getGenerationTaskAccess().getScopeAssignment_3_3_2()); } -) -; -finally { - restoreStackSize(stackSize); -} - - -rule__GenerationTask__Group_3_4__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__GenerationTask__Group_3_4__0__Impl - rule__GenerationTask__Group_3_4__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__GenerationTask__Group_3_4__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getGenerationTaskAccess().getNumberSpecifiedAssignment_3_4_0()); } - (rule__GenerationTask__NumberSpecifiedAssignment_3_4_0) - { after(grammarAccess.getGenerationTaskAccess().getNumberSpecifiedAssignment_3_4_0()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__GenerationTask__Group_3_4__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__GenerationTask__Group_3_4__1__Impl - rule__GenerationTask__Group_3_4__2 -; -finally { - restoreStackSize(stackSize); -} - -rule__GenerationTask__Group_3_4__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_4_1()); } - '=' - { after(grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_4_1()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__GenerationTask__Group_3_4__2 - @init { - int stackSize = keepStackSize(); - } -: - rule__GenerationTask__Group_3_4__2__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__GenerationTask__Group_3_4__2__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getGenerationTaskAccess().getNumberAssignment_3_4_2()); } - (rule__GenerationTask__NumberAssignment_3_4_2) - { after(grammarAccess.getGenerationTaskAccess().getNumberAssignment_3_4_2()); } -) -; -finally { - restoreStackSize(stackSize); -} - - -rule__GenerationTask__Group_3_5__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__GenerationTask__Group_3_5__0__Impl - rule__GenerationTask__Group_3_5__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__GenerationTask__Group_3_5__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getGenerationTaskAccess().getRunSpecifiedAssignment_3_5_0()); } - (rule__GenerationTask__RunSpecifiedAssignment_3_5_0) - { after(grammarAccess.getGenerationTaskAccess().getRunSpecifiedAssignment_3_5_0()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__GenerationTask__Group_3_5__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__GenerationTask__Group_3_5__1__Impl - rule__GenerationTask__Group_3_5__2 -; -finally { - restoreStackSize(stackSize); -} - -rule__GenerationTask__Group_3_5__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_5_1()); } - '=' - { after(grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_5_1()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__GenerationTask__Group_3_5__2 - @init { - int stackSize = keepStackSize(); - } -: - rule__GenerationTask__Group_3_5__2__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__GenerationTask__Group_3_5__2__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getGenerationTaskAccess().getRunsAssignment_3_5_2()); } - (rule__GenerationTask__RunsAssignment_3_5_2) - { after(grammarAccess.getGenerationTaskAccess().getRunsAssignment_3_5_2()); } -) -; -finally { - restoreStackSize(stackSize); -} - - -rule__GenerationTask__Group_3_6__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__GenerationTask__Group_3_6__0__Impl - rule__GenerationTask__Group_3_6__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__GenerationTask__Group_3_6__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getGenerationTaskAccess().getSolverKeyword_3_6_0()); } - 'solver' - { after(grammarAccess.getGenerationTaskAccess().getSolverKeyword_3_6_0()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__GenerationTask__Group_3_6__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__GenerationTask__Group_3_6__1__Impl - rule__GenerationTask__Group_3_6__2 -; -finally { - restoreStackSize(stackSize); -} - -rule__GenerationTask__Group_3_6__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_6_1()); } - '=' - { after(grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_6_1()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__GenerationTask__Group_3_6__2 - @init { - int stackSize = keepStackSize(); - } -: - rule__GenerationTask__Group_3_6__2__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__GenerationTask__Group_3_6__2__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getGenerationTaskAccess().getSolverAssignment_3_6_2()); } - (rule__GenerationTask__SolverAssignment_3_6_2) - { after(grammarAccess.getGenerationTaskAccess().getSolverAssignment_3_6_2()); } -) -; -finally { - restoreStackSize(stackSize); -} - - -rule__GenerationTask__Group_3_7__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__GenerationTask__Group_3_7__0__Impl - rule__GenerationTask__Group_3_7__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__GenerationTask__Group_3_7__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getGenerationTaskAccess().getConfigKeyword_3_7_0()); } - 'config' - { after(grammarAccess.getGenerationTaskAccess().getConfigKeyword_3_7_0()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__GenerationTask__Group_3_7__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__GenerationTask__Group_3_7__1__Impl - rule__GenerationTask__Group_3_7__2 -; -finally { - restoreStackSize(stackSize); -} - -rule__GenerationTask__Group_3_7__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_7_1()); } - '=' - { after(grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_7_1()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__GenerationTask__Group_3_7__2 - @init { - int stackSize = keepStackSize(); - } -: - rule__GenerationTask__Group_3_7__2__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__GenerationTask__Group_3_7__2__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getGenerationTaskAccess().getConfigAssignment_3_7_2()); } - (rule__GenerationTask__ConfigAssignment_3_7_2) - { after(grammarAccess.getGenerationTaskAccess().getConfigAssignment_3_7_2()); } -) -; -finally { - restoreStackSize(stackSize); -} - - -rule__GenerationTask__Group_3_8__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__GenerationTask__Group_3_8__0__Impl - rule__GenerationTask__Group_3_8__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__GenerationTask__Group_3_8__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getGenerationTaskAccess().getDebugKeyword_3_8_0()); } - 'debug' - { after(grammarAccess.getGenerationTaskAccess().getDebugKeyword_3_8_0()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__GenerationTask__Group_3_8__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__GenerationTask__Group_3_8__1__Impl - rule__GenerationTask__Group_3_8__2 -; -finally { - restoreStackSize(stackSize); -} - -rule__GenerationTask__Group_3_8__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_8_1()); } - '=' - { after(grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_8_1()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__GenerationTask__Group_3_8__2 - @init { - int stackSize = keepStackSize(); - } -: - rule__GenerationTask__Group_3_8__2__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__GenerationTask__Group_3_8__2__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getGenerationTaskAccess().getDebugFolderAssignment_3_8_2()); } - (rule__GenerationTask__DebugFolderAssignment_3_8_2) - { after(grammarAccess.getGenerationTaskAccess().getDebugFolderAssignment_3_8_2()); } -) -; -finally { - restoreStackSize(stackSize); -} - - -rule__GenerationTask__Group_3_9__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__GenerationTask__Group_3_9__0__Impl - rule__GenerationTask__Group_3_9__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__GenerationTask__Group_3_9__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getGenerationTaskAccess().getLogKeyword_3_9_0()); } - 'log' - { after(grammarAccess.getGenerationTaskAccess().getLogKeyword_3_9_0()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__GenerationTask__Group_3_9__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__GenerationTask__Group_3_9__1__Impl - rule__GenerationTask__Group_3_9__2 -; -finally { - restoreStackSize(stackSize); -} - -rule__GenerationTask__Group_3_9__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_9_1()); } - '=' - { after(grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_9_1()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__GenerationTask__Group_3_9__2 - @init { - int stackSize = keepStackSize(); - } -: - rule__GenerationTask__Group_3_9__2__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__GenerationTask__Group_3_9__2__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getGenerationTaskAccess().getTargetLogFileAssignment_3_9_2()); } - (rule__GenerationTask__TargetLogFileAssignment_3_9_2) - { after(grammarAccess.getGenerationTaskAccess().getTargetLogFileAssignment_3_9_2()); } -) -; -finally { - restoreStackSize(stackSize); -} - - -rule__GenerationTask__Group_3_10__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__GenerationTask__Group_3_10__0__Impl - rule__GenerationTask__Group_3_10__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__GenerationTask__Group_3_10__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getGenerationTaskAccess().getStatisticsKeyword_3_10_0()); } - 'statistics' - { after(grammarAccess.getGenerationTaskAccess().getStatisticsKeyword_3_10_0()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__GenerationTask__Group_3_10__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__GenerationTask__Group_3_10__1__Impl - rule__GenerationTask__Group_3_10__2 -; -finally { - restoreStackSize(stackSize); -} - -rule__GenerationTask__Group_3_10__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_10_1()); } - '=' - { after(grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_10_1()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__GenerationTask__Group_3_10__2 - @init { - int stackSize = keepStackSize(); - } -: - rule__GenerationTask__Group_3_10__2__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__GenerationTask__Group_3_10__2__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getGenerationTaskAccess().getTargetStatisticsFileAssignment_3_10_2()); } - (rule__GenerationTask__TargetStatisticsFileAssignment_3_10_2) - { after(grammarAccess.getGenerationTaskAccess().getTargetStatisticsFileAssignment_3_10_2()); } -) -; -finally { - restoreStackSize(stackSize); -} - - -rule__GenerationTask__Group_3_11__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__GenerationTask__Group_3_11__0__Impl - rule__GenerationTask__Group_3_11__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__GenerationTask__Group_3_11__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getGenerationTaskAccess().getOutputKeyword_3_11_0()); } - 'output' - { after(grammarAccess.getGenerationTaskAccess().getOutputKeyword_3_11_0()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__GenerationTask__Group_3_11__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__GenerationTask__Group_3_11__1__Impl - rule__GenerationTask__Group_3_11__2 -; -finally { - restoreStackSize(stackSize); -} - -rule__GenerationTask__Group_3_11__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_11_1()); } - '=' - { after(grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_11_1()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__GenerationTask__Group_3_11__2 - @init { - int stackSize = keepStackSize(); - } -: - rule__GenerationTask__Group_3_11__2__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__GenerationTask__Group_3_11__2__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getGenerationTaskAccess().getTagetFolderAssignment_3_11_2()); } - (rule__GenerationTask__TagetFolderAssignment_3_11_2) - { after(grammarAccess.getGenerationTaskAccess().getTagetFolderAssignment_3_11_2()); } -) -; -finally { - restoreStackSize(stackSize); -} - - -rule__GenerationTask__UnorderedGroup_3 - @init { - int stackSize = keepStackSize(); - getUnorderedGroupHelper().enter(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); - } -: - rule__GenerationTask__UnorderedGroup_3__0 - ? -; -finally { - getUnorderedGroupHelper().leave(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); - restoreStackSize(stackSize); -} - -rule__GenerationTask__UnorderedGroup_3__Impl - @init { - int stackSize = keepStackSize(); - boolean selected = false; - } -: - ( - ( - {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0)}?=>( - { - getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0); - } - { - selected = true; - } - ( - { before(grammarAccess.getGenerationTaskAccess().getGroup_3_0()); } - (rule__GenerationTask__Group_3_0__0) - { after(grammarAccess.getGenerationTaskAccess().getGroup_3_0()); } - ) - ) - )| - ( - {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1)}?=>( - { - getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1); - } - { - selected = true; - } - ( - { before(grammarAccess.getGenerationTaskAccess().getGroup_3_1()); } - (rule__GenerationTask__Group_3_1__0) - { after(grammarAccess.getGenerationTaskAccess().getGroup_3_1()); } - ) - ) - )| - ( - {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2)}?=>( - { - getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2); - } - { - selected = true; - } - ( - { before(grammarAccess.getGenerationTaskAccess().getGroup_3_2()); } - (rule__GenerationTask__Group_3_2__0) - { after(grammarAccess.getGenerationTaskAccess().getGroup_3_2()); } - ) - ) - )| - ( - {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3)}?=>( - { - getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3); - } - { - selected = true; - } - ( - { before(grammarAccess.getGenerationTaskAccess().getGroup_3_3()); } - (rule__GenerationTask__Group_3_3__0) - { after(grammarAccess.getGenerationTaskAccess().getGroup_3_3()); } - ) - ) - )| - ( - {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4)}?=>( - { - getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4); - } - { - selected = true; - } - ( - { before(grammarAccess.getGenerationTaskAccess().getGroup_3_4()); } - (rule__GenerationTask__Group_3_4__0) - { after(grammarAccess.getGenerationTaskAccess().getGroup_3_4()); } - ) - ) - )| - ( - {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5)}?=>( - { - getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5); - } - { - selected = true; - } - ( - { before(grammarAccess.getGenerationTaskAccess().getGroup_3_5()); } - (rule__GenerationTask__Group_3_5__0) - { after(grammarAccess.getGenerationTaskAccess().getGroup_3_5()); } - ) - ) - )| - ( - {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6)}?=>( - { - getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6); - } - { - selected = true; - } - ( - { before(grammarAccess.getGenerationTaskAccess().getGroup_3_6()); } - (rule__GenerationTask__Group_3_6__0) - { after(grammarAccess.getGenerationTaskAccess().getGroup_3_6()); } - ) - ) - )| - ( - {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7)}?=>( - { - getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7); - } - { - selected = true; - } - ( - { before(grammarAccess.getGenerationTaskAccess().getGroup_3_7()); } - (rule__GenerationTask__Group_3_7__0) - { after(grammarAccess.getGenerationTaskAccess().getGroup_3_7()); } - ) - ) - )| - ( - {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8)}?=>( - { - getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8); - } - { - selected = true; - } - ( - { before(grammarAccess.getGenerationTaskAccess().getGroup_3_8()); } - (rule__GenerationTask__Group_3_8__0) - { after(grammarAccess.getGenerationTaskAccess().getGroup_3_8()); } - ) - ) - )| - ( - {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9)}?=>( - { - getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9); - } - { - selected = true; - } - ( - { before(grammarAccess.getGenerationTaskAccess().getGroup_3_9()); } - (rule__GenerationTask__Group_3_9__0) - { after(grammarAccess.getGenerationTaskAccess().getGroup_3_9()); } - ) - ) - )| - ( - {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10)}?=>( - { - getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10); - } - { - selected = true; - } - ( - { before(grammarAccess.getGenerationTaskAccess().getGroup_3_10()); } - (rule__GenerationTask__Group_3_10__0) - { after(grammarAccess.getGenerationTaskAccess().getGroup_3_10()); } - ) - ) - )| - ( - {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11)}?=>( - { - getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11); - } - { - selected = true; - } - ( - { before(grammarAccess.getGenerationTaskAccess().getGroup_3_11()); } - (rule__GenerationTask__Group_3_11__0) - { after(grammarAccess.getGenerationTaskAccess().getGroup_3_11()); } - ) - ) - ) - ) -; -finally { - if (selected) - getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); - restoreStackSize(stackSize); -} - -rule__GenerationTask__UnorderedGroup_3__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__GenerationTask__UnorderedGroup_3__Impl - rule__GenerationTask__UnorderedGroup_3__1? -; -finally { - restoreStackSize(stackSize); -} - -rule__GenerationTask__UnorderedGroup_3__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__GenerationTask__UnorderedGroup_3__Impl - rule__GenerationTask__UnorderedGroup_3__2? -; -finally { - restoreStackSize(stackSize); -} - -rule__GenerationTask__UnorderedGroup_3__2 - @init { - int stackSize = keepStackSize(); - } -: - rule__GenerationTask__UnorderedGroup_3__Impl - rule__GenerationTask__UnorderedGroup_3__3? -; -finally { - restoreStackSize(stackSize); -} - -rule__GenerationTask__UnorderedGroup_3__3 - @init { - int stackSize = keepStackSize(); - } -: - rule__GenerationTask__UnorderedGroup_3__Impl - rule__GenerationTask__UnorderedGroup_3__4? -; -finally { - restoreStackSize(stackSize); -} - -rule__GenerationTask__UnorderedGroup_3__4 - @init { - int stackSize = keepStackSize(); - } -: - rule__GenerationTask__UnorderedGroup_3__Impl - rule__GenerationTask__UnorderedGroup_3__5? -; -finally { - restoreStackSize(stackSize); -} - -rule__GenerationTask__UnorderedGroup_3__5 - @init { - int stackSize = keepStackSize(); - } -: - rule__GenerationTask__UnorderedGroup_3__Impl - rule__GenerationTask__UnorderedGroup_3__6? -; -finally { - restoreStackSize(stackSize); -} - -rule__GenerationTask__UnorderedGroup_3__6 - @init { - int stackSize = keepStackSize(); - } -: - rule__GenerationTask__UnorderedGroup_3__Impl - rule__GenerationTask__UnorderedGroup_3__7? -; -finally { - restoreStackSize(stackSize); -} - -rule__GenerationTask__UnorderedGroup_3__7 - @init { - int stackSize = keepStackSize(); - } -: - rule__GenerationTask__UnorderedGroup_3__Impl - rule__GenerationTask__UnorderedGroup_3__8? -; -finally { - restoreStackSize(stackSize); -} - -rule__GenerationTask__UnorderedGroup_3__8 - @init { - int stackSize = keepStackSize(); - } -: - rule__GenerationTask__UnorderedGroup_3__Impl - rule__GenerationTask__UnorderedGroup_3__9? -; -finally { - restoreStackSize(stackSize); -} - -rule__GenerationTask__UnorderedGroup_3__9 - @init { - int stackSize = keepStackSize(); - } -: - rule__GenerationTask__UnorderedGroup_3__Impl - rule__GenerationTask__UnorderedGroup_3__10? -; -finally { - restoreStackSize(stackSize); -} - -rule__GenerationTask__UnorderedGroup_3__10 - @init { - int stackSize = keepStackSize(); - } -: - rule__GenerationTask__UnorderedGroup_3__Impl - rule__GenerationTask__UnorderedGroup_3__11? -; -finally { - restoreStackSize(stackSize); -} - -rule__GenerationTask__UnorderedGroup_3__11 - @init { - int stackSize = keepStackSize(); - } -: - rule__GenerationTask__UnorderedGroup_3__Impl -; -finally { - restoreStackSize(stackSize); -} - - -rule__ConfigurationScript__ImportsAssignment_0 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getConfigurationScriptAccess().getImportsImportParserRuleCall_0_0()); } - ruleImport - { after(grammarAccess.getConfigurationScriptAccess().getImportsImportParserRuleCall_0_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__ConfigurationScript__CommandsAssignment_1 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getConfigurationScriptAccess().getCommandsCommandParserRuleCall_1_0()); } - ruleCommand - { after(grammarAccess.getConfigurationScriptAccess().getCommandsCommandParserRuleCall_1_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__EPackageImport__ImportedPackageAssignment_2 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getEPackageImportAccess().getImportedPackageEPackageCrossReference_2_0()); } - ( - { before(grammarAccess.getEPackageImportAccess().getImportedPackageEPackageSTRINGTerminalRuleCall_2_0_1()); } - RULE_STRING - { after(grammarAccess.getEPackageImportAccess().getImportedPackageEPackageSTRINGTerminalRuleCall_2_0_1()); } - ) - { after(grammarAccess.getEPackageImportAccess().getImportedPackageEPackageCrossReference_2_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__ViatraImport__ImportedViatraAssignment_2 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getViatraImportAccess().getImportedViatraPatternModelCrossReference_2_0()); } - ( - { before(grammarAccess.getViatraImportAccess().getImportedViatraPatternModelSTRINGTerminalRuleCall_2_0_1()); } - RULE_STRING - { after(grammarAccess.getViatraImportAccess().getImportedViatraPatternModelSTRINGTerminalRuleCall_2_0_1()); } - ) - { after(grammarAccess.getViatraImportAccess().getImportedViatraPatternModelCrossReference_2_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__FileSpecification__PathAssignment - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getFileSpecificationAccess().getPathSTRINGTerminalRuleCall_0()); } - RULE_STRING - { after(grammarAccess.getFileSpecificationAccess().getPathSTRINGTerminalRuleCall_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__FileDeclaration__NameAssignment_1 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getFileDeclarationAccess().getNameIDTerminalRuleCall_1_0()); } - RULE_ID - { after(grammarAccess.getFileDeclarationAccess().getNameIDTerminalRuleCall_1_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__FileDeclaration__SpecificationAssignment_3 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getFileDeclarationAccess().getSpecificationFileSpecificationParserRuleCall_3_0()); } - ruleFileSpecification - { after(grammarAccess.getFileDeclarationAccess().getSpecificationFileSpecificationParserRuleCall_3_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__FileReference__ReferredAssignment - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getFileReferenceAccess().getReferredFileDeclarationCrossReference_0()); } - ( - { before(grammarAccess.getFileReferenceAccess().getReferredFileDeclarationIDTerminalRuleCall_0_1()); } - RULE_ID - { after(grammarAccess.getFileReferenceAccess().getReferredFileDeclarationIDTerminalRuleCall_0_1()); } - ) - { after(grammarAccess.getFileReferenceAccess().getReferredFileDeclarationCrossReference_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__MetamodelSpecification__EntriesAssignment_1 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getMetamodelSpecificationAccess().getEntriesMetamodelEntryParserRuleCall_1_0()); } - ruleMetamodelEntry - { after(grammarAccess.getMetamodelSpecificationAccess().getEntriesMetamodelEntryParserRuleCall_1_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__MetamodelSpecification__EntriesAssignment_2_1 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getMetamodelSpecificationAccess().getEntriesMetamodelEntryParserRuleCall_2_1_0()); } - ruleMetamodelEntry - { after(grammarAccess.getMetamodelSpecificationAccess().getEntriesMetamodelEntryParserRuleCall_2_1_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__AllPackageEntry__PackageAssignment_1 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getAllPackageEntryAccess().getPackageEPackageCrossReference_1_0()); } - ( - { before(grammarAccess.getAllPackageEntryAccess().getPackageEPackageQualifiedNameParserRuleCall_1_0_1()); } - ruleQualifiedName - { after(grammarAccess.getAllPackageEntryAccess().getPackageEPackageQualifiedNameParserRuleCall_1_0_1()); } - ) - { after(grammarAccess.getAllPackageEntryAccess().getPackageEPackageCrossReference_1_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__AllPackageEntry__ExclusionAssignment_2_2 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getAllPackageEntryAccess().getExclusionMetamodelElementParserRuleCall_2_2_0()); } - ruleMetamodelElement - { after(grammarAccess.getAllPackageEntryAccess().getExclusionMetamodelElementParserRuleCall_2_2_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__AllPackageEntry__ExclusionAssignment_2_3_1 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getAllPackageEntryAccess().getExclusionMetamodelElementParserRuleCall_2_3_1_0()); } - ruleMetamodelElement - { after(grammarAccess.getAllPackageEntryAccess().getExclusionMetamodelElementParserRuleCall_2_3_1_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__MetamodelElement__PackageAssignment_0_0 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getMetamodelElementAccess().getPackageEPackageCrossReference_0_0_0()); } - ( - { before(grammarAccess.getMetamodelElementAccess().getPackageEPackageQualifiedNameParserRuleCall_0_0_0_1()); } - ruleQualifiedName - { after(grammarAccess.getMetamodelElementAccess().getPackageEPackageQualifiedNameParserRuleCall_0_0_0_1()); } - ) - { after(grammarAccess.getMetamodelElementAccess().getPackageEPackageCrossReference_0_0_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__MetamodelElement__ClassifierAssignment_1 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getMetamodelElementAccess().getClassifierEClassifierCrossReference_1_0()); } - ( - { before(grammarAccess.getMetamodelElementAccess().getClassifierEClassifierIDTerminalRuleCall_1_0_1()); } - RULE_ID - { after(grammarAccess.getMetamodelElementAccess().getClassifierEClassifierIDTerminalRuleCall_1_0_1()); } - ) - { after(grammarAccess.getMetamodelElementAccess().getClassifierEClassifierCrossReference_1_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__MetamodelElement__FeatureAssignment_2_1 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getMetamodelElementAccess().getFeatureENamedElementCrossReference_2_1_0()); } - ( - { before(grammarAccess.getMetamodelElementAccess().getFeatureENamedElementIDTerminalRuleCall_2_1_0_1()); } - RULE_ID - { after(grammarAccess.getMetamodelElementAccess().getFeatureENamedElementIDTerminalRuleCall_2_1_0_1()); } - ) - { after(grammarAccess.getMetamodelElementAccess().getFeatureENamedElementCrossReference_2_1_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__MetamodelDeclaration__NameAssignment_1 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getMetamodelDeclarationAccess().getNameIDTerminalRuleCall_1_0()); } - RULE_ID - { after(grammarAccess.getMetamodelDeclarationAccess().getNameIDTerminalRuleCall_1_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__MetamodelDeclaration__SpecificationAssignment_2 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getMetamodelDeclarationAccess().getSpecificationMetamodelSpecificationParserRuleCall_2_0()); } - ruleMetamodelSpecification - { after(grammarAccess.getMetamodelDeclarationAccess().getSpecificationMetamodelSpecificationParserRuleCall_2_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__MetamodelReference__ReferredAssignment - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getMetamodelReferenceAccess().getReferredMetamodelDeclarationCrossReference_0()); } - ( - { before(grammarAccess.getMetamodelReferenceAccess().getReferredMetamodelDeclarationIDTerminalRuleCall_0_1()); } - RULE_ID - { after(grammarAccess.getMetamodelReferenceAccess().getReferredMetamodelDeclarationIDTerminalRuleCall_0_1()); } - ) - { after(grammarAccess.getMetamodelReferenceAccess().getReferredMetamodelDeclarationCrossReference_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__PartialModelSpecification__EntryAssignment_1 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getPartialModelSpecificationAccess().getEntryPartialModelEntryParserRuleCall_1_0()); } - rulePartialModelEntry - { after(grammarAccess.getPartialModelSpecificationAccess().getEntryPartialModelEntryParserRuleCall_1_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__PartialModelSpecification__EntryAssignment_2_1 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getPartialModelSpecificationAccess().getEntryPartialModelEntryParserRuleCall_2_1_0()); } - rulePartialModelEntry - { after(grammarAccess.getPartialModelSpecificationAccess().getEntryPartialModelEntryParserRuleCall_2_1_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__ModelEntry__PathAssignment - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getModelEntryAccess().getPathFileParserRuleCall_0()); } - ruleFile - { after(grammarAccess.getModelEntryAccess().getPathFileParserRuleCall_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__FolderEntry__PathAssignment_1 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getFolderEntryAccess().getPathFileParserRuleCall_1_0()); } - ruleFile - { after(grammarAccess.getFolderEntryAccess().getPathFileParserRuleCall_1_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__FolderEntry__ExclusionAssignment_2_2 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getFolderEntryAccess().getExclusionModelEntryParserRuleCall_2_2_0()); } - ruleModelEntry - { after(grammarAccess.getFolderEntryAccess().getExclusionModelEntryParserRuleCall_2_2_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__FolderEntry__ExclusionAssignment_2_3_1 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getFolderEntryAccess().getExclusionModelEntryParserRuleCall_2_3_1_0()); } - ruleModelEntry - { after(grammarAccess.getFolderEntryAccess().getExclusionModelEntryParserRuleCall_2_3_1_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__PartialModelDeclaration__NameAssignment_1 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getPartialModelDeclarationAccess().getNameIDTerminalRuleCall_1_0()); } - RULE_ID - { after(grammarAccess.getPartialModelDeclarationAccess().getNameIDTerminalRuleCall_1_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__PartialModelDeclaration__SpecificationAssignment_2 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getPartialModelDeclarationAccess().getSpecificationPartialModelSpecificationParserRuleCall_2_0()); } - rulePartialModelSpecification - { after(grammarAccess.getPartialModelDeclarationAccess().getSpecificationPartialModelSpecificationParserRuleCall_2_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__PartialModelReference__ReferredAssignment - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getPartialModelReferenceAccess().getReferredPartialModelDeclarationCrossReference_0()); } - ( - { before(grammarAccess.getPartialModelReferenceAccess().getReferredPartialModelDeclarationIDTerminalRuleCall_0_1()); } - RULE_ID - { after(grammarAccess.getPartialModelReferenceAccess().getReferredPartialModelDeclarationIDTerminalRuleCall_0_1()); } - ) - { after(grammarAccess.getPartialModelReferenceAccess().getReferredPartialModelDeclarationCrossReference_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__PatternSpecification__EntriesAssignment_1 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getPatternSpecificationAccess().getEntriesPatternEntryParserRuleCall_1_0()); } - rulePatternEntry - { after(grammarAccess.getPatternSpecificationAccess().getEntriesPatternEntryParserRuleCall_1_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__PatternSpecification__EntriesAssignment_2_1 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getPatternSpecificationAccess().getEntriesPatternEntryParserRuleCall_2_1_0()); } - rulePatternEntry - { after(grammarAccess.getPatternSpecificationAccess().getEntriesPatternEntryParserRuleCall_2_1_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__AllPatternEntry__PackageAssignment_1 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getAllPatternEntryAccess().getPackagePatternModelCrossReference_1_0()); } - ( - { before(grammarAccess.getAllPatternEntryAccess().getPackagePatternModelQualifiedNameParserRuleCall_1_0_1()); } - ruleQualifiedName - { after(grammarAccess.getAllPatternEntryAccess().getPackagePatternModelQualifiedNameParserRuleCall_1_0_1()); } - ) - { after(grammarAccess.getAllPatternEntryAccess().getPackagePatternModelCrossReference_1_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__AllPatternEntry__ExclusuionAssignment_2_2 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getAllPatternEntryAccess().getExclusuionPatternElementParserRuleCall_2_2_0()); } - rulePatternElement - { after(grammarAccess.getAllPatternEntryAccess().getExclusuionPatternElementParserRuleCall_2_2_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__AllPatternEntry__ExclusuionAssignment_2_3_1 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getAllPatternEntryAccess().getExclusuionPatternElementParserRuleCall_2_3_1_0()); } - rulePatternElement - { after(grammarAccess.getAllPatternEntryAccess().getExclusuionPatternElementParserRuleCall_2_3_1_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__PatternElement__PackageAssignment_0_0 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getPatternElementAccess().getPackagePatternModelCrossReference_0_0_0()); } - ( - { before(grammarAccess.getPatternElementAccess().getPackagePatternModelQualifiedNameParserRuleCall_0_0_0_1()); } - ruleQualifiedName - { after(grammarAccess.getPatternElementAccess().getPackagePatternModelQualifiedNameParserRuleCall_0_0_0_1()); } - ) - { after(grammarAccess.getPatternElementAccess().getPackagePatternModelCrossReference_0_0_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__PatternElement__PatternAssignment_1 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getPatternElementAccess().getPatternPatternCrossReference_1_0()); } - ( - { before(grammarAccess.getPatternElementAccess().getPatternPatternIDTerminalRuleCall_1_0_1()); } - RULE_ID - { after(grammarAccess.getPatternElementAccess().getPatternPatternIDTerminalRuleCall_1_0_1()); } - ) - { after(grammarAccess.getPatternElementAccess().getPatternPatternCrossReference_1_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__GraphPatternDeclaration__NameAssignment_1 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getGraphPatternDeclarationAccess().getNameIDTerminalRuleCall_1_0()); } - RULE_ID - { after(grammarAccess.getGraphPatternDeclarationAccess().getNameIDTerminalRuleCall_1_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__GraphPatternDeclaration__SpecificationAssignment_2 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getGraphPatternDeclarationAccess().getSpecificationPatternSpecificationParserRuleCall_2_0()); } - rulePatternSpecification - { after(grammarAccess.getGraphPatternDeclarationAccess().getSpecificationPatternSpecificationParserRuleCall_2_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__GraphPatternReference__ReferredAssignment - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getGraphPatternReferenceAccess().getReferredGraphPatternDeclarationCrossReference_0()); } - ( - { before(grammarAccess.getGraphPatternReferenceAccess().getReferredGraphPatternDeclarationIDTerminalRuleCall_0_1()); } - RULE_ID - { after(grammarAccess.getGraphPatternReferenceAccess().getReferredGraphPatternDeclarationIDTerminalRuleCall_0_1()); } - ) - { after(grammarAccess.getGraphPatternReferenceAccess().getReferredGraphPatternDeclarationCrossReference_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__ConfigSpecification__EntriesAssignment_2_0 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getConfigSpecificationAccess().getEntriesConfigEntryParserRuleCall_2_0_0()); } - ruleConfigEntry - { after(grammarAccess.getConfigSpecificationAccess().getEntriesConfigEntryParserRuleCall_2_0_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__ConfigSpecification__EntriesAssignment_2_1_1 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getConfigSpecificationAccess().getEntriesConfigEntryParserRuleCall_2_1_1_0()); } - ruleConfigEntry - { after(grammarAccess.getConfigSpecificationAccess().getEntriesConfigEntryParserRuleCall_2_1_1_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__ConfigDeclaration__NameAssignment_1 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getConfigDeclarationAccess().getNameIDTerminalRuleCall_1_0()); } - RULE_ID - { after(grammarAccess.getConfigDeclarationAccess().getNameIDTerminalRuleCall_1_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__ConfigDeclaration__SpecificationAssignment_2 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getConfigDeclarationAccess().getSpecificationConfigSpecificationParserRuleCall_2_0()); } - ruleConfigSpecification - { after(grammarAccess.getConfigDeclarationAccess().getSpecificationConfigSpecificationParserRuleCall_2_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__DocumentationEntry__LevelAssignment_2 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getDocumentationEntryAccess().getLevelDocumentLevelSpecificationEnumRuleCall_2_0()); } - ruleDocumentLevelSpecification - { after(grammarAccess.getDocumentationEntryAccess().getLevelDocumentLevelSpecificationEnumRuleCall_2_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__RuntimeEntry__MillisecLimitAssignment_2 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getRuntimeEntryAccess().getMillisecLimitINTTerminalRuleCall_2_0()); } - RULE_INT - { after(grammarAccess.getRuntimeEntryAccess().getMillisecLimitINTTerminalRuleCall_2_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__MemoryEntry__MegabyteLimitAssignment_2 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getMemoryEntryAccess().getMegabyteLimitINTTerminalRuleCall_2_0()); } - RULE_INT - { after(grammarAccess.getMemoryEntryAccess().getMegabyteLimitINTTerminalRuleCall_2_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__CustomEntry__KeyAssignment_0 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getCustomEntryAccess().getKeySTRINGTerminalRuleCall_0_0()); } - RULE_STRING - { after(grammarAccess.getCustomEntryAccess().getKeySTRINGTerminalRuleCall_0_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__CustomEntry__ValueAssignment_2 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getCustomEntryAccess().getValueSTRINGTerminalRuleCall_2_0()); } - RULE_STRING - { after(grammarAccess.getCustomEntryAccess().getValueSTRINGTerminalRuleCall_2_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__ConfigReference__ConfigAssignment - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getConfigReferenceAccess().getConfigConfigDeclarationCrossReference_0()); } - ( - { before(grammarAccess.getConfigReferenceAccess().getConfigConfigDeclarationIDTerminalRuleCall_0_1()); } - RULE_ID - { after(grammarAccess.getConfigReferenceAccess().getConfigConfigDeclarationIDTerminalRuleCall_0_1()); } - ) - { after(grammarAccess.getConfigReferenceAccess().getConfigConfigDeclarationCrossReference_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__ScopeSpecification__ScopesAssignment_2_0 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getScopeSpecificationAccess().getScopesTypeScopeParserRuleCall_2_0_0()); } - ruleTypeScope - { after(grammarAccess.getScopeSpecificationAccess().getScopesTypeScopeParserRuleCall_2_0_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__ScopeSpecification__ScopesAssignment_2_1_1 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getScopeSpecificationAccess().getScopesTypeScopeParserRuleCall_2_1_1_0()); } - ruleTypeScope - { after(grammarAccess.getScopeSpecificationAccess().getScopesTypeScopeParserRuleCall_2_1_1_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__ClassTypeScope__TypeAssignment_1 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getClassTypeScopeAccess().getTypeClassReferenceParserRuleCall_1_0()); } - ruleClassReference - { after(grammarAccess.getClassTypeScopeAccess().getTypeClassReferenceParserRuleCall_1_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__ClassTypeScope__SetsNewAssignment_2_0 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getClassTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); } - ( - { before(grammarAccess.getClassTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); } - '+=' - { after(grammarAccess.getClassTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); } - ) - { after(grammarAccess.getClassTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__ClassTypeScope__SetsSumAssignment_2_1 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getClassTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); } - ( - { before(grammarAccess.getClassTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); } - '=' - { after(grammarAccess.getClassTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); } - ) - { after(grammarAccess.getClassTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__ClassTypeScope__NumberAssignment_3_0 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getClassTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0()); } - ruleExactNumber - { after(grammarAccess.getClassTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__ClassTypeScope__NumberAssignment_3_1 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getClassTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0()); } - ruleIntervallNumber - { after(grammarAccess.getClassTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__ObjectTypeScope__TypeAssignment_1 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getObjectTypeScopeAccess().getTypeObjectReferenceParserRuleCall_1_0()); } - ruleObjectReference - { after(grammarAccess.getObjectTypeScopeAccess().getTypeObjectReferenceParserRuleCall_1_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__ObjectTypeScope__SetsNewAssignment_2_0 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getObjectTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); } - ( - { before(grammarAccess.getObjectTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); } - '+=' - { after(grammarAccess.getObjectTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); } - ) - { after(grammarAccess.getObjectTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__ObjectTypeScope__SetsSumAssignment_2_1 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getObjectTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); } - ( - { before(grammarAccess.getObjectTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); } - '=' - { after(grammarAccess.getObjectTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); } - ) - { after(grammarAccess.getObjectTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__ObjectTypeScope__NumberAssignment_3_0 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getObjectTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0()); } - ruleExactNumber - { after(grammarAccess.getObjectTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__ObjectTypeScope__NumberAssignment_3_1 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getObjectTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0()); } - ruleIntervallNumber - { after(grammarAccess.getObjectTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__IntegerTypeScope__TypeAssignment_1 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getIntegerTypeScopeAccess().getTypeIntegerReferenceParserRuleCall_1_0()); } - ruleIntegerReference - { after(grammarAccess.getIntegerTypeScopeAccess().getTypeIntegerReferenceParserRuleCall_1_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__IntegerTypeScope__SetsNewAssignment_2_0 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getIntegerTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); } - ( - { before(grammarAccess.getIntegerTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); } - '+=' - { after(grammarAccess.getIntegerTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); } - ) - { after(grammarAccess.getIntegerTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__IntegerTypeScope__SetsSumAssignment_2_1 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getIntegerTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); } - ( - { before(grammarAccess.getIntegerTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); } - '=' - { after(grammarAccess.getIntegerTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); } - ) - { after(grammarAccess.getIntegerTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__IntegerTypeScope__NumberAssignment_3_0 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getIntegerTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0()); } - ruleExactNumber - { after(grammarAccess.getIntegerTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__IntegerTypeScope__NumberAssignment_3_1 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getIntegerTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0()); } - ruleIntervallNumber - { after(grammarAccess.getIntegerTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__IntegerTypeScope__NumberAssignment_3_2 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getIntegerTypeScopeAccess().getNumberIntEnumberationParserRuleCall_3_2_0()); } - ruleIntEnumberation - { after(grammarAccess.getIntegerTypeScopeAccess().getNumberIntEnumberationParserRuleCall_3_2_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__RealTypeScope__TypeAssignment_1 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getRealTypeScopeAccess().getTypeRealReferenceParserRuleCall_1_0()); } - ruleRealReference - { after(grammarAccess.getRealTypeScopeAccess().getTypeRealReferenceParserRuleCall_1_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__RealTypeScope__SetsNewAssignment_2_0 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getRealTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); } - ( - { before(grammarAccess.getRealTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); } - '+=' - { after(grammarAccess.getRealTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); } - ) - { after(grammarAccess.getRealTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__RealTypeScope__SetsSumAssignment_2_1 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getRealTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); } - ( - { before(grammarAccess.getRealTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); } - '=' - { after(grammarAccess.getRealTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); } - ) - { after(grammarAccess.getRealTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__RealTypeScope__NumberAssignment_3_0 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getRealTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0()); } - ruleExactNumber - { after(grammarAccess.getRealTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__RealTypeScope__NumberAssignment_3_1 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getRealTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0()); } - ruleIntervallNumber - { after(grammarAccess.getRealTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__RealTypeScope__NumberAssignment_3_2 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getRealTypeScopeAccess().getNumberRealEnumerationParserRuleCall_3_2_0()); } - ruleRealEnumeration - { after(grammarAccess.getRealTypeScopeAccess().getNumberRealEnumerationParserRuleCall_3_2_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__StringTypeScope__TypeAssignment_1 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getStringTypeScopeAccess().getTypeStringReferenceParserRuleCall_1_0()); } - ruleStringReference - { after(grammarAccess.getStringTypeScopeAccess().getTypeStringReferenceParserRuleCall_1_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__StringTypeScope__SetsNewAssignment_2_0 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getStringTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); } - ( - { before(grammarAccess.getStringTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); } - '+=' - { after(grammarAccess.getStringTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); } - ) - { after(grammarAccess.getStringTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__StringTypeScope__SetsSumAssignment_2_1 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getStringTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); } - ( - { before(grammarAccess.getStringTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); } - '=' - { after(grammarAccess.getStringTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); } - ) - { after(grammarAccess.getStringTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__StringTypeScope__NumberAssignment_3_0 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getStringTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0()); } - ruleExactNumber - { after(grammarAccess.getStringTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__StringTypeScope__NumberAssignment_3_1 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getStringTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0()); } - ruleIntervallNumber - { after(grammarAccess.getStringTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__StringTypeScope__NumberAssignment_3_2 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getStringTypeScopeAccess().getNumberStringEnumerationParserRuleCall_3_2_0()); } - ruleStringEnumeration - { after(grammarAccess.getStringTypeScopeAccess().getNumberStringEnumerationParserRuleCall_3_2_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__ClassReference__ElementAssignment_1 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getClassReferenceAccess().getElementMetamodelElementParserRuleCall_1_0()); } - ruleMetamodelElement - { after(grammarAccess.getClassReferenceAccess().getElementMetamodelElementParserRuleCall_1_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__ExactNumber__ExactNumberAssignment_0 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getExactNumberAccess().getExactNumberINTTerminalRuleCall_0_0()); } - RULE_INT - { after(grammarAccess.getExactNumberAccess().getExactNumberINTTerminalRuleCall_0_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__ExactNumber__ExactUnlimitedAssignment_1 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getExactNumberAccess().getExactUnlimitedAsteriskKeyword_1_0()); } - ( - { before(grammarAccess.getExactNumberAccess().getExactUnlimitedAsteriskKeyword_1_0()); } - '*' - { after(grammarAccess.getExactNumberAccess().getExactUnlimitedAsteriskKeyword_1_0()); } - ) - { after(grammarAccess.getExactNumberAccess().getExactUnlimitedAsteriskKeyword_1_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__IntervallNumber__MinAssignment_0 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getIntervallNumberAccess().getMinINTTerminalRuleCall_0_0()); } - RULE_INT - { after(grammarAccess.getIntervallNumberAccess().getMinINTTerminalRuleCall_0_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__IntervallNumber__MaxNumberAssignment_2_0 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getIntervallNumberAccess().getMaxNumberINTTerminalRuleCall_2_0_0()); } - RULE_INT - { after(grammarAccess.getIntervallNumberAccess().getMaxNumberINTTerminalRuleCall_2_0_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__IntervallNumber__MaxUnlimitedAssignment_2_1 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getIntervallNumberAccess().getMaxUnlimitedAsteriskKeyword_2_1_0()); } - ( - { before(grammarAccess.getIntervallNumberAccess().getMaxUnlimitedAsteriskKeyword_2_1_0()); } - '*' - { after(grammarAccess.getIntervallNumberAccess().getMaxUnlimitedAsteriskKeyword_2_1_0()); } - ) - { after(grammarAccess.getIntervallNumberAccess().getMaxUnlimitedAsteriskKeyword_2_1_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__IntEnumberation__EntryAssignment_2_0 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getIntEnumberationAccess().getEntryINTLiteralParserRuleCall_2_0_0()); } - ruleINTLiteral - { after(grammarAccess.getIntEnumberationAccess().getEntryINTLiteralParserRuleCall_2_0_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__IntEnumberation__EntryAssignment_2_1_1 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getIntEnumberationAccess().getEntryINTLiteralParserRuleCall_2_1_1_0()); } - ruleINTLiteral - { after(grammarAccess.getIntEnumberationAccess().getEntryINTLiteralParserRuleCall_2_1_1_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__RealEnumeration__EntryAssignment_2_0 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getRealEnumerationAccess().getEntryREALLiteralParserRuleCall_2_0_0()); } - ruleREALLiteral - { after(grammarAccess.getRealEnumerationAccess().getEntryREALLiteralParserRuleCall_2_0_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__RealEnumeration__EntryAssignment_2_1_1 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getRealEnumerationAccess().getEntryREALLiteralParserRuleCall_2_1_1_0()); } - ruleREALLiteral - { after(grammarAccess.getRealEnumerationAccess().getEntryREALLiteralParserRuleCall_2_1_1_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__StringEnumeration__EntryAssignment_2_0 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getStringEnumerationAccess().getEntrySTRINGTerminalRuleCall_2_0_0()); } - RULE_STRING - { after(grammarAccess.getStringEnumerationAccess().getEntrySTRINGTerminalRuleCall_2_0_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__StringEnumeration__EntryAssignment_2_1_1 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getStringEnumerationAccess().getEntrySTRINGTerminalRuleCall_2_1_1_0()); } - RULE_STRING - { after(grammarAccess.getStringEnumerationAccess().getEntrySTRINGTerminalRuleCall_2_1_1_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__ScopeDeclaration__NameAssignment_1 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getScopeDeclarationAccess().getNameIDTerminalRuleCall_1_0()); } - RULE_ID - { after(grammarAccess.getScopeDeclarationAccess().getNameIDTerminalRuleCall_1_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__ScopeDeclaration__SpecificationAssignment_2 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getScopeDeclarationAccess().getSpecificationScopeSpecificationParserRuleCall_2_0()); } - ruleScopeSpecification - { after(grammarAccess.getScopeDeclarationAccess().getSpecificationScopeSpecificationParserRuleCall_2_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__ScopeReference__ReferredAssignment - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getScopeReferenceAccess().getReferredScopeDeclarationCrossReference_0()); } - ( - { before(grammarAccess.getScopeReferenceAccess().getReferredScopeDeclarationIDTerminalRuleCall_0_1()); } - RULE_ID - { after(grammarAccess.getScopeReferenceAccess().getReferredScopeDeclarationIDTerminalRuleCall_0_1()); } - ) - { after(grammarAccess.getScopeReferenceAccess().getReferredScopeDeclarationCrossReference_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__GenerationTask__MetamodelAssignment_3_0_2 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getGenerationTaskAccess().getMetamodelMetamodelParserRuleCall_3_0_2_0()); } - ruleMetamodel - { after(grammarAccess.getGenerationTaskAccess().getMetamodelMetamodelParserRuleCall_3_0_2_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__GenerationTask__PartialModelAssignment_3_1_2 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getGenerationTaskAccess().getPartialModelPartialModelParserRuleCall_3_1_2_0()); } - rulePartialModel - { after(grammarAccess.getGenerationTaskAccess().getPartialModelPartialModelParserRuleCall_3_1_2_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__GenerationTask__PatternsAssignment_3_2_2 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getGenerationTaskAccess().getPatternsGraphPatternParserRuleCall_3_2_2_0()); } - ruleGraphPattern - { after(grammarAccess.getGenerationTaskAccess().getPatternsGraphPatternParserRuleCall_3_2_2_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__GenerationTask__ScopeAssignment_3_3_2 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getGenerationTaskAccess().getScopeScopeParserRuleCall_3_3_2_0()); } - ruleScope - { after(grammarAccess.getGenerationTaskAccess().getScopeScopeParserRuleCall_3_3_2_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__GenerationTask__NumberSpecifiedAssignment_3_4_0 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getGenerationTaskAccess().getNumberSpecifiedNumberKeyword_3_4_0_0()); } - ( - { before(grammarAccess.getGenerationTaskAccess().getNumberSpecifiedNumberKeyword_3_4_0_0()); } - 'number' - { after(grammarAccess.getGenerationTaskAccess().getNumberSpecifiedNumberKeyword_3_4_0_0()); } - ) - { after(grammarAccess.getGenerationTaskAccess().getNumberSpecifiedNumberKeyword_3_4_0_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__GenerationTask__NumberAssignment_3_4_2 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getGenerationTaskAccess().getNumberINTTerminalRuleCall_3_4_2_0()); } - RULE_INT - { after(grammarAccess.getGenerationTaskAccess().getNumberINTTerminalRuleCall_3_4_2_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__GenerationTask__RunSpecifiedAssignment_3_5_0 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getGenerationTaskAccess().getRunSpecifiedRunsKeyword_3_5_0_0()); } - ( - { before(grammarAccess.getGenerationTaskAccess().getRunSpecifiedRunsKeyword_3_5_0_0()); } - 'runs' - { after(grammarAccess.getGenerationTaskAccess().getRunSpecifiedRunsKeyword_3_5_0_0()); } - ) - { after(grammarAccess.getGenerationTaskAccess().getRunSpecifiedRunsKeyword_3_5_0_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__GenerationTask__RunsAssignment_3_5_2 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getGenerationTaskAccess().getRunsINTTerminalRuleCall_3_5_2_0()); } - RULE_INT - { after(grammarAccess.getGenerationTaskAccess().getRunsINTTerminalRuleCall_3_5_2_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__GenerationTask__SolverAssignment_3_6_2 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getGenerationTaskAccess().getSolverSolverEnumRuleCall_3_6_2_0()); } - ruleSolver - { after(grammarAccess.getGenerationTaskAccess().getSolverSolverEnumRuleCall_3_6_2_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__GenerationTask__ConfigAssignment_3_7_2 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getGenerationTaskAccess().getConfigConfigParserRuleCall_3_7_2_0()); } - ruleConfig - { after(grammarAccess.getGenerationTaskAccess().getConfigConfigParserRuleCall_3_7_2_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__GenerationTask__DebugFolderAssignment_3_8_2 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getGenerationTaskAccess().getDebugFolderFileParserRuleCall_3_8_2_0()); } - ruleFile - { after(grammarAccess.getGenerationTaskAccess().getDebugFolderFileParserRuleCall_3_8_2_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__GenerationTask__TargetLogFileAssignment_3_9_2 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getGenerationTaskAccess().getTargetLogFileFileParserRuleCall_3_9_2_0()); } - ruleFile - { after(grammarAccess.getGenerationTaskAccess().getTargetLogFileFileParserRuleCall_3_9_2_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__GenerationTask__TargetStatisticsFileAssignment_3_10_2 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getGenerationTaskAccess().getTargetStatisticsFileFileParserRuleCall_3_10_2_0()); } - ruleFile - { after(grammarAccess.getGenerationTaskAccess().getTargetStatisticsFileFileParserRuleCall_3_10_2_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__GenerationTask__TagetFolderAssignment_3_11_2 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getGenerationTaskAccess().getTagetFolderFileParserRuleCall_3_11_2_0()); } - ruleFile - { after(grammarAccess.getGenerationTaskAccess().getTagetFolderFileParserRuleCall_3_11_2_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -RULE_ID : '^'? ('a'..'z'|'A'..'Z'|'_') ('a'..'z'|'A'..'Z'|'_'|'0'..'9')*; - -RULE_INT : ('0'..'9')+; - -RULE_STRING : ('"' ('\\' .|~(('\\'|'"')))* '"'|'\'' ('\\' .|~(('\\'|'\'')))* '\''); - -RULE_ML_COMMENT : '/*' ( options {greedy=false;} : . )*'*/'; - -RULE_SL_COMMENT : '//' ~(('\n'|'\r'))* ('\r'? '\n')?; - -RULE_WS : (' '|'\t'|'\r'|'\n')+; - -RULE_ANY_OTHER : .; +/* + * generated by Xtext 2.16.0 + */ +grammar InternalApplicationConfiguration; + +options { + superClass=AbstractInternalContentAssistParser; +} + +@lexer::header { +package hu.bme.mit.inf.dslreasoner.application.ide.contentassist.antlr.internal; + +// Hack: Use our own Lexer superclass by means of import. +// Currently there is no other way to specify the superclass for the lexer. +import org.eclipse.xtext.ide.editor.contentassist.antlr.internal.Lexer; +} + +@parser::header { +package hu.bme.mit.inf.dslreasoner.application.ide.contentassist.antlr.internal; + +import java.io.InputStream; +import org.eclipse.xtext.*; +import org.eclipse.xtext.parser.*; +import org.eclipse.xtext.parser.impl.*; +import org.eclipse.emf.ecore.util.EcoreUtil; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.xtext.parser.antlr.XtextTokenStream; +import org.eclipse.xtext.parser.antlr.XtextTokenStream.HiddenTokens; +import org.eclipse.xtext.ide.editor.contentassist.antlr.internal.AbstractInternalContentAssistParser; +import org.eclipse.xtext.ide.editor.contentassist.antlr.internal.DFA; +import hu.bme.mit.inf.dslreasoner.application.services.ApplicationConfigurationGrammarAccess; + +} +@parser::members { + private ApplicationConfigurationGrammarAccess grammarAccess; + + public void setGrammarAccess(ApplicationConfigurationGrammarAccess grammarAccess) { + this.grammarAccess = grammarAccess; + } + + @Override + protected Grammar getGrammar() { + return grammarAccess.getGrammar(); + } + + @Override + protected String getValueForTokenName(String tokenName) { + return tokenName; + } +} + +// Entry rule entryRuleConfigurationScript +entryRuleConfigurationScript +: +{ before(grammarAccess.getConfigurationScriptRule()); } + ruleConfigurationScript +{ after(grammarAccess.getConfigurationScriptRule()); } + EOF +; + +// Rule ConfigurationScript +ruleConfigurationScript + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getConfigurationScriptAccess().getGroup()); } + (rule__ConfigurationScript__Group__0) + { after(grammarAccess.getConfigurationScriptAccess().getGroup()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Entry rule entryRuleCommand +entryRuleCommand +: +{ before(grammarAccess.getCommandRule()); } + ruleCommand +{ after(grammarAccess.getCommandRule()); } + EOF +; + +// Rule Command +ruleCommand + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getCommandAccess().getAlternatives()); } + (rule__Command__Alternatives) + { after(grammarAccess.getCommandAccess().getAlternatives()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Entry rule entryRuleQualifiedName +entryRuleQualifiedName +: +{ before(grammarAccess.getQualifiedNameRule()); } + ruleQualifiedName +{ after(grammarAccess.getQualifiedNameRule()); } + EOF +; + +// Rule QualifiedName +ruleQualifiedName + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getQualifiedNameAccess().getGroup()); } + (rule__QualifiedName__Group__0) + { after(grammarAccess.getQualifiedNameAccess().getGroup()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Entry rule entryRuleREALLiteral +entryRuleREALLiteral +: +{ before(grammarAccess.getREALLiteralRule()); } + ruleREALLiteral +{ after(grammarAccess.getREALLiteralRule()); } + EOF +; + +// Rule REALLiteral +ruleREALLiteral + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getREALLiteralAccess().getGroup()); } + (rule__REALLiteral__Group__0) + { after(grammarAccess.getREALLiteralAccess().getGroup()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Entry rule entryRuleINTLiteral +entryRuleINTLiteral +: +{ before(grammarAccess.getINTLiteralRule()); } + ruleINTLiteral +{ after(grammarAccess.getINTLiteralRule()); } + EOF +; + +// Rule INTLiteral +ruleINTLiteral + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getINTLiteralAccess().getGroup()); } + (rule__INTLiteral__Group__0) + { after(grammarAccess.getINTLiteralAccess().getGroup()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Entry rule entryRuleImport +entryRuleImport +: +{ before(grammarAccess.getImportRule()); } + ruleImport +{ after(grammarAccess.getImportRule()); } + EOF +; + +// Rule Import +ruleImport + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getImportAccess().getAlternatives()); } + (rule__Import__Alternatives) + { after(grammarAccess.getImportAccess().getAlternatives()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Entry rule entryRuleEPackageImport +entryRuleEPackageImport +: +{ before(grammarAccess.getEPackageImportRule()); } + ruleEPackageImport +{ after(grammarAccess.getEPackageImportRule()); } + EOF +; + +// Rule EPackageImport +ruleEPackageImport + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getEPackageImportAccess().getGroup()); } + (rule__EPackageImport__Group__0) + { after(grammarAccess.getEPackageImportAccess().getGroup()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Entry rule entryRuleViatraImport +entryRuleViatraImport +: +{ before(grammarAccess.getViatraImportRule()); } + ruleViatraImport +{ after(grammarAccess.getViatraImportRule()); } + EOF +; + +// Rule ViatraImport +ruleViatraImport + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getViatraImportAccess().getGroup()); } + (rule__ViatraImport__Group__0) + { after(grammarAccess.getViatraImportAccess().getGroup()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Entry rule entryRuleCftImport +entryRuleCftImport +: +{ before(grammarAccess.getCftImportRule()); } + ruleCftImport +{ after(grammarAccess.getCftImportRule()); } + EOF +; + +// Rule CftImport +ruleCftImport + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getCftImportAccess().getGroup()); } + (rule__CftImport__Group__0) + { after(grammarAccess.getCftImportAccess().getGroup()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Entry rule entryRuleDeclaration +entryRuleDeclaration +: +{ before(grammarAccess.getDeclarationRule()); } + ruleDeclaration +{ after(grammarAccess.getDeclarationRule()); } + EOF +; + +// Rule Declaration +ruleDeclaration + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getDeclarationAccess().getAlternatives()); } + (rule__Declaration__Alternatives) + { after(grammarAccess.getDeclarationAccess().getAlternatives()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Entry rule entryRuleFileSpecification +entryRuleFileSpecification +: +{ before(grammarAccess.getFileSpecificationRule()); } + ruleFileSpecification +{ after(grammarAccess.getFileSpecificationRule()); } + EOF +; + +// Rule FileSpecification +ruleFileSpecification + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getFileSpecificationAccess().getPathAssignment()); } + (rule__FileSpecification__PathAssignment) + { after(grammarAccess.getFileSpecificationAccess().getPathAssignment()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Entry rule entryRuleFileDeclaration +entryRuleFileDeclaration +: +{ before(grammarAccess.getFileDeclarationRule()); } + ruleFileDeclaration +{ after(grammarAccess.getFileDeclarationRule()); } + EOF +; + +// Rule FileDeclaration +ruleFileDeclaration + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getFileDeclarationAccess().getGroup()); } + (rule__FileDeclaration__Group__0) + { after(grammarAccess.getFileDeclarationAccess().getGroup()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Entry rule entryRuleFileReference +entryRuleFileReference +: +{ before(grammarAccess.getFileReferenceRule()); } + ruleFileReference +{ after(grammarAccess.getFileReferenceRule()); } + EOF +; + +// Rule FileReference +ruleFileReference + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getFileReferenceAccess().getReferredAssignment()); } + (rule__FileReference__ReferredAssignment) + { after(grammarAccess.getFileReferenceAccess().getReferredAssignment()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Entry rule entryRuleFile +entryRuleFile +: +{ before(grammarAccess.getFileRule()); } + ruleFile +{ after(grammarAccess.getFileRule()); } + EOF +; + +// Rule File +ruleFile + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getFileAccess().getAlternatives()); } + (rule__File__Alternatives) + { after(grammarAccess.getFileAccess().getAlternatives()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Entry rule entryRuleMetamodelSpecification +entryRuleMetamodelSpecification +: +{ before(grammarAccess.getMetamodelSpecificationRule()); } + ruleMetamodelSpecification +{ after(grammarAccess.getMetamodelSpecificationRule()); } + EOF +; + +// Rule MetamodelSpecification +ruleMetamodelSpecification + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getMetamodelSpecificationAccess().getGroup()); } + (rule__MetamodelSpecification__Group__0) + { after(grammarAccess.getMetamodelSpecificationAccess().getGroup()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Entry rule entryRuleMetamodelEntry +entryRuleMetamodelEntry +: +{ before(grammarAccess.getMetamodelEntryRule()); } + ruleMetamodelEntry +{ after(grammarAccess.getMetamodelEntryRule()); } + EOF +; + +// Rule MetamodelEntry +ruleMetamodelEntry + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getMetamodelEntryAccess().getAlternatives()); } + (rule__MetamodelEntry__Alternatives) + { after(grammarAccess.getMetamodelEntryAccess().getAlternatives()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Entry rule entryRuleAllPackageEntry +entryRuleAllPackageEntry +: +{ before(grammarAccess.getAllPackageEntryRule()); } + ruleAllPackageEntry +{ after(grammarAccess.getAllPackageEntryRule()); } + EOF +; + +// Rule AllPackageEntry +ruleAllPackageEntry + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getAllPackageEntryAccess().getGroup()); } + (rule__AllPackageEntry__Group__0) + { after(grammarAccess.getAllPackageEntryAccess().getGroup()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Entry rule entryRuleMetamodelElement +entryRuleMetamodelElement +: +{ before(grammarAccess.getMetamodelElementRule()); } + ruleMetamodelElement +{ after(grammarAccess.getMetamodelElementRule()); } + EOF +; + +// Rule MetamodelElement +ruleMetamodelElement + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getMetamodelElementAccess().getGroup()); } + (rule__MetamodelElement__Group__0) + { after(grammarAccess.getMetamodelElementAccess().getGroup()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Entry rule entryRuleMetamodelDeclaration +entryRuleMetamodelDeclaration +: +{ before(grammarAccess.getMetamodelDeclarationRule()); } + ruleMetamodelDeclaration +{ after(grammarAccess.getMetamodelDeclarationRule()); } + EOF +; + +// Rule MetamodelDeclaration +ruleMetamodelDeclaration + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getMetamodelDeclarationAccess().getGroup()); } + (rule__MetamodelDeclaration__Group__0) + { after(grammarAccess.getMetamodelDeclarationAccess().getGroup()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Entry rule entryRuleMetamodelReference +entryRuleMetamodelReference +: +{ before(grammarAccess.getMetamodelReferenceRule()); } + ruleMetamodelReference +{ after(grammarAccess.getMetamodelReferenceRule()); } + EOF +; + +// Rule MetamodelReference +ruleMetamodelReference + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getMetamodelReferenceAccess().getReferredAssignment()); } + (rule__MetamodelReference__ReferredAssignment) + { after(grammarAccess.getMetamodelReferenceAccess().getReferredAssignment()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Entry rule entryRuleMetamodel +entryRuleMetamodel +: +{ before(grammarAccess.getMetamodelRule()); } + ruleMetamodel +{ after(grammarAccess.getMetamodelRule()); } + EOF +; + +// Rule Metamodel +ruleMetamodel + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getMetamodelAccess().getAlternatives()); } + (rule__Metamodel__Alternatives) + { after(grammarAccess.getMetamodelAccess().getAlternatives()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Entry rule entryRulePartialModelSpecification +entryRulePartialModelSpecification +: +{ before(grammarAccess.getPartialModelSpecificationRule()); } + rulePartialModelSpecification +{ after(grammarAccess.getPartialModelSpecificationRule()); } + EOF +; + +// Rule PartialModelSpecification +rulePartialModelSpecification + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getPartialModelSpecificationAccess().getGroup()); } + (rule__PartialModelSpecification__Group__0) + { after(grammarAccess.getPartialModelSpecificationAccess().getGroup()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Entry rule entryRulePartialModelEntry +entryRulePartialModelEntry +: +{ before(grammarAccess.getPartialModelEntryRule()); } + rulePartialModelEntry +{ after(grammarAccess.getPartialModelEntryRule()); } + EOF +; + +// Rule PartialModelEntry +rulePartialModelEntry + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getPartialModelEntryAccess().getAlternatives()); } + (rule__PartialModelEntry__Alternatives) + { after(grammarAccess.getPartialModelEntryAccess().getAlternatives()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Entry rule entryRuleModelEntry +entryRuleModelEntry +: +{ before(grammarAccess.getModelEntryRule()); } + ruleModelEntry +{ after(grammarAccess.getModelEntryRule()); } + EOF +; + +// Rule ModelEntry +ruleModelEntry + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getModelEntryAccess().getPathAssignment()); } + (rule__ModelEntry__PathAssignment) + { after(grammarAccess.getModelEntryAccess().getPathAssignment()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Entry rule entryRuleFolderEntry +entryRuleFolderEntry +: +{ before(grammarAccess.getFolderEntryRule()); } + ruleFolderEntry +{ after(grammarAccess.getFolderEntryRule()); } + EOF +; + +// Rule FolderEntry +ruleFolderEntry + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getFolderEntryAccess().getGroup()); } + (rule__FolderEntry__Group__0) + { after(grammarAccess.getFolderEntryAccess().getGroup()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Entry rule entryRulePartialModelDeclaration +entryRulePartialModelDeclaration +: +{ before(grammarAccess.getPartialModelDeclarationRule()); } + rulePartialModelDeclaration +{ after(grammarAccess.getPartialModelDeclarationRule()); } + EOF +; + +// Rule PartialModelDeclaration +rulePartialModelDeclaration + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getPartialModelDeclarationAccess().getGroup()); } + (rule__PartialModelDeclaration__Group__0) + { after(grammarAccess.getPartialModelDeclarationAccess().getGroup()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Entry rule entryRulePartialModelReference +entryRulePartialModelReference +: +{ before(grammarAccess.getPartialModelReferenceRule()); } + rulePartialModelReference +{ after(grammarAccess.getPartialModelReferenceRule()); } + EOF +; + +// Rule PartialModelReference +rulePartialModelReference + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getPartialModelReferenceAccess().getReferredAssignment()); } + (rule__PartialModelReference__ReferredAssignment) + { after(grammarAccess.getPartialModelReferenceAccess().getReferredAssignment()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Entry rule entryRulePartialModel +entryRulePartialModel +: +{ before(grammarAccess.getPartialModelRule()); } + rulePartialModel +{ after(grammarAccess.getPartialModelRule()); } + EOF +; + +// Rule PartialModel +rulePartialModel + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getPartialModelAccess().getAlternatives()); } + (rule__PartialModel__Alternatives) + { after(grammarAccess.getPartialModelAccess().getAlternatives()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Entry rule entryRulePatternSpecification +entryRulePatternSpecification +: +{ before(grammarAccess.getPatternSpecificationRule()); } + rulePatternSpecification +{ after(grammarAccess.getPatternSpecificationRule()); } + EOF +; + +// Rule PatternSpecification +rulePatternSpecification + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getPatternSpecificationAccess().getGroup()); } + (rule__PatternSpecification__Group__0) + { after(grammarAccess.getPatternSpecificationAccess().getGroup()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Entry rule entryRulePatternEntry +entryRulePatternEntry +: +{ before(grammarAccess.getPatternEntryRule()); } + rulePatternEntry +{ after(grammarAccess.getPatternEntryRule()); } + EOF +; + +// Rule PatternEntry +rulePatternEntry + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getPatternEntryAccess().getAlternatives()); } + (rule__PatternEntry__Alternatives) + { after(grammarAccess.getPatternEntryAccess().getAlternatives()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Entry rule entryRuleAllPatternEntry +entryRuleAllPatternEntry +: +{ before(grammarAccess.getAllPatternEntryRule()); } + ruleAllPatternEntry +{ after(grammarAccess.getAllPatternEntryRule()); } + EOF +; + +// Rule AllPatternEntry +ruleAllPatternEntry + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getAllPatternEntryAccess().getGroup()); } + (rule__AllPatternEntry__Group__0) + { after(grammarAccess.getAllPatternEntryAccess().getGroup()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Entry rule entryRulePatternElement +entryRulePatternElement +: +{ before(grammarAccess.getPatternElementRule()); } + rulePatternElement +{ after(grammarAccess.getPatternElementRule()); } + EOF +; + +// Rule PatternElement +rulePatternElement + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getPatternElementAccess().getGroup()); } + (rule__PatternElement__Group__0) + { after(grammarAccess.getPatternElementAccess().getGroup()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Entry rule entryRuleGraphPatternDeclaration +entryRuleGraphPatternDeclaration +: +{ before(grammarAccess.getGraphPatternDeclarationRule()); } + ruleGraphPatternDeclaration +{ after(grammarAccess.getGraphPatternDeclarationRule()); } + EOF +; + +// Rule GraphPatternDeclaration +ruleGraphPatternDeclaration + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getGraphPatternDeclarationAccess().getGroup()); } + (rule__GraphPatternDeclaration__Group__0) + { after(grammarAccess.getGraphPatternDeclarationAccess().getGroup()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Entry rule entryRuleGraphPatternReference +entryRuleGraphPatternReference +: +{ before(grammarAccess.getGraphPatternReferenceRule()); } + ruleGraphPatternReference +{ after(grammarAccess.getGraphPatternReferenceRule()); } + EOF +; + +// Rule GraphPatternReference +ruleGraphPatternReference + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getGraphPatternReferenceAccess().getReferredAssignment()); } + (rule__GraphPatternReference__ReferredAssignment) + { after(grammarAccess.getGraphPatternReferenceAccess().getReferredAssignment()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Entry rule entryRuleGraphPattern +entryRuleGraphPattern +: +{ before(grammarAccess.getGraphPatternRule()); } + ruleGraphPattern +{ after(grammarAccess.getGraphPatternRule()); } + EOF +; + +// Rule GraphPattern +ruleGraphPattern + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getGraphPatternAccess().getAlternatives()); } + (rule__GraphPattern__Alternatives) + { after(grammarAccess.getGraphPatternAccess().getAlternatives()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Entry rule entryRuleObjectiveSpecification +entryRuleObjectiveSpecification +: +{ before(grammarAccess.getObjectiveSpecificationRule()); } + ruleObjectiveSpecification +{ after(grammarAccess.getObjectiveSpecificationRule()); } + EOF +; + +// Rule ObjectiveSpecification +ruleObjectiveSpecification + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getObjectiveSpecificationAccess().getGroup()); } + (rule__ObjectiveSpecification__Group__0) + { after(grammarAccess.getObjectiveSpecificationAccess().getGroup()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Entry rule entryRuleObjectiveEntry +entryRuleObjectiveEntry +: +{ before(grammarAccess.getObjectiveEntryRule()); } + ruleObjectiveEntry +{ after(grammarAccess.getObjectiveEntryRule()); } + EOF +; + +// Rule ObjectiveEntry +ruleObjectiveEntry + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getObjectiveEntryAccess().getAlternatives()); } + (rule__ObjectiveEntry__Alternatives) + { after(grammarAccess.getObjectiveEntryAccess().getAlternatives()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Entry rule entryRuleOptimizationEntry +entryRuleOptimizationEntry +: +{ before(grammarAccess.getOptimizationEntryRule()); } + ruleOptimizationEntry +{ after(grammarAccess.getOptimizationEntryRule()); } + EOF +; + +// Rule OptimizationEntry +ruleOptimizationEntry + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getOptimizationEntryAccess().getGroup()); } + (rule__OptimizationEntry__Group__0) + { after(grammarAccess.getOptimizationEntryAccess().getGroup()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Entry rule entryRuleThresholdEntry +entryRuleThresholdEntry +: +{ before(grammarAccess.getThresholdEntryRule()); } + ruleThresholdEntry +{ after(grammarAccess.getThresholdEntryRule()); } + EOF +; + +// Rule ThresholdEntry +ruleThresholdEntry + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getThresholdEntryAccess().getGroup()); } + (rule__ThresholdEntry__Group__0) + { after(grammarAccess.getThresholdEntryAccess().getGroup()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Entry rule entryRuleObjectiveFunction +entryRuleObjectiveFunction +: +{ before(grammarAccess.getObjectiveFunctionRule()); } + ruleObjectiveFunction +{ after(grammarAccess.getObjectiveFunctionRule()); } + EOF +; + +// Rule ObjectiveFunction +ruleObjectiveFunction + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getObjectiveFunctionAccess().getReliabiltiyFunctionParserRuleCall()); } + ruleReliabiltiyFunction + { after(grammarAccess.getObjectiveFunctionAccess().getReliabiltiyFunctionParserRuleCall()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Entry rule entryRuleReliabiltiyFunction +entryRuleReliabiltiyFunction +: +{ before(grammarAccess.getReliabiltiyFunctionRule()); } + ruleReliabiltiyFunction +{ after(grammarAccess.getReliabiltiyFunctionRule()); } + EOF +; + +// Rule ReliabiltiyFunction +ruleReliabiltiyFunction + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getReliabiltiyFunctionAccess().getGroup()); } + (rule__ReliabiltiyFunction__Group__0) + { after(grammarAccess.getReliabiltiyFunctionAccess().getGroup()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Entry rule entryRuleObjectiveDeclaration +entryRuleObjectiveDeclaration +: +{ before(grammarAccess.getObjectiveDeclarationRule()); } + ruleObjectiveDeclaration +{ after(grammarAccess.getObjectiveDeclarationRule()); } + EOF +; + +// Rule ObjectiveDeclaration +ruleObjectiveDeclaration + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getObjectiveDeclarationAccess().getGroup()); } + (rule__ObjectiveDeclaration__Group__0) + { after(grammarAccess.getObjectiveDeclarationAccess().getGroup()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Entry rule entryRuleObjectiveReference +entryRuleObjectiveReference +: +{ before(grammarAccess.getObjectiveReferenceRule()); } + ruleObjectiveReference +{ after(grammarAccess.getObjectiveReferenceRule()); } + EOF +; + +// Rule ObjectiveReference +ruleObjectiveReference + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getObjectiveReferenceAccess().getReferredAssignment()); } + (rule__ObjectiveReference__ReferredAssignment) + { after(grammarAccess.getObjectiveReferenceAccess().getReferredAssignment()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Entry rule entryRuleObjective +entryRuleObjective +: +{ before(grammarAccess.getObjectiveRule()); } + ruleObjective +{ after(grammarAccess.getObjectiveRule()); } + EOF +; + +// Rule Objective +ruleObjective + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getObjectiveAccess().getAlternatives()); } + (rule__Objective__Alternatives) + { after(grammarAccess.getObjectiveAccess().getAlternatives()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Entry rule entryRuleConfigSpecification +entryRuleConfigSpecification +: +{ before(grammarAccess.getConfigSpecificationRule()); } + ruleConfigSpecification +{ after(grammarAccess.getConfigSpecificationRule()); } + EOF +; + +// Rule ConfigSpecification +ruleConfigSpecification + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getConfigSpecificationAccess().getGroup()); } + (rule__ConfigSpecification__Group__0) + { after(grammarAccess.getConfigSpecificationAccess().getGroup()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Entry rule entryRuleConfigDeclaration +entryRuleConfigDeclaration +: +{ before(grammarAccess.getConfigDeclarationRule()); } + ruleConfigDeclaration +{ after(grammarAccess.getConfigDeclarationRule()); } + EOF +; + +// Rule ConfigDeclaration +ruleConfigDeclaration + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getConfigDeclarationAccess().getGroup()); } + (rule__ConfigDeclaration__Group__0) + { after(grammarAccess.getConfigDeclarationAccess().getGroup()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Entry rule entryRuleConfigEntry +entryRuleConfigEntry +: +{ before(grammarAccess.getConfigEntryRule()); } + ruleConfigEntry +{ after(grammarAccess.getConfigEntryRule()); } + EOF +; + +// Rule ConfigEntry +ruleConfigEntry + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getConfigEntryAccess().getAlternatives()); } + (rule__ConfigEntry__Alternatives) + { after(grammarAccess.getConfigEntryAccess().getAlternatives()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Entry rule entryRuleDocumentationEntry +entryRuleDocumentationEntry +: +{ before(grammarAccess.getDocumentationEntryRule()); } + ruleDocumentationEntry +{ after(grammarAccess.getDocumentationEntryRule()); } + EOF +; + +// Rule DocumentationEntry +ruleDocumentationEntry + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getDocumentationEntryAccess().getGroup()); } + (rule__DocumentationEntry__Group__0) + { after(grammarAccess.getDocumentationEntryAccess().getGroup()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Entry rule entryRuleRuntimeEntry +entryRuleRuntimeEntry +: +{ before(grammarAccess.getRuntimeEntryRule()); } + ruleRuntimeEntry +{ after(grammarAccess.getRuntimeEntryRule()); } + EOF +; + +// Rule RuntimeEntry +ruleRuntimeEntry + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getRuntimeEntryAccess().getGroup()); } + (rule__RuntimeEntry__Group__0) + { after(grammarAccess.getRuntimeEntryAccess().getGroup()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Entry rule entryRuleMemoryEntry +entryRuleMemoryEntry +: +{ before(grammarAccess.getMemoryEntryRule()); } + ruleMemoryEntry +{ after(grammarAccess.getMemoryEntryRule()); } + EOF +; + +// Rule MemoryEntry +ruleMemoryEntry + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getMemoryEntryAccess().getGroup()); } + (rule__MemoryEntry__Group__0) + { after(grammarAccess.getMemoryEntryAccess().getGroup()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Entry rule entryRuleCustomEntry +entryRuleCustomEntry +: +{ before(grammarAccess.getCustomEntryRule()); } + ruleCustomEntry +{ after(grammarAccess.getCustomEntryRule()); } + EOF +; + +// Rule CustomEntry +ruleCustomEntry + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getCustomEntryAccess().getGroup()); } + (rule__CustomEntry__Group__0) + { after(grammarAccess.getCustomEntryAccess().getGroup()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Entry rule entryRuleConfigReference +entryRuleConfigReference +: +{ before(grammarAccess.getConfigReferenceRule()); } + ruleConfigReference +{ after(grammarAccess.getConfigReferenceRule()); } + EOF +; + +// Rule ConfigReference +ruleConfigReference + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getConfigReferenceAccess().getConfigAssignment()); } + (rule__ConfigReference__ConfigAssignment) + { after(grammarAccess.getConfigReferenceAccess().getConfigAssignment()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Entry rule entryRuleConfig +entryRuleConfig +: +{ before(grammarAccess.getConfigRule()); } + ruleConfig +{ after(grammarAccess.getConfigRule()); } + EOF +; + +// Rule Config +ruleConfig + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getConfigAccess().getAlternatives()); } + (rule__Config__Alternatives) + { after(grammarAccess.getConfigAccess().getAlternatives()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Entry rule entryRuleScopeSpecification +entryRuleScopeSpecification +: +{ before(grammarAccess.getScopeSpecificationRule()); } + ruleScopeSpecification +{ after(grammarAccess.getScopeSpecificationRule()); } + EOF +; + +// Rule ScopeSpecification +ruleScopeSpecification + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getScopeSpecificationAccess().getGroup()); } + (rule__ScopeSpecification__Group__0) + { after(grammarAccess.getScopeSpecificationAccess().getGroup()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Entry rule entryRuleTypeScope +entryRuleTypeScope +: +{ before(grammarAccess.getTypeScopeRule()); } + ruleTypeScope +{ after(grammarAccess.getTypeScopeRule()); } + EOF +; + +// Rule TypeScope +ruleTypeScope + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getTypeScopeAccess().getAlternatives()); } + (rule__TypeScope__Alternatives) + { after(grammarAccess.getTypeScopeAccess().getAlternatives()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Entry rule entryRuleClassTypeScope +entryRuleClassTypeScope +: +{ before(grammarAccess.getClassTypeScopeRule()); } + ruleClassTypeScope +{ after(grammarAccess.getClassTypeScopeRule()); } + EOF +; + +// Rule ClassTypeScope +ruleClassTypeScope + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getClassTypeScopeAccess().getGroup()); } + (rule__ClassTypeScope__Group__0) + { after(grammarAccess.getClassTypeScopeAccess().getGroup()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Entry rule entryRuleObjectTypeScope +entryRuleObjectTypeScope +: +{ before(grammarAccess.getObjectTypeScopeRule()); } + ruleObjectTypeScope +{ after(grammarAccess.getObjectTypeScopeRule()); } + EOF +; + +// Rule ObjectTypeScope +ruleObjectTypeScope + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getObjectTypeScopeAccess().getGroup()); } + (rule__ObjectTypeScope__Group__0) + { after(grammarAccess.getObjectTypeScopeAccess().getGroup()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Entry rule entryRuleIntegerTypeScope +entryRuleIntegerTypeScope +: +{ before(grammarAccess.getIntegerTypeScopeRule()); } + ruleIntegerTypeScope +{ after(grammarAccess.getIntegerTypeScopeRule()); } + EOF +; + +// Rule IntegerTypeScope +ruleIntegerTypeScope + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getIntegerTypeScopeAccess().getGroup()); } + (rule__IntegerTypeScope__Group__0) + { after(grammarAccess.getIntegerTypeScopeAccess().getGroup()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Entry rule entryRuleRealTypeScope +entryRuleRealTypeScope +: +{ before(grammarAccess.getRealTypeScopeRule()); } + ruleRealTypeScope +{ after(grammarAccess.getRealTypeScopeRule()); } + EOF +; + +// Rule RealTypeScope +ruleRealTypeScope + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getRealTypeScopeAccess().getGroup()); } + (rule__RealTypeScope__Group__0) + { after(grammarAccess.getRealTypeScopeAccess().getGroup()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Entry rule entryRuleStringTypeScope +entryRuleStringTypeScope +: +{ before(grammarAccess.getStringTypeScopeRule()); } + ruleStringTypeScope +{ after(grammarAccess.getStringTypeScopeRule()); } + EOF +; + +// Rule StringTypeScope +ruleStringTypeScope + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getStringTypeScopeAccess().getGroup()); } + (rule__StringTypeScope__Group__0) + { after(grammarAccess.getStringTypeScopeAccess().getGroup()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Entry rule entryRuleClassReference +entryRuleClassReference +: +{ before(grammarAccess.getClassReferenceRule()); } + ruleClassReference +{ after(grammarAccess.getClassReferenceRule()); } + EOF +; + +// Rule ClassReference +ruleClassReference + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getClassReferenceAccess().getGroup()); } + (rule__ClassReference__Group__0) + { after(grammarAccess.getClassReferenceAccess().getGroup()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Entry rule entryRuleObjectReference +entryRuleObjectReference +: +{ before(grammarAccess.getObjectReferenceRule()); } + ruleObjectReference +{ after(grammarAccess.getObjectReferenceRule()); } + EOF +; + +// Rule ObjectReference +ruleObjectReference + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getObjectReferenceAccess().getGroup()); } + (rule__ObjectReference__Group__0) + { after(grammarAccess.getObjectReferenceAccess().getGroup()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Entry rule entryRuleIntegerReference +entryRuleIntegerReference +: +{ before(grammarAccess.getIntegerReferenceRule()); } + ruleIntegerReference +{ after(grammarAccess.getIntegerReferenceRule()); } + EOF +; + +// Rule IntegerReference +ruleIntegerReference + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getIntegerReferenceAccess().getGroup()); } + (rule__IntegerReference__Group__0) + { after(grammarAccess.getIntegerReferenceAccess().getGroup()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Entry rule entryRuleRealReference +entryRuleRealReference +: +{ before(grammarAccess.getRealReferenceRule()); } + ruleRealReference +{ after(grammarAccess.getRealReferenceRule()); } + EOF +; + +// Rule RealReference +ruleRealReference + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getRealReferenceAccess().getGroup()); } + (rule__RealReference__Group__0) + { after(grammarAccess.getRealReferenceAccess().getGroup()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Entry rule entryRuleStringReference +entryRuleStringReference +: +{ before(grammarAccess.getStringReferenceRule()); } + ruleStringReference +{ after(grammarAccess.getStringReferenceRule()); } + EOF +; + +// Rule StringReference +ruleStringReference + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getStringReferenceAccess().getGroup()); } + (rule__StringReference__Group__0) + { after(grammarAccess.getStringReferenceAccess().getGroup()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Entry rule entryRuleExactNumber +entryRuleExactNumber +: +{ before(grammarAccess.getExactNumberRule()); } + ruleExactNumber +{ after(grammarAccess.getExactNumberRule()); } + EOF +; + +// Rule ExactNumber +ruleExactNumber + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getExactNumberAccess().getAlternatives()); } + (rule__ExactNumber__Alternatives) + { after(grammarAccess.getExactNumberAccess().getAlternatives()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Entry rule entryRuleIntervallNumber +entryRuleIntervallNumber +: +{ before(grammarAccess.getIntervallNumberRule()); } + ruleIntervallNumber +{ after(grammarAccess.getIntervallNumberRule()); } + EOF +; + +// Rule IntervallNumber +ruleIntervallNumber + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getIntervallNumberAccess().getGroup()); } + (rule__IntervallNumber__Group__0) + { after(grammarAccess.getIntervallNumberAccess().getGroup()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Entry rule entryRuleIntEnumberation +entryRuleIntEnumberation +: +{ before(grammarAccess.getIntEnumberationRule()); } + ruleIntEnumberation +{ after(grammarAccess.getIntEnumberationRule()); } + EOF +; + +// Rule IntEnumberation +ruleIntEnumberation + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getIntEnumberationAccess().getGroup()); } + (rule__IntEnumberation__Group__0) + { after(grammarAccess.getIntEnumberationAccess().getGroup()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Entry rule entryRuleRealEnumeration +entryRuleRealEnumeration +: +{ before(grammarAccess.getRealEnumerationRule()); } + ruleRealEnumeration +{ after(grammarAccess.getRealEnumerationRule()); } + EOF +; + +// Rule RealEnumeration +ruleRealEnumeration + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getRealEnumerationAccess().getGroup()); } + (rule__RealEnumeration__Group__0) + { after(grammarAccess.getRealEnumerationAccess().getGroup()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Entry rule entryRuleStringEnumeration +entryRuleStringEnumeration +: +{ before(grammarAccess.getStringEnumerationRule()); } + ruleStringEnumeration +{ after(grammarAccess.getStringEnumerationRule()); } + EOF +; + +// Rule StringEnumeration +ruleStringEnumeration + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getStringEnumerationAccess().getGroup()); } + (rule__StringEnumeration__Group__0) + { after(grammarAccess.getStringEnumerationAccess().getGroup()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Entry rule entryRuleScopeDeclaration +entryRuleScopeDeclaration +: +{ before(grammarAccess.getScopeDeclarationRule()); } + ruleScopeDeclaration +{ after(grammarAccess.getScopeDeclarationRule()); } + EOF +; + +// Rule ScopeDeclaration +ruleScopeDeclaration + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getScopeDeclarationAccess().getGroup()); } + (rule__ScopeDeclaration__Group__0) + { after(grammarAccess.getScopeDeclarationAccess().getGroup()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Entry rule entryRuleScopeReference +entryRuleScopeReference +: +{ before(grammarAccess.getScopeReferenceRule()); } + ruleScopeReference +{ after(grammarAccess.getScopeReferenceRule()); } + EOF +; + +// Rule ScopeReference +ruleScopeReference + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getScopeReferenceAccess().getReferredAssignment()); } + (rule__ScopeReference__ReferredAssignment) + { after(grammarAccess.getScopeReferenceAccess().getReferredAssignment()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Entry rule entryRuleScope +entryRuleScope +: +{ before(grammarAccess.getScopeRule()); } + ruleScope +{ after(grammarAccess.getScopeRule()); } + EOF +; + +// Rule Scope +ruleScope + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getScopeAccess().getAlternatives()); } + (rule__Scope__Alternatives) + { after(grammarAccess.getScopeAccess().getAlternatives()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Entry rule entryRuleTask +entryRuleTask +: +{ before(grammarAccess.getTaskRule()); } + ruleTask +{ after(grammarAccess.getTaskRule()); } + EOF +; + +// Rule Task +ruleTask + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getTaskAccess().getGenerationTaskParserRuleCall()); } + ruleGenerationTask + { after(grammarAccess.getTaskAccess().getGenerationTaskParserRuleCall()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Entry rule entryRuleGenerationTask +entryRuleGenerationTask +: +{ before(grammarAccess.getGenerationTaskRule()); } + ruleGenerationTask +{ after(grammarAccess.getGenerationTaskRule()); } + EOF +; + +// Rule GenerationTask +ruleGenerationTask + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getGenerationTaskAccess().getGroup()); } + (rule__GenerationTask__Group__0) + { after(grammarAccess.getGenerationTaskAccess().getGroup()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Rule OptimizationDirection +ruleOptimizationDirection + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getOptimizationDirectionAccess().getAlternatives()); } + (rule__OptimizationDirection__Alternatives) + { after(grammarAccess.getOptimizationDirectionAccess().getAlternatives()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Rule ComparisonOperator +ruleComparisonOperator + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getComparisonOperatorAccess().getAlternatives()); } + (rule__ComparisonOperator__Alternatives) + { after(grammarAccess.getComparisonOperatorAccess().getAlternatives()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Rule DocumentLevelSpecification +ruleDocumentLevelSpecification + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getDocumentLevelSpecificationAccess().getAlternatives()); } + (rule__DocumentLevelSpecification__Alternatives) + { after(grammarAccess.getDocumentLevelSpecificationAccess().getAlternatives()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Rule Solver +ruleSolver + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getSolverAccess().getAlternatives()); } + (rule__Solver__Alternatives) + { after(grammarAccess.getSolverAccess().getAlternatives()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__Command__Alternatives + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getCommandAccess().getDeclarationParserRuleCall_0()); } + ruleDeclaration + { after(grammarAccess.getCommandAccess().getDeclarationParserRuleCall_0()); } + ) + | + ( + { before(grammarAccess.getCommandAccess().getTaskParserRuleCall_1()); } + ruleTask + { after(grammarAccess.getCommandAccess().getTaskParserRuleCall_1()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__Import__Alternatives + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getImportAccess().getEPackageImportParserRuleCall_0()); } + ruleEPackageImport + { after(grammarAccess.getImportAccess().getEPackageImportParserRuleCall_0()); } + ) + | + ( + { before(grammarAccess.getImportAccess().getViatraImportParserRuleCall_1()); } + ruleViatraImport + { after(grammarAccess.getImportAccess().getViatraImportParserRuleCall_1()); } + ) + | + ( + { before(grammarAccess.getImportAccess().getCftImportParserRuleCall_2()); } + ruleCftImport + { after(grammarAccess.getImportAccess().getCftImportParserRuleCall_2()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__Declaration__Alternatives + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getDeclarationAccess().getFileDeclarationParserRuleCall_0()); } + ruleFileDeclaration + { after(grammarAccess.getDeclarationAccess().getFileDeclarationParserRuleCall_0()); } + ) + | + ( + { before(grammarAccess.getDeclarationAccess().getMetamodelDeclarationParserRuleCall_1()); } + ruleMetamodelDeclaration + { after(grammarAccess.getDeclarationAccess().getMetamodelDeclarationParserRuleCall_1()); } + ) + | + ( + { before(grammarAccess.getDeclarationAccess().getPartialModelDeclarationParserRuleCall_2()); } + rulePartialModelDeclaration + { after(grammarAccess.getDeclarationAccess().getPartialModelDeclarationParserRuleCall_2()); } + ) + | + ( + { before(grammarAccess.getDeclarationAccess().getGraphPatternDeclarationParserRuleCall_3()); } + ruleGraphPatternDeclaration + { after(grammarAccess.getDeclarationAccess().getGraphPatternDeclarationParserRuleCall_3()); } + ) + | + ( + { before(grammarAccess.getDeclarationAccess().getConfigDeclarationParserRuleCall_4()); } + ruleConfigDeclaration + { after(grammarAccess.getDeclarationAccess().getConfigDeclarationParserRuleCall_4()); } + ) + | + ( + { before(grammarAccess.getDeclarationAccess().getScopeDeclarationParserRuleCall_5()); } + ruleScopeDeclaration + { after(grammarAccess.getDeclarationAccess().getScopeDeclarationParserRuleCall_5()); } + ) + | + ( + { before(grammarAccess.getDeclarationAccess().getObjectiveDeclarationParserRuleCall_6()); } + ruleObjectiveDeclaration + { after(grammarAccess.getDeclarationAccess().getObjectiveDeclarationParserRuleCall_6()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__File__Alternatives + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getFileAccess().getFileSpecificationParserRuleCall_0()); } + ruleFileSpecification + { after(grammarAccess.getFileAccess().getFileSpecificationParserRuleCall_0()); } + ) + | + ( + { before(grammarAccess.getFileAccess().getFileReferenceParserRuleCall_1()); } + ruleFileReference + { after(grammarAccess.getFileAccess().getFileReferenceParserRuleCall_1()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__MetamodelEntry__Alternatives + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getMetamodelEntryAccess().getMetamodelElementParserRuleCall_0()); } + ruleMetamodelElement + { after(grammarAccess.getMetamodelEntryAccess().getMetamodelElementParserRuleCall_0()); } + ) + | + ( + { before(grammarAccess.getMetamodelEntryAccess().getAllPackageEntryParserRuleCall_1()); } + ruleAllPackageEntry + { after(grammarAccess.getMetamodelEntryAccess().getAllPackageEntryParserRuleCall_1()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__Metamodel__Alternatives + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getMetamodelAccess().getMetamodelReferenceParserRuleCall_0()); } + ruleMetamodelReference + { after(grammarAccess.getMetamodelAccess().getMetamodelReferenceParserRuleCall_0()); } + ) + | + ( + { before(grammarAccess.getMetamodelAccess().getMetamodelSpecificationParserRuleCall_1()); } + ruleMetamodelSpecification + { after(grammarAccess.getMetamodelAccess().getMetamodelSpecificationParserRuleCall_1()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__PartialModelEntry__Alternatives + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getPartialModelEntryAccess().getModelEntryParserRuleCall_0()); } + ruleModelEntry + { after(grammarAccess.getPartialModelEntryAccess().getModelEntryParserRuleCall_0()); } + ) + | + ( + { before(grammarAccess.getPartialModelEntryAccess().getFolderEntryParserRuleCall_1()); } + ruleFolderEntry + { after(grammarAccess.getPartialModelEntryAccess().getFolderEntryParserRuleCall_1()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__PartialModel__Alternatives + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getPartialModelAccess().getPartialModelSpecificationParserRuleCall_0()); } + rulePartialModelSpecification + { after(grammarAccess.getPartialModelAccess().getPartialModelSpecificationParserRuleCall_0()); } + ) + | + ( + { before(grammarAccess.getPartialModelAccess().getPartialModelReferenceParserRuleCall_1()); } + rulePartialModelReference + { after(grammarAccess.getPartialModelAccess().getPartialModelReferenceParserRuleCall_1()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__PatternEntry__Alternatives + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getPatternEntryAccess().getPatternElementParserRuleCall_0()); } + rulePatternElement + { after(grammarAccess.getPatternEntryAccess().getPatternElementParserRuleCall_0()); } + ) + | + ( + { before(grammarAccess.getPatternEntryAccess().getAllPatternEntryParserRuleCall_1()); } + ruleAllPatternEntry + { after(grammarAccess.getPatternEntryAccess().getAllPatternEntryParserRuleCall_1()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__GraphPattern__Alternatives + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getGraphPatternAccess().getGraphPatternReferenceParserRuleCall_0()); } + ruleGraphPatternReference + { after(grammarAccess.getGraphPatternAccess().getGraphPatternReferenceParserRuleCall_0()); } + ) + | + ( + { before(grammarAccess.getGraphPatternAccess().getPatternSpecificationParserRuleCall_1()); } + rulePatternSpecification + { after(grammarAccess.getGraphPatternAccess().getPatternSpecificationParserRuleCall_1()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__ObjectiveEntry__Alternatives + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getObjectiveEntryAccess().getOptimizationEntryParserRuleCall_0()); } + ruleOptimizationEntry + { after(grammarAccess.getObjectiveEntryAccess().getOptimizationEntryParserRuleCall_0()); } + ) + | + ( + { before(grammarAccess.getObjectiveEntryAccess().getThresholdEntryParserRuleCall_1()); } + ruleThresholdEntry + { after(grammarAccess.getObjectiveEntryAccess().getThresholdEntryParserRuleCall_1()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__Objective__Alternatives + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getObjectiveAccess().getObjectiveReferenceParserRuleCall_0()); } + ruleObjectiveReference + { after(grammarAccess.getObjectiveAccess().getObjectiveReferenceParserRuleCall_0()); } + ) + | + ( + { before(grammarAccess.getObjectiveAccess().getObjectiveSpecificationParserRuleCall_1()); } + ruleObjectiveSpecification + { after(grammarAccess.getObjectiveAccess().getObjectiveSpecificationParserRuleCall_1()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__ConfigEntry__Alternatives + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getConfigEntryAccess().getDocumentationEntryParserRuleCall_0()); } + ruleDocumentationEntry + { after(grammarAccess.getConfigEntryAccess().getDocumentationEntryParserRuleCall_0()); } + ) + | + ( + { before(grammarAccess.getConfigEntryAccess().getRuntimeEntryParserRuleCall_1()); } + ruleRuntimeEntry + { after(grammarAccess.getConfigEntryAccess().getRuntimeEntryParserRuleCall_1()); } + ) + | + ( + { before(grammarAccess.getConfigEntryAccess().getMemoryEntryParserRuleCall_2()); } + ruleMemoryEntry + { after(grammarAccess.getConfigEntryAccess().getMemoryEntryParserRuleCall_2()); } + ) + | + ( + { before(grammarAccess.getConfigEntryAccess().getCustomEntryParserRuleCall_3()); } + ruleCustomEntry + { after(grammarAccess.getConfigEntryAccess().getCustomEntryParserRuleCall_3()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__Config__Alternatives + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getConfigAccess().getConfigSpecificationParserRuleCall_0()); } + ruleConfigSpecification + { after(grammarAccess.getConfigAccess().getConfigSpecificationParserRuleCall_0()); } + ) + | + ( + { before(grammarAccess.getConfigAccess().getConfigReferenceParserRuleCall_1()); } + ruleConfigReference + { after(grammarAccess.getConfigAccess().getConfigReferenceParserRuleCall_1()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__TypeScope__Alternatives + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getTypeScopeAccess().getClassTypeScopeParserRuleCall_0()); } + ruleClassTypeScope + { after(grammarAccess.getTypeScopeAccess().getClassTypeScopeParserRuleCall_0()); } + ) + | + ( + { before(grammarAccess.getTypeScopeAccess().getObjectTypeScopeParserRuleCall_1()); } + ruleObjectTypeScope + { after(grammarAccess.getTypeScopeAccess().getObjectTypeScopeParserRuleCall_1()); } + ) + | + ( + { before(grammarAccess.getTypeScopeAccess().getIntegerTypeScopeParserRuleCall_2()); } + ruleIntegerTypeScope + { after(grammarAccess.getTypeScopeAccess().getIntegerTypeScopeParserRuleCall_2()); } + ) + | + ( + { before(grammarAccess.getTypeScopeAccess().getRealTypeScopeParserRuleCall_3()); } + ruleRealTypeScope + { after(grammarAccess.getTypeScopeAccess().getRealTypeScopeParserRuleCall_3()); } + ) + | + ( + { before(grammarAccess.getTypeScopeAccess().getStringTypeScopeParserRuleCall_4()); } + ruleStringTypeScope + { after(grammarAccess.getTypeScopeAccess().getStringTypeScopeParserRuleCall_4()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__ClassTypeScope__Alternatives_2 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getClassTypeScopeAccess().getSetsNewAssignment_2_0()); } + (rule__ClassTypeScope__SetsNewAssignment_2_0) + { after(grammarAccess.getClassTypeScopeAccess().getSetsNewAssignment_2_0()); } + ) + | + ( + { before(grammarAccess.getClassTypeScopeAccess().getSetsSumAssignment_2_1()); } + (rule__ClassTypeScope__SetsSumAssignment_2_1) + { after(grammarAccess.getClassTypeScopeAccess().getSetsSumAssignment_2_1()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__ClassTypeScope__Alternatives_3 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getClassTypeScopeAccess().getNumberAssignment_3_0()); } + (rule__ClassTypeScope__NumberAssignment_3_0) + { after(grammarAccess.getClassTypeScopeAccess().getNumberAssignment_3_0()); } + ) + | + ( + { before(grammarAccess.getClassTypeScopeAccess().getNumberAssignment_3_1()); } + (rule__ClassTypeScope__NumberAssignment_3_1) + { after(grammarAccess.getClassTypeScopeAccess().getNumberAssignment_3_1()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__ObjectTypeScope__Alternatives_2 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getObjectTypeScopeAccess().getSetsNewAssignment_2_0()); } + (rule__ObjectTypeScope__SetsNewAssignment_2_0) + { after(grammarAccess.getObjectTypeScopeAccess().getSetsNewAssignment_2_0()); } + ) + | + ( + { before(grammarAccess.getObjectTypeScopeAccess().getSetsSumAssignment_2_1()); } + (rule__ObjectTypeScope__SetsSumAssignment_2_1) + { after(grammarAccess.getObjectTypeScopeAccess().getSetsSumAssignment_2_1()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__ObjectTypeScope__Alternatives_3 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getObjectTypeScopeAccess().getNumberAssignment_3_0()); } + (rule__ObjectTypeScope__NumberAssignment_3_0) + { after(grammarAccess.getObjectTypeScopeAccess().getNumberAssignment_3_0()); } + ) + | + ( + { before(grammarAccess.getObjectTypeScopeAccess().getNumberAssignment_3_1()); } + (rule__ObjectTypeScope__NumberAssignment_3_1) + { after(grammarAccess.getObjectTypeScopeAccess().getNumberAssignment_3_1()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__IntegerTypeScope__Alternatives_2 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getIntegerTypeScopeAccess().getSetsNewAssignment_2_0()); } + (rule__IntegerTypeScope__SetsNewAssignment_2_0) + { after(grammarAccess.getIntegerTypeScopeAccess().getSetsNewAssignment_2_0()); } + ) + | + ( + { before(grammarAccess.getIntegerTypeScopeAccess().getSetsSumAssignment_2_1()); } + (rule__IntegerTypeScope__SetsSumAssignment_2_1) + { after(grammarAccess.getIntegerTypeScopeAccess().getSetsSumAssignment_2_1()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__IntegerTypeScope__Alternatives_3 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getIntegerTypeScopeAccess().getNumberAssignment_3_0()); } + (rule__IntegerTypeScope__NumberAssignment_3_0) + { after(grammarAccess.getIntegerTypeScopeAccess().getNumberAssignment_3_0()); } + ) + | + ( + { before(grammarAccess.getIntegerTypeScopeAccess().getNumberAssignment_3_1()); } + (rule__IntegerTypeScope__NumberAssignment_3_1) + { after(grammarAccess.getIntegerTypeScopeAccess().getNumberAssignment_3_1()); } + ) + | + ( + { before(grammarAccess.getIntegerTypeScopeAccess().getNumberAssignment_3_2()); } + (rule__IntegerTypeScope__NumberAssignment_3_2) + { after(grammarAccess.getIntegerTypeScopeAccess().getNumberAssignment_3_2()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__RealTypeScope__Alternatives_2 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getRealTypeScopeAccess().getSetsNewAssignment_2_0()); } + (rule__RealTypeScope__SetsNewAssignment_2_0) + { after(grammarAccess.getRealTypeScopeAccess().getSetsNewAssignment_2_0()); } + ) + | + ( + { before(grammarAccess.getRealTypeScopeAccess().getSetsSumAssignment_2_1()); } + (rule__RealTypeScope__SetsSumAssignment_2_1) + { after(grammarAccess.getRealTypeScopeAccess().getSetsSumAssignment_2_1()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__RealTypeScope__Alternatives_3 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getRealTypeScopeAccess().getNumberAssignment_3_0()); } + (rule__RealTypeScope__NumberAssignment_3_0) + { after(grammarAccess.getRealTypeScopeAccess().getNumberAssignment_3_0()); } + ) + | + ( + { before(grammarAccess.getRealTypeScopeAccess().getNumberAssignment_3_1()); } + (rule__RealTypeScope__NumberAssignment_3_1) + { after(grammarAccess.getRealTypeScopeAccess().getNumberAssignment_3_1()); } + ) + | + ( + { before(grammarAccess.getRealTypeScopeAccess().getNumberAssignment_3_2()); } + (rule__RealTypeScope__NumberAssignment_3_2) + { after(grammarAccess.getRealTypeScopeAccess().getNumberAssignment_3_2()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__StringTypeScope__Alternatives_2 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getStringTypeScopeAccess().getSetsNewAssignment_2_0()); } + (rule__StringTypeScope__SetsNewAssignment_2_0) + { after(grammarAccess.getStringTypeScopeAccess().getSetsNewAssignment_2_0()); } + ) + | + ( + { before(grammarAccess.getStringTypeScopeAccess().getSetsSumAssignment_2_1()); } + (rule__StringTypeScope__SetsSumAssignment_2_1) + { after(grammarAccess.getStringTypeScopeAccess().getSetsSumAssignment_2_1()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__StringTypeScope__Alternatives_3 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getStringTypeScopeAccess().getNumberAssignment_3_0()); } + (rule__StringTypeScope__NumberAssignment_3_0) + { after(grammarAccess.getStringTypeScopeAccess().getNumberAssignment_3_0()); } + ) + | + ( + { before(grammarAccess.getStringTypeScopeAccess().getNumberAssignment_3_1()); } + (rule__StringTypeScope__NumberAssignment_3_1) + { after(grammarAccess.getStringTypeScopeAccess().getNumberAssignment_3_1()); } + ) + | + ( + { before(grammarAccess.getStringTypeScopeAccess().getNumberAssignment_3_2()); } + (rule__StringTypeScope__NumberAssignment_3_2) + { after(grammarAccess.getStringTypeScopeAccess().getNumberAssignment_3_2()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__ExactNumber__Alternatives + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getExactNumberAccess().getExactNumberAssignment_0()); } + (rule__ExactNumber__ExactNumberAssignment_0) + { after(grammarAccess.getExactNumberAccess().getExactNumberAssignment_0()); } + ) + | + ( + { before(grammarAccess.getExactNumberAccess().getExactUnlimitedAssignment_1()); } + (rule__ExactNumber__ExactUnlimitedAssignment_1) + { after(grammarAccess.getExactNumberAccess().getExactUnlimitedAssignment_1()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__IntervallNumber__Alternatives_2 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getIntervallNumberAccess().getMaxNumberAssignment_2_0()); } + (rule__IntervallNumber__MaxNumberAssignment_2_0) + { after(grammarAccess.getIntervallNumberAccess().getMaxNumberAssignment_2_0()); } + ) + | + ( + { before(grammarAccess.getIntervallNumberAccess().getMaxUnlimitedAssignment_2_1()); } + (rule__IntervallNumber__MaxUnlimitedAssignment_2_1) + { after(grammarAccess.getIntervallNumberAccess().getMaxUnlimitedAssignment_2_1()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__Scope__Alternatives + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getScopeAccess().getScopeSpecificationParserRuleCall_0()); } + ruleScopeSpecification + { after(grammarAccess.getScopeAccess().getScopeSpecificationParserRuleCall_0()); } + ) + | + ( + { before(grammarAccess.getScopeAccess().getScopeReferenceParserRuleCall_1()); } + ruleScopeReference + { after(grammarAccess.getScopeAccess().getScopeReferenceParserRuleCall_1()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__OptimizationDirection__Alternatives + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getOptimizationDirectionAccess().getMINIMIZEEnumLiteralDeclaration_0()); } + ('minimize') + { after(grammarAccess.getOptimizationDirectionAccess().getMINIMIZEEnumLiteralDeclaration_0()); } + ) + | + ( + { before(grammarAccess.getOptimizationDirectionAccess().getMAXIMIZEEnumLiteralDeclaration_1()); } + ('maximize') + { after(grammarAccess.getOptimizationDirectionAccess().getMAXIMIZEEnumLiteralDeclaration_1()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__ComparisonOperator__Alternatives + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getComparisonOperatorAccess().getLESS_EQUALSEnumLiteralDeclaration_0()); } + ('<=') + { after(grammarAccess.getComparisonOperatorAccess().getLESS_EQUALSEnumLiteralDeclaration_0()); } + ) + | + ( + { before(grammarAccess.getComparisonOperatorAccess().getGREATER_EQUALSEnumLiteralDeclaration_1()); } + ('>=') + { after(grammarAccess.getComparisonOperatorAccess().getGREATER_EQUALSEnumLiteralDeclaration_1()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__DocumentLevelSpecification__Alternatives + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getDocumentLevelSpecificationAccess().getNoneEnumLiteralDeclaration_0()); } + ('none') + { after(grammarAccess.getDocumentLevelSpecificationAccess().getNoneEnumLiteralDeclaration_0()); } + ) + | + ( + { before(grammarAccess.getDocumentLevelSpecificationAccess().getNormalEnumLiteralDeclaration_1()); } + ('normal') + { after(grammarAccess.getDocumentLevelSpecificationAccess().getNormalEnumLiteralDeclaration_1()); } + ) + | + ( + { before(grammarAccess.getDocumentLevelSpecificationAccess().getFullEnumLiteralDeclaration_2()); } + ('full') + { after(grammarAccess.getDocumentLevelSpecificationAccess().getFullEnumLiteralDeclaration_2()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__Solver__Alternatives + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getSolverAccess().getSMTSolverEnumLiteralDeclaration_0()); } + ('SMTSolver') + { after(grammarAccess.getSolverAccess().getSMTSolverEnumLiteralDeclaration_0()); } + ) + | + ( + { before(grammarAccess.getSolverAccess().getAlloySolverEnumLiteralDeclaration_1()); } + ('AlloySolver') + { after(grammarAccess.getSolverAccess().getAlloySolverEnumLiteralDeclaration_1()); } + ) + | + ( + { before(grammarAccess.getSolverAccess().getViatraSolverEnumLiteralDeclaration_2()); } + ('ViatraSolver') + { after(grammarAccess.getSolverAccess().getViatraSolverEnumLiteralDeclaration_2()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__ConfigurationScript__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__ConfigurationScript__Group__0__Impl + rule__ConfigurationScript__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__ConfigurationScript__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getConfigurationScriptAccess().getImportsAssignment_0()); } + (rule__ConfigurationScript__ImportsAssignment_0)* + { after(grammarAccess.getConfigurationScriptAccess().getImportsAssignment_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__ConfigurationScript__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__ConfigurationScript__Group__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__ConfigurationScript__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getConfigurationScriptAccess().getCommandsAssignment_1()); } + (rule__ConfigurationScript__CommandsAssignment_1)* + { after(grammarAccess.getConfigurationScriptAccess().getCommandsAssignment_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__QualifiedName__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__QualifiedName__Group__0__Impl + rule__QualifiedName__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__QualifiedName__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_0()); } + RULE_ID + { after(grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__QualifiedName__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__QualifiedName__Group__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__QualifiedName__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getQualifiedNameAccess().getGroup_1()); } + (rule__QualifiedName__Group_1__0)* + { after(grammarAccess.getQualifiedNameAccess().getGroup_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__QualifiedName__Group_1__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__QualifiedName__Group_1__0__Impl + rule__QualifiedName__Group_1__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__QualifiedName__Group_1__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getQualifiedNameAccess().getFullStopKeyword_1_0()); } + '.' + { after(grammarAccess.getQualifiedNameAccess().getFullStopKeyword_1_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__QualifiedName__Group_1__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__QualifiedName__Group_1__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__QualifiedName__Group_1__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_1_1()); } + RULE_ID + { after(grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_1_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__REALLiteral__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__REALLiteral__Group__0__Impl + rule__REALLiteral__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__REALLiteral__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getREALLiteralAccess().getHyphenMinusKeyword_0()); } + ('-')? + { after(grammarAccess.getREALLiteralAccess().getHyphenMinusKeyword_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__REALLiteral__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__REALLiteral__Group__1__Impl + rule__REALLiteral__Group__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__REALLiteral__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getREALLiteralAccess().getINTTerminalRuleCall_1()); } + RULE_INT + { after(grammarAccess.getREALLiteralAccess().getINTTerminalRuleCall_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__REALLiteral__Group__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__REALLiteral__Group__2__Impl + rule__REALLiteral__Group__3 +; +finally { + restoreStackSize(stackSize); +} + +rule__REALLiteral__Group__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getREALLiteralAccess().getFullStopKeyword_2()); } + '.' + { after(grammarAccess.getREALLiteralAccess().getFullStopKeyword_2()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__REALLiteral__Group__3 + @init { + int stackSize = keepStackSize(); + } +: + rule__REALLiteral__Group__3__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__REALLiteral__Group__3__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getREALLiteralAccess().getINTTerminalRuleCall_3()); } + RULE_INT + { after(grammarAccess.getREALLiteralAccess().getINTTerminalRuleCall_3()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__INTLiteral__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__INTLiteral__Group__0__Impl + rule__INTLiteral__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__INTLiteral__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getINTLiteralAccess().getHyphenMinusKeyword_0()); } + ('-')? + { after(grammarAccess.getINTLiteralAccess().getHyphenMinusKeyword_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__INTLiteral__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__INTLiteral__Group__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__INTLiteral__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getINTLiteralAccess().getINTTerminalRuleCall_1()); } + RULE_INT + { after(grammarAccess.getINTLiteralAccess().getINTTerminalRuleCall_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__EPackageImport__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__EPackageImport__Group__0__Impl + rule__EPackageImport__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__EPackageImport__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getEPackageImportAccess().getImportKeyword_0()); } + 'import' + { after(grammarAccess.getEPackageImportAccess().getImportKeyword_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__EPackageImport__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__EPackageImport__Group__1__Impl + rule__EPackageImport__Group__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__EPackageImport__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getEPackageImportAccess().getEpackageKeyword_1()); } + 'epackage' + { after(grammarAccess.getEPackageImportAccess().getEpackageKeyword_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__EPackageImport__Group__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__EPackageImport__Group__2__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__EPackageImport__Group__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getEPackageImportAccess().getImportedPackageAssignment_2()); } + (rule__EPackageImport__ImportedPackageAssignment_2) + { after(grammarAccess.getEPackageImportAccess().getImportedPackageAssignment_2()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__ViatraImport__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__ViatraImport__Group__0__Impl + rule__ViatraImport__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__ViatraImport__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getViatraImportAccess().getImportKeyword_0()); } + 'import' + { after(grammarAccess.getViatraImportAccess().getImportKeyword_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__ViatraImport__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__ViatraImport__Group__1__Impl + rule__ViatraImport__Group__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__ViatraImport__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getViatraImportAccess().getViatraKeyword_1()); } + 'viatra' + { after(grammarAccess.getViatraImportAccess().getViatraKeyword_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__ViatraImport__Group__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__ViatraImport__Group__2__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__ViatraImport__Group__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getViatraImportAccess().getImportedViatraAssignment_2()); } + (rule__ViatraImport__ImportedViatraAssignment_2) + { after(grammarAccess.getViatraImportAccess().getImportedViatraAssignment_2()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__CftImport__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__CftImport__Group__0__Impl + rule__CftImport__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__CftImport__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getCftImportAccess().getImportKeyword_0()); } + 'import' + { after(grammarAccess.getCftImportAccess().getImportKeyword_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__CftImport__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__CftImport__Group__1__Impl + rule__CftImport__Group__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__CftImport__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getCftImportAccess().getReliabilityKeyword_1()); } + 'reliability' + { after(grammarAccess.getCftImportAccess().getReliabilityKeyword_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__CftImport__Group__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__CftImport__Group__2__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__CftImport__Group__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getCftImportAccess().getImportedCftAssignment_2()); } + (rule__CftImport__ImportedCftAssignment_2) + { after(grammarAccess.getCftImportAccess().getImportedCftAssignment_2()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__FileDeclaration__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__FileDeclaration__Group__0__Impl + rule__FileDeclaration__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__FileDeclaration__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getFileDeclarationAccess().getFileKeyword_0()); } + 'file' + { after(grammarAccess.getFileDeclarationAccess().getFileKeyword_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__FileDeclaration__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__FileDeclaration__Group__1__Impl + rule__FileDeclaration__Group__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__FileDeclaration__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getFileDeclarationAccess().getNameAssignment_1()); } + (rule__FileDeclaration__NameAssignment_1) + { after(grammarAccess.getFileDeclarationAccess().getNameAssignment_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__FileDeclaration__Group__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__FileDeclaration__Group__2__Impl + rule__FileDeclaration__Group__3 +; +finally { + restoreStackSize(stackSize); +} + +rule__FileDeclaration__Group__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getFileDeclarationAccess().getEqualsSignKeyword_2()); } + '=' + { after(grammarAccess.getFileDeclarationAccess().getEqualsSignKeyword_2()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__FileDeclaration__Group__3 + @init { + int stackSize = keepStackSize(); + } +: + rule__FileDeclaration__Group__3__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__FileDeclaration__Group__3__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getFileDeclarationAccess().getSpecificationAssignment_3()); } + (rule__FileDeclaration__SpecificationAssignment_3) + { after(grammarAccess.getFileDeclarationAccess().getSpecificationAssignment_3()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__MetamodelSpecification__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__MetamodelSpecification__Group__0__Impl + rule__MetamodelSpecification__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__MetamodelSpecification__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getMetamodelSpecificationAccess().getLeftCurlyBracketKeyword_0()); } + '{' + { after(grammarAccess.getMetamodelSpecificationAccess().getLeftCurlyBracketKeyword_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__MetamodelSpecification__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__MetamodelSpecification__Group__1__Impl + rule__MetamodelSpecification__Group__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__MetamodelSpecification__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getMetamodelSpecificationAccess().getEntriesAssignment_1()); } + (rule__MetamodelSpecification__EntriesAssignment_1) + { after(grammarAccess.getMetamodelSpecificationAccess().getEntriesAssignment_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__MetamodelSpecification__Group__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__MetamodelSpecification__Group__2__Impl + rule__MetamodelSpecification__Group__3 +; +finally { + restoreStackSize(stackSize); +} + +rule__MetamodelSpecification__Group__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getMetamodelSpecificationAccess().getGroup_2()); } + (rule__MetamodelSpecification__Group_2__0)* + { after(grammarAccess.getMetamodelSpecificationAccess().getGroup_2()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__MetamodelSpecification__Group__3 + @init { + int stackSize = keepStackSize(); + } +: + rule__MetamodelSpecification__Group__3__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__MetamodelSpecification__Group__3__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getMetamodelSpecificationAccess().getRightCurlyBracketKeyword_3()); } + '}' + { after(grammarAccess.getMetamodelSpecificationAccess().getRightCurlyBracketKeyword_3()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__MetamodelSpecification__Group_2__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__MetamodelSpecification__Group_2__0__Impl + rule__MetamodelSpecification__Group_2__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__MetamodelSpecification__Group_2__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getMetamodelSpecificationAccess().getCommaKeyword_2_0()); } + ',' + { after(grammarAccess.getMetamodelSpecificationAccess().getCommaKeyword_2_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__MetamodelSpecification__Group_2__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__MetamodelSpecification__Group_2__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__MetamodelSpecification__Group_2__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getMetamodelSpecificationAccess().getEntriesAssignment_2_1()); } + (rule__MetamodelSpecification__EntriesAssignment_2_1) + { after(grammarAccess.getMetamodelSpecificationAccess().getEntriesAssignment_2_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__AllPackageEntry__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__AllPackageEntry__Group__0__Impl + rule__AllPackageEntry__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__AllPackageEntry__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getAllPackageEntryAccess().getPackageKeyword_0()); } + 'package' + { after(grammarAccess.getAllPackageEntryAccess().getPackageKeyword_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__AllPackageEntry__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__AllPackageEntry__Group__1__Impl + rule__AllPackageEntry__Group__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__AllPackageEntry__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getAllPackageEntryAccess().getPackageAssignment_1()); } + (rule__AllPackageEntry__PackageAssignment_1) + { after(grammarAccess.getAllPackageEntryAccess().getPackageAssignment_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__AllPackageEntry__Group__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__AllPackageEntry__Group__2__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__AllPackageEntry__Group__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getAllPackageEntryAccess().getGroup_2()); } + (rule__AllPackageEntry__Group_2__0)? + { after(grammarAccess.getAllPackageEntryAccess().getGroup_2()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__AllPackageEntry__Group_2__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__AllPackageEntry__Group_2__0__Impl + rule__AllPackageEntry__Group_2__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__AllPackageEntry__Group_2__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getAllPackageEntryAccess().getExcludingKeyword_2_0()); } + 'excluding' + { after(grammarAccess.getAllPackageEntryAccess().getExcludingKeyword_2_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__AllPackageEntry__Group_2__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__AllPackageEntry__Group_2__1__Impl + rule__AllPackageEntry__Group_2__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__AllPackageEntry__Group_2__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getAllPackageEntryAccess().getLeftCurlyBracketKeyword_2_1()); } + '{' + { after(grammarAccess.getAllPackageEntryAccess().getLeftCurlyBracketKeyword_2_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__AllPackageEntry__Group_2__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__AllPackageEntry__Group_2__2__Impl + rule__AllPackageEntry__Group_2__3 +; +finally { + restoreStackSize(stackSize); +} + +rule__AllPackageEntry__Group_2__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getAllPackageEntryAccess().getExclusionAssignment_2_2()); } + (rule__AllPackageEntry__ExclusionAssignment_2_2) + { after(grammarAccess.getAllPackageEntryAccess().getExclusionAssignment_2_2()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__AllPackageEntry__Group_2__3 + @init { + int stackSize = keepStackSize(); + } +: + rule__AllPackageEntry__Group_2__3__Impl + rule__AllPackageEntry__Group_2__4 +; +finally { + restoreStackSize(stackSize); +} + +rule__AllPackageEntry__Group_2__3__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getAllPackageEntryAccess().getGroup_2_3()); } + (rule__AllPackageEntry__Group_2_3__0)* + { after(grammarAccess.getAllPackageEntryAccess().getGroup_2_3()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__AllPackageEntry__Group_2__4 + @init { + int stackSize = keepStackSize(); + } +: + rule__AllPackageEntry__Group_2__4__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__AllPackageEntry__Group_2__4__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getAllPackageEntryAccess().getRightCurlyBracketKeyword_2_4()); } + '}' + { after(grammarAccess.getAllPackageEntryAccess().getRightCurlyBracketKeyword_2_4()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__AllPackageEntry__Group_2_3__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__AllPackageEntry__Group_2_3__0__Impl + rule__AllPackageEntry__Group_2_3__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__AllPackageEntry__Group_2_3__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getAllPackageEntryAccess().getCommaKeyword_2_3_0()); } + ',' + { after(grammarAccess.getAllPackageEntryAccess().getCommaKeyword_2_3_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__AllPackageEntry__Group_2_3__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__AllPackageEntry__Group_2_3__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__AllPackageEntry__Group_2_3__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getAllPackageEntryAccess().getExclusionAssignment_2_3_1()); } + (rule__AllPackageEntry__ExclusionAssignment_2_3_1) + { after(grammarAccess.getAllPackageEntryAccess().getExclusionAssignment_2_3_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__MetamodelElement__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__MetamodelElement__Group__0__Impl + rule__MetamodelElement__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__MetamodelElement__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getMetamodelElementAccess().getGroup_0()); } + (rule__MetamodelElement__Group_0__0)? + { after(grammarAccess.getMetamodelElementAccess().getGroup_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__MetamodelElement__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__MetamodelElement__Group__1__Impl + rule__MetamodelElement__Group__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__MetamodelElement__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getMetamodelElementAccess().getClassifierAssignment_1()); } + (rule__MetamodelElement__ClassifierAssignment_1) + { after(grammarAccess.getMetamodelElementAccess().getClassifierAssignment_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__MetamodelElement__Group__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__MetamodelElement__Group__2__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__MetamodelElement__Group__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getMetamodelElementAccess().getGroup_2()); } + (rule__MetamodelElement__Group_2__0)? + { after(grammarAccess.getMetamodelElementAccess().getGroup_2()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__MetamodelElement__Group_0__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__MetamodelElement__Group_0__0__Impl + rule__MetamodelElement__Group_0__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__MetamodelElement__Group_0__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getMetamodelElementAccess().getPackageAssignment_0_0()); } + (rule__MetamodelElement__PackageAssignment_0_0) + { after(grammarAccess.getMetamodelElementAccess().getPackageAssignment_0_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__MetamodelElement__Group_0__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__MetamodelElement__Group_0__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__MetamodelElement__Group_0__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getMetamodelElementAccess().getColonColonKeyword_0_1()); } + '::' + { after(grammarAccess.getMetamodelElementAccess().getColonColonKeyword_0_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__MetamodelElement__Group_2__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__MetamodelElement__Group_2__0__Impl + rule__MetamodelElement__Group_2__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__MetamodelElement__Group_2__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getMetamodelElementAccess().getFullStopKeyword_2_0()); } + '.' + { after(grammarAccess.getMetamodelElementAccess().getFullStopKeyword_2_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__MetamodelElement__Group_2__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__MetamodelElement__Group_2__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__MetamodelElement__Group_2__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getMetamodelElementAccess().getFeatureAssignment_2_1()); } + (rule__MetamodelElement__FeatureAssignment_2_1) + { after(grammarAccess.getMetamodelElementAccess().getFeatureAssignment_2_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__MetamodelDeclaration__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__MetamodelDeclaration__Group__0__Impl + rule__MetamodelDeclaration__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__MetamodelDeclaration__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getMetamodelDeclarationAccess().getMetamodelKeyword_0()); } + 'metamodel' + { after(grammarAccess.getMetamodelDeclarationAccess().getMetamodelKeyword_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__MetamodelDeclaration__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__MetamodelDeclaration__Group__1__Impl + rule__MetamodelDeclaration__Group__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__MetamodelDeclaration__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getMetamodelDeclarationAccess().getNameAssignment_1()); } + (rule__MetamodelDeclaration__NameAssignment_1) + { after(grammarAccess.getMetamodelDeclarationAccess().getNameAssignment_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__MetamodelDeclaration__Group__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__MetamodelDeclaration__Group__2__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__MetamodelDeclaration__Group__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getMetamodelDeclarationAccess().getSpecificationAssignment_2()); } + (rule__MetamodelDeclaration__SpecificationAssignment_2) + { after(grammarAccess.getMetamodelDeclarationAccess().getSpecificationAssignment_2()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__PartialModelSpecification__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__PartialModelSpecification__Group__0__Impl + rule__PartialModelSpecification__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__PartialModelSpecification__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getPartialModelSpecificationAccess().getLeftCurlyBracketKeyword_0()); } + '{' + { after(grammarAccess.getPartialModelSpecificationAccess().getLeftCurlyBracketKeyword_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__PartialModelSpecification__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__PartialModelSpecification__Group__1__Impl + rule__PartialModelSpecification__Group__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__PartialModelSpecification__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getPartialModelSpecificationAccess().getEntryAssignment_1()); } + (rule__PartialModelSpecification__EntryAssignment_1) + { after(grammarAccess.getPartialModelSpecificationAccess().getEntryAssignment_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__PartialModelSpecification__Group__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__PartialModelSpecification__Group__2__Impl + rule__PartialModelSpecification__Group__3 +; +finally { + restoreStackSize(stackSize); +} + +rule__PartialModelSpecification__Group__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getPartialModelSpecificationAccess().getGroup_2()); } + (rule__PartialModelSpecification__Group_2__0)? + { after(grammarAccess.getPartialModelSpecificationAccess().getGroup_2()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__PartialModelSpecification__Group__3 + @init { + int stackSize = keepStackSize(); + } +: + rule__PartialModelSpecification__Group__3__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__PartialModelSpecification__Group__3__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getPartialModelSpecificationAccess().getRightCurlyBracketKeyword_3()); } + '}' + { after(grammarAccess.getPartialModelSpecificationAccess().getRightCurlyBracketKeyword_3()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__PartialModelSpecification__Group_2__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__PartialModelSpecification__Group_2__0__Impl + rule__PartialModelSpecification__Group_2__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__PartialModelSpecification__Group_2__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getPartialModelSpecificationAccess().getCommaKeyword_2_0()); } + ',' + { after(grammarAccess.getPartialModelSpecificationAccess().getCommaKeyword_2_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__PartialModelSpecification__Group_2__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__PartialModelSpecification__Group_2__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__PartialModelSpecification__Group_2__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getPartialModelSpecificationAccess().getEntryAssignment_2_1()); } + (rule__PartialModelSpecification__EntryAssignment_2_1) + { after(grammarAccess.getPartialModelSpecificationAccess().getEntryAssignment_2_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__FolderEntry__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__FolderEntry__Group__0__Impl + rule__FolderEntry__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__FolderEntry__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getFolderEntryAccess().getFolderKeyword_0()); } + 'folder' + { after(grammarAccess.getFolderEntryAccess().getFolderKeyword_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__FolderEntry__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__FolderEntry__Group__1__Impl + rule__FolderEntry__Group__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__FolderEntry__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getFolderEntryAccess().getPathAssignment_1()); } + (rule__FolderEntry__PathAssignment_1) + { after(grammarAccess.getFolderEntryAccess().getPathAssignment_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__FolderEntry__Group__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__FolderEntry__Group__2__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__FolderEntry__Group__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getFolderEntryAccess().getGroup_2()); } + (rule__FolderEntry__Group_2__0)? + { after(grammarAccess.getFolderEntryAccess().getGroup_2()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__FolderEntry__Group_2__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__FolderEntry__Group_2__0__Impl + rule__FolderEntry__Group_2__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__FolderEntry__Group_2__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getFolderEntryAccess().getExcludingKeyword_2_0()); } + 'excluding' + { after(grammarAccess.getFolderEntryAccess().getExcludingKeyword_2_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__FolderEntry__Group_2__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__FolderEntry__Group_2__1__Impl + rule__FolderEntry__Group_2__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__FolderEntry__Group_2__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getFolderEntryAccess().getLeftCurlyBracketKeyword_2_1()); } + '{' + { after(grammarAccess.getFolderEntryAccess().getLeftCurlyBracketKeyword_2_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__FolderEntry__Group_2__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__FolderEntry__Group_2__2__Impl + rule__FolderEntry__Group_2__3 +; +finally { + restoreStackSize(stackSize); +} + +rule__FolderEntry__Group_2__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getFolderEntryAccess().getExclusionAssignment_2_2()); } + (rule__FolderEntry__ExclusionAssignment_2_2) + { after(grammarAccess.getFolderEntryAccess().getExclusionAssignment_2_2()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__FolderEntry__Group_2__3 + @init { + int stackSize = keepStackSize(); + } +: + rule__FolderEntry__Group_2__3__Impl + rule__FolderEntry__Group_2__4 +; +finally { + restoreStackSize(stackSize); +} + +rule__FolderEntry__Group_2__3__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getFolderEntryAccess().getGroup_2_3()); } + (rule__FolderEntry__Group_2_3__0)* + { after(grammarAccess.getFolderEntryAccess().getGroup_2_3()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__FolderEntry__Group_2__4 + @init { + int stackSize = keepStackSize(); + } +: + rule__FolderEntry__Group_2__4__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__FolderEntry__Group_2__4__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getFolderEntryAccess().getRightCurlyBracketKeyword_2_4()); } + '}' + { after(grammarAccess.getFolderEntryAccess().getRightCurlyBracketKeyword_2_4()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__FolderEntry__Group_2_3__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__FolderEntry__Group_2_3__0__Impl + rule__FolderEntry__Group_2_3__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__FolderEntry__Group_2_3__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getFolderEntryAccess().getCommaKeyword_2_3_0()); } + ',' + { after(grammarAccess.getFolderEntryAccess().getCommaKeyword_2_3_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__FolderEntry__Group_2_3__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__FolderEntry__Group_2_3__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__FolderEntry__Group_2_3__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getFolderEntryAccess().getExclusionAssignment_2_3_1()); } + (rule__FolderEntry__ExclusionAssignment_2_3_1) + { after(grammarAccess.getFolderEntryAccess().getExclusionAssignment_2_3_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__PartialModelDeclaration__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__PartialModelDeclaration__Group__0__Impl + rule__PartialModelDeclaration__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__PartialModelDeclaration__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getPartialModelDeclarationAccess().getModelsKeyword_0()); } + 'models' + { after(grammarAccess.getPartialModelDeclarationAccess().getModelsKeyword_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__PartialModelDeclaration__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__PartialModelDeclaration__Group__1__Impl + rule__PartialModelDeclaration__Group__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__PartialModelDeclaration__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getPartialModelDeclarationAccess().getNameAssignment_1()); } + (rule__PartialModelDeclaration__NameAssignment_1) + { after(grammarAccess.getPartialModelDeclarationAccess().getNameAssignment_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__PartialModelDeclaration__Group__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__PartialModelDeclaration__Group__2__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__PartialModelDeclaration__Group__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getPartialModelDeclarationAccess().getSpecificationAssignment_2()); } + (rule__PartialModelDeclaration__SpecificationAssignment_2) + { after(grammarAccess.getPartialModelDeclarationAccess().getSpecificationAssignment_2()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__PatternSpecification__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__PatternSpecification__Group__0__Impl + rule__PatternSpecification__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__PatternSpecification__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getPatternSpecificationAccess().getLeftCurlyBracketKeyword_0()); } + '{' + { after(grammarAccess.getPatternSpecificationAccess().getLeftCurlyBracketKeyword_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__PatternSpecification__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__PatternSpecification__Group__1__Impl + rule__PatternSpecification__Group__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__PatternSpecification__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getPatternSpecificationAccess().getEntriesAssignment_1()); } + (rule__PatternSpecification__EntriesAssignment_1) + { after(grammarAccess.getPatternSpecificationAccess().getEntriesAssignment_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__PatternSpecification__Group__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__PatternSpecification__Group__2__Impl + rule__PatternSpecification__Group__3 +; +finally { + restoreStackSize(stackSize); +} + +rule__PatternSpecification__Group__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getPatternSpecificationAccess().getGroup_2()); } + (rule__PatternSpecification__Group_2__0)* + { after(grammarAccess.getPatternSpecificationAccess().getGroup_2()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__PatternSpecification__Group__3 + @init { + int stackSize = keepStackSize(); + } +: + rule__PatternSpecification__Group__3__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__PatternSpecification__Group__3__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getPatternSpecificationAccess().getRightCurlyBracketKeyword_3()); } + '}' + { after(grammarAccess.getPatternSpecificationAccess().getRightCurlyBracketKeyword_3()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__PatternSpecification__Group_2__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__PatternSpecification__Group_2__0__Impl + rule__PatternSpecification__Group_2__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__PatternSpecification__Group_2__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getPatternSpecificationAccess().getCommaKeyword_2_0()); } + ',' + { after(grammarAccess.getPatternSpecificationAccess().getCommaKeyword_2_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__PatternSpecification__Group_2__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__PatternSpecification__Group_2__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__PatternSpecification__Group_2__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getPatternSpecificationAccess().getEntriesAssignment_2_1()); } + (rule__PatternSpecification__EntriesAssignment_2_1) + { after(grammarAccess.getPatternSpecificationAccess().getEntriesAssignment_2_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__AllPatternEntry__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__AllPatternEntry__Group__0__Impl + rule__AllPatternEntry__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__AllPatternEntry__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getAllPatternEntryAccess().getPackageKeyword_0()); } + 'package' + { after(grammarAccess.getAllPatternEntryAccess().getPackageKeyword_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__AllPatternEntry__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__AllPatternEntry__Group__1__Impl + rule__AllPatternEntry__Group__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__AllPatternEntry__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getAllPatternEntryAccess().getPackageAssignment_1()); } + (rule__AllPatternEntry__PackageAssignment_1) + { after(grammarAccess.getAllPatternEntryAccess().getPackageAssignment_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__AllPatternEntry__Group__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__AllPatternEntry__Group__2__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__AllPatternEntry__Group__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getAllPatternEntryAccess().getGroup_2()); } + (rule__AllPatternEntry__Group_2__0)? + { after(grammarAccess.getAllPatternEntryAccess().getGroup_2()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__AllPatternEntry__Group_2__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__AllPatternEntry__Group_2__0__Impl + rule__AllPatternEntry__Group_2__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__AllPatternEntry__Group_2__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getAllPatternEntryAccess().getExcludingKeyword_2_0()); } + 'excluding' + { after(grammarAccess.getAllPatternEntryAccess().getExcludingKeyword_2_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__AllPatternEntry__Group_2__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__AllPatternEntry__Group_2__1__Impl + rule__AllPatternEntry__Group_2__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__AllPatternEntry__Group_2__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getAllPatternEntryAccess().getLeftCurlyBracketKeyword_2_1()); } + '{' + { after(grammarAccess.getAllPatternEntryAccess().getLeftCurlyBracketKeyword_2_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__AllPatternEntry__Group_2__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__AllPatternEntry__Group_2__2__Impl + rule__AllPatternEntry__Group_2__3 +; +finally { + restoreStackSize(stackSize); +} + +rule__AllPatternEntry__Group_2__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getAllPatternEntryAccess().getExclusuionAssignment_2_2()); } + (rule__AllPatternEntry__ExclusuionAssignment_2_2) + { after(grammarAccess.getAllPatternEntryAccess().getExclusuionAssignment_2_2()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__AllPatternEntry__Group_2__3 + @init { + int stackSize = keepStackSize(); + } +: + rule__AllPatternEntry__Group_2__3__Impl + rule__AllPatternEntry__Group_2__4 +; +finally { + restoreStackSize(stackSize); +} + +rule__AllPatternEntry__Group_2__3__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getAllPatternEntryAccess().getGroup_2_3()); } + (rule__AllPatternEntry__Group_2_3__0)* + { after(grammarAccess.getAllPatternEntryAccess().getGroup_2_3()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__AllPatternEntry__Group_2__4 + @init { + int stackSize = keepStackSize(); + } +: + rule__AllPatternEntry__Group_2__4__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__AllPatternEntry__Group_2__4__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getAllPatternEntryAccess().getRightCurlyBracketKeyword_2_4()); } + '}' + { after(grammarAccess.getAllPatternEntryAccess().getRightCurlyBracketKeyword_2_4()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__AllPatternEntry__Group_2_3__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__AllPatternEntry__Group_2_3__0__Impl + rule__AllPatternEntry__Group_2_3__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__AllPatternEntry__Group_2_3__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getAllPatternEntryAccess().getCommaKeyword_2_3_0()); } + ',' + { after(grammarAccess.getAllPatternEntryAccess().getCommaKeyword_2_3_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__AllPatternEntry__Group_2_3__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__AllPatternEntry__Group_2_3__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__AllPatternEntry__Group_2_3__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getAllPatternEntryAccess().getExclusuionAssignment_2_3_1()); } + (rule__AllPatternEntry__ExclusuionAssignment_2_3_1) + { after(grammarAccess.getAllPatternEntryAccess().getExclusuionAssignment_2_3_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__PatternElement__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__PatternElement__Group__0__Impl + rule__PatternElement__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__PatternElement__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getPatternElementAccess().getGroup_0()); } + (rule__PatternElement__Group_0__0)? + { after(grammarAccess.getPatternElementAccess().getGroup_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__PatternElement__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__PatternElement__Group__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__PatternElement__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getPatternElementAccess().getPatternAssignment_1()); } + (rule__PatternElement__PatternAssignment_1) + { after(grammarAccess.getPatternElementAccess().getPatternAssignment_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__PatternElement__Group_0__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__PatternElement__Group_0__0__Impl + rule__PatternElement__Group_0__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__PatternElement__Group_0__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getPatternElementAccess().getPackageAssignment_0_0()); } + (rule__PatternElement__PackageAssignment_0_0) + { after(grammarAccess.getPatternElementAccess().getPackageAssignment_0_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__PatternElement__Group_0__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__PatternElement__Group_0__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__PatternElement__Group_0__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getPatternElementAccess().getColonColonKeyword_0_1()); } + '::' + { after(grammarAccess.getPatternElementAccess().getColonColonKeyword_0_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__GraphPatternDeclaration__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__GraphPatternDeclaration__Group__0__Impl + rule__GraphPatternDeclaration__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__GraphPatternDeclaration__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getGraphPatternDeclarationAccess().getConstraintsKeyword_0()); } + 'constraints' + { after(grammarAccess.getGraphPatternDeclarationAccess().getConstraintsKeyword_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__GraphPatternDeclaration__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__GraphPatternDeclaration__Group__1__Impl + rule__GraphPatternDeclaration__Group__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__GraphPatternDeclaration__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getGraphPatternDeclarationAccess().getNameAssignment_1()); } + (rule__GraphPatternDeclaration__NameAssignment_1) + { after(grammarAccess.getGraphPatternDeclarationAccess().getNameAssignment_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__GraphPatternDeclaration__Group__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__GraphPatternDeclaration__Group__2__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__GraphPatternDeclaration__Group__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getGraphPatternDeclarationAccess().getSpecificationAssignment_2()); } + (rule__GraphPatternDeclaration__SpecificationAssignment_2) + { after(grammarAccess.getGraphPatternDeclarationAccess().getSpecificationAssignment_2()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__ObjectiveSpecification__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__ObjectiveSpecification__Group__0__Impl + rule__ObjectiveSpecification__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__ObjectiveSpecification__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getObjectiveSpecificationAccess().getLeftCurlyBracketKeyword_0()); } + '{' + { after(grammarAccess.getObjectiveSpecificationAccess().getLeftCurlyBracketKeyword_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__ObjectiveSpecification__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__ObjectiveSpecification__Group__1__Impl + rule__ObjectiveSpecification__Group__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__ObjectiveSpecification__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getObjectiveSpecificationAccess().getEntriesAssignment_1()); } + (rule__ObjectiveSpecification__EntriesAssignment_1) + { after(grammarAccess.getObjectiveSpecificationAccess().getEntriesAssignment_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__ObjectiveSpecification__Group__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__ObjectiveSpecification__Group__2__Impl + rule__ObjectiveSpecification__Group__3 +; +finally { + restoreStackSize(stackSize); +} + +rule__ObjectiveSpecification__Group__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getObjectiveSpecificationAccess().getGroup_2()); } + (rule__ObjectiveSpecification__Group_2__0)* + { after(grammarAccess.getObjectiveSpecificationAccess().getGroup_2()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__ObjectiveSpecification__Group__3 + @init { + int stackSize = keepStackSize(); + } +: + rule__ObjectiveSpecification__Group__3__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__ObjectiveSpecification__Group__3__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getObjectiveSpecificationAccess().getRightCurlyBracketKeyword_3()); } + '}' + { after(grammarAccess.getObjectiveSpecificationAccess().getRightCurlyBracketKeyword_3()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__ObjectiveSpecification__Group_2__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__ObjectiveSpecification__Group_2__0__Impl + rule__ObjectiveSpecification__Group_2__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__ObjectiveSpecification__Group_2__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getObjectiveSpecificationAccess().getCommaKeyword_2_0()); } + ',' + { after(grammarAccess.getObjectiveSpecificationAccess().getCommaKeyword_2_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__ObjectiveSpecification__Group_2__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__ObjectiveSpecification__Group_2__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__ObjectiveSpecification__Group_2__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getObjectiveSpecificationAccess().getEntriesAssignment_2_1()); } + (rule__ObjectiveSpecification__EntriesAssignment_2_1) + { after(grammarAccess.getObjectiveSpecificationAccess().getEntriesAssignment_2_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__OptimizationEntry__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__OptimizationEntry__Group__0__Impl + rule__OptimizationEntry__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__OptimizationEntry__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getOptimizationEntryAccess().getDirectionAssignment_0()); } + (rule__OptimizationEntry__DirectionAssignment_0) + { after(grammarAccess.getOptimizationEntryAccess().getDirectionAssignment_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__OptimizationEntry__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__OptimizationEntry__Group__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__OptimizationEntry__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getOptimizationEntryAccess().getFunctionAssignment_1()); } + (rule__OptimizationEntry__FunctionAssignment_1) + { after(grammarAccess.getOptimizationEntryAccess().getFunctionAssignment_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__ThresholdEntry__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__ThresholdEntry__Group__0__Impl + rule__ThresholdEntry__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__ThresholdEntry__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getThresholdEntryAccess().getFunctionAssignment_0()); } + (rule__ThresholdEntry__FunctionAssignment_0) + { after(grammarAccess.getThresholdEntryAccess().getFunctionAssignment_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__ThresholdEntry__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__ThresholdEntry__Group__1__Impl + rule__ThresholdEntry__Group__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__ThresholdEntry__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getThresholdEntryAccess().getOperatorAssignment_1()); } + (rule__ThresholdEntry__OperatorAssignment_1) + { after(grammarAccess.getThresholdEntryAccess().getOperatorAssignment_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__ThresholdEntry__Group__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__ThresholdEntry__Group__2__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__ThresholdEntry__Group__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getThresholdEntryAccess().getThresholdAssignment_2()); } + (rule__ThresholdEntry__ThresholdAssignment_2) + { after(grammarAccess.getThresholdEntryAccess().getThresholdAssignment_2()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__ReliabiltiyFunction__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__ReliabiltiyFunction__Group__0__Impl + rule__ReliabiltiyFunction__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__ReliabiltiyFunction__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getReliabiltiyFunctionAccess().getReliabilityKeyword_0()); } + 'reliability' + { after(grammarAccess.getReliabiltiyFunctionAccess().getReliabilityKeyword_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__ReliabiltiyFunction__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__ReliabiltiyFunction__Group__1__Impl + rule__ReliabiltiyFunction__Group__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__ReliabiltiyFunction__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getReliabiltiyFunctionAccess().getGroup_1()); } + (rule__ReliabiltiyFunction__Group_1__0)? + { after(grammarAccess.getReliabiltiyFunctionAccess().getGroup_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__ReliabiltiyFunction__Group__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__ReliabiltiyFunction__Group__2__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__ReliabiltiyFunction__Group__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getReliabiltiyFunctionAccess().getTransformationAssignment_2()); } + (rule__ReliabiltiyFunction__TransformationAssignment_2) + { after(grammarAccess.getReliabiltiyFunctionAccess().getTransformationAssignment_2()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__ReliabiltiyFunction__Group_1__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__ReliabiltiyFunction__Group_1__0__Impl + rule__ReliabiltiyFunction__Group_1__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__ReliabiltiyFunction__Group_1__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getReliabiltiyFunctionAccess().getPackageAssignment_1_0()); } + (rule__ReliabiltiyFunction__PackageAssignment_1_0) + { after(grammarAccess.getReliabiltiyFunctionAccess().getPackageAssignment_1_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__ReliabiltiyFunction__Group_1__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__ReliabiltiyFunction__Group_1__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__ReliabiltiyFunction__Group_1__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getReliabiltiyFunctionAccess().getColonColonKeyword_1_1()); } + '::' + { after(grammarAccess.getReliabiltiyFunctionAccess().getColonColonKeyword_1_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__ObjectiveDeclaration__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__ObjectiveDeclaration__Group__0__Impl + rule__ObjectiveDeclaration__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__ObjectiveDeclaration__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getObjectiveDeclarationAccess().getObjectivesKeyword_0()); } + 'objectives' + { after(grammarAccess.getObjectiveDeclarationAccess().getObjectivesKeyword_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__ObjectiveDeclaration__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__ObjectiveDeclaration__Group__1__Impl + rule__ObjectiveDeclaration__Group__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__ObjectiveDeclaration__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getObjectiveDeclarationAccess().getNameAssignment_1()); } + (rule__ObjectiveDeclaration__NameAssignment_1) + { after(grammarAccess.getObjectiveDeclarationAccess().getNameAssignment_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__ObjectiveDeclaration__Group__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__ObjectiveDeclaration__Group__2__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__ObjectiveDeclaration__Group__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getObjectiveDeclarationAccess().getSpecificationAssignment_2()); } + (rule__ObjectiveDeclaration__SpecificationAssignment_2) + { after(grammarAccess.getObjectiveDeclarationAccess().getSpecificationAssignment_2()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__ConfigSpecification__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__ConfigSpecification__Group__0__Impl + rule__ConfigSpecification__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__ConfigSpecification__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getConfigSpecificationAccess().getConfigSpecificationAction_0()); } + () + { after(grammarAccess.getConfigSpecificationAccess().getConfigSpecificationAction_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__ConfigSpecification__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__ConfigSpecification__Group__1__Impl + rule__ConfigSpecification__Group__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__ConfigSpecification__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getConfigSpecificationAccess().getLeftCurlyBracketKeyword_1()); } + '{' + { after(grammarAccess.getConfigSpecificationAccess().getLeftCurlyBracketKeyword_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__ConfigSpecification__Group__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__ConfigSpecification__Group__2__Impl + rule__ConfigSpecification__Group__3 +; +finally { + restoreStackSize(stackSize); +} + +rule__ConfigSpecification__Group__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getConfigSpecificationAccess().getGroup_2()); } + (rule__ConfigSpecification__Group_2__0)? + { after(grammarAccess.getConfigSpecificationAccess().getGroup_2()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__ConfigSpecification__Group__3 + @init { + int stackSize = keepStackSize(); + } +: + rule__ConfigSpecification__Group__3__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__ConfigSpecification__Group__3__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getConfigSpecificationAccess().getRightCurlyBracketKeyword_3()); } + '}' + { after(grammarAccess.getConfigSpecificationAccess().getRightCurlyBracketKeyword_3()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__ConfigSpecification__Group_2__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__ConfigSpecification__Group_2__0__Impl + rule__ConfigSpecification__Group_2__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__ConfigSpecification__Group_2__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getConfigSpecificationAccess().getEntriesAssignment_2_0()); } + (rule__ConfigSpecification__EntriesAssignment_2_0) + { after(grammarAccess.getConfigSpecificationAccess().getEntriesAssignment_2_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__ConfigSpecification__Group_2__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__ConfigSpecification__Group_2__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__ConfigSpecification__Group_2__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getConfigSpecificationAccess().getGroup_2_1()); } + (rule__ConfigSpecification__Group_2_1__0)* + { after(grammarAccess.getConfigSpecificationAccess().getGroup_2_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__ConfigSpecification__Group_2_1__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__ConfigSpecification__Group_2_1__0__Impl + rule__ConfigSpecification__Group_2_1__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__ConfigSpecification__Group_2_1__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getConfigSpecificationAccess().getCommaKeyword_2_1_0()); } + ',' + { after(grammarAccess.getConfigSpecificationAccess().getCommaKeyword_2_1_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__ConfigSpecification__Group_2_1__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__ConfigSpecification__Group_2_1__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__ConfigSpecification__Group_2_1__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getConfigSpecificationAccess().getEntriesAssignment_2_1_1()); } + (rule__ConfigSpecification__EntriesAssignment_2_1_1) + { after(grammarAccess.getConfigSpecificationAccess().getEntriesAssignment_2_1_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__ConfigDeclaration__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__ConfigDeclaration__Group__0__Impl + rule__ConfigDeclaration__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__ConfigDeclaration__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getConfigDeclarationAccess().getConfigKeyword_0()); } + 'config' + { after(grammarAccess.getConfigDeclarationAccess().getConfigKeyword_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__ConfigDeclaration__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__ConfigDeclaration__Group__1__Impl + rule__ConfigDeclaration__Group__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__ConfigDeclaration__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getConfigDeclarationAccess().getNameAssignment_1()); } + (rule__ConfigDeclaration__NameAssignment_1) + { after(grammarAccess.getConfigDeclarationAccess().getNameAssignment_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__ConfigDeclaration__Group__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__ConfigDeclaration__Group__2__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__ConfigDeclaration__Group__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getConfigDeclarationAccess().getSpecificationAssignment_2()); } + (rule__ConfigDeclaration__SpecificationAssignment_2) + { after(grammarAccess.getConfigDeclarationAccess().getSpecificationAssignment_2()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__DocumentationEntry__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__DocumentationEntry__Group__0__Impl + rule__DocumentationEntry__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__DocumentationEntry__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getDocumentationEntryAccess().getLogLevelKeyword_0()); } + 'log-level' + { after(grammarAccess.getDocumentationEntryAccess().getLogLevelKeyword_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__DocumentationEntry__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__DocumentationEntry__Group__1__Impl + rule__DocumentationEntry__Group__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__DocumentationEntry__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getDocumentationEntryAccess().getEqualsSignKeyword_1()); } + '=' + { after(grammarAccess.getDocumentationEntryAccess().getEqualsSignKeyword_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__DocumentationEntry__Group__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__DocumentationEntry__Group__2__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__DocumentationEntry__Group__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getDocumentationEntryAccess().getLevelAssignment_2()); } + (rule__DocumentationEntry__LevelAssignment_2) + { after(grammarAccess.getDocumentationEntryAccess().getLevelAssignment_2()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__RuntimeEntry__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__RuntimeEntry__Group__0__Impl + rule__RuntimeEntry__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__RuntimeEntry__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getRuntimeEntryAccess().getRuntimeKeyword_0()); } + 'runtime' + { after(grammarAccess.getRuntimeEntryAccess().getRuntimeKeyword_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__RuntimeEntry__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__RuntimeEntry__Group__1__Impl + rule__RuntimeEntry__Group__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__RuntimeEntry__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getRuntimeEntryAccess().getEqualsSignKeyword_1()); } + '=' + { after(grammarAccess.getRuntimeEntryAccess().getEqualsSignKeyword_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__RuntimeEntry__Group__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__RuntimeEntry__Group__2__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__RuntimeEntry__Group__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getRuntimeEntryAccess().getMillisecLimitAssignment_2()); } + (rule__RuntimeEntry__MillisecLimitAssignment_2) + { after(grammarAccess.getRuntimeEntryAccess().getMillisecLimitAssignment_2()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__MemoryEntry__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__MemoryEntry__Group__0__Impl + rule__MemoryEntry__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__MemoryEntry__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getMemoryEntryAccess().getMemoryKeyword_0()); } + 'memory' + { after(grammarAccess.getMemoryEntryAccess().getMemoryKeyword_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__MemoryEntry__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__MemoryEntry__Group__1__Impl + rule__MemoryEntry__Group__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__MemoryEntry__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getMemoryEntryAccess().getEqualsSignKeyword_1()); } + '=' + { after(grammarAccess.getMemoryEntryAccess().getEqualsSignKeyword_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__MemoryEntry__Group__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__MemoryEntry__Group__2__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__MemoryEntry__Group__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getMemoryEntryAccess().getMegabyteLimitAssignment_2()); } + (rule__MemoryEntry__MegabyteLimitAssignment_2) + { after(grammarAccess.getMemoryEntryAccess().getMegabyteLimitAssignment_2()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__CustomEntry__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__CustomEntry__Group__0__Impl + rule__CustomEntry__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__CustomEntry__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getCustomEntryAccess().getKeyAssignment_0()); } + (rule__CustomEntry__KeyAssignment_0) + { after(grammarAccess.getCustomEntryAccess().getKeyAssignment_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__CustomEntry__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__CustomEntry__Group__1__Impl + rule__CustomEntry__Group__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__CustomEntry__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getCustomEntryAccess().getEqualsSignKeyword_1()); } + '=' + { after(grammarAccess.getCustomEntryAccess().getEqualsSignKeyword_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__CustomEntry__Group__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__CustomEntry__Group__2__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__CustomEntry__Group__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getCustomEntryAccess().getValueAssignment_2()); } + (rule__CustomEntry__ValueAssignment_2) + { after(grammarAccess.getCustomEntryAccess().getValueAssignment_2()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__ScopeSpecification__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__ScopeSpecification__Group__0__Impl + rule__ScopeSpecification__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__ScopeSpecification__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getScopeSpecificationAccess().getScopeSpecificationAction_0()); } + () + { after(grammarAccess.getScopeSpecificationAccess().getScopeSpecificationAction_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__ScopeSpecification__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__ScopeSpecification__Group__1__Impl + rule__ScopeSpecification__Group__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__ScopeSpecification__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getScopeSpecificationAccess().getLeftCurlyBracketKeyword_1()); } + '{' + { after(grammarAccess.getScopeSpecificationAccess().getLeftCurlyBracketKeyword_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__ScopeSpecification__Group__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__ScopeSpecification__Group__2__Impl + rule__ScopeSpecification__Group__3 +; +finally { + restoreStackSize(stackSize); +} + +rule__ScopeSpecification__Group__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getScopeSpecificationAccess().getGroup_2()); } + (rule__ScopeSpecification__Group_2__0)? + { after(grammarAccess.getScopeSpecificationAccess().getGroup_2()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__ScopeSpecification__Group__3 + @init { + int stackSize = keepStackSize(); + } +: + rule__ScopeSpecification__Group__3__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__ScopeSpecification__Group__3__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getScopeSpecificationAccess().getRightCurlyBracketKeyword_3()); } + '}' + { after(grammarAccess.getScopeSpecificationAccess().getRightCurlyBracketKeyword_3()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__ScopeSpecification__Group_2__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__ScopeSpecification__Group_2__0__Impl + rule__ScopeSpecification__Group_2__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__ScopeSpecification__Group_2__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getScopeSpecificationAccess().getScopesAssignment_2_0()); } + (rule__ScopeSpecification__ScopesAssignment_2_0) + { after(grammarAccess.getScopeSpecificationAccess().getScopesAssignment_2_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__ScopeSpecification__Group_2__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__ScopeSpecification__Group_2__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__ScopeSpecification__Group_2__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getScopeSpecificationAccess().getGroup_2_1()); } + (rule__ScopeSpecification__Group_2_1__0)* + { after(grammarAccess.getScopeSpecificationAccess().getGroup_2_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__ScopeSpecification__Group_2_1__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__ScopeSpecification__Group_2_1__0__Impl + rule__ScopeSpecification__Group_2_1__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__ScopeSpecification__Group_2_1__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getScopeSpecificationAccess().getCommaKeyword_2_1_0()); } + ',' + { after(grammarAccess.getScopeSpecificationAccess().getCommaKeyword_2_1_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__ScopeSpecification__Group_2_1__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__ScopeSpecification__Group_2_1__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__ScopeSpecification__Group_2_1__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getScopeSpecificationAccess().getScopesAssignment_2_1_1()); } + (rule__ScopeSpecification__ScopesAssignment_2_1_1) + { after(grammarAccess.getScopeSpecificationAccess().getScopesAssignment_2_1_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__ClassTypeScope__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__ClassTypeScope__Group__0__Impl + rule__ClassTypeScope__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__ClassTypeScope__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getClassTypeScopeAccess().getNumberSignKeyword_0()); } + '#' + { after(grammarAccess.getClassTypeScopeAccess().getNumberSignKeyword_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__ClassTypeScope__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__ClassTypeScope__Group__1__Impl + rule__ClassTypeScope__Group__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__ClassTypeScope__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getClassTypeScopeAccess().getTypeAssignment_1()); } + (rule__ClassTypeScope__TypeAssignment_1) + { after(grammarAccess.getClassTypeScopeAccess().getTypeAssignment_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__ClassTypeScope__Group__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__ClassTypeScope__Group__2__Impl + rule__ClassTypeScope__Group__3 +; +finally { + restoreStackSize(stackSize); +} + +rule__ClassTypeScope__Group__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getClassTypeScopeAccess().getAlternatives_2()); } + (rule__ClassTypeScope__Alternatives_2) + { after(grammarAccess.getClassTypeScopeAccess().getAlternatives_2()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__ClassTypeScope__Group__3 + @init { + int stackSize = keepStackSize(); + } +: + rule__ClassTypeScope__Group__3__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__ClassTypeScope__Group__3__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getClassTypeScopeAccess().getAlternatives_3()); } + (rule__ClassTypeScope__Alternatives_3) + { after(grammarAccess.getClassTypeScopeAccess().getAlternatives_3()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__ObjectTypeScope__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__ObjectTypeScope__Group__0__Impl + rule__ObjectTypeScope__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__ObjectTypeScope__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getObjectTypeScopeAccess().getNumberSignKeyword_0()); } + '#' + { after(grammarAccess.getObjectTypeScopeAccess().getNumberSignKeyword_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__ObjectTypeScope__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__ObjectTypeScope__Group__1__Impl + rule__ObjectTypeScope__Group__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__ObjectTypeScope__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getObjectTypeScopeAccess().getTypeAssignment_1()); } + (rule__ObjectTypeScope__TypeAssignment_1) + { after(grammarAccess.getObjectTypeScopeAccess().getTypeAssignment_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__ObjectTypeScope__Group__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__ObjectTypeScope__Group__2__Impl + rule__ObjectTypeScope__Group__3 +; +finally { + restoreStackSize(stackSize); +} + +rule__ObjectTypeScope__Group__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getObjectTypeScopeAccess().getAlternatives_2()); } + (rule__ObjectTypeScope__Alternatives_2) + { after(grammarAccess.getObjectTypeScopeAccess().getAlternatives_2()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__ObjectTypeScope__Group__3 + @init { + int stackSize = keepStackSize(); + } +: + rule__ObjectTypeScope__Group__3__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__ObjectTypeScope__Group__3__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getObjectTypeScopeAccess().getAlternatives_3()); } + (rule__ObjectTypeScope__Alternatives_3) + { after(grammarAccess.getObjectTypeScopeAccess().getAlternatives_3()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__IntegerTypeScope__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__IntegerTypeScope__Group__0__Impl + rule__IntegerTypeScope__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__IntegerTypeScope__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getIntegerTypeScopeAccess().getNumberSignKeyword_0()); } + '#' + { after(grammarAccess.getIntegerTypeScopeAccess().getNumberSignKeyword_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__IntegerTypeScope__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__IntegerTypeScope__Group__1__Impl + rule__IntegerTypeScope__Group__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__IntegerTypeScope__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getIntegerTypeScopeAccess().getTypeAssignment_1()); } + (rule__IntegerTypeScope__TypeAssignment_1) + { after(grammarAccess.getIntegerTypeScopeAccess().getTypeAssignment_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__IntegerTypeScope__Group__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__IntegerTypeScope__Group__2__Impl + rule__IntegerTypeScope__Group__3 +; +finally { + restoreStackSize(stackSize); +} + +rule__IntegerTypeScope__Group__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getIntegerTypeScopeAccess().getAlternatives_2()); } + (rule__IntegerTypeScope__Alternatives_2) + { after(grammarAccess.getIntegerTypeScopeAccess().getAlternatives_2()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__IntegerTypeScope__Group__3 + @init { + int stackSize = keepStackSize(); + } +: + rule__IntegerTypeScope__Group__3__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__IntegerTypeScope__Group__3__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getIntegerTypeScopeAccess().getAlternatives_3()); } + (rule__IntegerTypeScope__Alternatives_3) + { after(grammarAccess.getIntegerTypeScopeAccess().getAlternatives_3()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__RealTypeScope__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__RealTypeScope__Group__0__Impl + rule__RealTypeScope__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__RealTypeScope__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getRealTypeScopeAccess().getNumberSignKeyword_0()); } + '#' + { after(grammarAccess.getRealTypeScopeAccess().getNumberSignKeyword_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__RealTypeScope__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__RealTypeScope__Group__1__Impl + rule__RealTypeScope__Group__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__RealTypeScope__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getRealTypeScopeAccess().getTypeAssignment_1()); } + (rule__RealTypeScope__TypeAssignment_1) + { after(grammarAccess.getRealTypeScopeAccess().getTypeAssignment_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__RealTypeScope__Group__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__RealTypeScope__Group__2__Impl + rule__RealTypeScope__Group__3 +; +finally { + restoreStackSize(stackSize); +} + +rule__RealTypeScope__Group__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getRealTypeScopeAccess().getAlternatives_2()); } + (rule__RealTypeScope__Alternatives_2) + { after(grammarAccess.getRealTypeScopeAccess().getAlternatives_2()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__RealTypeScope__Group__3 + @init { + int stackSize = keepStackSize(); + } +: + rule__RealTypeScope__Group__3__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__RealTypeScope__Group__3__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getRealTypeScopeAccess().getAlternatives_3()); } + (rule__RealTypeScope__Alternatives_3) + { after(grammarAccess.getRealTypeScopeAccess().getAlternatives_3()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__StringTypeScope__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__StringTypeScope__Group__0__Impl + rule__StringTypeScope__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__StringTypeScope__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getStringTypeScopeAccess().getNumberSignKeyword_0()); } + '#' + { after(grammarAccess.getStringTypeScopeAccess().getNumberSignKeyword_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__StringTypeScope__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__StringTypeScope__Group__1__Impl + rule__StringTypeScope__Group__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__StringTypeScope__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getStringTypeScopeAccess().getTypeAssignment_1()); } + (rule__StringTypeScope__TypeAssignment_1) + { after(grammarAccess.getStringTypeScopeAccess().getTypeAssignment_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__StringTypeScope__Group__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__StringTypeScope__Group__2__Impl + rule__StringTypeScope__Group__3 +; +finally { + restoreStackSize(stackSize); +} + +rule__StringTypeScope__Group__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getStringTypeScopeAccess().getAlternatives_2()); } + (rule__StringTypeScope__Alternatives_2) + { after(grammarAccess.getStringTypeScopeAccess().getAlternatives_2()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__StringTypeScope__Group__3 + @init { + int stackSize = keepStackSize(); + } +: + rule__StringTypeScope__Group__3__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__StringTypeScope__Group__3__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getStringTypeScopeAccess().getAlternatives_3()); } + (rule__StringTypeScope__Alternatives_3) + { after(grammarAccess.getStringTypeScopeAccess().getAlternatives_3()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__ClassReference__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__ClassReference__Group__0__Impl + rule__ClassReference__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__ClassReference__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getClassReferenceAccess().getLessThanSignKeyword_0()); } + '<' + { after(grammarAccess.getClassReferenceAccess().getLessThanSignKeyword_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__ClassReference__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__ClassReference__Group__1__Impl + rule__ClassReference__Group__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__ClassReference__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getClassReferenceAccess().getElementAssignment_1()); } + (rule__ClassReference__ElementAssignment_1) + { after(grammarAccess.getClassReferenceAccess().getElementAssignment_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__ClassReference__Group__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__ClassReference__Group__2__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__ClassReference__Group__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getClassReferenceAccess().getGreaterThanSignKeyword_2()); } + '>' + { after(grammarAccess.getClassReferenceAccess().getGreaterThanSignKeyword_2()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__ObjectReference__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__ObjectReference__Group__0__Impl + rule__ObjectReference__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__ObjectReference__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getObjectReferenceAccess().getObjectReferenceAction_0()); } + () + { after(grammarAccess.getObjectReferenceAccess().getObjectReferenceAction_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__ObjectReference__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__ObjectReference__Group__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__ObjectReference__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getObjectReferenceAccess().getNodeKeyword_1()); } + 'node' + { after(grammarAccess.getObjectReferenceAccess().getNodeKeyword_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__IntegerReference__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__IntegerReference__Group__0__Impl + rule__IntegerReference__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__IntegerReference__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getIntegerReferenceAccess().getIntegerScopeAction_0()); } + () + { after(grammarAccess.getIntegerReferenceAccess().getIntegerScopeAction_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__IntegerReference__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__IntegerReference__Group__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__IntegerReference__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getIntegerReferenceAccess().getIntKeyword_1()); } + 'int' + { after(grammarAccess.getIntegerReferenceAccess().getIntKeyword_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__RealReference__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__RealReference__Group__0__Impl + rule__RealReference__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__RealReference__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getRealReferenceAccess().getRealScopeAction_0()); } + () + { after(grammarAccess.getRealReferenceAccess().getRealScopeAction_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__RealReference__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__RealReference__Group__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__RealReference__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getRealReferenceAccess().getRealKeyword_1()); } + 'real' + { after(grammarAccess.getRealReferenceAccess().getRealKeyword_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__StringReference__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__StringReference__Group__0__Impl + rule__StringReference__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__StringReference__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getStringReferenceAccess().getStringScopeAction_0()); } + () + { after(grammarAccess.getStringReferenceAccess().getStringScopeAction_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__StringReference__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__StringReference__Group__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__StringReference__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getStringReferenceAccess().getStringKeyword_1()); } + 'string' + { after(grammarAccess.getStringReferenceAccess().getStringKeyword_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__IntervallNumber__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__IntervallNumber__Group__0__Impl + rule__IntervallNumber__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__IntervallNumber__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getIntervallNumberAccess().getMinAssignment_0()); } + (rule__IntervallNumber__MinAssignment_0) + { after(grammarAccess.getIntervallNumberAccess().getMinAssignment_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__IntervallNumber__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__IntervallNumber__Group__1__Impl + rule__IntervallNumber__Group__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__IntervallNumber__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getIntervallNumberAccess().getFullStopFullStopKeyword_1()); } + '..' + { after(grammarAccess.getIntervallNumberAccess().getFullStopFullStopKeyword_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__IntervallNumber__Group__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__IntervallNumber__Group__2__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__IntervallNumber__Group__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getIntervallNumberAccess().getAlternatives_2()); } + (rule__IntervallNumber__Alternatives_2) + { after(grammarAccess.getIntervallNumberAccess().getAlternatives_2()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__IntEnumberation__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__IntEnumberation__Group__0__Impl + rule__IntEnumberation__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__IntEnumberation__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getIntEnumberationAccess().getIntEnumberationAction_0()); } + () + { after(grammarAccess.getIntEnumberationAccess().getIntEnumberationAction_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__IntEnumberation__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__IntEnumberation__Group__1__Impl + rule__IntEnumberation__Group__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__IntEnumberation__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getIntEnumberationAccess().getLeftCurlyBracketKeyword_1()); } + '{' + { after(grammarAccess.getIntEnumberationAccess().getLeftCurlyBracketKeyword_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__IntEnumberation__Group__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__IntEnumberation__Group__2__Impl + rule__IntEnumberation__Group__3 +; +finally { + restoreStackSize(stackSize); +} + +rule__IntEnumberation__Group__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getIntEnumberationAccess().getGroup_2()); } + (rule__IntEnumberation__Group_2__0)? + { after(grammarAccess.getIntEnumberationAccess().getGroup_2()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__IntEnumberation__Group__3 + @init { + int stackSize = keepStackSize(); + } +: + rule__IntEnumberation__Group__3__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__IntEnumberation__Group__3__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getIntEnumberationAccess().getRightCurlyBracketKeyword_3()); } + '}' + { after(grammarAccess.getIntEnumberationAccess().getRightCurlyBracketKeyword_3()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__IntEnumberation__Group_2__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__IntEnumberation__Group_2__0__Impl + rule__IntEnumberation__Group_2__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__IntEnumberation__Group_2__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getIntEnumberationAccess().getEntryAssignment_2_0()); } + (rule__IntEnumberation__EntryAssignment_2_0) + { after(grammarAccess.getIntEnumberationAccess().getEntryAssignment_2_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__IntEnumberation__Group_2__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__IntEnumberation__Group_2__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__IntEnumberation__Group_2__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getIntEnumberationAccess().getGroup_2_1()); } + (rule__IntEnumberation__Group_2_1__0)* + { after(grammarAccess.getIntEnumberationAccess().getGroup_2_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__IntEnumberation__Group_2_1__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__IntEnumberation__Group_2_1__0__Impl + rule__IntEnumberation__Group_2_1__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__IntEnumberation__Group_2_1__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getIntEnumberationAccess().getCommaKeyword_2_1_0()); } + ',' + { after(grammarAccess.getIntEnumberationAccess().getCommaKeyword_2_1_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__IntEnumberation__Group_2_1__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__IntEnumberation__Group_2_1__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__IntEnumberation__Group_2_1__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getIntEnumberationAccess().getEntryAssignment_2_1_1()); } + (rule__IntEnumberation__EntryAssignment_2_1_1) + { after(grammarAccess.getIntEnumberationAccess().getEntryAssignment_2_1_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__RealEnumeration__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__RealEnumeration__Group__0__Impl + rule__RealEnumeration__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__RealEnumeration__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getRealEnumerationAccess().getRealEnumerationAction_0()); } + () + { after(grammarAccess.getRealEnumerationAccess().getRealEnumerationAction_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__RealEnumeration__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__RealEnumeration__Group__1__Impl + rule__RealEnumeration__Group__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__RealEnumeration__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getRealEnumerationAccess().getLeftCurlyBracketKeyword_1()); } + '{' + { after(grammarAccess.getRealEnumerationAccess().getLeftCurlyBracketKeyword_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__RealEnumeration__Group__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__RealEnumeration__Group__2__Impl + rule__RealEnumeration__Group__3 +; +finally { + restoreStackSize(stackSize); +} + +rule__RealEnumeration__Group__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getRealEnumerationAccess().getGroup_2()); } + (rule__RealEnumeration__Group_2__0)? + { after(grammarAccess.getRealEnumerationAccess().getGroup_2()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__RealEnumeration__Group__3 + @init { + int stackSize = keepStackSize(); + } +: + rule__RealEnumeration__Group__3__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__RealEnumeration__Group__3__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getRealEnumerationAccess().getRightCurlyBracketKeyword_3()); } + '}' + { after(grammarAccess.getRealEnumerationAccess().getRightCurlyBracketKeyword_3()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__RealEnumeration__Group_2__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__RealEnumeration__Group_2__0__Impl + rule__RealEnumeration__Group_2__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__RealEnumeration__Group_2__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getRealEnumerationAccess().getEntryAssignment_2_0()); } + (rule__RealEnumeration__EntryAssignment_2_0) + { after(grammarAccess.getRealEnumerationAccess().getEntryAssignment_2_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__RealEnumeration__Group_2__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__RealEnumeration__Group_2__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__RealEnumeration__Group_2__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getRealEnumerationAccess().getGroup_2_1()); } + (rule__RealEnumeration__Group_2_1__0)* + { after(grammarAccess.getRealEnumerationAccess().getGroup_2_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__RealEnumeration__Group_2_1__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__RealEnumeration__Group_2_1__0__Impl + rule__RealEnumeration__Group_2_1__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__RealEnumeration__Group_2_1__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getRealEnumerationAccess().getCommaKeyword_2_1_0()); } + ',' + { after(grammarAccess.getRealEnumerationAccess().getCommaKeyword_2_1_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__RealEnumeration__Group_2_1__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__RealEnumeration__Group_2_1__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__RealEnumeration__Group_2_1__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getRealEnumerationAccess().getEntryAssignment_2_1_1()); } + (rule__RealEnumeration__EntryAssignment_2_1_1) + { after(grammarAccess.getRealEnumerationAccess().getEntryAssignment_2_1_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__StringEnumeration__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__StringEnumeration__Group__0__Impl + rule__StringEnumeration__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__StringEnumeration__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getStringEnumerationAccess().getStringEnumerationAction_0()); } + () + { after(grammarAccess.getStringEnumerationAccess().getStringEnumerationAction_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__StringEnumeration__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__StringEnumeration__Group__1__Impl + rule__StringEnumeration__Group__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__StringEnumeration__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getStringEnumerationAccess().getLeftCurlyBracketKeyword_1()); } + '{' + { after(grammarAccess.getStringEnumerationAccess().getLeftCurlyBracketKeyword_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__StringEnumeration__Group__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__StringEnumeration__Group__2__Impl + rule__StringEnumeration__Group__3 +; +finally { + restoreStackSize(stackSize); +} + +rule__StringEnumeration__Group__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getStringEnumerationAccess().getGroup_2()); } + (rule__StringEnumeration__Group_2__0)? + { after(grammarAccess.getStringEnumerationAccess().getGroup_2()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__StringEnumeration__Group__3 + @init { + int stackSize = keepStackSize(); + } +: + rule__StringEnumeration__Group__3__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__StringEnumeration__Group__3__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getStringEnumerationAccess().getRightCurlyBracketKeyword_3()); } + '}' + { after(grammarAccess.getStringEnumerationAccess().getRightCurlyBracketKeyword_3()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__StringEnumeration__Group_2__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__StringEnumeration__Group_2__0__Impl + rule__StringEnumeration__Group_2__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__StringEnumeration__Group_2__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getStringEnumerationAccess().getEntryAssignment_2_0()); } + (rule__StringEnumeration__EntryAssignment_2_0) + { after(grammarAccess.getStringEnumerationAccess().getEntryAssignment_2_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__StringEnumeration__Group_2__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__StringEnumeration__Group_2__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__StringEnumeration__Group_2__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getStringEnumerationAccess().getGroup_2_1()); } + (rule__StringEnumeration__Group_2_1__0)* + { after(grammarAccess.getStringEnumerationAccess().getGroup_2_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__StringEnumeration__Group_2_1__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__StringEnumeration__Group_2_1__0__Impl + rule__StringEnumeration__Group_2_1__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__StringEnumeration__Group_2_1__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getStringEnumerationAccess().getCommaKeyword_2_1_0()); } + ',' + { after(grammarAccess.getStringEnumerationAccess().getCommaKeyword_2_1_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__StringEnumeration__Group_2_1__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__StringEnumeration__Group_2_1__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__StringEnumeration__Group_2_1__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getStringEnumerationAccess().getEntryAssignment_2_1_1()); } + (rule__StringEnumeration__EntryAssignment_2_1_1) + { after(grammarAccess.getStringEnumerationAccess().getEntryAssignment_2_1_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__ScopeDeclaration__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__ScopeDeclaration__Group__0__Impl + rule__ScopeDeclaration__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__ScopeDeclaration__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getScopeDeclarationAccess().getScopeKeyword_0()); } + 'scope' + { after(grammarAccess.getScopeDeclarationAccess().getScopeKeyword_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__ScopeDeclaration__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__ScopeDeclaration__Group__1__Impl + rule__ScopeDeclaration__Group__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__ScopeDeclaration__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getScopeDeclarationAccess().getNameAssignment_1()); } + (rule__ScopeDeclaration__NameAssignment_1) + { after(grammarAccess.getScopeDeclarationAccess().getNameAssignment_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__ScopeDeclaration__Group__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__ScopeDeclaration__Group__2__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__ScopeDeclaration__Group__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getScopeDeclarationAccess().getSpecificationAssignment_2()); } + (rule__ScopeDeclaration__SpecificationAssignment_2) + { after(grammarAccess.getScopeDeclarationAccess().getSpecificationAssignment_2()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__GenerationTask__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__GenerationTask__Group__0__Impl + rule__GenerationTask__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__GenerationTask__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getGenerationTaskAccess().getGenerateKeyword_0()); } + 'generate' + { after(grammarAccess.getGenerationTaskAccess().getGenerateKeyword_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__GenerationTask__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__GenerationTask__Group__1__Impl + rule__GenerationTask__Group__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__GenerationTask__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getGenerationTaskAccess().getGenerationTaskAction_1()); } + () + { after(grammarAccess.getGenerationTaskAccess().getGenerationTaskAction_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__GenerationTask__Group__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__GenerationTask__Group__2__Impl + rule__GenerationTask__Group__3 +; +finally { + restoreStackSize(stackSize); +} + +rule__GenerationTask__Group__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getGenerationTaskAccess().getLeftCurlyBracketKeyword_2()); } + '{' + { after(grammarAccess.getGenerationTaskAccess().getLeftCurlyBracketKeyword_2()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__GenerationTask__Group__3 + @init { + int stackSize = keepStackSize(); + } +: + rule__GenerationTask__Group__3__Impl + rule__GenerationTask__Group__4 +; +finally { + restoreStackSize(stackSize); +} + +rule__GenerationTask__Group__3__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); } + (rule__GenerationTask__UnorderedGroup_3) + { after(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__GenerationTask__Group__4 + @init { + int stackSize = keepStackSize(); + } +: + rule__GenerationTask__Group__4__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__GenerationTask__Group__4__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getGenerationTaskAccess().getRightCurlyBracketKeyword_4()); } + '}' + { after(grammarAccess.getGenerationTaskAccess().getRightCurlyBracketKeyword_4()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__GenerationTask__Group_3_0__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__GenerationTask__Group_3_0__0__Impl + rule__GenerationTask__Group_3_0__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__GenerationTask__Group_3_0__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getGenerationTaskAccess().getMetamodelKeyword_3_0_0()); } + 'metamodel' + { after(grammarAccess.getGenerationTaskAccess().getMetamodelKeyword_3_0_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__GenerationTask__Group_3_0__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__GenerationTask__Group_3_0__1__Impl + rule__GenerationTask__Group_3_0__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__GenerationTask__Group_3_0__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_0_1()); } + '=' + { after(grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_0_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__GenerationTask__Group_3_0__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__GenerationTask__Group_3_0__2__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__GenerationTask__Group_3_0__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getGenerationTaskAccess().getMetamodelAssignment_3_0_2()); } + (rule__GenerationTask__MetamodelAssignment_3_0_2) + { after(grammarAccess.getGenerationTaskAccess().getMetamodelAssignment_3_0_2()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__GenerationTask__Group_3_1__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__GenerationTask__Group_3_1__0__Impl + rule__GenerationTask__Group_3_1__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__GenerationTask__Group_3_1__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getGenerationTaskAccess().getPartialModelKeyword_3_1_0()); } + 'partial-model' + { after(grammarAccess.getGenerationTaskAccess().getPartialModelKeyword_3_1_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__GenerationTask__Group_3_1__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__GenerationTask__Group_3_1__1__Impl + rule__GenerationTask__Group_3_1__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__GenerationTask__Group_3_1__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_1_1()); } + '=' + { after(grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_1_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__GenerationTask__Group_3_1__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__GenerationTask__Group_3_1__2__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__GenerationTask__Group_3_1__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getGenerationTaskAccess().getPartialModelAssignment_3_1_2()); } + (rule__GenerationTask__PartialModelAssignment_3_1_2) + { after(grammarAccess.getGenerationTaskAccess().getPartialModelAssignment_3_1_2()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__GenerationTask__Group_3_2__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__GenerationTask__Group_3_2__0__Impl + rule__GenerationTask__Group_3_2__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__GenerationTask__Group_3_2__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getGenerationTaskAccess().getConstraintsKeyword_3_2_0()); } + 'constraints' + { after(grammarAccess.getGenerationTaskAccess().getConstraintsKeyword_3_2_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__GenerationTask__Group_3_2__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__GenerationTask__Group_3_2__1__Impl + rule__GenerationTask__Group_3_2__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__GenerationTask__Group_3_2__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_2_1()); } + '=' + { after(grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_2_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__GenerationTask__Group_3_2__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__GenerationTask__Group_3_2__2__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__GenerationTask__Group_3_2__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getGenerationTaskAccess().getPatternsAssignment_3_2_2()); } + (rule__GenerationTask__PatternsAssignment_3_2_2) + { after(grammarAccess.getGenerationTaskAccess().getPatternsAssignment_3_2_2()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__GenerationTask__Group_3_3__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__GenerationTask__Group_3_3__0__Impl + rule__GenerationTask__Group_3_3__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__GenerationTask__Group_3_3__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getGenerationTaskAccess().getObjectivesKeyword_3_3_0()); } + 'objectives' + { after(grammarAccess.getGenerationTaskAccess().getObjectivesKeyword_3_3_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__GenerationTask__Group_3_3__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__GenerationTask__Group_3_3__1__Impl + rule__GenerationTask__Group_3_3__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__GenerationTask__Group_3_3__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_3_1()); } + '=' + { after(grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_3_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__GenerationTask__Group_3_3__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__GenerationTask__Group_3_3__2__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__GenerationTask__Group_3_3__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getGenerationTaskAccess().getObjectivesAssignment_3_3_2()); } + (rule__GenerationTask__ObjectivesAssignment_3_3_2) + { after(grammarAccess.getGenerationTaskAccess().getObjectivesAssignment_3_3_2()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__GenerationTask__Group_3_4__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__GenerationTask__Group_3_4__0__Impl + rule__GenerationTask__Group_3_4__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__GenerationTask__Group_3_4__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getGenerationTaskAccess().getScopeKeyword_3_4_0()); } + 'scope' + { after(grammarAccess.getGenerationTaskAccess().getScopeKeyword_3_4_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__GenerationTask__Group_3_4__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__GenerationTask__Group_3_4__1__Impl + rule__GenerationTask__Group_3_4__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__GenerationTask__Group_3_4__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_4_1()); } + '=' + { after(grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_4_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__GenerationTask__Group_3_4__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__GenerationTask__Group_3_4__2__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__GenerationTask__Group_3_4__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getGenerationTaskAccess().getScopeAssignment_3_4_2()); } + (rule__GenerationTask__ScopeAssignment_3_4_2) + { after(grammarAccess.getGenerationTaskAccess().getScopeAssignment_3_4_2()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__GenerationTask__Group_3_5__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__GenerationTask__Group_3_5__0__Impl + rule__GenerationTask__Group_3_5__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__GenerationTask__Group_3_5__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getGenerationTaskAccess().getNumberSpecifiedAssignment_3_5_0()); } + (rule__GenerationTask__NumberSpecifiedAssignment_3_5_0) + { after(grammarAccess.getGenerationTaskAccess().getNumberSpecifiedAssignment_3_5_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__GenerationTask__Group_3_5__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__GenerationTask__Group_3_5__1__Impl + rule__GenerationTask__Group_3_5__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__GenerationTask__Group_3_5__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_5_1()); } + '=' + { after(grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_5_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__GenerationTask__Group_3_5__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__GenerationTask__Group_3_5__2__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__GenerationTask__Group_3_5__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getGenerationTaskAccess().getNumberAssignment_3_5_2()); } + (rule__GenerationTask__NumberAssignment_3_5_2) + { after(grammarAccess.getGenerationTaskAccess().getNumberAssignment_3_5_2()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__GenerationTask__Group_3_6__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__GenerationTask__Group_3_6__0__Impl + rule__GenerationTask__Group_3_6__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__GenerationTask__Group_3_6__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getGenerationTaskAccess().getRunSpecifiedAssignment_3_6_0()); } + (rule__GenerationTask__RunSpecifiedAssignment_3_6_0) + { after(grammarAccess.getGenerationTaskAccess().getRunSpecifiedAssignment_3_6_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__GenerationTask__Group_3_6__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__GenerationTask__Group_3_6__1__Impl + rule__GenerationTask__Group_3_6__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__GenerationTask__Group_3_6__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_6_1()); } + '=' + { after(grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_6_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__GenerationTask__Group_3_6__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__GenerationTask__Group_3_6__2__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__GenerationTask__Group_3_6__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getGenerationTaskAccess().getRunsAssignment_3_6_2()); } + (rule__GenerationTask__RunsAssignment_3_6_2) + { after(grammarAccess.getGenerationTaskAccess().getRunsAssignment_3_6_2()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__GenerationTask__Group_3_7__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__GenerationTask__Group_3_7__0__Impl + rule__GenerationTask__Group_3_7__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__GenerationTask__Group_3_7__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getGenerationTaskAccess().getSolverKeyword_3_7_0()); } + 'solver' + { after(grammarAccess.getGenerationTaskAccess().getSolverKeyword_3_7_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__GenerationTask__Group_3_7__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__GenerationTask__Group_3_7__1__Impl + rule__GenerationTask__Group_3_7__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__GenerationTask__Group_3_7__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_7_1()); } + '=' + { after(grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_7_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__GenerationTask__Group_3_7__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__GenerationTask__Group_3_7__2__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__GenerationTask__Group_3_7__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getGenerationTaskAccess().getSolverAssignment_3_7_2()); } + (rule__GenerationTask__SolverAssignment_3_7_2) + { after(grammarAccess.getGenerationTaskAccess().getSolverAssignment_3_7_2()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__GenerationTask__Group_3_8__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__GenerationTask__Group_3_8__0__Impl + rule__GenerationTask__Group_3_8__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__GenerationTask__Group_3_8__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getGenerationTaskAccess().getConfigKeyword_3_8_0()); } + 'config' + { after(grammarAccess.getGenerationTaskAccess().getConfigKeyword_3_8_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__GenerationTask__Group_3_8__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__GenerationTask__Group_3_8__1__Impl + rule__GenerationTask__Group_3_8__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__GenerationTask__Group_3_8__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_8_1()); } + '=' + { after(grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_8_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__GenerationTask__Group_3_8__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__GenerationTask__Group_3_8__2__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__GenerationTask__Group_3_8__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getGenerationTaskAccess().getConfigAssignment_3_8_2()); } + (rule__GenerationTask__ConfigAssignment_3_8_2) + { after(grammarAccess.getGenerationTaskAccess().getConfigAssignment_3_8_2()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__GenerationTask__Group_3_9__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__GenerationTask__Group_3_9__0__Impl + rule__GenerationTask__Group_3_9__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__GenerationTask__Group_3_9__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getGenerationTaskAccess().getDebugKeyword_3_9_0()); } + 'debug' + { after(grammarAccess.getGenerationTaskAccess().getDebugKeyword_3_9_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__GenerationTask__Group_3_9__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__GenerationTask__Group_3_9__1__Impl + rule__GenerationTask__Group_3_9__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__GenerationTask__Group_3_9__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_9_1()); } + '=' + { after(grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_9_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__GenerationTask__Group_3_9__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__GenerationTask__Group_3_9__2__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__GenerationTask__Group_3_9__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getGenerationTaskAccess().getDebugFolderAssignment_3_9_2()); } + (rule__GenerationTask__DebugFolderAssignment_3_9_2) + { after(grammarAccess.getGenerationTaskAccess().getDebugFolderAssignment_3_9_2()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__GenerationTask__Group_3_10__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__GenerationTask__Group_3_10__0__Impl + rule__GenerationTask__Group_3_10__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__GenerationTask__Group_3_10__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getGenerationTaskAccess().getLogKeyword_3_10_0()); } + 'log' + { after(grammarAccess.getGenerationTaskAccess().getLogKeyword_3_10_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__GenerationTask__Group_3_10__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__GenerationTask__Group_3_10__1__Impl + rule__GenerationTask__Group_3_10__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__GenerationTask__Group_3_10__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_10_1()); } + '=' + { after(grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_10_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__GenerationTask__Group_3_10__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__GenerationTask__Group_3_10__2__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__GenerationTask__Group_3_10__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getGenerationTaskAccess().getTargetLogFileAssignment_3_10_2()); } + (rule__GenerationTask__TargetLogFileAssignment_3_10_2) + { after(grammarAccess.getGenerationTaskAccess().getTargetLogFileAssignment_3_10_2()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__GenerationTask__Group_3_11__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__GenerationTask__Group_3_11__0__Impl + rule__GenerationTask__Group_3_11__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__GenerationTask__Group_3_11__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getGenerationTaskAccess().getStatisticsKeyword_3_11_0()); } + 'statistics' + { after(grammarAccess.getGenerationTaskAccess().getStatisticsKeyword_3_11_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__GenerationTask__Group_3_11__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__GenerationTask__Group_3_11__1__Impl + rule__GenerationTask__Group_3_11__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__GenerationTask__Group_3_11__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_11_1()); } + '=' + { after(grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_11_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__GenerationTask__Group_3_11__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__GenerationTask__Group_3_11__2__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__GenerationTask__Group_3_11__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getGenerationTaskAccess().getTargetStatisticsFileAssignment_3_11_2()); } + (rule__GenerationTask__TargetStatisticsFileAssignment_3_11_2) + { after(grammarAccess.getGenerationTaskAccess().getTargetStatisticsFileAssignment_3_11_2()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__GenerationTask__Group_3_12__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__GenerationTask__Group_3_12__0__Impl + rule__GenerationTask__Group_3_12__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__GenerationTask__Group_3_12__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getGenerationTaskAccess().getOutputKeyword_3_12_0()); } + 'output' + { after(grammarAccess.getGenerationTaskAccess().getOutputKeyword_3_12_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__GenerationTask__Group_3_12__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__GenerationTask__Group_3_12__1__Impl + rule__GenerationTask__Group_3_12__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__GenerationTask__Group_3_12__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_12_1()); } + '=' + { after(grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_12_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__GenerationTask__Group_3_12__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__GenerationTask__Group_3_12__2__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__GenerationTask__Group_3_12__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getGenerationTaskAccess().getTagetFolderAssignment_3_12_2()); } + (rule__GenerationTask__TagetFolderAssignment_3_12_2) + { after(grammarAccess.getGenerationTaskAccess().getTagetFolderAssignment_3_12_2()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__GenerationTask__UnorderedGroup_3 + @init { + int stackSize = keepStackSize(); + getUnorderedGroupHelper().enter(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); + } +: + rule__GenerationTask__UnorderedGroup_3__0 + ? +; +finally { + getUnorderedGroupHelper().leave(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); + restoreStackSize(stackSize); +} + +rule__GenerationTask__UnorderedGroup_3__Impl + @init { + int stackSize = keepStackSize(); + boolean selected = false; + } +: + ( + ( + {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0)}?=>( + { + getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0); + } + { + selected = true; + } + ( + { before(grammarAccess.getGenerationTaskAccess().getGroup_3_0()); } + (rule__GenerationTask__Group_3_0__0) + { after(grammarAccess.getGenerationTaskAccess().getGroup_3_0()); } + ) + ) + )| + ( + {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1)}?=>( + { + getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1); + } + { + selected = true; + } + ( + { before(grammarAccess.getGenerationTaskAccess().getGroup_3_1()); } + (rule__GenerationTask__Group_3_1__0) + { after(grammarAccess.getGenerationTaskAccess().getGroup_3_1()); } + ) + ) + )| + ( + {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2)}?=>( + { + getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2); + } + { + selected = true; + } + ( + { before(grammarAccess.getGenerationTaskAccess().getGroup_3_2()); } + (rule__GenerationTask__Group_3_2__0) + { after(grammarAccess.getGenerationTaskAccess().getGroup_3_2()); } + ) + ) + )| + ( + {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3)}?=>( + { + getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3); + } + { + selected = true; + } + ( + { before(grammarAccess.getGenerationTaskAccess().getGroup_3_3()); } + (rule__GenerationTask__Group_3_3__0) + { after(grammarAccess.getGenerationTaskAccess().getGroup_3_3()); } + ) + ) + )| + ( + {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4)}?=>( + { + getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4); + } + { + selected = true; + } + ( + { before(grammarAccess.getGenerationTaskAccess().getGroup_3_4()); } + (rule__GenerationTask__Group_3_4__0) + { after(grammarAccess.getGenerationTaskAccess().getGroup_3_4()); } + ) + ) + )| + ( + {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5)}?=>( + { + getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5); + } + { + selected = true; + } + ( + { before(grammarAccess.getGenerationTaskAccess().getGroup_3_5()); } + (rule__GenerationTask__Group_3_5__0) + { after(grammarAccess.getGenerationTaskAccess().getGroup_3_5()); } + ) + ) + )| + ( + {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6)}?=>( + { + getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6); + } + { + selected = true; + } + ( + { before(grammarAccess.getGenerationTaskAccess().getGroup_3_6()); } + (rule__GenerationTask__Group_3_6__0) + { after(grammarAccess.getGenerationTaskAccess().getGroup_3_6()); } + ) + ) + )| + ( + {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7)}?=>( + { + getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7); + } + { + selected = true; + } + ( + { before(grammarAccess.getGenerationTaskAccess().getGroup_3_7()); } + (rule__GenerationTask__Group_3_7__0) + { after(grammarAccess.getGenerationTaskAccess().getGroup_3_7()); } + ) + ) + )| + ( + {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8)}?=>( + { + getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8); + } + { + selected = true; + } + ( + { before(grammarAccess.getGenerationTaskAccess().getGroup_3_8()); } + (rule__GenerationTask__Group_3_8__0) + { after(grammarAccess.getGenerationTaskAccess().getGroup_3_8()); } + ) + ) + )| + ( + {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9)}?=>( + { + getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9); + } + { + selected = true; + } + ( + { before(grammarAccess.getGenerationTaskAccess().getGroup_3_9()); } + (rule__GenerationTask__Group_3_9__0) + { after(grammarAccess.getGenerationTaskAccess().getGroup_3_9()); } + ) + ) + )| + ( + {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10)}?=>( + { + getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10); + } + { + selected = true; + } + ( + { before(grammarAccess.getGenerationTaskAccess().getGroup_3_10()); } + (rule__GenerationTask__Group_3_10__0) + { after(grammarAccess.getGenerationTaskAccess().getGroup_3_10()); } + ) + ) + )| + ( + {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11)}?=>( + { + getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11); + } + { + selected = true; + } + ( + { before(grammarAccess.getGenerationTaskAccess().getGroup_3_11()); } + (rule__GenerationTask__Group_3_11__0) + { after(grammarAccess.getGenerationTaskAccess().getGroup_3_11()); } + ) + ) + )| + ( + {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 12)}?=>( + { + getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 12); + } + { + selected = true; + } + ( + { before(grammarAccess.getGenerationTaskAccess().getGroup_3_12()); } + (rule__GenerationTask__Group_3_12__0) + { after(grammarAccess.getGenerationTaskAccess().getGroup_3_12()); } + ) + ) + ) + ) +; +finally { + if (selected) + getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); + restoreStackSize(stackSize); +} + +rule__GenerationTask__UnorderedGroup_3__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__GenerationTask__UnorderedGroup_3__Impl + rule__GenerationTask__UnorderedGroup_3__1? +; +finally { + restoreStackSize(stackSize); +} + +rule__GenerationTask__UnorderedGroup_3__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__GenerationTask__UnorderedGroup_3__Impl + rule__GenerationTask__UnorderedGroup_3__2? +; +finally { + restoreStackSize(stackSize); +} + +rule__GenerationTask__UnorderedGroup_3__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__GenerationTask__UnorderedGroup_3__Impl + rule__GenerationTask__UnorderedGroup_3__3? +; +finally { + restoreStackSize(stackSize); +} + +rule__GenerationTask__UnorderedGroup_3__3 + @init { + int stackSize = keepStackSize(); + } +: + rule__GenerationTask__UnorderedGroup_3__Impl + rule__GenerationTask__UnorderedGroup_3__4? +; +finally { + restoreStackSize(stackSize); +} + +rule__GenerationTask__UnorderedGroup_3__4 + @init { + int stackSize = keepStackSize(); + } +: + rule__GenerationTask__UnorderedGroup_3__Impl + rule__GenerationTask__UnorderedGroup_3__5? +; +finally { + restoreStackSize(stackSize); +} + +rule__GenerationTask__UnorderedGroup_3__5 + @init { + int stackSize = keepStackSize(); + } +: + rule__GenerationTask__UnorderedGroup_3__Impl + rule__GenerationTask__UnorderedGroup_3__6? +; +finally { + restoreStackSize(stackSize); +} + +rule__GenerationTask__UnorderedGroup_3__6 + @init { + int stackSize = keepStackSize(); + } +: + rule__GenerationTask__UnorderedGroup_3__Impl + rule__GenerationTask__UnorderedGroup_3__7? +; +finally { + restoreStackSize(stackSize); +} + +rule__GenerationTask__UnorderedGroup_3__7 + @init { + int stackSize = keepStackSize(); + } +: + rule__GenerationTask__UnorderedGroup_3__Impl + rule__GenerationTask__UnorderedGroup_3__8? +; +finally { + restoreStackSize(stackSize); +} + +rule__GenerationTask__UnorderedGroup_3__8 + @init { + int stackSize = keepStackSize(); + } +: + rule__GenerationTask__UnorderedGroup_3__Impl + rule__GenerationTask__UnorderedGroup_3__9? +; +finally { + restoreStackSize(stackSize); +} + +rule__GenerationTask__UnorderedGroup_3__9 + @init { + int stackSize = keepStackSize(); + } +: + rule__GenerationTask__UnorderedGroup_3__Impl + rule__GenerationTask__UnorderedGroup_3__10? +; +finally { + restoreStackSize(stackSize); +} + +rule__GenerationTask__UnorderedGroup_3__10 + @init { + int stackSize = keepStackSize(); + } +: + rule__GenerationTask__UnorderedGroup_3__Impl + rule__GenerationTask__UnorderedGroup_3__11? +; +finally { + restoreStackSize(stackSize); +} + +rule__GenerationTask__UnorderedGroup_3__11 + @init { + int stackSize = keepStackSize(); + } +: + rule__GenerationTask__UnorderedGroup_3__Impl + rule__GenerationTask__UnorderedGroup_3__12? +; +finally { + restoreStackSize(stackSize); +} + +rule__GenerationTask__UnorderedGroup_3__12 + @init { + int stackSize = keepStackSize(); + } +: + rule__GenerationTask__UnorderedGroup_3__Impl +; +finally { + restoreStackSize(stackSize); +} + + +rule__ConfigurationScript__ImportsAssignment_0 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getConfigurationScriptAccess().getImportsImportParserRuleCall_0_0()); } + ruleImport + { after(grammarAccess.getConfigurationScriptAccess().getImportsImportParserRuleCall_0_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__ConfigurationScript__CommandsAssignment_1 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getConfigurationScriptAccess().getCommandsCommandParserRuleCall_1_0()); } + ruleCommand + { after(grammarAccess.getConfigurationScriptAccess().getCommandsCommandParserRuleCall_1_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__EPackageImport__ImportedPackageAssignment_2 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getEPackageImportAccess().getImportedPackageEPackageCrossReference_2_0()); } + ( + { before(grammarAccess.getEPackageImportAccess().getImportedPackageEPackageSTRINGTerminalRuleCall_2_0_1()); } + RULE_STRING + { after(grammarAccess.getEPackageImportAccess().getImportedPackageEPackageSTRINGTerminalRuleCall_2_0_1()); } + ) + { after(grammarAccess.getEPackageImportAccess().getImportedPackageEPackageCrossReference_2_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__ViatraImport__ImportedViatraAssignment_2 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getViatraImportAccess().getImportedViatraPatternModelCrossReference_2_0()); } + ( + { before(grammarAccess.getViatraImportAccess().getImportedViatraPatternModelSTRINGTerminalRuleCall_2_0_1()); } + RULE_STRING + { after(grammarAccess.getViatraImportAccess().getImportedViatraPatternModelSTRINGTerminalRuleCall_2_0_1()); } + ) + { after(grammarAccess.getViatraImportAccess().getImportedViatraPatternModelCrossReference_2_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__CftImport__ImportedCftAssignment_2 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getCftImportAccess().getImportedCftCftModelCrossReference_2_0()); } + ( + { before(grammarAccess.getCftImportAccess().getImportedCftCftModelSTRINGTerminalRuleCall_2_0_1()); } + RULE_STRING + { after(grammarAccess.getCftImportAccess().getImportedCftCftModelSTRINGTerminalRuleCall_2_0_1()); } + ) + { after(grammarAccess.getCftImportAccess().getImportedCftCftModelCrossReference_2_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__FileSpecification__PathAssignment + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getFileSpecificationAccess().getPathSTRINGTerminalRuleCall_0()); } + RULE_STRING + { after(grammarAccess.getFileSpecificationAccess().getPathSTRINGTerminalRuleCall_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__FileDeclaration__NameAssignment_1 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getFileDeclarationAccess().getNameIDTerminalRuleCall_1_0()); } + RULE_ID + { after(grammarAccess.getFileDeclarationAccess().getNameIDTerminalRuleCall_1_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__FileDeclaration__SpecificationAssignment_3 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getFileDeclarationAccess().getSpecificationFileSpecificationParserRuleCall_3_0()); } + ruleFileSpecification + { after(grammarAccess.getFileDeclarationAccess().getSpecificationFileSpecificationParserRuleCall_3_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__FileReference__ReferredAssignment + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getFileReferenceAccess().getReferredFileDeclarationCrossReference_0()); } + ( + { before(grammarAccess.getFileReferenceAccess().getReferredFileDeclarationIDTerminalRuleCall_0_1()); } + RULE_ID + { after(grammarAccess.getFileReferenceAccess().getReferredFileDeclarationIDTerminalRuleCall_0_1()); } + ) + { after(grammarAccess.getFileReferenceAccess().getReferredFileDeclarationCrossReference_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__MetamodelSpecification__EntriesAssignment_1 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getMetamodelSpecificationAccess().getEntriesMetamodelEntryParserRuleCall_1_0()); } + ruleMetamodelEntry + { after(grammarAccess.getMetamodelSpecificationAccess().getEntriesMetamodelEntryParserRuleCall_1_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__MetamodelSpecification__EntriesAssignment_2_1 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getMetamodelSpecificationAccess().getEntriesMetamodelEntryParserRuleCall_2_1_0()); } + ruleMetamodelEntry + { after(grammarAccess.getMetamodelSpecificationAccess().getEntriesMetamodelEntryParserRuleCall_2_1_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__AllPackageEntry__PackageAssignment_1 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getAllPackageEntryAccess().getPackageEPackageCrossReference_1_0()); } + ( + { before(grammarAccess.getAllPackageEntryAccess().getPackageEPackageQualifiedNameParserRuleCall_1_0_1()); } + ruleQualifiedName + { after(grammarAccess.getAllPackageEntryAccess().getPackageEPackageQualifiedNameParserRuleCall_1_0_1()); } + ) + { after(grammarAccess.getAllPackageEntryAccess().getPackageEPackageCrossReference_1_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__AllPackageEntry__ExclusionAssignment_2_2 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getAllPackageEntryAccess().getExclusionMetamodelElementParserRuleCall_2_2_0()); } + ruleMetamodelElement + { after(grammarAccess.getAllPackageEntryAccess().getExclusionMetamodelElementParserRuleCall_2_2_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__AllPackageEntry__ExclusionAssignment_2_3_1 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getAllPackageEntryAccess().getExclusionMetamodelElementParserRuleCall_2_3_1_0()); } + ruleMetamodelElement + { after(grammarAccess.getAllPackageEntryAccess().getExclusionMetamodelElementParserRuleCall_2_3_1_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__MetamodelElement__PackageAssignment_0_0 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getMetamodelElementAccess().getPackageEPackageCrossReference_0_0_0()); } + ( + { before(grammarAccess.getMetamodelElementAccess().getPackageEPackageQualifiedNameParserRuleCall_0_0_0_1()); } + ruleQualifiedName + { after(grammarAccess.getMetamodelElementAccess().getPackageEPackageQualifiedNameParserRuleCall_0_0_0_1()); } + ) + { after(grammarAccess.getMetamodelElementAccess().getPackageEPackageCrossReference_0_0_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__MetamodelElement__ClassifierAssignment_1 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getMetamodelElementAccess().getClassifierEClassifierCrossReference_1_0()); } + ( + { before(grammarAccess.getMetamodelElementAccess().getClassifierEClassifierIDTerminalRuleCall_1_0_1()); } + RULE_ID + { after(grammarAccess.getMetamodelElementAccess().getClassifierEClassifierIDTerminalRuleCall_1_0_1()); } + ) + { after(grammarAccess.getMetamodelElementAccess().getClassifierEClassifierCrossReference_1_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__MetamodelElement__FeatureAssignment_2_1 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getMetamodelElementAccess().getFeatureENamedElementCrossReference_2_1_0()); } + ( + { before(grammarAccess.getMetamodelElementAccess().getFeatureENamedElementIDTerminalRuleCall_2_1_0_1()); } + RULE_ID + { after(grammarAccess.getMetamodelElementAccess().getFeatureENamedElementIDTerminalRuleCall_2_1_0_1()); } + ) + { after(grammarAccess.getMetamodelElementAccess().getFeatureENamedElementCrossReference_2_1_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__MetamodelDeclaration__NameAssignment_1 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getMetamodelDeclarationAccess().getNameIDTerminalRuleCall_1_0()); } + RULE_ID + { after(grammarAccess.getMetamodelDeclarationAccess().getNameIDTerminalRuleCall_1_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__MetamodelDeclaration__SpecificationAssignment_2 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getMetamodelDeclarationAccess().getSpecificationMetamodelSpecificationParserRuleCall_2_0()); } + ruleMetamodelSpecification + { after(grammarAccess.getMetamodelDeclarationAccess().getSpecificationMetamodelSpecificationParserRuleCall_2_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__MetamodelReference__ReferredAssignment + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getMetamodelReferenceAccess().getReferredMetamodelDeclarationCrossReference_0()); } + ( + { before(grammarAccess.getMetamodelReferenceAccess().getReferredMetamodelDeclarationIDTerminalRuleCall_0_1()); } + RULE_ID + { after(grammarAccess.getMetamodelReferenceAccess().getReferredMetamodelDeclarationIDTerminalRuleCall_0_1()); } + ) + { after(grammarAccess.getMetamodelReferenceAccess().getReferredMetamodelDeclarationCrossReference_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__PartialModelSpecification__EntryAssignment_1 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getPartialModelSpecificationAccess().getEntryPartialModelEntryParserRuleCall_1_0()); } + rulePartialModelEntry + { after(grammarAccess.getPartialModelSpecificationAccess().getEntryPartialModelEntryParserRuleCall_1_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__PartialModelSpecification__EntryAssignment_2_1 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getPartialModelSpecificationAccess().getEntryPartialModelEntryParserRuleCall_2_1_0()); } + rulePartialModelEntry + { after(grammarAccess.getPartialModelSpecificationAccess().getEntryPartialModelEntryParserRuleCall_2_1_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__ModelEntry__PathAssignment + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getModelEntryAccess().getPathFileParserRuleCall_0()); } + ruleFile + { after(grammarAccess.getModelEntryAccess().getPathFileParserRuleCall_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__FolderEntry__PathAssignment_1 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getFolderEntryAccess().getPathFileParserRuleCall_1_0()); } + ruleFile + { after(grammarAccess.getFolderEntryAccess().getPathFileParserRuleCall_1_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__FolderEntry__ExclusionAssignment_2_2 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getFolderEntryAccess().getExclusionModelEntryParserRuleCall_2_2_0()); } + ruleModelEntry + { after(grammarAccess.getFolderEntryAccess().getExclusionModelEntryParserRuleCall_2_2_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__FolderEntry__ExclusionAssignment_2_3_1 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getFolderEntryAccess().getExclusionModelEntryParserRuleCall_2_3_1_0()); } + ruleModelEntry + { after(grammarAccess.getFolderEntryAccess().getExclusionModelEntryParserRuleCall_2_3_1_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__PartialModelDeclaration__NameAssignment_1 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getPartialModelDeclarationAccess().getNameIDTerminalRuleCall_1_0()); } + RULE_ID + { after(grammarAccess.getPartialModelDeclarationAccess().getNameIDTerminalRuleCall_1_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__PartialModelDeclaration__SpecificationAssignment_2 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getPartialModelDeclarationAccess().getSpecificationPartialModelSpecificationParserRuleCall_2_0()); } + rulePartialModelSpecification + { after(grammarAccess.getPartialModelDeclarationAccess().getSpecificationPartialModelSpecificationParserRuleCall_2_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__PartialModelReference__ReferredAssignment + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getPartialModelReferenceAccess().getReferredPartialModelDeclarationCrossReference_0()); } + ( + { before(grammarAccess.getPartialModelReferenceAccess().getReferredPartialModelDeclarationIDTerminalRuleCall_0_1()); } + RULE_ID + { after(grammarAccess.getPartialModelReferenceAccess().getReferredPartialModelDeclarationIDTerminalRuleCall_0_1()); } + ) + { after(grammarAccess.getPartialModelReferenceAccess().getReferredPartialModelDeclarationCrossReference_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__PatternSpecification__EntriesAssignment_1 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getPatternSpecificationAccess().getEntriesPatternEntryParserRuleCall_1_0()); } + rulePatternEntry + { after(grammarAccess.getPatternSpecificationAccess().getEntriesPatternEntryParserRuleCall_1_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__PatternSpecification__EntriesAssignment_2_1 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getPatternSpecificationAccess().getEntriesPatternEntryParserRuleCall_2_1_0()); } + rulePatternEntry + { after(grammarAccess.getPatternSpecificationAccess().getEntriesPatternEntryParserRuleCall_2_1_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__AllPatternEntry__PackageAssignment_1 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getAllPatternEntryAccess().getPackagePatternModelCrossReference_1_0()); } + ( + { before(grammarAccess.getAllPatternEntryAccess().getPackagePatternModelQualifiedNameParserRuleCall_1_0_1()); } + ruleQualifiedName + { after(grammarAccess.getAllPatternEntryAccess().getPackagePatternModelQualifiedNameParserRuleCall_1_0_1()); } + ) + { after(grammarAccess.getAllPatternEntryAccess().getPackagePatternModelCrossReference_1_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__AllPatternEntry__ExclusuionAssignment_2_2 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getAllPatternEntryAccess().getExclusuionPatternElementParserRuleCall_2_2_0()); } + rulePatternElement + { after(grammarAccess.getAllPatternEntryAccess().getExclusuionPatternElementParserRuleCall_2_2_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__AllPatternEntry__ExclusuionAssignment_2_3_1 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getAllPatternEntryAccess().getExclusuionPatternElementParserRuleCall_2_3_1_0()); } + rulePatternElement + { after(grammarAccess.getAllPatternEntryAccess().getExclusuionPatternElementParserRuleCall_2_3_1_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__PatternElement__PackageAssignment_0_0 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getPatternElementAccess().getPackagePatternModelCrossReference_0_0_0()); } + ( + { before(grammarAccess.getPatternElementAccess().getPackagePatternModelQualifiedNameParserRuleCall_0_0_0_1()); } + ruleQualifiedName + { after(grammarAccess.getPatternElementAccess().getPackagePatternModelQualifiedNameParserRuleCall_0_0_0_1()); } + ) + { after(grammarAccess.getPatternElementAccess().getPackagePatternModelCrossReference_0_0_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__PatternElement__PatternAssignment_1 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getPatternElementAccess().getPatternPatternCrossReference_1_0()); } + ( + { before(grammarAccess.getPatternElementAccess().getPatternPatternIDTerminalRuleCall_1_0_1()); } + RULE_ID + { after(grammarAccess.getPatternElementAccess().getPatternPatternIDTerminalRuleCall_1_0_1()); } + ) + { after(grammarAccess.getPatternElementAccess().getPatternPatternCrossReference_1_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__GraphPatternDeclaration__NameAssignment_1 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getGraphPatternDeclarationAccess().getNameIDTerminalRuleCall_1_0()); } + RULE_ID + { after(grammarAccess.getGraphPatternDeclarationAccess().getNameIDTerminalRuleCall_1_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__GraphPatternDeclaration__SpecificationAssignment_2 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getGraphPatternDeclarationAccess().getSpecificationPatternSpecificationParserRuleCall_2_0()); } + rulePatternSpecification + { after(grammarAccess.getGraphPatternDeclarationAccess().getSpecificationPatternSpecificationParserRuleCall_2_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__GraphPatternReference__ReferredAssignment + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getGraphPatternReferenceAccess().getReferredGraphPatternDeclarationCrossReference_0()); } + ( + { before(grammarAccess.getGraphPatternReferenceAccess().getReferredGraphPatternDeclarationIDTerminalRuleCall_0_1()); } + RULE_ID + { after(grammarAccess.getGraphPatternReferenceAccess().getReferredGraphPatternDeclarationIDTerminalRuleCall_0_1()); } + ) + { after(grammarAccess.getGraphPatternReferenceAccess().getReferredGraphPatternDeclarationCrossReference_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__ObjectiveSpecification__EntriesAssignment_1 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getObjectiveSpecificationAccess().getEntriesObjectiveEntryParserRuleCall_1_0()); } + ruleObjectiveEntry + { after(grammarAccess.getObjectiveSpecificationAccess().getEntriesObjectiveEntryParserRuleCall_1_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__ObjectiveSpecification__EntriesAssignment_2_1 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getObjectiveSpecificationAccess().getEntriesObjectiveEntryParserRuleCall_2_1_0()); } + ruleObjectiveEntry + { after(grammarAccess.getObjectiveSpecificationAccess().getEntriesObjectiveEntryParserRuleCall_2_1_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__OptimizationEntry__DirectionAssignment_0 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getOptimizationEntryAccess().getDirectionOptimizationDirectionEnumRuleCall_0_0()); } + ruleOptimizationDirection + { after(grammarAccess.getOptimizationEntryAccess().getDirectionOptimizationDirectionEnumRuleCall_0_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__OptimizationEntry__FunctionAssignment_1 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getOptimizationEntryAccess().getFunctionObjectiveFunctionParserRuleCall_1_0()); } + ruleObjectiveFunction + { after(grammarAccess.getOptimizationEntryAccess().getFunctionObjectiveFunctionParserRuleCall_1_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__ThresholdEntry__FunctionAssignment_0 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getThresholdEntryAccess().getFunctionObjectiveFunctionParserRuleCall_0_0()); } + ruleObjectiveFunction + { after(grammarAccess.getThresholdEntryAccess().getFunctionObjectiveFunctionParserRuleCall_0_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__ThresholdEntry__OperatorAssignment_1 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getThresholdEntryAccess().getOperatorComparisonOperatorEnumRuleCall_1_0()); } + ruleComparisonOperator + { after(grammarAccess.getThresholdEntryAccess().getOperatorComparisonOperatorEnumRuleCall_1_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__ThresholdEntry__ThresholdAssignment_2 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getThresholdEntryAccess().getThresholdREALLiteralParserRuleCall_2_0()); } + ruleREALLiteral + { after(grammarAccess.getThresholdEntryAccess().getThresholdREALLiteralParserRuleCall_2_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__ReliabiltiyFunction__PackageAssignment_1_0 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getReliabiltiyFunctionAccess().getPackageCftModelCrossReference_1_0_0()); } + ( + { before(grammarAccess.getReliabiltiyFunctionAccess().getPackageCftModelQualifiedNameParserRuleCall_1_0_0_1()); } + ruleQualifiedName + { after(grammarAccess.getReliabiltiyFunctionAccess().getPackageCftModelQualifiedNameParserRuleCall_1_0_0_1()); } + ) + { after(grammarAccess.getReliabiltiyFunctionAccess().getPackageCftModelCrossReference_1_0_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__ReliabiltiyFunction__TransformationAssignment_2 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getReliabiltiyFunctionAccess().getTransformationTransformationDefinitionCrossReference_2_0()); } + ( + { before(grammarAccess.getReliabiltiyFunctionAccess().getTransformationTransformationDefinitionIDTerminalRuleCall_2_0_1()); } + RULE_ID + { after(grammarAccess.getReliabiltiyFunctionAccess().getTransformationTransformationDefinitionIDTerminalRuleCall_2_0_1()); } + ) + { after(grammarAccess.getReliabiltiyFunctionAccess().getTransformationTransformationDefinitionCrossReference_2_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__ObjectiveDeclaration__NameAssignment_1 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getObjectiveDeclarationAccess().getNameIDTerminalRuleCall_1_0()); } + RULE_ID + { after(grammarAccess.getObjectiveDeclarationAccess().getNameIDTerminalRuleCall_1_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__ObjectiveDeclaration__SpecificationAssignment_2 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getObjectiveDeclarationAccess().getSpecificationObjectiveSpecificationParserRuleCall_2_0()); } + ruleObjectiveSpecification + { after(grammarAccess.getObjectiveDeclarationAccess().getSpecificationObjectiveSpecificationParserRuleCall_2_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__ObjectiveReference__ReferredAssignment + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getObjectiveReferenceAccess().getReferredObjectiveDeclarationCrossReference_0()); } + ( + { before(grammarAccess.getObjectiveReferenceAccess().getReferredObjectiveDeclarationIDTerminalRuleCall_0_1()); } + RULE_ID + { after(grammarAccess.getObjectiveReferenceAccess().getReferredObjectiveDeclarationIDTerminalRuleCall_0_1()); } + ) + { after(grammarAccess.getObjectiveReferenceAccess().getReferredObjectiveDeclarationCrossReference_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__ConfigSpecification__EntriesAssignment_2_0 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getConfigSpecificationAccess().getEntriesConfigEntryParserRuleCall_2_0_0()); } + ruleConfigEntry + { after(grammarAccess.getConfigSpecificationAccess().getEntriesConfigEntryParserRuleCall_2_0_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__ConfigSpecification__EntriesAssignment_2_1_1 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getConfigSpecificationAccess().getEntriesConfigEntryParserRuleCall_2_1_1_0()); } + ruleConfigEntry + { after(grammarAccess.getConfigSpecificationAccess().getEntriesConfigEntryParserRuleCall_2_1_1_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__ConfigDeclaration__NameAssignment_1 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getConfigDeclarationAccess().getNameIDTerminalRuleCall_1_0()); } + RULE_ID + { after(grammarAccess.getConfigDeclarationAccess().getNameIDTerminalRuleCall_1_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__ConfigDeclaration__SpecificationAssignment_2 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getConfigDeclarationAccess().getSpecificationConfigSpecificationParserRuleCall_2_0()); } + ruleConfigSpecification + { after(grammarAccess.getConfigDeclarationAccess().getSpecificationConfigSpecificationParserRuleCall_2_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__DocumentationEntry__LevelAssignment_2 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getDocumentationEntryAccess().getLevelDocumentLevelSpecificationEnumRuleCall_2_0()); } + ruleDocumentLevelSpecification + { after(grammarAccess.getDocumentationEntryAccess().getLevelDocumentLevelSpecificationEnumRuleCall_2_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__RuntimeEntry__MillisecLimitAssignment_2 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getRuntimeEntryAccess().getMillisecLimitINTTerminalRuleCall_2_0()); } + RULE_INT + { after(grammarAccess.getRuntimeEntryAccess().getMillisecLimitINTTerminalRuleCall_2_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__MemoryEntry__MegabyteLimitAssignment_2 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getMemoryEntryAccess().getMegabyteLimitINTTerminalRuleCall_2_0()); } + RULE_INT + { after(grammarAccess.getMemoryEntryAccess().getMegabyteLimitINTTerminalRuleCall_2_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__CustomEntry__KeyAssignment_0 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getCustomEntryAccess().getKeySTRINGTerminalRuleCall_0_0()); } + RULE_STRING + { after(grammarAccess.getCustomEntryAccess().getKeySTRINGTerminalRuleCall_0_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__CustomEntry__ValueAssignment_2 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getCustomEntryAccess().getValueSTRINGTerminalRuleCall_2_0()); } + RULE_STRING + { after(grammarAccess.getCustomEntryAccess().getValueSTRINGTerminalRuleCall_2_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__ConfigReference__ConfigAssignment + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getConfigReferenceAccess().getConfigConfigDeclarationCrossReference_0()); } + ( + { before(grammarAccess.getConfigReferenceAccess().getConfigConfigDeclarationIDTerminalRuleCall_0_1()); } + RULE_ID + { after(grammarAccess.getConfigReferenceAccess().getConfigConfigDeclarationIDTerminalRuleCall_0_1()); } + ) + { after(grammarAccess.getConfigReferenceAccess().getConfigConfigDeclarationCrossReference_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__ScopeSpecification__ScopesAssignment_2_0 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getScopeSpecificationAccess().getScopesTypeScopeParserRuleCall_2_0_0()); } + ruleTypeScope + { after(grammarAccess.getScopeSpecificationAccess().getScopesTypeScopeParserRuleCall_2_0_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__ScopeSpecification__ScopesAssignment_2_1_1 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getScopeSpecificationAccess().getScopesTypeScopeParserRuleCall_2_1_1_0()); } + ruleTypeScope + { after(grammarAccess.getScopeSpecificationAccess().getScopesTypeScopeParserRuleCall_2_1_1_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__ClassTypeScope__TypeAssignment_1 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getClassTypeScopeAccess().getTypeClassReferenceParserRuleCall_1_0()); } + ruleClassReference + { after(grammarAccess.getClassTypeScopeAccess().getTypeClassReferenceParserRuleCall_1_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__ClassTypeScope__SetsNewAssignment_2_0 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getClassTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); } + ( + { before(grammarAccess.getClassTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); } + '+=' + { after(grammarAccess.getClassTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); } + ) + { after(grammarAccess.getClassTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__ClassTypeScope__SetsSumAssignment_2_1 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getClassTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); } + ( + { before(grammarAccess.getClassTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); } + '=' + { after(grammarAccess.getClassTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); } + ) + { after(grammarAccess.getClassTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__ClassTypeScope__NumberAssignment_3_0 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getClassTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0()); } + ruleExactNumber + { after(grammarAccess.getClassTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__ClassTypeScope__NumberAssignment_3_1 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getClassTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0()); } + ruleIntervallNumber + { after(grammarAccess.getClassTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__ObjectTypeScope__TypeAssignment_1 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getObjectTypeScopeAccess().getTypeObjectReferenceParserRuleCall_1_0()); } + ruleObjectReference + { after(grammarAccess.getObjectTypeScopeAccess().getTypeObjectReferenceParserRuleCall_1_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__ObjectTypeScope__SetsNewAssignment_2_0 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getObjectTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); } + ( + { before(grammarAccess.getObjectTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); } + '+=' + { after(grammarAccess.getObjectTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); } + ) + { after(grammarAccess.getObjectTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__ObjectTypeScope__SetsSumAssignment_2_1 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getObjectTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); } + ( + { before(grammarAccess.getObjectTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); } + '=' + { after(grammarAccess.getObjectTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); } + ) + { after(grammarAccess.getObjectTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__ObjectTypeScope__NumberAssignment_3_0 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getObjectTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0()); } + ruleExactNumber + { after(grammarAccess.getObjectTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__ObjectTypeScope__NumberAssignment_3_1 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getObjectTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0()); } + ruleIntervallNumber + { after(grammarAccess.getObjectTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__IntegerTypeScope__TypeAssignment_1 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getIntegerTypeScopeAccess().getTypeIntegerReferenceParserRuleCall_1_0()); } + ruleIntegerReference + { after(grammarAccess.getIntegerTypeScopeAccess().getTypeIntegerReferenceParserRuleCall_1_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__IntegerTypeScope__SetsNewAssignment_2_0 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getIntegerTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); } + ( + { before(grammarAccess.getIntegerTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); } + '+=' + { after(grammarAccess.getIntegerTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); } + ) + { after(grammarAccess.getIntegerTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__IntegerTypeScope__SetsSumAssignment_2_1 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getIntegerTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); } + ( + { before(grammarAccess.getIntegerTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); } + '=' + { after(grammarAccess.getIntegerTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); } + ) + { after(grammarAccess.getIntegerTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__IntegerTypeScope__NumberAssignment_3_0 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getIntegerTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0()); } + ruleExactNumber + { after(grammarAccess.getIntegerTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__IntegerTypeScope__NumberAssignment_3_1 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getIntegerTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0()); } + ruleIntervallNumber + { after(grammarAccess.getIntegerTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__IntegerTypeScope__NumberAssignment_3_2 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getIntegerTypeScopeAccess().getNumberIntEnumberationParserRuleCall_3_2_0()); } + ruleIntEnumberation + { after(grammarAccess.getIntegerTypeScopeAccess().getNumberIntEnumberationParserRuleCall_3_2_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__RealTypeScope__TypeAssignment_1 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getRealTypeScopeAccess().getTypeRealReferenceParserRuleCall_1_0()); } + ruleRealReference + { after(grammarAccess.getRealTypeScopeAccess().getTypeRealReferenceParserRuleCall_1_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__RealTypeScope__SetsNewAssignment_2_0 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getRealTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); } + ( + { before(grammarAccess.getRealTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); } + '+=' + { after(grammarAccess.getRealTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); } + ) + { after(grammarAccess.getRealTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__RealTypeScope__SetsSumAssignment_2_1 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getRealTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); } + ( + { before(grammarAccess.getRealTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); } + '=' + { after(grammarAccess.getRealTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); } + ) + { after(grammarAccess.getRealTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__RealTypeScope__NumberAssignment_3_0 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getRealTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0()); } + ruleExactNumber + { after(grammarAccess.getRealTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__RealTypeScope__NumberAssignment_3_1 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getRealTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0()); } + ruleIntervallNumber + { after(grammarAccess.getRealTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__RealTypeScope__NumberAssignment_3_2 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getRealTypeScopeAccess().getNumberRealEnumerationParserRuleCall_3_2_0()); } + ruleRealEnumeration + { after(grammarAccess.getRealTypeScopeAccess().getNumberRealEnumerationParserRuleCall_3_2_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__StringTypeScope__TypeAssignment_1 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getStringTypeScopeAccess().getTypeStringReferenceParserRuleCall_1_0()); } + ruleStringReference + { after(grammarAccess.getStringTypeScopeAccess().getTypeStringReferenceParserRuleCall_1_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__StringTypeScope__SetsNewAssignment_2_0 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getStringTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); } + ( + { before(grammarAccess.getStringTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); } + '+=' + { after(grammarAccess.getStringTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); } + ) + { after(grammarAccess.getStringTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__StringTypeScope__SetsSumAssignment_2_1 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getStringTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); } + ( + { before(grammarAccess.getStringTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); } + '=' + { after(grammarAccess.getStringTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); } + ) + { after(grammarAccess.getStringTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__StringTypeScope__NumberAssignment_3_0 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getStringTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0()); } + ruleExactNumber + { after(grammarAccess.getStringTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__StringTypeScope__NumberAssignment_3_1 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getStringTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0()); } + ruleIntervallNumber + { after(grammarAccess.getStringTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__StringTypeScope__NumberAssignment_3_2 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getStringTypeScopeAccess().getNumberStringEnumerationParserRuleCall_3_2_0()); } + ruleStringEnumeration + { after(grammarAccess.getStringTypeScopeAccess().getNumberStringEnumerationParserRuleCall_3_2_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__ClassReference__ElementAssignment_1 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getClassReferenceAccess().getElementMetamodelElementParserRuleCall_1_0()); } + ruleMetamodelElement + { after(grammarAccess.getClassReferenceAccess().getElementMetamodelElementParserRuleCall_1_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__ExactNumber__ExactNumberAssignment_0 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getExactNumberAccess().getExactNumberINTTerminalRuleCall_0_0()); } + RULE_INT + { after(grammarAccess.getExactNumberAccess().getExactNumberINTTerminalRuleCall_0_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__ExactNumber__ExactUnlimitedAssignment_1 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getExactNumberAccess().getExactUnlimitedAsteriskKeyword_1_0()); } + ( + { before(grammarAccess.getExactNumberAccess().getExactUnlimitedAsteriskKeyword_1_0()); } + '*' + { after(grammarAccess.getExactNumberAccess().getExactUnlimitedAsteriskKeyword_1_0()); } + ) + { after(grammarAccess.getExactNumberAccess().getExactUnlimitedAsteriskKeyword_1_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__IntervallNumber__MinAssignment_0 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getIntervallNumberAccess().getMinINTTerminalRuleCall_0_0()); } + RULE_INT + { after(grammarAccess.getIntervallNumberAccess().getMinINTTerminalRuleCall_0_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__IntervallNumber__MaxNumberAssignment_2_0 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getIntervallNumberAccess().getMaxNumberINTTerminalRuleCall_2_0_0()); } + RULE_INT + { after(grammarAccess.getIntervallNumberAccess().getMaxNumberINTTerminalRuleCall_2_0_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__IntervallNumber__MaxUnlimitedAssignment_2_1 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getIntervallNumberAccess().getMaxUnlimitedAsteriskKeyword_2_1_0()); } + ( + { before(grammarAccess.getIntervallNumberAccess().getMaxUnlimitedAsteriskKeyword_2_1_0()); } + '*' + { after(grammarAccess.getIntervallNumberAccess().getMaxUnlimitedAsteriskKeyword_2_1_0()); } + ) + { after(grammarAccess.getIntervallNumberAccess().getMaxUnlimitedAsteriskKeyword_2_1_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__IntEnumberation__EntryAssignment_2_0 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getIntEnumberationAccess().getEntryINTLiteralParserRuleCall_2_0_0()); } + ruleINTLiteral + { after(grammarAccess.getIntEnumberationAccess().getEntryINTLiteralParserRuleCall_2_0_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__IntEnumberation__EntryAssignment_2_1_1 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getIntEnumberationAccess().getEntryINTLiteralParserRuleCall_2_1_1_0()); } + ruleINTLiteral + { after(grammarAccess.getIntEnumberationAccess().getEntryINTLiteralParserRuleCall_2_1_1_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__RealEnumeration__EntryAssignment_2_0 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getRealEnumerationAccess().getEntryREALLiteralParserRuleCall_2_0_0()); } + ruleREALLiteral + { after(grammarAccess.getRealEnumerationAccess().getEntryREALLiteralParserRuleCall_2_0_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__RealEnumeration__EntryAssignment_2_1_1 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getRealEnumerationAccess().getEntryREALLiteralParserRuleCall_2_1_1_0()); } + ruleREALLiteral + { after(grammarAccess.getRealEnumerationAccess().getEntryREALLiteralParserRuleCall_2_1_1_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__StringEnumeration__EntryAssignment_2_0 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getStringEnumerationAccess().getEntrySTRINGTerminalRuleCall_2_0_0()); } + RULE_STRING + { after(grammarAccess.getStringEnumerationAccess().getEntrySTRINGTerminalRuleCall_2_0_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__StringEnumeration__EntryAssignment_2_1_1 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getStringEnumerationAccess().getEntrySTRINGTerminalRuleCall_2_1_1_0()); } + RULE_STRING + { after(grammarAccess.getStringEnumerationAccess().getEntrySTRINGTerminalRuleCall_2_1_1_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__ScopeDeclaration__NameAssignment_1 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getScopeDeclarationAccess().getNameIDTerminalRuleCall_1_0()); } + RULE_ID + { after(grammarAccess.getScopeDeclarationAccess().getNameIDTerminalRuleCall_1_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__ScopeDeclaration__SpecificationAssignment_2 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getScopeDeclarationAccess().getSpecificationScopeSpecificationParserRuleCall_2_0()); } + ruleScopeSpecification + { after(grammarAccess.getScopeDeclarationAccess().getSpecificationScopeSpecificationParserRuleCall_2_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__ScopeReference__ReferredAssignment + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getScopeReferenceAccess().getReferredScopeDeclarationCrossReference_0()); } + ( + { before(grammarAccess.getScopeReferenceAccess().getReferredScopeDeclarationIDTerminalRuleCall_0_1()); } + RULE_ID + { after(grammarAccess.getScopeReferenceAccess().getReferredScopeDeclarationIDTerminalRuleCall_0_1()); } + ) + { after(grammarAccess.getScopeReferenceAccess().getReferredScopeDeclarationCrossReference_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__GenerationTask__MetamodelAssignment_3_0_2 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getGenerationTaskAccess().getMetamodelMetamodelParserRuleCall_3_0_2_0()); } + ruleMetamodel + { after(grammarAccess.getGenerationTaskAccess().getMetamodelMetamodelParserRuleCall_3_0_2_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__GenerationTask__PartialModelAssignment_3_1_2 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getGenerationTaskAccess().getPartialModelPartialModelParserRuleCall_3_1_2_0()); } + rulePartialModel + { after(grammarAccess.getGenerationTaskAccess().getPartialModelPartialModelParserRuleCall_3_1_2_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__GenerationTask__PatternsAssignment_3_2_2 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getGenerationTaskAccess().getPatternsGraphPatternParserRuleCall_3_2_2_0()); } + ruleGraphPattern + { after(grammarAccess.getGenerationTaskAccess().getPatternsGraphPatternParserRuleCall_3_2_2_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__GenerationTask__ObjectivesAssignment_3_3_2 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getGenerationTaskAccess().getObjectivesObjectiveParserRuleCall_3_3_2_0()); } + ruleObjective + { after(grammarAccess.getGenerationTaskAccess().getObjectivesObjectiveParserRuleCall_3_3_2_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__GenerationTask__ScopeAssignment_3_4_2 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getGenerationTaskAccess().getScopeScopeParserRuleCall_3_4_2_0()); } + ruleScope + { after(grammarAccess.getGenerationTaskAccess().getScopeScopeParserRuleCall_3_4_2_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__GenerationTask__NumberSpecifiedAssignment_3_5_0 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getGenerationTaskAccess().getNumberSpecifiedNumberKeyword_3_5_0_0()); } + ( + { before(grammarAccess.getGenerationTaskAccess().getNumberSpecifiedNumberKeyword_3_5_0_0()); } + 'number' + { after(grammarAccess.getGenerationTaskAccess().getNumberSpecifiedNumberKeyword_3_5_0_0()); } + ) + { after(grammarAccess.getGenerationTaskAccess().getNumberSpecifiedNumberKeyword_3_5_0_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__GenerationTask__NumberAssignment_3_5_2 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getGenerationTaskAccess().getNumberINTTerminalRuleCall_3_5_2_0()); } + RULE_INT + { after(grammarAccess.getGenerationTaskAccess().getNumberINTTerminalRuleCall_3_5_2_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__GenerationTask__RunSpecifiedAssignment_3_6_0 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getGenerationTaskAccess().getRunSpecifiedRunsKeyword_3_6_0_0()); } + ( + { before(grammarAccess.getGenerationTaskAccess().getRunSpecifiedRunsKeyword_3_6_0_0()); } + 'runs' + { after(grammarAccess.getGenerationTaskAccess().getRunSpecifiedRunsKeyword_3_6_0_0()); } + ) + { after(grammarAccess.getGenerationTaskAccess().getRunSpecifiedRunsKeyword_3_6_0_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__GenerationTask__RunsAssignment_3_6_2 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getGenerationTaskAccess().getRunsINTTerminalRuleCall_3_6_2_0()); } + RULE_INT + { after(grammarAccess.getGenerationTaskAccess().getRunsINTTerminalRuleCall_3_6_2_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__GenerationTask__SolverAssignment_3_7_2 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getGenerationTaskAccess().getSolverSolverEnumRuleCall_3_7_2_0()); } + ruleSolver + { after(grammarAccess.getGenerationTaskAccess().getSolverSolverEnumRuleCall_3_7_2_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__GenerationTask__ConfigAssignment_3_8_2 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getGenerationTaskAccess().getConfigConfigParserRuleCall_3_8_2_0()); } + ruleConfig + { after(grammarAccess.getGenerationTaskAccess().getConfigConfigParserRuleCall_3_8_2_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__GenerationTask__DebugFolderAssignment_3_9_2 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getGenerationTaskAccess().getDebugFolderFileParserRuleCall_3_9_2_0()); } + ruleFile + { after(grammarAccess.getGenerationTaskAccess().getDebugFolderFileParserRuleCall_3_9_2_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__GenerationTask__TargetLogFileAssignment_3_10_2 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getGenerationTaskAccess().getTargetLogFileFileParserRuleCall_3_10_2_0()); } + ruleFile + { after(grammarAccess.getGenerationTaskAccess().getTargetLogFileFileParserRuleCall_3_10_2_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__GenerationTask__TargetStatisticsFileAssignment_3_11_2 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getGenerationTaskAccess().getTargetStatisticsFileFileParserRuleCall_3_11_2_0()); } + ruleFile + { after(grammarAccess.getGenerationTaskAccess().getTargetStatisticsFileFileParserRuleCall_3_11_2_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__GenerationTask__TagetFolderAssignment_3_12_2 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getGenerationTaskAccess().getTagetFolderFileParserRuleCall_3_12_2_0()); } + ruleFile + { after(grammarAccess.getGenerationTaskAccess().getTagetFolderFileParserRuleCall_3_12_2_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +RULE_ID : '^'? ('a'..'z'|'A'..'Z'|'_') ('a'..'z'|'A'..'Z'|'_'|'0'..'9')*; + +RULE_INT : ('0'..'9')+; + +RULE_STRING : ('"' ('\\' .|~(('\\'|'"')))* '"'|'\'' ('\\' .|~(('\\'|'\'')))* '\''); + +RULE_ML_COMMENT : '/*' ( options {greedy=false;} : . )*'*/'; + +RULE_SL_COMMENT : '//' ~(('\n'|'\r'))* ('\r'? '\n')?; + +RULE_WS : (' '|'\t'|'\r'|'\n')+; + +RULE_ANY_OTHER : .; diff --git a/Application/hu.bme.mit.inf.dslreasoner.application.ide/src-gen/hu/bme/mit/inf/dslreasoner/application/ide/contentassist/antlr/internal/InternalApplicationConfiguration.tokens b/Application/hu.bme.mit.inf.dslreasoner.application.ide/src-gen/hu/bme/mit/inf/dslreasoner/application/ide/contentassist/antlr/internal/InternalApplicationConfiguration.tokens index f7f2179e..f7399b63 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application.ide/src-gen/hu/bme/mit/inf/dslreasoner/application/ide/contentassist/antlr/internal/InternalApplicationConfiguration.tokens +++ b/Application/hu.bme.mit.inf.dslreasoner.application.ide/src-gen/hu/bme/mit/inf/dslreasoner/application/ide/contentassist/antlr/internal/InternalApplicationConfiguration.tokens @@ -1,101 +1,113 @@ -'#'=38 -'*'=55 -'+='=54 -','=26 -'-'=18 -'.'=17 -'..'=45 -'::'=29 -'<'=39 -'='=23 -'>'=40 -'AlloySolver'=15 -'SMTSolver'=14 -'ViatraSolver'=16 -'config'=34 -'constraints'=33 -'debug'=50 -'epackage'=20 -'excluding'=28 -'file'=22 -'folder'=31 -'full'=13 -'generate'=47 -'import'=19 -'int'=42 -'log'=51 -'log-level'=35 -'memory'=37 -'metamodel'=30 -'models'=32 -'node'=41 -'none'=11 -'normal'=12 -'number'=56 -'output'=53 -'package'=27 -'partial-model'=48 -'real'=43 -'runs'=57 -'runtime'=36 -'scope'=46 -'solver'=49 -'statistics'=52 -'string'=44 -'viatra'=21 -'{'=24 -'}'=25 -RULE_ANY_OTHER=10 -RULE_ID=4 -RULE_INT=5 -RULE_ML_COMMENT=7 -RULE_SL_COMMENT=8 -RULE_STRING=6 -RULE_WS=9 -T__11=11 -T__12=12 -T__13=13 -T__14=14 -T__15=15 -T__16=16 -T__17=17 -T__18=18 -T__19=19 -T__20=20 -T__21=21 -T__22=22 -T__23=23 -T__24=24 -T__25=25 -T__26=26 -T__27=27 -T__28=28 -T__29=29 -T__30=30 -T__31=31 -T__32=32 -T__33=33 -T__34=34 -T__35=35 -T__36=36 -T__37=37 -T__38=38 -T__39=39 -T__40=40 -T__41=41 -T__42=42 -T__43=43 -T__44=44 -T__45=45 -T__46=46 -T__47=47 -T__48=48 -T__49=49 -T__50=50 -T__51=51 -T__52=52 -T__53=53 -T__54=54 -T__55=55 -T__56=56 -T__57=57 +'#'=44 +'*'=61 +'+='=60 +','=31 +'-'=22 +'.'=21 +'..'=51 +'::'=34 +'<'=45 +'<='=13 +'='=28 +'>'=46 +'>='=14 +'AlloySolver'=19 +'SMTSolver'=18 +'ViatraSolver'=20 +'config'=40 +'constraints'=38 +'debug'=56 +'epackage'=24 +'excluding'=33 +'file'=27 +'folder'=36 +'full'=17 +'generate'=53 +'import'=23 +'int'=48 +'log'=57 +'log-level'=41 +'maximize'=12 +'memory'=43 +'metamodel'=35 +'minimize'=11 +'models'=37 +'node'=47 +'none'=15 +'normal'=16 +'number'=62 +'objectives'=39 +'output'=59 +'package'=32 +'partial-model'=54 +'real'=49 +'reliability'=26 +'runs'=63 +'runtime'=42 +'scope'=52 +'solver'=55 +'statistics'=58 +'string'=50 +'viatra'=25 +'{'=29 +'}'=30 +RULE_ANY_OTHER=10 +RULE_ID=4 +RULE_INT=5 +RULE_ML_COMMENT=7 +RULE_SL_COMMENT=8 +RULE_STRING=6 +RULE_WS=9 +T__11=11 +T__12=12 +T__13=13 +T__14=14 +T__15=15 +T__16=16 +T__17=17 +T__18=18 +T__19=19 +T__20=20 +T__21=21 +T__22=22 +T__23=23 +T__24=24 +T__25=25 +T__26=26 +T__27=27 +T__28=28 +T__29=29 +T__30=30 +T__31=31 +T__32=32 +T__33=33 +T__34=34 +T__35=35 +T__36=36 +T__37=37 +T__38=38 +T__39=39 +T__40=40 +T__41=41 +T__42=42 +T__43=43 +T__44=44 +T__45=45 +T__46=46 +T__47=47 +T__48=48 +T__49=49 +T__50=50 +T__51=51 +T__52=52 +T__53=53 +T__54=54 +T__55=55 +T__56=56 +T__57=57 +T__58=58 +T__59=59 +T__60=60 +T__61=61 +T__62=62 +T__63=63 diff --git a/Application/hu.bme.mit.inf.dslreasoner.application.ide/src-gen/hu/bme/mit/inf/dslreasoner/application/ide/contentassist/antlr/internal/InternalApplicationConfigurationLexer.java b/Application/hu.bme.mit.inf.dslreasoner.application.ide/src-gen/hu/bme/mit/inf/dslreasoner/application/ide/contentassist/antlr/internal/InternalApplicationConfigurationLexer.java index 46e0af6f..667cec10 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application.ide/src-gen/hu/bme/mit/inf/dslreasoner/application/ide/contentassist/antlr/internal/InternalApplicationConfigurationLexer.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application.ide/src-gen/hu/bme/mit/inf/dslreasoner/application/ide/contentassist/antlr/internal/InternalApplicationConfigurationLexer.java @@ -1,2372 +1,2584 @@ -package hu.bme.mit.inf.dslreasoner.application.ide.contentassist.antlr.internal; - -// Hack: Use our own Lexer superclass by means of import. -// Currently there is no other way to specify the superclass for the lexer. -import org.eclipse.xtext.ide.editor.contentassist.antlr.internal.Lexer; - - -import org.antlr.runtime.*; -import java.util.Stack; -import java.util.List; -import java.util.ArrayList; - -@SuppressWarnings("all") -public class InternalApplicationConfigurationLexer extends Lexer { - public static final int T__50=50; - public static final int T__19=19; - public static final int T__15=15; - public static final int T__16=16; - public static final int T__17=17; - public static final int T__18=18; - public static final int T__11=11; - public static final int T__55=55; - public static final int T__12=12; - public static final int T__56=56; - public static final int T__13=13; - public static final int T__57=57; - public static final int T__14=14; - public static final int T__51=51; - public static final int T__52=52; - public static final int T__53=53; - public static final int T__54=54; - public static final int RULE_ID=4; - public static final int T__26=26; - public static final int T__27=27; - public static final int T__28=28; - public static final int RULE_INT=5; - public static final int T__29=29; - public static final int T__22=22; - public static final int RULE_ML_COMMENT=7; - public static final int T__23=23; - public static final int T__24=24; - public static final int T__25=25; - public static final int T__20=20; - public static final int T__21=21; - public static final int RULE_STRING=6; - public static final int RULE_SL_COMMENT=8; - public static final int T__37=37; - public static final int T__38=38; - public static final int T__39=39; - public static final int T__33=33; - public static final int T__34=34; - public static final int T__35=35; - public static final int T__36=36; - public static final int EOF=-1; - public static final int T__30=30; - public static final int T__31=31; - public static final int T__32=32; - public static final int RULE_WS=9; - public static final int RULE_ANY_OTHER=10; - public static final int T__48=48; - public static final int T__49=49; - public static final int T__44=44; - public static final int T__45=45; - public static final int T__46=46; - public static final int T__47=47; - public static final int T__40=40; - public static final int T__41=41; - public static final int T__42=42; - public static final int T__43=43; - - // delegates - // delegators - - public InternalApplicationConfigurationLexer() {;} - public InternalApplicationConfigurationLexer(CharStream input) { - this(input, new RecognizerSharedState()); - } - public InternalApplicationConfigurationLexer(CharStream input, RecognizerSharedState state) { - super(input,state); - - } - public String getGrammarFileName() { return "InternalApplicationConfiguration.g"; } - - // $ANTLR start "T__11" - public final void mT__11() throws RecognitionException { - try { - int _type = T__11; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:11:7: ( 'none' ) - // InternalApplicationConfiguration.g:11:9: 'none' - { - match("none"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__11" - - // $ANTLR start "T__12" - public final void mT__12() throws RecognitionException { - try { - int _type = T__12; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:12:7: ( 'normal' ) - // InternalApplicationConfiguration.g:12:9: 'normal' - { - match("normal"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__12" - - // $ANTLR start "T__13" - public final void mT__13() throws RecognitionException { - try { - int _type = T__13; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:13:7: ( 'full' ) - // InternalApplicationConfiguration.g:13:9: 'full' - { - match("full"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__13" - - // $ANTLR start "T__14" - public final void mT__14() throws RecognitionException { - try { - int _type = T__14; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:14:7: ( 'SMTSolver' ) - // InternalApplicationConfiguration.g:14:9: 'SMTSolver' - { - match("SMTSolver"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__14" - - // $ANTLR start "T__15" - public final void mT__15() throws RecognitionException { - try { - int _type = T__15; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:15:7: ( 'AlloySolver' ) - // InternalApplicationConfiguration.g:15:9: 'AlloySolver' - { - match("AlloySolver"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__15" - - // $ANTLR start "T__16" - public final void mT__16() throws RecognitionException { - try { - int _type = T__16; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:16:7: ( 'ViatraSolver' ) - // InternalApplicationConfiguration.g:16:9: 'ViatraSolver' - { - match("ViatraSolver"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__16" - - // $ANTLR start "T__17" - public final void mT__17() throws RecognitionException { - try { - int _type = T__17; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:17:7: ( '.' ) - // InternalApplicationConfiguration.g:17:9: '.' - { - match('.'); - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__17" - - // $ANTLR start "T__18" - public final void mT__18() throws RecognitionException { - try { - int _type = T__18; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:18:7: ( '-' ) - // InternalApplicationConfiguration.g:18:9: '-' - { - match('-'); - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__18" - - // $ANTLR start "T__19" - public final void mT__19() throws RecognitionException { - try { - int _type = T__19; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:19:7: ( 'import' ) - // InternalApplicationConfiguration.g:19:9: 'import' - { - match("import"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__19" - - // $ANTLR start "T__20" - public final void mT__20() throws RecognitionException { - try { - int _type = T__20; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:20:7: ( 'epackage' ) - // InternalApplicationConfiguration.g:20:9: 'epackage' - { - match("epackage"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__20" - - // $ANTLR start "T__21" - public final void mT__21() throws RecognitionException { - try { - int _type = T__21; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:21:7: ( 'viatra' ) - // InternalApplicationConfiguration.g:21:9: 'viatra' - { - match("viatra"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__21" - - // $ANTLR start "T__22" - public final void mT__22() throws RecognitionException { - try { - int _type = T__22; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:22:7: ( 'file' ) - // InternalApplicationConfiguration.g:22:9: 'file' - { - match("file"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__22" - - // $ANTLR start "T__23" - public final void mT__23() throws RecognitionException { - try { - int _type = T__23; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:23:7: ( '=' ) - // InternalApplicationConfiguration.g:23:9: '=' - { - match('='); - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__23" - - // $ANTLR start "T__24" - public final void mT__24() throws RecognitionException { - try { - int _type = T__24; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:24:7: ( '{' ) - // InternalApplicationConfiguration.g:24:9: '{' - { - match('{'); - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__24" - - // $ANTLR start "T__25" - public final void mT__25() throws RecognitionException { - try { - int _type = T__25; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:25:7: ( '}' ) - // InternalApplicationConfiguration.g:25:9: '}' - { - match('}'); - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__25" - - // $ANTLR start "T__26" - public final void mT__26() throws RecognitionException { - try { - int _type = T__26; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:26:7: ( ',' ) - // InternalApplicationConfiguration.g:26:9: ',' - { - match(','); - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__26" - - // $ANTLR start "T__27" - public final void mT__27() throws RecognitionException { - try { - int _type = T__27; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:27:7: ( 'package' ) - // InternalApplicationConfiguration.g:27:9: 'package' - { - match("package"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__27" - - // $ANTLR start "T__28" - public final void mT__28() throws RecognitionException { - try { - int _type = T__28; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:28:7: ( 'excluding' ) - // InternalApplicationConfiguration.g:28:9: 'excluding' - { - match("excluding"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__28" - - // $ANTLR start "T__29" - public final void mT__29() throws RecognitionException { - try { - int _type = T__29; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:29:7: ( '::' ) - // InternalApplicationConfiguration.g:29:9: '::' - { - match("::"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__29" - - // $ANTLR start "T__30" - public final void mT__30() throws RecognitionException { - try { - int _type = T__30; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:30:7: ( 'metamodel' ) - // InternalApplicationConfiguration.g:30:9: 'metamodel' - { - match("metamodel"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__30" - - // $ANTLR start "T__31" - public final void mT__31() throws RecognitionException { - try { - int _type = T__31; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:31:7: ( 'folder' ) - // InternalApplicationConfiguration.g:31:9: 'folder' - { - match("folder"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__31" - - // $ANTLR start "T__32" - public final void mT__32() throws RecognitionException { - try { - int _type = T__32; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:32:7: ( 'models' ) - // InternalApplicationConfiguration.g:32:9: 'models' - { - match("models"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__32" - - // $ANTLR start "T__33" - public final void mT__33() throws RecognitionException { - try { - int _type = T__33; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:33:7: ( 'constraints' ) - // InternalApplicationConfiguration.g:33:9: 'constraints' - { - match("constraints"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__33" - - // $ANTLR start "T__34" - public final void mT__34() throws RecognitionException { - try { - int _type = T__34; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:34:7: ( 'config' ) - // InternalApplicationConfiguration.g:34:9: 'config' - { - match("config"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__34" - - // $ANTLR start "T__35" - public final void mT__35() throws RecognitionException { - try { - int _type = T__35; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:35:7: ( 'log-level' ) - // InternalApplicationConfiguration.g:35:9: 'log-level' - { - match("log-level"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__35" - - // $ANTLR start "T__36" - public final void mT__36() throws RecognitionException { - try { - int _type = T__36; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:36:7: ( 'runtime' ) - // InternalApplicationConfiguration.g:36:9: 'runtime' - { - match("runtime"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__36" - - // $ANTLR start "T__37" - public final void mT__37() throws RecognitionException { - try { - int _type = T__37; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:37:7: ( 'memory' ) - // InternalApplicationConfiguration.g:37:9: 'memory' - { - match("memory"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__37" - - // $ANTLR start "T__38" - public final void mT__38() throws RecognitionException { - try { - int _type = T__38; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:38:7: ( '#' ) - // InternalApplicationConfiguration.g:38:9: '#' - { - match('#'); - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__38" - - // $ANTLR start "T__39" - public final void mT__39() throws RecognitionException { - try { - int _type = T__39; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:39:7: ( '<' ) - // InternalApplicationConfiguration.g:39:9: '<' - { - match('<'); - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__39" - - // $ANTLR start "T__40" - public final void mT__40() throws RecognitionException { - try { - int _type = T__40; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:40:7: ( '>' ) - // InternalApplicationConfiguration.g:40:9: '>' - { - match('>'); - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__40" - - // $ANTLR start "T__41" - public final void mT__41() throws RecognitionException { - try { - int _type = T__41; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:41:7: ( 'node' ) - // InternalApplicationConfiguration.g:41:9: 'node' - { - match("node"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__41" - - // $ANTLR start "T__42" - public final void mT__42() throws RecognitionException { - try { - int _type = T__42; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:42:7: ( 'int' ) - // InternalApplicationConfiguration.g:42:9: 'int' - { - match("int"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__42" - - // $ANTLR start "T__43" - public final void mT__43() throws RecognitionException { - try { - int _type = T__43; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:43:7: ( 'real' ) - // InternalApplicationConfiguration.g:43:9: 'real' - { - match("real"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__43" - - // $ANTLR start "T__44" - public final void mT__44() throws RecognitionException { - try { - int _type = T__44; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:44:7: ( 'string' ) - // InternalApplicationConfiguration.g:44:9: 'string' - { - match("string"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__44" - - // $ANTLR start "T__45" - public final void mT__45() throws RecognitionException { - try { - int _type = T__45; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:45:7: ( '..' ) - // InternalApplicationConfiguration.g:45:9: '..' - { - match(".."); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__45" - - // $ANTLR start "T__46" - public final void mT__46() throws RecognitionException { - try { - int _type = T__46; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:46:7: ( 'scope' ) - // InternalApplicationConfiguration.g:46:9: 'scope' - { - match("scope"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__46" - - // $ANTLR start "T__47" - public final void mT__47() throws RecognitionException { - try { - int _type = T__47; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:47:7: ( 'generate' ) - // InternalApplicationConfiguration.g:47:9: 'generate' - { - match("generate"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__47" - - // $ANTLR start "T__48" - public final void mT__48() throws RecognitionException { - try { - int _type = T__48; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:48:7: ( 'partial-model' ) - // InternalApplicationConfiguration.g:48:9: 'partial-model' - { - match("partial-model"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $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: ( 'solver' ) - // InternalApplicationConfiguration.g:49:9: 'solver' - { - match("solver"); - - - } - - 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: ( 'debug' ) - // InternalApplicationConfiguration.g:50:9: 'debug' - { - match("debug"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__50" - - // $ANTLR start "T__51" - public final void mT__51() throws RecognitionException { - try { - int _type = T__51; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:51:7: ( 'log' ) - // InternalApplicationConfiguration.g:51:9: 'log' - { - match("log"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__51" - - // $ANTLR start "T__52" - public final void mT__52() throws RecognitionException { - try { - int _type = T__52; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:52:7: ( 'statistics' ) - // InternalApplicationConfiguration.g:52:9: 'statistics' - { - match("statistics"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__52" - - // $ANTLR start "T__53" - public final void mT__53() throws RecognitionException { - try { - int _type = T__53; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:53:7: ( 'output' ) - // InternalApplicationConfiguration.g:53:9: 'output' - { - match("output"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__53" - - // $ANTLR start "T__54" - public final void mT__54() throws RecognitionException { - try { - int _type = T__54; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:54:7: ( '+=' ) - // InternalApplicationConfiguration.g:54:9: '+=' - { - match("+="); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__54" - - // $ANTLR start "T__55" - public final void mT__55() throws RecognitionException { - try { - int _type = T__55; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:55:7: ( '*' ) - // InternalApplicationConfiguration.g:55:9: '*' - { - match('*'); - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__55" - - // $ANTLR start "T__56" - public final void mT__56() throws RecognitionException { - try { - int _type = T__56; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:56:7: ( 'number' ) - // InternalApplicationConfiguration.g:56:9: 'number' - { - match("number"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__56" - - // $ANTLR start "T__57" - public final void mT__57() throws RecognitionException { - try { - int _type = T__57; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:57:7: ( 'runs' ) - // InternalApplicationConfiguration.g:57:9: 'runs' - { - match("runs"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__57" - - // $ANTLR start "RULE_ID" - public final void mRULE_ID() throws RecognitionException { - try { - int _type = RULE_ID; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:10476:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* ) - // InternalApplicationConfiguration.g:10476:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* - { - // InternalApplicationConfiguration.g:10476:11: ( '^' )? - int alt1=2; - int LA1_0 = input.LA(1); - - if ( (LA1_0=='^') ) { - alt1=1; - } - switch (alt1) { - case 1 : - // InternalApplicationConfiguration.g:10476:11: '^' - { - match('^'); - - } - break; - - } - - if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) { - input.consume(); - - } - else { - MismatchedSetException mse = new MismatchedSetException(null,input); - recover(mse); - throw mse;} - - // InternalApplicationConfiguration.g:10476:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* - loop2: - do { - int alt2=2; - int LA2_0 = input.LA(1); - - if ( ((LA2_0>='0' && LA2_0<='9')||(LA2_0>='A' && LA2_0<='Z')||LA2_0=='_'||(LA2_0>='a' && LA2_0<='z')) ) { - alt2=1; - } - - - switch (alt2) { - case 1 : - // InternalApplicationConfiguration.g: - { - if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) { - input.consume(); - - } - else { - MismatchedSetException mse = new MismatchedSetException(null,input); - recover(mse); - throw mse;} - - - } - break; - - default : - break loop2; - } - } while (true); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "RULE_ID" - - // $ANTLR start "RULE_INT" - public final void mRULE_INT() throws RecognitionException { - try { - int _type = RULE_INT; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:10478:10: ( ( '0' .. '9' )+ ) - // InternalApplicationConfiguration.g:10478:12: ( '0' .. '9' )+ - { - // InternalApplicationConfiguration.g:10478:12: ( '0' .. '9' )+ - int cnt3=0; - loop3: - do { - int alt3=2; - int LA3_0 = input.LA(1); - - if ( ((LA3_0>='0' && LA3_0<='9')) ) { - alt3=1; - } - - - switch (alt3) { - case 1 : - // InternalApplicationConfiguration.g:10478:13: '0' .. '9' - { - matchRange('0','9'); - - } - break; - - default : - if ( cnt3 >= 1 ) break loop3; - EarlyExitException eee = - new EarlyExitException(3, input); - throw eee; - } - cnt3++; - } while (true); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "RULE_INT" - - // $ANTLR start "RULE_STRING" - public final void mRULE_STRING() throws RecognitionException { - try { - int _type = RULE_STRING; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:10480:13: ( ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) ) - // InternalApplicationConfiguration.g:10480:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) - { - // InternalApplicationConfiguration.g:10480:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) - int alt6=2; - int LA6_0 = input.LA(1); - - if ( (LA6_0=='\"') ) { - alt6=1; - } - else if ( (LA6_0=='\'') ) { - alt6=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 6, 0, input); - - throw nvae; - } - switch (alt6) { - case 1 : - // InternalApplicationConfiguration.g:10480:16: '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' - { - match('\"'); - // InternalApplicationConfiguration.g:10480:20: ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* - loop4: - do { - int alt4=3; - int LA4_0 = input.LA(1); - - if ( (LA4_0=='\\') ) { - alt4=1; - } - else if ( ((LA4_0>='\u0000' && LA4_0<='!')||(LA4_0>='#' && LA4_0<='[')||(LA4_0>=']' && LA4_0<='\uFFFF')) ) { - alt4=2; - } - - - switch (alt4) { - case 1 : - // InternalApplicationConfiguration.g:10480:21: '\\\\' . - { - match('\\'); - matchAny(); - - } - break; - case 2 : - // InternalApplicationConfiguration.g:10480:28: ~ ( ( '\\\\' | '\"' ) ) - { - if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { - input.consume(); - - } - else { - MismatchedSetException mse = new MismatchedSetException(null,input); - recover(mse); - throw mse;} - - - } - break; - - default : - break loop4; - } - } while (true); - - match('\"'); - - } - break; - case 2 : - // InternalApplicationConfiguration.g:10480:48: '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' - { - match('\''); - // InternalApplicationConfiguration.g:10480:53: ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* - loop5: - do { - int alt5=3; - int LA5_0 = input.LA(1); - - if ( (LA5_0=='\\') ) { - alt5=1; - } - else if ( ((LA5_0>='\u0000' && LA5_0<='&')||(LA5_0>='(' && LA5_0<='[')||(LA5_0>=']' && LA5_0<='\uFFFF')) ) { - alt5=2; - } - - - switch (alt5) { - case 1 : - // InternalApplicationConfiguration.g:10480:54: '\\\\' . - { - match('\\'); - matchAny(); - - } - break; - case 2 : - // InternalApplicationConfiguration.g:10480:61: ~ ( ( '\\\\' | '\\'' ) ) - { - if ( (input.LA(1)>='\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { - input.consume(); - - } - else { - MismatchedSetException mse = new MismatchedSetException(null,input); - recover(mse); - throw mse;} - - - } - break; - - default : - break loop5; - } - } while (true); - - match('\''); - - } - break; - - } - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "RULE_STRING" - - // $ANTLR start "RULE_ML_COMMENT" - public final void mRULE_ML_COMMENT() throws RecognitionException { - try { - int _type = RULE_ML_COMMENT; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:10482:17: ( '/*' ( options {greedy=false; } : . )* '*/' ) - // InternalApplicationConfiguration.g:10482:19: '/*' ( options {greedy=false; } : . )* '*/' - { - match("/*"); - - // InternalApplicationConfiguration.g:10482:24: ( options {greedy=false; } : . )* - loop7: - do { - int alt7=2; - int LA7_0 = input.LA(1); - - if ( (LA7_0=='*') ) { - int LA7_1 = input.LA(2); - - if ( (LA7_1=='/') ) { - alt7=2; - } - else if ( ((LA7_1>='\u0000' && LA7_1<='.')||(LA7_1>='0' && LA7_1<='\uFFFF')) ) { - alt7=1; - } - - - } - else if ( ((LA7_0>='\u0000' && LA7_0<=')')||(LA7_0>='+' && LA7_0<='\uFFFF')) ) { - alt7=1; - } - - - switch (alt7) { - case 1 : - // InternalApplicationConfiguration.g:10482:52: . - { - matchAny(); - - } - break; - - default : - break loop7; - } - } while (true); - - match("*/"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "RULE_ML_COMMENT" - - // $ANTLR start "RULE_SL_COMMENT" - public final void mRULE_SL_COMMENT() throws RecognitionException { - try { - int _type = RULE_SL_COMMENT; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:10484:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? ) - // InternalApplicationConfiguration.g:10484:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? - { - match("//"); - - // InternalApplicationConfiguration.g:10484:24: (~ ( ( '\\n' | '\\r' ) ) )* - loop8: - do { - int alt8=2; - int LA8_0 = input.LA(1); - - if ( ((LA8_0>='\u0000' && LA8_0<='\t')||(LA8_0>='\u000B' && LA8_0<='\f')||(LA8_0>='\u000E' && LA8_0<='\uFFFF')) ) { - alt8=1; - } - - - switch (alt8) { - case 1 : - // InternalApplicationConfiguration.g:10484:24: ~ ( ( '\\n' | '\\r' ) ) - { - if ( (input.LA(1)>='\u0000' && input.LA(1)<='\t')||(input.LA(1)>='\u000B' && input.LA(1)<='\f')||(input.LA(1)>='\u000E' && input.LA(1)<='\uFFFF') ) { - input.consume(); - - } - else { - MismatchedSetException mse = new MismatchedSetException(null,input); - recover(mse); - throw mse;} - - - } - break; - - default : - break loop8; - } - } while (true); - - // InternalApplicationConfiguration.g:10484:40: ( ( '\\r' )? '\\n' )? - int alt10=2; - int LA10_0 = input.LA(1); - - if ( (LA10_0=='\n'||LA10_0=='\r') ) { - alt10=1; - } - switch (alt10) { - case 1 : - // InternalApplicationConfiguration.g:10484:41: ( '\\r' )? '\\n' - { - // InternalApplicationConfiguration.g:10484:41: ( '\\r' )? - int alt9=2; - int LA9_0 = input.LA(1); - - if ( (LA9_0=='\r') ) { - alt9=1; - } - switch (alt9) { - case 1 : - // InternalApplicationConfiguration.g:10484:41: '\\r' - { - match('\r'); - - } - break; - - } - - match('\n'); - - } - break; - - } - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "RULE_SL_COMMENT" - - // $ANTLR start "RULE_WS" - public final void mRULE_WS() throws RecognitionException { - try { - int _type = RULE_WS; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:10486:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ ) - // InternalApplicationConfiguration.g:10486:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ - { - // InternalApplicationConfiguration.g:10486:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ - int cnt11=0; - loop11: - do { - int alt11=2; - int LA11_0 = input.LA(1); - - if ( ((LA11_0>='\t' && LA11_0<='\n')||LA11_0=='\r'||LA11_0==' ') ) { - alt11=1; - } - - - switch (alt11) { - case 1 : - // InternalApplicationConfiguration.g: - { - if ( (input.LA(1)>='\t' && input.LA(1)<='\n')||input.LA(1)=='\r'||input.LA(1)==' ' ) { - input.consume(); - - } - else { - MismatchedSetException mse = new MismatchedSetException(null,input); - recover(mse); - throw mse;} - - - } - break; - - default : - if ( cnt11 >= 1 ) break loop11; - EarlyExitException eee = - new EarlyExitException(11, input); - throw eee; - } - cnt11++; - } while (true); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "RULE_WS" - - // $ANTLR start "RULE_ANY_OTHER" - public final void mRULE_ANY_OTHER() throws RecognitionException { - try { - int _type = RULE_ANY_OTHER; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:10488:16: ( . ) - // InternalApplicationConfiguration.g:10488:18: . - { - matchAny(); - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "RULE_ANY_OTHER" - - public void mTokens() throws RecognitionException { - // InternalApplicationConfiguration.g:1:8: ( T__11 | T__12 | T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | 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 | T__51 | T__52 | T__53 | T__54 | T__55 | T__56 | T__57 | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER ) - int alt12=54; - alt12 = dfa12.predict(input); - switch (alt12) { - case 1 : - // InternalApplicationConfiguration.g:1:10: T__11 - { - mT__11(); - - } - break; - case 2 : - // InternalApplicationConfiguration.g:1:16: T__12 - { - mT__12(); - - } - break; - case 3 : - // InternalApplicationConfiguration.g:1:22: T__13 - { - mT__13(); - - } - break; - case 4 : - // InternalApplicationConfiguration.g:1:28: T__14 - { - mT__14(); - - } - break; - case 5 : - // InternalApplicationConfiguration.g:1:34: T__15 - { - mT__15(); - - } - break; - case 6 : - // InternalApplicationConfiguration.g:1:40: T__16 - { - mT__16(); - - } - break; - case 7 : - // InternalApplicationConfiguration.g:1:46: T__17 - { - mT__17(); - - } - break; - case 8 : - // InternalApplicationConfiguration.g:1:52: T__18 - { - mT__18(); - - } - break; - case 9 : - // InternalApplicationConfiguration.g:1:58: T__19 - { - mT__19(); - - } - break; - case 10 : - // InternalApplicationConfiguration.g:1:64: T__20 - { - mT__20(); - - } - break; - case 11 : - // InternalApplicationConfiguration.g:1:70: T__21 - { - mT__21(); - - } - break; - case 12 : - // InternalApplicationConfiguration.g:1:76: T__22 - { - mT__22(); - - } - break; - case 13 : - // InternalApplicationConfiguration.g:1:82: T__23 - { - mT__23(); - - } - break; - case 14 : - // InternalApplicationConfiguration.g:1:88: T__24 - { - mT__24(); - - } - break; - case 15 : - // InternalApplicationConfiguration.g:1:94: T__25 - { - mT__25(); - - } - break; - case 16 : - // InternalApplicationConfiguration.g:1:100: T__26 - { - mT__26(); - - } - break; - case 17 : - // InternalApplicationConfiguration.g:1:106: T__27 - { - mT__27(); - - } - break; - case 18 : - // InternalApplicationConfiguration.g:1:112: T__28 - { - mT__28(); - - } - break; - case 19 : - // InternalApplicationConfiguration.g:1:118: T__29 - { - mT__29(); - - } - break; - case 20 : - // InternalApplicationConfiguration.g:1:124: T__30 - { - mT__30(); - - } - break; - case 21 : - // InternalApplicationConfiguration.g:1:130: T__31 - { - mT__31(); - - } - break; - case 22 : - // InternalApplicationConfiguration.g:1:136: T__32 - { - mT__32(); - - } - break; - case 23 : - // InternalApplicationConfiguration.g:1:142: T__33 - { - mT__33(); - - } - break; - case 24 : - // InternalApplicationConfiguration.g:1:148: T__34 - { - mT__34(); - - } - break; - case 25 : - // InternalApplicationConfiguration.g:1:154: T__35 - { - mT__35(); - - } - break; - case 26 : - // InternalApplicationConfiguration.g:1:160: T__36 - { - mT__36(); - - } - break; - case 27 : - // InternalApplicationConfiguration.g:1:166: T__37 - { - mT__37(); - - } - break; - case 28 : - // InternalApplicationConfiguration.g:1:172: T__38 - { - mT__38(); - - } - break; - case 29 : - // InternalApplicationConfiguration.g:1:178: T__39 - { - mT__39(); - - } - break; - case 30 : - // InternalApplicationConfiguration.g:1:184: T__40 - { - mT__40(); - - } - break; - case 31 : - // InternalApplicationConfiguration.g:1:190: T__41 - { - mT__41(); - - } - break; - case 32 : - // InternalApplicationConfiguration.g:1:196: T__42 - { - mT__42(); - - } - break; - case 33 : - // InternalApplicationConfiguration.g:1:202: T__43 - { - mT__43(); - - } - break; - case 34 : - // InternalApplicationConfiguration.g:1:208: T__44 - { - mT__44(); - - } - break; - case 35 : - // InternalApplicationConfiguration.g:1:214: T__45 - { - mT__45(); - - } - break; - case 36 : - // InternalApplicationConfiguration.g:1:220: T__46 - { - mT__46(); - - } - break; - case 37 : - // InternalApplicationConfiguration.g:1:226: T__47 - { - mT__47(); - - } - break; - case 38 : - // InternalApplicationConfiguration.g:1:232: T__48 - { - mT__48(); - - } - break; - case 39 : - // InternalApplicationConfiguration.g:1:238: T__49 - { - mT__49(); - - } - break; - case 40 : - // InternalApplicationConfiguration.g:1:244: T__50 - { - mT__50(); - - } - break; - case 41 : - // InternalApplicationConfiguration.g:1:250: T__51 - { - mT__51(); - - } - break; - case 42 : - // InternalApplicationConfiguration.g:1:256: T__52 - { - mT__52(); - - } - break; - case 43 : - // InternalApplicationConfiguration.g:1:262: T__53 - { - mT__53(); - - } - break; - case 44 : - // InternalApplicationConfiguration.g:1:268: T__54 - { - mT__54(); - - } - break; - case 45 : - // InternalApplicationConfiguration.g:1:274: T__55 - { - mT__55(); - - } - break; - case 46 : - // InternalApplicationConfiguration.g:1:280: T__56 - { - mT__56(); - - } - break; - case 47 : - // InternalApplicationConfiguration.g:1:286: T__57 - { - mT__57(); - - } - break; - case 48 : - // InternalApplicationConfiguration.g:1:292: RULE_ID - { - mRULE_ID(); - - } - break; - case 49 : - // InternalApplicationConfiguration.g:1:300: RULE_INT - { - mRULE_INT(); - - } - break; - case 50 : - // InternalApplicationConfiguration.g:1:309: RULE_STRING - { - mRULE_STRING(); - - } - break; - case 51 : - // InternalApplicationConfiguration.g:1:321: RULE_ML_COMMENT - { - mRULE_ML_COMMENT(); - - } - break; - case 52 : - // InternalApplicationConfiguration.g:1:337: RULE_SL_COMMENT - { - mRULE_SL_COMMENT(); - - } - break; - case 53 : - // InternalApplicationConfiguration.g:1:353: RULE_WS - { - mRULE_WS(); - - } - break; - case 54 : - // InternalApplicationConfiguration.g:1:361: RULE_ANY_OTHER - { - mRULE_ANY_OTHER(); - - } - break; - - } - - } - - - protected DFA12 dfa12 = new DFA12(this); - static final String DFA12_eotS = - "\1\uffff\5\50\1\60\1\uffff\3\50\4\uffff\1\50\1\45\4\50\3\uffff\4\50\1\45\1\uffff\1\45\2\uffff\3\45\2\uffff\2\50\1\uffff\6\50\3\uffff\5\50\4\uffff\1\50\1\uffff\6\50\3\uffff\6\50\7\uffff\13\50\1\175\11\50\1\u0089\11\50\1\u0094\1\50\1\u0096\1\50\1\u0098\1\u0099\5\50\1\uffff\12\50\2\uffff\1\50\1\u00aa\1\u00ab\7\50\1\uffff\1\50\1\uffff\1\50\2\uffff\20\50\2\uffff\2\50\1\u00c7\2\50\1\u00ca\1\50\1\u00cc\1\u00cd\1\u00ce\3\50\1\u00d2\2\50\1\u00d5\3\50\1\u00d9\1\u00da\1\50\1\u00dc\1\50\1\u00de\1\50\1\uffff\1\u00e0\1\50\1\uffff\1\u00e2\3\uffff\3\50\1\uffff\2\50\1\uffff\1\u00e8\2\50\2\uffff\1\50\1\uffff\1\u00ec\1\uffff\1\50\1\uffff\1\50\1\uffff\3\50\1\u00f2\1\50\2\uffff\2\50\1\uffff\1\50\1\u00f7\1\u00f8\2\50\1\uffff\1\u00fb\1\u00fc\2\50\2\uffff\2\50\2\uffff\1\50\1\u0102\1\u0103\1\50\1\u0105\2\uffff\1\u0106\2\uffff"; - static final String DFA12_eofS = - "\u0107\uffff"; - static final String DFA12_minS = - "\1\0\1\157\1\151\1\115\1\154\1\151\1\56\1\uffff\1\155\1\160\1\151\4\uffff\1\141\1\72\1\145\2\157\1\145\3\uffff\1\143\2\145\1\165\1\75\1\uffff\1\101\2\uffff\2\0\1\52\2\uffff\1\144\1\155\1\uffff\3\154\1\124\1\154\1\141\3\uffff\1\160\1\164\1\141\1\143\1\141\4\uffff\1\143\1\uffff\1\155\1\144\1\156\1\147\1\156\1\141\3\uffff\1\141\1\157\1\154\1\156\1\142\1\164\7\uffff\1\145\1\155\1\145\1\142\1\154\1\145\1\144\1\123\1\157\1\164\1\157\1\60\1\143\1\154\1\164\1\153\1\164\1\141\1\157\1\145\1\146\1\55\1\163\1\154\1\151\1\164\1\160\1\166\1\145\1\165\1\160\1\60\1\141\1\60\1\145\2\60\1\145\1\157\1\171\2\162\1\uffff\1\153\1\165\1\162\1\141\1\151\1\155\1\162\1\154\1\164\1\151\2\uffff\1\151\2\60\1\156\1\151\2\145\1\162\1\147\1\165\1\uffff\1\154\1\uffff\1\162\2\uffff\1\162\1\154\1\123\1\141\1\164\1\141\1\144\1\141\1\147\1\141\1\157\1\171\1\163\1\162\1\147\1\155\2\uffff\1\147\1\163\1\60\1\162\1\141\1\60\1\164\3\60\1\166\1\157\1\123\1\60\1\147\1\151\1\60\1\145\1\154\1\144\2\60\1\141\1\60\1\145\1\60\1\164\1\uffff\1\60\1\164\1\uffff\1\60\3\uffff\1\145\1\154\1\157\1\uffff\1\145\1\156\1\uffff\1\60\1\55\1\145\2\uffff\1\151\1\uffff\1\60\1\uffff\1\151\1\uffff\1\145\1\uffff\1\162\1\166\1\154\1\60\1\147\2\uffff\1\154\1\156\1\uffff\1\143\2\60\1\145\1\166\1\uffff\2\60\1\164\1\163\2\uffff\1\162\1\145\2\uffff\1\163\2\60\1\162\1\60\2\uffff\1\60\2\uffff"; - static final String DFA12_maxS = - "\1\uffff\2\165\1\115\1\154\1\151\1\56\1\uffff\1\156\1\170\1\151\4\uffff\1\141\1\72\3\157\1\165\3\uffff\1\164\2\145\1\165\1\75\1\uffff\1\172\2\uffff\2\uffff\1\57\2\uffff\1\162\1\155\1\uffff\3\154\1\124\1\154\1\141\3\uffff\1\160\1\164\1\141\1\143\1\141\4\uffff\1\162\1\uffff\1\164\1\144\1\156\1\147\1\156\1\141\3\uffff\1\162\1\157\1\154\1\156\1\142\1\164\7\uffff\1\145\1\155\1\145\1\142\1\154\1\145\1\144\1\123\1\157\1\164\1\157\1\172\1\143\1\154\1\164\1\153\1\164\1\141\1\157\1\145\1\163\1\172\1\164\1\154\1\151\1\164\1\160\1\166\1\145\1\165\1\160\1\172\1\141\1\172\1\145\2\172\1\145\1\157\1\171\2\162\1\uffff\1\153\1\165\1\162\1\141\1\151\1\155\1\162\1\154\1\164\1\151\2\uffff\1\151\2\172\1\156\1\151\2\145\1\162\1\147\1\165\1\uffff\1\154\1\uffff\1\162\2\uffff\1\162\1\154\1\123\1\141\1\164\1\141\1\144\1\141\1\147\1\141\1\157\1\171\1\163\1\162\1\147\1\155\2\uffff\1\147\1\163\1\172\1\162\1\141\1\172\1\164\3\172\1\166\1\157\1\123\1\172\1\147\1\151\1\172\1\145\1\154\1\144\2\172\1\141\1\172\1\145\1\172\1\164\1\uffff\1\172\1\164\1\uffff\1\172\3\uffff\1\145\1\154\1\157\1\uffff\1\145\1\156\1\uffff\1\172\1\55\1\145\2\uffff\1\151\1\uffff\1\172\1\uffff\1\151\1\uffff\1\145\1\uffff\1\162\1\166\1\154\1\172\1\147\2\uffff\1\154\1\156\1\uffff\1\143\2\172\1\145\1\166\1\uffff\2\172\1\164\1\163\2\uffff\1\162\1\145\2\uffff\1\163\2\172\1\162\1\172\2\uffff\1\172\2\uffff"; - static final String DFA12_acceptS = - "\7\uffff\1\10\3\uffff\1\15\1\16\1\17\1\20\6\uffff\1\34\1\35\1\36\5\uffff\1\55\1\uffff\1\60\1\61\3\uffff\1\65\1\66\2\uffff\1\60\6\uffff\1\43\1\7\1\10\5\uffff\1\15\1\16\1\17\1\20\1\uffff\1\23\6\uffff\1\34\1\35\1\36\6\uffff\1\54\1\55\1\61\1\62\1\63\1\64\1\65\52\uffff\1\40\12\uffff\1\31\1\51\12\uffff\1\1\1\uffff\1\37\1\uffff\1\3\1\14\20\uffff\1\57\1\41\33\uffff\1\44\2\uffff\1\50\1\uffff\1\2\1\56\1\25\3\uffff\1\11\2\uffff\1\13\3\uffff\1\33\1\26\1\uffff\1\30\1\uffff\1\42\1\uffff\1\47\1\uffff\1\53\5\uffff\1\21\1\46\2\uffff\1\32\5\uffff\1\12\4\uffff\1\45\1\4\2\uffff\1\22\1\24\5\uffff\1\52\1\5\1\uffff\1\27\1\6"; - static final String DFA12_specialS = - "\1\2\40\uffff\1\1\1\0\u00e4\uffff}>"; - static final String[] DFA12_transitionS = { - "\11\45\2\44\2\45\1\44\22\45\1\44\1\45\1\41\1\25\3\45\1\42\2\45\1\35\1\34\1\16\1\7\1\6\1\43\12\40\1\20\1\45\1\26\1\13\1\27\2\45\1\4\21\37\1\3\2\37\1\5\4\37\3\45\1\36\1\37\1\45\2\37\1\22\1\32\1\11\1\2\1\31\1\37\1\10\2\37\1\23\1\21\1\1\1\33\1\17\1\37\1\24\1\30\2\37\1\12\4\37\1\14\1\45\1\15\uff82\45", - "\1\46\5\uffff\1\47", - "\1\52\5\uffff\1\53\5\uffff\1\51", - "\1\54", - "\1\55", - "\1\56", - "\1\57", - "", - "\1\62\1\63", - "\1\64\7\uffff\1\65", - "\1\66", - "", - "", - "", - "", - "\1\73", - "\1\74", - "\1\75\11\uffff\1\76", - "\1\77", - "\1\100", - "\1\102\17\uffff\1\101", - "", - "", - "", - "\1\107\13\uffff\1\110\4\uffff\1\106", - "\1\111", - "\1\112", - "\1\113", - "\1\114", - "", - "\32\50\4\uffff\1\50\1\uffff\32\50", - "", - "", - "\0\117", - "\0\117", - "\1\120\4\uffff\1\121", - "", - "", - "\1\125\11\uffff\1\123\3\uffff\1\124", - "\1\126", - "", - "\1\127", - "\1\130", - "\1\131", - "\1\132", - "\1\133", - "\1\134", - "", - "", - "", - "\1\135", - "\1\136", - "\1\137", - "\1\140", - "\1\141", - "", - "", - "", - "", - "\1\142\16\uffff\1\143", - "", - "\1\145\6\uffff\1\144", - "\1\146", - "\1\147", - "\1\150", - "\1\151", - "\1\152", - "", - "", - "", - "\1\154\20\uffff\1\153", - "\1\155", - "\1\156", - "\1\157", - "\1\160", - "\1\161", - "", - "", - "", - "", - "", - "", - "", - "\1\162", - "\1\163", - "\1\164", - "\1\165", - "\1\166", - "\1\167", - "\1\170", - "\1\171", - "\1\172", - "\1\173", - "\1\174", - "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50", - "\1\176", - "\1\177", - "\1\u0080", - "\1\u0081", - "\1\u0082", - "\1\u0083", - "\1\u0084", - "\1\u0085", - "\1\u0087\14\uffff\1\u0086", - "\1\u0088\2\uffff\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50", - "\1\u008b\1\u008a", - "\1\u008c", - "\1\u008d", - "\1\u008e", - "\1\u008f", - "\1\u0090", - "\1\u0091", - "\1\u0092", - "\1\u0093", - "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50", - "\1\u0095", - "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50", - "\1\u0097", - "\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\u009a", - "\1\u009b", - "\1\u009c", - "\1\u009d", - "\1\u009e", - "", - "\1\u009f", - "\1\u00a0", - "\1\u00a1", - "\1\u00a2", - "\1\u00a3", - "\1\u00a4", - "\1\u00a5", - "\1\u00a6", - "\1\u00a7", - "\1\u00a8", - "", - "", - "\1\u00a9", - "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50", - "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50", - "\1\u00ac", - "\1\u00ad", - "\1\u00ae", - "\1\u00af", - "\1\u00b0", - "\1\u00b1", - "\1\u00b2", - "", - "\1\u00b3", - "", - "\1\u00b4", - "", - "", - "\1\u00b5", - "\1\u00b6", - "\1\u00b7", - "\1\u00b8", - "\1\u00b9", - "\1\u00ba", - "\1\u00bb", - "\1\u00bc", - "\1\u00bd", - "\1\u00be", - "\1\u00bf", - "\1\u00c0", - "\1\u00c1", - "\1\u00c2", - "\1\u00c3", - "\1\u00c4", - "", - "", - "\1\u00c5", - "\1\u00c6", - "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50", - "\1\u00c8", - "\1\u00c9", - "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50", - "\1\u00cb", - "\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\u00cf", - "\1\u00d0", - "\1\u00d1", - "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50", - "\1\u00d3", - "\1\u00d4", - "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50", - "\1\u00d6", - "\1\u00d7", - "\1\u00d8", - "\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\u00db", - "\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", - "", - "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50", - "\1\u00e1", - "", - "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50", - "", - "", - "", - "\1\u00e3", - "\1\u00e4", - "\1\u00e5", - "", - "\1\u00e6", - "\1\u00e7", - "", - "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50", - "\1\u00e9", - "\1\u00ea", - "", - "", - "\1\u00eb", - "", - "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50", - "", - "\1\u00ed", - "", - "\1\u00ee", - "", - "\1\u00ef", - "\1\u00f0", - "\1\u00f1", - "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50", - "\1\u00f3", - "", - "", - "\1\u00f4", - "\1\u00f5", - "", - "\1\u00f6", - "\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\u00f9", - "\1\u00fa", - "", - "\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\u00fd", - "\1\u00fe", - "", - "", - "\1\u00ff", - "\1\u0100", - "", - "", - "\1\u0101", - "\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\u0104", - "\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", - "", - "" - }; - - static final short[] DFA12_eot = DFA.unpackEncodedString(DFA12_eotS); - static final short[] DFA12_eof = DFA.unpackEncodedString(DFA12_eofS); - static final char[] DFA12_min = DFA.unpackEncodedStringToUnsignedChars(DFA12_minS); - static final char[] DFA12_max = DFA.unpackEncodedStringToUnsignedChars(DFA12_maxS); - static final short[] DFA12_accept = DFA.unpackEncodedString(DFA12_acceptS); - static final short[] DFA12_special = DFA.unpackEncodedString(DFA12_specialS); - static final short[][] DFA12_transition; - - static { - int numStates = DFA12_transitionS.length; - DFA12_transition = new short[numStates][]; - for (int i=0; i='\u0000' && LA12_34<='\uFFFF')) ) {s = 79;} - - else s = 37; - - if ( s>=0 ) return s; - break; - case 1 : - int LA12_33 = input.LA(1); - - s = -1; - if ( ((LA12_33>='\u0000' && LA12_33<='\uFFFF')) ) {s = 79;} - - else s = 37; - - if ( s>=0 ) return s; - break; - case 2 : - int LA12_0 = input.LA(1); - - s = -1; - if ( (LA12_0=='n') ) {s = 1;} - - else if ( (LA12_0=='f') ) {s = 2;} - - else if ( (LA12_0=='S') ) {s = 3;} - - else if ( (LA12_0=='A') ) {s = 4;} - - else if ( (LA12_0=='V') ) {s = 5;} - - else if ( (LA12_0=='.') ) {s = 6;} - - else if ( (LA12_0=='-') ) {s = 7;} - - else if ( (LA12_0=='i') ) {s = 8;} - - else if ( (LA12_0=='e') ) {s = 9;} - - else if ( (LA12_0=='v') ) {s = 10;} - - else if ( (LA12_0=='=') ) {s = 11;} - - else if ( (LA12_0=='{') ) {s = 12;} - - else if ( (LA12_0=='}') ) {s = 13;} - - else if ( (LA12_0==',') ) {s = 14;} - - else if ( (LA12_0=='p') ) {s = 15;} - - else if ( (LA12_0==':') ) {s = 16;} - - else if ( (LA12_0=='m') ) {s = 17;} - - else if ( (LA12_0=='c') ) {s = 18;} - - else if ( (LA12_0=='l') ) {s = 19;} - - else if ( (LA12_0=='r') ) {s = 20;} - - else if ( (LA12_0=='#') ) {s = 21;} - - else if ( (LA12_0=='<') ) {s = 22;} - - else if ( (LA12_0=='>') ) {s = 23;} - - else if ( (LA12_0=='s') ) {s = 24;} - - else if ( (LA12_0=='g') ) {s = 25;} - - else if ( (LA12_0=='d') ) {s = 26;} - - else if ( (LA12_0=='o') ) {s = 27;} - - else if ( (LA12_0=='+') ) {s = 28;} - - else if ( (LA12_0=='*') ) {s = 29;} - - else if ( (LA12_0=='^') ) {s = 30;} - - else if ( ((LA12_0>='B' && 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>='0' && LA12_0<='9')) ) {s = 32;} - - else if ( (LA12_0=='\"') ) {s = 33;} - - else if ( (LA12_0=='\'') ) {s = 34;} - - else if ( (LA12_0=='/') ) {s = 35;} - - else if ( ((LA12_0>='\t' && LA12_0<='\n')||LA12_0=='\r'||LA12_0==' ') ) {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<='\uFFFF')) ) {s = 37;} - - if ( s>=0 ) return s; - break; - } - NoViableAltException nvae = - new NoViableAltException(getDescription(), 12, _s, input); - error(nvae); - throw nvae; - } - } - - +package hu.bme.mit.inf.dslreasoner.application.ide.contentassist.antlr.internal; + +// Hack: Use our own Lexer superclass by means of import. +// Currently there is no other way to specify the superclass for the lexer. +import org.eclipse.xtext.ide.editor.contentassist.antlr.internal.Lexer; + + +import org.antlr.runtime.*; +import java.util.Stack; +import java.util.List; +import java.util.ArrayList; + +@SuppressWarnings("all") +public class InternalApplicationConfigurationLexer extends Lexer { + public static final int T__50=50; + public static final int T__19=19; + public static final int T__15=15; + public static final int T__59=59; + public static final int T__16=16; + public static final int T__17=17; + public static final int T__18=18; + public static final int T__11=11; + public static final int T__55=55; + public static final int T__12=12; + public static final int T__56=56; + public static final int T__13=13; + public static final int T__57=57; + public static final int T__14=14; + public static final int T__58=58; + public static final int T__51=51; + public static final int T__52=52; + public static final int T__53=53; + public static final int T__54=54; + public static final int T__60=60; + public static final int T__61=61; + public static final int RULE_ID=4; + public static final int T__26=26; + public static final int T__27=27; + public static final int T__28=28; + public static final int RULE_INT=5; + public static final int T__29=29; + public static final int T__22=22; + public static final int RULE_ML_COMMENT=7; + public static final int T__23=23; + public static final int T__24=24; + public static final int T__25=25; + public static final int T__62=62; + public static final int T__63=63; + public static final int T__20=20; + public static final int T__21=21; + public static final int RULE_STRING=6; + public static final int RULE_SL_COMMENT=8; + public static final int T__37=37; + public static final int T__38=38; + public static final int T__39=39; + public static final int T__33=33; + public static final int T__34=34; + public static final int T__35=35; + public static final int T__36=36; + public static final int EOF=-1; + public static final int T__30=30; + public static final int T__31=31; + public static final int T__32=32; + public static final int RULE_WS=9; + public static final int RULE_ANY_OTHER=10; + public static final int T__48=48; + public static final int T__49=49; + public static final int T__44=44; + public static final int T__45=45; + public static final int T__46=46; + public static final int T__47=47; + public static final int T__40=40; + public static final int T__41=41; + public static final int T__42=42; + public static final int T__43=43; + + // delegates + // delegators + + public InternalApplicationConfigurationLexer() {;} + public InternalApplicationConfigurationLexer(CharStream input) { + this(input, new RecognizerSharedState()); + } + public InternalApplicationConfigurationLexer(CharStream input, RecognizerSharedState state) { + super(input,state); + + } + public String getGrammarFileName() { return "InternalApplicationConfiguration.g"; } + + // $ANTLR start "T__11" + public final void mT__11() throws RecognitionException { + try { + int _type = T__11; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:11:7: ( 'minimize' ) + // InternalApplicationConfiguration.g:11:9: 'minimize' + { + match("minimize"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__11" + + // $ANTLR start "T__12" + public final void mT__12() throws RecognitionException { + try { + int _type = T__12; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:12:7: ( 'maximize' ) + // InternalApplicationConfiguration.g:12:9: 'maximize' + { + match("maximize"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__12" + + // $ANTLR start "T__13" + public final void mT__13() throws RecognitionException { + try { + int _type = T__13; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:13:7: ( '<=' ) + // InternalApplicationConfiguration.g:13:9: '<=' + { + match("<="); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__13" + + // $ANTLR start "T__14" + public final void mT__14() throws RecognitionException { + try { + int _type = T__14; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:14:7: ( '>=' ) + // InternalApplicationConfiguration.g:14:9: '>=' + { + match(">="); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__14" + + // $ANTLR start "T__15" + public final void mT__15() throws RecognitionException { + try { + int _type = T__15; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:15:7: ( 'none' ) + // InternalApplicationConfiguration.g:15:9: 'none' + { + match("none"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__15" + + // $ANTLR start "T__16" + public final void mT__16() throws RecognitionException { + try { + int _type = T__16; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:16:7: ( 'normal' ) + // InternalApplicationConfiguration.g:16:9: 'normal' + { + match("normal"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__16" + + // $ANTLR start "T__17" + public final void mT__17() throws RecognitionException { + try { + int _type = T__17; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:17:7: ( 'full' ) + // InternalApplicationConfiguration.g:17:9: 'full' + { + match("full"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__17" + + // $ANTLR start "T__18" + public final void mT__18() throws RecognitionException { + try { + int _type = T__18; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:18:7: ( 'SMTSolver' ) + // InternalApplicationConfiguration.g:18:9: 'SMTSolver' + { + match("SMTSolver"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__18" + + // $ANTLR start "T__19" + public final void mT__19() throws RecognitionException { + try { + int _type = T__19; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:19:7: ( 'AlloySolver' ) + // InternalApplicationConfiguration.g:19:9: 'AlloySolver' + { + match("AlloySolver"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__19" + + // $ANTLR start "T__20" + public final void mT__20() throws RecognitionException { + try { + int _type = T__20; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:20:7: ( 'ViatraSolver' ) + // InternalApplicationConfiguration.g:20:9: 'ViatraSolver' + { + match("ViatraSolver"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__20" + + // $ANTLR start "T__21" + public final void mT__21() throws RecognitionException { + try { + int _type = T__21; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:21:7: ( '.' ) + // InternalApplicationConfiguration.g:21:9: '.' + { + match('.'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__21" + + // $ANTLR start "T__22" + public final void mT__22() throws RecognitionException { + try { + int _type = T__22; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:22:7: ( '-' ) + // InternalApplicationConfiguration.g:22:9: '-' + { + match('-'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__22" + + // $ANTLR start "T__23" + public final void mT__23() throws RecognitionException { + try { + int _type = T__23; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:23:7: ( 'import' ) + // InternalApplicationConfiguration.g:23:9: 'import' + { + match("import"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__23" + + // $ANTLR start "T__24" + public final void mT__24() throws RecognitionException { + try { + int _type = T__24; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:24:7: ( 'epackage' ) + // InternalApplicationConfiguration.g:24:9: 'epackage' + { + match("epackage"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__24" + + // $ANTLR start "T__25" + public final void mT__25() throws RecognitionException { + try { + int _type = T__25; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:25:7: ( 'viatra' ) + // InternalApplicationConfiguration.g:25:9: 'viatra' + { + match("viatra"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__25" + + // $ANTLR start "T__26" + public final void mT__26() throws RecognitionException { + try { + int _type = T__26; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:26:7: ( 'reliability' ) + // InternalApplicationConfiguration.g:26:9: 'reliability' + { + match("reliability"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__26" + + // $ANTLR start "T__27" + public final void mT__27() throws RecognitionException { + try { + int _type = T__27; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:27:7: ( 'file' ) + // InternalApplicationConfiguration.g:27:9: 'file' + { + match("file"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__27" + + // $ANTLR start "T__28" + public final void mT__28() throws RecognitionException { + try { + int _type = T__28; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:28:7: ( '=' ) + // InternalApplicationConfiguration.g:28:9: '=' + { + match('='); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__28" + + // $ANTLR start "T__29" + public final void mT__29() throws RecognitionException { + try { + int _type = T__29; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:29:7: ( '{' ) + // InternalApplicationConfiguration.g:29:9: '{' + { + match('{'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__29" + + // $ANTLR start "T__30" + public final void mT__30() throws RecognitionException { + try { + int _type = T__30; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:30:7: ( '}' ) + // InternalApplicationConfiguration.g:30:9: '}' + { + match('}'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__30" + + // $ANTLR start "T__31" + public final void mT__31() throws RecognitionException { + try { + int _type = T__31; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:31:7: ( ',' ) + // InternalApplicationConfiguration.g:31:9: ',' + { + match(','); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__31" + + // $ANTLR start "T__32" + public final void mT__32() throws RecognitionException { + try { + int _type = T__32; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:32:7: ( 'package' ) + // InternalApplicationConfiguration.g:32:9: 'package' + { + match("package"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__32" + + // $ANTLR start "T__33" + public final void mT__33() throws RecognitionException { + try { + int _type = T__33; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:33:7: ( 'excluding' ) + // InternalApplicationConfiguration.g:33:9: 'excluding' + { + match("excluding"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__33" + + // $ANTLR start "T__34" + public final void mT__34() throws RecognitionException { + try { + int _type = T__34; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:34:7: ( '::' ) + // InternalApplicationConfiguration.g:34:9: '::' + { + match("::"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__34" + + // $ANTLR start "T__35" + public final void mT__35() throws RecognitionException { + try { + int _type = T__35; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:35:7: ( 'metamodel' ) + // InternalApplicationConfiguration.g:35:9: 'metamodel' + { + match("metamodel"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__35" + + // $ANTLR start "T__36" + public final void mT__36() throws RecognitionException { + try { + int _type = T__36; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:36:7: ( 'folder' ) + // InternalApplicationConfiguration.g:36:9: 'folder' + { + match("folder"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__36" + + // $ANTLR start "T__37" + public final void mT__37() throws RecognitionException { + try { + int _type = T__37; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:37:7: ( 'models' ) + // InternalApplicationConfiguration.g:37:9: 'models' + { + match("models"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__37" + + // $ANTLR start "T__38" + public final void mT__38() throws RecognitionException { + try { + int _type = T__38; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:38:7: ( 'constraints' ) + // InternalApplicationConfiguration.g:38:9: 'constraints' + { + match("constraints"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__38" + + // $ANTLR start "T__39" + public final void mT__39() throws RecognitionException { + try { + int _type = T__39; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:39:7: ( 'objectives' ) + // InternalApplicationConfiguration.g:39:9: 'objectives' + { + match("objectives"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__39" + + // $ANTLR start "T__40" + public final void mT__40() throws RecognitionException { + try { + int _type = T__40; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:40:7: ( 'config' ) + // InternalApplicationConfiguration.g:40:9: 'config' + { + match("config"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__40" + + // $ANTLR start "T__41" + public final void mT__41() throws RecognitionException { + try { + int _type = T__41; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:41:7: ( 'log-level' ) + // InternalApplicationConfiguration.g:41:9: 'log-level' + { + match("log-level"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__41" + + // $ANTLR start "T__42" + public final void mT__42() throws RecognitionException { + try { + int _type = T__42; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:42:7: ( 'runtime' ) + // InternalApplicationConfiguration.g:42:9: 'runtime' + { + match("runtime"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__42" + + // $ANTLR start "T__43" + public final void mT__43() throws RecognitionException { + try { + int _type = T__43; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:43:7: ( 'memory' ) + // InternalApplicationConfiguration.g:43:9: 'memory' + { + match("memory"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__43" + + // $ANTLR start "T__44" + public final void mT__44() throws RecognitionException { + try { + int _type = T__44; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:44:7: ( '#' ) + // InternalApplicationConfiguration.g:44:9: '#' + { + match('#'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__44" + + // $ANTLR start "T__45" + public final void mT__45() throws RecognitionException { + try { + int _type = T__45; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:45:7: ( '<' ) + // InternalApplicationConfiguration.g:45:9: '<' + { + match('<'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__45" + + // $ANTLR start "T__46" + public final void mT__46() throws RecognitionException { + try { + int _type = T__46; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:46:7: ( '>' ) + // InternalApplicationConfiguration.g:46:9: '>' + { + match('>'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__46" + + // $ANTLR start "T__47" + public final void mT__47() throws RecognitionException { + try { + int _type = T__47; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:47:7: ( 'node' ) + // InternalApplicationConfiguration.g:47:9: 'node' + { + match("node"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__47" + + // $ANTLR start "T__48" + public final void mT__48() throws RecognitionException { + try { + int _type = T__48; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:48:7: ( 'int' ) + // InternalApplicationConfiguration.g:48:9: 'int' + { + match("int"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $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: ( 'real' ) + // InternalApplicationConfiguration.g:49:9: 'real' + { + match("real"); + + + } + + 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: ( 'string' ) + // InternalApplicationConfiguration.g:50:9: 'string' + { + match("string"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__50" + + // $ANTLR start "T__51" + public final void mT__51() throws RecognitionException { + try { + int _type = T__51; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:51:7: ( '..' ) + // InternalApplicationConfiguration.g:51:9: '..' + { + match(".."); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__51" + + // $ANTLR start "T__52" + public final void mT__52() throws RecognitionException { + try { + int _type = T__52; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:52:7: ( 'scope' ) + // InternalApplicationConfiguration.g:52:9: 'scope' + { + match("scope"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__52" + + // $ANTLR start "T__53" + public final void mT__53() throws RecognitionException { + try { + int _type = T__53; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:53:7: ( 'generate' ) + // InternalApplicationConfiguration.g:53:9: 'generate' + { + match("generate"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__53" + + // $ANTLR start "T__54" + public final void mT__54() throws RecognitionException { + try { + int _type = T__54; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:54:7: ( 'partial-model' ) + // InternalApplicationConfiguration.g:54:9: 'partial-model' + { + match("partial-model"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__54" + + // $ANTLR start "T__55" + public final void mT__55() throws RecognitionException { + try { + int _type = T__55; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:55:7: ( 'solver' ) + // InternalApplicationConfiguration.g:55:9: 'solver' + { + match("solver"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__55" + + // $ANTLR start "T__56" + public final void mT__56() throws RecognitionException { + try { + int _type = T__56; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:56:7: ( 'debug' ) + // InternalApplicationConfiguration.g:56:9: 'debug' + { + match("debug"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__56" + + // $ANTLR start "T__57" + public final void mT__57() throws RecognitionException { + try { + int _type = T__57; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:57:7: ( 'log' ) + // InternalApplicationConfiguration.g:57:9: 'log' + { + match("log"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__57" + + // $ANTLR start "T__58" + public final void mT__58() throws RecognitionException { + try { + int _type = T__58; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:58:7: ( 'statistics' ) + // InternalApplicationConfiguration.g:58:9: 'statistics' + { + match("statistics"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__58" + + // $ANTLR start "T__59" + public final void mT__59() throws RecognitionException { + try { + int _type = T__59; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:59:7: ( 'output' ) + // InternalApplicationConfiguration.g:59:9: 'output' + { + match("output"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__59" + + // $ANTLR start "T__60" + public final void mT__60() throws RecognitionException { + try { + int _type = T__60; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:60:7: ( '+=' ) + // InternalApplicationConfiguration.g:60:9: '+=' + { + match("+="); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__60" + + // $ANTLR start "T__61" + public final void mT__61() throws RecognitionException { + try { + int _type = T__61; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:61:7: ( '*' ) + // InternalApplicationConfiguration.g:61:9: '*' + { + match('*'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__61" + + // $ANTLR start "T__62" + public final void mT__62() throws RecognitionException { + try { + int _type = T__62; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:62:7: ( 'number' ) + // InternalApplicationConfiguration.g:62:9: 'number' + { + match("number"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__62" + + // $ANTLR start "T__63" + public final void mT__63() throws RecognitionException { + try { + int _type = T__63; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:63:7: ( 'runs' ) + // InternalApplicationConfiguration.g:63:9: 'runs' + { + match("runs"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__63" + + // $ANTLR start "RULE_ID" + public final void mRULE_ID() throws RecognitionException { + try { + int _type = RULE_ID; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:11782:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* ) + // InternalApplicationConfiguration.g:11782:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* + { + // InternalApplicationConfiguration.g:11782:11: ( '^' )? + int alt1=2; + int LA1_0 = input.LA(1); + + if ( (LA1_0=='^') ) { + alt1=1; + } + switch (alt1) { + case 1 : + // InternalApplicationConfiguration.g:11782:11: '^' + { + match('^'); + + } + break; + + } + + if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) { + input.consume(); + + } + else { + MismatchedSetException mse = new MismatchedSetException(null,input); + recover(mse); + throw mse;} + + // InternalApplicationConfiguration.g:11782:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* + loop2: + do { + int alt2=2; + int LA2_0 = input.LA(1); + + if ( ((LA2_0>='0' && LA2_0<='9')||(LA2_0>='A' && LA2_0<='Z')||LA2_0=='_'||(LA2_0>='a' && LA2_0<='z')) ) { + alt2=1; + } + + + switch (alt2) { + case 1 : + // InternalApplicationConfiguration.g: + { + if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) { + input.consume(); + + } + else { + MismatchedSetException mse = new MismatchedSetException(null,input); + recover(mse); + throw mse;} + + + } + break; + + default : + break loop2; + } + } while (true); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "RULE_ID" + + // $ANTLR start "RULE_INT" + public final void mRULE_INT() throws RecognitionException { + try { + int _type = RULE_INT; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:11784:10: ( ( '0' .. '9' )+ ) + // InternalApplicationConfiguration.g:11784:12: ( '0' .. '9' )+ + { + // InternalApplicationConfiguration.g:11784:12: ( '0' .. '9' )+ + int cnt3=0; + loop3: + do { + int alt3=2; + int LA3_0 = input.LA(1); + + if ( ((LA3_0>='0' && LA3_0<='9')) ) { + alt3=1; + } + + + switch (alt3) { + case 1 : + // InternalApplicationConfiguration.g:11784:13: '0' .. '9' + { + matchRange('0','9'); + + } + break; + + default : + if ( cnt3 >= 1 ) break loop3; + EarlyExitException eee = + new EarlyExitException(3, input); + throw eee; + } + cnt3++; + } while (true); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "RULE_INT" + + // $ANTLR start "RULE_STRING" + public final void mRULE_STRING() throws RecognitionException { + try { + int _type = RULE_STRING; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:11786:13: ( ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) ) + // InternalApplicationConfiguration.g:11786:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) + { + // InternalApplicationConfiguration.g:11786:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) + int alt6=2; + int LA6_0 = input.LA(1); + + if ( (LA6_0=='\"') ) { + alt6=1; + } + else if ( (LA6_0=='\'') ) { + alt6=2; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 6, 0, input); + + throw nvae; + } + switch (alt6) { + case 1 : + // InternalApplicationConfiguration.g:11786:16: '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' + { + match('\"'); + // InternalApplicationConfiguration.g:11786:20: ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* + loop4: + do { + int alt4=3; + int LA4_0 = input.LA(1); + + if ( (LA4_0=='\\') ) { + alt4=1; + } + else if ( ((LA4_0>='\u0000' && LA4_0<='!')||(LA4_0>='#' && LA4_0<='[')||(LA4_0>=']' && LA4_0<='\uFFFF')) ) { + alt4=2; + } + + + switch (alt4) { + case 1 : + // InternalApplicationConfiguration.g:11786:21: '\\\\' . + { + match('\\'); + matchAny(); + + } + break; + case 2 : + // InternalApplicationConfiguration.g:11786:28: ~ ( ( '\\\\' | '\"' ) ) + { + if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { + input.consume(); + + } + else { + MismatchedSetException mse = new MismatchedSetException(null,input); + recover(mse); + throw mse;} + + + } + break; + + default : + break loop4; + } + } while (true); + + match('\"'); + + } + break; + case 2 : + // InternalApplicationConfiguration.g:11786:48: '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' + { + match('\''); + // InternalApplicationConfiguration.g:11786:53: ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* + loop5: + do { + int alt5=3; + int LA5_0 = input.LA(1); + + if ( (LA5_0=='\\') ) { + alt5=1; + } + else if ( ((LA5_0>='\u0000' && LA5_0<='&')||(LA5_0>='(' && LA5_0<='[')||(LA5_0>=']' && LA5_0<='\uFFFF')) ) { + alt5=2; + } + + + switch (alt5) { + case 1 : + // InternalApplicationConfiguration.g:11786:54: '\\\\' . + { + match('\\'); + matchAny(); + + } + break; + case 2 : + // InternalApplicationConfiguration.g:11786:61: ~ ( ( '\\\\' | '\\'' ) ) + { + if ( (input.LA(1)>='\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { + input.consume(); + + } + else { + MismatchedSetException mse = new MismatchedSetException(null,input); + recover(mse); + throw mse;} + + + } + break; + + default : + break loop5; + } + } while (true); + + match('\''); + + } + break; + + } + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "RULE_STRING" + + // $ANTLR start "RULE_ML_COMMENT" + public final void mRULE_ML_COMMENT() throws RecognitionException { + try { + int _type = RULE_ML_COMMENT; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:11788:17: ( '/*' ( options {greedy=false; } : . )* '*/' ) + // InternalApplicationConfiguration.g:11788:19: '/*' ( options {greedy=false; } : . )* '*/' + { + match("/*"); + + // InternalApplicationConfiguration.g:11788:24: ( options {greedy=false; } : . )* + loop7: + do { + int alt7=2; + int LA7_0 = input.LA(1); + + if ( (LA7_0=='*') ) { + int LA7_1 = input.LA(2); + + if ( (LA7_1=='/') ) { + alt7=2; + } + else if ( ((LA7_1>='\u0000' && LA7_1<='.')||(LA7_1>='0' && LA7_1<='\uFFFF')) ) { + alt7=1; + } + + + } + else if ( ((LA7_0>='\u0000' && LA7_0<=')')||(LA7_0>='+' && LA7_0<='\uFFFF')) ) { + alt7=1; + } + + + switch (alt7) { + case 1 : + // InternalApplicationConfiguration.g:11788:52: . + { + matchAny(); + + } + break; + + default : + break loop7; + } + } while (true); + + match("*/"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "RULE_ML_COMMENT" + + // $ANTLR start "RULE_SL_COMMENT" + public final void mRULE_SL_COMMENT() throws RecognitionException { + try { + int _type = RULE_SL_COMMENT; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:11790:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? ) + // InternalApplicationConfiguration.g:11790:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? + { + match("//"); + + // InternalApplicationConfiguration.g:11790:24: (~ ( ( '\\n' | '\\r' ) ) )* + loop8: + do { + int alt8=2; + int LA8_0 = input.LA(1); + + if ( ((LA8_0>='\u0000' && LA8_0<='\t')||(LA8_0>='\u000B' && LA8_0<='\f')||(LA8_0>='\u000E' && LA8_0<='\uFFFF')) ) { + alt8=1; + } + + + switch (alt8) { + case 1 : + // InternalApplicationConfiguration.g:11790:24: ~ ( ( '\\n' | '\\r' ) ) + { + if ( (input.LA(1)>='\u0000' && input.LA(1)<='\t')||(input.LA(1)>='\u000B' && input.LA(1)<='\f')||(input.LA(1)>='\u000E' && input.LA(1)<='\uFFFF') ) { + input.consume(); + + } + else { + MismatchedSetException mse = new MismatchedSetException(null,input); + recover(mse); + throw mse;} + + + } + break; + + default : + break loop8; + } + } while (true); + + // InternalApplicationConfiguration.g:11790:40: ( ( '\\r' )? '\\n' )? + int alt10=2; + int LA10_0 = input.LA(1); + + if ( (LA10_0=='\n'||LA10_0=='\r') ) { + alt10=1; + } + switch (alt10) { + case 1 : + // InternalApplicationConfiguration.g:11790:41: ( '\\r' )? '\\n' + { + // InternalApplicationConfiguration.g:11790:41: ( '\\r' )? + int alt9=2; + int LA9_0 = input.LA(1); + + if ( (LA9_0=='\r') ) { + alt9=1; + } + switch (alt9) { + case 1 : + // InternalApplicationConfiguration.g:11790:41: '\\r' + { + match('\r'); + + } + break; + + } + + match('\n'); + + } + break; + + } + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "RULE_SL_COMMENT" + + // $ANTLR start "RULE_WS" + public final void mRULE_WS() throws RecognitionException { + try { + int _type = RULE_WS; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:11792:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ ) + // InternalApplicationConfiguration.g:11792:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ + { + // InternalApplicationConfiguration.g:11792:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ + int cnt11=0; + loop11: + do { + int alt11=2; + int LA11_0 = input.LA(1); + + if ( ((LA11_0>='\t' && LA11_0<='\n')||LA11_0=='\r'||LA11_0==' ') ) { + alt11=1; + } + + + switch (alt11) { + case 1 : + // InternalApplicationConfiguration.g: + { + if ( (input.LA(1)>='\t' && input.LA(1)<='\n')||input.LA(1)=='\r'||input.LA(1)==' ' ) { + input.consume(); + + } + else { + MismatchedSetException mse = new MismatchedSetException(null,input); + recover(mse); + throw mse;} + + + } + break; + + default : + if ( cnt11 >= 1 ) break loop11; + EarlyExitException eee = + new EarlyExitException(11, input); + throw eee; + } + cnt11++; + } while (true); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "RULE_WS" + + // $ANTLR start "RULE_ANY_OTHER" + public final void mRULE_ANY_OTHER() throws RecognitionException { + try { + int _type = RULE_ANY_OTHER; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:11794:16: ( . ) + // InternalApplicationConfiguration.g:11794:18: . + { + matchAny(); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "RULE_ANY_OTHER" + + public void mTokens() throws RecognitionException { + // InternalApplicationConfiguration.g:1:8: ( T__11 | T__12 | T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | 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 | T__51 | T__52 | T__53 | T__54 | T__55 | T__56 | T__57 | T__58 | T__59 | T__60 | T__61 | T__62 | T__63 | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER ) + int alt12=60; + alt12 = dfa12.predict(input); + switch (alt12) { + case 1 : + // InternalApplicationConfiguration.g:1:10: T__11 + { + mT__11(); + + } + break; + case 2 : + // InternalApplicationConfiguration.g:1:16: T__12 + { + mT__12(); + + } + break; + case 3 : + // InternalApplicationConfiguration.g:1:22: T__13 + { + mT__13(); + + } + break; + case 4 : + // InternalApplicationConfiguration.g:1:28: T__14 + { + mT__14(); + + } + break; + case 5 : + // InternalApplicationConfiguration.g:1:34: T__15 + { + mT__15(); + + } + break; + case 6 : + // InternalApplicationConfiguration.g:1:40: T__16 + { + mT__16(); + + } + break; + case 7 : + // InternalApplicationConfiguration.g:1:46: T__17 + { + mT__17(); + + } + break; + case 8 : + // InternalApplicationConfiguration.g:1:52: T__18 + { + mT__18(); + + } + break; + case 9 : + // InternalApplicationConfiguration.g:1:58: T__19 + { + mT__19(); + + } + break; + case 10 : + // InternalApplicationConfiguration.g:1:64: T__20 + { + mT__20(); + + } + break; + case 11 : + // InternalApplicationConfiguration.g:1:70: T__21 + { + mT__21(); + + } + break; + case 12 : + // InternalApplicationConfiguration.g:1:76: T__22 + { + mT__22(); + + } + break; + case 13 : + // InternalApplicationConfiguration.g:1:82: T__23 + { + mT__23(); + + } + break; + case 14 : + // InternalApplicationConfiguration.g:1:88: T__24 + { + mT__24(); + + } + break; + case 15 : + // InternalApplicationConfiguration.g:1:94: T__25 + { + mT__25(); + + } + break; + case 16 : + // InternalApplicationConfiguration.g:1:100: T__26 + { + mT__26(); + + } + break; + case 17 : + // InternalApplicationConfiguration.g:1:106: T__27 + { + mT__27(); + + } + break; + case 18 : + // InternalApplicationConfiguration.g:1:112: T__28 + { + mT__28(); + + } + break; + case 19 : + // InternalApplicationConfiguration.g:1:118: T__29 + { + mT__29(); + + } + break; + case 20 : + // InternalApplicationConfiguration.g:1:124: T__30 + { + mT__30(); + + } + break; + case 21 : + // InternalApplicationConfiguration.g:1:130: T__31 + { + mT__31(); + + } + break; + case 22 : + // InternalApplicationConfiguration.g:1:136: T__32 + { + mT__32(); + + } + break; + case 23 : + // InternalApplicationConfiguration.g:1:142: T__33 + { + mT__33(); + + } + break; + case 24 : + // InternalApplicationConfiguration.g:1:148: T__34 + { + mT__34(); + + } + break; + case 25 : + // InternalApplicationConfiguration.g:1:154: T__35 + { + mT__35(); + + } + break; + case 26 : + // InternalApplicationConfiguration.g:1:160: T__36 + { + mT__36(); + + } + break; + case 27 : + // InternalApplicationConfiguration.g:1:166: T__37 + { + mT__37(); + + } + break; + case 28 : + // InternalApplicationConfiguration.g:1:172: T__38 + { + mT__38(); + + } + break; + case 29 : + // InternalApplicationConfiguration.g:1:178: T__39 + { + mT__39(); + + } + break; + case 30 : + // InternalApplicationConfiguration.g:1:184: T__40 + { + mT__40(); + + } + break; + case 31 : + // InternalApplicationConfiguration.g:1:190: T__41 + { + mT__41(); + + } + break; + case 32 : + // InternalApplicationConfiguration.g:1:196: T__42 + { + mT__42(); + + } + break; + case 33 : + // InternalApplicationConfiguration.g:1:202: T__43 + { + mT__43(); + + } + break; + case 34 : + // InternalApplicationConfiguration.g:1:208: T__44 + { + mT__44(); + + } + break; + case 35 : + // InternalApplicationConfiguration.g:1:214: T__45 + { + mT__45(); + + } + break; + case 36 : + // InternalApplicationConfiguration.g:1:220: T__46 + { + mT__46(); + + } + break; + case 37 : + // InternalApplicationConfiguration.g:1:226: T__47 + { + mT__47(); + + } + break; + case 38 : + // InternalApplicationConfiguration.g:1:232: T__48 + { + mT__48(); + + } + break; + case 39 : + // InternalApplicationConfiguration.g:1:238: T__49 + { + mT__49(); + + } + break; + case 40 : + // InternalApplicationConfiguration.g:1:244: T__50 + { + mT__50(); + + } + break; + case 41 : + // InternalApplicationConfiguration.g:1:250: T__51 + { + mT__51(); + + } + break; + case 42 : + // InternalApplicationConfiguration.g:1:256: T__52 + { + mT__52(); + + } + break; + case 43 : + // InternalApplicationConfiguration.g:1:262: T__53 + { + mT__53(); + + } + break; + case 44 : + // InternalApplicationConfiguration.g:1:268: T__54 + { + mT__54(); + + } + break; + case 45 : + // InternalApplicationConfiguration.g:1:274: T__55 + { + mT__55(); + + } + break; + case 46 : + // InternalApplicationConfiguration.g:1:280: T__56 + { + mT__56(); + + } + break; + case 47 : + // InternalApplicationConfiguration.g:1:286: T__57 + { + mT__57(); + + } + break; + case 48 : + // InternalApplicationConfiguration.g:1:292: T__58 + { + mT__58(); + + } + break; + case 49 : + // InternalApplicationConfiguration.g:1:298: T__59 + { + mT__59(); + + } + break; + case 50 : + // InternalApplicationConfiguration.g:1:304: T__60 + { + mT__60(); + + } + break; + case 51 : + // InternalApplicationConfiguration.g:1:310: T__61 + { + mT__61(); + + } + break; + case 52 : + // InternalApplicationConfiguration.g:1:316: T__62 + { + mT__62(); + + } + break; + case 53 : + // InternalApplicationConfiguration.g:1:322: T__63 + { + mT__63(); + + } + break; + case 54 : + // InternalApplicationConfiguration.g:1:328: RULE_ID + { + mRULE_ID(); + + } + break; + case 55 : + // InternalApplicationConfiguration.g:1:336: RULE_INT + { + mRULE_INT(); + + } + break; + case 56 : + // InternalApplicationConfiguration.g:1:345: RULE_STRING + { + mRULE_STRING(); + + } + break; + case 57 : + // InternalApplicationConfiguration.g:1:357: RULE_ML_COMMENT + { + mRULE_ML_COMMENT(); + + } + break; + case 58 : + // InternalApplicationConfiguration.g:1:373: RULE_SL_COMMENT + { + mRULE_SL_COMMENT(); + + } + break; + case 59 : + // InternalApplicationConfiguration.g:1:389: RULE_WS + { + mRULE_WS(); + + } + break; + case 60 : + // InternalApplicationConfiguration.g:1:397: RULE_ANY_OTHER + { + mRULE_ANY_OTHER(); + + } + break; + + } + + } + + + protected DFA12 dfa12 = new DFA12(this); + static final String DFA12_eotS = + "\1\uffff\1\52\1\54\1\56\5\52\1\70\1\uffff\4\52\4\uffff\1\52\1\45\3\52\1\uffff\3\52\1\45\1\uffff\1\45\2\uffff\3\45\2\uffff\4\52\5\uffff\10\52\3\uffff\7\52\4\uffff\1\52\1\uffff\4\52\1\uffff\5\52\7\uffff\20\52\1\u008b\13\52\1\u009a\13\52\1\u00a6\1\52\1\u00a8\1\52\1\u00aa\1\u00ab\5\52\1\uffff\4\52\1\u00b5\1\52\1\u00b7\6\52\2\uffff\13\52\1\uffff\1\52\1\uffff\1\52\2\uffff\11\52\1\uffff\1\52\1\uffff\10\52\1\u00dd\2\52\1\u00e0\3\52\1\u00e4\1\u00e5\1\u00e6\1\u00e7\1\u00e8\3\52\1\u00ec\2\52\1\u00ef\5\52\1\u00f5\1\52\1\u00f7\1\u00f8\1\52\1\uffff\1\u00fa\1\52\1\uffff\3\52\5\uffff\3\52\1\uffff\2\52\1\uffff\1\52\1\u0105\1\u0106\2\52\1\uffff\1\52\2\uffff\1\52\1\uffff\1\52\1\u010c\1\u010d\4\52\1\u0112\2\52\3\uffff\3\52\1\u0118\2\uffff\1\u0119\1\u011a\2\52\1\uffff\1\u011d\4\52\3\uffff\2\52\1\uffff\2\52\1\u0126\1\u0127\1\u0128\1\52\1\u012a\1\u012b\3\uffff\1\u012c\3\uffff"; + static final String DFA12_eofS = + "\u012d\uffff"; + static final String DFA12_minS = + "\1\0\1\141\2\75\1\157\1\151\1\115\1\154\1\151\1\56\1\uffff\1\155\1\160\1\151\1\145\4\uffff\1\141\1\72\1\157\1\142\1\157\1\uffff\1\143\2\145\1\75\1\uffff\1\101\2\uffff\2\0\1\52\2\uffff\1\156\1\170\1\155\1\144\5\uffff\1\144\1\155\3\154\1\124\1\154\1\141\3\uffff\1\160\1\164\1\141\1\143\2\141\1\156\4\uffff\1\143\1\uffff\1\156\1\152\1\164\1\147\1\uffff\1\141\1\157\1\154\1\156\1\142\7\uffff\2\151\1\141\1\157\2\145\1\155\1\145\1\142\1\154\1\145\1\144\1\123\1\157\1\164\1\157\1\60\1\143\1\154\1\164\1\151\1\154\1\163\1\153\1\164\1\146\1\145\1\160\1\55\1\151\1\164\1\160\1\166\1\145\1\165\3\155\1\162\1\154\1\60\1\141\1\60\1\145\2\60\1\145\1\157\1\171\2\162\1\uffff\1\153\1\165\1\162\1\141\1\60\1\151\1\60\1\141\1\151\1\164\1\151\1\143\1\165\2\uffff\1\156\1\151\2\145\1\162\1\147\2\151\1\157\1\171\1\163\1\uffff\1\154\1\uffff\1\162\2\uffff\1\162\1\154\1\123\1\141\1\164\1\141\1\144\1\141\1\142\1\uffff\1\155\1\uffff\1\147\1\141\1\162\1\147\2\164\1\147\1\163\1\60\1\162\1\141\1\60\2\172\1\144\5\60\1\166\1\157\1\123\1\60\1\147\1\151\1\60\1\151\2\145\1\154\1\141\1\60\1\151\2\60\1\164\1\uffff\1\60\1\164\1\uffff\3\145\5\uffff\1\145\1\154\1\157\1\uffff\1\145\1\156\1\uffff\1\154\2\60\1\55\1\151\1\uffff\1\166\2\uffff\1\151\1\uffff\1\145\2\60\1\154\1\162\1\166\1\154\1\60\1\147\1\151\3\uffff\1\156\1\145\1\143\1\60\2\uffff\2\60\1\145\1\166\1\uffff\1\60\2\164\2\163\3\uffff\1\162\1\145\1\uffff\1\171\1\163\3\60\1\162\2\60\3\uffff\1\60\3\uffff"; + static final String DFA12_maxS = + "\1\uffff\1\157\2\75\2\165\1\115\1\154\1\151\1\56\1\uffff\1\156\1\170\1\151\1\165\4\uffff\1\141\1\72\1\157\1\165\1\157\1\uffff\1\164\2\145\1\75\1\uffff\1\172\2\uffff\2\uffff\1\57\2\uffff\1\156\1\170\1\164\1\144\5\uffff\1\162\1\155\3\154\1\124\1\154\1\141\3\uffff\1\160\1\164\1\141\1\143\1\141\1\154\1\156\4\uffff\1\162\1\uffff\1\156\1\152\1\164\1\147\1\uffff\1\162\1\157\1\154\1\156\1\142\7\uffff\2\151\1\141\1\157\2\145\1\155\1\145\1\142\1\154\1\145\1\144\1\123\1\157\1\164\1\157\1\172\1\143\1\154\1\164\1\151\1\154\1\164\1\153\1\164\1\163\1\145\1\160\1\172\1\151\1\164\1\160\1\166\1\145\1\165\3\155\1\162\1\154\1\172\1\141\1\172\1\145\2\172\1\145\1\157\1\171\2\162\1\uffff\1\153\1\165\1\162\1\141\1\172\1\151\1\172\1\141\1\151\1\164\1\151\1\143\1\165\2\uffff\1\156\1\151\2\145\1\162\1\147\2\151\1\157\1\171\1\163\1\uffff\1\154\1\uffff\1\162\2\uffff\1\162\1\154\1\123\1\141\1\164\1\141\1\144\1\141\1\142\1\uffff\1\155\1\uffff\1\147\1\141\1\162\1\147\2\164\1\147\1\163\1\172\1\162\1\141\3\172\1\144\5\172\1\166\1\157\1\123\1\172\1\147\1\151\1\172\1\151\2\145\1\154\1\141\1\172\1\151\2\172\1\164\1\uffff\1\172\1\164\1\uffff\3\145\5\uffff\1\145\1\154\1\157\1\uffff\1\145\1\156\1\uffff\1\154\2\172\1\55\1\151\1\uffff\1\166\2\uffff\1\151\1\uffff\1\145\2\172\1\154\1\162\1\166\1\154\1\172\1\147\1\151\3\uffff\1\156\1\145\1\143\1\172\2\uffff\2\172\1\145\1\166\1\uffff\1\172\2\164\2\163\3\uffff\1\162\1\145\1\uffff\1\171\1\163\3\172\1\162\2\172\3\uffff\1\172\3\uffff"; + static final String DFA12_acceptS = + "\12\uffff\1\14\4\uffff\1\22\1\23\1\24\1\25\5\uffff\1\42\4\uffff\1\63\1\uffff\1\66\1\67\3\uffff\1\73\1\74\4\uffff\1\66\1\3\1\43\1\4\1\44\10\uffff\1\51\1\13\1\14\7\uffff\1\22\1\23\1\24\1\25\1\uffff\1\30\4\uffff\1\42\5\uffff\1\62\1\63\1\67\1\70\1\71\1\72\1\73\63\uffff\1\46\15\uffff\1\37\1\57\13\uffff\1\5\1\uffff\1\45\1\uffff\1\7\1\21\11\uffff\1\47\1\uffff\1\65\45\uffff\1\52\2\uffff\1\56\3\uffff\1\41\1\33\1\6\1\64\1\32\3\uffff\1\15\2\uffff\1\17\5\uffff\1\36\1\uffff\1\61\1\50\1\uffff\1\55\12\uffff\1\40\1\26\1\54\4\uffff\1\1\1\2\4\uffff\1\16\5\uffff\1\53\1\31\1\10\2\uffff\1\27\10\uffff\1\35\1\60\1\11\1\uffff\1\20\1\34\1\12"; + static final String DFA12_specialS = + "\1\0\40\uffff\1\1\1\2\u010a\uffff}>"; + static final String[] DFA12_transitionS = { + "\11\45\2\44\2\45\1\44\22\45\1\44\1\45\1\41\1\30\3\45\1\42\2\45\1\35\1\34\1\22\1\12\1\11\1\43\12\40\1\24\1\45\1\2\1\17\1\3\2\45\1\7\21\37\1\6\2\37\1\10\4\37\3\45\1\36\1\37\1\45\2\37\1\25\1\33\1\14\1\5\1\32\1\37\1\13\2\37\1\27\1\1\1\4\1\26\1\23\1\37\1\16\1\31\2\37\1\15\4\37\1\20\1\45\1\21\uff82\45", + "\1\47\3\uffff\1\50\3\uffff\1\46\5\uffff\1\51", + "\1\53", + "\1\55", + "\1\57\5\uffff\1\60", + "\1\62\5\uffff\1\63\5\uffff\1\61", + "\1\64", + "\1\65", + "\1\66", + "\1\67", + "", + "\1\72\1\73", + "\1\74\7\uffff\1\75", + "\1\76", + "\1\77\17\uffff\1\100", + "", + "", + "", + "", + "\1\105", + "\1\106", + "\1\107", + "\1\110\22\uffff\1\111", + "\1\112", + "", + "\1\115\13\uffff\1\116\4\uffff\1\114", + "\1\117", + "\1\120", + "\1\121", + "", + "\32\52\4\uffff\1\52\1\uffff\32\52", + "", + "", + "\0\124", + "\0\124", + "\1\125\4\uffff\1\126", + "", + "", + "\1\130", + "\1\131", + "\1\133\6\uffff\1\132", + "\1\134", + "", + "", + "", + "", + "", + "\1\137\11\uffff\1\135\3\uffff\1\136", + "\1\140", + "\1\141", + "\1\142", + "\1\143", + "\1\144", + "\1\145", + "\1\146", + "", + "", + "", + "\1\147", + "\1\150", + "\1\151", + "\1\152", + "\1\153", + "\1\155\12\uffff\1\154", + "\1\156", + "", + "", + "", + "", + "\1\157\16\uffff\1\160", + "", + "\1\161", + "\1\162", + "\1\163", + "\1\164", + "", + "\1\166\20\uffff\1\165", + "\1\167", + "\1\170", + "\1\171", + "\1\172", + "", + "", + "", + "", + "", + "", + "", + "\1\173", + "\1\174", + "\1\175", + "\1\176", + "\1\177", + "\1\u0080", + "\1\u0081", + "\1\u0082", + "\1\u0083", + "\1\u0084", + "\1\u0085", + "\1\u0086", + "\1\u0087", + "\1\u0088", + "\1\u0089", + "\1\u008a", + "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52", + "\1\u008c", + "\1\u008d", + "\1\u008e", + "\1\u008f", + "\1\u0090", + "\1\u0092\1\u0091", + "\1\u0093", + "\1\u0094", + "\1\u0096\14\uffff\1\u0095", + "\1\u0097", + "\1\u0098", + "\1\u0099\2\uffff\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52", + "\1\u009b", + "\1\u009c", + "\1\u009d", + "\1\u009e", + "\1\u009f", + "\1\u00a0", + "\1\u00a1", + "\1\u00a2", + "\1\u00a3", + "\1\u00a4", + "\1\u00a5", + "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52", + "\1\u00a7", + "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52", + "\1\u00a9", + "\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\u00ac", + "\1\u00ad", + "\1\u00ae", + "\1\u00af", + "\1\u00b0", + "", + "\1\u00b1", + "\1\u00b2", + "\1\u00b3", + "\1\u00b4", + "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52", + "\1\u00b6", + "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52", + "\1\u00b8", + "\1\u00b9", + "\1\u00ba", + "\1\u00bb", + "\1\u00bc", + "\1\u00bd", + "", + "", + "\1\u00be", + "\1\u00bf", + "\1\u00c0", + "\1\u00c1", + "\1\u00c2", + "\1\u00c3", + "\1\u00c4", + "\1\u00c5", + "\1\u00c6", + "\1\u00c7", + "\1\u00c8", + "", + "\1\u00c9", + "", + "\1\u00ca", + "", + "", + "\1\u00cb", + "\1\u00cc", + "\1\u00cd", + "\1\u00ce", + "\1\u00cf", + "\1\u00d0", + "\1\u00d1", + "\1\u00d2", + "\1\u00d3", + "", + "\1\u00d4", + "", + "\1\u00d5", + "\1\u00d6", + "\1\u00d7", + "\1\u00d8", + "\1\u00d9", + "\1\u00da", + "\1\u00db", + "\1\u00dc", + "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52", + "\1\u00de", + "\1\u00df", + "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52", + "\1\u00e1", + "\1\u00e2", + "\1\u00e3", + "\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", + "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52", + "\1\u00e9", + "\1\u00ea", + "\1\u00eb", + "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52", + "\1\u00ed", + "\1\u00ee", + "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52", + "\1\u00f0", + "\1\u00f1", + "\1\u00f2", + "\1\u00f3", + "\1\u00f4", + "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52", + "\1\u00f6", + "\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\u00f9", + "", + "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52", + "\1\u00fb", + "", + "\1\u00fc", + "\1\u00fd", + "\1\u00fe", + "", + "", + "", + "", + "", + "\1\u00ff", + "\1\u0100", + "\1\u0101", + "", + "\1\u0102", + "\1\u0103", + "", + "\1\u0104", + "\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\u0107", + "\1\u0108", + "", + "\1\u0109", + "", + "", + "\1\u010a", + "", + "\1\u010b", + "\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\u010e", + "\1\u010f", + "\1\u0110", + "\1\u0111", + "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52", + "\1\u0113", + "\1\u0114", + "", + "", + "", + "\1\u0115", + "\1\u0116", + "\1\u0117", + "\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\u011b", + "\1\u011c", + "", + "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52", + "\1\u011e", + "\1\u011f", + "\1\u0120", + "\1\u0121", + "", + "", + "", + "\1\u0122", + "\1\u0123", + "", + "\1\u0124", + "\1\u0125", + "\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\u0129", + "\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", + "", + "", + "" + }; + + static final short[] DFA12_eot = DFA.unpackEncodedString(DFA12_eotS); + static final short[] DFA12_eof = DFA.unpackEncodedString(DFA12_eofS); + static final char[] DFA12_min = DFA.unpackEncodedStringToUnsignedChars(DFA12_minS); + static final char[] DFA12_max = DFA.unpackEncodedStringToUnsignedChars(DFA12_maxS); + static final short[] DFA12_accept = DFA.unpackEncodedString(DFA12_acceptS); + static final short[] DFA12_special = DFA.unpackEncodedString(DFA12_specialS); + static final short[][] DFA12_transition; + + static { + int numStates = DFA12_transitionS.length; + DFA12_transition = new short[numStates][]; + for (int i=0; i') ) {s = 3;} + + else if ( (LA12_0=='n') ) {s = 4;} + + else if ( (LA12_0=='f') ) {s = 5;} + + else if ( (LA12_0=='S') ) {s = 6;} + + else if ( (LA12_0=='A') ) {s = 7;} + + else if ( (LA12_0=='V') ) {s = 8;} + + else if ( (LA12_0=='.') ) {s = 9;} + + else if ( (LA12_0=='-') ) {s = 10;} + + else if ( (LA12_0=='i') ) {s = 11;} + + else if ( (LA12_0=='e') ) {s = 12;} + + else if ( (LA12_0=='v') ) {s = 13;} + + else if ( (LA12_0=='r') ) {s = 14;} + + else if ( (LA12_0=='=') ) {s = 15;} + + else if ( (LA12_0=='{') ) {s = 16;} + + else if ( (LA12_0=='}') ) {s = 17;} + + else if ( (LA12_0==',') ) {s = 18;} + + else if ( (LA12_0=='p') ) {s = 19;} + + else if ( (LA12_0==':') ) {s = 20;} + + else if ( (LA12_0=='c') ) {s = 21;} + + else if ( (LA12_0=='o') ) {s = 22;} + + else if ( (LA12_0=='l') ) {s = 23;} + + else if ( (LA12_0=='#') ) {s = 24;} + + else if ( (LA12_0=='s') ) {s = 25;} + + else if ( (LA12_0=='g') ) {s = 26;} + + else if ( (LA12_0=='d') ) {s = 27;} + + else if ( (LA12_0=='+') ) {s = 28;} + + else if ( (LA12_0=='*') ) {s = 29;} + + else if ( (LA12_0=='^') ) {s = 30;} + + else if ( ((LA12_0>='B' && 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>='0' && LA12_0<='9')) ) {s = 32;} + + else if ( (LA12_0=='\"') ) {s = 33;} + + else if ( (LA12_0=='\'') ) {s = 34;} + + else if ( (LA12_0=='/') ) {s = 35;} + + else if ( ((LA12_0>='\t' && LA12_0<='\n')||LA12_0=='\r'||LA12_0==' ') ) {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<='\uFFFF')) ) {s = 37;} + + if ( s>=0 ) return s; + break; + case 1 : + int LA12_33 = input.LA(1); + + s = -1; + if ( ((LA12_33>='\u0000' && LA12_33<='\uFFFF')) ) {s = 84;} + + else s = 37; + + if ( s>=0 ) return s; + break; + case 2 : + int LA12_34 = input.LA(1); + + s = -1; + if ( ((LA12_34>='\u0000' && LA12_34<='\uFFFF')) ) {s = 84;} + + else s = 37; + + if ( s>=0 ) return s; + break; + } + NoViableAltException nvae = + new NoViableAltException(getDescription(), 12, _s, input); + error(nvae); + throw nvae; + } + } + + } \ No newline at end of file diff --git a/Application/hu.bme.mit.inf.dslreasoner.application.ide/src-gen/hu/bme/mit/inf/dslreasoner/application/ide/contentassist/antlr/internal/InternalApplicationConfigurationParser.java b/Application/hu.bme.mit.inf.dslreasoner.application.ide/src-gen/hu/bme/mit/inf/dslreasoner/application/ide/contentassist/antlr/internal/InternalApplicationConfigurationParser.java index 92d991f1..87baba3d 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application.ide/src-gen/hu/bme/mit/inf/dslreasoner/application/ide/contentassist/antlr/internal/InternalApplicationConfigurationParser.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application.ide/src-gen/hu/bme/mit/inf/dslreasoner/application/ide/contentassist/antlr/internal/InternalApplicationConfigurationParser.java @@ -1,32524 +1,36563 @@ -package hu.bme.mit.inf.dslreasoner.application.ide.contentassist.antlr.internal; - -import java.io.InputStream; -import org.eclipse.xtext.*; -import org.eclipse.xtext.parser.*; -import org.eclipse.xtext.parser.impl.*; -import org.eclipse.emf.ecore.util.EcoreUtil; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.xtext.parser.antlr.XtextTokenStream; -import org.eclipse.xtext.parser.antlr.XtextTokenStream.HiddenTokens; -import org.eclipse.xtext.ide.editor.contentassist.antlr.internal.AbstractInternalContentAssistParser; -import org.eclipse.xtext.ide.editor.contentassist.antlr.internal.DFA; -import hu.bme.mit.inf.dslreasoner.application.services.ApplicationConfigurationGrammarAccess; - - - -import org.antlr.runtime.*; -import java.util.Stack; -import java.util.List; -import java.util.ArrayList; - -@SuppressWarnings("all") -public class InternalApplicationConfigurationParser extends AbstractInternalContentAssistParser { - public static final String[] tokenNames = new String[] { - "", "", "", "", "RULE_ID", "RULE_INT", "RULE_STRING", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "'none'", "'normal'", "'full'", "'SMTSolver'", "'AlloySolver'", "'ViatraSolver'", "'.'", "'-'", "'import'", "'epackage'", "'viatra'", "'file'", "'='", "'{'", "'}'", "','", "'package'", "'excluding'", "'::'", "'metamodel'", "'folder'", "'models'", "'constraints'", "'config'", "'log-level'", "'runtime'", "'memory'", "'#'", "'<'", "'>'", "'node'", "'int'", "'real'", "'string'", "'..'", "'scope'", "'generate'", "'partial-model'", "'solver'", "'debug'", "'log'", "'statistics'", "'output'", "'+='", "'*'", "'number'", "'runs'" - }; - 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; - public static final int T__17=17; - public static final int T__18=18; - public static final int T__11=11; - public static final int T__55=55; - public static final int T__12=12; - public static final int T__56=56; - public static final int T__13=13; - public static final int T__57=57; - public static final int T__14=14; - public static final int T__51=51; - public static final int T__52=52; - public static final int T__53=53; - public static final int T__54=54; - public static final int RULE_ID=4; - public static final int T__26=26; - public static final int T__27=27; - public static final int T__28=28; - public static final int RULE_INT=5; - public static final int T__29=29; - public static final int T__22=22; - public static final int RULE_ML_COMMENT=7; - public static final int T__23=23; - public static final int T__24=24; - public static final int T__25=25; - public static final int T__20=20; - public static final int T__21=21; - public static final int RULE_STRING=6; - public static final int RULE_SL_COMMENT=8; - public static final int T__37=37; - public static final int T__38=38; - public static final int T__39=39; - public static final int T__33=33; - public static final int T__34=34; - public static final int T__35=35; - public static final int T__36=36; - public static final int EOF=-1; - public static final int T__30=30; - public static final int T__31=31; - public static final int T__32=32; - public static final int RULE_WS=9; - public static final int RULE_ANY_OTHER=10; - public static final int T__48=48; - public static final int T__49=49; - public static final int T__44=44; - public static final int T__45=45; - public static final int T__46=46; - public static final int T__47=47; - public static final int T__40=40; - public static final int T__41=41; - public static final int T__42=42; - public static final int T__43=43; - - // delegates - // delegators - - - public InternalApplicationConfigurationParser(TokenStream input) { - this(input, new RecognizerSharedState()); - } - public InternalApplicationConfigurationParser(TokenStream input, RecognizerSharedState state) { - super(input, state); - - } - - - public String[] getTokenNames() { return InternalApplicationConfigurationParser.tokenNames; } - public String getGrammarFileName() { return "InternalApplicationConfiguration.g"; } - - - private ApplicationConfigurationGrammarAccess grammarAccess; - - public void setGrammarAccess(ApplicationConfigurationGrammarAccess grammarAccess) { - this.grammarAccess = grammarAccess; - } - - @Override - protected Grammar getGrammar() { - return grammarAccess.getGrammar(); - } - - @Override - protected String getValueForTokenName(String tokenName) { - return tokenName; - } - - - - // $ANTLR start "entryRuleConfigurationScript" - // InternalApplicationConfiguration.g:53:1: entryRuleConfigurationScript : ruleConfigurationScript EOF ; - public final void entryRuleConfigurationScript() throws RecognitionException { - try { - // InternalApplicationConfiguration.g:54:1: ( ruleConfigurationScript EOF ) - // InternalApplicationConfiguration.g:55:1: ruleConfigurationScript EOF - { - before(grammarAccess.getConfigurationScriptRule()); - pushFollow(FOLLOW_1); - ruleConfigurationScript(); - - state._fsp--; - - after(grammarAccess.getConfigurationScriptRule()); - match(input,EOF,FOLLOW_2); - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRuleConfigurationScript" - - - // $ANTLR start "ruleConfigurationScript" - // InternalApplicationConfiguration.g:62:1: ruleConfigurationScript : ( ( rule__ConfigurationScript__Group__0 ) ) ; - public final void ruleConfigurationScript() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:66:2: ( ( ( rule__ConfigurationScript__Group__0 ) ) ) - // InternalApplicationConfiguration.g:67:2: ( ( rule__ConfigurationScript__Group__0 ) ) - { - // InternalApplicationConfiguration.g:67:2: ( ( rule__ConfigurationScript__Group__0 ) ) - // InternalApplicationConfiguration.g:68:3: ( rule__ConfigurationScript__Group__0 ) - { - before(grammarAccess.getConfigurationScriptAccess().getGroup()); - // InternalApplicationConfiguration.g:69:3: ( rule__ConfigurationScript__Group__0 ) - // InternalApplicationConfiguration.g:69:4: rule__ConfigurationScript__Group__0 - { - pushFollow(FOLLOW_2); - rule__ConfigurationScript__Group__0(); - - state._fsp--; - - - } - - after(grammarAccess.getConfigurationScriptAccess().getGroup()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "ruleConfigurationScript" - - - // $ANTLR start "entryRuleCommand" - // InternalApplicationConfiguration.g:78:1: entryRuleCommand : ruleCommand EOF ; - public final void entryRuleCommand() throws RecognitionException { - try { - // InternalApplicationConfiguration.g:79:1: ( ruleCommand EOF ) - // InternalApplicationConfiguration.g:80:1: ruleCommand EOF - { - before(grammarAccess.getCommandRule()); - pushFollow(FOLLOW_1); - ruleCommand(); - - state._fsp--; - - after(grammarAccess.getCommandRule()); - match(input,EOF,FOLLOW_2); - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRuleCommand" - - - // $ANTLR start "ruleCommand" - // InternalApplicationConfiguration.g:87:1: ruleCommand : ( ( rule__Command__Alternatives ) ) ; - public final void ruleCommand() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:91:2: ( ( ( rule__Command__Alternatives ) ) ) - // InternalApplicationConfiguration.g:92:2: ( ( rule__Command__Alternatives ) ) - { - // InternalApplicationConfiguration.g:92:2: ( ( rule__Command__Alternatives ) ) - // InternalApplicationConfiguration.g:93:3: ( rule__Command__Alternatives ) - { - before(grammarAccess.getCommandAccess().getAlternatives()); - // InternalApplicationConfiguration.g:94:3: ( rule__Command__Alternatives ) - // InternalApplicationConfiguration.g:94:4: rule__Command__Alternatives - { - pushFollow(FOLLOW_2); - rule__Command__Alternatives(); - - state._fsp--; - - - } - - after(grammarAccess.getCommandAccess().getAlternatives()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "ruleCommand" - - - // $ANTLR start "entryRuleQualifiedName" - // InternalApplicationConfiguration.g:103:1: entryRuleQualifiedName : ruleQualifiedName EOF ; - public final void entryRuleQualifiedName() throws RecognitionException { - try { - // InternalApplicationConfiguration.g:104:1: ( ruleQualifiedName EOF ) - // InternalApplicationConfiguration.g:105:1: ruleQualifiedName EOF - { - before(grammarAccess.getQualifiedNameRule()); - pushFollow(FOLLOW_1); - ruleQualifiedName(); - - state._fsp--; - - after(grammarAccess.getQualifiedNameRule()); - match(input,EOF,FOLLOW_2); - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRuleQualifiedName" - - - // $ANTLR start "ruleQualifiedName" - // InternalApplicationConfiguration.g:112:1: ruleQualifiedName : ( ( rule__QualifiedName__Group__0 ) ) ; - public final void ruleQualifiedName() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:116:2: ( ( ( rule__QualifiedName__Group__0 ) ) ) - // InternalApplicationConfiguration.g:117:2: ( ( rule__QualifiedName__Group__0 ) ) - { - // InternalApplicationConfiguration.g:117:2: ( ( rule__QualifiedName__Group__0 ) ) - // InternalApplicationConfiguration.g:118:3: ( rule__QualifiedName__Group__0 ) - { - before(grammarAccess.getQualifiedNameAccess().getGroup()); - // InternalApplicationConfiguration.g:119:3: ( rule__QualifiedName__Group__0 ) - // InternalApplicationConfiguration.g:119:4: rule__QualifiedName__Group__0 - { - pushFollow(FOLLOW_2); - rule__QualifiedName__Group__0(); - - state._fsp--; - - - } - - after(grammarAccess.getQualifiedNameAccess().getGroup()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "ruleQualifiedName" - - - // $ANTLR start "entryRuleREALLiteral" - // InternalApplicationConfiguration.g:128:1: entryRuleREALLiteral : ruleREALLiteral EOF ; - public final void entryRuleREALLiteral() throws RecognitionException { - try { - // InternalApplicationConfiguration.g:129:1: ( ruleREALLiteral EOF ) - // InternalApplicationConfiguration.g:130:1: ruleREALLiteral EOF - { - before(grammarAccess.getREALLiteralRule()); - pushFollow(FOLLOW_1); - ruleREALLiteral(); - - state._fsp--; - - after(grammarAccess.getREALLiteralRule()); - match(input,EOF,FOLLOW_2); - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRuleREALLiteral" - - - // $ANTLR start "ruleREALLiteral" - // InternalApplicationConfiguration.g:137:1: ruleREALLiteral : ( ( rule__REALLiteral__Group__0 ) ) ; - public final void ruleREALLiteral() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:141:2: ( ( ( rule__REALLiteral__Group__0 ) ) ) - // InternalApplicationConfiguration.g:142:2: ( ( rule__REALLiteral__Group__0 ) ) - { - // InternalApplicationConfiguration.g:142:2: ( ( rule__REALLiteral__Group__0 ) ) - // InternalApplicationConfiguration.g:143:3: ( rule__REALLiteral__Group__0 ) - { - before(grammarAccess.getREALLiteralAccess().getGroup()); - // InternalApplicationConfiguration.g:144:3: ( rule__REALLiteral__Group__0 ) - // InternalApplicationConfiguration.g:144:4: rule__REALLiteral__Group__0 - { - pushFollow(FOLLOW_2); - rule__REALLiteral__Group__0(); - - state._fsp--; - - - } - - after(grammarAccess.getREALLiteralAccess().getGroup()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "ruleREALLiteral" - - - // $ANTLR start "entryRuleINTLiteral" - // InternalApplicationConfiguration.g:153:1: entryRuleINTLiteral : ruleINTLiteral EOF ; - public final void entryRuleINTLiteral() throws RecognitionException { - try { - // InternalApplicationConfiguration.g:154:1: ( ruleINTLiteral EOF ) - // InternalApplicationConfiguration.g:155:1: ruleINTLiteral EOF - { - before(grammarAccess.getINTLiteralRule()); - pushFollow(FOLLOW_1); - ruleINTLiteral(); - - state._fsp--; - - after(grammarAccess.getINTLiteralRule()); - match(input,EOF,FOLLOW_2); - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRuleINTLiteral" - - - // $ANTLR start "ruleINTLiteral" - // InternalApplicationConfiguration.g:162:1: ruleINTLiteral : ( ( rule__INTLiteral__Group__0 ) ) ; - public final void ruleINTLiteral() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:166:2: ( ( ( rule__INTLiteral__Group__0 ) ) ) - // InternalApplicationConfiguration.g:167:2: ( ( rule__INTLiteral__Group__0 ) ) - { - // InternalApplicationConfiguration.g:167:2: ( ( rule__INTLiteral__Group__0 ) ) - // InternalApplicationConfiguration.g:168:3: ( rule__INTLiteral__Group__0 ) - { - before(grammarAccess.getINTLiteralAccess().getGroup()); - // InternalApplicationConfiguration.g:169:3: ( rule__INTLiteral__Group__0 ) - // InternalApplicationConfiguration.g:169:4: rule__INTLiteral__Group__0 - { - pushFollow(FOLLOW_2); - rule__INTLiteral__Group__0(); - - state._fsp--; - - - } - - after(grammarAccess.getINTLiteralAccess().getGroup()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "ruleINTLiteral" - - - // $ANTLR start "entryRuleImport" - // InternalApplicationConfiguration.g:178:1: entryRuleImport : ruleImport EOF ; - public final void entryRuleImport() throws RecognitionException { - try { - // InternalApplicationConfiguration.g:179:1: ( ruleImport EOF ) - // InternalApplicationConfiguration.g:180:1: ruleImport EOF - { - before(grammarAccess.getImportRule()); - pushFollow(FOLLOW_1); - ruleImport(); - - state._fsp--; - - after(grammarAccess.getImportRule()); - match(input,EOF,FOLLOW_2); - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRuleImport" - - - // $ANTLR start "ruleImport" - // InternalApplicationConfiguration.g:187:1: ruleImport : ( ( rule__Import__Alternatives ) ) ; - public final void ruleImport() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:191:2: ( ( ( rule__Import__Alternatives ) ) ) - // InternalApplicationConfiguration.g:192:2: ( ( rule__Import__Alternatives ) ) - { - // InternalApplicationConfiguration.g:192:2: ( ( rule__Import__Alternatives ) ) - // InternalApplicationConfiguration.g:193:3: ( rule__Import__Alternatives ) - { - before(grammarAccess.getImportAccess().getAlternatives()); - // InternalApplicationConfiguration.g:194:3: ( rule__Import__Alternatives ) - // InternalApplicationConfiguration.g:194:4: rule__Import__Alternatives - { - pushFollow(FOLLOW_2); - rule__Import__Alternatives(); - - state._fsp--; - - - } - - after(grammarAccess.getImportAccess().getAlternatives()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "ruleImport" - - - // $ANTLR start "entryRuleEPackageImport" - // InternalApplicationConfiguration.g:203:1: entryRuleEPackageImport : ruleEPackageImport EOF ; - public final void entryRuleEPackageImport() throws RecognitionException { - try { - // InternalApplicationConfiguration.g:204:1: ( ruleEPackageImport EOF ) - // InternalApplicationConfiguration.g:205:1: ruleEPackageImport EOF - { - before(grammarAccess.getEPackageImportRule()); - pushFollow(FOLLOW_1); - ruleEPackageImport(); - - state._fsp--; - - after(grammarAccess.getEPackageImportRule()); - match(input,EOF,FOLLOW_2); - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRuleEPackageImport" - - - // $ANTLR start "ruleEPackageImport" - // InternalApplicationConfiguration.g:212:1: ruleEPackageImport : ( ( rule__EPackageImport__Group__0 ) ) ; - public final void ruleEPackageImport() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:216:2: ( ( ( rule__EPackageImport__Group__0 ) ) ) - // InternalApplicationConfiguration.g:217:2: ( ( rule__EPackageImport__Group__0 ) ) - { - // InternalApplicationConfiguration.g:217:2: ( ( rule__EPackageImport__Group__0 ) ) - // InternalApplicationConfiguration.g:218:3: ( rule__EPackageImport__Group__0 ) - { - before(grammarAccess.getEPackageImportAccess().getGroup()); - // InternalApplicationConfiguration.g:219:3: ( rule__EPackageImport__Group__0 ) - // InternalApplicationConfiguration.g:219:4: rule__EPackageImport__Group__0 - { - pushFollow(FOLLOW_2); - rule__EPackageImport__Group__0(); - - state._fsp--; - - - } - - after(grammarAccess.getEPackageImportAccess().getGroup()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "ruleEPackageImport" - - - // $ANTLR start "entryRuleViatraImport" - // InternalApplicationConfiguration.g:228:1: entryRuleViatraImport : ruleViatraImport EOF ; - public final void entryRuleViatraImport() throws RecognitionException { - try { - // InternalApplicationConfiguration.g:229:1: ( ruleViatraImport EOF ) - // InternalApplicationConfiguration.g:230:1: ruleViatraImport EOF - { - before(grammarAccess.getViatraImportRule()); - pushFollow(FOLLOW_1); - ruleViatraImport(); - - state._fsp--; - - after(grammarAccess.getViatraImportRule()); - match(input,EOF,FOLLOW_2); - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRuleViatraImport" - - - // $ANTLR start "ruleViatraImport" - // InternalApplicationConfiguration.g:237:1: ruleViatraImport : ( ( rule__ViatraImport__Group__0 ) ) ; - public final void ruleViatraImport() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:241:2: ( ( ( rule__ViatraImport__Group__0 ) ) ) - // InternalApplicationConfiguration.g:242:2: ( ( rule__ViatraImport__Group__0 ) ) - { - // InternalApplicationConfiguration.g:242:2: ( ( rule__ViatraImport__Group__0 ) ) - // InternalApplicationConfiguration.g:243:3: ( rule__ViatraImport__Group__0 ) - { - before(grammarAccess.getViatraImportAccess().getGroup()); - // InternalApplicationConfiguration.g:244:3: ( rule__ViatraImport__Group__0 ) - // InternalApplicationConfiguration.g:244:4: rule__ViatraImport__Group__0 - { - pushFollow(FOLLOW_2); - rule__ViatraImport__Group__0(); - - state._fsp--; - - - } - - after(grammarAccess.getViatraImportAccess().getGroup()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "ruleViatraImport" - - - // $ANTLR start "entryRuleDeclaration" - // InternalApplicationConfiguration.g:253:1: entryRuleDeclaration : ruleDeclaration EOF ; - public final void entryRuleDeclaration() throws RecognitionException { - try { - // InternalApplicationConfiguration.g:254:1: ( ruleDeclaration EOF ) - // InternalApplicationConfiguration.g:255:1: ruleDeclaration EOF - { - before(grammarAccess.getDeclarationRule()); - pushFollow(FOLLOW_1); - ruleDeclaration(); - - state._fsp--; - - after(grammarAccess.getDeclarationRule()); - match(input,EOF,FOLLOW_2); - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRuleDeclaration" - - - // $ANTLR start "ruleDeclaration" - // InternalApplicationConfiguration.g:262:1: ruleDeclaration : ( ( rule__Declaration__Alternatives ) ) ; - public final void ruleDeclaration() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:266:2: ( ( ( rule__Declaration__Alternatives ) ) ) - // InternalApplicationConfiguration.g:267:2: ( ( rule__Declaration__Alternatives ) ) - { - // InternalApplicationConfiguration.g:267:2: ( ( rule__Declaration__Alternatives ) ) - // InternalApplicationConfiguration.g:268:3: ( rule__Declaration__Alternatives ) - { - before(grammarAccess.getDeclarationAccess().getAlternatives()); - // InternalApplicationConfiguration.g:269:3: ( rule__Declaration__Alternatives ) - // InternalApplicationConfiguration.g:269:4: rule__Declaration__Alternatives - { - pushFollow(FOLLOW_2); - rule__Declaration__Alternatives(); - - state._fsp--; - - - } - - after(grammarAccess.getDeclarationAccess().getAlternatives()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "ruleDeclaration" - - - // $ANTLR start "entryRuleFileSpecification" - // InternalApplicationConfiguration.g:278:1: entryRuleFileSpecification : ruleFileSpecification EOF ; - public final void entryRuleFileSpecification() throws RecognitionException { - try { - // InternalApplicationConfiguration.g:279:1: ( ruleFileSpecification EOF ) - // InternalApplicationConfiguration.g:280:1: ruleFileSpecification EOF - { - before(grammarAccess.getFileSpecificationRule()); - pushFollow(FOLLOW_1); - ruleFileSpecification(); - - state._fsp--; - - after(grammarAccess.getFileSpecificationRule()); - match(input,EOF,FOLLOW_2); - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRuleFileSpecification" - - - // $ANTLR start "ruleFileSpecification" - // InternalApplicationConfiguration.g:287:1: ruleFileSpecification : ( ( rule__FileSpecification__PathAssignment ) ) ; - public final void ruleFileSpecification() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:291:2: ( ( ( rule__FileSpecification__PathAssignment ) ) ) - // InternalApplicationConfiguration.g:292:2: ( ( rule__FileSpecification__PathAssignment ) ) - { - // InternalApplicationConfiguration.g:292:2: ( ( rule__FileSpecification__PathAssignment ) ) - // InternalApplicationConfiguration.g:293:3: ( rule__FileSpecification__PathAssignment ) - { - before(grammarAccess.getFileSpecificationAccess().getPathAssignment()); - // InternalApplicationConfiguration.g:294:3: ( rule__FileSpecification__PathAssignment ) - // InternalApplicationConfiguration.g:294:4: rule__FileSpecification__PathAssignment - { - pushFollow(FOLLOW_2); - rule__FileSpecification__PathAssignment(); - - state._fsp--; - - - } - - after(grammarAccess.getFileSpecificationAccess().getPathAssignment()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "ruleFileSpecification" - - - // $ANTLR start "entryRuleFileDeclaration" - // InternalApplicationConfiguration.g:303:1: entryRuleFileDeclaration : ruleFileDeclaration EOF ; - public final void entryRuleFileDeclaration() throws RecognitionException { - try { - // InternalApplicationConfiguration.g:304:1: ( ruleFileDeclaration EOF ) - // InternalApplicationConfiguration.g:305:1: ruleFileDeclaration EOF - { - before(grammarAccess.getFileDeclarationRule()); - pushFollow(FOLLOW_1); - ruleFileDeclaration(); - - state._fsp--; - - after(grammarAccess.getFileDeclarationRule()); - match(input,EOF,FOLLOW_2); - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRuleFileDeclaration" - - - // $ANTLR start "ruleFileDeclaration" - // InternalApplicationConfiguration.g:312:1: ruleFileDeclaration : ( ( rule__FileDeclaration__Group__0 ) ) ; - public final void ruleFileDeclaration() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:316:2: ( ( ( rule__FileDeclaration__Group__0 ) ) ) - // InternalApplicationConfiguration.g:317:2: ( ( rule__FileDeclaration__Group__0 ) ) - { - // InternalApplicationConfiguration.g:317:2: ( ( rule__FileDeclaration__Group__0 ) ) - // InternalApplicationConfiguration.g:318:3: ( rule__FileDeclaration__Group__0 ) - { - before(grammarAccess.getFileDeclarationAccess().getGroup()); - // InternalApplicationConfiguration.g:319:3: ( rule__FileDeclaration__Group__0 ) - // InternalApplicationConfiguration.g:319:4: rule__FileDeclaration__Group__0 - { - pushFollow(FOLLOW_2); - rule__FileDeclaration__Group__0(); - - state._fsp--; - - - } - - after(grammarAccess.getFileDeclarationAccess().getGroup()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "ruleFileDeclaration" - - - // $ANTLR start "entryRuleFileReference" - // InternalApplicationConfiguration.g:328:1: entryRuleFileReference : ruleFileReference EOF ; - public final void entryRuleFileReference() throws RecognitionException { - try { - // InternalApplicationConfiguration.g:329:1: ( ruleFileReference EOF ) - // InternalApplicationConfiguration.g:330:1: ruleFileReference EOF - { - before(grammarAccess.getFileReferenceRule()); - pushFollow(FOLLOW_1); - ruleFileReference(); - - state._fsp--; - - after(grammarAccess.getFileReferenceRule()); - match(input,EOF,FOLLOW_2); - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRuleFileReference" - - - // $ANTLR start "ruleFileReference" - // InternalApplicationConfiguration.g:337:1: ruleFileReference : ( ( rule__FileReference__ReferredAssignment ) ) ; - public final void ruleFileReference() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:341:2: ( ( ( rule__FileReference__ReferredAssignment ) ) ) - // InternalApplicationConfiguration.g:342:2: ( ( rule__FileReference__ReferredAssignment ) ) - { - // InternalApplicationConfiguration.g:342:2: ( ( rule__FileReference__ReferredAssignment ) ) - // InternalApplicationConfiguration.g:343:3: ( rule__FileReference__ReferredAssignment ) - { - before(grammarAccess.getFileReferenceAccess().getReferredAssignment()); - // InternalApplicationConfiguration.g:344:3: ( rule__FileReference__ReferredAssignment ) - // InternalApplicationConfiguration.g:344:4: rule__FileReference__ReferredAssignment - { - pushFollow(FOLLOW_2); - rule__FileReference__ReferredAssignment(); - - state._fsp--; - - - } - - after(grammarAccess.getFileReferenceAccess().getReferredAssignment()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "ruleFileReference" - - - // $ANTLR start "entryRuleFile" - // InternalApplicationConfiguration.g:353:1: entryRuleFile : ruleFile EOF ; - public final void entryRuleFile() throws RecognitionException { - try { - // InternalApplicationConfiguration.g:354:1: ( ruleFile EOF ) - // InternalApplicationConfiguration.g:355:1: ruleFile EOF - { - before(grammarAccess.getFileRule()); - pushFollow(FOLLOW_1); - ruleFile(); - - state._fsp--; - - after(grammarAccess.getFileRule()); - match(input,EOF,FOLLOW_2); - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRuleFile" - - - // $ANTLR start "ruleFile" - // InternalApplicationConfiguration.g:362:1: ruleFile : ( ( rule__File__Alternatives ) ) ; - public final void ruleFile() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:366:2: ( ( ( rule__File__Alternatives ) ) ) - // InternalApplicationConfiguration.g:367:2: ( ( rule__File__Alternatives ) ) - { - // InternalApplicationConfiguration.g:367:2: ( ( rule__File__Alternatives ) ) - // InternalApplicationConfiguration.g:368:3: ( rule__File__Alternatives ) - { - before(grammarAccess.getFileAccess().getAlternatives()); - // InternalApplicationConfiguration.g:369:3: ( rule__File__Alternatives ) - // InternalApplicationConfiguration.g:369:4: rule__File__Alternatives - { - pushFollow(FOLLOW_2); - rule__File__Alternatives(); - - state._fsp--; - - - } - - after(grammarAccess.getFileAccess().getAlternatives()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "ruleFile" - - - // $ANTLR start "entryRuleMetamodelSpecification" - // InternalApplicationConfiguration.g:378:1: entryRuleMetamodelSpecification : ruleMetamodelSpecification EOF ; - public final void entryRuleMetamodelSpecification() throws RecognitionException { - try { - // InternalApplicationConfiguration.g:379:1: ( ruleMetamodelSpecification EOF ) - // InternalApplicationConfiguration.g:380:1: ruleMetamodelSpecification EOF - { - before(grammarAccess.getMetamodelSpecificationRule()); - pushFollow(FOLLOW_1); - ruleMetamodelSpecification(); - - state._fsp--; - - after(grammarAccess.getMetamodelSpecificationRule()); - match(input,EOF,FOLLOW_2); - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRuleMetamodelSpecification" - - - // $ANTLR start "ruleMetamodelSpecification" - // InternalApplicationConfiguration.g:387:1: ruleMetamodelSpecification : ( ( rule__MetamodelSpecification__Group__0 ) ) ; - public final void ruleMetamodelSpecification() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:391:2: ( ( ( rule__MetamodelSpecification__Group__0 ) ) ) - // InternalApplicationConfiguration.g:392:2: ( ( rule__MetamodelSpecification__Group__0 ) ) - { - // InternalApplicationConfiguration.g:392:2: ( ( rule__MetamodelSpecification__Group__0 ) ) - // InternalApplicationConfiguration.g:393:3: ( rule__MetamodelSpecification__Group__0 ) - { - before(grammarAccess.getMetamodelSpecificationAccess().getGroup()); - // InternalApplicationConfiguration.g:394:3: ( rule__MetamodelSpecification__Group__0 ) - // InternalApplicationConfiguration.g:394:4: rule__MetamodelSpecification__Group__0 - { - pushFollow(FOLLOW_2); - rule__MetamodelSpecification__Group__0(); - - state._fsp--; - - - } - - after(grammarAccess.getMetamodelSpecificationAccess().getGroup()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "ruleMetamodelSpecification" - - - // $ANTLR start "entryRuleMetamodelEntry" - // InternalApplicationConfiguration.g:403:1: entryRuleMetamodelEntry : ruleMetamodelEntry EOF ; - public final void entryRuleMetamodelEntry() throws RecognitionException { - try { - // InternalApplicationConfiguration.g:404:1: ( ruleMetamodelEntry EOF ) - // InternalApplicationConfiguration.g:405:1: ruleMetamodelEntry EOF - { - before(grammarAccess.getMetamodelEntryRule()); - pushFollow(FOLLOW_1); - ruleMetamodelEntry(); - - state._fsp--; - - after(grammarAccess.getMetamodelEntryRule()); - match(input,EOF,FOLLOW_2); - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRuleMetamodelEntry" - - - // $ANTLR start "ruleMetamodelEntry" - // InternalApplicationConfiguration.g:412:1: ruleMetamodelEntry : ( ( rule__MetamodelEntry__Alternatives ) ) ; - public final void ruleMetamodelEntry() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:416:2: ( ( ( rule__MetamodelEntry__Alternatives ) ) ) - // InternalApplicationConfiguration.g:417:2: ( ( rule__MetamodelEntry__Alternatives ) ) - { - // InternalApplicationConfiguration.g:417:2: ( ( rule__MetamodelEntry__Alternatives ) ) - // InternalApplicationConfiguration.g:418:3: ( rule__MetamodelEntry__Alternatives ) - { - before(grammarAccess.getMetamodelEntryAccess().getAlternatives()); - // InternalApplicationConfiguration.g:419:3: ( rule__MetamodelEntry__Alternatives ) - // InternalApplicationConfiguration.g:419:4: rule__MetamodelEntry__Alternatives - { - pushFollow(FOLLOW_2); - rule__MetamodelEntry__Alternatives(); - - state._fsp--; - - - } - - after(grammarAccess.getMetamodelEntryAccess().getAlternatives()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "ruleMetamodelEntry" - - - // $ANTLR start "entryRuleAllPackageEntry" - // InternalApplicationConfiguration.g:428:1: entryRuleAllPackageEntry : ruleAllPackageEntry EOF ; - public final void entryRuleAllPackageEntry() throws RecognitionException { - try { - // InternalApplicationConfiguration.g:429:1: ( ruleAllPackageEntry EOF ) - // InternalApplicationConfiguration.g:430:1: ruleAllPackageEntry EOF - { - before(grammarAccess.getAllPackageEntryRule()); - pushFollow(FOLLOW_1); - ruleAllPackageEntry(); - - state._fsp--; - - after(grammarAccess.getAllPackageEntryRule()); - match(input,EOF,FOLLOW_2); - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRuleAllPackageEntry" - - - // $ANTLR start "ruleAllPackageEntry" - // InternalApplicationConfiguration.g:437:1: ruleAllPackageEntry : ( ( rule__AllPackageEntry__Group__0 ) ) ; - public final void ruleAllPackageEntry() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:441:2: ( ( ( rule__AllPackageEntry__Group__0 ) ) ) - // InternalApplicationConfiguration.g:442:2: ( ( rule__AllPackageEntry__Group__0 ) ) - { - // InternalApplicationConfiguration.g:442:2: ( ( rule__AllPackageEntry__Group__0 ) ) - // InternalApplicationConfiguration.g:443:3: ( rule__AllPackageEntry__Group__0 ) - { - before(grammarAccess.getAllPackageEntryAccess().getGroup()); - // InternalApplicationConfiguration.g:444:3: ( rule__AllPackageEntry__Group__0 ) - // InternalApplicationConfiguration.g:444:4: rule__AllPackageEntry__Group__0 - { - pushFollow(FOLLOW_2); - rule__AllPackageEntry__Group__0(); - - state._fsp--; - - - } - - after(grammarAccess.getAllPackageEntryAccess().getGroup()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "ruleAllPackageEntry" - - - // $ANTLR start "entryRuleMetamodelElement" - // InternalApplicationConfiguration.g:453:1: entryRuleMetamodelElement : ruleMetamodelElement EOF ; - public final void entryRuleMetamodelElement() throws RecognitionException { - try { - // InternalApplicationConfiguration.g:454:1: ( ruleMetamodelElement EOF ) - // InternalApplicationConfiguration.g:455:1: ruleMetamodelElement EOF - { - before(grammarAccess.getMetamodelElementRule()); - pushFollow(FOLLOW_1); - ruleMetamodelElement(); - - state._fsp--; - - after(grammarAccess.getMetamodelElementRule()); - match(input,EOF,FOLLOW_2); - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRuleMetamodelElement" - - - // $ANTLR start "ruleMetamodelElement" - // InternalApplicationConfiguration.g:462:1: ruleMetamodelElement : ( ( rule__MetamodelElement__Group__0 ) ) ; - public final void ruleMetamodelElement() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:466:2: ( ( ( rule__MetamodelElement__Group__0 ) ) ) - // InternalApplicationConfiguration.g:467:2: ( ( rule__MetamodelElement__Group__0 ) ) - { - // InternalApplicationConfiguration.g:467:2: ( ( rule__MetamodelElement__Group__0 ) ) - // InternalApplicationConfiguration.g:468:3: ( rule__MetamodelElement__Group__0 ) - { - before(grammarAccess.getMetamodelElementAccess().getGroup()); - // InternalApplicationConfiguration.g:469:3: ( rule__MetamodelElement__Group__0 ) - // InternalApplicationConfiguration.g:469:4: rule__MetamodelElement__Group__0 - { - pushFollow(FOLLOW_2); - rule__MetamodelElement__Group__0(); - - state._fsp--; - - - } - - after(grammarAccess.getMetamodelElementAccess().getGroup()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "ruleMetamodelElement" - - - // $ANTLR start "entryRuleMetamodelDeclaration" - // InternalApplicationConfiguration.g:478:1: entryRuleMetamodelDeclaration : ruleMetamodelDeclaration EOF ; - public final void entryRuleMetamodelDeclaration() throws RecognitionException { - try { - // InternalApplicationConfiguration.g:479:1: ( ruleMetamodelDeclaration EOF ) - // InternalApplicationConfiguration.g:480:1: ruleMetamodelDeclaration EOF - { - before(grammarAccess.getMetamodelDeclarationRule()); - pushFollow(FOLLOW_1); - ruleMetamodelDeclaration(); - - state._fsp--; - - after(grammarAccess.getMetamodelDeclarationRule()); - match(input,EOF,FOLLOW_2); - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRuleMetamodelDeclaration" - - - // $ANTLR start "ruleMetamodelDeclaration" - // InternalApplicationConfiguration.g:487:1: ruleMetamodelDeclaration : ( ( rule__MetamodelDeclaration__Group__0 ) ) ; - public final void ruleMetamodelDeclaration() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:491:2: ( ( ( rule__MetamodelDeclaration__Group__0 ) ) ) - // InternalApplicationConfiguration.g:492:2: ( ( rule__MetamodelDeclaration__Group__0 ) ) - { - // InternalApplicationConfiguration.g:492:2: ( ( rule__MetamodelDeclaration__Group__0 ) ) - // InternalApplicationConfiguration.g:493:3: ( rule__MetamodelDeclaration__Group__0 ) - { - before(grammarAccess.getMetamodelDeclarationAccess().getGroup()); - // InternalApplicationConfiguration.g:494:3: ( rule__MetamodelDeclaration__Group__0 ) - // InternalApplicationConfiguration.g:494:4: rule__MetamodelDeclaration__Group__0 - { - pushFollow(FOLLOW_2); - rule__MetamodelDeclaration__Group__0(); - - state._fsp--; - - - } - - after(grammarAccess.getMetamodelDeclarationAccess().getGroup()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "ruleMetamodelDeclaration" - - - // $ANTLR start "entryRuleMetamodelReference" - // InternalApplicationConfiguration.g:503:1: entryRuleMetamodelReference : ruleMetamodelReference EOF ; - public final void entryRuleMetamodelReference() throws RecognitionException { - try { - // InternalApplicationConfiguration.g:504:1: ( ruleMetamodelReference EOF ) - // InternalApplicationConfiguration.g:505:1: ruleMetamodelReference EOF - { - before(grammarAccess.getMetamodelReferenceRule()); - pushFollow(FOLLOW_1); - ruleMetamodelReference(); - - state._fsp--; - - after(grammarAccess.getMetamodelReferenceRule()); - match(input,EOF,FOLLOW_2); - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRuleMetamodelReference" - - - // $ANTLR start "ruleMetamodelReference" - // InternalApplicationConfiguration.g:512:1: ruleMetamodelReference : ( ( rule__MetamodelReference__ReferredAssignment ) ) ; - public final void ruleMetamodelReference() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:516:2: ( ( ( rule__MetamodelReference__ReferredAssignment ) ) ) - // InternalApplicationConfiguration.g:517:2: ( ( rule__MetamodelReference__ReferredAssignment ) ) - { - // InternalApplicationConfiguration.g:517:2: ( ( rule__MetamodelReference__ReferredAssignment ) ) - // InternalApplicationConfiguration.g:518:3: ( rule__MetamodelReference__ReferredAssignment ) - { - before(grammarAccess.getMetamodelReferenceAccess().getReferredAssignment()); - // InternalApplicationConfiguration.g:519:3: ( rule__MetamodelReference__ReferredAssignment ) - // InternalApplicationConfiguration.g:519:4: rule__MetamodelReference__ReferredAssignment - { - pushFollow(FOLLOW_2); - rule__MetamodelReference__ReferredAssignment(); - - state._fsp--; - - - } - - after(grammarAccess.getMetamodelReferenceAccess().getReferredAssignment()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "ruleMetamodelReference" - - - // $ANTLR start "entryRuleMetamodel" - // InternalApplicationConfiguration.g:528:1: entryRuleMetamodel : ruleMetamodel EOF ; - public final void entryRuleMetamodel() throws RecognitionException { - try { - // InternalApplicationConfiguration.g:529:1: ( ruleMetamodel EOF ) - // InternalApplicationConfiguration.g:530:1: ruleMetamodel EOF - { - before(grammarAccess.getMetamodelRule()); - pushFollow(FOLLOW_1); - ruleMetamodel(); - - state._fsp--; - - after(grammarAccess.getMetamodelRule()); - match(input,EOF,FOLLOW_2); - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRuleMetamodel" - - - // $ANTLR start "ruleMetamodel" - // InternalApplicationConfiguration.g:537:1: ruleMetamodel : ( ( rule__Metamodel__Alternatives ) ) ; - public final void ruleMetamodel() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:541:2: ( ( ( rule__Metamodel__Alternatives ) ) ) - // InternalApplicationConfiguration.g:542:2: ( ( rule__Metamodel__Alternatives ) ) - { - // InternalApplicationConfiguration.g:542:2: ( ( rule__Metamodel__Alternatives ) ) - // InternalApplicationConfiguration.g:543:3: ( rule__Metamodel__Alternatives ) - { - before(grammarAccess.getMetamodelAccess().getAlternatives()); - // InternalApplicationConfiguration.g:544:3: ( rule__Metamodel__Alternatives ) - // InternalApplicationConfiguration.g:544:4: rule__Metamodel__Alternatives - { - pushFollow(FOLLOW_2); - rule__Metamodel__Alternatives(); - - state._fsp--; - - - } - - after(grammarAccess.getMetamodelAccess().getAlternatives()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "ruleMetamodel" - - - // $ANTLR start "entryRulePartialModelSpecification" - // InternalApplicationConfiguration.g:553:1: entryRulePartialModelSpecification : rulePartialModelSpecification EOF ; - public final void entryRulePartialModelSpecification() throws RecognitionException { - try { - // InternalApplicationConfiguration.g:554:1: ( rulePartialModelSpecification EOF ) - // InternalApplicationConfiguration.g:555:1: rulePartialModelSpecification EOF - { - before(grammarAccess.getPartialModelSpecificationRule()); - pushFollow(FOLLOW_1); - rulePartialModelSpecification(); - - state._fsp--; - - after(grammarAccess.getPartialModelSpecificationRule()); - match(input,EOF,FOLLOW_2); - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRulePartialModelSpecification" - - - // $ANTLR start "rulePartialModelSpecification" - // InternalApplicationConfiguration.g:562:1: rulePartialModelSpecification : ( ( rule__PartialModelSpecification__Group__0 ) ) ; - public final void rulePartialModelSpecification() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:566:2: ( ( ( rule__PartialModelSpecification__Group__0 ) ) ) - // InternalApplicationConfiguration.g:567:2: ( ( rule__PartialModelSpecification__Group__0 ) ) - { - // InternalApplicationConfiguration.g:567:2: ( ( rule__PartialModelSpecification__Group__0 ) ) - // InternalApplicationConfiguration.g:568:3: ( rule__PartialModelSpecification__Group__0 ) - { - before(grammarAccess.getPartialModelSpecificationAccess().getGroup()); - // InternalApplicationConfiguration.g:569:3: ( rule__PartialModelSpecification__Group__0 ) - // InternalApplicationConfiguration.g:569:4: rule__PartialModelSpecification__Group__0 - { - pushFollow(FOLLOW_2); - rule__PartialModelSpecification__Group__0(); - - state._fsp--; - - - } - - after(grammarAccess.getPartialModelSpecificationAccess().getGroup()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rulePartialModelSpecification" - - - // $ANTLR start "entryRulePartialModelEntry" - // InternalApplicationConfiguration.g:578:1: entryRulePartialModelEntry : rulePartialModelEntry EOF ; - public final void entryRulePartialModelEntry() throws RecognitionException { - try { - // InternalApplicationConfiguration.g:579:1: ( rulePartialModelEntry EOF ) - // InternalApplicationConfiguration.g:580:1: rulePartialModelEntry EOF - { - before(grammarAccess.getPartialModelEntryRule()); - pushFollow(FOLLOW_1); - rulePartialModelEntry(); - - state._fsp--; - - after(grammarAccess.getPartialModelEntryRule()); - match(input,EOF,FOLLOW_2); - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRulePartialModelEntry" - - - // $ANTLR start "rulePartialModelEntry" - // InternalApplicationConfiguration.g:587:1: rulePartialModelEntry : ( ( rule__PartialModelEntry__Alternatives ) ) ; - public final void rulePartialModelEntry() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:591:2: ( ( ( rule__PartialModelEntry__Alternatives ) ) ) - // InternalApplicationConfiguration.g:592:2: ( ( rule__PartialModelEntry__Alternatives ) ) - { - // InternalApplicationConfiguration.g:592:2: ( ( rule__PartialModelEntry__Alternatives ) ) - // InternalApplicationConfiguration.g:593:3: ( rule__PartialModelEntry__Alternatives ) - { - before(grammarAccess.getPartialModelEntryAccess().getAlternatives()); - // InternalApplicationConfiguration.g:594:3: ( rule__PartialModelEntry__Alternatives ) - // InternalApplicationConfiguration.g:594:4: rule__PartialModelEntry__Alternatives - { - pushFollow(FOLLOW_2); - rule__PartialModelEntry__Alternatives(); - - state._fsp--; - - - } - - after(grammarAccess.getPartialModelEntryAccess().getAlternatives()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rulePartialModelEntry" - - - // $ANTLR start "entryRuleModelEntry" - // InternalApplicationConfiguration.g:603:1: entryRuleModelEntry : ruleModelEntry EOF ; - public final void entryRuleModelEntry() throws RecognitionException { - try { - // InternalApplicationConfiguration.g:604:1: ( ruleModelEntry EOF ) - // InternalApplicationConfiguration.g:605:1: ruleModelEntry EOF - { - before(grammarAccess.getModelEntryRule()); - pushFollow(FOLLOW_1); - ruleModelEntry(); - - state._fsp--; - - after(grammarAccess.getModelEntryRule()); - match(input,EOF,FOLLOW_2); - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRuleModelEntry" - - - // $ANTLR start "ruleModelEntry" - // InternalApplicationConfiguration.g:612:1: ruleModelEntry : ( ( rule__ModelEntry__PathAssignment ) ) ; - public final void ruleModelEntry() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:616:2: ( ( ( rule__ModelEntry__PathAssignment ) ) ) - // InternalApplicationConfiguration.g:617:2: ( ( rule__ModelEntry__PathAssignment ) ) - { - // InternalApplicationConfiguration.g:617:2: ( ( rule__ModelEntry__PathAssignment ) ) - // InternalApplicationConfiguration.g:618:3: ( rule__ModelEntry__PathAssignment ) - { - before(grammarAccess.getModelEntryAccess().getPathAssignment()); - // InternalApplicationConfiguration.g:619:3: ( rule__ModelEntry__PathAssignment ) - // InternalApplicationConfiguration.g:619:4: rule__ModelEntry__PathAssignment - { - pushFollow(FOLLOW_2); - rule__ModelEntry__PathAssignment(); - - state._fsp--; - - - } - - after(grammarAccess.getModelEntryAccess().getPathAssignment()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "ruleModelEntry" - - - // $ANTLR start "entryRuleFolderEntry" - // InternalApplicationConfiguration.g:628:1: entryRuleFolderEntry : ruleFolderEntry EOF ; - public final void entryRuleFolderEntry() throws RecognitionException { - try { - // InternalApplicationConfiguration.g:629:1: ( ruleFolderEntry EOF ) - // InternalApplicationConfiguration.g:630:1: ruleFolderEntry EOF - { - before(grammarAccess.getFolderEntryRule()); - pushFollow(FOLLOW_1); - ruleFolderEntry(); - - state._fsp--; - - after(grammarAccess.getFolderEntryRule()); - match(input,EOF,FOLLOW_2); - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRuleFolderEntry" - - - // $ANTLR start "ruleFolderEntry" - // InternalApplicationConfiguration.g:637:1: ruleFolderEntry : ( ( rule__FolderEntry__Group__0 ) ) ; - public final void ruleFolderEntry() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:641:2: ( ( ( rule__FolderEntry__Group__0 ) ) ) - // InternalApplicationConfiguration.g:642:2: ( ( rule__FolderEntry__Group__0 ) ) - { - // InternalApplicationConfiguration.g:642:2: ( ( rule__FolderEntry__Group__0 ) ) - // InternalApplicationConfiguration.g:643:3: ( rule__FolderEntry__Group__0 ) - { - before(grammarAccess.getFolderEntryAccess().getGroup()); - // InternalApplicationConfiguration.g:644:3: ( rule__FolderEntry__Group__0 ) - // InternalApplicationConfiguration.g:644:4: rule__FolderEntry__Group__0 - { - pushFollow(FOLLOW_2); - rule__FolderEntry__Group__0(); - - state._fsp--; - - - } - - after(grammarAccess.getFolderEntryAccess().getGroup()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "ruleFolderEntry" - - - // $ANTLR start "entryRulePartialModelDeclaration" - // InternalApplicationConfiguration.g:653:1: entryRulePartialModelDeclaration : rulePartialModelDeclaration EOF ; - public final void entryRulePartialModelDeclaration() throws RecognitionException { - try { - // InternalApplicationConfiguration.g:654:1: ( rulePartialModelDeclaration EOF ) - // InternalApplicationConfiguration.g:655:1: rulePartialModelDeclaration EOF - { - before(grammarAccess.getPartialModelDeclarationRule()); - pushFollow(FOLLOW_1); - rulePartialModelDeclaration(); - - state._fsp--; - - after(grammarAccess.getPartialModelDeclarationRule()); - match(input,EOF,FOLLOW_2); - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRulePartialModelDeclaration" - - - // $ANTLR start "rulePartialModelDeclaration" - // InternalApplicationConfiguration.g:662:1: rulePartialModelDeclaration : ( ( rule__PartialModelDeclaration__Group__0 ) ) ; - public final void rulePartialModelDeclaration() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:666:2: ( ( ( rule__PartialModelDeclaration__Group__0 ) ) ) - // InternalApplicationConfiguration.g:667:2: ( ( rule__PartialModelDeclaration__Group__0 ) ) - { - // InternalApplicationConfiguration.g:667:2: ( ( rule__PartialModelDeclaration__Group__0 ) ) - // InternalApplicationConfiguration.g:668:3: ( rule__PartialModelDeclaration__Group__0 ) - { - before(grammarAccess.getPartialModelDeclarationAccess().getGroup()); - // InternalApplicationConfiguration.g:669:3: ( rule__PartialModelDeclaration__Group__0 ) - // InternalApplicationConfiguration.g:669:4: rule__PartialModelDeclaration__Group__0 - { - pushFollow(FOLLOW_2); - rule__PartialModelDeclaration__Group__0(); - - state._fsp--; - - - } - - after(grammarAccess.getPartialModelDeclarationAccess().getGroup()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rulePartialModelDeclaration" - - - // $ANTLR start "entryRulePartialModelReference" - // InternalApplicationConfiguration.g:678:1: entryRulePartialModelReference : rulePartialModelReference EOF ; - public final void entryRulePartialModelReference() throws RecognitionException { - try { - // InternalApplicationConfiguration.g:679:1: ( rulePartialModelReference EOF ) - // InternalApplicationConfiguration.g:680:1: rulePartialModelReference EOF - { - before(grammarAccess.getPartialModelReferenceRule()); - pushFollow(FOLLOW_1); - rulePartialModelReference(); - - state._fsp--; - - after(grammarAccess.getPartialModelReferenceRule()); - match(input,EOF,FOLLOW_2); - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRulePartialModelReference" - - - // $ANTLR start "rulePartialModelReference" - // InternalApplicationConfiguration.g:687:1: rulePartialModelReference : ( ( rule__PartialModelReference__ReferredAssignment ) ) ; - public final void rulePartialModelReference() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:691:2: ( ( ( rule__PartialModelReference__ReferredAssignment ) ) ) - // InternalApplicationConfiguration.g:692:2: ( ( rule__PartialModelReference__ReferredAssignment ) ) - { - // InternalApplicationConfiguration.g:692:2: ( ( rule__PartialModelReference__ReferredAssignment ) ) - // InternalApplicationConfiguration.g:693:3: ( rule__PartialModelReference__ReferredAssignment ) - { - before(grammarAccess.getPartialModelReferenceAccess().getReferredAssignment()); - // InternalApplicationConfiguration.g:694:3: ( rule__PartialModelReference__ReferredAssignment ) - // InternalApplicationConfiguration.g:694:4: rule__PartialModelReference__ReferredAssignment - { - pushFollow(FOLLOW_2); - rule__PartialModelReference__ReferredAssignment(); - - state._fsp--; - - - } - - after(grammarAccess.getPartialModelReferenceAccess().getReferredAssignment()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rulePartialModelReference" - - - // $ANTLR start "entryRulePartialModel" - // InternalApplicationConfiguration.g:703:1: entryRulePartialModel : rulePartialModel EOF ; - public final void entryRulePartialModel() throws RecognitionException { - try { - // InternalApplicationConfiguration.g:704:1: ( rulePartialModel EOF ) - // InternalApplicationConfiguration.g:705:1: rulePartialModel EOF - { - before(grammarAccess.getPartialModelRule()); - pushFollow(FOLLOW_1); - rulePartialModel(); - - state._fsp--; - - after(grammarAccess.getPartialModelRule()); - match(input,EOF,FOLLOW_2); - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRulePartialModel" - - - // $ANTLR start "rulePartialModel" - // InternalApplicationConfiguration.g:712:1: rulePartialModel : ( ( rule__PartialModel__Alternatives ) ) ; - public final void rulePartialModel() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:716:2: ( ( ( rule__PartialModel__Alternatives ) ) ) - // InternalApplicationConfiguration.g:717:2: ( ( rule__PartialModel__Alternatives ) ) - { - // InternalApplicationConfiguration.g:717:2: ( ( rule__PartialModel__Alternatives ) ) - // InternalApplicationConfiguration.g:718:3: ( rule__PartialModel__Alternatives ) - { - before(grammarAccess.getPartialModelAccess().getAlternatives()); - // InternalApplicationConfiguration.g:719:3: ( rule__PartialModel__Alternatives ) - // InternalApplicationConfiguration.g:719:4: rule__PartialModel__Alternatives - { - pushFollow(FOLLOW_2); - rule__PartialModel__Alternatives(); - - state._fsp--; - - - } - - after(grammarAccess.getPartialModelAccess().getAlternatives()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rulePartialModel" - - - // $ANTLR start "entryRulePatternSpecification" - // InternalApplicationConfiguration.g:728:1: entryRulePatternSpecification : rulePatternSpecification EOF ; - public final void entryRulePatternSpecification() throws RecognitionException { - try { - // InternalApplicationConfiguration.g:729:1: ( rulePatternSpecification EOF ) - // InternalApplicationConfiguration.g:730:1: rulePatternSpecification EOF - { - before(grammarAccess.getPatternSpecificationRule()); - pushFollow(FOLLOW_1); - rulePatternSpecification(); - - state._fsp--; - - after(grammarAccess.getPatternSpecificationRule()); - match(input,EOF,FOLLOW_2); - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRulePatternSpecification" - - - // $ANTLR start "rulePatternSpecification" - // InternalApplicationConfiguration.g:737:1: rulePatternSpecification : ( ( rule__PatternSpecification__Group__0 ) ) ; - public final void rulePatternSpecification() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:741:2: ( ( ( rule__PatternSpecification__Group__0 ) ) ) - // InternalApplicationConfiguration.g:742:2: ( ( rule__PatternSpecification__Group__0 ) ) - { - // InternalApplicationConfiguration.g:742:2: ( ( rule__PatternSpecification__Group__0 ) ) - // InternalApplicationConfiguration.g:743:3: ( rule__PatternSpecification__Group__0 ) - { - before(grammarAccess.getPatternSpecificationAccess().getGroup()); - // InternalApplicationConfiguration.g:744:3: ( rule__PatternSpecification__Group__0 ) - // InternalApplicationConfiguration.g:744:4: rule__PatternSpecification__Group__0 - { - pushFollow(FOLLOW_2); - rule__PatternSpecification__Group__0(); - - state._fsp--; - - - } - - after(grammarAccess.getPatternSpecificationAccess().getGroup()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rulePatternSpecification" - - - // $ANTLR start "entryRulePatternEntry" - // InternalApplicationConfiguration.g:753:1: entryRulePatternEntry : rulePatternEntry EOF ; - public final void entryRulePatternEntry() throws RecognitionException { - try { - // InternalApplicationConfiguration.g:754:1: ( rulePatternEntry EOF ) - // InternalApplicationConfiguration.g:755:1: rulePatternEntry EOF - { - before(grammarAccess.getPatternEntryRule()); - pushFollow(FOLLOW_1); - rulePatternEntry(); - - state._fsp--; - - after(grammarAccess.getPatternEntryRule()); - match(input,EOF,FOLLOW_2); - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRulePatternEntry" - - - // $ANTLR start "rulePatternEntry" - // InternalApplicationConfiguration.g:762:1: rulePatternEntry : ( ( rule__PatternEntry__Alternatives ) ) ; - public final void rulePatternEntry() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:766:2: ( ( ( rule__PatternEntry__Alternatives ) ) ) - // InternalApplicationConfiguration.g:767:2: ( ( rule__PatternEntry__Alternatives ) ) - { - // InternalApplicationConfiguration.g:767:2: ( ( rule__PatternEntry__Alternatives ) ) - // InternalApplicationConfiguration.g:768:3: ( rule__PatternEntry__Alternatives ) - { - before(grammarAccess.getPatternEntryAccess().getAlternatives()); - // InternalApplicationConfiguration.g:769:3: ( rule__PatternEntry__Alternatives ) - // InternalApplicationConfiguration.g:769:4: rule__PatternEntry__Alternatives - { - pushFollow(FOLLOW_2); - rule__PatternEntry__Alternatives(); - - state._fsp--; - - - } - - after(grammarAccess.getPatternEntryAccess().getAlternatives()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rulePatternEntry" - - - // $ANTLR start "entryRuleAllPatternEntry" - // InternalApplicationConfiguration.g:778:1: entryRuleAllPatternEntry : ruleAllPatternEntry EOF ; - public final void entryRuleAllPatternEntry() throws RecognitionException { - try { - // InternalApplicationConfiguration.g:779:1: ( ruleAllPatternEntry EOF ) - // InternalApplicationConfiguration.g:780:1: ruleAllPatternEntry EOF - { - before(grammarAccess.getAllPatternEntryRule()); - pushFollow(FOLLOW_1); - ruleAllPatternEntry(); - - state._fsp--; - - after(grammarAccess.getAllPatternEntryRule()); - match(input,EOF,FOLLOW_2); - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRuleAllPatternEntry" - - - // $ANTLR start "ruleAllPatternEntry" - // InternalApplicationConfiguration.g:787:1: ruleAllPatternEntry : ( ( rule__AllPatternEntry__Group__0 ) ) ; - public final void ruleAllPatternEntry() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:791:2: ( ( ( rule__AllPatternEntry__Group__0 ) ) ) - // InternalApplicationConfiguration.g:792:2: ( ( rule__AllPatternEntry__Group__0 ) ) - { - // InternalApplicationConfiguration.g:792:2: ( ( rule__AllPatternEntry__Group__0 ) ) - // InternalApplicationConfiguration.g:793:3: ( rule__AllPatternEntry__Group__0 ) - { - before(grammarAccess.getAllPatternEntryAccess().getGroup()); - // InternalApplicationConfiguration.g:794:3: ( rule__AllPatternEntry__Group__0 ) - // InternalApplicationConfiguration.g:794:4: rule__AllPatternEntry__Group__0 - { - pushFollow(FOLLOW_2); - rule__AllPatternEntry__Group__0(); - - state._fsp--; - - - } - - after(grammarAccess.getAllPatternEntryAccess().getGroup()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "ruleAllPatternEntry" - - - // $ANTLR start "entryRulePatternElement" - // InternalApplicationConfiguration.g:803:1: entryRulePatternElement : rulePatternElement EOF ; - public final void entryRulePatternElement() throws RecognitionException { - try { - // InternalApplicationConfiguration.g:804:1: ( rulePatternElement EOF ) - // InternalApplicationConfiguration.g:805:1: rulePatternElement EOF - { - before(grammarAccess.getPatternElementRule()); - pushFollow(FOLLOW_1); - rulePatternElement(); - - state._fsp--; - - after(grammarAccess.getPatternElementRule()); - match(input,EOF,FOLLOW_2); - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRulePatternElement" - - - // $ANTLR start "rulePatternElement" - // InternalApplicationConfiguration.g:812:1: rulePatternElement : ( ( rule__PatternElement__Group__0 ) ) ; - public final void rulePatternElement() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:816:2: ( ( ( rule__PatternElement__Group__0 ) ) ) - // InternalApplicationConfiguration.g:817:2: ( ( rule__PatternElement__Group__0 ) ) - { - // InternalApplicationConfiguration.g:817:2: ( ( rule__PatternElement__Group__0 ) ) - // InternalApplicationConfiguration.g:818:3: ( rule__PatternElement__Group__0 ) - { - before(grammarAccess.getPatternElementAccess().getGroup()); - // InternalApplicationConfiguration.g:819:3: ( rule__PatternElement__Group__0 ) - // InternalApplicationConfiguration.g:819:4: rule__PatternElement__Group__0 - { - pushFollow(FOLLOW_2); - rule__PatternElement__Group__0(); - - state._fsp--; - - - } - - after(grammarAccess.getPatternElementAccess().getGroup()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rulePatternElement" - - - // $ANTLR start "entryRuleGraphPatternDeclaration" - // InternalApplicationConfiguration.g:828:1: entryRuleGraphPatternDeclaration : ruleGraphPatternDeclaration EOF ; - public final void entryRuleGraphPatternDeclaration() throws RecognitionException { - try { - // InternalApplicationConfiguration.g:829:1: ( ruleGraphPatternDeclaration EOF ) - // InternalApplicationConfiguration.g:830:1: ruleGraphPatternDeclaration EOF - { - before(grammarAccess.getGraphPatternDeclarationRule()); - pushFollow(FOLLOW_1); - ruleGraphPatternDeclaration(); - - state._fsp--; - - after(grammarAccess.getGraphPatternDeclarationRule()); - match(input,EOF,FOLLOW_2); - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRuleGraphPatternDeclaration" - - - // $ANTLR start "ruleGraphPatternDeclaration" - // InternalApplicationConfiguration.g:837:1: ruleGraphPatternDeclaration : ( ( rule__GraphPatternDeclaration__Group__0 ) ) ; - public final void ruleGraphPatternDeclaration() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:841:2: ( ( ( rule__GraphPatternDeclaration__Group__0 ) ) ) - // InternalApplicationConfiguration.g:842:2: ( ( rule__GraphPatternDeclaration__Group__0 ) ) - { - // InternalApplicationConfiguration.g:842:2: ( ( rule__GraphPatternDeclaration__Group__0 ) ) - // InternalApplicationConfiguration.g:843:3: ( rule__GraphPatternDeclaration__Group__0 ) - { - before(grammarAccess.getGraphPatternDeclarationAccess().getGroup()); - // InternalApplicationConfiguration.g:844:3: ( rule__GraphPatternDeclaration__Group__0 ) - // InternalApplicationConfiguration.g:844:4: rule__GraphPatternDeclaration__Group__0 - { - pushFollow(FOLLOW_2); - rule__GraphPatternDeclaration__Group__0(); - - state._fsp--; - - - } - - after(grammarAccess.getGraphPatternDeclarationAccess().getGroup()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "ruleGraphPatternDeclaration" - - - // $ANTLR start "entryRuleGraphPatternReference" - // InternalApplicationConfiguration.g:853:1: entryRuleGraphPatternReference : ruleGraphPatternReference EOF ; - public final void entryRuleGraphPatternReference() throws RecognitionException { - try { - // InternalApplicationConfiguration.g:854:1: ( ruleGraphPatternReference EOF ) - // InternalApplicationConfiguration.g:855:1: ruleGraphPatternReference EOF - { - before(grammarAccess.getGraphPatternReferenceRule()); - pushFollow(FOLLOW_1); - ruleGraphPatternReference(); - - state._fsp--; - - after(grammarAccess.getGraphPatternReferenceRule()); - match(input,EOF,FOLLOW_2); - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRuleGraphPatternReference" - - - // $ANTLR start "ruleGraphPatternReference" - // InternalApplicationConfiguration.g:862:1: ruleGraphPatternReference : ( ( rule__GraphPatternReference__ReferredAssignment ) ) ; - public final void ruleGraphPatternReference() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:866:2: ( ( ( rule__GraphPatternReference__ReferredAssignment ) ) ) - // InternalApplicationConfiguration.g:867:2: ( ( rule__GraphPatternReference__ReferredAssignment ) ) - { - // InternalApplicationConfiguration.g:867:2: ( ( rule__GraphPatternReference__ReferredAssignment ) ) - // InternalApplicationConfiguration.g:868:3: ( rule__GraphPatternReference__ReferredAssignment ) - { - before(grammarAccess.getGraphPatternReferenceAccess().getReferredAssignment()); - // InternalApplicationConfiguration.g:869:3: ( rule__GraphPatternReference__ReferredAssignment ) - // InternalApplicationConfiguration.g:869:4: rule__GraphPatternReference__ReferredAssignment - { - pushFollow(FOLLOW_2); - rule__GraphPatternReference__ReferredAssignment(); - - state._fsp--; - - - } - - after(grammarAccess.getGraphPatternReferenceAccess().getReferredAssignment()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "ruleGraphPatternReference" - - - // $ANTLR start "entryRuleGraphPattern" - // InternalApplicationConfiguration.g:878:1: entryRuleGraphPattern : ruleGraphPattern EOF ; - public final void entryRuleGraphPattern() throws RecognitionException { - try { - // InternalApplicationConfiguration.g:879:1: ( ruleGraphPattern EOF ) - // InternalApplicationConfiguration.g:880:1: ruleGraphPattern EOF - { - before(grammarAccess.getGraphPatternRule()); - pushFollow(FOLLOW_1); - ruleGraphPattern(); - - state._fsp--; - - after(grammarAccess.getGraphPatternRule()); - match(input,EOF,FOLLOW_2); - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRuleGraphPattern" - - - // $ANTLR start "ruleGraphPattern" - // InternalApplicationConfiguration.g:887:1: ruleGraphPattern : ( ( rule__GraphPattern__Alternatives ) ) ; - public final void ruleGraphPattern() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:891:2: ( ( ( rule__GraphPattern__Alternatives ) ) ) - // InternalApplicationConfiguration.g:892:2: ( ( rule__GraphPattern__Alternatives ) ) - { - // InternalApplicationConfiguration.g:892:2: ( ( rule__GraphPattern__Alternatives ) ) - // InternalApplicationConfiguration.g:893:3: ( rule__GraphPattern__Alternatives ) - { - before(grammarAccess.getGraphPatternAccess().getAlternatives()); - // InternalApplicationConfiguration.g:894:3: ( rule__GraphPattern__Alternatives ) - // InternalApplicationConfiguration.g:894:4: rule__GraphPattern__Alternatives - { - pushFollow(FOLLOW_2); - rule__GraphPattern__Alternatives(); - - state._fsp--; - - - } - - after(grammarAccess.getGraphPatternAccess().getAlternatives()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "ruleGraphPattern" - - - // $ANTLR start "entryRuleConfigSpecification" - // InternalApplicationConfiguration.g:903:1: entryRuleConfigSpecification : ruleConfigSpecification EOF ; - public final void entryRuleConfigSpecification() throws RecognitionException { - try { - // InternalApplicationConfiguration.g:904:1: ( ruleConfigSpecification EOF ) - // InternalApplicationConfiguration.g:905:1: ruleConfigSpecification EOF - { - before(grammarAccess.getConfigSpecificationRule()); - pushFollow(FOLLOW_1); - ruleConfigSpecification(); - - state._fsp--; - - after(grammarAccess.getConfigSpecificationRule()); - match(input,EOF,FOLLOW_2); - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRuleConfigSpecification" - - - // $ANTLR start "ruleConfigSpecification" - // InternalApplicationConfiguration.g:912:1: ruleConfigSpecification : ( ( rule__ConfigSpecification__Group__0 ) ) ; - public final void ruleConfigSpecification() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:916:2: ( ( ( rule__ConfigSpecification__Group__0 ) ) ) - // InternalApplicationConfiguration.g:917:2: ( ( rule__ConfigSpecification__Group__0 ) ) - { - // InternalApplicationConfiguration.g:917:2: ( ( rule__ConfigSpecification__Group__0 ) ) - // InternalApplicationConfiguration.g:918:3: ( rule__ConfigSpecification__Group__0 ) - { - before(grammarAccess.getConfigSpecificationAccess().getGroup()); - // InternalApplicationConfiguration.g:919:3: ( rule__ConfigSpecification__Group__0 ) - // InternalApplicationConfiguration.g:919:4: rule__ConfigSpecification__Group__0 - { - pushFollow(FOLLOW_2); - rule__ConfigSpecification__Group__0(); - - state._fsp--; - - - } - - after(grammarAccess.getConfigSpecificationAccess().getGroup()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "ruleConfigSpecification" - - - // $ANTLR start "entryRuleConfigDeclaration" - // InternalApplicationConfiguration.g:928:1: entryRuleConfigDeclaration : ruleConfigDeclaration EOF ; - public final void entryRuleConfigDeclaration() throws RecognitionException { - try { - // InternalApplicationConfiguration.g:929:1: ( ruleConfigDeclaration EOF ) - // InternalApplicationConfiguration.g:930:1: ruleConfigDeclaration EOF - { - before(grammarAccess.getConfigDeclarationRule()); - pushFollow(FOLLOW_1); - ruleConfigDeclaration(); - - state._fsp--; - - after(grammarAccess.getConfigDeclarationRule()); - match(input,EOF,FOLLOW_2); - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRuleConfigDeclaration" - - - // $ANTLR start "ruleConfigDeclaration" - // InternalApplicationConfiguration.g:937:1: ruleConfigDeclaration : ( ( rule__ConfigDeclaration__Group__0 ) ) ; - public final void ruleConfigDeclaration() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:941:2: ( ( ( rule__ConfigDeclaration__Group__0 ) ) ) - // InternalApplicationConfiguration.g:942:2: ( ( rule__ConfigDeclaration__Group__0 ) ) - { - // InternalApplicationConfiguration.g:942:2: ( ( rule__ConfigDeclaration__Group__0 ) ) - // InternalApplicationConfiguration.g:943:3: ( rule__ConfigDeclaration__Group__0 ) - { - before(grammarAccess.getConfigDeclarationAccess().getGroup()); - // InternalApplicationConfiguration.g:944:3: ( rule__ConfigDeclaration__Group__0 ) - // InternalApplicationConfiguration.g:944:4: rule__ConfigDeclaration__Group__0 - { - pushFollow(FOLLOW_2); - rule__ConfigDeclaration__Group__0(); - - state._fsp--; - - - } - - after(grammarAccess.getConfigDeclarationAccess().getGroup()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "ruleConfigDeclaration" - - - // $ANTLR start "entryRuleConfigEntry" - // InternalApplicationConfiguration.g:953:1: entryRuleConfigEntry : ruleConfigEntry EOF ; - public final void entryRuleConfigEntry() throws RecognitionException { - try { - // InternalApplicationConfiguration.g:954:1: ( ruleConfigEntry EOF ) - // InternalApplicationConfiguration.g:955:1: ruleConfigEntry EOF - { - before(grammarAccess.getConfigEntryRule()); - pushFollow(FOLLOW_1); - ruleConfigEntry(); - - state._fsp--; - - after(grammarAccess.getConfigEntryRule()); - match(input,EOF,FOLLOW_2); - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRuleConfigEntry" - - - // $ANTLR start "ruleConfigEntry" - // InternalApplicationConfiguration.g:962:1: ruleConfigEntry : ( ( rule__ConfigEntry__Alternatives ) ) ; - public final void ruleConfigEntry() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:966:2: ( ( ( rule__ConfigEntry__Alternatives ) ) ) - // InternalApplicationConfiguration.g:967:2: ( ( rule__ConfigEntry__Alternatives ) ) - { - // InternalApplicationConfiguration.g:967:2: ( ( rule__ConfigEntry__Alternatives ) ) - // InternalApplicationConfiguration.g:968:3: ( rule__ConfigEntry__Alternatives ) - { - before(grammarAccess.getConfigEntryAccess().getAlternatives()); - // InternalApplicationConfiguration.g:969:3: ( rule__ConfigEntry__Alternatives ) - // InternalApplicationConfiguration.g:969:4: rule__ConfigEntry__Alternatives - { - pushFollow(FOLLOW_2); - rule__ConfigEntry__Alternatives(); - - state._fsp--; - - - } - - after(grammarAccess.getConfigEntryAccess().getAlternatives()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "ruleConfigEntry" - - - // $ANTLR start "entryRuleDocumentationEntry" - // InternalApplicationConfiguration.g:978:1: entryRuleDocumentationEntry : ruleDocumentationEntry EOF ; - public final void entryRuleDocumentationEntry() throws RecognitionException { - try { - // InternalApplicationConfiguration.g:979:1: ( ruleDocumentationEntry EOF ) - // InternalApplicationConfiguration.g:980:1: ruleDocumentationEntry EOF - { - before(grammarAccess.getDocumentationEntryRule()); - pushFollow(FOLLOW_1); - ruleDocumentationEntry(); - - state._fsp--; - - after(grammarAccess.getDocumentationEntryRule()); - match(input,EOF,FOLLOW_2); - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRuleDocumentationEntry" - - - // $ANTLR start "ruleDocumentationEntry" - // InternalApplicationConfiguration.g:987:1: ruleDocumentationEntry : ( ( rule__DocumentationEntry__Group__0 ) ) ; - public final void ruleDocumentationEntry() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:991:2: ( ( ( rule__DocumentationEntry__Group__0 ) ) ) - // InternalApplicationConfiguration.g:992:2: ( ( rule__DocumentationEntry__Group__0 ) ) - { - // InternalApplicationConfiguration.g:992:2: ( ( rule__DocumentationEntry__Group__0 ) ) - // InternalApplicationConfiguration.g:993:3: ( rule__DocumentationEntry__Group__0 ) - { - before(grammarAccess.getDocumentationEntryAccess().getGroup()); - // InternalApplicationConfiguration.g:994:3: ( rule__DocumentationEntry__Group__0 ) - // InternalApplicationConfiguration.g:994:4: rule__DocumentationEntry__Group__0 - { - pushFollow(FOLLOW_2); - rule__DocumentationEntry__Group__0(); - - state._fsp--; - - - } - - after(grammarAccess.getDocumentationEntryAccess().getGroup()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "ruleDocumentationEntry" - - - // $ANTLR start "entryRuleRuntimeEntry" - // InternalApplicationConfiguration.g:1003:1: entryRuleRuntimeEntry : ruleRuntimeEntry EOF ; - public final void entryRuleRuntimeEntry() throws RecognitionException { - try { - // InternalApplicationConfiguration.g:1004:1: ( ruleRuntimeEntry EOF ) - // InternalApplicationConfiguration.g:1005:1: ruleRuntimeEntry EOF - { - before(grammarAccess.getRuntimeEntryRule()); - pushFollow(FOLLOW_1); - ruleRuntimeEntry(); - - state._fsp--; - - after(grammarAccess.getRuntimeEntryRule()); - match(input,EOF,FOLLOW_2); - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRuleRuntimeEntry" - - - // $ANTLR start "ruleRuntimeEntry" - // InternalApplicationConfiguration.g:1012:1: ruleRuntimeEntry : ( ( rule__RuntimeEntry__Group__0 ) ) ; - public final void ruleRuntimeEntry() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:1016:2: ( ( ( rule__RuntimeEntry__Group__0 ) ) ) - // InternalApplicationConfiguration.g:1017:2: ( ( rule__RuntimeEntry__Group__0 ) ) - { - // InternalApplicationConfiguration.g:1017:2: ( ( rule__RuntimeEntry__Group__0 ) ) - // InternalApplicationConfiguration.g:1018:3: ( rule__RuntimeEntry__Group__0 ) - { - before(grammarAccess.getRuntimeEntryAccess().getGroup()); - // InternalApplicationConfiguration.g:1019:3: ( rule__RuntimeEntry__Group__0 ) - // InternalApplicationConfiguration.g:1019:4: rule__RuntimeEntry__Group__0 - { - pushFollow(FOLLOW_2); - rule__RuntimeEntry__Group__0(); - - state._fsp--; - - - } - - after(grammarAccess.getRuntimeEntryAccess().getGroup()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "ruleRuntimeEntry" - - - // $ANTLR start "entryRuleMemoryEntry" - // InternalApplicationConfiguration.g:1028:1: entryRuleMemoryEntry : ruleMemoryEntry EOF ; - public final void entryRuleMemoryEntry() throws RecognitionException { - try { - // InternalApplicationConfiguration.g:1029:1: ( ruleMemoryEntry EOF ) - // InternalApplicationConfiguration.g:1030:1: ruleMemoryEntry EOF - { - before(grammarAccess.getMemoryEntryRule()); - pushFollow(FOLLOW_1); - ruleMemoryEntry(); - - state._fsp--; - - after(grammarAccess.getMemoryEntryRule()); - match(input,EOF,FOLLOW_2); - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRuleMemoryEntry" - - - // $ANTLR start "ruleMemoryEntry" - // InternalApplicationConfiguration.g:1037:1: ruleMemoryEntry : ( ( rule__MemoryEntry__Group__0 ) ) ; - public final void ruleMemoryEntry() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:1041:2: ( ( ( rule__MemoryEntry__Group__0 ) ) ) - // InternalApplicationConfiguration.g:1042:2: ( ( rule__MemoryEntry__Group__0 ) ) - { - // InternalApplicationConfiguration.g:1042:2: ( ( rule__MemoryEntry__Group__0 ) ) - // InternalApplicationConfiguration.g:1043:3: ( rule__MemoryEntry__Group__0 ) - { - before(grammarAccess.getMemoryEntryAccess().getGroup()); - // InternalApplicationConfiguration.g:1044:3: ( rule__MemoryEntry__Group__0 ) - // InternalApplicationConfiguration.g:1044:4: rule__MemoryEntry__Group__0 - { - pushFollow(FOLLOW_2); - rule__MemoryEntry__Group__0(); - - state._fsp--; - - - } - - after(grammarAccess.getMemoryEntryAccess().getGroup()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "ruleMemoryEntry" - - - // $ANTLR start "entryRuleCustomEntry" - // InternalApplicationConfiguration.g:1053:1: entryRuleCustomEntry : ruleCustomEntry EOF ; - public final void entryRuleCustomEntry() throws RecognitionException { - try { - // InternalApplicationConfiguration.g:1054:1: ( ruleCustomEntry EOF ) - // InternalApplicationConfiguration.g:1055:1: ruleCustomEntry EOF - { - before(grammarAccess.getCustomEntryRule()); - pushFollow(FOLLOW_1); - ruleCustomEntry(); - - state._fsp--; - - after(grammarAccess.getCustomEntryRule()); - match(input,EOF,FOLLOW_2); - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRuleCustomEntry" - - - // $ANTLR start "ruleCustomEntry" - // InternalApplicationConfiguration.g:1062:1: ruleCustomEntry : ( ( rule__CustomEntry__Group__0 ) ) ; - public final void ruleCustomEntry() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:1066:2: ( ( ( rule__CustomEntry__Group__0 ) ) ) - // InternalApplicationConfiguration.g:1067:2: ( ( rule__CustomEntry__Group__0 ) ) - { - // InternalApplicationConfiguration.g:1067:2: ( ( rule__CustomEntry__Group__0 ) ) - // InternalApplicationConfiguration.g:1068:3: ( rule__CustomEntry__Group__0 ) - { - before(grammarAccess.getCustomEntryAccess().getGroup()); - // InternalApplicationConfiguration.g:1069:3: ( rule__CustomEntry__Group__0 ) - // InternalApplicationConfiguration.g:1069:4: rule__CustomEntry__Group__0 - { - pushFollow(FOLLOW_2); - rule__CustomEntry__Group__0(); - - state._fsp--; - - - } - - after(grammarAccess.getCustomEntryAccess().getGroup()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "ruleCustomEntry" - - - // $ANTLR start "entryRuleConfigReference" - // InternalApplicationConfiguration.g:1078:1: entryRuleConfigReference : ruleConfigReference EOF ; - public final void entryRuleConfigReference() throws RecognitionException { - try { - // InternalApplicationConfiguration.g:1079:1: ( ruleConfigReference EOF ) - // InternalApplicationConfiguration.g:1080:1: ruleConfigReference EOF - { - before(grammarAccess.getConfigReferenceRule()); - pushFollow(FOLLOW_1); - ruleConfigReference(); - - state._fsp--; - - after(grammarAccess.getConfigReferenceRule()); - match(input,EOF,FOLLOW_2); - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRuleConfigReference" - - - // $ANTLR start "ruleConfigReference" - // InternalApplicationConfiguration.g:1087:1: ruleConfigReference : ( ( rule__ConfigReference__ConfigAssignment ) ) ; - public final void ruleConfigReference() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:1091:2: ( ( ( rule__ConfigReference__ConfigAssignment ) ) ) - // InternalApplicationConfiguration.g:1092:2: ( ( rule__ConfigReference__ConfigAssignment ) ) - { - // InternalApplicationConfiguration.g:1092:2: ( ( rule__ConfigReference__ConfigAssignment ) ) - // InternalApplicationConfiguration.g:1093:3: ( rule__ConfigReference__ConfigAssignment ) - { - before(grammarAccess.getConfigReferenceAccess().getConfigAssignment()); - // InternalApplicationConfiguration.g:1094:3: ( rule__ConfigReference__ConfigAssignment ) - // InternalApplicationConfiguration.g:1094:4: rule__ConfigReference__ConfigAssignment - { - pushFollow(FOLLOW_2); - rule__ConfigReference__ConfigAssignment(); - - state._fsp--; - - - } - - after(grammarAccess.getConfigReferenceAccess().getConfigAssignment()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "ruleConfigReference" - - - // $ANTLR start "entryRuleConfig" - // InternalApplicationConfiguration.g:1103:1: entryRuleConfig : ruleConfig EOF ; - public final void entryRuleConfig() throws RecognitionException { - try { - // InternalApplicationConfiguration.g:1104:1: ( ruleConfig EOF ) - // InternalApplicationConfiguration.g:1105:1: ruleConfig EOF - { - before(grammarAccess.getConfigRule()); - pushFollow(FOLLOW_1); - ruleConfig(); - - state._fsp--; - - after(grammarAccess.getConfigRule()); - match(input,EOF,FOLLOW_2); - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRuleConfig" - - - // $ANTLR start "ruleConfig" - // InternalApplicationConfiguration.g:1112:1: ruleConfig : ( ( rule__Config__Alternatives ) ) ; - public final void ruleConfig() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:1116:2: ( ( ( rule__Config__Alternatives ) ) ) - // InternalApplicationConfiguration.g:1117:2: ( ( rule__Config__Alternatives ) ) - { - // InternalApplicationConfiguration.g:1117:2: ( ( rule__Config__Alternatives ) ) - // InternalApplicationConfiguration.g:1118:3: ( rule__Config__Alternatives ) - { - before(grammarAccess.getConfigAccess().getAlternatives()); - // InternalApplicationConfiguration.g:1119:3: ( rule__Config__Alternatives ) - // InternalApplicationConfiguration.g:1119:4: rule__Config__Alternatives - { - pushFollow(FOLLOW_2); - rule__Config__Alternatives(); - - state._fsp--; - - - } - - after(grammarAccess.getConfigAccess().getAlternatives()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "ruleConfig" - - - // $ANTLR start "entryRuleScopeSpecification" - // InternalApplicationConfiguration.g:1128:1: entryRuleScopeSpecification : ruleScopeSpecification EOF ; - public final void entryRuleScopeSpecification() throws RecognitionException { - try { - // InternalApplicationConfiguration.g:1129:1: ( ruleScopeSpecification EOF ) - // InternalApplicationConfiguration.g:1130:1: ruleScopeSpecification EOF - { - before(grammarAccess.getScopeSpecificationRule()); - pushFollow(FOLLOW_1); - ruleScopeSpecification(); - - state._fsp--; - - after(grammarAccess.getScopeSpecificationRule()); - match(input,EOF,FOLLOW_2); - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRuleScopeSpecification" - - - // $ANTLR start "ruleScopeSpecification" - // InternalApplicationConfiguration.g:1137:1: ruleScopeSpecification : ( ( rule__ScopeSpecification__Group__0 ) ) ; - public final void ruleScopeSpecification() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:1141:2: ( ( ( rule__ScopeSpecification__Group__0 ) ) ) - // InternalApplicationConfiguration.g:1142:2: ( ( rule__ScopeSpecification__Group__0 ) ) - { - // InternalApplicationConfiguration.g:1142:2: ( ( rule__ScopeSpecification__Group__0 ) ) - // InternalApplicationConfiguration.g:1143:3: ( rule__ScopeSpecification__Group__0 ) - { - before(grammarAccess.getScopeSpecificationAccess().getGroup()); - // InternalApplicationConfiguration.g:1144:3: ( rule__ScopeSpecification__Group__0 ) - // InternalApplicationConfiguration.g:1144:4: rule__ScopeSpecification__Group__0 - { - pushFollow(FOLLOW_2); - rule__ScopeSpecification__Group__0(); - - state._fsp--; - - - } - - after(grammarAccess.getScopeSpecificationAccess().getGroup()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "ruleScopeSpecification" - - - // $ANTLR start "entryRuleTypeScope" - // InternalApplicationConfiguration.g:1153:1: entryRuleTypeScope : ruleTypeScope EOF ; - public final void entryRuleTypeScope() throws RecognitionException { - try { - // InternalApplicationConfiguration.g:1154:1: ( ruleTypeScope EOF ) - // InternalApplicationConfiguration.g:1155:1: ruleTypeScope EOF - { - before(grammarAccess.getTypeScopeRule()); - pushFollow(FOLLOW_1); - ruleTypeScope(); - - state._fsp--; - - after(grammarAccess.getTypeScopeRule()); - match(input,EOF,FOLLOW_2); - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRuleTypeScope" - - - // $ANTLR start "ruleTypeScope" - // InternalApplicationConfiguration.g:1162:1: ruleTypeScope : ( ( rule__TypeScope__Alternatives ) ) ; - public final void ruleTypeScope() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:1166:2: ( ( ( rule__TypeScope__Alternatives ) ) ) - // InternalApplicationConfiguration.g:1167:2: ( ( rule__TypeScope__Alternatives ) ) - { - // InternalApplicationConfiguration.g:1167:2: ( ( rule__TypeScope__Alternatives ) ) - // InternalApplicationConfiguration.g:1168:3: ( rule__TypeScope__Alternatives ) - { - before(grammarAccess.getTypeScopeAccess().getAlternatives()); - // InternalApplicationConfiguration.g:1169:3: ( rule__TypeScope__Alternatives ) - // InternalApplicationConfiguration.g:1169:4: rule__TypeScope__Alternatives - { - pushFollow(FOLLOW_2); - rule__TypeScope__Alternatives(); - - state._fsp--; - - - } - - after(grammarAccess.getTypeScopeAccess().getAlternatives()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "ruleTypeScope" - - - // $ANTLR start "entryRuleClassTypeScope" - // InternalApplicationConfiguration.g:1178:1: entryRuleClassTypeScope : ruleClassTypeScope EOF ; - public final void entryRuleClassTypeScope() throws RecognitionException { - try { - // InternalApplicationConfiguration.g:1179:1: ( ruleClassTypeScope EOF ) - // InternalApplicationConfiguration.g:1180:1: ruleClassTypeScope EOF - { - before(grammarAccess.getClassTypeScopeRule()); - pushFollow(FOLLOW_1); - ruleClassTypeScope(); - - state._fsp--; - - after(grammarAccess.getClassTypeScopeRule()); - match(input,EOF,FOLLOW_2); - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRuleClassTypeScope" - - - // $ANTLR start "ruleClassTypeScope" - // InternalApplicationConfiguration.g:1187:1: ruleClassTypeScope : ( ( rule__ClassTypeScope__Group__0 ) ) ; - public final void ruleClassTypeScope() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:1191:2: ( ( ( rule__ClassTypeScope__Group__0 ) ) ) - // InternalApplicationConfiguration.g:1192:2: ( ( rule__ClassTypeScope__Group__0 ) ) - { - // InternalApplicationConfiguration.g:1192:2: ( ( rule__ClassTypeScope__Group__0 ) ) - // InternalApplicationConfiguration.g:1193:3: ( rule__ClassTypeScope__Group__0 ) - { - before(grammarAccess.getClassTypeScopeAccess().getGroup()); - // InternalApplicationConfiguration.g:1194:3: ( rule__ClassTypeScope__Group__0 ) - // InternalApplicationConfiguration.g:1194:4: rule__ClassTypeScope__Group__0 - { - pushFollow(FOLLOW_2); - rule__ClassTypeScope__Group__0(); - - state._fsp--; - - - } - - after(grammarAccess.getClassTypeScopeAccess().getGroup()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "ruleClassTypeScope" - - - // $ANTLR start "entryRuleObjectTypeScope" - // InternalApplicationConfiguration.g:1203:1: entryRuleObjectTypeScope : ruleObjectTypeScope EOF ; - public final void entryRuleObjectTypeScope() throws RecognitionException { - try { - // InternalApplicationConfiguration.g:1204:1: ( ruleObjectTypeScope EOF ) - // InternalApplicationConfiguration.g:1205:1: ruleObjectTypeScope EOF - { - before(grammarAccess.getObjectTypeScopeRule()); - pushFollow(FOLLOW_1); - ruleObjectTypeScope(); - - state._fsp--; - - after(grammarAccess.getObjectTypeScopeRule()); - match(input,EOF,FOLLOW_2); - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRuleObjectTypeScope" - - - // $ANTLR start "ruleObjectTypeScope" - // InternalApplicationConfiguration.g:1212:1: ruleObjectTypeScope : ( ( rule__ObjectTypeScope__Group__0 ) ) ; - public final void ruleObjectTypeScope() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:1216:2: ( ( ( rule__ObjectTypeScope__Group__0 ) ) ) - // InternalApplicationConfiguration.g:1217:2: ( ( rule__ObjectTypeScope__Group__0 ) ) - { - // InternalApplicationConfiguration.g:1217:2: ( ( rule__ObjectTypeScope__Group__0 ) ) - // InternalApplicationConfiguration.g:1218:3: ( rule__ObjectTypeScope__Group__0 ) - { - before(grammarAccess.getObjectTypeScopeAccess().getGroup()); - // InternalApplicationConfiguration.g:1219:3: ( rule__ObjectTypeScope__Group__0 ) - // InternalApplicationConfiguration.g:1219:4: rule__ObjectTypeScope__Group__0 - { - pushFollow(FOLLOW_2); - rule__ObjectTypeScope__Group__0(); - - state._fsp--; - - - } - - after(grammarAccess.getObjectTypeScopeAccess().getGroup()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "ruleObjectTypeScope" - - - // $ANTLR start "entryRuleIntegerTypeScope" - // InternalApplicationConfiguration.g:1228:1: entryRuleIntegerTypeScope : ruleIntegerTypeScope EOF ; - public final void entryRuleIntegerTypeScope() throws RecognitionException { - try { - // InternalApplicationConfiguration.g:1229:1: ( ruleIntegerTypeScope EOF ) - // InternalApplicationConfiguration.g:1230:1: ruleIntegerTypeScope EOF - { - before(grammarAccess.getIntegerTypeScopeRule()); - pushFollow(FOLLOW_1); - ruleIntegerTypeScope(); - - state._fsp--; - - after(grammarAccess.getIntegerTypeScopeRule()); - match(input,EOF,FOLLOW_2); - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRuleIntegerTypeScope" - - - // $ANTLR start "ruleIntegerTypeScope" - // InternalApplicationConfiguration.g:1237:1: ruleIntegerTypeScope : ( ( rule__IntegerTypeScope__Group__0 ) ) ; - public final void ruleIntegerTypeScope() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:1241:2: ( ( ( rule__IntegerTypeScope__Group__0 ) ) ) - // InternalApplicationConfiguration.g:1242:2: ( ( rule__IntegerTypeScope__Group__0 ) ) - { - // InternalApplicationConfiguration.g:1242:2: ( ( rule__IntegerTypeScope__Group__0 ) ) - // InternalApplicationConfiguration.g:1243:3: ( rule__IntegerTypeScope__Group__0 ) - { - before(grammarAccess.getIntegerTypeScopeAccess().getGroup()); - // InternalApplicationConfiguration.g:1244:3: ( rule__IntegerTypeScope__Group__0 ) - // InternalApplicationConfiguration.g:1244:4: rule__IntegerTypeScope__Group__0 - { - pushFollow(FOLLOW_2); - rule__IntegerTypeScope__Group__0(); - - state._fsp--; - - - } - - after(grammarAccess.getIntegerTypeScopeAccess().getGroup()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "ruleIntegerTypeScope" - - - // $ANTLR start "entryRuleRealTypeScope" - // InternalApplicationConfiguration.g:1253:1: entryRuleRealTypeScope : ruleRealTypeScope EOF ; - public final void entryRuleRealTypeScope() throws RecognitionException { - try { - // InternalApplicationConfiguration.g:1254:1: ( ruleRealTypeScope EOF ) - // InternalApplicationConfiguration.g:1255:1: ruleRealTypeScope EOF - { - before(grammarAccess.getRealTypeScopeRule()); - pushFollow(FOLLOW_1); - ruleRealTypeScope(); - - state._fsp--; - - after(grammarAccess.getRealTypeScopeRule()); - match(input,EOF,FOLLOW_2); - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRuleRealTypeScope" - - - // $ANTLR start "ruleRealTypeScope" - // InternalApplicationConfiguration.g:1262:1: ruleRealTypeScope : ( ( rule__RealTypeScope__Group__0 ) ) ; - public final void ruleRealTypeScope() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:1266:2: ( ( ( rule__RealTypeScope__Group__0 ) ) ) - // InternalApplicationConfiguration.g:1267:2: ( ( rule__RealTypeScope__Group__0 ) ) - { - // InternalApplicationConfiguration.g:1267:2: ( ( rule__RealTypeScope__Group__0 ) ) - // InternalApplicationConfiguration.g:1268:3: ( rule__RealTypeScope__Group__0 ) - { - before(grammarAccess.getRealTypeScopeAccess().getGroup()); - // InternalApplicationConfiguration.g:1269:3: ( rule__RealTypeScope__Group__0 ) - // InternalApplicationConfiguration.g:1269:4: rule__RealTypeScope__Group__0 - { - pushFollow(FOLLOW_2); - rule__RealTypeScope__Group__0(); - - state._fsp--; - - - } - - after(grammarAccess.getRealTypeScopeAccess().getGroup()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "ruleRealTypeScope" - - - // $ANTLR start "entryRuleStringTypeScope" - // InternalApplicationConfiguration.g:1278:1: entryRuleStringTypeScope : ruleStringTypeScope EOF ; - public final void entryRuleStringTypeScope() throws RecognitionException { - try { - // InternalApplicationConfiguration.g:1279:1: ( ruleStringTypeScope EOF ) - // InternalApplicationConfiguration.g:1280:1: ruleStringTypeScope EOF - { - before(grammarAccess.getStringTypeScopeRule()); - pushFollow(FOLLOW_1); - ruleStringTypeScope(); - - state._fsp--; - - after(grammarAccess.getStringTypeScopeRule()); - match(input,EOF,FOLLOW_2); - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRuleStringTypeScope" - - - // $ANTLR start "ruleStringTypeScope" - // InternalApplicationConfiguration.g:1287:1: ruleStringTypeScope : ( ( rule__StringTypeScope__Group__0 ) ) ; - public final void ruleStringTypeScope() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:1291:2: ( ( ( rule__StringTypeScope__Group__0 ) ) ) - // InternalApplicationConfiguration.g:1292:2: ( ( rule__StringTypeScope__Group__0 ) ) - { - // InternalApplicationConfiguration.g:1292:2: ( ( rule__StringTypeScope__Group__0 ) ) - // InternalApplicationConfiguration.g:1293:3: ( rule__StringTypeScope__Group__0 ) - { - before(grammarAccess.getStringTypeScopeAccess().getGroup()); - // InternalApplicationConfiguration.g:1294:3: ( rule__StringTypeScope__Group__0 ) - // InternalApplicationConfiguration.g:1294:4: rule__StringTypeScope__Group__0 - { - pushFollow(FOLLOW_2); - rule__StringTypeScope__Group__0(); - - state._fsp--; - - - } - - after(grammarAccess.getStringTypeScopeAccess().getGroup()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "ruleStringTypeScope" - - - // $ANTLR start "entryRuleClassReference" - // InternalApplicationConfiguration.g:1303:1: entryRuleClassReference : ruleClassReference EOF ; - public final void entryRuleClassReference() throws RecognitionException { - try { - // InternalApplicationConfiguration.g:1304:1: ( ruleClassReference EOF ) - // InternalApplicationConfiguration.g:1305:1: ruleClassReference EOF - { - before(grammarAccess.getClassReferenceRule()); - pushFollow(FOLLOW_1); - ruleClassReference(); - - state._fsp--; - - after(grammarAccess.getClassReferenceRule()); - match(input,EOF,FOLLOW_2); - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRuleClassReference" - - - // $ANTLR start "ruleClassReference" - // InternalApplicationConfiguration.g:1312:1: ruleClassReference : ( ( rule__ClassReference__Group__0 ) ) ; - public final void ruleClassReference() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:1316:2: ( ( ( rule__ClassReference__Group__0 ) ) ) - // InternalApplicationConfiguration.g:1317:2: ( ( rule__ClassReference__Group__0 ) ) - { - // InternalApplicationConfiguration.g:1317:2: ( ( rule__ClassReference__Group__0 ) ) - // InternalApplicationConfiguration.g:1318:3: ( rule__ClassReference__Group__0 ) - { - before(grammarAccess.getClassReferenceAccess().getGroup()); - // InternalApplicationConfiguration.g:1319:3: ( rule__ClassReference__Group__0 ) - // InternalApplicationConfiguration.g:1319:4: rule__ClassReference__Group__0 - { - pushFollow(FOLLOW_2); - rule__ClassReference__Group__0(); - - state._fsp--; - - - } - - after(grammarAccess.getClassReferenceAccess().getGroup()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "ruleClassReference" - - - // $ANTLR start "entryRuleObjectReference" - // InternalApplicationConfiguration.g:1328:1: entryRuleObjectReference : ruleObjectReference EOF ; - public final void entryRuleObjectReference() throws RecognitionException { - try { - // InternalApplicationConfiguration.g:1329:1: ( ruleObjectReference EOF ) - // InternalApplicationConfiguration.g:1330:1: ruleObjectReference EOF - { - before(grammarAccess.getObjectReferenceRule()); - pushFollow(FOLLOW_1); - ruleObjectReference(); - - state._fsp--; - - after(grammarAccess.getObjectReferenceRule()); - match(input,EOF,FOLLOW_2); - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRuleObjectReference" - - - // $ANTLR start "ruleObjectReference" - // InternalApplicationConfiguration.g:1337:1: ruleObjectReference : ( ( rule__ObjectReference__Group__0 ) ) ; - public final void ruleObjectReference() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:1341:2: ( ( ( rule__ObjectReference__Group__0 ) ) ) - // InternalApplicationConfiguration.g:1342:2: ( ( rule__ObjectReference__Group__0 ) ) - { - // InternalApplicationConfiguration.g:1342:2: ( ( rule__ObjectReference__Group__0 ) ) - // InternalApplicationConfiguration.g:1343:3: ( rule__ObjectReference__Group__0 ) - { - before(grammarAccess.getObjectReferenceAccess().getGroup()); - // InternalApplicationConfiguration.g:1344:3: ( rule__ObjectReference__Group__0 ) - // InternalApplicationConfiguration.g:1344:4: rule__ObjectReference__Group__0 - { - pushFollow(FOLLOW_2); - rule__ObjectReference__Group__0(); - - state._fsp--; - - - } - - after(grammarAccess.getObjectReferenceAccess().getGroup()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "ruleObjectReference" - - - // $ANTLR start "entryRuleIntegerReference" - // InternalApplicationConfiguration.g:1353:1: entryRuleIntegerReference : ruleIntegerReference EOF ; - public final void entryRuleIntegerReference() throws RecognitionException { - try { - // InternalApplicationConfiguration.g:1354:1: ( ruleIntegerReference EOF ) - // InternalApplicationConfiguration.g:1355:1: ruleIntegerReference EOF - { - before(grammarAccess.getIntegerReferenceRule()); - pushFollow(FOLLOW_1); - ruleIntegerReference(); - - state._fsp--; - - after(grammarAccess.getIntegerReferenceRule()); - match(input,EOF,FOLLOW_2); - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRuleIntegerReference" - - - // $ANTLR start "ruleIntegerReference" - // InternalApplicationConfiguration.g:1362:1: ruleIntegerReference : ( ( rule__IntegerReference__Group__0 ) ) ; - public final void ruleIntegerReference() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:1366:2: ( ( ( rule__IntegerReference__Group__0 ) ) ) - // InternalApplicationConfiguration.g:1367:2: ( ( rule__IntegerReference__Group__0 ) ) - { - // InternalApplicationConfiguration.g:1367:2: ( ( rule__IntegerReference__Group__0 ) ) - // InternalApplicationConfiguration.g:1368:3: ( rule__IntegerReference__Group__0 ) - { - before(grammarAccess.getIntegerReferenceAccess().getGroup()); - // InternalApplicationConfiguration.g:1369:3: ( rule__IntegerReference__Group__0 ) - // InternalApplicationConfiguration.g:1369:4: rule__IntegerReference__Group__0 - { - pushFollow(FOLLOW_2); - rule__IntegerReference__Group__0(); - - state._fsp--; - - - } - - after(grammarAccess.getIntegerReferenceAccess().getGroup()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "ruleIntegerReference" - - - // $ANTLR start "entryRuleRealReference" - // InternalApplicationConfiguration.g:1378:1: entryRuleRealReference : ruleRealReference EOF ; - public final void entryRuleRealReference() throws RecognitionException { - try { - // InternalApplicationConfiguration.g:1379:1: ( ruleRealReference EOF ) - // InternalApplicationConfiguration.g:1380:1: ruleRealReference EOF - { - before(grammarAccess.getRealReferenceRule()); - pushFollow(FOLLOW_1); - ruleRealReference(); - - state._fsp--; - - after(grammarAccess.getRealReferenceRule()); - match(input,EOF,FOLLOW_2); - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRuleRealReference" - - - // $ANTLR start "ruleRealReference" - // InternalApplicationConfiguration.g:1387:1: ruleRealReference : ( ( rule__RealReference__Group__0 ) ) ; - public final void ruleRealReference() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:1391:2: ( ( ( rule__RealReference__Group__0 ) ) ) - // InternalApplicationConfiguration.g:1392:2: ( ( rule__RealReference__Group__0 ) ) - { - // InternalApplicationConfiguration.g:1392:2: ( ( rule__RealReference__Group__0 ) ) - // InternalApplicationConfiguration.g:1393:3: ( rule__RealReference__Group__0 ) - { - before(grammarAccess.getRealReferenceAccess().getGroup()); - // InternalApplicationConfiguration.g:1394:3: ( rule__RealReference__Group__0 ) - // InternalApplicationConfiguration.g:1394:4: rule__RealReference__Group__0 - { - pushFollow(FOLLOW_2); - rule__RealReference__Group__0(); - - state._fsp--; - - - } - - after(grammarAccess.getRealReferenceAccess().getGroup()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "ruleRealReference" - - - // $ANTLR start "entryRuleStringReference" - // InternalApplicationConfiguration.g:1403:1: entryRuleStringReference : ruleStringReference EOF ; - public final void entryRuleStringReference() throws RecognitionException { - try { - // InternalApplicationConfiguration.g:1404:1: ( ruleStringReference EOF ) - // InternalApplicationConfiguration.g:1405:1: ruleStringReference EOF - { - before(grammarAccess.getStringReferenceRule()); - pushFollow(FOLLOW_1); - ruleStringReference(); - - state._fsp--; - - after(grammarAccess.getStringReferenceRule()); - match(input,EOF,FOLLOW_2); - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRuleStringReference" - - - // $ANTLR start "ruleStringReference" - // InternalApplicationConfiguration.g:1412:1: ruleStringReference : ( ( rule__StringReference__Group__0 ) ) ; - public final void ruleStringReference() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:1416:2: ( ( ( rule__StringReference__Group__0 ) ) ) - // InternalApplicationConfiguration.g:1417:2: ( ( rule__StringReference__Group__0 ) ) - { - // InternalApplicationConfiguration.g:1417:2: ( ( rule__StringReference__Group__0 ) ) - // InternalApplicationConfiguration.g:1418:3: ( rule__StringReference__Group__0 ) - { - before(grammarAccess.getStringReferenceAccess().getGroup()); - // InternalApplicationConfiguration.g:1419:3: ( rule__StringReference__Group__0 ) - // InternalApplicationConfiguration.g:1419:4: rule__StringReference__Group__0 - { - pushFollow(FOLLOW_2); - rule__StringReference__Group__0(); - - state._fsp--; - - - } - - after(grammarAccess.getStringReferenceAccess().getGroup()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "ruleStringReference" - - - // $ANTLR start "entryRuleExactNumber" - // InternalApplicationConfiguration.g:1428:1: entryRuleExactNumber : ruleExactNumber EOF ; - public final void entryRuleExactNumber() throws RecognitionException { - try { - // InternalApplicationConfiguration.g:1429:1: ( ruleExactNumber EOF ) - // InternalApplicationConfiguration.g:1430:1: ruleExactNumber EOF - { - before(grammarAccess.getExactNumberRule()); - pushFollow(FOLLOW_1); - ruleExactNumber(); - - state._fsp--; - - after(grammarAccess.getExactNumberRule()); - match(input,EOF,FOLLOW_2); - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRuleExactNumber" - - - // $ANTLR start "ruleExactNumber" - // InternalApplicationConfiguration.g:1437:1: ruleExactNumber : ( ( rule__ExactNumber__Alternatives ) ) ; - public final void ruleExactNumber() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:1441:2: ( ( ( rule__ExactNumber__Alternatives ) ) ) - // InternalApplicationConfiguration.g:1442:2: ( ( rule__ExactNumber__Alternatives ) ) - { - // InternalApplicationConfiguration.g:1442:2: ( ( rule__ExactNumber__Alternatives ) ) - // InternalApplicationConfiguration.g:1443:3: ( rule__ExactNumber__Alternatives ) - { - before(grammarAccess.getExactNumberAccess().getAlternatives()); - // InternalApplicationConfiguration.g:1444:3: ( rule__ExactNumber__Alternatives ) - // InternalApplicationConfiguration.g:1444:4: rule__ExactNumber__Alternatives - { - pushFollow(FOLLOW_2); - rule__ExactNumber__Alternatives(); - - state._fsp--; - - - } - - after(grammarAccess.getExactNumberAccess().getAlternatives()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "ruleExactNumber" - - - // $ANTLR start "entryRuleIntervallNumber" - // InternalApplicationConfiguration.g:1453:1: entryRuleIntervallNumber : ruleIntervallNumber EOF ; - public final void entryRuleIntervallNumber() throws RecognitionException { - try { - // InternalApplicationConfiguration.g:1454:1: ( ruleIntervallNumber EOF ) - // InternalApplicationConfiguration.g:1455:1: ruleIntervallNumber EOF - { - before(grammarAccess.getIntervallNumberRule()); - pushFollow(FOLLOW_1); - ruleIntervallNumber(); - - state._fsp--; - - after(grammarAccess.getIntervallNumberRule()); - match(input,EOF,FOLLOW_2); - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRuleIntervallNumber" - - - // $ANTLR start "ruleIntervallNumber" - // InternalApplicationConfiguration.g:1462:1: ruleIntervallNumber : ( ( rule__IntervallNumber__Group__0 ) ) ; - public final void ruleIntervallNumber() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:1466:2: ( ( ( rule__IntervallNumber__Group__0 ) ) ) - // InternalApplicationConfiguration.g:1467:2: ( ( rule__IntervallNumber__Group__0 ) ) - { - // InternalApplicationConfiguration.g:1467:2: ( ( rule__IntervallNumber__Group__0 ) ) - // InternalApplicationConfiguration.g:1468:3: ( rule__IntervallNumber__Group__0 ) - { - before(grammarAccess.getIntervallNumberAccess().getGroup()); - // InternalApplicationConfiguration.g:1469:3: ( rule__IntervallNumber__Group__0 ) - // InternalApplicationConfiguration.g:1469:4: rule__IntervallNumber__Group__0 - { - pushFollow(FOLLOW_2); - rule__IntervallNumber__Group__0(); - - state._fsp--; - - - } - - after(grammarAccess.getIntervallNumberAccess().getGroup()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "ruleIntervallNumber" - - - // $ANTLR start "entryRuleIntEnumberation" - // InternalApplicationConfiguration.g:1478:1: entryRuleIntEnumberation : ruleIntEnumberation EOF ; - public final void entryRuleIntEnumberation() throws RecognitionException { - try { - // InternalApplicationConfiguration.g:1479:1: ( ruleIntEnumberation EOF ) - // InternalApplicationConfiguration.g:1480:1: ruleIntEnumberation EOF - { - before(grammarAccess.getIntEnumberationRule()); - pushFollow(FOLLOW_1); - ruleIntEnumberation(); - - state._fsp--; - - after(grammarAccess.getIntEnumberationRule()); - match(input,EOF,FOLLOW_2); - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRuleIntEnumberation" - - - // $ANTLR start "ruleIntEnumberation" - // InternalApplicationConfiguration.g:1487:1: ruleIntEnumberation : ( ( rule__IntEnumberation__Group__0 ) ) ; - public final void ruleIntEnumberation() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:1491:2: ( ( ( rule__IntEnumberation__Group__0 ) ) ) - // InternalApplicationConfiguration.g:1492:2: ( ( rule__IntEnumberation__Group__0 ) ) - { - // InternalApplicationConfiguration.g:1492:2: ( ( rule__IntEnumberation__Group__0 ) ) - // InternalApplicationConfiguration.g:1493:3: ( rule__IntEnumberation__Group__0 ) - { - before(grammarAccess.getIntEnumberationAccess().getGroup()); - // InternalApplicationConfiguration.g:1494:3: ( rule__IntEnumberation__Group__0 ) - // InternalApplicationConfiguration.g:1494:4: rule__IntEnumberation__Group__0 - { - pushFollow(FOLLOW_2); - rule__IntEnumberation__Group__0(); - - state._fsp--; - - - } - - after(grammarAccess.getIntEnumberationAccess().getGroup()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "ruleIntEnumberation" - - - // $ANTLR start "entryRuleRealEnumeration" - // InternalApplicationConfiguration.g:1503:1: entryRuleRealEnumeration : ruleRealEnumeration EOF ; - public final void entryRuleRealEnumeration() throws RecognitionException { - try { - // InternalApplicationConfiguration.g:1504:1: ( ruleRealEnumeration EOF ) - // InternalApplicationConfiguration.g:1505:1: ruleRealEnumeration EOF - { - before(grammarAccess.getRealEnumerationRule()); - pushFollow(FOLLOW_1); - ruleRealEnumeration(); - - state._fsp--; - - after(grammarAccess.getRealEnumerationRule()); - match(input,EOF,FOLLOW_2); - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRuleRealEnumeration" - - - // $ANTLR start "ruleRealEnumeration" - // InternalApplicationConfiguration.g:1512:1: ruleRealEnumeration : ( ( rule__RealEnumeration__Group__0 ) ) ; - public final void ruleRealEnumeration() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:1516:2: ( ( ( rule__RealEnumeration__Group__0 ) ) ) - // InternalApplicationConfiguration.g:1517:2: ( ( rule__RealEnumeration__Group__0 ) ) - { - // InternalApplicationConfiguration.g:1517:2: ( ( rule__RealEnumeration__Group__0 ) ) - // InternalApplicationConfiguration.g:1518:3: ( rule__RealEnumeration__Group__0 ) - { - before(grammarAccess.getRealEnumerationAccess().getGroup()); - // InternalApplicationConfiguration.g:1519:3: ( rule__RealEnumeration__Group__0 ) - // InternalApplicationConfiguration.g:1519:4: rule__RealEnumeration__Group__0 - { - pushFollow(FOLLOW_2); - rule__RealEnumeration__Group__0(); - - state._fsp--; - - - } - - after(grammarAccess.getRealEnumerationAccess().getGroup()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "ruleRealEnumeration" - - - // $ANTLR start "entryRuleStringEnumeration" - // InternalApplicationConfiguration.g:1528:1: entryRuleStringEnumeration : ruleStringEnumeration EOF ; - public final void entryRuleStringEnumeration() throws RecognitionException { - try { - // InternalApplicationConfiguration.g:1529:1: ( ruleStringEnumeration EOF ) - // InternalApplicationConfiguration.g:1530:1: ruleStringEnumeration EOF - { - before(grammarAccess.getStringEnumerationRule()); - pushFollow(FOLLOW_1); - ruleStringEnumeration(); - - state._fsp--; - - after(grammarAccess.getStringEnumerationRule()); - match(input,EOF,FOLLOW_2); - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRuleStringEnumeration" - - - // $ANTLR start "ruleStringEnumeration" - // InternalApplicationConfiguration.g:1537:1: ruleStringEnumeration : ( ( rule__StringEnumeration__Group__0 ) ) ; - public final void ruleStringEnumeration() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:1541:2: ( ( ( rule__StringEnumeration__Group__0 ) ) ) - // InternalApplicationConfiguration.g:1542:2: ( ( rule__StringEnumeration__Group__0 ) ) - { - // InternalApplicationConfiguration.g:1542:2: ( ( rule__StringEnumeration__Group__0 ) ) - // InternalApplicationConfiguration.g:1543:3: ( rule__StringEnumeration__Group__0 ) - { - before(grammarAccess.getStringEnumerationAccess().getGroup()); - // InternalApplicationConfiguration.g:1544:3: ( rule__StringEnumeration__Group__0 ) - // InternalApplicationConfiguration.g:1544:4: rule__StringEnumeration__Group__0 - { - pushFollow(FOLLOW_2); - rule__StringEnumeration__Group__0(); - - state._fsp--; - - - } - - after(grammarAccess.getStringEnumerationAccess().getGroup()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "ruleStringEnumeration" - - - // $ANTLR start "entryRuleScopeDeclaration" - // InternalApplicationConfiguration.g:1553:1: entryRuleScopeDeclaration : ruleScopeDeclaration EOF ; - public final void entryRuleScopeDeclaration() throws RecognitionException { - try { - // InternalApplicationConfiguration.g:1554:1: ( ruleScopeDeclaration EOF ) - // InternalApplicationConfiguration.g:1555:1: ruleScopeDeclaration EOF - { - before(grammarAccess.getScopeDeclarationRule()); - pushFollow(FOLLOW_1); - ruleScopeDeclaration(); - - state._fsp--; - - after(grammarAccess.getScopeDeclarationRule()); - match(input,EOF,FOLLOW_2); - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRuleScopeDeclaration" - - - // $ANTLR start "ruleScopeDeclaration" - // InternalApplicationConfiguration.g:1562:1: ruleScopeDeclaration : ( ( rule__ScopeDeclaration__Group__0 ) ) ; - public final void ruleScopeDeclaration() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:1566:2: ( ( ( rule__ScopeDeclaration__Group__0 ) ) ) - // InternalApplicationConfiguration.g:1567:2: ( ( rule__ScopeDeclaration__Group__0 ) ) - { - // InternalApplicationConfiguration.g:1567:2: ( ( rule__ScopeDeclaration__Group__0 ) ) - // InternalApplicationConfiguration.g:1568:3: ( rule__ScopeDeclaration__Group__0 ) - { - before(grammarAccess.getScopeDeclarationAccess().getGroup()); - // InternalApplicationConfiguration.g:1569:3: ( rule__ScopeDeclaration__Group__0 ) - // InternalApplicationConfiguration.g:1569:4: rule__ScopeDeclaration__Group__0 - { - pushFollow(FOLLOW_2); - rule__ScopeDeclaration__Group__0(); - - state._fsp--; - - - } - - after(grammarAccess.getScopeDeclarationAccess().getGroup()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "ruleScopeDeclaration" - - - // $ANTLR start "entryRuleScopeReference" - // InternalApplicationConfiguration.g:1578:1: entryRuleScopeReference : ruleScopeReference EOF ; - public final void entryRuleScopeReference() throws RecognitionException { - try { - // InternalApplicationConfiguration.g:1579:1: ( ruleScopeReference EOF ) - // InternalApplicationConfiguration.g:1580:1: ruleScopeReference EOF - { - before(grammarAccess.getScopeReferenceRule()); - pushFollow(FOLLOW_1); - ruleScopeReference(); - - state._fsp--; - - after(grammarAccess.getScopeReferenceRule()); - match(input,EOF,FOLLOW_2); - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRuleScopeReference" - - - // $ANTLR start "ruleScopeReference" - // InternalApplicationConfiguration.g:1587:1: ruleScopeReference : ( ( rule__ScopeReference__ReferredAssignment ) ) ; - public final void ruleScopeReference() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:1591:2: ( ( ( rule__ScopeReference__ReferredAssignment ) ) ) - // InternalApplicationConfiguration.g:1592:2: ( ( rule__ScopeReference__ReferredAssignment ) ) - { - // InternalApplicationConfiguration.g:1592:2: ( ( rule__ScopeReference__ReferredAssignment ) ) - // InternalApplicationConfiguration.g:1593:3: ( rule__ScopeReference__ReferredAssignment ) - { - before(grammarAccess.getScopeReferenceAccess().getReferredAssignment()); - // InternalApplicationConfiguration.g:1594:3: ( rule__ScopeReference__ReferredAssignment ) - // InternalApplicationConfiguration.g:1594:4: rule__ScopeReference__ReferredAssignment - { - pushFollow(FOLLOW_2); - rule__ScopeReference__ReferredAssignment(); - - state._fsp--; - - - } - - after(grammarAccess.getScopeReferenceAccess().getReferredAssignment()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "ruleScopeReference" - - - // $ANTLR start "entryRuleScope" - // InternalApplicationConfiguration.g:1603:1: entryRuleScope : ruleScope EOF ; - public final void entryRuleScope() throws RecognitionException { - try { - // InternalApplicationConfiguration.g:1604:1: ( ruleScope EOF ) - // InternalApplicationConfiguration.g:1605:1: ruleScope EOF - { - before(grammarAccess.getScopeRule()); - pushFollow(FOLLOW_1); - ruleScope(); - - state._fsp--; - - after(grammarAccess.getScopeRule()); - match(input,EOF,FOLLOW_2); - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRuleScope" - - - // $ANTLR start "ruleScope" - // InternalApplicationConfiguration.g:1612:1: ruleScope : ( ( rule__Scope__Alternatives ) ) ; - public final void ruleScope() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:1616:2: ( ( ( rule__Scope__Alternatives ) ) ) - // InternalApplicationConfiguration.g:1617:2: ( ( rule__Scope__Alternatives ) ) - { - // InternalApplicationConfiguration.g:1617:2: ( ( rule__Scope__Alternatives ) ) - // InternalApplicationConfiguration.g:1618:3: ( rule__Scope__Alternatives ) - { - before(grammarAccess.getScopeAccess().getAlternatives()); - // InternalApplicationConfiguration.g:1619:3: ( rule__Scope__Alternatives ) - // InternalApplicationConfiguration.g:1619:4: rule__Scope__Alternatives - { - pushFollow(FOLLOW_2); - rule__Scope__Alternatives(); - - state._fsp--; - - - } - - after(grammarAccess.getScopeAccess().getAlternatives()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "ruleScope" - - - // $ANTLR start "entryRuleTask" - // InternalApplicationConfiguration.g:1628:1: entryRuleTask : ruleTask EOF ; - public final void entryRuleTask() throws RecognitionException { - try { - // InternalApplicationConfiguration.g:1629:1: ( ruleTask EOF ) - // InternalApplicationConfiguration.g:1630:1: ruleTask EOF - { - before(grammarAccess.getTaskRule()); - pushFollow(FOLLOW_1); - ruleTask(); - - state._fsp--; - - after(grammarAccess.getTaskRule()); - match(input,EOF,FOLLOW_2); - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRuleTask" - - - // $ANTLR start "ruleTask" - // InternalApplicationConfiguration.g:1637:1: ruleTask : ( ruleGenerationTask ) ; - public final void ruleTask() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:1641:2: ( ( ruleGenerationTask ) ) - // InternalApplicationConfiguration.g:1642:2: ( ruleGenerationTask ) - { - // InternalApplicationConfiguration.g:1642:2: ( ruleGenerationTask ) - // InternalApplicationConfiguration.g:1643:3: ruleGenerationTask - { - before(grammarAccess.getTaskAccess().getGenerationTaskParserRuleCall()); - pushFollow(FOLLOW_2); - ruleGenerationTask(); - - state._fsp--; - - after(grammarAccess.getTaskAccess().getGenerationTaskParserRuleCall()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "ruleTask" - - - // $ANTLR start "entryRuleGenerationTask" - // InternalApplicationConfiguration.g:1653:1: entryRuleGenerationTask : ruleGenerationTask EOF ; - public final void entryRuleGenerationTask() throws RecognitionException { - try { - // InternalApplicationConfiguration.g:1654:1: ( ruleGenerationTask EOF ) - // InternalApplicationConfiguration.g:1655:1: ruleGenerationTask EOF - { - before(grammarAccess.getGenerationTaskRule()); - pushFollow(FOLLOW_1); - ruleGenerationTask(); - - state._fsp--; - - after(grammarAccess.getGenerationTaskRule()); - match(input,EOF,FOLLOW_2); - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRuleGenerationTask" - - - // $ANTLR start "ruleGenerationTask" - // InternalApplicationConfiguration.g:1662:1: ruleGenerationTask : ( ( rule__GenerationTask__Group__0 ) ) ; - public final void ruleGenerationTask() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:1666:2: ( ( ( rule__GenerationTask__Group__0 ) ) ) - // InternalApplicationConfiguration.g:1667:2: ( ( rule__GenerationTask__Group__0 ) ) - { - // InternalApplicationConfiguration.g:1667:2: ( ( rule__GenerationTask__Group__0 ) ) - // InternalApplicationConfiguration.g:1668:3: ( rule__GenerationTask__Group__0 ) - { - before(grammarAccess.getGenerationTaskAccess().getGroup()); - // InternalApplicationConfiguration.g:1669:3: ( rule__GenerationTask__Group__0 ) - // InternalApplicationConfiguration.g:1669:4: rule__GenerationTask__Group__0 - { - pushFollow(FOLLOW_2); - rule__GenerationTask__Group__0(); - - state._fsp--; - - - } - - after(grammarAccess.getGenerationTaskAccess().getGroup()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "ruleGenerationTask" - - - // $ANTLR start "ruleDocumentLevelSpecification" - // InternalApplicationConfiguration.g:1678:1: ruleDocumentLevelSpecification : ( ( rule__DocumentLevelSpecification__Alternatives ) ) ; - public final void ruleDocumentLevelSpecification() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:1682:1: ( ( ( rule__DocumentLevelSpecification__Alternatives ) ) ) - // InternalApplicationConfiguration.g:1683:2: ( ( rule__DocumentLevelSpecification__Alternatives ) ) - { - // InternalApplicationConfiguration.g:1683:2: ( ( rule__DocumentLevelSpecification__Alternatives ) ) - // InternalApplicationConfiguration.g:1684:3: ( rule__DocumentLevelSpecification__Alternatives ) - { - before(grammarAccess.getDocumentLevelSpecificationAccess().getAlternatives()); - // InternalApplicationConfiguration.g:1685:3: ( rule__DocumentLevelSpecification__Alternatives ) - // InternalApplicationConfiguration.g:1685:4: rule__DocumentLevelSpecification__Alternatives - { - pushFollow(FOLLOW_2); - rule__DocumentLevelSpecification__Alternatives(); - - state._fsp--; - - - } - - after(grammarAccess.getDocumentLevelSpecificationAccess().getAlternatives()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "ruleDocumentLevelSpecification" - - - // $ANTLR start "ruleSolver" - // InternalApplicationConfiguration.g:1694:1: ruleSolver : ( ( rule__Solver__Alternatives ) ) ; - public final void ruleSolver() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:1698:1: ( ( ( rule__Solver__Alternatives ) ) ) - // InternalApplicationConfiguration.g:1699:2: ( ( rule__Solver__Alternatives ) ) - { - // InternalApplicationConfiguration.g:1699:2: ( ( rule__Solver__Alternatives ) ) - // InternalApplicationConfiguration.g:1700:3: ( rule__Solver__Alternatives ) - { - before(grammarAccess.getSolverAccess().getAlternatives()); - // InternalApplicationConfiguration.g:1701:3: ( rule__Solver__Alternatives ) - // InternalApplicationConfiguration.g:1701:4: rule__Solver__Alternatives - { - pushFollow(FOLLOW_2); - rule__Solver__Alternatives(); - - state._fsp--; - - - } - - after(grammarAccess.getSolverAccess().getAlternatives()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "ruleSolver" - - - // $ANTLR start "rule__Command__Alternatives" - // InternalApplicationConfiguration.g:1709:1: rule__Command__Alternatives : ( ( ruleDeclaration ) | ( ruleTask ) ); - public final void rule__Command__Alternatives() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:1713:1: ( ( ruleDeclaration ) | ( ruleTask ) ) - int alt1=2; - int LA1_0 = input.LA(1); - - if ( (LA1_0==22||LA1_0==30||(LA1_0>=32 && LA1_0<=34)||LA1_0==46) ) { - alt1=1; - } - else if ( (LA1_0==47) ) { - alt1=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 1, 0, input); - - throw nvae; - } - switch (alt1) { - case 1 : - // InternalApplicationConfiguration.g:1714:2: ( ruleDeclaration ) - { - // InternalApplicationConfiguration.g:1714:2: ( ruleDeclaration ) - // InternalApplicationConfiguration.g:1715:3: ruleDeclaration - { - before(grammarAccess.getCommandAccess().getDeclarationParserRuleCall_0()); - pushFollow(FOLLOW_2); - ruleDeclaration(); - - state._fsp--; - - after(grammarAccess.getCommandAccess().getDeclarationParserRuleCall_0()); - - } - - - } - break; - case 2 : - // InternalApplicationConfiguration.g:1720:2: ( ruleTask ) - { - // InternalApplicationConfiguration.g:1720:2: ( ruleTask ) - // InternalApplicationConfiguration.g:1721:3: ruleTask - { - before(grammarAccess.getCommandAccess().getTaskParserRuleCall_1()); - pushFollow(FOLLOW_2); - ruleTask(); - - state._fsp--; - - after(grammarAccess.getCommandAccess().getTaskParserRuleCall_1()); - - } - - - } - break; - - } - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Command__Alternatives" - - - // $ANTLR start "rule__Import__Alternatives" - // InternalApplicationConfiguration.g:1730:1: rule__Import__Alternatives : ( ( ruleEPackageImport ) | ( ruleViatraImport ) ); - public final void rule__Import__Alternatives() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:1734:1: ( ( ruleEPackageImport ) | ( ruleViatraImport ) ) - int alt2=2; - int LA2_0 = input.LA(1); - - if ( (LA2_0==19) ) { - int LA2_1 = input.LA(2); - - if ( (LA2_1==20) ) { - alt2=1; - } - else if ( (LA2_1==21) ) { - alt2=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 2, 1, input); - - throw nvae; - } - } - else { - NoViableAltException nvae = - new NoViableAltException("", 2, 0, input); - - throw nvae; - } - switch (alt2) { - case 1 : - // InternalApplicationConfiguration.g:1735:2: ( ruleEPackageImport ) - { - // InternalApplicationConfiguration.g:1735:2: ( ruleEPackageImport ) - // InternalApplicationConfiguration.g:1736:3: ruleEPackageImport - { - before(grammarAccess.getImportAccess().getEPackageImportParserRuleCall_0()); - pushFollow(FOLLOW_2); - ruleEPackageImport(); - - state._fsp--; - - after(grammarAccess.getImportAccess().getEPackageImportParserRuleCall_0()); - - } - - - } - break; - case 2 : - // InternalApplicationConfiguration.g:1741:2: ( ruleViatraImport ) - { - // InternalApplicationConfiguration.g:1741:2: ( ruleViatraImport ) - // InternalApplicationConfiguration.g:1742:3: ruleViatraImport - { - before(grammarAccess.getImportAccess().getViatraImportParserRuleCall_1()); - pushFollow(FOLLOW_2); - ruleViatraImport(); - - state._fsp--; - - after(grammarAccess.getImportAccess().getViatraImportParserRuleCall_1()); - - } - - - } - break; - - } - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Import__Alternatives" - - - // $ANTLR start "rule__Declaration__Alternatives" - // InternalApplicationConfiguration.g:1751:1: rule__Declaration__Alternatives : ( ( ruleFileDeclaration ) | ( ruleMetamodelDeclaration ) | ( rulePartialModelDeclaration ) | ( ruleGraphPatternDeclaration ) | ( ruleConfigDeclaration ) | ( ruleScopeDeclaration ) ); - public final void rule__Declaration__Alternatives() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:1755:1: ( ( ruleFileDeclaration ) | ( ruleMetamodelDeclaration ) | ( rulePartialModelDeclaration ) | ( ruleGraphPatternDeclaration ) | ( ruleConfigDeclaration ) | ( ruleScopeDeclaration ) ) - int alt3=6; - switch ( input.LA(1) ) { - case 22: - { - alt3=1; - } - break; - case 30: - { - alt3=2; - } - break; - case 32: - { - alt3=3; - } - break; - case 33: - { - alt3=4; - } - break; - case 34: - { - alt3=5; - } - break; - case 46: - { - alt3=6; - } - break; - default: - NoViableAltException nvae = - new NoViableAltException("", 3, 0, input); - - throw nvae; - } - - switch (alt3) { - case 1 : - // InternalApplicationConfiguration.g:1756:2: ( ruleFileDeclaration ) - { - // InternalApplicationConfiguration.g:1756:2: ( ruleFileDeclaration ) - // InternalApplicationConfiguration.g:1757:3: ruleFileDeclaration - { - before(grammarAccess.getDeclarationAccess().getFileDeclarationParserRuleCall_0()); - pushFollow(FOLLOW_2); - ruleFileDeclaration(); - - state._fsp--; - - after(grammarAccess.getDeclarationAccess().getFileDeclarationParserRuleCall_0()); - - } - - - } - break; - case 2 : - // InternalApplicationConfiguration.g:1762:2: ( ruleMetamodelDeclaration ) - { - // InternalApplicationConfiguration.g:1762:2: ( ruleMetamodelDeclaration ) - // InternalApplicationConfiguration.g:1763:3: ruleMetamodelDeclaration - { - before(grammarAccess.getDeclarationAccess().getMetamodelDeclarationParserRuleCall_1()); - pushFollow(FOLLOW_2); - ruleMetamodelDeclaration(); - - state._fsp--; - - after(grammarAccess.getDeclarationAccess().getMetamodelDeclarationParserRuleCall_1()); - - } - - - } - break; - case 3 : - // InternalApplicationConfiguration.g:1768:2: ( rulePartialModelDeclaration ) - { - // InternalApplicationConfiguration.g:1768:2: ( rulePartialModelDeclaration ) - // InternalApplicationConfiguration.g:1769:3: rulePartialModelDeclaration - { - before(grammarAccess.getDeclarationAccess().getPartialModelDeclarationParserRuleCall_2()); - pushFollow(FOLLOW_2); - rulePartialModelDeclaration(); - - state._fsp--; - - after(grammarAccess.getDeclarationAccess().getPartialModelDeclarationParserRuleCall_2()); - - } - - - } - break; - case 4 : - // InternalApplicationConfiguration.g:1774:2: ( ruleGraphPatternDeclaration ) - { - // InternalApplicationConfiguration.g:1774:2: ( ruleGraphPatternDeclaration ) - // InternalApplicationConfiguration.g:1775:3: ruleGraphPatternDeclaration - { - before(grammarAccess.getDeclarationAccess().getGraphPatternDeclarationParserRuleCall_3()); - pushFollow(FOLLOW_2); - ruleGraphPatternDeclaration(); - - state._fsp--; - - after(grammarAccess.getDeclarationAccess().getGraphPatternDeclarationParserRuleCall_3()); - - } - - - } - break; - case 5 : - // InternalApplicationConfiguration.g:1780:2: ( ruleConfigDeclaration ) - { - // InternalApplicationConfiguration.g:1780:2: ( ruleConfigDeclaration ) - // InternalApplicationConfiguration.g:1781:3: ruleConfigDeclaration - { - before(grammarAccess.getDeclarationAccess().getConfigDeclarationParserRuleCall_4()); - pushFollow(FOLLOW_2); - ruleConfigDeclaration(); - - state._fsp--; - - after(grammarAccess.getDeclarationAccess().getConfigDeclarationParserRuleCall_4()); - - } - - - } - break; - case 6 : - // InternalApplicationConfiguration.g:1786:2: ( ruleScopeDeclaration ) - { - // InternalApplicationConfiguration.g:1786:2: ( ruleScopeDeclaration ) - // InternalApplicationConfiguration.g:1787:3: ruleScopeDeclaration - { - before(grammarAccess.getDeclarationAccess().getScopeDeclarationParserRuleCall_5()); - pushFollow(FOLLOW_2); - ruleScopeDeclaration(); - - state._fsp--; - - after(grammarAccess.getDeclarationAccess().getScopeDeclarationParserRuleCall_5()); - - } - - - } - break; - - } - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Declaration__Alternatives" - - - // $ANTLR start "rule__File__Alternatives" - // InternalApplicationConfiguration.g:1796:1: rule__File__Alternatives : ( ( ruleFileSpecification ) | ( ruleFileReference ) ); - public final void rule__File__Alternatives() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:1800:1: ( ( ruleFileSpecification ) | ( ruleFileReference ) ) - int alt4=2; - int LA4_0 = input.LA(1); - - if ( (LA4_0==RULE_STRING) ) { - alt4=1; - } - else if ( (LA4_0==RULE_ID) ) { - alt4=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 4, 0, input); - - throw nvae; - } - switch (alt4) { - case 1 : - // InternalApplicationConfiguration.g:1801:2: ( ruleFileSpecification ) - { - // InternalApplicationConfiguration.g:1801:2: ( ruleFileSpecification ) - // InternalApplicationConfiguration.g:1802:3: ruleFileSpecification - { - before(grammarAccess.getFileAccess().getFileSpecificationParserRuleCall_0()); - pushFollow(FOLLOW_2); - ruleFileSpecification(); - - state._fsp--; - - after(grammarAccess.getFileAccess().getFileSpecificationParserRuleCall_0()); - - } - - - } - break; - case 2 : - // InternalApplicationConfiguration.g:1807:2: ( ruleFileReference ) - { - // InternalApplicationConfiguration.g:1807:2: ( ruleFileReference ) - // InternalApplicationConfiguration.g:1808:3: ruleFileReference - { - before(grammarAccess.getFileAccess().getFileReferenceParserRuleCall_1()); - pushFollow(FOLLOW_2); - ruleFileReference(); - - state._fsp--; - - after(grammarAccess.getFileAccess().getFileReferenceParserRuleCall_1()); - - } - - - } - break; - - } - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__File__Alternatives" - - - // $ANTLR start "rule__MetamodelEntry__Alternatives" - // InternalApplicationConfiguration.g:1817:1: rule__MetamodelEntry__Alternatives : ( ( ruleMetamodelElement ) | ( ruleAllPackageEntry ) ); - public final void rule__MetamodelEntry__Alternatives() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:1821:1: ( ( ruleMetamodelElement ) | ( ruleAllPackageEntry ) ) - int alt5=2; - int LA5_0 = input.LA(1); - - if ( (LA5_0==RULE_ID) ) { - alt5=1; - } - else if ( (LA5_0==27) ) { - alt5=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 5, 0, input); - - throw nvae; - } - switch (alt5) { - case 1 : - // InternalApplicationConfiguration.g:1822:2: ( ruleMetamodelElement ) - { - // InternalApplicationConfiguration.g:1822:2: ( ruleMetamodelElement ) - // InternalApplicationConfiguration.g:1823:3: ruleMetamodelElement - { - before(grammarAccess.getMetamodelEntryAccess().getMetamodelElementParserRuleCall_0()); - pushFollow(FOLLOW_2); - ruleMetamodelElement(); - - state._fsp--; - - after(grammarAccess.getMetamodelEntryAccess().getMetamodelElementParserRuleCall_0()); - - } - - - } - break; - case 2 : - // InternalApplicationConfiguration.g:1828:2: ( ruleAllPackageEntry ) - { - // InternalApplicationConfiguration.g:1828:2: ( ruleAllPackageEntry ) - // InternalApplicationConfiguration.g:1829:3: ruleAllPackageEntry - { - before(grammarAccess.getMetamodelEntryAccess().getAllPackageEntryParserRuleCall_1()); - pushFollow(FOLLOW_2); - ruleAllPackageEntry(); - - state._fsp--; - - after(grammarAccess.getMetamodelEntryAccess().getAllPackageEntryParserRuleCall_1()); - - } - - - } - break; - - } - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__MetamodelEntry__Alternatives" - - - // $ANTLR start "rule__Metamodel__Alternatives" - // InternalApplicationConfiguration.g:1838:1: rule__Metamodel__Alternatives : ( ( ruleMetamodelReference ) | ( ruleMetamodelSpecification ) ); - public final void rule__Metamodel__Alternatives() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:1842:1: ( ( ruleMetamodelReference ) | ( ruleMetamodelSpecification ) ) - int alt6=2; - int LA6_0 = input.LA(1); - - if ( (LA6_0==RULE_ID) ) { - alt6=1; - } - else if ( (LA6_0==24) ) { - alt6=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 6, 0, input); - - throw nvae; - } - switch (alt6) { - case 1 : - // InternalApplicationConfiguration.g:1843:2: ( ruleMetamodelReference ) - { - // InternalApplicationConfiguration.g:1843:2: ( ruleMetamodelReference ) - // InternalApplicationConfiguration.g:1844:3: ruleMetamodelReference - { - before(grammarAccess.getMetamodelAccess().getMetamodelReferenceParserRuleCall_0()); - pushFollow(FOLLOW_2); - ruleMetamodelReference(); - - state._fsp--; - - after(grammarAccess.getMetamodelAccess().getMetamodelReferenceParserRuleCall_0()); - - } - - - } - break; - case 2 : - // InternalApplicationConfiguration.g:1849:2: ( ruleMetamodelSpecification ) - { - // InternalApplicationConfiguration.g:1849:2: ( ruleMetamodelSpecification ) - // InternalApplicationConfiguration.g:1850:3: ruleMetamodelSpecification - { - before(grammarAccess.getMetamodelAccess().getMetamodelSpecificationParserRuleCall_1()); - pushFollow(FOLLOW_2); - ruleMetamodelSpecification(); - - state._fsp--; - - after(grammarAccess.getMetamodelAccess().getMetamodelSpecificationParserRuleCall_1()); - - } - - - } - break; - - } - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Metamodel__Alternatives" - - - // $ANTLR start "rule__PartialModelEntry__Alternatives" - // InternalApplicationConfiguration.g:1859:1: rule__PartialModelEntry__Alternatives : ( ( ruleModelEntry ) | ( ruleFolderEntry ) ); - public final void rule__PartialModelEntry__Alternatives() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:1863:1: ( ( ruleModelEntry ) | ( ruleFolderEntry ) ) - int alt7=2; - int LA7_0 = input.LA(1); - - if ( (LA7_0==RULE_ID||LA7_0==RULE_STRING) ) { - alt7=1; - } - else if ( (LA7_0==31) ) { - alt7=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 7, 0, input); - - throw nvae; - } - switch (alt7) { - case 1 : - // InternalApplicationConfiguration.g:1864:2: ( ruleModelEntry ) - { - // InternalApplicationConfiguration.g:1864:2: ( ruleModelEntry ) - // InternalApplicationConfiguration.g:1865:3: ruleModelEntry - { - before(grammarAccess.getPartialModelEntryAccess().getModelEntryParserRuleCall_0()); - pushFollow(FOLLOW_2); - ruleModelEntry(); - - state._fsp--; - - after(grammarAccess.getPartialModelEntryAccess().getModelEntryParserRuleCall_0()); - - } - - - } - break; - case 2 : - // InternalApplicationConfiguration.g:1870:2: ( ruleFolderEntry ) - { - // InternalApplicationConfiguration.g:1870:2: ( ruleFolderEntry ) - // InternalApplicationConfiguration.g:1871:3: ruleFolderEntry - { - before(grammarAccess.getPartialModelEntryAccess().getFolderEntryParserRuleCall_1()); - pushFollow(FOLLOW_2); - ruleFolderEntry(); - - state._fsp--; - - after(grammarAccess.getPartialModelEntryAccess().getFolderEntryParserRuleCall_1()); - - } - - - } - break; - - } - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__PartialModelEntry__Alternatives" - - - // $ANTLR start "rule__PartialModel__Alternatives" - // InternalApplicationConfiguration.g:1880:1: rule__PartialModel__Alternatives : ( ( rulePartialModelSpecification ) | ( rulePartialModelReference ) ); - public final void rule__PartialModel__Alternatives() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:1884:1: ( ( rulePartialModelSpecification ) | ( rulePartialModelReference ) ) - int alt8=2; - int LA8_0 = input.LA(1); - - if ( (LA8_0==24) ) { - alt8=1; - } - else if ( (LA8_0==RULE_ID) ) { - alt8=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 8, 0, input); - - throw nvae; - } - switch (alt8) { - case 1 : - // InternalApplicationConfiguration.g:1885:2: ( rulePartialModelSpecification ) - { - // InternalApplicationConfiguration.g:1885:2: ( rulePartialModelSpecification ) - // InternalApplicationConfiguration.g:1886:3: rulePartialModelSpecification - { - before(grammarAccess.getPartialModelAccess().getPartialModelSpecificationParserRuleCall_0()); - pushFollow(FOLLOW_2); - rulePartialModelSpecification(); - - state._fsp--; - - after(grammarAccess.getPartialModelAccess().getPartialModelSpecificationParserRuleCall_0()); - - } - - - } - break; - case 2 : - // InternalApplicationConfiguration.g:1891:2: ( rulePartialModelReference ) - { - // InternalApplicationConfiguration.g:1891:2: ( rulePartialModelReference ) - // InternalApplicationConfiguration.g:1892:3: rulePartialModelReference - { - before(grammarAccess.getPartialModelAccess().getPartialModelReferenceParserRuleCall_1()); - pushFollow(FOLLOW_2); - rulePartialModelReference(); - - state._fsp--; - - after(grammarAccess.getPartialModelAccess().getPartialModelReferenceParserRuleCall_1()); - - } - - - } - break; - - } - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__PartialModel__Alternatives" - - - // $ANTLR start "rule__PatternEntry__Alternatives" - // InternalApplicationConfiguration.g:1901:1: rule__PatternEntry__Alternatives : ( ( rulePatternElement ) | ( ruleAllPatternEntry ) ); - public final void rule__PatternEntry__Alternatives() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:1905:1: ( ( rulePatternElement ) | ( ruleAllPatternEntry ) ) - int alt9=2; - int LA9_0 = input.LA(1); - - if ( (LA9_0==RULE_ID) ) { - alt9=1; - } - else if ( (LA9_0==27) ) { - alt9=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 9, 0, input); - - throw nvae; - } - switch (alt9) { - case 1 : - // InternalApplicationConfiguration.g:1906:2: ( rulePatternElement ) - { - // InternalApplicationConfiguration.g:1906:2: ( rulePatternElement ) - // InternalApplicationConfiguration.g:1907:3: rulePatternElement - { - before(grammarAccess.getPatternEntryAccess().getPatternElementParserRuleCall_0()); - pushFollow(FOLLOW_2); - rulePatternElement(); - - state._fsp--; - - after(grammarAccess.getPatternEntryAccess().getPatternElementParserRuleCall_0()); - - } - - - } - break; - case 2 : - // InternalApplicationConfiguration.g:1912:2: ( ruleAllPatternEntry ) - { - // InternalApplicationConfiguration.g:1912:2: ( ruleAllPatternEntry ) - // InternalApplicationConfiguration.g:1913:3: ruleAllPatternEntry - { - before(grammarAccess.getPatternEntryAccess().getAllPatternEntryParserRuleCall_1()); - pushFollow(FOLLOW_2); - ruleAllPatternEntry(); - - state._fsp--; - - after(grammarAccess.getPatternEntryAccess().getAllPatternEntryParserRuleCall_1()); - - } - - - } - break; - - } - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__PatternEntry__Alternatives" - - - // $ANTLR start "rule__GraphPattern__Alternatives" - // InternalApplicationConfiguration.g:1922:1: rule__GraphPattern__Alternatives : ( ( ruleGraphPatternReference ) | ( rulePatternSpecification ) ); - public final void rule__GraphPattern__Alternatives() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:1926:1: ( ( ruleGraphPatternReference ) | ( rulePatternSpecification ) ) - int alt10=2; - int LA10_0 = input.LA(1); - - if ( (LA10_0==RULE_ID) ) { - alt10=1; - } - else if ( (LA10_0==24) ) { - alt10=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 10, 0, input); - - throw nvae; - } - switch (alt10) { - case 1 : - // InternalApplicationConfiguration.g:1927:2: ( ruleGraphPatternReference ) - { - // InternalApplicationConfiguration.g:1927:2: ( ruleGraphPatternReference ) - // InternalApplicationConfiguration.g:1928:3: ruleGraphPatternReference - { - before(grammarAccess.getGraphPatternAccess().getGraphPatternReferenceParserRuleCall_0()); - pushFollow(FOLLOW_2); - ruleGraphPatternReference(); - - state._fsp--; - - after(grammarAccess.getGraphPatternAccess().getGraphPatternReferenceParserRuleCall_0()); - - } - - - } - break; - case 2 : - // InternalApplicationConfiguration.g:1933:2: ( rulePatternSpecification ) - { - // InternalApplicationConfiguration.g:1933:2: ( rulePatternSpecification ) - // InternalApplicationConfiguration.g:1934:3: rulePatternSpecification - { - before(grammarAccess.getGraphPatternAccess().getPatternSpecificationParserRuleCall_1()); - pushFollow(FOLLOW_2); - rulePatternSpecification(); - - state._fsp--; - - after(grammarAccess.getGraphPatternAccess().getPatternSpecificationParserRuleCall_1()); - - } - - - } - break; - - } - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__GraphPattern__Alternatives" - - - // $ANTLR start "rule__ConfigEntry__Alternatives" - // InternalApplicationConfiguration.g:1943:1: rule__ConfigEntry__Alternatives : ( ( ruleDocumentationEntry ) | ( ruleRuntimeEntry ) | ( ruleMemoryEntry ) | ( ruleCustomEntry ) ); - public final void rule__ConfigEntry__Alternatives() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:1947:1: ( ( ruleDocumentationEntry ) | ( ruleRuntimeEntry ) | ( ruleMemoryEntry ) | ( ruleCustomEntry ) ) - int alt11=4; - switch ( input.LA(1) ) { - case 35: - { - alt11=1; - } - break; - case 36: - { - alt11=2; - } - break; - case 37: - { - alt11=3; - } - break; - case RULE_STRING: - { - alt11=4; - } - break; - default: - NoViableAltException nvae = - new NoViableAltException("", 11, 0, input); - - throw nvae; - } - - switch (alt11) { - case 1 : - // InternalApplicationConfiguration.g:1948:2: ( ruleDocumentationEntry ) - { - // InternalApplicationConfiguration.g:1948:2: ( ruleDocumentationEntry ) - // InternalApplicationConfiguration.g:1949:3: ruleDocumentationEntry - { - before(grammarAccess.getConfigEntryAccess().getDocumentationEntryParserRuleCall_0()); - pushFollow(FOLLOW_2); - ruleDocumentationEntry(); - - state._fsp--; - - after(grammarAccess.getConfigEntryAccess().getDocumentationEntryParserRuleCall_0()); - - } - - - } - break; - case 2 : - // InternalApplicationConfiguration.g:1954:2: ( ruleRuntimeEntry ) - { - // InternalApplicationConfiguration.g:1954:2: ( ruleRuntimeEntry ) - // InternalApplicationConfiguration.g:1955:3: ruleRuntimeEntry - { - before(grammarAccess.getConfigEntryAccess().getRuntimeEntryParserRuleCall_1()); - pushFollow(FOLLOW_2); - ruleRuntimeEntry(); - - state._fsp--; - - after(grammarAccess.getConfigEntryAccess().getRuntimeEntryParserRuleCall_1()); - - } - - - } - break; - case 3 : - // InternalApplicationConfiguration.g:1960:2: ( ruleMemoryEntry ) - { - // InternalApplicationConfiguration.g:1960:2: ( ruleMemoryEntry ) - // InternalApplicationConfiguration.g:1961:3: ruleMemoryEntry - { - before(grammarAccess.getConfigEntryAccess().getMemoryEntryParserRuleCall_2()); - pushFollow(FOLLOW_2); - ruleMemoryEntry(); - - state._fsp--; - - after(grammarAccess.getConfigEntryAccess().getMemoryEntryParserRuleCall_2()); - - } - - - } - break; - case 4 : - // InternalApplicationConfiguration.g:1966:2: ( ruleCustomEntry ) - { - // InternalApplicationConfiguration.g:1966:2: ( ruleCustomEntry ) - // InternalApplicationConfiguration.g:1967:3: ruleCustomEntry - { - before(grammarAccess.getConfigEntryAccess().getCustomEntryParserRuleCall_3()); - pushFollow(FOLLOW_2); - ruleCustomEntry(); - - state._fsp--; - - after(grammarAccess.getConfigEntryAccess().getCustomEntryParserRuleCall_3()); - - } - - - } - break; - - } - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ConfigEntry__Alternatives" - - - // $ANTLR start "rule__Config__Alternatives" - // InternalApplicationConfiguration.g:1976:1: rule__Config__Alternatives : ( ( ruleConfigSpecification ) | ( ruleConfigReference ) ); - public final void rule__Config__Alternatives() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:1980:1: ( ( ruleConfigSpecification ) | ( ruleConfigReference ) ) - int alt12=2; - int LA12_0 = input.LA(1); - - if ( (LA12_0==24) ) { - alt12=1; - } - else if ( (LA12_0==RULE_ID) ) { - alt12=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 12, 0, input); - - throw nvae; - } - switch (alt12) { - case 1 : - // InternalApplicationConfiguration.g:1981:2: ( ruleConfigSpecification ) - { - // InternalApplicationConfiguration.g:1981:2: ( ruleConfigSpecification ) - // InternalApplicationConfiguration.g:1982:3: ruleConfigSpecification - { - before(grammarAccess.getConfigAccess().getConfigSpecificationParserRuleCall_0()); - pushFollow(FOLLOW_2); - ruleConfigSpecification(); - - state._fsp--; - - after(grammarAccess.getConfigAccess().getConfigSpecificationParserRuleCall_0()); - - } - - - } - break; - case 2 : - // InternalApplicationConfiguration.g:1987:2: ( ruleConfigReference ) - { - // InternalApplicationConfiguration.g:1987:2: ( ruleConfigReference ) - // InternalApplicationConfiguration.g:1988:3: ruleConfigReference - { - before(grammarAccess.getConfigAccess().getConfigReferenceParserRuleCall_1()); - pushFollow(FOLLOW_2); - ruleConfigReference(); - - state._fsp--; - - after(grammarAccess.getConfigAccess().getConfigReferenceParserRuleCall_1()); - - } - - - } - break; - - } - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Config__Alternatives" - - - // $ANTLR start "rule__TypeScope__Alternatives" - // InternalApplicationConfiguration.g:1997:1: rule__TypeScope__Alternatives : ( ( ruleClassTypeScope ) | ( ruleObjectTypeScope ) | ( ruleIntegerTypeScope ) | ( ruleRealTypeScope ) | ( ruleStringTypeScope ) ); - public final void rule__TypeScope__Alternatives() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:2001:1: ( ( ruleClassTypeScope ) | ( ruleObjectTypeScope ) | ( ruleIntegerTypeScope ) | ( ruleRealTypeScope ) | ( ruleStringTypeScope ) ) - int alt13=5; - int LA13_0 = input.LA(1); - - if ( (LA13_0==38) ) { - switch ( input.LA(2) ) { - case 42: - { - alt13=3; - } - break; - case 43: - { - alt13=4; - } - break; - case 39: - { - alt13=1; - } - break; - case 44: - { - alt13=5; - } - break; - case 41: - { - alt13=2; - } - break; - default: - NoViableAltException nvae = - new NoViableAltException("", 13, 1, input); - - throw nvae; - } - - } - else { - NoViableAltException nvae = - new NoViableAltException("", 13, 0, input); - - throw nvae; - } - switch (alt13) { - case 1 : - // InternalApplicationConfiguration.g:2002:2: ( ruleClassTypeScope ) - { - // InternalApplicationConfiguration.g:2002:2: ( ruleClassTypeScope ) - // InternalApplicationConfiguration.g:2003:3: ruleClassTypeScope - { - before(grammarAccess.getTypeScopeAccess().getClassTypeScopeParserRuleCall_0()); - pushFollow(FOLLOW_2); - ruleClassTypeScope(); - - state._fsp--; - - after(grammarAccess.getTypeScopeAccess().getClassTypeScopeParserRuleCall_0()); - - } - - - } - break; - case 2 : - // InternalApplicationConfiguration.g:2008:2: ( ruleObjectTypeScope ) - { - // InternalApplicationConfiguration.g:2008:2: ( ruleObjectTypeScope ) - // InternalApplicationConfiguration.g:2009:3: ruleObjectTypeScope - { - before(grammarAccess.getTypeScopeAccess().getObjectTypeScopeParserRuleCall_1()); - pushFollow(FOLLOW_2); - ruleObjectTypeScope(); - - state._fsp--; - - after(grammarAccess.getTypeScopeAccess().getObjectTypeScopeParserRuleCall_1()); - - } - - - } - break; - case 3 : - // InternalApplicationConfiguration.g:2014:2: ( ruleIntegerTypeScope ) - { - // InternalApplicationConfiguration.g:2014:2: ( ruleIntegerTypeScope ) - // InternalApplicationConfiguration.g:2015:3: ruleIntegerTypeScope - { - before(grammarAccess.getTypeScopeAccess().getIntegerTypeScopeParserRuleCall_2()); - pushFollow(FOLLOW_2); - ruleIntegerTypeScope(); - - state._fsp--; - - after(grammarAccess.getTypeScopeAccess().getIntegerTypeScopeParserRuleCall_2()); - - } - - - } - break; - case 4 : - // InternalApplicationConfiguration.g:2020:2: ( ruleRealTypeScope ) - { - // InternalApplicationConfiguration.g:2020:2: ( ruleRealTypeScope ) - // InternalApplicationConfiguration.g:2021:3: ruleRealTypeScope - { - before(grammarAccess.getTypeScopeAccess().getRealTypeScopeParserRuleCall_3()); - pushFollow(FOLLOW_2); - ruleRealTypeScope(); - - state._fsp--; - - after(grammarAccess.getTypeScopeAccess().getRealTypeScopeParserRuleCall_3()); - - } - - - } - break; - case 5 : - // InternalApplicationConfiguration.g:2026:2: ( ruleStringTypeScope ) - { - // InternalApplicationConfiguration.g:2026:2: ( ruleStringTypeScope ) - // InternalApplicationConfiguration.g:2027:3: ruleStringTypeScope - { - before(grammarAccess.getTypeScopeAccess().getStringTypeScopeParserRuleCall_4()); - pushFollow(FOLLOW_2); - ruleStringTypeScope(); - - state._fsp--; - - after(grammarAccess.getTypeScopeAccess().getStringTypeScopeParserRuleCall_4()); - - } - - - } - break; - - } - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__TypeScope__Alternatives" - - - // $ANTLR start "rule__ClassTypeScope__Alternatives_2" - // InternalApplicationConfiguration.g:2036:1: rule__ClassTypeScope__Alternatives_2 : ( ( ( rule__ClassTypeScope__SetsNewAssignment_2_0 ) ) | ( ( rule__ClassTypeScope__SetsSumAssignment_2_1 ) ) ); - public final void rule__ClassTypeScope__Alternatives_2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:2040:1: ( ( ( rule__ClassTypeScope__SetsNewAssignment_2_0 ) ) | ( ( rule__ClassTypeScope__SetsSumAssignment_2_1 ) ) ) - int alt14=2; - int LA14_0 = input.LA(1); - - if ( (LA14_0==54) ) { - alt14=1; - } - else if ( (LA14_0==23) ) { - alt14=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 14, 0, input); - - throw nvae; - } - switch (alt14) { - case 1 : - // InternalApplicationConfiguration.g:2041:2: ( ( rule__ClassTypeScope__SetsNewAssignment_2_0 ) ) - { - // InternalApplicationConfiguration.g:2041:2: ( ( rule__ClassTypeScope__SetsNewAssignment_2_0 ) ) - // InternalApplicationConfiguration.g:2042:3: ( rule__ClassTypeScope__SetsNewAssignment_2_0 ) - { - before(grammarAccess.getClassTypeScopeAccess().getSetsNewAssignment_2_0()); - // InternalApplicationConfiguration.g:2043:3: ( rule__ClassTypeScope__SetsNewAssignment_2_0 ) - // InternalApplicationConfiguration.g:2043:4: rule__ClassTypeScope__SetsNewAssignment_2_0 - { - pushFollow(FOLLOW_2); - rule__ClassTypeScope__SetsNewAssignment_2_0(); - - state._fsp--; - - - } - - after(grammarAccess.getClassTypeScopeAccess().getSetsNewAssignment_2_0()); - - } - - - } - break; - case 2 : - // InternalApplicationConfiguration.g:2047:2: ( ( rule__ClassTypeScope__SetsSumAssignment_2_1 ) ) - { - // InternalApplicationConfiguration.g:2047:2: ( ( rule__ClassTypeScope__SetsSumAssignment_2_1 ) ) - // InternalApplicationConfiguration.g:2048:3: ( rule__ClassTypeScope__SetsSumAssignment_2_1 ) - { - before(grammarAccess.getClassTypeScopeAccess().getSetsSumAssignment_2_1()); - // InternalApplicationConfiguration.g:2049:3: ( rule__ClassTypeScope__SetsSumAssignment_2_1 ) - // InternalApplicationConfiguration.g:2049:4: rule__ClassTypeScope__SetsSumAssignment_2_1 - { - pushFollow(FOLLOW_2); - rule__ClassTypeScope__SetsSumAssignment_2_1(); - - state._fsp--; - - - } - - after(grammarAccess.getClassTypeScopeAccess().getSetsSumAssignment_2_1()); - - } - - - } - break; - - } - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ClassTypeScope__Alternatives_2" - - - // $ANTLR start "rule__ClassTypeScope__Alternatives_3" - // InternalApplicationConfiguration.g:2057:1: rule__ClassTypeScope__Alternatives_3 : ( ( ( rule__ClassTypeScope__NumberAssignment_3_0 ) ) | ( ( rule__ClassTypeScope__NumberAssignment_3_1 ) ) ); - public final void rule__ClassTypeScope__Alternatives_3() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:2061:1: ( ( ( rule__ClassTypeScope__NumberAssignment_3_0 ) ) | ( ( rule__ClassTypeScope__NumberAssignment_3_1 ) ) ) - int alt15=2; - int LA15_0 = input.LA(1); - - if ( (LA15_0==RULE_INT) ) { - int LA15_1 = input.LA(2); - - if ( (LA15_1==EOF||(LA15_1>=25 && LA15_1<=26)) ) { - alt15=1; - } - else if ( (LA15_1==45) ) { - alt15=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 15, 1, input); - - throw nvae; - } - } - else if ( (LA15_0==55) ) { - alt15=1; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 15, 0, input); - - throw nvae; - } - switch (alt15) { - case 1 : - // InternalApplicationConfiguration.g:2062:2: ( ( rule__ClassTypeScope__NumberAssignment_3_0 ) ) - { - // InternalApplicationConfiguration.g:2062:2: ( ( rule__ClassTypeScope__NumberAssignment_3_0 ) ) - // InternalApplicationConfiguration.g:2063:3: ( rule__ClassTypeScope__NumberAssignment_3_0 ) - { - before(grammarAccess.getClassTypeScopeAccess().getNumberAssignment_3_0()); - // InternalApplicationConfiguration.g:2064:3: ( rule__ClassTypeScope__NumberAssignment_3_0 ) - // InternalApplicationConfiguration.g:2064:4: rule__ClassTypeScope__NumberAssignment_3_0 - { - pushFollow(FOLLOW_2); - rule__ClassTypeScope__NumberAssignment_3_0(); - - state._fsp--; - - - } - - after(grammarAccess.getClassTypeScopeAccess().getNumberAssignment_3_0()); - - } - - - } - break; - case 2 : - // InternalApplicationConfiguration.g:2068:2: ( ( rule__ClassTypeScope__NumberAssignment_3_1 ) ) - { - // InternalApplicationConfiguration.g:2068:2: ( ( rule__ClassTypeScope__NumberAssignment_3_1 ) ) - // InternalApplicationConfiguration.g:2069:3: ( rule__ClassTypeScope__NumberAssignment_3_1 ) - { - before(grammarAccess.getClassTypeScopeAccess().getNumberAssignment_3_1()); - // InternalApplicationConfiguration.g:2070:3: ( rule__ClassTypeScope__NumberAssignment_3_1 ) - // InternalApplicationConfiguration.g:2070:4: rule__ClassTypeScope__NumberAssignment_3_1 - { - pushFollow(FOLLOW_2); - rule__ClassTypeScope__NumberAssignment_3_1(); - - state._fsp--; - - - } - - after(grammarAccess.getClassTypeScopeAccess().getNumberAssignment_3_1()); - - } - - - } - break; - - } - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ClassTypeScope__Alternatives_3" - - - // $ANTLR start "rule__ObjectTypeScope__Alternatives_2" - // InternalApplicationConfiguration.g:2078:1: rule__ObjectTypeScope__Alternatives_2 : ( ( ( rule__ObjectTypeScope__SetsNewAssignment_2_0 ) ) | ( ( rule__ObjectTypeScope__SetsSumAssignment_2_1 ) ) ); - public final void rule__ObjectTypeScope__Alternatives_2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:2082:1: ( ( ( rule__ObjectTypeScope__SetsNewAssignment_2_0 ) ) | ( ( rule__ObjectTypeScope__SetsSumAssignment_2_1 ) ) ) - int alt16=2; - int LA16_0 = input.LA(1); - - if ( (LA16_0==54) ) { - alt16=1; - } - else if ( (LA16_0==23) ) { - alt16=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 16, 0, input); - - throw nvae; - } - switch (alt16) { - case 1 : - // InternalApplicationConfiguration.g:2083:2: ( ( rule__ObjectTypeScope__SetsNewAssignment_2_0 ) ) - { - // InternalApplicationConfiguration.g:2083:2: ( ( rule__ObjectTypeScope__SetsNewAssignment_2_0 ) ) - // InternalApplicationConfiguration.g:2084:3: ( rule__ObjectTypeScope__SetsNewAssignment_2_0 ) - { - before(grammarAccess.getObjectTypeScopeAccess().getSetsNewAssignment_2_0()); - // InternalApplicationConfiguration.g:2085:3: ( rule__ObjectTypeScope__SetsNewAssignment_2_0 ) - // InternalApplicationConfiguration.g:2085:4: rule__ObjectTypeScope__SetsNewAssignment_2_0 - { - pushFollow(FOLLOW_2); - rule__ObjectTypeScope__SetsNewAssignment_2_0(); - - state._fsp--; - - - } - - after(grammarAccess.getObjectTypeScopeAccess().getSetsNewAssignment_2_0()); - - } - - - } - break; - case 2 : - // InternalApplicationConfiguration.g:2089:2: ( ( rule__ObjectTypeScope__SetsSumAssignment_2_1 ) ) - { - // InternalApplicationConfiguration.g:2089:2: ( ( rule__ObjectTypeScope__SetsSumAssignment_2_1 ) ) - // InternalApplicationConfiguration.g:2090:3: ( rule__ObjectTypeScope__SetsSumAssignment_2_1 ) - { - before(grammarAccess.getObjectTypeScopeAccess().getSetsSumAssignment_2_1()); - // InternalApplicationConfiguration.g:2091:3: ( rule__ObjectTypeScope__SetsSumAssignment_2_1 ) - // InternalApplicationConfiguration.g:2091:4: rule__ObjectTypeScope__SetsSumAssignment_2_1 - { - pushFollow(FOLLOW_2); - rule__ObjectTypeScope__SetsSumAssignment_2_1(); - - state._fsp--; - - - } - - after(grammarAccess.getObjectTypeScopeAccess().getSetsSumAssignment_2_1()); - - } - - - } - break; - - } - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ObjectTypeScope__Alternatives_2" - - - // $ANTLR start "rule__ObjectTypeScope__Alternatives_3" - // InternalApplicationConfiguration.g:2099:1: rule__ObjectTypeScope__Alternatives_3 : ( ( ( rule__ObjectTypeScope__NumberAssignment_3_0 ) ) | ( ( rule__ObjectTypeScope__NumberAssignment_3_1 ) ) ); - public final void rule__ObjectTypeScope__Alternatives_3() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:2103:1: ( ( ( rule__ObjectTypeScope__NumberAssignment_3_0 ) ) | ( ( rule__ObjectTypeScope__NumberAssignment_3_1 ) ) ) - int alt17=2; - int LA17_0 = input.LA(1); - - if ( (LA17_0==RULE_INT) ) { - int LA17_1 = input.LA(2); - - if ( (LA17_1==EOF||(LA17_1>=25 && LA17_1<=26)) ) { - alt17=1; - } - else if ( (LA17_1==45) ) { - alt17=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 17, 1, input); - - throw nvae; - } - } - else if ( (LA17_0==55) ) { - alt17=1; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 17, 0, input); - - throw nvae; - } - switch (alt17) { - case 1 : - // InternalApplicationConfiguration.g:2104:2: ( ( rule__ObjectTypeScope__NumberAssignment_3_0 ) ) - { - // InternalApplicationConfiguration.g:2104:2: ( ( rule__ObjectTypeScope__NumberAssignment_3_0 ) ) - // InternalApplicationConfiguration.g:2105:3: ( rule__ObjectTypeScope__NumberAssignment_3_0 ) - { - before(grammarAccess.getObjectTypeScopeAccess().getNumberAssignment_3_0()); - // InternalApplicationConfiguration.g:2106:3: ( rule__ObjectTypeScope__NumberAssignment_3_0 ) - // InternalApplicationConfiguration.g:2106:4: rule__ObjectTypeScope__NumberAssignment_3_0 - { - pushFollow(FOLLOW_2); - rule__ObjectTypeScope__NumberAssignment_3_0(); - - state._fsp--; - - - } - - after(grammarAccess.getObjectTypeScopeAccess().getNumberAssignment_3_0()); - - } - - - } - break; - case 2 : - // InternalApplicationConfiguration.g:2110:2: ( ( rule__ObjectTypeScope__NumberAssignment_3_1 ) ) - { - // InternalApplicationConfiguration.g:2110:2: ( ( rule__ObjectTypeScope__NumberAssignment_3_1 ) ) - // InternalApplicationConfiguration.g:2111:3: ( rule__ObjectTypeScope__NumberAssignment_3_1 ) - { - before(grammarAccess.getObjectTypeScopeAccess().getNumberAssignment_3_1()); - // InternalApplicationConfiguration.g:2112:3: ( rule__ObjectTypeScope__NumberAssignment_3_1 ) - // InternalApplicationConfiguration.g:2112:4: rule__ObjectTypeScope__NumberAssignment_3_1 - { - pushFollow(FOLLOW_2); - rule__ObjectTypeScope__NumberAssignment_3_1(); - - state._fsp--; - - - } - - after(grammarAccess.getObjectTypeScopeAccess().getNumberAssignment_3_1()); - - } - - - } - break; - - } - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ObjectTypeScope__Alternatives_3" - - - // $ANTLR start "rule__IntegerTypeScope__Alternatives_2" - // InternalApplicationConfiguration.g:2120:1: rule__IntegerTypeScope__Alternatives_2 : ( ( ( rule__IntegerTypeScope__SetsNewAssignment_2_0 ) ) | ( ( rule__IntegerTypeScope__SetsSumAssignment_2_1 ) ) ); - public final void rule__IntegerTypeScope__Alternatives_2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:2124:1: ( ( ( rule__IntegerTypeScope__SetsNewAssignment_2_0 ) ) | ( ( rule__IntegerTypeScope__SetsSumAssignment_2_1 ) ) ) - int alt18=2; - int LA18_0 = input.LA(1); - - if ( (LA18_0==54) ) { - alt18=1; - } - else if ( (LA18_0==23) ) { - alt18=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 18, 0, input); - - throw nvae; - } - switch (alt18) { - case 1 : - // InternalApplicationConfiguration.g:2125:2: ( ( rule__IntegerTypeScope__SetsNewAssignment_2_0 ) ) - { - // InternalApplicationConfiguration.g:2125:2: ( ( rule__IntegerTypeScope__SetsNewAssignment_2_0 ) ) - // InternalApplicationConfiguration.g:2126:3: ( rule__IntegerTypeScope__SetsNewAssignment_2_0 ) - { - before(grammarAccess.getIntegerTypeScopeAccess().getSetsNewAssignment_2_0()); - // InternalApplicationConfiguration.g:2127:3: ( rule__IntegerTypeScope__SetsNewAssignment_2_0 ) - // InternalApplicationConfiguration.g:2127:4: rule__IntegerTypeScope__SetsNewAssignment_2_0 - { - pushFollow(FOLLOW_2); - rule__IntegerTypeScope__SetsNewAssignment_2_0(); - - state._fsp--; - - - } - - after(grammarAccess.getIntegerTypeScopeAccess().getSetsNewAssignment_2_0()); - - } - - - } - break; - case 2 : - // InternalApplicationConfiguration.g:2131:2: ( ( rule__IntegerTypeScope__SetsSumAssignment_2_1 ) ) - { - // InternalApplicationConfiguration.g:2131:2: ( ( rule__IntegerTypeScope__SetsSumAssignment_2_1 ) ) - // InternalApplicationConfiguration.g:2132:3: ( rule__IntegerTypeScope__SetsSumAssignment_2_1 ) - { - before(grammarAccess.getIntegerTypeScopeAccess().getSetsSumAssignment_2_1()); - // InternalApplicationConfiguration.g:2133:3: ( rule__IntegerTypeScope__SetsSumAssignment_2_1 ) - // InternalApplicationConfiguration.g:2133:4: rule__IntegerTypeScope__SetsSumAssignment_2_1 - { - pushFollow(FOLLOW_2); - rule__IntegerTypeScope__SetsSumAssignment_2_1(); - - state._fsp--; - - - } - - after(grammarAccess.getIntegerTypeScopeAccess().getSetsSumAssignment_2_1()); - - } - - - } - break; - - } - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__IntegerTypeScope__Alternatives_2" - - - // $ANTLR start "rule__IntegerTypeScope__Alternatives_3" - // InternalApplicationConfiguration.g:2141:1: rule__IntegerTypeScope__Alternatives_3 : ( ( ( rule__IntegerTypeScope__NumberAssignment_3_0 ) ) | ( ( rule__IntegerTypeScope__NumberAssignment_3_1 ) ) | ( ( rule__IntegerTypeScope__NumberAssignment_3_2 ) ) ); - public final void rule__IntegerTypeScope__Alternatives_3() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:2145:1: ( ( ( rule__IntegerTypeScope__NumberAssignment_3_0 ) ) | ( ( rule__IntegerTypeScope__NumberAssignment_3_1 ) ) | ( ( rule__IntegerTypeScope__NumberAssignment_3_2 ) ) ) - int alt19=3; - switch ( input.LA(1) ) { - case RULE_INT: - { - int LA19_1 = input.LA(2); - - if ( (LA19_1==45) ) { - alt19=2; - } - else if ( (LA19_1==EOF||(LA19_1>=25 && LA19_1<=26)) ) { - alt19=1; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 19, 1, input); - - throw nvae; - } - } - break; - case 55: - { - alt19=1; - } - break; - case 24: - { - alt19=3; - } - break; - default: - NoViableAltException nvae = - new NoViableAltException("", 19, 0, input); - - throw nvae; - } - - switch (alt19) { - case 1 : - // InternalApplicationConfiguration.g:2146:2: ( ( rule__IntegerTypeScope__NumberAssignment_3_0 ) ) - { - // InternalApplicationConfiguration.g:2146:2: ( ( rule__IntegerTypeScope__NumberAssignment_3_0 ) ) - // InternalApplicationConfiguration.g:2147:3: ( rule__IntegerTypeScope__NumberAssignment_3_0 ) - { - before(grammarAccess.getIntegerTypeScopeAccess().getNumberAssignment_3_0()); - // InternalApplicationConfiguration.g:2148:3: ( rule__IntegerTypeScope__NumberAssignment_3_0 ) - // InternalApplicationConfiguration.g:2148:4: rule__IntegerTypeScope__NumberAssignment_3_0 - { - pushFollow(FOLLOW_2); - rule__IntegerTypeScope__NumberAssignment_3_0(); - - state._fsp--; - - - } - - after(grammarAccess.getIntegerTypeScopeAccess().getNumberAssignment_3_0()); - - } - - - } - break; - case 2 : - // InternalApplicationConfiguration.g:2152:2: ( ( rule__IntegerTypeScope__NumberAssignment_3_1 ) ) - { - // InternalApplicationConfiguration.g:2152:2: ( ( rule__IntegerTypeScope__NumberAssignment_3_1 ) ) - // InternalApplicationConfiguration.g:2153:3: ( rule__IntegerTypeScope__NumberAssignment_3_1 ) - { - before(grammarAccess.getIntegerTypeScopeAccess().getNumberAssignment_3_1()); - // InternalApplicationConfiguration.g:2154:3: ( rule__IntegerTypeScope__NumberAssignment_3_1 ) - // InternalApplicationConfiguration.g:2154:4: rule__IntegerTypeScope__NumberAssignment_3_1 - { - pushFollow(FOLLOW_2); - rule__IntegerTypeScope__NumberAssignment_3_1(); - - state._fsp--; - - - } - - after(grammarAccess.getIntegerTypeScopeAccess().getNumberAssignment_3_1()); - - } - - - } - break; - case 3 : - // InternalApplicationConfiguration.g:2158:2: ( ( rule__IntegerTypeScope__NumberAssignment_3_2 ) ) - { - // InternalApplicationConfiguration.g:2158:2: ( ( rule__IntegerTypeScope__NumberAssignment_3_2 ) ) - // InternalApplicationConfiguration.g:2159:3: ( rule__IntegerTypeScope__NumberAssignment_3_2 ) - { - before(grammarAccess.getIntegerTypeScopeAccess().getNumberAssignment_3_2()); - // InternalApplicationConfiguration.g:2160:3: ( rule__IntegerTypeScope__NumberAssignment_3_2 ) - // InternalApplicationConfiguration.g:2160:4: rule__IntegerTypeScope__NumberAssignment_3_2 - { - pushFollow(FOLLOW_2); - rule__IntegerTypeScope__NumberAssignment_3_2(); - - state._fsp--; - - - } - - after(grammarAccess.getIntegerTypeScopeAccess().getNumberAssignment_3_2()); - - } - - - } - break; - - } - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__IntegerTypeScope__Alternatives_3" - - - // $ANTLR start "rule__RealTypeScope__Alternatives_2" - // InternalApplicationConfiguration.g:2168:1: rule__RealTypeScope__Alternatives_2 : ( ( ( rule__RealTypeScope__SetsNewAssignment_2_0 ) ) | ( ( rule__RealTypeScope__SetsSumAssignment_2_1 ) ) ); - public final void rule__RealTypeScope__Alternatives_2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:2172:1: ( ( ( rule__RealTypeScope__SetsNewAssignment_2_0 ) ) | ( ( rule__RealTypeScope__SetsSumAssignment_2_1 ) ) ) - int alt20=2; - int LA20_0 = input.LA(1); - - if ( (LA20_0==54) ) { - alt20=1; - } - else if ( (LA20_0==23) ) { - alt20=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 20, 0, input); - - throw nvae; - } - switch (alt20) { - case 1 : - // InternalApplicationConfiguration.g:2173:2: ( ( rule__RealTypeScope__SetsNewAssignment_2_0 ) ) - { - // InternalApplicationConfiguration.g:2173:2: ( ( rule__RealTypeScope__SetsNewAssignment_2_0 ) ) - // InternalApplicationConfiguration.g:2174:3: ( rule__RealTypeScope__SetsNewAssignment_2_0 ) - { - before(grammarAccess.getRealTypeScopeAccess().getSetsNewAssignment_2_0()); - // InternalApplicationConfiguration.g:2175:3: ( rule__RealTypeScope__SetsNewAssignment_2_0 ) - // InternalApplicationConfiguration.g:2175:4: rule__RealTypeScope__SetsNewAssignment_2_0 - { - pushFollow(FOLLOW_2); - rule__RealTypeScope__SetsNewAssignment_2_0(); - - state._fsp--; - - - } - - after(grammarAccess.getRealTypeScopeAccess().getSetsNewAssignment_2_0()); - - } - - - } - break; - case 2 : - // InternalApplicationConfiguration.g:2179:2: ( ( rule__RealTypeScope__SetsSumAssignment_2_1 ) ) - { - // InternalApplicationConfiguration.g:2179:2: ( ( rule__RealTypeScope__SetsSumAssignment_2_1 ) ) - // InternalApplicationConfiguration.g:2180:3: ( rule__RealTypeScope__SetsSumAssignment_2_1 ) - { - before(grammarAccess.getRealTypeScopeAccess().getSetsSumAssignment_2_1()); - // InternalApplicationConfiguration.g:2181:3: ( rule__RealTypeScope__SetsSumAssignment_2_1 ) - // InternalApplicationConfiguration.g:2181:4: rule__RealTypeScope__SetsSumAssignment_2_1 - { - pushFollow(FOLLOW_2); - rule__RealTypeScope__SetsSumAssignment_2_1(); - - state._fsp--; - - - } - - after(grammarAccess.getRealTypeScopeAccess().getSetsSumAssignment_2_1()); - - } - - - } - break; - - } - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__RealTypeScope__Alternatives_2" - - - // $ANTLR start "rule__RealTypeScope__Alternatives_3" - // InternalApplicationConfiguration.g:2189:1: rule__RealTypeScope__Alternatives_3 : ( ( ( rule__RealTypeScope__NumberAssignment_3_0 ) ) | ( ( rule__RealTypeScope__NumberAssignment_3_1 ) ) | ( ( rule__RealTypeScope__NumberAssignment_3_2 ) ) ); - public final void rule__RealTypeScope__Alternatives_3() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:2193:1: ( ( ( rule__RealTypeScope__NumberAssignment_3_0 ) ) | ( ( rule__RealTypeScope__NumberAssignment_3_1 ) ) | ( ( rule__RealTypeScope__NumberAssignment_3_2 ) ) ) - int alt21=3; - switch ( input.LA(1) ) { - case RULE_INT: - { - int LA21_1 = input.LA(2); - - if ( (LA21_1==EOF||(LA21_1>=25 && LA21_1<=26)) ) { - alt21=1; - } - else if ( (LA21_1==45) ) { - alt21=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 21, 1, input); - - throw nvae; - } - } - break; - case 55: - { - alt21=1; - } - break; - case 24: - { - alt21=3; - } - break; - default: - NoViableAltException nvae = - new NoViableAltException("", 21, 0, input); - - throw nvae; - } - - switch (alt21) { - case 1 : - // InternalApplicationConfiguration.g:2194:2: ( ( rule__RealTypeScope__NumberAssignment_3_0 ) ) - { - // InternalApplicationConfiguration.g:2194:2: ( ( rule__RealTypeScope__NumberAssignment_3_0 ) ) - // InternalApplicationConfiguration.g:2195:3: ( rule__RealTypeScope__NumberAssignment_3_0 ) - { - before(grammarAccess.getRealTypeScopeAccess().getNumberAssignment_3_0()); - // InternalApplicationConfiguration.g:2196:3: ( rule__RealTypeScope__NumberAssignment_3_0 ) - // InternalApplicationConfiguration.g:2196:4: rule__RealTypeScope__NumberAssignment_3_0 - { - pushFollow(FOLLOW_2); - rule__RealTypeScope__NumberAssignment_3_0(); - - state._fsp--; - - - } - - after(grammarAccess.getRealTypeScopeAccess().getNumberAssignment_3_0()); - - } - - - } - break; - case 2 : - // InternalApplicationConfiguration.g:2200:2: ( ( rule__RealTypeScope__NumberAssignment_3_1 ) ) - { - // InternalApplicationConfiguration.g:2200:2: ( ( rule__RealTypeScope__NumberAssignment_3_1 ) ) - // InternalApplicationConfiguration.g:2201:3: ( rule__RealTypeScope__NumberAssignment_3_1 ) - { - before(grammarAccess.getRealTypeScopeAccess().getNumberAssignment_3_1()); - // InternalApplicationConfiguration.g:2202:3: ( rule__RealTypeScope__NumberAssignment_3_1 ) - // InternalApplicationConfiguration.g:2202:4: rule__RealTypeScope__NumberAssignment_3_1 - { - pushFollow(FOLLOW_2); - rule__RealTypeScope__NumberAssignment_3_1(); - - state._fsp--; - - - } - - after(grammarAccess.getRealTypeScopeAccess().getNumberAssignment_3_1()); - - } - - - } - break; - case 3 : - // InternalApplicationConfiguration.g:2206:2: ( ( rule__RealTypeScope__NumberAssignment_3_2 ) ) - { - // InternalApplicationConfiguration.g:2206:2: ( ( rule__RealTypeScope__NumberAssignment_3_2 ) ) - // InternalApplicationConfiguration.g:2207:3: ( rule__RealTypeScope__NumberAssignment_3_2 ) - { - before(grammarAccess.getRealTypeScopeAccess().getNumberAssignment_3_2()); - // InternalApplicationConfiguration.g:2208:3: ( rule__RealTypeScope__NumberAssignment_3_2 ) - // InternalApplicationConfiguration.g:2208:4: rule__RealTypeScope__NumberAssignment_3_2 - { - pushFollow(FOLLOW_2); - rule__RealTypeScope__NumberAssignment_3_2(); - - state._fsp--; - - - } - - after(grammarAccess.getRealTypeScopeAccess().getNumberAssignment_3_2()); - - } - - - } - break; - - } - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__RealTypeScope__Alternatives_3" - - - // $ANTLR start "rule__StringTypeScope__Alternatives_2" - // InternalApplicationConfiguration.g:2216:1: rule__StringTypeScope__Alternatives_2 : ( ( ( rule__StringTypeScope__SetsNewAssignment_2_0 ) ) | ( ( rule__StringTypeScope__SetsSumAssignment_2_1 ) ) ); - public final void rule__StringTypeScope__Alternatives_2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:2220:1: ( ( ( rule__StringTypeScope__SetsNewAssignment_2_0 ) ) | ( ( rule__StringTypeScope__SetsSumAssignment_2_1 ) ) ) - int alt22=2; - int LA22_0 = input.LA(1); - - if ( (LA22_0==54) ) { - alt22=1; - } - else if ( (LA22_0==23) ) { - alt22=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 22, 0, input); - - throw nvae; - } - switch (alt22) { - case 1 : - // InternalApplicationConfiguration.g:2221:2: ( ( rule__StringTypeScope__SetsNewAssignment_2_0 ) ) - { - // InternalApplicationConfiguration.g:2221:2: ( ( rule__StringTypeScope__SetsNewAssignment_2_0 ) ) - // InternalApplicationConfiguration.g:2222:3: ( rule__StringTypeScope__SetsNewAssignment_2_0 ) - { - before(grammarAccess.getStringTypeScopeAccess().getSetsNewAssignment_2_0()); - // InternalApplicationConfiguration.g:2223:3: ( rule__StringTypeScope__SetsNewAssignment_2_0 ) - // InternalApplicationConfiguration.g:2223:4: rule__StringTypeScope__SetsNewAssignment_2_0 - { - pushFollow(FOLLOW_2); - rule__StringTypeScope__SetsNewAssignment_2_0(); - - state._fsp--; - - - } - - after(grammarAccess.getStringTypeScopeAccess().getSetsNewAssignment_2_0()); - - } - - - } - break; - case 2 : - // InternalApplicationConfiguration.g:2227:2: ( ( rule__StringTypeScope__SetsSumAssignment_2_1 ) ) - { - // InternalApplicationConfiguration.g:2227:2: ( ( rule__StringTypeScope__SetsSumAssignment_2_1 ) ) - // InternalApplicationConfiguration.g:2228:3: ( rule__StringTypeScope__SetsSumAssignment_2_1 ) - { - before(grammarAccess.getStringTypeScopeAccess().getSetsSumAssignment_2_1()); - // InternalApplicationConfiguration.g:2229:3: ( rule__StringTypeScope__SetsSumAssignment_2_1 ) - // InternalApplicationConfiguration.g:2229:4: rule__StringTypeScope__SetsSumAssignment_2_1 - { - pushFollow(FOLLOW_2); - rule__StringTypeScope__SetsSumAssignment_2_1(); - - state._fsp--; - - - } - - after(grammarAccess.getStringTypeScopeAccess().getSetsSumAssignment_2_1()); - - } - - - } - break; - - } - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__StringTypeScope__Alternatives_2" - - - // $ANTLR start "rule__StringTypeScope__Alternatives_3" - // InternalApplicationConfiguration.g:2237:1: rule__StringTypeScope__Alternatives_3 : ( ( ( rule__StringTypeScope__NumberAssignment_3_0 ) ) | ( ( rule__StringTypeScope__NumberAssignment_3_1 ) ) | ( ( rule__StringTypeScope__NumberAssignment_3_2 ) ) ); - public final void rule__StringTypeScope__Alternatives_3() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:2241:1: ( ( ( rule__StringTypeScope__NumberAssignment_3_0 ) ) | ( ( rule__StringTypeScope__NumberAssignment_3_1 ) ) | ( ( rule__StringTypeScope__NumberAssignment_3_2 ) ) ) - int alt23=3; - switch ( input.LA(1) ) { - case RULE_INT: - { - int LA23_1 = input.LA(2); - - if ( (LA23_1==EOF||(LA23_1>=25 && LA23_1<=26)) ) { - alt23=1; - } - else if ( (LA23_1==45) ) { - alt23=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 23, 1, input); - - throw nvae; - } - } - break; - case 55: - { - alt23=1; - } - break; - case 24: - { - alt23=3; - } - break; - default: - NoViableAltException nvae = - new NoViableAltException("", 23, 0, input); - - throw nvae; - } - - switch (alt23) { - case 1 : - // InternalApplicationConfiguration.g:2242:2: ( ( rule__StringTypeScope__NumberAssignment_3_0 ) ) - { - // InternalApplicationConfiguration.g:2242:2: ( ( rule__StringTypeScope__NumberAssignment_3_0 ) ) - // InternalApplicationConfiguration.g:2243:3: ( rule__StringTypeScope__NumberAssignment_3_0 ) - { - before(grammarAccess.getStringTypeScopeAccess().getNumberAssignment_3_0()); - // InternalApplicationConfiguration.g:2244:3: ( rule__StringTypeScope__NumberAssignment_3_0 ) - // InternalApplicationConfiguration.g:2244:4: rule__StringTypeScope__NumberAssignment_3_0 - { - pushFollow(FOLLOW_2); - rule__StringTypeScope__NumberAssignment_3_0(); - - state._fsp--; - - - } - - after(grammarAccess.getStringTypeScopeAccess().getNumberAssignment_3_0()); - - } - - - } - break; - case 2 : - // InternalApplicationConfiguration.g:2248:2: ( ( rule__StringTypeScope__NumberAssignment_3_1 ) ) - { - // InternalApplicationConfiguration.g:2248:2: ( ( rule__StringTypeScope__NumberAssignment_3_1 ) ) - // InternalApplicationConfiguration.g:2249:3: ( rule__StringTypeScope__NumberAssignment_3_1 ) - { - before(grammarAccess.getStringTypeScopeAccess().getNumberAssignment_3_1()); - // InternalApplicationConfiguration.g:2250:3: ( rule__StringTypeScope__NumberAssignment_3_1 ) - // InternalApplicationConfiguration.g:2250:4: rule__StringTypeScope__NumberAssignment_3_1 - { - pushFollow(FOLLOW_2); - rule__StringTypeScope__NumberAssignment_3_1(); - - state._fsp--; - - - } - - after(grammarAccess.getStringTypeScopeAccess().getNumberAssignment_3_1()); - - } - - - } - break; - case 3 : - // InternalApplicationConfiguration.g:2254:2: ( ( rule__StringTypeScope__NumberAssignment_3_2 ) ) - { - // InternalApplicationConfiguration.g:2254:2: ( ( rule__StringTypeScope__NumberAssignment_3_2 ) ) - // InternalApplicationConfiguration.g:2255:3: ( rule__StringTypeScope__NumberAssignment_3_2 ) - { - before(grammarAccess.getStringTypeScopeAccess().getNumberAssignment_3_2()); - // InternalApplicationConfiguration.g:2256:3: ( rule__StringTypeScope__NumberAssignment_3_2 ) - // InternalApplicationConfiguration.g:2256:4: rule__StringTypeScope__NumberAssignment_3_2 - { - pushFollow(FOLLOW_2); - rule__StringTypeScope__NumberAssignment_3_2(); - - state._fsp--; - - - } - - after(grammarAccess.getStringTypeScopeAccess().getNumberAssignment_3_2()); - - } - - - } - break; - - } - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__StringTypeScope__Alternatives_3" - - - // $ANTLR start "rule__ExactNumber__Alternatives" - // InternalApplicationConfiguration.g:2264:1: rule__ExactNumber__Alternatives : ( ( ( rule__ExactNumber__ExactNumberAssignment_0 ) ) | ( ( rule__ExactNumber__ExactUnlimitedAssignment_1 ) ) ); - public final void rule__ExactNumber__Alternatives() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:2268:1: ( ( ( rule__ExactNumber__ExactNumberAssignment_0 ) ) | ( ( rule__ExactNumber__ExactUnlimitedAssignment_1 ) ) ) - int alt24=2; - int LA24_0 = input.LA(1); - - if ( (LA24_0==RULE_INT) ) { - alt24=1; - } - else if ( (LA24_0==55) ) { - alt24=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 24, 0, input); - - throw nvae; - } - switch (alt24) { - case 1 : - // InternalApplicationConfiguration.g:2269:2: ( ( rule__ExactNumber__ExactNumberAssignment_0 ) ) - { - // InternalApplicationConfiguration.g:2269:2: ( ( rule__ExactNumber__ExactNumberAssignment_0 ) ) - // InternalApplicationConfiguration.g:2270:3: ( rule__ExactNumber__ExactNumberAssignment_0 ) - { - before(grammarAccess.getExactNumberAccess().getExactNumberAssignment_0()); - // InternalApplicationConfiguration.g:2271:3: ( rule__ExactNumber__ExactNumberAssignment_0 ) - // InternalApplicationConfiguration.g:2271:4: rule__ExactNumber__ExactNumberAssignment_0 - { - pushFollow(FOLLOW_2); - rule__ExactNumber__ExactNumberAssignment_0(); - - state._fsp--; - - - } - - after(grammarAccess.getExactNumberAccess().getExactNumberAssignment_0()); - - } - - - } - break; - case 2 : - // InternalApplicationConfiguration.g:2275:2: ( ( rule__ExactNumber__ExactUnlimitedAssignment_1 ) ) - { - // InternalApplicationConfiguration.g:2275:2: ( ( rule__ExactNumber__ExactUnlimitedAssignment_1 ) ) - // InternalApplicationConfiguration.g:2276:3: ( rule__ExactNumber__ExactUnlimitedAssignment_1 ) - { - before(grammarAccess.getExactNumberAccess().getExactUnlimitedAssignment_1()); - // InternalApplicationConfiguration.g:2277:3: ( rule__ExactNumber__ExactUnlimitedAssignment_1 ) - // InternalApplicationConfiguration.g:2277:4: rule__ExactNumber__ExactUnlimitedAssignment_1 - { - pushFollow(FOLLOW_2); - rule__ExactNumber__ExactUnlimitedAssignment_1(); - - state._fsp--; - - - } - - after(grammarAccess.getExactNumberAccess().getExactUnlimitedAssignment_1()); - - } - - - } - break; - - } - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ExactNumber__Alternatives" - - - // $ANTLR start "rule__IntervallNumber__Alternatives_2" - // InternalApplicationConfiguration.g:2285:1: rule__IntervallNumber__Alternatives_2 : ( ( ( rule__IntervallNumber__MaxNumberAssignment_2_0 ) ) | ( ( rule__IntervallNumber__MaxUnlimitedAssignment_2_1 ) ) ); - public final void rule__IntervallNumber__Alternatives_2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:2289:1: ( ( ( rule__IntervallNumber__MaxNumberAssignment_2_0 ) ) | ( ( rule__IntervallNumber__MaxUnlimitedAssignment_2_1 ) ) ) - int alt25=2; - int LA25_0 = input.LA(1); - - if ( (LA25_0==RULE_INT) ) { - alt25=1; - } - else if ( (LA25_0==55) ) { - alt25=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 25, 0, input); - - throw nvae; - } - switch (alt25) { - case 1 : - // InternalApplicationConfiguration.g:2290:2: ( ( rule__IntervallNumber__MaxNumberAssignment_2_0 ) ) - { - // InternalApplicationConfiguration.g:2290:2: ( ( rule__IntervallNumber__MaxNumberAssignment_2_0 ) ) - // InternalApplicationConfiguration.g:2291:3: ( rule__IntervallNumber__MaxNumberAssignment_2_0 ) - { - before(grammarAccess.getIntervallNumberAccess().getMaxNumberAssignment_2_0()); - // InternalApplicationConfiguration.g:2292:3: ( rule__IntervallNumber__MaxNumberAssignment_2_0 ) - // InternalApplicationConfiguration.g:2292:4: rule__IntervallNumber__MaxNumberAssignment_2_0 - { - pushFollow(FOLLOW_2); - rule__IntervallNumber__MaxNumberAssignment_2_0(); - - state._fsp--; - - - } - - after(grammarAccess.getIntervallNumberAccess().getMaxNumberAssignment_2_0()); - - } - - - } - break; - case 2 : - // InternalApplicationConfiguration.g:2296:2: ( ( rule__IntervallNumber__MaxUnlimitedAssignment_2_1 ) ) - { - // InternalApplicationConfiguration.g:2296:2: ( ( rule__IntervallNumber__MaxUnlimitedAssignment_2_1 ) ) - // InternalApplicationConfiguration.g:2297:3: ( rule__IntervallNumber__MaxUnlimitedAssignment_2_1 ) - { - before(grammarAccess.getIntervallNumberAccess().getMaxUnlimitedAssignment_2_1()); - // InternalApplicationConfiguration.g:2298:3: ( rule__IntervallNumber__MaxUnlimitedAssignment_2_1 ) - // InternalApplicationConfiguration.g:2298:4: rule__IntervallNumber__MaxUnlimitedAssignment_2_1 - { - pushFollow(FOLLOW_2); - rule__IntervallNumber__MaxUnlimitedAssignment_2_1(); - - state._fsp--; - - - } - - after(grammarAccess.getIntervallNumberAccess().getMaxUnlimitedAssignment_2_1()); - - } - - - } - break; - - } - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__IntervallNumber__Alternatives_2" - - - // $ANTLR start "rule__Scope__Alternatives" - // InternalApplicationConfiguration.g:2306:1: rule__Scope__Alternatives : ( ( ruleScopeSpecification ) | ( ruleScopeReference ) ); - public final void rule__Scope__Alternatives() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:2310:1: ( ( ruleScopeSpecification ) | ( ruleScopeReference ) ) - int alt26=2; - int LA26_0 = input.LA(1); - - if ( (LA26_0==24) ) { - alt26=1; - } - else if ( (LA26_0==RULE_ID) ) { - alt26=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 26, 0, input); - - throw nvae; - } - switch (alt26) { - case 1 : - // InternalApplicationConfiguration.g:2311:2: ( ruleScopeSpecification ) - { - // InternalApplicationConfiguration.g:2311:2: ( ruleScopeSpecification ) - // InternalApplicationConfiguration.g:2312:3: ruleScopeSpecification - { - before(grammarAccess.getScopeAccess().getScopeSpecificationParserRuleCall_0()); - pushFollow(FOLLOW_2); - ruleScopeSpecification(); - - state._fsp--; - - after(grammarAccess.getScopeAccess().getScopeSpecificationParserRuleCall_0()); - - } - - - } - break; - case 2 : - // InternalApplicationConfiguration.g:2317:2: ( ruleScopeReference ) - { - // InternalApplicationConfiguration.g:2317:2: ( ruleScopeReference ) - // InternalApplicationConfiguration.g:2318:3: ruleScopeReference - { - before(grammarAccess.getScopeAccess().getScopeReferenceParserRuleCall_1()); - pushFollow(FOLLOW_2); - ruleScopeReference(); - - state._fsp--; - - after(grammarAccess.getScopeAccess().getScopeReferenceParserRuleCall_1()); - - } - - - } - break; - - } - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Scope__Alternatives" - - - // $ANTLR start "rule__DocumentLevelSpecification__Alternatives" - // InternalApplicationConfiguration.g:2327:1: rule__DocumentLevelSpecification__Alternatives : ( ( ( 'none' ) ) | ( ( 'normal' ) ) | ( ( 'full' ) ) ); - public final void rule__DocumentLevelSpecification__Alternatives() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:2331:1: ( ( ( 'none' ) ) | ( ( 'normal' ) ) | ( ( 'full' ) ) ) - int alt27=3; - switch ( input.LA(1) ) { - case 11: - { - alt27=1; - } - break; - case 12: - { - alt27=2; - } - break; - case 13: - { - alt27=3; - } - break; - default: - NoViableAltException nvae = - new NoViableAltException("", 27, 0, input); - - throw nvae; - } - - switch (alt27) { - case 1 : - // InternalApplicationConfiguration.g:2332:2: ( ( 'none' ) ) - { - // InternalApplicationConfiguration.g:2332:2: ( ( 'none' ) ) - // InternalApplicationConfiguration.g:2333:3: ( 'none' ) - { - before(grammarAccess.getDocumentLevelSpecificationAccess().getNoneEnumLiteralDeclaration_0()); - // InternalApplicationConfiguration.g:2334:3: ( 'none' ) - // InternalApplicationConfiguration.g:2334:4: 'none' - { - match(input,11,FOLLOW_2); - - } - - after(grammarAccess.getDocumentLevelSpecificationAccess().getNoneEnumLiteralDeclaration_0()); - - } - - - } - break; - case 2 : - // InternalApplicationConfiguration.g:2338:2: ( ( 'normal' ) ) - { - // InternalApplicationConfiguration.g:2338:2: ( ( 'normal' ) ) - // InternalApplicationConfiguration.g:2339:3: ( 'normal' ) - { - before(grammarAccess.getDocumentLevelSpecificationAccess().getNormalEnumLiteralDeclaration_1()); - // InternalApplicationConfiguration.g:2340:3: ( 'normal' ) - // InternalApplicationConfiguration.g:2340:4: 'normal' - { - match(input,12,FOLLOW_2); - - } - - after(grammarAccess.getDocumentLevelSpecificationAccess().getNormalEnumLiteralDeclaration_1()); - - } - - - } - break; - case 3 : - // InternalApplicationConfiguration.g:2344:2: ( ( 'full' ) ) - { - // InternalApplicationConfiguration.g:2344:2: ( ( 'full' ) ) - // InternalApplicationConfiguration.g:2345:3: ( 'full' ) - { - before(grammarAccess.getDocumentLevelSpecificationAccess().getFullEnumLiteralDeclaration_2()); - // InternalApplicationConfiguration.g:2346:3: ( 'full' ) - // InternalApplicationConfiguration.g:2346:4: 'full' - { - match(input,13,FOLLOW_2); - - } - - after(grammarAccess.getDocumentLevelSpecificationAccess().getFullEnumLiteralDeclaration_2()); - - } - - - } - break; - - } - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__DocumentLevelSpecification__Alternatives" - - - // $ANTLR start "rule__Solver__Alternatives" - // InternalApplicationConfiguration.g:2354:1: rule__Solver__Alternatives : ( ( ( 'SMTSolver' ) ) | ( ( 'AlloySolver' ) ) | ( ( 'ViatraSolver' ) ) ); - public final void rule__Solver__Alternatives() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:2358:1: ( ( ( 'SMTSolver' ) ) | ( ( 'AlloySolver' ) ) | ( ( 'ViatraSolver' ) ) ) - int alt28=3; - switch ( input.LA(1) ) { - case 14: - { - alt28=1; - } - break; - case 15: - { - alt28=2; - } - break; - case 16: - { - alt28=3; - } - break; - default: - NoViableAltException nvae = - new NoViableAltException("", 28, 0, input); - - throw nvae; - } - - switch (alt28) { - case 1 : - // InternalApplicationConfiguration.g:2359:2: ( ( 'SMTSolver' ) ) - { - // InternalApplicationConfiguration.g:2359:2: ( ( 'SMTSolver' ) ) - // InternalApplicationConfiguration.g:2360:3: ( 'SMTSolver' ) - { - before(grammarAccess.getSolverAccess().getSMTSolverEnumLiteralDeclaration_0()); - // InternalApplicationConfiguration.g:2361:3: ( 'SMTSolver' ) - // InternalApplicationConfiguration.g:2361:4: 'SMTSolver' - { - match(input,14,FOLLOW_2); - - } - - after(grammarAccess.getSolverAccess().getSMTSolverEnumLiteralDeclaration_0()); - - } - - - } - break; - case 2 : - // InternalApplicationConfiguration.g:2365:2: ( ( 'AlloySolver' ) ) - { - // InternalApplicationConfiguration.g:2365:2: ( ( 'AlloySolver' ) ) - // InternalApplicationConfiguration.g:2366:3: ( 'AlloySolver' ) - { - before(grammarAccess.getSolverAccess().getAlloySolverEnumLiteralDeclaration_1()); - // InternalApplicationConfiguration.g:2367:3: ( 'AlloySolver' ) - // InternalApplicationConfiguration.g:2367:4: 'AlloySolver' - { - match(input,15,FOLLOW_2); - - } - - after(grammarAccess.getSolverAccess().getAlloySolverEnumLiteralDeclaration_1()); - - } - - - } - break; - case 3 : - // InternalApplicationConfiguration.g:2371:2: ( ( 'ViatraSolver' ) ) - { - // InternalApplicationConfiguration.g:2371:2: ( ( 'ViatraSolver' ) ) - // InternalApplicationConfiguration.g:2372:3: ( 'ViatraSolver' ) - { - before(grammarAccess.getSolverAccess().getViatraSolverEnumLiteralDeclaration_2()); - // InternalApplicationConfiguration.g:2373:3: ( 'ViatraSolver' ) - // InternalApplicationConfiguration.g:2373:4: 'ViatraSolver' - { - match(input,16,FOLLOW_2); - - } - - after(grammarAccess.getSolverAccess().getViatraSolverEnumLiteralDeclaration_2()); - - } - - - } - break; - - } - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Solver__Alternatives" - - - // $ANTLR start "rule__ConfigurationScript__Group__0" - // InternalApplicationConfiguration.g:2381:1: rule__ConfigurationScript__Group__0 : rule__ConfigurationScript__Group__0__Impl rule__ConfigurationScript__Group__1 ; - public final void rule__ConfigurationScript__Group__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:2385:1: ( rule__ConfigurationScript__Group__0__Impl rule__ConfigurationScript__Group__1 ) - // InternalApplicationConfiguration.g:2386:2: rule__ConfigurationScript__Group__0__Impl rule__ConfigurationScript__Group__1 - { - pushFollow(FOLLOW_3); - rule__ConfigurationScript__Group__0__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__ConfigurationScript__Group__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ConfigurationScript__Group__0" - - - // $ANTLR start "rule__ConfigurationScript__Group__0__Impl" - // InternalApplicationConfiguration.g:2393:1: rule__ConfigurationScript__Group__0__Impl : ( ( rule__ConfigurationScript__ImportsAssignment_0 )* ) ; - public final void rule__ConfigurationScript__Group__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:2397:1: ( ( ( rule__ConfigurationScript__ImportsAssignment_0 )* ) ) - // InternalApplicationConfiguration.g:2398:1: ( ( rule__ConfigurationScript__ImportsAssignment_0 )* ) - { - // InternalApplicationConfiguration.g:2398:1: ( ( rule__ConfigurationScript__ImportsAssignment_0 )* ) - // InternalApplicationConfiguration.g:2399:2: ( rule__ConfigurationScript__ImportsAssignment_0 )* - { - before(grammarAccess.getConfigurationScriptAccess().getImportsAssignment_0()); - // InternalApplicationConfiguration.g:2400:2: ( rule__ConfigurationScript__ImportsAssignment_0 )* - loop29: - do { - int alt29=2; - int LA29_0 = input.LA(1); - - if ( (LA29_0==19) ) { - alt29=1; - } - - - switch (alt29) { - case 1 : - // InternalApplicationConfiguration.g:2400:3: rule__ConfigurationScript__ImportsAssignment_0 - { - pushFollow(FOLLOW_4); - rule__ConfigurationScript__ImportsAssignment_0(); - - state._fsp--; - - - } - break; - - default : - break loop29; - } - } while (true); - - after(grammarAccess.getConfigurationScriptAccess().getImportsAssignment_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ConfigurationScript__Group__0__Impl" - - - // $ANTLR start "rule__ConfigurationScript__Group__1" - // InternalApplicationConfiguration.g:2408:1: rule__ConfigurationScript__Group__1 : rule__ConfigurationScript__Group__1__Impl ; - public final void rule__ConfigurationScript__Group__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:2412:1: ( rule__ConfigurationScript__Group__1__Impl ) - // InternalApplicationConfiguration.g:2413:2: rule__ConfigurationScript__Group__1__Impl - { - pushFollow(FOLLOW_2); - rule__ConfigurationScript__Group__1__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ConfigurationScript__Group__1" - - - // $ANTLR start "rule__ConfigurationScript__Group__1__Impl" - // InternalApplicationConfiguration.g:2419:1: rule__ConfigurationScript__Group__1__Impl : ( ( rule__ConfigurationScript__CommandsAssignment_1 )* ) ; - public final void rule__ConfigurationScript__Group__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:2423:1: ( ( ( rule__ConfigurationScript__CommandsAssignment_1 )* ) ) - // InternalApplicationConfiguration.g:2424:1: ( ( rule__ConfigurationScript__CommandsAssignment_1 )* ) - { - // InternalApplicationConfiguration.g:2424:1: ( ( rule__ConfigurationScript__CommandsAssignment_1 )* ) - // InternalApplicationConfiguration.g:2425:2: ( rule__ConfigurationScript__CommandsAssignment_1 )* - { - before(grammarAccess.getConfigurationScriptAccess().getCommandsAssignment_1()); - // InternalApplicationConfiguration.g:2426:2: ( rule__ConfigurationScript__CommandsAssignment_1 )* - loop30: - do { - int alt30=2; - int LA30_0 = input.LA(1); - - if ( (LA30_0==22||LA30_0==30||(LA30_0>=32 && LA30_0<=34)||(LA30_0>=46 && LA30_0<=47)) ) { - alt30=1; - } - - - switch (alt30) { - case 1 : - // InternalApplicationConfiguration.g:2426:3: rule__ConfigurationScript__CommandsAssignment_1 - { - pushFollow(FOLLOW_5); - rule__ConfigurationScript__CommandsAssignment_1(); - - state._fsp--; - - - } - break; - - default : - break loop30; - } - } while (true); - - after(grammarAccess.getConfigurationScriptAccess().getCommandsAssignment_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ConfigurationScript__Group__1__Impl" - - - // $ANTLR start "rule__QualifiedName__Group__0" - // InternalApplicationConfiguration.g:2435:1: rule__QualifiedName__Group__0 : rule__QualifiedName__Group__0__Impl rule__QualifiedName__Group__1 ; - public final void rule__QualifiedName__Group__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:2439:1: ( rule__QualifiedName__Group__0__Impl rule__QualifiedName__Group__1 ) - // InternalApplicationConfiguration.g:2440:2: rule__QualifiedName__Group__0__Impl rule__QualifiedName__Group__1 - { - pushFollow(FOLLOW_6); - rule__QualifiedName__Group__0__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__QualifiedName__Group__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__QualifiedName__Group__0" - - - // $ANTLR start "rule__QualifiedName__Group__0__Impl" - // InternalApplicationConfiguration.g:2447:1: rule__QualifiedName__Group__0__Impl : ( RULE_ID ) ; - public final void rule__QualifiedName__Group__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:2451:1: ( ( RULE_ID ) ) - // InternalApplicationConfiguration.g:2452:1: ( RULE_ID ) - { - // InternalApplicationConfiguration.g:2452:1: ( RULE_ID ) - // InternalApplicationConfiguration.g:2453:2: RULE_ID - { - before(grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_0()); - match(input,RULE_ID,FOLLOW_2); - after(grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__QualifiedName__Group__0__Impl" - - - // $ANTLR start "rule__QualifiedName__Group__1" - // InternalApplicationConfiguration.g:2462:1: rule__QualifiedName__Group__1 : rule__QualifiedName__Group__1__Impl ; - public final void rule__QualifiedName__Group__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:2466:1: ( rule__QualifiedName__Group__1__Impl ) - // InternalApplicationConfiguration.g:2467:2: rule__QualifiedName__Group__1__Impl - { - pushFollow(FOLLOW_2); - rule__QualifiedName__Group__1__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__QualifiedName__Group__1" - - - // $ANTLR start "rule__QualifiedName__Group__1__Impl" - // InternalApplicationConfiguration.g:2473:1: rule__QualifiedName__Group__1__Impl : ( ( rule__QualifiedName__Group_1__0 )* ) ; - public final void rule__QualifiedName__Group__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:2477:1: ( ( ( rule__QualifiedName__Group_1__0 )* ) ) - // InternalApplicationConfiguration.g:2478:1: ( ( rule__QualifiedName__Group_1__0 )* ) - { - // InternalApplicationConfiguration.g:2478:1: ( ( rule__QualifiedName__Group_1__0 )* ) - // InternalApplicationConfiguration.g:2479:2: ( rule__QualifiedName__Group_1__0 )* - { - before(grammarAccess.getQualifiedNameAccess().getGroup_1()); - // InternalApplicationConfiguration.g:2480:2: ( rule__QualifiedName__Group_1__0 )* - loop31: - do { - int alt31=2; - int LA31_0 = input.LA(1); - - if ( (LA31_0==17) ) { - alt31=1; - } - - - switch (alt31) { - case 1 : - // InternalApplicationConfiguration.g:2480:3: rule__QualifiedName__Group_1__0 - { - pushFollow(FOLLOW_7); - rule__QualifiedName__Group_1__0(); - - state._fsp--; - - - } - break; - - default : - break loop31; - } - } while (true); - - after(grammarAccess.getQualifiedNameAccess().getGroup_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__QualifiedName__Group__1__Impl" - - - // $ANTLR start "rule__QualifiedName__Group_1__0" - // InternalApplicationConfiguration.g:2489:1: rule__QualifiedName__Group_1__0 : rule__QualifiedName__Group_1__0__Impl rule__QualifiedName__Group_1__1 ; - public final void rule__QualifiedName__Group_1__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:2493:1: ( rule__QualifiedName__Group_1__0__Impl rule__QualifiedName__Group_1__1 ) - // InternalApplicationConfiguration.g:2494:2: rule__QualifiedName__Group_1__0__Impl rule__QualifiedName__Group_1__1 - { - pushFollow(FOLLOW_8); - rule__QualifiedName__Group_1__0__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__QualifiedName__Group_1__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__QualifiedName__Group_1__0" - - - // $ANTLR start "rule__QualifiedName__Group_1__0__Impl" - // InternalApplicationConfiguration.g:2501:1: rule__QualifiedName__Group_1__0__Impl : ( '.' ) ; - public final void rule__QualifiedName__Group_1__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:2505:1: ( ( '.' ) ) - // InternalApplicationConfiguration.g:2506:1: ( '.' ) - { - // InternalApplicationConfiguration.g:2506:1: ( '.' ) - // InternalApplicationConfiguration.g:2507:2: '.' - { - before(grammarAccess.getQualifiedNameAccess().getFullStopKeyword_1_0()); - match(input,17,FOLLOW_2); - after(grammarAccess.getQualifiedNameAccess().getFullStopKeyword_1_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__QualifiedName__Group_1__0__Impl" - - - // $ANTLR start "rule__QualifiedName__Group_1__1" - // InternalApplicationConfiguration.g:2516:1: rule__QualifiedName__Group_1__1 : rule__QualifiedName__Group_1__1__Impl ; - public final void rule__QualifiedName__Group_1__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:2520:1: ( rule__QualifiedName__Group_1__1__Impl ) - // InternalApplicationConfiguration.g:2521:2: rule__QualifiedName__Group_1__1__Impl - { - pushFollow(FOLLOW_2); - rule__QualifiedName__Group_1__1__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__QualifiedName__Group_1__1" - - - // $ANTLR start "rule__QualifiedName__Group_1__1__Impl" - // InternalApplicationConfiguration.g:2527:1: rule__QualifiedName__Group_1__1__Impl : ( RULE_ID ) ; - public final void rule__QualifiedName__Group_1__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:2531:1: ( ( RULE_ID ) ) - // InternalApplicationConfiguration.g:2532:1: ( RULE_ID ) - { - // InternalApplicationConfiguration.g:2532:1: ( RULE_ID ) - // InternalApplicationConfiguration.g:2533:2: RULE_ID - { - before(grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_1_1()); - match(input,RULE_ID,FOLLOW_2); - after(grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_1_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__QualifiedName__Group_1__1__Impl" - - - // $ANTLR start "rule__REALLiteral__Group__0" - // InternalApplicationConfiguration.g:2543:1: rule__REALLiteral__Group__0 : rule__REALLiteral__Group__0__Impl rule__REALLiteral__Group__1 ; - public final void rule__REALLiteral__Group__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:2547:1: ( rule__REALLiteral__Group__0__Impl rule__REALLiteral__Group__1 ) - // InternalApplicationConfiguration.g:2548:2: rule__REALLiteral__Group__0__Impl rule__REALLiteral__Group__1 - { - pushFollow(FOLLOW_9); - rule__REALLiteral__Group__0__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__REALLiteral__Group__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__REALLiteral__Group__0" - - - // $ANTLR start "rule__REALLiteral__Group__0__Impl" - // InternalApplicationConfiguration.g:2555:1: rule__REALLiteral__Group__0__Impl : ( ( '-' )? ) ; - public final void rule__REALLiteral__Group__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:2559:1: ( ( ( '-' )? ) ) - // InternalApplicationConfiguration.g:2560:1: ( ( '-' )? ) - { - // InternalApplicationConfiguration.g:2560:1: ( ( '-' )? ) - // InternalApplicationConfiguration.g:2561:2: ( '-' )? - { - before(grammarAccess.getREALLiteralAccess().getHyphenMinusKeyword_0()); - // InternalApplicationConfiguration.g:2562:2: ( '-' )? - int alt32=2; - int LA32_0 = input.LA(1); - - if ( (LA32_0==18) ) { - alt32=1; - } - switch (alt32) { - case 1 : - // InternalApplicationConfiguration.g:2562:3: '-' - { - match(input,18,FOLLOW_2); - - } - break; - - } - - after(grammarAccess.getREALLiteralAccess().getHyphenMinusKeyword_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__REALLiteral__Group__0__Impl" - - - // $ANTLR start "rule__REALLiteral__Group__1" - // InternalApplicationConfiguration.g:2570:1: rule__REALLiteral__Group__1 : rule__REALLiteral__Group__1__Impl rule__REALLiteral__Group__2 ; - public final void rule__REALLiteral__Group__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:2574:1: ( rule__REALLiteral__Group__1__Impl rule__REALLiteral__Group__2 ) - // InternalApplicationConfiguration.g:2575:2: rule__REALLiteral__Group__1__Impl rule__REALLiteral__Group__2 - { - pushFollow(FOLLOW_6); - rule__REALLiteral__Group__1__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__REALLiteral__Group__2(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__REALLiteral__Group__1" - - - // $ANTLR start "rule__REALLiteral__Group__1__Impl" - // InternalApplicationConfiguration.g:2582:1: rule__REALLiteral__Group__1__Impl : ( RULE_INT ) ; - public final void rule__REALLiteral__Group__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:2586:1: ( ( RULE_INT ) ) - // InternalApplicationConfiguration.g:2587:1: ( RULE_INT ) - { - // InternalApplicationConfiguration.g:2587:1: ( RULE_INT ) - // InternalApplicationConfiguration.g:2588:2: RULE_INT - { - before(grammarAccess.getREALLiteralAccess().getINTTerminalRuleCall_1()); - match(input,RULE_INT,FOLLOW_2); - after(grammarAccess.getREALLiteralAccess().getINTTerminalRuleCall_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__REALLiteral__Group__1__Impl" - - - // $ANTLR start "rule__REALLiteral__Group__2" - // InternalApplicationConfiguration.g:2597:1: rule__REALLiteral__Group__2 : rule__REALLiteral__Group__2__Impl rule__REALLiteral__Group__3 ; - public final void rule__REALLiteral__Group__2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:2601:1: ( rule__REALLiteral__Group__2__Impl rule__REALLiteral__Group__3 ) - // InternalApplicationConfiguration.g:2602:2: rule__REALLiteral__Group__2__Impl rule__REALLiteral__Group__3 - { - pushFollow(FOLLOW_9); - rule__REALLiteral__Group__2__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__REALLiteral__Group__3(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__REALLiteral__Group__2" - - - // $ANTLR start "rule__REALLiteral__Group__2__Impl" - // InternalApplicationConfiguration.g:2609:1: rule__REALLiteral__Group__2__Impl : ( '.' ) ; - public final void rule__REALLiteral__Group__2__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:2613:1: ( ( '.' ) ) - // InternalApplicationConfiguration.g:2614:1: ( '.' ) - { - // InternalApplicationConfiguration.g:2614:1: ( '.' ) - // InternalApplicationConfiguration.g:2615:2: '.' - { - before(grammarAccess.getREALLiteralAccess().getFullStopKeyword_2()); - match(input,17,FOLLOW_2); - after(grammarAccess.getREALLiteralAccess().getFullStopKeyword_2()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__REALLiteral__Group__2__Impl" - - - // $ANTLR start "rule__REALLiteral__Group__3" - // InternalApplicationConfiguration.g:2624:1: rule__REALLiteral__Group__3 : rule__REALLiteral__Group__3__Impl ; - public final void rule__REALLiteral__Group__3() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:2628:1: ( rule__REALLiteral__Group__3__Impl ) - // InternalApplicationConfiguration.g:2629:2: rule__REALLiteral__Group__3__Impl - { - pushFollow(FOLLOW_2); - rule__REALLiteral__Group__3__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__REALLiteral__Group__3" - - - // $ANTLR start "rule__REALLiteral__Group__3__Impl" - // InternalApplicationConfiguration.g:2635:1: rule__REALLiteral__Group__3__Impl : ( RULE_INT ) ; - public final void rule__REALLiteral__Group__3__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:2639:1: ( ( RULE_INT ) ) - // InternalApplicationConfiguration.g:2640:1: ( RULE_INT ) - { - // InternalApplicationConfiguration.g:2640:1: ( RULE_INT ) - // InternalApplicationConfiguration.g:2641:2: RULE_INT - { - before(grammarAccess.getREALLiteralAccess().getINTTerminalRuleCall_3()); - match(input,RULE_INT,FOLLOW_2); - after(grammarAccess.getREALLiteralAccess().getINTTerminalRuleCall_3()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__REALLiteral__Group__3__Impl" - - - // $ANTLR start "rule__INTLiteral__Group__0" - // InternalApplicationConfiguration.g:2651:1: rule__INTLiteral__Group__0 : rule__INTLiteral__Group__0__Impl rule__INTLiteral__Group__1 ; - public final void rule__INTLiteral__Group__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:2655:1: ( rule__INTLiteral__Group__0__Impl rule__INTLiteral__Group__1 ) - // InternalApplicationConfiguration.g:2656:2: rule__INTLiteral__Group__0__Impl rule__INTLiteral__Group__1 - { - pushFollow(FOLLOW_9); - rule__INTLiteral__Group__0__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__INTLiteral__Group__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__INTLiteral__Group__0" - - - // $ANTLR start "rule__INTLiteral__Group__0__Impl" - // InternalApplicationConfiguration.g:2663:1: rule__INTLiteral__Group__0__Impl : ( ( '-' )? ) ; - public final void rule__INTLiteral__Group__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:2667:1: ( ( ( '-' )? ) ) - // InternalApplicationConfiguration.g:2668:1: ( ( '-' )? ) - { - // InternalApplicationConfiguration.g:2668:1: ( ( '-' )? ) - // InternalApplicationConfiguration.g:2669:2: ( '-' )? - { - before(grammarAccess.getINTLiteralAccess().getHyphenMinusKeyword_0()); - // InternalApplicationConfiguration.g:2670:2: ( '-' )? - int alt33=2; - int LA33_0 = input.LA(1); - - if ( (LA33_0==18) ) { - alt33=1; - } - switch (alt33) { - case 1 : - // InternalApplicationConfiguration.g:2670:3: '-' - { - match(input,18,FOLLOW_2); - - } - break; - - } - - after(grammarAccess.getINTLiteralAccess().getHyphenMinusKeyword_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__INTLiteral__Group__0__Impl" - - - // $ANTLR start "rule__INTLiteral__Group__1" - // InternalApplicationConfiguration.g:2678:1: rule__INTLiteral__Group__1 : rule__INTLiteral__Group__1__Impl ; - public final void rule__INTLiteral__Group__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:2682:1: ( rule__INTLiteral__Group__1__Impl ) - // InternalApplicationConfiguration.g:2683:2: rule__INTLiteral__Group__1__Impl - { - pushFollow(FOLLOW_2); - rule__INTLiteral__Group__1__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__INTLiteral__Group__1" - - - // $ANTLR start "rule__INTLiteral__Group__1__Impl" - // InternalApplicationConfiguration.g:2689:1: rule__INTLiteral__Group__1__Impl : ( RULE_INT ) ; - public final void rule__INTLiteral__Group__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:2693:1: ( ( RULE_INT ) ) - // InternalApplicationConfiguration.g:2694:1: ( RULE_INT ) - { - // InternalApplicationConfiguration.g:2694:1: ( RULE_INT ) - // InternalApplicationConfiguration.g:2695:2: RULE_INT - { - before(grammarAccess.getINTLiteralAccess().getINTTerminalRuleCall_1()); - match(input,RULE_INT,FOLLOW_2); - after(grammarAccess.getINTLiteralAccess().getINTTerminalRuleCall_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__INTLiteral__Group__1__Impl" - - - // $ANTLR start "rule__EPackageImport__Group__0" - // InternalApplicationConfiguration.g:2705:1: rule__EPackageImport__Group__0 : rule__EPackageImport__Group__0__Impl rule__EPackageImport__Group__1 ; - public final void rule__EPackageImport__Group__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:2709:1: ( rule__EPackageImport__Group__0__Impl rule__EPackageImport__Group__1 ) - // InternalApplicationConfiguration.g:2710:2: rule__EPackageImport__Group__0__Impl rule__EPackageImport__Group__1 - { - pushFollow(FOLLOW_10); - rule__EPackageImport__Group__0__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__EPackageImport__Group__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__EPackageImport__Group__0" - - - // $ANTLR start "rule__EPackageImport__Group__0__Impl" - // InternalApplicationConfiguration.g:2717:1: rule__EPackageImport__Group__0__Impl : ( 'import' ) ; - public final void rule__EPackageImport__Group__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:2721:1: ( ( 'import' ) ) - // InternalApplicationConfiguration.g:2722:1: ( 'import' ) - { - // InternalApplicationConfiguration.g:2722:1: ( 'import' ) - // InternalApplicationConfiguration.g:2723:2: 'import' - { - before(grammarAccess.getEPackageImportAccess().getImportKeyword_0()); - match(input,19,FOLLOW_2); - after(grammarAccess.getEPackageImportAccess().getImportKeyword_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__EPackageImport__Group__0__Impl" - - - // $ANTLR start "rule__EPackageImport__Group__1" - // InternalApplicationConfiguration.g:2732:1: rule__EPackageImport__Group__1 : rule__EPackageImport__Group__1__Impl rule__EPackageImport__Group__2 ; - public final void rule__EPackageImport__Group__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:2736:1: ( rule__EPackageImport__Group__1__Impl rule__EPackageImport__Group__2 ) - // InternalApplicationConfiguration.g:2737:2: rule__EPackageImport__Group__1__Impl rule__EPackageImport__Group__2 - { - pushFollow(FOLLOW_11); - rule__EPackageImport__Group__1__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__EPackageImport__Group__2(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__EPackageImport__Group__1" - - - // $ANTLR start "rule__EPackageImport__Group__1__Impl" - // InternalApplicationConfiguration.g:2744:1: rule__EPackageImport__Group__1__Impl : ( 'epackage' ) ; - public final void rule__EPackageImport__Group__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:2748:1: ( ( 'epackage' ) ) - // InternalApplicationConfiguration.g:2749:1: ( 'epackage' ) - { - // InternalApplicationConfiguration.g:2749:1: ( 'epackage' ) - // InternalApplicationConfiguration.g:2750:2: 'epackage' - { - before(grammarAccess.getEPackageImportAccess().getEpackageKeyword_1()); - match(input,20,FOLLOW_2); - after(grammarAccess.getEPackageImportAccess().getEpackageKeyword_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__EPackageImport__Group__1__Impl" - - - // $ANTLR start "rule__EPackageImport__Group__2" - // InternalApplicationConfiguration.g:2759:1: rule__EPackageImport__Group__2 : rule__EPackageImport__Group__2__Impl ; - public final void rule__EPackageImport__Group__2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:2763:1: ( rule__EPackageImport__Group__2__Impl ) - // InternalApplicationConfiguration.g:2764:2: rule__EPackageImport__Group__2__Impl - { - pushFollow(FOLLOW_2); - rule__EPackageImport__Group__2__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__EPackageImport__Group__2" - - - // $ANTLR start "rule__EPackageImport__Group__2__Impl" - // InternalApplicationConfiguration.g:2770:1: rule__EPackageImport__Group__2__Impl : ( ( rule__EPackageImport__ImportedPackageAssignment_2 ) ) ; - public final void rule__EPackageImport__Group__2__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:2774:1: ( ( ( rule__EPackageImport__ImportedPackageAssignment_2 ) ) ) - // InternalApplicationConfiguration.g:2775:1: ( ( rule__EPackageImport__ImportedPackageAssignment_2 ) ) - { - // InternalApplicationConfiguration.g:2775:1: ( ( rule__EPackageImport__ImportedPackageAssignment_2 ) ) - // InternalApplicationConfiguration.g:2776:2: ( rule__EPackageImport__ImportedPackageAssignment_2 ) - { - before(grammarAccess.getEPackageImportAccess().getImportedPackageAssignment_2()); - // InternalApplicationConfiguration.g:2777:2: ( rule__EPackageImport__ImportedPackageAssignment_2 ) - // InternalApplicationConfiguration.g:2777:3: rule__EPackageImport__ImportedPackageAssignment_2 - { - pushFollow(FOLLOW_2); - rule__EPackageImport__ImportedPackageAssignment_2(); - - state._fsp--; - - - } - - after(grammarAccess.getEPackageImportAccess().getImportedPackageAssignment_2()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__EPackageImport__Group__2__Impl" - - - // $ANTLR start "rule__ViatraImport__Group__0" - // InternalApplicationConfiguration.g:2786:1: rule__ViatraImport__Group__0 : rule__ViatraImport__Group__0__Impl rule__ViatraImport__Group__1 ; - public final void rule__ViatraImport__Group__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:2790:1: ( rule__ViatraImport__Group__0__Impl rule__ViatraImport__Group__1 ) - // InternalApplicationConfiguration.g:2791:2: rule__ViatraImport__Group__0__Impl rule__ViatraImport__Group__1 - { - pushFollow(FOLLOW_12); - rule__ViatraImport__Group__0__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__ViatraImport__Group__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ViatraImport__Group__0" - - - // $ANTLR start "rule__ViatraImport__Group__0__Impl" - // InternalApplicationConfiguration.g:2798:1: rule__ViatraImport__Group__0__Impl : ( 'import' ) ; - public final void rule__ViatraImport__Group__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:2802:1: ( ( 'import' ) ) - // InternalApplicationConfiguration.g:2803:1: ( 'import' ) - { - // InternalApplicationConfiguration.g:2803:1: ( 'import' ) - // InternalApplicationConfiguration.g:2804:2: 'import' - { - before(grammarAccess.getViatraImportAccess().getImportKeyword_0()); - match(input,19,FOLLOW_2); - after(grammarAccess.getViatraImportAccess().getImportKeyword_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ViatraImport__Group__0__Impl" - - - // $ANTLR start "rule__ViatraImport__Group__1" - // InternalApplicationConfiguration.g:2813:1: rule__ViatraImport__Group__1 : rule__ViatraImport__Group__1__Impl rule__ViatraImport__Group__2 ; - public final void rule__ViatraImport__Group__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:2817:1: ( rule__ViatraImport__Group__1__Impl rule__ViatraImport__Group__2 ) - // InternalApplicationConfiguration.g:2818:2: rule__ViatraImport__Group__1__Impl rule__ViatraImport__Group__2 - { - pushFollow(FOLLOW_11); - rule__ViatraImport__Group__1__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__ViatraImport__Group__2(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ViatraImport__Group__1" - - - // $ANTLR start "rule__ViatraImport__Group__1__Impl" - // InternalApplicationConfiguration.g:2825:1: rule__ViatraImport__Group__1__Impl : ( 'viatra' ) ; - public final void rule__ViatraImport__Group__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:2829:1: ( ( 'viatra' ) ) - // InternalApplicationConfiguration.g:2830:1: ( 'viatra' ) - { - // InternalApplicationConfiguration.g:2830:1: ( 'viatra' ) - // InternalApplicationConfiguration.g:2831:2: 'viatra' - { - before(grammarAccess.getViatraImportAccess().getViatraKeyword_1()); - match(input,21,FOLLOW_2); - after(grammarAccess.getViatraImportAccess().getViatraKeyword_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ViatraImport__Group__1__Impl" - - - // $ANTLR start "rule__ViatraImport__Group__2" - // InternalApplicationConfiguration.g:2840:1: rule__ViatraImport__Group__2 : rule__ViatraImport__Group__2__Impl ; - public final void rule__ViatraImport__Group__2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:2844:1: ( rule__ViatraImport__Group__2__Impl ) - // InternalApplicationConfiguration.g:2845:2: rule__ViatraImport__Group__2__Impl - { - pushFollow(FOLLOW_2); - rule__ViatraImport__Group__2__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ViatraImport__Group__2" - - - // $ANTLR start "rule__ViatraImport__Group__2__Impl" - // InternalApplicationConfiguration.g:2851:1: rule__ViatraImport__Group__2__Impl : ( ( rule__ViatraImport__ImportedViatraAssignment_2 ) ) ; - public final void rule__ViatraImport__Group__2__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:2855:1: ( ( ( rule__ViatraImport__ImportedViatraAssignment_2 ) ) ) - // InternalApplicationConfiguration.g:2856:1: ( ( rule__ViatraImport__ImportedViatraAssignment_2 ) ) - { - // InternalApplicationConfiguration.g:2856:1: ( ( rule__ViatraImport__ImportedViatraAssignment_2 ) ) - // InternalApplicationConfiguration.g:2857:2: ( rule__ViatraImport__ImportedViatraAssignment_2 ) - { - before(grammarAccess.getViatraImportAccess().getImportedViatraAssignment_2()); - // InternalApplicationConfiguration.g:2858:2: ( rule__ViatraImport__ImportedViatraAssignment_2 ) - // InternalApplicationConfiguration.g:2858:3: rule__ViatraImport__ImportedViatraAssignment_2 - { - pushFollow(FOLLOW_2); - rule__ViatraImport__ImportedViatraAssignment_2(); - - state._fsp--; - - - } - - after(grammarAccess.getViatraImportAccess().getImportedViatraAssignment_2()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ViatraImport__Group__2__Impl" - - - // $ANTLR start "rule__FileDeclaration__Group__0" - // InternalApplicationConfiguration.g:2867:1: rule__FileDeclaration__Group__0 : rule__FileDeclaration__Group__0__Impl rule__FileDeclaration__Group__1 ; - public final void rule__FileDeclaration__Group__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:2871:1: ( rule__FileDeclaration__Group__0__Impl rule__FileDeclaration__Group__1 ) - // InternalApplicationConfiguration.g:2872:2: rule__FileDeclaration__Group__0__Impl rule__FileDeclaration__Group__1 - { - pushFollow(FOLLOW_8); - rule__FileDeclaration__Group__0__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__FileDeclaration__Group__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__FileDeclaration__Group__0" - - - // $ANTLR start "rule__FileDeclaration__Group__0__Impl" - // InternalApplicationConfiguration.g:2879:1: rule__FileDeclaration__Group__0__Impl : ( 'file' ) ; - public final void rule__FileDeclaration__Group__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:2883:1: ( ( 'file' ) ) - // InternalApplicationConfiguration.g:2884:1: ( 'file' ) - { - // InternalApplicationConfiguration.g:2884:1: ( 'file' ) - // InternalApplicationConfiguration.g:2885:2: 'file' - { - before(grammarAccess.getFileDeclarationAccess().getFileKeyword_0()); - match(input,22,FOLLOW_2); - after(grammarAccess.getFileDeclarationAccess().getFileKeyword_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__FileDeclaration__Group__0__Impl" - - - // $ANTLR start "rule__FileDeclaration__Group__1" - // InternalApplicationConfiguration.g:2894:1: rule__FileDeclaration__Group__1 : rule__FileDeclaration__Group__1__Impl rule__FileDeclaration__Group__2 ; - public final void rule__FileDeclaration__Group__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:2898:1: ( rule__FileDeclaration__Group__1__Impl rule__FileDeclaration__Group__2 ) - // InternalApplicationConfiguration.g:2899:2: rule__FileDeclaration__Group__1__Impl rule__FileDeclaration__Group__2 - { - pushFollow(FOLLOW_13); - rule__FileDeclaration__Group__1__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__FileDeclaration__Group__2(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__FileDeclaration__Group__1" - - - // $ANTLR start "rule__FileDeclaration__Group__1__Impl" - // InternalApplicationConfiguration.g:2906:1: rule__FileDeclaration__Group__1__Impl : ( ( rule__FileDeclaration__NameAssignment_1 ) ) ; - public final void rule__FileDeclaration__Group__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:2910:1: ( ( ( rule__FileDeclaration__NameAssignment_1 ) ) ) - // InternalApplicationConfiguration.g:2911:1: ( ( rule__FileDeclaration__NameAssignment_1 ) ) - { - // InternalApplicationConfiguration.g:2911:1: ( ( rule__FileDeclaration__NameAssignment_1 ) ) - // InternalApplicationConfiguration.g:2912:2: ( rule__FileDeclaration__NameAssignment_1 ) - { - before(grammarAccess.getFileDeclarationAccess().getNameAssignment_1()); - // InternalApplicationConfiguration.g:2913:2: ( rule__FileDeclaration__NameAssignment_1 ) - // InternalApplicationConfiguration.g:2913:3: rule__FileDeclaration__NameAssignment_1 - { - pushFollow(FOLLOW_2); - rule__FileDeclaration__NameAssignment_1(); - - state._fsp--; - - - } - - after(grammarAccess.getFileDeclarationAccess().getNameAssignment_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__FileDeclaration__Group__1__Impl" - - - // $ANTLR start "rule__FileDeclaration__Group__2" - // InternalApplicationConfiguration.g:2921:1: rule__FileDeclaration__Group__2 : rule__FileDeclaration__Group__2__Impl rule__FileDeclaration__Group__3 ; - public final void rule__FileDeclaration__Group__2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:2925:1: ( rule__FileDeclaration__Group__2__Impl rule__FileDeclaration__Group__3 ) - // InternalApplicationConfiguration.g:2926:2: rule__FileDeclaration__Group__2__Impl rule__FileDeclaration__Group__3 - { - pushFollow(FOLLOW_11); - rule__FileDeclaration__Group__2__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__FileDeclaration__Group__3(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__FileDeclaration__Group__2" - - - // $ANTLR start "rule__FileDeclaration__Group__2__Impl" - // InternalApplicationConfiguration.g:2933:1: rule__FileDeclaration__Group__2__Impl : ( '=' ) ; - public final void rule__FileDeclaration__Group__2__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:2937:1: ( ( '=' ) ) - // InternalApplicationConfiguration.g:2938:1: ( '=' ) - { - // InternalApplicationConfiguration.g:2938:1: ( '=' ) - // InternalApplicationConfiguration.g:2939:2: '=' - { - before(grammarAccess.getFileDeclarationAccess().getEqualsSignKeyword_2()); - match(input,23,FOLLOW_2); - after(grammarAccess.getFileDeclarationAccess().getEqualsSignKeyword_2()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__FileDeclaration__Group__2__Impl" - - - // $ANTLR start "rule__FileDeclaration__Group__3" - // InternalApplicationConfiguration.g:2948:1: rule__FileDeclaration__Group__3 : rule__FileDeclaration__Group__3__Impl ; - public final void rule__FileDeclaration__Group__3() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:2952:1: ( rule__FileDeclaration__Group__3__Impl ) - // InternalApplicationConfiguration.g:2953:2: rule__FileDeclaration__Group__3__Impl - { - pushFollow(FOLLOW_2); - rule__FileDeclaration__Group__3__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__FileDeclaration__Group__3" - - - // $ANTLR start "rule__FileDeclaration__Group__3__Impl" - // InternalApplicationConfiguration.g:2959:1: rule__FileDeclaration__Group__3__Impl : ( ( rule__FileDeclaration__SpecificationAssignment_3 ) ) ; - public final void rule__FileDeclaration__Group__3__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:2963:1: ( ( ( rule__FileDeclaration__SpecificationAssignment_3 ) ) ) - // InternalApplicationConfiguration.g:2964:1: ( ( rule__FileDeclaration__SpecificationAssignment_3 ) ) - { - // InternalApplicationConfiguration.g:2964:1: ( ( rule__FileDeclaration__SpecificationAssignment_3 ) ) - // InternalApplicationConfiguration.g:2965:2: ( rule__FileDeclaration__SpecificationAssignment_3 ) - { - before(grammarAccess.getFileDeclarationAccess().getSpecificationAssignment_3()); - // InternalApplicationConfiguration.g:2966:2: ( rule__FileDeclaration__SpecificationAssignment_3 ) - // InternalApplicationConfiguration.g:2966:3: rule__FileDeclaration__SpecificationAssignment_3 - { - pushFollow(FOLLOW_2); - rule__FileDeclaration__SpecificationAssignment_3(); - - state._fsp--; - - - } - - after(grammarAccess.getFileDeclarationAccess().getSpecificationAssignment_3()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__FileDeclaration__Group__3__Impl" - - - // $ANTLR start "rule__MetamodelSpecification__Group__0" - // InternalApplicationConfiguration.g:2975:1: rule__MetamodelSpecification__Group__0 : rule__MetamodelSpecification__Group__0__Impl rule__MetamodelSpecification__Group__1 ; - public final void rule__MetamodelSpecification__Group__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:2979:1: ( rule__MetamodelSpecification__Group__0__Impl rule__MetamodelSpecification__Group__1 ) - // InternalApplicationConfiguration.g:2980:2: rule__MetamodelSpecification__Group__0__Impl rule__MetamodelSpecification__Group__1 - { - pushFollow(FOLLOW_14); - rule__MetamodelSpecification__Group__0__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__MetamodelSpecification__Group__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__MetamodelSpecification__Group__0" - - - // $ANTLR start "rule__MetamodelSpecification__Group__0__Impl" - // InternalApplicationConfiguration.g:2987:1: rule__MetamodelSpecification__Group__0__Impl : ( '{' ) ; - public final void rule__MetamodelSpecification__Group__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:2991:1: ( ( '{' ) ) - // InternalApplicationConfiguration.g:2992:1: ( '{' ) - { - // InternalApplicationConfiguration.g:2992:1: ( '{' ) - // InternalApplicationConfiguration.g:2993:2: '{' - { - before(grammarAccess.getMetamodelSpecificationAccess().getLeftCurlyBracketKeyword_0()); - match(input,24,FOLLOW_2); - after(grammarAccess.getMetamodelSpecificationAccess().getLeftCurlyBracketKeyword_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__MetamodelSpecification__Group__0__Impl" - - - // $ANTLR start "rule__MetamodelSpecification__Group__1" - // InternalApplicationConfiguration.g:3002:1: rule__MetamodelSpecification__Group__1 : rule__MetamodelSpecification__Group__1__Impl rule__MetamodelSpecification__Group__2 ; - public final void rule__MetamodelSpecification__Group__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:3006:1: ( rule__MetamodelSpecification__Group__1__Impl rule__MetamodelSpecification__Group__2 ) - // InternalApplicationConfiguration.g:3007:2: rule__MetamodelSpecification__Group__1__Impl rule__MetamodelSpecification__Group__2 - { - pushFollow(FOLLOW_15); - rule__MetamodelSpecification__Group__1__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__MetamodelSpecification__Group__2(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__MetamodelSpecification__Group__1" - - - // $ANTLR start "rule__MetamodelSpecification__Group__1__Impl" - // InternalApplicationConfiguration.g:3014:1: rule__MetamodelSpecification__Group__1__Impl : ( ( rule__MetamodelSpecification__EntriesAssignment_1 ) ) ; - public final void rule__MetamodelSpecification__Group__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:3018:1: ( ( ( rule__MetamodelSpecification__EntriesAssignment_1 ) ) ) - // InternalApplicationConfiguration.g:3019:1: ( ( rule__MetamodelSpecification__EntriesAssignment_1 ) ) - { - // InternalApplicationConfiguration.g:3019:1: ( ( rule__MetamodelSpecification__EntriesAssignment_1 ) ) - // InternalApplicationConfiguration.g:3020:2: ( rule__MetamodelSpecification__EntriesAssignment_1 ) - { - before(grammarAccess.getMetamodelSpecificationAccess().getEntriesAssignment_1()); - // InternalApplicationConfiguration.g:3021:2: ( rule__MetamodelSpecification__EntriesAssignment_1 ) - // InternalApplicationConfiguration.g:3021:3: rule__MetamodelSpecification__EntriesAssignment_1 - { - pushFollow(FOLLOW_2); - rule__MetamodelSpecification__EntriesAssignment_1(); - - state._fsp--; - - - } - - after(grammarAccess.getMetamodelSpecificationAccess().getEntriesAssignment_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__MetamodelSpecification__Group__1__Impl" - - - // $ANTLR start "rule__MetamodelSpecification__Group__2" - // InternalApplicationConfiguration.g:3029:1: rule__MetamodelSpecification__Group__2 : rule__MetamodelSpecification__Group__2__Impl rule__MetamodelSpecification__Group__3 ; - public final void rule__MetamodelSpecification__Group__2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:3033:1: ( rule__MetamodelSpecification__Group__2__Impl rule__MetamodelSpecification__Group__3 ) - // InternalApplicationConfiguration.g:3034:2: rule__MetamodelSpecification__Group__2__Impl rule__MetamodelSpecification__Group__3 - { - pushFollow(FOLLOW_15); - rule__MetamodelSpecification__Group__2__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__MetamodelSpecification__Group__3(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__MetamodelSpecification__Group__2" - - - // $ANTLR start "rule__MetamodelSpecification__Group__2__Impl" - // InternalApplicationConfiguration.g:3041:1: rule__MetamodelSpecification__Group__2__Impl : ( ( rule__MetamodelSpecification__Group_2__0 )* ) ; - public final void rule__MetamodelSpecification__Group__2__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:3045:1: ( ( ( rule__MetamodelSpecification__Group_2__0 )* ) ) - // InternalApplicationConfiguration.g:3046:1: ( ( rule__MetamodelSpecification__Group_2__0 )* ) - { - // InternalApplicationConfiguration.g:3046:1: ( ( rule__MetamodelSpecification__Group_2__0 )* ) - // InternalApplicationConfiguration.g:3047:2: ( rule__MetamodelSpecification__Group_2__0 )* - { - before(grammarAccess.getMetamodelSpecificationAccess().getGroup_2()); - // InternalApplicationConfiguration.g:3048:2: ( rule__MetamodelSpecification__Group_2__0 )* - loop34: - do { - int alt34=2; - int LA34_0 = input.LA(1); - - if ( (LA34_0==26) ) { - alt34=1; - } - - - switch (alt34) { - case 1 : - // InternalApplicationConfiguration.g:3048:3: rule__MetamodelSpecification__Group_2__0 - { - pushFollow(FOLLOW_16); - rule__MetamodelSpecification__Group_2__0(); - - state._fsp--; - - - } - break; - - default : - break loop34; - } - } while (true); - - after(grammarAccess.getMetamodelSpecificationAccess().getGroup_2()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__MetamodelSpecification__Group__2__Impl" - - - // $ANTLR start "rule__MetamodelSpecification__Group__3" - // InternalApplicationConfiguration.g:3056:1: rule__MetamodelSpecification__Group__3 : rule__MetamodelSpecification__Group__3__Impl ; - public final void rule__MetamodelSpecification__Group__3() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:3060:1: ( rule__MetamodelSpecification__Group__3__Impl ) - // InternalApplicationConfiguration.g:3061:2: rule__MetamodelSpecification__Group__3__Impl - { - pushFollow(FOLLOW_2); - rule__MetamodelSpecification__Group__3__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__MetamodelSpecification__Group__3" - - - // $ANTLR start "rule__MetamodelSpecification__Group__3__Impl" - // InternalApplicationConfiguration.g:3067:1: rule__MetamodelSpecification__Group__3__Impl : ( '}' ) ; - public final void rule__MetamodelSpecification__Group__3__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:3071:1: ( ( '}' ) ) - // InternalApplicationConfiguration.g:3072:1: ( '}' ) - { - // InternalApplicationConfiguration.g:3072:1: ( '}' ) - // InternalApplicationConfiguration.g:3073:2: '}' - { - before(grammarAccess.getMetamodelSpecificationAccess().getRightCurlyBracketKeyword_3()); - match(input,25,FOLLOW_2); - after(grammarAccess.getMetamodelSpecificationAccess().getRightCurlyBracketKeyword_3()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__MetamodelSpecification__Group__3__Impl" - - - // $ANTLR start "rule__MetamodelSpecification__Group_2__0" - // InternalApplicationConfiguration.g:3083:1: rule__MetamodelSpecification__Group_2__0 : rule__MetamodelSpecification__Group_2__0__Impl rule__MetamodelSpecification__Group_2__1 ; - public final void rule__MetamodelSpecification__Group_2__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:3087:1: ( rule__MetamodelSpecification__Group_2__0__Impl rule__MetamodelSpecification__Group_2__1 ) - // InternalApplicationConfiguration.g:3088:2: rule__MetamodelSpecification__Group_2__0__Impl rule__MetamodelSpecification__Group_2__1 - { - pushFollow(FOLLOW_14); - rule__MetamodelSpecification__Group_2__0__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__MetamodelSpecification__Group_2__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__MetamodelSpecification__Group_2__0" - - - // $ANTLR start "rule__MetamodelSpecification__Group_2__0__Impl" - // InternalApplicationConfiguration.g:3095:1: rule__MetamodelSpecification__Group_2__0__Impl : ( ',' ) ; - public final void rule__MetamodelSpecification__Group_2__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:3099:1: ( ( ',' ) ) - // InternalApplicationConfiguration.g:3100:1: ( ',' ) - { - // InternalApplicationConfiguration.g:3100:1: ( ',' ) - // InternalApplicationConfiguration.g:3101:2: ',' - { - before(grammarAccess.getMetamodelSpecificationAccess().getCommaKeyword_2_0()); - match(input,26,FOLLOW_2); - after(grammarAccess.getMetamodelSpecificationAccess().getCommaKeyword_2_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__MetamodelSpecification__Group_2__0__Impl" - - - // $ANTLR start "rule__MetamodelSpecification__Group_2__1" - // InternalApplicationConfiguration.g:3110:1: rule__MetamodelSpecification__Group_2__1 : rule__MetamodelSpecification__Group_2__1__Impl ; - public final void rule__MetamodelSpecification__Group_2__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:3114:1: ( rule__MetamodelSpecification__Group_2__1__Impl ) - // InternalApplicationConfiguration.g:3115:2: rule__MetamodelSpecification__Group_2__1__Impl - { - pushFollow(FOLLOW_2); - rule__MetamodelSpecification__Group_2__1__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__MetamodelSpecification__Group_2__1" - - - // $ANTLR start "rule__MetamodelSpecification__Group_2__1__Impl" - // InternalApplicationConfiguration.g:3121:1: rule__MetamodelSpecification__Group_2__1__Impl : ( ( rule__MetamodelSpecification__EntriesAssignment_2_1 ) ) ; - public final void rule__MetamodelSpecification__Group_2__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:3125:1: ( ( ( rule__MetamodelSpecification__EntriesAssignment_2_1 ) ) ) - // InternalApplicationConfiguration.g:3126:1: ( ( rule__MetamodelSpecification__EntriesAssignment_2_1 ) ) - { - // InternalApplicationConfiguration.g:3126:1: ( ( rule__MetamodelSpecification__EntriesAssignment_2_1 ) ) - // InternalApplicationConfiguration.g:3127:2: ( rule__MetamodelSpecification__EntriesAssignment_2_1 ) - { - before(grammarAccess.getMetamodelSpecificationAccess().getEntriesAssignment_2_1()); - // InternalApplicationConfiguration.g:3128:2: ( rule__MetamodelSpecification__EntriesAssignment_2_1 ) - // InternalApplicationConfiguration.g:3128:3: rule__MetamodelSpecification__EntriesAssignment_2_1 - { - pushFollow(FOLLOW_2); - rule__MetamodelSpecification__EntriesAssignment_2_1(); - - state._fsp--; - - - } - - after(grammarAccess.getMetamodelSpecificationAccess().getEntriesAssignment_2_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__MetamodelSpecification__Group_2__1__Impl" - - - // $ANTLR start "rule__AllPackageEntry__Group__0" - // InternalApplicationConfiguration.g:3137:1: rule__AllPackageEntry__Group__0 : rule__AllPackageEntry__Group__0__Impl rule__AllPackageEntry__Group__1 ; - public final void rule__AllPackageEntry__Group__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:3141:1: ( rule__AllPackageEntry__Group__0__Impl rule__AllPackageEntry__Group__1 ) - // InternalApplicationConfiguration.g:3142:2: rule__AllPackageEntry__Group__0__Impl rule__AllPackageEntry__Group__1 - { - pushFollow(FOLLOW_8); - rule__AllPackageEntry__Group__0__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__AllPackageEntry__Group__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__AllPackageEntry__Group__0" - - - // $ANTLR start "rule__AllPackageEntry__Group__0__Impl" - // InternalApplicationConfiguration.g:3149:1: rule__AllPackageEntry__Group__0__Impl : ( 'package' ) ; - public final void rule__AllPackageEntry__Group__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:3153:1: ( ( 'package' ) ) - // InternalApplicationConfiguration.g:3154:1: ( 'package' ) - { - // InternalApplicationConfiguration.g:3154:1: ( 'package' ) - // InternalApplicationConfiguration.g:3155:2: 'package' - { - before(grammarAccess.getAllPackageEntryAccess().getPackageKeyword_0()); - match(input,27,FOLLOW_2); - after(grammarAccess.getAllPackageEntryAccess().getPackageKeyword_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__AllPackageEntry__Group__0__Impl" - - - // $ANTLR start "rule__AllPackageEntry__Group__1" - // InternalApplicationConfiguration.g:3164:1: rule__AllPackageEntry__Group__1 : rule__AllPackageEntry__Group__1__Impl rule__AllPackageEntry__Group__2 ; - public final void rule__AllPackageEntry__Group__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:3168:1: ( rule__AllPackageEntry__Group__1__Impl rule__AllPackageEntry__Group__2 ) - // InternalApplicationConfiguration.g:3169:2: rule__AllPackageEntry__Group__1__Impl rule__AllPackageEntry__Group__2 - { - pushFollow(FOLLOW_17); - rule__AllPackageEntry__Group__1__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__AllPackageEntry__Group__2(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__AllPackageEntry__Group__1" - - - // $ANTLR start "rule__AllPackageEntry__Group__1__Impl" - // InternalApplicationConfiguration.g:3176:1: rule__AllPackageEntry__Group__1__Impl : ( ( rule__AllPackageEntry__PackageAssignment_1 ) ) ; - public final void rule__AllPackageEntry__Group__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:3180:1: ( ( ( rule__AllPackageEntry__PackageAssignment_1 ) ) ) - // InternalApplicationConfiguration.g:3181:1: ( ( rule__AllPackageEntry__PackageAssignment_1 ) ) - { - // InternalApplicationConfiguration.g:3181:1: ( ( rule__AllPackageEntry__PackageAssignment_1 ) ) - // InternalApplicationConfiguration.g:3182:2: ( rule__AllPackageEntry__PackageAssignment_1 ) - { - before(grammarAccess.getAllPackageEntryAccess().getPackageAssignment_1()); - // InternalApplicationConfiguration.g:3183:2: ( rule__AllPackageEntry__PackageAssignment_1 ) - // InternalApplicationConfiguration.g:3183:3: rule__AllPackageEntry__PackageAssignment_1 - { - pushFollow(FOLLOW_2); - rule__AllPackageEntry__PackageAssignment_1(); - - state._fsp--; - - - } - - after(grammarAccess.getAllPackageEntryAccess().getPackageAssignment_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__AllPackageEntry__Group__1__Impl" - - - // $ANTLR start "rule__AllPackageEntry__Group__2" - // InternalApplicationConfiguration.g:3191:1: rule__AllPackageEntry__Group__2 : rule__AllPackageEntry__Group__2__Impl ; - public final void rule__AllPackageEntry__Group__2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:3195:1: ( rule__AllPackageEntry__Group__2__Impl ) - // InternalApplicationConfiguration.g:3196:2: rule__AllPackageEntry__Group__2__Impl - { - pushFollow(FOLLOW_2); - rule__AllPackageEntry__Group__2__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__AllPackageEntry__Group__2" - - - // $ANTLR start "rule__AllPackageEntry__Group__2__Impl" - // InternalApplicationConfiguration.g:3202:1: rule__AllPackageEntry__Group__2__Impl : ( ( rule__AllPackageEntry__Group_2__0 )? ) ; - public final void rule__AllPackageEntry__Group__2__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:3206:1: ( ( ( rule__AllPackageEntry__Group_2__0 )? ) ) - // InternalApplicationConfiguration.g:3207:1: ( ( rule__AllPackageEntry__Group_2__0 )? ) - { - // InternalApplicationConfiguration.g:3207:1: ( ( rule__AllPackageEntry__Group_2__0 )? ) - // InternalApplicationConfiguration.g:3208:2: ( rule__AllPackageEntry__Group_2__0 )? - { - before(grammarAccess.getAllPackageEntryAccess().getGroup_2()); - // InternalApplicationConfiguration.g:3209:2: ( rule__AllPackageEntry__Group_2__0 )? - int alt35=2; - int LA35_0 = input.LA(1); - - if ( (LA35_0==28) ) { - alt35=1; - } - switch (alt35) { - case 1 : - // InternalApplicationConfiguration.g:3209:3: rule__AllPackageEntry__Group_2__0 - { - pushFollow(FOLLOW_2); - rule__AllPackageEntry__Group_2__0(); - - state._fsp--; - - - } - break; - - } - - after(grammarAccess.getAllPackageEntryAccess().getGroup_2()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__AllPackageEntry__Group__2__Impl" - - - // $ANTLR start "rule__AllPackageEntry__Group_2__0" - // InternalApplicationConfiguration.g:3218:1: rule__AllPackageEntry__Group_2__0 : rule__AllPackageEntry__Group_2__0__Impl rule__AllPackageEntry__Group_2__1 ; - public final void rule__AllPackageEntry__Group_2__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:3222:1: ( rule__AllPackageEntry__Group_2__0__Impl rule__AllPackageEntry__Group_2__1 ) - // InternalApplicationConfiguration.g:3223:2: rule__AllPackageEntry__Group_2__0__Impl rule__AllPackageEntry__Group_2__1 - { - pushFollow(FOLLOW_18); - rule__AllPackageEntry__Group_2__0__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__AllPackageEntry__Group_2__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__AllPackageEntry__Group_2__0" - - - // $ANTLR start "rule__AllPackageEntry__Group_2__0__Impl" - // InternalApplicationConfiguration.g:3230:1: rule__AllPackageEntry__Group_2__0__Impl : ( 'excluding' ) ; - public final void rule__AllPackageEntry__Group_2__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:3234:1: ( ( 'excluding' ) ) - // InternalApplicationConfiguration.g:3235:1: ( 'excluding' ) - { - // InternalApplicationConfiguration.g:3235:1: ( 'excluding' ) - // InternalApplicationConfiguration.g:3236:2: 'excluding' - { - before(grammarAccess.getAllPackageEntryAccess().getExcludingKeyword_2_0()); - match(input,28,FOLLOW_2); - after(grammarAccess.getAllPackageEntryAccess().getExcludingKeyword_2_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__AllPackageEntry__Group_2__0__Impl" - - - // $ANTLR start "rule__AllPackageEntry__Group_2__1" - // InternalApplicationConfiguration.g:3245:1: rule__AllPackageEntry__Group_2__1 : rule__AllPackageEntry__Group_2__1__Impl rule__AllPackageEntry__Group_2__2 ; - public final void rule__AllPackageEntry__Group_2__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:3249:1: ( rule__AllPackageEntry__Group_2__1__Impl rule__AllPackageEntry__Group_2__2 ) - // InternalApplicationConfiguration.g:3250:2: rule__AllPackageEntry__Group_2__1__Impl rule__AllPackageEntry__Group_2__2 - { - pushFollow(FOLLOW_8); - rule__AllPackageEntry__Group_2__1__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__AllPackageEntry__Group_2__2(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__AllPackageEntry__Group_2__1" - - - // $ANTLR start "rule__AllPackageEntry__Group_2__1__Impl" - // InternalApplicationConfiguration.g:3257:1: rule__AllPackageEntry__Group_2__1__Impl : ( '{' ) ; - public final void rule__AllPackageEntry__Group_2__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:3261:1: ( ( '{' ) ) - // InternalApplicationConfiguration.g:3262:1: ( '{' ) - { - // InternalApplicationConfiguration.g:3262:1: ( '{' ) - // InternalApplicationConfiguration.g:3263:2: '{' - { - before(grammarAccess.getAllPackageEntryAccess().getLeftCurlyBracketKeyword_2_1()); - match(input,24,FOLLOW_2); - after(grammarAccess.getAllPackageEntryAccess().getLeftCurlyBracketKeyword_2_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__AllPackageEntry__Group_2__1__Impl" - - - // $ANTLR start "rule__AllPackageEntry__Group_2__2" - // InternalApplicationConfiguration.g:3272:1: rule__AllPackageEntry__Group_2__2 : rule__AllPackageEntry__Group_2__2__Impl rule__AllPackageEntry__Group_2__3 ; - public final void rule__AllPackageEntry__Group_2__2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:3276:1: ( rule__AllPackageEntry__Group_2__2__Impl rule__AllPackageEntry__Group_2__3 ) - // InternalApplicationConfiguration.g:3277:2: rule__AllPackageEntry__Group_2__2__Impl rule__AllPackageEntry__Group_2__3 - { - pushFollow(FOLLOW_15); - rule__AllPackageEntry__Group_2__2__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__AllPackageEntry__Group_2__3(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__AllPackageEntry__Group_2__2" - - - // $ANTLR start "rule__AllPackageEntry__Group_2__2__Impl" - // InternalApplicationConfiguration.g:3284:1: rule__AllPackageEntry__Group_2__2__Impl : ( ( rule__AllPackageEntry__ExclusionAssignment_2_2 ) ) ; - public final void rule__AllPackageEntry__Group_2__2__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:3288:1: ( ( ( rule__AllPackageEntry__ExclusionAssignment_2_2 ) ) ) - // InternalApplicationConfiguration.g:3289:1: ( ( rule__AllPackageEntry__ExclusionAssignment_2_2 ) ) - { - // InternalApplicationConfiguration.g:3289:1: ( ( rule__AllPackageEntry__ExclusionAssignment_2_2 ) ) - // InternalApplicationConfiguration.g:3290:2: ( rule__AllPackageEntry__ExclusionAssignment_2_2 ) - { - before(grammarAccess.getAllPackageEntryAccess().getExclusionAssignment_2_2()); - // InternalApplicationConfiguration.g:3291:2: ( rule__AllPackageEntry__ExclusionAssignment_2_2 ) - // InternalApplicationConfiguration.g:3291:3: rule__AllPackageEntry__ExclusionAssignment_2_2 - { - pushFollow(FOLLOW_2); - rule__AllPackageEntry__ExclusionAssignment_2_2(); - - state._fsp--; - - - } - - after(grammarAccess.getAllPackageEntryAccess().getExclusionAssignment_2_2()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__AllPackageEntry__Group_2__2__Impl" - - - // $ANTLR start "rule__AllPackageEntry__Group_2__3" - // InternalApplicationConfiguration.g:3299:1: rule__AllPackageEntry__Group_2__3 : rule__AllPackageEntry__Group_2__3__Impl rule__AllPackageEntry__Group_2__4 ; - public final void rule__AllPackageEntry__Group_2__3() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:3303:1: ( rule__AllPackageEntry__Group_2__3__Impl rule__AllPackageEntry__Group_2__4 ) - // InternalApplicationConfiguration.g:3304:2: rule__AllPackageEntry__Group_2__3__Impl rule__AllPackageEntry__Group_2__4 - { - pushFollow(FOLLOW_15); - rule__AllPackageEntry__Group_2__3__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__AllPackageEntry__Group_2__4(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__AllPackageEntry__Group_2__3" - - - // $ANTLR start "rule__AllPackageEntry__Group_2__3__Impl" - // InternalApplicationConfiguration.g:3311:1: rule__AllPackageEntry__Group_2__3__Impl : ( ( rule__AllPackageEntry__Group_2_3__0 )* ) ; - public final void rule__AllPackageEntry__Group_2__3__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:3315:1: ( ( ( rule__AllPackageEntry__Group_2_3__0 )* ) ) - // InternalApplicationConfiguration.g:3316:1: ( ( rule__AllPackageEntry__Group_2_3__0 )* ) - { - // InternalApplicationConfiguration.g:3316:1: ( ( rule__AllPackageEntry__Group_2_3__0 )* ) - // InternalApplicationConfiguration.g:3317:2: ( rule__AllPackageEntry__Group_2_3__0 )* - { - before(grammarAccess.getAllPackageEntryAccess().getGroup_2_3()); - // InternalApplicationConfiguration.g:3318:2: ( rule__AllPackageEntry__Group_2_3__0 )* - loop36: - do { - int alt36=2; - int LA36_0 = input.LA(1); - - if ( (LA36_0==26) ) { - alt36=1; - } - - - switch (alt36) { - case 1 : - // InternalApplicationConfiguration.g:3318:3: rule__AllPackageEntry__Group_2_3__0 - { - pushFollow(FOLLOW_16); - rule__AllPackageEntry__Group_2_3__0(); - - state._fsp--; - - - } - break; - - default : - break loop36; - } - } while (true); - - after(grammarAccess.getAllPackageEntryAccess().getGroup_2_3()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__AllPackageEntry__Group_2__3__Impl" - - - // $ANTLR start "rule__AllPackageEntry__Group_2__4" - // InternalApplicationConfiguration.g:3326:1: rule__AllPackageEntry__Group_2__4 : rule__AllPackageEntry__Group_2__4__Impl ; - public final void rule__AllPackageEntry__Group_2__4() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:3330:1: ( rule__AllPackageEntry__Group_2__4__Impl ) - // InternalApplicationConfiguration.g:3331:2: rule__AllPackageEntry__Group_2__4__Impl - { - pushFollow(FOLLOW_2); - rule__AllPackageEntry__Group_2__4__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__AllPackageEntry__Group_2__4" - - - // $ANTLR start "rule__AllPackageEntry__Group_2__4__Impl" - // InternalApplicationConfiguration.g:3337:1: rule__AllPackageEntry__Group_2__4__Impl : ( '}' ) ; - public final void rule__AllPackageEntry__Group_2__4__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:3341:1: ( ( '}' ) ) - // InternalApplicationConfiguration.g:3342:1: ( '}' ) - { - // InternalApplicationConfiguration.g:3342:1: ( '}' ) - // InternalApplicationConfiguration.g:3343:2: '}' - { - before(grammarAccess.getAllPackageEntryAccess().getRightCurlyBracketKeyword_2_4()); - match(input,25,FOLLOW_2); - after(grammarAccess.getAllPackageEntryAccess().getRightCurlyBracketKeyword_2_4()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__AllPackageEntry__Group_2__4__Impl" - - - // $ANTLR start "rule__AllPackageEntry__Group_2_3__0" - // InternalApplicationConfiguration.g:3353:1: rule__AllPackageEntry__Group_2_3__0 : rule__AllPackageEntry__Group_2_3__0__Impl rule__AllPackageEntry__Group_2_3__1 ; - public final void rule__AllPackageEntry__Group_2_3__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:3357:1: ( rule__AllPackageEntry__Group_2_3__0__Impl rule__AllPackageEntry__Group_2_3__1 ) - // InternalApplicationConfiguration.g:3358:2: rule__AllPackageEntry__Group_2_3__0__Impl rule__AllPackageEntry__Group_2_3__1 - { - pushFollow(FOLLOW_8); - rule__AllPackageEntry__Group_2_3__0__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__AllPackageEntry__Group_2_3__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__AllPackageEntry__Group_2_3__0" - - - // $ANTLR start "rule__AllPackageEntry__Group_2_3__0__Impl" - // InternalApplicationConfiguration.g:3365:1: rule__AllPackageEntry__Group_2_3__0__Impl : ( ',' ) ; - public final void rule__AllPackageEntry__Group_2_3__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:3369:1: ( ( ',' ) ) - // InternalApplicationConfiguration.g:3370:1: ( ',' ) - { - // InternalApplicationConfiguration.g:3370:1: ( ',' ) - // InternalApplicationConfiguration.g:3371:2: ',' - { - before(grammarAccess.getAllPackageEntryAccess().getCommaKeyword_2_3_0()); - match(input,26,FOLLOW_2); - after(grammarAccess.getAllPackageEntryAccess().getCommaKeyword_2_3_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__AllPackageEntry__Group_2_3__0__Impl" - - - // $ANTLR start "rule__AllPackageEntry__Group_2_3__1" - // InternalApplicationConfiguration.g:3380:1: rule__AllPackageEntry__Group_2_3__1 : rule__AllPackageEntry__Group_2_3__1__Impl ; - public final void rule__AllPackageEntry__Group_2_3__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:3384:1: ( rule__AllPackageEntry__Group_2_3__1__Impl ) - // InternalApplicationConfiguration.g:3385:2: rule__AllPackageEntry__Group_2_3__1__Impl - { - pushFollow(FOLLOW_2); - rule__AllPackageEntry__Group_2_3__1__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__AllPackageEntry__Group_2_3__1" - - - // $ANTLR start "rule__AllPackageEntry__Group_2_3__1__Impl" - // InternalApplicationConfiguration.g:3391:1: rule__AllPackageEntry__Group_2_3__1__Impl : ( ( rule__AllPackageEntry__ExclusionAssignment_2_3_1 ) ) ; - public final void rule__AllPackageEntry__Group_2_3__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:3395:1: ( ( ( rule__AllPackageEntry__ExclusionAssignment_2_3_1 ) ) ) - // InternalApplicationConfiguration.g:3396:1: ( ( rule__AllPackageEntry__ExclusionAssignment_2_3_1 ) ) - { - // InternalApplicationConfiguration.g:3396:1: ( ( rule__AllPackageEntry__ExclusionAssignment_2_3_1 ) ) - // InternalApplicationConfiguration.g:3397:2: ( rule__AllPackageEntry__ExclusionAssignment_2_3_1 ) - { - before(grammarAccess.getAllPackageEntryAccess().getExclusionAssignment_2_3_1()); - // InternalApplicationConfiguration.g:3398:2: ( rule__AllPackageEntry__ExclusionAssignment_2_3_1 ) - // InternalApplicationConfiguration.g:3398:3: rule__AllPackageEntry__ExclusionAssignment_2_3_1 - { - pushFollow(FOLLOW_2); - rule__AllPackageEntry__ExclusionAssignment_2_3_1(); - - state._fsp--; - - - } - - after(grammarAccess.getAllPackageEntryAccess().getExclusionAssignment_2_3_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__AllPackageEntry__Group_2_3__1__Impl" - - - // $ANTLR start "rule__MetamodelElement__Group__0" - // InternalApplicationConfiguration.g:3407:1: rule__MetamodelElement__Group__0 : rule__MetamodelElement__Group__0__Impl rule__MetamodelElement__Group__1 ; - public final void rule__MetamodelElement__Group__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:3411:1: ( rule__MetamodelElement__Group__0__Impl rule__MetamodelElement__Group__1 ) - // InternalApplicationConfiguration.g:3412:2: rule__MetamodelElement__Group__0__Impl rule__MetamodelElement__Group__1 - { - pushFollow(FOLLOW_8); - rule__MetamodelElement__Group__0__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__MetamodelElement__Group__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__MetamodelElement__Group__0" - - - // $ANTLR start "rule__MetamodelElement__Group__0__Impl" - // InternalApplicationConfiguration.g:3419:1: rule__MetamodelElement__Group__0__Impl : ( ( rule__MetamodelElement__Group_0__0 )? ) ; - public final void rule__MetamodelElement__Group__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:3423:1: ( ( ( rule__MetamodelElement__Group_0__0 )? ) ) - // InternalApplicationConfiguration.g:3424:1: ( ( rule__MetamodelElement__Group_0__0 )? ) - { - // InternalApplicationConfiguration.g:3424:1: ( ( rule__MetamodelElement__Group_0__0 )? ) - // InternalApplicationConfiguration.g:3425:2: ( rule__MetamodelElement__Group_0__0 )? - { - before(grammarAccess.getMetamodelElementAccess().getGroup_0()); - // InternalApplicationConfiguration.g:3426:2: ( rule__MetamodelElement__Group_0__0 )? - int alt37=2; - int LA37_0 = input.LA(1); - - if ( (LA37_0==RULE_ID) ) { - int LA37_1 = input.LA(2); - - if ( (LA37_1==17) ) { - int LA37_2 = input.LA(3); - - if ( (LA37_2==RULE_ID) ) { - int LA37_5 = input.LA(4); - - if ( (LA37_5==17||LA37_5==29) ) { - alt37=1; - } - } - } - else if ( (LA37_1==29) ) { - alt37=1; - } - } - switch (alt37) { - case 1 : - // InternalApplicationConfiguration.g:3426:3: rule__MetamodelElement__Group_0__0 - { - pushFollow(FOLLOW_2); - rule__MetamodelElement__Group_0__0(); - - state._fsp--; - - - } - break; - - } - - after(grammarAccess.getMetamodelElementAccess().getGroup_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__MetamodelElement__Group__0__Impl" - - - // $ANTLR start "rule__MetamodelElement__Group__1" - // InternalApplicationConfiguration.g:3434:1: rule__MetamodelElement__Group__1 : rule__MetamodelElement__Group__1__Impl rule__MetamodelElement__Group__2 ; - public final void rule__MetamodelElement__Group__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:3438:1: ( rule__MetamodelElement__Group__1__Impl rule__MetamodelElement__Group__2 ) - // InternalApplicationConfiguration.g:3439:2: rule__MetamodelElement__Group__1__Impl rule__MetamodelElement__Group__2 - { - pushFollow(FOLLOW_6); - rule__MetamodelElement__Group__1__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__MetamodelElement__Group__2(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__MetamodelElement__Group__1" - - - // $ANTLR start "rule__MetamodelElement__Group__1__Impl" - // InternalApplicationConfiguration.g:3446:1: rule__MetamodelElement__Group__1__Impl : ( ( rule__MetamodelElement__ClassifierAssignment_1 ) ) ; - public final void rule__MetamodelElement__Group__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:3450:1: ( ( ( rule__MetamodelElement__ClassifierAssignment_1 ) ) ) - // InternalApplicationConfiguration.g:3451:1: ( ( rule__MetamodelElement__ClassifierAssignment_1 ) ) - { - // InternalApplicationConfiguration.g:3451:1: ( ( rule__MetamodelElement__ClassifierAssignment_1 ) ) - // InternalApplicationConfiguration.g:3452:2: ( rule__MetamodelElement__ClassifierAssignment_1 ) - { - before(grammarAccess.getMetamodelElementAccess().getClassifierAssignment_1()); - // InternalApplicationConfiguration.g:3453:2: ( rule__MetamodelElement__ClassifierAssignment_1 ) - // InternalApplicationConfiguration.g:3453:3: rule__MetamodelElement__ClassifierAssignment_1 - { - pushFollow(FOLLOW_2); - rule__MetamodelElement__ClassifierAssignment_1(); - - state._fsp--; - - - } - - after(grammarAccess.getMetamodelElementAccess().getClassifierAssignment_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__MetamodelElement__Group__1__Impl" - - - // $ANTLR start "rule__MetamodelElement__Group__2" - // InternalApplicationConfiguration.g:3461:1: rule__MetamodelElement__Group__2 : rule__MetamodelElement__Group__2__Impl ; - public final void rule__MetamodelElement__Group__2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:3465:1: ( rule__MetamodelElement__Group__2__Impl ) - // InternalApplicationConfiguration.g:3466:2: rule__MetamodelElement__Group__2__Impl - { - pushFollow(FOLLOW_2); - rule__MetamodelElement__Group__2__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__MetamodelElement__Group__2" - - - // $ANTLR start "rule__MetamodelElement__Group__2__Impl" - // InternalApplicationConfiguration.g:3472:1: rule__MetamodelElement__Group__2__Impl : ( ( rule__MetamodelElement__Group_2__0 )? ) ; - public final void rule__MetamodelElement__Group__2__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:3476:1: ( ( ( rule__MetamodelElement__Group_2__0 )? ) ) - // InternalApplicationConfiguration.g:3477:1: ( ( rule__MetamodelElement__Group_2__0 )? ) - { - // InternalApplicationConfiguration.g:3477:1: ( ( rule__MetamodelElement__Group_2__0 )? ) - // InternalApplicationConfiguration.g:3478:2: ( rule__MetamodelElement__Group_2__0 )? - { - before(grammarAccess.getMetamodelElementAccess().getGroup_2()); - // InternalApplicationConfiguration.g:3479:2: ( rule__MetamodelElement__Group_2__0 )? - int alt38=2; - int LA38_0 = input.LA(1); - - if ( (LA38_0==17) ) { - alt38=1; - } - switch (alt38) { - case 1 : - // InternalApplicationConfiguration.g:3479:3: rule__MetamodelElement__Group_2__0 - { - pushFollow(FOLLOW_2); - rule__MetamodelElement__Group_2__0(); - - state._fsp--; - - - } - break; - - } - - after(grammarAccess.getMetamodelElementAccess().getGroup_2()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__MetamodelElement__Group__2__Impl" - - - // $ANTLR start "rule__MetamodelElement__Group_0__0" - // InternalApplicationConfiguration.g:3488:1: rule__MetamodelElement__Group_0__0 : rule__MetamodelElement__Group_0__0__Impl rule__MetamodelElement__Group_0__1 ; - public final void rule__MetamodelElement__Group_0__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:3492:1: ( rule__MetamodelElement__Group_0__0__Impl rule__MetamodelElement__Group_0__1 ) - // InternalApplicationConfiguration.g:3493:2: rule__MetamodelElement__Group_0__0__Impl rule__MetamodelElement__Group_0__1 - { - pushFollow(FOLLOW_19); - rule__MetamodelElement__Group_0__0__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__MetamodelElement__Group_0__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__MetamodelElement__Group_0__0" - - - // $ANTLR start "rule__MetamodelElement__Group_0__0__Impl" - // InternalApplicationConfiguration.g:3500:1: rule__MetamodelElement__Group_0__0__Impl : ( ( rule__MetamodelElement__PackageAssignment_0_0 ) ) ; - public final void rule__MetamodelElement__Group_0__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:3504:1: ( ( ( rule__MetamodelElement__PackageAssignment_0_0 ) ) ) - // InternalApplicationConfiguration.g:3505:1: ( ( rule__MetamodelElement__PackageAssignment_0_0 ) ) - { - // InternalApplicationConfiguration.g:3505:1: ( ( rule__MetamodelElement__PackageAssignment_0_0 ) ) - // InternalApplicationConfiguration.g:3506:2: ( rule__MetamodelElement__PackageAssignment_0_0 ) - { - before(grammarAccess.getMetamodelElementAccess().getPackageAssignment_0_0()); - // InternalApplicationConfiguration.g:3507:2: ( rule__MetamodelElement__PackageAssignment_0_0 ) - // InternalApplicationConfiguration.g:3507:3: rule__MetamodelElement__PackageAssignment_0_0 - { - pushFollow(FOLLOW_2); - rule__MetamodelElement__PackageAssignment_0_0(); - - state._fsp--; - - - } - - after(grammarAccess.getMetamodelElementAccess().getPackageAssignment_0_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__MetamodelElement__Group_0__0__Impl" - - - // $ANTLR start "rule__MetamodelElement__Group_0__1" - // InternalApplicationConfiguration.g:3515:1: rule__MetamodelElement__Group_0__1 : rule__MetamodelElement__Group_0__1__Impl ; - public final void rule__MetamodelElement__Group_0__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:3519:1: ( rule__MetamodelElement__Group_0__1__Impl ) - // InternalApplicationConfiguration.g:3520:2: rule__MetamodelElement__Group_0__1__Impl - { - pushFollow(FOLLOW_2); - rule__MetamodelElement__Group_0__1__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__MetamodelElement__Group_0__1" - - - // $ANTLR start "rule__MetamodelElement__Group_0__1__Impl" - // InternalApplicationConfiguration.g:3526:1: rule__MetamodelElement__Group_0__1__Impl : ( '::' ) ; - public final void rule__MetamodelElement__Group_0__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:3530:1: ( ( '::' ) ) - // InternalApplicationConfiguration.g:3531:1: ( '::' ) - { - // InternalApplicationConfiguration.g:3531:1: ( '::' ) - // InternalApplicationConfiguration.g:3532:2: '::' - { - before(grammarAccess.getMetamodelElementAccess().getColonColonKeyword_0_1()); - match(input,29,FOLLOW_2); - after(grammarAccess.getMetamodelElementAccess().getColonColonKeyword_0_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__MetamodelElement__Group_0__1__Impl" - - - // $ANTLR start "rule__MetamodelElement__Group_2__0" - // InternalApplicationConfiguration.g:3542:1: rule__MetamodelElement__Group_2__0 : rule__MetamodelElement__Group_2__0__Impl rule__MetamodelElement__Group_2__1 ; - public final void rule__MetamodelElement__Group_2__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:3546:1: ( rule__MetamodelElement__Group_2__0__Impl rule__MetamodelElement__Group_2__1 ) - // InternalApplicationConfiguration.g:3547:2: rule__MetamodelElement__Group_2__0__Impl rule__MetamodelElement__Group_2__1 - { - pushFollow(FOLLOW_8); - rule__MetamodelElement__Group_2__0__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__MetamodelElement__Group_2__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__MetamodelElement__Group_2__0" - - - // $ANTLR start "rule__MetamodelElement__Group_2__0__Impl" - // InternalApplicationConfiguration.g:3554:1: rule__MetamodelElement__Group_2__0__Impl : ( '.' ) ; - public final void rule__MetamodelElement__Group_2__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:3558:1: ( ( '.' ) ) - // InternalApplicationConfiguration.g:3559:1: ( '.' ) - { - // InternalApplicationConfiguration.g:3559:1: ( '.' ) - // InternalApplicationConfiguration.g:3560:2: '.' - { - before(grammarAccess.getMetamodelElementAccess().getFullStopKeyword_2_0()); - match(input,17,FOLLOW_2); - after(grammarAccess.getMetamodelElementAccess().getFullStopKeyword_2_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__MetamodelElement__Group_2__0__Impl" - - - // $ANTLR start "rule__MetamodelElement__Group_2__1" - // InternalApplicationConfiguration.g:3569:1: rule__MetamodelElement__Group_2__1 : rule__MetamodelElement__Group_2__1__Impl ; - public final void rule__MetamodelElement__Group_2__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:3573:1: ( rule__MetamodelElement__Group_2__1__Impl ) - // InternalApplicationConfiguration.g:3574:2: rule__MetamodelElement__Group_2__1__Impl - { - pushFollow(FOLLOW_2); - rule__MetamodelElement__Group_2__1__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__MetamodelElement__Group_2__1" - - - // $ANTLR start "rule__MetamodelElement__Group_2__1__Impl" - // InternalApplicationConfiguration.g:3580:1: rule__MetamodelElement__Group_2__1__Impl : ( ( rule__MetamodelElement__FeatureAssignment_2_1 ) ) ; - public final void rule__MetamodelElement__Group_2__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:3584:1: ( ( ( rule__MetamodelElement__FeatureAssignment_2_1 ) ) ) - // InternalApplicationConfiguration.g:3585:1: ( ( rule__MetamodelElement__FeatureAssignment_2_1 ) ) - { - // InternalApplicationConfiguration.g:3585:1: ( ( rule__MetamodelElement__FeatureAssignment_2_1 ) ) - // InternalApplicationConfiguration.g:3586:2: ( rule__MetamodelElement__FeatureAssignment_2_1 ) - { - before(grammarAccess.getMetamodelElementAccess().getFeatureAssignment_2_1()); - // InternalApplicationConfiguration.g:3587:2: ( rule__MetamodelElement__FeatureAssignment_2_1 ) - // InternalApplicationConfiguration.g:3587:3: rule__MetamodelElement__FeatureAssignment_2_1 - { - pushFollow(FOLLOW_2); - rule__MetamodelElement__FeatureAssignment_2_1(); - - state._fsp--; - - - } - - after(grammarAccess.getMetamodelElementAccess().getFeatureAssignment_2_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__MetamodelElement__Group_2__1__Impl" - - - // $ANTLR start "rule__MetamodelDeclaration__Group__0" - // InternalApplicationConfiguration.g:3596:1: rule__MetamodelDeclaration__Group__0 : rule__MetamodelDeclaration__Group__0__Impl rule__MetamodelDeclaration__Group__1 ; - public final void rule__MetamodelDeclaration__Group__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:3600:1: ( rule__MetamodelDeclaration__Group__0__Impl rule__MetamodelDeclaration__Group__1 ) - // InternalApplicationConfiguration.g:3601:2: rule__MetamodelDeclaration__Group__0__Impl rule__MetamodelDeclaration__Group__1 - { - pushFollow(FOLLOW_8); - rule__MetamodelDeclaration__Group__0__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__MetamodelDeclaration__Group__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__MetamodelDeclaration__Group__0" - - - // $ANTLR start "rule__MetamodelDeclaration__Group__0__Impl" - // InternalApplicationConfiguration.g:3608:1: rule__MetamodelDeclaration__Group__0__Impl : ( 'metamodel' ) ; - public final void rule__MetamodelDeclaration__Group__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:3612:1: ( ( 'metamodel' ) ) - // InternalApplicationConfiguration.g:3613:1: ( 'metamodel' ) - { - // InternalApplicationConfiguration.g:3613:1: ( 'metamodel' ) - // InternalApplicationConfiguration.g:3614:2: 'metamodel' - { - before(grammarAccess.getMetamodelDeclarationAccess().getMetamodelKeyword_0()); - match(input,30,FOLLOW_2); - after(grammarAccess.getMetamodelDeclarationAccess().getMetamodelKeyword_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__MetamodelDeclaration__Group__0__Impl" - - - // $ANTLR start "rule__MetamodelDeclaration__Group__1" - // InternalApplicationConfiguration.g:3623:1: rule__MetamodelDeclaration__Group__1 : rule__MetamodelDeclaration__Group__1__Impl rule__MetamodelDeclaration__Group__2 ; - public final void rule__MetamodelDeclaration__Group__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:3627:1: ( rule__MetamodelDeclaration__Group__1__Impl rule__MetamodelDeclaration__Group__2 ) - // InternalApplicationConfiguration.g:3628:2: rule__MetamodelDeclaration__Group__1__Impl rule__MetamodelDeclaration__Group__2 - { - pushFollow(FOLLOW_18); - rule__MetamodelDeclaration__Group__1__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__MetamodelDeclaration__Group__2(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__MetamodelDeclaration__Group__1" - - - // $ANTLR start "rule__MetamodelDeclaration__Group__1__Impl" - // InternalApplicationConfiguration.g:3635:1: rule__MetamodelDeclaration__Group__1__Impl : ( ( rule__MetamodelDeclaration__NameAssignment_1 ) ) ; - public final void rule__MetamodelDeclaration__Group__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:3639:1: ( ( ( rule__MetamodelDeclaration__NameAssignment_1 ) ) ) - // InternalApplicationConfiguration.g:3640:1: ( ( rule__MetamodelDeclaration__NameAssignment_1 ) ) - { - // InternalApplicationConfiguration.g:3640:1: ( ( rule__MetamodelDeclaration__NameAssignment_1 ) ) - // InternalApplicationConfiguration.g:3641:2: ( rule__MetamodelDeclaration__NameAssignment_1 ) - { - before(grammarAccess.getMetamodelDeclarationAccess().getNameAssignment_1()); - // InternalApplicationConfiguration.g:3642:2: ( rule__MetamodelDeclaration__NameAssignment_1 ) - // InternalApplicationConfiguration.g:3642:3: rule__MetamodelDeclaration__NameAssignment_1 - { - pushFollow(FOLLOW_2); - rule__MetamodelDeclaration__NameAssignment_1(); - - state._fsp--; - - - } - - after(grammarAccess.getMetamodelDeclarationAccess().getNameAssignment_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__MetamodelDeclaration__Group__1__Impl" - - - // $ANTLR start "rule__MetamodelDeclaration__Group__2" - // InternalApplicationConfiguration.g:3650:1: rule__MetamodelDeclaration__Group__2 : rule__MetamodelDeclaration__Group__2__Impl ; - public final void rule__MetamodelDeclaration__Group__2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:3654:1: ( rule__MetamodelDeclaration__Group__2__Impl ) - // InternalApplicationConfiguration.g:3655:2: rule__MetamodelDeclaration__Group__2__Impl - { - pushFollow(FOLLOW_2); - rule__MetamodelDeclaration__Group__2__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__MetamodelDeclaration__Group__2" - - - // $ANTLR start "rule__MetamodelDeclaration__Group__2__Impl" - // InternalApplicationConfiguration.g:3661:1: rule__MetamodelDeclaration__Group__2__Impl : ( ( rule__MetamodelDeclaration__SpecificationAssignment_2 ) ) ; - public final void rule__MetamodelDeclaration__Group__2__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:3665:1: ( ( ( rule__MetamodelDeclaration__SpecificationAssignment_2 ) ) ) - // InternalApplicationConfiguration.g:3666:1: ( ( rule__MetamodelDeclaration__SpecificationAssignment_2 ) ) - { - // InternalApplicationConfiguration.g:3666:1: ( ( rule__MetamodelDeclaration__SpecificationAssignment_2 ) ) - // InternalApplicationConfiguration.g:3667:2: ( rule__MetamodelDeclaration__SpecificationAssignment_2 ) - { - before(grammarAccess.getMetamodelDeclarationAccess().getSpecificationAssignment_2()); - // InternalApplicationConfiguration.g:3668:2: ( rule__MetamodelDeclaration__SpecificationAssignment_2 ) - // InternalApplicationConfiguration.g:3668:3: rule__MetamodelDeclaration__SpecificationAssignment_2 - { - pushFollow(FOLLOW_2); - rule__MetamodelDeclaration__SpecificationAssignment_2(); - - state._fsp--; - - - } - - after(grammarAccess.getMetamodelDeclarationAccess().getSpecificationAssignment_2()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__MetamodelDeclaration__Group__2__Impl" - - - // $ANTLR start "rule__PartialModelSpecification__Group__0" - // InternalApplicationConfiguration.g:3677:1: rule__PartialModelSpecification__Group__0 : rule__PartialModelSpecification__Group__0__Impl rule__PartialModelSpecification__Group__1 ; - public final void rule__PartialModelSpecification__Group__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:3681:1: ( rule__PartialModelSpecification__Group__0__Impl rule__PartialModelSpecification__Group__1 ) - // InternalApplicationConfiguration.g:3682:2: rule__PartialModelSpecification__Group__0__Impl rule__PartialModelSpecification__Group__1 - { - pushFollow(FOLLOW_20); - rule__PartialModelSpecification__Group__0__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__PartialModelSpecification__Group__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__PartialModelSpecification__Group__0" - - - // $ANTLR start "rule__PartialModelSpecification__Group__0__Impl" - // InternalApplicationConfiguration.g:3689:1: rule__PartialModelSpecification__Group__0__Impl : ( '{' ) ; - public final void rule__PartialModelSpecification__Group__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:3693:1: ( ( '{' ) ) - // InternalApplicationConfiguration.g:3694:1: ( '{' ) - { - // InternalApplicationConfiguration.g:3694:1: ( '{' ) - // InternalApplicationConfiguration.g:3695:2: '{' - { - before(grammarAccess.getPartialModelSpecificationAccess().getLeftCurlyBracketKeyword_0()); - match(input,24,FOLLOW_2); - after(grammarAccess.getPartialModelSpecificationAccess().getLeftCurlyBracketKeyword_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__PartialModelSpecification__Group__0__Impl" - - - // $ANTLR start "rule__PartialModelSpecification__Group__1" - // InternalApplicationConfiguration.g:3704:1: rule__PartialModelSpecification__Group__1 : rule__PartialModelSpecification__Group__1__Impl rule__PartialModelSpecification__Group__2 ; - public final void rule__PartialModelSpecification__Group__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:3708:1: ( rule__PartialModelSpecification__Group__1__Impl rule__PartialModelSpecification__Group__2 ) - // InternalApplicationConfiguration.g:3709:2: rule__PartialModelSpecification__Group__1__Impl rule__PartialModelSpecification__Group__2 - { - pushFollow(FOLLOW_15); - rule__PartialModelSpecification__Group__1__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__PartialModelSpecification__Group__2(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__PartialModelSpecification__Group__1" - - - // $ANTLR start "rule__PartialModelSpecification__Group__1__Impl" - // InternalApplicationConfiguration.g:3716:1: rule__PartialModelSpecification__Group__1__Impl : ( ( rule__PartialModelSpecification__EntryAssignment_1 ) ) ; - public final void rule__PartialModelSpecification__Group__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:3720:1: ( ( ( rule__PartialModelSpecification__EntryAssignment_1 ) ) ) - // InternalApplicationConfiguration.g:3721:1: ( ( rule__PartialModelSpecification__EntryAssignment_1 ) ) - { - // InternalApplicationConfiguration.g:3721:1: ( ( rule__PartialModelSpecification__EntryAssignment_1 ) ) - // InternalApplicationConfiguration.g:3722:2: ( rule__PartialModelSpecification__EntryAssignment_1 ) - { - before(grammarAccess.getPartialModelSpecificationAccess().getEntryAssignment_1()); - // InternalApplicationConfiguration.g:3723:2: ( rule__PartialModelSpecification__EntryAssignment_1 ) - // InternalApplicationConfiguration.g:3723:3: rule__PartialModelSpecification__EntryAssignment_1 - { - pushFollow(FOLLOW_2); - rule__PartialModelSpecification__EntryAssignment_1(); - - state._fsp--; - - - } - - after(grammarAccess.getPartialModelSpecificationAccess().getEntryAssignment_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__PartialModelSpecification__Group__1__Impl" - - - // $ANTLR start "rule__PartialModelSpecification__Group__2" - // InternalApplicationConfiguration.g:3731:1: rule__PartialModelSpecification__Group__2 : rule__PartialModelSpecification__Group__2__Impl rule__PartialModelSpecification__Group__3 ; - public final void rule__PartialModelSpecification__Group__2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:3735:1: ( rule__PartialModelSpecification__Group__2__Impl rule__PartialModelSpecification__Group__3 ) - // InternalApplicationConfiguration.g:3736:2: rule__PartialModelSpecification__Group__2__Impl rule__PartialModelSpecification__Group__3 - { - pushFollow(FOLLOW_15); - rule__PartialModelSpecification__Group__2__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__PartialModelSpecification__Group__3(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__PartialModelSpecification__Group__2" - - - // $ANTLR start "rule__PartialModelSpecification__Group__2__Impl" - // InternalApplicationConfiguration.g:3743:1: rule__PartialModelSpecification__Group__2__Impl : ( ( rule__PartialModelSpecification__Group_2__0 )? ) ; - public final void rule__PartialModelSpecification__Group__2__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:3747:1: ( ( ( rule__PartialModelSpecification__Group_2__0 )? ) ) - // InternalApplicationConfiguration.g:3748:1: ( ( rule__PartialModelSpecification__Group_2__0 )? ) - { - // InternalApplicationConfiguration.g:3748:1: ( ( rule__PartialModelSpecification__Group_2__0 )? ) - // InternalApplicationConfiguration.g:3749:2: ( rule__PartialModelSpecification__Group_2__0 )? - { - before(grammarAccess.getPartialModelSpecificationAccess().getGroup_2()); - // InternalApplicationConfiguration.g:3750:2: ( rule__PartialModelSpecification__Group_2__0 )? - int alt39=2; - int LA39_0 = input.LA(1); - - if ( (LA39_0==26) ) { - alt39=1; - } - switch (alt39) { - case 1 : - // InternalApplicationConfiguration.g:3750:3: rule__PartialModelSpecification__Group_2__0 - { - pushFollow(FOLLOW_2); - rule__PartialModelSpecification__Group_2__0(); - - state._fsp--; - - - } - break; - - } - - after(grammarAccess.getPartialModelSpecificationAccess().getGroup_2()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__PartialModelSpecification__Group__2__Impl" - - - // $ANTLR start "rule__PartialModelSpecification__Group__3" - // InternalApplicationConfiguration.g:3758:1: rule__PartialModelSpecification__Group__3 : rule__PartialModelSpecification__Group__3__Impl ; - public final void rule__PartialModelSpecification__Group__3() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:3762:1: ( rule__PartialModelSpecification__Group__3__Impl ) - // InternalApplicationConfiguration.g:3763:2: rule__PartialModelSpecification__Group__3__Impl - { - pushFollow(FOLLOW_2); - rule__PartialModelSpecification__Group__3__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__PartialModelSpecification__Group__3" - - - // $ANTLR start "rule__PartialModelSpecification__Group__3__Impl" - // InternalApplicationConfiguration.g:3769:1: rule__PartialModelSpecification__Group__3__Impl : ( '}' ) ; - public final void rule__PartialModelSpecification__Group__3__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:3773:1: ( ( '}' ) ) - // InternalApplicationConfiguration.g:3774:1: ( '}' ) - { - // InternalApplicationConfiguration.g:3774:1: ( '}' ) - // InternalApplicationConfiguration.g:3775:2: '}' - { - before(grammarAccess.getPartialModelSpecificationAccess().getRightCurlyBracketKeyword_3()); - match(input,25,FOLLOW_2); - after(grammarAccess.getPartialModelSpecificationAccess().getRightCurlyBracketKeyword_3()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__PartialModelSpecification__Group__3__Impl" - - - // $ANTLR start "rule__PartialModelSpecification__Group_2__0" - // InternalApplicationConfiguration.g:3785:1: rule__PartialModelSpecification__Group_2__0 : rule__PartialModelSpecification__Group_2__0__Impl rule__PartialModelSpecification__Group_2__1 ; - public final void rule__PartialModelSpecification__Group_2__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:3789:1: ( rule__PartialModelSpecification__Group_2__0__Impl rule__PartialModelSpecification__Group_2__1 ) - // InternalApplicationConfiguration.g:3790:2: rule__PartialModelSpecification__Group_2__0__Impl rule__PartialModelSpecification__Group_2__1 - { - pushFollow(FOLLOW_20); - rule__PartialModelSpecification__Group_2__0__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__PartialModelSpecification__Group_2__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__PartialModelSpecification__Group_2__0" - - - // $ANTLR start "rule__PartialModelSpecification__Group_2__0__Impl" - // InternalApplicationConfiguration.g:3797:1: rule__PartialModelSpecification__Group_2__0__Impl : ( ',' ) ; - public final void rule__PartialModelSpecification__Group_2__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:3801:1: ( ( ',' ) ) - // InternalApplicationConfiguration.g:3802:1: ( ',' ) - { - // InternalApplicationConfiguration.g:3802:1: ( ',' ) - // InternalApplicationConfiguration.g:3803:2: ',' - { - before(grammarAccess.getPartialModelSpecificationAccess().getCommaKeyword_2_0()); - match(input,26,FOLLOW_2); - after(grammarAccess.getPartialModelSpecificationAccess().getCommaKeyword_2_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__PartialModelSpecification__Group_2__0__Impl" - - - // $ANTLR start "rule__PartialModelSpecification__Group_2__1" - // InternalApplicationConfiguration.g:3812:1: rule__PartialModelSpecification__Group_2__1 : rule__PartialModelSpecification__Group_2__1__Impl ; - public final void rule__PartialModelSpecification__Group_2__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:3816:1: ( rule__PartialModelSpecification__Group_2__1__Impl ) - // InternalApplicationConfiguration.g:3817:2: rule__PartialModelSpecification__Group_2__1__Impl - { - pushFollow(FOLLOW_2); - rule__PartialModelSpecification__Group_2__1__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__PartialModelSpecification__Group_2__1" - - - // $ANTLR start "rule__PartialModelSpecification__Group_2__1__Impl" - // InternalApplicationConfiguration.g:3823:1: rule__PartialModelSpecification__Group_2__1__Impl : ( ( rule__PartialModelSpecification__EntryAssignment_2_1 ) ) ; - public final void rule__PartialModelSpecification__Group_2__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:3827:1: ( ( ( rule__PartialModelSpecification__EntryAssignment_2_1 ) ) ) - // InternalApplicationConfiguration.g:3828:1: ( ( rule__PartialModelSpecification__EntryAssignment_2_1 ) ) - { - // InternalApplicationConfiguration.g:3828:1: ( ( rule__PartialModelSpecification__EntryAssignment_2_1 ) ) - // InternalApplicationConfiguration.g:3829:2: ( rule__PartialModelSpecification__EntryAssignment_2_1 ) - { - before(grammarAccess.getPartialModelSpecificationAccess().getEntryAssignment_2_1()); - // InternalApplicationConfiguration.g:3830:2: ( rule__PartialModelSpecification__EntryAssignment_2_1 ) - // InternalApplicationConfiguration.g:3830:3: rule__PartialModelSpecification__EntryAssignment_2_1 - { - pushFollow(FOLLOW_2); - rule__PartialModelSpecification__EntryAssignment_2_1(); - - state._fsp--; - - - } - - after(grammarAccess.getPartialModelSpecificationAccess().getEntryAssignment_2_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__PartialModelSpecification__Group_2__1__Impl" - - - // $ANTLR start "rule__FolderEntry__Group__0" - // InternalApplicationConfiguration.g:3839:1: rule__FolderEntry__Group__0 : rule__FolderEntry__Group__0__Impl rule__FolderEntry__Group__1 ; - public final void rule__FolderEntry__Group__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:3843:1: ( rule__FolderEntry__Group__0__Impl rule__FolderEntry__Group__1 ) - // InternalApplicationConfiguration.g:3844:2: rule__FolderEntry__Group__0__Impl rule__FolderEntry__Group__1 - { - pushFollow(FOLLOW_21); - rule__FolderEntry__Group__0__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__FolderEntry__Group__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__FolderEntry__Group__0" - - - // $ANTLR start "rule__FolderEntry__Group__0__Impl" - // InternalApplicationConfiguration.g:3851:1: rule__FolderEntry__Group__0__Impl : ( 'folder' ) ; - public final void rule__FolderEntry__Group__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:3855:1: ( ( 'folder' ) ) - // InternalApplicationConfiguration.g:3856:1: ( 'folder' ) - { - // InternalApplicationConfiguration.g:3856:1: ( 'folder' ) - // InternalApplicationConfiguration.g:3857:2: 'folder' - { - before(grammarAccess.getFolderEntryAccess().getFolderKeyword_0()); - match(input,31,FOLLOW_2); - after(grammarAccess.getFolderEntryAccess().getFolderKeyword_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__FolderEntry__Group__0__Impl" - - - // $ANTLR start "rule__FolderEntry__Group__1" - // InternalApplicationConfiguration.g:3866:1: rule__FolderEntry__Group__1 : rule__FolderEntry__Group__1__Impl rule__FolderEntry__Group__2 ; - public final void rule__FolderEntry__Group__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:3870:1: ( rule__FolderEntry__Group__1__Impl rule__FolderEntry__Group__2 ) - // InternalApplicationConfiguration.g:3871:2: rule__FolderEntry__Group__1__Impl rule__FolderEntry__Group__2 - { - pushFollow(FOLLOW_17); - rule__FolderEntry__Group__1__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__FolderEntry__Group__2(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__FolderEntry__Group__1" - - - // $ANTLR start "rule__FolderEntry__Group__1__Impl" - // InternalApplicationConfiguration.g:3878:1: rule__FolderEntry__Group__1__Impl : ( ( rule__FolderEntry__PathAssignment_1 ) ) ; - public final void rule__FolderEntry__Group__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:3882:1: ( ( ( rule__FolderEntry__PathAssignment_1 ) ) ) - // InternalApplicationConfiguration.g:3883:1: ( ( rule__FolderEntry__PathAssignment_1 ) ) - { - // InternalApplicationConfiguration.g:3883:1: ( ( rule__FolderEntry__PathAssignment_1 ) ) - // InternalApplicationConfiguration.g:3884:2: ( rule__FolderEntry__PathAssignment_1 ) - { - before(grammarAccess.getFolderEntryAccess().getPathAssignment_1()); - // InternalApplicationConfiguration.g:3885:2: ( rule__FolderEntry__PathAssignment_1 ) - // InternalApplicationConfiguration.g:3885:3: rule__FolderEntry__PathAssignment_1 - { - pushFollow(FOLLOW_2); - rule__FolderEntry__PathAssignment_1(); - - state._fsp--; - - - } - - after(grammarAccess.getFolderEntryAccess().getPathAssignment_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__FolderEntry__Group__1__Impl" - - - // $ANTLR start "rule__FolderEntry__Group__2" - // InternalApplicationConfiguration.g:3893:1: rule__FolderEntry__Group__2 : rule__FolderEntry__Group__2__Impl ; - public final void rule__FolderEntry__Group__2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:3897:1: ( rule__FolderEntry__Group__2__Impl ) - // InternalApplicationConfiguration.g:3898:2: rule__FolderEntry__Group__2__Impl - { - pushFollow(FOLLOW_2); - rule__FolderEntry__Group__2__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__FolderEntry__Group__2" - - - // $ANTLR start "rule__FolderEntry__Group__2__Impl" - // InternalApplicationConfiguration.g:3904:1: rule__FolderEntry__Group__2__Impl : ( ( rule__FolderEntry__Group_2__0 )? ) ; - public final void rule__FolderEntry__Group__2__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:3908:1: ( ( ( rule__FolderEntry__Group_2__0 )? ) ) - // InternalApplicationConfiguration.g:3909:1: ( ( rule__FolderEntry__Group_2__0 )? ) - { - // InternalApplicationConfiguration.g:3909:1: ( ( rule__FolderEntry__Group_2__0 )? ) - // InternalApplicationConfiguration.g:3910:2: ( rule__FolderEntry__Group_2__0 )? - { - before(grammarAccess.getFolderEntryAccess().getGroup_2()); - // InternalApplicationConfiguration.g:3911:2: ( rule__FolderEntry__Group_2__0 )? - int alt40=2; - int LA40_0 = input.LA(1); - - if ( (LA40_0==28) ) { - alt40=1; - } - switch (alt40) { - case 1 : - // InternalApplicationConfiguration.g:3911:3: rule__FolderEntry__Group_2__0 - { - pushFollow(FOLLOW_2); - rule__FolderEntry__Group_2__0(); - - state._fsp--; - - - } - break; - - } - - after(grammarAccess.getFolderEntryAccess().getGroup_2()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__FolderEntry__Group__2__Impl" - - - // $ANTLR start "rule__FolderEntry__Group_2__0" - // InternalApplicationConfiguration.g:3920:1: rule__FolderEntry__Group_2__0 : rule__FolderEntry__Group_2__0__Impl rule__FolderEntry__Group_2__1 ; - public final void rule__FolderEntry__Group_2__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:3924:1: ( rule__FolderEntry__Group_2__0__Impl rule__FolderEntry__Group_2__1 ) - // InternalApplicationConfiguration.g:3925:2: rule__FolderEntry__Group_2__0__Impl rule__FolderEntry__Group_2__1 - { - pushFollow(FOLLOW_18); - rule__FolderEntry__Group_2__0__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__FolderEntry__Group_2__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__FolderEntry__Group_2__0" - - - // $ANTLR start "rule__FolderEntry__Group_2__0__Impl" - // InternalApplicationConfiguration.g:3932:1: rule__FolderEntry__Group_2__0__Impl : ( 'excluding' ) ; - public final void rule__FolderEntry__Group_2__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:3936:1: ( ( 'excluding' ) ) - // InternalApplicationConfiguration.g:3937:1: ( 'excluding' ) - { - // InternalApplicationConfiguration.g:3937:1: ( 'excluding' ) - // InternalApplicationConfiguration.g:3938:2: 'excluding' - { - before(grammarAccess.getFolderEntryAccess().getExcludingKeyword_2_0()); - match(input,28,FOLLOW_2); - after(grammarAccess.getFolderEntryAccess().getExcludingKeyword_2_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__FolderEntry__Group_2__0__Impl" - - - // $ANTLR start "rule__FolderEntry__Group_2__1" - // InternalApplicationConfiguration.g:3947:1: rule__FolderEntry__Group_2__1 : rule__FolderEntry__Group_2__1__Impl rule__FolderEntry__Group_2__2 ; - public final void rule__FolderEntry__Group_2__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:3951:1: ( rule__FolderEntry__Group_2__1__Impl rule__FolderEntry__Group_2__2 ) - // InternalApplicationConfiguration.g:3952:2: rule__FolderEntry__Group_2__1__Impl rule__FolderEntry__Group_2__2 - { - pushFollow(FOLLOW_21); - rule__FolderEntry__Group_2__1__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__FolderEntry__Group_2__2(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__FolderEntry__Group_2__1" - - - // $ANTLR start "rule__FolderEntry__Group_2__1__Impl" - // InternalApplicationConfiguration.g:3959:1: rule__FolderEntry__Group_2__1__Impl : ( '{' ) ; - public final void rule__FolderEntry__Group_2__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:3963:1: ( ( '{' ) ) - // InternalApplicationConfiguration.g:3964:1: ( '{' ) - { - // InternalApplicationConfiguration.g:3964:1: ( '{' ) - // InternalApplicationConfiguration.g:3965:2: '{' - { - before(grammarAccess.getFolderEntryAccess().getLeftCurlyBracketKeyword_2_1()); - match(input,24,FOLLOW_2); - after(grammarAccess.getFolderEntryAccess().getLeftCurlyBracketKeyword_2_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__FolderEntry__Group_2__1__Impl" - - - // $ANTLR start "rule__FolderEntry__Group_2__2" - // InternalApplicationConfiguration.g:3974:1: rule__FolderEntry__Group_2__2 : rule__FolderEntry__Group_2__2__Impl rule__FolderEntry__Group_2__3 ; - public final void rule__FolderEntry__Group_2__2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:3978:1: ( rule__FolderEntry__Group_2__2__Impl rule__FolderEntry__Group_2__3 ) - // InternalApplicationConfiguration.g:3979:2: rule__FolderEntry__Group_2__2__Impl rule__FolderEntry__Group_2__3 - { - pushFollow(FOLLOW_15); - rule__FolderEntry__Group_2__2__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__FolderEntry__Group_2__3(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__FolderEntry__Group_2__2" - - - // $ANTLR start "rule__FolderEntry__Group_2__2__Impl" - // InternalApplicationConfiguration.g:3986:1: rule__FolderEntry__Group_2__2__Impl : ( ( rule__FolderEntry__ExclusionAssignment_2_2 ) ) ; - public final void rule__FolderEntry__Group_2__2__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:3990:1: ( ( ( rule__FolderEntry__ExclusionAssignment_2_2 ) ) ) - // InternalApplicationConfiguration.g:3991:1: ( ( rule__FolderEntry__ExclusionAssignment_2_2 ) ) - { - // InternalApplicationConfiguration.g:3991:1: ( ( rule__FolderEntry__ExclusionAssignment_2_2 ) ) - // InternalApplicationConfiguration.g:3992:2: ( rule__FolderEntry__ExclusionAssignment_2_2 ) - { - before(grammarAccess.getFolderEntryAccess().getExclusionAssignment_2_2()); - // InternalApplicationConfiguration.g:3993:2: ( rule__FolderEntry__ExclusionAssignment_2_2 ) - // InternalApplicationConfiguration.g:3993:3: rule__FolderEntry__ExclusionAssignment_2_2 - { - pushFollow(FOLLOW_2); - rule__FolderEntry__ExclusionAssignment_2_2(); - - state._fsp--; - - - } - - after(grammarAccess.getFolderEntryAccess().getExclusionAssignment_2_2()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__FolderEntry__Group_2__2__Impl" - - - // $ANTLR start "rule__FolderEntry__Group_2__3" - // InternalApplicationConfiguration.g:4001:1: rule__FolderEntry__Group_2__3 : rule__FolderEntry__Group_2__3__Impl rule__FolderEntry__Group_2__4 ; - public final void rule__FolderEntry__Group_2__3() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:4005:1: ( rule__FolderEntry__Group_2__3__Impl rule__FolderEntry__Group_2__4 ) - // InternalApplicationConfiguration.g:4006:2: rule__FolderEntry__Group_2__3__Impl rule__FolderEntry__Group_2__4 - { - pushFollow(FOLLOW_15); - rule__FolderEntry__Group_2__3__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__FolderEntry__Group_2__4(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__FolderEntry__Group_2__3" - - - // $ANTLR start "rule__FolderEntry__Group_2__3__Impl" - // InternalApplicationConfiguration.g:4013:1: rule__FolderEntry__Group_2__3__Impl : ( ( rule__FolderEntry__Group_2_3__0 )* ) ; - public final void rule__FolderEntry__Group_2__3__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:4017:1: ( ( ( rule__FolderEntry__Group_2_3__0 )* ) ) - // InternalApplicationConfiguration.g:4018:1: ( ( rule__FolderEntry__Group_2_3__0 )* ) - { - // InternalApplicationConfiguration.g:4018:1: ( ( rule__FolderEntry__Group_2_3__0 )* ) - // InternalApplicationConfiguration.g:4019:2: ( rule__FolderEntry__Group_2_3__0 )* - { - before(grammarAccess.getFolderEntryAccess().getGroup_2_3()); - // InternalApplicationConfiguration.g:4020:2: ( rule__FolderEntry__Group_2_3__0 )* - loop41: - do { - int alt41=2; - int LA41_0 = input.LA(1); - - if ( (LA41_0==26) ) { - alt41=1; - } - - - switch (alt41) { - case 1 : - // InternalApplicationConfiguration.g:4020:3: rule__FolderEntry__Group_2_3__0 - { - pushFollow(FOLLOW_16); - rule__FolderEntry__Group_2_3__0(); - - state._fsp--; - - - } - break; - - default : - break loop41; - } - } while (true); - - after(grammarAccess.getFolderEntryAccess().getGroup_2_3()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__FolderEntry__Group_2__3__Impl" - - - // $ANTLR start "rule__FolderEntry__Group_2__4" - // InternalApplicationConfiguration.g:4028:1: rule__FolderEntry__Group_2__4 : rule__FolderEntry__Group_2__4__Impl ; - public final void rule__FolderEntry__Group_2__4() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:4032:1: ( rule__FolderEntry__Group_2__4__Impl ) - // InternalApplicationConfiguration.g:4033:2: rule__FolderEntry__Group_2__4__Impl - { - pushFollow(FOLLOW_2); - rule__FolderEntry__Group_2__4__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__FolderEntry__Group_2__4" - - - // $ANTLR start "rule__FolderEntry__Group_2__4__Impl" - // InternalApplicationConfiguration.g:4039:1: rule__FolderEntry__Group_2__4__Impl : ( '}' ) ; - public final void rule__FolderEntry__Group_2__4__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:4043:1: ( ( '}' ) ) - // InternalApplicationConfiguration.g:4044:1: ( '}' ) - { - // InternalApplicationConfiguration.g:4044:1: ( '}' ) - // InternalApplicationConfiguration.g:4045:2: '}' - { - before(grammarAccess.getFolderEntryAccess().getRightCurlyBracketKeyword_2_4()); - match(input,25,FOLLOW_2); - after(grammarAccess.getFolderEntryAccess().getRightCurlyBracketKeyword_2_4()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__FolderEntry__Group_2__4__Impl" - - - // $ANTLR start "rule__FolderEntry__Group_2_3__0" - // InternalApplicationConfiguration.g:4055:1: rule__FolderEntry__Group_2_3__0 : rule__FolderEntry__Group_2_3__0__Impl rule__FolderEntry__Group_2_3__1 ; - public final void rule__FolderEntry__Group_2_3__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:4059:1: ( rule__FolderEntry__Group_2_3__0__Impl rule__FolderEntry__Group_2_3__1 ) - // InternalApplicationConfiguration.g:4060:2: rule__FolderEntry__Group_2_3__0__Impl rule__FolderEntry__Group_2_3__1 - { - pushFollow(FOLLOW_21); - rule__FolderEntry__Group_2_3__0__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__FolderEntry__Group_2_3__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__FolderEntry__Group_2_3__0" - - - // $ANTLR start "rule__FolderEntry__Group_2_3__0__Impl" - // InternalApplicationConfiguration.g:4067:1: rule__FolderEntry__Group_2_3__0__Impl : ( ',' ) ; - public final void rule__FolderEntry__Group_2_3__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:4071:1: ( ( ',' ) ) - // InternalApplicationConfiguration.g:4072:1: ( ',' ) - { - // InternalApplicationConfiguration.g:4072:1: ( ',' ) - // InternalApplicationConfiguration.g:4073:2: ',' - { - before(grammarAccess.getFolderEntryAccess().getCommaKeyword_2_3_0()); - match(input,26,FOLLOW_2); - after(grammarAccess.getFolderEntryAccess().getCommaKeyword_2_3_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__FolderEntry__Group_2_3__0__Impl" - - - // $ANTLR start "rule__FolderEntry__Group_2_3__1" - // InternalApplicationConfiguration.g:4082:1: rule__FolderEntry__Group_2_3__1 : rule__FolderEntry__Group_2_3__1__Impl ; - public final void rule__FolderEntry__Group_2_3__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:4086:1: ( rule__FolderEntry__Group_2_3__1__Impl ) - // InternalApplicationConfiguration.g:4087:2: rule__FolderEntry__Group_2_3__1__Impl - { - pushFollow(FOLLOW_2); - rule__FolderEntry__Group_2_3__1__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__FolderEntry__Group_2_3__1" - - - // $ANTLR start "rule__FolderEntry__Group_2_3__1__Impl" - // InternalApplicationConfiguration.g:4093:1: rule__FolderEntry__Group_2_3__1__Impl : ( ( rule__FolderEntry__ExclusionAssignment_2_3_1 ) ) ; - public final void rule__FolderEntry__Group_2_3__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:4097:1: ( ( ( rule__FolderEntry__ExclusionAssignment_2_3_1 ) ) ) - // InternalApplicationConfiguration.g:4098:1: ( ( rule__FolderEntry__ExclusionAssignment_2_3_1 ) ) - { - // InternalApplicationConfiguration.g:4098:1: ( ( rule__FolderEntry__ExclusionAssignment_2_3_1 ) ) - // InternalApplicationConfiguration.g:4099:2: ( rule__FolderEntry__ExclusionAssignment_2_3_1 ) - { - before(grammarAccess.getFolderEntryAccess().getExclusionAssignment_2_3_1()); - // InternalApplicationConfiguration.g:4100:2: ( rule__FolderEntry__ExclusionAssignment_2_3_1 ) - // InternalApplicationConfiguration.g:4100:3: rule__FolderEntry__ExclusionAssignment_2_3_1 - { - pushFollow(FOLLOW_2); - rule__FolderEntry__ExclusionAssignment_2_3_1(); - - state._fsp--; - - - } - - after(grammarAccess.getFolderEntryAccess().getExclusionAssignment_2_3_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__FolderEntry__Group_2_3__1__Impl" - - - // $ANTLR start "rule__PartialModelDeclaration__Group__0" - // InternalApplicationConfiguration.g:4109:1: rule__PartialModelDeclaration__Group__0 : rule__PartialModelDeclaration__Group__0__Impl rule__PartialModelDeclaration__Group__1 ; - public final void rule__PartialModelDeclaration__Group__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:4113:1: ( rule__PartialModelDeclaration__Group__0__Impl rule__PartialModelDeclaration__Group__1 ) - // InternalApplicationConfiguration.g:4114:2: rule__PartialModelDeclaration__Group__0__Impl rule__PartialModelDeclaration__Group__1 - { - pushFollow(FOLLOW_8); - rule__PartialModelDeclaration__Group__0__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__PartialModelDeclaration__Group__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__PartialModelDeclaration__Group__0" - - - // $ANTLR start "rule__PartialModelDeclaration__Group__0__Impl" - // InternalApplicationConfiguration.g:4121:1: rule__PartialModelDeclaration__Group__0__Impl : ( 'models' ) ; - public final void rule__PartialModelDeclaration__Group__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:4125:1: ( ( 'models' ) ) - // InternalApplicationConfiguration.g:4126:1: ( 'models' ) - { - // InternalApplicationConfiguration.g:4126:1: ( 'models' ) - // InternalApplicationConfiguration.g:4127:2: 'models' - { - before(grammarAccess.getPartialModelDeclarationAccess().getModelsKeyword_0()); - match(input,32,FOLLOW_2); - after(grammarAccess.getPartialModelDeclarationAccess().getModelsKeyword_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__PartialModelDeclaration__Group__0__Impl" - - - // $ANTLR start "rule__PartialModelDeclaration__Group__1" - // InternalApplicationConfiguration.g:4136:1: rule__PartialModelDeclaration__Group__1 : rule__PartialModelDeclaration__Group__1__Impl rule__PartialModelDeclaration__Group__2 ; - public final void rule__PartialModelDeclaration__Group__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:4140:1: ( rule__PartialModelDeclaration__Group__1__Impl rule__PartialModelDeclaration__Group__2 ) - // InternalApplicationConfiguration.g:4141:2: rule__PartialModelDeclaration__Group__1__Impl rule__PartialModelDeclaration__Group__2 - { - pushFollow(FOLLOW_18); - rule__PartialModelDeclaration__Group__1__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__PartialModelDeclaration__Group__2(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__PartialModelDeclaration__Group__1" - - - // $ANTLR start "rule__PartialModelDeclaration__Group__1__Impl" - // InternalApplicationConfiguration.g:4148:1: rule__PartialModelDeclaration__Group__1__Impl : ( ( rule__PartialModelDeclaration__NameAssignment_1 ) ) ; - public final void rule__PartialModelDeclaration__Group__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:4152:1: ( ( ( rule__PartialModelDeclaration__NameAssignment_1 ) ) ) - // InternalApplicationConfiguration.g:4153:1: ( ( rule__PartialModelDeclaration__NameAssignment_1 ) ) - { - // InternalApplicationConfiguration.g:4153:1: ( ( rule__PartialModelDeclaration__NameAssignment_1 ) ) - // InternalApplicationConfiguration.g:4154:2: ( rule__PartialModelDeclaration__NameAssignment_1 ) - { - before(grammarAccess.getPartialModelDeclarationAccess().getNameAssignment_1()); - // InternalApplicationConfiguration.g:4155:2: ( rule__PartialModelDeclaration__NameAssignment_1 ) - // InternalApplicationConfiguration.g:4155:3: rule__PartialModelDeclaration__NameAssignment_1 - { - pushFollow(FOLLOW_2); - rule__PartialModelDeclaration__NameAssignment_1(); - - state._fsp--; - - - } - - after(grammarAccess.getPartialModelDeclarationAccess().getNameAssignment_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__PartialModelDeclaration__Group__1__Impl" - - - // $ANTLR start "rule__PartialModelDeclaration__Group__2" - // InternalApplicationConfiguration.g:4163:1: rule__PartialModelDeclaration__Group__2 : rule__PartialModelDeclaration__Group__2__Impl ; - public final void rule__PartialModelDeclaration__Group__2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:4167:1: ( rule__PartialModelDeclaration__Group__2__Impl ) - // InternalApplicationConfiguration.g:4168:2: rule__PartialModelDeclaration__Group__2__Impl - { - pushFollow(FOLLOW_2); - rule__PartialModelDeclaration__Group__2__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__PartialModelDeclaration__Group__2" - - - // $ANTLR start "rule__PartialModelDeclaration__Group__2__Impl" - // InternalApplicationConfiguration.g:4174:1: rule__PartialModelDeclaration__Group__2__Impl : ( ( rule__PartialModelDeclaration__SpecificationAssignment_2 ) ) ; - public final void rule__PartialModelDeclaration__Group__2__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:4178:1: ( ( ( rule__PartialModelDeclaration__SpecificationAssignment_2 ) ) ) - // InternalApplicationConfiguration.g:4179:1: ( ( rule__PartialModelDeclaration__SpecificationAssignment_2 ) ) - { - // InternalApplicationConfiguration.g:4179:1: ( ( rule__PartialModelDeclaration__SpecificationAssignment_2 ) ) - // InternalApplicationConfiguration.g:4180:2: ( rule__PartialModelDeclaration__SpecificationAssignment_2 ) - { - before(grammarAccess.getPartialModelDeclarationAccess().getSpecificationAssignment_2()); - // InternalApplicationConfiguration.g:4181:2: ( rule__PartialModelDeclaration__SpecificationAssignment_2 ) - // InternalApplicationConfiguration.g:4181:3: rule__PartialModelDeclaration__SpecificationAssignment_2 - { - pushFollow(FOLLOW_2); - rule__PartialModelDeclaration__SpecificationAssignment_2(); - - state._fsp--; - - - } - - after(grammarAccess.getPartialModelDeclarationAccess().getSpecificationAssignment_2()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__PartialModelDeclaration__Group__2__Impl" - - - // $ANTLR start "rule__PatternSpecification__Group__0" - // InternalApplicationConfiguration.g:4190:1: rule__PatternSpecification__Group__0 : rule__PatternSpecification__Group__0__Impl rule__PatternSpecification__Group__1 ; - public final void rule__PatternSpecification__Group__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:4194:1: ( rule__PatternSpecification__Group__0__Impl rule__PatternSpecification__Group__1 ) - // InternalApplicationConfiguration.g:4195:2: rule__PatternSpecification__Group__0__Impl rule__PatternSpecification__Group__1 - { - pushFollow(FOLLOW_14); - rule__PatternSpecification__Group__0__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__PatternSpecification__Group__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__PatternSpecification__Group__0" - - - // $ANTLR start "rule__PatternSpecification__Group__0__Impl" - // InternalApplicationConfiguration.g:4202:1: rule__PatternSpecification__Group__0__Impl : ( '{' ) ; - public final void rule__PatternSpecification__Group__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:4206:1: ( ( '{' ) ) - // InternalApplicationConfiguration.g:4207:1: ( '{' ) - { - // InternalApplicationConfiguration.g:4207:1: ( '{' ) - // InternalApplicationConfiguration.g:4208:2: '{' - { - before(grammarAccess.getPatternSpecificationAccess().getLeftCurlyBracketKeyword_0()); - match(input,24,FOLLOW_2); - after(grammarAccess.getPatternSpecificationAccess().getLeftCurlyBracketKeyword_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__PatternSpecification__Group__0__Impl" - - - // $ANTLR start "rule__PatternSpecification__Group__1" - // InternalApplicationConfiguration.g:4217:1: rule__PatternSpecification__Group__1 : rule__PatternSpecification__Group__1__Impl rule__PatternSpecification__Group__2 ; - public final void rule__PatternSpecification__Group__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:4221:1: ( rule__PatternSpecification__Group__1__Impl rule__PatternSpecification__Group__2 ) - // InternalApplicationConfiguration.g:4222:2: rule__PatternSpecification__Group__1__Impl rule__PatternSpecification__Group__2 - { - pushFollow(FOLLOW_15); - rule__PatternSpecification__Group__1__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__PatternSpecification__Group__2(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__PatternSpecification__Group__1" - - - // $ANTLR start "rule__PatternSpecification__Group__1__Impl" - // InternalApplicationConfiguration.g:4229:1: rule__PatternSpecification__Group__1__Impl : ( ( rule__PatternSpecification__EntriesAssignment_1 ) ) ; - public final void rule__PatternSpecification__Group__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:4233:1: ( ( ( rule__PatternSpecification__EntriesAssignment_1 ) ) ) - // InternalApplicationConfiguration.g:4234:1: ( ( rule__PatternSpecification__EntriesAssignment_1 ) ) - { - // InternalApplicationConfiguration.g:4234:1: ( ( rule__PatternSpecification__EntriesAssignment_1 ) ) - // InternalApplicationConfiguration.g:4235:2: ( rule__PatternSpecification__EntriesAssignment_1 ) - { - before(grammarAccess.getPatternSpecificationAccess().getEntriesAssignment_1()); - // InternalApplicationConfiguration.g:4236:2: ( rule__PatternSpecification__EntriesAssignment_1 ) - // InternalApplicationConfiguration.g:4236:3: rule__PatternSpecification__EntriesAssignment_1 - { - pushFollow(FOLLOW_2); - rule__PatternSpecification__EntriesAssignment_1(); - - state._fsp--; - - - } - - after(grammarAccess.getPatternSpecificationAccess().getEntriesAssignment_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__PatternSpecification__Group__1__Impl" - - - // $ANTLR start "rule__PatternSpecification__Group__2" - // InternalApplicationConfiguration.g:4244:1: rule__PatternSpecification__Group__2 : rule__PatternSpecification__Group__2__Impl rule__PatternSpecification__Group__3 ; - public final void rule__PatternSpecification__Group__2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:4248:1: ( rule__PatternSpecification__Group__2__Impl rule__PatternSpecification__Group__3 ) - // InternalApplicationConfiguration.g:4249:2: rule__PatternSpecification__Group__2__Impl rule__PatternSpecification__Group__3 - { - pushFollow(FOLLOW_15); - rule__PatternSpecification__Group__2__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__PatternSpecification__Group__3(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__PatternSpecification__Group__2" - - - // $ANTLR start "rule__PatternSpecification__Group__2__Impl" - // InternalApplicationConfiguration.g:4256:1: rule__PatternSpecification__Group__2__Impl : ( ( rule__PatternSpecification__Group_2__0 )* ) ; - public final void rule__PatternSpecification__Group__2__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:4260:1: ( ( ( rule__PatternSpecification__Group_2__0 )* ) ) - // InternalApplicationConfiguration.g:4261:1: ( ( rule__PatternSpecification__Group_2__0 )* ) - { - // InternalApplicationConfiguration.g:4261:1: ( ( rule__PatternSpecification__Group_2__0 )* ) - // InternalApplicationConfiguration.g:4262:2: ( rule__PatternSpecification__Group_2__0 )* - { - before(grammarAccess.getPatternSpecificationAccess().getGroup_2()); - // InternalApplicationConfiguration.g:4263:2: ( rule__PatternSpecification__Group_2__0 )* - loop42: - do { - int alt42=2; - int LA42_0 = input.LA(1); - - if ( (LA42_0==26) ) { - alt42=1; - } - - - switch (alt42) { - case 1 : - // InternalApplicationConfiguration.g:4263:3: rule__PatternSpecification__Group_2__0 - { - pushFollow(FOLLOW_16); - rule__PatternSpecification__Group_2__0(); - - state._fsp--; - - - } - break; - - default : - break loop42; - } - } while (true); - - after(grammarAccess.getPatternSpecificationAccess().getGroup_2()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__PatternSpecification__Group__2__Impl" - - - // $ANTLR start "rule__PatternSpecification__Group__3" - // InternalApplicationConfiguration.g:4271:1: rule__PatternSpecification__Group__3 : rule__PatternSpecification__Group__3__Impl ; - public final void rule__PatternSpecification__Group__3() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:4275:1: ( rule__PatternSpecification__Group__3__Impl ) - // InternalApplicationConfiguration.g:4276:2: rule__PatternSpecification__Group__3__Impl - { - pushFollow(FOLLOW_2); - rule__PatternSpecification__Group__3__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__PatternSpecification__Group__3" - - - // $ANTLR start "rule__PatternSpecification__Group__3__Impl" - // InternalApplicationConfiguration.g:4282:1: rule__PatternSpecification__Group__3__Impl : ( '}' ) ; - public final void rule__PatternSpecification__Group__3__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:4286:1: ( ( '}' ) ) - // InternalApplicationConfiguration.g:4287:1: ( '}' ) - { - // InternalApplicationConfiguration.g:4287:1: ( '}' ) - // InternalApplicationConfiguration.g:4288:2: '}' - { - before(grammarAccess.getPatternSpecificationAccess().getRightCurlyBracketKeyword_3()); - match(input,25,FOLLOW_2); - after(grammarAccess.getPatternSpecificationAccess().getRightCurlyBracketKeyword_3()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__PatternSpecification__Group__3__Impl" - - - // $ANTLR start "rule__PatternSpecification__Group_2__0" - // InternalApplicationConfiguration.g:4298:1: rule__PatternSpecification__Group_2__0 : rule__PatternSpecification__Group_2__0__Impl rule__PatternSpecification__Group_2__1 ; - public final void rule__PatternSpecification__Group_2__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:4302:1: ( rule__PatternSpecification__Group_2__0__Impl rule__PatternSpecification__Group_2__1 ) - // InternalApplicationConfiguration.g:4303:2: rule__PatternSpecification__Group_2__0__Impl rule__PatternSpecification__Group_2__1 - { - pushFollow(FOLLOW_14); - rule__PatternSpecification__Group_2__0__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__PatternSpecification__Group_2__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__PatternSpecification__Group_2__0" - - - // $ANTLR start "rule__PatternSpecification__Group_2__0__Impl" - // InternalApplicationConfiguration.g:4310:1: rule__PatternSpecification__Group_2__0__Impl : ( ',' ) ; - public final void rule__PatternSpecification__Group_2__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:4314:1: ( ( ',' ) ) - // InternalApplicationConfiguration.g:4315:1: ( ',' ) - { - // InternalApplicationConfiguration.g:4315:1: ( ',' ) - // InternalApplicationConfiguration.g:4316:2: ',' - { - before(grammarAccess.getPatternSpecificationAccess().getCommaKeyword_2_0()); - match(input,26,FOLLOW_2); - after(grammarAccess.getPatternSpecificationAccess().getCommaKeyword_2_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__PatternSpecification__Group_2__0__Impl" - - - // $ANTLR start "rule__PatternSpecification__Group_2__1" - // InternalApplicationConfiguration.g:4325:1: rule__PatternSpecification__Group_2__1 : rule__PatternSpecification__Group_2__1__Impl ; - public final void rule__PatternSpecification__Group_2__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:4329:1: ( rule__PatternSpecification__Group_2__1__Impl ) - // InternalApplicationConfiguration.g:4330:2: rule__PatternSpecification__Group_2__1__Impl - { - pushFollow(FOLLOW_2); - rule__PatternSpecification__Group_2__1__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__PatternSpecification__Group_2__1" - - - // $ANTLR start "rule__PatternSpecification__Group_2__1__Impl" - // InternalApplicationConfiguration.g:4336:1: rule__PatternSpecification__Group_2__1__Impl : ( ( rule__PatternSpecification__EntriesAssignment_2_1 ) ) ; - public final void rule__PatternSpecification__Group_2__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:4340:1: ( ( ( rule__PatternSpecification__EntriesAssignment_2_1 ) ) ) - // InternalApplicationConfiguration.g:4341:1: ( ( rule__PatternSpecification__EntriesAssignment_2_1 ) ) - { - // InternalApplicationConfiguration.g:4341:1: ( ( rule__PatternSpecification__EntriesAssignment_2_1 ) ) - // InternalApplicationConfiguration.g:4342:2: ( rule__PatternSpecification__EntriesAssignment_2_1 ) - { - before(grammarAccess.getPatternSpecificationAccess().getEntriesAssignment_2_1()); - // InternalApplicationConfiguration.g:4343:2: ( rule__PatternSpecification__EntriesAssignment_2_1 ) - // InternalApplicationConfiguration.g:4343:3: rule__PatternSpecification__EntriesAssignment_2_1 - { - pushFollow(FOLLOW_2); - rule__PatternSpecification__EntriesAssignment_2_1(); - - state._fsp--; - - - } - - after(grammarAccess.getPatternSpecificationAccess().getEntriesAssignment_2_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__PatternSpecification__Group_2__1__Impl" - - - // $ANTLR start "rule__AllPatternEntry__Group__0" - // InternalApplicationConfiguration.g:4352:1: rule__AllPatternEntry__Group__0 : rule__AllPatternEntry__Group__0__Impl rule__AllPatternEntry__Group__1 ; - public final void rule__AllPatternEntry__Group__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:4356:1: ( rule__AllPatternEntry__Group__0__Impl rule__AllPatternEntry__Group__1 ) - // InternalApplicationConfiguration.g:4357:2: rule__AllPatternEntry__Group__0__Impl rule__AllPatternEntry__Group__1 - { - pushFollow(FOLLOW_8); - rule__AllPatternEntry__Group__0__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__AllPatternEntry__Group__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__AllPatternEntry__Group__0" - - - // $ANTLR start "rule__AllPatternEntry__Group__0__Impl" - // InternalApplicationConfiguration.g:4364:1: rule__AllPatternEntry__Group__0__Impl : ( 'package' ) ; - public final void rule__AllPatternEntry__Group__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:4368:1: ( ( 'package' ) ) - // InternalApplicationConfiguration.g:4369:1: ( 'package' ) - { - // InternalApplicationConfiguration.g:4369:1: ( 'package' ) - // InternalApplicationConfiguration.g:4370:2: 'package' - { - before(grammarAccess.getAllPatternEntryAccess().getPackageKeyword_0()); - match(input,27,FOLLOW_2); - after(grammarAccess.getAllPatternEntryAccess().getPackageKeyword_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__AllPatternEntry__Group__0__Impl" - - - // $ANTLR start "rule__AllPatternEntry__Group__1" - // InternalApplicationConfiguration.g:4379:1: rule__AllPatternEntry__Group__1 : rule__AllPatternEntry__Group__1__Impl rule__AllPatternEntry__Group__2 ; - public final void rule__AllPatternEntry__Group__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:4383:1: ( rule__AllPatternEntry__Group__1__Impl rule__AllPatternEntry__Group__2 ) - // InternalApplicationConfiguration.g:4384:2: rule__AllPatternEntry__Group__1__Impl rule__AllPatternEntry__Group__2 - { - pushFollow(FOLLOW_17); - rule__AllPatternEntry__Group__1__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__AllPatternEntry__Group__2(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__AllPatternEntry__Group__1" - - - // $ANTLR start "rule__AllPatternEntry__Group__1__Impl" - // InternalApplicationConfiguration.g:4391:1: rule__AllPatternEntry__Group__1__Impl : ( ( rule__AllPatternEntry__PackageAssignment_1 ) ) ; - public final void rule__AllPatternEntry__Group__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:4395:1: ( ( ( rule__AllPatternEntry__PackageAssignment_1 ) ) ) - // InternalApplicationConfiguration.g:4396:1: ( ( rule__AllPatternEntry__PackageAssignment_1 ) ) - { - // InternalApplicationConfiguration.g:4396:1: ( ( rule__AllPatternEntry__PackageAssignment_1 ) ) - // InternalApplicationConfiguration.g:4397:2: ( rule__AllPatternEntry__PackageAssignment_1 ) - { - before(grammarAccess.getAllPatternEntryAccess().getPackageAssignment_1()); - // InternalApplicationConfiguration.g:4398:2: ( rule__AllPatternEntry__PackageAssignment_1 ) - // InternalApplicationConfiguration.g:4398:3: rule__AllPatternEntry__PackageAssignment_1 - { - pushFollow(FOLLOW_2); - rule__AllPatternEntry__PackageAssignment_1(); - - state._fsp--; - - - } - - after(grammarAccess.getAllPatternEntryAccess().getPackageAssignment_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__AllPatternEntry__Group__1__Impl" - - - // $ANTLR start "rule__AllPatternEntry__Group__2" - // InternalApplicationConfiguration.g:4406:1: rule__AllPatternEntry__Group__2 : rule__AllPatternEntry__Group__2__Impl ; - public final void rule__AllPatternEntry__Group__2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:4410:1: ( rule__AllPatternEntry__Group__2__Impl ) - // InternalApplicationConfiguration.g:4411:2: rule__AllPatternEntry__Group__2__Impl - { - pushFollow(FOLLOW_2); - rule__AllPatternEntry__Group__2__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__AllPatternEntry__Group__2" - - - // $ANTLR start "rule__AllPatternEntry__Group__2__Impl" - // InternalApplicationConfiguration.g:4417:1: rule__AllPatternEntry__Group__2__Impl : ( ( rule__AllPatternEntry__Group_2__0 )? ) ; - public final void rule__AllPatternEntry__Group__2__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:4421:1: ( ( ( rule__AllPatternEntry__Group_2__0 )? ) ) - // InternalApplicationConfiguration.g:4422:1: ( ( rule__AllPatternEntry__Group_2__0 )? ) - { - // InternalApplicationConfiguration.g:4422:1: ( ( rule__AllPatternEntry__Group_2__0 )? ) - // InternalApplicationConfiguration.g:4423:2: ( rule__AllPatternEntry__Group_2__0 )? - { - before(grammarAccess.getAllPatternEntryAccess().getGroup_2()); - // InternalApplicationConfiguration.g:4424:2: ( rule__AllPatternEntry__Group_2__0 )? - int alt43=2; - int LA43_0 = input.LA(1); - - if ( (LA43_0==28) ) { - alt43=1; - } - switch (alt43) { - case 1 : - // InternalApplicationConfiguration.g:4424:3: rule__AllPatternEntry__Group_2__0 - { - pushFollow(FOLLOW_2); - rule__AllPatternEntry__Group_2__0(); - - state._fsp--; - - - } - break; - - } - - after(grammarAccess.getAllPatternEntryAccess().getGroup_2()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__AllPatternEntry__Group__2__Impl" - - - // $ANTLR start "rule__AllPatternEntry__Group_2__0" - // InternalApplicationConfiguration.g:4433:1: rule__AllPatternEntry__Group_2__0 : rule__AllPatternEntry__Group_2__0__Impl rule__AllPatternEntry__Group_2__1 ; - public final void rule__AllPatternEntry__Group_2__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:4437:1: ( rule__AllPatternEntry__Group_2__0__Impl rule__AllPatternEntry__Group_2__1 ) - // InternalApplicationConfiguration.g:4438:2: rule__AllPatternEntry__Group_2__0__Impl rule__AllPatternEntry__Group_2__1 - { - pushFollow(FOLLOW_18); - rule__AllPatternEntry__Group_2__0__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__AllPatternEntry__Group_2__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__AllPatternEntry__Group_2__0" - - - // $ANTLR start "rule__AllPatternEntry__Group_2__0__Impl" - // InternalApplicationConfiguration.g:4445:1: rule__AllPatternEntry__Group_2__0__Impl : ( 'excluding' ) ; - public final void rule__AllPatternEntry__Group_2__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:4449:1: ( ( 'excluding' ) ) - // InternalApplicationConfiguration.g:4450:1: ( 'excluding' ) - { - // InternalApplicationConfiguration.g:4450:1: ( 'excluding' ) - // InternalApplicationConfiguration.g:4451:2: 'excluding' - { - before(grammarAccess.getAllPatternEntryAccess().getExcludingKeyword_2_0()); - match(input,28,FOLLOW_2); - after(grammarAccess.getAllPatternEntryAccess().getExcludingKeyword_2_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__AllPatternEntry__Group_2__0__Impl" - - - // $ANTLR start "rule__AllPatternEntry__Group_2__1" - // InternalApplicationConfiguration.g:4460:1: rule__AllPatternEntry__Group_2__1 : rule__AllPatternEntry__Group_2__1__Impl rule__AllPatternEntry__Group_2__2 ; - public final void rule__AllPatternEntry__Group_2__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:4464:1: ( rule__AllPatternEntry__Group_2__1__Impl rule__AllPatternEntry__Group_2__2 ) - // InternalApplicationConfiguration.g:4465:2: rule__AllPatternEntry__Group_2__1__Impl rule__AllPatternEntry__Group_2__2 - { - pushFollow(FOLLOW_8); - rule__AllPatternEntry__Group_2__1__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__AllPatternEntry__Group_2__2(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__AllPatternEntry__Group_2__1" - - - // $ANTLR start "rule__AllPatternEntry__Group_2__1__Impl" - // InternalApplicationConfiguration.g:4472:1: rule__AllPatternEntry__Group_2__1__Impl : ( '{' ) ; - public final void rule__AllPatternEntry__Group_2__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:4476:1: ( ( '{' ) ) - // InternalApplicationConfiguration.g:4477:1: ( '{' ) - { - // InternalApplicationConfiguration.g:4477:1: ( '{' ) - // InternalApplicationConfiguration.g:4478:2: '{' - { - before(grammarAccess.getAllPatternEntryAccess().getLeftCurlyBracketKeyword_2_1()); - match(input,24,FOLLOW_2); - after(grammarAccess.getAllPatternEntryAccess().getLeftCurlyBracketKeyword_2_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__AllPatternEntry__Group_2__1__Impl" - - - // $ANTLR start "rule__AllPatternEntry__Group_2__2" - // InternalApplicationConfiguration.g:4487:1: rule__AllPatternEntry__Group_2__2 : rule__AllPatternEntry__Group_2__2__Impl rule__AllPatternEntry__Group_2__3 ; - public final void rule__AllPatternEntry__Group_2__2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:4491:1: ( rule__AllPatternEntry__Group_2__2__Impl rule__AllPatternEntry__Group_2__3 ) - // InternalApplicationConfiguration.g:4492:2: rule__AllPatternEntry__Group_2__2__Impl rule__AllPatternEntry__Group_2__3 - { - pushFollow(FOLLOW_15); - rule__AllPatternEntry__Group_2__2__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__AllPatternEntry__Group_2__3(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__AllPatternEntry__Group_2__2" - - - // $ANTLR start "rule__AllPatternEntry__Group_2__2__Impl" - // InternalApplicationConfiguration.g:4499:1: rule__AllPatternEntry__Group_2__2__Impl : ( ( rule__AllPatternEntry__ExclusuionAssignment_2_2 ) ) ; - public final void rule__AllPatternEntry__Group_2__2__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:4503:1: ( ( ( rule__AllPatternEntry__ExclusuionAssignment_2_2 ) ) ) - // InternalApplicationConfiguration.g:4504:1: ( ( rule__AllPatternEntry__ExclusuionAssignment_2_2 ) ) - { - // InternalApplicationConfiguration.g:4504:1: ( ( rule__AllPatternEntry__ExclusuionAssignment_2_2 ) ) - // InternalApplicationConfiguration.g:4505:2: ( rule__AllPatternEntry__ExclusuionAssignment_2_2 ) - { - before(grammarAccess.getAllPatternEntryAccess().getExclusuionAssignment_2_2()); - // InternalApplicationConfiguration.g:4506:2: ( rule__AllPatternEntry__ExclusuionAssignment_2_2 ) - // InternalApplicationConfiguration.g:4506:3: rule__AllPatternEntry__ExclusuionAssignment_2_2 - { - pushFollow(FOLLOW_2); - rule__AllPatternEntry__ExclusuionAssignment_2_2(); - - state._fsp--; - - - } - - after(grammarAccess.getAllPatternEntryAccess().getExclusuionAssignment_2_2()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__AllPatternEntry__Group_2__2__Impl" - - - // $ANTLR start "rule__AllPatternEntry__Group_2__3" - // InternalApplicationConfiguration.g:4514:1: rule__AllPatternEntry__Group_2__3 : rule__AllPatternEntry__Group_2__3__Impl rule__AllPatternEntry__Group_2__4 ; - public final void rule__AllPatternEntry__Group_2__3() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:4518:1: ( rule__AllPatternEntry__Group_2__3__Impl rule__AllPatternEntry__Group_2__4 ) - // InternalApplicationConfiguration.g:4519:2: rule__AllPatternEntry__Group_2__3__Impl rule__AllPatternEntry__Group_2__4 - { - pushFollow(FOLLOW_15); - rule__AllPatternEntry__Group_2__3__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__AllPatternEntry__Group_2__4(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__AllPatternEntry__Group_2__3" - - - // $ANTLR start "rule__AllPatternEntry__Group_2__3__Impl" - // InternalApplicationConfiguration.g:4526:1: rule__AllPatternEntry__Group_2__3__Impl : ( ( rule__AllPatternEntry__Group_2_3__0 )* ) ; - public final void rule__AllPatternEntry__Group_2__3__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:4530:1: ( ( ( rule__AllPatternEntry__Group_2_3__0 )* ) ) - // InternalApplicationConfiguration.g:4531:1: ( ( rule__AllPatternEntry__Group_2_3__0 )* ) - { - // InternalApplicationConfiguration.g:4531:1: ( ( rule__AllPatternEntry__Group_2_3__0 )* ) - // InternalApplicationConfiguration.g:4532:2: ( rule__AllPatternEntry__Group_2_3__0 )* - { - before(grammarAccess.getAllPatternEntryAccess().getGroup_2_3()); - // InternalApplicationConfiguration.g:4533:2: ( rule__AllPatternEntry__Group_2_3__0 )* - loop44: - do { - int alt44=2; - int LA44_0 = input.LA(1); - - if ( (LA44_0==26) ) { - alt44=1; - } - - - switch (alt44) { - case 1 : - // InternalApplicationConfiguration.g:4533:3: rule__AllPatternEntry__Group_2_3__0 - { - pushFollow(FOLLOW_16); - rule__AllPatternEntry__Group_2_3__0(); - - state._fsp--; - - - } - break; - - default : - break loop44; - } - } while (true); - - after(grammarAccess.getAllPatternEntryAccess().getGroup_2_3()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__AllPatternEntry__Group_2__3__Impl" - - - // $ANTLR start "rule__AllPatternEntry__Group_2__4" - // InternalApplicationConfiguration.g:4541:1: rule__AllPatternEntry__Group_2__4 : rule__AllPatternEntry__Group_2__4__Impl ; - public final void rule__AllPatternEntry__Group_2__4() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:4545:1: ( rule__AllPatternEntry__Group_2__4__Impl ) - // InternalApplicationConfiguration.g:4546:2: rule__AllPatternEntry__Group_2__4__Impl - { - pushFollow(FOLLOW_2); - rule__AllPatternEntry__Group_2__4__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__AllPatternEntry__Group_2__4" - - - // $ANTLR start "rule__AllPatternEntry__Group_2__4__Impl" - // InternalApplicationConfiguration.g:4552:1: rule__AllPatternEntry__Group_2__4__Impl : ( '}' ) ; - public final void rule__AllPatternEntry__Group_2__4__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:4556:1: ( ( '}' ) ) - // InternalApplicationConfiguration.g:4557:1: ( '}' ) - { - // InternalApplicationConfiguration.g:4557:1: ( '}' ) - // InternalApplicationConfiguration.g:4558:2: '}' - { - before(grammarAccess.getAllPatternEntryAccess().getRightCurlyBracketKeyword_2_4()); - match(input,25,FOLLOW_2); - after(grammarAccess.getAllPatternEntryAccess().getRightCurlyBracketKeyword_2_4()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__AllPatternEntry__Group_2__4__Impl" - - - // $ANTLR start "rule__AllPatternEntry__Group_2_3__0" - // InternalApplicationConfiguration.g:4568:1: rule__AllPatternEntry__Group_2_3__0 : rule__AllPatternEntry__Group_2_3__0__Impl rule__AllPatternEntry__Group_2_3__1 ; - public final void rule__AllPatternEntry__Group_2_3__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:4572:1: ( rule__AllPatternEntry__Group_2_3__0__Impl rule__AllPatternEntry__Group_2_3__1 ) - // InternalApplicationConfiguration.g:4573:2: rule__AllPatternEntry__Group_2_3__0__Impl rule__AllPatternEntry__Group_2_3__1 - { - pushFollow(FOLLOW_8); - rule__AllPatternEntry__Group_2_3__0__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__AllPatternEntry__Group_2_3__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__AllPatternEntry__Group_2_3__0" - - - // $ANTLR start "rule__AllPatternEntry__Group_2_3__0__Impl" - // InternalApplicationConfiguration.g:4580:1: rule__AllPatternEntry__Group_2_3__0__Impl : ( ',' ) ; - public final void rule__AllPatternEntry__Group_2_3__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:4584:1: ( ( ',' ) ) - // InternalApplicationConfiguration.g:4585:1: ( ',' ) - { - // InternalApplicationConfiguration.g:4585:1: ( ',' ) - // InternalApplicationConfiguration.g:4586:2: ',' - { - before(grammarAccess.getAllPatternEntryAccess().getCommaKeyword_2_3_0()); - match(input,26,FOLLOW_2); - after(grammarAccess.getAllPatternEntryAccess().getCommaKeyword_2_3_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__AllPatternEntry__Group_2_3__0__Impl" - - - // $ANTLR start "rule__AllPatternEntry__Group_2_3__1" - // InternalApplicationConfiguration.g:4595:1: rule__AllPatternEntry__Group_2_3__1 : rule__AllPatternEntry__Group_2_3__1__Impl ; - public final void rule__AllPatternEntry__Group_2_3__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:4599:1: ( rule__AllPatternEntry__Group_2_3__1__Impl ) - // InternalApplicationConfiguration.g:4600:2: rule__AllPatternEntry__Group_2_3__1__Impl - { - pushFollow(FOLLOW_2); - rule__AllPatternEntry__Group_2_3__1__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__AllPatternEntry__Group_2_3__1" - - - // $ANTLR start "rule__AllPatternEntry__Group_2_3__1__Impl" - // InternalApplicationConfiguration.g:4606:1: rule__AllPatternEntry__Group_2_3__1__Impl : ( ( rule__AllPatternEntry__ExclusuionAssignment_2_3_1 ) ) ; - public final void rule__AllPatternEntry__Group_2_3__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:4610:1: ( ( ( rule__AllPatternEntry__ExclusuionAssignment_2_3_1 ) ) ) - // InternalApplicationConfiguration.g:4611:1: ( ( rule__AllPatternEntry__ExclusuionAssignment_2_3_1 ) ) - { - // InternalApplicationConfiguration.g:4611:1: ( ( rule__AllPatternEntry__ExclusuionAssignment_2_3_1 ) ) - // InternalApplicationConfiguration.g:4612:2: ( rule__AllPatternEntry__ExclusuionAssignment_2_3_1 ) - { - before(grammarAccess.getAllPatternEntryAccess().getExclusuionAssignment_2_3_1()); - // InternalApplicationConfiguration.g:4613:2: ( rule__AllPatternEntry__ExclusuionAssignment_2_3_1 ) - // InternalApplicationConfiguration.g:4613:3: rule__AllPatternEntry__ExclusuionAssignment_2_3_1 - { - pushFollow(FOLLOW_2); - rule__AllPatternEntry__ExclusuionAssignment_2_3_1(); - - state._fsp--; - - - } - - after(grammarAccess.getAllPatternEntryAccess().getExclusuionAssignment_2_3_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__AllPatternEntry__Group_2_3__1__Impl" - - - // $ANTLR start "rule__PatternElement__Group__0" - // InternalApplicationConfiguration.g:4622:1: rule__PatternElement__Group__0 : rule__PatternElement__Group__0__Impl rule__PatternElement__Group__1 ; - public final void rule__PatternElement__Group__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:4626:1: ( rule__PatternElement__Group__0__Impl rule__PatternElement__Group__1 ) - // InternalApplicationConfiguration.g:4627:2: rule__PatternElement__Group__0__Impl rule__PatternElement__Group__1 - { - pushFollow(FOLLOW_8); - rule__PatternElement__Group__0__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__PatternElement__Group__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__PatternElement__Group__0" - - - // $ANTLR start "rule__PatternElement__Group__0__Impl" - // InternalApplicationConfiguration.g:4634:1: rule__PatternElement__Group__0__Impl : ( ( rule__PatternElement__Group_0__0 )? ) ; - public final void rule__PatternElement__Group__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:4638:1: ( ( ( rule__PatternElement__Group_0__0 )? ) ) - // InternalApplicationConfiguration.g:4639:1: ( ( rule__PatternElement__Group_0__0 )? ) - { - // InternalApplicationConfiguration.g:4639:1: ( ( rule__PatternElement__Group_0__0 )? ) - // InternalApplicationConfiguration.g:4640:2: ( rule__PatternElement__Group_0__0 )? - { - before(grammarAccess.getPatternElementAccess().getGroup_0()); - // InternalApplicationConfiguration.g:4641:2: ( rule__PatternElement__Group_0__0 )? - int alt45=2; - int LA45_0 = input.LA(1); - - if ( (LA45_0==RULE_ID) ) { - int LA45_1 = input.LA(2); - - if ( (LA45_1==17||LA45_1==29) ) { - alt45=1; - } - } - switch (alt45) { - case 1 : - // InternalApplicationConfiguration.g:4641:3: rule__PatternElement__Group_0__0 - { - pushFollow(FOLLOW_2); - rule__PatternElement__Group_0__0(); - - state._fsp--; - - - } - break; - - } - - after(grammarAccess.getPatternElementAccess().getGroup_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__PatternElement__Group__0__Impl" - - - // $ANTLR start "rule__PatternElement__Group__1" - // InternalApplicationConfiguration.g:4649:1: rule__PatternElement__Group__1 : rule__PatternElement__Group__1__Impl ; - public final void rule__PatternElement__Group__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:4653:1: ( rule__PatternElement__Group__1__Impl ) - // InternalApplicationConfiguration.g:4654:2: rule__PatternElement__Group__1__Impl - { - pushFollow(FOLLOW_2); - rule__PatternElement__Group__1__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__PatternElement__Group__1" - - - // $ANTLR start "rule__PatternElement__Group__1__Impl" - // InternalApplicationConfiguration.g:4660:1: rule__PatternElement__Group__1__Impl : ( ( rule__PatternElement__PatternAssignment_1 ) ) ; - public final void rule__PatternElement__Group__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:4664:1: ( ( ( rule__PatternElement__PatternAssignment_1 ) ) ) - // InternalApplicationConfiguration.g:4665:1: ( ( rule__PatternElement__PatternAssignment_1 ) ) - { - // InternalApplicationConfiguration.g:4665:1: ( ( rule__PatternElement__PatternAssignment_1 ) ) - // InternalApplicationConfiguration.g:4666:2: ( rule__PatternElement__PatternAssignment_1 ) - { - before(grammarAccess.getPatternElementAccess().getPatternAssignment_1()); - // InternalApplicationConfiguration.g:4667:2: ( rule__PatternElement__PatternAssignment_1 ) - // InternalApplicationConfiguration.g:4667:3: rule__PatternElement__PatternAssignment_1 - { - pushFollow(FOLLOW_2); - rule__PatternElement__PatternAssignment_1(); - - state._fsp--; - - - } - - after(grammarAccess.getPatternElementAccess().getPatternAssignment_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__PatternElement__Group__1__Impl" - - - // $ANTLR start "rule__PatternElement__Group_0__0" - // InternalApplicationConfiguration.g:4676:1: rule__PatternElement__Group_0__0 : rule__PatternElement__Group_0__0__Impl rule__PatternElement__Group_0__1 ; - public final void rule__PatternElement__Group_0__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:4680:1: ( rule__PatternElement__Group_0__0__Impl rule__PatternElement__Group_0__1 ) - // InternalApplicationConfiguration.g:4681:2: rule__PatternElement__Group_0__0__Impl rule__PatternElement__Group_0__1 - { - pushFollow(FOLLOW_19); - rule__PatternElement__Group_0__0__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__PatternElement__Group_0__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__PatternElement__Group_0__0" - - - // $ANTLR start "rule__PatternElement__Group_0__0__Impl" - // InternalApplicationConfiguration.g:4688:1: rule__PatternElement__Group_0__0__Impl : ( ( rule__PatternElement__PackageAssignment_0_0 ) ) ; - public final void rule__PatternElement__Group_0__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:4692:1: ( ( ( rule__PatternElement__PackageAssignment_0_0 ) ) ) - // InternalApplicationConfiguration.g:4693:1: ( ( rule__PatternElement__PackageAssignment_0_0 ) ) - { - // InternalApplicationConfiguration.g:4693:1: ( ( rule__PatternElement__PackageAssignment_0_0 ) ) - // InternalApplicationConfiguration.g:4694:2: ( rule__PatternElement__PackageAssignment_0_0 ) - { - before(grammarAccess.getPatternElementAccess().getPackageAssignment_0_0()); - // InternalApplicationConfiguration.g:4695:2: ( rule__PatternElement__PackageAssignment_0_0 ) - // InternalApplicationConfiguration.g:4695:3: rule__PatternElement__PackageAssignment_0_0 - { - pushFollow(FOLLOW_2); - rule__PatternElement__PackageAssignment_0_0(); - - state._fsp--; - - - } - - after(grammarAccess.getPatternElementAccess().getPackageAssignment_0_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__PatternElement__Group_0__0__Impl" - - - // $ANTLR start "rule__PatternElement__Group_0__1" - // InternalApplicationConfiguration.g:4703:1: rule__PatternElement__Group_0__1 : rule__PatternElement__Group_0__1__Impl ; - public final void rule__PatternElement__Group_0__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:4707:1: ( rule__PatternElement__Group_0__1__Impl ) - // InternalApplicationConfiguration.g:4708:2: rule__PatternElement__Group_0__1__Impl - { - pushFollow(FOLLOW_2); - rule__PatternElement__Group_0__1__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__PatternElement__Group_0__1" - - - // $ANTLR start "rule__PatternElement__Group_0__1__Impl" - // InternalApplicationConfiguration.g:4714:1: rule__PatternElement__Group_0__1__Impl : ( '::' ) ; - public final void rule__PatternElement__Group_0__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:4718:1: ( ( '::' ) ) - // InternalApplicationConfiguration.g:4719:1: ( '::' ) - { - // InternalApplicationConfiguration.g:4719:1: ( '::' ) - // InternalApplicationConfiguration.g:4720:2: '::' - { - before(grammarAccess.getPatternElementAccess().getColonColonKeyword_0_1()); - match(input,29,FOLLOW_2); - after(grammarAccess.getPatternElementAccess().getColonColonKeyword_0_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__PatternElement__Group_0__1__Impl" - - - // $ANTLR start "rule__GraphPatternDeclaration__Group__0" - // InternalApplicationConfiguration.g:4730:1: rule__GraphPatternDeclaration__Group__0 : rule__GraphPatternDeclaration__Group__0__Impl rule__GraphPatternDeclaration__Group__1 ; - public final void rule__GraphPatternDeclaration__Group__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:4734:1: ( rule__GraphPatternDeclaration__Group__0__Impl rule__GraphPatternDeclaration__Group__1 ) - // InternalApplicationConfiguration.g:4735:2: rule__GraphPatternDeclaration__Group__0__Impl rule__GraphPatternDeclaration__Group__1 - { - pushFollow(FOLLOW_8); - rule__GraphPatternDeclaration__Group__0__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__GraphPatternDeclaration__Group__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__GraphPatternDeclaration__Group__0" - - - // $ANTLR start "rule__GraphPatternDeclaration__Group__0__Impl" - // InternalApplicationConfiguration.g:4742:1: rule__GraphPatternDeclaration__Group__0__Impl : ( 'constraints' ) ; - public final void rule__GraphPatternDeclaration__Group__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:4746:1: ( ( 'constraints' ) ) - // InternalApplicationConfiguration.g:4747:1: ( 'constraints' ) - { - // InternalApplicationConfiguration.g:4747:1: ( 'constraints' ) - // InternalApplicationConfiguration.g:4748:2: 'constraints' - { - before(grammarAccess.getGraphPatternDeclarationAccess().getConstraintsKeyword_0()); - match(input,33,FOLLOW_2); - after(grammarAccess.getGraphPatternDeclarationAccess().getConstraintsKeyword_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__GraphPatternDeclaration__Group__0__Impl" - - - // $ANTLR start "rule__GraphPatternDeclaration__Group__1" - // InternalApplicationConfiguration.g:4757:1: rule__GraphPatternDeclaration__Group__1 : rule__GraphPatternDeclaration__Group__1__Impl rule__GraphPatternDeclaration__Group__2 ; - public final void rule__GraphPatternDeclaration__Group__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:4761:1: ( rule__GraphPatternDeclaration__Group__1__Impl rule__GraphPatternDeclaration__Group__2 ) - // InternalApplicationConfiguration.g:4762:2: rule__GraphPatternDeclaration__Group__1__Impl rule__GraphPatternDeclaration__Group__2 - { - pushFollow(FOLLOW_18); - rule__GraphPatternDeclaration__Group__1__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__GraphPatternDeclaration__Group__2(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__GraphPatternDeclaration__Group__1" - - - // $ANTLR start "rule__GraphPatternDeclaration__Group__1__Impl" - // InternalApplicationConfiguration.g:4769:1: rule__GraphPatternDeclaration__Group__1__Impl : ( ( rule__GraphPatternDeclaration__NameAssignment_1 ) ) ; - public final void rule__GraphPatternDeclaration__Group__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:4773:1: ( ( ( rule__GraphPatternDeclaration__NameAssignment_1 ) ) ) - // InternalApplicationConfiguration.g:4774:1: ( ( rule__GraphPatternDeclaration__NameAssignment_1 ) ) - { - // InternalApplicationConfiguration.g:4774:1: ( ( rule__GraphPatternDeclaration__NameAssignment_1 ) ) - // InternalApplicationConfiguration.g:4775:2: ( rule__GraphPatternDeclaration__NameAssignment_1 ) - { - before(grammarAccess.getGraphPatternDeclarationAccess().getNameAssignment_1()); - // InternalApplicationConfiguration.g:4776:2: ( rule__GraphPatternDeclaration__NameAssignment_1 ) - // InternalApplicationConfiguration.g:4776:3: rule__GraphPatternDeclaration__NameAssignment_1 - { - pushFollow(FOLLOW_2); - rule__GraphPatternDeclaration__NameAssignment_1(); - - state._fsp--; - - - } - - after(grammarAccess.getGraphPatternDeclarationAccess().getNameAssignment_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__GraphPatternDeclaration__Group__1__Impl" - - - // $ANTLR start "rule__GraphPatternDeclaration__Group__2" - // InternalApplicationConfiguration.g:4784:1: rule__GraphPatternDeclaration__Group__2 : rule__GraphPatternDeclaration__Group__2__Impl ; - public final void rule__GraphPatternDeclaration__Group__2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:4788:1: ( rule__GraphPatternDeclaration__Group__2__Impl ) - // InternalApplicationConfiguration.g:4789:2: rule__GraphPatternDeclaration__Group__2__Impl - { - pushFollow(FOLLOW_2); - rule__GraphPatternDeclaration__Group__2__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__GraphPatternDeclaration__Group__2" - - - // $ANTLR start "rule__GraphPatternDeclaration__Group__2__Impl" - // InternalApplicationConfiguration.g:4795:1: rule__GraphPatternDeclaration__Group__2__Impl : ( ( rule__GraphPatternDeclaration__SpecificationAssignment_2 ) ) ; - public final void rule__GraphPatternDeclaration__Group__2__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:4799:1: ( ( ( rule__GraphPatternDeclaration__SpecificationAssignment_2 ) ) ) - // InternalApplicationConfiguration.g:4800:1: ( ( rule__GraphPatternDeclaration__SpecificationAssignment_2 ) ) - { - // InternalApplicationConfiguration.g:4800:1: ( ( rule__GraphPatternDeclaration__SpecificationAssignment_2 ) ) - // InternalApplicationConfiguration.g:4801:2: ( rule__GraphPatternDeclaration__SpecificationAssignment_2 ) - { - before(grammarAccess.getGraphPatternDeclarationAccess().getSpecificationAssignment_2()); - // InternalApplicationConfiguration.g:4802:2: ( rule__GraphPatternDeclaration__SpecificationAssignment_2 ) - // InternalApplicationConfiguration.g:4802:3: rule__GraphPatternDeclaration__SpecificationAssignment_2 - { - pushFollow(FOLLOW_2); - rule__GraphPatternDeclaration__SpecificationAssignment_2(); - - state._fsp--; - - - } - - after(grammarAccess.getGraphPatternDeclarationAccess().getSpecificationAssignment_2()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__GraphPatternDeclaration__Group__2__Impl" - - - // $ANTLR start "rule__ConfigSpecification__Group__0" - // InternalApplicationConfiguration.g:4811:1: rule__ConfigSpecification__Group__0 : rule__ConfigSpecification__Group__0__Impl rule__ConfigSpecification__Group__1 ; - public final void rule__ConfigSpecification__Group__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:4815:1: ( rule__ConfigSpecification__Group__0__Impl rule__ConfigSpecification__Group__1 ) - // InternalApplicationConfiguration.g:4816:2: rule__ConfigSpecification__Group__0__Impl rule__ConfigSpecification__Group__1 - { - pushFollow(FOLLOW_18); - rule__ConfigSpecification__Group__0__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__ConfigSpecification__Group__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ConfigSpecification__Group__0" - - - // $ANTLR start "rule__ConfigSpecification__Group__0__Impl" - // InternalApplicationConfiguration.g:4823:1: rule__ConfigSpecification__Group__0__Impl : ( () ) ; - public final void rule__ConfigSpecification__Group__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:4827:1: ( ( () ) ) - // InternalApplicationConfiguration.g:4828:1: ( () ) - { - // InternalApplicationConfiguration.g:4828:1: ( () ) - // InternalApplicationConfiguration.g:4829:2: () - { - before(grammarAccess.getConfigSpecificationAccess().getConfigSpecificationAction_0()); - // InternalApplicationConfiguration.g:4830:2: () - // InternalApplicationConfiguration.g:4830:3: - { - } - - after(grammarAccess.getConfigSpecificationAccess().getConfigSpecificationAction_0()); - - } - - - } - - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ConfigSpecification__Group__0__Impl" - - - // $ANTLR start "rule__ConfigSpecification__Group__1" - // InternalApplicationConfiguration.g:4838:1: rule__ConfigSpecification__Group__1 : rule__ConfigSpecification__Group__1__Impl rule__ConfigSpecification__Group__2 ; - public final void rule__ConfigSpecification__Group__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:4842:1: ( rule__ConfigSpecification__Group__1__Impl rule__ConfigSpecification__Group__2 ) - // InternalApplicationConfiguration.g:4843:2: rule__ConfigSpecification__Group__1__Impl rule__ConfigSpecification__Group__2 - { - pushFollow(FOLLOW_22); - rule__ConfigSpecification__Group__1__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__ConfigSpecification__Group__2(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ConfigSpecification__Group__1" - - - // $ANTLR start "rule__ConfigSpecification__Group__1__Impl" - // InternalApplicationConfiguration.g:4850:1: rule__ConfigSpecification__Group__1__Impl : ( '{' ) ; - public final void rule__ConfigSpecification__Group__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:4854:1: ( ( '{' ) ) - // InternalApplicationConfiguration.g:4855:1: ( '{' ) - { - // InternalApplicationConfiguration.g:4855:1: ( '{' ) - // InternalApplicationConfiguration.g:4856:2: '{' - { - before(grammarAccess.getConfigSpecificationAccess().getLeftCurlyBracketKeyword_1()); - match(input,24,FOLLOW_2); - after(grammarAccess.getConfigSpecificationAccess().getLeftCurlyBracketKeyword_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ConfigSpecification__Group__1__Impl" - - - // $ANTLR start "rule__ConfigSpecification__Group__2" - // InternalApplicationConfiguration.g:4865:1: rule__ConfigSpecification__Group__2 : rule__ConfigSpecification__Group__2__Impl rule__ConfigSpecification__Group__3 ; - public final void rule__ConfigSpecification__Group__2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:4869:1: ( rule__ConfigSpecification__Group__2__Impl rule__ConfigSpecification__Group__3 ) - // InternalApplicationConfiguration.g:4870:2: rule__ConfigSpecification__Group__2__Impl rule__ConfigSpecification__Group__3 - { - pushFollow(FOLLOW_22); - rule__ConfigSpecification__Group__2__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__ConfigSpecification__Group__3(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ConfigSpecification__Group__2" - - - // $ANTLR start "rule__ConfigSpecification__Group__2__Impl" - // InternalApplicationConfiguration.g:4877:1: rule__ConfigSpecification__Group__2__Impl : ( ( rule__ConfigSpecification__Group_2__0 )? ) ; - public final void rule__ConfigSpecification__Group__2__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:4881:1: ( ( ( rule__ConfigSpecification__Group_2__0 )? ) ) - // InternalApplicationConfiguration.g:4882:1: ( ( rule__ConfigSpecification__Group_2__0 )? ) - { - // InternalApplicationConfiguration.g:4882:1: ( ( rule__ConfigSpecification__Group_2__0 )? ) - // InternalApplicationConfiguration.g:4883:2: ( rule__ConfigSpecification__Group_2__0 )? - { - before(grammarAccess.getConfigSpecificationAccess().getGroup_2()); - // InternalApplicationConfiguration.g:4884:2: ( rule__ConfigSpecification__Group_2__0 )? - int alt46=2; - int LA46_0 = input.LA(1); - - if ( (LA46_0==RULE_STRING||(LA46_0>=35 && LA46_0<=37)) ) { - alt46=1; - } - switch (alt46) { - case 1 : - // InternalApplicationConfiguration.g:4884:3: rule__ConfigSpecification__Group_2__0 - { - pushFollow(FOLLOW_2); - rule__ConfigSpecification__Group_2__0(); - - state._fsp--; - - - } - break; - - } - - after(grammarAccess.getConfigSpecificationAccess().getGroup_2()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ConfigSpecification__Group__2__Impl" - - - // $ANTLR start "rule__ConfigSpecification__Group__3" - // InternalApplicationConfiguration.g:4892:1: rule__ConfigSpecification__Group__3 : rule__ConfigSpecification__Group__3__Impl ; - public final void rule__ConfigSpecification__Group__3() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:4896:1: ( rule__ConfigSpecification__Group__3__Impl ) - // InternalApplicationConfiguration.g:4897:2: rule__ConfigSpecification__Group__3__Impl - { - pushFollow(FOLLOW_2); - rule__ConfigSpecification__Group__3__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ConfigSpecification__Group__3" - - - // $ANTLR start "rule__ConfigSpecification__Group__3__Impl" - // InternalApplicationConfiguration.g:4903:1: rule__ConfigSpecification__Group__3__Impl : ( '}' ) ; - public final void rule__ConfigSpecification__Group__3__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:4907:1: ( ( '}' ) ) - // InternalApplicationConfiguration.g:4908:1: ( '}' ) - { - // InternalApplicationConfiguration.g:4908:1: ( '}' ) - // InternalApplicationConfiguration.g:4909:2: '}' - { - before(grammarAccess.getConfigSpecificationAccess().getRightCurlyBracketKeyword_3()); - match(input,25,FOLLOW_2); - after(grammarAccess.getConfigSpecificationAccess().getRightCurlyBracketKeyword_3()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ConfigSpecification__Group__3__Impl" - - - // $ANTLR start "rule__ConfigSpecification__Group_2__0" - // InternalApplicationConfiguration.g:4919:1: rule__ConfigSpecification__Group_2__0 : rule__ConfigSpecification__Group_2__0__Impl rule__ConfigSpecification__Group_2__1 ; - public final void rule__ConfigSpecification__Group_2__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:4923:1: ( rule__ConfigSpecification__Group_2__0__Impl rule__ConfigSpecification__Group_2__1 ) - // InternalApplicationConfiguration.g:4924:2: rule__ConfigSpecification__Group_2__0__Impl rule__ConfigSpecification__Group_2__1 - { - pushFollow(FOLLOW_23); - rule__ConfigSpecification__Group_2__0__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__ConfigSpecification__Group_2__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ConfigSpecification__Group_2__0" - - - // $ANTLR start "rule__ConfigSpecification__Group_2__0__Impl" - // InternalApplicationConfiguration.g:4931:1: rule__ConfigSpecification__Group_2__0__Impl : ( ( rule__ConfigSpecification__EntriesAssignment_2_0 ) ) ; - public final void rule__ConfigSpecification__Group_2__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:4935:1: ( ( ( rule__ConfigSpecification__EntriesAssignment_2_0 ) ) ) - // InternalApplicationConfiguration.g:4936:1: ( ( rule__ConfigSpecification__EntriesAssignment_2_0 ) ) - { - // InternalApplicationConfiguration.g:4936:1: ( ( rule__ConfigSpecification__EntriesAssignment_2_0 ) ) - // InternalApplicationConfiguration.g:4937:2: ( rule__ConfigSpecification__EntriesAssignment_2_0 ) - { - before(grammarAccess.getConfigSpecificationAccess().getEntriesAssignment_2_0()); - // InternalApplicationConfiguration.g:4938:2: ( rule__ConfigSpecification__EntriesAssignment_2_0 ) - // InternalApplicationConfiguration.g:4938:3: rule__ConfigSpecification__EntriesAssignment_2_0 - { - pushFollow(FOLLOW_2); - rule__ConfigSpecification__EntriesAssignment_2_0(); - - state._fsp--; - - - } - - after(grammarAccess.getConfigSpecificationAccess().getEntriesAssignment_2_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ConfigSpecification__Group_2__0__Impl" - - - // $ANTLR start "rule__ConfigSpecification__Group_2__1" - // InternalApplicationConfiguration.g:4946:1: rule__ConfigSpecification__Group_2__1 : rule__ConfigSpecification__Group_2__1__Impl ; - public final void rule__ConfigSpecification__Group_2__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:4950:1: ( rule__ConfigSpecification__Group_2__1__Impl ) - // InternalApplicationConfiguration.g:4951:2: rule__ConfigSpecification__Group_2__1__Impl - { - pushFollow(FOLLOW_2); - rule__ConfigSpecification__Group_2__1__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ConfigSpecification__Group_2__1" - - - // $ANTLR start "rule__ConfigSpecification__Group_2__1__Impl" - // InternalApplicationConfiguration.g:4957:1: rule__ConfigSpecification__Group_2__1__Impl : ( ( rule__ConfigSpecification__Group_2_1__0 )* ) ; - public final void rule__ConfigSpecification__Group_2__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:4961:1: ( ( ( rule__ConfigSpecification__Group_2_1__0 )* ) ) - // InternalApplicationConfiguration.g:4962:1: ( ( rule__ConfigSpecification__Group_2_1__0 )* ) - { - // InternalApplicationConfiguration.g:4962:1: ( ( rule__ConfigSpecification__Group_2_1__0 )* ) - // InternalApplicationConfiguration.g:4963:2: ( rule__ConfigSpecification__Group_2_1__0 )* - { - before(grammarAccess.getConfigSpecificationAccess().getGroup_2_1()); - // InternalApplicationConfiguration.g:4964:2: ( rule__ConfigSpecification__Group_2_1__0 )* - loop47: - do { - int alt47=2; - int LA47_0 = input.LA(1); - - if ( (LA47_0==26) ) { - alt47=1; - } - - - switch (alt47) { - case 1 : - // InternalApplicationConfiguration.g:4964:3: rule__ConfigSpecification__Group_2_1__0 - { - pushFollow(FOLLOW_16); - rule__ConfigSpecification__Group_2_1__0(); - - state._fsp--; - - - } - break; - - default : - break loop47; - } - } while (true); - - after(grammarAccess.getConfigSpecificationAccess().getGroup_2_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ConfigSpecification__Group_2__1__Impl" - - - // $ANTLR start "rule__ConfigSpecification__Group_2_1__0" - // InternalApplicationConfiguration.g:4973:1: rule__ConfigSpecification__Group_2_1__0 : rule__ConfigSpecification__Group_2_1__0__Impl rule__ConfigSpecification__Group_2_1__1 ; - public final void rule__ConfigSpecification__Group_2_1__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:4977:1: ( rule__ConfigSpecification__Group_2_1__0__Impl rule__ConfigSpecification__Group_2_1__1 ) - // InternalApplicationConfiguration.g:4978:2: rule__ConfigSpecification__Group_2_1__0__Impl rule__ConfigSpecification__Group_2_1__1 - { - pushFollow(FOLLOW_24); - rule__ConfigSpecification__Group_2_1__0__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__ConfigSpecification__Group_2_1__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ConfigSpecification__Group_2_1__0" - - - // $ANTLR start "rule__ConfigSpecification__Group_2_1__0__Impl" - // InternalApplicationConfiguration.g:4985:1: rule__ConfigSpecification__Group_2_1__0__Impl : ( ',' ) ; - public final void rule__ConfigSpecification__Group_2_1__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:4989:1: ( ( ',' ) ) - // InternalApplicationConfiguration.g:4990:1: ( ',' ) - { - // InternalApplicationConfiguration.g:4990:1: ( ',' ) - // InternalApplicationConfiguration.g:4991:2: ',' - { - before(grammarAccess.getConfigSpecificationAccess().getCommaKeyword_2_1_0()); - match(input,26,FOLLOW_2); - after(grammarAccess.getConfigSpecificationAccess().getCommaKeyword_2_1_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ConfigSpecification__Group_2_1__0__Impl" - - - // $ANTLR start "rule__ConfigSpecification__Group_2_1__1" - // InternalApplicationConfiguration.g:5000:1: rule__ConfigSpecification__Group_2_1__1 : rule__ConfigSpecification__Group_2_1__1__Impl ; - public final void rule__ConfigSpecification__Group_2_1__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:5004:1: ( rule__ConfigSpecification__Group_2_1__1__Impl ) - // InternalApplicationConfiguration.g:5005:2: rule__ConfigSpecification__Group_2_1__1__Impl - { - pushFollow(FOLLOW_2); - rule__ConfigSpecification__Group_2_1__1__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ConfigSpecification__Group_2_1__1" - - - // $ANTLR start "rule__ConfigSpecification__Group_2_1__1__Impl" - // InternalApplicationConfiguration.g:5011:1: rule__ConfigSpecification__Group_2_1__1__Impl : ( ( rule__ConfigSpecification__EntriesAssignment_2_1_1 ) ) ; - public final void rule__ConfigSpecification__Group_2_1__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:5015:1: ( ( ( rule__ConfigSpecification__EntriesAssignment_2_1_1 ) ) ) - // InternalApplicationConfiguration.g:5016:1: ( ( rule__ConfigSpecification__EntriesAssignment_2_1_1 ) ) - { - // InternalApplicationConfiguration.g:5016:1: ( ( rule__ConfigSpecification__EntriesAssignment_2_1_1 ) ) - // InternalApplicationConfiguration.g:5017:2: ( rule__ConfigSpecification__EntriesAssignment_2_1_1 ) - { - before(grammarAccess.getConfigSpecificationAccess().getEntriesAssignment_2_1_1()); - // InternalApplicationConfiguration.g:5018:2: ( rule__ConfigSpecification__EntriesAssignment_2_1_1 ) - // InternalApplicationConfiguration.g:5018:3: rule__ConfigSpecification__EntriesAssignment_2_1_1 - { - pushFollow(FOLLOW_2); - rule__ConfigSpecification__EntriesAssignment_2_1_1(); - - state._fsp--; - - - } - - after(grammarAccess.getConfigSpecificationAccess().getEntriesAssignment_2_1_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ConfigSpecification__Group_2_1__1__Impl" - - - // $ANTLR start "rule__ConfigDeclaration__Group__0" - // InternalApplicationConfiguration.g:5027:1: rule__ConfigDeclaration__Group__0 : rule__ConfigDeclaration__Group__0__Impl rule__ConfigDeclaration__Group__1 ; - public final void rule__ConfigDeclaration__Group__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:5031:1: ( rule__ConfigDeclaration__Group__0__Impl rule__ConfigDeclaration__Group__1 ) - // InternalApplicationConfiguration.g:5032:2: rule__ConfigDeclaration__Group__0__Impl rule__ConfigDeclaration__Group__1 - { - pushFollow(FOLLOW_8); - rule__ConfigDeclaration__Group__0__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__ConfigDeclaration__Group__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ConfigDeclaration__Group__0" - - - // $ANTLR start "rule__ConfigDeclaration__Group__0__Impl" - // InternalApplicationConfiguration.g:5039:1: rule__ConfigDeclaration__Group__0__Impl : ( 'config' ) ; - public final void rule__ConfigDeclaration__Group__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:5043:1: ( ( 'config' ) ) - // InternalApplicationConfiguration.g:5044:1: ( 'config' ) - { - // InternalApplicationConfiguration.g:5044:1: ( 'config' ) - // InternalApplicationConfiguration.g:5045:2: 'config' - { - before(grammarAccess.getConfigDeclarationAccess().getConfigKeyword_0()); - match(input,34,FOLLOW_2); - after(grammarAccess.getConfigDeclarationAccess().getConfigKeyword_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ConfigDeclaration__Group__0__Impl" - - - // $ANTLR start "rule__ConfigDeclaration__Group__1" - // InternalApplicationConfiguration.g:5054:1: rule__ConfigDeclaration__Group__1 : rule__ConfigDeclaration__Group__1__Impl rule__ConfigDeclaration__Group__2 ; - public final void rule__ConfigDeclaration__Group__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:5058:1: ( rule__ConfigDeclaration__Group__1__Impl rule__ConfigDeclaration__Group__2 ) - // InternalApplicationConfiguration.g:5059:2: rule__ConfigDeclaration__Group__1__Impl rule__ConfigDeclaration__Group__2 - { - pushFollow(FOLLOW_18); - rule__ConfigDeclaration__Group__1__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__ConfigDeclaration__Group__2(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ConfigDeclaration__Group__1" - - - // $ANTLR start "rule__ConfigDeclaration__Group__1__Impl" - // InternalApplicationConfiguration.g:5066:1: rule__ConfigDeclaration__Group__1__Impl : ( ( rule__ConfigDeclaration__NameAssignment_1 ) ) ; - public final void rule__ConfigDeclaration__Group__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:5070:1: ( ( ( rule__ConfigDeclaration__NameAssignment_1 ) ) ) - // InternalApplicationConfiguration.g:5071:1: ( ( rule__ConfigDeclaration__NameAssignment_1 ) ) - { - // InternalApplicationConfiguration.g:5071:1: ( ( rule__ConfigDeclaration__NameAssignment_1 ) ) - // InternalApplicationConfiguration.g:5072:2: ( rule__ConfigDeclaration__NameAssignment_1 ) - { - before(grammarAccess.getConfigDeclarationAccess().getNameAssignment_1()); - // InternalApplicationConfiguration.g:5073:2: ( rule__ConfigDeclaration__NameAssignment_1 ) - // InternalApplicationConfiguration.g:5073:3: rule__ConfigDeclaration__NameAssignment_1 - { - pushFollow(FOLLOW_2); - rule__ConfigDeclaration__NameAssignment_1(); - - state._fsp--; - - - } - - after(grammarAccess.getConfigDeclarationAccess().getNameAssignment_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ConfigDeclaration__Group__1__Impl" - - - // $ANTLR start "rule__ConfigDeclaration__Group__2" - // InternalApplicationConfiguration.g:5081:1: rule__ConfigDeclaration__Group__2 : rule__ConfigDeclaration__Group__2__Impl ; - public final void rule__ConfigDeclaration__Group__2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:5085:1: ( rule__ConfigDeclaration__Group__2__Impl ) - // InternalApplicationConfiguration.g:5086:2: rule__ConfigDeclaration__Group__2__Impl - { - pushFollow(FOLLOW_2); - rule__ConfigDeclaration__Group__2__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ConfigDeclaration__Group__2" - - - // $ANTLR start "rule__ConfigDeclaration__Group__2__Impl" - // InternalApplicationConfiguration.g:5092:1: rule__ConfigDeclaration__Group__2__Impl : ( ( rule__ConfigDeclaration__SpecificationAssignment_2 ) ) ; - public final void rule__ConfigDeclaration__Group__2__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:5096:1: ( ( ( rule__ConfigDeclaration__SpecificationAssignment_2 ) ) ) - // InternalApplicationConfiguration.g:5097:1: ( ( rule__ConfigDeclaration__SpecificationAssignment_2 ) ) - { - // InternalApplicationConfiguration.g:5097:1: ( ( rule__ConfigDeclaration__SpecificationAssignment_2 ) ) - // InternalApplicationConfiguration.g:5098:2: ( rule__ConfigDeclaration__SpecificationAssignment_2 ) - { - before(grammarAccess.getConfigDeclarationAccess().getSpecificationAssignment_2()); - // InternalApplicationConfiguration.g:5099:2: ( rule__ConfigDeclaration__SpecificationAssignment_2 ) - // InternalApplicationConfiguration.g:5099:3: rule__ConfigDeclaration__SpecificationAssignment_2 - { - pushFollow(FOLLOW_2); - rule__ConfigDeclaration__SpecificationAssignment_2(); - - state._fsp--; - - - } - - after(grammarAccess.getConfigDeclarationAccess().getSpecificationAssignment_2()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ConfigDeclaration__Group__2__Impl" - - - // $ANTLR start "rule__DocumentationEntry__Group__0" - // InternalApplicationConfiguration.g:5108:1: rule__DocumentationEntry__Group__0 : rule__DocumentationEntry__Group__0__Impl rule__DocumentationEntry__Group__1 ; - public final void rule__DocumentationEntry__Group__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:5112:1: ( rule__DocumentationEntry__Group__0__Impl rule__DocumentationEntry__Group__1 ) - // InternalApplicationConfiguration.g:5113:2: rule__DocumentationEntry__Group__0__Impl rule__DocumentationEntry__Group__1 - { - pushFollow(FOLLOW_13); - rule__DocumentationEntry__Group__0__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__DocumentationEntry__Group__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__DocumentationEntry__Group__0" - - - // $ANTLR start "rule__DocumentationEntry__Group__0__Impl" - // InternalApplicationConfiguration.g:5120:1: rule__DocumentationEntry__Group__0__Impl : ( 'log-level' ) ; - public final void rule__DocumentationEntry__Group__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:5124:1: ( ( 'log-level' ) ) - // InternalApplicationConfiguration.g:5125:1: ( 'log-level' ) - { - // InternalApplicationConfiguration.g:5125:1: ( 'log-level' ) - // InternalApplicationConfiguration.g:5126:2: 'log-level' - { - before(grammarAccess.getDocumentationEntryAccess().getLogLevelKeyword_0()); - match(input,35,FOLLOW_2); - after(grammarAccess.getDocumentationEntryAccess().getLogLevelKeyword_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__DocumentationEntry__Group__0__Impl" - - - // $ANTLR start "rule__DocumentationEntry__Group__1" - // InternalApplicationConfiguration.g:5135:1: rule__DocumentationEntry__Group__1 : rule__DocumentationEntry__Group__1__Impl rule__DocumentationEntry__Group__2 ; - public final void rule__DocumentationEntry__Group__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:5139:1: ( rule__DocumentationEntry__Group__1__Impl rule__DocumentationEntry__Group__2 ) - // InternalApplicationConfiguration.g:5140:2: rule__DocumentationEntry__Group__1__Impl rule__DocumentationEntry__Group__2 - { - pushFollow(FOLLOW_25); - rule__DocumentationEntry__Group__1__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__DocumentationEntry__Group__2(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__DocumentationEntry__Group__1" - - - // $ANTLR start "rule__DocumentationEntry__Group__1__Impl" - // InternalApplicationConfiguration.g:5147:1: rule__DocumentationEntry__Group__1__Impl : ( '=' ) ; - public final void rule__DocumentationEntry__Group__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:5151:1: ( ( '=' ) ) - // InternalApplicationConfiguration.g:5152:1: ( '=' ) - { - // InternalApplicationConfiguration.g:5152:1: ( '=' ) - // InternalApplicationConfiguration.g:5153:2: '=' - { - before(grammarAccess.getDocumentationEntryAccess().getEqualsSignKeyword_1()); - match(input,23,FOLLOW_2); - after(grammarAccess.getDocumentationEntryAccess().getEqualsSignKeyword_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__DocumentationEntry__Group__1__Impl" - - - // $ANTLR start "rule__DocumentationEntry__Group__2" - // InternalApplicationConfiguration.g:5162:1: rule__DocumentationEntry__Group__2 : rule__DocumentationEntry__Group__2__Impl ; - public final void rule__DocumentationEntry__Group__2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:5166:1: ( rule__DocumentationEntry__Group__2__Impl ) - // InternalApplicationConfiguration.g:5167:2: rule__DocumentationEntry__Group__2__Impl - { - pushFollow(FOLLOW_2); - rule__DocumentationEntry__Group__2__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__DocumentationEntry__Group__2" - - - // $ANTLR start "rule__DocumentationEntry__Group__2__Impl" - // InternalApplicationConfiguration.g:5173:1: rule__DocumentationEntry__Group__2__Impl : ( ( rule__DocumentationEntry__LevelAssignment_2 ) ) ; - public final void rule__DocumentationEntry__Group__2__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:5177:1: ( ( ( rule__DocumentationEntry__LevelAssignment_2 ) ) ) - // InternalApplicationConfiguration.g:5178:1: ( ( rule__DocumentationEntry__LevelAssignment_2 ) ) - { - // InternalApplicationConfiguration.g:5178:1: ( ( rule__DocumentationEntry__LevelAssignment_2 ) ) - // InternalApplicationConfiguration.g:5179:2: ( rule__DocumentationEntry__LevelAssignment_2 ) - { - before(grammarAccess.getDocumentationEntryAccess().getLevelAssignment_2()); - // InternalApplicationConfiguration.g:5180:2: ( rule__DocumentationEntry__LevelAssignment_2 ) - // InternalApplicationConfiguration.g:5180:3: rule__DocumentationEntry__LevelAssignment_2 - { - pushFollow(FOLLOW_2); - rule__DocumentationEntry__LevelAssignment_2(); - - state._fsp--; - - - } - - after(grammarAccess.getDocumentationEntryAccess().getLevelAssignment_2()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__DocumentationEntry__Group__2__Impl" - - - // $ANTLR start "rule__RuntimeEntry__Group__0" - // InternalApplicationConfiguration.g:5189:1: rule__RuntimeEntry__Group__0 : rule__RuntimeEntry__Group__0__Impl rule__RuntimeEntry__Group__1 ; - public final void rule__RuntimeEntry__Group__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:5193:1: ( rule__RuntimeEntry__Group__0__Impl rule__RuntimeEntry__Group__1 ) - // InternalApplicationConfiguration.g:5194:2: rule__RuntimeEntry__Group__0__Impl rule__RuntimeEntry__Group__1 - { - pushFollow(FOLLOW_13); - rule__RuntimeEntry__Group__0__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__RuntimeEntry__Group__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__RuntimeEntry__Group__0" - - - // $ANTLR start "rule__RuntimeEntry__Group__0__Impl" - // InternalApplicationConfiguration.g:5201:1: rule__RuntimeEntry__Group__0__Impl : ( 'runtime' ) ; - public final void rule__RuntimeEntry__Group__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:5205:1: ( ( 'runtime' ) ) - // InternalApplicationConfiguration.g:5206:1: ( 'runtime' ) - { - // InternalApplicationConfiguration.g:5206:1: ( 'runtime' ) - // InternalApplicationConfiguration.g:5207:2: 'runtime' - { - before(grammarAccess.getRuntimeEntryAccess().getRuntimeKeyword_0()); - match(input,36,FOLLOW_2); - after(grammarAccess.getRuntimeEntryAccess().getRuntimeKeyword_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__RuntimeEntry__Group__0__Impl" - - - // $ANTLR start "rule__RuntimeEntry__Group__1" - // InternalApplicationConfiguration.g:5216:1: rule__RuntimeEntry__Group__1 : rule__RuntimeEntry__Group__1__Impl rule__RuntimeEntry__Group__2 ; - public final void rule__RuntimeEntry__Group__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:5220:1: ( rule__RuntimeEntry__Group__1__Impl rule__RuntimeEntry__Group__2 ) - // InternalApplicationConfiguration.g:5221:2: rule__RuntimeEntry__Group__1__Impl rule__RuntimeEntry__Group__2 - { - pushFollow(FOLLOW_9); - rule__RuntimeEntry__Group__1__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__RuntimeEntry__Group__2(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__RuntimeEntry__Group__1" - - - // $ANTLR start "rule__RuntimeEntry__Group__1__Impl" - // InternalApplicationConfiguration.g:5228:1: rule__RuntimeEntry__Group__1__Impl : ( '=' ) ; - public final void rule__RuntimeEntry__Group__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:5232:1: ( ( '=' ) ) - // InternalApplicationConfiguration.g:5233:1: ( '=' ) - { - // InternalApplicationConfiguration.g:5233:1: ( '=' ) - // InternalApplicationConfiguration.g:5234:2: '=' - { - before(grammarAccess.getRuntimeEntryAccess().getEqualsSignKeyword_1()); - match(input,23,FOLLOW_2); - after(grammarAccess.getRuntimeEntryAccess().getEqualsSignKeyword_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__RuntimeEntry__Group__1__Impl" - - - // $ANTLR start "rule__RuntimeEntry__Group__2" - // InternalApplicationConfiguration.g:5243:1: rule__RuntimeEntry__Group__2 : rule__RuntimeEntry__Group__2__Impl ; - public final void rule__RuntimeEntry__Group__2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:5247:1: ( rule__RuntimeEntry__Group__2__Impl ) - // InternalApplicationConfiguration.g:5248:2: rule__RuntimeEntry__Group__2__Impl - { - pushFollow(FOLLOW_2); - rule__RuntimeEntry__Group__2__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__RuntimeEntry__Group__2" - - - // $ANTLR start "rule__RuntimeEntry__Group__2__Impl" - // InternalApplicationConfiguration.g:5254:1: rule__RuntimeEntry__Group__2__Impl : ( ( rule__RuntimeEntry__MillisecLimitAssignment_2 ) ) ; - public final void rule__RuntimeEntry__Group__2__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:5258:1: ( ( ( rule__RuntimeEntry__MillisecLimitAssignment_2 ) ) ) - // InternalApplicationConfiguration.g:5259:1: ( ( rule__RuntimeEntry__MillisecLimitAssignment_2 ) ) - { - // InternalApplicationConfiguration.g:5259:1: ( ( rule__RuntimeEntry__MillisecLimitAssignment_2 ) ) - // InternalApplicationConfiguration.g:5260:2: ( rule__RuntimeEntry__MillisecLimitAssignment_2 ) - { - before(grammarAccess.getRuntimeEntryAccess().getMillisecLimitAssignment_2()); - // InternalApplicationConfiguration.g:5261:2: ( rule__RuntimeEntry__MillisecLimitAssignment_2 ) - // InternalApplicationConfiguration.g:5261:3: rule__RuntimeEntry__MillisecLimitAssignment_2 - { - pushFollow(FOLLOW_2); - rule__RuntimeEntry__MillisecLimitAssignment_2(); - - state._fsp--; - - - } - - after(grammarAccess.getRuntimeEntryAccess().getMillisecLimitAssignment_2()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__RuntimeEntry__Group__2__Impl" - - - // $ANTLR start "rule__MemoryEntry__Group__0" - // InternalApplicationConfiguration.g:5270:1: rule__MemoryEntry__Group__0 : rule__MemoryEntry__Group__0__Impl rule__MemoryEntry__Group__1 ; - public final void rule__MemoryEntry__Group__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:5274:1: ( rule__MemoryEntry__Group__0__Impl rule__MemoryEntry__Group__1 ) - // InternalApplicationConfiguration.g:5275:2: rule__MemoryEntry__Group__0__Impl rule__MemoryEntry__Group__1 - { - pushFollow(FOLLOW_13); - rule__MemoryEntry__Group__0__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__MemoryEntry__Group__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__MemoryEntry__Group__0" - - - // $ANTLR start "rule__MemoryEntry__Group__0__Impl" - // InternalApplicationConfiguration.g:5282:1: rule__MemoryEntry__Group__0__Impl : ( 'memory' ) ; - public final void rule__MemoryEntry__Group__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:5286:1: ( ( 'memory' ) ) - // InternalApplicationConfiguration.g:5287:1: ( 'memory' ) - { - // InternalApplicationConfiguration.g:5287:1: ( 'memory' ) - // InternalApplicationConfiguration.g:5288:2: 'memory' - { - before(grammarAccess.getMemoryEntryAccess().getMemoryKeyword_0()); - match(input,37,FOLLOW_2); - after(grammarAccess.getMemoryEntryAccess().getMemoryKeyword_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__MemoryEntry__Group__0__Impl" - - - // $ANTLR start "rule__MemoryEntry__Group__1" - // InternalApplicationConfiguration.g:5297:1: rule__MemoryEntry__Group__1 : rule__MemoryEntry__Group__1__Impl rule__MemoryEntry__Group__2 ; - public final void rule__MemoryEntry__Group__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:5301:1: ( rule__MemoryEntry__Group__1__Impl rule__MemoryEntry__Group__2 ) - // InternalApplicationConfiguration.g:5302:2: rule__MemoryEntry__Group__1__Impl rule__MemoryEntry__Group__2 - { - pushFollow(FOLLOW_9); - rule__MemoryEntry__Group__1__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__MemoryEntry__Group__2(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__MemoryEntry__Group__1" - - - // $ANTLR start "rule__MemoryEntry__Group__1__Impl" - // InternalApplicationConfiguration.g:5309:1: rule__MemoryEntry__Group__1__Impl : ( '=' ) ; - public final void rule__MemoryEntry__Group__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:5313:1: ( ( '=' ) ) - // InternalApplicationConfiguration.g:5314:1: ( '=' ) - { - // InternalApplicationConfiguration.g:5314:1: ( '=' ) - // InternalApplicationConfiguration.g:5315:2: '=' - { - before(grammarAccess.getMemoryEntryAccess().getEqualsSignKeyword_1()); - match(input,23,FOLLOW_2); - after(grammarAccess.getMemoryEntryAccess().getEqualsSignKeyword_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__MemoryEntry__Group__1__Impl" - - - // $ANTLR start "rule__MemoryEntry__Group__2" - // InternalApplicationConfiguration.g:5324:1: rule__MemoryEntry__Group__2 : rule__MemoryEntry__Group__2__Impl ; - public final void rule__MemoryEntry__Group__2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:5328:1: ( rule__MemoryEntry__Group__2__Impl ) - // InternalApplicationConfiguration.g:5329:2: rule__MemoryEntry__Group__2__Impl - { - pushFollow(FOLLOW_2); - rule__MemoryEntry__Group__2__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__MemoryEntry__Group__2" - - - // $ANTLR start "rule__MemoryEntry__Group__2__Impl" - // InternalApplicationConfiguration.g:5335:1: rule__MemoryEntry__Group__2__Impl : ( ( rule__MemoryEntry__MegabyteLimitAssignment_2 ) ) ; - public final void rule__MemoryEntry__Group__2__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:5339:1: ( ( ( rule__MemoryEntry__MegabyteLimitAssignment_2 ) ) ) - // InternalApplicationConfiguration.g:5340:1: ( ( rule__MemoryEntry__MegabyteLimitAssignment_2 ) ) - { - // InternalApplicationConfiguration.g:5340:1: ( ( rule__MemoryEntry__MegabyteLimitAssignment_2 ) ) - // InternalApplicationConfiguration.g:5341:2: ( rule__MemoryEntry__MegabyteLimitAssignment_2 ) - { - before(grammarAccess.getMemoryEntryAccess().getMegabyteLimitAssignment_2()); - // InternalApplicationConfiguration.g:5342:2: ( rule__MemoryEntry__MegabyteLimitAssignment_2 ) - // InternalApplicationConfiguration.g:5342:3: rule__MemoryEntry__MegabyteLimitAssignment_2 - { - pushFollow(FOLLOW_2); - rule__MemoryEntry__MegabyteLimitAssignment_2(); - - state._fsp--; - - - } - - after(grammarAccess.getMemoryEntryAccess().getMegabyteLimitAssignment_2()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__MemoryEntry__Group__2__Impl" - - - // $ANTLR start "rule__CustomEntry__Group__0" - // InternalApplicationConfiguration.g:5351:1: rule__CustomEntry__Group__0 : rule__CustomEntry__Group__0__Impl rule__CustomEntry__Group__1 ; - public final void rule__CustomEntry__Group__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:5355:1: ( rule__CustomEntry__Group__0__Impl rule__CustomEntry__Group__1 ) - // InternalApplicationConfiguration.g:5356:2: rule__CustomEntry__Group__0__Impl rule__CustomEntry__Group__1 - { - pushFollow(FOLLOW_13); - rule__CustomEntry__Group__0__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__CustomEntry__Group__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__CustomEntry__Group__0" - - - // $ANTLR start "rule__CustomEntry__Group__0__Impl" - // InternalApplicationConfiguration.g:5363:1: rule__CustomEntry__Group__0__Impl : ( ( rule__CustomEntry__KeyAssignment_0 ) ) ; - public final void rule__CustomEntry__Group__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:5367:1: ( ( ( rule__CustomEntry__KeyAssignment_0 ) ) ) - // InternalApplicationConfiguration.g:5368:1: ( ( rule__CustomEntry__KeyAssignment_0 ) ) - { - // InternalApplicationConfiguration.g:5368:1: ( ( rule__CustomEntry__KeyAssignment_0 ) ) - // InternalApplicationConfiguration.g:5369:2: ( rule__CustomEntry__KeyAssignment_0 ) - { - before(grammarAccess.getCustomEntryAccess().getKeyAssignment_0()); - // InternalApplicationConfiguration.g:5370:2: ( rule__CustomEntry__KeyAssignment_0 ) - // InternalApplicationConfiguration.g:5370:3: rule__CustomEntry__KeyAssignment_0 - { - pushFollow(FOLLOW_2); - rule__CustomEntry__KeyAssignment_0(); - - state._fsp--; - - - } - - after(grammarAccess.getCustomEntryAccess().getKeyAssignment_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__CustomEntry__Group__0__Impl" - - - // $ANTLR start "rule__CustomEntry__Group__1" - // InternalApplicationConfiguration.g:5378:1: rule__CustomEntry__Group__1 : rule__CustomEntry__Group__1__Impl rule__CustomEntry__Group__2 ; - public final void rule__CustomEntry__Group__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:5382:1: ( rule__CustomEntry__Group__1__Impl rule__CustomEntry__Group__2 ) - // InternalApplicationConfiguration.g:5383:2: rule__CustomEntry__Group__1__Impl rule__CustomEntry__Group__2 - { - pushFollow(FOLLOW_11); - rule__CustomEntry__Group__1__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__CustomEntry__Group__2(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__CustomEntry__Group__1" - - - // $ANTLR start "rule__CustomEntry__Group__1__Impl" - // InternalApplicationConfiguration.g:5390:1: rule__CustomEntry__Group__1__Impl : ( '=' ) ; - public final void rule__CustomEntry__Group__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:5394:1: ( ( '=' ) ) - // InternalApplicationConfiguration.g:5395:1: ( '=' ) - { - // InternalApplicationConfiguration.g:5395:1: ( '=' ) - // InternalApplicationConfiguration.g:5396:2: '=' - { - before(grammarAccess.getCustomEntryAccess().getEqualsSignKeyword_1()); - match(input,23,FOLLOW_2); - after(grammarAccess.getCustomEntryAccess().getEqualsSignKeyword_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__CustomEntry__Group__1__Impl" - - - // $ANTLR start "rule__CustomEntry__Group__2" - // InternalApplicationConfiguration.g:5405:1: rule__CustomEntry__Group__2 : rule__CustomEntry__Group__2__Impl ; - public final void rule__CustomEntry__Group__2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:5409:1: ( rule__CustomEntry__Group__2__Impl ) - // InternalApplicationConfiguration.g:5410:2: rule__CustomEntry__Group__2__Impl - { - pushFollow(FOLLOW_2); - rule__CustomEntry__Group__2__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__CustomEntry__Group__2" - - - // $ANTLR start "rule__CustomEntry__Group__2__Impl" - // InternalApplicationConfiguration.g:5416:1: rule__CustomEntry__Group__2__Impl : ( ( rule__CustomEntry__ValueAssignment_2 ) ) ; - public final void rule__CustomEntry__Group__2__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:5420:1: ( ( ( rule__CustomEntry__ValueAssignment_2 ) ) ) - // InternalApplicationConfiguration.g:5421:1: ( ( rule__CustomEntry__ValueAssignment_2 ) ) - { - // InternalApplicationConfiguration.g:5421:1: ( ( rule__CustomEntry__ValueAssignment_2 ) ) - // InternalApplicationConfiguration.g:5422:2: ( rule__CustomEntry__ValueAssignment_2 ) - { - before(grammarAccess.getCustomEntryAccess().getValueAssignment_2()); - // InternalApplicationConfiguration.g:5423:2: ( rule__CustomEntry__ValueAssignment_2 ) - // InternalApplicationConfiguration.g:5423:3: rule__CustomEntry__ValueAssignment_2 - { - pushFollow(FOLLOW_2); - rule__CustomEntry__ValueAssignment_2(); - - state._fsp--; - - - } - - after(grammarAccess.getCustomEntryAccess().getValueAssignment_2()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__CustomEntry__Group__2__Impl" - - - // $ANTLR start "rule__ScopeSpecification__Group__0" - // InternalApplicationConfiguration.g:5432:1: rule__ScopeSpecification__Group__0 : rule__ScopeSpecification__Group__0__Impl rule__ScopeSpecification__Group__1 ; - public final void rule__ScopeSpecification__Group__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:5436:1: ( rule__ScopeSpecification__Group__0__Impl rule__ScopeSpecification__Group__1 ) - // InternalApplicationConfiguration.g:5437:2: rule__ScopeSpecification__Group__0__Impl rule__ScopeSpecification__Group__1 - { - pushFollow(FOLLOW_18); - rule__ScopeSpecification__Group__0__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__ScopeSpecification__Group__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ScopeSpecification__Group__0" - - - // $ANTLR start "rule__ScopeSpecification__Group__0__Impl" - // InternalApplicationConfiguration.g:5444:1: rule__ScopeSpecification__Group__0__Impl : ( () ) ; - public final void rule__ScopeSpecification__Group__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:5448:1: ( ( () ) ) - // InternalApplicationConfiguration.g:5449:1: ( () ) - { - // InternalApplicationConfiguration.g:5449:1: ( () ) - // InternalApplicationConfiguration.g:5450:2: () - { - before(grammarAccess.getScopeSpecificationAccess().getScopeSpecificationAction_0()); - // InternalApplicationConfiguration.g:5451:2: () - // InternalApplicationConfiguration.g:5451:3: - { - } - - after(grammarAccess.getScopeSpecificationAccess().getScopeSpecificationAction_0()); - - } - - - } - - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ScopeSpecification__Group__0__Impl" - - - // $ANTLR start "rule__ScopeSpecification__Group__1" - // InternalApplicationConfiguration.g:5459:1: rule__ScopeSpecification__Group__1 : rule__ScopeSpecification__Group__1__Impl rule__ScopeSpecification__Group__2 ; - public final void rule__ScopeSpecification__Group__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:5463:1: ( rule__ScopeSpecification__Group__1__Impl rule__ScopeSpecification__Group__2 ) - // InternalApplicationConfiguration.g:5464:2: rule__ScopeSpecification__Group__1__Impl rule__ScopeSpecification__Group__2 - { - pushFollow(FOLLOW_26); - rule__ScopeSpecification__Group__1__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__ScopeSpecification__Group__2(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ScopeSpecification__Group__1" - - - // $ANTLR start "rule__ScopeSpecification__Group__1__Impl" - // InternalApplicationConfiguration.g:5471:1: rule__ScopeSpecification__Group__1__Impl : ( '{' ) ; - public final void rule__ScopeSpecification__Group__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:5475:1: ( ( '{' ) ) - // InternalApplicationConfiguration.g:5476:1: ( '{' ) - { - // InternalApplicationConfiguration.g:5476:1: ( '{' ) - // InternalApplicationConfiguration.g:5477:2: '{' - { - before(grammarAccess.getScopeSpecificationAccess().getLeftCurlyBracketKeyword_1()); - match(input,24,FOLLOW_2); - after(grammarAccess.getScopeSpecificationAccess().getLeftCurlyBracketKeyword_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ScopeSpecification__Group__1__Impl" - - - // $ANTLR start "rule__ScopeSpecification__Group__2" - // InternalApplicationConfiguration.g:5486:1: rule__ScopeSpecification__Group__2 : rule__ScopeSpecification__Group__2__Impl rule__ScopeSpecification__Group__3 ; - public final void rule__ScopeSpecification__Group__2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:5490:1: ( rule__ScopeSpecification__Group__2__Impl rule__ScopeSpecification__Group__3 ) - // InternalApplicationConfiguration.g:5491:2: rule__ScopeSpecification__Group__2__Impl rule__ScopeSpecification__Group__3 - { - pushFollow(FOLLOW_26); - rule__ScopeSpecification__Group__2__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__ScopeSpecification__Group__3(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ScopeSpecification__Group__2" - - - // $ANTLR start "rule__ScopeSpecification__Group__2__Impl" - // InternalApplicationConfiguration.g:5498:1: rule__ScopeSpecification__Group__2__Impl : ( ( rule__ScopeSpecification__Group_2__0 )? ) ; - public final void rule__ScopeSpecification__Group__2__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:5502:1: ( ( ( rule__ScopeSpecification__Group_2__0 )? ) ) - // InternalApplicationConfiguration.g:5503:1: ( ( rule__ScopeSpecification__Group_2__0 )? ) - { - // InternalApplicationConfiguration.g:5503:1: ( ( rule__ScopeSpecification__Group_2__0 )? ) - // InternalApplicationConfiguration.g:5504:2: ( rule__ScopeSpecification__Group_2__0 )? - { - before(grammarAccess.getScopeSpecificationAccess().getGroup_2()); - // InternalApplicationConfiguration.g:5505:2: ( rule__ScopeSpecification__Group_2__0 )? - int alt48=2; - int LA48_0 = input.LA(1); - - if ( (LA48_0==38) ) { - alt48=1; - } - switch (alt48) { - case 1 : - // InternalApplicationConfiguration.g:5505:3: rule__ScopeSpecification__Group_2__0 - { - pushFollow(FOLLOW_2); - rule__ScopeSpecification__Group_2__0(); - - state._fsp--; - - - } - break; - - } - - after(grammarAccess.getScopeSpecificationAccess().getGroup_2()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ScopeSpecification__Group__2__Impl" - - - // $ANTLR start "rule__ScopeSpecification__Group__3" - // InternalApplicationConfiguration.g:5513:1: rule__ScopeSpecification__Group__3 : rule__ScopeSpecification__Group__3__Impl ; - public final void rule__ScopeSpecification__Group__3() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:5517:1: ( rule__ScopeSpecification__Group__3__Impl ) - // InternalApplicationConfiguration.g:5518:2: rule__ScopeSpecification__Group__3__Impl - { - pushFollow(FOLLOW_2); - rule__ScopeSpecification__Group__3__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ScopeSpecification__Group__3" - - - // $ANTLR start "rule__ScopeSpecification__Group__3__Impl" - // InternalApplicationConfiguration.g:5524:1: rule__ScopeSpecification__Group__3__Impl : ( '}' ) ; - public final void rule__ScopeSpecification__Group__3__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:5528:1: ( ( '}' ) ) - // InternalApplicationConfiguration.g:5529:1: ( '}' ) - { - // InternalApplicationConfiguration.g:5529:1: ( '}' ) - // InternalApplicationConfiguration.g:5530:2: '}' - { - before(grammarAccess.getScopeSpecificationAccess().getRightCurlyBracketKeyword_3()); - match(input,25,FOLLOW_2); - after(grammarAccess.getScopeSpecificationAccess().getRightCurlyBracketKeyword_3()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ScopeSpecification__Group__3__Impl" - - - // $ANTLR start "rule__ScopeSpecification__Group_2__0" - // InternalApplicationConfiguration.g:5540:1: rule__ScopeSpecification__Group_2__0 : rule__ScopeSpecification__Group_2__0__Impl rule__ScopeSpecification__Group_2__1 ; - public final void rule__ScopeSpecification__Group_2__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:5544:1: ( rule__ScopeSpecification__Group_2__0__Impl rule__ScopeSpecification__Group_2__1 ) - // InternalApplicationConfiguration.g:5545:2: rule__ScopeSpecification__Group_2__0__Impl rule__ScopeSpecification__Group_2__1 - { - pushFollow(FOLLOW_23); - rule__ScopeSpecification__Group_2__0__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__ScopeSpecification__Group_2__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ScopeSpecification__Group_2__0" - - - // $ANTLR start "rule__ScopeSpecification__Group_2__0__Impl" - // InternalApplicationConfiguration.g:5552:1: rule__ScopeSpecification__Group_2__0__Impl : ( ( rule__ScopeSpecification__ScopesAssignment_2_0 ) ) ; - public final void rule__ScopeSpecification__Group_2__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:5556:1: ( ( ( rule__ScopeSpecification__ScopesAssignment_2_0 ) ) ) - // InternalApplicationConfiguration.g:5557:1: ( ( rule__ScopeSpecification__ScopesAssignment_2_0 ) ) - { - // InternalApplicationConfiguration.g:5557:1: ( ( rule__ScopeSpecification__ScopesAssignment_2_0 ) ) - // InternalApplicationConfiguration.g:5558:2: ( rule__ScopeSpecification__ScopesAssignment_2_0 ) - { - before(grammarAccess.getScopeSpecificationAccess().getScopesAssignment_2_0()); - // InternalApplicationConfiguration.g:5559:2: ( rule__ScopeSpecification__ScopesAssignment_2_0 ) - // InternalApplicationConfiguration.g:5559:3: rule__ScopeSpecification__ScopesAssignment_2_0 - { - pushFollow(FOLLOW_2); - rule__ScopeSpecification__ScopesAssignment_2_0(); - - state._fsp--; - - - } - - after(grammarAccess.getScopeSpecificationAccess().getScopesAssignment_2_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ScopeSpecification__Group_2__0__Impl" - - - // $ANTLR start "rule__ScopeSpecification__Group_2__1" - // InternalApplicationConfiguration.g:5567:1: rule__ScopeSpecification__Group_2__1 : rule__ScopeSpecification__Group_2__1__Impl ; - public final void rule__ScopeSpecification__Group_2__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:5571:1: ( rule__ScopeSpecification__Group_2__1__Impl ) - // InternalApplicationConfiguration.g:5572:2: rule__ScopeSpecification__Group_2__1__Impl - { - pushFollow(FOLLOW_2); - rule__ScopeSpecification__Group_2__1__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ScopeSpecification__Group_2__1" - - - // $ANTLR start "rule__ScopeSpecification__Group_2__1__Impl" - // InternalApplicationConfiguration.g:5578:1: rule__ScopeSpecification__Group_2__1__Impl : ( ( rule__ScopeSpecification__Group_2_1__0 )* ) ; - public final void rule__ScopeSpecification__Group_2__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:5582:1: ( ( ( rule__ScopeSpecification__Group_2_1__0 )* ) ) - // InternalApplicationConfiguration.g:5583:1: ( ( rule__ScopeSpecification__Group_2_1__0 )* ) - { - // InternalApplicationConfiguration.g:5583:1: ( ( rule__ScopeSpecification__Group_2_1__0 )* ) - // InternalApplicationConfiguration.g:5584:2: ( rule__ScopeSpecification__Group_2_1__0 )* - { - before(grammarAccess.getScopeSpecificationAccess().getGroup_2_1()); - // InternalApplicationConfiguration.g:5585:2: ( rule__ScopeSpecification__Group_2_1__0 )* - loop49: - do { - int alt49=2; - int LA49_0 = input.LA(1); - - if ( (LA49_0==26) ) { - alt49=1; - } - - - switch (alt49) { - case 1 : - // InternalApplicationConfiguration.g:5585:3: rule__ScopeSpecification__Group_2_1__0 - { - pushFollow(FOLLOW_16); - rule__ScopeSpecification__Group_2_1__0(); - - state._fsp--; - - - } - break; - - default : - break loop49; - } - } while (true); - - after(grammarAccess.getScopeSpecificationAccess().getGroup_2_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ScopeSpecification__Group_2__1__Impl" - - - // $ANTLR start "rule__ScopeSpecification__Group_2_1__0" - // InternalApplicationConfiguration.g:5594:1: rule__ScopeSpecification__Group_2_1__0 : rule__ScopeSpecification__Group_2_1__0__Impl rule__ScopeSpecification__Group_2_1__1 ; - public final void rule__ScopeSpecification__Group_2_1__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:5598:1: ( rule__ScopeSpecification__Group_2_1__0__Impl rule__ScopeSpecification__Group_2_1__1 ) - // InternalApplicationConfiguration.g:5599:2: rule__ScopeSpecification__Group_2_1__0__Impl rule__ScopeSpecification__Group_2_1__1 - { - pushFollow(FOLLOW_27); - rule__ScopeSpecification__Group_2_1__0__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__ScopeSpecification__Group_2_1__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ScopeSpecification__Group_2_1__0" - - - // $ANTLR start "rule__ScopeSpecification__Group_2_1__0__Impl" - // InternalApplicationConfiguration.g:5606:1: rule__ScopeSpecification__Group_2_1__0__Impl : ( ',' ) ; - public final void rule__ScopeSpecification__Group_2_1__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:5610:1: ( ( ',' ) ) - // InternalApplicationConfiguration.g:5611:1: ( ',' ) - { - // InternalApplicationConfiguration.g:5611:1: ( ',' ) - // InternalApplicationConfiguration.g:5612:2: ',' - { - before(grammarAccess.getScopeSpecificationAccess().getCommaKeyword_2_1_0()); - match(input,26,FOLLOW_2); - after(grammarAccess.getScopeSpecificationAccess().getCommaKeyword_2_1_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ScopeSpecification__Group_2_1__0__Impl" - - - // $ANTLR start "rule__ScopeSpecification__Group_2_1__1" - // InternalApplicationConfiguration.g:5621:1: rule__ScopeSpecification__Group_2_1__1 : rule__ScopeSpecification__Group_2_1__1__Impl ; - public final void rule__ScopeSpecification__Group_2_1__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:5625:1: ( rule__ScopeSpecification__Group_2_1__1__Impl ) - // InternalApplicationConfiguration.g:5626:2: rule__ScopeSpecification__Group_2_1__1__Impl - { - pushFollow(FOLLOW_2); - rule__ScopeSpecification__Group_2_1__1__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ScopeSpecification__Group_2_1__1" - - - // $ANTLR start "rule__ScopeSpecification__Group_2_1__1__Impl" - // InternalApplicationConfiguration.g:5632:1: rule__ScopeSpecification__Group_2_1__1__Impl : ( ( rule__ScopeSpecification__ScopesAssignment_2_1_1 ) ) ; - public final void rule__ScopeSpecification__Group_2_1__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:5636:1: ( ( ( rule__ScopeSpecification__ScopesAssignment_2_1_1 ) ) ) - // InternalApplicationConfiguration.g:5637:1: ( ( rule__ScopeSpecification__ScopesAssignment_2_1_1 ) ) - { - // InternalApplicationConfiguration.g:5637:1: ( ( rule__ScopeSpecification__ScopesAssignment_2_1_1 ) ) - // InternalApplicationConfiguration.g:5638:2: ( rule__ScopeSpecification__ScopesAssignment_2_1_1 ) - { - before(grammarAccess.getScopeSpecificationAccess().getScopesAssignment_2_1_1()); - // InternalApplicationConfiguration.g:5639:2: ( rule__ScopeSpecification__ScopesAssignment_2_1_1 ) - // InternalApplicationConfiguration.g:5639:3: rule__ScopeSpecification__ScopesAssignment_2_1_1 - { - pushFollow(FOLLOW_2); - rule__ScopeSpecification__ScopesAssignment_2_1_1(); - - state._fsp--; - - - } - - after(grammarAccess.getScopeSpecificationAccess().getScopesAssignment_2_1_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ScopeSpecification__Group_2_1__1__Impl" - - - // $ANTLR start "rule__ClassTypeScope__Group__0" - // InternalApplicationConfiguration.g:5648:1: rule__ClassTypeScope__Group__0 : rule__ClassTypeScope__Group__0__Impl rule__ClassTypeScope__Group__1 ; - public final void rule__ClassTypeScope__Group__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:5652:1: ( rule__ClassTypeScope__Group__0__Impl rule__ClassTypeScope__Group__1 ) - // InternalApplicationConfiguration.g:5653:2: rule__ClassTypeScope__Group__0__Impl rule__ClassTypeScope__Group__1 - { - pushFollow(FOLLOW_28); - rule__ClassTypeScope__Group__0__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__ClassTypeScope__Group__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ClassTypeScope__Group__0" - - - // $ANTLR start "rule__ClassTypeScope__Group__0__Impl" - // InternalApplicationConfiguration.g:5660:1: rule__ClassTypeScope__Group__0__Impl : ( '#' ) ; - public final void rule__ClassTypeScope__Group__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:5664:1: ( ( '#' ) ) - // InternalApplicationConfiguration.g:5665:1: ( '#' ) - { - // InternalApplicationConfiguration.g:5665:1: ( '#' ) - // InternalApplicationConfiguration.g:5666:2: '#' - { - before(grammarAccess.getClassTypeScopeAccess().getNumberSignKeyword_0()); - match(input,38,FOLLOW_2); - after(grammarAccess.getClassTypeScopeAccess().getNumberSignKeyword_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ClassTypeScope__Group__0__Impl" - - - // $ANTLR start "rule__ClassTypeScope__Group__1" - // InternalApplicationConfiguration.g:5675:1: rule__ClassTypeScope__Group__1 : rule__ClassTypeScope__Group__1__Impl rule__ClassTypeScope__Group__2 ; - public final void rule__ClassTypeScope__Group__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:5679:1: ( rule__ClassTypeScope__Group__1__Impl rule__ClassTypeScope__Group__2 ) - // InternalApplicationConfiguration.g:5680:2: rule__ClassTypeScope__Group__1__Impl rule__ClassTypeScope__Group__2 - { - pushFollow(FOLLOW_29); - rule__ClassTypeScope__Group__1__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__ClassTypeScope__Group__2(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ClassTypeScope__Group__1" - - - // $ANTLR start "rule__ClassTypeScope__Group__1__Impl" - // InternalApplicationConfiguration.g:5687:1: rule__ClassTypeScope__Group__1__Impl : ( ( rule__ClassTypeScope__TypeAssignment_1 ) ) ; - public final void rule__ClassTypeScope__Group__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:5691:1: ( ( ( rule__ClassTypeScope__TypeAssignment_1 ) ) ) - // InternalApplicationConfiguration.g:5692:1: ( ( rule__ClassTypeScope__TypeAssignment_1 ) ) - { - // InternalApplicationConfiguration.g:5692:1: ( ( rule__ClassTypeScope__TypeAssignment_1 ) ) - // InternalApplicationConfiguration.g:5693:2: ( rule__ClassTypeScope__TypeAssignment_1 ) - { - before(grammarAccess.getClassTypeScopeAccess().getTypeAssignment_1()); - // InternalApplicationConfiguration.g:5694:2: ( rule__ClassTypeScope__TypeAssignment_1 ) - // InternalApplicationConfiguration.g:5694:3: rule__ClassTypeScope__TypeAssignment_1 - { - pushFollow(FOLLOW_2); - rule__ClassTypeScope__TypeAssignment_1(); - - state._fsp--; - - - } - - after(grammarAccess.getClassTypeScopeAccess().getTypeAssignment_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ClassTypeScope__Group__1__Impl" - - - // $ANTLR start "rule__ClassTypeScope__Group__2" - // InternalApplicationConfiguration.g:5702:1: rule__ClassTypeScope__Group__2 : rule__ClassTypeScope__Group__2__Impl rule__ClassTypeScope__Group__3 ; - public final void rule__ClassTypeScope__Group__2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:5706:1: ( rule__ClassTypeScope__Group__2__Impl rule__ClassTypeScope__Group__3 ) - // InternalApplicationConfiguration.g:5707:2: rule__ClassTypeScope__Group__2__Impl rule__ClassTypeScope__Group__3 - { - pushFollow(FOLLOW_30); - rule__ClassTypeScope__Group__2__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__ClassTypeScope__Group__3(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ClassTypeScope__Group__2" - - - // $ANTLR start "rule__ClassTypeScope__Group__2__Impl" - // InternalApplicationConfiguration.g:5714:1: rule__ClassTypeScope__Group__2__Impl : ( ( rule__ClassTypeScope__Alternatives_2 ) ) ; - public final void rule__ClassTypeScope__Group__2__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:5718:1: ( ( ( rule__ClassTypeScope__Alternatives_2 ) ) ) - // InternalApplicationConfiguration.g:5719:1: ( ( rule__ClassTypeScope__Alternatives_2 ) ) - { - // InternalApplicationConfiguration.g:5719:1: ( ( rule__ClassTypeScope__Alternatives_2 ) ) - // InternalApplicationConfiguration.g:5720:2: ( rule__ClassTypeScope__Alternatives_2 ) - { - before(grammarAccess.getClassTypeScopeAccess().getAlternatives_2()); - // InternalApplicationConfiguration.g:5721:2: ( rule__ClassTypeScope__Alternatives_2 ) - // InternalApplicationConfiguration.g:5721:3: rule__ClassTypeScope__Alternatives_2 - { - pushFollow(FOLLOW_2); - rule__ClassTypeScope__Alternatives_2(); - - state._fsp--; - - - } - - after(grammarAccess.getClassTypeScopeAccess().getAlternatives_2()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ClassTypeScope__Group__2__Impl" - - - // $ANTLR start "rule__ClassTypeScope__Group__3" - // InternalApplicationConfiguration.g:5729:1: rule__ClassTypeScope__Group__3 : rule__ClassTypeScope__Group__3__Impl ; - public final void rule__ClassTypeScope__Group__3() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:5733:1: ( rule__ClassTypeScope__Group__3__Impl ) - // InternalApplicationConfiguration.g:5734:2: rule__ClassTypeScope__Group__3__Impl - { - pushFollow(FOLLOW_2); - rule__ClassTypeScope__Group__3__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ClassTypeScope__Group__3" - - - // $ANTLR start "rule__ClassTypeScope__Group__3__Impl" - // InternalApplicationConfiguration.g:5740:1: rule__ClassTypeScope__Group__3__Impl : ( ( rule__ClassTypeScope__Alternatives_3 ) ) ; - public final void rule__ClassTypeScope__Group__3__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:5744:1: ( ( ( rule__ClassTypeScope__Alternatives_3 ) ) ) - // InternalApplicationConfiguration.g:5745:1: ( ( rule__ClassTypeScope__Alternatives_3 ) ) - { - // InternalApplicationConfiguration.g:5745:1: ( ( rule__ClassTypeScope__Alternatives_3 ) ) - // InternalApplicationConfiguration.g:5746:2: ( rule__ClassTypeScope__Alternatives_3 ) - { - before(grammarAccess.getClassTypeScopeAccess().getAlternatives_3()); - // InternalApplicationConfiguration.g:5747:2: ( rule__ClassTypeScope__Alternatives_3 ) - // InternalApplicationConfiguration.g:5747:3: rule__ClassTypeScope__Alternatives_3 - { - pushFollow(FOLLOW_2); - rule__ClassTypeScope__Alternatives_3(); - - state._fsp--; - - - } - - after(grammarAccess.getClassTypeScopeAccess().getAlternatives_3()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ClassTypeScope__Group__3__Impl" - - - // $ANTLR start "rule__ObjectTypeScope__Group__0" - // InternalApplicationConfiguration.g:5756:1: rule__ObjectTypeScope__Group__0 : rule__ObjectTypeScope__Group__0__Impl rule__ObjectTypeScope__Group__1 ; - public final void rule__ObjectTypeScope__Group__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:5760:1: ( rule__ObjectTypeScope__Group__0__Impl rule__ObjectTypeScope__Group__1 ) - // InternalApplicationConfiguration.g:5761:2: rule__ObjectTypeScope__Group__0__Impl rule__ObjectTypeScope__Group__1 - { - pushFollow(FOLLOW_31); - rule__ObjectTypeScope__Group__0__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__ObjectTypeScope__Group__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ObjectTypeScope__Group__0" - - - // $ANTLR start "rule__ObjectTypeScope__Group__0__Impl" - // InternalApplicationConfiguration.g:5768:1: rule__ObjectTypeScope__Group__0__Impl : ( '#' ) ; - public final void rule__ObjectTypeScope__Group__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:5772:1: ( ( '#' ) ) - // InternalApplicationConfiguration.g:5773:1: ( '#' ) - { - // InternalApplicationConfiguration.g:5773:1: ( '#' ) - // InternalApplicationConfiguration.g:5774:2: '#' - { - before(grammarAccess.getObjectTypeScopeAccess().getNumberSignKeyword_0()); - match(input,38,FOLLOW_2); - after(grammarAccess.getObjectTypeScopeAccess().getNumberSignKeyword_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ObjectTypeScope__Group__0__Impl" - - - // $ANTLR start "rule__ObjectTypeScope__Group__1" - // InternalApplicationConfiguration.g:5783:1: rule__ObjectTypeScope__Group__1 : rule__ObjectTypeScope__Group__1__Impl rule__ObjectTypeScope__Group__2 ; - public final void rule__ObjectTypeScope__Group__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:5787:1: ( rule__ObjectTypeScope__Group__1__Impl rule__ObjectTypeScope__Group__2 ) - // InternalApplicationConfiguration.g:5788:2: rule__ObjectTypeScope__Group__1__Impl rule__ObjectTypeScope__Group__2 - { - pushFollow(FOLLOW_29); - rule__ObjectTypeScope__Group__1__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__ObjectTypeScope__Group__2(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ObjectTypeScope__Group__1" - - - // $ANTLR start "rule__ObjectTypeScope__Group__1__Impl" - // InternalApplicationConfiguration.g:5795:1: rule__ObjectTypeScope__Group__1__Impl : ( ( rule__ObjectTypeScope__TypeAssignment_1 ) ) ; - public final void rule__ObjectTypeScope__Group__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:5799:1: ( ( ( rule__ObjectTypeScope__TypeAssignment_1 ) ) ) - // InternalApplicationConfiguration.g:5800:1: ( ( rule__ObjectTypeScope__TypeAssignment_1 ) ) - { - // InternalApplicationConfiguration.g:5800:1: ( ( rule__ObjectTypeScope__TypeAssignment_1 ) ) - // InternalApplicationConfiguration.g:5801:2: ( rule__ObjectTypeScope__TypeAssignment_1 ) - { - before(grammarAccess.getObjectTypeScopeAccess().getTypeAssignment_1()); - // InternalApplicationConfiguration.g:5802:2: ( rule__ObjectTypeScope__TypeAssignment_1 ) - // InternalApplicationConfiguration.g:5802:3: rule__ObjectTypeScope__TypeAssignment_1 - { - pushFollow(FOLLOW_2); - rule__ObjectTypeScope__TypeAssignment_1(); - - state._fsp--; - - - } - - after(grammarAccess.getObjectTypeScopeAccess().getTypeAssignment_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ObjectTypeScope__Group__1__Impl" - - - // $ANTLR start "rule__ObjectTypeScope__Group__2" - // InternalApplicationConfiguration.g:5810:1: rule__ObjectTypeScope__Group__2 : rule__ObjectTypeScope__Group__2__Impl rule__ObjectTypeScope__Group__3 ; - public final void rule__ObjectTypeScope__Group__2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:5814:1: ( rule__ObjectTypeScope__Group__2__Impl rule__ObjectTypeScope__Group__3 ) - // InternalApplicationConfiguration.g:5815:2: rule__ObjectTypeScope__Group__2__Impl rule__ObjectTypeScope__Group__3 - { - pushFollow(FOLLOW_30); - rule__ObjectTypeScope__Group__2__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__ObjectTypeScope__Group__3(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ObjectTypeScope__Group__2" - - - // $ANTLR start "rule__ObjectTypeScope__Group__2__Impl" - // InternalApplicationConfiguration.g:5822:1: rule__ObjectTypeScope__Group__2__Impl : ( ( rule__ObjectTypeScope__Alternatives_2 ) ) ; - public final void rule__ObjectTypeScope__Group__2__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:5826:1: ( ( ( rule__ObjectTypeScope__Alternatives_2 ) ) ) - // InternalApplicationConfiguration.g:5827:1: ( ( rule__ObjectTypeScope__Alternatives_2 ) ) - { - // InternalApplicationConfiguration.g:5827:1: ( ( rule__ObjectTypeScope__Alternatives_2 ) ) - // InternalApplicationConfiguration.g:5828:2: ( rule__ObjectTypeScope__Alternatives_2 ) - { - before(grammarAccess.getObjectTypeScopeAccess().getAlternatives_2()); - // InternalApplicationConfiguration.g:5829:2: ( rule__ObjectTypeScope__Alternatives_2 ) - // InternalApplicationConfiguration.g:5829:3: rule__ObjectTypeScope__Alternatives_2 - { - pushFollow(FOLLOW_2); - rule__ObjectTypeScope__Alternatives_2(); - - state._fsp--; - - - } - - after(grammarAccess.getObjectTypeScopeAccess().getAlternatives_2()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ObjectTypeScope__Group__2__Impl" - - - // $ANTLR start "rule__ObjectTypeScope__Group__3" - // InternalApplicationConfiguration.g:5837:1: rule__ObjectTypeScope__Group__3 : rule__ObjectTypeScope__Group__3__Impl ; - public final void rule__ObjectTypeScope__Group__3() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:5841:1: ( rule__ObjectTypeScope__Group__3__Impl ) - // InternalApplicationConfiguration.g:5842:2: rule__ObjectTypeScope__Group__3__Impl - { - pushFollow(FOLLOW_2); - rule__ObjectTypeScope__Group__3__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ObjectTypeScope__Group__3" - - - // $ANTLR start "rule__ObjectTypeScope__Group__3__Impl" - // InternalApplicationConfiguration.g:5848:1: rule__ObjectTypeScope__Group__3__Impl : ( ( rule__ObjectTypeScope__Alternatives_3 ) ) ; - public final void rule__ObjectTypeScope__Group__3__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:5852:1: ( ( ( rule__ObjectTypeScope__Alternatives_3 ) ) ) - // InternalApplicationConfiguration.g:5853:1: ( ( rule__ObjectTypeScope__Alternatives_3 ) ) - { - // InternalApplicationConfiguration.g:5853:1: ( ( rule__ObjectTypeScope__Alternatives_3 ) ) - // InternalApplicationConfiguration.g:5854:2: ( rule__ObjectTypeScope__Alternatives_3 ) - { - before(grammarAccess.getObjectTypeScopeAccess().getAlternatives_3()); - // InternalApplicationConfiguration.g:5855:2: ( rule__ObjectTypeScope__Alternatives_3 ) - // InternalApplicationConfiguration.g:5855:3: rule__ObjectTypeScope__Alternatives_3 - { - pushFollow(FOLLOW_2); - rule__ObjectTypeScope__Alternatives_3(); - - state._fsp--; - - - } - - after(grammarAccess.getObjectTypeScopeAccess().getAlternatives_3()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ObjectTypeScope__Group__3__Impl" - - - // $ANTLR start "rule__IntegerTypeScope__Group__0" - // InternalApplicationConfiguration.g:5864:1: rule__IntegerTypeScope__Group__0 : rule__IntegerTypeScope__Group__0__Impl rule__IntegerTypeScope__Group__1 ; - public final void rule__IntegerTypeScope__Group__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:5868:1: ( rule__IntegerTypeScope__Group__0__Impl rule__IntegerTypeScope__Group__1 ) - // InternalApplicationConfiguration.g:5869:2: rule__IntegerTypeScope__Group__0__Impl rule__IntegerTypeScope__Group__1 - { - pushFollow(FOLLOW_32); - rule__IntegerTypeScope__Group__0__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__IntegerTypeScope__Group__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__IntegerTypeScope__Group__0" - - - // $ANTLR start "rule__IntegerTypeScope__Group__0__Impl" - // InternalApplicationConfiguration.g:5876:1: rule__IntegerTypeScope__Group__0__Impl : ( '#' ) ; - public final void rule__IntegerTypeScope__Group__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:5880:1: ( ( '#' ) ) - // InternalApplicationConfiguration.g:5881:1: ( '#' ) - { - // InternalApplicationConfiguration.g:5881:1: ( '#' ) - // InternalApplicationConfiguration.g:5882:2: '#' - { - before(grammarAccess.getIntegerTypeScopeAccess().getNumberSignKeyword_0()); - match(input,38,FOLLOW_2); - after(grammarAccess.getIntegerTypeScopeAccess().getNumberSignKeyword_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__IntegerTypeScope__Group__0__Impl" - - - // $ANTLR start "rule__IntegerTypeScope__Group__1" - // InternalApplicationConfiguration.g:5891:1: rule__IntegerTypeScope__Group__1 : rule__IntegerTypeScope__Group__1__Impl rule__IntegerTypeScope__Group__2 ; - public final void rule__IntegerTypeScope__Group__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:5895:1: ( rule__IntegerTypeScope__Group__1__Impl rule__IntegerTypeScope__Group__2 ) - // InternalApplicationConfiguration.g:5896:2: rule__IntegerTypeScope__Group__1__Impl rule__IntegerTypeScope__Group__2 - { - pushFollow(FOLLOW_29); - rule__IntegerTypeScope__Group__1__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__IntegerTypeScope__Group__2(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__IntegerTypeScope__Group__1" - - - // $ANTLR start "rule__IntegerTypeScope__Group__1__Impl" - // InternalApplicationConfiguration.g:5903:1: rule__IntegerTypeScope__Group__1__Impl : ( ( rule__IntegerTypeScope__TypeAssignment_1 ) ) ; - public final void rule__IntegerTypeScope__Group__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:5907:1: ( ( ( rule__IntegerTypeScope__TypeAssignment_1 ) ) ) - // InternalApplicationConfiguration.g:5908:1: ( ( rule__IntegerTypeScope__TypeAssignment_1 ) ) - { - // InternalApplicationConfiguration.g:5908:1: ( ( rule__IntegerTypeScope__TypeAssignment_1 ) ) - // InternalApplicationConfiguration.g:5909:2: ( rule__IntegerTypeScope__TypeAssignment_1 ) - { - before(grammarAccess.getIntegerTypeScopeAccess().getTypeAssignment_1()); - // InternalApplicationConfiguration.g:5910:2: ( rule__IntegerTypeScope__TypeAssignment_1 ) - // InternalApplicationConfiguration.g:5910:3: rule__IntegerTypeScope__TypeAssignment_1 - { - pushFollow(FOLLOW_2); - rule__IntegerTypeScope__TypeAssignment_1(); - - state._fsp--; - - - } - - after(grammarAccess.getIntegerTypeScopeAccess().getTypeAssignment_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__IntegerTypeScope__Group__1__Impl" - - - // $ANTLR start "rule__IntegerTypeScope__Group__2" - // InternalApplicationConfiguration.g:5918:1: rule__IntegerTypeScope__Group__2 : rule__IntegerTypeScope__Group__2__Impl rule__IntegerTypeScope__Group__3 ; - public final void rule__IntegerTypeScope__Group__2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:5922:1: ( rule__IntegerTypeScope__Group__2__Impl rule__IntegerTypeScope__Group__3 ) - // InternalApplicationConfiguration.g:5923:2: rule__IntegerTypeScope__Group__2__Impl rule__IntegerTypeScope__Group__3 - { - pushFollow(FOLLOW_33); - rule__IntegerTypeScope__Group__2__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__IntegerTypeScope__Group__3(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__IntegerTypeScope__Group__2" - - - // $ANTLR start "rule__IntegerTypeScope__Group__2__Impl" - // InternalApplicationConfiguration.g:5930:1: rule__IntegerTypeScope__Group__2__Impl : ( ( rule__IntegerTypeScope__Alternatives_2 ) ) ; - public final void rule__IntegerTypeScope__Group__2__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:5934:1: ( ( ( rule__IntegerTypeScope__Alternatives_2 ) ) ) - // InternalApplicationConfiguration.g:5935:1: ( ( rule__IntegerTypeScope__Alternatives_2 ) ) - { - // InternalApplicationConfiguration.g:5935:1: ( ( rule__IntegerTypeScope__Alternatives_2 ) ) - // InternalApplicationConfiguration.g:5936:2: ( rule__IntegerTypeScope__Alternatives_2 ) - { - before(grammarAccess.getIntegerTypeScopeAccess().getAlternatives_2()); - // InternalApplicationConfiguration.g:5937:2: ( rule__IntegerTypeScope__Alternatives_2 ) - // InternalApplicationConfiguration.g:5937:3: rule__IntegerTypeScope__Alternatives_2 - { - pushFollow(FOLLOW_2); - rule__IntegerTypeScope__Alternatives_2(); - - state._fsp--; - - - } - - after(grammarAccess.getIntegerTypeScopeAccess().getAlternatives_2()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__IntegerTypeScope__Group__2__Impl" - - - // $ANTLR start "rule__IntegerTypeScope__Group__3" - // InternalApplicationConfiguration.g:5945:1: rule__IntegerTypeScope__Group__3 : rule__IntegerTypeScope__Group__3__Impl ; - public final void rule__IntegerTypeScope__Group__3() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:5949:1: ( rule__IntegerTypeScope__Group__3__Impl ) - // InternalApplicationConfiguration.g:5950:2: rule__IntegerTypeScope__Group__3__Impl - { - pushFollow(FOLLOW_2); - rule__IntegerTypeScope__Group__3__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__IntegerTypeScope__Group__3" - - - // $ANTLR start "rule__IntegerTypeScope__Group__3__Impl" - // InternalApplicationConfiguration.g:5956:1: rule__IntegerTypeScope__Group__3__Impl : ( ( rule__IntegerTypeScope__Alternatives_3 ) ) ; - public final void rule__IntegerTypeScope__Group__3__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:5960:1: ( ( ( rule__IntegerTypeScope__Alternatives_3 ) ) ) - // InternalApplicationConfiguration.g:5961:1: ( ( rule__IntegerTypeScope__Alternatives_3 ) ) - { - // InternalApplicationConfiguration.g:5961:1: ( ( rule__IntegerTypeScope__Alternatives_3 ) ) - // InternalApplicationConfiguration.g:5962:2: ( rule__IntegerTypeScope__Alternatives_3 ) - { - before(grammarAccess.getIntegerTypeScopeAccess().getAlternatives_3()); - // InternalApplicationConfiguration.g:5963:2: ( rule__IntegerTypeScope__Alternatives_3 ) - // InternalApplicationConfiguration.g:5963:3: rule__IntegerTypeScope__Alternatives_3 - { - pushFollow(FOLLOW_2); - rule__IntegerTypeScope__Alternatives_3(); - - state._fsp--; - - - } - - after(grammarAccess.getIntegerTypeScopeAccess().getAlternatives_3()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__IntegerTypeScope__Group__3__Impl" - - - // $ANTLR start "rule__RealTypeScope__Group__0" - // InternalApplicationConfiguration.g:5972:1: rule__RealTypeScope__Group__0 : rule__RealTypeScope__Group__0__Impl rule__RealTypeScope__Group__1 ; - public final void rule__RealTypeScope__Group__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:5976:1: ( rule__RealTypeScope__Group__0__Impl rule__RealTypeScope__Group__1 ) - // InternalApplicationConfiguration.g:5977:2: rule__RealTypeScope__Group__0__Impl rule__RealTypeScope__Group__1 - { - pushFollow(FOLLOW_34); - rule__RealTypeScope__Group__0__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__RealTypeScope__Group__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__RealTypeScope__Group__0" - - - // $ANTLR start "rule__RealTypeScope__Group__0__Impl" - // InternalApplicationConfiguration.g:5984:1: rule__RealTypeScope__Group__0__Impl : ( '#' ) ; - public final void rule__RealTypeScope__Group__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:5988:1: ( ( '#' ) ) - // InternalApplicationConfiguration.g:5989:1: ( '#' ) - { - // InternalApplicationConfiguration.g:5989:1: ( '#' ) - // InternalApplicationConfiguration.g:5990:2: '#' - { - before(grammarAccess.getRealTypeScopeAccess().getNumberSignKeyword_0()); - match(input,38,FOLLOW_2); - after(grammarAccess.getRealTypeScopeAccess().getNumberSignKeyword_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__RealTypeScope__Group__0__Impl" - - - // $ANTLR start "rule__RealTypeScope__Group__1" - // InternalApplicationConfiguration.g:5999:1: rule__RealTypeScope__Group__1 : rule__RealTypeScope__Group__1__Impl rule__RealTypeScope__Group__2 ; - public final void rule__RealTypeScope__Group__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:6003:1: ( rule__RealTypeScope__Group__1__Impl rule__RealTypeScope__Group__2 ) - // InternalApplicationConfiguration.g:6004:2: rule__RealTypeScope__Group__1__Impl rule__RealTypeScope__Group__2 - { - pushFollow(FOLLOW_29); - rule__RealTypeScope__Group__1__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__RealTypeScope__Group__2(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__RealTypeScope__Group__1" - - - // $ANTLR start "rule__RealTypeScope__Group__1__Impl" - // InternalApplicationConfiguration.g:6011:1: rule__RealTypeScope__Group__1__Impl : ( ( rule__RealTypeScope__TypeAssignment_1 ) ) ; - public final void rule__RealTypeScope__Group__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:6015:1: ( ( ( rule__RealTypeScope__TypeAssignment_1 ) ) ) - // InternalApplicationConfiguration.g:6016:1: ( ( rule__RealTypeScope__TypeAssignment_1 ) ) - { - // InternalApplicationConfiguration.g:6016:1: ( ( rule__RealTypeScope__TypeAssignment_1 ) ) - // InternalApplicationConfiguration.g:6017:2: ( rule__RealTypeScope__TypeAssignment_1 ) - { - before(grammarAccess.getRealTypeScopeAccess().getTypeAssignment_1()); - // InternalApplicationConfiguration.g:6018:2: ( rule__RealTypeScope__TypeAssignment_1 ) - // InternalApplicationConfiguration.g:6018:3: rule__RealTypeScope__TypeAssignment_1 - { - pushFollow(FOLLOW_2); - rule__RealTypeScope__TypeAssignment_1(); - - state._fsp--; - - - } - - after(grammarAccess.getRealTypeScopeAccess().getTypeAssignment_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__RealTypeScope__Group__1__Impl" - - - // $ANTLR start "rule__RealTypeScope__Group__2" - // InternalApplicationConfiguration.g:6026:1: rule__RealTypeScope__Group__2 : rule__RealTypeScope__Group__2__Impl rule__RealTypeScope__Group__3 ; - public final void rule__RealTypeScope__Group__2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:6030:1: ( rule__RealTypeScope__Group__2__Impl rule__RealTypeScope__Group__3 ) - // InternalApplicationConfiguration.g:6031:2: rule__RealTypeScope__Group__2__Impl rule__RealTypeScope__Group__3 - { - pushFollow(FOLLOW_33); - rule__RealTypeScope__Group__2__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__RealTypeScope__Group__3(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__RealTypeScope__Group__2" - - - // $ANTLR start "rule__RealTypeScope__Group__2__Impl" - // InternalApplicationConfiguration.g:6038:1: rule__RealTypeScope__Group__2__Impl : ( ( rule__RealTypeScope__Alternatives_2 ) ) ; - public final void rule__RealTypeScope__Group__2__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:6042:1: ( ( ( rule__RealTypeScope__Alternatives_2 ) ) ) - // InternalApplicationConfiguration.g:6043:1: ( ( rule__RealTypeScope__Alternatives_2 ) ) - { - // InternalApplicationConfiguration.g:6043:1: ( ( rule__RealTypeScope__Alternatives_2 ) ) - // InternalApplicationConfiguration.g:6044:2: ( rule__RealTypeScope__Alternatives_2 ) - { - before(grammarAccess.getRealTypeScopeAccess().getAlternatives_2()); - // InternalApplicationConfiguration.g:6045:2: ( rule__RealTypeScope__Alternatives_2 ) - // InternalApplicationConfiguration.g:6045:3: rule__RealTypeScope__Alternatives_2 - { - pushFollow(FOLLOW_2); - rule__RealTypeScope__Alternatives_2(); - - state._fsp--; - - - } - - after(grammarAccess.getRealTypeScopeAccess().getAlternatives_2()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__RealTypeScope__Group__2__Impl" - - - // $ANTLR start "rule__RealTypeScope__Group__3" - // InternalApplicationConfiguration.g:6053:1: rule__RealTypeScope__Group__3 : rule__RealTypeScope__Group__3__Impl ; - public final void rule__RealTypeScope__Group__3() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:6057:1: ( rule__RealTypeScope__Group__3__Impl ) - // InternalApplicationConfiguration.g:6058:2: rule__RealTypeScope__Group__3__Impl - { - pushFollow(FOLLOW_2); - rule__RealTypeScope__Group__3__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__RealTypeScope__Group__3" - - - // $ANTLR start "rule__RealTypeScope__Group__3__Impl" - // InternalApplicationConfiguration.g:6064:1: rule__RealTypeScope__Group__3__Impl : ( ( rule__RealTypeScope__Alternatives_3 ) ) ; - public final void rule__RealTypeScope__Group__3__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:6068:1: ( ( ( rule__RealTypeScope__Alternatives_3 ) ) ) - // InternalApplicationConfiguration.g:6069:1: ( ( rule__RealTypeScope__Alternatives_3 ) ) - { - // InternalApplicationConfiguration.g:6069:1: ( ( rule__RealTypeScope__Alternatives_3 ) ) - // InternalApplicationConfiguration.g:6070:2: ( rule__RealTypeScope__Alternatives_3 ) - { - before(grammarAccess.getRealTypeScopeAccess().getAlternatives_3()); - // InternalApplicationConfiguration.g:6071:2: ( rule__RealTypeScope__Alternatives_3 ) - // InternalApplicationConfiguration.g:6071:3: rule__RealTypeScope__Alternatives_3 - { - pushFollow(FOLLOW_2); - rule__RealTypeScope__Alternatives_3(); - - state._fsp--; - - - } - - after(grammarAccess.getRealTypeScopeAccess().getAlternatives_3()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__RealTypeScope__Group__3__Impl" - - - // $ANTLR start "rule__StringTypeScope__Group__0" - // InternalApplicationConfiguration.g:6080:1: rule__StringTypeScope__Group__0 : rule__StringTypeScope__Group__0__Impl rule__StringTypeScope__Group__1 ; - public final void rule__StringTypeScope__Group__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:6084:1: ( rule__StringTypeScope__Group__0__Impl rule__StringTypeScope__Group__1 ) - // InternalApplicationConfiguration.g:6085:2: rule__StringTypeScope__Group__0__Impl rule__StringTypeScope__Group__1 - { - pushFollow(FOLLOW_35); - rule__StringTypeScope__Group__0__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__StringTypeScope__Group__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__StringTypeScope__Group__0" - - - // $ANTLR start "rule__StringTypeScope__Group__0__Impl" - // InternalApplicationConfiguration.g:6092:1: rule__StringTypeScope__Group__0__Impl : ( '#' ) ; - public final void rule__StringTypeScope__Group__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:6096:1: ( ( '#' ) ) - // InternalApplicationConfiguration.g:6097:1: ( '#' ) - { - // InternalApplicationConfiguration.g:6097:1: ( '#' ) - // InternalApplicationConfiguration.g:6098:2: '#' - { - before(grammarAccess.getStringTypeScopeAccess().getNumberSignKeyword_0()); - match(input,38,FOLLOW_2); - after(grammarAccess.getStringTypeScopeAccess().getNumberSignKeyword_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__StringTypeScope__Group__0__Impl" - - - // $ANTLR start "rule__StringTypeScope__Group__1" - // InternalApplicationConfiguration.g:6107:1: rule__StringTypeScope__Group__1 : rule__StringTypeScope__Group__1__Impl rule__StringTypeScope__Group__2 ; - public final void rule__StringTypeScope__Group__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:6111:1: ( rule__StringTypeScope__Group__1__Impl rule__StringTypeScope__Group__2 ) - // InternalApplicationConfiguration.g:6112:2: rule__StringTypeScope__Group__1__Impl rule__StringTypeScope__Group__2 - { - pushFollow(FOLLOW_29); - rule__StringTypeScope__Group__1__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__StringTypeScope__Group__2(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__StringTypeScope__Group__1" - - - // $ANTLR start "rule__StringTypeScope__Group__1__Impl" - // InternalApplicationConfiguration.g:6119:1: rule__StringTypeScope__Group__1__Impl : ( ( rule__StringTypeScope__TypeAssignment_1 ) ) ; - public final void rule__StringTypeScope__Group__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:6123:1: ( ( ( rule__StringTypeScope__TypeAssignment_1 ) ) ) - // InternalApplicationConfiguration.g:6124:1: ( ( rule__StringTypeScope__TypeAssignment_1 ) ) - { - // InternalApplicationConfiguration.g:6124:1: ( ( rule__StringTypeScope__TypeAssignment_1 ) ) - // InternalApplicationConfiguration.g:6125:2: ( rule__StringTypeScope__TypeAssignment_1 ) - { - before(grammarAccess.getStringTypeScopeAccess().getTypeAssignment_1()); - // InternalApplicationConfiguration.g:6126:2: ( rule__StringTypeScope__TypeAssignment_1 ) - // InternalApplicationConfiguration.g:6126:3: rule__StringTypeScope__TypeAssignment_1 - { - pushFollow(FOLLOW_2); - rule__StringTypeScope__TypeAssignment_1(); - - state._fsp--; - - - } - - after(grammarAccess.getStringTypeScopeAccess().getTypeAssignment_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__StringTypeScope__Group__1__Impl" - - - // $ANTLR start "rule__StringTypeScope__Group__2" - // InternalApplicationConfiguration.g:6134:1: rule__StringTypeScope__Group__2 : rule__StringTypeScope__Group__2__Impl rule__StringTypeScope__Group__3 ; - public final void rule__StringTypeScope__Group__2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:6138:1: ( rule__StringTypeScope__Group__2__Impl rule__StringTypeScope__Group__3 ) - // InternalApplicationConfiguration.g:6139:2: rule__StringTypeScope__Group__2__Impl rule__StringTypeScope__Group__3 - { - pushFollow(FOLLOW_33); - rule__StringTypeScope__Group__2__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__StringTypeScope__Group__3(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__StringTypeScope__Group__2" - - - // $ANTLR start "rule__StringTypeScope__Group__2__Impl" - // InternalApplicationConfiguration.g:6146:1: rule__StringTypeScope__Group__2__Impl : ( ( rule__StringTypeScope__Alternatives_2 ) ) ; - public final void rule__StringTypeScope__Group__2__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:6150:1: ( ( ( rule__StringTypeScope__Alternatives_2 ) ) ) - // InternalApplicationConfiguration.g:6151:1: ( ( rule__StringTypeScope__Alternatives_2 ) ) - { - // InternalApplicationConfiguration.g:6151:1: ( ( rule__StringTypeScope__Alternatives_2 ) ) - // InternalApplicationConfiguration.g:6152:2: ( rule__StringTypeScope__Alternatives_2 ) - { - before(grammarAccess.getStringTypeScopeAccess().getAlternatives_2()); - // InternalApplicationConfiguration.g:6153:2: ( rule__StringTypeScope__Alternatives_2 ) - // InternalApplicationConfiguration.g:6153:3: rule__StringTypeScope__Alternatives_2 - { - pushFollow(FOLLOW_2); - rule__StringTypeScope__Alternatives_2(); - - state._fsp--; - - - } - - after(grammarAccess.getStringTypeScopeAccess().getAlternatives_2()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__StringTypeScope__Group__2__Impl" - - - // $ANTLR start "rule__StringTypeScope__Group__3" - // InternalApplicationConfiguration.g:6161:1: rule__StringTypeScope__Group__3 : rule__StringTypeScope__Group__3__Impl ; - public final void rule__StringTypeScope__Group__3() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:6165:1: ( rule__StringTypeScope__Group__3__Impl ) - // InternalApplicationConfiguration.g:6166:2: rule__StringTypeScope__Group__3__Impl - { - pushFollow(FOLLOW_2); - rule__StringTypeScope__Group__3__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__StringTypeScope__Group__3" - - - // $ANTLR start "rule__StringTypeScope__Group__3__Impl" - // InternalApplicationConfiguration.g:6172:1: rule__StringTypeScope__Group__3__Impl : ( ( rule__StringTypeScope__Alternatives_3 ) ) ; - public final void rule__StringTypeScope__Group__3__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:6176:1: ( ( ( rule__StringTypeScope__Alternatives_3 ) ) ) - // InternalApplicationConfiguration.g:6177:1: ( ( rule__StringTypeScope__Alternatives_3 ) ) - { - // InternalApplicationConfiguration.g:6177:1: ( ( rule__StringTypeScope__Alternatives_3 ) ) - // InternalApplicationConfiguration.g:6178:2: ( rule__StringTypeScope__Alternatives_3 ) - { - before(grammarAccess.getStringTypeScopeAccess().getAlternatives_3()); - // InternalApplicationConfiguration.g:6179:2: ( rule__StringTypeScope__Alternatives_3 ) - // InternalApplicationConfiguration.g:6179:3: rule__StringTypeScope__Alternatives_3 - { - pushFollow(FOLLOW_2); - rule__StringTypeScope__Alternatives_3(); - - state._fsp--; - - - } - - after(grammarAccess.getStringTypeScopeAccess().getAlternatives_3()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__StringTypeScope__Group__3__Impl" - - - // $ANTLR start "rule__ClassReference__Group__0" - // InternalApplicationConfiguration.g:6188:1: rule__ClassReference__Group__0 : rule__ClassReference__Group__0__Impl rule__ClassReference__Group__1 ; - public final void rule__ClassReference__Group__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:6192:1: ( rule__ClassReference__Group__0__Impl rule__ClassReference__Group__1 ) - // InternalApplicationConfiguration.g:6193:2: rule__ClassReference__Group__0__Impl rule__ClassReference__Group__1 - { - pushFollow(FOLLOW_8); - rule__ClassReference__Group__0__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__ClassReference__Group__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ClassReference__Group__0" - - - // $ANTLR start "rule__ClassReference__Group__0__Impl" - // InternalApplicationConfiguration.g:6200:1: rule__ClassReference__Group__0__Impl : ( '<' ) ; - public final void rule__ClassReference__Group__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:6204:1: ( ( '<' ) ) - // InternalApplicationConfiguration.g:6205:1: ( '<' ) - { - // InternalApplicationConfiguration.g:6205:1: ( '<' ) - // InternalApplicationConfiguration.g:6206:2: '<' - { - before(grammarAccess.getClassReferenceAccess().getLessThanSignKeyword_0()); - match(input,39,FOLLOW_2); - after(grammarAccess.getClassReferenceAccess().getLessThanSignKeyword_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ClassReference__Group__0__Impl" - - - // $ANTLR start "rule__ClassReference__Group__1" - // InternalApplicationConfiguration.g:6215:1: rule__ClassReference__Group__1 : rule__ClassReference__Group__1__Impl rule__ClassReference__Group__2 ; - public final void rule__ClassReference__Group__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:6219:1: ( rule__ClassReference__Group__1__Impl rule__ClassReference__Group__2 ) - // InternalApplicationConfiguration.g:6220:2: rule__ClassReference__Group__1__Impl rule__ClassReference__Group__2 - { - pushFollow(FOLLOW_36); - rule__ClassReference__Group__1__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__ClassReference__Group__2(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ClassReference__Group__1" - - - // $ANTLR start "rule__ClassReference__Group__1__Impl" - // InternalApplicationConfiguration.g:6227:1: rule__ClassReference__Group__1__Impl : ( ( rule__ClassReference__ElementAssignment_1 ) ) ; - public final void rule__ClassReference__Group__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:6231:1: ( ( ( rule__ClassReference__ElementAssignment_1 ) ) ) - // InternalApplicationConfiguration.g:6232:1: ( ( rule__ClassReference__ElementAssignment_1 ) ) - { - // InternalApplicationConfiguration.g:6232:1: ( ( rule__ClassReference__ElementAssignment_1 ) ) - // InternalApplicationConfiguration.g:6233:2: ( rule__ClassReference__ElementAssignment_1 ) - { - before(grammarAccess.getClassReferenceAccess().getElementAssignment_1()); - // InternalApplicationConfiguration.g:6234:2: ( rule__ClassReference__ElementAssignment_1 ) - // InternalApplicationConfiguration.g:6234:3: rule__ClassReference__ElementAssignment_1 - { - pushFollow(FOLLOW_2); - rule__ClassReference__ElementAssignment_1(); - - state._fsp--; - - - } - - after(grammarAccess.getClassReferenceAccess().getElementAssignment_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ClassReference__Group__1__Impl" - - - // $ANTLR start "rule__ClassReference__Group__2" - // InternalApplicationConfiguration.g:6242:1: rule__ClassReference__Group__2 : rule__ClassReference__Group__2__Impl ; - public final void rule__ClassReference__Group__2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:6246:1: ( rule__ClassReference__Group__2__Impl ) - // InternalApplicationConfiguration.g:6247:2: rule__ClassReference__Group__2__Impl - { - pushFollow(FOLLOW_2); - rule__ClassReference__Group__2__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ClassReference__Group__2" - - - // $ANTLR start "rule__ClassReference__Group__2__Impl" - // InternalApplicationConfiguration.g:6253:1: rule__ClassReference__Group__2__Impl : ( '>' ) ; - public final void rule__ClassReference__Group__2__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:6257:1: ( ( '>' ) ) - // InternalApplicationConfiguration.g:6258:1: ( '>' ) - { - // InternalApplicationConfiguration.g:6258:1: ( '>' ) - // InternalApplicationConfiguration.g:6259:2: '>' - { - before(grammarAccess.getClassReferenceAccess().getGreaterThanSignKeyword_2()); - match(input,40,FOLLOW_2); - after(grammarAccess.getClassReferenceAccess().getGreaterThanSignKeyword_2()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ClassReference__Group__2__Impl" - - - // $ANTLR start "rule__ObjectReference__Group__0" - // InternalApplicationConfiguration.g:6269:1: rule__ObjectReference__Group__0 : rule__ObjectReference__Group__0__Impl rule__ObjectReference__Group__1 ; - public final void rule__ObjectReference__Group__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:6273:1: ( rule__ObjectReference__Group__0__Impl rule__ObjectReference__Group__1 ) - // InternalApplicationConfiguration.g:6274:2: rule__ObjectReference__Group__0__Impl rule__ObjectReference__Group__1 - { - pushFollow(FOLLOW_31); - rule__ObjectReference__Group__0__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__ObjectReference__Group__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ObjectReference__Group__0" - - - // $ANTLR start "rule__ObjectReference__Group__0__Impl" - // InternalApplicationConfiguration.g:6281:1: rule__ObjectReference__Group__0__Impl : ( () ) ; - public final void rule__ObjectReference__Group__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:6285:1: ( ( () ) ) - // InternalApplicationConfiguration.g:6286:1: ( () ) - { - // InternalApplicationConfiguration.g:6286:1: ( () ) - // InternalApplicationConfiguration.g:6287:2: () - { - before(grammarAccess.getObjectReferenceAccess().getObjectReferenceAction_0()); - // InternalApplicationConfiguration.g:6288:2: () - // InternalApplicationConfiguration.g:6288:3: - { - } - - after(grammarAccess.getObjectReferenceAccess().getObjectReferenceAction_0()); - - } - - - } - - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ObjectReference__Group__0__Impl" - - - // $ANTLR start "rule__ObjectReference__Group__1" - // InternalApplicationConfiguration.g:6296:1: rule__ObjectReference__Group__1 : rule__ObjectReference__Group__1__Impl ; - public final void rule__ObjectReference__Group__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:6300:1: ( rule__ObjectReference__Group__1__Impl ) - // InternalApplicationConfiguration.g:6301:2: rule__ObjectReference__Group__1__Impl - { - pushFollow(FOLLOW_2); - rule__ObjectReference__Group__1__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ObjectReference__Group__1" - - - // $ANTLR start "rule__ObjectReference__Group__1__Impl" - // InternalApplicationConfiguration.g:6307:1: rule__ObjectReference__Group__1__Impl : ( 'node' ) ; - public final void rule__ObjectReference__Group__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:6311:1: ( ( 'node' ) ) - // InternalApplicationConfiguration.g:6312:1: ( 'node' ) - { - // InternalApplicationConfiguration.g:6312:1: ( 'node' ) - // InternalApplicationConfiguration.g:6313:2: 'node' - { - before(grammarAccess.getObjectReferenceAccess().getNodeKeyword_1()); - match(input,41,FOLLOW_2); - after(grammarAccess.getObjectReferenceAccess().getNodeKeyword_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ObjectReference__Group__1__Impl" - - - // $ANTLR start "rule__IntegerReference__Group__0" - // InternalApplicationConfiguration.g:6323:1: rule__IntegerReference__Group__0 : rule__IntegerReference__Group__0__Impl rule__IntegerReference__Group__1 ; - public final void rule__IntegerReference__Group__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:6327:1: ( rule__IntegerReference__Group__0__Impl rule__IntegerReference__Group__1 ) - // InternalApplicationConfiguration.g:6328:2: rule__IntegerReference__Group__0__Impl rule__IntegerReference__Group__1 - { - pushFollow(FOLLOW_32); - rule__IntegerReference__Group__0__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__IntegerReference__Group__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__IntegerReference__Group__0" - - - // $ANTLR start "rule__IntegerReference__Group__0__Impl" - // InternalApplicationConfiguration.g:6335:1: rule__IntegerReference__Group__0__Impl : ( () ) ; - public final void rule__IntegerReference__Group__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:6339:1: ( ( () ) ) - // InternalApplicationConfiguration.g:6340:1: ( () ) - { - // InternalApplicationConfiguration.g:6340:1: ( () ) - // InternalApplicationConfiguration.g:6341:2: () - { - before(grammarAccess.getIntegerReferenceAccess().getIntegerScopeAction_0()); - // InternalApplicationConfiguration.g:6342:2: () - // InternalApplicationConfiguration.g:6342:3: - { - } - - after(grammarAccess.getIntegerReferenceAccess().getIntegerScopeAction_0()); - - } - - - } - - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__IntegerReference__Group__0__Impl" - - - // $ANTLR start "rule__IntegerReference__Group__1" - // InternalApplicationConfiguration.g:6350:1: rule__IntegerReference__Group__1 : rule__IntegerReference__Group__1__Impl ; - public final void rule__IntegerReference__Group__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:6354:1: ( rule__IntegerReference__Group__1__Impl ) - // InternalApplicationConfiguration.g:6355:2: rule__IntegerReference__Group__1__Impl - { - pushFollow(FOLLOW_2); - rule__IntegerReference__Group__1__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__IntegerReference__Group__1" - - - // $ANTLR start "rule__IntegerReference__Group__1__Impl" - // InternalApplicationConfiguration.g:6361:1: rule__IntegerReference__Group__1__Impl : ( 'int' ) ; - public final void rule__IntegerReference__Group__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:6365:1: ( ( 'int' ) ) - // InternalApplicationConfiguration.g:6366:1: ( 'int' ) - { - // InternalApplicationConfiguration.g:6366:1: ( 'int' ) - // InternalApplicationConfiguration.g:6367:2: 'int' - { - before(grammarAccess.getIntegerReferenceAccess().getIntKeyword_1()); - match(input,42,FOLLOW_2); - after(grammarAccess.getIntegerReferenceAccess().getIntKeyword_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__IntegerReference__Group__1__Impl" - - - // $ANTLR start "rule__RealReference__Group__0" - // InternalApplicationConfiguration.g:6377:1: rule__RealReference__Group__0 : rule__RealReference__Group__0__Impl rule__RealReference__Group__1 ; - public final void rule__RealReference__Group__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:6381:1: ( rule__RealReference__Group__0__Impl rule__RealReference__Group__1 ) - // InternalApplicationConfiguration.g:6382:2: rule__RealReference__Group__0__Impl rule__RealReference__Group__1 - { - pushFollow(FOLLOW_34); - rule__RealReference__Group__0__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__RealReference__Group__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__RealReference__Group__0" - - - // $ANTLR start "rule__RealReference__Group__0__Impl" - // InternalApplicationConfiguration.g:6389:1: rule__RealReference__Group__0__Impl : ( () ) ; - public final void rule__RealReference__Group__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:6393:1: ( ( () ) ) - // InternalApplicationConfiguration.g:6394:1: ( () ) - { - // InternalApplicationConfiguration.g:6394:1: ( () ) - // InternalApplicationConfiguration.g:6395:2: () - { - before(grammarAccess.getRealReferenceAccess().getRealScopeAction_0()); - // InternalApplicationConfiguration.g:6396:2: () - // InternalApplicationConfiguration.g:6396:3: - { - } - - after(grammarAccess.getRealReferenceAccess().getRealScopeAction_0()); - - } - - - } - - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__RealReference__Group__0__Impl" - - - // $ANTLR start "rule__RealReference__Group__1" - // InternalApplicationConfiguration.g:6404:1: rule__RealReference__Group__1 : rule__RealReference__Group__1__Impl ; - public final void rule__RealReference__Group__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:6408:1: ( rule__RealReference__Group__1__Impl ) - // InternalApplicationConfiguration.g:6409:2: rule__RealReference__Group__1__Impl - { - pushFollow(FOLLOW_2); - rule__RealReference__Group__1__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__RealReference__Group__1" - - - // $ANTLR start "rule__RealReference__Group__1__Impl" - // InternalApplicationConfiguration.g:6415:1: rule__RealReference__Group__1__Impl : ( 'real' ) ; - public final void rule__RealReference__Group__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:6419:1: ( ( 'real' ) ) - // InternalApplicationConfiguration.g:6420:1: ( 'real' ) - { - // InternalApplicationConfiguration.g:6420:1: ( 'real' ) - // InternalApplicationConfiguration.g:6421:2: 'real' - { - before(grammarAccess.getRealReferenceAccess().getRealKeyword_1()); - match(input,43,FOLLOW_2); - after(grammarAccess.getRealReferenceAccess().getRealKeyword_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__RealReference__Group__1__Impl" - - - // $ANTLR start "rule__StringReference__Group__0" - // InternalApplicationConfiguration.g:6431:1: rule__StringReference__Group__0 : rule__StringReference__Group__0__Impl rule__StringReference__Group__1 ; - public final void rule__StringReference__Group__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:6435:1: ( rule__StringReference__Group__0__Impl rule__StringReference__Group__1 ) - // InternalApplicationConfiguration.g:6436:2: rule__StringReference__Group__0__Impl rule__StringReference__Group__1 - { - pushFollow(FOLLOW_35); - rule__StringReference__Group__0__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__StringReference__Group__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__StringReference__Group__0" - - - // $ANTLR start "rule__StringReference__Group__0__Impl" - // InternalApplicationConfiguration.g:6443:1: rule__StringReference__Group__0__Impl : ( () ) ; - public final void rule__StringReference__Group__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:6447:1: ( ( () ) ) - // InternalApplicationConfiguration.g:6448:1: ( () ) - { - // InternalApplicationConfiguration.g:6448:1: ( () ) - // InternalApplicationConfiguration.g:6449:2: () - { - before(grammarAccess.getStringReferenceAccess().getStringScopeAction_0()); - // InternalApplicationConfiguration.g:6450:2: () - // InternalApplicationConfiguration.g:6450:3: - { - } - - after(grammarAccess.getStringReferenceAccess().getStringScopeAction_0()); - - } - - - } - - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__StringReference__Group__0__Impl" - - - // $ANTLR start "rule__StringReference__Group__1" - // InternalApplicationConfiguration.g:6458:1: rule__StringReference__Group__1 : rule__StringReference__Group__1__Impl ; - public final void rule__StringReference__Group__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:6462:1: ( rule__StringReference__Group__1__Impl ) - // InternalApplicationConfiguration.g:6463:2: rule__StringReference__Group__1__Impl - { - pushFollow(FOLLOW_2); - rule__StringReference__Group__1__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__StringReference__Group__1" - - - // $ANTLR start "rule__StringReference__Group__1__Impl" - // InternalApplicationConfiguration.g:6469:1: rule__StringReference__Group__1__Impl : ( 'string' ) ; - public final void rule__StringReference__Group__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:6473:1: ( ( 'string' ) ) - // InternalApplicationConfiguration.g:6474:1: ( 'string' ) - { - // InternalApplicationConfiguration.g:6474:1: ( 'string' ) - // InternalApplicationConfiguration.g:6475:2: 'string' - { - before(grammarAccess.getStringReferenceAccess().getStringKeyword_1()); - match(input,44,FOLLOW_2); - after(grammarAccess.getStringReferenceAccess().getStringKeyword_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__StringReference__Group__1__Impl" - - - // $ANTLR start "rule__IntervallNumber__Group__0" - // InternalApplicationConfiguration.g:6485:1: rule__IntervallNumber__Group__0 : rule__IntervallNumber__Group__0__Impl rule__IntervallNumber__Group__1 ; - public final void rule__IntervallNumber__Group__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:6489:1: ( rule__IntervallNumber__Group__0__Impl rule__IntervallNumber__Group__1 ) - // InternalApplicationConfiguration.g:6490:2: rule__IntervallNumber__Group__0__Impl rule__IntervallNumber__Group__1 - { - pushFollow(FOLLOW_37); - rule__IntervallNumber__Group__0__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__IntervallNumber__Group__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__IntervallNumber__Group__0" - - - // $ANTLR start "rule__IntervallNumber__Group__0__Impl" - // InternalApplicationConfiguration.g:6497:1: rule__IntervallNumber__Group__0__Impl : ( ( rule__IntervallNumber__MinAssignment_0 ) ) ; - public final void rule__IntervallNumber__Group__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:6501:1: ( ( ( rule__IntervallNumber__MinAssignment_0 ) ) ) - // InternalApplicationConfiguration.g:6502:1: ( ( rule__IntervallNumber__MinAssignment_0 ) ) - { - // InternalApplicationConfiguration.g:6502:1: ( ( rule__IntervallNumber__MinAssignment_0 ) ) - // InternalApplicationConfiguration.g:6503:2: ( rule__IntervallNumber__MinAssignment_0 ) - { - before(grammarAccess.getIntervallNumberAccess().getMinAssignment_0()); - // InternalApplicationConfiguration.g:6504:2: ( rule__IntervallNumber__MinAssignment_0 ) - // InternalApplicationConfiguration.g:6504:3: rule__IntervallNumber__MinAssignment_0 - { - pushFollow(FOLLOW_2); - rule__IntervallNumber__MinAssignment_0(); - - state._fsp--; - - - } - - after(grammarAccess.getIntervallNumberAccess().getMinAssignment_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__IntervallNumber__Group__0__Impl" - - - // $ANTLR start "rule__IntervallNumber__Group__1" - // InternalApplicationConfiguration.g:6512:1: rule__IntervallNumber__Group__1 : rule__IntervallNumber__Group__1__Impl rule__IntervallNumber__Group__2 ; - public final void rule__IntervallNumber__Group__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:6516:1: ( rule__IntervallNumber__Group__1__Impl rule__IntervallNumber__Group__2 ) - // InternalApplicationConfiguration.g:6517:2: rule__IntervallNumber__Group__1__Impl rule__IntervallNumber__Group__2 - { - pushFollow(FOLLOW_30); - rule__IntervallNumber__Group__1__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__IntervallNumber__Group__2(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__IntervallNumber__Group__1" - - - // $ANTLR start "rule__IntervallNumber__Group__1__Impl" - // InternalApplicationConfiguration.g:6524:1: rule__IntervallNumber__Group__1__Impl : ( '..' ) ; - public final void rule__IntervallNumber__Group__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:6528:1: ( ( '..' ) ) - // InternalApplicationConfiguration.g:6529:1: ( '..' ) - { - // InternalApplicationConfiguration.g:6529:1: ( '..' ) - // InternalApplicationConfiguration.g:6530:2: '..' - { - before(grammarAccess.getIntervallNumberAccess().getFullStopFullStopKeyword_1()); - match(input,45,FOLLOW_2); - after(grammarAccess.getIntervallNumberAccess().getFullStopFullStopKeyword_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__IntervallNumber__Group__1__Impl" - - - // $ANTLR start "rule__IntervallNumber__Group__2" - // InternalApplicationConfiguration.g:6539:1: rule__IntervallNumber__Group__2 : rule__IntervallNumber__Group__2__Impl ; - public final void rule__IntervallNumber__Group__2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:6543:1: ( rule__IntervallNumber__Group__2__Impl ) - // InternalApplicationConfiguration.g:6544:2: rule__IntervallNumber__Group__2__Impl - { - pushFollow(FOLLOW_2); - rule__IntervallNumber__Group__2__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__IntervallNumber__Group__2" - - - // $ANTLR start "rule__IntervallNumber__Group__2__Impl" - // InternalApplicationConfiguration.g:6550:1: rule__IntervallNumber__Group__2__Impl : ( ( rule__IntervallNumber__Alternatives_2 ) ) ; - public final void rule__IntervallNumber__Group__2__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:6554:1: ( ( ( rule__IntervallNumber__Alternatives_2 ) ) ) - // InternalApplicationConfiguration.g:6555:1: ( ( rule__IntervallNumber__Alternatives_2 ) ) - { - // InternalApplicationConfiguration.g:6555:1: ( ( rule__IntervallNumber__Alternatives_2 ) ) - // InternalApplicationConfiguration.g:6556:2: ( rule__IntervallNumber__Alternatives_2 ) - { - before(grammarAccess.getIntervallNumberAccess().getAlternatives_2()); - // InternalApplicationConfiguration.g:6557:2: ( rule__IntervallNumber__Alternatives_2 ) - // InternalApplicationConfiguration.g:6557:3: rule__IntervallNumber__Alternatives_2 - { - pushFollow(FOLLOW_2); - rule__IntervallNumber__Alternatives_2(); - - state._fsp--; - - - } - - after(grammarAccess.getIntervallNumberAccess().getAlternatives_2()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__IntervallNumber__Group__2__Impl" - - - // $ANTLR start "rule__IntEnumberation__Group__0" - // InternalApplicationConfiguration.g:6566:1: rule__IntEnumberation__Group__0 : rule__IntEnumberation__Group__0__Impl rule__IntEnumberation__Group__1 ; - public final void rule__IntEnumberation__Group__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:6570:1: ( rule__IntEnumberation__Group__0__Impl rule__IntEnumberation__Group__1 ) - // InternalApplicationConfiguration.g:6571:2: rule__IntEnumberation__Group__0__Impl rule__IntEnumberation__Group__1 - { - pushFollow(FOLLOW_33); - rule__IntEnumberation__Group__0__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__IntEnumberation__Group__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__IntEnumberation__Group__0" - - - // $ANTLR start "rule__IntEnumberation__Group__0__Impl" - // InternalApplicationConfiguration.g:6578:1: rule__IntEnumberation__Group__0__Impl : ( () ) ; - public final void rule__IntEnumberation__Group__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:6582:1: ( ( () ) ) - // InternalApplicationConfiguration.g:6583:1: ( () ) - { - // InternalApplicationConfiguration.g:6583:1: ( () ) - // InternalApplicationConfiguration.g:6584:2: () - { - before(grammarAccess.getIntEnumberationAccess().getIntEnumberationAction_0()); - // InternalApplicationConfiguration.g:6585:2: () - // InternalApplicationConfiguration.g:6585:3: - { - } - - after(grammarAccess.getIntEnumberationAccess().getIntEnumberationAction_0()); - - } - - - } - - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__IntEnumberation__Group__0__Impl" - - - // $ANTLR start "rule__IntEnumberation__Group__1" - // InternalApplicationConfiguration.g:6593:1: rule__IntEnumberation__Group__1 : rule__IntEnumberation__Group__1__Impl rule__IntEnumberation__Group__2 ; - public final void rule__IntEnumberation__Group__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:6597:1: ( rule__IntEnumberation__Group__1__Impl rule__IntEnumberation__Group__2 ) - // InternalApplicationConfiguration.g:6598:2: rule__IntEnumberation__Group__1__Impl rule__IntEnumberation__Group__2 - { - pushFollow(FOLLOW_38); - rule__IntEnumberation__Group__1__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__IntEnumberation__Group__2(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__IntEnumberation__Group__1" - - - // $ANTLR start "rule__IntEnumberation__Group__1__Impl" - // InternalApplicationConfiguration.g:6605:1: rule__IntEnumberation__Group__1__Impl : ( '{' ) ; - public final void rule__IntEnumberation__Group__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:6609:1: ( ( '{' ) ) - // InternalApplicationConfiguration.g:6610:1: ( '{' ) - { - // InternalApplicationConfiguration.g:6610:1: ( '{' ) - // InternalApplicationConfiguration.g:6611:2: '{' - { - before(grammarAccess.getIntEnumberationAccess().getLeftCurlyBracketKeyword_1()); - match(input,24,FOLLOW_2); - after(grammarAccess.getIntEnumberationAccess().getLeftCurlyBracketKeyword_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__IntEnumberation__Group__1__Impl" - - - // $ANTLR start "rule__IntEnumberation__Group__2" - // InternalApplicationConfiguration.g:6620:1: rule__IntEnumberation__Group__2 : rule__IntEnumberation__Group__2__Impl rule__IntEnumberation__Group__3 ; - public final void rule__IntEnumberation__Group__2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:6624:1: ( rule__IntEnumberation__Group__2__Impl rule__IntEnumberation__Group__3 ) - // InternalApplicationConfiguration.g:6625:2: rule__IntEnumberation__Group__2__Impl rule__IntEnumberation__Group__3 - { - pushFollow(FOLLOW_38); - rule__IntEnumberation__Group__2__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__IntEnumberation__Group__3(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__IntEnumberation__Group__2" - - - // $ANTLR start "rule__IntEnumberation__Group__2__Impl" - // InternalApplicationConfiguration.g:6632:1: rule__IntEnumberation__Group__2__Impl : ( ( rule__IntEnumberation__Group_2__0 )? ) ; - public final void rule__IntEnumberation__Group__2__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:6636:1: ( ( ( rule__IntEnumberation__Group_2__0 )? ) ) - // InternalApplicationConfiguration.g:6637:1: ( ( rule__IntEnumberation__Group_2__0 )? ) - { - // InternalApplicationConfiguration.g:6637:1: ( ( rule__IntEnumberation__Group_2__0 )? ) - // InternalApplicationConfiguration.g:6638:2: ( rule__IntEnumberation__Group_2__0 )? - { - before(grammarAccess.getIntEnumberationAccess().getGroup_2()); - // InternalApplicationConfiguration.g:6639:2: ( rule__IntEnumberation__Group_2__0 )? - int alt50=2; - int LA50_0 = input.LA(1); - - if ( (LA50_0==RULE_INT||LA50_0==18) ) { - alt50=1; - } - switch (alt50) { - case 1 : - // InternalApplicationConfiguration.g:6639:3: rule__IntEnumberation__Group_2__0 - { - pushFollow(FOLLOW_2); - rule__IntEnumberation__Group_2__0(); - - state._fsp--; - - - } - break; - - } - - after(grammarAccess.getIntEnumberationAccess().getGroup_2()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__IntEnumberation__Group__2__Impl" - - - // $ANTLR start "rule__IntEnumberation__Group__3" - // InternalApplicationConfiguration.g:6647:1: rule__IntEnumberation__Group__3 : rule__IntEnumberation__Group__3__Impl ; - public final void rule__IntEnumberation__Group__3() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:6651:1: ( rule__IntEnumberation__Group__3__Impl ) - // InternalApplicationConfiguration.g:6652:2: rule__IntEnumberation__Group__3__Impl - { - pushFollow(FOLLOW_2); - rule__IntEnumberation__Group__3__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__IntEnumberation__Group__3" - - - // $ANTLR start "rule__IntEnumberation__Group__3__Impl" - // InternalApplicationConfiguration.g:6658:1: rule__IntEnumberation__Group__3__Impl : ( '}' ) ; - public final void rule__IntEnumberation__Group__3__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:6662:1: ( ( '}' ) ) - // InternalApplicationConfiguration.g:6663:1: ( '}' ) - { - // InternalApplicationConfiguration.g:6663:1: ( '}' ) - // InternalApplicationConfiguration.g:6664:2: '}' - { - before(grammarAccess.getIntEnumberationAccess().getRightCurlyBracketKeyword_3()); - match(input,25,FOLLOW_2); - after(grammarAccess.getIntEnumberationAccess().getRightCurlyBracketKeyword_3()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__IntEnumberation__Group__3__Impl" - - - // $ANTLR start "rule__IntEnumberation__Group_2__0" - // InternalApplicationConfiguration.g:6674:1: rule__IntEnumberation__Group_2__0 : rule__IntEnumberation__Group_2__0__Impl rule__IntEnumberation__Group_2__1 ; - public final void rule__IntEnumberation__Group_2__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:6678:1: ( rule__IntEnumberation__Group_2__0__Impl rule__IntEnumberation__Group_2__1 ) - // InternalApplicationConfiguration.g:6679:2: rule__IntEnumberation__Group_2__0__Impl rule__IntEnumberation__Group_2__1 - { - pushFollow(FOLLOW_23); - rule__IntEnumberation__Group_2__0__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__IntEnumberation__Group_2__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__IntEnumberation__Group_2__0" - - - // $ANTLR start "rule__IntEnumberation__Group_2__0__Impl" - // InternalApplicationConfiguration.g:6686:1: rule__IntEnumberation__Group_2__0__Impl : ( ( rule__IntEnumberation__EntryAssignment_2_0 ) ) ; - public final void rule__IntEnumberation__Group_2__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:6690:1: ( ( ( rule__IntEnumberation__EntryAssignment_2_0 ) ) ) - // InternalApplicationConfiguration.g:6691:1: ( ( rule__IntEnumberation__EntryAssignment_2_0 ) ) - { - // InternalApplicationConfiguration.g:6691:1: ( ( rule__IntEnumberation__EntryAssignment_2_0 ) ) - // InternalApplicationConfiguration.g:6692:2: ( rule__IntEnumberation__EntryAssignment_2_0 ) - { - before(grammarAccess.getIntEnumberationAccess().getEntryAssignment_2_0()); - // InternalApplicationConfiguration.g:6693:2: ( rule__IntEnumberation__EntryAssignment_2_0 ) - // InternalApplicationConfiguration.g:6693:3: rule__IntEnumberation__EntryAssignment_2_0 - { - pushFollow(FOLLOW_2); - rule__IntEnumberation__EntryAssignment_2_0(); - - state._fsp--; - - - } - - after(grammarAccess.getIntEnumberationAccess().getEntryAssignment_2_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__IntEnumberation__Group_2__0__Impl" - - - // $ANTLR start "rule__IntEnumberation__Group_2__1" - // InternalApplicationConfiguration.g:6701:1: rule__IntEnumberation__Group_2__1 : rule__IntEnumberation__Group_2__1__Impl ; - public final void rule__IntEnumberation__Group_2__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:6705:1: ( rule__IntEnumberation__Group_2__1__Impl ) - // InternalApplicationConfiguration.g:6706:2: rule__IntEnumberation__Group_2__1__Impl - { - pushFollow(FOLLOW_2); - rule__IntEnumberation__Group_2__1__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__IntEnumberation__Group_2__1" - - - // $ANTLR start "rule__IntEnumberation__Group_2__1__Impl" - // InternalApplicationConfiguration.g:6712:1: rule__IntEnumberation__Group_2__1__Impl : ( ( rule__IntEnumberation__Group_2_1__0 )* ) ; - public final void rule__IntEnumberation__Group_2__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:6716:1: ( ( ( rule__IntEnumberation__Group_2_1__0 )* ) ) - // InternalApplicationConfiguration.g:6717:1: ( ( rule__IntEnumberation__Group_2_1__0 )* ) - { - // InternalApplicationConfiguration.g:6717:1: ( ( rule__IntEnumberation__Group_2_1__0 )* ) - // InternalApplicationConfiguration.g:6718:2: ( rule__IntEnumberation__Group_2_1__0 )* - { - before(grammarAccess.getIntEnumberationAccess().getGroup_2_1()); - // InternalApplicationConfiguration.g:6719:2: ( rule__IntEnumberation__Group_2_1__0 )* - loop51: - do { - int alt51=2; - int LA51_0 = input.LA(1); - - if ( (LA51_0==26) ) { - alt51=1; - } - - - switch (alt51) { - case 1 : - // InternalApplicationConfiguration.g:6719:3: rule__IntEnumberation__Group_2_1__0 - { - pushFollow(FOLLOW_16); - rule__IntEnumberation__Group_2_1__0(); - - state._fsp--; - - - } - break; - - default : - break loop51; - } - } while (true); - - after(grammarAccess.getIntEnumberationAccess().getGroup_2_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__IntEnumberation__Group_2__1__Impl" - - - // $ANTLR start "rule__IntEnumberation__Group_2_1__0" - // InternalApplicationConfiguration.g:6728:1: rule__IntEnumberation__Group_2_1__0 : rule__IntEnumberation__Group_2_1__0__Impl rule__IntEnumberation__Group_2_1__1 ; - public final void rule__IntEnumberation__Group_2_1__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:6732:1: ( rule__IntEnumberation__Group_2_1__0__Impl rule__IntEnumberation__Group_2_1__1 ) - // InternalApplicationConfiguration.g:6733:2: rule__IntEnumberation__Group_2_1__0__Impl rule__IntEnumberation__Group_2_1__1 - { - pushFollow(FOLLOW_39); - rule__IntEnumberation__Group_2_1__0__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__IntEnumberation__Group_2_1__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__IntEnumberation__Group_2_1__0" - - - // $ANTLR start "rule__IntEnumberation__Group_2_1__0__Impl" - // InternalApplicationConfiguration.g:6740:1: rule__IntEnumberation__Group_2_1__0__Impl : ( ',' ) ; - public final void rule__IntEnumberation__Group_2_1__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:6744:1: ( ( ',' ) ) - // InternalApplicationConfiguration.g:6745:1: ( ',' ) - { - // InternalApplicationConfiguration.g:6745:1: ( ',' ) - // InternalApplicationConfiguration.g:6746:2: ',' - { - before(grammarAccess.getIntEnumberationAccess().getCommaKeyword_2_1_0()); - match(input,26,FOLLOW_2); - after(grammarAccess.getIntEnumberationAccess().getCommaKeyword_2_1_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__IntEnumberation__Group_2_1__0__Impl" - - - // $ANTLR start "rule__IntEnumberation__Group_2_1__1" - // InternalApplicationConfiguration.g:6755:1: rule__IntEnumberation__Group_2_1__1 : rule__IntEnumberation__Group_2_1__1__Impl ; - public final void rule__IntEnumberation__Group_2_1__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:6759:1: ( rule__IntEnumberation__Group_2_1__1__Impl ) - // InternalApplicationConfiguration.g:6760:2: rule__IntEnumberation__Group_2_1__1__Impl - { - pushFollow(FOLLOW_2); - rule__IntEnumberation__Group_2_1__1__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__IntEnumberation__Group_2_1__1" - - - // $ANTLR start "rule__IntEnumberation__Group_2_1__1__Impl" - // InternalApplicationConfiguration.g:6766:1: rule__IntEnumberation__Group_2_1__1__Impl : ( ( rule__IntEnumberation__EntryAssignment_2_1_1 ) ) ; - public final void rule__IntEnumberation__Group_2_1__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:6770:1: ( ( ( rule__IntEnumberation__EntryAssignment_2_1_1 ) ) ) - // InternalApplicationConfiguration.g:6771:1: ( ( rule__IntEnumberation__EntryAssignment_2_1_1 ) ) - { - // InternalApplicationConfiguration.g:6771:1: ( ( rule__IntEnumberation__EntryAssignment_2_1_1 ) ) - // InternalApplicationConfiguration.g:6772:2: ( rule__IntEnumberation__EntryAssignment_2_1_1 ) - { - before(grammarAccess.getIntEnumberationAccess().getEntryAssignment_2_1_1()); - // InternalApplicationConfiguration.g:6773:2: ( rule__IntEnumberation__EntryAssignment_2_1_1 ) - // InternalApplicationConfiguration.g:6773:3: rule__IntEnumberation__EntryAssignment_2_1_1 - { - pushFollow(FOLLOW_2); - rule__IntEnumberation__EntryAssignment_2_1_1(); - - state._fsp--; - - - } - - after(grammarAccess.getIntEnumberationAccess().getEntryAssignment_2_1_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__IntEnumberation__Group_2_1__1__Impl" - - - // $ANTLR start "rule__RealEnumeration__Group__0" - // InternalApplicationConfiguration.g:6782:1: rule__RealEnumeration__Group__0 : rule__RealEnumeration__Group__0__Impl rule__RealEnumeration__Group__1 ; - public final void rule__RealEnumeration__Group__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:6786:1: ( rule__RealEnumeration__Group__0__Impl rule__RealEnumeration__Group__1 ) - // InternalApplicationConfiguration.g:6787:2: rule__RealEnumeration__Group__0__Impl rule__RealEnumeration__Group__1 - { - pushFollow(FOLLOW_33); - rule__RealEnumeration__Group__0__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__RealEnumeration__Group__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__RealEnumeration__Group__0" - - - // $ANTLR start "rule__RealEnumeration__Group__0__Impl" - // InternalApplicationConfiguration.g:6794:1: rule__RealEnumeration__Group__0__Impl : ( () ) ; - public final void rule__RealEnumeration__Group__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:6798:1: ( ( () ) ) - // InternalApplicationConfiguration.g:6799:1: ( () ) - { - // InternalApplicationConfiguration.g:6799:1: ( () ) - // InternalApplicationConfiguration.g:6800:2: () - { - before(grammarAccess.getRealEnumerationAccess().getRealEnumerationAction_0()); - // InternalApplicationConfiguration.g:6801:2: () - // InternalApplicationConfiguration.g:6801:3: - { - } - - after(grammarAccess.getRealEnumerationAccess().getRealEnumerationAction_0()); - - } - - - } - - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__RealEnumeration__Group__0__Impl" - - - // $ANTLR start "rule__RealEnumeration__Group__1" - // InternalApplicationConfiguration.g:6809:1: rule__RealEnumeration__Group__1 : rule__RealEnumeration__Group__1__Impl rule__RealEnumeration__Group__2 ; - public final void rule__RealEnumeration__Group__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:6813:1: ( rule__RealEnumeration__Group__1__Impl rule__RealEnumeration__Group__2 ) - // InternalApplicationConfiguration.g:6814:2: rule__RealEnumeration__Group__1__Impl rule__RealEnumeration__Group__2 - { - pushFollow(FOLLOW_38); - rule__RealEnumeration__Group__1__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__RealEnumeration__Group__2(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__RealEnumeration__Group__1" - - - // $ANTLR start "rule__RealEnumeration__Group__1__Impl" - // InternalApplicationConfiguration.g:6821:1: rule__RealEnumeration__Group__1__Impl : ( '{' ) ; - public final void rule__RealEnumeration__Group__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:6825:1: ( ( '{' ) ) - // InternalApplicationConfiguration.g:6826:1: ( '{' ) - { - // InternalApplicationConfiguration.g:6826:1: ( '{' ) - // InternalApplicationConfiguration.g:6827:2: '{' - { - before(grammarAccess.getRealEnumerationAccess().getLeftCurlyBracketKeyword_1()); - match(input,24,FOLLOW_2); - after(grammarAccess.getRealEnumerationAccess().getLeftCurlyBracketKeyword_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__RealEnumeration__Group__1__Impl" - - - // $ANTLR start "rule__RealEnumeration__Group__2" - // InternalApplicationConfiguration.g:6836:1: rule__RealEnumeration__Group__2 : rule__RealEnumeration__Group__2__Impl rule__RealEnumeration__Group__3 ; - public final void rule__RealEnumeration__Group__2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:6840:1: ( rule__RealEnumeration__Group__2__Impl rule__RealEnumeration__Group__3 ) - // InternalApplicationConfiguration.g:6841:2: rule__RealEnumeration__Group__2__Impl rule__RealEnumeration__Group__3 - { - pushFollow(FOLLOW_38); - rule__RealEnumeration__Group__2__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__RealEnumeration__Group__3(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__RealEnumeration__Group__2" - - - // $ANTLR start "rule__RealEnumeration__Group__2__Impl" - // InternalApplicationConfiguration.g:6848:1: rule__RealEnumeration__Group__2__Impl : ( ( rule__RealEnumeration__Group_2__0 )? ) ; - public final void rule__RealEnumeration__Group__2__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:6852:1: ( ( ( rule__RealEnumeration__Group_2__0 )? ) ) - // InternalApplicationConfiguration.g:6853:1: ( ( rule__RealEnumeration__Group_2__0 )? ) - { - // InternalApplicationConfiguration.g:6853:1: ( ( rule__RealEnumeration__Group_2__0 )? ) - // InternalApplicationConfiguration.g:6854:2: ( rule__RealEnumeration__Group_2__0 )? - { - before(grammarAccess.getRealEnumerationAccess().getGroup_2()); - // InternalApplicationConfiguration.g:6855:2: ( rule__RealEnumeration__Group_2__0 )? - int alt52=2; - int LA52_0 = input.LA(1); - - if ( (LA52_0==RULE_INT||LA52_0==18) ) { - alt52=1; - } - switch (alt52) { - case 1 : - // InternalApplicationConfiguration.g:6855:3: rule__RealEnumeration__Group_2__0 - { - pushFollow(FOLLOW_2); - rule__RealEnumeration__Group_2__0(); - - state._fsp--; - - - } - break; - - } - - after(grammarAccess.getRealEnumerationAccess().getGroup_2()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__RealEnumeration__Group__2__Impl" - - - // $ANTLR start "rule__RealEnumeration__Group__3" - // InternalApplicationConfiguration.g:6863:1: rule__RealEnumeration__Group__3 : rule__RealEnumeration__Group__3__Impl ; - public final void rule__RealEnumeration__Group__3() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:6867:1: ( rule__RealEnumeration__Group__3__Impl ) - // InternalApplicationConfiguration.g:6868:2: rule__RealEnumeration__Group__3__Impl - { - pushFollow(FOLLOW_2); - rule__RealEnumeration__Group__3__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__RealEnumeration__Group__3" - - - // $ANTLR start "rule__RealEnumeration__Group__3__Impl" - // InternalApplicationConfiguration.g:6874:1: rule__RealEnumeration__Group__3__Impl : ( '}' ) ; - public final void rule__RealEnumeration__Group__3__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:6878:1: ( ( '}' ) ) - // InternalApplicationConfiguration.g:6879:1: ( '}' ) - { - // InternalApplicationConfiguration.g:6879:1: ( '}' ) - // InternalApplicationConfiguration.g:6880:2: '}' - { - before(grammarAccess.getRealEnumerationAccess().getRightCurlyBracketKeyword_3()); - match(input,25,FOLLOW_2); - after(grammarAccess.getRealEnumerationAccess().getRightCurlyBracketKeyword_3()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__RealEnumeration__Group__3__Impl" - - - // $ANTLR start "rule__RealEnumeration__Group_2__0" - // InternalApplicationConfiguration.g:6890:1: rule__RealEnumeration__Group_2__0 : rule__RealEnumeration__Group_2__0__Impl rule__RealEnumeration__Group_2__1 ; - public final void rule__RealEnumeration__Group_2__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:6894:1: ( rule__RealEnumeration__Group_2__0__Impl rule__RealEnumeration__Group_2__1 ) - // InternalApplicationConfiguration.g:6895:2: rule__RealEnumeration__Group_2__0__Impl rule__RealEnumeration__Group_2__1 - { - pushFollow(FOLLOW_23); - rule__RealEnumeration__Group_2__0__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__RealEnumeration__Group_2__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__RealEnumeration__Group_2__0" - - - // $ANTLR start "rule__RealEnumeration__Group_2__0__Impl" - // InternalApplicationConfiguration.g:6902:1: rule__RealEnumeration__Group_2__0__Impl : ( ( rule__RealEnumeration__EntryAssignment_2_0 ) ) ; - public final void rule__RealEnumeration__Group_2__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:6906:1: ( ( ( rule__RealEnumeration__EntryAssignment_2_0 ) ) ) - // InternalApplicationConfiguration.g:6907:1: ( ( rule__RealEnumeration__EntryAssignment_2_0 ) ) - { - // InternalApplicationConfiguration.g:6907:1: ( ( rule__RealEnumeration__EntryAssignment_2_0 ) ) - // InternalApplicationConfiguration.g:6908:2: ( rule__RealEnumeration__EntryAssignment_2_0 ) - { - before(grammarAccess.getRealEnumerationAccess().getEntryAssignment_2_0()); - // InternalApplicationConfiguration.g:6909:2: ( rule__RealEnumeration__EntryAssignment_2_0 ) - // InternalApplicationConfiguration.g:6909:3: rule__RealEnumeration__EntryAssignment_2_0 - { - pushFollow(FOLLOW_2); - rule__RealEnumeration__EntryAssignment_2_0(); - - state._fsp--; - - - } - - after(grammarAccess.getRealEnumerationAccess().getEntryAssignment_2_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__RealEnumeration__Group_2__0__Impl" - - - // $ANTLR start "rule__RealEnumeration__Group_2__1" - // InternalApplicationConfiguration.g:6917:1: rule__RealEnumeration__Group_2__1 : rule__RealEnumeration__Group_2__1__Impl ; - public final void rule__RealEnumeration__Group_2__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:6921:1: ( rule__RealEnumeration__Group_2__1__Impl ) - // InternalApplicationConfiguration.g:6922:2: rule__RealEnumeration__Group_2__1__Impl - { - pushFollow(FOLLOW_2); - rule__RealEnumeration__Group_2__1__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__RealEnumeration__Group_2__1" - - - // $ANTLR start "rule__RealEnumeration__Group_2__1__Impl" - // InternalApplicationConfiguration.g:6928:1: rule__RealEnumeration__Group_2__1__Impl : ( ( rule__RealEnumeration__Group_2_1__0 )* ) ; - public final void rule__RealEnumeration__Group_2__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:6932:1: ( ( ( rule__RealEnumeration__Group_2_1__0 )* ) ) - // InternalApplicationConfiguration.g:6933:1: ( ( rule__RealEnumeration__Group_2_1__0 )* ) - { - // InternalApplicationConfiguration.g:6933:1: ( ( rule__RealEnumeration__Group_2_1__0 )* ) - // InternalApplicationConfiguration.g:6934:2: ( rule__RealEnumeration__Group_2_1__0 )* - { - before(grammarAccess.getRealEnumerationAccess().getGroup_2_1()); - // InternalApplicationConfiguration.g:6935:2: ( rule__RealEnumeration__Group_2_1__0 )* - loop53: - do { - int alt53=2; - int LA53_0 = input.LA(1); - - if ( (LA53_0==26) ) { - alt53=1; - } - - - switch (alt53) { - case 1 : - // InternalApplicationConfiguration.g:6935:3: rule__RealEnumeration__Group_2_1__0 - { - pushFollow(FOLLOW_16); - rule__RealEnumeration__Group_2_1__0(); - - state._fsp--; - - - } - break; - - default : - break loop53; - } - } while (true); - - after(grammarAccess.getRealEnumerationAccess().getGroup_2_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__RealEnumeration__Group_2__1__Impl" - - - // $ANTLR start "rule__RealEnumeration__Group_2_1__0" - // InternalApplicationConfiguration.g:6944:1: rule__RealEnumeration__Group_2_1__0 : rule__RealEnumeration__Group_2_1__0__Impl rule__RealEnumeration__Group_2_1__1 ; - public final void rule__RealEnumeration__Group_2_1__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:6948:1: ( rule__RealEnumeration__Group_2_1__0__Impl rule__RealEnumeration__Group_2_1__1 ) - // InternalApplicationConfiguration.g:6949:2: rule__RealEnumeration__Group_2_1__0__Impl rule__RealEnumeration__Group_2_1__1 - { - pushFollow(FOLLOW_39); - rule__RealEnumeration__Group_2_1__0__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__RealEnumeration__Group_2_1__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__RealEnumeration__Group_2_1__0" - - - // $ANTLR start "rule__RealEnumeration__Group_2_1__0__Impl" - // InternalApplicationConfiguration.g:6956:1: rule__RealEnumeration__Group_2_1__0__Impl : ( ',' ) ; - public final void rule__RealEnumeration__Group_2_1__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:6960:1: ( ( ',' ) ) - // InternalApplicationConfiguration.g:6961:1: ( ',' ) - { - // InternalApplicationConfiguration.g:6961:1: ( ',' ) - // InternalApplicationConfiguration.g:6962:2: ',' - { - before(grammarAccess.getRealEnumerationAccess().getCommaKeyword_2_1_0()); - match(input,26,FOLLOW_2); - after(grammarAccess.getRealEnumerationAccess().getCommaKeyword_2_1_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__RealEnumeration__Group_2_1__0__Impl" - - - // $ANTLR start "rule__RealEnumeration__Group_2_1__1" - // InternalApplicationConfiguration.g:6971:1: rule__RealEnumeration__Group_2_1__1 : rule__RealEnumeration__Group_2_1__1__Impl ; - public final void rule__RealEnumeration__Group_2_1__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:6975:1: ( rule__RealEnumeration__Group_2_1__1__Impl ) - // InternalApplicationConfiguration.g:6976:2: rule__RealEnumeration__Group_2_1__1__Impl - { - pushFollow(FOLLOW_2); - rule__RealEnumeration__Group_2_1__1__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__RealEnumeration__Group_2_1__1" - - - // $ANTLR start "rule__RealEnumeration__Group_2_1__1__Impl" - // InternalApplicationConfiguration.g:6982:1: rule__RealEnumeration__Group_2_1__1__Impl : ( ( rule__RealEnumeration__EntryAssignment_2_1_1 ) ) ; - public final void rule__RealEnumeration__Group_2_1__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:6986:1: ( ( ( rule__RealEnumeration__EntryAssignment_2_1_1 ) ) ) - // InternalApplicationConfiguration.g:6987:1: ( ( rule__RealEnumeration__EntryAssignment_2_1_1 ) ) - { - // InternalApplicationConfiguration.g:6987:1: ( ( rule__RealEnumeration__EntryAssignment_2_1_1 ) ) - // InternalApplicationConfiguration.g:6988:2: ( rule__RealEnumeration__EntryAssignment_2_1_1 ) - { - before(grammarAccess.getRealEnumerationAccess().getEntryAssignment_2_1_1()); - // InternalApplicationConfiguration.g:6989:2: ( rule__RealEnumeration__EntryAssignment_2_1_1 ) - // InternalApplicationConfiguration.g:6989:3: rule__RealEnumeration__EntryAssignment_2_1_1 - { - pushFollow(FOLLOW_2); - rule__RealEnumeration__EntryAssignment_2_1_1(); - - state._fsp--; - - - } - - after(grammarAccess.getRealEnumerationAccess().getEntryAssignment_2_1_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__RealEnumeration__Group_2_1__1__Impl" - - - // $ANTLR start "rule__StringEnumeration__Group__0" - // InternalApplicationConfiguration.g:6998:1: rule__StringEnumeration__Group__0 : rule__StringEnumeration__Group__0__Impl rule__StringEnumeration__Group__1 ; - public final void rule__StringEnumeration__Group__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:7002:1: ( rule__StringEnumeration__Group__0__Impl rule__StringEnumeration__Group__1 ) - // InternalApplicationConfiguration.g:7003:2: rule__StringEnumeration__Group__0__Impl rule__StringEnumeration__Group__1 - { - pushFollow(FOLLOW_33); - rule__StringEnumeration__Group__0__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__StringEnumeration__Group__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__StringEnumeration__Group__0" - - - // $ANTLR start "rule__StringEnumeration__Group__0__Impl" - // InternalApplicationConfiguration.g:7010:1: rule__StringEnumeration__Group__0__Impl : ( () ) ; - public final void rule__StringEnumeration__Group__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:7014:1: ( ( () ) ) - // InternalApplicationConfiguration.g:7015:1: ( () ) - { - // InternalApplicationConfiguration.g:7015:1: ( () ) - // InternalApplicationConfiguration.g:7016:2: () - { - before(grammarAccess.getStringEnumerationAccess().getStringEnumerationAction_0()); - // InternalApplicationConfiguration.g:7017:2: () - // InternalApplicationConfiguration.g:7017:3: - { - } - - after(grammarAccess.getStringEnumerationAccess().getStringEnumerationAction_0()); - - } - - - } - - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__StringEnumeration__Group__0__Impl" - - - // $ANTLR start "rule__StringEnumeration__Group__1" - // InternalApplicationConfiguration.g:7025:1: rule__StringEnumeration__Group__1 : rule__StringEnumeration__Group__1__Impl rule__StringEnumeration__Group__2 ; - public final void rule__StringEnumeration__Group__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:7029:1: ( rule__StringEnumeration__Group__1__Impl rule__StringEnumeration__Group__2 ) - // InternalApplicationConfiguration.g:7030:2: rule__StringEnumeration__Group__1__Impl rule__StringEnumeration__Group__2 - { - pushFollow(FOLLOW_40); - rule__StringEnumeration__Group__1__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__StringEnumeration__Group__2(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__StringEnumeration__Group__1" - - - // $ANTLR start "rule__StringEnumeration__Group__1__Impl" - // InternalApplicationConfiguration.g:7037:1: rule__StringEnumeration__Group__1__Impl : ( '{' ) ; - public final void rule__StringEnumeration__Group__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:7041:1: ( ( '{' ) ) - // InternalApplicationConfiguration.g:7042:1: ( '{' ) - { - // InternalApplicationConfiguration.g:7042:1: ( '{' ) - // InternalApplicationConfiguration.g:7043:2: '{' - { - before(grammarAccess.getStringEnumerationAccess().getLeftCurlyBracketKeyword_1()); - match(input,24,FOLLOW_2); - after(grammarAccess.getStringEnumerationAccess().getLeftCurlyBracketKeyword_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__StringEnumeration__Group__1__Impl" - - - // $ANTLR start "rule__StringEnumeration__Group__2" - // InternalApplicationConfiguration.g:7052:1: rule__StringEnumeration__Group__2 : rule__StringEnumeration__Group__2__Impl rule__StringEnumeration__Group__3 ; - public final void rule__StringEnumeration__Group__2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:7056:1: ( rule__StringEnumeration__Group__2__Impl rule__StringEnumeration__Group__3 ) - // InternalApplicationConfiguration.g:7057:2: rule__StringEnumeration__Group__2__Impl rule__StringEnumeration__Group__3 - { - pushFollow(FOLLOW_40); - rule__StringEnumeration__Group__2__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__StringEnumeration__Group__3(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__StringEnumeration__Group__2" - - - // $ANTLR start "rule__StringEnumeration__Group__2__Impl" - // InternalApplicationConfiguration.g:7064:1: rule__StringEnumeration__Group__2__Impl : ( ( rule__StringEnumeration__Group_2__0 )? ) ; - public final void rule__StringEnumeration__Group__2__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:7068:1: ( ( ( rule__StringEnumeration__Group_2__0 )? ) ) - // InternalApplicationConfiguration.g:7069:1: ( ( rule__StringEnumeration__Group_2__0 )? ) - { - // InternalApplicationConfiguration.g:7069:1: ( ( rule__StringEnumeration__Group_2__0 )? ) - // InternalApplicationConfiguration.g:7070:2: ( rule__StringEnumeration__Group_2__0 )? - { - before(grammarAccess.getStringEnumerationAccess().getGroup_2()); - // InternalApplicationConfiguration.g:7071:2: ( rule__StringEnumeration__Group_2__0 )? - int alt54=2; - int LA54_0 = input.LA(1); - - if ( (LA54_0==RULE_STRING) ) { - alt54=1; - } - switch (alt54) { - case 1 : - // InternalApplicationConfiguration.g:7071:3: rule__StringEnumeration__Group_2__0 - { - pushFollow(FOLLOW_2); - rule__StringEnumeration__Group_2__0(); - - state._fsp--; - - - } - break; - - } - - after(grammarAccess.getStringEnumerationAccess().getGroup_2()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__StringEnumeration__Group__2__Impl" - - - // $ANTLR start "rule__StringEnumeration__Group__3" - // InternalApplicationConfiguration.g:7079:1: rule__StringEnumeration__Group__3 : rule__StringEnumeration__Group__3__Impl ; - public final void rule__StringEnumeration__Group__3() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:7083:1: ( rule__StringEnumeration__Group__3__Impl ) - // InternalApplicationConfiguration.g:7084:2: rule__StringEnumeration__Group__3__Impl - { - pushFollow(FOLLOW_2); - rule__StringEnumeration__Group__3__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__StringEnumeration__Group__3" - - - // $ANTLR start "rule__StringEnumeration__Group__3__Impl" - // InternalApplicationConfiguration.g:7090:1: rule__StringEnumeration__Group__3__Impl : ( '}' ) ; - public final void rule__StringEnumeration__Group__3__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:7094:1: ( ( '}' ) ) - // InternalApplicationConfiguration.g:7095:1: ( '}' ) - { - // InternalApplicationConfiguration.g:7095:1: ( '}' ) - // InternalApplicationConfiguration.g:7096:2: '}' - { - before(grammarAccess.getStringEnumerationAccess().getRightCurlyBracketKeyword_3()); - match(input,25,FOLLOW_2); - after(grammarAccess.getStringEnumerationAccess().getRightCurlyBracketKeyword_3()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__StringEnumeration__Group__3__Impl" - - - // $ANTLR start "rule__StringEnumeration__Group_2__0" - // InternalApplicationConfiguration.g:7106:1: rule__StringEnumeration__Group_2__0 : rule__StringEnumeration__Group_2__0__Impl rule__StringEnumeration__Group_2__1 ; - public final void rule__StringEnumeration__Group_2__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:7110:1: ( rule__StringEnumeration__Group_2__0__Impl rule__StringEnumeration__Group_2__1 ) - // InternalApplicationConfiguration.g:7111:2: rule__StringEnumeration__Group_2__0__Impl rule__StringEnumeration__Group_2__1 - { - pushFollow(FOLLOW_23); - rule__StringEnumeration__Group_2__0__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__StringEnumeration__Group_2__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__StringEnumeration__Group_2__0" - - - // $ANTLR start "rule__StringEnumeration__Group_2__0__Impl" - // InternalApplicationConfiguration.g:7118:1: rule__StringEnumeration__Group_2__0__Impl : ( ( rule__StringEnumeration__EntryAssignment_2_0 ) ) ; - public final void rule__StringEnumeration__Group_2__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:7122:1: ( ( ( rule__StringEnumeration__EntryAssignment_2_0 ) ) ) - // InternalApplicationConfiguration.g:7123:1: ( ( rule__StringEnumeration__EntryAssignment_2_0 ) ) - { - // InternalApplicationConfiguration.g:7123:1: ( ( rule__StringEnumeration__EntryAssignment_2_0 ) ) - // InternalApplicationConfiguration.g:7124:2: ( rule__StringEnumeration__EntryAssignment_2_0 ) - { - before(grammarAccess.getStringEnumerationAccess().getEntryAssignment_2_0()); - // InternalApplicationConfiguration.g:7125:2: ( rule__StringEnumeration__EntryAssignment_2_0 ) - // InternalApplicationConfiguration.g:7125:3: rule__StringEnumeration__EntryAssignment_2_0 - { - pushFollow(FOLLOW_2); - rule__StringEnumeration__EntryAssignment_2_0(); - - state._fsp--; - - - } - - after(grammarAccess.getStringEnumerationAccess().getEntryAssignment_2_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__StringEnumeration__Group_2__0__Impl" - - - // $ANTLR start "rule__StringEnumeration__Group_2__1" - // InternalApplicationConfiguration.g:7133:1: rule__StringEnumeration__Group_2__1 : rule__StringEnumeration__Group_2__1__Impl ; - public final void rule__StringEnumeration__Group_2__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:7137:1: ( rule__StringEnumeration__Group_2__1__Impl ) - // InternalApplicationConfiguration.g:7138:2: rule__StringEnumeration__Group_2__1__Impl - { - pushFollow(FOLLOW_2); - rule__StringEnumeration__Group_2__1__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__StringEnumeration__Group_2__1" - - - // $ANTLR start "rule__StringEnumeration__Group_2__1__Impl" - // InternalApplicationConfiguration.g:7144:1: rule__StringEnumeration__Group_2__1__Impl : ( ( rule__StringEnumeration__Group_2_1__0 )* ) ; - public final void rule__StringEnumeration__Group_2__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:7148:1: ( ( ( rule__StringEnumeration__Group_2_1__0 )* ) ) - // InternalApplicationConfiguration.g:7149:1: ( ( rule__StringEnumeration__Group_2_1__0 )* ) - { - // InternalApplicationConfiguration.g:7149:1: ( ( rule__StringEnumeration__Group_2_1__0 )* ) - // InternalApplicationConfiguration.g:7150:2: ( rule__StringEnumeration__Group_2_1__0 )* - { - before(grammarAccess.getStringEnumerationAccess().getGroup_2_1()); - // InternalApplicationConfiguration.g:7151:2: ( rule__StringEnumeration__Group_2_1__0 )* - loop55: - do { - int alt55=2; - int LA55_0 = input.LA(1); - - if ( (LA55_0==26) ) { - alt55=1; - } - - - switch (alt55) { - case 1 : - // InternalApplicationConfiguration.g:7151:3: rule__StringEnumeration__Group_2_1__0 - { - pushFollow(FOLLOW_16); - rule__StringEnumeration__Group_2_1__0(); - - state._fsp--; - - - } - break; - - default : - break loop55; - } - } while (true); - - after(grammarAccess.getStringEnumerationAccess().getGroup_2_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__StringEnumeration__Group_2__1__Impl" - - - // $ANTLR start "rule__StringEnumeration__Group_2_1__0" - // InternalApplicationConfiguration.g:7160:1: rule__StringEnumeration__Group_2_1__0 : rule__StringEnumeration__Group_2_1__0__Impl rule__StringEnumeration__Group_2_1__1 ; - public final void rule__StringEnumeration__Group_2_1__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:7164:1: ( rule__StringEnumeration__Group_2_1__0__Impl rule__StringEnumeration__Group_2_1__1 ) - // InternalApplicationConfiguration.g:7165:2: rule__StringEnumeration__Group_2_1__0__Impl rule__StringEnumeration__Group_2_1__1 - { - pushFollow(FOLLOW_11); - rule__StringEnumeration__Group_2_1__0__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__StringEnumeration__Group_2_1__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__StringEnumeration__Group_2_1__0" - - - // $ANTLR start "rule__StringEnumeration__Group_2_1__0__Impl" - // InternalApplicationConfiguration.g:7172:1: rule__StringEnumeration__Group_2_1__0__Impl : ( ',' ) ; - public final void rule__StringEnumeration__Group_2_1__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:7176:1: ( ( ',' ) ) - // InternalApplicationConfiguration.g:7177:1: ( ',' ) - { - // InternalApplicationConfiguration.g:7177:1: ( ',' ) - // InternalApplicationConfiguration.g:7178:2: ',' - { - before(grammarAccess.getStringEnumerationAccess().getCommaKeyword_2_1_0()); - match(input,26,FOLLOW_2); - after(grammarAccess.getStringEnumerationAccess().getCommaKeyword_2_1_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__StringEnumeration__Group_2_1__0__Impl" - - - // $ANTLR start "rule__StringEnumeration__Group_2_1__1" - // InternalApplicationConfiguration.g:7187:1: rule__StringEnumeration__Group_2_1__1 : rule__StringEnumeration__Group_2_1__1__Impl ; - public final void rule__StringEnumeration__Group_2_1__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:7191:1: ( rule__StringEnumeration__Group_2_1__1__Impl ) - // InternalApplicationConfiguration.g:7192:2: rule__StringEnumeration__Group_2_1__1__Impl - { - pushFollow(FOLLOW_2); - rule__StringEnumeration__Group_2_1__1__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__StringEnumeration__Group_2_1__1" - - - // $ANTLR start "rule__StringEnumeration__Group_2_1__1__Impl" - // InternalApplicationConfiguration.g:7198:1: rule__StringEnumeration__Group_2_1__1__Impl : ( ( rule__StringEnumeration__EntryAssignment_2_1_1 ) ) ; - public final void rule__StringEnumeration__Group_2_1__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:7202:1: ( ( ( rule__StringEnumeration__EntryAssignment_2_1_1 ) ) ) - // InternalApplicationConfiguration.g:7203:1: ( ( rule__StringEnumeration__EntryAssignment_2_1_1 ) ) - { - // InternalApplicationConfiguration.g:7203:1: ( ( rule__StringEnumeration__EntryAssignment_2_1_1 ) ) - // InternalApplicationConfiguration.g:7204:2: ( rule__StringEnumeration__EntryAssignment_2_1_1 ) - { - before(grammarAccess.getStringEnumerationAccess().getEntryAssignment_2_1_1()); - // InternalApplicationConfiguration.g:7205:2: ( rule__StringEnumeration__EntryAssignment_2_1_1 ) - // InternalApplicationConfiguration.g:7205:3: rule__StringEnumeration__EntryAssignment_2_1_1 - { - pushFollow(FOLLOW_2); - rule__StringEnumeration__EntryAssignment_2_1_1(); - - state._fsp--; - - - } - - after(grammarAccess.getStringEnumerationAccess().getEntryAssignment_2_1_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__StringEnumeration__Group_2_1__1__Impl" - - - // $ANTLR start "rule__ScopeDeclaration__Group__0" - // InternalApplicationConfiguration.g:7214:1: rule__ScopeDeclaration__Group__0 : rule__ScopeDeclaration__Group__0__Impl rule__ScopeDeclaration__Group__1 ; - public final void rule__ScopeDeclaration__Group__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:7218:1: ( rule__ScopeDeclaration__Group__0__Impl rule__ScopeDeclaration__Group__1 ) - // InternalApplicationConfiguration.g:7219:2: rule__ScopeDeclaration__Group__0__Impl rule__ScopeDeclaration__Group__1 - { - pushFollow(FOLLOW_8); - rule__ScopeDeclaration__Group__0__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__ScopeDeclaration__Group__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ScopeDeclaration__Group__0" - - - // $ANTLR start "rule__ScopeDeclaration__Group__0__Impl" - // InternalApplicationConfiguration.g:7226:1: rule__ScopeDeclaration__Group__0__Impl : ( 'scope' ) ; - public final void rule__ScopeDeclaration__Group__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:7230:1: ( ( 'scope' ) ) - // InternalApplicationConfiguration.g:7231:1: ( 'scope' ) - { - // InternalApplicationConfiguration.g:7231:1: ( 'scope' ) - // InternalApplicationConfiguration.g:7232:2: 'scope' - { - before(grammarAccess.getScopeDeclarationAccess().getScopeKeyword_0()); - match(input,46,FOLLOW_2); - after(grammarAccess.getScopeDeclarationAccess().getScopeKeyword_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ScopeDeclaration__Group__0__Impl" - - - // $ANTLR start "rule__ScopeDeclaration__Group__1" - // InternalApplicationConfiguration.g:7241:1: rule__ScopeDeclaration__Group__1 : rule__ScopeDeclaration__Group__1__Impl rule__ScopeDeclaration__Group__2 ; - public final void rule__ScopeDeclaration__Group__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:7245:1: ( rule__ScopeDeclaration__Group__1__Impl rule__ScopeDeclaration__Group__2 ) - // InternalApplicationConfiguration.g:7246:2: rule__ScopeDeclaration__Group__1__Impl rule__ScopeDeclaration__Group__2 - { - pushFollow(FOLLOW_18); - rule__ScopeDeclaration__Group__1__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__ScopeDeclaration__Group__2(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ScopeDeclaration__Group__1" - - - // $ANTLR start "rule__ScopeDeclaration__Group__1__Impl" - // InternalApplicationConfiguration.g:7253:1: rule__ScopeDeclaration__Group__1__Impl : ( ( rule__ScopeDeclaration__NameAssignment_1 ) ) ; - public final void rule__ScopeDeclaration__Group__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:7257:1: ( ( ( rule__ScopeDeclaration__NameAssignment_1 ) ) ) - // InternalApplicationConfiguration.g:7258:1: ( ( rule__ScopeDeclaration__NameAssignment_1 ) ) - { - // InternalApplicationConfiguration.g:7258:1: ( ( rule__ScopeDeclaration__NameAssignment_1 ) ) - // InternalApplicationConfiguration.g:7259:2: ( rule__ScopeDeclaration__NameAssignment_1 ) - { - before(grammarAccess.getScopeDeclarationAccess().getNameAssignment_1()); - // InternalApplicationConfiguration.g:7260:2: ( rule__ScopeDeclaration__NameAssignment_1 ) - // InternalApplicationConfiguration.g:7260:3: rule__ScopeDeclaration__NameAssignment_1 - { - pushFollow(FOLLOW_2); - rule__ScopeDeclaration__NameAssignment_1(); - - state._fsp--; - - - } - - after(grammarAccess.getScopeDeclarationAccess().getNameAssignment_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ScopeDeclaration__Group__1__Impl" - - - // $ANTLR start "rule__ScopeDeclaration__Group__2" - // InternalApplicationConfiguration.g:7268:1: rule__ScopeDeclaration__Group__2 : rule__ScopeDeclaration__Group__2__Impl ; - public final void rule__ScopeDeclaration__Group__2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:7272:1: ( rule__ScopeDeclaration__Group__2__Impl ) - // InternalApplicationConfiguration.g:7273:2: rule__ScopeDeclaration__Group__2__Impl - { - pushFollow(FOLLOW_2); - rule__ScopeDeclaration__Group__2__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ScopeDeclaration__Group__2" - - - // $ANTLR start "rule__ScopeDeclaration__Group__2__Impl" - // InternalApplicationConfiguration.g:7279:1: rule__ScopeDeclaration__Group__2__Impl : ( ( rule__ScopeDeclaration__SpecificationAssignment_2 ) ) ; - public final void rule__ScopeDeclaration__Group__2__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:7283:1: ( ( ( rule__ScopeDeclaration__SpecificationAssignment_2 ) ) ) - // InternalApplicationConfiguration.g:7284:1: ( ( rule__ScopeDeclaration__SpecificationAssignment_2 ) ) - { - // InternalApplicationConfiguration.g:7284:1: ( ( rule__ScopeDeclaration__SpecificationAssignment_2 ) ) - // InternalApplicationConfiguration.g:7285:2: ( rule__ScopeDeclaration__SpecificationAssignment_2 ) - { - before(grammarAccess.getScopeDeclarationAccess().getSpecificationAssignment_2()); - // InternalApplicationConfiguration.g:7286:2: ( rule__ScopeDeclaration__SpecificationAssignment_2 ) - // InternalApplicationConfiguration.g:7286:3: rule__ScopeDeclaration__SpecificationAssignment_2 - { - pushFollow(FOLLOW_2); - rule__ScopeDeclaration__SpecificationAssignment_2(); - - state._fsp--; - - - } - - after(grammarAccess.getScopeDeclarationAccess().getSpecificationAssignment_2()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ScopeDeclaration__Group__2__Impl" - - - // $ANTLR start "rule__GenerationTask__Group__0" - // InternalApplicationConfiguration.g:7295:1: rule__GenerationTask__Group__0 : rule__GenerationTask__Group__0__Impl rule__GenerationTask__Group__1 ; - public final void rule__GenerationTask__Group__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:7299:1: ( rule__GenerationTask__Group__0__Impl rule__GenerationTask__Group__1 ) - // InternalApplicationConfiguration.g:7300:2: rule__GenerationTask__Group__0__Impl rule__GenerationTask__Group__1 - { - pushFollow(FOLLOW_18); - rule__GenerationTask__Group__0__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__GenerationTask__Group__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__GenerationTask__Group__0" - - - // $ANTLR start "rule__GenerationTask__Group__0__Impl" - // InternalApplicationConfiguration.g:7307:1: rule__GenerationTask__Group__0__Impl : ( 'generate' ) ; - public final void rule__GenerationTask__Group__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:7311:1: ( ( 'generate' ) ) - // InternalApplicationConfiguration.g:7312:1: ( 'generate' ) - { - // InternalApplicationConfiguration.g:7312:1: ( 'generate' ) - // InternalApplicationConfiguration.g:7313:2: 'generate' - { - before(grammarAccess.getGenerationTaskAccess().getGenerateKeyword_0()); - match(input,47,FOLLOW_2); - after(grammarAccess.getGenerationTaskAccess().getGenerateKeyword_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__GenerationTask__Group__0__Impl" - - - // $ANTLR start "rule__GenerationTask__Group__1" - // InternalApplicationConfiguration.g:7322:1: rule__GenerationTask__Group__1 : rule__GenerationTask__Group__1__Impl rule__GenerationTask__Group__2 ; - public final void rule__GenerationTask__Group__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:7326:1: ( rule__GenerationTask__Group__1__Impl rule__GenerationTask__Group__2 ) - // InternalApplicationConfiguration.g:7327:2: rule__GenerationTask__Group__1__Impl rule__GenerationTask__Group__2 - { - pushFollow(FOLLOW_18); - rule__GenerationTask__Group__1__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__GenerationTask__Group__2(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__GenerationTask__Group__1" - - - // $ANTLR start "rule__GenerationTask__Group__1__Impl" - // InternalApplicationConfiguration.g:7334:1: rule__GenerationTask__Group__1__Impl : ( () ) ; - public final void rule__GenerationTask__Group__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:7338:1: ( ( () ) ) - // InternalApplicationConfiguration.g:7339:1: ( () ) - { - // InternalApplicationConfiguration.g:7339:1: ( () ) - // InternalApplicationConfiguration.g:7340:2: () - { - before(grammarAccess.getGenerationTaskAccess().getGenerationTaskAction_1()); - // InternalApplicationConfiguration.g:7341:2: () - // InternalApplicationConfiguration.g:7341:3: - { - } - - after(grammarAccess.getGenerationTaskAccess().getGenerationTaskAction_1()); - - } - - - } - - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__GenerationTask__Group__1__Impl" - - - // $ANTLR start "rule__GenerationTask__Group__2" - // InternalApplicationConfiguration.g:7349:1: rule__GenerationTask__Group__2 : rule__GenerationTask__Group__2__Impl rule__GenerationTask__Group__3 ; - public final void rule__GenerationTask__Group__2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:7353:1: ( rule__GenerationTask__Group__2__Impl rule__GenerationTask__Group__3 ) - // InternalApplicationConfiguration.g:7354:2: rule__GenerationTask__Group__2__Impl rule__GenerationTask__Group__3 - { - pushFollow(FOLLOW_41); - rule__GenerationTask__Group__2__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__GenerationTask__Group__3(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__GenerationTask__Group__2" - - - // $ANTLR start "rule__GenerationTask__Group__2__Impl" - // InternalApplicationConfiguration.g:7361:1: rule__GenerationTask__Group__2__Impl : ( '{' ) ; - public final void rule__GenerationTask__Group__2__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:7365:1: ( ( '{' ) ) - // InternalApplicationConfiguration.g:7366:1: ( '{' ) - { - // InternalApplicationConfiguration.g:7366:1: ( '{' ) - // InternalApplicationConfiguration.g:7367:2: '{' - { - before(grammarAccess.getGenerationTaskAccess().getLeftCurlyBracketKeyword_2()); - match(input,24,FOLLOW_2); - after(grammarAccess.getGenerationTaskAccess().getLeftCurlyBracketKeyword_2()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__GenerationTask__Group__2__Impl" - - - // $ANTLR start "rule__GenerationTask__Group__3" - // InternalApplicationConfiguration.g:7376:1: rule__GenerationTask__Group__3 : rule__GenerationTask__Group__3__Impl rule__GenerationTask__Group__4 ; - public final void rule__GenerationTask__Group__3() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:7380:1: ( rule__GenerationTask__Group__3__Impl rule__GenerationTask__Group__4 ) - // InternalApplicationConfiguration.g:7381:2: rule__GenerationTask__Group__3__Impl rule__GenerationTask__Group__4 - { - pushFollow(FOLLOW_42); - rule__GenerationTask__Group__3__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__GenerationTask__Group__4(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__GenerationTask__Group__3" - - - // $ANTLR start "rule__GenerationTask__Group__3__Impl" - // InternalApplicationConfiguration.g:7388:1: rule__GenerationTask__Group__3__Impl : ( ( rule__GenerationTask__UnorderedGroup_3 ) ) ; - public final void rule__GenerationTask__Group__3__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:7392:1: ( ( ( rule__GenerationTask__UnorderedGroup_3 ) ) ) - // InternalApplicationConfiguration.g:7393:1: ( ( rule__GenerationTask__UnorderedGroup_3 ) ) - { - // InternalApplicationConfiguration.g:7393:1: ( ( rule__GenerationTask__UnorderedGroup_3 ) ) - // InternalApplicationConfiguration.g:7394:2: ( rule__GenerationTask__UnorderedGroup_3 ) - { - before(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); - // InternalApplicationConfiguration.g:7395:2: ( rule__GenerationTask__UnorderedGroup_3 ) - // InternalApplicationConfiguration.g:7395:3: rule__GenerationTask__UnorderedGroup_3 - { - pushFollow(FOLLOW_2); - rule__GenerationTask__UnorderedGroup_3(); - - state._fsp--; - - - } - - after(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__GenerationTask__Group__3__Impl" - - - // $ANTLR start "rule__GenerationTask__Group__4" - // InternalApplicationConfiguration.g:7403:1: rule__GenerationTask__Group__4 : rule__GenerationTask__Group__4__Impl ; - public final void rule__GenerationTask__Group__4() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:7407:1: ( rule__GenerationTask__Group__4__Impl ) - // InternalApplicationConfiguration.g:7408:2: rule__GenerationTask__Group__4__Impl - { - pushFollow(FOLLOW_2); - rule__GenerationTask__Group__4__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__GenerationTask__Group__4" - - - // $ANTLR start "rule__GenerationTask__Group__4__Impl" - // InternalApplicationConfiguration.g:7414:1: rule__GenerationTask__Group__4__Impl : ( '}' ) ; - public final void rule__GenerationTask__Group__4__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:7418:1: ( ( '}' ) ) - // InternalApplicationConfiguration.g:7419:1: ( '}' ) - { - // InternalApplicationConfiguration.g:7419:1: ( '}' ) - // InternalApplicationConfiguration.g:7420:2: '}' - { - before(grammarAccess.getGenerationTaskAccess().getRightCurlyBracketKeyword_4()); - match(input,25,FOLLOW_2); - after(grammarAccess.getGenerationTaskAccess().getRightCurlyBracketKeyword_4()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__GenerationTask__Group__4__Impl" - - - // $ANTLR start "rule__GenerationTask__Group_3_0__0" - // InternalApplicationConfiguration.g:7430:1: rule__GenerationTask__Group_3_0__0 : rule__GenerationTask__Group_3_0__0__Impl rule__GenerationTask__Group_3_0__1 ; - public final void rule__GenerationTask__Group_3_0__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:7434:1: ( rule__GenerationTask__Group_3_0__0__Impl rule__GenerationTask__Group_3_0__1 ) - // InternalApplicationConfiguration.g:7435:2: rule__GenerationTask__Group_3_0__0__Impl rule__GenerationTask__Group_3_0__1 - { - pushFollow(FOLLOW_13); - rule__GenerationTask__Group_3_0__0__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__GenerationTask__Group_3_0__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__GenerationTask__Group_3_0__0" - - - // $ANTLR start "rule__GenerationTask__Group_3_0__0__Impl" - // InternalApplicationConfiguration.g:7442:1: rule__GenerationTask__Group_3_0__0__Impl : ( 'metamodel' ) ; - public final void rule__GenerationTask__Group_3_0__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:7446:1: ( ( 'metamodel' ) ) - // InternalApplicationConfiguration.g:7447:1: ( 'metamodel' ) - { - // InternalApplicationConfiguration.g:7447:1: ( 'metamodel' ) - // InternalApplicationConfiguration.g:7448:2: 'metamodel' - { - before(grammarAccess.getGenerationTaskAccess().getMetamodelKeyword_3_0_0()); - match(input,30,FOLLOW_2); - after(grammarAccess.getGenerationTaskAccess().getMetamodelKeyword_3_0_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__GenerationTask__Group_3_0__0__Impl" - - - // $ANTLR start "rule__GenerationTask__Group_3_0__1" - // InternalApplicationConfiguration.g:7457:1: rule__GenerationTask__Group_3_0__1 : rule__GenerationTask__Group_3_0__1__Impl rule__GenerationTask__Group_3_0__2 ; - public final void rule__GenerationTask__Group_3_0__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:7461:1: ( rule__GenerationTask__Group_3_0__1__Impl rule__GenerationTask__Group_3_0__2 ) - // InternalApplicationConfiguration.g:7462:2: rule__GenerationTask__Group_3_0__1__Impl rule__GenerationTask__Group_3_0__2 - { - pushFollow(FOLLOW_43); - rule__GenerationTask__Group_3_0__1__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__GenerationTask__Group_3_0__2(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__GenerationTask__Group_3_0__1" - - - // $ANTLR start "rule__GenerationTask__Group_3_0__1__Impl" - // InternalApplicationConfiguration.g:7469:1: rule__GenerationTask__Group_3_0__1__Impl : ( '=' ) ; - public final void rule__GenerationTask__Group_3_0__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:7473:1: ( ( '=' ) ) - // InternalApplicationConfiguration.g:7474:1: ( '=' ) - { - // InternalApplicationConfiguration.g:7474:1: ( '=' ) - // InternalApplicationConfiguration.g:7475:2: '=' - { - before(grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_0_1()); - match(input,23,FOLLOW_2); - after(grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_0_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__GenerationTask__Group_3_0__1__Impl" - - - // $ANTLR start "rule__GenerationTask__Group_3_0__2" - // InternalApplicationConfiguration.g:7484:1: rule__GenerationTask__Group_3_0__2 : rule__GenerationTask__Group_3_0__2__Impl ; - public final void rule__GenerationTask__Group_3_0__2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:7488:1: ( rule__GenerationTask__Group_3_0__2__Impl ) - // InternalApplicationConfiguration.g:7489:2: rule__GenerationTask__Group_3_0__2__Impl - { - pushFollow(FOLLOW_2); - rule__GenerationTask__Group_3_0__2__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__GenerationTask__Group_3_0__2" - - - // $ANTLR start "rule__GenerationTask__Group_3_0__2__Impl" - // InternalApplicationConfiguration.g:7495:1: rule__GenerationTask__Group_3_0__2__Impl : ( ( rule__GenerationTask__MetamodelAssignment_3_0_2 ) ) ; - public final void rule__GenerationTask__Group_3_0__2__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:7499:1: ( ( ( rule__GenerationTask__MetamodelAssignment_3_0_2 ) ) ) - // InternalApplicationConfiguration.g:7500:1: ( ( rule__GenerationTask__MetamodelAssignment_3_0_2 ) ) - { - // InternalApplicationConfiguration.g:7500:1: ( ( rule__GenerationTask__MetamodelAssignment_3_0_2 ) ) - // InternalApplicationConfiguration.g:7501:2: ( rule__GenerationTask__MetamodelAssignment_3_0_2 ) - { - before(grammarAccess.getGenerationTaskAccess().getMetamodelAssignment_3_0_2()); - // InternalApplicationConfiguration.g:7502:2: ( rule__GenerationTask__MetamodelAssignment_3_0_2 ) - // InternalApplicationConfiguration.g:7502:3: rule__GenerationTask__MetamodelAssignment_3_0_2 - { - pushFollow(FOLLOW_2); - rule__GenerationTask__MetamodelAssignment_3_0_2(); - - state._fsp--; - - - } - - after(grammarAccess.getGenerationTaskAccess().getMetamodelAssignment_3_0_2()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__GenerationTask__Group_3_0__2__Impl" - - - // $ANTLR start "rule__GenerationTask__Group_3_1__0" - // InternalApplicationConfiguration.g:7511:1: rule__GenerationTask__Group_3_1__0 : rule__GenerationTask__Group_3_1__0__Impl rule__GenerationTask__Group_3_1__1 ; - public final void rule__GenerationTask__Group_3_1__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:7515:1: ( rule__GenerationTask__Group_3_1__0__Impl rule__GenerationTask__Group_3_1__1 ) - // InternalApplicationConfiguration.g:7516:2: rule__GenerationTask__Group_3_1__0__Impl rule__GenerationTask__Group_3_1__1 - { - pushFollow(FOLLOW_13); - rule__GenerationTask__Group_3_1__0__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__GenerationTask__Group_3_1__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__GenerationTask__Group_3_1__0" - - - // $ANTLR start "rule__GenerationTask__Group_3_1__0__Impl" - // InternalApplicationConfiguration.g:7523:1: rule__GenerationTask__Group_3_1__0__Impl : ( 'partial-model' ) ; - public final void rule__GenerationTask__Group_3_1__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:7527:1: ( ( 'partial-model' ) ) - // InternalApplicationConfiguration.g:7528:1: ( 'partial-model' ) - { - // InternalApplicationConfiguration.g:7528:1: ( 'partial-model' ) - // InternalApplicationConfiguration.g:7529:2: 'partial-model' - { - before(grammarAccess.getGenerationTaskAccess().getPartialModelKeyword_3_1_0()); - match(input,48,FOLLOW_2); - after(grammarAccess.getGenerationTaskAccess().getPartialModelKeyword_3_1_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__GenerationTask__Group_3_1__0__Impl" - - - // $ANTLR start "rule__GenerationTask__Group_3_1__1" - // InternalApplicationConfiguration.g:7538:1: rule__GenerationTask__Group_3_1__1 : rule__GenerationTask__Group_3_1__1__Impl rule__GenerationTask__Group_3_1__2 ; - public final void rule__GenerationTask__Group_3_1__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:7542:1: ( rule__GenerationTask__Group_3_1__1__Impl rule__GenerationTask__Group_3_1__2 ) - // InternalApplicationConfiguration.g:7543:2: rule__GenerationTask__Group_3_1__1__Impl rule__GenerationTask__Group_3_1__2 - { - pushFollow(FOLLOW_43); - rule__GenerationTask__Group_3_1__1__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__GenerationTask__Group_3_1__2(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__GenerationTask__Group_3_1__1" - - - // $ANTLR start "rule__GenerationTask__Group_3_1__1__Impl" - // InternalApplicationConfiguration.g:7550:1: rule__GenerationTask__Group_3_1__1__Impl : ( '=' ) ; - public final void rule__GenerationTask__Group_3_1__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:7554:1: ( ( '=' ) ) - // InternalApplicationConfiguration.g:7555:1: ( '=' ) - { - // InternalApplicationConfiguration.g:7555:1: ( '=' ) - // InternalApplicationConfiguration.g:7556:2: '=' - { - before(grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_1_1()); - match(input,23,FOLLOW_2); - after(grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_1_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__GenerationTask__Group_3_1__1__Impl" - - - // $ANTLR start "rule__GenerationTask__Group_3_1__2" - // InternalApplicationConfiguration.g:7565:1: rule__GenerationTask__Group_3_1__2 : rule__GenerationTask__Group_3_1__2__Impl ; - public final void rule__GenerationTask__Group_3_1__2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:7569:1: ( rule__GenerationTask__Group_3_1__2__Impl ) - // InternalApplicationConfiguration.g:7570:2: rule__GenerationTask__Group_3_1__2__Impl - { - pushFollow(FOLLOW_2); - rule__GenerationTask__Group_3_1__2__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__GenerationTask__Group_3_1__2" - - - // $ANTLR start "rule__GenerationTask__Group_3_1__2__Impl" - // InternalApplicationConfiguration.g:7576:1: rule__GenerationTask__Group_3_1__2__Impl : ( ( rule__GenerationTask__PartialModelAssignment_3_1_2 ) ) ; - public final void rule__GenerationTask__Group_3_1__2__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:7580:1: ( ( ( rule__GenerationTask__PartialModelAssignment_3_1_2 ) ) ) - // InternalApplicationConfiguration.g:7581:1: ( ( rule__GenerationTask__PartialModelAssignment_3_1_2 ) ) - { - // InternalApplicationConfiguration.g:7581:1: ( ( rule__GenerationTask__PartialModelAssignment_3_1_2 ) ) - // InternalApplicationConfiguration.g:7582:2: ( rule__GenerationTask__PartialModelAssignment_3_1_2 ) - { - before(grammarAccess.getGenerationTaskAccess().getPartialModelAssignment_3_1_2()); - // InternalApplicationConfiguration.g:7583:2: ( rule__GenerationTask__PartialModelAssignment_3_1_2 ) - // InternalApplicationConfiguration.g:7583:3: rule__GenerationTask__PartialModelAssignment_3_1_2 - { - pushFollow(FOLLOW_2); - rule__GenerationTask__PartialModelAssignment_3_1_2(); - - state._fsp--; - - - } - - after(grammarAccess.getGenerationTaskAccess().getPartialModelAssignment_3_1_2()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__GenerationTask__Group_3_1__2__Impl" - - - // $ANTLR start "rule__GenerationTask__Group_3_2__0" - // InternalApplicationConfiguration.g:7592:1: rule__GenerationTask__Group_3_2__0 : rule__GenerationTask__Group_3_2__0__Impl rule__GenerationTask__Group_3_2__1 ; - public final void rule__GenerationTask__Group_3_2__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:7596:1: ( rule__GenerationTask__Group_3_2__0__Impl rule__GenerationTask__Group_3_2__1 ) - // InternalApplicationConfiguration.g:7597:2: rule__GenerationTask__Group_3_2__0__Impl rule__GenerationTask__Group_3_2__1 - { - pushFollow(FOLLOW_13); - rule__GenerationTask__Group_3_2__0__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__GenerationTask__Group_3_2__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__GenerationTask__Group_3_2__0" - - - // $ANTLR start "rule__GenerationTask__Group_3_2__0__Impl" - // InternalApplicationConfiguration.g:7604:1: rule__GenerationTask__Group_3_2__0__Impl : ( 'constraints' ) ; - public final void rule__GenerationTask__Group_3_2__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:7608:1: ( ( 'constraints' ) ) - // InternalApplicationConfiguration.g:7609:1: ( 'constraints' ) - { - // InternalApplicationConfiguration.g:7609:1: ( 'constraints' ) - // InternalApplicationConfiguration.g:7610:2: 'constraints' - { - before(grammarAccess.getGenerationTaskAccess().getConstraintsKeyword_3_2_0()); - match(input,33,FOLLOW_2); - after(grammarAccess.getGenerationTaskAccess().getConstraintsKeyword_3_2_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__GenerationTask__Group_3_2__0__Impl" - - - // $ANTLR start "rule__GenerationTask__Group_3_2__1" - // InternalApplicationConfiguration.g:7619:1: rule__GenerationTask__Group_3_2__1 : rule__GenerationTask__Group_3_2__1__Impl rule__GenerationTask__Group_3_2__2 ; - public final void rule__GenerationTask__Group_3_2__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:7623:1: ( rule__GenerationTask__Group_3_2__1__Impl rule__GenerationTask__Group_3_2__2 ) - // InternalApplicationConfiguration.g:7624:2: rule__GenerationTask__Group_3_2__1__Impl rule__GenerationTask__Group_3_2__2 - { - pushFollow(FOLLOW_43); - rule__GenerationTask__Group_3_2__1__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__GenerationTask__Group_3_2__2(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__GenerationTask__Group_3_2__1" - - - // $ANTLR start "rule__GenerationTask__Group_3_2__1__Impl" - // InternalApplicationConfiguration.g:7631:1: rule__GenerationTask__Group_3_2__1__Impl : ( '=' ) ; - public final void rule__GenerationTask__Group_3_2__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:7635:1: ( ( '=' ) ) - // InternalApplicationConfiguration.g:7636:1: ( '=' ) - { - // InternalApplicationConfiguration.g:7636:1: ( '=' ) - // InternalApplicationConfiguration.g:7637:2: '=' - { - before(grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_2_1()); - match(input,23,FOLLOW_2); - after(grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_2_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__GenerationTask__Group_3_2__1__Impl" - - - // $ANTLR start "rule__GenerationTask__Group_3_2__2" - // InternalApplicationConfiguration.g:7646:1: rule__GenerationTask__Group_3_2__2 : rule__GenerationTask__Group_3_2__2__Impl ; - public final void rule__GenerationTask__Group_3_2__2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:7650:1: ( rule__GenerationTask__Group_3_2__2__Impl ) - // InternalApplicationConfiguration.g:7651:2: rule__GenerationTask__Group_3_2__2__Impl - { - pushFollow(FOLLOW_2); - rule__GenerationTask__Group_3_2__2__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__GenerationTask__Group_3_2__2" - - - // $ANTLR start "rule__GenerationTask__Group_3_2__2__Impl" - // InternalApplicationConfiguration.g:7657:1: rule__GenerationTask__Group_3_2__2__Impl : ( ( rule__GenerationTask__PatternsAssignment_3_2_2 ) ) ; - public final void rule__GenerationTask__Group_3_2__2__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:7661:1: ( ( ( rule__GenerationTask__PatternsAssignment_3_2_2 ) ) ) - // InternalApplicationConfiguration.g:7662:1: ( ( rule__GenerationTask__PatternsAssignment_3_2_2 ) ) - { - // InternalApplicationConfiguration.g:7662:1: ( ( rule__GenerationTask__PatternsAssignment_3_2_2 ) ) - // InternalApplicationConfiguration.g:7663:2: ( rule__GenerationTask__PatternsAssignment_3_2_2 ) - { - before(grammarAccess.getGenerationTaskAccess().getPatternsAssignment_3_2_2()); - // InternalApplicationConfiguration.g:7664:2: ( rule__GenerationTask__PatternsAssignment_3_2_2 ) - // InternalApplicationConfiguration.g:7664:3: rule__GenerationTask__PatternsAssignment_3_2_2 - { - pushFollow(FOLLOW_2); - rule__GenerationTask__PatternsAssignment_3_2_2(); - - state._fsp--; - - - } - - after(grammarAccess.getGenerationTaskAccess().getPatternsAssignment_3_2_2()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__GenerationTask__Group_3_2__2__Impl" - - - // $ANTLR start "rule__GenerationTask__Group_3_3__0" - // InternalApplicationConfiguration.g:7673:1: rule__GenerationTask__Group_3_3__0 : rule__GenerationTask__Group_3_3__0__Impl rule__GenerationTask__Group_3_3__1 ; - public final void rule__GenerationTask__Group_3_3__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:7677:1: ( rule__GenerationTask__Group_3_3__0__Impl rule__GenerationTask__Group_3_3__1 ) - // InternalApplicationConfiguration.g:7678:2: rule__GenerationTask__Group_3_3__0__Impl rule__GenerationTask__Group_3_3__1 - { - pushFollow(FOLLOW_13); - rule__GenerationTask__Group_3_3__0__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__GenerationTask__Group_3_3__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__GenerationTask__Group_3_3__0" - - - // $ANTLR start "rule__GenerationTask__Group_3_3__0__Impl" - // InternalApplicationConfiguration.g:7685:1: rule__GenerationTask__Group_3_3__0__Impl : ( 'scope' ) ; - public final void rule__GenerationTask__Group_3_3__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:7689:1: ( ( 'scope' ) ) - // InternalApplicationConfiguration.g:7690:1: ( 'scope' ) - { - // InternalApplicationConfiguration.g:7690:1: ( 'scope' ) - // InternalApplicationConfiguration.g:7691:2: 'scope' - { - before(grammarAccess.getGenerationTaskAccess().getScopeKeyword_3_3_0()); - match(input,46,FOLLOW_2); - after(grammarAccess.getGenerationTaskAccess().getScopeKeyword_3_3_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__GenerationTask__Group_3_3__0__Impl" - - - // $ANTLR start "rule__GenerationTask__Group_3_3__1" - // InternalApplicationConfiguration.g:7700:1: rule__GenerationTask__Group_3_3__1 : rule__GenerationTask__Group_3_3__1__Impl rule__GenerationTask__Group_3_3__2 ; - public final void rule__GenerationTask__Group_3_3__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:7704:1: ( rule__GenerationTask__Group_3_3__1__Impl rule__GenerationTask__Group_3_3__2 ) - // InternalApplicationConfiguration.g:7705:2: rule__GenerationTask__Group_3_3__1__Impl rule__GenerationTask__Group_3_3__2 - { - pushFollow(FOLLOW_43); - rule__GenerationTask__Group_3_3__1__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__GenerationTask__Group_3_3__2(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__GenerationTask__Group_3_3__1" - - - // $ANTLR start "rule__GenerationTask__Group_3_3__1__Impl" - // InternalApplicationConfiguration.g:7712:1: rule__GenerationTask__Group_3_3__1__Impl : ( '=' ) ; - public final void rule__GenerationTask__Group_3_3__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:7716:1: ( ( '=' ) ) - // InternalApplicationConfiguration.g:7717:1: ( '=' ) - { - // InternalApplicationConfiguration.g:7717:1: ( '=' ) - // InternalApplicationConfiguration.g:7718:2: '=' - { - before(grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_3_1()); - match(input,23,FOLLOW_2); - after(grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_3_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__GenerationTask__Group_3_3__1__Impl" - - - // $ANTLR start "rule__GenerationTask__Group_3_3__2" - // InternalApplicationConfiguration.g:7727:1: rule__GenerationTask__Group_3_3__2 : rule__GenerationTask__Group_3_3__2__Impl ; - public final void rule__GenerationTask__Group_3_3__2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:7731:1: ( rule__GenerationTask__Group_3_3__2__Impl ) - // InternalApplicationConfiguration.g:7732:2: rule__GenerationTask__Group_3_3__2__Impl - { - pushFollow(FOLLOW_2); - rule__GenerationTask__Group_3_3__2__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__GenerationTask__Group_3_3__2" - - - // $ANTLR start "rule__GenerationTask__Group_3_3__2__Impl" - // InternalApplicationConfiguration.g:7738:1: rule__GenerationTask__Group_3_3__2__Impl : ( ( rule__GenerationTask__ScopeAssignment_3_3_2 ) ) ; - public final void rule__GenerationTask__Group_3_3__2__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:7742:1: ( ( ( rule__GenerationTask__ScopeAssignment_3_3_2 ) ) ) - // InternalApplicationConfiguration.g:7743:1: ( ( rule__GenerationTask__ScopeAssignment_3_3_2 ) ) - { - // InternalApplicationConfiguration.g:7743:1: ( ( rule__GenerationTask__ScopeAssignment_3_3_2 ) ) - // InternalApplicationConfiguration.g:7744:2: ( rule__GenerationTask__ScopeAssignment_3_3_2 ) - { - before(grammarAccess.getGenerationTaskAccess().getScopeAssignment_3_3_2()); - // InternalApplicationConfiguration.g:7745:2: ( rule__GenerationTask__ScopeAssignment_3_3_2 ) - // InternalApplicationConfiguration.g:7745:3: rule__GenerationTask__ScopeAssignment_3_3_2 - { - pushFollow(FOLLOW_2); - rule__GenerationTask__ScopeAssignment_3_3_2(); - - state._fsp--; - - - } - - after(grammarAccess.getGenerationTaskAccess().getScopeAssignment_3_3_2()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__GenerationTask__Group_3_3__2__Impl" - - - // $ANTLR start "rule__GenerationTask__Group_3_4__0" - // InternalApplicationConfiguration.g:7754:1: rule__GenerationTask__Group_3_4__0 : rule__GenerationTask__Group_3_4__0__Impl rule__GenerationTask__Group_3_4__1 ; - public final void rule__GenerationTask__Group_3_4__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:7758:1: ( rule__GenerationTask__Group_3_4__0__Impl rule__GenerationTask__Group_3_4__1 ) - // InternalApplicationConfiguration.g:7759:2: rule__GenerationTask__Group_3_4__0__Impl rule__GenerationTask__Group_3_4__1 - { - pushFollow(FOLLOW_13); - rule__GenerationTask__Group_3_4__0__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__GenerationTask__Group_3_4__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__GenerationTask__Group_3_4__0" - - - // $ANTLR start "rule__GenerationTask__Group_3_4__0__Impl" - // InternalApplicationConfiguration.g:7766:1: rule__GenerationTask__Group_3_4__0__Impl : ( ( rule__GenerationTask__NumberSpecifiedAssignment_3_4_0 ) ) ; - public final void rule__GenerationTask__Group_3_4__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:7770:1: ( ( ( rule__GenerationTask__NumberSpecifiedAssignment_3_4_0 ) ) ) - // InternalApplicationConfiguration.g:7771:1: ( ( rule__GenerationTask__NumberSpecifiedAssignment_3_4_0 ) ) - { - // InternalApplicationConfiguration.g:7771:1: ( ( rule__GenerationTask__NumberSpecifiedAssignment_3_4_0 ) ) - // InternalApplicationConfiguration.g:7772:2: ( rule__GenerationTask__NumberSpecifiedAssignment_3_4_0 ) - { - before(grammarAccess.getGenerationTaskAccess().getNumberSpecifiedAssignment_3_4_0()); - // InternalApplicationConfiguration.g:7773:2: ( rule__GenerationTask__NumberSpecifiedAssignment_3_4_0 ) - // InternalApplicationConfiguration.g:7773:3: rule__GenerationTask__NumberSpecifiedAssignment_3_4_0 - { - pushFollow(FOLLOW_2); - rule__GenerationTask__NumberSpecifiedAssignment_3_4_0(); - - state._fsp--; - - - } - - after(grammarAccess.getGenerationTaskAccess().getNumberSpecifiedAssignment_3_4_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__GenerationTask__Group_3_4__0__Impl" - - - // $ANTLR start "rule__GenerationTask__Group_3_4__1" - // InternalApplicationConfiguration.g:7781:1: rule__GenerationTask__Group_3_4__1 : rule__GenerationTask__Group_3_4__1__Impl rule__GenerationTask__Group_3_4__2 ; - public final void rule__GenerationTask__Group_3_4__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:7785:1: ( rule__GenerationTask__Group_3_4__1__Impl rule__GenerationTask__Group_3_4__2 ) - // InternalApplicationConfiguration.g:7786:2: rule__GenerationTask__Group_3_4__1__Impl rule__GenerationTask__Group_3_4__2 - { - pushFollow(FOLLOW_9); - rule__GenerationTask__Group_3_4__1__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__GenerationTask__Group_3_4__2(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__GenerationTask__Group_3_4__1" - - - // $ANTLR start "rule__GenerationTask__Group_3_4__1__Impl" - // InternalApplicationConfiguration.g:7793:1: rule__GenerationTask__Group_3_4__1__Impl : ( '=' ) ; - public final void rule__GenerationTask__Group_3_4__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:7797:1: ( ( '=' ) ) - // InternalApplicationConfiguration.g:7798:1: ( '=' ) - { - // InternalApplicationConfiguration.g:7798:1: ( '=' ) - // InternalApplicationConfiguration.g:7799:2: '=' - { - before(grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_4_1()); - match(input,23,FOLLOW_2); - after(grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_4_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__GenerationTask__Group_3_4__1__Impl" - - - // $ANTLR start "rule__GenerationTask__Group_3_4__2" - // InternalApplicationConfiguration.g:7808:1: rule__GenerationTask__Group_3_4__2 : rule__GenerationTask__Group_3_4__2__Impl ; - public final void rule__GenerationTask__Group_3_4__2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:7812:1: ( rule__GenerationTask__Group_3_4__2__Impl ) - // InternalApplicationConfiguration.g:7813:2: rule__GenerationTask__Group_3_4__2__Impl - { - pushFollow(FOLLOW_2); - rule__GenerationTask__Group_3_4__2__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__GenerationTask__Group_3_4__2" - - - // $ANTLR start "rule__GenerationTask__Group_3_4__2__Impl" - // InternalApplicationConfiguration.g:7819:1: rule__GenerationTask__Group_3_4__2__Impl : ( ( rule__GenerationTask__NumberAssignment_3_4_2 ) ) ; - public final void rule__GenerationTask__Group_3_4__2__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:7823:1: ( ( ( rule__GenerationTask__NumberAssignment_3_4_2 ) ) ) - // InternalApplicationConfiguration.g:7824:1: ( ( rule__GenerationTask__NumberAssignment_3_4_2 ) ) - { - // InternalApplicationConfiguration.g:7824:1: ( ( rule__GenerationTask__NumberAssignment_3_4_2 ) ) - // InternalApplicationConfiguration.g:7825:2: ( rule__GenerationTask__NumberAssignment_3_4_2 ) - { - before(grammarAccess.getGenerationTaskAccess().getNumberAssignment_3_4_2()); - // InternalApplicationConfiguration.g:7826:2: ( rule__GenerationTask__NumberAssignment_3_4_2 ) - // InternalApplicationConfiguration.g:7826:3: rule__GenerationTask__NumberAssignment_3_4_2 - { - pushFollow(FOLLOW_2); - rule__GenerationTask__NumberAssignment_3_4_2(); - - state._fsp--; - - - } - - after(grammarAccess.getGenerationTaskAccess().getNumberAssignment_3_4_2()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__GenerationTask__Group_3_4__2__Impl" - - - // $ANTLR start "rule__GenerationTask__Group_3_5__0" - // InternalApplicationConfiguration.g:7835:1: rule__GenerationTask__Group_3_5__0 : rule__GenerationTask__Group_3_5__0__Impl rule__GenerationTask__Group_3_5__1 ; - public final void rule__GenerationTask__Group_3_5__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:7839:1: ( rule__GenerationTask__Group_3_5__0__Impl rule__GenerationTask__Group_3_5__1 ) - // InternalApplicationConfiguration.g:7840:2: rule__GenerationTask__Group_3_5__0__Impl rule__GenerationTask__Group_3_5__1 - { - pushFollow(FOLLOW_13); - rule__GenerationTask__Group_3_5__0__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__GenerationTask__Group_3_5__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__GenerationTask__Group_3_5__0" - - - // $ANTLR start "rule__GenerationTask__Group_3_5__0__Impl" - // InternalApplicationConfiguration.g:7847:1: rule__GenerationTask__Group_3_5__0__Impl : ( ( rule__GenerationTask__RunSpecifiedAssignment_3_5_0 ) ) ; - public final void rule__GenerationTask__Group_3_5__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:7851:1: ( ( ( rule__GenerationTask__RunSpecifiedAssignment_3_5_0 ) ) ) - // InternalApplicationConfiguration.g:7852:1: ( ( rule__GenerationTask__RunSpecifiedAssignment_3_5_0 ) ) - { - // InternalApplicationConfiguration.g:7852:1: ( ( rule__GenerationTask__RunSpecifiedAssignment_3_5_0 ) ) - // InternalApplicationConfiguration.g:7853:2: ( rule__GenerationTask__RunSpecifiedAssignment_3_5_0 ) - { - before(grammarAccess.getGenerationTaskAccess().getRunSpecifiedAssignment_3_5_0()); - // InternalApplicationConfiguration.g:7854:2: ( rule__GenerationTask__RunSpecifiedAssignment_3_5_0 ) - // InternalApplicationConfiguration.g:7854:3: rule__GenerationTask__RunSpecifiedAssignment_3_5_0 - { - pushFollow(FOLLOW_2); - rule__GenerationTask__RunSpecifiedAssignment_3_5_0(); - - state._fsp--; - - - } - - after(grammarAccess.getGenerationTaskAccess().getRunSpecifiedAssignment_3_5_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__GenerationTask__Group_3_5__0__Impl" - - - // $ANTLR start "rule__GenerationTask__Group_3_5__1" - // InternalApplicationConfiguration.g:7862:1: rule__GenerationTask__Group_3_5__1 : rule__GenerationTask__Group_3_5__1__Impl rule__GenerationTask__Group_3_5__2 ; - public final void rule__GenerationTask__Group_3_5__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:7866:1: ( rule__GenerationTask__Group_3_5__1__Impl rule__GenerationTask__Group_3_5__2 ) - // InternalApplicationConfiguration.g:7867:2: rule__GenerationTask__Group_3_5__1__Impl rule__GenerationTask__Group_3_5__2 - { - pushFollow(FOLLOW_9); - rule__GenerationTask__Group_3_5__1__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__GenerationTask__Group_3_5__2(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__GenerationTask__Group_3_5__1" - - - // $ANTLR start "rule__GenerationTask__Group_3_5__1__Impl" - // InternalApplicationConfiguration.g:7874:1: rule__GenerationTask__Group_3_5__1__Impl : ( '=' ) ; - public final void rule__GenerationTask__Group_3_5__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:7878:1: ( ( '=' ) ) - // InternalApplicationConfiguration.g:7879:1: ( '=' ) - { - // InternalApplicationConfiguration.g:7879:1: ( '=' ) - // InternalApplicationConfiguration.g:7880:2: '=' - { - before(grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_5_1()); - match(input,23,FOLLOW_2); - after(grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_5_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__GenerationTask__Group_3_5__1__Impl" - - - // $ANTLR start "rule__GenerationTask__Group_3_5__2" - // InternalApplicationConfiguration.g:7889:1: rule__GenerationTask__Group_3_5__2 : rule__GenerationTask__Group_3_5__2__Impl ; - public final void rule__GenerationTask__Group_3_5__2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:7893:1: ( rule__GenerationTask__Group_3_5__2__Impl ) - // InternalApplicationConfiguration.g:7894:2: rule__GenerationTask__Group_3_5__2__Impl - { - pushFollow(FOLLOW_2); - rule__GenerationTask__Group_3_5__2__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__GenerationTask__Group_3_5__2" - - - // $ANTLR start "rule__GenerationTask__Group_3_5__2__Impl" - // InternalApplicationConfiguration.g:7900:1: rule__GenerationTask__Group_3_5__2__Impl : ( ( rule__GenerationTask__RunsAssignment_3_5_2 ) ) ; - public final void rule__GenerationTask__Group_3_5__2__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:7904:1: ( ( ( rule__GenerationTask__RunsAssignment_3_5_2 ) ) ) - // InternalApplicationConfiguration.g:7905:1: ( ( rule__GenerationTask__RunsAssignment_3_5_2 ) ) - { - // InternalApplicationConfiguration.g:7905:1: ( ( rule__GenerationTask__RunsAssignment_3_5_2 ) ) - // InternalApplicationConfiguration.g:7906:2: ( rule__GenerationTask__RunsAssignment_3_5_2 ) - { - before(grammarAccess.getGenerationTaskAccess().getRunsAssignment_3_5_2()); - // InternalApplicationConfiguration.g:7907:2: ( rule__GenerationTask__RunsAssignment_3_5_2 ) - // InternalApplicationConfiguration.g:7907:3: rule__GenerationTask__RunsAssignment_3_5_2 - { - pushFollow(FOLLOW_2); - rule__GenerationTask__RunsAssignment_3_5_2(); - - state._fsp--; - - - } - - after(grammarAccess.getGenerationTaskAccess().getRunsAssignment_3_5_2()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__GenerationTask__Group_3_5__2__Impl" - - - // $ANTLR start "rule__GenerationTask__Group_3_6__0" - // InternalApplicationConfiguration.g:7916:1: rule__GenerationTask__Group_3_6__0 : rule__GenerationTask__Group_3_6__0__Impl rule__GenerationTask__Group_3_6__1 ; - public final void rule__GenerationTask__Group_3_6__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:7920:1: ( rule__GenerationTask__Group_3_6__0__Impl rule__GenerationTask__Group_3_6__1 ) - // InternalApplicationConfiguration.g:7921:2: rule__GenerationTask__Group_3_6__0__Impl rule__GenerationTask__Group_3_6__1 - { - pushFollow(FOLLOW_13); - rule__GenerationTask__Group_3_6__0__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__GenerationTask__Group_3_6__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__GenerationTask__Group_3_6__0" - - - // $ANTLR start "rule__GenerationTask__Group_3_6__0__Impl" - // InternalApplicationConfiguration.g:7928:1: rule__GenerationTask__Group_3_6__0__Impl : ( 'solver' ) ; - public final void rule__GenerationTask__Group_3_6__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:7932:1: ( ( 'solver' ) ) - // InternalApplicationConfiguration.g:7933:1: ( 'solver' ) - { - // InternalApplicationConfiguration.g:7933:1: ( 'solver' ) - // InternalApplicationConfiguration.g:7934:2: 'solver' - { - before(grammarAccess.getGenerationTaskAccess().getSolverKeyword_3_6_0()); - match(input,49,FOLLOW_2); - after(grammarAccess.getGenerationTaskAccess().getSolverKeyword_3_6_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__GenerationTask__Group_3_6__0__Impl" - - - // $ANTLR start "rule__GenerationTask__Group_3_6__1" - // InternalApplicationConfiguration.g:7943:1: rule__GenerationTask__Group_3_6__1 : rule__GenerationTask__Group_3_6__1__Impl rule__GenerationTask__Group_3_6__2 ; - public final void rule__GenerationTask__Group_3_6__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:7947:1: ( rule__GenerationTask__Group_3_6__1__Impl rule__GenerationTask__Group_3_6__2 ) - // InternalApplicationConfiguration.g:7948:2: rule__GenerationTask__Group_3_6__1__Impl rule__GenerationTask__Group_3_6__2 - { - pushFollow(FOLLOW_44); - rule__GenerationTask__Group_3_6__1__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__GenerationTask__Group_3_6__2(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__GenerationTask__Group_3_6__1" - - - // $ANTLR start "rule__GenerationTask__Group_3_6__1__Impl" - // InternalApplicationConfiguration.g:7955:1: rule__GenerationTask__Group_3_6__1__Impl : ( '=' ) ; - public final void rule__GenerationTask__Group_3_6__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:7959:1: ( ( '=' ) ) - // InternalApplicationConfiguration.g:7960:1: ( '=' ) - { - // InternalApplicationConfiguration.g:7960:1: ( '=' ) - // InternalApplicationConfiguration.g:7961:2: '=' - { - before(grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_6_1()); - match(input,23,FOLLOW_2); - after(grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_6_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__GenerationTask__Group_3_6__1__Impl" - - - // $ANTLR start "rule__GenerationTask__Group_3_6__2" - // InternalApplicationConfiguration.g:7970:1: rule__GenerationTask__Group_3_6__2 : rule__GenerationTask__Group_3_6__2__Impl ; - public final void rule__GenerationTask__Group_3_6__2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:7974:1: ( rule__GenerationTask__Group_3_6__2__Impl ) - // InternalApplicationConfiguration.g:7975:2: rule__GenerationTask__Group_3_6__2__Impl - { - pushFollow(FOLLOW_2); - rule__GenerationTask__Group_3_6__2__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__GenerationTask__Group_3_6__2" - - - // $ANTLR start "rule__GenerationTask__Group_3_6__2__Impl" - // InternalApplicationConfiguration.g:7981:1: rule__GenerationTask__Group_3_6__2__Impl : ( ( rule__GenerationTask__SolverAssignment_3_6_2 ) ) ; - public final void rule__GenerationTask__Group_3_6__2__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:7985:1: ( ( ( rule__GenerationTask__SolverAssignment_3_6_2 ) ) ) - // InternalApplicationConfiguration.g:7986:1: ( ( rule__GenerationTask__SolverAssignment_3_6_2 ) ) - { - // InternalApplicationConfiguration.g:7986:1: ( ( rule__GenerationTask__SolverAssignment_3_6_2 ) ) - // InternalApplicationConfiguration.g:7987:2: ( rule__GenerationTask__SolverAssignment_3_6_2 ) - { - before(grammarAccess.getGenerationTaskAccess().getSolverAssignment_3_6_2()); - // InternalApplicationConfiguration.g:7988:2: ( rule__GenerationTask__SolverAssignment_3_6_2 ) - // InternalApplicationConfiguration.g:7988:3: rule__GenerationTask__SolverAssignment_3_6_2 - { - pushFollow(FOLLOW_2); - rule__GenerationTask__SolverAssignment_3_6_2(); - - state._fsp--; - - - } - - after(grammarAccess.getGenerationTaskAccess().getSolverAssignment_3_6_2()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__GenerationTask__Group_3_6__2__Impl" - - - // $ANTLR start "rule__GenerationTask__Group_3_7__0" - // InternalApplicationConfiguration.g:7997:1: rule__GenerationTask__Group_3_7__0 : rule__GenerationTask__Group_3_7__0__Impl rule__GenerationTask__Group_3_7__1 ; - public final void rule__GenerationTask__Group_3_7__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:8001:1: ( rule__GenerationTask__Group_3_7__0__Impl rule__GenerationTask__Group_3_7__1 ) - // InternalApplicationConfiguration.g:8002:2: rule__GenerationTask__Group_3_7__0__Impl rule__GenerationTask__Group_3_7__1 - { - pushFollow(FOLLOW_13); - rule__GenerationTask__Group_3_7__0__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__GenerationTask__Group_3_7__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__GenerationTask__Group_3_7__0" - - - // $ANTLR start "rule__GenerationTask__Group_3_7__0__Impl" - // InternalApplicationConfiguration.g:8009:1: rule__GenerationTask__Group_3_7__0__Impl : ( 'config' ) ; - public final void rule__GenerationTask__Group_3_7__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:8013:1: ( ( 'config' ) ) - // InternalApplicationConfiguration.g:8014:1: ( 'config' ) - { - // InternalApplicationConfiguration.g:8014:1: ( 'config' ) - // InternalApplicationConfiguration.g:8015:2: 'config' - { - before(grammarAccess.getGenerationTaskAccess().getConfigKeyword_3_7_0()); - match(input,34,FOLLOW_2); - after(grammarAccess.getGenerationTaskAccess().getConfigKeyword_3_7_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__GenerationTask__Group_3_7__0__Impl" - - - // $ANTLR start "rule__GenerationTask__Group_3_7__1" - // InternalApplicationConfiguration.g:8024:1: rule__GenerationTask__Group_3_7__1 : rule__GenerationTask__Group_3_7__1__Impl rule__GenerationTask__Group_3_7__2 ; - public final void rule__GenerationTask__Group_3_7__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:8028:1: ( rule__GenerationTask__Group_3_7__1__Impl rule__GenerationTask__Group_3_7__2 ) - // InternalApplicationConfiguration.g:8029:2: rule__GenerationTask__Group_3_7__1__Impl rule__GenerationTask__Group_3_7__2 - { - pushFollow(FOLLOW_43); - rule__GenerationTask__Group_3_7__1__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__GenerationTask__Group_3_7__2(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__GenerationTask__Group_3_7__1" - - - // $ANTLR start "rule__GenerationTask__Group_3_7__1__Impl" - // InternalApplicationConfiguration.g:8036:1: rule__GenerationTask__Group_3_7__1__Impl : ( '=' ) ; - public final void rule__GenerationTask__Group_3_7__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:8040:1: ( ( '=' ) ) - // InternalApplicationConfiguration.g:8041:1: ( '=' ) - { - // InternalApplicationConfiguration.g:8041:1: ( '=' ) - // InternalApplicationConfiguration.g:8042:2: '=' - { - before(grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_7_1()); - match(input,23,FOLLOW_2); - after(grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_7_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__GenerationTask__Group_3_7__1__Impl" - - - // $ANTLR start "rule__GenerationTask__Group_3_7__2" - // InternalApplicationConfiguration.g:8051:1: rule__GenerationTask__Group_3_7__2 : rule__GenerationTask__Group_3_7__2__Impl ; - public final void rule__GenerationTask__Group_3_7__2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:8055:1: ( rule__GenerationTask__Group_3_7__2__Impl ) - // InternalApplicationConfiguration.g:8056:2: rule__GenerationTask__Group_3_7__2__Impl - { - pushFollow(FOLLOW_2); - rule__GenerationTask__Group_3_7__2__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__GenerationTask__Group_3_7__2" - - - // $ANTLR start "rule__GenerationTask__Group_3_7__2__Impl" - // InternalApplicationConfiguration.g:8062:1: rule__GenerationTask__Group_3_7__2__Impl : ( ( rule__GenerationTask__ConfigAssignment_3_7_2 ) ) ; - public final void rule__GenerationTask__Group_3_7__2__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:8066:1: ( ( ( rule__GenerationTask__ConfigAssignment_3_7_2 ) ) ) - // InternalApplicationConfiguration.g:8067:1: ( ( rule__GenerationTask__ConfigAssignment_3_7_2 ) ) - { - // InternalApplicationConfiguration.g:8067:1: ( ( rule__GenerationTask__ConfigAssignment_3_7_2 ) ) - // InternalApplicationConfiguration.g:8068:2: ( rule__GenerationTask__ConfigAssignment_3_7_2 ) - { - before(grammarAccess.getGenerationTaskAccess().getConfigAssignment_3_7_2()); - // InternalApplicationConfiguration.g:8069:2: ( rule__GenerationTask__ConfigAssignment_3_7_2 ) - // InternalApplicationConfiguration.g:8069:3: rule__GenerationTask__ConfigAssignment_3_7_2 - { - pushFollow(FOLLOW_2); - rule__GenerationTask__ConfigAssignment_3_7_2(); - - state._fsp--; - - - } - - after(grammarAccess.getGenerationTaskAccess().getConfigAssignment_3_7_2()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__GenerationTask__Group_3_7__2__Impl" - - - // $ANTLR start "rule__GenerationTask__Group_3_8__0" - // InternalApplicationConfiguration.g:8078:1: rule__GenerationTask__Group_3_8__0 : rule__GenerationTask__Group_3_8__0__Impl rule__GenerationTask__Group_3_8__1 ; - public final void rule__GenerationTask__Group_3_8__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:8082:1: ( rule__GenerationTask__Group_3_8__0__Impl rule__GenerationTask__Group_3_8__1 ) - // InternalApplicationConfiguration.g:8083:2: rule__GenerationTask__Group_3_8__0__Impl rule__GenerationTask__Group_3_8__1 - { - pushFollow(FOLLOW_13); - rule__GenerationTask__Group_3_8__0__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__GenerationTask__Group_3_8__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__GenerationTask__Group_3_8__0" - - - // $ANTLR start "rule__GenerationTask__Group_3_8__0__Impl" - // InternalApplicationConfiguration.g:8090:1: rule__GenerationTask__Group_3_8__0__Impl : ( 'debug' ) ; - public final void rule__GenerationTask__Group_3_8__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:8094:1: ( ( 'debug' ) ) - // InternalApplicationConfiguration.g:8095:1: ( 'debug' ) - { - // InternalApplicationConfiguration.g:8095:1: ( 'debug' ) - // InternalApplicationConfiguration.g:8096:2: 'debug' - { - before(grammarAccess.getGenerationTaskAccess().getDebugKeyword_3_8_0()); - match(input,50,FOLLOW_2); - after(grammarAccess.getGenerationTaskAccess().getDebugKeyword_3_8_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__GenerationTask__Group_3_8__0__Impl" - - - // $ANTLR start "rule__GenerationTask__Group_3_8__1" - // InternalApplicationConfiguration.g:8105:1: rule__GenerationTask__Group_3_8__1 : rule__GenerationTask__Group_3_8__1__Impl rule__GenerationTask__Group_3_8__2 ; - public final void rule__GenerationTask__Group_3_8__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:8109:1: ( rule__GenerationTask__Group_3_8__1__Impl rule__GenerationTask__Group_3_8__2 ) - // InternalApplicationConfiguration.g:8110:2: rule__GenerationTask__Group_3_8__1__Impl rule__GenerationTask__Group_3_8__2 - { - pushFollow(FOLLOW_21); - rule__GenerationTask__Group_3_8__1__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__GenerationTask__Group_3_8__2(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__GenerationTask__Group_3_8__1" - - - // $ANTLR start "rule__GenerationTask__Group_3_8__1__Impl" - // InternalApplicationConfiguration.g:8117:1: rule__GenerationTask__Group_3_8__1__Impl : ( '=' ) ; - public final void rule__GenerationTask__Group_3_8__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:8121:1: ( ( '=' ) ) - // InternalApplicationConfiguration.g:8122:1: ( '=' ) - { - // InternalApplicationConfiguration.g:8122:1: ( '=' ) - // InternalApplicationConfiguration.g:8123:2: '=' - { - before(grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_8_1()); - match(input,23,FOLLOW_2); - after(grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_8_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__GenerationTask__Group_3_8__1__Impl" - - - // $ANTLR start "rule__GenerationTask__Group_3_8__2" - // InternalApplicationConfiguration.g:8132:1: rule__GenerationTask__Group_3_8__2 : rule__GenerationTask__Group_3_8__2__Impl ; - public final void rule__GenerationTask__Group_3_8__2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:8136:1: ( rule__GenerationTask__Group_3_8__2__Impl ) - // InternalApplicationConfiguration.g:8137:2: rule__GenerationTask__Group_3_8__2__Impl - { - pushFollow(FOLLOW_2); - rule__GenerationTask__Group_3_8__2__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__GenerationTask__Group_3_8__2" - - - // $ANTLR start "rule__GenerationTask__Group_3_8__2__Impl" - // InternalApplicationConfiguration.g:8143:1: rule__GenerationTask__Group_3_8__2__Impl : ( ( rule__GenerationTask__DebugFolderAssignment_3_8_2 ) ) ; - public final void rule__GenerationTask__Group_3_8__2__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:8147:1: ( ( ( rule__GenerationTask__DebugFolderAssignment_3_8_2 ) ) ) - // InternalApplicationConfiguration.g:8148:1: ( ( rule__GenerationTask__DebugFolderAssignment_3_8_2 ) ) - { - // InternalApplicationConfiguration.g:8148:1: ( ( rule__GenerationTask__DebugFolderAssignment_3_8_2 ) ) - // InternalApplicationConfiguration.g:8149:2: ( rule__GenerationTask__DebugFolderAssignment_3_8_2 ) - { - before(grammarAccess.getGenerationTaskAccess().getDebugFolderAssignment_3_8_2()); - // InternalApplicationConfiguration.g:8150:2: ( rule__GenerationTask__DebugFolderAssignment_3_8_2 ) - // InternalApplicationConfiguration.g:8150:3: rule__GenerationTask__DebugFolderAssignment_3_8_2 - { - pushFollow(FOLLOW_2); - rule__GenerationTask__DebugFolderAssignment_3_8_2(); - - state._fsp--; - - - } - - after(grammarAccess.getGenerationTaskAccess().getDebugFolderAssignment_3_8_2()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__GenerationTask__Group_3_8__2__Impl" - - - // $ANTLR start "rule__GenerationTask__Group_3_9__0" - // InternalApplicationConfiguration.g:8159:1: rule__GenerationTask__Group_3_9__0 : rule__GenerationTask__Group_3_9__0__Impl rule__GenerationTask__Group_3_9__1 ; - public final void rule__GenerationTask__Group_3_9__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:8163:1: ( rule__GenerationTask__Group_3_9__0__Impl rule__GenerationTask__Group_3_9__1 ) - // InternalApplicationConfiguration.g:8164:2: rule__GenerationTask__Group_3_9__0__Impl rule__GenerationTask__Group_3_9__1 - { - pushFollow(FOLLOW_13); - rule__GenerationTask__Group_3_9__0__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__GenerationTask__Group_3_9__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__GenerationTask__Group_3_9__0" - - - // $ANTLR start "rule__GenerationTask__Group_3_9__0__Impl" - // InternalApplicationConfiguration.g:8171:1: rule__GenerationTask__Group_3_9__0__Impl : ( 'log' ) ; - public final void rule__GenerationTask__Group_3_9__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:8175:1: ( ( 'log' ) ) - // InternalApplicationConfiguration.g:8176:1: ( 'log' ) - { - // InternalApplicationConfiguration.g:8176:1: ( 'log' ) - // InternalApplicationConfiguration.g:8177:2: 'log' - { - before(grammarAccess.getGenerationTaskAccess().getLogKeyword_3_9_0()); - match(input,51,FOLLOW_2); - after(grammarAccess.getGenerationTaskAccess().getLogKeyword_3_9_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__GenerationTask__Group_3_9__0__Impl" - - - // $ANTLR start "rule__GenerationTask__Group_3_9__1" - // InternalApplicationConfiguration.g:8186:1: rule__GenerationTask__Group_3_9__1 : rule__GenerationTask__Group_3_9__1__Impl rule__GenerationTask__Group_3_9__2 ; - public final void rule__GenerationTask__Group_3_9__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:8190:1: ( rule__GenerationTask__Group_3_9__1__Impl rule__GenerationTask__Group_3_9__2 ) - // InternalApplicationConfiguration.g:8191:2: rule__GenerationTask__Group_3_9__1__Impl rule__GenerationTask__Group_3_9__2 - { - pushFollow(FOLLOW_21); - rule__GenerationTask__Group_3_9__1__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__GenerationTask__Group_3_9__2(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__GenerationTask__Group_3_9__1" - - - // $ANTLR start "rule__GenerationTask__Group_3_9__1__Impl" - // InternalApplicationConfiguration.g:8198:1: rule__GenerationTask__Group_3_9__1__Impl : ( '=' ) ; - public final void rule__GenerationTask__Group_3_9__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:8202:1: ( ( '=' ) ) - // InternalApplicationConfiguration.g:8203:1: ( '=' ) - { - // InternalApplicationConfiguration.g:8203:1: ( '=' ) - // InternalApplicationConfiguration.g:8204:2: '=' - { - before(grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_9_1()); - match(input,23,FOLLOW_2); - after(grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_9_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__GenerationTask__Group_3_9__1__Impl" - - - // $ANTLR start "rule__GenerationTask__Group_3_9__2" - // InternalApplicationConfiguration.g:8213:1: rule__GenerationTask__Group_3_9__2 : rule__GenerationTask__Group_3_9__2__Impl ; - public final void rule__GenerationTask__Group_3_9__2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:8217:1: ( rule__GenerationTask__Group_3_9__2__Impl ) - // InternalApplicationConfiguration.g:8218:2: rule__GenerationTask__Group_3_9__2__Impl - { - pushFollow(FOLLOW_2); - rule__GenerationTask__Group_3_9__2__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__GenerationTask__Group_3_9__2" - - - // $ANTLR start "rule__GenerationTask__Group_3_9__2__Impl" - // InternalApplicationConfiguration.g:8224:1: rule__GenerationTask__Group_3_9__2__Impl : ( ( rule__GenerationTask__TargetLogFileAssignment_3_9_2 ) ) ; - public final void rule__GenerationTask__Group_3_9__2__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:8228:1: ( ( ( rule__GenerationTask__TargetLogFileAssignment_3_9_2 ) ) ) - // InternalApplicationConfiguration.g:8229:1: ( ( rule__GenerationTask__TargetLogFileAssignment_3_9_2 ) ) - { - // InternalApplicationConfiguration.g:8229:1: ( ( rule__GenerationTask__TargetLogFileAssignment_3_9_2 ) ) - // InternalApplicationConfiguration.g:8230:2: ( rule__GenerationTask__TargetLogFileAssignment_3_9_2 ) - { - before(grammarAccess.getGenerationTaskAccess().getTargetLogFileAssignment_3_9_2()); - // InternalApplicationConfiguration.g:8231:2: ( rule__GenerationTask__TargetLogFileAssignment_3_9_2 ) - // InternalApplicationConfiguration.g:8231:3: rule__GenerationTask__TargetLogFileAssignment_3_9_2 - { - pushFollow(FOLLOW_2); - rule__GenerationTask__TargetLogFileAssignment_3_9_2(); - - state._fsp--; - - - } - - after(grammarAccess.getGenerationTaskAccess().getTargetLogFileAssignment_3_9_2()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__GenerationTask__Group_3_9__2__Impl" - - - // $ANTLR start "rule__GenerationTask__Group_3_10__0" - // InternalApplicationConfiguration.g:8240:1: rule__GenerationTask__Group_3_10__0 : rule__GenerationTask__Group_3_10__0__Impl rule__GenerationTask__Group_3_10__1 ; - public final void rule__GenerationTask__Group_3_10__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:8244:1: ( rule__GenerationTask__Group_3_10__0__Impl rule__GenerationTask__Group_3_10__1 ) - // InternalApplicationConfiguration.g:8245:2: rule__GenerationTask__Group_3_10__0__Impl rule__GenerationTask__Group_3_10__1 - { - pushFollow(FOLLOW_13); - rule__GenerationTask__Group_3_10__0__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__GenerationTask__Group_3_10__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__GenerationTask__Group_3_10__0" - - - // $ANTLR start "rule__GenerationTask__Group_3_10__0__Impl" - // InternalApplicationConfiguration.g:8252:1: rule__GenerationTask__Group_3_10__0__Impl : ( 'statistics' ) ; - public final void rule__GenerationTask__Group_3_10__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:8256:1: ( ( 'statistics' ) ) - // InternalApplicationConfiguration.g:8257:1: ( 'statistics' ) - { - // InternalApplicationConfiguration.g:8257:1: ( 'statistics' ) - // InternalApplicationConfiguration.g:8258:2: 'statistics' - { - before(grammarAccess.getGenerationTaskAccess().getStatisticsKeyword_3_10_0()); - match(input,52,FOLLOW_2); - after(grammarAccess.getGenerationTaskAccess().getStatisticsKeyword_3_10_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__GenerationTask__Group_3_10__0__Impl" - - - // $ANTLR start "rule__GenerationTask__Group_3_10__1" - // InternalApplicationConfiguration.g:8267:1: rule__GenerationTask__Group_3_10__1 : rule__GenerationTask__Group_3_10__1__Impl rule__GenerationTask__Group_3_10__2 ; - public final void rule__GenerationTask__Group_3_10__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:8271:1: ( rule__GenerationTask__Group_3_10__1__Impl rule__GenerationTask__Group_3_10__2 ) - // InternalApplicationConfiguration.g:8272:2: rule__GenerationTask__Group_3_10__1__Impl rule__GenerationTask__Group_3_10__2 - { - pushFollow(FOLLOW_21); - rule__GenerationTask__Group_3_10__1__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__GenerationTask__Group_3_10__2(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__GenerationTask__Group_3_10__1" - - - // $ANTLR start "rule__GenerationTask__Group_3_10__1__Impl" - // InternalApplicationConfiguration.g:8279:1: rule__GenerationTask__Group_3_10__1__Impl : ( '=' ) ; - public final void rule__GenerationTask__Group_3_10__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:8283:1: ( ( '=' ) ) - // InternalApplicationConfiguration.g:8284:1: ( '=' ) - { - // InternalApplicationConfiguration.g:8284:1: ( '=' ) - // InternalApplicationConfiguration.g:8285:2: '=' - { - before(grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_10_1()); - match(input,23,FOLLOW_2); - after(grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_10_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__GenerationTask__Group_3_10__1__Impl" - - - // $ANTLR start "rule__GenerationTask__Group_3_10__2" - // InternalApplicationConfiguration.g:8294:1: rule__GenerationTask__Group_3_10__2 : rule__GenerationTask__Group_3_10__2__Impl ; - public final void rule__GenerationTask__Group_3_10__2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:8298:1: ( rule__GenerationTask__Group_3_10__2__Impl ) - // InternalApplicationConfiguration.g:8299:2: rule__GenerationTask__Group_3_10__2__Impl - { - pushFollow(FOLLOW_2); - rule__GenerationTask__Group_3_10__2__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__GenerationTask__Group_3_10__2" - - - // $ANTLR start "rule__GenerationTask__Group_3_10__2__Impl" - // InternalApplicationConfiguration.g:8305:1: rule__GenerationTask__Group_3_10__2__Impl : ( ( rule__GenerationTask__TargetStatisticsFileAssignment_3_10_2 ) ) ; - public final void rule__GenerationTask__Group_3_10__2__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:8309:1: ( ( ( rule__GenerationTask__TargetStatisticsFileAssignment_3_10_2 ) ) ) - // InternalApplicationConfiguration.g:8310:1: ( ( rule__GenerationTask__TargetStatisticsFileAssignment_3_10_2 ) ) - { - // InternalApplicationConfiguration.g:8310:1: ( ( rule__GenerationTask__TargetStatisticsFileAssignment_3_10_2 ) ) - // InternalApplicationConfiguration.g:8311:2: ( rule__GenerationTask__TargetStatisticsFileAssignment_3_10_2 ) - { - before(grammarAccess.getGenerationTaskAccess().getTargetStatisticsFileAssignment_3_10_2()); - // InternalApplicationConfiguration.g:8312:2: ( rule__GenerationTask__TargetStatisticsFileAssignment_3_10_2 ) - // InternalApplicationConfiguration.g:8312:3: rule__GenerationTask__TargetStatisticsFileAssignment_3_10_2 - { - pushFollow(FOLLOW_2); - rule__GenerationTask__TargetStatisticsFileAssignment_3_10_2(); - - state._fsp--; - - - } - - after(grammarAccess.getGenerationTaskAccess().getTargetStatisticsFileAssignment_3_10_2()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__GenerationTask__Group_3_10__2__Impl" - - - // $ANTLR start "rule__GenerationTask__Group_3_11__0" - // InternalApplicationConfiguration.g:8321:1: rule__GenerationTask__Group_3_11__0 : rule__GenerationTask__Group_3_11__0__Impl rule__GenerationTask__Group_3_11__1 ; - public final void rule__GenerationTask__Group_3_11__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:8325:1: ( rule__GenerationTask__Group_3_11__0__Impl rule__GenerationTask__Group_3_11__1 ) - // InternalApplicationConfiguration.g:8326:2: rule__GenerationTask__Group_3_11__0__Impl rule__GenerationTask__Group_3_11__1 - { - pushFollow(FOLLOW_13); - rule__GenerationTask__Group_3_11__0__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__GenerationTask__Group_3_11__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__GenerationTask__Group_3_11__0" - - - // $ANTLR start "rule__GenerationTask__Group_3_11__0__Impl" - // InternalApplicationConfiguration.g:8333:1: rule__GenerationTask__Group_3_11__0__Impl : ( 'output' ) ; - public final void rule__GenerationTask__Group_3_11__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:8337:1: ( ( 'output' ) ) - // InternalApplicationConfiguration.g:8338:1: ( 'output' ) - { - // InternalApplicationConfiguration.g:8338:1: ( 'output' ) - // InternalApplicationConfiguration.g:8339:2: 'output' - { - before(grammarAccess.getGenerationTaskAccess().getOutputKeyword_3_11_0()); - match(input,53,FOLLOW_2); - after(grammarAccess.getGenerationTaskAccess().getOutputKeyword_3_11_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__GenerationTask__Group_3_11__0__Impl" - - - // $ANTLR start "rule__GenerationTask__Group_3_11__1" - // InternalApplicationConfiguration.g:8348:1: rule__GenerationTask__Group_3_11__1 : rule__GenerationTask__Group_3_11__1__Impl rule__GenerationTask__Group_3_11__2 ; - public final void rule__GenerationTask__Group_3_11__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:8352:1: ( rule__GenerationTask__Group_3_11__1__Impl rule__GenerationTask__Group_3_11__2 ) - // InternalApplicationConfiguration.g:8353:2: rule__GenerationTask__Group_3_11__1__Impl rule__GenerationTask__Group_3_11__2 - { - pushFollow(FOLLOW_21); - rule__GenerationTask__Group_3_11__1__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__GenerationTask__Group_3_11__2(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__GenerationTask__Group_3_11__1" - - - // $ANTLR start "rule__GenerationTask__Group_3_11__1__Impl" - // InternalApplicationConfiguration.g:8360:1: rule__GenerationTask__Group_3_11__1__Impl : ( '=' ) ; - public final void rule__GenerationTask__Group_3_11__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:8364:1: ( ( '=' ) ) - // InternalApplicationConfiguration.g:8365:1: ( '=' ) - { - // InternalApplicationConfiguration.g:8365:1: ( '=' ) - // InternalApplicationConfiguration.g:8366:2: '=' - { - before(grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_11_1()); - match(input,23,FOLLOW_2); - after(grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_11_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__GenerationTask__Group_3_11__1__Impl" - - - // $ANTLR start "rule__GenerationTask__Group_3_11__2" - // InternalApplicationConfiguration.g:8375:1: rule__GenerationTask__Group_3_11__2 : rule__GenerationTask__Group_3_11__2__Impl ; - public final void rule__GenerationTask__Group_3_11__2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:8379:1: ( rule__GenerationTask__Group_3_11__2__Impl ) - // InternalApplicationConfiguration.g:8380:2: rule__GenerationTask__Group_3_11__2__Impl - { - pushFollow(FOLLOW_2); - rule__GenerationTask__Group_3_11__2__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__GenerationTask__Group_3_11__2" - - - // $ANTLR start "rule__GenerationTask__Group_3_11__2__Impl" - // InternalApplicationConfiguration.g:8386:1: rule__GenerationTask__Group_3_11__2__Impl : ( ( rule__GenerationTask__TagetFolderAssignment_3_11_2 ) ) ; - public final void rule__GenerationTask__Group_3_11__2__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:8390:1: ( ( ( rule__GenerationTask__TagetFolderAssignment_3_11_2 ) ) ) - // InternalApplicationConfiguration.g:8391:1: ( ( rule__GenerationTask__TagetFolderAssignment_3_11_2 ) ) - { - // InternalApplicationConfiguration.g:8391:1: ( ( rule__GenerationTask__TagetFolderAssignment_3_11_2 ) ) - // InternalApplicationConfiguration.g:8392:2: ( rule__GenerationTask__TagetFolderAssignment_3_11_2 ) - { - before(grammarAccess.getGenerationTaskAccess().getTagetFolderAssignment_3_11_2()); - // InternalApplicationConfiguration.g:8393:2: ( rule__GenerationTask__TagetFolderAssignment_3_11_2 ) - // InternalApplicationConfiguration.g:8393:3: rule__GenerationTask__TagetFolderAssignment_3_11_2 - { - pushFollow(FOLLOW_2); - rule__GenerationTask__TagetFolderAssignment_3_11_2(); - - state._fsp--; - - - } - - after(grammarAccess.getGenerationTaskAccess().getTagetFolderAssignment_3_11_2()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__GenerationTask__Group_3_11__2__Impl" - - - // $ANTLR start "rule__GenerationTask__UnorderedGroup_3" - // InternalApplicationConfiguration.g:8402:1: rule__GenerationTask__UnorderedGroup_3 : ( rule__GenerationTask__UnorderedGroup_3__0 )? ; - public final void rule__GenerationTask__UnorderedGroup_3() throws RecognitionException { - - int stackSize = keepStackSize(); - getUnorderedGroupHelper().enter(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); - - try { - // InternalApplicationConfiguration.g:8407:1: ( ( rule__GenerationTask__UnorderedGroup_3__0 )? ) - // InternalApplicationConfiguration.g:8408:2: ( rule__GenerationTask__UnorderedGroup_3__0 )? - { - // InternalApplicationConfiguration.g:8408:2: ( rule__GenerationTask__UnorderedGroup_3__0 )? - int alt56=2; - alt56 = dfa56.predict(input); - switch (alt56) { - case 1 : - // InternalApplicationConfiguration.g:8408:2: rule__GenerationTask__UnorderedGroup_3__0 - { - pushFollow(FOLLOW_2); - rule__GenerationTask__UnorderedGroup_3__0(); - - state._fsp--; - - - } - break; - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - getUnorderedGroupHelper().leave(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__GenerationTask__UnorderedGroup_3" - - - // $ANTLR start "rule__GenerationTask__UnorderedGroup_3__Impl" - // InternalApplicationConfiguration.g:8416:1: rule__GenerationTask__UnorderedGroup_3__Impl : ( ({...}? => ( ( ( rule__GenerationTask__Group_3_0__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_1__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_2__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_3__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_4__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_5__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_6__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_7__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_8__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_9__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_10__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_11__0 ) ) ) ) ) ; - public final void rule__GenerationTask__UnorderedGroup_3__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - boolean selected = false; - - try { - // InternalApplicationConfiguration.g:8421:1: ( ( ({...}? => ( ( ( rule__GenerationTask__Group_3_0__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_1__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_2__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_3__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_4__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_5__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_6__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_7__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_8__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_9__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_10__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_11__0 ) ) ) ) ) ) - // InternalApplicationConfiguration.g:8422:3: ( ({...}? => ( ( ( rule__GenerationTask__Group_3_0__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_1__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_2__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_3__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_4__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_5__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_6__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_7__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_8__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_9__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_10__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_11__0 ) ) ) ) ) - { - // InternalApplicationConfiguration.g:8422:3: ( ({...}? => ( ( ( rule__GenerationTask__Group_3_0__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_1__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_2__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_3__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_4__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_5__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_6__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_7__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_8__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_9__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_10__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_11__0 ) ) ) ) ) - int alt57=12; - alt57 = dfa57.predict(input); - switch (alt57) { - case 1 : - // InternalApplicationConfiguration.g:8423:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_0__0 ) ) ) ) - { - // InternalApplicationConfiguration.g:8423:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_0__0 ) ) ) ) - // InternalApplicationConfiguration.g:8424:4: {...}? => ( ( ( rule__GenerationTask__Group_3_0__0 ) ) ) - { - if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0) ) { - throw new FailedPredicateException(input, "rule__GenerationTask__UnorderedGroup_3__Impl", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0)"); - } - // InternalApplicationConfiguration.g:8424:110: ( ( ( rule__GenerationTask__Group_3_0__0 ) ) ) - // InternalApplicationConfiguration.g:8425:5: ( ( rule__GenerationTask__Group_3_0__0 ) ) - { - - getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0); - - - selected = true; - - // InternalApplicationConfiguration.g:8431:5: ( ( rule__GenerationTask__Group_3_0__0 ) ) - // InternalApplicationConfiguration.g:8432:6: ( rule__GenerationTask__Group_3_0__0 ) - { - before(grammarAccess.getGenerationTaskAccess().getGroup_3_0()); - // InternalApplicationConfiguration.g:8433:6: ( rule__GenerationTask__Group_3_0__0 ) - // InternalApplicationConfiguration.g:8433:7: rule__GenerationTask__Group_3_0__0 - { - pushFollow(FOLLOW_2); - rule__GenerationTask__Group_3_0__0(); - - state._fsp--; - - - } - - after(grammarAccess.getGenerationTaskAccess().getGroup_3_0()); - - } - - - } - - - } - - - } - break; - case 2 : - // InternalApplicationConfiguration.g:8438:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_1__0 ) ) ) ) - { - // InternalApplicationConfiguration.g:8438:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_1__0 ) ) ) ) - // InternalApplicationConfiguration.g:8439:4: {...}? => ( ( ( rule__GenerationTask__Group_3_1__0 ) ) ) - { - if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1) ) { - throw new FailedPredicateException(input, "rule__GenerationTask__UnorderedGroup_3__Impl", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1)"); - } - // InternalApplicationConfiguration.g:8439:110: ( ( ( rule__GenerationTask__Group_3_1__0 ) ) ) - // InternalApplicationConfiguration.g:8440:5: ( ( rule__GenerationTask__Group_3_1__0 ) ) - { - - getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1); - - - selected = true; - - // InternalApplicationConfiguration.g:8446:5: ( ( rule__GenerationTask__Group_3_1__0 ) ) - // InternalApplicationConfiguration.g:8447:6: ( rule__GenerationTask__Group_3_1__0 ) - { - before(grammarAccess.getGenerationTaskAccess().getGroup_3_1()); - // InternalApplicationConfiguration.g:8448:6: ( rule__GenerationTask__Group_3_1__0 ) - // InternalApplicationConfiguration.g:8448:7: rule__GenerationTask__Group_3_1__0 - { - pushFollow(FOLLOW_2); - rule__GenerationTask__Group_3_1__0(); - - state._fsp--; - - - } - - after(grammarAccess.getGenerationTaskAccess().getGroup_3_1()); - - } - - - } - - - } - - - } - break; - case 3 : - // InternalApplicationConfiguration.g:8453:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_2__0 ) ) ) ) - { - // InternalApplicationConfiguration.g:8453:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_2__0 ) ) ) ) - // InternalApplicationConfiguration.g:8454:4: {...}? => ( ( ( rule__GenerationTask__Group_3_2__0 ) ) ) - { - if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2) ) { - throw new FailedPredicateException(input, "rule__GenerationTask__UnorderedGroup_3__Impl", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2)"); - } - // InternalApplicationConfiguration.g:8454:110: ( ( ( rule__GenerationTask__Group_3_2__0 ) ) ) - // InternalApplicationConfiguration.g:8455:5: ( ( rule__GenerationTask__Group_3_2__0 ) ) - { - - getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2); - - - selected = true; - - // InternalApplicationConfiguration.g:8461:5: ( ( rule__GenerationTask__Group_3_2__0 ) ) - // InternalApplicationConfiguration.g:8462:6: ( rule__GenerationTask__Group_3_2__0 ) - { - before(grammarAccess.getGenerationTaskAccess().getGroup_3_2()); - // InternalApplicationConfiguration.g:8463:6: ( rule__GenerationTask__Group_3_2__0 ) - // InternalApplicationConfiguration.g:8463:7: rule__GenerationTask__Group_3_2__0 - { - pushFollow(FOLLOW_2); - rule__GenerationTask__Group_3_2__0(); - - state._fsp--; - - - } - - after(grammarAccess.getGenerationTaskAccess().getGroup_3_2()); - - } - - - } - - - } - - - } - break; - case 4 : - // InternalApplicationConfiguration.g:8468:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_3__0 ) ) ) ) - { - // InternalApplicationConfiguration.g:8468:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_3__0 ) ) ) ) - // InternalApplicationConfiguration.g:8469:4: {...}? => ( ( ( rule__GenerationTask__Group_3_3__0 ) ) ) - { - if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3) ) { - throw new FailedPredicateException(input, "rule__GenerationTask__UnorderedGroup_3__Impl", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3)"); - } - // InternalApplicationConfiguration.g:8469:110: ( ( ( rule__GenerationTask__Group_3_3__0 ) ) ) - // InternalApplicationConfiguration.g:8470:5: ( ( rule__GenerationTask__Group_3_3__0 ) ) - { - - getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3); - - - selected = true; - - // InternalApplicationConfiguration.g:8476:5: ( ( rule__GenerationTask__Group_3_3__0 ) ) - // InternalApplicationConfiguration.g:8477:6: ( rule__GenerationTask__Group_3_3__0 ) - { - before(grammarAccess.getGenerationTaskAccess().getGroup_3_3()); - // InternalApplicationConfiguration.g:8478:6: ( rule__GenerationTask__Group_3_3__0 ) - // InternalApplicationConfiguration.g:8478:7: rule__GenerationTask__Group_3_3__0 - { - pushFollow(FOLLOW_2); - rule__GenerationTask__Group_3_3__0(); - - state._fsp--; - - - } - - after(grammarAccess.getGenerationTaskAccess().getGroup_3_3()); - - } - - - } - - - } - - - } - break; - case 5 : - // InternalApplicationConfiguration.g:8483:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_4__0 ) ) ) ) - { - // InternalApplicationConfiguration.g:8483:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_4__0 ) ) ) ) - // InternalApplicationConfiguration.g:8484:4: {...}? => ( ( ( rule__GenerationTask__Group_3_4__0 ) ) ) - { - if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4) ) { - throw new FailedPredicateException(input, "rule__GenerationTask__UnorderedGroup_3__Impl", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4)"); - } - // InternalApplicationConfiguration.g:8484:110: ( ( ( rule__GenerationTask__Group_3_4__0 ) ) ) - // InternalApplicationConfiguration.g:8485:5: ( ( rule__GenerationTask__Group_3_4__0 ) ) - { - - getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4); - - - selected = true; - - // InternalApplicationConfiguration.g:8491:5: ( ( rule__GenerationTask__Group_3_4__0 ) ) - // InternalApplicationConfiguration.g:8492:6: ( rule__GenerationTask__Group_3_4__0 ) - { - before(grammarAccess.getGenerationTaskAccess().getGroup_3_4()); - // InternalApplicationConfiguration.g:8493:6: ( rule__GenerationTask__Group_3_4__0 ) - // InternalApplicationConfiguration.g:8493:7: rule__GenerationTask__Group_3_4__0 - { - pushFollow(FOLLOW_2); - rule__GenerationTask__Group_3_4__0(); - - state._fsp--; - - - } - - after(grammarAccess.getGenerationTaskAccess().getGroup_3_4()); - - } - - - } - - - } - - - } - break; - case 6 : - // InternalApplicationConfiguration.g:8498:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_5__0 ) ) ) ) - { - // InternalApplicationConfiguration.g:8498:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_5__0 ) ) ) ) - // InternalApplicationConfiguration.g:8499:4: {...}? => ( ( ( rule__GenerationTask__Group_3_5__0 ) ) ) - { - if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5) ) { - throw new FailedPredicateException(input, "rule__GenerationTask__UnorderedGroup_3__Impl", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5)"); - } - // InternalApplicationConfiguration.g:8499:110: ( ( ( rule__GenerationTask__Group_3_5__0 ) ) ) - // InternalApplicationConfiguration.g:8500:5: ( ( rule__GenerationTask__Group_3_5__0 ) ) - { - - getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5); - - - selected = true; - - // InternalApplicationConfiguration.g:8506:5: ( ( rule__GenerationTask__Group_3_5__0 ) ) - // InternalApplicationConfiguration.g:8507:6: ( rule__GenerationTask__Group_3_5__0 ) - { - before(grammarAccess.getGenerationTaskAccess().getGroup_3_5()); - // InternalApplicationConfiguration.g:8508:6: ( rule__GenerationTask__Group_3_5__0 ) - // InternalApplicationConfiguration.g:8508:7: rule__GenerationTask__Group_3_5__0 - { - pushFollow(FOLLOW_2); - rule__GenerationTask__Group_3_5__0(); - - state._fsp--; - - - } - - after(grammarAccess.getGenerationTaskAccess().getGroup_3_5()); - - } - - - } - - - } - - - } - break; - case 7 : - // InternalApplicationConfiguration.g:8513:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_6__0 ) ) ) ) - { - // InternalApplicationConfiguration.g:8513:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_6__0 ) ) ) ) - // InternalApplicationConfiguration.g:8514:4: {...}? => ( ( ( rule__GenerationTask__Group_3_6__0 ) ) ) - { - if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6) ) { - throw new FailedPredicateException(input, "rule__GenerationTask__UnorderedGroup_3__Impl", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6)"); - } - // InternalApplicationConfiguration.g:8514:110: ( ( ( rule__GenerationTask__Group_3_6__0 ) ) ) - // InternalApplicationConfiguration.g:8515:5: ( ( rule__GenerationTask__Group_3_6__0 ) ) - { - - getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6); - - - selected = true; - - // InternalApplicationConfiguration.g:8521:5: ( ( rule__GenerationTask__Group_3_6__0 ) ) - // InternalApplicationConfiguration.g:8522:6: ( rule__GenerationTask__Group_3_6__0 ) - { - before(grammarAccess.getGenerationTaskAccess().getGroup_3_6()); - // InternalApplicationConfiguration.g:8523:6: ( rule__GenerationTask__Group_3_6__0 ) - // InternalApplicationConfiguration.g:8523:7: rule__GenerationTask__Group_3_6__0 - { - pushFollow(FOLLOW_2); - rule__GenerationTask__Group_3_6__0(); - - state._fsp--; - - - } - - after(grammarAccess.getGenerationTaskAccess().getGroup_3_6()); - - } - - - } - - - } - - - } - break; - case 8 : - // InternalApplicationConfiguration.g:8528:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_7__0 ) ) ) ) - { - // InternalApplicationConfiguration.g:8528:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_7__0 ) ) ) ) - // InternalApplicationConfiguration.g:8529:4: {...}? => ( ( ( rule__GenerationTask__Group_3_7__0 ) ) ) - { - if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7) ) { - throw new FailedPredicateException(input, "rule__GenerationTask__UnorderedGroup_3__Impl", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7)"); - } - // InternalApplicationConfiguration.g:8529:110: ( ( ( rule__GenerationTask__Group_3_7__0 ) ) ) - // InternalApplicationConfiguration.g:8530:5: ( ( rule__GenerationTask__Group_3_7__0 ) ) - { - - getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7); - - - selected = true; - - // InternalApplicationConfiguration.g:8536:5: ( ( rule__GenerationTask__Group_3_7__0 ) ) - // InternalApplicationConfiguration.g:8537:6: ( rule__GenerationTask__Group_3_7__0 ) - { - before(grammarAccess.getGenerationTaskAccess().getGroup_3_7()); - // InternalApplicationConfiguration.g:8538:6: ( rule__GenerationTask__Group_3_7__0 ) - // InternalApplicationConfiguration.g:8538:7: rule__GenerationTask__Group_3_7__0 - { - pushFollow(FOLLOW_2); - rule__GenerationTask__Group_3_7__0(); - - state._fsp--; - - - } - - after(grammarAccess.getGenerationTaskAccess().getGroup_3_7()); - - } - - - } - - - } - - - } - break; - case 9 : - // InternalApplicationConfiguration.g:8543:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_8__0 ) ) ) ) - { - // InternalApplicationConfiguration.g:8543:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_8__0 ) ) ) ) - // InternalApplicationConfiguration.g:8544:4: {...}? => ( ( ( rule__GenerationTask__Group_3_8__0 ) ) ) - { - if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8) ) { - throw new FailedPredicateException(input, "rule__GenerationTask__UnorderedGroup_3__Impl", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8)"); - } - // InternalApplicationConfiguration.g:8544:110: ( ( ( rule__GenerationTask__Group_3_8__0 ) ) ) - // InternalApplicationConfiguration.g:8545:5: ( ( rule__GenerationTask__Group_3_8__0 ) ) - { - - getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8); - - - selected = true; - - // InternalApplicationConfiguration.g:8551:5: ( ( rule__GenerationTask__Group_3_8__0 ) ) - // InternalApplicationConfiguration.g:8552:6: ( rule__GenerationTask__Group_3_8__0 ) - { - before(grammarAccess.getGenerationTaskAccess().getGroup_3_8()); - // InternalApplicationConfiguration.g:8553:6: ( rule__GenerationTask__Group_3_8__0 ) - // InternalApplicationConfiguration.g:8553:7: rule__GenerationTask__Group_3_8__0 - { - pushFollow(FOLLOW_2); - rule__GenerationTask__Group_3_8__0(); - - state._fsp--; - - - } - - after(grammarAccess.getGenerationTaskAccess().getGroup_3_8()); - - } - - - } - - - } - - - } - break; - case 10 : - // InternalApplicationConfiguration.g:8558:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_9__0 ) ) ) ) - { - // InternalApplicationConfiguration.g:8558:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_9__0 ) ) ) ) - // InternalApplicationConfiguration.g:8559:4: {...}? => ( ( ( rule__GenerationTask__Group_3_9__0 ) ) ) - { - if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9) ) { - throw new FailedPredicateException(input, "rule__GenerationTask__UnorderedGroup_3__Impl", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9)"); - } - // InternalApplicationConfiguration.g:8559:110: ( ( ( rule__GenerationTask__Group_3_9__0 ) ) ) - // InternalApplicationConfiguration.g:8560:5: ( ( rule__GenerationTask__Group_3_9__0 ) ) - { - - getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9); - - - selected = true; - - // InternalApplicationConfiguration.g:8566:5: ( ( rule__GenerationTask__Group_3_9__0 ) ) - // InternalApplicationConfiguration.g:8567:6: ( rule__GenerationTask__Group_3_9__0 ) - { - before(grammarAccess.getGenerationTaskAccess().getGroup_3_9()); - // InternalApplicationConfiguration.g:8568:6: ( rule__GenerationTask__Group_3_9__0 ) - // InternalApplicationConfiguration.g:8568:7: rule__GenerationTask__Group_3_9__0 - { - pushFollow(FOLLOW_2); - rule__GenerationTask__Group_3_9__0(); - - state._fsp--; - - - } - - after(grammarAccess.getGenerationTaskAccess().getGroup_3_9()); - - } - - - } - - - } - - - } - break; - case 11 : - // InternalApplicationConfiguration.g:8573:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_10__0 ) ) ) ) - { - // InternalApplicationConfiguration.g:8573:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_10__0 ) ) ) ) - // InternalApplicationConfiguration.g:8574:4: {...}? => ( ( ( rule__GenerationTask__Group_3_10__0 ) ) ) - { - if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10) ) { - throw new FailedPredicateException(input, "rule__GenerationTask__UnorderedGroup_3__Impl", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10)"); - } - // InternalApplicationConfiguration.g:8574:111: ( ( ( rule__GenerationTask__Group_3_10__0 ) ) ) - // InternalApplicationConfiguration.g:8575:5: ( ( rule__GenerationTask__Group_3_10__0 ) ) - { - - getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10); - - - selected = true; - - // InternalApplicationConfiguration.g:8581:5: ( ( rule__GenerationTask__Group_3_10__0 ) ) - // InternalApplicationConfiguration.g:8582:6: ( rule__GenerationTask__Group_3_10__0 ) - { - before(grammarAccess.getGenerationTaskAccess().getGroup_3_10()); - // InternalApplicationConfiguration.g:8583:6: ( rule__GenerationTask__Group_3_10__0 ) - // InternalApplicationConfiguration.g:8583:7: rule__GenerationTask__Group_3_10__0 - { - pushFollow(FOLLOW_2); - rule__GenerationTask__Group_3_10__0(); - - state._fsp--; - - - } - - after(grammarAccess.getGenerationTaskAccess().getGroup_3_10()); - - } - - - } - - - } - - - } - break; - case 12 : - // InternalApplicationConfiguration.g:8588:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_11__0 ) ) ) ) - { - // InternalApplicationConfiguration.g:8588:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_11__0 ) ) ) ) - // InternalApplicationConfiguration.g:8589:4: {...}? => ( ( ( rule__GenerationTask__Group_3_11__0 ) ) ) - { - if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11) ) { - throw new FailedPredicateException(input, "rule__GenerationTask__UnorderedGroup_3__Impl", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11)"); - } - // InternalApplicationConfiguration.g:8589:111: ( ( ( rule__GenerationTask__Group_3_11__0 ) ) ) - // InternalApplicationConfiguration.g:8590:5: ( ( rule__GenerationTask__Group_3_11__0 ) ) - { - - getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11); - - - selected = true; - - // InternalApplicationConfiguration.g:8596:5: ( ( rule__GenerationTask__Group_3_11__0 ) ) - // InternalApplicationConfiguration.g:8597:6: ( rule__GenerationTask__Group_3_11__0 ) - { - before(grammarAccess.getGenerationTaskAccess().getGroup_3_11()); - // InternalApplicationConfiguration.g:8598:6: ( rule__GenerationTask__Group_3_11__0 ) - // InternalApplicationConfiguration.g:8598:7: rule__GenerationTask__Group_3_11__0 - { - pushFollow(FOLLOW_2); - rule__GenerationTask__Group_3_11__0(); - - state._fsp--; - - - } - - after(grammarAccess.getGenerationTaskAccess().getGroup_3_11()); - - } - - - } - - - } - - - } - break; - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - if (selected) - getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__GenerationTask__UnorderedGroup_3__Impl" - - - // $ANTLR start "rule__GenerationTask__UnorderedGroup_3__0" - // InternalApplicationConfiguration.g:8611:1: rule__GenerationTask__UnorderedGroup_3__0 : rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__1 )? ; - public final void rule__GenerationTask__UnorderedGroup_3__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:8615:1: ( rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__1 )? ) - // InternalApplicationConfiguration.g:8616:2: rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__1 )? - { - pushFollow(FOLLOW_45); - rule__GenerationTask__UnorderedGroup_3__Impl(); - - state._fsp--; - - // InternalApplicationConfiguration.g:8617:2: ( rule__GenerationTask__UnorderedGroup_3__1 )? - int alt58=2; - alt58 = dfa58.predict(input); - switch (alt58) { - case 1 : - // InternalApplicationConfiguration.g:8617:2: rule__GenerationTask__UnorderedGroup_3__1 - { - pushFollow(FOLLOW_2); - rule__GenerationTask__UnorderedGroup_3__1(); - - state._fsp--; - - - } - break; - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__GenerationTask__UnorderedGroup_3__0" - - - // $ANTLR start "rule__GenerationTask__UnorderedGroup_3__1" - // InternalApplicationConfiguration.g:8623:1: rule__GenerationTask__UnorderedGroup_3__1 : rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__2 )? ; - public final void rule__GenerationTask__UnorderedGroup_3__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:8627:1: ( rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__2 )? ) - // InternalApplicationConfiguration.g:8628:2: rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__2 )? - { - pushFollow(FOLLOW_45); - rule__GenerationTask__UnorderedGroup_3__Impl(); - - state._fsp--; - - // InternalApplicationConfiguration.g:8629:2: ( rule__GenerationTask__UnorderedGroup_3__2 )? - int alt59=2; - alt59 = dfa59.predict(input); - switch (alt59) { - case 1 : - // InternalApplicationConfiguration.g:8629:2: rule__GenerationTask__UnorderedGroup_3__2 - { - pushFollow(FOLLOW_2); - rule__GenerationTask__UnorderedGroup_3__2(); - - state._fsp--; - - - } - break; - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__GenerationTask__UnorderedGroup_3__1" - - - // $ANTLR start "rule__GenerationTask__UnorderedGroup_3__2" - // InternalApplicationConfiguration.g:8635:1: rule__GenerationTask__UnorderedGroup_3__2 : rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__3 )? ; - public final void rule__GenerationTask__UnorderedGroup_3__2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:8639:1: ( rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__3 )? ) - // InternalApplicationConfiguration.g:8640:2: rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__3 )? - { - pushFollow(FOLLOW_45); - rule__GenerationTask__UnorderedGroup_3__Impl(); - - state._fsp--; - - // InternalApplicationConfiguration.g:8641:2: ( rule__GenerationTask__UnorderedGroup_3__3 )? - int alt60=2; - alt60 = dfa60.predict(input); - switch (alt60) { - case 1 : - // InternalApplicationConfiguration.g:8641:2: rule__GenerationTask__UnorderedGroup_3__3 - { - pushFollow(FOLLOW_2); - rule__GenerationTask__UnorderedGroup_3__3(); - - state._fsp--; - - - } - break; - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__GenerationTask__UnorderedGroup_3__2" - - - // $ANTLR start "rule__GenerationTask__UnorderedGroup_3__3" - // InternalApplicationConfiguration.g:8647:1: rule__GenerationTask__UnorderedGroup_3__3 : rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__4 )? ; - public final void rule__GenerationTask__UnorderedGroup_3__3() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:8651:1: ( rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__4 )? ) - // InternalApplicationConfiguration.g:8652:2: rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__4 )? - { - pushFollow(FOLLOW_45); - rule__GenerationTask__UnorderedGroup_3__Impl(); - - state._fsp--; - - // InternalApplicationConfiguration.g:8653:2: ( rule__GenerationTask__UnorderedGroup_3__4 )? - int alt61=2; - alt61 = dfa61.predict(input); - switch (alt61) { - case 1 : - // InternalApplicationConfiguration.g:8653:2: rule__GenerationTask__UnorderedGroup_3__4 - { - pushFollow(FOLLOW_2); - rule__GenerationTask__UnorderedGroup_3__4(); - - state._fsp--; - - - } - break; - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__GenerationTask__UnorderedGroup_3__3" - - - // $ANTLR start "rule__GenerationTask__UnorderedGroup_3__4" - // InternalApplicationConfiguration.g:8659:1: rule__GenerationTask__UnorderedGroup_3__4 : rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__5 )? ; - public final void rule__GenerationTask__UnorderedGroup_3__4() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:8663:1: ( rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__5 )? ) - // InternalApplicationConfiguration.g:8664:2: rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__5 )? - { - pushFollow(FOLLOW_45); - rule__GenerationTask__UnorderedGroup_3__Impl(); - - state._fsp--; - - // InternalApplicationConfiguration.g:8665:2: ( rule__GenerationTask__UnorderedGroup_3__5 )? - int alt62=2; - alt62 = dfa62.predict(input); - switch (alt62) { - case 1 : - // InternalApplicationConfiguration.g:8665:2: rule__GenerationTask__UnorderedGroup_3__5 - { - pushFollow(FOLLOW_2); - rule__GenerationTask__UnorderedGroup_3__5(); - - state._fsp--; - - - } - break; - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__GenerationTask__UnorderedGroup_3__4" - - - // $ANTLR start "rule__GenerationTask__UnorderedGroup_3__5" - // InternalApplicationConfiguration.g:8671:1: rule__GenerationTask__UnorderedGroup_3__5 : rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__6 )? ; - public final void rule__GenerationTask__UnorderedGroup_3__5() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:8675:1: ( rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__6 )? ) - // InternalApplicationConfiguration.g:8676:2: rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__6 )? - { - pushFollow(FOLLOW_45); - rule__GenerationTask__UnorderedGroup_3__Impl(); - - state._fsp--; - - // InternalApplicationConfiguration.g:8677:2: ( rule__GenerationTask__UnorderedGroup_3__6 )? - int alt63=2; - alt63 = dfa63.predict(input); - switch (alt63) { - case 1 : - // InternalApplicationConfiguration.g:8677:2: rule__GenerationTask__UnorderedGroup_3__6 - { - pushFollow(FOLLOW_2); - rule__GenerationTask__UnorderedGroup_3__6(); - - state._fsp--; - - - } - break; - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__GenerationTask__UnorderedGroup_3__5" - - - // $ANTLR start "rule__GenerationTask__UnorderedGroup_3__6" - // InternalApplicationConfiguration.g:8683:1: rule__GenerationTask__UnorderedGroup_3__6 : rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__7 )? ; - public final void rule__GenerationTask__UnorderedGroup_3__6() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:8687:1: ( rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__7 )? ) - // InternalApplicationConfiguration.g:8688:2: rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__7 )? - { - pushFollow(FOLLOW_45); - rule__GenerationTask__UnorderedGroup_3__Impl(); - - state._fsp--; - - // InternalApplicationConfiguration.g:8689:2: ( rule__GenerationTask__UnorderedGroup_3__7 )? - int alt64=2; - alt64 = dfa64.predict(input); - switch (alt64) { - case 1 : - // InternalApplicationConfiguration.g:8689:2: rule__GenerationTask__UnorderedGroup_3__7 - { - pushFollow(FOLLOW_2); - rule__GenerationTask__UnorderedGroup_3__7(); - - state._fsp--; - - - } - break; - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__GenerationTask__UnorderedGroup_3__6" - - - // $ANTLR start "rule__GenerationTask__UnorderedGroup_3__7" - // InternalApplicationConfiguration.g:8695:1: rule__GenerationTask__UnorderedGroup_3__7 : rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__8 )? ; - public final void rule__GenerationTask__UnorderedGroup_3__7() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:8699:1: ( rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__8 )? ) - // InternalApplicationConfiguration.g:8700:2: rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__8 )? - { - pushFollow(FOLLOW_45); - rule__GenerationTask__UnorderedGroup_3__Impl(); - - state._fsp--; - - // InternalApplicationConfiguration.g:8701:2: ( rule__GenerationTask__UnorderedGroup_3__8 )? - int alt65=2; - alt65 = dfa65.predict(input); - switch (alt65) { - case 1 : - // InternalApplicationConfiguration.g:8701:2: rule__GenerationTask__UnorderedGroup_3__8 - { - pushFollow(FOLLOW_2); - rule__GenerationTask__UnorderedGroup_3__8(); - - state._fsp--; - - - } - break; - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__GenerationTask__UnorderedGroup_3__7" - - - // $ANTLR start "rule__GenerationTask__UnorderedGroup_3__8" - // InternalApplicationConfiguration.g:8707:1: rule__GenerationTask__UnorderedGroup_3__8 : rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__9 )? ; - public final void rule__GenerationTask__UnorderedGroup_3__8() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:8711:1: ( rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__9 )? ) - // InternalApplicationConfiguration.g:8712:2: rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__9 )? - { - pushFollow(FOLLOW_45); - rule__GenerationTask__UnorderedGroup_3__Impl(); - - state._fsp--; - - // InternalApplicationConfiguration.g:8713:2: ( rule__GenerationTask__UnorderedGroup_3__9 )? - int alt66=2; - alt66 = dfa66.predict(input); - switch (alt66) { - case 1 : - // InternalApplicationConfiguration.g:8713:2: rule__GenerationTask__UnorderedGroup_3__9 - { - pushFollow(FOLLOW_2); - rule__GenerationTask__UnorderedGroup_3__9(); - - state._fsp--; - - - } - break; - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__GenerationTask__UnorderedGroup_3__8" - - - // $ANTLR start "rule__GenerationTask__UnorderedGroup_3__9" - // InternalApplicationConfiguration.g:8719:1: rule__GenerationTask__UnorderedGroup_3__9 : rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__10 )? ; - public final void rule__GenerationTask__UnorderedGroup_3__9() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:8723:1: ( rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__10 )? ) - // InternalApplicationConfiguration.g:8724:2: rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__10 )? - { - pushFollow(FOLLOW_45); - rule__GenerationTask__UnorderedGroup_3__Impl(); - - state._fsp--; - - // InternalApplicationConfiguration.g:8725:2: ( rule__GenerationTask__UnorderedGroup_3__10 )? - int alt67=2; - alt67 = dfa67.predict(input); - switch (alt67) { - case 1 : - // InternalApplicationConfiguration.g:8725:2: rule__GenerationTask__UnorderedGroup_3__10 - { - pushFollow(FOLLOW_2); - rule__GenerationTask__UnorderedGroup_3__10(); - - state._fsp--; - - - } - break; - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__GenerationTask__UnorderedGroup_3__9" - - - // $ANTLR start "rule__GenerationTask__UnorderedGroup_3__10" - // InternalApplicationConfiguration.g:8731:1: rule__GenerationTask__UnorderedGroup_3__10 : rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__11 )? ; - public final void rule__GenerationTask__UnorderedGroup_3__10() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:8735:1: ( rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__11 )? ) - // InternalApplicationConfiguration.g:8736:2: rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__11 )? - { - pushFollow(FOLLOW_45); - rule__GenerationTask__UnorderedGroup_3__Impl(); - - state._fsp--; - - // InternalApplicationConfiguration.g:8737:2: ( rule__GenerationTask__UnorderedGroup_3__11 )? - int alt68=2; - alt68 = dfa68.predict(input); - switch (alt68) { - case 1 : - // InternalApplicationConfiguration.g:8737:2: rule__GenerationTask__UnorderedGroup_3__11 - { - pushFollow(FOLLOW_2); - rule__GenerationTask__UnorderedGroup_3__11(); - - state._fsp--; - - - } - break; - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__GenerationTask__UnorderedGroup_3__10" - - - // $ANTLR start "rule__GenerationTask__UnorderedGroup_3__11" - // InternalApplicationConfiguration.g:8743:1: rule__GenerationTask__UnorderedGroup_3__11 : rule__GenerationTask__UnorderedGroup_3__Impl ; - public final void rule__GenerationTask__UnorderedGroup_3__11() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:8747:1: ( rule__GenerationTask__UnorderedGroup_3__Impl ) - // InternalApplicationConfiguration.g:8748:2: rule__GenerationTask__UnorderedGroup_3__Impl - { - pushFollow(FOLLOW_2); - rule__GenerationTask__UnorderedGroup_3__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__GenerationTask__UnorderedGroup_3__11" - - - // $ANTLR start "rule__ConfigurationScript__ImportsAssignment_0" - // InternalApplicationConfiguration.g:8755:1: rule__ConfigurationScript__ImportsAssignment_0 : ( ruleImport ) ; - public final void rule__ConfigurationScript__ImportsAssignment_0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:8759:1: ( ( ruleImport ) ) - // InternalApplicationConfiguration.g:8760:2: ( ruleImport ) - { - // InternalApplicationConfiguration.g:8760:2: ( ruleImport ) - // InternalApplicationConfiguration.g:8761:3: ruleImport - { - before(grammarAccess.getConfigurationScriptAccess().getImportsImportParserRuleCall_0_0()); - pushFollow(FOLLOW_2); - ruleImport(); - - state._fsp--; - - after(grammarAccess.getConfigurationScriptAccess().getImportsImportParserRuleCall_0_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ConfigurationScript__ImportsAssignment_0" - - - // $ANTLR start "rule__ConfigurationScript__CommandsAssignment_1" - // InternalApplicationConfiguration.g:8770:1: rule__ConfigurationScript__CommandsAssignment_1 : ( ruleCommand ) ; - public final void rule__ConfigurationScript__CommandsAssignment_1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:8774:1: ( ( ruleCommand ) ) - // InternalApplicationConfiguration.g:8775:2: ( ruleCommand ) - { - // InternalApplicationConfiguration.g:8775:2: ( ruleCommand ) - // InternalApplicationConfiguration.g:8776:3: ruleCommand - { - before(grammarAccess.getConfigurationScriptAccess().getCommandsCommandParserRuleCall_1_0()); - pushFollow(FOLLOW_2); - ruleCommand(); - - state._fsp--; - - after(grammarAccess.getConfigurationScriptAccess().getCommandsCommandParserRuleCall_1_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ConfigurationScript__CommandsAssignment_1" - - - // $ANTLR start "rule__EPackageImport__ImportedPackageAssignment_2" - // InternalApplicationConfiguration.g:8785:1: rule__EPackageImport__ImportedPackageAssignment_2 : ( ( RULE_STRING ) ) ; - public final void rule__EPackageImport__ImportedPackageAssignment_2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:8789:1: ( ( ( RULE_STRING ) ) ) - // InternalApplicationConfiguration.g:8790:2: ( ( RULE_STRING ) ) - { - // InternalApplicationConfiguration.g:8790:2: ( ( RULE_STRING ) ) - // InternalApplicationConfiguration.g:8791:3: ( RULE_STRING ) - { - before(grammarAccess.getEPackageImportAccess().getImportedPackageEPackageCrossReference_2_0()); - // InternalApplicationConfiguration.g:8792:3: ( RULE_STRING ) - // InternalApplicationConfiguration.g:8793:4: RULE_STRING - { - before(grammarAccess.getEPackageImportAccess().getImportedPackageEPackageSTRINGTerminalRuleCall_2_0_1()); - match(input,RULE_STRING,FOLLOW_2); - after(grammarAccess.getEPackageImportAccess().getImportedPackageEPackageSTRINGTerminalRuleCall_2_0_1()); - - } - - after(grammarAccess.getEPackageImportAccess().getImportedPackageEPackageCrossReference_2_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__EPackageImport__ImportedPackageAssignment_2" - - - // $ANTLR start "rule__ViatraImport__ImportedViatraAssignment_2" - // InternalApplicationConfiguration.g:8804:1: rule__ViatraImport__ImportedViatraAssignment_2 : ( ( RULE_STRING ) ) ; - public final void rule__ViatraImport__ImportedViatraAssignment_2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:8808:1: ( ( ( RULE_STRING ) ) ) - // InternalApplicationConfiguration.g:8809:2: ( ( RULE_STRING ) ) - { - // InternalApplicationConfiguration.g:8809:2: ( ( RULE_STRING ) ) - // InternalApplicationConfiguration.g:8810:3: ( RULE_STRING ) - { - before(grammarAccess.getViatraImportAccess().getImportedViatraPatternModelCrossReference_2_0()); - // InternalApplicationConfiguration.g:8811:3: ( RULE_STRING ) - // InternalApplicationConfiguration.g:8812:4: RULE_STRING - { - before(grammarAccess.getViatraImportAccess().getImportedViatraPatternModelSTRINGTerminalRuleCall_2_0_1()); - match(input,RULE_STRING,FOLLOW_2); - after(grammarAccess.getViatraImportAccess().getImportedViatraPatternModelSTRINGTerminalRuleCall_2_0_1()); - - } - - after(grammarAccess.getViatraImportAccess().getImportedViatraPatternModelCrossReference_2_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ViatraImport__ImportedViatraAssignment_2" - - - // $ANTLR start "rule__FileSpecification__PathAssignment" - // InternalApplicationConfiguration.g:8823:1: rule__FileSpecification__PathAssignment : ( RULE_STRING ) ; - public final void rule__FileSpecification__PathAssignment() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:8827:1: ( ( RULE_STRING ) ) - // InternalApplicationConfiguration.g:8828:2: ( RULE_STRING ) - { - // InternalApplicationConfiguration.g:8828:2: ( RULE_STRING ) - // InternalApplicationConfiguration.g:8829:3: RULE_STRING - { - before(grammarAccess.getFileSpecificationAccess().getPathSTRINGTerminalRuleCall_0()); - match(input,RULE_STRING,FOLLOW_2); - after(grammarAccess.getFileSpecificationAccess().getPathSTRINGTerminalRuleCall_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__FileSpecification__PathAssignment" - - - // $ANTLR start "rule__FileDeclaration__NameAssignment_1" - // InternalApplicationConfiguration.g:8838:1: rule__FileDeclaration__NameAssignment_1 : ( RULE_ID ) ; - public final void rule__FileDeclaration__NameAssignment_1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:8842:1: ( ( RULE_ID ) ) - // InternalApplicationConfiguration.g:8843:2: ( RULE_ID ) - { - // InternalApplicationConfiguration.g:8843:2: ( RULE_ID ) - // InternalApplicationConfiguration.g:8844:3: RULE_ID - { - before(grammarAccess.getFileDeclarationAccess().getNameIDTerminalRuleCall_1_0()); - match(input,RULE_ID,FOLLOW_2); - after(grammarAccess.getFileDeclarationAccess().getNameIDTerminalRuleCall_1_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__FileDeclaration__NameAssignment_1" - - - // $ANTLR start "rule__FileDeclaration__SpecificationAssignment_3" - // InternalApplicationConfiguration.g:8853:1: rule__FileDeclaration__SpecificationAssignment_3 : ( ruleFileSpecification ) ; - public final void rule__FileDeclaration__SpecificationAssignment_3() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:8857:1: ( ( ruleFileSpecification ) ) - // InternalApplicationConfiguration.g:8858:2: ( ruleFileSpecification ) - { - // InternalApplicationConfiguration.g:8858:2: ( ruleFileSpecification ) - // InternalApplicationConfiguration.g:8859:3: ruleFileSpecification - { - before(grammarAccess.getFileDeclarationAccess().getSpecificationFileSpecificationParserRuleCall_3_0()); - pushFollow(FOLLOW_2); - ruleFileSpecification(); - - state._fsp--; - - after(grammarAccess.getFileDeclarationAccess().getSpecificationFileSpecificationParserRuleCall_3_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__FileDeclaration__SpecificationAssignment_3" - - - // $ANTLR start "rule__FileReference__ReferredAssignment" - // InternalApplicationConfiguration.g:8868:1: rule__FileReference__ReferredAssignment : ( ( RULE_ID ) ) ; - public final void rule__FileReference__ReferredAssignment() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:8872:1: ( ( ( RULE_ID ) ) ) - // InternalApplicationConfiguration.g:8873:2: ( ( RULE_ID ) ) - { - // InternalApplicationConfiguration.g:8873:2: ( ( RULE_ID ) ) - // InternalApplicationConfiguration.g:8874:3: ( RULE_ID ) - { - before(grammarAccess.getFileReferenceAccess().getReferredFileDeclarationCrossReference_0()); - // InternalApplicationConfiguration.g:8875:3: ( RULE_ID ) - // InternalApplicationConfiguration.g:8876:4: RULE_ID - { - before(grammarAccess.getFileReferenceAccess().getReferredFileDeclarationIDTerminalRuleCall_0_1()); - match(input,RULE_ID,FOLLOW_2); - after(grammarAccess.getFileReferenceAccess().getReferredFileDeclarationIDTerminalRuleCall_0_1()); - - } - - after(grammarAccess.getFileReferenceAccess().getReferredFileDeclarationCrossReference_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__FileReference__ReferredAssignment" - - - // $ANTLR start "rule__MetamodelSpecification__EntriesAssignment_1" - // InternalApplicationConfiguration.g:8887:1: rule__MetamodelSpecification__EntriesAssignment_1 : ( ruleMetamodelEntry ) ; - public final void rule__MetamodelSpecification__EntriesAssignment_1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:8891:1: ( ( ruleMetamodelEntry ) ) - // InternalApplicationConfiguration.g:8892:2: ( ruleMetamodelEntry ) - { - // InternalApplicationConfiguration.g:8892:2: ( ruleMetamodelEntry ) - // InternalApplicationConfiguration.g:8893:3: ruleMetamodelEntry - { - before(grammarAccess.getMetamodelSpecificationAccess().getEntriesMetamodelEntryParserRuleCall_1_0()); - pushFollow(FOLLOW_2); - ruleMetamodelEntry(); - - state._fsp--; - - after(grammarAccess.getMetamodelSpecificationAccess().getEntriesMetamodelEntryParserRuleCall_1_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__MetamodelSpecification__EntriesAssignment_1" - - - // $ANTLR start "rule__MetamodelSpecification__EntriesAssignment_2_1" - // InternalApplicationConfiguration.g:8902:1: rule__MetamodelSpecification__EntriesAssignment_2_1 : ( ruleMetamodelEntry ) ; - public final void rule__MetamodelSpecification__EntriesAssignment_2_1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:8906:1: ( ( ruleMetamodelEntry ) ) - // InternalApplicationConfiguration.g:8907:2: ( ruleMetamodelEntry ) - { - // InternalApplicationConfiguration.g:8907:2: ( ruleMetamodelEntry ) - // InternalApplicationConfiguration.g:8908:3: ruleMetamodelEntry - { - before(grammarAccess.getMetamodelSpecificationAccess().getEntriesMetamodelEntryParserRuleCall_2_1_0()); - pushFollow(FOLLOW_2); - ruleMetamodelEntry(); - - state._fsp--; - - after(grammarAccess.getMetamodelSpecificationAccess().getEntriesMetamodelEntryParserRuleCall_2_1_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__MetamodelSpecification__EntriesAssignment_2_1" - - - // $ANTLR start "rule__AllPackageEntry__PackageAssignment_1" - // InternalApplicationConfiguration.g:8917:1: rule__AllPackageEntry__PackageAssignment_1 : ( ( ruleQualifiedName ) ) ; - public final void rule__AllPackageEntry__PackageAssignment_1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:8921:1: ( ( ( ruleQualifiedName ) ) ) - // InternalApplicationConfiguration.g:8922:2: ( ( ruleQualifiedName ) ) - { - // InternalApplicationConfiguration.g:8922:2: ( ( ruleQualifiedName ) ) - // InternalApplicationConfiguration.g:8923:3: ( ruleQualifiedName ) - { - before(grammarAccess.getAllPackageEntryAccess().getPackageEPackageCrossReference_1_0()); - // InternalApplicationConfiguration.g:8924:3: ( ruleQualifiedName ) - // InternalApplicationConfiguration.g:8925:4: ruleQualifiedName - { - before(grammarAccess.getAllPackageEntryAccess().getPackageEPackageQualifiedNameParserRuleCall_1_0_1()); - pushFollow(FOLLOW_2); - ruleQualifiedName(); - - state._fsp--; - - after(grammarAccess.getAllPackageEntryAccess().getPackageEPackageQualifiedNameParserRuleCall_1_0_1()); - - } - - after(grammarAccess.getAllPackageEntryAccess().getPackageEPackageCrossReference_1_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__AllPackageEntry__PackageAssignment_1" - - - // $ANTLR start "rule__AllPackageEntry__ExclusionAssignment_2_2" - // InternalApplicationConfiguration.g:8936:1: rule__AllPackageEntry__ExclusionAssignment_2_2 : ( ruleMetamodelElement ) ; - public final void rule__AllPackageEntry__ExclusionAssignment_2_2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:8940:1: ( ( ruleMetamodelElement ) ) - // InternalApplicationConfiguration.g:8941:2: ( ruleMetamodelElement ) - { - // InternalApplicationConfiguration.g:8941:2: ( ruleMetamodelElement ) - // InternalApplicationConfiguration.g:8942:3: ruleMetamodelElement - { - before(grammarAccess.getAllPackageEntryAccess().getExclusionMetamodelElementParserRuleCall_2_2_0()); - pushFollow(FOLLOW_2); - ruleMetamodelElement(); - - state._fsp--; - - after(grammarAccess.getAllPackageEntryAccess().getExclusionMetamodelElementParserRuleCall_2_2_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__AllPackageEntry__ExclusionAssignment_2_2" - - - // $ANTLR start "rule__AllPackageEntry__ExclusionAssignment_2_3_1" - // InternalApplicationConfiguration.g:8951:1: rule__AllPackageEntry__ExclusionAssignment_2_3_1 : ( ruleMetamodelElement ) ; - public final void rule__AllPackageEntry__ExclusionAssignment_2_3_1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:8955:1: ( ( ruleMetamodelElement ) ) - // InternalApplicationConfiguration.g:8956:2: ( ruleMetamodelElement ) - { - // InternalApplicationConfiguration.g:8956:2: ( ruleMetamodelElement ) - // InternalApplicationConfiguration.g:8957:3: ruleMetamodelElement - { - before(grammarAccess.getAllPackageEntryAccess().getExclusionMetamodelElementParserRuleCall_2_3_1_0()); - pushFollow(FOLLOW_2); - ruleMetamodelElement(); - - state._fsp--; - - after(grammarAccess.getAllPackageEntryAccess().getExclusionMetamodelElementParserRuleCall_2_3_1_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__AllPackageEntry__ExclusionAssignment_2_3_1" - - - // $ANTLR start "rule__MetamodelElement__PackageAssignment_0_0" - // InternalApplicationConfiguration.g:8966:1: rule__MetamodelElement__PackageAssignment_0_0 : ( ( ruleQualifiedName ) ) ; - public final void rule__MetamodelElement__PackageAssignment_0_0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:8970:1: ( ( ( ruleQualifiedName ) ) ) - // InternalApplicationConfiguration.g:8971:2: ( ( ruleQualifiedName ) ) - { - // InternalApplicationConfiguration.g:8971:2: ( ( ruleQualifiedName ) ) - // InternalApplicationConfiguration.g:8972:3: ( ruleQualifiedName ) - { - before(grammarAccess.getMetamodelElementAccess().getPackageEPackageCrossReference_0_0_0()); - // InternalApplicationConfiguration.g:8973:3: ( ruleQualifiedName ) - // InternalApplicationConfiguration.g:8974:4: ruleQualifiedName - { - before(grammarAccess.getMetamodelElementAccess().getPackageEPackageQualifiedNameParserRuleCall_0_0_0_1()); - pushFollow(FOLLOW_2); - ruleQualifiedName(); - - state._fsp--; - - after(grammarAccess.getMetamodelElementAccess().getPackageEPackageQualifiedNameParserRuleCall_0_0_0_1()); - - } - - after(grammarAccess.getMetamodelElementAccess().getPackageEPackageCrossReference_0_0_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__MetamodelElement__PackageAssignment_0_0" - - - // $ANTLR start "rule__MetamodelElement__ClassifierAssignment_1" - // InternalApplicationConfiguration.g:8985:1: rule__MetamodelElement__ClassifierAssignment_1 : ( ( RULE_ID ) ) ; - public final void rule__MetamodelElement__ClassifierAssignment_1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:8989:1: ( ( ( RULE_ID ) ) ) - // InternalApplicationConfiguration.g:8990:2: ( ( RULE_ID ) ) - { - // InternalApplicationConfiguration.g:8990:2: ( ( RULE_ID ) ) - // InternalApplicationConfiguration.g:8991:3: ( RULE_ID ) - { - before(grammarAccess.getMetamodelElementAccess().getClassifierEClassifierCrossReference_1_0()); - // InternalApplicationConfiguration.g:8992:3: ( RULE_ID ) - // InternalApplicationConfiguration.g:8993:4: RULE_ID - { - before(grammarAccess.getMetamodelElementAccess().getClassifierEClassifierIDTerminalRuleCall_1_0_1()); - match(input,RULE_ID,FOLLOW_2); - after(grammarAccess.getMetamodelElementAccess().getClassifierEClassifierIDTerminalRuleCall_1_0_1()); - - } - - after(grammarAccess.getMetamodelElementAccess().getClassifierEClassifierCrossReference_1_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__MetamodelElement__ClassifierAssignment_1" - - - // $ANTLR start "rule__MetamodelElement__FeatureAssignment_2_1" - // InternalApplicationConfiguration.g:9004:1: rule__MetamodelElement__FeatureAssignment_2_1 : ( ( RULE_ID ) ) ; - public final void rule__MetamodelElement__FeatureAssignment_2_1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:9008:1: ( ( ( RULE_ID ) ) ) - // InternalApplicationConfiguration.g:9009:2: ( ( RULE_ID ) ) - { - // InternalApplicationConfiguration.g:9009:2: ( ( RULE_ID ) ) - // InternalApplicationConfiguration.g:9010:3: ( RULE_ID ) - { - before(grammarAccess.getMetamodelElementAccess().getFeatureENamedElementCrossReference_2_1_0()); - // InternalApplicationConfiguration.g:9011:3: ( RULE_ID ) - // InternalApplicationConfiguration.g:9012:4: RULE_ID - { - before(grammarAccess.getMetamodelElementAccess().getFeatureENamedElementIDTerminalRuleCall_2_1_0_1()); - match(input,RULE_ID,FOLLOW_2); - after(grammarAccess.getMetamodelElementAccess().getFeatureENamedElementIDTerminalRuleCall_2_1_0_1()); - - } - - after(grammarAccess.getMetamodelElementAccess().getFeatureENamedElementCrossReference_2_1_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__MetamodelElement__FeatureAssignment_2_1" - - - // $ANTLR start "rule__MetamodelDeclaration__NameAssignment_1" - // InternalApplicationConfiguration.g:9023:1: rule__MetamodelDeclaration__NameAssignment_1 : ( RULE_ID ) ; - public final void rule__MetamodelDeclaration__NameAssignment_1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:9027:1: ( ( RULE_ID ) ) - // InternalApplicationConfiguration.g:9028:2: ( RULE_ID ) - { - // InternalApplicationConfiguration.g:9028:2: ( RULE_ID ) - // InternalApplicationConfiguration.g:9029:3: RULE_ID - { - before(grammarAccess.getMetamodelDeclarationAccess().getNameIDTerminalRuleCall_1_0()); - match(input,RULE_ID,FOLLOW_2); - after(grammarAccess.getMetamodelDeclarationAccess().getNameIDTerminalRuleCall_1_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__MetamodelDeclaration__NameAssignment_1" - - - // $ANTLR start "rule__MetamodelDeclaration__SpecificationAssignment_2" - // InternalApplicationConfiguration.g:9038:1: rule__MetamodelDeclaration__SpecificationAssignment_2 : ( ruleMetamodelSpecification ) ; - public final void rule__MetamodelDeclaration__SpecificationAssignment_2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:9042:1: ( ( ruleMetamodelSpecification ) ) - // InternalApplicationConfiguration.g:9043:2: ( ruleMetamodelSpecification ) - { - // InternalApplicationConfiguration.g:9043:2: ( ruleMetamodelSpecification ) - // InternalApplicationConfiguration.g:9044:3: ruleMetamodelSpecification - { - before(grammarAccess.getMetamodelDeclarationAccess().getSpecificationMetamodelSpecificationParserRuleCall_2_0()); - pushFollow(FOLLOW_2); - ruleMetamodelSpecification(); - - state._fsp--; - - after(grammarAccess.getMetamodelDeclarationAccess().getSpecificationMetamodelSpecificationParserRuleCall_2_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__MetamodelDeclaration__SpecificationAssignment_2" - - - // $ANTLR start "rule__MetamodelReference__ReferredAssignment" - // InternalApplicationConfiguration.g:9053:1: rule__MetamodelReference__ReferredAssignment : ( ( RULE_ID ) ) ; - public final void rule__MetamodelReference__ReferredAssignment() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:9057:1: ( ( ( RULE_ID ) ) ) - // InternalApplicationConfiguration.g:9058:2: ( ( RULE_ID ) ) - { - // InternalApplicationConfiguration.g:9058:2: ( ( RULE_ID ) ) - // InternalApplicationConfiguration.g:9059:3: ( RULE_ID ) - { - before(grammarAccess.getMetamodelReferenceAccess().getReferredMetamodelDeclarationCrossReference_0()); - // InternalApplicationConfiguration.g:9060:3: ( RULE_ID ) - // InternalApplicationConfiguration.g:9061:4: RULE_ID - { - before(grammarAccess.getMetamodelReferenceAccess().getReferredMetamodelDeclarationIDTerminalRuleCall_0_1()); - match(input,RULE_ID,FOLLOW_2); - after(grammarAccess.getMetamodelReferenceAccess().getReferredMetamodelDeclarationIDTerminalRuleCall_0_1()); - - } - - after(grammarAccess.getMetamodelReferenceAccess().getReferredMetamodelDeclarationCrossReference_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__MetamodelReference__ReferredAssignment" - - - // $ANTLR start "rule__PartialModelSpecification__EntryAssignment_1" - // InternalApplicationConfiguration.g:9072:1: rule__PartialModelSpecification__EntryAssignment_1 : ( rulePartialModelEntry ) ; - public final void rule__PartialModelSpecification__EntryAssignment_1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:9076:1: ( ( rulePartialModelEntry ) ) - // InternalApplicationConfiguration.g:9077:2: ( rulePartialModelEntry ) - { - // InternalApplicationConfiguration.g:9077:2: ( rulePartialModelEntry ) - // InternalApplicationConfiguration.g:9078:3: rulePartialModelEntry - { - before(grammarAccess.getPartialModelSpecificationAccess().getEntryPartialModelEntryParserRuleCall_1_0()); - pushFollow(FOLLOW_2); - rulePartialModelEntry(); - - state._fsp--; - - after(grammarAccess.getPartialModelSpecificationAccess().getEntryPartialModelEntryParserRuleCall_1_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__PartialModelSpecification__EntryAssignment_1" - - - // $ANTLR start "rule__PartialModelSpecification__EntryAssignment_2_1" - // InternalApplicationConfiguration.g:9087:1: rule__PartialModelSpecification__EntryAssignment_2_1 : ( rulePartialModelEntry ) ; - public final void rule__PartialModelSpecification__EntryAssignment_2_1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:9091:1: ( ( rulePartialModelEntry ) ) - // InternalApplicationConfiguration.g:9092:2: ( rulePartialModelEntry ) - { - // InternalApplicationConfiguration.g:9092:2: ( rulePartialModelEntry ) - // InternalApplicationConfiguration.g:9093:3: rulePartialModelEntry - { - before(grammarAccess.getPartialModelSpecificationAccess().getEntryPartialModelEntryParserRuleCall_2_1_0()); - pushFollow(FOLLOW_2); - rulePartialModelEntry(); - - state._fsp--; - - after(grammarAccess.getPartialModelSpecificationAccess().getEntryPartialModelEntryParserRuleCall_2_1_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__PartialModelSpecification__EntryAssignment_2_1" - - - // $ANTLR start "rule__ModelEntry__PathAssignment" - // InternalApplicationConfiguration.g:9102:1: rule__ModelEntry__PathAssignment : ( ruleFile ) ; - public final void rule__ModelEntry__PathAssignment() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:9106:1: ( ( ruleFile ) ) - // InternalApplicationConfiguration.g:9107:2: ( ruleFile ) - { - // InternalApplicationConfiguration.g:9107:2: ( ruleFile ) - // InternalApplicationConfiguration.g:9108:3: ruleFile - { - before(grammarAccess.getModelEntryAccess().getPathFileParserRuleCall_0()); - pushFollow(FOLLOW_2); - ruleFile(); - - state._fsp--; - - after(grammarAccess.getModelEntryAccess().getPathFileParserRuleCall_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ModelEntry__PathAssignment" - - - // $ANTLR start "rule__FolderEntry__PathAssignment_1" - // InternalApplicationConfiguration.g:9117:1: rule__FolderEntry__PathAssignment_1 : ( ruleFile ) ; - public final void rule__FolderEntry__PathAssignment_1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:9121:1: ( ( ruleFile ) ) - // InternalApplicationConfiguration.g:9122:2: ( ruleFile ) - { - // InternalApplicationConfiguration.g:9122:2: ( ruleFile ) - // InternalApplicationConfiguration.g:9123:3: ruleFile - { - before(grammarAccess.getFolderEntryAccess().getPathFileParserRuleCall_1_0()); - pushFollow(FOLLOW_2); - ruleFile(); - - state._fsp--; - - after(grammarAccess.getFolderEntryAccess().getPathFileParserRuleCall_1_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__FolderEntry__PathAssignment_1" - - - // $ANTLR start "rule__FolderEntry__ExclusionAssignment_2_2" - // InternalApplicationConfiguration.g:9132:1: rule__FolderEntry__ExclusionAssignment_2_2 : ( ruleModelEntry ) ; - public final void rule__FolderEntry__ExclusionAssignment_2_2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:9136:1: ( ( ruleModelEntry ) ) - // InternalApplicationConfiguration.g:9137:2: ( ruleModelEntry ) - { - // InternalApplicationConfiguration.g:9137:2: ( ruleModelEntry ) - // InternalApplicationConfiguration.g:9138:3: ruleModelEntry - { - before(grammarAccess.getFolderEntryAccess().getExclusionModelEntryParserRuleCall_2_2_0()); - pushFollow(FOLLOW_2); - ruleModelEntry(); - - state._fsp--; - - after(grammarAccess.getFolderEntryAccess().getExclusionModelEntryParserRuleCall_2_2_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__FolderEntry__ExclusionAssignment_2_2" - - - // $ANTLR start "rule__FolderEntry__ExclusionAssignment_2_3_1" - // InternalApplicationConfiguration.g:9147:1: rule__FolderEntry__ExclusionAssignment_2_3_1 : ( ruleModelEntry ) ; - public final void rule__FolderEntry__ExclusionAssignment_2_3_1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:9151:1: ( ( ruleModelEntry ) ) - // InternalApplicationConfiguration.g:9152:2: ( ruleModelEntry ) - { - // InternalApplicationConfiguration.g:9152:2: ( ruleModelEntry ) - // InternalApplicationConfiguration.g:9153:3: ruleModelEntry - { - before(grammarAccess.getFolderEntryAccess().getExclusionModelEntryParserRuleCall_2_3_1_0()); - pushFollow(FOLLOW_2); - ruleModelEntry(); - - state._fsp--; - - after(grammarAccess.getFolderEntryAccess().getExclusionModelEntryParserRuleCall_2_3_1_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__FolderEntry__ExclusionAssignment_2_3_1" - - - // $ANTLR start "rule__PartialModelDeclaration__NameAssignment_1" - // InternalApplicationConfiguration.g:9162:1: rule__PartialModelDeclaration__NameAssignment_1 : ( RULE_ID ) ; - public final void rule__PartialModelDeclaration__NameAssignment_1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:9166:1: ( ( RULE_ID ) ) - // InternalApplicationConfiguration.g:9167:2: ( RULE_ID ) - { - // InternalApplicationConfiguration.g:9167:2: ( RULE_ID ) - // InternalApplicationConfiguration.g:9168:3: RULE_ID - { - before(grammarAccess.getPartialModelDeclarationAccess().getNameIDTerminalRuleCall_1_0()); - match(input,RULE_ID,FOLLOW_2); - after(grammarAccess.getPartialModelDeclarationAccess().getNameIDTerminalRuleCall_1_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__PartialModelDeclaration__NameAssignment_1" - - - // $ANTLR start "rule__PartialModelDeclaration__SpecificationAssignment_2" - // InternalApplicationConfiguration.g:9177:1: rule__PartialModelDeclaration__SpecificationAssignment_2 : ( rulePartialModelSpecification ) ; - public final void rule__PartialModelDeclaration__SpecificationAssignment_2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:9181:1: ( ( rulePartialModelSpecification ) ) - // InternalApplicationConfiguration.g:9182:2: ( rulePartialModelSpecification ) - { - // InternalApplicationConfiguration.g:9182:2: ( rulePartialModelSpecification ) - // InternalApplicationConfiguration.g:9183:3: rulePartialModelSpecification - { - before(grammarAccess.getPartialModelDeclarationAccess().getSpecificationPartialModelSpecificationParserRuleCall_2_0()); - pushFollow(FOLLOW_2); - rulePartialModelSpecification(); - - state._fsp--; - - after(grammarAccess.getPartialModelDeclarationAccess().getSpecificationPartialModelSpecificationParserRuleCall_2_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__PartialModelDeclaration__SpecificationAssignment_2" - - - // $ANTLR start "rule__PartialModelReference__ReferredAssignment" - // InternalApplicationConfiguration.g:9192:1: rule__PartialModelReference__ReferredAssignment : ( ( RULE_ID ) ) ; - public final void rule__PartialModelReference__ReferredAssignment() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:9196:1: ( ( ( RULE_ID ) ) ) - // InternalApplicationConfiguration.g:9197:2: ( ( RULE_ID ) ) - { - // InternalApplicationConfiguration.g:9197:2: ( ( RULE_ID ) ) - // InternalApplicationConfiguration.g:9198:3: ( RULE_ID ) - { - before(grammarAccess.getPartialModelReferenceAccess().getReferredPartialModelDeclarationCrossReference_0()); - // InternalApplicationConfiguration.g:9199:3: ( RULE_ID ) - // InternalApplicationConfiguration.g:9200:4: RULE_ID - { - before(grammarAccess.getPartialModelReferenceAccess().getReferredPartialModelDeclarationIDTerminalRuleCall_0_1()); - match(input,RULE_ID,FOLLOW_2); - after(grammarAccess.getPartialModelReferenceAccess().getReferredPartialModelDeclarationIDTerminalRuleCall_0_1()); - - } - - after(grammarAccess.getPartialModelReferenceAccess().getReferredPartialModelDeclarationCrossReference_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__PartialModelReference__ReferredAssignment" - - - // $ANTLR start "rule__PatternSpecification__EntriesAssignment_1" - // InternalApplicationConfiguration.g:9211:1: rule__PatternSpecification__EntriesAssignment_1 : ( rulePatternEntry ) ; - public final void rule__PatternSpecification__EntriesAssignment_1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:9215:1: ( ( rulePatternEntry ) ) - // InternalApplicationConfiguration.g:9216:2: ( rulePatternEntry ) - { - // InternalApplicationConfiguration.g:9216:2: ( rulePatternEntry ) - // InternalApplicationConfiguration.g:9217:3: rulePatternEntry - { - before(grammarAccess.getPatternSpecificationAccess().getEntriesPatternEntryParserRuleCall_1_0()); - pushFollow(FOLLOW_2); - rulePatternEntry(); - - state._fsp--; - - after(grammarAccess.getPatternSpecificationAccess().getEntriesPatternEntryParserRuleCall_1_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__PatternSpecification__EntriesAssignment_1" - - - // $ANTLR start "rule__PatternSpecification__EntriesAssignment_2_1" - // InternalApplicationConfiguration.g:9226:1: rule__PatternSpecification__EntriesAssignment_2_1 : ( rulePatternEntry ) ; - public final void rule__PatternSpecification__EntriesAssignment_2_1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:9230:1: ( ( rulePatternEntry ) ) - // InternalApplicationConfiguration.g:9231:2: ( rulePatternEntry ) - { - // InternalApplicationConfiguration.g:9231:2: ( rulePatternEntry ) - // InternalApplicationConfiguration.g:9232:3: rulePatternEntry - { - before(grammarAccess.getPatternSpecificationAccess().getEntriesPatternEntryParserRuleCall_2_1_0()); - pushFollow(FOLLOW_2); - rulePatternEntry(); - - state._fsp--; - - after(grammarAccess.getPatternSpecificationAccess().getEntriesPatternEntryParserRuleCall_2_1_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__PatternSpecification__EntriesAssignment_2_1" - - - // $ANTLR start "rule__AllPatternEntry__PackageAssignment_1" - // InternalApplicationConfiguration.g:9241:1: rule__AllPatternEntry__PackageAssignment_1 : ( ( ruleQualifiedName ) ) ; - public final void rule__AllPatternEntry__PackageAssignment_1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:9245:1: ( ( ( ruleQualifiedName ) ) ) - // InternalApplicationConfiguration.g:9246:2: ( ( ruleQualifiedName ) ) - { - // InternalApplicationConfiguration.g:9246:2: ( ( ruleQualifiedName ) ) - // InternalApplicationConfiguration.g:9247:3: ( ruleQualifiedName ) - { - before(grammarAccess.getAllPatternEntryAccess().getPackagePatternModelCrossReference_1_0()); - // InternalApplicationConfiguration.g:9248:3: ( ruleQualifiedName ) - // InternalApplicationConfiguration.g:9249:4: ruleQualifiedName - { - before(grammarAccess.getAllPatternEntryAccess().getPackagePatternModelQualifiedNameParserRuleCall_1_0_1()); - pushFollow(FOLLOW_2); - ruleQualifiedName(); - - state._fsp--; - - after(grammarAccess.getAllPatternEntryAccess().getPackagePatternModelQualifiedNameParserRuleCall_1_0_1()); - - } - - after(grammarAccess.getAllPatternEntryAccess().getPackagePatternModelCrossReference_1_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__AllPatternEntry__PackageAssignment_1" - - - // $ANTLR start "rule__AllPatternEntry__ExclusuionAssignment_2_2" - // InternalApplicationConfiguration.g:9260:1: rule__AllPatternEntry__ExclusuionAssignment_2_2 : ( rulePatternElement ) ; - public final void rule__AllPatternEntry__ExclusuionAssignment_2_2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:9264:1: ( ( rulePatternElement ) ) - // InternalApplicationConfiguration.g:9265:2: ( rulePatternElement ) - { - // InternalApplicationConfiguration.g:9265:2: ( rulePatternElement ) - // InternalApplicationConfiguration.g:9266:3: rulePatternElement - { - before(grammarAccess.getAllPatternEntryAccess().getExclusuionPatternElementParserRuleCall_2_2_0()); - pushFollow(FOLLOW_2); - rulePatternElement(); - - state._fsp--; - - after(grammarAccess.getAllPatternEntryAccess().getExclusuionPatternElementParserRuleCall_2_2_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__AllPatternEntry__ExclusuionAssignment_2_2" - - - // $ANTLR start "rule__AllPatternEntry__ExclusuionAssignment_2_3_1" - // InternalApplicationConfiguration.g:9275:1: rule__AllPatternEntry__ExclusuionAssignment_2_3_1 : ( rulePatternElement ) ; - public final void rule__AllPatternEntry__ExclusuionAssignment_2_3_1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:9279:1: ( ( rulePatternElement ) ) - // InternalApplicationConfiguration.g:9280:2: ( rulePatternElement ) - { - // InternalApplicationConfiguration.g:9280:2: ( rulePatternElement ) - // InternalApplicationConfiguration.g:9281:3: rulePatternElement - { - before(grammarAccess.getAllPatternEntryAccess().getExclusuionPatternElementParserRuleCall_2_3_1_0()); - pushFollow(FOLLOW_2); - rulePatternElement(); - - state._fsp--; - - after(grammarAccess.getAllPatternEntryAccess().getExclusuionPatternElementParserRuleCall_2_3_1_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__AllPatternEntry__ExclusuionAssignment_2_3_1" - - - // $ANTLR start "rule__PatternElement__PackageAssignment_0_0" - // InternalApplicationConfiguration.g:9290:1: rule__PatternElement__PackageAssignment_0_0 : ( ( ruleQualifiedName ) ) ; - public final void rule__PatternElement__PackageAssignment_0_0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:9294:1: ( ( ( ruleQualifiedName ) ) ) - // InternalApplicationConfiguration.g:9295:2: ( ( ruleQualifiedName ) ) - { - // InternalApplicationConfiguration.g:9295:2: ( ( ruleQualifiedName ) ) - // InternalApplicationConfiguration.g:9296:3: ( ruleQualifiedName ) - { - before(grammarAccess.getPatternElementAccess().getPackagePatternModelCrossReference_0_0_0()); - // InternalApplicationConfiguration.g:9297:3: ( ruleQualifiedName ) - // InternalApplicationConfiguration.g:9298:4: ruleQualifiedName - { - before(grammarAccess.getPatternElementAccess().getPackagePatternModelQualifiedNameParserRuleCall_0_0_0_1()); - pushFollow(FOLLOW_2); - ruleQualifiedName(); - - state._fsp--; - - after(grammarAccess.getPatternElementAccess().getPackagePatternModelQualifiedNameParserRuleCall_0_0_0_1()); - - } - - after(grammarAccess.getPatternElementAccess().getPackagePatternModelCrossReference_0_0_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__PatternElement__PackageAssignment_0_0" - - - // $ANTLR start "rule__PatternElement__PatternAssignment_1" - // InternalApplicationConfiguration.g:9309:1: rule__PatternElement__PatternAssignment_1 : ( ( RULE_ID ) ) ; - public final void rule__PatternElement__PatternAssignment_1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:9313:1: ( ( ( RULE_ID ) ) ) - // InternalApplicationConfiguration.g:9314:2: ( ( RULE_ID ) ) - { - // InternalApplicationConfiguration.g:9314:2: ( ( RULE_ID ) ) - // InternalApplicationConfiguration.g:9315:3: ( RULE_ID ) - { - before(grammarAccess.getPatternElementAccess().getPatternPatternCrossReference_1_0()); - // InternalApplicationConfiguration.g:9316:3: ( RULE_ID ) - // InternalApplicationConfiguration.g:9317:4: RULE_ID - { - before(grammarAccess.getPatternElementAccess().getPatternPatternIDTerminalRuleCall_1_0_1()); - match(input,RULE_ID,FOLLOW_2); - after(grammarAccess.getPatternElementAccess().getPatternPatternIDTerminalRuleCall_1_0_1()); - - } - - after(grammarAccess.getPatternElementAccess().getPatternPatternCrossReference_1_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__PatternElement__PatternAssignment_1" - - - // $ANTLR start "rule__GraphPatternDeclaration__NameAssignment_1" - // InternalApplicationConfiguration.g:9328:1: rule__GraphPatternDeclaration__NameAssignment_1 : ( RULE_ID ) ; - public final void rule__GraphPatternDeclaration__NameAssignment_1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:9332:1: ( ( RULE_ID ) ) - // InternalApplicationConfiguration.g:9333:2: ( RULE_ID ) - { - // InternalApplicationConfiguration.g:9333:2: ( RULE_ID ) - // InternalApplicationConfiguration.g:9334:3: RULE_ID - { - before(grammarAccess.getGraphPatternDeclarationAccess().getNameIDTerminalRuleCall_1_0()); - match(input,RULE_ID,FOLLOW_2); - after(grammarAccess.getGraphPatternDeclarationAccess().getNameIDTerminalRuleCall_1_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__GraphPatternDeclaration__NameAssignment_1" - - - // $ANTLR start "rule__GraphPatternDeclaration__SpecificationAssignment_2" - // InternalApplicationConfiguration.g:9343:1: rule__GraphPatternDeclaration__SpecificationAssignment_2 : ( rulePatternSpecification ) ; - public final void rule__GraphPatternDeclaration__SpecificationAssignment_2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:9347:1: ( ( rulePatternSpecification ) ) - // InternalApplicationConfiguration.g:9348:2: ( rulePatternSpecification ) - { - // InternalApplicationConfiguration.g:9348:2: ( rulePatternSpecification ) - // InternalApplicationConfiguration.g:9349:3: rulePatternSpecification - { - before(grammarAccess.getGraphPatternDeclarationAccess().getSpecificationPatternSpecificationParserRuleCall_2_0()); - pushFollow(FOLLOW_2); - rulePatternSpecification(); - - state._fsp--; - - after(grammarAccess.getGraphPatternDeclarationAccess().getSpecificationPatternSpecificationParserRuleCall_2_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__GraphPatternDeclaration__SpecificationAssignment_2" - - - // $ANTLR start "rule__GraphPatternReference__ReferredAssignment" - // InternalApplicationConfiguration.g:9358:1: rule__GraphPatternReference__ReferredAssignment : ( ( RULE_ID ) ) ; - public final void rule__GraphPatternReference__ReferredAssignment() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:9362:1: ( ( ( RULE_ID ) ) ) - // InternalApplicationConfiguration.g:9363:2: ( ( RULE_ID ) ) - { - // InternalApplicationConfiguration.g:9363:2: ( ( RULE_ID ) ) - // InternalApplicationConfiguration.g:9364:3: ( RULE_ID ) - { - before(grammarAccess.getGraphPatternReferenceAccess().getReferredGraphPatternDeclarationCrossReference_0()); - // InternalApplicationConfiguration.g:9365:3: ( RULE_ID ) - // InternalApplicationConfiguration.g:9366:4: RULE_ID - { - before(grammarAccess.getGraphPatternReferenceAccess().getReferredGraphPatternDeclarationIDTerminalRuleCall_0_1()); - match(input,RULE_ID,FOLLOW_2); - after(grammarAccess.getGraphPatternReferenceAccess().getReferredGraphPatternDeclarationIDTerminalRuleCall_0_1()); - - } - - after(grammarAccess.getGraphPatternReferenceAccess().getReferredGraphPatternDeclarationCrossReference_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__GraphPatternReference__ReferredAssignment" - - - // $ANTLR start "rule__ConfigSpecification__EntriesAssignment_2_0" - // InternalApplicationConfiguration.g:9377:1: rule__ConfigSpecification__EntriesAssignment_2_0 : ( ruleConfigEntry ) ; - public final void rule__ConfigSpecification__EntriesAssignment_2_0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:9381:1: ( ( ruleConfigEntry ) ) - // InternalApplicationConfiguration.g:9382:2: ( ruleConfigEntry ) - { - // InternalApplicationConfiguration.g:9382:2: ( ruleConfigEntry ) - // InternalApplicationConfiguration.g:9383:3: ruleConfigEntry - { - before(grammarAccess.getConfigSpecificationAccess().getEntriesConfigEntryParserRuleCall_2_0_0()); - pushFollow(FOLLOW_2); - ruleConfigEntry(); - - state._fsp--; - - after(grammarAccess.getConfigSpecificationAccess().getEntriesConfigEntryParserRuleCall_2_0_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ConfigSpecification__EntriesAssignment_2_0" - - - // $ANTLR start "rule__ConfigSpecification__EntriesAssignment_2_1_1" - // InternalApplicationConfiguration.g:9392:1: rule__ConfigSpecification__EntriesAssignment_2_1_1 : ( ruleConfigEntry ) ; - public final void rule__ConfigSpecification__EntriesAssignment_2_1_1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:9396:1: ( ( ruleConfigEntry ) ) - // InternalApplicationConfiguration.g:9397:2: ( ruleConfigEntry ) - { - // InternalApplicationConfiguration.g:9397:2: ( ruleConfigEntry ) - // InternalApplicationConfiguration.g:9398:3: ruleConfigEntry - { - before(grammarAccess.getConfigSpecificationAccess().getEntriesConfigEntryParserRuleCall_2_1_1_0()); - pushFollow(FOLLOW_2); - ruleConfigEntry(); - - state._fsp--; - - after(grammarAccess.getConfigSpecificationAccess().getEntriesConfigEntryParserRuleCall_2_1_1_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ConfigSpecification__EntriesAssignment_2_1_1" - - - // $ANTLR start "rule__ConfigDeclaration__NameAssignment_1" - // InternalApplicationConfiguration.g:9407:1: rule__ConfigDeclaration__NameAssignment_1 : ( RULE_ID ) ; - public final void rule__ConfigDeclaration__NameAssignment_1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:9411:1: ( ( RULE_ID ) ) - // InternalApplicationConfiguration.g:9412:2: ( RULE_ID ) - { - // InternalApplicationConfiguration.g:9412:2: ( RULE_ID ) - // InternalApplicationConfiguration.g:9413:3: RULE_ID - { - before(grammarAccess.getConfigDeclarationAccess().getNameIDTerminalRuleCall_1_0()); - match(input,RULE_ID,FOLLOW_2); - after(grammarAccess.getConfigDeclarationAccess().getNameIDTerminalRuleCall_1_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ConfigDeclaration__NameAssignment_1" - - - // $ANTLR start "rule__ConfigDeclaration__SpecificationAssignment_2" - // InternalApplicationConfiguration.g:9422:1: rule__ConfigDeclaration__SpecificationAssignment_2 : ( ruleConfigSpecification ) ; - public final void rule__ConfigDeclaration__SpecificationAssignment_2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:9426:1: ( ( ruleConfigSpecification ) ) - // InternalApplicationConfiguration.g:9427:2: ( ruleConfigSpecification ) - { - // InternalApplicationConfiguration.g:9427:2: ( ruleConfigSpecification ) - // InternalApplicationConfiguration.g:9428:3: ruleConfigSpecification - { - before(grammarAccess.getConfigDeclarationAccess().getSpecificationConfigSpecificationParserRuleCall_2_0()); - pushFollow(FOLLOW_2); - ruleConfigSpecification(); - - state._fsp--; - - after(grammarAccess.getConfigDeclarationAccess().getSpecificationConfigSpecificationParserRuleCall_2_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ConfigDeclaration__SpecificationAssignment_2" - - - // $ANTLR start "rule__DocumentationEntry__LevelAssignment_2" - // InternalApplicationConfiguration.g:9437:1: rule__DocumentationEntry__LevelAssignment_2 : ( ruleDocumentLevelSpecification ) ; - public final void rule__DocumentationEntry__LevelAssignment_2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:9441:1: ( ( ruleDocumentLevelSpecification ) ) - // InternalApplicationConfiguration.g:9442:2: ( ruleDocumentLevelSpecification ) - { - // InternalApplicationConfiguration.g:9442:2: ( ruleDocumentLevelSpecification ) - // InternalApplicationConfiguration.g:9443:3: ruleDocumentLevelSpecification - { - before(grammarAccess.getDocumentationEntryAccess().getLevelDocumentLevelSpecificationEnumRuleCall_2_0()); - pushFollow(FOLLOW_2); - ruleDocumentLevelSpecification(); - - state._fsp--; - - after(grammarAccess.getDocumentationEntryAccess().getLevelDocumentLevelSpecificationEnumRuleCall_2_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__DocumentationEntry__LevelAssignment_2" - - - // $ANTLR start "rule__RuntimeEntry__MillisecLimitAssignment_2" - // InternalApplicationConfiguration.g:9452:1: rule__RuntimeEntry__MillisecLimitAssignment_2 : ( RULE_INT ) ; - public final void rule__RuntimeEntry__MillisecLimitAssignment_2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:9456:1: ( ( RULE_INT ) ) - // InternalApplicationConfiguration.g:9457:2: ( RULE_INT ) - { - // InternalApplicationConfiguration.g:9457:2: ( RULE_INT ) - // InternalApplicationConfiguration.g:9458:3: RULE_INT - { - before(grammarAccess.getRuntimeEntryAccess().getMillisecLimitINTTerminalRuleCall_2_0()); - match(input,RULE_INT,FOLLOW_2); - after(grammarAccess.getRuntimeEntryAccess().getMillisecLimitINTTerminalRuleCall_2_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__RuntimeEntry__MillisecLimitAssignment_2" - - - // $ANTLR start "rule__MemoryEntry__MegabyteLimitAssignment_2" - // InternalApplicationConfiguration.g:9467:1: rule__MemoryEntry__MegabyteLimitAssignment_2 : ( RULE_INT ) ; - public final void rule__MemoryEntry__MegabyteLimitAssignment_2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:9471:1: ( ( RULE_INT ) ) - // InternalApplicationConfiguration.g:9472:2: ( RULE_INT ) - { - // InternalApplicationConfiguration.g:9472:2: ( RULE_INT ) - // InternalApplicationConfiguration.g:9473:3: RULE_INT - { - before(grammarAccess.getMemoryEntryAccess().getMegabyteLimitINTTerminalRuleCall_2_0()); - match(input,RULE_INT,FOLLOW_2); - after(grammarAccess.getMemoryEntryAccess().getMegabyteLimitINTTerminalRuleCall_2_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__MemoryEntry__MegabyteLimitAssignment_2" - - - // $ANTLR start "rule__CustomEntry__KeyAssignment_0" - // InternalApplicationConfiguration.g:9482:1: rule__CustomEntry__KeyAssignment_0 : ( RULE_STRING ) ; - public final void rule__CustomEntry__KeyAssignment_0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:9486:1: ( ( RULE_STRING ) ) - // InternalApplicationConfiguration.g:9487:2: ( RULE_STRING ) - { - // InternalApplicationConfiguration.g:9487:2: ( RULE_STRING ) - // InternalApplicationConfiguration.g:9488:3: RULE_STRING - { - before(grammarAccess.getCustomEntryAccess().getKeySTRINGTerminalRuleCall_0_0()); - match(input,RULE_STRING,FOLLOW_2); - after(grammarAccess.getCustomEntryAccess().getKeySTRINGTerminalRuleCall_0_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__CustomEntry__KeyAssignment_0" - - - // $ANTLR start "rule__CustomEntry__ValueAssignment_2" - // InternalApplicationConfiguration.g:9497:1: rule__CustomEntry__ValueAssignment_2 : ( RULE_STRING ) ; - public final void rule__CustomEntry__ValueAssignment_2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:9501:1: ( ( RULE_STRING ) ) - // InternalApplicationConfiguration.g:9502:2: ( RULE_STRING ) - { - // InternalApplicationConfiguration.g:9502:2: ( RULE_STRING ) - // InternalApplicationConfiguration.g:9503:3: RULE_STRING - { - before(grammarAccess.getCustomEntryAccess().getValueSTRINGTerminalRuleCall_2_0()); - match(input,RULE_STRING,FOLLOW_2); - after(grammarAccess.getCustomEntryAccess().getValueSTRINGTerminalRuleCall_2_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__CustomEntry__ValueAssignment_2" - - - // $ANTLR start "rule__ConfigReference__ConfigAssignment" - // InternalApplicationConfiguration.g:9512:1: rule__ConfigReference__ConfigAssignment : ( ( RULE_ID ) ) ; - public final void rule__ConfigReference__ConfigAssignment() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:9516:1: ( ( ( RULE_ID ) ) ) - // InternalApplicationConfiguration.g:9517:2: ( ( RULE_ID ) ) - { - // InternalApplicationConfiguration.g:9517:2: ( ( RULE_ID ) ) - // InternalApplicationConfiguration.g:9518:3: ( RULE_ID ) - { - before(grammarAccess.getConfigReferenceAccess().getConfigConfigDeclarationCrossReference_0()); - // InternalApplicationConfiguration.g:9519:3: ( RULE_ID ) - // InternalApplicationConfiguration.g:9520:4: RULE_ID - { - before(grammarAccess.getConfigReferenceAccess().getConfigConfigDeclarationIDTerminalRuleCall_0_1()); - match(input,RULE_ID,FOLLOW_2); - after(grammarAccess.getConfigReferenceAccess().getConfigConfigDeclarationIDTerminalRuleCall_0_1()); - - } - - after(grammarAccess.getConfigReferenceAccess().getConfigConfigDeclarationCrossReference_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ConfigReference__ConfigAssignment" - - - // $ANTLR start "rule__ScopeSpecification__ScopesAssignment_2_0" - // InternalApplicationConfiguration.g:9531:1: rule__ScopeSpecification__ScopesAssignment_2_0 : ( ruleTypeScope ) ; - public final void rule__ScopeSpecification__ScopesAssignment_2_0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:9535:1: ( ( ruleTypeScope ) ) - // InternalApplicationConfiguration.g:9536:2: ( ruleTypeScope ) - { - // InternalApplicationConfiguration.g:9536:2: ( ruleTypeScope ) - // InternalApplicationConfiguration.g:9537:3: ruleTypeScope - { - before(grammarAccess.getScopeSpecificationAccess().getScopesTypeScopeParserRuleCall_2_0_0()); - pushFollow(FOLLOW_2); - ruleTypeScope(); - - state._fsp--; - - after(grammarAccess.getScopeSpecificationAccess().getScopesTypeScopeParserRuleCall_2_0_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ScopeSpecification__ScopesAssignment_2_0" - - - // $ANTLR start "rule__ScopeSpecification__ScopesAssignment_2_1_1" - // InternalApplicationConfiguration.g:9546:1: rule__ScopeSpecification__ScopesAssignment_2_1_1 : ( ruleTypeScope ) ; - public final void rule__ScopeSpecification__ScopesAssignment_2_1_1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:9550:1: ( ( ruleTypeScope ) ) - // InternalApplicationConfiguration.g:9551:2: ( ruleTypeScope ) - { - // InternalApplicationConfiguration.g:9551:2: ( ruleTypeScope ) - // InternalApplicationConfiguration.g:9552:3: ruleTypeScope - { - before(grammarAccess.getScopeSpecificationAccess().getScopesTypeScopeParserRuleCall_2_1_1_0()); - pushFollow(FOLLOW_2); - ruleTypeScope(); - - state._fsp--; - - after(grammarAccess.getScopeSpecificationAccess().getScopesTypeScopeParserRuleCall_2_1_1_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ScopeSpecification__ScopesAssignment_2_1_1" - - - // $ANTLR start "rule__ClassTypeScope__TypeAssignment_1" - // InternalApplicationConfiguration.g:9561:1: rule__ClassTypeScope__TypeAssignment_1 : ( ruleClassReference ) ; - public final void rule__ClassTypeScope__TypeAssignment_1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:9565:1: ( ( ruleClassReference ) ) - // InternalApplicationConfiguration.g:9566:2: ( ruleClassReference ) - { - // InternalApplicationConfiguration.g:9566:2: ( ruleClassReference ) - // InternalApplicationConfiguration.g:9567:3: ruleClassReference - { - before(grammarAccess.getClassTypeScopeAccess().getTypeClassReferenceParserRuleCall_1_0()); - pushFollow(FOLLOW_2); - ruleClassReference(); - - state._fsp--; - - after(grammarAccess.getClassTypeScopeAccess().getTypeClassReferenceParserRuleCall_1_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ClassTypeScope__TypeAssignment_1" - - - // $ANTLR start "rule__ClassTypeScope__SetsNewAssignment_2_0" - // InternalApplicationConfiguration.g:9576:1: rule__ClassTypeScope__SetsNewAssignment_2_0 : ( ( '+=' ) ) ; - public final void rule__ClassTypeScope__SetsNewAssignment_2_0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:9580:1: ( ( ( '+=' ) ) ) - // InternalApplicationConfiguration.g:9581:2: ( ( '+=' ) ) - { - // InternalApplicationConfiguration.g:9581:2: ( ( '+=' ) ) - // InternalApplicationConfiguration.g:9582:3: ( '+=' ) - { - before(grammarAccess.getClassTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); - // InternalApplicationConfiguration.g:9583:3: ( '+=' ) - // InternalApplicationConfiguration.g:9584:4: '+=' - { - before(grammarAccess.getClassTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); - match(input,54,FOLLOW_2); - after(grammarAccess.getClassTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); - - } - - after(grammarAccess.getClassTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ClassTypeScope__SetsNewAssignment_2_0" - - - // $ANTLR start "rule__ClassTypeScope__SetsSumAssignment_2_1" - // InternalApplicationConfiguration.g:9595:1: rule__ClassTypeScope__SetsSumAssignment_2_1 : ( ( '=' ) ) ; - public final void rule__ClassTypeScope__SetsSumAssignment_2_1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:9599:1: ( ( ( '=' ) ) ) - // InternalApplicationConfiguration.g:9600:2: ( ( '=' ) ) - { - // InternalApplicationConfiguration.g:9600:2: ( ( '=' ) ) - // InternalApplicationConfiguration.g:9601:3: ( '=' ) - { - before(grammarAccess.getClassTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); - // InternalApplicationConfiguration.g:9602:3: ( '=' ) - // InternalApplicationConfiguration.g:9603:4: '=' - { - before(grammarAccess.getClassTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); - match(input,23,FOLLOW_2); - after(grammarAccess.getClassTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); - - } - - after(grammarAccess.getClassTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ClassTypeScope__SetsSumAssignment_2_1" - - - // $ANTLR start "rule__ClassTypeScope__NumberAssignment_3_0" - // InternalApplicationConfiguration.g:9614:1: rule__ClassTypeScope__NumberAssignment_3_0 : ( ruleExactNumber ) ; - public final void rule__ClassTypeScope__NumberAssignment_3_0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:9618:1: ( ( ruleExactNumber ) ) - // InternalApplicationConfiguration.g:9619:2: ( ruleExactNumber ) - { - // InternalApplicationConfiguration.g:9619:2: ( ruleExactNumber ) - // InternalApplicationConfiguration.g:9620:3: ruleExactNumber - { - before(grammarAccess.getClassTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0()); - pushFollow(FOLLOW_2); - ruleExactNumber(); - - state._fsp--; - - after(grammarAccess.getClassTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ClassTypeScope__NumberAssignment_3_0" - - - // $ANTLR start "rule__ClassTypeScope__NumberAssignment_3_1" - // InternalApplicationConfiguration.g:9629:1: rule__ClassTypeScope__NumberAssignment_3_1 : ( ruleIntervallNumber ) ; - public final void rule__ClassTypeScope__NumberAssignment_3_1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:9633:1: ( ( ruleIntervallNumber ) ) - // InternalApplicationConfiguration.g:9634:2: ( ruleIntervallNumber ) - { - // InternalApplicationConfiguration.g:9634:2: ( ruleIntervallNumber ) - // InternalApplicationConfiguration.g:9635:3: ruleIntervallNumber - { - before(grammarAccess.getClassTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0()); - pushFollow(FOLLOW_2); - ruleIntervallNumber(); - - state._fsp--; - - after(grammarAccess.getClassTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ClassTypeScope__NumberAssignment_3_1" - - - // $ANTLR start "rule__ObjectTypeScope__TypeAssignment_1" - // InternalApplicationConfiguration.g:9644:1: rule__ObjectTypeScope__TypeAssignment_1 : ( ruleObjectReference ) ; - public final void rule__ObjectTypeScope__TypeAssignment_1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:9648:1: ( ( ruleObjectReference ) ) - // InternalApplicationConfiguration.g:9649:2: ( ruleObjectReference ) - { - // InternalApplicationConfiguration.g:9649:2: ( ruleObjectReference ) - // InternalApplicationConfiguration.g:9650:3: ruleObjectReference - { - before(grammarAccess.getObjectTypeScopeAccess().getTypeObjectReferenceParserRuleCall_1_0()); - pushFollow(FOLLOW_2); - ruleObjectReference(); - - state._fsp--; - - after(grammarAccess.getObjectTypeScopeAccess().getTypeObjectReferenceParserRuleCall_1_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ObjectTypeScope__TypeAssignment_1" - - - // $ANTLR start "rule__ObjectTypeScope__SetsNewAssignment_2_0" - // InternalApplicationConfiguration.g:9659:1: rule__ObjectTypeScope__SetsNewAssignment_2_0 : ( ( '+=' ) ) ; - public final void rule__ObjectTypeScope__SetsNewAssignment_2_0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:9663:1: ( ( ( '+=' ) ) ) - // InternalApplicationConfiguration.g:9664:2: ( ( '+=' ) ) - { - // InternalApplicationConfiguration.g:9664:2: ( ( '+=' ) ) - // InternalApplicationConfiguration.g:9665:3: ( '+=' ) - { - before(grammarAccess.getObjectTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); - // InternalApplicationConfiguration.g:9666:3: ( '+=' ) - // InternalApplicationConfiguration.g:9667:4: '+=' - { - before(grammarAccess.getObjectTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); - match(input,54,FOLLOW_2); - after(grammarAccess.getObjectTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); - - } - - after(grammarAccess.getObjectTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ObjectTypeScope__SetsNewAssignment_2_0" - - - // $ANTLR start "rule__ObjectTypeScope__SetsSumAssignment_2_1" - // InternalApplicationConfiguration.g:9678:1: rule__ObjectTypeScope__SetsSumAssignment_2_1 : ( ( '=' ) ) ; - public final void rule__ObjectTypeScope__SetsSumAssignment_2_1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:9682:1: ( ( ( '=' ) ) ) - // InternalApplicationConfiguration.g:9683:2: ( ( '=' ) ) - { - // InternalApplicationConfiguration.g:9683:2: ( ( '=' ) ) - // InternalApplicationConfiguration.g:9684:3: ( '=' ) - { - before(grammarAccess.getObjectTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); - // InternalApplicationConfiguration.g:9685:3: ( '=' ) - // InternalApplicationConfiguration.g:9686:4: '=' - { - before(grammarAccess.getObjectTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); - match(input,23,FOLLOW_2); - after(grammarAccess.getObjectTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); - - } - - after(grammarAccess.getObjectTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ObjectTypeScope__SetsSumAssignment_2_1" - - - // $ANTLR start "rule__ObjectTypeScope__NumberAssignment_3_0" - // InternalApplicationConfiguration.g:9697:1: rule__ObjectTypeScope__NumberAssignment_3_0 : ( ruleExactNumber ) ; - public final void rule__ObjectTypeScope__NumberAssignment_3_0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:9701:1: ( ( ruleExactNumber ) ) - // InternalApplicationConfiguration.g:9702:2: ( ruleExactNumber ) - { - // InternalApplicationConfiguration.g:9702:2: ( ruleExactNumber ) - // InternalApplicationConfiguration.g:9703:3: ruleExactNumber - { - before(grammarAccess.getObjectTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0()); - pushFollow(FOLLOW_2); - ruleExactNumber(); - - state._fsp--; - - after(grammarAccess.getObjectTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ObjectTypeScope__NumberAssignment_3_0" - - - // $ANTLR start "rule__ObjectTypeScope__NumberAssignment_3_1" - // InternalApplicationConfiguration.g:9712:1: rule__ObjectTypeScope__NumberAssignment_3_1 : ( ruleIntervallNumber ) ; - public final void rule__ObjectTypeScope__NumberAssignment_3_1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:9716:1: ( ( ruleIntervallNumber ) ) - // InternalApplicationConfiguration.g:9717:2: ( ruleIntervallNumber ) - { - // InternalApplicationConfiguration.g:9717:2: ( ruleIntervallNumber ) - // InternalApplicationConfiguration.g:9718:3: ruleIntervallNumber - { - before(grammarAccess.getObjectTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0()); - pushFollow(FOLLOW_2); - ruleIntervallNumber(); - - state._fsp--; - - after(grammarAccess.getObjectTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ObjectTypeScope__NumberAssignment_3_1" - - - // $ANTLR start "rule__IntegerTypeScope__TypeAssignment_1" - // InternalApplicationConfiguration.g:9727:1: rule__IntegerTypeScope__TypeAssignment_1 : ( ruleIntegerReference ) ; - public final void rule__IntegerTypeScope__TypeAssignment_1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:9731:1: ( ( ruleIntegerReference ) ) - // InternalApplicationConfiguration.g:9732:2: ( ruleIntegerReference ) - { - // InternalApplicationConfiguration.g:9732:2: ( ruleIntegerReference ) - // InternalApplicationConfiguration.g:9733:3: ruleIntegerReference - { - before(grammarAccess.getIntegerTypeScopeAccess().getTypeIntegerReferenceParserRuleCall_1_0()); - pushFollow(FOLLOW_2); - ruleIntegerReference(); - - state._fsp--; - - after(grammarAccess.getIntegerTypeScopeAccess().getTypeIntegerReferenceParserRuleCall_1_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__IntegerTypeScope__TypeAssignment_1" - - - // $ANTLR start "rule__IntegerTypeScope__SetsNewAssignment_2_0" - // InternalApplicationConfiguration.g:9742:1: rule__IntegerTypeScope__SetsNewAssignment_2_0 : ( ( '+=' ) ) ; - public final void rule__IntegerTypeScope__SetsNewAssignment_2_0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:9746:1: ( ( ( '+=' ) ) ) - // InternalApplicationConfiguration.g:9747:2: ( ( '+=' ) ) - { - // InternalApplicationConfiguration.g:9747:2: ( ( '+=' ) ) - // InternalApplicationConfiguration.g:9748:3: ( '+=' ) - { - before(grammarAccess.getIntegerTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); - // InternalApplicationConfiguration.g:9749:3: ( '+=' ) - // InternalApplicationConfiguration.g:9750:4: '+=' - { - before(grammarAccess.getIntegerTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); - match(input,54,FOLLOW_2); - after(grammarAccess.getIntegerTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); - - } - - after(grammarAccess.getIntegerTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__IntegerTypeScope__SetsNewAssignment_2_0" - - - // $ANTLR start "rule__IntegerTypeScope__SetsSumAssignment_2_1" - // InternalApplicationConfiguration.g:9761:1: rule__IntegerTypeScope__SetsSumAssignment_2_1 : ( ( '=' ) ) ; - public final void rule__IntegerTypeScope__SetsSumAssignment_2_1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:9765:1: ( ( ( '=' ) ) ) - // InternalApplicationConfiguration.g:9766:2: ( ( '=' ) ) - { - // InternalApplicationConfiguration.g:9766:2: ( ( '=' ) ) - // InternalApplicationConfiguration.g:9767:3: ( '=' ) - { - before(grammarAccess.getIntegerTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); - // InternalApplicationConfiguration.g:9768:3: ( '=' ) - // InternalApplicationConfiguration.g:9769:4: '=' - { - before(grammarAccess.getIntegerTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); - match(input,23,FOLLOW_2); - after(grammarAccess.getIntegerTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); - - } - - after(grammarAccess.getIntegerTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__IntegerTypeScope__SetsSumAssignment_2_1" - - - // $ANTLR start "rule__IntegerTypeScope__NumberAssignment_3_0" - // InternalApplicationConfiguration.g:9780:1: rule__IntegerTypeScope__NumberAssignment_3_0 : ( ruleExactNumber ) ; - public final void rule__IntegerTypeScope__NumberAssignment_3_0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:9784:1: ( ( ruleExactNumber ) ) - // InternalApplicationConfiguration.g:9785:2: ( ruleExactNumber ) - { - // InternalApplicationConfiguration.g:9785:2: ( ruleExactNumber ) - // InternalApplicationConfiguration.g:9786:3: ruleExactNumber - { - before(grammarAccess.getIntegerTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0()); - pushFollow(FOLLOW_2); - ruleExactNumber(); - - state._fsp--; - - after(grammarAccess.getIntegerTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__IntegerTypeScope__NumberAssignment_3_0" - - - // $ANTLR start "rule__IntegerTypeScope__NumberAssignment_3_1" - // InternalApplicationConfiguration.g:9795:1: rule__IntegerTypeScope__NumberAssignment_3_1 : ( ruleIntervallNumber ) ; - public final void rule__IntegerTypeScope__NumberAssignment_3_1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:9799:1: ( ( ruleIntervallNumber ) ) - // InternalApplicationConfiguration.g:9800:2: ( ruleIntervallNumber ) - { - // InternalApplicationConfiguration.g:9800:2: ( ruleIntervallNumber ) - // InternalApplicationConfiguration.g:9801:3: ruleIntervallNumber - { - before(grammarAccess.getIntegerTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0()); - pushFollow(FOLLOW_2); - ruleIntervallNumber(); - - state._fsp--; - - after(grammarAccess.getIntegerTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__IntegerTypeScope__NumberAssignment_3_1" - - - // $ANTLR start "rule__IntegerTypeScope__NumberAssignment_3_2" - // InternalApplicationConfiguration.g:9810:1: rule__IntegerTypeScope__NumberAssignment_3_2 : ( ruleIntEnumberation ) ; - public final void rule__IntegerTypeScope__NumberAssignment_3_2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:9814:1: ( ( ruleIntEnumberation ) ) - // InternalApplicationConfiguration.g:9815:2: ( ruleIntEnumberation ) - { - // InternalApplicationConfiguration.g:9815:2: ( ruleIntEnumberation ) - // InternalApplicationConfiguration.g:9816:3: ruleIntEnumberation - { - before(grammarAccess.getIntegerTypeScopeAccess().getNumberIntEnumberationParserRuleCall_3_2_0()); - pushFollow(FOLLOW_2); - ruleIntEnumberation(); - - state._fsp--; - - after(grammarAccess.getIntegerTypeScopeAccess().getNumberIntEnumberationParserRuleCall_3_2_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__IntegerTypeScope__NumberAssignment_3_2" - - - // $ANTLR start "rule__RealTypeScope__TypeAssignment_1" - // InternalApplicationConfiguration.g:9825:1: rule__RealTypeScope__TypeAssignment_1 : ( ruleRealReference ) ; - public final void rule__RealTypeScope__TypeAssignment_1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:9829:1: ( ( ruleRealReference ) ) - // InternalApplicationConfiguration.g:9830:2: ( ruleRealReference ) - { - // InternalApplicationConfiguration.g:9830:2: ( ruleRealReference ) - // InternalApplicationConfiguration.g:9831:3: ruleRealReference - { - before(grammarAccess.getRealTypeScopeAccess().getTypeRealReferenceParserRuleCall_1_0()); - pushFollow(FOLLOW_2); - ruleRealReference(); - - state._fsp--; - - after(grammarAccess.getRealTypeScopeAccess().getTypeRealReferenceParserRuleCall_1_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__RealTypeScope__TypeAssignment_1" - - - // $ANTLR start "rule__RealTypeScope__SetsNewAssignment_2_0" - // InternalApplicationConfiguration.g:9840:1: rule__RealTypeScope__SetsNewAssignment_2_0 : ( ( '+=' ) ) ; - public final void rule__RealTypeScope__SetsNewAssignment_2_0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:9844:1: ( ( ( '+=' ) ) ) - // InternalApplicationConfiguration.g:9845:2: ( ( '+=' ) ) - { - // InternalApplicationConfiguration.g:9845:2: ( ( '+=' ) ) - // InternalApplicationConfiguration.g:9846:3: ( '+=' ) - { - before(grammarAccess.getRealTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); - // InternalApplicationConfiguration.g:9847:3: ( '+=' ) - // InternalApplicationConfiguration.g:9848:4: '+=' - { - before(grammarAccess.getRealTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); - match(input,54,FOLLOW_2); - after(grammarAccess.getRealTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); - - } - - after(grammarAccess.getRealTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__RealTypeScope__SetsNewAssignment_2_0" - - - // $ANTLR start "rule__RealTypeScope__SetsSumAssignment_2_1" - // InternalApplicationConfiguration.g:9859:1: rule__RealTypeScope__SetsSumAssignment_2_1 : ( ( '=' ) ) ; - public final void rule__RealTypeScope__SetsSumAssignment_2_1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:9863:1: ( ( ( '=' ) ) ) - // InternalApplicationConfiguration.g:9864:2: ( ( '=' ) ) - { - // InternalApplicationConfiguration.g:9864:2: ( ( '=' ) ) - // InternalApplicationConfiguration.g:9865:3: ( '=' ) - { - before(grammarAccess.getRealTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); - // InternalApplicationConfiguration.g:9866:3: ( '=' ) - // InternalApplicationConfiguration.g:9867:4: '=' - { - before(grammarAccess.getRealTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); - match(input,23,FOLLOW_2); - after(grammarAccess.getRealTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); - - } - - after(grammarAccess.getRealTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__RealTypeScope__SetsSumAssignment_2_1" - - - // $ANTLR start "rule__RealTypeScope__NumberAssignment_3_0" - // InternalApplicationConfiguration.g:9878:1: rule__RealTypeScope__NumberAssignment_3_0 : ( ruleExactNumber ) ; - public final void rule__RealTypeScope__NumberAssignment_3_0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:9882:1: ( ( ruleExactNumber ) ) - // InternalApplicationConfiguration.g:9883:2: ( ruleExactNumber ) - { - // InternalApplicationConfiguration.g:9883:2: ( ruleExactNumber ) - // InternalApplicationConfiguration.g:9884:3: ruleExactNumber - { - before(grammarAccess.getRealTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0()); - pushFollow(FOLLOW_2); - ruleExactNumber(); - - state._fsp--; - - after(grammarAccess.getRealTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__RealTypeScope__NumberAssignment_3_0" - - - // $ANTLR start "rule__RealTypeScope__NumberAssignment_3_1" - // InternalApplicationConfiguration.g:9893:1: rule__RealTypeScope__NumberAssignment_3_1 : ( ruleIntervallNumber ) ; - public final void rule__RealTypeScope__NumberAssignment_3_1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:9897:1: ( ( ruleIntervallNumber ) ) - // InternalApplicationConfiguration.g:9898:2: ( ruleIntervallNumber ) - { - // InternalApplicationConfiguration.g:9898:2: ( ruleIntervallNumber ) - // InternalApplicationConfiguration.g:9899:3: ruleIntervallNumber - { - before(grammarAccess.getRealTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0()); - pushFollow(FOLLOW_2); - ruleIntervallNumber(); - - state._fsp--; - - after(grammarAccess.getRealTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__RealTypeScope__NumberAssignment_3_1" - - - // $ANTLR start "rule__RealTypeScope__NumberAssignment_3_2" - // InternalApplicationConfiguration.g:9908:1: rule__RealTypeScope__NumberAssignment_3_2 : ( ruleRealEnumeration ) ; - public final void rule__RealTypeScope__NumberAssignment_3_2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:9912:1: ( ( ruleRealEnumeration ) ) - // InternalApplicationConfiguration.g:9913:2: ( ruleRealEnumeration ) - { - // InternalApplicationConfiguration.g:9913:2: ( ruleRealEnumeration ) - // InternalApplicationConfiguration.g:9914:3: ruleRealEnumeration - { - before(grammarAccess.getRealTypeScopeAccess().getNumberRealEnumerationParserRuleCall_3_2_0()); - pushFollow(FOLLOW_2); - ruleRealEnumeration(); - - state._fsp--; - - after(grammarAccess.getRealTypeScopeAccess().getNumberRealEnumerationParserRuleCall_3_2_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__RealTypeScope__NumberAssignment_3_2" - - - // $ANTLR start "rule__StringTypeScope__TypeAssignment_1" - // InternalApplicationConfiguration.g:9923:1: rule__StringTypeScope__TypeAssignment_1 : ( ruleStringReference ) ; - public final void rule__StringTypeScope__TypeAssignment_1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:9927:1: ( ( ruleStringReference ) ) - // InternalApplicationConfiguration.g:9928:2: ( ruleStringReference ) - { - // InternalApplicationConfiguration.g:9928:2: ( ruleStringReference ) - // InternalApplicationConfiguration.g:9929:3: ruleStringReference - { - before(grammarAccess.getStringTypeScopeAccess().getTypeStringReferenceParserRuleCall_1_0()); - pushFollow(FOLLOW_2); - ruleStringReference(); - - state._fsp--; - - after(grammarAccess.getStringTypeScopeAccess().getTypeStringReferenceParserRuleCall_1_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__StringTypeScope__TypeAssignment_1" - - - // $ANTLR start "rule__StringTypeScope__SetsNewAssignment_2_0" - // InternalApplicationConfiguration.g:9938:1: rule__StringTypeScope__SetsNewAssignment_2_0 : ( ( '+=' ) ) ; - public final void rule__StringTypeScope__SetsNewAssignment_2_0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:9942:1: ( ( ( '+=' ) ) ) - // InternalApplicationConfiguration.g:9943:2: ( ( '+=' ) ) - { - // InternalApplicationConfiguration.g:9943:2: ( ( '+=' ) ) - // InternalApplicationConfiguration.g:9944:3: ( '+=' ) - { - before(grammarAccess.getStringTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); - // InternalApplicationConfiguration.g:9945:3: ( '+=' ) - // InternalApplicationConfiguration.g:9946:4: '+=' - { - before(grammarAccess.getStringTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); - match(input,54,FOLLOW_2); - after(grammarAccess.getStringTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); - - } - - after(grammarAccess.getStringTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__StringTypeScope__SetsNewAssignment_2_0" - - - // $ANTLR start "rule__StringTypeScope__SetsSumAssignment_2_1" - // InternalApplicationConfiguration.g:9957:1: rule__StringTypeScope__SetsSumAssignment_2_1 : ( ( '=' ) ) ; - public final void rule__StringTypeScope__SetsSumAssignment_2_1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:9961:1: ( ( ( '=' ) ) ) - // InternalApplicationConfiguration.g:9962:2: ( ( '=' ) ) - { - // InternalApplicationConfiguration.g:9962:2: ( ( '=' ) ) - // InternalApplicationConfiguration.g:9963:3: ( '=' ) - { - before(grammarAccess.getStringTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); - // InternalApplicationConfiguration.g:9964:3: ( '=' ) - // InternalApplicationConfiguration.g:9965:4: '=' - { - before(grammarAccess.getStringTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); - match(input,23,FOLLOW_2); - after(grammarAccess.getStringTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); - - } - - after(grammarAccess.getStringTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__StringTypeScope__SetsSumAssignment_2_1" - - - // $ANTLR start "rule__StringTypeScope__NumberAssignment_3_0" - // InternalApplicationConfiguration.g:9976:1: rule__StringTypeScope__NumberAssignment_3_0 : ( ruleExactNumber ) ; - public final void rule__StringTypeScope__NumberAssignment_3_0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:9980:1: ( ( ruleExactNumber ) ) - // InternalApplicationConfiguration.g:9981:2: ( ruleExactNumber ) - { - // InternalApplicationConfiguration.g:9981:2: ( ruleExactNumber ) - // InternalApplicationConfiguration.g:9982:3: ruleExactNumber - { - before(grammarAccess.getStringTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0()); - pushFollow(FOLLOW_2); - ruleExactNumber(); - - state._fsp--; - - after(grammarAccess.getStringTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__StringTypeScope__NumberAssignment_3_0" - - - // $ANTLR start "rule__StringTypeScope__NumberAssignment_3_1" - // InternalApplicationConfiguration.g:9991:1: rule__StringTypeScope__NumberAssignment_3_1 : ( ruleIntervallNumber ) ; - public final void rule__StringTypeScope__NumberAssignment_3_1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:9995:1: ( ( ruleIntervallNumber ) ) - // InternalApplicationConfiguration.g:9996:2: ( ruleIntervallNumber ) - { - // InternalApplicationConfiguration.g:9996:2: ( ruleIntervallNumber ) - // InternalApplicationConfiguration.g:9997:3: ruleIntervallNumber - { - before(grammarAccess.getStringTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0()); - pushFollow(FOLLOW_2); - ruleIntervallNumber(); - - state._fsp--; - - after(grammarAccess.getStringTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__StringTypeScope__NumberAssignment_3_1" - - - // $ANTLR start "rule__StringTypeScope__NumberAssignment_3_2" - // InternalApplicationConfiguration.g:10006:1: rule__StringTypeScope__NumberAssignment_3_2 : ( ruleStringEnumeration ) ; - public final void rule__StringTypeScope__NumberAssignment_3_2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:10010:1: ( ( ruleStringEnumeration ) ) - // InternalApplicationConfiguration.g:10011:2: ( ruleStringEnumeration ) - { - // InternalApplicationConfiguration.g:10011:2: ( ruleStringEnumeration ) - // InternalApplicationConfiguration.g:10012:3: ruleStringEnumeration - { - before(grammarAccess.getStringTypeScopeAccess().getNumberStringEnumerationParserRuleCall_3_2_0()); - pushFollow(FOLLOW_2); - ruleStringEnumeration(); - - state._fsp--; - - after(grammarAccess.getStringTypeScopeAccess().getNumberStringEnumerationParserRuleCall_3_2_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__StringTypeScope__NumberAssignment_3_2" - - - // $ANTLR start "rule__ClassReference__ElementAssignment_1" - // InternalApplicationConfiguration.g:10021:1: rule__ClassReference__ElementAssignment_1 : ( ruleMetamodelElement ) ; - public final void rule__ClassReference__ElementAssignment_1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:10025:1: ( ( ruleMetamodelElement ) ) - // InternalApplicationConfiguration.g:10026:2: ( ruleMetamodelElement ) - { - // InternalApplicationConfiguration.g:10026:2: ( ruleMetamodelElement ) - // InternalApplicationConfiguration.g:10027:3: ruleMetamodelElement - { - before(grammarAccess.getClassReferenceAccess().getElementMetamodelElementParserRuleCall_1_0()); - pushFollow(FOLLOW_2); - ruleMetamodelElement(); - - state._fsp--; - - after(grammarAccess.getClassReferenceAccess().getElementMetamodelElementParserRuleCall_1_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ClassReference__ElementAssignment_1" - - - // $ANTLR start "rule__ExactNumber__ExactNumberAssignment_0" - // InternalApplicationConfiguration.g:10036:1: rule__ExactNumber__ExactNumberAssignment_0 : ( RULE_INT ) ; - public final void rule__ExactNumber__ExactNumberAssignment_0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:10040:1: ( ( RULE_INT ) ) - // InternalApplicationConfiguration.g:10041:2: ( RULE_INT ) - { - // InternalApplicationConfiguration.g:10041:2: ( RULE_INT ) - // InternalApplicationConfiguration.g:10042:3: RULE_INT - { - before(grammarAccess.getExactNumberAccess().getExactNumberINTTerminalRuleCall_0_0()); - match(input,RULE_INT,FOLLOW_2); - after(grammarAccess.getExactNumberAccess().getExactNumberINTTerminalRuleCall_0_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ExactNumber__ExactNumberAssignment_0" - - - // $ANTLR start "rule__ExactNumber__ExactUnlimitedAssignment_1" - // InternalApplicationConfiguration.g:10051:1: rule__ExactNumber__ExactUnlimitedAssignment_1 : ( ( '*' ) ) ; - public final void rule__ExactNumber__ExactUnlimitedAssignment_1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:10055:1: ( ( ( '*' ) ) ) - // InternalApplicationConfiguration.g:10056:2: ( ( '*' ) ) - { - // InternalApplicationConfiguration.g:10056:2: ( ( '*' ) ) - // InternalApplicationConfiguration.g:10057:3: ( '*' ) - { - before(grammarAccess.getExactNumberAccess().getExactUnlimitedAsteriskKeyword_1_0()); - // InternalApplicationConfiguration.g:10058:3: ( '*' ) - // InternalApplicationConfiguration.g:10059:4: '*' - { - before(grammarAccess.getExactNumberAccess().getExactUnlimitedAsteriskKeyword_1_0()); - match(input,55,FOLLOW_2); - after(grammarAccess.getExactNumberAccess().getExactUnlimitedAsteriskKeyword_1_0()); - - } - - after(grammarAccess.getExactNumberAccess().getExactUnlimitedAsteriskKeyword_1_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ExactNumber__ExactUnlimitedAssignment_1" - - - // $ANTLR start "rule__IntervallNumber__MinAssignment_0" - // InternalApplicationConfiguration.g:10070:1: rule__IntervallNumber__MinAssignment_0 : ( RULE_INT ) ; - public final void rule__IntervallNumber__MinAssignment_0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:10074:1: ( ( RULE_INT ) ) - // InternalApplicationConfiguration.g:10075:2: ( RULE_INT ) - { - // InternalApplicationConfiguration.g:10075:2: ( RULE_INT ) - // InternalApplicationConfiguration.g:10076:3: RULE_INT - { - before(grammarAccess.getIntervallNumberAccess().getMinINTTerminalRuleCall_0_0()); - match(input,RULE_INT,FOLLOW_2); - after(grammarAccess.getIntervallNumberAccess().getMinINTTerminalRuleCall_0_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__IntervallNumber__MinAssignment_0" - - - // $ANTLR start "rule__IntervallNumber__MaxNumberAssignment_2_0" - // InternalApplicationConfiguration.g:10085:1: rule__IntervallNumber__MaxNumberAssignment_2_0 : ( RULE_INT ) ; - public final void rule__IntervallNumber__MaxNumberAssignment_2_0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:10089:1: ( ( RULE_INT ) ) - // InternalApplicationConfiguration.g:10090:2: ( RULE_INT ) - { - // InternalApplicationConfiguration.g:10090:2: ( RULE_INT ) - // InternalApplicationConfiguration.g:10091:3: RULE_INT - { - before(grammarAccess.getIntervallNumberAccess().getMaxNumberINTTerminalRuleCall_2_0_0()); - match(input,RULE_INT,FOLLOW_2); - after(grammarAccess.getIntervallNumberAccess().getMaxNumberINTTerminalRuleCall_2_0_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__IntervallNumber__MaxNumberAssignment_2_0" - - - // $ANTLR start "rule__IntervallNumber__MaxUnlimitedAssignment_2_1" - // InternalApplicationConfiguration.g:10100:1: rule__IntervallNumber__MaxUnlimitedAssignment_2_1 : ( ( '*' ) ) ; - public final void rule__IntervallNumber__MaxUnlimitedAssignment_2_1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:10104:1: ( ( ( '*' ) ) ) - // InternalApplicationConfiguration.g:10105:2: ( ( '*' ) ) - { - // InternalApplicationConfiguration.g:10105:2: ( ( '*' ) ) - // InternalApplicationConfiguration.g:10106:3: ( '*' ) - { - before(grammarAccess.getIntervallNumberAccess().getMaxUnlimitedAsteriskKeyword_2_1_0()); - // InternalApplicationConfiguration.g:10107:3: ( '*' ) - // InternalApplicationConfiguration.g:10108:4: '*' - { - before(grammarAccess.getIntervallNumberAccess().getMaxUnlimitedAsteriskKeyword_2_1_0()); - match(input,55,FOLLOW_2); - after(grammarAccess.getIntervallNumberAccess().getMaxUnlimitedAsteriskKeyword_2_1_0()); - - } - - after(grammarAccess.getIntervallNumberAccess().getMaxUnlimitedAsteriskKeyword_2_1_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__IntervallNumber__MaxUnlimitedAssignment_2_1" - - - // $ANTLR start "rule__IntEnumberation__EntryAssignment_2_0" - // InternalApplicationConfiguration.g:10119:1: rule__IntEnumberation__EntryAssignment_2_0 : ( ruleINTLiteral ) ; - public final void rule__IntEnumberation__EntryAssignment_2_0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:10123:1: ( ( ruleINTLiteral ) ) - // InternalApplicationConfiguration.g:10124:2: ( ruleINTLiteral ) - { - // InternalApplicationConfiguration.g:10124:2: ( ruleINTLiteral ) - // InternalApplicationConfiguration.g:10125:3: ruleINTLiteral - { - before(grammarAccess.getIntEnumberationAccess().getEntryINTLiteralParserRuleCall_2_0_0()); - pushFollow(FOLLOW_2); - ruleINTLiteral(); - - state._fsp--; - - after(grammarAccess.getIntEnumberationAccess().getEntryINTLiteralParserRuleCall_2_0_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__IntEnumberation__EntryAssignment_2_0" - - - // $ANTLR start "rule__IntEnumberation__EntryAssignment_2_1_1" - // InternalApplicationConfiguration.g:10134:1: rule__IntEnumberation__EntryAssignment_2_1_1 : ( ruleINTLiteral ) ; - public final void rule__IntEnumberation__EntryAssignment_2_1_1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:10138:1: ( ( ruleINTLiteral ) ) - // InternalApplicationConfiguration.g:10139:2: ( ruleINTLiteral ) - { - // InternalApplicationConfiguration.g:10139:2: ( ruleINTLiteral ) - // InternalApplicationConfiguration.g:10140:3: ruleINTLiteral - { - before(grammarAccess.getIntEnumberationAccess().getEntryINTLiteralParserRuleCall_2_1_1_0()); - pushFollow(FOLLOW_2); - ruleINTLiteral(); - - state._fsp--; - - after(grammarAccess.getIntEnumberationAccess().getEntryINTLiteralParserRuleCall_2_1_1_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__IntEnumberation__EntryAssignment_2_1_1" - - - // $ANTLR start "rule__RealEnumeration__EntryAssignment_2_0" - // InternalApplicationConfiguration.g:10149:1: rule__RealEnumeration__EntryAssignment_2_0 : ( ruleREALLiteral ) ; - public final void rule__RealEnumeration__EntryAssignment_2_0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:10153:1: ( ( ruleREALLiteral ) ) - // InternalApplicationConfiguration.g:10154:2: ( ruleREALLiteral ) - { - // InternalApplicationConfiguration.g:10154:2: ( ruleREALLiteral ) - // InternalApplicationConfiguration.g:10155:3: ruleREALLiteral - { - before(grammarAccess.getRealEnumerationAccess().getEntryREALLiteralParserRuleCall_2_0_0()); - pushFollow(FOLLOW_2); - ruleREALLiteral(); - - state._fsp--; - - after(grammarAccess.getRealEnumerationAccess().getEntryREALLiteralParserRuleCall_2_0_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__RealEnumeration__EntryAssignment_2_0" - - - // $ANTLR start "rule__RealEnumeration__EntryAssignment_2_1_1" - // InternalApplicationConfiguration.g:10164:1: rule__RealEnumeration__EntryAssignment_2_1_1 : ( ruleREALLiteral ) ; - public final void rule__RealEnumeration__EntryAssignment_2_1_1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:10168:1: ( ( ruleREALLiteral ) ) - // InternalApplicationConfiguration.g:10169:2: ( ruleREALLiteral ) - { - // InternalApplicationConfiguration.g:10169:2: ( ruleREALLiteral ) - // InternalApplicationConfiguration.g:10170:3: ruleREALLiteral - { - before(grammarAccess.getRealEnumerationAccess().getEntryREALLiteralParserRuleCall_2_1_1_0()); - pushFollow(FOLLOW_2); - ruleREALLiteral(); - - state._fsp--; - - after(grammarAccess.getRealEnumerationAccess().getEntryREALLiteralParserRuleCall_2_1_1_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__RealEnumeration__EntryAssignment_2_1_1" - - - // $ANTLR start "rule__StringEnumeration__EntryAssignment_2_0" - // InternalApplicationConfiguration.g:10179:1: rule__StringEnumeration__EntryAssignment_2_0 : ( RULE_STRING ) ; - public final void rule__StringEnumeration__EntryAssignment_2_0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:10183:1: ( ( RULE_STRING ) ) - // InternalApplicationConfiguration.g:10184:2: ( RULE_STRING ) - { - // InternalApplicationConfiguration.g:10184:2: ( RULE_STRING ) - // InternalApplicationConfiguration.g:10185:3: RULE_STRING - { - before(grammarAccess.getStringEnumerationAccess().getEntrySTRINGTerminalRuleCall_2_0_0()); - match(input,RULE_STRING,FOLLOW_2); - after(grammarAccess.getStringEnumerationAccess().getEntrySTRINGTerminalRuleCall_2_0_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__StringEnumeration__EntryAssignment_2_0" - - - // $ANTLR start "rule__StringEnumeration__EntryAssignment_2_1_1" - // InternalApplicationConfiguration.g:10194:1: rule__StringEnumeration__EntryAssignment_2_1_1 : ( RULE_STRING ) ; - public final void rule__StringEnumeration__EntryAssignment_2_1_1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:10198:1: ( ( RULE_STRING ) ) - // InternalApplicationConfiguration.g:10199:2: ( RULE_STRING ) - { - // InternalApplicationConfiguration.g:10199:2: ( RULE_STRING ) - // InternalApplicationConfiguration.g:10200:3: RULE_STRING - { - before(grammarAccess.getStringEnumerationAccess().getEntrySTRINGTerminalRuleCall_2_1_1_0()); - match(input,RULE_STRING,FOLLOW_2); - after(grammarAccess.getStringEnumerationAccess().getEntrySTRINGTerminalRuleCall_2_1_1_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__StringEnumeration__EntryAssignment_2_1_1" - - - // $ANTLR start "rule__ScopeDeclaration__NameAssignment_1" - // InternalApplicationConfiguration.g:10209:1: rule__ScopeDeclaration__NameAssignment_1 : ( RULE_ID ) ; - public final void rule__ScopeDeclaration__NameAssignment_1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:10213:1: ( ( RULE_ID ) ) - // InternalApplicationConfiguration.g:10214:2: ( RULE_ID ) - { - // InternalApplicationConfiguration.g:10214:2: ( RULE_ID ) - // InternalApplicationConfiguration.g:10215:3: RULE_ID - { - before(grammarAccess.getScopeDeclarationAccess().getNameIDTerminalRuleCall_1_0()); - match(input,RULE_ID,FOLLOW_2); - after(grammarAccess.getScopeDeclarationAccess().getNameIDTerminalRuleCall_1_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ScopeDeclaration__NameAssignment_1" - - - // $ANTLR start "rule__ScopeDeclaration__SpecificationAssignment_2" - // InternalApplicationConfiguration.g:10224:1: rule__ScopeDeclaration__SpecificationAssignment_2 : ( ruleScopeSpecification ) ; - public final void rule__ScopeDeclaration__SpecificationAssignment_2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:10228:1: ( ( ruleScopeSpecification ) ) - // InternalApplicationConfiguration.g:10229:2: ( ruleScopeSpecification ) - { - // InternalApplicationConfiguration.g:10229:2: ( ruleScopeSpecification ) - // InternalApplicationConfiguration.g:10230:3: ruleScopeSpecification - { - before(grammarAccess.getScopeDeclarationAccess().getSpecificationScopeSpecificationParserRuleCall_2_0()); - pushFollow(FOLLOW_2); - ruleScopeSpecification(); - - state._fsp--; - - after(grammarAccess.getScopeDeclarationAccess().getSpecificationScopeSpecificationParserRuleCall_2_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ScopeDeclaration__SpecificationAssignment_2" - - - // $ANTLR start "rule__ScopeReference__ReferredAssignment" - // InternalApplicationConfiguration.g:10239:1: rule__ScopeReference__ReferredAssignment : ( ( RULE_ID ) ) ; - public final void rule__ScopeReference__ReferredAssignment() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:10243:1: ( ( ( RULE_ID ) ) ) - // InternalApplicationConfiguration.g:10244:2: ( ( RULE_ID ) ) - { - // InternalApplicationConfiguration.g:10244:2: ( ( RULE_ID ) ) - // InternalApplicationConfiguration.g:10245:3: ( RULE_ID ) - { - before(grammarAccess.getScopeReferenceAccess().getReferredScopeDeclarationCrossReference_0()); - // InternalApplicationConfiguration.g:10246:3: ( RULE_ID ) - // InternalApplicationConfiguration.g:10247:4: RULE_ID - { - before(grammarAccess.getScopeReferenceAccess().getReferredScopeDeclarationIDTerminalRuleCall_0_1()); - match(input,RULE_ID,FOLLOW_2); - after(grammarAccess.getScopeReferenceAccess().getReferredScopeDeclarationIDTerminalRuleCall_0_1()); - - } - - after(grammarAccess.getScopeReferenceAccess().getReferredScopeDeclarationCrossReference_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ScopeReference__ReferredAssignment" - - - // $ANTLR start "rule__GenerationTask__MetamodelAssignment_3_0_2" - // InternalApplicationConfiguration.g:10258:1: rule__GenerationTask__MetamodelAssignment_3_0_2 : ( ruleMetamodel ) ; - public final void rule__GenerationTask__MetamodelAssignment_3_0_2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:10262:1: ( ( ruleMetamodel ) ) - // InternalApplicationConfiguration.g:10263:2: ( ruleMetamodel ) - { - // InternalApplicationConfiguration.g:10263:2: ( ruleMetamodel ) - // InternalApplicationConfiguration.g:10264:3: ruleMetamodel - { - before(grammarAccess.getGenerationTaskAccess().getMetamodelMetamodelParserRuleCall_3_0_2_0()); - pushFollow(FOLLOW_2); - ruleMetamodel(); - - state._fsp--; - - after(grammarAccess.getGenerationTaskAccess().getMetamodelMetamodelParserRuleCall_3_0_2_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__GenerationTask__MetamodelAssignment_3_0_2" - - - // $ANTLR start "rule__GenerationTask__PartialModelAssignment_3_1_2" - // InternalApplicationConfiguration.g:10273:1: rule__GenerationTask__PartialModelAssignment_3_1_2 : ( rulePartialModel ) ; - public final void rule__GenerationTask__PartialModelAssignment_3_1_2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:10277:1: ( ( rulePartialModel ) ) - // InternalApplicationConfiguration.g:10278:2: ( rulePartialModel ) - { - // InternalApplicationConfiguration.g:10278:2: ( rulePartialModel ) - // InternalApplicationConfiguration.g:10279:3: rulePartialModel - { - before(grammarAccess.getGenerationTaskAccess().getPartialModelPartialModelParserRuleCall_3_1_2_0()); - pushFollow(FOLLOW_2); - rulePartialModel(); - - state._fsp--; - - after(grammarAccess.getGenerationTaskAccess().getPartialModelPartialModelParserRuleCall_3_1_2_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__GenerationTask__PartialModelAssignment_3_1_2" - - - // $ANTLR start "rule__GenerationTask__PatternsAssignment_3_2_2" - // InternalApplicationConfiguration.g:10288:1: rule__GenerationTask__PatternsAssignment_3_2_2 : ( ruleGraphPattern ) ; - public final void rule__GenerationTask__PatternsAssignment_3_2_2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:10292:1: ( ( ruleGraphPattern ) ) - // InternalApplicationConfiguration.g:10293:2: ( ruleGraphPattern ) - { - // InternalApplicationConfiguration.g:10293:2: ( ruleGraphPattern ) - // InternalApplicationConfiguration.g:10294:3: ruleGraphPattern - { - before(grammarAccess.getGenerationTaskAccess().getPatternsGraphPatternParserRuleCall_3_2_2_0()); - pushFollow(FOLLOW_2); - ruleGraphPattern(); - - state._fsp--; - - after(grammarAccess.getGenerationTaskAccess().getPatternsGraphPatternParserRuleCall_3_2_2_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__GenerationTask__PatternsAssignment_3_2_2" - - - // $ANTLR start "rule__GenerationTask__ScopeAssignment_3_3_2" - // InternalApplicationConfiguration.g:10303:1: rule__GenerationTask__ScopeAssignment_3_3_2 : ( ruleScope ) ; - public final void rule__GenerationTask__ScopeAssignment_3_3_2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:10307:1: ( ( ruleScope ) ) - // InternalApplicationConfiguration.g:10308:2: ( ruleScope ) - { - // InternalApplicationConfiguration.g:10308:2: ( ruleScope ) - // InternalApplicationConfiguration.g:10309:3: ruleScope - { - before(grammarAccess.getGenerationTaskAccess().getScopeScopeParserRuleCall_3_3_2_0()); - pushFollow(FOLLOW_2); - ruleScope(); - - state._fsp--; - - after(grammarAccess.getGenerationTaskAccess().getScopeScopeParserRuleCall_3_3_2_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__GenerationTask__ScopeAssignment_3_3_2" - - - // $ANTLR start "rule__GenerationTask__NumberSpecifiedAssignment_3_4_0" - // InternalApplicationConfiguration.g:10318:1: rule__GenerationTask__NumberSpecifiedAssignment_3_4_0 : ( ( 'number' ) ) ; - public final void rule__GenerationTask__NumberSpecifiedAssignment_3_4_0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:10322:1: ( ( ( 'number' ) ) ) - // InternalApplicationConfiguration.g:10323:2: ( ( 'number' ) ) - { - // InternalApplicationConfiguration.g:10323:2: ( ( 'number' ) ) - // InternalApplicationConfiguration.g:10324:3: ( 'number' ) - { - before(grammarAccess.getGenerationTaskAccess().getNumberSpecifiedNumberKeyword_3_4_0_0()); - // InternalApplicationConfiguration.g:10325:3: ( 'number' ) - // InternalApplicationConfiguration.g:10326:4: 'number' - { - before(grammarAccess.getGenerationTaskAccess().getNumberSpecifiedNumberKeyword_3_4_0_0()); - match(input,56,FOLLOW_2); - after(grammarAccess.getGenerationTaskAccess().getNumberSpecifiedNumberKeyword_3_4_0_0()); - - } - - after(grammarAccess.getGenerationTaskAccess().getNumberSpecifiedNumberKeyword_3_4_0_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__GenerationTask__NumberSpecifiedAssignment_3_4_0" - - - // $ANTLR start "rule__GenerationTask__NumberAssignment_3_4_2" - // InternalApplicationConfiguration.g:10337:1: rule__GenerationTask__NumberAssignment_3_4_2 : ( RULE_INT ) ; - public final void rule__GenerationTask__NumberAssignment_3_4_2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:10341:1: ( ( RULE_INT ) ) - // InternalApplicationConfiguration.g:10342:2: ( RULE_INT ) - { - // InternalApplicationConfiguration.g:10342:2: ( RULE_INT ) - // InternalApplicationConfiguration.g:10343:3: RULE_INT - { - before(grammarAccess.getGenerationTaskAccess().getNumberINTTerminalRuleCall_3_4_2_0()); - match(input,RULE_INT,FOLLOW_2); - after(grammarAccess.getGenerationTaskAccess().getNumberINTTerminalRuleCall_3_4_2_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__GenerationTask__NumberAssignment_3_4_2" - - - // $ANTLR start "rule__GenerationTask__RunSpecifiedAssignment_3_5_0" - // InternalApplicationConfiguration.g:10352:1: rule__GenerationTask__RunSpecifiedAssignment_3_5_0 : ( ( 'runs' ) ) ; - public final void rule__GenerationTask__RunSpecifiedAssignment_3_5_0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:10356:1: ( ( ( 'runs' ) ) ) - // InternalApplicationConfiguration.g:10357:2: ( ( 'runs' ) ) - { - // InternalApplicationConfiguration.g:10357:2: ( ( 'runs' ) ) - // InternalApplicationConfiguration.g:10358:3: ( 'runs' ) - { - before(grammarAccess.getGenerationTaskAccess().getRunSpecifiedRunsKeyword_3_5_0_0()); - // InternalApplicationConfiguration.g:10359:3: ( 'runs' ) - // InternalApplicationConfiguration.g:10360:4: 'runs' - { - before(grammarAccess.getGenerationTaskAccess().getRunSpecifiedRunsKeyword_3_5_0_0()); - match(input,57,FOLLOW_2); - after(grammarAccess.getGenerationTaskAccess().getRunSpecifiedRunsKeyword_3_5_0_0()); - - } - - after(grammarAccess.getGenerationTaskAccess().getRunSpecifiedRunsKeyword_3_5_0_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__GenerationTask__RunSpecifiedAssignment_3_5_0" - - - // $ANTLR start "rule__GenerationTask__RunsAssignment_3_5_2" - // InternalApplicationConfiguration.g:10371:1: rule__GenerationTask__RunsAssignment_3_5_2 : ( RULE_INT ) ; - public final void rule__GenerationTask__RunsAssignment_3_5_2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:10375:1: ( ( RULE_INT ) ) - // InternalApplicationConfiguration.g:10376:2: ( RULE_INT ) - { - // InternalApplicationConfiguration.g:10376:2: ( RULE_INT ) - // InternalApplicationConfiguration.g:10377:3: RULE_INT - { - before(grammarAccess.getGenerationTaskAccess().getRunsINTTerminalRuleCall_3_5_2_0()); - match(input,RULE_INT,FOLLOW_2); - after(grammarAccess.getGenerationTaskAccess().getRunsINTTerminalRuleCall_3_5_2_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__GenerationTask__RunsAssignment_3_5_2" - - - // $ANTLR start "rule__GenerationTask__SolverAssignment_3_6_2" - // InternalApplicationConfiguration.g:10386:1: rule__GenerationTask__SolverAssignment_3_6_2 : ( ruleSolver ) ; - public final void rule__GenerationTask__SolverAssignment_3_6_2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:10390:1: ( ( ruleSolver ) ) - // InternalApplicationConfiguration.g:10391:2: ( ruleSolver ) - { - // InternalApplicationConfiguration.g:10391:2: ( ruleSolver ) - // InternalApplicationConfiguration.g:10392:3: ruleSolver - { - before(grammarAccess.getGenerationTaskAccess().getSolverSolverEnumRuleCall_3_6_2_0()); - pushFollow(FOLLOW_2); - ruleSolver(); - - state._fsp--; - - after(grammarAccess.getGenerationTaskAccess().getSolverSolverEnumRuleCall_3_6_2_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__GenerationTask__SolverAssignment_3_6_2" - - - // $ANTLR start "rule__GenerationTask__ConfigAssignment_3_7_2" - // InternalApplicationConfiguration.g:10401:1: rule__GenerationTask__ConfigAssignment_3_7_2 : ( ruleConfig ) ; - public final void rule__GenerationTask__ConfigAssignment_3_7_2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:10405:1: ( ( ruleConfig ) ) - // InternalApplicationConfiguration.g:10406:2: ( ruleConfig ) - { - // InternalApplicationConfiguration.g:10406:2: ( ruleConfig ) - // InternalApplicationConfiguration.g:10407:3: ruleConfig - { - before(grammarAccess.getGenerationTaskAccess().getConfigConfigParserRuleCall_3_7_2_0()); - pushFollow(FOLLOW_2); - ruleConfig(); - - state._fsp--; - - after(grammarAccess.getGenerationTaskAccess().getConfigConfigParserRuleCall_3_7_2_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__GenerationTask__ConfigAssignment_3_7_2" - - - // $ANTLR start "rule__GenerationTask__DebugFolderAssignment_3_8_2" - // InternalApplicationConfiguration.g:10416:1: rule__GenerationTask__DebugFolderAssignment_3_8_2 : ( ruleFile ) ; - public final void rule__GenerationTask__DebugFolderAssignment_3_8_2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:10420:1: ( ( ruleFile ) ) - // InternalApplicationConfiguration.g:10421:2: ( ruleFile ) - { - // InternalApplicationConfiguration.g:10421:2: ( ruleFile ) - // InternalApplicationConfiguration.g:10422:3: ruleFile - { - before(grammarAccess.getGenerationTaskAccess().getDebugFolderFileParserRuleCall_3_8_2_0()); - pushFollow(FOLLOW_2); - ruleFile(); - - state._fsp--; - - after(grammarAccess.getGenerationTaskAccess().getDebugFolderFileParserRuleCall_3_8_2_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__GenerationTask__DebugFolderAssignment_3_8_2" - - - // $ANTLR start "rule__GenerationTask__TargetLogFileAssignment_3_9_2" - // InternalApplicationConfiguration.g:10431:1: rule__GenerationTask__TargetLogFileAssignment_3_9_2 : ( ruleFile ) ; - public final void rule__GenerationTask__TargetLogFileAssignment_3_9_2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:10435:1: ( ( ruleFile ) ) - // InternalApplicationConfiguration.g:10436:2: ( ruleFile ) - { - // InternalApplicationConfiguration.g:10436:2: ( ruleFile ) - // InternalApplicationConfiguration.g:10437:3: ruleFile - { - before(grammarAccess.getGenerationTaskAccess().getTargetLogFileFileParserRuleCall_3_9_2_0()); - pushFollow(FOLLOW_2); - ruleFile(); - - state._fsp--; - - after(grammarAccess.getGenerationTaskAccess().getTargetLogFileFileParserRuleCall_3_9_2_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__GenerationTask__TargetLogFileAssignment_3_9_2" - - - // $ANTLR start "rule__GenerationTask__TargetStatisticsFileAssignment_3_10_2" - // InternalApplicationConfiguration.g:10446:1: rule__GenerationTask__TargetStatisticsFileAssignment_3_10_2 : ( ruleFile ) ; - public final void rule__GenerationTask__TargetStatisticsFileAssignment_3_10_2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:10450:1: ( ( ruleFile ) ) - // InternalApplicationConfiguration.g:10451:2: ( ruleFile ) - { - // InternalApplicationConfiguration.g:10451:2: ( ruleFile ) - // InternalApplicationConfiguration.g:10452:3: ruleFile - { - before(grammarAccess.getGenerationTaskAccess().getTargetStatisticsFileFileParserRuleCall_3_10_2_0()); - pushFollow(FOLLOW_2); - ruleFile(); - - state._fsp--; - - after(grammarAccess.getGenerationTaskAccess().getTargetStatisticsFileFileParserRuleCall_3_10_2_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__GenerationTask__TargetStatisticsFileAssignment_3_10_2" - - - // $ANTLR start "rule__GenerationTask__TagetFolderAssignment_3_11_2" - // InternalApplicationConfiguration.g:10461:1: rule__GenerationTask__TagetFolderAssignment_3_11_2 : ( ruleFile ) ; - public final void rule__GenerationTask__TagetFolderAssignment_3_11_2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:10465:1: ( ( ruleFile ) ) - // InternalApplicationConfiguration.g:10466:2: ( ruleFile ) - { - // InternalApplicationConfiguration.g:10466:2: ( ruleFile ) - // InternalApplicationConfiguration.g:10467:3: ruleFile - { - before(grammarAccess.getGenerationTaskAccess().getTagetFolderFileParserRuleCall_3_11_2_0()); - pushFollow(FOLLOW_2); - ruleFile(); - - state._fsp--; - - after(grammarAccess.getGenerationTaskAccess().getTagetFolderFileParserRuleCall_3_11_2_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__GenerationTask__TagetFolderAssignment_3_11_2" - - // Delegated rules - - - protected DFA56 dfa56 = new DFA56(this); - protected DFA57 dfa57 = new DFA57(this); - protected DFA58 dfa58 = new DFA58(this); - protected DFA59 dfa59 = new DFA59(this); - protected DFA60 dfa60 = new DFA60(this); - protected DFA61 dfa61 = new DFA61(this); - protected DFA62 dfa62 = new DFA62(this); - protected DFA63 dfa63 = new DFA63(this); - protected DFA64 dfa64 = new DFA64(this); - protected DFA65 dfa65 = new DFA65(this); - protected DFA66 dfa66 = new DFA66(this); - protected DFA67 dfa67 = new DFA67(this); - protected DFA68 dfa68 = new DFA68(this); - static final String dfa_1s = "\16\uffff"; - static final String dfa_2s = "\1\31\15\uffff"; - static final String dfa_3s = "\1\71\15\uffff"; - static final String dfa_4s = "\1\uffff\14\1\1\2"; - static final String dfa_5s = "\1\0\15\uffff}>"; - static final String[] dfa_6s = { - "\1\15\4\uffff\1\1\2\uffff\1\3\1\10\13\uffff\1\4\1\uffff\1\2\1\7\1\11\1\12\1\13\1\14\2\uffff\1\5\1\6", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "" - }; - - static final short[] dfa_1 = DFA.unpackEncodedString(dfa_1s); - static final char[] dfa_2 = DFA.unpackEncodedStringToUnsignedChars(dfa_2s); - static final char[] dfa_3 = DFA.unpackEncodedStringToUnsignedChars(dfa_3s); - static final short[] dfa_4 = DFA.unpackEncodedString(dfa_4s); - static final short[] dfa_5 = DFA.unpackEncodedString(dfa_5s); - static final short[][] dfa_6 = unpackEncodedStringArray(dfa_6s); - - class DFA56 extends DFA { - - public DFA56(BaseRecognizer recognizer) { - this.recognizer = recognizer; - this.decisionNumber = 56; - this.eot = dfa_1; - this.eof = dfa_1; - this.min = dfa_2; - this.max = dfa_3; - this.accept = dfa_4; - this.special = dfa_5; - this.transition = dfa_6; - } - public String getDescription() { - return "8408:2: ( rule__GenerationTask__UnorderedGroup_3__0 )?"; - } - public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { - TokenStream input = (TokenStream)_input; - int _s = s; - switch ( s ) { - case 0 : - int LA56_0 = input.LA(1); - - - int index56_0 = input.index(); - input.rewind(); - s = -1; - if ( LA56_0 == 30 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0) ) {s = 1;} - - else if ( LA56_0 == 48 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1) ) {s = 2;} - - else if ( LA56_0 == 33 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2) ) {s = 3;} - - else if ( LA56_0 == 46 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3) ) {s = 4;} - - else if ( LA56_0 == 56 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4) ) {s = 5;} - - else if ( LA56_0 == 57 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5) ) {s = 6;} - - else if ( LA56_0 == 49 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6) ) {s = 7;} - - else if ( LA56_0 == 34 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7) ) {s = 8;} - - else if ( LA56_0 == 50 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8) ) {s = 9;} - - else if ( LA56_0 == 51 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9) ) {s = 10;} - - else if ( LA56_0 == 52 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10) ) {s = 11;} - - else if ( LA56_0 == 53 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11) ) {s = 12;} - - else if ( (LA56_0==25) ) {s = 13;} - - - input.seek(index56_0); - if ( s>=0 ) return s; - break; - } - NoViableAltException nvae = - new NoViableAltException(getDescription(), 56, _s, input); - error(nvae); - throw nvae; - } - } - static final String dfa_7s = "\15\uffff"; - static final String dfa_8s = "\1\36\14\uffff"; - static final String dfa_9s = "\1\71\14\uffff"; - static final String dfa_10s = "\1\uffff\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_11s = "\1\0\14\uffff}>"; - static final String[] dfa_12s = { - "\1\1\2\uffff\1\3\1\10\13\uffff\1\4\1\uffff\1\2\1\7\1\11\1\12\1\13\1\14\2\uffff\1\5\1\6", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "" - }; - - static final short[] dfa_7 = DFA.unpackEncodedString(dfa_7s); - static final char[] dfa_8 = DFA.unpackEncodedStringToUnsignedChars(dfa_8s); - static final char[] dfa_9 = DFA.unpackEncodedStringToUnsignedChars(dfa_9s); - static final short[] dfa_10 = DFA.unpackEncodedString(dfa_10s); - static final short[] dfa_11 = DFA.unpackEncodedString(dfa_11s); - static final short[][] dfa_12 = unpackEncodedStringArray(dfa_12s); - - class DFA57 extends DFA { - - public DFA57(BaseRecognizer recognizer) { - this.recognizer = recognizer; - this.decisionNumber = 57; - this.eot = dfa_7; - this.eof = dfa_7; - this.min = dfa_8; - this.max = dfa_9; - this.accept = dfa_10; - this.special = dfa_11; - this.transition = dfa_12; - } - public String getDescription() { - return "8422:3: ( ({...}? => ( ( ( rule__GenerationTask__Group_3_0__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_1__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_2__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_3__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_4__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_5__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_6__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_7__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_8__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_9__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_10__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_11__0 ) ) ) ) )"; - } - public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { - TokenStream input = (TokenStream)_input; - int _s = s; - switch ( s ) { - case 0 : - int LA57_0 = input.LA(1); - - - int index57_0 = input.index(); - input.rewind(); - s = -1; - if ( LA57_0 == 30 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0) ) {s = 1;} - - else if ( LA57_0 == 48 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1) ) {s = 2;} - - else if ( LA57_0 == 33 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2) ) {s = 3;} - - else if ( LA57_0 == 46 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3) ) {s = 4;} - - else if ( LA57_0 == 56 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4) ) {s = 5;} - - else if ( LA57_0 == 57 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5) ) {s = 6;} - - else if ( LA57_0 == 49 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6) ) {s = 7;} - - else if ( LA57_0 == 34 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7) ) {s = 8;} - - else if ( LA57_0 == 50 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8) ) {s = 9;} - - else if ( LA57_0 == 51 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9) ) {s = 10;} - - else if ( LA57_0 == 52 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10) ) {s = 11;} - - else if ( LA57_0 == 53 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11) ) {s = 12;} - - - input.seek(index57_0); - if ( s>=0 ) return s; - break; - } - NoViableAltException nvae = - new NoViableAltException(getDescription(), 57, _s, input); - error(nvae); - throw nvae; - } - } - - class DFA58 extends DFA { - - public DFA58(BaseRecognizer recognizer) { - this.recognizer = recognizer; - this.decisionNumber = 58; - this.eot = dfa_1; - this.eof = dfa_1; - this.min = dfa_2; - this.max = dfa_3; - this.accept = dfa_4; - this.special = dfa_5; - this.transition = dfa_6; - } - public String getDescription() { - return "8617:2: ( rule__GenerationTask__UnorderedGroup_3__1 )?"; - } - public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { - TokenStream input = (TokenStream)_input; - int _s = s; - switch ( s ) { - case 0 : - int LA58_0 = input.LA(1); - - - int index58_0 = input.index(); - input.rewind(); - s = -1; - if ( LA58_0 == 30 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0) ) {s = 1;} - - else if ( LA58_0 == 48 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1) ) {s = 2;} - - else if ( LA58_0 == 33 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2) ) {s = 3;} - - else if ( LA58_0 == 46 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3) ) {s = 4;} - - else if ( LA58_0 == 56 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4) ) {s = 5;} - - else if ( LA58_0 == 57 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5) ) {s = 6;} - - else if ( LA58_0 == 49 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6) ) {s = 7;} - - else if ( LA58_0 == 34 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7) ) {s = 8;} - - else if ( LA58_0 == 50 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8) ) {s = 9;} - - else if ( LA58_0 == 51 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9) ) {s = 10;} - - else if ( LA58_0 == 52 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10) ) {s = 11;} - - else if ( LA58_0 == 53 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11) ) {s = 12;} - - else if ( (LA58_0==25) ) {s = 13;} - - - input.seek(index58_0); - if ( s>=0 ) return s; - break; - } - NoViableAltException nvae = - new NoViableAltException(getDescription(), 58, _s, input); - error(nvae); - throw nvae; - } - } - - class DFA59 extends DFA { - - public DFA59(BaseRecognizer recognizer) { - this.recognizer = recognizer; - this.decisionNumber = 59; - this.eot = dfa_1; - this.eof = dfa_1; - this.min = dfa_2; - this.max = dfa_3; - this.accept = dfa_4; - this.special = dfa_5; - this.transition = dfa_6; - } - public String getDescription() { - return "8629:2: ( rule__GenerationTask__UnorderedGroup_3__2 )?"; - } - public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { - TokenStream input = (TokenStream)_input; - int _s = s; - switch ( s ) { - case 0 : - int LA59_0 = input.LA(1); - - - int index59_0 = input.index(); - input.rewind(); - s = -1; - if ( LA59_0 == 30 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0) ) {s = 1;} - - else if ( LA59_0 == 48 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1) ) {s = 2;} - - else if ( LA59_0 == 33 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2) ) {s = 3;} - - else if ( LA59_0 == 46 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3) ) {s = 4;} - - else if ( LA59_0 == 56 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4) ) {s = 5;} - - else if ( LA59_0 == 57 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5) ) {s = 6;} - - else if ( LA59_0 == 49 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6) ) {s = 7;} - - else if ( LA59_0 == 34 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7) ) {s = 8;} - - else if ( LA59_0 == 50 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8) ) {s = 9;} - - else if ( LA59_0 == 51 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9) ) {s = 10;} - - else if ( LA59_0 == 52 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10) ) {s = 11;} - - else if ( LA59_0 == 53 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11) ) {s = 12;} - - else if ( (LA59_0==25) ) {s = 13;} - - - input.seek(index59_0); - if ( s>=0 ) return s; - break; - } - NoViableAltException nvae = - new NoViableAltException(getDescription(), 59, _s, input); - error(nvae); - throw nvae; - } - } - - class DFA60 extends DFA { - - public DFA60(BaseRecognizer recognizer) { - this.recognizer = recognizer; - this.decisionNumber = 60; - this.eot = dfa_1; - this.eof = dfa_1; - this.min = dfa_2; - this.max = dfa_3; - this.accept = dfa_4; - this.special = dfa_5; - this.transition = dfa_6; - } - public String getDescription() { - return "8641:2: ( rule__GenerationTask__UnorderedGroup_3__3 )?"; - } - public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { - TokenStream input = (TokenStream)_input; - int _s = s; - switch ( s ) { - case 0 : - int LA60_0 = input.LA(1); - - - int index60_0 = input.index(); - input.rewind(); - s = -1; - if ( LA60_0 == 30 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0) ) {s = 1;} - - else if ( LA60_0 == 48 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1) ) {s = 2;} - - else if ( LA60_0 == 33 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2) ) {s = 3;} - - else if ( LA60_0 == 46 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3) ) {s = 4;} - - else if ( LA60_0 == 56 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4) ) {s = 5;} - - else if ( LA60_0 == 57 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5) ) {s = 6;} - - else if ( LA60_0 == 49 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6) ) {s = 7;} - - else if ( LA60_0 == 34 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7) ) {s = 8;} - - else if ( LA60_0 == 50 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8) ) {s = 9;} - - else if ( LA60_0 == 51 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9) ) {s = 10;} - - else if ( LA60_0 == 52 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10) ) {s = 11;} - - else if ( LA60_0 == 53 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11) ) {s = 12;} - - else if ( (LA60_0==25) ) {s = 13;} - - - input.seek(index60_0); - if ( s>=0 ) return s; - break; - } - NoViableAltException nvae = - new NoViableAltException(getDescription(), 60, _s, input); - error(nvae); - throw nvae; - } - } - - class DFA61 extends DFA { - - public DFA61(BaseRecognizer recognizer) { - this.recognizer = recognizer; - this.decisionNumber = 61; - this.eot = dfa_1; - this.eof = dfa_1; - this.min = dfa_2; - this.max = dfa_3; - this.accept = dfa_4; - this.special = dfa_5; - this.transition = dfa_6; - } - public String getDescription() { - return "8653:2: ( rule__GenerationTask__UnorderedGroup_3__4 )?"; - } - public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { - TokenStream input = (TokenStream)_input; - int _s = s; - switch ( s ) { - case 0 : - int LA61_0 = input.LA(1); - - - int index61_0 = input.index(); - input.rewind(); - s = -1; - if ( LA61_0 == 30 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0) ) {s = 1;} - - else if ( LA61_0 == 48 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1) ) {s = 2;} - - else if ( LA61_0 == 33 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2) ) {s = 3;} - - else if ( LA61_0 == 46 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3) ) {s = 4;} - - else if ( LA61_0 == 56 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4) ) {s = 5;} - - else if ( LA61_0 == 57 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5) ) {s = 6;} - - else if ( LA61_0 == 49 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6) ) {s = 7;} - - else if ( LA61_0 == 34 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7) ) {s = 8;} - - else if ( LA61_0 == 50 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8) ) {s = 9;} - - else if ( LA61_0 == 51 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9) ) {s = 10;} - - else if ( LA61_0 == 52 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10) ) {s = 11;} - - else if ( LA61_0 == 53 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11) ) {s = 12;} - - else if ( (LA61_0==25) ) {s = 13;} - - - input.seek(index61_0); - if ( s>=0 ) return s; - break; - } - NoViableAltException nvae = - new NoViableAltException(getDescription(), 61, _s, input); - error(nvae); - throw nvae; - } - } - - class DFA62 extends DFA { - - public DFA62(BaseRecognizer recognizer) { - this.recognizer = recognizer; - this.decisionNumber = 62; - this.eot = dfa_1; - this.eof = dfa_1; - this.min = dfa_2; - this.max = dfa_3; - this.accept = dfa_4; - this.special = dfa_5; - this.transition = dfa_6; - } - public String getDescription() { - return "8665:2: ( rule__GenerationTask__UnorderedGroup_3__5 )?"; - } - public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { - TokenStream input = (TokenStream)_input; - int _s = s; - switch ( s ) { - case 0 : - int LA62_0 = input.LA(1); - - - int index62_0 = input.index(); - input.rewind(); - s = -1; - if ( LA62_0 == 30 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0) ) {s = 1;} - - else if ( LA62_0 == 48 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1) ) {s = 2;} - - else if ( LA62_0 == 33 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2) ) {s = 3;} - - else if ( LA62_0 == 46 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3) ) {s = 4;} - - else if ( LA62_0 == 56 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4) ) {s = 5;} - - else if ( LA62_0 == 57 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5) ) {s = 6;} - - else if ( LA62_0 == 49 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6) ) {s = 7;} - - else if ( LA62_0 == 34 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7) ) {s = 8;} - - else if ( LA62_0 == 50 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8) ) {s = 9;} - - else if ( LA62_0 == 51 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9) ) {s = 10;} - - else if ( LA62_0 == 52 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10) ) {s = 11;} - - else if ( LA62_0 == 53 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11) ) {s = 12;} - - else if ( (LA62_0==25) ) {s = 13;} - - - input.seek(index62_0); - if ( s>=0 ) return s; - break; - } - NoViableAltException nvae = - new NoViableAltException(getDescription(), 62, _s, input); - error(nvae); - throw nvae; - } - } - - class DFA63 extends DFA { - - public DFA63(BaseRecognizer recognizer) { - this.recognizer = recognizer; - this.decisionNumber = 63; - this.eot = dfa_1; - this.eof = dfa_1; - this.min = dfa_2; - this.max = dfa_3; - this.accept = dfa_4; - this.special = dfa_5; - this.transition = dfa_6; - } - public String getDescription() { - return "8677:2: ( rule__GenerationTask__UnorderedGroup_3__6 )?"; - } - public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { - TokenStream input = (TokenStream)_input; - int _s = s; - switch ( s ) { - case 0 : - int LA63_0 = input.LA(1); - - - int index63_0 = input.index(); - input.rewind(); - s = -1; - if ( LA63_0 == 30 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0) ) {s = 1;} - - else if ( LA63_0 == 48 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1) ) {s = 2;} - - else if ( LA63_0 == 33 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2) ) {s = 3;} - - else if ( LA63_0 == 46 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3) ) {s = 4;} - - else if ( LA63_0 == 56 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4) ) {s = 5;} - - else if ( LA63_0 == 57 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5) ) {s = 6;} - - else if ( LA63_0 == 49 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6) ) {s = 7;} - - else if ( LA63_0 == 34 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7) ) {s = 8;} - - else if ( LA63_0 == 50 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8) ) {s = 9;} - - else if ( LA63_0 == 51 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9) ) {s = 10;} - - else if ( LA63_0 == 52 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10) ) {s = 11;} - - else if ( LA63_0 == 53 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11) ) {s = 12;} - - else if ( (LA63_0==25) ) {s = 13;} - - - input.seek(index63_0); - if ( s>=0 ) return s; - break; - } - NoViableAltException nvae = - new NoViableAltException(getDescription(), 63, _s, input); - error(nvae); - throw nvae; - } - } - - class DFA64 extends DFA { - - public DFA64(BaseRecognizer recognizer) { - this.recognizer = recognizer; - this.decisionNumber = 64; - this.eot = dfa_1; - this.eof = dfa_1; - this.min = dfa_2; - this.max = dfa_3; - this.accept = dfa_4; - this.special = dfa_5; - this.transition = dfa_6; - } - public String getDescription() { - return "8689:2: ( rule__GenerationTask__UnorderedGroup_3__7 )?"; - } - public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { - TokenStream input = (TokenStream)_input; - int _s = s; - switch ( s ) { - case 0 : - int LA64_0 = input.LA(1); - - - int index64_0 = input.index(); - input.rewind(); - s = -1; - if ( LA64_0 == 30 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0) ) {s = 1;} - - else if ( LA64_0 == 48 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1) ) {s = 2;} - - else if ( LA64_0 == 33 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2) ) {s = 3;} - - else if ( LA64_0 == 46 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3) ) {s = 4;} - - else if ( LA64_0 == 56 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4) ) {s = 5;} - - else if ( LA64_0 == 57 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5) ) {s = 6;} - - else if ( LA64_0 == 49 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6) ) {s = 7;} - - else if ( LA64_0 == 34 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7) ) {s = 8;} - - else if ( LA64_0 == 50 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8) ) {s = 9;} - - else if ( LA64_0 == 51 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9) ) {s = 10;} - - else if ( LA64_0 == 52 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10) ) {s = 11;} - - else if ( LA64_0 == 53 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11) ) {s = 12;} - - else if ( (LA64_0==25) ) {s = 13;} - - - input.seek(index64_0); - if ( s>=0 ) return s; - break; - } - NoViableAltException nvae = - new NoViableAltException(getDescription(), 64, _s, input); - error(nvae); - throw nvae; - } - } - - class DFA65 extends DFA { - - public DFA65(BaseRecognizer recognizer) { - this.recognizer = recognizer; - this.decisionNumber = 65; - this.eot = dfa_1; - this.eof = dfa_1; - this.min = dfa_2; - this.max = dfa_3; - this.accept = dfa_4; - this.special = dfa_5; - this.transition = dfa_6; - } - public String getDescription() { - return "8701:2: ( rule__GenerationTask__UnorderedGroup_3__8 )?"; - } - public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { - TokenStream input = (TokenStream)_input; - int _s = s; - switch ( s ) { - case 0 : - int LA65_0 = input.LA(1); - - - int index65_0 = input.index(); - input.rewind(); - s = -1; - if ( LA65_0 == 30 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0) ) {s = 1;} - - else if ( LA65_0 == 48 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1) ) {s = 2;} - - else if ( LA65_0 == 33 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2) ) {s = 3;} - - else if ( LA65_0 == 46 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3) ) {s = 4;} - - else if ( LA65_0 == 56 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4) ) {s = 5;} - - else if ( LA65_0 == 57 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5) ) {s = 6;} - - else if ( LA65_0 == 49 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6) ) {s = 7;} - - else if ( LA65_0 == 34 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7) ) {s = 8;} - - else if ( LA65_0 == 50 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8) ) {s = 9;} - - else if ( LA65_0 == 51 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9) ) {s = 10;} - - else if ( LA65_0 == 52 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10) ) {s = 11;} - - else if ( LA65_0 == 53 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11) ) {s = 12;} - - else if ( (LA65_0==25) ) {s = 13;} - - - input.seek(index65_0); - if ( s>=0 ) return s; - break; - } - NoViableAltException nvae = - new NoViableAltException(getDescription(), 65, _s, input); - error(nvae); - throw nvae; - } - } - - class DFA66 extends DFA { - - public DFA66(BaseRecognizer recognizer) { - this.recognizer = recognizer; - this.decisionNumber = 66; - this.eot = dfa_1; - this.eof = dfa_1; - this.min = dfa_2; - this.max = dfa_3; - this.accept = dfa_4; - this.special = dfa_5; - this.transition = dfa_6; - } - public String getDescription() { - return "8713:2: ( rule__GenerationTask__UnorderedGroup_3__9 )?"; - } - public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { - TokenStream input = (TokenStream)_input; - int _s = s; - switch ( s ) { - case 0 : - int LA66_0 = input.LA(1); - - - int index66_0 = input.index(); - input.rewind(); - s = -1; - if ( LA66_0 == 30 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0) ) {s = 1;} - - else if ( LA66_0 == 48 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1) ) {s = 2;} - - else if ( LA66_0 == 33 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2) ) {s = 3;} - - else if ( LA66_0 == 46 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3) ) {s = 4;} - - else if ( LA66_0 == 56 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4) ) {s = 5;} - - else if ( LA66_0 == 57 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5) ) {s = 6;} - - else if ( LA66_0 == 49 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6) ) {s = 7;} - - else if ( LA66_0 == 34 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7) ) {s = 8;} - - else if ( LA66_0 == 50 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8) ) {s = 9;} - - else if ( LA66_0 == 51 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9) ) {s = 10;} - - else if ( LA66_0 == 52 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10) ) {s = 11;} - - else if ( LA66_0 == 53 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11) ) {s = 12;} - - else if ( (LA66_0==25) ) {s = 13;} - - - input.seek(index66_0); - if ( s>=0 ) return s; - break; - } - NoViableAltException nvae = - new NoViableAltException(getDescription(), 66, _s, input); - error(nvae); - throw nvae; - } - } - - class DFA67 extends DFA { - - public DFA67(BaseRecognizer recognizer) { - this.recognizer = recognizer; - this.decisionNumber = 67; - this.eot = dfa_1; - this.eof = dfa_1; - this.min = dfa_2; - this.max = dfa_3; - this.accept = dfa_4; - this.special = dfa_5; - this.transition = dfa_6; - } - public String getDescription() { - return "8725:2: ( rule__GenerationTask__UnorderedGroup_3__10 )?"; - } - public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { - TokenStream input = (TokenStream)_input; - int _s = s; - switch ( s ) { - case 0 : - int LA67_0 = input.LA(1); - - - int index67_0 = input.index(); - input.rewind(); - s = -1; - if ( LA67_0 == 30 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0) ) {s = 1;} - - else if ( LA67_0 == 48 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1) ) {s = 2;} - - else if ( LA67_0 == 33 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2) ) {s = 3;} - - else if ( LA67_0 == 46 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3) ) {s = 4;} - - else if ( LA67_0 == 56 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4) ) {s = 5;} - - else if ( LA67_0 == 57 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5) ) {s = 6;} - - else if ( LA67_0 == 49 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6) ) {s = 7;} - - else if ( LA67_0 == 34 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7) ) {s = 8;} - - else if ( LA67_0 == 50 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8) ) {s = 9;} - - else if ( LA67_0 == 51 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9) ) {s = 10;} - - else if ( LA67_0 == 52 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10) ) {s = 11;} - - else if ( LA67_0 == 53 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11) ) {s = 12;} - - else if ( (LA67_0==25) ) {s = 13;} - - - input.seek(index67_0); - if ( s>=0 ) return s; - break; - } - NoViableAltException nvae = - new NoViableAltException(getDescription(), 67, _s, input); - error(nvae); - throw nvae; - } - } - - class DFA68 extends DFA { - - public DFA68(BaseRecognizer recognizer) { - this.recognizer = recognizer; - this.decisionNumber = 68; - this.eot = dfa_1; - this.eof = dfa_1; - this.min = dfa_2; - this.max = dfa_3; - this.accept = dfa_4; - this.special = dfa_5; - this.transition = dfa_6; - } - public String getDescription() { - return "8737:2: ( rule__GenerationTask__UnorderedGroup_3__11 )?"; - } - public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { - TokenStream input = (TokenStream)_input; - int _s = s; - switch ( s ) { - case 0 : - int LA68_0 = input.LA(1); - - - int index68_0 = input.index(); - input.rewind(); - s = -1; - if ( LA68_0 == 30 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0) ) {s = 1;} - - else if ( LA68_0 == 48 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1) ) {s = 2;} - - else if ( LA68_0 == 33 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2) ) {s = 3;} - - else if ( LA68_0 == 46 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3) ) {s = 4;} - - else if ( LA68_0 == 56 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4) ) {s = 5;} - - else if ( LA68_0 == 57 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5) ) {s = 6;} - - else if ( LA68_0 == 49 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6) ) {s = 7;} - - else if ( LA68_0 == 34 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7) ) {s = 8;} - - else if ( LA68_0 == 50 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8) ) {s = 9;} - - else if ( LA68_0 == 51 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9) ) {s = 10;} - - else if ( LA68_0 == 52 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10) ) {s = 11;} - - else if ( LA68_0 == 53 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11) ) {s = 12;} - - else if ( (LA68_0==25) ) {s = 13;} - - - input.seek(index68_0); - if ( s>=0 ) return s; - break; - } - NoViableAltException nvae = - new NoViableAltException(getDescription(), 68, _s, input); - error(nvae); - throw nvae; - } - } - - - public static final BitSet FOLLOW_1 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_2 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_3 = new BitSet(new long[]{0x0000C00740400000L}); - public static final BitSet FOLLOW_4 = new BitSet(new long[]{0x0000000000080002L}); - public static final BitSet FOLLOW_5 = new BitSet(new long[]{0x0000C00740400002L}); - public static final BitSet FOLLOW_6 = new BitSet(new long[]{0x0000000000020000L}); - public static final BitSet FOLLOW_7 = new BitSet(new long[]{0x0000000000020002L}); - public static final BitSet FOLLOW_8 = new BitSet(new long[]{0x0000000000000010L}); - public static final BitSet FOLLOW_9 = new BitSet(new long[]{0x0000000000000020L}); - public static final BitSet FOLLOW_10 = new BitSet(new long[]{0x0000000000100000L}); - public static final BitSet FOLLOW_11 = new BitSet(new long[]{0x0000000000000040L}); - public static final BitSet FOLLOW_12 = new BitSet(new long[]{0x0000000000200000L}); - public static final BitSet FOLLOW_13 = new BitSet(new long[]{0x0000000000800000L}); - public static final BitSet FOLLOW_14 = new BitSet(new long[]{0x0000000008000010L}); - public static final BitSet FOLLOW_15 = new BitSet(new long[]{0x0000000006000000L}); - public static final BitSet FOLLOW_16 = new BitSet(new long[]{0x0000000004000002L}); - public static final BitSet FOLLOW_17 = new BitSet(new long[]{0x0000000010000000L}); - public static final BitSet FOLLOW_18 = new BitSet(new long[]{0x0000000001000000L}); - public static final BitSet FOLLOW_19 = new BitSet(new long[]{0x0000000020000000L}); - public static final BitSet FOLLOW_20 = new BitSet(new long[]{0x0000000080000050L}); - public static final BitSet FOLLOW_21 = new BitSet(new long[]{0x0000000000000050L}); - public static final BitSet FOLLOW_22 = new BitSet(new long[]{0x0000003802000040L}); - public static final BitSet FOLLOW_23 = new BitSet(new long[]{0x0000000004000000L}); - public static final BitSet FOLLOW_24 = new BitSet(new long[]{0x0000003800000040L}); - public static final BitSet FOLLOW_25 = new BitSet(new long[]{0x0000000000003800L}); - public static final BitSet FOLLOW_26 = new BitSet(new long[]{0x0000004002000000L}); - public static final BitSet FOLLOW_27 = new BitSet(new long[]{0x0000004000000000L}); - public static final BitSet FOLLOW_28 = new BitSet(new long[]{0x0000008000000000L}); - public static final BitSet FOLLOW_29 = new BitSet(new long[]{0x0040000000800000L}); - public static final BitSet FOLLOW_30 = new BitSet(new long[]{0x0080000000000020L}); - public static final BitSet FOLLOW_31 = new BitSet(new long[]{0x0000020000000000L}); - public static final BitSet FOLLOW_32 = new BitSet(new long[]{0x0000040000000000L}); - public static final BitSet FOLLOW_33 = new BitSet(new long[]{0x0080000001000020L}); - public static final BitSet FOLLOW_34 = new BitSet(new long[]{0x0000080000000000L}); - public static final BitSet FOLLOW_35 = new BitSet(new long[]{0x0000100000000000L}); - public static final BitSet FOLLOW_36 = new BitSet(new long[]{0x0000010000000000L}); - public static final BitSet FOLLOW_37 = new BitSet(new long[]{0x0000200000000000L}); - public static final BitSet FOLLOW_38 = new BitSet(new long[]{0x0000000002040020L}); - public static final BitSet FOLLOW_39 = new BitSet(new long[]{0x0000000000040020L}); - public static final BitSet FOLLOW_40 = new BitSet(new long[]{0x0000000002000040L}); - public static final BitSet FOLLOW_41 = new BitSet(new long[]{0x033F400640000000L}); - public static final BitSet FOLLOW_42 = new BitSet(new long[]{0x0000000002000000L}); - public static final BitSet FOLLOW_43 = new BitSet(new long[]{0x0000000001000010L}); - public static final BitSet FOLLOW_44 = new BitSet(new long[]{0x000000000001C000L}); - public static final BitSet FOLLOW_45 = new BitSet(new long[]{0x033F400640000002L}); - -} +package hu.bme.mit.inf.dslreasoner.application.ide.contentassist.antlr.internal; + +import java.io.InputStream; +import org.eclipse.xtext.*; +import org.eclipse.xtext.parser.*; +import org.eclipse.xtext.parser.impl.*; +import org.eclipse.emf.ecore.util.EcoreUtil; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.xtext.parser.antlr.XtextTokenStream; +import org.eclipse.xtext.parser.antlr.XtextTokenStream.HiddenTokens; +import org.eclipse.xtext.ide.editor.contentassist.antlr.internal.AbstractInternalContentAssistParser; +import org.eclipse.xtext.ide.editor.contentassist.antlr.internal.DFA; +import hu.bme.mit.inf.dslreasoner.application.services.ApplicationConfigurationGrammarAccess; + + + +import org.antlr.runtime.*; +import java.util.Stack; +import java.util.List; +import java.util.ArrayList; + +@SuppressWarnings("all") +public class InternalApplicationConfigurationParser extends AbstractInternalContentAssistParser { + public static final String[] tokenNames = new String[] { + "", "", "", "", "RULE_ID", "RULE_INT", "RULE_STRING", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "'minimize'", "'maximize'", "'<='", "'>='", "'none'", "'normal'", "'full'", "'SMTSolver'", "'AlloySolver'", "'ViatraSolver'", "'.'", "'-'", "'import'", "'epackage'", "'viatra'", "'reliability'", "'file'", "'='", "'{'", "'}'", "','", "'package'", "'excluding'", "'::'", "'metamodel'", "'folder'", "'models'", "'constraints'", "'objectives'", "'config'", "'log-level'", "'runtime'", "'memory'", "'#'", "'<'", "'>'", "'node'", "'int'", "'real'", "'string'", "'..'", "'scope'", "'generate'", "'partial-model'", "'solver'", "'debug'", "'log'", "'statistics'", "'output'", "'+='", "'*'", "'number'", "'runs'" + }; + 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__59=59; + public static final int T__16=16; + public static final int T__17=17; + public static final int T__18=18; + public static final int T__11=11; + public static final int T__55=55; + public static final int T__12=12; + public static final int T__56=56; + public static final int T__13=13; + public static final int T__57=57; + public static final int T__14=14; + public static final int T__58=58; + public static final int T__51=51; + public static final int T__52=52; + public static final int T__53=53; + public static final int T__54=54; + public static final int T__60=60; + public static final int T__61=61; + public static final int RULE_ID=4; + public static final int T__26=26; + public static final int T__27=27; + public static final int T__28=28; + public static final int RULE_INT=5; + public static final int T__29=29; + public static final int T__22=22; + public static final int RULE_ML_COMMENT=7; + public static final int T__23=23; + public static final int T__24=24; + public static final int T__25=25; + public static final int T__62=62; + public static final int T__63=63; + public static final int T__20=20; + public static final int T__21=21; + public static final int RULE_STRING=6; + public static final int RULE_SL_COMMENT=8; + public static final int T__37=37; + public static final int T__38=38; + public static final int T__39=39; + public static final int T__33=33; + public static final int T__34=34; + public static final int T__35=35; + public static final int T__36=36; + public static final int EOF=-1; + public static final int T__30=30; + public static final int T__31=31; + public static final int T__32=32; + public static final int RULE_WS=9; + public static final int RULE_ANY_OTHER=10; + public static final int T__48=48; + public static final int T__49=49; + public static final int T__44=44; + public static final int T__45=45; + public static final int T__46=46; + public static final int T__47=47; + public static final int T__40=40; + public static final int T__41=41; + public static final int T__42=42; + public static final int T__43=43; + + // delegates + // delegators + + + public InternalApplicationConfigurationParser(TokenStream input) { + this(input, new RecognizerSharedState()); + } + public InternalApplicationConfigurationParser(TokenStream input, RecognizerSharedState state) { + super(input, state); + + } + + + public String[] getTokenNames() { return InternalApplicationConfigurationParser.tokenNames; } + public String getGrammarFileName() { return "InternalApplicationConfiguration.g"; } + + + private ApplicationConfigurationGrammarAccess grammarAccess; + + public void setGrammarAccess(ApplicationConfigurationGrammarAccess grammarAccess) { + this.grammarAccess = grammarAccess; + } + + @Override + protected Grammar getGrammar() { + return grammarAccess.getGrammar(); + } + + @Override + protected String getValueForTokenName(String tokenName) { + return tokenName; + } + + + + // $ANTLR start "entryRuleConfigurationScript" + // InternalApplicationConfiguration.g:53:1: entryRuleConfigurationScript : ruleConfigurationScript EOF ; + public final void entryRuleConfigurationScript() throws RecognitionException { + try { + // InternalApplicationConfiguration.g:54:1: ( ruleConfigurationScript EOF ) + // InternalApplicationConfiguration.g:55:1: ruleConfigurationScript EOF + { + before(grammarAccess.getConfigurationScriptRule()); + pushFollow(FOLLOW_1); + ruleConfigurationScript(); + + state._fsp--; + + after(grammarAccess.getConfigurationScriptRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleConfigurationScript" + + + // $ANTLR start "ruleConfigurationScript" + // InternalApplicationConfiguration.g:62:1: ruleConfigurationScript : ( ( rule__ConfigurationScript__Group__0 ) ) ; + public final void ruleConfigurationScript() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:66:2: ( ( ( rule__ConfigurationScript__Group__0 ) ) ) + // InternalApplicationConfiguration.g:67:2: ( ( rule__ConfigurationScript__Group__0 ) ) + { + // InternalApplicationConfiguration.g:67:2: ( ( rule__ConfigurationScript__Group__0 ) ) + // InternalApplicationConfiguration.g:68:3: ( rule__ConfigurationScript__Group__0 ) + { + before(grammarAccess.getConfigurationScriptAccess().getGroup()); + // InternalApplicationConfiguration.g:69:3: ( rule__ConfigurationScript__Group__0 ) + // InternalApplicationConfiguration.g:69:4: rule__ConfigurationScript__Group__0 + { + pushFollow(FOLLOW_2); + rule__ConfigurationScript__Group__0(); + + state._fsp--; + + + } + + after(grammarAccess.getConfigurationScriptAccess().getGroup()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleConfigurationScript" + + + // $ANTLR start "entryRuleCommand" + // InternalApplicationConfiguration.g:78:1: entryRuleCommand : ruleCommand EOF ; + public final void entryRuleCommand() throws RecognitionException { + try { + // InternalApplicationConfiguration.g:79:1: ( ruleCommand EOF ) + // InternalApplicationConfiguration.g:80:1: ruleCommand EOF + { + before(grammarAccess.getCommandRule()); + pushFollow(FOLLOW_1); + ruleCommand(); + + state._fsp--; + + after(grammarAccess.getCommandRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleCommand" + + + // $ANTLR start "ruleCommand" + // InternalApplicationConfiguration.g:87:1: ruleCommand : ( ( rule__Command__Alternatives ) ) ; + public final void ruleCommand() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:91:2: ( ( ( rule__Command__Alternatives ) ) ) + // InternalApplicationConfiguration.g:92:2: ( ( rule__Command__Alternatives ) ) + { + // InternalApplicationConfiguration.g:92:2: ( ( rule__Command__Alternatives ) ) + // InternalApplicationConfiguration.g:93:3: ( rule__Command__Alternatives ) + { + before(grammarAccess.getCommandAccess().getAlternatives()); + // InternalApplicationConfiguration.g:94:3: ( rule__Command__Alternatives ) + // InternalApplicationConfiguration.g:94:4: rule__Command__Alternatives + { + pushFollow(FOLLOW_2); + rule__Command__Alternatives(); + + state._fsp--; + + + } + + after(grammarAccess.getCommandAccess().getAlternatives()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleCommand" + + + // $ANTLR start "entryRuleQualifiedName" + // InternalApplicationConfiguration.g:103:1: entryRuleQualifiedName : ruleQualifiedName EOF ; + public final void entryRuleQualifiedName() throws RecognitionException { + try { + // InternalApplicationConfiguration.g:104:1: ( ruleQualifiedName EOF ) + // InternalApplicationConfiguration.g:105:1: ruleQualifiedName EOF + { + before(grammarAccess.getQualifiedNameRule()); + pushFollow(FOLLOW_1); + ruleQualifiedName(); + + state._fsp--; + + after(grammarAccess.getQualifiedNameRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleQualifiedName" + + + // $ANTLR start "ruleQualifiedName" + // InternalApplicationConfiguration.g:112:1: ruleQualifiedName : ( ( rule__QualifiedName__Group__0 ) ) ; + public final void ruleQualifiedName() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:116:2: ( ( ( rule__QualifiedName__Group__0 ) ) ) + // InternalApplicationConfiguration.g:117:2: ( ( rule__QualifiedName__Group__0 ) ) + { + // InternalApplicationConfiguration.g:117:2: ( ( rule__QualifiedName__Group__0 ) ) + // InternalApplicationConfiguration.g:118:3: ( rule__QualifiedName__Group__0 ) + { + before(grammarAccess.getQualifiedNameAccess().getGroup()); + // InternalApplicationConfiguration.g:119:3: ( rule__QualifiedName__Group__0 ) + // InternalApplicationConfiguration.g:119:4: rule__QualifiedName__Group__0 + { + pushFollow(FOLLOW_2); + rule__QualifiedName__Group__0(); + + state._fsp--; + + + } + + after(grammarAccess.getQualifiedNameAccess().getGroup()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleQualifiedName" + + + // $ANTLR start "entryRuleREALLiteral" + // InternalApplicationConfiguration.g:128:1: entryRuleREALLiteral : ruleREALLiteral EOF ; + public final void entryRuleREALLiteral() throws RecognitionException { + try { + // InternalApplicationConfiguration.g:129:1: ( ruleREALLiteral EOF ) + // InternalApplicationConfiguration.g:130:1: ruleREALLiteral EOF + { + before(grammarAccess.getREALLiteralRule()); + pushFollow(FOLLOW_1); + ruleREALLiteral(); + + state._fsp--; + + after(grammarAccess.getREALLiteralRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleREALLiteral" + + + // $ANTLR start "ruleREALLiteral" + // InternalApplicationConfiguration.g:137:1: ruleREALLiteral : ( ( rule__REALLiteral__Group__0 ) ) ; + public final void ruleREALLiteral() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:141:2: ( ( ( rule__REALLiteral__Group__0 ) ) ) + // InternalApplicationConfiguration.g:142:2: ( ( rule__REALLiteral__Group__0 ) ) + { + // InternalApplicationConfiguration.g:142:2: ( ( rule__REALLiteral__Group__0 ) ) + // InternalApplicationConfiguration.g:143:3: ( rule__REALLiteral__Group__0 ) + { + before(grammarAccess.getREALLiteralAccess().getGroup()); + // InternalApplicationConfiguration.g:144:3: ( rule__REALLiteral__Group__0 ) + // InternalApplicationConfiguration.g:144:4: rule__REALLiteral__Group__0 + { + pushFollow(FOLLOW_2); + rule__REALLiteral__Group__0(); + + state._fsp--; + + + } + + after(grammarAccess.getREALLiteralAccess().getGroup()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleREALLiteral" + + + // $ANTLR start "entryRuleINTLiteral" + // InternalApplicationConfiguration.g:153:1: entryRuleINTLiteral : ruleINTLiteral EOF ; + public final void entryRuleINTLiteral() throws RecognitionException { + try { + // InternalApplicationConfiguration.g:154:1: ( ruleINTLiteral EOF ) + // InternalApplicationConfiguration.g:155:1: ruleINTLiteral EOF + { + before(grammarAccess.getINTLiteralRule()); + pushFollow(FOLLOW_1); + ruleINTLiteral(); + + state._fsp--; + + after(grammarAccess.getINTLiteralRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleINTLiteral" + + + // $ANTLR start "ruleINTLiteral" + // InternalApplicationConfiguration.g:162:1: ruleINTLiteral : ( ( rule__INTLiteral__Group__0 ) ) ; + public final void ruleINTLiteral() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:166:2: ( ( ( rule__INTLiteral__Group__0 ) ) ) + // InternalApplicationConfiguration.g:167:2: ( ( rule__INTLiteral__Group__0 ) ) + { + // InternalApplicationConfiguration.g:167:2: ( ( rule__INTLiteral__Group__0 ) ) + // InternalApplicationConfiguration.g:168:3: ( rule__INTLiteral__Group__0 ) + { + before(grammarAccess.getINTLiteralAccess().getGroup()); + // InternalApplicationConfiguration.g:169:3: ( rule__INTLiteral__Group__0 ) + // InternalApplicationConfiguration.g:169:4: rule__INTLiteral__Group__0 + { + pushFollow(FOLLOW_2); + rule__INTLiteral__Group__0(); + + state._fsp--; + + + } + + after(grammarAccess.getINTLiteralAccess().getGroup()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleINTLiteral" + + + // $ANTLR start "entryRuleImport" + // InternalApplicationConfiguration.g:178:1: entryRuleImport : ruleImport EOF ; + public final void entryRuleImport() throws RecognitionException { + try { + // InternalApplicationConfiguration.g:179:1: ( ruleImport EOF ) + // InternalApplicationConfiguration.g:180:1: ruleImport EOF + { + before(grammarAccess.getImportRule()); + pushFollow(FOLLOW_1); + ruleImport(); + + state._fsp--; + + after(grammarAccess.getImportRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleImport" + + + // $ANTLR start "ruleImport" + // InternalApplicationConfiguration.g:187:1: ruleImport : ( ( rule__Import__Alternatives ) ) ; + public final void ruleImport() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:191:2: ( ( ( rule__Import__Alternatives ) ) ) + // InternalApplicationConfiguration.g:192:2: ( ( rule__Import__Alternatives ) ) + { + // InternalApplicationConfiguration.g:192:2: ( ( rule__Import__Alternatives ) ) + // InternalApplicationConfiguration.g:193:3: ( rule__Import__Alternatives ) + { + before(grammarAccess.getImportAccess().getAlternatives()); + // InternalApplicationConfiguration.g:194:3: ( rule__Import__Alternatives ) + // InternalApplicationConfiguration.g:194:4: rule__Import__Alternatives + { + pushFollow(FOLLOW_2); + rule__Import__Alternatives(); + + state._fsp--; + + + } + + after(grammarAccess.getImportAccess().getAlternatives()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleImport" + + + // $ANTLR start "entryRuleEPackageImport" + // InternalApplicationConfiguration.g:203:1: entryRuleEPackageImport : ruleEPackageImport EOF ; + public final void entryRuleEPackageImport() throws RecognitionException { + try { + // InternalApplicationConfiguration.g:204:1: ( ruleEPackageImport EOF ) + // InternalApplicationConfiguration.g:205:1: ruleEPackageImport EOF + { + before(grammarAccess.getEPackageImportRule()); + pushFollow(FOLLOW_1); + ruleEPackageImport(); + + state._fsp--; + + after(grammarAccess.getEPackageImportRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleEPackageImport" + + + // $ANTLR start "ruleEPackageImport" + // InternalApplicationConfiguration.g:212:1: ruleEPackageImport : ( ( rule__EPackageImport__Group__0 ) ) ; + public final void ruleEPackageImport() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:216:2: ( ( ( rule__EPackageImport__Group__0 ) ) ) + // InternalApplicationConfiguration.g:217:2: ( ( rule__EPackageImport__Group__0 ) ) + { + // InternalApplicationConfiguration.g:217:2: ( ( rule__EPackageImport__Group__0 ) ) + // InternalApplicationConfiguration.g:218:3: ( rule__EPackageImport__Group__0 ) + { + before(grammarAccess.getEPackageImportAccess().getGroup()); + // InternalApplicationConfiguration.g:219:3: ( rule__EPackageImport__Group__0 ) + // InternalApplicationConfiguration.g:219:4: rule__EPackageImport__Group__0 + { + pushFollow(FOLLOW_2); + rule__EPackageImport__Group__0(); + + state._fsp--; + + + } + + after(grammarAccess.getEPackageImportAccess().getGroup()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleEPackageImport" + + + // $ANTLR start "entryRuleViatraImport" + // InternalApplicationConfiguration.g:228:1: entryRuleViatraImport : ruleViatraImport EOF ; + public final void entryRuleViatraImport() throws RecognitionException { + try { + // InternalApplicationConfiguration.g:229:1: ( ruleViatraImport EOF ) + // InternalApplicationConfiguration.g:230:1: ruleViatraImport EOF + { + before(grammarAccess.getViatraImportRule()); + pushFollow(FOLLOW_1); + ruleViatraImport(); + + state._fsp--; + + after(grammarAccess.getViatraImportRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleViatraImport" + + + // $ANTLR start "ruleViatraImport" + // InternalApplicationConfiguration.g:237:1: ruleViatraImport : ( ( rule__ViatraImport__Group__0 ) ) ; + public final void ruleViatraImport() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:241:2: ( ( ( rule__ViatraImport__Group__0 ) ) ) + // InternalApplicationConfiguration.g:242:2: ( ( rule__ViatraImport__Group__0 ) ) + { + // InternalApplicationConfiguration.g:242:2: ( ( rule__ViatraImport__Group__0 ) ) + // InternalApplicationConfiguration.g:243:3: ( rule__ViatraImport__Group__0 ) + { + before(grammarAccess.getViatraImportAccess().getGroup()); + // InternalApplicationConfiguration.g:244:3: ( rule__ViatraImport__Group__0 ) + // InternalApplicationConfiguration.g:244:4: rule__ViatraImport__Group__0 + { + pushFollow(FOLLOW_2); + rule__ViatraImport__Group__0(); + + state._fsp--; + + + } + + after(grammarAccess.getViatraImportAccess().getGroup()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleViatraImport" + + + // $ANTLR start "entryRuleCftImport" + // InternalApplicationConfiguration.g:253:1: entryRuleCftImport : ruleCftImport EOF ; + public final void entryRuleCftImport() throws RecognitionException { + try { + // InternalApplicationConfiguration.g:254:1: ( ruleCftImport EOF ) + // InternalApplicationConfiguration.g:255:1: ruleCftImport EOF + { + before(grammarAccess.getCftImportRule()); + pushFollow(FOLLOW_1); + ruleCftImport(); + + state._fsp--; + + after(grammarAccess.getCftImportRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleCftImport" + + + // $ANTLR start "ruleCftImport" + // InternalApplicationConfiguration.g:262:1: ruleCftImport : ( ( rule__CftImport__Group__0 ) ) ; + public final void ruleCftImport() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:266:2: ( ( ( rule__CftImport__Group__0 ) ) ) + // InternalApplicationConfiguration.g:267:2: ( ( rule__CftImport__Group__0 ) ) + { + // InternalApplicationConfiguration.g:267:2: ( ( rule__CftImport__Group__0 ) ) + // InternalApplicationConfiguration.g:268:3: ( rule__CftImport__Group__0 ) + { + before(grammarAccess.getCftImportAccess().getGroup()); + // InternalApplicationConfiguration.g:269:3: ( rule__CftImport__Group__0 ) + // InternalApplicationConfiguration.g:269:4: rule__CftImport__Group__0 + { + pushFollow(FOLLOW_2); + rule__CftImport__Group__0(); + + state._fsp--; + + + } + + after(grammarAccess.getCftImportAccess().getGroup()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleCftImport" + + + // $ANTLR start "entryRuleDeclaration" + // InternalApplicationConfiguration.g:278:1: entryRuleDeclaration : ruleDeclaration EOF ; + public final void entryRuleDeclaration() throws RecognitionException { + try { + // InternalApplicationConfiguration.g:279:1: ( ruleDeclaration EOF ) + // InternalApplicationConfiguration.g:280:1: ruleDeclaration EOF + { + before(grammarAccess.getDeclarationRule()); + pushFollow(FOLLOW_1); + ruleDeclaration(); + + state._fsp--; + + after(grammarAccess.getDeclarationRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleDeclaration" + + + // $ANTLR start "ruleDeclaration" + // InternalApplicationConfiguration.g:287:1: ruleDeclaration : ( ( rule__Declaration__Alternatives ) ) ; + public final void ruleDeclaration() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:291:2: ( ( ( rule__Declaration__Alternatives ) ) ) + // InternalApplicationConfiguration.g:292:2: ( ( rule__Declaration__Alternatives ) ) + { + // InternalApplicationConfiguration.g:292:2: ( ( rule__Declaration__Alternatives ) ) + // InternalApplicationConfiguration.g:293:3: ( rule__Declaration__Alternatives ) + { + before(grammarAccess.getDeclarationAccess().getAlternatives()); + // InternalApplicationConfiguration.g:294:3: ( rule__Declaration__Alternatives ) + // InternalApplicationConfiguration.g:294:4: rule__Declaration__Alternatives + { + pushFollow(FOLLOW_2); + rule__Declaration__Alternatives(); + + state._fsp--; + + + } + + after(grammarAccess.getDeclarationAccess().getAlternatives()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleDeclaration" + + + // $ANTLR start "entryRuleFileSpecification" + // InternalApplicationConfiguration.g:303:1: entryRuleFileSpecification : ruleFileSpecification EOF ; + public final void entryRuleFileSpecification() throws RecognitionException { + try { + // InternalApplicationConfiguration.g:304:1: ( ruleFileSpecification EOF ) + // InternalApplicationConfiguration.g:305:1: ruleFileSpecification EOF + { + before(grammarAccess.getFileSpecificationRule()); + pushFollow(FOLLOW_1); + ruleFileSpecification(); + + state._fsp--; + + after(grammarAccess.getFileSpecificationRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleFileSpecification" + + + // $ANTLR start "ruleFileSpecification" + // InternalApplicationConfiguration.g:312:1: ruleFileSpecification : ( ( rule__FileSpecification__PathAssignment ) ) ; + public final void ruleFileSpecification() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:316:2: ( ( ( rule__FileSpecification__PathAssignment ) ) ) + // InternalApplicationConfiguration.g:317:2: ( ( rule__FileSpecification__PathAssignment ) ) + { + // InternalApplicationConfiguration.g:317:2: ( ( rule__FileSpecification__PathAssignment ) ) + // InternalApplicationConfiguration.g:318:3: ( rule__FileSpecification__PathAssignment ) + { + before(grammarAccess.getFileSpecificationAccess().getPathAssignment()); + // InternalApplicationConfiguration.g:319:3: ( rule__FileSpecification__PathAssignment ) + // InternalApplicationConfiguration.g:319:4: rule__FileSpecification__PathAssignment + { + pushFollow(FOLLOW_2); + rule__FileSpecification__PathAssignment(); + + state._fsp--; + + + } + + after(grammarAccess.getFileSpecificationAccess().getPathAssignment()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleFileSpecification" + + + // $ANTLR start "entryRuleFileDeclaration" + // InternalApplicationConfiguration.g:328:1: entryRuleFileDeclaration : ruleFileDeclaration EOF ; + public final void entryRuleFileDeclaration() throws RecognitionException { + try { + // InternalApplicationConfiguration.g:329:1: ( ruleFileDeclaration EOF ) + // InternalApplicationConfiguration.g:330:1: ruleFileDeclaration EOF + { + before(grammarAccess.getFileDeclarationRule()); + pushFollow(FOLLOW_1); + ruleFileDeclaration(); + + state._fsp--; + + after(grammarAccess.getFileDeclarationRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleFileDeclaration" + + + // $ANTLR start "ruleFileDeclaration" + // InternalApplicationConfiguration.g:337:1: ruleFileDeclaration : ( ( rule__FileDeclaration__Group__0 ) ) ; + public final void ruleFileDeclaration() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:341:2: ( ( ( rule__FileDeclaration__Group__0 ) ) ) + // InternalApplicationConfiguration.g:342:2: ( ( rule__FileDeclaration__Group__0 ) ) + { + // InternalApplicationConfiguration.g:342:2: ( ( rule__FileDeclaration__Group__0 ) ) + // InternalApplicationConfiguration.g:343:3: ( rule__FileDeclaration__Group__0 ) + { + before(grammarAccess.getFileDeclarationAccess().getGroup()); + // InternalApplicationConfiguration.g:344:3: ( rule__FileDeclaration__Group__0 ) + // InternalApplicationConfiguration.g:344:4: rule__FileDeclaration__Group__0 + { + pushFollow(FOLLOW_2); + rule__FileDeclaration__Group__0(); + + state._fsp--; + + + } + + after(grammarAccess.getFileDeclarationAccess().getGroup()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleFileDeclaration" + + + // $ANTLR start "entryRuleFileReference" + // InternalApplicationConfiguration.g:353:1: entryRuleFileReference : ruleFileReference EOF ; + public final void entryRuleFileReference() throws RecognitionException { + try { + // InternalApplicationConfiguration.g:354:1: ( ruleFileReference EOF ) + // InternalApplicationConfiguration.g:355:1: ruleFileReference EOF + { + before(grammarAccess.getFileReferenceRule()); + pushFollow(FOLLOW_1); + ruleFileReference(); + + state._fsp--; + + after(grammarAccess.getFileReferenceRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleFileReference" + + + // $ANTLR start "ruleFileReference" + // InternalApplicationConfiguration.g:362:1: ruleFileReference : ( ( rule__FileReference__ReferredAssignment ) ) ; + public final void ruleFileReference() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:366:2: ( ( ( rule__FileReference__ReferredAssignment ) ) ) + // InternalApplicationConfiguration.g:367:2: ( ( rule__FileReference__ReferredAssignment ) ) + { + // InternalApplicationConfiguration.g:367:2: ( ( rule__FileReference__ReferredAssignment ) ) + // InternalApplicationConfiguration.g:368:3: ( rule__FileReference__ReferredAssignment ) + { + before(grammarAccess.getFileReferenceAccess().getReferredAssignment()); + // InternalApplicationConfiguration.g:369:3: ( rule__FileReference__ReferredAssignment ) + // InternalApplicationConfiguration.g:369:4: rule__FileReference__ReferredAssignment + { + pushFollow(FOLLOW_2); + rule__FileReference__ReferredAssignment(); + + state._fsp--; + + + } + + after(grammarAccess.getFileReferenceAccess().getReferredAssignment()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleFileReference" + + + // $ANTLR start "entryRuleFile" + // InternalApplicationConfiguration.g:378:1: entryRuleFile : ruleFile EOF ; + public final void entryRuleFile() throws RecognitionException { + try { + // InternalApplicationConfiguration.g:379:1: ( ruleFile EOF ) + // InternalApplicationConfiguration.g:380:1: ruleFile EOF + { + before(grammarAccess.getFileRule()); + pushFollow(FOLLOW_1); + ruleFile(); + + state._fsp--; + + after(grammarAccess.getFileRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleFile" + + + // $ANTLR start "ruleFile" + // InternalApplicationConfiguration.g:387:1: ruleFile : ( ( rule__File__Alternatives ) ) ; + public final void ruleFile() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:391:2: ( ( ( rule__File__Alternatives ) ) ) + // InternalApplicationConfiguration.g:392:2: ( ( rule__File__Alternatives ) ) + { + // InternalApplicationConfiguration.g:392:2: ( ( rule__File__Alternatives ) ) + // InternalApplicationConfiguration.g:393:3: ( rule__File__Alternatives ) + { + before(grammarAccess.getFileAccess().getAlternatives()); + // InternalApplicationConfiguration.g:394:3: ( rule__File__Alternatives ) + // InternalApplicationConfiguration.g:394:4: rule__File__Alternatives + { + pushFollow(FOLLOW_2); + rule__File__Alternatives(); + + state._fsp--; + + + } + + after(grammarAccess.getFileAccess().getAlternatives()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleFile" + + + // $ANTLR start "entryRuleMetamodelSpecification" + // InternalApplicationConfiguration.g:403:1: entryRuleMetamodelSpecification : ruleMetamodelSpecification EOF ; + public final void entryRuleMetamodelSpecification() throws RecognitionException { + try { + // InternalApplicationConfiguration.g:404:1: ( ruleMetamodelSpecification EOF ) + // InternalApplicationConfiguration.g:405:1: ruleMetamodelSpecification EOF + { + before(grammarAccess.getMetamodelSpecificationRule()); + pushFollow(FOLLOW_1); + ruleMetamodelSpecification(); + + state._fsp--; + + after(grammarAccess.getMetamodelSpecificationRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleMetamodelSpecification" + + + // $ANTLR start "ruleMetamodelSpecification" + // InternalApplicationConfiguration.g:412:1: ruleMetamodelSpecification : ( ( rule__MetamodelSpecification__Group__0 ) ) ; + public final void ruleMetamodelSpecification() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:416:2: ( ( ( rule__MetamodelSpecification__Group__0 ) ) ) + // InternalApplicationConfiguration.g:417:2: ( ( rule__MetamodelSpecification__Group__0 ) ) + { + // InternalApplicationConfiguration.g:417:2: ( ( rule__MetamodelSpecification__Group__0 ) ) + // InternalApplicationConfiguration.g:418:3: ( rule__MetamodelSpecification__Group__0 ) + { + before(grammarAccess.getMetamodelSpecificationAccess().getGroup()); + // InternalApplicationConfiguration.g:419:3: ( rule__MetamodelSpecification__Group__0 ) + // InternalApplicationConfiguration.g:419:4: rule__MetamodelSpecification__Group__0 + { + pushFollow(FOLLOW_2); + rule__MetamodelSpecification__Group__0(); + + state._fsp--; + + + } + + after(grammarAccess.getMetamodelSpecificationAccess().getGroup()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleMetamodelSpecification" + + + // $ANTLR start "entryRuleMetamodelEntry" + // InternalApplicationConfiguration.g:428:1: entryRuleMetamodelEntry : ruleMetamodelEntry EOF ; + public final void entryRuleMetamodelEntry() throws RecognitionException { + try { + // InternalApplicationConfiguration.g:429:1: ( ruleMetamodelEntry EOF ) + // InternalApplicationConfiguration.g:430:1: ruleMetamodelEntry EOF + { + before(grammarAccess.getMetamodelEntryRule()); + pushFollow(FOLLOW_1); + ruleMetamodelEntry(); + + state._fsp--; + + after(grammarAccess.getMetamodelEntryRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleMetamodelEntry" + + + // $ANTLR start "ruleMetamodelEntry" + // InternalApplicationConfiguration.g:437:1: ruleMetamodelEntry : ( ( rule__MetamodelEntry__Alternatives ) ) ; + public final void ruleMetamodelEntry() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:441:2: ( ( ( rule__MetamodelEntry__Alternatives ) ) ) + // InternalApplicationConfiguration.g:442:2: ( ( rule__MetamodelEntry__Alternatives ) ) + { + // InternalApplicationConfiguration.g:442:2: ( ( rule__MetamodelEntry__Alternatives ) ) + // InternalApplicationConfiguration.g:443:3: ( rule__MetamodelEntry__Alternatives ) + { + before(grammarAccess.getMetamodelEntryAccess().getAlternatives()); + // InternalApplicationConfiguration.g:444:3: ( rule__MetamodelEntry__Alternatives ) + // InternalApplicationConfiguration.g:444:4: rule__MetamodelEntry__Alternatives + { + pushFollow(FOLLOW_2); + rule__MetamodelEntry__Alternatives(); + + state._fsp--; + + + } + + after(grammarAccess.getMetamodelEntryAccess().getAlternatives()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleMetamodelEntry" + + + // $ANTLR start "entryRuleAllPackageEntry" + // InternalApplicationConfiguration.g:453:1: entryRuleAllPackageEntry : ruleAllPackageEntry EOF ; + public final void entryRuleAllPackageEntry() throws RecognitionException { + try { + // InternalApplicationConfiguration.g:454:1: ( ruleAllPackageEntry EOF ) + // InternalApplicationConfiguration.g:455:1: ruleAllPackageEntry EOF + { + before(grammarAccess.getAllPackageEntryRule()); + pushFollow(FOLLOW_1); + ruleAllPackageEntry(); + + state._fsp--; + + after(grammarAccess.getAllPackageEntryRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleAllPackageEntry" + + + // $ANTLR start "ruleAllPackageEntry" + // InternalApplicationConfiguration.g:462:1: ruleAllPackageEntry : ( ( rule__AllPackageEntry__Group__0 ) ) ; + public final void ruleAllPackageEntry() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:466:2: ( ( ( rule__AllPackageEntry__Group__0 ) ) ) + // InternalApplicationConfiguration.g:467:2: ( ( rule__AllPackageEntry__Group__0 ) ) + { + // InternalApplicationConfiguration.g:467:2: ( ( rule__AllPackageEntry__Group__0 ) ) + // InternalApplicationConfiguration.g:468:3: ( rule__AllPackageEntry__Group__0 ) + { + before(grammarAccess.getAllPackageEntryAccess().getGroup()); + // InternalApplicationConfiguration.g:469:3: ( rule__AllPackageEntry__Group__0 ) + // InternalApplicationConfiguration.g:469:4: rule__AllPackageEntry__Group__0 + { + pushFollow(FOLLOW_2); + rule__AllPackageEntry__Group__0(); + + state._fsp--; + + + } + + after(grammarAccess.getAllPackageEntryAccess().getGroup()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleAllPackageEntry" + + + // $ANTLR start "entryRuleMetamodelElement" + // InternalApplicationConfiguration.g:478:1: entryRuleMetamodelElement : ruleMetamodelElement EOF ; + public final void entryRuleMetamodelElement() throws RecognitionException { + try { + // InternalApplicationConfiguration.g:479:1: ( ruleMetamodelElement EOF ) + // InternalApplicationConfiguration.g:480:1: ruleMetamodelElement EOF + { + before(grammarAccess.getMetamodelElementRule()); + pushFollow(FOLLOW_1); + ruleMetamodelElement(); + + state._fsp--; + + after(grammarAccess.getMetamodelElementRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleMetamodelElement" + + + // $ANTLR start "ruleMetamodelElement" + // InternalApplicationConfiguration.g:487:1: ruleMetamodelElement : ( ( rule__MetamodelElement__Group__0 ) ) ; + public final void ruleMetamodelElement() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:491:2: ( ( ( rule__MetamodelElement__Group__0 ) ) ) + // InternalApplicationConfiguration.g:492:2: ( ( rule__MetamodelElement__Group__0 ) ) + { + // InternalApplicationConfiguration.g:492:2: ( ( rule__MetamodelElement__Group__0 ) ) + // InternalApplicationConfiguration.g:493:3: ( rule__MetamodelElement__Group__0 ) + { + before(grammarAccess.getMetamodelElementAccess().getGroup()); + // InternalApplicationConfiguration.g:494:3: ( rule__MetamodelElement__Group__0 ) + // InternalApplicationConfiguration.g:494:4: rule__MetamodelElement__Group__0 + { + pushFollow(FOLLOW_2); + rule__MetamodelElement__Group__0(); + + state._fsp--; + + + } + + after(grammarAccess.getMetamodelElementAccess().getGroup()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleMetamodelElement" + + + // $ANTLR start "entryRuleMetamodelDeclaration" + // InternalApplicationConfiguration.g:503:1: entryRuleMetamodelDeclaration : ruleMetamodelDeclaration EOF ; + public final void entryRuleMetamodelDeclaration() throws RecognitionException { + try { + // InternalApplicationConfiguration.g:504:1: ( ruleMetamodelDeclaration EOF ) + // InternalApplicationConfiguration.g:505:1: ruleMetamodelDeclaration EOF + { + before(grammarAccess.getMetamodelDeclarationRule()); + pushFollow(FOLLOW_1); + ruleMetamodelDeclaration(); + + state._fsp--; + + after(grammarAccess.getMetamodelDeclarationRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleMetamodelDeclaration" + + + // $ANTLR start "ruleMetamodelDeclaration" + // InternalApplicationConfiguration.g:512:1: ruleMetamodelDeclaration : ( ( rule__MetamodelDeclaration__Group__0 ) ) ; + public final void ruleMetamodelDeclaration() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:516:2: ( ( ( rule__MetamodelDeclaration__Group__0 ) ) ) + // InternalApplicationConfiguration.g:517:2: ( ( rule__MetamodelDeclaration__Group__0 ) ) + { + // InternalApplicationConfiguration.g:517:2: ( ( rule__MetamodelDeclaration__Group__0 ) ) + // InternalApplicationConfiguration.g:518:3: ( rule__MetamodelDeclaration__Group__0 ) + { + before(grammarAccess.getMetamodelDeclarationAccess().getGroup()); + // InternalApplicationConfiguration.g:519:3: ( rule__MetamodelDeclaration__Group__0 ) + // InternalApplicationConfiguration.g:519:4: rule__MetamodelDeclaration__Group__0 + { + pushFollow(FOLLOW_2); + rule__MetamodelDeclaration__Group__0(); + + state._fsp--; + + + } + + after(grammarAccess.getMetamodelDeclarationAccess().getGroup()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleMetamodelDeclaration" + + + // $ANTLR start "entryRuleMetamodelReference" + // InternalApplicationConfiguration.g:528:1: entryRuleMetamodelReference : ruleMetamodelReference EOF ; + public final void entryRuleMetamodelReference() throws RecognitionException { + try { + // InternalApplicationConfiguration.g:529:1: ( ruleMetamodelReference EOF ) + // InternalApplicationConfiguration.g:530:1: ruleMetamodelReference EOF + { + before(grammarAccess.getMetamodelReferenceRule()); + pushFollow(FOLLOW_1); + ruleMetamodelReference(); + + state._fsp--; + + after(grammarAccess.getMetamodelReferenceRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleMetamodelReference" + + + // $ANTLR start "ruleMetamodelReference" + // InternalApplicationConfiguration.g:537:1: ruleMetamodelReference : ( ( rule__MetamodelReference__ReferredAssignment ) ) ; + public final void ruleMetamodelReference() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:541:2: ( ( ( rule__MetamodelReference__ReferredAssignment ) ) ) + // InternalApplicationConfiguration.g:542:2: ( ( rule__MetamodelReference__ReferredAssignment ) ) + { + // InternalApplicationConfiguration.g:542:2: ( ( rule__MetamodelReference__ReferredAssignment ) ) + // InternalApplicationConfiguration.g:543:3: ( rule__MetamodelReference__ReferredAssignment ) + { + before(grammarAccess.getMetamodelReferenceAccess().getReferredAssignment()); + // InternalApplicationConfiguration.g:544:3: ( rule__MetamodelReference__ReferredAssignment ) + // InternalApplicationConfiguration.g:544:4: rule__MetamodelReference__ReferredAssignment + { + pushFollow(FOLLOW_2); + rule__MetamodelReference__ReferredAssignment(); + + state._fsp--; + + + } + + after(grammarAccess.getMetamodelReferenceAccess().getReferredAssignment()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleMetamodelReference" + + + // $ANTLR start "entryRuleMetamodel" + // InternalApplicationConfiguration.g:553:1: entryRuleMetamodel : ruleMetamodel EOF ; + public final void entryRuleMetamodel() throws RecognitionException { + try { + // InternalApplicationConfiguration.g:554:1: ( ruleMetamodel EOF ) + // InternalApplicationConfiguration.g:555:1: ruleMetamodel EOF + { + before(grammarAccess.getMetamodelRule()); + pushFollow(FOLLOW_1); + ruleMetamodel(); + + state._fsp--; + + after(grammarAccess.getMetamodelRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleMetamodel" + + + // $ANTLR start "ruleMetamodel" + // InternalApplicationConfiguration.g:562:1: ruleMetamodel : ( ( rule__Metamodel__Alternatives ) ) ; + public final void ruleMetamodel() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:566:2: ( ( ( rule__Metamodel__Alternatives ) ) ) + // InternalApplicationConfiguration.g:567:2: ( ( rule__Metamodel__Alternatives ) ) + { + // InternalApplicationConfiguration.g:567:2: ( ( rule__Metamodel__Alternatives ) ) + // InternalApplicationConfiguration.g:568:3: ( rule__Metamodel__Alternatives ) + { + before(grammarAccess.getMetamodelAccess().getAlternatives()); + // InternalApplicationConfiguration.g:569:3: ( rule__Metamodel__Alternatives ) + // InternalApplicationConfiguration.g:569:4: rule__Metamodel__Alternatives + { + pushFollow(FOLLOW_2); + rule__Metamodel__Alternatives(); + + state._fsp--; + + + } + + after(grammarAccess.getMetamodelAccess().getAlternatives()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleMetamodel" + + + // $ANTLR start "entryRulePartialModelSpecification" + // InternalApplicationConfiguration.g:578:1: entryRulePartialModelSpecification : rulePartialModelSpecification EOF ; + public final void entryRulePartialModelSpecification() throws RecognitionException { + try { + // InternalApplicationConfiguration.g:579:1: ( rulePartialModelSpecification EOF ) + // InternalApplicationConfiguration.g:580:1: rulePartialModelSpecification EOF + { + before(grammarAccess.getPartialModelSpecificationRule()); + pushFollow(FOLLOW_1); + rulePartialModelSpecification(); + + state._fsp--; + + after(grammarAccess.getPartialModelSpecificationRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRulePartialModelSpecification" + + + // $ANTLR start "rulePartialModelSpecification" + // InternalApplicationConfiguration.g:587:1: rulePartialModelSpecification : ( ( rule__PartialModelSpecification__Group__0 ) ) ; + public final void rulePartialModelSpecification() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:591:2: ( ( ( rule__PartialModelSpecification__Group__0 ) ) ) + // InternalApplicationConfiguration.g:592:2: ( ( rule__PartialModelSpecification__Group__0 ) ) + { + // InternalApplicationConfiguration.g:592:2: ( ( rule__PartialModelSpecification__Group__0 ) ) + // InternalApplicationConfiguration.g:593:3: ( rule__PartialModelSpecification__Group__0 ) + { + before(grammarAccess.getPartialModelSpecificationAccess().getGroup()); + // InternalApplicationConfiguration.g:594:3: ( rule__PartialModelSpecification__Group__0 ) + // InternalApplicationConfiguration.g:594:4: rule__PartialModelSpecification__Group__0 + { + pushFollow(FOLLOW_2); + rule__PartialModelSpecification__Group__0(); + + state._fsp--; + + + } + + after(grammarAccess.getPartialModelSpecificationAccess().getGroup()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rulePartialModelSpecification" + + + // $ANTLR start "entryRulePartialModelEntry" + // InternalApplicationConfiguration.g:603:1: entryRulePartialModelEntry : rulePartialModelEntry EOF ; + public final void entryRulePartialModelEntry() throws RecognitionException { + try { + // InternalApplicationConfiguration.g:604:1: ( rulePartialModelEntry EOF ) + // InternalApplicationConfiguration.g:605:1: rulePartialModelEntry EOF + { + before(grammarAccess.getPartialModelEntryRule()); + pushFollow(FOLLOW_1); + rulePartialModelEntry(); + + state._fsp--; + + after(grammarAccess.getPartialModelEntryRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRulePartialModelEntry" + + + // $ANTLR start "rulePartialModelEntry" + // InternalApplicationConfiguration.g:612:1: rulePartialModelEntry : ( ( rule__PartialModelEntry__Alternatives ) ) ; + public final void rulePartialModelEntry() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:616:2: ( ( ( rule__PartialModelEntry__Alternatives ) ) ) + // InternalApplicationConfiguration.g:617:2: ( ( rule__PartialModelEntry__Alternatives ) ) + { + // InternalApplicationConfiguration.g:617:2: ( ( rule__PartialModelEntry__Alternatives ) ) + // InternalApplicationConfiguration.g:618:3: ( rule__PartialModelEntry__Alternatives ) + { + before(grammarAccess.getPartialModelEntryAccess().getAlternatives()); + // InternalApplicationConfiguration.g:619:3: ( rule__PartialModelEntry__Alternatives ) + // InternalApplicationConfiguration.g:619:4: rule__PartialModelEntry__Alternatives + { + pushFollow(FOLLOW_2); + rule__PartialModelEntry__Alternatives(); + + state._fsp--; + + + } + + after(grammarAccess.getPartialModelEntryAccess().getAlternatives()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rulePartialModelEntry" + + + // $ANTLR start "entryRuleModelEntry" + // InternalApplicationConfiguration.g:628:1: entryRuleModelEntry : ruleModelEntry EOF ; + public final void entryRuleModelEntry() throws RecognitionException { + try { + // InternalApplicationConfiguration.g:629:1: ( ruleModelEntry EOF ) + // InternalApplicationConfiguration.g:630:1: ruleModelEntry EOF + { + before(grammarAccess.getModelEntryRule()); + pushFollow(FOLLOW_1); + ruleModelEntry(); + + state._fsp--; + + after(grammarAccess.getModelEntryRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleModelEntry" + + + // $ANTLR start "ruleModelEntry" + // InternalApplicationConfiguration.g:637:1: ruleModelEntry : ( ( rule__ModelEntry__PathAssignment ) ) ; + public final void ruleModelEntry() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:641:2: ( ( ( rule__ModelEntry__PathAssignment ) ) ) + // InternalApplicationConfiguration.g:642:2: ( ( rule__ModelEntry__PathAssignment ) ) + { + // InternalApplicationConfiguration.g:642:2: ( ( rule__ModelEntry__PathAssignment ) ) + // InternalApplicationConfiguration.g:643:3: ( rule__ModelEntry__PathAssignment ) + { + before(grammarAccess.getModelEntryAccess().getPathAssignment()); + // InternalApplicationConfiguration.g:644:3: ( rule__ModelEntry__PathAssignment ) + // InternalApplicationConfiguration.g:644:4: rule__ModelEntry__PathAssignment + { + pushFollow(FOLLOW_2); + rule__ModelEntry__PathAssignment(); + + state._fsp--; + + + } + + after(grammarAccess.getModelEntryAccess().getPathAssignment()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleModelEntry" + + + // $ANTLR start "entryRuleFolderEntry" + // InternalApplicationConfiguration.g:653:1: entryRuleFolderEntry : ruleFolderEntry EOF ; + public final void entryRuleFolderEntry() throws RecognitionException { + try { + // InternalApplicationConfiguration.g:654:1: ( ruleFolderEntry EOF ) + // InternalApplicationConfiguration.g:655:1: ruleFolderEntry EOF + { + before(grammarAccess.getFolderEntryRule()); + pushFollow(FOLLOW_1); + ruleFolderEntry(); + + state._fsp--; + + after(grammarAccess.getFolderEntryRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleFolderEntry" + + + // $ANTLR start "ruleFolderEntry" + // InternalApplicationConfiguration.g:662:1: ruleFolderEntry : ( ( rule__FolderEntry__Group__0 ) ) ; + public final void ruleFolderEntry() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:666:2: ( ( ( rule__FolderEntry__Group__0 ) ) ) + // InternalApplicationConfiguration.g:667:2: ( ( rule__FolderEntry__Group__0 ) ) + { + // InternalApplicationConfiguration.g:667:2: ( ( rule__FolderEntry__Group__0 ) ) + // InternalApplicationConfiguration.g:668:3: ( rule__FolderEntry__Group__0 ) + { + before(grammarAccess.getFolderEntryAccess().getGroup()); + // InternalApplicationConfiguration.g:669:3: ( rule__FolderEntry__Group__0 ) + // InternalApplicationConfiguration.g:669:4: rule__FolderEntry__Group__0 + { + pushFollow(FOLLOW_2); + rule__FolderEntry__Group__0(); + + state._fsp--; + + + } + + after(grammarAccess.getFolderEntryAccess().getGroup()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleFolderEntry" + + + // $ANTLR start "entryRulePartialModelDeclaration" + // InternalApplicationConfiguration.g:678:1: entryRulePartialModelDeclaration : rulePartialModelDeclaration EOF ; + public final void entryRulePartialModelDeclaration() throws RecognitionException { + try { + // InternalApplicationConfiguration.g:679:1: ( rulePartialModelDeclaration EOF ) + // InternalApplicationConfiguration.g:680:1: rulePartialModelDeclaration EOF + { + before(grammarAccess.getPartialModelDeclarationRule()); + pushFollow(FOLLOW_1); + rulePartialModelDeclaration(); + + state._fsp--; + + after(grammarAccess.getPartialModelDeclarationRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRulePartialModelDeclaration" + + + // $ANTLR start "rulePartialModelDeclaration" + // InternalApplicationConfiguration.g:687:1: rulePartialModelDeclaration : ( ( rule__PartialModelDeclaration__Group__0 ) ) ; + public final void rulePartialModelDeclaration() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:691:2: ( ( ( rule__PartialModelDeclaration__Group__0 ) ) ) + // InternalApplicationConfiguration.g:692:2: ( ( rule__PartialModelDeclaration__Group__0 ) ) + { + // InternalApplicationConfiguration.g:692:2: ( ( rule__PartialModelDeclaration__Group__0 ) ) + // InternalApplicationConfiguration.g:693:3: ( rule__PartialModelDeclaration__Group__0 ) + { + before(grammarAccess.getPartialModelDeclarationAccess().getGroup()); + // InternalApplicationConfiguration.g:694:3: ( rule__PartialModelDeclaration__Group__0 ) + // InternalApplicationConfiguration.g:694:4: rule__PartialModelDeclaration__Group__0 + { + pushFollow(FOLLOW_2); + rule__PartialModelDeclaration__Group__0(); + + state._fsp--; + + + } + + after(grammarAccess.getPartialModelDeclarationAccess().getGroup()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rulePartialModelDeclaration" + + + // $ANTLR start "entryRulePartialModelReference" + // InternalApplicationConfiguration.g:703:1: entryRulePartialModelReference : rulePartialModelReference EOF ; + public final void entryRulePartialModelReference() throws RecognitionException { + try { + // InternalApplicationConfiguration.g:704:1: ( rulePartialModelReference EOF ) + // InternalApplicationConfiguration.g:705:1: rulePartialModelReference EOF + { + before(grammarAccess.getPartialModelReferenceRule()); + pushFollow(FOLLOW_1); + rulePartialModelReference(); + + state._fsp--; + + after(grammarAccess.getPartialModelReferenceRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRulePartialModelReference" + + + // $ANTLR start "rulePartialModelReference" + // InternalApplicationConfiguration.g:712:1: rulePartialModelReference : ( ( rule__PartialModelReference__ReferredAssignment ) ) ; + public final void rulePartialModelReference() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:716:2: ( ( ( rule__PartialModelReference__ReferredAssignment ) ) ) + // InternalApplicationConfiguration.g:717:2: ( ( rule__PartialModelReference__ReferredAssignment ) ) + { + // InternalApplicationConfiguration.g:717:2: ( ( rule__PartialModelReference__ReferredAssignment ) ) + // InternalApplicationConfiguration.g:718:3: ( rule__PartialModelReference__ReferredAssignment ) + { + before(grammarAccess.getPartialModelReferenceAccess().getReferredAssignment()); + // InternalApplicationConfiguration.g:719:3: ( rule__PartialModelReference__ReferredAssignment ) + // InternalApplicationConfiguration.g:719:4: rule__PartialModelReference__ReferredAssignment + { + pushFollow(FOLLOW_2); + rule__PartialModelReference__ReferredAssignment(); + + state._fsp--; + + + } + + after(grammarAccess.getPartialModelReferenceAccess().getReferredAssignment()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rulePartialModelReference" + + + // $ANTLR start "entryRulePartialModel" + // InternalApplicationConfiguration.g:728:1: entryRulePartialModel : rulePartialModel EOF ; + public final void entryRulePartialModel() throws RecognitionException { + try { + // InternalApplicationConfiguration.g:729:1: ( rulePartialModel EOF ) + // InternalApplicationConfiguration.g:730:1: rulePartialModel EOF + { + before(grammarAccess.getPartialModelRule()); + pushFollow(FOLLOW_1); + rulePartialModel(); + + state._fsp--; + + after(grammarAccess.getPartialModelRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRulePartialModel" + + + // $ANTLR start "rulePartialModel" + // InternalApplicationConfiguration.g:737:1: rulePartialModel : ( ( rule__PartialModel__Alternatives ) ) ; + public final void rulePartialModel() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:741:2: ( ( ( rule__PartialModel__Alternatives ) ) ) + // InternalApplicationConfiguration.g:742:2: ( ( rule__PartialModel__Alternatives ) ) + { + // InternalApplicationConfiguration.g:742:2: ( ( rule__PartialModel__Alternatives ) ) + // InternalApplicationConfiguration.g:743:3: ( rule__PartialModel__Alternatives ) + { + before(grammarAccess.getPartialModelAccess().getAlternatives()); + // InternalApplicationConfiguration.g:744:3: ( rule__PartialModel__Alternatives ) + // InternalApplicationConfiguration.g:744:4: rule__PartialModel__Alternatives + { + pushFollow(FOLLOW_2); + rule__PartialModel__Alternatives(); + + state._fsp--; + + + } + + after(grammarAccess.getPartialModelAccess().getAlternatives()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rulePartialModel" + + + // $ANTLR start "entryRulePatternSpecification" + // InternalApplicationConfiguration.g:753:1: entryRulePatternSpecification : rulePatternSpecification EOF ; + public final void entryRulePatternSpecification() throws RecognitionException { + try { + // InternalApplicationConfiguration.g:754:1: ( rulePatternSpecification EOF ) + // InternalApplicationConfiguration.g:755:1: rulePatternSpecification EOF + { + before(grammarAccess.getPatternSpecificationRule()); + pushFollow(FOLLOW_1); + rulePatternSpecification(); + + state._fsp--; + + after(grammarAccess.getPatternSpecificationRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRulePatternSpecification" + + + // $ANTLR start "rulePatternSpecification" + // InternalApplicationConfiguration.g:762:1: rulePatternSpecification : ( ( rule__PatternSpecification__Group__0 ) ) ; + public final void rulePatternSpecification() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:766:2: ( ( ( rule__PatternSpecification__Group__0 ) ) ) + // InternalApplicationConfiguration.g:767:2: ( ( rule__PatternSpecification__Group__0 ) ) + { + // InternalApplicationConfiguration.g:767:2: ( ( rule__PatternSpecification__Group__0 ) ) + // InternalApplicationConfiguration.g:768:3: ( rule__PatternSpecification__Group__0 ) + { + before(grammarAccess.getPatternSpecificationAccess().getGroup()); + // InternalApplicationConfiguration.g:769:3: ( rule__PatternSpecification__Group__0 ) + // InternalApplicationConfiguration.g:769:4: rule__PatternSpecification__Group__0 + { + pushFollow(FOLLOW_2); + rule__PatternSpecification__Group__0(); + + state._fsp--; + + + } + + after(grammarAccess.getPatternSpecificationAccess().getGroup()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rulePatternSpecification" + + + // $ANTLR start "entryRulePatternEntry" + // InternalApplicationConfiguration.g:778:1: entryRulePatternEntry : rulePatternEntry EOF ; + public final void entryRulePatternEntry() throws RecognitionException { + try { + // InternalApplicationConfiguration.g:779:1: ( rulePatternEntry EOF ) + // InternalApplicationConfiguration.g:780:1: rulePatternEntry EOF + { + before(grammarAccess.getPatternEntryRule()); + pushFollow(FOLLOW_1); + rulePatternEntry(); + + state._fsp--; + + after(grammarAccess.getPatternEntryRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRulePatternEntry" + + + // $ANTLR start "rulePatternEntry" + // InternalApplicationConfiguration.g:787:1: rulePatternEntry : ( ( rule__PatternEntry__Alternatives ) ) ; + public final void rulePatternEntry() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:791:2: ( ( ( rule__PatternEntry__Alternatives ) ) ) + // InternalApplicationConfiguration.g:792:2: ( ( rule__PatternEntry__Alternatives ) ) + { + // InternalApplicationConfiguration.g:792:2: ( ( rule__PatternEntry__Alternatives ) ) + // InternalApplicationConfiguration.g:793:3: ( rule__PatternEntry__Alternatives ) + { + before(grammarAccess.getPatternEntryAccess().getAlternatives()); + // InternalApplicationConfiguration.g:794:3: ( rule__PatternEntry__Alternatives ) + // InternalApplicationConfiguration.g:794:4: rule__PatternEntry__Alternatives + { + pushFollow(FOLLOW_2); + rule__PatternEntry__Alternatives(); + + state._fsp--; + + + } + + after(grammarAccess.getPatternEntryAccess().getAlternatives()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rulePatternEntry" + + + // $ANTLR start "entryRuleAllPatternEntry" + // InternalApplicationConfiguration.g:803:1: entryRuleAllPatternEntry : ruleAllPatternEntry EOF ; + public final void entryRuleAllPatternEntry() throws RecognitionException { + try { + // InternalApplicationConfiguration.g:804:1: ( ruleAllPatternEntry EOF ) + // InternalApplicationConfiguration.g:805:1: ruleAllPatternEntry EOF + { + before(grammarAccess.getAllPatternEntryRule()); + pushFollow(FOLLOW_1); + ruleAllPatternEntry(); + + state._fsp--; + + after(grammarAccess.getAllPatternEntryRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleAllPatternEntry" + + + // $ANTLR start "ruleAllPatternEntry" + // InternalApplicationConfiguration.g:812:1: ruleAllPatternEntry : ( ( rule__AllPatternEntry__Group__0 ) ) ; + public final void ruleAllPatternEntry() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:816:2: ( ( ( rule__AllPatternEntry__Group__0 ) ) ) + // InternalApplicationConfiguration.g:817:2: ( ( rule__AllPatternEntry__Group__0 ) ) + { + // InternalApplicationConfiguration.g:817:2: ( ( rule__AllPatternEntry__Group__0 ) ) + // InternalApplicationConfiguration.g:818:3: ( rule__AllPatternEntry__Group__0 ) + { + before(grammarAccess.getAllPatternEntryAccess().getGroup()); + // InternalApplicationConfiguration.g:819:3: ( rule__AllPatternEntry__Group__0 ) + // InternalApplicationConfiguration.g:819:4: rule__AllPatternEntry__Group__0 + { + pushFollow(FOLLOW_2); + rule__AllPatternEntry__Group__0(); + + state._fsp--; + + + } + + after(grammarAccess.getAllPatternEntryAccess().getGroup()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleAllPatternEntry" + + + // $ANTLR start "entryRulePatternElement" + // InternalApplicationConfiguration.g:828:1: entryRulePatternElement : rulePatternElement EOF ; + public final void entryRulePatternElement() throws RecognitionException { + try { + // InternalApplicationConfiguration.g:829:1: ( rulePatternElement EOF ) + // InternalApplicationConfiguration.g:830:1: rulePatternElement EOF + { + before(grammarAccess.getPatternElementRule()); + pushFollow(FOLLOW_1); + rulePatternElement(); + + state._fsp--; + + after(grammarAccess.getPatternElementRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRulePatternElement" + + + // $ANTLR start "rulePatternElement" + // InternalApplicationConfiguration.g:837:1: rulePatternElement : ( ( rule__PatternElement__Group__0 ) ) ; + public final void rulePatternElement() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:841:2: ( ( ( rule__PatternElement__Group__0 ) ) ) + // InternalApplicationConfiguration.g:842:2: ( ( rule__PatternElement__Group__0 ) ) + { + // InternalApplicationConfiguration.g:842:2: ( ( rule__PatternElement__Group__0 ) ) + // InternalApplicationConfiguration.g:843:3: ( rule__PatternElement__Group__0 ) + { + before(grammarAccess.getPatternElementAccess().getGroup()); + // InternalApplicationConfiguration.g:844:3: ( rule__PatternElement__Group__0 ) + // InternalApplicationConfiguration.g:844:4: rule__PatternElement__Group__0 + { + pushFollow(FOLLOW_2); + rule__PatternElement__Group__0(); + + state._fsp--; + + + } + + after(grammarAccess.getPatternElementAccess().getGroup()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rulePatternElement" + + + // $ANTLR start "entryRuleGraphPatternDeclaration" + // InternalApplicationConfiguration.g:853:1: entryRuleGraphPatternDeclaration : ruleGraphPatternDeclaration EOF ; + public final void entryRuleGraphPatternDeclaration() throws RecognitionException { + try { + // InternalApplicationConfiguration.g:854:1: ( ruleGraphPatternDeclaration EOF ) + // InternalApplicationConfiguration.g:855:1: ruleGraphPatternDeclaration EOF + { + before(grammarAccess.getGraphPatternDeclarationRule()); + pushFollow(FOLLOW_1); + ruleGraphPatternDeclaration(); + + state._fsp--; + + after(grammarAccess.getGraphPatternDeclarationRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleGraphPatternDeclaration" + + + // $ANTLR start "ruleGraphPatternDeclaration" + // InternalApplicationConfiguration.g:862:1: ruleGraphPatternDeclaration : ( ( rule__GraphPatternDeclaration__Group__0 ) ) ; + public final void ruleGraphPatternDeclaration() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:866:2: ( ( ( rule__GraphPatternDeclaration__Group__0 ) ) ) + // InternalApplicationConfiguration.g:867:2: ( ( rule__GraphPatternDeclaration__Group__0 ) ) + { + // InternalApplicationConfiguration.g:867:2: ( ( rule__GraphPatternDeclaration__Group__0 ) ) + // InternalApplicationConfiguration.g:868:3: ( rule__GraphPatternDeclaration__Group__0 ) + { + before(grammarAccess.getGraphPatternDeclarationAccess().getGroup()); + // InternalApplicationConfiguration.g:869:3: ( rule__GraphPatternDeclaration__Group__0 ) + // InternalApplicationConfiguration.g:869:4: rule__GraphPatternDeclaration__Group__0 + { + pushFollow(FOLLOW_2); + rule__GraphPatternDeclaration__Group__0(); + + state._fsp--; + + + } + + after(grammarAccess.getGraphPatternDeclarationAccess().getGroup()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleGraphPatternDeclaration" + + + // $ANTLR start "entryRuleGraphPatternReference" + // InternalApplicationConfiguration.g:878:1: entryRuleGraphPatternReference : ruleGraphPatternReference EOF ; + public final void entryRuleGraphPatternReference() throws RecognitionException { + try { + // InternalApplicationConfiguration.g:879:1: ( ruleGraphPatternReference EOF ) + // InternalApplicationConfiguration.g:880:1: ruleGraphPatternReference EOF + { + before(grammarAccess.getGraphPatternReferenceRule()); + pushFollow(FOLLOW_1); + ruleGraphPatternReference(); + + state._fsp--; + + after(grammarAccess.getGraphPatternReferenceRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleGraphPatternReference" + + + // $ANTLR start "ruleGraphPatternReference" + // InternalApplicationConfiguration.g:887:1: ruleGraphPatternReference : ( ( rule__GraphPatternReference__ReferredAssignment ) ) ; + public final void ruleGraphPatternReference() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:891:2: ( ( ( rule__GraphPatternReference__ReferredAssignment ) ) ) + // InternalApplicationConfiguration.g:892:2: ( ( rule__GraphPatternReference__ReferredAssignment ) ) + { + // InternalApplicationConfiguration.g:892:2: ( ( rule__GraphPatternReference__ReferredAssignment ) ) + // InternalApplicationConfiguration.g:893:3: ( rule__GraphPatternReference__ReferredAssignment ) + { + before(grammarAccess.getGraphPatternReferenceAccess().getReferredAssignment()); + // InternalApplicationConfiguration.g:894:3: ( rule__GraphPatternReference__ReferredAssignment ) + // InternalApplicationConfiguration.g:894:4: rule__GraphPatternReference__ReferredAssignment + { + pushFollow(FOLLOW_2); + rule__GraphPatternReference__ReferredAssignment(); + + state._fsp--; + + + } + + after(grammarAccess.getGraphPatternReferenceAccess().getReferredAssignment()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleGraphPatternReference" + + + // $ANTLR start "entryRuleGraphPattern" + // InternalApplicationConfiguration.g:903:1: entryRuleGraphPattern : ruleGraphPattern EOF ; + public final void entryRuleGraphPattern() throws RecognitionException { + try { + // InternalApplicationConfiguration.g:904:1: ( ruleGraphPattern EOF ) + // InternalApplicationConfiguration.g:905:1: ruleGraphPattern EOF + { + before(grammarAccess.getGraphPatternRule()); + pushFollow(FOLLOW_1); + ruleGraphPattern(); + + state._fsp--; + + after(grammarAccess.getGraphPatternRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleGraphPattern" + + + // $ANTLR start "ruleGraphPattern" + // InternalApplicationConfiguration.g:912:1: ruleGraphPattern : ( ( rule__GraphPattern__Alternatives ) ) ; + public final void ruleGraphPattern() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:916:2: ( ( ( rule__GraphPattern__Alternatives ) ) ) + // InternalApplicationConfiguration.g:917:2: ( ( rule__GraphPattern__Alternatives ) ) + { + // InternalApplicationConfiguration.g:917:2: ( ( rule__GraphPattern__Alternatives ) ) + // InternalApplicationConfiguration.g:918:3: ( rule__GraphPattern__Alternatives ) + { + before(grammarAccess.getGraphPatternAccess().getAlternatives()); + // InternalApplicationConfiguration.g:919:3: ( rule__GraphPattern__Alternatives ) + // InternalApplicationConfiguration.g:919:4: rule__GraphPattern__Alternatives + { + pushFollow(FOLLOW_2); + rule__GraphPattern__Alternatives(); + + state._fsp--; + + + } + + after(grammarAccess.getGraphPatternAccess().getAlternatives()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleGraphPattern" + + + // $ANTLR start "entryRuleObjectiveSpecification" + // InternalApplicationConfiguration.g:928:1: entryRuleObjectiveSpecification : ruleObjectiveSpecification EOF ; + public final void entryRuleObjectiveSpecification() throws RecognitionException { + try { + // InternalApplicationConfiguration.g:929:1: ( ruleObjectiveSpecification EOF ) + // InternalApplicationConfiguration.g:930:1: ruleObjectiveSpecification EOF + { + before(grammarAccess.getObjectiveSpecificationRule()); + pushFollow(FOLLOW_1); + ruleObjectiveSpecification(); + + state._fsp--; + + after(grammarAccess.getObjectiveSpecificationRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleObjectiveSpecification" + + + // $ANTLR start "ruleObjectiveSpecification" + // InternalApplicationConfiguration.g:937:1: ruleObjectiveSpecification : ( ( rule__ObjectiveSpecification__Group__0 ) ) ; + public final void ruleObjectiveSpecification() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:941:2: ( ( ( rule__ObjectiveSpecification__Group__0 ) ) ) + // InternalApplicationConfiguration.g:942:2: ( ( rule__ObjectiveSpecification__Group__0 ) ) + { + // InternalApplicationConfiguration.g:942:2: ( ( rule__ObjectiveSpecification__Group__0 ) ) + // InternalApplicationConfiguration.g:943:3: ( rule__ObjectiveSpecification__Group__0 ) + { + before(grammarAccess.getObjectiveSpecificationAccess().getGroup()); + // InternalApplicationConfiguration.g:944:3: ( rule__ObjectiveSpecification__Group__0 ) + // InternalApplicationConfiguration.g:944:4: rule__ObjectiveSpecification__Group__0 + { + pushFollow(FOLLOW_2); + rule__ObjectiveSpecification__Group__0(); + + state._fsp--; + + + } + + after(grammarAccess.getObjectiveSpecificationAccess().getGroup()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleObjectiveSpecification" + + + // $ANTLR start "entryRuleObjectiveEntry" + // InternalApplicationConfiguration.g:953:1: entryRuleObjectiveEntry : ruleObjectiveEntry EOF ; + public final void entryRuleObjectiveEntry() throws RecognitionException { + try { + // InternalApplicationConfiguration.g:954:1: ( ruleObjectiveEntry EOF ) + // InternalApplicationConfiguration.g:955:1: ruleObjectiveEntry EOF + { + before(grammarAccess.getObjectiveEntryRule()); + pushFollow(FOLLOW_1); + ruleObjectiveEntry(); + + state._fsp--; + + after(grammarAccess.getObjectiveEntryRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleObjectiveEntry" + + + // $ANTLR start "ruleObjectiveEntry" + // InternalApplicationConfiguration.g:962:1: ruleObjectiveEntry : ( ( rule__ObjectiveEntry__Alternatives ) ) ; + public final void ruleObjectiveEntry() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:966:2: ( ( ( rule__ObjectiveEntry__Alternatives ) ) ) + // InternalApplicationConfiguration.g:967:2: ( ( rule__ObjectiveEntry__Alternatives ) ) + { + // InternalApplicationConfiguration.g:967:2: ( ( rule__ObjectiveEntry__Alternatives ) ) + // InternalApplicationConfiguration.g:968:3: ( rule__ObjectiveEntry__Alternatives ) + { + before(grammarAccess.getObjectiveEntryAccess().getAlternatives()); + // InternalApplicationConfiguration.g:969:3: ( rule__ObjectiveEntry__Alternatives ) + // InternalApplicationConfiguration.g:969:4: rule__ObjectiveEntry__Alternatives + { + pushFollow(FOLLOW_2); + rule__ObjectiveEntry__Alternatives(); + + state._fsp--; + + + } + + after(grammarAccess.getObjectiveEntryAccess().getAlternatives()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleObjectiveEntry" + + + // $ANTLR start "entryRuleOptimizationEntry" + // InternalApplicationConfiguration.g:978:1: entryRuleOptimizationEntry : ruleOptimizationEntry EOF ; + public final void entryRuleOptimizationEntry() throws RecognitionException { + try { + // InternalApplicationConfiguration.g:979:1: ( ruleOptimizationEntry EOF ) + // InternalApplicationConfiguration.g:980:1: ruleOptimizationEntry EOF + { + before(grammarAccess.getOptimizationEntryRule()); + pushFollow(FOLLOW_1); + ruleOptimizationEntry(); + + state._fsp--; + + after(grammarAccess.getOptimizationEntryRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleOptimizationEntry" + + + // $ANTLR start "ruleOptimizationEntry" + // InternalApplicationConfiguration.g:987:1: ruleOptimizationEntry : ( ( rule__OptimizationEntry__Group__0 ) ) ; + public final void ruleOptimizationEntry() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:991:2: ( ( ( rule__OptimizationEntry__Group__0 ) ) ) + // InternalApplicationConfiguration.g:992:2: ( ( rule__OptimizationEntry__Group__0 ) ) + { + // InternalApplicationConfiguration.g:992:2: ( ( rule__OptimizationEntry__Group__0 ) ) + // InternalApplicationConfiguration.g:993:3: ( rule__OptimizationEntry__Group__0 ) + { + before(grammarAccess.getOptimizationEntryAccess().getGroup()); + // InternalApplicationConfiguration.g:994:3: ( rule__OptimizationEntry__Group__0 ) + // InternalApplicationConfiguration.g:994:4: rule__OptimizationEntry__Group__0 + { + pushFollow(FOLLOW_2); + rule__OptimizationEntry__Group__0(); + + state._fsp--; + + + } + + after(grammarAccess.getOptimizationEntryAccess().getGroup()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleOptimizationEntry" + + + // $ANTLR start "entryRuleThresholdEntry" + // InternalApplicationConfiguration.g:1003:1: entryRuleThresholdEntry : ruleThresholdEntry EOF ; + public final void entryRuleThresholdEntry() throws RecognitionException { + try { + // InternalApplicationConfiguration.g:1004:1: ( ruleThresholdEntry EOF ) + // InternalApplicationConfiguration.g:1005:1: ruleThresholdEntry EOF + { + before(grammarAccess.getThresholdEntryRule()); + pushFollow(FOLLOW_1); + ruleThresholdEntry(); + + state._fsp--; + + after(grammarAccess.getThresholdEntryRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleThresholdEntry" + + + // $ANTLR start "ruleThresholdEntry" + // InternalApplicationConfiguration.g:1012:1: ruleThresholdEntry : ( ( rule__ThresholdEntry__Group__0 ) ) ; + public final void ruleThresholdEntry() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:1016:2: ( ( ( rule__ThresholdEntry__Group__0 ) ) ) + // InternalApplicationConfiguration.g:1017:2: ( ( rule__ThresholdEntry__Group__0 ) ) + { + // InternalApplicationConfiguration.g:1017:2: ( ( rule__ThresholdEntry__Group__0 ) ) + // InternalApplicationConfiguration.g:1018:3: ( rule__ThresholdEntry__Group__0 ) + { + before(grammarAccess.getThresholdEntryAccess().getGroup()); + // InternalApplicationConfiguration.g:1019:3: ( rule__ThresholdEntry__Group__0 ) + // InternalApplicationConfiguration.g:1019:4: rule__ThresholdEntry__Group__0 + { + pushFollow(FOLLOW_2); + rule__ThresholdEntry__Group__0(); + + state._fsp--; + + + } + + after(grammarAccess.getThresholdEntryAccess().getGroup()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleThresholdEntry" + + + // $ANTLR start "entryRuleObjectiveFunction" + // InternalApplicationConfiguration.g:1028:1: entryRuleObjectiveFunction : ruleObjectiveFunction EOF ; + public final void entryRuleObjectiveFunction() throws RecognitionException { + try { + // InternalApplicationConfiguration.g:1029:1: ( ruleObjectiveFunction EOF ) + // InternalApplicationConfiguration.g:1030:1: ruleObjectiveFunction EOF + { + before(grammarAccess.getObjectiveFunctionRule()); + pushFollow(FOLLOW_1); + ruleObjectiveFunction(); + + state._fsp--; + + after(grammarAccess.getObjectiveFunctionRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleObjectiveFunction" + + + // $ANTLR start "ruleObjectiveFunction" + // InternalApplicationConfiguration.g:1037:1: ruleObjectiveFunction : ( ruleReliabiltiyFunction ) ; + public final void ruleObjectiveFunction() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:1041:2: ( ( ruleReliabiltiyFunction ) ) + // InternalApplicationConfiguration.g:1042:2: ( ruleReliabiltiyFunction ) + { + // InternalApplicationConfiguration.g:1042:2: ( ruleReliabiltiyFunction ) + // InternalApplicationConfiguration.g:1043:3: ruleReliabiltiyFunction + { + before(grammarAccess.getObjectiveFunctionAccess().getReliabiltiyFunctionParserRuleCall()); + pushFollow(FOLLOW_2); + ruleReliabiltiyFunction(); + + state._fsp--; + + after(grammarAccess.getObjectiveFunctionAccess().getReliabiltiyFunctionParserRuleCall()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleObjectiveFunction" + + + // $ANTLR start "entryRuleReliabiltiyFunction" + // InternalApplicationConfiguration.g:1053:1: entryRuleReliabiltiyFunction : ruleReliabiltiyFunction EOF ; + public final void entryRuleReliabiltiyFunction() throws RecognitionException { + try { + // InternalApplicationConfiguration.g:1054:1: ( ruleReliabiltiyFunction EOF ) + // InternalApplicationConfiguration.g:1055:1: ruleReliabiltiyFunction EOF + { + before(grammarAccess.getReliabiltiyFunctionRule()); + pushFollow(FOLLOW_1); + ruleReliabiltiyFunction(); + + state._fsp--; + + after(grammarAccess.getReliabiltiyFunctionRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleReliabiltiyFunction" + + + // $ANTLR start "ruleReliabiltiyFunction" + // InternalApplicationConfiguration.g:1062:1: ruleReliabiltiyFunction : ( ( rule__ReliabiltiyFunction__Group__0 ) ) ; + public final void ruleReliabiltiyFunction() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:1066:2: ( ( ( rule__ReliabiltiyFunction__Group__0 ) ) ) + // InternalApplicationConfiguration.g:1067:2: ( ( rule__ReliabiltiyFunction__Group__0 ) ) + { + // InternalApplicationConfiguration.g:1067:2: ( ( rule__ReliabiltiyFunction__Group__0 ) ) + // InternalApplicationConfiguration.g:1068:3: ( rule__ReliabiltiyFunction__Group__0 ) + { + before(grammarAccess.getReliabiltiyFunctionAccess().getGroup()); + // InternalApplicationConfiguration.g:1069:3: ( rule__ReliabiltiyFunction__Group__0 ) + // InternalApplicationConfiguration.g:1069:4: rule__ReliabiltiyFunction__Group__0 + { + pushFollow(FOLLOW_2); + rule__ReliabiltiyFunction__Group__0(); + + state._fsp--; + + + } + + after(grammarAccess.getReliabiltiyFunctionAccess().getGroup()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleReliabiltiyFunction" + + + // $ANTLR start "entryRuleObjectiveDeclaration" + // InternalApplicationConfiguration.g:1078:1: entryRuleObjectiveDeclaration : ruleObjectiveDeclaration EOF ; + public final void entryRuleObjectiveDeclaration() throws RecognitionException { + try { + // InternalApplicationConfiguration.g:1079:1: ( ruleObjectiveDeclaration EOF ) + // InternalApplicationConfiguration.g:1080:1: ruleObjectiveDeclaration EOF + { + before(grammarAccess.getObjectiveDeclarationRule()); + pushFollow(FOLLOW_1); + ruleObjectiveDeclaration(); + + state._fsp--; + + after(grammarAccess.getObjectiveDeclarationRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleObjectiveDeclaration" + + + // $ANTLR start "ruleObjectiveDeclaration" + // InternalApplicationConfiguration.g:1087:1: ruleObjectiveDeclaration : ( ( rule__ObjectiveDeclaration__Group__0 ) ) ; + public final void ruleObjectiveDeclaration() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:1091:2: ( ( ( rule__ObjectiveDeclaration__Group__0 ) ) ) + // InternalApplicationConfiguration.g:1092:2: ( ( rule__ObjectiveDeclaration__Group__0 ) ) + { + // InternalApplicationConfiguration.g:1092:2: ( ( rule__ObjectiveDeclaration__Group__0 ) ) + // InternalApplicationConfiguration.g:1093:3: ( rule__ObjectiveDeclaration__Group__0 ) + { + before(grammarAccess.getObjectiveDeclarationAccess().getGroup()); + // InternalApplicationConfiguration.g:1094:3: ( rule__ObjectiveDeclaration__Group__0 ) + // InternalApplicationConfiguration.g:1094:4: rule__ObjectiveDeclaration__Group__0 + { + pushFollow(FOLLOW_2); + rule__ObjectiveDeclaration__Group__0(); + + state._fsp--; + + + } + + after(grammarAccess.getObjectiveDeclarationAccess().getGroup()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleObjectiveDeclaration" + + + // $ANTLR start "entryRuleObjectiveReference" + // InternalApplicationConfiguration.g:1103:1: entryRuleObjectiveReference : ruleObjectiveReference EOF ; + public final void entryRuleObjectiveReference() throws RecognitionException { + try { + // InternalApplicationConfiguration.g:1104:1: ( ruleObjectiveReference EOF ) + // InternalApplicationConfiguration.g:1105:1: ruleObjectiveReference EOF + { + before(grammarAccess.getObjectiveReferenceRule()); + pushFollow(FOLLOW_1); + ruleObjectiveReference(); + + state._fsp--; + + after(grammarAccess.getObjectiveReferenceRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleObjectiveReference" + + + // $ANTLR start "ruleObjectiveReference" + // InternalApplicationConfiguration.g:1112:1: ruleObjectiveReference : ( ( rule__ObjectiveReference__ReferredAssignment ) ) ; + public final void ruleObjectiveReference() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:1116:2: ( ( ( rule__ObjectiveReference__ReferredAssignment ) ) ) + // InternalApplicationConfiguration.g:1117:2: ( ( rule__ObjectiveReference__ReferredAssignment ) ) + { + // InternalApplicationConfiguration.g:1117:2: ( ( rule__ObjectiveReference__ReferredAssignment ) ) + // InternalApplicationConfiguration.g:1118:3: ( rule__ObjectiveReference__ReferredAssignment ) + { + before(grammarAccess.getObjectiveReferenceAccess().getReferredAssignment()); + // InternalApplicationConfiguration.g:1119:3: ( rule__ObjectiveReference__ReferredAssignment ) + // InternalApplicationConfiguration.g:1119:4: rule__ObjectiveReference__ReferredAssignment + { + pushFollow(FOLLOW_2); + rule__ObjectiveReference__ReferredAssignment(); + + state._fsp--; + + + } + + after(grammarAccess.getObjectiveReferenceAccess().getReferredAssignment()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleObjectiveReference" + + + // $ANTLR start "entryRuleObjective" + // InternalApplicationConfiguration.g:1128:1: entryRuleObjective : ruleObjective EOF ; + public final void entryRuleObjective() throws RecognitionException { + try { + // InternalApplicationConfiguration.g:1129:1: ( ruleObjective EOF ) + // InternalApplicationConfiguration.g:1130:1: ruleObjective EOF + { + before(grammarAccess.getObjectiveRule()); + pushFollow(FOLLOW_1); + ruleObjective(); + + state._fsp--; + + after(grammarAccess.getObjectiveRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleObjective" + + + // $ANTLR start "ruleObjective" + // InternalApplicationConfiguration.g:1137:1: ruleObjective : ( ( rule__Objective__Alternatives ) ) ; + public final void ruleObjective() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:1141:2: ( ( ( rule__Objective__Alternatives ) ) ) + // InternalApplicationConfiguration.g:1142:2: ( ( rule__Objective__Alternatives ) ) + { + // InternalApplicationConfiguration.g:1142:2: ( ( rule__Objective__Alternatives ) ) + // InternalApplicationConfiguration.g:1143:3: ( rule__Objective__Alternatives ) + { + before(grammarAccess.getObjectiveAccess().getAlternatives()); + // InternalApplicationConfiguration.g:1144:3: ( rule__Objective__Alternatives ) + // InternalApplicationConfiguration.g:1144:4: rule__Objective__Alternatives + { + pushFollow(FOLLOW_2); + rule__Objective__Alternatives(); + + state._fsp--; + + + } + + after(grammarAccess.getObjectiveAccess().getAlternatives()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleObjective" + + + // $ANTLR start "entryRuleConfigSpecification" + // InternalApplicationConfiguration.g:1153:1: entryRuleConfigSpecification : ruleConfigSpecification EOF ; + public final void entryRuleConfigSpecification() throws RecognitionException { + try { + // InternalApplicationConfiguration.g:1154:1: ( ruleConfigSpecification EOF ) + // InternalApplicationConfiguration.g:1155:1: ruleConfigSpecification EOF + { + before(grammarAccess.getConfigSpecificationRule()); + pushFollow(FOLLOW_1); + ruleConfigSpecification(); + + state._fsp--; + + after(grammarAccess.getConfigSpecificationRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleConfigSpecification" + + + // $ANTLR start "ruleConfigSpecification" + // InternalApplicationConfiguration.g:1162:1: ruleConfigSpecification : ( ( rule__ConfigSpecification__Group__0 ) ) ; + public final void ruleConfigSpecification() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:1166:2: ( ( ( rule__ConfigSpecification__Group__0 ) ) ) + // InternalApplicationConfiguration.g:1167:2: ( ( rule__ConfigSpecification__Group__0 ) ) + { + // InternalApplicationConfiguration.g:1167:2: ( ( rule__ConfigSpecification__Group__0 ) ) + // InternalApplicationConfiguration.g:1168:3: ( rule__ConfigSpecification__Group__0 ) + { + before(grammarAccess.getConfigSpecificationAccess().getGroup()); + // InternalApplicationConfiguration.g:1169:3: ( rule__ConfigSpecification__Group__0 ) + // InternalApplicationConfiguration.g:1169:4: rule__ConfigSpecification__Group__0 + { + pushFollow(FOLLOW_2); + rule__ConfigSpecification__Group__0(); + + state._fsp--; + + + } + + after(grammarAccess.getConfigSpecificationAccess().getGroup()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleConfigSpecification" + + + // $ANTLR start "entryRuleConfigDeclaration" + // InternalApplicationConfiguration.g:1178:1: entryRuleConfigDeclaration : ruleConfigDeclaration EOF ; + public final void entryRuleConfigDeclaration() throws RecognitionException { + try { + // InternalApplicationConfiguration.g:1179:1: ( ruleConfigDeclaration EOF ) + // InternalApplicationConfiguration.g:1180:1: ruleConfigDeclaration EOF + { + before(grammarAccess.getConfigDeclarationRule()); + pushFollow(FOLLOW_1); + ruleConfigDeclaration(); + + state._fsp--; + + after(grammarAccess.getConfigDeclarationRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleConfigDeclaration" + + + // $ANTLR start "ruleConfigDeclaration" + // InternalApplicationConfiguration.g:1187:1: ruleConfigDeclaration : ( ( rule__ConfigDeclaration__Group__0 ) ) ; + public final void ruleConfigDeclaration() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:1191:2: ( ( ( rule__ConfigDeclaration__Group__0 ) ) ) + // InternalApplicationConfiguration.g:1192:2: ( ( rule__ConfigDeclaration__Group__0 ) ) + { + // InternalApplicationConfiguration.g:1192:2: ( ( rule__ConfigDeclaration__Group__0 ) ) + // InternalApplicationConfiguration.g:1193:3: ( rule__ConfigDeclaration__Group__0 ) + { + before(grammarAccess.getConfigDeclarationAccess().getGroup()); + // InternalApplicationConfiguration.g:1194:3: ( rule__ConfigDeclaration__Group__0 ) + // InternalApplicationConfiguration.g:1194:4: rule__ConfigDeclaration__Group__0 + { + pushFollow(FOLLOW_2); + rule__ConfigDeclaration__Group__0(); + + state._fsp--; + + + } + + after(grammarAccess.getConfigDeclarationAccess().getGroup()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleConfigDeclaration" + + + // $ANTLR start "entryRuleConfigEntry" + // InternalApplicationConfiguration.g:1203:1: entryRuleConfigEntry : ruleConfigEntry EOF ; + public final void entryRuleConfigEntry() throws RecognitionException { + try { + // InternalApplicationConfiguration.g:1204:1: ( ruleConfigEntry EOF ) + // InternalApplicationConfiguration.g:1205:1: ruleConfigEntry EOF + { + before(grammarAccess.getConfigEntryRule()); + pushFollow(FOLLOW_1); + ruleConfigEntry(); + + state._fsp--; + + after(grammarAccess.getConfigEntryRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleConfigEntry" + + + // $ANTLR start "ruleConfigEntry" + // InternalApplicationConfiguration.g:1212:1: ruleConfigEntry : ( ( rule__ConfigEntry__Alternatives ) ) ; + public final void ruleConfigEntry() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:1216:2: ( ( ( rule__ConfigEntry__Alternatives ) ) ) + // InternalApplicationConfiguration.g:1217:2: ( ( rule__ConfigEntry__Alternatives ) ) + { + // InternalApplicationConfiguration.g:1217:2: ( ( rule__ConfigEntry__Alternatives ) ) + // InternalApplicationConfiguration.g:1218:3: ( rule__ConfigEntry__Alternatives ) + { + before(grammarAccess.getConfigEntryAccess().getAlternatives()); + // InternalApplicationConfiguration.g:1219:3: ( rule__ConfigEntry__Alternatives ) + // InternalApplicationConfiguration.g:1219:4: rule__ConfigEntry__Alternatives + { + pushFollow(FOLLOW_2); + rule__ConfigEntry__Alternatives(); + + state._fsp--; + + + } + + after(grammarAccess.getConfigEntryAccess().getAlternatives()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleConfigEntry" + + + // $ANTLR start "entryRuleDocumentationEntry" + // InternalApplicationConfiguration.g:1228:1: entryRuleDocumentationEntry : ruleDocumentationEntry EOF ; + public final void entryRuleDocumentationEntry() throws RecognitionException { + try { + // InternalApplicationConfiguration.g:1229:1: ( ruleDocumentationEntry EOF ) + // InternalApplicationConfiguration.g:1230:1: ruleDocumentationEntry EOF + { + before(grammarAccess.getDocumentationEntryRule()); + pushFollow(FOLLOW_1); + ruleDocumentationEntry(); + + state._fsp--; + + after(grammarAccess.getDocumentationEntryRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleDocumentationEntry" + + + // $ANTLR start "ruleDocumentationEntry" + // InternalApplicationConfiguration.g:1237:1: ruleDocumentationEntry : ( ( rule__DocumentationEntry__Group__0 ) ) ; + public final void ruleDocumentationEntry() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:1241:2: ( ( ( rule__DocumentationEntry__Group__0 ) ) ) + // InternalApplicationConfiguration.g:1242:2: ( ( rule__DocumentationEntry__Group__0 ) ) + { + // InternalApplicationConfiguration.g:1242:2: ( ( rule__DocumentationEntry__Group__0 ) ) + // InternalApplicationConfiguration.g:1243:3: ( rule__DocumentationEntry__Group__0 ) + { + before(grammarAccess.getDocumentationEntryAccess().getGroup()); + // InternalApplicationConfiguration.g:1244:3: ( rule__DocumentationEntry__Group__0 ) + // InternalApplicationConfiguration.g:1244:4: rule__DocumentationEntry__Group__0 + { + pushFollow(FOLLOW_2); + rule__DocumentationEntry__Group__0(); + + state._fsp--; + + + } + + after(grammarAccess.getDocumentationEntryAccess().getGroup()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleDocumentationEntry" + + + // $ANTLR start "entryRuleRuntimeEntry" + // InternalApplicationConfiguration.g:1253:1: entryRuleRuntimeEntry : ruleRuntimeEntry EOF ; + public final void entryRuleRuntimeEntry() throws RecognitionException { + try { + // InternalApplicationConfiguration.g:1254:1: ( ruleRuntimeEntry EOF ) + // InternalApplicationConfiguration.g:1255:1: ruleRuntimeEntry EOF + { + before(grammarAccess.getRuntimeEntryRule()); + pushFollow(FOLLOW_1); + ruleRuntimeEntry(); + + state._fsp--; + + after(grammarAccess.getRuntimeEntryRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleRuntimeEntry" + + + // $ANTLR start "ruleRuntimeEntry" + // InternalApplicationConfiguration.g:1262:1: ruleRuntimeEntry : ( ( rule__RuntimeEntry__Group__0 ) ) ; + public final void ruleRuntimeEntry() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:1266:2: ( ( ( rule__RuntimeEntry__Group__0 ) ) ) + // InternalApplicationConfiguration.g:1267:2: ( ( rule__RuntimeEntry__Group__0 ) ) + { + // InternalApplicationConfiguration.g:1267:2: ( ( rule__RuntimeEntry__Group__0 ) ) + // InternalApplicationConfiguration.g:1268:3: ( rule__RuntimeEntry__Group__0 ) + { + before(grammarAccess.getRuntimeEntryAccess().getGroup()); + // InternalApplicationConfiguration.g:1269:3: ( rule__RuntimeEntry__Group__0 ) + // InternalApplicationConfiguration.g:1269:4: rule__RuntimeEntry__Group__0 + { + pushFollow(FOLLOW_2); + rule__RuntimeEntry__Group__0(); + + state._fsp--; + + + } + + after(grammarAccess.getRuntimeEntryAccess().getGroup()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleRuntimeEntry" + + + // $ANTLR start "entryRuleMemoryEntry" + // InternalApplicationConfiguration.g:1278:1: entryRuleMemoryEntry : ruleMemoryEntry EOF ; + public final void entryRuleMemoryEntry() throws RecognitionException { + try { + // InternalApplicationConfiguration.g:1279:1: ( ruleMemoryEntry EOF ) + // InternalApplicationConfiguration.g:1280:1: ruleMemoryEntry EOF + { + before(grammarAccess.getMemoryEntryRule()); + pushFollow(FOLLOW_1); + ruleMemoryEntry(); + + state._fsp--; + + after(grammarAccess.getMemoryEntryRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleMemoryEntry" + + + // $ANTLR start "ruleMemoryEntry" + // InternalApplicationConfiguration.g:1287:1: ruleMemoryEntry : ( ( rule__MemoryEntry__Group__0 ) ) ; + public final void ruleMemoryEntry() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:1291:2: ( ( ( rule__MemoryEntry__Group__0 ) ) ) + // InternalApplicationConfiguration.g:1292:2: ( ( rule__MemoryEntry__Group__0 ) ) + { + // InternalApplicationConfiguration.g:1292:2: ( ( rule__MemoryEntry__Group__0 ) ) + // InternalApplicationConfiguration.g:1293:3: ( rule__MemoryEntry__Group__0 ) + { + before(grammarAccess.getMemoryEntryAccess().getGroup()); + // InternalApplicationConfiguration.g:1294:3: ( rule__MemoryEntry__Group__0 ) + // InternalApplicationConfiguration.g:1294:4: rule__MemoryEntry__Group__0 + { + pushFollow(FOLLOW_2); + rule__MemoryEntry__Group__0(); + + state._fsp--; + + + } + + after(grammarAccess.getMemoryEntryAccess().getGroup()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleMemoryEntry" + + + // $ANTLR start "entryRuleCustomEntry" + // InternalApplicationConfiguration.g:1303:1: entryRuleCustomEntry : ruleCustomEntry EOF ; + public final void entryRuleCustomEntry() throws RecognitionException { + try { + // InternalApplicationConfiguration.g:1304:1: ( ruleCustomEntry EOF ) + // InternalApplicationConfiguration.g:1305:1: ruleCustomEntry EOF + { + before(grammarAccess.getCustomEntryRule()); + pushFollow(FOLLOW_1); + ruleCustomEntry(); + + state._fsp--; + + after(grammarAccess.getCustomEntryRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleCustomEntry" + + + // $ANTLR start "ruleCustomEntry" + // InternalApplicationConfiguration.g:1312:1: ruleCustomEntry : ( ( rule__CustomEntry__Group__0 ) ) ; + public final void ruleCustomEntry() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:1316:2: ( ( ( rule__CustomEntry__Group__0 ) ) ) + // InternalApplicationConfiguration.g:1317:2: ( ( rule__CustomEntry__Group__0 ) ) + { + // InternalApplicationConfiguration.g:1317:2: ( ( rule__CustomEntry__Group__0 ) ) + // InternalApplicationConfiguration.g:1318:3: ( rule__CustomEntry__Group__0 ) + { + before(grammarAccess.getCustomEntryAccess().getGroup()); + // InternalApplicationConfiguration.g:1319:3: ( rule__CustomEntry__Group__0 ) + // InternalApplicationConfiguration.g:1319:4: rule__CustomEntry__Group__0 + { + pushFollow(FOLLOW_2); + rule__CustomEntry__Group__0(); + + state._fsp--; + + + } + + after(grammarAccess.getCustomEntryAccess().getGroup()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleCustomEntry" + + + // $ANTLR start "entryRuleConfigReference" + // InternalApplicationConfiguration.g:1328:1: entryRuleConfigReference : ruleConfigReference EOF ; + public final void entryRuleConfigReference() throws RecognitionException { + try { + // InternalApplicationConfiguration.g:1329:1: ( ruleConfigReference EOF ) + // InternalApplicationConfiguration.g:1330:1: ruleConfigReference EOF + { + before(grammarAccess.getConfigReferenceRule()); + pushFollow(FOLLOW_1); + ruleConfigReference(); + + state._fsp--; + + after(grammarAccess.getConfigReferenceRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleConfigReference" + + + // $ANTLR start "ruleConfigReference" + // InternalApplicationConfiguration.g:1337:1: ruleConfigReference : ( ( rule__ConfigReference__ConfigAssignment ) ) ; + public final void ruleConfigReference() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:1341:2: ( ( ( rule__ConfigReference__ConfigAssignment ) ) ) + // InternalApplicationConfiguration.g:1342:2: ( ( rule__ConfigReference__ConfigAssignment ) ) + { + // InternalApplicationConfiguration.g:1342:2: ( ( rule__ConfigReference__ConfigAssignment ) ) + // InternalApplicationConfiguration.g:1343:3: ( rule__ConfigReference__ConfigAssignment ) + { + before(grammarAccess.getConfigReferenceAccess().getConfigAssignment()); + // InternalApplicationConfiguration.g:1344:3: ( rule__ConfigReference__ConfigAssignment ) + // InternalApplicationConfiguration.g:1344:4: rule__ConfigReference__ConfigAssignment + { + pushFollow(FOLLOW_2); + rule__ConfigReference__ConfigAssignment(); + + state._fsp--; + + + } + + after(grammarAccess.getConfigReferenceAccess().getConfigAssignment()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleConfigReference" + + + // $ANTLR start "entryRuleConfig" + // InternalApplicationConfiguration.g:1353:1: entryRuleConfig : ruleConfig EOF ; + public final void entryRuleConfig() throws RecognitionException { + try { + // InternalApplicationConfiguration.g:1354:1: ( ruleConfig EOF ) + // InternalApplicationConfiguration.g:1355:1: ruleConfig EOF + { + before(grammarAccess.getConfigRule()); + pushFollow(FOLLOW_1); + ruleConfig(); + + state._fsp--; + + after(grammarAccess.getConfigRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleConfig" + + + // $ANTLR start "ruleConfig" + // InternalApplicationConfiguration.g:1362:1: ruleConfig : ( ( rule__Config__Alternatives ) ) ; + public final void ruleConfig() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:1366:2: ( ( ( rule__Config__Alternatives ) ) ) + // InternalApplicationConfiguration.g:1367:2: ( ( rule__Config__Alternatives ) ) + { + // InternalApplicationConfiguration.g:1367:2: ( ( rule__Config__Alternatives ) ) + // InternalApplicationConfiguration.g:1368:3: ( rule__Config__Alternatives ) + { + before(grammarAccess.getConfigAccess().getAlternatives()); + // InternalApplicationConfiguration.g:1369:3: ( rule__Config__Alternatives ) + // InternalApplicationConfiguration.g:1369:4: rule__Config__Alternatives + { + pushFollow(FOLLOW_2); + rule__Config__Alternatives(); + + state._fsp--; + + + } + + after(grammarAccess.getConfigAccess().getAlternatives()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleConfig" + + + // $ANTLR start "entryRuleScopeSpecification" + // InternalApplicationConfiguration.g:1378:1: entryRuleScopeSpecification : ruleScopeSpecification EOF ; + public final void entryRuleScopeSpecification() throws RecognitionException { + try { + // InternalApplicationConfiguration.g:1379:1: ( ruleScopeSpecification EOF ) + // InternalApplicationConfiguration.g:1380:1: ruleScopeSpecification EOF + { + before(grammarAccess.getScopeSpecificationRule()); + pushFollow(FOLLOW_1); + ruleScopeSpecification(); + + state._fsp--; + + after(grammarAccess.getScopeSpecificationRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleScopeSpecification" + + + // $ANTLR start "ruleScopeSpecification" + // InternalApplicationConfiguration.g:1387:1: ruleScopeSpecification : ( ( rule__ScopeSpecification__Group__0 ) ) ; + public final void ruleScopeSpecification() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:1391:2: ( ( ( rule__ScopeSpecification__Group__0 ) ) ) + // InternalApplicationConfiguration.g:1392:2: ( ( rule__ScopeSpecification__Group__0 ) ) + { + // InternalApplicationConfiguration.g:1392:2: ( ( rule__ScopeSpecification__Group__0 ) ) + // InternalApplicationConfiguration.g:1393:3: ( rule__ScopeSpecification__Group__0 ) + { + before(grammarAccess.getScopeSpecificationAccess().getGroup()); + // InternalApplicationConfiguration.g:1394:3: ( rule__ScopeSpecification__Group__0 ) + // InternalApplicationConfiguration.g:1394:4: rule__ScopeSpecification__Group__0 + { + pushFollow(FOLLOW_2); + rule__ScopeSpecification__Group__0(); + + state._fsp--; + + + } + + after(grammarAccess.getScopeSpecificationAccess().getGroup()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleScopeSpecification" + + + // $ANTLR start "entryRuleTypeScope" + // InternalApplicationConfiguration.g:1403:1: entryRuleTypeScope : ruleTypeScope EOF ; + public final void entryRuleTypeScope() throws RecognitionException { + try { + // InternalApplicationConfiguration.g:1404:1: ( ruleTypeScope EOF ) + // InternalApplicationConfiguration.g:1405:1: ruleTypeScope EOF + { + before(grammarAccess.getTypeScopeRule()); + pushFollow(FOLLOW_1); + ruleTypeScope(); + + state._fsp--; + + after(grammarAccess.getTypeScopeRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleTypeScope" + + + // $ANTLR start "ruleTypeScope" + // InternalApplicationConfiguration.g:1412:1: ruleTypeScope : ( ( rule__TypeScope__Alternatives ) ) ; + public final void ruleTypeScope() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:1416:2: ( ( ( rule__TypeScope__Alternatives ) ) ) + // InternalApplicationConfiguration.g:1417:2: ( ( rule__TypeScope__Alternatives ) ) + { + // InternalApplicationConfiguration.g:1417:2: ( ( rule__TypeScope__Alternatives ) ) + // InternalApplicationConfiguration.g:1418:3: ( rule__TypeScope__Alternatives ) + { + before(grammarAccess.getTypeScopeAccess().getAlternatives()); + // InternalApplicationConfiguration.g:1419:3: ( rule__TypeScope__Alternatives ) + // InternalApplicationConfiguration.g:1419:4: rule__TypeScope__Alternatives + { + pushFollow(FOLLOW_2); + rule__TypeScope__Alternatives(); + + state._fsp--; + + + } + + after(grammarAccess.getTypeScopeAccess().getAlternatives()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleTypeScope" + + + // $ANTLR start "entryRuleClassTypeScope" + // InternalApplicationConfiguration.g:1428:1: entryRuleClassTypeScope : ruleClassTypeScope EOF ; + public final void entryRuleClassTypeScope() throws RecognitionException { + try { + // InternalApplicationConfiguration.g:1429:1: ( ruleClassTypeScope EOF ) + // InternalApplicationConfiguration.g:1430:1: ruleClassTypeScope EOF + { + before(grammarAccess.getClassTypeScopeRule()); + pushFollow(FOLLOW_1); + ruleClassTypeScope(); + + state._fsp--; + + after(grammarAccess.getClassTypeScopeRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleClassTypeScope" + + + // $ANTLR start "ruleClassTypeScope" + // InternalApplicationConfiguration.g:1437:1: ruleClassTypeScope : ( ( rule__ClassTypeScope__Group__0 ) ) ; + public final void ruleClassTypeScope() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:1441:2: ( ( ( rule__ClassTypeScope__Group__0 ) ) ) + // InternalApplicationConfiguration.g:1442:2: ( ( rule__ClassTypeScope__Group__0 ) ) + { + // InternalApplicationConfiguration.g:1442:2: ( ( rule__ClassTypeScope__Group__0 ) ) + // InternalApplicationConfiguration.g:1443:3: ( rule__ClassTypeScope__Group__0 ) + { + before(grammarAccess.getClassTypeScopeAccess().getGroup()); + // InternalApplicationConfiguration.g:1444:3: ( rule__ClassTypeScope__Group__0 ) + // InternalApplicationConfiguration.g:1444:4: rule__ClassTypeScope__Group__0 + { + pushFollow(FOLLOW_2); + rule__ClassTypeScope__Group__0(); + + state._fsp--; + + + } + + after(grammarAccess.getClassTypeScopeAccess().getGroup()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleClassTypeScope" + + + // $ANTLR start "entryRuleObjectTypeScope" + // InternalApplicationConfiguration.g:1453:1: entryRuleObjectTypeScope : ruleObjectTypeScope EOF ; + public final void entryRuleObjectTypeScope() throws RecognitionException { + try { + // InternalApplicationConfiguration.g:1454:1: ( ruleObjectTypeScope EOF ) + // InternalApplicationConfiguration.g:1455:1: ruleObjectTypeScope EOF + { + before(grammarAccess.getObjectTypeScopeRule()); + pushFollow(FOLLOW_1); + ruleObjectTypeScope(); + + state._fsp--; + + after(grammarAccess.getObjectTypeScopeRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleObjectTypeScope" + + + // $ANTLR start "ruleObjectTypeScope" + // InternalApplicationConfiguration.g:1462:1: ruleObjectTypeScope : ( ( rule__ObjectTypeScope__Group__0 ) ) ; + public final void ruleObjectTypeScope() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:1466:2: ( ( ( rule__ObjectTypeScope__Group__0 ) ) ) + // InternalApplicationConfiguration.g:1467:2: ( ( rule__ObjectTypeScope__Group__0 ) ) + { + // InternalApplicationConfiguration.g:1467:2: ( ( rule__ObjectTypeScope__Group__0 ) ) + // InternalApplicationConfiguration.g:1468:3: ( rule__ObjectTypeScope__Group__0 ) + { + before(grammarAccess.getObjectTypeScopeAccess().getGroup()); + // InternalApplicationConfiguration.g:1469:3: ( rule__ObjectTypeScope__Group__0 ) + // InternalApplicationConfiguration.g:1469:4: rule__ObjectTypeScope__Group__0 + { + pushFollow(FOLLOW_2); + rule__ObjectTypeScope__Group__0(); + + state._fsp--; + + + } + + after(grammarAccess.getObjectTypeScopeAccess().getGroup()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleObjectTypeScope" + + + // $ANTLR start "entryRuleIntegerTypeScope" + // InternalApplicationConfiguration.g:1478:1: entryRuleIntegerTypeScope : ruleIntegerTypeScope EOF ; + public final void entryRuleIntegerTypeScope() throws RecognitionException { + try { + // InternalApplicationConfiguration.g:1479:1: ( ruleIntegerTypeScope EOF ) + // InternalApplicationConfiguration.g:1480:1: ruleIntegerTypeScope EOF + { + before(grammarAccess.getIntegerTypeScopeRule()); + pushFollow(FOLLOW_1); + ruleIntegerTypeScope(); + + state._fsp--; + + after(grammarAccess.getIntegerTypeScopeRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleIntegerTypeScope" + + + // $ANTLR start "ruleIntegerTypeScope" + // InternalApplicationConfiguration.g:1487:1: ruleIntegerTypeScope : ( ( rule__IntegerTypeScope__Group__0 ) ) ; + public final void ruleIntegerTypeScope() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:1491:2: ( ( ( rule__IntegerTypeScope__Group__0 ) ) ) + // InternalApplicationConfiguration.g:1492:2: ( ( rule__IntegerTypeScope__Group__0 ) ) + { + // InternalApplicationConfiguration.g:1492:2: ( ( rule__IntegerTypeScope__Group__0 ) ) + // InternalApplicationConfiguration.g:1493:3: ( rule__IntegerTypeScope__Group__0 ) + { + before(grammarAccess.getIntegerTypeScopeAccess().getGroup()); + // InternalApplicationConfiguration.g:1494:3: ( rule__IntegerTypeScope__Group__0 ) + // InternalApplicationConfiguration.g:1494:4: rule__IntegerTypeScope__Group__0 + { + pushFollow(FOLLOW_2); + rule__IntegerTypeScope__Group__0(); + + state._fsp--; + + + } + + after(grammarAccess.getIntegerTypeScopeAccess().getGroup()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleIntegerTypeScope" + + + // $ANTLR start "entryRuleRealTypeScope" + // InternalApplicationConfiguration.g:1503:1: entryRuleRealTypeScope : ruleRealTypeScope EOF ; + public final void entryRuleRealTypeScope() throws RecognitionException { + try { + // InternalApplicationConfiguration.g:1504:1: ( ruleRealTypeScope EOF ) + // InternalApplicationConfiguration.g:1505:1: ruleRealTypeScope EOF + { + before(grammarAccess.getRealTypeScopeRule()); + pushFollow(FOLLOW_1); + ruleRealTypeScope(); + + state._fsp--; + + after(grammarAccess.getRealTypeScopeRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleRealTypeScope" + + + // $ANTLR start "ruleRealTypeScope" + // InternalApplicationConfiguration.g:1512:1: ruleRealTypeScope : ( ( rule__RealTypeScope__Group__0 ) ) ; + public final void ruleRealTypeScope() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:1516:2: ( ( ( rule__RealTypeScope__Group__0 ) ) ) + // InternalApplicationConfiguration.g:1517:2: ( ( rule__RealTypeScope__Group__0 ) ) + { + // InternalApplicationConfiguration.g:1517:2: ( ( rule__RealTypeScope__Group__0 ) ) + // InternalApplicationConfiguration.g:1518:3: ( rule__RealTypeScope__Group__0 ) + { + before(grammarAccess.getRealTypeScopeAccess().getGroup()); + // InternalApplicationConfiguration.g:1519:3: ( rule__RealTypeScope__Group__0 ) + // InternalApplicationConfiguration.g:1519:4: rule__RealTypeScope__Group__0 + { + pushFollow(FOLLOW_2); + rule__RealTypeScope__Group__0(); + + state._fsp--; + + + } + + after(grammarAccess.getRealTypeScopeAccess().getGroup()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleRealTypeScope" + + + // $ANTLR start "entryRuleStringTypeScope" + // InternalApplicationConfiguration.g:1528:1: entryRuleStringTypeScope : ruleStringTypeScope EOF ; + public final void entryRuleStringTypeScope() throws RecognitionException { + try { + // InternalApplicationConfiguration.g:1529:1: ( ruleStringTypeScope EOF ) + // InternalApplicationConfiguration.g:1530:1: ruleStringTypeScope EOF + { + before(grammarAccess.getStringTypeScopeRule()); + pushFollow(FOLLOW_1); + ruleStringTypeScope(); + + state._fsp--; + + after(grammarAccess.getStringTypeScopeRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleStringTypeScope" + + + // $ANTLR start "ruleStringTypeScope" + // InternalApplicationConfiguration.g:1537:1: ruleStringTypeScope : ( ( rule__StringTypeScope__Group__0 ) ) ; + public final void ruleStringTypeScope() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:1541:2: ( ( ( rule__StringTypeScope__Group__0 ) ) ) + // InternalApplicationConfiguration.g:1542:2: ( ( rule__StringTypeScope__Group__0 ) ) + { + // InternalApplicationConfiguration.g:1542:2: ( ( rule__StringTypeScope__Group__0 ) ) + // InternalApplicationConfiguration.g:1543:3: ( rule__StringTypeScope__Group__0 ) + { + before(grammarAccess.getStringTypeScopeAccess().getGroup()); + // InternalApplicationConfiguration.g:1544:3: ( rule__StringTypeScope__Group__0 ) + // InternalApplicationConfiguration.g:1544:4: rule__StringTypeScope__Group__0 + { + pushFollow(FOLLOW_2); + rule__StringTypeScope__Group__0(); + + state._fsp--; + + + } + + after(grammarAccess.getStringTypeScopeAccess().getGroup()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleStringTypeScope" + + + // $ANTLR start "entryRuleClassReference" + // InternalApplicationConfiguration.g:1553:1: entryRuleClassReference : ruleClassReference EOF ; + public final void entryRuleClassReference() throws RecognitionException { + try { + // InternalApplicationConfiguration.g:1554:1: ( ruleClassReference EOF ) + // InternalApplicationConfiguration.g:1555:1: ruleClassReference EOF + { + before(grammarAccess.getClassReferenceRule()); + pushFollow(FOLLOW_1); + ruleClassReference(); + + state._fsp--; + + after(grammarAccess.getClassReferenceRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleClassReference" + + + // $ANTLR start "ruleClassReference" + // InternalApplicationConfiguration.g:1562:1: ruleClassReference : ( ( rule__ClassReference__Group__0 ) ) ; + public final void ruleClassReference() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:1566:2: ( ( ( rule__ClassReference__Group__0 ) ) ) + // InternalApplicationConfiguration.g:1567:2: ( ( rule__ClassReference__Group__0 ) ) + { + // InternalApplicationConfiguration.g:1567:2: ( ( rule__ClassReference__Group__0 ) ) + // InternalApplicationConfiguration.g:1568:3: ( rule__ClassReference__Group__0 ) + { + before(grammarAccess.getClassReferenceAccess().getGroup()); + // InternalApplicationConfiguration.g:1569:3: ( rule__ClassReference__Group__0 ) + // InternalApplicationConfiguration.g:1569:4: rule__ClassReference__Group__0 + { + pushFollow(FOLLOW_2); + rule__ClassReference__Group__0(); + + state._fsp--; + + + } + + after(grammarAccess.getClassReferenceAccess().getGroup()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleClassReference" + + + // $ANTLR start "entryRuleObjectReference" + // InternalApplicationConfiguration.g:1578:1: entryRuleObjectReference : ruleObjectReference EOF ; + public final void entryRuleObjectReference() throws RecognitionException { + try { + // InternalApplicationConfiguration.g:1579:1: ( ruleObjectReference EOF ) + // InternalApplicationConfiguration.g:1580:1: ruleObjectReference EOF + { + before(grammarAccess.getObjectReferenceRule()); + pushFollow(FOLLOW_1); + ruleObjectReference(); + + state._fsp--; + + after(grammarAccess.getObjectReferenceRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleObjectReference" + + + // $ANTLR start "ruleObjectReference" + // InternalApplicationConfiguration.g:1587:1: ruleObjectReference : ( ( rule__ObjectReference__Group__0 ) ) ; + public final void ruleObjectReference() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:1591:2: ( ( ( rule__ObjectReference__Group__0 ) ) ) + // InternalApplicationConfiguration.g:1592:2: ( ( rule__ObjectReference__Group__0 ) ) + { + // InternalApplicationConfiguration.g:1592:2: ( ( rule__ObjectReference__Group__0 ) ) + // InternalApplicationConfiguration.g:1593:3: ( rule__ObjectReference__Group__0 ) + { + before(grammarAccess.getObjectReferenceAccess().getGroup()); + // InternalApplicationConfiguration.g:1594:3: ( rule__ObjectReference__Group__0 ) + // InternalApplicationConfiguration.g:1594:4: rule__ObjectReference__Group__0 + { + pushFollow(FOLLOW_2); + rule__ObjectReference__Group__0(); + + state._fsp--; + + + } + + after(grammarAccess.getObjectReferenceAccess().getGroup()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleObjectReference" + + + // $ANTLR start "entryRuleIntegerReference" + // InternalApplicationConfiguration.g:1603:1: entryRuleIntegerReference : ruleIntegerReference EOF ; + public final void entryRuleIntegerReference() throws RecognitionException { + try { + // InternalApplicationConfiguration.g:1604:1: ( ruleIntegerReference EOF ) + // InternalApplicationConfiguration.g:1605:1: ruleIntegerReference EOF + { + before(grammarAccess.getIntegerReferenceRule()); + pushFollow(FOLLOW_1); + ruleIntegerReference(); + + state._fsp--; + + after(grammarAccess.getIntegerReferenceRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleIntegerReference" + + + // $ANTLR start "ruleIntegerReference" + // InternalApplicationConfiguration.g:1612:1: ruleIntegerReference : ( ( rule__IntegerReference__Group__0 ) ) ; + public final void ruleIntegerReference() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:1616:2: ( ( ( rule__IntegerReference__Group__0 ) ) ) + // InternalApplicationConfiguration.g:1617:2: ( ( rule__IntegerReference__Group__0 ) ) + { + // InternalApplicationConfiguration.g:1617:2: ( ( rule__IntegerReference__Group__0 ) ) + // InternalApplicationConfiguration.g:1618:3: ( rule__IntegerReference__Group__0 ) + { + before(grammarAccess.getIntegerReferenceAccess().getGroup()); + // InternalApplicationConfiguration.g:1619:3: ( rule__IntegerReference__Group__0 ) + // InternalApplicationConfiguration.g:1619:4: rule__IntegerReference__Group__0 + { + pushFollow(FOLLOW_2); + rule__IntegerReference__Group__0(); + + state._fsp--; + + + } + + after(grammarAccess.getIntegerReferenceAccess().getGroup()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleIntegerReference" + + + // $ANTLR start "entryRuleRealReference" + // InternalApplicationConfiguration.g:1628:1: entryRuleRealReference : ruleRealReference EOF ; + public final void entryRuleRealReference() throws RecognitionException { + try { + // InternalApplicationConfiguration.g:1629:1: ( ruleRealReference EOF ) + // InternalApplicationConfiguration.g:1630:1: ruleRealReference EOF + { + before(grammarAccess.getRealReferenceRule()); + pushFollow(FOLLOW_1); + ruleRealReference(); + + state._fsp--; + + after(grammarAccess.getRealReferenceRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleRealReference" + + + // $ANTLR start "ruleRealReference" + // InternalApplicationConfiguration.g:1637:1: ruleRealReference : ( ( rule__RealReference__Group__0 ) ) ; + public final void ruleRealReference() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:1641:2: ( ( ( rule__RealReference__Group__0 ) ) ) + // InternalApplicationConfiguration.g:1642:2: ( ( rule__RealReference__Group__0 ) ) + { + // InternalApplicationConfiguration.g:1642:2: ( ( rule__RealReference__Group__0 ) ) + // InternalApplicationConfiguration.g:1643:3: ( rule__RealReference__Group__0 ) + { + before(grammarAccess.getRealReferenceAccess().getGroup()); + // InternalApplicationConfiguration.g:1644:3: ( rule__RealReference__Group__0 ) + // InternalApplicationConfiguration.g:1644:4: rule__RealReference__Group__0 + { + pushFollow(FOLLOW_2); + rule__RealReference__Group__0(); + + state._fsp--; + + + } + + after(grammarAccess.getRealReferenceAccess().getGroup()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleRealReference" + + + // $ANTLR start "entryRuleStringReference" + // InternalApplicationConfiguration.g:1653:1: entryRuleStringReference : ruleStringReference EOF ; + public final void entryRuleStringReference() throws RecognitionException { + try { + // InternalApplicationConfiguration.g:1654:1: ( ruleStringReference EOF ) + // InternalApplicationConfiguration.g:1655:1: ruleStringReference EOF + { + before(grammarAccess.getStringReferenceRule()); + pushFollow(FOLLOW_1); + ruleStringReference(); + + state._fsp--; + + after(grammarAccess.getStringReferenceRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleStringReference" + + + // $ANTLR start "ruleStringReference" + // InternalApplicationConfiguration.g:1662:1: ruleStringReference : ( ( rule__StringReference__Group__0 ) ) ; + public final void ruleStringReference() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:1666:2: ( ( ( rule__StringReference__Group__0 ) ) ) + // InternalApplicationConfiguration.g:1667:2: ( ( rule__StringReference__Group__0 ) ) + { + // InternalApplicationConfiguration.g:1667:2: ( ( rule__StringReference__Group__0 ) ) + // InternalApplicationConfiguration.g:1668:3: ( rule__StringReference__Group__0 ) + { + before(grammarAccess.getStringReferenceAccess().getGroup()); + // InternalApplicationConfiguration.g:1669:3: ( rule__StringReference__Group__0 ) + // InternalApplicationConfiguration.g:1669:4: rule__StringReference__Group__0 + { + pushFollow(FOLLOW_2); + rule__StringReference__Group__0(); + + state._fsp--; + + + } + + after(grammarAccess.getStringReferenceAccess().getGroup()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleStringReference" + + + // $ANTLR start "entryRuleExactNumber" + // InternalApplicationConfiguration.g:1678:1: entryRuleExactNumber : ruleExactNumber EOF ; + public final void entryRuleExactNumber() throws RecognitionException { + try { + // InternalApplicationConfiguration.g:1679:1: ( ruleExactNumber EOF ) + // InternalApplicationConfiguration.g:1680:1: ruleExactNumber EOF + { + before(grammarAccess.getExactNumberRule()); + pushFollow(FOLLOW_1); + ruleExactNumber(); + + state._fsp--; + + after(grammarAccess.getExactNumberRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleExactNumber" + + + // $ANTLR start "ruleExactNumber" + // InternalApplicationConfiguration.g:1687:1: ruleExactNumber : ( ( rule__ExactNumber__Alternatives ) ) ; + public final void ruleExactNumber() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:1691:2: ( ( ( rule__ExactNumber__Alternatives ) ) ) + // InternalApplicationConfiguration.g:1692:2: ( ( rule__ExactNumber__Alternatives ) ) + { + // InternalApplicationConfiguration.g:1692:2: ( ( rule__ExactNumber__Alternatives ) ) + // InternalApplicationConfiguration.g:1693:3: ( rule__ExactNumber__Alternatives ) + { + before(grammarAccess.getExactNumberAccess().getAlternatives()); + // InternalApplicationConfiguration.g:1694:3: ( rule__ExactNumber__Alternatives ) + // InternalApplicationConfiguration.g:1694:4: rule__ExactNumber__Alternatives + { + pushFollow(FOLLOW_2); + rule__ExactNumber__Alternatives(); + + state._fsp--; + + + } + + after(grammarAccess.getExactNumberAccess().getAlternatives()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleExactNumber" + + + // $ANTLR start "entryRuleIntervallNumber" + // InternalApplicationConfiguration.g:1703:1: entryRuleIntervallNumber : ruleIntervallNumber EOF ; + public final void entryRuleIntervallNumber() throws RecognitionException { + try { + // InternalApplicationConfiguration.g:1704:1: ( ruleIntervallNumber EOF ) + // InternalApplicationConfiguration.g:1705:1: ruleIntervallNumber EOF + { + before(grammarAccess.getIntervallNumberRule()); + pushFollow(FOLLOW_1); + ruleIntervallNumber(); + + state._fsp--; + + after(grammarAccess.getIntervallNumberRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleIntervallNumber" + + + // $ANTLR start "ruleIntervallNumber" + // InternalApplicationConfiguration.g:1712:1: ruleIntervallNumber : ( ( rule__IntervallNumber__Group__0 ) ) ; + public final void ruleIntervallNumber() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:1716:2: ( ( ( rule__IntervallNumber__Group__0 ) ) ) + // InternalApplicationConfiguration.g:1717:2: ( ( rule__IntervallNumber__Group__0 ) ) + { + // InternalApplicationConfiguration.g:1717:2: ( ( rule__IntervallNumber__Group__0 ) ) + // InternalApplicationConfiguration.g:1718:3: ( rule__IntervallNumber__Group__0 ) + { + before(grammarAccess.getIntervallNumberAccess().getGroup()); + // InternalApplicationConfiguration.g:1719:3: ( rule__IntervallNumber__Group__0 ) + // InternalApplicationConfiguration.g:1719:4: rule__IntervallNumber__Group__0 + { + pushFollow(FOLLOW_2); + rule__IntervallNumber__Group__0(); + + state._fsp--; + + + } + + after(grammarAccess.getIntervallNumberAccess().getGroup()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleIntervallNumber" + + + // $ANTLR start "entryRuleIntEnumberation" + // InternalApplicationConfiguration.g:1728:1: entryRuleIntEnumberation : ruleIntEnumberation EOF ; + public final void entryRuleIntEnumberation() throws RecognitionException { + try { + // InternalApplicationConfiguration.g:1729:1: ( ruleIntEnumberation EOF ) + // InternalApplicationConfiguration.g:1730:1: ruleIntEnumberation EOF + { + before(grammarAccess.getIntEnumberationRule()); + pushFollow(FOLLOW_1); + ruleIntEnumberation(); + + state._fsp--; + + after(grammarAccess.getIntEnumberationRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleIntEnumberation" + + + // $ANTLR start "ruleIntEnumberation" + // InternalApplicationConfiguration.g:1737:1: ruleIntEnumberation : ( ( rule__IntEnumberation__Group__0 ) ) ; + public final void ruleIntEnumberation() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:1741:2: ( ( ( rule__IntEnumberation__Group__0 ) ) ) + // InternalApplicationConfiguration.g:1742:2: ( ( rule__IntEnumberation__Group__0 ) ) + { + // InternalApplicationConfiguration.g:1742:2: ( ( rule__IntEnumberation__Group__0 ) ) + // InternalApplicationConfiguration.g:1743:3: ( rule__IntEnumberation__Group__0 ) + { + before(grammarAccess.getIntEnumberationAccess().getGroup()); + // InternalApplicationConfiguration.g:1744:3: ( rule__IntEnumberation__Group__0 ) + // InternalApplicationConfiguration.g:1744:4: rule__IntEnumberation__Group__0 + { + pushFollow(FOLLOW_2); + rule__IntEnumberation__Group__0(); + + state._fsp--; + + + } + + after(grammarAccess.getIntEnumberationAccess().getGroup()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleIntEnumberation" + + + // $ANTLR start "entryRuleRealEnumeration" + // InternalApplicationConfiguration.g:1753:1: entryRuleRealEnumeration : ruleRealEnumeration EOF ; + public final void entryRuleRealEnumeration() throws RecognitionException { + try { + // InternalApplicationConfiguration.g:1754:1: ( ruleRealEnumeration EOF ) + // InternalApplicationConfiguration.g:1755:1: ruleRealEnumeration EOF + { + before(grammarAccess.getRealEnumerationRule()); + pushFollow(FOLLOW_1); + ruleRealEnumeration(); + + state._fsp--; + + after(grammarAccess.getRealEnumerationRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleRealEnumeration" + + + // $ANTLR start "ruleRealEnumeration" + // InternalApplicationConfiguration.g:1762:1: ruleRealEnumeration : ( ( rule__RealEnumeration__Group__0 ) ) ; + public final void ruleRealEnumeration() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:1766:2: ( ( ( rule__RealEnumeration__Group__0 ) ) ) + // InternalApplicationConfiguration.g:1767:2: ( ( rule__RealEnumeration__Group__0 ) ) + { + // InternalApplicationConfiguration.g:1767:2: ( ( rule__RealEnumeration__Group__0 ) ) + // InternalApplicationConfiguration.g:1768:3: ( rule__RealEnumeration__Group__0 ) + { + before(grammarAccess.getRealEnumerationAccess().getGroup()); + // InternalApplicationConfiguration.g:1769:3: ( rule__RealEnumeration__Group__0 ) + // InternalApplicationConfiguration.g:1769:4: rule__RealEnumeration__Group__0 + { + pushFollow(FOLLOW_2); + rule__RealEnumeration__Group__0(); + + state._fsp--; + + + } + + after(grammarAccess.getRealEnumerationAccess().getGroup()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleRealEnumeration" + + + // $ANTLR start "entryRuleStringEnumeration" + // InternalApplicationConfiguration.g:1778:1: entryRuleStringEnumeration : ruleStringEnumeration EOF ; + public final void entryRuleStringEnumeration() throws RecognitionException { + try { + // InternalApplicationConfiguration.g:1779:1: ( ruleStringEnumeration EOF ) + // InternalApplicationConfiguration.g:1780:1: ruleStringEnumeration EOF + { + before(grammarAccess.getStringEnumerationRule()); + pushFollow(FOLLOW_1); + ruleStringEnumeration(); + + state._fsp--; + + after(grammarAccess.getStringEnumerationRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleStringEnumeration" + + + // $ANTLR start "ruleStringEnumeration" + // InternalApplicationConfiguration.g:1787:1: ruleStringEnumeration : ( ( rule__StringEnumeration__Group__0 ) ) ; + public final void ruleStringEnumeration() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:1791:2: ( ( ( rule__StringEnumeration__Group__0 ) ) ) + // InternalApplicationConfiguration.g:1792:2: ( ( rule__StringEnumeration__Group__0 ) ) + { + // InternalApplicationConfiguration.g:1792:2: ( ( rule__StringEnumeration__Group__0 ) ) + // InternalApplicationConfiguration.g:1793:3: ( rule__StringEnumeration__Group__0 ) + { + before(grammarAccess.getStringEnumerationAccess().getGroup()); + // InternalApplicationConfiguration.g:1794:3: ( rule__StringEnumeration__Group__0 ) + // InternalApplicationConfiguration.g:1794:4: rule__StringEnumeration__Group__0 + { + pushFollow(FOLLOW_2); + rule__StringEnumeration__Group__0(); + + state._fsp--; + + + } + + after(grammarAccess.getStringEnumerationAccess().getGroup()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleStringEnumeration" + + + // $ANTLR start "entryRuleScopeDeclaration" + // InternalApplicationConfiguration.g:1803:1: entryRuleScopeDeclaration : ruleScopeDeclaration EOF ; + public final void entryRuleScopeDeclaration() throws RecognitionException { + try { + // InternalApplicationConfiguration.g:1804:1: ( ruleScopeDeclaration EOF ) + // InternalApplicationConfiguration.g:1805:1: ruleScopeDeclaration EOF + { + before(grammarAccess.getScopeDeclarationRule()); + pushFollow(FOLLOW_1); + ruleScopeDeclaration(); + + state._fsp--; + + after(grammarAccess.getScopeDeclarationRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleScopeDeclaration" + + + // $ANTLR start "ruleScopeDeclaration" + // InternalApplicationConfiguration.g:1812:1: ruleScopeDeclaration : ( ( rule__ScopeDeclaration__Group__0 ) ) ; + public final void ruleScopeDeclaration() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:1816:2: ( ( ( rule__ScopeDeclaration__Group__0 ) ) ) + // InternalApplicationConfiguration.g:1817:2: ( ( rule__ScopeDeclaration__Group__0 ) ) + { + // InternalApplicationConfiguration.g:1817:2: ( ( rule__ScopeDeclaration__Group__0 ) ) + // InternalApplicationConfiguration.g:1818:3: ( rule__ScopeDeclaration__Group__0 ) + { + before(grammarAccess.getScopeDeclarationAccess().getGroup()); + // InternalApplicationConfiguration.g:1819:3: ( rule__ScopeDeclaration__Group__0 ) + // InternalApplicationConfiguration.g:1819:4: rule__ScopeDeclaration__Group__0 + { + pushFollow(FOLLOW_2); + rule__ScopeDeclaration__Group__0(); + + state._fsp--; + + + } + + after(grammarAccess.getScopeDeclarationAccess().getGroup()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleScopeDeclaration" + + + // $ANTLR start "entryRuleScopeReference" + // InternalApplicationConfiguration.g:1828:1: entryRuleScopeReference : ruleScopeReference EOF ; + public final void entryRuleScopeReference() throws RecognitionException { + try { + // InternalApplicationConfiguration.g:1829:1: ( ruleScopeReference EOF ) + // InternalApplicationConfiguration.g:1830:1: ruleScopeReference EOF + { + before(grammarAccess.getScopeReferenceRule()); + pushFollow(FOLLOW_1); + ruleScopeReference(); + + state._fsp--; + + after(grammarAccess.getScopeReferenceRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleScopeReference" + + + // $ANTLR start "ruleScopeReference" + // InternalApplicationConfiguration.g:1837:1: ruleScopeReference : ( ( rule__ScopeReference__ReferredAssignment ) ) ; + public final void ruleScopeReference() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:1841:2: ( ( ( rule__ScopeReference__ReferredAssignment ) ) ) + // InternalApplicationConfiguration.g:1842:2: ( ( rule__ScopeReference__ReferredAssignment ) ) + { + // InternalApplicationConfiguration.g:1842:2: ( ( rule__ScopeReference__ReferredAssignment ) ) + // InternalApplicationConfiguration.g:1843:3: ( rule__ScopeReference__ReferredAssignment ) + { + before(grammarAccess.getScopeReferenceAccess().getReferredAssignment()); + // InternalApplicationConfiguration.g:1844:3: ( rule__ScopeReference__ReferredAssignment ) + // InternalApplicationConfiguration.g:1844:4: rule__ScopeReference__ReferredAssignment + { + pushFollow(FOLLOW_2); + rule__ScopeReference__ReferredAssignment(); + + state._fsp--; + + + } + + after(grammarAccess.getScopeReferenceAccess().getReferredAssignment()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleScopeReference" + + + // $ANTLR start "entryRuleScope" + // InternalApplicationConfiguration.g:1853:1: entryRuleScope : ruleScope EOF ; + public final void entryRuleScope() throws RecognitionException { + try { + // InternalApplicationConfiguration.g:1854:1: ( ruleScope EOF ) + // InternalApplicationConfiguration.g:1855:1: ruleScope EOF + { + before(grammarAccess.getScopeRule()); + pushFollow(FOLLOW_1); + ruleScope(); + + state._fsp--; + + after(grammarAccess.getScopeRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleScope" + + + // $ANTLR start "ruleScope" + // InternalApplicationConfiguration.g:1862:1: ruleScope : ( ( rule__Scope__Alternatives ) ) ; + public final void ruleScope() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:1866:2: ( ( ( rule__Scope__Alternatives ) ) ) + // InternalApplicationConfiguration.g:1867:2: ( ( rule__Scope__Alternatives ) ) + { + // InternalApplicationConfiguration.g:1867:2: ( ( rule__Scope__Alternatives ) ) + // InternalApplicationConfiguration.g:1868:3: ( rule__Scope__Alternatives ) + { + before(grammarAccess.getScopeAccess().getAlternatives()); + // InternalApplicationConfiguration.g:1869:3: ( rule__Scope__Alternatives ) + // InternalApplicationConfiguration.g:1869:4: rule__Scope__Alternatives + { + pushFollow(FOLLOW_2); + rule__Scope__Alternatives(); + + state._fsp--; + + + } + + after(grammarAccess.getScopeAccess().getAlternatives()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleScope" + + + // $ANTLR start "entryRuleTask" + // InternalApplicationConfiguration.g:1878:1: entryRuleTask : ruleTask EOF ; + public final void entryRuleTask() throws RecognitionException { + try { + // InternalApplicationConfiguration.g:1879:1: ( ruleTask EOF ) + // InternalApplicationConfiguration.g:1880:1: ruleTask EOF + { + before(grammarAccess.getTaskRule()); + pushFollow(FOLLOW_1); + ruleTask(); + + state._fsp--; + + after(grammarAccess.getTaskRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleTask" + + + // $ANTLR start "ruleTask" + // InternalApplicationConfiguration.g:1887:1: ruleTask : ( ruleGenerationTask ) ; + public final void ruleTask() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:1891:2: ( ( ruleGenerationTask ) ) + // InternalApplicationConfiguration.g:1892:2: ( ruleGenerationTask ) + { + // InternalApplicationConfiguration.g:1892:2: ( ruleGenerationTask ) + // InternalApplicationConfiguration.g:1893:3: ruleGenerationTask + { + before(grammarAccess.getTaskAccess().getGenerationTaskParserRuleCall()); + pushFollow(FOLLOW_2); + ruleGenerationTask(); + + state._fsp--; + + after(grammarAccess.getTaskAccess().getGenerationTaskParserRuleCall()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleTask" + + + // $ANTLR start "entryRuleGenerationTask" + // InternalApplicationConfiguration.g:1903:1: entryRuleGenerationTask : ruleGenerationTask EOF ; + public final void entryRuleGenerationTask() throws RecognitionException { + try { + // InternalApplicationConfiguration.g:1904:1: ( ruleGenerationTask EOF ) + // InternalApplicationConfiguration.g:1905:1: ruleGenerationTask EOF + { + before(grammarAccess.getGenerationTaskRule()); + pushFollow(FOLLOW_1); + ruleGenerationTask(); + + state._fsp--; + + after(grammarAccess.getGenerationTaskRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleGenerationTask" + + + // $ANTLR start "ruleGenerationTask" + // InternalApplicationConfiguration.g:1912:1: ruleGenerationTask : ( ( rule__GenerationTask__Group__0 ) ) ; + public final void ruleGenerationTask() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:1916:2: ( ( ( rule__GenerationTask__Group__0 ) ) ) + // InternalApplicationConfiguration.g:1917:2: ( ( rule__GenerationTask__Group__0 ) ) + { + // InternalApplicationConfiguration.g:1917:2: ( ( rule__GenerationTask__Group__0 ) ) + // InternalApplicationConfiguration.g:1918:3: ( rule__GenerationTask__Group__0 ) + { + before(grammarAccess.getGenerationTaskAccess().getGroup()); + // InternalApplicationConfiguration.g:1919:3: ( rule__GenerationTask__Group__0 ) + // InternalApplicationConfiguration.g:1919:4: rule__GenerationTask__Group__0 + { + pushFollow(FOLLOW_2); + rule__GenerationTask__Group__0(); + + state._fsp--; + + + } + + after(grammarAccess.getGenerationTaskAccess().getGroup()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleGenerationTask" + + + // $ANTLR start "ruleOptimizationDirection" + // InternalApplicationConfiguration.g:1928:1: ruleOptimizationDirection : ( ( rule__OptimizationDirection__Alternatives ) ) ; + public final void ruleOptimizationDirection() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:1932:1: ( ( ( rule__OptimizationDirection__Alternatives ) ) ) + // InternalApplicationConfiguration.g:1933:2: ( ( rule__OptimizationDirection__Alternatives ) ) + { + // InternalApplicationConfiguration.g:1933:2: ( ( rule__OptimizationDirection__Alternatives ) ) + // InternalApplicationConfiguration.g:1934:3: ( rule__OptimizationDirection__Alternatives ) + { + before(grammarAccess.getOptimizationDirectionAccess().getAlternatives()); + // InternalApplicationConfiguration.g:1935:3: ( rule__OptimizationDirection__Alternatives ) + // InternalApplicationConfiguration.g:1935:4: rule__OptimizationDirection__Alternatives + { + pushFollow(FOLLOW_2); + rule__OptimizationDirection__Alternatives(); + + state._fsp--; + + + } + + after(grammarAccess.getOptimizationDirectionAccess().getAlternatives()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleOptimizationDirection" + + + // $ANTLR start "ruleComparisonOperator" + // InternalApplicationConfiguration.g:1944:1: ruleComparisonOperator : ( ( rule__ComparisonOperator__Alternatives ) ) ; + public final void ruleComparisonOperator() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:1948:1: ( ( ( rule__ComparisonOperator__Alternatives ) ) ) + // InternalApplicationConfiguration.g:1949:2: ( ( rule__ComparisonOperator__Alternatives ) ) + { + // InternalApplicationConfiguration.g:1949:2: ( ( rule__ComparisonOperator__Alternatives ) ) + // InternalApplicationConfiguration.g:1950:3: ( rule__ComparisonOperator__Alternatives ) + { + before(grammarAccess.getComparisonOperatorAccess().getAlternatives()); + // InternalApplicationConfiguration.g:1951:3: ( rule__ComparisonOperator__Alternatives ) + // InternalApplicationConfiguration.g:1951:4: rule__ComparisonOperator__Alternatives + { + pushFollow(FOLLOW_2); + rule__ComparisonOperator__Alternatives(); + + state._fsp--; + + + } + + after(grammarAccess.getComparisonOperatorAccess().getAlternatives()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleComparisonOperator" + + + // $ANTLR start "ruleDocumentLevelSpecification" + // InternalApplicationConfiguration.g:1960:1: ruleDocumentLevelSpecification : ( ( rule__DocumentLevelSpecification__Alternatives ) ) ; + public final void ruleDocumentLevelSpecification() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:1964:1: ( ( ( rule__DocumentLevelSpecification__Alternatives ) ) ) + // InternalApplicationConfiguration.g:1965:2: ( ( rule__DocumentLevelSpecification__Alternatives ) ) + { + // InternalApplicationConfiguration.g:1965:2: ( ( rule__DocumentLevelSpecification__Alternatives ) ) + // InternalApplicationConfiguration.g:1966:3: ( rule__DocumentLevelSpecification__Alternatives ) + { + before(grammarAccess.getDocumentLevelSpecificationAccess().getAlternatives()); + // InternalApplicationConfiguration.g:1967:3: ( rule__DocumentLevelSpecification__Alternatives ) + // InternalApplicationConfiguration.g:1967:4: rule__DocumentLevelSpecification__Alternatives + { + pushFollow(FOLLOW_2); + rule__DocumentLevelSpecification__Alternatives(); + + state._fsp--; + + + } + + after(grammarAccess.getDocumentLevelSpecificationAccess().getAlternatives()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleDocumentLevelSpecification" + + + // $ANTLR start "ruleSolver" + // InternalApplicationConfiguration.g:1976:1: ruleSolver : ( ( rule__Solver__Alternatives ) ) ; + public final void ruleSolver() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:1980:1: ( ( ( rule__Solver__Alternatives ) ) ) + // InternalApplicationConfiguration.g:1981:2: ( ( rule__Solver__Alternatives ) ) + { + // InternalApplicationConfiguration.g:1981:2: ( ( rule__Solver__Alternatives ) ) + // InternalApplicationConfiguration.g:1982:3: ( rule__Solver__Alternatives ) + { + before(grammarAccess.getSolverAccess().getAlternatives()); + // InternalApplicationConfiguration.g:1983:3: ( rule__Solver__Alternatives ) + // InternalApplicationConfiguration.g:1983:4: rule__Solver__Alternatives + { + pushFollow(FOLLOW_2); + rule__Solver__Alternatives(); + + state._fsp--; + + + } + + after(grammarAccess.getSolverAccess().getAlternatives()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleSolver" + + + // $ANTLR start "rule__Command__Alternatives" + // InternalApplicationConfiguration.g:1991:1: rule__Command__Alternatives : ( ( ruleDeclaration ) | ( ruleTask ) ); + public final void rule__Command__Alternatives() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:1995:1: ( ( ruleDeclaration ) | ( ruleTask ) ) + int alt1=2; + int LA1_0 = input.LA(1); + + if ( (LA1_0==27||LA1_0==35||(LA1_0>=37 && LA1_0<=40)||LA1_0==52) ) { + alt1=1; + } + else if ( (LA1_0==53) ) { + alt1=2; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 1, 0, input); + + throw nvae; + } + switch (alt1) { + case 1 : + // InternalApplicationConfiguration.g:1996:2: ( ruleDeclaration ) + { + // InternalApplicationConfiguration.g:1996:2: ( ruleDeclaration ) + // InternalApplicationConfiguration.g:1997:3: ruleDeclaration + { + before(grammarAccess.getCommandAccess().getDeclarationParserRuleCall_0()); + pushFollow(FOLLOW_2); + ruleDeclaration(); + + state._fsp--; + + after(grammarAccess.getCommandAccess().getDeclarationParserRuleCall_0()); + + } + + + } + break; + case 2 : + // InternalApplicationConfiguration.g:2002:2: ( ruleTask ) + { + // InternalApplicationConfiguration.g:2002:2: ( ruleTask ) + // InternalApplicationConfiguration.g:2003:3: ruleTask + { + before(grammarAccess.getCommandAccess().getTaskParserRuleCall_1()); + pushFollow(FOLLOW_2); + ruleTask(); + + state._fsp--; + + after(grammarAccess.getCommandAccess().getTaskParserRuleCall_1()); + + } + + + } + break; + + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Command__Alternatives" + + + // $ANTLR start "rule__Import__Alternatives" + // InternalApplicationConfiguration.g:2012:1: rule__Import__Alternatives : ( ( ruleEPackageImport ) | ( ruleViatraImport ) | ( ruleCftImport ) ); + public final void rule__Import__Alternatives() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:2016:1: ( ( ruleEPackageImport ) | ( ruleViatraImport ) | ( ruleCftImport ) ) + int alt2=3; + int LA2_0 = input.LA(1); + + if ( (LA2_0==23) ) { + switch ( input.LA(2) ) { + case 25: + { + alt2=2; + } + break; + case 26: + { + alt2=3; + } + break; + case 24: + { + alt2=1; + } + break; + default: + NoViableAltException nvae = + new NoViableAltException("", 2, 1, input); + + throw nvae; + } + + } + else { + NoViableAltException nvae = + new NoViableAltException("", 2, 0, input); + + throw nvae; + } + switch (alt2) { + case 1 : + // InternalApplicationConfiguration.g:2017:2: ( ruleEPackageImport ) + { + // InternalApplicationConfiguration.g:2017:2: ( ruleEPackageImport ) + // InternalApplicationConfiguration.g:2018:3: ruleEPackageImport + { + before(grammarAccess.getImportAccess().getEPackageImportParserRuleCall_0()); + pushFollow(FOLLOW_2); + ruleEPackageImport(); + + state._fsp--; + + after(grammarAccess.getImportAccess().getEPackageImportParserRuleCall_0()); + + } + + + } + break; + case 2 : + // InternalApplicationConfiguration.g:2023:2: ( ruleViatraImport ) + { + // InternalApplicationConfiguration.g:2023:2: ( ruleViatraImport ) + // InternalApplicationConfiguration.g:2024:3: ruleViatraImport + { + before(grammarAccess.getImportAccess().getViatraImportParserRuleCall_1()); + pushFollow(FOLLOW_2); + ruleViatraImport(); + + state._fsp--; + + after(grammarAccess.getImportAccess().getViatraImportParserRuleCall_1()); + + } + + + } + break; + case 3 : + // InternalApplicationConfiguration.g:2029:2: ( ruleCftImport ) + { + // InternalApplicationConfiguration.g:2029:2: ( ruleCftImport ) + // InternalApplicationConfiguration.g:2030:3: ruleCftImport + { + before(grammarAccess.getImportAccess().getCftImportParserRuleCall_2()); + pushFollow(FOLLOW_2); + ruleCftImport(); + + state._fsp--; + + after(grammarAccess.getImportAccess().getCftImportParserRuleCall_2()); + + } + + + } + break; + + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Import__Alternatives" + + + // $ANTLR start "rule__Declaration__Alternatives" + // InternalApplicationConfiguration.g:2039:1: rule__Declaration__Alternatives : ( ( ruleFileDeclaration ) | ( ruleMetamodelDeclaration ) | ( rulePartialModelDeclaration ) | ( ruleGraphPatternDeclaration ) | ( ruleConfigDeclaration ) | ( ruleScopeDeclaration ) | ( ruleObjectiveDeclaration ) ); + public final void rule__Declaration__Alternatives() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:2043:1: ( ( ruleFileDeclaration ) | ( ruleMetamodelDeclaration ) | ( rulePartialModelDeclaration ) | ( ruleGraphPatternDeclaration ) | ( ruleConfigDeclaration ) | ( ruleScopeDeclaration ) | ( ruleObjectiveDeclaration ) ) + int alt3=7; + switch ( input.LA(1) ) { + case 27: + { + alt3=1; + } + break; + case 35: + { + alt3=2; + } + break; + case 37: + { + alt3=3; + } + break; + case 38: + { + alt3=4; + } + break; + case 40: + { + alt3=5; + } + break; + case 52: + { + alt3=6; + } + break; + case 39: + { + alt3=7; + } + break; + default: + NoViableAltException nvae = + new NoViableAltException("", 3, 0, input); + + throw nvae; + } + + switch (alt3) { + case 1 : + // InternalApplicationConfiguration.g:2044:2: ( ruleFileDeclaration ) + { + // InternalApplicationConfiguration.g:2044:2: ( ruleFileDeclaration ) + // InternalApplicationConfiguration.g:2045:3: ruleFileDeclaration + { + before(grammarAccess.getDeclarationAccess().getFileDeclarationParserRuleCall_0()); + pushFollow(FOLLOW_2); + ruleFileDeclaration(); + + state._fsp--; + + after(grammarAccess.getDeclarationAccess().getFileDeclarationParserRuleCall_0()); + + } + + + } + break; + case 2 : + // InternalApplicationConfiguration.g:2050:2: ( ruleMetamodelDeclaration ) + { + // InternalApplicationConfiguration.g:2050:2: ( ruleMetamodelDeclaration ) + // InternalApplicationConfiguration.g:2051:3: ruleMetamodelDeclaration + { + before(grammarAccess.getDeclarationAccess().getMetamodelDeclarationParserRuleCall_1()); + pushFollow(FOLLOW_2); + ruleMetamodelDeclaration(); + + state._fsp--; + + after(grammarAccess.getDeclarationAccess().getMetamodelDeclarationParserRuleCall_1()); + + } + + + } + break; + case 3 : + // InternalApplicationConfiguration.g:2056:2: ( rulePartialModelDeclaration ) + { + // InternalApplicationConfiguration.g:2056:2: ( rulePartialModelDeclaration ) + // InternalApplicationConfiguration.g:2057:3: rulePartialModelDeclaration + { + before(grammarAccess.getDeclarationAccess().getPartialModelDeclarationParserRuleCall_2()); + pushFollow(FOLLOW_2); + rulePartialModelDeclaration(); + + state._fsp--; + + after(grammarAccess.getDeclarationAccess().getPartialModelDeclarationParserRuleCall_2()); + + } + + + } + break; + case 4 : + // InternalApplicationConfiguration.g:2062:2: ( ruleGraphPatternDeclaration ) + { + // InternalApplicationConfiguration.g:2062:2: ( ruleGraphPatternDeclaration ) + // InternalApplicationConfiguration.g:2063:3: ruleGraphPatternDeclaration + { + before(grammarAccess.getDeclarationAccess().getGraphPatternDeclarationParserRuleCall_3()); + pushFollow(FOLLOW_2); + ruleGraphPatternDeclaration(); + + state._fsp--; + + after(grammarAccess.getDeclarationAccess().getGraphPatternDeclarationParserRuleCall_3()); + + } + + + } + break; + case 5 : + // InternalApplicationConfiguration.g:2068:2: ( ruleConfigDeclaration ) + { + // InternalApplicationConfiguration.g:2068:2: ( ruleConfigDeclaration ) + // InternalApplicationConfiguration.g:2069:3: ruleConfigDeclaration + { + before(grammarAccess.getDeclarationAccess().getConfigDeclarationParserRuleCall_4()); + pushFollow(FOLLOW_2); + ruleConfigDeclaration(); + + state._fsp--; + + after(grammarAccess.getDeclarationAccess().getConfigDeclarationParserRuleCall_4()); + + } + + + } + break; + case 6 : + // InternalApplicationConfiguration.g:2074:2: ( ruleScopeDeclaration ) + { + // InternalApplicationConfiguration.g:2074:2: ( ruleScopeDeclaration ) + // InternalApplicationConfiguration.g:2075:3: ruleScopeDeclaration + { + before(grammarAccess.getDeclarationAccess().getScopeDeclarationParserRuleCall_5()); + pushFollow(FOLLOW_2); + ruleScopeDeclaration(); + + state._fsp--; + + after(grammarAccess.getDeclarationAccess().getScopeDeclarationParserRuleCall_5()); + + } + + + } + break; + case 7 : + // InternalApplicationConfiguration.g:2080:2: ( ruleObjectiveDeclaration ) + { + // InternalApplicationConfiguration.g:2080:2: ( ruleObjectiveDeclaration ) + // InternalApplicationConfiguration.g:2081:3: ruleObjectiveDeclaration + { + before(grammarAccess.getDeclarationAccess().getObjectiveDeclarationParserRuleCall_6()); + pushFollow(FOLLOW_2); + ruleObjectiveDeclaration(); + + state._fsp--; + + after(grammarAccess.getDeclarationAccess().getObjectiveDeclarationParserRuleCall_6()); + + } + + + } + break; + + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Declaration__Alternatives" + + + // $ANTLR start "rule__File__Alternatives" + // InternalApplicationConfiguration.g:2090:1: rule__File__Alternatives : ( ( ruleFileSpecification ) | ( ruleFileReference ) ); + public final void rule__File__Alternatives() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:2094:1: ( ( ruleFileSpecification ) | ( ruleFileReference ) ) + int alt4=2; + int LA4_0 = input.LA(1); + + if ( (LA4_0==RULE_STRING) ) { + alt4=1; + } + else if ( (LA4_0==RULE_ID) ) { + alt4=2; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 4, 0, input); + + throw nvae; + } + switch (alt4) { + case 1 : + // InternalApplicationConfiguration.g:2095:2: ( ruleFileSpecification ) + { + // InternalApplicationConfiguration.g:2095:2: ( ruleFileSpecification ) + // InternalApplicationConfiguration.g:2096:3: ruleFileSpecification + { + before(grammarAccess.getFileAccess().getFileSpecificationParserRuleCall_0()); + pushFollow(FOLLOW_2); + ruleFileSpecification(); + + state._fsp--; + + after(grammarAccess.getFileAccess().getFileSpecificationParserRuleCall_0()); + + } + + + } + break; + case 2 : + // InternalApplicationConfiguration.g:2101:2: ( ruleFileReference ) + { + // InternalApplicationConfiguration.g:2101:2: ( ruleFileReference ) + // InternalApplicationConfiguration.g:2102:3: ruleFileReference + { + before(grammarAccess.getFileAccess().getFileReferenceParserRuleCall_1()); + pushFollow(FOLLOW_2); + ruleFileReference(); + + state._fsp--; + + after(grammarAccess.getFileAccess().getFileReferenceParserRuleCall_1()); + + } + + + } + break; + + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__File__Alternatives" + + + // $ANTLR start "rule__MetamodelEntry__Alternatives" + // InternalApplicationConfiguration.g:2111:1: rule__MetamodelEntry__Alternatives : ( ( ruleMetamodelElement ) | ( ruleAllPackageEntry ) ); + public final void rule__MetamodelEntry__Alternatives() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:2115:1: ( ( ruleMetamodelElement ) | ( ruleAllPackageEntry ) ) + int alt5=2; + int LA5_0 = input.LA(1); + + if ( (LA5_0==RULE_ID) ) { + alt5=1; + } + else if ( (LA5_0==32) ) { + alt5=2; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 5, 0, input); + + throw nvae; + } + switch (alt5) { + case 1 : + // InternalApplicationConfiguration.g:2116:2: ( ruleMetamodelElement ) + { + // InternalApplicationConfiguration.g:2116:2: ( ruleMetamodelElement ) + // InternalApplicationConfiguration.g:2117:3: ruleMetamodelElement + { + before(grammarAccess.getMetamodelEntryAccess().getMetamodelElementParserRuleCall_0()); + pushFollow(FOLLOW_2); + ruleMetamodelElement(); + + state._fsp--; + + after(grammarAccess.getMetamodelEntryAccess().getMetamodelElementParserRuleCall_0()); + + } + + + } + break; + case 2 : + // InternalApplicationConfiguration.g:2122:2: ( ruleAllPackageEntry ) + { + // InternalApplicationConfiguration.g:2122:2: ( ruleAllPackageEntry ) + // InternalApplicationConfiguration.g:2123:3: ruleAllPackageEntry + { + before(grammarAccess.getMetamodelEntryAccess().getAllPackageEntryParserRuleCall_1()); + pushFollow(FOLLOW_2); + ruleAllPackageEntry(); + + state._fsp--; + + after(grammarAccess.getMetamodelEntryAccess().getAllPackageEntryParserRuleCall_1()); + + } + + + } + break; + + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__MetamodelEntry__Alternatives" + + + // $ANTLR start "rule__Metamodel__Alternatives" + // InternalApplicationConfiguration.g:2132:1: rule__Metamodel__Alternatives : ( ( ruleMetamodelReference ) | ( ruleMetamodelSpecification ) ); + public final void rule__Metamodel__Alternatives() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:2136:1: ( ( ruleMetamodelReference ) | ( ruleMetamodelSpecification ) ) + int alt6=2; + int LA6_0 = input.LA(1); + + if ( (LA6_0==RULE_ID) ) { + alt6=1; + } + else if ( (LA6_0==29) ) { + alt6=2; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 6, 0, input); + + throw nvae; + } + switch (alt6) { + case 1 : + // InternalApplicationConfiguration.g:2137:2: ( ruleMetamodelReference ) + { + // InternalApplicationConfiguration.g:2137:2: ( ruleMetamodelReference ) + // InternalApplicationConfiguration.g:2138:3: ruleMetamodelReference + { + before(grammarAccess.getMetamodelAccess().getMetamodelReferenceParserRuleCall_0()); + pushFollow(FOLLOW_2); + ruleMetamodelReference(); + + state._fsp--; + + after(grammarAccess.getMetamodelAccess().getMetamodelReferenceParserRuleCall_0()); + + } + + + } + break; + case 2 : + // InternalApplicationConfiguration.g:2143:2: ( ruleMetamodelSpecification ) + { + // InternalApplicationConfiguration.g:2143:2: ( ruleMetamodelSpecification ) + // InternalApplicationConfiguration.g:2144:3: ruleMetamodelSpecification + { + before(grammarAccess.getMetamodelAccess().getMetamodelSpecificationParserRuleCall_1()); + pushFollow(FOLLOW_2); + ruleMetamodelSpecification(); + + state._fsp--; + + after(grammarAccess.getMetamodelAccess().getMetamodelSpecificationParserRuleCall_1()); + + } + + + } + break; + + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Metamodel__Alternatives" + + + // $ANTLR start "rule__PartialModelEntry__Alternatives" + // InternalApplicationConfiguration.g:2153:1: rule__PartialModelEntry__Alternatives : ( ( ruleModelEntry ) | ( ruleFolderEntry ) ); + public final void rule__PartialModelEntry__Alternatives() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:2157:1: ( ( ruleModelEntry ) | ( ruleFolderEntry ) ) + int alt7=2; + int LA7_0 = input.LA(1); + + if ( (LA7_0==RULE_ID||LA7_0==RULE_STRING) ) { + alt7=1; + } + else if ( (LA7_0==36) ) { + alt7=2; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 7, 0, input); + + throw nvae; + } + switch (alt7) { + case 1 : + // InternalApplicationConfiguration.g:2158:2: ( ruleModelEntry ) + { + // InternalApplicationConfiguration.g:2158:2: ( ruleModelEntry ) + // InternalApplicationConfiguration.g:2159:3: ruleModelEntry + { + before(grammarAccess.getPartialModelEntryAccess().getModelEntryParserRuleCall_0()); + pushFollow(FOLLOW_2); + ruleModelEntry(); + + state._fsp--; + + after(grammarAccess.getPartialModelEntryAccess().getModelEntryParserRuleCall_0()); + + } + + + } + break; + case 2 : + // InternalApplicationConfiguration.g:2164:2: ( ruleFolderEntry ) + { + // InternalApplicationConfiguration.g:2164:2: ( ruleFolderEntry ) + // InternalApplicationConfiguration.g:2165:3: ruleFolderEntry + { + before(grammarAccess.getPartialModelEntryAccess().getFolderEntryParserRuleCall_1()); + pushFollow(FOLLOW_2); + ruleFolderEntry(); + + state._fsp--; + + after(grammarAccess.getPartialModelEntryAccess().getFolderEntryParserRuleCall_1()); + + } + + + } + break; + + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PartialModelEntry__Alternatives" + + + // $ANTLR start "rule__PartialModel__Alternatives" + // InternalApplicationConfiguration.g:2174:1: rule__PartialModel__Alternatives : ( ( rulePartialModelSpecification ) | ( rulePartialModelReference ) ); + public final void rule__PartialModel__Alternatives() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:2178:1: ( ( rulePartialModelSpecification ) | ( rulePartialModelReference ) ) + int alt8=2; + int LA8_0 = input.LA(1); + + if ( (LA8_0==29) ) { + alt8=1; + } + else if ( (LA8_0==RULE_ID) ) { + alt8=2; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 8, 0, input); + + throw nvae; + } + switch (alt8) { + case 1 : + // InternalApplicationConfiguration.g:2179:2: ( rulePartialModelSpecification ) + { + // InternalApplicationConfiguration.g:2179:2: ( rulePartialModelSpecification ) + // InternalApplicationConfiguration.g:2180:3: rulePartialModelSpecification + { + before(grammarAccess.getPartialModelAccess().getPartialModelSpecificationParserRuleCall_0()); + pushFollow(FOLLOW_2); + rulePartialModelSpecification(); + + state._fsp--; + + after(grammarAccess.getPartialModelAccess().getPartialModelSpecificationParserRuleCall_0()); + + } + + + } + break; + case 2 : + // InternalApplicationConfiguration.g:2185:2: ( rulePartialModelReference ) + { + // InternalApplicationConfiguration.g:2185:2: ( rulePartialModelReference ) + // InternalApplicationConfiguration.g:2186:3: rulePartialModelReference + { + before(grammarAccess.getPartialModelAccess().getPartialModelReferenceParserRuleCall_1()); + pushFollow(FOLLOW_2); + rulePartialModelReference(); + + state._fsp--; + + after(grammarAccess.getPartialModelAccess().getPartialModelReferenceParserRuleCall_1()); + + } + + + } + break; + + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PartialModel__Alternatives" + + + // $ANTLR start "rule__PatternEntry__Alternatives" + // InternalApplicationConfiguration.g:2195:1: rule__PatternEntry__Alternatives : ( ( rulePatternElement ) | ( ruleAllPatternEntry ) ); + public final void rule__PatternEntry__Alternatives() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:2199:1: ( ( rulePatternElement ) | ( ruleAllPatternEntry ) ) + int alt9=2; + int LA9_0 = input.LA(1); + + if ( (LA9_0==RULE_ID) ) { + alt9=1; + } + else if ( (LA9_0==32) ) { + alt9=2; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 9, 0, input); + + throw nvae; + } + switch (alt9) { + case 1 : + // InternalApplicationConfiguration.g:2200:2: ( rulePatternElement ) + { + // InternalApplicationConfiguration.g:2200:2: ( rulePatternElement ) + // InternalApplicationConfiguration.g:2201:3: rulePatternElement + { + before(grammarAccess.getPatternEntryAccess().getPatternElementParserRuleCall_0()); + pushFollow(FOLLOW_2); + rulePatternElement(); + + state._fsp--; + + after(grammarAccess.getPatternEntryAccess().getPatternElementParserRuleCall_0()); + + } + + + } + break; + case 2 : + // InternalApplicationConfiguration.g:2206:2: ( ruleAllPatternEntry ) + { + // InternalApplicationConfiguration.g:2206:2: ( ruleAllPatternEntry ) + // InternalApplicationConfiguration.g:2207:3: ruleAllPatternEntry + { + before(grammarAccess.getPatternEntryAccess().getAllPatternEntryParserRuleCall_1()); + pushFollow(FOLLOW_2); + ruleAllPatternEntry(); + + state._fsp--; + + after(grammarAccess.getPatternEntryAccess().getAllPatternEntryParserRuleCall_1()); + + } + + + } + break; + + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PatternEntry__Alternatives" + + + // $ANTLR start "rule__GraphPattern__Alternatives" + // InternalApplicationConfiguration.g:2216:1: rule__GraphPattern__Alternatives : ( ( ruleGraphPatternReference ) | ( rulePatternSpecification ) ); + public final void rule__GraphPattern__Alternatives() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:2220:1: ( ( ruleGraphPatternReference ) | ( rulePatternSpecification ) ) + int alt10=2; + int LA10_0 = input.LA(1); + + if ( (LA10_0==RULE_ID) ) { + alt10=1; + } + else if ( (LA10_0==29) ) { + alt10=2; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 10, 0, input); + + throw nvae; + } + switch (alt10) { + case 1 : + // InternalApplicationConfiguration.g:2221:2: ( ruleGraphPatternReference ) + { + // InternalApplicationConfiguration.g:2221:2: ( ruleGraphPatternReference ) + // InternalApplicationConfiguration.g:2222:3: ruleGraphPatternReference + { + before(grammarAccess.getGraphPatternAccess().getGraphPatternReferenceParserRuleCall_0()); + pushFollow(FOLLOW_2); + ruleGraphPatternReference(); + + state._fsp--; + + after(grammarAccess.getGraphPatternAccess().getGraphPatternReferenceParserRuleCall_0()); + + } + + + } + break; + case 2 : + // InternalApplicationConfiguration.g:2227:2: ( rulePatternSpecification ) + { + // InternalApplicationConfiguration.g:2227:2: ( rulePatternSpecification ) + // InternalApplicationConfiguration.g:2228:3: rulePatternSpecification + { + before(grammarAccess.getGraphPatternAccess().getPatternSpecificationParserRuleCall_1()); + pushFollow(FOLLOW_2); + rulePatternSpecification(); + + state._fsp--; + + after(grammarAccess.getGraphPatternAccess().getPatternSpecificationParserRuleCall_1()); + + } + + + } + break; + + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__GraphPattern__Alternatives" + + + // $ANTLR start "rule__ObjectiveEntry__Alternatives" + // InternalApplicationConfiguration.g:2237:1: rule__ObjectiveEntry__Alternatives : ( ( ruleOptimizationEntry ) | ( ruleThresholdEntry ) ); + public final void rule__ObjectiveEntry__Alternatives() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:2241:1: ( ( ruleOptimizationEntry ) | ( ruleThresholdEntry ) ) + int alt11=2; + int LA11_0 = input.LA(1); + + if ( ((LA11_0>=11 && LA11_0<=12)) ) { + alt11=1; + } + else if ( (LA11_0==26) ) { + alt11=2; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 11, 0, input); + + throw nvae; + } + switch (alt11) { + case 1 : + // InternalApplicationConfiguration.g:2242:2: ( ruleOptimizationEntry ) + { + // InternalApplicationConfiguration.g:2242:2: ( ruleOptimizationEntry ) + // InternalApplicationConfiguration.g:2243:3: ruleOptimizationEntry + { + before(grammarAccess.getObjectiveEntryAccess().getOptimizationEntryParserRuleCall_0()); + pushFollow(FOLLOW_2); + ruleOptimizationEntry(); + + state._fsp--; + + after(grammarAccess.getObjectiveEntryAccess().getOptimizationEntryParserRuleCall_0()); + + } + + + } + break; + case 2 : + // InternalApplicationConfiguration.g:2248:2: ( ruleThresholdEntry ) + { + // InternalApplicationConfiguration.g:2248:2: ( ruleThresholdEntry ) + // InternalApplicationConfiguration.g:2249:3: ruleThresholdEntry + { + before(grammarAccess.getObjectiveEntryAccess().getThresholdEntryParserRuleCall_1()); + pushFollow(FOLLOW_2); + ruleThresholdEntry(); + + state._fsp--; + + after(grammarAccess.getObjectiveEntryAccess().getThresholdEntryParserRuleCall_1()); + + } + + + } + break; + + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ObjectiveEntry__Alternatives" + + + // $ANTLR start "rule__Objective__Alternatives" + // InternalApplicationConfiguration.g:2258:1: rule__Objective__Alternatives : ( ( ruleObjectiveReference ) | ( ruleObjectiveSpecification ) ); + public final void rule__Objective__Alternatives() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:2262:1: ( ( ruleObjectiveReference ) | ( ruleObjectiveSpecification ) ) + int alt12=2; + int LA12_0 = input.LA(1); + + if ( (LA12_0==RULE_ID) ) { + alt12=1; + } + else if ( (LA12_0==29) ) { + alt12=2; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 12, 0, input); + + throw nvae; + } + switch (alt12) { + case 1 : + // InternalApplicationConfiguration.g:2263:2: ( ruleObjectiveReference ) + { + // InternalApplicationConfiguration.g:2263:2: ( ruleObjectiveReference ) + // InternalApplicationConfiguration.g:2264:3: ruleObjectiveReference + { + before(grammarAccess.getObjectiveAccess().getObjectiveReferenceParserRuleCall_0()); + pushFollow(FOLLOW_2); + ruleObjectiveReference(); + + state._fsp--; + + after(grammarAccess.getObjectiveAccess().getObjectiveReferenceParserRuleCall_0()); + + } + + + } + break; + case 2 : + // InternalApplicationConfiguration.g:2269:2: ( ruleObjectiveSpecification ) + { + // InternalApplicationConfiguration.g:2269:2: ( ruleObjectiveSpecification ) + // InternalApplicationConfiguration.g:2270:3: ruleObjectiveSpecification + { + before(grammarAccess.getObjectiveAccess().getObjectiveSpecificationParserRuleCall_1()); + pushFollow(FOLLOW_2); + ruleObjectiveSpecification(); + + state._fsp--; + + after(grammarAccess.getObjectiveAccess().getObjectiveSpecificationParserRuleCall_1()); + + } + + + } + break; + + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Objective__Alternatives" + + + // $ANTLR start "rule__ConfigEntry__Alternatives" + // InternalApplicationConfiguration.g:2279:1: rule__ConfigEntry__Alternatives : ( ( ruleDocumentationEntry ) | ( ruleRuntimeEntry ) | ( ruleMemoryEntry ) | ( ruleCustomEntry ) ); + public final void rule__ConfigEntry__Alternatives() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:2283:1: ( ( ruleDocumentationEntry ) | ( ruleRuntimeEntry ) | ( ruleMemoryEntry ) | ( ruleCustomEntry ) ) + int alt13=4; + switch ( input.LA(1) ) { + case 41: + { + alt13=1; + } + break; + case 42: + { + alt13=2; + } + break; + case 43: + { + alt13=3; + } + break; + case RULE_STRING: + { + alt13=4; + } + break; + default: + NoViableAltException nvae = + new NoViableAltException("", 13, 0, input); + + throw nvae; + } + + switch (alt13) { + case 1 : + // InternalApplicationConfiguration.g:2284:2: ( ruleDocumentationEntry ) + { + // InternalApplicationConfiguration.g:2284:2: ( ruleDocumentationEntry ) + // InternalApplicationConfiguration.g:2285:3: ruleDocumentationEntry + { + before(grammarAccess.getConfigEntryAccess().getDocumentationEntryParserRuleCall_0()); + pushFollow(FOLLOW_2); + ruleDocumentationEntry(); + + state._fsp--; + + after(grammarAccess.getConfigEntryAccess().getDocumentationEntryParserRuleCall_0()); + + } + + + } + break; + case 2 : + // InternalApplicationConfiguration.g:2290:2: ( ruleRuntimeEntry ) + { + // InternalApplicationConfiguration.g:2290:2: ( ruleRuntimeEntry ) + // InternalApplicationConfiguration.g:2291:3: ruleRuntimeEntry + { + before(grammarAccess.getConfigEntryAccess().getRuntimeEntryParserRuleCall_1()); + pushFollow(FOLLOW_2); + ruleRuntimeEntry(); + + state._fsp--; + + after(grammarAccess.getConfigEntryAccess().getRuntimeEntryParserRuleCall_1()); + + } + + + } + break; + case 3 : + // InternalApplicationConfiguration.g:2296:2: ( ruleMemoryEntry ) + { + // InternalApplicationConfiguration.g:2296:2: ( ruleMemoryEntry ) + // InternalApplicationConfiguration.g:2297:3: ruleMemoryEntry + { + before(grammarAccess.getConfigEntryAccess().getMemoryEntryParserRuleCall_2()); + pushFollow(FOLLOW_2); + ruleMemoryEntry(); + + state._fsp--; + + after(grammarAccess.getConfigEntryAccess().getMemoryEntryParserRuleCall_2()); + + } + + + } + break; + case 4 : + // InternalApplicationConfiguration.g:2302:2: ( ruleCustomEntry ) + { + // InternalApplicationConfiguration.g:2302:2: ( ruleCustomEntry ) + // InternalApplicationConfiguration.g:2303:3: ruleCustomEntry + { + before(grammarAccess.getConfigEntryAccess().getCustomEntryParserRuleCall_3()); + pushFollow(FOLLOW_2); + ruleCustomEntry(); + + state._fsp--; + + after(grammarAccess.getConfigEntryAccess().getCustomEntryParserRuleCall_3()); + + } + + + } + break; + + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ConfigEntry__Alternatives" + + + // $ANTLR start "rule__Config__Alternatives" + // InternalApplicationConfiguration.g:2312:1: rule__Config__Alternatives : ( ( ruleConfigSpecification ) | ( ruleConfigReference ) ); + public final void rule__Config__Alternatives() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:2316:1: ( ( ruleConfigSpecification ) | ( ruleConfigReference ) ) + int alt14=2; + int LA14_0 = input.LA(1); + + if ( (LA14_0==29) ) { + alt14=1; + } + else if ( (LA14_0==RULE_ID) ) { + alt14=2; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 14, 0, input); + + throw nvae; + } + switch (alt14) { + case 1 : + // InternalApplicationConfiguration.g:2317:2: ( ruleConfigSpecification ) + { + // InternalApplicationConfiguration.g:2317:2: ( ruleConfigSpecification ) + // InternalApplicationConfiguration.g:2318:3: ruleConfigSpecification + { + before(grammarAccess.getConfigAccess().getConfigSpecificationParserRuleCall_0()); + pushFollow(FOLLOW_2); + ruleConfigSpecification(); + + state._fsp--; + + after(grammarAccess.getConfigAccess().getConfigSpecificationParserRuleCall_0()); + + } + + + } + break; + case 2 : + // InternalApplicationConfiguration.g:2323:2: ( ruleConfigReference ) + { + // InternalApplicationConfiguration.g:2323:2: ( ruleConfigReference ) + // InternalApplicationConfiguration.g:2324:3: ruleConfigReference + { + before(grammarAccess.getConfigAccess().getConfigReferenceParserRuleCall_1()); + pushFollow(FOLLOW_2); + ruleConfigReference(); + + state._fsp--; + + after(grammarAccess.getConfigAccess().getConfigReferenceParserRuleCall_1()); + + } + + + } + break; + + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Config__Alternatives" + + + // $ANTLR start "rule__TypeScope__Alternatives" + // InternalApplicationConfiguration.g:2333:1: rule__TypeScope__Alternatives : ( ( ruleClassTypeScope ) | ( ruleObjectTypeScope ) | ( ruleIntegerTypeScope ) | ( ruleRealTypeScope ) | ( ruleStringTypeScope ) ); + public final void rule__TypeScope__Alternatives() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:2337:1: ( ( ruleClassTypeScope ) | ( ruleObjectTypeScope ) | ( ruleIntegerTypeScope ) | ( ruleRealTypeScope ) | ( ruleStringTypeScope ) ) + int alt15=5; + int LA15_0 = input.LA(1); + + if ( (LA15_0==44) ) { + switch ( input.LA(2) ) { + case 50: + { + alt15=5; + } + break; + case 47: + { + alt15=2; + } + break; + case 48: + { + alt15=3; + } + break; + case 49: + { + alt15=4; + } + break; + case 45: + { + alt15=1; + } + break; + default: + NoViableAltException nvae = + new NoViableAltException("", 15, 1, input); + + throw nvae; + } + + } + else { + NoViableAltException nvae = + new NoViableAltException("", 15, 0, input); + + throw nvae; + } + switch (alt15) { + case 1 : + // InternalApplicationConfiguration.g:2338:2: ( ruleClassTypeScope ) + { + // InternalApplicationConfiguration.g:2338:2: ( ruleClassTypeScope ) + // InternalApplicationConfiguration.g:2339:3: ruleClassTypeScope + { + before(grammarAccess.getTypeScopeAccess().getClassTypeScopeParserRuleCall_0()); + pushFollow(FOLLOW_2); + ruleClassTypeScope(); + + state._fsp--; + + after(grammarAccess.getTypeScopeAccess().getClassTypeScopeParserRuleCall_0()); + + } + + + } + break; + case 2 : + // InternalApplicationConfiguration.g:2344:2: ( ruleObjectTypeScope ) + { + // InternalApplicationConfiguration.g:2344:2: ( ruleObjectTypeScope ) + // InternalApplicationConfiguration.g:2345:3: ruleObjectTypeScope + { + before(grammarAccess.getTypeScopeAccess().getObjectTypeScopeParserRuleCall_1()); + pushFollow(FOLLOW_2); + ruleObjectTypeScope(); + + state._fsp--; + + after(grammarAccess.getTypeScopeAccess().getObjectTypeScopeParserRuleCall_1()); + + } + + + } + break; + case 3 : + // InternalApplicationConfiguration.g:2350:2: ( ruleIntegerTypeScope ) + { + // InternalApplicationConfiguration.g:2350:2: ( ruleIntegerTypeScope ) + // InternalApplicationConfiguration.g:2351:3: ruleIntegerTypeScope + { + before(grammarAccess.getTypeScopeAccess().getIntegerTypeScopeParserRuleCall_2()); + pushFollow(FOLLOW_2); + ruleIntegerTypeScope(); + + state._fsp--; + + after(grammarAccess.getTypeScopeAccess().getIntegerTypeScopeParserRuleCall_2()); + + } + + + } + break; + case 4 : + // InternalApplicationConfiguration.g:2356:2: ( ruleRealTypeScope ) + { + // InternalApplicationConfiguration.g:2356:2: ( ruleRealTypeScope ) + // InternalApplicationConfiguration.g:2357:3: ruleRealTypeScope + { + before(grammarAccess.getTypeScopeAccess().getRealTypeScopeParserRuleCall_3()); + pushFollow(FOLLOW_2); + ruleRealTypeScope(); + + state._fsp--; + + after(grammarAccess.getTypeScopeAccess().getRealTypeScopeParserRuleCall_3()); + + } + + + } + break; + case 5 : + // InternalApplicationConfiguration.g:2362:2: ( ruleStringTypeScope ) + { + // InternalApplicationConfiguration.g:2362:2: ( ruleStringTypeScope ) + // InternalApplicationConfiguration.g:2363:3: ruleStringTypeScope + { + before(grammarAccess.getTypeScopeAccess().getStringTypeScopeParserRuleCall_4()); + pushFollow(FOLLOW_2); + ruleStringTypeScope(); + + state._fsp--; + + after(grammarAccess.getTypeScopeAccess().getStringTypeScopeParserRuleCall_4()); + + } + + + } + break; + + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__TypeScope__Alternatives" + + + // $ANTLR start "rule__ClassTypeScope__Alternatives_2" + // InternalApplicationConfiguration.g:2372:1: rule__ClassTypeScope__Alternatives_2 : ( ( ( rule__ClassTypeScope__SetsNewAssignment_2_0 ) ) | ( ( rule__ClassTypeScope__SetsSumAssignment_2_1 ) ) ); + public final void rule__ClassTypeScope__Alternatives_2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:2376:1: ( ( ( rule__ClassTypeScope__SetsNewAssignment_2_0 ) ) | ( ( rule__ClassTypeScope__SetsSumAssignment_2_1 ) ) ) + int alt16=2; + int LA16_0 = input.LA(1); + + if ( (LA16_0==60) ) { + alt16=1; + } + else if ( (LA16_0==28) ) { + alt16=2; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 16, 0, input); + + throw nvae; + } + switch (alt16) { + case 1 : + // InternalApplicationConfiguration.g:2377:2: ( ( rule__ClassTypeScope__SetsNewAssignment_2_0 ) ) + { + // InternalApplicationConfiguration.g:2377:2: ( ( rule__ClassTypeScope__SetsNewAssignment_2_0 ) ) + // InternalApplicationConfiguration.g:2378:3: ( rule__ClassTypeScope__SetsNewAssignment_2_0 ) + { + before(grammarAccess.getClassTypeScopeAccess().getSetsNewAssignment_2_0()); + // InternalApplicationConfiguration.g:2379:3: ( rule__ClassTypeScope__SetsNewAssignment_2_0 ) + // InternalApplicationConfiguration.g:2379:4: rule__ClassTypeScope__SetsNewAssignment_2_0 + { + pushFollow(FOLLOW_2); + rule__ClassTypeScope__SetsNewAssignment_2_0(); + + state._fsp--; + + + } + + after(grammarAccess.getClassTypeScopeAccess().getSetsNewAssignment_2_0()); + + } + + + } + break; + case 2 : + // InternalApplicationConfiguration.g:2383:2: ( ( rule__ClassTypeScope__SetsSumAssignment_2_1 ) ) + { + // InternalApplicationConfiguration.g:2383:2: ( ( rule__ClassTypeScope__SetsSumAssignment_2_1 ) ) + // InternalApplicationConfiguration.g:2384:3: ( rule__ClassTypeScope__SetsSumAssignment_2_1 ) + { + before(grammarAccess.getClassTypeScopeAccess().getSetsSumAssignment_2_1()); + // InternalApplicationConfiguration.g:2385:3: ( rule__ClassTypeScope__SetsSumAssignment_2_1 ) + // InternalApplicationConfiguration.g:2385:4: rule__ClassTypeScope__SetsSumAssignment_2_1 + { + pushFollow(FOLLOW_2); + rule__ClassTypeScope__SetsSumAssignment_2_1(); + + state._fsp--; + + + } + + after(grammarAccess.getClassTypeScopeAccess().getSetsSumAssignment_2_1()); + + } + + + } + break; + + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ClassTypeScope__Alternatives_2" + + + // $ANTLR start "rule__ClassTypeScope__Alternatives_3" + // InternalApplicationConfiguration.g:2393:1: rule__ClassTypeScope__Alternatives_3 : ( ( ( rule__ClassTypeScope__NumberAssignment_3_0 ) ) | ( ( rule__ClassTypeScope__NumberAssignment_3_1 ) ) ); + public final void rule__ClassTypeScope__Alternatives_3() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:2397:1: ( ( ( rule__ClassTypeScope__NumberAssignment_3_0 ) ) | ( ( rule__ClassTypeScope__NumberAssignment_3_1 ) ) ) + int alt17=2; + int LA17_0 = input.LA(1); + + if ( (LA17_0==RULE_INT) ) { + int LA17_1 = input.LA(2); + + if ( (LA17_1==EOF||(LA17_1>=30 && LA17_1<=31)) ) { + alt17=1; + } + else if ( (LA17_1==51) ) { + alt17=2; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 17, 1, input); + + throw nvae; + } + } + else if ( (LA17_0==61) ) { + alt17=1; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 17, 0, input); + + throw nvae; + } + switch (alt17) { + case 1 : + // InternalApplicationConfiguration.g:2398:2: ( ( rule__ClassTypeScope__NumberAssignment_3_0 ) ) + { + // InternalApplicationConfiguration.g:2398:2: ( ( rule__ClassTypeScope__NumberAssignment_3_0 ) ) + // InternalApplicationConfiguration.g:2399:3: ( rule__ClassTypeScope__NumberAssignment_3_0 ) + { + before(grammarAccess.getClassTypeScopeAccess().getNumberAssignment_3_0()); + // InternalApplicationConfiguration.g:2400:3: ( rule__ClassTypeScope__NumberAssignment_3_0 ) + // InternalApplicationConfiguration.g:2400:4: rule__ClassTypeScope__NumberAssignment_3_0 + { + pushFollow(FOLLOW_2); + rule__ClassTypeScope__NumberAssignment_3_0(); + + state._fsp--; + + + } + + after(grammarAccess.getClassTypeScopeAccess().getNumberAssignment_3_0()); + + } + + + } + break; + case 2 : + // InternalApplicationConfiguration.g:2404:2: ( ( rule__ClassTypeScope__NumberAssignment_3_1 ) ) + { + // InternalApplicationConfiguration.g:2404:2: ( ( rule__ClassTypeScope__NumberAssignment_3_1 ) ) + // InternalApplicationConfiguration.g:2405:3: ( rule__ClassTypeScope__NumberAssignment_3_1 ) + { + before(grammarAccess.getClassTypeScopeAccess().getNumberAssignment_3_1()); + // InternalApplicationConfiguration.g:2406:3: ( rule__ClassTypeScope__NumberAssignment_3_1 ) + // InternalApplicationConfiguration.g:2406:4: rule__ClassTypeScope__NumberAssignment_3_1 + { + pushFollow(FOLLOW_2); + rule__ClassTypeScope__NumberAssignment_3_1(); + + state._fsp--; + + + } + + after(grammarAccess.getClassTypeScopeAccess().getNumberAssignment_3_1()); + + } + + + } + break; + + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ClassTypeScope__Alternatives_3" + + + // $ANTLR start "rule__ObjectTypeScope__Alternatives_2" + // InternalApplicationConfiguration.g:2414:1: rule__ObjectTypeScope__Alternatives_2 : ( ( ( rule__ObjectTypeScope__SetsNewAssignment_2_0 ) ) | ( ( rule__ObjectTypeScope__SetsSumAssignment_2_1 ) ) ); + public final void rule__ObjectTypeScope__Alternatives_2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:2418:1: ( ( ( rule__ObjectTypeScope__SetsNewAssignment_2_0 ) ) | ( ( rule__ObjectTypeScope__SetsSumAssignment_2_1 ) ) ) + int alt18=2; + int LA18_0 = input.LA(1); + + if ( (LA18_0==60) ) { + alt18=1; + } + else if ( (LA18_0==28) ) { + alt18=2; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 18, 0, input); + + throw nvae; + } + switch (alt18) { + case 1 : + // InternalApplicationConfiguration.g:2419:2: ( ( rule__ObjectTypeScope__SetsNewAssignment_2_0 ) ) + { + // InternalApplicationConfiguration.g:2419:2: ( ( rule__ObjectTypeScope__SetsNewAssignment_2_0 ) ) + // InternalApplicationConfiguration.g:2420:3: ( rule__ObjectTypeScope__SetsNewAssignment_2_0 ) + { + before(grammarAccess.getObjectTypeScopeAccess().getSetsNewAssignment_2_0()); + // InternalApplicationConfiguration.g:2421:3: ( rule__ObjectTypeScope__SetsNewAssignment_2_0 ) + // InternalApplicationConfiguration.g:2421:4: rule__ObjectTypeScope__SetsNewAssignment_2_0 + { + pushFollow(FOLLOW_2); + rule__ObjectTypeScope__SetsNewAssignment_2_0(); + + state._fsp--; + + + } + + after(grammarAccess.getObjectTypeScopeAccess().getSetsNewAssignment_2_0()); + + } + + + } + break; + case 2 : + // InternalApplicationConfiguration.g:2425:2: ( ( rule__ObjectTypeScope__SetsSumAssignment_2_1 ) ) + { + // InternalApplicationConfiguration.g:2425:2: ( ( rule__ObjectTypeScope__SetsSumAssignment_2_1 ) ) + // InternalApplicationConfiguration.g:2426:3: ( rule__ObjectTypeScope__SetsSumAssignment_2_1 ) + { + before(grammarAccess.getObjectTypeScopeAccess().getSetsSumAssignment_2_1()); + // InternalApplicationConfiguration.g:2427:3: ( rule__ObjectTypeScope__SetsSumAssignment_2_1 ) + // InternalApplicationConfiguration.g:2427:4: rule__ObjectTypeScope__SetsSumAssignment_2_1 + { + pushFollow(FOLLOW_2); + rule__ObjectTypeScope__SetsSumAssignment_2_1(); + + state._fsp--; + + + } + + after(grammarAccess.getObjectTypeScopeAccess().getSetsSumAssignment_2_1()); + + } + + + } + break; + + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ObjectTypeScope__Alternatives_2" + + + // $ANTLR start "rule__ObjectTypeScope__Alternatives_3" + // InternalApplicationConfiguration.g:2435:1: rule__ObjectTypeScope__Alternatives_3 : ( ( ( rule__ObjectTypeScope__NumberAssignment_3_0 ) ) | ( ( rule__ObjectTypeScope__NumberAssignment_3_1 ) ) ); + public final void rule__ObjectTypeScope__Alternatives_3() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:2439:1: ( ( ( rule__ObjectTypeScope__NumberAssignment_3_0 ) ) | ( ( rule__ObjectTypeScope__NumberAssignment_3_1 ) ) ) + int alt19=2; + int LA19_0 = input.LA(1); + + if ( (LA19_0==RULE_INT) ) { + int LA19_1 = input.LA(2); + + if ( (LA19_1==EOF||(LA19_1>=30 && LA19_1<=31)) ) { + alt19=1; + } + else if ( (LA19_1==51) ) { + alt19=2; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 19, 1, input); + + throw nvae; + } + } + else if ( (LA19_0==61) ) { + alt19=1; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 19, 0, input); + + throw nvae; + } + switch (alt19) { + case 1 : + // InternalApplicationConfiguration.g:2440:2: ( ( rule__ObjectTypeScope__NumberAssignment_3_0 ) ) + { + // InternalApplicationConfiguration.g:2440:2: ( ( rule__ObjectTypeScope__NumberAssignment_3_0 ) ) + // InternalApplicationConfiguration.g:2441:3: ( rule__ObjectTypeScope__NumberAssignment_3_0 ) + { + before(grammarAccess.getObjectTypeScopeAccess().getNumberAssignment_3_0()); + // InternalApplicationConfiguration.g:2442:3: ( rule__ObjectTypeScope__NumberAssignment_3_0 ) + // InternalApplicationConfiguration.g:2442:4: rule__ObjectTypeScope__NumberAssignment_3_0 + { + pushFollow(FOLLOW_2); + rule__ObjectTypeScope__NumberAssignment_3_0(); + + state._fsp--; + + + } + + after(grammarAccess.getObjectTypeScopeAccess().getNumberAssignment_3_0()); + + } + + + } + break; + case 2 : + // InternalApplicationConfiguration.g:2446:2: ( ( rule__ObjectTypeScope__NumberAssignment_3_1 ) ) + { + // InternalApplicationConfiguration.g:2446:2: ( ( rule__ObjectTypeScope__NumberAssignment_3_1 ) ) + // InternalApplicationConfiguration.g:2447:3: ( rule__ObjectTypeScope__NumberAssignment_3_1 ) + { + before(grammarAccess.getObjectTypeScopeAccess().getNumberAssignment_3_1()); + // InternalApplicationConfiguration.g:2448:3: ( rule__ObjectTypeScope__NumberAssignment_3_1 ) + // InternalApplicationConfiguration.g:2448:4: rule__ObjectTypeScope__NumberAssignment_3_1 + { + pushFollow(FOLLOW_2); + rule__ObjectTypeScope__NumberAssignment_3_1(); + + state._fsp--; + + + } + + after(grammarAccess.getObjectTypeScopeAccess().getNumberAssignment_3_1()); + + } + + + } + break; + + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ObjectTypeScope__Alternatives_3" + + + // $ANTLR start "rule__IntegerTypeScope__Alternatives_2" + // InternalApplicationConfiguration.g:2456:1: rule__IntegerTypeScope__Alternatives_2 : ( ( ( rule__IntegerTypeScope__SetsNewAssignment_2_0 ) ) | ( ( rule__IntegerTypeScope__SetsSumAssignment_2_1 ) ) ); + public final void rule__IntegerTypeScope__Alternatives_2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:2460:1: ( ( ( rule__IntegerTypeScope__SetsNewAssignment_2_0 ) ) | ( ( rule__IntegerTypeScope__SetsSumAssignment_2_1 ) ) ) + int alt20=2; + int LA20_0 = input.LA(1); + + if ( (LA20_0==60) ) { + alt20=1; + } + else if ( (LA20_0==28) ) { + alt20=2; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 20, 0, input); + + throw nvae; + } + switch (alt20) { + case 1 : + // InternalApplicationConfiguration.g:2461:2: ( ( rule__IntegerTypeScope__SetsNewAssignment_2_0 ) ) + { + // InternalApplicationConfiguration.g:2461:2: ( ( rule__IntegerTypeScope__SetsNewAssignment_2_0 ) ) + // InternalApplicationConfiguration.g:2462:3: ( rule__IntegerTypeScope__SetsNewAssignment_2_0 ) + { + before(grammarAccess.getIntegerTypeScopeAccess().getSetsNewAssignment_2_0()); + // InternalApplicationConfiguration.g:2463:3: ( rule__IntegerTypeScope__SetsNewAssignment_2_0 ) + // InternalApplicationConfiguration.g:2463:4: rule__IntegerTypeScope__SetsNewAssignment_2_0 + { + pushFollow(FOLLOW_2); + rule__IntegerTypeScope__SetsNewAssignment_2_0(); + + state._fsp--; + + + } + + after(grammarAccess.getIntegerTypeScopeAccess().getSetsNewAssignment_2_0()); + + } + + + } + break; + case 2 : + // InternalApplicationConfiguration.g:2467:2: ( ( rule__IntegerTypeScope__SetsSumAssignment_2_1 ) ) + { + // InternalApplicationConfiguration.g:2467:2: ( ( rule__IntegerTypeScope__SetsSumAssignment_2_1 ) ) + // InternalApplicationConfiguration.g:2468:3: ( rule__IntegerTypeScope__SetsSumAssignment_2_1 ) + { + before(grammarAccess.getIntegerTypeScopeAccess().getSetsSumAssignment_2_1()); + // InternalApplicationConfiguration.g:2469:3: ( rule__IntegerTypeScope__SetsSumAssignment_2_1 ) + // InternalApplicationConfiguration.g:2469:4: rule__IntegerTypeScope__SetsSumAssignment_2_1 + { + pushFollow(FOLLOW_2); + rule__IntegerTypeScope__SetsSumAssignment_2_1(); + + state._fsp--; + + + } + + after(grammarAccess.getIntegerTypeScopeAccess().getSetsSumAssignment_2_1()); + + } + + + } + break; + + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__IntegerTypeScope__Alternatives_2" + + + // $ANTLR start "rule__IntegerTypeScope__Alternatives_3" + // InternalApplicationConfiguration.g:2477:1: rule__IntegerTypeScope__Alternatives_3 : ( ( ( rule__IntegerTypeScope__NumberAssignment_3_0 ) ) | ( ( rule__IntegerTypeScope__NumberAssignment_3_1 ) ) | ( ( rule__IntegerTypeScope__NumberAssignment_3_2 ) ) ); + public final void rule__IntegerTypeScope__Alternatives_3() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:2481:1: ( ( ( rule__IntegerTypeScope__NumberAssignment_3_0 ) ) | ( ( rule__IntegerTypeScope__NumberAssignment_3_1 ) ) | ( ( rule__IntegerTypeScope__NumberAssignment_3_2 ) ) ) + int alt21=3; + switch ( input.LA(1) ) { + case RULE_INT: + { + int LA21_1 = input.LA(2); + + if ( (LA21_1==51) ) { + alt21=2; + } + else if ( (LA21_1==EOF||(LA21_1>=30 && LA21_1<=31)) ) { + alt21=1; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 21, 1, input); + + throw nvae; + } + } + break; + case 61: + { + alt21=1; + } + break; + case 29: + { + alt21=3; + } + break; + default: + NoViableAltException nvae = + new NoViableAltException("", 21, 0, input); + + throw nvae; + } + + switch (alt21) { + case 1 : + // InternalApplicationConfiguration.g:2482:2: ( ( rule__IntegerTypeScope__NumberAssignment_3_0 ) ) + { + // InternalApplicationConfiguration.g:2482:2: ( ( rule__IntegerTypeScope__NumberAssignment_3_0 ) ) + // InternalApplicationConfiguration.g:2483:3: ( rule__IntegerTypeScope__NumberAssignment_3_0 ) + { + before(grammarAccess.getIntegerTypeScopeAccess().getNumberAssignment_3_0()); + // InternalApplicationConfiguration.g:2484:3: ( rule__IntegerTypeScope__NumberAssignment_3_0 ) + // InternalApplicationConfiguration.g:2484:4: rule__IntegerTypeScope__NumberAssignment_3_0 + { + pushFollow(FOLLOW_2); + rule__IntegerTypeScope__NumberAssignment_3_0(); + + state._fsp--; + + + } + + after(grammarAccess.getIntegerTypeScopeAccess().getNumberAssignment_3_0()); + + } + + + } + break; + case 2 : + // InternalApplicationConfiguration.g:2488:2: ( ( rule__IntegerTypeScope__NumberAssignment_3_1 ) ) + { + // InternalApplicationConfiguration.g:2488:2: ( ( rule__IntegerTypeScope__NumberAssignment_3_1 ) ) + // InternalApplicationConfiguration.g:2489:3: ( rule__IntegerTypeScope__NumberAssignment_3_1 ) + { + before(grammarAccess.getIntegerTypeScopeAccess().getNumberAssignment_3_1()); + // InternalApplicationConfiguration.g:2490:3: ( rule__IntegerTypeScope__NumberAssignment_3_1 ) + // InternalApplicationConfiguration.g:2490:4: rule__IntegerTypeScope__NumberAssignment_3_1 + { + pushFollow(FOLLOW_2); + rule__IntegerTypeScope__NumberAssignment_3_1(); + + state._fsp--; + + + } + + after(grammarAccess.getIntegerTypeScopeAccess().getNumberAssignment_3_1()); + + } + + + } + break; + case 3 : + // InternalApplicationConfiguration.g:2494:2: ( ( rule__IntegerTypeScope__NumberAssignment_3_2 ) ) + { + // InternalApplicationConfiguration.g:2494:2: ( ( rule__IntegerTypeScope__NumberAssignment_3_2 ) ) + // InternalApplicationConfiguration.g:2495:3: ( rule__IntegerTypeScope__NumberAssignment_3_2 ) + { + before(grammarAccess.getIntegerTypeScopeAccess().getNumberAssignment_3_2()); + // InternalApplicationConfiguration.g:2496:3: ( rule__IntegerTypeScope__NumberAssignment_3_2 ) + // InternalApplicationConfiguration.g:2496:4: rule__IntegerTypeScope__NumberAssignment_3_2 + { + pushFollow(FOLLOW_2); + rule__IntegerTypeScope__NumberAssignment_3_2(); + + state._fsp--; + + + } + + after(grammarAccess.getIntegerTypeScopeAccess().getNumberAssignment_3_2()); + + } + + + } + break; + + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__IntegerTypeScope__Alternatives_3" + + + // $ANTLR start "rule__RealTypeScope__Alternatives_2" + // InternalApplicationConfiguration.g:2504:1: rule__RealTypeScope__Alternatives_2 : ( ( ( rule__RealTypeScope__SetsNewAssignment_2_0 ) ) | ( ( rule__RealTypeScope__SetsSumAssignment_2_1 ) ) ); + public final void rule__RealTypeScope__Alternatives_2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:2508:1: ( ( ( rule__RealTypeScope__SetsNewAssignment_2_0 ) ) | ( ( rule__RealTypeScope__SetsSumAssignment_2_1 ) ) ) + int alt22=2; + int LA22_0 = input.LA(1); + + if ( (LA22_0==60) ) { + alt22=1; + } + else if ( (LA22_0==28) ) { + alt22=2; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 22, 0, input); + + throw nvae; + } + switch (alt22) { + case 1 : + // InternalApplicationConfiguration.g:2509:2: ( ( rule__RealTypeScope__SetsNewAssignment_2_0 ) ) + { + // InternalApplicationConfiguration.g:2509:2: ( ( rule__RealTypeScope__SetsNewAssignment_2_0 ) ) + // InternalApplicationConfiguration.g:2510:3: ( rule__RealTypeScope__SetsNewAssignment_2_0 ) + { + before(grammarAccess.getRealTypeScopeAccess().getSetsNewAssignment_2_0()); + // InternalApplicationConfiguration.g:2511:3: ( rule__RealTypeScope__SetsNewAssignment_2_0 ) + // InternalApplicationConfiguration.g:2511:4: rule__RealTypeScope__SetsNewAssignment_2_0 + { + pushFollow(FOLLOW_2); + rule__RealTypeScope__SetsNewAssignment_2_0(); + + state._fsp--; + + + } + + after(grammarAccess.getRealTypeScopeAccess().getSetsNewAssignment_2_0()); + + } + + + } + break; + case 2 : + // InternalApplicationConfiguration.g:2515:2: ( ( rule__RealTypeScope__SetsSumAssignment_2_1 ) ) + { + // InternalApplicationConfiguration.g:2515:2: ( ( rule__RealTypeScope__SetsSumAssignment_2_1 ) ) + // InternalApplicationConfiguration.g:2516:3: ( rule__RealTypeScope__SetsSumAssignment_2_1 ) + { + before(grammarAccess.getRealTypeScopeAccess().getSetsSumAssignment_2_1()); + // InternalApplicationConfiguration.g:2517:3: ( rule__RealTypeScope__SetsSumAssignment_2_1 ) + // InternalApplicationConfiguration.g:2517:4: rule__RealTypeScope__SetsSumAssignment_2_1 + { + pushFollow(FOLLOW_2); + rule__RealTypeScope__SetsSumAssignment_2_1(); + + state._fsp--; + + + } + + after(grammarAccess.getRealTypeScopeAccess().getSetsSumAssignment_2_1()); + + } + + + } + break; + + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__RealTypeScope__Alternatives_2" + + + // $ANTLR start "rule__RealTypeScope__Alternatives_3" + // InternalApplicationConfiguration.g:2525:1: rule__RealTypeScope__Alternatives_3 : ( ( ( rule__RealTypeScope__NumberAssignment_3_0 ) ) | ( ( rule__RealTypeScope__NumberAssignment_3_1 ) ) | ( ( rule__RealTypeScope__NumberAssignment_3_2 ) ) ); + public final void rule__RealTypeScope__Alternatives_3() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:2529:1: ( ( ( rule__RealTypeScope__NumberAssignment_3_0 ) ) | ( ( rule__RealTypeScope__NumberAssignment_3_1 ) ) | ( ( rule__RealTypeScope__NumberAssignment_3_2 ) ) ) + int alt23=3; + switch ( input.LA(1) ) { + case RULE_INT: + { + int LA23_1 = input.LA(2); + + if ( (LA23_1==EOF||(LA23_1>=30 && LA23_1<=31)) ) { + alt23=1; + } + else if ( (LA23_1==51) ) { + alt23=2; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 23, 1, input); + + throw nvae; + } + } + break; + case 61: + { + alt23=1; + } + break; + case 29: + { + alt23=3; + } + break; + default: + NoViableAltException nvae = + new NoViableAltException("", 23, 0, input); + + throw nvae; + } + + switch (alt23) { + case 1 : + // InternalApplicationConfiguration.g:2530:2: ( ( rule__RealTypeScope__NumberAssignment_3_0 ) ) + { + // InternalApplicationConfiguration.g:2530:2: ( ( rule__RealTypeScope__NumberAssignment_3_0 ) ) + // InternalApplicationConfiguration.g:2531:3: ( rule__RealTypeScope__NumberAssignment_3_0 ) + { + before(grammarAccess.getRealTypeScopeAccess().getNumberAssignment_3_0()); + // InternalApplicationConfiguration.g:2532:3: ( rule__RealTypeScope__NumberAssignment_3_0 ) + // InternalApplicationConfiguration.g:2532:4: rule__RealTypeScope__NumberAssignment_3_0 + { + pushFollow(FOLLOW_2); + rule__RealTypeScope__NumberAssignment_3_0(); + + state._fsp--; + + + } + + after(grammarAccess.getRealTypeScopeAccess().getNumberAssignment_3_0()); + + } + + + } + break; + case 2 : + // InternalApplicationConfiguration.g:2536:2: ( ( rule__RealTypeScope__NumberAssignment_3_1 ) ) + { + // InternalApplicationConfiguration.g:2536:2: ( ( rule__RealTypeScope__NumberAssignment_3_1 ) ) + // InternalApplicationConfiguration.g:2537:3: ( rule__RealTypeScope__NumberAssignment_3_1 ) + { + before(grammarAccess.getRealTypeScopeAccess().getNumberAssignment_3_1()); + // InternalApplicationConfiguration.g:2538:3: ( rule__RealTypeScope__NumberAssignment_3_1 ) + // InternalApplicationConfiguration.g:2538:4: rule__RealTypeScope__NumberAssignment_3_1 + { + pushFollow(FOLLOW_2); + rule__RealTypeScope__NumberAssignment_3_1(); + + state._fsp--; + + + } + + after(grammarAccess.getRealTypeScopeAccess().getNumberAssignment_3_1()); + + } + + + } + break; + case 3 : + // InternalApplicationConfiguration.g:2542:2: ( ( rule__RealTypeScope__NumberAssignment_3_2 ) ) + { + // InternalApplicationConfiguration.g:2542:2: ( ( rule__RealTypeScope__NumberAssignment_3_2 ) ) + // InternalApplicationConfiguration.g:2543:3: ( rule__RealTypeScope__NumberAssignment_3_2 ) + { + before(grammarAccess.getRealTypeScopeAccess().getNumberAssignment_3_2()); + // InternalApplicationConfiguration.g:2544:3: ( rule__RealTypeScope__NumberAssignment_3_2 ) + // InternalApplicationConfiguration.g:2544:4: rule__RealTypeScope__NumberAssignment_3_2 + { + pushFollow(FOLLOW_2); + rule__RealTypeScope__NumberAssignment_3_2(); + + state._fsp--; + + + } + + after(grammarAccess.getRealTypeScopeAccess().getNumberAssignment_3_2()); + + } + + + } + break; + + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__RealTypeScope__Alternatives_3" + + + // $ANTLR start "rule__StringTypeScope__Alternatives_2" + // InternalApplicationConfiguration.g:2552:1: rule__StringTypeScope__Alternatives_2 : ( ( ( rule__StringTypeScope__SetsNewAssignment_2_0 ) ) | ( ( rule__StringTypeScope__SetsSumAssignment_2_1 ) ) ); + public final void rule__StringTypeScope__Alternatives_2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:2556:1: ( ( ( rule__StringTypeScope__SetsNewAssignment_2_0 ) ) | ( ( rule__StringTypeScope__SetsSumAssignment_2_1 ) ) ) + int alt24=2; + int LA24_0 = input.LA(1); + + if ( (LA24_0==60) ) { + alt24=1; + } + else if ( (LA24_0==28) ) { + alt24=2; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 24, 0, input); + + throw nvae; + } + switch (alt24) { + case 1 : + // InternalApplicationConfiguration.g:2557:2: ( ( rule__StringTypeScope__SetsNewAssignment_2_0 ) ) + { + // InternalApplicationConfiguration.g:2557:2: ( ( rule__StringTypeScope__SetsNewAssignment_2_0 ) ) + // InternalApplicationConfiguration.g:2558:3: ( rule__StringTypeScope__SetsNewAssignment_2_0 ) + { + before(grammarAccess.getStringTypeScopeAccess().getSetsNewAssignment_2_0()); + // InternalApplicationConfiguration.g:2559:3: ( rule__StringTypeScope__SetsNewAssignment_2_0 ) + // InternalApplicationConfiguration.g:2559:4: rule__StringTypeScope__SetsNewAssignment_2_0 + { + pushFollow(FOLLOW_2); + rule__StringTypeScope__SetsNewAssignment_2_0(); + + state._fsp--; + + + } + + after(grammarAccess.getStringTypeScopeAccess().getSetsNewAssignment_2_0()); + + } + + + } + break; + case 2 : + // InternalApplicationConfiguration.g:2563:2: ( ( rule__StringTypeScope__SetsSumAssignment_2_1 ) ) + { + // InternalApplicationConfiguration.g:2563:2: ( ( rule__StringTypeScope__SetsSumAssignment_2_1 ) ) + // InternalApplicationConfiguration.g:2564:3: ( rule__StringTypeScope__SetsSumAssignment_2_1 ) + { + before(grammarAccess.getStringTypeScopeAccess().getSetsSumAssignment_2_1()); + // InternalApplicationConfiguration.g:2565:3: ( rule__StringTypeScope__SetsSumAssignment_2_1 ) + // InternalApplicationConfiguration.g:2565:4: rule__StringTypeScope__SetsSumAssignment_2_1 + { + pushFollow(FOLLOW_2); + rule__StringTypeScope__SetsSumAssignment_2_1(); + + state._fsp--; + + + } + + after(grammarAccess.getStringTypeScopeAccess().getSetsSumAssignment_2_1()); + + } + + + } + break; + + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__StringTypeScope__Alternatives_2" + + + // $ANTLR start "rule__StringTypeScope__Alternatives_3" + // InternalApplicationConfiguration.g:2573:1: rule__StringTypeScope__Alternatives_3 : ( ( ( rule__StringTypeScope__NumberAssignment_3_0 ) ) | ( ( rule__StringTypeScope__NumberAssignment_3_1 ) ) | ( ( rule__StringTypeScope__NumberAssignment_3_2 ) ) ); + public final void rule__StringTypeScope__Alternatives_3() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:2577:1: ( ( ( rule__StringTypeScope__NumberAssignment_3_0 ) ) | ( ( rule__StringTypeScope__NumberAssignment_3_1 ) ) | ( ( rule__StringTypeScope__NumberAssignment_3_2 ) ) ) + int alt25=3; + switch ( input.LA(1) ) { + case RULE_INT: + { + int LA25_1 = input.LA(2); + + if ( (LA25_1==EOF||(LA25_1>=30 && LA25_1<=31)) ) { + alt25=1; + } + else if ( (LA25_1==51) ) { + alt25=2; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 25, 1, input); + + throw nvae; + } + } + break; + case 61: + { + alt25=1; + } + break; + case 29: + { + alt25=3; + } + break; + default: + NoViableAltException nvae = + new NoViableAltException("", 25, 0, input); + + throw nvae; + } + + switch (alt25) { + case 1 : + // InternalApplicationConfiguration.g:2578:2: ( ( rule__StringTypeScope__NumberAssignment_3_0 ) ) + { + // InternalApplicationConfiguration.g:2578:2: ( ( rule__StringTypeScope__NumberAssignment_3_0 ) ) + // InternalApplicationConfiguration.g:2579:3: ( rule__StringTypeScope__NumberAssignment_3_0 ) + { + before(grammarAccess.getStringTypeScopeAccess().getNumberAssignment_3_0()); + // InternalApplicationConfiguration.g:2580:3: ( rule__StringTypeScope__NumberAssignment_3_0 ) + // InternalApplicationConfiguration.g:2580:4: rule__StringTypeScope__NumberAssignment_3_0 + { + pushFollow(FOLLOW_2); + rule__StringTypeScope__NumberAssignment_3_0(); + + state._fsp--; + + + } + + after(grammarAccess.getStringTypeScopeAccess().getNumberAssignment_3_0()); + + } + + + } + break; + case 2 : + // InternalApplicationConfiguration.g:2584:2: ( ( rule__StringTypeScope__NumberAssignment_3_1 ) ) + { + // InternalApplicationConfiguration.g:2584:2: ( ( rule__StringTypeScope__NumberAssignment_3_1 ) ) + // InternalApplicationConfiguration.g:2585:3: ( rule__StringTypeScope__NumberAssignment_3_1 ) + { + before(grammarAccess.getStringTypeScopeAccess().getNumberAssignment_3_1()); + // InternalApplicationConfiguration.g:2586:3: ( rule__StringTypeScope__NumberAssignment_3_1 ) + // InternalApplicationConfiguration.g:2586:4: rule__StringTypeScope__NumberAssignment_3_1 + { + pushFollow(FOLLOW_2); + rule__StringTypeScope__NumberAssignment_3_1(); + + state._fsp--; + + + } + + after(grammarAccess.getStringTypeScopeAccess().getNumberAssignment_3_1()); + + } + + + } + break; + case 3 : + // InternalApplicationConfiguration.g:2590:2: ( ( rule__StringTypeScope__NumberAssignment_3_2 ) ) + { + // InternalApplicationConfiguration.g:2590:2: ( ( rule__StringTypeScope__NumberAssignment_3_2 ) ) + // InternalApplicationConfiguration.g:2591:3: ( rule__StringTypeScope__NumberAssignment_3_2 ) + { + before(grammarAccess.getStringTypeScopeAccess().getNumberAssignment_3_2()); + // InternalApplicationConfiguration.g:2592:3: ( rule__StringTypeScope__NumberAssignment_3_2 ) + // InternalApplicationConfiguration.g:2592:4: rule__StringTypeScope__NumberAssignment_3_2 + { + pushFollow(FOLLOW_2); + rule__StringTypeScope__NumberAssignment_3_2(); + + state._fsp--; + + + } + + after(grammarAccess.getStringTypeScopeAccess().getNumberAssignment_3_2()); + + } + + + } + break; + + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__StringTypeScope__Alternatives_3" + + + // $ANTLR start "rule__ExactNumber__Alternatives" + // InternalApplicationConfiguration.g:2600:1: rule__ExactNumber__Alternatives : ( ( ( rule__ExactNumber__ExactNumberAssignment_0 ) ) | ( ( rule__ExactNumber__ExactUnlimitedAssignment_1 ) ) ); + public final void rule__ExactNumber__Alternatives() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:2604:1: ( ( ( rule__ExactNumber__ExactNumberAssignment_0 ) ) | ( ( rule__ExactNumber__ExactUnlimitedAssignment_1 ) ) ) + int alt26=2; + int LA26_0 = input.LA(1); + + if ( (LA26_0==RULE_INT) ) { + alt26=1; + } + else if ( (LA26_0==61) ) { + alt26=2; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 26, 0, input); + + throw nvae; + } + switch (alt26) { + case 1 : + // InternalApplicationConfiguration.g:2605:2: ( ( rule__ExactNumber__ExactNumberAssignment_0 ) ) + { + // InternalApplicationConfiguration.g:2605:2: ( ( rule__ExactNumber__ExactNumberAssignment_0 ) ) + // InternalApplicationConfiguration.g:2606:3: ( rule__ExactNumber__ExactNumberAssignment_0 ) + { + before(grammarAccess.getExactNumberAccess().getExactNumberAssignment_0()); + // InternalApplicationConfiguration.g:2607:3: ( rule__ExactNumber__ExactNumberAssignment_0 ) + // InternalApplicationConfiguration.g:2607:4: rule__ExactNumber__ExactNumberAssignment_0 + { + pushFollow(FOLLOW_2); + rule__ExactNumber__ExactNumberAssignment_0(); + + state._fsp--; + + + } + + after(grammarAccess.getExactNumberAccess().getExactNumberAssignment_0()); + + } + + + } + break; + case 2 : + // InternalApplicationConfiguration.g:2611:2: ( ( rule__ExactNumber__ExactUnlimitedAssignment_1 ) ) + { + // InternalApplicationConfiguration.g:2611:2: ( ( rule__ExactNumber__ExactUnlimitedAssignment_1 ) ) + // InternalApplicationConfiguration.g:2612:3: ( rule__ExactNumber__ExactUnlimitedAssignment_1 ) + { + before(grammarAccess.getExactNumberAccess().getExactUnlimitedAssignment_1()); + // InternalApplicationConfiguration.g:2613:3: ( rule__ExactNumber__ExactUnlimitedAssignment_1 ) + // InternalApplicationConfiguration.g:2613:4: rule__ExactNumber__ExactUnlimitedAssignment_1 + { + pushFollow(FOLLOW_2); + rule__ExactNumber__ExactUnlimitedAssignment_1(); + + state._fsp--; + + + } + + after(grammarAccess.getExactNumberAccess().getExactUnlimitedAssignment_1()); + + } + + + } + break; + + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ExactNumber__Alternatives" + + + // $ANTLR start "rule__IntervallNumber__Alternatives_2" + // InternalApplicationConfiguration.g:2621:1: rule__IntervallNumber__Alternatives_2 : ( ( ( rule__IntervallNumber__MaxNumberAssignment_2_0 ) ) | ( ( rule__IntervallNumber__MaxUnlimitedAssignment_2_1 ) ) ); + public final void rule__IntervallNumber__Alternatives_2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:2625:1: ( ( ( rule__IntervallNumber__MaxNumberAssignment_2_0 ) ) | ( ( rule__IntervallNumber__MaxUnlimitedAssignment_2_1 ) ) ) + int alt27=2; + int LA27_0 = input.LA(1); + + if ( (LA27_0==RULE_INT) ) { + alt27=1; + } + else if ( (LA27_0==61) ) { + alt27=2; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 27, 0, input); + + throw nvae; + } + switch (alt27) { + case 1 : + // InternalApplicationConfiguration.g:2626:2: ( ( rule__IntervallNumber__MaxNumberAssignment_2_0 ) ) + { + // InternalApplicationConfiguration.g:2626:2: ( ( rule__IntervallNumber__MaxNumberAssignment_2_0 ) ) + // InternalApplicationConfiguration.g:2627:3: ( rule__IntervallNumber__MaxNumberAssignment_2_0 ) + { + before(grammarAccess.getIntervallNumberAccess().getMaxNumberAssignment_2_0()); + // InternalApplicationConfiguration.g:2628:3: ( rule__IntervallNumber__MaxNumberAssignment_2_0 ) + // InternalApplicationConfiguration.g:2628:4: rule__IntervallNumber__MaxNumberAssignment_2_0 + { + pushFollow(FOLLOW_2); + rule__IntervallNumber__MaxNumberAssignment_2_0(); + + state._fsp--; + + + } + + after(grammarAccess.getIntervallNumberAccess().getMaxNumberAssignment_2_0()); + + } + + + } + break; + case 2 : + // InternalApplicationConfiguration.g:2632:2: ( ( rule__IntervallNumber__MaxUnlimitedAssignment_2_1 ) ) + { + // InternalApplicationConfiguration.g:2632:2: ( ( rule__IntervallNumber__MaxUnlimitedAssignment_2_1 ) ) + // InternalApplicationConfiguration.g:2633:3: ( rule__IntervallNumber__MaxUnlimitedAssignment_2_1 ) + { + before(grammarAccess.getIntervallNumberAccess().getMaxUnlimitedAssignment_2_1()); + // InternalApplicationConfiguration.g:2634:3: ( rule__IntervallNumber__MaxUnlimitedAssignment_2_1 ) + // InternalApplicationConfiguration.g:2634:4: rule__IntervallNumber__MaxUnlimitedAssignment_2_1 + { + pushFollow(FOLLOW_2); + rule__IntervallNumber__MaxUnlimitedAssignment_2_1(); + + state._fsp--; + + + } + + after(grammarAccess.getIntervallNumberAccess().getMaxUnlimitedAssignment_2_1()); + + } + + + } + break; + + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__IntervallNumber__Alternatives_2" + + + // $ANTLR start "rule__Scope__Alternatives" + // InternalApplicationConfiguration.g:2642:1: rule__Scope__Alternatives : ( ( ruleScopeSpecification ) | ( ruleScopeReference ) ); + public final void rule__Scope__Alternatives() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:2646:1: ( ( ruleScopeSpecification ) | ( ruleScopeReference ) ) + int alt28=2; + int LA28_0 = input.LA(1); + + if ( (LA28_0==29) ) { + alt28=1; + } + else if ( (LA28_0==RULE_ID) ) { + alt28=2; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 28, 0, input); + + throw nvae; + } + switch (alt28) { + case 1 : + // InternalApplicationConfiguration.g:2647:2: ( ruleScopeSpecification ) + { + // InternalApplicationConfiguration.g:2647:2: ( ruleScopeSpecification ) + // InternalApplicationConfiguration.g:2648:3: ruleScopeSpecification + { + before(grammarAccess.getScopeAccess().getScopeSpecificationParserRuleCall_0()); + pushFollow(FOLLOW_2); + ruleScopeSpecification(); + + state._fsp--; + + after(grammarAccess.getScopeAccess().getScopeSpecificationParserRuleCall_0()); + + } + + + } + break; + case 2 : + // InternalApplicationConfiguration.g:2653:2: ( ruleScopeReference ) + { + // InternalApplicationConfiguration.g:2653:2: ( ruleScopeReference ) + // InternalApplicationConfiguration.g:2654:3: ruleScopeReference + { + before(grammarAccess.getScopeAccess().getScopeReferenceParserRuleCall_1()); + pushFollow(FOLLOW_2); + ruleScopeReference(); + + state._fsp--; + + after(grammarAccess.getScopeAccess().getScopeReferenceParserRuleCall_1()); + + } + + + } + break; + + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Scope__Alternatives" + + + // $ANTLR start "rule__OptimizationDirection__Alternatives" + // InternalApplicationConfiguration.g:2663:1: rule__OptimizationDirection__Alternatives : ( ( ( 'minimize' ) ) | ( ( 'maximize' ) ) ); + public final void rule__OptimizationDirection__Alternatives() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:2667:1: ( ( ( 'minimize' ) ) | ( ( 'maximize' ) ) ) + int alt29=2; + int LA29_0 = input.LA(1); + + if ( (LA29_0==11) ) { + alt29=1; + } + else if ( (LA29_0==12) ) { + alt29=2; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 29, 0, input); + + throw nvae; + } + switch (alt29) { + case 1 : + // InternalApplicationConfiguration.g:2668:2: ( ( 'minimize' ) ) + { + // InternalApplicationConfiguration.g:2668:2: ( ( 'minimize' ) ) + // InternalApplicationConfiguration.g:2669:3: ( 'minimize' ) + { + before(grammarAccess.getOptimizationDirectionAccess().getMINIMIZEEnumLiteralDeclaration_0()); + // InternalApplicationConfiguration.g:2670:3: ( 'minimize' ) + // InternalApplicationConfiguration.g:2670:4: 'minimize' + { + match(input,11,FOLLOW_2); + + } + + after(grammarAccess.getOptimizationDirectionAccess().getMINIMIZEEnumLiteralDeclaration_0()); + + } + + + } + break; + case 2 : + // InternalApplicationConfiguration.g:2674:2: ( ( 'maximize' ) ) + { + // InternalApplicationConfiguration.g:2674:2: ( ( 'maximize' ) ) + // InternalApplicationConfiguration.g:2675:3: ( 'maximize' ) + { + before(grammarAccess.getOptimizationDirectionAccess().getMAXIMIZEEnumLiteralDeclaration_1()); + // InternalApplicationConfiguration.g:2676:3: ( 'maximize' ) + // InternalApplicationConfiguration.g:2676:4: 'maximize' + { + match(input,12,FOLLOW_2); + + } + + after(grammarAccess.getOptimizationDirectionAccess().getMAXIMIZEEnumLiteralDeclaration_1()); + + } + + + } + break; + + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__OptimizationDirection__Alternatives" + + + // $ANTLR start "rule__ComparisonOperator__Alternatives" + // InternalApplicationConfiguration.g:2684:1: rule__ComparisonOperator__Alternatives : ( ( ( '<=' ) ) | ( ( '>=' ) ) ); + public final void rule__ComparisonOperator__Alternatives() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:2688:1: ( ( ( '<=' ) ) | ( ( '>=' ) ) ) + int alt30=2; + int LA30_0 = input.LA(1); + + if ( (LA30_0==13) ) { + alt30=1; + } + else if ( (LA30_0==14) ) { + alt30=2; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 30, 0, input); + + throw nvae; + } + switch (alt30) { + case 1 : + // InternalApplicationConfiguration.g:2689:2: ( ( '<=' ) ) + { + // InternalApplicationConfiguration.g:2689:2: ( ( '<=' ) ) + // InternalApplicationConfiguration.g:2690:3: ( '<=' ) + { + before(grammarAccess.getComparisonOperatorAccess().getLESS_EQUALSEnumLiteralDeclaration_0()); + // InternalApplicationConfiguration.g:2691:3: ( '<=' ) + // InternalApplicationConfiguration.g:2691:4: '<=' + { + match(input,13,FOLLOW_2); + + } + + after(grammarAccess.getComparisonOperatorAccess().getLESS_EQUALSEnumLiteralDeclaration_0()); + + } + + + } + break; + case 2 : + // InternalApplicationConfiguration.g:2695:2: ( ( '>=' ) ) + { + // InternalApplicationConfiguration.g:2695:2: ( ( '>=' ) ) + // InternalApplicationConfiguration.g:2696:3: ( '>=' ) + { + before(grammarAccess.getComparisonOperatorAccess().getGREATER_EQUALSEnumLiteralDeclaration_1()); + // InternalApplicationConfiguration.g:2697:3: ( '>=' ) + // InternalApplicationConfiguration.g:2697:4: '>=' + { + match(input,14,FOLLOW_2); + + } + + after(grammarAccess.getComparisonOperatorAccess().getGREATER_EQUALSEnumLiteralDeclaration_1()); + + } + + + } + break; + + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ComparisonOperator__Alternatives" + + + // $ANTLR start "rule__DocumentLevelSpecification__Alternatives" + // InternalApplicationConfiguration.g:2705:1: rule__DocumentLevelSpecification__Alternatives : ( ( ( 'none' ) ) | ( ( 'normal' ) ) | ( ( 'full' ) ) ); + public final void rule__DocumentLevelSpecification__Alternatives() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:2709:1: ( ( ( 'none' ) ) | ( ( 'normal' ) ) | ( ( 'full' ) ) ) + int alt31=3; + switch ( input.LA(1) ) { + case 15: + { + alt31=1; + } + break; + case 16: + { + alt31=2; + } + break; + case 17: + { + alt31=3; + } + break; + default: + NoViableAltException nvae = + new NoViableAltException("", 31, 0, input); + + throw nvae; + } + + switch (alt31) { + case 1 : + // InternalApplicationConfiguration.g:2710:2: ( ( 'none' ) ) + { + // InternalApplicationConfiguration.g:2710:2: ( ( 'none' ) ) + // InternalApplicationConfiguration.g:2711:3: ( 'none' ) + { + before(grammarAccess.getDocumentLevelSpecificationAccess().getNoneEnumLiteralDeclaration_0()); + // InternalApplicationConfiguration.g:2712:3: ( 'none' ) + // InternalApplicationConfiguration.g:2712:4: 'none' + { + match(input,15,FOLLOW_2); + + } + + after(grammarAccess.getDocumentLevelSpecificationAccess().getNoneEnumLiteralDeclaration_0()); + + } + + + } + break; + case 2 : + // InternalApplicationConfiguration.g:2716:2: ( ( 'normal' ) ) + { + // InternalApplicationConfiguration.g:2716:2: ( ( 'normal' ) ) + // InternalApplicationConfiguration.g:2717:3: ( 'normal' ) + { + before(grammarAccess.getDocumentLevelSpecificationAccess().getNormalEnumLiteralDeclaration_1()); + // InternalApplicationConfiguration.g:2718:3: ( 'normal' ) + // InternalApplicationConfiguration.g:2718:4: 'normal' + { + match(input,16,FOLLOW_2); + + } + + after(grammarAccess.getDocumentLevelSpecificationAccess().getNormalEnumLiteralDeclaration_1()); + + } + + + } + break; + case 3 : + // InternalApplicationConfiguration.g:2722:2: ( ( 'full' ) ) + { + // InternalApplicationConfiguration.g:2722:2: ( ( 'full' ) ) + // InternalApplicationConfiguration.g:2723:3: ( 'full' ) + { + before(grammarAccess.getDocumentLevelSpecificationAccess().getFullEnumLiteralDeclaration_2()); + // InternalApplicationConfiguration.g:2724:3: ( 'full' ) + // InternalApplicationConfiguration.g:2724:4: 'full' + { + match(input,17,FOLLOW_2); + + } + + after(grammarAccess.getDocumentLevelSpecificationAccess().getFullEnumLiteralDeclaration_2()); + + } + + + } + break; + + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__DocumentLevelSpecification__Alternatives" + + + // $ANTLR start "rule__Solver__Alternatives" + // InternalApplicationConfiguration.g:2732:1: rule__Solver__Alternatives : ( ( ( 'SMTSolver' ) ) | ( ( 'AlloySolver' ) ) | ( ( 'ViatraSolver' ) ) ); + public final void rule__Solver__Alternatives() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:2736:1: ( ( ( 'SMTSolver' ) ) | ( ( 'AlloySolver' ) ) | ( ( 'ViatraSolver' ) ) ) + int alt32=3; + switch ( input.LA(1) ) { + case 18: + { + alt32=1; + } + break; + case 19: + { + alt32=2; + } + break; + case 20: + { + alt32=3; + } + break; + default: + NoViableAltException nvae = + new NoViableAltException("", 32, 0, input); + + throw nvae; + } + + switch (alt32) { + case 1 : + // InternalApplicationConfiguration.g:2737:2: ( ( 'SMTSolver' ) ) + { + // InternalApplicationConfiguration.g:2737:2: ( ( 'SMTSolver' ) ) + // InternalApplicationConfiguration.g:2738:3: ( 'SMTSolver' ) + { + before(grammarAccess.getSolverAccess().getSMTSolverEnumLiteralDeclaration_0()); + // InternalApplicationConfiguration.g:2739:3: ( 'SMTSolver' ) + // InternalApplicationConfiguration.g:2739:4: 'SMTSolver' + { + match(input,18,FOLLOW_2); + + } + + after(grammarAccess.getSolverAccess().getSMTSolverEnumLiteralDeclaration_0()); + + } + + + } + break; + case 2 : + // InternalApplicationConfiguration.g:2743:2: ( ( 'AlloySolver' ) ) + { + // InternalApplicationConfiguration.g:2743:2: ( ( 'AlloySolver' ) ) + // InternalApplicationConfiguration.g:2744:3: ( 'AlloySolver' ) + { + before(grammarAccess.getSolverAccess().getAlloySolverEnumLiteralDeclaration_1()); + // InternalApplicationConfiguration.g:2745:3: ( 'AlloySolver' ) + // InternalApplicationConfiguration.g:2745:4: 'AlloySolver' + { + match(input,19,FOLLOW_2); + + } + + after(grammarAccess.getSolverAccess().getAlloySolverEnumLiteralDeclaration_1()); + + } + + + } + break; + case 3 : + // InternalApplicationConfiguration.g:2749:2: ( ( 'ViatraSolver' ) ) + { + // InternalApplicationConfiguration.g:2749:2: ( ( 'ViatraSolver' ) ) + // InternalApplicationConfiguration.g:2750:3: ( 'ViatraSolver' ) + { + before(grammarAccess.getSolverAccess().getViatraSolverEnumLiteralDeclaration_2()); + // InternalApplicationConfiguration.g:2751:3: ( 'ViatraSolver' ) + // InternalApplicationConfiguration.g:2751:4: 'ViatraSolver' + { + match(input,20,FOLLOW_2); + + } + + after(grammarAccess.getSolverAccess().getViatraSolverEnumLiteralDeclaration_2()); + + } + + + } + break; + + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Solver__Alternatives" + + + // $ANTLR start "rule__ConfigurationScript__Group__0" + // InternalApplicationConfiguration.g:2759:1: rule__ConfigurationScript__Group__0 : rule__ConfigurationScript__Group__0__Impl rule__ConfigurationScript__Group__1 ; + public final void rule__ConfigurationScript__Group__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:2763:1: ( rule__ConfigurationScript__Group__0__Impl rule__ConfigurationScript__Group__1 ) + // InternalApplicationConfiguration.g:2764:2: rule__ConfigurationScript__Group__0__Impl rule__ConfigurationScript__Group__1 + { + pushFollow(FOLLOW_3); + rule__ConfigurationScript__Group__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__ConfigurationScript__Group__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ConfigurationScript__Group__0" + + + // $ANTLR start "rule__ConfigurationScript__Group__0__Impl" + // InternalApplicationConfiguration.g:2771:1: rule__ConfigurationScript__Group__0__Impl : ( ( rule__ConfigurationScript__ImportsAssignment_0 )* ) ; + public final void rule__ConfigurationScript__Group__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:2775:1: ( ( ( rule__ConfigurationScript__ImportsAssignment_0 )* ) ) + // InternalApplicationConfiguration.g:2776:1: ( ( rule__ConfigurationScript__ImportsAssignment_0 )* ) + { + // InternalApplicationConfiguration.g:2776:1: ( ( rule__ConfigurationScript__ImportsAssignment_0 )* ) + // InternalApplicationConfiguration.g:2777:2: ( rule__ConfigurationScript__ImportsAssignment_0 )* + { + before(grammarAccess.getConfigurationScriptAccess().getImportsAssignment_0()); + // InternalApplicationConfiguration.g:2778:2: ( rule__ConfigurationScript__ImportsAssignment_0 )* + loop33: + do { + int alt33=2; + int LA33_0 = input.LA(1); + + if ( (LA33_0==23) ) { + alt33=1; + } + + + switch (alt33) { + case 1 : + // InternalApplicationConfiguration.g:2778:3: rule__ConfigurationScript__ImportsAssignment_0 + { + pushFollow(FOLLOW_4); + rule__ConfigurationScript__ImportsAssignment_0(); + + state._fsp--; + + + } + break; + + default : + break loop33; + } + } while (true); + + after(grammarAccess.getConfigurationScriptAccess().getImportsAssignment_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ConfigurationScript__Group__0__Impl" + + + // $ANTLR start "rule__ConfigurationScript__Group__1" + // InternalApplicationConfiguration.g:2786:1: rule__ConfigurationScript__Group__1 : rule__ConfigurationScript__Group__1__Impl ; + public final void rule__ConfigurationScript__Group__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:2790:1: ( rule__ConfigurationScript__Group__1__Impl ) + // InternalApplicationConfiguration.g:2791:2: rule__ConfigurationScript__Group__1__Impl + { + pushFollow(FOLLOW_2); + rule__ConfigurationScript__Group__1__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ConfigurationScript__Group__1" + + + // $ANTLR start "rule__ConfigurationScript__Group__1__Impl" + // InternalApplicationConfiguration.g:2797:1: rule__ConfigurationScript__Group__1__Impl : ( ( rule__ConfigurationScript__CommandsAssignment_1 )* ) ; + public final void rule__ConfigurationScript__Group__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:2801:1: ( ( ( rule__ConfigurationScript__CommandsAssignment_1 )* ) ) + // InternalApplicationConfiguration.g:2802:1: ( ( rule__ConfigurationScript__CommandsAssignment_1 )* ) + { + // InternalApplicationConfiguration.g:2802:1: ( ( rule__ConfigurationScript__CommandsAssignment_1 )* ) + // InternalApplicationConfiguration.g:2803:2: ( rule__ConfigurationScript__CommandsAssignment_1 )* + { + before(grammarAccess.getConfigurationScriptAccess().getCommandsAssignment_1()); + // InternalApplicationConfiguration.g:2804:2: ( rule__ConfigurationScript__CommandsAssignment_1 )* + loop34: + do { + int alt34=2; + int LA34_0 = input.LA(1); + + if ( (LA34_0==27||LA34_0==35||(LA34_0>=37 && LA34_0<=40)||(LA34_0>=52 && LA34_0<=53)) ) { + alt34=1; + } + + + switch (alt34) { + case 1 : + // InternalApplicationConfiguration.g:2804:3: rule__ConfigurationScript__CommandsAssignment_1 + { + pushFollow(FOLLOW_5); + rule__ConfigurationScript__CommandsAssignment_1(); + + state._fsp--; + + + } + break; + + default : + break loop34; + } + } while (true); + + after(grammarAccess.getConfigurationScriptAccess().getCommandsAssignment_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ConfigurationScript__Group__1__Impl" + + + // $ANTLR start "rule__QualifiedName__Group__0" + // InternalApplicationConfiguration.g:2813:1: rule__QualifiedName__Group__0 : rule__QualifiedName__Group__0__Impl rule__QualifiedName__Group__1 ; + public final void rule__QualifiedName__Group__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:2817:1: ( rule__QualifiedName__Group__0__Impl rule__QualifiedName__Group__1 ) + // InternalApplicationConfiguration.g:2818:2: rule__QualifiedName__Group__0__Impl rule__QualifiedName__Group__1 + { + pushFollow(FOLLOW_6); + rule__QualifiedName__Group__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__QualifiedName__Group__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__QualifiedName__Group__0" + + + // $ANTLR start "rule__QualifiedName__Group__0__Impl" + // InternalApplicationConfiguration.g:2825:1: rule__QualifiedName__Group__0__Impl : ( RULE_ID ) ; + public final void rule__QualifiedName__Group__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:2829:1: ( ( RULE_ID ) ) + // InternalApplicationConfiguration.g:2830:1: ( RULE_ID ) + { + // InternalApplicationConfiguration.g:2830:1: ( RULE_ID ) + // InternalApplicationConfiguration.g:2831:2: RULE_ID + { + before(grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_0()); + match(input,RULE_ID,FOLLOW_2); + after(grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__QualifiedName__Group__0__Impl" + + + // $ANTLR start "rule__QualifiedName__Group__1" + // InternalApplicationConfiguration.g:2840:1: rule__QualifiedName__Group__1 : rule__QualifiedName__Group__1__Impl ; + public final void rule__QualifiedName__Group__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:2844:1: ( rule__QualifiedName__Group__1__Impl ) + // InternalApplicationConfiguration.g:2845:2: rule__QualifiedName__Group__1__Impl + { + pushFollow(FOLLOW_2); + rule__QualifiedName__Group__1__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__QualifiedName__Group__1" + + + // $ANTLR start "rule__QualifiedName__Group__1__Impl" + // InternalApplicationConfiguration.g:2851:1: rule__QualifiedName__Group__1__Impl : ( ( rule__QualifiedName__Group_1__0 )* ) ; + public final void rule__QualifiedName__Group__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:2855:1: ( ( ( rule__QualifiedName__Group_1__0 )* ) ) + // InternalApplicationConfiguration.g:2856:1: ( ( rule__QualifiedName__Group_1__0 )* ) + { + // InternalApplicationConfiguration.g:2856:1: ( ( rule__QualifiedName__Group_1__0 )* ) + // InternalApplicationConfiguration.g:2857:2: ( rule__QualifiedName__Group_1__0 )* + { + before(grammarAccess.getQualifiedNameAccess().getGroup_1()); + // InternalApplicationConfiguration.g:2858:2: ( rule__QualifiedName__Group_1__0 )* + loop35: + do { + int alt35=2; + int LA35_0 = input.LA(1); + + if ( (LA35_0==21) ) { + alt35=1; + } + + + switch (alt35) { + case 1 : + // InternalApplicationConfiguration.g:2858:3: rule__QualifiedName__Group_1__0 + { + pushFollow(FOLLOW_7); + rule__QualifiedName__Group_1__0(); + + state._fsp--; + + + } + break; + + default : + break loop35; + } + } while (true); + + after(grammarAccess.getQualifiedNameAccess().getGroup_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__QualifiedName__Group__1__Impl" + + + // $ANTLR start "rule__QualifiedName__Group_1__0" + // InternalApplicationConfiguration.g:2867:1: rule__QualifiedName__Group_1__0 : rule__QualifiedName__Group_1__0__Impl rule__QualifiedName__Group_1__1 ; + public final void rule__QualifiedName__Group_1__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:2871:1: ( rule__QualifiedName__Group_1__0__Impl rule__QualifiedName__Group_1__1 ) + // InternalApplicationConfiguration.g:2872:2: rule__QualifiedName__Group_1__0__Impl rule__QualifiedName__Group_1__1 + { + pushFollow(FOLLOW_8); + rule__QualifiedName__Group_1__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__QualifiedName__Group_1__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__QualifiedName__Group_1__0" + + + // $ANTLR start "rule__QualifiedName__Group_1__0__Impl" + // InternalApplicationConfiguration.g:2879:1: rule__QualifiedName__Group_1__0__Impl : ( '.' ) ; + public final void rule__QualifiedName__Group_1__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:2883:1: ( ( '.' ) ) + // InternalApplicationConfiguration.g:2884:1: ( '.' ) + { + // InternalApplicationConfiguration.g:2884:1: ( '.' ) + // InternalApplicationConfiguration.g:2885:2: '.' + { + before(grammarAccess.getQualifiedNameAccess().getFullStopKeyword_1_0()); + match(input,21,FOLLOW_2); + after(grammarAccess.getQualifiedNameAccess().getFullStopKeyword_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__QualifiedName__Group_1__0__Impl" + + + // $ANTLR start "rule__QualifiedName__Group_1__1" + // InternalApplicationConfiguration.g:2894:1: rule__QualifiedName__Group_1__1 : rule__QualifiedName__Group_1__1__Impl ; + public final void rule__QualifiedName__Group_1__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:2898:1: ( rule__QualifiedName__Group_1__1__Impl ) + // InternalApplicationConfiguration.g:2899:2: rule__QualifiedName__Group_1__1__Impl + { + pushFollow(FOLLOW_2); + rule__QualifiedName__Group_1__1__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__QualifiedName__Group_1__1" + + + // $ANTLR start "rule__QualifiedName__Group_1__1__Impl" + // InternalApplicationConfiguration.g:2905:1: rule__QualifiedName__Group_1__1__Impl : ( RULE_ID ) ; + public final void rule__QualifiedName__Group_1__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:2909:1: ( ( RULE_ID ) ) + // InternalApplicationConfiguration.g:2910:1: ( RULE_ID ) + { + // InternalApplicationConfiguration.g:2910:1: ( RULE_ID ) + // InternalApplicationConfiguration.g:2911:2: RULE_ID + { + before(grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_1_1()); + match(input,RULE_ID,FOLLOW_2); + after(grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_1_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__QualifiedName__Group_1__1__Impl" + + + // $ANTLR start "rule__REALLiteral__Group__0" + // InternalApplicationConfiguration.g:2921:1: rule__REALLiteral__Group__0 : rule__REALLiteral__Group__0__Impl rule__REALLiteral__Group__1 ; + public final void rule__REALLiteral__Group__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:2925:1: ( rule__REALLiteral__Group__0__Impl rule__REALLiteral__Group__1 ) + // InternalApplicationConfiguration.g:2926:2: rule__REALLiteral__Group__0__Impl rule__REALLiteral__Group__1 + { + pushFollow(FOLLOW_9); + rule__REALLiteral__Group__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__REALLiteral__Group__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__REALLiteral__Group__0" + + + // $ANTLR start "rule__REALLiteral__Group__0__Impl" + // InternalApplicationConfiguration.g:2933:1: rule__REALLiteral__Group__0__Impl : ( ( '-' )? ) ; + public final void rule__REALLiteral__Group__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:2937:1: ( ( ( '-' )? ) ) + // InternalApplicationConfiguration.g:2938:1: ( ( '-' )? ) + { + // InternalApplicationConfiguration.g:2938:1: ( ( '-' )? ) + // InternalApplicationConfiguration.g:2939:2: ( '-' )? + { + before(grammarAccess.getREALLiteralAccess().getHyphenMinusKeyword_0()); + // InternalApplicationConfiguration.g:2940:2: ( '-' )? + int alt36=2; + int LA36_0 = input.LA(1); + + if ( (LA36_0==22) ) { + alt36=1; + } + switch (alt36) { + case 1 : + // InternalApplicationConfiguration.g:2940:3: '-' + { + match(input,22,FOLLOW_2); + + } + break; + + } + + after(grammarAccess.getREALLiteralAccess().getHyphenMinusKeyword_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__REALLiteral__Group__0__Impl" + + + // $ANTLR start "rule__REALLiteral__Group__1" + // InternalApplicationConfiguration.g:2948:1: rule__REALLiteral__Group__1 : rule__REALLiteral__Group__1__Impl rule__REALLiteral__Group__2 ; + public final void rule__REALLiteral__Group__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:2952:1: ( rule__REALLiteral__Group__1__Impl rule__REALLiteral__Group__2 ) + // InternalApplicationConfiguration.g:2953:2: rule__REALLiteral__Group__1__Impl rule__REALLiteral__Group__2 + { + pushFollow(FOLLOW_6); + rule__REALLiteral__Group__1__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__REALLiteral__Group__2(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__REALLiteral__Group__1" + + + // $ANTLR start "rule__REALLiteral__Group__1__Impl" + // InternalApplicationConfiguration.g:2960:1: rule__REALLiteral__Group__1__Impl : ( RULE_INT ) ; + public final void rule__REALLiteral__Group__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:2964:1: ( ( RULE_INT ) ) + // InternalApplicationConfiguration.g:2965:1: ( RULE_INT ) + { + // InternalApplicationConfiguration.g:2965:1: ( RULE_INT ) + // InternalApplicationConfiguration.g:2966:2: RULE_INT + { + before(grammarAccess.getREALLiteralAccess().getINTTerminalRuleCall_1()); + match(input,RULE_INT,FOLLOW_2); + after(grammarAccess.getREALLiteralAccess().getINTTerminalRuleCall_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__REALLiteral__Group__1__Impl" + + + // $ANTLR start "rule__REALLiteral__Group__2" + // InternalApplicationConfiguration.g:2975:1: rule__REALLiteral__Group__2 : rule__REALLiteral__Group__2__Impl rule__REALLiteral__Group__3 ; + public final void rule__REALLiteral__Group__2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:2979:1: ( rule__REALLiteral__Group__2__Impl rule__REALLiteral__Group__3 ) + // InternalApplicationConfiguration.g:2980:2: rule__REALLiteral__Group__2__Impl rule__REALLiteral__Group__3 + { + pushFollow(FOLLOW_9); + rule__REALLiteral__Group__2__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__REALLiteral__Group__3(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__REALLiteral__Group__2" + + + // $ANTLR start "rule__REALLiteral__Group__2__Impl" + // InternalApplicationConfiguration.g:2987:1: rule__REALLiteral__Group__2__Impl : ( '.' ) ; + public final void rule__REALLiteral__Group__2__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:2991:1: ( ( '.' ) ) + // InternalApplicationConfiguration.g:2992:1: ( '.' ) + { + // InternalApplicationConfiguration.g:2992:1: ( '.' ) + // InternalApplicationConfiguration.g:2993:2: '.' + { + before(grammarAccess.getREALLiteralAccess().getFullStopKeyword_2()); + match(input,21,FOLLOW_2); + after(grammarAccess.getREALLiteralAccess().getFullStopKeyword_2()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__REALLiteral__Group__2__Impl" + + + // $ANTLR start "rule__REALLiteral__Group__3" + // InternalApplicationConfiguration.g:3002:1: rule__REALLiteral__Group__3 : rule__REALLiteral__Group__3__Impl ; + public final void rule__REALLiteral__Group__3() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:3006:1: ( rule__REALLiteral__Group__3__Impl ) + // InternalApplicationConfiguration.g:3007:2: rule__REALLiteral__Group__3__Impl + { + pushFollow(FOLLOW_2); + rule__REALLiteral__Group__3__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__REALLiteral__Group__3" + + + // $ANTLR start "rule__REALLiteral__Group__3__Impl" + // InternalApplicationConfiguration.g:3013:1: rule__REALLiteral__Group__3__Impl : ( RULE_INT ) ; + public final void rule__REALLiteral__Group__3__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:3017:1: ( ( RULE_INT ) ) + // InternalApplicationConfiguration.g:3018:1: ( RULE_INT ) + { + // InternalApplicationConfiguration.g:3018:1: ( RULE_INT ) + // InternalApplicationConfiguration.g:3019:2: RULE_INT + { + before(grammarAccess.getREALLiteralAccess().getINTTerminalRuleCall_3()); + match(input,RULE_INT,FOLLOW_2); + after(grammarAccess.getREALLiteralAccess().getINTTerminalRuleCall_3()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__REALLiteral__Group__3__Impl" + + + // $ANTLR start "rule__INTLiteral__Group__0" + // InternalApplicationConfiguration.g:3029:1: rule__INTLiteral__Group__0 : rule__INTLiteral__Group__0__Impl rule__INTLiteral__Group__1 ; + public final void rule__INTLiteral__Group__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:3033:1: ( rule__INTLiteral__Group__0__Impl rule__INTLiteral__Group__1 ) + // InternalApplicationConfiguration.g:3034:2: rule__INTLiteral__Group__0__Impl rule__INTLiteral__Group__1 + { + pushFollow(FOLLOW_9); + rule__INTLiteral__Group__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__INTLiteral__Group__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__INTLiteral__Group__0" + + + // $ANTLR start "rule__INTLiteral__Group__0__Impl" + // InternalApplicationConfiguration.g:3041:1: rule__INTLiteral__Group__0__Impl : ( ( '-' )? ) ; + public final void rule__INTLiteral__Group__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:3045:1: ( ( ( '-' )? ) ) + // InternalApplicationConfiguration.g:3046:1: ( ( '-' )? ) + { + // InternalApplicationConfiguration.g:3046:1: ( ( '-' )? ) + // InternalApplicationConfiguration.g:3047:2: ( '-' )? + { + before(grammarAccess.getINTLiteralAccess().getHyphenMinusKeyword_0()); + // InternalApplicationConfiguration.g:3048:2: ( '-' )? + int alt37=2; + int LA37_0 = input.LA(1); + + if ( (LA37_0==22) ) { + alt37=1; + } + switch (alt37) { + case 1 : + // InternalApplicationConfiguration.g:3048:3: '-' + { + match(input,22,FOLLOW_2); + + } + break; + + } + + after(grammarAccess.getINTLiteralAccess().getHyphenMinusKeyword_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__INTLiteral__Group__0__Impl" + + + // $ANTLR start "rule__INTLiteral__Group__1" + // InternalApplicationConfiguration.g:3056:1: rule__INTLiteral__Group__1 : rule__INTLiteral__Group__1__Impl ; + public final void rule__INTLiteral__Group__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:3060:1: ( rule__INTLiteral__Group__1__Impl ) + // InternalApplicationConfiguration.g:3061:2: rule__INTLiteral__Group__1__Impl + { + pushFollow(FOLLOW_2); + rule__INTLiteral__Group__1__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__INTLiteral__Group__1" + + + // $ANTLR start "rule__INTLiteral__Group__1__Impl" + // InternalApplicationConfiguration.g:3067:1: rule__INTLiteral__Group__1__Impl : ( RULE_INT ) ; + public final void rule__INTLiteral__Group__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:3071:1: ( ( RULE_INT ) ) + // InternalApplicationConfiguration.g:3072:1: ( RULE_INT ) + { + // InternalApplicationConfiguration.g:3072:1: ( RULE_INT ) + // InternalApplicationConfiguration.g:3073:2: RULE_INT + { + before(grammarAccess.getINTLiteralAccess().getINTTerminalRuleCall_1()); + match(input,RULE_INT,FOLLOW_2); + after(grammarAccess.getINTLiteralAccess().getINTTerminalRuleCall_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__INTLiteral__Group__1__Impl" + + + // $ANTLR start "rule__EPackageImport__Group__0" + // InternalApplicationConfiguration.g:3083:1: rule__EPackageImport__Group__0 : rule__EPackageImport__Group__0__Impl rule__EPackageImport__Group__1 ; + public final void rule__EPackageImport__Group__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:3087:1: ( rule__EPackageImport__Group__0__Impl rule__EPackageImport__Group__1 ) + // InternalApplicationConfiguration.g:3088:2: rule__EPackageImport__Group__0__Impl rule__EPackageImport__Group__1 + { + pushFollow(FOLLOW_10); + rule__EPackageImport__Group__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__EPackageImport__Group__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__EPackageImport__Group__0" + + + // $ANTLR start "rule__EPackageImport__Group__0__Impl" + // InternalApplicationConfiguration.g:3095:1: rule__EPackageImport__Group__0__Impl : ( 'import' ) ; + public final void rule__EPackageImport__Group__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:3099:1: ( ( 'import' ) ) + // InternalApplicationConfiguration.g:3100:1: ( 'import' ) + { + // InternalApplicationConfiguration.g:3100:1: ( 'import' ) + // InternalApplicationConfiguration.g:3101:2: 'import' + { + before(grammarAccess.getEPackageImportAccess().getImportKeyword_0()); + match(input,23,FOLLOW_2); + after(grammarAccess.getEPackageImportAccess().getImportKeyword_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__EPackageImport__Group__0__Impl" + + + // $ANTLR start "rule__EPackageImport__Group__1" + // InternalApplicationConfiguration.g:3110:1: rule__EPackageImport__Group__1 : rule__EPackageImport__Group__1__Impl rule__EPackageImport__Group__2 ; + public final void rule__EPackageImport__Group__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:3114:1: ( rule__EPackageImport__Group__1__Impl rule__EPackageImport__Group__2 ) + // InternalApplicationConfiguration.g:3115:2: rule__EPackageImport__Group__1__Impl rule__EPackageImport__Group__2 + { + pushFollow(FOLLOW_11); + rule__EPackageImport__Group__1__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__EPackageImport__Group__2(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__EPackageImport__Group__1" + + + // $ANTLR start "rule__EPackageImport__Group__1__Impl" + // InternalApplicationConfiguration.g:3122:1: rule__EPackageImport__Group__1__Impl : ( 'epackage' ) ; + public final void rule__EPackageImport__Group__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:3126:1: ( ( 'epackage' ) ) + // InternalApplicationConfiguration.g:3127:1: ( 'epackage' ) + { + // InternalApplicationConfiguration.g:3127:1: ( 'epackage' ) + // InternalApplicationConfiguration.g:3128:2: 'epackage' + { + before(grammarAccess.getEPackageImportAccess().getEpackageKeyword_1()); + match(input,24,FOLLOW_2); + after(grammarAccess.getEPackageImportAccess().getEpackageKeyword_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__EPackageImport__Group__1__Impl" + + + // $ANTLR start "rule__EPackageImport__Group__2" + // InternalApplicationConfiguration.g:3137:1: rule__EPackageImport__Group__2 : rule__EPackageImport__Group__2__Impl ; + public final void rule__EPackageImport__Group__2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:3141:1: ( rule__EPackageImport__Group__2__Impl ) + // InternalApplicationConfiguration.g:3142:2: rule__EPackageImport__Group__2__Impl + { + pushFollow(FOLLOW_2); + rule__EPackageImport__Group__2__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__EPackageImport__Group__2" + + + // $ANTLR start "rule__EPackageImport__Group__2__Impl" + // InternalApplicationConfiguration.g:3148:1: rule__EPackageImport__Group__2__Impl : ( ( rule__EPackageImport__ImportedPackageAssignment_2 ) ) ; + public final void rule__EPackageImport__Group__2__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:3152:1: ( ( ( rule__EPackageImport__ImportedPackageAssignment_2 ) ) ) + // InternalApplicationConfiguration.g:3153:1: ( ( rule__EPackageImport__ImportedPackageAssignment_2 ) ) + { + // InternalApplicationConfiguration.g:3153:1: ( ( rule__EPackageImport__ImportedPackageAssignment_2 ) ) + // InternalApplicationConfiguration.g:3154:2: ( rule__EPackageImport__ImportedPackageAssignment_2 ) + { + before(grammarAccess.getEPackageImportAccess().getImportedPackageAssignment_2()); + // InternalApplicationConfiguration.g:3155:2: ( rule__EPackageImport__ImportedPackageAssignment_2 ) + // InternalApplicationConfiguration.g:3155:3: rule__EPackageImport__ImportedPackageAssignment_2 + { + pushFollow(FOLLOW_2); + rule__EPackageImport__ImportedPackageAssignment_2(); + + state._fsp--; + + + } + + after(grammarAccess.getEPackageImportAccess().getImportedPackageAssignment_2()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__EPackageImport__Group__2__Impl" + + + // $ANTLR start "rule__ViatraImport__Group__0" + // InternalApplicationConfiguration.g:3164:1: rule__ViatraImport__Group__0 : rule__ViatraImport__Group__0__Impl rule__ViatraImport__Group__1 ; + public final void rule__ViatraImport__Group__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:3168:1: ( rule__ViatraImport__Group__0__Impl rule__ViatraImport__Group__1 ) + // InternalApplicationConfiguration.g:3169:2: rule__ViatraImport__Group__0__Impl rule__ViatraImport__Group__1 + { + pushFollow(FOLLOW_12); + rule__ViatraImport__Group__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__ViatraImport__Group__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ViatraImport__Group__0" + + + // $ANTLR start "rule__ViatraImport__Group__0__Impl" + // InternalApplicationConfiguration.g:3176:1: rule__ViatraImport__Group__0__Impl : ( 'import' ) ; + public final void rule__ViatraImport__Group__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:3180:1: ( ( 'import' ) ) + // InternalApplicationConfiguration.g:3181:1: ( 'import' ) + { + // InternalApplicationConfiguration.g:3181:1: ( 'import' ) + // InternalApplicationConfiguration.g:3182:2: 'import' + { + before(grammarAccess.getViatraImportAccess().getImportKeyword_0()); + match(input,23,FOLLOW_2); + after(grammarAccess.getViatraImportAccess().getImportKeyword_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ViatraImport__Group__0__Impl" + + + // $ANTLR start "rule__ViatraImport__Group__1" + // InternalApplicationConfiguration.g:3191:1: rule__ViatraImport__Group__1 : rule__ViatraImport__Group__1__Impl rule__ViatraImport__Group__2 ; + public final void rule__ViatraImport__Group__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:3195:1: ( rule__ViatraImport__Group__1__Impl rule__ViatraImport__Group__2 ) + // InternalApplicationConfiguration.g:3196:2: rule__ViatraImport__Group__1__Impl rule__ViatraImport__Group__2 + { + pushFollow(FOLLOW_11); + rule__ViatraImport__Group__1__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__ViatraImport__Group__2(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ViatraImport__Group__1" + + + // $ANTLR start "rule__ViatraImport__Group__1__Impl" + // InternalApplicationConfiguration.g:3203:1: rule__ViatraImport__Group__1__Impl : ( 'viatra' ) ; + public final void rule__ViatraImport__Group__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:3207:1: ( ( 'viatra' ) ) + // InternalApplicationConfiguration.g:3208:1: ( 'viatra' ) + { + // InternalApplicationConfiguration.g:3208:1: ( 'viatra' ) + // InternalApplicationConfiguration.g:3209:2: 'viatra' + { + before(grammarAccess.getViatraImportAccess().getViatraKeyword_1()); + match(input,25,FOLLOW_2); + after(grammarAccess.getViatraImportAccess().getViatraKeyword_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ViatraImport__Group__1__Impl" + + + // $ANTLR start "rule__ViatraImport__Group__2" + // InternalApplicationConfiguration.g:3218:1: rule__ViatraImport__Group__2 : rule__ViatraImport__Group__2__Impl ; + public final void rule__ViatraImport__Group__2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:3222:1: ( rule__ViatraImport__Group__2__Impl ) + // InternalApplicationConfiguration.g:3223:2: rule__ViatraImport__Group__2__Impl + { + pushFollow(FOLLOW_2); + rule__ViatraImport__Group__2__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ViatraImport__Group__2" + + + // $ANTLR start "rule__ViatraImport__Group__2__Impl" + // InternalApplicationConfiguration.g:3229:1: rule__ViatraImport__Group__2__Impl : ( ( rule__ViatraImport__ImportedViatraAssignment_2 ) ) ; + public final void rule__ViatraImport__Group__2__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:3233:1: ( ( ( rule__ViatraImport__ImportedViatraAssignment_2 ) ) ) + // InternalApplicationConfiguration.g:3234:1: ( ( rule__ViatraImport__ImportedViatraAssignment_2 ) ) + { + // InternalApplicationConfiguration.g:3234:1: ( ( rule__ViatraImport__ImportedViatraAssignment_2 ) ) + // InternalApplicationConfiguration.g:3235:2: ( rule__ViatraImport__ImportedViatraAssignment_2 ) + { + before(grammarAccess.getViatraImportAccess().getImportedViatraAssignment_2()); + // InternalApplicationConfiguration.g:3236:2: ( rule__ViatraImport__ImportedViatraAssignment_2 ) + // InternalApplicationConfiguration.g:3236:3: rule__ViatraImport__ImportedViatraAssignment_2 + { + pushFollow(FOLLOW_2); + rule__ViatraImport__ImportedViatraAssignment_2(); + + state._fsp--; + + + } + + after(grammarAccess.getViatraImportAccess().getImportedViatraAssignment_2()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ViatraImport__Group__2__Impl" + + + // $ANTLR start "rule__CftImport__Group__0" + // InternalApplicationConfiguration.g:3245:1: rule__CftImport__Group__0 : rule__CftImport__Group__0__Impl rule__CftImport__Group__1 ; + public final void rule__CftImport__Group__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:3249:1: ( rule__CftImport__Group__0__Impl rule__CftImport__Group__1 ) + // InternalApplicationConfiguration.g:3250:2: rule__CftImport__Group__0__Impl rule__CftImport__Group__1 + { + pushFollow(FOLLOW_13); + rule__CftImport__Group__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__CftImport__Group__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__CftImport__Group__0" + + + // $ANTLR start "rule__CftImport__Group__0__Impl" + // InternalApplicationConfiguration.g:3257:1: rule__CftImport__Group__0__Impl : ( 'import' ) ; + public final void rule__CftImport__Group__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:3261:1: ( ( 'import' ) ) + // InternalApplicationConfiguration.g:3262:1: ( 'import' ) + { + // InternalApplicationConfiguration.g:3262:1: ( 'import' ) + // InternalApplicationConfiguration.g:3263:2: 'import' + { + before(grammarAccess.getCftImportAccess().getImportKeyword_0()); + match(input,23,FOLLOW_2); + after(grammarAccess.getCftImportAccess().getImportKeyword_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__CftImport__Group__0__Impl" + + + // $ANTLR start "rule__CftImport__Group__1" + // InternalApplicationConfiguration.g:3272:1: rule__CftImport__Group__1 : rule__CftImport__Group__1__Impl rule__CftImport__Group__2 ; + public final void rule__CftImport__Group__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:3276:1: ( rule__CftImport__Group__1__Impl rule__CftImport__Group__2 ) + // InternalApplicationConfiguration.g:3277:2: rule__CftImport__Group__1__Impl rule__CftImport__Group__2 + { + pushFollow(FOLLOW_11); + rule__CftImport__Group__1__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__CftImport__Group__2(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__CftImport__Group__1" + + + // $ANTLR start "rule__CftImport__Group__1__Impl" + // InternalApplicationConfiguration.g:3284:1: rule__CftImport__Group__1__Impl : ( 'reliability' ) ; + public final void rule__CftImport__Group__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:3288:1: ( ( 'reliability' ) ) + // InternalApplicationConfiguration.g:3289:1: ( 'reliability' ) + { + // InternalApplicationConfiguration.g:3289:1: ( 'reliability' ) + // InternalApplicationConfiguration.g:3290:2: 'reliability' + { + before(grammarAccess.getCftImportAccess().getReliabilityKeyword_1()); + match(input,26,FOLLOW_2); + after(grammarAccess.getCftImportAccess().getReliabilityKeyword_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__CftImport__Group__1__Impl" + + + // $ANTLR start "rule__CftImport__Group__2" + // InternalApplicationConfiguration.g:3299:1: rule__CftImport__Group__2 : rule__CftImport__Group__2__Impl ; + public final void rule__CftImport__Group__2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:3303:1: ( rule__CftImport__Group__2__Impl ) + // InternalApplicationConfiguration.g:3304:2: rule__CftImport__Group__2__Impl + { + pushFollow(FOLLOW_2); + rule__CftImport__Group__2__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__CftImport__Group__2" + + + // $ANTLR start "rule__CftImport__Group__2__Impl" + // InternalApplicationConfiguration.g:3310:1: rule__CftImport__Group__2__Impl : ( ( rule__CftImport__ImportedCftAssignment_2 ) ) ; + public final void rule__CftImport__Group__2__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:3314:1: ( ( ( rule__CftImport__ImportedCftAssignment_2 ) ) ) + // InternalApplicationConfiguration.g:3315:1: ( ( rule__CftImport__ImportedCftAssignment_2 ) ) + { + // InternalApplicationConfiguration.g:3315:1: ( ( rule__CftImport__ImportedCftAssignment_2 ) ) + // InternalApplicationConfiguration.g:3316:2: ( rule__CftImport__ImportedCftAssignment_2 ) + { + before(grammarAccess.getCftImportAccess().getImportedCftAssignment_2()); + // InternalApplicationConfiguration.g:3317:2: ( rule__CftImport__ImportedCftAssignment_2 ) + // InternalApplicationConfiguration.g:3317:3: rule__CftImport__ImportedCftAssignment_2 + { + pushFollow(FOLLOW_2); + rule__CftImport__ImportedCftAssignment_2(); + + state._fsp--; + + + } + + after(grammarAccess.getCftImportAccess().getImportedCftAssignment_2()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__CftImport__Group__2__Impl" + + + // $ANTLR start "rule__FileDeclaration__Group__0" + // InternalApplicationConfiguration.g:3326:1: rule__FileDeclaration__Group__0 : rule__FileDeclaration__Group__0__Impl rule__FileDeclaration__Group__1 ; + public final void rule__FileDeclaration__Group__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:3330:1: ( rule__FileDeclaration__Group__0__Impl rule__FileDeclaration__Group__1 ) + // InternalApplicationConfiguration.g:3331:2: rule__FileDeclaration__Group__0__Impl rule__FileDeclaration__Group__1 + { + pushFollow(FOLLOW_8); + rule__FileDeclaration__Group__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__FileDeclaration__Group__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__FileDeclaration__Group__0" + + + // $ANTLR start "rule__FileDeclaration__Group__0__Impl" + // InternalApplicationConfiguration.g:3338:1: rule__FileDeclaration__Group__0__Impl : ( 'file' ) ; + public final void rule__FileDeclaration__Group__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:3342:1: ( ( 'file' ) ) + // InternalApplicationConfiguration.g:3343:1: ( 'file' ) + { + // InternalApplicationConfiguration.g:3343:1: ( 'file' ) + // InternalApplicationConfiguration.g:3344:2: 'file' + { + before(grammarAccess.getFileDeclarationAccess().getFileKeyword_0()); + match(input,27,FOLLOW_2); + after(grammarAccess.getFileDeclarationAccess().getFileKeyword_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__FileDeclaration__Group__0__Impl" + + + // $ANTLR start "rule__FileDeclaration__Group__1" + // InternalApplicationConfiguration.g:3353:1: rule__FileDeclaration__Group__1 : rule__FileDeclaration__Group__1__Impl rule__FileDeclaration__Group__2 ; + public final void rule__FileDeclaration__Group__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:3357:1: ( rule__FileDeclaration__Group__1__Impl rule__FileDeclaration__Group__2 ) + // InternalApplicationConfiguration.g:3358:2: rule__FileDeclaration__Group__1__Impl rule__FileDeclaration__Group__2 + { + pushFollow(FOLLOW_14); + rule__FileDeclaration__Group__1__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__FileDeclaration__Group__2(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__FileDeclaration__Group__1" + + + // $ANTLR start "rule__FileDeclaration__Group__1__Impl" + // InternalApplicationConfiguration.g:3365:1: rule__FileDeclaration__Group__1__Impl : ( ( rule__FileDeclaration__NameAssignment_1 ) ) ; + public final void rule__FileDeclaration__Group__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:3369:1: ( ( ( rule__FileDeclaration__NameAssignment_1 ) ) ) + // InternalApplicationConfiguration.g:3370:1: ( ( rule__FileDeclaration__NameAssignment_1 ) ) + { + // InternalApplicationConfiguration.g:3370:1: ( ( rule__FileDeclaration__NameAssignment_1 ) ) + // InternalApplicationConfiguration.g:3371:2: ( rule__FileDeclaration__NameAssignment_1 ) + { + before(grammarAccess.getFileDeclarationAccess().getNameAssignment_1()); + // InternalApplicationConfiguration.g:3372:2: ( rule__FileDeclaration__NameAssignment_1 ) + // InternalApplicationConfiguration.g:3372:3: rule__FileDeclaration__NameAssignment_1 + { + pushFollow(FOLLOW_2); + rule__FileDeclaration__NameAssignment_1(); + + state._fsp--; + + + } + + after(grammarAccess.getFileDeclarationAccess().getNameAssignment_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__FileDeclaration__Group__1__Impl" + + + // $ANTLR start "rule__FileDeclaration__Group__2" + // InternalApplicationConfiguration.g:3380:1: rule__FileDeclaration__Group__2 : rule__FileDeclaration__Group__2__Impl rule__FileDeclaration__Group__3 ; + public final void rule__FileDeclaration__Group__2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:3384:1: ( rule__FileDeclaration__Group__2__Impl rule__FileDeclaration__Group__3 ) + // InternalApplicationConfiguration.g:3385:2: rule__FileDeclaration__Group__2__Impl rule__FileDeclaration__Group__3 + { + pushFollow(FOLLOW_11); + rule__FileDeclaration__Group__2__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__FileDeclaration__Group__3(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__FileDeclaration__Group__2" + + + // $ANTLR start "rule__FileDeclaration__Group__2__Impl" + // InternalApplicationConfiguration.g:3392:1: rule__FileDeclaration__Group__2__Impl : ( '=' ) ; + public final void rule__FileDeclaration__Group__2__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:3396:1: ( ( '=' ) ) + // InternalApplicationConfiguration.g:3397:1: ( '=' ) + { + // InternalApplicationConfiguration.g:3397:1: ( '=' ) + // InternalApplicationConfiguration.g:3398:2: '=' + { + before(grammarAccess.getFileDeclarationAccess().getEqualsSignKeyword_2()); + match(input,28,FOLLOW_2); + after(grammarAccess.getFileDeclarationAccess().getEqualsSignKeyword_2()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__FileDeclaration__Group__2__Impl" + + + // $ANTLR start "rule__FileDeclaration__Group__3" + // InternalApplicationConfiguration.g:3407:1: rule__FileDeclaration__Group__3 : rule__FileDeclaration__Group__3__Impl ; + public final void rule__FileDeclaration__Group__3() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:3411:1: ( rule__FileDeclaration__Group__3__Impl ) + // InternalApplicationConfiguration.g:3412:2: rule__FileDeclaration__Group__3__Impl + { + pushFollow(FOLLOW_2); + rule__FileDeclaration__Group__3__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__FileDeclaration__Group__3" + + + // $ANTLR start "rule__FileDeclaration__Group__3__Impl" + // InternalApplicationConfiguration.g:3418:1: rule__FileDeclaration__Group__3__Impl : ( ( rule__FileDeclaration__SpecificationAssignment_3 ) ) ; + public final void rule__FileDeclaration__Group__3__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:3422:1: ( ( ( rule__FileDeclaration__SpecificationAssignment_3 ) ) ) + // InternalApplicationConfiguration.g:3423:1: ( ( rule__FileDeclaration__SpecificationAssignment_3 ) ) + { + // InternalApplicationConfiguration.g:3423:1: ( ( rule__FileDeclaration__SpecificationAssignment_3 ) ) + // InternalApplicationConfiguration.g:3424:2: ( rule__FileDeclaration__SpecificationAssignment_3 ) + { + before(grammarAccess.getFileDeclarationAccess().getSpecificationAssignment_3()); + // InternalApplicationConfiguration.g:3425:2: ( rule__FileDeclaration__SpecificationAssignment_3 ) + // InternalApplicationConfiguration.g:3425:3: rule__FileDeclaration__SpecificationAssignment_3 + { + pushFollow(FOLLOW_2); + rule__FileDeclaration__SpecificationAssignment_3(); + + state._fsp--; + + + } + + after(grammarAccess.getFileDeclarationAccess().getSpecificationAssignment_3()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__FileDeclaration__Group__3__Impl" + + + // $ANTLR start "rule__MetamodelSpecification__Group__0" + // InternalApplicationConfiguration.g:3434:1: rule__MetamodelSpecification__Group__0 : rule__MetamodelSpecification__Group__0__Impl rule__MetamodelSpecification__Group__1 ; + public final void rule__MetamodelSpecification__Group__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:3438:1: ( rule__MetamodelSpecification__Group__0__Impl rule__MetamodelSpecification__Group__1 ) + // InternalApplicationConfiguration.g:3439:2: rule__MetamodelSpecification__Group__0__Impl rule__MetamodelSpecification__Group__1 + { + pushFollow(FOLLOW_15); + rule__MetamodelSpecification__Group__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__MetamodelSpecification__Group__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__MetamodelSpecification__Group__0" + + + // $ANTLR start "rule__MetamodelSpecification__Group__0__Impl" + // InternalApplicationConfiguration.g:3446:1: rule__MetamodelSpecification__Group__0__Impl : ( '{' ) ; + public final void rule__MetamodelSpecification__Group__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:3450:1: ( ( '{' ) ) + // InternalApplicationConfiguration.g:3451:1: ( '{' ) + { + // InternalApplicationConfiguration.g:3451:1: ( '{' ) + // InternalApplicationConfiguration.g:3452:2: '{' + { + before(grammarAccess.getMetamodelSpecificationAccess().getLeftCurlyBracketKeyword_0()); + match(input,29,FOLLOW_2); + after(grammarAccess.getMetamodelSpecificationAccess().getLeftCurlyBracketKeyword_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__MetamodelSpecification__Group__0__Impl" + + + // $ANTLR start "rule__MetamodelSpecification__Group__1" + // InternalApplicationConfiguration.g:3461:1: rule__MetamodelSpecification__Group__1 : rule__MetamodelSpecification__Group__1__Impl rule__MetamodelSpecification__Group__2 ; + public final void rule__MetamodelSpecification__Group__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:3465:1: ( rule__MetamodelSpecification__Group__1__Impl rule__MetamodelSpecification__Group__2 ) + // InternalApplicationConfiguration.g:3466:2: rule__MetamodelSpecification__Group__1__Impl rule__MetamodelSpecification__Group__2 + { + pushFollow(FOLLOW_16); + rule__MetamodelSpecification__Group__1__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__MetamodelSpecification__Group__2(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__MetamodelSpecification__Group__1" + + + // $ANTLR start "rule__MetamodelSpecification__Group__1__Impl" + // InternalApplicationConfiguration.g:3473:1: rule__MetamodelSpecification__Group__1__Impl : ( ( rule__MetamodelSpecification__EntriesAssignment_1 ) ) ; + public final void rule__MetamodelSpecification__Group__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:3477:1: ( ( ( rule__MetamodelSpecification__EntriesAssignment_1 ) ) ) + // InternalApplicationConfiguration.g:3478:1: ( ( rule__MetamodelSpecification__EntriesAssignment_1 ) ) + { + // InternalApplicationConfiguration.g:3478:1: ( ( rule__MetamodelSpecification__EntriesAssignment_1 ) ) + // InternalApplicationConfiguration.g:3479:2: ( rule__MetamodelSpecification__EntriesAssignment_1 ) + { + before(grammarAccess.getMetamodelSpecificationAccess().getEntriesAssignment_1()); + // InternalApplicationConfiguration.g:3480:2: ( rule__MetamodelSpecification__EntriesAssignment_1 ) + // InternalApplicationConfiguration.g:3480:3: rule__MetamodelSpecification__EntriesAssignment_1 + { + pushFollow(FOLLOW_2); + rule__MetamodelSpecification__EntriesAssignment_1(); + + state._fsp--; + + + } + + after(grammarAccess.getMetamodelSpecificationAccess().getEntriesAssignment_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__MetamodelSpecification__Group__1__Impl" + + + // $ANTLR start "rule__MetamodelSpecification__Group__2" + // InternalApplicationConfiguration.g:3488:1: rule__MetamodelSpecification__Group__2 : rule__MetamodelSpecification__Group__2__Impl rule__MetamodelSpecification__Group__3 ; + public final void rule__MetamodelSpecification__Group__2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:3492:1: ( rule__MetamodelSpecification__Group__2__Impl rule__MetamodelSpecification__Group__3 ) + // InternalApplicationConfiguration.g:3493:2: rule__MetamodelSpecification__Group__2__Impl rule__MetamodelSpecification__Group__3 + { + pushFollow(FOLLOW_16); + rule__MetamodelSpecification__Group__2__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__MetamodelSpecification__Group__3(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__MetamodelSpecification__Group__2" + + + // $ANTLR start "rule__MetamodelSpecification__Group__2__Impl" + // InternalApplicationConfiguration.g:3500:1: rule__MetamodelSpecification__Group__2__Impl : ( ( rule__MetamodelSpecification__Group_2__0 )* ) ; + public final void rule__MetamodelSpecification__Group__2__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:3504:1: ( ( ( rule__MetamodelSpecification__Group_2__0 )* ) ) + // InternalApplicationConfiguration.g:3505:1: ( ( rule__MetamodelSpecification__Group_2__0 )* ) + { + // InternalApplicationConfiguration.g:3505:1: ( ( rule__MetamodelSpecification__Group_2__0 )* ) + // InternalApplicationConfiguration.g:3506:2: ( rule__MetamodelSpecification__Group_2__0 )* + { + before(grammarAccess.getMetamodelSpecificationAccess().getGroup_2()); + // InternalApplicationConfiguration.g:3507:2: ( rule__MetamodelSpecification__Group_2__0 )* + loop38: + do { + int alt38=2; + int LA38_0 = input.LA(1); + + if ( (LA38_0==31) ) { + alt38=1; + } + + + switch (alt38) { + case 1 : + // InternalApplicationConfiguration.g:3507:3: rule__MetamodelSpecification__Group_2__0 + { + pushFollow(FOLLOW_17); + rule__MetamodelSpecification__Group_2__0(); + + state._fsp--; + + + } + break; + + default : + break loop38; + } + } while (true); + + after(grammarAccess.getMetamodelSpecificationAccess().getGroup_2()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__MetamodelSpecification__Group__2__Impl" + + + // $ANTLR start "rule__MetamodelSpecification__Group__3" + // InternalApplicationConfiguration.g:3515:1: rule__MetamodelSpecification__Group__3 : rule__MetamodelSpecification__Group__3__Impl ; + public final void rule__MetamodelSpecification__Group__3() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:3519:1: ( rule__MetamodelSpecification__Group__3__Impl ) + // InternalApplicationConfiguration.g:3520:2: rule__MetamodelSpecification__Group__3__Impl + { + pushFollow(FOLLOW_2); + rule__MetamodelSpecification__Group__3__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__MetamodelSpecification__Group__3" + + + // $ANTLR start "rule__MetamodelSpecification__Group__3__Impl" + // InternalApplicationConfiguration.g:3526:1: rule__MetamodelSpecification__Group__3__Impl : ( '}' ) ; + public final void rule__MetamodelSpecification__Group__3__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:3530:1: ( ( '}' ) ) + // InternalApplicationConfiguration.g:3531:1: ( '}' ) + { + // InternalApplicationConfiguration.g:3531:1: ( '}' ) + // InternalApplicationConfiguration.g:3532:2: '}' + { + before(grammarAccess.getMetamodelSpecificationAccess().getRightCurlyBracketKeyword_3()); + match(input,30,FOLLOW_2); + after(grammarAccess.getMetamodelSpecificationAccess().getRightCurlyBracketKeyword_3()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__MetamodelSpecification__Group__3__Impl" + + + // $ANTLR start "rule__MetamodelSpecification__Group_2__0" + // InternalApplicationConfiguration.g:3542:1: rule__MetamodelSpecification__Group_2__0 : rule__MetamodelSpecification__Group_2__0__Impl rule__MetamodelSpecification__Group_2__1 ; + public final void rule__MetamodelSpecification__Group_2__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:3546:1: ( rule__MetamodelSpecification__Group_2__0__Impl rule__MetamodelSpecification__Group_2__1 ) + // InternalApplicationConfiguration.g:3547:2: rule__MetamodelSpecification__Group_2__0__Impl rule__MetamodelSpecification__Group_2__1 + { + pushFollow(FOLLOW_15); + rule__MetamodelSpecification__Group_2__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__MetamodelSpecification__Group_2__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__MetamodelSpecification__Group_2__0" + + + // $ANTLR start "rule__MetamodelSpecification__Group_2__0__Impl" + // InternalApplicationConfiguration.g:3554:1: rule__MetamodelSpecification__Group_2__0__Impl : ( ',' ) ; + public final void rule__MetamodelSpecification__Group_2__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:3558:1: ( ( ',' ) ) + // InternalApplicationConfiguration.g:3559:1: ( ',' ) + { + // InternalApplicationConfiguration.g:3559:1: ( ',' ) + // InternalApplicationConfiguration.g:3560:2: ',' + { + before(grammarAccess.getMetamodelSpecificationAccess().getCommaKeyword_2_0()); + match(input,31,FOLLOW_2); + after(grammarAccess.getMetamodelSpecificationAccess().getCommaKeyword_2_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__MetamodelSpecification__Group_2__0__Impl" + + + // $ANTLR start "rule__MetamodelSpecification__Group_2__1" + // InternalApplicationConfiguration.g:3569:1: rule__MetamodelSpecification__Group_2__1 : rule__MetamodelSpecification__Group_2__1__Impl ; + public final void rule__MetamodelSpecification__Group_2__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:3573:1: ( rule__MetamodelSpecification__Group_2__1__Impl ) + // InternalApplicationConfiguration.g:3574:2: rule__MetamodelSpecification__Group_2__1__Impl + { + pushFollow(FOLLOW_2); + rule__MetamodelSpecification__Group_2__1__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__MetamodelSpecification__Group_2__1" + + + // $ANTLR start "rule__MetamodelSpecification__Group_2__1__Impl" + // InternalApplicationConfiguration.g:3580:1: rule__MetamodelSpecification__Group_2__1__Impl : ( ( rule__MetamodelSpecification__EntriesAssignment_2_1 ) ) ; + public final void rule__MetamodelSpecification__Group_2__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:3584:1: ( ( ( rule__MetamodelSpecification__EntriesAssignment_2_1 ) ) ) + // InternalApplicationConfiguration.g:3585:1: ( ( rule__MetamodelSpecification__EntriesAssignment_2_1 ) ) + { + // InternalApplicationConfiguration.g:3585:1: ( ( rule__MetamodelSpecification__EntriesAssignment_2_1 ) ) + // InternalApplicationConfiguration.g:3586:2: ( rule__MetamodelSpecification__EntriesAssignment_2_1 ) + { + before(grammarAccess.getMetamodelSpecificationAccess().getEntriesAssignment_2_1()); + // InternalApplicationConfiguration.g:3587:2: ( rule__MetamodelSpecification__EntriesAssignment_2_1 ) + // InternalApplicationConfiguration.g:3587:3: rule__MetamodelSpecification__EntriesAssignment_2_1 + { + pushFollow(FOLLOW_2); + rule__MetamodelSpecification__EntriesAssignment_2_1(); + + state._fsp--; + + + } + + after(grammarAccess.getMetamodelSpecificationAccess().getEntriesAssignment_2_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__MetamodelSpecification__Group_2__1__Impl" + + + // $ANTLR start "rule__AllPackageEntry__Group__0" + // InternalApplicationConfiguration.g:3596:1: rule__AllPackageEntry__Group__0 : rule__AllPackageEntry__Group__0__Impl rule__AllPackageEntry__Group__1 ; + public final void rule__AllPackageEntry__Group__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:3600:1: ( rule__AllPackageEntry__Group__0__Impl rule__AllPackageEntry__Group__1 ) + // InternalApplicationConfiguration.g:3601:2: rule__AllPackageEntry__Group__0__Impl rule__AllPackageEntry__Group__1 + { + pushFollow(FOLLOW_8); + rule__AllPackageEntry__Group__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__AllPackageEntry__Group__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AllPackageEntry__Group__0" + + + // $ANTLR start "rule__AllPackageEntry__Group__0__Impl" + // InternalApplicationConfiguration.g:3608:1: rule__AllPackageEntry__Group__0__Impl : ( 'package' ) ; + public final void rule__AllPackageEntry__Group__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:3612:1: ( ( 'package' ) ) + // InternalApplicationConfiguration.g:3613:1: ( 'package' ) + { + // InternalApplicationConfiguration.g:3613:1: ( 'package' ) + // InternalApplicationConfiguration.g:3614:2: 'package' + { + before(grammarAccess.getAllPackageEntryAccess().getPackageKeyword_0()); + match(input,32,FOLLOW_2); + after(grammarAccess.getAllPackageEntryAccess().getPackageKeyword_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AllPackageEntry__Group__0__Impl" + + + // $ANTLR start "rule__AllPackageEntry__Group__1" + // InternalApplicationConfiguration.g:3623:1: rule__AllPackageEntry__Group__1 : rule__AllPackageEntry__Group__1__Impl rule__AllPackageEntry__Group__2 ; + public final void rule__AllPackageEntry__Group__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:3627:1: ( rule__AllPackageEntry__Group__1__Impl rule__AllPackageEntry__Group__2 ) + // InternalApplicationConfiguration.g:3628:2: rule__AllPackageEntry__Group__1__Impl rule__AllPackageEntry__Group__2 + { + pushFollow(FOLLOW_18); + rule__AllPackageEntry__Group__1__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__AllPackageEntry__Group__2(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AllPackageEntry__Group__1" + + + // $ANTLR start "rule__AllPackageEntry__Group__1__Impl" + // InternalApplicationConfiguration.g:3635:1: rule__AllPackageEntry__Group__1__Impl : ( ( rule__AllPackageEntry__PackageAssignment_1 ) ) ; + public final void rule__AllPackageEntry__Group__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:3639:1: ( ( ( rule__AllPackageEntry__PackageAssignment_1 ) ) ) + // InternalApplicationConfiguration.g:3640:1: ( ( rule__AllPackageEntry__PackageAssignment_1 ) ) + { + // InternalApplicationConfiguration.g:3640:1: ( ( rule__AllPackageEntry__PackageAssignment_1 ) ) + // InternalApplicationConfiguration.g:3641:2: ( rule__AllPackageEntry__PackageAssignment_1 ) + { + before(grammarAccess.getAllPackageEntryAccess().getPackageAssignment_1()); + // InternalApplicationConfiguration.g:3642:2: ( rule__AllPackageEntry__PackageAssignment_1 ) + // InternalApplicationConfiguration.g:3642:3: rule__AllPackageEntry__PackageAssignment_1 + { + pushFollow(FOLLOW_2); + rule__AllPackageEntry__PackageAssignment_1(); + + state._fsp--; + + + } + + after(grammarAccess.getAllPackageEntryAccess().getPackageAssignment_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AllPackageEntry__Group__1__Impl" + + + // $ANTLR start "rule__AllPackageEntry__Group__2" + // InternalApplicationConfiguration.g:3650:1: rule__AllPackageEntry__Group__2 : rule__AllPackageEntry__Group__2__Impl ; + public final void rule__AllPackageEntry__Group__2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:3654:1: ( rule__AllPackageEntry__Group__2__Impl ) + // InternalApplicationConfiguration.g:3655:2: rule__AllPackageEntry__Group__2__Impl + { + pushFollow(FOLLOW_2); + rule__AllPackageEntry__Group__2__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AllPackageEntry__Group__2" + + + // $ANTLR start "rule__AllPackageEntry__Group__2__Impl" + // InternalApplicationConfiguration.g:3661:1: rule__AllPackageEntry__Group__2__Impl : ( ( rule__AllPackageEntry__Group_2__0 )? ) ; + public final void rule__AllPackageEntry__Group__2__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:3665:1: ( ( ( rule__AllPackageEntry__Group_2__0 )? ) ) + // InternalApplicationConfiguration.g:3666:1: ( ( rule__AllPackageEntry__Group_2__0 )? ) + { + // InternalApplicationConfiguration.g:3666:1: ( ( rule__AllPackageEntry__Group_2__0 )? ) + // InternalApplicationConfiguration.g:3667:2: ( rule__AllPackageEntry__Group_2__0 )? + { + before(grammarAccess.getAllPackageEntryAccess().getGroup_2()); + // InternalApplicationConfiguration.g:3668:2: ( rule__AllPackageEntry__Group_2__0 )? + int alt39=2; + int LA39_0 = input.LA(1); + + if ( (LA39_0==33) ) { + alt39=1; + } + switch (alt39) { + case 1 : + // InternalApplicationConfiguration.g:3668:3: rule__AllPackageEntry__Group_2__0 + { + pushFollow(FOLLOW_2); + rule__AllPackageEntry__Group_2__0(); + + state._fsp--; + + + } + break; + + } + + after(grammarAccess.getAllPackageEntryAccess().getGroup_2()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AllPackageEntry__Group__2__Impl" + + + // $ANTLR start "rule__AllPackageEntry__Group_2__0" + // InternalApplicationConfiguration.g:3677:1: rule__AllPackageEntry__Group_2__0 : rule__AllPackageEntry__Group_2__0__Impl rule__AllPackageEntry__Group_2__1 ; + public final void rule__AllPackageEntry__Group_2__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:3681:1: ( rule__AllPackageEntry__Group_2__0__Impl rule__AllPackageEntry__Group_2__1 ) + // InternalApplicationConfiguration.g:3682:2: rule__AllPackageEntry__Group_2__0__Impl rule__AllPackageEntry__Group_2__1 + { + pushFollow(FOLLOW_19); + rule__AllPackageEntry__Group_2__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__AllPackageEntry__Group_2__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AllPackageEntry__Group_2__0" + + + // $ANTLR start "rule__AllPackageEntry__Group_2__0__Impl" + // InternalApplicationConfiguration.g:3689:1: rule__AllPackageEntry__Group_2__0__Impl : ( 'excluding' ) ; + public final void rule__AllPackageEntry__Group_2__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:3693:1: ( ( 'excluding' ) ) + // InternalApplicationConfiguration.g:3694:1: ( 'excluding' ) + { + // InternalApplicationConfiguration.g:3694:1: ( 'excluding' ) + // InternalApplicationConfiguration.g:3695:2: 'excluding' + { + before(grammarAccess.getAllPackageEntryAccess().getExcludingKeyword_2_0()); + match(input,33,FOLLOW_2); + after(grammarAccess.getAllPackageEntryAccess().getExcludingKeyword_2_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AllPackageEntry__Group_2__0__Impl" + + + // $ANTLR start "rule__AllPackageEntry__Group_2__1" + // InternalApplicationConfiguration.g:3704:1: rule__AllPackageEntry__Group_2__1 : rule__AllPackageEntry__Group_2__1__Impl rule__AllPackageEntry__Group_2__2 ; + public final void rule__AllPackageEntry__Group_2__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:3708:1: ( rule__AllPackageEntry__Group_2__1__Impl rule__AllPackageEntry__Group_2__2 ) + // InternalApplicationConfiguration.g:3709:2: rule__AllPackageEntry__Group_2__1__Impl rule__AllPackageEntry__Group_2__2 + { + pushFollow(FOLLOW_8); + rule__AllPackageEntry__Group_2__1__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__AllPackageEntry__Group_2__2(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AllPackageEntry__Group_2__1" + + + // $ANTLR start "rule__AllPackageEntry__Group_2__1__Impl" + // InternalApplicationConfiguration.g:3716:1: rule__AllPackageEntry__Group_2__1__Impl : ( '{' ) ; + public final void rule__AllPackageEntry__Group_2__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:3720:1: ( ( '{' ) ) + // InternalApplicationConfiguration.g:3721:1: ( '{' ) + { + // InternalApplicationConfiguration.g:3721:1: ( '{' ) + // InternalApplicationConfiguration.g:3722:2: '{' + { + before(grammarAccess.getAllPackageEntryAccess().getLeftCurlyBracketKeyword_2_1()); + match(input,29,FOLLOW_2); + after(grammarAccess.getAllPackageEntryAccess().getLeftCurlyBracketKeyword_2_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AllPackageEntry__Group_2__1__Impl" + + + // $ANTLR start "rule__AllPackageEntry__Group_2__2" + // InternalApplicationConfiguration.g:3731:1: rule__AllPackageEntry__Group_2__2 : rule__AllPackageEntry__Group_2__2__Impl rule__AllPackageEntry__Group_2__3 ; + public final void rule__AllPackageEntry__Group_2__2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:3735:1: ( rule__AllPackageEntry__Group_2__2__Impl rule__AllPackageEntry__Group_2__3 ) + // InternalApplicationConfiguration.g:3736:2: rule__AllPackageEntry__Group_2__2__Impl rule__AllPackageEntry__Group_2__3 + { + pushFollow(FOLLOW_16); + rule__AllPackageEntry__Group_2__2__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__AllPackageEntry__Group_2__3(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AllPackageEntry__Group_2__2" + + + // $ANTLR start "rule__AllPackageEntry__Group_2__2__Impl" + // InternalApplicationConfiguration.g:3743:1: rule__AllPackageEntry__Group_2__2__Impl : ( ( rule__AllPackageEntry__ExclusionAssignment_2_2 ) ) ; + public final void rule__AllPackageEntry__Group_2__2__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:3747:1: ( ( ( rule__AllPackageEntry__ExclusionAssignment_2_2 ) ) ) + // InternalApplicationConfiguration.g:3748:1: ( ( rule__AllPackageEntry__ExclusionAssignment_2_2 ) ) + { + // InternalApplicationConfiguration.g:3748:1: ( ( rule__AllPackageEntry__ExclusionAssignment_2_2 ) ) + // InternalApplicationConfiguration.g:3749:2: ( rule__AllPackageEntry__ExclusionAssignment_2_2 ) + { + before(grammarAccess.getAllPackageEntryAccess().getExclusionAssignment_2_2()); + // InternalApplicationConfiguration.g:3750:2: ( rule__AllPackageEntry__ExclusionAssignment_2_2 ) + // InternalApplicationConfiguration.g:3750:3: rule__AllPackageEntry__ExclusionAssignment_2_2 + { + pushFollow(FOLLOW_2); + rule__AllPackageEntry__ExclusionAssignment_2_2(); + + state._fsp--; + + + } + + after(grammarAccess.getAllPackageEntryAccess().getExclusionAssignment_2_2()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AllPackageEntry__Group_2__2__Impl" + + + // $ANTLR start "rule__AllPackageEntry__Group_2__3" + // InternalApplicationConfiguration.g:3758:1: rule__AllPackageEntry__Group_2__3 : rule__AllPackageEntry__Group_2__3__Impl rule__AllPackageEntry__Group_2__4 ; + public final void rule__AllPackageEntry__Group_2__3() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:3762:1: ( rule__AllPackageEntry__Group_2__3__Impl rule__AllPackageEntry__Group_2__4 ) + // InternalApplicationConfiguration.g:3763:2: rule__AllPackageEntry__Group_2__3__Impl rule__AllPackageEntry__Group_2__4 + { + pushFollow(FOLLOW_16); + rule__AllPackageEntry__Group_2__3__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__AllPackageEntry__Group_2__4(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AllPackageEntry__Group_2__3" + + + // $ANTLR start "rule__AllPackageEntry__Group_2__3__Impl" + // InternalApplicationConfiguration.g:3770:1: rule__AllPackageEntry__Group_2__3__Impl : ( ( rule__AllPackageEntry__Group_2_3__0 )* ) ; + public final void rule__AllPackageEntry__Group_2__3__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:3774:1: ( ( ( rule__AllPackageEntry__Group_2_3__0 )* ) ) + // InternalApplicationConfiguration.g:3775:1: ( ( rule__AllPackageEntry__Group_2_3__0 )* ) + { + // InternalApplicationConfiguration.g:3775:1: ( ( rule__AllPackageEntry__Group_2_3__0 )* ) + // InternalApplicationConfiguration.g:3776:2: ( rule__AllPackageEntry__Group_2_3__0 )* + { + before(grammarAccess.getAllPackageEntryAccess().getGroup_2_3()); + // InternalApplicationConfiguration.g:3777:2: ( rule__AllPackageEntry__Group_2_3__0 )* + loop40: + do { + int alt40=2; + int LA40_0 = input.LA(1); + + if ( (LA40_0==31) ) { + alt40=1; + } + + + switch (alt40) { + case 1 : + // InternalApplicationConfiguration.g:3777:3: rule__AllPackageEntry__Group_2_3__0 + { + pushFollow(FOLLOW_17); + rule__AllPackageEntry__Group_2_3__0(); + + state._fsp--; + + + } + break; + + default : + break loop40; + } + } while (true); + + after(grammarAccess.getAllPackageEntryAccess().getGroup_2_3()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AllPackageEntry__Group_2__3__Impl" + + + // $ANTLR start "rule__AllPackageEntry__Group_2__4" + // InternalApplicationConfiguration.g:3785:1: rule__AllPackageEntry__Group_2__4 : rule__AllPackageEntry__Group_2__4__Impl ; + public final void rule__AllPackageEntry__Group_2__4() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:3789:1: ( rule__AllPackageEntry__Group_2__4__Impl ) + // InternalApplicationConfiguration.g:3790:2: rule__AllPackageEntry__Group_2__4__Impl + { + pushFollow(FOLLOW_2); + rule__AllPackageEntry__Group_2__4__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AllPackageEntry__Group_2__4" + + + // $ANTLR start "rule__AllPackageEntry__Group_2__4__Impl" + // InternalApplicationConfiguration.g:3796:1: rule__AllPackageEntry__Group_2__4__Impl : ( '}' ) ; + public final void rule__AllPackageEntry__Group_2__4__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:3800:1: ( ( '}' ) ) + // InternalApplicationConfiguration.g:3801:1: ( '}' ) + { + // InternalApplicationConfiguration.g:3801:1: ( '}' ) + // InternalApplicationConfiguration.g:3802:2: '}' + { + before(grammarAccess.getAllPackageEntryAccess().getRightCurlyBracketKeyword_2_4()); + match(input,30,FOLLOW_2); + after(grammarAccess.getAllPackageEntryAccess().getRightCurlyBracketKeyword_2_4()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AllPackageEntry__Group_2__4__Impl" + + + // $ANTLR start "rule__AllPackageEntry__Group_2_3__0" + // InternalApplicationConfiguration.g:3812:1: rule__AllPackageEntry__Group_2_3__0 : rule__AllPackageEntry__Group_2_3__0__Impl rule__AllPackageEntry__Group_2_3__1 ; + public final void rule__AllPackageEntry__Group_2_3__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:3816:1: ( rule__AllPackageEntry__Group_2_3__0__Impl rule__AllPackageEntry__Group_2_3__1 ) + // InternalApplicationConfiguration.g:3817:2: rule__AllPackageEntry__Group_2_3__0__Impl rule__AllPackageEntry__Group_2_3__1 + { + pushFollow(FOLLOW_8); + rule__AllPackageEntry__Group_2_3__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__AllPackageEntry__Group_2_3__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AllPackageEntry__Group_2_3__0" + + + // $ANTLR start "rule__AllPackageEntry__Group_2_3__0__Impl" + // InternalApplicationConfiguration.g:3824:1: rule__AllPackageEntry__Group_2_3__0__Impl : ( ',' ) ; + public final void rule__AllPackageEntry__Group_2_3__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:3828:1: ( ( ',' ) ) + // InternalApplicationConfiguration.g:3829:1: ( ',' ) + { + // InternalApplicationConfiguration.g:3829:1: ( ',' ) + // InternalApplicationConfiguration.g:3830:2: ',' + { + before(grammarAccess.getAllPackageEntryAccess().getCommaKeyword_2_3_0()); + match(input,31,FOLLOW_2); + after(grammarAccess.getAllPackageEntryAccess().getCommaKeyword_2_3_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AllPackageEntry__Group_2_3__0__Impl" + + + // $ANTLR start "rule__AllPackageEntry__Group_2_3__1" + // InternalApplicationConfiguration.g:3839:1: rule__AllPackageEntry__Group_2_3__1 : rule__AllPackageEntry__Group_2_3__1__Impl ; + public final void rule__AllPackageEntry__Group_2_3__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:3843:1: ( rule__AllPackageEntry__Group_2_3__1__Impl ) + // InternalApplicationConfiguration.g:3844:2: rule__AllPackageEntry__Group_2_3__1__Impl + { + pushFollow(FOLLOW_2); + rule__AllPackageEntry__Group_2_3__1__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AllPackageEntry__Group_2_3__1" + + + // $ANTLR start "rule__AllPackageEntry__Group_2_3__1__Impl" + // InternalApplicationConfiguration.g:3850:1: rule__AllPackageEntry__Group_2_3__1__Impl : ( ( rule__AllPackageEntry__ExclusionAssignment_2_3_1 ) ) ; + public final void rule__AllPackageEntry__Group_2_3__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:3854:1: ( ( ( rule__AllPackageEntry__ExclusionAssignment_2_3_1 ) ) ) + // InternalApplicationConfiguration.g:3855:1: ( ( rule__AllPackageEntry__ExclusionAssignment_2_3_1 ) ) + { + // InternalApplicationConfiguration.g:3855:1: ( ( rule__AllPackageEntry__ExclusionAssignment_2_3_1 ) ) + // InternalApplicationConfiguration.g:3856:2: ( rule__AllPackageEntry__ExclusionAssignment_2_3_1 ) + { + before(grammarAccess.getAllPackageEntryAccess().getExclusionAssignment_2_3_1()); + // InternalApplicationConfiguration.g:3857:2: ( rule__AllPackageEntry__ExclusionAssignment_2_3_1 ) + // InternalApplicationConfiguration.g:3857:3: rule__AllPackageEntry__ExclusionAssignment_2_3_1 + { + pushFollow(FOLLOW_2); + rule__AllPackageEntry__ExclusionAssignment_2_3_1(); + + state._fsp--; + + + } + + after(grammarAccess.getAllPackageEntryAccess().getExclusionAssignment_2_3_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AllPackageEntry__Group_2_3__1__Impl" + + + // $ANTLR start "rule__MetamodelElement__Group__0" + // InternalApplicationConfiguration.g:3866:1: rule__MetamodelElement__Group__0 : rule__MetamodelElement__Group__0__Impl rule__MetamodelElement__Group__1 ; + public final void rule__MetamodelElement__Group__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:3870:1: ( rule__MetamodelElement__Group__0__Impl rule__MetamodelElement__Group__1 ) + // InternalApplicationConfiguration.g:3871:2: rule__MetamodelElement__Group__0__Impl rule__MetamodelElement__Group__1 + { + pushFollow(FOLLOW_8); + rule__MetamodelElement__Group__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__MetamodelElement__Group__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__MetamodelElement__Group__0" + + + // $ANTLR start "rule__MetamodelElement__Group__0__Impl" + // InternalApplicationConfiguration.g:3878:1: rule__MetamodelElement__Group__0__Impl : ( ( rule__MetamodelElement__Group_0__0 )? ) ; + public final void rule__MetamodelElement__Group__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:3882:1: ( ( ( rule__MetamodelElement__Group_0__0 )? ) ) + // InternalApplicationConfiguration.g:3883:1: ( ( rule__MetamodelElement__Group_0__0 )? ) + { + // InternalApplicationConfiguration.g:3883:1: ( ( rule__MetamodelElement__Group_0__0 )? ) + // InternalApplicationConfiguration.g:3884:2: ( rule__MetamodelElement__Group_0__0 )? + { + before(grammarAccess.getMetamodelElementAccess().getGroup_0()); + // InternalApplicationConfiguration.g:3885:2: ( rule__MetamodelElement__Group_0__0 )? + int alt41=2; + int LA41_0 = input.LA(1); + + if ( (LA41_0==RULE_ID) ) { + int LA41_1 = input.LA(2); + + if ( (LA41_1==21) ) { + int LA41_2 = input.LA(3); + + if ( (LA41_2==RULE_ID) ) { + int LA41_5 = input.LA(4); + + if ( (LA41_5==21||LA41_5==34) ) { + alt41=1; + } + } + } + else if ( (LA41_1==34) ) { + alt41=1; + } + } + switch (alt41) { + case 1 : + // InternalApplicationConfiguration.g:3885:3: rule__MetamodelElement__Group_0__0 + { + pushFollow(FOLLOW_2); + rule__MetamodelElement__Group_0__0(); + + state._fsp--; + + + } + break; + + } + + after(grammarAccess.getMetamodelElementAccess().getGroup_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__MetamodelElement__Group__0__Impl" + + + // $ANTLR start "rule__MetamodelElement__Group__1" + // InternalApplicationConfiguration.g:3893:1: rule__MetamodelElement__Group__1 : rule__MetamodelElement__Group__1__Impl rule__MetamodelElement__Group__2 ; + public final void rule__MetamodelElement__Group__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:3897:1: ( rule__MetamodelElement__Group__1__Impl rule__MetamodelElement__Group__2 ) + // InternalApplicationConfiguration.g:3898:2: rule__MetamodelElement__Group__1__Impl rule__MetamodelElement__Group__2 + { + pushFollow(FOLLOW_6); + rule__MetamodelElement__Group__1__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__MetamodelElement__Group__2(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__MetamodelElement__Group__1" + + + // $ANTLR start "rule__MetamodelElement__Group__1__Impl" + // InternalApplicationConfiguration.g:3905:1: rule__MetamodelElement__Group__1__Impl : ( ( rule__MetamodelElement__ClassifierAssignment_1 ) ) ; + public final void rule__MetamodelElement__Group__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:3909:1: ( ( ( rule__MetamodelElement__ClassifierAssignment_1 ) ) ) + // InternalApplicationConfiguration.g:3910:1: ( ( rule__MetamodelElement__ClassifierAssignment_1 ) ) + { + // InternalApplicationConfiguration.g:3910:1: ( ( rule__MetamodelElement__ClassifierAssignment_1 ) ) + // InternalApplicationConfiguration.g:3911:2: ( rule__MetamodelElement__ClassifierAssignment_1 ) + { + before(grammarAccess.getMetamodelElementAccess().getClassifierAssignment_1()); + // InternalApplicationConfiguration.g:3912:2: ( rule__MetamodelElement__ClassifierAssignment_1 ) + // InternalApplicationConfiguration.g:3912:3: rule__MetamodelElement__ClassifierAssignment_1 + { + pushFollow(FOLLOW_2); + rule__MetamodelElement__ClassifierAssignment_1(); + + state._fsp--; + + + } + + after(grammarAccess.getMetamodelElementAccess().getClassifierAssignment_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__MetamodelElement__Group__1__Impl" + + + // $ANTLR start "rule__MetamodelElement__Group__2" + // InternalApplicationConfiguration.g:3920:1: rule__MetamodelElement__Group__2 : rule__MetamodelElement__Group__2__Impl ; + public final void rule__MetamodelElement__Group__2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:3924:1: ( rule__MetamodelElement__Group__2__Impl ) + // InternalApplicationConfiguration.g:3925:2: rule__MetamodelElement__Group__2__Impl + { + pushFollow(FOLLOW_2); + rule__MetamodelElement__Group__2__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__MetamodelElement__Group__2" + + + // $ANTLR start "rule__MetamodelElement__Group__2__Impl" + // InternalApplicationConfiguration.g:3931:1: rule__MetamodelElement__Group__2__Impl : ( ( rule__MetamodelElement__Group_2__0 )? ) ; + public final void rule__MetamodelElement__Group__2__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:3935:1: ( ( ( rule__MetamodelElement__Group_2__0 )? ) ) + // InternalApplicationConfiguration.g:3936:1: ( ( rule__MetamodelElement__Group_2__0 )? ) + { + // InternalApplicationConfiguration.g:3936:1: ( ( rule__MetamodelElement__Group_2__0 )? ) + // InternalApplicationConfiguration.g:3937:2: ( rule__MetamodelElement__Group_2__0 )? + { + before(grammarAccess.getMetamodelElementAccess().getGroup_2()); + // InternalApplicationConfiguration.g:3938:2: ( rule__MetamodelElement__Group_2__0 )? + int alt42=2; + int LA42_0 = input.LA(1); + + if ( (LA42_0==21) ) { + alt42=1; + } + switch (alt42) { + case 1 : + // InternalApplicationConfiguration.g:3938:3: rule__MetamodelElement__Group_2__0 + { + pushFollow(FOLLOW_2); + rule__MetamodelElement__Group_2__0(); + + state._fsp--; + + + } + break; + + } + + after(grammarAccess.getMetamodelElementAccess().getGroup_2()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__MetamodelElement__Group__2__Impl" + + + // $ANTLR start "rule__MetamodelElement__Group_0__0" + // InternalApplicationConfiguration.g:3947:1: rule__MetamodelElement__Group_0__0 : rule__MetamodelElement__Group_0__0__Impl rule__MetamodelElement__Group_0__1 ; + public final void rule__MetamodelElement__Group_0__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:3951:1: ( rule__MetamodelElement__Group_0__0__Impl rule__MetamodelElement__Group_0__1 ) + // InternalApplicationConfiguration.g:3952:2: rule__MetamodelElement__Group_0__0__Impl rule__MetamodelElement__Group_0__1 + { + pushFollow(FOLLOW_20); + rule__MetamodelElement__Group_0__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__MetamodelElement__Group_0__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__MetamodelElement__Group_0__0" + + + // $ANTLR start "rule__MetamodelElement__Group_0__0__Impl" + // InternalApplicationConfiguration.g:3959:1: rule__MetamodelElement__Group_0__0__Impl : ( ( rule__MetamodelElement__PackageAssignment_0_0 ) ) ; + public final void rule__MetamodelElement__Group_0__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:3963:1: ( ( ( rule__MetamodelElement__PackageAssignment_0_0 ) ) ) + // InternalApplicationConfiguration.g:3964:1: ( ( rule__MetamodelElement__PackageAssignment_0_0 ) ) + { + // InternalApplicationConfiguration.g:3964:1: ( ( rule__MetamodelElement__PackageAssignment_0_0 ) ) + // InternalApplicationConfiguration.g:3965:2: ( rule__MetamodelElement__PackageAssignment_0_0 ) + { + before(grammarAccess.getMetamodelElementAccess().getPackageAssignment_0_0()); + // InternalApplicationConfiguration.g:3966:2: ( rule__MetamodelElement__PackageAssignment_0_0 ) + // InternalApplicationConfiguration.g:3966:3: rule__MetamodelElement__PackageAssignment_0_0 + { + pushFollow(FOLLOW_2); + rule__MetamodelElement__PackageAssignment_0_0(); + + state._fsp--; + + + } + + after(grammarAccess.getMetamodelElementAccess().getPackageAssignment_0_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__MetamodelElement__Group_0__0__Impl" + + + // $ANTLR start "rule__MetamodelElement__Group_0__1" + // InternalApplicationConfiguration.g:3974:1: rule__MetamodelElement__Group_0__1 : rule__MetamodelElement__Group_0__1__Impl ; + public final void rule__MetamodelElement__Group_0__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:3978:1: ( rule__MetamodelElement__Group_0__1__Impl ) + // InternalApplicationConfiguration.g:3979:2: rule__MetamodelElement__Group_0__1__Impl + { + pushFollow(FOLLOW_2); + rule__MetamodelElement__Group_0__1__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__MetamodelElement__Group_0__1" + + + // $ANTLR start "rule__MetamodelElement__Group_0__1__Impl" + // InternalApplicationConfiguration.g:3985:1: rule__MetamodelElement__Group_0__1__Impl : ( '::' ) ; + public final void rule__MetamodelElement__Group_0__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:3989:1: ( ( '::' ) ) + // InternalApplicationConfiguration.g:3990:1: ( '::' ) + { + // InternalApplicationConfiguration.g:3990:1: ( '::' ) + // InternalApplicationConfiguration.g:3991:2: '::' + { + before(grammarAccess.getMetamodelElementAccess().getColonColonKeyword_0_1()); + match(input,34,FOLLOW_2); + after(grammarAccess.getMetamodelElementAccess().getColonColonKeyword_0_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__MetamodelElement__Group_0__1__Impl" + + + // $ANTLR start "rule__MetamodelElement__Group_2__0" + // InternalApplicationConfiguration.g:4001:1: rule__MetamodelElement__Group_2__0 : rule__MetamodelElement__Group_2__0__Impl rule__MetamodelElement__Group_2__1 ; + public final void rule__MetamodelElement__Group_2__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:4005:1: ( rule__MetamodelElement__Group_2__0__Impl rule__MetamodelElement__Group_2__1 ) + // InternalApplicationConfiguration.g:4006:2: rule__MetamodelElement__Group_2__0__Impl rule__MetamodelElement__Group_2__1 + { + pushFollow(FOLLOW_8); + rule__MetamodelElement__Group_2__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__MetamodelElement__Group_2__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__MetamodelElement__Group_2__0" + + + // $ANTLR start "rule__MetamodelElement__Group_2__0__Impl" + // InternalApplicationConfiguration.g:4013:1: rule__MetamodelElement__Group_2__0__Impl : ( '.' ) ; + public final void rule__MetamodelElement__Group_2__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:4017:1: ( ( '.' ) ) + // InternalApplicationConfiguration.g:4018:1: ( '.' ) + { + // InternalApplicationConfiguration.g:4018:1: ( '.' ) + // InternalApplicationConfiguration.g:4019:2: '.' + { + before(grammarAccess.getMetamodelElementAccess().getFullStopKeyword_2_0()); + match(input,21,FOLLOW_2); + after(grammarAccess.getMetamodelElementAccess().getFullStopKeyword_2_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__MetamodelElement__Group_2__0__Impl" + + + // $ANTLR start "rule__MetamodelElement__Group_2__1" + // InternalApplicationConfiguration.g:4028:1: rule__MetamodelElement__Group_2__1 : rule__MetamodelElement__Group_2__1__Impl ; + public final void rule__MetamodelElement__Group_2__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:4032:1: ( rule__MetamodelElement__Group_2__1__Impl ) + // InternalApplicationConfiguration.g:4033:2: rule__MetamodelElement__Group_2__1__Impl + { + pushFollow(FOLLOW_2); + rule__MetamodelElement__Group_2__1__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__MetamodelElement__Group_2__1" + + + // $ANTLR start "rule__MetamodelElement__Group_2__1__Impl" + // InternalApplicationConfiguration.g:4039:1: rule__MetamodelElement__Group_2__1__Impl : ( ( rule__MetamodelElement__FeatureAssignment_2_1 ) ) ; + public final void rule__MetamodelElement__Group_2__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:4043:1: ( ( ( rule__MetamodelElement__FeatureAssignment_2_1 ) ) ) + // InternalApplicationConfiguration.g:4044:1: ( ( rule__MetamodelElement__FeatureAssignment_2_1 ) ) + { + // InternalApplicationConfiguration.g:4044:1: ( ( rule__MetamodelElement__FeatureAssignment_2_1 ) ) + // InternalApplicationConfiguration.g:4045:2: ( rule__MetamodelElement__FeatureAssignment_2_1 ) + { + before(grammarAccess.getMetamodelElementAccess().getFeatureAssignment_2_1()); + // InternalApplicationConfiguration.g:4046:2: ( rule__MetamodelElement__FeatureAssignment_2_1 ) + // InternalApplicationConfiguration.g:4046:3: rule__MetamodelElement__FeatureAssignment_2_1 + { + pushFollow(FOLLOW_2); + rule__MetamodelElement__FeatureAssignment_2_1(); + + state._fsp--; + + + } + + after(grammarAccess.getMetamodelElementAccess().getFeatureAssignment_2_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__MetamodelElement__Group_2__1__Impl" + + + // $ANTLR start "rule__MetamodelDeclaration__Group__0" + // InternalApplicationConfiguration.g:4055:1: rule__MetamodelDeclaration__Group__0 : rule__MetamodelDeclaration__Group__0__Impl rule__MetamodelDeclaration__Group__1 ; + public final void rule__MetamodelDeclaration__Group__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:4059:1: ( rule__MetamodelDeclaration__Group__0__Impl rule__MetamodelDeclaration__Group__1 ) + // InternalApplicationConfiguration.g:4060:2: rule__MetamodelDeclaration__Group__0__Impl rule__MetamodelDeclaration__Group__1 + { + pushFollow(FOLLOW_8); + rule__MetamodelDeclaration__Group__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__MetamodelDeclaration__Group__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__MetamodelDeclaration__Group__0" + + + // $ANTLR start "rule__MetamodelDeclaration__Group__0__Impl" + // InternalApplicationConfiguration.g:4067:1: rule__MetamodelDeclaration__Group__0__Impl : ( 'metamodel' ) ; + public final void rule__MetamodelDeclaration__Group__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:4071:1: ( ( 'metamodel' ) ) + // InternalApplicationConfiguration.g:4072:1: ( 'metamodel' ) + { + // InternalApplicationConfiguration.g:4072:1: ( 'metamodel' ) + // InternalApplicationConfiguration.g:4073:2: 'metamodel' + { + before(grammarAccess.getMetamodelDeclarationAccess().getMetamodelKeyword_0()); + match(input,35,FOLLOW_2); + after(grammarAccess.getMetamodelDeclarationAccess().getMetamodelKeyword_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__MetamodelDeclaration__Group__0__Impl" + + + // $ANTLR start "rule__MetamodelDeclaration__Group__1" + // InternalApplicationConfiguration.g:4082:1: rule__MetamodelDeclaration__Group__1 : rule__MetamodelDeclaration__Group__1__Impl rule__MetamodelDeclaration__Group__2 ; + public final void rule__MetamodelDeclaration__Group__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:4086:1: ( rule__MetamodelDeclaration__Group__1__Impl rule__MetamodelDeclaration__Group__2 ) + // InternalApplicationConfiguration.g:4087:2: rule__MetamodelDeclaration__Group__1__Impl rule__MetamodelDeclaration__Group__2 + { + pushFollow(FOLLOW_19); + rule__MetamodelDeclaration__Group__1__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__MetamodelDeclaration__Group__2(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__MetamodelDeclaration__Group__1" + + + // $ANTLR start "rule__MetamodelDeclaration__Group__1__Impl" + // InternalApplicationConfiguration.g:4094:1: rule__MetamodelDeclaration__Group__1__Impl : ( ( rule__MetamodelDeclaration__NameAssignment_1 ) ) ; + public final void rule__MetamodelDeclaration__Group__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:4098:1: ( ( ( rule__MetamodelDeclaration__NameAssignment_1 ) ) ) + // InternalApplicationConfiguration.g:4099:1: ( ( rule__MetamodelDeclaration__NameAssignment_1 ) ) + { + // InternalApplicationConfiguration.g:4099:1: ( ( rule__MetamodelDeclaration__NameAssignment_1 ) ) + // InternalApplicationConfiguration.g:4100:2: ( rule__MetamodelDeclaration__NameAssignment_1 ) + { + before(grammarAccess.getMetamodelDeclarationAccess().getNameAssignment_1()); + // InternalApplicationConfiguration.g:4101:2: ( rule__MetamodelDeclaration__NameAssignment_1 ) + // InternalApplicationConfiguration.g:4101:3: rule__MetamodelDeclaration__NameAssignment_1 + { + pushFollow(FOLLOW_2); + rule__MetamodelDeclaration__NameAssignment_1(); + + state._fsp--; + + + } + + after(grammarAccess.getMetamodelDeclarationAccess().getNameAssignment_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__MetamodelDeclaration__Group__1__Impl" + + + // $ANTLR start "rule__MetamodelDeclaration__Group__2" + // InternalApplicationConfiguration.g:4109:1: rule__MetamodelDeclaration__Group__2 : rule__MetamodelDeclaration__Group__2__Impl ; + public final void rule__MetamodelDeclaration__Group__2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:4113:1: ( rule__MetamodelDeclaration__Group__2__Impl ) + // InternalApplicationConfiguration.g:4114:2: rule__MetamodelDeclaration__Group__2__Impl + { + pushFollow(FOLLOW_2); + rule__MetamodelDeclaration__Group__2__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__MetamodelDeclaration__Group__2" + + + // $ANTLR start "rule__MetamodelDeclaration__Group__2__Impl" + // InternalApplicationConfiguration.g:4120:1: rule__MetamodelDeclaration__Group__2__Impl : ( ( rule__MetamodelDeclaration__SpecificationAssignment_2 ) ) ; + public final void rule__MetamodelDeclaration__Group__2__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:4124:1: ( ( ( rule__MetamodelDeclaration__SpecificationAssignment_2 ) ) ) + // InternalApplicationConfiguration.g:4125:1: ( ( rule__MetamodelDeclaration__SpecificationAssignment_2 ) ) + { + // InternalApplicationConfiguration.g:4125:1: ( ( rule__MetamodelDeclaration__SpecificationAssignment_2 ) ) + // InternalApplicationConfiguration.g:4126:2: ( rule__MetamodelDeclaration__SpecificationAssignment_2 ) + { + before(grammarAccess.getMetamodelDeclarationAccess().getSpecificationAssignment_2()); + // InternalApplicationConfiguration.g:4127:2: ( rule__MetamodelDeclaration__SpecificationAssignment_2 ) + // InternalApplicationConfiguration.g:4127:3: rule__MetamodelDeclaration__SpecificationAssignment_2 + { + pushFollow(FOLLOW_2); + rule__MetamodelDeclaration__SpecificationAssignment_2(); + + state._fsp--; + + + } + + after(grammarAccess.getMetamodelDeclarationAccess().getSpecificationAssignment_2()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__MetamodelDeclaration__Group__2__Impl" + + + // $ANTLR start "rule__PartialModelSpecification__Group__0" + // InternalApplicationConfiguration.g:4136:1: rule__PartialModelSpecification__Group__0 : rule__PartialModelSpecification__Group__0__Impl rule__PartialModelSpecification__Group__1 ; + public final void rule__PartialModelSpecification__Group__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:4140:1: ( rule__PartialModelSpecification__Group__0__Impl rule__PartialModelSpecification__Group__1 ) + // InternalApplicationConfiguration.g:4141:2: rule__PartialModelSpecification__Group__0__Impl rule__PartialModelSpecification__Group__1 + { + pushFollow(FOLLOW_21); + rule__PartialModelSpecification__Group__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__PartialModelSpecification__Group__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PartialModelSpecification__Group__0" + + + // $ANTLR start "rule__PartialModelSpecification__Group__0__Impl" + // InternalApplicationConfiguration.g:4148:1: rule__PartialModelSpecification__Group__0__Impl : ( '{' ) ; + public final void rule__PartialModelSpecification__Group__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:4152:1: ( ( '{' ) ) + // InternalApplicationConfiguration.g:4153:1: ( '{' ) + { + // InternalApplicationConfiguration.g:4153:1: ( '{' ) + // InternalApplicationConfiguration.g:4154:2: '{' + { + before(grammarAccess.getPartialModelSpecificationAccess().getLeftCurlyBracketKeyword_0()); + match(input,29,FOLLOW_2); + after(grammarAccess.getPartialModelSpecificationAccess().getLeftCurlyBracketKeyword_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PartialModelSpecification__Group__0__Impl" + + + // $ANTLR start "rule__PartialModelSpecification__Group__1" + // InternalApplicationConfiguration.g:4163:1: rule__PartialModelSpecification__Group__1 : rule__PartialModelSpecification__Group__1__Impl rule__PartialModelSpecification__Group__2 ; + public final void rule__PartialModelSpecification__Group__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:4167:1: ( rule__PartialModelSpecification__Group__1__Impl rule__PartialModelSpecification__Group__2 ) + // InternalApplicationConfiguration.g:4168:2: rule__PartialModelSpecification__Group__1__Impl rule__PartialModelSpecification__Group__2 + { + pushFollow(FOLLOW_16); + rule__PartialModelSpecification__Group__1__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__PartialModelSpecification__Group__2(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PartialModelSpecification__Group__1" + + + // $ANTLR start "rule__PartialModelSpecification__Group__1__Impl" + // InternalApplicationConfiguration.g:4175:1: rule__PartialModelSpecification__Group__1__Impl : ( ( rule__PartialModelSpecification__EntryAssignment_1 ) ) ; + public final void rule__PartialModelSpecification__Group__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:4179:1: ( ( ( rule__PartialModelSpecification__EntryAssignment_1 ) ) ) + // InternalApplicationConfiguration.g:4180:1: ( ( rule__PartialModelSpecification__EntryAssignment_1 ) ) + { + // InternalApplicationConfiguration.g:4180:1: ( ( rule__PartialModelSpecification__EntryAssignment_1 ) ) + // InternalApplicationConfiguration.g:4181:2: ( rule__PartialModelSpecification__EntryAssignment_1 ) + { + before(grammarAccess.getPartialModelSpecificationAccess().getEntryAssignment_1()); + // InternalApplicationConfiguration.g:4182:2: ( rule__PartialModelSpecification__EntryAssignment_1 ) + // InternalApplicationConfiguration.g:4182:3: rule__PartialModelSpecification__EntryAssignment_1 + { + pushFollow(FOLLOW_2); + rule__PartialModelSpecification__EntryAssignment_1(); + + state._fsp--; + + + } + + after(grammarAccess.getPartialModelSpecificationAccess().getEntryAssignment_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PartialModelSpecification__Group__1__Impl" + + + // $ANTLR start "rule__PartialModelSpecification__Group__2" + // InternalApplicationConfiguration.g:4190:1: rule__PartialModelSpecification__Group__2 : rule__PartialModelSpecification__Group__2__Impl rule__PartialModelSpecification__Group__3 ; + public final void rule__PartialModelSpecification__Group__2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:4194:1: ( rule__PartialModelSpecification__Group__2__Impl rule__PartialModelSpecification__Group__3 ) + // InternalApplicationConfiguration.g:4195:2: rule__PartialModelSpecification__Group__2__Impl rule__PartialModelSpecification__Group__3 + { + pushFollow(FOLLOW_16); + rule__PartialModelSpecification__Group__2__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__PartialModelSpecification__Group__3(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PartialModelSpecification__Group__2" + + + // $ANTLR start "rule__PartialModelSpecification__Group__2__Impl" + // InternalApplicationConfiguration.g:4202:1: rule__PartialModelSpecification__Group__2__Impl : ( ( rule__PartialModelSpecification__Group_2__0 )? ) ; + public final void rule__PartialModelSpecification__Group__2__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:4206:1: ( ( ( rule__PartialModelSpecification__Group_2__0 )? ) ) + // InternalApplicationConfiguration.g:4207:1: ( ( rule__PartialModelSpecification__Group_2__0 )? ) + { + // InternalApplicationConfiguration.g:4207:1: ( ( rule__PartialModelSpecification__Group_2__0 )? ) + // InternalApplicationConfiguration.g:4208:2: ( rule__PartialModelSpecification__Group_2__0 )? + { + before(grammarAccess.getPartialModelSpecificationAccess().getGroup_2()); + // InternalApplicationConfiguration.g:4209:2: ( rule__PartialModelSpecification__Group_2__0 )? + int alt43=2; + int LA43_0 = input.LA(1); + + if ( (LA43_0==31) ) { + alt43=1; + } + switch (alt43) { + case 1 : + // InternalApplicationConfiguration.g:4209:3: rule__PartialModelSpecification__Group_2__0 + { + pushFollow(FOLLOW_2); + rule__PartialModelSpecification__Group_2__0(); + + state._fsp--; + + + } + break; + + } + + after(grammarAccess.getPartialModelSpecificationAccess().getGroup_2()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PartialModelSpecification__Group__2__Impl" + + + // $ANTLR start "rule__PartialModelSpecification__Group__3" + // InternalApplicationConfiguration.g:4217:1: rule__PartialModelSpecification__Group__3 : rule__PartialModelSpecification__Group__3__Impl ; + public final void rule__PartialModelSpecification__Group__3() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:4221:1: ( rule__PartialModelSpecification__Group__3__Impl ) + // InternalApplicationConfiguration.g:4222:2: rule__PartialModelSpecification__Group__3__Impl + { + pushFollow(FOLLOW_2); + rule__PartialModelSpecification__Group__3__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PartialModelSpecification__Group__3" + + + // $ANTLR start "rule__PartialModelSpecification__Group__3__Impl" + // InternalApplicationConfiguration.g:4228:1: rule__PartialModelSpecification__Group__3__Impl : ( '}' ) ; + public final void rule__PartialModelSpecification__Group__3__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:4232:1: ( ( '}' ) ) + // InternalApplicationConfiguration.g:4233:1: ( '}' ) + { + // InternalApplicationConfiguration.g:4233:1: ( '}' ) + // InternalApplicationConfiguration.g:4234:2: '}' + { + before(grammarAccess.getPartialModelSpecificationAccess().getRightCurlyBracketKeyword_3()); + match(input,30,FOLLOW_2); + after(grammarAccess.getPartialModelSpecificationAccess().getRightCurlyBracketKeyword_3()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PartialModelSpecification__Group__3__Impl" + + + // $ANTLR start "rule__PartialModelSpecification__Group_2__0" + // InternalApplicationConfiguration.g:4244:1: rule__PartialModelSpecification__Group_2__0 : rule__PartialModelSpecification__Group_2__0__Impl rule__PartialModelSpecification__Group_2__1 ; + public final void rule__PartialModelSpecification__Group_2__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:4248:1: ( rule__PartialModelSpecification__Group_2__0__Impl rule__PartialModelSpecification__Group_2__1 ) + // InternalApplicationConfiguration.g:4249:2: rule__PartialModelSpecification__Group_2__0__Impl rule__PartialModelSpecification__Group_2__1 + { + pushFollow(FOLLOW_21); + rule__PartialModelSpecification__Group_2__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__PartialModelSpecification__Group_2__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PartialModelSpecification__Group_2__0" + + + // $ANTLR start "rule__PartialModelSpecification__Group_2__0__Impl" + // InternalApplicationConfiguration.g:4256:1: rule__PartialModelSpecification__Group_2__0__Impl : ( ',' ) ; + public final void rule__PartialModelSpecification__Group_2__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:4260:1: ( ( ',' ) ) + // InternalApplicationConfiguration.g:4261:1: ( ',' ) + { + // InternalApplicationConfiguration.g:4261:1: ( ',' ) + // InternalApplicationConfiguration.g:4262:2: ',' + { + before(grammarAccess.getPartialModelSpecificationAccess().getCommaKeyword_2_0()); + match(input,31,FOLLOW_2); + after(grammarAccess.getPartialModelSpecificationAccess().getCommaKeyword_2_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PartialModelSpecification__Group_2__0__Impl" + + + // $ANTLR start "rule__PartialModelSpecification__Group_2__1" + // InternalApplicationConfiguration.g:4271:1: rule__PartialModelSpecification__Group_2__1 : rule__PartialModelSpecification__Group_2__1__Impl ; + public final void rule__PartialModelSpecification__Group_2__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:4275:1: ( rule__PartialModelSpecification__Group_2__1__Impl ) + // InternalApplicationConfiguration.g:4276:2: rule__PartialModelSpecification__Group_2__1__Impl + { + pushFollow(FOLLOW_2); + rule__PartialModelSpecification__Group_2__1__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PartialModelSpecification__Group_2__1" + + + // $ANTLR start "rule__PartialModelSpecification__Group_2__1__Impl" + // InternalApplicationConfiguration.g:4282:1: rule__PartialModelSpecification__Group_2__1__Impl : ( ( rule__PartialModelSpecification__EntryAssignment_2_1 ) ) ; + public final void rule__PartialModelSpecification__Group_2__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:4286:1: ( ( ( rule__PartialModelSpecification__EntryAssignment_2_1 ) ) ) + // InternalApplicationConfiguration.g:4287:1: ( ( rule__PartialModelSpecification__EntryAssignment_2_1 ) ) + { + // InternalApplicationConfiguration.g:4287:1: ( ( rule__PartialModelSpecification__EntryAssignment_2_1 ) ) + // InternalApplicationConfiguration.g:4288:2: ( rule__PartialModelSpecification__EntryAssignment_2_1 ) + { + before(grammarAccess.getPartialModelSpecificationAccess().getEntryAssignment_2_1()); + // InternalApplicationConfiguration.g:4289:2: ( rule__PartialModelSpecification__EntryAssignment_2_1 ) + // InternalApplicationConfiguration.g:4289:3: rule__PartialModelSpecification__EntryAssignment_2_1 + { + pushFollow(FOLLOW_2); + rule__PartialModelSpecification__EntryAssignment_2_1(); + + state._fsp--; + + + } + + after(grammarAccess.getPartialModelSpecificationAccess().getEntryAssignment_2_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PartialModelSpecification__Group_2__1__Impl" + + + // $ANTLR start "rule__FolderEntry__Group__0" + // InternalApplicationConfiguration.g:4298:1: rule__FolderEntry__Group__0 : rule__FolderEntry__Group__0__Impl rule__FolderEntry__Group__1 ; + public final void rule__FolderEntry__Group__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:4302:1: ( rule__FolderEntry__Group__0__Impl rule__FolderEntry__Group__1 ) + // InternalApplicationConfiguration.g:4303:2: rule__FolderEntry__Group__0__Impl rule__FolderEntry__Group__1 + { + pushFollow(FOLLOW_22); + rule__FolderEntry__Group__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__FolderEntry__Group__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__FolderEntry__Group__0" + + + // $ANTLR start "rule__FolderEntry__Group__0__Impl" + // InternalApplicationConfiguration.g:4310:1: rule__FolderEntry__Group__0__Impl : ( 'folder' ) ; + public final void rule__FolderEntry__Group__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:4314:1: ( ( 'folder' ) ) + // InternalApplicationConfiguration.g:4315:1: ( 'folder' ) + { + // InternalApplicationConfiguration.g:4315:1: ( 'folder' ) + // InternalApplicationConfiguration.g:4316:2: 'folder' + { + before(grammarAccess.getFolderEntryAccess().getFolderKeyword_0()); + match(input,36,FOLLOW_2); + after(grammarAccess.getFolderEntryAccess().getFolderKeyword_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__FolderEntry__Group__0__Impl" + + + // $ANTLR start "rule__FolderEntry__Group__1" + // InternalApplicationConfiguration.g:4325:1: rule__FolderEntry__Group__1 : rule__FolderEntry__Group__1__Impl rule__FolderEntry__Group__2 ; + public final void rule__FolderEntry__Group__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:4329:1: ( rule__FolderEntry__Group__1__Impl rule__FolderEntry__Group__2 ) + // InternalApplicationConfiguration.g:4330:2: rule__FolderEntry__Group__1__Impl rule__FolderEntry__Group__2 + { + pushFollow(FOLLOW_18); + rule__FolderEntry__Group__1__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__FolderEntry__Group__2(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__FolderEntry__Group__1" + + + // $ANTLR start "rule__FolderEntry__Group__1__Impl" + // InternalApplicationConfiguration.g:4337:1: rule__FolderEntry__Group__1__Impl : ( ( rule__FolderEntry__PathAssignment_1 ) ) ; + public final void rule__FolderEntry__Group__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:4341:1: ( ( ( rule__FolderEntry__PathAssignment_1 ) ) ) + // InternalApplicationConfiguration.g:4342:1: ( ( rule__FolderEntry__PathAssignment_1 ) ) + { + // InternalApplicationConfiguration.g:4342:1: ( ( rule__FolderEntry__PathAssignment_1 ) ) + // InternalApplicationConfiguration.g:4343:2: ( rule__FolderEntry__PathAssignment_1 ) + { + before(grammarAccess.getFolderEntryAccess().getPathAssignment_1()); + // InternalApplicationConfiguration.g:4344:2: ( rule__FolderEntry__PathAssignment_1 ) + // InternalApplicationConfiguration.g:4344:3: rule__FolderEntry__PathAssignment_1 + { + pushFollow(FOLLOW_2); + rule__FolderEntry__PathAssignment_1(); + + state._fsp--; + + + } + + after(grammarAccess.getFolderEntryAccess().getPathAssignment_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__FolderEntry__Group__1__Impl" + + + // $ANTLR start "rule__FolderEntry__Group__2" + // InternalApplicationConfiguration.g:4352:1: rule__FolderEntry__Group__2 : rule__FolderEntry__Group__2__Impl ; + public final void rule__FolderEntry__Group__2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:4356:1: ( rule__FolderEntry__Group__2__Impl ) + // InternalApplicationConfiguration.g:4357:2: rule__FolderEntry__Group__2__Impl + { + pushFollow(FOLLOW_2); + rule__FolderEntry__Group__2__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__FolderEntry__Group__2" + + + // $ANTLR start "rule__FolderEntry__Group__2__Impl" + // InternalApplicationConfiguration.g:4363:1: rule__FolderEntry__Group__2__Impl : ( ( rule__FolderEntry__Group_2__0 )? ) ; + public final void rule__FolderEntry__Group__2__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:4367:1: ( ( ( rule__FolderEntry__Group_2__0 )? ) ) + // InternalApplicationConfiguration.g:4368:1: ( ( rule__FolderEntry__Group_2__0 )? ) + { + // InternalApplicationConfiguration.g:4368:1: ( ( rule__FolderEntry__Group_2__0 )? ) + // InternalApplicationConfiguration.g:4369:2: ( rule__FolderEntry__Group_2__0 )? + { + before(grammarAccess.getFolderEntryAccess().getGroup_2()); + // InternalApplicationConfiguration.g:4370:2: ( rule__FolderEntry__Group_2__0 )? + int alt44=2; + int LA44_0 = input.LA(1); + + if ( (LA44_0==33) ) { + alt44=1; + } + switch (alt44) { + case 1 : + // InternalApplicationConfiguration.g:4370:3: rule__FolderEntry__Group_2__0 + { + pushFollow(FOLLOW_2); + rule__FolderEntry__Group_2__0(); + + state._fsp--; + + + } + break; + + } + + after(grammarAccess.getFolderEntryAccess().getGroup_2()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__FolderEntry__Group__2__Impl" + + + // $ANTLR start "rule__FolderEntry__Group_2__0" + // InternalApplicationConfiguration.g:4379:1: rule__FolderEntry__Group_2__0 : rule__FolderEntry__Group_2__0__Impl rule__FolderEntry__Group_2__1 ; + public final void rule__FolderEntry__Group_2__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:4383:1: ( rule__FolderEntry__Group_2__0__Impl rule__FolderEntry__Group_2__1 ) + // InternalApplicationConfiguration.g:4384:2: rule__FolderEntry__Group_2__0__Impl rule__FolderEntry__Group_2__1 + { + pushFollow(FOLLOW_19); + rule__FolderEntry__Group_2__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__FolderEntry__Group_2__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__FolderEntry__Group_2__0" + + + // $ANTLR start "rule__FolderEntry__Group_2__0__Impl" + // InternalApplicationConfiguration.g:4391:1: rule__FolderEntry__Group_2__0__Impl : ( 'excluding' ) ; + public final void rule__FolderEntry__Group_2__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:4395:1: ( ( 'excluding' ) ) + // InternalApplicationConfiguration.g:4396:1: ( 'excluding' ) + { + // InternalApplicationConfiguration.g:4396:1: ( 'excluding' ) + // InternalApplicationConfiguration.g:4397:2: 'excluding' + { + before(grammarAccess.getFolderEntryAccess().getExcludingKeyword_2_0()); + match(input,33,FOLLOW_2); + after(grammarAccess.getFolderEntryAccess().getExcludingKeyword_2_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__FolderEntry__Group_2__0__Impl" + + + // $ANTLR start "rule__FolderEntry__Group_2__1" + // InternalApplicationConfiguration.g:4406:1: rule__FolderEntry__Group_2__1 : rule__FolderEntry__Group_2__1__Impl rule__FolderEntry__Group_2__2 ; + public final void rule__FolderEntry__Group_2__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:4410:1: ( rule__FolderEntry__Group_2__1__Impl rule__FolderEntry__Group_2__2 ) + // InternalApplicationConfiguration.g:4411:2: rule__FolderEntry__Group_2__1__Impl rule__FolderEntry__Group_2__2 + { + pushFollow(FOLLOW_22); + rule__FolderEntry__Group_2__1__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__FolderEntry__Group_2__2(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__FolderEntry__Group_2__1" + + + // $ANTLR start "rule__FolderEntry__Group_2__1__Impl" + // InternalApplicationConfiguration.g:4418:1: rule__FolderEntry__Group_2__1__Impl : ( '{' ) ; + public final void rule__FolderEntry__Group_2__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:4422:1: ( ( '{' ) ) + // InternalApplicationConfiguration.g:4423:1: ( '{' ) + { + // InternalApplicationConfiguration.g:4423:1: ( '{' ) + // InternalApplicationConfiguration.g:4424:2: '{' + { + before(grammarAccess.getFolderEntryAccess().getLeftCurlyBracketKeyword_2_1()); + match(input,29,FOLLOW_2); + after(grammarAccess.getFolderEntryAccess().getLeftCurlyBracketKeyword_2_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__FolderEntry__Group_2__1__Impl" + + + // $ANTLR start "rule__FolderEntry__Group_2__2" + // InternalApplicationConfiguration.g:4433:1: rule__FolderEntry__Group_2__2 : rule__FolderEntry__Group_2__2__Impl rule__FolderEntry__Group_2__3 ; + public final void rule__FolderEntry__Group_2__2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:4437:1: ( rule__FolderEntry__Group_2__2__Impl rule__FolderEntry__Group_2__3 ) + // InternalApplicationConfiguration.g:4438:2: rule__FolderEntry__Group_2__2__Impl rule__FolderEntry__Group_2__3 + { + pushFollow(FOLLOW_16); + rule__FolderEntry__Group_2__2__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__FolderEntry__Group_2__3(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__FolderEntry__Group_2__2" + + + // $ANTLR start "rule__FolderEntry__Group_2__2__Impl" + // InternalApplicationConfiguration.g:4445:1: rule__FolderEntry__Group_2__2__Impl : ( ( rule__FolderEntry__ExclusionAssignment_2_2 ) ) ; + public final void rule__FolderEntry__Group_2__2__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:4449:1: ( ( ( rule__FolderEntry__ExclusionAssignment_2_2 ) ) ) + // InternalApplicationConfiguration.g:4450:1: ( ( rule__FolderEntry__ExclusionAssignment_2_2 ) ) + { + // InternalApplicationConfiguration.g:4450:1: ( ( rule__FolderEntry__ExclusionAssignment_2_2 ) ) + // InternalApplicationConfiguration.g:4451:2: ( rule__FolderEntry__ExclusionAssignment_2_2 ) + { + before(grammarAccess.getFolderEntryAccess().getExclusionAssignment_2_2()); + // InternalApplicationConfiguration.g:4452:2: ( rule__FolderEntry__ExclusionAssignment_2_2 ) + // InternalApplicationConfiguration.g:4452:3: rule__FolderEntry__ExclusionAssignment_2_2 + { + pushFollow(FOLLOW_2); + rule__FolderEntry__ExclusionAssignment_2_2(); + + state._fsp--; + + + } + + after(grammarAccess.getFolderEntryAccess().getExclusionAssignment_2_2()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__FolderEntry__Group_2__2__Impl" + + + // $ANTLR start "rule__FolderEntry__Group_2__3" + // InternalApplicationConfiguration.g:4460:1: rule__FolderEntry__Group_2__3 : rule__FolderEntry__Group_2__3__Impl rule__FolderEntry__Group_2__4 ; + public final void rule__FolderEntry__Group_2__3() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:4464:1: ( rule__FolderEntry__Group_2__3__Impl rule__FolderEntry__Group_2__4 ) + // InternalApplicationConfiguration.g:4465:2: rule__FolderEntry__Group_2__3__Impl rule__FolderEntry__Group_2__4 + { + pushFollow(FOLLOW_16); + rule__FolderEntry__Group_2__3__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__FolderEntry__Group_2__4(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__FolderEntry__Group_2__3" + + + // $ANTLR start "rule__FolderEntry__Group_2__3__Impl" + // InternalApplicationConfiguration.g:4472:1: rule__FolderEntry__Group_2__3__Impl : ( ( rule__FolderEntry__Group_2_3__0 )* ) ; + public final void rule__FolderEntry__Group_2__3__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:4476:1: ( ( ( rule__FolderEntry__Group_2_3__0 )* ) ) + // InternalApplicationConfiguration.g:4477:1: ( ( rule__FolderEntry__Group_2_3__0 )* ) + { + // InternalApplicationConfiguration.g:4477:1: ( ( rule__FolderEntry__Group_2_3__0 )* ) + // InternalApplicationConfiguration.g:4478:2: ( rule__FolderEntry__Group_2_3__0 )* + { + before(grammarAccess.getFolderEntryAccess().getGroup_2_3()); + // InternalApplicationConfiguration.g:4479:2: ( rule__FolderEntry__Group_2_3__0 )* + loop45: + do { + int alt45=2; + int LA45_0 = input.LA(1); + + if ( (LA45_0==31) ) { + alt45=1; + } + + + switch (alt45) { + case 1 : + // InternalApplicationConfiguration.g:4479:3: rule__FolderEntry__Group_2_3__0 + { + pushFollow(FOLLOW_17); + rule__FolderEntry__Group_2_3__0(); + + state._fsp--; + + + } + break; + + default : + break loop45; + } + } while (true); + + after(grammarAccess.getFolderEntryAccess().getGroup_2_3()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__FolderEntry__Group_2__3__Impl" + + + // $ANTLR start "rule__FolderEntry__Group_2__4" + // InternalApplicationConfiguration.g:4487:1: rule__FolderEntry__Group_2__4 : rule__FolderEntry__Group_2__4__Impl ; + public final void rule__FolderEntry__Group_2__4() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:4491:1: ( rule__FolderEntry__Group_2__4__Impl ) + // InternalApplicationConfiguration.g:4492:2: rule__FolderEntry__Group_2__4__Impl + { + pushFollow(FOLLOW_2); + rule__FolderEntry__Group_2__4__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__FolderEntry__Group_2__4" + + + // $ANTLR start "rule__FolderEntry__Group_2__4__Impl" + // InternalApplicationConfiguration.g:4498:1: rule__FolderEntry__Group_2__4__Impl : ( '}' ) ; + public final void rule__FolderEntry__Group_2__4__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:4502:1: ( ( '}' ) ) + // InternalApplicationConfiguration.g:4503:1: ( '}' ) + { + // InternalApplicationConfiguration.g:4503:1: ( '}' ) + // InternalApplicationConfiguration.g:4504:2: '}' + { + before(grammarAccess.getFolderEntryAccess().getRightCurlyBracketKeyword_2_4()); + match(input,30,FOLLOW_2); + after(grammarAccess.getFolderEntryAccess().getRightCurlyBracketKeyword_2_4()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__FolderEntry__Group_2__4__Impl" + + + // $ANTLR start "rule__FolderEntry__Group_2_3__0" + // InternalApplicationConfiguration.g:4514:1: rule__FolderEntry__Group_2_3__0 : rule__FolderEntry__Group_2_3__0__Impl rule__FolderEntry__Group_2_3__1 ; + public final void rule__FolderEntry__Group_2_3__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:4518:1: ( rule__FolderEntry__Group_2_3__0__Impl rule__FolderEntry__Group_2_3__1 ) + // InternalApplicationConfiguration.g:4519:2: rule__FolderEntry__Group_2_3__0__Impl rule__FolderEntry__Group_2_3__1 + { + pushFollow(FOLLOW_22); + rule__FolderEntry__Group_2_3__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__FolderEntry__Group_2_3__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__FolderEntry__Group_2_3__0" + + + // $ANTLR start "rule__FolderEntry__Group_2_3__0__Impl" + // InternalApplicationConfiguration.g:4526:1: rule__FolderEntry__Group_2_3__0__Impl : ( ',' ) ; + public final void rule__FolderEntry__Group_2_3__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:4530:1: ( ( ',' ) ) + // InternalApplicationConfiguration.g:4531:1: ( ',' ) + { + // InternalApplicationConfiguration.g:4531:1: ( ',' ) + // InternalApplicationConfiguration.g:4532:2: ',' + { + before(grammarAccess.getFolderEntryAccess().getCommaKeyword_2_3_0()); + match(input,31,FOLLOW_2); + after(grammarAccess.getFolderEntryAccess().getCommaKeyword_2_3_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__FolderEntry__Group_2_3__0__Impl" + + + // $ANTLR start "rule__FolderEntry__Group_2_3__1" + // InternalApplicationConfiguration.g:4541:1: rule__FolderEntry__Group_2_3__1 : rule__FolderEntry__Group_2_3__1__Impl ; + public final void rule__FolderEntry__Group_2_3__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:4545:1: ( rule__FolderEntry__Group_2_3__1__Impl ) + // InternalApplicationConfiguration.g:4546:2: rule__FolderEntry__Group_2_3__1__Impl + { + pushFollow(FOLLOW_2); + rule__FolderEntry__Group_2_3__1__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__FolderEntry__Group_2_3__1" + + + // $ANTLR start "rule__FolderEntry__Group_2_3__1__Impl" + // InternalApplicationConfiguration.g:4552:1: rule__FolderEntry__Group_2_3__1__Impl : ( ( rule__FolderEntry__ExclusionAssignment_2_3_1 ) ) ; + public final void rule__FolderEntry__Group_2_3__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:4556:1: ( ( ( rule__FolderEntry__ExclusionAssignment_2_3_1 ) ) ) + // InternalApplicationConfiguration.g:4557:1: ( ( rule__FolderEntry__ExclusionAssignment_2_3_1 ) ) + { + // InternalApplicationConfiguration.g:4557:1: ( ( rule__FolderEntry__ExclusionAssignment_2_3_1 ) ) + // InternalApplicationConfiguration.g:4558:2: ( rule__FolderEntry__ExclusionAssignment_2_3_1 ) + { + before(grammarAccess.getFolderEntryAccess().getExclusionAssignment_2_3_1()); + // InternalApplicationConfiguration.g:4559:2: ( rule__FolderEntry__ExclusionAssignment_2_3_1 ) + // InternalApplicationConfiguration.g:4559:3: rule__FolderEntry__ExclusionAssignment_2_3_1 + { + pushFollow(FOLLOW_2); + rule__FolderEntry__ExclusionAssignment_2_3_1(); + + state._fsp--; + + + } + + after(grammarAccess.getFolderEntryAccess().getExclusionAssignment_2_3_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__FolderEntry__Group_2_3__1__Impl" + + + // $ANTLR start "rule__PartialModelDeclaration__Group__0" + // InternalApplicationConfiguration.g:4568:1: rule__PartialModelDeclaration__Group__0 : rule__PartialModelDeclaration__Group__0__Impl rule__PartialModelDeclaration__Group__1 ; + public final void rule__PartialModelDeclaration__Group__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:4572:1: ( rule__PartialModelDeclaration__Group__0__Impl rule__PartialModelDeclaration__Group__1 ) + // InternalApplicationConfiguration.g:4573:2: rule__PartialModelDeclaration__Group__0__Impl rule__PartialModelDeclaration__Group__1 + { + pushFollow(FOLLOW_8); + rule__PartialModelDeclaration__Group__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__PartialModelDeclaration__Group__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PartialModelDeclaration__Group__0" + + + // $ANTLR start "rule__PartialModelDeclaration__Group__0__Impl" + // InternalApplicationConfiguration.g:4580:1: rule__PartialModelDeclaration__Group__0__Impl : ( 'models' ) ; + public final void rule__PartialModelDeclaration__Group__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:4584:1: ( ( 'models' ) ) + // InternalApplicationConfiguration.g:4585:1: ( 'models' ) + { + // InternalApplicationConfiguration.g:4585:1: ( 'models' ) + // InternalApplicationConfiguration.g:4586:2: 'models' + { + before(grammarAccess.getPartialModelDeclarationAccess().getModelsKeyword_0()); + match(input,37,FOLLOW_2); + after(grammarAccess.getPartialModelDeclarationAccess().getModelsKeyword_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PartialModelDeclaration__Group__0__Impl" + + + // $ANTLR start "rule__PartialModelDeclaration__Group__1" + // InternalApplicationConfiguration.g:4595:1: rule__PartialModelDeclaration__Group__1 : rule__PartialModelDeclaration__Group__1__Impl rule__PartialModelDeclaration__Group__2 ; + public final void rule__PartialModelDeclaration__Group__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:4599:1: ( rule__PartialModelDeclaration__Group__1__Impl rule__PartialModelDeclaration__Group__2 ) + // InternalApplicationConfiguration.g:4600:2: rule__PartialModelDeclaration__Group__1__Impl rule__PartialModelDeclaration__Group__2 + { + pushFollow(FOLLOW_19); + rule__PartialModelDeclaration__Group__1__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__PartialModelDeclaration__Group__2(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PartialModelDeclaration__Group__1" + + + // $ANTLR start "rule__PartialModelDeclaration__Group__1__Impl" + // InternalApplicationConfiguration.g:4607:1: rule__PartialModelDeclaration__Group__1__Impl : ( ( rule__PartialModelDeclaration__NameAssignment_1 ) ) ; + public final void rule__PartialModelDeclaration__Group__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:4611:1: ( ( ( rule__PartialModelDeclaration__NameAssignment_1 ) ) ) + // InternalApplicationConfiguration.g:4612:1: ( ( rule__PartialModelDeclaration__NameAssignment_1 ) ) + { + // InternalApplicationConfiguration.g:4612:1: ( ( rule__PartialModelDeclaration__NameAssignment_1 ) ) + // InternalApplicationConfiguration.g:4613:2: ( rule__PartialModelDeclaration__NameAssignment_1 ) + { + before(grammarAccess.getPartialModelDeclarationAccess().getNameAssignment_1()); + // InternalApplicationConfiguration.g:4614:2: ( rule__PartialModelDeclaration__NameAssignment_1 ) + // InternalApplicationConfiguration.g:4614:3: rule__PartialModelDeclaration__NameAssignment_1 + { + pushFollow(FOLLOW_2); + rule__PartialModelDeclaration__NameAssignment_1(); + + state._fsp--; + + + } + + after(grammarAccess.getPartialModelDeclarationAccess().getNameAssignment_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PartialModelDeclaration__Group__1__Impl" + + + // $ANTLR start "rule__PartialModelDeclaration__Group__2" + // InternalApplicationConfiguration.g:4622:1: rule__PartialModelDeclaration__Group__2 : rule__PartialModelDeclaration__Group__2__Impl ; + public final void rule__PartialModelDeclaration__Group__2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:4626:1: ( rule__PartialModelDeclaration__Group__2__Impl ) + // InternalApplicationConfiguration.g:4627:2: rule__PartialModelDeclaration__Group__2__Impl + { + pushFollow(FOLLOW_2); + rule__PartialModelDeclaration__Group__2__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PartialModelDeclaration__Group__2" + + + // $ANTLR start "rule__PartialModelDeclaration__Group__2__Impl" + // InternalApplicationConfiguration.g:4633:1: rule__PartialModelDeclaration__Group__2__Impl : ( ( rule__PartialModelDeclaration__SpecificationAssignment_2 ) ) ; + public final void rule__PartialModelDeclaration__Group__2__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:4637:1: ( ( ( rule__PartialModelDeclaration__SpecificationAssignment_2 ) ) ) + // InternalApplicationConfiguration.g:4638:1: ( ( rule__PartialModelDeclaration__SpecificationAssignment_2 ) ) + { + // InternalApplicationConfiguration.g:4638:1: ( ( rule__PartialModelDeclaration__SpecificationAssignment_2 ) ) + // InternalApplicationConfiguration.g:4639:2: ( rule__PartialModelDeclaration__SpecificationAssignment_2 ) + { + before(grammarAccess.getPartialModelDeclarationAccess().getSpecificationAssignment_2()); + // InternalApplicationConfiguration.g:4640:2: ( rule__PartialModelDeclaration__SpecificationAssignment_2 ) + // InternalApplicationConfiguration.g:4640:3: rule__PartialModelDeclaration__SpecificationAssignment_2 + { + pushFollow(FOLLOW_2); + rule__PartialModelDeclaration__SpecificationAssignment_2(); + + state._fsp--; + + + } + + after(grammarAccess.getPartialModelDeclarationAccess().getSpecificationAssignment_2()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PartialModelDeclaration__Group__2__Impl" + + + // $ANTLR start "rule__PatternSpecification__Group__0" + // InternalApplicationConfiguration.g:4649:1: rule__PatternSpecification__Group__0 : rule__PatternSpecification__Group__0__Impl rule__PatternSpecification__Group__1 ; + public final void rule__PatternSpecification__Group__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:4653:1: ( rule__PatternSpecification__Group__0__Impl rule__PatternSpecification__Group__1 ) + // InternalApplicationConfiguration.g:4654:2: rule__PatternSpecification__Group__0__Impl rule__PatternSpecification__Group__1 + { + pushFollow(FOLLOW_15); + rule__PatternSpecification__Group__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__PatternSpecification__Group__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PatternSpecification__Group__0" + + + // $ANTLR start "rule__PatternSpecification__Group__0__Impl" + // InternalApplicationConfiguration.g:4661:1: rule__PatternSpecification__Group__0__Impl : ( '{' ) ; + public final void rule__PatternSpecification__Group__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:4665:1: ( ( '{' ) ) + // InternalApplicationConfiguration.g:4666:1: ( '{' ) + { + // InternalApplicationConfiguration.g:4666:1: ( '{' ) + // InternalApplicationConfiguration.g:4667:2: '{' + { + before(grammarAccess.getPatternSpecificationAccess().getLeftCurlyBracketKeyword_0()); + match(input,29,FOLLOW_2); + after(grammarAccess.getPatternSpecificationAccess().getLeftCurlyBracketKeyword_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PatternSpecification__Group__0__Impl" + + + // $ANTLR start "rule__PatternSpecification__Group__1" + // InternalApplicationConfiguration.g:4676:1: rule__PatternSpecification__Group__1 : rule__PatternSpecification__Group__1__Impl rule__PatternSpecification__Group__2 ; + public final void rule__PatternSpecification__Group__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:4680:1: ( rule__PatternSpecification__Group__1__Impl rule__PatternSpecification__Group__2 ) + // InternalApplicationConfiguration.g:4681:2: rule__PatternSpecification__Group__1__Impl rule__PatternSpecification__Group__2 + { + pushFollow(FOLLOW_16); + rule__PatternSpecification__Group__1__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__PatternSpecification__Group__2(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PatternSpecification__Group__1" + + + // $ANTLR start "rule__PatternSpecification__Group__1__Impl" + // InternalApplicationConfiguration.g:4688:1: rule__PatternSpecification__Group__1__Impl : ( ( rule__PatternSpecification__EntriesAssignment_1 ) ) ; + public final void rule__PatternSpecification__Group__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:4692:1: ( ( ( rule__PatternSpecification__EntriesAssignment_1 ) ) ) + // InternalApplicationConfiguration.g:4693:1: ( ( rule__PatternSpecification__EntriesAssignment_1 ) ) + { + // InternalApplicationConfiguration.g:4693:1: ( ( rule__PatternSpecification__EntriesAssignment_1 ) ) + // InternalApplicationConfiguration.g:4694:2: ( rule__PatternSpecification__EntriesAssignment_1 ) + { + before(grammarAccess.getPatternSpecificationAccess().getEntriesAssignment_1()); + // InternalApplicationConfiguration.g:4695:2: ( rule__PatternSpecification__EntriesAssignment_1 ) + // InternalApplicationConfiguration.g:4695:3: rule__PatternSpecification__EntriesAssignment_1 + { + pushFollow(FOLLOW_2); + rule__PatternSpecification__EntriesAssignment_1(); + + state._fsp--; + + + } + + after(grammarAccess.getPatternSpecificationAccess().getEntriesAssignment_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PatternSpecification__Group__1__Impl" + + + // $ANTLR start "rule__PatternSpecification__Group__2" + // InternalApplicationConfiguration.g:4703:1: rule__PatternSpecification__Group__2 : rule__PatternSpecification__Group__2__Impl rule__PatternSpecification__Group__3 ; + public final void rule__PatternSpecification__Group__2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:4707:1: ( rule__PatternSpecification__Group__2__Impl rule__PatternSpecification__Group__3 ) + // InternalApplicationConfiguration.g:4708:2: rule__PatternSpecification__Group__2__Impl rule__PatternSpecification__Group__3 + { + pushFollow(FOLLOW_16); + rule__PatternSpecification__Group__2__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__PatternSpecification__Group__3(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PatternSpecification__Group__2" + + + // $ANTLR start "rule__PatternSpecification__Group__2__Impl" + // InternalApplicationConfiguration.g:4715:1: rule__PatternSpecification__Group__2__Impl : ( ( rule__PatternSpecification__Group_2__0 )* ) ; + public final void rule__PatternSpecification__Group__2__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:4719:1: ( ( ( rule__PatternSpecification__Group_2__0 )* ) ) + // InternalApplicationConfiguration.g:4720:1: ( ( rule__PatternSpecification__Group_2__0 )* ) + { + // InternalApplicationConfiguration.g:4720:1: ( ( rule__PatternSpecification__Group_2__0 )* ) + // InternalApplicationConfiguration.g:4721:2: ( rule__PatternSpecification__Group_2__0 )* + { + before(grammarAccess.getPatternSpecificationAccess().getGroup_2()); + // InternalApplicationConfiguration.g:4722:2: ( rule__PatternSpecification__Group_2__0 )* + loop46: + do { + int alt46=2; + int LA46_0 = input.LA(1); + + if ( (LA46_0==31) ) { + alt46=1; + } + + + switch (alt46) { + case 1 : + // InternalApplicationConfiguration.g:4722:3: rule__PatternSpecification__Group_2__0 + { + pushFollow(FOLLOW_17); + rule__PatternSpecification__Group_2__0(); + + state._fsp--; + + + } + break; + + default : + break loop46; + } + } while (true); + + after(grammarAccess.getPatternSpecificationAccess().getGroup_2()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PatternSpecification__Group__2__Impl" + + + // $ANTLR start "rule__PatternSpecification__Group__3" + // InternalApplicationConfiguration.g:4730:1: rule__PatternSpecification__Group__3 : rule__PatternSpecification__Group__3__Impl ; + public final void rule__PatternSpecification__Group__3() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:4734:1: ( rule__PatternSpecification__Group__3__Impl ) + // InternalApplicationConfiguration.g:4735:2: rule__PatternSpecification__Group__3__Impl + { + pushFollow(FOLLOW_2); + rule__PatternSpecification__Group__3__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PatternSpecification__Group__3" + + + // $ANTLR start "rule__PatternSpecification__Group__3__Impl" + // InternalApplicationConfiguration.g:4741:1: rule__PatternSpecification__Group__3__Impl : ( '}' ) ; + public final void rule__PatternSpecification__Group__3__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:4745:1: ( ( '}' ) ) + // InternalApplicationConfiguration.g:4746:1: ( '}' ) + { + // InternalApplicationConfiguration.g:4746:1: ( '}' ) + // InternalApplicationConfiguration.g:4747:2: '}' + { + before(grammarAccess.getPatternSpecificationAccess().getRightCurlyBracketKeyword_3()); + match(input,30,FOLLOW_2); + after(grammarAccess.getPatternSpecificationAccess().getRightCurlyBracketKeyword_3()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PatternSpecification__Group__3__Impl" + + + // $ANTLR start "rule__PatternSpecification__Group_2__0" + // InternalApplicationConfiguration.g:4757:1: rule__PatternSpecification__Group_2__0 : rule__PatternSpecification__Group_2__0__Impl rule__PatternSpecification__Group_2__1 ; + public final void rule__PatternSpecification__Group_2__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:4761:1: ( rule__PatternSpecification__Group_2__0__Impl rule__PatternSpecification__Group_2__1 ) + // InternalApplicationConfiguration.g:4762:2: rule__PatternSpecification__Group_2__0__Impl rule__PatternSpecification__Group_2__1 + { + pushFollow(FOLLOW_15); + rule__PatternSpecification__Group_2__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__PatternSpecification__Group_2__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PatternSpecification__Group_2__0" + + + // $ANTLR start "rule__PatternSpecification__Group_2__0__Impl" + // InternalApplicationConfiguration.g:4769:1: rule__PatternSpecification__Group_2__0__Impl : ( ',' ) ; + public final void rule__PatternSpecification__Group_2__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:4773:1: ( ( ',' ) ) + // InternalApplicationConfiguration.g:4774:1: ( ',' ) + { + // InternalApplicationConfiguration.g:4774:1: ( ',' ) + // InternalApplicationConfiguration.g:4775:2: ',' + { + before(grammarAccess.getPatternSpecificationAccess().getCommaKeyword_2_0()); + match(input,31,FOLLOW_2); + after(grammarAccess.getPatternSpecificationAccess().getCommaKeyword_2_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PatternSpecification__Group_2__0__Impl" + + + // $ANTLR start "rule__PatternSpecification__Group_2__1" + // InternalApplicationConfiguration.g:4784:1: rule__PatternSpecification__Group_2__1 : rule__PatternSpecification__Group_2__1__Impl ; + public final void rule__PatternSpecification__Group_2__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:4788:1: ( rule__PatternSpecification__Group_2__1__Impl ) + // InternalApplicationConfiguration.g:4789:2: rule__PatternSpecification__Group_2__1__Impl + { + pushFollow(FOLLOW_2); + rule__PatternSpecification__Group_2__1__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PatternSpecification__Group_2__1" + + + // $ANTLR start "rule__PatternSpecification__Group_2__1__Impl" + // InternalApplicationConfiguration.g:4795:1: rule__PatternSpecification__Group_2__1__Impl : ( ( rule__PatternSpecification__EntriesAssignment_2_1 ) ) ; + public final void rule__PatternSpecification__Group_2__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:4799:1: ( ( ( rule__PatternSpecification__EntriesAssignment_2_1 ) ) ) + // InternalApplicationConfiguration.g:4800:1: ( ( rule__PatternSpecification__EntriesAssignment_2_1 ) ) + { + // InternalApplicationConfiguration.g:4800:1: ( ( rule__PatternSpecification__EntriesAssignment_2_1 ) ) + // InternalApplicationConfiguration.g:4801:2: ( rule__PatternSpecification__EntriesAssignment_2_1 ) + { + before(grammarAccess.getPatternSpecificationAccess().getEntriesAssignment_2_1()); + // InternalApplicationConfiguration.g:4802:2: ( rule__PatternSpecification__EntriesAssignment_2_1 ) + // InternalApplicationConfiguration.g:4802:3: rule__PatternSpecification__EntriesAssignment_2_1 + { + pushFollow(FOLLOW_2); + rule__PatternSpecification__EntriesAssignment_2_1(); + + state._fsp--; + + + } + + after(grammarAccess.getPatternSpecificationAccess().getEntriesAssignment_2_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PatternSpecification__Group_2__1__Impl" + + + // $ANTLR start "rule__AllPatternEntry__Group__0" + // InternalApplicationConfiguration.g:4811:1: rule__AllPatternEntry__Group__0 : rule__AllPatternEntry__Group__0__Impl rule__AllPatternEntry__Group__1 ; + public final void rule__AllPatternEntry__Group__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:4815:1: ( rule__AllPatternEntry__Group__0__Impl rule__AllPatternEntry__Group__1 ) + // InternalApplicationConfiguration.g:4816:2: rule__AllPatternEntry__Group__0__Impl rule__AllPatternEntry__Group__1 + { + pushFollow(FOLLOW_8); + rule__AllPatternEntry__Group__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__AllPatternEntry__Group__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AllPatternEntry__Group__0" + + + // $ANTLR start "rule__AllPatternEntry__Group__0__Impl" + // InternalApplicationConfiguration.g:4823:1: rule__AllPatternEntry__Group__0__Impl : ( 'package' ) ; + public final void rule__AllPatternEntry__Group__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:4827:1: ( ( 'package' ) ) + // InternalApplicationConfiguration.g:4828:1: ( 'package' ) + { + // InternalApplicationConfiguration.g:4828:1: ( 'package' ) + // InternalApplicationConfiguration.g:4829:2: 'package' + { + before(grammarAccess.getAllPatternEntryAccess().getPackageKeyword_0()); + match(input,32,FOLLOW_2); + after(grammarAccess.getAllPatternEntryAccess().getPackageKeyword_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AllPatternEntry__Group__0__Impl" + + + // $ANTLR start "rule__AllPatternEntry__Group__1" + // InternalApplicationConfiguration.g:4838:1: rule__AllPatternEntry__Group__1 : rule__AllPatternEntry__Group__1__Impl rule__AllPatternEntry__Group__2 ; + public final void rule__AllPatternEntry__Group__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:4842:1: ( rule__AllPatternEntry__Group__1__Impl rule__AllPatternEntry__Group__2 ) + // InternalApplicationConfiguration.g:4843:2: rule__AllPatternEntry__Group__1__Impl rule__AllPatternEntry__Group__2 + { + pushFollow(FOLLOW_18); + rule__AllPatternEntry__Group__1__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__AllPatternEntry__Group__2(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AllPatternEntry__Group__1" + + + // $ANTLR start "rule__AllPatternEntry__Group__1__Impl" + // InternalApplicationConfiguration.g:4850:1: rule__AllPatternEntry__Group__1__Impl : ( ( rule__AllPatternEntry__PackageAssignment_1 ) ) ; + public final void rule__AllPatternEntry__Group__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:4854:1: ( ( ( rule__AllPatternEntry__PackageAssignment_1 ) ) ) + // InternalApplicationConfiguration.g:4855:1: ( ( rule__AllPatternEntry__PackageAssignment_1 ) ) + { + // InternalApplicationConfiguration.g:4855:1: ( ( rule__AllPatternEntry__PackageAssignment_1 ) ) + // InternalApplicationConfiguration.g:4856:2: ( rule__AllPatternEntry__PackageAssignment_1 ) + { + before(grammarAccess.getAllPatternEntryAccess().getPackageAssignment_1()); + // InternalApplicationConfiguration.g:4857:2: ( rule__AllPatternEntry__PackageAssignment_1 ) + // InternalApplicationConfiguration.g:4857:3: rule__AllPatternEntry__PackageAssignment_1 + { + pushFollow(FOLLOW_2); + rule__AllPatternEntry__PackageAssignment_1(); + + state._fsp--; + + + } + + after(grammarAccess.getAllPatternEntryAccess().getPackageAssignment_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AllPatternEntry__Group__1__Impl" + + + // $ANTLR start "rule__AllPatternEntry__Group__2" + // InternalApplicationConfiguration.g:4865:1: rule__AllPatternEntry__Group__2 : rule__AllPatternEntry__Group__2__Impl ; + public final void rule__AllPatternEntry__Group__2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:4869:1: ( rule__AllPatternEntry__Group__2__Impl ) + // InternalApplicationConfiguration.g:4870:2: rule__AllPatternEntry__Group__2__Impl + { + pushFollow(FOLLOW_2); + rule__AllPatternEntry__Group__2__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AllPatternEntry__Group__2" + + + // $ANTLR start "rule__AllPatternEntry__Group__2__Impl" + // InternalApplicationConfiguration.g:4876:1: rule__AllPatternEntry__Group__2__Impl : ( ( rule__AllPatternEntry__Group_2__0 )? ) ; + public final void rule__AllPatternEntry__Group__2__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:4880:1: ( ( ( rule__AllPatternEntry__Group_2__0 )? ) ) + // InternalApplicationConfiguration.g:4881:1: ( ( rule__AllPatternEntry__Group_2__0 )? ) + { + // InternalApplicationConfiguration.g:4881:1: ( ( rule__AllPatternEntry__Group_2__0 )? ) + // InternalApplicationConfiguration.g:4882:2: ( rule__AllPatternEntry__Group_2__0 )? + { + before(grammarAccess.getAllPatternEntryAccess().getGroup_2()); + // InternalApplicationConfiguration.g:4883:2: ( rule__AllPatternEntry__Group_2__0 )? + int alt47=2; + int LA47_0 = input.LA(1); + + if ( (LA47_0==33) ) { + alt47=1; + } + switch (alt47) { + case 1 : + // InternalApplicationConfiguration.g:4883:3: rule__AllPatternEntry__Group_2__0 + { + pushFollow(FOLLOW_2); + rule__AllPatternEntry__Group_2__0(); + + state._fsp--; + + + } + break; + + } + + after(grammarAccess.getAllPatternEntryAccess().getGroup_2()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AllPatternEntry__Group__2__Impl" + + + // $ANTLR start "rule__AllPatternEntry__Group_2__0" + // InternalApplicationConfiguration.g:4892:1: rule__AllPatternEntry__Group_2__0 : rule__AllPatternEntry__Group_2__0__Impl rule__AllPatternEntry__Group_2__1 ; + public final void rule__AllPatternEntry__Group_2__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:4896:1: ( rule__AllPatternEntry__Group_2__0__Impl rule__AllPatternEntry__Group_2__1 ) + // InternalApplicationConfiguration.g:4897:2: rule__AllPatternEntry__Group_2__0__Impl rule__AllPatternEntry__Group_2__1 + { + pushFollow(FOLLOW_19); + rule__AllPatternEntry__Group_2__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__AllPatternEntry__Group_2__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AllPatternEntry__Group_2__0" + + + // $ANTLR start "rule__AllPatternEntry__Group_2__0__Impl" + // InternalApplicationConfiguration.g:4904:1: rule__AllPatternEntry__Group_2__0__Impl : ( 'excluding' ) ; + public final void rule__AllPatternEntry__Group_2__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:4908:1: ( ( 'excluding' ) ) + // InternalApplicationConfiguration.g:4909:1: ( 'excluding' ) + { + // InternalApplicationConfiguration.g:4909:1: ( 'excluding' ) + // InternalApplicationConfiguration.g:4910:2: 'excluding' + { + before(grammarAccess.getAllPatternEntryAccess().getExcludingKeyword_2_0()); + match(input,33,FOLLOW_2); + after(grammarAccess.getAllPatternEntryAccess().getExcludingKeyword_2_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AllPatternEntry__Group_2__0__Impl" + + + // $ANTLR start "rule__AllPatternEntry__Group_2__1" + // InternalApplicationConfiguration.g:4919:1: rule__AllPatternEntry__Group_2__1 : rule__AllPatternEntry__Group_2__1__Impl rule__AllPatternEntry__Group_2__2 ; + public final void rule__AllPatternEntry__Group_2__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:4923:1: ( rule__AllPatternEntry__Group_2__1__Impl rule__AllPatternEntry__Group_2__2 ) + // InternalApplicationConfiguration.g:4924:2: rule__AllPatternEntry__Group_2__1__Impl rule__AllPatternEntry__Group_2__2 + { + pushFollow(FOLLOW_8); + rule__AllPatternEntry__Group_2__1__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__AllPatternEntry__Group_2__2(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AllPatternEntry__Group_2__1" + + + // $ANTLR start "rule__AllPatternEntry__Group_2__1__Impl" + // InternalApplicationConfiguration.g:4931:1: rule__AllPatternEntry__Group_2__1__Impl : ( '{' ) ; + public final void rule__AllPatternEntry__Group_2__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:4935:1: ( ( '{' ) ) + // InternalApplicationConfiguration.g:4936:1: ( '{' ) + { + // InternalApplicationConfiguration.g:4936:1: ( '{' ) + // InternalApplicationConfiguration.g:4937:2: '{' + { + before(grammarAccess.getAllPatternEntryAccess().getLeftCurlyBracketKeyword_2_1()); + match(input,29,FOLLOW_2); + after(grammarAccess.getAllPatternEntryAccess().getLeftCurlyBracketKeyword_2_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AllPatternEntry__Group_2__1__Impl" + + + // $ANTLR start "rule__AllPatternEntry__Group_2__2" + // InternalApplicationConfiguration.g:4946:1: rule__AllPatternEntry__Group_2__2 : rule__AllPatternEntry__Group_2__2__Impl rule__AllPatternEntry__Group_2__3 ; + public final void rule__AllPatternEntry__Group_2__2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:4950:1: ( rule__AllPatternEntry__Group_2__2__Impl rule__AllPatternEntry__Group_2__3 ) + // InternalApplicationConfiguration.g:4951:2: rule__AllPatternEntry__Group_2__2__Impl rule__AllPatternEntry__Group_2__3 + { + pushFollow(FOLLOW_16); + rule__AllPatternEntry__Group_2__2__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__AllPatternEntry__Group_2__3(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AllPatternEntry__Group_2__2" + + + // $ANTLR start "rule__AllPatternEntry__Group_2__2__Impl" + // InternalApplicationConfiguration.g:4958:1: rule__AllPatternEntry__Group_2__2__Impl : ( ( rule__AllPatternEntry__ExclusuionAssignment_2_2 ) ) ; + public final void rule__AllPatternEntry__Group_2__2__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:4962:1: ( ( ( rule__AllPatternEntry__ExclusuionAssignment_2_2 ) ) ) + // InternalApplicationConfiguration.g:4963:1: ( ( rule__AllPatternEntry__ExclusuionAssignment_2_2 ) ) + { + // InternalApplicationConfiguration.g:4963:1: ( ( rule__AllPatternEntry__ExclusuionAssignment_2_2 ) ) + // InternalApplicationConfiguration.g:4964:2: ( rule__AllPatternEntry__ExclusuionAssignment_2_2 ) + { + before(grammarAccess.getAllPatternEntryAccess().getExclusuionAssignment_2_2()); + // InternalApplicationConfiguration.g:4965:2: ( rule__AllPatternEntry__ExclusuionAssignment_2_2 ) + // InternalApplicationConfiguration.g:4965:3: rule__AllPatternEntry__ExclusuionAssignment_2_2 + { + pushFollow(FOLLOW_2); + rule__AllPatternEntry__ExclusuionAssignment_2_2(); + + state._fsp--; + + + } + + after(grammarAccess.getAllPatternEntryAccess().getExclusuionAssignment_2_2()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AllPatternEntry__Group_2__2__Impl" + + + // $ANTLR start "rule__AllPatternEntry__Group_2__3" + // InternalApplicationConfiguration.g:4973:1: rule__AllPatternEntry__Group_2__3 : rule__AllPatternEntry__Group_2__3__Impl rule__AllPatternEntry__Group_2__4 ; + public final void rule__AllPatternEntry__Group_2__3() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:4977:1: ( rule__AllPatternEntry__Group_2__3__Impl rule__AllPatternEntry__Group_2__4 ) + // InternalApplicationConfiguration.g:4978:2: rule__AllPatternEntry__Group_2__3__Impl rule__AllPatternEntry__Group_2__4 + { + pushFollow(FOLLOW_16); + rule__AllPatternEntry__Group_2__3__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__AllPatternEntry__Group_2__4(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AllPatternEntry__Group_2__3" + + + // $ANTLR start "rule__AllPatternEntry__Group_2__3__Impl" + // InternalApplicationConfiguration.g:4985:1: rule__AllPatternEntry__Group_2__3__Impl : ( ( rule__AllPatternEntry__Group_2_3__0 )* ) ; + public final void rule__AllPatternEntry__Group_2__3__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:4989:1: ( ( ( rule__AllPatternEntry__Group_2_3__0 )* ) ) + // InternalApplicationConfiguration.g:4990:1: ( ( rule__AllPatternEntry__Group_2_3__0 )* ) + { + // InternalApplicationConfiguration.g:4990:1: ( ( rule__AllPatternEntry__Group_2_3__0 )* ) + // InternalApplicationConfiguration.g:4991:2: ( rule__AllPatternEntry__Group_2_3__0 )* + { + before(grammarAccess.getAllPatternEntryAccess().getGroup_2_3()); + // InternalApplicationConfiguration.g:4992:2: ( rule__AllPatternEntry__Group_2_3__0 )* + loop48: + do { + int alt48=2; + int LA48_0 = input.LA(1); + + if ( (LA48_0==31) ) { + alt48=1; + } + + + switch (alt48) { + case 1 : + // InternalApplicationConfiguration.g:4992:3: rule__AllPatternEntry__Group_2_3__0 + { + pushFollow(FOLLOW_17); + rule__AllPatternEntry__Group_2_3__0(); + + state._fsp--; + + + } + break; + + default : + break loop48; + } + } while (true); + + after(grammarAccess.getAllPatternEntryAccess().getGroup_2_3()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AllPatternEntry__Group_2__3__Impl" + + + // $ANTLR start "rule__AllPatternEntry__Group_2__4" + // InternalApplicationConfiguration.g:5000:1: rule__AllPatternEntry__Group_2__4 : rule__AllPatternEntry__Group_2__4__Impl ; + public final void rule__AllPatternEntry__Group_2__4() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:5004:1: ( rule__AllPatternEntry__Group_2__4__Impl ) + // InternalApplicationConfiguration.g:5005:2: rule__AllPatternEntry__Group_2__4__Impl + { + pushFollow(FOLLOW_2); + rule__AllPatternEntry__Group_2__4__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AllPatternEntry__Group_2__4" + + + // $ANTLR start "rule__AllPatternEntry__Group_2__4__Impl" + // InternalApplicationConfiguration.g:5011:1: rule__AllPatternEntry__Group_2__4__Impl : ( '}' ) ; + public final void rule__AllPatternEntry__Group_2__4__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:5015:1: ( ( '}' ) ) + // InternalApplicationConfiguration.g:5016:1: ( '}' ) + { + // InternalApplicationConfiguration.g:5016:1: ( '}' ) + // InternalApplicationConfiguration.g:5017:2: '}' + { + before(grammarAccess.getAllPatternEntryAccess().getRightCurlyBracketKeyword_2_4()); + match(input,30,FOLLOW_2); + after(grammarAccess.getAllPatternEntryAccess().getRightCurlyBracketKeyword_2_4()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AllPatternEntry__Group_2__4__Impl" + + + // $ANTLR start "rule__AllPatternEntry__Group_2_3__0" + // InternalApplicationConfiguration.g:5027:1: rule__AllPatternEntry__Group_2_3__0 : rule__AllPatternEntry__Group_2_3__0__Impl rule__AllPatternEntry__Group_2_3__1 ; + public final void rule__AllPatternEntry__Group_2_3__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:5031:1: ( rule__AllPatternEntry__Group_2_3__0__Impl rule__AllPatternEntry__Group_2_3__1 ) + // InternalApplicationConfiguration.g:5032:2: rule__AllPatternEntry__Group_2_3__0__Impl rule__AllPatternEntry__Group_2_3__1 + { + pushFollow(FOLLOW_8); + rule__AllPatternEntry__Group_2_3__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__AllPatternEntry__Group_2_3__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AllPatternEntry__Group_2_3__0" + + + // $ANTLR start "rule__AllPatternEntry__Group_2_3__0__Impl" + // InternalApplicationConfiguration.g:5039:1: rule__AllPatternEntry__Group_2_3__0__Impl : ( ',' ) ; + public final void rule__AllPatternEntry__Group_2_3__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:5043:1: ( ( ',' ) ) + // InternalApplicationConfiguration.g:5044:1: ( ',' ) + { + // InternalApplicationConfiguration.g:5044:1: ( ',' ) + // InternalApplicationConfiguration.g:5045:2: ',' + { + before(grammarAccess.getAllPatternEntryAccess().getCommaKeyword_2_3_0()); + match(input,31,FOLLOW_2); + after(grammarAccess.getAllPatternEntryAccess().getCommaKeyword_2_3_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AllPatternEntry__Group_2_3__0__Impl" + + + // $ANTLR start "rule__AllPatternEntry__Group_2_3__1" + // InternalApplicationConfiguration.g:5054:1: rule__AllPatternEntry__Group_2_3__1 : rule__AllPatternEntry__Group_2_3__1__Impl ; + public final void rule__AllPatternEntry__Group_2_3__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:5058:1: ( rule__AllPatternEntry__Group_2_3__1__Impl ) + // InternalApplicationConfiguration.g:5059:2: rule__AllPatternEntry__Group_2_3__1__Impl + { + pushFollow(FOLLOW_2); + rule__AllPatternEntry__Group_2_3__1__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AllPatternEntry__Group_2_3__1" + + + // $ANTLR start "rule__AllPatternEntry__Group_2_3__1__Impl" + // InternalApplicationConfiguration.g:5065:1: rule__AllPatternEntry__Group_2_3__1__Impl : ( ( rule__AllPatternEntry__ExclusuionAssignment_2_3_1 ) ) ; + public final void rule__AllPatternEntry__Group_2_3__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:5069:1: ( ( ( rule__AllPatternEntry__ExclusuionAssignment_2_3_1 ) ) ) + // InternalApplicationConfiguration.g:5070:1: ( ( rule__AllPatternEntry__ExclusuionAssignment_2_3_1 ) ) + { + // InternalApplicationConfiguration.g:5070:1: ( ( rule__AllPatternEntry__ExclusuionAssignment_2_3_1 ) ) + // InternalApplicationConfiguration.g:5071:2: ( rule__AllPatternEntry__ExclusuionAssignment_2_3_1 ) + { + before(grammarAccess.getAllPatternEntryAccess().getExclusuionAssignment_2_3_1()); + // InternalApplicationConfiguration.g:5072:2: ( rule__AllPatternEntry__ExclusuionAssignment_2_3_1 ) + // InternalApplicationConfiguration.g:5072:3: rule__AllPatternEntry__ExclusuionAssignment_2_3_1 + { + pushFollow(FOLLOW_2); + rule__AllPatternEntry__ExclusuionAssignment_2_3_1(); + + state._fsp--; + + + } + + after(grammarAccess.getAllPatternEntryAccess().getExclusuionAssignment_2_3_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AllPatternEntry__Group_2_3__1__Impl" + + + // $ANTLR start "rule__PatternElement__Group__0" + // InternalApplicationConfiguration.g:5081:1: rule__PatternElement__Group__0 : rule__PatternElement__Group__0__Impl rule__PatternElement__Group__1 ; + public final void rule__PatternElement__Group__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:5085:1: ( rule__PatternElement__Group__0__Impl rule__PatternElement__Group__1 ) + // InternalApplicationConfiguration.g:5086:2: rule__PatternElement__Group__0__Impl rule__PatternElement__Group__1 + { + pushFollow(FOLLOW_8); + rule__PatternElement__Group__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__PatternElement__Group__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PatternElement__Group__0" + + + // $ANTLR start "rule__PatternElement__Group__0__Impl" + // InternalApplicationConfiguration.g:5093:1: rule__PatternElement__Group__0__Impl : ( ( rule__PatternElement__Group_0__0 )? ) ; + public final void rule__PatternElement__Group__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:5097:1: ( ( ( rule__PatternElement__Group_0__0 )? ) ) + // InternalApplicationConfiguration.g:5098:1: ( ( rule__PatternElement__Group_0__0 )? ) + { + // InternalApplicationConfiguration.g:5098:1: ( ( rule__PatternElement__Group_0__0 )? ) + // InternalApplicationConfiguration.g:5099:2: ( rule__PatternElement__Group_0__0 )? + { + before(grammarAccess.getPatternElementAccess().getGroup_0()); + // InternalApplicationConfiguration.g:5100:2: ( rule__PatternElement__Group_0__0 )? + int alt49=2; + int LA49_0 = input.LA(1); + + if ( (LA49_0==RULE_ID) ) { + int LA49_1 = input.LA(2); + + if ( (LA49_1==21||LA49_1==34) ) { + alt49=1; + } + } + switch (alt49) { + case 1 : + // InternalApplicationConfiguration.g:5100:3: rule__PatternElement__Group_0__0 + { + pushFollow(FOLLOW_2); + rule__PatternElement__Group_0__0(); + + state._fsp--; + + + } + break; + + } + + after(grammarAccess.getPatternElementAccess().getGroup_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PatternElement__Group__0__Impl" + + + // $ANTLR start "rule__PatternElement__Group__1" + // InternalApplicationConfiguration.g:5108:1: rule__PatternElement__Group__1 : rule__PatternElement__Group__1__Impl ; + public final void rule__PatternElement__Group__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:5112:1: ( rule__PatternElement__Group__1__Impl ) + // InternalApplicationConfiguration.g:5113:2: rule__PatternElement__Group__1__Impl + { + pushFollow(FOLLOW_2); + rule__PatternElement__Group__1__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PatternElement__Group__1" + + + // $ANTLR start "rule__PatternElement__Group__1__Impl" + // InternalApplicationConfiguration.g:5119:1: rule__PatternElement__Group__1__Impl : ( ( rule__PatternElement__PatternAssignment_1 ) ) ; + public final void rule__PatternElement__Group__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:5123:1: ( ( ( rule__PatternElement__PatternAssignment_1 ) ) ) + // InternalApplicationConfiguration.g:5124:1: ( ( rule__PatternElement__PatternAssignment_1 ) ) + { + // InternalApplicationConfiguration.g:5124:1: ( ( rule__PatternElement__PatternAssignment_1 ) ) + // InternalApplicationConfiguration.g:5125:2: ( rule__PatternElement__PatternAssignment_1 ) + { + before(grammarAccess.getPatternElementAccess().getPatternAssignment_1()); + // InternalApplicationConfiguration.g:5126:2: ( rule__PatternElement__PatternAssignment_1 ) + // InternalApplicationConfiguration.g:5126:3: rule__PatternElement__PatternAssignment_1 + { + pushFollow(FOLLOW_2); + rule__PatternElement__PatternAssignment_1(); + + state._fsp--; + + + } + + after(grammarAccess.getPatternElementAccess().getPatternAssignment_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PatternElement__Group__1__Impl" + + + // $ANTLR start "rule__PatternElement__Group_0__0" + // InternalApplicationConfiguration.g:5135:1: rule__PatternElement__Group_0__0 : rule__PatternElement__Group_0__0__Impl rule__PatternElement__Group_0__1 ; + public final void rule__PatternElement__Group_0__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:5139:1: ( rule__PatternElement__Group_0__0__Impl rule__PatternElement__Group_0__1 ) + // InternalApplicationConfiguration.g:5140:2: rule__PatternElement__Group_0__0__Impl rule__PatternElement__Group_0__1 + { + pushFollow(FOLLOW_20); + rule__PatternElement__Group_0__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__PatternElement__Group_0__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PatternElement__Group_0__0" + + + // $ANTLR start "rule__PatternElement__Group_0__0__Impl" + // InternalApplicationConfiguration.g:5147:1: rule__PatternElement__Group_0__0__Impl : ( ( rule__PatternElement__PackageAssignment_0_0 ) ) ; + public final void rule__PatternElement__Group_0__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:5151:1: ( ( ( rule__PatternElement__PackageAssignment_0_0 ) ) ) + // InternalApplicationConfiguration.g:5152:1: ( ( rule__PatternElement__PackageAssignment_0_0 ) ) + { + // InternalApplicationConfiguration.g:5152:1: ( ( rule__PatternElement__PackageAssignment_0_0 ) ) + // InternalApplicationConfiguration.g:5153:2: ( rule__PatternElement__PackageAssignment_0_0 ) + { + before(grammarAccess.getPatternElementAccess().getPackageAssignment_0_0()); + // InternalApplicationConfiguration.g:5154:2: ( rule__PatternElement__PackageAssignment_0_0 ) + // InternalApplicationConfiguration.g:5154:3: rule__PatternElement__PackageAssignment_0_0 + { + pushFollow(FOLLOW_2); + rule__PatternElement__PackageAssignment_0_0(); + + state._fsp--; + + + } + + after(grammarAccess.getPatternElementAccess().getPackageAssignment_0_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PatternElement__Group_0__0__Impl" + + + // $ANTLR start "rule__PatternElement__Group_0__1" + // InternalApplicationConfiguration.g:5162:1: rule__PatternElement__Group_0__1 : rule__PatternElement__Group_0__1__Impl ; + public final void rule__PatternElement__Group_0__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:5166:1: ( rule__PatternElement__Group_0__1__Impl ) + // InternalApplicationConfiguration.g:5167:2: rule__PatternElement__Group_0__1__Impl + { + pushFollow(FOLLOW_2); + rule__PatternElement__Group_0__1__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PatternElement__Group_0__1" + + + // $ANTLR start "rule__PatternElement__Group_0__1__Impl" + // InternalApplicationConfiguration.g:5173:1: rule__PatternElement__Group_0__1__Impl : ( '::' ) ; + public final void rule__PatternElement__Group_0__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:5177:1: ( ( '::' ) ) + // InternalApplicationConfiguration.g:5178:1: ( '::' ) + { + // InternalApplicationConfiguration.g:5178:1: ( '::' ) + // InternalApplicationConfiguration.g:5179:2: '::' + { + before(grammarAccess.getPatternElementAccess().getColonColonKeyword_0_1()); + match(input,34,FOLLOW_2); + after(grammarAccess.getPatternElementAccess().getColonColonKeyword_0_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PatternElement__Group_0__1__Impl" + + + // $ANTLR start "rule__GraphPatternDeclaration__Group__0" + // InternalApplicationConfiguration.g:5189:1: rule__GraphPatternDeclaration__Group__0 : rule__GraphPatternDeclaration__Group__0__Impl rule__GraphPatternDeclaration__Group__1 ; + public final void rule__GraphPatternDeclaration__Group__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:5193:1: ( rule__GraphPatternDeclaration__Group__0__Impl rule__GraphPatternDeclaration__Group__1 ) + // InternalApplicationConfiguration.g:5194:2: rule__GraphPatternDeclaration__Group__0__Impl rule__GraphPatternDeclaration__Group__1 + { + pushFollow(FOLLOW_8); + rule__GraphPatternDeclaration__Group__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__GraphPatternDeclaration__Group__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__GraphPatternDeclaration__Group__0" + + + // $ANTLR start "rule__GraphPatternDeclaration__Group__0__Impl" + // InternalApplicationConfiguration.g:5201:1: rule__GraphPatternDeclaration__Group__0__Impl : ( 'constraints' ) ; + public final void rule__GraphPatternDeclaration__Group__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:5205:1: ( ( 'constraints' ) ) + // InternalApplicationConfiguration.g:5206:1: ( 'constraints' ) + { + // InternalApplicationConfiguration.g:5206:1: ( 'constraints' ) + // InternalApplicationConfiguration.g:5207:2: 'constraints' + { + before(grammarAccess.getGraphPatternDeclarationAccess().getConstraintsKeyword_0()); + match(input,38,FOLLOW_2); + after(grammarAccess.getGraphPatternDeclarationAccess().getConstraintsKeyword_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__GraphPatternDeclaration__Group__0__Impl" + + + // $ANTLR start "rule__GraphPatternDeclaration__Group__1" + // InternalApplicationConfiguration.g:5216:1: rule__GraphPatternDeclaration__Group__1 : rule__GraphPatternDeclaration__Group__1__Impl rule__GraphPatternDeclaration__Group__2 ; + public final void rule__GraphPatternDeclaration__Group__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:5220:1: ( rule__GraphPatternDeclaration__Group__1__Impl rule__GraphPatternDeclaration__Group__2 ) + // InternalApplicationConfiguration.g:5221:2: rule__GraphPatternDeclaration__Group__1__Impl rule__GraphPatternDeclaration__Group__2 + { + pushFollow(FOLLOW_19); + rule__GraphPatternDeclaration__Group__1__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__GraphPatternDeclaration__Group__2(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__GraphPatternDeclaration__Group__1" + + + // $ANTLR start "rule__GraphPatternDeclaration__Group__1__Impl" + // InternalApplicationConfiguration.g:5228:1: rule__GraphPatternDeclaration__Group__1__Impl : ( ( rule__GraphPatternDeclaration__NameAssignment_1 ) ) ; + public final void rule__GraphPatternDeclaration__Group__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:5232:1: ( ( ( rule__GraphPatternDeclaration__NameAssignment_1 ) ) ) + // InternalApplicationConfiguration.g:5233:1: ( ( rule__GraphPatternDeclaration__NameAssignment_1 ) ) + { + // InternalApplicationConfiguration.g:5233:1: ( ( rule__GraphPatternDeclaration__NameAssignment_1 ) ) + // InternalApplicationConfiguration.g:5234:2: ( rule__GraphPatternDeclaration__NameAssignment_1 ) + { + before(grammarAccess.getGraphPatternDeclarationAccess().getNameAssignment_1()); + // InternalApplicationConfiguration.g:5235:2: ( rule__GraphPatternDeclaration__NameAssignment_1 ) + // InternalApplicationConfiguration.g:5235:3: rule__GraphPatternDeclaration__NameAssignment_1 + { + pushFollow(FOLLOW_2); + rule__GraphPatternDeclaration__NameAssignment_1(); + + state._fsp--; + + + } + + after(grammarAccess.getGraphPatternDeclarationAccess().getNameAssignment_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__GraphPatternDeclaration__Group__1__Impl" + + + // $ANTLR start "rule__GraphPatternDeclaration__Group__2" + // InternalApplicationConfiguration.g:5243:1: rule__GraphPatternDeclaration__Group__2 : rule__GraphPatternDeclaration__Group__2__Impl ; + public final void rule__GraphPatternDeclaration__Group__2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:5247:1: ( rule__GraphPatternDeclaration__Group__2__Impl ) + // InternalApplicationConfiguration.g:5248:2: rule__GraphPatternDeclaration__Group__2__Impl + { + pushFollow(FOLLOW_2); + rule__GraphPatternDeclaration__Group__2__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__GraphPatternDeclaration__Group__2" + + + // $ANTLR start "rule__GraphPatternDeclaration__Group__2__Impl" + // InternalApplicationConfiguration.g:5254:1: rule__GraphPatternDeclaration__Group__2__Impl : ( ( rule__GraphPatternDeclaration__SpecificationAssignment_2 ) ) ; + public final void rule__GraphPatternDeclaration__Group__2__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:5258:1: ( ( ( rule__GraphPatternDeclaration__SpecificationAssignment_2 ) ) ) + // InternalApplicationConfiguration.g:5259:1: ( ( rule__GraphPatternDeclaration__SpecificationAssignment_2 ) ) + { + // InternalApplicationConfiguration.g:5259:1: ( ( rule__GraphPatternDeclaration__SpecificationAssignment_2 ) ) + // InternalApplicationConfiguration.g:5260:2: ( rule__GraphPatternDeclaration__SpecificationAssignment_2 ) + { + before(grammarAccess.getGraphPatternDeclarationAccess().getSpecificationAssignment_2()); + // InternalApplicationConfiguration.g:5261:2: ( rule__GraphPatternDeclaration__SpecificationAssignment_2 ) + // InternalApplicationConfiguration.g:5261:3: rule__GraphPatternDeclaration__SpecificationAssignment_2 + { + pushFollow(FOLLOW_2); + rule__GraphPatternDeclaration__SpecificationAssignment_2(); + + state._fsp--; + + + } + + after(grammarAccess.getGraphPatternDeclarationAccess().getSpecificationAssignment_2()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__GraphPatternDeclaration__Group__2__Impl" + + + // $ANTLR start "rule__ObjectiveSpecification__Group__0" + // InternalApplicationConfiguration.g:5270:1: rule__ObjectiveSpecification__Group__0 : rule__ObjectiveSpecification__Group__0__Impl rule__ObjectiveSpecification__Group__1 ; + public final void rule__ObjectiveSpecification__Group__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:5274:1: ( rule__ObjectiveSpecification__Group__0__Impl rule__ObjectiveSpecification__Group__1 ) + // InternalApplicationConfiguration.g:5275:2: rule__ObjectiveSpecification__Group__0__Impl rule__ObjectiveSpecification__Group__1 + { + pushFollow(FOLLOW_23); + rule__ObjectiveSpecification__Group__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__ObjectiveSpecification__Group__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ObjectiveSpecification__Group__0" + + + // $ANTLR start "rule__ObjectiveSpecification__Group__0__Impl" + // InternalApplicationConfiguration.g:5282:1: rule__ObjectiveSpecification__Group__0__Impl : ( '{' ) ; + public final void rule__ObjectiveSpecification__Group__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:5286:1: ( ( '{' ) ) + // InternalApplicationConfiguration.g:5287:1: ( '{' ) + { + // InternalApplicationConfiguration.g:5287:1: ( '{' ) + // InternalApplicationConfiguration.g:5288:2: '{' + { + before(grammarAccess.getObjectiveSpecificationAccess().getLeftCurlyBracketKeyword_0()); + match(input,29,FOLLOW_2); + after(grammarAccess.getObjectiveSpecificationAccess().getLeftCurlyBracketKeyword_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ObjectiveSpecification__Group__0__Impl" + + + // $ANTLR start "rule__ObjectiveSpecification__Group__1" + // InternalApplicationConfiguration.g:5297:1: rule__ObjectiveSpecification__Group__1 : rule__ObjectiveSpecification__Group__1__Impl rule__ObjectiveSpecification__Group__2 ; + public final void rule__ObjectiveSpecification__Group__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:5301:1: ( rule__ObjectiveSpecification__Group__1__Impl rule__ObjectiveSpecification__Group__2 ) + // InternalApplicationConfiguration.g:5302:2: rule__ObjectiveSpecification__Group__1__Impl rule__ObjectiveSpecification__Group__2 + { + pushFollow(FOLLOW_16); + rule__ObjectiveSpecification__Group__1__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__ObjectiveSpecification__Group__2(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ObjectiveSpecification__Group__1" + + + // $ANTLR start "rule__ObjectiveSpecification__Group__1__Impl" + // InternalApplicationConfiguration.g:5309:1: rule__ObjectiveSpecification__Group__1__Impl : ( ( rule__ObjectiveSpecification__EntriesAssignment_1 ) ) ; + public final void rule__ObjectiveSpecification__Group__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:5313:1: ( ( ( rule__ObjectiveSpecification__EntriesAssignment_1 ) ) ) + // InternalApplicationConfiguration.g:5314:1: ( ( rule__ObjectiveSpecification__EntriesAssignment_1 ) ) + { + // InternalApplicationConfiguration.g:5314:1: ( ( rule__ObjectiveSpecification__EntriesAssignment_1 ) ) + // InternalApplicationConfiguration.g:5315:2: ( rule__ObjectiveSpecification__EntriesAssignment_1 ) + { + before(grammarAccess.getObjectiveSpecificationAccess().getEntriesAssignment_1()); + // InternalApplicationConfiguration.g:5316:2: ( rule__ObjectiveSpecification__EntriesAssignment_1 ) + // InternalApplicationConfiguration.g:5316:3: rule__ObjectiveSpecification__EntriesAssignment_1 + { + pushFollow(FOLLOW_2); + rule__ObjectiveSpecification__EntriesAssignment_1(); + + state._fsp--; + + + } + + after(grammarAccess.getObjectiveSpecificationAccess().getEntriesAssignment_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ObjectiveSpecification__Group__1__Impl" + + + // $ANTLR start "rule__ObjectiveSpecification__Group__2" + // InternalApplicationConfiguration.g:5324:1: rule__ObjectiveSpecification__Group__2 : rule__ObjectiveSpecification__Group__2__Impl rule__ObjectiveSpecification__Group__3 ; + public final void rule__ObjectiveSpecification__Group__2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:5328:1: ( rule__ObjectiveSpecification__Group__2__Impl rule__ObjectiveSpecification__Group__3 ) + // InternalApplicationConfiguration.g:5329:2: rule__ObjectiveSpecification__Group__2__Impl rule__ObjectiveSpecification__Group__3 + { + pushFollow(FOLLOW_16); + rule__ObjectiveSpecification__Group__2__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__ObjectiveSpecification__Group__3(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ObjectiveSpecification__Group__2" + + + // $ANTLR start "rule__ObjectiveSpecification__Group__2__Impl" + // InternalApplicationConfiguration.g:5336:1: rule__ObjectiveSpecification__Group__2__Impl : ( ( rule__ObjectiveSpecification__Group_2__0 )* ) ; + public final void rule__ObjectiveSpecification__Group__2__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:5340:1: ( ( ( rule__ObjectiveSpecification__Group_2__0 )* ) ) + // InternalApplicationConfiguration.g:5341:1: ( ( rule__ObjectiveSpecification__Group_2__0 )* ) + { + // InternalApplicationConfiguration.g:5341:1: ( ( rule__ObjectiveSpecification__Group_2__0 )* ) + // InternalApplicationConfiguration.g:5342:2: ( rule__ObjectiveSpecification__Group_2__0 )* + { + before(grammarAccess.getObjectiveSpecificationAccess().getGroup_2()); + // InternalApplicationConfiguration.g:5343:2: ( rule__ObjectiveSpecification__Group_2__0 )* + loop50: + do { + int alt50=2; + int LA50_0 = input.LA(1); + + if ( (LA50_0==31) ) { + alt50=1; + } + + + switch (alt50) { + case 1 : + // InternalApplicationConfiguration.g:5343:3: rule__ObjectiveSpecification__Group_2__0 + { + pushFollow(FOLLOW_17); + rule__ObjectiveSpecification__Group_2__0(); + + state._fsp--; + + + } + break; + + default : + break loop50; + } + } while (true); + + after(grammarAccess.getObjectiveSpecificationAccess().getGroup_2()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ObjectiveSpecification__Group__2__Impl" + + + // $ANTLR start "rule__ObjectiveSpecification__Group__3" + // InternalApplicationConfiguration.g:5351:1: rule__ObjectiveSpecification__Group__3 : rule__ObjectiveSpecification__Group__3__Impl ; + public final void rule__ObjectiveSpecification__Group__3() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:5355:1: ( rule__ObjectiveSpecification__Group__3__Impl ) + // InternalApplicationConfiguration.g:5356:2: rule__ObjectiveSpecification__Group__3__Impl + { + pushFollow(FOLLOW_2); + rule__ObjectiveSpecification__Group__3__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ObjectiveSpecification__Group__3" + + + // $ANTLR start "rule__ObjectiveSpecification__Group__3__Impl" + // InternalApplicationConfiguration.g:5362:1: rule__ObjectiveSpecification__Group__3__Impl : ( '}' ) ; + public final void rule__ObjectiveSpecification__Group__3__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:5366:1: ( ( '}' ) ) + // InternalApplicationConfiguration.g:5367:1: ( '}' ) + { + // InternalApplicationConfiguration.g:5367:1: ( '}' ) + // InternalApplicationConfiguration.g:5368:2: '}' + { + before(grammarAccess.getObjectiveSpecificationAccess().getRightCurlyBracketKeyword_3()); + match(input,30,FOLLOW_2); + after(grammarAccess.getObjectiveSpecificationAccess().getRightCurlyBracketKeyword_3()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ObjectiveSpecification__Group__3__Impl" + + + // $ANTLR start "rule__ObjectiveSpecification__Group_2__0" + // InternalApplicationConfiguration.g:5378:1: rule__ObjectiveSpecification__Group_2__0 : rule__ObjectiveSpecification__Group_2__0__Impl rule__ObjectiveSpecification__Group_2__1 ; + public final void rule__ObjectiveSpecification__Group_2__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:5382:1: ( rule__ObjectiveSpecification__Group_2__0__Impl rule__ObjectiveSpecification__Group_2__1 ) + // InternalApplicationConfiguration.g:5383:2: rule__ObjectiveSpecification__Group_2__0__Impl rule__ObjectiveSpecification__Group_2__1 + { + pushFollow(FOLLOW_23); + rule__ObjectiveSpecification__Group_2__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__ObjectiveSpecification__Group_2__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ObjectiveSpecification__Group_2__0" + + + // $ANTLR start "rule__ObjectiveSpecification__Group_2__0__Impl" + // InternalApplicationConfiguration.g:5390:1: rule__ObjectiveSpecification__Group_2__0__Impl : ( ',' ) ; + public final void rule__ObjectiveSpecification__Group_2__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:5394:1: ( ( ',' ) ) + // InternalApplicationConfiguration.g:5395:1: ( ',' ) + { + // InternalApplicationConfiguration.g:5395:1: ( ',' ) + // InternalApplicationConfiguration.g:5396:2: ',' + { + before(grammarAccess.getObjectiveSpecificationAccess().getCommaKeyword_2_0()); + match(input,31,FOLLOW_2); + after(grammarAccess.getObjectiveSpecificationAccess().getCommaKeyword_2_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ObjectiveSpecification__Group_2__0__Impl" + + + // $ANTLR start "rule__ObjectiveSpecification__Group_2__1" + // InternalApplicationConfiguration.g:5405:1: rule__ObjectiveSpecification__Group_2__1 : rule__ObjectiveSpecification__Group_2__1__Impl ; + public final void rule__ObjectiveSpecification__Group_2__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:5409:1: ( rule__ObjectiveSpecification__Group_2__1__Impl ) + // InternalApplicationConfiguration.g:5410:2: rule__ObjectiveSpecification__Group_2__1__Impl + { + pushFollow(FOLLOW_2); + rule__ObjectiveSpecification__Group_2__1__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ObjectiveSpecification__Group_2__1" + + + // $ANTLR start "rule__ObjectiveSpecification__Group_2__1__Impl" + // InternalApplicationConfiguration.g:5416:1: rule__ObjectiveSpecification__Group_2__1__Impl : ( ( rule__ObjectiveSpecification__EntriesAssignment_2_1 ) ) ; + public final void rule__ObjectiveSpecification__Group_2__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:5420:1: ( ( ( rule__ObjectiveSpecification__EntriesAssignment_2_1 ) ) ) + // InternalApplicationConfiguration.g:5421:1: ( ( rule__ObjectiveSpecification__EntriesAssignment_2_1 ) ) + { + // InternalApplicationConfiguration.g:5421:1: ( ( rule__ObjectiveSpecification__EntriesAssignment_2_1 ) ) + // InternalApplicationConfiguration.g:5422:2: ( rule__ObjectiveSpecification__EntriesAssignment_2_1 ) + { + before(grammarAccess.getObjectiveSpecificationAccess().getEntriesAssignment_2_1()); + // InternalApplicationConfiguration.g:5423:2: ( rule__ObjectiveSpecification__EntriesAssignment_2_1 ) + // InternalApplicationConfiguration.g:5423:3: rule__ObjectiveSpecification__EntriesAssignment_2_1 + { + pushFollow(FOLLOW_2); + rule__ObjectiveSpecification__EntriesAssignment_2_1(); + + state._fsp--; + + + } + + after(grammarAccess.getObjectiveSpecificationAccess().getEntriesAssignment_2_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ObjectiveSpecification__Group_2__1__Impl" + + + // $ANTLR start "rule__OptimizationEntry__Group__0" + // InternalApplicationConfiguration.g:5432:1: rule__OptimizationEntry__Group__0 : rule__OptimizationEntry__Group__0__Impl rule__OptimizationEntry__Group__1 ; + public final void rule__OptimizationEntry__Group__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:5436:1: ( rule__OptimizationEntry__Group__0__Impl rule__OptimizationEntry__Group__1 ) + // InternalApplicationConfiguration.g:5437:2: rule__OptimizationEntry__Group__0__Impl rule__OptimizationEntry__Group__1 + { + pushFollow(FOLLOW_23); + rule__OptimizationEntry__Group__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__OptimizationEntry__Group__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__OptimizationEntry__Group__0" + + + // $ANTLR start "rule__OptimizationEntry__Group__0__Impl" + // InternalApplicationConfiguration.g:5444:1: rule__OptimizationEntry__Group__0__Impl : ( ( rule__OptimizationEntry__DirectionAssignment_0 ) ) ; + public final void rule__OptimizationEntry__Group__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:5448:1: ( ( ( rule__OptimizationEntry__DirectionAssignment_0 ) ) ) + // InternalApplicationConfiguration.g:5449:1: ( ( rule__OptimizationEntry__DirectionAssignment_0 ) ) + { + // InternalApplicationConfiguration.g:5449:1: ( ( rule__OptimizationEntry__DirectionAssignment_0 ) ) + // InternalApplicationConfiguration.g:5450:2: ( rule__OptimizationEntry__DirectionAssignment_0 ) + { + before(grammarAccess.getOptimizationEntryAccess().getDirectionAssignment_0()); + // InternalApplicationConfiguration.g:5451:2: ( rule__OptimizationEntry__DirectionAssignment_0 ) + // InternalApplicationConfiguration.g:5451:3: rule__OptimizationEntry__DirectionAssignment_0 + { + pushFollow(FOLLOW_2); + rule__OptimizationEntry__DirectionAssignment_0(); + + state._fsp--; + + + } + + after(grammarAccess.getOptimizationEntryAccess().getDirectionAssignment_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__OptimizationEntry__Group__0__Impl" + + + // $ANTLR start "rule__OptimizationEntry__Group__1" + // InternalApplicationConfiguration.g:5459:1: rule__OptimizationEntry__Group__1 : rule__OptimizationEntry__Group__1__Impl ; + public final void rule__OptimizationEntry__Group__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:5463:1: ( rule__OptimizationEntry__Group__1__Impl ) + // InternalApplicationConfiguration.g:5464:2: rule__OptimizationEntry__Group__1__Impl + { + pushFollow(FOLLOW_2); + rule__OptimizationEntry__Group__1__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__OptimizationEntry__Group__1" + + + // $ANTLR start "rule__OptimizationEntry__Group__1__Impl" + // InternalApplicationConfiguration.g:5470:1: rule__OptimizationEntry__Group__1__Impl : ( ( rule__OptimizationEntry__FunctionAssignment_1 ) ) ; + public final void rule__OptimizationEntry__Group__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:5474:1: ( ( ( rule__OptimizationEntry__FunctionAssignment_1 ) ) ) + // InternalApplicationConfiguration.g:5475:1: ( ( rule__OptimizationEntry__FunctionAssignment_1 ) ) + { + // InternalApplicationConfiguration.g:5475:1: ( ( rule__OptimizationEntry__FunctionAssignment_1 ) ) + // InternalApplicationConfiguration.g:5476:2: ( rule__OptimizationEntry__FunctionAssignment_1 ) + { + before(grammarAccess.getOptimizationEntryAccess().getFunctionAssignment_1()); + // InternalApplicationConfiguration.g:5477:2: ( rule__OptimizationEntry__FunctionAssignment_1 ) + // InternalApplicationConfiguration.g:5477:3: rule__OptimizationEntry__FunctionAssignment_1 + { + pushFollow(FOLLOW_2); + rule__OptimizationEntry__FunctionAssignment_1(); + + state._fsp--; + + + } + + after(grammarAccess.getOptimizationEntryAccess().getFunctionAssignment_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__OptimizationEntry__Group__1__Impl" + + + // $ANTLR start "rule__ThresholdEntry__Group__0" + // InternalApplicationConfiguration.g:5486:1: rule__ThresholdEntry__Group__0 : rule__ThresholdEntry__Group__0__Impl rule__ThresholdEntry__Group__1 ; + public final void rule__ThresholdEntry__Group__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:5490:1: ( rule__ThresholdEntry__Group__0__Impl rule__ThresholdEntry__Group__1 ) + // InternalApplicationConfiguration.g:5491:2: rule__ThresholdEntry__Group__0__Impl rule__ThresholdEntry__Group__1 + { + pushFollow(FOLLOW_24); + rule__ThresholdEntry__Group__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__ThresholdEntry__Group__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ThresholdEntry__Group__0" + + + // $ANTLR start "rule__ThresholdEntry__Group__0__Impl" + // InternalApplicationConfiguration.g:5498:1: rule__ThresholdEntry__Group__0__Impl : ( ( rule__ThresholdEntry__FunctionAssignment_0 ) ) ; + public final void rule__ThresholdEntry__Group__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:5502:1: ( ( ( rule__ThresholdEntry__FunctionAssignment_0 ) ) ) + // InternalApplicationConfiguration.g:5503:1: ( ( rule__ThresholdEntry__FunctionAssignment_0 ) ) + { + // InternalApplicationConfiguration.g:5503:1: ( ( rule__ThresholdEntry__FunctionAssignment_0 ) ) + // InternalApplicationConfiguration.g:5504:2: ( rule__ThresholdEntry__FunctionAssignment_0 ) + { + before(grammarAccess.getThresholdEntryAccess().getFunctionAssignment_0()); + // InternalApplicationConfiguration.g:5505:2: ( rule__ThresholdEntry__FunctionAssignment_0 ) + // InternalApplicationConfiguration.g:5505:3: rule__ThresholdEntry__FunctionAssignment_0 + { + pushFollow(FOLLOW_2); + rule__ThresholdEntry__FunctionAssignment_0(); + + state._fsp--; + + + } + + after(grammarAccess.getThresholdEntryAccess().getFunctionAssignment_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ThresholdEntry__Group__0__Impl" + + + // $ANTLR start "rule__ThresholdEntry__Group__1" + // InternalApplicationConfiguration.g:5513:1: rule__ThresholdEntry__Group__1 : rule__ThresholdEntry__Group__1__Impl rule__ThresholdEntry__Group__2 ; + public final void rule__ThresholdEntry__Group__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:5517:1: ( rule__ThresholdEntry__Group__1__Impl rule__ThresholdEntry__Group__2 ) + // InternalApplicationConfiguration.g:5518:2: rule__ThresholdEntry__Group__1__Impl rule__ThresholdEntry__Group__2 + { + pushFollow(FOLLOW_25); + rule__ThresholdEntry__Group__1__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__ThresholdEntry__Group__2(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ThresholdEntry__Group__1" + + + // $ANTLR start "rule__ThresholdEntry__Group__1__Impl" + // InternalApplicationConfiguration.g:5525:1: rule__ThresholdEntry__Group__1__Impl : ( ( rule__ThresholdEntry__OperatorAssignment_1 ) ) ; + public final void rule__ThresholdEntry__Group__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:5529:1: ( ( ( rule__ThresholdEntry__OperatorAssignment_1 ) ) ) + // InternalApplicationConfiguration.g:5530:1: ( ( rule__ThresholdEntry__OperatorAssignment_1 ) ) + { + // InternalApplicationConfiguration.g:5530:1: ( ( rule__ThresholdEntry__OperatorAssignment_1 ) ) + // InternalApplicationConfiguration.g:5531:2: ( rule__ThresholdEntry__OperatorAssignment_1 ) + { + before(grammarAccess.getThresholdEntryAccess().getOperatorAssignment_1()); + // InternalApplicationConfiguration.g:5532:2: ( rule__ThresholdEntry__OperatorAssignment_1 ) + // InternalApplicationConfiguration.g:5532:3: rule__ThresholdEntry__OperatorAssignment_1 + { + pushFollow(FOLLOW_2); + rule__ThresholdEntry__OperatorAssignment_1(); + + state._fsp--; + + + } + + after(grammarAccess.getThresholdEntryAccess().getOperatorAssignment_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ThresholdEntry__Group__1__Impl" + + + // $ANTLR start "rule__ThresholdEntry__Group__2" + // InternalApplicationConfiguration.g:5540:1: rule__ThresholdEntry__Group__2 : rule__ThresholdEntry__Group__2__Impl ; + public final void rule__ThresholdEntry__Group__2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:5544:1: ( rule__ThresholdEntry__Group__2__Impl ) + // InternalApplicationConfiguration.g:5545:2: rule__ThresholdEntry__Group__2__Impl + { + pushFollow(FOLLOW_2); + rule__ThresholdEntry__Group__2__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ThresholdEntry__Group__2" + + + // $ANTLR start "rule__ThresholdEntry__Group__2__Impl" + // InternalApplicationConfiguration.g:5551:1: rule__ThresholdEntry__Group__2__Impl : ( ( rule__ThresholdEntry__ThresholdAssignment_2 ) ) ; + public final void rule__ThresholdEntry__Group__2__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:5555:1: ( ( ( rule__ThresholdEntry__ThresholdAssignment_2 ) ) ) + // InternalApplicationConfiguration.g:5556:1: ( ( rule__ThresholdEntry__ThresholdAssignment_2 ) ) + { + // InternalApplicationConfiguration.g:5556:1: ( ( rule__ThresholdEntry__ThresholdAssignment_2 ) ) + // InternalApplicationConfiguration.g:5557:2: ( rule__ThresholdEntry__ThresholdAssignment_2 ) + { + before(grammarAccess.getThresholdEntryAccess().getThresholdAssignment_2()); + // InternalApplicationConfiguration.g:5558:2: ( rule__ThresholdEntry__ThresholdAssignment_2 ) + // InternalApplicationConfiguration.g:5558:3: rule__ThresholdEntry__ThresholdAssignment_2 + { + pushFollow(FOLLOW_2); + rule__ThresholdEntry__ThresholdAssignment_2(); + + state._fsp--; + + + } + + after(grammarAccess.getThresholdEntryAccess().getThresholdAssignment_2()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ThresholdEntry__Group__2__Impl" + + + // $ANTLR start "rule__ReliabiltiyFunction__Group__0" + // InternalApplicationConfiguration.g:5567:1: rule__ReliabiltiyFunction__Group__0 : rule__ReliabiltiyFunction__Group__0__Impl rule__ReliabiltiyFunction__Group__1 ; + public final void rule__ReliabiltiyFunction__Group__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:5571:1: ( rule__ReliabiltiyFunction__Group__0__Impl rule__ReliabiltiyFunction__Group__1 ) + // InternalApplicationConfiguration.g:5572:2: rule__ReliabiltiyFunction__Group__0__Impl rule__ReliabiltiyFunction__Group__1 + { + pushFollow(FOLLOW_8); + rule__ReliabiltiyFunction__Group__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__ReliabiltiyFunction__Group__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ReliabiltiyFunction__Group__0" + + + // $ANTLR start "rule__ReliabiltiyFunction__Group__0__Impl" + // InternalApplicationConfiguration.g:5579:1: rule__ReliabiltiyFunction__Group__0__Impl : ( 'reliability' ) ; + public final void rule__ReliabiltiyFunction__Group__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:5583:1: ( ( 'reliability' ) ) + // InternalApplicationConfiguration.g:5584:1: ( 'reliability' ) + { + // InternalApplicationConfiguration.g:5584:1: ( 'reliability' ) + // InternalApplicationConfiguration.g:5585:2: 'reliability' + { + before(grammarAccess.getReliabiltiyFunctionAccess().getReliabilityKeyword_0()); + match(input,26,FOLLOW_2); + after(grammarAccess.getReliabiltiyFunctionAccess().getReliabilityKeyword_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ReliabiltiyFunction__Group__0__Impl" + + + // $ANTLR start "rule__ReliabiltiyFunction__Group__1" + // InternalApplicationConfiguration.g:5594:1: rule__ReliabiltiyFunction__Group__1 : rule__ReliabiltiyFunction__Group__1__Impl rule__ReliabiltiyFunction__Group__2 ; + public final void rule__ReliabiltiyFunction__Group__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:5598:1: ( rule__ReliabiltiyFunction__Group__1__Impl rule__ReliabiltiyFunction__Group__2 ) + // InternalApplicationConfiguration.g:5599:2: rule__ReliabiltiyFunction__Group__1__Impl rule__ReliabiltiyFunction__Group__2 + { + pushFollow(FOLLOW_8); + rule__ReliabiltiyFunction__Group__1__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__ReliabiltiyFunction__Group__2(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ReliabiltiyFunction__Group__1" + + + // $ANTLR start "rule__ReliabiltiyFunction__Group__1__Impl" + // InternalApplicationConfiguration.g:5606:1: rule__ReliabiltiyFunction__Group__1__Impl : ( ( rule__ReliabiltiyFunction__Group_1__0 )? ) ; + public final void rule__ReliabiltiyFunction__Group__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:5610:1: ( ( ( rule__ReliabiltiyFunction__Group_1__0 )? ) ) + // InternalApplicationConfiguration.g:5611:1: ( ( rule__ReliabiltiyFunction__Group_1__0 )? ) + { + // InternalApplicationConfiguration.g:5611:1: ( ( rule__ReliabiltiyFunction__Group_1__0 )? ) + // InternalApplicationConfiguration.g:5612:2: ( rule__ReliabiltiyFunction__Group_1__0 )? + { + before(grammarAccess.getReliabiltiyFunctionAccess().getGroup_1()); + // InternalApplicationConfiguration.g:5613:2: ( rule__ReliabiltiyFunction__Group_1__0 )? + int alt51=2; + int LA51_0 = input.LA(1); + + if ( (LA51_0==RULE_ID) ) { + int LA51_1 = input.LA(2); + + if ( (LA51_1==21||LA51_1==34) ) { + alt51=1; + } + } + switch (alt51) { + case 1 : + // InternalApplicationConfiguration.g:5613:3: rule__ReliabiltiyFunction__Group_1__0 + { + pushFollow(FOLLOW_2); + rule__ReliabiltiyFunction__Group_1__0(); + + state._fsp--; + + + } + break; + + } + + after(grammarAccess.getReliabiltiyFunctionAccess().getGroup_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ReliabiltiyFunction__Group__1__Impl" + + + // $ANTLR start "rule__ReliabiltiyFunction__Group__2" + // InternalApplicationConfiguration.g:5621:1: rule__ReliabiltiyFunction__Group__2 : rule__ReliabiltiyFunction__Group__2__Impl ; + public final void rule__ReliabiltiyFunction__Group__2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:5625:1: ( rule__ReliabiltiyFunction__Group__2__Impl ) + // InternalApplicationConfiguration.g:5626:2: rule__ReliabiltiyFunction__Group__2__Impl + { + pushFollow(FOLLOW_2); + rule__ReliabiltiyFunction__Group__2__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ReliabiltiyFunction__Group__2" + + + // $ANTLR start "rule__ReliabiltiyFunction__Group__2__Impl" + // InternalApplicationConfiguration.g:5632:1: rule__ReliabiltiyFunction__Group__2__Impl : ( ( rule__ReliabiltiyFunction__TransformationAssignment_2 ) ) ; + public final void rule__ReliabiltiyFunction__Group__2__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:5636:1: ( ( ( rule__ReliabiltiyFunction__TransformationAssignment_2 ) ) ) + // InternalApplicationConfiguration.g:5637:1: ( ( rule__ReliabiltiyFunction__TransformationAssignment_2 ) ) + { + // InternalApplicationConfiguration.g:5637:1: ( ( rule__ReliabiltiyFunction__TransformationAssignment_2 ) ) + // InternalApplicationConfiguration.g:5638:2: ( rule__ReliabiltiyFunction__TransformationAssignment_2 ) + { + before(grammarAccess.getReliabiltiyFunctionAccess().getTransformationAssignment_2()); + // InternalApplicationConfiguration.g:5639:2: ( rule__ReliabiltiyFunction__TransformationAssignment_2 ) + // InternalApplicationConfiguration.g:5639:3: rule__ReliabiltiyFunction__TransformationAssignment_2 + { + pushFollow(FOLLOW_2); + rule__ReliabiltiyFunction__TransformationAssignment_2(); + + state._fsp--; + + + } + + after(grammarAccess.getReliabiltiyFunctionAccess().getTransformationAssignment_2()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ReliabiltiyFunction__Group__2__Impl" + + + // $ANTLR start "rule__ReliabiltiyFunction__Group_1__0" + // InternalApplicationConfiguration.g:5648:1: rule__ReliabiltiyFunction__Group_1__0 : rule__ReliabiltiyFunction__Group_1__0__Impl rule__ReliabiltiyFunction__Group_1__1 ; + public final void rule__ReliabiltiyFunction__Group_1__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:5652:1: ( rule__ReliabiltiyFunction__Group_1__0__Impl rule__ReliabiltiyFunction__Group_1__1 ) + // InternalApplicationConfiguration.g:5653:2: rule__ReliabiltiyFunction__Group_1__0__Impl rule__ReliabiltiyFunction__Group_1__1 + { + pushFollow(FOLLOW_20); + rule__ReliabiltiyFunction__Group_1__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__ReliabiltiyFunction__Group_1__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ReliabiltiyFunction__Group_1__0" + + + // $ANTLR start "rule__ReliabiltiyFunction__Group_1__0__Impl" + // InternalApplicationConfiguration.g:5660:1: rule__ReliabiltiyFunction__Group_1__0__Impl : ( ( rule__ReliabiltiyFunction__PackageAssignment_1_0 ) ) ; + public final void rule__ReliabiltiyFunction__Group_1__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:5664:1: ( ( ( rule__ReliabiltiyFunction__PackageAssignment_1_0 ) ) ) + // InternalApplicationConfiguration.g:5665:1: ( ( rule__ReliabiltiyFunction__PackageAssignment_1_0 ) ) + { + // InternalApplicationConfiguration.g:5665:1: ( ( rule__ReliabiltiyFunction__PackageAssignment_1_0 ) ) + // InternalApplicationConfiguration.g:5666:2: ( rule__ReliabiltiyFunction__PackageAssignment_1_0 ) + { + before(grammarAccess.getReliabiltiyFunctionAccess().getPackageAssignment_1_0()); + // InternalApplicationConfiguration.g:5667:2: ( rule__ReliabiltiyFunction__PackageAssignment_1_0 ) + // InternalApplicationConfiguration.g:5667:3: rule__ReliabiltiyFunction__PackageAssignment_1_0 + { + pushFollow(FOLLOW_2); + rule__ReliabiltiyFunction__PackageAssignment_1_0(); + + state._fsp--; + + + } + + after(grammarAccess.getReliabiltiyFunctionAccess().getPackageAssignment_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ReliabiltiyFunction__Group_1__0__Impl" + + + // $ANTLR start "rule__ReliabiltiyFunction__Group_1__1" + // InternalApplicationConfiguration.g:5675:1: rule__ReliabiltiyFunction__Group_1__1 : rule__ReliabiltiyFunction__Group_1__1__Impl ; + public final void rule__ReliabiltiyFunction__Group_1__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:5679:1: ( rule__ReliabiltiyFunction__Group_1__1__Impl ) + // InternalApplicationConfiguration.g:5680:2: rule__ReliabiltiyFunction__Group_1__1__Impl + { + pushFollow(FOLLOW_2); + rule__ReliabiltiyFunction__Group_1__1__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ReliabiltiyFunction__Group_1__1" + + + // $ANTLR start "rule__ReliabiltiyFunction__Group_1__1__Impl" + // InternalApplicationConfiguration.g:5686:1: rule__ReliabiltiyFunction__Group_1__1__Impl : ( '::' ) ; + public final void rule__ReliabiltiyFunction__Group_1__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:5690:1: ( ( '::' ) ) + // InternalApplicationConfiguration.g:5691:1: ( '::' ) + { + // InternalApplicationConfiguration.g:5691:1: ( '::' ) + // InternalApplicationConfiguration.g:5692:2: '::' + { + before(grammarAccess.getReliabiltiyFunctionAccess().getColonColonKeyword_1_1()); + match(input,34,FOLLOW_2); + after(grammarAccess.getReliabiltiyFunctionAccess().getColonColonKeyword_1_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ReliabiltiyFunction__Group_1__1__Impl" + + + // $ANTLR start "rule__ObjectiveDeclaration__Group__0" + // InternalApplicationConfiguration.g:5702:1: rule__ObjectiveDeclaration__Group__0 : rule__ObjectiveDeclaration__Group__0__Impl rule__ObjectiveDeclaration__Group__1 ; + public final void rule__ObjectiveDeclaration__Group__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:5706:1: ( rule__ObjectiveDeclaration__Group__0__Impl rule__ObjectiveDeclaration__Group__1 ) + // InternalApplicationConfiguration.g:5707:2: rule__ObjectiveDeclaration__Group__0__Impl rule__ObjectiveDeclaration__Group__1 + { + pushFollow(FOLLOW_8); + rule__ObjectiveDeclaration__Group__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__ObjectiveDeclaration__Group__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ObjectiveDeclaration__Group__0" + + + // $ANTLR start "rule__ObjectiveDeclaration__Group__0__Impl" + // InternalApplicationConfiguration.g:5714:1: rule__ObjectiveDeclaration__Group__0__Impl : ( 'objectives' ) ; + public final void rule__ObjectiveDeclaration__Group__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:5718:1: ( ( 'objectives' ) ) + // InternalApplicationConfiguration.g:5719:1: ( 'objectives' ) + { + // InternalApplicationConfiguration.g:5719:1: ( 'objectives' ) + // InternalApplicationConfiguration.g:5720:2: 'objectives' + { + before(grammarAccess.getObjectiveDeclarationAccess().getObjectivesKeyword_0()); + match(input,39,FOLLOW_2); + after(grammarAccess.getObjectiveDeclarationAccess().getObjectivesKeyword_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ObjectiveDeclaration__Group__0__Impl" + + + // $ANTLR start "rule__ObjectiveDeclaration__Group__1" + // InternalApplicationConfiguration.g:5729:1: rule__ObjectiveDeclaration__Group__1 : rule__ObjectiveDeclaration__Group__1__Impl rule__ObjectiveDeclaration__Group__2 ; + public final void rule__ObjectiveDeclaration__Group__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:5733:1: ( rule__ObjectiveDeclaration__Group__1__Impl rule__ObjectiveDeclaration__Group__2 ) + // InternalApplicationConfiguration.g:5734:2: rule__ObjectiveDeclaration__Group__1__Impl rule__ObjectiveDeclaration__Group__2 + { + pushFollow(FOLLOW_19); + rule__ObjectiveDeclaration__Group__1__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__ObjectiveDeclaration__Group__2(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ObjectiveDeclaration__Group__1" + + + // $ANTLR start "rule__ObjectiveDeclaration__Group__1__Impl" + // InternalApplicationConfiguration.g:5741:1: rule__ObjectiveDeclaration__Group__1__Impl : ( ( rule__ObjectiveDeclaration__NameAssignment_1 ) ) ; + public final void rule__ObjectiveDeclaration__Group__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:5745:1: ( ( ( rule__ObjectiveDeclaration__NameAssignment_1 ) ) ) + // InternalApplicationConfiguration.g:5746:1: ( ( rule__ObjectiveDeclaration__NameAssignment_1 ) ) + { + // InternalApplicationConfiguration.g:5746:1: ( ( rule__ObjectiveDeclaration__NameAssignment_1 ) ) + // InternalApplicationConfiguration.g:5747:2: ( rule__ObjectiveDeclaration__NameAssignment_1 ) + { + before(grammarAccess.getObjectiveDeclarationAccess().getNameAssignment_1()); + // InternalApplicationConfiguration.g:5748:2: ( rule__ObjectiveDeclaration__NameAssignment_1 ) + // InternalApplicationConfiguration.g:5748:3: rule__ObjectiveDeclaration__NameAssignment_1 + { + pushFollow(FOLLOW_2); + rule__ObjectiveDeclaration__NameAssignment_1(); + + state._fsp--; + + + } + + after(grammarAccess.getObjectiveDeclarationAccess().getNameAssignment_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ObjectiveDeclaration__Group__1__Impl" + + + // $ANTLR start "rule__ObjectiveDeclaration__Group__2" + // InternalApplicationConfiguration.g:5756:1: rule__ObjectiveDeclaration__Group__2 : rule__ObjectiveDeclaration__Group__2__Impl ; + public final void rule__ObjectiveDeclaration__Group__2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:5760:1: ( rule__ObjectiveDeclaration__Group__2__Impl ) + // InternalApplicationConfiguration.g:5761:2: rule__ObjectiveDeclaration__Group__2__Impl + { + pushFollow(FOLLOW_2); + rule__ObjectiveDeclaration__Group__2__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ObjectiveDeclaration__Group__2" + + + // $ANTLR start "rule__ObjectiveDeclaration__Group__2__Impl" + // InternalApplicationConfiguration.g:5767:1: rule__ObjectiveDeclaration__Group__2__Impl : ( ( rule__ObjectiveDeclaration__SpecificationAssignment_2 ) ) ; + public final void rule__ObjectiveDeclaration__Group__2__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:5771:1: ( ( ( rule__ObjectiveDeclaration__SpecificationAssignment_2 ) ) ) + // InternalApplicationConfiguration.g:5772:1: ( ( rule__ObjectiveDeclaration__SpecificationAssignment_2 ) ) + { + // InternalApplicationConfiguration.g:5772:1: ( ( rule__ObjectiveDeclaration__SpecificationAssignment_2 ) ) + // InternalApplicationConfiguration.g:5773:2: ( rule__ObjectiveDeclaration__SpecificationAssignment_2 ) + { + before(grammarAccess.getObjectiveDeclarationAccess().getSpecificationAssignment_2()); + // InternalApplicationConfiguration.g:5774:2: ( rule__ObjectiveDeclaration__SpecificationAssignment_2 ) + // InternalApplicationConfiguration.g:5774:3: rule__ObjectiveDeclaration__SpecificationAssignment_2 + { + pushFollow(FOLLOW_2); + rule__ObjectiveDeclaration__SpecificationAssignment_2(); + + state._fsp--; + + + } + + after(grammarAccess.getObjectiveDeclarationAccess().getSpecificationAssignment_2()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ObjectiveDeclaration__Group__2__Impl" + + + // $ANTLR start "rule__ConfigSpecification__Group__0" + // InternalApplicationConfiguration.g:5783:1: rule__ConfigSpecification__Group__0 : rule__ConfigSpecification__Group__0__Impl rule__ConfigSpecification__Group__1 ; + public final void rule__ConfigSpecification__Group__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:5787:1: ( rule__ConfigSpecification__Group__0__Impl rule__ConfigSpecification__Group__1 ) + // InternalApplicationConfiguration.g:5788:2: rule__ConfigSpecification__Group__0__Impl rule__ConfigSpecification__Group__1 + { + pushFollow(FOLLOW_19); + rule__ConfigSpecification__Group__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__ConfigSpecification__Group__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ConfigSpecification__Group__0" + + + // $ANTLR start "rule__ConfigSpecification__Group__0__Impl" + // InternalApplicationConfiguration.g:5795:1: rule__ConfigSpecification__Group__0__Impl : ( () ) ; + public final void rule__ConfigSpecification__Group__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:5799:1: ( ( () ) ) + // InternalApplicationConfiguration.g:5800:1: ( () ) + { + // InternalApplicationConfiguration.g:5800:1: ( () ) + // InternalApplicationConfiguration.g:5801:2: () + { + before(grammarAccess.getConfigSpecificationAccess().getConfigSpecificationAction_0()); + // InternalApplicationConfiguration.g:5802:2: () + // InternalApplicationConfiguration.g:5802:3: + { + } + + after(grammarAccess.getConfigSpecificationAccess().getConfigSpecificationAction_0()); + + } + + + } + + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ConfigSpecification__Group__0__Impl" + + + // $ANTLR start "rule__ConfigSpecification__Group__1" + // InternalApplicationConfiguration.g:5810:1: rule__ConfigSpecification__Group__1 : rule__ConfigSpecification__Group__1__Impl rule__ConfigSpecification__Group__2 ; + public final void rule__ConfigSpecification__Group__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:5814:1: ( rule__ConfigSpecification__Group__1__Impl rule__ConfigSpecification__Group__2 ) + // InternalApplicationConfiguration.g:5815:2: rule__ConfigSpecification__Group__1__Impl rule__ConfigSpecification__Group__2 + { + pushFollow(FOLLOW_26); + rule__ConfigSpecification__Group__1__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__ConfigSpecification__Group__2(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ConfigSpecification__Group__1" + + + // $ANTLR start "rule__ConfigSpecification__Group__1__Impl" + // InternalApplicationConfiguration.g:5822:1: rule__ConfigSpecification__Group__1__Impl : ( '{' ) ; + public final void rule__ConfigSpecification__Group__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:5826:1: ( ( '{' ) ) + // InternalApplicationConfiguration.g:5827:1: ( '{' ) + { + // InternalApplicationConfiguration.g:5827:1: ( '{' ) + // InternalApplicationConfiguration.g:5828:2: '{' + { + before(grammarAccess.getConfigSpecificationAccess().getLeftCurlyBracketKeyword_1()); + match(input,29,FOLLOW_2); + after(grammarAccess.getConfigSpecificationAccess().getLeftCurlyBracketKeyword_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ConfigSpecification__Group__1__Impl" + + + // $ANTLR start "rule__ConfigSpecification__Group__2" + // InternalApplicationConfiguration.g:5837:1: rule__ConfigSpecification__Group__2 : rule__ConfigSpecification__Group__2__Impl rule__ConfigSpecification__Group__3 ; + public final void rule__ConfigSpecification__Group__2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:5841:1: ( rule__ConfigSpecification__Group__2__Impl rule__ConfigSpecification__Group__3 ) + // InternalApplicationConfiguration.g:5842:2: rule__ConfigSpecification__Group__2__Impl rule__ConfigSpecification__Group__3 + { + pushFollow(FOLLOW_26); + rule__ConfigSpecification__Group__2__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__ConfigSpecification__Group__3(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ConfigSpecification__Group__2" + + + // $ANTLR start "rule__ConfigSpecification__Group__2__Impl" + // InternalApplicationConfiguration.g:5849:1: rule__ConfigSpecification__Group__2__Impl : ( ( rule__ConfigSpecification__Group_2__0 )? ) ; + public final void rule__ConfigSpecification__Group__2__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:5853:1: ( ( ( rule__ConfigSpecification__Group_2__0 )? ) ) + // InternalApplicationConfiguration.g:5854:1: ( ( rule__ConfigSpecification__Group_2__0 )? ) + { + // InternalApplicationConfiguration.g:5854:1: ( ( rule__ConfigSpecification__Group_2__0 )? ) + // InternalApplicationConfiguration.g:5855:2: ( rule__ConfigSpecification__Group_2__0 )? + { + before(grammarAccess.getConfigSpecificationAccess().getGroup_2()); + // InternalApplicationConfiguration.g:5856:2: ( rule__ConfigSpecification__Group_2__0 )? + int alt52=2; + int LA52_0 = input.LA(1); + + if ( (LA52_0==RULE_STRING||(LA52_0>=41 && LA52_0<=43)) ) { + alt52=1; + } + switch (alt52) { + case 1 : + // InternalApplicationConfiguration.g:5856:3: rule__ConfigSpecification__Group_2__0 + { + pushFollow(FOLLOW_2); + rule__ConfigSpecification__Group_2__0(); + + state._fsp--; + + + } + break; + + } + + after(grammarAccess.getConfigSpecificationAccess().getGroup_2()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ConfigSpecification__Group__2__Impl" + + + // $ANTLR start "rule__ConfigSpecification__Group__3" + // InternalApplicationConfiguration.g:5864:1: rule__ConfigSpecification__Group__3 : rule__ConfigSpecification__Group__3__Impl ; + public final void rule__ConfigSpecification__Group__3() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:5868:1: ( rule__ConfigSpecification__Group__3__Impl ) + // InternalApplicationConfiguration.g:5869:2: rule__ConfigSpecification__Group__3__Impl + { + pushFollow(FOLLOW_2); + rule__ConfigSpecification__Group__3__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ConfigSpecification__Group__3" + + + // $ANTLR start "rule__ConfigSpecification__Group__3__Impl" + // InternalApplicationConfiguration.g:5875:1: rule__ConfigSpecification__Group__3__Impl : ( '}' ) ; + public final void rule__ConfigSpecification__Group__3__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:5879:1: ( ( '}' ) ) + // InternalApplicationConfiguration.g:5880:1: ( '}' ) + { + // InternalApplicationConfiguration.g:5880:1: ( '}' ) + // InternalApplicationConfiguration.g:5881:2: '}' + { + before(grammarAccess.getConfigSpecificationAccess().getRightCurlyBracketKeyword_3()); + match(input,30,FOLLOW_2); + after(grammarAccess.getConfigSpecificationAccess().getRightCurlyBracketKeyword_3()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ConfigSpecification__Group__3__Impl" + + + // $ANTLR start "rule__ConfigSpecification__Group_2__0" + // InternalApplicationConfiguration.g:5891:1: rule__ConfigSpecification__Group_2__0 : rule__ConfigSpecification__Group_2__0__Impl rule__ConfigSpecification__Group_2__1 ; + public final void rule__ConfigSpecification__Group_2__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:5895:1: ( rule__ConfigSpecification__Group_2__0__Impl rule__ConfigSpecification__Group_2__1 ) + // InternalApplicationConfiguration.g:5896:2: rule__ConfigSpecification__Group_2__0__Impl rule__ConfigSpecification__Group_2__1 + { + pushFollow(FOLLOW_27); + rule__ConfigSpecification__Group_2__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__ConfigSpecification__Group_2__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ConfigSpecification__Group_2__0" + + + // $ANTLR start "rule__ConfigSpecification__Group_2__0__Impl" + // InternalApplicationConfiguration.g:5903:1: rule__ConfigSpecification__Group_2__0__Impl : ( ( rule__ConfigSpecification__EntriesAssignment_2_0 ) ) ; + public final void rule__ConfigSpecification__Group_2__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:5907:1: ( ( ( rule__ConfigSpecification__EntriesAssignment_2_0 ) ) ) + // InternalApplicationConfiguration.g:5908:1: ( ( rule__ConfigSpecification__EntriesAssignment_2_0 ) ) + { + // InternalApplicationConfiguration.g:5908:1: ( ( rule__ConfigSpecification__EntriesAssignment_2_0 ) ) + // InternalApplicationConfiguration.g:5909:2: ( rule__ConfigSpecification__EntriesAssignment_2_0 ) + { + before(grammarAccess.getConfigSpecificationAccess().getEntriesAssignment_2_0()); + // InternalApplicationConfiguration.g:5910:2: ( rule__ConfigSpecification__EntriesAssignment_2_0 ) + // InternalApplicationConfiguration.g:5910:3: rule__ConfigSpecification__EntriesAssignment_2_0 + { + pushFollow(FOLLOW_2); + rule__ConfigSpecification__EntriesAssignment_2_0(); + + state._fsp--; + + + } + + after(grammarAccess.getConfigSpecificationAccess().getEntriesAssignment_2_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ConfigSpecification__Group_2__0__Impl" + + + // $ANTLR start "rule__ConfigSpecification__Group_2__1" + // InternalApplicationConfiguration.g:5918:1: rule__ConfigSpecification__Group_2__1 : rule__ConfigSpecification__Group_2__1__Impl ; + public final void rule__ConfigSpecification__Group_2__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:5922:1: ( rule__ConfigSpecification__Group_2__1__Impl ) + // InternalApplicationConfiguration.g:5923:2: rule__ConfigSpecification__Group_2__1__Impl + { + pushFollow(FOLLOW_2); + rule__ConfigSpecification__Group_2__1__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ConfigSpecification__Group_2__1" + + + // $ANTLR start "rule__ConfigSpecification__Group_2__1__Impl" + // InternalApplicationConfiguration.g:5929:1: rule__ConfigSpecification__Group_2__1__Impl : ( ( rule__ConfigSpecification__Group_2_1__0 )* ) ; + public final void rule__ConfigSpecification__Group_2__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:5933:1: ( ( ( rule__ConfigSpecification__Group_2_1__0 )* ) ) + // InternalApplicationConfiguration.g:5934:1: ( ( rule__ConfigSpecification__Group_2_1__0 )* ) + { + // InternalApplicationConfiguration.g:5934:1: ( ( rule__ConfigSpecification__Group_2_1__0 )* ) + // InternalApplicationConfiguration.g:5935:2: ( rule__ConfigSpecification__Group_2_1__0 )* + { + before(grammarAccess.getConfigSpecificationAccess().getGroup_2_1()); + // InternalApplicationConfiguration.g:5936:2: ( rule__ConfigSpecification__Group_2_1__0 )* + loop53: + do { + int alt53=2; + int LA53_0 = input.LA(1); + + if ( (LA53_0==31) ) { + alt53=1; + } + + + switch (alt53) { + case 1 : + // InternalApplicationConfiguration.g:5936:3: rule__ConfigSpecification__Group_2_1__0 + { + pushFollow(FOLLOW_17); + rule__ConfigSpecification__Group_2_1__0(); + + state._fsp--; + + + } + break; + + default : + break loop53; + } + } while (true); + + after(grammarAccess.getConfigSpecificationAccess().getGroup_2_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ConfigSpecification__Group_2__1__Impl" + + + // $ANTLR start "rule__ConfigSpecification__Group_2_1__0" + // InternalApplicationConfiguration.g:5945:1: rule__ConfigSpecification__Group_2_1__0 : rule__ConfigSpecification__Group_2_1__0__Impl rule__ConfigSpecification__Group_2_1__1 ; + public final void rule__ConfigSpecification__Group_2_1__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:5949:1: ( rule__ConfigSpecification__Group_2_1__0__Impl rule__ConfigSpecification__Group_2_1__1 ) + // InternalApplicationConfiguration.g:5950:2: rule__ConfigSpecification__Group_2_1__0__Impl rule__ConfigSpecification__Group_2_1__1 + { + pushFollow(FOLLOW_28); + rule__ConfigSpecification__Group_2_1__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__ConfigSpecification__Group_2_1__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ConfigSpecification__Group_2_1__0" + + + // $ANTLR start "rule__ConfigSpecification__Group_2_1__0__Impl" + // InternalApplicationConfiguration.g:5957:1: rule__ConfigSpecification__Group_2_1__0__Impl : ( ',' ) ; + public final void rule__ConfigSpecification__Group_2_1__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:5961:1: ( ( ',' ) ) + // InternalApplicationConfiguration.g:5962:1: ( ',' ) + { + // InternalApplicationConfiguration.g:5962:1: ( ',' ) + // InternalApplicationConfiguration.g:5963:2: ',' + { + before(grammarAccess.getConfigSpecificationAccess().getCommaKeyword_2_1_0()); + match(input,31,FOLLOW_2); + after(grammarAccess.getConfigSpecificationAccess().getCommaKeyword_2_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ConfigSpecification__Group_2_1__0__Impl" + + + // $ANTLR start "rule__ConfigSpecification__Group_2_1__1" + // InternalApplicationConfiguration.g:5972:1: rule__ConfigSpecification__Group_2_1__1 : rule__ConfigSpecification__Group_2_1__1__Impl ; + public final void rule__ConfigSpecification__Group_2_1__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:5976:1: ( rule__ConfigSpecification__Group_2_1__1__Impl ) + // InternalApplicationConfiguration.g:5977:2: rule__ConfigSpecification__Group_2_1__1__Impl + { + pushFollow(FOLLOW_2); + rule__ConfigSpecification__Group_2_1__1__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ConfigSpecification__Group_2_1__1" + + + // $ANTLR start "rule__ConfigSpecification__Group_2_1__1__Impl" + // InternalApplicationConfiguration.g:5983:1: rule__ConfigSpecification__Group_2_1__1__Impl : ( ( rule__ConfigSpecification__EntriesAssignment_2_1_1 ) ) ; + public final void rule__ConfigSpecification__Group_2_1__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:5987:1: ( ( ( rule__ConfigSpecification__EntriesAssignment_2_1_1 ) ) ) + // InternalApplicationConfiguration.g:5988:1: ( ( rule__ConfigSpecification__EntriesAssignment_2_1_1 ) ) + { + // InternalApplicationConfiguration.g:5988:1: ( ( rule__ConfigSpecification__EntriesAssignment_2_1_1 ) ) + // InternalApplicationConfiguration.g:5989:2: ( rule__ConfigSpecification__EntriesAssignment_2_1_1 ) + { + before(grammarAccess.getConfigSpecificationAccess().getEntriesAssignment_2_1_1()); + // InternalApplicationConfiguration.g:5990:2: ( rule__ConfigSpecification__EntriesAssignment_2_1_1 ) + // InternalApplicationConfiguration.g:5990:3: rule__ConfigSpecification__EntriesAssignment_2_1_1 + { + pushFollow(FOLLOW_2); + rule__ConfigSpecification__EntriesAssignment_2_1_1(); + + state._fsp--; + + + } + + after(grammarAccess.getConfigSpecificationAccess().getEntriesAssignment_2_1_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ConfigSpecification__Group_2_1__1__Impl" + + + // $ANTLR start "rule__ConfigDeclaration__Group__0" + // InternalApplicationConfiguration.g:5999:1: rule__ConfigDeclaration__Group__0 : rule__ConfigDeclaration__Group__0__Impl rule__ConfigDeclaration__Group__1 ; + public final void rule__ConfigDeclaration__Group__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:6003:1: ( rule__ConfigDeclaration__Group__0__Impl rule__ConfigDeclaration__Group__1 ) + // InternalApplicationConfiguration.g:6004:2: rule__ConfigDeclaration__Group__0__Impl rule__ConfigDeclaration__Group__1 + { + pushFollow(FOLLOW_8); + rule__ConfigDeclaration__Group__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__ConfigDeclaration__Group__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ConfigDeclaration__Group__0" + + + // $ANTLR start "rule__ConfigDeclaration__Group__0__Impl" + // InternalApplicationConfiguration.g:6011:1: rule__ConfigDeclaration__Group__0__Impl : ( 'config' ) ; + public final void rule__ConfigDeclaration__Group__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:6015:1: ( ( 'config' ) ) + // InternalApplicationConfiguration.g:6016:1: ( 'config' ) + { + // InternalApplicationConfiguration.g:6016:1: ( 'config' ) + // InternalApplicationConfiguration.g:6017:2: 'config' + { + before(grammarAccess.getConfigDeclarationAccess().getConfigKeyword_0()); + match(input,40,FOLLOW_2); + after(grammarAccess.getConfigDeclarationAccess().getConfigKeyword_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ConfigDeclaration__Group__0__Impl" + + + // $ANTLR start "rule__ConfigDeclaration__Group__1" + // InternalApplicationConfiguration.g:6026:1: rule__ConfigDeclaration__Group__1 : rule__ConfigDeclaration__Group__1__Impl rule__ConfigDeclaration__Group__2 ; + public final void rule__ConfigDeclaration__Group__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:6030:1: ( rule__ConfigDeclaration__Group__1__Impl rule__ConfigDeclaration__Group__2 ) + // InternalApplicationConfiguration.g:6031:2: rule__ConfigDeclaration__Group__1__Impl rule__ConfigDeclaration__Group__2 + { + pushFollow(FOLLOW_19); + rule__ConfigDeclaration__Group__1__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__ConfigDeclaration__Group__2(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ConfigDeclaration__Group__1" + + + // $ANTLR start "rule__ConfigDeclaration__Group__1__Impl" + // InternalApplicationConfiguration.g:6038:1: rule__ConfigDeclaration__Group__1__Impl : ( ( rule__ConfigDeclaration__NameAssignment_1 ) ) ; + public final void rule__ConfigDeclaration__Group__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:6042:1: ( ( ( rule__ConfigDeclaration__NameAssignment_1 ) ) ) + // InternalApplicationConfiguration.g:6043:1: ( ( rule__ConfigDeclaration__NameAssignment_1 ) ) + { + // InternalApplicationConfiguration.g:6043:1: ( ( rule__ConfigDeclaration__NameAssignment_1 ) ) + // InternalApplicationConfiguration.g:6044:2: ( rule__ConfigDeclaration__NameAssignment_1 ) + { + before(grammarAccess.getConfigDeclarationAccess().getNameAssignment_1()); + // InternalApplicationConfiguration.g:6045:2: ( rule__ConfigDeclaration__NameAssignment_1 ) + // InternalApplicationConfiguration.g:6045:3: rule__ConfigDeclaration__NameAssignment_1 + { + pushFollow(FOLLOW_2); + rule__ConfigDeclaration__NameAssignment_1(); + + state._fsp--; + + + } + + after(grammarAccess.getConfigDeclarationAccess().getNameAssignment_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ConfigDeclaration__Group__1__Impl" + + + // $ANTLR start "rule__ConfigDeclaration__Group__2" + // InternalApplicationConfiguration.g:6053:1: rule__ConfigDeclaration__Group__2 : rule__ConfigDeclaration__Group__2__Impl ; + public final void rule__ConfigDeclaration__Group__2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:6057:1: ( rule__ConfigDeclaration__Group__2__Impl ) + // InternalApplicationConfiguration.g:6058:2: rule__ConfigDeclaration__Group__2__Impl + { + pushFollow(FOLLOW_2); + rule__ConfigDeclaration__Group__2__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ConfigDeclaration__Group__2" + + + // $ANTLR start "rule__ConfigDeclaration__Group__2__Impl" + // InternalApplicationConfiguration.g:6064:1: rule__ConfigDeclaration__Group__2__Impl : ( ( rule__ConfigDeclaration__SpecificationAssignment_2 ) ) ; + public final void rule__ConfigDeclaration__Group__2__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:6068:1: ( ( ( rule__ConfigDeclaration__SpecificationAssignment_2 ) ) ) + // InternalApplicationConfiguration.g:6069:1: ( ( rule__ConfigDeclaration__SpecificationAssignment_2 ) ) + { + // InternalApplicationConfiguration.g:6069:1: ( ( rule__ConfigDeclaration__SpecificationAssignment_2 ) ) + // InternalApplicationConfiguration.g:6070:2: ( rule__ConfigDeclaration__SpecificationAssignment_2 ) + { + before(grammarAccess.getConfigDeclarationAccess().getSpecificationAssignment_2()); + // InternalApplicationConfiguration.g:6071:2: ( rule__ConfigDeclaration__SpecificationAssignment_2 ) + // InternalApplicationConfiguration.g:6071:3: rule__ConfigDeclaration__SpecificationAssignment_2 + { + pushFollow(FOLLOW_2); + rule__ConfigDeclaration__SpecificationAssignment_2(); + + state._fsp--; + + + } + + after(grammarAccess.getConfigDeclarationAccess().getSpecificationAssignment_2()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ConfigDeclaration__Group__2__Impl" + + + // $ANTLR start "rule__DocumentationEntry__Group__0" + // InternalApplicationConfiguration.g:6080:1: rule__DocumentationEntry__Group__0 : rule__DocumentationEntry__Group__0__Impl rule__DocumentationEntry__Group__1 ; + public final void rule__DocumentationEntry__Group__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:6084:1: ( rule__DocumentationEntry__Group__0__Impl rule__DocumentationEntry__Group__1 ) + // InternalApplicationConfiguration.g:6085:2: rule__DocumentationEntry__Group__0__Impl rule__DocumentationEntry__Group__1 + { + pushFollow(FOLLOW_14); + rule__DocumentationEntry__Group__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__DocumentationEntry__Group__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__DocumentationEntry__Group__0" + + + // $ANTLR start "rule__DocumentationEntry__Group__0__Impl" + // InternalApplicationConfiguration.g:6092:1: rule__DocumentationEntry__Group__0__Impl : ( 'log-level' ) ; + public final void rule__DocumentationEntry__Group__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:6096:1: ( ( 'log-level' ) ) + // InternalApplicationConfiguration.g:6097:1: ( 'log-level' ) + { + // InternalApplicationConfiguration.g:6097:1: ( 'log-level' ) + // InternalApplicationConfiguration.g:6098:2: 'log-level' + { + before(grammarAccess.getDocumentationEntryAccess().getLogLevelKeyword_0()); + match(input,41,FOLLOW_2); + after(grammarAccess.getDocumentationEntryAccess().getLogLevelKeyword_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__DocumentationEntry__Group__0__Impl" + + + // $ANTLR start "rule__DocumentationEntry__Group__1" + // InternalApplicationConfiguration.g:6107:1: rule__DocumentationEntry__Group__1 : rule__DocumentationEntry__Group__1__Impl rule__DocumentationEntry__Group__2 ; + public final void rule__DocumentationEntry__Group__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:6111:1: ( rule__DocumentationEntry__Group__1__Impl rule__DocumentationEntry__Group__2 ) + // InternalApplicationConfiguration.g:6112:2: rule__DocumentationEntry__Group__1__Impl rule__DocumentationEntry__Group__2 + { + pushFollow(FOLLOW_29); + rule__DocumentationEntry__Group__1__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__DocumentationEntry__Group__2(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__DocumentationEntry__Group__1" + + + // $ANTLR start "rule__DocumentationEntry__Group__1__Impl" + // InternalApplicationConfiguration.g:6119:1: rule__DocumentationEntry__Group__1__Impl : ( '=' ) ; + public final void rule__DocumentationEntry__Group__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:6123:1: ( ( '=' ) ) + // InternalApplicationConfiguration.g:6124:1: ( '=' ) + { + // InternalApplicationConfiguration.g:6124:1: ( '=' ) + // InternalApplicationConfiguration.g:6125:2: '=' + { + before(grammarAccess.getDocumentationEntryAccess().getEqualsSignKeyword_1()); + match(input,28,FOLLOW_2); + after(grammarAccess.getDocumentationEntryAccess().getEqualsSignKeyword_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__DocumentationEntry__Group__1__Impl" + + + // $ANTLR start "rule__DocumentationEntry__Group__2" + // InternalApplicationConfiguration.g:6134:1: rule__DocumentationEntry__Group__2 : rule__DocumentationEntry__Group__2__Impl ; + public final void rule__DocumentationEntry__Group__2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:6138:1: ( rule__DocumentationEntry__Group__2__Impl ) + // InternalApplicationConfiguration.g:6139:2: rule__DocumentationEntry__Group__2__Impl + { + pushFollow(FOLLOW_2); + rule__DocumentationEntry__Group__2__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__DocumentationEntry__Group__2" + + + // $ANTLR start "rule__DocumentationEntry__Group__2__Impl" + // InternalApplicationConfiguration.g:6145:1: rule__DocumentationEntry__Group__2__Impl : ( ( rule__DocumentationEntry__LevelAssignment_2 ) ) ; + public final void rule__DocumentationEntry__Group__2__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:6149:1: ( ( ( rule__DocumentationEntry__LevelAssignment_2 ) ) ) + // InternalApplicationConfiguration.g:6150:1: ( ( rule__DocumentationEntry__LevelAssignment_2 ) ) + { + // InternalApplicationConfiguration.g:6150:1: ( ( rule__DocumentationEntry__LevelAssignment_2 ) ) + // InternalApplicationConfiguration.g:6151:2: ( rule__DocumentationEntry__LevelAssignment_2 ) + { + before(grammarAccess.getDocumentationEntryAccess().getLevelAssignment_2()); + // InternalApplicationConfiguration.g:6152:2: ( rule__DocumentationEntry__LevelAssignment_2 ) + // InternalApplicationConfiguration.g:6152:3: rule__DocumentationEntry__LevelAssignment_2 + { + pushFollow(FOLLOW_2); + rule__DocumentationEntry__LevelAssignment_2(); + + state._fsp--; + + + } + + after(grammarAccess.getDocumentationEntryAccess().getLevelAssignment_2()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__DocumentationEntry__Group__2__Impl" + + + // $ANTLR start "rule__RuntimeEntry__Group__0" + // InternalApplicationConfiguration.g:6161:1: rule__RuntimeEntry__Group__0 : rule__RuntimeEntry__Group__0__Impl rule__RuntimeEntry__Group__1 ; + public final void rule__RuntimeEntry__Group__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:6165:1: ( rule__RuntimeEntry__Group__0__Impl rule__RuntimeEntry__Group__1 ) + // InternalApplicationConfiguration.g:6166:2: rule__RuntimeEntry__Group__0__Impl rule__RuntimeEntry__Group__1 + { + pushFollow(FOLLOW_14); + rule__RuntimeEntry__Group__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__RuntimeEntry__Group__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__RuntimeEntry__Group__0" + + + // $ANTLR start "rule__RuntimeEntry__Group__0__Impl" + // InternalApplicationConfiguration.g:6173:1: rule__RuntimeEntry__Group__0__Impl : ( 'runtime' ) ; + public final void rule__RuntimeEntry__Group__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:6177:1: ( ( 'runtime' ) ) + // InternalApplicationConfiguration.g:6178:1: ( 'runtime' ) + { + // InternalApplicationConfiguration.g:6178:1: ( 'runtime' ) + // InternalApplicationConfiguration.g:6179:2: 'runtime' + { + before(grammarAccess.getRuntimeEntryAccess().getRuntimeKeyword_0()); + match(input,42,FOLLOW_2); + after(grammarAccess.getRuntimeEntryAccess().getRuntimeKeyword_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__RuntimeEntry__Group__0__Impl" + + + // $ANTLR start "rule__RuntimeEntry__Group__1" + // InternalApplicationConfiguration.g:6188:1: rule__RuntimeEntry__Group__1 : rule__RuntimeEntry__Group__1__Impl rule__RuntimeEntry__Group__2 ; + public final void rule__RuntimeEntry__Group__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:6192:1: ( rule__RuntimeEntry__Group__1__Impl rule__RuntimeEntry__Group__2 ) + // InternalApplicationConfiguration.g:6193:2: rule__RuntimeEntry__Group__1__Impl rule__RuntimeEntry__Group__2 + { + pushFollow(FOLLOW_9); + rule__RuntimeEntry__Group__1__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__RuntimeEntry__Group__2(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__RuntimeEntry__Group__1" + + + // $ANTLR start "rule__RuntimeEntry__Group__1__Impl" + // InternalApplicationConfiguration.g:6200:1: rule__RuntimeEntry__Group__1__Impl : ( '=' ) ; + public final void rule__RuntimeEntry__Group__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:6204:1: ( ( '=' ) ) + // InternalApplicationConfiguration.g:6205:1: ( '=' ) + { + // InternalApplicationConfiguration.g:6205:1: ( '=' ) + // InternalApplicationConfiguration.g:6206:2: '=' + { + before(grammarAccess.getRuntimeEntryAccess().getEqualsSignKeyword_1()); + match(input,28,FOLLOW_2); + after(grammarAccess.getRuntimeEntryAccess().getEqualsSignKeyword_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__RuntimeEntry__Group__1__Impl" + + + // $ANTLR start "rule__RuntimeEntry__Group__2" + // InternalApplicationConfiguration.g:6215:1: rule__RuntimeEntry__Group__2 : rule__RuntimeEntry__Group__2__Impl ; + public final void rule__RuntimeEntry__Group__2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:6219:1: ( rule__RuntimeEntry__Group__2__Impl ) + // InternalApplicationConfiguration.g:6220:2: rule__RuntimeEntry__Group__2__Impl + { + pushFollow(FOLLOW_2); + rule__RuntimeEntry__Group__2__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__RuntimeEntry__Group__2" + + + // $ANTLR start "rule__RuntimeEntry__Group__2__Impl" + // InternalApplicationConfiguration.g:6226:1: rule__RuntimeEntry__Group__2__Impl : ( ( rule__RuntimeEntry__MillisecLimitAssignment_2 ) ) ; + public final void rule__RuntimeEntry__Group__2__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:6230:1: ( ( ( rule__RuntimeEntry__MillisecLimitAssignment_2 ) ) ) + // InternalApplicationConfiguration.g:6231:1: ( ( rule__RuntimeEntry__MillisecLimitAssignment_2 ) ) + { + // InternalApplicationConfiguration.g:6231:1: ( ( rule__RuntimeEntry__MillisecLimitAssignment_2 ) ) + // InternalApplicationConfiguration.g:6232:2: ( rule__RuntimeEntry__MillisecLimitAssignment_2 ) + { + before(grammarAccess.getRuntimeEntryAccess().getMillisecLimitAssignment_2()); + // InternalApplicationConfiguration.g:6233:2: ( rule__RuntimeEntry__MillisecLimitAssignment_2 ) + // InternalApplicationConfiguration.g:6233:3: rule__RuntimeEntry__MillisecLimitAssignment_2 + { + pushFollow(FOLLOW_2); + rule__RuntimeEntry__MillisecLimitAssignment_2(); + + state._fsp--; + + + } + + after(grammarAccess.getRuntimeEntryAccess().getMillisecLimitAssignment_2()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__RuntimeEntry__Group__2__Impl" + + + // $ANTLR start "rule__MemoryEntry__Group__0" + // InternalApplicationConfiguration.g:6242:1: rule__MemoryEntry__Group__0 : rule__MemoryEntry__Group__0__Impl rule__MemoryEntry__Group__1 ; + public final void rule__MemoryEntry__Group__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:6246:1: ( rule__MemoryEntry__Group__0__Impl rule__MemoryEntry__Group__1 ) + // InternalApplicationConfiguration.g:6247:2: rule__MemoryEntry__Group__0__Impl rule__MemoryEntry__Group__1 + { + pushFollow(FOLLOW_14); + rule__MemoryEntry__Group__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__MemoryEntry__Group__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__MemoryEntry__Group__0" + + + // $ANTLR start "rule__MemoryEntry__Group__0__Impl" + // InternalApplicationConfiguration.g:6254:1: rule__MemoryEntry__Group__0__Impl : ( 'memory' ) ; + public final void rule__MemoryEntry__Group__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:6258:1: ( ( 'memory' ) ) + // InternalApplicationConfiguration.g:6259:1: ( 'memory' ) + { + // InternalApplicationConfiguration.g:6259:1: ( 'memory' ) + // InternalApplicationConfiguration.g:6260:2: 'memory' + { + before(grammarAccess.getMemoryEntryAccess().getMemoryKeyword_0()); + match(input,43,FOLLOW_2); + after(grammarAccess.getMemoryEntryAccess().getMemoryKeyword_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__MemoryEntry__Group__0__Impl" + + + // $ANTLR start "rule__MemoryEntry__Group__1" + // InternalApplicationConfiguration.g:6269:1: rule__MemoryEntry__Group__1 : rule__MemoryEntry__Group__1__Impl rule__MemoryEntry__Group__2 ; + public final void rule__MemoryEntry__Group__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:6273:1: ( rule__MemoryEntry__Group__1__Impl rule__MemoryEntry__Group__2 ) + // InternalApplicationConfiguration.g:6274:2: rule__MemoryEntry__Group__1__Impl rule__MemoryEntry__Group__2 + { + pushFollow(FOLLOW_9); + rule__MemoryEntry__Group__1__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__MemoryEntry__Group__2(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__MemoryEntry__Group__1" + + + // $ANTLR start "rule__MemoryEntry__Group__1__Impl" + // InternalApplicationConfiguration.g:6281:1: rule__MemoryEntry__Group__1__Impl : ( '=' ) ; + public final void rule__MemoryEntry__Group__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:6285:1: ( ( '=' ) ) + // InternalApplicationConfiguration.g:6286:1: ( '=' ) + { + // InternalApplicationConfiguration.g:6286:1: ( '=' ) + // InternalApplicationConfiguration.g:6287:2: '=' + { + before(grammarAccess.getMemoryEntryAccess().getEqualsSignKeyword_1()); + match(input,28,FOLLOW_2); + after(grammarAccess.getMemoryEntryAccess().getEqualsSignKeyword_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__MemoryEntry__Group__1__Impl" + + + // $ANTLR start "rule__MemoryEntry__Group__2" + // InternalApplicationConfiguration.g:6296:1: rule__MemoryEntry__Group__2 : rule__MemoryEntry__Group__2__Impl ; + public final void rule__MemoryEntry__Group__2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:6300:1: ( rule__MemoryEntry__Group__2__Impl ) + // InternalApplicationConfiguration.g:6301:2: rule__MemoryEntry__Group__2__Impl + { + pushFollow(FOLLOW_2); + rule__MemoryEntry__Group__2__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__MemoryEntry__Group__2" + + + // $ANTLR start "rule__MemoryEntry__Group__2__Impl" + // InternalApplicationConfiguration.g:6307:1: rule__MemoryEntry__Group__2__Impl : ( ( rule__MemoryEntry__MegabyteLimitAssignment_2 ) ) ; + public final void rule__MemoryEntry__Group__2__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:6311:1: ( ( ( rule__MemoryEntry__MegabyteLimitAssignment_2 ) ) ) + // InternalApplicationConfiguration.g:6312:1: ( ( rule__MemoryEntry__MegabyteLimitAssignment_2 ) ) + { + // InternalApplicationConfiguration.g:6312:1: ( ( rule__MemoryEntry__MegabyteLimitAssignment_2 ) ) + // InternalApplicationConfiguration.g:6313:2: ( rule__MemoryEntry__MegabyteLimitAssignment_2 ) + { + before(grammarAccess.getMemoryEntryAccess().getMegabyteLimitAssignment_2()); + // InternalApplicationConfiguration.g:6314:2: ( rule__MemoryEntry__MegabyteLimitAssignment_2 ) + // InternalApplicationConfiguration.g:6314:3: rule__MemoryEntry__MegabyteLimitAssignment_2 + { + pushFollow(FOLLOW_2); + rule__MemoryEntry__MegabyteLimitAssignment_2(); + + state._fsp--; + + + } + + after(grammarAccess.getMemoryEntryAccess().getMegabyteLimitAssignment_2()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__MemoryEntry__Group__2__Impl" + + + // $ANTLR start "rule__CustomEntry__Group__0" + // InternalApplicationConfiguration.g:6323:1: rule__CustomEntry__Group__0 : rule__CustomEntry__Group__0__Impl rule__CustomEntry__Group__1 ; + public final void rule__CustomEntry__Group__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:6327:1: ( rule__CustomEntry__Group__0__Impl rule__CustomEntry__Group__1 ) + // InternalApplicationConfiguration.g:6328:2: rule__CustomEntry__Group__0__Impl rule__CustomEntry__Group__1 + { + pushFollow(FOLLOW_14); + rule__CustomEntry__Group__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__CustomEntry__Group__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__CustomEntry__Group__0" + + + // $ANTLR start "rule__CustomEntry__Group__0__Impl" + // InternalApplicationConfiguration.g:6335:1: rule__CustomEntry__Group__0__Impl : ( ( rule__CustomEntry__KeyAssignment_0 ) ) ; + public final void rule__CustomEntry__Group__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:6339:1: ( ( ( rule__CustomEntry__KeyAssignment_0 ) ) ) + // InternalApplicationConfiguration.g:6340:1: ( ( rule__CustomEntry__KeyAssignment_0 ) ) + { + // InternalApplicationConfiguration.g:6340:1: ( ( rule__CustomEntry__KeyAssignment_0 ) ) + // InternalApplicationConfiguration.g:6341:2: ( rule__CustomEntry__KeyAssignment_0 ) + { + before(grammarAccess.getCustomEntryAccess().getKeyAssignment_0()); + // InternalApplicationConfiguration.g:6342:2: ( rule__CustomEntry__KeyAssignment_0 ) + // InternalApplicationConfiguration.g:6342:3: rule__CustomEntry__KeyAssignment_0 + { + pushFollow(FOLLOW_2); + rule__CustomEntry__KeyAssignment_0(); + + state._fsp--; + + + } + + after(grammarAccess.getCustomEntryAccess().getKeyAssignment_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__CustomEntry__Group__0__Impl" + + + // $ANTLR start "rule__CustomEntry__Group__1" + // InternalApplicationConfiguration.g:6350:1: rule__CustomEntry__Group__1 : rule__CustomEntry__Group__1__Impl rule__CustomEntry__Group__2 ; + public final void rule__CustomEntry__Group__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:6354:1: ( rule__CustomEntry__Group__1__Impl rule__CustomEntry__Group__2 ) + // InternalApplicationConfiguration.g:6355:2: rule__CustomEntry__Group__1__Impl rule__CustomEntry__Group__2 + { + pushFollow(FOLLOW_11); + rule__CustomEntry__Group__1__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__CustomEntry__Group__2(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__CustomEntry__Group__1" + + + // $ANTLR start "rule__CustomEntry__Group__1__Impl" + // InternalApplicationConfiguration.g:6362:1: rule__CustomEntry__Group__1__Impl : ( '=' ) ; + public final void rule__CustomEntry__Group__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:6366:1: ( ( '=' ) ) + // InternalApplicationConfiguration.g:6367:1: ( '=' ) + { + // InternalApplicationConfiguration.g:6367:1: ( '=' ) + // InternalApplicationConfiguration.g:6368:2: '=' + { + before(grammarAccess.getCustomEntryAccess().getEqualsSignKeyword_1()); + match(input,28,FOLLOW_2); + after(grammarAccess.getCustomEntryAccess().getEqualsSignKeyword_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__CustomEntry__Group__1__Impl" + + + // $ANTLR start "rule__CustomEntry__Group__2" + // InternalApplicationConfiguration.g:6377:1: rule__CustomEntry__Group__2 : rule__CustomEntry__Group__2__Impl ; + public final void rule__CustomEntry__Group__2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:6381:1: ( rule__CustomEntry__Group__2__Impl ) + // InternalApplicationConfiguration.g:6382:2: rule__CustomEntry__Group__2__Impl + { + pushFollow(FOLLOW_2); + rule__CustomEntry__Group__2__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__CustomEntry__Group__2" + + + // $ANTLR start "rule__CustomEntry__Group__2__Impl" + // InternalApplicationConfiguration.g:6388:1: rule__CustomEntry__Group__2__Impl : ( ( rule__CustomEntry__ValueAssignment_2 ) ) ; + public final void rule__CustomEntry__Group__2__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:6392:1: ( ( ( rule__CustomEntry__ValueAssignment_2 ) ) ) + // InternalApplicationConfiguration.g:6393:1: ( ( rule__CustomEntry__ValueAssignment_2 ) ) + { + // InternalApplicationConfiguration.g:6393:1: ( ( rule__CustomEntry__ValueAssignment_2 ) ) + // InternalApplicationConfiguration.g:6394:2: ( rule__CustomEntry__ValueAssignment_2 ) + { + before(grammarAccess.getCustomEntryAccess().getValueAssignment_2()); + // InternalApplicationConfiguration.g:6395:2: ( rule__CustomEntry__ValueAssignment_2 ) + // InternalApplicationConfiguration.g:6395:3: rule__CustomEntry__ValueAssignment_2 + { + pushFollow(FOLLOW_2); + rule__CustomEntry__ValueAssignment_2(); + + state._fsp--; + + + } + + after(grammarAccess.getCustomEntryAccess().getValueAssignment_2()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__CustomEntry__Group__2__Impl" + + + // $ANTLR start "rule__ScopeSpecification__Group__0" + // InternalApplicationConfiguration.g:6404:1: rule__ScopeSpecification__Group__0 : rule__ScopeSpecification__Group__0__Impl rule__ScopeSpecification__Group__1 ; + public final void rule__ScopeSpecification__Group__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:6408:1: ( rule__ScopeSpecification__Group__0__Impl rule__ScopeSpecification__Group__1 ) + // InternalApplicationConfiguration.g:6409:2: rule__ScopeSpecification__Group__0__Impl rule__ScopeSpecification__Group__1 + { + pushFollow(FOLLOW_19); + rule__ScopeSpecification__Group__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__ScopeSpecification__Group__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ScopeSpecification__Group__0" + + + // $ANTLR start "rule__ScopeSpecification__Group__0__Impl" + // InternalApplicationConfiguration.g:6416:1: rule__ScopeSpecification__Group__0__Impl : ( () ) ; + public final void rule__ScopeSpecification__Group__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:6420:1: ( ( () ) ) + // InternalApplicationConfiguration.g:6421:1: ( () ) + { + // InternalApplicationConfiguration.g:6421:1: ( () ) + // InternalApplicationConfiguration.g:6422:2: () + { + before(grammarAccess.getScopeSpecificationAccess().getScopeSpecificationAction_0()); + // InternalApplicationConfiguration.g:6423:2: () + // InternalApplicationConfiguration.g:6423:3: + { + } + + after(grammarAccess.getScopeSpecificationAccess().getScopeSpecificationAction_0()); + + } + + + } + + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ScopeSpecification__Group__0__Impl" + + + // $ANTLR start "rule__ScopeSpecification__Group__1" + // InternalApplicationConfiguration.g:6431:1: rule__ScopeSpecification__Group__1 : rule__ScopeSpecification__Group__1__Impl rule__ScopeSpecification__Group__2 ; + public final void rule__ScopeSpecification__Group__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:6435:1: ( rule__ScopeSpecification__Group__1__Impl rule__ScopeSpecification__Group__2 ) + // InternalApplicationConfiguration.g:6436:2: rule__ScopeSpecification__Group__1__Impl rule__ScopeSpecification__Group__2 + { + pushFollow(FOLLOW_30); + rule__ScopeSpecification__Group__1__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__ScopeSpecification__Group__2(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ScopeSpecification__Group__1" + + + // $ANTLR start "rule__ScopeSpecification__Group__1__Impl" + // InternalApplicationConfiguration.g:6443:1: rule__ScopeSpecification__Group__1__Impl : ( '{' ) ; + public final void rule__ScopeSpecification__Group__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:6447:1: ( ( '{' ) ) + // InternalApplicationConfiguration.g:6448:1: ( '{' ) + { + // InternalApplicationConfiguration.g:6448:1: ( '{' ) + // InternalApplicationConfiguration.g:6449:2: '{' + { + before(grammarAccess.getScopeSpecificationAccess().getLeftCurlyBracketKeyword_1()); + match(input,29,FOLLOW_2); + after(grammarAccess.getScopeSpecificationAccess().getLeftCurlyBracketKeyword_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ScopeSpecification__Group__1__Impl" + + + // $ANTLR start "rule__ScopeSpecification__Group__2" + // InternalApplicationConfiguration.g:6458:1: rule__ScopeSpecification__Group__2 : rule__ScopeSpecification__Group__2__Impl rule__ScopeSpecification__Group__3 ; + public final void rule__ScopeSpecification__Group__2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:6462:1: ( rule__ScopeSpecification__Group__2__Impl rule__ScopeSpecification__Group__3 ) + // InternalApplicationConfiguration.g:6463:2: rule__ScopeSpecification__Group__2__Impl rule__ScopeSpecification__Group__3 + { + pushFollow(FOLLOW_30); + rule__ScopeSpecification__Group__2__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__ScopeSpecification__Group__3(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ScopeSpecification__Group__2" + + + // $ANTLR start "rule__ScopeSpecification__Group__2__Impl" + // InternalApplicationConfiguration.g:6470:1: rule__ScopeSpecification__Group__2__Impl : ( ( rule__ScopeSpecification__Group_2__0 )? ) ; + public final void rule__ScopeSpecification__Group__2__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:6474:1: ( ( ( rule__ScopeSpecification__Group_2__0 )? ) ) + // InternalApplicationConfiguration.g:6475:1: ( ( rule__ScopeSpecification__Group_2__0 )? ) + { + // InternalApplicationConfiguration.g:6475:1: ( ( rule__ScopeSpecification__Group_2__0 )? ) + // InternalApplicationConfiguration.g:6476:2: ( rule__ScopeSpecification__Group_2__0 )? + { + before(grammarAccess.getScopeSpecificationAccess().getGroup_2()); + // InternalApplicationConfiguration.g:6477:2: ( rule__ScopeSpecification__Group_2__0 )? + int alt54=2; + int LA54_0 = input.LA(1); + + if ( (LA54_0==44) ) { + alt54=1; + } + switch (alt54) { + case 1 : + // InternalApplicationConfiguration.g:6477:3: rule__ScopeSpecification__Group_2__0 + { + pushFollow(FOLLOW_2); + rule__ScopeSpecification__Group_2__0(); + + state._fsp--; + + + } + break; + + } + + after(grammarAccess.getScopeSpecificationAccess().getGroup_2()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ScopeSpecification__Group__2__Impl" + + + // $ANTLR start "rule__ScopeSpecification__Group__3" + // InternalApplicationConfiguration.g:6485:1: rule__ScopeSpecification__Group__3 : rule__ScopeSpecification__Group__3__Impl ; + public final void rule__ScopeSpecification__Group__3() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:6489:1: ( rule__ScopeSpecification__Group__3__Impl ) + // InternalApplicationConfiguration.g:6490:2: rule__ScopeSpecification__Group__3__Impl + { + pushFollow(FOLLOW_2); + rule__ScopeSpecification__Group__3__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ScopeSpecification__Group__3" + + + // $ANTLR start "rule__ScopeSpecification__Group__3__Impl" + // InternalApplicationConfiguration.g:6496:1: rule__ScopeSpecification__Group__3__Impl : ( '}' ) ; + public final void rule__ScopeSpecification__Group__3__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:6500:1: ( ( '}' ) ) + // InternalApplicationConfiguration.g:6501:1: ( '}' ) + { + // InternalApplicationConfiguration.g:6501:1: ( '}' ) + // InternalApplicationConfiguration.g:6502:2: '}' + { + before(grammarAccess.getScopeSpecificationAccess().getRightCurlyBracketKeyword_3()); + match(input,30,FOLLOW_2); + after(grammarAccess.getScopeSpecificationAccess().getRightCurlyBracketKeyword_3()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ScopeSpecification__Group__3__Impl" + + + // $ANTLR start "rule__ScopeSpecification__Group_2__0" + // InternalApplicationConfiguration.g:6512:1: rule__ScopeSpecification__Group_2__0 : rule__ScopeSpecification__Group_2__0__Impl rule__ScopeSpecification__Group_2__1 ; + public final void rule__ScopeSpecification__Group_2__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:6516:1: ( rule__ScopeSpecification__Group_2__0__Impl rule__ScopeSpecification__Group_2__1 ) + // InternalApplicationConfiguration.g:6517:2: rule__ScopeSpecification__Group_2__0__Impl rule__ScopeSpecification__Group_2__1 + { + pushFollow(FOLLOW_27); + rule__ScopeSpecification__Group_2__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__ScopeSpecification__Group_2__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ScopeSpecification__Group_2__0" + + + // $ANTLR start "rule__ScopeSpecification__Group_2__0__Impl" + // InternalApplicationConfiguration.g:6524:1: rule__ScopeSpecification__Group_2__0__Impl : ( ( rule__ScopeSpecification__ScopesAssignment_2_0 ) ) ; + public final void rule__ScopeSpecification__Group_2__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:6528:1: ( ( ( rule__ScopeSpecification__ScopesAssignment_2_0 ) ) ) + // InternalApplicationConfiguration.g:6529:1: ( ( rule__ScopeSpecification__ScopesAssignment_2_0 ) ) + { + // InternalApplicationConfiguration.g:6529:1: ( ( rule__ScopeSpecification__ScopesAssignment_2_0 ) ) + // InternalApplicationConfiguration.g:6530:2: ( rule__ScopeSpecification__ScopesAssignment_2_0 ) + { + before(grammarAccess.getScopeSpecificationAccess().getScopesAssignment_2_0()); + // InternalApplicationConfiguration.g:6531:2: ( rule__ScopeSpecification__ScopesAssignment_2_0 ) + // InternalApplicationConfiguration.g:6531:3: rule__ScopeSpecification__ScopesAssignment_2_0 + { + pushFollow(FOLLOW_2); + rule__ScopeSpecification__ScopesAssignment_2_0(); + + state._fsp--; + + + } + + after(grammarAccess.getScopeSpecificationAccess().getScopesAssignment_2_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ScopeSpecification__Group_2__0__Impl" + + + // $ANTLR start "rule__ScopeSpecification__Group_2__1" + // InternalApplicationConfiguration.g:6539:1: rule__ScopeSpecification__Group_2__1 : rule__ScopeSpecification__Group_2__1__Impl ; + public final void rule__ScopeSpecification__Group_2__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:6543:1: ( rule__ScopeSpecification__Group_2__1__Impl ) + // InternalApplicationConfiguration.g:6544:2: rule__ScopeSpecification__Group_2__1__Impl + { + pushFollow(FOLLOW_2); + rule__ScopeSpecification__Group_2__1__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ScopeSpecification__Group_2__1" + + + // $ANTLR start "rule__ScopeSpecification__Group_2__1__Impl" + // InternalApplicationConfiguration.g:6550:1: rule__ScopeSpecification__Group_2__1__Impl : ( ( rule__ScopeSpecification__Group_2_1__0 )* ) ; + public final void rule__ScopeSpecification__Group_2__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:6554:1: ( ( ( rule__ScopeSpecification__Group_2_1__0 )* ) ) + // InternalApplicationConfiguration.g:6555:1: ( ( rule__ScopeSpecification__Group_2_1__0 )* ) + { + // InternalApplicationConfiguration.g:6555:1: ( ( rule__ScopeSpecification__Group_2_1__0 )* ) + // InternalApplicationConfiguration.g:6556:2: ( rule__ScopeSpecification__Group_2_1__0 )* + { + before(grammarAccess.getScopeSpecificationAccess().getGroup_2_1()); + // InternalApplicationConfiguration.g:6557:2: ( rule__ScopeSpecification__Group_2_1__0 )* + loop55: + do { + int alt55=2; + int LA55_0 = input.LA(1); + + if ( (LA55_0==31) ) { + alt55=1; + } + + + switch (alt55) { + case 1 : + // InternalApplicationConfiguration.g:6557:3: rule__ScopeSpecification__Group_2_1__0 + { + pushFollow(FOLLOW_17); + rule__ScopeSpecification__Group_2_1__0(); + + state._fsp--; + + + } + break; + + default : + break loop55; + } + } while (true); + + after(grammarAccess.getScopeSpecificationAccess().getGroup_2_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ScopeSpecification__Group_2__1__Impl" + + + // $ANTLR start "rule__ScopeSpecification__Group_2_1__0" + // InternalApplicationConfiguration.g:6566:1: rule__ScopeSpecification__Group_2_1__0 : rule__ScopeSpecification__Group_2_1__0__Impl rule__ScopeSpecification__Group_2_1__1 ; + public final void rule__ScopeSpecification__Group_2_1__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:6570:1: ( rule__ScopeSpecification__Group_2_1__0__Impl rule__ScopeSpecification__Group_2_1__1 ) + // InternalApplicationConfiguration.g:6571:2: rule__ScopeSpecification__Group_2_1__0__Impl rule__ScopeSpecification__Group_2_1__1 + { + pushFollow(FOLLOW_31); + rule__ScopeSpecification__Group_2_1__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__ScopeSpecification__Group_2_1__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ScopeSpecification__Group_2_1__0" + + + // $ANTLR start "rule__ScopeSpecification__Group_2_1__0__Impl" + // InternalApplicationConfiguration.g:6578:1: rule__ScopeSpecification__Group_2_1__0__Impl : ( ',' ) ; + public final void rule__ScopeSpecification__Group_2_1__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:6582:1: ( ( ',' ) ) + // InternalApplicationConfiguration.g:6583:1: ( ',' ) + { + // InternalApplicationConfiguration.g:6583:1: ( ',' ) + // InternalApplicationConfiguration.g:6584:2: ',' + { + before(grammarAccess.getScopeSpecificationAccess().getCommaKeyword_2_1_0()); + match(input,31,FOLLOW_2); + after(grammarAccess.getScopeSpecificationAccess().getCommaKeyword_2_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ScopeSpecification__Group_2_1__0__Impl" + + + // $ANTLR start "rule__ScopeSpecification__Group_2_1__1" + // InternalApplicationConfiguration.g:6593:1: rule__ScopeSpecification__Group_2_1__1 : rule__ScopeSpecification__Group_2_1__1__Impl ; + public final void rule__ScopeSpecification__Group_2_1__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:6597:1: ( rule__ScopeSpecification__Group_2_1__1__Impl ) + // InternalApplicationConfiguration.g:6598:2: rule__ScopeSpecification__Group_2_1__1__Impl + { + pushFollow(FOLLOW_2); + rule__ScopeSpecification__Group_2_1__1__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ScopeSpecification__Group_2_1__1" + + + // $ANTLR start "rule__ScopeSpecification__Group_2_1__1__Impl" + // InternalApplicationConfiguration.g:6604:1: rule__ScopeSpecification__Group_2_1__1__Impl : ( ( rule__ScopeSpecification__ScopesAssignment_2_1_1 ) ) ; + public final void rule__ScopeSpecification__Group_2_1__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:6608:1: ( ( ( rule__ScopeSpecification__ScopesAssignment_2_1_1 ) ) ) + // InternalApplicationConfiguration.g:6609:1: ( ( rule__ScopeSpecification__ScopesAssignment_2_1_1 ) ) + { + // InternalApplicationConfiguration.g:6609:1: ( ( rule__ScopeSpecification__ScopesAssignment_2_1_1 ) ) + // InternalApplicationConfiguration.g:6610:2: ( rule__ScopeSpecification__ScopesAssignment_2_1_1 ) + { + before(grammarAccess.getScopeSpecificationAccess().getScopesAssignment_2_1_1()); + // InternalApplicationConfiguration.g:6611:2: ( rule__ScopeSpecification__ScopesAssignment_2_1_1 ) + // InternalApplicationConfiguration.g:6611:3: rule__ScopeSpecification__ScopesAssignment_2_1_1 + { + pushFollow(FOLLOW_2); + rule__ScopeSpecification__ScopesAssignment_2_1_1(); + + state._fsp--; + + + } + + after(grammarAccess.getScopeSpecificationAccess().getScopesAssignment_2_1_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ScopeSpecification__Group_2_1__1__Impl" + + + // $ANTLR start "rule__ClassTypeScope__Group__0" + // InternalApplicationConfiguration.g:6620:1: rule__ClassTypeScope__Group__0 : rule__ClassTypeScope__Group__0__Impl rule__ClassTypeScope__Group__1 ; + public final void rule__ClassTypeScope__Group__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:6624:1: ( rule__ClassTypeScope__Group__0__Impl rule__ClassTypeScope__Group__1 ) + // InternalApplicationConfiguration.g:6625:2: rule__ClassTypeScope__Group__0__Impl rule__ClassTypeScope__Group__1 + { + pushFollow(FOLLOW_32); + rule__ClassTypeScope__Group__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__ClassTypeScope__Group__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ClassTypeScope__Group__0" + + + // $ANTLR start "rule__ClassTypeScope__Group__0__Impl" + // InternalApplicationConfiguration.g:6632:1: rule__ClassTypeScope__Group__0__Impl : ( '#' ) ; + public final void rule__ClassTypeScope__Group__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:6636:1: ( ( '#' ) ) + // InternalApplicationConfiguration.g:6637:1: ( '#' ) + { + // InternalApplicationConfiguration.g:6637:1: ( '#' ) + // InternalApplicationConfiguration.g:6638:2: '#' + { + before(grammarAccess.getClassTypeScopeAccess().getNumberSignKeyword_0()); + match(input,44,FOLLOW_2); + after(grammarAccess.getClassTypeScopeAccess().getNumberSignKeyword_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ClassTypeScope__Group__0__Impl" + + + // $ANTLR start "rule__ClassTypeScope__Group__1" + // InternalApplicationConfiguration.g:6647:1: rule__ClassTypeScope__Group__1 : rule__ClassTypeScope__Group__1__Impl rule__ClassTypeScope__Group__2 ; + public final void rule__ClassTypeScope__Group__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:6651:1: ( rule__ClassTypeScope__Group__1__Impl rule__ClassTypeScope__Group__2 ) + // InternalApplicationConfiguration.g:6652:2: rule__ClassTypeScope__Group__1__Impl rule__ClassTypeScope__Group__2 + { + pushFollow(FOLLOW_33); + rule__ClassTypeScope__Group__1__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__ClassTypeScope__Group__2(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ClassTypeScope__Group__1" + + + // $ANTLR start "rule__ClassTypeScope__Group__1__Impl" + // InternalApplicationConfiguration.g:6659:1: rule__ClassTypeScope__Group__1__Impl : ( ( rule__ClassTypeScope__TypeAssignment_1 ) ) ; + public final void rule__ClassTypeScope__Group__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:6663:1: ( ( ( rule__ClassTypeScope__TypeAssignment_1 ) ) ) + // InternalApplicationConfiguration.g:6664:1: ( ( rule__ClassTypeScope__TypeAssignment_1 ) ) + { + // InternalApplicationConfiguration.g:6664:1: ( ( rule__ClassTypeScope__TypeAssignment_1 ) ) + // InternalApplicationConfiguration.g:6665:2: ( rule__ClassTypeScope__TypeAssignment_1 ) + { + before(grammarAccess.getClassTypeScopeAccess().getTypeAssignment_1()); + // InternalApplicationConfiguration.g:6666:2: ( rule__ClassTypeScope__TypeAssignment_1 ) + // InternalApplicationConfiguration.g:6666:3: rule__ClassTypeScope__TypeAssignment_1 + { + pushFollow(FOLLOW_2); + rule__ClassTypeScope__TypeAssignment_1(); + + state._fsp--; + + + } + + after(grammarAccess.getClassTypeScopeAccess().getTypeAssignment_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ClassTypeScope__Group__1__Impl" + + + // $ANTLR start "rule__ClassTypeScope__Group__2" + // InternalApplicationConfiguration.g:6674:1: rule__ClassTypeScope__Group__2 : rule__ClassTypeScope__Group__2__Impl rule__ClassTypeScope__Group__3 ; + public final void rule__ClassTypeScope__Group__2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:6678:1: ( rule__ClassTypeScope__Group__2__Impl rule__ClassTypeScope__Group__3 ) + // InternalApplicationConfiguration.g:6679:2: rule__ClassTypeScope__Group__2__Impl rule__ClassTypeScope__Group__3 + { + pushFollow(FOLLOW_34); + rule__ClassTypeScope__Group__2__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__ClassTypeScope__Group__3(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ClassTypeScope__Group__2" + + + // $ANTLR start "rule__ClassTypeScope__Group__2__Impl" + // InternalApplicationConfiguration.g:6686:1: rule__ClassTypeScope__Group__2__Impl : ( ( rule__ClassTypeScope__Alternatives_2 ) ) ; + public final void rule__ClassTypeScope__Group__2__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:6690:1: ( ( ( rule__ClassTypeScope__Alternatives_2 ) ) ) + // InternalApplicationConfiguration.g:6691:1: ( ( rule__ClassTypeScope__Alternatives_2 ) ) + { + // InternalApplicationConfiguration.g:6691:1: ( ( rule__ClassTypeScope__Alternatives_2 ) ) + // InternalApplicationConfiguration.g:6692:2: ( rule__ClassTypeScope__Alternatives_2 ) + { + before(grammarAccess.getClassTypeScopeAccess().getAlternatives_2()); + // InternalApplicationConfiguration.g:6693:2: ( rule__ClassTypeScope__Alternatives_2 ) + // InternalApplicationConfiguration.g:6693:3: rule__ClassTypeScope__Alternatives_2 + { + pushFollow(FOLLOW_2); + rule__ClassTypeScope__Alternatives_2(); + + state._fsp--; + + + } + + after(grammarAccess.getClassTypeScopeAccess().getAlternatives_2()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ClassTypeScope__Group__2__Impl" + + + // $ANTLR start "rule__ClassTypeScope__Group__3" + // InternalApplicationConfiguration.g:6701:1: rule__ClassTypeScope__Group__3 : rule__ClassTypeScope__Group__3__Impl ; + public final void rule__ClassTypeScope__Group__3() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:6705:1: ( rule__ClassTypeScope__Group__3__Impl ) + // InternalApplicationConfiguration.g:6706:2: rule__ClassTypeScope__Group__3__Impl + { + pushFollow(FOLLOW_2); + rule__ClassTypeScope__Group__3__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ClassTypeScope__Group__3" + + + // $ANTLR start "rule__ClassTypeScope__Group__3__Impl" + // InternalApplicationConfiguration.g:6712:1: rule__ClassTypeScope__Group__3__Impl : ( ( rule__ClassTypeScope__Alternatives_3 ) ) ; + public final void rule__ClassTypeScope__Group__3__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:6716:1: ( ( ( rule__ClassTypeScope__Alternatives_3 ) ) ) + // InternalApplicationConfiguration.g:6717:1: ( ( rule__ClassTypeScope__Alternatives_3 ) ) + { + // InternalApplicationConfiguration.g:6717:1: ( ( rule__ClassTypeScope__Alternatives_3 ) ) + // InternalApplicationConfiguration.g:6718:2: ( rule__ClassTypeScope__Alternatives_3 ) + { + before(grammarAccess.getClassTypeScopeAccess().getAlternatives_3()); + // InternalApplicationConfiguration.g:6719:2: ( rule__ClassTypeScope__Alternatives_3 ) + // InternalApplicationConfiguration.g:6719:3: rule__ClassTypeScope__Alternatives_3 + { + pushFollow(FOLLOW_2); + rule__ClassTypeScope__Alternatives_3(); + + state._fsp--; + + + } + + after(grammarAccess.getClassTypeScopeAccess().getAlternatives_3()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ClassTypeScope__Group__3__Impl" + + + // $ANTLR start "rule__ObjectTypeScope__Group__0" + // InternalApplicationConfiguration.g:6728:1: rule__ObjectTypeScope__Group__0 : rule__ObjectTypeScope__Group__0__Impl rule__ObjectTypeScope__Group__1 ; + public final void rule__ObjectTypeScope__Group__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:6732:1: ( rule__ObjectTypeScope__Group__0__Impl rule__ObjectTypeScope__Group__1 ) + // InternalApplicationConfiguration.g:6733:2: rule__ObjectTypeScope__Group__0__Impl rule__ObjectTypeScope__Group__1 + { + pushFollow(FOLLOW_35); + rule__ObjectTypeScope__Group__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__ObjectTypeScope__Group__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ObjectTypeScope__Group__0" + + + // $ANTLR start "rule__ObjectTypeScope__Group__0__Impl" + // InternalApplicationConfiguration.g:6740:1: rule__ObjectTypeScope__Group__0__Impl : ( '#' ) ; + public final void rule__ObjectTypeScope__Group__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:6744:1: ( ( '#' ) ) + // InternalApplicationConfiguration.g:6745:1: ( '#' ) + { + // InternalApplicationConfiguration.g:6745:1: ( '#' ) + // InternalApplicationConfiguration.g:6746:2: '#' + { + before(grammarAccess.getObjectTypeScopeAccess().getNumberSignKeyword_0()); + match(input,44,FOLLOW_2); + after(grammarAccess.getObjectTypeScopeAccess().getNumberSignKeyword_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ObjectTypeScope__Group__0__Impl" + + + // $ANTLR start "rule__ObjectTypeScope__Group__1" + // InternalApplicationConfiguration.g:6755:1: rule__ObjectTypeScope__Group__1 : rule__ObjectTypeScope__Group__1__Impl rule__ObjectTypeScope__Group__2 ; + public final void rule__ObjectTypeScope__Group__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:6759:1: ( rule__ObjectTypeScope__Group__1__Impl rule__ObjectTypeScope__Group__2 ) + // InternalApplicationConfiguration.g:6760:2: rule__ObjectTypeScope__Group__1__Impl rule__ObjectTypeScope__Group__2 + { + pushFollow(FOLLOW_33); + rule__ObjectTypeScope__Group__1__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__ObjectTypeScope__Group__2(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ObjectTypeScope__Group__1" + + + // $ANTLR start "rule__ObjectTypeScope__Group__1__Impl" + // InternalApplicationConfiguration.g:6767:1: rule__ObjectTypeScope__Group__1__Impl : ( ( rule__ObjectTypeScope__TypeAssignment_1 ) ) ; + public final void rule__ObjectTypeScope__Group__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:6771:1: ( ( ( rule__ObjectTypeScope__TypeAssignment_1 ) ) ) + // InternalApplicationConfiguration.g:6772:1: ( ( rule__ObjectTypeScope__TypeAssignment_1 ) ) + { + // InternalApplicationConfiguration.g:6772:1: ( ( rule__ObjectTypeScope__TypeAssignment_1 ) ) + // InternalApplicationConfiguration.g:6773:2: ( rule__ObjectTypeScope__TypeAssignment_1 ) + { + before(grammarAccess.getObjectTypeScopeAccess().getTypeAssignment_1()); + // InternalApplicationConfiguration.g:6774:2: ( rule__ObjectTypeScope__TypeAssignment_1 ) + // InternalApplicationConfiguration.g:6774:3: rule__ObjectTypeScope__TypeAssignment_1 + { + pushFollow(FOLLOW_2); + rule__ObjectTypeScope__TypeAssignment_1(); + + state._fsp--; + + + } + + after(grammarAccess.getObjectTypeScopeAccess().getTypeAssignment_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ObjectTypeScope__Group__1__Impl" + + + // $ANTLR start "rule__ObjectTypeScope__Group__2" + // InternalApplicationConfiguration.g:6782:1: rule__ObjectTypeScope__Group__2 : rule__ObjectTypeScope__Group__2__Impl rule__ObjectTypeScope__Group__3 ; + public final void rule__ObjectTypeScope__Group__2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:6786:1: ( rule__ObjectTypeScope__Group__2__Impl rule__ObjectTypeScope__Group__3 ) + // InternalApplicationConfiguration.g:6787:2: rule__ObjectTypeScope__Group__2__Impl rule__ObjectTypeScope__Group__3 + { + pushFollow(FOLLOW_34); + rule__ObjectTypeScope__Group__2__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__ObjectTypeScope__Group__3(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ObjectTypeScope__Group__2" + + + // $ANTLR start "rule__ObjectTypeScope__Group__2__Impl" + // InternalApplicationConfiguration.g:6794:1: rule__ObjectTypeScope__Group__2__Impl : ( ( rule__ObjectTypeScope__Alternatives_2 ) ) ; + public final void rule__ObjectTypeScope__Group__2__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:6798:1: ( ( ( rule__ObjectTypeScope__Alternatives_2 ) ) ) + // InternalApplicationConfiguration.g:6799:1: ( ( rule__ObjectTypeScope__Alternatives_2 ) ) + { + // InternalApplicationConfiguration.g:6799:1: ( ( rule__ObjectTypeScope__Alternatives_2 ) ) + // InternalApplicationConfiguration.g:6800:2: ( rule__ObjectTypeScope__Alternatives_2 ) + { + before(grammarAccess.getObjectTypeScopeAccess().getAlternatives_2()); + // InternalApplicationConfiguration.g:6801:2: ( rule__ObjectTypeScope__Alternatives_2 ) + // InternalApplicationConfiguration.g:6801:3: rule__ObjectTypeScope__Alternatives_2 + { + pushFollow(FOLLOW_2); + rule__ObjectTypeScope__Alternatives_2(); + + state._fsp--; + + + } + + after(grammarAccess.getObjectTypeScopeAccess().getAlternatives_2()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ObjectTypeScope__Group__2__Impl" + + + // $ANTLR start "rule__ObjectTypeScope__Group__3" + // InternalApplicationConfiguration.g:6809:1: rule__ObjectTypeScope__Group__3 : rule__ObjectTypeScope__Group__3__Impl ; + public final void rule__ObjectTypeScope__Group__3() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:6813:1: ( rule__ObjectTypeScope__Group__3__Impl ) + // InternalApplicationConfiguration.g:6814:2: rule__ObjectTypeScope__Group__3__Impl + { + pushFollow(FOLLOW_2); + rule__ObjectTypeScope__Group__3__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ObjectTypeScope__Group__3" + + + // $ANTLR start "rule__ObjectTypeScope__Group__3__Impl" + // InternalApplicationConfiguration.g:6820:1: rule__ObjectTypeScope__Group__3__Impl : ( ( rule__ObjectTypeScope__Alternatives_3 ) ) ; + public final void rule__ObjectTypeScope__Group__3__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:6824:1: ( ( ( rule__ObjectTypeScope__Alternatives_3 ) ) ) + // InternalApplicationConfiguration.g:6825:1: ( ( rule__ObjectTypeScope__Alternatives_3 ) ) + { + // InternalApplicationConfiguration.g:6825:1: ( ( rule__ObjectTypeScope__Alternatives_3 ) ) + // InternalApplicationConfiguration.g:6826:2: ( rule__ObjectTypeScope__Alternatives_3 ) + { + before(grammarAccess.getObjectTypeScopeAccess().getAlternatives_3()); + // InternalApplicationConfiguration.g:6827:2: ( rule__ObjectTypeScope__Alternatives_3 ) + // InternalApplicationConfiguration.g:6827:3: rule__ObjectTypeScope__Alternatives_3 + { + pushFollow(FOLLOW_2); + rule__ObjectTypeScope__Alternatives_3(); + + state._fsp--; + + + } + + after(grammarAccess.getObjectTypeScopeAccess().getAlternatives_3()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ObjectTypeScope__Group__3__Impl" + + + // $ANTLR start "rule__IntegerTypeScope__Group__0" + // InternalApplicationConfiguration.g:6836:1: rule__IntegerTypeScope__Group__0 : rule__IntegerTypeScope__Group__0__Impl rule__IntegerTypeScope__Group__1 ; + public final void rule__IntegerTypeScope__Group__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:6840:1: ( rule__IntegerTypeScope__Group__0__Impl rule__IntegerTypeScope__Group__1 ) + // InternalApplicationConfiguration.g:6841:2: rule__IntegerTypeScope__Group__0__Impl rule__IntegerTypeScope__Group__1 + { + pushFollow(FOLLOW_36); + rule__IntegerTypeScope__Group__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__IntegerTypeScope__Group__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__IntegerTypeScope__Group__0" + + + // $ANTLR start "rule__IntegerTypeScope__Group__0__Impl" + // InternalApplicationConfiguration.g:6848:1: rule__IntegerTypeScope__Group__0__Impl : ( '#' ) ; + public final void rule__IntegerTypeScope__Group__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:6852:1: ( ( '#' ) ) + // InternalApplicationConfiguration.g:6853:1: ( '#' ) + { + // InternalApplicationConfiguration.g:6853:1: ( '#' ) + // InternalApplicationConfiguration.g:6854:2: '#' + { + before(grammarAccess.getIntegerTypeScopeAccess().getNumberSignKeyword_0()); + match(input,44,FOLLOW_2); + after(grammarAccess.getIntegerTypeScopeAccess().getNumberSignKeyword_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__IntegerTypeScope__Group__0__Impl" + + + // $ANTLR start "rule__IntegerTypeScope__Group__1" + // InternalApplicationConfiguration.g:6863:1: rule__IntegerTypeScope__Group__1 : rule__IntegerTypeScope__Group__1__Impl rule__IntegerTypeScope__Group__2 ; + public final void rule__IntegerTypeScope__Group__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:6867:1: ( rule__IntegerTypeScope__Group__1__Impl rule__IntegerTypeScope__Group__2 ) + // InternalApplicationConfiguration.g:6868:2: rule__IntegerTypeScope__Group__1__Impl rule__IntegerTypeScope__Group__2 + { + pushFollow(FOLLOW_33); + rule__IntegerTypeScope__Group__1__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__IntegerTypeScope__Group__2(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__IntegerTypeScope__Group__1" + + + // $ANTLR start "rule__IntegerTypeScope__Group__1__Impl" + // InternalApplicationConfiguration.g:6875:1: rule__IntegerTypeScope__Group__1__Impl : ( ( rule__IntegerTypeScope__TypeAssignment_1 ) ) ; + public final void rule__IntegerTypeScope__Group__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:6879:1: ( ( ( rule__IntegerTypeScope__TypeAssignment_1 ) ) ) + // InternalApplicationConfiguration.g:6880:1: ( ( rule__IntegerTypeScope__TypeAssignment_1 ) ) + { + // InternalApplicationConfiguration.g:6880:1: ( ( rule__IntegerTypeScope__TypeAssignment_1 ) ) + // InternalApplicationConfiguration.g:6881:2: ( rule__IntegerTypeScope__TypeAssignment_1 ) + { + before(grammarAccess.getIntegerTypeScopeAccess().getTypeAssignment_1()); + // InternalApplicationConfiguration.g:6882:2: ( rule__IntegerTypeScope__TypeAssignment_1 ) + // InternalApplicationConfiguration.g:6882:3: rule__IntegerTypeScope__TypeAssignment_1 + { + pushFollow(FOLLOW_2); + rule__IntegerTypeScope__TypeAssignment_1(); + + state._fsp--; + + + } + + after(grammarAccess.getIntegerTypeScopeAccess().getTypeAssignment_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__IntegerTypeScope__Group__1__Impl" + + + // $ANTLR start "rule__IntegerTypeScope__Group__2" + // InternalApplicationConfiguration.g:6890:1: rule__IntegerTypeScope__Group__2 : rule__IntegerTypeScope__Group__2__Impl rule__IntegerTypeScope__Group__3 ; + public final void rule__IntegerTypeScope__Group__2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:6894:1: ( rule__IntegerTypeScope__Group__2__Impl rule__IntegerTypeScope__Group__3 ) + // InternalApplicationConfiguration.g:6895:2: rule__IntegerTypeScope__Group__2__Impl rule__IntegerTypeScope__Group__3 + { + pushFollow(FOLLOW_37); + rule__IntegerTypeScope__Group__2__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__IntegerTypeScope__Group__3(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__IntegerTypeScope__Group__2" + + + // $ANTLR start "rule__IntegerTypeScope__Group__2__Impl" + // InternalApplicationConfiguration.g:6902:1: rule__IntegerTypeScope__Group__2__Impl : ( ( rule__IntegerTypeScope__Alternatives_2 ) ) ; + public final void rule__IntegerTypeScope__Group__2__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:6906:1: ( ( ( rule__IntegerTypeScope__Alternatives_2 ) ) ) + // InternalApplicationConfiguration.g:6907:1: ( ( rule__IntegerTypeScope__Alternatives_2 ) ) + { + // InternalApplicationConfiguration.g:6907:1: ( ( rule__IntegerTypeScope__Alternatives_2 ) ) + // InternalApplicationConfiguration.g:6908:2: ( rule__IntegerTypeScope__Alternatives_2 ) + { + before(grammarAccess.getIntegerTypeScopeAccess().getAlternatives_2()); + // InternalApplicationConfiguration.g:6909:2: ( rule__IntegerTypeScope__Alternatives_2 ) + // InternalApplicationConfiguration.g:6909:3: rule__IntegerTypeScope__Alternatives_2 + { + pushFollow(FOLLOW_2); + rule__IntegerTypeScope__Alternatives_2(); + + state._fsp--; + + + } + + after(grammarAccess.getIntegerTypeScopeAccess().getAlternatives_2()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__IntegerTypeScope__Group__2__Impl" + + + // $ANTLR start "rule__IntegerTypeScope__Group__3" + // InternalApplicationConfiguration.g:6917:1: rule__IntegerTypeScope__Group__3 : rule__IntegerTypeScope__Group__3__Impl ; + public final void rule__IntegerTypeScope__Group__3() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:6921:1: ( rule__IntegerTypeScope__Group__3__Impl ) + // InternalApplicationConfiguration.g:6922:2: rule__IntegerTypeScope__Group__3__Impl + { + pushFollow(FOLLOW_2); + rule__IntegerTypeScope__Group__3__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__IntegerTypeScope__Group__3" + + + // $ANTLR start "rule__IntegerTypeScope__Group__3__Impl" + // InternalApplicationConfiguration.g:6928:1: rule__IntegerTypeScope__Group__3__Impl : ( ( rule__IntegerTypeScope__Alternatives_3 ) ) ; + public final void rule__IntegerTypeScope__Group__3__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:6932:1: ( ( ( rule__IntegerTypeScope__Alternatives_3 ) ) ) + // InternalApplicationConfiguration.g:6933:1: ( ( rule__IntegerTypeScope__Alternatives_3 ) ) + { + // InternalApplicationConfiguration.g:6933:1: ( ( rule__IntegerTypeScope__Alternatives_3 ) ) + // InternalApplicationConfiguration.g:6934:2: ( rule__IntegerTypeScope__Alternatives_3 ) + { + before(grammarAccess.getIntegerTypeScopeAccess().getAlternatives_3()); + // InternalApplicationConfiguration.g:6935:2: ( rule__IntegerTypeScope__Alternatives_3 ) + // InternalApplicationConfiguration.g:6935:3: rule__IntegerTypeScope__Alternatives_3 + { + pushFollow(FOLLOW_2); + rule__IntegerTypeScope__Alternatives_3(); + + state._fsp--; + + + } + + after(grammarAccess.getIntegerTypeScopeAccess().getAlternatives_3()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__IntegerTypeScope__Group__3__Impl" + + + // $ANTLR start "rule__RealTypeScope__Group__0" + // InternalApplicationConfiguration.g:6944:1: rule__RealTypeScope__Group__0 : rule__RealTypeScope__Group__0__Impl rule__RealTypeScope__Group__1 ; + public final void rule__RealTypeScope__Group__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:6948:1: ( rule__RealTypeScope__Group__0__Impl rule__RealTypeScope__Group__1 ) + // InternalApplicationConfiguration.g:6949:2: rule__RealTypeScope__Group__0__Impl rule__RealTypeScope__Group__1 + { + pushFollow(FOLLOW_38); + rule__RealTypeScope__Group__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__RealTypeScope__Group__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__RealTypeScope__Group__0" + + + // $ANTLR start "rule__RealTypeScope__Group__0__Impl" + // InternalApplicationConfiguration.g:6956:1: rule__RealTypeScope__Group__0__Impl : ( '#' ) ; + public final void rule__RealTypeScope__Group__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:6960:1: ( ( '#' ) ) + // InternalApplicationConfiguration.g:6961:1: ( '#' ) + { + // InternalApplicationConfiguration.g:6961:1: ( '#' ) + // InternalApplicationConfiguration.g:6962:2: '#' + { + before(grammarAccess.getRealTypeScopeAccess().getNumberSignKeyword_0()); + match(input,44,FOLLOW_2); + after(grammarAccess.getRealTypeScopeAccess().getNumberSignKeyword_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__RealTypeScope__Group__0__Impl" + + + // $ANTLR start "rule__RealTypeScope__Group__1" + // InternalApplicationConfiguration.g:6971:1: rule__RealTypeScope__Group__1 : rule__RealTypeScope__Group__1__Impl rule__RealTypeScope__Group__2 ; + public final void rule__RealTypeScope__Group__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:6975:1: ( rule__RealTypeScope__Group__1__Impl rule__RealTypeScope__Group__2 ) + // InternalApplicationConfiguration.g:6976:2: rule__RealTypeScope__Group__1__Impl rule__RealTypeScope__Group__2 + { + pushFollow(FOLLOW_33); + rule__RealTypeScope__Group__1__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__RealTypeScope__Group__2(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__RealTypeScope__Group__1" + + + // $ANTLR start "rule__RealTypeScope__Group__1__Impl" + // InternalApplicationConfiguration.g:6983:1: rule__RealTypeScope__Group__1__Impl : ( ( rule__RealTypeScope__TypeAssignment_1 ) ) ; + public final void rule__RealTypeScope__Group__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:6987:1: ( ( ( rule__RealTypeScope__TypeAssignment_1 ) ) ) + // InternalApplicationConfiguration.g:6988:1: ( ( rule__RealTypeScope__TypeAssignment_1 ) ) + { + // InternalApplicationConfiguration.g:6988:1: ( ( rule__RealTypeScope__TypeAssignment_1 ) ) + // InternalApplicationConfiguration.g:6989:2: ( rule__RealTypeScope__TypeAssignment_1 ) + { + before(grammarAccess.getRealTypeScopeAccess().getTypeAssignment_1()); + // InternalApplicationConfiguration.g:6990:2: ( rule__RealTypeScope__TypeAssignment_1 ) + // InternalApplicationConfiguration.g:6990:3: rule__RealTypeScope__TypeAssignment_1 + { + pushFollow(FOLLOW_2); + rule__RealTypeScope__TypeAssignment_1(); + + state._fsp--; + + + } + + after(grammarAccess.getRealTypeScopeAccess().getTypeAssignment_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__RealTypeScope__Group__1__Impl" + + + // $ANTLR start "rule__RealTypeScope__Group__2" + // InternalApplicationConfiguration.g:6998:1: rule__RealTypeScope__Group__2 : rule__RealTypeScope__Group__2__Impl rule__RealTypeScope__Group__3 ; + public final void rule__RealTypeScope__Group__2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:7002:1: ( rule__RealTypeScope__Group__2__Impl rule__RealTypeScope__Group__3 ) + // InternalApplicationConfiguration.g:7003:2: rule__RealTypeScope__Group__2__Impl rule__RealTypeScope__Group__3 + { + pushFollow(FOLLOW_37); + rule__RealTypeScope__Group__2__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__RealTypeScope__Group__3(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__RealTypeScope__Group__2" + + + // $ANTLR start "rule__RealTypeScope__Group__2__Impl" + // InternalApplicationConfiguration.g:7010:1: rule__RealTypeScope__Group__2__Impl : ( ( rule__RealTypeScope__Alternatives_2 ) ) ; + public final void rule__RealTypeScope__Group__2__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:7014:1: ( ( ( rule__RealTypeScope__Alternatives_2 ) ) ) + // InternalApplicationConfiguration.g:7015:1: ( ( rule__RealTypeScope__Alternatives_2 ) ) + { + // InternalApplicationConfiguration.g:7015:1: ( ( rule__RealTypeScope__Alternatives_2 ) ) + // InternalApplicationConfiguration.g:7016:2: ( rule__RealTypeScope__Alternatives_2 ) + { + before(grammarAccess.getRealTypeScopeAccess().getAlternatives_2()); + // InternalApplicationConfiguration.g:7017:2: ( rule__RealTypeScope__Alternatives_2 ) + // InternalApplicationConfiguration.g:7017:3: rule__RealTypeScope__Alternatives_2 + { + pushFollow(FOLLOW_2); + rule__RealTypeScope__Alternatives_2(); + + state._fsp--; + + + } + + after(grammarAccess.getRealTypeScopeAccess().getAlternatives_2()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__RealTypeScope__Group__2__Impl" + + + // $ANTLR start "rule__RealTypeScope__Group__3" + // InternalApplicationConfiguration.g:7025:1: rule__RealTypeScope__Group__3 : rule__RealTypeScope__Group__3__Impl ; + public final void rule__RealTypeScope__Group__3() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:7029:1: ( rule__RealTypeScope__Group__3__Impl ) + // InternalApplicationConfiguration.g:7030:2: rule__RealTypeScope__Group__3__Impl + { + pushFollow(FOLLOW_2); + rule__RealTypeScope__Group__3__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__RealTypeScope__Group__3" + + + // $ANTLR start "rule__RealTypeScope__Group__3__Impl" + // InternalApplicationConfiguration.g:7036:1: rule__RealTypeScope__Group__3__Impl : ( ( rule__RealTypeScope__Alternatives_3 ) ) ; + public final void rule__RealTypeScope__Group__3__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:7040:1: ( ( ( rule__RealTypeScope__Alternatives_3 ) ) ) + // InternalApplicationConfiguration.g:7041:1: ( ( rule__RealTypeScope__Alternatives_3 ) ) + { + // InternalApplicationConfiguration.g:7041:1: ( ( rule__RealTypeScope__Alternatives_3 ) ) + // InternalApplicationConfiguration.g:7042:2: ( rule__RealTypeScope__Alternatives_3 ) + { + before(grammarAccess.getRealTypeScopeAccess().getAlternatives_3()); + // InternalApplicationConfiguration.g:7043:2: ( rule__RealTypeScope__Alternatives_3 ) + // InternalApplicationConfiguration.g:7043:3: rule__RealTypeScope__Alternatives_3 + { + pushFollow(FOLLOW_2); + rule__RealTypeScope__Alternatives_3(); + + state._fsp--; + + + } + + after(grammarAccess.getRealTypeScopeAccess().getAlternatives_3()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__RealTypeScope__Group__3__Impl" + + + // $ANTLR start "rule__StringTypeScope__Group__0" + // InternalApplicationConfiguration.g:7052:1: rule__StringTypeScope__Group__0 : rule__StringTypeScope__Group__0__Impl rule__StringTypeScope__Group__1 ; + public final void rule__StringTypeScope__Group__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:7056:1: ( rule__StringTypeScope__Group__0__Impl rule__StringTypeScope__Group__1 ) + // InternalApplicationConfiguration.g:7057:2: rule__StringTypeScope__Group__0__Impl rule__StringTypeScope__Group__1 + { + pushFollow(FOLLOW_39); + rule__StringTypeScope__Group__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__StringTypeScope__Group__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__StringTypeScope__Group__0" + + + // $ANTLR start "rule__StringTypeScope__Group__0__Impl" + // InternalApplicationConfiguration.g:7064:1: rule__StringTypeScope__Group__0__Impl : ( '#' ) ; + public final void rule__StringTypeScope__Group__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:7068:1: ( ( '#' ) ) + // InternalApplicationConfiguration.g:7069:1: ( '#' ) + { + // InternalApplicationConfiguration.g:7069:1: ( '#' ) + // InternalApplicationConfiguration.g:7070:2: '#' + { + before(grammarAccess.getStringTypeScopeAccess().getNumberSignKeyword_0()); + match(input,44,FOLLOW_2); + after(grammarAccess.getStringTypeScopeAccess().getNumberSignKeyword_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__StringTypeScope__Group__0__Impl" + + + // $ANTLR start "rule__StringTypeScope__Group__1" + // InternalApplicationConfiguration.g:7079:1: rule__StringTypeScope__Group__1 : rule__StringTypeScope__Group__1__Impl rule__StringTypeScope__Group__2 ; + public final void rule__StringTypeScope__Group__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:7083:1: ( rule__StringTypeScope__Group__1__Impl rule__StringTypeScope__Group__2 ) + // InternalApplicationConfiguration.g:7084:2: rule__StringTypeScope__Group__1__Impl rule__StringTypeScope__Group__2 + { + pushFollow(FOLLOW_33); + rule__StringTypeScope__Group__1__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__StringTypeScope__Group__2(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__StringTypeScope__Group__1" + + + // $ANTLR start "rule__StringTypeScope__Group__1__Impl" + // InternalApplicationConfiguration.g:7091:1: rule__StringTypeScope__Group__1__Impl : ( ( rule__StringTypeScope__TypeAssignment_1 ) ) ; + public final void rule__StringTypeScope__Group__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:7095:1: ( ( ( rule__StringTypeScope__TypeAssignment_1 ) ) ) + // InternalApplicationConfiguration.g:7096:1: ( ( rule__StringTypeScope__TypeAssignment_1 ) ) + { + // InternalApplicationConfiguration.g:7096:1: ( ( rule__StringTypeScope__TypeAssignment_1 ) ) + // InternalApplicationConfiguration.g:7097:2: ( rule__StringTypeScope__TypeAssignment_1 ) + { + before(grammarAccess.getStringTypeScopeAccess().getTypeAssignment_1()); + // InternalApplicationConfiguration.g:7098:2: ( rule__StringTypeScope__TypeAssignment_1 ) + // InternalApplicationConfiguration.g:7098:3: rule__StringTypeScope__TypeAssignment_1 + { + pushFollow(FOLLOW_2); + rule__StringTypeScope__TypeAssignment_1(); + + state._fsp--; + + + } + + after(grammarAccess.getStringTypeScopeAccess().getTypeAssignment_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__StringTypeScope__Group__1__Impl" + + + // $ANTLR start "rule__StringTypeScope__Group__2" + // InternalApplicationConfiguration.g:7106:1: rule__StringTypeScope__Group__2 : rule__StringTypeScope__Group__2__Impl rule__StringTypeScope__Group__3 ; + public final void rule__StringTypeScope__Group__2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:7110:1: ( rule__StringTypeScope__Group__2__Impl rule__StringTypeScope__Group__3 ) + // InternalApplicationConfiguration.g:7111:2: rule__StringTypeScope__Group__2__Impl rule__StringTypeScope__Group__3 + { + pushFollow(FOLLOW_37); + rule__StringTypeScope__Group__2__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__StringTypeScope__Group__3(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__StringTypeScope__Group__2" + + + // $ANTLR start "rule__StringTypeScope__Group__2__Impl" + // InternalApplicationConfiguration.g:7118:1: rule__StringTypeScope__Group__2__Impl : ( ( rule__StringTypeScope__Alternatives_2 ) ) ; + public final void rule__StringTypeScope__Group__2__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:7122:1: ( ( ( rule__StringTypeScope__Alternatives_2 ) ) ) + // InternalApplicationConfiguration.g:7123:1: ( ( rule__StringTypeScope__Alternatives_2 ) ) + { + // InternalApplicationConfiguration.g:7123:1: ( ( rule__StringTypeScope__Alternatives_2 ) ) + // InternalApplicationConfiguration.g:7124:2: ( rule__StringTypeScope__Alternatives_2 ) + { + before(grammarAccess.getStringTypeScopeAccess().getAlternatives_2()); + // InternalApplicationConfiguration.g:7125:2: ( rule__StringTypeScope__Alternatives_2 ) + // InternalApplicationConfiguration.g:7125:3: rule__StringTypeScope__Alternatives_2 + { + pushFollow(FOLLOW_2); + rule__StringTypeScope__Alternatives_2(); + + state._fsp--; + + + } + + after(grammarAccess.getStringTypeScopeAccess().getAlternatives_2()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__StringTypeScope__Group__2__Impl" + + + // $ANTLR start "rule__StringTypeScope__Group__3" + // InternalApplicationConfiguration.g:7133:1: rule__StringTypeScope__Group__3 : rule__StringTypeScope__Group__3__Impl ; + public final void rule__StringTypeScope__Group__3() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:7137:1: ( rule__StringTypeScope__Group__3__Impl ) + // InternalApplicationConfiguration.g:7138:2: rule__StringTypeScope__Group__3__Impl + { + pushFollow(FOLLOW_2); + rule__StringTypeScope__Group__3__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__StringTypeScope__Group__3" + + + // $ANTLR start "rule__StringTypeScope__Group__3__Impl" + // InternalApplicationConfiguration.g:7144:1: rule__StringTypeScope__Group__3__Impl : ( ( rule__StringTypeScope__Alternatives_3 ) ) ; + public final void rule__StringTypeScope__Group__3__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:7148:1: ( ( ( rule__StringTypeScope__Alternatives_3 ) ) ) + // InternalApplicationConfiguration.g:7149:1: ( ( rule__StringTypeScope__Alternatives_3 ) ) + { + // InternalApplicationConfiguration.g:7149:1: ( ( rule__StringTypeScope__Alternatives_3 ) ) + // InternalApplicationConfiguration.g:7150:2: ( rule__StringTypeScope__Alternatives_3 ) + { + before(grammarAccess.getStringTypeScopeAccess().getAlternatives_3()); + // InternalApplicationConfiguration.g:7151:2: ( rule__StringTypeScope__Alternatives_3 ) + // InternalApplicationConfiguration.g:7151:3: rule__StringTypeScope__Alternatives_3 + { + pushFollow(FOLLOW_2); + rule__StringTypeScope__Alternatives_3(); + + state._fsp--; + + + } + + after(grammarAccess.getStringTypeScopeAccess().getAlternatives_3()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__StringTypeScope__Group__3__Impl" + + + // $ANTLR start "rule__ClassReference__Group__0" + // InternalApplicationConfiguration.g:7160:1: rule__ClassReference__Group__0 : rule__ClassReference__Group__0__Impl rule__ClassReference__Group__1 ; + public final void rule__ClassReference__Group__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:7164:1: ( rule__ClassReference__Group__0__Impl rule__ClassReference__Group__1 ) + // InternalApplicationConfiguration.g:7165:2: rule__ClassReference__Group__0__Impl rule__ClassReference__Group__1 + { + pushFollow(FOLLOW_8); + rule__ClassReference__Group__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__ClassReference__Group__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ClassReference__Group__0" + + + // $ANTLR start "rule__ClassReference__Group__0__Impl" + // InternalApplicationConfiguration.g:7172:1: rule__ClassReference__Group__0__Impl : ( '<' ) ; + public final void rule__ClassReference__Group__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:7176:1: ( ( '<' ) ) + // InternalApplicationConfiguration.g:7177:1: ( '<' ) + { + // InternalApplicationConfiguration.g:7177:1: ( '<' ) + // InternalApplicationConfiguration.g:7178:2: '<' + { + before(grammarAccess.getClassReferenceAccess().getLessThanSignKeyword_0()); + match(input,45,FOLLOW_2); + after(grammarAccess.getClassReferenceAccess().getLessThanSignKeyword_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ClassReference__Group__0__Impl" + + + // $ANTLR start "rule__ClassReference__Group__1" + // InternalApplicationConfiguration.g:7187:1: rule__ClassReference__Group__1 : rule__ClassReference__Group__1__Impl rule__ClassReference__Group__2 ; + public final void rule__ClassReference__Group__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:7191:1: ( rule__ClassReference__Group__1__Impl rule__ClassReference__Group__2 ) + // InternalApplicationConfiguration.g:7192:2: rule__ClassReference__Group__1__Impl rule__ClassReference__Group__2 + { + pushFollow(FOLLOW_40); + rule__ClassReference__Group__1__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__ClassReference__Group__2(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ClassReference__Group__1" + + + // $ANTLR start "rule__ClassReference__Group__1__Impl" + // InternalApplicationConfiguration.g:7199:1: rule__ClassReference__Group__1__Impl : ( ( rule__ClassReference__ElementAssignment_1 ) ) ; + public final void rule__ClassReference__Group__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:7203:1: ( ( ( rule__ClassReference__ElementAssignment_1 ) ) ) + // InternalApplicationConfiguration.g:7204:1: ( ( rule__ClassReference__ElementAssignment_1 ) ) + { + // InternalApplicationConfiguration.g:7204:1: ( ( rule__ClassReference__ElementAssignment_1 ) ) + // InternalApplicationConfiguration.g:7205:2: ( rule__ClassReference__ElementAssignment_1 ) + { + before(grammarAccess.getClassReferenceAccess().getElementAssignment_1()); + // InternalApplicationConfiguration.g:7206:2: ( rule__ClassReference__ElementAssignment_1 ) + // InternalApplicationConfiguration.g:7206:3: rule__ClassReference__ElementAssignment_1 + { + pushFollow(FOLLOW_2); + rule__ClassReference__ElementAssignment_1(); + + state._fsp--; + + + } + + after(grammarAccess.getClassReferenceAccess().getElementAssignment_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ClassReference__Group__1__Impl" + + + // $ANTLR start "rule__ClassReference__Group__2" + // InternalApplicationConfiguration.g:7214:1: rule__ClassReference__Group__2 : rule__ClassReference__Group__2__Impl ; + public final void rule__ClassReference__Group__2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:7218:1: ( rule__ClassReference__Group__2__Impl ) + // InternalApplicationConfiguration.g:7219:2: rule__ClassReference__Group__2__Impl + { + pushFollow(FOLLOW_2); + rule__ClassReference__Group__2__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ClassReference__Group__2" + + + // $ANTLR start "rule__ClassReference__Group__2__Impl" + // InternalApplicationConfiguration.g:7225:1: rule__ClassReference__Group__2__Impl : ( '>' ) ; + public final void rule__ClassReference__Group__2__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:7229:1: ( ( '>' ) ) + // InternalApplicationConfiguration.g:7230:1: ( '>' ) + { + // InternalApplicationConfiguration.g:7230:1: ( '>' ) + // InternalApplicationConfiguration.g:7231:2: '>' + { + before(grammarAccess.getClassReferenceAccess().getGreaterThanSignKeyword_2()); + match(input,46,FOLLOW_2); + after(grammarAccess.getClassReferenceAccess().getGreaterThanSignKeyword_2()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ClassReference__Group__2__Impl" + + + // $ANTLR start "rule__ObjectReference__Group__0" + // InternalApplicationConfiguration.g:7241:1: rule__ObjectReference__Group__0 : rule__ObjectReference__Group__0__Impl rule__ObjectReference__Group__1 ; + public final void rule__ObjectReference__Group__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:7245:1: ( rule__ObjectReference__Group__0__Impl rule__ObjectReference__Group__1 ) + // InternalApplicationConfiguration.g:7246:2: rule__ObjectReference__Group__0__Impl rule__ObjectReference__Group__1 + { + pushFollow(FOLLOW_35); + rule__ObjectReference__Group__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__ObjectReference__Group__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ObjectReference__Group__0" + + + // $ANTLR start "rule__ObjectReference__Group__0__Impl" + // InternalApplicationConfiguration.g:7253:1: rule__ObjectReference__Group__0__Impl : ( () ) ; + public final void rule__ObjectReference__Group__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:7257:1: ( ( () ) ) + // InternalApplicationConfiguration.g:7258:1: ( () ) + { + // InternalApplicationConfiguration.g:7258:1: ( () ) + // InternalApplicationConfiguration.g:7259:2: () + { + before(grammarAccess.getObjectReferenceAccess().getObjectReferenceAction_0()); + // InternalApplicationConfiguration.g:7260:2: () + // InternalApplicationConfiguration.g:7260:3: + { + } + + after(grammarAccess.getObjectReferenceAccess().getObjectReferenceAction_0()); + + } + + + } + + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ObjectReference__Group__0__Impl" + + + // $ANTLR start "rule__ObjectReference__Group__1" + // InternalApplicationConfiguration.g:7268:1: rule__ObjectReference__Group__1 : rule__ObjectReference__Group__1__Impl ; + public final void rule__ObjectReference__Group__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:7272:1: ( rule__ObjectReference__Group__1__Impl ) + // InternalApplicationConfiguration.g:7273:2: rule__ObjectReference__Group__1__Impl + { + pushFollow(FOLLOW_2); + rule__ObjectReference__Group__1__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ObjectReference__Group__1" + + + // $ANTLR start "rule__ObjectReference__Group__1__Impl" + // InternalApplicationConfiguration.g:7279:1: rule__ObjectReference__Group__1__Impl : ( 'node' ) ; + public final void rule__ObjectReference__Group__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:7283:1: ( ( 'node' ) ) + // InternalApplicationConfiguration.g:7284:1: ( 'node' ) + { + // InternalApplicationConfiguration.g:7284:1: ( 'node' ) + // InternalApplicationConfiguration.g:7285:2: 'node' + { + before(grammarAccess.getObjectReferenceAccess().getNodeKeyword_1()); + match(input,47,FOLLOW_2); + after(grammarAccess.getObjectReferenceAccess().getNodeKeyword_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ObjectReference__Group__1__Impl" + + + // $ANTLR start "rule__IntegerReference__Group__0" + // InternalApplicationConfiguration.g:7295:1: rule__IntegerReference__Group__0 : rule__IntegerReference__Group__0__Impl rule__IntegerReference__Group__1 ; + public final void rule__IntegerReference__Group__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:7299:1: ( rule__IntegerReference__Group__0__Impl rule__IntegerReference__Group__1 ) + // InternalApplicationConfiguration.g:7300:2: rule__IntegerReference__Group__0__Impl rule__IntegerReference__Group__1 + { + pushFollow(FOLLOW_36); + rule__IntegerReference__Group__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__IntegerReference__Group__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__IntegerReference__Group__0" + + + // $ANTLR start "rule__IntegerReference__Group__0__Impl" + // InternalApplicationConfiguration.g:7307:1: rule__IntegerReference__Group__0__Impl : ( () ) ; + public final void rule__IntegerReference__Group__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:7311:1: ( ( () ) ) + // InternalApplicationConfiguration.g:7312:1: ( () ) + { + // InternalApplicationConfiguration.g:7312:1: ( () ) + // InternalApplicationConfiguration.g:7313:2: () + { + before(grammarAccess.getIntegerReferenceAccess().getIntegerScopeAction_0()); + // InternalApplicationConfiguration.g:7314:2: () + // InternalApplicationConfiguration.g:7314:3: + { + } + + after(grammarAccess.getIntegerReferenceAccess().getIntegerScopeAction_0()); + + } + + + } + + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__IntegerReference__Group__0__Impl" + + + // $ANTLR start "rule__IntegerReference__Group__1" + // InternalApplicationConfiguration.g:7322:1: rule__IntegerReference__Group__1 : rule__IntegerReference__Group__1__Impl ; + public final void rule__IntegerReference__Group__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:7326:1: ( rule__IntegerReference__Group__1__Impl ) + // InternalApplicationConfiguration.g:7327:2: rule__IntegerReference__Group__1__Impl + { + pushFollow(FOLLOW_2); + rule__IntegerReference__Group__1__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__IntegerReference__Group__1" + + + // $ANTLR start "rule__IntegerReference__Group__1__Impl" + // InternalApplicationConfiguration.g:7333:1: rule__IntegerReference__Group__1__Impl : ( 'int' ) ; + public final void rule__IntegerReference__Group__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:7337:1: ( ( 'int' ) ) + // InternalApplicationConfiguration.g:7338:1: ( 'int' ) + { + // InternalApplicationConfiguration.g:7338:1: ( 'int' ) + // InternalApplicationConfiguration.g:7339:2: 'int' + { + before(grammarAccess.getIntegerReferenceAccess().getIntKeyword_1()); + match(input,48,FOLLOW_2); + after(grammarAccess.getIntegerReferenceAccess().getIntKeyword_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__IntegerReference__Group__1__Impl" + + + // $ANTLR start "rule__RealReference__Group__0" + // InternalApplicationConfiguration.g:7349:1: rule__RealReference__Group__0 : rule__RealReference__Group__0__Impl rule__RealReference__Group__1 ; + public final void rule__RealReference__Group__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:7353:1: ( rule__RealReference__Group__0__Impl rule__RealReference__Group__1 ) + // InternalApplicationConfiguration.g:7354:2: rule__RealReference__Group__0__Impl rule__RealReference__Group__1 + { + pushFollow(FOLLOW_38); + rule__RealReference__Group__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__RealReference__Group__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__RealReference__Group__0" + + + // $ANTLR start "rule__RealReference__Group__0__Impl" + // InternalApplicationConfiguration.g:7361:1: rule__RealReference__Group__0__Impl : ( () ) ; + public final void rule__RealReference__Group__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:7365:1: ( ( () ) ) + // InternalApplicationConfiguration.g:7366:1: ( () ) + { + // InternalApplicationConfiguration.g:7366:1: ( () ) + // InternalApplicationConfiguration.g:7367:2: () + { + before(grammarAccess.getRealReferenceAccess().getRealScopeAction_0()); + // InternalApplicationConfiguration.g:7368:2: () + // InternalApplicationConfiguration.g:7368:3: + { + } + + after(grammarAccess.getRealReferenceAccess().getRealScopeAction_0()); + + } + + + } + + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__RealReference__Group__0__Impl" + + + // $ANTLR start "rule__RealReference__Group__1" + // InternalApplicationConfiguration.g:7376:1: rule__RealReference__Group__1 : rule__RealReference__Group__1__Impl ; + public final void rule__RealReference__Group__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:7380:1: ( rule__RealReference__Group__1__Impl ) + // InternalApplicationConfiguration.g:7381:2: rule__RealReference__Group__1__Impl + { + pushFollow(FOLLOW_2); + rule__RealReference__Group__1__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__RealReference__Group__1" + + + // $ANTLR start "rule__RealReference__Group__1__Impl" + // InternalApplicationConfiguration.g:7387:1: rule__RealReference__Group__1__Impl : ( 'real' ) ; + public final void rule__RealReference__Group__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:7391:1: ( ( 'real' ) ) + // InternalApplicationConfiguration.g:7392:1: ( 'real' ) + { + // InternalApplicationConfiguration.g:7392:1: ( 'real' ) + // InternalApplicationConfiguration.g:7393:2: 'real' + { + before(grammarAccess.getRealReferenceAccess().getRealKeyword_1()); + match(input,49,FOLLOW_2); + after(grammarAccess.getRealReferenceAccess().getRealKeyword_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__RealReference__Group__1__Impl" + + + // $ANTLR start "rule__StringReference__Group__0" + // InternalApplicationConfiguration.g:7403:1: rule__StringReference__Group__0 : rule__StringReference__Group__0__Impl rule__StringReference__Group__1 ; + public final void rule__StringReference__Group__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:7407:1: ( rule__StringReference__Group__0__Impl rule__StringReference__Group__1 ) + // InternalApplicationConfiguration.g:7408:2: rule__StringReference__Group__0__Impl rule__StringReference__Group__1 + { + pushFollow(FOLLOW_39); + rule__StringReference__Group__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__StringReference__Group__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__StringReference__Group__0" + + + // $ANTLR start "rule__StringReference__Group__0__Impl" + // InternalApplicationConfiguration.g:7415:1: rule__StringReference__Group__0__Impl : ( () ) ; + public final void rule__StringReference__Group__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:7419:1: ( ( () ) ) + // InternalApplicationConfiguration.g:7420:1: ( () ) + { + // InternalApplicationConfiguration.g:7420:1: ( () ) + // InternalApplicationConfiguration.g:7421:2: () + { + before(grammarAccess.getStringReferenceAccess().getStringScopeAction_0()); + // InternalApplicationConfiguration.g:7422:2: () + // InternalApplicationConfiguration.g:7422:3: + { + } + + after(grammarAccess.getStringReferenceAccess().getStringScopeAction_0()); + + } + + + } + + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__StringReference__Group__0__Impl" + + + // $ANTLR start "rule__StringReference__Group__1" + // InternalApplicationConfiguration.g:7430:1: rule__StringReference__Group__1 : rule__StringReference__Group__1__Impl ; + public final void rule__StringReference__Group__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:7434:1: ( rule__StringReference__Group__1__Impl ) + // InternalApplicationConfiguration.g:7435:2: rule__StringReference__Group__1__Impl + { + pushFollow(FOLLOW_2); + rule__StringReference__Group__1__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__StringReference__Group__1" + + + // $ANTLR start "rule__StringReference__Group__1__Impl" + // InternalApplicationConfiguration.g:7441:1: rule__StringReference__Group__1__Impl : ( 'string' ) ; + public final void rule__StringReference__Group__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:7445:1: ( ( 'string' ) ) + // InternalApplicationConfiguration.g:7446:1: ( 'string' ) + { + // InternalApplicationConfiguration.g:7446:1: ( 'string' ) + // InternalApplicationConfiguration.g:7447:2: 'string' + { + before(grammarAccess.getStringReferenceAccess().getStringKeyword_1()); + match(input,50,FOLLOW_2); + after(grammarAccess.getStringReferenceAccess().getStringKeyword_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__StringReference__Group__1__Impl" + + + // $ANTLR start "rule__IntervallNumber__Group__0" + // InternalApplicationConfiguration.g:7457:1: rule__IntervallNumber__Group__0 : rule__IntervallNumber__Group__0__Impl rule__IntervallNumber__Group__1 ; + public final void rule__IntervallNumber__Group__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:7461:1: ( rule__IntervallNumber__Group__0__Impl rule__IntervallNumber__Group__1 ) + // InternalApplicationConfiguration.g:7462:2: rule__IntervallNumber__Group__0__Impl rule__IntervallNumber__Group__1 + { + pushFollow(FOLLOW_41); + rule__IntervallNumber__Group__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__IntervallNumber__Group__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__IntervallNumber__Group__0" + + + // $ANTLR start "rule__IntervallNumber__Group__0__Impl" + // InternalApplicationConfiguration.g:7469:1: rule__IntervallNumber__Group__0__Impl : ( ( rule__IntervallNumber__MinAssignment_0 ) ) ; + public final void rule__IntervallNumber__Group__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:7473:1: ( ( ( rule__IntervallNumber__MinAssignment_0 ) ) ) + // InternalApplicationConfiguration.g:7474:1: ( ( rule__IntervallNumber__MinAssignment_0 ) ) + { + // InternalApplicationConfiguration.g:7474:1: ( ( rule__IntervallNumber__MinAssignment_0 ) ) + // InternalApplicationConfiguration.g:7475:2: ( rule__IntervallNumber__MinAssignment_0 ) + { + before(grammarAccess.getIntervallNumberAccess().getMinAssignment_0()); + // InternalApplicationConfiguration.g:7476:2: ( rule__IntervallNumber__MinAssignment_0 ) + // InternalApplicationConfiguration.g:7476:3: rule__IntervallNumber__MinAssignment_0 + { + pushFollow(FOLLOW_2); + rule__IntervallNumber__MinAssignment_0(); + + state._fsp--; + + + } + + after(grammarAccess.getIntervallNumberAccess().getMinAssignment_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__IntervallNumber__Group__0__Impl" + + + // $ANTLR start "rule__IntervallNumber__Group__1" + // InternalApplicationConfiguration.g:7484:1: rule__IntervallNumber__Group__1 : rule__IntervallNumber__Group__1__Impl rule__IntervallNumber__Group__2 ; + public final void rule__IntervallNumber__Group__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:7488:1: ( rule__IntervallNumber__Group__1__Impl rule__IntervallNumber__Group__2 ) + // InternalApplicationConfiguration.g:7489:2: rule__IntervallNumber__Group__1__Impl rule__IntervallNumber__Group__2 + { + pushFollow(FOLLOW_34); + rule__IntervallNumber__Group__1__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__IntervallNumber__Group__2(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__IntervallNumber__Group__1" + + + // $ANTLR start "rule__IntervallNumber__Group__1__Impl" + // InternalApplicationConfiguration.g:7496:1: rule__IntervallNumber__Group__1__Impl : ( '..' ) ; + public final void rule__IntervallNumber__Group__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:7500:1: ( ( '..' ) ) + // InternalApplicationConfiguration.g:7501:1: ( '..' ) + { + // InternalApplicationConfiguration.g:7501:1: ( '..' ) + // InternalApplicationConfiguration.g:7502:2: '..' + { + before(grammarAccess.getIntervallNumberAccess().getFullStopFullStopKeyword_1()); + match(input,51,FOLLOW_2); + after(grammarAccess.getIntervallNumberAccess().getFullStopFullStopKeyword_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__IntervallNumber__Group__1__Impl" + + + // $ANTLR start "rule__IntervallNumber__Group__2" + // InternalApplicationConfiguration.g:7511:1: rule__IntervallNumber__Group__2 : rule__IntervallNumber__Group__2__Impl ; + public final void rule__IntervallNumber__Group__2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:7515:1: ( rule__IntervallNumber__Group__2__Impl ) + // InternalApplicationConfiguration.g:7516:2: rule__IntervallNumber__Group__2__Impl + { + pushFollow(FOLLOW_2); + rule__IntervallNumber__Group__2__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__IntervallNumber__Group__2" + + + // $ANTLR start "rule__IntervallNumber__Group__2__Impl" + // InternalApplicationConfiguration.g:7522:1: rule__IntervallNumber__Group__2__Impl : ( ( rule__IntervallNumber__Alternatives_2 ) ) ; + public final void rule__IntervallNumber__Group__2__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:7526:1: ( ( ( rule__IntervallNumber__Alternatives_2 ) ) ) + // InternalApplicationConfiguration.g:7527:1: ( ( rule__IntervallNumber__Alternatives_2 ) ) + { + // InternalApplicationConfiguration.g:7527:1: ( ( rule__IntervallNumber__Alternatives_2 ) ) + // InternalApplicationConfiguration.g:7528:2: ( rule__IntervallNumber__Alternatives_2 ) + { + before(grammarAccess.getIntervallNumberAccess().getAlternatives_2()); + // InternalApplicationConfiguration.g:7529:2: ( rule__IntervallNumber__Alternatives_2 ) + // InternalApplicationConfiguration.g:7529:3: rule__IntervallNumber__Alternatives_2 + { + pushFollow(FOLLOW_2); + rule__IntervallNumber__Alternatives_2(); + + state._fsp--; + + + } + + after(grammarAccess.getIntervallNumberAccess().getAlternatives_2()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__IntervallNumber__Group__2__Impl" + + + // $ANTLR start "rule__IntEnumberation__Group__0" + // InternalApplicationConfiguration.g:7538:1: rule__IntEnumberation__Group__0 : rule__IntEnumberation__Group__0__Impl rule__IntEnumberation__Group__1 ; + public final void rule__IntEnumberation__Group__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:7542:1: ( rule__IntEnumberation__Group__0__Impl rule__IntEnumberation__Group__1 ) + // InternalApplicationConfiguration.g:7543:2: rule__IntEnumberation__Group__0__Impl rule__IntEnumberation__Group__1 + { + pushFollow(FOLLOW_37); + rule__IntEnumberation__Group__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__IntEnumberation__Group__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__IntEnumberation__Group__0" + + + // $ANTLR start "rule__IntEnumberation__Group__0__Impl" + // InternalApplicationConfiguration.g:7550:1: rule__IntEnumberation__Group__0__Impl : ( () ) ; + public final void rule__IntEnumberation__Group__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:7554:1: ( ( () ) ) + // InternalApplicationConfiguration.g:7555:1: ( () ) + { + // InternalApplicationConfiguration.g:7555:1: ( () ) + // InternalApplicationConfiguration.g:7556:2: () + { + before(grammarAccess.getIntEnumberationAccess().getIntEnumberationAction_0()); + // InternalApplicationConfiguration.g:7557:2: () + // InternalApplicationConfiguration.g:7557:3: + { + } + + after(grammarAccess.getIntEnumberationAccess().getIntEnumberationAction_0()); + + } + + + } + + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__IntEnumberation__Group__0__Impl" + + + // $ANTLR start "rule__IntEnumberation__Group__1" + // InternalApplicationConfiguration.g:7565:1: rule__IntEnumberation__Group__1 : rule__IntEnumberation__Group__1__Impl rule__IntEnumberation__Group__2 ; + public final void rule__IntEnumberation__Group__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:7569:1: ( rule__IntEnumberation__Group__1__Impl rule__IntEnumberation__Group__2 ) + // InternalApplicationConfiguration.g:7570:2: rule__IntEnumberation__Group__1__Impl rule__IntEnumberation__Group__2 + { + pushFollow(FOLLOW_42); + rule__IntEnumberation__Group__1__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__IntEnumberation__Group__2(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__IntEnumberation__Group__1" + + + // $ANTLR start "rule__IntEnumberation__Group__1__Impl" + // InternalApplicationConfiguration.g:7577:1: rule__IntEnumberation__Group__1__Impl : ( '{' ) ; + public final void rule__IntEnumberation__Group__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:7581:1: ( ( '{' ) ) + // InternalApplicationConfiguration.g:7582:1: ( '{' ) + { + // InternalApplicationConfiguration.g:7582:1: ( '{' ) + // InternalApplicationConfiguration.g:7583:2: '{' + { + before(grammarAccess.getIntEnumberationAccess().getLeftCurlyBracketKeyword_1()); + match(input,29,FOLLOW_2); + after(grammarAccess.getIntEnumberationAccess().getLeftCurlyBracketKeyword_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__IntEnumberation__Group__1__Impl" + + + // $ANTLR start "rule__IntEnumberation__Group__2" + // InternalApplicationConfiguration.g:7592:1: rule__IntEnumberation__Group__2 : rule__IntEnumberation__Group__2__Impl rule__IntEnumberation__Group__3 ; + public final void rule__IntEnumberation__Group__2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:7596:1: ( rule__IntEnumberation__Group__2__Impl rule__IntEnumberation__Group__3 ) + // InternalApplicationConfiguration.g:7597:2: rule__IntEnumberation__Group__2__Impl rule__IntEnumberation__Group__3 + { + pushFollow(FOLLOW_42); + rule__IntEnumberation__Group__2__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__IntEnumberation__Group__3(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__IntEnumberation__Group__2" + + + // $ANTLR start "rule__IntEnumberation__Group__2__Impl" + // InternalApplicationConfiguration.g:7604:1: rule__IntEnumberation__Group__2__Impl : ( ( rule__IntEnumberation__Group_2__0 )? ) ; + public final void rule__IntEnumberation__Group__2__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:7608:1: ( ( ( rule__IntEnumberation__Group_2__0 )? ) ) + // InternalApplicationConfiguration.g:7609:1: ( ( rule__IntEnumberation__Group_2__0 )? ) + { + // InternalApplicationConfiguration.g:7609:1: ( ( rule__IntEnumberation__Group_2__0 )? ) + // InternalApplicationConfiguration.g:7610:2: ( rule__IntEnumberation__Group_2__0 )? + { + before(grammarAccess.getIntEnumberationAccess().getGroup_2()); + // InternalApplicationConfiguration.g:7611:2: ( rule__IntEnumberation__Group_2__0 )? + int alt56=2; + int LA56_0 = input.LA(1); + + if ( (LA56_0==RULE_INT||LA56_0==22) ) { + alt56=1; + } + switch (alt56) { + case 1 : + // InternalApplicationConfiguration.g:7611:3: rule__IntEnumberation__Group_2__0 + { + pushFollow(FOLLOW_2); + rule__IntEnumberation__Group_2__0(); + + state._fsp--; + + + } + break; + + } + + after(grammarAccess.getIntEnumberationAccess().getGroup_2()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__IntEnumberation__Group__2__Impl" + + + // $ANTLR start "rule__IntEnumberation__Group__3" + // InternalApplicationConfiguration.g:7619:1: rule__IntEnumberation__Group__3 : rule__IntEnumberation__Group__3__Impl ; + public final void rule__IntEnumberation__Group__3() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:7623:1: ( rule__IntEnumberation__Group__3__Impl ) + // InternalApplicationConfiguration.g:7624:2: rule__IntEnumberation__Group__3__Impl + { + pushFollow(FOLLOW_2); + rule__IntEnumberation__Group__3__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__IntEnumberation__Group__3" + + + // $ANTLR start "rule__IntEnumberation__Group__3__Impl" + // InternalApplicationConfiguration.g:7630:1: rule__IntEnumberation__Group__3__Impl : ( '}' ) ; + public final void rule__IntEnumberation__Group__3__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:7634:1: ( ( '}' ) ) + // InternalApplicationConfiguration.g:7635:1: ( '}' ) + { + // InternalApplicationConfiguration.g:7635:1: ( '}' ) + // InternalApplicationConfiguration.g:7636:2: '}' + { + before(grammarAccess.getIntEnumberationAccess().getRightCurlyBracketKeyword_3()); + match(input,30,FOLLOW_2); + after(grammarAccess.getIntEnumberationAccess().getRightCurlyBracketKeyword_3()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__IntEnumberation__Group__3__Impl" + + + // $ANTLR start "rule__IntEnumberation__Group_2__0" + // InternalApplicationConfiguration.g:7646:1: rule__IntEnumberation__Group_2__0 : rule__IntEnumberation__Group_2__0__Impl rule__IntEnumberation__Group_2__1 ; + public final void rule__IntEnumberation__Group_2__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:7650:1: ( rule__IntEnumberation__Group_2__0__Impl rule__IntEnumberation__Group_2__1 ) + // InternalApplicationConfiguration.g:7651:2: rule__IntEnumberation__Group_2__0__Impl rule__IntEnumberation__Group_2__1 + { + pushFollow(FOLLOW_27); + rule__IntEnumberation__Group_2__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__IntEnumberation__Group_2__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__IntEnumberation__Group_2__0" + + + // $ANTLR start "rule__IntEnumberation__Group_2__0__Impl" + // InternalApplicationConfiguration.g:7658:1: rule__IntEnumberation__Group_2__0__Impl : ( ( rule__IntEnumberation__EntryAssignment_2_0 ) ) ; + public final void rule__IntEnumberation__Group_2__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:7662:1: ( ( ( rule__IntEnumberation__EntryAssignment_2_0 ) ) ) + // InternalApplicationConfiguration.g:7663:1: ( ( rule__IntEnumberation__EntryAssignment_2_0 ) ) + { + // InternalApplicationConfiguration.g:7663:1: ( ( rule__IntEnumberation__EntryAssignment_2_0 ) ) + // InternalApplicationConfiguration.g:7664:2: ( rule__IntEnumberation__EntryAssignment_2_0 ) + { + before(grammarAccess.getIntEnumberationAccess().getEntryAssignment_2_0()); + // InternalApplicationConfiguration.g:7665:2: ( rule__IntEnumberation__EntryAssignment_2_0 ) + // InternalApplicationConfiguration.g:7665:3: rule__IntEnumberation__EntryAssignment_2_0 + { + pushFollow(FOLLOW_2); + rule__IntEnumberation__EntryAssignment_2_0(); + + state._fsp--; + + + } + + after(grammarAccess.getIntEnumberationAccess().getEntryAssignment_2_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__IntEnumberation__Group_2__0__Impl" + + + // $ANTLR start "rule__IntEnumberation__Group_2__1" + // InternalApplicationConfiguration.g:7673:1: rule__IntEnumberation__Group_2__1 : rule__IntEnumberation__Group_2__1__Impl ; + public final void rule__IntEnumberation__Group_2__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:7677:1: ( rule__IntEnumberation__Group_2__1__Impl ) + // InternalApplicationConfiguration.g:7678:2: rule__IntEnumberation__Group_2__1__Impl + { + pushFollow(FOLLOW_2); + rule__IntEnumberation__Group_2__1__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__IntEnumberation__Group_2__1" + + + // $ANTLR start "rule__IntEnumberation__Group_2__1__Impl" + // InternalApplicationConfiguration.g:7684:1: rule__IntEnumberation__Group_2__1__Impl : ( ( rule__IntEnumberation__Group_2_1__0 )* ) ; + public final void rule__IntEnumberation__Group_2__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:7688:1: ( ( ( rule__IntEnumberation__Group_2_1__0 )* ) ) + // InternalApplicationConfiguration.g:7689:1: ( ( rule__IntEnumberation__Group_2_1__0 )* ) + { + // InternalApplicationConfiguration.g:7689:1: ( ( rule__IntEnumberation__Group_2_1__0 )* ) + // InternalApplicationConfiguration.g:7690:2: ( rule__IntEnumberation__Group_2_1__0 )* + { + before(grammarAccess.getIntEnumberationAccess().getGroup_2_1()); + // InternalApplicationConfiguration.g:7691:2: ( rule__IntEnumberation__Group_2_1__0 )* + loop57: + do { + int alt57=2; + int LA57_0 = input.LA(1); + + if ( (LA57_0==31) ) { + alt57=1; + } + + + switch (alt57) { + case 1 : + // InternalApplicationConfiguration.g:7691:3: rule__IntEnumberation__Group_2_1__0 + { + pushFollow(FOLLOW_17); + rule__IntEnumberation__Group_2_1__0(); + + state._fsp--; + + + } + break; + + default : + break loop57; + } + } while (true); + + after(grammarAccess.getIntEnumberationAccess().getGroup_2_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__IntEnumberation__Group_2__1__Impl" + + + // $ANTLR start "rule__IntEnumberation__Group_2_1__0" + // InternalApplicationConfiguration.g:7700:1: rule__IntEnumberation__Group_2_1__0 : rule__IntEnumberation__Group_2_1__0__Impl rule__IntEnumberation__Group_2_1__1 ; + public final void rule__IntEnumberation__Group_2_1__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:7704:1: ( rule__IntEnumberation__Group_2_1__0__Impl rule__IntEnumberation__Group_2_1__1 ) + // InternalApplicationConfiguration.g:7705:2: rule__IntEnumberation__Group_2_1__0__Impl rule__IntEnumberation__Group_2_1__1 + { + pushFollow(FOLLOW_25); + rule__IntEnumberation__Group_2_1__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__IntEnumberation__Group_2_1__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__IntEnumberation__Group_2_1__0" + + + // $ANTLR start "rule__IntEnumberation__Group_2_1__0__Impl" + // InternalApplicationConfiguration.g:7712:1: rule__IntEnumberation__Group_2_1__0__Impl : ( ',' ) ; + public final void rule__IntEnumberation__Group_2_1__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:7716:1: ( ( ',' ) ) + // InternalApplicationConfiguration.g:7717:1: ( ',' ) + { + // InternalApplicationConfiguration.g:7717:1: ( ',' ) + // InternalApplicationConfiguration.g:7718:2: ',' + { + before(grammarAccess.getIntEnumberationAccess().getCommaKeyword_2_1_0()); + match(input,31,FOLLOW_2); + after(grammarAccess.getIntEnumberationAccess().getCommaKeyword_2_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__IntEnumberation__Group_2_1__0__Impl" + + + // $ANTLR start "rule__IntEnumberation__Group_2_1__1" + // InternalApplicationConfiguration.g:7727:1: rule__IntEnumberation__Group_2_1__1 : rule__IntEnumberation__Group_2_1__1__Impl ; + public final void rule__IntEnumberation__Group_2_1__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:7731:1: ( rule__IntEnumberation__Group_2_1__1__Impl ) + // InternalApplicationConfiguration.g:7732:2: rule__IntEnumberation__Group_2_1__1__Impl + { + pushFollow(FOLLOW_2); + rule__IntEnumberation__Group_2_1__1__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__IntEnumberation__Group_2_1__1" + + + // $ANTLR start "rule__IntEnumberation__Group_2_1__1__Impl" + // InternalApplicationConfiguration.g:7738:1: rule__IntEnumberation__Group_2_1__1__Impl : ( ( rule__IntEnumberation__EntryAssignment_2_1_1 ) ) ; + public final void rule__IntEnumberation__Group_2_1__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:7742:1: ( ( ( rule__IntEnumberation__EntryAssignment_2_1_1 ) ) ) + // InternalApplicationConfiguration.g:7743:1: ( ( rule__IntEnumberation__EntryAssignment_2_1_1 ) ) + { + // InternalApplicationConfiguration.g:7743:1: ( ( rule__IntEnumberation__EntryAssignment_2_1_1 ) ) + // InternalApplicationConfiguration.g:7744:2: ( rule__IntEnumberation__EntryAssignment_2_1_1 ) + { + before(grammarAccess.getIntEnumberationAccess().getEntryAssignment_2_1_1()); + // InternalApplicationConfiguration.g:7745:2: ( rule__IntEnumberation__EntryAssignment_2_1_1 ) + // InternalApplicationConfiguration.g:7745:3: rule__IntEnumberation__EntryAssignment_2_1_1 + { + pushFollow(FOLLOW_2); + rule__IntEnumberation__EntryAssignment_2_1_1(); + + state._fsp--; + + + } + + after(grammarAccess.getIntEnumberationAccess().getEntryAssignment_2_1_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__IntEnumberation__Group_2_1__1__Impl" + + + // $ANTLR start "rule__RealEnumeration__Group__0" + // InternalApplicationConfiguration.g:7754:1: rule__RealEnumeration__Group__0 : rule__RealEnumeration__Group__0__Impl rule__RealEnumeration__Group__1 ; + public final void rule__RealEnumeration__Group__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:7758:1: ( rule__RealEnumeration__Group__0__Impl rule__RealEnumeration__Group__1 ) + // InternalApplicationConfiguration.g:7759:2: rule__RealEnumeration__Group__0__Impl rule__RealEnumeration__Group__1 + { + pushFollow(FOLLOW_37); + rule__RealEnumeration__Group__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__RealEnumeration__Group__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__RealEnumeration__Group__0" + + + // $ANTLR start "rule__RealEnumeration__Group__0__Impl" + // InternalApplicationConfiguration.g:7766:1: rule__RealEnumeration__Group__0__Impl : ( () ) ; + public final void rule__RealEnumeration__Group__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:7770:1: ( ( () ) ) + // InternalApplicationConfiguration.g:7771:1: ( () ) + { + // InternalApplicationConfiguration.g:7771:1: ( () ) + // InternalApplicationConfiguration.g:7772:2: () + { + before(grammarAccess.getRealEnumerationAccess().getRealEnumerationAction_0()); + // InternalApplicationConfiguration.g:7773:2: () + // InternalApplicationConfiguration.g:7773:3: + { + } + + after(grammarAccess.getRealEnumerationAccess().getRealEnumerationAction_0()); + + } + + + } + + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__RealEnumeration__Group__0__Impl" + + + // $ANTLR start "rule__RealEnumeration__Group__1" + // InternalApplicationConfiguration.g:7781:1: rule__RealEnumeration__Group__1 : rule__RealEnumeration__Group__1__Impl rule__RealEnumeration__Group__2 ; + public final void rule__RealEnumeration__Group__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:7785:1: ( rule__RealEnumeration__Group__1__Impl rule__RealEnumeration__Group__2 ) + // InternalApplicationConfiguration.g:7786:2: rule__RealEnumeration__Group__1__Impl rule__RealEnumeration__Group__2 + { + pushFollow(FOLLOW_42); + rule__RealEnumeration__Group__1__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__RealEnumeration__Group__2(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__RealEnumeration__Group__1" + + + // $ANTLR start "rule__RealEnumeration__Group__1__Impl" + // InternalApplicationConfiguration.g:7793:1: rule__RealEnumeration__Group__1__Impl : ( '{' ) ; + public final void rule__RealEnumeration__Group__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:7797:1: ( ( '{' ) ) + // InternalApplicationConfiguration.g:7798:1: ( '{' ) + { + // InternalApplicationConfiguration.g:7798:1: ( '{' ) + // InternalApplicationConfiguration.g:7799:2: '{' + { + before(grammarAccess.getRealEnumerationAccess().getLeftCurlyBracketKeyword_1()); + match(input,29,FOLLOW_2); + after(grammarAccess.getRealEnumerationAccess().getLeftCurlyBracketKeyword_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__RealEnumeration__Group__1__Impl" + + + // $ANTLR start "rule__RealEnumeration__Group__2" + // InternalApplicationConfiguration.g:7808:1: rule__RealEnumeration__Group__2 : rule__RealEnumeration__Group__2__Impl rule__RealEnumeration__Group__3 ; + public final void rule__RealEnumeration__Group__2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:7812:1: ( rule__RealEnumeration__Group__2__Impl rule__RealEnumeration__Group__3 ) + // InternalApplicationConfiguration.g:7813:2: rule__RealEnumeration__Group__2__Impl rule__RealEnumeration__Group__3 + { + pushFollow(FOLLOW_42); + rule__RealEnumeration__Group__2__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__RealEnumeration__Group__3(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__RealEnumeration__Group__2" + + + // $ANTLR start "rule__RealEnumeration__Group__2__Impl" + // InternalApplicationConfiguration.g:7820:1: rule__RealEnumeration__Group__2__Impl : ( ( rule__RealEnumeration__Group_2__0 )? ) ; + public final void rule__RealEnumeration__Group__2__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:7824:1: ( ( ( rule__RealEnumeration__Group_2__0 )? ) ) + // InternalApplicationConfiguration.g:7825:1: ( ( rule__RealEnumeration__Group_2__0 )? ) + { + // InternalApplicationConfiguration.g:7825:1: ( ( rule__RealEnumeration__Group_2__0 )? ) + // InternalApplicationConfiguration.g:7826:2: ( rule__RealEnumeration__Group_2__0 )? + { + before(grammarAccess.getRealEnumerationAccess().getGroup_2()); + // InternalApplicationConfiguration.g:7827:2: ( rule__RealEnumeration__Group_2__0 )? + int alt58=2; + int LA58_0 = input.LA(1); + + if ( (LA58_0==RULE_INT||LA58_0==22) ) { + alt58=1; + } + switch (alt58) { + case 1 : + // InternalApplicationConfiguration.g:7827:3: rule__RealEnumeration__Group_2__0 + { + pushFollow(FOLLOW_2); + rule__RealEnumeration__Group_2__0(); + + state._fsp--; + + + } + break; + + } + + after(grammarAccess.getRealEnumerationAccess().getGroup_2()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__RealEnumeration__Group__2__Impl" + + + // $ANTLR start "rule__RealEnumeration__Group__3" + // InternalApplicationConfiguration.g:7835:1: rule__RealEnumeration__Group__3 : rule__RealEnumeration__Group__3__Impl ; + public final void rule__RealEnumeration__Group__3() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:7839:1: ( rule__RealEnumeration__Group__3__Impl ) + // InternalApplicationConfiguration.g:7840:2: rule__RealEnumeration__Group__3__Impl + { + pushFollow(FOLLOW_2); + rule__RealEnumeration__Group__3__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__RealEnumeration__Group__3" + + + // $ANTLR start "rule__RealEnumeration__Group__3__Impl" + // InternalApplicationConfiguration.g:7846:1: rule__RealEnumeration__Group__3__Impl : ( '}' ) ; + public final void rule__RealEnumeration__Group__3__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:7850:1: ( ( '}' ) ) + // InternalApplicationConfiguration.g:7851:1: ( '}' ) + { + // InternalApplicationConfiguration.g:7851:1: ( '}' ) + // InternalApplicationConfiguration.g:7852:2: '}' + { + before(grammarAccess.getRealEnumerationAccess().getRightCurlyBracketKeyword_3()); + match(input,30,FOLLOW_2); + after(grammarAccess.getRealEnumerationAccess().getRightCurlyBracketKeyword_3()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__RealEnumeration__Group__3__Impl" + + + // $ANTLR start "rule__RealEnumeration__Group_2__0" + // InternalApplicationConfiguration.g:7862:1: rule__RealEnumeration__Group_2__0 : rule__RealEnumeration__Group_2__0__Impl rule__RealEnumeration__Group_2__1 ; + public final void rule__RealEnumeration__Group_2__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:7866:1: ( rule__RealEnumeration__Group_2__0__Impl rule__RealEnumeration__Group_2__1 ) + // InternalApplicationConfiguration.g:7867:2: rule__RealEnumeration__Group_2__0__Impl rule__RealEnumeration__Group_2__1 + { + pushFollow(FOLLOW_27); + rule__RealEnumeration__Group_2__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__RealEnumeration__Group_2__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__RealEnumeration__Group_2__0" + + + // $ANTLR start "rule__RealEnumeration__Group_2__0__Impl" + // InternalApplicationConfiguration.g:7874:1: rule__RealEnumeration__Group_2__0__Impl : ( ( rule__RealEnumeration__EntryAssignment_2_0 ) ) ; + public final void rule__RealEnumeration__Group_2__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:7878:1: ( ( ( rule__RealEnumeration__EntryAssignment_2_0 ) ) ) + // InternalApplicationConfiguration.g:7879:1: ( ( rule__RealEnumeration__EntryAssignment_2_0 ) ) + { + // InternalApplicationConfiguration.g:7879:1: ( ( rule__RealEnumeration__EntryAssignment_2_0 ) ) + // InternalApplicationConfiguration.g:7880:2: ( rule__RealEnumeration__EntryAssignment_2_0 ) + { + before(grammarAccess.getRealEnumerationAccess().getEntryAssignment_2_0()); + // InternalApplicationConfiguration.g:7881:2: ( rule__RealEnumeration__EntryAssignment_2_0 ) + // InternalApplicationConfiguration.g:7881:3: rule__RealEnumeration__EntryAssignment_2_0 + { + pushFollow(FOLLOW_2); + rule__RealEnumeration__EntryAssignment_2_0(); + + state._fsp--; + + + } + + after(grammarAccess.getRealEnumerationAccess().getEntryAssignment_2_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__RealEnumeration__Group_2__0__Impl" + + + // $ANTLR start "rule__RealEnumeration__Group_2__1" + // InternalApplicationConfiguration.g:7889:1: rule__RealEnumeration__Group_2__1 : rule__RealEnumeration__Group_2__1__Impl ; + public final void rule__RealEnumeration__Group_2__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:7893:1: ( rule__RealEnumeration__Group_2__1__Impl ) + // InternalApplicationConfiguration.g:7894:2: rule__RealEnumeration__Group_2__1__Impl + { + pushFollow(FOLLOW_2); + rule__RealEnumeration__Group_2__1__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__RealEnumeration__Group_2__1" + + + // $ANTLR start "rule__RealEnumeration__Group_2__1__Impl" + // InternalApplicationConfiguration.g:7900:1: rule__RealEnumeration__Group_2__1__Impl : ( ( rule__RealEnumeration__Group_2_1__0 )* ) ; + public final void rule__RealEnumeration__Group_2__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:7904:1: ( ( ( rule__RealEnumeration__Group_2_1__0 )* ) ) + // InternalApplicationConfiguration.g:7905:1: ( ( rule__RealEnumeration__Group_2_1__0 )* ) + { + // InternalApplicationConfiguration.g:7905:1: ( ( rule__RealEnumeration__Group_2_1__0 )* ) + // InternalApplicationConfiguration.g:7906:2: ( rule__RealEnumeration__Group_2_1__0 )* + { + before(grammarAccess.getRealEnumerationAccess().getGroup_2_1()); + // InternalApplicationConfiguration.g:7907:2: ( rule__RealEnumeration__Group_2_1__0 )* + loop59: + do { + int alt59=2; + int LA59_0 = input.LA(1); + + if ( (LA59_0==31) ) { + alt59=1; + } + + + switch (alt59) { + case 1 : + // InternalApplicationConfiguration.g:7907:3: rule__RealEnumeration__Group_2_1__0 + { + pushFollow(FOLLOW_17); + rule__RealEnumeration__Group_2_1__0(); + + state._fsp--; + + + } + break; + + default : + break loop59; + } + } while (true); + + after(grammarAccess.getRealEnumerationAccess().getGroup_2_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__RealEnumeration__Group_2__1__Impl" + + + // $ANTLR start "rule__RealEnumeration__Group_2_1__0" + // InternalApplicationConfiguration.g:7916:1: rule__RealEnumeration__Group_2_1__0 : rule__RealEnumeration__Group_2_1__0__Impl rule__RealEnumeration__Group_2_1__1 ; + public final void rule__RealEnumeration__Group_2_1__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:7920:1: ( rule__RealEnumeration__Group_2_1__0__Impl rule__RealEnumeration__Group_2_1__1 ) + // InternalApplicationConfiguration.g:7921:2: rule__RealEnumeration__Group_2_1__0__Impl rule__RealEnumeration__Group_2_1__1 + { + pushFollow(FOLLOW_25); + rule__RealEnumeration__Group_2_1__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__RealEnumeration__Group_2_1__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__RealEnumeration__Group_2_1__0" + + + // $ANTLR start "rule__RealEnumeration__Group_2_1__0__Impl" + // InternalApplicationConfiguration.g:7928:1: rule__RealEnumeration__Group_2_1__0__Impl : ( ',' ) ; + public final void rule__RealEnumeration__Group_2_1__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:7932:1: ( ( ',' ) ) + // InternalApplicationConfiguration.g:7933:1: ( ',' ) + { + // InternalApplicationConfiguration.g:7933:1: ( ',' ) + // InternalApplicationConfiguration.g:7934:2: ',' + { + before(grammarAccess.getRealEnumerationAccess().getCommaKeyword_2_1_0()); + match(input,31,FOLLOW_2); + after(grammarAccess.getRealEnumerationAccess().getCommaKeyword_2_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__RealEnumeration__Group_2_1__0__Impl" + + + // $ANTLR start "rule__RealEnumeration__Group_2_1__1" + // InternalApplicationConfiguration.g:7943:1: rule__RealEnumeration__Group_2_1__1 : rule__RealEnumeration__Group_2_1__1__Impl ; + public final void rule__RealEnumeration__Group_2_1__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:7947:1: ( rule__RealEnumeration__Group_2_1__1__Impl ) + // InternalApplicationConfiguration.g:7948:2: rule__RealEnumeration__Group_2_1__1__Impl + { + pushFollow(FOLLOW_2); + rule__RealEnumeration__Group_2_1__1__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__RealEnumeration__Group_2_1__1" + + + // $ANTLR start "rule__RealEnumeration__Group_2_1__1__Impl" + // InternalApplicationConfiguration.g:7954:1: rule__RealEnumeration__Group_2_1__1__Impl : ( ( rule__RealEnumeration__EntryAssignment_2_1_1 ) ) ; + public final void rule__RealEnumeration__Group_2_1__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:7958:1: ( ( ( rule__RealEnumeration__EntryAssignment_2_1_1 ) ) ) + // InternalApplicationConfiguration.g:7959:1: ( ( rule__RealEnumeration__EntryAssignment_2_1_1 ) ) + { + // InternalApplicationConfiguration.g:7959:1: ( ( rule__RealEnumeration__EntryAssignment_2_1_1 ) ) + // InternalApplicationConfiguration.g:7960:2: ( rule__RealEnumeration__EntryAssignment_2_1_1 ) + { + before(grammarAccess.getRealEnumerationAccess().getEntryAssignment_2_1_1()); + // InternalApplicationConfiguration.g:7961:2: ( rule__RealEnumeration__EntryAssignment_2_1_1 ) + // InternalApplicationConfiguration.g:7961:3: rule__RealEnumeration__EntryAssignment_2_1_1 + { + pushFollow(FOLLOW_2); + rule__RealEnumeration__EntryAssignment_2_1_1(); + + state._fsp--; + + + } + + after(grammarAccess.getRealEnumerationAccess().getEntryAssignment_2_1_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__RealEnumeration__Group_2_1__1__Impl" + + + // $ANTLR start "rule__StringEnumeration__Group__0" + // InternalApplicationConfiguration.g:7970:1: rule__StringEnumeration__Group__0 : rule__StringEnumeration__Group__0__Impl rule__StringEnumeration__Group__1 ; + public final void rule__StringEnumeration__Group__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:7974:1: ( rule__StringEnumeration__Group__0__Impl rule__StringEnumeration__Group__1 ) + // InternalApplicationConfiguration.g:7975:2: rule__StringEnumeration__Group__0__Impl rule__StringEnumeration__Group__1 + { + pushFollow(FOLLOW_37); + rule__StringEnumeration__Group__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__StringEnumeration__Group__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__StringEnumeration__Group__0" + + + // $ANTLR start "rule__StringEnumeration__Group__0__Impl" + // InternalApplicationConfiguration.g:7982:1: rule__StringEnumeration__Group__0__Impl : ( () ) ; + public final void rule__StringEnumeration__Group__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:7986:1: ( ( () ) ) + // InternalApplicationConfiguration.g:7987:1: ( () ) + { + // InternalApplicationConfiguration.g:7987:1: ( () ) + // InternalApplicationConfiguration.g:7988:2: () + { + before(grammarAccess.getStringEnumerationAccess().getStringEnumerationAction_0()); + // InternalApplicationConfiguration.g:7989:2: () + // InternalApplicationConfiguration.g:7989:3: + { + } + + after(grammarAccess.getStringEnumerationAccess().getStringEnumerationAction_0()); + + } + + + } + + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__StringEnumeration__Group__0__Impl" + + + // $ANTLR start "rule__StringEnumeration__Group__1" + // InternalApplicationConfiguration.g:7997:1: rule__StringEnumeration__Group__1 : rule__StringEnumeration__Group__1__Impl rule__StringEnumeration__Group__2 ; + public final void rule__StringEnumeration__Group__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:8001:1: ( rule__StringEnumeration__Group__1__Impl rule__StringEnumeration__Group__2 ) + // InternalApplicationConfiguration.g:8002:2: rule__StringEnumeration__Group__1__Impl rule__StringEnumeration__Group__2 + { + pushFollow(FOLLOW_43); + rule__StringEnumeration__Group__1__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__StringEnumeration__Group__2(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__StringEnumeration__Group__1" + + + // $ANTLR start "rule__StringEnumeration__Group__1__Impl" + // InternalApplicationConfiguration.g:8009:1: rule__StringEnumeration__Group__1__Impl : ( '{' ) ; + public final void rule__StringEnumeration__Group__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:8013:1: ( ( '{' ) ) + // InternalApplicationConfiguration.g:8014:1: ( '{' ) + { + // InternalApplicationConfiguration.g:8014:1: ( '{' ) + // InternalApplicationConfiguration.g:8015:2: '{' + { + before(grammarAccess.getStringEnumerationAccess().getLeftCurlyBracketKeyword_1()); + match(input,29,FOLLOW_2); + after(grammarAccess.getStringEnumerationAccess().getLeftCurlyBracketKeyword_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__StringEnumeration__Group__1__Impl" + + + // $ANTLR start "rule__StringEnumeration__Group__2" + // InternalApplicationConfiguration.g:8024:1: rule__StringEnumeration__Group__2 : rule__StringEnumeration__Group__2__Impl rule__StringEnumeration__Group__3 ; + public final void rule__StringEnumeration__Group__2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:8028:1: ( rule__StringEnumeration__Group__2__Impl rule__StringEnumeration__Group__3 ) + // InternalApplicationConfiguration.g:8029:2: rule__StringEnumeration__Group__2__Impl rule__StringEnumeration__Group__3 + { + pushFollow(FOLLOW_43); + rule__StringEnumeration__Group__2__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__StringEnumeration__Group__3(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__StringEnumeration__Group__2" + + + // $ANTLR start "rule__StringEnumeration__Group__2__Impl" + // InternalApplicationConfiguration.g:8036:1: rule__StringEnumeration__Group__2__Impl : ( ( rule__StringEnumeration__Group_2__0 )? ) ; + public final void rule__StringEnumeration__Group__2__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:8040:1: ( ( ( rule__StringEnumeration__Group_2__0 )? ) ) + // InternalApplicationConfiguration.g:8041:1: ( ( rule__StringEnumeration__Group_2__0 )? ) + { + // InternalApplicationConfiguration.g:8041:1: ( ( rule__StringEnumeration__Group_2__0 )? ) + // InternalApplicationConfiguration.g:8042:2: ( rule__StringEnumeration__Group_2__0 )? + { + before(grammarAccess.getStringEnumerationAccess().getGroup_2()); + // InternalApplicationConfiguration.g:8043:2: ( rule__StringEnumeration__Group_2__0 )? + int alt60=2; + int LA60_0 = input.LA(1); + + if ( (LA60_0==RULE_STRING) ) { + alt60=1; + } + switch (alt60) { + case 1 : + // InternalApplicationConfiguration.g:8043:3: rule__StringEnumeration__Group_2__0 + { + pushFollow(FOLLOW_2); + rule__StringEnumeration__Group_2__0(); + + state._fsp--; + + + } + break; + + } + + after(grammarAccess.getStringEnumerationAccess().getGroup_2()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__StringEnumeration__Group__2__Impl" + + + // $ANTLR start "rule__StringEnumeration__Group__3" + // InternalApplicationConfiguration.g:8051:1: rule__StringEnumeration__Group__3 : rule__StringEnumeration__Group__3__Impl ; + public final void rule__StringEnumeration__Group__3() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:8055:1: ( rule__StringEnumeration__Group__3__Impl ) + // InternalApplicationConfiguration.g:8056:2: rule__StringEnumeration__Group__3__Impl + { + pushFollow(FOLLOW_2); + rule__StringEnumeration__Group__3__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__StringEnumeration__Group__3" + + + // $ANTLR start "rule__StringEnumeration__Group__3__Impl" + // InternalApplicationConfiguration.g:8062:1: rule__StringEnumeration__Group__3__Impl : ( '}' ) ; + public final void rule__StringEnumeration__Group__3__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:8066:1: ( ( '}' ) ) + // InternalApplicationConfiguration.g:8067:1: ( '}' ) + { + // InternalApplicationConfiguration.g:8067:1: ( '}' ) + // InternalApplicationConfiguration.g:8068:2: '}' + { + before(grammarAccess.getStringEnumerationAccess().getRightCurlyBracketKeyword_3()); + match(input,30,FOLLOW_2); + after(grammarAccess.getStringEnumerationAccess().getRightCurlyBracketKeyword_3()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__StringEnumeration__Group__3__Impl" + + + // $ANTLR start "rule__StringEnumeration__Group_2__0" + // InternalApplicationConfiguration.g:8078:1: rule__StringEnumeration__Group_2__0 : rule__StringEnumeration__Group_2__0__Impl rule__StringEnumeration__Group_2__1 ; + public final void rule__StringEnumeration__Group_2__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:8082:1: ( rule__StringEnumeration__Group_2__0__Impl rule__StringEnumeration__Group_2__1 ) + // InternalApplicationConfiguration.g:8083:2: rule__StringEnumeration__Group_2__0__Impl rule__StringEnumeration__Group_2__1 + { + pushFollow(FOLLOW_27); + rule__StringEnumeration__Group_2__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__StringEnumeration__Group_2__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__StringEnumeration__Group_2__0" + + + // $ANTLR start "rule__StringEnumeration__Group_2__0__Impl" + // InternalApplicationConfiguration.g:8090:1: rule__StringEnumeration__Group_2__0__Impl : ( ( rule__StringEnumeration__EntryAssignment_2_0 ) ) ; + public final void rule__StringEnumeration__Group_2__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:8094:1: ( ( ( rule__StringEnumeration__EntryAssignment_2_0 ) ) ) + // InternalApplicationConfiguration.g:8095:1: ( ( rule__StringEnumeration__EntryAssignment_2_0 ) ) + { + // InternalApplicationConfiguration.g:8095:1: ( ( rule__StringEnumeration__EntryAssignment_2_0 ) ) + // InternalApplicationConfiguration.g:8096:2: ( rule__StringEnumeration__EntryAssignment_2_0 ) + { + before(grammarAccess.getStringEnumerationAccess().getEntryAssignment_2_0()); + // InternalApplicationConfiguration.g:8097:2: ( rule__StringEnumeration__EntryAssignment_2_0 ) + // InternalApplicationConfiguration.g:8097:3: rule__StringEnumeration__EntryAssignment_2_0 + { + pushFollow(FOLLOW_2); + rule__StringEnumeration__EntryAssignment_2_0(); + + state._fsp--; + + + } + + after(grammarAccess.getStringEnumerationAccess().getEntryAssignment_2_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__StringEnumeration__Group_2__0__Impl" + + + // $ANTLR start "rule__StringEnumeration__Group_2__1" + // InternalApplicationConfiguration.g:8105:1: rule__StringEnumeration__Group_2__1 : rule__StringEnumeration__Group_2__1__Impl ; + public final void rule__StringEnumeration__Group_2__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:8109:1: ( rule__StringEnumeration__Group_2__1__Impl ) + // InternalApplicationConfiguration.g:8110:2: rule__StringEnumeration__Group_2__1__Impl + { + pushFollow(FOLLOW_2); + rule__StringEnumeration__Group_2__1__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__StringEnumeration__Group_2__1" + + + // $ANTLR start "rule__StringEnumeration__Group_2__1__Impl" + // InternalApplicationConfiguration.g:8116:1: rule__StringEnumeration__Group_2__1__Impl : ( ( rule__StringEnumeration__Group_2_1__0 )* ) ; + public final void rule__StringEnumeration__Group_2__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:8120:1: ( ( ( rule__StringEnumeration__Group_2_1__0 )* ) ) + // InternalApplicationConfiguration.g:8121:1: ( ( rule__StringEnumeration__Group_2_1__0 )* ) + { + // InternalApplicationConfiguration.g:8121:1: ( ( rule__StringEnumeration__Group_2_1__0 )* ) + // InternalApplicationConfiguration.g:8122:2: ( rule__StringEnumeration__Group_2_1__0 )* + { + before(grammarAccess.getStringEnumerationAccess().getGroup_2_1()); + // InternalApplicationConfiguration.g:8123:2: ( rule__StringEnumeration__Group_2_1__0 )* + loop61: + do { + int alt61=2; + int LA61_0 = input.LA(1); + + if ( (LA61_0==31) ) { + alt61=1; + } + + + switch (alt61) { + case 1 : + // InternalApplicationConfiguration.g:8123:3: rule__StringEnumeration__Group_2_1__0 + { + pushFollow(FOLLOW_17); + rule__StringEnumeration__Group_2_1__0(); + + state._fsp--; + + + } + break; + + default : + break loop61; + } + } while (true); + + after(grammarAccess.getStringEnumerationAccess().getGroup_2_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__StringEnumeration__Group_2__1__Impl" + + + // $ANTLR start "rule__StringEnumeration__Group_2_1__0" + // InternalApplicationConfiguration.g:8132:1: rule__StringEnumeration__Group_2_1__0 : rule__StringEnumeration__Group_2_1__0__Impl rule__StringEnumeration__Group_2_1__1 ; + public final void rule__StringEnumeration__Group_2_1__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:8136:1: ( rule__StringEnumeration__Group_2_1__0__Impl rule__StringEnumeration__Group_2_1__1 ) + // InternalApplicationConfiguration.g:8137:2: rule__StringEnumeration__Group_2_1__0__Impl rule__StringEnumeration__Group_2_1__1 + { + pushFollow(FOLLOW_11); + rule__StringEnumeration__Group_2_1__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__StringEnumeration__Group_2_1__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__StringEnumeration__Group_2_1__0" + + + // $ANTLR start "rule__StringEnumeration__Group_2_1__0__Impl" + // InternalApplicationConfiguration.g:8144:1: rule__StringEnumeration__Group_2_1__0__Impl : ( ',' ) ; + public final void rule__StringEnumeration__Group_2_1__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:8148:1: ( ( ',' ) ) + // InternalApplicationConfiguration.g:8149:1: ( ',' ) + { + // InternalApplicationConfiguration.g:8149:1: ( ',' ) + // InternalApplicationConfiguration.g:8150:2: ',' + { + before(grammarAccess.getStringEnumerationAccess().getCommaKeyword_2_1_0()); + match(input,31,FOLLOW_2); + after(grammarAccess.getStringEnumerationAccess().getCommaKeyword_2_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__StringEnumeration__Group_2_1__0__Impl" + + + // $ANTLR start "rule__StringEnumeration__Group_2_1__1" + // InternalApplicationConfiguration.g:8159:1: rule__StringEnumeration__Group_2_1__1 : rule__StringEnumeration__Group_2_1__1__Impl ; + public final void rule__StringEnumeration__Group_2_1__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:8163:1: ( rule__StringEnumeration__Group_2_1__1__Impl ) + // InternalApplicationConfiguration.g:8164:2: rule__StringEnumeration__Group_2_1__1__Impl + { + pushFollow(FOLLOW_2); + rule__StringEnumeration__Group_2_1__1__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__StringEnumeration__Group_2_1__1" + + + // $ANTLR start "rule__StringEnumeration__Group_2_1__1__Impl" + // InternalApplicationConfiguration.g:8170:1: rule__StringEnumeration__Group_2_1__1__Impl : ( ( rule__StringEnumeration__EntryAssignment_2_1_1 ) ) ; + public final void rule__StringEnumeration__Group_2_1__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:8174:1: ( ( ( rule__StringEnumeration__EntryAssignment_2_1_1 ) ) ) + // InternalApplicationConfiguration.g:8175:1: ( ( rule__StringEnumeration__EntryAssignment_2_1_1 ) ) + { + // InternalApplicationConfiguration.g:8175:1: ( ( rule__StringEnumeration__EntryAssignment_2_1_1 ) ) + // InternalApplicationConfiguration.g:8176:2: ( rule__StringEnumeration__EntryAssignment_2_1_1 ) + { + before(grammarAccess.getStringEnumerationAccess().getEntryAssignment_2_1_1()); + // InternalApplicationConfiguration.g:8177:2: ( rule__StringEnumeration__EntryAssignment_2_1_1 ) + // InternalApplicationConfiguration.g:8177:3: rule__StringEnumeration__EntryAssignment_2_1_1 + { + pushFollow(FOLLOW_2); + rule__StringEnumeration__EntryAssignment_2_1_1(); + + state._fsp--; + + + } + + after(grammarAccess.getStringEnumerationAccess().getEntryAssignment_2_1_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__StringEnumeration__Group_2_1__1__Impl" + + + // $ANTLR start "rule__ScopeDeclaration__Group__0" + // InternalApplicationConfiguration.g:8186:1: rule__ScopeDeclaration__Group__0 : rule__ScopeDeclaration__Group__0__Impl rule__ScopeDeclaration__Group__1 ; + public final void rule__ScopeDeclaration__Group__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:8190:1: ( rule__ScopeDeclaration__Group__0__Impl rule__ScopeDeclaration__Group__1 ) + // InternalApplicationConfiguration.g:8191:2: rule__ScopeDeclaration__Group__0__Impl rule__ScopeDeclaration__Group__1 + { + pushFollow(FOLLOW_8); + rule__ScopeDeclaration__Group__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__ScopeDeclaration__Group__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ScopeDeclaration__Group__0" + + + // $ANTLR start "rule__ScopeDeclaration__Group__0__Impl" + // InternalApplicationConfiguration.g:8198:1: rule__ScopeDeclaration__Group__0__Impl : ( 'scope' ) ; + public final void rule__ScopeDeclaration__Group__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:8202:1: ( ( 'scope' ) ) + // InternalApplicationConfiguration.g:8203:1: ( 'scope' ) + { + // InternalApplicationConfiguration.g:8203:1: ( 'scope' ) + // InternalApplicationConfiguration.g:8204:2: 'scope' + { + before(grammarAccess.getScopeDeclarationAccess().getScopeKeyword_0()); + match(input,52,FOLLOW_2); + after(grammarAccess.getScopeDeclarationAccess().getScopeKeyword_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ScopeDeclaration__Group__0__Impl" + + + // $ANTLR start "rule__ScopeDeclaration__Group__1" + // InternalApplicationConfiguration.g:8213:1: rule__ScopeDeclaration__Group__1 : rule__ScopeDeclaration__Group__1__Impl rule__ScopeDeclaration__Group__2 ; + public final void rule__ScopeDeclaration__Group__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:8217:1: ( rule__ScopeDeclaration__Group__1__Impl rule__ScopeDeclaration__Group__2 ) + // InternalApplicationConfiguration.g:8218:2: rule__ScopeDeclaration__Group__1__Impl rule__ScopeDeclaration__Group__2 + { + pushFollow(FOLLOW_19); + rule__ScopeDeclaration__Group__1__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__ScopeDeclaration__Group__2(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ScopeDeclaration__Group__1" + + + // $ANTLR start "rule__ScopeDeclaration__Group__1__Impl" + // InternalApplicationConfiguration.g:8225:1: rule__ScopeDeclaration__Group__1__Impl : ( ( rule__ScopeDeclaration__NameAssignment_1 ) ) ; + public final void rule__ScopeDeclaration__Group__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:8229:1: ( ( ( rule__ScopeDeclaration__NameAssignment_1 ) ) ) + // InternalApplicationConfiguration.g:8230:1: ( ( rule__ScopeDeclaration__NameAssignment_1 ) ) + { + // InternalApplicationConfiguration.g:8230:1: ( ( rule__ScopeDeclaration__NameAssignment_1 ) ) + // InternalApplicationConfiguration.g:8231:2: ( rule__ScopeDeclaration__NameAssignment_1 ) + { + before(grammarAccess.getScopeDeclarationAccess().getNameAssignment_1()); + // InternalApplicationConfiguration.g:8232:2: ( rule__ScopeDeclaration__NameAssignment_1 ) + // InternalApplicationConfiguration.g:8232:3: rule__ScopeDeclaration__NameAssignment_1 + { + pushFollow(FOLLOW_2); + rule__ScopeDeclaration__NameAssignment_1(); + + state._fsp--; + + + } + + after(grammarAccess.getScopeDeclarationAccess().getNameAssignment_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ScopeDeclaration__Group__1__Impl" + + + // $ANTLR start "rule__ScopeDeclaration__Group__2" + // InternalApplicationConfiguration.g:8240:1: rule__ScopeDeclaration__Group__2 : rule__ScopeDeclaration__Group__2__Impl ; + public final void rule__ScopeDeclaration__Group__2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:8244:1: ( rule__ScopeDeclaration__Group__2__Impl ) + // InternalApplicationConfiguration.g:8245:2: rule__ScopeDeclaration__Group__2__Impl + { + pushFollow(FOLLOW_2); + rule__ScopeDeclaration__Group__2__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ScopeDeclaration__Group__2" + + + // $ANTLR start "rule__ScopeDeclaration__Group__2__Impl" + // InternalApplicationConfiguration.g:8251:1: rule__ScopeDeclaration__Group__2__Impl : ( ( rule__ScopeDeclaration__SpecificationAssignment_2 ) ) ; + public final void rule__ScopeDeclaration__Group__2__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:8255:1: ( ( ( rule__ScopeDeclaration__SpecificationAssignment_2 ) ) ) + // InternalApplicationConfiguration.g:8256:1: ( ( rule__ScopeDeclaration__SpecificationAssignment_2 ) ) + { + // InternalApplicationConfiguration.g:8256:1: ( ( rule__ScopeDeclaration__SpecificationAssignment_2 ) ) + // InternalApplicationConfiguration.g:8257:2: ( rule__ScopeDeclaration__SpecificationAssignment_2 ) + { + before(grammarAccess.getScopeDeclarationAccess().getSpecificationAssignment_2()); + // InternalApplicationConfiguration.g:8258:2: ( rule__ScopeDeclaration__SpecificationAssignment_2 ) + // InternalApplicationConfiguration.g:8258:3: rule__ScopeDeclaration__SpecificationAssignment_2 + { + pushFollow(FOLLOW_2); + rule__ScopeDeclaration__SpecificationAssignment_2(); + + state._fsp--; + + + } + + after(grammarAccess.getScopeDeclarationAccess().getSpecificationAssignment_2()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ScopeDeclaration__Group__2__Impl" + + + // $ANTLR start "rule__GenerationTask__Group__0" + // InternalApplicationConfiguration.g:8267:1: rule__GenerationTask__Group__0 : rule__GenerationTask__Group__0__Impl rule__GenerationTask__Group__1 ; + public final void rule__GenerationTask__Group__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:8271:1: ( rule__GenerationTask__Group__0__Impl rule__GenerationTask__Group__1 ) + // InternalApplicationConfiguration.g:8272:2: rule__GenerationTask__Group__0__Impl rule__GenerationTask__Group__1 + { + pushFollow(FOLLOW_19); + rule__GenerationTask__Group__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__GenerationTask__Group__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__GenerationTask__Group__0" + + + // $ANTLR start "rule__GenerationTask__Group__0__Impl" + // InternalApplicationConfiguration.g:8279:1: rule__GenerationTask__Group__0__Impl : ( 'generate' ) ; + public final void rule__GenerationTask__Group__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:8283:1: ( ( 'generate' ) ) + // InternalApplicationConfiguration.g:8284:1: ( 'generate' ) + { + // InternalApplicationConfiguration.g:8284:1: ( 'generate' ) + // InternalApplicationConfiguration.g:8285:2: 'generate' + { + before(grammarAccess.getGenerationTaskAccess().getGenerateKeyword_0()); + match(input,53,FOLLOW_2); + after(grammarAccess.getGenerationTaskAccess().getGenerateKeyword_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__GenerationTask__Group__0__Impl" + + + // $ANTLR start "rule__GenerationTask__Group__1" + // InternalApplicationConfiguration.g:8294:1: rule__GenerationTask__Group__1 : rule__GenerationTask__Group__1__Impl rule__GenerationTask__Group__2 ; + public final void rule__GenerationTask__Group__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:8298:1: ( rule__GenerationTask__Group__1__Impl rule__GenerationTask__Group__2 ) + // InternalApplicationConfiguration.g:8299:2: rule__GenerationTask__Group__1__Impl rule__GenerationTask__Group__2 + { + pushFollow(FOLLOW_19); + rule__GenerationTask__Group__1__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__GenerationTask__Group__2(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__GenerationTask__Group__1" + + + // $ANTLR start "rule__GenerationTask__Group__1__Impl" + // InternalApplicationConfiguration.g:8306:1: rule__GenerationTask__Group__1__Impl : ( () ) ; + public final void rule__GenerationTask__Group__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:8310:1: ( ( () ) ) + // InternalApplicationConfiguration.g:8311:1: ( () ) + { + // InternalApplicationConfiguration.g:8311:1: ( () ) + // InternalApplicationConfiguration.g:8312:2: () + { + before(grammarAccess.getGenerationTaskAccess().getGenerationTaskAction_1()); + // InternalApplicationConfiguration.g:8313:2: () + // InternalApplicationConfiguration.g:8313:3: + { + } + + after(grammarAccess.getGenerationTaskAccess().getGenerationTaskAction_1()); + + } + + + } + + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__GenerationTask__Group__1__Impl" + + + // $ANTLR start "rule__GenerationTask__Group__2" + // InternalApplicationConfiguration.g:8321:1: rule__GenerationTask__Group__2 : rule__GenerationTask__Group__2__Impl rule__GenerationTask__Group__3 ; + public final void rule__GenerationTask__Group__2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:8325:1: ( rule__GenerationTask__Group__2__Impl rule__GenerationTask__Group__3 ) + // InternalApplicationConfiguration.g:8326:2: rule__GenerationTask__Group__2__Impl rule__GenerationTask__Group__3 + { + pushFollow(FOLLOW_44); + rule__GenerationTask__Group__2__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__GenerationTask__Group__3(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__GenerationTask__Group__2" + + + // $ANTLR start "rule__GenerationTask__Group__2__Impl" + // InternalApplicationConfiguration.g:8333:1: rule__GenerationTask__Group__2__Impl : ( '{' ) ; + public final void rule__GenerationTask__Group__2__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:8337:1: ( ( '{' ) ) + // InternalApplicationConfiguration.g:8338:1: ( '{' ) + { + // InternalApplicationConfiguration.g:8338:1: ( '{' ) + // InternalApplicationConfiguration.g:8339:2: '{' + { + before(grammarAccess.getGenerationTaskAccess().getLeftCurlyBracketKeyword_2()); + match(input,29,FOLLOW_2); + after(grammarAccess.getGenerationTaskAccess().getLeftCurlyBracketKeyword_2()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__GenerationTask__Group__2__Impl" + + + // $ANTLR start "rule__GenerationTask__Group__3" + // InternalApplicationConfiguration.g:8348:1: rule__GenerationTask__Group__3 : rule__GenerationTask__Group__3__Impl rule__GenerationTask__Group__4 ; + public final void rule__GenerationTask__Group__3() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:8352:1: ( rule__GenerationTask__Group__3__Impl rule__GenerationTask__Group__4 ) + // InternalApplicationConfiguration.g:8353:2: rule__GenerationTask__Group__3__Impl rule__GenerationTask__Group__4 + { + pushFollow(FOLLOW_45); + rule__GenerationTask__Group__3__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__GenerationTask__Group__4(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__GenerationTask__Group__3" + + + // $ANTLR start "rule__GenerationTask__Group__3__Impl" + // InternalApplicationConfiguration.g:8360:1: rule__GenerationTask__Group__3__Impl : ( ( rule__GenerationTask__UnorderedGroup_3 ) ) ; + public final void rule__GenerationTask__Group__3__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:8364:1: ( ( ( rule__GenerationTask__UnorderedGroup_3 ) ) ) + // InternalApplicationConfiguration.g:8365:1: ( ( rule__GenerationTask__UnorderedGroup_3 ) ) + { + // InternalApplicationConfiguration.g:8365:1: ( ( rule__GenerationTask__UnorderedGroup_3 ) ) + // InternalApplicationConfiguration.g:8366:2: ( rule__GenerationTask__UnorderedGroup_3 ) + { + before(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); + // InternalApplicationConfiguration.g:8367:2: ( rule__GenerationTask__UnorderedGroup_3 ) + // InternalApplicationConfiguration.g:8367:3: rule__GenerationTask__UnorderedGroup_3 + { + pushFollow(FOLLOW_2); + rule__GenerationTask__UnorderedGroup_3(); + + state._fsp--; + + + } + + after(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__GenerationTask__Group__3__Impl" + + + // $ANTLR start "rule__GenerationTask__Group__4" + // InternalApplicationConfiguration.g:8375:1: rule__GenerationTask__Group__4 : rule__GenerationTask__Group__4__Impl ; + public final void rule__GenerationTask__Group__4() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:8379:1: ( rule__GenerationTask__Group__4__Impl ) + // InternalApplicationConfiguration.g:8380:2: rule__GenerationTask__Group__4__Impl + { + pushFollow(FOLLOW_2); + rule__GenerationTask__Group__4__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__GenerationTask__Group__4" + + + // $ANTLR start "rule__GenerationTask__Group__4__Impl" + // InternalApplicationConfiguration.g:8386:1: rule__GenerationTask__Group__4__Impl : ( '}' ) ; + public final void rule__GenerationTask__Group__4__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:8390:1: ( ( '}' ) ) + // InternalApplicationConfiguration.g:8391:1: ( '}' ) + { + // InternalApplicationConfiguration.g:8391:1: ( '}' ) + // InternalApplicationConfiguration.g:8392:2: '}' + { + before(grammarAccess.getGenerationTaskAccess().getRightCurlyBracketKeyword_4()); + match(input,30,FOLLOW_2); + after(grammarAccess.getGenerationTaskAccess().getRightCurlyBracketKeyword_4()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__GenerationTask__Group__4__Impl" + + + // $ANTLR start "rule__GenerationTask__Group_3_0__0" + // InternalApplicationConfiguration.g:8402:1: rule__GenerationTask__Group_3_0__0 : rule__GenerationTask__Group_3_0__0__Impl rule__GenerationTask__Group_3_0__1 ; + public final void rule__GenerationTask__Group_3_0__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:8406:1: ( rule__GenerationTask__Group_3_0__0__Impl rule__GenerationTask__Group_3_0__1 ) + // InternalApplicationConfiguration.g:8407:2: rule__GenerationTask__Group_3_0__0__Impl rule__GenerationTask__Group_3_0__1 + { + pushFollow(FOLLOW_14); + rule__GenerationTask__Group_3_0__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__GenerationTask__Group_3_0__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__GenerationTask__Group_3_0__0" + + + // $ANTLR start "rule__GenerationTask__Group_3_0__0__Impl" + // InternalApplicationConfiguration.g:8414:1: rule__GenerationTask__Group_3_0__0__Impl : ( 'metamodel' ) ; + public final void rule__GenerationTask__Group_3_0__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:8418:1: ( ( 'metamodel' ) ) + // InternalApplicationConfiguration.g:8419:1: ( 'metamodel' ) + { + // InternalApplicationConfiguration.g:8419:1: ( 'metamodel' ) + // InternalApplicationConfiguration.g:8420:2: 'metamodel' + { + before(grammarAccess.getGenerationTaskAccess().getMetamodelKeyword_3_0_0()); + match(input,35,FOLLOW_2); + after(grammarAccess.getGenerationTaskAccess().getMetamodelKeyword_3_0_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__GenerationTask__Group_3_0__0__Impl" + + + // $ANTLR start "rule__GenerationTask__Group_3_0__1" + // InternalApplicationConfiguration.g:8429:1: rule__GenerationTask__Group_3_0__1 : rule__GenerationTask__Group_3_0__1__Impl rule__GenerationTask__Group_3_0__2 ; + public final void rule__GenerationTask__Group_3_0__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:8433:1: ( rule__GenerationTask__Group_3_0__1__Impl rule__GenerationTask__Group_3_0__2 ) + // InternalApplicationConfiguration.g:8434:2: rule__GenerationTask__Group_3_0__1__Impl rule__GenerationTask__Group_3_0__2 + { + pushFollow(FOLLOW_46); + rule__GenerationTask__Group_3_0__1__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__GenerationTask__Group_3_0__2(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__GenerationTask__Group_3_0__1" + + + // $ANTLR start "rule__GenerationTask__Group_3_0__1__Impl" + // InternalApplicationConfiguration.g:8441:1: rule__GenerationTask__Group_3_0__1__Impl : ( '=' ) ; + public final void rule__GenerationTask__Group_3_0__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:8445:1: ( ( '=' ) ) + // InternalApplicationConfiguration.g:8446:1: ( '=' ) + { + // InternalApplicationConfiguration.g:8446:1: ( '=' ) + // InternalApplicationConfiguration.g:8447:2: '=' + { + before(grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_0_1()); + match(input,28,FOLLOW_2); + after(grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_0_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__GenerationTask__Group_3_0__1__Impl" + + + // $ANTLR start "rule__GenerationTask__Group_3_0__2" + // InternalApplicationConfiguration.g:8456:1: rule__GenerationTask__Group_3_0__2 : rule__GenerationTask__Group_3_0__2__Impl ; + public final void rule__GenerationTask__Group_3_0__2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:8460:1: ( rule__GenerationTask__Group_3_0__2__Impl ) + // InternalApplicationConfiguration.g:8461:2: rule__GenerationTask__Group_3_0__2__Impl + { + pushFollow(FOLLOW_2); + rule__GenerationTask__Group_3_0__2__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__GenerationTask__Group_3_0__2" + + + // $ANTLR start "rule__GenerationTask__Group_3_0__2__Impl" + // InternalApplicationConfiguration.g:8467:1: rule__GenerationTask__Group_3_0__2__Impl : ( ( rule__GenerationTask__MetamodelAssignment_3_0_2 ) ) ; + public final void rule__GenerationTask__Group_3_0__2__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:8471:1: ( ( ( rule__GenerationTask__MetamodelAssignment_3_0_2 ) ) ) + // InternalApplicationConfiguration.g:8472:1: ( ( rule__GenerationTask__MetamodelAssignment_3_0_2 ) ) + { + // InternalApplicationConfiguration.g:8472:1: ( ( rule__GenerationTask__MetamodelAssignment_3_0_2 ) ) + // InternalApplicationConfiguration.g:8473:2: ( rule__GenerationTask__MetamodelAssignment_3_0_2 ) + { + before(grammarAccess.getGenerationTaskAccess().getMetamodelAssignment_3_0_2()); + // InternalApplicationConfiguration.g:8474:2: ( rule__GenerationTask__MetamodelAssignment_3_0_2 ) + // InternalApplicationConfiguration.g:8474:3: rule__GenerationTask__MetamodelAssignment_3_0_2 + { + pushFollow(FOLLOW_2); + rule__GenerationTask__MetamodelAssignment_3_0_2(); + + state._fsp--; + + + } + + after(grammarAccess.getGenerationTaskAccess().getMetamodelAssignment_3_0_2()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__GenerationTask__Group_3_0__2__Impl" + + + // $ANTLR start "rule__GenerationTask__Group_3_1__0" + // InternalApplicationConfiguration.g:8483:1: rule__GenerationTask__Group_3_1__0 : rule__GenerationTask__Group_3_1__0__Impl rule__GenerationTask__Group_3_1__1 ; + public final void rule__GenerationTask__Group_3_1__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:8487:1: ( rule__GenerationTask__Group_3_1__0__Impl rule__GenerationTask__Group_3_1__1 ) + // InternalApplicationConfiguration.g:8488:2: rule__GenerationTask__Group_3_1__0__Impl rule__GenerationTask__Group_3_1__1 + { + pushFollow(FOLLOW_14); + rule__GenerationTask__Group_3_1__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__GenerationTask__Group_3_1__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__GenerationTask__Group_3_1__0" + + + // $ANTLR start "rule__GenerationTask__Group_3_1__0__Impl" + // InternalApplicationConfiguration.g:8495:1: rule__GenerationTask__Group_3_1__0__Impl : ( 'partial-model' ) ; + public final void rule__GenerationTask__Group_3_1__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:8499:1: ( ( 'partial-model' ) ) + // InternalApplicationConfiguration.g:8500:1: ( 'partial-model' ) + { + // InternalApplicationConfiguration.g:8500:1: ( 'partial-model' ) + // InternalApplicationConfiguration.g:8501:2: 'partial-model' + { + before(grammarAccess.getGenerationTaskAccess().getPartialModelKeyword_3_1_0()); + match(input,54,FOLLOW_2); + after(grammarAccess.getGenerationTaskAccess().getPartialModelKeyword_3_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__GenerationTask__Group_3_1__0__Impl" + + + // $ANTLR start "rule__GenerationTask__Group_3_1__1" + // InternalApplicationConfiguration.g:8510:1: rule__GenerationTask__Group_3_1__1 : rule__GenerationTask__Group_3_1__1__Impl rule__GenerationTask__Group_3_1__2 ; + public final void rule__GenerationTask__Group_3_1__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:8514:1: ( rule__GenerationTask__Group_3_1__1__Impl rule__GenerationTask__Group_3_1__2 ) + // InternalApplicationConfiguration.g:8515:2: rule__GenerationTask__Group_3_1__1__Impl rule__GenerationTask__Group_3_1__2 + { + pushFollow(FOLLOW_46); + rule__GenerationTask__Group_3_1__1__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__GenerationTask__Group_3_1__2(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__GenerationTask__Group_3_1__1" + + + // $ANTLR start "rule__GenerationTask__Group_3_1__1__Impl" + // InternalApplicationConfiguration.g:8522:1: rule__GenerationTask__Group_3_1__1__Impl : ( '=' ) ; + public final void rule__GenerationTask__Group_3_1__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:8526:1: ( ( '=' ) ) + // InternalApplicationConfiguration.g:8527:1: ( '=' ) + { + // InternalApplicationConfiguration.g:8527:1: ( '=' ) + // InternalApplicationConfiguration.g:8528:2: '=' + { + before(grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_1_1()); + match(input,28,FOLLOW_2); + after(grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_1_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__GenerationTask__Group_3_1__1__Impl" + + + // $ANTLR start "rule__GenerationTask__Group_3_1__2" + // InternalApplicationConfiguration.g:8537:1: rule__GenerationTask__Group_3_1__2 : rule__GenerationTask__Group_3_1__2__Impl ; + public final void rule__GenerationTask__Group_3_1__2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:8541:1: ( rule__GenerationTask__Group_3_1__2__Impl ) + // InternalApplicationConfiguration.g:8542:2: rule__GenerationTask__Group_3_1__2__Impl + { + pushFollow(FOLLOW_2); + rule__GenerationTask__Group_3_1__2__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__GenerationTask__Group_3_1__2" + + + // $ANTLR start "rule__GenerationTask__Group_3_1__2__Impl" + // InternalApplicationConfiguration.g:8548:1: rule__GenerationTask__Group_3_1__2__Impl : ( ( rule__GenerationTask__PartialModelAssignment_3_1_2 ) ) ; + public final void rule__GenerationTask__Group_3_1__2__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:8552:1: ( ( ( rule__GenerationTask__PartialModelAssignment_3_1_2 ) ) ) + // InternalApplicationConfiguration.g:8553:1: ( ( rule__GenerationTask__PartialModelAssignment_3_1_2 ) ) + { + // InternalApplicationConfiguration.g:8553:1: ( ( rule__GenerationTask__PartialModelAssignment_3_1_2 ) ) + // InternalApplicationConfiguration.g:8554:2: ( rule__GenerationTask__PartialModelAssignment_3_1_2 ) + { + before(grammarAccess.getGenerationTaskAccess().getPartialModelAssignment_3_1_2()); + // InternalApplicationConfiguration.g:8555:2: ( rule__GenerationTask__PartialModelAssignment_3_1_2 ) + // InternalApplicationConfiguration.g:8555:3: rule__GenerationTask__PartialModelAssignment_3_1_2 + { + pushFollow(FOLLOW_2); + rule__GenerationTask__PartialModelAssignment_3_1_2(); + + state._fsp--; + + + } + + after(grammarAccess.getGenerationTaskAccess().getPartialModelAssignment_3_1_2()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__GenerationTask__Group_3_1__2__Impl" + + + // $ANTLR start "rule__GenerationTask__Group_3_2__0" + // InternalApplicationConfiguration.g:8564:1: rule__GenerationTask__Group_3_2__0 : rule__GenerationTask__Group_3_2__0__Impl rule__GenerationTask__Group_3_2__1 ; + public final void rule__GenerationTask__Group_3_2__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:8568:1: ( rule__GenerationTask__Group_3_2__0__Impl rule__GenerationTask__Group_3_2__1 ) + // InternalApplicationConfiguration.g:8569:2: rule__GenerationTask__Group_3_2__0__Impl rule__GenerationTask__Group_3_2__1 + { + pushFollow(FOLLOW_14); + rule__GenerationTask__Group_3_2__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__GenerationTask__Group_3_2__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__GenerationTask__Group_3_2__0" + + + // $ANTLR start "rule__GenerationTask__Group_3_2__0__Impl" + // InternalApplicationConfiguration.g:8576:1: rule__GenerationTask__Group_3_2__0__Impl : ( 'constraints' ) ; + public final void rule__GenerationTask__Group_3_2__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:8580:1: ( ( 'constraints' ) ) + // InternalApplicationConfiguration.g:8581:1: ( 'constraints' ) + { + // InternalApplicationConfiguration.g:8581:1: ( 'constraints' ) + // InternalApplicationConfiguration.g:8582:2: 'constraints' + { + before(grammarAccess.getGenerationTaskAccess().getConstraintsKeyword_3_2_0()); + match(input,38,FOLLOW_2); + after(grammarAccess.getGenerationTaskAccess().getConstraintsKeyword_3_2_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__GenerationTask__Group_3_2__0__Impl" + + + // $ANTLR start "rule__GenerationTask__Group_3_2__1" + // InternalApplicationConfiguration.g:8591:1: rule__GenerationTask__Group_3_2__1 : rule__GenerationTask__Group_3_2__1__Impl rule__GenerationTask__Group_3_2__2 ; + public final void rule__GenerationTask__Group_3_2__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:8595:1: ( rule__GenerationTask__Group_3_2__1__Impl rule__GenerationTask__Group_3_2__2 ) + // InternalApplicationConfiguration.g:8596:2: rule__GenerationTask__Group_3_2__1__Impl rule__GenerationTask__Group_3_2__2 + { + pushFollow(FOLLOW_46); + rule__GenerationTask__Group_3_2__1__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__GenerationTask__Group_3_2__2(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__GenerationTask__Group_3_2__1" + + + // $ANTLR start "rule__GenerationTask__Group_3_2__1__Impl" + // InternalApplicationConfiguration.g:8603:1: rule__GenerationTask__Group_3_2__1__Impl : ( '=' ) ; + public final void rule__GenerationTask__Group_3_2__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:8607:1: ( ( '=' ) ) + // InternalApplicationConfiguration.g:8608:1: ( '=' ) + { + // InternalApplicationConfiguration.g:8608:1: ( '=' ) + // InternalApplicationConfiguration.g:8609:2: '=' + { + before(grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_2_1()); + match(input,28,FOLLOW_2); + after(grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_2_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__GenerationTask__Group_3_2__1__Impl" + + + // $ANTLR start "rule__GenerationTask__Group_3_2__2" + // InternalApplicationConfiguration.g:8618:1: rule__GenerationTask__Group_3_2__2 : rule__GenerationTask__Group_3_2__2__Impl ; + public final void rule__GenerationTask__Group_3_2__2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:8622:1: ( rule__GenerationTask__Group_3_2__2__Impl ) + // InternalApplicationConfiguration.g:8623:2: rule__GenerationTask__Group_3_2__2__Impl + { + pushFollow(FOLLOW_2); + rule__GenerationTask__Group_3_2__2__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__GenerationTask__Group_3_2__2" + + + // $ANTLR start "rule__GenerationTask__Group_3_2__2__Impl" + // InternalApplicationConfiguration.g:8629:1: rule__GenerationTask__Group_3_2__2__Impl : ( ( rule__GenerationTask__PatternsAssignment_3_2_2 ) ) ; + public final void rule__GenerationTask__Group_3_2__2__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:8633:1: ( ( ( rule__GenerationTask__PatternsAssignment_3_2_2 ) ) ) + // InternalApplicationConfiguration.g:8634:1: ( ( rule__GenerationTask__PatternsAssignment_3_2_2 ) ) + { + // InternalApplicationConfiguration.g:8634:1: ( ( rule__GenerationTask__PatternsAssignment_3_2_2 ) ) + // InternalApplicationConfiguration.g:8635:2: ( rule__GenerationTask__PatternsAssignment_3_2_2 ) + { + before(grammarAccess.getGenerationTaskAccess().getPatternsAssignment_3_2_2()); + // InternalApplicationConfiguration.g:8636:2: ( rule__GenerationTask__PatternsAssignment_3_2_2 ) + // InternalApplicationConfiguration.g:8636:3: rule__GenerationTask__PatternsAssignment_3_2_2 + { + pushFollow(FOLLOW_2); + rule__GenerationTask__PatternsAssignment_3_2_2(); + + state._fsp--; + + + } + + after(grammarAccess.getGenerationTaskAccess().getPatternsAssignment_3_2_2()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__GenerationTask__Group_3_2__2__Impl" + + + // $ANTLR start "rule__GenerationTask__Group_3_3__0" + // InternalApplicationConfiguration.g:8645:1: rule__GenerationTask__Group_3_3__0 : rule__GenerationTask__Group_3_3__0__Impl rule__GenerationTask__Group_3_3__1 ; + public final void rule__GenerationTask__Group_3_3__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:8649:1: ( rule__GenerationTask__Group_3_3__0__Impl rule__GenerationTask__Group_3_3__1 ) + // InternalApplicationConfiguration.g:8650:2: rule__GenerationTask__Group_3_3__0__Impl rule__GenerationTask__Group_3_3__1 + { + pushFollow(FOLLOW_14); + rule__GenerationTask__Group_3_3__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__GenerationTask__Group_3_3__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__GenerationTask__Group_3_3__0" + + + // $ANTLR start "rule__GenerationTask__Group_3_3__0__Impl" + // InternalApplicationConfiguration.g:8657:1: rule__GenerationTask__Group_3_3__0__Impl : ( 'objectives' ) ; + public final void rule__GenerationTask__Group_3_3__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:8661:1: ( ( 'objectives' ) ) + // InternalApplicationConfiguration.g:8662:1: ( 'objectives' ) + { + // InternalApplicationConfiguration.g:8662:1: ( 'objectives' ) + // InternalApplicationConfiguration.g:8663:2: 'objectives' + { + before(grammarAccess.getGenerationTaskAccess().getObjectivesKeyword_3_3_0()); + match(input,39,FOLLOW_2); + after(grammarAccess.getGenerationTaskAccess().getObjectivesKeyword_3_3_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__GenerationTask__Group_3_3__0__Impl" + + + // $ANTLR start "rule__GenerationTask__Group_3_3__1" + // InternalApplicationConfiguration.g:8672:1: rule__GenerationTask__Group_3_3__1 : rule__GenerationTask__Group_3_3__1__Impl rule__GenerationTask__Group_3_3__2 ; + public final void rule__GenerationTask__Group_3_3__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:8676:1: ( rule__GenerationTask__Group_3_3__1__Impl rule__GenerationTask__Group_3_3__2 ) + // InternalApplicationConfiguration.g:8677:2: rule__GenerationTask__Group_3_3__1__Impl rule__GenerationTask__Group_3_3__2 + { + pushFollow(FOLLOW_46); + rule__GenerationTask__Group_3_3__1__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__GenerationTask__Group_3_3__2(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__GenerationTask__Group_3_3__1" + + + // $ANTLR start "rule__GenerationTask__Group_3_3__1__Impl" + // InternalApplicationConfiguration.g:8684:1: rule__GenerationTask__Group_3_3__1__Impl : ( '=' ) ; + public final void rule__GenerationTask__Group_3_3__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:8688:1: ( ( '=' ) ) + // InternalApplicationConfiguration.g:8689:1: ( '=' ) + { + // InternalApplicationConfiguration.g:8689:1: ( '=' ) + // InternalApplicationConfiguration.g:8690:2: '=' + { + before(grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_3_1()); + match(input,28,FOLLOW_2); + after(grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_3_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__GenerationTask__Group_3_3__1__Impl" + + + // $ANTLR start "rule__GenerationTask__Group_3_3__2" + // InternalApplicationConfiguration.g:8699:1: rule__GenerationTask__Group_3_3__2 : rule__GenerationTask__Group_3_3__2__Impl ; + public final void rule__GenerationTask__Group_3_3__2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:8703:1: ( rule__GenerationTask__Group_3_3__2__Impl ) + // InternalApplicationConfiguration.g:8704:2: rule__GenerationTask__Group_3_3__2__Impl + { + pushFollow(FOLLOW_2); + rule__GenerationTask__Group_3_3__2__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__GenerationTask__Group_3_3__2" + + + // $ANTLR start "rule__GenerationTask__Group_3_3__2__Impl" + // InternalApplicationConfiguration.g:8710:1: rule__GenerationTask__Group_3_3__2__Impl : ( ( rule__GenerationTask__ObjectivesAssignment_3_3_2 ) ) ; + public final void rule__GenerationTask__Group_3_3__2__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:8714:1: ( ( ( rule__GenerationTask__ObjectivesAssignment_3_3_2 ) ) ) + // InternalApplicationConfiguration.g:8715:1: ( ( rule__GenerationTask__ObjectivesAssignment_3_3_2 ) ) + { + // InternalApplicationConfiguration.g:8715:1: ( ( rule__GenerationTask__ObjectivesAssignment_3_3_2 ) ) + // InternalApplicationConfiguration.g:8716:2: ( rule__GenerationTask__ObjectivesAssignment_3_3_2 ) + { + before(grammarAccess.getGenerationTaskAccess().getObjectivesAssignment_3_3_2()); + // InternalApplicationConfiguration.g:8717:2: ( rule__GenerationTask__ObjectivesAssignment_3_3_2 ) + // InternalApplicationConfiguration.g:8717:3: rule__GenerationTask__ObjectivesAssignment_3_3_2 + { + pushFollow(FOLLOW_2); + rule__GenerationTask__ObjectivesAssignment_3_3_2(); + + state._fsp--; + + + } + + after(grammarAccess.getGenerationTaskAccess().getObjectivesAssignment_3_3_2()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__GenerationTask__Group_3_3__2__Impl" + + + // $ANTLR start "rule__GenerationTask__Group_3_4__0" + // InternalApplicationConfiguration.g:8726:1: rule__GenerationTask__Group_3_4__0 : rule__GenerationTask__Group_3_4__0__Impl rule__GenerationTask__Group_3_4__1 ; + public final void rule__GenerationTask__Group_3_4__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:8730:1: ( rule__GenerationTask__Group_3_4__0__Impl rule__GenerationTask__Group_3_4__1 ) + // InternalApplicationConfiguration.g:8731:2: rule__GenerationTask__Group_3_4__0__Impl rule__GenerationTask__Group_3_4__1 + { + pushFollow(FOLLOW_14); + rule__GenerationTask__Group_3_4__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__GenerationTask__Group_3_4__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__GenerationTask__Group_3_4__0" + + + // $ANTLR start "rule__GenerationTask__Group_3_4__0__Impl" + // InternalApplicationConfiguration.g:8738:1: rule__GenerationTask__Group_3_4__0__Impl : ( 'scope' ) ; + public final void rule__GenerationTask__Group_3_4__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:8742:1: ( ( 'scope' ) ) + // InternalApplicationConfiguration.g:8743:1: ( 'scope' ) + { + // InternalApplicationConfiguration.g:8743:1: ( 'scope' ) + // InternalApplicationConfiguration.g:8744:2: 'scope' + { + before(grammarAccess.getGenerationTaskAccess().getScopeKeyword_3_4_0()); + match(input,52,FOLLOW_2); + after(grammarAccess.getGenerationTaskAccess().getScopeKeyword_3_4_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__GenerationTask__Group_3_4__0__Impl" + + + // $ANTLR start "rule__GenerationTask__Group_3_4__1" + // InternalApplicationConfiguration.g:8753:1: rule__GenerationTask__Group_3_4__1 : rule__GenerationTask__Group_3_4__1__Impl rule__GenerationTask__Group_3_4__2 ; + public final void rule__GenerationTask__Group_3_4__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:8757:1: ( rule__GenerationTask__Group_3_4__1__Impl rule__GenerationTask__Group_3_4__2 ) + // InternalApplicationConfiguration.g:8758:2: rule__GenerationTask__Group_3_4__1__Impl rule__GenerationTask__Group_3_4__2 + { + pushFollow(FOLLOW_46); + rule__GenerationTask__Group_3_4__1__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__GenerationTask__Group_3_4__2(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__GenerationTask__Group_3_4__1" + + + // $ANTLR start "rule__GenerationTask__Group_3_4__1__Impl" + // InternalApplicationConfiguration.g:8765:1: rule__GenerationTask__Group_3_4__1__Impl : ( '=' ) ; + public final void rule__GenerationTask__Group_3_4__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:8769:1: ( ( '=' ) ) + // InternalApplicationConfiguration.g:8770:1: ( '=' ) + { + // InternalApplicationConfiguration.g:8770:1: ( '=' ) + // InternalApplicationConfiguration.g:8771:2: '=' + { + before(grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_4_1()); + match(input,28,FOLLOW_2); + after(grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_4_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__GenerationTask__Group_3_4__1__Impl" + + + // $ANTLR start "rule__GenerationTask__Group_3_4__2" + // InternalApplicationConfiguration.g:8780:1: rule__GenerationTask__Group_3_4__2 : rule__GenerationTask__Group_3_4__2__Impl ; + public final void rule__GenerationTask__Group_3_4__2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:8784:1: ( rule__GenerationTask__Group_3_4__2__Impl ) + // InternalApplicationConfiguration.g:8785:2: rule__GenerationTask__Group_3_4__2__Impl + { + pushFollow(FOLLOW_2); + rule__GenerationTask__Group_3_4__2__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__GenerationTask__Group_3_4__2" + + + // $ANTLR start "rule__GenerationTask__Group_3_4__2__Impl" + // InternalApplicationConfiguration.g:8791:1: rule__GenerationTask__Group_3_4__2__Impl : ( ( rule__GenerationTask__ScopeAssignment_3_4_2 ) ) ; + public final void rule__GenerationTask__Group_3_4__2__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:8795:1: ( ( ( rule__GenerationTask__ScopeAssignment_3_4_2 ) ) ) + // InternalApplicationConfiguration.g:8796:1: ( ( rule__GenerationTask__ScopeAssignment_3_4_2 ) ) + { + // InternalApplicationConfiguration.g:8796:1: ( ( rule__GenerationTask__ScopeAssignment_3_4_2 ) ) + // InternalApplicationConfiguration.g:8797:2: ( rule__GenerationTask__ScopeAssignment_3_4_2 ) + { + before(grammarAccess.getGenerationTaskAccess().getScopeAssignment_3_4_2()); + // InternalApplicationConfiguration.g:8798:2: ( rule__GenerationTask__ScopeAssignment_3_4_2 ) + // InternalApplicationConfiguration.g:8798:3: rule__GenerationTask__ScopeAssignment_3_4_2 + { + pushFollow(FOLLOW_2); + rule__GenerationTask__ScopeAssignment_3_4_2(); + + state._fsp--; + + + } + + after(grammarAccess.getGenerationTaskAccess().getScopeAssignment_3_4_2()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__GenerationTask__Group_3_4__2__Impl" + + + // $ANTLR start "rule__GenerationTask__Group_3_5__0" + // InternalApplicationConfiguration.g:8807:1: rule__GenerationTask__Group_3_5__0 : rule__GenerationTask__Group_3_5__0__Impl rule__GenerationTask__Group_3_5__1 ; + public final void rule__GenerationTask__Group_3_5__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:8811:1: ( rule__GenerationTask__Group_3_5__0__Impl rule__GenerationTask__Group_3_5__1 ) + // InternalApplicationConfiguration.g:8812:2: rule__GenerationTask__Group_3_5__0__Impl rule__GenerationTask__Group_3_5__1 + { + pushFollow(FOLLOW_14); + rule__GenerationTask__Group_3_5__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__GenerationTask__Group_3_5__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__GenerationTask__Group_3_5__0" + + + // $ANTLR start "rule__GenerationTask__Group_3_5__0__Impl" + // InternalApplicationConfiguration.g:8819:1: rule__GenerationTask__Group_3_5__0__Impl : ( ( rule__GenerationTask__NumberSpecifiedAssignment_3_5_0 ) ) ; + public final void rule__GenerationTask__Group_3_5__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:8823:1: ( ( ( rule__GenerationTask__NumberSpecifiedAssignment_3_5_0 ) ) ) + // InternalApplicationConfiguration.g:8824:1: ( ( rule__GenerationTask__NumberSpecifiedAssignment_3_5_0 ) ) + { + // InternalApplicationConfiguration.g:8824:1: ( ( rule__GenerationTask__NumberSpecifiedAssignment_3_5_0 ) ) + // InternalApplicationConfiguration.g:8825:2: ( rule__GenerationTask__NumberSpecifiedAssignment_3_5_0 ) + { + before(grammarAccess.getGenerationTaskAccess().getNumberSpecifiedAssignment_3_5_0()); + // InternalApplicationConfiguration.g:8826:2: ( rule__GenerationTask__NumberSpecifiedAssignment_3_5_0 ) + // InternalApplicationConfiguration.g:8826:3: rule__GenerationTask__NumberSpecifiedAssignment_3_5_0 + { + pushFollow(FOLLOW_2); + rule__GenerationTask__NumberSpecifiedAssignment_3_5_0(); + + state._fsp--; + + + } + + after(grammarAccess.getGenerationTaskAccess().getNumberSpecifiedAssignment_3_5_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__GenerationTask__Group_3_5__0__Impl" + + + // $ANTLR start "rule__GenerationTask__Group_3_5__1" + // InternalApplicationConfiguration.g:8834:1: rule__GenerationTask__Group_3_5__1 : rule__GenerationTask__Group_3_5__1__Impl rule__GenerationTask__Group_3_5__2 ; + public final void rule__GenerationTask__Group_3_5__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:8838:1: ( rule__GenerationTask__Group_3_5__1__Impl rule__GenerationTask__Group_3_5__2 ) + // InternalApplicationConfiguration.g:8839:2: rule__GenerationTask__Group_3_5__1__Impl rule__GenerationTask__Group_3_5__2 + { + pushFollow(FOLLOW_9); + rule__GenerationTask__Group_3_5__1__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__GenerationTask__Group_3_5__2(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__GenerationTask__Group_3_5__1" + + + // $ANTLR start "rule__GenerationTask__Group_3_5__1__Impl" + // InternalApplicationConfiguration.g:8846:1: rule__GenerationTask__Group_3_5__1__Impl : ( '=' ) ; + public final void rule__GenerationTask__Group_3_5__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:8850:1: ( ( '=' ) ) + // InternalApplicationConfiguration.g:8851:1: ( '=' ) + { + // InternalApplicationConfiguration.g:8851:1: ( '=' ) + // InternalApplicationConfiguration.g:8852:2: '=' + { + before(grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_5_1()); + match(input,28,FOLLOW_2); + after(grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_5_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__GenerationTask__Group_3_5__1__Impl" + + + // $ANTLR start "rule__GenerationTask__Group_3_5__2" + // InternalApplicationConfiguration.g:8861:1: rule__GenerationTask__Group_3_5__2 : rule__GenerationTask__Group_3_5__2__Impl ; + public final void rule__GenerationTask__Group_3_5__2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:8865:1: ( rule__GenerationTask__Group_3_5__2__Impl ) + // InternalApplicationConfiguration.g:8866:2: rule__GenerationTask__Group_3_5__2__Impl + { + pushFollow(FOLLOW_2); + rule__GenerationTask__Group_3_5__2__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__GenerationTask__Group_3_5__2" + + + // $ANTLR start "rule__GenerationTask__Group_3_5__2__Impl" + // InternalApplicationConfiguration.g:8872:1: rule__GenerationTask__Group_3_5__2__Impl : ( ( rule__GenerationTask__NumberAssignment_3_5_2 ) ) ; + public final void rule__GenerationTask__Group_3_5__2__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:8876:1: ( ( ( rule__GenerationTask__NumberAssignment_3_5_2 ) ) ) + // InternalApplicationConfiguration.g:8877:1: ( ( rule__GenerationTask__NumberAssignment_3_5_2 ) ) + { + // InternalApplicationConfiguration.g:8877:1: ( ( rule__GenerationTask__NumberAssignment_3_5_2 ) ) + // InternalApplicationConfiguration.g:8878:2: ( rule__GenerationTask__NumberAssignment_3_5_2 ) + { + before(grammarAccess.getGenerationTaskAccess().getNumberAssignment_3_5_2()); + // InternalApplicationConfiguration.g:8879:2: ( rule__GenerationTask__NumberAssignment_3_5_2 ) + // InternalApplicationConfiguration.g:8879:3: rule__GenerationTask__NumberAssignment_3_5_2 + { + pushFollow(FOLLOW_2); + rule__GenerationTask__NumberAssignment_3_5_2(); + + state._fsp--; + + + } + + after(grammarAccess.getGenerationTaskAccess().getNumberAssignment_3_5_2()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__GenerationTask__Group_3_5__2__Impl" + + + // $ANTLR start "rule__GenerationTask__Group_3_6__0" + // InternalApplicationConfiguration.g:8888:1: rule__GenerationTask__Group_3_6__0 : rule__GenerationTask__Group_3_6__0__Impl rule__GenerationTask__Group_3_6__1 ; + public final void rule__GenerationTask__Group_3_6__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:8892:1: ( rule__GenerationTask__Group_3_6__0__Impl rule__GenerationTask__Group_3_6__1 ) + // InternalApplicationConfiguration.g:8893:2: rule__GenerationTask__Group_3_6__0__Impl rule__GenerationTask__Group_3_6__1 + { + pushFollow(FOLLOW_14); + rule__GenerationTask__Group_3_6__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__GenerationTask__Group_3_6__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__GenerationTask__Group_3_6__0" + + + // $ANTLR start "rule__GenerationTask__Group_3_6__0__Impl" + // InternalApplicationConfiguration.g:8900:1: rule__GenerationTask__Group_3_6__0__Impl : ( ( rule__GenerationTask__RunSpecifiedAssignment_3_6_0 ) ) ; + public final void rule__GenerationTask__Group_3_6__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:8904:1: ( ( ( rule__GenerationTask__RunSpecifiedAssignment_3_6_0 ) ) ) + // InternalApplicationConfiguration.g:8905:1: ( ( rule__GenerationTask__RunSpecifiedAssignment_3_6_0 ) ) + { + // InternalApplicationConfiguration.g:8905:1: ( ( rule__GenerationTask__RunSpecifiedAssignment_3_6_0 ) ) + // InternalApplicationConfiguration.g:8906:2: ( rule__GenerationTask__RunSpecifiedAssignment_3_6_0 ) + { + before(grammarAccess.getGenerationTaskAccess().getRunSpecifiedAssignment_3_6_0()); + // InternalApplicationConfiguration.g:8907:2: ( rule__GenerationTask__RunSpecifiedAssignment_3_6_0 ) + // InternalApplicationConfiguration.g:8907:3: rule__GenerationTask__RunSpecifiedAssignment_3_6_0 + { + pushFollow(FOLLOW_2); + rule__GenerationTask__RunSpecifiedAssignment_3_6_0(); + + state._fsp--; + + + } + + after(grammarAccess.getGenerationTaskAccess().getRunSpecifiedAssignment_3_6_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__GenerationTask__Group_3_6__0__Impl" + + + // $ANTLR start "rule__GenerationTask__Group_3_6__1" + // InternalApplicationConfiguration.g:8915:1: rule__GenerationTask__Group_3_6__1 : rule__GenerationTask__Group_3_6__1__Impl rule__GenerationTask__Group_3_6__2 ; + public final void rule__GenerationTask__Group_3_6__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:8919:1: ( rule__GenerationTask__Group_3_6__1__Impl rule__GenerationTask__Group_3_6__2 ) + // InternalApplicationConfiguration.g:8920:2: rule__GenerationTask__Group_3_6__1__Impl rule__GenerationTask__Group_3_6__2 + { + pushFollow(FOLLOW_9); + rule__GenerationTask__Group_3_6__1__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__GenerationTask__Group_3_6__2(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__GenerationTask__Group_3_6__1" + + + // $ANTLR start "rule__GenerationTask__Group_3_6__1__Impl" + // InternalApplicationConfiguration.g:8927:1: rule__GenerationTask__Group_3_6__1__Impl : ( '=' ) ; + public final void rule__GenerationTask__Group_3_6__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:8931:1: ( ( '=' ) ) + // InternalApplicationConfiguration.g:8932:1: ( '=' ) + { + // InternalApplicationConfiguration.g:8932:1: ( '=' ) + // InternalApplicationConfiguration.g:8933:2: '=' + { + before(grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_6_1()); + match(input,28,FOLLOW_2); + after(grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_6_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__GenerationTask__Group_3_6__1__Impl" + + + // $ANTLR start "rule__GenerationTask__Group_3_6__2" + // InternalApplicationConfiguration.g:8942:1: rule__GenerationTask__Group_3_6__2 : rule__GenerationTask__Group_3_6__2__Impl ; + public final void rule__GenerationTask__Group_3_6__2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:8946:1: ( rule__GenerationTask__Group_3_6__2__Impl ) + // InternalApplicationConfiguration.g:8947:2: rule__GenerationTask__Group_3_6__2__Impl + { + pushFollow(FOLLOW_2); + rule__GenerationTask__Group_3_6__2__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__GenerationTask__Group_3_6__2" + + + // $ANTLR start "rule__GenerationTask__Group_3_6__2__Impl" + // InternalApplicationConfiguration.g:8953:1: rule__GenerationTask__Group_3_6__2__Impl : ( ( rule__GenerationTask__RunsAssignment_3_6_2 ) ) ; + public final void rule__GenerationTask__Group_3_6__2__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:8957:1: ( ( ( rule__GenerationTask__RunsAssignment_3_6_2 ) ) ) + // InternalApplicationConfiguration.g:8958:1: ( ( rule__GenerationTask__RunsAssignment_3_6_2 ) ) + { + // InternalApplicationConfiguration.g:8958:1: ( ( rule__GenerationTask__RunsAssignment_3_6_2 ) ) + // InternalApplicationConfiguration.g:8959:2: ( rule__GenerationTask__RunsAssignment_3_6_2 ) + { + before(grammarAccess.getGenerationTaskAccess().getRunsAssignment_3_6_2()); + // InternalApplicationConfiguration.g:8960:2: ( rule__GenerationTask__RunsAssignment_3_6_2 ) + // InternalApplicationConfiguration.g:8960:3: rule__GenerationTask__RunsAssignment_3_6_2 + { + pushFollow(FOLLOW_2); + rule__GenerationTask__RunsAssignment_3_6_2(); + + state._fsp--; + + + } + + after(grammarAccess.getGenerationTaskAccess().getRunsAssignment_3_6_2()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__GenerationTask__Group_3_6__2__Impl" + + + // $ANTLR start "rule__GenerationTask__Group_3_7__0" + // InternalApplicationConfiguration.g:8969:1: rule__GenerationTask__Group_3_7__0 : rule__GenerationTask__Group_3_7__0__Impl rule__GenerationTask__Group_3_7__1 ; + public final void rule__GenerationTask__Group_3_7__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:8973:1: ( rule__GenerationTask__Group_3_7__0__Impl rule__GenerationTask__Group_3_7__1 ) + // InternalApplicationConfiguration.g:8974:2: rule__GenerationTask__Group_3_7__0__Impl rule__GenerationTask__Group_3_7__1 + { + pushFollow(FOLLOW_14); + rule__GenerationTask__Group_3_7__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__GenerationTask__Group_3_7__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__GenerationTask__Group_3_7__0" + + + // $ANTLR start "rule__GenerationTask__Group_3_7__0__Impl" + // InternalApplicationConfiguration.g:8981:1: rule__GenerationTask__Group_3_7__0__Impl : ( 'solver' ) ; + public final void rule__GenerationTask__Group_3_7__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:8985:1: ( ( 'solver' ) ) + // InternalApplicationConfiguration.g:8986:1: ( 'solver' ) + { + // InternalApplicationConfiguration.g:8986:1: ( 'solver' ) + // InternalApplicationConfiguration.g:8987:2: 'solver' + { + before(grammarAccess.getGenerationTaskAccess().getSolverKeyword_3_7_0()); + match(input,55,FOLLOW_2); + after(grammarAccess.getGenerationTaskAccess().getSolverKeyword_3_7_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__GenerationTask__Group_3_7__0__Impl" + + + // $ANTLR start "rule__GenerationTask__Group_3_7__1" + // InternalApplicationConfiguration.g:8996:1: rule__GenerationTask__Group_3_7__1 : rule__GenerationTask__Group_3_7__1__Impl rule__GenerationTask__Group_3_7__2 ; + public final void rule__GenerationTask__Group_3_7__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:9000:1: ( rule__GenerationTask__Group_3_7__1__Impl rule__GenerationTask__Group_3_7__2 ) + // InternalApplicationConfiguration.g:9001:2: rule__GenerationTask__Group_3_7__1__Impl rule__GenerationTask__Group_3_7__2 + { + pushFollow(FOLLOW_47); + rule__GenerationTask__Group_3_7__1__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__GenerationTask__Group_3_7__2(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__GenerationTask__Group_3_7__1" + + + // $ANTLR start "rule__GenerationTask__Group_3_7__1__Impl" + // InternalApplicationConfiguration.g:9008:1: rule__GenerationTask__Group_3_7__1__Impl : ( '=' ) ; + public final void rule__GenerationTask__Group_3_7__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:9012:1: ( ( '=' ) ) + // InternalApplicationConfiguration.g:9013:1: ( '=' ) + { + // InternalApplicationConfiguration.g:9013:1: ( '=' ) + // InternalApplicationConfiguration.g:9014:2: '=' + { + before(grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_7_1()); + match(input,28,FOLLOW_2); + after(grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_7_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__GenerationTask__Group_3_7__1__Impl" + + + // $ANTLR start "rule__GenerationTask__Group_3_7__2" + // InternalApplicationConfiguration.g:9023:1: rule__GenerationTask__Group_3_7__2 : rule__GenerationTask__Group_3_7__2__Impl ; + public final void rule__GenerationTask__Group_3_7__2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:9027:1: ( rule__GenerationTask__Group_3_7__2__Impl ) + // InternalApplicationConfiguration.g:9028:2: rule__GenerationTask__Group_3_7__2__Impl + { + pushFollow(FOLLOW_2); + rule__GenerationTask__Group_3_7__2__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__GenerationTask__Group_3_7__2" + + + // $ANTLR start "rule__GenerationTask__Group_3_7__2__Impl" + // InternalApplicationConfiguration.g:9034:1: rule__GenerationTask__Group_3_7__2__Impl : ( ( rule__GenerationTask__SolverAssignment_3_7_2 ) ) ; + public final void rule__GenerationTask__Group_3_7__2__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:9038:1: ( ( ( rule__GenerationTask__SolverAssignment_3_7_2 ) ) ) + // InternalApplicationConfiguration.g:9039:1: ( ( rule__GenerationTask__SolverAssignment_3_7_2 ) ) + { + // InternalApplicationConfiguration.g:9039:1: ( ( rule__GenerationTask__SolverAssignment_3_7_2 ) ) + // InternalApplicationConfiguration.g:9040:2: ( rule__GenerationTask__SolverAssignment_3_7_2 ) + { + before(grammarAccess.getGenerationTaskAccess().getSolverAssignment_3_7_2()); + // InternalApplicationConfiguration.g:9041:2: ( rule__GenerationTask__SolverAssignment_3_7_2 ) + // InternalApplicationConfiguration.g:9041:3: rule__GenerationTask__SolverAssignment_3_7_2 + { + pushFollow(FOLLOW_2); + rule__GenerationTask__SolverAssignment_3_7_2(); + + state._fsp--; + + + } + + after(grammarAccess.getGenerationTaskAccess().getSolverAssignment_3_7_2()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__GenerationTask__Group_3_7__2__Impl" + + + // $ANTLR start "rule__GenerationTask__Group_3_8__0" + // InternalApplicationConfiguration.g:9050:1: rule__GenerationTask__Group_3_8__0 : rule__GenerationTask__Group_3_8__0__Impl rule__GenerationTask__Group_3_8__1 ; + public final void rule__GenerationTask__Group_3_8__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:9054:1: ( rule__GenerationTask__Group_3_8__0__Impl rule__GenerationTask__Group_3_8__1 ) + // InternalApplicationConfiguration.g:9055:2: rule__GenerationTask__Group_3_8__0__Impl rule__GenerationTask__Group_3_8__1 + { + pushFollow(FOLLOW_14); + rule__GenerationTask__Group_3_8__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__GenerationTask__Group_3_8__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__GenerationTask__Group_3_8__0" + + + // $ANTLR start "rule__GenerationTask__Group_3_8__0__Impl" + // InternalApplicationConfiguration.g:9062:1: rule__GenerationTask__Group_3_8__0__Impl : ( 'config' ) ; + public final void rule__GenerationTask__Group_3_8__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:9066:1: ( ( 'config' ) ) + // InternalApplicationConfiguration.g:9067:1: ( 'config' ) + { + // InternalApplicationConfiguration.g:9067:1: ( 'config' ) + // InternalApplicationConfiguration.g:9068:2: 'config' + { + before(grammarAccess.getGenerationTaskAccess().getConfigKeyword_3_8_0()); + match(input,40,FOLLOW_2); + after(grammarAccess.getGenerationTaskAccess().getConfigKeyword_3_8_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__GenerationTask__Group_3_8__0__Impl" + + + // $ANTLR start "rule__GenerationTask__Group_3_8__1" + // InternalApplicationConfiguration.g:9077:1: rule__GenerationTask__Group_3_8__1 : rule__GenerationTask__Group_3_8__1__Impl rule__GenerationTask__Group_3_8__2 ; + public final void rule__GenerationTask__Group_3_8__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:9081:1: ( rule__GenerationTask__Group_3_8__1__Impl rule__GenerationTask__Group_3_8__2 ) + // InternalApplicationConfiguration.g:9082:2: rule__GenerationTask__Group_3_8__1__Impl rule__GenerationTask__Group_3_8__2 + { + pushFollow(FOLLOW_46); + rule__GenerationTask__Group_3_8__1__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__GenerationTask__Group_3_8__2(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__GenerationTask__Group_3_8__1" + + + // $ANTLR start "rule__GenerationTask__Group_3_8__1__Impl" + // InternalApplicationConfiguration.g:9089:1: rule__GenerationTask__Group_3_8__1__Impl : ( '=' ) ; + public final void rule__GenerationTask__Group_3_8__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:9093:1: ( ( '=' ) ) + // InternalApplicationConfiguration.g:9094:1: ( '=' ) + { + // InternalApplicationConfiguration.g:9094:1: ( '=' ) + // InternalApplicationConfiguration.g:9095:2: '=' + { + before(grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_8_1()); + match(input,28,FOLLOW_2); + after(grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_8_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__GenerationTask__Group_3_8__1__Impl" + + + // $ANTLR start "rule__GenerationTask__Group_3_8__2" + // InternalApplicationConfiguration.g:9104:1: rule__GenerationTask__Group_3_8__2 : rule__GenerationTask__Group_3_8__2__Impl ; + public final void rule__GenerationTask__Group_3_8__2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:9108:1: ( rule__GenerationTask__Group_3_8__2__Impl ) + // InternalApplicationConfiguration.g:9109:2: rule__GenerationTask__Group_3_8__2__Impl + { + pushFollow(FOLLOW_2); + rule__GenerationTask__Group_3_8__2__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__GenerationTask__Group_3_8__2" + + + // $ANTLR start "rule__GenerationTask__Group_3_8__2__Impl" + // InternalApplicationConfiguration.g:9115:1: rule__GenerationTask__Group_3_8__2__Impl : ( ( rule__GenerationTask__ConfigAssignment_3_8_2 ) ) ; + public final void rule__GenerationTask__Group_3_8__2__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:9119:1: ( ( ( rule__GenerationTask__ConfigAssignment_3_8_2 ) ) ) + // InternalApplicationConfiguration.g:9120:1: ( ( rule__GenerationTask__ConfigAssignment_3_8_2 ) ) + { + // InternalApplicationConfiguration.g:9120:1: ( ( rule__GenerationTask__ConfigAssignment_3_8_2 ) ) + // InternalApplicationConfiguration.g:9121:2: ( rule__GenerationTask__ConfigAssignment_3_8_2 ) + { + before(grammarAccess.getGenerationTaskAccess().getConfigAssignment_3_8_2()); + // InternalApplicationConfiguration.g:9122:2: ( rule__GenerationTask__ConfigAssignment_3_8_2 ) + // InternalApplicationConfiguration.g:9122:3: rule__GenerationTask__ConfigAssignment_3_8_2 + { + pushFollow(FOLLOW_2); + rule__GenerationTask__ConfigAssignment_3_8_2(); + + state._fsp--; + + + } + + after(grammarAccess.getGenerationTaskAccess().getConfigAssignment_3_8_2()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__GenerationTask__Group_3_8__2__Impl" + + + // $ANTLR start "rule__GenerationTask__Group_3_9__0" + // InternalApplicationConfiguration.g:9131:1: rule__GenerationTask__Group_3_9__0 : rule__GenerationTask__Group_3_9__0__Impl rule__GenerationTask__Group_3_9__1 ; + public final void rule__GenerationTask__Group_3_9__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:9135:1: ( rule__GenerationTask__Group_3_9__0__Impl rule__GenerationTask__Group_3_9__1 ) + // InternalApplicationConfiguration.g:9136:2: rule__GenerationTask__Group_3_9__0__Impl rule__GenerationTask__Group_3_9__1 + { + pushFollow(FOLLOW_14); + rule__GenerationTask__Group_3_9__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__GenerationTask__Group_3_9__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__GenerationTask__Group_3_9__0" + + + // $ANTLR start "rule__GenerationTask__Group_3_9__0__Impl" + // InternalApplicationConfiguration.g:9143:1: rule__GenerationTask__Group_3_9__0__Impl : ( 'debug' ) ; + public final void rule__GenerationTask__Group_3_9__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:9147:1: ( ( 'debug' ) ) + // InternalApplicationConfiguration.g:9148:1: ( 'debug' ) + { + // InternalApplicationConfiguration.g:9148:1: ( 'debug' ) + // InternalApplicationConfiguration.g:9149:2: 'debug' + { + before(grammarAccess.getGenerationTaskAccess().getDebugKeyword_3_9_0()); + match(input,56,FOLLOW_2); + after(grammarAccess.getGenerationTaskAccess().getDebugKeyword_3_9_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__GenerationTask__Group_3_9__0__Impl" + + + // $ANTLR start "rule__GenerationTask__Group_3_9__1" + // InternalApplicationConfiguration.g:9158:1: rule__GenerationTask__Group_3_9__1 : rule__GenerationTask__Group_3_9__1__Impl rule__GenerationTask__Group_3_9__2 ; + public final void rule__GenerationTask__Group_3_9__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:9162:1: ( rule__GenerationTask__Group_3_9__1__Impl rule__GenerationTask__Group_3_9__2 ) + // InternalApplicationConfiguration.g:9163:2: rule__GenerationTask__Group_3_9__1__Impl rule__GenerationTask__Group_3_9__2 + { + pushFollow(FOLLOW_22); + rule__GenerationTask__Group_3_9__1__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__GenerationTask__Group_3_9__2(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__GenerationTask__Group_3_9__1" + + + // $ANTLR start "rule__GenerationTask__Group_3_9__1__Impl" + // InternalApplicationConfiguration.g:9170:1: rule__GenerationTask__Group_3_9__1__Impl : ( '=' ) ; + public final void rule__GenerationTask__Group_3_9__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:9174:1: ( ( '=' ) ) + // InternalApplicationConfiguration.g:9175:1: ( '=' ) + { + // InternalApplicationConfiguration.g:9175:1: ( '=' ) + // InternalApplicationConfiguration.g:9176:2: '=' + { + before(grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_9_1()); + match(input,28,FOLLOW_2); + after(grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_9_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__GenerationTask__Group_3_9__1__Impl" + + + // $ANTLR start "rule__GenerationTask__Group_3_9__2" + // InternalApplicationConfiguration.g:9185:1: rule__GenerationTask__Group_3_9__2 : rule__GenerationTask__Group_3_9__2__Impl ; + public final void rule__GenerationTask__Group_3_9__2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:9189:1: ( rule__GenerationTask__Group_3_9__2__Impl ) + // InternalApplicationConfiguration.g:9190:2: rule__GenerationTask__Group_3_9__2__Impl + { + pushFollow(FOLLOW_2); + rule__GenerationTask__Group_3_9__2__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__GenerationTask__Group_3_9__2" + + + // $ANTLR start "rule__GenerationTask__Group_3_9__2__Impl" + // InternalApplicationConfiguration.g:9196:1: rule__GenerationTask__Group_3_9__2__Impl : ( ( rule__GenerationTask__DebugFolderAssignment_3_9_2 ) ) ; + public final void rule__GenerationTask__Group_3_9__2__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:9200:1: ( ( ( rule__GenerationTask__DebugFolderAssignment_3_9_2 ) ) ) + // InternalApplicationConfiguration.g:9201:1: ( ( rule__GenerationTask__DebugFolderAssignment_3_9_2 ) ) + { + // InternalApplicationConfiguration.g:9201:1: ( ( rule__GenerationTask__DebugFolderAssignment_3_9_2 ) ) + // InternalApplicationConfiguration.g:9202:2: ( rule__GenerationTask__DebugFolderAssignment_3_9_2 ) + { + before(grammarAccess.getGenerationTaskAccess().getDebugFolderAssignment_3_9_2()); + // InternalApplicationConfiguration.g:9203:2: ( rule__GenerationTask__DebugFolderAssignment_3_9_2 ) + // InternalApplicationConfiguration.g:9203:3: rule__GenerationTask__DebugFolderAssignment_3_9_2 + { + pushFollow(FOLLOW_2); + rule__GenerationTask__DebugFolderAssignment_3_9_2(); + + state._fsp--; + + + } + + after(grammarAccess.getGenerationTaskAccess().getDebugFolderAssignment_3_9_2()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__GenerationTask__Group_3_9__2__Impl" + + + // $ANTLR start "rule__GenerationTask__Group_3_10__0" + // InternalApplicationConfiguration.g:9212:1: rule__GenerationTask__Group_3_10__0 : rule__GenerationTask__Group_3_10__0__Impl rule__GenerationTask__Group_3_10__1 ; + public final void rule__GenerationTask__Group_3_10__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:9216:1: ( rule__GenerationTask__Group_3_10__0__Impl rule__GenerationTask__Group_3_10__1 ) + // InternalApplicationConfiguration.g:9217:2: rule__GenerationTask__Group_3_10__0__Impl rule__GenerationTask__Group_3_10__1 + { + pushFollow(FOLLOW_14); + rule__GenerationTask__Group_3_10__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__GenerationTask__Group_3_10__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__GenerationTask__Group_3_10__0" + + + // $ANTLR start "rule__GenerationTask__Group_3_10__0__Impl" + // InternalApplicationConfiguration.g:9224:1: rule__GenerationTask__Group_3_10__0__Impl : ( 'log' ) ; + public final void rule__GenerationTask__Group_3_10__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:9228:1: ( ( 'log' ) ) + // InternalApplicationConfiguration.g:9229:1: ( 'log' ) + { + // InternalApplicationConfiguration.g:9229:1: ( 'log' ) + // InternalApplicationConfiguration.g:9230:2: 'log' + { + before(grammarAccess.getGenerationTaskAccess().getLogKeyword_3_10_0()); + match(input,57,FOLLOW_2); + after(grammarAccess.getGenerationTaskAccess().getLogKeyword_3_10_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__GenerationTask__Group_3_10__0__Impl" + + + // $ANTLR start "rule__GenerationTask__Group_3_10__1" + // InternalApplicationConfiguration.g:9239:1: rule__GenerationTask__Group_3_10__1 : rule__GenerationTask__Group_3_10__1__Impl rule__GenerationTask__Group_3_10__2 ; + public final void rule__GenerationTask__Group_3_10__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:9243:1: ( rule__GenerationTask__Group_3_10__1__Impl rule__GenerationTask__Group_3_10__2 ) + // InternalApplicationConfiguration.g:9244:2: rule__GenerationTask__Group_3_10__1__Impl rule__GenerationTask__Group_3_10__2 + { + pushFollow(FOLLOW_22); + rule__GenerationTask__Group_3_10__1__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__GenerationTask__Group_3_10__2(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__GenerationTask__Group_3_10__1" + + + // $ANTLR start "rule__GenerationTask__Group_3_10__1__Impl" + // InternalApplicationConfiguration.g:9251:1: rule__GenerationTask__Group_3_10__1__Impl : ( '=' ) ; + public final void rule__GenerationTask__Group_3_10__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:9255:1: ( ( '=' ) ) + // InternalApplicationConfiguration.g:9256:1: ( '=' ) + { + // InternalApplicationConfiguration.g:9256:1: ( '=' ) + // InternalApplicationConfiguration.g:9257:2: '=' + { + before(grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_10_1()); + match(input,28,FOLLOW_2); + after(grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_10_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__GenerationTask__Group_3_10__1__Impl" + + + // $ANTLR start "rule__GenerationTask__Group_3_10__2" + // InternalApplicationConfiguration.g:9266:1: rule__GenerationTask__Group_3_10__2 : rule__GenerationTask__Group_3_10__2__Impl ; + public final void rule__GenerationTask__Group_3_10__2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:9270:1: ( rule__GenerationTask__Group_3_10__2__Impl ) + // InternalApplicationConfiguration.g:9271:2: rule__GenerationTask__Group_3_10__2__Impl + { + pushFollow(FOLLOW_2); + rule__GenerationTask__Group_3_10__2__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__GenerationTask__Group_3_10__2" + + + // $ANTLR start "rule__GenerationTask__Group_3_10__2__Impl" + // InternalApplicationConfiguration.g:9277:1: rule__GenerationTask__Group_3_10__2__Impl : ( ( rule__GenerationTask__TargetLogFileAssignment_3_10_2 ) ) ; + public final void rule__GenerationTask__Group_3_10__2__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:9281:1: ( ( ( rule__GenerationTask__TargetLogFileAssignment_3_10_2 ) ) ) + // InternalApplicationConfiguration.g:9282:1: ( ( rule__GenerationTask__TargetLogFileAssignment_3_10_2 ) ) + { + // InternalApplicationConfiguration.g:9282:1: ( ( rule__GenerationTask__TargetLogFileAssignment_3_10_2 ) ) + // InternalApplicationConfiguration.g:9283:2: ( rule__GenerationTask__TargetLogFileAssignment_3_10_2 ) + { + before(grammarAccess.getGenerationTaskAccess().getTargetLogFileAssignment_3_10_2()); + // InternalApplicationConfiguration.g:9284:2: ( rule__GenerationTask__TargetLogFileAssignment_3_10_2 ) + // InternalApplicationConfiguration.g:9284:3: rule__GenerationTask__TargetLogFileAssignment_3_10_2 + { + pushFollow(FOLLOW_2); + rule__GenerationTask__TargetLogFileAssignment_3_10_2(); + + state._fsp--; + + + } + + after(grammarAccess.getGenerationTaskAccess().getTargetLogFileAssignment_3_10_2()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__GenerationTask__Group_3_10__2__Impl" + + + // $ANTLR start "rule__GenerationTask__Group_3_11__0" + // InternalApplicationConfiguration.g:9293:1: rule__GenerationTask__Group_3_11__0 : rule__GenerationTask__Group_3_11__0__Impl rule__GenerationTask__Group_3_11__1 ; + public final void rule__GenerationTask__Group_3_11__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:9297:1: ( rule__GenerationTask__Group_3_11__0__Impl rule__GenerationTask__Group_3_11__1 ) + // InternalApplicationConfiguration.g:9298:2: rule__GenerationTask__Group_3_11__0__Impl rule__GenerationTask__Group_3_11__1 + { + pushFollow(FOLLOW_14); + rule__GenerationTask__Group_3_11__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__GenerationTask__Group_3_11__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__GenerationTask__Group_3_11__0" + + + // $ANTLR start "rule__GenerationTask__Group_3_11__0__Impl" + // InternalApplicationConfiguration.g:9305:1: rule__GenerationTask__Group_3_11__0__Impl : ( 'statistics' ) ; + public final void rule__GenerationTask__Group_3_11__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:9309:1: ( ( 'statistics' ) ) + // InternalApplicationConfiguration.g:9310:1: ( 'statistics' ) + { + // InternalApplicationConfiguration.g:9310:1: ( 'statistics' ) + // InternalApplicationConfiguration.g:9311:2: 'statistics' + { + before(grammarAccess.getGenerationTaskAccess().getStatisticsKeyword_3_11_0()); + match(input,58,FOLLOW_2); + after(grammarAccess.getGenerationTaskAccess().getStatisticsKeyword_3_11_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__GenerationTask__Group_3_11__0__Impl" + + + // $ANTLR start "rule__GenerationTask__Group_3_11__1" + // InternalApplicationConfiguration.g:9320:1: rule__GenerationTask__Group_3_11__1 : rule__GenerationTask__Group_3_11__1__Impl rule__GenerationTask__Group_3_11__2 ; + public final void rule__GenerationTask__Group_3_11__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:9324:1: ( rule__GenerationTask__Group_3_11__1__Impl rule__GenerationTask__Group_3_11__2 ) + // InternalApplicationConfiguration.g:9325:2: rule__GenerationTask__Group_3_11__1__Impl rule__GenerationTask__Group_3_11__2 + { + pushFollow(FOLLOW_22); + rule__GenerationTask__Group_3_11__1__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__GenerationTask__Group_3_11__2(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__GenerationTask__Group_3_11__1" + + + // $ANTLR start "rule__GenerationTask__Group_3_11__1__Impl" + // InternalApplicationConfiguration.g:9332:1: rule__GenerationTask__Group_3_11__1__Impl : ( '=' ) ; + public final void rule__GenerationTask__Group_3_11__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:9336:1: ( ( '=' ) ) + // InternalApplicationConfiguration.g:9337:1: ( '=' ) + { + // InternalApplicationConfiguration.g:9337:1: ( '=' ) + // InternalApplicationConfiguration.g:9338:2: '=' + { + before(grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_11_1()); + match(input,28,FOLLOW_2); + after(grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_11_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__GenerationTask__Group_3_11__1__Impl" + + + // $ANTLR start "rule__GenerationTask__Group_3_11__2" + // InternalApplicationConfiguration.g:9347:1: rule__GenerationTask__Group_3_11__2 : rule__GenerationTask__Group_3_11__2__Impl ; + public final void rule__GenerationTask__Group_3_11__2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:9351:1: ( rule__GenerationTask__Group_3_11__2__Impl ) + // InternalApplicationConfiguration.g:9352:2: rule__GenerationTask__Group_3_11__2__Impl + { + pushFollow(FOLLOW_2); + rule__GenerationTask__Group_3_11__2__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__GenerationTask__Group_3_11__2" + + + // $ANTLR start "rule__GenerationTask__Group_3_11__2__Impl" + // InternalApplicationConfiguration.g:9358:1: rule__GenerationTask__Group_3_11__2__Impl : ( ( rule__GenerationTask__TargetStatisticsFileAssignment_3_11_2 ) ) ; + public final void rule__GenerationTask__Group_3_11__2__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:9362:1: ( ( ( rule__GenerationTask__TargetStatisticsFileAssignment_3_11_2 ) ) ) + // InternalApplicationConfiguration.g:9363:1: ( ( rule__GenerationTask__TargetStatisticsFileAssignment_3_11_2 ) ) + { + // InternalApplicationConfiguration.g:9363:1: ( ( rule__GenerationTask__TargetStatisticsFileAssignment_3_11_2 ) ) + // InternalApplicationConfiguration.g:9364:2: ( rule__GenerationTask__TargetStatisticsFileAssignment_3_11_2 ) + { + before(grammarAccess.getGenerationTaskAccess().getTargetStatisticsFileAssignment_3_11_2()); + // InternalApplicationConfiguration.g:9365:2: ( rule__GenerationTask__TargetStatisticsFileAssignment_3_11_2 ) + // InternalApplicationConfiguration.g:9365:3: rule__GenerationTask__TargetStatisticsFileAssignment_3_11_2 + { + pushFollow(FOLLOW_2); + rule__GenerationTask__TargetStatisticsFileAssignment_3_11_2(); + + state._fsp--; + + + } + + after(grammarAccess.getGenerationTaskAccess().getTargetStatisticsFileAssignment_3_11_2()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__GenerationTask__Group_3_11__2__Impl" + + + // $ANTLR start "rule__GenerationTask__Group_3_12__0" + // InternalApplicationConfiguration.g:9374:1: rule__GenerationTask__Group_3_12__0 : rule__GenerationTask__Group_3_12__0__Impl rule__GenerationTask__Group_3_12__1 ; + public final void rule__GenerationTask__Group_3_12__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:9378:1: ( rule__GenerationTask__Group_3_12__0__Impl rule__GenerationTask__Group_3_12__1 ) + // InternalApplicationConfiguration.g:9379:2: rule__GenerationTask__Group_3_12__0__Impl rule__GenerationTask__Group_3_12__1 + { + pushFollow(FOLLOW_14); + rule__GenerationTask__Group_3_12__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__GenerationTask__Group_3_12__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__GenerationTask__Group_3_12__0" + + + // $ANTLR start "rule__GenerationTask__Group_3_12__0__Impl" + // InternalApplicationConfiguration.g:9386:1: rule__GenerationTask__Group_3_12__0__Impl : ( 'output' ) ; + public final void rule__GenerationTask__Group_3_12__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:9390:1: ( ( 'output' ) ) + // InternalApplicationConfiguration.g:9391:1: ( 'output' ) + { + // InternalApplicationConfiguration.g:9391:1: ( 'output' ) + // InternalApplicationConfiguration.g:9392:2: 'output' + { + before(grammarAccess.getGenerationTaskAccess().getOutputKeyword_3_12_0()); + match(input,59,FOLLOW_2); + after(grammarAccess.getGenerationTaskAccess().getOutputKeyword_3_12_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__GenerationTask__Group_3_12__0__Impl" + + + // $ANTLR start "rule__GenerationTask__Group_3_12__1" + // InternalApplicationConfiguration.g:9401:1: rule__GenerationTask__Group_3_12__1 : rule__GenerationTask__Group_3_12__1__Impl rule__GenerationTask__Group_3_12__2 ; + public final void rule__GenerationTask__Group_3_12__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:9405:1: ( rule__GenerationTask__Group_3_12__1__Impl rule__GenerationTask__Group_3_12__2 ) + // InternalApplicationConfiguration.g:9406:2: rule__GenerationTask__Group_3_12__1__Impl rule__GenerationTask__Group_3_12__2 + { + pushFollow(FOLLOW_22); + rule__GenerationTask__Group_3_12__1__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__GenerationTask__Group_3_12__2(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__GenerationTask__Group_3_12__1" + + + // $ANTLR start "rule__GenerationTask__Group_3_12__1__Impl" + // InternalApplicationConfiguration.g:9413:1: rule__GenerationTask__Group_3_12__1__Impl : ( '=' ) ; + public final void rule__GenerationTask__Group_3_12__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:9417:1: ( ( '=' ) ) + // InternalApplicationConfiguration.g:9418:1: ( '=' ) + { + // InternalApplicationConfiguration.g:9418:1: ( '=' ) + // InternalApplicationConfiguration.g:9419:2: '=' + { + before(grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_12_1()); + match(input,28,FOLLOW_2); + after(grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_12_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__GenerationTask__Group_3_12__1__Impl" + + + // $ANTLR start "rule__GenerationTask__Group_3_12__2" + // InternalApplicationConfiguration.g:9428:1: rule__GenerationTask__Group_3_12__2 : rule__GenerationTask__Group_3_12__2__Impl ; + public final void rule__GenerationTask__Group_3_12__2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:9432:1: ( rule__GenerationTask__Group_3_12__2__Impl ) + // InternalApplicationConfiguration.g:9433:2: rule__GenerationTask__Group_3_12__2__Impl + { + pushFollow(FOLLOW_2); + rule__GenerationTask__Group_3_12__2__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__GenerationTask__Group_3_12__2" + + + // $ANTLR start "rule__GenerationTask__Group_3_12__2__Impl" + // InternalApplicationConfiguration.g:9439:1: rule__GenerationTask__Group_3_12__2__Impl : ( ( rule__GenerationTask__TagetFolderAssignment_3_12_2 ) ) ; + public final void rule__GenerationTask__Group_3_12__2__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:9443:1: ( ( ( rule__GenerationTask__TagetFolderAssignment_3_12_2 ) ) ) + // InternalApplicationConfiguration.g:9444:1: ( ( rule__GenerationTask__TagetFolderAssignment_3_12_2 ) ) + { + // InternalApplicationConfiguration.g:9444:1: ( ( rule__GenerationTask__TagetFolderAssignment_3_12_2 ) ) + // InternalApplicationConfiguration.g:9445:2: ( rule__GenerationTask__TagetFolderAssignment_3_12_2 ) + { + before(grammarAccess.getGenerationTaskAccess().getTagetFolderAssignment_3_12_2()); + // InternalApplicationConfiguration.g:9446:2: ( rule__GenerationTask__TagetFolderAssignment_3_12_2 ) + // InternalApplicationConfiguration.g:9446:3: rule__GenerationTask__TagetFolderAssignment_3_12_2 + { + pushFollow(FOLLOW_2); + rule__GenerationTask__TagetFolderAssignment_3_12_2(); + + state._fsp--; + + + } + + after(grammarAccess.getGenerationTaskAccess().getTagetFolderAssignment_3_12_2()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__GenerationTask__Group_3_12__2__Impl" + + + // $ANTLR start "rule__GenerationTask__UnorderedGroup_3" + // InternalApplicationConfiguration.g:9455:1: rule__GenerationTask__UnorderedGroup_3 : ( rule__GenerationTask__UnorderedGroup_3__0 )? ; + public final void rule__GenerationTask__UnorderedGroup_3() throws RecognitionException { + + int stackSize = keepStackSize(); + getUnorderedGroupHelper().enter(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); + + try { + // InternalApplicationConfiguration.g:9460:1: ( ( rule__GenerationTask__UnorderedGroup_3__0 )? ) + // InternalApplicationConfiguration.g:9461:2: ( rule__GenerationTask__UnorderedGroup_3__0 )? + { + // InternalApplicationConfiguration.g:9461:2: ( rule__GenerationTask__UnorderedGroup_3__0 )? + int alt62=2; + alt62 = dfa62.predict(input); + switch (alt62) { + case 1 : + // InternalApplicationConfiguration.g:9461:2: rule__GenerationTask__UnorderedGroup_3__0 + { + pushFollow(FOLLOW_2); + rule__GenerationTask__UnorderedGroup_3__0(); + + state._fsp--; + + + } + break; + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + getUnorderedGroupHelper().leave(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__GenerationTask__UnorderedGroup_3" + + + // $ANTLR start "rule__GenerationTask__UnorderedGroup_3__Impl" + // InternalApplicationConfiguration.g:9469:1: rule__GenerationTask__UnorderedGroup_3__Impl : ( ({...}? => ( ( ( rule__GenerationTask__Group_3_0__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_1__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_2__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_3__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_4__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_5__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_6__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_7__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_8__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_9__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_10__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_11__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_12__0 ) ) ) ) ) ; + public final void rule__GenerationTask__UnorderedGroup_3__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + boolean selected = false; + + try { + // InternalApplicationConfiguration.g:9474:1: ( ( ({...}? => ( ( ( rule__GenerationTask__Group_3_0__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_1__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_2__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_3__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_4__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_5__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_6__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_7__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_8__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_9__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_10__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_11__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_12__0 ) ) ) ) ) ) + // InternalApplicationConfiguration.g:9475:3: ( ({...}? => ( ( ( rule__GenerationTask__Group_3_0__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_1__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_2__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_3__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_4__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_5__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_6__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_7__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_8__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_9__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_10__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_11__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_12__0 ) ) ) ) ) + { + // InternalApplicationConfiguration.g:9475:3: ( ({...}? => ( ( ( rule__GenerationTask__Group_3_0__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_1__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_2__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_3__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_4__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_5__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_6__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_7__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_8__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_9__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_10__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_11__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_12__0 ) ) ) ) ) + int alt63=13; + alt63 = dfa63.predict(input); + switch (alt63) { + case 1 : + // InternalApplicationConfiguration.g:9476:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_0__0 ) ) ) ) + { + // InternalApplicationConfiguration.g:9476:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_0__0 ) ) ) ) + // InternalApplicationConfiguration.g:9477:4: {...}? => ( ( ( rule__GenerationTask__Group_3_0__0 ) ) ) + { + if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0) ) { + throw new FailedPredicateException(input, "rule__GenerationTask__UnorderedGroup_3__Impl", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0)"); + } + // InternalApplicationConfiguration.g:9477:110: ( ( ( rule__GenerationTask__Group_3_0__0 ) ) ) + // InternalApplicationConfiguration.g:9478:5: ( ( rule__GenerationTask__Group_3_0__0 ) ) + { + + getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0); + + + selected = true; + + // InternalApplicationConfiguration.g:9484:5: ( ( rule__GenerationTask__Group_3_0__0 ) ) + // InternalApplicationConfiguration.g:9485:6: ( rule__GenerationTask__Group_3_0__0 ) + { + before(grammarAccess.getGenerationTaskAccess().getGroup_3_0()); + // InternalApplicationConfiguration.g:9486:6: ( rule__GenerationTask__Group_3_0__0 ) + // InternalApplicationConfiguration.g:9486:7: rule__GenerationTask__Group_3_0__0 + { + pushFollow(FOLLOW_2); + rule__GenerationTask__Group_3_0__0(); + + state._fsp--; + + + } + + after(grammarAccess.getGenerationTaskAccess().getGroup_3_0()); + + } + + + } + + + } + + + } + break; + case 2 : + // InternalApplicationConfiguration.g:9491:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_1__0 ) ) ) ) + { + // InternalApplicationConfiguration.g:9491:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_1__0 ) ) ) ) + // InternalApplicationConfiguration.g:9492:4: {...}? => ( ( ( rule__GenerationTask__Group_3_1__0 ) ) ) + { + if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1) ) { + throw new FailedPredicateException(input, "rule__GenerationTask__UnorderedGroup_3__Impl", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1)"); + } + // InternalApplicationConfiguration.g:9492:110: ( ( ( rule__GenerationTask__Group_3_1__0 ) ) ) + // InternalApplicationConfiguration.g:9493:5: ( ( rule__GenerationTask__Group_3_1__0 ) ) + { + + getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1); + + + selected = true; + + // InternalApplicationConfiguration.g:9499:5: ( ( rule__GenerationTask__Group_3_1__0 ) ) + // InternalApplicationConfiguration.g:9500:6: ( rule__GenerationTask__Group_3_1__0 ) + { + before(grammarAccess.getGenerationTaskAccess().getGroup_3_1()); + // InternalApplicationConfiguration.g:9501:6: ( rule__GenerationTask__Group_3_1__0 ) + // InternalApplicationConfiguration.g:9501:7: rule__GenerationTask__Group_3_1__0 + { + pushFollow(FOLLOW_2); + rule__GenerationTask__Group_3_1__0(); + + state._fsp--; + + + } + + after(grammarAccess.getGenerationTaskAccess().getGroup_3_1()); + + } + + + } + + + } + + + } + break; + case 3 : + // InternalApplicationConfiguration.g:9506:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_2__0 ) ) ) ) + { + // InternalApplicationConfiguration.g:9506:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_2__0 ) ) ) ) + // InternalApplicationConfiguration.g:9507:4: {...}? => ( ( ( rule__GenerationTask__Group_3_2__0 ) ) ) + { + if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2) ) { + throw new FailedPredicateException(input, "rule__GenerationTask__UnorderedGroup_3__Impl", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2)"); + } + // InternalApplicationConfiguration.g:9507:110: ( ( ( rule__GenerationTask__Group_3_2__0 ) ) ) + // InternalApplicationConfiguration.g:9508:5: ( ( rule__GenerationTask__Group_3_2__0 ) ) + { + + getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2); + + + selected = true; + + // InternalApplicationConfiguration.g:9514:5: ( ( rule__GenerationTask__Group_3_2__0 ) ) + // InternalApplicationConfiguration.g:9515:6: ( rule__GenerationTask__Group_3_2__0 ) + { + before(grammarAccess.getGenerationTaskAccess().getGroup_3_2()); + // InternalApplicationConfiguration.g:9516:6: ( rule__GenerationTask__Group_3_2__0 ) + // InternalApplicationConfiguration.g:9516:7: rule__GenerationTask__Group_3_2__0 + { + pushFollow(FOLLOW_2); + rule__GenerationTask__Group_3_2__0(); + + state._fsp--; + + + } + + after(grammarAccess.getGenerationTaskAccess().getGroup_3_2()); + + } + + + } + + + } + + + } + break; + case 4 : + // InternalApplicationConfiguration.g:9521:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_3__0 ) ) ) ) + { + // InternalApplicationConfiguration.g:9521:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_3__0 ) ) ) ) + // InternalApplicationConfiguration.g:9522:4: {...}? => ( ( ( rule__GenerationTask__Group_3_3__0 ) ) ) + { + if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3) ) { + throw new FailedPredicateException(input, "rule__GenerationTask__UnorderedGroup_3__Impl", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3)"); + } + // InternalApplicationConfiguration.g:9522:110: ( ( ( rule__GenerationTask__Group_3_3__0 ) ) ) + // InternalApplicationConfiguration.g:9523:5: ( ( rule__GenerationTask__Group_3_3__0 ) ) + { + + getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3); + + + selected = true; + + // InternalApplicationConfiguration.g:9529:5: ( ( rule__GenerationTask__Group_3_3__0 ) ) + // InternalApplicationConfiguration.g:9530:6: ( rule__GenerationTask__Group_3_3__0 ) + { + before(grammarAccess.getGenerationTaskAccess().getGroup_3_3()); + // InternalApplicationConfiguration.g:9531:6: ( rule__GenerationTask__Group_3_3__0 ) + // InternalApplicationConfiguration.g:9531:7: rule__GenerationTask__Group_3_3__0 + { + pushFollow(FOLLOW_2); + rule__GenerationTask__Group_3_3__0(); + + state._fsp--; + + + } + + after(grammarAccess.getGenerationTaskAccess().getGroup_3_3()); + + } + + + } + + + } + + + } + break; + case 5 : + // InternalApplicationConfiguration.g:9536:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_4__0 ) ) ) ) + { + // InternalApplicationConfiguration.g:9536:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_4__0 ) ) ) ) + // InternalApplicationConfiguration.g:9537:4: {...}? => ( ( ( rule__GenerationTask__Group_3_4__0 ) ) ) + { + if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4) ) { + throw new FailedPredicateException(input, "rule__GenerationTask__UnorderedGroup_3__Impl", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4)"); + } + // InternalApplicationConfiguration.g:9537:110: ( ( ( rule__GenerationTask__Group_3_4__0 ) ) ) + // InternalApplicationConfiguration.g:9538:5: ( ( rule__GenerationTask__Group_3_4__0 ) ) + { + + getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4); + + + selected = true; + + // InternalApplicationConfiguration.g:9544:5: ( ( rule__GenerationTask__Group_3_4__0 ) ) + // InternalApplicationConfiguration.g:9545:6: ( rule__GenerationTask__Group_3_4__0 ) + { + before(grammarAccess.getGenerationTaskAccess().getGroup_3_4()); + // InternalApplicationConfiguration.g:9546:6: ( rule__GenerationTask__Group_3_4__0 ) + // InternalApplicationConfiguration.g:9546:7: rule__GenerationTask__Group_3_4__0 + { + pushFollow(FOLLOW_2); + rule__GenerationTask__Group_3_4__0(); + + state._fsp--; + + + } + + after(grammarAccess.getGenerationTaskAccess().getGroup_3_4()); + + } + + + } + + + } + + + } + break; + case 6 : + // InternalApplicationConfiguration.g:9551:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_5__0 ) ) ) ) + { + // InternalApplicationConfiguration.g:9551:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_5__0 ) ) ) ) + // InternalApplicationConfiguration.g:9552:4: {...}? => ( ( ( rule__GenerationTask__Group_3_5__0 ) ) ) + { + if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5) ) { + throw new FailedPredicateException(input, "rule__GenerationTask__UnorderedGroup_3__Impl", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5)"); + } + // InternalApplicationConfiguration.g:9552:110: ( ( ( rule__GenerationTask__Group_3_5__0 ) ) ) + // InternalApplicationConfiguration.g:9553:5: ( ( rule__GenerationTask__Group_3_5__0 ) ) + { + + getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5); + + + selected = true; + + // InternalApplicationConfiguration.g:9559:5: ( ( rule__GenerationTask__Group_3_5__0 ) ) + // InternalApplicationConfiguration.g:9560:6: ( rule__GenerationTask__Group_3_5__0 ) + { + before(grammarAccess.getGenerationTaskAccess().getGroup_3_5()); + // InternalApplicationConfiguration.g:9561:6: ( rule__GenerationTask__Group_3_5__0 ) + // InternalApplicationConfiguration.g:9561:7: rule__GenerationTask__Group_3_5__0 + { + pushFollow(FOLLOW_2); + rule__GenerationTask__Group_3_5__0(); + + state._fsp--; + + + } + + after(grammarAccess.getGenerationTaskAccess().getGroup_3_5()); + + } + + + } + + + } + + + } + break; + case 7 : + // InternalApplicationConfiguration.g:9566:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_6__0 ) ) ) ) + { + // InternalApplicationConfiguration.g:9566:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_6__0 ) ) ) ) + // InternalApplicationConfiguration.g:9567:4: {...}? => ( ( ( rule__GenerationTask__Group_3_6__0 ) ) ) + { + if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6) ) { + throw new FailedPredicateException(input, "rule__GenerationTask__UnorderedGroup_3__Impl", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6)"); + } + // InternalApplicationConfiguration.g:9567:110: ( ( ( rule__GenerationTask__Group_3_6__0 ) ) ) + // InternalApplicationConfiguration.g:9568:5: ( ( rule__GenerationTask__Group_3_6__0 ) ) + { + + getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6); + + + selected = true; + + // InternalApplicationConfiguration.g:9574:5: ( ( rule__GenerationTask__Group_3_6__0 ) ) + // InternalApplicationConfiguration.g:9575:6: ( rule__GenerationTask__Group_3_6__0 ) + { + before(grammarAccess.getGenerationTaskAccess().getGroup_3_6()); + // InternalApplicationConfiguration.g:9576:6: ( rule__GenerationTask__Group_3_6__0 ) + // InternalApplicationConfiguration.g:9576:7: rule__GenerationTask__Group_3_6__0 + { + pushFollow(FOLLOW_2); + rule__GenerationTask__Group_3_6__0(); + + state._fsp--; + + + } + + after(grammarAccess.getGenerationTaskAccess().getGroup_3_6()); + + } + + + } + + + } + + + } + break; + case 8 : + // InternalApplicationConfiguration.g:9581:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_7__0 ) ) ) ) + { + // InternalApplicationConfiguration.g:9581:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_7__0 ) ) ) ) + // InternalApplicationConfiguration.g:9582:4: {...}? => ( ( ( rule__GenerationTask__Group_3_7__0 ) ) ) + { + if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7) ) { + throw new FailedPredicateException(input, "rule__GenerationTask__UnorderedGroup_3__Impl", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7)"); + } + // InternalApplicationConfiguration.g:9582:110: ( ( ( rule__GenerationTask__Group_3_7__0 ) ) ) + // InternalApplicationConfiguration.g:9583:5: ( ( rule__GenerationTask__Group_3_7__0 ) ) + { + + getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7); + + + selected = true; + + // InternalApplicationConfiguration.g:9589:5: ( ( rule__GenerationTask__Group_3_7__0 ) ) + // InternalApplicationConfiguration.g:9590:6: ( rule__GenerationTask__Group_3_7__0 ) + { + before(grammarAccess.getGenerationTaskAccess().getGroup_3_7()); + // InternalApplicationConfiguration.g:9591:6: ( rule__GenerationTask__Group_3_7__0 ) + // InternalApplicationConfiguration.g:9591:7: rule__GenerationTask__Group_3_7__0 + { + pushFollow(FOLLOW_2); + rule__GenerationTask__Group_3_7__0(); + + state._fsp--; + + + } + + after(grammarAccess.getGenerationTaskAccess().getGroup_3_7()); + + } + + + } + + + } + + + } + break; + case 9 : + // InternalApplicationConfiguration.g:9596:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_8__0 ) ) ) ) + { + // InternalApplicationConfiguration.g:9596:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_8__0 ) ) ) ) + // InternalApplicationConfiguration.g:9597:4: {...}? => ( ( ( rule__GenerationTask__Group_3_8__0 ) ) ) + { + if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8) ) { + throw new FailedPredicateException(input, "rule__GenerationTask__UnorderedGroup_3__Impl", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8)"); + } + // InternalApplicationConfiguration.g:9597:110: ( ( ( rule__GenerationTask__Group_3_8__0 ) ) ) + // InternalApplicationConfiguration.g:9598:5: ( ( rule__GenerationTask__Group_3_8__0 ) ) + { + + getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8); + + + selected = true; + + // InternalApplicationConfiguration.g:9604:5: ( ( rule__GenerationTask__Group_3_8__0 ) ) + // InternalApplicationConfiguration.g:9605:6: ( rule__GenerationTask__Group_3_8__0 ) + { + before(grammarAccess.getGenerationTaskAccess().getGroup_3_8()); + // InternalApplicationConfiguration.g:9606:6: ( rule__GenerationTask__Group_3_8__0 ) + // InternalApplicationConfiguration.g:9606:7: rule__GenerationTask__Group_3_8__0 + { + pushFollow(FOLLOW_2); + rule__GenerationTask__Group_3_8__0(); + + state._fsp--; + + + } + + after(grammarAccess.getGenerationTaskAccess().getGroup_3_8()); + + } + + + } + + + } + + + } + break; + case 10 : + // InternalApplicationConfiguration.g:9611:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_9__0 ) ) ) ) + { + // InternalApplicationConfiguration.g:9611:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_9__0 ) ) ) ) + // InternalApplicationConfiguration.g:9612:4: {...}? => ( ( ( rule__GenerationTask__Group_3_9__0 ) ) ) + { + if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9) ) { + throw new FailedPredicateException(input, "rule__GenerationTask__UnorderedGroup_3__Impl", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9)"); + } + // InternalApplicationConfiguration.g:9612:110: ( ( ( rule__GenerationTask__Group_3_9__0 ) ) ) + // InternalApplicationConfiguration.g:9613:5: ( ( rule__GenerationTask__Group_3_9__0 ) ) + { + + getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9); + + + selected = true; + + // InternalApplicationConfiguration.g:9619:5: ( ( rule__GenerationTask__Group_3_9__0 ) ) + // InternalApplicationConfiguration.g:9620:6: ( rule__GenerationTask__Group_3_9__0 ) + { + before(grammarAccess.getGenerationTaskAccess().getGroup_3_9()); + // InternalApplicationConfiguration.g:9621:6: ( rule__GenerationTask__Group_3_9__0 ) + // InternalApplicationConfiguration.g:9621:7: rule__GenerationTask__Group_3_9__0 + { + pushFollow(FOLLOW_2); + rule__GenerationTask__Group_3_9__0(); + + state._fsp--; + + + } + + after(grammarAccess.getGenerationTaskAccess().getGroup_3_9()); + + } + + + } + + + } + + + } + break; + case 11 : + // InternalApplicationConfiguration.g:9626:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_10__0 ) ) ) ) + { + // InternalApplicationConfiguration.g:9626:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_10__0 ) ) ) ) + // InternalApplicationConfiguration.g:9627:4: {...}? => ( ( ( rule__GenerationTask__Group_3_10__0 ) ) ) + { + if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10) ) { + throw new FailedPredicateException(input, "rule__GenerationTask__UnorderedGroup_3__Impl", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10)"); + } + // InternalApplicationConfiguration.g:9627:111: ( ( ( rule__GenerationTask__Group_3_10__0 ) ) ) + // InternalApplicationConfiguration.g:9628:5: ( ( rule__GenerationTask__Group_3_10__0 ) ) + { + + getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10); + + + selected = true; + + // InternalApplicationConfiguration.g:9634:5: ( ( rule__GenerationTask__Group_3_10__0 ) ) + // InternalApplicationConfiguration.g:9635:6: ( rule__GenerationTask__Group_3_10__0 ) + { + before(grammarAccess.getGenerationTaskAccess().getGroup_3_10()); + // InternalApplicationConfiguration.g:9636:6: ( rule__GenerationTask__Group_3_10__0 ) + // InternalApplicationConfiguration.g:9636:7: rule__GenerationTask__Group_3_10__0 + { + pushFollow(FOLLOW_2); + rule__GenerationTask__Group_3_10__0(); + + state._fsp--; + + + } + + after(grammarAccess.getGenerationTaskAccess().getGroup_3_10()); + + } + + + } + + + } + + + } + break; + case 12 : + // InternalApplicationConfiguration.g:9641:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_11__0 ) ) ) ) + { + // InternalApplicationConfiguration.g:9641:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_11__0 ) ) ) ) + // InternalApplicationConfiguration.g:9642:4: {...}? => ( ( ( rule__GenerationTask__Group_3_11__0 ) ) ) + { + if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11) ) { + throw new FailedPredicateException(input, "rule__GenerationTask__UnorderedGroup_3__Impl", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11)"); + } + // InternalApplicationConfiguration.g:9642:111: ( ( ( rule__GenerationTask__Group_3_11__0 ) ) ) + // InternalApplicationConfiguration.g:9643:5: ( ( rule__GenerationTask__Group_3_11__0 ) ) + { + + getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11); + + + selected = true; + + // InternalApplicationConfiguration.g:9649:5: ( ( rule__GenerationTask__Group_3_11__0 ) ) + // InternalApplicationConfiguration.g:9650:6: ( rule__GenerationTask__Group_3_11__0 ) + { + before(grammarAccess.getGenerationTaskAccess().getGroup_3_11()); + // InternalApplicationConfiguration.g:9651:6: ( rule__GenerationTask__Group_3_11__0 ) + // InternalApplicationConfiguration.g:9651:7: rule__GenerationTask__Group_3_11__0 + { + pushFollow(FOLLOW_2); + rule__GenerationTask__Group_3_11__0(); + + state._fsp--; + + + } + + after(grammarAccess.getGenerationTaskAccess().getGroup_3_11()); + + } + + + } + + + } + + + } + break; + case 13 : + // InternalApplicationConfiguration.g:9656:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_12__0 ) ) ) ) + { + // InternalApplicationConfiguration.g:9656:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_12__0 ) ) ) ) + // InternalApplicationConfiguration.g:9657:4: {...}? => ( ( ( rule__GenerationTask__Group_3_12__0 ) ) ) + { + if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 12) ) { + throw new FailedPredicateException(input, "rule__GenerationTask__UnorderedGroup_3__Impl", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 12)"); + } + // InternalApplicationConfiguration.g:9657:111: ( ( ( rule__GenerationTask__Group_3_12__0 ) ) ) + // InternalApplicationConfiguration.g:9658:5: ( ( rule__GenerationTask__Group_3_12__0 ) ) + { + + getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 12); + + + selected = true; + + // InternalApplicationConfiguration.g:9664:5: ( ( rule__GenerationTask__Group_3_12__0 ) ) + // InternalApplicationConfiguration.g:9665:6: ( rule__GenerationTask__Group_3_12__0 ) + { + before(grammarAccess.getGenerationTaskAccess().getGroup_3_12()); + // InternalApplicationConfiguration.g:9666:6: ( rule__GenerationTask__Group_3_12__0 ) + // InternalApplicationConfiguration.g:9666:7: rule__GenerationTask__Group_3_12__0 + { + pushFollow(FOLLOW_2); + rule__GenerationTask__Group_3_12__0(); + + state._fsp--; + + + } + + after(grammarAccess.getGenerationTaskAccess().getGroup_3_12()); + + } + + + } + + + } + + + } + break; + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + if (selected) + getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__GenerationTask__UnorderedGroup_3__Impl" + + + // $ANTLR start "rule__GenerationTask__UnorderedGroup_3__0" + // InternalApplicationConfiguration.g:9679:1: rule__GenerationTask__UnorderedGroup_3__0 : rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__1 )? ; + public final void rule__GenerationTask__UnorderedGroup_3__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:9683:1: ( rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__1 )? ) + // InternalApplicationConfiguration.g:9684:2: rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__1 )? + { + pushFollow(FOLLOW_48); + rule__GenerationTask__UnorderedGroup_3__Impl(); + + state._fsp--; + + // InternalApplicationConfiguration.g:9685:2: ( rule__GenerationTask__UnorderedGroup_3__1 )? + int alt64=2; + alt64 = dfa64.predict(input); + switch (alt64) { + case 1 : + // InternalApplicationConfiguration.g:9685:2: rule__GenerationTask__UnorderedGroup_3__1 + { + pushFollow(FOLLOW_2); + rule__GenerationTask__UnorderedGroup_3__1(); + + state._fsp--; + + + } + break; + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__GenerationTask__UnorderedGroup_3__0" + + + // $ANTLR start "rule__GenerationTask__UnorderedGroup_3__1" + // InternalApplicationConfiguration.g:9691:1: rule__GenerationTask__UnorderedGroup_3__1 : rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__2 )? ; + public final void rule__GenerationTask__UnorderedGroup_3__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:9695:1: ( rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__2 )? ) + // InternalApplicationConfiguration.g:9696:2: rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__2 )? + { + pushFollow(FOLLOW_48); + rule__GenerationTask__UnorderedGroup_3__Impl(); + + state._fsp--; + + // InternalApplicationConfiguration.g:9697:2: ( rule__GenerationTask__UnorderedGroup_3__2 )? + int alt65=2; + alt65 = dfa65.predict(input); + switch (alt65) { + case 1 : + // InternalApplicationConfiguration.g:9697:2: rule__GenerationTask__UnorderedGroup_3__2 + { + pushFollow(FOLLOW_2); + rule__GenerationTask__UnorderedGroup_3__2(); + + state._fsp--; + + + } + break; + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__GenerationTask__UnorderedGroup_3__1" + + + // $ANTLR start "rule__GenerationTask__UnorderedGroup_3__2" + // InternalApplicationConfiguration.g:9703:1: rule__GenerationTask__UnorderedGroup_3__2 : rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__3 )? ; + public final void rule__GenerationTask__UnorderedGroup_3__2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:9707:1: ( rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__3 )? ) + // InternalApplicationConfiguration.g:9708:2: rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__3 )? + { + pushFollow(FOLLOW_48); + rule__GenerationTask__UnorderedGroup_3__Impl(); + + state._fsp--; + + // InternalApplicationConfiguration.g:9709:2: ( rule__GenerationTask__UnorderedGroup_3__3 )? + int alt66=2; + alt66 = dfa66.predict(input); + switch (alt66) { + case 1 : + // InternalApplicationConfiguration.g:9709:2: rule__GenerationTask__UnorderedGroup_3__3 + { + pushFollow(FOLLOW_2); + rule__GenerationTask__UnorderedGroup_3__3(); + + state._fsp--; + + + } + break; + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__GenerationTask__UnorderedGroup_3__2" + + + // $ANTLR start "rule__GenerationTask__UnorderedGroup_3__3" + // InternalApplicationConfiguration.g:9715:1: rule__GenerationTask__UnorderedGroup_3__3 : rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__4 )? ; + public final void rule__GenerationTask__UnorderedGroup_3__3() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:9719:1: ( rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__4 )? ) + // InternalApplicationConfiguration.g:9720:2: rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__4 )? + { + pushFollow(FOLLOW_48); + rule__GenerationTask__UnorderedGroup_3__Impl(); + + state._fsp--; + + // InternalApplicationConfiguration.g:9721:2: ( rule__GenerationTask__UnorderedGroup_3__4 )? + int alt67=2; + alt67 = dfa67.predict(input); + switch (alt67) { + case 1 : + // InternalApplicationConfiguration.g:9721:2: rule__GenerationTask__UnorderedGroup_3__4 + { + pushFollow(FOLLOW_2); + rule__GenerationTask__UnorderedGroup_3__4(); + + state._fsp--; + + + } + break; + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__GenerationTask__UnorderedGroup_3__3" + + + // $ANTLR start "rule__GenerationTask__UnorderedGroup_3__4" + // InternalApplicationConfiguration.g:9727:1: rule__GenerationTask__UnorderedGroup_3__4 : rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__5 )? ; + public final void rule__GenerationTask__UnorderedGroup_3__4() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:9731:1: ( rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__5 )? ) + // InternalApplicationConfiguration.g:9732:2: rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__5 )? + { + pushFollow(FOLLOW_48); + rule__GenerationTask__UnorderedGroup_3__Impl(); + + state._fsp--; + + // InternalApplicationConfiguration.g:9733:2: ( rule__GenerationTask__UnorderedGroup_3__5 )? + int alt68=2; + alt68 = dfa68.predict(input); + switch (alt68) { + case 1 : + // InternalApplicationConfiguration.g:9733:2: rule__GenerationTask__UnorderedGroup_3__5 + { + pushFollow(FOLLOW_2); + rule__GenerationTask__UnorderedGroup_3__5(); + + state._fsp--; + + + } + break; + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__GenerationTask__UnorderedGroup_3__4" + + + // $ANTLR start "rule__GenerationTask__UnorderedGroup_3__5" + // InternalApplicationConfiguration.g:9739:1: rule__GenerationTask__UnorderedGroup_3__5 : rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__6 )? ; + public final void rule__GenerationTask__UnorderedGroup_3__5() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:9743:1: ( rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__6 )? ) + // InternalApplicationConfiguration.g:9744:2: rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__6 )? + { + pushFollow(FOLLOW_48); + rule__GenerationTask__UnorderedGroup_3__Impl(); + + state._fsp--; + + // InternalApplicationConfiguration.g:9745:2: ( rule__GenerationTask__UnorderedGroup_3__6 )? + int alt69=2; + alt69 = dfa69.predict(input); + switch (alt69) { + case 1 : + // InternalApplicationConfiguration.g:9745:2: rule__GenerationTask__UnorderedGroup_3__6 + { + pushFollow(FOLLOW_2); + rule__GenerationTask__UnorderedGroup_3__6(); + + state._fsp--; + + + } + break; + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__GenerationTask__UnorderedGroup_3__5" + + + // $ANTLR start "rule__GenerationTask__UnorderedGroup_3__6" + // InternalApplicationConfiguration.g:9751:1: rule__GenerationTask__UnorderedGroup_3__6 : rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__7 )? ; + public final void rule__GenerationTask__UnorderedGroup_3__6() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:9755:1: ( rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__7 )? ) + // InternalApplicationConfiguration.g:9756:2: rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__7 )? + { + pushFollow(FOLLOW_48); + rule__GenerationTask__UnorderedGroup_3__Impl(); + + state._fsp--; + + // InternalApplicationConfiguration.g:9757:2: ( rule__GenerationTask__UnorderedGroup_3__7 )? + int alt70=2; + alt70 = dfa70.predict(input); + switch (alt70) { + case 1 : + // InternalApplicationConfiguration.g:9757:2: rule__GenerationTask__UnorderedGroup_3__7 + { + pushFollow(FOLLOW_2); + rule__GenerationTask__UnorderedGroup_3__7(); + + state._fsp--; + + + } + break; + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__GenerationTask__UnorderedGroup_3__6" + + + // $ANTLR start "rule__GenerationTask__UnorderedGroup_3__7" + // InternalApplicationConfiguration.g:9763:1: rule__GenerationTask__UnorderedGroup_3__7 : rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__8 )? ; + public final void rule__GenerationTask__UnorderedGroup_3__7() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:9767:1: ( rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__8 )? ) + // InternalApplicationConfiguration.g:9768:2: rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__8 )? + { + pushFollow(FOLLOW_48); + rule__GenerationTask__UnorderedGroup_3__Impl(); + + state._fsp--; + + // InternalApplicationConfiguration.g:9769:2: ( rule__GenerationTask__UnorderedGroup_3__8 )? + int alt71=2; + alt71 = dfa71.predict(input); + switch (alt71) { + case 1 : + // InternalApplicationConfiguration.g:9769:2: rule__GenerationTask__UnorderedGroup_3__8 + { + pushFollow(FOLLOW_2); + rule__GenerationTask__UnorderedGroup_3__8(); + + state._fsp--; + + + } + break; + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__GenerationTask__UnorderedGroup_3__7" + + + // $ANTLR start "rule__GenerationTask__UnorderedGroup_3__8" + // InternalApplicationConfiguration.g:9775:1: rule__GenerationTask__UnorderedGroup_3__8 : rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__9 )? ; + public final void rule__GenerationTask__UnorderedGroup_3__8() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:9779:1: ( rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__9 )? ) + // InternalApplicationConfiguration.g:9780:2: rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__9 )? + { + pushFollow(FOLLOW_48); + rule__GenerationTask__UnorderedGroup_3__Impl(); + + state._fsp--; + + // InternalApplicationConfiguration.g:9781:2: ( rule__GenerationTask__UnorderedGroup_3__9 )? + int alt72=2; + alt72 = dfa72.predict(input); + switch (alt72) { + case 1 : + // InternalApplicationConfiguration.g:9781:2: rule__GenerationTask__UnorderedGroup_3__9 + { + pushFollow(FOLLOW_2); + rule__GenerationTask__UnorderedGroup_3__9(); + + state._fsp--; + + + } + break; + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__GenerationTask__UnorderedGroup_3__8" + + + // $ANTLR start "rule__GenerationTask__UnorderedGroup_3__9" + // InternalApplicationConfiguration.g:9787:1: rule__GenerationTask__UnorderedGroup_3__9 : rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__10 )? ; + public final void rule__GenerationTask__UnorderedGroup_3__9() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:9791:1: ( rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__10 )? ) + // InternalApplicationConfiguration.g:9792:2: rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__10 )? + { + pushFollow(FOLLOW_48); + rule__GenerationTask__UnorderedGroup_3__Impl(); + + state._fsp--; + + // InternalApplicationConfiguration.g:9793:2: ( rule__GenerationTask__UnorderedGroup_3__10 )? + int alt73=2; + alt73 = dfa73.predict(input); + switch (alt73) { + case 1 : + // InternalApplicationConfiguration.g:9793:2: rule__GenerationTask__UnorderedGroup_3__10 + { + pushFollow(FOLLOW_2); + rule__GenerationTask__UnorderedGroup_3__10(); + + state._fsp--; + + + } + break; + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__GenerationTask__UnorderedGroup_3__9" + + + // $ANTLR start "rule__GenerationTask__UnorderedGroup_3__10" + // InternalApplicationConfiguration.g:9799:1: rule__GenerationTask__UnorderedGroup_3__10 : rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__11 )? ; + public final void rule__GenerationTask__UnorderedGroup_3__10() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:9803:1: ( rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__11 )? ) + // InternalApplicationConfiguration.g:9804:2: rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__11 )? + { + pushFollow(FOLLOW_48); + rule__GenerationTask__UnorderedGroup_3__Impl(); + + state._fsp--; + + // InternalApplicationConfiguration.g:9805:2: ( rule__GenerationTask__UnorderedGroup_3__11 )? + int alt74=2; + alt74 = dfa74.predict(input); + switch (alt74) { + case 1 : + // InternalApplicationConfiguration.g:9805:2: rule__GenerationTask__UnorderedGroup_3__11 + { + pushFollow(FOLLOW_2); + rule__GenerationTask__UnorderedGroup_3__11(); + + state._fsp--; + + + } + break; + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__GenerationTask__UnorderedGroup_3__10" + + + // $ANTLR start "rule__GenerationTask__UnorderedGroup_3__11" + // InternalApplicationConfiguration.g:9811:1: rule__GenerationTask__UnorderedGroup_3__11 : rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__12 )? ; + public final void rule__GenerationTask__UnorderedGroup_3__11() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:9815:1: ( rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__12 )? ) + // InternalApplicationConfiguration.g:9816:2: rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__12 )? + { + pushFollow(FOLLOW_48); + rule__GenerationTask__UnorderedGroup_3__Impl(); + + state._fsp--; + + // InternalApplicationConfiguration.g:9817:2: ( rule__GenerationTask__UnorderedGroup_3__12 )? + int alt75=2; + alt75 = dfa75.predict(input); + switch (alt75) { + case 1 : + // InternalApplicationConfiguration.g:9817:2: rule__GenerationTask__UnorderedGroup_3__12 + { + pushFollow(FOLLOW_2); + rule__GenerationTask__UnorderedGroup_3__12(); + + state._fsp--; + + + } + break; + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__GenerationTask__UnorderedGroup_3__11" + + + // $ANTLR start "rule__GenerationTask__UnorderedGroup_3__12" + // InternalApplicationConfiguration.g:9823:1: rule__GenerationTask__UnorderedGroup_3__12 : rule__GenerationTask__UnorderedGroup_3__Impl ; + public final void rule__GenerationTask__UnorderedGroup_3__12() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:9827:1: ( rule__GenerationTask__UnorderedGroup_3__Impl ) + // InternalApplicationConfiguration.g:9828:2: rule__GenerationTask__UnorderedGroup_3__Impl + { + pushFollow(FOLLOW_2); + rule__GenerationTask__UnorderedGroup_3__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__GenerationTask__UnorderedGroup_3__12" + + + // $ANTLR start "rule__ConfigurationScript__ImportsAssignment_0" + // InternalApplicationConfiguration.g:9835:1: rule__ConfigurationScript__ImportsAssignment_0 : ( ruleImport ) ; + public final void rule__ConfigurationScript__ImportsAssignment_0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:9839:1: ( ( ruleImport ) ) + // InternalApplicationConfiguration.g:9840:2: ( ruleImport ) + { + // InternalApplicationConfiguration.g:9840:2: ( ruleImport ) + // InternalApplicationConfiguration.g:9841:3: ruleImport + { + before(grammarAccess.getConfigurationScriptAccess().getImportsImportParserRuleCall_0_0()); + pushFollow(FOLLOW_2); + ruleImport(); + + state._fsp--; + + after(grammarAccess.getConfigurationScriptAccess().getImportsImportParserRuleCall_0_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ConfigurationScript__ImportsAssignment_0" + + + // $ANTLR start "rule__ConfigurationScript__CommandsAssignment_1" + // InternalApplicationConfiguration.g:9850:1: rule__ConfigurationScript__CommandsAssignment_1 : ( ruleCommand ) ; + public final void rule__ConfigurationScript__CommandsAssignment_1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:9854:1: ( ( ruleCommand ) ) + // InternalApplicationConfiguration.g:9855:2: ( ruleCommand ) + { + // InternalApplicationConfiguration.g:9855:2: ( ruleCommand ) + // InternalApplicationConfiguration.g:9856:3: ruleCommand + { + before(grammarAccess.getConfigurationScriptAccess().getCommandsCommandParserRuleCall_1_0()); + pushFollow(FOLLOW_2); + ruleCommand(); + + state._fsp--; + + after(grammarAccess.getConfigurationScriptAccess().getCommandsCommandParserRuleCall_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ConfigurationScript__CommandsAssignment_1" + + + // $ANTLR start "rule__EPackageImport__ImportedPackageAssignment_2" + // InternalApplicationConfiguration.g:9865:1: rule__EPackageImport__ImportedPackageAssignment_2 : ( ( RULE_STRING ) ) ; + public final void rule__EPackageImport__ImportedPackageAssignment_2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:9869:1: ( ( ( RULE_STRING ) ) ) + // InternalApplicationConfiguration.g:9870:2: ( ( RULE_STRING ) ) + { + // InternalApplicationConfiguration.g:9870:2: ( ( RULE_STRING ) ) + // InternalApplicationConfiguration.g:9871:3: ( RULE_STRING ) + { + before(grammarAccess.getEPackageImportAccess().getImportedPackageEPackageCrossReference_2_0()); + // InternalApplicationConfiguration.g:9872:3: ( RULE_STRING ) + // InternalApplicationConfiguration.g:9873:4: RULE_STRING + { + before(grammarAccess.getEPackageImportAccess().getImportedPackageEPackageSTRINGTerminalRuleCall_2_0_1()); + match(input,RULE_STRING,FOLLOW_2); + after(grammarAccess.getEPackageImportAccess().getImportedPackageEPackageSTRINGTerminalRuleCall_2_0_1()); + + } + + after(grammarAccess.getEPackageImportAccess().getImportedPackageEPackageCrossReference_2_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__EPackageImport__ImportedPackageAssignment_2" + + + // $ANTLR start "rule__ViatraImport__ImportedViatraAssignment_2" + // InternalApplicationConfiguration.g:9884:1: rule__ViatraImport__ImportedViatraAssignment_2 : ( ( RULE_STRING ) ) ; + public final void rule__ViatraImport__ImportedViatraAssignment_2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:9888:1: ( ( ( RULE_STRING ) ) ) + // InternalApplicationConfiguration.g:9889:2: ( ( RULE_STRING ) ) + { + // InternalApplicationConfiguration.g:9889:2: ( ( RULE_STRING ) ) + // InternalApplicationConfiguration.g:9890:3: ( RULE_STRING ) + { + before(grammarAccess.getViatraImportAccess().getImportedViatraPatternModelCrossReference_2_0()); + // InternalApplicationConfiguration.g:9891:3: ( RULE_STRING ) + // InternalApplicationConfiguration.g:9892:4: RULE_STRING + { + before(grammarAccess.getViatraImportAccess().getImportedViatraPatternModelSTRINGTerminalRuleCall_2_0_1()); + match(input,RULE_STRING,FOLLOW_2); + after(grammarAccess.getViatraImportAccess().getImportedViatraPatternModelSTRINGTerminalRuleCall_2_0_1()); + + } + + after(grammarAccess.getViatraImportAccess().getImportedViatraPatternModelCrossReference_2_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ViatraImport__ImportedViatraAssignment_2" + + + // $ANTLR start "rule__CftImport__ImportedCftAssignment_2" + // InternalApplicationConfiguration.g:9903:1: rule__CftImport__ImportedCftAssignment_2 : ( ( RULE_STRING ) ) ; + public final void rule__CftImport__ImportedCftAssignment_2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:9907:1: ( ( ( RULE_STRING ) ) ) + // InternalApplicationConfiguration.g:9908:2: ( ( RULE_STRING ) ) + { + // InternalApplicationConfiguration.g:9908:2: ( ( RULE_STRING ) ) + // InternalApplicationConfiguration.g:9909:3: ( RULE_STRING ) + { + before(grammarAccess.getCftImportAccess().getImportedCftCftModelCrossReference_2_0()); + // InternalApplicationConfiguration.g:9910:3: ( RULE_STRING ) + // InternalApplicationConfiguration.g:9911:4: RULE_STRING + { + before(grammarAccess.getCftImportAccess().getImportedCftCftModelSTRINGTerminalRuleCall_2_0_1()); + match(input,RULE_STRING,FOLLOW_2); + after(grammarAccess.getCftImportAccess().getImportedCftCftModelSTRINGTerminalRuleCall_2_0_1()); + + } + + after(grammarAccess.getCftImportAccess().getImportedCftCftModelCrossReference_2_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__CftImport__ImportedCftAssignment_2" + + + // $ANTLR start "rule__FileSpecification__PathAssignment" + // InternalApplicationConfiguration.g:9922:1: rule__FileSpecification__PathAssignment : ( RULE_STRING ) ; + public final void rule__FileSpecification__PathAssignment() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:9926:1: ( ( RULE_STRING ) ) + // InternalApplicationConfiguration.g:9927:2: ( RULE_STRING ) + { + // InternalApplicationConfiguration.g:9927:2: ( RULE_STRING ) + // InternalApplicationConfiguration.g:9928:3: RULE_STRING + { + before(grammarAccess.getFileSpecificationAccess().getPathSTRINGTerminalRuleCall_0()); + match(input,RULE_STRING,FOLLOW_2); + after(grammarAccess.getFileSpecificationAccess().getPathSTRINGTerminalRuleCall_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__FileSpecification__PathAssignment" + + + // $ANTLR start "rule__FileDeclaration__NameAssignment_1" + // InternalApplicationConfiguration.g:9937:1: rule__FileDeclaration__NameAssignment_1 : ( RULE_ID ) ; + public final void rule__FileDeclaration__NameAssignment_1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:9941:1: ( ( RULE_ID ) ) + // InternalApplicationConfiguration.g:9942:2: ( RULE_ID ) + { + // InternalApplicationConfiguration.g:9942:2: ( RULE_ID ) + // InternalApplicationConfiguration.g:9943:3: RULE_ID + { + before(grammarAccess.getFileDeclarationAccess().getNameIDTerminalRuleCall_1_0()); + match(input,RULE_ID,FOLLOW_2); + after(grammarAccess.getFileDeclarationAccess().getNameIDTerminalRuleCall_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__FileDeclaration__NameAssignment_1" + + + // $ANTLR start "rule__FileDeclaration__SpecificationAssignment_3" + // InternalApplicationConfiguration.g:9952:1: rule__FileDeclaration__SpecificationAssignment_3 : ( ruleFileSpecification ) ; + public final void rule__FileDeclaration__SpecificationAssignment_3() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:9956:1: ( ( ruleFileSpecification ) ) + // InternalApplicationConfiguration.g:9957:2: ( ruleFileSpecification ) + { + // InternalApplicationConfiguration.g:9957:2: ( ruleFileSpecification ) + // InternalApplicationConfiguration.g:9958:3: ruleFileSpecification + { + before(grammarAccess.getFileDeclarationAccess().getSpecificationFileSpecificationParserRuleCall_3_0()); + pushFollow(FOLLOW_2); + ruleFileSpecification(); + + state._fsp--; + + after(grammarAccess.getFileDeclarationAccess().getSpecificationFileSpecificationParserRuleCall_3_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__FileDeclaration__SpecificationAssignment_3" + + + // $ANTLR start "rule__FileReference__ReferredAssignment" + // InternalApplicationConfiguration.g:9967:1: rule__FileReference__ReferredAssignment : ( ( RULE_ID ) ) ; + public final void rule__FileReference__ReferredAssignment() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:9971:1: ( ( ( RULE_ID ) ) ) + // InternalApplicationConfiguration.g:9972:2: ( ( RULE_ID ) ) + { + // InternalApplicationConfiguration.g:9972:2: ( ( RULE_ID ) ) + // InternalApplicationConfiguration.g:9973:3: ( RULE_ID ) + { + before(grammarAccess.getFileReferenceAccess().getReferredFileDeclarationCrossReference_0()); + // InternalApplicationConfiguration.g:9974:3: ( RULE_ID ) + // InternalApplicationConfiguration.g:9975:4: RULE_ID + { + before(grammarAccess.getFileReferenceAccess().getReferredFileDeclarationIDTerminalRuleCall_0_1()); + match(input,RULE_ID,FOLLOW_2); + after(grammarAccess.getFileReferenceAccess().getReferredFileDeclarationIDTerminalRuleCall_0_1()); + + } + + after(grammarAccess.getFileReferenceAccess().getReferredFileDeclarationCrossReference_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__FileReference__ReferredAssignment" + + + // $ANTLR start "rule__MetamodelSpecification__EntriesAssignment_1" + // InternalApplicationConfiguration.g:9986:1: rule__MetamodelSpecification__EntriesAssignment_1 : ( ruleMetamodelEntry ) ; + public final void rule__MetamodelSpecification__EntriesAssignment_1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:9990:1: ( ( ruleMetamodelEntry ) ) + // InternalApplicationConfiguration.g:9991:2: ( ruleMetamodelEntry ) + { + // InternalApplicationConfiguration.g:9991:2: ( ruleMetamodelEntry ) + // InternalApplicationConfiguration.g:9992:3: ruleMetamodelEntry + { + before(grammarAccess.getMetamodelSpecificationAccess().getEntriesMetamodelEntryParserRuleCall_1_0()); + pushFollow(FOLLOW_2); + ruleMetamodelEntry(); + + state._fsp--; + + after(grammarAccess.getMetamodelSpecificationAccess().getEntriesMetamodelEntryParserRuleCall_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__MetamodelSpecification__EntriesAssignment_1" + + + // $ANTLR start "rule__MetamodelSpecification__EntriesAssignment_2_1" + // InternalApplicationConfiguration.g:10001:1: rule__MetamodelSpecification__EntriesAssignment_2_1 : ( ruleMetamodelEntry ) ; + public final void rule__MetamodelSpecification__EntriesAssignment_2_1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:10005:1: ( ( ruleMetamodelEntry ) ) + // InternalApplicationConfiguration.g:10006:2: ( ruleMetamodelEntry ) + { + // InternalApplicationConfiguration.g:10006:2: ( ruleMetamodelEntry ) + // InternalApplicationConfiguration.g:10007:3: ruleMetamodelEntry + { + before(grammarAccess.getMetamodelSpecificationAccess().getEntriesMetamodelEntryParserRuleCall_2_1_0()); + pushFollow(FOLLOW_2); + ruleMetamodelEntry(); + + state._fsp--; + + after(grammarAccess.getMetamodelSpecificationAccess().getEntriesMetamodelEntryParserRuleCall_2_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__MetamodelSpecification__EntriesAssignment_2_1" + + + // $ANTLR start "rule__AllPackageEntry__PackageAssignment_1" + // InternalApplicationConfiguration.g:10016:1: rule__AllPackageEntry__PackageAssignment_1 : ( ( ruleQualifiedName ) ) ; + public final void rule__AllPackageEntry__PackageAssignment_1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:10020:1: ( ( ( ruleQualifiedName ) ) ) + // InternalApplicationConfiguration.g:10021:2: ( ( ruleQualifiedName ) ) + { + // InternalApplicationConfiguration.g:10021:2: ( ( ruleQualifiedName ) ) + // InternalApplicationConfiguration.g:10022:3: ( ruleQualifiedName ) + { + before(grammarAccess.getAllPackageEntryAccess().getPackageEPackageCrossReference_1_0()); + // InternalApplicationConfiguration.g:10023:3: ( ruleQualifiedName ) + // InternalApplicationConfiguration.g:10024:4: ruleQualifiedName + { + before(grammarAccess.getAllPackageEntryAccess().getPackageEPackageQualifiedNameParserRuleCall_1_0_1()); + pushFollow(FOLLOW_2); + ruleQualifiedName(); + + state._fsp--; + + after(grammarAccess.getAllPackageEntryAccess().getPackageEPackageQualifiedNameParserRuleCall_1_0_1()); + + } + + after(grammarAccess.getAllPackageEntryAccess().getPackageEPackageCrossReference_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AllPackageEntry__PackageAssignment_1" + + + // $ANTLR start "rule__AllPackageEntry__ExclusionAssignment_2_2" + // InternalApplicationConfiguration.g:10035:1: rule__AllPackageEntry__ExclusionAssignment_2_2 : ( ruleMetamodelElement ) ; + public final void rule__AllPackageEntry__ExclusionAssignment_2_2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:10039:1: ( ( ruleMetamodelElement ) ) + // InternalApplicationConfiguration.g:10040:2: ( ruleMetamodelElement ) + { + // InternalApplicationConfiguration.g:10040:2: ( ruleMetamodelElement ) + // InternalApplicationConfiguration.g:10041:3: ruleMetamodelElement + { + before(grammarAccess.getAllPackageEntryAccess().getExclusionMetamodelElementParserRuleCall_2_2_0()); + pushFollow(FOLLOW_2); + ruleMetamodelElement(); + + state._fsp--; + + after(grammarAccess.getAllPackageEntryAccess().getExclusionMetamodelElementParserRuleCall_2_2_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AllPackageEntry__ExclusionAssignment_2_2" + + + // $ANTLR start "rule__AllPackageEntry__ExclusionAssignment_2_3_1" + // InternalApplicationConfiguration.g:10050:1: rule__AllPackageEntry__ExclusionAssignment_2_3_1 : ( ruleMetamodelElement ) ; + public final void rule__AllPackageEntry__ExclusionAssignment_2_3_1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:10054:1: ( ( ruleMetamodelElement ) ) + // InternalApplicationConfiguration.g:10055:2: ( ruleMetamodelElement ) + { + // InternalApplicationConfiguration.g:10055:2: ( ruleMetamodelElement ) + // InternalApplicationConfiguration.g:10056:3: ruleMetamodelElement + { + before(grammarAccess.getAllPackageEntryAccess().getExclusionMetamodelElementParserRuleCall_2_3_1_0()); + pushFollow(FOLLOW_2); + ruleMetamodelElement(); + + state._fsp--; + + after(grammarAccess.getAllPackageEntryAccess().getExclusionMetamodelElementParserRuleCall_2_3_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AllPackageEntry__ExclusionAssignment_2_3_1" + + + // $ANTLR start "rule__MetamodelElement__PackageAssignment_0_0" + // InternalApplicationConfiguration.g:10065:1: rule__MetamodelElement__PackageAssignment_0_0 : ( ( ruleQualifiedName ) ) ; + public final void rule__MetamodelElement__PackageAssignment_0_0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:10069:1: ( ( ( ruleQualifiedName ) ) ) + // InternalApplicationConfiguration.g:10070:2: ( ( ruleQualifiedName ) ) + { + // InternalApplicationConfiguration.g:10070:2: ( ( ruleQualifiedName ) ) + // InternalApplicationConfiguration.g:10071:3: ( ruleQualifiedName ) + { + before(grammarAccess.getMetamodelElementAccess().getPackageEPackageCrossReference_0_0_0()); + // InternalApplicationConfiguration.g:10072:3: ( ruleQualifiedName ) + // InternalApplicationConfiguration.g:10073:4: ruleQualifiedName + { + before(grammarAccess.getMetamodelElementAccess().getPackageEPackageQualifiedNameParserRuleCall_0_0_0_1()); + pushFollow(FOLLOW_2); + ruleQualifiedName(); + + state._fsp--; + + after(grammarAccess.getMetamodelElementAccess().getPackageEPackageQualifiedNameParserRuleCall_0_0_0_1()); + + } + + after(grammarAccess.getMetamodelElementAccess().getPackageEPackageCrossReference_0_0_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__MetamodelElement__PackageAssignment_0_0" + + + // $ANTLR start "rule__MetamodelElement__ClassifierAssignment_1" + // InternalApplicationConfiguration.g:10084:1: rule__MetamodelElement__ClassifierAssignment_1 : ( ( RULE_ID ) ) ; + public final void rule__MetamodelElement__ClassifierAssignment_1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:10088:1: ( ( ( RULE_ID ) ) ) + // InternalApplicationConfiguration.g:10089:2: ( ( RULE_ID ) ) + { + // InternalApplicationConfiguration.g:10089:2: ( ( RULE_ID ) ) + // InternalApplicationConfiguration.g:10090:3: ( RULE_ID ) + { + before(grammarAccess.getMetamodelElementAccess().getClassifierEClassifierCrossReference_1_0()); + // InternalApplicationConfiguration.g:10091:3: ( RULE_ID ) + // InternalApplicationConfiguration.g:10092:4: RULE_ID + { + before(grammarAccess.getMetamodelElementAccess().getClassifierEClassifierIDTerminalRuleCall_1_0_1()); + match(input,RULE_ID,FOLLOW_2); + after(grammarAccess.getMetamodelElementAccess().getClassifierEClassifierIDTerminalRuleCall_1_0_1()); + + } + + after(grammarAccess.getMetamodelElementAccess().getClassifierEClassifierCrossReference_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__MetamodelElement__ClassifierAssignment_1" + + + // $ANTLR start "rule__MetamodelElement__FeatureAssignment_2_1" + // InternalApplicationConfiguration.g:10103:1: rule__MetamodelElement__FeatureAssignment_2_1 : ( ( RULE_ID ) ) ; + public final void rule__MetamodelElement__FeatureAssignment_2_1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:10107:1: ( ( ( RULE_ID ) ) ) + // InternalApplicationConfiguration.g:10108:2: ( ( RULE_ID ) ) + { + // InternalApplicationConfiguration.g:10108:2: ( ( RULE_ID ) ) + // InternalApplicationConfiguration.g:10109:3: ( RULE_ID ) + { + before(grammarAccess.getMetamodelElementAccess().getFeatureENamedElementCrossReference_2_1_0()); + // InternalApplicationConfiguration.g:10110:3: ( RULE_ID ) + // InternalApplicationConfiguration.g:10111:4: RULE_ID + { + before(grammarAccess.getMetamodelElementAccess().getFeatureENamedElementIDTerminalRuleCall_2_1_0_1()); + match(input,RULE_ID,FOLLOW_2); + after(grammarAccess.getMetamodelElementAccess().getFeatureENamedElementIDTerminalRuleCall_2_1_0_1()); + + } + + after(grammarAccess.getMetamodelElementAccess().getFeatureENamedElementCrossReference_2_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__MetamodelElement__FeatureAssignment_2_1" + + + // $ANTLR start "rule__MetamodelDeclaration__NameAssignment_1" + // InternalApplicationConfiguration.g:10122:1: rule__MetamodelDeclaration__NameAssignment_1 : ( RULE_ID ) ; + public final void rule__MetamodelDeclaration__NameAssignment_1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:10126:1: ( ( RULE_ID ) ) + // InternalApplicationConfiguration.g:10127:2: ( RULE_ID ) + { + // InternalApplicationConfiguration.g:10127:2: ( RULE_ID ) + // InternalApplicationConfiguration.g:10128:3: RULE_ID + { + before(grammarAccess.getMetamodelDeclarationAccess().getNameIDTerminalRuleCall_1_0()); + match(input,RULE_ID,FOLLOW_2); + after(grammarAccess.getMetamodelDeclarationAccess().getNameIDTerminalRuleCall_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__MetamodelDeclaration__NameAssignment_1" + + + // $ANTLR start "rule__MetamodelDeclaration__SpecificationAssignment_2" + // InternalApplicationConfiguration.g:10137:1: rule__MetamodelDeclaration__SpecificationAssignment_2 : ( ruleMetamodelSpecification ) ; + public final void rule__MetamodelDeclaration__SpecificationAssignment_2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:10141:1: ( ( ruleMetamodelSpecification ) ) + // InternalApplicationConfiguration.g:10142:2: ( ruleMetamodelSpecification ) + { + // InternalApplicationConfiguration.g:10142:2: ( ruleMetamodelSpecification ) + // InternalApplicationConfiguration.g:10143:3: ruleMetamodelSpecification + { + before(grammarAccess.getMetamodelDeclarationAccess().getSpecificationMetamodelSpecificationParserRuleCall_2_0()); + pushFollow(FOLLOW_2); + ruleMetamodelSpecification(); + + state._fsp--; + + after(grammarAccess.getMetamodelDeclarationAccess().getSpecificationMetamodelSpecificationParserRuleCall_2_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__MetamodelDeclaration__SpecificationAssignment_2" + + + // $ANTLR start "rule__MetamodelReference__ReferredAssignment" + // InternalApplicationConfiguration.g:10152:1: rule__MetamodelReference__ReferredAssignment : ( ( RULE_ID ) ) ; + public final void rule__MetamodelReference__ReferredAssignment() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:10156:1: ( ( ( RULE_ID ) ) ) + // InternalApplicationConfiguration.g:10157:2: ( ( RULE_ID ) ) + { + // InternalApplicationConfiguration.g:10157:2: ( ( RULE_ID ) ) + // InternalApplicationConfiguration.g:10158:3: ( RULE_ID ) + { + before(grammarAccess.getMetamodelReferenceAccess().getReferredMetamodelDeclarationCrossReference_0()); + // InternalApplicationConfiguration.g:10159:3: ( RULE_ID ) + // InternalApplicationConfiguration.g:10160:4: RULE_ID + { + before(grammarAccess.getMetamodelReferenceAccess().getReferredMetamodelDeclarationIDTerminalRuleCall_0_1()); + match(input,RULE_ID,FOLLOW_2); + after(grammarAccess.getMetamodelReferenceAccess().getReferredMetamodelDeclarationIDTerminalRuleCall_0_1()); + + } + + after(grammarAccess.getMetamodelReferenceAccess().getReferredMetamodelDeclarationCrossReference_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__MetamodelReference__ReferredAssignment" + + + // $ANTLR start "rule__PartialModelSpecification__EntryAssignment_1" + // InternalApplicationConfiguration.g:10171:1: rule__PartialModelSpecification__EntryAssignment_1 : ( rulePartialModelEntry ) ; + public final void rule__PartialModelSpecification__EntryAssignment_1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:10175:1: ( ( rulePartialModelEntry ) ) + // InternalApplicationConfiguration.g:10176:2: ( rulePartialModelEntry ) + { + // InternalApplicationConfiguration.g:10176:2: ( rulePartialModelEntry ) + // InternalApplicationConfiguration.g:10177:3: rulePartialModelEntry + { + before(grammarAccess.getPartialModelSpecificationAccess().getEntryPartialModelEntryParserRuleCall_1_0()); + pushFollow(FOLLOW_2); + rulePartialModelEntry(); + + state._fsp--; + + after(grammarAccess.getPartialModelSpecificationAccess().getEntryPartialModelEntryParserRuleCall_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PartialModelSpecification__EntryAssignment_1" + + + // $ANTLR start "rule__PartialModelSpecification__EntryAssignment_2_1" + // InternalApplicationConfiguration.g:10186:1: rule__PartialModelSpecification__EntryAssignment_2_1 : ( rulePartialModelEntry ) ; + public final void rule__PartialModelSpecification__EntryAssignment_2_1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:10190:1: ( ( rulePartialModelEntry ) ) + // InternalApplicationConfiguration.g:10191:2: ( rulePartialModelEntry ) + { + // InternalApplicationConfiguration.g:10191:2: ( rulePartialModelEntry ) + // InternalApplicationConfiguration.g:10192:3: rulePartialModelEntry + { + before(grammarAccess.getPartialModelSpecificationAccess().getEntryPartialModelEntryParserRuleCall_2_1_0()); + pushFollow(FOLLOW_2); + rulePartialModelEntry(); + + state._fsp--; + + after(grammarAccess.getPartialModelSpecificationAccess().getEntryPartialModelEntryParserRuleCall_2_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PartialModelSpecification__EntryAssignment_2_1" + + + // $ANTLR start "rule__ModelEntry__PathAssignment" + // InternalApplicationConfiguration.g:10201:1: rule__ModelEntry__PathAssignment : ( ruleFile ) ; + public final void rule__ModelEntry__PathAssignment() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:10205:1: ( ( ruleFile ) ) + // InternalApplicationConfiguration.g:10206:2: ( ruleFile ) + { + // InternalApplicationConfiguration.g:10206:2: ( ruleFile ) + // InternalApplicationConfiguration.g:10207:3: ruleFile + { + before(grammarAccess.getModelEntryAccess().getPathFileParserRuleCall_0()); + pushFollow(FOLLOW_2); + ruleFile(); + + state._fsp--; + + after(grammarAccess.getModelEntryAccess().getPathFileParserRuleCall_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ModelEntry__PathAssignment" + + + // $ANTLR start "rule__FolderEntry__PathAssignment_1" + // InternalApplicationConfiguration.g:10216:1: rule__FolderEntry__PathAssignment_1 : ( ruleFile ) ; + public final void rule__FolderEntry__PathAssignment_1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:10220:1: ( ( ruleFile ) ) + // InternalApplicationConfiguration.g:10221:2: ( ruleFile ) + { + // InternalApplicationConfiguration.g:10221:2: ( ruleFile ) + // InternalApplicationConfiguration.g:10222:3: ruleFile + { + before(grammarAccess.getFolderEntryAccess().getPathFileParserRuleCall_1_0()); + pushFollow(FOLLOW_2); + ruleFile(); + + state._fsp--; + + after(grammarAccess.getFolderEntryAccess().getPathFileParserRuleCall_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__FolderEntry__PathAssignment_1" + + + // $ANTLR start "rule__FolderEntry__ExclusionAssignment_2_2" + // InternalApplicationConfiguration.g:10231:1: rule__FolderEntry__ExclusionAssignment_2_2 : ( ruleModelEntry ) ; + public final void rule__FolderEntry__ExclusionAssignment_2_2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:10235:1: ( ( ruleModelEntry ) ) + // InternalApplicationConfiguration.g:10236:2: ( ruleModelEntry ) + { + // InternalApplicationConfiguration.g:10236:2: ( ruleModelEntry ) + // InternalApplicationConfiguration.g:10237:3: ruleModelEntry + { + before(grammarAccess.getFolderEntryAccess().getExclusionModelEntryParserRuleCall_2_2_0()); + pushFollow(FOLLOW_2); + ruleModelEntry(); + + state._fsp--; + + after(grammarAccess.getFolderEntryAccess().getExclusionModelEntryParserRuleCall_2_2_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__FolderEntry__ExclusionAssignment_2_2" + + + // $ANTLR start "rule__FolderEntry__ExclusionAssignment_2_3_1" + // InternalApplicationConfiguration.g:10246:1: rule__FolderEntry__ExclusionAssignment_2_3_1 : ( ruleModelEntry ) ; + public final void rule__FolderEntry__ExclusionAssignment_2_3_1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:10250:1: ( ( ruleModelEntry ) ) + // InternalApplicationConfiguration.g:10251:2: ( ruleModelEntry ) + { + // InternalApplicationConfiguration.g:10251:2: ( ruleModelEntry ) + // InternalApplicationConfiguration.g:10252:3: ruleModelEntry + { + before(grammarAccess.getFolderEntryAccess().getExclusionModelEntryParserRuleCall_2_3_1_0()); + pushFollow(FOLLOW_2); + ruleModelEntry(); + + state._fsp--; + + after(grammarAccess.getFolderEntryAccess().getExclusionModelEntryParserRuleCall_2_3_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__FolderEntry__ExclusionAssignment_2_3_1" + + + // $ANTLR start "rule__PartialModelDeclaration__NameAssignment_1" + // InternalApplicationConfiguration.g:10261:1: rule__PartialModelDeclaration__NameAssignment_1 : ( RULE_ID ) ; + public final void rule__PartialModelDeclaration__NameAssignment_1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:10265:1: ( ( RULE_ID ) ) + // InternalApplicationConfiguration.g:10266:2: ( RULE_ID ) + { + // InternalApplicationConfiguration.g:10266:2: ( RULE_ID ) + // InternalApplicationConfiguration.g:10267:3: RULE_ID + { + before(grammarAccess.getPartialModelDeclarationAccess().getNameIDTerminalRuleCall_1_0()); + match(input,RULE_ID,FOLLOW_2); + after(grammarAccess.getPartialModelDeclarationAccess().getNameIDTerminalRuleCall_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PartialModelDeclaration__NameAssignment_1" + + + // $ANTLR start "rule__PartialModelDeclaration__SpecificationAssignment_2" + // InternalApplicationConfiguration.g:10276:1: rule__PartialModelDeclaration__SpecificationAssignment_2 : ( rulePartialModelSpecification ) ; + public final void rule__PartialModelDeclaration__SpecificationAssignment_2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:10280:1: ( ( rulePartialModelSpecification ) ) + // InternalApplicationConfiguration.g:10281:2: ( rulePartialModelSpecification ) + { + // InternalApplicationConfiguration.g:10281:2: ( rulePartialModelSpecification ) + // InternalApplicationConfiguration.g:10282:3: rulePartialModelSpecification + { + before(grammarAccess.getPartialModelDeclarationAccess().getSpecificationPartialModelSpecificationParserRuleCall_2_0()); + pushFollow(FOLLOW_2); + rulePartialModelSpecification(); + + state._fsp--; + + after(grammarAccess.getPartialModelDeclarationAccess().getSpecificationPartialModelSpecificationParserRuleCall_2_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PartialModelDeclaration__SpecificationAssignment_2" + + + // $ANTLR start "rule__PartialModelReference__ReferredAssignment" + // InternalApplicationConfiguration.g:10291:1: rule__PartialModelReference__ReferredAssignment : ( ( RULE_ID ) ) ; + public final void rule__PartialModelReference__ReferredAssignment() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:10295:1: ( ( ( RULE_ID ) ) ) + // InternalApplicationConfiguration.g:10296:2: ( ( RULE_ID ) ) + { + // InternalApplicationConfiguration.g:10296:2: ( ( RULE_ID ) ) + // InternalApplicationConfiguration.g:10297:3: ( RULE_ID ) + { + before(grammarAccess.getPartialModelReferenceAccess().getReferredPartialModelDeclarationCrossReference_0()); + // InternalApplicationConfiguration.g:10298:3: ( RULE_ID ) + // InternalApplicationConfiguration.g:10299:4: RULE_ID + { + before(grammarAccess.getPartialModelReferenceAccess().getReferredPartialModelDeclarationIDTerminalRuleCall_0_1()); + match(input,RULE_ID,FOLLOW_2); + after(grammarAccess.getPartialModelReferenceAccess().getReferredPartialModelDeclarationIDTerminalRuleCall_0_1()); + + } + + after(grammarAccess.getPartialModelReferenceAccess().getReferredPartialModelDeclarationCrossReference_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PartialModelReference__ReferredAssignment" + + + // $ANTLR start "rule__PatternSpecification__EntriesAssignment_1" + // InternalApplicationConfiguration.g:10310:1: rule__PatternSpecification__EntriesAssignment_1 : ( rulePatternEntry ) ; + public final void rule__PatternSpecification__EntriesAssignment_1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:10314:1: ( ( rulePatternEntry ) ) + // InternalApplicationConfiguration.g:10315:2: ( rulePatternEntry ) + { + // InternalApplicationConfiguration.g:10315:2: ( rulePatternEntry ) + // InternalApplicationConfiguration.g:10316:3: rulePatternEntry + { + before(grammarAccess.getPatternSpecificationAccess().getEntriesPatternEntryParserRuleCall_1_0()); + pushFollow(FOLLOW_2); + rulePatternEntry(); + + state._fsp--; + + after(grammarAccess.getPatternSpecificationAccess().getEntriesPatternEntryParserRuleCall_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PatternSpecification__EntriesAssignment_1" + + + // $ANTLR start "rule__PatternSpecification__EntriesAssignment_2_1" + // InternalApplicationConfiguration.g:10325:1: rule__PatternSpecification__EntriesAssignment_2_1 : ( rulePatternEntry ) ; + public final void rule__PatternSpecification__EntriesAssignment_2_1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:10329:1: ( ( rulePatternEntry ) ) + // InternalApplicationConfiguration.g:10330:2: ( rulePatternEntry ) + { + // InternalApplicationConfiguration.g:10330:2: ( rulePatternEntry ) + // InternalApplicationConfiguration.g:10331:3: rulePatternEntry + { + before(grammarAccess.getPatternSpecificationAccess().getEntriesPatternEntryParserRuleCall_2_1_0()); + pushFollow(FOLLOW_2); + rulePatternEntry(); + + state._fsp--; + + after(grammarAccess.getPatternSpecificationAccess().getEntriesPatternEntryParserRuleCall_2_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PatternSpecification__EntriesAssignment_2_1" + + + // $ANTLR start "rule__AllPatternEntry__PackageAssignment_1" + // InternalApplicationConfiguration.g:10340:1: rule__AllPatternEntry__PackageAssignment_1 : ( ( ruleQualifiedName ) ) ; + public final void rule__AllPatternEntry__PackageAssignment_1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:10344:1: ( ( ( ruleQualifiedName ) ) ) + // InternalApplicationConfiguration.g:10345:2: ( ( ruleQualifiedName ) ) + { + // InternalApplicationConfiguration.g:10345:2: ( ( ruleQualifiedName ) ) + // InternalApplicationConfiguration.g:10346:3: ( ruleQualifiedName ) + { + before(grammarAccess.getAllPatternEntryAccess().getPackagePatternModelCrossReference_1_0()); + // InternalApplicationConfiguration.g:10347:3: ( ruleQualifiedName ) + // InternalApplicationConfiguration.g:10348:4: ruleQualifiedName + { + before(grammarAccess.getAllPatternEntryAccess().getPackagePatternModelQualifiedNameParserRuleCall_1_0_1()); + pushFollow(FOLLOW_2); + ruleQualifiedName(); + + state._fsp--; + + after(grammarAccess.getAllPatternEntryAccess().getPackagePatternModelQualifiedNameParserRuleCall_1_0_1()); + + } + + after(grammarAccess.getAllPatternEntryAccess().getPackagePatternModelCrossReference_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AllPatternEntry__PackageAssignment_1" + + + // $ANTLR start "rule__AllPatternEntry__ExclusuionAssignment_2_2" + // InternalApplicationConfiguration.g:10359:1: rule__AllPatternEntry__ExclusuionAssignment_2_2 : ( rulePatternElement ) ; + public final void rule__AllPatternEntry__ExclusuionAssignment_2_2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:10363:1: ( ( rulePatternElement ) ) + // InternalApplicationConfiguration.g:10364:2: ( rulePatternElement ) + { + // InternalApplicationConfiguration.g:10364:2: ( rulePatternElement ) + // InternalApplicationConfiguration.g:10365:3: rulePatternElement + { + before(grammarAccess.getAllPatternEntryAccess().getExclusuionPatternElementParserRuleCall_2_2_0()); + pushFollow(FOLLOW_2); + rulePatternElement(); + + state._fsp--; + + after(grammarAccess.getAllPatternEntryAccess().getExclusuionPatternElementParserRuleCall_2_2_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AllPatternEntry__ExclusuionAssignment_2_2" + + + // $ANTLR start "rule__AllPatternEntry__ExclusuionAssignment_2_3_1" + // InternalApplicationConfiguration.g:10374:1: rule__AllPatternEntry__ExclusuionAssignment_2_3_1 : ( rulePatternElement ) ; + public final void rule__AllPatternEntry__ExclusuionAssignment_2_3_1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:10378:1: ( ( rulePatternElement ) ) + // InternalApplicationConfiguration.g:10379:2: ( rulePatternElement ) + { + // InternalApplicationConfiguration.g:10379:2: ( rulePatternElement ) + // InternalApplicationConfiguration.g:10380:3: rulePatternElement + { + before(grammarAccess.getAllPatternEntryAccess().getExclusuionPatternElementParserRuleCall_2_3_1_0()); + pushFollow(FOLLOW_2); + rulePatternElement(); + + state._fsp--; + + after(grammarAccess.getAllPatternEntryAccess().getExclusuionPatternElementParserRuleCall_2_3_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AllPatternEntry__ExclusuionAssignment_2_3_1" + + + // $ANTLR start "rule__PatternElement__PackageAssignment_0_0" + // InternalApplicationConfiguration.g:10389:1: rule__PatternElement__PackageAssignment_0_0 : ( ( ruleQualifiedName ) ) ; + public final void rule__PatternElement__PackageAssignment_0_0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:10393:1: ( ( ( ruleQualifiedName ) ) ) + // InternalApplicationConfiguration.g:10394:2: ( ( ruleQualifiedName ) ) + { + // InternalApplicationConfiguration.g:10394:2: ( ( ruleQualifiedName ) ) + // InternalApplicationConfiguration.g:10395:3: ( ruleQualifiedName ) + { + before(grammarAccess.getPatternElementAccess().getPackagePatternModelCrossReference_0_0_0()); + // InternalApplicationConfiguration.g:10396:3: ( ruleQualifiedName ) + // InternalApplicationConfiguration.g:10397:4: ruleQualifiedName + { + before(grammarAccess.getPatternElementAccess().getPackagePatternModelQualifiedNameParserRuleCall_0_0_0_1()); + pushFollow(FOLLOW_2); + ruleQualifiedName(); + + state._fsp--; + + after(grammarAccess.getPatternElementAccess().getPackagePatternModelQualifiedNameParserRuleCall_0_0_0_1()); + + } + + after(grammarAccess.getPatternElementAccess().getPackagePatternModelCrossReference_0_0_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PatternElement__PackageAssignment_0_0" + + + // $ANTLR start "rule__PatternElement__PatternAssignment_1" + // InternalApplicationConfiguration.g:10408:1: rule__PatternElement__PatternAssignment_1 : ( ( RULE_ID ) ) ; + public final void rule__PatternElement__PatternAssignment_1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:10412:1: ( ( ( RULE_ID ) ) ) + // InternalApplicationConfiguration.g:10413:2: ( ( RULE_ID ) ) + { + // InternalApplicationConfiguration.g:10413:2: ( ( RULE_ID ) ) + // InternalApplicationConfiguration.g:10414:3: ( RULE_ID ) + { + before(grammarAccess.getPatternElementAccess().getPatternPatternCrossReference_1_0()); + // InternalApplicationConfiguration.g:10415:3: ( RULE_ID ) + // InternalApplicationConfiguration.g:10416:4: RULE_ID + { + before(grammarAccess.getPatternElementAccess().getPatternPatternIDTerminalRuleCall_1_0_1()); + match(input,RULE_ID,FOLLOW_2); + after(grammarAccess.getPatternElementAccess().getPatternPatternIDTerminalRuleCall_1_0_1()); + + } + + after(grammarAccess.getPatternElementAccess().getPatternPatternCrossReference_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PatternElement__PatternAssignment_1" + + + // $ANTLR start "rule__GraphPatternDeclaration__NameAssignment_1" + // InternalApplicationConfiguration.g:10427:1: rule__GraphPatternDeclaration__NameAssignment_1 : ( RULE_ID ) ; + public final void rule__GraphPatternDeclaration__NameAssignment_1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:10431:1: ( ( RULE_ID ) ) + // InternalApplicationConfiguration.g:10432:2: ( RULE_ID ) + { + // InternalApplicationConfiguration.g:10432:2: ( RULE_ID ) + // InternalApplicationConfiguration.g:10433:3: RULE_ID + { + before(grammarAccess.getGraphPatternDeclarationAccess().getNameIDTerminalRuleCall_1_0()); + match(input,RULE_ID,FOLLOW_2); + after(grammarAccess.getGraphPatternDeclarationAccess().getNameIDTerminalRuleCall_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__GraphPatternDeclaration__NameAssignment_1" + + + // $ANTLR start "rule__GraphPatternDeclaration__SpecificationAssignment_2" + // InternalApplicationConfiguration.g:10442:1: rule__GraphPatternDeclaration__SpecificationAssignment_2 : ( rulePatternSpecification ) ; + public final void rule__GraphPatternDeclaration__SpecificationAssignment_2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:10446:1: ( ( rulePatternSpecification ) ) + // InternalApplicationConfiguration.g:10447:2: ( rulePatternSpecification ) + { + // InternalApplicationConfiguration.g:10447:2: ( rulePatternSpecification ) + // InternalApplicationConfiguration.g:10448:3: rulePatternSpecification + { + before(grammarAccess.getGraphPatternDeclarationAccess().getSpecificationPatternSpecificationParserRuleCall_2_0()); + pushFollow(FOLLOW_2); + rulePatternSpecification(); + + state._fsp--; + + after(grammarAccess.getGraphPatternDeclarationAccess().getSpecificationPatternSpecificationParserRuleCall_2_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__GraphPatternDeclaration__SpecificationAssignment_2" + + + // $ANTLR start "rule__GraphPatternReference__ReferredAssignment" + // InternalApplicationConfiguration.g:10457:1: rule__GraphPatternReference__ReferredAssignment : ( ( RULE_ID ) ) ; + public final void rule__GraphPatternReference__ReferredAssignment() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:10461:1: ( ( ( RULE_ID ) ) ) + // InternalApplicationConfiguration.g:10462:2: ( ( RULE_ID ) ) + { + // InternalApplicationConfiguration.g:10462:2: ( ( RULE_ID ) ) + // InternalApplicationConfiguration.g:10463:3: ( RULE_ID ) + { + before(grammarAccess.getGraphPatternReferenceAccess().getReferredGraphPatternDeclarationCrossReference_0()); + // InternalApplicationConfiguration.g:10464:3: ( RULE_ID ) + // InternalApplicationConfiguration.g:10465:4: RULE_ID + { + before(grammarAccess.getGraphPatternReferenceAccess().getReferredGraphPatternDeclarationIDTerminalRuleCall_0_1()); + match(input,RULE_ID,FOLLOW_2); + after(grammarAccess.getGraphPatternReferenceAccess().getReferredGraphPatternDeclarationIDTerminalRuleCall_0_1()); + + } + + after(grammarAccess.getGraphPatternReferenceAccess().getReferredGraphPatternDeclarationCrossReference_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__GraphPatternReference__ReferredAssignment" + + + // $ANTLR start "rule__ObjectiveSpecification__EntriesAssignment_1" + // InternalApplicationConfiguration.g:10476:1: rule__ObjectiveSpecification__EntriesAssignment_1 : ( ruleObjectiveEntry ) ; + public final void rule__ObjectiveSpecification__EntriesAssignment_1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:10480:1: ( ( ruleObjectiveEntry ) ) + // InternalApplicationConfiguration.g:10481:2: ( ruleObjectiveEntry ) + { + // InternalApplicationConfiguration.g:10481:2: ( ruleObjectiveEntry ) + // InternalApplicationConfiguration.g:10482:3: ruleObjectiveEntry + { + before(grammarAccess.getObjectiveSpecificationAccess().getEntriesObjectiveEntryParserRuleCall_1_0()); + pushFollow(FOLLOW_2); + ruleObjectiveEntry(); + + state._fsp--; + + after(grammarAccess.getObjectiveSpecificationAccess().getEntriesObjectiveEntryParserRuleCall_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ObjectiveSpecification__EntriesAssignment_1" + + + // $ANTLR start "rule__ObjectiveSpecification__EntriesAssignment_2_1" + // InternalApplicationConfiguration.g:10491:1: rule__ObjectiveSpecification__EntriesAssignment_2_1 : ( ruleObjectiveEntry ) ; + public final void rule__ObjectiveSpecification__EntriesAssignment_2_1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:10495:1: ( ( ruleObjectiveEntry ) ) + // InternalApplicationConfiguration.g:10496:2: ( ruleObjectiveEntry ) + { + // InternalApplicationConfiguration.g:10496:2: ( ruleObjectiveEntry ) + // InternalApplicationConfiguration.g:10497:3: ruleObjectiveEntry + { + before(grammarAccess.getObjectiveSpecificationAccess().getEntriesObjectiveEntryParserRuleCall_2_1_0()); + pushFollow(FOLLOW_2); + ruleObjectiveEntry(); + + state._fsp--; + + after(grammarAccess.getObjectiveSpecificationAccess().getEntriesObjectiveEntryParserRuleCall_2_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ObjectiveSpecification__EntriesAssignment_2_1" + + + // $ANTLR start "rule__OptimizationEntry__DirectionAssignment_0" + // InternalApplicationConfiguration.g:10506:1: rule__OptimizationEntry__DirectionAssignment_0 : ( ruleOptimizationDirection ) ; + public final void rule__OptimizationEntry__DirectionAssignment_0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:10510:1: ( ( ruleOptimizationDirection ) ) + // InternalApplicationConfiguration.g:10511:2: ( ruleOptimizationDirection ) + { + // InternalApplicationConfiguration.g:10511:2: ( ruleOptimizationDirection ) + // InternalApplicationConfiguration.g:10512:3: ruleOptimizationDirection + { + before(grammarAccess.getOptimizationEntryAccess().getDirectionOptimizationDirectionEnumRuleCall_0_0()); + pushFollow(FOLLOW_2); + ruleOptimizationDirection(); + + state._fsp--; + + after(grammarAccess.getOptimizationEntryAccess().getDirectionOptimizationDirectionEnumRuleCall_0_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__OptimizationEntry__DirectionAssignment_0" + + + // $ANTLR start "rule__OptimizationEntry__FunctionAssignment_1" + // InternalApplicationConfiguration.g:10521:1: rule__OptimizationEntry__FunctionAssignment_1 : ( ruleObjectiveFunction ) ; + public final void rule__OptimizationEntry__FunctionAssignment_1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:10525:1: ( ( ruleObjectiveFunction ) ) + // InternalApplicationConfiguration.g:10526:2: ( ruleObjectiveFunction ) + { + // InternalApplicationConfiguration.g:10526:2: ( ruleObjectiveFunction ) + // InternalApplicationConfiguration.g:10527:3: ruleObjectiveFunction + { + before(grammarAccess.getOptimizationEntryAccess().getFunctionObjectiveFunctionParserRuleCall_1_0()); + pushFollow(FOLLOW_2); + ruleObjectiveFunction(); + + state._fsp--; + + after(grammarAccess.getOptimizationEntryAccess().getFunctionObjectiveFunctionParserRuleCall_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__OptimizationEntry__FunctionAssignment_1" + + + // $ANTLR start "rule__ThresholdEntry__FunctionAssignment_0" + // InternalApplicationConfiguration.g:10536:1: rule__ThresholdEntry__FunctionAssignment_0 : ( ruleObjectiveFunction ) ; + public final void rule__ThresholdEntry__FunctionAssignment_0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:10540:1: ( ( ruleObjectiveFunction ) ) + // InternalApplicationConfiguration.g:10541:2: ( ruleObjectiveFunction ) + { + // InternalApplicationConfiguration.g:10541:2: ( ruleObjectiveFunction ) + // InternalApplicationConfiguration.g:10542:3: ruleObjectiveFunction + { + before(grammarAccess.getThresholdEntryAccess().getFunctionObjectiveFunctionParserRuleCall_0_0()); + pushFollow(FOLLOW_2); + ruleObjectiveFunction(); + + state._fsp--; + + after(grammarAccess.getThresholdEntryAccess().getFunctionObjectiveFunctionParserRuleCall_0_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ThresholdEntry__FunctionAssignment_0" + + + // $ANTLR start "rule__ThresholdEntry__OperatorAssignment_1" + // InternalApplicationConfiguration.g:10551:1: rule__ThresholdEntry__OperatorAssignment_1 : ( ruleComparisonOperator ) ; + public final void rule__ThresholdEntry__OperatorAssignment_1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:10555:1: ( ( ruleComparisonOperator ) ) + // InternalApplicationConfiguration.g:10556:2: ( ruleComparisonOperator ) + { + // InternalApplicationConfiguration.g:10556:2: ( ruleComparisonOperator ) + // InternalApplicationConfiguration.g:10557:3: ruleComparisonOperator + { + before(grammarAccess.getThresholdEntryAccess().getOperatorComparisonOperatorEnumRuleCall_1_0()); + pushFollow(FOLLOW_2); + ruleComparisonOperator(); + + state._fsp--; + + after(grammarAccess.getThresholdEntryAccess().getOperatorComparisonOperatorEnumRuleCall_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ThresholdEntry__OperatorAssignment_1" + + + // $ANTLR start "rule__ThresholdEntry__ThresholdAssignment_2" + // InternalApplicationConfiguration.g:10566:1: rule__ThresholdEntry__ThresholdAssignment_2 : ( ruleREALLiteral ) ; + public final void rule__ThresholdEntry__ThresholdAssignment_2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:10570:1: ( ( ruleREALLiteral ) ) + // InternalApplicationConfiguration.g:10571:2: ( ruleREALLiteral ) + { + // InternalApplicationConfiguration.g:10571:2: ( ruleREALLiteral ) + // InternalApplicationConfiguration.g:10572:3: ruleREALLiteral + { + before(grammarAccess.getThresholdEntryAccess().getThresholdREALLiteralParserRuleCall_2_0()); + pushFollow(FOLLOW_2); + ruleREALLiteral(); + + state._fsp--; + + after(grammarAccess.getThresholdEntryAccess().getThresholdREALLiteralParserRuleCall_2_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ThresholdEntry__ThresholdAssignment_2" + + + // $ANTLR start "rule__ReliabiltiyFunction__PackageAssignment_1_0" + // InternalApplicationConfiguration.g:10581:1: rule__ReliabiltiyFunction__PackageAssignment_1_0 : ( ( ruleQualifiedName ) ) ; + public final void rule__ReliabiltiyFunction__PackageAssignment_1_0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:10585:1: ( ( ( ruleQualifiedName ) ) ) + // InternalApplicationConfiguration.g:10586:2: ( ( ruleQualifiedName ) ) + { + // InternalApplicationConfiguration.g:10586:2: ( ( ruleQualifiedName ) ) + // InternalApplicationConfiguration.g:10587:3: ( ruleQualifiedName ) + { + before(grammarAccess.getReliabiltiyFunctionAccess().getPackageCftModelCrossReference_1_0_0()); + // InternalApplicationConfiguration.g:10588:3: ( ruleQualifiedName ) + // InternalApplicationConfiguration.g:10589:4: ruleQualifiedName + { + before(grammarAccess.getReliabiltiyFunctionAccess().getPackageCftModelQualifiedNameParserRuleCall_1_0_0_1()); + pushFollow(FOLLOW_2); + ruleQualifiedName(); + + state._fsp--; + + after(grammarAccess.getReliabiltiyFunctionAccess().getPackageCftModelQualifiedNameParserRuleCall_1_0_0_1()); + + } + + after(grammarAccess.getReliabiltiyFunctionAccess().getPackageCftModelCrossReference_1_0_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ReliabiltiyFunction__PackageAssignment_1_0" + + + // $ANTLR start "rule__ReliabiltiyFunction__TransformationAssignment_2" + // InternalApplicationConfiguration.g:10600:1: rule__ReliabiltiyFunction__TransformationAssignment_2 : ( ( RULE_ID ) ) ; + public final void rule__ReliabiltiyFunction__TransformationAssignment_2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:10604:1: ( ( ( RULE_ID ) ) ) + // InternalApplicationConfiguration.g:10605:2: ( ( RULE_ID ) ) + { + // InternalApplicationConfiguration.g:10605:2: ( ( RULE_ID ) ) + // InternalApplicationConfiguration.g:10606:3: ( RULE_ID ) + { + before(grammarAccess.getReliabiltiyFunctionAccess().getTransformationTransformationDefinitionCrossReference_2_0()); + // InternalApplicationConfiguration.g:10607:3: ( RULE_ID ) + // InternalApplicationConfiguration.g:10608:4: RULE_ID + { + before(grammarAccess.getReliabiltiyFunctionAccess().getTransformationTransformationDefinitionIDTerminalRuleCall_2_0_1()); + match(input,RULE_ID,FOLLOW_2); + after(grammarAccess.getReliabiltiyFunctionAccess().getTransformationTransformationDefinitionIDTerminalRuleCall_2_0_1()); + + } + + after(grammarAccess.getReliabiltiyFunctionAccess().getTransformationTransformationDefinitionCrossReference_2_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ReliabiltiyFunction__TransformationAssignment_2" + + + // $ANTLR start "rule__ObjectiveDeclaration__NameAssignment_1" + // InternalApplicationConfiguration.g:10619:1: rule__ObjectiveDeclaration__NameAssignment_1 : ( RULE_ID ) ; + public final void rule__ObjectiveDeclaration__NameAssignment_1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:10623:1: ( ( RULE_ID ) ) + // InternalApplicationConfiguration.g:10624:2: ( RULE_ID ) + { + // InternalApplicationConfiguration.g:10624:2: ( RULE_ID ) + // InternalApplicationConfiguration.g:10625:3: RULE_ID + { + before(grammarAccess.getObjectiveDeclarationAccess().getNameIDTerminalRuleCall_1_0()); + match(input,RULE_ID,FOLLOW_2); + after(grammarAccess.getObjectiveDeclarationAccess().getNameIDTerminalRuleCall_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ObjectiveDeclaration__NameAssignment_1" + + + // $ANTLR start "rule__ObjectiveDeclaration__SpecificationAssignment_2" + // InternalApplicationConfiguration.g:10634:1: rule__ObjectiveDeclaration__SpecificationAssignment_2 : ( ruleObjectiveSpecification ) ; + public final void rule__ObjectiveDeclaration__SpecificationAssignment_2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:10638:1: ( ( ruleObjectiveSpecification ) ) + // InternalApplicationConfiguration.g:10639:2: ( ruleObjectiveSpecification ) + { + // InternalApplicationConfiguration.g:10639:2: ( ruleObjectiveSpecification ) + // InternalApplicationConfiguration.g:10640:3: ruleObjectiveSpecification + { + before(grammarAccess.getObjectiveDeclarationAccess().getSpecificationObjectiveSpecificationParserRuleCall_2_0()); + pushFollow(FOLLOW_2); + ruleObjectiveSpecification(); + + state._fsp--; + + after(grammarAccess.getObjectiveDeclarationAccess().getSpecificationObjectiveSpecificationParserRuleCall_2_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ObjectiveDeclaration__SpecificationAssignment_2" + + + // $ANTLR start "rule__ObjectiveReference__ReferredAssignment" + // InternalApplicationConfiguration.g:10649:1: rule__ObjectiveReference__ReferredAssignment : ( ( RULE_ID ) ) ; + public final void rule__ObjectiveReference__ReferredAssignment() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:10653:1: ( ( ( RULE_ID ) ) ) + // InternalApplicationConfiguration.g:10654:2: ( ( RULE_ID ) ) + { + // InternalApplicationConfiguration.g:10654:2: ( ( RULE_ID ) ) + // InternalApplicationConfiguration.g:10655:3: ( RULE_ID ) + { + before(grammarAccess.getObjectiveReferenceAccess().getReferredObjectiveDeclarationCrossReference_0()); + // InternalApplicationConfiguration.g:10656:3: ( RULE_ID ) + // InternalApplicationConfiguration.g:10657:4: RULE_ID + { + before(grammarAccess.getObjectiveReferenceAccess().getReferredObjectiveDeclarationIDTerminalRuleCall_0_1()); + match(input,RULE_ID,FOLLOW_2); + after(grammarAccess.getObjectiveReferenceAccess().getReferredObjectiveDeclarationIDTerminalRuleCall_0_1()); + + } + + after(grammarAccess.getObjectiveReferenceAccess().getReferredObjectiveDeclarationCrossReference_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ObjectiveReference__ReferredAssignment" + + + // $ANTLR start "rule__ConfigSpecification__EntriesAssignment_2_0" + // InternalApplicationConfiguration.g:10668:1: rule__ConfigSpecification__EntriesAssignment_2_0 : ( ruleConfigEntry ) ; + public final void rule__ConfigSpecification__EntriesAssignment_2_0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:10672:1: ( ( ruleConfigEntry ) ) + // InternalApplicationConfiguration.g:10673:2: ( ruleConfigEntry ) + { + // InternalApplicationConfiguration.g:10673:2: ( ruleConfigEntry ) + // InternalApplicationConfiguration.g:10674:3: ruleConfigEntry + { + before(grammarAccess.getConfigSpecificationAccess().getEntriesConfigEntryParserRuleCall_2_0_0()); + pushFollow(FOLLOW_2); + ruleConfigEntry(); + + state._fsp--; + + after(grammarAccess.getConfigSpecificationAccess().getEntriesConfigEntryParserRuleCall_2_0_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ConfigSpecification__EntriesAssignment_2_0" + + + // $ANTLR start "rule__ConfigSpecification__EntriesAssignment_2_1_1" + // InternalApplicationConfiguration.g:10683:1: rule__ConfigSpecification__EntriesAssignment_2_1_1 : ( ruleConfigEntry ) ; + public final void rule__ConfigSpecification__EntriesAssignment_2_1_1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:10687:1: ( ( ruleConfigEntry ) ) + // InternalApplicationConfiguration.g:10688:2: ( ruleConfigEntry ) + { + // InternalApplicationConfiguration.g:10688:2: ( ruleConfigEntry ) + // InternalApplicationConfiguration.g:10689:3: ruleConfigEntry + { + before(grammarAccess.getConfigSpecificationAccess().getEntriesConfigEntryParserRuleCall_2_1_1_0()); + pushFollow(FOLLOW_2); + ruleConfigEntry(); + + state._fsp--; + + after(grammarAccess.getConfigSpecificationAccess().getEntriesConfigEntryParserRuleCall_2_1_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ConfigSpecification__EntriesAssignment_2_1_1" + + + // $ANTLR start "rule__ConfigDeclaration__NameAssignment_1" + // InternalApplicationConfiguration.g:10698:1: rule__ConfigDeclaration__NameAssignment_1 : ( RULE_ID ) ; + public final void rule__ConfigDeclaration__NameAssignment_1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:10702:1: ( ( RULE_ID ) ) + // InternalApplicationConfiguration.g:10703:2: ( RULE_ID ) + { + // InternalApplicationConfiguration.g:10703:2: ( RULE_ID ) + // InternalApplicationConfiguration.g:10704:3: RULE_ID + { + before(grammarAccess.getConfigDeclarationAccess().getNameIDTerminalRuleCall_1_0()); + match(input,RULE_ID,FOLLOW_2); + after(grammarAccess.getConfigDeclarationAccess().getNameIDTerminalRuleCall_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ConfigDeclaration__NameAssignment_1" + + + // $ANTLR start "rule__ConfigDeclaration__SpecificationAssignment_2" + // InternalApplicationConfiguration.g:10713:1: rule__ConfigDeclaration__SpecificationAssignment_2 : ( ruleConfigSpecification ) ; + public final void rule__ConfigDeclaration__SpecificationAssignment_2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:10717:1: ( ( ruleConfigSpecification ) ) + // InternalApplicationConfiguration.g:10718:2: ( ruleConfigSpecification ) + { + // InternalApplicationConfiguration.g:10718:2: ( ruleConfigSpecification ) + // InternalApplicationConfiguration.g:10719:3: ruleConfigSpecification + { + before(grammarAccess.getConfigDeclarationAccess().getSpecificationConfigSpecificationParserRuleCall_2_0()); + pushFollow(FOLLOW_2); + ruleConfigSpecification(); + + state._fsp--; + + after(grammarAccess.getConfigDeclarationAccess().getSpecificationConfigSpecificationParserRuleCall_2_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ConfigDeclaration__SpecificationAssignment_2" + + + // $ANTLR start "rule__DocumentationEntry__LevelAssignment_2" + // InternalApplicationConfiguration.g:10728:1: rule__DocumentationEntry__LevelAssignment_2 : ( ruleDocumentLevelSpecification ) ; + public final void rule__DocumentationEntry__LevelAssignment_2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:10732:1: ( ( ruleDocumentLevelSpecification ) ) + // InternalApplicationConfiguration.g:10733:2: ( ruleDocumentLevelSpecification ) + { + // InternalApplicationConfiguration.g:10733:2: ( ruleDocumentLevelSpecification ) + // InternalApplicationConfiguration.g:10734:3: ruleDocumentLevelSpecification + { + before(grammarAccess.getDocumentationEntryAccess().getLevelDocumentLevelSpecificationEnumRuleCall_2_0()); + pushFollow(FOLLOW_2); + ruleDocumentLevelSpecification(); + + state._fsp--; + + after(grammarAccess.getDocumentationEntryAccess().getLevelDocumentLevelSpecificationEnumRuleCall_2_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__DocumentationEntry__LevelAssignment_2" + + + // $ANTLR start "rule__RuntimeEntry__MillisecLimitAssignment_2" + // InternalApplicationConfiguration.g:10743:1: rule__RuntimeEntry__MillisecLimitAssignment_2 : ( RULE_INT ) ; + public final void rule__RuntimeEntry__MillisecLimitAssignment_2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:10747:1: ( ( RULE_INT ) ) + // InternalApplicationConfiguration.g:10748:2: ( RULE_INT ) + { + // InternalApplicationConfiguration.g:10748:2: ( RULE_INT ) + // InternalApplicationConfiguration.g:10749:3: RULE_INT + { + before(grammarAccess.getRuntimeEntryAccess().getMillisecLimitINTTerminalRuleCall_2_0()); + match(input,RULE_INT,FOLLOW_2); + after(grammarAccess.getRuntimeEntryAccess().getMillisecLimitINTTerminalRuleCall_2_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__RuntimeEntry__MillisecLimitAssignment_2" + + + // $ANTLR start "rule__MemoryEntry__MegabyteLimitAssignment_2" + // InternalApplicationConfiguration.g:10758:1: rule__MemoryEntry__MegabyteLimitAssignment_2 : ( RULE_INT ) ; + public final void rule__MemoryEntry__MegabyteLimitAssignment_2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:10762:1: ( ( RULE_INT ) ) + // InternalApplicationConfiguration.g:10763:2: ( RULE_INT ) + { + // InternalApplicationConfiguration.g:10763:2: ( RULE_INT ) + // InternalApplicationConfiguration.g:10764:3: RULE_INT + { + before(grammarAccess.getMemoryEntryAccess().getMegabyteLimitINTTerminalRuleCall_2_0()); + match(input,RULE_INT,FOLLOW_2); + after(grammarAccess.getMemoryEntryAccess().getMegabyteLimitINTTerminalRuleCall_2_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__MemoryEntry__MegabyteLimitAssignment_2" + + + // $ANTLR start "rule__CustomEntry__KeyAssignment_0" + // InternalApplicationConfiguration.g:10773:1: rule__CustomEntry__KeyAssignment_0 : ( RULE_STRING ) ; + public final void rule__CustomEntry__KeyAssignment_0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:10777:1: ( ( RULE_STRING ) ) + // InternalApplicationConfiguration.g:10778:2: ( RULE_STRING ) + { + // InternalApplicationConfiguration.g:10778:2: ( RULE_STRING ) + // InternalApplicationConfiguration.g:10779:3: RULE_STRING + { + before(grammarAccess.getCustomEntryAccess().getKeySTRINGTerminalRuleCall_0_0()); + match(input,RULE_STRING,FOLLOW_2); + after(grammarAccess.getCustomEntryAccess().getKeySTRINGTerminalRuleCall_0_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__CustomEntry__KeyAssignment_0" + + + // $ANTLR start "rule__CustomEntry__ValueAssignment_2" + // InternalApplicationConfiguration.g:10788:1: rule__CustomEntry__ValueAssignment_2 : ( RULE_STRING ) ; + public final void rule__CustomEntry__ValueAssignment_2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:10792:1: ( ( RULE_STRING ) ) + // InternalApplicationConfiguration.g:10793:2: ( RULE_STRING ) + { + // InternalApplicationConfiguration.g:10793:2: ( RULE_STRING ) + // InternalApplicationConfiguration.g:10794:3: RULE_STRING + { + before(grammarAccess.getCustomEntryAccess().getValueSTRINGTerminalRuleCall_2_0()); + match(input,RULE_STRING,FOLLOW_2); + after(grammarAccess.getCustomEntryAccess().getValueSTRINGTerminalRuleCall_2_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__CustomEntry__ValueAssignment_2" + + + // $ANTLR start "rule__ConfigReference__ConfigAssignment" + // InternalApplicationConfiguration.g:10803:1: rule__ConfigReference__ConfigAssignment : ( ( RULE_ID ) ) ; + public final void rule__ConfigReference__ConfigAssignment() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:10807:1: ( ( ( RULE_ID ) ) ) + // InternalApplicationConfiguration.g:10808:2: ( ( RULE_ID ) ) + { + // InternalApplicationConfiguration.g:10808:2: ( ( RULE_ID ) ) + // InternalApplicationConfiguration.g:10809:3: ( RULE_ID ) + { + before(grammarAccess.getConfigReferenceAccess().getConfigConfigDeclarationCrossReference_0()); + // InternalApplicationConfiguration.g:10810:3: ( RULE_ID ) + // InternalApplicationConfiguration.g:10811:4: RULE_ID + { + before(grammarAccess.getConfigReferenceAccess().getConfigConfigDeclarationIDTerminalRuleCall_0_1()); + match(input,RULE_ID,FOLLOW_2); + after(grammarAccess.getConfigReferenceAccess().getConfigConfigDeclarationIDTerminalRuleCall_0_1()); + + } + + after(grammarAccess.getConfigReferenceAccess().getConfigConfigDeclarationCrossReference_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ConfigReference__ConfigAssignment" + + + // $ANTLR start "rule__ScopeSpecification__ScopesAssignment_2_0" + // InternalApplicationConfiguration.g:10822:1: rule__ScopeSpecification__ScopesAssignment_2_0 : ( ruleTypeScope ) ; + public final void rule__ScopeSpecification__ScopesAssignment_2_0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:10826:1: ( ( ruleTypeScope ) ) + // InternalApplicationConfiguration.g:10827:2: ( ruleTypeScope ) + { + // InternalApplicationConfiguration.g:10827:2: ( ruleTypeScope ) + // InternalApplicationConfiguration.g:10828:3: ruleTypeScope + { + before(grammarAccess.getScopeSpecificationAccess().getScopesTypeScopeParserRuleCall_2_0_0()); + pushFollow(FOLLOW_2); + ruleTypeScope(); + + state._fsp--; + + after(grammarAccess.getScopeSpecificationAccess().getScopesTypeScopeParserRuleCall_2_0_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ScopeSpecification__ScopesAssignment_2_0" + + + // $ANTLR start "rule__ScopeSpecification__ScopesAssignment_2_1_1" + // InternalApplicationConfiguration.g:10837:1: rule__ScopeSpecification__ScopesAssignment_2_1_1 : ( ruleTypeScope ) ; + public final void rule__ScopeSpecification__ScopesAssignment_2_1_1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:10841:1: ( ( ruleTypeScope ) ) + // InternalApplicationConfiguration.g:10842:2: ( ruleTypeScope ) + { + // InternalApplicationConfiguration.g:10842:2: ( ruleTypeScope ) + // InternalApplicationConfiguration.g:10843:3: ruleTypeScope + { + before(grammarAccess.getScopeSpecificationAccess().getScopesTypeScopeParserRuleCall_2_1_1_0()); + pushFollow(FOLLOW_2); + ruleTypeScope(); + + state._fsp--; + + after(grammarAccess.getScopeSpecificationAccess().getScopesTypeScopeParserRuleCall_2_1_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ScopeSpecification__ScopesAssignment_2_1_1" + + + // $ANTLR start "rule__ClassTypeScope__TypeAssignment_1" + // InternalApplicationConfiguration.g:10852:1: rule__ClassTypeScope__TypeAssignment_1 : ( ruleClassReference ) ; + public final void rule__ClassTypeScope__TypeAssignment_1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:10856:1: ( ( ruleClassReference ) ) + // InternalApplicationConfiguration.g:10857:2: ( ruleClassReference ) + { + // InternalApplicationConfiguration.g:10857:2: ( ruleClassReference ) + // InternalApplicationConfiguration.g:10858:3: ruleClassReference + { + before(grammarAccess.getClassTypeScopeAccess().getTypeClassReferenceParserRuleCall_1_0()); + pushFollow(FOLLOW_2); + ruleClassReference(); + + state._fsp--; + + after(grammarAccess.getClassTypeScopeAccess().getTypeClassReferenceParserRuleCall_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ClassTypeScope__TypeAssignment_1" + + + // $ANTLR start "rule__ClassTypeScope__SetsNewAssignment_2_0" + // InternalApplicationConfiguration.g:10867:1: rule__ClassTypeScope__SetsNewAssignment_2_0 : ( ( '+=' ) ) ; + public final void rule__ClassTypeScope__SetsNewAssignment_2_0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:10871:1: ( ( ( '+=' ) ) ) + // InternalApplicationConfiguration.g:10872:2: ( ( '+=' ) ) + { + // InternalApplicationConfiguration.g:10872:2: ( ( '+=' ) ) + // InternalApplicationConfiguration.g:10873:3: ( '+=' ) + { + before(grammarAccess.getClassTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); + // InternalApplicationConfiguration.g:10874:3: ( '+=' ) + // InternalApplicationConfiguration.g:10875:4: '+=' + { + before(grammarAccess.getClassTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); + match(input,60,FOLLOW_2); + after(grammarAccess.getClassTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); + + } + + after(grammarAccess.getClassTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ClassTypeScope__SetsNewAssignment_2_0" + + + // $ANTLR start "rule__ClassTypeScope__SetsSumAssignment_2_1" + // InternalApplicationConfiguration.g:10886:1: rule__ClassTypeScope__SetsSumAssignment_2_1 : ( ( '=' ) ) ; + public final void rule__ClassTypeScope__SetsSumAssignment_2_1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:10890:1: ( ( ( '=' ) ) ) + // InternalApplicationConfiguration.g:10891:2: ( ( '=' ) ) + { + // InternalApplicationConfiguration.g:10891:2: ( ( '=' ) ) + // InternalApplicationConfiguration.g:10892:3: ( '=' ) + { + before(grammarAccess.getClassTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); + // InternalApplicationConfiguration.g:10893:3: ( '=' ) + // InternalApplicationConfiguration.g:10894:4: '=' + { + before(grammarAccess.getClassTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); + match(input,28,FOLLOW_2); + after(grammarAccess.getClassTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); + + } + + after(grammarAccess.getClassTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ClassTypeScope__SetsSumAssignment_2_1" + + + // $ANTLR start "rule__ClassTypeScope__NumberAssignment_3_0" + // InternalApplicationConfiguration.g:10905:1: rule__ClassTypeScope__NumberAssignment_3_0 : ( ruleExactNumber ) ; + public final void rule__ClassTypeScope__NumberAssignment_3_0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:10909:1: ( ( ruleExactNumber ) ) + // InternalApplicationConfiguration.g:10910:2: ( ruleExactNumber ) + { + // InternalApplicationConfiguration.g:10910:2: ( ruleExactNumber ) + // InternalApplicationConfiguration.g:10911:3: ruleExactNumber + { + before(grammarAccess.getClassTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0()); + pushFollow(FOLLOW_2); + ruleExactNumber(); + + state._fsp--; + + after(grammarAccess.getClassTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ClassTypeScope__NumberAssignment_3_0" + + + // $ANTLR start "rule__ClassTypeScope__NumberAssignment_3_1" + // InternalApplicationConfiguration.g:10920:1: rule__ClassTypeScope__NumberAssignment_3_1 : ( ruleIntervallNumber ) ; + public final void rule__ClassTypeScope__NumberAssignment_3_1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:10924:1: ( ( ruleIntervallNumber ) ) + // InternalApplicationConfiguration.g:10925:2: ( ruleIntervallNumber ) + { + // InternalApplicationConfiguration.g:10925:2: ( ruleIntervallNumber ) + // InternalApplicationConfiguration.g:10926:3: ruleIntervallNumber + { + before(grammarAccess.getClassTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0()); + pushFollow(FOLLOW_2); + ruleIntervallNumber(); + + state._fsp--; + + after(grammarAccess.getClassTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ClassTypeScope__NumberAssignment_3_1" + + + // $ANTLR start "rule__ObjectTypeScope__TypeAssignment_1" + // InternalApplicationConfiguration.g:10935:1: rule__ObjectTypeScope__TypeAssignment_1 : ( ruleObjectReference ) ; + public final void rule__ObjectTypeScope__TypeAssignment_1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:10939:1: ( ( ruleObjectReference ) ) + // InternalApplicationConfiguration.g:10940:2: ( ruleObjectReference ) + { + // InternalApplicationConfiguration.g:10940:2: ( ruleObjectReference ) + // InternalApplicationConfiguration.g:10941:3: ruleObjectReference + { + before(grammarAccess.getObjectTypeScopeAccess().getTypeObjectReferenceParserRuleCall_1_0()); + pushFollow(FOLLOW_2); + ruleObjectReference(); + + state._fsp--; + + after(grammarAccess.getObjectTypeScopeAccess().getTypeObjectReferenceParserRuleCall_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ObjectTypeScope__TypeAssignment_1" + + + // $ANTLR start "rule__ObjectTypeScope__SetsNewAssignment_2_0" + // InternalApplicationConfiguration.g:10950:1: rule__ObjectTypeScope__SetsNewAssignment_2_0 : ( ( '+=' ) ) ; + public final void rule__ObjectTypeScope__SetsNewAssignment_2_0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:10954:1: ( ( ( '+=' ) ) ) + // InternalApplicationConfiguration.g:10955:2: ( ( '+=' ) ) + { + // InternalApplicationConfiguration.g:10955:2: ( ( '+=' ) ) + // InternalApplicationConfiguration.g:10956:3: ( '+=' ) + { + before(grammarAccess.getObjectTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); + // InternalApplicationConfiguration.g:10957:3: ( '+=' ) + // InternalApplicationConfiguration.g:10958:4: '+=' + { + before(grammarAccess.getObjectTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); + match(input,60,FOLLOW_2); + after(grammarAccess.getObjectTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); + + } + + after(grammarAccess.getObjectTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ObjectTypeScope__SetsNewAssignment_2_0" + + + // $ANTLR start "rule__ObjectTypeScope__SetsSumAssignment_2_1" + // InternalApplicationConfiguration.g:10969:1: rule__ObjectTypeScope__SetsSumAssignment_2_1 : ( ( '=' ) ) ; + public final void rule__ObjectTypeScope__SetsSumAssignment_2_1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:10973:1: ( ( ( '=' ) ) ) + // InternalApplicationConfiguration.g:10974:2: ( ( '=' ) ) + { + // InternalApplicationConfiguration.g:10974:2: ( ( '=' ) ) + // InternalApplicationConfiguration.g:10975:3: ( '=' ) + { + before(grammarAccess.getObjectTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); + // InternalApplicationConfiguration.g:10976:3: ( '=' ) + // InternalApplicationConfiguration.g:10977:4: '=' + { + before(grammarAccess.getObjectTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); + match(input,28,FOLLOW_2); + after(grammarAccess.getObjectTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); + + } + + after(grammarAccess.getObjectTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ObjectTypeScope__SetsSumAssignment_2_1" + + + // $ANTLR start "rule__ObjectTypeScope__NumberAssignment_3_0" + // InternalApplicationConfiguration.g:10988:1: rule__ObjectTypeScope__NumberAssignment_3_0 : ( ruleExactNumber ) ; + public final void rule__ObjectTypeScope__NumberAssignment_3_0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:10992:1: ( ( ruleExactNumber ) ) + // InternalApplicationConfiguration.g:10993:2: ( ruleExactNumber ) + { + // InternalApplicationConfiguration.g:10993:2: ( ruleExactNumber ) + // InternalApplicationConfiguration.g:10994:3: ruleExactNumber + { + before(grammarAccess.getObjectTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0()); + pushFollow(FOLLOW_2); + ruleExactNumber(); + + state._fsp--; + + after(grammarAccess.getObjectTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ObjectTypeScope__NumberAssignment_3_0" + + + // $ANTLR start "rule__ObjectTypeScope__NumberAssignment_3_1" + // InternalApplicationConfiguration.g:11003:1: rule__ObjectTypeScope__NumberAssignment_3_1 : ( ruleIntervallNumber ) ; + public final void rule__ObjectTypeScope__NumberAssignment_3_1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:11007:1: ( ( ruleIntervallNumber ) ) + // InternalApplicationConfiguration.g:11008:2: ( ruleIntervallNumber ) + { + // InternalApplicationConfiguration.g:11008:2: ( ruleIntervallNumber ) + // InternalApplicationConfiguration.g:11009:3: ruleIntervallNumber + { + before(grammarAccess.getObjectTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0()); + pushFollow(FOLLOW_2); + ruleIntervallNumber(); + + state._fsp--; + + after(grammarAccess.getObjectTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ObjectTypeScope__NumberAssignment_3_1" + + + // $ANTLR start "rule__IntegerTypeScope__TypeAssignment_1" + // InternalApplicationConfiguration.g:11018:1: rule__IntegerTypeScope__TypeAssignment_1 : ( ruleIntegerReference ) ; + public final void rule__IntegerTypeScope__TypeAssignment_1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:11022:1: ( ( ruleIntegerReference ) ) + // InternalApplicationConfiguration.g:11023:2: ( ruleIntegerReference ) + { + // InternalApplicationConfiguration.g:11023:2: ( ruleIntegerReference ) + // InternalApplicationConfiguration.g:11024:3: ruleIntegerReference + { + before(grammarAccess.getIntegerTypeScopeAccess().getTypeIntegerReferenceParserRuleCall_1_0()); + pushFollow(FOLLOW_2); + ruleIntegerReference(); + + state._fsp--; + + after(grammarAccess.getIntegerTypeScopeAccess().getTypeIntegerReferenceParserRuleCall_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__IntegerTypeScope__TypeAssignment_1" + + + // $ANTLR start "rule__IntegerTypeScope__SetsNewAssignment_2_0" + // InternalApplicationConfiguration.g:11033:1: rule__IntegerTypeScope__SetsNewAssignment_2_0 : ( ( '+=' ) ) ; + public final void rule__IntegerTypeScope__SetsNewAssignment_2_0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:11037:1: ( ( ( '+=' ) ) ) + // InternalApplicationConfiguration.g:11038:2: ( ( '+=' ) ) + { + // InternalApplicationConfiguration.g:11038:2: ( ( '+=' ) ) + // InternalApplicationConfiguration.g:11039:3: ( '+=' ) + { + before(grammarAccess.getIntegerTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); + // InternalApplicationConfiguration.g:11040:3: ( '+=' ) + // InternalApplicationConfiguration.g:11041:4: '+=' + { + before(grammarAccess.getIntegerTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); + match(input,60,FOLLOW_2); + after(grammarAccess.getIntegerTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); + + } + + after(grammarAccess.getIntegerTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__IntegerTypeScope__SetsNewAssignment_2_0" + + + // $ANTLR start "rule__IntegerTypeScope__SetsSumAssignment_2_1" + // InternalApplicationConfiguration.g:11052:1: rule__IntegerTypeScope__SetsSumAssignment_2_1 : ( ( '=' ) ) ; + public final void rule__IntegerTypeScope__SetsSumAssignment_2_1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:11056:1: ( ( ( '=' ) ) ) + // InternalApplicationConfiguration.g:11057:2: ( ( '=' ) ) + { + // InternalApplicationConfiguration.g:11057:2: ( ( '=' ) ) + // InternalApplicationConfiguration.g:11058:3: ( '=' ) + { + before(grammarAccess.getIntegerTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); + // InternalApplicationConfiguration.g:11059:3: ( '=' ) + // InternalApplicationConfiguration.g:11060:4: '=' + { + before(grammarAccess.getIntegerTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); + match(input,28,FOLLOW_2); + after(grammarAccess.getIntegerTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); + + } + + after(grammarAccess.getIntegerTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__IntegerTypeScope__SetsSumAssignment_2_1" + + + // $ANTLR start "rule__IntegerTypeScope__NumberAssignment_3_0" + // InternalApplicationConfiguration.g:11071:1: rule__IntegerTypeScope__NumberAssignment_3_0 : ( ruleExactNumber ) ; + public final void rule__IntegerTypeScope__NumberAssignment_3_0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:11075:1: ( ( ruleExactNumber ) ) + // InternalApplicationConfiguration.g:11076:2: ( ruleExactNumber ) + { + // InternalApplicationConfiguration.g:11076:2: ( ruleExactNumber ) + // InternalApplicationConfiguration.g:11077:3: ruleExactNumber + { + before(grammarAccess.getIntegerTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0()); + pushFollow(FOLLOW_2); + ruleExactNumber(); + + state._fsp--; + + after(grammarAccess.getIntegerTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__IntegerTypeScope__NumberAssignment_3_0" + + + // $ANTLR start "rule__IntegerTypeScope__NumberAssignment_3_1" + // InternalApplicationConfiguration.g:11086:1: rule__IntegerTypeScope__NumberAssignment_3_1 : ( ruleIntervallNumber ) ; + public final void rule__IntegerTypeScope__NumberAssignment_3_1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:11090:1: ( ( ruleIntervallNumber ) ) + // InternalApplicationConfiguration.g:11091:2: ( ruleIntervallNumber ) + { + // InternalApplicationConfiguration.g:11091:2: ( ruleIntervallNumber ) + // InternalApplicationConfiguration.g:11092:3: ruleIntervallNumber + { + before(grammarAccess.getIntegerTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0()); + pushFollow(FOLLOW_2); + ruleIntervallNumber(); + + state._fsp--; + + after(grammarAccess.getIntegerTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__IntegerTypeScope__NumberAssignment_3_1" + + + // $ANTLR start "rule__IntegerTypeScope__NumberAssignment_3_2" + // InternalApplicationConfiguration.g:11101:1: rule__IntegerTypeScope__NumberAssignment_3_2 : ( ruleIntEnumberation ) ; + public final void rule__IntegerTypeScope__NumberAssignment_3_2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:11105:1: ( ( ruleIntEnumberation ) ) + // InternalApplicationConfiguration.g:11106:2: ( ruleIntEnumberation ) + { + // InternalApplicationConfiguration.g:11106:2: ( ruleIntEnumberation ) + // InternalApplicationConfiguration.g:11107:3: ruleIntEnumberation + { + before(grammarAccess.getIntegerTypeScopeAccess().getNumberIntEnumberationParserRuleCall_3_2_0()); + pushFollow(FOLLOW_2); + ruleIntEnumberation(); + + state._fsp--; + + after(grammarAccess.getIntegerTypeScopeAccess().getNumberIntEnumberationParserRuleCall_3_2_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__IntegerTypeScope__NumberAssignment_3_2" + + + // $ANTLR start "rule__RealTypeScope__TypeAssignment_1" + // InternalApplicationConfiguration.g:11116:1: rule__RealTypeScope__TypeAssignment_1 : ( ruleRealReference ) ; + public final void rule__RealTypeScope__TypeAssignment_1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:11120:1: ( ( ruleRealReference ) ) + // InternalApplicationConfiguration.g:11121:2: ( ruleRealReference ) + { + // InternalApplicationConfiguration.g:11121:2: ( ruleRealReference ) + // InternalApplicationConfiguration.g:11122:3: ruleRealReference + { + before(grammarAccess.getRealTypeScopeAccess().getTypeRealReferenceParserRuleCall_1_0()); + pushFollow(FOLLOW_2); + ruleRealReference(); + + state._fsp--; + + after(grammarAccess.getRealTypeScopeAccess().getTypeRealReferenceParserRuleCall_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__RealTypeScope__TypeAssignment_1" + + + // $ANTLR start "rule__RealTypeScope__SetsNewAssignment_2_0" + // InternalApplicationConfiguration.g:11131:1: rule__RealTypeScope__SetsNewAssignment_2_0 : ( ( '+=' ) ) ; + public final void rule__RealTypeScope__SetsNewAssignment_2_0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:11135:1: ( ( ( '+=' ) ) ) + // InternalApplicationConfiguration.g:11136:2: ( ( '+=' ) ) + { + // InternalApplicationConfiguration.g:11136:2: ( ( '+=' ) ) + // InternalApplicationConfiguration.g:11137:3: ( '+=' ) + { + before(grammarAccess.getRealTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); + // InternalApplicationConfiguration.g:11138:3: ( '+=' ) + // InternalApplicationConfiguration.g:11139:4: '+=' + { + before(grammarAccess.getRealTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); + match(input,60,FOLLOW_2); + after(grammarAccess.getRealTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); + + } + + after(grammarAccess.getRealTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__RealTypeScope__SetsNewAssignment_2_0" + + + // $ANTLR start "rule__RealTypeScope__SetsSumAssignment_2_1" + // InternalApplicationConfiguration.g:11150:1: rule__RealTypeScope__SetsSumAssignment_2_1 : ( ( '=' ) ) ; + public final void rule__RealTypeScope__SetsSumAssignment_2_1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:11154:1: ( ( ( '=' ) ) ) + // InternalApplicationConfiguration.g:11155:2: ( ( '=' ) ) + { + // InternalApplicationConfiguration.g:11155:2: ( ( '=' ) ) + // InternalApplicationConfiguration.g:11156:3: ( '=' ) + { + before(grammarAccess.getRealTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); + // InternalApplicationConfiguration.g:11157:3: ( '=' ) + // InternalApplicationConfiguration.g:11158:4: '=' + { + before(grammarAccess.getRealTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); + match(input,28,FOLLOW_2); + after(grammarAccess.getRealTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); + + } + + after(grammarAccess.getRealTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__RealTypeScope__SetsSumAssignment_2_1" + + + // $ANTLR start "rule__RealTypeScope__NumberAssignment_3_0" + // InternalApplicationConfiguration.g:11169:1: rule__RealTypeScope__NumberAssignment_3_0 : ( ruleExactNumber ) ; + public final void rule__RealTypeScope__NumberAssignment_3_0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:11173:1: ( ( ruleExactNumber ) ) + // InternalApplicationConfiguration.g:11174:2: ( ruleExactNumber ) + { + // InternalApplicationConfiguration.g:11174:2: ( ruleExactNumber ) + // InternalApplicationConfiguration.g:11175:3: ruleExactNumber + { + before(grammarAccess.getRealTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0()); + pushFollow(FOLLOW_2); + ruleExactNumber(); + + state._fsp--; + + after(grammarAccess.getRealTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__RealTypeScope__NumberAssignment_3_0" + + + // $ANTLR start "rule__RealTypeScope__NumberAssignment_3_1" + // InternalApplicationConfiguration.g:11184:1: rule__RealTypeScope__NumberAssignment_3_1 : ( ruleIntervallNumber ) ; + public final void rule__RealTypeScope__NumberAssignment_3_1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:11188:1: ( ( ruleIntervallNumber ) ) + // InternalApplicationConfiguration.g:11189:2: ( ruleIntervallNumber ) + { + // InternalApplicationConfiguration.g:11189:2: ( ruleIntervallNumber ) + // InternalApplicationConfiguration.g:11190:3: ruleIntervallNumber + { + before(grammarAccess.getRealTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0()); + pushFollow(FOLLOW_2); + ruleIntervallNumber(); + + state._fsp--; + + after(grammarAccess.getRealTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__RealTypeScope__NumberAssignment_3_1" + + + // $ANTLR start "rule__RealTypeScope__NumberAssignment_3_2" + // InternalApplicationConfiguration.g:11199:1: rule__RealTypeScope__NumberAssignment_3_2 : ( ruleRealEnumeration ) ; + public final void rule__RealTypeScope__NumberAssignment_3_2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:11203:1: ( ( ruleRealEnumeration ) ) + // InternalApplicationConfiguration.g:11204:2: ( ruleRealEnumeration ) + { + // InternalApplicationConfiguration.g:11204:2: ( ruleRealEnumeration ) + // InternalApplicationConfiguration.g:11205:3: ruleRealEnumeration + { + before(grammarAccess.getRealTypeScopeAccess().getNumberRealEnumerationParserRuleCall_3_2_0()); + pushFollow(FOLLOW_2); + ruleRealEnumeration(); + + state._fsp--; + + after(grammarAccess.getRealTypeScopeAccess().getNumberRealEnumerationParserRuleCall_3_2_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__RealTypeScope__NumberAssignment_3_2" + + + // $ANTLR start "rule__StringTypeScope__TypeAssignment_1" + // InternalApplicationConfiguration.g:11214:1: rule__StringTypeScope__TypeAssignment_1 : ( ruleStringReference ) ; + public final void rule__StringTypeScope__TypeAssignment_1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:11218:1: ( ( ruleStringReference ) ) + // InternalApplicationConfiguration.g:11219:2: ( ruleStringReference ) + { + // InternalApplicationConfiguration.g:11219:2: ( ruleStringReference ) + // InternalApplicationConfiguration.g:11220:3: ruleStringReference + { + before(grammarAccess.getStringTypeScopeAccess().getTypeStringReferenceParserRuleCall_1_0()); + pushFollow(FOLLOW_2); + ruleStringReference(); + + state._fsp--; + + after(grammarAccess.getStringTypeScopeAccess().getTypeStringReferenceParserRuleCall_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__StringTypeScope__TypeAssignment_1" + + + // $ANTLR start "rule__StringTypeScope__SetsNewAssignment_2_0" + // InternalApplicationConfiguration.g:11229:1: rule__StringTypeScope__SetsNewAssignment_2_0 : ( ( '+=' ) ) ; + public final void rule__StringTypeScope__SetsNewAssignment_2_0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:11233:1: ( ( ( '+=' ) ) ) + // InternalApplicationConfiguration.g:11234:2: ( ( '+=' ) ) + { + // InternalApplicationConfiguration.g:11234:2: ( ( '+=' ) ) + // InternalApplicationConfiguration.g:11235:3: ( '+=' ) + { + before(grammarAccess.getStringTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); + // InternalApplicationConfiguration.g:11236:3: ( '+=' ) + // InternalApplicationConfiguration.g:11237:4: '+=' + { + before(grammarAccess.getStringTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); + match(input,60,FOLLOW_2); + after(grammarAccess.getStringTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); + + } + + after(grammarAccess.getStringTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__StringTypeScope__SetsNewAssignment_2_0" + + + // $ANTLR start "rule__StringTypeScope__SetsSumAssignment_2_1" + // InternalApplicationConfiguration.g:11248:1: rule__StringTypeScope__SetsSumAssignment_2_1 : ( ( '=' ) ) ; + public final void rule__StringTypeScope__SetsSumAssignment_2_1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:11252:1: ( ( ( '=' ) ) ) + // InternalApplicationConfiguration.g:11253:2: ( ( '=' ) ) + { + // InternalApplicationConfiguration.g:11253:2: ( ( '=' ) ) + // InternalApplicationConfiguration.g:11254:3: ( '=' ) + { + before(grammarAccess.getStringTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); + // InternalApplicationConfiguration.g:11255:3: ( '=' ) + // InternalApplicationConfiguration.g:11256:4: '=' + { + before(grammarAccess.getStringTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); + match(input,28,FOLLOW_2); + after(grammarAccess.getStringTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); + + } + + after(grammarAccess.getStringTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__StringTypeScope__SetsSumAssignment_2_1" + + + // $ANTLR start "rule__StringTypeScope__NumberAssignment_3_0" + // InternalApplicationConfiguration.g:11267:1: rule__StringTypeScope__NumberAssignment_3_0 : ( ruleExactNumber ) ; + public final void rule__StringTypeScope__NumberAssignment_3_0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:11271:1: ( ( ruleExactNumber ) ) + // InternalApplicationConfiguration.g:11272:2: ( ruleExactNumber ) + { + // InternalApplicationConfiguration.g:11272:2: ( ruleExactNumber ) + // InternalApplicationConfiguration.g:11273:3: ruleExactNumber + { + before(grammarAccess.getStringTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0()); + pushFollow(FOLLOW_2); + ruleExactNumber(); + + state._fsp--; + + after(grammarAccess.getStringTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__StringTypeScope__NumberAssignment_3_0" + + + // $ANTLR start "rule__StringTypeScope__NumberAssignment_3_1" + // InternalApplicationConfiguration.g:11282:1: rule__StringTypeScope__NumberAssignment_3_1 : ( ruleIntervallNumber ) ; + public final void rule__StringTypeScope__NumberAssignment_3_1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:11286:1: ( ( ruleIntervallNumber ) ) + // InternalApplicationConfiguration.g:11287:2: ( ruleIntervallNumber ) + { + // InternalApplicationConfiguration.g:11287:2: ( ruleIntervallNumber ) + // InternalApplicationConfiguration.g:11288:3: ruleIntervallNumber + { + before(grammarAccess.getStringTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0()); + pushFollow(FOLLOW_2); + ruleIntervallNumber(); + + state._fsp--; + + after(grammarAccess.getStringTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__StringTypeScope__NumberAssignment_3_1" + + + // $ANTLR start "rule__StringTypeScope__NumberAssignment_3_2" + // InternalApplicationConfiguration.g:11297:1: rule__StringTypeScope__NumberAssignment_3_2 : ( ruleStringEnumeration ) ; + public final void rule__StringTypeScope__NumberAssignment_3_2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:11301:1: ( ( ruleStringEnumeration ) ) + // InternalApplicationConfiguration.g:11302:2: ( ruleStringEnumeration ) + { + // InternalApplicationConfiguration.g:11302:2: ( ruleStringEnumeration ) + // InternalApplicationConfiguration.g:11303:3: ruleStringEnumeration + { + before(grammarAccess.getStringTypeScopeAccess().getNumberStringEnumerationParserRuleCall_3_2_0()); + pushFollow(FOLLOW_2); + ruleStringEnumeration(); + + state._fsp--; + + after(grammarAccess.getStringTypeScopeAccess().getNumberStringEnumerationParserRuleCall_3_2_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__StringTypeScope__NumberAssignment_3_2" + + + // $ANTLR start "rule__ClassReference__ElementAssignment_1" + // InternalApplicationConfiguration.g:11312:1: rule__ClassReference__ElementAssignment_1 : ( ruleMetamodelElement ) ; + public final void rule__ClassReference__ElementAssignment_1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:11316:1: ( ( ruleMetamodelElement ) ) + // InternalApplicationConfiguration.g:11317:2: ( ruleMetamodelElement ) + { + // InternalApplicationConfiguration.g:11317:2: ( ruleMetamodelElement ) + // InternalApplicationConfiguration.g:11318:3: ruleMetamodelElement + { + before(grammarAccess.getClassReferenceAccess().getElementMetamodelElementParserRuleCall_1_0()); + pushFollow(FOLLOW_2); + ruleMetamodelElement(); + + state._fsp--; + + after(grammarAccess.getClassReferenceAccess().getElementMetamodelElementParserRuleCall_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ClassReference__ElementAssignment_1" + + + // $ANTLR start "rule__ExactNumber__ExactNumberAssignment_0" + // InternalApplicationConfiguration.g:11327:1: rule__ExactNumber__ExactNumberAssignment_0 : ( RULE_INT ) ; + public final void rule__ExactNumber__ExactNumberAssignment_0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:11331:1: ( ( RULE_INT ) ) + // InternalApplicationConfiguration.g:11332:2: ( RULE_INT ) + { + // InternalApplicationConfiguration.g:11332:2: ( RULE_INT ) + // InternalApplicationConfiguration.g:11333:3: RULE_INT + { + before(grammarAccess.getExactNumberAccess().getExactNumberINTTerminalRuleCall_0_0()); + match(input,RULE_INT,FOLLOW_2); + after(grammarAccess.getExactNumberAccess().getExactNumberINTTerminalRuleCall_0_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ExactNumber__ExactNumberAssignment_0" + + + // $ANTLR start "rule__ExactNumber__ExactUnlimitedAssignment_1" + // InternalApplicationConfiguration.g:11342:1: rule__ExactNumber__ExactUnlimitedAssignment_1 : ( ( '*' ) ) ; + public final void rule__ExactNumber__ExactUnlimitedAssignment_1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:11346:1: ( ( ( '*' ) ) ) + // InternalApplicationConfiguration.g:11347:2: ( ( '*' ) ) + { + // InternalApplicationConfiguration.g:11347:2: ( ( '*' ) ) + // InternalApplicationConfiguration.g:11348:3: ( '*' ) + { + before(grammarAccess.getExactNumberAccess().getExactUnlimitedAsteriskKeyword_1_0()); + // InternalApplicationConfiguration.g:11349:3: ( '*' ) + // InternalApplicationConfiguration.g:11350:4: '*' + { + before(grammarAccess.getExactNumberAccess().getExactUnlimitedAsteriskKeyword_1_0()); + match(input,61,FOLLOW_2); + after(grammarAccess.getExactNumberAccess().getExactUnlimitedAsteriskKeyword_1_0()); + + } + + after(grammarAccess.getExactNumberAccess().getExactUnlimitedAsteriskKeyword_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ExactNumber__ExactUnlimitedAssignment_1" + + + // $ANTLR start "rule__IntervallNumber__MinAssignment_0" + // InternalApplicationConfiguration.g:11361:1: rule__IntervallNumber__MinAssignment_0 : ( RULE_INT ) ; + public final void rule__IntervallNumber__MinAssignment_0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:11365:1: ( ( RULE_INT ) ) + // InternalApplicationConfiguration.g:11366:2: ( RULE_INT ) + { + // InternalApplicationConfiguration.g:11366:2: ( RULE_INT ) + // InternalApplicationConfiguration.g:11367:3: RULE_INT + { + before(grammarAccess.getIntervallNumberAccess().getMinINTTerminalRuleCall_0_0()); + match(input,RULE_INT,FOLLOW_2); + after(grammarAccess.getIntervallNumberAccess().getMinINTTerminalRuleCall_0_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__IntervallNumber__MinAssignment_0" + + + // $ANTLR start "rule__IntervallNumber__MaxNumberAssignment_2_0" + // InternalApplicationConfiguration.g:11376:1: rule__IntervallNumber__MaxNumberAssignment_2_0 : ( RULE_INT ) ; + public final void rule__IntervallNumber__MaxNumberAssignment_2_0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:11380:1: ( ( RULE_INT ) ) + // InternalApplicationConfiguration.g:11381:2: ( RULE_INT ) + { + // InternalApplicationConfiguration.g:11381:2: ( RULE_INT ) + // InternalApplicationConfiguration.g:11382:3: RULE_INT + { + before(grammarAccess.getIntervallNumberAccess().getMaxNumberINTTerminalRuleCall_2_0_0()); + match(input,RULE_INT,FOLLOW_2); + after(grammarAccess.getIntervallNumberAccess().getMaxNumberINTTerminalRuleCall_2_0_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__IntervallNumber__MaxNumberAssignment_2_0" + + + // $ANTLR start "rule__IntervallNumber__MaxUnlimitedAssignment_2_1" + // InternalApplicationConfiguration.g:11391:1: rule__IntervallNumber__MaxUnlimitedAssignment_2_1 : ( ( '*' ) ) ; + public final void rule__IntervallNumber__MaxUnlimitedAssignment_2_1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:11395:1: ( ( ( '*' ) ) ) + // InternalApplicationConfiguration.g:11396:2: ( ( '*' ) ) + { + // InternalApplicationConfiguration.g:11396:2: ( ( '*' ) ) + // InternalApplicationConfiguration.g:11397:3: ( '*' ) + { + before(grammarAccess.getIntervallNumberAccess().getMaxUnlimitedAsteriskKeyword_2_1_0()); + // InternalApplicationConfiguration.g:11398:3: ( '*' ) + // InternalApplicationConfiguration.g:11399:4: '*' + { + before(grammarAccess.getIntervallNumberAccess().getMaxUnlimitedAsteriskKeyword_2_1_0()); + match(input,61,FOLLOW_2); + after(grammarAccess.getIntervallNumberAccess().getMaxUnlimitedAsteriskKeyword_2_1_0()); + + } + + after(grammarAccess.getIntervallNumberAccess().getMaxUnlimitedAsteriskKeyword_2_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__IntervallNumber__MaxUnlimitedAssignment_2_1" + + + // $ANTLR start "rule__IntEnumberation__EntryAssignment_2_0" + // InternalApplicationConfiguration.g:11410:1: rule__IntEnumberation__EntryAssignment_2_0 : ( ruleINTLiteral ) ; + public final void rule__IntEnumberation__EntryAssignment_2_0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:11414:1: ( ( ruleINTLiteral ) ) + // InternalApplicationConfiguration.g:11415:2: ( ruleINTLiteral ) + { + // InternalApplicationConfiguration.g:11415:2: ( ruleINTLiteral ) + // InternalApplicationConfiguration.g:11416:3: ruleINTLiteral + { + before(grammarAccess.getIntEnumberationAccess().getEntryINTLiteralParserRuleCall_2_0_0()); + pushFollow(FOLLOW_2); + ruleINTLiteral(); + + state._fsp--; + + after(grammarAccess.getIntEnumberationAccess().getEntryINTLiteralParserRuleCall_2_0_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__IntEnumberation__EntryAssignment_2_0" + + + // $ANTLR start "rule__IntEnumberation__EntryAssignment_2_1_1" + // InternalApplicationConfiguration.g:11425:1: rule__IntEnumberation__EntryAssignment_2_1_1 : ( ruleINTLiteral ) ; + public final void rule__IntEnumberation__EntryAssignment_2_1_1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:11429:1: ( ( ruleINTLiteral ) ) + // InternalApplicationConfiguration.g:11430:2: ( ruleINTLiteral ) + { + // InternalApplicationConfiguration.g:11430:2: ( ruleINTLiteral ) + // InternalApplicationConfiguration.g:11431:3: ruleINTLiteral + { + before(grammarAccess.getIntEnumberationAccess().getEntryINTLiteralParserRuleCall_2_1_1_0()); + pushFollow(FOLLOW_2); + ruleINTLiteral(); + + state._fsp--; + + after(grammarAccess.getIntEnumberationAccess().getEntryINTLiteralParserRuleCall_2_1_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__IntEnumberation__EntryAssignment_2_1_1" + + + // $ANTLR start "rule__RealEnumeration__EntryAssignment_2_0" + // InternalApplicationConfiguration.g:11440:1: rule__RealEnumeration__EntryAssignment_2_0 : ( ruleREALLiteral ) ; + public final void rule__RealEnumeration__EntryAssignment_2_0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:11444:1: ( ( ruleREALLiteral ) ) + // InternalApplicationConfiguration.g:11445:2: ( ruleREALLiteral ) + { + // InternalApplicationConfiguration.g:11445:2: ( ruleREALLiteral ) + // InternalApplicationConfiguration.g:11446:3: ruleREALLiteral + { + before(grammarAccess.getRealEnumerationAccess().getEntryREALLiteralParserRuleCall_2_0_0()); + pushFollow(FOLLOW_2); + ruleREALLiteral(); + + state._fsp--; + + after(grammarAccess.getRealEnumerationAccess().getEntryREALLiteralParserRuleCall_2_0_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__RealEnumeration__EntryAssignment_2_0" + + + // $ANTLR start "rule__RealEnumeration__EntryAssignment_2_1_1" + // InternalApplicationConfiguration.g:11455:1: rule__RealEnumeration__EntryAssignment_2_1_1 : ( ruleREALLiteral ) ; + public final void rule__RealEnumeration__EntryAssignment_2_1_1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:11459:1: ( ( ruleREALLiteral ) ) + // InternalApplicationConfiguration.g:11460:2: ( ruleREALLiteral ) + { + // InternalApplicationConfiguration.g:11460:2: ( ruleREALLiteral ) + // InternalApplicationConfiguration.g:11461:3: ruleREALLiteral + { + before(grammarAccess.getRealEnumerationAccess().getEntryREALLiteralParserRuleCall_2_1_1_0()); + pushFollow(FOLLOW_2); + ruleREALLiteral(); + + state._fsp--; + + after(grammarAccess.getRealEnumerationAccess().getEntryREALLiteralParserRuleCall_2_1_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__RealEnumeration__EntryAssignment_2_1_1" + + + // $ANTLR start "rule__StringEnumeration__EntryAssignment_2_0" + // InternalApplicationConfiguration.g:11470:1: rule__StringEnumeration__EntryAssignment_2_0 : ( RULE_STRING ) ; + public final void rule__StringEnumeration__EntryAssignment_2_0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:11474:1: ( ( RULE_STRING ) ) + // InternalApplicationConfiguration.g:11475:2: ( RULE_STRING ) + { + // InternalApplicationConfiguration.g:11475:2: ( RULE_STRING ) + // InternalApplicationConfiguration.g:11476:3: RULE_STRING + { + before(grammarAccess.getStringEnumerationAccess().getEntrySTRINGTerminalRuleCall_2_0_0()); + match(input,RULE_STRING,FOLLOW_2); + after(grammarAccess.getStringEnumerationAccess().getEntrySTRINGTerminalRuleCall_2_0_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__StringEnumeration__EntryAssignment_2_0" + + + // $ANTLR start "rule__StringEnumeration__EntryAssignment_2_1_1" + // InternalApplicationConfiguration.g:11485:1: rule__StringEnumeration__EntryAssignment_2_1_1 : ( RULE_STRING ) ; + public final void rule__StringEnumeration__EntryAssignment_2_1_1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:11489:1: ( ( RULE_STRING ) ) + // InternalApplicationConfiguration.g:11490:2: ( RULE_STRING ) + { + // InternalApplicationConfiguration.g:11490:2: ( RULE_STRING ) + // InternalApplicationConfiguration.g:11491:3: RULE_STRING + { + before(grammarAccess.getStringEnumerationAccess().getEntrySTRINGTerminalRuleCall_2_1_1_0()); + match(input,RULE_STRING,FOLLOW_2); + after(grammarAccess.getStringEnumerationAccess().getEntrySTRINGTerminalRuleCall_2_1_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__StringEnumeration__EntryAssignment_2_1_1" + + + // $ANTLR start "rule__ScopeDeclaration__NameAssignment_1" + // InternalApplicationConfiguration.g:11500:1: rule__ScopeDeclaration__NameAssignment_1 : ( RULE_ID ) ; + public final void rule__ScopeDeclaration__NameAssignment_1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:11504:1: ( ( RULE_ID ) ) + // InternalApplicationConfiguration.g:11505:2: ( RULE_ID ) + { + // InternalApplicationConfiguration.g:11505:2: ( RULE_ID ) + // InternalApplicationConfiguration.g:11506:3: RULE_ID + { + before(grammarAccess.getScopeDeclarationAccess().getNameIDTerminalRuleCall_1_0()); + match(input,RULE_ID,FOLLOW_2); + after(grammarAccess.getScopeDeclarationAccess().getNameIDTerminalRuleCall_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ScopeDeclaration__NameAssignment_1" + + + // $ANTLR start "rule__ScopeDeclaration__SpecificationAssignment_2" + // InternalApplicationConfiguration.g:11515:1: rule__ScopeDeclaration__SpecificationAssignment_2 : ( ruleScopeSpecification ) ; + public final void rule__ScopeDeclaration__SpecificationAssignment_2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:11519:1: ( ( ruleScopeSpecification ) ) + // InternalApplicationConfiguration.g:11520:2: ( ruleScopeSpecification ) + { + // InternalApplicationConfiguration.g:11520:2: ( ruleScopeSpecification ) + // InternalApplicationConfiguration.g:11521:3: ruleScopeSpecification + { + before(grammarAccess.getScopeDeclarationAccess().getSpecificationScopeSpecificationParserRuleCall_2_0()); + pushFollow(FOLLOW_2); + ruleScopeSpecification(); + + state._fsp--; + + after(grammarAccess.getScopeDeclarationAccess().getSpecificationScopeSpecificationParserRuleCall_2_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ScopeDeclaration__SpecificationAssignment_2" + + + // $ANTLR start "rule__ScopeReference__ReferredAssignment" + // InternalApplicationConfiguration.g:11530:1: rule__ScopeReference__ReferredAssignment : ( ( RULE_ID ) ) ; + public final void rule__ScopeReference__ReferredAssignment() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:11534:1: ( ( ( RULE_ID ) ) ) + // InternalApplicationConfiguration.g:11535:2: ( ( RULE_ID ) ) + { + // InternalApplicationConfiguration.g:11535:2: ( ( RULE_ID ) ) + // InternalApplicationConfiguration.g:11536:3: ( RULE_ID ) + { + before(grammarAccess.getScopeReferenceAccess().getReferredScopeDeclarationCrossReference_0()); + // InternalApplicationConfiguration.g:11537:3: ( RULE_ID ) + // InternalApplicationConfiguration.g:11538:4: RULE_ID + { + before(grammarAccess.getScopeReferenceAccess().getReferredScopeDeclarationIDTerminalRuleCall_0_1()); + match(input,RULE_ID,FOLLOW_2); + after(grammarAccess.getScopeReferenceAccess().getReferredScopeDeclarationIDTerminalRuleCall_0_1()); + + } + + after(grammarAccess.getScopeReferenceAccess().getReferredScopeDeclarationCrossReference_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ScopeReference__ReferredAssignment" + + + // $ANTLR start "rule__GenerationTask__MetamodelAssignment_3_0_2" + // InternalApplicationConfiguration.g:11549:1: rule__GenerationTask__MetamodelAssignment_3_0_2 : ( ruleMetamodel ) ; + public final void rule__GenerationTask__MetamodelAssignment_3_0_2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:11553:1: ( ( ruleMetamodel ) ) + // InternalApplicationConfiguration.g:11554:2: ( ruleMetamodel ) + { + // InternalApplicationConfiguration.g:11554:2: ( ruleMetamodel ) + // InternalApplicationConfiguration.g:11555:3: ruleMetamodel + { + before(grammarAccess.getGenerationTaskAccess().getMetamodelMetamodelParserRuleCall_3_0_2_0()); + pushFollow(FOLLOW_2); + ruleMetamodel(); + + state._fsp--; + + after(grammarAccess.getGenerationTaskAccess().getMetamodelMetamodelParserRuleCall_3_0_2_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__GenerationTask__MetamodelAssignment_3_0_2" + + + // $ANTLR start "rule__GenerationTask__PartialModelAssignment_3_1_2" + // InternalApplicationConfiguration.g:11564:1: rule__GenerationTask__PartialModelAssignment_3_1_2 : ( rulePartialModel ) ; + public final void rule__GenerationTask__PartialModelAssignment_3_1_2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:11568:1: ( ( rulePartialModel ) ) + // InternalApplicationConfiguration.g:11569:2: ( rulePartialModel ) + { + // InternalApplicationConfiguration.g:11569:2: ( rulePartialModel ) + // InternalApplicationConfiguration.g:11570:3: rulePartialModel + { + before(grammarAccess.getGenerationTaskAccess().getPartialModelPartialModelParserRuleCall_3_1_2_0()); + pushFollow(FOLLOW_2); + rulePartialModel(); + + state._fsp--; + + after(grammarAccess.getGenerationTaskAccess().getPartialModelPartialModelParserRuleCall_3_1_2_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__GenerationTask__PartialModelAssignment_3_1_2" + + + // $ANTLR start "rule__GenerationTask__PatternsAssignment_3_2_2" + // InternalApplicationConfiguration.g:11579:1: rule__GenerationTask__PatternsAssignment_3_2_2 : ( ruleGraphPattern ) ; + public final void rule__GenerationTask__PatternsAssignment_3_2_2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:11583:1: ( ( ruleGraphPattern ) ) + // InternalApplicationConfiguration.g:11584:2: ( ruleGraphPattern ) + { + // InternalApplicationConfiguration.g:11584:2: ( ruleGraphPattern ) + // InternalApplicationConfiguration.g:11585:3: ruleGraphPattern + { + before(grammarAccess.getGenerationTaskAccess().getPatternsGraphPatternParserRuleCall_3_2_2_0()); + pushFollow(FOLLOW_2); + ruleGraphPattern(); + + state._fsp--; + + after(grammarAccess.getGenerationTaskAccess().getPatternsGraphPatternParserRuleCall_3_2_2_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__GenerationTask__PatternsAssignment_3_2_2" + + + // $ANTLR start "rule__GenerationTask__ObjectivesAssignment_3_3_2" + // InternalApplicationConfiguration.g:11594:1: rule__GenerationTask__ObjectivesAssignment_3_3_2 : ( ruleObjective ) ; + public final void rule__GenerationTask__ObjectivesAssignment_3_3_2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:11598:1: ( ( ruleObjective ) ) + // InternalApplicationConfiguration.g:11599:2: ( ruleObjective ) + { + // InternalApplicationConfiguration.g:11599:2: ( ruleObjective ) + // InternalApplicationConfiguration.g:11600:3: ruleObjective + { + before(grammarAccess.getGenerationTaskAccess().getObjectivesObjectiveParserRuleCall_3_3_2_0()); + pushFollow(FOLLOW_2); + ruleObjective(); + + state._fsp--; + + after(grammarAccess.getGenerationTaskAccess().getObjectivesObjectiveParserRuleCall_3_3_2_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__GenerationTask__ObjectivesAssignment_3_3_2" + + + // $ANTLR start "rule__GenerationTask__ScopeAssignment_3_4_2" + // InternalApplicationConfiguration.g:11609:1: rule__GenerationTask__ScopeAssignment_3_4_2 : ( ruleScope ) ; + public final void rule__GenerationTask__ScopeAssignment_3_4_2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:11613:1: ( ( ruleScope ) ) + // InternalApplicationConfiguration.g:11614:2: ( ruleScope ) + { + // InternalApplicationConfiguration.g:11614:2: ( ruleScope ) + // InternalApplicationConfiguration.g:11615:3: ruleScope + { + before(grammarAccess.getGenerationTaskAccess().getScopeScopeParserRuleCall_3_4_2_0()); + pushFollow(FOLLOW_2); + ruleScope(); + + state._fsp--; + + after(grammarAccess.getGenerationTaskAccess().getScopeScopeParserRuleCall_3_4_2_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__GenerationTask__ScopeAssignment_3_4_2" + + + // $ANTLR start "rule__GenerationTask__NumberSpecifiedAssignment_3_5_0" + // InternalApplicationConfiguration.g:11624:1: rule__GenerationTask__NumberSpecifiedAssignment_3_5_0 : ( ( 'number' ) ) ; + public final void rule__GenerationTask__NumberSpecifiedAssignment_3_5_0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:11628:1: ( ( ( 'number' ) ) ) + // InternalApplicationConfiguration.g:11629:2: ( ( 'number' ) ) + { + // InternalApplicationConfiguration.g:11629:2: ( ( 'number' ) ) + // InternalApplicationConfiguration.g:11630:3: ( 'number' ) + { + before(grammarAccess.getGenerationTaskAccess().getNumberSpecifiedNumberKeyword_3_5_0_0()); + // InternalApplicationConfiguration.g:11631:3: ( 'number' ) + // InternalApplicationConfiguration.g:11632:4: 'number' + { + before(grammarAccess.getGenerationTaskAccess().getNumberSpecifiedNumberKeyword_3_5_0_0()); + match(input,62,FOLLOW_2); + after(grammarAccess.getGenerationTaskAccess().getNumberSpecifiedNumberKeyword_3_5_0_0()); + + } + + after(grammarAccess.getGenerationTaskAccess().getNumberSpecifiedNumberKeyword_3_5_0_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__GenerationTask__NumberSpecifiedAssignment_3_5_0" + + + // $ANTLR start "rule__GenerationTask__NumberAssignment_3_5_2" + // InternalApplicationConfiguration.g:11643:1: rule__GenerationTask__NumberAssignment_3_5_2 : ( RULE_INT ) ; + public final void rule__GenerationTask__NumberAssignment_3_5_2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:11647:1: ( ( RULE_INT ) ) + // InternalApplicationConfiguration.g:11648:2: ( RULE_INT ) + { + // InternalApplicationConfiguration.g:11648:2: ( RULE_INT ) + // InternalApplicationConfiguration.g:11649:3: RULE_INT + { + before(grammarAccess.getGenerationTaskAccess().getNumberINTTerminalRuleCall_3_5_2_0()); + match(input,RULE_INT,FOLLOW_2); + after(grammarAccess.getGenerationTaskAccess().getNumberINTTerminalRuleCall_3_5_2_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__GenerationTask__NumberAssignment_3_5_2" + + + // $ANTLR start "rule__GenerationTask__RunSpecifiedAssignment_3_6_0" + // InternalApplicationConfiguration.g:11658:1: rule__GenerationTask__RunSpecifiedAssignment_3_6_0 : ( ( 'runs' ) ) ; + public final void rule__GenerationTask__RunSpecifiedAssignment_3_6_0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:11662:1: ( ( ( 'runs' ) ) ) + // InternalApplicationConfiguration.g:11663:2: ( ( 'runs' ) ) + { + // InternalApplicationConfiguration.g:11663:2: ( ( 'runs' ) ) + // InternalApplicationConfiguration.g:11664:3: ( 'runs' ) + { + before(grammarAccess.getGenerationTaskAccess().getRunSpecifiedRunsKeyword_3_6_0_0()); + // InternalApplicationConfiguration.g:11665:3: ( 'runs' ) + // InternalApplicationConfiguration.g:11666:4: 'runs' + { + before(grammarAccess.getGenerationTaskAccess().getRunSpecifiedRunsKeyword_3_6_0_0()); + match(input,63,FOLLOW_2); + after(grammarAccess.getGenerationTaskAccess().getRunSpecifiedRunsKeyword_3_6_0_0()); + + } + + after(grammarAccess.getGenerationTaskAccess().getRunSpecifiedRunsKeyword_3_6_0_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__GenerationTask__RunSpecifiedAssignment_3_6_0" + + + // $ANTLR start "rule__GenerationTask__RunsAssignment_3_6_2" + // InternalApplicationConfiguration.g:11677:1: rule__GenerationTask__RunsAssignment_3_6_2 : ( RULE_INT ) ; + public final void rule__GenerationTask__RunsAssignment_3_6_2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:11681:1: ( ( RULE_INT ) ) + // InternalApplicationConfiguration.g:11682:2: ( RULE_INT ) + { + // InternalApplicationConfiguration.g:11682:2: ( RULE_INT ) + // InternalApplicationConfiguration.g:11683:3: RULE_INT + { + before(grammarAccess.getGenerationTaskAccess().getRunsINTTerminalRuleCall_3_6_2_0()); + match(input,RULE_INT,FOLLOW_2); + after(grammarAccess.getGenerationTaskAccess().getRunsINTTerminalRuleCall_3_6_2_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__GenerationTask__RunsAssignment_3_6_2" + + + // $ANTLR start "rule__GenerationTask__SolverAssignment_3_7_2" + // InternalApplicationConfiguration.g:11692:1: rule__GenerationTask__SolverAssignment_3_7_2 : ( ruleSolver ) ; + public final void rule__GenerationTask__SolverAssignment_3_7_2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:11696:1: ( ( ruleSolver ) ) + // InternalApplicationConfiguration.g:11697:2: ( ruleSolver ) + { + // InternalApplicationConfiguration.g:11697:2: ( ruleSolver ) + // InternalApplicationConfiguration.g:11698:3: ruleSolver + { + before(grammarAccess.getGenerationTaskAccess().getSolverSolverEnumRuleCall_3_7_2_0()); + pushFollow(FOLLOW_2); + ruleSolver(); + + state._fsp--; + + after(grammarAccess.getGenerationTaskAccess().getSolverSolverEnumRuleCall_3_7_2_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__GenerationTask__SolverAssignment_3_7_2" + + + // $ANTLR start "rule__GenerationTask__ConfigAssignment_3_8_2" + // InternalApplicationConfiguration.g:11707:1: rule__GenerationTask__ConfigAssignment_3_8_2 : ( ruleConfig ) ; + public final void rule__GenerationTask__ConfigAssignment_3_8_2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:11711:1: ( ( ruleConfig ) ) + // InternalApplicationConfiguration.g:11712:2: ( ruleConfig ) + { + // InternalApplicationConfiguration.g:11712:2: ( ruleConfig ) + // InternalApplicationConfiguration.g:11713:3: ruleConfig + { + before(grammarAccess.getGenerationTaskAccess().getConfigConfigParserRuleCall_3_8_2_0()); + pushFollow(FOLLOW_2); + ruleConfig(); + + state._fsp--; + + after(grammarAccess.getGenerationTaskAccess().getConfigConfigParserRuleCall_3_8_2_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__GenerationTask__ConfigAssignment_3_8_2" + + + // $ANTLR start "rule__GenerationTask__DebugFolderAssignment_3_9_2" + // InternalApplicationConfiguration.g:11722:1: rule__GenerationTask__DebugFolderAssignment_3_9_2 : ( ruleFile ) ; + public final void rule__GenerationTask__DebugFolderAssignment_3_9_2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:11726:1: ( ( ruleFile ) ) + // InternalApplicationConfiguration.g:11727:2: ( ruleFile ) + { + // InternalApplicationConfiguration.g:11727:2: ( ruleFile ) + // InternalApplicationConfiguration.g:11728:3: ruleFile + { + before(grammarAccess.getGenerationTaskAccess().getDebugFolderFileParserRuleCall_3_9_2_0()); + pushFollow(FOLLOW_2); + ruleFile(); + + state._fsp--; + + after(grammarAccess.getGenerationTaskAccess().getDebugFolderFileParserRuleCall_3_9_2_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__GenerationTask__DebugFolderAssignment_3_9_2" + + + // $ANTLR start "rule__GenerationTask__TargetLogFileAssignment_3_10_2" + // InternalApplicationConfiguration.g:11737:1: rule__GenerationTask__TargetLogFileAssignment_3_10_2 : ( ruleFile ) ; + public final void rule__GenerationTask__TargetLogFileAssignment_3_10_2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:11741:1: ( ( ruleFile ) ) + // InternalApplicationConfiguration.g:11742:2: ( ruleFile ) + { + // InternalApplicationConfiguration.g:11742:2: ( ruleFile ) + // InternalApplicationConfiguration.g:11743:3: ruleFile + { + before(grammarAccess.getGenerationTaskAccess().getTargetLogFileFileParserRuleCall_3_10_2_0()); + pushFollow(FOLLOW_2); + ruleFile(); + + state._fsp--; + + after(grammarAccess.getGenerationTaskAccess().getTargetLogFileFileParserRuleCall_3_10_2_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__GenerationTask__TargetLogFileAssignment_3_10_2" + + + // $ANTLR start "rule__GenerationTask__TargetStatisticsFileAssignment_3_11_2" + // InternalApplicationConfiguration.g:11752:1: rule__GenerationTask__TargetStatisticsFileAssignment_3_11_2 : ( ruleFile ) ; + public final void rule__GenerationTask__TargetStatisticsFileAssignment_3_11_2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:11756:1: ( ( ruleFile ) ) + // InternalApplicationConfiguration.g:11757:2: ( ruleFile ) + { + // InternalApplicationConfiguration.g:11757:2: ( ruleFile ) + // InternalApplicationConfiguration.g:11758:3: ruleFile + { + before(grammarAccess.getGenerationTaskAccess().getTargetStatisticsFileFileParserRuleCall_3_11_2_0()); + pushFollow(FOLLOW_2); + ruleFile(); + + state._fsp--; + + after(grammarAccess.getGenerationTaskAccess().getTargetStatisticsFileFileParserRuleCall_3_11_2_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__GenerationTask__TargetStatisticsFileAssignment_3_11_2" + + + // $ANTLR start "rule__GenerationTask__TagetFolderAssignment_3_12_2" + // InternalApplicationConfiguration.g:11767:1: rule__GenerationTask__TagetFolderAssignment_3_12_2 : ( ruleFile ) ; + public final void rule__GenerationTask__TagetFolderAssignment_3_12_2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:11771:1: ( ( ruleFile ) ) + // InternalApplicationConfiguration.g:11772:2: ( ruleFile ) + { + // InternalApplicationConfiguration.g:11772:2: ( ruleFile ) + // InternalApplicationConfiguration.g:11773:3: ruleFile + { + before(grammarAccess.getGenerationTaskAccess().getTagetFolderFileParserRuleCall_3_12_2_0()); + pushFollow(FOLLOW_2); + ruleFile(); + + state._fsp--; + + after(grammarAccess.getGenerationTaskAccess().getTagetFolderFileParserRuleCall_3_12_2_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__GenerationTask__TagetFolderAssignment_3_12_2" + + // Delegated rules + + + protected DFA62 dfa62 = new DFA62(this); + protected DFA63 dfa63 = new DFA63(this); + protected DFA64 dfa64 = new DFA64(this); + protected DFA65 dfa65 = new DFA65(this); + protected DFA66 dfa66 = new DFA66(this); + protected DFA67 dfa67 = new DFA67(this); + protected DFA68 dfa68 = new DFA68(this); + protected DFA69 dfa69 = new DFA69(this); + protected DFA70 dfa70 = new DFA70(this); + protected DFA71 dfa71 = new DFA71(this); + protected DFA72 dfa72 = new DFA72(this); + protected DFA73 dfa73 = new DFA73(this); + protected DFA74 dfa74 = new DFA74(this); + protected DFA75 dfa75 = new DFA75(this); + static final String dfa_1s = "\17\uffff"; + static final String dfa_2s = "\1\36\16\uffff"; + static final String dfa_3s = "\1\77\16\uffff"; + static final String dfa_4s = "\1\uffff\15\1\1\2"; + static final String dfa_5s = "\1\0\16\uffff}>"; + static final String[] dfa_6s = { + "\1\16\4\uffff\1\1\2\uffff\1\3\1\4\1\11\13\uffff\1\5\1\uffff\1\2\1\10\1\12\1\13\1\14\1\15\2\uffff\1\6\1\7", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + }; + + static final short[] dfa_1 = DFA.unpackEncodedString(dfa_1s); + static final char[] dfa_2 = DFA.unpackEncodedStringToUnsignedChars(dfa_2s); + static final char[] dfa_3 = DFA.unpackEncodedStringToUnsignedChars(dfa_3s); + static final short[] dfa_4 = DFA.unpackEncodedString(dfa_4s); + static final short[] dfa_5 = DFA.unpackEncodedString(dfa_5s); + static final short[][] dfa_6 = unpackEncodedStringArray(dfa_6s); + + class DFA62 extends DFA { + + public DFA62(BaseRecognizer recognizer) { + this.recognizer = recognizer; + this.decisionNumber = 62; + this.eot = dfa_1; + this.eof = dfa_1; + this.min = dfa_2; + this.max = dfa_3; + this.accept = dfa_4; + this.special = dfa_5; + this.transition = dfa_6; + } + public String getDescription() { + return "9461:2: ( rule__GenerationTask__UnorderedGroup_3__0 )?"; + } + public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { + TokenStream input = (TokenStream)_input; + int _s = s; + switch ( s ) { + case 0 : + int LA62_0 = input.LA(1); + + + int index62_0 = input.index(); + input.rewind(); + s = -1; + if ( LA62_0 == 35 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0) ) {s = 1;} + + else if ( LA62_0 == 54 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1) ) {s = 2;} + + else if ( LA62_0 == 38 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2) ) {s = 3;} + + else if ( LA62_0 == 39 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3) ) {s = 4;} + + else if ( LA62_0 == 52 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4) ) {s = 5;} + + else if ( LA62_0 == 62 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5) ) {s = 6;} + + else if ( LA62_0 == 63 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6) ) {s = 7;} + + else if ( LA62_0 == 55 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7) ) {s = 8;} + + else if ( LA62_0 == 40 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8) ) {s = 9;} + + else if ( LA62_0 == 56 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9) ) {s = 10;} + + else if ( LA62_0 == 57 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10) ) {s = 11;} + + else if ( LA62_0 == 58 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11) ) {s = 12;} + + else if ( LA62_0 == 59 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 12) ) {s = 13;} + + else if ( (LA62_0==30) ) {s = 14;} + + + input.seek(index62_0); + if ( s>=0 ) return s; + break; + } + NoViableAltException nvae = + new NoViableAltException(getDescription(), 62, _s, input); + error(nvae); + throw nvae; + } + } + static final String dfa_7s = "\16\uffff"; + static final String dfa_8s = "\1\43\15\uffff"; + static final String dfa_9s = "\1\77\15\uffff"; + static final String dfa_10s = "\1\uffff\1\1\1\2\1\3\1\4\1\5\1\6\1\7\1\10\1\11\1\12\1\13\1\14\1\15"; + static final String dfa_11s = "\1\0\15\uffff}>"; + static final String[] dfa_12s = { + "\1\1\2\uffff\1\3\1\4\1\11\13\uffff\1\5\1\uffff\1\2\1\10\1\12\1\13\1\14\1\15\2\uffff\1\6\1\7", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + }; + + static final short[] dfa_7 = DFA.unpackEncodedString(dfa_7s); + static final char[] dfa_8 = DFA.unpackEncodedStringToUnsignedChars(dfa_8s); + static final char[] dfa_9 = DFA.unpackEncodedStringToUnsignedChars(dfa_9s); + static final short[] dfa_10 = DFA.unpackEncodedString(dfa_10s); + static final short[] dfa_11 = DFA.unpackEncodedString(dfa_11s); + static final short[][] dfa_12 = unpackEncodedStringArray(dfa_12s); + + class DFA63 extends DFA { + + public DFA63(BaseRecognizer recognizer) { + this.recognizer = recognizer; + this.decisionNumber = 63; + this.eot = dfa_7; + this.eof = dfa_7; + this.min = dfa_8; + this.max = dfa_9; + this.accept = dfa_10; + this.special = dfa_11; + this.transition = dfa_12; + } + public String getDescription() { + return "9475:3: ( ({...}? => ( ( ( rule__GenerationTask__Group_3_0__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_1__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_2__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_3__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_4__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_5__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_6__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_7__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_8__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_9__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_10__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_11__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_12__0 ) ) ) ) )"; + } + public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { + TokenStream input = (TokenStream)_input; + int _s = s; + switch ( s ) { + case 0 : + int LA63_0 = input.LA(1); + + + int index63_0 = input.index(); + input.rewind(); + s = -1; + if ( LA63_0 == 35 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0) ) {s = 1;} + + else if ( LA63_0 == 54 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1) ) {s = 2;} + + else if ( LA63_0 == 38 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2) ) {s = 3;} + + else if ( LA63_0 == 39 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3) ) {s = 4;} + + else if ( LA63_0 == 52 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4) ) {s = 5;} + + else if ( LA63_0 == 62 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5) ) {s = 6;} + + else if ( LA63_0 == 63 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6) ) {s = 7;} + + else if ( LA63_0 == 55 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7) ) {s = 8;} + + else if ( LA63_0 == 40 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8) ) {s = 9;} + + else if ( LA63_0 == 56 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9) ) {s = 10;} + + else if ( LA63_0 == 57 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10) ) {s = 11;} + + else if ( LA63_0 == 58 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11) ) {s = 12;} + + else if ( LA63_0 == 59 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 12) ) {s = 13;} + + + input.seek(index63_0); + if ( s>=0 ) return s; + break; + } + NoViableAltException nvae = + new NoViableAltException(getDescription(), 63, _s, input); + error(nvae); + throw nvae; + } + } + + class DFA64 extends DFA { + + public DFA64(BaseRecognizer recognizer) { + this.recognizer = recognizer; + this.decisionNumber = 64; + this.eot = dfa_1; + this.eof = dfa_1; + this.min = dfa_2; + this.max = dfa_3; + this.accept = dfa_4; + this.special = dfa_5; + this.transition = dfa_6; + } + public String getDescription() { + return "9685:2: ( rule__GenerationTask__UnorderedGroup_3__1 )?"; + } + public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { + TokenStream input = (TokenStream)_input; + int _s = s; + switch ( s ) { + case 0 : + int LA64_0 = input.LA(1); + + + int index64_0 = input.index(); + input.rewind(); + s = -1; + if ( LA64_0 == 35 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0) ) {s = 1;} + + else if ( LA64_0 == 54 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1) ) {s = 2;} + + else if ( LA64_0 == 38 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2) ) {s = 3;} + + else if ( LA64_0 == 39 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3) ) {s = 4;} + + else if ( LA64_0 == 52 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4) ) {s = 5;} + + else if ( LA64_0 == 62 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5) ) {s = 6;} + + else if ( LA64_0 == 63 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6) ) {s = 7;} + + else if ( LA64_0 == 55 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7) ) {s = 8;} + + else if ( LA64_0 == 40 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8) ) {s = 9;} + + else if ( LA64_0 == 56 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9) ) {s = 10;} + + else if ( LA64_0 == 57 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10) ) {s = 11;} + + else if ( LA64_0 == 58 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11) ) {s = 12;} + + else if ( LA64_0 == 59 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 12) ) {s = 13;} + + else if ( (LA64_0==30) ) {s = 14;} + + + input.seek(index64_0); + if ( s>=0 ) return s; + break; + } + NoViableAltException nvae = + new NoViableAltException(getDescription(), 64, _s, input); + error(nvae); + throw nvae; + } + } + + class DFA65 extends DFA { + + public DFA65(BaseRecognizer recognizer) { + this.recognizer = recognizer; + this.decisionNumber = 65; + this.eot = dfa_1; + this.eof = dfa_1; + this.min = dfa_2; + this.max = dfa_3; + this.accept = dfa_4; + this.special = dfa_5; + this.transition = dfa_6; + } + public String getDescription() { + return "9697:2: ( rule__GenerationTask__UnorderedGroup_3__2 )?"; + } + public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { + TokenStream input = (TokenStream)_input; + int _s = s; + switch ( s ) { + case 0 : + int LA65_0 = input.LA(1); + + + int index65_0 = input.index(); + input.rewind(); + s = -1; + if ( LA65_0 == 35 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0) ) {s = 1;} + + else if ( LA65_0 == 54 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1) ) {s = 2;} + + else if ( LA65_0 == 38 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2) ) {s = 3;} + + else if ( LA65_0 == 39 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3) ) {s = 4;} + + else if ( LA65_0 == 52 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4) ) {s = 5;} + + else if ( LA65_0 == 62 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5) ) {s = 6;} + + else if ( LA65_0 == 63 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6) ) {s = 7;} + + else if ( LA65_0 == 55 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7) ) {s = 8;} + + else if ( LA65_0 == 40 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8) ) {s = 9;} + + else if ( LA65_0 == 56 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9) ) {s = 10;} + + else if ( LA65_0 == 57 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10) ) {s = 11;} + + else if ( LA65_0 == 58 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11) ) {s = 12;} + + else if ( LA65_0 == 59 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 12) ) {s = 13;} + + else if ( (LA65_0==30) ) {s = 14;} + + + input.seek(index65_0); + if ( s>=0 ) return s; + break; + } + NoViableAltException nvae = + new NoViableAltException(getDescription(), 65, _s, input); + error(nvae); + throw nvae; + } + } + + class DFA66 extends DFA { + + public DFA66(BaseRecognizer recognizer) { + this.recognizer = recognizer; + this.decisionNumber = 66; + this.eot = dfa_1; + this.eof = dfa_1; + this.min = dfa_2; + this.max = dfa_3; + this.accept = dfa_4; + this.special = dfa_5; + this.transition = dfa_6; + } + public String getDescription() { + return "9709:2: ( rule__GenerationTask__UnorderedGroup_3__3 )?"; + } + public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { + TokenStream input = (TokenStream)_input; + int _s = s; + switch ( s ) { + case 0 : + int LA66_0 = input.LA(1); + + + int index66_0 = input.index(); + input.rewind(); + s = -1; + if ( LA66_0 == 35 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0) ) {s = 1;} + + else if ( LA66_0 == 54 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1) ) {s = 2;} + + else if ( LA66_0 == 38 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2) ) {s = 3;} + + else if ( LA66_0 == 39 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3) ) {s = 4;} + + else if ( LA66_0 == 52 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4) ) {s = 5;} + + else if ( LA66_0 == 62 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5) ) {s = 6;} + + else if ( LA66_0 == 63 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6) ) {s = 7;} + + else if ( LA66_0 == 55 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7) ) {s = 8;} + + else if ( LA66_0 == 40 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8) ) {s = 9;} + + else if ( LA66_0 == 56 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9) ) {s = 10;} + + else if ( LA66_0 == 57 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10) ) {s = 11;} + + else if ( LA66_0 == 58 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11) ) {s = 12;} + + else if ( LA66_0 == 59 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 12) ) {s = 13;} + + else if ( (LA66_0==30) ) {s = 14;} + + + input.seek(index66_0); + if ( s>=0 ) return s; + break; + } + NoViableAltException nvae = + new NoViableAltException(getDescription(), 66, _s, input); + error(nvae); + throw nvae; + } + } + + class DFA67 extends DFA { + + public DFA67(BaseRecognizer recognizer) { + this.recognizer = recognizer; + this.decisionNumber = 67; + this.eot = dfa_1; + this.eof = dfa_1; + this.min = dfa_2; + this.max = dfa_3; + this.accept = dfa_4; + this.special = dfa_5; + this.transition = dfa_6; + } + public String getDescription() { + return "9721:2: ( rule__GenerationTask__UnorderedGroup_3__4 )?"; + } + public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { + TokenStream input = (TokenStream)_input; + int _s = s; + switch ( s ) { + case 0 : + int LA67_0 = input.LA(1); + + + int index67_0 = input.index(); + input.rewind(); + s = -1; + if ( LA67_0 == 35 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0) ) {s = 1;} + + else if ( LA67_0 == 54 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1) ) {s = 2;} + + else if ( LA67_0 == 38 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2) ) {s = 3;} + + else if ( LA67_0 == 39 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3) ) {s = 4;} + + else if ( LA67_0 == 52 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4) ) {s = 5;} + + else if ( LA67_0 == 62 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5) ) {s = 6;} + + else if ( LA67_0 == 63 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6) ) {s = 7;} + + else if ( LA67_0 == 55 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7) ) {s = 8;} + + else if ( LA67_0 == 40 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8) ) {s = 9;} + + else if ( LA67_0 == 56 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9) ) {s = 10;} + + else if ( LA67_0 == 57 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10) ) {s = 11;} + + else if ( LA67_0 == 58 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11) ) {s = 12;} + + else if ( LA67_0 == 59 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 12) ) {s = 13;} + + else if ( (LA67_0==30) ) {s = 14;} + + + input.seek(index67_0); + if ( s>=0 ) return s; + break; + } + NoViableAltException nvae = + new NoViableAltException(getDescription(), 67, _s, input); + error(nvae); + throw nvae; + } + } + + class DFA68 extends DFA { + + public DFA68(BaseRecognizer recognizer) { + this.recognizer = recognizer; + this.decisionNumber = 68; + this.eot = dfa_1; + this.eof = dfa_1; + this.min = dfa_2; + this.max = dfa_3; + this.accept = dfa_4; + this.special = dfa_5; + this.transition = dfa_6; + } + public String getDescription() { + return "9733:2: ( rule__GenerationTask__UnorderedGroup_3__5 )?"; + } + public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { + TokenStream input = (TokenStream)_input; + int _s = s; + switch ( s ) { + case 0 : + int LA68_0 = input.LA(1); + + + int index68_0 = input.index(); + input.rewind(); + s = -1; + if ( LA68_0 == 35 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0) ) {s = 1;} + + else if ( LA68_0 == 54 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1) ) {s = 2;} + + else if ( LA68_0 == 38 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2) ) {s = 3;} + + else if ( LA68_0 == 39 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3) ) {s = 4;} + + else if ( LA68_0 == 52 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4) ) {s = 5;} + + else if ( LA68_0 == 62 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5) ) {s = 6;} + + else if ( LA68_0 == 63 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6) ) {s = 7;} + + else if ( LA68_0 == 55 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7) ) {s = 8;} + + else if ( LA68_0 == 40 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8) ) {s = 9;} + + else if ( LA68_0 == 56 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9) ) {s = 10;} + + else if ( LA68_0 == 57 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10) ) {s = 11;} + + else if ( LA68_0 == 58 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11) ) {s = 12;} + + else if ( LA68_0 == 59 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 12) ) {s = 13;} + + else if ( (LA68_0==30) ) {s = 14;} + + + input.seek(index68_0); + if ( s>=0 ) return s; + break; + } + NoViableAltException nvae = + new NoViableAltException(getDescription(), 68, _s, input); + error(nvae); + throw nvae; + } + } + + class DFA69 extends DFA { + + public DFA69(BaseRecognizer recognizer) { + this.recognizer = recognizer; + this.decisionNumber = 69; + this.eot = dfa_1; + this.eof = dfa_1; + this.min = dfa_2; + this.max = dfa_3; + this.accept = dfa_4; + this.special = dfa_5; + this.transition = dfa_6; + } + public String getDescription() { + return "9745:2: ( rule__GenerationTask__UnorderedGroup_3__6 )?"; + } + public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { + TokenStream input = (TokenStream)_input; + int _s = s; + switch ( s ) { + case 0 : + int LA69_0 = input.LA(1); + + + int index69_0 = input.index(); + input.rewind(); + s = -1; + if ( LA69_0 == 35 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0) ) {s = 1;} + + else if ( LA69_0 == 54 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1) ) {s = 2;} + + else if ( LA69_0 == 38 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2) ) {s = 3;} + + else if ( LA69_0 == 39 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3) ) {s = 4;} + + else if ( LA69_0 == 52 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4) ) {s = 5;} + + else if ( LA69_0 == 62 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5) ) {s = 6;} + + else if ( LA69_0 == 63 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6) ) {s = 7;} + + else if ( LA69_0 == 55 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7) ) {s = 8;} + + else if ( LA69_0 == 40 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8) ) {s = 9;} + + else if ( LA69_0 == 56 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9) ) {s = 10;} + + else if ( LA69_0 == 57 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10) ) {s = 11;} + + else if ( LA69_0 == 58 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11) ) {s = 12;} + + else if ( LA69_0 == 59 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 12) ) {s = 13;} + + else if ( (LA69_0==30) ) {s = 14;} + + + input.seek(index69_0); + if ( s>=0 ) return s; + break; + } + NoViableAltException nvae = + new NoViableAltException(getDescription(), 69, _s, input); + error(nvae); + throw nvae; + } + } + + class DFA70 extends DFA { + + public DFA70(BaseRecognizer recognizer) { + this.recognizer = recognizer; + this.decisionNumber = 70; + this.eot = dfa_1; + this.eof = dfa_1; + this.min = dfa_2; + this.max = dfa_3; + this.accept = dfa_4; + this.special = dfa_5; + this.transition = dfa_6; + } + public String getDescription() { + return "9757:2: ( rule__GenerationTask__UnorderedGroup_3__7 )?"; + } + public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { + TokenStream input = (TokenStream)_input; + int _s = s; + switch ( s ) { + case 0 : + int LA70_0 = input.LA(1); + + + int index70_0 = input.index(); + input.rewind(); + s = -1; + if ( LA70_0 == 35 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0) ) {s = 1;} + + else if ( LA70_0 == 54 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1) ) {s = 2;} + + else if ( LA70_0 == 38 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2) ) {s = 3;} + + else if ( LA70_0 == 39 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3) ) {s = 4;} + + else if ( LA70_0 == 52 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4) ) {s = 5;} + + else if ( LA70_0 == 62 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5) ) {s = 6;} + + else if ( LA70_0 == 63 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6) ) {s = 7;} + + else if ( LA70_0 == 55 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7) ) {s = 8;} + + else if ( LA70_0 == 40 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8) ) {s = 9;} + + else if ( LA70_0 == 56 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9) ) {s = 10;} + + else if ( LA70_0 == 57 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10) ) {s = 11;} + + else if ( LA70_0 == 58 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11) ) {s = 12;} + + else if ( LA70_0 == 59 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 12) ) {s = 13;} + + else if ( (LA70_0==30) ) {s = 14;} + + + input.seek(index70_0); + if ( s>=0 ) return s; + break; + } + NoViableAltException nvae = + new NoViableAltException(getDescription(), 70, _s, input); + error(nvae); + throw nvae; + } + } + + class DFA71 extends DFA { + + public DFA71(BaseRecognizer recognizer) { + this.recognizer = recognizer; + this.decisionNumber = 71; + this.eot = dfa_1; + this.eof = dfa_1; + this.min = dfa_2; + this.max = dfa_3; + this.accept = dfa_4; + this.special = dfa_5; + this.transition = dfa_6; + } + public String getDescription() { + return "9769:2: ( rule__GenerationTask__UnorderedGroup_3__8 )?"; + } + public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { + TokenStream input = (TokenStream)_input; + int _s = s; + switch ( s ) { + case 0 : + int LA71_0 = input.LA(1); + + + int index71_0 = input.index(); + input.rewind(); + s = -1; + if ( LA71_0 == 35 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0) ) {s = 1;} + + else if ( LA71_0 == 54 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1) ) {s = 2;} + + else if ( LA71_0 == 38 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2) ) {s = 3;} + + else if ( LA71_0 == 39 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3) ) {s = 4;} + + else if ( LA71_0 == 52 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4) ) {s = 5;} + + else if ( LA71_0 == 62 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5) ) {s = 6;} + + else if ( LA71_0 == 63 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6) ) {s = 7;} + + else if ( LA71_0 == 55 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7) ) {s = 8;} + + else if ( LA71_0 == 40 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8) ) {s = 9;} + + else if ( LA71_0 == 56 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9) ) {s = 10;} + + else if ( LA71_0 == 57 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10) ) {s = 11;} + + else if ( LA71_0 == 58 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11) ) {s = 12;} + + else if ( LA71_0 == 59 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 12) ) {s = 13;} + + else if ( (LA71_0==30) ) {s = 14;} + + + input.seek(index71_0); + if ( s>=0 ) return s; + break; + } + NoViableAltException nvae = + new NoViableAltException(getDescription(), 71, _s, input); + error(nvae); + throw nvae; + } + } + + class DFA72 extends DFA { + + public DFA72(BaseRecognizer recognizer) { + this.recognizer = recognizer; + this.decisionNumber = 72; + this.eot = dfa_1; + this.eof = dfa_1; + this.min = dfa_2; + this.max = dfa_3; + this.accept = dfa_4; + this.special = dfa_5; + this.transition = dfa_6; + } + public String getDescription() { + return "9781:2: ( rule__GenerationTask__UnorderedGroup_3__9 )?"; + } + public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { + TokenStream input = (TokenStream)_input; + int _s = s; + switch ( s ) { + case 0 : + int LA72_0 = input.LA(1); + + + int index72_0 = input.index(); + input.rewind(); + s = -1; + if ( LA72_0 == 35 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0) ) {s = 1;} + + else if ( LA72_0 == 54 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1) ) {s = 2;} + + else if ( LA72_0 == 38 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2) ) {s = 3;} + + else if ( LA72_0 == 39 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3) ) {s = 4;} + + else if ( LA72_0 == 52 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4) ) {s = 5;} + + else if ( LA72_0 == 62 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5) ) {s = 6;} + + else if ( LA72_0 == 63 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6) ) {s = 7;} + + else if ( LA72_0 == 55 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7) ) {s = 8;} + + else if ( LA72_0 == 40 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8) ) {s = 9;} + + else if ( LA72_0 == 56 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9) ) {s = 10;} + + else if ( LA72_0 == 57 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10) ) {s = 11;} + + else if ( LA72_0 == 58 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11) ) {s = 12;} + + else if ( LA72_0 == 59 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 12) ) {s = 13;} + + else if ( (LA72_0==30) ) {s = 14;} + + + input.seek(index72_0); + if ( s>=0 ) return s; + break; + } + NoViableAltException nvae = + new NoViableAltException(getDescription(), 72, _s, input); + error(nvae); + throw nvae; + } + } + + class DFA73 extends DFA { + + public DFA73(BaseRecognizer recognizer) { + this.recognizer = recognizer; + this.decisionNumber = 73; + this.eot = dfa_1; + this.eof = dfa_1; + this.min = dfa_2; + this.max = dfa_3; + this.accept = dfa_4; + this.special = dfa_5; + this.transition = dfa_6; + } + public String getDescription() { + return "9793:2: ( rule__GenerationTask__UnorderedGroup_3__10 )?"; + } + public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { + TokenStream input = (TokenStream)_input; + int _s = s; + switch ( s ) { + case 0 : + int LA73_0 = input.LA(1); + + + int index73_0 = input.index(); + input.rewind(); + s = -1; + if ( LA73_0 == 35 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0) ) {s = 1;} + + else if ( LA73_0 == 54 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1) ) {s = 2;} + + else if ( LA73_0 == 38 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2) ) {s = 3;} + + else if ( LA73_0 == 39 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3) ) {s = 4;} + + else if ( LA73_0 == 52 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4) ) {s = 5;} + + else if ( LA73_0 == 62 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5) ) {s = 6;} + + else if ( LA73_0 == 63 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6) ) {s = 7;} + + else if ( LA73_0 == 55 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7) ) {s = 8;} + + else if ( LA73_0 == 40 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8) ) {s = 9;} + + else if ( LA73_0 == 56 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9) ) {s = 10;} + + else if ( LA73_0 == 57 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10) ) {s = 11;} + + else if ( LA73_0 == 58 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11) ) {s = 12;} + + else if ( LA73_0 == 59 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 12) ) {s = 13;} + + else if ( (LA73_0==30) ) {s = 14;} + + + input.seek(index73_0); + if ( s>=0 ) return s; + break; + } + NoViableAltException nvae = + new NoViableAltException(getDescription(), 73, _s, input); + error(nvae); + throw nvae; + } + } + + class DFA74 extends DFA { + + public DFA74(BaseRecognizer recognizer) { + this.recognizer = recognizer; + this.decisionNumber = 74; + this.eot = dfa_1; + this.eof = dfa_1; + this.min = dfa_2; + this.max = dfa_3; + this.accept = dfa_4; + this.special = dfa_5; + this.transition = dfa_6; + } + public String getDescription() { + return "9805:2: ( rule__GenerationTask__UnorderedGroup_3__11 )?"; + } + public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { + TokenStream input = (TokenStream)_input; + int _s = s; + switch ( s ) { + case 0 : + int LA74_0 = input.LA(1); + + + int index74_0 = input.index(); + input.rewind(); + s = -1; + if ( LA74_0 == 35 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0) ) {s = 1;} + + else if ( LA74_0 == 54 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1) ) {s = 2;} + + else if ( LA74_0 == 38 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2) ) {s = 3;} + + else if ( LA74_0 == 39 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3) ) {s = 4;} + + else if ( LA74_0 == 52 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4) ) {s = 5;} + + else if ( LA74_0 == 62 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5) ) {s = 6;} + + else if ( LA74_0 == 63 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6) ) {s = 7;} + + else if ( LA74_0 == 55 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7) ) {s = 8;} + + else if ( LA74_0 == 40 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8) ) {s = 9;} + + else if ( LA74_0 == 56 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9) ) {s = 10;} + + else if ( LA74_0 == 57 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10) ) {s = 11;} + + else if ( LA74_0 == 58 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11) ) {s = 12;} + + else if ( LA74_0 == 59 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 12) ) {s = 13;} + + else if ( (LA74_0==30) ) {s = 14;} + + + input.seek(index74_0); + if ( s>=0 ) return s; + break; + } + NoViableAltException nvae = + new NoViableAltException(getDescription(), 74, _s, input); + error(nvae); + throw nvae; + } + } + + class DFA75 extends DFA { + + public DFA75(BaseRecognizer recognizer) { + this.recognizer = recognizer; + this.decisionNumber = 75; + this.eot = dfa_1; + this.eof = dfa_1; + this.min = dfa_2; + this.max = dfa_3; + this.accept = dfa_4; + this.special = dfa_5; + this.transition = dfa_6; + } + public String getDescription() { + return "9817:2: ( rule__GenerationTask__UnorderedGroup_3__12 )?"; + } + public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { + TokenStream input = (TokenStream)_input; + int _s = s; + switch ( s ) { + case 0 : + int LA75_0 = input.LA(1); + + + int index75_0 = input.index(); + input.rewind(); + s = -1; + if ( LA75_0 == 35 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0) ) {s = 1;} + + else if ( LA75_0 == 54 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1) ) {s = 2;} + + else if ( LA75_0 == 38 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2) ) {s = 3;} + + else if ( LA75_0 == 39 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3) ) {s = 4;} + + else if ( LA75_0 == 52 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4) ) {s = 5;} + + else if ( LA75_0 == 62 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5) ) {s = 6;} + + else if ( LA75_0 == 63 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6) ) {s = 7;} + + else if ( LA75_0 == 55 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7) ) {s = 8;} + + else if ( LA75_0 == 40 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8) ) {s = 9;} + + else if ( LA75_0 == 56 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9) ) {s = 10;} + + else if ( LA75_0 == 57 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10) ) {s = 11;} + + else if ( LA75_0 == 58 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11) ) {s = 12;} + + else if ( LA75_0 == 59 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 12) ) {s = 13;} + + else if ( (LA75_0==30) ) {s = 14;} + + + input.seek(index75_0); + if ( s>=0 ) return s; + break; + } + NoViableAltException nvae = + new NoViableAltException(getDescription(), 75, _s, input); + error(nvae); + throw nvae; + } + } + + + public static final BitSet FOLLOW_1 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_2 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_3 = new BitSet(new long[]{0x003001E808000000L}); + public static final BitSet FOLLOW_4 = new BitSet(new long[]{0x0000000000800002L}); + public static final BitSet FOLLOW_5 = new BitSet(new long[]{0x003001E808000002L}); + public static final BitSet FOLLOW_6 = new BitSet(new long[]{0x0000000000200000L}); + public static final BitSet FOLLOW_7 = new BitSet(new long[]{0x0000000000200002L}); + public static final BitSet FOLLOW_8 = new BitSet(new long[]{0x0000000000000010L}); + public static final BitSet FOLLOW_9 = new BitSet(new long[]{0x0000000000000020L}); + public static final BitSet FOLLOW_10 = new BitSet(new long[]{0x0000000001000000L}); + public static final BitSet FOLLOW_11 = new BitSet(new long[]{0x0000000000000040L}); + public static final BitSet FOLLOW_12 = new BitSet(new long[]{0x0000000002000000L}); + public static final BitSet FOLLOW_13 = new BitSet(new long[]{0x0000000004000000L}); + public static final BitSet FOLLOW_14 = new BitSet(new long[]{0x0000000010000000L}); + public static final BitSet FOLLOW_15 = new BitSet(new long[]{0x0000000100000010L}); + public static final BitSet FOLLOW_16 = new BitSet(new long[]{0x00000000C0000000L}); + public static final BitSet FOLLOW_17 = new BitSet(new long[]{0x0000000080000002L}); + public static final BitSet FOLLOW_18 = new BitSet(new long[]{0x0000000200000000L}); + public static final BitSet FOLLOW_19 = new BitSet(new long[]{0x0000000020000000L}); + public static final BitSet FOLLOW_20 = new BitSet(new long[]{0x0000000400000000L}); + public static final BitSet FOLLOW_21 = new BitSet(new long[]{0x0000001000000050L}); + public static final BitSet FOLLOW_22 = new BitSet(new long[]{0x0000000000000050L}); + public static final BitSet FOLLOW_23 = new BitSet(new long[]{0x0000000004001800L}); + public static final BitSet FOLLOW_24 = new BitSet(new long[]{0x0000000000006000L}); + public static final BitSet FOLLOW_25 = new BitSet(new long[]{0x0000000000400020L}); + public static final BitSet FOLLOW_26 = new BitSet(new long[]{0x00000E0040000040L}); + public static final BitSet FOLLOW_27 = new BitSet(new long[]{0x0000000080000000L}); + public static final BitSet FOLLOW_28 = new BitSet(new long[]{0x00000E0000000040L}); + public static final BitSet FOLLOW_29 = new BitSet(new long[]{0x0000000000038000L}); + public static final BitSet FOLLOW_30 = new BitSet(new long[]{0x0000100040000000L}); + public static final BitSet FOLLOW_31 = new BitSet(new long[]{0x0000100000000000L}); + public static final BitSet FOLLOW_32 = new BitSet(new long[]{0x0000200000000000L}); + public static final BitSet FOLLOW_33 = new BitSet(new long[]{0x1000000010000000L}); + public static final BitSet FOLLOW_34 = new BitSet(new long[]{0x2000000000000020L}); + public static final BitSet FOLLOW_35 = new BitSet(new long[]{0x0000800000000000L}); + public static final BitSet FOLLOW_36 = new BitSet(new long[]{0x0001000000000000L}); + public static final BitSet FOLLOW_37 = new BitSet(new long[]{0x2000000020000020L}); + public static final BitSet FOLLOW_38 = new BitSet(new long[]{0x0002000000000000L}); + public static final BitSet FOLLOW_39 = new BitSet(new long[]{0x0004000000000000L}); + public static final BitSet FOLLOW_40 = new BitSet(new long[]{0x0000400000000000L}); + public static final BitSet FOLLOW_41 = new BitSet(new long[]{0x0008000000000000L}); + public static final BitSet FOLLOW_42 = new BitSet(new long[]{0x0000000040400020L}); + public static final BitSet FOLLOW_43 = new BitSet(new long[]{0x0000000040000040L}); + public static final BitSet FOLLOW_44 = new BitSet(new long[]{0xCFD001C800000000L}); + public static final BitSet FOLLOW_45 = new BitSet(new long[]{0x0000000040000000L}); + public static final BitSet FOLLOW_46 = new BitSet(new long[]{0x0000000020000010L}); + public static final BitSet FOLLOW_47 = new BitSet(new long[]{0x00000000001C0000L}); + public static final BitSet FOLLOW_48 = new BitSet(new long[]{0xCFD001C800000002L}); + +} diff --git a/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeModule.xtendbin b/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeModule.xtendbin index d13742f9..108c216d 100644 Binary files a/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeModule.xtendbin and b/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeModule.xtendbin differ diff --git a/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeSetup.xtendbin b/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeSetup.xtendbin index dc0a79cc..3d9da5ce 100644 Binary files a/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeSetup.xtendbin and b/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeSetup.xtendbin differ diff --git a/Application/hu.bme.mit.inf.dslreasoner.application.ui/META-INF/MANIFEST.MF b/Application/hu.bme.mit.inf.dslreasoner.application.ui/META-INF/MANIFEST.MF index df5caadc..5bb18f44 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application.ui/META-INF/MANIFEST.MF +++ b/Application/hu.bme.mit.inf.dslreasoner.application.ui/META-INF/MANIFEST.MF @@ -1,27 +1,27 @@ -Manifest-Version: 1.0 -Bundle-ManifestVersion: 2 -Bundle-Name: hu.bme.mit.inf.dslreasoner.application.ui -Bundle-Vendor: My Company -Bundle-Version: 1.0.0.qualifier -Bundle-SymbolicName: hu.bme.mit.inf.dslreasoner.application.ui; singleton:=true -Bundle-ActivationPolicy: lazy -Require-Bundle: hu.bme.mit.inf.dslreasoner.application, - hu.bme.mit.inf.dslreasoner.application.ide, - org.eclipse.xtext.ui, - org.eclipse.xtext.ui.shared, - org.eclipse.xtext.ui.codetemplates.ui, - org.eclipse.ui.editors;bundle-version="3.5.0", - org.eclipse.ui.ide;bundle-version="3.5.0", - org.eclipse.ui, - org.eclipse.compare, - org.eclipse.xtext.builder, - org.eclipse.xtend.lib;resolution:=optional, - org.eclipse.xtext.xbase.lib, - org.eclipse.viatra.addon.validation.runtime.ui;bundle-version="1.7.0" -Import-Package: org.apache.log4j -Bundle-RequiredExecutionEnvironment: JavaSE-1.8 -Export-Package: hu.bme.mit.inf.dslreasoner.application.ui.quickfix, - hu.bme.mit.inf.dslreasoner.application.ui.contentassist, - hu.bme.mit.inf.dslreasoner.application.ui.internal -Bundle-Activator: hu.bme.mit.inf.dslreasoner.application.ui.internal.ApplicationActivator -Automatic-Module-Name: hu.bme.mit.inf.dslreasoner.application.ui +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: hu.bme.mit.inf.dslreasoner.application.ui +Bundle-Vendor: My Company +Bundle-Version: 1.0.0.qualifier +Bundle-SymbolicName: hu.bme.mit.inf.dslreasoner.application.ui; singleton:=true +Bundle-ActivationPolicy: lazy +Require-Bundle: hu.bme.mit.inf.dslreasoner.application, + hu.bme.mit.inf.dslreasoner.application.ide, + org.eclipse.xtext.ui, + org.eclipse.xtext.ui.shared, + org.eclipse.xtext.ui.codetemplates.ui, + org.eclipse.ui.editors;bundle-version="3.5.0", + org.eclipse.ui.ide;bundle-version="3.5.0", + org.eclipse.ui, + org.eclipse.compare, + org.eclipse.xtext.builder, + org.eclipse.xtend.lib;bundle-version="2.14.0";resolution:=optional, + org.eclipse.xtext.xbase.lib;bundle-version="2.14.0", + org.eclipse.viatra.addon.validation.runtime.ui;bundle-version="1.7.0" +Import-Package: org.apache.log4j +Bundle-RequiredExecutionEnvironment: JavaSE-1.8 +Export-Package: hu.bme.mit.inf.dslreasoner.application.ui.quickfix, + hu.bme.mit.inf.dslreasoner.application.ui.contentassist, + hu.bme.mit.inf.dslreasoner.application.ui.internal +Bundle-Activator: hu.bme.mit.inf.dslreasoner.application.ui.internal.ApplicationActivator +Automatic-Module-Name: hu.bme.mit.inf.dslreasoner.application.ui diff --git a/Application/hu.bme.mit.inf.dslreasoner.application.ui/plugin.xml_gen b/Application/hu.bme.mit.inf.dslreasoner.application.ui/plugin.xml_gen index fd03c81e..c580c851 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application.ui/plugin.xml_gen +++ b/Application/hu.bme.mit.inf.dslreasoner.application.ui/plugin.xml_gen @@ -1,410 +1,425 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Application/hu.bme.mit.inf.dslreasoner.application.ui/src-gen/hu/bme/mit/inf/dslreasoner/application/ui/AbstractApplicationConfigurationUiModule.java b/Application/hu.bme.mit.inf.dslreasoner.application.ui/src-gen/hu/bme/mit/inf/dslreasoner/application/ui/AbstractApplicationConfigurationUiModule.java index 15fa1ba3..44f44a1f 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application.ui/src-gen/hu/bme/mit/inf/dslreasoner/application/ui/AbstractApplicationConfigurationUiModule.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application.ui/src-gen/hu/bme/mit/inf/dslreasoner/application/ui/AbstractApplicationConfigurationUiModule.java @@ -1,286 +1,286 @@ -/* - * generated by Xtext 2.12.0 - */ -package hu.bme.mit.inf.dslreasoner.application.ui; - -import com.google.inject.Binder; -import com.google.inject.Provider; -import com.google.inject.name.Names; -import hu.bme.mit.inf.dslreasoner.application.ide.contentassist.antlr.ApplicationConfigurationParser; -import hu.bme.mit.inf.dslreasoner.application.ide.contentassist.antlr.PartialApplicationConfigurationContentAssistParser; -import hu.bme.mit.inf.dslreasoner.application.ide.contentassist.antlr.internal.InternalApplicationConfigurationLexer; -import hu.bme.mit.inf.dslreasoner.application.ui.contentassist.ApplicationConfigurationProposalProvider; -import hu.bme.mit.inf.dslreasoner.application.ui.labeling.ApplicationConfigurationDescriptionLabelProvider; -import hu.bme.mit.inf.dslreasoner.application.ui.labeling.ApplicationConfigurationLabelProvider; -import hu.bme.mit.inf.dslreasoner.application.ui.outline.ApplicationConfigurationOutlineTreeProvider; -import hu.bme.mit.inf.dslreasoner.application.ui.quickfix.ApplicationConfigurationQuickfixProvider; -import org.eclipse.compare.IViewerCreator; -import org.eclipse.core.resources.IWorkspaceRoot; -import org.eclipse.core.resources.ResourcesPlugin; -import org.eclipse.jface.viewers.ILabelProvider; -import org.eclipse.ui.plugin.AbstractUIPlugin; -import org.eclipse.xtext.builder.BuilderParticipant; -import org.eclipse.xtext.builder.EclipseOutputConfigurationProvider; -import org.eclipse.xtext.builder.IXtextBuilderParticipant; -import org.eclipse.xtext.builder.builderState.IBuilderState; -import org.eclipse.xtext.builder.clustering.CurrentDescriptions; -import org.eclipse.xtext.builder.impl.PersistentDataAwareDirtyResource; -import org.eclipse.xtext.builder.nature.NatureAddingEditorCallback; -import org.eclipse.xtext.builder.preferences.BuilderPreferenceAccess; -import org.eclipse.xtext.generator.IContextualOutputConfigurationProvider; -import org.eclipse.xtext.ide.LexerIdeBindings; -import org.eclipse.xtext.ide.editor.contentassist.antlr.IContentAssistParser; -import org.eclipse.xtext.ide.editor.contentassist.antlr.internal.Lexer; -import org.eclipse.xtext.ide.editor.partialEditing.IPartialEditingContentAssistParser; -import org.eclipse.xtext.parser.antlr.AntlrTokenDefProvider; -import org.eclipse.xtext.parser.antlr.ITokenDefProvider; -import org.eclipse.xtext.parser.antlr.LexerProvider; -import org.eclipse.xtext.resource.IResourceDescriptions; -import org.eclipse.xtext.resource.containers.IAllContainersState; -import org.eclipse.xtext.resource.impl.ResourceDescriptionsProvider; -import org.eclipse.xtext.service.SingletonBinding; -import org.eclipse.xtext.ui.DefaultUiModule; -import org.eclipse.xtext.ui.UIBindings; -import org.eclipse.xtext.ui.codetemplates.ui.AccessibleCodetemplatesActivator; -import org.eclipse.xtext.ui.codetemplates.ui.partialEditing.IPartialEditingContentAssistContextFactory; -import org.eclipse.xtext.ui.codetemplates.ui.partialEditing.PartialEditingContentAssistContextFactory; -import org.eclipse.xtext.ui.codetemplates.ui.preferences.AdvancedTemplatesPreferencePage; -import org.eclipse.xtext.ui.codetemplates.ui.preferences.TemplatesLanguageConfiguration; -import org.eclipse.xtext.ui.codetemplates.ui.registry.LanguageRegistrar; -import org.eclipse.xtext.ui.codetemplates.ui.registry.LanguageRegistry; -import org.eclipse.xtext.ui.compare.DefaultViewerCreator; -import org.eclipse.xtext.ui.editor.DocumentBasedDirtyResource; -import org.eclipse.xtext.ui.editor.IXtextEditorCallback; -import org.eclipse.xtext.ui.editor.contentassist.ContentAssistContext; -import org.eclipse.xtext.ui.editor.contentassist.FQNPrefixMatcher; -import org.eclipse.xtext.ui.editor.contentassist.IContentProposalProvider; -import org.eclipse.xtext.ui.editor.contentassist.IProposalConflictHelper; -import org.eclipse.xtext.ui.editor.contentassist.PrefixMatcher; -import org.eclipse.xtext.ui.editor.contentassist.antlr.AntlrProposalConflictHelper; -import org.eclipse.xtext.ui.editor.contentassist.antlr.DelegatingContentAssistContextFactory; -import org.eclipse.xtext.ui.editor.outline.IOutlineTreeProvider; -import org.eclipse.xtext.ui.editor.outline.impl.IOutlineTreeStructureProvider; -import org.eclipse.xtext.ui.editor.preferences.IPreferenceStoreInitializer; -import org.eclipse.xtext.ui.editor.quickfix.IssueResolutionProvider; -import org.eclipse.xtext.ui.editor.templates.XtextTemplatePreferencePage; -import org.eclipse.xtext.ui.refactoring.IDependentElementsCalculator; -import org.eclipse.xtext.ui.refactoring.IReferenceUpdater; -import org.eclipse.xtext.ui.refactoring.IRenameRefactoringProvider; -import org.eclipse.xtext.ui.refactoring.IRenameStrategy; -import org.eclipse.xtext.ui.refactoring.impl.DefaultDependentElementsCalculator; -import org.eclipse.xtext.ui.refactoring.impl.DefaultReferenceUpdater; -import org.eclipse.xtext.ui.refactoring.impl.DefaultRenameRefactoringProvider; -import org.eclipse.xtext.ui.refactoring.impl.DefaultRenameStrategy; -import org.eclipse.xtext.ui.refactoring.ui.DefaultRenameSupport; -import org.eclipse.xtext.ui.refactoring.ui.IRenameSupport; -import org.eclipse.xtext.ui.refactoring.ui.RefactoringPreferences; -import org.eclipse.xtext.ui.resource.ResourceServiceDescriptionLabelProvider; -import org.eclipse.xtext.ui.shared.Access; - -/** - * Manual modifications go to {@link ApplicationConfigurationUiModule}. - */ -@SuppressWarnings("all") -public abstract class AbstractApplicationConfigurationUiModule extends DefaultUiModule { - - public AbstractApplicationConfigurationUiModule(AbstractUIPlugin plugin) { - super(plugin); - } - - // contributed by org.eclipse.xtext.xtext.generator.ImplicitFragment - public Provider provideIAllContainersState() { - return Access.getJavaProjectsState(); - } - - // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 - public Class bindIProposalConflictHelper() { - return AntlrProposalConflictHelper.class; - } - - // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 - public void configureContentAssistLexer(Binder binder) { - binder.bind(Lexer.class) - .annotatedWith(Names.named(LexerIdeBindings.CONTENT_ASSIST)) - .to(InternalApplicationConfigurationLexer.class); - } - - // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 - public void configureHighlightingLexer(Binder binder) { - binder.bind(org.eclipse.xtext.parser.antlr.Lexer.class) - .annotatedWith(Names.named(LexerIdeBindings.HIGHLIGHTING)) - .to(hu.bme.mit.inf.dslreasoner.application.parser.antlr.internal.InternalApplicationConfigurationLexer.class); - } - - // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 - public void configureHighlightingTokenDefProvider(Binder binder) { - binder.bind(ITokenDefProvider.class) - .annotatedWith(Names.named(LexerIdeBindings.HIGHLIGHTING)) - .to(AntlrTokenDefProvider.class); - } - - // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 - public Class bindContentAssistContext$Factory() { - return DelegatingContentAssistContextFactory.class; - } - - // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 - public Class bindIContentAssistParser() { - return ApplicationConfigurationParser.class; - } - - // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 - public void configureContentAssistLexerProvider(Binder binder) { - binder.bind(InternalApplicationConfigurationLexer.class).toProvider(LexerProvider.create(InternalApplicationConfigurationLexer.class)); - } - - // contributed by org.eclipse.xtext.xtext.generator.exporting.QualifiedNamesFragment2 - public Class bindPrefixMatcher() { - return FQNPrefixMatcher.class; - } - - // contributed by org.eclipse.xtext.xtext.generator.exporting.QualifiedNamesFragment2 - public Class bindIDependentElementsCalculator() { - return DefaultDependentElementsCalculator.class; - } - - // contributed by org.eclipse.xtext.xtext.generator.builder.BuilderIntegrationFragment2 - public void configureIResourceDescriptionsBuilderScope(Binder binder) { - binder.bind(IResourceDescriptions.class).annotatedWith(Names.named(ResourceDescriptionsProvider.NAMED_BUILDER_SCOPE)).to(CurrentDescriptions.ResourceSetAware.class); - } - - // contributed by org.eclipse.xtext.xtext.generator.builder.BuilderIntegrationFragment2 - public Class bindIXtextEditorCallback() { - return NatureAddingEditorCallback.class; - } - - // contributed by org.eclipse.xtext.xtext.generator.builder.BuilderIntegrationFragment2 - public Class bindIContextualOutputConfigurationProvider() { - return EclipseOutputConfigurationProvider.class; - } - - // contributed by org.eclipse.xtext.xtext.generator.builder.BuilderIntegrationFragment2 - public void configureIResourceDescriptionsPersisted(Binder binder) { - binder.bind(IResourceDescriptions.class).annotatedWith(Names.named(ResourceDescriptionsProvider.PERSISTED_DESCRIPTIONS)).to(IBuilderState.class); - } - - // contributed by org.eclipse.xtext.xtext.generator.builder.BuilderIntegrationFragment2 - public Class bindDocumentBasedDirtyResource() { - return PersistentDataAwareDirtyResource.class; - } - - // contributed by org.eclipse.xtext.xtext.generator.generator.GeneratorFragment2 - public Class bindIXtextBuilderParticipant() { - return BuilderParticipant.class; - } - - // contributed by org.eclipse.xtext.xtext.generator.generator.GeneratorFragment2 - public IWorkspaceRoot bindIWorkspaceRootToInstance() { - return ResourcesPlugin.getWorkspace().getRoot(); - } - - // contributed by org.eclipse.xtext.xtext.generator.generator.GeneratorFragment2 - public void configureBuilderPreferenceStoreInitializer(Binder binder) { - binder.bind(IPreferenceStoreInitializer.class) - .annotatedWith(Names.named("builderPreferenceInitializer")) - .to(BuilderPreferenceAccess.Initializer.class); - } - - // contributed by org.eclipse.xtext.xtext.generator.ui.labeling.LabelProviderFragment2 - public Class bindILabelProvider() { - return ApplicationConfigurationLabelProvider.class; - } - - // contributed by org.eclipse.xtext.xtext.generator.ui.labeling.LabelProviderFragment2 - public void configureResourceUIServiceLabelProvider(Binder binder) { - binder.bind(ILabelProvider.class).annotatedWith(ResourceServiceDescriptionLabelProvider.class).to(ApplicationConfigurationDescriptionLabelProvider.class); - } - - // contributed by org.eclipse.xtext.xtext.generator.ui.outline.OutlineTreeProviderFragment2 - public Class bindIOutlineTreeProvider() { - return ApplicationConfigurationOutlineTreeProvider.class; - } - - // contributed by org.eclipse.xtext.xtext.generator.ui.outline.OutlineTreeProviderFragment2 - public Class bindIOutlineTreeStructureProvider() { - return ApplicationConfigurationOutlineTreeProvider.class; - } - - // contributed by org.eclipse.xtext.xtext.generator.ui.quickfix.QuickfixProviderFragment2 - public Class bindIssueResolutionProvider() { - return ApplicationConfigurationQuickfixProvider.class; - } - - // contributed by org.eclipse.xtext.xtext.generator.ui.contentAssist.ContentAssistFragment2 - public Class bindIContentProposalProvider() { - return ApplicationConfigurationProposalProvider.class; - } - - // contributed by org.eclipse.xtext.xtext.generator.ui.refactoring.RefactorElementNameFragment2 - public Class bindIRenameStrategy() { - return DefaultRenameStrategy.class; - } - - // contributed by org.eclipse.xtext.xtext.generator.ui.refactoring.RefactorElementNameFragment2 - public Class bindIReferenceUpdater() { - return DefaultReferenceUpdater.class; - } - - // contributed by org.eclipse.xtext.xtext.generator.ui.refactoring.RefactorElementNameFragment2 - public void configureIPreferenceStoreInitializer(Binder binder) { - binder.bind(IPreferenceStoreInitializer.class) - .annotatedWith(Names.named("RefactoringPreferences")) - .to(RefactoringPreferences.Initializer.class); - } - - // contributed by org.eclipse.xtext.xtext.generator.ui.refactoring.RefactorElementNameFragment2 - public Class bindIRenameRefactoringProvider() { - return DefaultRenameRefactoringProvider.class; - } - - // contributed by org.eclipse.xtext.xtext.generator.ui.refactoring.RefactorElementNameFragment2 - public Class bindIRenameSupport$Factory() { - return DefaultRenameSupport.Factory.class; - } - - // contributed by org.eclipse.xtext.xtext.generator.ui.templates.CodetemplatesGeneratorFragment2 - public Provider provideTemplatesLanguageConfiguration() { - return AccessibleCodetemplatesActivator.getTemplatesLanguageConfigurationProvider(); - } - - // contributed by org.eclipse.xtext.xtext.generator.ui.templates.CodetemplatesGeneratorFragment2 - public Provider provideLanguageRegistry() { - return AccessibleCodetemplatesActivator.getLanguageRegistry(); - } - - // contributed by org.eclipse.xtext.xtext.generator.ui.templates.CodetemplatesGeneratorFragment2 - @SingletonBinding(eager=true) - public Class bindLanguageRegistrar() { - return LanguageRegistrar.class; - } - - // contributed by org.eclipse.xtext.xtext.generator.ui.templates.CodetemplatesGeneratorFragment2 - public Class bindXtextTemplatePreferencePage() { - return AdvancedTemplatesPreferencePage.class; - } - - // contributed by org.eclipse.xtext.xtext.generator.ui.templates.CodetemplatesGeneratorFragment2 - public Class bindIPartialEditingContentAssistParser() { - return PartialApplicationConfigurationContentAssistParser.class; - } - - // contributed by org.eclipse.xtext.xtext.generator.ui.templates.CodetemplatesGeneratorFragment2 - public Class bindIPartialEditingContentAssistContextFactory() { - return PartialEditingContentAssistContextFactory.class; - } - - // contributed by org.eclipse.xtext.xtext.generator.ui.compare.CompareFragment2 - public Class bindIViewerCreator() { - return DefaultViewerCreator.class; - } - - // contributed by org.eclipse.xtext.xtext.generator.ui.compare.CompareFragment2 - public void configureCompareViewerTitle(Binder binder) { - binder.bind(String.class).annotatedWith(Names.named(UIBindings.COMPARE_VIEWER_TITLE)).toInstance("ApplicationConfiguration Compare"); - } - -} +/* + * generated by Xtext 2.16.0 + */ +package hu.bme.mit.inf.dslreasoner.application.ui; + +import com.google.inject.Binder; +import com.google.inject.Provider; +import com.google.inject.name.Names; +import hu.bme.mit.inf.dslreasoner.application.ide.contentassist.antlr.ApplicationConfigurationParser; +import hu.bme.mit.inf.dslreasoner.application.ide.contentassist.antlr.PartialApplicationConfigurationContentAssistParser; +import hu.bme.mit.inf.dslreasoner.application.ide.contentassist.antlr.internal.InternalApplicationConfigurationLexer; +import hu.bme.mit.inf.dslreasoner.application.ui.contentassist.ApplicationConfigurationProposalProvider; +import hu.bme.mit.inf.dslreasoner.application.ui.labeling.ApplicationConfigurationDescriptionLabelProvider; +import hu.bme.mit.inf.dslreasoner.application.ui.labeling.ApplicationConfigurationLabelProvider; +import hu.bme.mit.inf.dslreasoner.application.ui.outline.ApplicationConfigurationOutlineTreeProvider; +import hu.bme.mit.inf.dslreasoner.application.ui.quickfix.ApplicationConfigurationQuickfixProvider; +import org.eclipse.compare.IViewerCreator; +import org.eclipse.core.resources.IWorkspaceRoot; +import org.eclipse.core.resources.ResourcesPlugin; +import org.eclipse.jface.viewers.ILabelProvider; +import org.eclipse.ui.plugin.AbstractUIPlugin; +import org.eclipse.xtext.builder.BuilderParticipant; +import org.eclipse.xtext.builder.EclipseOutputConfigurationProvider; +import org.eclipse.xtext.builder.IXtextBuilderParticipant; +import org.eclipse.xtext.builder.builderState.IBuilderState; +import org.eclipse.xtext.builder.clustering.CurrentDescriptions; +import org.eclipse.xtext.builder.impl.PersistentDataAwareDirtyResource; +import org.eclipse.xtext.builder.nature.NatureAddingEditorCallback; +import org.eclipse.xtext.builder.preferences.BuilderPreferenceAccess; +import org.eclipse.xtext.generator.IContextualOutputConfigurationProvider; +import org.eclipse.xtext.ide.LexerIdeBindings; +import org.eclipse.xtext.ide.editor.contentassist.antlr.IContentAssistParser; +import org.eclipse.xtext.ide.editor.contentassist.antlr.internal.Lexer; +import org.eclipse.xtext.ide.editor.partialEditing.IPartialEditingContentAssistParser; +import org.eclipse.xtext.parser.antlr.AntlrTokenDefProvider; +import org.eclipse.xtext.parser.antlr.ITokenDefProvider; +import org.eclipse.xtext.parser.antlr.LexerProvider; +import org.eclipse.xtext.resource.IResourceDescriptions; +import org.eclipse.xtext.resource.containers.IAllContainersState; +import org.eclipse.xtext.resource.impl.ResourceDescriptionsProvider; +import org.eclipse.xtext.service.SingletonBinding; +import org.eclipse.xtext.ui.DefaultUiModule; +import org.eclipse.xtext.ui.UIBindings; +import org.eclipse.xtext.ui.codetemplates.ui.AccessibleCodetemplatesActivator; +import org.eclipse.xtext.ui.codetemplates.ui.partialEditing.IPartialEditingContentAssistContextFactory; +import org.eclipse.xtext.ui.codetemplates.ui.partialEditing.PartialEditingContentAssistContextFactory; +import org.eclipse.xtext.ui.codetemplates.ui.preferences.AdvancedTemplatesPreferencePage; +import org.eclipse.xtext.ui.codetemplates.ui.preferences.TemplatesLanguageConfiguration; +import org.eclipse.xtext.ui.codetemplates.ui.registry.LanguageRegistrar; +import org.eclipse.xtext.ui.codetemplates.ui.registry.LanguageRegistry; +import org.eclipse.xtext.ui.compare.DefaultViewerCreator; +import org.eclipse.xtext.ui.editor.DocumentBasedDirtyResource; +import org.eclipse.xtext.ui.editor.IXtextEditorCallback; +import org.eclipse.xtext.ui.editor.contentassist.ContentAssistContext; +import org.eclipse.xtext.ui.editor.contentassist.FQNPrefixMatcher; +import org.eclipse.xtext.ui.editor.contentassist.IContentProposalProvider; +import org.eclipse.xtext.ui.editor.contentassist.IProposalConflictHelper; +import org.eclipse.xtext.ui.editor.contentassist.PrefixMatcher; +import org.eclipse.xtext.ui.editor.contentassist.antlr.AntlrProposalConflictHelper; +import org.eclipse.xtext.ui.editor.contentassist.antlr.DelegatingContentAssistContextFactory; +import org.eclipse.xtext.ui.editor.outline.IOutlineTreeProvider; +import org.eclipse.xtext.ui.editor.outline.impl.IOutlineTreeStructureProvider; +import org.eclipse.xtext.ui.editor.preferences.IPreferenceStoreInitializer; +import org.eclipse.xtext.ui.editor.quickfix.IssueResolutionProvider; +import org.eclipse.xtext.ui.editor.templates.XtextTemplatePreferencePage; +import org.eclipse.xtext.ui.refactoring.IDependentElementsCalculator; +import org.eclipse.xtext.ui.refactoring.IReferenceUpdater; +import org.eclipse.xtext.ui.refactoring.IRenameRefactoringProvider; +import org.eclipse.xtext.ui.refactoring.IRenameStrategy; +import org.eclipse.xtext.ui.refactoring.impl.DefaultDependentElementsCalculator; +import org.eclipse.xtext.ui.refactoring.impl.DefaultReferenceUpdater; +import org.eclipse.xtext.ui.refactoring.impl.DefaultRenameRefactoringProvider; +import org.eclipse.xtext.ui.refactoring.impl.DefaultRenameStrategy; +import org.eclipse.xtext.ui.refactoring.ui.DefaultRenameSupport; +import org.eclipse.xtext.ui.refactoring.ui.IRenameSupport; +import org.eclipse.xtext.ui.refactoring.ui.RefactoringPreferences; +import org.eclipse.xtext.ui.resource.ResourceServiceDescriptionLabelProvider; +import org.eclipse.xtext.ui.shared.Access; + +/** + * Manual modifications go to {@link ApplicationConfigurationUiModule}. + */ +@SuppressWarnings("all") +public abstract class AbstractApplicationConfigurationUiModule extends DefaultUiModule { + + public AbstractApplicationConfigurationUiModule(AbstractUIPlugin plugin) { + super(plugin); + } + + // contributed by org.eclipse.xtext.xtext.generator.ImplicitFragment + public Provider provideIAllContainersState() { + return Access.getJavaProjectsState(); + } + + // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 + public Class bindIProposalConflictHelper() { + return AntlrProposalConflictHelper.class; + } + + // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 + public void configureContentAssistLexer(Binder binder) { + binder.bind(Lexer.class) + .annotatedWith(Names.named(LexerIdeBindings.CONTENT_ASSIST)) + .to(InternalApplicationConfigurationLexer.class); + } + + // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 + public void configureHighlightingLexer(Binder binder) { + binder.bind(org.eclipse.xtext.parser.antlr.Lexer.class) + .annotatedWith(Names.named(LexerIdeBindings.HIGHLIGHTING)) + .to(hu.bme.mit.inf.dslreasoner.application.parser.antlr.internal.InternalApplicationConfigurationLexer.class); + } + + // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 + public void configureHighlightingTokenDefProvider(Binder binder) { + binder.bind(ITokenDefProvider.class) + .annotatedWith(Names.named(LexerIdeBindings.HIGHLIGHTING)) + .to(AntlrTokenDefProvider.class); + } + + // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 + public Class bindContentAssistContext$Factory() { + return DelegatingContentAssistContextFactory.class; + } + + // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 + public Class bindIContentAssistParser() { + return ApplicationConfigurationParser.class; + } + + // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 + public void configureContentAssistLexerProvider(Binder binder) { + binder.bind(InternalApplicationConfigurationLexer.class).toProvider(LexerProvider.create(InternalApplicationConfigurationLexer.class)); + } + + // contributed by org.eclipse.xtext.xtext.generator.exporting.QualifiedNamesFragment2 + public Class bindPrefixMatcher() { + return FQNPrefixMatcher.class; + } + + // contributed by org.eclipse.xtext.xtext.generator.exporting.QualifiedNamesFragment2 + public Class bindIDependentElementsCalculator() { + return DefaultDependentElementsCalculator.class; + } + + // contributed by org.eclipse.xtext.xtext.generator.builder.BuilderIntegrationFragment2 + public void configureIResourceDescriptionsBuilderScope(Binder binder) { + binder.bind(IResourceDescriptions.class).annotatedWith(Names.named(ResourceDescriptionsProvider.NAMED_BUILDER_SCOPE)).to(CurrentDescriptions.ResourceSetAware.class); + } + + // contributed by org.eclipse.xtext.xtext.generator.builder.BuilderIntegrationFragment2 + public Class bindIXtextEditorCallback() { + return NatureAddingEditorCallback.class; + } + + // contributed by org.eclipse.xtext.xtext.generator.builder.BuilderIntegrationFragment2 + public Class bindIContextualOutputConfigurationProvider() { + return EclipseOutputConfigurationProvider.class; + } + + // contributed by org.eclipse.xtext.xtext.generator.builder.BuilderIntegrationFragment2 + public void configureIResourceDescriptionsPersisted(Binder binder) { + binder.bind(IResourceDescriptions.class).annotatedWith(Names.named(ResourceDescriptionsProvider.PERSISTED_DESCRIPTIONS)).to(IBuilderState.class); + } + + // contributed by org.eclipse.xtext.xtext.generator.builder.BuilderIntegrationFragment2 + public Class bindDocumentBasedDirtyResource() { + return PersistentDataAwareDirtyResource.class; + } + + // contributed by org.eclipse.xtext.xtext.generator.generator.GeneratorFragment2 + public Class bindIXtextBuilderParticipant() { + return BuilderParticipant.class; + } + + // contributed by org.eclipse.xtext.xtext.generator.generator.GeneratorFragment2 + public IWorkspaceRoot bindIWorkspaceRootToInstance() { + return ResourcesPlugin.getWorkspace().getRoot(); + } + + // contributed by org.eclipse.xtext.xtext.generator.generator.GeneratorFragment2 + public void configureBuilderPreferenceStoreInitializer(Binder binder) { + binder.bind(IPreferenceStoreInitializer.class) + .annotatedWith(Names.named("builderPreferenceInitializer")) + .to(BuilderPreferenceAccess.Initializer.class); + } + + // contributed by org.eclipse.xtext.xtext.generator.ui.labeling.LabelProviderFragment2 + public Class bindILabelProvider() { + return ApplicationConfigurationLabelProvider.class; + } + + // contributed by org.eclipse.xtext.xtext.generator.ui.labeling.LabelProviderFragment2 + public void configureResourceUIServiceLabelProvider(Binder binder) { + binder.bind(ILabelProvider.class).annotatedWith(ResourceServiceDescriptionLabelProvider.class).to(ApplicationConfigurationDescriptionLabelProvider.class); + } + + // contributed by org.eclipse.xtext.xtext.generator.ui.outline.OutlineTreeProviderFragment2 + public Class bindIOutlineTreeProvider() { + return ApplicationConfigurationOutlineTreeProvider.class; + } + + // contributed by org.eclipse.xtext.xtext.generator.ui.outline.OutlineTreeProviderFragment2 + public Class bindIOutlineTreeStructureProvider() { + return ApplicationConfigurationOutlineTreeProvider.class; + } + + // contributed by org.eclipse.xtext.xtext.generator.ui.quickfix.QuickfixProviderFragment2 + public Class bindIssueResolutionProvider() { + return ApplicationConfigurationQuickfixProvider.class; + } + + // contributed by org.eclipse.xtext.xtext.generator.ui.contentAssist.ContentAssistFragment2 + public Class bindIContentProposalProvider() { + return ApplicationConfigurationProposalProvider.class; + } + + // contributed by org.eclipse.xtext.xtext.generator.ui.refactoring.RefactorElementNameFragment2 + public void configureIPreferenceStoreInitializer(Binder binder) { + binder.bind(IPreferenceStoreInitializer.class) + .annotatedWith(Names.named("RefactoringPreferences")) + .to(RefactoringPreferences.Initializer.class); + } + + // contributed by org.eclipse.xtext.xtext.generator.ui.refactoring.RefactorElementNameFragment2 + public Class bindIRenameStrategy() { + return DefaultRenameStrategy.class; + } + + // contributed by org.eclipse.xtext.xtext.generator.ui.refactoring.RefactorElementNameFragment2 + public Class bindIReferenceUpdater() { + return DefaultReferenceUpdater.class; + } + + // contributed by org.eclipse.xtext.xtext.generator.ui.refactoring.RefactorElementNameFragment2 + public Class bindIRenameRefactoringProvider() { + return DefaultRenameRefactoringProvider.class; + } + + // contributed by org.eclipse.xtext.xtext.generator.ui.refactoring.RefactorElementNameFragment2 + public Class bindIRenameSupport$Factory() { + return DefaultRenameSupport.Factory.class; + } + + // contributed by org.eclipse.xtext.xtext.generator.ui.templates.CodetemplatesGeneratorFragment2 + public Provider provideTemplatesLanguageConfiguration() { + return AccessibleCodetemplatesActivator.getTemplatesLanguageConfigurationProvider(); + } + + // contributed by org.eclipse.xtext.xtext.generator.ui.templates.CodetemplatesGeneratorFragment2 + public Provider provideLanguageRegistry() { + return AccessibleCodetemplatesActivator.getLanguageRegistry(); + } + + // contributed by org.eclipse.xtext.xtext.generator.ui.templates.CodetemplatesGeneratorFragment2 + @SingletonBinding(eager=true) + public Class bindLanguageRegistrar() { + return LanguageRegistrar.class; + } + + // contributed by org.eclipse.xtext.xtext.generator.ui.templates.CodetemplatesGeneratorFragment2 + public Class bindXtextTemplatePreferencePage() { + return AdvancedTemplatesPreferencePage.class; + } + + // contributed by org.eclipse.xtext.xtext.generator.ui.templates.CodetemplatesGeneratorFragment2 + public Class bindIPartialEditingContentAssistParser() { + return PartialApplicationConfigurationContentAssistParser.class; + } + + // contributed by org.eclipse.xtext.xtext.generator.ui.templates.CodetemplatesGeneratorFragment2 + public Class bindIPartialEditingContentAssistContextFactory() { + return PartialEditingContentAssistContextFactory.class; + } + + // contributed by org.eclipse.xtext.xtext.generator.ui.compare.CompareFragment2 + public Class bindIViewerCreator() { + return DefaultViewerCreator.class; + } + + // contributed by org.eclipse.xtext.xtext.generator.ui.compare.CompareFragment2 + public void configureCompareViewerTitle(Binder binder) { + binder.bind(String.class).annotatedWith(Names.named(UIBindings.COMPARE_VIEWER_TITLE)).toInstance("ApplicationConfiguration Compare"); + } + +} diff --git a/Application/hu.bme.mit.inf.dslreasoner.application.ui/src-gen/hu/bme/mit/inf/dslreasoner/application/ui/ApplicationConfigurationExecutableExtensionFactory.java b/Application/hu.bme.mit.inf.dslreasoner.application.ui/src-gen/hu/bme/mit/inf/dslreasoner/application/ui/ApplicationConfigurationExecutableExtensionFactory.java index ae8454b8..2dde976b 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application.ui/src-gen/hu/bme/mit/inf/dslreasoner/application/ui/ApplicationConfigurationExecutableExtensionFactory.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application.ui/src-gen/hu/bme/mit/inf/dslreasoner/application/ui/ApplicationConfigurationExecutableExtensionFactory.java @@ -1,27 +1,29 @@ -/* - * generated by Xtext 2.12.0 - */ -package hu.bme.mit.inf.dslreasoner.application.ui; - -import com.google.inject.Injector; -import hu.bme.mit.inf.dslreasoner.application.ui.internal.ApplicationActivator; -import org.eclipse.xtext.ui.guice.AbstractGuiceAwareExecutableExtensionFactory; -import org.osgi.framework.Bundle; - -/** - * This class was generated. Customizations should only happen in a newly - * introduced subclass. - */ -public class ApplicationConfigurationExecutableExtensionFactory extends AbstractGuiceAwareExecutableExtensionFactory { - - @Override - protected Bundle getBundle() { - return ApplicationActivator.getInstance().getBundle(); - } - - @Override - protected Injector getInjector() { - return ApplicationActivator.getInstance().getInjector(ApplicationActivator.HU_BME_MIT_INF_DSLREASONER_APPLICATION_APPLICATIONCONFIGURATION); - } - -} +/* + * generated by Xtext 2.16.0 + */ +package hu.bme.mit.inf.dslreasoner.application.ui; + +import com.google.inject.Injector; +import hu.bme.mit.inf.dslreasoner.application.ui.internal.ApplicationActivator; +import org.eclipse.core.runtime.Platform; +import org.eclipse.xtext.ui.guice.AbstractGuiceAwareExecutableExtensionFactory; +import org.osgi.framework.Bundle; + +/** + * This class was generated. Customizations should only happen in a newly + * introduced subclass. + */ +public class ApplicationConfigurationExecutableExtensionFactory extends AbstractGuiceAwareExecutableExtensionFactory { + + @Override + protected Bundle getBundle() { + return Platform.getBundle(ApplicationActivator.PLUGIN_ID); + } + + @Override + protected Injector getInjector() { + ApplicationActivator activator = ApplicationActivator.getInstance(); + return activator != null ? activator.getInjector(ApplicationActivator.HU_BME_MIT_INF_DSLREASONER_APPLICATION_APPLICATIONCONFIGURATION) : null; + } + +} diff --git a/Application/hu.bme.mit.inf.dslreasoner.application.ui/src-gen/hu/bme/mit/inf/dslreasoner/application/ui/contentassist/AbstractApplicationConfigurationProposalProvider.java b/Application/hu.bme.mit.inf.dslreasoner.application.ui/src-gen/hu/bme/mit/inf/dslreasoner/application/ui/contentassist/AbstractApplicationConfigurationProposalProvider.java index 514abf35..31ab317d 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application.ui/src-gen/hu/bme/mit/inf/dslreasoner/application/ui/contentassist/AbstractApplicationConfigurationProposalProvider.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application.ui/src-gen/hu/bme/mit/inf/dslreasoner/application/ui/contentassist/AbstractApplicationConfigurationProposalProvider.java @@ -1,493 +1,568 @@ -/* - * generated by Xtext 2.12.0 - */ -package hu.bme.mit.inf.dslreasoner.application.ui.contentassist; - -import org.eclipse.emf.ecore.EObject; -import org.eclipse.xtext.Assignment; -import org.eclipse.xtext.CrossReference; -import org.eclipse.xtext.RuleCall; -import org.eclipse.xtext.common.ui.contentassist.TerminalsProposalProvider; -import org.eclipse.xtext.ui.editor.contentassist.ContentAssistContext; -import org.eclipse.xtext.ui.editor.contentassist.ICompletionProposalAcceptor; - -/** - * Represents a generated, default implementation of superclass {@link TerminalsProposalProvider}. - * Methods are dynamically dispatched on the first parameter, i.e., you can override them - * with a more concrete subtype. - */ -public abstract class AbstractApplicationConfigurationProposalProvider extends TerminalsProposalProvider { - - public void completeConfigurationScript_Imports(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); - } - public void completeConfigurationScript_Commands(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); - } - public void completeEPackageImport_ImportedPackage(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); - } - public void completeViatraImport_ImportedViatra(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); - } - public void completeFileSpecification_Path(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); - } - public void completeFileDeclaration_Name(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); - } - public void completeFileDeclaration_Specification(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); - } - public void completeFileReference_Referred(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); - } - public void completeMetamodelSpecification_Entries(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); - } - public void completeAllPackageEntry_Package(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); - } - public void completeAllPackageEntry_Exclusion(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); - } - public void completeMetamodelElement_Package(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); - } - public void completeMetamodelElement_Classifier(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); - } - public void completeMetamodelElement_Feature(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); - } - public void completeMetamodelDeclaration_Name(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); - } - public void completeMetamodelDeclaration_Specification(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); - } - public void completeMetamodelReference_Referred(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); - } - public void completePartialModelSpecification_Entry(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); - } - public void completeModelEntry_Path(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); - } - public void completeFolderEntry_Path(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); - } - public void completeFolderEntry_Exclusion(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); - } - public void completePartialModelDeclaration_Name(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); - } - public void completePartialModelDeclaration_Specification(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); - } - public void completePartialModelReference_Referred(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); - } - public void completePatternSpecification_Entries(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); - } - public void completeAllPatternEntry_Package(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); - } - public void completeAllPatternEntry_Exclusuion(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); - } - public void completePatternElement_Package(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); - } - public void completePatternElement_Pattern(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); - } - public void completeGraphPatternDeclaration_Name(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); - } - public void completeGraphPatternDeclaration_Specification(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); - } - public void completeGraphPatternReference_Referred(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); - } - public void completeConfigSpecification_Entries(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); - } - public void completeConfigDeclaration_Name(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); - } - public void completeConfigDeclaration_Specification(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); - } - public void completeDocumentationEntry_Level(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); - } - public void completeRuntimeEntry_MillisecLimit(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); - } - public void completeMemoryEntry_MegabyteLimit(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); - } - public void completeCustomEntry_Key(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); - } - public void completeCustomEntry_Value(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); - } - public void completeConfigReference_Config(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); - } - public void completeScopeSpecification_Scopes(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); - } - public void completeClassTypeScope_Type(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); - } - public void completeClassTypeScope_SetsNew(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void completeClassTypeScope_SetsSum(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void completeClassTypeScope_Number(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); - } - public void completeObjectTypeScope_Type(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); - } - public void completeObjectTypeScope_SetsNew(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void completeObjectTypeScope_SetsSum(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void completeObjectTypeScope_Number(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); - } - public void completeIntegerTypeScope_Type(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); - } - public void completeIntegerTypeScope_SetsNew(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void completeIntegerTypeScope_SetsSum(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void completeIntegerTypeScope_Number(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); - } - public void completeRealTypeScope_Type(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); - } - public void completeRealTypeScope_SetsNew(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void completeRealTypeScope_SetsSum(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void completeRealTypeScope_Number(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); - } - public void completeStringTypeScope_Type(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); - } - public void completeStringTypeScope_SetsNew(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void completeStringTypeScope_SetsSum(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void completeStringTypeScope_Number(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); - } - public void completeClassReference_Element(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); - } - public void completeExactNumber_ExactNumber(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); - } - public void completeExactNumber_ExactUnlimited(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void completeIntervallNumber_Min(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); - } - public void completeIntervallNumber_MaxNumber(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); - } - public void completeIntervallNumber_MaxUnlimited(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void completeIntEnumberation_Entry(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); - } - public void completeRealEnumeration_Entry(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); - } - public void completeStringEnumeration_Entry(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); - } - public void completeScopeDeclaration_Name(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); - } - public void completeScopeDeclaration_Specification(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); - } - public void completeScopeReference_Referred(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); - } - public void completeGenerationTask_Metamodel(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); - } - public void completeGenerationTask_PartialModel(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); - } - public void completeGenerationTask_Patterns(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); - } - public void completeGenerationTask_Scope(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); - } - public void completeGenerationTask_NumberSpecified(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void completeGenerationTask_Number(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); - } - public void completeGenerationTask_RunSpecified(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void completeGenerationTask_Runs(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); - } - public void completeGenerationTask_Solver(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); - } - public void completeGenerationTask_Config(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); - } - public void completeGenerationTask_DebugFolder(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); - } - public void completeGenerationTask_TargetLogFile(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); - } - public void completeGenerationTask_TargetStatisticsFile(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); - } - public void completeGenerationTask_TagetFolder(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); - } - - public void complete_ConfigurationScript(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void complete_Command(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void complete_QualifiedName(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void complete_REALLiteral(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void complete_INTLiteral(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void complete_Import(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void complete_EPackageImport(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void complete_ViatraImport(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void complete_Declaration(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void complete_FileSpecification(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void complete_FileDeclaration(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void complete_FileReference(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void complete_File(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void complete_MetamodelSpecification(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void complete_MetamodelEntry(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void complete_AllPackageEntry(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void complete_MetamodelElement(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void complete_MetamodelDeclaration(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void complete_MetamodelReference(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void complete_Metamodel(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void complete_PartialModelSpecification(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void complete_PartialModelEntry(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void complete_ModelEntry(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void complete_FolderEntry(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void complete_PartialModelDeclaration(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void complete_PartialModelReference(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void complete_PartialModel(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void complete_PatternSpecification(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void complete_PatternEntry(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void complete_AllPatternEntry(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void complete_PatternElement(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void complete_GraphPatternDeclaration(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void complete_GraphPatternReference(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void complete_GraphPattern(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void complete_ConfigSpecification(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void complete_ConfigDeclaration(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void complete_ConfigEntry(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void complete_DocumentationEntry(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void complete_DocumentLevelSpecification(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void complete_RuntimeEntry(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void complete_MemoryEntry(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void complete_CustomEntry(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void complete_ConfigReference(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void complete_Config(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void complete_Solver(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void complete_ScopeSpecification(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void complete_TypeScope(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void complete_ClassTypeScope(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void complete_ObjectTypeScope(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void complete_IntegerTypeScope(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void complete_RealTypeScope(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void complete_StringTypeScope(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void complete_TypeReference(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void complete_ClassReference(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void complete_ObjectReference(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void complete_IntegerReference(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void complete_RealReference(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void complete_StringReference(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void complete_NumberSpecification(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void complete_ExactNumber(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void complete_IntervallNumber(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void complete_IntEnumberation(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void complete_RealEnumeration(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void complete_StringEnumeration(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void complete_ScopeDeclaration(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void complete_ScopeReference(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void complete_Scope(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void complete_Task(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void complete_GenerationTask(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } -} +/* + * generated by Xtext 2.16.0 + */ +package hu.bme.mit.inf.dslreasoner.application.ui.contentassist; + +import org.eclipse.emf.ecore.EObject; +import org.eclipse.xtext.Assignment; +import org.eclipse.xtext.CrossReference; +import org.eclipse.xtext.RuleCall; +import org.eclipse.xtext.common.ui.contentassist.TerminalsProposalProvider; +import org.eclipse.xtext.ui.editor.contentassist.ContentAssistContext; +import org.eclipse.xtext.ui.editor.contentassist.ICompletionProposalAcceptor; + +/** + * Represents a generated, default implementation of superclass {@link TerminalsProposalProvider}. + * Methods are dynamically dispatched on the first parameter, i.e., you can override them + * with a more concrete subtype. + */ +public abstract class AbstractApplicationConfigurationProposalProvider extends TerminalsProposalProvider { + + public void completeConfigurationScript_Imports(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeConfigurationScript_Commands(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeEPackageImport_ImportedPackage(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); + } + public void completeViatraImport_ImportedViatra(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); + } + public void completeCftImport_ImportedCft(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); + } + public void completeFileSpecification_Path(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeFileDeclaration_Name(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeFileDeclaration_Specification(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeFileReference_Referred(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); + } + public void completeMetamodelSpecification_Entries(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeAllPackageEntry_Package(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); + } + public void completeAllPackageEntry_Exclusion(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeMetamodelElement_Package(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); + } + public void completeMetamodelElement_Classifier(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); + } + public void completeMetamodelElement_Feature(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); + } + public void completeMetamodelDeclaration_Name(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeMetamodelDeclaration_Specification(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeMetamodelReference_Referred(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); + } + public void completePartialModelSpecification_Entry(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeModelEntry_Path(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeFolderEntry_Path(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeFolderEntry_Exclusion(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completePartialModelDeclaration_Name(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completePartialModelDeclaration_Specification(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completePartialModelReference_Referred(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); + } + public void completePatternSpecification_Entries(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeAllPatternEntry_Package(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); + } + public void completeAllPatternEntry_Exclusuion(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completePatternElement_Package(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); + } + public void completePatternElement_Pattern(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); + } + public void completeGraphPatternDeclaration_Name(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeGraphPatternDeclaration_Specification(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeGraphPatternReference_Referred(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); + } + public void completeObjectiveSpecification_Entries(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeOptimizationEntry_Direction(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeOptimizationEntry_Function(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeThresholdEntry_Function(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeThresholdEntry_Operator(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeThresholdEntry_Threshold(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeReliabiltiyFunction_Package(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); + } + public void completeReliabiltiyFunction_Transformation(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); + } + public void completeObjectiveDeclaration_Name(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeObjectiveDeclaration_Specification(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeObjectiveReference_Referred(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); + } + public void completeConfigSpecification_Entries(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeConfigDeclaration_Name(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeConfigDeclaration_Specification(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeDocumentationEntry_Level(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeRuntimeEntry_MillisecLimit(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeMemoryEntry_MegabyteLimit(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeCustomEntry_Key(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeCustomEntry_Value(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeConfigReference_Config(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); + } + public void completeScopeSpecification_Scopes(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeClassTypeScope_Type(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeClassTypeScope_SetsNew(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void completeClassTypeScope_SetsSum(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void completeClassTypeScope_Number(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeObjectTypeScope_Type(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeObjectTypeScope_SetsNew(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void completeObjectTypeScope_SetsSum(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void completeObjectTypeScope_Number(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeIntegerTypeScope_Type(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeIntegerTypeScope_SetsNew(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void completeIntegerTypeScope_SetsSum(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void completeIntegerTypeScope_Number(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeRealTypeScope_Type(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeRealTypeScope_SetsNew(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void completeRealTypeScope_SetsSum(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void completeRealTypeScope_Number(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeStringTypeScope_Type(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeStringTypeScope_SetsNew(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void completeStringTypeScope_SetsSum(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void completeStringTypeScope_Number(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeClassReference_Element(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeExactNumber_ExactNumber(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeExactNumber_ExactUnlimited(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void completeIntervallNumber_Min(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeIntervallNumber_MaxNumber(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeIntervallNumber_MaxUnlimited(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void completeIntEnumberation_Entry(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeRealEnumeration_Entry(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeStringEnumeration_Entry(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeScopeDeclaration_Name(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeScopeDeclaration_Specification(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeScopeReference_Referred(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); + } + public void completeGenerationTask_Metamodel(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeGenerationTask_PartialModel(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeGenerationTask_Patterns(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeGenerationTask_Objectives(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeGenerationTask_Scope(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeGenerationTask_NumberSpecified(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void completeGenerationTask_Number(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeGenerationTask_RunSpecified(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void completeGenerationTask_Runs(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeGenerationTask_Solver(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeGenerationTask_Config(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeGenerationTask_DebugFolder(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeGenerationTask_TargetLogFile(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeGenerationTask_TargetStatisticsFile(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeGenerationTask_TagetFolder(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + + public void complete_ConfigurationScript(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_Command(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_QualifiedName(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_REALLiteral(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_INTLiteral(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_Import(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_EPackageImport(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_ViatraImport(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_CftImport(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_Declaration(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_FileSpecification(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_FileDeclaration(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_FileReference(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_File(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_MetamodelSpecification(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_MetamodelEntry(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_AllPackageEntry(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_MetamodelElement(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_MetamodelDeclaration(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_MetamodelReference(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_Metamodel(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_PartialModelSpecification(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_PartialModelEntry(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_ModelEntry(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_FolderEntry(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_PartialModelDeclaration(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_PartialModelReference(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_PartialModel(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_PatternSpecification(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_PatternEntry(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_AllPatternEntry(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_PatternElement(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_GraphPatternDeclaration(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_GraphPatternReference(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_GraphPattern(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_ObjectiveSpecification(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_ObjectiveEntry(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_OptimizationDirection(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_OptimizationEntry(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_ComparisonOperator(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_ThresholdEntry(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_ObjectiveFunction(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_ReliabiltiyFunction(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_ObjectiveDeclaration(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_ObjectiveReference(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_Objective(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_ConfigSpecification(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_ConfigDeclaration(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_ConfigEntry(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_DocumentationEntry(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_DocumentLevelSpecification(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_RuntimeEntry(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_MemoryEntry(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_CustomEntry(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_ConfigReference(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_Config(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_Solver(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_ScopeSpecification(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_TypeScope(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_ClassTypeScope(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_ObjectTypeScope(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_IntegerTypeScope(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_RealTypeScope(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_StringTypeScope(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_TypeReference(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_ClassReference(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_ObjectReference(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_IntegerReference(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_RealReference(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_StringReference(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_NumberSpecification(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_ExactNumber(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_IntervallNumber(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_IntEnumberation(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_RealEnumeration(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_StringEnumeration(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_ScopeDeclaration(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_ScopeReference(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_Scope(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_Task(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_GenerationTask(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } +} diff --git a/Application/hu.bme.mit.inf.dslreasoner.application.ui/src-gen/hu/bme/mit/inf/dslreasoner/application/ui/internal/ApplicationActivator.java b/Application/hu.bme.mit.inf.dslreasoner.application.ui/src-gen/hu/bme/mit/inf/dslreasoner/application/ui/internal/ApplicationActivator.java index fb4f4cc0..19b0c5b8 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application.ui/src-gen/hu/bme/mit/inf/dslreasoner/application/ui/internal/ApplicationActivator.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application.ui/src-gen/hu/bme/mit/inf/dslreasoner/application/ui/internal/ApplicationActivator.java @@ -1,93 +1,94 @@ -/* - * generated by Xtext 2.12.0 - */ -package hu.bme.mit.inf.dslreasoner.application.ui.internal; - -import com.google.common.collect.Maps; -import com.google.inject.Guice; -import com.google.inject.Injector; -import com.google.inject.Module; -import hu.bme.mit.inf.dslreasoner.application.ApplicationConfigurationRuntimeModule; -import hu.bme.mit.inf.dslreasoner.application.ui.ApplicationConfigurationUiModule; -import java.util.Collections; -import java.util.Map; -import org.apache.log4j.Logger; -import org.eclipse.ui.plugin.AbstractUIPlugin; -import org.eclipse.xtext.ui.shared.SharedStateModule; -import org.eclipse.xtext.util.Modules2; -import org.osgi.framework.BundleContext; - -/** - * This class was generated. Customizations should only happen in a newly - * introduced subclass. - */ -public class ApplicationActivator extends AbstractUIPlugin { - - public static final String HU_BME_MIT_INF_DSLREASONER_APPLICATION_APPLICATIONCONFIGURATION = "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration"; - - private static final Logger logger = Logger.getLogger(ApplicationActivator.class); - - private static ApplicationActivator INSTANCE; - - private Map injectors = Collections.synchronizedMap(Maps. newHashMapWithExpectedSize(1)); - - @Override - public void start(BundleContext context) throws Exception { - super.start(context); - INSTANCE = this; - } - - @Override - public void stop(BundleContext context) throws Exception { - injectors.clear(); - INSTANCE = null; - super.stop(context); - } - - public static ApplicationActivator getInstance() { - return INSTANCE; - } - - public Injector getInjector(String language) { - synchronized (injectors) { - Injector injector = injectors.get(language); - if (injector == null) { - injectors.put(language, injector = createInjector(language)); - } - return injector; - } - } - - protected Injector createInjector(String language) { - try { - Module runtimeModule = getRuntimeModule(language); - Module sharedStateModule = getSharedStateModule(); - Module uiModule = getUiModule(language); - Module mergedModule = Modules2.mixin(runtimeModule, sharedStateModule, uiModule); - return Guice.createInjector(mergedModule); - } catch (Exception e) { - logger.error("Failed to create injector for " + language); - logger.error(e.getMessage(), e); - throw new RuntimeException("Failed to create injector for " + language, e); - } - } - - protected Module getRuntimeModule(String grammar) { - if (HU_BME_MIT_INF_DSLREASONER_APPLICATION_APPLICATIONCONFIGURATION.equals(grammar)) { - return new ApplicationConfigurationRuntimeModule(); - } - throw new IllegalArgumentException(grammar); - } - - protected Module getUiModule(String grammar) { - if (HU_BME_MIT_INF_DSLREASONER_APPLICATION_APPLICATIONCONFIGURATION.equals(grammar)) { - return new ApplicationConfigurationUiModule(this); - } - throw new IllegalArgumentException(grammar); - } - - protected Module getSharedStateModule() { - return new SharedStateModule(); - } - -} +/* + * generated by Xtext 2.16.0 + */ +package hu.bme.mit.inf.dslreasoner.application.ui.internal; + +import com.google.common.collect.Maps; +import com.google.inject.Guice; +import com.google.inject.Injector; +import hu.bme.mit.inf.dslreasoner.application.ApplicationConfigurationRuntimeModule; +import hu.bme.mit.inf.dslreasoner.application.ui.ApplicationConfigurationUiModule; +import java.util.Collections; +import java.util.Map; +import org.apache.log4j.Logger; +import org.eclipse.ui.plugin.AbstractUIPlugin; +import org.eclipse.xtext.ui.shared.SharedStateModule; +import org.eclipse.xtext.util.Modules2; +import org.osgi.framework.BundleContext; + +/** + * This class was generated. Customizations should only happen in a newly + * introduced subclass. + */ +public class ApplicationActivator extends AbstractUIPlugin { + + public static final String PLUGIN_ID = "hu.bme.mit.inf.dslreasoner.application.ui"; + public static final String HU_BME_MIT_INF_DSLREASONER_APPLICATION_APPLICATIONCONFIGURATION = "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration"; + + private static final Logger logger = Logger.getLogger(ApplicationActivator.class); + + private static ApplicationActivator INSTANCE; + + private Map injectors = Collections.synchronizedMap(Maps. newHashMapWithExpectedSize(1)); + + @Override + public void start(BundleContext context) throws Exception { + super.start(context); + INSTANCE = this; + } + + @Override + public void stop(BundleContext context) throws Exception { + injectors.clear(); + INSTANCE = null; + super.stop(context); + } + + public static ApplicationActivator getInstance() { + return INSTANCE; + } + + public Injector getInjector(String language) { + synchronized (injectors) { + Injector injector = injectors.get(language); + if (injector == null) { + injectors.put(language, injector = createInjector(language)); + } + return injector; + } + } + + protected Injector createInjector(String language) { + try { + com.google.inject.Module runtimeModule = getRuntimeModule(language); + com.google.inject.Module sharedStateModule = getSharedStateModule(); + com.google.inject.Module uiModule = getUiModule(language); + com.google.inject.Module mergedModule = Modules2.mixin(runtimeModule, sharedStateModule, uiModule); + return Guice.createInjector(mergedModule); + } catch (Exception e) { + logger.error("Failed to create injector for " + language); + logger.error(e.getMessage(), e); + throw new RuntimeException("Failed to create injector for " + language, e); + } + } + + protected com.google.inject.Module getRuntimeModule(String grammar) { + if (HU_BME_MIT_INF_DSLREASONER_APPLICATION_APPLICATIONCONFIGURATION.equals(grammar)) { + return new ApplicationConfigurationRuntimeModule(); + } + throw new IllegalArgumentException(grammar); + } + + protected com.google.inject.Module getUiModule(String grammar) { + if (HU_BME_MIT_INF_DSLREASONER_APPLICATION_APPLICATIONCONFIGURATION.equals(grammar)) { + return new ApplicationConfigurationUiModule(this); + } + throw new IllegalArgumentException(grammar); + } + + protected com.google.inject.Module getSharedStateModule() { + return new SharedStateModule(); + } + + +} diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/Eclipse Application.launch b/Application/hu.bme.mit.inf.dslreasoner.application/Eclipse Application.launch index 556f3c4d..6ae04e4c 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/Eclipse Application.launch +++ b/Application/hu.bme.mit.inf.dslreasoner.application/Eclipse Application.launch @@ -1,37 +1,37 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/META-INF/MANIFEST.MF b/Application/hu.bme.mit.inf.dslreasoner.application/META-INF/MANIFEST.MF index 44b8c453..a7990cca 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/META-INF/MANIFEST.MF +++ b/Application/hu.bme.mit.inf.dslreasoner.application/META-INF/MANIFEST.MF @@ -1,56 +1,57 @@ -Manifest-Version: 1.0 -Bundle-ManifestVersion: 2 -Bundle-Name: hu.bme.mit.inf.dslreasoner.application -Bundle-Vendor: My Company -Bundle-Version: 1.0.0.qualifier -Bundle-SymbolicName: hu.bme.mit.inf.dslreasoner.application; singleton:=true -Bundle-ActivationPolicy: lazy -Require-Bundle: org.eclipse.xtext, - org.eclipse.xtext.xbase, - org.eclipse.equinox.common;bundle-version="3.5.0", - org.eclipse.emf.ecore, - org.eclipse.xtext.xbase.lib, - org.eclipse.xtext.util, - org.eclipse.xtend.lib, - org.eclipse.emf.common, - org.antlr.runtime, - hu.bme.mit.inf.dslreasoner.ecore2logic;bundle-version="1.0.0", - hu.bme.mit.inf.dslreasoner.logic.model;bundle-version="1.0.0", - hu.bme.mit.inf.dslreasoner.smt.reasoner;bundle-version="1.0.0", - hu.bme.mit.inf.dslreasoner.viatra2logic;bundle-version="1.0.0", - hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage;bundle-version="1.0.0", - hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner;bundle-version="1.0.0", - hu.bme.mit.inf.dlsreasoner.alloy.reasoner;bundle-version="1.0.0", - hu.bme.mit.inf.dslreasoner.logic2ecore;bundle-version="1.0.0", - hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatraquery;bundle-version="1.0.0", - org.eclipse.viatra.query.patternlanguage.emf;bundle-version="1.7.0", - org.eclipse.viatra.query.runtime;bundle-version="1.7.0", - org.eclipse.emf.codegen;bundle-version="2.11.0", - org.eclipse.viatra.query.tooling.core;bundle-version="2.0.0", - hu.bme.mit.inf.dslreasoner.visualisation;bundle-version="1.0.0", - org.eclipse.core.runtime;bundle-version="3.12.0", - org.eclipse.ui.console;bundle-version="3.6.201", - org.eclipse.jface;bundle-version="3.12.2", - org.eclipse.ui;bundle-version="3.108.1", - org.eclipse.viatra.query.runtime.rete;bundle-version="2.0.0", - org.eclipse.viatra.query.runtime.localsearch;bundle-version="2.0.0", - org.eclipse.core.filesystem, - org.eclipse.ui.workbench.texteditor, - org.eclipse.ui.ide, - org.eclipse.text, - org.eclipse.collections;bundle-version="9.2.0" -Bundle-RequiredExecutionEnvironment: JavaSE-1.8 -Export-Package: hu.bme.mit.inf.dslreasoner.application, - hu.bme.mit.inf.dslreasoner.application.applicationConfiguration, - hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl, - hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.util, - hu.bme.mit.inf.dslreasoner.application.execution, - hu.bme.mit.inf.dslreasoner.application.generator, - hu.bme.mit.inf.dslreasoner.application.parser.antlr, - hu.bme.mit.inf.dslreasoner.application.parser.antlr.internal, - hu.bme.mit.inf.dslreasoner.application.scoping, - hu.bme.mit.inf.dslreasoner.application.serializer, - hu.bme.mit.inf.dslreasoner.application.services, - hu.bme.mit.inf.dslreasoner.application.validation -Import-Package: org.apache.log4j -Automatic-Module-Name: hu.bme.mit.inf.dslreasoner.application +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: hu.bme.mit.inf.dslreasoner.application +Bundle-Vendor: My Company +Bundle-Version: 1.0.0.qualifier +Bundle-SymbolicName: hu.bme.mit.inf.dslreasoner.application; singleton:=true +Bundle-ActivationPolicy: lazy +Require-Bundle: org.eclipse.xtext, + org.eclipse.xtext.xbase, + org.eclipse.equinox.common;bundle-version="3.5.0", + org.eclipse.emf.ecore, + org.eclipse.xtext.xbase.lib;bundle-version="2.14.0", + org.eclipse.xtext.util, + org.eclipse.xtend.lib;bundle-version="2.14.0", + org.eclipse.emf.common, + org.antlr.runtime;bundle-version="[3.2.0,3.2.1)", + hu.bme.mit.inf.dslreasoner.ecore2logic;bundle-version="1.0.0", + hu.bme.mit.inf.dslreasoner.logic.model;bundle-version="1.0.0", + hu.bme.mit.inf.dslreasoner.smt.reasoner;bundle-version="1.0.0", + hu.bme.mit.inf.dslreasoner.viatra2logic;bundle-version="1.0.0", + hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage;bundle-version="1.0.0", + hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner;bundle-version="1.0.0", + hu.bme.mit.inf.dlsreasoner.alloy.reasoner;bundle-version="1.0.0", + hu.bme.mit.inf.dslreasoner.logic2ecore;bundle-version="1.0.0", + hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatraquery;bundle-version="1.0.0", + org.eclipse.viatra.query.patternlanguage.emf;bundle-version="1.7.0", + org.eclipse.viatra.query.runtime;bundle-version="1.7.0", + org.eclipse.emf.codegen;bundle-version="2.11.0", + org.eclipse.viatra.query.tooling.core;bundle-version="2.0.0", + hu.bme.mit.inf.dslreasoner.visualisation;bundle-version="1.0.0", + org.eclipse.core.runtime;bundle-version="3.12.0", + org.eclipse.ui.console;bundle-version="3.6.201", + org.eclipse.jface;bundle-version="3.12.2", + org.eclipse.ui;bundle-version="3.108.1", + org.eclipse.viatra.query.runtime.rete;bundle-version="2.0.0", + org.eclipse.viatra.query.runtime.localsearch;bundle-version="2.0.0", + org.eclipse.core.filesystem, + org.eclipse.ui.workbench.texteditor, + org.eclipse.ui.ide, + org.eclipse.text, + org.eclipse.collections;bundle-version="9.2.0", + hu.bme.mit.inf.dslreasoner.faulttree.components +Bundle-RequiredExecutionEnvironment: JavaSE-1.8 +Export-Package: hu.bme.mit.inf.dslreasoner.application, + hu.bme.mit.inf.dslreasoner.application.applicationConfiguration, + hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl, + hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.util, + hu.bme.mit.inf.dslreasoner.application.execution, + hu.bme.mit.inf.dslreasoner.application.generator, + hu.bme.mit.inf.dslreasoner.application.parser.antlr, + hu.bme.mit.inf.dslreasoner.application.parser.antlr.internal, + hu.bme.mit.inf.dslreasoner.application.scoping, + hu.bme.mit.inf.dslreasoner.application.serializer, + hu.bme.mit.inf.dslreasoner.application.services, + hu.bme.mit.inf.dslreasoner.application.validation +Import-Package: org.apache.log4j +Automatic-Module-Name: hu.bme.mit.inf.dslreasoner.application diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/model/generated/ApplicationConfiguration.ecore b/Application/hu.bme.mit.inf.dslreasoner.application/model/generated/ApplicationConfiguration.ecore index 6b321279..7b842399 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 @@ -1,232 +1,273 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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 fd7f0686..4a3c33fe 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 @@ -1,202 +1,239 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/plugin.xml_gen b/Application/hu.bme.mit.inf.dslreasoner.application/plugin.xml_gen index 956abc6e..4ee447ba 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/plugin.xml_gen +++ b/Application/hu.bme.mit.inf.dslreasoner.application/plugin.xml_gen @@ -1,10 +1,10 @@ - - - - - - - + + + + + + + diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/AbstractApplicationConfigurationRuntimeModule.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/AbstractApplicationConfigurationRuntimeModule.java index 0a62d0b2..377c65c4 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/AbstractApplicationConfigurationRuntimeModule.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/AbstractApplicationConfigurationRuntimeModule.java @@ -1,201 +1,201 @@ -/* - * generated by Xtext 2.12.0 - */ -package hu.bme.mit.inf.dslreasoner.application; - -import com.google.inject.Binder; -import com.google.inject.Provider; -import com.google.inject.name.Names; -import hu.bme.mit.inf.dslreasoner.application.generator.ApplicationConfigurationGenerator; -import hu.bme.mit.inf.dslreasoner.application.parser.antlr.ApplicationConfigurationAntlrTokenFileProvider; -import hu.bme.mit.inf.dslreasoner.application.parser.antlr.ApplicationConfigurationParser; -import hu.bme.mit.inf.dslreasoner.application.parser.antlr.internal.InternalApplicationConfigurationLexer; -import hu.bme.mit.inf.dslreasoner.application.scoping.ApplicationConfigurationScopeProvider; -import hu.bme.mit.inf.dslreasoner.application.serializer.ApplicationConfigurationSemanticSequencer; -import hu.bme.mit.inf.dslreasoner.application.serializer.ApplicationConfigurationSyntacticSequencer; -import hu.bme.mit.inf.dslreasoner.application.services.ApplicationConfigurationGrammarAccess; -import hu.bme.mit.inf.dslreasoner.application.validation.ApplicationConfigurationValidator; -import java.util.Properties; -import org.eclipse.xtext.Constants; -import org.eclipse.xtext.IGrammarAccess; -import org.eclipse.xtext.generator.IGenerator2; -import org.eclipse.xtext.naming.DefaultDeclarativeQualifiedNameProvider; -import org.eclipse.xtext.naming.IQualifiedNameProvider; -import org.eclipse.xtext.parser.IParser; -import org.eclipse.xtext.parser.ITokenToStringConverter; -import org.eclipse.xtext.parser.antlr.AntlrTokenDefProvider; -import org.eclipse.xtext.parser.antlr.AntlrTokenToStringConverter; -import org.eclipse.xtext.parser.antlr.IAntlrTokenFileProvider; -import org.eclipse.xtext.parser.antlr.ITokenDefProvider; -import org.eclipse.xtext.parser.antlr.IUnorderedGroupHelper; -import org.eclipse.xtext.parser.antlr.Lexer; -import org.eclipse.xtext.parser.antlr.LexerBindings; -import org.eclipse.xtext.parser.antlr.LexerProvider; -import org.eclipse.xtext.parser.antlr.UnorderedGroupHelper; -import org.eclipse.xtext.resource.IContainer; -import org.eclipse.xtext.resource.IResourceDescriptions; -import org.eclipse.xtext.resource.containers.IAllContainersState; -import org.eclipse.xtext.resource.containers.ResourceSetBasedAllContainersStateProvider; -import org.eclipse.xtext.resource.containers.StateBasedContainerManager; -import org.eclipse.xtext.resource.impl.ResourceDescriptionsProvider; -import org.eclipse.xtext.resource.impl.ResourceSetBasedResourceDescriptions; -import org.eclipse.xtext.scoping.IGlobalScopeProvider; -import org.eclipse.xtext.scoping.IScopeProvider; -import org.eclipse.xtext.scoping.IgnoreCaseLinking; -import org.eclipse.xtext.scoping.impl.AbstractDeclarativeScopeProvider; -import org.eclipse.xtext.scoping.impl.DefaultGlobalScopeProvider; -import org.eclipse.xtext.scoping.impl.ImportedNamespaceAwareLocalScopeProvider; -import org.eclipse.xtext.serializer.ISerializer; -import org.eclipse.xtext.serializer.impl.Serializer; -import org.eclipse.xtext.serializer.sequencer.ISemanticSequencer; -import org.eclipse.xtext.serializer.sequencer.ISyntacticSequencer; -import org.eclipse.xtext.service.DefaultRuntimeModule; -import org.eclipse.xtext.service.SingletonBinding; - -/** - * Manual modifications go to {@link ApplicationConfigurationRuntimeModule}. - */ -@SuppressWarnings("all") -public abstract class AbstractApplicationConfigurationRuntimeModule extends DefaultRuntimeModule { - - protected Properties properties = null; - - @Override - public void configure(Binder binder) { - properties = tryBindProperties(binder, "hu/bme/mit/inf/dslreasoner/application/ApplicationConfiguration.properties"); - super.configure(binder); - } - - public void configureLanguageName(Binder binder) { - binder.bind(String.class).annotatedWith(Names.named(Constants.LANGUAGE_NAME)).toInstance("hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration"); - } - - public void configureFileExtensions(Binder binder) { - if (properties == null || properties.getProperty(Constants.FILE_EXTENSIONS) == null) - binder.bind(String.class).annotatedWith(Names.named(Constants.FILE_EXTENSIONS)).toInstance("vsconfig"); - } - - // contributed by org.eclipse.xtext.xtext.generator.grammarAccess.GrammarAccessFragment2 - public ClassLoader bindClassLoaderToInstance() { - return getClass().getClassLoader(); - } - - // contributed by org.eclipse.xtext.xtext.generator.grammarAccess.GrammarAccessFragment2 - public Class bindIGrammarAccess() { - return ApplicationConfigurationGrammarAccess.class; - } - - // contributed by org.eclipse.xtext.xtext.generator.serializer.SerializerFragment2 - public Class bindISemanticSequencer() { - return ApplicationConfigurationSemanticSequencer.class; - } - - // contributed by org.eclipse.xtext.xtext.generator.serializer.SerializerFragment2 - public Class bindISyntacticSequencer() { - return ApplicationConfigurationSyntacticSequencer.class; - } - - // contributed by org.eclipse.xtext.xtext.generator.serializer.SerializerFragment2 - public Class bindISerializer() { - return Serializer.class; - } - - // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 - public Class bindIParser() { - return ApplicationConfigurationParser.class; - } - - // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 - public Class bindITokenToStringConverter() { - return AntlrTokenToStringConverter.class; - } - - // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 - public Class bindIAntlrTokenFileProvider() { - return ApplicationConfigurationAntlrTokenFileProvider.class; - } - - // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 - public Class bindLexer() { - return InternalApplicationConfigurationLexer.class; - } - - // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 - public Class bindITokenDefProvider() { - return AntlrTokenDefProvider.class; - } - - // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 - public Provider provideInternalApplicationConfigurationLexer() { - return LexerProvider.create(InternalApplicationConfigurationLexer.class); - } - - // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 - public void configureRuntimeLexer(Binder binder) { - binder.bind(Lexer.class) - .annotatedWith(Names.named(LexerBindings.RUNTIME)) - .to(InternalApplicationConfigurationLexer.class); - } - - // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 - public Class bindIUnorderedGroupHelper() { - return UnorderedGroupHelper.class; - } - - // contributed by org.eclipse.xtext.xtext.generator.validation.ValidatorFragment2 - @SingletonBinding(eager=true) - public Class bindApplicationConfigurationValidator() { - return ApplicationConfigurationValidator.class; - } - - // contributed by org.eclipse.xtext.xtext.generator.scoping.ImportNamespacesScopingFragment2 - public Class bindIScopeProvider() { - return ApplicationConfigurationScopeProvider.class; - } - - // contributed by org.eclipse.xtext.xtext.generator.scoping.ImportNamespacesScopingFragment2 - public void configureIScopeProviderDelegate(Binder binder) { - binder.bind(IScopeProvider.class).annotatedWith(Names.named(AbstractDeclarativeScopeProvider.NAMED_DELEGATE)).to(ImportedNamespaceAwareLocalScopeProvider.class); - } - - // contributed by org.eclipse.xtext.xtext.generator.scoping.ImportNamespacesScopingFragment2 - public Class bindIGlobalScopeProvider() { - return DefaultGlobalScopeProvider.class; - } - - // contributed by org.eclipse.xtext.xtext.generator.scoping.ImportNamespacesScopingFragment2 - public void configureIgnoreCaseLinking(Binder binder) { - binder.bindConstant().annotatedWith(IgnoreCaseLinking.class).to(false); - } - - // contributed by org.eclipse.xtext.xtext.generator.exporting.QualifiedNamesFragment2 - public Class bindIQualifiedNameProvider() { - return DefaultDeclarativeQualifiedNameProvider.class; - } - - // contributed by org.eclipse.xtext.xtext.generator.builder.BuilderIntegrationFragment2 - public Class bindIContainer$Manager() { - return StateBasedContainerManager.class; - } - - // contributed by org.eclipse.xtext.xtext.generator.builder.BuilderIntegrationFragment2 - public Class bindIAllContainersState$Provider() { - return ResourceSetBasedAllContainersStateProvider.class; - } - - // contributed by org.eclipse.xtext.xtext.generator.builder.BuilderIntegrationFragment2 - public void configureIResourceDescriptions(Binder binder) { - binder.bind(IResourceDescriptions.class).to(ResourceSetBasedResourceDescriptions.class); - } - - // contributed by org.eclipse.xtext.xtext.generator.builder.BuilderIntegrationFragment2 - public void configureIResourceDescriptionsPersisted(Binder binder) { - binder.bind(IResourceDescriptions.class).annotatedWith(Names.named(ResourceDescriptionsProvider.PERSISTED_DESCRIPTIONS)).to(ResourceSetBasedResourceDescriptions.class); - } - - // contributed by org.eclipse.xtext.xtext.generator.generator.GeneratorFragment2 - public Class bindIGenerator2() { - return ApplicationConfigurationGenerator.class; - } - -} +/* + * generated by Xtext 2.16.0 + */ +package hu.bme.mit.inf.dslreasoner.application; + +import com.google.inject.Binder; +import com.google.inject.Provider; +import com.google.inject.name.Names; +import hu.bme.mit.inf.dslreasoner.application.generator.ApplicationConfigurationGenerator; +import hu.bme.mit.inf.dslreasoner.application.parser.antlr.ApplicationConfigurationAntlrTokenFileProvider; +import hu.bme.mit.inf.dslreasoner.application.parser.antlr.ApplicationConfigurationParser; +import hu.bme.mit.inf.dslreasoner.application.parser.antlr.internal.InternalApplicationConfigurationLexer; +import hu.bme.mit.inf.dslreasoner.application.scoping.ApplicationConfigurationScopeProvider; +import hu.bme.mit.inf.dslreasoner.application.serializer.ApplicationConfigurationSemanticSequencer; +import hu.bme.mit.inf.dslreasoner.application.serializer.ApplicationConfigurationSyntacticSequencer; +import hu.bme.mit.inf.dslreasoner.application.services.ApplicationConfigurationGrammarAccess; +import hu.bme.mit.inf.dslreasoner.application.validation.ApplicationConfigurationValidator; +import java.util.Properties; +import org.eclipse.xtext.Constants; +import org.eclipse.xtext.IGrammarAccess; +import org.eclipse.xtext.generator.IGenerator2; +import org.eclipse.xtext.naming.DefaultDeclarativeQualifiedNameProvider; +import org.eclipse.xtext.naming.IQualifiedNameProvider; +import org.eclipse.xtext.parser.IParser; +import org.eclipse.xtext.parser.ITokenToStringConverter; +import org.eclipse.xtext.parser.antlr.AntlrTokenDefProvider; +import org.eclipse.xtext.parser.antlr.AntlrTokenToStringConverter; +import org.eclipse.xtext.parser.antlr.IAntlrTokenFileProvider; +import org.eclipse.xtext.parser.antlr.ITokenDefProvider; +import org.eclipse.xtext.parser.antlr.IUnorderedGroupHelper; +import org.eclipse.xtext.parser.antlr.Lexer; +import org.eclipse.xtext.parser.antlr.LexerBindings; +import org.eclipse.xtext.parser.antlr.LexerProvider; +import org.eclipse.xtext.parser.antlr.UnorderedGroupHelper; +import org.eclipse.xtext.resource.IContainer; +import org.eclipse.xtext.resource.IResourceDescriptions; +import org.eclipse.xtext.resource.containers.IAllContainersState; +import org.eclipse.xtext.resource.containers.ResourceSetBasedAllContainersStateProvider; +import org.eclipse.xtext.resource.containers.StateBasedContainerManager; +import org.eclipse.xtext.resource.impl.ResourceDescriptionsProvider; +import org.eclipse.xtext.resource.impl.ResourceSetBasedResourceDescriptions; +import org.eclipse.xtext.scoping.IGlobalScopeProvider; +import org.eclipse.xtext.scoping.IScopeProvider; +import org.eclipse.xtext.scoping.IgnoreCaseLinking; +import org.eclipse.xtext.scoping.impl.AbstractDeclarativeScopeProvider; +import org.eclipse.xtext.scoping.impl.DefaultGlobalScopeProvider; +import org.eclipse.xtext.scoping.impl.ImportedNamespaceAwareLocalScopeProvider; +import org.eclipse.xtext.serializer.ISerializer; +import org.eclipse.xtext.serializer.impl.Serializer; +import org.eclipse.xtext.serializer.sequencer.ISemanticSequencer; +import org.eclipse.xtext.serializer.sequencer.ISyntacticSequencer; +import org.eclipse.xtext.service.DefaultRuntimeModule; +import org.eclipse.xtext.service.SingletonBinding; + +/** + * Manual modifications go to {@link ApplicationConfigurationRuntimeModule}. + */ +@SuppressWarnings("all") +public abstract class AbstractApplicationConfigurationRuntimeModule extends DefaultRuntimeModule { + + protected Properties properties = null; + + @Override + public void configure(Binder binder) { + properties = tryBindProperties(binder, "hu/bme/mit/inf/dslreasoner/application/ApplicationConfiguration.properties"); + super.configure(binder); + } + + public void configureLanguageName(Binder binder) { + binder.bind(String.class).annotatedWith(Names.named(Constants.LANGUAGE_NAME)).toInstance("hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration"); + } + + public void configureFileExtensions(Binder binder) { + if (properties == null || properties.getProperty(Constants.FILE_EXTENSIONS) == null) + binder.bind(String.class).annotatedWith(Names.named(Constants.FILE_EXTENSIONS)).toInstance("vsconfig"); + } + + // contributed by org.eclipse.xtext.xtext.generator.grammarAccess.GrammarAccessFragment2 + public ClassLoader bindClassLoaderToInstance() { + return getClass().getClassLoader(); + } + + // contributed by org.eclipse.xtext.xtext.generator.grammarAccess.GrammarAccessFragment2 + public Class bindIGrammarAccess() { + return ApplicationConfigurationGrammarAccess.class; + } + + // contributed by org.eclipse.xtext.xtext.generator.serializer.SerializerFragment2 + public Class bindISemanticSequencer() { + return ApplicationConfigurationSemanticSequencer.class; + } + + // contributed by org.eclipse.xtext.xtext.generator.serializer.SerializerFragment2 + public Class bindISyntacticSequencer() { + return ApplicationConfigurationSyntacticSequencer.class; + } + + // contributed by org.eclipse.xtext.xtext.generator.serializer.SerializerFragment2 + public Class bindISerializer() { + return Serializer.class; + } + + // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 + public Class bindIParser() { + return ApplicationConfigurationParser.class; + } + + // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 + public Class bindITokenToStringConverter() { + return AntlrTokenToStringConverter.class; + } + + // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 + public Class bindIAntlrTokenFileProvider() { + return ApplicationConfigurationAntlrTokenFileProvider.class; + } + + // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 + public Class bindLexer() { + return InternalApplicationConfigurationLexer.class; + } + + // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 + public Class bindITokenDefProvider() { + return AntlrTokenDefProvider.class; + } + + // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 + public Provider provideInternalApplicationConfigurationLexer() { + return LexerProvider.create(InternalApplicationConfigurationLexer.class); + } + + // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 + public void configureRuntimeLexer(Binder binder) { + binder.bind(Lexer.class) + .annotatedWith(Names.named(LexerBindings.RUNTIME)) + .to(InternalApplicationConfigurationLexer.class); + } + + // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 + public Class bindIUnorderedGroupHelper() { + return UnorderedGroupHelper.class; + } + + // contributed by org.eclipse.xtext.xtext.generator.validation.ValidatorFragment2 + @SingletonBinding(eager=true) + public Class bindApplicationConfigurationValidator() { + return ApplicationConfigurationValidator.class; + } + + // contributed by org.eclipse.xtext.xtext.generator.scoping.ImportNamespacesScopingFragment2 + public Class bindIScopeProvider() { + return ApplicationConfigurationScopeProvider.class; + } + + // contributed by org.eclipse.xtext.xtext.generator.scoping.ImportNamespacesScopingFragment2 + public void configureIScopeProviderDelegate(Binder binder) { + binder.bind(IScopeProvider.class).annotatedWith(Names.named(AbstractDeclarativeScopeProvider.NAMED_DELEGATE)).to(ImportedNamespaceAwareLocalScopeProvider.class); + } + + // contributed by org.eclipse.xtext.xtext.generator.scoping.ImportNamespacesScopingFragment2 + public Class bindIGlobalScopeProvider() { + return DefaultGlobalScopeProvider.class; + } + + // contributed by org.eclipse.xtext.xtext.generator.scoping.ImportNamespacesScopingFragment2 + public void configureIgnoreCaseLinking(Binder binder) { + binder.bindConstant().annotatedWith(IgnoreCaseLinking.class).to(false); + } + + // contributed by org.eclipse.xtext.xtext.generator.exporting.QualifiedNamesFragment2 + public Class bindIQualifiedNameProvider() { + return DefaultDeclarativeQualifiedNameProvider.class; + } + + // contributed by org.eclipse.xtext.xtext.generator.builder.BuilderIntegrationFragment2 + public Class bindIContainer$Manager() { + return StateBasedContainerManager.class; + } + + // contributed by org.eclipse.xtext.xtext.generator.builder.BuilderIntegrationFragment2 + public Class bindIAllContainersState$Provider() { + return ResourceSetBasedAllContainersStateProvider.class; + } + + // contributed by org.eclipse.xtext.xtext.generator.builder.BuilderIntegrationFragment2 + public void configureIResourceDescriptions(Binder binder) { + binder.bind(IResourceDescriptions.class).to(ResourceSetBasedResourceDescriptions.class); + } + + // contributed by org.eclipse.xtext.xtext.generator.builder.BuilderIntegrationFragment2 + public void configureIResourceDescriptionsPersisted(Binder binder) { + binder.bind(IResourceDescriptions.class).annotatedWith(Names.named(ResourceDescriptionsProvider.PERSISTED_DESCRIPTIONS)).to(ResourceSetBasedResourceDescriptions.class); + } + + // contributed by org.eclipse.xtext.xtext.generator.generator.GeneratorFragment2 + public Class bindIGenerator2() { + return ApplicationConfigurationGenerator.class; + } + +} 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 e1f09380..d1600b7b 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/ApplicationConfigurationStandaloneSetupGenerated.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/ApplicationConfigurationStandaloneSetupGenerated.java index 30f88a59..93f0f35a 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/ApplicationConfigurationStandaloneSetupGenerated.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/ApplicationConfigurationStandaloneSetupGenerated.java @@ -1,42 +1,42 @@ -/* - * generated by Xtext 2.12.0 - */ -package hu.bme.mit.inf.dslreasoner.application; - -import com.google.inject.Guice; -import com.google.inject.Injector; -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage; -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.emf.ecore.resource.Resource; -import org.eclipse.xtext.ISetup; -import org.eclipse.xtext.common.TerminalsStandaloneSetup; -import org.eclipse.xtext.resource.IResourceFactory; -import org.eclipse.xtext.resource.IResourceServiceProvider; - -@SuppressWarnings("all") -public class ApplicationConfigurationStandaloneSetupGenerated implements ISetup { - - @Override - public Injector createInjectorAndDoEMFRegistration() { - TerminalsStandaloneSetup.doSetup(); - - Injector injector = createInjector(); - register(injector); - return injector; - } - - public Injector createInjector() { - return Guice.createInjector(new ApplicationConfigurationRuntimeModule()); - } - - public void register(Injector injector) { - if (!EPackage.Registry.INSTANCE.containsKey("http://www.bme.hu/mit/inf/dslreasoner/application/ApplicationConfiguration")) { - EPackage.Registry.INSTANCE.put("http://www.bme.hu/mit/inf/dslreasoner/application/ApplicationConfiguration", ApplicationConfigurationPackage.eINSTANCE); - } - IResourceFactory resourceFactory = injector.getInstance(IResourceFactory.class); - IResourceServiceProvider serviceProvider = injector.getInstance(IResourceServiceProvider.class); - - Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap().put("vsconfig", resourceFactory); - IResourceServiceProvider.Registry.INSTANCE.getExtensionToFactoryMap().put("vsconfig", serviceProvider); - } -} +/* + * generated by Xtext 2.16.0 + */ +package hu.bme.mit.inf.dslreasoner.application; + +import com.google.inject.Guice; +import com.google.inject.Injector; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage; +import org.eclipse.emf.ecore.EPackage; +import org.eclipse.emf.ecore.resource.Resource; +import org.eclipse.xtext.ISetup; +import org.eclipse.xtext.common.TerminalsStandaloneSetup; +import org.eclipse.xtext.resource.IResourceFactory; +import org.eclipse.xtext.resource.IResourceServiceProvider; + +@SuppressWarnings("all") +public class ApplicationConfigurationStandaloneSetupGenerated implements ISetup { + + @Override + public Injector createInjectorAndDoEMFRegistration() { + TerminalsStandaloneSetup.doSetup(); + + Injector injector = createInjector(); + register(injector); + return injector; + } + + public Injector createInjector() { + return Guice.createInjector(new ApplicationConfigurationRuntimeModule()); + } + + public void register(Injector injector) { + if (!EPackage.Registry.INSTANCE.containsKey("http://www.bme.hu/mit/inf/dslreasoner/application/ApplicationConfiguration")) { + EPackage.Registry.INSTANCE.put("http://www.bme.hu/mit/inf/dslreasoner/application/ApplicationConfiguration", ApplicationConfigurationPackage.eINSTANCE); + } + IResourceFactory resourceFactory = injector.getInstance(IResourceFactory.class); + IResourceServiceProvider serviceProvider = injector.getInstance(IResourceServiceProvider.class); + + Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap().put("vsconfig", resourceFactory); + IResourceServiceProvider.Registry.INSTANCE.getExtensionToFactoryMap().put("vsconfig", serviceProvider); + } +} diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/AllPackageEntry.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/AllPackageEntry.java index 722084c8..dabd5db8 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/AllPackageEntry.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/AllPackageEntry.java @@ -1,42 +1,42 @@ -/** - * generated by Xtext 2.12.0 - */ -package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; - -import org.eclipse.emf.common.util.EList; - -/** - * - * A representation of the model object 'All Package Entry'. - * - * - *

- * The following features are supported: - *

- *
    - *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.AllPackageEntry#getExclusion Exclusion}
  • - *
- * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getAllPackageEntry() - * @model - * @generated - */ -public interface AllPackageEntry extends MetamodelEntry -{ - /** - * Returns the value of the 'Exclusion' containment reference list. - * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelElement}. - * - *

- * 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#getAllPackageEntry_Exclusion() - * @model containment="true" - * @generated - */ - EList getExclusion(); - -} // AllPackageEntry +/** + * generated by Xtext 2.16.0 + */ +package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; + +import org.eclipse.emf.common.util.EList; + +/** + * + * A representation of the model object 'All Package Entry'. + * + * + *

+ * The following features are supported: + *

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

+ * 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#getAllPackageEntry_Exclusion() + * @model containment="true" + * @generated + */ + EList getExclusion(); + +} // AllPackageEntry 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 index ad3e9885..5270dea1 100644 --- 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 @@ -1,42 +1,42 @@ -/** - * generated by Xtext 2.12.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 +/** + * generated by Xtext 2.16.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/ApplicationConfigurationFactory.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ApplicationConfigurationFactory.java index 0e44eb6f..3b639669 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ApplicationConfigurationFactory.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ApplicationConfigurationFactory.java @@ -1,638 +1,728 @@ -/** - * generated by Xtext 2.12.0 - */ -package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; - -import org.eclipse.emf.ecore.EFactory; - -/** - * - * The Factory for the model. - * It provides a create method for each non-abstract class of the model. - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage - * @generated - */ -public interface ApplicationConfigurationFactory extends EFactory -{ - /** - * The singleton instance of the factory. - * - * - * @generated - */ - ApplicationConfigurationFactory eINSTANCE = hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationFactoryImpl.init(); - - /** - * Returns a new object of class 'Configuration Script'. - * - * - * @return a new object of class 'Configuration Script'. - * @generated - */ - ConfigurationScript createConfigurationScript(); - - /** - * Returns a new object of class 'Command'. - * - * - * @return a new object of class 'Command'. - * @generated - */ - Command createCommand(); - - /** - * Returns a new object of class 'Import'. - * - * - * @return a new object of class 'Import'. - * @generated - */ - Import createImport(); - - /** - * Returns a new object of class 'EPackage Import'. - * - * - * @return a new object of class 'EPackage Import'. - * @generated - */ - EPackageImport createEPackageImport(); - - /** - * Returns a new object of class 'Viatra Import'. - * - * - * @return a new object of class 'Viatra Import'. - * @generated - */ - ViatraImport createViatraImport(); - - /** - * Returns a new object of class 'Declaration'. - * - * - * @return a new object of class 'Declaration'. - * @generated - */ - Declaration createDeclaration(); - - /** - * Returns a new object of class 'File Specification'. - * - * - * @return a new object of class 'File Specification'. - * @generated - */ - FileSpecification createFileSpecification(); - - /** - * Returns a new object of class 'File Declaration'. - * - * - * @return a new object of class 'File Declaration'. - * @generated - */ - FileDeclaration createFileDeclaration(); - - /** - * Returns a new object of class 'File Reference'. - * - * - * @return a new object of class 'File Reference'. - * @generated - */ - FileReference createFileReference(); - - /** - * Returns a new object of class 'File'. - * - * - * @return a new object of class 'File'. - * @generated - */ - File createFile(); - - /** - * Returns a new object of class 'Metamodel Specification'. - * - * - * @return a new object of class 'Metamodel Specification'. - * @generated - */ - MetamodelSpecification createMetamodelSpecification(); - - /** - * Returns a new object of class 'Metamodel Entry'. - * - * - * @return a new object of class 'Metamodel Entry'. - * @generated - */ - MetamodelEntry createMetamodelEntry(); - - /** - * Returns a new object of class 'All Package Entry'. - * - * - * @return a new object of class 'All Package Entry'. - * @generated - */ - AllPackageEntry createAllPackageEntry(); - - /** - * Returns a new object of class 'Metamodel Element'. - * - * - * @return a new object of class 'Metamodel Element'. - * @generated - */ - MetamodelElement createMetamodelElement(); - - /** - * Returns a new object of class 'Metamodel Declaration'. - * - * - * @return a new object of class 'Metamodel Declaration'. - * @generated - */ - MetamodelDeclaration createMetamodelDeclaration(); - - /** - * Returns a new object of class 'Metamodel Reference'. - * - * - * @return a new object of class 'Metamodel Reference'. - * @generated - */ - MetamodelReference createMetamodelReference(); - - /** - * Returns a new object of class 'Metamodel'. - * - * - * @return a new object of class 'Metamodel'. - * @generated - */ - Metamodel createMetamodel(); - - /** - * Returns a new object of class 'Partial Model Specification'. - * - * - * @return a new object of class 'Partial Model Specification'. - * @generated - */ - PartialModelSpecification createPartialModelSpecification(); - - /** - * Returns a new object of class 'Partial Model Entry'. - * - * - * @return a new object of class 'Partial Model Entry'. - * @generated - */ - PartialModelEntry createPartialModelEntry(); - - /** - * Returns a new object of class 'Model Entry'. - * - * - * @return a new object of class 'Model Entry'. - * @generated - */ - ModelEntry createModelEntry(); - - /** - * Returns a new object of class 'Folder Entry'. - * - * - * @return a new object of class 'Folder Entry'. - * @generated - */ - FolderEntry createFolderEntry(); - - /** - * Returns a new object of class 'Partial Model Declaration'. - * - * - * @return a new object of class 'Partial Model Declaration'. - * @generated - */ - PartialModelDeclaration createPartialModelDeclaration(); - - /** - * Returns a new object of class 'Partial Model Reference'. - * - * - * @return a new object of class 'Partial Model Reference'. - * @generated - */ - PartialModelReference createPartialModelReference(); - - /** - * Returns a new object of class 'Partial Model'. - * - * - * @return a new object of class 'Partial Model'. - * @generated - */ - PartialModel createPartialModel(); - - /** - * Returns a new object of class 'Pattern Specification'. - * - * - * @return a new object of class 'Pattern Specification'. - * @generated - */ - PatternSpecification createPatternSpecification(); - - /** - * Returns a new object of class 'Pattern Entry'. - * - * - * @return a new object of class 'Pattern Entry'. - * @generated - */ - PatternEntry createPatternEntry(); - - /** - * Returns a new object of class 'All Pattern Entry'. - * - * - * @return a new object of class 'All Pattern Entry'. - * @generated - */ - AllPatternEntry createAllPatternEntry(); - - /** - * Returns a new object of class 'Pattern Element'. - * - * - * @return a new object of class 'Pattern Element'. - * @generated - */ - PatternElement createPatternElement(); - - /** - * Returns a new object of class 'Graph Pattern Declaration'. - * - * - * @return a new object of class 'Graph Pattern Declaration'. - * @generated - */ - GraphPatternDeclaration createGraphPatternDeclaration(); - - /** - * Returns a new object of class 'Graph Pattern Reference'. - * - * - * @return a new object of class 'Graph Pattern Reference'. - * @generated - */ - GraphPatternReference createGraphPatternReference(); - - /** - * Returns a new object of class 'Graph Pattern'. - * - * - * @return a new object of class 'Graph Pattern'. - * @generated - */ - GraphPattern createGraphPattern(); - - /** - * Returns a new object of class 'Config Specification'. - * - * - * @return a new object of class 'Config Specification'. - * @generated - */ - ConfigSpecification createConfigSpecification(); - - /** - * Returns a new object of class 'Config Declaration'. - * - * - * @return a new object of class 'Config Declaration'. - * @generated - */ - ConfigDeclaration createConfigDeclaration(); - - /** - * Returns a new object of class 'Config Entry'. - * - * - * @return a new object of class 'Config Entry'. - * @generated - */ - ConfigEntry createConfigEntry(); - - /** - * Returns a new object of class 'Documentation Entry'. - * - * - * @return a new object of class 'Documentation Entry'. - * @generated - */ - DocumentationEntry createDocumentationEntry(); - - /** - * Returns a new object of class 'Runtime Entry'. - * - * - * @return a new object of class 'Runtime Entry'. - * @generated - */ - RuntimeEntry createRuntimeEntry(); - - /** - * Returns a new object of class 'Memory Entry'. - * - * - * @return a new object of class 'Memory Entry'. - * @generated - */ - MemoryEntry createMemoryEntry(); - - /** - * Returns a new object of class 'Custom Entry'. - * - * - * @return a new object of class 'Custom Entry'. - * @generated - */ - CustomEntry createCustomEntry(); - - /** - * Returns a new object of class 'Config Reference'. - * - * - * @return a new object of class 'Config Reference'. - * @generated - */ - ConfigReference createConfigReference(); - - /** - * Returns a new object of class 'Config'. - * - * - * @return a new object of class 'Config'. - * @generated - */ - Config createConfig(); - - /** - * Returns a new object of class 'Scope Specification'. - * - * - * @return a new object of class 'Scope Specification'. - * @generated - */ - ScopeSpecification createScopeSpecification(); - - /** - * Returns a new object of class 'Type Scope'. - * - * - * @return a new object of class 'Type Scope'. - * @generated - */ - TypeScope createTypeScope(); - - /** - * Returns a new object of class 'Class Type Scope'. - * - * - * @return a new object of class 'Class Type Scope'. - * @generated - */ - ClassTypeScope createClassTypeScope(); - - /** - * Returns a new object of class 'Object Type Scope'. - * - * - * @return a new object of class 'Object Type Scope'. - * @generated - */ - ObjectTypeScope createObjectTypeScope(); - - /** - * Returns a new object of class 'Integer Type Scope'. - * - * - * @return a new object of class 'Integer Type Scope'. - * @generated - */ - IntegerTypeScope createIntegerTypeScope(); - - /** - * Returns a new object of class 'Real Type Scope'. - * - * - * @return a new object of class 'Real Type Scope'. - * @generated - */ - RealTypeScope createRealTypeScope(); - - /** - * Returns a new object of class 'String Type Scope'. - * - * - * @return a new object of class 'String Type Scope'. - * @generated - */ - StringTypeScope createStringTypeScope(); - - /** - * Returns a new object of class 'Type Reference'. - * - * - * @return a new object of class 'Type Reference'. - * @generated - */ - TypeReference createTypeReference(); - - /** - * Returns a new object of class 'Class Reference'. - * - * - * @return a new object of class 'Class Reference'. - * @generated - */ - ClassReference createClassReference(); - - /** - * Returns a new object of class 'Object Reference'. - * - * - * @return a new object of class 'Object Reference'. - * @generated - */ - ObjectReference createObjectReference(); - - /** - * Returns a new object of class 'Integer Reference'. - * - * - * @return a new object of class 'Integer Reference'. - * @generated - */ - IntegerReference createIntegerReference(); - - /** - * Returns a new object of class 'Real Reference'. - * - * - * @return a new object of class 'Real Reference'. - * @generated - */ - RealReference createRealReference(); - - /** - * Returns a new object of class 'String Reference'. - * - * - * @return a new object of class 'String Reference'. - * @generated - */ - StringReference createStringReference(); - - /** - * Returns a new object of class 'Number Specification'. - * - * - * @return a new object of class 'Number Specification'. - * @generated - */ - NumberSpecification createNumberSpecification(); - - /** - * Returns a new object of class 'Exact Number'. - * - * - * @return a new object of class 'Exact Number'. - * @generated - */ - ExactNumber createExactNumber(); - - /** - * Returns a new object of class 'Intervall Number'. - * - * - * @return a new object of class 'Intervall Number'. - * @generated - */ - IntervallNumber createIntervallNumber(); - - /** - * Returns a new object of class 'Int Enumberation'. - * - * - * @return a new object of class 'Int Enumberation'. - * @generated - */ - IntEnumberation createIntEnumberation(); - - /** - * Returns a new object of class 'Real Enumeration'. - * - * - * @return a new object of class 'Real Enumeration'. - * @generated - */ - RealEnumeration createRealEnumeration(); - - /** - * Returns a new object of class 'String Enumeration'. - * - * - * @return a new object of class 'String Enumeration'. - * @generated - */ - StringEnumeration createStringEnumeration(); - - /** - * Returns a new object of class 'Scope Declaration'. - * - * - * @return a new object of class 'Scope Declaration'. - * @generated - */ - ScopeDeclaration createScopeDeclaration(); - - /** - * Returns a new object of class 'Scope Reference'. - * - * - * @return a new object of class 'Scope Reference'. - * @generated - */ - ScopeReference createScopeReference(); - - /** - * Returns a new object of class 'Scope'. - * - * - * @return a new object of class 'Scope'. - * @generated - */ - Scope createScope(); - - /** - * Returns a new object of class 'Task'. - * - * - * @return a new object of class 'Task'. - * @generated - */ - Task createTask(); - - /** - * Returns a new object of class 'Generation Task'. - * - * - * @return a new object of class 'Generation Task'. - * @generated - */ - GenerationTask createGenerationTask(); - - /** - * Returns a new object of class 'Integer Scope'. - * - * - * @return a new object of class 'Integer Scope'. - * @generated - */ - IntegerScope createIntegerScope(); - - /** - * Returns a new object of class 'Real Scope'. - * - * - * @return a new object of class 'Real Scope'. - * @generated - */ - RealScope createRealScope(); - - /** - * Returns a new object of class 'String Scope'. - * - * - * @return a new object of class 'String Scope'. - * @generated - */ - StringScope createStringScope(); - - /** - * Returns the package supported by this factory. - * - * - * @return the package supported by this factory. - * @generated - */ - ApplicationConfigurationPackage getApplicationConfigurationPackage(); - -} //ApplicationConfigurationFactory +/** + * generated by Xtext 2.16.0 + */ +package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; + +import org.eclipse.emf.ecore.EFactory; + +/** + * + * The Factory for the model. + * It provides a create method for each non-abstract class of the model. + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage + * @generated + */ +public interface ApplicationConfigurationFactory extends EFactory +{ + /** + * The singleton instance of the factory. + * + * + * @generated + */ + ApplicationConfigurationFactory eINSTANCE = hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationFactoryImpl.init(); + + /** + * Returns a new object of class 'Configuration Script'. + * + * + * @return a new object of class 'Configuration Script'. + * @generated + */ + ConfigurationScript createConfigurationScript(); + + /** + * Returns a new object of class 'Command'. + * + * + * @return a new object of class 'Command'. + * @generated + */ + Command createCommand(); + + /** + * Returns a new object of class 'Import'. + * + * + * @return a new object of class 'Import'. + * @generated + */ + Import createImport(); + + /** + * Returns a new object of class 'EPackage Import'. + * + * + * @return a new object of class 'EPackage Import'. + * @generated + */ + EPackageImport createEPackageImport(); + + /** + * Returns a new object of class 'Viatra Import'. + * + * + * @return a new object of class 'Viatra Import'. + * @generated + */ + ViatraImport createViatraImport(); + + /** + * Returns a new object of class 'Cft Import'. + * + * + * @return a new object of class 'Cft Import'. + * @generated + */ + CftImport createCftImport(); + + /** + * Returns a new object of class 'Declaration'. + * + * + * @return a new object of class 'Declaration'. + * @generated + */ + Declaration createDeclaration(); + + /** + * Returns a new object of class 'File Specification'. + * + * + * @return a new object of class 'File Specification'. + * @generated + */ + FileSpecification createFileSpecification(); + + /** + * Returns a new object of class 'File Declaration'. + * + * + * @return a new object of class 'File Declaration'. + * @generated + */ + FileDeclaration createFileDeclaration(); + + /** + * Returns a new object of class 'File Reference'. + * + * + * @return a new object of class 'File Reference'. + * @generated + */ + FileReference createFileReference(); + + /** + * Returns a new object of class 'File'. + * + * + * @return a new object of class 'File'. + * @generated + */ + File createFile(); + + /** + * Returns a new object of class 'Metamodel Specification'. + * + * + * @return a new object of class 'Metamodel Specification'. + * @generated + */ + MetamodelSpecification createMetamodelSpecification(); + + /** + * Returns a new object of class 'Metamodel Entry'. + * + * + * @return a new object of class 'Metamodel Entry'. + * @generated + */ + MetamodelEntry createMetamodelEntry(); + + /** + * Returns a new object of class 'All Package Entry'. + * + * + * @return a new object of class 'All Package Entry'. + * @generated + */ + AllPackageEntry createAllPackageEntry(); + + /** + * Returns a new object of class 'Metamodel Element'. + * + * + * @return a new object of class 'Metamodel Element'. + * @generated + */ + MetamodelElement createMetamodelElement(); + + /** + * Returns a new object of class 'Metamodel Declaration'. + * + * + * @return a new object of class 'Metamodel Declaration'. + * @generated + */ + MetamodelDeclaration createMetamodelDeclaration(); + + /** + * Returns a new object of class 'Metamodel Reference'. + * + * + * @return a new object of class 'Metamodel Reference'. + * @generated + */ + MetamodelReference createMetamodelReference(); + + /** + * Returns a new object of class 'Metamodel'. + * + * + * @return a new object of class 'Metamodel'. + * @generated + */ + Metamodel createMetamodel(); + + /** + * Returns a new object of class 'Partial Model Specification'. + * + * + * @return a new object of class 'Partial Model Specification'. + * @generated + */ + PartialModelSpecification createPartialModelSpecification(); + + /** + * Returns a new object of class 'Partial Model Entry'. + * + * + * @return a new object of class 'Partial Model Entry'. + * @generated + */ + PartialModelEntry createPartialModelEntry(); + + /** + * Returns a new object of class 'Model Entry'. + * + * + * @return a new object of class 'Model Entry'. + * @generated + */ + ModelEntry createModelEntry(); + + /** + * Returns a new object of class 'Folder Entry'. + * + * + * @return a new object of class 'Folder Entry'. + * @generated + */ + FolderEntry createFolderEntry(); + + /** + * Returns a new object of class 'Partial Model Declaration'. + * + * + * @return a new object of class 'Partial Model Declaration'. + * @generated + */ + PartialModelDeclaration createPartialModelDeclaration(); + + /** + * Returns a new object of class 'Partial Model Reference'. + * + * + * @return a new object of class 'Partial Model Reference'. + * @generated + */ + PartialModelReference createPartialModelReference(); + + /** + * Returns a new object of class 'Partial Model'. + * + * + * @return a new object of class 'Partial Model'. + * @generated + */ + PartialModel createPartialModel(); + + /** + * Returns a new object of class 'Pattern Specification'. + * + * + * @return a new object of class 'Pattern Specification'. + * @generated + */ + PatternSpecification createPatternSpecification(); + + /** + * Returns a new object of class 'Pattern Entry'. + * + * + * @return a new object of class 'Pattern Entry'. + * @generated + */ + PatternEntry createPatternEntry(); + + /** + * Returns a new object of class 'All Pattern Entry'. + * + * + * @return a new object of class 'All Pattern Entry'. + * @generated + */ + AllPatternEntry createAllPatternEntry(); + + /** + * Returns a new object of class 'Pattern Element'. + * + * + * @return a new object of class 'Pattern Element'. + * @generated + */ + PatternElement createPatternElement(); + + /** + * Returns a new object of class 'Graph Pattern Declaration'. + * + * + * @return a new object of class 'Graph Pattern Declaration'. + * @generated + */ + GraphPatternDeclaration createGraphPatternDeclaration(); + + /** + * Returns a new object of class 'Graph Pattern Reference'. + * + * + * @return a new object of class 'Graph Pattern Reference'. + * @generated + */ + GraphPatternReference createGraphPatternReference(); + + /** + * Returns a new object of class 'Graph Pattern'. + * + * + * @return a new object of class 'Graph Pattern'. + * @generated + */ + GraphPattern createGraphPattern(); + + /** + * Returns a new object of class 'Objective Specification'. + * + * + * @return a new object of class 'Objective Specification'. + * @generated + */ + ObjectiveSpecification createObjectiveSpecification(); + + /** + * Returns a new object of class 'Objective Entry'. + * + * + * @return a new object of class 'Objective Entry'. + * @generated + */ + ObjectiveEntry createObjectiveEntry(); + + /** + * Returns a new object of class 'Optimization Entry'. + * + * + * @return a new object of class 'Optimization Entry'. + * @generated + */ + OptimizationEntry createOptimizationEntry(); + + /** + * Returns a new object of class 'Threshold Entry'. + * + * + * @return a new object of class 'Threshold Entry'. + * @generated + */ + ThresholdEntry createThresholdEntry(); + + /** + * Returns a new object of class 'Objective Function'. + * + * + * @return a new object of class 'Objective Function'. + * @generated + */ + ObjectiveFunction createObjectiveFunction(); + + /** + * Returns a new object of class 'Reliabiltiy Function'. + * + * + * @return a new object of class 'Reliabiltiy Function'. + * @generated + */ + ReliabiltiyFunction createReliabiltiyFunction(); + + /** + * Returns a new object of class 'Objective Declaration'. + * + * + * @return a new object of class 'Objective Declaration'. + * @generated + */ + ObjectiveDeclaration createObjectiveDeclaration(); + + /** + * Returns a new object of class 'Objective Reference'. + * + * + * @return a new object of class 'Objective Reference'. + * @generated + */ + ObjectiveReference createObjectiveReference(); + + /** + * Returns a new object of class 'Objective'. + * + * + * @return a new object of class 'Objective'. + * @generated + */ + Objective createObjective(); + + /** + * Returns a new object of class 'Config Specification'. + * + * + * @return a new object of class 'Config Specification'. + * @generated + */ + ConfigSpecification createConfigSpecification(); + + /** + * Returns a new object of class 'Config Declaration'. + * + * + * @return a new object of class 'Config Declaration'. + * @generated + */ + ConfigDeclaration createConfigDeclaration(); + + /** + * Returns a new object of class 'Config Entry'. + * + * + * @return a new object of class 'Config Entry'. + * @generated + */ + ConfigEntry createConfigEntry(); + + /** + * Returns a new object of class 'Documentation Entry'. + * + * + * @return a new object of class 'Documentation Entry'. + * @generated + */ + DocumentationEntry createDocumentationEntry(); + + /** + * Returns a new object of class 'Runtime Entry'. + * + * + * @return a new object of class 'Runtime Entry'. + * @generated + */ + RuntimeEntry createRuntimeEntry(); + + /** + * Returns a new object of class 'Memory Entry'. + * + * + * @return a new object of class 'Memory Entry'. + * @generated + */ + MemoryEntry createMemoryEntry(); + + /** + * Returns a new object of class 'Custom Entry'. + * + * + * @return a new object of class 'Custom Entry'. + * @generated + */ + CustomEntry createCustomEntry(); + + /** + * Returns a new object of class 'Config Reference'. + * + * + * @return a new object of class 'Config Reference'. + * @generated + */ + ConfigReference createConfigReference(); + + /** + * Returns a new object of class 'Config'. + * + * + * @return a new object of class 'Config'. + * @generated + */ + Config createConfig(); + + /** + * Returns a new object of class 'Scope Specification'. + * + * + * @return a new object of class 'Scope Specification'. + * @generated + */ + ScopeSpecification createScopeSpecification(); + + /** + * Returns a new object of class 'Type Scope'. + * + * + * @return a new object of class 'Type Scope'. + * @generated + */ + TypeScope createTypeScope(); + + /** + * Returns a new object of class 'Class Type Scope'. + * + * + * @return a new object of class 'Class Type Scope'. + * @generated + */ + ClassTypeScope createClassTypeScope(); + + /** + * Returns a new object of class 'Object Type Scope'. + * + * + * @return a new object of class 'Object Type Scope'. + * @generated + */ + ObjectTypeScope createObjectTypeScope(); + + /** + * Returns a new object of class 'Integer Type Scope'. + * + * + * @return a new object of class 'Integer Type Scope'. + * @generated + */ + IntegerTypeScope createIntegerTypeScope(); + + /** + * Returns a new object of class 'Real Type Scope'. + * + * + * @return a new object of class 'Real Type Scope'. + * @generated + */ + RealTypeScope createRealTypeScope(); + + /** + * Returns a new object of class 'String Type Scope'. + * + * + * @return a new object of class 'String Type Scope'. + * @generated + */ + StringTypeScope createStringTypeScope(); + + /** + * Returns a new object of class 'Type Reference'. + * + * + * @return a new object of class 'Type Reference'. + * @generated + */ + TypeReference createTypeReference(); + + /** + * Returns a new object of class 'Class Reference'. + * + * + * @return a new object of class 'Class Reference'. + * @generated + */ + ClassReference createClassReference(); + + /** + * Returns a new object of class 'Object Reference'. + * + * + * @return a new object of class 'Object Reference'. + * @generated + */ + ObjectReference createObjectReference(); + + /** + * Returns a new object of class 'Integer Reference'. + * + * + * @return a new object of class 'Integer Reference'. + * @generated + */ + IntegerReference createIntegerReference(); + + /** + * Returns a new object of class 'Real Reference'. + * + * + * @return a new object of class 'Real Reference'. + * @generated + */ + RealReference createRealReference(); + + /** + * Returns a new object of class 'String Reference'. + * + * + * @return a new object of class 'String Reference'. + * @generated + */ + StringReference createStringReference(); + + /** + * Returns a new object of class 'Number Specification'. + * + * + * @return a new object of class 'Number Specification'. + * @generated + */ + NumberSpecification createNumberSpecification(); + + /** + * Returns a new object of class 'Exact Number'. + * + * + * @return a new object of class 'Exact Number'. + * @generated + */ + ExactNumber createExactNumber(); + + /** + * Returns a new object of class 'Intervall Number'. + * + * + * @return a new object of class 'Intervall Number'. + * @generated + */ + IntervallNumber createIntervallNumber(); + + /** + * Returns a new object of class 'Int Enumberation'. + * + * + * @return a new object of class 'Int Enumberation'. + * @generated + */ + IntEnumberation createIntEnumberation(); + + /** + * Returns a new object of class 'Real Enumeration'. + * + * + * @return a new object of class 'Real Enumeration'. + * @generated + */ + RealEnumeration createRealEnumeration(); + + /** + * Returns a new object of class 'String Enumeration'. + * + * + * @return a new object of class 'String Enumeration'. + * @generated + */ + StringEnumeration createStringEnumeration(); + + /** + * Returns a new object of class 'Scope Declaration'. + * + * + * @return a new object of class 'Scope Declaration'. + * @generated + */ + ScopeDeclaration createScopeDeclaration(); + + /** + * Returns a new object of class 'Scope Reference'. + * + * + * @return a new object of class 'Scope Reference'. + * @generated + */ + ScopeReference createScopeReference(); + + /** + * Returns a new object of class 'Scope'. + * + * + * @return a new object of class 'Scope'. + * @generated + */ + Scope createScope(); + + /** + * Returns a new object of class 'Task'. + * + * + * @return a new object of class 'Task'. + * @generated + */ + Task createTask(); + + /** + * Returns a new object of class 'Generation Task'. + * + * + * @return a new object of class 'Generation Task'. + * @generated + */ + GenerationTask createGenerationTask(); + + /** + * Returns a new object of class 'Integer Scope'. + * + * + * @return a new object of class 'Integer Scope'. + * @generated + */ + IntegerScope createIntegerScope(); + + /** + * Returns a new object of class 'Real Scope'. + * + * + * @return a new object of class 'Real Scope'. + * @generated + */ + RealScope createRealScope(); + + /** + * Returns a new object of class 'String Scope'. + * + * + * @return a new object of class 'String Scope'. + * @generated + */ + StringScope createStringScope(); + + /** + * Returns the package supported by this factory. + * + * + * @return the package supported by this factory. + * @generated + */ + ApplicationConfigurationPackage getApplicationConfigurationPackage(); + +} //ApplicationConfigurationFactory 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 794f56e5..a3af3bae 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 @@ -1,4907 +1,5692 @@ -/** - * generated by Xtext 2.12.0 - */ -package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; - -import org.eclipse.emf.ecore.EAttribute; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EEnum; -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.emf.ecore.EReference; - -/** - * - * The Package for the model. - * It contains accessors for the meta objects to represent - *
    - *
  • each class,
  • - *
  • each feature of each class,
  • - *
  • each enum,
  • - *
  • and each data type
  • - *
- * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationFactory - * @model kind="package" - * @generated - */ -public interface ApplicationConfigurationPackage extends EPackage -{ - /** - * The package name. - * - * - * @generated - */ - String eNAME = "applicationConfiguration"; - - /** - * The package namespace URI. - * - * - * @generated - */ - String eNS_URI = "http://www.bme.hu/mit/inf/dslreasoner/application/ApplicationConfiguration"; - - /** - * The package namespace name. - * - * - * @generated - */ - String eNS_PREFIX = "applicationConfiguration"; - - /** - * The singleton instance of the package. - * - * - * @generated - */ - ApplicationConfigurationPackage eINSTANCE = hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl.init(); - - /** - * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ConfigurationScriptImpl Configuration Script}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ConfigurationScriptImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getConfigurationScript() - * @generated - */ - int CONFIGURATION_SCRIPT = 0; - - /** - * The feature id for the 'Imports' containment reference list. - * - * - * @generated - * @ordered - */ - int CONFIGURATION_SCRIPT__IMPORTS = 0; - - /** - * The feature id for the 'Commands' containment reference list. - * - * - * @generated - * @ordered - */ - int CONFIGURATION_SCRIPT__COMMANDS = 1; - - /** - * The number of structural features of the 'Configuration Script' class. - * - * - * @generated - * @ordered - */ - int CONFIGURATION_SCRIPT_FEATURE_COUNT = 2; - - /** - * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.CommandImpl Command}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.CommandImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getCommand() - * @generated - */ - int COMMAND = 1; - - /** - * The number of structural features of the 'Command' class. - * - * - * @generated - * @ordered - */ - int COMMAND_FEATURE_COUNT = 0; - - /** - * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ImportImpl Import}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ImportImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getImport() - * @generated - */ - int IMPORT = 2; - - /** - * The number of structural features of the 'Import' class. - * - * - * @generated - * @ordered - */ - int IMPORT_FEATURE_COUNT = 0; - - /** - * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.EPackageImportImpl EPackage Import}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.EPackageImportImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getEPackageImport() - * @generated - */ - int EPACKAGE_IMPORT = 3; - - /** - * The feature id for the 'Imported Package' reference. - * - * - * @generated - * @ordered - */ - int EPACKAGE_IMPORT__IMPORTED_PACKAGE = IMPORT_FEATURE_COUNT + 0; - - /** - * The number of structural features of the 'EPackage Import' class. - * - * - * @generated - * @ordered - */ - int EPACKAGE_IMPORT_FEATURE_COUNT = IMPORT_FEATURE_COUNT + 1; - - /** - * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ViatraImportImpl Viatra Import}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ViatraImportImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getViatraImport() - * @generated - */ - int VIATRA_IMPORT = 4; - - /** - * The feature id for the 'Imported Viatra' reference. - * - * - * @generated - * @ordered - */ - int VIATRA_IMPORT__IMPORTED_VIATRA = IMPORT_FEATURE_COUNT + 0; - - /** - * The number of structural features of the 'Viatra Import' class. - * - * - * @generated - * @ordered - */ - int VIATRA_IMPORT_FEATURE_COUNT = IMPORT_FEATURE_COUNT + 1; - - /** - * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.DeclarationImpl Declaration}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.DeclarationImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getDeclaration() - * @generated - */ - int DECLARATION = 5; - - /** - * The feature id for the 'Name' attribute. - * - * - * @generated - * @ordered - */ - int DECLARATION__NAME = COMMAND_FEATURE_COUNT + 0; - - /** - * The number of structural features of the 'Declaration' class. - * - * - * @generated - * @ordered - */ - int DECLARATION_FEATURE_COUNT = COMMAND_FEATURE_COUNT + 1; - - /** - * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.FileImpl File}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.FileImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getFile() - * @generated - */ - int FILE = 9; - - /** - * The number of structural features of the 'File' class. - * - * - * @generated - * @ordered - */ - int FILE_FEATURE_COUNT = 0; - - /** - * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.FileSpecificationImpl File Specification}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.FileSpecificationImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getFileSpecification() - * @generated - */ - int FILE_SPECIFICATION = 6; - - /** - * The feature id for the 'Path' attribute. - * - * - * @generated - * @ordered - */ - int FILE_SPECIFICATION__PATH = FILE_FEATURE_COUNT + 0; - - /** - * The number of structural features of the 'File Specification' class. - * - * - * @generated - * @ordered - */ - int FILE_SPECIFICATION_FEATURE_COUNT = FILE_FEATURE_COUNT + 1; - - /** - * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.FileDeclarationImpl File Declaration}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.FileDeclarationImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getFileDeclaration() - * @generated - */ - int FILE_DECLARATION = 7; - - /** - * The feature id for the 'Name' attribute. - * - * - * @generated - * @ordered - */ - int FILE_DECLARATION__NAME = DECLARATION__NAME; - - /** - * The feature id for the 'Specification' containment reference. - * - * - * @generated - * @ordered - */ - int FILE_DECLARATION__SPECIFICATION = DECLARATION_FEATURE_COUNT + 0; - - /** - * The number of structural features of the 'File Declaration' class. - * - * - * @generated - * @ordered - */ - int FILE_DECLARATION_FEATURE_COUNT = DECLARATION_FEATURE_COUNT + 1; - - /** - * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.FileReferenceImpl File Reference}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.FileReferenceImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getFileReference() - * @generated - */ - int FILE_REFERENCE = 8; - - /** - * The feature id for the 'Referred' reference. - * - * - * @generated - * @ordered - */ - int FILE_REFERENCE__REFERRED = FILE_FEATURE_COUNT + 0; - - /** - * The number of structural features of the 'File Reference' class. - * - * - * @generated - * @ordered - */ - int FILE_REFERENCE_FEATURE_COUNT = FILE_FEATURE_COUNT + 1; - - /** - * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MetamodelImpl Metamodel}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MetamodelImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getMetamodel() - * @generated - */ - int METAMODEL = 16; - - /** - * The number of structural features of the 'Metamodel' class. - * - * - * @generated - * @ordered - */ - int METAMODEL_FEATURE_COUNT = 0; - - /** - * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MetamodelSpecificationImpl Metamodel Specification}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MetamodelSpecificationImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getMetamodelSpecification() - * @generated - */ - int METAMODEL_SPECIFICATION = 10; - - /** - * The feature id for the 'Entries' containment reference list. - * - * - * @generated - * @ordered - */ - int METAMODEL_SPECIFICATION__ENTRIES = METAMODEL_FEATURE_COUNT + 0; - - /** - * The number of structural features of the 'Metamodel Specification' class. - * - * - * @generated - * @ordered - */ - int METAMODEL_SPECIFICATION_FEATURE_COUNT = METAMODEL_FEATURE_COUNT + 1; - - /** - * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MetamodelEntryImpl Metamodel Entry}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MetamodelEntryImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getMetamodelEntry() - * @generated - */ - int METAMODEL_ENTRY = 11; - - /** - * The feature id for the 'Package' reference. - * - * - * @generated - * @ordered - */ - int METAMODEL_ENTRY__PACKAGE = 0; - - /** - * The number of structural features of the 'Metamodel Entry' class. - * - * - * @generated - * @ordered - */ - int METAMODEL_ENTRY_FEATURE_COUNT = 1; - - /** - * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.AllPackageEntryImpl All Package Entry}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.AllPackageEntryImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getAllPackageEntry() - * @generated - */ - int ALL_PACKAGE_ENTRY = 12; - - /** - * The feature id for the 'Package' reference. - * - * - * @generated - * @ordered - */ - int ALL_PACKAGE_ENTRY__PACKAGE = METAMODEL_ENTRY__PACKAGE; - - /** - * The feature id for the 'Exclusion' containment reference list. - * - * - * @generated - * @ordered - */ - int ALL_PACKAGE_ENTRY__EXCLUSION = METAMODEL_ENTRY_FEATURE_COUNT + 0; - - /** - * The number of structural features of the 'All Package Entry' class. - * - * - * @generated - * @ordered - */ - int ALL_PACKAGE_ENTRY_FEATURE_COUNT = METAMODEL_ENTRY_FEATURE_COUNT + 1; - - /** - * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MetamodelElementImpl Metamodel Element}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MetamodelElementImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getMetamodelElement() - * @generated - */ - int METAMODEL_ELEMENT = 13; - - /** - * The feature id for the 'Package' reference. - * - * - * @generated - * @ordered - */ - int METAMODEL_ELEMENT__PACKAGE = METAMODEL_ENTRY__PACKAGE; - - /** - * The feature id for the 'Classifier' reference. - * - * - * @generated - * @ordered - */ - int METAMODEL_ELEMENT__CLASSIFIER = METAMODEL_ENTRY_FEATURE_COUNT + 0; - - /** - * The feature id for the 'Feature' reference. - * - * - * @generated - * @ordered - */ - int METAMODEL_ELEMENT__FEATURE = METAMODEL_ENTRY_FEATURE_COUNT + 1; - - /** - * The number of structural features of the 'Metamodel Element' class. - * - * - * @generated - * @ordered - */ - int METAMODEL_ELEMENT_FEATURE_COUNT = METAMODEL_ENTRY_FEATURE_COUNT + 2; - - /** - * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MetamodelDeclarationImpl Metamodel Declaration}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MetamodelDeclarationImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getMetamodelDeclaration() - * @generated - */ - int METAMODEL_DECLARATION = 14; - - /** - * The feature id for the 'Name' attribute. - * - * - * @generated - * @ordered - */ - int METAMODEL_DECLARATION__NAME = DECLARATION__NAME; - - /** - * The feature id for the 'Specification' containment reference. - * - * - * @generated - * @ordered - */ - int METAMODEL_DECLARATION__SPECIFICATION = DECLARATION_FEATURE_COUNT + 0; - - /** - * The number of structural features of the 'Metamodel Declaration' class. - * - * - * @generated - * @ordered - */ - int METAMODEL_DECLARATION_FEATURE_COUNT = DECLARATION_FEATURE_COUNT + 1; - - /** - * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MetamodelReferenceImpl Metamodel Reference}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MetamodelReferenceImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getMetamodelReference() - * @generated - */ - int METAMODEL_REFERENCE = 15; - - /** - * The feature id for the 'Referred' reference. - * - * - * @generated - * @ordered - */ - int METAMODEL_REFERENCE__REFERRED = METAMODEL_FEATURE_COUNT + 0; - - /** - * The number of structural features of the 'Metamodel Reference' class. - * - * - * @generated - * @ordered - */ - int METAMODEL_REFERENCE_FEATURE_COUNT = METAMODEL_FEATURE_COUNT + 1; - - /** - * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.PartialModelImpl Partial Model}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.PartialModelImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getPartialModel() - * @generated - */ - int PARTIAL_MODEL = 23; - - /** - * The number of structural features of the 'Partial Model' class. - * - * - * @generated - * @ordered - */ - int PARTIAL_MODEL_FEATURE_COUNT = 0; - - /** - * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.PartialModelSpecificationImpl Partial Model Specification}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.PartialModelSpecificationImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getPartialModelSpecification() - * @generated - */ - int PARTIAL_MODEL_SPECIFICATION = 17; - - /** - * The feature id for the 'Entry' containment reference list. - * - * - * @generated - * @ordered - */ - int PARTIAL_MODEL_SPECIFICATION__ENTRY = PARTIAL_MODEL_FEATURE_COUNT + 0; - - /** - * The number of structural features of the 'Partial Model Specification' class. - * - * - * @generated - * @ordered - */ - int PARTIAL_MODEL_SPECIFICATION_FEATURE_COUNT = PARTIAL_MODEL_FEATURE_COUNT + 1; - - /** - * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.PartialModelEntryImpl Partial Model Entry}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.PartialModelEntryImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getPartialModelEntry() - * @generated - */ - int PARTIAL_MODEL_ENTRY = 18; - - /** - * The feature id for the 'Path' containment reference. - * - * - * @generated - * @ordered - */ - int PARTIAL_MODEL_ENTRY__PATH = 0; - - /** - * The number of structural features of the 'Partial Model Entry' class. - * - * - * @generated - * @ordered - */ - int PARTIAL_MODEL_ENTRY_FEATURE_COUNT = 1; - - /** - * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ModelEntryImpl Model Entry}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ModelEntryImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getModelEntry() - * @generated - */ - int MODEL_ENTRY = 19; - - /** - * The feature id for the 'Path' containment reference. - * - * - * @generated - * @ordered - */ - int MODEL_ENTRY__PATH = PARTIAL_MODEL_ENTRY__PATH; - - /** - * The number of structural features of the 'Model Entry' class. - * - * - * @generated - * @ordered - */ - int MODEL_ENTRY_FEATURE_COUNT = PARTIAL_MODEL_ENTRY_FEATURE_COUNT + 0; - - /** - * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.FolderEntryImpl Folder Entry}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.FolderEntryImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getFolderEntry() - * @generated - */ - int FOLDER_ENTRY = 20; - - /** - * The feature id for the 'Path' containment reference. - * - * - * @generated - * @ordered - */ - int FOLDER_ENTRY__PATH = PARTIAL_MODEL_ENTRY__PATH; - - /** - * The feature id for the 'Exclusion' containment reference list. - * - * - * @generated - * @ordered - */ - int FOLDER_ENTRY__EXCLUSION = PARTIAL_MODEL_ENTRY_FEATURE_COUNT + 0; - - /** - * The number of structural features of the 'Folder Entry' class. - * - * - * @generated - * @ordered - */ - int FOLDER_ENTRY_FEATURE_COUNT = PARTIAL_MODEL_ENTRY_FEATURE_COUNT + 1; - - /** - * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.PartialModelDeclarationImpl Partial Model Declaration}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.PartialModelDeclarationImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getPartialModelDeclaration() - * @generated - */ - int PARTIAL_MODEL_DECLARATION = 21; - - /** - * The feature id for the 'Name' attribute. - * - * - * @generated - * @ordered - */ - int PARTIAL_MODEL_DECLARATION__NAME = DECLARATION__NAME; - - /** - * The feature id for the 'Specification' containment reference. - * - * - * @generated - * @ordered - */ - int PARTIAL_MODEL_DECLARATION__SPECIFICATION = DECLARATION_FEATURE_COUNT + 0; - - /** - * The number of structural features of the 'Partial Model Declaration' class. - * - * - * @generated - * @ordered - */ - int PARTIAL_MODEL_DECLARATION_FEATURE_COUNT = DECLARATION_FEATURE_COUNT + 1; - - /** - * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.PartialModelReferenceImpl Partial Model Reference}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.PartialModelReferenceImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getPartialModelReference() - * @generated - */ - int PARTIAL_MODEL_REFERENCE = 22; - - /** - * The feature id for the 'Referred' reference. - * - * - * @generated - * @ordered - */ - int PARTIAL_MODEL_REFERENCE__REFERRED = PARTIAL_MODEL_FEATURE_COUNT + 0; - - /** - * The number of structural features of the 'Partial Model Reference' class. - * - * - * @generated - * @ordered - */ - int PARTIAL_MODEL_REFERENCE_FEATURE_COUNT = PARTIAL_MODEL_FEATURE_COUNT + 1; - - /** - * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.GraphPatternImpl Graph Pattern}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.GraphPatternImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getGraphPattern() - * @generated - */ - int GRAPH_PATTERN = 30; - - /** - * The number of structural features of the 'Graph Pattern' class. - * - * - * @generated - * @ordered - */ - int GRAPH_PATTERN_FEATURE_COUNT = 0; - - /** - * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.PatternSpecificationImpl Pattern Specification}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.PatternSpecificationImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getPatternSpecification() - * @generated - */ - int PATTERN_SPECIFICATION = 24; - - /** - * The feature id for the 'Entries' containment reference list. - * - * - * @generated - * @ordered - */ - int PATTERN_SPECIFICATION__ENTRIES = GRAPH_PATTERN_FEATURE_COUNT + 0; - - /** - * The number of structural features of the 'Pattern Specification' class. - * - * - * @generated - * @ordered - */ - int PATTERN_SPECIFICATION_FEATURE_COUNT = GRAPH_PATTERN_FEATURE_COUNT + 1; - - /** - * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.PatternEntryImpl Pattern Entry}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.PatternEntryImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getPatternEntry() - * @generated - */ - int PATTERN_ENTRY = 25; - - /** - * The feature id for the 'Package' reference. - * - * - * @generated - * @ordered - */ - int PATTERN_ENTRY__PACKAGE = 0; - - /** - * The number of structural features of the 'Pattern Entry' class. - * - * - * @generated - * @ordered - */ - int PATTERN_ENTRY_FEATURE_COUNT = 1; - - /** - * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.AllPatternEntryImpl All Pattern Entry}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.AllPatternEntryImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getAllPatternEntry() - * @generated - */ - int ALL_PATTERN_ENTRY = 26; - - /** - * The feature id for the 'Package' reference. - * - * - * @generated - * @ordered - */ - int ALL_PATTERN_ENTRY__PACKAGE = PATTERN_ENTRY__PACKAGE; - - /** - * The feature id for the 'Exclusuion' containment reference list. - * - * - * @generated - * @ordered - */ - int ALL_PATTERN_ENTRY__EXCLUSUION = PATTERN_ENTRY_FEATURE_COUNT + 0; - - /** - * The number of structural features of the 'All Pattern Entry' class. - * - * - * @generated - * @ordered - */ - int ALL_PATTERN_ENTRY_FEATURE_COUNT = PATTERN_ENTRY_FEATURE_COUNT + 1; - - /** - * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.PatternElementImpl Pattern Element}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.PatternElementImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getPatternElement() - * @generated - */ - int PATTERN_ELEMENT = 27; - - /** - * The feature id for the 'Package' reference. - * - * - * @generated - * @ordered - */ - int PATTERN_ELEMENT__PACKAGE = PATTERN_ENTRY__PACKAGE; - - /** - * The feature id for the 'Pattern' reference. - * - * - * @generated - * @ordered - */ - int PATTERN_ELEMENT__PATTERN = PATTERN_ENTRY_FEATURE_COUNT + 0; - - /** - * The number of structural features of the 'Pattern Element' class. - * - * - * @generated - * @ordered - */ - int PATTERN_ELEMENT_FEATURE_COUNT = PATTERN_ENTRY_FEATURE_COUNT + 1; - - /** - * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.GraphPatternDeclarationImpl Graph Pattern Declaration}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.GraphPatternDeclarationImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getGraphPatternDeclaration() - * @generated - */ - int GRAPH_PATTERN_DECLARATION = 28; - - /** - * The feature id for the 'Name' attribute. - * - * - * @generated - * @ordered - */ - int GRAPH_PATTERN_DECLARATION__NAME = DECLARATION__NAME; - - /** - * The feature id for the 'Specification' containment reference. - * - * - * @generated - * @ordered - */ - int GRAPH_PATTERN_DECLARATION__SPECIFICATION = DECLARATION_FEATURE_COUNT + 0; - - /** - * The number of structural features of the 'Graph Pattern Declaration' class. - * - * - * @generated - * @ordered - */ - int GRAPH_PATTERN_DECLARATION_FEATURE_COUNT = DECLARATION_FEATURE_COUNT + 1; - - /** - * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.GraphPatternReferenceImpl Graph Pattern Reference}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.GraphPatternReferenceImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getGraphPatternReference() - * @generated - */ - int GRAPH_PATTERN_REFERENCE = 29; - - /** - * The feature id for the 'Referred' reference. - * - * - * @generated - * @ordered - */ - int GRAPH_PATTERN_REFERENCE__REFERRED = GRAPH_PATTERN_FEATURE_COUNT + 0; - - /** - * The number of structural features of the 'Graph Pattern Reference' class. - * - * - * @generated - * @ordered - */ - int GRAPH_PATTERN_REFERENCE_FEATURE_COUNT = GRAPH_PATTERN_FEATURE_COUNT + 1; - - /** - * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ConfigImpl Config}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ConfigImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getConfig() - * @generated - */ - int CONFIG = 39; - - /** - * The number of structural features of the 'Config' class. - * - * - * @generated - * @ordered - */ - int CONFIG_FEATURE_COUNT = 0; - - /** - * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ConfigSpecificationImpl Config Specification}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ConfigSpecificationImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getConfigSpecification() - * @generated - */ - int CONFIG_SPECIFICATION = 31; - - /** - * The feature id for the 'Entries' containment reference list. - * - * - * @generated - * @ordered - */ - int CONFIG_SPECIFICATION__ENTRIES = CONFIG_FEATURE_COUNT + 0; - - /** - * The number of structural features of the 'Config Specification' class. - * - * - * @generated - * @ordered - */ - int CONFIG_SPECIFICATION_FEATURE_COUNT = CONFIG_FEATURE_COUNT + 1; - - /** - * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ConfigDeclarationImpl Config Declaration}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ConfigDeclarationImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getConfigDeclaration() - * @generated - */ - int CONFIG_DECLARATION = 32; - - /** - * The feature id for the 'Name' attribute. - * - * - * @generated - * @ordered - */ - int CONFIG_DECLARATION__NAME = DECLARATION__NAME; - - /** - * The feature id for the 'Specification' containment reference. - * - * - * @generated - * @ordered - */ - int CONFIG_DECLARATION__SPECIFICATION = DECLARATION_FEATURE_COUNT + 0; - - /** - * The number of structural features of the 'Config Declaration' class. - * - * - * @generated - * @ordered - */ - int CONFIG_DECLARATION_FEATURE_COUNT = DECLARATION_FEATURE_COUNT + 1; - - /** - * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ConfigEntryImpl Config Entry}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ConfigEntryImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getConfigEntry() - * @generated - */ - int CONFIG_ENTRY = 33; - - /** - * The number of structural features of the 'Config Entry' class. - * - * - * @generated - * @ordered - */ - int CONFIG_ENTRY_FEATURE_COUNT = 0; - - /** - * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.DocumentationEntryImpl Documentation Entry}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.DocumentationEntryImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getDocumentationEntry() - * @generated - */ - int DOCUMENTATION_ENTRY = 34; - - /** - * The feature id for the 'Level' attribute. - * - * - * @generated - * @ordered - */ - int DOCUMENTATION_ENTRY__LEVEL = CONFIG_ENTRY_FEATURE_COUNT + 0; - - /** - * The number of structural features of the 'Documentation Entry' class. - * - * - * @generated - * @ordered - */ - int DOCUMENTATION_ENTRY_FEATURE_COUNT = CONFIG_ENTRY_FEATURE_COUNT + 1; - - /** - * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.RuntimeEntryImpl Runtime Entry}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.RuntimeEntryImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getRuntimeEntry() - * @generated - */ - int RUNTIME_ENTRY = 35; - - /** - * The feature id for the 'Millisec Limit' attribute. - * - * - * @generated - * @ordered - */ - int RUNTIME_ENTRY__MILLISEC_LIMIT = CONFIG_ENTRY_FEATURE_COUNT + 0; - - /** - * The number of structural features of the 'Runtime Entry' class. - * - * - * @generated - * @ordered - */ - int RUNTIME_ENTRY_FEATURE_COUNT = CONFIG_ENTRY_FEATURE_COUNT + 1; - - /** - * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MemoryEntryImpl Memory Entry}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MemoryEntryImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getMemoryEntry() - * @generated - */ - int MEMORY_ENTRY = 36; - - /** - * The feature id for the 'Megabyte Limit' attribute. - * - * - * @generated - * @ordered - */ - int MEMORY_ENTRY__MEGABYTE_LIMIT = CONFIG_ENTRY_FEATURE_COUNT + 0; - - /** - * The number of structural features of the 'Memory Entry' class. - * - * - * @generated - * @ordered - */ - int MEMORY_ENTRY_FEATURE_COUNT = CONFIG_ENTRY_FEATURE_COUNT + 1; - - /** - * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.CustomEntryImpl Custom Entry}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.CustomEntryImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getCustomEntry() - * @generated - */ - int CUSTOM_ENTRY = 37; - - /** - * The feature id for the 'Key' attribute. - * - * - * @generated - * @ordered - */ - int CUSTOM_ENTRY__KEY = CONFIG_ENTRY_FEATURE_COUNT + 0; - - /** - * The feature id for the 'Value' attribute. - * - * - * @generated - * @ordered - */ - int CUSTOM_ENTRY__VALUE = CONFIG_ENTRY_FEATURE_COUNT + 1; - - /** - * The number of structural features of the 'Custom Entry' class. - * - * - * @generated - * @ordered - */ - int CUSTOM_ENTRY_FEATURE_COUNT = CONFIG_ENTRY_FEATURE_COUNT + 2; - - /** - * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ConfigReferenceImpl Config Reference}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ConfigReferenceImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getConfigReference() - * @generated - */ - int CONFIG_REFERENCE = 38; - - /** - * The feature id for the 'Config' reference. - * - * - * @generated - * @ordered - */ - int CONFIG_REFERENCE__CONFIG = CONFIG_FEATURE_COUNT + 0; - - /** - * The number of structural features of the 'Config Reference' class. - * - * - * @generated - * @ordered - */ - int CONFIG_REFERENCE_FEATURE_COUNT = CONFIG_FEATURE_COUNT + 1; - - /** - * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ScopeImpl Scope}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ScopeImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getScope() - * @generated - */ - int SCOPE = 61; - - /** - * The number of structural features of the 'Scope' class. - * - * - * @generated - * @ordered - */ - int SCOPE_FEATURE_COUNT = 0; - - /** - * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ScopeSpecificationImpl Scope Specification}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ScopeSpecificationImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getScopeSpecification() - * @generated - */ - int SCOPE_SPECIFICATION = 40; - - /** - * The feature id for the 'Scopes' containment reference list. - * - * - * @generated - * @ordered - */ - int SCOPE_SPECIFICATION__SCOPES = SCOPE_FEATURE_COUNT + 0; - - /** - * The number of structural features of the 'Scope Specification' class. - * - * - * @generated - * @ordered - */ - int SCOPE_SPECIFICATION_FEATURE_COUNT = SCOPE_FEATURE_COUNT + 1; - - /** - * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.TypeScopeImpl Type Scope}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.TypeScopeImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getTypeScope() - * @generated - */ - int TYPE_SCOPE = 41; - - /** - * The feature id for the 'Sets New' attribute. - * - * - * @generated - * @ordered - */ - int TYPE_SCOPE__SETS_NEW = 0; - - /** - * The feature id for the 'Sets Sum' attribute. - * - * - * @generated - * @ordered - */ - int TYPE_SCOPE__SETS_SUM = 1; - - /** - * The feature id for the 'Number' containment reference. - * - * - * @generated - * @ordered - */ - int TYPE_SCOPE__NUMBER = 2; - - /** - * The number of structural features of the 'Type Scope' class. - * - * - * @generated - * @ordered - */ - int TYPE_SCOPE_FEATURE_COUNT = 3; - - /** - * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ClassTypeScopeImpl Class Type Scope}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ClassTypeScopeImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getClassTypeScope() - * @generated - */ - int CLASS_TYPE_SCOPE = 42; - - /** - * The feature id for the 'Sets New' attribute. - * - * - * @generated - * @ordered - */ - int CLASS_TYPE_SCOPE__SETS_NEW = TYPE_SCOPE__SETS_NEW; - - /** - * The feature id for the 'Sets Sum' attribute. - * - * - * @generated - * @ordered - */ - int CLASS_TYPE_SCOPE__SETS_SUM = TYPE_SCOPE__SETS_SUM; - - /** - * The feature id for the 'Number' containment reference. - * - * - * @generated - * @ordered - */ - int CLASS_TYPE_SCOPE__NUMBER = TYPE_SCOPE__NUMBER; - - /** - * The feature id for the 'Type' containment reference. - * - * - * @generated - * @ordered - */ - int CLASS_TYPE_SCOPE__TYPE = TYPE_SCOPE_FEATURE_COUNT + 0; - - /** - * The number of structural features of the 'Class Type Scope' class. - * - * - * @generated - * @ordered - */ - int CLASS_TYPE_SCOPE_FEATURE_COUNT = TYPE_SCOPE_FEATURE_COUNT + 1; - - /** - * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ObjectTypeScopeImpl Object Type Scope}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ObjectTypeScopeImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getObjectTypeScope() - * @generated - */ - int OBJECT_TYPE_SCOPE = 43; - - /** - * The feature id for the 'Sets New' attribute. - * - * - * @generated - * @ordered - */ - int OBJECT_TYPE_SCOPE__SETS_NEW = TYPE_SCOPE__SETS_NEW; - - /** - * The feature id for the 'Sets Sum' attribute. - * - * - * @generated - * @ordered - */ - int OBJECT_TYPE_SCOPE__SETS_SUM = TYPE_SCOPE__SETS_SUM; - - /** - * The feature id for the 'Number' containment reference. - * - * - * @generated - * @ordered - */ - int OBJECT_TYPE_SCOPE__NUMBER = TYPE_SCOPE__NUMBER; - - /** - * The feature id for the 'Type' containment reference. - * - * - * @generated - * @ordered - */ - int OBJECT_TYPE_SCOPE__TYPE = TYPE_SCOPE_FEATURE_COUNT + 0; - - /** - * The number of structural features of the 'Object Type Scope' class. - * - * - * @generated - * @ordered - */ - int OBJECT_TYPE_SCOPE_FEATURE_COUNT = TYPE_SCOPE_FEATURE_COUNT + 1; - - /** - * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.IntegerTypeScopeImpl Integer Type Scope}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.IntegerTypeScopeImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getIntegerTypeScope() - * @generated - */ - int INTEGER_TYPE_SCOPE = 44; - - /** - * The feature id for the 'Sets New' attribute. - * - * - * @generated - * @ordered - */ - int INTEGER_TYPE_SCOPE__SETS_NEW = TYPE_SCOPE__SETS_NEW; - - /** - * The feature id for the 'Sets Sum' attribute. - * - * - * @generated - * @ordered - */ - int INTEGER_TYPE_SCOPE__SETS_SUM = TYPE_SCOPE__SETS_SUM; - - /** - * The feature id for the 'Number' containment reference. - * - * - * @generated - * @ordered - */ - int INTEGER_TYPE_SCOPE__NUMBER = TYPE_SCOPE__NUMBER; - - /** - * The feature id for the 'Type' containment reference. - * - * - * @generated - * @ordered - */ - int INTEGER_TYPE_SCOPE__TYPE = TYPE_SCOPE_FEATURE_COUNT + 0; - - /** - * The number of structural features of the 'Integer Type Scope' class. - * - * - * @generated - * @ordered - */ - int INTEGER_TYPE_SCOPE_FEATURE_COUNT = TYPE_SCOPE_FEATURE_COUNT + 1; - - /** - * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.RealTypeScopeImpl Real Type Scope}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.RealTypeScopeImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getRealTypeScope() - * @generated - */ - int REAL_TYPE_SCOPE = 45; - - /** - * The feature id for the 'Sets New' attribute. - * - * - * @generated - * @ordered - */ - int REAL_TYPE_SCOPE__SETS_NEW = TYPE_SCOPE__SETS_NEW; - - /** - * The feature id for the 'Sets Sum' attribute. - * - * - * @generated - * @ordered - */ - int REAL_TYPE_SCOPE__SETS_SUM = TYPE_SCOPE__SETS_SUM; - - /** - * The feature id for the 'Number' containment reference. - * - * - * @generated - * @ordered - */ - int REAL_TYPE_SCOPE__NUMBER = TYPE_SCOPE__NUMBER; - - /** - * The feature id for the 'Type' containment reference. - * - * - * @generated - * @ordered - */ - int REAL_TYPE_SCOPE__TYPE = TYPE_SCOPE_FEATURE_COUNT + 0; - - /** - * The number of structural features of the 'Real Type Scope' class. - * - * - * @generated - * @ordered - */ - int REAL_TYPE_SCOPE_FEATURE_COUNT = TYPE_SCOPE_FEATURE_COUNT + 1; - - /** - * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.StringTypeScopeImpl String Type Scope}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.StringTypeScopeImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getStringTypeScope() - * @generated - */ - int STRING_TYPE_SCOPE = 46; - - /** - * The feature id for the 'Sets New' attribute. - * - * - * @generated - * @ordered - */ - int STRING_TYPE_SCOPE__SETS_NEW = TYPE_SCOPE__SETS_NEW; - - /** - * The feature id for the 'Sets Sum' attribute. - * - * - * @generated - * @ordered - */ - int STRING_TYPE_SCOPE__SETS_SUM = TYPE_SCOPE__SETS_SUM; - - /** - * The feature id for the 'Number' containment reference. - * - * - * @generated - * @ordered - */ - int STRING_TYPE_SCOPE__NUMBER = TYPE_SCOPE__NUMBER; - - /** - * The feature id for the 'Type' containment reference. - * - * - * @generated - * @ordered - */ - int STRING_TYPE_SCOPE__TYPE = TYPE_SCOPE_FEATURE_COUNT + 0; - - /** - * The number of structural features of the 'String Type Scope' class. - * - * - * @generated - * @ordered - */ - int STRING_TYPE_SCOPE_FEATURE_COUNT = TYPE_SCOPE_FEATURE_COUNT + 1; - - /** - * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.TypeReferenceImpl Type Reference}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.TypeReferenceImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getTypeReference() - * @generated - */ - int TYPE_REFERENCE = 47; - - /** - * The number of structural features of the 'Type Reference' class. - * - * - * @generated - * @ordered - */ - int TYPE_REFERENCE_FEATURE_COUNT = 0; - - /** - * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ClassReferenceImpl Class Reference}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ClassReferenceImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getClassReference() - * @generated - */ - int CLASS_REFERENCE = 48; - - /** - * The feature id for the 'Element' containment reference. - * - * - * @generated - * @ordered - */ - int CLASS_REFERENCE__ELEMENT = TYPE_REFERENCE_FEATURE_COUNT + 0; - - /** - * The number of structural features of the 'Class Reference' class. - * - * - * @generated - * @ordered - */ - int CLASS_REFERENCE_FEATURE_COUNT = TYPE_REFERENCE_FEATURE_COUNT + 1; - - /** - * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ObjectReferenceImpl Object Reference}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ObjectReferenceImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getObjectReference() - * @generated - */ - int OBJECT_REFERENCE = 49; - - /** - * The number of structural features of the 'Object Reference' class. - * - * - * @generated - * @ordered - */ - int OBJECT_REFERENCE_FEATURE_COUNT = TYPE_REFERENCE_FEATURE_COUNT + 0; - - /** - * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.IntegerReferenceImpl Integer Reference}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.IntegerReferenceImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getIntegerReference() - * @generated - */ - int INTEGER_REFERENCE = 50; - - /** - * The number of structural features of the 'Integer Reference' class. - * - * - * @generated - * @ordered - */ - int INTEGER_REFERENCE_FEATURE_COUNT = TYPE_REFERENCE_FEATURE_COUNT + 0; - - /** - * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.RealReferenceImpl Real Reference}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.RealReferenceImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getRealReference() - * @generated - */ - int REAL_REFERENCE = 51; - - /** - * The number of structural features of the 'Real Reference' class. - * - * - * @generated - * @ordered - */ - int REAL_REFERENCE_FEATURE_COUNT = TYPE_REFERENCE_FEATURE_COUNT + 0; - - /** - * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.StringReferenceImpl String Reference}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.StringReferenceImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getStringReference() - * @generated - */ - int STRING_REFERENCE = 52; - - /** - * The number of structural features of the 'String Reference' class. - * - * - * @generated - * @ordered - */ - int STRING_REFERENCE_FEATURE_COUNT = TYPE_REFERENCE_FEATURE_COUNT + 0; - - /** - * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.NumberSpecificationImpl Number Specification}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.NumberSpecificationImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getNumberSpecification() - * @generated - */ - int NUMBER_SPECIFICATION = 53; - - /** - * The number of structural features of the 'Number Specification' class. - * - * - * @generated - * @ordered - */ - int NUMBER_SPECIFICATION_FEATURE_COUNT = 0; - - /** - * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ExactNumberImpl Exact Number}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ExactNumberImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getExactNumber() - * @generated - */ - int EXACT_NUMBER = 54; - - /** - * The feature id for the 'Exact Number' attribute. - * - * - * @generated - * @ordered - */ - int EXACT_NUMBER__EXACT_NUMBER = NUMBER_SPECIFICATION_FEATURE_COUNT + 0; - - /** - * The feature id for the 'Exact Unlimited' attribute. - * - * - * @generated - * @ordered - */ - int EXACT_NUMBER__EXACT_UNLIMITED = NUMBER_SPECIFICATION_FEATURE_COUNT + 1; - - /** - * The number of structural features of the 'Exact Number' class. - * - * - * @generated - * @ordered - */ - int EXACT_NUMBER_FEATURE_COUNT = NUMBER_SPECIFICATION_FEATURE_COUNT + 2; - - /** - * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.IntervallNumberImpl Intervall Number}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.IntervallNumberImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getIntervallNumber() - * @generated - */ - int INTERVALL_NUMBER = 55; - - /** - * The feature id for the 'Min' attribute. - * - * - * @generated - * @ordered - */ - int INTERVALL_NUMBER__MIN = NUMBER_SPECIFICATION_FEATURE_COUNT + 0; - - /** - * The feature id for the 'Max Number' attribute. - * - * - * @generated - * @ordered - */ - int INTERVALL_NUMBER__MAX_NUMBER = NUMBER_SPECIFICATION_FEATURE_COUNT + 1; - - /** - * The feature id for the 'Max Unlimited' attribute. - * - * - * @generated - * @ordered - */ - int INTERVALL_NUMBER__MAX_UNLIMITED = NUMBER_SPECIFICATION_FEATURE_COUNT + 2; - - /** - * The number of structural features of the 'Intervall Number' class. - * - * - * @generated - * @ordered - */ - int INTERVALL_NUMBER_FEATURE_COUNT = NUMBER_SPECIFICATION_FEATURE_COUNT + 3; - - /** - * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.IntEnumberationImpl Int Enumberation}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.IntEnumberationImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getIntEnumberation() - * @generated - */ - int INT_ENUMBERATION = 56; - - /** - * The feature id for the 'Entry' attribute list. - * - * - * @generated - * @ordered - */ - int INT_ENUMBERATION__ENTRY = NUMBER_SPECIFICATION_FEATURE_COUNT + 0; - - /** - * The number of structural features of the 'Int Enumberation' class. - * - * - * @generated - * @ordered - */ - int INT_ENUMBERATION_FEATURE_COUNT = NUMBER_SPECIFICATION_FEATURE_COUNT + 1; - - /** - * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.RealEnumerationImpl Real Enumeration}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.RealEnumerationImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getRealEnumeration() - * @generated - */ - int REAL_ENUMERATION = 57; - - /** - * The feature id for the 'Entry' attribute list. - * - * - * @generated - * @ordered - */ - int REAL_ENUMERATION__ENTRY = NUMBER_SPECIFICATION_FEATURE_COUNT + 0; - - /** - * The number of structural features of the 'Real Enumeration' class. - * - * - * @generated - * @ordered - */ - int REAL_ENUMERATION_FEATURE_COUNT = NUMBER_SPECIFICATION_FEATURE_COUNT + 1; - - /** - * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.StringEnumerationImpl String Enumeration}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.StringEnumerationImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getStringEnumeration() - * @generated - */ - int STRING_ENUMERATION = 58; - - /** - * The feature id for the 'Entry' attribute list. - * - * - * @generated - * @ordered - */ - int STRING_ENUMERATION__ENTRY = NUMBER_SPECIFICATION_FEATURE_COUNT + 0; - - /** - * The number of structural features of the 'String Enumeration' class. - * - * - * @generated - * @ordered - */ - int STRING_ENUMERATION_FEATURE_COUNT = NUMBER_SPECIFICATION_FEATURE_COUNT + 1; - - /** - * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ScopeDeclarationImpl Scope Declaration}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ScopeDeclarationImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getScopeDeclaration() - * @generated - */ - int SCOPE_DECLARATION = 59; - - /** - * The feature id for the 'Name' attribute. - * - * - * @generated - * @ordered - */ - int SCOPE_DECLARATION__NAME = DECLARATION__NAME; - - /** - * The feature id for the 'Specification' containment reference. - * - * - * @generated - * @ordered - */ - int SCOPE_DECLARATION__SPECIFICATION = DECLARATION_FEATURE_COUNT + 0; - - /** - * The number of structural features of the 'Scope Declaration' class. - * - * - * @generated - * @ordered - */ - int SCOPE_DECLARATION_FEATURE_COUNT = DECLARATION_FEATURE_COUNT + 1; - - /** - * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ScopeReferenceImpl Scope Reference}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ScopeReferenceImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getScopeReference() - * @generated - */ - int SCOPE_REFERENCE = 60; - - /** - * The feature id for the 'Referred' reference. - * - * - * @generated - * @ordered - */ - int SCOPE_REFERENCE__REFERRED = SCOPE_FEATURE_COUNT + 0; - - /** - * The number of structural features of the 'Scope Reference' class. - * - * - * @generated - * @ordered - */ - int SCOPE_REFERENCE_FEATURE_COUNT = SCOPE_FEATURE_COUNT + 1; - - /** - * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.TaskImpl Task}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.TaskImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getTask() - * @generated - */ - int TASK = 62; - - /** - * The number of structural features of the 'Task' class. - * - * - * @generated - * @ordered - */ - int TASK_FEATURE_COUNT = COMMAND_FEATURE_COUNT + 0; - - /** - * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.GenerationTaskImpl Generation Task}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.GenerationTaskImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getGenerationTask() - * @generated - */ - int GENERATION_TASK = 63; - - /** - * The feature id for the 'Metamodel' containment reference. - * - * - * @generated - * @ordered - */ - int GENERATION_TASK__METAMODEL = TASK_FEATURE_COUNT + 0; - - /** - * The feature id for the 'Partial Model' containment reference. - * - * - * @generated - * @ordered - */ - int GENERATION_TASK__PARTIAL_MODEL = TASK_FEATURE_COUNT + 1; - - /** - * The feature id for the 'Patterns' containment reference. - * - * - * @generated - * @ordered - */ - int GENERATION_TASK__PATTERNS = TASK_FEATURE_COUNT + 2; - - /** - * The feature id for the 'Scope' containment reference. - * - * - * @generated - * @ordered - */ - int GENERATION_TASK__SCOPE = TASK_FEATURE_COUNT + 3; - - /** - * The feature id for the 'Number Specified' attribute. - * - * - * @generated - * @ordered - */ - int GENERATION_TASK__NUMBER_SPECIFIED = TASK_FEATURE_COUNT + 4; - - /** - * The feature id for the 'Number' attribute. - * - * - * @generated - * @ordered - */ - int GENERATION_TASK__NUMBER = TASK_FEATURE_COUNT + 5; - - /** - * The feature id for the 'Run Specified' attribute. - * - * - * @generated - * @ordered - */ - int GENERATION_TASK__RUN_SPECIFIED = TASK_FEATURE_COUNT + 6; - - /** - * The feature id for the 'Runs' attribute. - * - * - * @generated - * @ordered - */ - int GENERATION_TASK__RUNS = TASK_FEATURE_COUNT + 7; - - /** - * The feature id for the 'Solver' attribute. - * - * - * @generated - * @ordered - */ - int GENERATION_TASK__SOLVER = TASK_FEATURE_COUNT + 8; - - /** - * The feature id for the 'Config' containment reference. - * - * - * @generated - * @ordered - */ - int GENERATION_TASK__CONFIG = TASK_FEATURE_COUNT + 9; - - /** - * The feature id for the 'Debug Folder' containment reference. - * - * - * @generated - * @ordered - */ - int GENERATION_TASK__DEBUG_FOLDER = TASK_FEATURE_COUNT + 10; - - /** - * The feature id for the 'Target Log File' containment reference. - * - * - * @generated - * @ordered - */ - int GENERATION_TASK__TARGET_LOG_FILE = TASK_FEATURE_COUNT + 11; - - /** - * The feature id for the 'Target Statistics File' containment reference. - * - * - * @generated - * @ordered - */ - int GENERATION_TASK__TARGET_STATISTICS_FILE = TASK_FEATURE_COUNT + 12; - - /** - * The feature id for the 'Taget Folder' containment reference. - * - * - * @generated - * @ordered - */ - int GENERATION_TASK__TAGET_FOLDER = TASK_FEATURE_COUNT + 13; - - /** - * The number of structural features of the 'Generation Task' class. - * - * - * @generated - * @ordered - */ - int GENERATION_TASK_FEATURE_COUNT = TASK_FEATURE_COUNT + 14; - - /** - * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.IntegerScopeImpl Integer Scope}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.IntegerScopeImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getIntegerScope() - * @generated - */ - int INTEGER_SCOPE = 64; - - /** - * The number of structural features of the 'Integer Scope' class. - * - * - * @generated - * @ordered - */ - int INTEGER_SCOPE_FEATURE_COUNT = INTEGER_REFERENCE_FEATURE_COUNT + 0; - - /** - * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.RealScopeImpl Real Scope}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.RealScopeImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getRealScope() - * @generated - */ - int REAL_SCOPE = 65; - - /** - * The number of structural features of the 'Real Scope' class. - * - * - * @generated - * @ordered - */ - int REAL_SCOPE_FEATURE_COUNT = REAL_REFERENCE_FEATURE_COUNT + 0; - - /** - * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.StringScopeImpl String Scope}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.StringScopeImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getStringScope() - * @generated - */ - int STRING_SCOPE = 66; - - /** - * The number of structural features of the 'String Scope' class. - * - * - * @generated - * @ordered - */ - int STRING_SCOPE_FEATURE_COUNT = STRING_REFERENCE_FEATURE_COUNT + 0; - - /** - * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.DocumentLevelSpecification Document Level Specification}' enum. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.DocumentLevelSpecification - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getDocumentLevelSpecification() - * @generated - */ - int DOCUMENT_LEVEL_SPECIFICATION = 67; - - /** - * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Solver Solver}' enum. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Solver - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getSolver() - * @generated - */ - int SOLVER = 68; - - - /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigurationScript Configuration Script}'. - * - * - * @return the meta object for class 'Configuration Script'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigurationScript - * @generated - */ - EClass getConfigurationScript(); - - /** - * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigurationScript#getImports Imports}'. - * - * - * @return the meta object for the containment reference list 'Imports'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigurationScript#getImports() - * @see #getConfigurationScript() - * @generated - */ - EReference getConfigurationScript_Imports(); - - /** - * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigurationScript#getCommands Commands}'. - * - * - * @return the meta object for the containment reference list 'Commands'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigurationScript#getCommands() - * @see #getConfigurationScript() - * @generated - */ - EReference getConfigurationScript_Commands(); - - /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Command Command}'. - * - * - * @return the meta object for class 'Command'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Command - * @generated - */ - EClass getCommand(); - - /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Import Import}'. - * - * - * @return the meta object for class 'Import'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Import - * @generated - */ - EClass getImport(); - - /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.EPackageImport EPackage Import}'. - * - * - * @return the meta object for class 'EPackage Import'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.EPackageImport - * @generated - */ - EClass getEPackageImport(); - - /** - * Returns the meta object for the reference '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.EPackageImport#getImportedPackage Imported Package}'. - * - * - * @return the meta object for the reference 'Imported Package'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.EPackageImport#getImportedPackage() - * @see #getEPackageImport() - * @generated - */ - EReference getEPackageImport_ImportedPackage(); - - /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ViatraImport Viatra Import}'. - * - * - * @return the meta object for class 'Viatra Import'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ViatraImport - * @generated - */ - EClass getViatraImport(); - - /** - * Returns the meta object for the reference '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ViatraImport#getImportedViatra Imported Viatra}'. - * - * - * @return the meta object for the reference 'Imported Viatra'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ViatraImport#getImportedViatra() - * @see #getViatraImport() - * @generated - */ - EReference getViatraImport_ImportedViatra(); - - /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Declaration Declaration}'. - * - * - * @return the meta object for class 'Declaration'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Declaration - * @generated - */ - EClass getDeclaration(); - - /** - * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Declaration#getName Name}'. - * - * - * @return the meta object for the attribute 'Name'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Declaration#getName() - * @see #getDeclaration() - * @generated - */ - EAttribute getDeclaration_Name(); - - /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.FileSpecification File Specification}'. - * - * - * @return the meta object for class 'File Specification'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.FileSpecification - * @generated - */ - EClass getFileSpecification(); - - /** - * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.FileSpecification#getPath Path}'. - * - * - * @return the meta object for the attribute 'Path'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.FileSpecification#getPath() - * @see #getFileSpecification() - * @generated - */ - EAttribute getFileSpecification_Path(); - - /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.FileDeclaration File Declaration}'. - * - * - * @return the meta object for class 'File Declaration'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.FileDeclaration - * @generated - */ - EClass getFileDeclaration(); - - /** - * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.FileDeclaration#getSpecification Specification}'. - * - * - * @return the meta object for the containment reference 'Specification'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.FileDeclaration#getSpecification() - * @see #getFileDeclaration() - * @generated - */ - EReference getFileDeclaration_Specification(); - - /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.FileReference File Reference}'. - * - * - * @return the meta object for class 'File Reference'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.FileReference - * @generated - */ - EClass getFileReference(); - - /** - * Returns the meta object for the reference '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.FileReference#getReferred Referred}'. - * - * - * @return the meta object for the reference 'Referred'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.FileReference#getReferred() - * @see #getFileReference() - * @generated - */ - EReference getFileReference_Referred(); - - /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.File File}'. - * - * - * @return the meta object for class 'File'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.File - * @generated - */ - EClass getFile(); - - /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelSpecification Metamodel Specification}'. - * - * - * @return the meta object for class 'Metamodel Specification'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelSpecification - * @generated - */ - EClass getMetamodelSpecification(); - - /** - * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelSpecification#getEntries Entries}'. - * - * - * @return the meta object for the containment reference list 'Entries'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelSpecification#getEntries() - * @see #getMetamodelSpecification() - * @generated - */ - EReference getMetamodelSpecification_Entries(); - - /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelEntry Metamodel Entry}'. - * - * - * @return the meta object for class 'Metamodel Entry'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelEntry - * @generated - */ - EClass getMetamodelEntry(); - - /** - * Returns the meta object for the reference '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelEntry#getPackage Package}'. - * - * - * @return the meta object for the reference 'Package'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelEntry#getPackage() - * @see #getMetamodelEntry() - * @generated - */ - EReference getMetamodelEntry_Package(); - - /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.AllPackageEntry All Package Entry}'. - * - * - * @return the meta object for class 'All Package Entry'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.AllPackageEntry - * @generated - */ - EClass getAllPackageEntry(); - - /** - * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.AllPackageEntry#getExclusion Exclusion}'. - * - * - * @return the meta object for the containment reference list 'Exclusion'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.AllPackageEntry#getExclusion() - * @see #getAllPackageEntry() - * @generated - */ - EReference getAllPackageEntry_Exclusion(); - - /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelElement Metamodel Element}'. - * - * - * @return the meta object for class 'Metamodel Element'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelElement - * @generated - */ - EClass getMetamodelElement(); - - /** - * Returns the meta object for the reference '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelElement#getClassifier Classifier}'. - * - * - * @return the meta object for the reference 'Classifier'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelElement#getClassifier() - * @see #getMetamodelElement() - * @generated - */ - EReference getMetamodelElement_Classifier(); - - /** - * Returns the meta object for the reference '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelElement#getFeature Feature}'. - * - * - * @return the meta object for the reference 'Feature'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelElement#getFeature() - * @see #getMetamodelElement() - * @generated - */ - EReference getMetamodelElement_Feature(); - - /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelDeclaration Metamodel Declaration}'. - * - * - * @return the meta object for class 'Metamodel Declaration'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelDeclaration - * @generated - */ - EClass getMetamodelDeclaration(); - - /** - * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelDeclaration#getSpecification Specification}'. - * - * - * @return the meta object for the containment reference 'Specification'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelDeclaration#getSpecification() - * @see #getMetamodelDeclaration() - * @generated - */ - EReference getMetamodelDeclaration_Specification(); - - /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelReference Metamodel Reference}'. - * - * - * @return the meta object for class 'Metamodel Reference'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelReference - * @generated - */ - EClass getMetamodelReference(); - - /** - * Returns the meta object for the reference '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelReference#getReferred Referred}'. - * - * - * @return the meta object for the reference 'Referred'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelReference#getReferred() - * @see #getMetamodelReference() - * @generated - */ - EReference getMetamodelReference_Referred(); - - /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Metamodel Metamodel}'. - * - * - * @return the meta object for class 'Metamodel'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Metamodel - * @generated - */ - EClass getMetamodel(); - - /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModelSpecification Partial Model Specification}'. - * - * - * @return the meta object for class 'Partial Model Specification'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModelSpecification - * @generated - */ - EClass getPartialModelSpecification(); - - /** - * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModelSpecification#getEntry Entry}'. - * - * - * @return the meta object for the containment reference list 'Entry'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModelSpecification#getEntry() - * @see #getPartialModelSpecification() - * @generated - */ - EReference getPartialModelSpecification_Entry(); - - /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModelEntry Partial Model Entry}'. - * - * - * @return the meta object for class 'Partial Model Entry'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModelEntry - * @generated - */ - EClass getPartialModelEntry(); - - /** - * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModelEntry#getPath Path}'. - * - * - * @return the meta object for the containment reference 'Path'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModelEntry#getPath() - * @see #getPartialModelEntry() - * @generated - */ - EReference getPartialModelEntry_Path(); - - /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ModelEntry Model Entry}'. - * - * - * @return the meta object for class 'Model Entry'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ModelEntry - * @generated - */ - EClass getModelEntry(); - - /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.FolderEntry Folder Entry}'. - * - * - * @return the meta object for class 'Folder Entry'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.FolderEntry - * @generated - */ - EClass getFolderEntry(); - - /** - * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.FolderEntry#getExclusion Exclusion}'. - * - * - * @return the meta object for the containment reference list 'Exclusion'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.FolderEntry#getExclusion() - * @see #getFolderEntry() - * @generated - */ - EReference getFolderEntry_Exclusion(); - - /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModelDeclaration Partial Model Declaration}'. - * - * - * @return the meta object for class 'Partial Model Declaration'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModelDeclaration - * @generated - */ - EClass getPartialModelDeclaration(); - - /** - * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModelDeclaration#getSpecification Specification}'. - * - * - * @return the meta object for the containment reference 'Specification'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModelDeclaration#getSpecification() - * @see #getPartialModelDeclaration() - * @generated - */ - EReference getPartialModelDeclaration_Specification(); - - /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModelReference Partial Model Reference}'. - * - * - * @return the meta object for class 'Partial Model Reference'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModelReference - * @generated - */ - EClass getPartialModelReference(); - - /** - * Returns the meta object for the reference '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModelReference#getReferred Referred}'. - * - * - * @return the meta object for the reference 'Referred'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModelReference#getReferred() - * @see #getPartialModelReference() - * @generated - */ - EReference getPartialModelReference_Referred(); - - /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModel Partial Model}'. - * - * - * @return the meta object for class 'Partial Model'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModel - * @generated - */ - EClass getPartialModel(); - - /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PatternSpecification Pattern Specification}'. - * - * - * @return the meta object for class 'Pattern Specification'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PatternSpecification - * @generated - */ - EClass getPatternSpecification(); - - /** - * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PatternSpecification#getEntries Entries}'. - * - * - * @return the meta object for the containment reference list 'Entries'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PatternSpecification#getEntries() - * @see #getPatternSpecification() - * @generated - */ - EReference getPatternSpecification_Entries(); - - /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PatternEntry Pattern Entry}'. - * - * - * @return the meta object for class 'Pattern Entry'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PatternEntry - * @generated - */ - EClass getPatternEntry(); - - /** - * Returns the meta object for the reference '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PatternEntry#getPackage Package}'. - * - * - * @return the meta object for the reference 'Package'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PatternEntry#getPackage() - * @see #getPatternEntry() - * @generated - */ - EReference getPatternEntry_Package(); - - /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.AllPatternEntry All Pattern Entry}'. - * - * - * @return the meta object for class 'All Pattern Entry'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.AllPatternEntry - * @generated - */ - EClass getAllPatternEntry(); - - /** - * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.AllPatternEntry#getExclusuion Exclusuion}'. - * - * - * @return the meta object for the containment reference list 'Exclusuion'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.AllPatternEntry#getExclusuion() - * @see #getAllPatternEntry() - * @generated - */ - EReference getAllPatternEntry_Exclusuion(); - - /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PatternElement Pattern Element}'. - * - * - * @return the meta object for class 'Pattern Element'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PatternElement - * @generated - */ - EClass getPatternElement(); - - /** - * Returns the meta object for the reference '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PatternElement#getPattern Pattern}'. - * - * - * @return the meta object for the reference 'Pattern'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PatternElement#getPattern() - * @see #getPatternElement() - * @generated - */ - EReference getPatternElement_Pattern(); - - /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GraphPatternDeclaration Graph Pattern Declaration}'. - * - * - * @return the meta object for class 'Graph Pattern Declaration'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GraphPatternDeclaration - * @generated - */ - EClass getGraphPatternDeclaration(); - - /** - * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GraphPatternDeclaration#getSpecification Specification}'. - * - * - * @return the meta object for the containment reference 'Specification'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GraphPatternDeclaration#getSpecification() - * @see #getGraphPatternDeclaration() - * @generated - */ - EReference getGraphPatternDeclaration_Specification(); - - /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GraphPatternReference Graph Pattern Reference}'. - * - * - * @return the meta object for class 'Graph Pattern Reference'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GraphPatternReference - * @generated - */ - EClass getGraphPatternReference(); - - /** - * Returns the meta object for the reference '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GraphPatternReference#getReferred Referred}'. - * - * - * @return the meta object for the reference 'Referred'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GraphPatternReference#getReferred() - * @see #getGraphPatternReference() - * @generated - */ - EReference getGraphPatternReference_Referred(); - - /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GraphPattern Graph Pattern}'. - * - * - * @return the meta object for class 'Graph Pattern'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GraphPattern - * @generated - */ - EClass getGraphPattern(); - - /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigSpecification Config Specification}'. - * - * - * @return the meta object for class 'Config Specification'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigSpecification - * @generated - */ - EClass getConfigSpecification(); - - /** - * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigSpecification#getEntries Entries}'. - * - * - * @return the meta object for the containment reference list 'Entries'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigSpecification#getEntries() - * @see #getConfigSpecification() - * @generated - */ - EReference getConfigSpecification_Entries(); - - /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigDeclaration Config Declaration}'. - * - * - * @return the meta object for class 'Config Declaration'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigDeclaration - * @generated - */ - EClass getConfigDeclaration(); - - /** - * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigDeclaration#getSpecification Specification}'. - * - * - * @return the meta object for the containment reference 'Specification'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigDeclaration#getSpecification() - * @see #getConfigDeclaration() - * @generated - */ - EReference getConfigDeclaration_Specification(); - - /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigEntry Config Entry}'. - * - * - * @return the meta object for class 'Config Entry'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigEntry - * @generated - */ - EClass getConfigEntry(); - - /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.DocumentationEntry Documentation Entry}'. - * - * - * @return the meta object for class 'Documentation Entry'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.DocumentationEntry - * @generated - */ - EClass getDocumentationEntry(); - - /** - * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.DocumentationEntry#getLevel Level}'. - * - * - * @return the meta object for the attribute 'Level'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.DocumentationEntry#getLevel() - * @see #getDocumentationEntry() - * @generated - */ - EAttribute getDocumentationEntry_Level(); - - /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RuntimeEntry Runtime Entry}'. - * - * - * @return the meta object for class 'Runtime Entry'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RuntimeEntry - * @generated - */ - EClass getRuntimeEntry(); - - /** - * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RuntimeEntry#getMillisecLimit Millisec Limit}'. - * - * - * @return the meta object for the attribute 'Millisec Limit'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RuntimeEntry#getMillisecLimit() - * @see #getRuntimeEntry() - * @generated - */ - EAttribute getRuntimeEntry_MillisecLimit(); - - /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MemoryEntry Memory Entry}'. - * - * - * @return the meta object for class 'Memory Entry'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MemoryEntry - * @generated - */ - EClass getMemoryEntry(); - - /** - * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MemoryEntry#getMegabyteLimit Megabyte Limit}'. - * - * - * @return the meta object for the attribute 'Megabyte Limit'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MemoryEntry#getMegabyteLimit() - * @see #getMemoryEntry() - * @generated - */ - EAttribute getMemoryEntry_MegabyteLimit(); - - /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.CustomEntry Custom Entry}'. - * - * - * @return the meta object for class 'Custom Entry'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.CustomEntry - * @generated - */ - EClass getCustomEntry(); - - /** - * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.CustomEntry#getKey Key}'. - * - * - * @return the meta object for the attribute 'Key'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.CustomEntry#getKey() - * @see #getCustomEntry() - * @generated - */ - EAttribute getCustomEntry_Key(); - - /** - * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.CustomEntry#getValue Value}'. - * - * - * @return the meta object for the attribute 'Value'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.CustomEntry#getValue() - * @see #getCustomEntry() - * @generated - */ - EAttribute getCustomEntry_Value(); - - /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigReference Config Reference}'. - * - * - * @return the meta object for class 'Config Reference'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigReference - * @generated - */ - EClass getConfigReference(); - - /** - * Returns the meta object for the reference '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigReference#getConfig Config}'. - * - * - * @return the meta object for the reference 'Config'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigReference#getConfig() - * @see #getConfigReference() - * @generated - */ - EReference getConfigReference_Config(); - - /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Config Config}'. - * - * - * @return the meta object for class 'Config'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Config - * @generated - */ - EClass getConfig(); - - /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ScopeSpecification Scope Specification}'. - * - * - * @return the meta object for class 'Scope Specification'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ScopeSpecification - * @generated - */ - EClass getScopeSpecification(); - - /** - * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ScopeSpecification#getScopes Scopes}'. - * - * - * @return the meta object for the containment reference list 'Scopes'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ScopeSpecification#getScopes() - * @see #getScopeSpecification() - * @generated - */ - EReference getScopeSpecification_Scopes(); - - /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeScope Type Scope}'. - * - * - * @return the meta object for class 'Type Scope'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeScope - * @generated - */ - EClass getTypeScope(); - - /** - * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeScope#isSetsNew Sets New}'. - * - * - * @return the meta object for the attribute 'Sets New'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeScope#isSetsNew() - * @see #getTypeScope() - * @generated - */ - EAttribute getTypeScope_SetsNew(); - - /** - * 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 attribute 'Sets Sum'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeScope#isSetsSum() - * @see #getTypeScope() - * @generated - */ - EAttribute getTypeScope_SetsSum(); - - /** - * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeScope#getNumber Number}'. - * - * - * @return the meta object for the containment reference 'Number'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeScope#getNumber() - * @see #getTypeScope() - * @generated - */ - EReference getTypeScope_Number(); - - /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ClassTypeScope Class Type Scope}'. - * - * - * @return the meta object for class 'Class Type Scope'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ClassTypeScope - * @generated - */ - EClass getClassTypeScope(); - - /** - * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ClassTypeScope#getType Type}'. - * - * - * @return the meta object for the containment reference 'Type'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ClassTypeScope#getType() - * @see #getClassTypeScope() - * @generated - */ - EReference getClassTypeScope_Type(); - - /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ObjectTypeScope Object Type Scope}'. - * - * - * @return the meta object for class 'Object Type Scope'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ObjectTypeScope - * @generated - */ - EClass getObjectTypeScope(); - - /** - * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ObjectTypeScope#getType Type}'. - * - * - * @return the meta object for the containment reference 'Type'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ObjectTypeScope#getType() - * @see #getObjectTypeScope() - * @generated - */ - EReference getObjectTypeScope_Type(); - - /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntegerTypeScope Integer Type Scope}'. - * - * - * @return the meta object for class 'Integer Type Scope'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntegerTypeScope - * @generated - */ - EClass getIntegerTypeScope(); - - /** - * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntegerTypeScope#getType Type}'. - * - * - * @return the meta object for the containment reference 'Type'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntegerTypeScope#getType() - * @see #getIntegerTypeScope() - * @generated - */ - EReference getIntegerTypeScope_Type(); - - /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RealTypeScope Real Type Scope}'. - * - * - * @return the meta object for class 'Real Type Scope'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RealTypeScope - * @generated - */ - EClass getRealTypeScope(); - - /** - * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RealTypeScope#getType Type}'. - * - * - * @return the meta object for the containment reference 'Type'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RealTypeScope#getType() - * @see #getRealTypeScope() - * @generated - */ - EReference getRealTypeScope_Type(); - - /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.StringTypeScope String Type Scope}'. - * - * - * @return the meta object for class 'String Type Scope'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.StringTypeScope - * @generated - */ - EClass getStringTypeScope(); - - /** - * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.StringTypeScope#getType Type}'. - * - * - * @return the meta object for the containment reference 'Type'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.StringTypeScope#getType() - * @see #getStringTypeScope() - * @generated - */ - EReference getStringTypeScope_Type(); - - /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeReference Type Reference}'. - * - * - * @return the meta object for class 'Type Reference'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeReference - * @generated - */ - EClass getTypeReference(); - - /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ClassReference Class Reference}'. - * - * - * @return the meta object for class 'Class Reference'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ClassReference - * @generated - */ - EClass getClassReference(); - - /** - * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ClassReference#getElement Element}'. - * - * - * @return the meta object for the containment reference 'Element'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ClassReference#getElement() - * @see #getClassReference() - * @generated - */ - EReference getClassReference_Element(); - - /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ObjectReference Object Reference}'. - * - * - * @return the meta object for class 'Object Reference'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ObjectReference - * @generated - */ - EClass getObjectReference(); - - /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntegerReference Integer Reference}'. - * - * - * @return the meta object for class 'Integer Reference'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntegerReference - * @generated - */ - EClass getIntegerReference(); - - /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RealReference Real Reference}'. - * - * - * @return the meta object for class 'Real Reference'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RealReference - * @generated - */ - EClass getRealReference(); - - /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.StringReference String Reference}'. - * - * - * @return the meta object for class 'String Reference'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.StringReference - * @generated - */ - EClass getStringReference(); - - /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.NumberSpecification Number Specification}'. - * - * - * @return the meta object for class 'Number Specification'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.NumberSpecification - * @generated - */ - EClass getNumberSpecification(); - - /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ExactNumber Exact Number}'. - * - * - * @return the meta object for class 'Exact Number'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ExactNumber - * @generated - */ - EClass getExactNumber(); - - /** - * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ExactNumber#getExactNumber Exact Number}'. - * - * - * @return the meta object for the attribute 'Exact Number'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ExactNumber#getExactNumber() - * @see #getExactNumber() - * @generated - */ - EAttribute getExactNumber_ExactNumber(); - - /** - * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ExactNumber#isExactUnlimited Exact Unlimited}'. - * - * - * @return the meta object for the attribute 'Exact Unlimited'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ExactNumber#isExactUnlimited() - * @see #getExactNumber() - * @generated - */ - EAttribute getExactNumber_ExactUnlimited(); - - /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntervallNumber Intervall Number}'. - * - * - * @return the meta object for class 'Intervall Number'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntervallNumber - * @generated - */ - EClass getIntervallNumber(); - - /** - * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntervallNumber#getMin Min}'. - * - * - * @return the meta object for the attribute 'Min'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntervallNumber#getMin() - * @see #getIntervallNumber() - * @generated - */ - EAttribute getIntervallNumber_Min(); - - /** - * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntervallNumber#getMaxNumber Max Number}'. - * - * - * @return the meta object for the attribute 'Max Number'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntervallNumber#getMaxNumber() - * @see #getIntervallNumber() - * @generated - */ - EAttribute getIntervallNumber_MaxNumber(); - - /** - * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntervallNumber#isMaxUnlimited Max Unlimited}'. - * - * - * @return the meta object for the attribute 'Max Unlimited'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntervallNumber#isMaxUnlimited() - * @see #getIntervallNumber() - * @generated - */ - EAttribute getIntervallNumber_MaxUnlimited(); - - /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntEnumberation Int Enumberation}'. - * - * - * @return the meta object for class 'Int Enumberation'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntEnumberation - * @generated - */ - EClass getIntEnumberation(); - - /** - * Returns the meta object for the attribute list '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntEnumberation#getEntry Entry}'. - * - * - * @return the meta object for the attribute list 'Entry'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntEnumberation#getEntry() - * @see #getIntEnumberation() - * @generated - */ - EAttribute getIntEnumberation_Entry(); - - /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RealEnumeration Real Enumeration}'. - * - * - * @return the meta object for class 'Real Enumeration'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RealEnumeration - * @generated - */ - EClass getRealEnumeration(); - - /** - * Returns the meta object for the attribute list '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RealEnumeration#getEntry Entry}'. - * - * - * @return the meta object for the attribute list 'Entry'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RealEnumeration#getEntry() - * @see #getRealEnumeration() - * @generated - */ - EAttribute getRealEnumeration_Entry(); - - /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.StringEnumeration String Enumeration}'. - * - * - * @return the meta object for class 'String Enumeration'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.StringEnumeration - * @generated - */ - EClass getStringEnumeration(); - - /** - * Returns the meta object for the attribute list '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.StringEnumeration#getEntry Entry}'. - * - * - * @return the meta object for the attribute list 'Entry'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.StringEnumeration#getEntry() - * @see #getStringEnumeration() - * @generated - */ - EAttribute getStringEnumeration_Entry(); - - /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ScopeDeclaration Scope Declaration}'. - * - * - * @return the meta object for class 'Scope Declaration'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ScopeDeclaration - * @generated - */ - EClass getScopeDeclaration(); - - /** - * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ScopeDeclaration#getSpecification Specification}'. - * - * - * @return the meta object for the containment reference 'Specification'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ScopeDeclaration#getSpecification() - * @see #getScopeDeclaration() - * @generated - */ - EReference getScopeDeclaration_Specification(); - - /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ScopeReference Scope Reference}'. - * - * - * @return the meta object for class 'Scope Reference'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ScopeReference - * @generated - */ - EClass getScopeReference(); - - /** - * Returns the meta object for the reference '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ScopeReference#getReferred Referred}'. - * - * - * @return the meta object for the reference 'Referred'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ScopeReference#getReferred() - * @see #getScopeReference() - * @generated - */ - EReference getScopeReference_Referred(); - - /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Scope Scope}'. - * - * - * @return the meta object for class 'Scope'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Scope - * @generated - */ - EClass getScope(); - - /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Task Task}'. - * - * - * @return the meta object for class 'Task'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Task - * @generated - */ - EClass getTask(); - - /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask Generation Task}'. - * - * - * @return the meta object for class 'Generation Task'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask - * @generated - */ - EClass getGenerationTask(); - - /** - * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask#getMetamodel Metamodel}'. - * - * - * @return the meta object for the containment reference 'Metamodel'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask#getMetamodel() - * @see #getGenerationTask() - * @generated - */ - EReference getGenerationTask_Metamodel(); - - /** - * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask#getPartialModel Partial Model}'. - * - * - * @return the meta object for the containment reference 'Partial Model'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask#getPartialModel() - * @see #getGenerationTask() - * @generated - */ - EReference getGenerationTask_PartialModel(); - - /** - * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask#getPatterns Patterns}'. - * - * - * @return the meta object for the containment reference 'Patterns'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask#getPatterns() - * @see #getGenerationTask() - * @generated - */ - EReference getGenerationTask_Patterns(); - - /** - * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask#getScope Scope}'. - * - * - * @return the meta object for the containment reference 'Scope'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask#getScope() - * @see #getGenerationTask() - * @generated - */ - EReference getGenerationTask_Scope(); - - /** - * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask#isNumberSpecified Number Specified}'. - * - * - * @return the meta object for the attribute 'Number Specified'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask#isNumberSpecified() - * @see #getGenerationTask() - * @generated - */ - EAttribute getGenerationTask_NumberSpecified(); - - /** - * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask#getNumber Number}'. - * - * - * @return the meta object for the attribute 'Number'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask#getNumber() - * @see #getGenerationTask() - * @generated - */ - EAttribute getGenerationTask_Number(); - - /** - * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask#isRunSpecified Run Specified}'. - * - * - * @return the meta object for the attribute 'Run Specified'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask#isRunSpecified() - * @see #getGenerationTask() - * @generated - */ - EAttribute getGenerationTask_RunSpecified(); - - /** - * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask#getRuns Runs}'. - * - * - * @return the meta object for the attribute 'Runs'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask#getRuns() - * @see #getGenerationTask() - * @generated - */ - EAttribute getGenerationTask_Runs(); - - /** - * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask#getSolver Solver}'. - * - * - * @return the meta object for the attribute 'Solver'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask#getSolver() - * @see #getGenerationTask() - * @generated - */ - EAttribute getGenerationTask_Solver(); - - /** - * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask#getConfig Config}'. - * - * - * @return the meta object for the containment reference 'Config'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask#getConfig() - * @see #getGenerationTask() - * @generated - */ - EReference getGenerationTask_Config(); - - /** - * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask#getDebugFolder Debug Folder}'. - * - * - * @return the meta object for the containment reference 'Debug Folder'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask#getDebugFolder() - * @see #getGenerationTask() - * @generated - */ - EReference getGenerationTask_DebugFolder(); - - /** - * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask#getTargetLogFile Target Log File}'. - * - * - * @return the meta object for the containment reference 'Target Log File'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask#getTargetLogFile() - * @see #getGenerationTask() - * @generated - */ - EReference getGenerationTask_TargetLogFile(); - - /** - * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask#getTargetStatisticsFile Target Statistics File}'. - * - * - * @return the meta object for the containment reference 'Target Statistics File'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask#getTargetStatisticsFile() - * @see #getGenerationTask() - * @generated - */ - EReference getGenerationTask_TargetStatisticsFile(); - - /** - * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask#getTagetFolder Taget Folder}'. - * - * - * @return the meta object for the containment reference 'Taget Folder'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask#getTagetFolder() - * @see #getGenerationTask() - * @generated - */ - EReference getGenerationTask_TagetFolder(); - - /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntegerScope Integer Scope}'. - * - * - * @return the meta object for class 'Integer Scope'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntegerScope - * @generated - */ - EClass getIntegerScope(); - - /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RealScope Real Scope}'. - * - * - * @return the meta object for class 'Real Scope'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RealScope - * @generated - */ - EClass getRealScope(); - - /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.StringScope String Scope}'. - * - * - * @return the meta object for class 'String Scope'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.StringScope - * @generated - */ - EClass getStringScope(); - - /** - * Returns the meta object for enum '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.DocumentLevelSpecification Document Level Specification}'. - * - * - * @return the meta object for enum 'Document Level Specification'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.DocumentLevelSpecification - * @generated - */ - EEnum getDocumentLevelSpecification(); - - /** - * Returns the meta object for enum '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Solver Solver}'. - * - * - * @return the meta object for enum 'Solver'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Solver - * @generated - */ - EEnum getSolver(); - - /** - * Returns the factory that creates the instances of the model. - * - * - * @return the factory that creates the instances of the model. - * @generated - */ - ApplicationConfigurationFactory getApplicationConfigurationFactory(); - - /** - * - * Defines literals for the meta objects that represent - *
    - *
  • each class,
  • - *
  • each feature of each class,
  • - *
  • each enum,
  • - *
  • and each data type
  • - *
- * - * @generated - */ - interface Literals - { - /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ConfigurationScriptImpl Configuration Script}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ConfigurationScriptImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getConfigurationScript() - * @generated - */ - EClass CONFIGURATION_SCRIPT = eINSTANCE.getConfigurationScript(); - - /** - * The meta object literal for the 'Imports' containment reference list feature. - * - * - * @generated - */ - EReference CONFIGURATION_SCRIPT__IMPORTS = eINSTANCE.getConfigurationScript_Imports(); - - /** - * The meta object literal for the 'Commands' containment reference list feature. - * - * - * @generated - */ - EReference CONFIGURATION_SCRIPT__COMMANDS = eINSTANCE.getConfigurationScript_Commands(); - - /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.CommandImpl Command}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.CommandImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getCommand() - * @generated - */ - EClass COMMAND = eINSTANCE.getCommand(); - - /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ImportImpl Import}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ImportImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getImport() - * @generated - */ - EClass IMPORT = eINSTANCE.getImport(); - - /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.EPackageImportImpl EPackage Import}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.EPackageImportImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getEPackageImport() - * @generated - */ - EClass EPACKAGE_IMPORT = eINSTANCE.getEPackageImport(); - - /** - * The meta object literal for the 'Imported Package' reference feature. - * - * - * @generated - */ - EReference EPACKAGE_IMPORT__IMPORTED_PACKAGE = eINSTANCE.getEPackageImport_ImportedPackage(); - - /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ViatraImportImpl Viatra Import}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ViatraImportImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getViatraImport() - * @generated - */ - EClass VIATRA_IMPORT = eINSTANCE.getViatraImport(); - - /** - * The meta object literal for the 'Imported Viatra' reference feature. - * - * - * @generated - */ - EReference VIATRA_IMPORT__IMPORTED_VIATRA = eINSTANCE.getViatraImport_ImportedViatra(); - - /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.DeclarationImpl Declaration}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.DeclarationImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getDeclaration() - * @generated - */ - EClass DECLARATION = eINSTANCE.getDeclaration(); - - /** - * The meta object literal for the 'Name' attribute feature. - * - * - * @generated - */ - EAttribute DECLARATION__NAME = eINSTANCE.getDeclaration_Name(); - - /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.FileSpecificationImpl File Specification}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.FileSpecificationImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getFileSpecification() - * @generated - */ - EClass FILE_SPECIFICATION = eINSTANCE.getFileSpecification(); - - /** - * The meta object literal for the 'Path' attribute feature. - * - * - * @generated - */ - EAttribute FILE_SPECIFICATION__PATH = eINSTANCE.getFileSpecification_Path(); - - /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.FileDeclarationImpl File Declaration}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.FileDeclarationImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getFileDeclaration() - * @generated - */ - EClass FILE_DECLARATION = eINSTANCE.getFileDeclaration(); - - /** - * The meta object literal for the 'Specification' containment reference feature. - * - * - * @generated - */ - EReference FILE_DECLARATION__SPECIFICATION = eINSTANCE.getFileDeclaration_Specification(); - - /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.FileReferenceImpl File Reference}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.FileReferenceImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getFileReference() - * @generated - */ - EClass FILE_REFERENCE = eINSTANCE.getFileReference(); - - /** - * The meta object literal for the 'Referred' reference feature. - * - * - * @generated - */ - EReference FILE_REFERENCE__REFERRED = eINSTANCE.getFileReference_Referred(); - - /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.FileImpl File}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.FileImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getFile() - * @generated - */ - EClass FILE = eINSTANCE.getFile(); - - /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MetamodelSpecificationImpl Metamodel Specification}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MetamodelSpecificationImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getMetamodelSpecification() - * @generated - */ - EClass METAMODEL_SPECIFICATION = eINSTANCE.getMetamodelSpecification(); - - /** - * The meta object literal for the 'Entries' containment reference list feature. - * - * - * @generated - */ - EReference METAMODEL_SPECIFICATION__ENTRIES = eINSTANCE.getMetamodelSpecification_Entries(); - - /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MetamodelEntryImpl Metamodel Entry}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MetamodelEntryImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getMetamodelEntry() - * @generated - */ - EClass METAMODEL_ENTRY = eINSTANCE.getMetamodelEntry(); - - /** - * The meta object literal for the 'Package' reference feature. - * - * - * @generated - */ - EReference METAMODEL_ENTRY__PACKAGE = eINSTANCE.getMetamodelEntry_Package(); - - /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.AllPackageEntryImpl All Package Entry}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.AllPackageEntryImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getAllPackageEntry() - * @generated - */ - EClass ALL_PACKAGE_ENTRY = eINSTANCE.getAllPackageEntry(); - - /** - * The meta object literal for the 'Exclusion' containment reference list feature. - * - * - * @generated - */ - EReference ALL_PACKAGE_ENTRY__EXCLUSION = eINSTANCE.getAllPackageEntry_Exclusion(); - - /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MetamodelElementImpl Metamodel Element}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MetamodelElementImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getMetamodelElement() - * @generated - */ - EClass METAMODEL_ELEMENT = eINSTANCE.getMetamodelElement(); - - /** - * The meta object literal for the 'Classifier' reference feature. - * - * - * @generated - */ - EReference METAMODEL_ELEMENT__CLASSIFIER = eINSTANCE.getMetamodelElement_Classifier(); - - /** - * The meta object literal for the 'Feature' reference feature. - * - * - * @generated - */ - EReference METAMODEL_ELEMENT__FEATURE = eINSTANCE.getMetamodelElement_Feature(); - - /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MetamodelDeclarationImpl Metamodel Declaration}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MetamodelDeclarationImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getMetamodelDeclaration() - * @generated - */ - EClass METAMODEL_DECLARATION = eINSTANCE.getMetamodelDeclaration(); - - /** - * The meta object literal for the 'Specification' containment reference feature. - * - * - * @generated - */ - EReference METAMODEL_DECLARATION__SPECIFICATION = eINSTANCE.getMetamodelDeclaration_Specification(); - - /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MetamodelReferenceImpl Metamodel Reference}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MetamodelReferenceImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getMetamodelReference() - * @generated - */ - EClass METAMODEL_REFERENCE = eINSTANCE.getMetamodelReference(); - - /** - * The meta object literal for the 'Referred' reference feature. - * - * - * @generated - */ - EReference METAMODEL_REFERENCE__REFERRED = eINSTANCE.getMetamodelReference_Referred(); - - /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MetamodelImpl Metamodel}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MetamodelImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getMetamodel() - * @generated - */ - EClass METAMODEL = eINSTANCE.getMetamodel(); - - /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.PartialModelSpecificationImpl Partial Model Specification}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.PartialModelSpecificationImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getPartialModelSpecification() - * @generated - */ - EClass PARTIAL_MODEL_SPECIFICATION = eINSTANCE.getPartialModelSpecification(); - - /** - * The meta object literal for the 'Entry' containment reference list feature. - * - * - * @generated - */ - EReference PARTIAL_MODEL_SPECIFICATION__ENTRY = eINSTANCE.getPartialModelSpecification_Entry(); - - /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.PartialModelEntryImpl Partial Model Entry}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.PartialModelEntryImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getPartialModelEntry() - * @generated - */ - EClass PARTIAL_MODEL_ENTRY = eINSTANCE.getPartialModelEntry(); - - /** - * The meta object literal for the 'Path' containment reference feature. - * - * - * @generated - */ - EReference PARTIAL_MODEL_ENTRY__PATH = eINSTANCE.getPartialModelEntry_Path(); - - /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ModelEntryImpl Model Entry}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ModelEntryImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getModelEntry() - * @generated - */ - EClass MODEL_ENTRY = eINSTANCE.getModelEntry(); - - /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.FolderEntryImpl Folder Entry}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.FolderEntryImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getFolderEntry() - * @generated - */ - EClass FOLDER_ENTRY = eINSTANCE.getFolderEntry(); - - /** - * The meta object literal for the 'Exclusion' containment reference list feature. - * - * - * @generated - */ - EReference FOLDER_ENTRY__EXCLUSION = eINSTANCE.getFolderEntry_Exclusion(); - - /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.PartialModelDeclarationImpl Partial Model Declaration}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.PartialModelDeclarationImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getPartialModelDeclaration() - * @generated - */ - EClass PARTIAL_MODEL_DECLARATION = eINSTANCE.getPartialModelDeclaration(); - - /** - * The meta object literal for the 'Specification' containment reference feature. - * - * - * @generated - */ - EReference PARTIAL_MODEL_DECLARATION__SPECIFICATION = eINSTANCE.getPartialModelDeclaration_Specification(); - - /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.PartialModelReferenceImpl Partial Model Reference}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.PartialModelReferenceImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getPartialModelReference() - * @generated - */ - EClass PARTIAL_MODEL_REFERENCE = eINSTANCE.getPartialModelReference(); - - /** - * The meta object literal for the 'Referred' reference feature. - * - * - * @generated - */ - EReference PARTIAL_MODEL_REFERENCE__REFERRED = eINSTANCE.getPartialModelReference_Referred(); - - /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.PartialModelImpl Partial Model}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.PartialModelImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getPartialModel() - * @generated - */ - EClass PARTIAL_MODEL = eINSTANCE.getPartialModel(); - - /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.PatternSpecificationImpl Pattern Specification}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.PatternSpecificationImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getPatternSpecification() - * @generated - */ - EClass PATTERN_SPECIFICATION = eINSTANCE.getPatternSpecification(); - - /** - * The meta object literal for the 'Entries' containment reference list feature. - * - * - * @generated - */ - EReference PATTERN_SPECIFICATION__ENTRIES = eINSTANCE.getPatternSpecification_Entries(); - - /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.PatternEntryImpl Pattern Entry}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.PatternEntryImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getPatternEntry() - * @generated - */ - EClass PATTERN_ENTRY = eINSTANCE.getPatternEntry(); - - /** - * The meta object literal for the 'Package' reference feature. - * - * - * @generated - */ - EReference PATTERN_ENTRY__PACKAGE = eINSTANCE.getPatternEntry_Package(); - - /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.AllPatternEntryImpl All Pattern Entry}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.AllPatternEntryImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getAllPatternEntry() - * @generated - */ - EClass ALL_PATTERN_ENTRY = eINSTANCE.getAllPatternEntry(); - - /** - * The meta object literal for the 'Exclusuion' containment reference list feature. - * - * - * @generated - */ - EReference ALL_PATTERN_ENTRY__EXCLUSUION = eINSTANCE.getAllPatternEntry_Exclusuion(); - - /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.PatternElementImpl Pattern Element}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.PatternElementImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getPatternElement() - * @generated - */ - EClass PATTERN_ELEMENT = eINSTANCE.getPatternElement(); - - /** - * The meta object literal for the 'Pattern' reference feature. - * - * - * @generated - */ - EReference PATTERN_ELEMENT__PATTERN = eINSTANCE.getPatternElement_Pattern(); - - /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.GraphPatternDeclarationImpl Graph Pattern Declaration}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.GraphPatternDeclarationImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getGraphPatternDeclaration() - * @generated - */ - EClass GRAPH_PATTERN_DECLARATION = eINSTANCE.getGraphPatternDeclaration(); - - /** - * The meta object literal for the 'Specification' containment reference feature. - * - * - * @generated - */ - EReference GRAPH_PATTERN_DECLARATION__SPECIFICATION = eINSTANCE.getGraphPatternDeclaration_Specification(); - - /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.GraphPatternReferenceImpl Graph Pattern Reference}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.GraphPatternReferenceImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getGraphPatternReference() - * @generated - */ - EClass GRAPH_PATTERN_REFERENCE = eINSTANCE.getGraphPatternReference(); - - /** - * The meta object literal for the 'Referred' reference feature. - * - * - * @generated - */ - EReference GRAPH_PATTERN_REFERENCE__REFERRED = eINSTANCE.getGraphPatternReference_Referred(); - - /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.GraphPatternImpl Graph Pattern}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.GraphPatternImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getGraphPattern() - * @generated - */ - EClass GRAPH_PATTERN = eINSTANCE.getGraphPattern(); - - /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ConfigSpecificationImpl Config Specification}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ConfigSpecificationImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getConfigSpecification() - * @generated - */ - EClass CONFIG_SPECIFICATION = eINSTANCE.getConfigSpecification(); - - /** - * The meta object literal for the 'Entries' containment reference list feature. - * - * - * @generated - */ - EReference CONFIG_SPECIFICATION__ENTRIES = eINSTANCE.getConfigSpecification_Entries(); - - /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ConfigDeclarationImpl Config Declaration}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ConfigDeclarationImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getConfigDeclaration() - * @generated - */ - EClass CONFIG_DECLARATION = eINSTANCE.getConfigDeclaration(); - - /** - * The meta object literal for the 'Specification' containment reference feature. - * - * - * @generated - */ - EReference CONFIG_DECLARATION__SPECIFICATION = eINSTANCE.getConfigDeclaration_Specification(); - - /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ConfigEntryImpl Config Entry}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ConfigEntryImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getConfigEntry() - * @generated - */ - EClass CONFIG_ENTRY = eINSTANCE.getConfigEntry(); - - /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.DocumentationEntryImpl Documentation Entry}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.DocumentationEntryImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getDocumentationEntry() - * @generated - */ - EClass DOCUMENTATION_ENTRY = eINSTANCE.getDocumentationEntry(); - - /** - * The meta object literal for the 'Level' attribute feature. - * - * - * @generated - */ - EAttribute DOCUMENTATION_ENTRY__LEVEL = eINSTANCE.getDocumentationEntry_Level(); - - /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.RuntimeEntryImpl Runtime Entry}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.RuntimeEntryImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getRuntimeEntry() - * @generated - */ - EClass RUNTIME_ENTRY = eINSTANCE.getRuntimeEntry(); - - /** - * The meta object literal for the 'Millisec Limit' attribute feature. - * - * - * @generated - */ - EAttribute RUNTIME_ENTRY__MILLISEC_LIMIT = eINSTANCE.getRuntimeEntry_MillisecLimit(); - - /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MemoryEntryImpl Memory Entry}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MemoryEntryImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getMemoryEntry() - * @generated - */ - EClass MEMORY_ENTRY = eINSTANCE.getMemoryEntry(); - - /** - * The meta object literal for the 'Megabyte Limit' attribute feature. - * - * - * @generated - */ - EAttribute MEMORY_ENTRY__MEGABYTE_LIMIT = eINSTANCE.getMemoryEntry_MegabyteLimit(); - - /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.CustomEntryImpl Custom Entry}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.CustomEntryImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getCustomEntry() - * @generated - */ - EClass CUSTOM_ENTRY = eINSTANCE.getCustomEntry(); - - /** - * The meta object literal for the 'Key' attribute feature. - * - * - * @generated - */ - EAttribute CUSTOM_ENTRY__KEY = eINSTANCE.getCustomEntry_Key(); - - /** - * The meta object literal for the 'Value' attribute feature. - * - * - * @generated - */ - EAttribute CUSTOM_ENTRY__VALUE = eINSTANCE.getCustomEntry_Value(); - - /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ConfigReferenceImpl Config Reference}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ConfigReferenceImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getConfigReference() - * @generated - */ - EClass CONFIG_REFERENCE = eINSTANCE.getConfigReference(); - - /** - * The meta object literal for the 'Config' reference feature. - * - * - * @generated - */ - EReference CONFIG_REFERENCE__CONFIG = eINSTANCE.getConfigReference_Config(); - - /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ConfigImpl Config}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ConfigImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getConfig() - * @generated - */ - EClass CONFIG = eINSTANCE.getConfig(); - - /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ScopeSpecificationImpl Scope Specification}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ScopeSpecificationImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getScopeSpecification() - * @generated - */ - EClass SCOPE_SPECIFICATION = eINSTANCE.getScopeSpecification(); - - /** - * The meta object literal for the 'Scopes' containment reference list feature. - * - * - * @generated - */ - EReference SCOPE_SPECIFICATION__SCOPES = eINSTANCE.getScopeSpecification_Scopes(); - - /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.TypeScopeImpl Type Scope}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.TypeScopeImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getTypeScope() - * @generated - */ - EClass TYPE_SCOPE = eINSTANCE.getTypeScope(); - - /** - * The meta object literal for the 'Sets New' attribute feature. - * - * - * @generated - */ - EAttribute TYPE_SCOPE__SETS_NEW = eINSTANCE.getTypeScope_SetsNew(); - - /** - * The meta object literal for the 'Sets Sum' attribute feature. - * - * - * @generated - */ - EAttribute TYPE_SCOPE__SETS_SUM = eINSTANCE.getTypeScope_SetsSum(); - - /** - * The meta object literal for the 'Number' containment reference feature. - * - * - * @generated - */ - EReference TYPE_SCOPE__NUMBER = eINSTANCE.getTypeScope_Number(); - - /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ClassTypeScopeImpl Class Type Scope}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ClassTypeScopeImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getClassTypeScope() - * @generated - */ - EClass CLASS_TYPE_SCOPE = eINSTANCE.getClassTypeScope(); - - /** - * The meta object literal for the 'Type' containment reference feature. - * - * - * @generated - */ - EReference CLASS_TYPE_SCOPE__TYPE = eINSTANCE.getClassTypeScope_Type(); - - /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ObjectTypeScopeImpl Object Type Scope}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ObjectTypeScopeImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getObjectTypeScope() - * @generated - */ - EClass OBJECT_TYPE_SCOPE = eINSTANCE.getObjectTypeScope(); - - /** - * The meta object literal for the 'Type' containment reference feature. - * - * - * @generated - */ - EReference OBJECT_TYPE_SCOPE__TYPE = eINSTANCE.getObjectTypeScope_Type(); - - /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.IntegerTypeScopeImpl Integer Type Scope}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.IntegerTypeScopeImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getIntegerTypeScope() - * @generated - */ - EClass INTEGER_TYPE_SCOPE = eINSTANCE.getIntegerTypeScope(); - - /** - * The meta object literal for the 'Type' containment reference feature. - * - * - * @generated - */ - EReference INTEGER_TYPE_SCOPE__TYPE = eINSTANCE.getIntegerTypeScope_Type(); - - /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.RealTypeScopeImpl Real Type Scope}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.RealTypeScopeImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getRealTypeScope() - * @generated - */ - EClass REAL_TYPE_SCOPE = eINSTANCE.getRealTypeScope(); - - /** - * The meta object literal for the 'Type' containment reference feature. - * - * - * @generated - */ - EReference REAL_TYPE_SCOPE__TYPE = eINSTANCE.getRealTypeScope_Type(); - - /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.StringTypeScopeImpl String Type Scope}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.StringTypeScopeImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getStringTypeScope() - * @generated - */ - EClass STRING_TYPE_SCOPE = eINSTANCE.getStringTypeScope(); - - /** - * The meta object literal for the 'Type' containment reference feature. - * - * - * @generated - */ - EReference STRING_TYPE_SCOPE__TYPE = eINSTANCE.getStringTypeScope_Type(); - - /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.TypeReferenceImpl Type Reference}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.TypeReferenceImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getTypeReference() - * @generated - */ - EClass TYPE_REFERENCE = eINSTANCE.getTypeReference(); - - /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ClassReferenceImpl Class Reference}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ClassReferenceImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getClassReference() - * @generated - */ - EClass CLASS_REFERENCE = eINSTANCE.getClassReference(); - - /** - * The meta object literal for the 'Element' containment reference feature. - * - * - * @generated - */ - EReference CLASS_REFERENCE__ELEMENT = eINSTANCE.getClassReference_Element(); - - /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ObjectReferenceImpl Object Reference}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ObjectReferenceImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getObjectReference() - * @generated - */ - EClass OBJECT_REFERENCE = eINSTANCE.getObjectReference(); - - /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.IntegerReferenceImpl Integer Reference}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.IntegerReferenceImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getIntegerReference() - * @generated - */ - EClass INTEGER_REFERENCE = eINSTANCE.getIntegerReference(); - - /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.RealReferenceImpl Real Reference}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.RealReferenceImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getRealReference() - * @generated - */ - EClass REAL_REFERENCE = eINSTANCE.getRealReference(); - - /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.StringReferenceImpl String Reference}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.StringReferenceImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getStringReference() - * @generated - */ - EClass STRING_REFERENCE = eINSTANCE.getStringReference(); - - /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.NumberSpecificationImpl Number Specification}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.NumberSpecificationImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getNumberSpecification() - * @generated - */ - EClass NUMBER_SPECIFICATION = eINSTANCE.getNumberSpecification(); - - /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ExactNumberImpl Exact Number}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ExactNumberImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getExactNumber() - * @generated - */ - EClass EXACT_NUMBER = eINSTANCE.getExactNumber(); - - /** - * The meta object literal for the 'Exact Number' attribute feature. - * - * - * @generated - */ - EAttribute EXACT_NUMBER__EXACT_NUMBER = eINSTANCE.getExactNumber_ExactNumber(); - - /** - * The meta object literal for the 'Exact Unlimited' attribute feature. - * - * - * @generated - */ - EAttribute EXACT_NUMBER__EXACT_UNLIMITED = eINSTANCE.getExactNumber_ExactUnlimited(); - - /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.IntervallNumberImpl Intervall Number}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.IntervallNumberImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getIntervallNumber() - * @generated - */ - EClass INTERVALL_NUMBER = eINSTANCE.getIntervallNumber(); - - /** - * The meta object literal for the 'Min' attribute feature. - * - * - * @generated - */ - EAttribute INTERVALL_NUMBER__MIN = eINSTANCE.getIntervallNumber_Min(); - - /** - * The meta object literal for the 'Max Number' attribute feature. - * - * - * @generated - */ - EAttribute INTERVALL_NUMBER__MAX_NUMBER = eINSTANCE.getIntervallNumber_MaxNumber(); - - /** - * The meta object literal for the 'Max Unlimited' attribute feature. - * - * - * @generated - */ - EAttribute INTERVALL_NUMBER__MAX_UNLIMITED = eINSTANCE.getIntervallNumber_MaxUnlimited(); - - /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.IntEnumberationImpl Int Enumberation}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.IntEnumberationImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getIntEnumberation() - * @generated - */ - EClass INT_ENUMBERATION = eINSTANCE.getIntEnumberation(); - - /** - * The meta object literal for the 'Entry' attribute list feature. - * - * - * @generated - */ - EAttribute INT_ENUMBERATION__ENTRY = eINSTANCE.getIntEnumberation_Entry(); - - /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.RealEnumerationImpl Real Enumeration}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.RealEnumerationImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getRealEnumeration() - * @generated - */ - EClass REAL_ENUMERATION = eINSTANCE.getRealEnumeration(); - - /** - * The meta object literal for the 'Entry' attribute list feature. - * - * - * @generated - */ - EAttribute REAL_ENUMERATION__ENTRY = eINSTANCE.getRealEnumeration_Entry(); - - /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.StringEnumerationImpl String Enumeration}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.StringEnumerationImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getStringEnumeration() - * @generated - */ - EClass STRING_ENUMERATION = eINSTANCE.getStringEnumeration(); - - /** - * The meta object literal for the 'Entry' attribute list feature. - * - * - * @generated - */ - EAttribute STRING_ENUMERATION__ENTRY = eINSTANCE.getStringEnumeration_Entry(); - - /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ScopeDeclarationImpl Scope Declaration}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ScopeDeclarationImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getScopeDeclaration() - * @generated - */ - EClass SCOPE_DECLARATION = eINSTANCE.getScopeDeclaration(); - - /** - * The meta object literal for the 'Specification' containment reference feature. - * - * - * @generated - */ - EReference SCOPE_DECLARATION__SPECIFICATION = eINSTANCE.getScopeDeclaration_Specification(); - - /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ScopeReferenceImpl Scope Reference}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ScopeReferenceImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getScopeReference() - * @generated - */ - EClass SCOPE_REFERENCE = eINSTANCE.getScopeReference(); - - /** - * The meta object literal for the 'Referred' reference feature. - * - * - * @generated - */ - EReference SCOPE_REFERENCE__REFERRED = eINSTANCE.getScopeReference_Referred(); - - /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ScopeImpl Scope}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ScopeImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getScope() - * @generated - */ - EClass SCOPE = eINSTANCE.getScope(); - - /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.TaskImpl Task}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.TaskImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getTask() - * @generated - */ - EClass TASK = eINSTANCE.getTask(); - - /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.GenerationTaskImpl Generation Task}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.GenerationTaskImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getGenerationTask() - * @generated - */ - EClass GENERATION_TASK = eINSTANCE.getGenerationTask(); - - /** - * The meta object literal for the 'Metamodel' containment reference feature. - * - * - * @generated - */ - EReference GENERATION_TASK__METAMODEL = eINSTANCE.getGenerationTask_Metamodel(); - - /** - * The meta object literal for the 'Partial Model' containment reference feature. - * - * - * @generated - */ - EReference GENERATION_TASK__PARTIAL_MODEL = eINSTANCE.getGenerationTask_PartialModel(); - - /** - * The meta object literal for the 'Patterns' containment reference feature. - * - * - * @generated - */ - EReference GENERATION_TASK__PATTERNS = eINSTANCE.getGenerationTask_Patterns(); - - /** - * The meta object literal for the 'Scope' containment reference feature. - * - * - * @generated - */ - EReference GENERATION_TASK__SCOPE = eINSTANCE.getGenerationTask_Scope(); - - /** - * The meta object literal for the 'Number Specified' attribute feature. - * - * - * @generated - */ - EAttribute GENERATION_TASK__NUMBER_SPECIFIED = eINSTANCE.getGenerationTask_NumberSpecified(); - - /** - * The meta object literal for the 'Number' attribute feature. - * - * - * @generated - */ - EAttribute GENERATION_TASK__NUMBER = eINSTANCE.getGenerationTask_Number(); - - /** - * The meta object literal for the 'Run Specified' attribute feature. - * - * - * @generated - */ - EAttribute GENERATION_TASK__RUN_SPECIFIED = eINSTANCE.getGenerationTask_RunSpecified(); - - /** - * The meta object literal for the 'Runs' attribute feature. - * - * - * @generated - */ - EAttribute GENERATION_TASK__RUNS = eINSTANCE.getGenerationTask_Runs(); - - /** - * The meta object literal for the 'Solver' attribute feature. - * - * - * @generated - */ - EAttribute GENERATION_TASK__SOLVER = eINSTANCE.getGenerationTask_Solver(); - - /** - * The meta object literal for the 'Config' containment reference feature. - * - * - * @generated - */ - EReference GENERATION_TASK__CONFIG = eINSTANCE.getGenerationTask_Config(); - - /** - * The meta object literal for the 'Debug Folder' containment reference feature. - * - * - * @generated - */ - EReference GENERATION_TASK__DEBUG_FOLDER = eINSTANCE.getGenerationTask_DebugFolder(); - - /** - * The meta object literal for the 'Target Log File' containment reference feature. - * - * - * @generated - */ - EReference GENERATION_TASK__TARGET_LOG_FILE = eINSTANCE.getGenerationTask_TargetLogFile(); - - /** - * The meta object literal for the 'Target Statistics File' containment reference feature. - * - * - * @generated - */ - EReference GENERATION_TASK__TARGET_STATISTICS_FILE = eINSTANCE.getGenerationTask_TargetStatisticsFile(); - - /** - * The meta object literal for the 'Taget Folder' containment reference feature. - * - * - * @generated - */ - EReference GENERATION_TASK__TAGET_FOLDER = eINSTANCE.getGenerationTask_TagetFolder(); - - /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.IntegerScopeImpl Integer Scope}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.IntegerScopeImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getIntegerScope() - * @generated - */ - EClass INTEGER_SCOPE = eINSTANCE.getIntegerScope(); - - /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.RealScopeImpl Real Scope}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.RealScopeImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getRealScope() - * @generated - */ - EClass REAL_SCOPE = eINSTANCE.getRealScope(); - - /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.StringScopeImpl String Scope}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.StringScopeImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getStringScope() - * @generated - */ - EClass STRING_SCOPE = eINSTANCE.getStringScope(); - - /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.DocumentLevelSpecification Document Level Specification}' enum. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.DocumentLevelSpecification - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getDocumentLevelSpecification() - * @generated - */ - EEnum DOCUMENT_LEVEL_SPECIFICATION = eINSTANCE.getDocumentLevelSpecification(); - - /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Solver Solver}' enum. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Solver - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getSolver() - * @generated - */ - EEnum SOLVER = eINSTANCE.getSolver(); - - } - -} //ApplicationConfigurationPackage +/** + * generated by Xtext 2.16.0 + */ +package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; + +import org.eclipse.emf.ecore.EAttribute; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EEnum; +import org.eclipse.emf.ecore.EPackage; +import org.eclipse.emf.ecore.EReference; + +/** + * + * The Package for the model. + * It contains accessors for the meta objects to represent + *
    + *
  • each class,
  • + *
  • each feature of each class,
  • + *
  • each enum,
  • + *
  • and each data type
  • + *
+ * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationFactory + * @model kind="package" + * @generated + */ +public interface ApplicationConfigurationPackage extends EPackage +{ + /** + * The package name. + * + * + * @generated + */ + String eNAME = "applicationConfiguration"; + + /** + * The package namespace URI. + * + * + * @generated + */ + String eNS_URI = "http://www.bme.hu/mit/inf/dslreasoner/application/ApplicationConfiguration"; + + /** + * The package namespace name. + * + * + * @generated + */ + String eNS_PREFIX = "applicationConfiguration"; + + /** + * The singleton instance of the package. + * + * + * @generated + */ + ApplicationConfigurationPackage eINSTANCE = hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl.init(); + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ConfigurationScriptImpl Configuration Script}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ConfigurationScriptImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getConfigurationScript() + * @generated + */ + int CONFIGURATION_SCRIPT = 0; + + /** + * The feature id for the 'Imports' containment reference list. + * + * + * @generated + * @ordered + */ + int CONFIGURATION_SCRIPT__IMPORTS = 0; + + /** + * The feature id for the 'Commands' containment reference list. + * + * + * @generated + * @ordered + */ + int CONFIGURATION_SCRIPT__COMMANDS = 1; + + /** + * The number of structural features of the 'Configuration Script' class. + * + * + * @generated + * @ordered + */ + int CONFIGURATION_SCRIPT_FEATURE_COUNT = 2; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.CommandImpl Command}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.CommandImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getCommand() + * @generated + */ + int COMMAND = 1; + + /** + * The number of structural features of the 'Command' class. + * + * + * @generated + * @ordered + */ + int COMMAND_FEATURE_COUNT = 0; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ImportImpl Import}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ImportImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getImport() + * @generated + */ + int IMPORT = 2; + + /** + * The number of structural features of the 'Import' class. + * + * + * @generated + * @ordered + */ + int IMPORT_FEATURE_COUNT = 0; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.EPackageImportImpl EPackage Import}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.EPackageImportImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getEPackageImport() + * @generated + */ + int EPACKAGE_IMPORT = 3; + + /** + * The feature id for the 'Imported Package' reference. + * + * + * @generated + * @ordered + */ + int EPACKAGE_IMPORT__IMPORTED_PACKAGE = IMPORT_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'EPackage Import' class. + * + * + * @generated + * @ordered + */ + int EPACKAGE_IMPORT_FEATURE_COUNT = IMPORT_FEATURE_COUNT + 1; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ViatraImportImpl Viatra Import}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ViatraImportImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getViatraImport() + * @generated + */ + int VIATRA_IMPORT = 4; + + /** + * The feature id for the 'Imported Viatra' reference. + * + * + * @generated + * @ordered + */ + int VIATRA_IMPORT__IMPORTED_VIATRA = IMPORT_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'Viatra Import' class. + * + * + * @generated + * @ordered + */ + int VIATRA_IMPORT_FEATURE_COUNT = IMPORT_FEATURE_COUNT + 1; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.CftImportImpl Cft Import}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.CftImportImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getCftImport() + * @generated + */ + int CFT_IMPORT = 5; + + /** + * The feature id for the 'Imported Cft' reference. + * + * + * @generated + * @ordered + */ + int CFT_IMPORT__IMPORTED_CFT = IMPORT_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'Cft Import' class. + * + * + * @generated + * @ordered + */ + int CFT_IMPORT_FEATURE_COUNT = IMPORT_FEATURE_COUNT + 1; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.DeclarationImpl Declaration}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.DeclarationImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getDeclaration() + * @generated + */ + int DECLARATION = 6; + + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + int DECLARATION__NAME = COMMAND_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'Declaration' class. + * + * + * @generated + * @ordered + */ + int DECLARATION_FEATURE_COUNT = COMMAND_FEATURE_COUNT + 1; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.FileImpl File}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.FileImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getFile() + * @generated + */ + int FILE = 10; + + /** + * The number of structural features of the 'File' class. + * + * + * @generated + * @ordered + */ + int FILE_FEATURE_COUNT = 0; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.FileSpecificationImpl File Specification}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.FileSpecificationImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getFileSpecification() + * @generated + */ + int FILE_SPECIFICATION = 7; + + /** + * The feature id for the 'Path' attribute. + * + * + * @generated + * @ordered + */ + int FILE_SPECIFICATION__PATH = FILE_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'File Specification' class. + * + * + * @generated + * @ordered + */ + int FILE_SPECIFICATION_FEATURE_COUNT = FILE_FEATURE_COUNT + 1; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.FileDeclarationImpl File Declaration}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.FileDeclarationImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getFileDeclaration() + * @generated + */ + int FILE_DECLARATION = 8; + + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + int FILE_DECLARATION__NAME = DECLARATION__NAME; + + /** + * The feature id for the 'Specification' containment reference. + * + * + * @generated + * @ordered + */ + int FILE_DECLARATION__SPECIFICATION = DECLARATION_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'File Declaration' class. + * + * + * @generated + * @ordered + */ + int FILE_DECLARATION_FEATURE_COUNT = DECLARATION_FEATURE_COUNT + 1; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.FileReferenceImpl File Reference}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.FileReferenceImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getFileReference() + * @generated + */ + int FILE_REFERENCE = 9; + + /** + * The feature id for the 'Referred' reference. + * + * + * @generated + * @ordered + */ + int FILE_REFERENCE__REFERRED = FILE_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'File Reference' class. + * + * + * @generated + * @ordered + */ + int FILE_REFERENCE_FEATURE_COUNT = FILE_FEATURE_COUNT + 1; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MetamodelImpl Metamodel}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MetamodelImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getMetamodel() + * @generated + */ + int METAMODEL = 17; + + /** + * The number of structural features of the 'Metamodel' class. + * + * + * @generated + * @ordered + */ + int METAMODEL_FEATURE_COUNT = 0; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MetamodelSpecificationImpl Metamodel Specification}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MetamodelSpecificationImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getMetamodelSpecification() + * @generated + */ + int METAMODEL_SPECIFICATION = 11; + + /** + * The feature id for the 'Entries' containment reference list. + * + * + * @generated + * @ordered + */ + int METAMODEL_SPECIFICATION__ENTRIES = METAMODEL_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'Metamodel Specification' class. + * + * + * @generated + * @ordered + */ + int METAMODEL_SPECIFICATION_FEATURE_COUNT = METAMODEL_FEATURE_COUNT + 1; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MetamodelEntryImpl Metamodel Entry}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MetamodelEntryImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getMetamodelEntry() + * @generated + */ + int METAMODEL_ENTRY = 12; + + /** + * The feature id for the 'Package' reference. + * + * + * @generated + * @ordered + */ + int METAMODEL_ENTRY__PACKAGE = 0; + + /** + * The number of structural features of the 'Metamodel Entry' class. + * + * + * @generated + * @ordered + */ + int METAMODEL_ENTRY_FEATURE_COUNT = 1; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.AllPackageEntryImpl All Package Entry}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.AllPackageEntryImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getAllPackageEntry() + * @generated + */ + int ALL_PACKAGE_ENTRY = 13; + + /** + * The feature id for the 'Package' reference. + * + * + * @generated + * @ordered + */ + int ALL_PACKAGE_ENTRY__PACKAGE = METAMODEL_ENTRY__PACKAGE; + + /** + * The feature id for the 'Exclusion' containment reference list. + * + * + * @generated + * @ordered + */ + int ALL_PACKAGE_ENTRY__EXCLUSION = METAMODEL_ENTRY_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'All Package Entry' class. + * + * + * @generated + * @ordered + */ + int ALL_PACKAGE_ENTRY_FEATURE_COUNT = METAMODEL_ENTRY_FEATURE_COUNT + 1; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MetamodelElementImpl Metamodel Element}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MetamodelElementImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getMetamodelElement() + * @generated + */ + int METAMODEL_ELEMENT = 14; + + /** + * The feature id for the 'Package' reference. + * + * + * @generated + * @ordered + */ + int METAMODEL_ELEMENT__PACKAGE = METAMODEL_ENTRY__PACKAGE; + + /** + * The feature id for the 'Classifier' reference. + * + * + * @generated + * @ordered + */ + int METAMODEL_ELEMENT__CLASSIFIER = METAMODEL_ENTRY_FEATURE_COUNT + 0; + + /** + * The feature id for the 'Feature' reference. + * + * + * @generated + * @ordered + */ + int METAMODEL_ELEMENT__FEATURE = METAMODEL_ENTRY_FEATURE_COUNT + 1; + + /** + * The number of structural features of the 'Metamodel Element' class. + * + * + * @generated + * @ordered + */ + int METAMODEL_ELEMENT_FEATURE_COUNT = METAMODEL_ENTRY_FEATURE_COUNT + 2; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MetamodelDeclarationImpl Metamodel Declaration}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MetamodelDeclarationImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getMetamodelDeclaration() + * @generated + */ + int METAMODEL_DECLARATION = 15; + + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + int METAMODEL_DECLARATION__NAME = DECLARATION__NAME; + + /** + * The feature id for the 'Specification' containment reference. + * + * + * @generated + * @ordered + */ + int METAMODEL_DECLARATION__SPECIFICATION = DECLARATION_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'Metamodel Declaration' class. + * + * + * @generated + * @ordered + */ + int METAMODEL_DECLARATION_FEATURE_COUNT = DECLARATION_FEATURE_COUNT + 1; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MetamodelReferenceImpl Metamodel Reference}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MetamodelReferenceImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getMetamodelReference() + * @generated + */ + int METAMODEL_REFERENCE = 16; + + /** + * The feature id for the 'Referred' reference. + * + * + * @generated + * @ordered + */ + int METAMODEL_REFERENCE__REFERRED = METAMODEL_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'Metamodel Reference' class. + * + * + * @generated + * @ordered + */ + int METAMODEL_REFERENCE_FEATURE_COUNT = METAMODEL_FEATURE_COUNT + 1; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.PartialModelImpl Partial Model}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.PartialModelImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getPartialModel() + * @generated + */ + int PARTIAL_MODEL = 24; + + /** + * The number of structural features of the 'Partial Model' class. + * + * + * @generated + * @ordered + */ + int PARTIAL_MODEL_FEATURE_COUNT = 0; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.PartialModelSpecificationImpl Partial Model Specification}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.PartialModelSpecificationImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getPartialModelSpecification() + * @generated + */ + int PARTIAL_MODEL_SPECIFICATION = 18; + + /** + * The feature id for the 'Entry' containment reference list. + * + * + * @generated + * @ordered + */ + int PARTIAL_MODEL_SPECIFICATION__ENTRY = PARTIAL_MODEL_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'Partial Model Specification' class. + * + * + * @generated + * @ordered + */ + int PARTIAL_MODEL_SPECIFICATION_FEATURE_COUNT = PARTIAL_MODEL_FEATURE_COUNT + 1; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.PartialModelEntryImpl Partial Model Entry}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.PartialModelEntryImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getPartialModelEntry() + * @generated + */ + int PARTIAL_MODEL_ENTRY = 19; + + /** + * The feature id for the 'Path' containment reference. + * + * + * @generated + * @ordered + */ + int PARTIAL_MODEL_ENTRY__PATH = 0; + + /** + * The number of structural features of the 'Partial Model Entry' class. + * + * + * @generated + * @ordered + */ + int PARTIAL_MODEL_ENTRY_FEATURE_COUNT = 1; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ModelEntryImpl Model Entry}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ModelEntryImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getModelEntry() + * @generated + */ + int MODEL_ENTRY = 20; + + /** + * The feature id for the 'Path' containment reference. + * + * + * @generated + * @ordered + */ + int MODEL_ENTRY__PATH = PARTIAL_MODEL_ENTRY__PATH; + + /** + * The number of structural features of the 'Model Entry' class. + * + * + * @generated + * @ordered + */ + int MODEL_ENTRY_FEATURE_COUNT = PARTIAL_MODEL_ENTRY_FEATURE_COUNT + 0; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.FolderEntryImpl Folder Entry}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.FolderEntryImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getFolderEntry() + * @generated + */ + int FOLDER_ENTRY = 21; + + /** + * The feature id for the 'Path' containment reference. + * + * + * @generated + * @ordered + */ + int FOLDER_ENTRY__PATH = PARTIAL_MODEL_ENTRY__PATH; + + /** + * The feature id for the 'Exclusion' containment reference list. + * + * + * @generated + * @ordered + */ + int FOLDER_ENTRY__EXCLUSION = PARTIAL_MODEL_ENTRY_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'Folder Entry' class. + * + * + * @generated + * @ordered + */ + int FOLDER_ENTRY_FEATURE_COUNT = PARTIAL_MODEL_ENTRY_FEATURE_COUNT + 1; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.PartialModelDeclarationImpl Partial Model Declaration}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.PartialModelDeclarationImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getPartialModelDeclaration() + * @generated + */ + int PARTIAL_MODEL_DECLARATION = 22; + + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + int PARTIAL_MODEL_DECLARATION__NAME = DECLARATION__NAME; + + /** + * The feature id for the 'Specification' containment reference. + * + * + * @generated + * @ordered + */ + int PARTIAL_MODEL_DECLARATION__SPECIFICATION = DECLARATION_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'Partial Model Declaration' class. + * + * + * @generated + * @ordered + */ + int PARTIAL_MODEL_DECLARATION_FEATURE_COUNT = DECLARATION_FEATURE_COUNT + 1; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.PartialModelReferenceImpl Partial Model Reference}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.PartialModelReferenceImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getPartialModelReference() + * @generated + */ + int PARTIAL_MODEL_REFERENCE = 23; + + /** + * The feature id for the 'Referred' reference. + * + * + * @generated + * @ordered + */ + int PARTIAL_MODEL_REFERENCE__REFERRED = PARTIAL_MODEL_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'Partial Model Reference' class. + * + * + * @generated + * @ordered + */ + int PARTIAL_MODEL_REFERENCE_FEATURE_COUNT = PARTIAL_MODEL_FEATURE_COUNT + 1; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.GraphPatternImpl Graph Pattern}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.GraphPatternImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getGraphPattern() + * @generated + */ + int GRAPH_PATTERN = 31; + + /** + * The number of structural features of the 'Graph Pattern' class. + * + * + * @generated + * @ordered + */ + int GRAPH_PATTERN_FEATURE_COUNT = 0; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.PatternSpecificationImpl Pattern Specification}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.PatternSpecificationImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getPatternSpecification() + * @generated + */ + int PATTERN_SPECIFICATION = 25; + + /** + * The feature id for the 'Entries' containment reference list. + * + * + * @generated + * @ordered + */ + int PATTERN_SPECIFICATION__ENTRIES = GRAPH_PATTERN_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'Pattern Specification' class. + * + * + * @generated + * @ordered + */ + int PATTERN_SPECIFICATION_FEATURE_COUNT = GRAPH_PATTERN_FEATURE_COUNT + 1; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.PatternEntryImpl Pattern Entry}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.PatternEntryImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getPatternEntry() + * @generated + */ + int PATTERN_ENTRY = 26; + + /** + * The feature id for the 'Package' reference. + * + * + * @generated + * @ordered + */ + int PATTERN_ENTRY__PACKAGE = 0; + + /** + * The number of structural features of the 'Pattern Entry' class. + * + * + * @generated + * @ordered + */ + int PATTERN_ENTRY_FEATURE_COUNT = 1; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.AllPatternEntryImpl All Pattern Entry}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.AllPatternEntryImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getAllPatternEntry() + * @generated + */ + int ALL_PATTERN_ENTRY = 27; + + /** + * The feature id for the 'Package' reference. + * + * + * @generated + * @ordered + */ + int ALL_PATTERN_ENTRY__PACKAGE = PATTERN_ENTRY__PACKAGE; + + /** + * The feature id for the 'Exclusuion' containment reference list. + * + * + * @generated + * @ordered + */ + int ALL_PATTERN_ENTRY__EXCLUSUION = PATTERN_ENTRY_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'All Pattern Entry' class. + * + * + * @generated + * @ordered + */ + int ALL_PATTERN_ENTRY_FEATURE_COUNT = PATTERN_ENTRY_FEATURE_COUNT + 1; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.PatternElementImpl Pattern Element}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.PatternElementImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getPatternElement() + * @generated + */ + int PATTERN_ELEMENT = 28; + + /** + * The feature id for the 'Package' reference. + * + * + * @generated + * @ordered + */ + int PATTERN_ELEMENT__PACKAGE = PATTERN_ENTRY__PACKAGE; + + /** + * The feature id for the 'Pattern' reference. + * + * + * @generated + * @ordered + */ + int PATTERN_ELEMENT__PATTERN = PATTERN_ENTRY_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'Pattern Element' class. + * + * + * @generated + * @ordered + */ + int PATTERN_ELEMENT_FEATURE_COUNT = PATTERN_ENTRY_FEATURE_COUNT + 1; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.GraphPatternDeclarationImpl Graph Pattern Declaration}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.GraphPatternDeclarationImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getGraphPatternDeclaration() + * @generated + */ + int GRAPH_PATTERN_DECLARATION = 29; + + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + int GRAPH_PATTERN_DECLARATION__NAME = DECLARATION__NAME; + + /** + * The feature id for the 'Specification' containment reference. + * + * + * @generated + * @ordered + */ + int GRAPH_PATTERN_DECLARATION__SPECIFICATION = DECLARATION_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'Graph Pattern Declaration' class. + * + * + * @generated + * @ordered + */ + int GRAPH_PATTERN_DECLARATION_FEATURE_COUNT = DECLARATION_FEATURE_COUNT + 1; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.GraphPatternReferenceImpl Graph Pattern Reference}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.GraphPatternReferenceImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getGraphPatternReference() + * @generated + */ + int GRAPH_PATTERN_REFERENCE = 30; + + /** + * The feature id for the 'Referred' reference. + * + * + * @generated + * @ordered + */ + int GRAPH_PATTERN_REFERENCE__REFERRED = GRAPH_PATTERN_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'Graph Pattern Reference' class. + * + * + * @generated + * @ordered + */ + int GRAPH_PATTERN_REFERENCE_FEATURE_COUNT = GRAPH_PATTERN_FEATURE_COUNT + 1; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ObjectiveImpl Objective}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ObjectiveImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getObjective() + * @generated + */ + int OBJECTIVE = 40; + + /** + * The number of structural features of the 'Objective' class. + * + * + * @generated + * @ordered + */ + int OBJECTIVE_FEATURE_COUNT = 0; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ObjectiveSpecificationImpl Objective Specification}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ObjectiveSpecificationImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getObjectiveSpecification() + * @generated + */ + int OBJECTIVE_SPECIFICATION = 32; + + /** + * The feature id for the 'Entries' containment reference list. + * + * + * @generated + * @ordered + */ + int OBJECTIVE_SPECIFICATION__ENTRIES = OBJECTIVE_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'Objective Specification' class. + * + * + * @generated + * @ordered + */ + int OBJECTIVE_SPECIFICATION_FEATURE_COUNT = OBJECTIVE_FEATURE_COUNT + 1; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ObjectiveEntryImpl Objective Entry}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ObjectiveEntryImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getObjectiveEntry() + * @generated + */ + int OBJECTIVE_ENTRY = 33; + + /** + * The feature id for the 'Function' containment reference. + * + * + * @generated + * @ordered + */ + int OBJECTIVE_ENTRY__FUNCTION = 0; + + /** + * The number of structural features of the 'Objective Entry' class. + * + * + * @generated + * @ordered + */ + int OBJECTIVE_ENTRY_FEATURE_COUNT = 1; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.OptimizationEntryImpl Optimization Entry}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.OptimizationEntryImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getOptimizationEntry() + * @generated + */ + int OPTIMIZATION_ENTRY = 34; + + /** + * The feature id for the 'Function' containment reference. + * + * + * @generated + * @ordered + */ + int OPTIMIZATION_ENTRY__FUNCTION = OBJECTIVE_ENTRY__FUNCTION; + + /** + * The feature id for the 'Direction' attribute. + * + * + * @generated + * @ordered + */ + int OPTIMIZATION_ENTRY__DIRECTION = OBJECTIVE_ENTRY_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'Optimization Entry' class. + * + * + * @generated + * @ordered + */ + int OPTIMIZATION_ENTRY_FEATURE_COUNT = OBJECTIVE_ENTRY_FEATURE_COUNT + 1; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ThresholdEntryImpl Threshold Entry}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ThresholdEntryImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getThresholdEntry() + * @generated + */ + int THRESHOLD_ENTRY = 35; + + /** + * The feature id for the 'Function' containment reference. + * + * + * @generated + * @ordered + */ + int THRESHOLD_ENTRY__FUNCTION = OBJECTIVE_ENTRY__FUNCTION; + + /** + * The feature id for the 'Operator' attribute. + * + * + * @generated + * @ordered + */ + int THRESHOLD_ENTRY__OPERATOR = OBJECTIVE_ENTRY_FEATURE_COUNT + 0; + + /** + * The feature id for the 'Threshold' attribute. + * + * + * @generated + * @ordered + */ + int THRESHOLD_ENTRY__THRESHOLD = OBJECTIVE_ENTRY_FEATURE_COUNT + 1; + + /** + * The number of structural features of the 'Threshold Entry' class. + * + * + * @generated + * @ordered + */ + int THRESHOLD_ENTRY_FEATURE_COUNT = OBJECTIVE_ENTRY_FEATURE_COUNT + 2; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ObjectiveFunctionImpl Objective Function}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ObjectiveFunctionImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getObjectiveFunction() + * @generated + */ + int OBJECTIVE_FUNCTION = 36; + + /** + * The number of structural features of the 'Objective Function' class. + * + * + * @generated + * @ordered + */ + int OBJECTIVE_FUNCTION_FEATURE_COUNT = 0; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ReliabiltiyFunctionImpl Reliabiltiy Function}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ReliabiltiyFunctionImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getReliabiltiyFunction() + * @generated + */ + int RELIABILTIY_FUNCTION = 37; + + /** + * The feature id for the 'Package' reference. + * + * + * @generated + * @ordered + */ + int RELIABILTIY_FUNCTION__PACKAGE = OBJECTIVE_FUNCTION_FEATURE_COUNT + 0; + + /** + * The feature id for the 'Transformation' reference. + * + * + * @generated + * @ordered + */ + int RELIABILTIY_FUNCTION__TRANSFORMATION = OBJECTIVE_FUNCTION_FEATURE_COUNT + 1; + + /** + * The number of structural features of the 'Reliabiltiy Function' class. + * + * + * @generated + * @ordered + */ + int RELIABILTIY_FUNCTION_FEATURE_COUNT = OBJECTIVE_FUNCTION_FEATURE_COUNT + 2; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ObjectiveDeclarationImpl Objective Declaration}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ObjectiveDeclarationImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getObjectiveDeclaration() + * @generated + */ + int OBJECTIVE_DECLARATION = 38; + + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + int OBJECTIVE_DECLARATION__NAME = DECLARATION__NAME; + + /** + * The feature id for the 'Specification' containment reference. + * + * + * @generated + * @ordered + */ + int OBJECTIVE_DECLARATION__SPECIFICATION = DECLARATION_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'Objective Declaration' class. + * + * + * @generated + * @ordered + */ + int OBJECTIVE_DECLARATION_FEATURE_COUNT = DECLARATION_FEATURE_COUNT + 1; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ObjectiveReferenceImpl Objective Reference}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ObjectiveReferenceImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getObjectiveReference() + * @generated + */ + int OBJECTIVE_REFERENCE = 39; + + /** + * The feature id for the 'Referred' reference. + * + * + * @generated + * @ordered + */ + int OBJECTIVE_REFERENCE__REFERRED = OBJECTIVE_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'Objective Reference' class. + * + * + * @generated + * @ordered + */ + int OBJECTIVE_REFERENCE_FEATURE_COUNT = OBJECTIVE_FEATURE_COUNT + 1; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ConfigImpl Config}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ConfigImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getConfig() + * @generated + */ + int CONFIG = 49; + + /** + * The number of structural features of the 'Config' class. + * + * + * @generated + * @ordered + */ + int CONFIG_FEATURE_COUNT = 0; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ConfigSpecificationImpl Config Specification}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ConfigSpecificationImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getConfigSpecification() + * @generated + */ + int CONFIG_SPECIFICATION = 41; + + /** + * The feature id for the 'Entries' containment reference list. + * + * + * @generated + * @ordered + */ + int CONFIG_SPECIFICATION__ENTRIES = CONFIG_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'Config Specification' class. + * + * + * @generated + * @ordered + */ + int CONFIG_SPECIFICATION_FEATURE_COUNT = CONFIG_FEATURE_COUNT + 1; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ConfigDeclarationImpl Config Declaration}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ConfigDeclarationImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getConfigDeclaration() + * @generated + */ + int CONFIG_DECLARATION = 42; + + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + int CONFIG_DECLARATION__NAME = DECLARATION__NAME; + + /** + * The feature id for the 'Specification' containment reference. + * + * + * @generated + * @ordered + */ + int CONFIG_DECLARATION__SPECIFICATION = DECLARATION_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'Config Declaration' class. + * + * + * @generated + * @ordered + */ + int CONFIG_DECLARATION_FEATURE_COUNT = DECLARATION_FEATURE_COUNT + 1; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ConfigEntryImpl Config Entry}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ConfigEntryImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getConfigEntry() + * @generated + */ + int CONFIG_ENTRY = 43; + + /** + * The number of structural features of the 'Config Entry' class. + * + * + * @generated + * @ordered + */ + int CONFIG_ENTRY_FEATURE_COUNT = 0; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.DocumentationEntryImpl Documentation Entry}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.DocumentationEntryImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getDocumentationEntry() + * @generated + */ + int DOCUMENTATION_ENTRY = 44; + + /** + * The feature id for the 'Level' attribute. + * + * + * @generated + * @ordered + */ + int DOCUMENTATION_ENTRY__LEVEL = CONFIG_ENTRY_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'Documentation Entry' class. + * + * + * @generated + * @ordered + */ + int DOCUMENTATION_ENTRY_FEATURE_COUNT = CONFIG_ENTRY_FEATURE_COUNT + 1; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.RuntimeEntryImpl Runtime Entry}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.RuntimeEntryImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getRuntimeEntry() + * @generated + */ + int RUNTIME_ENTRY = 45; + + /** + * The feature id for the 'Millisec Limit' attribute. + * + * + * @generated + * @ordered + */ + int RUNTIME_ENTRY__MILLISEC_LIMIT = CONFIG_ENTRY_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'Runtime Entry' class. + * + * + * @generated + * @ordered + */ + int RUNTIME_ENTRY_FEATURE_COUNT = CONFIG_ENTRY_FEATURE_COUNT + 1; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MemoryEntryImpl Memory Entry}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MemoryEntryImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getMemoryEntry() + * @generated + */ + int MEMORY_ENTRY = 46; + + /** + * The feature id for the 'Megabyte Limit' attribute. + * + * + * @generated + * @ordered + */ + int MEMORY_ENTRY__MEGABYTE_LIMIT = CONFIG_ENTRY_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'Memory Entry' class. + * + * + * @generated + * @ordered + */ + int MEMORY_ENTRY_FEATURE_COUNT = CONFIG_ENTRY_FEATURE_COUNT + 1; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.CustomEntryImpl Custom Entry}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.CustomEntryImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getCustomEntry() + * @generated + */ + int CUSTOM_ENTRY = 47; + + /** + * The feature id for the 'Key' attribute. + * + * + * @generated + * @ordered + */ + int CUSTOM_ENTRY__KEY = CONFIG_ENTRY_FEATURE_COUNT + 0; + + /** + * The feature id for the 'Value' attribute. + * + * + * @generated + * @ordered + */ + int CUSTOM_ENTRY__VALUE = CONFIG_ENTRY_FEATURE_COUNT + 1; + + /** + * The number of structural features of the 'Custom Entry' class. + * + * + * @generated + * @ordered + */ + int CUSTOM_ENTRY_FEATURE_COUNT = CONFIG_ENTRY_FEATURE_COUNT + 2; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ConfigReferenceImpl Config Reference}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ConfigReferenceImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getConfigReference() + * @generated + */ + int CONFIG_REFERENCE = 48; + + /** + * The feature id for the 'Config' reference. + * + * + * @generated + * @ordered + */ + int CONFIG_REFERENCE__CONFIG = CONFIG_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'Config Reference' class. + * + * + * @generated + * @ordered + */ + int CONFIG_REFERENCE_FEATURE_COUNT = CONFIG_FEATURE_COUNT + 1; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ScopeImpl Scope}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ScopeImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getScope() + * @generated + */ + int SCOPE = 71; + + /** + * The number of structural features of the 'Scope' class. + * + * + * @generated + * @ordered + */ + int SCOPE_FEATURE_COUNT = 0; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ScopeSpecificationImpl Scope Specification}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ScopeSpecificationImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getScopeSpecification() + * @generated + */ + int SCOPE_SPECIFICATION = 50; + + /** + * The feature id for the 'Scopes' containment reference list. + * + * + * @generated + * @ordered + */ + int SCOPE_SPECIFICATION__SCOPES = SCOPE_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'Scope Specification' class. + * + * + * @generated + * @ordered + */ + int SCOPE_SPECIFICATION_FEATURE_COUNT = SCOPE_FEATURE_COUNT + 1; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.TypeScopeImpl Type Scope}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.TypeScopeImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getTypeScope() + * @generated + */ + int TYPE_SCOPE = 51; + + /** + * The feature id for the 'Sets New' attribute. + * + * + * @generated + * @ordered + */ + int TYPE_SCOPE__SETS_NEW = 0; + + /** + * The feature id for the 'Sets Sum' attribute. + * + * + * @generated + * @ordered + */ + int TYPE_SCOPE__SETS_SUM = 1; + + /** + * The feature id for the 'Number' containment reference. + * + * + * @generated + * @ordered + */ + int TYPE_SCOPE__NUMBER = 2; + + /** + * The number of structural features of the 'Type Scope' class. + * + * + * @generated + * @ordered + */ + int TYPE_SCOPE_FEATURE_COUNT = 3; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ClassTypeScopeImpl Class Type Scope}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ClassTypeScopeImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getClassTypeScope() + * @generated + */ + int CLASS_TYPE_SCOPE = 52; + + /** + * The feature id for the 'Sets New' attribute. + * + * + * @generated + * @ordered + */ + int CLASS_TYPE_SCOPE__SETS_NEW = TYPE_SCOPE__SETS_NEW; + + /** + * The feature id for the 'Sets Sum' attribute. + * + * + * @generated + * @ordered + */ + int CLASS_TYPE_SCOPE__SETS_SUM = TYPE_SCOPE__SETS_SUM; + + /** + * The feature id for the 'Number' containment reference. + * + * + * @generated + * @ordered + */ + int CLASS_TYPE_SCOPE__NUMBER = TYPE_SCOPE__NUMBER; + + /** + * The feature id for the 'Type' containment reference. + * + * + * @generated + * @ordered + */ + int CLASS_TYPE_SCOPE__TYPE = TYPE_SCOPE_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'Class Type Scope' class. + * + * + * @generated + * @ordered + */ + int CLASS_TYPE_SCOPE_FEATURE_COUNT = TYPE_SCOPE_FEATURE_COUNT + 1; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ObjectTypeScopeImpl Object Type Scope}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ObjectTypeScopeImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getObjectTypeScope() + * @generated + */ + int OBJECT_TYPE_SCOPE = 53; + + /** + * The feature id for the 'Sets New' attribute. + * + * + * @generated + * @ordered + */ + int OBJECT_TYPE_SCOPE__SETS_NEW = TYPE_SCOPE__SETS_NEW; + + /** + * The feature id for the 'Sets Sum' attribute. + * + * + * @generated + * @ordered + */ + int OBJECT_TYPE_SCOPE__SETS_SUM = TYPE_SCOPE__SETS_SUM; + + /** + * The feature id for the 'Number' containment reference. + * + * + * @generated + * @ordered + */ + int OBJECT_TYPE_SCOPE__NUMBER = TYPE_SCOPE__NUMBER; + + /** + * The feature id for the 'Type' containment reference. + * + * + * @generated + * @ordered + */ + int OBJECT_TYPE_SCOPE__TYPE = TYPE_SCOPE_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'Object Type Scope' class. + * + * + * @generated + * @ordered + */ + int OBJECT_TYPE_SCOPE_FEATURE_COUNT = TYPE_SCOPE_FEATURE_COUNT + 1; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.IntegerTypeScopeImpl Integer Type Scope}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.IntegerTypeScopeImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getIntegerTypeScope() + * @generated + */ + int INTEGER_TYPE_SCOPE = 54; + + /** + * The feature id for the 'Sets New' attribute. + * + * + * @generated + * @ordered + */ + int INTEGER_TYPE_SCOPE__SETS_NEW = TYPE_SCOPE__SETS_NEW; + + /** + * The feature id for the 'Sets Sum' attribute. + * + * + * @generated + * @ordered + */ + int INTEGER_TYPE_SCOPE__SETS_SUM = TYPE_SCOPE__SETS_SUM; + + /** + * The feature id for the 'Number' containment reference. + * + * + * @generated + * @ordered + */ + int INTEGER_TYPE_SCOPE__NUMBER = TYPE_SCOPE__NUMBER; + + /** + * The feature id for the 'Type' containment reference. + * + * + * @generated + * @ordered + */ + int INTEGER_TYPE_SCOPE__TYPE = TYPE_SCOPE_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'Integer Type Scope' class. + * + * + * @generated + * @ordered + */ + int INTEGER_TYPE_SCOPE_FEATURE_COUNT = TYPE_SCOPE_FEATURE_COUNT + 1; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.RealTypeScopeImpl Real Type Scope}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.RealTypeScopeImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getRealTypeScope() + * @generated + */ + int REAL_TYPE_SCOPE = 55; + + /** + * The feature id for the 'Sets New' attribute. + * + * + * @generated + * @ordered + */ + int REAL_TYPE_SCOPE__SETS_NEW = TYPE_SCOPE__SETS_NEW; + + /** + * The feature id for the 'Sets Sum' attribute. + * + * + * @generated + * @ordered + */ + int REAL_TYPE_SCOPE__SETS_SUM = TYPE_SCOPE__SETS_SUM; + + /** + * The feature id for the 'Number' containment reference. + * + * + * @generated + * @ordered + */ + int REAL_TYPE_SCOPE__NUMBER = TYPE_SCOPE__NUMBER; + + /** + * The feature id for the 'Type' containment reference. + * + * + * @generated + * @ordered + */ + int REAL_TYPE_SCOPE__TYPE = TYPE_SCOPE_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'Real Type Scope' class. + * + * + * @generated + * @ordered + */ + int REAL_TYPE_SCOPE_FEATURE_COUNT = TYPE_SCOPE_FEATURE_COUNT + 1; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.StringTypeScopeImpl String Type Scope}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.StringTypeScopeImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getStringTypeScope() + * @generated + */ + int STRING_TYPE_SCOPE = 56; + + /** + * The feature id for the 'Sets New' attribute. + * + * + * @generated + * @ordered + */ + int STRING_TYPE_SCOPE__SETS_NEW = TYPE_SCOPE__SETS_NEW; + + /** + * The feature id for the 'Sets Sum' attribute. + * + * + * @generated + * @ordered + */ + int STRING_TYPE_SCOPE__SETS_SUM = TYPE_SCOPE__SETS_SUM; + + /** + * The feature id for the 'Number' containment reference. + * + * + * @generated + * @ordered + */ + int STRING_TYPE_SCOPE__NUMBER = TYPE_SCOPE__NUMBER; + + /** + * The feature id for the 'Type' containment reference. + * + * + * @generated + * @ordered + */ + int STRING_TYPE_SCOPE__TYPE = TYPE_SCOPE_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'String Type Scope' class. + * + * + * @generated + * @ordered + */ + int STRING_TYPE_SCOPE_FEATURE_COUNT = TYPE_SCOPE_FEATURE_COUNT + 1; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.TypeReferenceImpl Type Reference}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.TypeReferenceImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getTypeReference() + * @generated + */ + int TYPE_REFERENCE = 57; + + /** + * The number of structural features of the 'Type Reference' class. + * + * + * @generated + * @ordered + */ + int TYPE_REFERENCE_FEATURE_COUNT = 0; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ClassReferenceImpl Class Reference}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ClassReferenceImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getClassReference() + * @generated + */ + int CLASS_REFERENCE = 58; + + /** + * The feature id for the 'Element' containment reference. + * + * + * @generated + * @ordered + */ + int CLASS_REFERENCE__ELEMENT = TYPE_REFERENCE_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'Class Reference' class. + * + * + * @generated + * @ordered + */ + int CLASS_REFERENCE_FEATURE_COUNT = TYPE_REFERENCE_FEATURE_COUNT + 1; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ObjectReferenceImpl Object Reference}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ObjectReferenceImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getObjectReference() + * @generated + */ + int OBJECT_REFERENCE = 59; + + /** + * The number of structural features of the 'Object Reference' class. + * + * + * @generated + * @ordered + */ + int OBJECT_REFERENCE_FEATURE_COUNT = TYPE_REFERENCE_FEATURE_COUNT + 0; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.IntegerReferenceImpl Integer Reference}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.IntegerReferenceImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getIntegerReference() + * @generated + */ + int INTEGER_REFERENCE = 60; + + /** + * The number of structural features of the 'Integer Reference' class. + * + * + * @generated + * @ordered + */ + int INTEGER_REFERENCE_FEATURE_COUNT = TYPE_REFERENCE_FEATURE_COUNT + 0; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.RealReferenceImpl Real Reference}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.RealReferenceImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getRealReference() + * @generated + */ + int REAL_REFERENCE = 61; + + /** + * The number of structural features of the 'Real Reference' class. + * + * + * @generated + * @ordered + */ + int REAL_REFERENCE_FEATURE_COUNT = TYPE_REFERENCE_FEATURE_COUNT + 0; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.StringReferenceImpl String Reference}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.StringReferenceImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getStringReference() + * @generated + */ + int STRING_REFERENCE = 62; + + /** + * The number of structural features of the 'String Reference' class. + * + * + * @generated + * @ordered + */ + int STRING_REFERENCE_FEATURE_COUNT = TYPE_REFERENCE_FEATURE_COUNT + 0; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.NumberSpecificationImpl Number Specification}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.NumberSpecificationImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getNumberSpecification() + * @generated + */ + int NUMBER_SPECIFICATION = 63; + + /** + * The number of structural features of the 'Number Specification' class. + * + * + * @generated + * @ordered + */ + int NUMBER_SPECIFICATION_FEATURE_COUNT = 0; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ExactNumberImpl Exact Number}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ExactNumberImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getExactNumber() + * @generated + */ + int EXACT_NUMBER = 64; + + /** + * The feature id for the 'Exact Number' attribute. + * + * + * @generated + * @ordered + */ + int EXACT_NUMBER__EXACT_NUMBER = NUMBER_SPECIFICATION_FEATURE_COUNT + 0; + + /** + * The feature id for the 'Exact Unlimited' attribute. + * + * + * @generated + * @ordered + */ + int EXACT_NUMBER__EXACT_UNLIMITED = NUMBER_SPECIFICATION_FEATURE_COUNT + 1; + + /** + * The number of structural features of the 'Exact Number' class. + * + * + * @generated + * @ordered + */ + int EXACT_NUMBER_FEATURE_COUNT = NUMBER_SPECIFICATION_FEATURE_COUNT + 2; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.IntervallNumberImpl Intervall Number}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.IntervallNumberImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getIntervallNumber() + * @generated + */ + int INTERVALL_NUMBER = 65; + + /** + * The feature id for the 'Min' attribute. + * + * + * @generated + * @ordered + */ + int INTERVALL_NUMBER__MIN = NUMBER_SPECIFICATION_FEATURE_COUNT + 0; + + /** + * The feature id for the 'Max Number' attribute. + * + * + * @generated + * @ordered + */ + int INTERVALL_NUMBER__MAX_NUMBER = NUMBER_SPECIFICATION_FEATURE_COUNT + 1; + + /** + * The feature id for the 'Max Unlimited' attribute. + * + * + * @generated + * @ordered + */ + int INTERVALL_NUMBER__MAX_UNLIMITED = NUMBER_SPECIFICATION_FEATURE_COUNT + 2; + + /** + * The number of structural features of the 'Intervall Number' class. + * + * + * @generated + * @ordered + */ + int INTERVALL_NUMBER_FEATURE_COUNT = NUMBER_SPECIFICATION_FEATURE_COUNT + 3; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.IntEnumberationImpl Int Enumberation}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.IntEnumberationImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getIntEnumberation() + * @generated + */ + int INT_ENUMBERATION = 66; + + /** + * The feature id for the 'Entry' attribute list. + * + * + * @generated + * @ordered + */ + int INT_ENUMBERATION__ENTRY = NUMBER_SPECIFICATION_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'Int Enumberation' class. + * + * + * @generated + * @ordered + */ + int INT_ENUMBERATION_FEATURE_COUNT = NUMBER_SPECIFICATION_FEATURE_COUNT + 1; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.RealEnumerationImpl Real Enumeration}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.RealEnumerationImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getRealEnumeration() + * @generated + */ + int REAL_ENUMERATION = 67; + + /** + * The feature id for the 'Entry' attribute list. + * + * + * @generated + * @ordered + */ + int REAL_ENUMERATION__ENTRY = NUMBER_SPECIFICATION_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'Real Enumeration' class. + * + * + * @generated + * @ordered + */ + int REAL_ENUMERATION_FEATURE_COUNT = NUMBER_SPECIFICATION_FEATURE_COUNT + 1; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.StringEnumerationImpl String Enumeration}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.StringEnumerationImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getStringEnumeration() + * @generated + */ + int STRING_ENUMERATION = 68; + + /** + * The feature id for the 'Entry' attribute list. + * + * + * @generated + * @ordered + */ + int STRING_ENUMERATION__ENTRY = NUMBER_SPECIFICATION_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'String Enumeration' class. + * + * + * @generated + * @ordered + */ + int STRING_ENUMERATION_FEATURE_COUNT = NUMBER_SPECIFICATION_FEATURE_COUNT + 1; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ScopeDeclarationImpl Scope Declaration}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ScopeDeclarationImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getScopeDeclaration() + * @generated + */ + int SCOPE_DECLARATION = 69; + + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + int SCOPE_DECLARATION__NAME = DECLARATION__NAME; + + /** + * The feature id for the 'Specification' containment reference. + * + * + * @generated + * @ordered + */ + int SCOPE_DECLARATION__SPECIFICATION = DECLARATION_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'Scope Declaration' class. + * + * + * @generated + * @ordered + */ + int SCOPE_DECLARATION_FEATURE_COUNT = DECLARATION_FEATURE_COUNT + 1; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ScopeReferenceImpl Scope Reference}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ScopeReferenceImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getScopeReference() + * @generated + */ + int SCOPE_REFERENCE = 70; + + /** + * The feature id for the 'Referred' reference. + * + * + * @generated + * @ordered + */ + int SCOPE_REFERENCE__REFERRED = SCOPE_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'Scope Reference' class. + * + * + * @generated + * @ordered + */ + int SCOPE_REFERENCE_FEATURE_COUNT = SCOPE_FEATURE_COUNT + 1; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.TaskImpl Task}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.TaskImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getTask() + * @generated + */ + int TASK = 72; + + /** + * The number of structural features of the 'Task' class. + * + * + * @generated + * @ordered + */ + int TASK_FEATURE_COUNT = COMMAND_FEATURE_COUNT + 0; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.GenerationTaskImpl Generation Task}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.GenerationTaskImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getGenerationTask() + * @generated + */ + int GENERATION_TASK = 73; + + /** + * The feature id for the 'Metamodel' containment reference. + * + * + * @generated + * @ordered + */ + int GENERATION_TASK__METAMODEL = TASK_FEATURE_COUNT + 0; + + /** + * The feature id for the 'Partial Model' containment reference. + * + * + * @generated + * @ordered + */ + int GENERATION_TASK__PARTIAL_MODEL = TASK_FEATURE_COUNT + 1; + + /** + * The feature id for the 'Patterns' containment reference. + * + * + * @generated + * @ordered + */ + int GENERATION_TASK__PATTERNS = TASK_FEATURE_COUNT + 2; + + /** + * The feature id for the 'Objectives' containment reference. + * + * + * @generated + * @ordered + */ + int GENERATION_TASK__OBJECTIVES = TASK_FEATURE_COUNT + 3; + + /** + * The feature id for the 'Scope' containment reference. + * + * + * @generated + * @ordered + */ + int GENERATION_TASK__SCOPE = TASK_FEATURE_COUNT + 4; + + /** + * The feature id for the 'Number Specified' attribute. + * + * + * @generated + * @ordered + */ + int GENERATION_TASK__NUMBER_SPECIFIED = TASK_FEATURE_COUNT + 5; + + /** + * The feature id for the 'Number' attribute. + * + * + * @generated + * @ordered + */ + int GENERATION_TASK__NUMBER = TASK_FEATURE_COUNT + 6; + + /** + * The feature id for the 'Run Specified' attribute. + * + * + * @generated + * @ordered + */ + int GENERATION_TASK__RUN_SPECIFIED = TASK_FEATURE_COUNT + 7; + + /** + * The feature id for the 'Runs' attribute. + * + * + * @generated + * @ordered + */ + int GENERATION_TASK__RUNS = TASK_FEATURE_COUNT + 8; + + /** + * The feature id for the 'Solver' attribute. + * + * + * @generated + * @ordered + */ + int GENERATION_TASK__SOLVER = TASK_FEATURE_COUNT + 9; + + /** + * The feature id for the 'Config' containment reference. + * + * + * @generated + * @ordered + */ + int GENERATION_TASK__CONFIG = TASK_FEATURE_COUNT + 10; + + /** + * The feature id for the 'Debug Folder' containment reference. + * + * + * @generated + * @ordered + */ + int GENERATION_TASK__DEBUG_FOLDER = TASK_FEATURE_COUNT + 11; + + /** + * The feature id for the 'Target Log File' containment reference. + * + * + * @generated + * @ordered + */ + int GENERATION_TASK__TARGET_LOG_FILE = TASK_FEATURE_COUNT + 12; + + /** + * The feature id for the 'Target Statistics File' containment reference. + * + * + * @generated + * @ordered + */ + int GENERATION_TASK__TARGET_STATISTICS_FILE = TASK_FEATURE_COUNT + 13; + + /** + * The feature id for the 'Taget Folder' containment reference. + * + * + * @generated + * @ordered + */ + int GENERATION_TASK__TAGET_FOLDER = TASK_FEATURE_COUNT + 14; + + /** + * The number of structural features of the 'Generation Task' class. + * + * + * @generated + * @ordered + */ + int GENERATION_TASK_FEATURE_COUNT = TASK_FEATURE_COUNT + 15; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.IntegerScopeImpl Integer Scope}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.IntegerScopeImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getIntegerScope() + * @generated + */ + int INTEGER_SCOPE = 74; + + /** + * The number of structural features of the 'Integer Scope' class. + * + * + * @generated + * @ordered + */ + int INTEGER_SCOPE_FEATURE_COUNT = INTEGER_REFERENCE_FEATURE_COUNT + 0; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.RealScopeImpl Real Scope}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.RealScopeImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getRealScope() + * @generated + */ + int REAL_SCOPE = 75; + + /** + * The number of structural features of the 'Real Scope' class. + * + * + * @generated + * @ordered + */ + int REAL_SCOPE_FEATURE_COUNT = REAL_REFERENCE_FEATURE_COUNT + 0; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.StringScopeImpl String Scope}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.StringScopeImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getStringScope() + * @generated + */ + int STRING_SCOPE = 76; + + /** + * The number of structural features of the 'String Scope' class. + * + * + * @generated + * @ordered + */ + int STRING_SCOPE_FEATURE_COUNT = STRING_REFERENCE_FEATURE_COUNT + 0; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.OptimizationDirection Optimization Direction}' enum. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.OptimizationDirection + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getOptimizationDirection() + * @generated + */ + int OPTIMIZATION_DIRECTION = 77; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ComparisonOperator Comparison Operator}' enum. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ComparisonOperator + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getComparisonOperator() + * @generated + */ + int COMPARISON_OPERATOR = 78; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.DocumentLevelSpecification Document Level Specification}' enum. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.DocumentLevelSpecification + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getDocumentLevelSpecification() + * @generated + */ + int DOCUMENT_LEVEL_SPECIFICATION = 79; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Solver Solver}' enum. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Solver + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getSolver() + * @generated + */ + int SOLVER = 80; + + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigurationScript Configuration Script}'. + * + * + * @return the meta object for class 'Configuration Script'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigurationScript + * @generated + */ + EClass getConfigurationScript(); + + /** + * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigurationScript#getImports Imports}'. + * + * + * @return the meta object for the containment reference list 'Imports'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigurationScript#getImports() + * @see #getConfigurationScript() + * @generated + */ + EReference getConfigurationScript_Imports(); + + /** + * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigurationScript#getCommands Commands}'. + * + * + * @return the meta object for the containment reference list 'Commands'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigurationScript#getCommands() + * @see #getConfigurationScript() + * @generated + */ + EReference getConfigurationScript_Commands(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Command Command}'. + * + * + * @return the meta object for class 'Command'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Command + * @generated + */ + EClass getCommand(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Import Import}'. + * + * + * @return the meta object for class 'Import'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Import + * @generated + */ + EClass getImport(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.EPackageImport EPackage Import}'. + * + * + * @return the meta object for class 'EPackage Import'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.EPackageImport + * @generated + */ + EClass getEPackageImport(); + + /** + * Returns the meta object for the reference '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.EPackageImport#getImportedPackage Imported Package}'. + * + * + * @return the meta object for the reference 'Imported Package'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.EPackageImport#getImportedPackage() + * @see #getEPackageImport() + * @generated + */ + EReference getEPackageImport_ImportedPackage(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ViatraImport Viatra Import}'. + * + * + * @return the meta object for class 'Viatra Import'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ViatraImport + * @generated + */ + EClass getViatraImport(); + + /** + * Returns the meta object for the reference '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ViatraImport#getImportedViatra Imported Viatra}'. + * + * + * @return the meta object for the reference 'Imported Viatra'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ViatraImport#getImportedViatra() + * @see #getViatraImport() + * @generated + */ + EReference getViatraImport_ImportedViatra(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.CftImport Cft Import}'. + * + * + * @return the meta object for class 'Cft Import'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.CftImport + * @generated + */ + EClass getCftImport(); + + /** + * Returns the meta object for the reference '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.CftImport#getImportedCft Imported Cft}'. + * + * + * @return the meta object for the reference 'Imported Cft'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.CftImport#getImportedCft() + * @see #getCftImport() + * @generated + */ + EReference getCftImport_ImportedCft(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Declaration Declaration}'. + * + * + * @return the meta object for class 'Declaration'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Declaration + * @generated + */ + EClass getDeclaration(); + + /** + * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Declaration#getName Name}'. + * + * + * @return the meta object for the attribute 'Name'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Declaration#getName() + * @see #getDeclaration() + * @generated + */ + EAttribute getDeclaration_Name(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.FileSpecification File Specification}'. + * + * + * @return the meta object for class 'File Specification'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.FileSpecification + * @generated + */ + EClass getFileSpecification(); + + /** + * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.FileSpecification#getPath Path}'. + * + * + * @return the meta object for the attribute 'Path'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.FileSpecification#getPath() + * @see #getFileSpecification() + * @generated + */ + EAttribute getFileSpecification_Path(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.FileDeclaration File Declaration}'. + * + * + * @return the meta object for class 'File Declaration'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.FileDeclaration + * @generated + */ + EClass getFileDeclaration(); + + /** + * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.FileDeclaration#getSpecification Specification}'. + * + * + * @return the meta object for the containment reference 'Specification'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.FileDeclaration#getSpecification() + * @see #getFileDeclaration() + * @generated + */ + EReference getFileDeclaration_Specification(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.FileReference File Reference}'. + * + * + * @return the meta object for class 'File Reference'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.FileReference + * @generated + */ + EClass getFileReference(); + + /** + * Returns the meta object for the reference '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.FileReference#getReferred Referred}'. + * + * + * @return the meta object for the reference 'Referred'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.FileReference#getReferred() + * @see #getFileReference() + * @generated + */ + EReference getFileReference_Referred(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.File File}'. + * + * + * @return the meta object for class 'File'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.File + * @generated + */ + EClass getFile(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelSpecification Metamodel Specification}'. + * + * + * @return the meta object for class 'Metamodel Specification'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelSpecification + * @generated + */ + EClass getMetamodelSpecification(); + + /** + * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelSpecification#getEntries Entries}'. + * + * + * @return the meta object for the containment reference list 'Entries'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelSpecification#getEntries() + * @see #getMetamodelSpecification() + * @generated + */ + EReference getMetamodelSpecification_Entries(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelEntry Metamodel Entry}'. + * + * + * @return the meta object for class 'Metamodel Entry'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelEntry + * @generated + */ + EClass getMetamodelEntry(); + + /** + * Returns the meta object for the reference '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelEntry#getPackage Package}'. + * + * + * @return the meta object for the reference 'Package'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelEntry#getPackage() + * @see #getMetamodelEntry() + * @generated + */ + EReference getMetamodelEntry_Package(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.AllPackageEntry All Package Entry}'. + * + * + * @return the meta object for class 'All Package Entry'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.AllPackageEntry + * @generated + */ + EClass getAllPackageEntry(); + + /** + * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.AllPackageEntry#getExclusion Exclusion}'. + * + * + * @return the meta object for the containment reference list 'Exclusion'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.AllPackageEntry#getExclusion() + * @see #getAllPackageEntry() + * @generated + */ + EReference getAllPackageEntry_Exclusion(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelElement Metamodel Element}'. + * + * + * @return the meta object for class 'Metamodel Element'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelElement + * @generated + */ + EClass getMetamodelElement(); + + /** + * Returns the meta object for the reference '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelElement#getClassifier Classifier}'. + * + * + * @return the meta object for the reference 'Classifier'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelElement#getClassifier() + * @see #getMetamodelElement() + * @generated + */ + EReference getMetamodelElement_Classifier(); + + /** + * Returns the meta object for the reference '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelElement#getFeature Feature}'. + * + * + * @return the meta object for the reference 'Feature'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelElement#getFeature() + * @see #getMetamodelElement() + * @generated + */ + EReference getMetamodelElement_Feature(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelDeclaration Metamodel Declaration}'. + * + * + * @return the meta object for class 'Metamodel Declaration'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelDeclaration + * @generated + */ + EClass getMetamodelDeclaration(); + + /** + * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelDeclaration#getSpecification Specification}'. + * + * + * @return the meta object for the containment reference 'Specification'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelDeclaration#getSpecification() + * @see #getMetamodelDeclaration() + * @generated + */ + EReference getMetamodelDeclaration_Specification(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelReference Metamodel Reference}'. + * + * + * @return the meta object for class 'Metamodel Reference'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelReference + * @generated + */ + EClass getMetamodelReference(); + + /** + * Returns the meta object for the reference '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelReference#getReferred Referred}'. + * + * + * @return the meta object for the reference 'Referred'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelReference#getReferred() + * @see #getMetamodelReference() + * @generated + */ + EReference getMetamodelReference_Referred(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Metamodel Metamodel}'. + * + * + * @return the meta object for class 'Metamodel'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Metamodel + * @generated + */ + EClass getMetamodel(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModelSpecification Partial Model Specification}'. + * + * + * @return the meta object for class 'Partial Model Specification'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModelSpecification + * @generated + */ + EClass getPartialModelSpecification(); + + /** + * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModelSpecification#getEntry Entry}'. + * + * + * @return the meta object for the containment reference list 'Entry'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModelSpecification#getEntry() + * @see #getPartialModelSpecification() + * @generated + */ + EReference getPartialModelSpecification_Entry(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModelEntry Partial Model Entry}'. + * + * + * @return the meta object for class 'Partial Model Entry'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModelEntry + * @generated + */ + EClass getPartialModelEntry(); + + /** + * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModelEntry#getPath Path}'. + * + * + * @return the meta object for the containment reference 'Path'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModelEntry#getPath() + * @see #getPartialModelEntry() + * @generated + */ + EReference getPartialModelEntry_Path(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ModelEntry Model Entry}'. + * + * + * @return the meta object for class 'Model Entry'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ModelEntry + * @generated + */ + EClass getModelEntry(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.FolderEntry Folder Entry}'. + * + * + * @return the meta object for class 'Folder Entry'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.FolderEntry + * @generated + */ + EClass getFolderEntry(); + + /** + * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.FolderEntry#getExclusion Exclusion}'. + * + * + * @return the meta object for the containment reference list 'Exclusion'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.FolderEntry#getExclusion() + * @see #getFolderEntry() + * @generated + */ + EReference getFolderEntry_Exclusion(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModelDeclaration Partial Model Declaration}'. + * + * + * @return the meta object for class 'Partial Model Declaration'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModelDeclaration + * @generated + */ + EClass getPartialModelDeclaration(); + + /** + * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModelDeclaration#getSpecification Specification}'. + * + * + * @return the meta object for the containment reference 'Specification'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModelDeclaration#getSpecification() + * @see #getPartialModelDeclaration() + * @generated + */ + EReference getPartialModelDeclaration_Specification(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModelReference Partial Model Reference}'. + * + * + * @return the meta object for class 'Partial Model Reference'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModelReference + * @generated + */ + EClass getPartialModelReference(); + + /** + * Returns the meta object for the reference '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModelReference#getReferred Referred}'. + * + * + * @return the meta object for the reference 'Referred'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModelReference#getReferred() + * @see #getPartialModelReference() + * @generated + */ + EReference getPartialModelReference_Referred(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModel Partial Model}'. + * + * + * @return the meta object for class 'Partial Model'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModel + * @generated + */ + EClass getPartialModel(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PatternSpecification Pattern Specification}'. + * + * + * @return the meta object for class 'Pattern Specification'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PatternSpecification + * @generated + */ + EClass getPatternSpecification(); + + /** + * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PatternSpecification#getEntries Entries}'. + * + * + * @return the meta object for the containment reference list 'Entries'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PatternSpecification#getEntries() + * @see #getPatternSpecification() + * @generated + */ + EReference getPatternSpecification_Entries(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PatternEntry Pattern Entry}'. + * + * + * @return the meta object for class 'Pattern Entry'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PatternEntry + * @generated + */ + EClass getPatternEntry(); + + /** + * Returns the meta object for the reference '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PatternEntry#getPackage Package}'. + * + * + * @return the meta object for the reference 'Package'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PatternEntry#getPackage() + * @see #getPatternEntry() + * @generated + */ + EReference getPatternEntry_Package(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.AllPatternEntry All Pattern Entry}'. + * + * + * @return the meta object for class 'All Pattern Entry'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.AllPatternEntry + * @generated + */ + EClass getAllPatternEntry(); + + /** + * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.AllPatternEntry#getExclusuion Exclusuion}'. + * + * + * @return the meta object for the containment reference list 'Exclusuion'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.AllPatternEntry#getExclusuion() + * @see #getAllPatternEntry() + * @generated + */ + EReference getAllPatternEntry_Exclusuion(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PatternElement Pattern Element}'. + * + * + * @return the meta object for class 'Pattern Element'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PatternElement + * @generated + */ + EClass getPatternElement(); + + /** + * Returns the meta object for the reference '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PatternElement#getPattern Pattern}'. + * + * + * @return the meta object for the reference 'Pattern'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PatternElement#getPattern() + * @see #getPatternElement() + * @generated + */ + EReference getPatternElement_Pattern(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GraphPatternDeclaration Graph Pattern Declaration}'. + * + * + * @return the meta object for class 'Graph Pattern Declaration'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GraphPatternDeclaration + * @generated + */ + EClass getGraphPatternDeclaration(); + + /** + * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GraphPatternDeclaration#getSpecification Specification}'. + * + * + * @return the meta object for the containment reference 'Specification'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GraphPatternDeclaration#getSpecification() + * @see #getGraphPatternDeclaration() + * @generated + */ + EReference getGraphPatternDeclaration_Specification(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GraphPatternReference Graph Pattern Reference}'. + * + * + * @return the meta object for class 'Graph Pattern Reference'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GraphPatternReference + * @generated + */ + EClass getGraphPatternReference(); + + /** + * Returns the meta object for the reference '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GraphPatternReference#getReferred Referred}'. + * + * + * @return the meta object for the reference 'Referred'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GraphPatternReference#getReferred() + * @see #getGraphPatternReference() + * @generated + */ + EReference getGraphPatternReference_Referred(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GraphPattern Graph Pattern}'. + * + * + * @return the meta object for class 'Graph Pattern'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GraphPattern + * @generated + */ + EClass getGraphPattern(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ObjectiveSpecification Objective Specification}'. + * + * + * @return the meta object for class 'Objective Specification'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ObjectiveSpecification + * @generated + */ + EClass getObjectiveSpecification(); + + /** + * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ObjectiveSpecification#getEntries Entries}'. + * + * + * @return the meta object for the containment reference list 'Entries'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ObjectiveSpecification#getEntries() + * @see #getObjectiveSpecification() + * @generated + */ + EReference getObjectiveSpecification_Entries(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ObjectiveEntry Objective Entry}'. + * + * + * @return the meta object for class 'Objective Entry'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ObjectiveEntry + * @generated + */ + EClass getObjectiveEntry(); + + /** + * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ObjectiveEntry#getFunction Function}'. + * + * + * @return the meta object for the containment reference 'Function'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ObjectiveEntry#getFunction() + * @see #getObjectiveEntry() + * @generated + */ + EReference getObjectiveEntry_Function(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.OptimizationEntry Optimization Entry}'. + * + * + * @return the meta object for class 'Optimization Entry'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.OptimizationEntry + * @generated + */ + EClass getOptimizationEntry(); + + /** + * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.OptimizationEntry#getDirection Direction}'. + * + * + * @return the meta object for the attribute 'Direction'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.OptimizationEntry#getDirection() + * @see #getOptimizationEntry() + * @generated + */ + EAttribute getOptimizationEntry_Direction(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ThresholdEntry Threshold Entry}'. + * + * + * @return the meta object for class 'Threshold Entry'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ThresholdEntry + * @generated + */ + EClass getThresholdEntry(); + + /** + * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ThresholdEntry#getOperator Operator}'. + * + * + * @return the meta object for the attribute 'Operator'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ThresholdEntry#getOperator() + * @see #getThresholdEntry() + * @generated + */ + EAttribute getThresholdEntry_Operator(); + + /** + * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ThresholdEntry#getThreshold Threshold}'. + * + * + * @return the meta object for the attribute 'Threshold'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ThresholdEntry#getThreshold() + * @see #getThresholdEntry() + * @generated + */ + EAttribute getThresholdEntry_Threshold(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ObjectiveFunction Objective Function}'. + * + * + * @return the meta object for class 'Objective Function'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ObjectiveFunction + * @generated + */ + EClass getObjectiveFunction(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ReliabiltiyFunction Reliabiltiy Function}'. + * + * + * @return the meta object for class 'Reliabiltiy Function'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ReliabiltiyFunction + * @generated + */ + EClass getReliabiltiyFunction(); + + /** + * Returns the meta object for the reference '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ReliabiltiyFunction#getPackage Package}'. + * + * + * @return the meta object for the reference 'Package'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ReliabiltiyFunction#getPackage() + * @see #getReliabiltiyFunction() + * @generated + */ + EReference getReliabiltiyFunction_Package(); + + /** + * Returns the meta object for the reference '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ReliabiltiyFunction#getTransformation Transformation}'. + * + * + * @return the meta object for the reference 'Transformation'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ReliabiltiyFunction#getTransformation() + * @see #getReliabiltiyFunction() + * @generated + */ + EReference getReliabiltiyFunction_Transformation(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ObjectiveDeclaration Objective Declaration}'. + * + * + * @return the meta object for class 'Objective Declaration'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ObjectiveDeclaration + * @generated + */ + EClass getObjectiveDeclaration(); + + /** + * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ObjectiveDeclaration#getSpecification Specification}'. + * + * + * @return the meta object for the containment reference 'Specification'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ObjectiveDeclaration#getSpecification() + * @see #getObjectiveDeclaration() + * @generated + */ + EReference getObjectiveDeclaration_Specification(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ObjectiveReference Objective Reference}'. + * + * + * @return the meta object for class 'Objective Reference'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ObjectiveReference + * @generated + */ + EClass getObjectiveReference(); + + /** + * Returns the meta object for the reference '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ObjectiveReference#getReferred Referred}'. + * + * + * @return the meta object for the reference 'Referred'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ObjectiveReference#getReferred() + * @see #getObjectiveReference() + * @generated + */ + EReference getObjectiveReference_Referred(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Objective Objective}'. + * + * + * @return the meta object for class 'Objective'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Objective + * @generated + */ + EClass getObjective(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigSpecification Config Specification}'. + * + * + * @return the meta object for class 'Config Specification'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigSpecification + * @generated + */ + EClass getConfigSpecification(); + + /** + * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigSpecification#getEntries Entries}'. + * + * + * @return the meta object for the containment reference list 'Entries'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigSpecification#getEntries() + * @see #getConfigSpecification() + * @generated + */ + EReference getConfigSpecification_Entries(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigDeclaration Config Declaration}'. + * + * + * @return the meta object for class 'Config Declaration'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigDeclaration + * @generated + */ + EClass getConfigDeclaration(); + + /** + * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigDeclaration#getSpecification Specification}'. + * + * + * @return the meta object for the containment reference 'Specification'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigDeclaration#getSpecification() + * @see #getConfigDeclaration() + * @generated + */ + EReference getConfigDeclaration_Specification(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigEntry Config Entry}'. + * + * + * @return the meta object for class 'Config Entry'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigEntry + * @generated + */ + EClass getConfigEntry(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.DocumentationEntry Documentation Entry}'. + * + * + * @return the meta object for class 'Documentation Entry'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.DocumentationEntry + * @generated + */ + EClass getDocumentationEntry(); + + /** + * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.DocumentationEntry#getLevel Level}'. + * + * + * @return the meta object for the attribute 'Level'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.DocumentationEntry#getLevel() + * @see #getDocumentationEntry() + * @generated + */ + EAttribute getDocumentationEntry_Level(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RuntimeEntry Runtime Entry}'. + * + * + * @return the meta object for class 'Runtime Entry'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RuntimeEntry + * @generated + */ + EClass getRuntimeEntry(); + + /** + * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RuntimeEntry#getMillisecLimit Millisec Limit}'. + * + * + * @return the meta object for the attribute 'Millisec Limit'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RuntimeEntry#getMillisecLimit() + * @see #getRuntimeEntry() + * @generated + */ + EAttribute getRuntimeEntry_MillisecLimit(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MemoryEntry Memory Entry}'. + * + * + * @return the meta object for class 'Memory Entry'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MemoryEntry + * @generated + */ + EClass getMemoryEntry(); + + /** + * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MemoryEntry#getMegabyteLimit Megabyte Limit}'. + * + * + * @return the meta object for the attribute 'Megabyte Limit'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MemoryEntry#getMegabyteLimit() + * @see #getMemoryEntry() + * @generated + */ + EAttribute getMemoryEntry_MegabyteLimit(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.CustomEntry Custom Entry}'. + * + * + * @return the meta object for class 'Custom Entry'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.CustomEntry + * @generated + */ + EClass getCustomEntry(); + + /** + * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.CustomEntry#getKey Key}'. + * + * + * @return the meta object for the attribute 'Key'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.CustomEntry#getKey() + * @see #getCustomEntry() + * @generated + */ + EAttribute getCustomEntry_Key(); + + /** + * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.CustomEntry#getValue Value}'. + * + * + * @return the meta object for the attribute 'Value'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.CustomEntry#getValue() + * @see #getCustomEntry() + * @generated + */ + EAttribute getCustomEntry_Value(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigReference Config Reference}'. + * + * + * @return the meta object for class 'Config Reference'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigReference + * @generated + */ + EClass getConfigReference(); + + /** + * Returns the meta object for the reference '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigReference#getConfig Config}'. + * + * + * @return the meta object for the reference 'Config'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigReference#getConfig() + * @see #getConfigReference() + * @generated + */ + EReference getConfigReference_Config(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Config Config}'. + * + * + * @return the meta object for class 'Config'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Config + * @generated + */ + EClass getConfig(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ScopeSpecification Scope Specification}'. + * + * + * @return the meta object for class 'Scope Specification'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ScopeSpecification + * @generated + */ + EClass getScopeSpecification(); + + /** + * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ScopeSpecification#getScopes Scopes}'. + * + * + * @return the meta object for the containment reference list 'Scopes'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ScopeSpecification#getScopes() + * @see #getScopeSpecification() + * @generated + */ + EReference getScopeSpecification_Scopes(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeScope Type Scope}'. + * + * + * @return the meta object for class 'Type Scope'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeScope + * @generated + */ + EClass getTypeScope(); + + /** + * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeScope#isSetsNew Sets New}'. + * + * + * @return the meta object for the attribute 'Sets New'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeScope#isSetsNew() + * @see #getTypeScope() + * @generated + */ + EAttribute getTypeScope_SetsNew(); + + /** + * 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 attribute 'Sets Sum'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeScope#isSetsSum() + * @see #getTypeScope() + * @generated + */ + EAttribute getTypeScope_SetsSum(); + + /** + * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeScope#getNumber Number}'. + * + * + * @return the meta object for the containment reference 'Number'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeScope#getNumber() + * @see #getTypeScope() + * @generated + */ + EReference getTypeScope_Number(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ClassTypeScope Class Type Scope}'. + * + * + * @return the meta object for class 'Class Type Scope'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ClassTypeScope + * @generated + */ + EClass getClassTypeScope(); + + /** + * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ClassTypeScope#getType Type}'. + * + * + * @return the meta object for the containment reference 'Type'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ClassTypeScope#getType() + * @see #getClassTypeScope() + * @generated + */ + EReference getClassTypeScope_Type(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ObjectTypeScope Object Type Scope}'. + * + * + * @return the meta object for class 'Object Type Scope'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ObjectTypeScope + * @generated + */ + EClass getObjectTypeScope(); + + /** + * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ObjectTypeScope#getType Type}'. + * + * + * @return the meta object for the containment reference 'Type'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ObjectTypeScope#getType() + * @see #getObjectTypeScope() + * @generated + */ + EReference getObjectTypeScope_Type(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntegerTypeScope Integer Type Scope}'. + * + * + * @return the meta object for class 'Integer Type Scope'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntegerTypeScope + * @generated + */ + EClass getIntegerTypeScope(); + + /** + * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntegerTypeScope#getType Type}'. + * + * + * @return the meta object for the containment reference 'Type'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntegerTypeScope#getType() + * @see #getIntegerTypeScope() + * @generated + */ + EReference getIntegerTypeScope_Type(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RealTypeScope Real Type Scope}'. + * + * + * @return the meta object for class 'Real Type Scope'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RealTypeScope + * @generated + */ + EClass getRealTypeScope(); + + /** + * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RealTypeScope#getType Type}'. + * + * + * @return the meta object for the containment reference 'Type'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RealTypeScope#getType() + * @see #getRealTypeScope() + * @generated + */ + EReference getRealTypeScope_Type(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.StringTypeScope String Type Scope}'. + * + * + * @return the meta object for class 'String Type Scope'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.StringTypeScope + * @generated + */ + EClass getStringTypeScope(); + + /** + * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.StringTypeScope#getType Type}'. + * + * + * @return the meta object for the containment reference 'Type'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.StringTypeScope#getType() + * @see #getStringTypeScope() + * @generated + */ + EReference getStringTypeScope_Type(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeReference Type Reference}'. + * + * + * @return the meta object for class 'Type Reference'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeReference + * @generated + */ + EClass getTypeReference(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ClassReference Class Reference}'. + * + * + * @return the meta object for class 'Class Reference'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ClassReference + * @generated + */ + EClass getClassReference(); + + /** + * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ClassReference#getElement Element}'. + * + * + * @return the meta object for the containment reference 'Element'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ClassReference#getElement() + * @see #getClassReference() + * @generated + */ + EReference getClassReference_Element(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ObjectReference Object Reference}'. + * + * + * @return the meta object for class 'Object Reference'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ObjectReference + * @generated + */ + EClass getObjectReference(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntegerReference Integer Reference}'. + * + * + * @return the meta object for class 'Integer Reference'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntegerReference + * @generated + */ + EClass getIntegerReference(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RealReference Real Reference}'. + * + * + * @return the meta object for class 'Real Reference'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RealReference + * @generated + */ + EClass getRealReference(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.StringReference String Reference}'. + * + * + * @return the meta object for class 'String Reference'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.StringReference + * @generated + */ + EClass getStringReference(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.NumberSpecification Number Specification}'. + * + * + * @return the meta object for class 'Number Specification'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.NumberSpecification + * @generated + */ + EClass getNumberSpecification(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ExactNumber Exact Number}'. + * + * + * @return the meta object for class 'Exact Number'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ExactNumber + * @generated + */ + EClass getExactNumber(); + + /** + * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ExactNumber#getExactNumber Exact Number}'. + * + * + * @return the meta object for the attribute 'Exact Number'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ExactNumber#getExactNumber() + * @see #getExactNumber() + * @generated + */ + EAttribute getExactNumber_ExactNumber(); + + /** + * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ExactNumber#isExactUnlimited Exact Unlimited}'. + * + * + * @return the meta object for the attribute 'Exact Unlimited'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ExactNumber#isExactUnlimited() + * @see #getExactNumber() + * @generated + */ + EAttribute getExactNumber_ExactUnlimited(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntervallNumber Intervall Number}'. + * + * + * @return the meta object for class 'Intervall Number'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntervallNumber + * @generated + */ + EClass getIntervallNumber(); + + /** + * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntervallNumber#getMin Min}'. + * + * + * @return the meta object for the attribute 'Min'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntervallNumber#getMin() + * @see #getIntervallNumber() + * @generated + */ + EAttribute getIntervallNumber_Min(); + + /** + * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntervallNumber#getMaxNumber Max Number}'. + * + * + * @return the meta object for the attribute 'Max Number'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntervallNumber#getMaxNumber() + * @see #getIntervallNumber() + * @generated + */ + EAttribute getIntervallNumber_MaxNumber(); + + /** + * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntervallNumber#isMaxUnlimited Max Unlimited}'. + * + * + * @return the meta object for the attribute 'Max Unlimited'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntervallNumber#isMaxUnlimited() + * @see #getIntervallNumber() + * @generated + */ + EAttribute getIntervallNumber_MaxUnlimited(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntEnumberation Int Enumberation}'. + * + * + * @return the meta object for class 'Int Enumberation'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntEnumberation + * @generated + */ + EClass getIntEnumberation(); + + /** + * Returns the meta object for the attribute list '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntEnumberation#getEntry Entry}'. + * + * + * @return the meta object for the attribute list 'Entry'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntEnumberation#getEntry() + * @see #getIntEnumberation() + * @generated + */ + EAttribute getIntEnumberation_Entry(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RealEnumeration Real Enumeration}'. + * + * + * @return the meta object for class 'Real Enumeration'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RealEnumeration + * @generated + */ + EClass getRealEnumeration(); + + /** + * Returns the meta object for the attribute list '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RealEnumeration#getEntry Entry}'. + * + * + * @return the meta object for the attribute list 'Entry'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RealEnumeration#getEntry() + * @see #getRealEnumeration() + * @generated + */ + EAttribute getRealEnumeration_Entry(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.StringEnumeration String Enumeration}'. + * + * + * @return the meta object for class 'String Enumeration'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.StringEnumeration + * @generated + */ + EClass getStringEnumeration(); + + /** + * Returns the meta object for the attribute list '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.StringEnumeration#getEntry Entry}'. + * + * + * @return the meta object for the attribute list 'Entry'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.StringEnumeration#getEntry() + * @see #getStringEnumeration() + * @generated + */ + EAttribute getStringEnumeration_Entry(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ScopeDeclaration Scope Declaration}'. + * + * + * @return the meta object for class 'Scope Declaration'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ScopeDeclaration + * @generated + */ + EClass getScopeDeclaration(); + + /** + * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ScopeDeclaration#getSpecification Specification}'. + * + * + * @return the meta object for the containment reference 'Specification'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ScopeDeclaration#getSpecification() + * @see #getScopeDeclaration() + * @generated + */ + EReference getScopeDeclaration_Specification(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ScopeReference Scope Reference}'. + * + * + * @return the meta object for class 'Scope Reference'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ScopeReference + * @generated + */ + EClass getScopeReference(); + + /** + * Returns the meta object for the reference '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ScopeReference#getReferred Referred}'. + * + * + * @return the meta object for the reference 'Referred'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ScopeReference#getReferred() + * @see #getScopeReference() + * @generated + */ + EReference getScopeReference_Referred(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Scope Scope}'. + * + * + * @return the meta object for class 'Scope'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Scope + * @generated + */ + EClass getScope(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Task Task}'. + * + * + * @return the meta object for class 'Task'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Task + * @generated + */ + EClass getTask(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask Generation Task}'. + * + * + * @return the meta object for class 'Generation Task'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask + * @generated + */ + EClass getGenerationTask(); + + /** + * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask#getMetamodel Metamodel}'. + * + * + * @return the meta object for the containment reference 'Metamodel'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask#getMetamodel() + * @see #getGenerationTask() + * @generated + */ + EReference getGenerationTask_Metamodel(); + + /** + * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask#getPartialModel Partial Model}'. + * + * + * @return the meta object for the containment reference 'Partial Model'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask#getPartialModel() + * @see #getGenerationTask() + * @generated + */ + EReference getGenerationTask_PartialModel(); + + /** + * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask#getPatterns Patterns}'. + * + * + * @return the meta object for the containment reference 'Patterns'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask#getPatterns() + * @see #getGenerationTask() + * @generated + */ + EReference getGenerationTask_Patterns(); + + /** + * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask#getObjectives Objectives}'. + * + * + * @return the meta object for the containment reference 'Objectives'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask#getObjectives() + * @see #getGenerationTask() + * @generated + */ + EReference getGenerationTask_Objectives(); + + /** + * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask#getScope Scope}'. + * + * + * @return the meta object for the containment reference 'Scope'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask#getScope() + * @see #getGenerationTask() + * @generated + */ + EReference getGenerationTask_Scope(); + + /** + * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask#isNumberSpecified Number Specified}'. + * + * + * @return the meta object for the attribute 'Number Specified'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask#isNumberSpecified() + * @see #getGenerationTask() + * @generated + */ + EAttribute getGenerationTask_NumberSpecified(); + + /** + * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask#getNumber Number}'. + * + * + * @return the meta object for the attribute 'Number'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask#getNumber() + * @see #getGenerationTask() + * @generated + */ + EAttribute getGenerationTask_Number(); + + /** + * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask#isRunSpecified Run Specified}'. + * + * + * @return the meta object for the attribute 'Run Specified'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask#isRunSpecified() + * @see #getGenerationTask() + * @generated + */ + EAttribute getGenerationTask_RunSpecified(); + + /** + * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask#getRuns Runs}'. + * + * + * @return the meta object for the attribute 'Runs'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask#getRuns() + * @see #getGenerationTask() + * @generated + */ + EAttribute getGenerationTask_Runs(); + + /** + * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask#getSolver Solver}'. + * + * + * @return the meta object for the attribute 'Solver'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask#getSolver() + * @see #getGenerationTask() + * @generated + */ + EAttribute getGenerationTask_Solver(); + + /** + * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask#getConfig Config}'. + * + * + * @return the meta object for the containment reference 'Config'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask#getConfig() + * @see #getGenerationTask() + * @generated + */ + EReference getGenerationTask_Config(); + + /** + * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask#getDebugFolder Debug Folder}'. + * + * + * @return the meta object for the containment reference 'Debug Folder'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask#getDebugFolder() + * @see #getGenerationTask() + * @generated + */ + EReference getGenerationTask_DebugFolder(); + + /** + * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask#getTargetLogFile Target Log File}'. + * + * + * @return the meta object for the containment reference 'Target Log File'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask#getTargetLogFile() + * @see #getGenerationTask() + * @generated + */ + EReference getGenerationTask_TargetLogFile(); + + /** + * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask#getTargetStatisticsFile Target Statistics File}'. + * + * + * @return the meta object for the containment reference 'Target Statistics File'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask#getTargetStatisticsFile() + * @see #getGenerationTask() + * @generated + */ + EReference getGenerationTask_TargetStatisticsFile(); + + /** + * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask#getTagetFolder Taget Folder}'. + * + * + * @return the meta object for the containment reference 'Taget Folder'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask#getTagetFolder() + * @see #getGenerationTask() + * @generated + */ + EReference getGenerationTask_TagetFolder(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntegerScope Integer Scope}'. + * + * + * @return the meta object for class 'Integer Scope'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntegerScope + * @generated + */ + EClass getIntegerScope(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RealScope Real Scope}'. + * + * + * @return the meta object for class 'Real Scope'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RealScope + * @generated + */ + EClass getRealScope(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.StringScope String Scope}'. + * + * + * @return the meta object for class 'String Scope'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.StringScope + * @generated + */ + EClass getStringScope(); + + /** + * Returns the meta object for enum '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.OptimizationDirection Optimization Direction}'. + * + * + * @return the meta object for enum 'Optimization Direction'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.OptimizationDirection + * @generated + */ + EEnum getOptimizationDirection(); + + /** + * Returns the meta object for enum '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ComparisonOperator Comparison Operator}'. + * + * + * @return the meta object for enum 'Comparison Operator'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ComparisonOperator + * @generated + */ + EEnum getComparisonOperator(); + + /** + * Returns the meta object for enum '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.DocumentLevelSpecification Document Level Specification}'. + * + * + * @return the meta object for enum 'Document Level Specification'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.DocumentLevelSpecification + * @generated + */ + EEnum getDocumentLevelSpecification(); + + /** + * Returns the meta object for enum '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Solver Solver}'. + * + * + * @return the meta object for enum 'Solver'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Solver + * @generated + */ + EEnum getSolver(); + + /** + * Returns the factory that creates the instances of the model. + * + * + * @return the factory that creates the instances of the model. + * @generated + */ + ApplicationConfigurationFactory getApplicationConfigurationFactory(); + + /** + * + * Defines literals for the meta objects that represent + *
    + *
  • each class,
  • + *
  • each feature of each class,
  • + *
  • each enum,
  • + *
  • and each data type
  • + *
+ * + * @generated + */ + interface Literals + { + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ConfigurationScriptImpl Configuration Script}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ConfigurationScriptImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getConfigurationScript() + * @generated + */ + EClass CONFIGURATION_SCRIPT = eINSTANCE.getConfigurationScript(); + + /** + * The meta object literal for the 'Imports' containment reference list feature. + * + * + * @generated + */ + EReference CONFIGURATION_SCRIPT__IMPORTS = eINSTANCE.getConfigurationScript_Imports(); + + /** + * The meta object literal for the 'Commands' containment reference list feature. + * + * + * @generated + */ + EReference CONFIGURATION_SCRIPT__COMMANDS = eINSTANCE.getConfigurationScript_Commands(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.CommandImpl Command}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.CommandImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getCommand() + * @generated + */ + EClass COMMAND = eINSTANCE.getCommand(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ImportImpl Import}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ImportImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getImport() + * @generated + */ + EClass IMPORT = eINSTANCE.getImport(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.EPackageImportImpl EPackage Import}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.EPackageImportImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getEPackageImport() + * @generated + */ + EClass EPACKAGE_IMPORT = eINSTANCE.getEPackageImport(); + + /** + * The meta object literal for the 'Imported Package' reference feature. + * + * + * @generated + */ + EReference EPACKAGE_IMPORT__IMPORTED_PACKAGE = eINSTANCE.getEPackageImport_ImportedPackage(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ViatraImportImpl Viatra Import}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ViatraImportImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getViatraImport() + * @generated + */ + EClass VIATRA_IMPORT = eINSTANCE.getViatraImport(); + + /** + * The meta object literal for the 'Imported Viatra' reference feature. + * + * + * @generated + */ + EReference VIATRA_IMPORT__IMPORTED_VIATRA = eINSTANCE.getViatraImport_ImportedViatra(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.CftImportImpl Cft Import}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.CftImportImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getCftImport() + * @generated + */ + EClass CFT_IMPORT = eINSTANCE.getCftImport(); + + /** + * The meta object literal for the 'Imported Cft' reference feature. + * + * + * @generated + */ + EReference CFT_IMPORT__IMPORTED_CFT = eINSTANCE.getCftImport_ImportedCft(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.DeclarationImpl Declaration}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.DeclarationImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getDeclaration() + * @generated + */ + EClass DECLARATION = eINSTANCE.getDeclaration(); + + /** + * The meta object literal for the 'Name' attribute feature. + * + * + * @generated + */ + EAttribute DECLARATION__NAME = eINSTANCE.getDeclaration_Name(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.FileSpecificationImpl File Specification}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.FileSpecificationImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getFileSpecification() + * @generated + */ + EClass FILE_SPECIFICATION = eINSTANCE.getFileSpecification(); + + /** + * The meta object literal for the 'Path' attribute feature. + * + * + * @generated + */ + EAttribute FILE_SPECIFICATION__PATH = eINSTANCE.getFileSpecification_Path(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.FileDeclarationImpl File Declaration}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.FileDeclarationImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getFileDeclaration() + * @generated + */ + EClass FILE_DECLARATION = eINSTANCE.getFileDeclaration(); + + /** + * The meta object literal for the 'Specification' containment reference feature. + * + * + * @generated + */ + EReference FILE_DECLARATION__SPECIFICATION = eINSTANCE.getFileDeclaration_Specification(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.FileReferenceImpl File Reference}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.FileReferenceImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getFileReference() + * @generated + */ + EClass FILE_REFERENCE = eINSTANCE.getFileReference(); + + /** + * The meta object literal for the 'Referred' reference feature. + * + * + * @generated + */ + EReference FILE_REFERENCE__REFERRED = eINSTANCE.getFileReference_Referred(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.FileImpl File}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.FileImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getFile() + * @generated + */ + EClass FILE = eINSTANCE.getFile(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MetamodelSpecificationImpl Metamodel Specification}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MetamodelSpecificationImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getMetamodelSpecification() + * @generated + */ + EClass METAMODEL_SPECIFICATION = eINSTANCE.getMetamodelSpecification(); + + /** + * The meta object literal for the 'Entries' containment reference list feature. + * + * + * @generated + */ + EReference METAMODEL_SPECIFICATION__ENTRIES = eINSTANCE.getMetamodelSpecification_Entries(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MetamodelEntryImpl Metamodel Entry}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MetamodelEntryImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getMetamodelEntry() + * @generated + */ + EClass METAMODEL_ENTRY = eINSTANCE.getMetamodelEntry(); + + /** + * The meta object literal for the 'Package' reference feature. + * + * + * @generated + */ + EReference METAMODEL_ENTRY__PACKAGE = eINSTANCE.getMetamodelEntry_Package(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.AllPackageEntryImpl All Package Entry}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.AllPackageEntryImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getAllPackageEntry() + * @generated + */ + EClass ALL_PACKAGE_ENTRY = eINSTANCE.getAllPackageEntry(); + + /** + * The meta object literal for the 'Exclusion' containment reference list feature. + * + * + * @generated + */ + EReference ALL_PACKAGE_ENTRY__EXCLUSION = eINSTANCE.getAllPackageEntry_Exclusion(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MetamodelElementImpl Metamodel Element}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MetamodelElementImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getMetamodelElement() + * @generated + */ + EClass METAMODEL_ELEMENT = eINSTANCE.getMetamodelElement(); + + /** + * The meta object literal for the 'Classifier' reference feature. + * + * + * @generated + */ + EReference METAMODEL_ELEMENT__CLASSIFIER = eINSTANCE.getMetamodelElement_Classifier(); + + /** + * The meta object literal for the 'Feature' reference feature. + * + * + * @generated + */ + EReference METAMODEL_ELEMENT__FEATURE = eINSTANCE.getMetamodelElement_Feature(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MetamodelDeclarationImpl Metamodel Declaration}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MetamodelDeclarationImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getMetamodelDeclaration() + * @generated + */ + EClass METAMODEL_DECLARATION = eINSTANCE.getMetamodelDeclaration(); + + /** + * The meta object literal for the 'Specification' containment reference feature. + * + * + * @generated + */ + EReference METAMODEL_DECLARATION__SPECIFICATION = eINSTANCE.getMetamodelDeclaration_Specification(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MetamodelReferenceImpl Metamodel Reference}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MetamodelReferenceImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getMetamodelReference() + * @generated + */ + EClass METAMODEL_REFERENCE = eINSTANCE.getMetamodelReference(); + + /** + * The meta object literal for the 'Referred' reference feature. + * + * + * @generated + */ + EReference METAMODEL_REFERENCE__REFERRED = eINSTANCE.getMetamodelReference_Referred(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MetamodelImpl Metamodel}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MetamodelImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getMetamodel() + * @generated + */ + EClass METAMODEL = eINSTANCE.getMetamodel(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.PartialModelSpecificationImpl Partial Model Specification}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.PartialModelSpecificationImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getPartialModelSpecification() + * @generated + */ + EClass PARTIAL_MODEL_SPECIFICATION = eINSTANCE.getPartialModelSpecification(); + + /** + * The meta object literal for the 'Entry' containment reference list feature. + * + * + * @generated + */ + EReference PARTIAL_MODEL_SPECIFICATION__ENTRY = eINSTANCE.getPartialModelSpecification_Entry(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.PartialModelEntryImpl Partial Model Entry}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.PartialModelEntryImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getPartialModelEntry() + * @generated + */ + EClass PARTIAL_MODEL_ENTRY = eINSTANCE.getPartialModelEntry(); + + /** + * The meta object literal for the 'Path' containment reference feature. + * + * + * @generated + */ + EReference PARTIAL_MODEL_ENTRY__PATH = eINSTANCE.getPartialModelEntry_Path(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ModelEntryImpl Model Entry}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ModelEntryImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getModelEntry() + * @generated + */ + EClass MODEL_ENTRY = eINSTANCE.getModelEntry(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.FolderEntryImpl Folder Entry}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.FolderEntryImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getFolderEntry() + * @generated + */ + EClass FOLDER_ENTRY = eINSTANCE.getFolderEntry(); + + /** + * The meta object literal for the 'Exclusion' containment reference list feature. + * + * + * @generated + */ + EReference FOLDER_ENTRY__EXCLUSION = eINSTANCE.getFolderEntry_Exclusion(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.PartialModelDeclarationImpl Partial Model Declaration}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.PartialModelDeclarationImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getPartialModelDeclaration() + * @generated + */ + EClass PARTIAL_MODEL_DECLARATION = eINSTANCE.getPartialModelDeclaration(); + + /** + * The meta object literal for the 'Specification' containment reference feature. + * + * + * @generated + */ + EReference PARTIAL_MODEL_DECLARATION__SPECIFICATION = eINSTANCE.getPartialModelDeclaration_Specification(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.PartialModelReferenceImpl Partial Model Reference}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.PartialModelReferenceImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getPartialModelReference() + * @generated + */ + EClass PARTIAL_MODEL_REFERENCE = eINSTANCE.getPartialModelReference(); + + /** + * The meta object literal for the 'Referred' reference feature. + * + * + * @generated + */ + EReference PARTIAL_MODEL_REFERENCE__REFERRED = eINSTANCE.getPartialModelReference_Referred(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.PartialModelImpl Partial Model}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.PartialModelImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getPartialModel() + * @generated + */ + EClass PARTIAL_MODEL = eINSTANCE.getPartialModel(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.PatternSpecificationImpl Pattern Specification}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.PatternSpecificationImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getPatternSpecification() + * @generated + */ + EClass PATTERN_SPECIFICATION = eINSTANCE.getPatternSpecification(); + + /** + * The meta object literal for the 'Entries' containment reference list feature. + * + * + * @generated + */ + EReference PATTERN_SPECIFICATION__ENTRIES = eINSTANCE.getPatternSpecification_Entries(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.PatternEntryImpl Pattern Entry}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.PatternEntryImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getPatternEntry() + * @generated + */ + EClass PATTERN_ENTRY = eINSTANCE.getPatternEntry(); + + /** + * The meta object literal for the 'Package' reference feature. + * + * + * @generated + */ + EReference PATTERN_ENTRY__PACKAGE = eINSTANCE.getPatternEntry_Package(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.AllPatternEntryImpl All Pattern Entry}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.AllPatternEntryImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getAllPatternEntry() + * @generated + */ + EClass ALL_PATTERN_ENTRY = eINSTANCE.getAllPatternEntry(); + + /** + * The meta object literal for the 'Exclusuion' containment reference list feature. + * + * + * @generated + */ + EReference ALL_PATTERN_ENTRY__EXCLUSUION = eINSTANCE.getAllPatternEntry_Exclusuion(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.PatternElementImpl Pattern Element}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.PatternElementImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getPatternElement() + * @generated + */ + EClass PATTERN_ELEMENT = eINSTANCE.getPatternElement(); + + /** + * The meta object literal for the 'Pattern' reference feature. + * + * + * @generated + */ + EReference PATTERN_ELEMENT__PATTERN = eINSTANCE.getPatternElement_Pattern(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.GraphPatternDeclarationImpl Graph Pattern Declaration}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.GraphPatternDeclarationImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getGraphPatternDeclaration() + * @generated + */ + EClass GRAPH_PATTERN_DECLARATION = eINSTANCE.getGraphPatternDeclaration(); + + /** + * The meta object literal for the 'Specification' containment reference feature. + * + * + * @generated + */ + EReference GRAPH_PATTERN_DECLARATION__SPECIFICATION = eINSTANCE.getGraphPatternDeclaration_Specification(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.GraphPatternReferenceImpl Graph Pattern Reference}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.GraphPatternReferenceImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getGraphPatternReference() + * @generated + */ + EClass GRAPH_PATTERN_REFERENCE = eINSTANCE.getGraphPatternReference(); + + /** + * The meta object literal for the 'Referred' reference feature. + * + * + * @generated + */ + EReference GRAPH_PATTERN_REFERENCE__REFERRED = eINSTANCE.getGraphPatternReference_Referred(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.GraphPatternImpl Graph Pattern}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.GraphPatternImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getGraphPattern() + * @generated + */ + EClass GRAPH_PATTERN = eINSTANCE.getGraphPattern(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ObjectiveSpecificationImpl Objective Specification}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ObjectiveSpecificationImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getObjectiveSpecification() + * @generated + */ + EClass OBJECTIVE_SPECIFICATION = eINSTANCE.getObjectiveSpecification(); + + /** + * The meta object literal for the 'Entries' containment reference list feature. + * + * + * @generated + */ + EReference OBJECTIVE_SPECIFICATION__ENTRIES = eINSTANCE.getObjectiveSpecification_Entries(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ObjectiveEntryImpl Objective Entry}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ObjectiveEntryImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getObjectiveEntry() + * @generated + */ + EClass OBJECTIVE_ENTRY = eINSTANCE.getObjectiveEntry(); + + /** + * The meta object literal for the 'Function' containment reference feature. + * + * + * @generated + */ + EReference OBJECTIVE_ENTRY__FUNCTION = eINSTANCE.getObjectiveEntry_Function(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.OptimizationEntryImpl Optimization Entry}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.OptimizationEntryImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getOptimizationEntry() + * @generated + */ + EClass OPTIMIZATION_ENTRY = eINSTANCE.getOptimizationEntry(); + + /** + * The meta object literal for the 'Direction' attribute feature. + * + * + * @generated + */ + EAttribute OPTIMIZATION_ENTRY__DIRECTION = eINSTANCE.getOptimizationEntry_Direction(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ThresholdEntryImpl Threshold Entry}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ThresholdEntryImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getThresholdEntry() + * @generated + */ + EClass THRESHOLD_ENTRY = eINSTANCE.getThresholdEntry(); + + /** + * The meta object literal for the 'Operator' attribute feature. + * + * + * @generated + */ + EAttribute THRESHOLD_ENTRY__OPERATOR = eINSTANCE.getThresholdEntry_Operator(); + + /** + * The meta object literal for the 'Threshold' attribute feature. + * + * + * @generated + */ + EAttribute THRESHOLD_ENTRY__THRESHOLD = eINSTANCE.getThresholdEntry_Threshold(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ObjectiveFunctionImpl Objective Function}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ObjectiveFunctionImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getObjectiveFunction() + * @generated + */ + EClass OBJECTIVE_FUNCTION = eINSTANCE.getObjectiveFunction(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ReliabiltiyFunctionImpl Reliabiltiy Function}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ReliabiltiyFunctionImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getReliabiltiyFunction() + * @generated + */ + EClass RELIABILTIY_FUNCTION = eINSTANCE.getReliabiltiyFunction(); + + /** + * The meta object literal for the 'Package' reference feature. + * + * + * @generated + */ + EReference RELIABILTIY_FUNCTION__PACKAGE = eINSTANCE.getReliabiltiyFunction_Package(); + + /** + * The meta object literal for the 'Transformation' reference feature. + * + * + * @generated + */ + EReference RELIABILTIY_FUNCTION__TRANSFORMATION = eINSTANCE.getReliabiltiyFunction_Transformation(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ObjectiveDeclarationImpl Objective Declaration}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ObjectiveDeclarationImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getObjectiveDeclaration() + * @generated + */ + EClass OBJECTIVE_DECLARATION = eINSTANCE.getObjectiveDeclaration(); + + /** + * The meta object literal for the 'Specification' containment reference feature. + * + * + * @generated + */ + EReference OBJECTIVE_DECLARATION__SPECIFICATION = eINSTANCE.getObjectiveDeclaration_Specification(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ObjectiveReferenceImpl Objective Reference}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ObjectiveReferenceImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getObjectiveReference() + * @generated + */ + EClass OBJECTIVE_REFERENCE = eINSTANCE.getObjectiveReference(); + + /** + * The meta object literal for the 'Referred' reference feature. + * + * + * @generated + */ + EReference OBJECTIVE_REFERENCE__REFERRED = eINSTANCE.getObjectiveReference_Referred(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ObjectiveImpl Objective}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ObjectiveImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getObjective() + * @generated + */ + EClass OBJECTIVE = eINSTANCE.getObjective(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ConfigSpecificationImpl Config Specification}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ConfigSpecificationImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getConfigSpecification() + * @generated + */ + EClass CONFIG_SPECIFICATION = eINSTANCE.getConfigSpecification(); + + /** + * The meta object literal for the 'Entries' containment reference list feature. + * + * + * @generated + */ + EReference CONFIG_SPECIFICATION__ENTRIES = eINSTANCE.getConfigSpecification_Entries(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ConfigDeclarationImpl Config Declaration}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ConfigDeclarationImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getConfigDeclaration() + * @generated + */ + EClass CONFIG_DECLARATION = eINSTANCE.getConfigDeclaration(); + + /** + * The meta object literal for the 'Specification' containment reference feature. + * + * + * @generated + */ + EReference CONFIG_DECLARATION__SPECIFICATION = eINSTANCE.getConfigDeclaration_Specification(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ConfigEntryImpl Config Entry}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ConfigEntryImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getConfigEntry() + * @generated + */ + EClass CONFIG_ENTRY = eINSTANCE.getConfigEntry(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.DocumentationEntryImpl Documentation Entry}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.DocumentationEntryImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getDocumentationEntry() + * @generated + */ + EClass DOCUMENTATION_ENTRY = eINSTANCE.getDocumentationEntry(); + + /** + * The meta object literal for the 'Level' attribute feature. + * + * + * @generated + */ + EAttribute DOCUMENTATION_ENTRY__LEVEL = eINSTANCE.getDocumentationEntry_Level(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.RuntimeEntryImpl Runtime Entry}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.RuntimeEntryImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getRuntimeEntry() + * @generated + */ + EClass RUNTIME_ENTRY = eINSTANCE.getRuntimeEntry(); + + /** + * The meta object literal for the 'Millisec Limit' attribute feature. + * + * + * @generated + */ + EAttribute RUNTIME_ENTRY__MILLISEC_LIMIT = eINSTANCE.getRuntimeEntry_MillisecLimit(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MemoryEntryImpl Memory Entry}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MemoryEntryImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getMemoryEntry() + * @generated + */ + EClass MEMORY_ENTRY = eINSTANCE.getMemoryEntry(); + + /** + * The meta object literal for the 'Megabyte Limit' attribute feature. + * + * + * @generated + */ + EAttribute MEMORY_ENTRY__MEGABYTE_LIMIT = eINSTANCE.getMemoryEntry_MegabyteLimit(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.CustomEntryImpl Custom Entry}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.CustomEntryImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getCustomEntry() + * @generated + */ + EClass CUSTOM_ENTRY = eINSTANCE.getCustomEntry(); + + /** + * The meta object literal for the 'Key' attribute feature. + * + * + * @generated + */ + EAttribute CUSTOM_ENTRY__KEY = eINSTANCE.getCustomEntry_Key(); + + /** + * The meta object literal for the 'Value' attribute feature. + * + * + * @generated + */ + EAttribute CUSTOM_ENTRY__VALUE = eINSTANCE.getCustomEntry_Value(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ConfigReferenceImpl Config Reference}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ConfigReferenceImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getConfigReference() + * @generated + */ + EClass CONFIG_REFERENCE = eINSTANCE.getConfigReference(); + + /** + * The meta object literal for the 'Config' reference feature. + * + * + * @generated + */ + EReference CONFIG_REFERENCE__CONFIG = eINSTANCE.getConfigReference_Config(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ConfigImpl Config}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ConfigImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getConfig() + * @generated + */ + EClass CONFIG = eINSTANCE.getConfig(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ScopeSpecificationImpl Scope Specification}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ScopeSpecificationImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getScopeSpecification() + * @generated + */ + EClass SCOPE_SPECIFICATION = eINSTANCE.getScopeSpecification(); + + /** + * The meta object literal for the 'Scopes' containment reference list feature. + * + * + * @generated + */ + EReference SCOPE_SPECIFICATION__SCOPES = eINSTANCE.getScopeSpecification_Scopes(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.TypeScopeImpl Type Scope}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.TypeScopeImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getTypeScope() + * @generated + */ + EClass TYPE_SCOPE = eINSTANCE.getTypeScope(); + + /** + * The meta object literal for the 'Sets New' attribute feature. + * + * + * @generated + */ + EAttribute TYPE_SCOPE__SETS_NEW = eINSTANCE.getTypeScope_SetsNew(); + + /** + * The meta object literal for the 'Sets Sum' attribute feature. + * + * + * @generated + */ + EAttribute TYPE_SCOPE__SETS_SUM = eINSTANCE.getTypeScope_SetsSum(); + + /** + * The meta object literal for the 'Number' containment reference feature. + * + * + * @generated + */ + EReference TYPE_SCOPE__NUMBER = eINSTANCE.getTypeScope_Number(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ClassTypeScopeImpl Class Type Scope}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ClassTypeScopeImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getClassTypeScope() + * @generated + */ + EClass CLASS_TYPE_SCOPE = eINSTANCE.getClassTypeScope(); + + /** + * The meta object literal for the 'Type' containment reference feature. + * + * + * @generated + */ + EReference CLASS_TYPE_SCOPE__TYPE = eINSTANCE.getClassTypeScope_Type(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ObjectTypeScopeImpl Object Type Scope}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ObjectTypeScopeImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getObjectTypeScope() + * @generated + */ + EClass OBJECT_TYPE_SCOPE = eINSTANCE.getObjectTypeScope(); + + /** + * The meta object literal for the 'Type' containment reference feature. + * + * + * @generated + */ + EReference OBJECT_TYPE_SCOPE__TYPE = eINSTANCE.getObjectTypeScope_Type(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.IntegerTypeScopeImpl Integer Type Scope}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.IntegerTypeScopeImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getIntegerTypeScope() + * @generated + */ + EClass INTEGER_TYPE_SCOPE = eINSTANCE.getIntegerTypeScope(); + + /** + * The meta object literal for the 'Type' containment reference feature. + * + * + * @generated + */ + EReference INTEGER_TYPE_SCOPE__TYPE = eINSTANCE.getIntegerTypeScope_Type(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.RealTypeScopeImpl Real Type Scope}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.RealTypeScopeImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getRealTypeScope() + * @generated + */ + EClass REAL_TYPE_SCOPE = eINSTANCE.getRealTypeScope(); + + /** + * The meta object literal for the 'Type' containment reference feature. + * + * + * @generated + */ + EReference REAL_TYPE_SCOPE__TYPE = eINSTANCE.getRealTypeScope_Type(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.StringTypeScopeImpl String Type Scope}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.StringTypeScopeImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getStringTypeScope() + * @generated + */ + EClass STRING_TYPE_SCOPE = eINSTANCE.getStringTypeScope(); + + /** + * The meta object literal for the 'Type' containment reference feature. + * + * + * @generated + */ + EReference STRING_TYPE_SCOPE__TYPE = eINSTANCE.getStringTypeScope_Type(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.TypeReferenceImpl Type Reference}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.TypeReferenceImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getTypeReference() + * @generated + */ + EClass TYPE_REFERENCE = eINSTANCE.getTypeReference(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ClassReferenceImpl Class Reference}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ClassReferenceImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getClassReference() + * @generated + */ + EClass CLASS_REFERENCE = eINSTANCE.getClassReference(); + + /** + * The meta object literal for the 'Element' containment reference feature. + * + * + * @generated + */ + EReference CLASS_REFERENCE__ELEMENT = eINSTANCE.getClassReference_Element(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ObjectReferenceImpl Object Reference}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ObjectReferenceImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getObjectReference() + * @generated + */ + EClass OBJECT_REFERENCE = eINSTANCE.getObjectReference(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.IntegerReferenceImpl Integer Reference}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.IntegerReferenceImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getIntegerReference() + * @generated + */ + EClass INTEGER_REFERENCE = eINSTANCE.getIntegerReference(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.RealReferenceImpl Real Reference}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.RealReferenceImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getRealReference() + * @generated + */ + EClass REAL_REFERENCE = eINSTANCE.getRealReference(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.StringReferenceImpl String Reference}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.StringReferenceImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getStringReference() + * @generated + */ + EClass STRING_REFERENCE = eINSTANCE.getStringReference(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.NumberSpecificationImpl Number Specification}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.NumberSpecificationImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getNumberSpecification() + * @generated + */ + EClass NUMBER_SPECIFICATION = eINSTANCE.getNumberSpecification(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ExactNumberImpl Exact Number}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ExactNumberImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getExactNumber() + * @generated + */ + EClass EXACT_NUMBER = eINSTANCE.getExactNumber(); + + /** + * The meta object literal for the 'Exact Number' attribute feature. + * + * + * @generated + */ + EAttribute EXACT_NUMBER__EXACT_NUMBER = eINSTANCE.getExactNumber_ExactNumber(); + + /** + * The meta object literal for the 'Exact Unlimited' attribute feature. + * + * + * @generated + */ + EAttribute EXACT_NUMBER__EXACT_UNLIMITED = eINSTANCE.getExactNumber_ExactUnlimited(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.IntervallNumberImpl Intervall Number}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.IntervallNumberImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getIntervallNumber() + * @generated + */ + EClass INTERVALL_NUMBER = eINSTANCE.getIntervallNumber(); + + /** + * The meta object literal for the 'Min' attribute feature. + * + * + * @generated + */ + EAttribute INTERVALL_NUMBER__MIN = eINSTANCE.getIntervallNumber_Min(); + + /** + * The meta object literal for the 'Max Number' attribute feature. + * + * + * @generated + */ + EAttribute INTERVALL_NUMBER__MAX_NUMBER = eINSTANCE.getIntervallNumber_MaxNumber(); + + /** + * The meta object literal for the 'Max Unlimited' attribute feature. + * + * + * @generated + */ + EAttribute INTERVALL_NUMBER__MAX_UNLIMITED = eINSTANCE.getIntervallNumber_MaxUnlimited(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.IntEnumberationImpl Int Enumberation}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.IntEnumberationImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getIntEnumberation() + * @generated + */ + EClass INT_ENUMBERATION = eINSTANCE.getIntEnumberation(); + + /** + * The meta object literal for the 'Entry' attribute list feature. + * + * + * @generated + */ + EAttribute INT_ENUMBERATION__ENTRY = eINSTANCE.getIntEnumberation_Entry(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.RealEnumerationImpl Real Enumeration}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.RealEnumerationImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getRealEnumeration() + * @generated + */ + EClass REAL_ENUMERATION = eINSTANCE.getRealEnumeration(); + + /** + * The meta object literal for the 'Entry' attribute list feature. + * + * + * @generated + */ + EAttribute REAL_ENUMERATION__ENTRY = eINSTANCE.getRealEnumeration_Entry(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.StringEnumerationImpl String Enumeration}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.StringEnumerationImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getStringEnumeration() + * @generated + */ + EClass STRING_ENUMERATION = eINSTANCE.getStringEnumeration(); + + /** + * The meta object literal for the 'Entry' attribute list feature. + * + * + * @generated + */ + EAttribute STRING_ENUMERATION__ENTRY = eINSTANCE.getStringEnumeration_Entry(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ScopeDeclarationImpl Scope Declaration}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ScopeDeclarationImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getScopeDeclaration() + * @generated + */ + EClass SCOPE_DECLARATION = eINSTANCE.getScopeDeclaration(); + + /** + * The meta object literal for the 'Specification' containment reference feature. + * + * + * @generated + */ + EReference SCOPE_DECLARATION__SPECIFICATION = eINSTANCE.getScopeDeclaration_Specification(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ScopeReferenceImpl Scope Reference}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ScopeReferenceImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getScopeReference() + * @generated + */ + EClass SCOPE_REFERENCE = eINSTANCE.getScopeReference(); + + /** + * The meta object literal for the 'Referred' reference feature. + * + * + * @generated + */ + EReference SCOPE_REFERENCE__REFERRED = eINSTANCE.getScopeReference_Referred(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ScopeImpl Scope}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ScopeImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getScope() + * @generated + */ + EClass SCOPE = eINSTANCE.getScope(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.TaskImpl Task}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.TaskImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getTask() + * @generated + */ + EClass TASK = eINSTANCE.getTask(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.GenerationTaskImpl Generation Task}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.GenerationTaskImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getGenerationTask() + * @generated + */ + EClass GENERATION_TASK = eINSTANCE.getGenerationTask(); + + /** + * The meta object literal for the 'Metamodel' containment reference feature. + * + * + * @generated + */ + EReference GENERATION_TASK__METAMODEL = eINSTANCE.getGenerationTask_Metamodel(); + + /** + * The meta object literal for the 'Partial Model' containment reference feature. + * + * + * @generated + */ + EReference GENERATION_TASK__PARTIAL_MODEL = eINSTANCE.getGenerationTask_PartialModel(); + + /** + * The meta object literal for the 'Patterns' containment reference feature. + * + * + * @generated + */ + EReference GENERATION_TASK__PATTERNS = eINSTANCE.getGenerationTask_Patterns(); + + /** + * The meta object literal for the 'Objectives' containment reference feature. + * + * + * @generated + */ + EReference GENERATION_TASK__OBJECTIVES = eINSTANCE.getGenerationTask_Objectives(); + + /** + * The meta object literal for the 'Scope' containment reference feature. + * + * + * @generated + */ + EReference GENERATION_TASK__SCOPE = eINSTANCE.getGenerationTask_Scope(); + + /** + * The meta object literal for the 'Number Specified' attribute feature. + * + * + * @generated + */ + EAttribute GENERATION_TASK__NUMBER_SPECIFIED = eINSTANCE.getGenerationTask_NumberSpecified(); + + /** + * The meta object literal for the 'Number' attribute feature. + * + * + * @generated + */ + EAttribute GENERATION_TASK__NUMBER = eINSTANCE.getGenerationTask_Number(); + + /** + * The meta object literal for the 'Run Specified' attribute feature. + * + * + * @generated + */ + EAttribute GENERATION_TASK__RUN_SPECIFIED = eINSTANCE.getGenerationTask_RunSpecified(); + + /** + * The meta object literal for the 'Runs' attribute feature. + * + * + * @generated + */ + EAttribute GENERATION_TASK__RUNS = eINSTANCE.getGenerationTask_Runs(); + + /** + * The meta object literal for the 'Solver' attribute feature. + * + * + * @generated + */ + EAttribute GENERATION_TASK__SOLVER = eINSTANCE.getGenerationTask_Solver(); + + /** + * The meta object literal for the 'Config' containment reference feature. + * + * + * @generated + */ + EReference GENERATION_TASK__CONFIG = eINSTANCE.getGenerationTask_Config(); + + /** + * The meta object literal for the 'Debug Folder' containment reference feature. + * + * + * @generated + */ + EReference GENERATION_TASK__DEBUG_FOLDER = eINSTANCE.getGenerationTask_DebugFolder(); + + /** + * The meta object literal for the 'Target Log File' containment reference feature. + * + * + * @generated + */ + EReference GENERATION_TASK__TARGET_LOG_FILE = eINSTANCE.getGenerationTask_TargetLogFile(); + + /** + * The meta object literal for the 'Target Statistics File' containment reference feature. + * + * + * @generated + */ + EReference GENERATION_TASK__TARGET_STATISTICS_FILE = eINSTANCE.getGenerationTask_TargetStatisticsFile(); + + /** + * The meta object literal for the 'Taget Folder' containment reference feature. + * + * + * @generated + */ + EReference GENERATION_TASK__TAGET_FOLDER = eINSTANCE.getGenerationTask_TagetFolder(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.IntegerScopeImpl Integer Scope}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.IntegerScopeImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getIntegerScope() + * @generated + */ + EClass INTEGER_SCOPE = eINSTANCE.getIntegerScope(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.RealScopeImpl Real Scope}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.RealScopeImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getRealScope() + * @generated + */ + EClass REAL_SCOPE = eINSTANCE.getRealScope(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.StringScopeImpl String Scope}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.StringScopeImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getStringScope() + * @generated + */ + EClass STRING_SCOPE = eINSTANCE.getStringScope(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.OptimizationDirection Optimization Direction}' enum. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.OptimizationDirection + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getOptimizationDirection() + * @generated + */ + EEnum OPTIMIZATION_DIRECTION = eINSTANCE.getOptimizationDirection(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ComparisonOperator Comparison Operator}' enum. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ComparisonOperator + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getComparisonOperator() + * @generated + */ + EEnum COMPARISON_OPERATOR = eINSTANCE.getComparisonOperator(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.DocumentLevelSpecification Document Level Specification}' enum. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.DocumentLevelSpecification + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getDocumentLevelSpecification() + * @generated + */ + EEnum DOCUMENT_LEVEL_SPECIFICATION = eINSTANCE.getDocumentLevelSpecification(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Solver Solver}' enum. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Solver + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getSolver() + * @generated + */ + EEnum SOLVER = eINSTANCE.getSolver(); + + } + +} //ApplicationConfigurationPackage diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/CftImport.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/CftImport.java new file mode 100644 index 00000000..d0786961 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/CftImport.java @@ -0,0 +1,52 @@ +/** + * generated by Xtext 2.16.0 + */ +package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; + +import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftModel; + +/** + * + * A representation of the model object 'Cft Import'. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.CftImport#getImportedCft Imported Cft}
  • + *
+ * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getCftImport() + * @model + * @generated + */ +public interface CftImport extends Import +{ + /** + * Returns the value of the 'Imported Cft' reference. + * + *

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

+ * + * @return the value of the 'Imported Cft' reference. + * @see #setImportedCft(CftModel) + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getCftImport_ImportedCft() + * @model + * @generated + */ + CftModel getImportedCft(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.CftImport#getImportedCft Imported Cft}' reference. + * + * + * @param value the new value of the 'Imported Cft' reference. + * @see #getImportedCft() + * @generated + */ + void setImportedCft(CftModel value); + +} // CftImport 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 index 7cfd12b8..f4ec06f0 100644 --- 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 @@ -1,51 +1,51 @@ -/** - * generated by Xtext 2.12.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 +/** + * generated by Xtext 2.16.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/ClassTypeScope.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ClassTypeScope.java index 41f19765..bd0b0e85 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ClassTypeScope.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ClassTypeScope.java @@ -1,51 +1,51 @@ -/** - * generated by Xtext 2.12.0 - */ -package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; - - -/** - * - * A representation of the model object 'Class Type Scope'. - * - * - *

- * The following features are supported: - *

- *
    - *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ClassTypeScope#getType Type}
  • - *
- * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getClassTypeScope() - * @model - * @generated - */ -public interface ClassTypeScope extends TypeScope -{ - /** - * 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(ClassReference) - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getClassTypeScope_Type() - * @model containment="true" - * @generated - */ - ClassReference getType(); - - /** - * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ClassTypeScope#getType Type}' containment reference. - * - * - * @param value the new value of the 'Type' containment reference. - * @see #getType() - * @generated - */ - void setType(ClassReference value); - -} // ClassTypeScope +/** + * generated by Xtext 2.16.0 + */ +package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; + + +/** + * + * A representation of the model object 'Class Type Scope'. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ClassTypeScope#getType Type}
  • + *
+ * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getClassTypeScope() + * @model + * @generated + */ +public interface ClassTypeScope extends TypeScope +{ + /** + * 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(ClassReference) + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getClassTypeScope_Type() + * @model containment="true" + * @generated + */ + ClassReference getType(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ClassTypeScope#getType Type}' containment reference. + * + * + * @param value the new value of the 'Type' containment reference. + * @see #getType() + * @generated + */ + void setType(ClassReference value); + +} // ClassTypeScope diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/Command.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/Command.java index ada3e7e1..38d158df 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/Command.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/Command.java @@ -1,20 +1,20 @@ -/** - * generated by Xtext 2.12.0 - */ -package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; - -import org.eclipse.emf.ecore.EObject; - -/** - * - * A representation of the model object 'Command'. - * - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getCommand() - * @model - * @generated - */ -public interface Command extends EObject -{ -} // Command +/** + * generated by Xtext 2.16.0 + */ +package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; + +import org.eclipse.emf.ecore.EObject; + +/** + * + * A representation of the model object 'Command'. + * + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getCommand() + * @model + * @generated + */ +public interface Command extends EObject +{ +} // Command diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ComparisonOperator.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ComparisonOperator.java new file mode 100644 index 00000000..dc5a8e9e --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ComparisonOperator.java @@ -0,0 +1,233 @@ +/** + * generated by Xtext 2.16.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 'Comparison Operator', + * and utility methods for working with them. + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getComparisonOperator() + * @model + * @generated + */ +public enum ComparisonOperator implements Enumerator +{ + /** + * The 'LESS EQUALS' literal object. + * + * + * @see #LESS_EQUALS_VALUE + * @generated + * @ordered + */ + LESS_EQUALS(0, "LESS_EQUALS", "<="), + + /** + * The 'GREATER EQUALS' literal object. + * + * + * @see #GREATER_EQUALS_VALUE + * @generated + * @ordered + */ + GREATER_EQUALS(1, "GREATER_EQUALS", ">="); + + /** + * The 'LESS EQUALS' literal value. + * + *

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

+ * + * @see #LESS_EQUALS + * @model literal="<=" + * @generated + * @ordered + */ + public static final int LESS_EQUALS_VALUE = 0; + + /** + * The 'GREATER EQUALS' literal value. + * + *

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

+ * + * @see #GREATER_EQUALS + * @model literal=">=" + * @generated + * @ordered + */ + public static final int GREATER_EQUALS_VALUE = 1; + + /** + * An array of all the 'Comparison Operator' enumerators. + * + * + * @generated + */ + private static final ComparisonOperator[] VALUES_ARRAY = + new ComparisonOperator[] + { + LESS_EQUALS, + GREATER_EQUALS, + }; + + /** + * A public read-only list of all the 'Comparison Operator' enumerators. + * + * + * @generated + */ + public static final List VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); + + /** + * Returns the 'Comparison Operator' literal with the specified literal value. + * + * + * @param literal the literal. + * @return the matching enumerator or null. + * @generated + */ + public static ComparisonOperator get(String literal) + { + for (int i = 0; i < VALUES_ARRAY.length; ++i) + { + ComparisonOperator result = VALUES_ARRAY[i]; + if (result.toString().equals(literal)) + { + return result; + } + } + return null; + } + + /** + * Returns the 'Comparison Operator' literal with the specified name. + * + * + * @param name the name. + * @return the matching enumerator or null. + * @generated + */ + public static ComparisonOperator getByName(String name) + { + for (int i = 0; i < VALUES_ARRAY.length; ++i) + { + ComparisonOperator result = VALUES_ARRAY[i]; + if (result.getName().equals(name)) + { + return result; + } + } + return null; + } + + /** + * Returns the 'Comparison Operator' literal with the specified integer value. + * + * + * @param value the integer value. + * @return the matching enumerator or null. + * @generated + */ + public static ComparisonOperator get(int value) + { + switch (value) + { + case LESS_EQUALS_VALUE: return LESS_EQUALS; + case GREATER_EQUALS_VALUE: return GREATER_EQUALS; + } + 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 ComparisonOperator(int value, String name, String literal) + { + this.value = value; + this.name = name; + this.literal = literal; + } + + /** + * + * + * @generated + */ + @Override + public int getValue() + { + return value; + } + + /** + * + * + * @generated + */ + @Override + public String getName() + { + return name; + } + + /** + * + * + * @generated + */ + @Override + public String getLiteral() + { + return literal; + } + + /** + * Returns the literal value of the enumerator, which is its string representation. + * + * + * @generated + */ + @Override + public String toString() + { + return literal; + } + +} //ComparisonOperator 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 index 0572c941..7b7f7509 100644 --- 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 @@ -1,20 +1,20 @@ -/** - * generated by Xtext 2.12.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 +/** + * generated by Xtext 2.16.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 index 740b98b9..f4e83e1c 100644 --- 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 @@ -1,51 +1,51 @@ -/** - * generated by Xtext 2.12.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 +/** + * generated by Xtext 2.16.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 index cd9cba69..9c3485bb 100644 --- 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 @@ -1,20 +1,20 @@ -/** - * generated by Xtext 2.12.0 - */ -package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; - -import org.eclipse.emf.ecore.EObject; - -/** - * - * A representation of the model object 'Config Entry'. - * - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getConfigEntry() - * @model - * @generated - */ -public interface ConfigEntry extends EObject -{ -} // ConfigEntry +/** + * generated by Xtext 2.16.0 + */ +package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; + +import org.eclipse.emf.ecore.EObject; + +/** + * + * A representation of the model object 'Config Entry'. + * + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getConfigEntry() + * @model + * @generated + */ +public interface ConfigEntry extends EObject +{ +} // 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 index f8cb9d6e..b24bfd95 100644 --- 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 @@ -1,51 +1,51 @@ -/** - * generated by Xtext 2.12.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 +/** + * generated by Xtext 2.16.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 index 93a884bb..2bc28898 100644 --- 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 @@ -1,42 +1,42 @@ -/** - * generated by Xtext 2.12.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 +/** + * generated by Xtext 2.16.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/ConfigurationScript.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ConfigurationScript.java index 2f012f3e..b76f8a4f 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ConfigurationScript.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ConfigurationScript.java @@ -1,61 +1,61 @@ -/** - * generated by Xtext 2.12.0 - */ -package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; - -import org.eclipse.emf.common.util.EList; - -import org.eclipse.emf.ecore.EObject; - -/** - * - * A representation of the model object 'Configuration Script'. - * - * - *

- * The following features are supported: - *

- *
    - *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigurationScript#getImports Imports}
  • - *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigurationScript#getCommands Commands}
  • - *
- * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getConfigurationScript() - * @model - * @generated - */ -public interface ConfigurationScript extends EObject -{ - /** - * Returns the value of the 'Imports' containment reference list. - * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Import}. - * - *

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

- * - * @return the value of the 'Imports' containment reference list. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getConfigurationScript_Imports() - * @model containment="true" - * @generated - */ - EList getImports(); - - /** - * Returns the value of the 'Commands' containment reference list. - * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Command}. - * - *

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

- * - * @return the value of the 'Commands' containment reference list. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getConfigurationScript_Commands() - * @model containment="true" - * @generated - */ - EList getCommands(); - -} // ConfigurationScript +/** + * generated by Xtext 2.16.0 + */ +package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EObject; + +/** + * + * A representation of the model object 'Configuration Script'. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigurationScript#getImports Imports}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigurationScript#getCommands Commands}
  • + *
+ * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getConfigurationScript() + * @model + * @generated + */ +public interface ConfigurationScript extends EObject +{ + /** + * Returns the value of the 'Imports' containment reference list. + * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Import}. + * + *

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

+ * + * @return the value of the 'Imports' containment reference list. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getConfigurationScript_Imports() + * @model containment="true" + * @generated + */ + EList getImports(); + + /** + * Returns the value of the 'Commands' containment reference list. + * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Command}. + * + *

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

+ * + * @return the value of the 'Commands' containment reference list. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getConfigurationScript_Commands() + * @model containment="true" + * @generated + */ + EList getCommands(); + +} // ConfigurationScript diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/CustomEntry.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/CustomEntry.java index 0971e99d..d61ca6b9 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/CustomEntry.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/CustomEntry.java @@ -1,78 +1,78 @@ -/** - * generated by Xtext 2.12.0 - */ -package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; - - -/** - * - * A representation of the model object 'Custom Entry'. - * - * - *

- * The following features are supported: - *

- *
    - *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.CustomEntry#getKey Key}
  • - *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.CustomEntry#getValue Value}
  • - *
- * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getCustomEntry() - * @model - * @generated - */ -public interface CustomEntry extends ConfigEntry -{ - /** - * 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#getCustomEntry_Key() - * @model - * @generated - */ - String getKey(); - - /** - * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.CustomEntry#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#getCustomEntry_Value() - * @model - * @generated - */ - String getValue(); - - /** - * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.CustomEntry#getValue Value}' attribute. - * - * - * @param value the new value of the 'Value' attribute. - * @see #getValue() - * @generated - */ - void setValue(String value); - -} // CustomEntry +/** + * generated by Xtext 2.16.0 + */ +package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; + + +/** + * + * A representation of the model object 'Custom Entry'. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.CustomEntry#getKey Key}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.CustomEntry#getValue Value}
  • + *
+ * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getCustomEntry() + * @model + * @generated + */ +public interface CustomEntry extends ConfigEntry +{ + /** + * 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#getCustomEntry_Key() + * @model + * @generated + */ + String getKey(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.CustomEntry#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#getCustomEntry_Value() + * @model + * @generated + */ + String getValue(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.CustomEntry#getValue Value}' attribute. + * + * + * @param value the new value of the 'Value' attribute. + * @see #getValue() + * @generated + */ + void setValue(String value); + +} // CustomEntry diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/Declaration.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/Declaration.java index 5249b5e9..883ae250 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/Declaration.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/Declaration.java @@ -1,51 +1,51 @@ -/** - * generated by Xtext 2.12.0 - */ -package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; - - -/** - * - * A representation of the model object 'Declaration'. - * - * - *

- * The following features are supported: - *

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

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

- * - * @return the value of the 'Name' attribute. - * @see #setName(String) - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getDeclaration_Name() - * @model - * @generated - */ - String getName(); - - /** - * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Declaration#getName Name}' attribute. - * - * - * @param value the new value of the 'Name' attribute. - * @see #getName() - * @generated - */ - void setName(String value); - -} // Declaration +/** + * generated by Xtext 2.16.0 + */ +package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; + + +/** + * + * A representation of the model object 'Declaration'. + * + * + *

+ * The following features are supported: + *

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

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

+ * + * @return the value of the 'Name' attribute. + * @see #setName(String) + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getDeclaration_Name() + * @model + * @generated + */ + String getName(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Declaration#getName Name}' attribute. + * + * + * @param value the new value of the 'Name' attribute. + * @see #getName() + * @generated + */ + void setName(String value); + +} // Declaration diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/DocumentLevelSpecification.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/DocumentLevelSpecification.java index 7629d759..fc0d1e8f 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/DocumentLevelSpecification.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/DocumentLevelSpecification.java @@ -1,257 +1,260 @@ -/** - * generated by Xtext 2.12.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 'Document Level Specification', - * and utility methods for working with them. - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getDocumentLevelSpecification() - * @model - * @generated - */ -public enum DocumentLevelSpecification implements Enumerator -{ - /** - * The 'None' literal object. - * - * - * @see #NONE_VALUE - * @generated - * @ordered - */ - NONE(0, "none", "none"), - - /** - * The 'Normal' literal object. - * - * - * @see #NORMAL_VALUE - * @generated - * @ordered - */ - NORMAL(1, "normal", "normal"), - - /** - * The 'Full' literal object. - * - * - * @see #FULL_VALUE - * @generated - * @ordered - */ - FULL(2, "full", "full"); - - /** - * The 'None' literal value. - * - *

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

- * - * @see #NONE - * @model name="none" - * @generated - * @ordered - */ - public static final int NONE_VALUE = 0; - - /** - * The 'Normal' literal value. - * - *

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

- * - * @see #NORMAL - * @model name="normal" - * @generated - * @ordered - */ - public static final int NORMAL_VALUE = 1; - - /** - * The 'Full' literal value. - * - *

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

- * - * @see #FULL - * @model name="full" - * @generated - * @ordered - */ - public static final int FULL_VALUE = 2; - - /** - * An array of all the 'Document Level Specification' enumerators. - * - * - * @generated - */ - private static final DocumentLevelSpecification[] VALUES_ARRAY = - new DocumentLevelSpecification[] - { - NONE, - NORMAL, - FULL, - }; - - /** - * A public read-only list of all the 'Document Level Specification' enumerators. - * - * - * @generated - */ - public static final List VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); - - /** - * Returns the 'Document Level Specification' literal with the specified literal value. - * - * - * @param literal the literal. - * @return the matching enumerator or null. - * @generated - */ - public static DocumentLevelSpecification get(String literal) - { - for (int i = 0; i < VALUES_ARRAY.length; ++i) - { - DocumentLevelSpecification result = VALUES_ARRAY[i]; - if (result.toString().equals(literal)) - { - return result; - } - } - return null; - } - - /** - * Returns the 'Document Level Specification' literal with the specified name. - * - * - * @param name the name. - * @return the matching enumerator or null. - * @generated - */ - public static DocumentLevelSpecification getByName(String name) - { - for (int i = 0; i < VALUES_ARRAY.length; ++i) - { - DocumentLevelSpecification result = VALUES_ARRAY[i]; - if (result.getName().equals(name)) - { - return result; - } - } - return null; - } - - /** - * Returns the 'Document Level Specification' literal with the specified integer value. - * - * - * @param value the integer value. - * @return the matching enumerator or null. - * @generated - */ - public static DocumentLevelSpecification get(int value) - { - switch (value) - { - case NONE_VALUE: return NONE; - case NORMAL_VALUE: return NORMAL; - case FULL_VALUE: return FULL; - } - 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 DocumentLevelSpecification(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; - } - -} //DocumentLevelSpecification +/** + * generated by Xtext 2.16.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 'Document Level Specification', + * and utility methods for working with them. + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getDocumentLevelSpecification() + * @model + * @generated + */ +public enum DocumentLevelSpecification implements Enumerator +{ + /** + * The 'None' literal object. + * + * + * @see #NONE_VALUE + * @generated + * @ordered + */ + NONE(0, "none", "none"), + + /** + * The 'Normal' literal object. + * + * + * @see #NORMAL_VALUE + * @generated + * @ordered + */ + NORMAL(1, "normal", "normal"), + + /** + * The 'Full' literal object. + * + * + * @see #FULL_VALUE + * @generated + * @ordered + */ + FULL(2, "full", "full"); + + /** + * The 'None' literal value. + * + *

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

+ * + * @see #NONE + * @model name="none" + * @generated + * @ordered + */ + public static final int NONE_VALUE = 0; + + /** + * The 'Normal' literal value. + * + *

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

+ * + * @see #NORMAL + * @model name="normal" + * @generated + * @ordered + */ + public static final int NORMAL_VALUE = 1; + + /** + * The 'Full' literal value. + * + *

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

+ * + * @see #FULL + * @model name="full" + * @generated + * @ordered + */ + public static final int FULL_VALUE = 2; + + /** + * An array of all the 'Document Level Specification' enumerators. + * + * + * @generated + */ + private static final DocumentLevelSpecification[] VALUES_ARRAY = + new DocumentLevelSpecification[] + { + NONE, + NORMAL, + FULL, + }; + + /** + * A public read-only list of all the 'Document Level Specification' enumerators. + * + * + * @generated + */ + public static final List VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); + + /** + * Returns the 'Document Level Specification' literal with the specified literal value. + * + * + * @param literal the literal. + * @return the matching enumerator or null. + * @generated + */ + public static DocumentLevelSpecification get(String literal) + { + for (int i = 0; i < VALUES_ARRAY.length; ++i) + { + DocumentLevelSpecification result = VALUES_ARRAY[i]; + if (result.toString().equals(literal)) + { + return result; + } + } + return null; + } + + /** + * Returns the 'Document Level Specification' literal with the specified name. + * + * + * @param name the name. + * @return the matching enumerator or null. + * @generated + */ + public static DocumentLevelSpecification getByName(String name) + { + for (int i = 0; i < VALUES_ARRAY.length; ++i) + { + DocumentLevelSpecification result = VALUES_ARRAY[i]; + if (result.getName().equals(name)) + { + return result; + } + } + return null; + } + + /** + * Returns the 'Document Level Specification' literal with the specified integer value. + * + * + * @param value the integer value. + * @return the matching enumerator or null. + * @generated + */ + public static DocumentLevelSpecification get(int value) + { + switch (value) + { + case NONE_VALUE: return NONE; + case NORMAL_VALUE: return NORMAL; + case FULL_VALUE: return FULL; + } + 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 DocumentLevelSpecification(int value, String name, String literal) + { + this.value = value; + this.name = name; + this.literal = literal; + } + + /** + * + * + * @generated + */ + @Override + public int getValue() + { + return value; + } + + /** + * + * + * @generated + */ + @Override + public String getName() + { + return name; + } + + /** + * + * + * @generated + */ + @Override + public String getLiteral() + { + return literal; + } + + /** + * Returns the literal value of the enumerator, which is its string representation. + * + * + * @generated + */ + @Override + public String toString() + { + return literal; + } + +} //DocumentLevelSpecification diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/DocumentationEntry.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/DocumentationEntry.java index 64032306..599e3c03 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/DocumentationEntry.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/DocumentationEntry.java @@ -1,54 +1,54 @@ -/** - * generated by Xtext 2.12.0 - */ -package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; - - -/** - * - * A representation of the model object 'Documentation Entry'. - * - * - *

- * The following features are supported: - *

- *
    - *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.DocumentationEntry#getLevel Level}
  • - *
- * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getDocumentationEntry() - * @model - * @generated - */ -public interface DocumentationEntry extends ConfigEntry -{ - /** - * Returns the value of the 'Level' attribute. - * The literals are from the enumeration {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.DocumentLevelSpecification}. - * - *

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

- * - * @return the value of the 'Level' attribute. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.DocumentLevelSpecification - * @see #setLevel(DocumentLevelSpecification) - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getDocumentationEntry_Level() - * @model - * @generated - */ - DocumentLevelSpecification getLevel(); - - /** - * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.DocumentationEntry#getLevel Level}' attribute. - * - * - * @param value the new value of the 'Level' attribute. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.DocumentLevelSpecification - * @see #getLevel() - * @generated - */ - void setLevel(DocumentLevelSpecification value); - -} // DocumentationEntry +/** + * generated by Xtext 2.16.0 + */ +package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; + + +/** + * + * A representation of the model object 'Documentation Entry'. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.DocumentationEntry#getLevel Level}
  • + *
+ * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getDocumentationEntry() + * @model + * @generated + */ +public interface DocumentationEntry extends ConfigEntry +{ + /** + * Returns the value of the 'Level' attribute. + * The literals are from the enumeration {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.DocumentLevelSpecification}. + * + *

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

+ * + * @return the value of the 'Level' attribute. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.DocumentLevelSpecification + * @see #setLevel(DocumentLevelSpecification) + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getDocumentationEntry_Level() + * @model + * @generated + */ + DocumentLevelSpecification getLevel(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.DocumentationEntry#getLevel Level}' attribute. + * + * + * @param value the new value of the 'Level' attribute. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.DocumentLevelSpecification + * @see #getLevel() + * @generated + */ + void setLevel(DocumentLevelSpecification value); + +} // DocumentationEntry diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/EPackageImport.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/EPackageImport.java index f73e0bcd..9fe288d0 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/EPackageImport.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/EPackageImport.java @@ -1,52 +1,52 @@ -/** - * generated by Xtext 2.12.0 - */ -package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; - -import org.eclipse.emf.ecore.EPackage; - -/** - * - * A representation of the model object 'EPackage Import'. - * - * - *

- * The following features are supported: - *

- *
    - *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.EPackageImport#getImportedPackage Imported Package}
  • - *
- * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getEPackageImport() - * @model - * @generated - */ -public interface EPackageImport extends Import -{ - /** - * Returns the value of the 'Imported Package' reference. - * - *

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

- * - * @return the value of the 'Imported Package' reference. - * @see #setImportedPackage(EPackage) - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getEPackageImport_ImportedPackage() - * @model - * @generated - */ - EPackage getImportedPackage(); - - /** - * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.EPackageImport#getImportedPackage Imported Package}' reference. - * - * - * @param value the new value of the 'Imported Package' reference. - * @see #getImportedPackage() - * @generated - */ - void setImportedPackage(EPackage value); - -} // EPackageImport +/** + * generated by Xtext 2.16.0 + */ +package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; + +import org.eclipse.emf.ecore.EPackage; + +/** + * + * A representation of the model object 'EPackage Import'. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.EPackageImport#getImportedPackage Imported Package}
  • + *
+ * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getEPackageImport() + * @model + * @generated + */ +public interface EPackageImport extends Import +{ + /** + * Returns the value of the 'Imported Package' reference. + * + *

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

+ * + * @return the value of the 'Imported Package' reference. + * @see #setImportedPackage(EPackage) + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getEPackageImport_ImportedPackage() + * @model + * @generated + */ + EPackage getImportedPackage(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.EPackageImport#getImportedPackage Imported Package}' reference. + * + * + * @param value the new value of the 'Imported Package' reference. + * @see #getImportedPackage() + * @generated + */ + void setImportedPackage(EPackage value); + +} // EPackageImport diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ExactNumber.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ExactNumber.java index c72580e5..a818f6ef 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ExactNumber.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ExactNumber.java @@ -1,78 +1,78 @@ -/** - * generated by Xtext 2.12.0 - */ -package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; - - -/** - * - * A representation of the model object 'Exact Number'. - * - * - *

- * The following features are supported: - *

- *
    - *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ExactNumber#getExactNumber Exact Number}
  • - *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ExactNumber#isExactUnlimited Exact Unlimited}
  • - *
- * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getExactNumber() - * @model - * @generated - */ -public interface ExactNumber extends NumberSpecification -{ - /** - * Returns the value of the 'Exact Number' attribute. - * - *

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

- * - * @return the value of the 'Exact Number' attribute. - * @see #setExactNumber(int) - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getExactNumber_ExactNumber() - * @model - * @generated - */ - int getExactNumber(); - - /** - * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ExactNumber#getExactNumber Exact Number}' attribute. - * - * - * @param value the new value of the 'Exact Number' attribute. - * @see #getExactNumber() - * @generated - */ - void setExactNumber(int value); - - /** - * Returns the value of the 'Exact Unlimited' attribute. - * - *

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

- * - * @return the value of the 'Exact Unlimited' attribute. - * @see #setExactUnlimited(boolean) - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getExactNumber_ExactUnlimited() - * @model - * @generated - */ - boolean isExactUnlimited(); - - /** - * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ExactNumber#isExactUnlimited Exact Unlimited}' attribute. - * - * - * @param value the new value of the 'Exact Unlimited' attribute. - * @see #isExactUnlimited() - * @generated - */ - void setExactUnlimited(boolean value); - -} // ExactNumber +/** + * generated by Xtext 2.16.0 + */ +package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; + + +/** + * + * A representation of the model object 'Exact Number'. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ExactNumber#getExactNumber Exact Number}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ExactNumber#isExactUnlimited Exact Unlimited}
  • + *
+ * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getExactNumber() + * @model + * @generated + */ +public interface ExactNumber extends NumberSpecification +{ + /** + * Returns the value of the 'Exact Number' attribute. + * + *

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

+ * + * @return the value of the 'Exact Number' attribute. + * @see #setExactNumber(int) + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getExactNumber_ExactNumber() + * @model + * @generated + */ + int getExactNumber(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ExactNumber#getExactNumber Exact Number}' attribute. + * + * + * @param value the new value of the 'Exact Number' attribute. + * @see #getExactNumber() + * @generated + */ + void setExactNumber(int value); + + /** + * Returns the value of the 'Exact Unlimited' attribute. + * + *

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

+ * + * @return the value of the 'Exact Unlimited' attribute. + * @see #setExactUnlimited(boolean) + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getExactNumber_ExactUnlimited() + * @model + * @generated + */ + boolean isExactUnlimited(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ExactNumber#isExactUnlimited Exact Unlimited}' attribute. + * + * + * @param value the new value of the 'Exact Unlimited' attribute. + * @see #isExactUnlimited() + * @generated + */ + void setExactUnlimited(boolean value); + +} // ExactNumber 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 index 4dd48918..6ac543e9 100644 --- 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 @@ -1,20 +1,20 @@ -/** - * generated by Xtext 2.12.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 +/** + * generated by Xtext 2.16.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 index de7ee62e..266a5f3a 100644 --- 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 @@ -1,51 +1,51 @@ -/** - * generated by Xtext 2.12.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 +/** + * generated by Xtext 2.16.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 index fc3f3762..4263c762 100644 --- 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 @@ -1,51 +1,51 @@ -/** - * generated by Xtext 2.12.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 +/** + * generated by Xtext 2.16.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 index 1b2a09a2..afcce59f 100644 --- 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 @@ -1,51 +1,51 @@ -/** - * generated by Xtext 2.12.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 +/** + * generated by Xtext 2.16.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 index 05c8ceb9..6d784b76 100644 --- 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 @@ -1,42 +1,42 @@ -/** - * generated by Xtext 2.12.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 +/** + * generated by Xtext 2.16.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 index 83ee824d..b61d9907 100644 --- 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 @@ -1,405 +1,432 @@ -/** - * generated by Xtext 2.12.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#isNumberSpecified Number Specified}
  • - *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask#getNumber Number}
  • - *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask#isRunSpecified Run Specified}
  • - *
  • {@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#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}
  • - *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask#getTagetFolder Taget Folder}
  • - *
- * - * @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 Specified' attribute. - * - *

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

- * - * @return the value of the 'Number Specified' attribute. - * @see #setNumberSpecified(boolean) - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getGenerationTask_NumberSpecified() - * @model - * @generated - */ - boolean isNumberSpecified(); - - /** - * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask#isNumberSpecified Number Specified}' attribute. - * - * - * @param value the new value of the 'Number Specified' attribute. - * @see #isNumberSpecified() - * @generated - */ - void setNumberSpecified(boolean 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 'Run Specified' attribute. - * - *

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

- * - * @return the value of the 'Run Specified' attribute. - * @see #setRunSpecified(boolean) - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getGenerationTask_RunSpecified() - * @model - * @generated - */ - boolean isRunSpecified(); - - /** - * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask#isRunSpecified Run Specified}' attribute. - * - * - * @param value the new value of the 'Run Specified' attribute. - * @see #isRunSpecified() - * @generated - */ - void setRunSpecified(boolean 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 '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); - - /** - * 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); - -} // GenerationTask +/** + * generated by Xtext 2.16.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#getObjectives Objectives}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask#getScope Scope}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask#isNumberSpecified Number Specified}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask#getNumber Number}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask#isRunSpecified Run Specified}
  • + *
  • {@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#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}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask#getTagetFolder Taget Folder}
  • + *
+ * + * @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 'Objectives' containment reference. + * + *

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

+ * + * @return the value of the 'Objectives' containment reference. + * @see #setObjectives(Objective) + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getGenerationTask_Objectives() + * @model containment="true" + * @generated + */ + Objective getObjectives(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask#getObjectives Objectives}' containment reference. + * + * + * @param value the new value of the 'Objectives' containment reference. + * @see #getObjectives() + * @generated + */ + void setObjectives(Objective 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 Specified' attribute. + * + *

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

+ * + * @return the value of the 'Number Specified' attribute. + * @see #setNumberSpecified(boolean) + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getGenerationTask_NumberSpecified() + * @model + * @generated + */ + boolean isNumberSpecified(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask#isNumberSpecified Number Specified}' attribute. + * + * + * @param value the new value of the 'Number Specified' attribute. + * @see #isNumberSpecified() + * @generated + */ + void setNumberSpecified(boolean 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 'Run Specified' attribute. + * + *

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

+ * + * @return the value of the 'Run Specified' attribute. + * @see #setRunSpecified(boolean) + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getGenerationTask_RunSpecified() + * @model + * @generated + */ + boolean isRunSpecified(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask#isRunSpecified Run Specified}' attribute. + * + * + * @param value the new value of the 'Run Specified' attribute. + * @see #isRunSpecified() + * @generated + */ + void setRunSpecified(boolean 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 '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); + + /** + * 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); + +} // 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 index 99d187ea..db01f2ce 100644 --- 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 @@ -1,20 +1,20 @@ -/** - * generated by Xtext 2.12.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 +/** + * generated by Xtext 2.16.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 index be0b962d..38bea9b2 100644 --- 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 @@ -1,51 +1,51 @@ -/** - * generated by Xtext 2.12.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 +/** + * generated by Xtext 2.16.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 index 20a32a3a..a52300a9 100644 --- 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 @@ -1,51 +1,51 @@ -/** - * generated by Xtext 2.12.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 +/** + * generated by Xtext 2.16.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/Import.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/Import.java index 90f27659..efdb814f 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/Import.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/Import.java @@ -1,20 +1,20 @@ -/** - * generated by Xtext 2.12.0 - */ -package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; - -import org.eclipse.emf.ecore.EObject; - -/** - * - * A representation of the model object 'Import'. - * - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getImport() - * @model - * @generated - */ -public interface Import extends EObject -{ -} // Import +/** + * generated by Xtext 2.16.0 + */ +package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; + +import org.eclipse.emf.ecore.EObject; + +/** + * + * A representation of the model object 'Import'. + * + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getImport() + * @model + * @generated + */ +public interface Import extends EObject +{ +} // Import diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/IntEnumberation.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/IntEnumberation.java index 3fffae8e..0af738f7 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/IntEnumberation.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/IntEnumberation.java @@ -1,42 +1,42 @@ -/** - * generated by Xtext 2.12.0 - */ -package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; - -import org.eclipse.emf.common.util.EList; - -/** - * - * A representation of the model object 'Int Enumberation'. - * - * - *

- * The following features are supported: - *

- *
    - *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntEnumberation#getEntry Entry}
  • - *
- * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getIntEnumberation() - * @model - * @generated - */ -public interface IntEnumberation extends NumberSpecification -{ - /** - * Returns the value of the 'Entry' attribute list. - * The list contents are of type {@link java.lang.Integer}. - * - *

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

- * - * @return the value of the 'Entry' attribute list. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getIntEnumberation_Entry() - * @model unique="false" - * @generated - */ - EList getEntry(); - -} // IntEnumberation +/** + * generated by Xtext 2.16.0 + */ +package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; + +import org.eclipse.emf.common.util.EList; + +/** + * + * A representation of the model object 'Int Enumberation'. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntEnumberation#getEntry Entry}
  • + *
+ * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getIntEnumberation() + * @model + * @generated + */ +public interface IntEnumberation extends NumberSpecification +{ + /** + * Returns the value of the 'Entry' attribute list. + * The list contents are of type {@link java.lang.Integer}. + * + *

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

+ * + * @return the value of the 'Entry' attribute list. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getIntEnumberation_Entry() + * @model unique="false" + * @generated + */ + EList getEntry(); + +} // IntEnumberation 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 index 9257cdb9..5f102472 100644 --- 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 @@ -1,19 +1,19 @@ -/** - * generated by Xtext 2.12.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 +/** + * generated by Xtext 2.16.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 index 8d5752cb..048beac9 100644 --- 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 @@ -1,19 +1,19 @@ -/** - * generated by Xtext 2.12.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 +/** + * generated by Xtext 2.16.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/IntegerTypeScope.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/IntegerTypeScope.java index 8b8fc2dd..7528c942 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/IntegerTypeScope.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/IntegerTypeScope.java @@ -1,51 +1,51 @@ -/** - * generated by Xtext 2.12.0 - */ -package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; - - -/** - * - * A representation of the model object 'Integer Type Scope'. - * - * - *

- * The following features are supported: - *

- *
    - *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntegerTypeScope#getType Type}
  • - *
- * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getIntegerTypeScope() - * @model - * @generated - */ -public interface IntegerTypeScope extends TypeScope -{ - /** - * 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(IntegerReference) - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getIntegerTypeScope_Type() - * @model containment="true" - * @generated - */ - IntegerReference getType(); - - /** - * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntegerTypeScope#getType Type}' containment reference. - * - * - * @param value the new value of the 'Type' containment reference. - * @see #getType() - * @generated - */ - void setType(IntegerReference value); - -} // IntegerTypeScope +/** + * generated by Xtext 2.16.0 + */ +package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; + + +/** + * + * A representation of the model object 'Integer Type Scope'. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntegerTypeScope#getType Type}
  • + *
+ * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getIntegerTypeScope() + * @model + * @generated + */ +public interface IntegerTypeScope extends TypeScope +{ + /** + * 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(IntegerReference) + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getIntegerTypeScope_Type() + * @model containment="true" + * @generated + */ + IntegerReference getType(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntegerTypeScope#getType Type}' containment reference. + * + * + * @param value the new value of the 'Type' containment reference. + * @see #getType() + * @generated + */ + void setType(IntegerReference value); + +} // IntegerTypeScope diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/IntervallNumber.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/IntervallNumber.java index 33a1f773..99434542 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/IntervallNumber.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/IntervallNumber.java @@ -1,105 +1,105 @@ -/** - * generated by Xtext 2.12.0 - */ -package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; - - -/** - * - * A representation of the model object 'Intervall Number'. - * - * - *

- * The following features are supported: - *

- *
    - *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntervallNumber#getMin Min}
  • - *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntervallNumber#getMaxNumber Max Number}
  • - *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntervallNumber#isMaxUnlimited Max Unlimited}
  • - *
- * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getIntervallNumber() - * @model - * @generated - */ -public interface IntervallNumber extends NumberSpecification -{ - /** - * 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#getIntervallNumber_Min() - * @model - * @generated - */ - int getMin(); - - /** - * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntervallNumber#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 Number' attribute. - * - *

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

- * - * @return the value of the 'Max Number' attribute. - * @see #setMaxNumber(int) - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getIntervallNumber_MaxNumber() - * @model - * @generated - */ - int getMaxNumber(); - - /** - * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntervallNumber#getMaxNumber Max Number}' attribute. - * - * - * @param value the new value of the 'Max Number' attribute. - * @see #getMaxNumber() - * @generated - */ - void setMaxNumber(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#getIntervallNumber_MaxUnlimited() - * @model - * @generated - */ - boolean isMaxUnlimited(); - - /** - * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntervallNumber#isMaxUnlimited Max Unlimited}' attribute. - * - * - * @param value the new value of the 'Max Unlimited' attribute. - * @see #isMaxUnlimited() - * @generated - */ - void setMaxUnlimited(boolean value); - -} // IntervallNumber +/** + * generated by Xtext 2.16.0 + */ +package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; + + +/** + * + * A representation of the model object 'Intervall Number'. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntervallNumber#getMin Min}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntervallNumber#getMaxNumber Max Number}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntervallNumber#isMaxUnlimited Max Unlimited}
  • + *
+ * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getIntervallNumber() + * @model + * @generated + */ +public interface IntervallNumber extends NumberSpecification +{ + /** + * 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#getIntervallNumber_Min() + * @model + * @generated + */ + int getMin(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntervallNumber#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 Number' attribute. + * + *

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

+ * + * @return the value of the 'Max Number' attribute. + * @see #setMaxNumber(int) + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getIntervallNumber_MaxNumber() + * @model + * @generated + */ + int getMaxNumber(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntervallNumber#getMaxNumber Max Number}' attribute. + * + * + * @param value the new value of the 'Max Number' attribute. + * @see #getMaxNumber() + * @generated + */ + void setMaxNumber(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#getIntervallNumber_MaxUnlimited() + * @model + * @generated + */ + boolean isMaxUnlimited(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntervallNumber#isMaxUnlimited Max Unlimited}' attribute. + * + * + * @param value the new value of the 'Max Unlimited' attribute. + * @see #isMaxUnlimited() + * @generated + */ + void setMaxUnlimited(boolean value); + +} // IntervallNumber diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/MemoryEntry.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/MemoryEntry.java index e370d6b6..48122822 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/MemoryEntry.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/MemoryEntry.java @@ -1,51 +1,51 @@ -/** - * generated by Xtext 2.12.0 - */ -package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; - - -/** - * - * A representation of the model object 'Memory Entry'. - * - * - *

- * The following features are supported: - *

- *
    - *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MemoryEntry#getMegabyteLimit Megabyte Limit}
  • - *
- * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getMemoryEntry() - * @model - * @generated - */ -public interface MemoryEntry extends ConfigEntry -{ - /** - * Returns the value of the 'Megabyte Limit' attribute. - * - *

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

- * - * @return the value of the 'Megabyte Limit' attribute. - * @see #setMegabyteLimit(int) - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getMemoryEntry_MegabyteLimit() - * @model - * @generated - */ - int getMegabyteLimit(); - - /** - * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MemoryEntry#getMegabyteLimit Megabyte Limit}' attribute. - * - * - * @param value the new value of the 'Megabyte Limit' attribute. - * @see #getMegabyteLimit() - * @generated - */ - void setMegabyteLimit(int value); - -} // MemoryEntry +/** + * generated by Xtext 2.16.0 + */ +package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; + + +/** + * + * A representation of the model object 'Memory Entry'. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MemoryEntry#getMegabyteLimit Megabyte Limit}
  • + *
+ * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getMemoryEntry() + * @model + * @generated + */ +public interface MemoryEntry extends ConfigEntry +{ + /** + * Returns the value of the 'Megabyte Limit' attribute. + * + *

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

+ * + * @return the value of the 'Megabyte Limit' attribute. + * @see #setMegabyteLimit(int) + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getMemoryEntry_MegabyteLimit() + * @model + * @generated + */ + int getMegabyteLimit(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MemoryEntry#getMegabyteLimit Megabyte Limit}' attribute. + * + * + * @param value the new value of the 'Megabyte Limit' attribute. + * @see #getMegabyteLimit() + * @generated + */ + void setMegabyteLimit(int value); + +} // MemoryEntry diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/Metamodel.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/Metamodel.java index 76f35449..2d58c5de 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/Metamodel.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/Metamodel.java @@ -1,20 +1,20 @@ -/** - * generated by Xtext 2.12.0 - */ -package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; - -import org.eclipse.emf.ecore.EObject; - -/** - * - * A representation of the model object 'Metamodel'. - * - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getMetamodel() - * @model - * @generated - */ -public interface Metamodel extends EObject -{ -} // Metamodel +/** + * generated by Xtext 2.16.0 + */ +package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; + +import org.eclipse.emf.ecore.EObject; + +/** + * + * A representation of the model object 'Metamodel'. + * + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getMetamodel() + * @model + * @generated + */ +public interface Metamodel extends EObject +{ +} // Metamodel diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/MetamodelDeclaration.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/MetamodelDeclaration.java index c6c22075..e05a306e 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/MetamodelDeclaration.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/MetamodelDeclaration.java @@ -1,51 +1,51 @@ -/** - * generated by Xtext 2.12.0 - */ -package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; - - -/** - * - * A representation of the model object 'Metamodel Declaration'. - * - * - *

- * The following features are supported: - *

- *
    - *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelDeclaration#getSpecification Specification}
  • - *
- * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getMetamodelDeclaration() - * @model - * @generated - */ -public interface MetamodelDeclaration 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(MetamodelSpecification) - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getMetamodelDeclaration_Specification() - * @model containment="true" - * @generated - */ - MetamodelSpecification getSpecification(); - - /** - * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelDeclaration#getSpecification Specification}' containment reference. - * - * - * @param value the new value of the 'Specification' containment reference. - * @see #getSpecification() - * @generated - */ - void setSpecification(MetamodelSpecification value); - -} // MetamodelDeclaration +/** + * generated by Xtext 2.16.0 + */ +package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; + + +/** + * + * A representation of the model object 'Metamodel Declaration'. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelDeclaration#getSpecification Specification}
  • + *
+ * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getMetamodelDeclaration() + * @model + * @generated + */ +public interface MetamodelDeclaration 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(MetamodelSpecification) + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getMetamodelDeclaration_Specification() + * @model containment="true" + * @generated + */ + MetamodelSpecification getSpecification(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelDeclaration#getSpecification Specification}' containment reference. + * + * + * @param value the new value of the 'Specification' containment reference. + * @see #getSpecification() + * @generated + */ + void setSpecification(MetamodelSpecification value); + +} // MetamodelDeclaration diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/MetamodelElement.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/MetamodelElement.java index 41cf4f2d..d6ed6425 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/MetamodelElement.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/MetamodelElement.java @@ -1,80 +1,80 @@ -/** - * generated by Xtext 2.12.0 - */ -package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; - -import org.eclipse.emf.ecore.EClassifier; -import org.eclipse.emf.ecore.ENamedElement; - -/** - * - * A representation of the model object 'Metamodel Element'. - * - * - *

- * The following features are supported: - *

- *
    - *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelElement#getClassifier Classifier}
  • - *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelElement#getFeature Feature}
  • - *
- * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getMetamodelElement() - * @model - * @generated - */ -public interface MetamodelElement extends MetamodelEntry -{ - /** - * Returns the value of the 'Classifier' reference. - * - *

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

- * - * @return the value of the 'Classifier' reference. - * @see #setClassifier(EClassifier) - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getMetamodelElement_Classifier() - * @model - * @generated - */ - EClassifier getClassifier(); - - /** - * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelElement#getClassifier Classifier}' reference. - * - * - * @param value the new value of the 'Classifier' reference. - * @see #getClassifier() - * @generated - */ - void setClassifier(EClassifier value); - - /** - * Returns the value of the 'Feature' reference. - * - *

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

- * - * @return the value of the 'Feature' reference. - * @see #setFeature(ENamedElement) - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getMetamodelElement_Feature() - * @model - * @generated - */ - ENamedElement getFeature(); - - /** - * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelElement#getFeature Feature}' reference. - * - * - * @param value the new value of the 'Feature' reference. - * @see #getFeature() - * @generated - */ - void setFeature(ENamedElement value); - -} // MetamodelElement +/** + * generated by Xtext 2.16.0 + */ +package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; + +import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.emf.ecore.ENamedElement; + +/** + * + * A representation of the model object 'Metamodel Element'. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelElement#getClassifier Classifier}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelElement#getFeature Feature}
  • + *
+ * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getMetamodelElement() + * @model + * @generated + */ +public interface MetamodelElement extends MetamodelEntry +{ + /** + * Returns the value of the 'Classifier' reference. + * + *

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

+ * + * @return the value of the 'Classifier' reference. + * @see #setClassifier(EClassifier) + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getMetamodelElement_Classifier() + * @model + * @generated + */ + EClassifier getClassifier(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelElement#getClassifier Classifier}' reference. + * + * + * @param value the new value of the 'Classifier' reference. + * @see #getClassifier() + * @generated + */ + void setClassifier(EClassifier value); + + /** + * Returns the value of the 'Feature' reference. + * + *

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

+ * + * @return the value of the 'Feature' reference. + * @see #setFeature(ENamedElement) + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getMetamodelElement_Feature() + * @model + * @generated + */ + ENamedElement getFeature(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelElement#getFeature Feature}' reference. + * + * + * @param value the new value of the 'Feature' reference. + * @see #getFeature() + * @generated + */ + void setFeature(ENamedElement value); + +} // MetamodelElement diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/MetamodelEntry.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/MetamodelEntry.java index 59e3f4e0..9a5e146e 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/MetamodelEntry.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/MetamodelEntry.java @@ -1,53 +1,53 @@ -/** - * generated by Xtext 2.12.0 - */ -package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; - -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.EPackage; - -/** - * - * A representation of the model object 'Metamodel Entry'. - * - * - *

- * The following features are supported: - *

- *
    - *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelEntry#getPackage Package}
  • - *
- * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getMetamodelEntry() - * @model - * @generated - */ -public interface MetamodelEntry 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(EPackage) - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getMetamodelEntry_Package() - * @model - * @generated - */ - EPackage getPackage(); - - /** - * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelEntry#getPackage Package}' reference. - * - * - * @param value the new value of the 'Package' reference. - * @see #getPackage() - * @generated - */ - void setPackage(EPackage value); - -} // MetamodelEntry +/** + * generated by Xtext 2.16.0 + */ +package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; + +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.EPackage; + +/** + * + * A representation of the model object 'Metamodel Entry'. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelEntry#getPackage Package}
  • + *
+ * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getMetamodelEntry() + * @model + * @generated + */ +public interface MetamodelEntry 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(EPackage) + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getMetamodelEntry_Package() + * @model + * @generated + */ + EPackage getPackage(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelEntry#getPackage Package}' reference. + * + * + * @param value the new value of the 'Package' reference. + * @see #getPackage() + * @generated + */ + void setPackage(EPackage value); + +} // MetamodelEntry diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/MetamodelReference.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/MetamodelReference.java index c9e7e443..b28de27a 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/MetamodelReference.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/MetamodelReference.java @@ -1,51 +1,51 @@ -/** - * generated by Xtext 2.12.0 - */ -package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; - - -/** - * - * A representation of the model object 'Metamodel Reference'. - * - * - *

- * The following features are supported: - *

- *
    - *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelReference#getReferred Referred}
  • - *
- * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getMetamodelReference() - * @model - * @generated - */ -public interface MetamodelReference extends Metamodel -{ - /** - * 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(MetamodelDeclaration) - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getMetamodelReference_Referred() - * @model - * @generated - */ - MetamodelDeclaration getReferred(); - - /** - * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelReference#getReferred Referred}' reference. - * - * - * @param value the new value of the 'Referred' reference. - * @see #getReferred() - * @generated - */ - void setReferred(MetamodelDeclaration value); - -} // MetamodelReference +/** + * generated by Xtext 2.16.0 + */ +package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; + + +/** + * + * A representation of the model object 'Metamodel Reference'. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelReference#getReferred Referred}
  • + *
+ * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getMetamodelReference() + * @model + * @generated + */ +public interface MetamodelReference extends Metamodel +{ + /** + * 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(MetamodelDeclaration) + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getMetamodelReference_Referred() + * @model + * @generated + */ + MetamodelDeclaration getReferred(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelReference#getReferred Referred}' reference. + * + * + * @param value the new value of the 'Referred' reference. + * @see #getReferred() + * @generated + */ + void setReferred(MetamodelDeclaration value); + +} // MetamodelReference diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/MetamodelSpecification.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/MetamodelSpecification.java index 250db1eb..b268bdff 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/MetamodelSpecification.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/MetamodelSpecification.java @@ -1,42 +1,42 @@ -/** - * generated by Xtext 2.12.0 - */ -package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; - -import org.eclipse.emf.common.util.EList; - -/** - * - * A representation of the model object 'Metamodel Specification'. - * - * - *

- * The following features are supported: - *

- *
    - *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelSpecification#getEntries Entries}
  • - *
- * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getMetamodelSpecification() - * @model - * @generated - */ -public interface MetamodelSpecification extends Metamodel -{ - /** - * Returns the value of the 'Entries' containment reference list. - * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelEntry}. - * - *

- * 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#getMetamodelSpecification_Entries() - * @model containment="true" - * @generated - */ - EList getEntries(); - -} // MetamodelSpecification +/** + * generated by Xtext 2.16.0 + */ +package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; + +import org.eclipse.emf.common.util.EList; + +/** + * + * A representation of the model object 'Metamodel Specification'. + * + * + *

+ * The following features are supported: + *

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

+ * 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#getMetamodelSpecification_Entries() + * @model containment="true" + * @generated + */ + EList getEntries(); + +} // MetamodelSpecification 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 index 1a1fc229..374e57c7 100644 --- 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 @@ -1,19 +1,19 @@ -/** - * generated by Xtext 2.12.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 +/** + * generated by Xtext 2.16.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/NumberSpecification.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/NumberSpecification.java index bf6ebbb0..f8b29030 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/NumberSpecification.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/NumberSpecification.java @@ -1,20 +1,20 @@ -/** - * generated by Xtext 2.12.0 - */ -package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; - -import org.eclipse.emf.ecore.EObject; - -/** - * - * A representation of the model object 'Number Specification'. - * - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getNumberSpecification() - * @model - * @generated - */ -public interface NumberSpecification extends EObject -{ -} // NumberSpecification +/** + * generated by Xtext 2.16.0 + */ +package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; + +import org.eclipse.emf.ecore.EObject; + +/** + * + * A representation of the model object 'Number Specification'. + * + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getNumberSpecification() + * @model + * @generated + */ +public interface NumberSpecification extends EObject +{ +} // NumberSpecification 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 index 0e4f4491..c5571c57 100644 --- 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 @@ -1,19 +1,19 @@ -/** - * generated by Xtext 2.12.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 +/** + * generated by Xtext 2.16.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/ObjectTypeScope.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ObjectTypeScope.java index d65c42cd..2f4fa8cc 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ObjectTypeScope.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ObjectTypeScope.java @@ -1,51 +1,51 @@ -/** - * generated by Xtext 2.12.0 - */ -package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; - - -/** - * - * A representation of the model object 'Object Type Scope'. - * - * - *

- * The following features are supported: - *

- *
    - *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ObjectTypeScope#getType Type}
  • - *
- * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getObjectTypeScope() - * @model - * @generated - */ -public interface ObjectTypeScope extends TypeScope -{ - /** - * 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(ObjectReference) - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getObjectTypeScope_Type() - * @model containment="true" - * @generated - */ - ObjectReference getType(); - - /** - * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ObjectTypeScope#getType Type}' containment reference. - * - * - * @param value the new value of the 'Type' containment reference. - * @see #getType() - * @generated - */ - void setType(ObjectReference value); - -} // ObjectTypeScope +/** + * generated by Xtext 2.16.0 + */ +package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; + + +/** + * + * A representation of the model object 'Object Type Scope'. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ObjectTypeScope#getType Type}
  • + *
+ * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getObjectTypeScope() + * @model + * @generated + */ +public interface ObjectTypeScope extends TypeScope +{ + /** + * 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(ObjectReference) + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getObjectTypeScope_Type() + * @model containment="true" + * @generated + */ + ObjectReference getType(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ObjectTypeScope#getType Type}' containment reference. + * + * + * @param value the new value of the 'Type' containment reference. + * @see #getType() + * @generated + */ + void setType(ObjectReference value); + +} // ObjectTypeScope diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/Objective.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/Objective.java new file mode 100644 index 00000000..9c58cf51 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/Objective.java @@ -0,0 +1,20 @@ +/** + * generated by Xtext 2.16.0 + */ +package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; + +import org.eclipse.emf.ecore.EObject; + +/** + * + * A representation of the model object 'Objective'. + * + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getObjective() + * @model + * @generated + */ +public interface Objective extends EObject +{ +} // Objective diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ObjectiveDeclaration.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ObjectiveDeclaration.java new file mode 100644 index 00000000..858896a8 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ObjectiveDeclaration.java @@ -0,0 +1,51 @@ +/** + * generated by Xtext 2.16.0 + */ +package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; + + +/** + * + * A representation of the model object 'Objective Declaration'. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ObjectiveDeclaration#getSpecification Specification}
  • + *
+ * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getObjectiveDeclaration() + * @model + * @generated + */ +public interface ObjectiveDeclaration 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(ObjectiveSpecification) + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getObjectiveDeclaration_Specification() + * @model containment="true" + * @generated + */ + ObjectiveSpecification getSpecification(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ObjectiveDeclaration#getSpecification Specification}' containment reference. + * + * + * @param value the new value of the 'Specification' containment reference. + * @see #getSpecification() + * @generated + */ + void setSpecification(ObjectiveSpecification value); + +} // ObjectiveDeclaration diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ObjectiveEntry.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ObjectiveEntry.java new file mode 100644 index 00000000..f341b4cc --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ObjectiveEntry.java @@ -0,0 +1,52 @@ +/** + * generated by Xtext 2.16.0 + */ +package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; + +import org.eclipse.emf.ecore.EObject; + +/** + * + * A representation of the model object 'Objective Entry'. + * + * + *

+ * The following features are supported: + *

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

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

+ * + * @return the value of the 'Function' containment reference. + * @see #setFunction(ObjectiveFunction) + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getObjectiveEntry_Function() + * @model containment="true" + * @generated + */ + ObjectiveFunction getFunction(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ObjectiveEntry#getFunction Function}' containment reference. + * + * + * @param value the new value of the 'Function' containment reference. + * @see #getFunction() + * @generated + */ + void setFunction(ObjectiveFunction value); + +} // ObjectiveEntry diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ObjectiveFunction.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ObjectiveFunction.java new file mode 100644 index 00000000..d1617f69 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ObjectiveFunction.java @@ -0,0 +1,20 @@ +/** + * generated by Xtext 2.16.0 + */ +package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; + +import org.eclipse.emf.ecore.EObject; + +/** + * + * A representation of the model object 'Objective Function'. + * + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getObjectiveFunction() + * @model + * @generated + */ +public interface ObjectiveFunction extends EObject +{ +} // ObjectiveFunction diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ObjectiveReference.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ObjectiveReference.java new file mode 100644 index 00000000..ed9a2f83 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ObjectiveReference.java @@ -0,0 +1,51 @@ +/** + * generated by Xtext 2.16.0 + */ +package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; + + +/** + * + * A representation of the model object 'Objective Reference'. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ObjectiveReference#getReferred Referred}
  • + *
+ * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getObjectiveReference() + * @model + * @generated + */ +public interface ObjectiveReference extends Objective +{ + /** + * 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(ObjectiveDeclaration) + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getObjectiveReference_Referred() + * @model + * @generated + */ + ObjectiveDeclaration getReferred(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ObjectiveReference#getReferred Referred}' reference. + * + * + * @param value the new value of the 'Referred' reference. + * @see #getReferred() + * @generated + */ + void setReferred(ObjectiveDeclaration value); + +} // ObjectiveReference diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ObjectiveSpecification.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ObjectiveSpecification.java new file mode 100644 index 00000000..a812cf5c --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ObjectiveSpecification.java @@ -0,0 +1,42 @@ +/** + * generated by Xtext 2.16.0 + */ +package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; + +import org.eclipse.emf.common.util.EList; + +/** + * + * A representation of the model object 'Objective Specification'. + * + * + *

+ * The following features are supported: + *

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

+ * 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#getObjectiveSpecification_Entries() + * @model containment="true" + * @generated + */ + EList getEntries(); + +} // ObjectiveSpecification diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/OptimizationDirection.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/OptimizationDirection.java new file mode 100644 index 00000000..57068cb5 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/OptimizationDirection.java @@ -0,0 +1,233 @@ +/** + * generated by Xtext 2.16.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 'Optimization Direction', + * and utility methods for working with them. + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getOptimizationDirection() + * @model + * @generated + */ +public enum OptimizationDirection implements Enumerator +{ + /** + * The 'MINIMIZE' literal object. + * + * + * @see #MINIMIZE_VALUE + * @generated + * @ordered + */ + MINIMIZE(0, "MINIMIZE", "minimize"), + + /** + * The 'MAXIMIZE' literal object. + * + * + * @see #MAXIMIZE_VALUE + * @generated + * @ordered + */ + MAXIMIZE(1, "MAXIMIZE", "maximize"); + + /** + * The 'MINIMIZE' literal value. + * + *

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

+ * + * @see #MINIMIZE + * @model literal="minimize" + * @generated + * @ordered + */ + public static final int MINIMIZE_VALUE = 0; + + /** + * The 'MAXIMIZE' literal value. + * + *

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

+ * + * @see #MAXIMIZE + * @model literal="maximize" + * @generated + * @ordered + */ + public static final int MAXIMIZE_VALUE = 1; + + /** + * An array of all the 'Optimization Direction' enumerators. + * + * + * @generated + */ + private static final OptimizationDirection[] VALUES_ARRAY = + new OptimizationDirection[] + { + MINIMIZE, + MAXIMIZE, + }; + + /** + * A public read-only list of all the 'Optimization Direction' enumerators. + * + * + * @generated + */ + public static final List VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); + + /** + * Returns the 'Optimization Direction' literal with the specified literal value. + * + * + * @param literal the literal. + * @return the matching enumerator or null. + * @generated + */ + public static OptimizationDirection get(String literal) + { + for (int i = 0; i < VALUES_ARRAY.length; ++i) + { + OptimizationDirection result = VALUES_ARRAY[i]; + if (result.toString().equals(literal)) + { + return result; + } + } + return null; + } + + /** + * Returns the 'Optimization Direction' literal with the specified name. + * + * + * @param name the name. + * @return the matching enumerator or null. + * @generated + */ + public static OptimizationDirection getByName(String name) + { + for (int i = 0; i < VALUES_ARRAY.length; ++i) + { + OptimizationDirection result = VALUES_ARRAY[i]; + if (result.getName().equals(name)) + { + return result; + } + } + return null; + } + + /** + * Returns the 'Optimization Direction' literal with the specified integer value. + * + * + * @param value the integer value. + * @return the matching enumerator or null. + * @generated + */ + public static OptimizationDirection get(int value) + { + switch (value) + { + case MINIMIZE_VALUE: return MINIMIZE; + case MAXIMIZE_VALUE: return MAXIMIZE; + } + 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 OptimizationDirection(int value, String name, String literal) + { + this.value = value; + this.name = name; + this.literal = literal; + } + + /** + * + * + * @generated + */ + @Override + public int getValue() + { + return value; + } + + /** + * + * + * @generated + */ + @Override + public String getName() + { + return name; + } + + /** + * + * + * @generated + */ + @Override + public String getLiteral() + { + return literal; + } + + /** + * Returns the literal value of the enumerator, which is its string representation. + * + * + * @generated + */ + @Override + public String toString() + { + return literal; + } + +} //OptimizationDirection diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/OptimizationEntry.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/OptimizationEntry.java new file mode 100644 index 00000000..620ad50d --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/OptimizationEntry.java @@ -0,0 +1,54 @@ +/** + * generated by Xtext 2.16.0 + */ +package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; + + +/** + * + * A representation of the model object 'Optimization Entry'. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.OptimizationEntry#getDirection Direction}
  • + *
+ * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getOptimizationEntry() + * @model + * @generated + */ +public interface OptimizationEntry extends ObjectiveEntry +{ + /** + * Returns the value of the 'Direction' attribute. + * The literals are from the enumeration {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.OptimizationDirection}. + * + *

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

+ * + * @return the value of the 'Direction' attribute. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.OptimizationDirection + * @see #setDirection(OptimizationDirection) + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getOptimizationEntry_Direction() + * @model + * @generated + */ + OptimizationDirection getDirection(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.OptimizationEntry#getDirection Direction}' attribute. + * + * + * @param value the new value of the 'Direction' attribute. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.OptimizationDirection + * @see #getDirection() + * @generated + */ + void setDirection(OptimizationDirection value); + +} // OptimizationEntry 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 index 786371d4..ee7347db 100644 --- 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 @@ -1,20 +1,20 @@ -/** - * generated by Xtext 2.12.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 +/** + * generated by Xtext 2.16.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 index c98183d5..462813f5 100644 --- 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 @@ -1,51 +1,51 @@ -/** - * generated by Xtext 2.12.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 +/** + * generated by Xtext 2.16.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 index 09bc0898..d6ba400f 100644 --- 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 @@ -1,52 +1,52 @@ -/** - * generated by Xtext 2.12.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 +/** + * generated by Xtext 2.16.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 index b871e0a5..63e110d7 100644 --- 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 @@ -1,51 +1,51 @@ -/** - * generated by Xtext 2.12.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 +/** + * generated by Xtext 2.16.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 index c9668aab..fb54fb79 100644 --- 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 @@ -1,42 +1,42 @@ -/** - * generated by Xtext 2.12.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 +/** + * generated by Xtext 2.16.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 index 11e7de2e..8733deba 100644 --- 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 @@ -1,52 +1,52 @@ -/** - * generated by Xtext 2.12.0 - */ -package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; - -import org.eclipse.viatra.query.patternlanguage.emf.vql.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 +/** + * generated by Xtext 2.16.0 + */ +package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; + +import org.eclipse.viatra.query.patternlanguage.emf.vql.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 index 2d7a21c9..9a11ebcb 100644 --- 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 @@ -1,54 +1,54 @@ -/** - * generated by Xtext 2.12.0 - */ -package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; - -import org.eclipse.emf.ecore.EObject; - -import org.eclipse.viatra.query.patternlanguage.emf.vql.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 +/** + * generated by Xtext 2.16.0 + */ +package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; + +import org.eclipse.emf.ecore.EObject; + +import org.eclipse.viatra.query.patternlanguage.emf.vql.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 index 00b9b47a..98499d06 100644 --- 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 @@ -1,42 +1,42 @@ -/** - * generated by Xtext 2.12.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 +/** + * generated by Xtext 2.16.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/RealEnumeration.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/RealEnumeration.java index 1ddc0f67..4653d704 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/RealEnumeration.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/RealEnumeration.java @@ -1,44 +1,44 @@ -/** - * generated by Xtext 2.12.0 - */ -package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; - -import java.math.BigDecimal; - -import org.eclipse.emf.common.util.EList; - -/** - * - * A representation of the model object 'Real Enumeration'. - * - * - *

- * The following features are supported: - *

- *
    - *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RealEnumeration#getEntry Entry}
  • - *
- * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getRealEnumeration() - * @model - * @generated - */ -public interface RealEnumeration extends NumberSpecification -{ - /** - * Returns the value of the 'Entry' attribute list. - * The list contents are of type {@link java.math.BigDecimal}. - * - *

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

- * - * @return the value of the 'Entry' attribute list. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getRealEnumeration_Entry() - * @model unique="false" - * @generated - */ - EList getEntry(); - -} // RealEnumeration +/** + * generated by Xtext 2.16.0 + */ +package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; + +import java.math.BigDecimal; + +import org.eclipse.emf.common.util.EList; + +/** + * + * A representation of the model object 'Real Enumeration'. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RealEnumeration#getEntry Entry}
  • + *
+ * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getRealEnumeration() + * @model + * @generated + */ +public interface RealEnumeration extends NumberSpecification +{ + /** + * Returns the value of the 'Entry' attribute list. + * The list contents are of type {@link java.math.BigDecimal}. + * + *

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

+ * + * @return the value of the 'Entry' attribute list. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getRealEnumeration_Entry() + * @model unique="false" + * @generated + */ + EList getEntry(); + +} // RealEnumeration 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 index 2faf2670..55f3eff8 100644 --- 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 @@ -1,19 +1,19 @@ -/** - * generated by Xtext 2.12.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 +/** + * generated by Xtext 2.16.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 index 002954b7..e24bf15d 100644 --- 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 @@ -1,19 +1,19 @@ -/** - * generated by Xtext 2.12.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 +/** + * generated by Xtext 2.16.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/RealTypeScope.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/RealTypeScope.java index 240f129c..e51d5e3a 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/RealTypeScope.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/RealTypeScope.java @@ -1,51 +1,51 @@ -/** - * generated by Xtext 2.12.0 - */ -package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; - - -/** - * - * A representation of the model object 'Real Type Scope'. - * - * - *

- * The following features are supported: - *

- *
    - *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RealTypeScope#getType Type}
  • - *
- * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getRealTypeScope() - * @model - * @generated - */ -public interface RealTypeScope extends TypeScope -{ - /** - * 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(RealReference) - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getRealTypeScope_Type() - * @model containment="true" - * @generated - */ - RealReference getType(); - - /** - * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RealTypeScope#getType Type}' containment reference. - * - * - * @param value the new value of the 'Type' containment reference. - * @see #getType() - * @generated - */ - void setType(RealReference value); - -} // RealTypeScope +/** + * generated by Xtext 2.16.0 + */ +package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; + + +/** + * + * A representation of the model object 'Real Type Scope'. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RealTypeScope#getType Type}
  • + *
+ * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getRealTypeScope() + * @model + * @generated + */ +public interface RealTypeScope extends TypeScope +{ + /** + * 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(RealReference) + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getRealTypeScope_Type() + * @model containment="true" + * @generated + */ + RealReference getType(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RealTypeScope#getType Type}' containment reference. + * + * + * @param value the new value of the 'Type' containment reference. + * @see #getType() + * @generated + */ + void setType(RealReference value); + +} // RealTypeScope diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ReliabiltiyFunction.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ReliabiltiyFunction.java new file mode 100644 index 00000000..bb286aa0 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ReliabiltiyFunction.java @@ -0,0 +1,80 @@ +/** + * generated by Xtext 2.16.0 + */ +package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; + +import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftModel; +import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.TransformationDefinition; + +/** + * + * A representation of the model object 'Reliabiltiy Function'. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ReliabiltiyFunction#getPackage Package}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ReliabiltiyFunction#getTransformation Transformation}
  • + *
+ * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getReliabiltiyFunction() + * @model + * @generated + */ +public interface ReliabiltiyFunction extends ObjectiveFunction +{ + /** + * 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(CftModel) + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getReliabiltiyFunction_Package() + * @model + * @generated + */ + CftModel getPackage(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ReliabiltiyFunction#getPackage Package}' reference. + * + * + * @param value the new value of the 'Package' reference. + * @see #getPackage() + * @generated + */ + void setPackage(CftModel value); + + /** + * Returns the value of the 'Transformation' reference. + * + *

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

+ * + * @return the value of the 'Transformation' reference. + * @see #setTransformation(TransformationDefinition) + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getReliabiltiyFunction_Transformation() + * @model + * @generated + */ + TransformationDefinition getTransformation(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ReliabiltiyFunction#getTransformation Transformation}' reference. + * + * + * @param value the new value of the 'Transformation' reference. + * @see #getTransformation() + * @generated + */ + void setTransformation(TransformationDefinition value); + +} // ReliabiltiyFunction diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/RuntimeEntry.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/RuntimeEntry.java index 8c6a7076..fc847a8a 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/RuntimeEntry.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/RuntimeEntry.java @@ -1,51 +1,51 @@ -/** - * generated by Xtext 2.12.0 - */ -package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; - - -/** - * - * A representation of the model object 'Runtime Entry'. - * - * - *

- * The following features are supported: - *

- *
    - *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RuntimeEntry#getMillisecLimit Millisec Limit}
  • - *
- * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getRuntimeEntry() - * @model - * @generated - */ -public interface RuntimeEntry extends ConfigEntry -{ - /** - * Returns the value of the 'Millisec Limit' attribute. - * - *

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

- * - * @return the value of the 'Millisec Limit' attribute. - * @see #setMillisecLimit(int) - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getRuntimeEntry_MillisecLimit() - * @model - * @generated - */ - int getMillisecLimit(); - - /** - * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RuntimeEntry#getMillisecLimit Millisec Limit}' attribute. - * - * - * @param value the new value of the 'Millisec Limit' attribute. - * @see #getMillisecLimit() - * @generated - */ - void setMillisecLimit(int value); - -} // RuntimeEntry +/** + * generated by Xtext 2.16.0 + */ +package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; + + +/** + * + * A representation of the model object 'Runtime Entry'. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RuntimeEntry#getMillisecLimit Millisec Limit}
  • + *
+ * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getRuntimeEntry() + * @model + * @generated + */ +public interface RuntimeEntry extends ConfigEntry +{ + /** + * Returns the value of the 'Millisec Limit' attribute. + * + *

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

+ * + * @return the value of the 'Millisec Limit' attribute. + * @see #setMillisecLimit(int) + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getRuntimeEntry_MillisecLimit() + * @model + * @generated + */ + int getMillisecLimit(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RuntimeEntry#getMillisecLimit Millisec Limit}' attribute. + * + * + * @param value the new value of the 'Millisec Limit' attribute. + * @see #getMillisecLimit() + * @generated + */ + void setMillisecLimit(int value); + +} // RuntimeEntry 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 index 8d21f69b..ba2fafef 100644 --- 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 @@ -1,20 +1,20 @@ -/** - * generated by Xtext 2.12.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 +/** + * generated by Xtext 2.16.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 index 6928c79f..03f012b6 100644 --- 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 @@ -1,51 +1,51 @@ -/** - * generated by Xtext 2.12.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 +/** + * generated by Xtext 2.16.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 index a1e14540..585eec5b 100644 --- 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 @@ -1,51 +1,51 @@ -/** - * generated by Xtext 2.12.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 +/** + * generated by Xtext 2.16.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 index 101a2151..69931c62 100644 --- 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 @@ -1,42 +1,42 @@ -/** - * generated by Xtext 2.12.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 +/** + * generated by Xtext 2.16.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 index e2750467..9bd03568 100644 --- 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 @@ -1,257 +1,260 @@ -/** - * generated by Xtext 2.12.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 +/** + * generated by Xtext 2.16.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 + */ + @Override + public int getValue() + { + return value; + } + + /** + * + * + * @generated + */ + @Override + public String getName() + { + return name; + } + + /** + * + * + * @generated + */ + @Override + 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/StringEnumeration.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/StringEnumeration.java index f075cc55..cc0ac732 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/StringEnumeration.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/StringEnumeration.java @@ -1,42 +1,42 @@ -/** - * generated by Xtext 2.12.0 - */ -package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; - -import org.eclipse.emf.common.util.EList; - -/** - * - * A representation of the model object 'String Enumeration'. - * - * - *

- * The following features are supported: - *

- *
    - *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.StringEnumeration#getEntry Entry}
  • - *
- * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getStringEnumeration() - * @model - * @generated - */ -public interface StringEnumeration extends NumberSpecification -{ - /** - * Returns the value of the 'Entry' attribute list. - * The list contents are of type {@link java.lang.String}. - * - *

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

- * - * @return the value of the 'Entry' attribute list. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getStringEnumeration_Entry() - * @model unique="false" - * @generated - */ - EList getEntry(); - -} // StringEnumeration +/** + * generated by Xtext 2.16.0 + */ +package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; + +import org.eclipse.emf.common.util.EList; + +/** + * + * A representation of the model object 'String Enumeration'. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.StringEnumeration#getEntry Entry}
  • + *
+ * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getStringEnumeration() + * @model + * @generated + */ +public interface StringEnumeration extends NumberSpecification +{ + /** + * Returns the value of the 'Entry' attribute list. + * The list contents are of type {@link java.lang.String}. + * + *

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

+ * + * @return the value of the 'Entry' attribute list. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getStringEnumeration_Entry() + * @model unique="false" + * @generated + */ + EList getEntry(); + +} // StringEnumeration 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 index de11d574..88e27a11 100644 --- 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 @@ -1,19 +1,19 @@ -/** - * generated by Xtext 2.12.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 +/** + * generated by Xtext 2.16.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 index 4ee46273..fadc32a1 100644 --- 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 @@ -1,19 +1,19 @@ -/** - * generated by Xtext 2.12.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 +/** + * generated by Xtext 2.16.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/StringTypeScope.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/StringTypeScope.java index 4aa21667..6f60ac3b 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/StringTypeScope.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/StringTypeScope.java @@ -1,51 +1,51 @@ -/** - * generated by Xtext 2.12.0 - */ -package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; - - -/** - * - * A representation of the model object 'String Type Scope'. - * - * - *

- * The following features are supported: - *

- *
    - *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.StringTypeScope#getType Type}
  • - *
- * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getStringTypeScope() - * @model - * @generated - */ -public interface StringTypeScope extends TypeScope -{ - /** - * 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(StringReference) - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getStringTypeScope_Type() - * @model containment="true" - * @generated - */ - StringReference getType(); - - /** - * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.StringTypeScope#getType Type}' containment reference. - * - * - * @param value the new value of the 'Type' containment reference. - * @see #getType() - * @generated - */ - void setType(StringReference value); - -} // StringTypeScope +/** + * generated by Xtext 2.16.0 + */ +package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; + + +/** + * + * A representation of the model object 'String Type Scope'. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.StringTypeScope#getType Type}
  • + *
+ * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getStringTypeScope() + * @model + * @generated + */ +public interface StringTypeScope extends TypeScope +{ + /** + * 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(StringReference) + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getStringTypeScope_Type() + * @model containment="true" + * @generated + */ + StringReference getType(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.StringTypeScope#getType Type}' containment reference. + * + * + * @param value the new value of the 'Type' containment reference. + * @see #getType() + * @generated + */ + void setType(StringReference value); + +} // StringTypeScope 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 index 633c7dea..82708c1b 100644 --- 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 @@ -1,19 +1,19 @@ -/** - * generated by Xtext 2.12.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 +/** + * generated by Xtext 2.16.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/ThresholdEntry.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ThresholdEntry.java new file mode 100644 index 00000000..1f90715e --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ThresholdEntry.java @@ -0,0 +1,82 @@ +/** + * generated by Xtext 2.16.0 + */ +package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; + +import java.math.BigDecimal; + +/** + * + * A representation of the model object 'Threshold Entry'. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ThresholdEntry#getOperator Operator}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ThresholdEntry#getThreshold Threshold}
  • + *
+ * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getThresholdEntry() + * @model + * @generated + */ +public interface ThresholdEntry extends ObjectiveEntry +{ + /** + * Returns the value of the 'Operator' attribute. + * The literals are from the enumeration {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ComparisonOperator}. + * + *

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

+ * + * @return the value of the 'Operator' attribute. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ComparisonOperator + * @see #setOperator(ComparisonOperator) + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getThresholdEntry_Operator() + * @model + * @generated + */ + ComparisonOperator getOperator(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ThresholdEntry#getOperator Operator}' attribute. + * + * + * @param value the new value of the 'Operator' attribute. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ComparisonOperator + * @see #getOperator() + * @generated + */ + void setOperator(ComparisonOperator value); + + /** + * Returns the value of the 'Threshold' attribute. + * + *

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

+ * + * @return the value of the 'Threshold' attribute. + * @see #setThreshold(BigDecimal) + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getThresholdEntry_Threshold() + * @model + * @generated + */ + BigDecimal getThreshold(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ThresholdEntry#getThreshold Threshold}' attribute. + * + * + * @param value the new value of the 'Threshold' attribute. + * @see #getThreshold() + * @generated + */ + void setThreshold(BigDecimal value); + +} // ThresholdEntry 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 index ca108001..e98baba7 100644 --- 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 @@ -1,20 +1,20 @@ -/** - * generated by Xtext 2.12.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 +/** + * generated by Xtext 2.16.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 index 914aecae..0fd2f53a 100644 --- 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 @@ -1,106 +1,106 @@ -/** - * generated by Xtext 2.12.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#isSetsNew Sets New}
  • - *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeScope#isSetsSum Sets Sum}
  • - *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeScope#getNumber Number}
  • - *
- * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getTypeScope() - * @model - * @generated - */ -public interface TypeScope extends EObject -{ - /** - * 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 'Number' containment reference. - * - *

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

- * - * @return the value of the 'Number' containment reference. - * @see #setNumber(NumberSpecification) - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getTypeScope_Number() - * @model containment="true" - * @generated - */ - NumberSpecification getNumber(); - - /** - * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeScope#getNumber Number}' containment reference. - * - * - * @param value the new value of the 'Number' containment reference. - * @see #getNumber() - * @generated - */ - void setNumber(NumberSpecification value); - -} // TypeScope +/** + * generated by Xtext 2.16.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#isSetsNew Sets New}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeScope#isSetsSum Sets Sum}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeScope#getNumber Number}
  • + *
+ * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getTypeScope() + * @model + * @generated + */ +public interface TypeScope extends EObject +{ + /** + * 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 'Number' containment reference. + * + *

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

+ * + * @return the value of the 'Number' containment reference. + * @see #setNumber(NumberSpecification) + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getTypeScope_Number() + * @model containment="true" + * @generated + */ + NumberSpecification getNumber(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeScope#getNumber Number}' containment reference. + * + * + * @param value the new value of the 'Number' containment reference. + * @see #getNumber() + * @generated + */ + void setNumber(NumberSpecification value); + +} // TypeScope diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ViatraImport.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ViatraImport.java index c421cb08..59d46690 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ViatraImport.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ViatraImport.java @@ -1,52 +1,52 @@ -/** - * generated by Xtext 2.12.0 - */ -package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; - -import org.eclipse.viatra.query.patternlanguage.emf.vql.PatternModel; - -/** - * - * A representation of the model object 'Viatra Import'. - * - * - *

- * The following features are supported: - *

- *
    - *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ViatraImport#getImportedViatra Imported Viatra}
  • - *
- * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getViatraImport() - * @model - * @generated - */ -public interface ViatraImport extends Import -{ - /** - * Returns the value of the 'Imported Viatra' reference. - * - *

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

- * - * @return the value of the 'Imported Viatra' reference. - * @see #setImportedViatra(PatternModel) - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getViatraImport_ImportedViatra() - * @model - * @generated - */ - PatternModel getImportedViatra(); - - /** - * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ViatraImport#getImportedViatra Imported Viatra}' reference. - * - * - * @param value the new value of the 'Imported Viatra' reference. - * @see #getImportedViatra() - * @generated - */ - void setImportedViatra(PatternModel value); - -} // ViatraImport +/** + * generated by Xtext 2.16.0 + */ +package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; + +import org.eclipse.viatra.query.patternlanguage.emf.vql.PatternModel; + +/** + * + * A representation of the model object 'Viatra Import'. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ViatraImport#getImportedViatra Imported Viatra}
  • + *
+ * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getViatraImport() + * @model + * @generated + */ +public interface ViatraImport extends Import +{ + /** + * Returns the value of the 'Imported Viatra' reference. + * + *

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

+ * + * @return the value of the 'Imported Viatra' reference. + * @see #setImportedViatra(PatternModel) + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getViatraImport_ImportedViatra() + * @model + * @generated + */ + PatternModel getImportedViatra(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ViatraImport#getImportedViatra Imported Viatra}' reference. + * + * + * @param value the new value of the 'Imported Viatra' reference. + * @see #getImportedViatra() + * @generated + */ + void setImportedViatra(PatternModel value); + +} // ViatraImport diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/AllPackageEntryImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/AllPackageEntryImpl.java index c69a5c6e..1778e18f 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/AllPackageEntryImpl.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/AllPackageEntryImpl.java @@ -1,166 +1,167 @@ -/** - * generated by Xtext 2.12.0 - */ -package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; - -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.AllPackageEntry; -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage; -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelElement; - -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 Package Entry'. - * - *

- * The following features are implemented: - *

- *
    - *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.AllPackageEntryImpl#getExclusion Exclusion}
  • - *
- * - * @generated - */ -public class AllPackageEntryImpl extends MetamodelEntryImpl implements AllPackageEntry -{ - /** - * The cached value of the '{@link #getExclusion() Exclusion}' containment reference list. - * - * - * @see #getExclusion() - * @generated - * @ordered - */ - protected EList exclusion; - - /** - * - * - * @generated - */ - protected AllPackageEntryImpl() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return ApplicationConfigurationPackage.Literals.ALL_PACKAGE_ENTRY; - } - - /** - * - * - * @generated - */ - public EList getExclusion() - { - if (exclusion == null) - { - exclusion = new EObjectContainmentEList(MetamodelElement.class, this, ApplicationConfigurationPackage.ALL_PACKAGE_ENTRY__EXCLUSION); - } - return exclusion; - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) - { - switch (featureID) - { - case ApplicationConfigurationPackage.ALL_PACKAGE_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.ALL_PACKAGE_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.ALL_PACKAGE_ENTRY__EXCLUSION: - getExclusion().clear(); - getExclusion().addAll((Collection)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case ApplicationConfigurationPackage.ALL_PACKAGE_ENTRY__EXCLUSION: - getExclusion().clear(); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case ApplicationConfigurationPackage.ALL_PACKAGE_ENTRY__EXCLUSION: - return exclusion != null && !exclusion.isEmpty(); - } - return super.eIsSet(featureID); - } - -} //AllPackageEntryImpl +/** + * generated by Xtext 2.16.0 + */ +package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; + +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.AllPackageEntry; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelElement; + +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 Package Entry'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.AllPackageEntryImpl#getExclusion Exclusion}
  • + *
+ * + * @generated + */ +public class AllPackageEntryImpl extends MetamodelEntryImpl implements AllPackageEntry +{ + /** + * The cached value of the '{@link #getExclusion() Exclusion}' containment reference list. + * + * + * @see #getExclusion() + * @generated + * @ordered + */ + protected EList exclusion; + + /** + * + * + * @generated + */ + protected AllPackageEntryImpl() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return ApplicationConfigurationPackage.Literals.ALL_PACKAGE_ENTRY; + } + + /** + * + * + * @generated + */ + @Override + public EList getExclusion() + { + if (exclusion == null) + { + exclusion = new EObjectContainmentEList(MetamodelElement.class, this, ApplicationConfigurationPackage.ALL_PACKAGE_ENTRY__EXCLUSION); + } + return exclusion; + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) + { + switch (featureID) + { + case ApplicationConfigurationPackage.ALL_PACKAGE_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.ALL_PACKAGE_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.ALL_PACKAGE_ENTRY__EXCLUSION: + getExclusion().clear(); + getExclusion().addAll((Collection)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case ApplicationConfigurationPackage.ALL_PACKAGE_ENTRY__EXCLUSION: + getExclusion().clear(); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case ApplicationConfigurationPackage.ALL_PACKAGE_ENTRY__EXCLUSION: + return exclusion != null && !exclusion.isEmpty(); + } + return super.eIsSet(featureID); + } + +} //AllPackageEntryImpl 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 index 1418bad4..a5f19b8b 100644 --- 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 @@ -1,166 +1,167 @@ -/** - * generated by Xtext 2.12.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 +/** + * generated by Xtext 2.16.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 + */ + @Override + 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/ApplicationConfigurationFactoryImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ApplicationConfigurationFactoryImpl.java index 7f485ec5..800d4362 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ApplicationConfigurationFactoryImpl.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ApplicationConfigurationFactoryImpl.java @@ -1,982 +1,1232 @@ -/** - * generated by Xtext 2.12.0 - */ -package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; - -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.*; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EDataType; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.EPackage; - -import org.eclipse.emf.ecore.impl.EFactoryImpl; - -import org.eclipse.emf.ecore.plugin.EcorePlugin; - -/** - * - * An implementation of the model Factory. - * - * @generated - */ -public class ApplicationConfigurationFactoryImpl extends EFactoryImpl implements ApplicationConfigurationFactory -{ - /** - * Creates the default factory implementation. - * - * - * @generated - */ - public static ApplicationConfigurationFactory init() - { - try - { - ApplicationConfigurationFactory theApplicationConfigurationFactory = (ApplicationConfigurationFactory)EPackage.Registry.INSTANCE.getEFactory(ApplicationConfigurationPackage.eNS_URI); - if (theApplicationConfigurationFactory != null) - { - return theApplicationConfigurationFactory; - } - } - catch (Exception exception) - { - EcorePlugin.INSTANCE.log(exception); - } - return new ApplicationConfigurationFactoryImpl(); - } - - /** - * Creates an instance of the factory. - * - * - * @generated - */ - public ApplicationConfigurationFactoryImpl() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - public EObject create(EClass eClass) - { - switch (eClass.getClassifierID()) - { - case ApplicationConfigurationPackage.CONFIGURATION_SCRIPT: return createConfigurationScript(); - case ApplicationConfigurationPackage.COMMAND: return createCommand(); - case ApplicationConfigurationPackage.IMPORT: return createImport(); - case ApplicationConfigurationPackage.EPACKAGE_IMPORT: return createEPackageImport(); - case ApplicationConfigurationPackage.VIATRA_IMPORT: return createViatraImport(); - case ApplicationConfigurationPackage.DECLARATION: return createDeclaration(); - case ApplicationConfigurationPackage.FILE_SPECIFICATION: return createFileSpecification(); - case ApplicationConfigurationPackage.FILE_DECLARATION: return createFileDeclaration(); - case ApplicationConfigurationPackage.FILE_REFERENCE: return createFileReference(); - case ApplicationConfigurationPackage.FILE: return createFile(); - case ApplicationConfigurationPackage.METAMODEL_SPECIFICATION: return createMetamodelSpecification(); - case ApplicationConfigurationPackage.METAMODEL_ENTRY: return createMetamodelEntry(); - case ApplicationConfigurationPackage.ALL_PACKAGE_ENTRY: return createAllPackageEntry(); - case ApplicationConfigurationPackage.METAMODEL_ELEMENT: return createMetamodelElement(); - case ApplicationConfigurationPackage.METAMODEL_DECLARATION: return createMetamodelDeclaration(); - case ApplicationConfigurationPackage.METAMODEL_REFERENCE: return createMetamodelReference(); - case ApplicationConfigurationPackage.METAMODEL: return createMetamodel(); - case ApplicationConfigurationPackage.PARTIAL_MODEL_SPECIFICATION: return createPartialModelSpecification(); - case ApplicationConfigurationPackage.PARTIAL_MODEL_ENTRY: return createPartialModelEntry(); - case ApplicationConfigurationPackage.MODEL_ENTRY: return createModelEntry(); - case ApplicationConfigurationPackage.FOLDER_ENTRY: return createFolderEntry(); - case ApplicationConfigurationPackage.PARTIAL_MODEL_DECLARATION: return createPartialModelDeclaration(); - case ApplicationConfigurationPackage.PARTIAL_MODEL_REFERENCE: return createPartialModelReference(); - case ApplicationConfigurationPackage.PARTIAL_MODEL: return createPartialModel(); - case ApplicationConfigurationPackage.PATTERN_SPECIFICATION: return createPatternSpecification(); - case ApplicationConfigurationPackage.PATTERN_ENTRY: return createPatternEntry(); - case ApplicationConfigurationPackage.ALL_PATTERN_ENTRY: return createAllPatternEntry(); - case ApplicationConfigurationPackage.PATTERN_ELEMENT: return createPatternElement(); - case ApplicationConfigurationPackage.GRAPH_PATTERN_DECLARATION: return createGraphPatternDeclaration(); - case ApplicationConfigurationPackage.GRAPH_PATTERN_REFERENCE: return createGraphPatternReference(); - case ApplicationConfigurationPackage.GRAPH_PATTERN: return createGraphPattern(); - case ApplicationConfigurationPackage.CONFIG_SPECIFICATION: return createConfigSpecification(); - case ApplicationConfigurationPackage.CONFIG_DECLARATION: return createConfigDeclaration(); - case ApplicationConfigurationPackage.CONFIG_ENTRY: return createConfigEntry(); - case ApplicationConfigurationPackage.DOCUMENTATION_ENTRY: return createDocumentationEntry(); - case ApplicationConfigurationPackage.RUNTIME_ENTRY: return createRuntimeEntry(); - case ApplicationConfigurationPackage.MEMORY_ENTRY: return createMemoryEntry(); - case ApplicationConfigurationPackage.CUSTOM_ENTRY: return createCustomEntry(); - case ApplicationConfigurationPackage.CONFIG_REFERENCE: return createConfigReference(); - case ApplicationConfigurationPackage.CONFIG: return createConfig(); - case ApplicationConfigurationPackage.SCOPE_SPECIFICATION: return createScopeSpecification(); - case ApplicationConfigurationPackage.TYPE_SCOPE: return createTypeScope(); - case ApplicationConfigurationPackage.CLASS_TYPE_SCOPE: return createClassTypeScope(); - case ApplicationConfigurationPackage.OBJECT_TYPE_SCOPE: return createObjectTypeScope(); - case ApplicationConfigurationPackage.INTEGER_TYPE_SCOPE: return createIntegerTypeScope(); - case ApplicationConfigurationPackage.REAL_TYPE_SCOPE: return createRealTypeScope(); - case ApplicationConfigurationPackage.STRING_TYPE_SCOPE: return createStringTypeScope(); - case ApplicationConfigurationPackage.TYPE_REFERENCE: return createTypeReference(); - case ApplicationConfigurationPackage.CLASS_REFERENCE: return createClassReference(); - case ApplicationConfigurationPackage.OBJECT_REFERENCE: return createObjectReference(); - case ApplicationConfigurationPackage.INTEGER_REFERENCE: return createIntegerReference(); - case ApplicationConfigurationPackage.REAL_REFERENCE: return createRealReference(); - case ApplicationConfigurationPackage.STRING_REFERENCE: return createStringReference(); - case ApplicationConfigurationPackage.NUMBER_SPECIFICATION: return createNumberSpecification(); - case ApplicationConfigurationPackage.EXACT_NUMBER: return createExactNumber(); - case ApplicationConfigurationPackage.INTERVALL_NUMBER: return createIntervallNumber(); - case ApplicationConfigurationPackage.INT_ENUMBERATION: return createIntEnumberation(); - case ApplicationConfigurationPackage.REAL_ENUMERATION: return createRealEnumeration(); - case ApplicationConfigurationPackage.STRING_ENUMERATION: return createStringEnumeration(); - case ApplicationConfigurationPackage.SCOPE_DECLARATION: return createScopeDeclaration(); - case ApplicationConfigurationPackage.SCOPE_REFERENCE: return createScopeReference(); - case ApplicationConfigurationPackage.SCOPE: return createScope(); - case ApplicationConfigurationPackage.TASK: return createTask(); - case ApplicationConfigurationPackage.GENERATION_TASK: return createGenerationTask(); - case ApplicationConfigurationPackage.INTEGER_SCOPE: return createIntegerScope(); - case ApplicationConfigurationPackage.REAL_SCOPE: return createRealScope(); - case ApplicationConfigurationPackage.STRING_SCOPE: return createStringScope(); - default: - throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); - } - } - - /** - * - * - * @generated - */ - @Override - public Object createFromString(EDataType eDataType, String initialValue) - { - switch (eDataType.getClassifierID()) - { - case ApplicationConfigurationPackage.DOCUMENT_LEVEL_SPECIFICATION: - return createDocumentLevelSpecificationFromString(eDataType, initialValue); - case ApplicationConfigurationPackage.SOLVER: - return createSolverFromString(eDataType, initialValue); - default: - throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); - } - } - - /** - * - * - * @generated - */ - @Override - public String convertToString(EDataType eDataType, Object instanceValue) - { - switch (eDataType.getClassifierID()) - { - case ApplicationConfigurationPackage.DOCUMENT_LEVEL_SPECIFICATION: - return convertDocumentLevelSpecificationToString(eDataType, instanceValue); - case ApplicationConfigurationPackage.SOLVER: - return convertSolverToString(eDataType, instanceValue); - default: - throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); - } - } - - /** - * - * - * @generated - */ - public ConfigurationScript createConfigurationScript() - { - ConfigurationScriptImpl configurationScript = new ConfigurationScriptImpl(); - return configurationScript; - } - - /** - * - * - * @generated - */ - public Command createCommand() - { - CommandImpl command = new CommandImpl(); - return command; - } - - /** - * - * - * @generated - */ - public Import createImport() - { - ImportImpl import_ = new ImportImpl(); - return import_; - } - - /** - * - * - * @generated - */ - public EPackageImport createEPackageImport() - { - EPackageImportImpl ePackageImport = new EPackageImportImpl(); - return ePackageImport; - } - - /** - * - * - * @generated - */ - public ViatraImport createViatraImport() - { - ViatraImportImpl viatraImport = new ViatraImportImpl(); - return viatraImport; - } - - /** - * - * - * @generated - */ - public Declaration createDeclaration() - { - DeclarationImpl declaration = new DeclarationImpl(); - return declaration; - } - - /** - * - * - * @generated - */ - public FileSpecification createFileSpecification() - { - FileSpecificationImpl fileSpecification = new FileSpecificationImpl(); - return fileSpecification; - } - - /** - * - * - * @generated - */ - public FileDeclaration createFileDeclaration() - { - FileDeclarationImpl fileDeclaration = new FileDeclarationImpl(); - return fileDeclaration; - } - - /** - * - * - * @generated - */ - public FileReference createFileReference() - { - FileReferenceImpl fileReference = new FileReferenceImpl(); - return fileReference; - } - - /** - * - * - * @generated - */ - public File createFile() - { - FileImpl file = new FileImpl(); - return file; - } - - /** - * - * - * @generated - */ - public MetamodelSpecification createMetamodelSpecification() - { - MetamodelSpecificationImpl metamodelSpecification = new MetamodelSpecificationImpl(); - return metamodelSpecification; - } - - /** - * - * - * @generated - */ - public MetamodelEntry createMetamodelEntry() - { - MetamodelEntryImpl metamodelEntry = new MetamodelEntryImpl(); - return metamodelEntry; - } - - /** - * - * - * @generated - */ - public AllPackageEntry createAllPackageEntry() - { - AllPackageEntryImpl allPackageEntry = new AllPackageEntryImpl(); - return allPackageEntry; - } - - /** - * - * - * @generated - */ - public MetamodelElement createMetamodelElement() - { - MetamodelElementImpl metamodelElement = new MetamodelElementImpl(); - return metamodelElement; - } - - /** - * - * - * @generated - */ - public MetamodelDeclaration createMetamodelDeclaration() - { - MetamodelDeclarationImpl metamodelDeclaration = new MetamodelDeclarationImpl(); - return metamodelDeclaration; - } - - /** - * - * - * @generated - */ - public MetamodelReference createMetamodelReference() - { - MetamodelReferenceImpl metamodelReference = new MetamodelReferenceImpl(); - return metamodelReference; - } - - /** - * - * - * @generated - */ - public Metamodel createMetamodel() - { - MetamodelImpl metamodel = new MetamodelImpl(); - return metamodel; - } - - /** - * - * - * @generated - */ - public PartialModelSpecification createPartialModelSpecification() - { - PartialModelSpecificationImpl partialModelSpecification = new PartialModelSpecificationImpl(); - return partialModelSpecification; - } - - /** - * - * - * @generated - */ - public PartialModelEntry createPartialModelEntry() - { - PartialModelEntryImpl partialModelEntry = new PartialModelEntryImpl(); - return partialModelEntry; - } - - /** - * - * - * @generated - */ - public ModelEntry createModelEntry() - { - ModelEntryImpl modelEntry = new ModelEntryImpl(); - return modelEntry; - } - - /** - * - * - * @generated - */ - public FolderEntry createFolderEntry() - { - FolderEntryImpl folderEntry = new FolderEntryImpl(); - return folderEntry; - } - - /** - * - * - * @generated - */ - public PartialModelDeclaration createPartialModelDeclaration() - { - PartialModelDeclarationImpl partialModelDeclaration = new PartialModelDeclarationImpl(); - return partialModelDeclaration; - } - - /** - * - * - * @generated - */ - public PartialModelReference createPartialModelReference() - { - PartialModelReferenceImpl partialModelReference = new PartialModelReferenceImpl(); - return partialModelReference; - } - - /** - * - * - * @generated - */ - public PartialModel createPartialModel() - { - PartialModelImpl partialModel = new PartialModelImpl(); - return partialModel; - } - - /** - * - * - * @generated - */ - public PatternSpecification createPatternSpecification() - { - PatternSpecificationImpl patternSpecification = new PatternSpecificationImpl(); - return patternSpecification; - } - - /** - * - * - * @generated - */ - public PatternEntry createPatternEntry() - { - PatternEntryImpl patternEntry = new PatternEntryImpl(); - return patternEntry; - } - - /** - * - * - * @generated - */ - public AllPatternEntry createAllPatternEntry() - { - AllPatternEntryImpl allPatternEntry = new AllPatternEntryImpl(); - return allPatternEntry; - } - - /** - * - * - * @generated - */ - public PatternElement createPatternElement() - { - PatternElementImpl patternElement = new PatternElementImpl(); - return patternElement; - } - - /** - * - * - * @generated - */ - public GraphPatternDeclaration createGraphPatternDeclaration() - { - GraphPatternDeclarationImpl graphPatternDeclaration = new GraphPatternDeclarationImpl(); - return graphPatternDeclaration; - } - - /** - * - * - * @generated - */ - public GraphPatternReference createGraphPatternReference() - { - GraphPatternReferenceImpl graphPatternReference = new GraphPatternReferenceImpl(); - return graphPatternReference; - } - - /** - * - * - * @generated - */ - public GraphPattern createGraphPattern() - { - GraphPatternImpl graphPattern = new GraphPatternImpl(); - return graphPattern; - } - - /** - * - * - * @generated - */ - public ConfigSpecification createConfigSpecification() - { - ConfigSpecificationImpl configSpecification = new ConfigSpecificationImpl(); - return configSpecification; - } - - /** - * - * - * @generated - */ - public ConfigDeclaration createConfigDeclaration() - { - ConfigDeclarationImpl configDeclaration = new ConfigDeclarationImpl(); - return configDeclaration; - } - - /** - * - * - * @generated - */ - public ConfigEntry createConfigEntry() - { - ConfigEntryImpl configEntry = new ConfigEntryImpl(); - return configEntry; - } - - /** - * - * - * @generated - */ - public DocumentationEntry createDocumentationEntry() - { - DocumentationEntryImpl documentationEntry = new DocumentationEntryImpl(); - return documentationEntry; - } - - /** - * - * - * @generated - */ - public RuntimeEntry createRuntimeEntry() - { - RuntimeEntryImpl runtimeEntry = new RuntimeEntryImpl(); - return runtimeEntry; - } - - /** - * - * - * @generated - */ - public MemoryEntry createMemoryEntry() - { - MemoryEntryImpl memoryEntry = new MemoryEntryImpl(); - return memoryEntry; - } - - /** - * - * - * @generated - */ - public CustomEntry createCustomEntry() - { - CustomEntryImpl customEntry = new CustomEntryImpl(); - return customEntry; - } - - /** - * - * - * @generated - */ - public ConfigReference createConfigReference() - { - ConfigReferenceImpl configReference = new ConfigReferenceImpl(); - return configReference; - } - - /** - * - * - * @generated - */ - public Config createConfig() - { - ConfigImpl config = new ConfigImpl(); - return config; - } - - /** - * - * - * @generated - */ - public ScopeSpecification createScopeSpecification() - { - ScopeSpecificationImpl scopeSpecification = new ScopeSpecificationImpl(); - return scopeSpecification; - } - - /** - * - * - * @generated - */ - public TypeScope createTypeScope() - { - TypeScopeImpl typeScope = new TypeScopeImpl(); - return typeScope; - } - - /** - * - * - * @generated - */ - public ClassTypeScope createClassTypeScope() - { - ClassTypeScopeImpl classTypeScope = new ClassTypeScopeImpl(); - return classTypeScope; - } - - /** - * - * - * @generated - */ - public ObjectTypeScope createObjectTypeScope() - { - ObjectTypeScopeImpl objectTypeScope = new ObjectTypeScopeImpl(); - return objectTypeScope; - } - - /** - * - * - * @generated - */ - public IntegerTypeScope createIntegerTypeScope() - { - IntegerTypeScopeImpl integerTypeScope = new IntegerTypeScopeImpl(); - return integerTypeScope; - } - - /** - * - * - * @generated - */ - public RealTypeScope createRealTypeScope() - { - RealTypeScopeImpl realTypeScope = new RealTypeScopeImpl(); - return realTypeScope; - } - - /** - * - * - * @generated - */ - public StringTypeScope createStringTypeScope() - { - StringTypeScopeImpl stringTypeScope = new StringTypeScopeImpl(); - return stringTypeScope; - } - - /** - * - * - * @generated - */ - public TypeReference createTypeReference() - { - TypeReferenceImpl typeReference = new TypeReferenceImpl(); - return typeReference; - } - - /** - * - * - * @generated - */ - public ClassReference createClassReference() - { - ClassReferenceImpl classReference = new ClassReferenceImpl(); - return classReference; - } - - /** - * - * - * @generated - */ - public ObjectReference createObjectReference() - { - ObjectReferenceImpl objectReference = new ObjectReferenceImpl(); - return objectReference; - } - - /** - * - * - * @generated - */ - public IntegerReference createIntegerReference() - { - IntegerReferenceImpl integerReference = new IntegerReferenceImpl(); - return integerReference; - } - - /** - * - * - * @generated - */ - public RealReference createRealReference() - { - RealReferenceImpl realReference = new RealReferenceImpl(); - return realReference; - } - - /** - * - * - * @generated - */ - public StringReference createStringReference() - { - StringReferenceImpl stringReference = new StringReferenceImpl(); - return stringReference; - } - - /** - * - * - * @generated - */ - public NumberSpecification createNumberSpecification() - { - NumberSpecificationImpl numberSpecification = new NumberSpecificationImpl(); - return numberSpecification; - } - - /** - * - * - * @generated - */ - public ExactNumber createExactNumber() - { - ExactNumberImpl exactNumber = new ExactNumberImpl(); - return exactNumber; - } - - /** - * - * - * @generated - */ - public IntervallNumber createIntervallNumber() - { - IntervallNumberImpl intervallNumber = new IntervallNumberImpl(); - return intervallNumber; - } - - /** - * - * - * @generated - */ - public IntEnumberation createIntEnumberation() - { - IntEnumberationImpl intEnumberation = new IntEnumberationImpl(); - return intEnumberation; - } - - /** - * - * - * @generated - */ - public RealEnumeration createRealEnumeration() - { - RealEnumerationImpl realEnumeration = new RealEnumerationImpl(); - return realEnumeration; - } - - /** - * - * - * @generated - */ - public StringEnumeration createStringEnumeration() - { - StringEnumerationImpl stringEnumeration = new StringEnumerationImpl(); - return stringEnumeration; - } - - /** - * - * - * @generated - */ - public ScopeDeclaration createScopeDeclaration() - { - ScopeDeclarationImpl scopeDeclaration = new ScopeDeclarationImpl(); - return scopeDeclaration; - } - - /** - * - * - * @generated - */ - public ScopeReference createScopeReference() - { - ScopeReferenceImpl scopeReference = new ScopeReferenceImpl(); - return scopeReference; - } - - /** - * - * - * @generated - */ - public Scope createScope() - { - ScopeImpl scope = new ScopeImpl(); - return scope; - } - - /** - * - * - * @generated - */ - public Task createTask() - { - TaskImpl task = new TaskImpl(); - return task; - } - - /** - * - * - * @generated - */ - public GenerationTask createGenerationTask() - { - GenerationTaskImpl generationTask = new GenerationTaskImpl(); - return generationTask; - } - - /** - * - * - * @generated - */ - public IntegerScope createIntegerScope() - { - IntegerScopeImpl integerScope = new IntegerScopeImpl(); - return integerScope; - } - - /** - * - * - * @generated - */ - public RealScope createRealScope() - { - RealScopeImpl realScope = new RealScopeImpl(); - return realScope; - } - - /** - * - * - * @generated - */ - public StringScope createStringScope() - { - StringScopeImpl stringScope = new StringScopeImpl(); - return stringScope; - } - - /** - * - * - * @generated - */ - public DocumentLevelSpecification createDocumentLevelSpecificationFromString(EDataType eDataType, String initialValue) - { - DocumentLevelSpecification result = DocumentLevelSpecification.get(initialValue); - if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); - return result; - } - - /** - * - * - * @generated - */ - public String convertDocumentLevelSpecificationToString(EDataType eDataType, Object instanceValue) - { - return instanceValue == null ? null : instanceValue.toString(); - } - - /** - * - * - * @generated - */ - public Solver createSolverFromString(EDataType eDataType, String initialValue) - { - Solver result = Solver.get(initialValue); - if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); - return result; - } - - /** - * - * - * @generated - */ - public String convertSolverToString(EDataType eDataType, Object instanceValue) - { - return instanceValue == null ? null : instanceValue.toString(); - } - - /** - * - * - * @generated - */ - public ApplicationConfigurationPackage getApplicationConfigurationPackage() - { - return (ApplicationConfigurationPackage)getEPackage(); - } - - /** - * - * - * @deprecated - * @generated - */ - @Deprecated - public static ApplicationConfigurationPackage getPackage() - { - return ApplicationConfigurationPackage.eINSTANCE; - } - -} //ApplicationConfigurationFactoryImpl +/** + * generated by Xtext 2.16.0 + */ +package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; + +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.*; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EDataType; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.EPackage; + +import org.eclipse.emf.ecore.impl.EFactoryImpl; + +import org.eclipse.emf.ecore.plugin.EcorePlugin; + +/** + * + * An implementation of the model Factory. + * + * @generated + */ +public class ApplicationConfigurationFactoryImpl extends EFactoryImpl implements ApplicationConfigurationFactory +{ + /** + * Creates the default factory implementation. + * + * + * @generated + */ + public static ApplicationConfigurationFactory init() + { + try + { + ApplicationConfigurationFactory theApplicationConfigurationFactory = (ApplicationConfigurationFactory)EPackage.Registry.INSTANCE.getEFactory(ApplicationConfigurationPackage.eNS_URI); + if (theApplicationConfigurationFactory != null) + { + return theApplicationConfigurationFactory; + } + } + catch (Exception exception) + { + EcorePlugin.INSTANCE.log(exception); + } + return new ApplicationConfigurationFactoryImpl(); + } + + /** + * Creates an instance of the factory. + * + * + * @generated + */ + public ApplicationConfigurationFactoryImpl() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + public EObject create(EClass eClass) + { + switch (eClass.getClassifierID()) + { + case ApplicationConfigurationPackage.CONFIGURATION_SCRIPT: return createConfigurationScript(); + case ApplicationConfigurationPackage.COMMAND: return createCommand(); + case ApplicationConfigurationPackage.IMPORT: return createImport(); + case ApplicationConfigurationPackage.EPACKAGE_IMPORT: return createEPackageImport(); + case ApplicationConfigurationPackage.VIATRA_IMPORT: return createViatraImport(); + case ApplicationConfigurationPackage.CFT_IMPORT: return createCftImport(); + case ApplicationConfigurationPackage.DECLARATION: return createDeclaration(); + case ApplicationConfigurationPackage.FILE_SPECIFICATION: return createFileSpecification(); + case ApplicationConfigurationPackage.FILE_DECLARATION: return createFileDeclaration(); + case ApplicationConfigurationPackage.FILE_REFERENCE: return createFileReference(); + case ApplicationConfigurationPackage.FILE: return createFile(); + case ApplicationConfigurationPackage.METAMODEL_SPECIFICATION: return createMetamodelSpecification(); + case ApplicationConfigurationPackage.METAMODEL_ENTRY: return createMetamodelEntry(); + case ApplicationConfigurationPackage.ALL_PACKAGE_ENTRY: return createAllPackageEntry(); + case ApplicationConfigurationPackage.METAMODEL_ELEMENT: return createMetamodelElement(); + case ApplicationConfigurationPackage.METAMODEL_DECLARATION: return createMetamodelDeclaration(); + case ApplicationConfigurationPackage.METAMODEL_REFERENCE: return createMetamodelReference(); + case ApplicationConfigurationPackage.METAMODEL: return createMetamodel(); + case ApplicationConfigurationPackage.PARTIAL_MODEL_SPECIFICATION: return createPartialModelSpecification(); + case ApplicationConfigurationPackage.PARTIAL_MODEL_ENTRY: return createPartialModelEntry(); + case ApplicationConfigurationPackage.MODEL_ENTRY: return createModelEntry(); + case ApplicationConfigurationPackage.FOLDER_ENTRY: return createFolderEntry(); + case ApplicationConfigurationPackage.PARTIAL_MODEL_DECLARATION: return createPartialModelDeclaration(); + case ApplicationConfigurationPackage.PARTIAL_MODEL_REFERENCE: return createPartialModelReference(); + case ApplicationConfigurationPackage.PARTIAL_MODEL: return createPartialModel(); + case ApplicationConfigurationPackage.PATTERN_SPECIFICATION: return createPatternSpecification(); + case ApplicationConfigurationPackage.PATTERN_ENTRY: return createPatternEntry(); + case ApplicationConfigurationPackage.ALL_PATTERN_ENTRY: return createAllPatternEntry(); + case ApplicationConfigurationPackage.PATTERN_ELEMENT: return createPatternElement(); + case ApplicationConfigurationPackage.GRAPH_PATTERN_DECLARATION: return createGraphPatternDeclaration(); + case ApplicationConfigurationPackage.GRAPH_PATTERN_REFERENCE: return createGraphPatternReference(); + case ApplicationConfigurationPackage.GRAPH_PATTERN: return createGraphPattern(); + case ApplicationConfigurationPackage.OBJECTIVE_SPECIFICATION: return createObjectiveSpecification(); + case ApplicationConfigurationPackage.OBJECTIVE_ENTRY: return createObjectiveEntry(); + case ApplicationConfigurationPackage.OPTIMIZATION_ENTRY: return createOptimizationEntry(); + case ApplicationConfigurationPackage.THRESHOLD_ENTRY: return createThresholdEntry(); + case ApplicationConfigurationPackage.OBJECTIVE_FUNCTION: return createObjectiveFunction(); + case ApplicationConfigurationPackage.RELIABILTIY_FUNCTION: return createReliabiltiyFunction(); + case ApplicationConfigurationPackage.OBJECTIVE_DECLARATION: return createObjectiveDeclaration(); + case ApplicationConfigurationPackage.OBJECTIVE_REFERENCE: return createObjectiveReference(); + case ApplicationConfigurationPackage.OBJECTIVE: return createObjective(); + case ApplicationConfigurationPackage.CONFIG_SPECIFICATION: return createConfigSpecification(); + case ApplicationConfigurationPackage.CONFIG_DECLARATION: return createConfigDeclaration(); + case ApplicationConfigurationPackage.CONFIG_ENTRY: return createConfigEntry(); + case ApplicationConfigurationPackage.DOCUMENTATION_ENTRY: return createDocumentationEntry(); + case ApplicationConfigurationPackage.RUNTIME_ENTRY: return createRuntimeEntry(); + case ApplicationConfigurationPackage.MEMORY_ENTRY: return createMemoryEntry(); + case ApplicationConfigurationPackage.CUSTOM_ENTRY: return createCustomEntry(); + case ApplicationConfigurationPackage.CONFIG_REFERENCE: return createConfigReference(); + case ApplicationConfigurationPackage.CONFIG: return createConfig(); + case ApplicationConfigurationPackage.SCOPE_SPECIFICATION: return createScopeSpecification(); + case ApplicationConfigurationPackage.TYPE_SCOPE: return createTypeScope(); + case ApplicationConfigurationPackage.CLASS_TYPE_SCOPE: return createClassTypeScope(); + case ApplicationConfigurationPackage.OBJECT_TYPE_SCOPE: return createObjectTypeScope(); + case ApplicationConfigurationPackage.INTEGER_TYPE_SCOPE: return createIntegerTypeScope(); + case ApplicationConfigurationPackage.REAL_TYPE_SCOPE: return createRealTypeScope(); + case ApplicationConfigurationPackage.STRING_TYPE_SCOPE: return createStringTypeScope(); + case ApplicationConfigurationPackage.TYPE_REFERENCE: return createTypeReference(); + case ApplicationConfigurationPackage.CLASS_REFERENCE: return createClassReference(); + case ApplicationConfigurationPackage.OBJECT_REFERENCE: return createObjectReference(); + case ApplicationConfigurationPackage.INTEGER_REFERENCE: return createIntegerReference(); + case ApplicationConfigurationPackage.REAL_REFERENCE: return createRealReference(); + case ApplicationConfigurationPackage.STRING_REFERENCE: return createStringReference(); + case ApplicationConfigurationPackage.NUMBER_SPECIFICATION: return createNumberSpecification(); + case ApplicationConfigurationPackage.EXACT_NUMBER: return createExactNumber(); + case ApplicationConfigurationPackage.INTERVALL_NUMBER: return createIntervallNumber(); + case ApplicationConfigurationPackage.INT_ENUMBERATION: return createIntEnumberation(); + case ApplicationConfigurationPackage.REAL_ENUMERATION: return createRealEnumeration(); + case ApplicationConfigurationPackage.STRING_ENUMERATION: return createStringEnumeration(); + case ApplicationConfigurationPackage.SCOPE_DECLARATION: return createScopeDeclaration(); + case ApplicationConfigurationPackage.SCOPE_REFERENCE: return createScopeReference(); + case ApplicationConfigurationPackage.SCOPE: return createScope(); + case ApplicationConfigurationPackage.TASK: return createTask(); + case ApplicationConfigurationPackage.GENERATION_TASK: return createGenerationTask(); + case ApplicationConfigurationPackage.INTEGER_SCOPE: return createIntegerScope(); + case ApplicationConfigurationPackage.REAL_SCOPE: return createRealScope(); + case ApplicationConfigurationPackage.STRING_SCOPE: return createStringScope(); + default: + throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); + } + } + + /** + * + * + * @generated + */ + @Override + public Object createFromString(EDataType eDataType, String initialValue) + { + switch (eDataType.getClassifierID()) + { + case ApplicationConfigurationPackage.OPTIMIZATION_DIRECTION: + return createOptimizationDirectionFromString(eDataType, initialValue); + case ApplicationConfigurationPackage.COMPARISON_OPERATOR: + return createComparisonOperatorFromString(eDataType, initialValue); + case ApplicationConfigurationPackage.DOCUMENT_LEVEL_SPECIFICATION: + return createDocumentLevelSpecificationFromString(eDataType, initialValue); + case ApplicationConfigurationPackage.SOLVER: + return createSolverFromString(eDataType, initialValue); + default: + throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); + } + } + + /** + * + * + * @generated + */ + @Override + public String convertToString(EDataType eDataType, Object instanceValue) + { + switch (eDataType.getClassifierID()) + { + case ApplicationConfigurationPackage.OPTIMIZATION_DIRECTION: + return convertOptimizationDirectionToString(eDataType, instanceValue); + case ApplicationConfigurationPackage.COMPARISON_OPERATOR: + return convertComparisonOperatorToString(eDataType, instanceValue); + case ApplicationConfigurationPackage.DOCUMENT_LEVEL_SPECIFICATION: + return convertDocumentLevelSpecificationToString(eDataType, instanceValue); + case ApplicationConfigurationPackage.SOLVER: + return convertSolverToString(eDataType, instanceValue); + default: + throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); + } + } + + /** + * + * + * @generated + */ + @Override + public ConfigurationScript createConfigurationScript() + { + ConfigurationScriptImpl configurationScript = new ConfigurationScriptImpl(); + return configurationScript; + } + + /** + * + * + * @generated + */ + @Override + public Command createCommand() + { + CommandImpl command = new CommandImpl(); + return command; + } + + /** + * + * + * @generated + */ + @Override + public Import createImport() + { + ImportImpl import_ = new ImportImpl(); + return import_; + } + + /** + * + * + * @generated + */ + @Override + public EPackageImport createEPackageImport() + { + EPackageImportImpl ePackageImport = new EPackageImportImpl(); + return ePackageImport; + } + + /** + * + * + * @generated + */ + @Override + public ViatraImport createViatraImport() + { + ViatraImportImpl viatraImport = new ViatraImportImpl(); + return viatraImport; + } + + /** + * + * + * @generated + */ + @Override + public CftImport createCftImport() + { + CftImportImpl cftImport = new CftImportImpl(); + return cftImport; + } + + /** + * + * + * @generated + */ + @Override + public Declaration createDeclaration() + { + DeclarationImpl declaration = new DeclarationImpl(); + return declaration; + } + + /** + * + * + * @generated + */ + @Override + public FileSpecification createFileSpecification() + { + FileSpecificationImpl fileSpecification = new FileSpecificationImpl(); + return fileSpecification; + } + + /** + * + * + * @generated + */ + @Override + public FileDeclaration createFileDeclaration() + { + FileDeclarationImpl fileDeclaration = new FileDeclarationImpl(); + return fileDeclaration; + } + + /** + * + * + * @generated + */ + @Override + public FileReference createFileReference() + { + FileReferenceImpl fileReference = new FileReferenceImpl(); + return fileReference; + } + + /** + * + * + * @generated + */ + @Override + public File createFile() + { + FileImpl file = new FileImpl(); + return file; + } + + /** + * + * + * @generated + */ + @Override + public MetamodelSpecification createMetamodelSpecification() + { + MetamodelSpecificationImpl metamodelSpecification = new MetamodelSpecificationImpl(); + return metamodelSpecification; + } + + /** + * + * + * @generated + */ + @Override + public MetamodelEntry createMetamodelEntry() + { + MetamodelEntryImpl metamodelEntry = new MetamodelEntryImpl(); + return metamodelEntry; + } + + /** + * + * + * @generated + */ + @Override + public AllPackageEntry createAllPackageEntry() + { + AllPackageEntryImpl allPackageEntry = new AllPackageEntryImpl(); + return allPackageEntry; + } + + /** + * + * + * @generated + */ + @Override + public MetamodelElement createMetamodelElement() + { + MetamodelElementImpl metamodelElement = new MetamodelElementImpl(); + return metamodelElement; + } + + /** + * + * + * @generated + */ + @Override + public MetamodelDeclaration createMetamodelDeclaration() + { + MetamodelDeclarationImpl metamodelDeclaration = new MetamodelDeclarationImpl(); + return metamodelDeclaration; + } + + /** + * + * + * @generated + */ + @Override + public MetamodelReference createMetamodelReference() + { + MetamodelReferenceImpl metamodelReference = new MetamodelReferenceImpl(); + return metamodelReference; + } + + /** + * + * + * @generated + */ + @Override + public Metamodel createMetamodel() + { + MetamodelImpl metamodel = new MetamodelImpl(); + return metamodel; + } + + /** + * + * + * @generated + */ + @Override + public PartialModelSpecification createPartialModelSpecification() + { + PartialModelSpecificationImpl partialModelSpecification = new PartialModelSpecificationImpl(); + return partialModelSpecification; + } + + /** + * + * + * @generated + */ + @Override + public PartialModelEntry createPartialModelEntry() + { + PartialModelEntryImpl partialModelEntry = new PartialModelEntryImpl(); + return partialModelEntry; + } + + /** + * + * + * @generated + */ + @Override + public ModelEntry createModelEntry() + { + ModelEntryImpl modelEntry = new ModelEntryImpl(); + return modelEntry; + } + + /** + * + * + * @generated + */ + @Override + public FolderEntry createFolderEntry() + { + FolderEntryImpl folderEntry = new FolderEntryImpl(); + return folderEntry; + } + + /** + * + * + * @generated + */ + @Override + public PartialModelDeclaration createPartialModelDeclaration() + { + PartialModelDeclarationImpl partialModelDeclaration = new PartialModelDeclarationImpl(); + return partialModelDeclaration; + } + + /** + * + * + * @generated + */ + @Override + public PartialModelReference createPartialModelReference() + { + PartialModelReferenceImpl partialModelReference = new PartialModelReferenceImpl(); + return partialModelReference; + } + + /** + * + * + * @generated + */ + @Override + public PartialModel createPartialModel() + { + PartialModelImpl partialModel = new PartialModelImpl(); + return partialModel; + } + + /** + * + * + * @generated + */ + @Override + public PatternSpecification createPatternSpecification() + { + PatternSpecificationImpl patternSpecification = new PatternSpecificationImpl(); + return patternSpecification; + } + + /** + * + * + * @generated + */ + @Override + public PatternEntry createPatternEntry() + { + PatternEntryImpl patternEntry = new PatternEntryImpl(); + return patternEntry; + } + + /** + * + * + * @generated + */ + @Override + public AllPatternEntry createAllPatternEntry() + { + AllPatternEntryImpl allPatternEntry = new AllPatternEntryImpl(); + return allPatternEntry; + } + + /** + * + * + * @generated + */ + @Override + public PatternElement createPatternElement() + { + PatternElementImpl patternElement = new PatternElementImpl(); + return patternElement; + } + + /** + * + * + * @generated + */ + @Override + public GraphPatternDeclaration createGraphPatternDeclaration() + { + GraphPatternDeclarationImpl graphPatternDeclaration = new GraphPatternDeclarationImpl(); + return graphPatternDeclaration; + } + + /** + * + * + * @generated + */ + @Override + public GraphPatternReference createGraphPatternReference() + { + GraphPatternReferenceImpl graphPatternReference = new GraphPatternReferenceImpl(); + return graphPatternReference; + } + + /** + * + * + * @generated + */ + @Override + public GraphPattern createGraphPattern() + { + GraphPatternImpl graphPattern = new GraphPatternImpl(); + return graphPattern; + } + + /** + * + * + * @generated + */ + @Override + public ObjectiveSpecification createObjectiveSpecification() + { + ObjectiveSpecificationImpl objectiveSpecification = new ObjectiveSpecificationImpl(); + return objectiveSpecification; + } + + /** + * + * + * @generated + */ + @Override + public ObjectiveEntry createObjectiveEntry() + { + ObjectiveEntryImpl objectiveEntry = new ObjectiveEntryImpl(); + return objectiveEntry; + } + + /** + * + * + * @generated + */ + @Override + public OptimizationEntry createOptimizationEntry() + { + OptimizationEntryImpl optimizationEntry = new OptimizationEntryImpl(); + return optimizationEntry; + } + + /** + * + * + * @generated + */ + @Override + public ThresholdEntry createThresholdEntry() + { + ThresholdEntryImpl thresholdEntry = new ThresholdEntryImpl(); + return thresholdEntry; + } + + /** + * + * + * @generated + */ + @Override + public ObjectiveFunction createObjectiveFunction() + { + ObjectiveFunctionImpl objectiveFunction = new ObjectiveFunctionImpl(); + return objectiveFunction; + } + + /** + * + * + * @generated + */ + @Override + public ReliabiltiyFunction createReliabiltiyFunction() + { + ReliabiltiyFunctionImpl reliabiltiyFunction = new ReliabiltiyFunctionImpl(); + return reliabiltiyFunction; + } + + /** + * + * + * @generated + */ + @Override + public ObjectiveDeclaration createObjectiveDeclaration() + { + ObjectiveDeclarationImpl objectiveDeclaration = new ObjectiveDeclarationImpl(); + return objectiveDeclaration; + } + + /** + * + * + * @generated + */ + @Override + public ObjectiveReference createObjectiveReference() + { + ObjectiveReferenceImpl objectiveReference = new ObjectiveReferenceImpl(); + return objectiveReference; + } + + /** + * + * + * @generated + */ + @Override + public Objective createObjective() + { + ObjectiveImpl objective = new ObjectiveImpl(); + return objective; + } + + /** + * + * + * @generated + */ + @Override + public ConfigSpecification createConfigSpecification() + { + ConfigSpecificationImpl configSpecification = new ConfigSpecificationImpl(); + return configSpecification; + } + + /** + * + * + * @generated + */ + @Override + public ConfigDeclaration createConfigDeclaration() + { + ConfigDeclarationImpl configDeclaration = new ConfigDeclarationImpl(); + return configDeclaration; + } + + /** + * + * + * @generated + */ + @Override + public ConfigEntry createConfigEntry() + { + ConfigEntryImpl configEntry = new ConfigEntryImpl(); + return configEntry; + } + + /** + * + * + * @generated + */ + @Override + public DocumentationEntry createDocumentationEntry() + { + DocumentationEntryImpl documentationEntry = new DocumentationEntryImpl(); + return documentationEntry; + } + + /** + * + * + * @generated + */ + @Override + public RuntimeEntry createRuntimeEntry() + { + RuntimeEntryImpl runtimeEntry = new RuntimeEntryImpl(); + return runtimeEntry; + } + + /** + * + * + * @generated + */ + @Override + public MemoryEntry createMemoryEntry() + { + MemoryEntryImpl memoryEntry = new MemoryEntryImpl(); + return memoryEntry; + } + + /** + * + * + * @generated + */ + @Override + public CustomEntry createCustomEntry() + { + CustomEntryImpl customEntry = new CustomEntryImpl(); + return customEntry; + } + + /** + * + * + * @generated + */ + @Override + public ConfigReference createConfigReference() + { + ConfigReferenceImpl configReference = new ConfigReferenceImpl(); + return configReference; + } + + /** + * + * + * @generated + */ + @Override + public Config createConfig() + { + ConfigImpl config = new ConfigImpl(); + return config; + } + + /** + * + * + * @generated + */ + @Override + public ScopeSpecification createScopeSpecification() + { + ScopeSpecificationImpl scopeSpecification = new ScopeSpecificationImpl(); + return scopeSpecification; + } + + /** + * + * + * @generated + */ + @Override + public TypeScope createTypeScope() + { + TypeScopeImpl typeScope = new TypeScopeImpl(); + return typeScope; + } + + /** + * + * + * @generated + */ + @Override + public ClassTypeScope createClassTypeScope() + { + ClassTypeScopeImpl classTypeScope = new ClassTypeScopeImpl(); + return classTypeScope; + } + + /** + * + * + * @generated + */ + @Override + public ObjectTypeScope createObjectTypeScope() + { + ObjectTypeScopeImpl objectTypeScope = new ObjectTypeScopeImpl(); + return objectTypeScope; + } + + /** + * + * + * @generated + */ + @Override + public IntegerTypeScope createIntegerTypeScope() + { + IntegerTypeScopeImpl integerTypeScope = new IntegerTypeScopeImpl(); + return integerTypeScope; + } + + /** + * + * + * @generated + */ + @Override + public RealTypeScope createRealTypeScope() + { + RealTypeScopeImpl realTypeScope = new RealTypeScopeImpl(); + return realTypeScope; + } + + /** + * + * + * @generated + */ + @Override + public StringTypeScope createStringTypeScope() + { + StringTypeScopeImpl stringTypeScope = new StringTypeScopeImpl(); + return stringTypeScope; + } + + /** + * + * + * @generated + */ + @Override + public TypeReference createTypeReference() + { + TypeReferenceImpl typeReference = new TypeReferenceImpl(); + return typeReference; + } + + /** + * + * + * @generated + */ + @Override + public ClassReference createClassReference() + { + ClassReferenceImpl classReference = new ClassReferenceImpl(); + return classReference; + } + + /** + * + * + * @generated + */ + @Override + public ObjectReference createObjectReference() + { + ObjectReferenceImpl objectReference = new ObjectReferenceImpl(); + return objectReference; + } + + /** + * + * + * @generated + */ + @Override + public IntegerReference createIntegerReference() + { + IntegerReferenceImpl integerReference = new IntegerReferenceImpl(); + return integerReference; + } + + /** + * + * + * @generated + */ + @Override + public RealReference createRealReference() + { + RealReferenceImpl realReference = new RealReferenceImpl(); + return realReference; + } + + /** + * + * + * @generated + */ + @Override + public StringReference createStringReference() + { + StringReferenceImpl stringReference = new StringReferenceImpl(); + return stringReference; + } + + /** + * + * + * @generated + */ + @Override + public NumberSpecification createNumberSpecification() + { + NumberSpecificationImpl numberSpecification = new NumberSpecificationImpl(); + return numberSpecification; + } + + /** + * + * + * @generated + */ + @Override + public ExactNumber createExactNumber() + { + ExactNumberImpl exactNumber = new ExactNumberImpl(); + return exactNumber; + } + + /** + * + * + * @generated + */ + @Override + public IntervallNumber createIntervallNumber() + { + IntervallNumberImpl intervallNumber = new IntervallNumberImpl(); + return intervallNumber; + } + + /** + * + * + * @generated + */ + @Override + public IntEnumberation createIntEnumberation() + { + IntEnumberationImpl intEnumberation = new IntEnumberationImpl(); + return intEnumberation; + } + + /** + * + * + * @generated + */ + @Override + public RealEnumeration createRealEnumeration() + { + RealEnumerationImpl realEnumeration = new RealEnumerationImpl(); + return realEnumeration; + } + + /** + * + * + * @generated + */ + @Override + public StringEnumeration createStringEnumeration() + { + StringEnumerationImpl stringEnumeration = new StringEnumerationImpl(); + return stringEnumeration; + } + + /** + * + * + * @generated + */ + @Override + public ScopeDeclaration createScopeDeclaration() + { + ScopeDeclarationImpl scopeDeclaration = new ScopeDeclarationImpl(); + return scopeDeclaration; + } + + /** + * + * + * @generated + */ + @Override + public ScopeReference createScopeReference() + { + ScopeReferenceImpl scopeReference = new ScopeReferenceImpl(); + return scopeReference; + } + + /** + * + * + * @generated + */ + @Override + public Scope createScope() + { + ScopeImpl scope = new ScopeImpl(); + return scope; + } + + /** + * + * + * @generated + */ + @Override + public Task createTask() + { + TaskImpl task = new TaskImpl(); + return task; + } + + /** + * + * + * @generated + */ + @Override + public GenerationTask createGenerationTask() + { + GenerationTaskImpl generationTask = new GenerationTaskImpl(); + return generationTask; + } + + /** + * + * + * @generated + */ + @Override + public IntegerScope createIntegerScope() + { + IntegerScopeImpl integerScope = new IntegerScopeImpl(); + return integerScope; + } + + /** + * + * + * @generated + */ + @Override + public RealScope createRealScope() + { + RealScopeImpl realScope = new RealScopeImpl(); + return realScope; + } + + /** + * + * + * @generated + */ + @Override + public StringScope createStringScope() + { + StringScopeImpl stringScope = new StringScopeImpl(); + return stringScope; + } + + /** + * + * + * @generated + */ + public OptimizationDirection createOptimizationDirectionFromString(EDataType eDataType, String initialValue) + { + OptimizationDirection result = OptimizationDirection.get(initialValue); + if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); + return result; + } + + /** + * + * + * @generated + */ + public String convertOptimizationDirectionToString(EDataType eDataType, Object instanceValue) + { + return instanceValue == null ? null : instanceValue.toString(); + } + + /** + * + * + * @generated + */ + public ComparisonOperator createComparisonOperatorFromString(EDataType eDataType, String initialValue) + { + ComparisonOperator result = ComparisonOperator.get(initialValue); + if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); + return result; + } + + /** + * + * + * @generated + */ + public String convertComparisonOperatorToString(EDataType eDataType, Object instanceValue) + { + return instanceValue == null ? null : instanceValue.toString(); + } + + /** + * + * + * @generated + */ + public DocumentLevelSpecification createDocumentLevelSpecificationFromString(EDataType eDataType, String initialValue) + { + DocumentLevelSpecification result = DocumentLevelSpecification.get(initialValue); + if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); + return result; + } + + /** + * + * + * @generated + */ + public String convertDocumentLevelSpecificationToString(EDataType eDataType, Object instanceValue) + { + return instanceValue == null ? null : instanceValue.toString(); + } + + /** + * + * + * @generated + */ + public Solver createSolverFromString(EDataType eDataType, String initialValue) + { + Solver result = Solver.get(initialValue); + if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); + return result; + } + + /** + * + * + * @generated + */ + public String convertSolverToString(EDataType eDataType, Object instanceValue) + { + return instanceValue == null ? null : instanceValue.toString(); + } + + /** + * + * + * @generated + */ + @Override + public ApplicationConfigurationPackage getApplicationConfigurationPackage() + { + return (ApplicationConfigurationPackage)getEPackage(); + } + + /** + * + * + * @deprecated + * @generated + */ + @Deprecated + public static ApplicationConfigurationPackage getPackage() + { + return ApplicationConfigurationPackage.eINSTANCE; + } + +} //ApplicationConfigurationFactoryImpl 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 d549ad84..ec53c91c 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 @@ -1,2566 +1,3142 @@ -/** - * generated by Xtext 2.12.0 - */ -package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; - -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.AllPackageEntry; -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.AllPatternEntry; -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationFactory; -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage; -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ClassReference; -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ClassTypeScope; -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Command; -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Config; -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigDeclaration; -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigEntry; -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigReference; -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigSpecification; -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigurationScript; -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.CustomEntry; -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Declaration; -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.DocumentLevelSpecification; -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.DocumentationEntry; -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.EPackageImport; -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ExactNumber; -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.File; -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.FileDeclaration; -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.FileReference; -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.FileSpecification; -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.FolderEntry; -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask; -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GraphPattern; -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GraphPatternDeclaration; -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GraphPatternReference; -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Import; -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntEnumberation; -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntegerReference; -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntegerScope; -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntegerTypeScope; -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntervallNumber; -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MemoryEntry; -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Metamodel; -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelDeclaration; -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelElement; -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelEntry; -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelReference; -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelSpecification; -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ModelEntry; -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.NumberSpecification; -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ObjectReference; -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ObjectTypeScope; -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModel; -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModelDeclaration; -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModelEntry; -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModelReference; -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModelSpecification; -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PatternElement; -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PatternEntry; -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PatternSpecification; -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RealEnumeration; -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RealReference; -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RealScope; -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RealTypeScope; -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RuntimeEntry; -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Scope; -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ScopeDeclaration; -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ScopeReference; -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ScopeSpecification; -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Solver; -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.StringEnumeration; -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.StringReference; -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.StringScope; -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.StringTypeScope; -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Task; -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeReference; -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeScope; -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ViatraImport; - -import org.eclipse.emf.ecore.EAttribute; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EEnum; -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.emf.ecore.EReference; -import org.eclipse.emf.ecore.EcorePackage; - -import org.eclipse.emf.ecore.impl.EPackageImpl; - -import org.eclipse.viatra.query.patternlanguage.emf.vql.PatternLanguagePackage; - -import org.eclipse.xtext.common.types.TypesPackage; - -import org.eclipse.xtext.xbase.XbasePackage; - -import org.eclipse.xtext.xtype.XtypePackage; - -/** - * - * An implementation of the model Package. - * - * @generated - */ -public class ApplicationConfigurationPackageImpl extends EPackageImpl implements ApplicationConfigurationPackage -{ - /** - * - * - * @generated - */ - private EClass configurationScriptEClass = null; - - /** - * - * - * @generated - */ - private EClass commandEClass = null; - - /** - * - * - * @generated - */ - private EClass importEClass = null; - - /** - * - * - * @generated - */ - private EClass ePackageImportEClass = null; - - /** - * - * - * @generated - */ - private EClass viatraImportEClass = null; - - /** - * - * - * @generated - */ - private EClass declarationEClass = null; - - /** - * - * - * @generated - */ - private EClass fileSpecificationEClass = null; - - /** - * - * - * @generated - */ - private EClass fileDeclarationEClass = null; - - /** - * - * - * @generated - */ - private EClass fileReferenceEClass = null; - - /** - * - * - * @generated - */ - private EClass fileEClass = null; - - /** - * - * - * @generated - */ - private EClass metamodelSpecificationEClass = null; - - /** - * - * - * @generated - */ - private EClass metamodelEntryEClass = null; - - /** - * - * - * @generated - */ - private EClass allPackageEntryEClass = null; - - /** - * - * - * @generated - */ - private EClass metamodelElementEClass = null; - - /** - * - * - * @generated - */ - private EClass metamodelDeclarationEClass = null; - - /** - * - * - * @generated - */ - private EClass metamodelReferenceEClass = null; - - /** - * - * - * @generated - */ - private EClass metamodelEClass = null; - - /** - * - * - * @generated - */ - private EClass partialModelSpecificationEClass = null; - - /** - * - * - * @generated - */ - private EClass partialModelEntryEClass = null; - - /** - * - * - * @generated - */ - private EClass modelEntryEClass = null; - - /** - * - * - * @generated - */ - private EClass folderEntryEClass = null; - - /** - * - * - * @generated - */ - private EClass partialModelDeclarationEClass = null; - - /** - * - * - * @generated - */ - private EClass partialModelReferenceEClass = null; - - /** - * - * - * @generated - */ - private EClass partialModelEClass = null; - - /** - * - * - * @generated - */ - private EClass patternSpecificationEClass = null; - - /** - * - * - * @generated - */ - private EClass patternEntryEClass = null; - - /** - * - * - * @generated - */ - private EClass allPatternEntryEClass = null; - - /** - * - * - * @generated - */ - private EClass patternElementEClass = null; - - /** - * - * - * @generated - */ - private EClass graphPatternDeclarationEClass = null; - - /** - * - * - * @generated - */ - private EClass graphPatternReferenceEClass = null; - - /** - * - * - * @generated - */ - private EClass graphPatternEClass = null; - - /** - * - * - * @generated - */ - private EClass configSpecificationEClass = null; - - /** - * - * - * @generated - */ - private EClass configDeclarationEClass = null; - - /** - * - * - * @generated - */ - private EClass configEntryEClass = null; - - /** - * - * - * @generated - */ - private EClass documentationEntryEClass = null; - - /** - * - * - * @generated - */ - private EClass runtimeEntryEClass = null; - - /** - * - * - * @generated - */ - private EClass memoryEntryEClass = null; - - /** - * - * - * @generated - */ - private EClass customEntryEClass = null; - - /** - * - * - * @generated - */ - private EClass configReferenceEClass = null; - - /** - * - * - * @generated - */ - private EClass configEClass = null; - - /** - * - * - * @generated - */ - private EClass scopeSpecificationEClass = null; - - /** - * - * - * @generated - */ - private EClass typeScopeEClass = null; - - /** - * - * - * @generated - */ - private EClass classTypeScopeEClass = null; - - /** - * - * - * @generated - */ - private EClass objectTypeScopeEClass = null; - - /** - * - * - * @generated - */ - private EClass integerTypeScopeEClass = null; - - /** - * - * - * @generated - */ - private EClass realTypeScopeEClass = null; - - /** - * - * - * @generated - */ - private EClass stringTypeScopeEClass = null; - - /** - * - * - * @generated - */ - private EClass typeReferenceEClass = null; - - /** - * - * - * @generated - */ - private EClass classReferenceEClass = null; - - /** - * - * - * @generated - */ - private EClass objectReferenceEClass = null; - - /** - * - * - * @generated - */ - private EClass integerReferenceEClass = null; - - /** - * - * - * @generated - */ - private EClass realReferenceEClass = null; - - /** - * - * - * @generated - */ - private EClass stringReferenceEClass = null; - - /** - * - * - * @generated - */ - private EClass numberSpecificationEClass = null; - - /** - * - * - * @generated - */ - private EClass exactNumberEClass = null; - - /** - * - * - * @generated - */ - private EClass intervallNumberEClass = null; - - /** - * - * - * @generated - */ - private EClass intEnumberationEClass = null; - - /** - * - * - * @generated - */ - private EClass realEnumerationEClass = null; - - /** - * - * - * @generated - */ - private EClass stringEnumerationEClass = null; - - /** - * - * - * @generated - */ - private EClass scopeDeclarationEClass = null; - - /** - * - * - * @generated - */ - private EClass scopeReferenceEClass = null; - - /** - * - * - * @generated - */ - private EClass scopeEClass = null; - - /** - * - * - * @generated - */ - private EClass taskEClass = null; - - /** - * - * - * @generated - */ - private EClass generationTaskEClass = null; - - /** - * - * - * @generated - */ - private EClass integerScopeEClass = null; - - /** - * - * - * @generated - */ - private EClass realScopeEClass = null; - - /** - * - * - * @generated - */ - private EClass stringScopeEClass = null; - - /** - * - * - * @generated - */ - private EEnum documentLevelSpecificationEEnum = null; - - /** - * - * - * @generated - */ - private EEnum solverEEnum = null; - - /** - * Creates an instance of the model Package, registered with - * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package - * package URI value. - *

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

This method is used to initialize {@link ApplicationConfigurationPackage#eINSTANCE} when that field is accessed. - * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. - * - * - * @see #eNS_URI - * @see #createPackageContents() - * @see #initializePackageContents() - * @generated - */ - public static ApplicationConfigurationPackage init() - { - if (isInited) return (ApplicationConfigurationPackage)EPackage.Registry.INSTANCE.getEPackage(ApplicationConfigurationPackage.eNS_URI); - - // Obtain or create and register package - ApplicationConfigurationPackageImpl theApplicationConfigurationPackage = (ApplicationConfigurationPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof ApplicationConfigurationPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new ApplicationConfigurationPackageImpl()); - - isInited = true; - - // Initialize simple dependencies - EcorePackage.eINSTANCE.eClass(); - PatternLanguagePackage.eINSTANCE.eClass(); - XtypePackage.eINSTANCE.eClass(); - TypesPackage.eINSTANCE.eClass(); - XbasePackage.eINSTANCE.eClass(); - - // Create package meta-data objects - theApplicationConfigurationPackage.createPackageContents(); - - // Initialize created meta-data - theApplicationConfigurationPackage.initializePackageContents(); - - // Mark meta-data to indicate it can't be changed - theApplicationConfigurationPackage.freeze(); - - - // Update the registry and return the package - EPackage.Registry.INSTANCE.put(ApplicationConfigurationPackage.eNS_URI, theApplicationConfigurationPackage); - return theApplicationConfigurationPackage; - } - - /** - * - * - * @generated - */ - public EClass getConfigurationScript() - { - return configurationScriptEClass; - } - - /** - * - * - * @generated - */ - public EReference getConfigurationScript_Imports() - { - return (EReference)configurationScriptEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - public EReference getConfigurationScript_Commands() - { - return (EReference)configurationScriptEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - public EClass getCommand() - { - return commandEClass; - } - - /** - * - * - * @generated - */ - public EClass getImport() - { - return importEClass; - } - - /** - * - * - * @generated - */ - public EClass getEPackageImport() - { - return ePackageImportEClass; - } - - /** - * - * - * @generated - */ - public EReference getEPackageImport_ImportedPackage() - { - return (EReference)ePackageImportEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - public EClass getViatraImport() - { - return viatraImportEClass; - } - - /** - * - * - * @generated - */ - public EReference getViatraImport_ImportedViatra() - { - return (EReference)viatraImportEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - public EClass getDeclaration() - { - return declarationEClass; - } - - /** - * - * - * @generated - */ - public EAttribute getDeclaration_Name() - { - return (EAttribute)declarationEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - public EClass getFileSpecification() - { - return fileSpecificationEClass; - } - - /** - * - * - * @generated - */ - public EAttribute getFileSpecification_Path() - { - return (EAttribute)fileSpecificationEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - public EClass getFileDeclaration() - { - return fileDeclarationEClass; - } - - /** - * - * - * @generated - */ - public EReference getFileDeclaration_Specification() - { - return (EReference)fileDeclarationEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - public EClass getFileReference() - { - return fileReferenceEClass; - } - - /** - * - * - * @generated - */ - public EReference getFileReference_Referred() - { - return (EReference)fileReferenceEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - public EClass getFile() - { - return fileEClass; - } - - /** - * - * - * @generated - */ - public EClass getMetamodelSpecification() - { - return metamodelSpecificationEClass; - } - - /** - * - * - * @generated - */ - public EReference getMetamodelSpecification_Entries() - { - return (EReference)metamodelSpecificationEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - public EClass getMetamodelEntry() - { - return metamodelEntryEClass; - } - - /** - * - * - * @generated - */ - public EReference getMetamodelEntry_Package() - { - return (EReference)metamodelEntryEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - public EClass getAllPackageEntry() - { - return allPackageEntryEClass; - } - - /** - * - * - * @generated - */ - public EReference getAllPackageEntry_Exclusion() - { - return (EReference)allPackageEntryEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - public EClass getMetamodelElement() - { - return metamodelElementEClass; - } - - /** - * - * - * @generated - */ - public EReference getMetamodelElement_Classifier() - { - return (EReference)metamodelElementEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - public EReference getMetamodelElement_Feature() - { - return (EReference)metamodelElementEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - public EClass getMetamodelDeclaration() - { - return metamodelDeclarationEClass; - } - - /** - * - * - * @generated - */ - public EReference getMetamodelDeclaration_Specification() - { - return (EReference)metamodelDeclarationEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - public EClass getMetamodelReference() - { - return metamodelReferenceEClass; - } - - /** - * - * - * @generated - */ - public EReference getMetamodelReference_Referred() - { - return (EReference)metamodelReferenceEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - public EClass getMetamodel() - { - return metamodelEClass; - } - - /** - * - * - * @generated - */ - public EClass getPartialModelSpecification() - { - return partialModelSpecificationEClass; - } - - /** - * - * - * @generated - */ - public EReference getPartialModelSpecification_Entry() - { - return (EReference)partialModelSpecificationEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - public EClass getPartialModelEntry() - { - return partialModelEntryEClass; - } - - /** - * - * - * @generated - */ - public EReference getPartialModelEntry_Path() - { - return (EReference)partialModelEntryEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - public EClass getModelEntry() - { - return modelEntryEClass; - } - - /** - * - * - * @generated - */ - public EClass getFolderEntry() - { - return folderEntryEClass; - } - - /** - * - * - * @generated - */ - public EReference getFolderEntry_Exclusion() - { - return (EReference)folderEntryEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - public EClass getPartialModelDeclaration() - { - return partialModelDeclarationEClass; - } - - /** - * - * - * @generated - */ - public EReference getPartialModelDeclaration_Specification() - { - return (EReference)partialModelDeclarationEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - public EClass getPartialModelReference() - { - return partialModelReferenceEClass; - } - - /** - * - * - * @generated - */ - public EReference getPartialModelReference_Referred() - { - return (EReference)partialModelReferenceEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - public EClass getPartialModel() - { - return partialModelEClass; - } - - /** - * - * - * @generated - */ - public EClass getPatternSpecification() - { - return patternSpecificationEClass; - } - - /** - * - * - * @generated - */ - public EReference getPatternSpecification_Entries() - { - return (EReference)patternSpecificationEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - public EClass getPatternEntry() - { - return patternEntryEClass; - } - - /** - * - * - * @generated - */ - public EReference getPatternEntry_Package() - { - return (EReference)patternEntryEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - public EClass getAllPatternEntry() - { - return allPatternEntryEClass; - } - - /** - * - * - * @generated - */ - public EReference getAllPatternEntry_Exclusuion() - { - return (EReference)allPatternEntryEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - public EClass getPatternElement() - { - return patternElementEClass; - } - - /** - * - * - * @generated - */ - public EReference getPatternElement_Pattern() - { - return (EReference)patternElementEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - public EClass getGraphPatternDeclaration() - { - return graphPatternDeclarationEClass; - } - - /** - * - * - * @generated - */ - public EReference getGraphPatternDeclaration_Specification() - { - return (EReference)graphPatternDeclarationEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - public EClass getGraphPatternReference() - { - return graphPatternReferenceEClass; - } - - /** - * - * - * @generated - */ - public EReference getGraphPatternReference_Referred() - { - return (EReference)graphPatternReferenceEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - public EClass getGraphPattern() - { - return graphPatternEClass; - } - - /** - * - * - * @generated - */ - public EClass getConfigSpecification() - { - return configSpecificationEClass; - } - - /** - * - * - * @generated - */ - public EReference getConfigSpecification_Entries() - { - return (EReference)configSpecificationEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - public EClass getConfigDeclaration() - { - return configDeclarationEClass; - } - - /** - * - * - * @generated - */ - public EReference getConfigDeclaration_Specification() - { - return (EReference)configDeclarationEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - public EClass getConfigEntry() - { - return configEntryEClass; - } - - /** - * - * - * @generated - */ - public EClass getDocumentationEntry() - { - return documentationEntryEClass; - } - - /** - * - * - * @generated - */ - public EAttribute getDocumentationEntry_Level() - { - return (EAttribute)documentationEntryEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - public EClass getRuntimeEntry() - { - return runtimeEntryEClass; - } - - /** - * - * - * @generated - */ - public EAttribute getRuntimeEntry_MillisecLimit() - { - return (EAttribute)runtimeEntryEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - public EClass getMemoryEntry() - { - return memoryEntryEClass; - } - - /** - * - * - * @generated - */ - public EAttribute getMemoryEntry_MegabyteLimit() - { - return (EAttribute)memoryEntryEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - public EClass getCustomEntry() - { - return customEntryEClass; - } - - /** - * - * - * @generated - */ - public EAttribute getCustomEntry_Key() - { - return (EAttribute)customEntryEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - public EAttribute getCustomEntry_Value() - { - return (EAttribute)customEntryEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - public EClass getConfigReference() - { - return configReferenceEClass; - } - - /** - * - * - * @generated - */ - public EReference getConfigReference_Config() - { - return (EReference)configReferenceEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - public EClass getConfig() - { - return configEClass; - } - - /** - * - * - * @generated - */ - public EClass getScopeSpecification() - { - return scopeSpecificationEClass; - } - - /** - * - * - * @generated - */ - public EReference getScopeSpecification_Scopes() - { - return (EReference)scopeSpecificationEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - public EClass getTypeScope() - { - return typeScopeEClass; - } - - /** - * - * - * @generated - */ - public EAttribute getTypeScope_SetsNew() - { - return (EAttribute)typeScopeEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - public EAttribute getTypeScope_SetsSum() - { - return (EAttribute)typeScopeEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - public EReference getTypeScope_Number() - { - return (EReference)typeScopeEClass.getEStructuralFeatures().get(2); - } - - /** - * - * - * @generated - */ - public EClass getClassTypeScope() - { - return classTypeScopeEClass; - } - - /** - * - * - * @generated - */ - public EReference getClassTypeScope_Type() - { - return (EReference)classTypeScopeEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - public EClass getObjectTypeScope() - { - return objectTypeScopeEClass; - } - - /** - * - * - * @generated - */ - public EReference getObjectTypeScope_Type() - { - return (EReference)objectTypeScopeEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - public EClass getIntegerTypeScope() - { - return integerTypeScopeEClass; - } - - /** - * - * - * @generated - */ - public EReference getIntegerTypeScope_Type() - { - return (EReference)integerTypeScopeEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - public EClass getRealTypeScope() - { - return realTypeScopeEClass; - } - - /** - * - * - * @generated - */ - public EReference getRealTypeScope_Type() - { - return (EReference)realTypeScopeEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - public EClass getStringTypeScope() - { - return stringTypeScopeEClass; - } - - /** - * - * - * @generated - */ - public EReference getStringTypeScope_Type() - { - return (EReference)stringTypeScopeEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - public EClass getTypeReference() - { - return typeReferenceEClass; - } - - /** - * - * - * @generated - */ - public EClass getClassReference() - { - return classReferenceEClass; - } - - /** - * - * - * @generated - */ - public EReference getClassReference_Element() - { - return (EReference)classReferenceEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - public EClass getObjectReference() - { - return objectReferenceEClass; - } - - /** - * - * - * @generated - */ - public EClass getIntegerReference() - { - return integerReferenceEClass; - } - - /** - * - * - * @generated - */ - public EClass getRealReference() - { - return realReferenceEClass; - } - - /** - * - * - * @generated - */ - public EClass getStringReference() - { - return stringReferenceEClass; - } - - /** - * - * - * @generated - */ - public EClass getNumberSpecification() - { - return numberSpecificationEClass; - } - - /** - * - * - * @generated - */ - public EClass getExactNumber() - { - return exactNumberEClass; - } - - /** - * - * - * @generated - */ - public EAttribute getExactNumber_ExactNumber() - { - return (EAttribute)exactNumberEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - public EAttribute getExactNumber_ExactUnlimited() - { - return (EAttribute)exactNumberEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - public EClass getIntervallNumber() - { - return intervallNumberEClass; - } - - /** - * - * - * @generated - */ - public EAttribute getIntervallNumber_Min() - { - return (EAttribute)intervallNumberEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - public EAttribute getIntervallNumber_MaxNumber() - { - return (EAttribute)intervallNumberEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - public EAttribute getIntervallNumber_MaxUnlimited() - { - return (EAttribute)intervallNumberEClass.getEStructuralFeatures().get(2); - } - - /** - * - * - * @generated - */ - public EClass getIntEnumberation() - { - return intEnumberationEClass; - } - - /** - * - * - * @generated - */ - public EAttribute getIntEnumberation_Entry() - { - return (EAttribute)intEnumberationEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - public EClass getRealEnumeration() - { - return realEnumerationEClass; - } - - /** - * - * - * @generated - */ - public EAttribute getRealEnumeration_Entry() - { - return (EAttribute)realEnumerationEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - public EClass getStringEnumeration() - { - return stringEnumerationEClass; - } - - /** - * - * - * @generated - */ - public EAttribute getStringEnumeration_Entry() - { - return (EAttribute)stringEnumerationEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - public EClass getScopeDeclaration() - { - return scopeDeclarationEClass; - } - - /** - * - * - * @generated - */ - public EReference getScopeDeclaration_Specification() - { - return (EReference)scopeDeclarationEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - public EClass getScopeReference() - { - return scopeReferenceEClass; - } - - /** - * - * - * @generated - */ - public EReference getScopeReference_Referred() - { - return (EReference)scopeReferenceEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - public EClass getScope() - { - return scopeEClass; - } - - /** - * - * - * @generated - */ - public EClass getTask() - { - return taskEClass; - } - - /** - * - * - * @generated - */ - public EClass getGenerationTask() - { - return generationTaskEClass; - } - - /** - * - * - * @generated - */ - public EReference getGenerationTask_Metamodel() - { - return (EReference)generationTaskEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - public EReference getGenerationTask_PartialModel() - { - return (EReference)generationTaskEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - public EReference getGenerationTask_Patterns() - { - return (EReference)generationTaskEClass.getEStructuralFeatures().get(2); - } - - /** - * - * - * @generated - */ - public EReference getGenerationTask_Scope() - { - return (EReference)generationTaskEClass.getEStructuralFeatures().get(3); - } - - /** - * - * - * @generated - */ - public EAttribute getGenerationTask_NumberSpecified() - { - return (EAttribute)generationTaskEClass.getEStructuralFeatures().get(4); - } - - /** - * - * - * @generated - */ - public EAttribute getGenerationTask_Number() - { - return (EAttribute)generationTaskEClass.getEStructuralFeatures().get(5); - } - - /** - * - * - * @generated - */ - public EAttribute getGenerationTask_RunSpecified() - { - return (EAttribute)generationTaskEClass.getEStructuralFeatures().get(6); - } - - /** - * - * - * @generated - */ - public EAttribute getGenerationTask_Runs() - { - return (EAttribute)generationTaskEClass.getEStructuralFeatures().get(7); - } - - /** - * - * - * @generated - */ - public EAttribute getGenerationTask_Solver() - { - return (EAttribute)generationTaskEClass.getEStructuralFeatures().get(8); - } - - /** - * - * - * @generated - */ - public EReference getGenerationTask_Config() - { - return (EReference)generationTaskEClass.getEStructuralFeatures().get(9); - } - - /** - * - * - * @generated - */ - public EReference getGenerationTask_DebugFolder() - { - return (EReference)generationTaskEClass.getEStructuralFeatures().get(10); - } - - /** - * - * - * @generated - */ - public EReference getGenerationTask_TargetLogFile() - { - return (EReference)generationTaskEClass.getEStructuralFeatures().get(11); - } - - /** - * - * - * @generated - */ - public EReference getGenerationTask_TargetStatisticsFile() - { - return (EReference)generationTaskEClass.getEStructuralFeatures().get(12); - } - - /** - * - * - * @generated - */ - public EReference getGenerationTask_TagetFolder() - { - return (EReference)generationTaskEClass.getEStructuralFeatures().get(13); - } - - /** - * - * - * @generated - */ - public EClass getIntegerScope() - { - return integerScopeEClass; - } - - /** - * - * - * @generated - */ - public EClass getRealScope() - { - return realScopeEClass; - } - - /** - * - * - * @generated - */ - public EClass getStringScope() - { - return stringScopeEClass; - } - - /** - * - * - * @generated - */ - public EEnum getDocumentLevelSpecification() - { - return documentLevelSpecificationEEnum; - } - - /** - * - * - * @generated - */ - public EEnum getSolver() - { - return solverEEnum; - } - - /** - * - * - * @generated - */ - public ApplicationConfigurationFactory getApplicationConfigurationFactory() - { - return (ApplicationConfigurationFactory)getEFactoryInstance(); - } - - /** - * - * - * @generated - */ - private boolean isCreated = false; - - /** - * Creates the meta-model objects for the package. This method is - * guarded to have no affect on any invocation but its first. - * - * - * @generated - */ - public void createPackageContents() - { - if (isCreated) return; - isCreated = true; - - // Create classes and their features - configurationScriptEClass = createEClass(CONFIGURATION_SCRIPT); - createEReference(configurationScriptEClass, CONFIGURATION_SCRIPT__IMPORTS); - createEReference(configurationScriptEClass, CONFIGURATION_SCRIPT__COMMANDS); - - commandEClass = createEClass(COMMAND); - - importEClass = createEClass(IMPORT); - - ePackageImportEClass = createEClass(EPACKAGE_IMPORT); - createEReference(ePackageImportEClass, EPACKAGE_IMPORT__IMPORTED_PACKAGE); - - viatraImportEClass = createEClass(VIATRA_IMPORT); - createEReference(viatraImportEClass, VIATRA_IMPORT__IMPORTED_VIATRA); - - declarationEClass = createEClass(DECLARATION); - createEAttribute(declarationEClass, DECLARATION__NAME); - - fileSpecificationEClass = createEClass(FILE_SPECIFICATION); - createEAttribute(fileSpecificationEClass, FILE_SPECIFICATION__PATH); - - fileDeclarationEClass = createEClass(FILE_DECLARATION); - createEReference(fileDeclarationEClass, FILE_DECLARATION__SPECIFICATION); - - fileReferenceEClass = createEClass(FILE_REFERENCE); - createEReference(fileReferenceEClass, FILE_REFERENCE__REFERRED); - - fileEClass = createEClass(FILE); - - metamodelSpecificationEClass = createEClass(METAMODEL_SPECIFICATION); - createEReference(metamodelSpecificationEClass, METAMODEL_SPECIFICATION__ENTRIES); - - metamodelEntryEClass = createEClass(METAMODEL_ENTRY); - createEReference(metamodelEntryEClass, METAMODEL_ENTRY__PACKAGE); - - allPackageEntryEClass = createEClass(ALL_PACKAGE_ENTRY); - createEReference(allPackageEntryEClass, ALL_PACKAGE_ENTRY__EXCLUSION); - - metamodelElementEClass = createEClass(METAMODEL_ELEMENT); - createEReference(metamodelElementEClass, METAMODEL_ELEMENT__CLASSIFIER); - createEReference(metamodelElementEClass, METAMODEL_ELEMENT__FEATURE); - - metamodelDeclarationEClass = createEClass(METAMODEL_DECLARATION); - createEReference(metamodelDeclarationEClass, METAMODEL_DECLARATION__SPECIFICATION); - - metamodelReferenceEClass = createEClass(METAMODEL_REFERENCE); - createEReference(metamodelReferenceEClass, METAMODEL_REFERENCE__REFERRED); - - metamodelEClass = createEClass(METAMODEL); - - partialModelSpecificationEClass = createEClass(PARTIAL_MODEL_SPECIFICATION); - createEReference(partialModelSpecificationEClass, PARTIAL_MODEL_SPECIFICATION__ENTRY); - - partialModelEntryEClass = createEClass(PARTIAL_MODEL_ENTRY); - createEReference(partialModelEntryEClass, PARTIAL_MODEL_ENTRY__PATH); - - modelEntryEClass = createEClass(MODEL_ENTRY); - - folderEntryEClass = createEClass(FOLDER_ENTRY); - createEReference(folderEntryEClass, FOLDER_ENTRY__EXCLUSION); - - partialModelDeclarationEClass = createEClass(PARTIAL_MODEL_DECLARATION); - createEReference(partialModelDeclarationEClass, PARTIAL_MODEL_DECLARATION__SPECIFICATION); - - partialModelReferenceEClass = createEClass(PARTIAL_MODEL_REFERENCE); - createEReference(partialModelReferenceEClass, PARTIAL_MODEL_REFERENCE__REFERRED); - - partialModelEClass = createEClass(PARTIAL_MODEL); - - patternSpecificationEClass = createEClass(PATTERN_SPECIFICATION); - createEReference(patternSpecificationEClass, PATTERN_SPECIFICATION__ENTRIES); - - patternEntryEClass = createEClass(PATTERN_ENTRY); - createEReference(patternEntryEClass, PATTERN_ENTRY__PACKAGE); - - allPatternEntryEClass = createEClass(ALL_PATTERN_ENTRY); - createEReference(allPatternEntryEClass, ALL_PATTERN_ENTRY__EXCLUSUION); - - patternElementEClass = createEClass(PATTERN_ELEMENT); - createEReference(patternElementEClass, PATTERN_ELEMENT__PATTERN); - - graphPatternDeclarationEClass = createEClass(GRAPH_PATTERN_DECLARATION); - createEReference(graphPatternDeclarationEClass, GRAPH_PATTERN_DECLARATION__SPECIFICATION); - - graphPatternReferenceEClass = createEClass(GRAPH_PATTERN_REFERENCE); - createEReference(graphPatternReferenceEClass, GRAPH_PATTERN_REFERENCE__REFERRED); - - graphPatternEClass = createEClass(GRAPH_PATTERN); - - configSpecificationEClass = createEClass(CONFIG_SPECIFICATION); - createEReference(configSpecificationEClass, CONFIG_SPECIFICATION__ENTRIES); - - configDeclarationEClass = createEClass(CONFIG_DECLARATION); - createEReference(configDeclarationEClass, CONFIG_DECLARATION__SPECIFICATION); - - configEntryEClass = createEClass(CONFIG_ENTRY); - - documentationEntryEClass = createEClass(DOCUMENTATION_ENTRY); - createEAttribute(documentationEntryEClass, DOCUMENTATION_ENTRY__LEVEL); - - runtimeEntryEClass = createEClass(RUNTIME_ENTRY); - createEAttribute(runtimeEntryEClass, RUNTIME_ENTRY__MILLISEC_LIMIT); - - memoryEntryEClass = createEClass(MEMORY_ENTRY); - createEAttribute(memoryEntryEClass, MEMORY_ENTRY__MEGABYTE_LIMIT); - - customEntryEClass = createEClass(CUSTOM_ENTRY); - createEAttribute(customEntryEClass, CUSTOM_ENTRY__KEY); - createEAttribute(customEntryEClass, CUSTOM_ENTRY__VALUE); - - configReferenceEClass = createEClass(CONFIG_REFERENCE); - createEReference(configReferenceEClass, CONFIG_REFERENCE__CONFIG); - - configEClass = createEClass(CONFIG); - - scopeSpecificationEClass = createEClass(SCOPE_SPECIFICATION); - createEReference(scopeSpecificationEClass, SCOPE_SPECIFICATION__SCOPES); - - typeScopeEClass = createEClass(TYPE_SCOPE); - createEAttribute(typeScopeEClass, TYPE_SCOPE__SETS_NEW); - createEAttribute(typeScopeEClass, TYPE_SCOPE__SETS_SUM); - createEReference(typeScopeEClass, TYPE_SCOPE__NUMBER); - - classTypeScopeEClass = createEClass(CLASS_TYPE_SCOPE); - createEReference(classTypeScopeEClass, CLASS_TYPE_SCOPE__TYPE); - - objectTypeScopeEClass = createEClass(OBJECT_TYPE_SCOPE); - createEReference(objectTypeScopeEClass, OBJECT_TYPE_SCOPE__TYPE); - - integerTypeScopeEClass = createEClass(INTEGER_TYPE_SCOPE); - createEReference(integerTypeScopeEClass, INTEGER_TYPE_SCOPE__TYPE); - - realTypeScopeEClass = createEClass(REAL_TYPE_SCOPE); - createEReference(realTypeScopeEClass, REAL_TYPE_SCOPE__TYPE); - - stringTypeScopeEClass = createEClass(STRING_TYPE_SCOPE); - createEReference(stringTypeScopeEClass, STRING_TYPE_SCOPE__TYPE); - - typeReferenceEClass = createEClass(TYPE_REFERENCE); - - classReferenceEClass = createEClass(CLASS_REFERENCE); - createEReference(classReferenceEClass, CLASS_REFERENCE__ELEMENT); - - objectReferenceEClass = createEClass(OBJECT_REFERENCE); - - integerReferenceEClass = createEClass(INTEGER_REFERENCE); - - realReferenceEClass = createEClass(REAL_REFERENCE); - - stringReferenceEClass = createEClass(STRING_REFERENCE); - - numberSpecificationEClass = createEClass(NUMBER_SPECIFICATION); - - exactNumberEClass = createEClass(EXACT_NUMBER); - createEAttribute(exactNumberEClass, EXACT_NUMBER__EXACT_NUMBER); - createEAttribute(exactNumberEClass, EXACT_NUMBER__EXACT_UNLIMITED); - - intervallNumberEClass = createEClass(INTERVALL_NUMBER); - createEAttribute(intervallNumberEClass, INTERVALL_NUMBER__MIN); - createEAttribute(intervallNumberEClass, INTERVALL_NUMBER__MAX_NUMBER); - createEAttribute(intervallNumberEClass, INTERVALL_NUMBER__MAX_UNLIMITED); - - intEnumberationEClass = createEClass(INT_ENUMBERATION); - createEAttribute(intEnumberationEClass, INT_ENUMBERATION__ENTRY); - - realEnumerationEClass = createEClass(REAL_ENUMERATION); - createEAttribute(realEnumerationEClass, REAL_ENUMERATION__ENTRY); - - stringEnumerationEClass = createEClass(STRING_ENUMERATION); - createEAttribute(stringEnumerationEClass, STRING_ENUMERATION__ENTRY); - - scopeDeclarationEClass = createEClass(SCOPE_DECLARATION); - createEReference(scopeDeclarationEClass, SCOPE_DECLARATION__SPECIFICATION); - - scopeReferenceEClass = createEClass(SCOPE_REFERENCE); - createEReference(scopeReferenceEClass, SCOPE_REFERENCE__REFERRED); - - scopeEClass = createEClass(SCOPE); - - taskEClass = createEClass(TASK); - - generationTaskEClass = createEClass(GENERATION_TASK); - createEReference(generationTaskEClass, GENERATION_TASK__METAMODEL); - createEReference(generationTaskEClass, GENERATION_TASK__PARTIAL_MODEL); - createEReference(generationTaskEClass, GENERATION_TASK__PATTERNS); - createEReference(generationTaskEClass, GENERATION_TASK__SCOPE); - createEAttribute(generationTaskEClass, GENERATION_TASK__NUMBER_SPECIFIED); - createEAttribute(generationTaskEClass, GENERATION_TASK__NUMBER); - createEAttribute(generationTaskEClass, GENERATION_TASK__RUN_SPECIFIED); - createEAttribute(generationTaskEClass, GENERATION_TASK__RUNS); - createEAttribute(generationTaskEClass, GENERATION_TASK__SOLVER); - createEReference(generationTaskEClass, GENERATION_TASK__CONFIG); - createEReference(generationTaskEClass, GENERATION_TASK__DEBUG_FOLDER); - createEReference(generationTaskEClass, GENERATION_TASK__TARGET_LOG_FILE); - createEReference(generationTaskEClass, GENERATION_TASK__TARGET_STATISTICS_FILE); - createEReference(generationTaskEClass, GENERATION_TASK__TAGET_FOLDER); - - integerScopeEClass = createEClass(INTEGER_SCOPE); - - realScopeEClass = createEClass(REAL_SCOPE); - - stringScopeEClass = createEClass(STRING_SCOPE); - - // Create enums - documentLevelSpecificationEEnum = createEEnum(DOCUMENT_LEVEL_SPECIFICATION); - solverEEnum = createEEnum(SOLVER); - } - - /** - * - * - * @generated - */ - private boolean isInitialized = false; - - /** - * Complete the initialization of the package and its meta-model. This - * method is guarded to have no affect on any invocation but its first. - * - * - * @generated - */ - public void initializePackageContents() - { - if (isInitialized) return; - isInitialized = true; - - // Initialize package - setName(eNAME); - setNsPrefix(eNS_PREFIX); - setNsURI(eNS_URI); - - // Obtain other dependent packages - EcorePackage theEcorePackage = (EcorePackage)EPackage.Registry.INSTANCE.getEPackage(EcorePackage.eNS_URI); - PatternLanguagePackage thePatternLanguagePackage = (PatternLanguagePackage)EPackage.Registry.INSTANCE.getEPackage(PatternLanguagePackage.eNS_URI); - - // Create type parameters - - // Set bounds for type parameters - - // Add supertypes to classes - ePackageImportEClass.getESuperTypes().add(this.getImport()); - viatraImportEClass.getESuperTypes().add(this.getImport()); - declarationEClass.getESuperTypes().add(this.getCommand()); - fileSpecificationEClass.getESuperTypes().add(this.getFile()); - fileDeclarationEClass.getESuperTypes().add(this.getDeclaration()); - fileReferenceEClass.getESuperTypes().add(this.getFile()); - metamodelSpecificationEClass.getESuperTypes().add(this.getMetamodel()); - allPackageEntryEClass.getESuperTypes().add(this.getMetamodelEntry()); - metamodelElementEClass.getESuperTypes().add(this.getMetamodelEntry()); - metamodelDeclarationEClass.getESuperTypes().add(this.getDeclaration()); - metamodelReferenceEClass.getESuperTypes().add(this.getMetamodel()); - partialModelSpecificationEClass.getESuperTypes().add(this.getPartialModel()); - modelEntryEClass.getESuperTypes().add(this.getPartialModelEntry()); - folderEntryEClass.getESuperTypes().add(this.getPartialModelEntry()); - partialModelDeclarationEClass.getESuperTypes().add(this.getDeclaration()); - partialModelReferenceEClass.getESuperTypes().add(this.getPartialModel()); - patternSpecificationEClass.getESuperTypes().add(this.getGraphPattern()); - allPatternEntryEClass.getESuperTypes().add(this.getPatternEntry()); - patternElementEClass.getESuperTypes().add(this.getPatternEntry()); - graphPatternDeclarationEClass.getESuperTypes().add(this.getDeclaration()); - graphPatternReferenceEClass.getESuperTypes().add(this.getGraphPattern()); - configSpecificationEClass.getESuperTypes().add(this.getConfig()); - configDeclarationEClass.getESuperTypes().add(this.getDeclaration()); - documentationEntryEClass.getESuperTypes().add(this.getConfigEntry()); - runtimeEntryEClass.getESuperTypes().add(this.getConfigEntry()); - memoryEntryEClass.getESuperTypes().add(this.getConfigEntry()); - customEntryEClass.getESuperTypes().add(this.getConfigEntry()); - configReferenceEClass.getESuperTypes().add(this.getConfig()); - scopeSpecificationEClass.getESuperTypes().add(this.getScope()); - classTypeScopeEClass.getESuperTypes().add(this.getTypeScope()); - objectTypeScopeEClass.getESuperTypes().add(this.getTypeScope()); - integerTypeScopeEClass.getESuperTypes().add(this.getTypeScope()); - realTypeScopeEClass.getESuperTypes().add(this.getTypeScope()); - stringTypeScopeEClass.getESuperTypes().add(this.getTypeScope()); - classReferenceEClass.getESuperTypes().add(this.getTypeReference()); - objectReferenceEClass.getESuperTypes().add(this.getTypeReference()); - integerReferenceEClass.getESuperTypes().add(this.getTypeReference()); - realReferenceEClass.getESuperTypes().add(this.getTypeReference()); - stringReferenceEClass.getESuperTypes().add(this.getTypeReference()); - exactNumberEClass.getESuperTypes().add(this.getNumberSpecification()); - intervallNumberEClass.getESuperTypes().add(this.getNumberSpecification()); - intEnumberationEClass.getESuperTypes().add(this.getNumberSpecification()); - realEnumerationEClass.getESuperTypes().add(this.getNumberSpecification()); - stringEnumerationEClass.getESuperTypes().add(this.getNumberSpecification()); - scopeDeclarationEClass.getESuperTypes().add(this.getDeclaration()); - scopeReferenceEClass.getESuperTypes().add(this.getScope()); - taskEClass.getESuperTypes().add(this.getCommand()); - generationTaskEClass.getESuperTypes().add(this.getTask()); - integerScopeEClass.getESuperTypes().add(this.getIntegerReference()); - realScopeEClass.getESuperTypes().add(this.getRealReference()); - stringScopeEClass.getESuperTypes().add(this.getStringReference()); - - // Initialize classes and features; add operations and parameters - initEClass(configurationScriptEClass, ConfigurationScript.class, "ConfigurationScript", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getConfigurationScript_Imports(), this.getImport(), null, "imports", null, 0, -1, ConfigurationScript.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getConfigurationScript_Commands(), this.getCommand(), null, "commands", null, 0, -1, ConfigurationScript.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(commandEClass, Command.class, "Command", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - - initEClass(importEClass, Import.class, "Import", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - - initEClass(ePackageImportEClass, EPackageImport.class, "EPackageImport", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getEPackageImport_ImportedPackage(), theEcorePackage.getEPackage(), null, "importedPackage", null, 0, 1, EPackageImport.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(viatraImportEClass, ViatraImport.class, "ViatraImport", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getViatraImport_ImportedViatra(), thePatternLanguagePackage.getPatternModel(), null, "importedViatra", null, 0, 1, ViatraImport.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(declarationEClass, Declaration.class, "Declaration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getDeclaration_Name(), theEcorePackage.getEString(), "name", null, 0, 1, Declaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(fileSpecificationEClass, FileSpecification.class, "FileSpecification", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getFileSpecification_Path(), theEcorePackage.getEString(), "path", null, 0, 1, FileSpecification.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(fileDeclarationEClass, FileDeclaration.class, "FileDeclaration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getFileDeclaration_Specification(), this.getFileSpecification(), null, "specification", null, 0, 1, FileDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(fileReferenceEClass, FileReference.class, "FileReference", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getFileReference_Referred(), this.getFileDeclaration(), null, "referred", null, 0, 1, FileReference.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(fileEClass, File.class, "File", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - - initEClass(metamodelSpecificationEClass, MetamodelSpecification.class, "MetamodelSpecification", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getMetamodelSpecification_Entries(), this.getMetamodelEntry(), null, "entries", null, 0, -1, MetamodelSpecification.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(metamodelEntryEClass, MetamodelEntry.class, "MetamodelEntry", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getMetamodelEntry_Package(), theEcorePackage.getEPackage(), null, "package", null, 0, 1, MetamodelEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(allPackageEntryEClass, AllPackageEntry.class, "AllPackageEntry", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getAllPackageEntry_Exclusion(), this.getMetamodelElement(), null, "exclusion", null, 0, -1, AllPackageEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(metamodelElementEClass, MetamodelElement.class, "MetamodelElement", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getMetamodelElement_Classifier(), theEcorePackage.getEClassifier(), null, "classifier", null, 0, 1, MetamodelElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getMetamodelElement_Feature(), theEcorePackage.getENamedElement(), null, "feature", null, 0, 1, MetamodelElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(metamodelDeclarationEClass, MetamodelDeclaration.class, "MetamodelDeclaration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getMetamodelDeclaration_Specification(), this.getMetamodelSpecification(), null, "specification", null, 0, 1, MetamodelDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(metamodelReferenceEClass, MetamodelReference.class, "MetamodelReference", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getMetamodelReference_Referred(), this.getMetamodelDeclaration(), null, "referred", null, 0, 1, MetamodelReference.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(metamodelEClass, Metamodel.class, "Metamodel", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - - initEClass(partialModelSpecificationEClass, PartialModelSpecification.class, "PartialModelSpecification", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getPartialModelSpecification_Entry(), this.getPartialModelEntry(), null, "entry", null, 0, -1, PartialModelSpecification.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(partialModelEntryEClass, PartialModelEntry.class, "PartialModelEntry", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getPartialModelEntry_Path(), this.getFile(), null, "path", null, 0, 1, PartialModelEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(modelEntryEClass, ModelEntry.class, "ModelEntry", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - - initEClass(folderEntryEClass, FolderEntry.class, "FolderEntry", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getFolderEntry_Exclusion(), this.getModelEntry(), null, "exclusion", null, 0, -1, FolderEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(partialModelDeclarationEClass, PartialModelDeclaration.class, "PartialModelDeclaration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getPartialModelDeclaration_Specification(), this.getPartialModelSpecification(), null, "specification", null, 0, 1, PartialModelDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(partialModelReferenceEClass, PartialModelReference.class, "PartialModelReference", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getPartialModelReference_Referred(), this.getPartialModelDeclaration(), null, "referred", null, 0, 1, PartialModelReference.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(partialModelEClass, PartialModel.class, "PartialModel", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - - initEClass(patternSpecificationEClass, PatternSpecification.class, "PatternSpecification", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getPatternSpecification_Entries(), this.getPatternEntry(), null, "entries", null, 0, -1, PatternSpecification.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(patternEntryEClass, PatternEntry.class, "PatternEntry", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getPatternEntry_Package(), thePatternLanguagePackage.getPatternModel(), null, "package", null, 0, 1, PatternEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(allPatternEntryEClass, AllPatternEntry.class, "AllPatternEntry", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getAllPatternEntry_Exclusuion(), this.getPatternElement(), null, "exclusuion", null, 0, -1, AllPatternEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(patternElementEClass, PatternElement.class, "PatternElement", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getPatternElement_Pattern(), thePatternLanguagePackage.getPattern(), null, "pattern", null, 0, 1, PatternElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(graphPatternDeclarationEClass, GraphPatternDeclaration.class, "GraphPatternDeclaration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getGraphPatternDeclaration_Specification(), this.getPatternSpecification(), null, "specification", null, 0, 1, GraphPatternDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(graphPatternReferenceEClass, GraphPatternReference.class, "GraphPatternReference", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getGraphPatternReference_Referred(), this.getGraphPatternDeclaration(), null, "referred", null, 0, 1, GraphPatternReference.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(graphPatternEClass, GraphPattern.class, "GraphPattern", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - - initEClass(configSpecificationEClass, ConfigSpecification.class, "ConfigSpecification", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getConfigSpecification_Entries(), this.getConfigEntry(), null, "entries", null, 0, -1, ConfigSpecification.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(configDeclarationEClass, ConfigDeclaration.class, "ConfigDeclaration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getConfigDeclaration_Specification(), this.getConfigSpecification(), null, "specification", null, 0, 1, ConfigDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(configEntryEClass, ConfigEntry.class, "ConfigEntry", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - - initEClass(documentationEntryEClass, DocumentationEntry.class, "DocumentationEntry", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getDocumentationEntry_Level(), this.getDocumentLevelSpecification(), "level", null, 0, 1, DocumentationEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(runtimeEntryEClass, RuntimeEntry.class, "RuntimeEntry", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getRuntimeEntry_MillisecLimit(), theEcorePackage.getEInt(), "millisecLimit", null, 0, 1, RuntimeEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(memoryEntryEClass, MemoryEntry.class, "MemoryEntry", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getMemoryEntry_MegabyteLimit(), theEcorePackage.getEInt(), "megabyteLimit", null, 0, 1, MemoryEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(customEntryEClass, CustomEntry.class, "CustomEntry", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getCustomEntry_Key(), theEcorePackage.getEString(), "key", null, 0, 1, CustomEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getCustomEntry_Value(), theEcorePackage.getEString(), "value", null, 0, 1, CustomEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(configReferenceEClass, ConfigReference.class, "ConfigReference", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getConfigReference_Config(), this.getConfigDeclaration(), null, "config", null, 0, 1, ConfigReference.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(configEClass, Config.class, "Config", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - - initEClass(scopeSpecificationEClass, ScopeSpecification.class, "ScopeSpecification", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getScopeSpecification_Scopes(), this.getTypeScope(), null, "scopes", null, 0, -1, ScopeSpecification.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(typeScopeEClass, TypeScope.class, "TypeScope", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getTypeScope_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); - initEReference(getTypeScope_Number(), this.getNumberSpecification(), null, "number", null, 0, 1, TypeScope.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(classTypeScopeEClass, ClassTypeScope.class, "ClassTypeScope", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getClassTypeScope_Type(), this.getClassReference(), null, "type", null, 0, 1, ClassTypeScope.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(objectTypeScopeEClass, ObjectTypeScope.class, "ObjectTypeScope", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getObjectTypeScope_Type(), this.getObjectReference(), null, "type", null, 0, 1, ObjectTypeScope.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(integerTypeScopeEClass, IntegerTypeScope.class, "IntegerTypeScope", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getIntegerTypeScope_Type(), this.getIntegerReference(), null, "type", null, 0, 1, IntegerTypeScope.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(realTypeScopeEClass, RealTypeScope.class, "RealTypeScope", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getRealTypeScope_Type(), this.getRealReference(), null, "type", null, 0, 1, RealTypeScope.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(stringTypeScopeEClass, StringTypeScope.class, "StringTypeScope", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getStringTypeScope_Type(), this.getStringReference(), null, "type", null, 0, 1, StringTypeScope.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(typeReferenceEClass, TypeReference.class, "TypeReference", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - - initEClass(classReferenceEClass, ClassReference.class, "ClassReference", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getClassReference_Element(), this.getMetamodelElement(), null, "element", null, 0, 1, ClassReference.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(objectReferenceEClass, ObjectReference.class, "ObjectReference", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - - initEClass(integerReferenceEClass, IntegerReference.class, "IntegerReference", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - - initEClass(realReferenceEClass, RealReference.class, "RealReference", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - - initEClass(stringReferenceEClass, StringReference.class, "StringReference", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - - initEClass(numberSpecificationEClass, NumberSpecification.class, "NumberSpecification", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - - initEClass(exactNumberEClass, ExactNumber.class, "ExactNumber", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getExactNumber_ExactNumber(), theEcorePackage.getEInt(), "exactNumber", null, 0, 1, ExactNumber.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getExactNumber_ExactUnlimited(), theEcorePackage.getEBoolean(), "exactUnlimited", null, 0, 1, ExactNumber.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(intervallNumberEClass, IntervallNumber.class, "IntervallNumber", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getIntervallNumber_Min(), theEcorePackage.getEInt(), "min", null, 0, 1, IntervallNumber.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getIntervallNumber_MaxNumber(), theEcorePackage.getEInt(), "maxNumber", null, 0, 1, IntervallNumber.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getIntervallNumber_MaxUnlimited(), theEcorePackage.getEBoolean(), "maxUnlimited", null, 0, 1, IntervallNumber.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(intEnumberationEClass, IntEnumberation.class, "IntEnumberation", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getIntEnumberation_Entry(), theEcorePackage.getEInt(), "entry", null, 0, -1, IntEnumberation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(realEnumerationEClass, RealEnumeration.class, "RealEnumeration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getRealEnumeration_Entry(), theEcorePackage.getEBigDecimal(), "entry", null, 0, -1, RealEnumeration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(stringEnumerationEClass, StringEnumeration.class, "StringEnumeration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getStringEnumeration_Entry(), theEcorePackage.getEString(), "entry", null, 0, -1, StringEnumeration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(scopeDeclarationEClass, ScopeDeclaration.class, "ScopeDeclaration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getScopeDeclaration_Specification(), this.getScopeSpecification(), null, "specification", null, 0, 1, ScopeDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(scopeReferenceEClass, ScopeReference.class, "ScopeReference", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getScopeReference_Referred(), this.getScopeDeclaration(), null, "referred", null, 0, 1, ScopeReference.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(scopeEClass, Scope.class, "Scope", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - - initEClass(taskEClass, Task.class, "Task", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - - initEClass(generationTaskEClass, GenerationTask.class, "GenerationTask", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getGenerationTask_Metamodel(), this.getMetamodel(), null, "metamodel", null, 0, 1, GenerationTask.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getGenerationTask_PartialModel(), this.getPartialModel(), null, "partialModel", null, 0, 1, GenerationTask.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getGenerationTask_Patterns(), this.getGraphPattern(), null, "patterns", null, 0, 1, GenerationTask.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getGenerationTask_Scope(), this.getScope(), null, "scope", null, 0, 1, GenerationTask.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getGenerationTask_NumberSpecified(), theEcorePackage.getEBoolean(), "numberSpecified", null, 0, 1, GenerationTask.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getGenerationTask_Number(), theEcorePackage.getEInt(), "number", null, 0, 1, GenerationTask.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getGenerationTask_RunSpecified(), theEcorePackage.getEBoolean(), "runSpecified", null, 0, 1, GenerationTask.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getGenerationTask_Runs(), theEcorePackage.getEInt(), "runs", null, 0, 1, GenerationTask.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getGenerationTask_Solver(), this.getSolver(), "solver", null, 0, 1, GenerationTask.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getGenerationTask_Config(), this.getConfig(), null, "config", null, 0, 1, GenerationTask.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getGenerationTask_DebugFolder(), this.getFile(), null, "debugFolder", null, 0, 1, GenerationTask.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getGenerationTask_TargetLogFile(), this.getFile(), null, "targetLogFile", null, 0, 1, GenerationTask.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getGenerationTask_TargetStatisticsFile(), this.getFile(), null, "targetStatisticsFile", null, 0, 1, GenerationTask.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getGenerationTask_TagetFolder(), this.getFile(), null, "tagetFolder", null, 0, 1, GenerationTask.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(integerScopeEClass, IntegerScope.class, "IntegerScope", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - - initEClass(realScopeEClass, RealScope.class, "RealScope", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - - initEClass(stringScopeEClass, StringScope.class, "StringScope", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - - // Initialize enums and add enum literals - initEEnum(documentLevelSpecificationEEnum, DocumentLevelSpecification.class, "DocumentLevelSpecification"); - addEEnumLiteral(documentLevelSpecificationEEnum, DocumentLevelSpecification.NONE); - addEEnumLiteral(documentLevelSpecificationEEnum, DocumentLevelSpecification.NORMAL); - addEEnumLiteral(documentLevelSpecificationEEnum, DocumentLevelSpecification.FULL); - - initEEnum(solverEEnum, Solver.class, "Solver"); - addEEnumLiteral(solverEEnum, Solver.SMT_SOLVER); - addEEnumLiteral(solverEEnum, Solver.ALLOY_SOLVER); - addEEnumLiteral(solverEEnum, Solver.VIATRA_SOLVER); - - // Create resource - createResource(eNS_URI); - } - -} //ApplicationConfigurationPackageImpl +/** + * generated by Xtext 2.16.0 + */ +package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; + +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.AllPackageEntry; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.AllPatternEntry; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationFactory; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.CftImport; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ClassReference; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ClassTypeScope; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Command; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ComparisonOperator; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Config; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigDeclaration; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigEntry; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigReference; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigSpecification; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigurationScript; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.CustomEntry; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Declaration; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.DocumentLevelSpecification; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.DocumentationEntry; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.EPackageImport; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ExactNumber; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.File; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.FileDeclaration; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.FileReference; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.FileSpecification; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.FolderEntry; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GraphPattern; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GraphPatternDeclaration; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GraphPatternReference; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Import; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntEnumberation; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntegerReference; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntegerScope; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntegerTypeScope; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntervallNumber; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MemoryEntry; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Metamodel; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelDeclaration; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelElement; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelEntry; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelReference; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelSpecification; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ModelEntry; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.NumberSpecification; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ObjectReference; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ObjectTypeScope; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Objective; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ObjectiveDeclaration; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ObjectiveEntry; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ObjectiveFunction; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ObjectiveReference; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ObjectiveSpecification; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.OptimizationDirection; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.OptimizationEntry; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModel; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModelDeclaration; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModelEntry; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModelReference; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModelSpecification; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PatternElement; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PatternEntry; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PatternSpecification; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RealEnumeration; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RealReference; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RealScope; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RealTypeScope; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ReliabiltiyFunction; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RuntimeEntry; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Scope; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ScopeDeclaration; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ScopeReference; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ScopeSpecification; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Solver; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.StringEnumeration; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.StringReference; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.StringScope; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.StringTypeScope; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Task; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ThresholdEntry; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeReference; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeScope; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ViatraImport; + +import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage; + +import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage; + +import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtPackage; + +import org.eclipse.emf.ecore.EAttribute; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EEnum; +import org.eclipse.emf.ecore.EPackage; +import org.eclipse.emf.ecore.EReference; +import org.eclipse.emf.ecore.EcorePackage; + +import org.eclipse.emf.ecore.impl.EPackageImpl; + +import org.eclipse.viatra.query.patternlanguage.emf.vql.PatternLanguagePackage; + +import org.eclipse.xtext.common.types.TypesPackage; + +import org.eclipse.xtext.xbase.XbasePackage; + +import org.eclipse.xtext.xtype.XtypePackage; + +/** + * + * An implementation of the model Package. + * + * @generated + */ +public class ApplicationConfigurationPackageImpl extends EPackageImpl implements ApplicationConfigurationPackage +{ + /** + * + * + * @generated + */ + private EClass configurationScriptEClass = null; + + /** + * + * + * @generated + */ + private EClass commandEClass = null; + + /** + * + * + * @generated + */ + private EClass importEClass = null; + + /** + * + * + * @generated + */ + private EClass ePackageImportEClass = null; + + /** + * + * + * @generated + */ + private EClass viatraImportEClass = null; + + /** + * + * + * @generated + */ + private EClass cftImportEClass = null; + + /** + * + * + * @generated + */ + private EClass declarationEClass = null; + + /** + * + * + * @generated + */ + private EClass fileSpecificationEClass = null; + + /** + * + * + * @generated + */ + private EClass fileDeclarationEClass = null; + + /** + * + * + * @generated + */ + private EClass fileReferenceEClass = null; + + /** + * + * + * @generated + */ + private EClass fileEClass = null; + + /** + * + * + * @generated + */ + private EClass metamodelSpecificationEClass = null; + + /** + * + * + * @generated + */ + private EClass metamodelEntryEClass = null; + + /** + * + * + * @generated + */ + private EClass allPackageEntryEClass = null; + + /** + * + * + * @generated + */ + private EClass metamodelElementEClass = null; + + /** + * + * + * @generated + */ + private EClass metamodelDeclarationEClass = null; + + /** + * + * + * @generated + */ + private EClass metamodelReferenceEClass = null; + + /** + * + * + * @generated + */ + private EClass metamodelEClass = null; + + /** + * + * + * @generated + */ + private EClass partialModelSpecificationEClass = null; + + /** + * + * + * @generated + */ + private EClass partialModelEntryEClass = null; + + /** + * + * + * @generated + */ + private EClass modelEntryEClass = null; + + /** + * + * + * @generated + */ + private EClass folderEntryEClass = null; + + /** + * + * + * @generated + */ + private EClass partialModelDeclarationEClass = null; + + /** + * + * + * @generated + */ + private EClass partialModelReferenceEClass = null; + + /** + * + * + * @generated + */ + private EClass partialModelEClass = null; + + /** + * + * + * @generated + */ + private EClass patternSpecificationEClass = null; + + /** + * + * + * @generated + */ + private EClass patternEntryEClass = null; + + /** + * + * + * @generated + */ + private EClass allPatternEntryEClass = null; + + /** + * + * + * @generated + */ + private EClass patternElementEClass = null; + + /** + * + * + * @generated + */ + private EClass graphPatternDeclarationEClass = null; + + /** + * + * + * @generated + */ + private EClass graphPatternReferenceEClass = null; + + /** + * + * + * @generated + */ + private EClass graphPatternEClass = null; + + /** + * + * + * @generated + */ + private EClass objectiveSpecificationEClass = null; + + /** + * + * + * @generated + */ + private EClass objectiveEntryEClass = null; + + /** + * + * + * @generated + */ + private EClass optimizationEntryEClass = null; + + /** + * + * + * @generated + */ + private EClass thresholdEntryEClass = null; + + /** + * + * + * @generated + */ + private EClass objectiveFunctionEClass = null; + + /** + * + * + * @generated + */ + private EClass reliabiltiyFunctionEClass = null; + + /** + * + * + * @generated + */ + private EClass objectiveDeclarationEClass = null; + + /** + * + * + * @generated + */ + private EClass objectiveReferenceEClass = null; + + /** + * + * + * @generated + */ + private EClass objectiveEClass = null; + + /** + * + * + * @generated + */ + private EClass configSpecificationEClass = null; + + /** + * + * + * @generated + */ + private EClass configDeclarationEClass = null; + + /** + * + * + * @generated + */ + private EClass configEntryEClass = null; + + /** + * + * + * @generated + */ + private EClass documentationEntryEClass = null; + + /** + * + * + * @generated + */ + private EClass runtimeEntryEClass = null; + + /** + * + * + * @generated + */ + private EClass memoryEntryEClass = null; + + /** + * + * + * @generated + */ + private EClass customEntryEClass = null; + + /** + * + * + * @generated + */ + private EClass configReferenceEClass = null; + + /** + * + * + * @generated + */ + private EClass configEClass = null; + + /** + * + * + * @generated + */ + private EClass scopeSpecificationEClass = null; + + /** + * + * + * @generated + */ + private EClass typeScopeEClass = null; + + /** + * + * + * @generated + */ + private EClass classTypeScopeEClass = null; + + /** + * + * + * @generated + */ + private EClass objectTypeScopeEClass = null; + + /** + * + * + * @generated + */ + private EClass integerTypeScopeEClass = null; + + /** + * + * + * @generated + */ + private EClass realTypeScopeEClass = null; + + /** + * + * + * @generated + */ + private EClass stringTypeScopeEClass = null; + + /** + * + * + * @generated + */ + private EClass typeReferenceEClass = null; + + /** + * + * + * @generated + */ + private EClass classReferenceEClass = null; + + /** + * + * + * @generated + */ + private EClass objectReferenceEClass = null; + + /** + * + * + * @generated + */ + private EClass integerReferenceEClass = null; + + /** + * + * + * @generated + */ + private EClass realReferenceEClass = null; + + /** + * + * + * @generated + */ + private EClass stringReferenceEClass = null; + + /** + * + * + * @generated + */ + private EClass numberSpecificationEClass = null; + + /** + * + * + * @generated + */ + private EClass exactNumberEClass = null; + + /** + * + * + * @generated + */ + private EClass intervallNumberEClass = null; + + /** + * + * + * @generated + */ + private EClass intEnumberationEClass = null; + + /** + * + * + * @generated + */ + private EClass realEnumerationEClass = null; + + /** + * + * + * @generated + */ + private EClass stringEnumerationEClass = null; + + /** + * + * + * @generated + */ + private EClass scopeDeclarationEClass = null; + + /** + * + * + * @generated + */ + private EClass scopeReferenceEClass = null; + + /** + * + * + * @generated + */ + private EClass scopeEClass = null; + + /** + * + * + * @generated + */ + private EClass taskEClass = null; + + /** + * + * + * @generated + */ + private EClass generationTaskEClass = null; + + /** + * + * + * @generated + */ + private EClass integerScopeEClass = null; + + /** + * + * + * @generated + */ + private EClass realScopeEClass = null; + + /** + * + * + * @generated + */ + private EClass stringScopeEClass = null; + + /** + * + * + * @generated + */ + private EEnum optimizationDirectionEEnum = null; + + /** + * + * + * @generated + */ + private EEnum comparisonOperatorEEnum = null; + + /** + * + * + * @generated + */ + private EEnum documentLevelSpecificationEEnum = null; + + /** + * + * + * @generated + */ + private EEnum solverEEnum = null; + + /** + * Creates an instance of the model Package, registered with + * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package + * package URI value. + *

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

This method is used to initialize {@link ApplicationConfigurationPackage#eINSTANCE} when that field is accessed. + * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. + * + * + * @see #eNS_URI + * @see #createPackageContents() + * @see #initializePackageContents() + * @generated + */ + public static ApplicationConfigurationPackage init() + { + if (isInited) return (ApplicationConfigurationPackage)EPackage.Registry.INSTANCE.getEPackage(ApplicationConfigurationPackage.eNS_URI); + + // Obtain or create and register package + Object registeredApplicationConfigurationPackage = EPackage.Registry.INSTANCE.get(eNS_URI); + ApplicationConfigurationPackageImpl theApplicationConfigurationPackage = registeredApplicationConfigurationPackage instanceof ApplicationConfigurationPackageImpl ? (ApplicationConfigurationPackageImpl)registeredApplicationConfigurationPackage : new ApplicationConfigurationPackageImpl(); + + isInited = true; + + // Initialize simple dependencies + CftLanguagePackage.eINSTANCE.eClass(); + EcorePackage.eINSTANCE.eClass(); + PatternLanguagePackage.eINSTANCE.eClass(); + CftPackage.eINSTANCE.eClass(); + XtypePackage.eINSTANCE.eClass(); + TypesPackage.eINSTANCE.eClass(); + XbasePackage.eINSTANCE.eClass(); + FtPackage.eINSTANCE.eClass(); + + // Create package meta-data objects + theApplicationConfigurationPackage.createPackageContents(); + + // Initialize created meta-data + theApplicationConfigurationPackage.initializePackageContents(); + + // Mark meta-data to indicate it can't be changed + theApplicationConfigurationPackage.freeze(); + + // Update the registry and return the package + EPackage.Registry.INSTANCE.put(ApplicationConfigurationPackage.eNS_URI, theApplicationConfigurationPackage); + return theApplicationConfigurationPackage; + } + + /** + * + * + * @generated + */ + @Override + public EClass getConfigurationScript() + { + return configurationScriptEClass; + } + + /** + * + * + * @generated + */ + @Override + public EReference getConfigurationScript_Imports() + { + return (EReference)configurationScriptEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EReference getConfigurationScript_Commands() + { + return (EReference)configurationScriptEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + @Override + public EClass getCommand() + { + return commandEClass; + } + + /** + * + * + * @generated + */ + @Override + public EClass getImport() + { + return importEClass; + } + + /** + * + * + * @generated + */ + @Override + public EClass getEPackageImport() + { + return ePackageImportEClass; + } + + /** + * + * + * @generated + */ + @Override + public EReference getEPackageImport_ImportedPackage() + { + return (EReference)ePackageImportEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EClass getViatraImport() + { + return viatraImportEClass; + } + + /** + * + * + * @generated + */ + @Override + public EReference getViatraImport_ImportedViatra() + { + return (EReference)viatraImportEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EClass getCftImport() + { + return cftImportEClass; + } + + /** + * + * + * @generated + */ + @Override + public EReference getCftImport_ImportedCft() + { + return (EReference)cftImportEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EClass getDeclaration() + { + return declarationEClass; + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getDeclaration_Name() + { + return (EAttribute)declarationEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EClass getFileSpecification() + { + return fileSpecificationEClass; + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getFileSpecification_Path() + { + return (EAttribute)fileSpecificationEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EClass getFileDeclaration() + { + return fileDeclarationEClass; + } + + /** + * + * + * @generated + */ + @Override + public EReference getFileDeclaration_Specification() + { + return (EReference)fileDeclarationEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EClass getFileReference() + { + return fileReferenceEClass; + } + + /** + * + * + * @generated + */ + @Override + public EReference getFileReference_Referred() + { + return (EReference)fileReferenceEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EClass getFile() + { + return fileEClass; + } + + /** + * + * + * @generated + */ + @Override + public EClass getMetamodelSpecification() + { + return metamodelSpecificationEClass; + } + + /** + * + * + * @generated + */ + @Override + public EReference getMetamodelSpecification_Entries() + { + return (EReference)metamodelSpecificationEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EClass getMetamodelEntry() + { + return metamodelEntryEClass; + } + + /** + * + * + * @generated + */ + @Override + public EReference getMetamodelEntry_Package() + { + return (EReference)metamodelEntryEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EClass getAllPackageEntry() + { + return allPackageEntryEClass; + } + + /** + * + * + * @generated + */ + @Override + public EReference getAllPackageEntry_Exclusion() + { + return (EReference)allPackageEntryEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EClass getMetamodelElement() + { + return metamodelElementEClass; + } + + /** + * + * + * @generated + */ + @Override + public EReference getMetamodelElement_Classifier() + { + return (EReference)metamodelElementEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EReference getMetamodelElement_Feature() + { + return (EReference)metamodelElementEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + @Override + public EClass getMetamodelDeclaration() + { + return metamodelDeclarationEClass; + } + + /** + * + * + * @generated + */ + @Override + public EReference getMetamodelDeclaration_Specification() + { + return (EReference)metamodelDeclarationEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EClass getMetamodelReference() + { + return metamodelReferenceEClass; + } + + /** + * + * + * @generated + */ + @Override + public EReference getMetamodelReference_Referred() + { + return (EReference)metamodelReferenceEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EClass getMetamodel() + { + return metamodelEClass; + } + + /** + * + * + * @generated + */ + @Override + public EClass getPartialModelSpecification() + { + return partialModelSpecificationEClass; + } + + /** + * + * + * @generated + */ + @Override + public EReference getPartialModelSpecification_Entry() + { + return (EReference)partialModelSpecificationEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EClass getPartialModelEntry() + { + return partialModelEntryEClass; + } + + /** + * + * + * @generated + */ + @Override + public EReference getPartialModelEntry_Path() + { + return (EReference)partialModelEntryEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EClass getModelEntry() + { + return modelEntryEClass; + } + + /** + * + * + * @generated + */ + @Override + public EClass getFolderEntry() + { + return folderEntryEClass; + } + + /** + * + * + * @generated + */ + @Override + public EReference getFolderEntry_Exclusion() + { + return (EReference)folderEntryEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EClass getPartialModelDeclaration() + { + return partialModelDeclarationEClass; + } + + /** + * + * + * @generated + */ + @Override + public EReference getPartialModelDeclaration_Specification() + { + return (EReference)partialModelDeclarationEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EClass getPartialModelReference() + { + return partialModelReferenceEClass; + } + + /** + * + * + * @generated + */ + @Override + public EReference getPartialModelReference_Referred() + { + return (EReference)partialModelReferenceEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EClass getPartialModel() + { + return partialModelEClass; + } + + /** + * + * + * @generated + */ + @Override + public EClass getPatternSpecification() + { + return patternSpecificationEClass; + } + + /** + * + * + * @generated + */ + @Override + public EReference getPatternSpecification_Entries() + { + return (EReference)patternSpecificationEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EClass getPatternEntry() + { + return patternEntryEClass; + } + + /** + * + * + * @generated + */ + @Override + public EReference getPatternEntry_Package() + { + return (EReference)patternEntryEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EClass getAllPatternEntry() + { + return allPatternEntryEClass; + } + + /** + * + * + * @generated + */ + @Override + public EReference getAllPatternEntry_Exclusuion() + { + return (EReference)allPatternEntryEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EClass getPatternElement() + { + return patternElementEClass; + } + + /** + * + * + * @generated + */ + @Override + public EReference getPatternElement_Pattern() + { + return (EReference)patternElementEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EClass getGraphPatternDeclaration() + { + return graphPatternDeclarationEClass; + } + + /** + * + * + * @generated + */ + @Override + public EReference getGraphPatternDeclaration_Specification() + { + return (EReference)graphPatternDeclarationEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EClass getGraphPatternReference() + { + return graphPatternReferenceEClass; + } + + /** + * + * + * @generated + */ + @Override + public EReference getGraphPatternReference_Referred() + { + return (EReference)graphPatternReferenceEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EClass getGraphPattern() + { + return graphPatternEClass; + } + + /** + * + * + * @generated + */ + @Override + public EClass getObjectiveSpecification() + { + return objectiveSpecificationEClass; + } + + /** + * + * + * @generated + */ + @Override + public EReference getObjectiveSpecification_Entries() + { + return (EReference)objectiveSpecificationEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EClass getObjectiveEntry() + { + return objectiveEntryEClass; + } + + /** + * + * + * @generated + */ + @Override + public EReference getObjectiveEntry_Function() + { + return (EReference)objectiveEntryEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EClass getOptimizationEntry() + { + return optimizationEntryEClass; + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getOptimizationEntry_Direction() + { + return (EAttribute)optimizationEntryEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EClass getThresholdEntry() + { + return thresholdEntryEClass; + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getThresholdEntry_Operator() + { + return (EAttribute)thresholdEntryEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getThresholdEntry_Threshold() + { + return (EAttribute)thresholdEntryEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + @Override + public EClass getObjectiveFunction() + { + return objectiveFunctionEClass; + } + + /** + * + * + * @generated + */ + @Override + public EClass getReliabiltiyFunction() + { + return reliabiltiyFunctionEClass; + } + + /** + * + * + * @generated + */ + @Override + public EReference getReliabiltiyFunction_Package() + { + return (EReference)reliabiltiyFunctionEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EReference getReliabiltiyFunction_Transformation() + { + return (EReference)reliabiltiyFunctionEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + @Override + public EClass getObjectiveDeclaration() + { + return objectiveDeclarationEClass; + } + + /** + * + * + * @generated + */ + @Override + public EReference getObjectiveDeclaration_Specification() + { + return (EReference)objectiveDeclarationEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EClass getObjectiveReference() + { + return objectiveReferenceEClass; + } + + /** + * + * + * @generated + */ + @Override + public EReference getObjectiveReference_Referred() + { + return (EReference)objectiveReferenceEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EClass getObjective() + { + return objectiveEClass; + } + + /** + * + * + * @generated + */ + @Override + public EClass getConfigSpecification() + { + return configSpecificationEClass; + } + + /** + * + * + * @generated + */ + @Override + public EReference getConfigSpecification_Entries() + { + return (EReference)configSpecificationEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EClass getConfigDeclaration() + { + return configDeclarationEClass; + } + + /** + * + * + * @generated + */ + @Override + public EReference getConfigDeclaration_Specification() + { + return (EReference)configDeclarationEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EClass getConfigEntry() + { + return configEntryEClass; + } + + /** + * + * + * @generated + */ + @Override + public EClass getDocumentationEntry() + { + return documentationEntryEClass; + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getDocumentationEntry_Level() + { + return (EAttribute)documentationEntryEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EClass getRuntimeEntry() + { + return runtimeEntryEClass; + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getRuntimeEntry_MillisecLimit() + { + return (EAttribute)runtimeEntryEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EClass getMemoryEntry() + { + return memoryEntryEClass; + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getMemoryEntry_MegabyteLimit() + { + return (EAttribute)memoryEntryEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EClass getCustomEntry() + { + return customEntryEClass; + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getCustomEntry_Key() + { + return (EAttribute)customEntryEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getCustomEntry_Value() + { + return (EAttribute)customEntryEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + @Override + public EClass getConfigReference() + { + return configReferenceEClass; + } + + /** + * + * + * @generated + */ + @Override + public EReference getConfigReference_Config() + { + return (EReference)configReferenceEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EClass getConfig() + { + return configEClass; + } + + /** + * + * + * @generated + */ + @Override + public EClass getScopeSpecification() + { + return scopeSpecificationEClass; + } + + /** + * + * + * @generated + */ + @Override + public EReference getScopeSpecification_Scopes() + { + return (EReference)scopeSpecificationEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EClass getTypeScope() + { + return typeScopeEClass; + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getTypeScope_SetsNew() + { + return (EAttribute)typeScopeEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getTypeScope_SetsSum() + { + return (EAttribute)typeScopeEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + @Override + public EReference getTypeScope_Number() + { + return (EReference)typeScopeEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + @Override + public EClass getClassTypeScope() + { + return classTypeScopeEClass; + } + + /** + * + * + * @generated + */ + @Override + public EReference getClassTypeScope_Type() + { + return (EReference)classTypeScopeEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EClass getObjectTypeScope() + { + return objectTypeScopeEClass; + } + + /** + * + * + * @generated + */ + @Override + public EReference getObjectTypeScope_Type() + { + return (EReference)objectTypeScopeEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EClass getIntegerTypeScope() + { + return integerTypeScopeEClass; + } + + /** + * + * + * @generated + */ + @Override + public EReference getIntegerTypeScope_Type() + { + return (EReference)integerTypeScopeEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EClass getRealTypeScope() + { + return realTypeScopeEClass; + } + + /** + * + * + * @generated + */ + @Override + public EReference getRealTypeScope_Type() + { + return (EReference)realTypeScopeEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EClass getStringTypeScope() + { + return stringTypeScopeEClass; + } + + /** + * + * + * @generated + */ + @Override + public EReference getStringTypeScope_Type() + { + return (EReference)stringTypeScopeEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EClass getTypeReference() + { + return typeReferenceEClass; + } + + /** + * + * + * @generated + */ + @Override + public EClass getClassReference() + { + return classReferenceEClass; + } + + /** + * + * + * @generated + */ + @Override + public EReference getClassReference_Element() + { + return (EReference)classReferenceEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EClass getObjectReference() + { + return objectReferenceEClass; + } + + /** + * + * + * @generated + */ + @Override + public EClass getIntegerReference() + { + return integerReferenceEClass; + } + + /** + * + * + * @generated + */ + @Override + public EClass getRealReference() + { + return realReferenceEClass; + } + + /** + * + * + * @generated + */ + @Override + public EClass getStringReference() + { + return stringReferenceEClass; + } + + /** + * + * + * @generated + */ + @Override + public EClass getNumberSpecification() + { + return numberSpecificationEClass; + } + + /** + * + * + * @generated + */ + @Override + public EClass getExactNumber() + { + return exactNumberEClass; + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getExactNumber_ExactNumber() + { + return (EAttribute)exactNumberEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getExactNumber_ExactUnlimited() + { + return (EAttribute)exactNumberEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + @Override + public EClass getIntervallNumber() + { + return intervallNumberEClass; + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getIntervallNumber_Min() + { + return (EAttribute)intervallNumberEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getIntervallNumber_MaxNumber() + { + return (EAttribute)intervallNumberEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getIntervallNumber_MaxUnlimited() + { + return (EAttribute)intervallNumberEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + @Override + public EClass getIntEnumberation() + { + return intEnumberationEClass; + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getIntEnumberation_Entry() + { + return (EAttribute)intEnumberationEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EClass getRealEnumeration() + { + return realEnumerationEClass; + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getRealEnumeration_Entry() + { + return (EAttribute)realEnumerationEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EClass getStringEnumeration() + { + return stringEnumerationEClass; + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getStringEnumeration_Entry() + { + return (EAttribute)stringEnumerationEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EClass getScopeDeclaration() + { + return scopeDeclarationEClass; + } + + /** + * + * + * @generated + */ + @Override + public EReference getScopeDeclaration_Specification() + { + return (EReference)scopeDeclarationEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EClass getScopeReference() + { + return scopeReferenceEClass; + } + + /** + * + * + * @generated + */ + @Override + public EReference getScopeReference_Referred() + { + return (EReference)scopeReferenceEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EClass getScope() + { + return scopeEClass; + } + + /** + * + * + * @generated + */ + @Override + public EClass getTask() + { + return taskEClass; + } + + /** + * + * + * @generated + */ + @Override + public EClass getGenerationTask() + { + return generationTaskEClass; + } + + /** + * + * + * @generated + */ + @Override + public EReference getGenerationTask_Metamodel() + { + return (EReference)generationTaskEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EReference getGenerationTask_PartialModel() + { + return (EReference)generationTaskEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + @Override + public EReference getGenerationTask_Patterns() + { + return (EReference)generationTaskEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + @Override + public EReference getGenerationTask_Objectives() + { + return (EReference)generationTaskEClass.getEStructuralFeatures().get(3); + } + + /** + * + * + * @generated + */ + @Override + public EReference getGenerationTask_Scope() + { + return (EReference)generationTaskEClass.getEStructuralFeatures().get(4); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getGenerationTask_NumberSpecified() + { + return (EAttribute)generationTaskEClass.getEStructuralFeatures().get(5); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getGenerationTask_Number() + { + return (EAttribute)generationTaskEClass.getEStructuralFeatures().get(6); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getGenerationTask_RunSpecified() + { + return (EAttribute)generationTaskEClass.getEStructuralFeatures().get(7); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getGenerationTask_Runs() + { + return (EAttribute)generationTaskEClass.getEStructuralFeatures().get(8); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getGenerationTask_Solver() + { + return (EAttribute)generationTaskEClass.getEStructuralFeatures().get(9); + } + + /** + * + * + * @generated + */ + @Override + public EReference getGenerationTask_Config() + { + return (EReference)generationTaskEClass.getEStructuralFeatures().get(10); + } + + /** + * + * + * @generated + */ + @Override + public EReference getGenerationTask_DebugFolder() + { + return (EReference)generationTaskEClass.getEStructuralFeatures().get(11); + } + + /** + * + * + * @generated + */ + @Override + public EReference getGenerationTask_TargetLogFile() + { + return (EReference)generationTaskEClass.getEStructuralFeatures().get(12); + } + + /** + * + * + * @generated + */ + @Override + public EReference getGenerationTask_TargetStatisticsFile() + { + return (EReference)generationTaskEClass.getEStructuralFeatures().get(13); + } + + /** + * + * + * @generated + */ + @Override + public EReference getGenerationTask_TagetFolder() + { + return (EReference)generationTaskEClass.getEStructuralFeatures().get(14); + } + + /** + * + * + * @generated + */ + @Override + public EClass getIntegerScope() + { + return integerScopeEClass; + } + + /** + * + * + * @generated + */ + @Override + public EClass getRealScope() + { + return realScopeEClass; + } + + /** + * + * + * @generated + */ + @Override + public EClass getStringScope() + { + return stringScopeEClass; + } + + /** + * + * + * @generated + */ + @Override + public EEnum getOptimizationDirection() + { + return optimizationDirectionEEnum; + } + + /** + * + * + * @generated + */ + @Override + public EEnum getComparisonOperator() + { + return comparisonOperatorEEnum; + } + + /** + * + * + * @generated + */ + @Override + public EEnum getDocumentLevelSpecification() + { + return documentLevelSpecificationEEnum; + } + + /** + * + * + * @generated + */ + @Override + public EEnum getSolver() + { + return solverEEnum; + } + + /** + * + * + * @generated + */ + @Override + public ApplicationConfigurationFactory getApplicationConfigurationFactory() + { + return (ApplicationConfigurationFactory)getEFactoryInstance(); + } + + /** + * + * + * @generated + */ + private boolean isCreated = false; + + /** + * Creates the meta-model objects for the package. This method is + * guarded to have no affect on any invocation but its first. + * + * + * @generated + */ + public void createPackageContents() + { + if (isCreated) return; + isCreated = true; + + // Create classes and their features + configurationScriptEClass = createEClass(CONFIGURATION_SCRIPT); + createEReference(configurationScriptEClass, CONFIGURATION_SCRIPT__IMPORTS); + createEReference(configurationScriptEClass, CONFIGURATION_SCRIPT__COMMANDS); + + commandEClass = createEClass(COMMAND); + + importEClass = createEClass(IMPORT); + + ePackageImportEClass = createEClass(EPACKAGE_IMPORT); + createEReference(ePackageImportEClass, EPACKAGE_IMPORT__IMPORTED_PACKAGE); + + viatraImportEClass = createEClass(VIATRA_IMPORT); + createEReference(viatraImportEClass, VIATRA_IMPORT__IMPORTED_VIATRA); + + cftImportEClass = createEClass(CFT_IMPORT); + createEReference(cftImportEClass, CFT_IMPORT__IMPORTED_CFT); + + declarationEClass = createEClass(DECLARATION); + createEAttribute(declarationEClass, DECLARATION__NAME); + + fileSpecificationEClass = createEClass(FILE_SPECIFICATION); + createEAttribute(fileSpecificationEClass, FILE_SPECIFICATION__PATH); + + fileDeclarationEClass = createEClass(FILE_DECLARATION); + createEReference(fileDeclarationEClass, FILE_DECLARATION__SPECIFICATION); + + fileReferenceEClass = createEClass(FILE_REFERENCE); + createEReference(fileReferenceEClass, FILE_REFERENCE__REFERRED); + + fileEClass = createEClass(FILE); + + metamodelSpecificationEClass = createEClass(METAMODEL_SPECIFICATION); + createEReference(metamodelSpecificationEClass, METAMODEL_SPECIFICATION__ENTRIES); + + metamodelEntryEClass = createEClass(METAMODEL_ENTRY); + createEReference(metamodelEntryEClass, METAMODEL_ENTRY__PACKAGE); + + allPackageEntryEClass = createEClass(ALL_PACKAGE_ENTRY); + createEReference(allPackageEntryEClass, ALL_PACKAGE_ENTRY__EXCLUSION); + + metamodelElementEClass = createEClass(METAMODEL_ELEMENT); + createEReference(metamodelElementEClass, METAMODEL_ELEMENT__CLASSIFIER); + createEReference(metamodelElementEClass, METAMODEL_ELEMENT__FEATURE); + + metamodelDeclarationEClass = createEClass(METAMODEL_DECLARATION); + createEReference(metamodelDeclarationEClass, METAMODEL_DECLARATION__SPECIFICATION); + + metamodelReferenceEClass = createEClass(METAMODEL_REFERENCE); + createEReference(metamodelReferenceEClass, METAMODEL_REFERENCE__REFERRED); + + metamodelEClass = createEClass(METAMODEL); + + partialModelSpecificationEClass = createEClass(PARTIAL_MODEL_SPECIFICATION); + createEReference(partialModelSpecificationEClass, PARTIAL_MODEL_SPECIFICATION__ENTRY); + + partialModelEntryEClass = createEClass(PARTIAL_MODEL_ENTRY); + createEReference(partialModelEntryEClass, PARTIAL_MODEL_ENTRY__PATH); + + modelEntryEClass = createEClass(MODEL_ENTRY); + + folderEntryEClass = createEClass(FOLDER_ENTRY); + createEReference(folderEntryEClass, FOLDER_ENTRY__EXCLUSION); + + partialModelDeclarationEClass = createEClass(PARTIAL_MODEL_DECLARATION); + createEReference(partialModelDeclarationEClass, PARTIAL_MODEL_DECLARATION__SPECIFICATION); + + partialModelReferenceEClass = createEClass(PARTIAL_MODEL_REFERENCE); + createEReference(partialModelReferenceEClass, PARTIAL_MODEL_REFERENCE__REFERRED); + + partialModelEClass = createEClass(PARTIAL_MODEL); + + patternSpecificationEClass = createEClass(PATTERN_SPECIFICATION); + createEReference(patternSpecificationEClass, PATTERN_SPECIFICATION__ENTRIES); + + patternEntryEClass = createEClass(PATTERN_ENTRY); + createEReference(patternEntryEClass, PATTERN_ENTRY__PACKAGE); + + allPatternEntryEClass = createEClass(ALL_PATTERN_ENTRY); + createEReference(allPatternEntryEClass, ALL_PATTERN_ENTRY__EXCLUSUION); + + patternElementEClass = createEClass(PATTERN_ELEMENT); + createEReference(patternElementEClass, PATTERN_ELEMENT__PATTERN); + + graphPatternDeclarationEClass = createEClass(GRAPH_PATTERN_DECLARATION); + createEReference(graphPatternDeclarationEClass, GRAPH_PATTERN_DECLARATION__SPECIFICATION); + + graphPatternReferenceEClass = createEClass(GRAPH_PATTERN_REFERENCE); + createEReference(graphPatternReferenceEClass, GRAPH_PATTERN_REFERENCE__REFERRED); + + graphPatternEClass = createEClass(GRAPH_PATTERN); + + objectiveSpecificationEClass = createEClass(OBJECTIVE_SPECIFICATION); + createEReference(objectiveSpecificationEClass, OBJECTIVE_SPECIFICATION__ENTRIES); + + objectiveEntryEClass = createEClass(OBJECTIVE_ENTRY); + createEReference(objectiveEntryEClass, OBJECTIVE_ENTRY__FUNCTION); + + optimizationEntryEClass = createEClass(OPTIMIZATION_ENTRY); + createEAttribute(optimizationEntryEClass, OPTIMIZATION_ENTRY__DIRECTION); + + thresholdEntryEClass = createEClass(THRESHOLD_ENTRY); + createEAttribute(thresholdEntryEClass, THRESHOLD_ENTRY__OPERATOR); + createEAttribute(thresholdEntryEClass, THRESHOLD_ENTRY__THRESHOLD); + + objectiveFunctionEClass = createEClass(OBJECTIVE_FUNCTION); + + reliabiltiyFunctionEClass = createEClass(RELIABILTIY_FUNCTION); + createEReference(reliabiltiyFunctionEClass, RELIABILTIY_FUNCTION__PACKAGE); + createEReference(reliabiltiyFunctionEClass, RELIABILTIY_FUNCTION__TRANSFORMATION); + + objectiveDeclarationEClass = createEClass(OBJECTIVE_DECLARATION); + createEReference(objectiveDeclarationEClass, OBJECTIVE_DECLARATION__SPECIFICATION); + + objectiveReferenceEClass = createEClass(OBJECTIVE_REFERENCE); + createEReference(objectiveReferenceEClass, OBJECTIVE_REFERENCE__REFERRED); + + objectiveEClass = createEClass(OBJECTIVE); + + configSpecificationEClass = createEClass(CONFIG_SPECIFICATION); + createEReference(configSpecificationEClass, CONFIG_SPECIFICATION__ENTRIES); + + configDeclarationEClass = createEClass(CONFIG_DECLARATION); + createEReference(configDeclarationEClass, CONFIG_DECLARATION__SPECIFICATION); + + configEntryEClass = createEClass(CONFIG_ENTRY); + + documentationEntryEClass = createEClass(DOCUMENTATION_ENTRY); + createEAttribute(documentationEntryEClass, DOCUMENTATION_ENTRY__LEVEL); + + runtimeEntryEClass = createEClass(RUNTIME_ENTRY); + createEAttribute(runtimeEntryEClass, RUNTIME_ENTRY__MILLISEC_LIMIT); + + memoryEntryEClass = createEClass(MEMORY_ENTRY); + createEAttribute(memoryEntryEClass, MEMORY_ENTRY__MEGABYTE_LIMIT); + + customEntryEClass = createEClass(CUSTOM_ENTRY); + createEAttribute(customEntryEClass, CUSTOM_ENTRY__KEY); + createEAttribute(customEntryEClass, CUSTOM_ENTRY__VALUE); + + configReferenceEClass = createEClass(CONFIG_REFERENCE); + createEReference(configReferenceEClass, CONFIG_REFERENCE__CONFIG); + + configEClass = createEClass(CONFIG); + + scopeSpecificationEClass = createEClass(SCOPE_SPECIFICATION); + createEReference(scopeSpecificationEClass, SCOPE_SPECIFICATION__SCOPES); + + typeScopeEClass = createEClass(TYPE_SCOPE); + createEAttribute(typeScopeEClass, TYPE_SCOPE__SETS_NEW); + createEAttribute(typeScopeEClass, TYPE_SCOPE__SETS_SUM); + createEReference(typeScopeEClass, TYPE_SCOPE__NUMBER); + + classTypeScopeEClass = createEClass(CLASS_TYPE_SCOPE); + createEReference(classTypeScopeEClass, CLASS_TYPE_SCOPE__TYPE); + + objectTypeScopeEClass = createEClass(OBJECT_TYPE_SCOPE); + createEReference(objectTypeScopeEClass, OBJECT_TYPE_SCOPE__TYPE); + + integerTypeScopeEClass = createEClass(INTEGER_TYPE_SCOPE); + createEReference(integerTypeScopeEClass, INTEGER_TYPE_SCOPE__TYPE); + + realTypeScopeEClass = createEClass(REAL_TYPE_SCOPE); + createEReference(realTypeScopeEClass, REAL_TYPE_SCOPE__TYPE); + + stringTypeScopeEClass = createEClass(STRING_TYPE_SCOPE); + createEReference(stringTypeScopeEClass, STRING_TYPE_SCOPE__TYPE); + + typeReferenceEClass = createEClass(TYPE_REFERENCE); + + classReferenceEClass = createEClass(CLASS_REFERENCE); + createEReference(classReferenceEClass, CLASS_REFERENCE__ELEMENT); + + objectReferenceEClass = createEClass(OBJECT_REFERENCE); + + integerReferenceEClass = createEClass(INTEGER_REFERENCE); + + realReferenceEClass = createEClass(REAL_REFERENCE); + + stringReferenceEClass = createEClass(STRING_REFERENCE); + + numberSpecificationEClass = createEClass(NUMBER_SPECIFICATION); + + exactNumberEClass = createEClass(EXACT_NUMBER); + createEAttribute(exactNumberEClass, EXACT_NUMBER__EXACT_NUMBER); + createEAttribute(exactNumberEClass, EXACT_NUMBER__EXACT_UNLIMITED); + + intervallNumberEClass = createEClass(INTERVALL_NUMBER); + createEAttribute(intervallNumberEClass, INTERVALL_NUMBER__MIN); + createEAttribute(intervallNumberEClass, INTERVALL_NUMBER__MAX_NUMBER); + createEAttribute(intervallNumberEClass, INTERVALL_NUMBER__MAX_UNLIMITED); + + intEnumberationEClass = createEClass(INT_ENUMBERATION); + createEAttribute(intEnumberationEClass, INT_ENUMBERATION__ENTRY); + + realEnumerationEClass = createEClass(REAL_ENUMERATION); + createEAttribute(realEnumerationEClass, REAL_ENUMERATION__ENTRY); + + stringEnumerationEClass = createEClass(STRING_ENUMERATION); + createEAttribute(stringEnumerationEClass, STRING_ENUMERATION__ENTRY); + + scopeDeclarationEClass = createEClass(SCOPE_DECLARATION); + createEReference(scopeDeclarationEClass, SCOPE_DECLARATION__SPECIFICATION); + + scopeReferenceEClass = createEClass(SCOPE_REFERENCE); + createEReference(scopeReferenceEClass, SCOPE_REFERENCE__REFERRED); + + scopeEClass = createEClass(SCOPE); + + taskEClass = createEClass(TASK); + + generationTaskEClass = createEClass(GENERATION_TASK); + createEReference(generationTaskEClass, GENERATION_TASK__METAMODEL); + createEReference(generationTaskEClass, GENERATION_TASK__PARTIAL_MODEL); + createEReference(generationTaskEClass, GENERATION_TASK__PATTERNS); + createEReference(generationTaskEClass, GENERATION_TASK__OBJECTIVES); + createEReference(generationTaskEClass, GENERATION_TASK__SCOPE); + createEAttribute(generationTaskEClass, GENERATION_TASK__NUMBER_SPECIFIED); + createEAttribute(generationTaskEClass, GENERATION_TASK__NUMBER); + createEAttribute(generationTaskEClass, GENERATION_TASK__RUN_SPECIFIED); + createEAttribute(generationTaskEClass, GENERATION_TASK__RUNS); + createEAttribute(generationTaskEClass, GENERATION_TASK__SOLVER); + createEReference(generationTaskEClass, GENERATION_TASK__CONFIG); + createEReference(generationTaskEClass, GENERATION_TASK__DEBUG_FOLDER); + createEReference(generationTaskEClass, GENERATION_TASK__TARGET_LOG_FILE); + createEReference(generationTaskEClass, GENERATION_TASK__TARGET_STATISTICS_FILE); + createEReference(generationTaskEClass, GENERATION_TASK__TAGET_FOLDER); + + integerScopeEClass = createEClass(INTEGER_SCOPE); + + realScopeEClass = createEClass(REAL_SCOPE); + + stringScopeEClass = createEClass(STRING_SCOPE); + + // Create enums + optimizationDirectionEEnum = createEEnum(OPTIMIZATION_DIRECTION); + comparisonOperatorEEnum = createEEnum(COMPARISON_OPERATOR); + documentLevelSpecificationEEnum = createEEnum(DOCUMENT_LEVEL_SPECIFICATION); + solverEEnum = createEEnum(SOLVER); + } + + /** + * + * + * @generated + */ + private boolean isInitialized = false; + + /** + * Complete the initialization of the package and its meta-model. This + * method is guarded to have no affect on any invocation but its first. + * + * + * @generated + */ + public void initializePackageContents() + { + if (isInitialized) return; + isInitialized = true; + + // Initialize package + setName(eNAME); + setNsPrefix(eNS_PREFIX); + setNsURI(eNS_URI); + + // Obtain other dependent packages + EcorePackage theEcorePackage = (EcorePackage)EPackage.Registry.INSTANCE.getEPackage(EcorePackage.eNS_URI); + PatternLanguagePackage thePatternLanguagePackage = (PatternLanguagePackage)EPackage.Registry.INSTANCE.getEPackage(PatternLanguagePackage.eNS_URI); + CftLanguagePackage theCftLanguagePackage = (CftLanguagePackage)EPackage.Registry.INSTANCE.getEPackage(CftLanguagePackage.eNS_URI); + + // Create type parameters + + // Set bounds for type parameters + + // Add supertypes to classes + ePackageImportEClass.getESuperTypes().add(this.getImport()); + viatraImportEClass.getESuperTypes().add(this.getImport()); + cftImportEClass.getESuperTypes().add(this.getImport()); + declarationEClass.getESuperTypes().add(this.getCommand()); + fileSpecificationEClass.getESuperTypes().add(this.getFile()); + fileDeclarationEClass.getESuperTypes().add(this.getDeclaration()); + fileReferenceEClass.getESuperTypes().add(this.getFile()); + metamodelSpecificationEClass.getESuperTypes().add(this.getMetamodel()); + allPackageEntryEClass.getESuperTypes().add(this.getMetamodelEntry()); + metamodelElementEClass.getESuperTypes().add(this.getMetamodelEntry()); + metamodelDeclarationEClass.getESuperTypes().add(this.getDeclaration()); + metamodelReferenceEClass.getESuperTypes().add(this.getMetamodel()); + partialModelSpecificationEClass.getESuperTypes().add(this.getPartialModel()); + modelEntryEClass.getESuperTypes().add(this.getPartialModelEntry()); + folderEntryEClass.getESuperTypes().add(this.getPartialModelEntry()); + partialModelDeclarationEClass.getESuperTypes().add(this.getDeclaration()); + partialModelReferenceEClass.getESuperTypes().add(this.getPartialModel()); + patternSpecificationEClass.getESuperTypes().add(this.getGraphPattern()); + allPatternEntryEClass.getESuperTypes().add(this.getPatternEntry()); + patternElementEClass.getESuperTypes().add(this.getPatternEntry()); + graphPatternDeclarationEClass.getESuperTypes().add(this.getDeclaration()); + graphPatternReferenceEClass.getESuperTypes().add(this.getGraphPattern()); + objectiveSpecificationEClass.getESuperTypes().add(this.getObjective()); + optimizationEntryEClass.getESuperTypes().add(this.getObjectiveEntry()); + thresholdEntryEClass.getESuperTypes().add(this.getObjectiveEntry()); + reliabiltiyFunctionEClass.getESuperTypes().add(this.getObjectiveFunction()); + objectiveDeclarationEClass.getESuperTypes().add(this.getDeclaration()); + objectiveReferenceEClass.getESuperTypes().add(this.getObjective()); + configSpecificationEClass.getESuperTypes().add(this.getConfig()); + configDeclarationEClass.getESuperTypes().add(this.getDeclaration()); + documentationEntryEClass.getESuperTypes().add(this.getConfigEntry()); + runtimeEntryEClass.getESuperTypes().add(this.getConfigEntry()); + memoryEntryEClass.getESuperTypes().add(this.getConfigEntry()); + customEntryEClass.getESuperTypes().add(this.getConfigEntry()); + configReferenceEClass.getESuperTypes().add(this.getConfig()); + scopeSpecificationEClass.getESuperTypes().add(this.getScope()); + classTypeScopeEClass.getESuperTypes().add(this.getTypeScope()); + objectTypeScopeEClass.getESuperTypes().add(this.getTypeScope()); + integerTypeScopeEClass.getESuperTypes().add(this.getTypeScope()); + realTypeScopeEClass.getESuperTypes().add(this.getTypeScope()); + stringTypeScopeEClass.getESuperTypes().add(this.getTypeScope()); + classReferenceEClass.getESuperTypes().add(this.getTypeReference()); + objectReferenceEClass.getESuperTypes().add(this.getTypeReference()); + integerReferenceEClass.getESuperTypes().add(this.getTypeReference()); + realReferenceEClass.getESuperTypes().add(this.getTypeReference()); + stringReferenceEClass.getESuperTypes().add(this.getTypeReference()); + exactNumberEClass.getESuperTypes().add(this.getNumberSpecification()); + intervallNumberEClass.getESuperTypes().add(this.getNumberSpecification()); + intEnumberationEClass.getESuperTypes().add(this.getNumberSpecification()); + realEnumerationEClass.getESuperTypes().add(this.getNumberSpecification()); + stringEnumerationEClass.getESuperTypes().add(this.getNumberSpecification()); + scopeDeclarationEClass.getESuperTypes().add(this.getDeclaration()); + scopeReferenceEClass.getESuperTypes().add(this.getScope()); + taskEClass.getESuperTypes().add(this.getCommand()); + generationTaskEClass.getESuperTypes().add(this.getTask()); + integerScopeEClass.getESuperTypes().add(this.getIntegerReference()); + realScopeEClass.getESuperTypes().add(this.getRealReference()); + stringScopeEClass.getESuperTypes().add(this.getStringReference()); + + // Initialize classes and features; add operations and parameters + initEClass(configurationScriptEClass, ConfigurationScript.class, "ConfigurationScript", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getConfigurationScript_Imports(), this.getImport(), null, "imports", null, 0, -1, ConfigurationScript.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getConfigurationScript_Commands(), this.getCommand(), null, "commands", null, 0, -1, ConfigurationScript.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(commandEClass, Command.class, "Command", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(importEClass, Import.class, "Import", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(ePackageImportEClass, EPackageImport.class, "EPackageImport", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getEPackageImport_ImportedPackage(), theEcorePackage.getEPackage(), null, "importedPackage", null, 0, 1, EPackageImport.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(viatraImportEClass, ViatraImport.class, "ViatraImport", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getViatraImport_ImportedViatra(), thePatternLanguagePackage.getPatternModel(), null, "importedViatra", null, 0, 1, ViatraImport.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(cftImportEClass, CftImport.class, "CftImport", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getCftImport_ImportedCft(), theCftLanguagePackage.getCftModel(), null, "importedCft", null, 0, 1, CftImport.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(declarationEClass, Declaration.class, "Declaration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getDeclaration_Name(), theEcorePackage.getEString(), "name", null, 0, 1, Declaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(fileSpecificationEClass, FileSpecification.class, "FileSpecification", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getFileSpecification_Path(), theEcorePackage.getEString(), "path", null, 0, 1, FileSpecification.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(fileDeclarationEClass, FileDeclaration.class, "FileDeclaration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getFileDeclaration_Specification(), this.getFileSpecification(), null, "specification", null, 0, 1, FileDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(fileReferenceEClass, FileReference.class, "FileReference", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getFileReference_Referred(), this.getFileDeclaration(), null, "referred", null, 0, 1, FileReference.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(fileEClass, File.class, "File", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(metamodelSpecificationEClass, MetamodelSpecification.class, "MetamodelSpecification", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getMetamodelSpecification_Entries(), this.getMetamodelEntry(), null, "entries", null, 0, -1, MetamodelSpecification.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(metamodelEntryEClass, MetamodelEntry.class, "MetamodelEntry", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getMetamodelEntry_Package(), theEcorePackage.getEPackage(), null, "package", null, 0, 1, MetamodelEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(allPackageEntryEClass, AllPackageEntry.class, "AllPackageEntry", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getAllPackageEntry_Exclusion(), this.getMetamodelElement(), null, "exclusion", null, 0, -1, AllPackageEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(metamodelElementEClass, MetamodelElement.class, "MetamodelElement", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getMetamodelElement_Classifier(), theEcorePackage.getEClassifier(), null, "classifier", null, 0, 1, MetamodelElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getMetamodelElement_Feature(), theEcorePackage.getENamedElement(), null, "feature", null, 0, 1, MetamodelElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(metamodelDeclarationEClass, MetamodelDeclaration.class, "MetamodelDeclaration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getMetamodelDeclaration_Specification(), this.getMetamodelSpecification(), null, "specification", null, 0, 1, MetamodelDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(metamodelReferenceEClass, MetamodelReference.class, "MetamodelReference", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getMetamodelReference_Referred(), this.getMetamodelDeclaration(), null, "referred", null, 0, 1, MetamodelReference.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(metamodelEClass, Metamodel.class, "Metamodel", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(partialModelSpecificationEClass, PartialModelSpecification.class, "PartialModelSpecification", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getPartialModelSpecification_Entry(), this.getPartialModelEntry(), null, "entry", null, 0, -1, PartialModelSpecification.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(partialModelEntryEClass, PartialModelEntry.class, "PartialModelEntry", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getPartialModelEntry_Path(), this.getFile(), null, "path", null, 0, 1, PartialModelEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(modelEntryEClass, ModelEntry.class, "ModelEntry", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(folderEntryEClass, FolderEntry.class, "FolderEntry", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getFolderEntry_Exclusion(), this.getModelEntry(), null, "exclusion", null, 0, -1, FolderEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(partialModelDeclarationEClass, PartialModelDeclaration.class, "PartialModelDeclaration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getPartialModelDeclaration_Specification(), this.getPartialModelSpecification(), null, "specification", null, 0, 1, PartialModelDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(partialModelReferenceEClass, PartialModelReference.class, "PartialModelReference", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getPartialModelReference_Referred(), this.getPartialModelDeclaration(), null, "referred", null, 0, 1, PartialModelReference.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(partialModelEClass, PartialModel.class, "PartialModel", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(patternSpecificationEClass, PatternSpecification.class, "PatternSpecification", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getPatternSpecification_Entries(), this.getPatternEntry(), null, "entries", null, 0, -1, PatternSpecification.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(patternEntryEClass, PatternEntry.class, "PatternEntry", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getPatternEntry_Package(), thePatternLanguagePackage.getPatternModel(), null, "package", null, 0, 1, PatternEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(allPatternEntryEClass, AllPatternEntry.class, "AllPatternEntry", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getAllPatternEntry_Exclusuion(), this.getPatternElement(), null, "exclusuion", null, 0, -1, AllPatternEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(patternElementEClass, PatternElement.class, "PatternElement", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getPatternElement_Pattern(), thePatternLanguagePackage.getPattern(), null, "pattern", null, 0, 1, PatternElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(graphPatternDeclarationEClass, GraphPatternDeclaration.class, "GraphPatternDeclaration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getGraphPatternDeclaration_Specification(), this.getPatternSpecification(), null, "specification", null, 0, 1, GraphPatternDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(graphPatternReferenceEClass, GraphPatternReference.class, "GraphPatternReference", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getGraphPatternReference_Referred(), this.getGraphPatternDeclaration(), null, "referred", null, 0, 1, GraphPatternReference.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(graphPatternEClass, GraphPattern.class, "GraphPattern", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(objectiveSpecificationEClass, ObjectiveSpecification.class, "ObjectiveSpecification", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getObjectiveSpecification_Entries(), this.getObjectiveEntry(), null, "entries", null, 0, -1, ObjectiveSpecification.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(objectiveEntryEClass, ObjectiveEntry.class, "ObjectiveEntry", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getObjectiveEntry_Function(), this.getObjectiveFunction(), null, "function", null, 0, 1, ObjectiveEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(optimizationEntryEClass, OptimizationEntry.class, "OptimizationEntry", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getOptimizationEntry_Direction(), this.getOptimizationDirection(), "direction", null, 0, 1, OptimizationEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(thresholdEntryEClass, ThresholdEntry.class, "ThresholdEntry", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getThresholdEntry_Operator(), this.getComparisonOperator(), "operator", null, 0, 1, ThresholdEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getThresholdEntry_Threshold(), theEcorePackage.getEBigDecimal(), "threshold", null, 0, 1, ThresholdEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(objectiveFunctionEClass, ObjectiveFunction.class, "ObjectiveFunction", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(reliabiltiyFunctionEClass, ReliabiltiyFunction.class, "ReliabiltiyFunction", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getReliabiltiyFunction_Package(), theCftLanguagePackage.getCftModel(), null, "package", null, 0, 1, ReliabiltiyFunction.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getReliabiltiyFunction_Transformation(), theCftLanguagePackage.getTransformationDefinition(), null, "transformation", null, 0, 1, ReliabiltiyFunction.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(objectiveDeclarationEClass, ObjectiveDeclaration.class, "ObjectiveDeclaration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getObjectiveDeclaration_Specification(), this.getObjectiveSpecification(), null, "specification", null, 0, 1, ObjectiveDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(objectiveReferenceEClass, ObjectiveReference.class, "ObjectiveReference", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getObjectiveReference_Referred(), this.getObjectiveDeclaration(), null, "referred", null, 0, 1, ObjectiveReference.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(objectiveEClass, Objective.class, "Objective", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(configSpecificationEClass, ConfigSpecification.class, "ConfigSpecification", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getConfigSpecification_Entries(), this.getConfigEntry(), null, "entries", null, 0, -1, ConfigSpecification.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(configDeclarationEClass, ConfigDeclaration.class, "ConfigDeclaration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getConfigDeclaration_Specification(), this.getConfigSpecification(), null, "specification", null, 0, 1, ConfigDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(configEntryEClass, ConfigEntry.class, "ConfigEntry", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(documentationEntryEClass, DocumentationEntry.class, "DocumentationEntry", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getDocumentationEntry_Level(), this.getDocumentLevelSpecification(), "level", null, 0, 1, DocumentationEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(runtimeEntryEClass, RuntimeEntry.class, "RuntimeEntry", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getRuntimeEntry_MillisecLimit(), theEcorePackage.getEInt(), "millisecLimit", null, 0, 1, RuntimeEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(memoryEntryEClass, MemoryEntry.class, "MemoryEntry", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getMemoryEntry_MegabyteLimit(), theEcorePackage.getEInt(), "megabyteLimit", null, 0, 1, MemoryEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(customEntryEClass, CustomEntry.class, "CustomEntry", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getCustomEntry_Key(), theEcorePackage.getEString(), "key", null, 0, 1, CustomEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getCustomEntry_Value(), theEcorePackage.getEString(), "value", null, 0, 1, CustomEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(configReferenceEClass, ConfigReference.class, "ConfigReference", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getConfigReference_Config(), this.getConfigDeclaration(), null, "config", null, 0, 1, ConfigReference.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(configEClass, Config.class, "Config", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(scopeSpecificationEClass, ScopeSpecification.class, "ScopeSpecification", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getScopeSpecification_Scopes(), this.getTypeScope(), null, "scopes", null, 0, -1, ScopeSpecification.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(typeScopeEClass, TypeScope.class, "TypeScope", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getTypeScope_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); + initEReference(getTypeScope_Number(), this.getNumberSpecification(), null, "number", null, 0, 1, TypeScope.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(classTypeScopeEClass, ClassTypeScope.class, "ClassTypeScope", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getClassTypeScope_Type(), this.getClassReference(), null, "type", null, 0, 1, ClassTypeScope.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(objectTypeScopeEClass, ObjectTypeScope.class, "ObjectTypeScope", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getObjectTypeScope_Type(), this.getObjectReference(), null, "type", null, 0, 1, ObjectTypeScope.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(integerTypeScopeEClass, IntegerTypeScope.class, "IntegerTypeScope", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getIntegerTypeScope_Type(), this.getIntegerReference(), null, "type", null, 0, 1, IntegerTypeScope.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(realTypeScopeEClass, RealTypeScope.class, "RealTypeScope", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getRealTypeScope_Type(), this.getRealReference(), null, "type", null, 0, 1, RealTypeScope.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(stringTypeScopeEClass, StringTypeScope.class, "StringTypeScope", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getStringTypeScope_Type(), this.getStringReference(), null, "type", null, 0, 1, StringTypeScope.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(typeReferenceEClass, TypeReference.class, "TypeReference", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(classReferenceEClass, ClassReference.class, "ClassReference", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getClassReference_Element(), this.getMetamodelElement(), null, "element", null, 0, 1, ClassReference.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(objectReferenceEClass, ObjectReference.class, "ObjectReference", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(integerReferenceEClass, IntegerReference.class, "IntegerReference", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(realReferenceEClass, RealReference.class, "RealReference", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(stringReferenceEClass, StringReference.class, "StringReference", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(numberSpecificationEClass, NumberSpecification.class, "NumberSpecification", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(exactNumberEClass, ExactNumber.class, "ExactNumber", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getExactNumber_ExactNumber(), theEcorePackage.getEInt(), "exactNumber", null, 0, 1, ExactNumber.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getExactNumber_ExactUnlimited(), theEcorePackage.getEBoolean(), "exactUnlimited", null, 0, 1, ExactNumber.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(intervallNumberEClass, IntervallNumber.class, "IntervallNumber", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getIntervallNumber_Min(), theEcorePackage.getEInt(), "min", null, 0, 1, IntervallNumber.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getIntervallNumber_MaxNumber(), theEcorePackage.getEInt(), "maxNumber", null, 0, 1, IntervallNumber.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getIntervallNumber_MaxUnlimited(), theEcorePackage.getEBoolean(), "maxUnlimited", null, 0, 1, IntervallNumber.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(intEnumberationEClass, IntEnumberation.class, "IntEnumberation", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getIntEnumberation_Entry(), theEcorePackage.getEInt(), "entry", null, 0, -1, IntEnumberation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(realEnumerationEClass, RealEnumeration.class, "RealEnumeration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getRealEnumeration_Entry(), theEcorePackage.getEBigDecimal(), "entry", null, 0, -1, RealEnumeration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(stringEnumerationEClass, StringEnumeration.class, "StringEnumeration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getStringEnumeration_Entry(), theEcorePackage.getEString(), "entry", null, 0, -1, StringEnumeration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(scopeDeclarationEClass, ScopeDeclaration.class, "ScopeDeclaration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getScopeDeclaration_Specification(), this.getScopeSpecification(), null, "specification", null, 0, 1, ScopeDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(scopeReferenceEClass, ScopeReference.class, "ScopeReference", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getScopeReference_Referred(), this.getScopeDeclaration(), null, "referred", null, 0, 1, ScopeReference.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(scopeEClass, Scope.class, "Scope", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(taskEClass, Task.class, "Task", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(generationTaskEClass, GenerationTask.class, "GenerationTask", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getGenerationTask_Metamodel(), this.getMetamodel(), null, "metamodel", null, 0, 1, GenerationTask.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getGenerationTask_PartialModel(), this.getPartialModel(), null, "partialModel", null, 0, 1, GenerationTask.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getGenerationTask_Patterns(), this.getGraphPattern(), null, "patterns", null, 0, 1, GenerationTask.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getGenerationTask_Objectives(), this.getObjective(), null, "objectives", null, 0, 1, GenerationTask.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getGenerationTask_Scope(), this.getScope(), null, "scope", null, 0, 1, GenerationTask.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getGenerationTask_NumberSpecified(), theEcorePackage.getEBoolean(), "numberSpecified", null, 0, 1, GenerationTask.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getGenerationTask_Number(), theEcorePackage.getEInt(), "number", null, 0, 1, GenerationTask.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getGenerationTask_RunSpecified(), theEcorePackage.getEBoolean(), "runSpecified", null, 0, 1, GenerationTask.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getGenerationTask_Runs(), theEcorePackage.getEInt(), "runs", null, 0, 1, GenerationTask.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getGenerationTask_Solver(), this.getSolver(), "solver", null, 0, 1, GenerationTask.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getGenerationTask_Config(), this.getConfig(), null, "config", null, 0, 1, GenerationTask.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getGenerationTask_DebugFolder(), this.getFile(), null, "debugFolder", null, 0, 1, GenerationTask.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getGenerationTask_TargetLogFile(), this.getFile(), null, "targetLogFile", null, 0, 1, GenerationTask.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getGenerationTask_TargetStatisticsFile(), this.getFile(), null, "targetStatisticsFile", null, 0, 1, GenerationTask.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getGenerationTask_TagetFolder(), this.getFile(), null, "tagetFolder", null, 0, 1, GenerationTask.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(integerScopeEClass, IntegerScope.class, "IntegerScope", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(realScopeEClass, RealScope.class, "RealScope", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(stringScopeEClass, StringScope.class, "StringScope", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + // Initialize enums and add enum literals + initEEnum(optimizationDirectionEEnum, OptimizationDirection.class, "OptimizationDirection"); + addEEnumLiteral(optimizationDirectionEEnum, OptimizationDirection.MINIMIZE); + addEEnumLiteral(optimizationDirectionEEnum, OptimizationDirection.MAXIMIZE); + + initEEnum(comparisonOperatorEEnum, ComparisonOperator.class, "ComparisonOperator"); + addEEnumLiteral(comparisonOperatorEEnum, ComparisonOperator.LESS_EQUALS); + addEEnumLiteral(comparisonOperatorEEnum, ComparisonOperator.GREATER_EQUALS); + + initEEnum(documentLevelSpecificationEEnum, DocumentLevelSpecification.class, "DocumentLevelSpecification"); + addEEnumLiteral(documentLevelSpecificationEEnum, DocumentLevelSpecification.NONE); + addEEnumLiteral(documentLevelSpecificationEEnum, DocumentLevelSpecification.NORMAL); + addEEnumLiteral(documentLevelSpecificationEEnum, DocumentLevelSpecification.FULL); + + initEEnum(solverEEnum, Solver.class, "Solver"); + addEEnumLiteral(solverEEnum, Solver.SMT_SOLVER); + addEEnumLiteral(solverEEnum, Solver.ALLOY_SOLVER); + addEEnumLiteral(solverEEnum, Solver.VIATRA_SOLVER); + + // Create resource + createResource(eNS_URI); + } + +} //ApplicationConfigurationPackageImpl diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/CftImportImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/CftImportImpl.java new file mode 100644 index 00000000..35a0ecf1 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/CftImportImpl.java @@ -0,0 +1,176 @@ +/** + * generated by Xtext 2.16.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.CftImport; + +import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftModel; + +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 'Cft Import'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.CftImportImpl#getImportedCft Imported Cft}
  • + *
+ * + * @generated + */ +public class CftImportImpl extends ImportImpl implements CftImport +{ + /** + * The cached value of the '{@link #getImportedCft() Imported Cft}' reference. + * + * + * @see #getImportedCft() + * @generated + * @ordered + */ + protected CftModel importedCft; + + /** + * + * + * @generated + */ + protected CftImportImpl() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return ApplicationConfigurationPackage.Literals.CFT_IMPORT; + } + + /** + * + * + * @generated + */ + @Override + public CftModel getImportedCft() + { + if (importedCft != null && importedCft.eIsProxy()) + { + InternalEObject oldImportedCft = (InternalEObject)importedCft; + importedCft = (CftModel)eResolveProxy(oldImportedCft); + if (importedCft != oldImportedCft) + { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, ApplicationConfigurationPackage.CFT_IMPORT__IMPORTED_CFT, oldImportedCft, importedCft)); + } + } + return importedCft; + } + + /** + * + * + * @generated + */ + public CftModel basicGetImportedCft() + { + return importedCft; + } + + /** + * + * + * @generated + */ + @Override + public void setImportedCft(CftModel newImportedCft) + { + CftModel oldImportedCft = importedCft; + importedCft = newImportedCft; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.CFT_IMPORT__IMPORTED_CFT, oldImportedCft, importedCft)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case ApplicationConfigurationPackage.CFT_IMPORT__IMPORTED_CFT: + if (resolve) return getImportedCft(); + return basicGetImportedCft(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case ApplicationConfigurationPackage.CFT_IMPORT__IMPORTED_CFT: + setImportedCft((CftModel)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case ApplicationConfigurationPackage.CFT_IMPORT__IMPORTED_CFT: + setImportedCft((CftModel)null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case ApplicationConfigurationPackage.CFT_IMPORT__IMPORTED_CFT: + return importedCft != null; + } + return super.eIsSet(featureID); + } + +} //CftImportImpl 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 index d95d291d..c494d41d 100644 --- 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 @@ -1,194 +1,196 @@ -/** - * generated by Xtext 2.12.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 +/** + * generated by Xtext 2.16.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 + */ + @Override + 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 + */ + @Override + 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/ClassTypeScopeImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ClassTypeScopeImpl.java index 4eef1c02..6bcb3cc4 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ClassTypeScopeImpl.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ClassTypeScopeImpl.java @@ -1,194 +1,196 @@ -/** - * generated by Xtext 2.12.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.ClassTypeScope; - -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 Type Scope'. - * - *

- * The following features are implemented: - *

- *
    - *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ClassTypeScopeImpl#getType Type}
  • - *
- * - * @generated - */ -public class ClassTypeScopeImpl extends TypeScopeImpl implements ClassTypeScope -{ - /** - * The cached value of the '{@link #getType() Type}' containment reference. - * - * - * @see #getType() - * @generated - * @ordered - */ - protected ClassReference type; - - /** - * - * - * @generated - */ - protected ClassTypeScopeImpl() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return ApplicationConfigurationPackage.Literals.CLASS_TYPE_SCOPE; - } - - /** - * - * - * @generated - */ - public ClassReference getType() - { - return type; - } - - /** - * - * - * @generated - */ - public NotificationChain basicSetType(ClassReference newType, NotificationChain msgs) - { - ClassReference oldType = type; - type = newType; - if (eNotificationRequired()) - { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.CLASS_TYPE_SCOPE__TYPE, oldType, newType); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * - * - * @generated - */ - public void setType(ClassReference newType) - { - if (newType != type) - { - NotificationChain msgs = null; - if (type != null) - msgs = ((InternalEObject)type).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.CLASS_TYPE_SCOPE__TYPE, null, msgs); - if (newType != null) - msgs = ((InternalEObject)newType).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.CLASS_TYPE_SCOPE__TYPE, null, msgs); - msgs = basicSetType(newType, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.CLASS_TYPE_SCOPE__TYPE, newType, newType)); - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) - { - switch (featureID) - { - case ApplicationConfigurationPackage.CLASS_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.CLASS_TYPE_SCOPE__TYPE: - return getType(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case ApplicationConfigurationPackage.CLASS_TYPE_SCOPE__TYPE: - setType((ClassReference)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case ApplicationConfigurationPackage.CLASS_TYPE_SCOPE__TYPE: - setType((ClassReference)null); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case ApplicationConfigurationPackage.CLASS_TYPE_SCOPE__TYPE: - return type != null; - } - return super.eIsSet(featureID); - } - -} //ClassTypeScopeImpl +/** + * generated by Xtext 2.16.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.ClassTypeScope; + +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 Type Scope'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ClassTypeScopeImpl#getType Type}
  • + *
+ * + * @generated + */ +public class ClassTypeScopeImpl extends TypeScopeImpl implements ClassTypeScope +{ + /** + * The cached value of the '{@link #getType() Type}' containment reference. + * + * + * @see #getType() + * @generated + * @ordered + */ + protected ClassReference type; + + /** + * + * + * @generated + */ + protected ClassTypeScopeImpl() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return ApplicationConfigurationPackage.Literals.CLASS_TYPE_SCOPE; + } + + /** + * + * + * @generated + */ + @Override + public ClassReference getType() + { + return type; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetType(ClassReference newType, NotificationChain msgs) + { + ClassReference oldType = type; + type = newType; + if (eNotificationRequired()) + { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.CLASS_TYPE_SCOPE__TYPE, oldType, newType); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + @Override + public void setType(ClassReference newType) + { + if (newType != type) + { + NotificationChain msgs = null; + if (type != null) + msgs = ((InternalEObject)type).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.CLASS_TYPE_SCOPE__TYPE, null, msgs); + if (newType != null) + msgs = ((InternalEObject)newType).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.CLASS_TYPE_SCOPE__TYPE, null, msgs); + msgs = basicSetType(newType, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.CLASS_TYPE_SCOPE__TYPE, newType, newType)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) + { + switch (featureID) + { + case ApplicationConfigurationPackage.CLASS_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.CLASS_TYPE_SCOPE__TYPE: + return getType(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case ApplicationConfigurationPackage.CLASS_TYPE_SCOPE__TYPE: + setType((ClassReference)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case ApplicationConfigurationPackage.CLASS_TYPE_SCOPE__TYPE: + setType((ClassReference)null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case ApplicationConfigurationPackage.CLASS_TYPE_SCOPE__TYPE: + return type != null; + } + return super.eIsSet(featureID); + } + +} //ClassTypeScopeImpl diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/CommandImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/CommandImpl.java index c7912c0c..7548406e 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/CommandImpl.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/CommandImpl.java @@ -1,43 +1,43 @@ -/** - * generated by Xtext 2.12.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.Command; - -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; - -/** - * - * An implementation of the model object 'Command'. - * - * - * @generated - */ -public class CommandImpl extends MinimalEObjectImpl.Container implements Command -{ - /** - * - * - * @generated - */ - protected CommandImpl() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return ApplicationConfigurationPackage.Literals.COMMAND; - } - -} //CommandImpl +/** + * generated by Xtext 2.16.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.Command; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +/** + * + * An implementation of the model object 'Command'. + * + * + * @generated + */ +public class CommandImpl extends MinimalEObjectImpl.Container implements Command +{ + /** + * + * + * @generated + */ + protected CommandImpl() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return ApplicationConfigurationPackage.Literals.COMMAND; + } + +} //CommandImpl 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 index af0e7c17..3fd099db 100644 --- 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 @@ -1,194 +1,196 @@ -/** - * generated by Xtext 2.12.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 +/** + * generated by Xtext 2.16.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 + */ + @Override + 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 + */ + @Override + 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 index 5c9dee49..09144917 100644 --- 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 @@ -1,43 +1,43 @@ -/** - * generated by Xtext 2.12.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.ecore.EClass; - -import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; - -/** - * - * An implementation of the model object 'Config Entry'. - * - * - * @generated - */ -public class ConfigEntryImpl extends MinimalEObjectImpl.Container implements ConfigEntry -{ - /** - * - * - * @generated - */ - protected ConfigEntryImpl() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return ApplicationConfigurationPackage.Literals.CONFIG_ENTRY; - } - -} //ConfigEntryImpl +/** + * generated by Xtext 2.16.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.ecore.EClass; + +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +/** + * + * An implementation of the model object 'Config Entry'. + * + * + * @generated + */ +public class ConfigEntryImpl extends MinimalEObjectImpl.Container implements ConfigEntry +{ + /** + * + * + * @generated + */ + protected ConfigEntryImpl() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return ApplicationConfigurationPackage.Literals.CONFIG_ENTRY; + } + +} //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 index c69dd47b..cc2982f7 100644 --- 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 @@ -1,43 +1,43 @@ -/** - * generated by Xtext 2.12.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 +/** + * generated by Xtext 2.16.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 index dbe6aed6..ee829926 100644 --- 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 @@ -1,173 +1,175 @@ -/** - * generated by Xtext 2.12.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 +/** + * generated by Xtext 2.16.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 + */ + @Override + 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 + */ + @Override + 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 index d4eda037..c5426c35 100644 --- 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 @@ -1,166 +1,167 @@ -/** - * generated by Xtext 2.12.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 +/** + * generated by Xtext 2.16.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 + */ + @Override + 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/ConfigurationScriptImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ConfigurationScriptImpl.java index 9a4bb3a0..c147407d 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ConfigurationScriptImpl.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ConfigurationScriptImpl.java @@ -1,207 +1,209 @@ -/** - * generated by Xtext 2.12.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.Command; -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigurationScript; -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Import; - -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.impl.MinimalEObjectImpl; - -import org.eclipse.emf.ecore.util.EObjectContainmentEList; -import org.eclipse.emf.ecore.util.InternalEList; - -/** - * - * An implementation of the model object 'Configuration Script'. - * - *

- * The following features are implemented: - *

- *
    - *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ConfigurationScriptImpl#getImports Imports}
  • - *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ConfigurationScriptImpl#getCommands Commands}
  • - *
- * - * @generated - */ -public class ConfigurationScriptImpl extends MinimalEObjectImpl.Container implements ConfigurationScript -{ - /** - * The cached value of the '{@link #getImports() Imports}' containment reference list. - * - * - * @see #getImports() - * @generated - * @ordered - */ - protected EList imports; - - /** - * The cached value of the '{@link #getCommands() Commands}' containment reference list. - * - * - * @see #getCommands() - * @generated - * @ordered - */ - protected EList commands; - - /** - * - * - * @generated - */ - protected ConfigurationScriptImpl() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return ApplicationConfigurationPackage.Literals.CONFIGURATION_SCRIPT; - } - - /** - * - * - * @generated - */ - public EList getImports() - { - if (imports == null) - { - imports = new EObjectContainmentEList(Import.class, this, ApplicationConfigurationPackage.CONFIGURATION_SCRIPT__IMPORTS); - } - return imports; - } - - /** - * - * - * @generated - */ - public EList getCommands() - { - if (commands == null) - { - commands = new EObjectContainmentEList(Command.class, this, ApplicationConfigurationPackage.CONFIGURATION_SCRIPT__COMMANDS); - } - return commands; - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) - { - switch (featureID) - { - case ApplicationConfigurationPackage.CONFIGURATION_SCRIPT__IMPORTS: - return ((InternalEList)getImports()).basicRemove(otherEnd, msgs); - case ApplicationConfigurationPackage.CONFIGURATION_SCRIPT__COMMANDS: - return ((InternalEList)getCommands()).basicRemove(otherEnd, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case ApplicationConfigurationPackage.CONFIGURATION_SCRIPT__IMPORTS: - return getImports(); - case ApplicationConfigurationPackage.CONFIGURATION_SCRIPT__COMMANDS: - return getCommands(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case ApplicationConfigurationPackage.CONFIGURATION_SCRIPT__IMPORTS: - getImports().clear(); - getImports().addAll((Collection)newValue); - return; - case ApplicationConfigurationPackage.CONFIGURATION_SCRIPT__COMMANDS: - getCommands().clear(); - getCommands().addAll((Collection)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case ApplicationConfigurationPackage.CONFIGURATION_SCRIPT__IMPORTS: - getImports().clear(); - return; - case ApplicationConfigurationPackage.CONFIGURATION_SCRIPT__COMMANDS: - getCommands().clear(); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case ApplicationConfigurationPackage.CONFIGURATION_SCRIPT__IMPORTS: - return imports != null && !imports.isEmpty(); - case ApplicationConfigurationPackage.CONFIGURATION_SCRIPT__COMMANDS: - return commands != null && !commands.isEmpty(); - } - return super.eIsSet(featureID); - } - -} //ConfigurationScriptImpl +/** + * generated by Xtext 2.16.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.Command; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigurationScript; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Import; + +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.impl.MinimalEObjectImpl; + +import org.eclipse.emf.ecore.util.EObjectContainmentEList; +import org.eclipse.emf.ecore.util.InternalEList; + +/** + * + * An implementation of the model object 'Configuration Script'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ConfigurationScriptImpl#getImports Imports}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ConfigurationScriptImpl#getCommands Commands}
  • + *
+ * + * @generated + */ +public class ConfigurationScriptImpl extends MinimalEObjectImpl.Container implements ConfigurationScript +{ + /** + * The cached value of the '{@link #getImports() Imports}' containment reference list. + * + * + * @see #getImports() + * @generated + * @ordered + */ + protected EList imports; + + /** + * The cached value of the '{@link #getCommands() Commands}' containment reference list. + * + * + * @see #getCommands() + * @generated + * @ordered + */ + protected EList commands; + + /** + * + * + * @generated + */ + protected ConfigurationScriptImpl() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return ApplicationConfigurationPackage.Literals.CONFIGURATION_SCRIPT; + } + + /** + * + * + * @generated + */ + @Override + public EList getImports() + { + if (imports == null) + { + imports = new EObjectContainmentEList(Import.class, this, ApplicationConfigurationPackage.CONFIGURATION_SCRIPT__IMPORTS); + } + return imports; + } + + /** + * + * + * @generated + */ + @Override + public EList getCommands() + { + if (commands == null) + { + commands = new EObjectContainmentEList(Command.class, this, ApplicationConfigurationPackage.CONFIGURATION_SCRIPT__COMMANDS); + } + return commands; + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) + { + switch (featureID) + { + case ApplicationConfigurationPackage.CONFIGURATION_SCRIPT__IMPORTS: + return ((InternalEList)getImports()).basicRemove(otherEnd, msgs); + case ApplicationConfigurationPackage.CONFIGURATION_SCRIPT__COMMANDS: + return ((InternalEList)getCommands()).basicRemove(otherEnd, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case ApplicationConfigurationPackage.CONFIGURATION_SCRIPT__IMPORTS: + return getImports(); + case ApplicationConfigurationPackage.CONFIGURATION_SCRIPT__COMMANDS: + return getCommands(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case ApplicationConfigurationPackage.CONFIGURATION_SCRIPT__IMPORTS: + getImports().clear(); + getImports().addAll((Collection)newValue); + return; + case ApplicationConfigurationPackage.CONFIGURATION_SCRIPT__COMMANDS: + getCommands().clear(); + getCommands().addAll((Collection)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case ApplicationConfigurationPackage.CONFIGURATION_SCRIPT__IMPORTS: + getImports().clear(); + return; + case ApplicationConfigurationPackage.CONFIGURATION_SCRIPT__COMMANDS: + getCommands().clear(); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case ApplicationConfigurationPackage.CONFIGURATION_SCRIPT__IMPORTS: + return imports != null && !imports.isEmpty(); + case ApplicationConfigurationPackage.CONFIGURATION_SCRIPT__COMMANDS: + return commands != null && !commands.isEmpty(); + } + return super.eIsSet(featureID); + } + +} //ConfigurationScriptImpl diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/CustomEntryImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/CustomEntryImpl.java index b6a38700..45c4d4ea 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/CustomEntryImpl.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/CustomEntryImpl.java @@ -1,233 +1,237 @@ -/** - * generated by Xtext 2.12.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.CustomEntry; - -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 'Custom Entry'. - * - *

- * The following features are implemented: - *

- *
    - *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.CustomEntryImpl#getKey Key}
  • - *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.CustomEntryImpl#getValue Value}
  • - *
- * - * @generated - */ -public class CustomEntryImpl extends ConfigEntryImpl implements CustomEntry -{ - /** - * 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 CustomEntryImpl() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return ApplicationConfigurationPackage.Literals.CUSTOM_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.CUSTOM_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.CUSTOM_ENTRY__VALUE, oldValue, value)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case ApplicationConfigurationPackage.CUSTOM_ENTRY__KEY: - return getKey(); - case ApplicationConfigurationPackage.CUSTOM_ENTRY__VALUE: - return getValue(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case ApplicationConfigurationPackage.CUSTOM_ENTRY__KEY: - setKey((String)newValue); - return; - case ApplicationConfigurationPackage.CUSTOM_ENTRY__VALUE: - setValue((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case ApplicationConfigurationPackage.CUSTOM_ENTRY__KEY: - setKey(KEY_EDEFAULT); - return; - case ApplicationConfigurationPackage.CUSTOM_ENTRY__VALUE: - setValue(VALUE_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case ApplicationConfigurationPackage.CUSTOM_ENTRY__KEY: - return KEY_EDEFAULT == null ? key != null : !KEY_EDEFAULT.equals(key); - case ApplicationConfigurationPackage.CUSTOM_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(); - } - -} //CustomEntryImpl +/** + * generated by Xtext 2.16.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.CustomEntry; + +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 'Custom Entry'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.CustomEntryImpl#getKey Key}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.CustomEntryImpl#getValue Value}
  • + *
+ * + * @generated + */ +public class CustomEntryImpl extends ConfigEntryImpl implements CustomEntry +{ + /** + * 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 CustomEntryImpl() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return ApplicationConfigurationPackage.Literals.CUSTOM_ENTRY; + } + + /** + * + * + * @generated + */ + @Override + public String getKey() + { + return key; + } + + /** + * + * + * @generated + */ + @Override + public void setKey(String newKey) + { + String oldKey = key; + key = newKey; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.CUSTOM_ENTRY__KEY, oldKey, key)); + } + + /** + * + * + * @generated + */ + @Override + public String getValue() + { + return value; + } + + /** + * + * + * @generated + */ + @Override + public void setValue(String newValue) + { + String oldValue = value; + value = newValue; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.CUSTOM_ENTRY__VALUE, oldValue, value)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case ApplicationConfigurationPackage.CUSTOM_ENTRY__KEY: + return getKey(); + case ApplicationConfigurationPackage.CUSTOM_ENTRY__VALUE: + return getValue(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case ApplicationConfigurationPackage.CUSTOM_ENTRY__KEY: + setKey((String)newValue); + return; + case ApplicationConfigurationPackage.CUSTOM_ENTRY__VALUE: + setValue((String)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case ApplicationConfigurationPackage.CUSTOM_ENTRY__KEY: + setKey(KEY_EDEFAULT); + return; + case ApplicationConfigurationPackage.CUSTOM_ENTRY__VALUE: + setValue(VALUE_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case ApplicationConfigurationPackage.CUSTOM_ENTRY__KEY: + return KEY_EDEFAULT == null ? key != null : !KEY_EDEFAULT.equals(key); + case ApplicationConfigurationPackage.CUSTOM_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(); + + StringBuilder result = new StringBuilder(super.toString()); + result.append(" (key: "); + result.append(key); + result.append(", value: "); + result.append(value); + result.append(')'); + return result.toString(); + } + +} //CustomEntryImpl diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/DeclarationImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/DeclarationImpl.java index 15de42f0..28f8f9ae 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/DeclarationImpl.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/DeclarationImpl.java @@ -1,177 +1,179 @@ -/** - * generated by Xtext 2.12.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.Declaration; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -/** - * - * An implementation of the model object 'Declaration'. - * - *

- * The following features are implemented: - *

- *
    - *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.DeclarationImpl#getName Name}
  • - *
- * - * @generated - */ -public class DeclarationImpl extends CommandImpl implements Declaration -{ - /** - * The default value of the '{@link #getName() Name}' attribute. - * - * - * @see #getName() - * @generated - * @ordered - */ - protected static final String NAME_EDEFAULT = null; - - /** - * The cached value of the '{@link #getName() Name}' attribute. - * - * - * @see #getName() - * @generated - * @ordered - */ - protected String name = NAME_EDEFAULT; - - /** - * - * - * @generated - */ - protected DeclarationImpl() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return ApplicationConfigurationPackage.Literals.DECLARATION; - } - - /** - * - * - * @generated - */ - public String getName() - { - return name; - } - - /** - * - * - * @generated - */ - public void setName(String newName) - { - String oldName = name; - name = newName; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.DECLARATION__NAME, oldName, name)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case ApplicationConfigurationPackage.DECLARATION__NAME: - return getName(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case ApplicationConfigurationPackage.DECLARATION__NAME: - setName((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case ApplicationConfigurationPackage.DECLARATION__NAME: - setName(NAME_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case ApplicationConfigurationPackage.DECLARATION__NAME: - return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() - { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (name: "); - result.append(name); - result.append(')'); - return result.toString(); - } - -} //DeclarationImpl +/** + * generated by Xtext 2.16.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.Declaration; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +/** + * + * An implementation of the model object 'Declaration'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.DeclarationImpl#getName Name}
  • + *
+ * + * @generated + */ +public class DeclarationImpl extends CommandImpl implements Declaration +{ + /** + * The default value of the '{@link #getName() Name}' attribute. + * + * + * @see #getName() + * @generated + * @ordered + */ + protected static final String NAME_EDEFAULT = null; + + /** + * The cached value of the '{@link #getName() Name}' attribute. + * + * + * @see #getName() + * @generated + * @ordered + */ + protected String name = NAME_EDEFAULT; + + /** + * + * + * @generated + */ + protected DeclarationImpl() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return ApplicationConfigurationPackage.Literals.DECLARATION; + } + + /** + * + * + * @generated + */ + @Override + public String getName() + { + return name; + } + + /** + * + * + * @generated + */ + @Override + public void setName(String newName) + { + String oldName = name; + name = newName; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.DECLARATION__NAME, oldName, name)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case ApplicationConfigurationPackage.DECLARATION__NAME: + return getName(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case ApplicationConfigurationPackage.DECLARATION__NAME: + setName((String)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case ApplicationConfigurationPackage.DECLARATION__NAME: + setName(NAME_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case ApplicationConfigurationPackage.DECLARATION__NAME: + return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() + { + if (eIsProxy()) return super.toString(); + + StringBuilder result = new StringBuilder(super.toString()); + result.append(" (name: "); + result.append(name); + result.append(')'); + return result.toString(); + } + +} //DeclarationImpl diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/DocumentationEntryImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/DocumentationEntryImpl.java index 3ea64130..d5a10833 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/DocumentationEntryImpl.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/DocumentationEntryImpl.java @@ -1,178 +1,180 @@ -/** - * generated by Xtext 2.12.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.DocumentLevelSpecification; -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.DocumentationEntry; - -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 'Documentation Entry'. - * - *

- * The following features are implemented: - *

- *
    - *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.DocumentationEntryImpl#getLevel Level}
  • - *
- * - * @generated - */ -public class DocumentationEntryImpl extends ConfigEntryImpl implements DocumentationEntry -{ - /** - * The default value of the '{@link #getLevel() Level}' attribute. - * - * - * @see #getLevel() - * @generated - * @ordered - */ - protected static final DocumentLevelSpecification LEVEL_EDEFAULT = DocumentLevelSpecification.NONE; - - /** - * The cached value of the '{@link #getLevel() Level}' attribute. - * - * - * @see #getLevel() - * @generated - * @ordered - */ - protected DocumentLevelSpecification level = LEVEL_EDEFAULT; - - /** - * - * - * @generated - */ - protected DocumentationEntryImpl() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return ApplicationConfigurationPackage.Literals.DOCUMENTATION_ENTRY; - } - - /** - * - * - * @generated - */ - public DocumentLevelSpecification getLevel() - { - return level; - } - - /** - * - * - * @generated - */ - public void setLevel(DocumentLevelSpecification newLevel) - { - DocumentLevelSpecification oldLevel = level; - level = newLevel == null ? LEVEL_EDEFAULT : newLevel; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.DOCUMENTATION_ENTRY__LEVEL, oldLevel, level)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case ApplicationConfigurationPackage.DOCUMENTATION_ENTRY__LEVEL: - return getLevel(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case ApplicationConfigurationPackage.DOCUMENTATION_ENTRY__LEVEL: - setLevel((DocumentLevelSpecification)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case ApplicationConfigurationPackage.DOCUMENTATION_ENTRY__LEVEL: - setLevel(LEVEL_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case ApplicationConfigurationPackage.DOCUMENTATION_ENTRY__LEVEL: - return level != LEVEL_EDEFAULT; - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() - { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (level: "); - result.append(level); - result.append(')'); - return result.toString(); - } - -} //DocumentationEntryImpl +/** + * generated by Xtext 2.16.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.DocumentLevelSpecification; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.DocumentationEntry; + +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 'Documentation Entry'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.DocumentationEntryImpl#getLevel Level}
  • + *
+ * + * @generated + */ +public class DocumentationEntryImpl extends ConfigEntryImpl implements DocumentationEntry +{ + /** + * The default value of the '{@link #getLevel() Level}' attribute. + * + * + * @see #getLevel() + * @generated + * @ordered + */ + protected static final DocumentLevelSpecification LEVEL_EDEFAULT = DocumentLevelSpecification.NONE; + + /** + * The cached value of the '{@link #getLevel() Level}' attribute. + * + * + * @see #getLevel() + * @generated + * @ordered + */ + protected DocumentLevelSpecification level = LEVEL_EDEFAULT; + + /** + * + * + * @generated + */ + protected DocumentationEntryImpl() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return ApplicationConfigurationPackage.Literals.DOCUMENTATION_ENTRY; + } + + /** + * + * + * @generated + */ + @Override + public DocumentLevelSpecification getLevel() + { + return level; + } + + /** + * + * + * @generated + */ + @Override + public void setLevel(DocumentLevelSpecification newLevel) + { + DocumentLevelSpecification oldLevel = level; + level = newLevel == null ? LEVEL_EDEFAULT : newLevel; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.DOCUMENTATION_ENTRY__LEVEL, oldLevel, level)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case ApplicationConfigurationPackage.DOCUMENTATION_ENTRY__LEVEL: + return getLevel(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case ApplicationConfigurationPackage.DOCUMENTATION_ENTRY__LEVEL: + setLevel((DocumentLevelSpecification)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case ApplicationConfigurationPackage.DOCUMENTATION_ENTRY__LEVEL: + setLevel(LEVEL_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case ApplicationConfigurationPackage.DOCUMENTATION_ENTRY__LEVEL: + return level != LEVEL_EDEFAULT; + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() + { + if (eIsProxy()) return super.toString(); + + StringBuilder result = new StringBuilder(super.toString()); + result.append(" (level: "); + result.append(level); + result.append(')'); + return result.toString(); + } + +} //DocumentationEntryImpl diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/EPackageImportImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/EPackageImportImpl.java index 1496e005..b7416c44 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/EPackageImportImpl.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/EPackageImportImpl.java @@ -1,173 +1,175 @@ -/** - * generated by Xtext 2.12.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.EPackageImport; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -/** - * - * An implementation of the model object 'EPackage Import'. - * - *

- * The following features are implemented: - *

- *
    - *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.EPackageImportImpl#getImportedPackage Imported Package}
  • - *
- * - * @generated - */ -public class EPackageImportImpl extends ImportImpl implements EPackageImport -{ - /** - * The cached value of the '{@link #getImportedPackage() Imported Package}' reference. - * - * - * @see #getImportedPackage() - * @generated - * @ordered - */ - protected EPackage importedPackage; - - /** - * - * - * @generated - */ - protected EPackageImportImpl() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return ApplicationConfigurationPackage.Literals.EPACKAGE_IMPORT; - } - - /** - * - * - * @generated - */ - public EPackage getImportedPackage() - { - if (importedPackage != null && importedPackage.eIsProxy()) - { - InternalEObject oldImportedPackage = (InternalEObject)importedPackage; - importedPackage = (EPackage)eResolveProxy(oldImportedPackage); - if (importedPackage != oldImportedPackage) - { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, ApplicationConfigurationPackage.EPACKAGE_IMPORT__IMPORTED_PACKAGE, oldImportedPackage, importedPackage)); - } - } - return importedPackage; - } - - /** - * - * - * @generated - */ - public EPackage basicGetImportedPackage() - { - return importedPackage; - } - - /** - * - * - * @generated - */ - public void setImportedPackage(EPackage newImportedPackage) - { - EPackage oldImportedPackage = importedPackage; - importedPackage = newImportedPackage; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.EPACKAGE_IMPORT__IMPORTED_PACKAGE, oldImportedPackage, importedPackage)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case ApplicationConfigurationPackage.EPACKAGE_IMPORT__IMPORTED_PACKAGE: - if (resolve) return getImportedPackage(); - return basicGetImportedPackage(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case ApplicationConfigurationPackage.EPACKAGE_IMPORT__IMPORTED_PACKAGE: - setImportedPackage((EPackage)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case ApplicationConfigurationPackage.EPACKAGE_IMPORT__IMPORTED_PACKAGE: - setImportedPackage((EPackage)null); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case ApplicationConfigurationPackage.EPACKAGE_IMPORT__IMPORTED_PACKAGE: - return importedPackage != null; - } - return super.eIsSet(featureID); - } - -} //EPackageImportImpl +/** + * generated by Xtext 2.16.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.EPackageImport; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EPackage; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +/** + * + * An implementation of the model object 'EPackage Import'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.EPackageImportImpl#getImportedPackage Imported Package}
  • + *
+ * + * @generated + */ +public class EPackageImportImpl extends ImportImpl implements EPackageImport +{ + /** + * The cached value of the '{@link #getImportedPackage() Imported Package}' reference. + * + * + * @see #getImportedPackage() + * @generated + * @ordered + */ + protected EPackage importedPackage; + + /** + * + * + * @generated + */ + protected EPackageImportImpl() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return ApplicationConfigurationPackage.Literals.EPACKAGE_IMPORT; + } + + /** + * + * + * @generated + */ + @Override + public EPackage getImportedPackage() + { + if (importedPackage != null && importedPackage.eIsProxy()) + { + InternalEObject oldImportedPackage = (InternalEObject)importedPackage; + importedPackage = (EPackage)eResolveProxy(oldImportedPackage); + if (importedPackage != oldImportedPackage) + { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, ApplicationConfigurationPackage.EPACKAGE_IMPORT__IMPORTED_PACKAGE, oldImportedPackage, importedPackage)); + } + } + return importedPackage; + } + + /** + * + * + * @generated + */ + public EPackage basicGetImportedPackage() + { + return importedPackage; + } + + /** + * + * + * @generated + */ + @Override + public void setImportedPackage(EPackage newImportedPackage) + { + EPackage oldImportedPackage = importedPackage; + importedPackage = newImportedPackage; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.EPACKAGE_IMPORT__IMPORTED_PACKAGE, oldImportedPackage, importedPackage)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case ApplicationConfigurationPackage.EPACKAGE_IMPORT__IMPORTED_PACKAGE: + if (resolve) return getImportedPackage(); + return basicGetImportedPackage(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case ApplicationConfigurationPackage.EPACKAGE_IMPORT__IMPORTED_PACKAGE: + setImportedPackage((EPackage)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case ApplicationConfigurationPackage.EPACKAGE_IMPORT__IMPORTED_PACKAGE: + setImportedPackage((EPackage)null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case ApplicationConfigurationPackage.EPACKAGE_IMPORT__IMPORTED_PACKAGE: + return importedPackage != null; + } + return super.eIsSet(featureID); + } + +} //EPackageImportImpl diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ExactNumberImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ExactNumberImpl.java index dcd48fa2..359ad5b9 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ExactNumberImpl.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ExactNumberImpl.java @@ -1,233 +1,237 @@ -/** - * generated by Xtext 2.12.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.ExactNumber; - -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 'Exact Number'. - * - *

- * The following features are implemented: - *

- *
    - *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ExactNumberImpl#getExactNumber Exact Number}
  • - *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ExactNumberImpl#isExactUnlimited Exact Unlimited}
  • - *
- * - * @generated - */ -public class ExactNumberImpl extends NumberSpecificationImpl implements ExactNumber -{ - /** - * The default value of the '{@link #getExactNumber() Exact Number}' attribute. - * - * - * @see #getExactNumber() - * @generated - * @ordered - */ - protected static final int EXACT_NUMBER_EDEFAULT = 0; - - /** - * The cached value of the '{@link #getExactNumber() Exact Number}' attribute. - * - * - * @see #getExactNumber() - * @generated - * @ordered - */ - protected int exactNumber = EXACT_NUMBER_EDEFAULT; - - /** - * The default value of the '{@link #isExactUnlimited() Exact Unlimited}' attribute. - * - * - * @see #isExactUnlimited() - * @generated - * @ordered - */ - protected static final boolean EXACT_UNLIMITED_EDEFAULT = false; - - /** - * The cached value of the '{@link #isExactUnlimited() Exact Unlimited}' attribute. - * - * - * @see #isExactUnlimited() - * @generated - * @ordered - */ - protected boolean exactUnlimited = EXACT_UNLIMITED_EDEFAULT; - - /** - * - * - * @generated - */ - protected ExactNumberImpl() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return ApplicationConfigurationPackage.Literals.EXACT_NUMBER; - } - - /** - * - * - * @generated - */ - public int getExactNumber() - { - return exactNumber; - } - - /** - * - * - * @generated - */ - public void setExactNumber(int newExactNumber) - { - int oldExactNumber = exactNumber; - exactNumber = newExactNumber; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.EXACT_NUMBER__EXACT_NUMBER, oldExactNumber, exactNumber)); - } - - /** - * - * - * @generated - */ - public boolean isExactUnlimited() - { - return exactUnlimited; - } - - /** - * - * - * @generated - */ - public void setExactUnlimited(boolean newExactUnlimited) - { - boolean oldExactUnlimited = exactUnlimited; - exactUnlimited = newExactUnlimited; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.EXACT_NUMBER__EXACT_UNLIMITED, oldExactUnlimited, exactUnlimited)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case ApplicationConfigurationPackage.EXACT_NUMBER__EXACT_NUMBER: - return getExactNumber(); - case ApplicationConfigurationPackage.EXACT_NUMBER__EXACT_UNLIMITED: - return isExactUnlimited(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case ApplicationConfigurationPackage.EXACT_NUMBER__EXACT_NUMBER: - setExactNumber((Integer)newValue); - return; - case ApplicationConfigurationPackage.EXACT_NUMBER__EXACT_UNLIMITED: - setExactUnlimited((Boolean)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case ApplicationConfigurationPackage.EXACT_NUMBER__EXACT_NUMBER: - setExactNumber(EXACT_NUMBER_EDEFAULT); - return; - case ApplicationConfigurationPackage.EXACT_NUMBER__EXACT_UNLIMITED: - setExactUnlimited(EXACT_UNLIMITED_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case ApplicationConfigurationPackage.EXACT_NUMBER__EXACT_NUMBER: - return exactNumber != EXACT_NUMBER_EDEFAULT; - case ApplicationConfigurationPackage.EXACT_NUMBER__EXACT_UNLIMITED: - return exactUnlimited != EXACT_UNLIMITED_EDEFAULT; - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() - { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (exactNumber: "); - result.append(exactNumber); - result.append(", exactUnlimited: "); - result.append(exactUnlimited); - result.append(')'); - return result.toString(); - } - -} //ExactNumberImpl +/** + * generated by Xtext 2.16.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.ExactNumber; + +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 'Exact Number'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ExactNumberImpl#getExactNumber Exact Number}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ExactNumberImpl#isExactUnlimited Exact Unlimited}
  • + *
+ * + * @generated + */ +public class ExactNumberImpl extends NumberSpecificationImpl implements ExactNumber +{ + /** + * The default value of the '{@link #getExactNumber() Exact Number}' attribute. + * + * + * @see #getExactNumber() + * @generated + * @ordered + */ + protected static final int EXACT_NUMBER_EDEFAULT = 0; + + /** + * The cached value of the '{@link #getExactNumber() Exact Number}' attribute. + * + * + * @see #getExactNumber() + * @generated + * @ordered + */ + protected int exactNumber = EXACT_NUMBER_EDEFAULT; + + /** + * The default value of the '{@link #isExactUnlimited() Exact Unlimited}' attribute. + * + * + * @see #isExactUnlimited() + * @generated + * @ordered + */ + protected static final boolean EXACT_UNLIMITED_EDEFAULT = false; + + /** + * The cached value of the '{@link #isExactUnlimited() Exact Unlimited}' attribute. + * + * + * @see #isExactUnlimited() + * @generated + * @ordered + */ + protected boolean exactUnlimited = EXACT_UNLIMITED_EDEFAULT; + + /** + * + * + * @generated + */ + protected ExactNumberImpl() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return ApplicationConfigurationPackage.Literals.EXACT_NUMBER; + } + + /** + * + * + * @generated + */ + @Override + public int getExactNumber() + { + return exactNumber; + } + + /** + * + * + * @generated + */ + @Override + public void setExactNumber(int newExactNumber) + { + int oldExactNumber = exactNumber; + exactNumber = newExactNumber; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.EXACT_NUMBER__EXACT_NUMBER, oldExactNumber, exactNumber)); + } + + /** + * + * + * @generated + */ + @Override + public boolean isExactUnlimited() + { + return exactUnlimited; + } + + /** + * + * + * @generated + */ + @Override + public void setExactUnlimited(boolean newExactUnlimited) + { + boolean oldExactUnlimited = exactUnlimited; + exactUnlimited = newExactUnlimited; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.EXACT_NUMBER__EXACT_UNLIMITED, oldExactUnlimited, exactUnlimited)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case ApplicationConfigurationPackage.EXACT_NUMBER__EXACT_NUMBER: + return getExactNumber(); + case ApplicationConfigurationPackage.EXACT_NUMBER__EXACT_UNLIMITED: + return isExactUnlimited(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case ApplicationConfigurationPackage.EXACT_NUMBER__EXACT_NUMBER: + setExactNumber((Integer)newValue); + return; + case ApplicationConfigurationPackage.EXACT_NUMBER__EXACT_UNLIMITED: + setExactUnlimited((Boolean)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case ApplicationConfigurationPackage.EXACT_NUMBER__EXACT_NUMBER: + setExactNumber(EXACT_NUMBER_EDEFAULT); + return; + case ApplicationConfigurationPackage.EXACT_NUMBER__EXACT_UNLIMITED: + setExactUnlimited(EXACT_UNLIMITED_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case ApplicationConfigurationPackage.EXACT_NUMBER__EXACT_NUMBER: + return exactNumber != EXACT_NUMBER_EDEFAULT; + case ApplicationConfigurationPackage.EXACT_NUMBER__EXACT_UNLIMITED: + return exactUnlimited != EXACT_UNLIMITED_EDEFAULT; + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() + { + if (eIsProxy()) return super.toString(); + + StringBuilder result = new StringBuilder(super.toString()); + result.append(" (exactNumber: "); + result.append(exactNumber); + result.append(", exactUnlimited: "); + result.append(exactUnlimited); + result.append(')'); + return result.toString(); + } + +} //ExactNumberImpl 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 index 16efc685..511a24d5 100644 --- 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 @@ -1,194 +1,196 @@ -/** - * generated by Xtext 2.12.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 +/** + * generated by Xtext 2.16.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 + */ + @Override + 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 + */ + @Override + 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 index a67c6210..a79ce222 100644 --- 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 @@ -1,43 +1,43 @@ -/** - * generated by Xtext 2.12.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 +/** + * generated by Xtext 2.16.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 index ef9ae500..72c8946c 100644 --- 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 @@ -1,173 +1,175 @@ -/** - * generated by Xtext 2.12.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 +/** + * generated by Xtext 2.16.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 + */ + @Override + 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 + */ + @Override + 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 index 3b728d0e..e6f123e1 100644 --- 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 @@ -1,177 +1,179 @@ -/** - * generated by Xtext 2.12.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 +/** + * generated by Xtext 2.16.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 + */ + @Override + public String getPath() + { + return path; + } + + /** + * + * + * @generated + */ + @Override + 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(); + + StringBuilder result = new StringBuilder(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 index 63bf5f58..dbaad93e 100644 --- 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 @@ -1,166 +1,167 @@ -/** - * generated by Xtext 2.12.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 +/** + * generated by Xtext 2.16.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 + */ + @Override + 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 index 41874b35..c9fe167f 100644 --- 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 @@ -1,1063 +1,1165 @@ -/** - * generated by Xtext 2.12.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#isNumberSpecified Number Specified}
  • - *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.GenerationTaskImpl#getNumber Number}
  • - *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.GenerationTaskImpl#isRunSpecified Run Specified}
  • - *
  • {@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#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}
  • - *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.GenerationTaskImpl#getTagetFolder Taget Folder}
  • - *
- * - * @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 #isNumberSpecified() Number Specified}' attribute. - * - * - * @see #isNumberSpecified() - * @generated - * @ordered - */ - protected static final boolean NUMBER_SPECIFIED_EDEFAULT = false; - - /** - * The cached value of the '{@link #isNumberSpecified() Number Specified}' attribute. - * - * - * @see #isNumberSpecified() - * @generated - * @ordered - */ - protected boolean numberSpecified = NUMBER_SPECIFIED_EDEFAULT; - - /** - * 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 #isRunSpecified() Run Specified}' attribute. - * - * - * @see #isRunSpecified() - * @generated - * @ordered - */ - protected static final boolean RUN_SPECIFIED_EDEFAULT = false; - - /** - * The cached value of the '{@link #isRunSpecified() Run Specified}' attribute. - * - * - * @see #isRunSpecified() - * @generated - * @ordered - */ - protected boolean runSpecified = RUN_SPECIFIED_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 #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; - - /** - * The cached value of the '{@link #getTagetFolder() Taget Folder}' containment reference. - * - * - * @see #getTagetFolder() - * @generated - * @ordered - */ - protected File tagetFolder; - - /** - * - * - * @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 boolean isNumberSpecified() - { - return numberSpecified; - } - - /** - * - * - * @generated - */ - public void setNumberSpecified(boolean newNumberSpecified) - { - boolean oldNumberSpecified = numberSpecified; - numberSpecified = newNumberSpecified; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.GENERATION_TASK__NUMBER_SPECIFIED, oldNumberSpecified, numberSpecified)); - } - - /** - * - * - * @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 boolean isRunSpecified() - { - return runSpecified; - } - - /** - * - * - * @generated - */ - public void setRunSpecified(boolean newRunSpecified) - { - boolean oldRunSpecified = runSpecified; - runSpecified = newRunSpecified; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.GENERATION_TASK__RUN_SPECIFIED, oldRunSpecified, runSpecified)); - } - - /** - * - * - * @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 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 - */ - 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 - */ - @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__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); - case ApplicationConfigurationPackage.GENERATION_TASK__TAGET_FOLDER: - return basicSetTagetFolder(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_SPECIFIED: - return isNumberSpecified(); - case ApplicationConfigurationPackage.GENERATION_TASK__NUMBER: - return getNumber(); - case ApplicationConfigurationPackage.GENERATION_TASK__RUN_SPECIFIED: - return isRunSpecified(); - 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__DEBUG_FOLDER: - return getDebugFolder(); - case ApplicationConfigurationPackage.GENERATION_TASK__TARGET_LOG_FILE: - return getTargetLogFile(); - case ApplicationConfigurationPackage.GENERATION_TASK__TARGET_STATISTICS_FILE: - return getTargetStatisticsFile(); - case ApplicationConfigurationPackage.GENERATION_TASK__TAGET_FOLDER: - return getTagetFolder(); - } - 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_SPECIFIED: - setNumberSpecified((Boolean)newValue); - return; - case ApplicationConfigurationPackage.GENERATION_TASK__NUMBER: - setNumber((Integer)newValue); - return; - case ApplicationConfigurationPackage.GENERATION_TASK__RUN_SPECIFIED: - setRunSpecified((Boolean)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__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; - case ApplicationConfigurationPackage.GENERATION_TASK__TAGET_FOLDER: - setTagetFolder((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_SPECIFIED: - setNumberSpecified(NUMBER_SPECIFIED_EDEFAULT); - return; - case ApplicationConfigurationPackage.GENERATION_TASK__NUMBER: - setNumber(NUMBER_EDEFAULT); - return; - case ApplicationConfigurationPackage.GENERATION_TASK__RUN_SPECIFIED: - setRunSpecified(RUN_SPECIFIED_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__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; - case ApplicationConfigurationPackage.GENERATION_TASK__TAGET_FOLDER: - setTagetFolder((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_SPECIFIED: - return numberSpecified != NUMBER_SPECIFIED_EDEFAULT; - case ApplicationConfigurationPackage.GENERATION_TASK__NUMBER: - return number != NUMBER_EDEFAULT; - case ApplicationConfigurationPackage.GENERATION_TASK__RUN_SPECIFIED: - return runSpecified != RUN_SPECIFIED_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__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; - case ApplicationConfigurationPackage.GENERATION_TASK__TAGET_FOLDER: - return tagetFolder != null; - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() - { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (numberSpecified: "); - result.append(numberSpecified); - result.append(", number: "); - result.append(number); - result.append(", runSpecified: "); - result.append(runSpecified); - result.append(", runs: "); - result.append(runs); - result.append(", solver: "); - result.append(solver); - result.append(')'); - return result.toString(); - } - -} //GenerationTaskImpl +/** + * generated by Xtext 2.16.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.Objective; +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#getObjectives Objectives}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.GenerationTaskImpl#getScope Scope}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.GenerationTaskImpl#isNumberSpecified Number Specified}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.GenerationTaskImpl#getNumber Number}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.GenerationTaskImpl#isRunSpecified Run Specified}
  • + *
  • {@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#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}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.GenerationTaskImpl#getTagetFolder Taget Folder}
  • + *
+ * + * @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 #getObjectives() Objectives}' containment reference. + * + * + * @see #getObjectives() + * @generated + * @ordered + */ + protected Objective objectives; + + /** + * The cached value of the '{@link #getScope() Scope}' containment reference. + * + * + * @see #getScope() + * @generated + * @ordered + */ + protected Scope scope; + + /** + * The default value of the '{@link #isNumberSpecified() Number Specified}' attribute. + * + * + * @see #isNumberSpecified() + * @generated + * @ordered + */ + protected static final boolean NUMBER_SPECIFIED_EDEFAULT = false; + + /** + * The cached value of the '{@link #isNumberSpecified() Number Specified}' attribute. + * + * + * @see #isNumberSpecified() + * @generated + * @ordered + */ + protected boolean numberSpecified = NUMBER_SPECIFIED_EDEFAULT; + + /** + * 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 #isRunSpecified() Run Specified}' attribute. + * + * + * @see #isRunSpecified() + * @generated + * @ordered + */ + protected static final boolean RUN_SPECIFIED_EDEFAULT = false; + + /** + * The cached value of the '{@link #isRunSpecified() Run Specified}' attribute. + * + * + * @see #isRunSpecified() + * @generated + * @ordered + */ + protected boolean runSpecified = RUN_SPECIFIED_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 #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; + + /** + * The cached value of the '{@link #getTagetFolder() Taget Folder}' containment reference. + * + * + * @see #getTagetFolder() + * @generated + * @ordered + */ + protected File tagetFolder; + + /** + * + * + * @generated + */ + protected GenerationTaskImpl() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return ApplicationConfigurationPackage.Literals.GENERATION_TASK; + } + + /** + * + * + * @generated + */ + @Override + 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 + */ + @Override + 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 + */ + @Override + 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 + */ + @Override + 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 + */ + @Override + 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 + */ + @Override + 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 + */ + @Override + public Objective getObjectives() + { + return objectives; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetObjectives(Objective newObjectives, NotificationChain msgs) + { + Objective oldObjectives = objectives; + objectives = newObjectives; + if (eNotificationRequired()) + { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.GENERATION_TASK__OBJECTIVES, oldObjectives, newObjectives); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + @Override + public void setObjectives(Objective newObjectives) + { + if (newObjectives != objectives) + { + NotificationChain msgs = null; + if (objectives != null) + msgs = ((InternalEObject)objectives).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.GENERATION_TASK__OBJECTIVES, null, msgs); + if (newObjectives != null) + msgs = ((InternalEObject)newObjectives).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.GENERATION_TASK__OBJECTIVES, null, msgs); + msgs = basicSetObjectives(newObjectives, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.GENERATION_TASK__OBJECTIVES, newObjectives, newObjectives)); + } + + /** + * + * + * @generated + */ + @Override + 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 + */ + @Override + 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 + */ + @Override + public boolean isNumberSpecified() + { + return numberSpecified; + } + + /** + * + * + * @generated + */ + @Override + public void setNumberSpecified(boolean newNumberSpecified) + { + boolean oldNumberSpecified = numberSpecified; + numberSpecified = newNumberSpecified; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.GENERATION_TASK__NUMBER_SPECIFIED, oldNumberSpecified, numberSpecified)); + } + + /** + * + * + * @generated + */ + @Override + public int getNumber() + { + return number; + } + + /** + * + * + * @generated + */ + @Override + 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 + */ + @Override + public boolean isRunSpecified() + { + return runSpecified; + } + + /** + * + * + * @generated + */ + @Override + public void setRunSpecified(boolean newRunSpecified) + { + boolean oldRunSpecified = runSpecified; + runSpecified = newRunSpecified; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.GENERATION_TASK__RUN_SPECIFIED, oldRunSpecified, runSpecified)); + } + + /** + * + * + * @generated + */ + @Override + public int getRuns() + { + return runs; + } + + /** + * + * + * @generated + */ + @Override + 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 + */ + @Override + public Solver getSolver() + { + return solver; + } + + /** + * + * + * @generated + */ + @Override + 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 + */ + @Override + 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 + */ + @Override + 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 + */ + @Override + 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 + */ + @Override + 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 + */ + @Override + 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 + */ + @Override + 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 + */ + @Override + 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 + */ + @Override + 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 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 + */ + @Override + 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 + */ + @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__OBJECTIVES: + return basicSetObjectives(null, msgs); + case ApplicationConfigurationPackage.GENERATION_TASK__SCOPE: + return basicSetScope(null, msgs); + case ApplicationConfigurationPackage.GENERATION_TASK__CONFIG: + return basicSetConfig(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); + case ApplicationConfigurationPackage.GENERATION_TASK__TAGET_FOLDER: + return basicSetTagetFolder(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__OBJECTIVES: + return getObjectives(); + case ApplicationConfigurationPackage.GENERATION_TASK__SCOPE: + return getScope(); + case ApplicationConfigurationPackage.GENERATION_TASK__NUMBER_SPECIFIED: + return isNumberSpecified(); + case ApplicationConfigurationPackage.GENERATION_TASK__NUMBER: + return getNumber(); + case ApplicationConfigurationPackage.GENERATION_TASK__RUN_SPECIFIED: + return isRunSpecified(); + 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__DEBUG_FOLDER: + return getDebugFolder(); + case ApplicationConfigurationPackage.GENERATION_TASK__TARGET_LOG_FILE: + return getTargetLogFile(); + case ApplicationConfigurationPackage.GENERATION_TASK__TARGET_STATISTICS_FILE: + return getTargetStatisticsFile(); + case ApplicationConfigurationPackage.GENERATION_TASK__TAGET_FOLDER: + return getTagetFolder(); + } + 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__OBJECTIVES: + setObjectives((Objective)newValue); + return; + case ApplicationConfigurationPackage.GENERATION_TASK__SCOPE: + setScope((Scope)newValue); + return; + case ApplicationConfigurationPackage.GENERATION_TASK__NUMBER_SPECIFIED: + setNumberSpecified((Boolean)newValue); + return; + case ApplicationConfigurationPackage.GENERATION_TASK__NUMBER: + setNumber((Integer)newValue); + return; + case ApplicationConfigurationPackage.GENERATION_TASK__RUN_SPECIFIED: + setRunSpecified((Boolean)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__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; + case ApplicationConfigurationPackage.GENERATION_TASK__TAGET_FOLDER: + setTagetFolder((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__OBJECTIVES: + setObjectives((Objective)null); + return; + case ApplicationConfigurationPackage.GENERATION_TASK__SCOPE: + setScope((Scope)null); + return; + case ApplicationConfigurationPackage.GENERATION_TASK__NUMBER_SPECIFIED: + setNumberSpecified(NUMBER_SPECIFIED_EDEFAULT); + return; + case ApplicationConfigurationPackage.GENERATION_TASK__NUMBER: + setNumber(NUMBER_EDEFAULT); + return; + case ApplicationConfigurationPackage.GENERATION_TASK__RUN_SPECIFIED: + setRunSpecified(RUN_SPECIFIED_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__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; + case ApplicationConfigurationPackage.GENERATION_TASK__TAGET_FOLDER: + setTagetFolder((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__OBJECTIVES: + return objectives != null; + case ApplicationConfigurationPackage.GENERATION_TASK__SCOPE: + return scope != null; + case ApplicationConfigurationPackage.GENERATION_TASK__NUMBER_SPECIFIED: + return numberSpecified != NUMBER_SPECIFIED_EDEFAULT; + case ApplicationConfigurationPackage.GENERATION_TASK__NUMBER: + return number != NUMBER_EDEFAULT; + case ApplicationConfigurationPackage.GENERATION_TASK__RUN_SPECIFIED: + return runSpecified != RUN_SPECIFIED_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__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; + case ApplicationConfigurationPackage.GENERATION_TASK__TAGET_FOLDER: + return tagetFolder != null; + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() + { + if (eIsProxy()) return super.toString(); + + StringBuilder result = new StringBuilder(super.toString()); + result.append(" (numberSpecified: "); + result.append(numberSpecified); + result.append(", number: "); + result.append(number); + result.append(", runSpecified: "); + result.append(runSpecified); + 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 index 894b951e..a6268299 100644 --- 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 @@ -1,194 +1,196 @@ -/** - * generated by Xtext 2.12.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 +/** + * generated by Xtext 2.16.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 + */ + @Override + 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 + */ + @Override + 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 index 88512fde..33778d68 100644 --- 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 @@ -1,43 +1,43 @@ -/** - * generated by Xtext 2.12.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 +/** + * generated by Xtext 2.16.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 index 39093353..235dd069 100644 --- 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 @@ -1,173 +1,175 @@ -/** - * generated by Xtext 2.12.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 +/** + * generated by Xtext 2.16.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 + */ + @Override + 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 + */ + @Override + 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/ImportImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ImportImpl.java index 3618fbba..83165b02 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ImportImpl.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ImportImpl.java @@ -1,43 +1,43 @@ -/** - * generated by Xtext 2.12.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.Import; - -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; - -/** - * - * An implementation of the model object 'Import'. - * - * - * @generated - */ -public class ImportImpl extends MinimalEObjectImpl.Container implements Import -{ - /** - * - * - * @generated - */ - protected ImportImpl() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return ApplicationConfigurationPackage.Literals.IMPORT; - } - -} //ImportImpl +/** + * generated by Xtext 2.16.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.Import; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +/** + * + * An implementation of the model object 'Import'. + * + * + * @generated + */ +public class ImportImpl extends MinimalEObjectImpl.Container implements Import +{ + /** + * + * + * @generated + */ + protected ImportImpl() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return ApplicationConfigurationPackage.Literals.IMPORT; + } + +} //ImportImpl diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/IntEnumberationImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/IntEnumberationImpl.java index 0d851bc7..27427fc4 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/IntEnumberationImpl.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/IntEnumberationImpl.java @@ -1,162 +1,163 @@ -/** - * generated by Xtext 2.12.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.IntEnumberation; - -import java.util.Collection; - -import org.eclipse.emf.common.util.EList; - -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.emf.ecore.util.EDataTypeEList; - -/** - * - * An implementation of the model object 'Int Enumberation'. - * - *

- * The following features are implemented: - *

- *
    - *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.IntEnumberationImpl#getEntry Entry}
  • - *
- * - * @generated - */ -public class IntEnumberationImpl extends NumberSpecificationImpl implements IntEnumberation -{ - /** - * The cached value of the '{@link #getEntry() Entry}' attribute list. - * - * - * @see #getEntry() - * @generated - * @ordered - */ - protected EList entry; - - /** - * - * - * @generated - */ - protected IntEnumberationImpl() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return ApplicationConfigurationPackage.Literals.INT_ENUMBERATION; - } - - /** - * - * - * @generated - */ - public EList getEntry() - { - if (entry == null) - { - entry = new EDataTypeEList(Integer.class, this, ApplicationConfigurationPackage.INT_ENUMBERATION__ENTRY); - } - return entry; - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case ApplicationConfigurationPackage.INT_ENUMBERATION__ENTRY: - return getEntry(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case ApplicationConfigurationPackage.INT_ENUMBERATION__ENTRY: - getEntry().clear(); - getEntry().addAll((Collection)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case ApplicationConfigurationPackage.INT_ENUMBERATION__ENTRY: - getEntry().clear(); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case ApplicationConfigurationPackage.INT_ENUMBERATION__ENTRY: - return entry != null && !entry.isEmpty(); - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() - { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (entry: "); - result.append(entry); - result.append(')'); - return result.toString(); - } - -} //IntEnumberationImpl +/** + * generated by Xtext 2.16.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.IntEnumberation; + +import java.util.Collection; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.emf.ecore.util.EDataTypeEList; + +/** + * + * An implementation of the model object 'Int Enumberation'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.IntEnumberationImpl#getEntry Entry}
  • + *
+ * + * @generated + */ +public class IntEnumberationImpl extends NumberSpecificationImpl implements IntEnumberation +{ + /** + * The cached value of the '{@link #getEntry() Entry}' attribute list. + * + * + * @see #getEntry() + * @generated + * @ordered + */ + protected EList entry; + + /** + * + * + * @generated + */ + protected IntEnumberationImpl() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return ApplicationConfigurationPackage.Literals.INT_ENUMBERATION; + } + + /** + * + * + * @generated + */ + @Override + public EList getEntry() + { + if (entry == null) + { + entry = new EDataTypeEList(Integer.class, this, ApplicationConfigurationPackage.INT_ENUMBERATION__ENTRY); + } + return entry; + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case ApplicationConfigurationPackage.INT_ENUMBERATION__ENTRY: + return getEntry(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case ApplicationConfigurationPackage.INT_ENUMBERATION__ENTRY: + getEntry().clear(); + getEntry().addAll((Collection)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case ApplicationConfigurationPackage.INT_ENUMBERATION__ENTRY: + getEntry().clear(); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case ApplicationConfigurationPackage.INT_ENUMBERATION__ENTRY: + return entry != null && !entry.isEmpty(); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() + { + if (eIsProxy()) return super.toString(); + + StringBuilder result = new StringBuilder(super.toString()); + result.append(" (entry: "); + result.append(entry); + result.append(')'); + return result.toString(); + } + +} //IntEnumberationImpl 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 index b35e0d17..894c5af8 100644 --- 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 @@ -1,41 +1,41 @@ -/** - * generated by Xtext 2.12.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 +/** + * generated by Xtext 2.16.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 index 6ccbcda5..65a1d572 100644 --- 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 @@ -1,41 +1,41 @@ -/** - * generated by Xtext 2.12.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 +/** + * generated by Xtext 2.16.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/IntegerTypeScopeImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/IntegerTypeScopeImpl.java index 438d59bc..61428e72 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/IntegerTypeScopeImpl.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/IntegerTypeScopeImpl.java @@ -1,194 +1,196 @@ -/** - * generated by Xtext 2.12.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 hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntegerTypeScope; - -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 'Integer Type Scope'. - * - *

- * The following features are implemented: - *

- *
    - *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.IntegerTypeScopeImpl#getType Type}
  • - *
- * - * @generated - */ -public class IntegerTypeScopeImpl extends TypeScopeImpl implements IntegerTypeScope -{ - /** - * The cached value of the '{@link #getType() Type}' containment reference. - * - * - * @see #getType() - * @generated - * @ordered - */ - protected IntegerReference type; - - /** - * - * - * @generated - */ - protected IntegerTypeScopeImpl() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return ApplicationConfigurationPackage.Literals.INTEGER_TYPE_SCOPE; - } - - /** - * - * - * @generated - */ - public IntegerReference getType() - { - return type; - } - - /** - * - * - * @generated - */ - public NotificationChain basicSetType(IntegerReference newType, NotificationChain msgs) - { - IntegerReference oldType = type; - type = newType; - if (eNotificationRequired()) - { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.INTEGER_TYPE_SCOPE__TYPE, oldType, newType); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * - * - * @generated - */ - public void setType(IntegerReference newType) - { - if (newType != type) - { - NotificationChain msgs = null; - if (type != null) - msgs = ((InternalEObject)type).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.INTEGER_TYPE_SCOPE__TYPE, null, msgs); - if (newType != null) - msgs = ((InternalEObject)newType).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.INTEGER_TYPE_SCOPE__TYPE, null, msgs); - msgs = basicSetType(newType, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.INTEGER_TYPE_SCOPE__TYPE, newType, newType)); - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) - { - switch (featureID) - { - case ApplicationConfigurationPackage.INTEGER_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.INTEGER_TYPE_SCOPE__TYPE: - return getType(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case ApplicationConfigurationPackage.INTEGER_TYPE_SCOPE__TYPE: - setType((IntegerReference)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case ApplicationConfigurationPackage.INTEGER_TYPE_SCOPE__TYPE: - setType((IntegerReference)null); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case ApplicationConfigurationPackage.INTEGER_TYPE_SCOPE__TYPE: - return type != null; - } - return super.eIsSet(featureID); - } - -} //IntegerTypeScopeImpl +/** + * generated by Xtext 2.16.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 hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntegerTypeScope; + +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 'Integer Type Scope'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.IntegerTypeScopeImpl#getType Type}
  • + *
+ * + * @generated + */ +public class IntegerTypeScopeImpl extends TypeScopeImpl implements IntegerTypeScope +{ + /** + * The cached value of the '{@link #getType() Type}' containment reference. + * + * + * @see #getType() + * @generated + * @ordered + */ + protected IntegerReference type; + + /** + * + * + * @generated + */ + protected IntegerTypeScopeImpl() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return ApplicationConfigurationPackage.Literals.INTEGER_TYPE_SCOPE; + } + + /** + * + * + * @generated + */ + @Override + public IntegerReference getType() + { + return type; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetType(IntegerReference newType, NotificationChain msgs) + { + IntegerReference oldType = type; + type = newType; + if (eNotificationRequired()) + { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.INTEGER_TYPE_SCOPE__TYPE, oldType, newType); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + @Override + public void setType(IntegerReference newType) + { + if (newType != type) + { + NotificationChain msgs = null; + if (type != null) + msgs = ((InternalEObject)type).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.INTEGER_TYPE_SCOPE__TYPE, null, msgs); + if (newType != null) + msgs = ((InternalEObject)newType).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.INTEGER_TYPE_SCOPE__TYPE, null, msgs); + msgs = basicSetType(newType, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.INTEGER_TYPE_SCOPE__TYPE, newType, newType)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) + { + switch (featureID) + { + case ApplicationConfigurationPackage.INTEGER_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.INTEGER_TYPE_SCOPE__TYPE: + return getType(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case ApplicationConfigurationPackage.INTEGER_TYPE_SCOPE__TYPE: + setType((IntegerReference)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case ApplicationConfigurationPackage.INTEGER_TYPE_SCOPE__TYPE: + setType((IntegerReference)null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case ApplicationConfigurationPackage.INTEGER_TYPE_SCOPE__TYPE: + return type != null; + } + return super.eIsSet(featureID); + } + +} //IntegerTypeScopeImpl diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/IntervallNumberImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/IntervallNumberImpl.java index 98a96254..ad784f8e 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/IntervallNumberImpl.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/IntervallNumberImpl.java @@ -1,289 +1,295 @@ -/** - * generated by Xtext 2.12.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.IntervallNumber; - -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 'Intervall Number'. - * - *

- * The following features are implemented: - *

- *
    - *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.IntervallNumberImpl#getMin Min}
  • - *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.IntervallNumberImpl#getMaxNumber Max Number}
  • - *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.IntervallNumberImpl#isMaxUnlimited Max Unlimited}
  • - *
- * - * @generated - */ -public class IntervallNumberImpl extends NumberSpecificationImpl implements IntervallNumber -{ - /** - * 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 #getMaxNumber() Max Number}' attribute. - * - * - * @see #getMaxNumber() - * @generated - * @ordered - */ - protected static final int MAX_NUMBER_EDEFAULT = 0; - - /** - * The cached value of the '{@link #getMaxNumber() Max Number}' attribute. - * - * - * @see #getMaxNumber() - * @generated - * @ordered - */ - protected int maxNumber = MAX_NUMBER_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; - - /** - * - * - * @generated - */ - protected IntervallNumberImpl() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return ApplicationConfigurationPackage.Literals.INTERVALL_NUMBER; - } - - /** - * - * - * @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.INTERVALL_NUMBER__MIN, oldMin, min)); - } - - /** - * - * - * @generated - */ - public int getMaxNumber() - { - return maxNumber; - } - - /** - * - * - * @generated - */ - public void setMaxNumber(int newMaxNumber) - { - int oldMaxNumber = maxNumber; - maxNumber = newMaxNumber; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.INTERVALL_NUMBER__MAX_NUMBER, oldMaxNumber, maxNumber)); - } - - /** - * - * - * @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.INTERVALL_NUMBER__MAX_UNLIMITED, oldMaxUnlimited, maxUnlimited)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case ApplicationConfigurationPackage.INTERVALL_NUMBER__MIN: - return getMin(); - case ApplicationConfigurationPackage.INTERVALL_NUMBER__MAX_NUMBER: - return getMaxNumber(); - case ApplicationConfigurationPackage.INTERVALL_NUMBER__MAX_UNLIMITED: - return isMaxUnlimited(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case ApplicationConfigurationPackage.INTERVALL_NUMBER__MIN: - setMin((Integer)newValue); - return; - case ApplicationConfigurationPackage.INTERVALL_NUMBER__MAX_NUMBER: - setMaxNumber((Integer)newValue); - return; - case ApplicationConfigurationPackage.INTERVALL_NUMBER__MAX_UNLIMITED: - setMaxUnlimited((Boolean)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case ApplicationConfigurationPackage.INTERVALL_NUMBER__MIN: - setMin(MIN_EDEFAULT); - return; - case ApplicationConfigurationPackage.INTERVALL_NUMBER__MAX_NUMBER: - setMaxNumber(MAX_NUMBER_EDEFAULT); - return; - case ApplicationConfigurationPackage.INTERVALL_NUMBER__MAX_UNLIMITED: - setMaxUnlimited(MAX_UNLIMITED_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case ApplicationConfigurationPackage.INTERVALL_NUMBER__MIN: - return min != MIN_EDEFAULT; - case ApplicationConfigurationPackage.INTERVALL_NUMBER__MAX_NUMBER: - return maxNumber != MAX_NUMBER_EDEFAULT; - case ApplicationConfigurationPackage.INTERVALL_NUMBER__MAX_UNLIMITED: - return maxUnlimited != MAX_UNLIMITED_EDEFAULT; - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() - { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (min: "); - result.append(min); - result.append(", maxNumber: "); - result.append(maxNumber); - result.append(", maxUnlimited: "); - result.append(maxUnlimited); - result.append(')'); - return result.toString(); - } - -} //IntervallNumberImpl +/** + * generated by Xtext 2.16.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.IntervallNumber; + +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 'Intervall Number'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.IntervallNumberImpl#getMin Min}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.IntervallNumberImpl#getMaxNumber Max Number}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.IntervallNumberImpl#isMaxUnlimited Max Unlimited}
  • + *
+ * + * @generated + */ +public class IntervallNumberImpl extends NumberSpecificationImpl implements IntervallNumber +{ + /** + * 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 #getMaxNumber() Max Number}' attribute. + * + * + * @see #getMaxNumber() + * @generated + * @ordered + */ + protected static final int MAX_NUMBER_EDEFAULT = 0; + + /** + * The cached value of the '{@link #getMaxNumber() Max Number}' attribute. + * + * + * @see #getMaxNumber() + * @generated + * @ordered + */ + protected int maxNumber = MAX_NUMBER_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; + + /** + * + * + * @generated + */ + protected IntervallNumberImpl() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return ApplicationConfigurationPackage.Literals.INTERVALL_NUMBER; + } + + /** + * + * + * @generated + */ + @Override + public int getMin() + { + return min; + } + + /** + * + * + * @generated + */ + @Override + public void setMin(int newMin) + { + int oldMin = min; + min = newMin; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.INTERVALL_NUMBER__MIN, oldMin, min)); + } + + /** + * + * + * @generated + */ + @Override + public int getMaxNumber() + { + return maxNumber; + } + + /** + * + * + * @generated + */ + @Override + public void setMaxNumber(int newMaxNumber) + { + int oldMaxNumber = maxNumber; + maxNumber = newMaxNumber; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.INTERVALL_NUMBER__MAX_NUMBER, oldMaxNumber, maxNumber)); + } + + /** + * + * + * @generated + */ + @Override + public boolean isMaxUnlimited() + { + return maxUnlimited; + } + + /** + * + * + * @generated + */ + @Override + public void setMaxUnlimited(boolean newMaxUnlimited) + { + boolean oldMaxUnlimited = maxUnlimited; + maxUnlimited = newMaxUnlimited; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.INTERVALL_NUMBER__MAX_UNLIMITED, oldMaxUnlimited, maxUnlimited)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case ApplicationConfigurationPackage.INTERVALL_NUMBER__MIN: + return getMin(); + case ApplicationConfigurationPackage.INTERVALL_NUMBER__MAX_NUMBER: + return getMaxNumber(); + case ApplicationConfigurationPackage.INTERVALL_NUMBER__MAX_UNLIMITED: + return isMaxUnlimited(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case ApplicationConfigurationPackage.INTERVALL_NUMBER__MIN: + setMin((Integer)newValue); + return; + case ApplicationConfigurationPackage.INTERVALL_NUMBER__MAX_NUMBER: + setMaxNumber((Integer)newValue); + return; + case ApplicationConfigurationPackage.INTERVALL_NUMBER__MAX_UNLIMITED: + setMaxUnlimited((Boolean)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case ApplicationConfigurationPackage.INTERVALL_NUMBER__MIN: + setMin(MIN_EDEFAULT); + return; + case ApplicationConfigurationPackage.INTERVALL_NUMBER__MAX_NUMBER: + setMaxNumber(MAX_NUMBER_EDEFAULT); + return; + case ApplicationConfigurationPackage.INTERVALL_NUMBER__MAX_UNLIMITED: + setMaxUnlimited(MAX_UNLIMITED_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case ApplicationConfigurationPackage.INTERVALL_NUMBER__MIN: + return min != MIN_EDEFAULT; + case ApplicationConfigurationPackage.INTERVALL_NUMBER__MAX_NUMBER: + return maxNumber != MAX_NUMBER_EDEFAULT; + case ApplicationConfigurationPackage.INTERVALL_NUMBER__MAX_UNLIMITED: + return maxUnlimited != MAX_UNLIMITED_EDEFAULT; + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() + { + if (eIsProxy()) return super.toString(); + + StringBuilder result = new StringBuilder(super.toString()); + result.append(" (min: "); + result.append(min); + result.append(", maxNumber: "); + result.append(maxNumber); + result.append(", maxUnlimited: "); + result.append(maxUnlimited); + result.append(')'); + return result.toString(); + } + +} //IntervallNumberImpl diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/MemoryEntryImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/MemoryEntryImpl.java index 6595f13f..5c76cad2 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/MemoryEntryImpl.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/MemoryEntryImpl.java @@ -1,177 +1,179 @@ -/** - * generated by Xtext 2.12.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.MemoryEntry; - -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 'Memory Entry'. - * - *

- * The following features are implemented: - *

- *
    - *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MemoryEntryImpl#getMegabyteLimit Megabyte Limit}
  • - *
- * - * @generated - */ -public class MemoryEntryImpl extends ConfigEntryImpl implements MemoryEntry -{ - /** - * The default value of the '{@link #getMegabyteLimit() Megabyte Limit}' attribute. - * - * - * @see #getMegabyteLimit() - * @generated - * @ordered - */ - protected static final int MEGABYTE_LIMIT_EDEFAULT = 0; - - /** - * The cached value of the '{@link #getMegabyteLimit() Megabyte Limit}' attribute. - * - * - * @see #getMegabyteLimit() - * @generated - * @ordered - */ - protected int megabyteLimit = MEGABYTE_LIMIT_EDEFAULT; - - /** - * - * - * @generated - */ - protected MemoryEntryImpl() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return ApplicationConfigurationPackage.Literals.MEMORY_ENTRY; - } - - /** - * - * - * @generated - */ - public int getMegabyteLimit() - { - return megabyteLimit; - } - - /** - * - * - * @generated - */ - public void setMegabyteLimit(int newMegabyteLimit) - { - int oldMegabyteLimit = megabyteLimit; - megabyteLimit = newMegabyteLimit; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.MEMORY_ENTRY__MEGABYTE_LIMIT, oldMegabyteLimit, megabyteLimit)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case ApplicationConfigurationPackage.MEMORY_ENTRY__MEGABYTE_LIMIT: - return getMegabyteLimit(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case ApplicationConfigurationPackage.MEMORY_ENTRY__MEGABYTE_LIMIT: - setMegabyteLimit((Integer)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case ApplicationConfigurationPackage.MEMORY_ENTRY__MEGABYTE_LIMIT: - setMegabyteLimit(MEGABYTE_LIMIT_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case ApplicationConfigurationPackage.MEMORY_ENTRY__MEGABYTE_LIMIT: - return megabyteLimit != MEGABYTE_LIMIT_EDEFAULT; - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() - { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (megabyteLimit: "); - result.append(megabyteLimit); - result.append(')'); - return result.toString(); - } - -} //MemoryEntryImpl +/** + * generated by Xtext 2.16.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.MemoryEntry; + +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 'Memory Entry'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MemoryEntryImpl#getMegabyteLimit Megabyte Limit}
  • + *
+ * + * @generated + */ +public class MemoryEntryImpl extends ConfigEntryImpl implements MemoryEntry +{ + /** + * The default value of the '{@link #getMegabyteLimit() Megabyte Limit}' attribute. + * + * + * @see #getMegabyteLimit() + * @generated + * @ordered + */ + protected static final int MEGABYTE_LIMIT_EDEFAULT = 0; + + /** + * The cached value of the '{@link #getMegabyteLimit() Megabyte Limit}' attribute. + * + * + * @see #getMegabyteLimit() + * @generated + * @ordered + */ + protected int megabyteLimit = MEGABYTE_LIMIT_EDEFAULT; + + /** + * + * + * @generated + */ + protected MemoryEntryImpl() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return ApplicationConfigurationPackage.Literals.MEMORY_ENTRY; + } + + /** + * + * + * @generated + */ + @Override + public int getMegabyteLimit() + { + return megabyteLimit; + } + + /** + * + * + * @generated + */ + @Override + public void setMegabyteLimit(int newMegabyteLimit) + { + int oldMegabyteLimit = megabyteLimit; + megabyteLimit = newMegabyteLimit; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.MEMORY_ENTRY__MEGABYTE_LIMIT, oldMegabyteLimit, megabyteLimit)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case ApplicationConfigurationPackage.MEMORY_ENTRY__MEGABYTE_LIMIT: + return getMegabyteLimit(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case ApplicationConfigurationPackage.MEMORY_ENTRY__MEGABYTE_LIMIT: + setMegabyteLimit((Integer)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case ApplicationConfigurationPackage.MEMORY_ENTRY__MEGABYTE_LIMIT: + setMegabyteLimit(MEGABYTE_LIMIT_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case ApplicationConfigurationPackage.MEMORY_ENTRY__MEGABYTE_LIMIT: + return megabyteLimit != MEGABYTE_LIMIT_EDEFAULT; + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() + { + if (eIsProxy()) return super.toString(); + + StringBuilder result = new StringBuilder(super.toString()); + result.append(" (megabyteLimit: "); + result.append(megabyteLimit); + result.append(')'); + return result.toString(); + } + +} //MemoryEntryImpl diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/MetamodelDeclarationImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/MetamodelDeclarationImpl.java index b6da09af..bfa1ebee 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/MetamodelDeclarationImpl.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/MetamodelDeclarationImpl.java @@ -1,194 +1,196 @@ -/** - * generated by Xtext 2.12.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.MetamodelDeclaration; -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelSpecification; - -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 'Metamodel Declaration'. - * - *

- * The following features are implemented: - *

- *
    - *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MetamodelDeclarationImpl#getSpecification Specification}
  • - *
- * - * @generated - */ -public class MetamodelDeclarationImpl extends DeclarationImpl implements MetamodelDeclaration -{ - /** - * The cached value of the '{@link #getSpecification() Specification}' containment reference. - * - * - * @see #getSpecification() - * @generated - * @ordered - */ - protected MetamodelSpecification specification; - - /** - * - * - * @generated - */ - protected MetamodelDeclarationImpl() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return ApplicationConfigurationPackage.Literals.METAMODEL_DECLARATION; - } - - /** - * - * - * @generated - */ - public MetamodelSpecification getSpecification() - { - return specification; - } - - /** - * - * - * @generated - */ - public NotificationChain basicSetSpecification(MetamodelSpecification newSpecification, NotificationChain msgs) - { - MetamodelSpecification oldSpecification = specification; - specification = newSpecification; - if (eNotificationRequired()) - { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.METAMODEL_DECLARATION__SPECIFICATION, oldSpecification, newSpecification); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * - * - * @generated - */ - public void setSpecification(MetamodelSpecification newSpecification) - { - if (newSpecification != specification) - { - NotificationChain msgs = null; - if (specification != null) - msgs = ((InternalEObject)specification).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.METAMODEL_DECLARATION__SPECIFICATION, null, msgs); - if (newSpecification != null) - msgs = ((InternalEObject)newSpecification).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.METAMODEL_DECLARATION__SPECIFICATION, null, msgs); - msgs = basicSetSpecification(newSpecification, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.METAMODEL_DECLARATION__SPECIFICATION, newSpecification, newSpecification)); - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) - { - switch (featureID) - { - case ApplicationConfigurationPackage.METAMODEL_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.METAMODEL_DECLARATION__SPECIFICATION: - return getSpecification(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case ApplicationConfigurationPackage.METAMODEL_DECLARATION__SPECIFICATION: - setSpecification((MetamodelSpecification)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case ApplicationConfigurationPackage.METAMODEL_DECLARATION__SPECIFICATION: - setSpecification((MetamodelSpecification)null); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case ApplicationConfigurationPackage.METAMODEL_DECLARATION__SPECIFICATION: - return specification != null; - } - return super.eIsSet(featureID); - } - -} //MetamodelDeclarationImpl +/** + * generated by Xtext 2.16.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.MetamodelDeclaration; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelSpecification; + +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 'Metamodel Declaration'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MetamodelDeclarationImpl#getSpecification Specification}
  • + *
+ * + * @generated + */ +public class MetamodelDeclarationImpl extends DeclarationImpl implements MetamodelDeclaration +{ + /** + * The cached value of the '{@link #getSpecification() Specification}' containment reference. + * + * + * @see #getSpecification() + * @generated + * @ordered + */ + protected MetamodelSpecification specification; + + /** + * + * + * @generated + */ + protected MetamodelDeclarationImpl() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return ApplicationConfigurationPackage.Literals.METAMODEL_DECLARATION; + } + + /** + * + * + * @generated + */ + @Override + public MetamodelSpecification getSpecification() + { + return specification; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetSpecification(MetamodelSpecification newSpecification, NotificationChain msgs) + { + MetamodelSpecification oldSpecification = specification; + specification = newSpecification; + if (eNotificationRequired()) + { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.METAMODEL_DECLARATION__SPECIFICATION, oldSpecification, newSpecification); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + @Override + public void setSpecification(MetamodelSpecification newSpecification) + { + if (newSpecification != specification) + { + NotificationChain msgs = null; + if (specification != null) + msgs = ((InternalEObject)specification).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.METAMODEL_DECLARATION__SPECIFICATION, null, msgs); + if (newSpecification != null) + msgs = ((InternalEObject)newSpecification).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.METAMODEL_DECLARATION__SPECIFICATION, null, msgs); + msgs = basicSetSpecification(newSpecification, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.METAMODEL_DECLARATION__SPECIFICATION, newSpecification, newSpecification)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) + { + switch (featureID) + { + case ApplicationConfigurationPackage.METAMODEL_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.METAMODEL_DECLARATION__SPECIFICATION: + return getSpecification(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case ApplicationConfigurationPackage.METAMODEL_DECLARATION__SPECIFICATION: + setSpecification((MetamodelSpecification)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case ApplicationConfigurationPackage.METAMODEL_DECLARATION__SPECIFICATION: + setSpecification((MetamodelSpecification)null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case ApplicationConfigurationPackage.METAMODEL_DECLARATION__SPECIFICATION: + return specification != null; + } + return super.eIsSet(featureID); + } + +} //MetamodelDeclarationImpl diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/MetamodelElementImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/MetamodelElementImpl.java index 3395381e..08591722 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/MetamodelElementImpl.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/MetamodelElementImpl.java @@ -1,239 +1,243 @@ -/** - * generated by Xtext 2.12.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.MetamodelElement; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EClassifier; -import org.eclipse.emf.ecore.ENamedElement; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -/** - * - * An implementation of the model object 'Metamodel Element'. - * - *

- * The following features are implemented: - *

- *
    - *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MetamodelElementImpl#getClassifier Classifier}
  • - *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MetamodelElementImpl#getFeature Feature}
  • - *
- * - * @generated - */ -public class MetamodelElementImpl extends MetamodelEntryImpl implements MetamodelElement -{ - /** - * The cached value of the '{@link #getClassifier() Classifier}' reference. - * - * - * @see #getClassifier() - * @generated - * @ordered - */ - protected EClassifier classifier; - - /** - * The cached value of the '{@link #getFeature() Feature}' reference. - * - * - * @see #getFeature() - * @generated - * @ordered - */ - protected ENamedElement feature; - - /** - * - * - * @generated - */ - protected MetamodelElementImpl() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return ApplicationConfigurationPackage.Literals.METAMODEL_ELEMENT; - } - - /** - * - * - * @generated - */ - public EClassifier getClassifier() - { - if (classifier != null && classifier.eIsProxy()) - { - InternalEObject oldClassifier = (InternalEObject)classifier; - classifier = (EClassifier)eResolveProxy(oldClassifier); - if (classifier != oldClassifier) - { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, ApplicationConfigurationPackage.METAMODEL_ELEMENT__CLASSIFIER, oldClassifier, classifier)); - } - } - return classifier; - } - - /** - * - * - * @generated - */ - public EClassifier basicGetClassifier() - { - return classifier; - } - - /** - * - * - * @generated - */ - public void setClassifier(EClassifier newClassifier) - { - EClassifier oldClassifier = classifier; - classifier = newClassifier; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.METAMODEL_ELEMENT__CLASSIFIER, oldClassifier, classifier)); - } - - /** - * - * - * @generated - */ - public ENamedElement getFeature() - { - if (feature != null && feature.eIsProxy()) - { - InternalEObject oldFeature = (InternalEObject)feature; - feature = (ENamedElement)eResolveProxy(oldFeature); - if (feature != oldFeature) - { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, ApplicationConfigurationPackage.METAMODEL_ELEMENT__FEATURE, oldFeature, feature)); - } - } - return feature; - } - - /** - * - * - * @generated - */ - public ENamedElement basicGetFeature() - { - return feature; - } - - /** - * - * - * @generated - */ - public void setFeature(ENamedElement newFeature) - { - ENamedElement oldFeature = feature; - feature = newFeature; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.METAMODEL_ELEMENT__FEATURE, oldFeature, feature)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case ApplicationConfigurationPackage.METAMODEL_ELEMENT__CLASSIFIER: - if (resolve) return getClassifier(); - return basicGetClassifier(); - case ApplicationConfigurationPackage.METAMODEL_ELEMENT__FEATURE: - if (resolve) return getFeature(); - return basicGetFeature(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case ApplicationConfigurationPackage.METAMODEL_ELEMENT__CLASSIFIER: - setClassifier((EClassifier)newValue); - return; - case ApplicationConfigurationPackage.METAMODEL_ELEMENT__FEATURE: - setFeature((ENamedElement)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case ApplicationConfigurationPackage.METAMODEL_ELEMENT__CLASSIFIER: - setClassifier((EClassifier)null); - return; - case ApplicationConfigurationPackage.METAMODEL_ELEMENT__FEATURE: - setFeature((ENamedElement)null); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case ApplicationConfigurationPackage.METAMODEL_ELEMENT__CLASSIFIER: - return classifier != null; - case ApplicationConfigurationPackage.METAMODEL_ELEMENT__FEATURE: - return feature != null; - } - return super.eIsSet(featureID); - } - -} //MetamodelElementImpl +/** + * generated by Xtext 2.16.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.MetamodelElement; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.emf.ecore.ENamedElement; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +/** + * + * An implementation of the model object 'Metamodel Element'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MetamodelElementImpl#getClassifier Classifier}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MetamodelElementImpl#getFeature Feature}
  • + *
+ * + * @generated + */ +public class MetamodelElementImpl extends MetamodelEntryImpl implements MetamodelElement +{ + /** + * The cached value of the '{@link #getClassifier() Classifier}' reference. + * + * + * @see #getClassifier() + * @generated + * @ordered + */ + protected EClassifier classifier; + + /** + * The cached value of the '{@link #getFeature() Feature}' reference. + * + * + * @see #getFeature() + * @generated + * @ordered + */ + protected ENamedElement feature; + + /** + * + * + * @generated + */ + protected MetamodelElementImpl() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return ApplicationConfigurationPackage.Literals.METAMODEL_ELEMENT; + } + + /** + * + * + * @generated + */ + @Override + public EClassifier getClassifier() + { + if (classifier != null && classifier.eIsProxy()) + { + InternalEObject oldClassifier = (InternalEObject)classifier; + classifier = (EClassifier)eResolveProxy(oldClassifier); + if (classifier != oldClassifier) + { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, ApplicationConfigurationPackage.METAMODEL_ELEMENT__CLASSIFIER, oldClassifier, classifier)); + } + } + return classifier; + } + + /** + * + * + * @generated + */ + public EClassifier basicGetClassifier() + { + return classifier; + } + + /** + * + * + * @generated + */ + @Override + public void setClassifier(EClassifier newClassifier) + { + EClassifier oldClassifier = classifier; + classifier = newClassifier; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.METAMODEL_ELEMENT__CLASSIFIER, oldClassifier, classifier)); + } + + /** + * + * + * @generated + */ + @Override + public ENamedElement getFeature() + { + if (feature != null && feature.eIsProxy()) + { + InternalEObject oldFeature = (InternalEObject)feature; + feature = (ENamedElement)eResolveProxy(oldFeature); + if (feature != oldFeature) + { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, ApplicationConfigurationPackage.METAMODEL_ELEMENT__FEATURE, oldFeature, feature)); + } + } + return feature; + } + + /** + * + * + * @generated + */ + public ENamedElement basicGetFeature() + { + return feature; + } + + /** + * + * + * @generated + */ + @Override + public void setFeature(ENamedElement newFeature) + { + ENamedElement oldFeature = feature; + feature = newFeature; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.METAMODEL_ELEMENT__FEATURE, oldFeature, feature)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case ApplicationConfigurationPackage.METAMODEL_ELEMENT__CLASSIFIER: + if (resolve) return getClassifier(); + return basicGetClassifier(); + case ApplicationConfigurationPackage.METAMODEL_ELEMENT__FEATURE: + if (resolve) return getFeature(); + return basicGetFeature(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case ApplicationConfigurationPackage.METAMODEL_ELEMENT__CLASSIFIER: + setClassifier((EClassifier)newValue); + return; + case ApplicationConfigurationPackage.METAMODEL_ELEMENT__FEATURE: + setFeature((ENamedElement)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case ApplicationConfigurationPackage.METAMODEL_ELEMENT__CLASSIFIER: + setClassifier((EClassifier)null); + return; + case ApplicationConfigurationPackage.METAMODEL_ELEMENT__FEATURE: + setFeature((ENamedElement)null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case ApplicationConfigurationPackage.METAMODEL_ELEMENT__CLASSIFIER: + return classifier != null; + case ApplicationConfigurationPackage.METAMODEL_ELEMENT__FEATURE: + return feature != null; + } + return super.eIsSet(featureID); + } + +} //MetamodelElementImpl diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/MetamodelEntryImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/MetamodelEntryImpl.java index af250b5b..b3eb49a1 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/MetamodelEntryImpl.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/MetamodelEntryImpl.java @@ -1,174 +1,176 @@ -/** - * generated by Xtext 2.12.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.MetamodelEntry; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EPackage; -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 'Metamodel Entry'. - * - *

- * The following features are implemented: - *

- *
    - *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MetamodelEntryImpl#getPackage Package}
  • - *
- * - * @generated - */ -public class MetamodelEntryImpl extends MinimalEObjectImpl.Container implements MetamodelEntry -{ - /** - * The cached value of the '{@link #getPackage() Package}' reference. - * - * - * @see #getPackage() - * @generated - * @ordered - */ - protected EPackage package_; - - /** - * - * - * @generated - */ - protected MetamodelEntryImpl() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return ApplicationConfigurationPackage.Literals.METAMODEL_ENTRY; - } - - /** - * - * - * @generated - */ - public EPackage getPackage() - { - if (package_ != null && package_.eIsProxy()) - { - InternalEObject oldPackage = (InternalEObject)package_; - package_ = (EPackage)eResolveProxy(oldPackage); - if (package_ != oldPackage) - { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, ApplicationConfigurationPackage.METAMODEL_ENTRY__PACKAGE, oldPackage, package_)); - } - } - return package_; - } - - /** - * - * - * @generated - */ - public EPackage basicGetPackage() - { - return package_; - } - - /** - * - * - * @generated - */ - public void setPackage(EPackage newPackage) - { - EPackage oldPackage = package_; - package_ = newPackage; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.METAMODEL_ENTRY__PACKAGE, oldPackage, package_)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case ApplicationConfigurationPackage.METAMODEL_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.METAMODEL_ENTRY__PACKAGE: - setPackage((EPackage)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case ApplicationConfigurationPackage.METAMODEL_ENTRY__PACKAGE: - setPackage((EPackage)null); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case ApplicationConfigurationPackage.METAMODEL_ENTRY__PACKAGE: - return package_ != null; - } - return super.eIsSet(featureID); - } - -} //MetamodelEntryImpl +/** + * generated by Xtext 2.16.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.MetamodelEntry; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EPackage; +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 'Metamodel Entry'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MetamodelEntryImpl#getPackage Package}
  • + *
+ * + * @generated + */ +public class MetamodelEntryImpl extends MinimalEObjectImpl.Container implements MetamodelEntry +{ + /** + * The cached value of the '{@link #getPackage() Package}' reference. + * + * + * @see #getPackage() + * @generated + * @ordered + */ + protected EPackage package_; + + /** + * + * + * @generated + */ + protected MetamodelEntryImpl() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return ApplicationConfigurationPackage.Literals.METAMODEL_ENTRY; + } + + /** + * + * + * @generated + */ + @Override + public EPackage getPackage() + { + if (package_ != null && package_.eIsProxy()) + { + InternalEObject oldPackage = (InternalEObject)package_; + package_ = (EPackage)eResolveProxy(oldPackage); + if (package_ != oldPackage) + { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, ApplicationConfigurationPackage.METAMODEL_ENTRY__PACKAGE, oldPackage, package_)); + } + } + return package_; + } + + /** + * + * + * @generated + */ + public EPackage basicGetPackage() + { + return package_; + } + + /** + * + * + * @generated + */ + @Override + public void setPackage(EPackage newPackage) + { + EPackage oldPackage = package_; + package_ = newPackage; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.METAMODEL_ENTRY__PACKAGE, oldPackage, package_)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case ApplicationConfigurationPackage.METAMODEL_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.METAMODEL_ENTRY__PACKAGE: + setPackage((EPackage)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case ApplicationConfigurationPackage.METAMODEL_ENTRY__PACKAGE: + setPackage((EPackage)null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case ApplicationConfigurationPackage.METAMODEL_ENTRY__PACKAGE: + return package_ != null; + } + return super.eIsSet(featureID); + } + +} //MetamodelEntryImpl diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/MetamodelImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/MetamodelImpl.java index bca11595..899e1c19 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/MetamodelImpl.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/MetamodelImpl.java @@ -1,43 +1,43 @@ -/** - * generated by Xtext 2.12.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.Metamodel; - -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; - -/** - * - * An implementation of the model object 'Metamodel'. - * - * - * @generated - */ -public class MetamodelImpl extends MinimalEObjectImpl.Container implements Metamodel -{ - /** - * - * - * @generated - */ - protected MetamodelImpl() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return ApplicationConfigurationPackage.Literals.METAMODEL; - } - -} //MetamodelImpl +/** + * generated by Xtext 2.16.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.Metamodel; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +/** + * + * An implementation of the model object 'Metamodel'. + * + * + * @generated + */ +public class MetamodelImpl extends MinimalEObjectImpl.Container implements Metamodel +{ + /** + * + * + * @generated + */ + protected MetamodelImpl() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return ApplicationConfigurationPackage.Literals.METAMODEL; + } + +} //MetamodelImpl diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/MetamodelReferenceImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/MetamodelReferenceImpl.java index fb93bf8d..2e69e24b 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/MetamodelReferenceImpl.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/MetamodelReferenceImpl.java @@ -1,173 +1,175 @@ -/** - * generated by Xtext 2.12.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.MetamodelDeclaration; -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelReference; - -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 'Metamodel Reference'. - * - *

- * The following features are implemented: - *

- *
    - *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MetamodelReferenceImpl#getReferred Referred}
  • - *
- * - * @generated - */ -public class MetamodelReferenceImpl extends MetamodelImpl implements MetamodelReference -{ - /** - * The cached value of the '{@link #getReferred() Referred}' reference. - * - * - * @see #getReferred() - * @generated - * @ordered - */ - protected MetamodelDeclaration referred; - - /** - * - * - * @generated - */ - protected MetamodelReferenceImpl() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return ApplicationConfigurationPackage.Literals.METAMODEL_REFERENCE; - } - - /** - * - * - * @generated - */ - public MetamodelDeclaration getReferred() - { - if (referred != null && referred.eIsProxy()) - { - InternalEObject oldReferred = (InternalEObject)referred; - referred = (MetamodelDeclaration)eResolveProxy(oldReferred); - if (referred != oldReferred) - { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, ApplicationConfigurationPackage.METAMODEL_REFERENCE__REFERRED, oldReferred, referred)); - } - } - return referred; - } - - /** - * - * - * @generated - */ - public MetamodelDeclaration basicGetReferred() - { - return referred; - } - - /** - * - * - * @generated - */ - public void setReferred(MetamodelDeclaration newReferred) - { - MetamodelDeclaration oldReferred = referred; - referred = newReferred; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.METAMODEL_REFERENCE__REFERRED, oldReferred, referred)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case ApplicationConfigurationPackage.METAMODEL_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.METAMODEL_REFERENCE__REFERRED: - setReferred((MetamodelDeclaration)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case ApplicationConfigurationPackage.METAMODEL_REFERENCE__REFERRED: - setReferred((MetamodelDeclaration)null); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case ApplicationConfigurationPackage.METAMODEL_REFERENCE__REFERRED: - return referred != null; - } - return super.eIsSet(featureID); - } - -} //MetamodelReferenceImpl +/** + * generated by Xtext 2.16.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.MetamodelDeclaration; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelReference; + +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 'Metamodel Reference'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MetamodelReferenceImpl#getReferred Referred}
  • + *
+ * + * @generated + */ +public class MetamodelReferenceImpl extends MetamodelImpl implements MetamodelReference +{ + /** + * The cached value of the '{@link #getReferred() Referred}' reference. + * + * + * @see #getReferred() + * @generated + * @ordered + */ + protected MetamodelDeclaration referred; + + /** + * + * + * @generated + */ + protected MetamodelReferenceImpl() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return ApplicationConfigurationPackage.Literals.METAMODEL_REFERENCE; + } + + /** + * + * + * @generated + */ + @Override + public MetamodelDeclaration getReferred() + { + if (referred != null && referred.eIsProxy()) + { + InternalEObject oldReferred = (InternalEObject)referred; + referred = (MetamodelDeclaration)eResolveProxy(oldReferred); + if (referred != oldReferred) + { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, ApplicationConfigurationPackage.METAMODEL_REFERENCE__REFERRED, oldReferred, referred)); + } + } + return referred; + } + + /** + * + * + * @generated + */ + public MetamodelDeclaration basicGetReferred() + { + return referred; + } + + /** + * + * + * @generated + */ + @Override + public void setReferred(MetamodelDeclaration newReferred) + { + MetamodelDeclaration oldReferred = referred; + referred = newReferred; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.METAMODEL_REFERENCE__REFERRED, oldReferred, referred)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case ApplicationConfigurationPackage.METAMODEL_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.METAMODEL_REFERENCE__REFERRED: + setReferred((MetamodelDeclaration)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case ApplicationConfigurationPackage.METAMODEL_REFERENCE__REFERRED: + setReferred((MetamodelDeclaration)null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case ApplicationConfigurationPackage.METAMODEL_REFERENCE__REFERRED: + return referred != null; + } + return super.eIsSet(featureID); + } + +} //MetamodelReferenceImpl diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/MetamodelSpecificationImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/MetamodelSpecificationImpl.java index 412b46e6..f8aaae1c 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/MetamodelSpecificationImpl.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/MetamodelSpecificationImpl.java @@ -1,166 +1,167 @@ -/** - * generated by Xtext 2.12.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.MetamodelEntry; -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelSpecification; - -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 'Metamodel Specification'. - * - *

- * The following features are implemented: - *

- *
    - *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MetamodelSpecificationImpl#getEntries Entries}
  • - *
- * - * @generated - */ -public class MetamodelSpecificationImpl extends MetamodelImpl implements MetamodelSpecification -{ - /** - * The cached value of the '{@link #getEntries() Entries}' containment reference list. - * - * - * @see #getEntries() - * @generated - * @ordered - */ - protected EList entries; - - /** - * - * - * @generated - */ - protected MetamodelSpecificationImpl() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return ApplicationConfigurationPackage.Literals.METAMODEL_SPECIFICATION; - } - - /** - * - * - * @generated - */ - public EList getEntries() - { - if (entries == null) - { - entries = new EObjectContainmentEList(MetamodelEntry.class, this, ApplicationConfigurationPackage.METAMODEL_SPECIFICATION__ENTRIES); - } - return entries; - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) - { - switch (featureID) - { - case ApplicationConfigurationPackage.METAMODEL_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.METAMODEL_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.METAMODEL_SPECIFICATION__ENTRIES: - getEntries().clear(); - getEntries().addAll((Collection)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case ApplicationConfigurationPackage.METAMODEL_SPECIFICATION__ENTRIES: - getEntries().clear(); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case ApplicationConfigurationPackage.METAMODEL_SPECIFICATION__ENTRIES: - return entries != null && !entries.isEmpty(); - } - return super.eIsSet(featureID); - } - -} //MetamodelSpecificationImpl +/** + * generated by Xtext 2.16.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.MetamodelEntry; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelSpecification; + +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 'Metamodel Specification'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MetamodelSpecificationImpl#getEntries Entries}
  • + *
+ * + * @generated + */ +public class MetamodelSpecificationImpl extends MetamodelImpl implements MetamodelSpecification +{ + /** + * The cached value of the '{@link #getEntries() Entries}' containment reference list. + * + * + * @see #getEntries() + * @generated + * @ordered + */ + protected EList entries; + + /** + * + * + * @generated + */ + protected MetamodelSpecificationImpl() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return ApplicationConfigurationPackage.Literals.METAMODEL_SPECIFICATION; + } + + /** + * + * + * @generated + */ + @Override + public EList getEntries() + { + if (entries == null) + { + entries = new EObjectContainmentEList(MetamodelEntry.class, this, ApplicationConfigurationPackage.METAMODEL_SPECIFICATION__ENTRIES); + } + return entries; + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) + { + switch (featureID) + { + case ApplicationConfigurationPackage.METAMODEL_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.METAMODEL_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.METAMODEL_SPECIFICATION__ENTRIES: + getEntries().clear(); + getEntries().addAll((Collection)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case ApplicationConfigurationPackage.METAMODEL_SPECIFICATION__ENTRIES: + getEntries().clear(); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case ApplicationConfigurationPackage.METAMODEL_SPECIFICATION__ENTRIES: + return entries != null && !entries.isEmpty(); + } + return super.eIsSet(featureID); + } + +} //MetamodelSpecificationImpl 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 index 58c052fe..c7f2b6ec 100644 --- 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 @@ -1,41 +1,41 @@ -/** - * generated by Xtext 2.12.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 +/** + * generated by Xtext 2.16.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/NumberSpecificationImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/NumberSpecificationImpl.java index 124df0f6..853bb539 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/NumberSpecificationImpl.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/NumberSpecificationImpl.java @@ -1,43 +1,43 @@ -/** - * generated by Xtext 2.12.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.NumberSpecification; - -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; - -/** - * - * An implementation of the model object 'Number Specification'. - * - * - * @generated - */ -public class NumberSpecificationImpl extends MinimalEObjectImpl.Container implements NumberSpecification -{ - /** - * - * - * @generated - */ - protected NumberSpecificationImpl() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return ApplicationConfigurationPackage.Literals.NUMBER_SPECIFICATION; - } - -} //NumberSpecificationImpl +/** + * generated by Xtext 2.16.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.NumberSpecification; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +/** + * + * An implementation of the model object 'Number Specification'. + * + * + * @generated + */ +public class NumberSpecificationImpl extends MinimalEObjectImpl.Container implements NumberSpecification +{ + /** + * + * + * @generated + */ + protected NumberSpecificationImpl() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return ApplicationConfigurationPackage.Literals.NUMBER_SPECIFICATION; + } + +} //NumberSpecificationImpl 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 index 9a014ed6..a61feb62 100644 --- 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 @@ -1,41 +1,41 @@ -/** - * generated by Xtext 2.12.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 +/** + * generated by Xtext 2.16.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/ObjectTypeScopeImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ObjectTypeScopeImpl.java index 51b9262b..7aa64823 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ObjectTypeScopeImpl.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ObjectTypeScopeImpl.java @@ -1,194 +1,196 @@ -/** - * generated by Xtext 2.12.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 hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ObjectTypeScope; - -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 'Object Type Scope'. - * - *

- * The following features are implemented: - *

- *
    - *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ObjectTypeScopeImpl#getType Type}
  • - *
- * - * @generated - */ -public class ObjectTypeScopeImpl extends TypeScopeImpl implements ObjectTypeScope -{ - /** - * The cached value of the '{@link #getType() Type}' containment reference. - * - * - * @see #getType() - * @generated - * @ordered - */ - protected ObjectReference type; - - /** - * - * - * @generated - */ - protected ObjectTypeScopeImpl() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return ApplicationConfigurationPackage.Literals.OBJECT_TYPE_SCOPE; - } - - /** - * - * - * @generated - */ - public ObjectReference getType() - { - return type; - } - - /** - * - * - * @generated - */ - public NotificationChain basicSetType(ObjectReference newType, NotificationChain msgs) - { - ObjectReference oldType = type; - type = newType; - if (eNotificationRequired()) - { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.OBJECT_TYPE_SCOPE__TYPE, oldType, newType); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * - * - * @generated - */ - public void setType(ObjectReference newType) - { - if (newType != type) - { - NotificationChain msgs = null; - if (type != null) - msgs = ((InternalEObject)type).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.OBJECT_TYPE_SCOPE__TYPE, null, msgs); - if (newType != null) - msgs = ((InternalEObject)newType).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.OBJECT_TYPE_SCOPE__TYPE, null, msgs); - msgs = basicSetType(newType, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.OBJECT_TYPE_SCOPE__TYPE, newType, newType)); - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) - { - switch (featureID) - { - case ApplicationConfigurationPackage.OBJECT_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.OBJECT_TYPE_SCOPE__TYPE: - return getType(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case ApplicationConfigurationPackage.OBJECT_TYPE_SCOPE__TYPE: - setType((ObjectReference)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case ApplicationConfigurationPackage.OBJECT_TYPE_SCOPE__TYPE: - setType((ObjectReference)null); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case ApplicationConfigurationPackage.OBJECT_TYPE_SCOPE__TYPE: - return type != null; - } - return super.eIsSet(featureID); - } - -} //ObjectTypeScopeImpl +/** + * generated by Xtext 2.16.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 hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ObjectTypeScope; + +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 'Object Type Scope'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ObjectTypeScopeImpl#getType Type}
  • + *
+ * + * @generated + */ +public class ObjectTypeScopeImpl extends TypeScopeImpl implements ObjectTypeScope +{ + /** + * The cached value of the '{@link #getType() Type}' containment reference. + * + * + * @see #getType() + * @generated + * @ordered + */ + protected ObjectReference type; + + /** + * + * + * @generated + */ + protected ObjectTypeScopeImpl() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return ApplicationConfigurationPackage.Literals.OBJECT_TYPE_SCOPE; + } + + /** + * + * + * @generated + */ + @Override + public ObjectReference getType() + { + return type; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetType(ObjectReference newType, NotificationChain msgs) + { + ObjectReference oldType = type; + type = newType; + if (eNotificationRequired()) + { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.OBJECT_TYPE_SCOPE__TYPE, oldType, newType); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + @Override + public void setType(ObjectReference newType) + { + if (newType != type) + { + NotificationChain msgs = null; + if (type != null) + msgs = ((InternalEObject)type).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.OBJECT_TYPE_SCOPE__TYPE, null, msgs); + if (newType != null) + msgs = ((InternalEObject)newType).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.OBJECT_TYPE_SCOPE__TYPE, null, msgs); + msgs = basicSetType(newType, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.OBJECT_TYPE_SCOPE__TYPE, newType, newType)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) + { + switch (featureID) + { + case ApplicationConfigurationPackage.OBJECT_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.OBJECT_TYPE_SCOPE__TYPE: + return getType(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case ApplicationConfigurationPackage.OBJECT_TYPE_SCOPE__TYPE: + setType((ObjectReference)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case ApplicationConfigurationPackage.OBJECT_TYPE_SCOPE__TYPE: + setType((ObjectReference)null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case ApplicationConfigurationPackage.OBJECT_TYPE_SCOPE__TYPE: + return type != null; + } + return super.eIsSet(featureID); + } + +} //ObjectTypeScopeImpl diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ObjectiveDeclarationImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ObjectiveDeclarationImpl.java new file mode 100644 index 00000000..b705144c --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ObjectiveDeclarationImpl.java @@ -0,0 +1,196 @@ +/** + * generated by Xtext 2.16.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.ObjectiveDeclaration; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ObjectiveSpecification; + +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 'Objective Declaration'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ObjectiveDeclarationImpl#getSpecification Specification}
  • + *
+ * + * @generated + */ +public class ObjectiveDeclarationImpl extends DeclarationImpl implements ObjectiveDeclaration +{ + /** + * The cached value of the '{@link #getSpecification() Specification}' containment reference. + * + * + * @see #getSpecification() + * @generated + * @ordered + */ + protected ObjectiveSpecification specification; + + /** + * + * + * @generated + */ + protected ObjectiveDeclarationImpl() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return ApplicationConfigurationPackage.Literals.OBJECTIVE_DECLARATION; + } + + /** + * + * + * @generated + */ + @Override + public ObjectiveSpecification getSpecification() + { + return specification; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetSpecification(ObjectiveSpecification newSpecification, NotificationChain msgs) + { + ObjectiveSpecification oldSpecification = specification; + specification = newSpecification; + if (eNotificationRequired()) + { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.OBJECTIVE_DECLARATION__SPECIFICATION, oldSpecification, newSpecification); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + @Override + public void setSpecification(ObjectiveSpecification newSpecification) + { + if (newSpecification != specification) + { + NotificationChain msgs = null; + if (specification != null) + msgs = ((InternalEObject)specification).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.OBJECTIVE_DECLARATION__SPECIFICATION, null, msgs); + if (newSpecification != null) + msgs = ((InternalEObject)newSpecification).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.OBJECTIVE_DECLARATION__SPECIFICATION, null, msgs); + msgs = basicSetSpecification(newSpecification, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.OBJECTIVE_DECLARATION__SPECIFICATION, newSpecification, newSpecification)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) + { + switch (featureID) + { + case ApplicationConfigurationPackage.OBJECTIVE_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.OBJECTIVE_DECLARATION__SPECIFICATION: + return getSpecification(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case ApplicationConfigurationPackage.OBJECTIVE_DECLARATION__SPECIFICATION: + setSpecification((ObjectiveSpecification)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case ApplicationConfigurationPackage.OBJECTIVE_DECLARATION__SPECIFICATION: + setSpecification((ObjectiveSpecification)null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case ApplicationConfigurationPackage.OBJECTIVE_DECLARATION__SPECIFICATION: + return specification != null; + } + return super.eIsSet(featureID); + } + +} //ObjectiveDeclarationImpl diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ObjectiveEntryImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ObjectiveEntryImpl.java new file mode 100644 index 00000000..4e339a15 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ObjectiveEntryImpl.java @@ -0,0 +1,197 @@ +/** + * generated by Xtext 2.16.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.ObjectiveEntry; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ObjectiveFunction; + +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 'Objective Entry'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ObjectiveEntryImpl#getFunction Function}
  • + *
+ * + * @generated + */ +public class ObjectiveEntryImpl extends MinimalEObjectImpl.Container implements ObjectiveEntry +{ + /** + * The cached value of the '{@link #getFunction() Function}' containment reference. + * + * + * @see #getFunction() + * @generated + * @ordered + */ + protected ObjectiveFunction function; + + /** + * + * + * @generated + */ + protected ObjectiveEntryImpl() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return ApplicationConfigurationPackage.Literals.OBJECTIVE_ENTRY; + } + + /** + * + * + * @generated + */ + @Override + public ObjectiveFunction getFunction() + { + return function; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetFunction(ObjectiveFunction newFunction, NotificationChain msgs) + { + ObjectiveFunction oldFunction = function; + function = newFunction; + if (eNotificationRequired()) + { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.OBJECTIVE_ENTRY__FUNCTION, oldFunction, newFunction); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + @Override + public void setFunction(ObjectiveFunction newFunction) + { + if (newFunction != function) + { + NotificationChain msgs = null; + if (function != null) + msgs = ((InternalEObject)function).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.OBJECTIVE_ENTRY__FUNCTION, null, msgs); + if (newFunction != null) + msgs = ((InternalEObject)newFunction).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.OBJECTIVE_ENTRY__FUNCTION, null, msgs); + msgs = basicSetFunction(newFunction, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.OBJECTIVE_ENTRY__FUNCTION, newFunction, newFunction)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) + { + switch (featureID) + { + case ApplicationConfigurationPackage.OBJECTIVE_ENTRY__FUNCTION: + return basicSetFunction(null, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case ApplicationConfigurationPackage.OBJECTIVE_ENTRY__FUNCTION: + return getFunction(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case ApplicationConfigurationPackage.OBJECTIVE_ENTRY__FUNCTION: + setFunction((ObjectiveFunction)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case ApplicationConfigurationPackage.OBJECTIVE_ENTRY__FUNCTION: + setFunction((ObjectiveFunction)null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case ApplicationConfigurationPackage.OBJECTIVE_ENTRY__FUNCTION: + return function != null; + } + return super.eIsSet(featureID); + } + +} //ObjectiveEntryImpl diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ObjectiveFunctionImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ObjectiveFunctionImpl.java new file mode 100644 index 00000000..33f252be --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ObjectiveFunctionImpl.java @@ -0,0 +1,43 @@ +/** + * generated by Xtext 2.16.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.ObjectiveFunction; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +/** + * + * An implementation of the model object 'Objective Function'. + * + * + * @generated + */ +public class ObjectiveFunctionImpl extends MinimalEObjectImpl.Container implements ObjectiveFunction +{ + /** + * + * + * @generated + */ + protected ObjectiveFunctionImpl() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return ApplicationConfigurationPackage.Literals.OBJECTIVE_FUNCTION; + } + +} //ObjectiveFunctionImpl diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ObjectiveImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ObjectiveImpl.java new file mode 100644 index 00000000..2307f88a --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ObjectiveImpl.java @@ -0,0 +1,43 @@ +/** + * generated by Xtext 2.16.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.Objective; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +/** + * + * An implementation of the model object 'Objective'. + * + * + * @generated + */ +public class ObjectiveImpl extends MinimalEObjectImpl.Container implements Objective +{ + /** + * + * + * @generated + */ + protected ObjectiveImpl() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return ApplicationConfigurationPackage.Literals.OBJECTIVE; + } + +} //ObjectiveImpl diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ObjectiveReferenceImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ObjectiveReferenceImpl.java new file mode 100644 index 00000000..e207ef22 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ObjectiveReferenceImpl.java @@ -0,0 +1,175 @@ +/** + * generated by Xtext 2.16.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.ObjectiveDeclaration; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ObjectiveReference; + +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 'Objective Reference'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ObjectiveReferenceImpl#getReferred Referred}
  • + *
+ * + * @generated + */ +public class ObjectiveReferenceImpl extends ObjectiveImpl implements ObjectiveReference +{ + /** + * The cached value of the '{@link #getReferred() Referred}' reference. + * + * + * @see #getReferred() + * @generated + * @ordered + */ + protected ObjectiveDeclaration referred; + + /** + * + * + * @generated + */ + protected ObjectiveReferenceImpl() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return ApplicationConfigurationPackage.Literals.OBJECTIVE_REFERENCE; + } + + /** + * + * + * @generated + */ + @Override + public ObjectiveDeclaration getReferred() + { + if (referred != null && referred.eIsProxy()) + { + InternalEObject oldReferred = (InternalEObject)referred; + referred = (ObjectiveDeclaration)eResolveProxy(oldReferred); + if (referred != oldReferred) + { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, ApplicationConfigurationPackage.OBJECTIVE_REFERENCE__REFERRED, oldReferred, referred)); + } + } + return referred; + } + + /** + * + * + * @generated + */ + public ObjectiveDeclaration basicGetReferred() + { + return referred; + } + + /** + * + * + * @generated + */ + @Override + public void setReferred(ObjectiveDeclaration newReferred) + { + ObjectiveDeclaration oldReferred = referred; + referred = newReferred; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.OBJECTIVE_REFERENCE__REFERRED, oldReferred, referred)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case ApplicationConfigurationPackage.OBJECTIVE_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.OBJECTIVE_REFERENCE__REFERRED: + setReferred((ObjectiveDeclaration)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case ApplicationConfigurationPackage.OBJECTIVE_REFERENCE__REFERRED: + setReferred((ObjectiveDeclaration)null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case ApplicationConfigurationPackage.OBJECTIVE_REFERENCE__REFERRED: + return referred != null; + } + return super.eIsSet(featureID); + } + +} //ObjectiveReferenceImpl diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ObjectiveSpecificationImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ObjectiveSpecificationImpl.java new file mode 100644 index 00000000..2ae968a1 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ObjectiveSpecificationImpl.java @@ -0,0 +1,167 @@ +/** + * generated by Xtext 2.16.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.ObjectiveEntry; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ObjectiveSpecification; + +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 'Objective Specification'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ObjectiveSpecificationImpl#getEntries Entries}
  • + *
+ * + * @generated + */ +public class ObjectiveSpecificationImpl extends ObjectiveImpl implements ObjectiveSpecification +{ + /** + * The cached value of the '{@link #getEntries() Entries}' containment reference list. + * + * + * @see #getEntries() + * @generated + * @ordered + */ + protected EList entries; + + /** + * + * + * @generated + */ + protected ObjectiveSpecificationImpl() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return ApplicationConfigurationPackage.Literals.OBJECTIVE_SPECIFICATION; + } + + /** + * + * + * @generated + */ + @Override + public EList getEntries() + { + if (entries == null) + { + entries = new EObjectContainmentEList(ObjectiveEntry.class, this, ApplicationConfigurationPackage.OBJECTIVE_SPECIFICATION__ENTRIES); + } + return entries; + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) + { + switch (featureID) + { + case ApplicationConfigurationPackage.OBJECTIVE_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.OBJECTIVE_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.OBJECTIVE_SPECIFICATION__ENTRIES: + getEntries().clear(); + getEntries().addAll((Collection)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case ApplicationConfigurationPackage.OBJECTIVE_SPECIFICATION__ENTRIES: + getEntries().clear(); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case ApplicationConfigurationPackage.OBJECTIVE_SPECIFICATION__ENTRIES: + return entries != null && !entries.isEmpty(); + } + return super.eIsSet(featureID); + } + +} //ObjectiveSpecificationImpl diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/OptimizationEntryImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/OptimizationEntryImpl.java new file mode 100644 index 00000000..a4561862 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/OptimizationEntryImpl.java @@ -0,0 +1,180 @@ +/** + * generated by Xtext 2.16.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.OptimizationDirection; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.OptimizationEntry; + +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 'Optimization Entry'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.OptimizationEntryImpl#getDirection Direction}
  • + *
+ * + * @generated + */ +public class OptimizationEntryImpl extends ObjectiveEntryImpl implements OptimizationEntry +{ + /** + * The default value of the '{@link #getDirection() Direction}' attribute. + * + * + * @see #getDirection() + * @generated + * @ordered + */ + protected static final OptimizationDirection DIRECTION_EDEFAULT = OptimizationDirection.MINIMIZE; + + /** + * The cached value of the '{@link #getDirection() Direction}' attribute. + * + * + * @see #getDirection() + * @generated + * @ordered + */ + protected OptimizationDirection direction = DIRECTION_EDEFAULT; + + /** + * + * + * @generated + */ + protected OptimizationEntryImpl() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return ApplicationConfigurationPackage.Literals.OPTIMIZATION_ENTRY; + } + + /** + * + * + * @generated + */ + @Override + public OptimizationDirection getDirection() + { + return direction; + } + + /** + * + * + * @generated + */ + @Override + public void setDirection(OptimizationDirection newDirection) + { + OptimizationDirection oldDirection = direction; + direction = newDirection == null ? DIRECTION_EDEFAULT : newDirection; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.OPTIMIZATION_ENTRY__DIRECTION, oldDirection, direction)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case ApplicationConfigurationPackage.OPTIMIZATION_ENTRY__DIRECTION: + return getDirection(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case ApplicationConfigurationPackage.OPTIMIZATION_ENTRY__DIRECTION: + setDirection((OptimizationDirection)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case ApplicationConfigurationPackage.OPTIMIZATION_ENTRY__DIRECTION: + setDirection(DIRECTION_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case ApplicationConfigurationPackage.OPTIMIZATION_ENTRY__DIRECTION: + return direction != DIRECTION_EDEFAULT; + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() + { + if (eIsProxy()) return super.toString(); + + StringBuilder result = new StringBuilder(super.toString()); + result.append(" (direction: "); + result.append(direction); + result.append(')'); + return result.toString(); + } + +} //OptimizationEntryImpl 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 index 2932fa6e..ce69472e 100644 --- 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 @@ -1,194 +1,196 @@ -/** - * generated by Xtext 2.12.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 +/** + * generated by Xtext 2.16.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 + */ + @Override + 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 + */ + @Override + 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 index 23571a76..3bcaec12 100644 --- 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 @@ -1,195 +1,197 @@ -/** - * generated by Xtext 2.12.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 +/** + * generated by Xtext 2.16.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 + */ + @Override + 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 + */ + @Override + 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 index ccccd0cb..b50d6698 100644 --- 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 @@ -1,43 +1,43 @@ -/** - * generated by Xtext 2.12.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 +/** + * generated by Xtext 2.16.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 index 1af7e8ad..4384b273 100644 --- 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 @@ -1,173 +1,175 @@ -/** - * generated by Xtext 2.12.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 +/** + * generated by Xtext 2.16.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 + */ + @Override + 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 + */ + @Override + 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 index 5098cc3d..79c1c236 100644 --- 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 @@ -1,166 +1,167 @@ -/** - * generated by Xtext 2.12.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 +/** + * generated by Xtext 2.16.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 + */ + @Override + 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 index 55391651..b39866b8 100644 --- 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 @@ -1,174 +1,176 @@ -/** - * generated by Xtext 2.12.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.emf.vql.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 +/** + * generated by Xtext 2.16.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.emf.vql.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 + */ + @Override + 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 + */ + @Override + 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 index d00accae..56fa0313 100644 --- 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 @@ -1,175 +1,177 @@ -/** - * generated by Xtext 2.12.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.emf.vql.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 +/** + * generated by Xtext 2.16.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.emf.vql.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 + */ + @Override + 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 + */ + @Override + 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 index 410ad21c..eb1be0e0 100644 --- 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 @@ -1,166 +1,167 @@ -/** - * generated by Xtext 2.12.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 +/** + * generated by Xtext 2.16.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 + */ + @Override + 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/RealEnumerationImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/RealEnumerationImpl.java index d19d0bfb..a14762a6 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/RealEnumerationImpl.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/RealEnumerationImpl.java @@ -1,164 +1,165 @@ -/** - * generated by Xtext 2.12.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.RealEnumeration; - -import java.math.BigDecimal; - -import java.util.Collection; - -import org.eclipse.emf.common.util.EList; - -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.emf.ecore.util.EDataTypeEList; - -/** - * - * An implementation of the model object 'Real Enumeration'. - * - *

- * The following features are implemented: - *

- *
    - *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.RealEnumerationImpl#getEntry Entry}
  • - *
- * - * @generated - */ -public class RealEnumerationImpl extends NumberSpecificationImpl implements RealEnumeration -{ - /** - * The cached value of the '{@link #getEntry() Entry}' attribute list. - * - * - * @see #getEntry() - * @generated - * @ordered - */ - protected EList entry; - - /** - * - * - * @generated - */ - protected RealEnumerationImpl() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return ApplicationConfigurationPackage.Literals.REAL_ENUMERATION; - } - - /** - * - * - * @generated - */ - public EList getEntry() - { - if (entry == null) - { - entry = new EDataTypeEList(BigDecimal.class, this, ApplicationConfigurationPackage.REAL_ENUMERATION__ENTRY); - } - return entry; - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case ApplicationConfigurationPackage.REAL_ENUMERATION__ENTRY: - return getEntry(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case ApplicationConfigurationPackage.REAL_ENUMERATION__ENTRY: - getEntry().clear(); - getEntry().addAll((Collection)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case ApplicationConfigurationPackage.REAL_ENUMERATION__ENTRY: - getEntry().clear(); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case ApplicationConfigurationPackage.REAL_ENUMERATION__ENTRY: - return entry != null && !entry.isEmpty(); - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() - { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (entry: "); - result.append(entry); - result.append(')'); - return result.toString(); - } - -} //RealEnumerationImpl +/** + * generated by Xtext 2.16.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.RealEnumeration; + +import java.math.BigDecimal; + +import java.util.Collection; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.emf.ecore.util.EDataTypeEList; + +/** + * + * An implementation of the model object 'Real Enumeration'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.RealEnumerationImpl#getEntry Entry}
  • + *
+ * + * @generated + */ +public class RealEnumerationImpl extends NumberSpecificationImpl implements RealEnumeration +{ + /** + * The cached value of the '{@link #getEntry() Entry}' attribute list. + * + * + * @see #getEntry() + * @generated + * @ordered + */ + protected EList entry; + + /** + * + * + * @generated + */ + protected RealEnumerationImpl() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return ApplicationConfigurationPackage.Literals.REAL_ENUMERATION; + } + + /** + * + * + * @generated + */ + @Override + public EList getEntry() + { + if (entry == null) + { + entry = new EDataTypeEList(BigDecimal.class, this, ApplicationConfigurationPackage.REAL_ENUMERATION__ENTRY); + } + return entry; + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case ApplicationConfigurationPackage.REAL_ENUMERATION__ENTRY: + return getEntry(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case ApplicationConfigurationPackage.REAL_ENUMERATION__ENTRY: + getEntry().clear(); + getEntry().addAll((Collection)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case ApplicationConfigurationPackage.REAL_ENUMERATION__ENTRY: + getEntry().clear(); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case ApplicationConfigurationPackage.REAL_ENUMERATION__ENTRY: + return entry != null && !entry.isEmpty(); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() + { + if (eIsProxy()) return super.toString(); + + StringBuilder result = new StringBuilder(super.toString()); + result.append(" (entry: "); + result.append(entry); + result.append(')'); + return result.toString(); + } + +} //RealEnumerationImpl 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 index e34982fc..9f879728 100644 --- 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 @@ -1,41 +1,41 @@ -/** - * generated by Xtext 2.12.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 +/** + * generated by Xtext 2.16.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 index a936da12..b7efecba 100644 --- 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 @@ -1,41 +1,41 @@ -/** - * generated by Xtext 2.12.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 +/** + * generated by Xtext 2.16.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/RealTypeScopeImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/RealTypeScopeImpl.java index dc3d6fc9..5c39a98e 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/RealTypeScopeImpl.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/RealTypeScopeImpl.java @@ -1,194 +1,196 @@ -/** - * generated by Xtext 2.12.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 hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RealTypeScope; - -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 'Real Type Scope'. - * - *

- * The following features are implemented: - *

- *
    - *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.RealTypeScopeImpl#getType Type}
  • - *
- * - * @generated - */ -public class RealTypeScopeImpl extends TypeScopeImpl implements RealTypeScope -{ - /** - * The cached value of the '{@link #getType() Type}' containment reference. - * - * - * @see #getType() - * @generated - * @ordered - */ - protected RealReference type; - - /** - * - * - * @generated - */ - protected RealTypeScopeImpl() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return ApplicationConfigurationPackage.Literals.REAL_TYPE_SCOPE; - } - - /** - * - * - * @generated - */ - public RealReference getType() - { - return type; - } - - /** - * - * - * @generated - */ - public NotificationChain basicSetType(RealReference newType, NotificationChain msgs) - { - RealReference oldType = type; - type = newType; - if (eNotificationRequired()) - { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.REAL_TYPE_SCOPE__TYPE, oldType, newType); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * - * - * @generated - */ - public void setType(RealReference newType) - { - if (newType != type) - { - NotificationChain msgs = null; - if (type != null) - msgs = ((InternalEObject)type).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.REAL_TYPE_SCOPE__TYPE, null, msgs); - if (newType != null) - msgs = ((InternalEObject)newType).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.REAL_TYPE_SCOPE__TYPE, null, msgs); - msgs = basicSetType(newType, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.REAL_TYPE_SCOPE__TYPE, newType, newType)); - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) - { - switch (featureID) - { - case ApplicationConfigurationPackage.REAL_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.REAL_TYPE_SCOPE__TYPE: - return getType(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case ApplicationConfigurationPackage.REAL_TYPE_SCOPE__TYPE: - setType((RealReference)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case ApplicationConfigurationPackage.REAL_TYPE_SCOPE__TYPE: - setType((RealReference)null); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case ApplicationConfigurationPackage.REAL_TYPE_SCOPE__TYPE: - return type != null; - } - return super.eIsSet(featureID); - } - -} //RealTypeScopeImpl +/** + * generated by Xtext 2.16.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 hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RealTypeScope; + +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 'Real Type Scope'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.RealTypeScopeImpl#getType Type}
  • + *
+ * + * @generated + */ +public class RealTypeScopeImpl extends TypeScopeImpl implements RealTypeScope +{ + /** + * The cached value of the '{@link #getType() Type}' containment reference. + * + * + * @see #getType() + * @generated + * @ordered + */ + protected RealReference type; + + /** + * + * + * @generated + */ + protected RealTypeScopeImpl() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return ApplicationConfigurationPackage.Literals.REAL_TYPE_SCOPE; + } + + /** + * + * + * @generated + */ + @Override + public RealReference getType() + { + return type; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetType(RealReference newType, NotificationChain msgs) + { + RealReference oldType = type; + type = newType; + if (eNotificationRequired()) + { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.REAL_TYPE_SCOPE__TYPE, oldType, newType); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + @Override + public void setType(RealReference newType) + { + if (newType != type) + { + NotificationChain msgs = null; + if (type != null) + msgs = ((InternalEObject)type).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.REAL_TYPE_SCOPE__TYPE, null, msgs); + if (newType != null) + msgs = ((InternalEObject)newType).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.REAL_TYPE_SCOPE__TYPE, null, msgs); + msgs = basicSetType(newType, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.REAL_TYPE_SCOPE__TYPE, newType, newType)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) + { + switch (featureID) + { + case ApplicationConfigurationPackage.REAL_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.REAL_TYPE_SCOPE__TYPE: + return getType(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case ApplicationConfigurationPackage.REAL_TYPE_SCOPE__TYPE: + setType((RealReference)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case ApplicationConfigurationPackage.REAL_TYPE_SCOPE__TYPE: + setType((RealReference)null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case ApplicationConfigurationPackage.REAL_TYPE_SCOPE__TYPE: + return type != null; + } + return super.eIsSet(featureID); + } + +} //RealTypeScopeImpl diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ReliabiltiyFunctionImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ReliabiltiyFunctionImpl.java new file mode 100644 index 00000000..b848c329 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ReliabiltiyFunctionImpl.java @@ -0,0 +1,244 @@ +/** + * generated by Xtext 2.16.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.ReliabiltiyFunction; + +import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftModel; +import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.TransformationDefinition; + +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 'Reliabiltiy Function'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ReliabiltiyFunctionImpl#getPackage Package}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ReliabiltiyFunctionImpl#getTransformation Transformation}
  • + *
+ * + * @generated + */ +public class ReliabiltiyFunctionImpl extends ObjectiveFunctionImpl implements ReliabiltiyFunction +{ + /** + * The cached value of the '{@link #getPackage() Package}' reference. + * + * + * @see #getPackage() + * @generated + * @ordered + */ + protected CftModel package_; + + /** + * The cached value of the '{@link #getTransformation() Transformation}' reference. + * + * + * @see #getTransformation() + * @generated + * @ordered + */ + protected TransformationDefinition transformation; + + /** + * + * + * @generated + */ + protected ReliabiltiyFunctionImpl() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return ApplicationConfigurationPackage.Literals.RELIABILTIY_FUNCTION; + } + + /** + * + * + * @generated + */ + @Override + public CftModel getPackage() + { + if (package_ != null && package_.eIsProxy()) + { + InternalEObject oldPackage = (InternalEObject)package_; + package_ = (CftModel)eResolveProxy(oldPackage); + if (package_ != oldPackage) + { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, ApplicationConfigurationPackage.RELIABILTIY_FUNCTION__PACKAGE, oldPackage, package_)); + } + } + return package_; + } + + /** + * + * + * @generated + */ + public CftModel basicGetPackage() + { + return package_; + } + + /** + * + * + * @generated + */ + @Override + public void setPackage(CftModel newPackage) + { + CftModel oldPackage = package_; + package_ = newPackage; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.RELIABILTIY_FUNCTION__PACKAGE, oldPackage, package_)); + } + + /** + * + * + * @generated + */ + @Override + public TransformationDefinition getTransformation() + { + if (transformation != null && transformation.eIsProxy()) + { + InternalEObject oldTransformation = (InternalEObject)transformation; + transformation = (TransformationDefinition)eResolveProxy(oldTransformation); + if (transformation != oldTransformation) + { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, ApplicationConfigurationPackage.RELIABILTIY_FUNCTION__TRANSFORMATION, oldTransformation, transformation)); + } + } + return transformation; + } + + /** + * + * + * @generated + */ + public TransformationDefinition basicGetTransformation() + { + return transformation; + } + + /** + * + * + * @generated + */ + @Override + public void setTransformation(TransformationDefinition newTransformation) + { + TransformationDefinition oldTransformation = transformation; + transformation = newTransformation; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.RELIABILTIY_FUNCTION__TRANSFORMATION, oldTransformation, transformation)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case ApplicationConfigurationPackage.RELIABILTIY_FUNCTION__PACKAGE: + if (resolve) return getPackage(); + return basicGetPackage(); + case ApplicationConfigurationPackage.RELIABILTIY_FUNCTION__TRANSFORMATION: + if (resolve) return getTransformation(); + return basicGetTransformation(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case ApplicationConfigurationPackage.RELIABILTIY_FUNCTION__PACKAGE: + setPackage((CftModel)newValue); + return; + case ApplicationConfigurationPackage.RELIABILTIY_FUNCTION__TRANSFORMATION: + setTransformation((TransformationDefinition)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case ApplicationConfigurationPackage.RELIABILTIY_FUNCTION__PACKAGE: + setPackage((CftModel)null); + return; + case ApplicationConfigurationPackage.RELIABILTIY_FUNCTION__TRANSFORMATION: + setTransformation((TransformationDefinition)null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case ApplicationConfigurationPackage.RELIABILTIY_FUNCTION__PACKAGE: + return package_ != null; + case ApplicationConfigurationPackage.RELIABILTIY_FUNCTION__TRANSFORMATION: + return transformation != null; + } + return super.eIsSet(featureID); + } + +} //ReliabiltiyFunctionImpl diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/RuntimeEntryImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/RuntimeEntryImpl.java index 9abb1448..c6e4f885 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/RuntimeEntryImpl.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/RuntimeEntryImpl.java @@ -1,177 +1,179 @@ -/** - * generated by Xtext 2.12.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.RuntimeEntry; - -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 'Runtime Entry'. - * - *

- * The following features are implemented: - *

- *
    - *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.RuntimeEntryImpl#getMillisecLimit Millisec Limit}
  • - *
- * - * @generated - */ -public class RuntimeEntryImpl extends ConfigEntryImpl implements RuntimeEntry -{ - /** - * The default value of the '{@link #getMillisecLimit() Millisec Limit}' attribute. - * - * - * @see #getMillisecLimit() - * @generated - * @ordered - */ - protected static final int MILLISEC_LIMIT_EDEFAULT = 0; - - /** - * The cached value of the '{@link #getMillisecLimit() Millisec Limit}' attribute. - * - * - * @see #getMillisecLimit() - * @generated - * @ordered - */ - protected int millisecLimit = MILLISEC_LIMIT_EDEFAULT; - - /** - * - * - * @generated - */ - protected RuntimeEntryImpl() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return ApplicationConfigurationPackage.Literals.RUNTIME_ENTRY; - } - - /** - * - * - * @generated - */ - public int getMillisecLimit() - { - return millisecLimit; - } - - /** - * - * - * @generated - */ - public void setMillisecLimit(int newMillisecLimit) - { - int oldMillisecLimit = millisecLimit; - millisecLimit = newMillisecLimit; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.RUNTIME_ENTRY__MILLISEC_LIMIT, oldMillisecLimit, millisecLimit)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case ApplicationConfigurationPackage.RUNTIME_ENTRY__MILLISEC_LIMIT: - return getMillisecLimit(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case ApplicationConfigurationPackage.RUNTIME_ENTRY__MILLISEC_LIMIT: - setMillisecLimit((Integer)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case ApplicationConfigurationPackage.RUNTIME_ENTRY__MILLISEC_LIMIT: - setMillisecLimit(MILLISEC_LIMIT_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case ApplicationConfigurationPackage.RUNTIME_ENTRY__MILLISEC_LIMIT: - return millisecLimit != MILLISEC_LIMIT_EDEFAULT; - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() - { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (millisecLimit: "); - result.append(millisecLimit); - result.append(')'); - return result.toString(); - } - -} //RuntimeEntryImpl +/** + * generated by Xtext 2.16.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.RuntimeEntry; + +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 'Runtime Entry'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.RuntimeEntryImpl#getMillisecLimit Millisec Limit}
  • + *
+ * + * @generated + */ +public class RuntimeEntryImpl extends ConfigEntryImpl implements RuntimeEntry +{ + /** + * The default value of the '{@link #getMillisecLimit() Millisec Limit}' attribute. + * + * + * @see #getMillisecLimit() + * @generated + * @ordered + */ + protected static final int MILLISEC_LIMIT_EDEFAULT = 0; + + /** + * The cached value of the '{@link #getMillisecLimit() Millisec Limit}' attribute. + * + * + * @see #getMillisecLimit() + * @generated + * @ordered + */ + protected int millisecLimit = MILLISEC_LIMIT_EDEFAULT; + + /** + * + * + * @generated + */ + protected RuntimeEntryImpl() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return ApplicationConfigurationPackage.Literals.RUNTIME_ENTRY; + } + + /** + * + * + * @generated + */ + @Override + public int getMillisecLimit() + { + return millisecLimit; + } + + /** + * + * + * @generated + */ + @Override + public void setMillisecLimit(int newMillisecLimit) + { + int oldMillisecLimit = millisecLimit; + millisecLimit = newMillisecLimit; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.RUNTIME_ENTRY__MILLISEC_LIMIT, oldMillisecLimit, millisecLimit)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case ApplicationConfigurationPackage.RUNTIME_ENTRY__MILLISEC_LIMIT: + return getMillisecLimit(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case ApplicationConfigurationPackage.RUNTIME_ENTRY__MILLISEC_LIMIT: + setMillisecLimit((Integer)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case ApplicationConfigurationPackage.RUNTIME_ENTRY__MILLISEC_LIMIT: + setMillisecLimit(MILLISEC_LIMIT_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case ApplicationConfigurationPackage.RUNTIME_ENTRY__MILLISEC_LIMIT: + return millisecLimit != MILLISEC_LIMIT_EDEFAULT; + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() + { + if (eIsProxy()) return super.toString(); + + StringBuilder result = new StringBuilder(super.toString()); + result.append(" (millisecLimit: "); + result.append(millisecLimit); + result.append(')'); + return result.toString(); + } + +} //RuntimeEntryImpl 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 index c731abbb..030d1600 100644 --- 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 @@ -1,194 +1,196 @@ -/** - * generated by Xtext 2.12.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 +/** + * generated by Xtext 2.16.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 + */ + @Override + 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 + */ + @Override + 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 index 92309b90..ddc4299e 100644 --- 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 @@ -1,43 +1,43 @@ -/** - * generated by Xtext 2.12.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 +/** + * generated by Xtext 2.16.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 index 74f1c235..81ae4f11 100644 --- 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 @@ -1,173 +1,175 @@ -/** - * generated by Xtext 2.12.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 +/** + * generated by Xtext 2.16.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 + */ + @Override + 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 + */ + @Override + 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 index b9e4f045..bfa4fb1a 100644 --- 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 @@ -1,166 +1,167 @@ -/** - * generated by Xtext 2.12.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 +/** + * generated by Xtext 2.16.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 + */ + @Override + 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/StringEnumerationImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/StringEnumerationImpl.java index 7e72525a..fcd8bb08 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/StringEnumerationImpl.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/StringEnumerationImpl.java @@ -1,162 +1,163 @@ -/** - * generated by Xtext 2.12.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.StringEnumeration; - -import java.util.Collection; - -import org.eclipse.emf.common.util.EList; - -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.emf.ecore.util.EDataTypeEList; - -/** - * - * An implementation of the model object 'String Enumeration'. - * - *

- * The following features are implemented: - *

- *
    - *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.StringEnumerationImpl#getEntry Entry}
  • - *
- * - * @generated - */ -public class StringEnumerationImpl extends NumberSpecificationImpl implements StringEnumeration -{ - /** - * The cached value of the '{@link #getEntry() Entry}' attribute list. - * - * - * @see #getEntry() - * @generated - * @ordered - */ - protected EList entry; - - /** - * - * - * @generated - */ - protected StringEnumerationImpl() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return ApplicationConfigurationPackage.Literals.STRING_ENUMERATION; - } - - /** - * - * - * @generated - */ - public EList getEntry() - { - if (entry == null) - { - entry = new EDataTypeEList(String.class, this, ApplicationConfigurationPackage.STRING_ENUMERATION__ENTRY); - } - return entry; - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case ApplicationConfigurationPackage.STRING_ENUMERATION__ENTRY: - return getEntry(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case ApplicationConfigurationPackage.STRING_ENUMERATION__ENTRY: - getEntry().clear(); - getEntry().addAll((Collection)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case ApplicationConfigurationPackage.STRING_ENUMERATION__ENTRY: - getEntry().clear(); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case ApplicationConfigurationPackage.STRING_ENUMERATION__ENTRY: - return entry != null && !entry.isEmpty(); - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() - { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (entry: "); - result.append(entry); - result.append(')'); - return result.toString(); - } - -} //StringEnumerationImpl +/** + * generated by Xtext 2.16.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.StringEnumeration; + +import java.util.Collection; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.emf.ecore.util.EDataTypeEList; + +/** + * + * An implementation of the model object 'String Enumeration'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.StringEnumerationImpl#getEntry Entry}
  • + *
+ * + * @generated + */ +public class StringEnumerationImpl extends NumberSpecificationImpl implements StringEnumeration +{ + /** + * The cached value of the '{@link #getEntry() Entry}' attribute list. + * + * + * @see #getEntry() + * @generated + * @ordered + */ + protected EList entry; + + /** + * + * + * @generated + */ + protected StringEnumerationImpl() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return ApplicationConfigurationPackage.Literals.STRING_ENUMERATION; + } + + /** + * + * + * @generated + */ + @Override + public EList getEntry() + { + if (entry == null) + { + entry = new EDataTypeEList(String.class, this, ApplicationConfigurationPackage.STRING_ENUMERATION__ENTRY); + } + return entry; + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case ApplicationConfigurationPackage.STRING_ENUMERATION__ENTRY: + return getEntry(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case ApplicationConfigurationPackage.STRING_ENUMERATION__ENTRY: + getEntry().clear(); + getEntry().addAll((Collection)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case ApplicationConfigurationPackage.STRING_ENUMERATION__ENTRY: + getEntry().clear(); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case ApplicationConfigurationPackage.STRING_ENUMERATION__ENTRY: + return entry != null && !entry.isEmpty(); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() + { + if (eIsProxy()) return super.toString(); + + StringBuilder result = new StringBuilder(super.toString()); + result.append(" (entry: "); + result.append(entry); + result.append(')'); + return result.toString(); + } + +} //StringEnumerationImpl 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 index c6b29515..40e468b1 100644 --- 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 @@ -1,41 +1,41 @@ -/** - * generated by Xtext 2.12.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 +/** + * generated by Xtext 2.16.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 index c9c60e7b..536f3016 100644 --- 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 @@ -1,41 +1,41 @@ -/** - * generated by Xtext 2.12.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 +/** + * generated by Xtext 2.16.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/StringTypeScopeImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/StringTypeScopeImpl.java index 1f0f0b2e..4d038c34 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/StringTypeScopeImpl.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/StringTypeScopeImpl.java @@ -1,194 +1,196 @@ -/** - * generated by Xtext 2.12.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 hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.StringTypeScope; - -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 'String Type Scope'. - * - *

- * The following features are implemented: - *

- *
    - *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.StringTypeScopeImpl#getType Type}
  • - *
- * - * @generated - */ -public class StringTypeScopeImpl extends TypeScopeImpl implements StringTypeScope -{ - /** - * The cached value of the '{@link #getType() Type}' containment reference. - * - * - * @see #getType() - * @generated - * @ordered - */ - protected StringReference type; - - /** - * - * - * @generated - */ - protected StringTypeScopeImpl() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return ApplicationConfigurationPackage.Literals.STRING_TYPE_SCOPE; - } - - /** - * - * - * @generated - */ - public StringReference getType() - { - return type; - } - - /** - * - * - * @generated - */ - public NotificationChain basicSetType(StringReference newType, NotificationChain msgs) - { - StringReference oldType = type; - type = newType; - if (eNotificationRequired()) - { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.STRING_TYPE_SCOPE__TYPE, oldType, newType); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * - * - * @generated - */ - public void setType(StringReference newType) - { - if (newType != type) - { - NotificationChain msgs = null; - if (type != null) - msgs = ((InternalEObject)type).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.STRING_TYPE_SCOPE__TYPE, null, msgs); - if (newType != null) - msgs = ((InternalEObject)newType).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.STRING_TYPE_SCOPE__TYPE, null, msgs); - msgs = basicSetType(newType, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.STRING_TYPE_SCOPE__TYPE, newType, newType)); - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) - { - switch (featureID) - { - case ApplicationConfigurationPackage.STRING_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.STRING_TYPE_SCOPE__TYPE: - return getType(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case ApplicationConfigurationPackage.STRING_TYPE_SCOPE__TYPE: - setType((StringReference)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case ApplicationConfigurationPackage.STRING_TYPE_SCOPE__TYPE: - setType((StringReference)null); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case ApplicationConfigurationPackage.STRING_TYPE_SCOPE__TYPE: - return type != null; - } - return super.eIsSet(featureID); - } - -} //StringTypeScopeImpl +/** + * generated by Xtext 2.16.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 hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.StringTypeScope; + +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 'String Type Scope'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.StringTypeScopeImpl#getType Type}
  • + *
+ * + * @generated + */ +public class StringTypeScopeImpl extends TypeScopeImpl implements StringTypeScope +{ + /** + * The cached value of the '{@link #getType() Type}' containment reference. + * + * + * @see #getType() + * @generated + * @ordered + */ + protected StringReference type; + + /** + * + * + * @generated + */ + protected StringTypeScopeImpl() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return ApplicationConfigurationPackage.Literals.STRING_TYPE_SCOPE; + } + + /** + * + * + * @generated + */ + @Override + public StringReference getType() + { + return type; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetType(StringReference newType, NotificationChain msgs) + { + StringReference oldType = type; + type = newType; + if (eNotificationRequired()) + { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.STRING_TYPE_SCOPE__TYPE, oldType, newType); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + @Override + public void setType(StringReference newType) + { + if (newType != type) + { + NotificationChain msgs = null; + if (type != null) + msgs = ((InternalEObject)type).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.STRING_TYPE_SCOPE__TYPE, null, msgs); + if (newType != null) + msgs = ((InternalEObject)newType).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.STRING_TYPE_SCOPE__TYPE, null, msgs); + msgs = basicSetType(newType, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.STRING_TYPE_SCOPE__TYPE, newType, newType)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) + { + switch (featureID) + { + case ApplicationConfigurationPackage.STRING_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.STRING_TYPE_SCOPE__TYPE: + return getType(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case ApplicationConfigurationPackage.STRING_TYPE_SCOPE__TYPE: + setType((StringReference)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case ApplicationConfigurationPackage.STRING_TYPE_SCOPE__TYPE: + setType((StringReference)null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case ApplicationConfigurationPackage.STRING_TYPE_SCOPE__TYPE: + return type != null; + } + return super.eIsSet(featureID); + } + +} //StringTypeScopeImpl 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 index ace0d069..b3f25f96 100644 --- 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 @@ -1,41 +1,41 @@ -/** - * generated by Xtext 2.12.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 +/** + * generated by Xtext 2.16.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/ThresholdEntryImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ThresholdEntryImpl.java new file mode 100644 index 00000000..ea1050df --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ThresholdEntryImpl.java @@ -0,0 +1,240 @@ +/** + * generated by Xtext 2.16.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.ComparisonOperator; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ThresholdEntry; + +import java.math.BigDecimal; + +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 'Threshold Entry'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ThresholdEntryImpl#getOperator Operator}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ThresholdEntryImpl#getThreshold Threshold}
  • + *
+ * + * @generated + */ +public class ThresholdEntryImpl extends ObjectiveEntryImpl implements ThresholdEntry +{ + /** + * The default value of the '{@link #getOperator() Operator}' attribute. + * + * + * @see #getOperator() + * @generated + * @ordered + */ + protected static final ComparisonOperator OPERATOR_EDEFAULT = ComparisonOperator.LESS_EQUALS; + + /** + * The cached value of the '{@link #getOperator() Operator}' attribute. + * + * + * @see #getOperator() + * @generated + * @ordered + */ + protected ComparisonOperator operator = OPERATOR_EDEFAULT; + + /** + * The default value of the '{@link #getThreshold() Threshold}' attribute. + * + * + * @see #getThreshold() + * @generated + * @ordered + */ + protected static final BigDecimal THRESHOLD_EDEFAULT = null; + + /** + * The cached value of the '{@link #getThreshold() Threshold}' attribute. + * + * + * @see #getThreshold() + * @generated + * @ordered + */ + protected BigDecimal threshold = THRESHOLD_EDEFAULT; + + /** + * + * + * @generated + */ + protected ThresholdEntryImpl() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return ApplicationConfigurationPackage.Literals.THRESHOLD_ENTRY; + } + + /** + * + * + * @generated + */ + @Override + public ComparisonOperator getOperator() + { + return operator; + } + + /** + * + * + * @generated + */ + @Override + public void setOperator(ComparisonOperator newOperator) + { + ComparisonOperator oldOperator = operator; + operator = newOperator == null ? OPERATOR_EDEFAULT : newOperator; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.THRESHOLD_ENTRY__OPERATOR, oldOperator, operator)); + } + + /** + * + * + * @generated + */ + @Override + public BigDecimal getThreshold() + { + return threshold; + } + + /** + * + * + * @generated + */ + @Override + public void setThreshold(BigDecimal newThreshold) + { + BigDecimal oldThreshold = threshold; + threshold = newThreshold; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.THRESHOLD_ENTRY__THRESHOLD, oldThreshold, threshold)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case ApplicationConfigurationPackage.THRESHOLD_ENTRY__OPERATOR: + return getOperator(); + case ApplicationConfigurationPackage.THRESHOLD_ENTRY__THRESHOLD: + return getThreshold(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case ApplicationConfigurationPackage.THRESHOLD_ENTRY__OPERATOR: + setOperator((ComparisonOperator)newValue); + return; + case ApplicationConfigurationPackage.THRESHOLD_ENTRY__THRESHOLD: + setThreshold((BigDecimal)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case ApplicationConfigurationPackage.THRESHOLD_ENTRY__OPERATOR: + setOperator(OPERATOR_EDEFAULT); + return; + case ApplicationConfigurationPackage.THRESHOLD_ENTRY__THRESHOLD: + setThreshold(THRESHOLD_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case ApplicationConfigurationPackage.THRESHOLD_ENTRY__OPERATOR: + return operator != OPERATOR_EDEFAULT; + case ApplicationConfigurationPackage.THRESHOLD_ENTRY__THRESHOLD: + return THRESHOLD_EDEFAULT == null ? threshold != null : !THRESHOLD_EDEFAULT.equals(threshold); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() + { + if (eIsProxy()) return super.toString(); + + StringBuilder result = new StringBuilder(super.toString()); + result.append(" (operator: "); + result.append(operator); + result.append(", threshold: "); + result.append(threshold); + result.append(')'); + return result.toString(); + } + +} //ThresholdEntryImpl 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 index 93ad169a..fbf8925a 100644 --- 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 @@ -1,43 +1,43 @@ -/** - * generated by Xtext 2.12.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 +/** + * generated by Xtext 2.16.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 index 9ae4fe6e..789be159 100644 --- 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 @@ -1,322 +1,328 @@ -/** - * generated by Xtext 2.12.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.NumberSpecification; -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#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#getNumber Number}
  • - *
- * - * @generated - */ -public class TypeScopeImpl extends MinimalEObjectImpl.Container implements TypeScope -{ - /** - * 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 cached value of the '{@link #getNumber() Number}' containment reference. - * - * - * @see #getNumber() - * @generated - * @ordered - */ - protected NumberSpecification number; - - /** - * - * - * @generated - */ - protected TypeScopeImpl() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return ApplicationConfigurationPackage.Literals.TYPE_SCOPE; - } - - /** - * - * - * @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 NumberSpecification getNumber() - { - return number; - } - - /** - * - * - * @generated - */ - public NotificationChain basicSetNumber(NumberSpecification newNumber, NotificationChain msgs) - { - NumberSpecification oldNumber = number; - number = newNumber; - if (eNotificationRequired()) - { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.TYPE_SCOPE__NUMBER, oldNumber, newNumber); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * - * - * @generated - */ - public void setNumber(NumberSpecification newNumber) - { - if (newNumber != number) - { - NotificationChain msgs = null; - if (number != null) - msgs = ((InternalEObject)number).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.TYPE_SCOPE__NUMBER, null, msgs); - if (newNumber != null) - msgs = ((InternalEObject)newNumber).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.TYPE_SCOPE__NUMBER, null, msgs); - msgs = basicSetNumber(newNumber, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.TYPE_SCOPE__NUMBER, newNumber, newNumber)); - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) - { - switch (featureID) - { - case ApplicationConfigurationPackage.TYPE_SCOPE__NUMBER: - return basicSetNumber(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__SETS_NEW: - return isSetsNew(); - case ApplicationConfigurationPackage.TYPE_SCOPE__SETS_SUM: - return isSetsSum(); - case ApplicationConfigurationPackage.TYPE_SCOPE__NUMBER: - return getNumber(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case ApplicationConfigurationPackage.TYPE_SCOPE__SETS_NEW: - setSetsNew((Boolean)newValue); - return; - case ApplicationConfigurationPackage.TYPE_SCOPE__SETS_SUM: - setSetsSum((Boolean)newValue); - return; - case ApplicationConfigurationPackage.TYPE_SCOPE__NUMBER: - setNumber((NumberSpecification)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - 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__NUMBER: - setNumber((NumberSpecification)null); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - 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__NUMBER: - return number != null; - } - 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(')'); - return result.toString(); - } - -} //TypeScopeImpl +/** + * generated by Xtext 2.16.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.NumberSpecification; +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#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#getNumber Number}
  • + *
+ * + * @generated + */ +public class TypeScopeImpl extends MinimalEObjectImpl.Container implements TypeScope +{ + /** + * 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 cached value of the '{@link #getNumber() Number}' containment reference. + * + * + * @see #getNumber() + * @generated + * @ordered + */ + protected NumberSpecification number; + + /** + * + * + * @generated + */ + protected TypeScopeImpl() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return ApplicationConfigurationPackage.Literals.TYPE_SCOPE; + } + + /** + * + * + * @generated + */ + @Override + public boolean isSetsNew() + { + return setsNew; + } + + /** + * + * + * @generated + */ + @Override + 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 + */ + @Override + public boolean isSetsSum() + { + return setsSum; + } + + /** + * + * + * @generated + */ + @Override + 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 + */ + @Override + public NumberSpecification getNumber() + { + return number; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetNumber(NumberSpecification newNumber, NotificationChain msgs) + { + NumberSpecification oldNumber = number; + number = newNumber; + if (eNotificationRequired()) + { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.TYPE_SCOPE__NUMBER, oldNumber, newNumber); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + @Override + public void setNumber(NumberSpecification newNumber) + { + if (newNumber != number) + { + NotificationChain msgs = null; + if (number != null) + msgs = ((InternalEObject)number).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.TYPE_SCOPE__NUMBER, null, msgs); + if (newNumber != null) + msgs = ((InternalEObject)newNumber).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.TYPE_SCOPE__NUMBER, null, msgs); + msgs = basicSetNumber(newNumber, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.TYPE_SCOPE__NUMBER, newNumber, newNumber)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) + { + switch (featureID) + { + case ApplicationConfigurationPackage.TYPE_SCOPE__NUMBER: + return basicSetNumber(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__SETS_NEW: + return isSetsNew(); + case ApplicationConfigurationPackage.TYPE_SCOPE__SETS_SUM: + return isSetsSum(); + case ApplicationConfigurationPackage.TYPE_SCOPE__NUMBER: + return getNumber(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case ApplicationConfigurationPackage.TYPE_SCOPE__SETS_NEW: + setSetsNew((Boolean)newValue); + return; + case ApplicationConfigurationPackage.TYPE_SCOPE__SETS_SUM: + setSetsSum((Boolean)newValue); + return; + case ApplicationConfigurationPackage.TYPE_SCOPE__NUMBER: + setNumber((NumberSpecification)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + 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__NUMBER: + setNumber((NumberSpecification)null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + 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__NUMBER: + return number != null; + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() + { + if (eIsProxy()) return super.toString(); + + StringBuilder result = new StringBuilder(super.toString()); + result.append(" (setsNew: "); + result.append(setsNew); + result.append(", setsSum: "); + result.append(setsSum); + result.append(')'); + return result.toString(); + } + +} //TypeScopeImpl diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ViatraImportImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ViatraImportImpl.java index 1cd02845..2b0bd086 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ViatraImportImpl.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ViatraImportImpl.java @@ -1,174 +1,176 @@ -/** - * generated by Xtext 2.12.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.ViatraImport; - -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.emf.vql.PatternModel; - -/** - * - * An implementation of the model object 'Viatra Import'. - * - *

- * The following features are implemented: - *

- *
    - *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ViatraImportImpl#getImportedViatra Imported Viatra}
  • - *
- * - * @generated - */ -public class ViatraImportImpl extends ImportImpl implements ViatraImport -{ - /** - * The cached value of the '{@link #getImportedViatra() Imported Viatra}' reference. - * - * - * @see #getImportedViatra() - * @generated - * @ordered - */ - protected PatternModel importedViatra; - - /** - * - * - * @generated - */ - protected ViatraImportImpl() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return ApplicationConfigurationPackage.Literals.VIATRA_IMPORT; - } - - /** - * - * - * @generated - */ - public PatternModel getImportedViatra() - { - if (importedViatra != null && importedViatra.eIsProxy()) - { - InternalEObject oldImportedViatra = (InternalEObject)importedViatra; - importedViatra = (PatternModel)eResolveProxy(oldImportedViatra); - if (importedViatra != oldImportedViatra) - { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, ApplicationConfigurationPackage.VIATRA_IMPORT__IMPORTED_VIATRA, oldImportedViatra, importedViatra)); - } - } - return importedViatra; - } - - /** - * - * - * @generated - */ - public PatternModel basicGetImportedViatra() - { - return importedViatra; - } - - /** - * - * - * @generated - */ - public void setImportedViatra(PatternModel newImportedViatra) - { - PatternModel oldImportedViatra = importedViatra; - importedViatra = newImportedViatra; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.VIATRA_IMPORT__IMPORTED_VIATRA, oldImportedViatra, importedViatra)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case ApplicationConfigurationPackage.VIATRA_IMPORT__IMPORTED_VIATRA: - if (resolve) return getImportedViatra(); - return basicGetImportedViatra(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case ApplicationConfigurationPackage.VIATRA_IMPORT__IMPORTED_VIATRA: - setImportedViatra((PatternModel)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case ApplicationConfigurationPackage.VIATRA_IMPORT__IMPORTED_VIATRA: - setImportedViatra((PatternModel)null); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case ApplicationConfigurationPackage.VIATRA_IMPORT__IMPORTED_VIATRA: - return importedViatra != null; - } - return super.eIsSet(featureID); - } - -} //ViatraImportImpl +/** + * generated by Xtext 2.16.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.ViatraImport; + +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.emf.vql.PatternModel; + +/** + * + * An implementation of the model object 'Viatra Import'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ViatraImportImpl#getImportedViatra Imported Viatra}
  • + *
+ * + * @generated + */ +public class ViatraImportImpl extends ImportImpl implements ViatraImport +{ + /** + * The cached value of the '{@link #getImportedViatra() Imported Viatra}' reference. + * + * + * @see #getImportedViatra() + * @generated + * @ordered + */ + protected PatternModel importedViatra; + + /** + * + * + * @generated + */ + protected ViatraImportImpl() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return ApplicationConfigurationPackage.Literals.VIATRA_IMPORT; + } + + /** + * + * + * @generated + */ + @Override + public PatternModel getImportedViatra() + { + if (importedViatra != null && importedViatra.eIsProxy()) + { + InternalEObject oldImportedViatra = (InternalEObject)importedViatra; + importedViatra = (PatternModel)eResolveProxy(oldImportedViatra); + if (importedViatra != oldImportedViatra) + { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, ApplicationConfigurationPackage.VIATRA_IMPORT__IMPORTED_VIATRA, oldImportedViatra, importedViatra)); + } + } + return importedViatra; + } + + /** + * + * + * @generated + */ + public PatternModel basicGetImportedViatra() + { + return importedViatra; + } + + /** + * + * + * @generated + */ + @Override + public void setImportedViatra(PatternModel newImportedViatra) + { + PatternModel oldImportedViatra = importedViatra; + importedViatra = newImportedViatra; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.VIATRA_IMPORT__IMPORTED_VIATRA, oldImportedViatra, importedViatra)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case ApplicationConfigurationPackage.VIATRA_IMPORT__IMPORTED_VIATRA: + if (resolve) return getImportedViatra(); + return basicGetImportedViatra(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case ApplicationConfigurationPackage.VIATRA_IMPORT__IMPORTED_VIATRA: + setImportedViatra((PatternModel)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case ApplicationConfigurationPackage.VIATRA_IMPORT__IMPORTED_VIATRA: + setImportedViatra((PatternModel)null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case ApplicationConfigurationPackage.VIATRA_IMPORT__IMPORTED_VIATRA: + return importedViatra != null; + } + return super.eIsSet(featureID); + } + +} //ViatraImportImpl diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/util/ApplicationConfigurationAdapterFactory.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/util/ApplicationConfigurationAdapterFactory.java index 836d841f..a96c7f83 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/util/ApplicationConfigurationAdapterFactory.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/util/ApplicationConfigurationAdapterFactory.java @@ -1,1453 +1,1653 @@ -/** - * generated by Xtext 2.12.0 - */ -package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.util; - -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.*; - -import org.eclipse.emf.common.notify.Adapter; -import org.eclipse.emf.common.notify.Notifier; - -import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl; - -import org.eclipse.emf.ecore.EObject; - -/** - * - * The Adapter Factory for the model. - * It provides an adapter createXXX method for each class of the model. - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage - * @generated - */ -public class ApplicationConfigurationAdapterFactory extends AdapterFactoryImpl -{ - /** - * The cached model package. - * - * - * @generated - */ - protected static ApplicationConfigurationPackage modelPackage; - - /** - * Creates an instance of the adapter factory. - * - * - * @generated - */ - public ApplicationConfigurationAdapterFactory() - { - if (modelPackage == null) - { - modelPackage = ApplicationConfigurationPackage.eINSTANCE; - } - } - - /** - * Returns whether this factory is applicable for the type of the object. - * - * This implementation returns true if the object is either the model's package or is an instance object of the model. - * - * @return whether this factory is applicable for the type of the object. - * @generated - */ - @Override - public boolean isFactoryForType(Object object) - { - if (object == modelPackage) - { - return true; - } - if (object instanceof EObject) - { - return ((EObject)object).eClass().getEPackage() == modelPackage; - } - return false; - } - - /** - * The switch that delegates to the createXXX methods. - * - * - * @generated - */ - protected ApplicationConfigurationSwitch modelSwitch = - new ApplicationConfigurationSwitch() - { - @Override - public Adapter caseConfigurationScript(ConfigurationScript object) - { - return createConfigurationScriptAdapter(); - } - @Override - public Adapter caseCommand(Command object) - { - return createCommandAdapter(); - } - @Override - public Adapter caseImport(Import object) - { - return createImportAdapter(); - } - @Override - public Adapter caseEPackageImport(EPackageImport object) - { - return createEPackageImportAdapter(); - } - @Override - public Adapter caseViatraImport(ViatraImport object) - { - return createViatraImportAdapter(); - } - @Override - public Adapter caseDeclaration(Declaration object) - { - return createDeclarationAdapter(); - } - @Override - public Adapter caseFileSpecification(FileSpecification object) - { - return createFileSpecificationAdapter(); - } - @Override - public Adapter caseFileDeclaration(FileDeclaration object) - { - return createFileDeclarationAdapter(); - } - @Override - public Adapter caseFileReference(FileReference object) - { - return createFileReferenceAdapter(); - } - @Override - public Adapter caseFile(File object) - { - return createFileAdapter(); - } - @Override - public Adapter caseMetamodelSpecification(MetamodelSpecification object) - { - return createMetamodelSpecificationAdapter(); - } - @Override - public Adapter caseMetamodelEntry(MetamodelEntry object) - { - return createMetamodelEntryAdapter(); - } - @Override - public Adapter caseAllPackageEntry(AllPackageEntry object) - { - return createAllPackageEntryAdapter(); - } - @Override - public Adapter caseMetamodelElement(MetamodelElement object) - { - return createMetamodelElementAdapter(); - } - @Override - public Adapter caseMetamodelDeclaration(MetamodelDeclaration object) - { - return createMetamodelDeclarationAdapter(); - } - @Override - public Adapter caseMetamodelReference(MetamodelReference object) - { - return createMetamodelReferenceAdapter(); - } - @Override - public Adapter caseMetamodel(Metamodel object) - { - return createMetamodelAdapter(); - } - @Override - public Adapter casePartialModelSpecification(PartialModelSpecification object) - { - return createPartialModelSpecificationAdapter(); - } - @Override - public Adapter casePartialModelEntry(PartialModelEntry object) - { - return createPartialModelEntryAdapter(); - } - @Override - public Adapter caseModelEntry(ModelEntry object) - { - return createModelEntryAdapter(); - } - @Override - public Adapter caseFolderEntry(FolderEntry object) - { - return createFolderEntryAdapter(); - } - @Override - public Adapter casePartialModelDeclaration(PartialModelDeclaration object) - { - return createPartialModelDeclarationAdapter(); - } - @Override - public Adapter casePartialModelReference(PartialModelReference object) - { - return createPartialModelReferenceAdapter(); - } - @Override - public Adapter casePartialModel(PartialModel object) - { - return createPartialModelAdapter(); - } - @Override - public Adapter casePatternSpecification(PatternSpecification object) - { - return createPatternSpecificationAdapter(); - } - @Override - public Adapter casePatternEntry(PatternEntry object) - { - return createPatternEntryAdapter(); - } - @Override - public Adapter caseAllPatternEntry(AllPatternEntry object) - { - return createAllPatternEntryAdapter(); - } - @Override - public Adapter casePatternElement(PatternElement object) - { - return createPatternElementAdapter(); - } - @Override - public Adapter caseGraphPatternDeclaration(GraphPatternDeclaration object) - { - return createGraphPatternDeclarationAdapter(); - } - @Override - public Adapter caseGraphPatternReference(GraphPatternReference object) - { - return createGraphPatternReferenceAdapter(); - } - @Override - public Adapter caseGraphPattern(GraphPattern object) - { - return createGraphPatternAdapter(); - } - @Override - public Adapter caseConfigSpecification(ConfigSpecification object) - { - return createConfigSpecificationAdapter(); - } - @Override - public Adapter caseConfigDeclaration(ConfigDeclaration object) - { - return createConfigDeclarationAdapter(); - } - @Override - public Adapter caseConfigEntry(ConfigEntry object) - { - return createConfigEntryAdapter(); - } - @Override - public Adapter caseDocumentationEntry(DocumentationEntry object) - { - return createDocumentationEntryAdapter(); - } - @Override - public Adapter caseRuntimeEntry(RuntimeEntry object) - { - return createRuntimeEntryAdapter(); - } - @Override - public Adapter caseMemoryEntry(MemoryEntry object) - { - return createMemoryEntryAdapter(); - } - @Override - public Adapter caseCustomEntry(CustomEntry object) - { - return createCustomEntryAdapter(); - } - @Override - public Adapter caseConfigReference(ConfigReference object) - { - return createConfigReferenceAdapter(); - } - @Override - public Adapter caseConfig(Config object) - { - return createConfigAdapter(); - } - @Override - public Adapter caseScopeSpecification(ScopeSpecification object) - { - return createScopeSpecificationAdapter(); - } - @Override - public Adapter caseTypeScope(TypeScope object) - { - return createTypeScopeAdapter(); - } - @Override - public Adapter caseClassTypeScope(ClassTypeScope object) - { - return createClassTypeScopeAdapter(); - } - @Override - public Adapter caseObjectTypeScope(ObjectTypeScope object) - { - return createObjectTypeScopeAdapter(); - } - @Override - public Adapter caseIntegerTypeScope(IntegerTypeScope object) - { - return createIntegerTypeScopeAdapter(); - } - @Override - public Adapter caseRealTypeScope(RealTypeScope object) - { - return createRealTypeScopeAdapter(); - } - @Override - public Adapter caseStringTypeScope(StringTypeScope object) - { - return createStringTypeScopeAdapter(); - } - @Override - public Adapter caseTypeReference(TypeReference object) - { - return createTypeReferenceAdapter(); - } - @Override - public Adapter caseClassReference(ClassReference object) - { - return createClassReferenceAdapter(); - } - @Override - public Adapter caseObjectReference(ObjectReference object) - { - return createObjectReferenceAdapter(); - } - @Override - public Adapter caseIntegerReference(IntegerReference object) - { - return createIntegerReferenceAdapter(); - } - @Override - public Adapter caseRealReference(RealReference object) - { - return createRealReferenceAdapter(); - } - @Override - public Adapter caseStringReference(StringReference object) - { - return createStringReferenceAdapter(); - } - @Override - public Adapter caseNumberSpecification(NumberSpecification object) - { - return createNumberSpecificationAdapter(); - } - @Override - public Adapter caseExactNumber(ExactNumber object) - { - return createExactNumberAdapter(); - } - @Override - public Adapter caseIntervallNumber(IntervallNumber object) - { - return createIntervallNumberAdapter(); - } - @Override - public Adapter caseIntEnumberation(IntEnumberation object) - { - return createIntEnumberationAdapter(); - } - @Override - public Adapter caseRealEnumeration(RealEnumeration object) - { - return createRealEnumerationAdapter(); - } - @Override - public Adapter caseStringEnumeration(StringEnumeration object) - { - return createStringEnumerationAdapter(); - } - @Override - public Adapter caseScopeDeclaration(ScopeDeclaration object) - { - return createScopeDeclarationAdapter(); - } - @Override - public Adapter caseScopeReference(ScopeReference object) - { - return createScopeReferenceAdapter(); - } - @Override - public Adapter caseScope(Scope object) - { - return createScopeAdapter(); - } - @Override - public Adapter caseTask(Task object) - { - return createTaskAdapter(); - } - @Override - public Adapter caseGenerationTask(GenerationTask object) - { - return createGenerationTaskAdapter(); - } - @Override - public Adapter caseIntegerScope(IntegerScope object) - { - return createIntegerScopeAdapter(); - } - @Override - public Adapter caseRealScope(RealScope object) - { - return createRealScopeAdapter(); - } - @Override - public Adapter caseStringScope(StringScope object) - { - return createStringScopeAdapter(); - } - @Override - public Adapter defaultCase(EObject object) - { - return createEObjectAdapter(); - } - }; - - /** - * Creates an adapter for the target. - * - * - * @param target the object to adapt. - * @return the adapter for the target. - * @generated - */ - @Override - public Adapter createAdapter(Notifier target) - { - return modelSwitch.doSwitch((EObject)target); - } - - - /** - * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigurationScript Configuration Script}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigurationScript - * @generated - */ - public Adapter createConfigurationScriptAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Command Command}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Command - * @generated - */ - public Adapter createCommandAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Import Import}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Import - * @generated - */ - public Adapter createImportAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.EPackageImport EPackage Import}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.EPackageImport - * @generated - */ - public Adapter createEPackageImportAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ViatraImport Viatra Import}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ViatraImport - * @generated - */ - public Adapter createViatraImportAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Declaration Declaration}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Declaration - * @generated - */ - public Adapter createDeclarationAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.FileSpecification File Specification}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.FileSpecification - * @generated - */ - public Adapter createFileSpecificationAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.FileDeclaration File Declaration}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.FileDeclaration - * @generated - */ - public Adapter createFileDeclarationAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.FileReference File Reference}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.FileReference - * @generated - */ - public Adapter createFileReferenceAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.File File}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.File - * @generated - */ - public Adapter createFileAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelSpecification Metamodel Specification}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelSpecification - * @generated - */ - public Adapter createMetamodelSpecificationAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelEntry Metamodel Entry}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelEntry - * @generated - */ - public Adapter createMetamodelEntryAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.AllPackageEntry All Package Entry}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.AllPackageEntry - * @generated - */ - public Adapter createAllPackageEntryAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelElement Metamodel Element}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelElement - * @generated - */ - public Adapter createMetamodelElementAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelDeclaration Metamodel Declaration}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelDeclaration - * @generated - */ - public Adapter createMetamodelDeclarationAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelReference Metamodel Reference}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelReference - * @generated - */ - public Adapter createMetamodelReferenceAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Metamodel Metamodel}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Metamodel - * @generated - */ - public Adapter createMetamodelAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModelSpecification Partial Model Specification}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModelSpecification - * @generated - */ - public Adapter createPartialModelSpecificationAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModelEntry Partial Model Entry}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModelEntry - * @generated - */ - public Adapter createPartialModelEntryAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ModelEntry Model Entry}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ModelEntry - * @generated - */ - public Adapter createModelEntryAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.FolderEntry Folder Entry}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.FolderEntry - * @generated - */ - public Adapter createFolderEntryAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModelDeclaration Partial Model Declaration}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModelDeclaration - * @generated - */ - public Adapter createPartialModelDeclarationAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModelReference Partial Model Reference}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModelReference - * @generated - */ - public Adapter createPartialModelReferenceAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModel Partial Model}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModel - * @generated - */ - public Adapter createPartialModelAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PatternSpecification Pattern Specification}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PatternSpecification - * @generated - */ - public Adapter createPatternSpecificationAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PatternEntry Pattern Entry}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PatternEntry - * @generated - */ - public Adapter createPatternEntryAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.AllPatternEntry All Pattern Entry}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.AllPatternEntry - * @generated - */ - public Adapter createAllPatternEntryAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PatternElement Pattern Element}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PatternElement - * @generated - */ - public Adapter createPatternElementAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GraphPatternDeclaration Graph Pattern Declaration}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GraphPatternDeclaration - * @generated - */ - public Adapter createGraphPatternDeclarationAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GraphPatternReference Graph Pattern Reference}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GraphPatternReference - * @generated - */ - public Adapter createGraphPatternReferenceAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GraphPattern Graph Pattern}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GraphPattern - * @generated - */ - public Adapter createGraphPatternAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigSpecification Config Specification}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigSpecification - * @generated - */ - public Adapter createConfigSpecificationAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigDeclaration Config Declaration}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigDeclaration - * @generated - */ - public Adapter createConfigDeclarationAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigEntry Config Entry}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigEntry - * @generated - */ - public Adapter createConfigEntryAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.DocumentationEntry Documentation Entry}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.DocumentationEntry - * @generated - */ - public Adapter createDocumentationEntryAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RuntimeEntry Runtime Entry}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RuntimeEntry - * @generated - */ - public Adapter createRuntimeEntryAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MemoryEntry Memory Entry}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MemoryEntry - * @generated - */ - public Adapter createMemoryEntryAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.CustomEntry Custom Entry}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.CustomEntry - * @generated - */ - public Adapter createCustomEntryAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigReference Config Reference}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigReference - * @generated - */ - public Adapter createConfigReferenceAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Config Config}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Config - * @generated - */ - public Adapter createConfigAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ScopeSpecification Scope Specification}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ScopeSpecification - * @generated - */ - public Adapter createScopeSpecificationAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeScope Type Scope}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeScope - * @generated - */ - public Adapter createTypeScopeAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ClassTypeScope Class Type Scope}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ClassTypeScope - * @generated - */ - public Adapter createClassTypeScopeAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ObjectTypeScope Object Type Scope}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ObjectTypeScope - * @generated - */ - public Adapter createObjectTypeScopeAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntegerTypeScope Integer Type Scope}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntegerTypeScope - * @generated - */ - public Adapter createIntegerTypeScopeAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RealTypeScope Real Type Scope}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RealTypeScope - * @generated - */ - public Adapter createRealTypeScopeAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.StringTypeScope String Type Scope}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.StringTypeScope - * @generated - */ - public Adapter createStringTypeScopeAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeReference Type Reference}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeReference - * @generated - */ - public Adapter createTypeReferenceAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ClassReference Class Reference}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ClassReference - * @generated - */ - public Adapter createClassReferenceAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ObjectReference Object Reference}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ObjectReference - * @generated - */ - public Adapter createObjectReferenceAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntegerReference Integer Reference}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntegerReference - * @generated - */ - public Adapter createIntegerReferenceAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RealReference Real Reference}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RealReference - * @generated - */ - public Adapter createRealReferenceAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.StringReference String Reference}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.StringReference - * @generated - */ - public Adapter createStringReferenceAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.NumberSpecification Number Specification}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.NumberSpecification - * @generated - */ - public Adapter createNumberSpecificationAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ExactNumber Exact Number}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ExactNumber - * @generated - */ - public Adapter createExactNumberAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntervallNumber Intervall Number}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntervallNumber - * @generated - */ - public Adapter createIntervallNumberAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntEnumberation Int Enumberation}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntEnumberation - * @generated - */ - public Adapter createIntEnumberationAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RealEnumeration Real Enumeration}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RealEnumeration - * @generated - */ - public Adapter createRealEnumerationAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.StringEnumeration String Enumeration}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.StringEnumeration - * @generated - */ - public Adapter createStringEnumerationAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ScopeDeclaration Scope Declaration}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ScopeDeclaration - * @generated - */ - public Adapter createScopeDeclarationAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ScopeReference Scope Reference}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ScopeReference - * @generated - */ - public Adapter createScopeReferenceAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Scope Scope}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Scope - * @generated - */ - public Adapter createScopeAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Task Task}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Task - * @generated - */ - public Adapter createTaskAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask Generation Task}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask - * @generated - */ - public Adapter createGenerationTaskAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntegerScope Integer Scope}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntegerScope - * @generated - */ - public Adapter createIntegerScopeAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RealScope Real Scope}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RealScope - * @generated - */ - public Adapter createRealScopeAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.StringScope String Scope}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.StringScope - * @generated - */ - public Adapter createStringScopeAdapter() - { - return null; - } - - /** - * Creates a new adapter for the default case. - * - * This default implementation returns null. - * - * @return the new adapter. - * @generated - */ - public Adapter createEObjectAdapter() - { - return null; - } - -} //ApplicationConfigurationAdapterFactory +/** + * generated by Xtext 2.16.0 + */ +package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.util; + +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.*; + +import org.eclipse.emf.common.notify.Adapter; +import org.eclipse.emf.common.notify.Notifier; + +import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl; + +import org.eclipse.emf.ecore.EObject; + +/** + * + * The Adapter Factory for the model. + * It provides an adapter createXXX method for each class of the model. + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage + * @generated + */ +public class ApplicationConfigurationAdapterFactory extends AdapterFactoryImpl +{ + /** + * The cached model package. + * + * + * @generated + */ + protected static ApplicationConfigurationPackage modelPackage; + + /** + * Creates an instance of the adapter factory. + * + * + * @generated + */ + public ApplicationConfigurationAdapterFactory() + { + if (modelPackage == null) + { + modelPackage = ApplicationConfigurationPackage.eINSTANCE; + } + } + + /** + * Returns whether this factory is applicable for the type of the object. + * + * This implementation returns true if the object is either the model's package or is an instance object of the model. + * + * @return whether this factory is applicable for the type of the object. + * @generated + */ + @Override + public boolean isFactoryForType(Object object) + { + if (object == modelPackage) + { + return true; + } + if (object instanceof EObject) + { + return ((EObject)object).eClass().getEPackage() == modelPackage; + } + return false; + } + + /** + * The switch that delegates to the createXXX methods. + * + * + * @generated + */ + protected ApplicationConfigurationSwitch modelSwitch = + new ApplicationConfigurationSwitch() + { + @Override + public Adapter caseConfigurationScript(ConfigurationScript object) + { + return createConfigurationScriptAdapter(); + } + @Override + public Adapter caseCommand(Command object) + { + return createCommandAdapter(); + } + @Override + public Adapter caseImport(Import object) + { + return createImportAdapter(); + } + @Override + public Adapter caseEPackageImport(EPackageImport object) + { + return createEPackageImportAdapter(); + } + @Override + public Adapter caseViatraImport(ViatraImport object) + { + return createViatraImportAdapter(); + } + @Override + public Adapter caseCftImport(CftImport object) + { + return createCftImportAdapter(); + } + @Override + public Adapter caseDeclaration(Declaration object) + { + return createDeclarationAdapter(); + } + @Override + public Adapter caseFileSpecification(FileSpecification object) + { + return createFileSpecificationAdapter(); + } + @Override + public Adapter caseFileDeclaration(FileDeclaration object) + { + return createFileDeclarationAdapter(); + } + @Override + public Adapter caseFileReference(FileReference object) + { + return createFileReferenceAdapter(); + } + @Override + public Adapter caseFile(File object) + { + return createFileAdapter(); + } + @Override + public Adapter caseMetamodelSpecification(MetamodelSpecification object) + { + return createMetamodelSpecificationAdapter(); + } + @Override + public Adapter caseMetamodelEntry(MetamodelEntry object) + { + return createMetamodelEntryAdapter(); + } + @Override + public Adapter caseAllPackageEntry(AllPackageEntry object) + { + return createAllPackageEntryAdapter(); + } + @Override + public Adapter caseMetamodelElement(MetamodelElement object) + { + return createMetamodelElementAdapter(); + } + @Override + public Adapter caseMetamodelDeclaration(MetamodelDeclaration object) + { + return createMetamodelDeclarationAdapter(); + } + @Override + public Adapter caseMetamodelReference(MetamodelReference object) + { + return createMetamodelReferenceAdapter(); + } + @Override + public Adapter caseMetamodel(Metamodel object) + { + return createMetamodelAdapter(); + } + @Override + public Adapter casePartialModelSpecification(PartialModelSpecification object) + { + return createPartialModelSpecificationAdapter(); + } + @Override + public Adapter casePartialModelEntry(PartialModelEntry object) + { + return createPartialModelEntryAdapter(); + } + @Override + public Adapter caseModelEntry(ModelEntry object) + { + return createModelEntryAdapter(); + } + @Override + public Adapter caseFolderEntry(FolderEntry object) + { + return createFolderEntryAdapter(); + } + @Override + public Adapter casePartialModelDeclaration(PartialModelDeclaration object) + { + return createPartialModelDeclarationAdapter(); + } + @Override + public Adapter casePartialModelReference(PartialModelReference object) + { + return createPartialModelReferenceAdapter(); + } + @Override + public Adapter casePartialModel(PartialModel object) + { + return createPartialModelAdapter(); + } + @Override + public Adapter casePatternSpecification(PatternSpecification object) + { + return createPatternSpecificationAdapter(); + } + @Override + public Adapter casePatternEntry(PatternEntry object) + { + return createPatternEntryAdapter(); + } + @Override + public Adapter caseAllPatternEntry(AllPatternEntry object) + { + return createAllPatternEntryAdapter(); + } + @Override + public Adapter casePatternElement(PatternElement object) + { + return createPatternElementAdapter(); + } + @Override + public Adapter caseGraphPatternDeclaration(GraphPatternDeclaration object) + { + return createGraphPatternDeclarationAdapter(); + } + @Override + public Adapter caseGraphPatternReference(GraphPatternReference object) + { + return createGraphPatternReferenceAdapter(); + } + @Override + public Adapter caseGraphPattern(GraphPattern object) + { + return createGraphPatternAdapter(); + } + @Override + public Adapter caseObjectiveSpecification(ObjectiveSpecification object) + { + return createObjectiveSpecificationAdapter(); + } + @Override + public Adapter caseObjectiveEntry(ObjectiveEntry object) + { + return createObjectiveEntryAdapter(); + } + @Override + public Adapter caseOptimizationEntry(OptimizationEntry object) + { + return createOptimizationEntryAdapter(); + } + @Override + public Adapter caseThresholdEntry(ThresholdEntry object) + { + return createThresholdEntryAdapter(); + } + @Override + public Adapter caseObjectiveFunction(ObjectiveFunction object) + { + return createObjectiveFunctionAdapter(); + } + @Override + public Adapter caseReliabiltiyFunction(ReliabiltiyFunction object) + { + return createReliabiltiyFunctionAdapter(); + } + @Override + public Adapter caseObjectiveDeclaration(ObjectiveDeclaration object) + { + return createObjectiveDeclarationAdapter(); + } + @Override + public Adapter caseObjectiveReference(ObjectiveReference object) + { + return createObjectiveReferenceAdapter(); + } + @Override + public Adapter caseObjective(Objective object) + { + return createObjectiveAdapter(); + } + @Override + public Adapter caseConfigSpecification(ConfigSpecification object) + { + return createConfigSpecificationAdapter(); + } + @Override + public Adapter caseConfigDeclaration(ConfigDeclaration object) + { + return createConfigDeclarationAdapter(); + } + @Override + public Adapter caseConfigEntry(ConfigEntry object) + { + return createConfigEntryAdapter(); + } + @Override + public Adapter caseDocumentationEntry(DocumentationEntry object) + { + return createDocumentationEntryAdapter(); + } + @Override + public Adapter caseRuntimeEntry(RuntimeEntry object) + { + return createRuntimeEntryAdapter(); + } + @Override + public Adapter caseMemoryEntry(MemoryEntry object) + { + return createMemoryEntryAdapter(); + } + @Override + public Adapter caseCustomEntry(CustomEntry object) + { + return createCustomEntryAdapter(); + } + @Override + public Adapter caseConfigReference(ConfigReference object) + { + return createConfigReferenceAdapter(); + } + @Override + public Adapter caseConfig(Config object) + { + return createConfigAdapter(); + } + @Override + public Adapter caseScopeSpecification(ScopeSpecification object) + { + return createScopeSpecificationAdapter(); + } + @Override + public Adapter caseTypeScope(TypeScope object) + { + return createTypeScopeAdapter(); + } + @Override + public Adapter caseClassTypeScope(ClassTypeScope object) + { + return createClassTypeScopeAdapter(); + } + @Override + public Adapter caseObjectTypeScope(ObjectTypeScope object) + { + return createObjectTypeScopeAdapter(); + } + @Override + public Adapter caseIntegerTypeScope(IntegerTypeScope object) + { + return createIntegerTypeScopeAdapter(); + } + @Override + public Adapter caseRealTypeScope(RealTypeScope object) + { + return createRealTypeScopeAdapter(); + } + @Override + public Adapter caseStringTypeScope(StringTypeScope object) + { + return createStringTypeScopeAdapter(); + } + @Override + public Adapter caseTypeReference(TypeReference object) + { + return createTypeReferenceAdapter(); + } + @Override + public Adapter caseClassReference(ClassReference object) + { + return createClassReferenceAdapter(); + } + @Override + public Adapter caseObjectReference(ObjectReference object) + { + return createObjectReferenceAdapter(); + } + @Override + public Adapter caseIntegerReference(IntegerReference object) + { + return createIntegerReferenceAdapter(); + } + @Override + public Adapter caseRealReference(RealReference object) + { + return createRealReferenceAdapter(); + } + @Override + public Adapter caseStringReference(StringReference object) + { + return createStringReferenceAdapter(); + } + @Override + public Adapter caseNumberSpecification(NumberSpecification object) + { + return createNumberSpecificationAdapter(); + } + @Override + public Adapter caseExactNumber(ExactNumber object) + { + return createExactNumberAdapter(); + } + @Override + public Adapter caseIntervallNumber(IntervallNumber object) + { + return createIntervallNumberAdapter(); + } + @Override + public Adapter caseIntEnumberation(IntEnumberation object) + { + return createIntEnumberationAdapter(); + } + @Override + public Adapter caseRealEnumeration(RealEnumeration object) + { + return createRealEnumerationAdapter(); + } + @Override + public Adapter caseStringEnumeration(StringEnumeration object) + { + return createStringEnumerationAdapter(); + } + @Override + public Adapter caseScopeDeclaration(ScopeDeclaration object) + { + return createScopeDeclarationAdapter(); + } + @Override + public Adapter caseScopeReference(ScopeReference object) + { + return createScopeReferenceAdapter(); + } + @Override + public Adapter caseScope(Scope object) + { + return createScopeAdapter(); + } + @Override + public Adapter caseTask(Task object) + { + return createTaskAdapter(); + } + @Override + public Adapter caseGenerationTask(GenerationTask object) + { + return createGenerationTaskAdapter(); + } + @Override + public Adapter caseIntegerScope(IntegerScope object) + { + return createIntegerScopeAdapter(); + } + @Override + public Adapter caseRealScope(RealScope object) + { + return createRealScopeAdapter(); + } + @Override + public Adapter caseStringScope(StringScope object) + { + return createStringScopeAdapter(); + } + @Override + public Adapter defaultCase(EObject object) + { + return createEObjectAdapter(); + } + }; + + /** + * Creates an adapter for the target. + * + * + * @param target the object to adapt. + * @return the adapter for the target. + * @generated + */ + @Override + public Adapter createAdapter(Notifier target) + { + return modelSwitch.doSwitch((EObject)target); + } + + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigurationScript Configuration Script}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigurationScript + * @generated + */ + public Adapter createConfigurationScriptAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Command Command}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Command + * @generated + */ + public Adapter createCommandAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Import Import}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Import + * @generated + */ + public Adapter createImportAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.EPackageImport EPackage Import}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.EPackageImport + * @generated + */ + public Adapter createEPackageImportAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ViatraImport Viatra Import}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ViatraImport + * @generated + */ + public Adapter createViatraImportAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.CftImport Cft Import}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.CftImport + * @generated + */ + public Adapter createCftImportAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Declaration Declaration}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Declaration + * @generated + */ + public Adapter createDeclarationAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.FileSpecification File Specification}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.FileSpecification + * @generated + */ + public Adapter createFileSpecificationAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.FileDeclaration File Declaration}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.FileDeclaration + * @generated + */ + public Adapter createFileDeclarationAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.FileReference File Reference}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.FileReference + * @generated + */ + public Adapter createFileReferenceAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.File File}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.File + * @generated + */ + public Adapter createFileAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelSpecification Metamodel Specification}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelSpecification + * @generated + */ + public Adapter createMetamodelSpecificationAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelEntry Metamodel Entry}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelEntry + * @generated + */ + public Adapter createMetamodelEntryAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.AllPackageEntry All Package Entry}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.AllPackageEntry + * @generated + */ + public Adapter createAllPackageEntryAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelElement Metamodel Element}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelElement + * @generated + */ + public Adapter createMetamodelElementAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelDeclaration Metamodel Declaration}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelDeclaration + * @generated + */ + public Adapter createMetamodelDeclarationAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelReference Metamodel Reference}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelReference + * @generated + */ + public Adapter createMetamodelReferenceAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Metamodel Metamodel}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Metamodel + * @generated + */ + public Adapter createMetamodelAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModelSpecification Partial Model Specification}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModelSpecification + * @generated + */ + public Adapter createPartialModelSpecificationAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModelEntry Partial Model Entry}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModelEntry + * @generated + */ + public Adapter createPartialModelEntryAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ModelEntry Model Entry}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ModelEntry + * @generated + */ + public Adapter createModelEntryAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.FolderEntry Folder Entry}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.FolderEntry + * @generated + */ + public Adapter createFolderEntryAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModelDeclaration Partial Model Declaration}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModelDeclaration + * @generated + */ + public Adapter createPartialModelDeclarationAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModelReference Partial Model Reference}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModelReference + * @generated + */ + public Adapter createPartialModelReferenceAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModel Partial Model}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModel + * @generated + */ + public Adapter createPartialModelAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PatternSpecification Pattern Specification}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PatternSpecification + * @generated + */ + public Adapter createPatternSpecificationAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PatternEntry Pattern Entry}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PatternEntry + * @generated + */ + public Adapter createPatternEntryAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.AllPatternEntry All Pattern Entry}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.AllPatternEntry + * @generated + */ + public Adapter createAllPatternEntryAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PatternElement Pattern Element}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PatternElement + * @generated + */ + public Adapter createPatternElementAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GraphPatternDeclaration Graph Pattern Declaration}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GraphPatternDeclaration + * @generated + */ + public Adapter createGraphPatternDeclarationAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GraphPatternReference Graph Pattern Reference}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GraphPatternReference + * @generated + */ + public Adapter createGraphPatternReferenceAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GraphPattern Graph Pattern}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GraphPattern + * @generated + */ + public Adapter createGraphPatternAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ObjectiveSpecification Objective Specification}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ObjectiveSpecification + * @generated + */ + public Adapter createObjectiveSpecificationAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ObjectiveEntry Objective Entry}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ObjectiveEntry + * @generated + */ + public Adapter createObjectiveEntryAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.OptimizationEntry Optimization Entry}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.OptimizationEntry + * @generated + */ + public Adapter createOptimizationEntryAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ThresholdEntry Threshold Entry}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ThresholdEntry + * @generated + */ + public Adapter createThresholdEntryAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ObjectiveFunction Objective Function}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ObjectiveFunction + * @generated + */ + public Adapter createObjectiveFunctionAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ReliabiltiyFunction Reliabiltiy Function}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ReliabiltiyFunction + * @generated + */ + public Adapter createReliabiltiyFunctionAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ObjectiveDeclaration Objective Declaration}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ObjectiveDeclaration + * @generated + */ + public Adapter createObjectiveDeclarationAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ObjectiveReference Objective Reference}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ObjectiveReference + * @generated + */ + public Adapter createObjectiveReferenceAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Objective Objective}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Objective + * @generated + */ + public Adapter createObjectiveAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigSpecification Config Specification}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigSpecification + * @generated + */ + public Adapter createConfigSpecificationAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigDeclaration Config Declaration}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigDeclaration + * @generated + */ + public Adapter createConfigDeclarationAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigEntry Config Entry}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigEntry + * @generated + */ + public Adapter createConfigEntryAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.DocumentationEntry Documentation Entry}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.DocumentationEntry + * @generated + */ + public Adapter createDocumentationEntryAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RuntimeEntry Runtime Entry}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RuntimeEntry + * @generated + */ + public Adapter createRuntimeEntryAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MemoryEntry Memory Entry}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MemoryEntry + * @generated + */ + public Adapter createMemoryEntryAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.CustomEntry Custom Entry}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.CustomEntry + * @generated + */ + public Adapter createCustomEntryAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigReference Config Reference}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigReference + * @generated + */ + public Adapter createConfigReferenceAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Config Config}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Config + * @generated + */ + public Adapter createConfigAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ScopeSpecification Scope Specification}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ScopeSpecification + * @generated + */ + public Adapter createScopeSpecificationAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeScope Type Scope}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeScope + * @generated + */ + public Adapter createTypeScopeAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ClassTypeScope Class Type Scope}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ClassTypeScope + * @generated + */ + public Adapter createClassTypeScopeAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ObjectTypeScope Object Type Scope}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ObjectTypeScope + * @generated + */ + public Adapter createObjectTypeScopeAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntegerTypeScope Integer Type Scope}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntegerTypeScope + * @generated + */ + public Adapter createIntegerTypeScopeAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RealTypeScope Real Type Scope}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RealTypeScope + * @generated + */ + public Adapter createRealTypeScopeAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.StringTypeScope String Type Scope}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.StringTypeScope + * @generated + */ + public Adapter createStringTypeScopeAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeReference Type Reference}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeReference + * @generated + */ + public Adapter createTypeReferenceAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ClassReference Class Reference}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ClassReference + * @generated + */ + public Adapter createClassReferenceAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ObjectReference Object Reference}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ObjectReference + * @generated + */ + public Adapter createObjectReferenceAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntegerReference Integer Reference}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntegerReference + * @generated + */ + public Adapter createIntegerReferenceAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RealReference Real Reference}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RealReference + * @generated + */ + public Adapter createRealReferenceAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.StringReference String Reference}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.StringReference + * @generated + */ + public Adapter createStringReferenceAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.NumberSpecification Number Specification}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.NumberSpecification + * @generated + */ + public Adapter createNumberSpecificationAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ExactNumber Exact Number}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ExactNumber + * @generated + */ + public Adapter createExactNumberAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntervallNumber Intervall Number}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntervallNumber + * @generated + */ + public Adapter createIntervallNumberAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntEnumberation Int Enumberation}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntEnumberation + * @generated + */ + public Adapter createIntEnumberationAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RealEnumeration Real Enumeration}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RealEnumeration + * @generated + */ + public Adapter createRealEnumerationAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.StringEnumeration String Enumeration}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.StringEnumeration + * @generated + */ + public Adapter createStringEnumerationAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ScopeDeclaration Scope Declaration}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ScopeDeclaration + * @generated + */ + public Adapter createScopeDeclarationAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ScopeReference Scope Reference}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ScopeReference + * @generated + */ + public Adapter createScopeReferenceAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Scope Scope}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Scope + * @generated + */ + public Adapter createScopeAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Task Task}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Task + * @generated + */ + public Adapter createTaskAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask Generation Task}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask + * @generated + */ + public Adapter createGenerationTaskAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntegerScope Integer Scope}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntegerScope + * @generated + */ + public Adapter createIntegerScopeAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RealScope Real Scope}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RealScope + * @generated + */ + public Adapter createRealScopeAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.StringScope String Scope}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.StringScope + * @generated + */ + public Adapter createStringScopeAdapter() + { + return null; + } + + /** + * Creates a new adapter for the default case. + * + * This default implementation returns null. + * + * @return the new adapter. + * @generated + */ + public Adapter createEObjectAdapter() + { + return null; + } + +} //ApplicationConfigurationAdapterFactory diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/util/ApplicationConfigurationSwitch.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/util/ApplicationConfigurationSwitch.java index 313fce87..d907f53c 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/util/ApplicationConfigurationSwitch.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/util/ApplicationConfigurationSwitch.java @@ -1,1699 +1,1937 @@ -/** - * generated by Xtext 2.12.0 - */ -package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.util; - -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.*; - -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.EPackage; - -import org.eclipse.emf.ecore.util.Switch; - -/** - * - * The Switch for the model's inheritance hierarchy. - * It supports the call {@link #doSwitch(EObject) doSwitch(object)} - * to invoke the caseXXX method for each class of the model, - * starting with the actual class of the object - * and proceeding up the inheritance hierarchy - * until a non-null result is returned, - * which is the result of the switch. - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage - * @generated - */ -public class ApplicationConfigurationSwitch extends Switch -{ - /** - * The cached model package - * - * - * @generated - */ - protected static ApplicationConfigurationPackage modelPackage; - - /** - * Creates an instance of the switch. - * - * - * @generated - */ - public ApplicationConfigurationSwitch() - { - if (modelPackage == null) - { - modelPackage = ApplicationConfigurationPackage.eINSTANCE; - } - } - - /** - * Checks whether this is a switch for the given package. - * - * - * @param ePackage the package in question. - * @return whether this is a switch for the given package. - * @generated - */ - @Override - protected boolean isSwitchFor(EPackage ePackage) - { - return ePackage == modelPackage; - } - - /** - * Calls caseXXX for each class of the model until one returns a non null result; it yields that result. - * - * - * @return the first non-null result returned by a caseXXX call. - * @generated - */ - @Override - protected T doSwitch(int classifierID, EObject theEObject) - { - switch (classifierID) - { - case ApplicationConfigurationPackage.CONFIGURATION_SCRIPT: - { - ConfigurationScript configurationScript = (ConfigurationScript)theEObject; - T result = caseConfigurationScript(configurationScript); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ApplicationConfigurationPackage.COMMAND: - { - Command command = (Command)theEObject; - T result = caseCommand(command); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ApplicationConfigurationPackage.IMPORT: - { - Import import_ = (Import)theEObject; - T result = caseImport(import_); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ApplicationConfigurationPackage.EPACKAGE_IMPORT: - { - EPackageImport ePackageImport = (EPackageImport)theEObject; - T result = caseEPackageImport(ePackageImport); - if (result == null) result = caseImport(ePackageImport); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ApplicationConfigurationPackage.VIATRA_IMPORT: - { - ViatraImport viatraImport = (ViatraImport)theEObject; - T result = caseViatraImport(viatraImport); - if (result == null) result = caseImport(viatraImport); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ApplicationConfigurationPackage.DECLARATION: - { - Declaration declaration = (Declaration)theEObject; - T result = caseDeclaration(declaration); - if (result == null) result = caseCommand(declaration); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ApplicationConfigurationPackage.FILE_SPECIFICATION: - { - FileSpecification fileSpecification = (FileSpecification)theEObject; - T result = caseFileSpecification(fileSpecification); - if (result == null) result = caseFile(fileSpecification); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ApplicationConfigurationPackage.FILE_DECLARATION: - { - FileDeclaration fileDeclaration = (FileDeclaration)theEObject; - T result = caseFileDeclaration(fileDeclaration); - if (result == null) result = caseDeclaration(fileDeclaration); - if (result == null) result = caseCommand(fileDeclaration); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ApplicationConfigurationPackage.FILE_REFERENCE: - { - FileReference fileReference = (FileReference)theEObject; - T result = caseFileReference(fileReference); - if (result == null) result = caseFile(fileReference); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ApplicationConfigurationPackage.FILE: - { - File file = (File)theEObject; - T result = caseFile(file); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ApplicationConfigurationPackage.METAMODEL_SPECIFICATION: - { - MetamodelSpecification metamodelSpecification = (MetamodelSpecification)theEObject; - T result = caseMetamodelSpecification(metamodelSpecification); - if (result == null) result = caseMetamodel(metamodelSpecification); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ApplicationConfigurationPackage.METAMODEL_ENTRY: - { - MetamodelEntry metamodelEntry = (MetamodelEntry)theEObject; - T result = caseMetamodelEntry(metamodelEntry); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ApplicationConfigurationPackage.ALL_PACKAGE_ENTRY: - { - AllPackageEntry allPackageEntry = (AllPackageEntry)theEObject; - T result = caseAllPackageEntry(allPackageEntry); - if (result == null) result = caseMetamodelEntry(allPackageEntry); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ApplicationConfigurationPackage.METAMODEL_ELEMENT: - { - MetamodelElement metamodelElement = (MetamodelElement)theEObject; - T result = caseMetamodelElement(metamodelElement); - if (result == null) result = caseMetamodelEntry(metamodelElement); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ApplicationConfigurationPackage.METAMODEL_DECLARATION: - { - MetamodelDeclaration metamodelDeclaration = (MetamodelDeclaration)theEObject; - T result = caseMetamodelDeclaration(metamodelDeclaration); - if (result == null) result = caseDeclaration(metamodelDeclaration); - if (result == null) result = caseCommand(metamodelDeclaration); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ApplicationConfigurationPackage.METAMODEL_REFERENCE: - { - MetamodelReference metamodelReference = (MetamodelReference)theEObject; - T result = caseMetamodelReference(metamodelReference); - if (result == null) result = caseMetamodel(metamodelReference); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ApplicationConfigurationPackage.METAMODEL: - { - Metamodel metamodel = (Metamodel)theEObject; - T result = caseMetamodel(metamodel); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ApplicationConfigurationPackage.PARTIAL_MODEL_SPECIFICATION: - { - PartialModelSpecification partialModelSpecification = (PartialModelSpecification)theEObject; - T result = casePartialModelSpecification(partialModelSpecification); - if (result == null) result = casePartialModel(partialModelSpecification); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ApplicationConfigurationPackage.PARTIAL_MODEL_ENTRY: - { - PartialModelEntry partialModelEntry = (PartialModelEntry)theEObject; - T result = casePartialModelEntry(partialModelEntry); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ApplicationConfigurationPackage.MODEL_ENTRY: - { - ModelEntry modelEntry = (ModelEntry)theEObject; - T result = caseModelEntry(modelEntry); - if (result == null) result = casePartialModelEntry(modelEntry); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ApplicationConfigurationPackage.FOLDER_ENTRY: - { - FolderEntry folderEntry = (FolderEntry)theEObject; - T result = caseFolderEntry(folderEntry); - if (result == null) result = casePartialModelEntry(folderEntry); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ApplicationConfigurationPackage.PARTIAL_MODEL_DECLARATION: - { - PartialModelDeclaration partialModelDeclaration = (PartialModelDeclaration)theEObject; - T result = casePartialModelDeclaration(partialModelDeclaration); - if (result == null) result = caseDeclaration(partialModelDeclaration); - if (result == null) result = caseCommand(partialModelDeclaration); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ApplicationConfigurationPackage.PARTIAL_MODEL_REFERENCE: - { - PartialModelReference partialModelReference = (PartialModelReference)theEObject; - T result = casePartialModelReference(partialModelReference); - if (result == null) result = casePartialModel(partialModelReference); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ApplicationConfigurationPackage.PARTIAL_MODEL: - { - PartialModel partialModel = (PartialModel)theEObject; - T result = casePartialModel(partialModel); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ApplicationConfigurationPackage.PATTERN_SPECIFICATION: - { - PatternSpecification patternSpecification = (PatternSpecification)theEObject; - T result = casePatternSpecification(patternSpecification); - if (result == null) result = caseGraphPattern(patternSpecification); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ApplicationConfigurationPackage.PATTERN_ENTRY: - { - PatternEntry patternEntry = (PatternEntry)theEObject; - T result = casePatternEntry(patternEntry); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ApplicationConfigurationPackage.ALL_PATTERN_ENTRY: - { - AllPatternEntry allPatternEntry = (AllPatternEntry)theEObject; - T result = caseAllPatternEntry(allPatternEntry); - if (result == null) result = casePatternEntry(allPatternEntry); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ApplicationConfigurationPackage.PATTERN_ELEMENT: - { - PatternElement patternElement = (PatternElement)theEObject; - T result = casePatternElement(patternElement); - if (result == null) result = casePatternEntry(patternElement); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ApplicationConfigurationPackage.GRAPH_PATTERN_DECLARATION: - { - GraphPatternDeclaration graphPatternDeclaration = (GraphPatternDeclaration)theEObject; - T result = caseGraphPatternDeclaration(graphPatternDeclaration); - if (result == null) result = caseDeclaration(graphPatternDeclaration); - if (result == null) result = caseCommand(graphPatternDeclaration); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ApplicationConfigurationPackage.GRAPH_PATTERN_REFERENCE: - { - GraphPatternReference graphPatternReference = (GraphPatternReference)theEObject; - T result = caseGraphPatternReference(graphPatternReference); - if (result == null) result = caseGraphPattern(graphPatternReference); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ApplicationConfigurationPackage.GRAPH_PATTERN: - { - GraphPattern graphPattern = (GraphPattern)theEObject; - T result = caseGraphPattern(graphPattern); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ApplicationConfigurationPackage.CONFIG_SPECIFICATION: - { - ConfigSpecification configSpecification = (ConfigSpecification)theEObject; - T result = caseConfigSpecification(configSpecification); - if (result == null) result = caseConfig(configSpecification); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ApplicationConfigurationPackage.CONFIG_DECLARATION: - { - ConfigDeclaration configDeclaration = (ConfigDeclaration)theEObject; - T result = caseConfigDeclaration(configDeclaration); - if (result == null) result = caseDeclaration(configDeclaration); - if (result == null) result = caseCommand(configDeclaration); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ApplicationConfigurationPackage.CONFIG_ENTRY: - { - ConfigEntry configEntry = (ConfigEntry)theEObject; - T result = caseConfigEntry(configEntry); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ApplicationConfigurationPackage.DOCUMENTATION_ENTRY: - { - DocumentationEntry documentationEntry = (DocumentationEntry)theEObject; - T result = caseDocumentationEntry(documentationEntry); - if (result == null) result = caseConfigEntry(documentationEntry); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ApplicationConfigurationPackage.RUNTIME_ENTRY: - { - RuntimeEntry runtimeEntry = (RuntimeEntry)theEObject; - T result = caseRuntimeEntry(runtimeEntry); - if (result == null) result = caseConfigEntry(runtimeEntry); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ApplicationConfigurationPackage.MEMORY_ENTRY: - { - MemoryEntry memoryEntry = (MemoryEntry)theEObject; - T result = caseMemoryEntry(memoryEntry); - if (result == null) result = caseConfigEntry(memoryEntry); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ApplicationConfigurationPackage.CUSTOM_ENTRY: - { - CustomEntry customEntry = (CustomEntry)theEObject; - T result = caseCustomEntry(customEntry); - if (result == null) result = caseConfigEntry(customEntry); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ApplicationConfigurationPackage.CONFIG_REFERENCE: - { - ConfigReference configReference = (ConfigReference)theEObject; - T result = caseConfigReference(configReference); - if (result == null) result = caseConfig(configReference); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ApplicationConfigurationPackage.CONFIG: - { - Config config = (Config)theEObject; - T result = caseConfig(config); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ApplicationConfigurationPackage.SCOPE_SPECIFICATION: - { - ScopeSpecification scopeSpecification = (ScopeSpecification)theEObject; - T result = caseScopeSpecification(scopeSpecification); - if (result == null) result = caseScope(scopeSpecification); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ApplicationConfigurationPackage.TYPE_SCOPE: - { - TypeScope typeScope = (TypeScope)theEObject; - T result = caseTypeScope(typeScope); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ApplicationConfigurationPackage.CLASS_TYPE_SCOPE: - { - ClassTypeScope classTypeScope = (ClassTypeScope)theEObject; - T result = caseClassTypeScope(classTypeScope); - if (result == null) result = caseTypeScope(classTypeScope); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ApplicationConfigurationPackage.OBJECT_TYPE_SCOPE: - { - ObjectTypeScope objectTypeScope = (ObjectTypeScope)theEObject; - T result = caseObjectTypeScope(objectTypeScope); - if (result == null) result = caseTypeScope(objectTypeScope); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ApplicationConfigurationPackage.INTEGER_TYPE_SCOPE: - { - IntegerTypeScope integerTypeScope = (IntegerTypeScope)theEObject; - T result = caseIntegerTypeScope(integerTypeScope); - if (result == null) result = caseTypeScope(integerTypeScope); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ApplicationConfigurationPackage.REAL_TYPE_SCOPE: - { - RealTypeScope realTypeScope = (RealTypeScope)theEObject; - T result = caseRealTypeScope(realTypeScope); - if (result == null) result = caseTypeScope(realTypeScope); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ApplicationConfigurationPackage.STRING_TYPE_SCOPE: - { - StringTypeScope stringTypeScope = (StringTypeScope)theEObject; - T result = caseStringTypeScope(stringTypeScope); - if (result == null) result = caseTypeScope(stringTypeScope); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ApplicationConfigurationPackage.TYPE_REFERENCE: - { - TypeReference typeReference = (TypeReference)theEObject; - T result = caseTypeReference(typeReference); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ApplicationConfigurationPackage.CLASS_REFERENCE: - { - ClassReference classReference = (ClassReference)theEObject; - T result = caseClassReference(classReference); - if (result == null) result = caseTypeReference(classReference); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ApplicationConfigurationPackage.OBJECT_REFERENCE: - { - ObjectReference objectReference = (ObjectReference)theEObject; - T result = caseObjectReference(objectReference); - if (result == null) result = caseTypeReference(objectReference); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ApplicationConfigurationPackage.INTEGER_REFERENCE: - { - IntegerReference integerReference = (IntegerReference)theEObject; - T result = caseIntegerReference(integerReference); - if (result == null) result = caseTypeReference(integerReference); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ApplicationConfigurationPackage.REAL_REFERENCE: - { - RealReference realReference = (RealReference)theEObject; - T result = caseRealReference(realReference); - if (result == null) result = caseTypeReference(realReference); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ApplicationConfigurationPackage.STRING_REFERENCE: - { - StringReference stringReference = (StringReference)theEObject; - T result = caseStringReference(stringReference); - if (result == null) result = caseTypeReference(stringReference); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ApplicationConfigurationPackage.NUMBER_SPECIFICATION: - { - NumberSpecification numberSpecification = (NumberSpecification)theEObject; - T result = caseNumberSpecification(numberSpecification); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ApplicationConfigurationPackage.EXACT_NUMBER: - { - ExactNumber exactNumber = (ExactNumber)theEObject; - T result = caseExactNumber(exactNumber); - if (result == null) result = caseNumberSpecification(exactNumber); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ApplicationConfigurationPackage.INTERVALL_NUMBER: - { - IntervallNumber intervallNumber = (IntervallNumber)theEObject; - T result = caseIntervallNumber(intervallNumber); - if (result == null) result = caseNumberSpecification(intervallNumber); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ApplicationConfigurationPackage.INT_ENUMBERATION: - { - IntEnumberation intEnumberation = (IntEnumberation)theEObject; - T result = caseIntEnumberation(intEnumberation); - if (result == null) result = caseNumberSpecification(intEnumberation); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ApplicationConfigurationPackage.REAL_ENUMERATION: - { - RealEnumeration realEnumeration = (RealEnumeration)theEObject; - T result = caseRealEnumeration(realEnumeration); - if (result == null) result = caseNumberSpecification(realEnumeration); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ApplicationConfigurationPackage.STRING_ENUMERATION: - { - StringEnumeration stringEnumeration = (StringEnumeration)theEObject; - T result = caseStringEnumeration(stringEnumeration); - if (result == null) result = caseNumberSpecification(stringEnumeration); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ApplicationConfigurationPackage.SCOPE_DECLARATION: - { - ScopeDeclaration scopeDeclaration = (ScopeDeclaration)theEObject; - T result = caseScopeDeclaration(scopeDeclaration); - if (result == null) result = caseDeclaration(scopeDeclaration); - if (result == null) result = caseCommand(scopeDeclaration); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ApplicationConfigurationPackage.SCOPE_REFERENCE: - { - ScopeReference scopeReference = (ScopeReference)theEObject; - T result = caseScopeReference(scopeReference); - if (result == null) result = caseScope(scopeReference); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ApplicationConfigurationPackage.SCOPE: - { - Scope scope = (Scope)theEObject; - T result = caseScope(scope); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ApplicationConfigurationPackage.TASK: - { - Task task = (Task)theEObject; - T result = caseTask(task); - if (result == null) result = caseCommand(task); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ApplicationConfigurationPackage.GENERATION_TASK: - { - GenerationTask generationTask = (GenerationTask)theEObject; - T result = caseGenerationTask(generationTask); - if (result == null) result = caseTask(generationTask); - if (result == null) result = caseCommand(generationTask); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ApplicationConfigurationPackage.INTEGER_SCOPE: - { - IntegerScope integerScope = (IntegerScope)theEObject; - T result = caseIntegerScope(integerScope); - if (result == null) result = caseIntegerReference(integerScope); - if (result == null) result = caseTypeReference(integerScope); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ApplicationConfigurationPackage.REAL_SCOPE: - { - RealScope realScope = (RealScope)theEObject; - T result = caseRealScope(realScope); - if (result == null) result = caseRealReference(realScope); - if (result == null) result = caseTypeReference(realScope); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ApplicationConfigurationPackage.STRING_SCOPE: - { - StringScope stringScope = (StringScope)theEObject; - T result = caseStringScope(stringScope); - if (result == null) result = caseStringReference(stringScope); - if (result == null) result = caseTypeReference(stringScope); - if (result == null) result = defaultCase(theEObject); - return result; - } - default: return defaultCase(theEObject); - } - } - - /** - * Returns the result of interpreting the object as an instance of 'Configuration Script'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Configuration Script'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseConfigurationScript(ConfigurationScript object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Command'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Command'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseCommand(Command object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Import'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Import'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseImport(Import object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'EPackage Import'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'EPackage Import'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseEPackageImport(EPackageImport object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Viatra Import'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Viatra Import'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseViatraImport(ViatraImport object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Declaration'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Declaration'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseDeclaration(Declaration object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'File Specification'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'File Specification'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseFileSpecification(FileSpecification object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'File Declaration'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'File Declaration'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseFileDeclaration(FileDeclaration object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'File Reference'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'File Reference'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseFileReference(FileReference object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'File'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'File'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseFile(File object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Metamodel Specification'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Metamodel Specification'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseMetamodelSpecification(MetamodelSpecification object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Metamodel Entry'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Metamodel Entry'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseMetamodelEntry(MetamodelEntry object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'All Package Entry'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'All Package Entry'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseAllPackageEntry(AllPackageEntry object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Metamodel Element'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Metamodel Element'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseMetamodelElement(MetamodelElement object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Metamodel Declaration'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Metamodel Declaration'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseMetamodelDeclaration(MetamodelDeclaration object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Metamodel Reference'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Metamodel Reference'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseMetamodelReference(MetamodelReference object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Metamodel'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Metamodel'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseMetamodel(Metamodel object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Partial Model Specification'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Partial Model Specification'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T casePartialModelSpecification(PartialModelSpecification object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Partial Model Entry'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Partial Model Entry'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T casePartialModelEntry(PartialModelEntry object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Model Entry'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Model Entry'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseModelEntry(ModelEntry object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Folder Entry'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Folder Entry'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseFolderEntry(FolderEntry object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Partial Model Declaration'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Partial Model Declaration'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T casePartialModelDeclaration(PartialModelDeclaration object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Partial Model Reference'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Partial Model Reference'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T casePartialModelReference(PartialModelReference object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Partial Model'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Partial Model'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T casePartialModel(PartialModel object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Pattern Specification'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Pattern Specification'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T casePatternSpecification(PatternSpecification object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Pattern Entry'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Pattern Entry'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T casePatternEntry(PatternEntry object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'All Pattern Entry'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'All Pattern Entry'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseAllPatternEntry(AllPatternEntry object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Pattern Element'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Pattern Element'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T casePatternElement(PatternElement object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Graph Pattern Declaration'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Graph Pattern Declaration'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseGraphPatternDeclaration(GraphPatternDeclaration object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Graph Pattern Reference'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Graph Pattern Reference'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseGraphPatternReference(GraphPatternReference object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Graph Pattern'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Graph Pattern'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseGraphPattern(GraphPattern object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Config Specification'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Config Specification'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseConfigSpecification(ConfigSpecification object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Config Declaration'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Config Declaration'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseConfigDeclaration(ConfigDeclaration object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Config Entry'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Config Entry'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseConfigEntry(ConfigEntry object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Documentation Entry'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Documentation Entry'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseDocumentationEntry(DocumentationEntry object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Runtime Entry'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Runtime Entry'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseRuntimeEntry(RuntimeEntry object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Memory Entry'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Memory Entry'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseMemoryEntry(MemoryEntry object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Custom Entry'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Custom Entry'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseCustomEntry(CustomEntry object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Config Reference'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Config Reference'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseConfigReference(ConfigReference object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Config'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Config'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseConfig(Config object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Scope Specification'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Scope Specification'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseScopeSpecification(ScopeSpecification object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Type Scope'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Type Scope'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseTypeScope(TypeScope object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Class Type Scope'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Class Type Scope'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseClassTypeScope(ClassTypeScope object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Object Type Scope'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Object Type Scope'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseObjectTypeScope(ObjectTypeScope object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Integer Type Scope'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Integer Type Scope'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseIntegerTypeScope(IntegerTypeScope object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Real Type Scope'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Real Type Scope'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseRealTypeScope(RealTypeScope object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'String Type Scope'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'String Type Scope'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseStringTypeScope(StringTypeScope object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Type Reference'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Type Reference'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseTypeReference(TypeReference object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Class Reference'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Class Reference'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseClassReference(ClassReference object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Object Reference'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Object Reference'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseObjectReference(ObjectReference object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Integer Reference'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Integer Reference'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseIntegerReference(IntegerReference object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Real Reference'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Real Reference'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseRealReference(RealReference object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'String Reference'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'String Reference'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseStringReference(StringReference object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Number Specification'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Number Specification'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseNumberSpecification(NumberSpecification object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Exact Number'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Exact Number'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseExactNumber(ExactNumber object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Intervall Number'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Intervall Number'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseIntervallNumber(IntervallNumber object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Int Enumberation'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Int Enumberation'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseIntEnumberation(IntEnumberation object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Real Enumeration'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Real Enumeration'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseRealEnumeration(RealEnumeration object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'String Enumeration'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'String Enumeration'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseStringEnumeration(StringEnumeration object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Scope Declaration'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Scope Declaration'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseScopeDeclaration(ScopeDeclaration object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Scope Reference'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Scope Reference'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseScopeReference(ScopeReference object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Scope'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Scope'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseScope(Scope object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Task'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Task'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseTask(Task object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Generation Task'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Generation Task'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseGenerationTask(GenerationTask object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Integer Scope'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Integer Scope'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseIntegerScope(IntegerScope object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Real Scope'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Real Scope'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseRealScope(RealScope object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'String Scope'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'String Scope'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseStringScope(StringScope object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'EObject'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch, but this is the last case anyway. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'EObject'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) - * @generated - */ - @Override - public T defaultCase(EObject object) - { - return null; - } - -} //ApplicationConfigurationSwitch +/** + * generated by Xtext 2.16.0 + */ +package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.util; + +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.*; + +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.EPackage; + +import org.eclipse.emf.ecore.util.Switch; + +/** + * + * The Switch for the model's inheritance hierarchy. + * It supports the call {@link #doSwitch(EObject) doSwitch(object)} + * to invoke the caseXXX method for each class of the model, + * starting with the actual class of the object + * and proceeding up the inheritance hierarchy + * until a non-null result is returned, + * which is the result of the switch. + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage + * @generated + */ +public class ApplicationConfigurationSwitch extends Switch +{ + /** + * The cached model package + * + * + * @generated + */ + protected static ApplicationConfigurationPackage modelPackage; + + /** + * Creates an instance of the switch. + * + * + * @generated + */ + public ApplicationConfigurationSwitch() + { + if (modelPackage == null) + { + modelPackage = ApplicationConfigurationPackage.eINSTANCE; + } + } + + /** + * Checks whether this is a switch for the given package. + * + * + * @param ePackage the package in question. + * @return whether this is a switch for the given package. + * @generated + */ + @Override + protected boolean isSwitchFor(EPackage ePackage) + { + return ePackage == modelPackage; + } + + /** + * Calls caseXXX for each class of the model until one returns a non null result; it yields that result. + * + * + * @return the first non-null result returned by a caseXXX call. + * @generated + */ + @Override + protected T doSwitch(int classifierID, EObject theEObject) + { + switch (classifierID) + { + case ApplicationConfigurationPackage.CONFIGURATION_SCRIPT: + { + ConfigurationScript configurationScript = (ConfigurationScript)theEObject; + T result = caseConfigurationScript(configurationScript); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.COMMAND: + { + Command command = (Command)theEObject; + T result = caseCommand(command); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.IMPORT: + { + Import import_ = (Import)theEObject; + T result = caseImport(import_); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.EPACKAGE_IMPORT: + { + EPackageImport ePackageImport = (EPackageImport)theEObject; + T result = caseEPackageImport(ePackageImport); + if (result == null) result = caseImport(ePackageImport); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.VIATRA_IMPORT: + { + ViatraImport viatraImport = (ViatraImport)theEObject; + T result = caseViatraImport(viatraImport); + if (result == null) result = caseImport(viatraImport); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.CFT_IMPORT: + { + CftImport cftImport = (CftImport)theEObject; + T result = caseCftImport(cftImport); + if (result == null) result = caseImport(cftImport); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.DECLARATION: + { + Declaration declaration = (Declaration)theEObject; + T result = caseDeclaration(declaration); + if (result == null) result = caseCommand(declaration); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.FILE_SPECIFICATION: + { + FileSpecification fileSpecification = (FileSpecification)theEObject; + T result = caseFileSpecification(fileSpecification); + if (result == null) result = caseFile(fileSpecification); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.FILE_DECLARATION: + { + FileDeclaration fileDeclaration = (FileDeclaration)theEObject; + T result = caseFileDeclaration(fileDeclaration); + if (result == null) result = caseDeclaration(fileDeclaration); + if (result == null) result = caseCommand(fileDeclaration); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.FILE_REFERENCE: + { + FileReference fileReference = (FileReference)theEObject; + T result = caseFileReference(fileReference); + if (result == null) result = caseFile(fileReference); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.FILE: + { + File file = (File)theEObject; + T result = caseFile(file); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.METAMODEL_SPECIFICATION: + { + MetamodelSpecification metamodelSpecification = (MetamodelSpecification)theEObject; + T result = caseMetamodelSpecification(metamodelSpecification); + if (result == null) result = caseMetamodel(metamodelSpecification); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.METAMODEL_ENTRY: + { + MetamodelEntry metamodelEntry = (MetamodelEntry)theEObject; + T result = caseMetamodelEntry(metamodelEntry); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.ALL_PACKAGE_ENTRY: + { + AllPackageEntry allPackageEntry = (AllPackageEntry)theEObject; + T result = caseAllPackageEntry(allPackageEntry); + if (result == null) result = caseMetamodelEntry(allPackageEntry); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.METAMODEL_ELEMENT: + { + MetamodelElement metamodelElement = (MetamodelElement)theEObject; + T result = caseMetamodelElement(metamodelElement); + if (result == null) result = caseMetamodelEntry(metamodelElement); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.METAMODEL_DECLARATION: + { + MetamodelDeclaration metamodelDeclaration = (MetamodelDeclaration)theEObject; + T result = caseMetamodelDeclaration(metamodelDeclaration); + if (result == null) result = caseDeclaration(metamodelDeclaration); + if (result == null) result = caseCommand(metamodelDeclaration); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.METAMODEL_REFERENCE: + { + MetamodelReference metamodelReference = (MetamodelReference)theEObject; + T result = caseMetamodelReference(metamodelReference); + if (result == null) result = caseMetamodel(metamodelReference); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.METAMODEL: + { + Metamodel metamodel = (Metamodel)theEObject; + T result = caseMetamodel(metamodel); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.PARTIAL_MODEL_SPECIFICATION: + { + PartialModelSpecification partialModelSpecification = (PartialModelSpecification)theEObject; + T result = casePartialModelSpecification(partialModelSpecification); + if (result == null) result = casePartialModel(partialModelSpecification); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.PARTIAL_MODEL_ENTRY: + { + PartialModelEntry partialModelEntry = (PartialModelEntry)theEObject; + T result = casePartialModelEntry(partialModelEntry); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.MODEL_ENTRY: + { + ModelEntry modelEntry = (ModelEntry)theEObject; + T result = caseModelEntry(modelEntry); + if (result == null) result = casePartialModelEntry(modelEntry); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.FOLDER_ENTRY: + { + FolderEntry folderEntry = (FolderEntry)theEObject; + T result = caseFolderEntry(folderEntry); + if (result == null) result = casePartialModelEntry(folderEntry); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.PARTIAL_MODEL_DECLARATION: + { + PartialModelDeclaration partialModelDeclaration = (PartialModelDeclaration)theEObject; + T result = casePartialModelDeclaration(partialModelDeclaration); + if (result == null) result = caseDeclaration(partialModelDeclaration); + if (result == null) result = caseCommand(partialModelDeclaration); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.PARTIAL_MODEL_REFERENCE: + { + PartialModelReference partialModelReference = (PartialModelReference)theEObject; + T result = casePartialModelReference(partialModelReference); + if (result == null) result = casePartialModel(partialModelReference); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.PARTIAL_MODEL: + { + PartialModel partialModel = (PartialModel)theEObject; + T result = casePartialModel(partialModel); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.PATTERN_SPECIFICATION: + { + PatternSpecification patternSpecification = (PatternSpecification)theEObject; + T result = casePatternSpecification(patternSpecification); + if (result == null) result = caseGraphPattern(patternSpecification); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.PATTERN_ENTRY: + { + PatternEntry patternEntry = (PatternEntry)theEObject; + T result = casePatternEntry(patternEntry); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.ALL_PATTERN_ENTRY: + { + AllPatternEntry allPatternEntry = (AllPatternEntry)theEObject; + T result = caseAllPatternEntry(allPatternEntry); + if (result == null) result = casePatternEntry(allPatternEntry); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.PATTERN_ELEMENT: + { + PatternElement patternElement = (PatternElement)theEObject; + T result = casePatternElement(patternElement); + if (result == null) result = casePatternEntry(patternElement); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.GRAPH_PATTERN_DECLARATION: + { + GraphPatternDeclaration graphPatternDeclaration = (GraphPatternDeclaration)theEObject; + T result = caseGraphPatternDeclaration(graphPatternDeclaration); + if (result == null) result = caseDeclaration(graphPatternDeclaration); + if (result == null) result = caseCommand(graphPatternDeclaration); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.GRAPH_PATTERN_REFERENCE: + { + GraphPatternReference graphPatternReference = (GraphPatternReference)theEObject; + T result = caseGraphPatternReference(graphPatternReference); + if (result == null) result = caseGraphPattern(graphPatternReference); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.GRAPH_PATTERN: + { + GraphPattern graphPattern = (GraphPattern)theEObject; + T result = caseGraphPattern(graphPattern); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.OBJECTIVE_SPECIFICATION: + { + ObjectiveSpecification objectiveSpecification = (ObjectiveSpecification)theEObject; + T result = caseObjectiveSpecification(objectiveSpecification); + if (result == null) result = caseObjective(objectiveSpecification); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.OBJECTIVE_ENTRY: + { + ObjectiveEntry objectiveEntry = (ObjectiveEntry)theEObject; + T result = caseObjectiveEntry(objectiveEntry); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.OPTIMIZATION_ENTRY: + { + OptimizationEntry optimizationEntry = (OptimizationEntry)theEObject; + T result = caseOptimizationEntry(optimizationEntry); + if (result == null) result = caseObjectiveEntry(optimizationEntry); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.THRESHOLD_ENTRY: + { + ThresholdEntry thresholdEntry = (ThresholdEntry)theEObject; + T result = caseThresholdEntry(thresholdEntry); + if (result == null) result = caseObjectiveEntry(thresholdEntry); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.OBJECTIVE_FUNCTION: + { + ObjectiveFunction objectiveFunction = (ObjectiveFunction)theEObject; + T result = caseObjectiveFunction(objectiveFunction); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.RELIABILTIY_FUNCTION: + { + ReliabiltiyFunction reliabiltiyFunction = (ReliabiltiyFunction)theEObject; + T result = caseReliabiltiyFunction(reliabiltiyFunction); + if (result == null) result = caseObjectiveFunction(reliabiltiyFunction); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.OBJECTIVE_DECLARATION: + { + ObjectiveDeclaration objectiveDeclaration = (ObjectiveDeclaration)theEObject; + T result = caseObjectiveDeclaration(objectiveDeclaration); + if (result == null) result = caseDeclaration(objectiveDeclaration); + if (result == null) result = caseCommand(objectiveDeclaration); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.OBJECTIVE_REFERENCE: + { + ObjectiveReference objectiveReference = (ObjectiveReference)theEObject; + T result = caseObjectiveReference(objectiveReference); + if (result == null) result = caseObjective(objectiveReference); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.OBJECTIVE: + { + Objective objective = (Objective)theEObject; + T result = caseObjective(objective); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.CONFIG_SPECIFICATION: + { + ConfigSpecification configSpecification = (ConfigSpecification)theEObject; + T result = caseConfigSpecification(configSpecification); + if (result == null) result = caseConfig(configSpecification); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.CONFIG_DECLARATION: + { + ConfigDeclaration configDeclaration = (ConfigDeclaration)theEObject; + T result = caseConfigDeclaration(configDeclaration); + if (result == null) result = caseDeclaration(configDeclaration); + if (result == null) result = caseCommand(configDeclaration); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.CONFIG_ENTRY: + { + ConfigEntry configEntry = (ConfigEntry)theEObject; + T result = caseConfigEntry(configEntry); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.DOCUMENTATION_ENTRY: + { + DocumentationEntry documentationEntry = (DocumentationEntry)theEObject; + T result = caseDocumentationEntry(documentationEntry); + if (result == null) result = caseConfigEntry(documentationEntry); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.RUNTIME_ENTRY: + { + RuntimeEntry runtimeEntry = (RuntimeEntry)theEObject; + T result = caseRuntimeEntry(runtimeEntry); + if (result == null) result = caseConfigEntry(runtimeEntry); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.MEMORY_ENTRY: + { + MemoryEntry memoryEntry = (MemoryEntry)theEObject; + T result = caseMemoryEntry(memoryEntry); + if (result == null) result = caseConfigEntry(memoryEntry); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.CUSTOM_ENTRY: + { + CustomEntry customEntry = (CustomEntry)theEObject; + T result = caseCustomEntry(customEntry); + if (result == null) result = caseConfigEntry(customEntry); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.CONFIG_REFERENCE: + { + ConfigReference configReference = (ConfigReference)theEObject; + T result = caseConfigReference(configReference); + if (result == null) result = caseConfig(configReference); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.CONFIG: + { + Config config = (Config)theEObject; + T result = caseConfig(config); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.SCOPE_SPECIFICATION: + { + ScopeSpecification scopeSpecification = (ScopeSpecification)theEObject; + T result = caseScopeSpecification(scopeSpecification); + if (result == null) result = caseScope(scopeSpecification); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.TYPE_SCOPE: + { + TypeScope typeScope = (TypeScope)theEObject; + T result = caseTypeScope(typeScope); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.CLASS_TYPE_SCOPE: + { + ClassTypeScope classTypeScope = (ClassTypeScope)theEObject; + T result = caseClassTypeScope(classTypeScope); + if (result == null) result = caseTypeScope(classTypeScope); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.OBJECT_TYPE_SCOPE: + { + ObjectTypeScope objectTypeScope = (ObjectTypeScope)theEObject; + T result = caseObjectTypeScope(objectTypeScope); + if (result == null) result = caseTypeScope(objectTypeScope); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.INTEGER_TYPE_SCOPE: + { + IntegerTypeScope integerTypeScope = (IntegerTypeScope)theEObject; + T result = caseIntegerTypeScope(integerTypeScope); + if (result == null) result = caseTypeScope(integerTypeScope); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.REAL_TYPE_SCOPE: + { + RealTypeScope realTypeScope = (RealTypeScope)theEObject; + T result = caseRealTypeScope(realTypeScope); + if (result == null) result = caseTypeScope(realTypeScope); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.STRING_TYPE_SCOPE: + { + StringTypeScope stringTypeScope = (StringTypeScope)theEObject; + T result = caseStringTypeScope(stringTypeScope); + if (result == null) result = caseTypeScope(stringTypeScope); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.TYPE_REFERENCE: + { + TypeReference typeReference = (TypeReference)theEObject; + T result = caseTypeReference(typeReference); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.CLASS_REFERENCE: + { + ClassReference classReference = (ClassReference)theEObject; + T result = caseClassReference(classReference); + if (result == null) result = caseTypeReference(classReference); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.OBJECT_REFERENCE: + { + ObjectReference objectReference = (ObjectReference)theEObject; + T result = caseObjectReference(objectReference); + if (result == null) result = caseTypeReference(objectReference); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.INTEGER_REFERENCE: + { + IntegerReference integerReference = (IntegerReference)theEObject; + T result = caseIntegerReference(integerReference); + if (result == null) result = caseTypeReference(integerReference); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.REAL_REFERENCE: + { + RealReference realReference = (RealReference)theEObject; + T result = caseRealReference(realReference); + if (result == null) result = caseTypeReference(realReference); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.STRING_REFERENCE: + { + StringReference stringReference = (StringReference)theEObject; + T result = caseStringReference(stringReference); + if (result == null) result = caseTypeReference(stringReference); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.NUMBER_SPECIFICATION: + { + NumberSpecification numberSpecification = (NumberSpecification)theEObject; + T result = caseNumberSpecification(numberSpecification); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.EXACT_NUMBER: + { + ExactNumber exactNumber = (ExactNumber)theEObject; + T result = caseExactNumber(exactNumber); + if (result == null) result = caseNumberSpecification(exactNumber); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.INTERVALL_NUMBER: + { + IntervallNumber intervallNumber = (IntervallNumber)theEObject; + T result = caseIntervallNumber(intervallNumber); + if (result == null) result = caseNumberSpecification(intervallNumber); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.INT_ENUMBERATION: + { + IntEnumberation intEnumberation = (IntEnumberation)theEObject; + T result = caseIntEnumberation(intEnumberation); + if (result == null) result = caseNumberSpecification(intEnumberation); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.REAL_ENUMERATION: + { + RealEnumeration realEnumeration = (RealEnumeration)theEObject; + T result = caseRealEnumeration(realEnumeration); + if (result == null) result = caseNumberSpecification(realEnumeration); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.STRING_ENUMERATION: + { + StringEnumeration stringEnumeration = (StringEnumeration)theEObject; + T result = caseStringEnumeration(stringEnumeration); + if (result == null) result = caseNumberSpecification(stringEnumeration); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.SCOPE_DECLARATION: + { + ScopeDeclaration scopeDeclaration = (ScopeDeclaration)theEObject; + T result = caseScopeDeclaration(scopeDeclaration); + if (result == null) result = caseDeclaration(scopeDeclaration); + if (result == null) result = caseCommand(scopeDeclaration); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.SCOPE_REFERENCE: + { + ScopeReference scopeReference = (ScopeReference)theEObject; + T result = caseScopeReference(scopeReference); + if (result == null) result = caseScope(scopeReference); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.SCOPE: + { + Scope scope = (Scope)theEObject; + T result = caseScope(scope); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.TASK: + { + Task task = (Task)theEObject; + T result = caseTask(task); + if (result == null) result = caseCommand(task); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.GENERATION_TASK: + { + GenerationTask generationTask = (GenerationTask)theEObject; + T result = caseGenerationTask(generationTask); + if (result == null) result = caseTask(generationTask); + if (result == null) result = caseCommand(generationTask); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.INTEGER_SCOPE: + { + IntegerScope integerScope = (IntegerScope)theEObject; + T result = caseIntegerScope(integerScope); + if (result == null) result = caseIntegerReference(integerScope); + if (result == null) result = caseTypeReference(integerScope); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.REAL_SCOPE: + { + RealScope realScope = (RealScope)theEObject; + T result = caseRealScope(realScope); + if (result == null) result = caseRealReference(realScope); + if (result == null) result = caseTypeReference(realScope); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.STRING_SCOPE: + { + StringScope stringScope = (StringScope)theEObject; + T result = caseStringScope(stringScope); + if (result == null) result = caseStringReference(stringScope); + if (result == null) result = caseTypeReference(stringScope); + if (result == null) result = defaultCase(theEObject); + return result; + } + default: return defaultCase(theEObject); + } + } + + /** + * Returns the result of interpreting the object as an instance of 'Configuration Script'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Configuration Script'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseConfigurationScript(ConfigurationScript object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Command'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Command'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseCommand(Command object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Import'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Import'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseImport(Import object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'EPackage Import'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'EPackage Import'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseEPackageImport(EPackageImport object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Viatra Import'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Viatra Import'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseViatraImport(ViatraImport object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Cft Import'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Cft Import'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseCftImport(CftImport object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Declaration'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Declaration'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseDeclaration(Declaration object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'File Specification'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'File Specification'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseFileSpecification(FileSpecification object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'File Declaration'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'File Declaration'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseFileDeclaration(FileDeclaration object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'File Reference'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'File Reference'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseFileReference(FileReference object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'File'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'File'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseFile(File object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Metamodel Specification'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Metamodel Specification'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseMetamodelSpecification(MetamodelSpecification object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Metamodel Entry'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Metamodel Entry'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseMetamodelEntry(MetamodelEntry object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'All Package Entry'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'All Package Entry'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseAllPackageEntry(AllPackageEntry object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Metamodel Element'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Metamodel Element'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseMetamodelElement(MetamodelElement object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Metamodel Declaration'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Metamodel Declaration'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseMetamodelDeclaration(MetamodelDeclaration object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Metamodel Reference'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Metamodel Reference'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseMetamodelReference(MetamodelReference object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Metamodel'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Metamodel'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseMetamodel(Metamodel object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Partial Model Specification'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Partial Model Specification'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T casePartialModelSpecification(PartialModelSpecification object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Partial Model Entry'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Partial Model Entry'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T casePartialModelEntry(PartialModelEntry object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Model Entry'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Model Entry'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseModelEntry(ModelEntry object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Folder Entry'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Folder Entry'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseFolderEntry(FolderEntry object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Partial Model Declaration'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Partial Model Declaration'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T casePartialModelDeclaration(PartialModelDeclaration object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Partial Model Reference'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Partial Model Reference'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T casePartialModelReference(PartialModelReference object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Partial Model'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Partial Model'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T casePartialModel(PartialModel object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Pattern Specification'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Pattern Specification'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T casePatternSpecification(PatternSpecification object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Pattern Entry'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Pattern Entry'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T casePatternEntry(PatternEntry object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'All Pattern Entry'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'All Pattern Entry'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseAllPatternEntry(AllPatternEntry object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Pattern Element'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Pattern Element'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T casePatternElement(PatternElement object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Graph Pattern Declaration'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Graph Pattern Declaration'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseGraphPatternDeclaration(GraphPatternDeclaration object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Graph Pattern Reference'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Graph Pattern Reference'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseGraphPatternReference(GraphPatternReference object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Graph Pattern'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Graph Pattern'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseGraphPattern(GraphPattern object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Objective Specification'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Objective Specification'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseObjectiveSpecification(ObjectiveSpecification object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Objective Entry'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Objective Entry'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseObjectiveEntry(ObjectiveEntry object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Optimization Entry'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Optimization Entry'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseOptimizationEntry(OptimizationEntry object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Threshold Entry'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Threshold Entry'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseThresholdEntry(ThresholdEntry object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Objective Function'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Objective Function'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseObjectiveFunction(ObjectiveFunction object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Reliabiltiy Function'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Reliabiltiy Function'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseReliabiltiyFunction(ReliabiltiyFunction object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Objective Declaration'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Objective Declaration'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseObjectiveDeclaration(ObjectiveDeclaration object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Objective Reference'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Objective Reference'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseObjectiveReference(ObjectiveReference object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Objective'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Objective'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseObjective(Objective object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Config Specification'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Config Specification'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseConfigSpecification(ConfigSpecification object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Config Declaration'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Config Declaration'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseConfigDeclaration(ConfigDeclaration object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Config Entry'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Config Entry'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseConfigEntry(ConfigEntry object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Documentation Entry'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Documentation Entry'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseDocumentationEntry(DocumentationEntry object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Runtime Entry'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Runtime Entry'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseRuntimeEntry(RuntimeEntry object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Memory Entry'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Memory Entry'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseMemoryEntry(MemoryEntry object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Custom Entry'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Custom Entry'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseCustomEntry(CustomEntry object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Config Reference'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Config Reference'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseConfigReference(ConfigReference object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Config'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Config'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseConfig(Config object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Scope Specification'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Scope Specification'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseScopeSpecification(ScopeSpecification object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Type Scope'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Type Scope'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseTypeScope(TypeScope object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Class Type Scope'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Class Type Scope'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseClassTypeScope(ClassTypeScope object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Object Type Scope'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Object Type Scope'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseObjectTypeScope(ObjectTypeScope object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Integer Type Scope'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Integer Type Scope'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseIntegerTypeScope(IntegerTypeScope object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Real Type Scope'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Real Type Scope'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseRealTypeScope(RealTypeScope object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'String Type Scope'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'String Type Scope'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseStringTypeScope(StringTypeScope object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Type Reference'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Type Reference'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseTypeReference(TypeReference object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Class Reference'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Class Reference'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseClassReference(ClassReference object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Object Reference'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Object Reference'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseObjectReference(ObjectReference object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Integer Reference'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Integer Reference'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseIntegerReference(IntegerReference object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Real Reference'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Real Reference'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseRealReference(RealReference object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'String Reference'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'String Reference'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseStringReference(StringReference object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Number Specification'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Number Specification'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseNumberSpecification(NumberSpecification object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Exact Number'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Exact Number'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseExactNumber(ExactNumber object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Intervall Number'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Intervall Number'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseIntervallNumber(IntervallNumber object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Int Enumberation'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Int Enumberation'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseIntEnumberation(IntEnumberation object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Real Enumeration'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Real Enumeration'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseRealEnumeration(RealEnumeration object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'String Enumeration'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'String Enumeration'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseStringEnumeration(StringEnumeration object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Scope Declaration'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Scope Declaration'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseScopeDeclaration(ScopeDeclaration object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Scope Reference'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Scope Reference'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseScopeReference(ScopeReference object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Scope'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Scope'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseScope(Scope object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Task'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Task'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseTask(Task object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Generation Task'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Generation Task'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseGenerationTask(GenerationTask object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Integer Scope'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Integer Scope'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseIntegerScope(IntegerScope object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Real Scope'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Real Scope'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseRealScope(RealScope object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'String Scope'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'String Scope'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseStringScope(StringScope object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'EObject'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch, but this is the last case anyway. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'EObject'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) + * @generated + */ + @Override + public T defaultCase(EObject object) + { + return null; + } + +} //ApplicationConfigurationSwitch diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/ApplicationConfigurationAntlrTokenFileProvider.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/ApplicationConfigurationAntlrTokenFileProvider.java index 725ca8fb..baeaefcf 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/ApplicationConfigurationAntlrTokenFileProvider.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/ApplicationConfigurationAntlrTokenFileProvider.java @@ -1,16 +1,16 @@ -/* - * generated by Xtext 2.12.0 - */ -package hu.bme.mit.inf.dslreasoner.application.parser.antlr; - -import java.io.InputStream; -import org.eclipse.xtext.parser.antlr.IAntlrTokenFileProvider; - -public class ApplicationConfigurationAntlrTokenFileProvider implements IAntlrTokenFileProvider { - - @Override - public InputStream getAntlrTokenFile() { - ClassLoader classLoader = getClass().getClassLoader(); - return classLoader.getResourceAsStream("hu/bme/mit/inf/dslreasoner/application/parser/antlr/internal/InternalApplicationConfiguration.tokens"); - } -} +/* + * generated by Xtext 2.16.0 + */ +package hu.bme.mit.inf.dslreasoner.application.parser.antlr; + +import java.io.InputStream; +import org.eclipse.xtext.parser.antlr.IAntlrTokenFileProvider; + +public class ApplicationConfigurationAntlrTokenFileProvider implements IAntlrTokenFileProvider { + + @Override + public InputStream getAntlrTokenFile() { + ClassLoader classLoader = getClass().getClassLoader(); + return classLoader.getResourceAsStream("hu/bme/mit/inf/dslreasoner/application/parser/antlr/internal/InternalApplicationConfiguration.tokens"); + } +} diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/ApplicationConfigurationParser.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/ApplicationConfigurationParser.java index fa6ff883..c1ed7d02 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/ApplicationConfigurationParser.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/ApplicationConfigurationParser.java @@ -1,40 +1,40 @@ -/* - * generated by Xtext 2.12.0 - */ -package hu.bme.mit.inf.dslreasoner.application.parser.antlr; - -import com.google.inject.Inject; -import hu.bme.mit.inf.dslreasoner.application.parser.antlr.internal.InternalApplicationConfigurationParser; -import hu.bme.mit.inf.dslreasoner.application.services.ApplicationConfigurationGrammarAccess; -import org.eclipse.xtext.parser.antlr.AbstractAntlrParser; -import org.eclipse.xtext.parser.antlr.XtextTokenStream; - -public class ApplicationConfigurationParser extends AbstractAntlrParser { - - @Inject - private ApplicationConfigurationGrammarAccess grammarAccess; - - @Override - protected void setInitialHiddenTokens(XtextTokenStream tokenStream) { - tokenStream.setInitialHiddenTokens("RULE_WS", "RULE_ML_COMMENT", "RULE_SL_COMMENT"); - } - - - @Override - protected InternalApplicationConfigurationParser createParser(XtextTokenStream stream) { - return new InternalApplicationConfigurationParser(stream, getGrammarAccess()); - } - - @Override - protected String getDefaultRuleName() { - return "ConfigurationScript"; - } - - public ApplicationConfigurationGrammarAccess getGrammarAccess() { - return this.grammarAccess; - } - - public void setGrammarAccess(ApplicationConfigurationGrammarAccess grammarAccess) { - this.grammarAccess = grammarAccess; - } -} +/* + * generated by Xtext 2.16.0 + */ +package hu.bme.mit.inf.dslreasoner.application.parser.antlr; + +import com.google.inject.Inject; +import hu.bme.mit.inf.dslreasoner.application.parser.antlr.internal.InternalApplicationConfigurationParser; +import hu.bme.mit.inf.dslreasoner.application.services.ApplicationConfigurationGrammarAccess; +import org.eclipse.xtext.parser.antlr.AbstractAntlrParser; +import org.eclipse.xtext.parser.antlr.XtextTokenStream; + +public class ApplicationConfigurationParser extends AbstractAntlrParser { + + @Inject + private ApplicationConfigurationGrammarAccess grammarAccess; + + @Override + protected void setInitialHiddenTokens(XtextTokenStream tokenStream) { + tokenStream.setInitialHiddenTokens("RULE_WS", "RULE_ML_COMMENT", "RULE_SL_COMMENT"); + } + + + @Override + protected InternalApplicationConfigurationParser createParser(XtextTokenStream stream) { + return new InternalApplicationConfigurationParser(stream, getGrammarAccess()); + } + + @Override + protected String getDefaultRuleName() { + return "ConfigurationScript"; + } + + public ApplicationConfigurationGrammarAccess getGrammarAccess() { + return this.grammarAccess; + } + + public void setGrammarAccess(ApplicationConfigurationGrammarAccess grammarAccess) { + this.grammarAccess = grammarAccess; + } +} 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 455e7054..370bbe33 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 @@ -1,4303 +1,4902 @@ -/* - * generated by Xtext 2.12.0 - */ -grammar InternalApplicationConfiguration; - -options { - superClass=AbstractInternalAntlrParser; -} - -@lexer::header { -package hu.bme.mit.inf.dslreasoner.application.parser.antlr.internal; - -// Hack: Use our own Lexer superclass by means of import. -// Currently there is no other way to specify the superclass for the lexer. -import org.eclipse.xtext.parser.antlr.Lexer; -} - -@parser::header { -package hu.bme.mit.inf.dslreasoner.application.parser.antlr.internal; - -import org.eclipse.xtext.*; -import org.eclipse.xtext.parser.*; -import org.eclipse.xtext.parser.impl.*; -import org.eclipse.emf.ecore.util.EcoreUtil; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.common.util.Enumerator; -import org.eclipse.xtext.parser.antlr.AbstractInternalAntlrParser; -import org.eclipse.xtext.parser.antlr.XtextTokenStream; -import org.eclipse.xtext.parser.antlr.XtextTokenStream.HiddenTokens; -import org.eclipse.xtext.parser.antlr.AntlrDatatypeRuleToken; -import hu.bme.mit.inf.dslreasoner.application.services.ApplicationConfigurationGrammarAccess; - -} - -@parser::members { - - private ApplicationConfigurationGrammarAccess grammarAccess; - - public InternalApplicationConfigurationParser(TokenStream input, ApplicationConfigurationGrammarAccess grammarAccess) { - this(input); - this.grammarAccess = grammarAccess; - registerRules(grammarAccess.getGrammar()); - } - - @Override - protected String getFirstRuleName() { - return "ConfigurationScript"; - } - - @Override - protected ApplicationConfigurationGrammarAccess getGrammarAccess() { - return grammarAccess; - } - -} - -@rulecatch { - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } -} - -// Entry rule entryRuleConfigurationScript -entryRuleConfigurationScript returns [EObject current=null]: - { newCompositeNode(grammarAccess.getConfigurationScriptRule()); } - iv_ruleConfigurationScript=ruleConfigurationScript - { $current=$iv_ruleConfigurationScript.current; } - EOF; - -// Rule ConfigurationScript -ruleConfigurationScript returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - ( - ( - { - newCompositeNode(grammarAccess.getConfigurationScriptAccess().getImportsImportParserRuleCall_0_0()); - } - lv_imports_0_0=ruleImport - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getConfigurationScriptRule()); - } - add( - $current, - "imports", - lv_imports_0_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Import"); - afterParserOrEnumRuleCall(); - } - ) - )* - ( - ( - { - newCompositeNode(grammarAccess.getConfigurationScriptAccess().getCommandsCommandParserRuleCall_1_0()); - } - lv_commands_1_0=ruleCommand - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getConfigurationScriptRule()); - } - add( - $current, - "commands", - lv_commands_1_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Command"); - afterParserOrEnumRuleCall(); - } - ) - )* - ) -; - -// Entry rule entryRuleCommand -entryRuleCommand returns [EObject current=null]: - { newCompositeNode(grammarAccess.getCommandRule()); } - iv_ruleCommand=ruleCommand - { $current=$iv_ruleCommand.current; } - EOF; - -// Rule Command -ruleCommand returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - { - newCompositeNode(grammarAccess.getCommandAccess().getDeclarationParserRuleCall_0()); - } - this_Declaration_0=ruleDeclaration - { - $current = $this_Declaration_0.current; - afterParserOrEnumRuleCall(); - } - | - { - newCompositeNode(grammarAccess.getCommandAccess().getTaskParserRuleCall_1()); - } - this_Task_1=ruleTask - { - $current = $this_Task_1.current; - afterParserOrEnumRuleCall(); - } - ) -; - -// Entry rule entryRuleQualifiedName -entryRuleQualifiedName returns [String current=null]: - { newCompositeNode(grammarAccess.getQualifiedNameRule()); } - iv_ruleQualifiedName=ruleQualifiedName - { $current=$iv_ruleQualifiedName.current.getText(); } - EOF; - -// Rule QualifiedName -ruleQualifiedName returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - this_ID_0=RULE_ID - { - $current.merge(this_ID_0); - } - { - newLeafNode(this_ID_0, grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_0()); - } - ( - kw='.' - { - $current.merge(kw); - newLeafNode(kw, grammarAccess.getQualifiedNameAccess().getFullStopKeyword_1_0()); - } - this_ID_2=RULE_ID - { - $current.merge(this_ID_2); - } - { - newLeafNode(this_ID_2, grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_1_1()); - } - )* - ) -; - -// Entry rule entryRuleREALLiteral -entryRuleREALLiteral returns [String current=null]: - { newCompositeNode(grammarAccess.getREALLiteralRule()); } - iv_ruleREALLiteral=ruleREALLiteral - { $current=$iv_ruleREALLiteral.current.getText(); } - EOF; - -// Rule REALLiteral -ruleREALLiteral returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - ( - kw='-' - { - $current.merge(kw); - newLeafNode(kw, grammarAccess.getREALLiteralAccess().getHyphenMinusKeyword_0()); - } - )? - this_INT_1=RULE_INT - { - $current.merge(this_INT_1); - } - { - newLeafNode(this_INT_1, grammarAccess.getREALLiteralAccess().getINTTerminalRuleCall_1()); - } - kw='.' - { - $current.merge(kw); - newLeafNode(kw, grammarAccess.getREALLiteralAccess().getFullStopKeyword_2()); - } - this_INT_3=RULE_INT - { - $current.merge(this_INT_3); - } - { - newLeafNode(this_INT_3, grammarAccess.getREALLiteralAccess().getINTTerminalRuleCall_3()); - } - ) -; - -// Entry rule entryRuleINTLiteral -entryRuleINTLiteral returns [String current=null]: - { newCompositeNode(grammarAccess.getINTLiteralRule()); } - iv_ruleINTLiteral=ruleINTLiteral - { $current=$iv_ruleINTLiteral.current.getText(); } - EOF; - -// Rule INTLiteral -ruleINTLiteral returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - ( - kw='-' - { - $current.merge(kw); - newLeafNode(kw, grammarAccess.getINTLiteralAccess().getHyphenMinusKeyword_0()); - } - )? - this_INT_1=RULE_INT - { - $current.merge(this_INT_1); - } - { - newLeafNode(this_INT_1, grammarAccess.getINTLiteralAccess().getINTTerminalRuleCall_1()); - } - ) -; - -// Entry rule entryRuleImport -entryRuleImport returns [EObject current=null]: - { newCompositeNode(grammarAccess.getImportRule()); } - iv_ruleImport=ruleImport - { $current=$iv_ruleImport.current; } - EOF; - -// Rule Import -ruleImport returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - { - newCompositeNode(grammarAccess.getImportAccess().getEPackageImportParserRuleCall_0()); - } - this_EPackageImport_0=ruleEPackageImport - { - $current = $this_EPackageImport_0.current; - afterParserOrEnumRuleCall(); - } - | - { - newCompositeNode(grammarAccess.getImportAccess().getViatraImportParserRuleCall_1()); - } - this_ViatraImport_1=ruleViatraImport - { - $current = $this_ViatraImport_1.current; - afterParserOrEnumRuleCall(); - } - ) -; - -// Entry rule entryRuleEPackageImport -entryRuleEPackageImport returns [EObject current=null]: - { newCompositeNode(grammarAccess.getEPackageImportRule()); } - iv_ruleEPackageImport=ruleEPackageImport - { $current=$iv_ruleEPackageImport.current; } - EOF; - -// Rule EPackageImport -ruleEPackageImport returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - otherlv_0='import' - { - newLeafNode(otherlv_0, grammarAccess.getEPackageImportAccess().getImportKeyword_0()); - } - otherlv_1='epackage' - { - newLeafNode(otherlv_1, grammarAccess.getEPackageImportAccess().getEpackageKeyword_1()); - } - ( - ( - { - if ($current==null) { - $current = createModelElement(grammarAccess.getEPackageImportRule()); - } - } - otherlv_2=RULE_STRING - { - newLeafNode(otherlv_2, grammarAccess.getEPackageImportAccess().getImportedPackageEPackageCrossReference_2_0()); - } - ) - ) - ) -; - -// Entry rule entryRuleViatraImport -entryRuleViatraImport returns [EObject current=null]: - { newCompositeNode(grammarAccess.getViatraImportRule()); } - iv_ruleViatraImport=ruleViatraImport - { $current=$iv_ruleViatraImport.current; } - EOF; - -// Rule ViatraImport -ruleViatraImport returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - otherlv_0='import' - { - newLeafNode(otherlv_0, grammarAccess.getViatraImportAccess().getImportKeyword_0()); - } - otherlv_1='viatra' - { - newLeafNode(otherlv_1, grammarAccess.getViatraImportAccess().getViatraKeyword_1()); - } - ( - ( - { - if ($current==null) { - $current = createModelElement(grammarAccess.getViatraImportRule()); - } - } - otherlv_2=RULE_STRING - { - newLeafNode(otherlv_2, grammarAccess.getViatraImportAccess().getImportedViatraPatternModelCrossReference_2_0()); - } - ) - ) - ) -; - -// Entry rule entryRuleDeclaration -entryRuleDeclaration returns [EObject current=null]: - { newCompositeNode(grammarAccess.getDeclarationRule()); } - iv_ruleDeclaration=ruleDeclaration - { $current=$iv_ruleDeclaration.current; } - EOF; - -// Rule Declaration -ruleDeclaration returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - { - newCompositeNode(grammarAccess.getDeclarationAccess().getFileDeclarationParserRuleCall_0()); - } - this_FileDeclaration_0=ruleFileDeclaration - { - $current = $this_FileDeclaration_0.current; - afterParserOrEnumRuleCall(); - } - | - { - newCompositeNode(grammarAccess.getDeclarationAccess().getMetamodelDeclarationParserRuleCall_1()); - } - this_MetamodelDeclaration_1=ruleMetamodelDeclaration - { - $current = $this_MetamodelDeclaration_1.current; - afterParserOrEnumRuleCall(); - } - | - { - newCompositeNode(grammarAccess.getDeclarationAccess().getPartialModelDeclarationParserRuleCall_2()); - } - this_PartialModelDeclaration_2=rulePartialModelDeclaration - { - $current = $this_PartialModelDeclaration_2.current; - afterParserOrEnumRuleCall(); - } - | - { - newCompositeNode(grammarAccess.getDeclarationAccess().getGraphPatternDeclarationParserRuleCall_3()); - } - this_GraphPatternDeclaration_3=ruleGraphPatternDeclaration - { - $current = $this_GraphPatternDeclaration_3.current; - afterParserOrEnumRuleCall(); - } - | - { - newCompositeNode(grammarAccess.getDeclarationAccess().getConfigDeclarationParserRuleCall_4()); - } - this_ConfigDeclaration_4=ruleConfigDeclaration - { - $current = $this_ConfigDeclaration_4.current; - afterParserOrEnumRuleCall(); - } - | - { - newCompositeNode(grammarAccess.getDeclarationAccess().getScopeDeclarationParserRuleCall_5()); - } - this_ScopeDeclaration_5=ruleScopeDeclaration - { - $current = $this_ScopeDeclaration_5.current; - afterParserOrEnumRuleCall(); - } - ) -; - -// Entry rule entryRuleFileSpecification -entryRuleFileSpecification returns [EObject current=null]: - { newCompositeNode(grammarAccess.getFileSpecificationRule()); } - iv_ruleFileSpecification=ruleFileSpecification - { $current=$iv_ruleFileSpecification.current; } - EOF; - -// Rule FileSpecification -ruleFileSpecification returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - ( - lv_path_0_0=RULE_STRING - { - newLeafNode(lv_path_0_0, grammarAccess.getFileSpecificationAccess().getPathSTRINGTerminalRuleCall_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getFileSpecificationRule()); - } - setWithLastConsumed( - $current, - "path", - lv_path_0_0, - "org.eclipse.xtext.common.Terminals.STRING"); - } - ) - ) -; - -// Entry rule entryRuleFileDeclaration -entryRuleFileDeclaration returns [EObject current=null]: - { newCompositeNode(grammarAccess.getFileDeclarationRule()); } - iv_ruleFileDeclaration=ruleFileDeclaration - { $current=$iv_ruleFileDeclaration.current; } - EOF; - -// Rule FileDeclaration -ruleFileDeclaration returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - otherlv_0='file' - { - newLeafNode(otherlv_0, grammarAccess.getFileDeclarationAccess().getFileKeyword_0()); - } - ( - ( - lv_name_1_0=RULE_ID - { - newLeafNode(lv_name_1_0, grammarAccess.getFileDeclarationAccess().getNameIDTerminalRuleCall_1_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getFileDeclarationRule()); - } - setWithLastConsumed( - $current, - "name", - lv_name_1_0, - "org.eclipse.xtext.common.Terminals.ID"); - } - ) - ) - otherlv_2='=' - { - newLeafNode(otherlv_2, grammarAccess.getFileDeclarationAccess().getEqualsSignKeyword_2()); - } - ( - ( - { - newCompositeNode(grammarAccess.getFileDeclarationAccess().getSpecificationFileSpecificationParserRuleCall_3_0()); - } - lv_specification_3_0=ruleFileSpecification - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getFileDeclarationRule()); - } - set( - $current, - "specification", - lv_specification_3_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.FileSpecification"); - afterParserOrEnumRuleCall(); - } - ) - ) - ) -; - -// Entry rule entryRuleFileReference -entryRuleFileReference returns [EObject current=null]: - { newCompositeNode(grammarAccess.getFileReferenceRule()); } - iv_ruleFileReference=ruleFileReference - { $current=$iv_ruleFileReference.current; } - EOF; - -// Rule FileReference -ruleFileReference returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - ( - { - if ($current==null) { - $current = createModelElement(grammarAccess.getFileReferenceRule()); - } - } - otherlv_0=RULE_ID - { - newLeafNode(otherlv_0, grammarAccess.getFileReferenceAccess().getReferredFileDeclarationCrossReference_0()); - } - ) - ) -; - -// Entry rule entryRuleFile -entryRuleFile returns [EObject current=null]: - { newCompositeNode(grammarAccess.getFileRule()); } - iv_ruleFile=ruleFile - { $current=$iv_ruleFile.current; } - EOF; - -// Rule File -ruleFile returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - { - newCompositeNode(grammarAccess.getFileAccess().getFileSpecificationParserRuleCall_0()); - } - this_FileSpecification_0=ruleFileSpecification - { - $current = $this_FileSpecification_0.current; - afterParserOrEnumRuleCall(); - } - | - { - newCompositeNode(grammarAccess.getFileAccess().getFileReferenceParserRuleCall_1()); - } - this_FileReference_1=ruleFileReference - { - $current = $this_FileReference_1.current; - afterParserOrEnumRuleCall(); - } - ) -; - -// Entry rule entryRuleMetamodelSpecification -entryRuleMetamodelSpecification returns [EObject current=null]: - { newCompositeNode(grammarAccess.getMetamodelSpecificationRule()); } - iv_ruleMetamodelSpecification=ruleMetamodelSpecification - { $current=$iv_ruleMetamodelSpecification.current; } - EOF; - -// Rule MetamodelSpecification -ruleMetamodelSpecification returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - otherlv_0='{' - { - newLeafNode(otherlv_0, grammarAccess.getMetamodelSpecificationAccess().getLeftCurlyBracketKeyword_0()); - } - ( - ( - { - newCompositeNode(grammarAccess.getMetamodelSpecificationAccess().getEntriesMetamodelEntryParserRuleCall_1_0()); - } - lv_entries_1_0=ruleMetamodelEntry - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getMetamodelSpecificationRule()); - } - add( - $current, - "entries", - lv_entries_1_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelEntry"); - afterParserOrEnumRuleCall(); - } - ) - ) - ( - otherlv_2=',' - { - newLeafNode(otherlv_2, grammarAccess.getMetamodelSpecificationAccess().getCommaKeyword_2_0()); - } - ( - ( - { - newCompositeNode(grammarAccess.getMetamodelSpecificationAccess().getEntriesMetamodelEntryParserRuleCall_2_1_0()); - } - lv_entries_3_0=ruleMetamodelEntry - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getMetamodelSpecificationRule()); - } - add( - $current, - "entries", - lv_entries_3_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelEntry"); - afterParserOrEnumRuleCall(); - } - ) - ) - )* - otherlv_4='}' - { - newLeafNode(otherlv_4, grammarAccess.getMetamodelSpecificationAccess().getRightCurlyBracketKeyword_3()); - } - ) -; - -// Entry rule entryRuleMetamodelEntry -entryRuleMetamodelEntry returns [EObject current=null]: - { newCompositeNode(grammarAccess.getMetamodelEntryRule()); } - iv_ruleMetamodelEntry=ruleMetamodelEntry - { $current=$iv_ruleMetamodelEntry.current; } - EOF; - -// Rule MetamodelEntry -ruleMetamodelEntry returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - { - newCompositeNode(grammarAccess.getMetamodelEntryAccess().getMetamodelElementParserRuleCall_0()); - } - this_MetamodelElement_0=ruleMetamodelElement - { - $current = $this_MetamodelElement_0.current; - afterParserOrEnumRuleCall(); - } - | - { - newCompositeNode(grammarAccess.getMetamodelEntryAccess().getAllPackageEntryParserRuleCall_1()); - } - this_AllPackageEntry_1=ruleAllPackageEntry - { - $current = $this_AllPackageEntry_1.current; - afterParserOrEnumRuleCall(); - } - ) -; - -// Entry rule entryRuleAllPackageEntry -entryRuleAllPackageEntry returns [EObject current=null]: - { newCompositeNode(grammarAccess.getAllPackageEntryRule()); } - iv_ruleAllPackageEntry=ruleAllPackageEntry - { $current=$iv_ruleAllPackageEntry.current; } - EOF; - -// Rule AllPackageEntry -ruleAllPackageEntry returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - otherlv_0='package' - { - newLeafNode(otherlv_0, grammarAccess.getAllPackageEntryAccess().getPackageKeyword_0()); - } - ( - ( - { - if ($current==null) { - $current = createModelElement(grammarAccess.getAllPackageEntryRule()); - } - } - { - newCompositeNode(grammarAccess.getAllPackageEntryAccess().getPackageEPackageCrossReference_1_0()); - } - ruleQualifiedName - { - afterParserOrEnumRuleCall(); - } - ) - ) - ( - otherlv_2='excluding' - { - newLeafNode(otherlv_2, grammarAccess.getAllPackageEntryAccess().getExcludingKeyword_2_0()); - } - otherlv_3='{' - { - newLeafNode(otherlv_3, grammarAccess.getAllPackageEntryAccess().getLeftCurlyBracketKeyword_2_1()); - } - ( - ( - { - newCompositeNode(grammarAccess.getAllPackageEntryAccess().getExclusionMetamodelElementParserRuleCall_2_2_0()); - } - lv_exclusion_4_0=ruleMetamodelElement - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getAllPackageEntryRule()); - } - add( - $current, - "exclusion", - lv_exclusion_4_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelElement"); - afterParserOrEnumRuleCall(); - } - ) - ) - ( - otherlv_5=',' - { - newLeafNode(otherlv_5, grammarAccess.getAllPackageEntryAccess().getCommaKeyword_2_3_0()); - } - ( - ( - { - newCompositeNode(grammarAccess.getAllPackageEntryAccess().getExclusionMetamodelElementParserRuleCall_2_3_1_0()); - } - lv_exclusion_6_0=ruleMetamodelElement - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getAllPackageEntryRule()); - } - add( - $current, - "exclusion", - lv_exclusion_6_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelElement"); - afterParserOrEnumRuleCall(); - } - ) - ) - )* - otherlv_7='}' - { - newLeafNode(otherlv_7, grammarAccess.getAllPackageEntryAccess().getRightCurlyBracketKeyword_2_4()); - } - )? - ) -; - -// Entry rule entryRuleMetamodelElement -entryRuleMetamodelElement returns [EObject current=null]: - { newCompositeNode(grammarAccess.getMetamodelElementRule()); } - iv_ruleMetamodelElement=ruleMetamodelElement - { $current=$iv_ruleMetamodelElement.current; } - EOF; - -// Rule MetamodelElement -ruleMetamodelElement returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - ( - ( - ( - { - if ($current==null) { - $current = createModelElement(grammarAccess.getMetamodelElementRule()); - } - } - { - newCompositeNode(grammarAccess.getMetamodelElementAccess().getPackageEPackageCrossReference_0_0_0()); - } - ruleQualifiedName - { - afterParserOrEnumRuleCall(); - } - ) - ) - otherlv_1='::' - { - newLeafNode(otherlv_1, grammarAccess.getMetamodelElementAccess().getColonColonKeyword_0_1()); - } - )? - ( - ( - { - if ($current==null) { - $current = createModelElement(grammarAccess.getMetamodelElementRule()); - } - } - otherlv_2=RULE_ID - { - newLeafNode(otherlv_2, grammarAccess.getMetamodelElementAccess().getClassifierEClassifierCrossReference_1_0()); - } - ) - ) - ( - otherlv_3='.' - { - newLeafNode(otherlv_3, grammarAccess.getMetamodelElementAccess().getFullStopKeyword_2_0()); - } - ( - ( - { - if ($current==null) { - $current = createModelElement(grammarAccess.getMetamodelElementRule()); - } - } - otherlv_4=RULE_ID - { - newLeafNode(otherlv_4, grammarAccess.getMetamodelElementAccess().getFeatureENamedElementCrossReference_2_1_0()); - } - ) - ) - )? - ) -; - -// Entry rule entryRuleMetamodelDeclaration -entryRuleMetamodelDeclaration returns [EObject current=null]: - { newCompositeNode(grammarAccess.getMetamodelDeclarationRule()); } - iv_ruleMetamodelDeclaration=ruleMetamodelDeclaration - { $current=$iv_ruleMetamodelDeclaration.current; } - EOF; - -// Rule MetamodelDeclaration -ruleMetamodelDeclaration returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - otherlv_0='metamodel' - { - newLeafNode(otherlv_0, grammarAccess.getMetamodelDeclarationAccess().getMetamodelKeyword_0()); - } - ( - ( - lv_name_1_0=RULE_ID - { - newLeafNode(lv_name_1_0, grammarAccess.getMetamodelDeclarationAccess().getNameIDTerminalRuleCall_1_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getMetamodelDeclarationRule()); - } - setWithLastConsumed( - $current, - "name", - lv_name_1_0, - "org.eclipse.xtext.common.Terminals.ID"); - } - ) - ) - ( - ( - { - newCompositeNode(grammarAccess.getMetamodelDeclarationAccess().getSpecificationMetamodelSpecificationParserRuleCall_2_0()); - } - lv_specification_2_0=ruleMetamodelSpecification - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getMetamodelDeclarationRule()); - } - set( - $current, - "specification", - lv_specification_2_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelSpecification"); - afterParserOrEnumRuleCall(); - } - ) - ) - ) -; - -// Entry rule entryRuleMetamodelReference -entryRuleMetamodelReference returns [EObject current=null]: - { newCompositeNode(grammarAccess.getMetamodelReferenceRule()); } - iv_ruleMetamodelReference=ruleMetamodelReference - { $current=$iv_ruleMetamodelReference.current; } - EOF; - -// Rule MetamodelReference -ruleMetamodelReference returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - ( - { - if ($current==null) { - $current = createModelElement(grammarAccess.getMetamodelReferenceRule()); - } - } - otherlv_0=RULE_ID - { - newLeafNode(otherlv_0, grammarAccess.getMetamodelReferenceAccess().getReferredMetamodelDeclarationCrossReference_0()); - } - ) - ) -; - -// Entry rule entryRuleMetamodel -entryRuleMetamodel returns [EObject current=null]: - { newCompositeNode(grammarAccess.getMetamodelRule()); } - iv_ruleMetamodel=ruleMetamodel - { $current=$iv_ruleMetamodel.current; } - EOF; - -// Rule Metamodel -ruleMetamodel returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - { - newCompositeNode(grammarAccess.getMetamodelAccess().getMetamodelReferenceParserRuleCall_0()); - } - this_MetamodelReference_0=ruleMetamodelReference - { - $current = $this_MetamodelReference_0.current; - afterParserOrEnumRuleCall(); - } - | - { - newCompositeNode(grammarAccess.getMetamodelAccess().getMetamodelSpecificationParserRuleCall_1()); - } - this_MetamodelSpecification_1=ruleMetamodelSpecification - { - $current = $this_MetamodelSpecification_1.current; - afterParserOrEnumRuleCall(); - } - ) -; - -// Entry rule entryRulePartialModelSpecification -entryRulePartialModelSpecification returns [EObject current=null]: - { newCompositeNode(grammarAccess.getPartialModelSpecificationRule()); } - iv_rulePartialModelSpecification=rulePartialModelSpecification - { $current=$iv_rulePartialModelSpecification.current; } - EOF; - -// Rule PartialModelSpecification -rulePartialModelSpecification returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - otherlv_0='{' - { - newLeafNode(otherlv_0, grammarAccess.getPartialModelSpecificationAccess().getLeftCurlyBracketKeyword_0()); - } - ( - ( - { - newCompositeNode(grammarAccess.getPartialModelSpecificationAccess().getEntryPartialModelEntryParserRuleCall_1_0()); - } - lv_entry_1_0=rulePartialModelEntry - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getPartialModelSpecificationRule()); - } - add( - $current, - "entry", - lv_entry_1_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PartialModelEntry"); - afterParserOrEnumRuleCall(); - } - ) - ) - ( - otherlv_2=',' - { - newLeafNode(otherlv_2, grammarAccess.getPartialModelSpecificationAccess().getCommaKeyword_2_0()); - } - ( - ( - { - newCompositeNode(grammarAccess.getPartialModelSpecificationAccess().getEntryPartialModelEntryParserRuleCall_2_1_0()); - } - lv_entry_3_0=rulePartialModelEntry - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getPartialModelSpecificationRule()); - } - add( - $current, - "entry", - lv_entry_3_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PartialModelEntry"); - afterParserOrEnumRuleCall(); - } - ) - ) - )? - otherlv_4='}' - { - newLeafNode(otherlv_4, grammarAccess.getPartialModelSpecificationAccess().getRightCurlyBracketKeyword_3()); - } - ) -; - -// Entry rule entryRulePartialModelEntry -entryRulePartialModelEntry returns [EObject current=null]: - { newCompositeNode(grammarAccess.getPartialModelEntryRule()); } - iv_rulePartialModelEntry=rulePartialModelEntry - { $current=$iv_rulePartialModelEntry.current; } - EOF; - -// Rule PartialModelEntry -rulePartialModelEntry returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - { - newCompositeNode(grammarAccess.getPartialModelEntryAccess().getModelEntryParserRuleCall_0()); - } - this_ModelEntry_0=ruleModelEntry - { - $current = $this_ModelEntry_0.current; - afterParserOrEnumRuleCall(); - } - | - { - newCompositeNode(grammarAccess.getPartialModelEntryAccess().getFolderEntryParserRuleCall_1()); - } - this_FolderEntry_1=ruleFolderEntry - { - $current = $this_FolderEntry_1.current; - afterParserOrEnumRuleCall(); - } - ) -; - -// Entry rule entryRuleModelEntry -entryRuleModelEntry returns [EObject current=null]: - { newCompositeNode(grammarAccess.getModelEntryRule()); } - iv_ruleModelEntry=ruleModelEntry - { $current=$iv_ruleModelEntry.current; } - EOF; - -// Rule ModelEntry -ruleModelEntry returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - ( - { - newCompositeNode(grammarAccess.getModelEntryAccess().getPathFileParserRuleCall_0()); - } - lv_path_0_0=ruleFile - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getModelEntryRule()); - } - set( - $current, - "path", - lv_path_0_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File"); - afterParserOrEnumRuleCall(); - } - ) - ) -; - -// Entry rule entryRuleFolderEntry -entryRuleFolderEntry returns [EObject current=null]: - { newCompositeNode(grammarAccess.getFolderEntryRule()); } - iv_ruleFolderEntry=ruleFolderEntry - { $current=$iv_ruleFolderEntry.current; } - EOF; - -// Rule FolderEntry -ruleFolderEntry returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - otherlv_0='folder' - { - newLeafNode(otherlv_0, grammarAccess.getFolderEntryAccess().getFolderKeyword_0()); - } - ( - ( - { - newCompositeNode(grammarAccess.getFolderEntryAccess().getPathFileParserRuleCall_1_0()); - } - lv_path_1_0=ruleFile - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getFolderEntryRule()); - } - set( - $current, - "path", - lv_path_1_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File"); - afterParserOrEnumRuleCall(); - } - ) - ) - ( - otherlv_2='excluding' - { - newLeafNode(otherlv_2, grammarAccess.getFolderEntryAccess().getExcludingKeyword_2_0()); - } - otherlv_3='{' - { - newLeafNode(otherlv_3, grammarAccess.getFolderEntryAccess().getLeftCurlyBracketKeyword_2_1()); - } - ( - ( - { - newCompositeNode(grammarAccess.getFolderEntryAccess().getExclusionModelEntryParserRuleCall_2_2_0()); - } - lv_exclusion_4_0=ruleModelEntry - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getFolderEntryRule()); - } - add( - $current, - "exclusion", - lv_exclusion_4_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ModelEntry"); - afterParserOrEnumRuleCall(); - } - ) - ) - ( - otherlv_5=',' - { - newLeafNode(otherlv_5, grammarAccess.getFolderEntryAccess().getCommaKeyword_2_3_0()); - } - ( - ( - { - newCompositeNode(grammarAccess.getFolderEntryAccess().getExclusionModelEntryParserRuleCall_2_3_1_0()); - } - lv_exclusion_6_0=ruleModelEntry - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getFolderEntryRule()); - } - add( - $current, - "exclusion", - lv_exclusion_6_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ModelEntry"); - afterParserOrEnumRuleCall(); - } - ) - ) - )* - otherlv_7='}' - { - newLeafNode(otherlv_7, grammarAccess.getFolderEntryAccess().getRightCurlyBracketKeyword_2_4()); - } - )? - ) -; - -// Entry rule entryRulePartialModelDeclaration -entryRulePartialModelDeclaration returns [EObject current=null]: - { newCompositeNode(grammarAccess.getPartialModelDeclarationRule()); } - iv_rulePartialModelDeclaration=rulePartialModelDeclaration - { $current=$iv_rulePartialModelDeclaration.current; } - EOF; - -// Rule PartialModelDeclaration -rulePartialModelDeclaration returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - otherlv_0='models' - { - newLeafNode(otherlv_0, grammarAccess.getPartialModelDeclarationAccess().getModelsKeyword_0()); - } - ( - ( - lv_name_1_0=RULE_ID - { - newLeafNode(lv_name_1_0, grammarAccess.getPartialModelDeclarationAccess().getNameIDTerminalRuleCall_1_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getPartialModelDeclarationRule()); - } - setWithLastConsumed( - $current, - "name", - lv_name_1_0, - "org.eclipse.xtext.common.Terminals.ID"); - } - ) - ) - ( - ( - { - newCompositeNode(grammarAccess.getPartialModelDeclarationAccess().getSpecificationPartialModelSpecificationParserRuleCall_2_0()); - } - lv_specification_2_0=rulePartialModelSpecification - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getPartialModelDeclarationRule()); - } - set( - $current, - "specification", - lv_specification_2_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PartialModelSpecification"); - afterParserOrEnumRuleCall(); - } - ) - ) - ) -; - -// Entry rule entryRulePartialModelReference -entryRulePartialModelReference returns [EObject current=null]: - { newCompositeNode(grammarAccess.getPartialModelReferenceRule()); } - iv_rulePartialModelReference=rulePartialModelReference - { $current=$iv_rulePartialModelReference.current; } - EOF; - -// Rule PartialModelReference -rulePartialModelReference returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - ( - { - if ($current==null) { - $current = createModelElement(grammarAccess.getPartialModelReferenceRule()); - } - } - otherlv_0=RULE_ID - { - newLeafNode(otherlv_0, grammarAccess.getPartialModelReferenceAccess().getReferredPartialModelDeclarationCrossReference_0()); - } - ) - ) -; - -// Entry rule entryRulePartialModel -entryRulePartialModel returns [EObject current=null]: - { newCompositeNode(grammarAccess.getPartialModelRule()); } - iv_rulePartialModel=rulePartialModel - { $current=$iv_rulePartialModel.current; } - EOF; - -// Rule PartialModel -rulePartialModel returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - { - newCompositeNode(grammarAccess.getPartialModelAccess().getPartialModelSpecificationParserRuleCall_0()); - } - this_PartialModelSpecification_0=rulePartialModelSpecification - { - $current = $this_PartialModelSpecification_0.current; - afterParserOrEnumRuleCall(); - } - | - { - newCompositeNode(grammarAccess.getPartialModelAccess().getPartialModelReferenceParserRuleCall_1()); - } - this_PartialModelReference_1=rulePartialModelReference - { - $current = $this_PartialModelReference_1.current; - afterParserOrEnumRuleCall(); - } - ) -; - -// Entry rule entryRulePatternSpecification -entryRulePatternSpecification returns [EObject current=null]: - { newCompositeNode(grammarAccess.getPatternSpecificationRule()); } - iv_rulePatternSpecification=rulePatternSpecification - { $current=$iv_rulePatternSpecification.current; } - EOF; - -// Rule PatternSpecification -rulePatternSpecification returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - otherlv_0='{' - { - newLeafNode(otherlv_0, grammarAccess.getPatternSpecificationAccess().getLeftCurlyBracketKeyword_0()); - } - ( - ( - { - newCompositeNode(grammarAccess.getPatternSpecificationAccess().getEntriesPatternEntryParserRuleCall_1_0()); - } - lv_entries_1_0=rulePatternEntry - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getPatternSpecificationRule()); - } - add( - $current, - "entries", - lv_entries_1_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternEntry"); - afterParserOrEnumRuleCall(); - } - ) - ) - ( - otherlv_2=',' - { - newLeafNode(otherlv_2, grammarAccess.getPatternSpecificationAccess().getCommaKeyword_2_0()); - } - ( - ( - { - newCompositeNode(grammarAccess.getPatternSpecificationAccess().getEntriesPatternEntryParserRuleCall_2_1_0()); - } - lv_entries_3_0=rulePatternEntry - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getPatternSpecificationRule()); - } - add( - $current, - "entries", - lv_entries_3_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternEntry"); - afterParserOrEnumRuleCall(); - } - ) - ) - )* - otherlv_4='}' - { - newLeafNode(otherlv_4, grammarAccess.getPatternSpecificationAccess().getRightCurlyBracketKeyword_3()); - } - ) -; - -// Entry rule entryRulePatternEntry -entryRulePatternEntry returns [EObject current=null]: - { newCompositeNode(grammarAccess.getPatternEntryRule()); } - iv_rulePatternEntry=rulePatternEntry - { $current=$iv_rulePatternEntry.current; } - EOF; - -// Rule PatternEntry -rulePatternEntry returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - { - newCompositeNode(grammarAccess.getPatternEntryAccess().getPatternElementParserRuleCall_0()); - } - this_PatternElement_0=rulePatternElement - { - $current = $this_PatternElement_0.current; - afterParserOrEnumRuleCall(); - } - | - { - newCompositeNode(grammarAccess.getPatternEntryAccess().getAllPatternEntryParserRuleCall_1()); - } - this_AllPatternEntry_1=ruleAllPatternEntry - { - $current = $this_AllPatternEntry_1.current; - afterParserOrEnumRuleCall(); - } - ) -; - -// Entry rule entryRuleAllPatternEntry -entryRuleAllPatternEntry returns [EObject current=null]: - { newCompositeNode(grammarAccess.getAllPatternEntryRule()); } - iv_ruleAllPatternEntry=ruleAllPatternEntry - { $current=$iv_ruleAllPatternEntry.current; } - EOF; - -// Rule AllPatternEntry -ruleAllPatternEntry returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - otherlv_0='package' - { - newLeafNode(otherlv_0, grammarAccess.getAllPatternEntryAccess().getPackageKeyword_0()); - } - ( - ( - { - if ($current==null) { - $current = createModelElement(grammarAccess.getAllPatternEntryRule()); - } - } - { - newCompositeNode(grammarAccess.getAllPatternEntryAccess().getPackagePatternModelCrossReference_1_0()); - } - ruleQualifiedName - { - afterParserOrEnumRuleCall(); - } - ) - ) - ( - otherlv_2='excluding' - { - newLeafNode(otherlv_2, grammarAccess.getAllPatternEntryAccess().getExcludingKeyword_2_0()); - } - otherlv_3='{' - { - newLeafNode(otherlv_3, grammarAccess.getAllPatternEntryAccess().getLeftCurlyBracketKeyword_2_1()); - } - ( - ( - { - newCompositeNode(grammarAccess.getAllPatternEntryAccess().getExclusuionPatternElementParserRuleCall_2_2_0()); - } - lv_exclusuion_4_0=rulePatternElement - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getAllPatternEntryRule()); - } - add( - $current, - "exclusuion", - lv_exclusuion_4_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternElement"); - afterParserOrEnumRuleCall(); - } - ) - ) - ( - otherlv_5=',' - { - newLeafNode(otherlv_5, grammarAccess.getAllPatternEntryAccess().getCommaKeyword_2_3_0()); - } - ( - ( - { - newCompositeNode(grammarAccess.getAllPatternEntryAccess().getExclusuionPatternElementParserRuleCall_2_3_1_0()); - } - lv_exclusuion_6_0=rulePatternElement - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getAllPatternEntryRule()); - } - add( - $current, - "exclusuion", - lv_exclusuion_6_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternElement"); - afterParserOrEnumRuleCall(); - } - ) - ) - )* - otherlv_7='}' - { - newLeafNode(otherlv_7, grammarAccess.getAllPatternEntryAccess().getRightCurlyBracketKeyword_2_4()); - } - )? - ) -; - -// Entry rule entryRulePatternElement -entryRulePatternElement returns [EObject current=null]: - { newCompositeNode(grammarAccess.getPatternElementRule()); } - iv_rulePatternElement=rulePatternElement - { $current=$iv_rulePatternElement.current; } - EOF; - -// Rule PatternElement -rulePatternElement returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - ( - ( - ( - { - if ($current==null) { - $current = createModelElement(grammarAccess.getPatternElementRule()); - } - } - { - newCompositeNode(grammarAccess.getPatternElementAccess().getPackagePatternModelCrossReference_0_0_0()); - } - ruleQualifiedName - { - afterParserOrEnumRuleCall(); - } - ) - ) - otherlv_1='::' - { - newLeafNode(otherlv_1, grammarAccess.getPatternElementAccess().getColonColonKeyword_0_1()); - } - )? - ( - ( - { - if ($current==null) { - $current = createModelElement(grammarAccess.getPatternElementRule()); - } - } - otherlv_2=RULE_ID - { - newLeafNode(otherlv_2, grammarAccess.getPatternElementAccess().getPatternPatternCrossReference_1_0()); - } - ) - ) - ) -; - -// Entry rule entryRuleGraphPatternDeclaration -entryRuleGraphPatternDeclaration returns [EObject current=null]: - { newCompositeNode(grammarAccess.getGraphPatternDeclarationRule()); } - iv_ruleGraphPatternDeclaration=ruleGraphPatternDeclaration - { $current=$iv_ruleGraphPatternDeclaration.current; } - EOF; - -// Rule GraphPatternDeclaration -ruleGraphPatternDeclaration returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - otherlv_0='constraints' - { - newLeafNode(otherlv_0, grammarAccess.getGraphPatternDeclarationAccess().getConstraintsKeyword_0()); - } - ( - ( - lv_name_1_0=RULE_ID - { - newLeafNode(lv_name_1_0, grammarAccess.getGraphPatternDeclarationAccess().getNameIDTerminalRuleCall_1_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getGraphPatternDeclarationRule()); - } - setWithLastConsumed( - $current, - "name", - lv_name_1_0, - "org.eclipse.xtext.common.Terminals.ID"); - } - ) - ) - ( - ( - { - newCompositeNode(grammarAccess.getGraphPatternDeclarationAccess().getSpecificationPatternSpecificationParserRuleCall_2_0()); - } - lv_specification_2_0=rulePatternSpecification - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getGraphPatternDeclarationRule()); - } - set( - $current, - "specification", - lv_specification_2_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternSpecification"); - afterParserOrEnumRuleCall(); - } - ) - ) - ) -; - -// Entry rule entryRuleGraphPatternReference -entryRuleGraphPatternReference returns [EObject current=null]: - { newCompositeNode(grammarAccess.getGraphPatternReferenceRule()); } - iv_ruleGraphPatternReference=ruleGraphPatternReference - { $current=$iv_ruleGraphPatternReference.current; } - EOF; - -// Rule GraphPatternReference -ruleGraphPatternReference returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - ( - { - if ($current==null) { - $current = createModelElement(grammarAccess.getGraphPatternReferenceRule()); - } - } - otherlv_0=RULE_ID - { - newLeafNode(otherlv_0, grammarAccess.getGraphPatternReferenceAccess().getReferredGraphPatternDeclarationCrossReference_0()); - } - ) - ) -; - -// Entry rule entryRuleGraphPattern -entryRuleGraphPattern returns [EObject current=null]: - { newCompositeNode(grammarAccess.getGraphPatternRule()); } - iv_ruleGraphPattern=ruleGraphPattern - { $current=$iv_ruleGraphPattern.current; } - EOF; - -// Rule GraphPattern -ruleGraphPattern returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - { - newCompositeNode(grammarAccess.getGraphPatternAccess().getGraphPatternReferenceParserRuleCall_0()); - } - this_GraphPatternReference_0=ruleGraphPatternReference - { - $current = $this_GraphPatternReference_0.current; - afterParserOrEnumRuleCall(); - } - | - { - newCompositeNode(grammarAccess.getGraphPatternAccess().getPatternSpecificationParserRuleCall_1()); - } - this_PatternSpecification_1=rulePatternSpecification - { - $current = $this_PatternSpecification_1.current; - afterParserOrEnumRuleCall(); - } - ) -; - -// Entry rule entryRuleConfigSpecification -entryRuleConfigSpecification returns [EObject current=null]: - { newCompositeNode(grammarAccess.getConfigSpecificationRule()); } - iv_ruleConfigSpecification=ruleConfigSpecification - { $current=$iv_ruleConfigSpecification.current; } - EOF; - -// Rule ConfigSpecification -ruleConfigSpecification returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - ( - { - $current = forceCreateModelElement( - grammarAccess.getConfigSpecificationAccess().getConfigSpecificationAction_0(), - $current); - } - ) - otherlv_1='{' - { - newLeafNode(otherlv_1, grammarAccess.getConfigSpecificationAccess().getLeftCurlyBracketKeyword_1()); - } - ( - ( - ( - { - newCompositeNode(grammarAccess.getConfigSpecificationAccess().getEntriesConfigEntryParserRuleCall_2_0_0()); - } - lv_entries_2_0=ruleConfigEntry - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getConfigSpecificationRule()); - } - add( - $current, - "entries", - lv_entries_2_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ConfigEntry"); - afterParserOrEnumRuleCall(); - } - ) - ) - ( - otherlv_3=',' - { - newLeafNode(otherlv_3, grammarAccess.getConfigSpecificationAccess().getCommaKeyword_2_1_0()); - } - ( - ( - { - newCompositeNode(grammarAccess.getConfigSpecificationAccess().getEntriesConfigEntryParserRuleCall_2_1_1_0()); - } - lv_entries_4_0=ruleConfigEntry - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getConfigSpecificationRule()); - } - add( - $current, - "entries", - lv_entries_4_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ConfigEntry"); - afterParserOrEnumRuleCall(); - } - ) - ) - )* - )? - otherlv_5='}' - { - newLeafNode(otherlv_5, grammarAccess.getConfigSpecificationAccess().getRightCurlyBracketKeyword_3()); - } - ) -; - -// Entry rule entryRuleConfigDeclaration -entryRuleConfigDeclaration returns [EObject current=null]: - { newCompositeNode(grammarAccess.getConfigDeclarationRule()); } - iv_ruleConfigDeclaration=ruleConfigDeclaration - { $current=$iv_ruleConfigDeclaration.current; } - EOF; - -// Rule ConfigDeclaration -ruleConfigDeclaration returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - otherlv_0='config' - { - newLeafNode(otherlv_0, grammarAccess.getConfigDeclarationAccess().getConfigKeyword_0()); - } - ( - ( - lv_name_1_0=RULE_ID - { - newLeafNode(lv_name_1_0, grammarAccess.getConfigDeclarationAccess().getNameIDTerminalRuleCall_1_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getConfigDeclarationRule()); - } - setWithLastConsumed( - $current, - "name", - lv_name_1_0, - "org.eclipse.xtext.common.Terminals.ID"); - } - ) - ) - ( - ( - { - newCompositeNode(grammarAccess.getConfigDeclarationAccess().getSpecificationConfigSpecificationParserRuleCall_2_0()); - } - lv_specification_2_0=ruleConfigSpecification - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getConfigDeclarationRule()); - } - set( - $current, - "specification", - lv_specification_2_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ConfigSpecification"); - afterParserOrEnumRuleCall(); - } - ) - ) - ) -; - -// Entry rule entryRuleConfigEntry -entryRuleConfigEntry returns [EObject current=null]: - { newCompositeNode(grammarAccess.getConfigEntryRule()); } - iv_ruleConfigEntry=ruleConfigEntry - { $current=$iv_ruleConfigEntry.current; } - EOF; - -// Rule ConfigEntry -ruleConfigEntry returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - { - newCompositeNode(grammarAccess.getConfigEntryAccess().getDocumentationEntryParserRuleCall_0()); - } - this_DocumentationEntry_0=ruleDocumentationEntry - { - $current = $this_DocumentationEntry_0.current; - afterParserOrEnumRuleCall(); - } - | - { - newCompositeNode(grammarAccess.getConfigEntryAccess().getRuntimeEntryParserRuleCall_1()); - } - this_RuntimeEntry_1=ruleRuntimeEntry - { - $current = $this_RuntimeEntry_1.current; - afterParserOrEnumRuleCall(); - } - | - { - newCompositeNode(grammarAccess.getConfigEntryAccess().getMemoryEntryParserRuleCall_2()); - } - this_MemoryEntry_2=ruleMemoryEntry - { - $current = $this_MemoryEntry_2.current; - afterParserOrEnumRuleCall(); - } - | - { - newCompositeNode(grammarAccess.getConfigEntryAccess().getCustomEntryParserRuleCall_3()); - } - this_CustomEntry_3=ruleCustomEntry - { - $current = $this_CustomEntry_3.current; - afterParserOrEnumRuleCall(); - } - ) -; - -// Entry rule entryRuleDocumentationEntry -entryRuleDocumentationEntry returns [EObject current=null]: - { newCompositeNode(grammarAccess.getDocumentationEntryRule()); } - iv_ruleDocumentationEntry=ruleDocumentationEntry - { $current=$iv_ruleDocumentationEntry.current; } - EOF; - -// Rule DocumentationEntry -ruleDocumentationEntry returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - otherlv_0='log-level' - { - newLeafNode(otherlv_0, grammarAccess.getDocumentationEntryAccess().getLogLevelKeyword_0()); - } - otherlv_1='=' - { - newLeafNode(otherlv_1, grammarAccess.getDocumentationEntryAccess().getEqualsSignKeyword_1()); - } - ( - ( - { - newCompositeNode(grammarAccess.getDocumentationEntryAccess().getLevelDocumentLevelSpecificationEnumRuleCall_2_0()); - } - lv_level_2_0=ruleDocumentLevelSpecification - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getDocumentationEntryRule()); - } - set( - $current, - "level", - lv_level_2_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.DocumentLevelSpecification"); - afterParserOrEnumRuleCall(); - } - ) - ) - ) -; - -// Entry rule entryRuleRuntimeEntry -entryRuleRuntimeEntry returns [EObject current=null]: - { newCompositeNode(grammarAccess.getRuntimeEntryRule()); } - iv_ruleRuntimeEntry=ruleRuntimeEntry - { $current=$iv_ruleRuntimeEntry.current; } - EOF; - -// Rule RuntimeEntry -ruleRuntimeEntry returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - otherlv_0='runtime' - { - newLeafNode(otherlv_0, grammarAccess.getRuntimeEntryAccess().getRuntimeKeyword_0()); - } - otherlv_1='=' - { - newLeafNode(otherlv_1, grammarAccess.getRuntimeEntryAccess().getEqualsSignKeyword_1()); - } - ( - ( - lv_millisecLimit_2_0=RULE_INT - { - newLeafNode(lv_millisecLimit_2_0, grammarAccess.getRuntimeEntryAccess().getMillisecLimitINTTerminalRuleCall_2_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getRuntimeEntryRule()); - } - setWithLastConsumed( - $current, - "millisecLimit", - lv_millisecLimit_2_0, - "org.eclipse.xtext.common.Terminals.INT"); - } - ) - ) - ) -; - -// Entry rule entryRuleMemoryEntry -entryRuleMemoryEntry returns [EObject current=null]: - { newCompositeNode(grammarAccess.getMemoryEntryRule()); } - iv_ruleMemoryEntry=ruleMemoryEntry - { $current=$iv_ruleMemoryEntry.current; } - EOF; - -// Rule MemoryEntry -ruleMemoryEntry returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - otherlv_0='memory' - { - newLeafNode(otherlv_0, grammarAccess.getMemoryEntryAccess().getMemoryKeyword_0()); - } - otherlv_1='=' - { - newLeafNode(otherlv_1, grammarAccess.getMemoryEntryAccess().getEqualsSignKeyword_1()); - } - ( - ( - lv_megabyteLimit_2_0=RULE_INT - { - newLeafNode(lv_megabyteLimit_2_0, grammarAccess.getMemoryEntryAccess().getMegabyteLimitINTTerminalRuleCall_2_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getMemoryEntryRule()); - } - setWithLastConsumed( - $current, - "megabyteLimit", - lv_megabyteLimit_2_0, - "org.eclipse.xtext.common.Terminals.INT"); - } - ) - ) - ) -; - -// Entry rule entryRuleCustomEntry -entryRuleCustomEntry returns [EObject current=null]: - { newCompositeNode(grammarAccess.getCustomEntryRule()); } - iv_ruleCustomEntry=ruleCustomEntry - { $current=$iv_ruleCustomEntry.current; } - EOF; - -// Rule CustomEntry -ruleCustomEntry returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - ( - ( - lv_key_0_0=RULE_STRING - { - newLeafNode(lv_key_0_0, grammarAccess.getCustomEntryAccess().getKeySTRINGTerminalRuleCall_0_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getCustomEntryRule()); - } - setWithLastConsumed( - $current, - "key", - lv_key_0_0, - "org.eclipse.xtext.common.Terminals.STRING"); - } - ) - ) - otherlv_1='=' - { - newLeafNode(otherlv_1, grammarAccess.getCustomEntryAccess().getEqualsSignKeyword_1()); - } - ( - ( - lv_value_2_0=RULE_STRING - { - newLeafNode(lv_value_2_0, grammarAccess.getCustomEntryAccess().getValueSTRINGTerminalRuleCall_2_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getCustomEntryRule()); - } - setWithLastConsumed( - $current, - "value", - lv_value_2_0, - "org.eclipse.xtext.common.Terminals.STRING"); - } - ) - ) - ) -; - -// Entry rule entryRuleConfigReference -entryRuleConfigReference returns [EObject current=null]: - { newCompositeNode(grammarAccess.getConfigReferenceRule()); } - iv_ruleConfigReference=ruleConfigReference - { $current=$iv_ruleConfigReference.current; } - EOF; - -// Rule ConfigReference -ruleConfigReference returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - ( - { - if ($current==null) { - $current = createModelElement(grammarAccess.getConfigReferenceRule()); - } - } - otherlv_0=RULE_ID - { - newLeafNode(otherlv_0, grammarAccess.getConfigReferenceAccess().getConfigConfigDeclarationCrossReference_0()); - } - ) - ) -; - -// Entry rule entryRuleConfig -entryRuleConfig returns [EObject current=null]: - { newCompositeNode(grammarAccess.getConfigRule()); } - iv_ruleConfig=ruleConfig - { $current=$iv_ruleConfig.current; } - EOF; - -// Rule Config -ruleConfig returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - { - newCompositeNode(grammarAccess.getConfigAccess().getConfigSpecificationParserRuleCall_0()); - } - this_ConfigSpecification_0=ruleConfigSpecification - { - $current = $this_ConfigSpecification_0.current; - afterParserOrEnumRuleCall(); - } - | - { - newCompositeNode(grammarAccess.getConfigAccess().getConfigReferenceParserRuleCall_1()); - } - this_ConfigReference_1=ruleConfigReference - { - $current = $this_ConfigReference_1.current; - afterParserOrEnumRuleCall(); - } - ) -; - -// Entry rule entryRuleScopeSpecification -entryRuleScopeSpecification returns [EObject current=null]: - { newCompositeNode(grammarAccess.getScopeSpecificationRule()); } - iv_ruleScopeSpecification=ruleScopeSpecification - { $current=$iv_ruleScopeSpecification.current; } - EOF; - -// Rule ScopeSpecification -ruleScopeSpecification returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - ( - { - $current = forceCreateModelElement( - grammarAccess.getScopeSpecificationAccess().getScopeSpecificationAction_0(), - $current); - } - ) - otherlv_1='{' - { - newLeafNode(otherlv_1, grammarAccess.getScopeSpecificationAccess().getLeftCurlyBracketKeyword_1()); - } - ( - ( - ( - { - newCompositeNode(grammarAccess.getScopeSpecificationAccess().getScopesTypeScopeParserRuleCall_2_0_0()); - } - lv_scopes_2_0=ruleTypeScope - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getScopeSpecificationRule()); - } - add( - $current, - "scopes", - lv_scopes_2_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.TypeScope"); - afterParserOrEnumRuleCall(); - } - ) - ) - ( - otherlv_3=',' - { - newLeafNode(otherlv_3, grammarAccess.getScopeSpecificationAccess().getCommaKeyword_2_1_0()); - } - ( - ( - { - newCompositeNode(grammarAccess.getScopeSpecificationAccess().getScopesTypeScopeParserRuleCall_2_1_1_0()); - } - lv_scopes_4_0=ruleTypeScope - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getScopeSpecificationRule()); - } - add( - $current, - "scopes", - lv_scopes_4_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.TypeScope"); - afterParserOrEnumRuleCall(); - } - ) - ) - )* - )? - otherlv_5='}' - { - newLeafNode(otherlv_5, grammarAccess.getScopeSpecificationAccess().getRightCurlyBracketKeyword_3()); - } - ) -; - -// Entry rule entryRuleTypeScope -entryRuleTypeScope returns [EObject current=null]: - { newCompositeNode(grammarAccess.getTypeScopeRule()); } - iv_ruleTypeScope=ruleTypeScope - { $current=$iv_ruleTypeScope.current; } - EOF; - -// Rule TypeScope -ruleTypeScope returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - { - newCompositeNode(grammarAccess.getTypeScopeAccess().getClassTypeScopeParserRuleCall_0()); - } - this_ClassTypeScope_0=ruleClassTypeScope - { - $current = $this_ClassTypeScope_0.current; - afterParserOrEnumRuleCall(); - } - | - { - newCompositeNode(grammarAccess.getTypeScopeAccess().getObjectTypeScopeParserRuleCall_1()); - } - this_ObjectTypeScope_1=ruleObjectTypeScope - { - $current = $this_ObjectTypeScope_1.current; - afterParserOrEnumRuleCall(); - } - | - { - newCompositeNode(grammarAccess.getTypeScopeAccess().getIntegerTypeScopeParserRuleCall_2()); - } - this_IntegerTypeScope_2=ruleIntegerTypeScope - { - $current = $this_IntegerTypeScope_2.current; - afterParserOrEnumRuleCall(); - } - | - { - newCompositeNode(grammarAccess.getTypeScopeAccess().getRealTypeScopeParserRuleCall_3()); - } - this_RealTypeScope_3=ruleRealTypeScope - { - $current = $this_RealTypeScope_3.current; - afterParserOrEnumRuleCall(); - } - | - { - newCompositeNode(grammarAccess.getTypeScopeAccess().getStringTypeScopeParserRuleCall_4()); - } - this_StringTypeScope_4=ruleStringTypeScope - { - $current = $this_StringTypeScope_4.current; - afterParserOrEnumRuleCall(); - } - ) -; - -// Entry rule entryRuleClassTypeScope -entryRuleClassTypeScope returns [EObject current=null]: - { newCompositeNode(grammarAccess.getClassTypeScopeRule()); } - iv_ruleClassTypeScope=ruleClassTypeScope - { $current=$iv_ruleClassTypeScope.current; } - EOF; - -// Rule ClassTypeScope -ruleClassTypeScope returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - otherlv_0='#' - { - newLeafNode(otherlv_0, grammarAccess.getClassTypeScopeAccess().getNumberSignKeyword_0()); - } - ( - ( - { - newCompositeNode(grammarAccess.getClassTypeScopeAccess().getTypeClassReferenceParserRuleCall_1_0()); - } - lv_type_1_0=ruleClassReference - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getClassTypeScopeRule()); - } - set( - $current, - "type", - lv_type_1_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ClassReference"); - afterParserOrEnumRuleCall(); - } - ) - ) - ( - ( - ( - lv_setsNew_2_0='+=' - { - newLeafNode(lv_setsNew_2_0, grammarAccess.getClassTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getClassTypeScopeRule()); - } - setWithLastConsumed($current, "setsNew", true, "+="); - } - ) - ) - | - ( - ( - lv_setsSum_3_0='=' - { - newLeafNode(lv_setsSum_3_0, grammarAccess.getClassTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getClassTypeScopeRule()); - } - setWithLastConsumed($current, "setsSum", true, "="); - } - ) - ) - ) - ( - ( - ( - { - newCompositeNode(grammarAccess.getClassTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0()); - } - lv_number_4_0=ruleExactNumber - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getClassTypeScopeRule()); - } - set( - $current, - "number", - lv_number_4_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ExactNumber"); - afterParserOrEnumRuleCall(); - } - ) - ) - | - ( - ( - { - newCompositeNode(grammarAccess.getClassTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0()); - } - lv_number_5_0=ruleIntervallNumber - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getClassTypeScopeRule()); - } - set( - $current, - "number", - lv_number_5_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntervallNumber"); - afterParserOrEnumRuleCall(); - } - ) - ) - ) - ) -; - -// Entry rule entryRuleObjectTypeScope -entryRuleObjectTypeScope returns [EObject current=null]: - { newCompositeNode(grammarAccess.getObjectTypeScopeRule()); } - iv_ruleObjectTypeScope=ruleObjectTypeScope - { $current=$iv_ruleObjectTypeScope.current; } - EOF; - -// Rule ObjectTypeScope -ruleObjectTypeScope returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - otherlv_0='#' - { - newLeafNode(otherlv_0, grammarAccess.getObjectTypeScopeAccess().getNumberSignKeyword_0()); - } - ( - ( - { - newCompositeNode(grammarAccess.getObjectTypeScopeAccess().getTypeObjectReferenceParserRuleCall_1_0()); - } - lv_type_1_0=ruleObjectReference - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getObjectTypeScopeRule()); - } - set( - $current, - "type", - lv_type_1_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ObjectReference"); - afterParserOrEnumRuleCall(); - } - ) - ) - ( - ( - ( - lv_setsNew_2_0='+=' - { - newLeafNode(lv_setsNew_2_0, grammarAccess.getObjectTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getObjectTypeScopeRule()); - } - setWithLastConsumed($current, "setsNew", true, "+="); - } - ) - ) - | - ( - ( - lv_setsSum_3_0='=' - { - newLeafNode(lv_setsSum_3_0, grammarAccess.getObjectTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getObjectTypeScopeRule()); - } - setWithLastConsumed($current, "setsSum", true, "="); - } - ) - ) - ) - ( - ( - ( - { - newCompositeNode(grammarAccess.getObjectTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0()); - } - lv_number_4_0=ruleExactNumber - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getObjectTypeScopeRule()); - } - set( - $current, - "number", - lv_number_4_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ExactNumber"); - afterParserOrEnumRuleCall(); - } - ) - ) - | - ( - ( - { - newCompositeNode(grammarAccess.getObjectTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0()); - } - lv_number_5_0=ruleIntervallNumber - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getObjectTypeScopeRule()); - } - set( - $current, - "number", - lv_number_5_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntervallNumber"); - afterParserOrEnumRuleCall(); - } - ) - ) - ) - ) -; - -// Entry rule entryRuleIntegerTypeScope -entryRuleIntegerTypeScope returns [EObject current=null]: - { newCompositeNode(grammarAccess.getIntegerTypeScopeRule()); } - iv_ruleIntegerTypeScope=ruleIntegerTypeScope - { $current=$iv_ruleIntegerTypeScope.current; } - EOF; - -// Rule IntegerTypeScope -ruleIntegerTypeScope returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - otherlv_0='#' - { - newLeafNode(otherlv_0, grammarAccess.getIntegerTypeScopeAccess().getNumberSignKeyword_0()); - } - ( - ( - { - newCompositeNode(grammarAccess.getIntegerTypeScopeAccess().getTypeIntegerReferenceParserRuleCall_1_0()); - } - lv_type_1_0=ruleIntegerReference - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getIntegerTypeScopeRule()); - } - set( - $current, - "type", - lv_type_1_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntegerReference"); - afterParserOrEnumRuleCall(); - } - ) - ) - ( - ( - ( - lv_setsNew_2_0='+=' - { - newLeafNode(lv_setsNew_2_0, grammarAccess.getIntegerTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getIntegerTypeScopeRule()); - } - setWithLastConsumed($current, "setsNew", true, "+="); - } - ) - ) - | - ( - ( - lv_setsSum_3_0='=' - { - newLeafNode(lv_setsSum_3_0, grammarAccess.getIntegerTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getIntegerTypeScopeRule()); - } - setWithLastConsumed($current, "setsSum", true, "="); - } - ) - ) - ) - ( - ( - ( - { - newCompositeNode(grammarAccess.getIntegerTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0()); - } - lv_number_4_0=ruleExactNumber - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getIntegerTypeScopeRule()); - } - set( - $current, - "number", - lv_number_4_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ExactNumber"); - afterParserOrEnumRuleCall(); - } - ) - ) - | - ( - ( - { - newCompositeNode(grammarAccess.getIntegerTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0()); - } - lv_number_5_0=ruleIntervallNumber - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getIntegerTypeScopeRule()); - } - set( - $current, - "number", - lv_number_5_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntervallNumber"); - afterParserOrEnumRuleCall(); - } - ) - ) - | - ( - ( - { - newCompositeNode(grammarAccess.getIntegerTypeScopeAccess().getNumberIntEnumberationParserRuleCall_3_2_0()); - } - lv_number_6_0=ruleIntEnumberation - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getIntegerTypeScopeRule()); - } - set( - $current, - "number", - lv_number_6_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntEnumberation"); - afterParserOrEnumRuleCall(); - } - ) - ) - ) - ) -; - -// Entry rule entryRuleRealTypeScope -entryRuleRealTypeScope returns [EObject current=null]: - { newCompositeNode(grammarAccess.getRealTypeScopeRule()); } - iv_ruleRealTypeScope=ruleRealTypeScope - { $current=$iv_ruleRealTypeScope.current; } - EOF; - -// Rule RealTypeScope -ruleRealTypeScope returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - otherlv_0='#' - { - newLeafNode(otherlv_0, grammarAccess.getRealTypeScopeAccess().getNumberSignKeyword_0()); - } - ( - ( - { - newCompositeNode(grammarAccess.getRealTypeScopeAccess().getTypeRealReferenceParserRuleCall_1_0()); - } - lv_type_1_0=ruleRealReference - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getRealTypeScopeRule()); - } - set( - $current, - "type", - lv_type_1_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.RealReference"); - afterParserOrEnumRuleCall(); - } - ) - ) - ( - ( - ( - lv_setsNew_2_0='+=' - { - newLeafNode(lv_setsNew_2_0, grammarAccess.getRealTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getRealTypeScopeRule()); - } - setWithLastConsumed($current, "setsNew", true, "+="); - } - ) - ) - | - ( - ( - lv_setsSum_3_0='=' - { - newLeafNode(lv_setsSum_3_0, grammarAccess.getRealTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getRealTypeScopeRule()); - } - setWithLastConsumed($current, "setsSum", true, "="); - } - ) - ) - ) - ( - ( - ( - { - newCompositeNode(grammarAccess.getRealTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0()); - } - lv_number_4_0=ruleExactNumber - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getRealTypeScopeRule()); - } - set( - $current, - "number", - lv_number_4_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ExactNumber"); - afterParserOrEnumRuleCall(); - } - ) - ) - | - ( - ( - { - newCompositeNode(grammarAccess.getRealTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0()); - } - lv_number_5_0=ruleIntervallNumber - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getRealTypeScopeRule()); - } - set( - $current, - "number", - lv_number_5_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntervallNumber"); - afterParserOrEnumRuleCall(); - } - ) - ) - | - ( - ( - { - newCompositeNode(grammarAccess.getRealTypeScopeAccess().getNumberRealEnumerationParserRuleCall_3_2_0()); - } - lv_number_6_0=ruleRealEnumeration - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getRealTypeScopeRule()); - } - set( - $current, - "number", - lv_number_6_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.RealEnumeration"); - afterParserOrEnumRuleCall(); - } - ) - ) - ) - ) -; - -// Entry rule entryRuleStringTypeScope -entryRuleStringTypeScope returns [EObject current=null]: - { newCompositeNode(grammarAccess.getStringTypeScopeRule()); } - iv_ruleStringTypeScope=ruleStringTypeScope - { $current=$iv_ruleStringTypeScope.current; } - EOF; - -// Rule StringTypeScope -ruleStringTypeScope returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - otherlv_0='#' - { - newLeafNode(otherlv_0, grammarAccess.getStringTypeScopeAccess().getNumberSignKeyword_0()); - } - ( - ( - { - newCompositeNode(grammarAccess.getStringTypeScopeAccess().getTypeStringReferenceParserRuleCall_1_0()); - } - lv_type_1_0=ruleStringReference - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getStringTypeScopeRule()); - } - set( - $current, - "type", - lv_type_1_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.StringReference"); - afterParserOrEnumRuleCall(); - } - ) - ) - ( - ( - ( - lv_setsNew_2_0='+=' - { - newLeafNode(lv_setsNew_2_0, grammarAccess.getStringTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getStringTypeScopeRule()); - } - setWithLastConsumed($current, "setsNew", true, "+="); - } - ) - ) - | - ( - ( - lv_setsSum_3_0='=' - { - newLeafNode(lv_setsSum_3_0, grammarAccess.getStringTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getStringTypeScopeRule()); - } - setWithLastConsumed($current, "setsSum", true, "="); - } - ) - ) - ) - ( - ( - ( - { - newCompositeNode(grammarAccess.getStringTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0()); - } - lv_number_4_0=ruleExactNumber - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getStringTypeScopeRule()); - } - set( - $current, - "number", - lv_number_4_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ExactNumber"); - afterParserOrEnumRuleCall(); - } - ) - ) - | - ( - ( - { - newCompositeNode(grammarAccess.getStringTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0()); - } - lv_number_5_0=ruleIntervallNumber - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getStringTypeScopeRule()); - } - set( - $current, - "number", - lv_number_5_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntervallNumber"); - afterParserOrEnumRuleCall(); - } - ) - ) - | - ( - ( - { - newCompositeNode(grammarAccess.getStringTypeScopeAccess().getNumberStringEnumerationParserRuleCall_3_2_0()); - } - lv_number_6_0=ruleStringEnumeration - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getStringTypeScopeRule()); - } - set( - $current, - "number", - lv_number_6_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.StringEnumeration"); - afterParserOrEnumRuleCall(); - } - ) - ) - ) - ) -; - -// Entry rule entryRuleClassReference -entryRuleClassReference returns [EObject current=null]: - { newCompositeNode(grammarAccess.getClassReferenceRule()); } - iv_ruleClassReference=ruleClassReference - { $current=$iv_ruleClassReference.current; } - EOF; - -// Rule ClassReference -ruleClassReference returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - otherlv_0='<' - { - newLeafNode(otherlv_0, grammarAccess.getClassReferenceAccess().getLessThanSignKeyword_0()); - } - ( - ( - { - newCompositeNode(grammarAccess.getClassReferenceAccess().getElementMetamodelElementParserRuleCall_1_0()); - } - lv_element_1_0=ruleMetamodelElement - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getClassReferenceRule()); - } - set( - $current, - "element", - lv_element_1_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelElement"); - afterParserOrEnumRuleCall(); - } - ) - ) - otherlv_2='>' - { - newLeafNode(otherlv_2, grammarAccess.getClassReferenceAccess().getGreaterThanSignKeyword_2()); - } - ) -; - -// Entry rule entryRuleObjectReference -entryRuleObjectReference returns [EObject current=null]: - { newCompositeNode(grammarAccess.getObjectReferenceRule()); } - iv_ruleObjectReference=ruleObjectReference - { $current=$iv_ruleObjectReference.current; } - EOF; - -// Rule ObjectReference -ruleObjectReference returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - ( - { - $current = forceCreateModelElement( - grammarAccess.getObjectReferenceAccess().getObjectReferenceAction_0(), - $current); - } - ) - otherlv_1='node' - { - newLeafNode(otherlv_1, grammarAccess.getObjectReferenceAccess().getNodeKeyword_1()); - } - ) -; - -// Entry rule entryRuleIntegerReference -entryRuleIntegerReference returns [EObject current=null]: - { newCompositeNode(grammarAccess.getIntegerReferenceRule()); } - iv_ruleIntegerReference=ruleIntegerReference - { $current=$iv_ruleIntegerReference.current; } - EOF; - -// Rule IntegerReference -ruleIntegerReference returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - ( - { - $current = forceCreateModelElement( - grammarAccess.getIntegerReferenceAccess().getIntegerScopeAction_0(), - $current); - } - ) - otherlv_1='int' - { - newLeafNode(otherlv_1, grammarAccess.getIntegerReferenceAccess().getIntKeyword_1()); - } - ) -; - -// Entry rule entryRuleRealReference -entryRuleRealReference returns [EObject current=null]: - { newCompositeNode(grammarAccess.getRealReferenceRule()); } - iv_ruleRealReference=ruleRealReference - { $current=$iv_ruleRealReference.current; } - EOF; - -// Rule RealReference -ruleRealReference returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - ( - { - $current = forceCreateModelElement( - grammarAccess.getRealReferenceAccess().getRealScopeAction_0(), - $current); - } - ) - otherlv_1='real' - { - newLeafNode(otherlv_1, grammarAccess.getRealReferenceAccess().getRealKeyword_1()); - } - ) -; - -// Entry rule entryRuleStringReference -entryRuleStringReference returns [EObject current=null]: - { newCompositeNode(grammarAccess.getStringReferenceRule()); } - iv_ruleStringReference=ruleStringReference - { $current=$iv_ruleStringReference.current; } - EOF; - -// Rule StringReference -ruleStringReference returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - ( - { - $current = forceCreateModelElement( - grammarAccess.getStringReferenceAccess().getStringScopeAction_0(), - $current); - } - ) - otherlv_1='string' - { - newLeafNode(otherlv_1, grammarAccess.getStringReferenceAccess().getStringKeyword_1()); - } - ) -; - -// Entry rule entryRuleExactNumber -entryRuleExactNumber returns [EObject current=null]: - { newCompositeNode(grammarAccess.getExactNumberRule()); } - iv_ruleExactNumber=ruleExactNumber - { $current=$iv_ruleExactNumber.current; } - EOF; - -// Rule ExactNumber -ruleExactNumber returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - ( - ( - lv_exactNumber_0_0=RULE_INT - { - newLeafNode(lv_exactNumber_0_0, grammarAccess.getExactNumberAccess().getExactNumberINTTerminalRuleCall_0_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getExactNumberRule()); - } - setWithLastConsumed( - $current, - "exactNumber", - lv_exactNumber_0_0, - "org.eclipse.xtext.common.Terminals.INT"); - } - ) - ) - | - ( - ( - lv_exactUnlimited_1_0='*' - { - newLeafNode(lv_exactUnlimited_1_0, grammarAccess.getExactNumberAccess().getExactUnlimitedAsteriskKeyword_1_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getExactNumberRule()); - } - setWithLastConsumed($current, "exactUnlimited", true, "*"); - } - ) - ) - ) -; - -// Entry rule entryRuleIntervallNumber -entryRuleIntervallNumber returns [EObject current=null]: - { newCompositeNode(grammarAccess.getIntervallNumberRule()); } - iv_ruleIntervallNumber=ruleIntervallNumber - { $current=$iv_ruleIntervallNumber.current; } - EOF; - -// Rule IntervallNumber -ruleIntervallNumber returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - ( - ( - lv_min_0_0=RULE_INT - { - newLeafNode(lv_min_0_0, grammarAccess.getIntervallNumberAccess().getMinINTTerminalRuleCall_0_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getIntervallNumberRule()); - } - setWithLastConsumed( - $current, - "min", - lv_min_0_0, - "org.eclipse.xtext.common.Terminals.INT"); - } - ) - ) - otherlv_1='..' - { - newLeafNode(otherlv_1, grammarAccess.getIntervallNumberAccess().getFullStopFullStopKeyword_1()); - } - ( - ( - ( - lv_maxNumber_2_0=RULE_INT - { - newLeafNode(lv_maxNumber_2_0, grammarAccess.getIntervallNumberAccess().getMaxNumberINTTerminalRuleCall_2_0_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getIntervallNumberRule()); - } - setWithLastConsumed( - $current, - "maxNumber", - lv_maxNumber_2_0, - "org.eclipse.xtext.common.Terminals.INT"); - } - ) - ) - | - ( - ( - lv_maxUnlimited_3_0='*' - { - newLeafNode(lv_maxUnlimited_3_0, grammarAccess.getIntervallNumberAccess().getMaxUnlimitedAsteriskKeyword_2_1_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getIntervallNumberRule()); - } - setWithLastConsumed($current, "maxUnlimited", true, "*"); - } - ) - ) - ) - ) -; - -// Entry rule entryRuleIntEnumberation -entryRuleIntEnumberation returns [EObject current=null]: - { newCompositeNode(grammarAccess.getIntEnumberationRule()); } - iv_ruleIntEnumberation=ruleIntEnumberation - { $current=$iv_ruleIntEnumberation.current; } - EOF; - -// Rule IntEnumberation -ruleIntEnumberation returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - ( - { - $current = forceCreateModelElement( - grammarAccess.getIntEnumberationAccess().getIntEnumberationAction_0(), - $current); - } - ) - otherlv_1='{' - { - newLeafNode(otherlv_1, grammarAccess.getIntEnumberationAccess().getLeftCurlyBracketKeyword_1()); - } - ( - ( - ( - { - newCompositeNode(grammarAccess.getIntEnumberationAccess().getEntryINTLiteralParserRuleCall_2_0_0()); - } - lv_entry_2_0=ruleINTLiteral - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getIntEnumberationRule()); - } - add( - $current, - "entry", - lv_entry_2_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.INTLiteral"); - afterParserOrEnumRuleCall(); - } - ) - ) - ( - otherlv_3=',' - { - newLeafNode(otherlv_3, grammarAccess.getIntEnumberationAccess().getCommaKeyword_2_1_0()); - } - ( - ( - { - newCompositeNode(grammarAccess.getIntEnumberationAccess().getEntryINTLiteralParserRuleCall_2_1_1_0()); - } - lv_entry_4_0=ruleINTLiteral - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getIntEnumberationRule()); - } - add( - $current, - "entry", - lv_entry_4_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.INTLiteral"); - afterParserOrEnumRuleCall(); - } - ) - ) - )* - )? - otherlv_5='}' - { - newLeafNode(otherlv_5, grammarAccess.getIntEnumberationAccess().getRightCurlyBracketKeyword_3()); - } - ) -; - -// Entry rule entryRuleRealEnumeration -entryRuleRealEnumeration returns [EObject current=null]: - { newCompositeNode(grammarAccess.getRealEnumerationRule()); } - iv_ruleRealEnumeration=ruleRealEnumeration - { $current=$iv_ruleRealEnumeration.current; } - EOF; - -// Rule RealEnumeration -ruleRealEnumeration returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - ( - { - $current = forceCreateModelElement( - grammarAccess.getRealEnumerationAccess().getRealEnumerationAction_0(), - $current); - } - ) - otherlv_1='{' - { - newLeafNode(otherlv_1, grammarAccess.getRealEnumerationAccess().getLeftCurlyBracketKeyword_1()); - } - ( - ( - ( - { - newCompositeNode(grammarAccess.getRealEnumerationAccess().getEntryREALLiteralParserRuleCall_2_0_0()); - } - lv_entry_2_0=ruleREALLiteral - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getRealEnumerationRule()); - } - add( - $current, - "entry", - lv_entry_2_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.REALLiteral"); - afterParserOrEnumRuleCall(); - } - ) - ) - ( - otherlv_3=',' - { - newLeafNode(otherlv_3, grammarAccess.getRealEnumerationAccess().getCommaKeyword_2_1_0()); - } - ( - ( - { - newCompositeNode(grammarAccess.getRealEnumerationAccess().getEntryREALLiteralParserRuleCall_2_1_1_0()); - } - lv_entry_4_0=ruleREALLiteral - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getRealEnumerationRule()); - } - add( - $current, - "entry", - lv_entry_4_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.REALLiteral"); - afterParserOrEnumRuleCall(); - } - ) - ) - )* - )? - otherlv_5='}' - { - newLeafNode(otherlv_5, grammarAccess.getRealEnumerationAccess().getRightCurlyBracketKeyword_3()); - } - ) -; - -// Entry rule entryRuleStringEnumeration -entryRuleStringEnumeration returns [EObject current=null]: - { newCompositeNode(grammarAccess.getStringEnumerationRule()); } - iv_ruleStringEnumeration=ruleStringEnumeration - { $current=$iv_ruleStringEnumeration.current; } - EOF; - -// Rule StringEnumeration -ruleStringEnumeration returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - ( - { - $current = forceCreateModelElement( - grammarAccess.getStringEnumerationAccess().getStringEnumerationAction_0(), - $current); - } - ) - otherlv_1='{' - { - newLeafNode(otherlv_1, grammarAccess.getStringEnumerationAccess().getLeftCurlyBracketKeyword_1()); - } - ( - ( - ( - lv_entry_2_0=RULE_STRING - { - newLeafNode(lv_entry_2_0, grammarAccess.getStringEnumerationAccess().getEntrySTRINGTerminalRuleCall_2_0_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getStringEnumerationRule()); - } - addWithLastConsumed( - $current, - "entry", - lv_entry_2_0, - "org.eclipse.xtext.common.Terminals.STRING"); - } - ) - ) - ( - otherlv_3=',' - { - newLeafNode(otherlv_3, grammarAccess.getStringEnumerationAccess().getCommaKeyword_2_1_0()); - } - ( - ( - lv_entry_4_0=RULE_STRING - { - newLeafNode(lv_entry_4_0, grammarAccess.getStringEnumerationAccess().getEntrySTRINGTerminalRuleCall_2_1_1_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getStringEnumerationRule()); - } - addWithLastConsumed( - $current, - "entry", - lv_entry_4_0, - "org.eclipse.xtext.common.Terminals.STRING"); - } - ) - ) - )* - )? - otherlv_5='}' - { - newLeafNode(otherlv_5, grammarAccess.getStringEnumerationAccess().getRightCurlyBracketKeyword_3()); - } - ) -; - -// Entry rule entryRuleScopeDeclaration -entryRuleScopeDeclaration returns [EObject current=null]: - { newCompositeNode(grammarAccess.getScopeDeclarationRule()); } - iv_ruleScopeDeclaration=ruleScopeDeclaration - { $current=$iv_ruleScopeDeclaration.current; } - EOF; - -// Rule ScopeDeclaration -ruleScopeDeclaration returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - otherlv_0='scope' - { - newLeafNode(otherlv_0, grammarAccess.getScopeDeclarationAccess().getScopeKeyword_0()); - } - ( - ( - lv_name_1_0=RULE_ID - { - newLeafNode(lv_name_1_0, grammarAccess.getScopeDeclarationAccess().getNameIDTerminalRuleCall_1_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getScopeDeclarationRule()); - } - setWithLastConsumed( - $current, - "name", - lv_name_1_0, - "org.eclipse.xtext.common.Terminals.ID"); - } - ) - ) - ( - ( - { - newCompositeNode(grammarAccess.getScopeDeclarationAccess().getSpecificationScopeSpecificationParserRuleCall_2_0()); - } - lv_specification_2_0=ruleScopeSpecification - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getScopeDeclarationRule()); - } - set( - $current, - "specification", - lv_specification_2_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ScopeSpecification"); - afterParserOrEnumRuleCall(); - } - ) - ) - ) -; - -// Entry rule entryRuleScopeReference -entryRuleScopeReference returns [EObject current=null]: - { newCompositeNode(grammarAccess.getScopeReferenceRule()); } - iv_ruleScopeReference=ruleScopeReference - { $current=$iv_ruleScopeReference.current; } - EOF; - -// Rule ScopeReference -ruleScopeReference returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - ( - { - if ($current==null) { - $current = createModelElement(grammarAccess.getScopeReferenceRule()); - } - } - otherlv_0=RULE_ID - { - newLeafNode(otherlv_0, grammarAccess.getScopeReferenceAccess().getReferredScopeDeclarationCrossReference_0()); - } - ) - ) -; - -// Entry rule entryRuleScope -entryRuleScope returns [EObject current=null]: - { newCompositeNode(grammarAccess.getScopeRule()); } - iv_ruleScope=ruleScope - { $current=$iv_ruleScope.current; } - EOF; - -// Rule Scope -ruleScope returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - { - newCompositeNode(grammarAccess.getScopeAccess().getScopeSpecificationParserRuleCall_0()); - } - this_ScopeSpecification_0=ruleScopeSpecification - { - $current = $this_ScopeSpecification_0.current; - afterParserOrEnumRuleCall(); - } - | - { - newCompositeNode(grammarAccess.getScopeAccess().getScopeReferenceParserRuleCall_1()); - } - this_ScopeReference_1=ruleScopeReference - { - $current = $this_ScopeReference_1.current; - afterParserOrEnumRuleCall(); - } - ) -; - -// Entry rule entryRuleTask -entryRuleTask returns [EObject current=null]: - { newCompositeNode(grammarAccess.getTaskRule()); } - iv_ruleTask=ruleTask - { $current=$iv_ruleTask.current; } - EOF; - -// Rule Task -ruleTask returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - { - newCompositeNode(grammarAccess.getTaskAccess().getGenerationTaskParserRuleCall()); - } - this_GenerationTask_0=ruleGenerationTask - { - $current = $this_GenerationTask_0.current; - afterParserOrEnumRuleCall(); - } -; - -// Entry rule entryRuleGenerationTask -entryRuleGenerationTask returns [EObject current=null]: - { newCompositeNode(grammarAccess.getGenerationTaskRule()); } - iv_ruleGenerationTask=ruleGenerationTask - { $current=$iv_ruleGenerationTask.current; } - EOF; - -// Rule GenerationTask -ruleGenerationTask returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - otherlv_0='generate' - { - newLeafNode(otherlv_0, grammarAccess.getGenerationTaskAccess().getGenerateKeyword_0()); - } - ( - { - $current = forceCreateModelElement( - grammarAccess.getGenerationTaskAccess().getGenerationTaskAction_1(), - $current); - } - ) - otherlv_2='{' - { - newLeafNode(otherlv_2, grammarAccess.getGenerationTaskAccess().getLeftCurlyBracketKeyword_2()); - } - ( - ( - { - getUnorderedGroupHelper().enter(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); - } - ( - ( - ( - {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0)}?=>( - { - getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0); - } - ({true}?=>(otherlv_4='metamodel' - { - newLeafNode(otherlv_4, grammarAccess.getGenerationTaskAccess().getMetamodelKeyword_3_0_0()); - } - otherlv_5='=' - { - newLeafNode(otherlv_5, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_0_1()); - } - ( - ( - { - newCompositeNode(grammarAccess.getGenerationTaskAccess().getMetamodelMetamodelParserRuleCall_3_0_2_0()); - } - lv_metamodel_6_0=ruleMetamodel - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); - } - set( - $current, - "metamodel", - lv_metamodel_6_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Metamodel"); - afterParserOrEnumRuleCall(); - } - ) - ) - )) - { - getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); - } - ) - )| - ( - {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1)}?=>( - { - getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1); - } - ({true}?=>(otherlv_7='partial-model' - { - newLeafNode(otherlv_7, grammarAccess.getGenerationTaskAccess().getPartialModelKeyword_3_1_0()); - } - otherlv_8='=' - { - newLeafNode(otherlv_8, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_1_1()); - } - ( - ( - { - newCompositeNode(grammarAccess.getGenerationTaskAccess().getPartialModelPartialModelParserRuleCall_3_1_2_0()); - } - lv_partialModel_9_0=rulePartialModel - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); - } - set( - $current, - "partialModel", - lv_partialModel_9_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PartialModel"); - afterParserOrEnumRuleCall(); - } - ) - ) - )) - { - getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); - } - ) - )| - ( - {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2)}?=>( - { - getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2); - } - ({true}?=>(otherlv_10='constraints' - { - newLeafNode(otherlv_10, grammarAccess.getGenerationTaskAccess().getConstraintsKeyword_3_2_0()); - } - otherlv_11='=' - { - newLeafNode(otherlv_11, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_2_1()); - } - ( - ( - { - newCompositeNode(grammarAccess.getGenerationTaskAccess().getPatternsGraphPatternParserRuleCall_3_2_2_0()); - } - lv_patterns_12_0=ruleGraphPattern - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); - } - set( - $current, - "patterns", - lv_patterns_12_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.GraphPattern"); - afterParserOrEnumRuleCall(); - } - ) - ) - )) - { - getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); - } - ) - )| - ( - {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3)}?=>( - { - getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3); - } - ({true}?=>(otherlv_13='scope' - { - newLeafNode(otherlv_13, grammarAccess.getGenerationTaskAccess().getScopeKeyword_3_3_0()); - } - otherlv_14='=' - { - newLeafNode(otherlv_14, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_3_1()); - } - ( - ( - { - newCompositeNode(grammarAccess.getGenerationTaskAccess().getScopeScopeParserRuleCall_3_3_2_0()); - } - lv_scope_15_0=ruleScope - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); - } - set( - $current, - "scope", - lv_scope_15_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Scope"); - afterParserOrEnumRuleCall(); - } - ) - ) - )) - { - getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); - } - ) - )| - ( - {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4)}?=>( - { - getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4); - } - ({true}?=>(( - ( - lv_numberSpecified_16_0='number' - { - newLeafNode(lv_numberSpecified_16_0, grammarAccess.getGenerationTaskAccess().getNumberSpecifiedNumberKeyword_3_4_0_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getGenerationTaskRule()); - } - setWithLastConsumed($current, "numberSpecified", true, "number"); - } - ) - ) - otherlv_17='=' - { - newLeafNode(otherlv_17, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_4_1()); - } - ( - ( - lv_number_18_0=RULE_INT - { - newLeafNode(lv_number_18_0, grammarAccess.getGenerationTaskAccess().getNumberINTTerminalRuleCall_3_4_2_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getGenerationTaskRule()); - } - setWithLastConsumed( - $current, - "number", - lv_number_18_0, - "org.eclipse.xtext.common.Terminals.INT"); - } - ) - ) - )) - { - getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); - } - ) - )| - ( - {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5)}?=>( - { - getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5); - } - ({true}?=>(( - ( - lv_runSpecified_19_0='runs' - { - newLeafNode(lv_runSpecified_19_0, grammarAccess.getGenerationTaskAccess().getRunSpecifiedRunsKeyword_3_5_0_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getGenerationTaskRule()); - } - setWithLastConsumed($current, "runSpecified", true, "runs"); - } - ) - ) - otherlv_20='=' - { - newLeafNode(otherlv_20, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_5_1()); - } - ( - ( - lv_runs_21_0=RULE_INT - { - newLeafNode(lv_runs_21_0, grammarAccess.getGenerationTaskAccess().getRunsINTTerminalRuleCall_3_5_2_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getGenerationTaskRule()); - } - setWithLastConsumed( - $current, - "runs", - lv_runs_21_0, - "org.eclipse.xtext.common.Terminals.INT"); - } - ) - ) - )) - { - getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); - } - ) - )| - ( - {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6)}?=>( - { - getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6); - } - ({true}?=>(otherlv_22='solver' - { - newLeafNode(otherlv_22, grammarAccess.getGenerationTaskAccess().getSolverKeyword_3_6_0()); - } - otherlv_23='=' - { - newLeafNode(otherlv_23, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_6_1()); - } - ( - ( - { - newCompositeNode(grammarAccess.getGenerationTaskAccess().getSolverSolverEnumRuleCall_3_6_2_0()); - } - lv_solver_24_0=ruleSolver - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); - } - set( - $current, - "solver", - lv_solver_24_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Solver"); - afterParserOrEnumRuleCall(); - } - ) - ) - )) - { - getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); - } - ) - )| - ( - {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7)}?=>( - { - getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7); - } - ({true}?=>(otherlv_25='config' - { - newLeafNode(otherlv_25, grammarAccess.getGenerationTaskAccess().getConfigKeyword_3_7_0()); - } - otherlv_26='=' - { - newLeafNode(otherlv_26, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_7_1()); - } - ( - ( - { - newCompositeNode(grammarAccess.getGenerationTaskAccess().getConfigConfigParserRuleCall_3_7_2_0()); - } - lv_config_27_0=ruleConfig - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); - } - set( - $current, - "config", - lv_config_27_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Config"); - afterParserOrEnumRuleCall(); - } - ) - ) - )) - { - getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); - } - ) - )| - ( - {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8)}?=>( - { - getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8); - } - ({true}?=>(otherlv_28='debug' - { - newLeafNode(otherlv_28, grammarAccess.getGenerationTaskAccess().getDebugKeyword_3_8_0()); - } - otherlv_29='=' - { - newLeafNode(otherlv_29, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_8_1()); - } - ( - ( - { - newCompositeNode(grammarAccess.getGenerationTaskAccess().getDebugFolderFileParserRuleCall_3_8_2_0()); - } - lv_debugFolder_30_0=ruleFile - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); - } - set( - $current, - "debugFolder", - lv_debugFolder_30_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File"); - afterParserOrEnumRuleCall(); - } - ) - ) - )) - { - getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); - } - ) - )| - ( - {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9)}?=>( - { - getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9); - } - ({true}?=>(otherlv_31='log' - { - newLeafNode(otherlv_31, grammarAccess.getGenerationTaskAccess().getLogKeyword_3_9_0()); - } - otherlv_32='=' - { - newLeafNode(otherlv_32, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_9_1()); - } - ( - ( - { - newCompositeNode(grammarAccess.getGenerationTaskAccess().getTargetLogFileFileParserRuleCall_3_9_2_0()); - } - lv_targetLogFile_33_0=ruleFile - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); - } - set( - $current, - "targetLogFile", - lv_targetLogFile_33_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File"); - afterParserOrEnumRuleCall(); - } - ) - ) - )) - { - getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); - } - ) - )| - ( - {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10)}?=>( - { - getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10); - } - ({true}?=>(otherlv_34='statistics' - { - newLeafNode(otherlv_34, grammarAccess.getGenerationTaskAccess().getStatisticsKeyword_3_10_0()); - } - otherlv_35='=' - { - newLeafNode(otherlv_35, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_10_1()); - } - ( - ( - { - newCompositeNode(grammarAccess.getGenerationTaskAccess().getTargetStatisticsFileFileParserRuleCall_3_10_2_0()); - } - lv_targetStatisticsFile_36_0=ruleFile - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); - } - set( - $current, - "targetStatisticsFile", - lv_targetStatisticsFile_36_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File"); - afterParserOrEnumRuleCall(); - } - ) - ) - )) - { - getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); - } - ) - )| - ( - {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11)}?=>( - { - getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11); - } - ({true}?=>(otherlv_37='output' - { - newLeafNode(otherlv_37, grammarAccess.getGenerationTaskAccess().getOutputKeyword_3_11_0()); - } - otherlv_38='=' - { - newLeafNode(otherlv_38, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_11_1()); - } - ( - ( - { - newCompositeNode(grammarAccess.getGenerationTaskAccess().getTagetFolderFileParserRuleCall_3_11_2_0()); - } - lv_tagetFolder_39_0=ruleFile - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); - } - set( - $current, - "tagetFolder", - lv_tagetFolder_39_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File"); - afterParserOrEnumRuleCall(); - } - ) - ) - )) - { - getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); - } - ) - ) - )* - ) - ) - { - getUnorderedGroupHelper().leave(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); - } - ) - otherlv_40='}' - { - newLeafNode(otherlv_40, grammarAccess.getGenerationTaskAccess().getRightCurlyBracketKeyword_4()); - } - ) -; - -// Rule DocumentLevelSpecification -ruleDocumentLevelSpecification returns [Enumerator current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - ( - enumLiteral_0='none' - { - $current = grammarAccess.getDocumentLevelSpecificationAccess().getNoneEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); - newLeafNode(enumLiteral_0, grammarAccess.getDocumentLevelSpecificationAccess().getNoneEnumLiteralDeclaration_0()); - } - ) - | - ( - enumLiteral_1='normal' - { - $current = grammarAccess.getDocumentLevelSpecificationAccess().getNormalEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); - newLeafNode(enumLiteral_1, grammarAccess.getDocumentLevelSpecificationAccess().getNormalEnumLiteralDeclaration_1()); - } - ) - | - ( - enumLiteral_2='full' - { - $current = grammarAccess.getDocumentLevelSpecificationAccess().getFullEnumLiteralDeclaration_2().getEnumLiteral().getInstance(); - newLeafNode(enumLiteral_2, grammarAccess.getDocumentLevelSpecificationAccess().getFullEnumLiteralDeclaration_2()); - } - ) - ) -; - -// Rule Solver -ruleSolver returns [Enumerator current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - ( - enumLiteral_0='SMTSolver' - { - $current = grammarAccess.getSolverAccess().getSMTSolverEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); - newLeafNode(enumLiteral_0, grammarAccess.getSolverAccess().getSMTSolverEnumLiteralDeclaration_0()); - } - ) - | - ( - enumLiteral_1='AlloySolver' - { - $current = grammarAccess.getSolverAccess().getAlloySolverEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); - newLeafNode(enumLiteral_1, grammarAccess.getSolverAccess().getAlloySolverEnumLiteralDeclaration_1()); - } - ) - | - ( - enumLiteral_2='ViatraSolver' - { - $current = grammarAccess.getSolverAccess().getViatraSolverEnumLiteralDeclaration_2().getEnumLiteral().getInstance(); - newLeafNode(enumLiteral_2, grammarAccess.getSolverAccess().getViatraSolverEnumLiteralDeclaration_2()); - } - ) - ) -; - -RULE_ID : '^'? ('a'..'z'|'A'..'Z'|'_') ('a'..'z'|'A'..'Z'|'_'|'0'..'9')*; - -RULE_INT : ('0'..'9')+; - -RULE_STRING : ('"' ('\\' .|~(('\\'|'"')))* '"'|'\'' ('\\' .|~(('\\'|'\'')))* '\''); - -RULE_ML_COMMENT : '/*' ( options {greedy=false;} : . )*'*/'; - -RULE_SL_COMMENT : '//' ~(('\n'|'\r'))* ('\r'? '\n')?; - -RULE_WS : (' '|'\t'|'\r'|'\n')+; - -RULE_ANY_OTHER : .; +/* + * generated by Xtext 2.16.0 + */ +grammar InternalApplicationConfiguration; + +options { + superClass=AbstractInternalAntlrParser; +} + +@lexer::header { +package hu.bme.mit.inf.dslreasoner.application.parser.antlr.internal; + +// Hack: Use our own Lexer superclass by means of import. +// Currently there is no other way to specify the superclass for the lexer. +import org.eclipse.xtext.parser.antlr.Lexer; +} + +@parser::header { +package hu.bme.mit.inf.dslreasoner.application.parser.antlr.internal; + +import org.eclipse.xtext.*; +import org.eclipse.xtext.parser.*; +import org.eclipse.xtext.parser.impl.*; +import org.eclipse.emf.ecore.util.EcoreUtil; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.common.util.Enumerator; +import org.eclipse.xtext.parser.antlr.AbstractInternalAntlrParser; +import org.eclipse.xtext.parser.antlr.XtextTokenStream; +import org.eclipse.xtext.parser.antlr.XtextTokenStream.HiddenTokens; +import org.eclipse.xtext.parser.antlr.AntlrDatatypeRuleToken; +import hu.bme.mit.inf.dslreasoner.application.services.ApplicationConfigurationGrammarAccess; + +} + +@parser::members { + + private ApplicationConfigurationGrammarAccess grammarAccess; + + public InternalApplicationConfigurationParser(TokenStream input, ApplicationConfigurationGrammarAccess grammarAccess) { + this(input); + this.grammarAccess = grammarAccess; + registerRules(grammarAccess.getGrammar()); + } + + @Override + protected String getFirstRuleName() { + return "ConfigurationScript"; + } + + @Override + protected ApplicationConfigurationGrammarAccess getGrammarAccess() { + return grammarAccess; + } + +} + +@rulecatch { + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } +} + +// Entry rule entryRuleConfigurationScript +entryRuleConfigurationScript returns [EObject current=null]: + { newCompositeNode(grammarAccess.getConfigurationScriptRule()); } + iv_ruleConfigurationScript=ruleConfigurationScript + { $current=$iv_ruleConfigurationScript.current; } + EOF; + +// Rule ConfigurationScript +ruleConfigurationScript returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + ( + { + newCompositeNode(grammarAccess.getConfigurationScriptAccess().getImportsImportParserRuleCall_0_0()); + } + lv_imports_0_0=ruleImport + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getConfigurationScriptRule()); + } + add( + $current, + "imports", + lv_imports_0_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Import"); + afterParserOrEnumRuleCall(); + } + ) + )* + ( + ( + { + newCompositeNode(grammarAccess.getConfigurationScriptAccess().getCommandsCommandParserRuleCall_1_0()); + } + lv_commands_1_0=ruleCommand + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getConfigurationScriptRule()); + } + add( + $current, + "commands", + lv_commands_1_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Command"); + afterParserOrEnumRuleCall(); + } + ) + )* + ) +; + +// Entry rule entryRuleCommand +entryRuleCommand returns [EObject current=null]: + { newCompositeNode(grammarAccess.getCommandRule()); } + iv_ruleCommand=ruleCommand + { $current=$iv_ruleCommand.current; } + EOF; + +// Rule Command +ruleCommand returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + { + newCompositeNode(grammarAccess.getCommandAccess().getDeclarationParserRuleCall_0()); + } + this_Declaration_0=ruleDeclaration + { + $current = $this_Declaration_0.current; + afterParserOrEnumRuleCall(); + } + | + { + newCompositeNode(grammarAccess.getCommandAccess().getTaskParserRuleCall_1()); + } + this_Task_1=ruleTask + { + $current = $this_Task_1.current; + afterParserOrEnumRuleCall(); + } + ) +; + +// Entry rule entryRuleQualifiedName +entryRuleQualifiedName returns [String current=null]: + { newCompositeNode(grammarAccess.getQualifiedNameRule()); } + iv_ruleQualifiedName=ruleQualifiedName + { $current=$iv_ruleQualifiedName.current.getText(); } + EOF; + +// Rule QualifiedName +ruleQualifiedName returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + this_ID_0=RULE_ID + { + $current.merge(this_ID_0); + } + { + newLeafNode(this_ID_0, grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_0()); + } + ( + kw='.' + { + $current.merge(kw); + newLeafNode(kw, grammarAccess.getQualifiedNameAccess().getFullStopKeyword_1_0()); + } + this_ID_2=RULE_ID + { + $current.merge(this_ID_2); + } + { + newLeafNode(this_ID_2, grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_1_1()); + } + )* + ) +; + +// Entry rule entryRuleREALLiteral +entryRuleREALLiteral returns [String current=null]: + { newCompositeNode(grammarAccess.getREALLiteralRule()); } + iv_ruleREALLiteral=ruleREALLiteral + { $current=$iv_ruleREALLiteral.current.getText(); } + EOF; + +// Rule REALLiteral +ruleREALLiteral returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + kw='-' + { + $current.merge(kw); + newLeafNode(kw, grammarAccess.getREALLiteralAccess().getHyphenMinusKeyword_0()); + } + )? + this_INT_1=RULE_INT + { + $current.merge(this_INT_1); + } + { + newLeafNode(this_INT_1, grammarAccess.getREALLiteralAccess().getINTTerminalRuleCall_1()); + } + kw='.' + { + $current.merge(kw); + newLeafNode(kw, grammarAccess.getREALLiteralAccess().getFullStopKeyword_2()); + } + this_INT_3=RULE_INT + { + $current.merge(this_INT_3); + } + { + newLeafNode(this_INT_3, grammarAccess.getREALLiteralAccess().getINTTerminalRuleCall_3()); + } + ) +; + +// Entry rule entryRuleINTLiteral +entryRuleINTLiteral returns [String current=null]: + { newCompositeNode(grammarAccess.getINTLiteralRule()); } + iv_ruleINTLiteral=ruleINTLiteral + { $current=$iv_ruleINTLiteral.current.getText(); } + EOF; + +// Rule INTLiteral +ruleINTLiteral returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + kw='-' + { + $current.merge(kw); + newLeafNode(kw, grammarAccess.getINTLiteralAccess().getHyphenMinusKeyword_0()); + } + )? + this_INT_1=RULE_INT + { + $current.merge(this_INT_1); + } + { + newLeafNode(this_INT_1, grammarAccess.getINTLiteralAccess().getINTTerminalRuleCall_1()); + } + ) +; + +// Entry rule entryRuleImport +entryRuleImport returns [EObject current=null]: + { newCompositeNode(grammarAccess.getImportRule()); } + iv_ruleImport=ruleImport + { $current=$iv_ruleImport.current; } + EOF; + +// Rule Import +ruleImport returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + { + newCompositeNode(grammarAccess.getImportAccess().getEPackageImportParserRuleCall_0()); + } + this_EPackageImport_0=ruleEPackageImport + { + $current = $this_EPackageImport_0.current; + afterParserOrEnumRuleCall(); + } + | + { + newCompositeNode(grammarAccess.getImportAccess().getViatraImportParserRuleCall_1()); + } + this_ViatraImport_1=ruleViatraImport + { + $current = $this_ViatraImport_1.current; + afterParserOrEnumRuleCall(); + } + | + { + newCompositeNode(grammarAccess.getImportAccess().getCftImportParserRuleCall_2()); + } + this_CftImport_2=ruleCftImport + { + $current = $this_CftImport_2.current; + afterParserOrEnumRuleCall(); + } + ) +; + +// Entry rule entryRuleEPackageImport +entryRuleEPackageImport returns [EObject current=null]: + { newCompositeNode(grammarAccess.getEPackageImportRule()); } + iv_ruleEPackageImport=ruleEPackageImport + { $current=$iv_ruleEPackageImport.current; } + EOF; + +// Rule EPackageImport +ruleEPackageImport returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0='import' + { + newLeafNode(otherlv_0, grammarAccess.getEPackageImportAccess().getImportKeyword_0()); + } + otherlv_1='epackage' + { + newLeafNode(otherlv_1, grammarAccess.getEPackageImportAccess().getEpackageKeyword_1()); + } + ( + ( + { + if ($current==null) { + $current = createModelElement(grammarAccess.getEPackageImportRule()); + } + } + otherlv_2=RULE_STRING + { + newLeafNode(otherlv_2, grammarAccess.getEPackageImportAccess().getImportedPackageEPackageCrossReference_2_0()); + } + ) + ) + ) +; + +// Entry rule entryRuleViatraImport +entryRuleViatraImport returns [EObject current=null]: + { newCompositeNode(grammarAccess.getViatraImportRule()); } + iv_ruleViatraImport=ruleViatraImport + { $current=$iv_ruleViatraImport.current; } + EOF; + +// Rule ViatraImport +ruleViatraImport returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0='import' + { + newLeafNode(otherlv_0, grammarAccess.getViatraImportAccess().getImportKeyword_0()); + } + otherlv_1='viatra' + { + newLeafNode(otherlv_1, grammarAccess.getViatraImportAccess().getViatraKeyword_1()); + } + ( + ( + { + if ($current==null) { + $current = createModelElement(grammarAccess.getViatraImportRule()); + } + } + otherlv_2=RULE_STRING + { + newLeafNode(otherlv_2, grammarAccess.getViatraImportAccess().getImportedViatraPatternModelCrossReference_2_0()); + } + ) + ) + ) +; + +// Entry rule entryRuleCftImport +entryRuleCftImport returns [EObject current=null]: + { newCompositeNode(grammarAccess.getCftImportRule()); } + iv_ruleCftImport=ruleCftImport + { $current=$iv_ruleCftImport.current; } + EOF; + +// Rule CftImport +ruleCftImport returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0='import' + { + newLeafNode(otherlv_0, grammarAccess.getCftImportAccess().getImportKeyword_0()); + } + otherlv_1='reliability' + { + newLeafNode(otherlv_1, grammarAccess.getCftImportAccess().getReliabilityKeyword_1()); + } + ( + ( + { + if ($current==null) { + $current = createModelElement(grammarAccess.getCftImportRule()); + } + } + otherlv_2=RULE_STRING + { + newLeafNode(otherlv_2, grammarAccess.getCftImportAccess().getImportedCftCftModelCrossReference_2_0()); + } + ) + ) + ) +; + +// Entry rule entryRuleDeclaration +entryRuleDeclaration returns [EObject current=null]: + { newCompositeNode(grammarAccess.getDeclarationRule()); } + iv_ruleDeclaration=ruleDeclaration + { $current=$iv_ruleDeclaration.current; } + EOF; + +// Rule Declaration +ruleDeclaration returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + { + newCompositeNode(grammarAccess.getDeclarationAccess().getFileDeclarationParserRuleCall_0()); + } + this_FileDeclaration_0=ruleFileDeclaration + { + $current = $this_FileDeclaration_0.current; + afterParserOrEnumRuleCall(); + } + | + { + newCompositeNode(grammarAccess.getDeclarationAccess().getMetamodelDeclarationParserRuleCall_1()); + } + this_MetamodelDeclaration_1=ruleMetamodelDeclaration + { + $current = $this_MetamodelDeclaration_1.current; + afterParserOrEnumRuleCall(); + } + | + { + newCompositeNode(grammarAccess.getDeclarationAccess().getPartialModelDeclarationParserRuleCall_2()); + } + this_PartialModelDeclaration_2=rulePartialModelDeclaration + { + $current = $this_PartialModelDeclaration_2.current; + afterParserOrEnumRuleCall(); + } + | + { + newCompositeNode(grammarAccess.getDeclarationAccess().getGraphPatternDeclarationParserRuleCall_3()); + } + this_GraphPatternDeclaration_3=ruleGraphPatternDeclaration + { + $current = $this_GraphPatternDeclaration_3.current; + afterParserOrEnumRuleCall(); + } + | + { + newCompositeNode(grammarAccess.getDeclarationAccess().getConfigDeclarationParserRuleCall_4()); + } + this_ConfigDeclaration_4=ruleConfigDeclaration + { + $current = $this_ConfigDeclaration_4.current; + afterParserOrEnumRuleCall(); + } + | + { + newCompositeNode(grammarAccess.getDeclarationAccess().getScopeDeclarationParserRuleCall_5()); + } + this_ScopeDeclaration_5=ruleScopeDeclaration + { + $current = $this_ScopeDeclaration_5.current; + afterParserOrEnumRuleCall(); + } + | + { + newCompositeNode(grammarAccess.getDeclarationAccess().getObjectiveDeclarationParserRuleCall_6()); + } + this_ObjectiveDeclaration_6=ruleObjectiveDeclaration + { + $current = $this_ObjectiveDeclaration_6.current; + afterParserOrEnumRuleCall(); + } + ) +; + +// Entry rule entryRuleFileSpecification +entryRuleFileSpecification returns [EObject current=null]: + { newCompositeNode(grammarAccess.getFileSpecificationRule()); } + iv_ruleFileSpecification=ruleFileSpecification + { $current=$iv_ruleFileSpecification.current; } + EOF; + +// Rule FileSpecification +ruleFileSpecification returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + lv_path_0_0=RULE_STRING + { + newLeafNode(lv_path_0_0, grammarAccess.getFileSpecificationAccess().getPathSTRINGTerminalRuleCall_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getFileSpecificationRule()); + } + setWithLastConsumed( + $current, + "path", + lv_path_0_0, + "org.eclipse.xtext.common.Terminals.STRING"); + } + ) + ) +; + +// Entry rule entryRuleFileDeclaration +entryRuleFileDeclaration returns [EObject current=null]: + { newCompositeNode(grammarAccess.getFileDeclarationRule()); } + iv_ruleFileDeclaration=ruleFileDeclaration + { $current=$iv_ruleFileDeclaration.current; } + EOF; + +// Rule FileDeclaration +ruleFileDeclaration returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0='file' + { + newLeafNode(otherlv_0, grammarAccess.getFileDeclarationAccess().getFileKeyword_0()); + } + ( + ( + lv_name_1_0=RULE_ID + { + newLeafNode(lv_name_1_0, grammarAccess.getFileDeclarationAccess().getNameIDTerminalRuleCall_1_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getFileDeclarationRule()); + } + setWithLastConsumed( + $current, + "name", + lv_name_1_0, + "org.eclipse.xtext.common.Terminals.ID"); + } + ) + ) + otherlv_2='=' + { + newLeafNode(otherlv_2, grammarAccess.getFileDeclarationAccess().getEqualsSignKeyword_2()); + } + ( + ( + { + newCompositeNode(grammarAccess.getFileDeclarationAccess().getSpecificationFileSpecificationParserRuleCall_3_0()); + } + lv_specification_3_0=ruleFileSpecification + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getFileDeclarationRule()); + } + set( + $current, + "specification", + lv_specification_3_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.FileSpecification"); + afterParserOrEnumRuleCall(); + } + ) + ) + ) +; + +// Entry rule entryRuleFileReference +entryRuleFileReference returns [EObject current=null]: + { newCompositeNode(grammarAccess.getFileReferenceRule()); } + iv_ruleFileReference=ruleFileReference + { $current=$iv_ruleFileReference.current; } + EOF; + +// Rule FileReference +ruleFileReference returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + { + if ($current==null) { + $current = createModelElement(grammarAccess.getFileReferenceRule()); + } + } + otherlv_0=RULE_ID + { + newLeafNode(otherlv_0, grammarAccess.getFileReferenceAccess().getReferredFileDeclarationCrossReference_0()); + } + ) + ) +; + +// Entry rule entryRuleFile +entryRuleFile returns [EObject current=null]: + { newCompositeNode(grammarAccess.getFileRule()); } + iv_ruleFile=ruleFile + { $current=$iv_ruleFile.current; } + EOF; + +// Rule File +ruleFile returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + { + newCompositeNode(grammarAccess.getFileAccess().getFileSpecificationParserRuleCall_0()); + } + this_FileSpecification_0=ruleFileSpecification + { + $current = $this_FileSpecification_0.current; + afterParserOrEnumRuleCall(); + } + | + { + newCompositeNode(grammarAccess.getFileAccess().getFileReferenceParserRuleCall_1()); + } + this_FileReference_1=ruleFileReference + { + $current = $this_FileReference_1.current; + afterParserOrEnumRuleCall(); + } + ) +; + +// Entry rule entryRuleMetamodelSpecification +entryRuleMetamodelSpecification returns [EObject current=null]: + { newCompositeNode(grammarAccess.getMetamodelSpecificationRule()); } + iv_ruleMetamodelSpecification=ruleMetamodelSpecification + { $current=$iv_ruleMetamodelSpecification.current; } + EOF; + +// Rule MetamodelSpecification +ruleMetamodelSpecification returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0='{' + { + newLeafNode(otherlv_0, grammarAccess.getMetamodelSpecificationAccess().getLeftCurlyBracketKeyword_0()); + } + ( + ( + { + newCompositeNode(grammarAccess.getMetamodelSpecificationAccess().getEntriesMetamodelEntryParserRuleCall_1_0()); + } + lv_entries_1_0=ruleMetamodelEntry + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getMetamodelSpecificationRule()); + } + add( + $current, + "entries", + lv_entries_1_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelEntry"); + afterParserOrEnumRuleCall(); + } + ) + ) + ( + otherlv_2=',' + { + newLeafNode(otherlv_2, grammarAccess.getMetamodelSpecificationAccess().getCommaKeyword_2_0()); + } + ( + ( + { + newCompositeNode(grammarAccess.getMetamodelSpecificationAccess().getEntriesMetamodelEntryParserRuleCall_2_1_0()); + } + lv_entries_3_0=ruleMetamodelEntry + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getMetamodelSpecificationRule()); + } + add( + $current, + "entries", + lv_entries_3_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelEntry"); + afterParserOrEnumRuleCall(); + } + ) + ) + )* + otherlv_4='}' + { + newLeafNode(otherlv_4, grammarAccess.getMetamodelSpecificationAccess().getRightCurlyBracketKeyword_3()); + } + ) +; + +// Entry rule entryRuleMetamodelEntry +entryRuleMetamodelEntry returns [EObject current=null]: + { newCompositeNode(grammarAccess.getMetamodelEntryRule()); } + iv_ruleMetamodelEntry=ruleMetamodelEntry + { $current=$iv_ruleMetamodelEntry.current; } + EOF; + +// Rule MetamodelEntry +ruleMetamodelEntry returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + { + newCompositeNode(grammarAccess.getMetamodelEntryAccess().getMetamodelElementParserRuleCall_0()); + } + this_MetamodelElement_0=ruleMetamodelElement + { + $current = $this_MetamodelElement_0.current; + afterParserOrEnumRuleCall(); + } + | + { + newCompositeNode(grammarAccess.getMetamodelEntryAccess().getAllPackageEntryParserRuleCall_1()); + } + this_AllPackageEntry_1=ruleAllPackageEntry + { + $current = $this_AllPackageEntry_1.current; + afterParserOrEnumRuleCall(); + } + ) +; + +// Entry rule entryRuleAllPackageEntry +entryRuleAllPackageEntry returns [EObject current=null]: + { newCompositeNode(grammarAccess.getAllPackageEntryRule()); } + iv_ruleAllPackageEntry=ruleAllPackageEntry + { $current=$iv_ruleAllPackageEntry.current; } + EOF; + +// Rule AllPackageEntry +ruleAllPackageEntry returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0='package' + { + newLeafNode(otherlv_0, grammarAccess.getAllPackageEntryAccess().getPackageKeyword_0()); + } + ( + ( + { + if ($current==null) { + $current = createModelElement(grammarAccess.getAllPackageEntryRule()); + } + } + { + newCompositeNode(grammarAccess.getAllPackageEntryAccess().getPackageEPackageCrossReference_1_0()); + } + ruleQualifiedName + { + afterParserOrEnumRuleCall(); + } + ) + ) + ( + otherlv_2='excluding' + { + newLeafNode(otherlv_2, grammarAccess.getAllPackageEntryAccess().getExcludingKeyword_2_0()); + } + otherlv_3='{' + { + newLeafNode(otherlv_3, grammarAccess.getAllPackageEntryAccess().getLeftCurlyBracketKeyword_2_1()); + } + ( + ( + { + newCompositeNode(grammarAccess.getAllPackageEntryAccess().getExclusionMetamodelElementParserRuleCall_2_2_0()); + } + lv_exclusion_4_0=ruleMetamodelElement + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getAllPackageEntryRule()); + } + add( + $current, + "exclusion", + lv_exclusion_4_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelElement"); + afterParserOrEnumRuleCall(); + } + ) + ) + ( + otherlv_5=',' + { + newLeafNode(otherlv_5, grammarAccess.getAllPackageEntryAccess().getCommaKeyword_2_3_0()); + } + ( + ( + { + newCompositeNode(grammarAccess.getAllPackageEntryAccess().getExclusionMetamodelElementParserRuleCall_2_3_1_0()); + } + lv_exclusion_6_0=ruleMetamodelElement + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getAllPackageEntryRule()); + } + add( + $current, + "exclusion", + lv_exclusion_6_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelElement"); + afterParserOrEnumRuleCall(); + } + ) + ) + )* + otherlv_7='}' + { + newLeafNode(otherlv_7, grammarAccess.getAllPackageEntryAccess().getRightCurlyBracketKeyword_2_4()); + } + )? + ) +; + +// Entry rule entryRuleMetamodelElement +entryRuleMetamodelElement returns [EObject current=null]: + { newCompositeNode(grammarAccess.getMetamodelElementRule()); } + iv_ruleMetamodelElement=ruleMetamodelElement + { $current=$iv_ruleMetamodelElement.current; } + EOF; + +// Rule MetamodelElement +ruleMetamodelElement returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + ( + ( + { + if ($current==null) { + $current = createModelElement(grammarAccess.getMetamodelElementRule()); + } + } + { + newCompositeNode(grammarAccess.getMetamodelElementAccess().getPackageEPackageCrossReference_0_0_0()); + } + ruleQualifiedName + { + afterParserOrEnumRuleCall(); + } + ) + ) + otherlv_1='::' + { + newLeafNode(otherlv_1, grammarAccess.getMetamodelElementAccess().getColonColonKeyword_0_1()); + } + )? + ( + ( + { + if ($current==null) { + $current = createModelElement(grammarAccess.getMetamodelElementRule()); + } + } + otherlv_2=RULE_ID + { + newLeafNode(otherlv_2, grammarAccess.getMetamodelElementAccess().getClassifierEClassifierCrossReference_1_0()); + } + ) + ) + ( + otherlv_3='.' + { + newLeafNode(otherlv_3, grammarAccess.getMetamodelElementAccess().getFullStopKeyword_2_0()); + } + ( + ( + { + if ($current==null) { + $current = createModelElement(grammarAccess.getMetamodelElementRule()); + } + } + otherlv_4=RULE_ID + { + newLeafNode(otherlv_4, grammarAccess.getMetamodelElementAccess().getFeatureENamedElementCrossReference_2_1_0()); + } + ) + ) + )? + ) +; + +// Entry rule entryRuleMetamodelDeclaration +entryRuleMetamodelDeclaration returns [EObject current=null]: + { newCompositeNode(grammarAccess.getMetamodelDeclarationRule()); } + iv_ruleMetamodelDeclaration=ruleMetamodelDeclaration + { $current=$iv_ruleMetamodelDeclaration.current; } + EOF; + +// Rule MetamodelDeclaration +ruleMetamodelDeclaration returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0='metamodel' + { + newLeafNode(otherlv_0, grammarAccess.getMetamodelDeclarationAccess().getMetamodelKeyword_0()); + } + ( + ( + lv_name_1_0=RULE_ID + { + newLeafNode(lv_name_1_0, grammarAccess.getMetamodelDeclarationAccess().getNameIDTerminalRuleCall_1_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getMetamodelDeclarationRule()); + } + setWithLastConsumed( + $current, + "name", + lv_name_1_0, + "org.eclipse.xtext.common.Terminals.ID"); + } + ) + ) + ( + ( + { + newCompositeNode(grammarAccess.getMetamodelDeclarationAccess().getSpecificationMetamodelSpecificationParserRuleCall_2_0()); + } + lv_specification_2_0=ruleMetamodelSpecification + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getMetamodelDeclarationRule()); + } + set( + $current, + "specification", + lv_specification_2_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelSpecification"); + afterParserOrEnumRuleCall(); + } + ) + ) + ) +; + +// Entry rule entryRuleMetamodelReference +entryRuleMetamodelReference returns [EObject current=null]: + { newCompositeNode(grammarAccess.getMetamodelReferenceRule()); } + iv_ruleMetamodelReference=ruleMetamodelReference + { $current=$iv_ruleMetamodelReference.current; } + EOF; + +// Rule MetamodelReference +ruleMetamodelReference returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + { + if ($current==null) { + $current = createModelElement(grammarAccess.getMetamodelReferenceRule()); + } + } + otherlv_0=RULE_ID + { + newLeafNode(otherlv_0, grammarAccess.getMetamodelReferenceAccess().getReferredMetamodelDeclarationCrossReference_0()); + } + ) + ) +; + +// Entry rule entryRuleMetamodel +entryRuleMetamodel returns [EObject current=null]: + { newCompositeNode(grammarAccess.getMetamodelRule()); } + iv_ruleMetamodel=ruleMetamodel + { $current=$iv_ruleMetamodel.current; } + EOF; + +// Rule Metamodel +ruleMetamodel returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + { + newCompositeNode(grammarAccess.getMetamodelAccess().getMetamodelReferenceParserRuleCall_0()); + } + this_MetamodelReference_0=ruleMetamodelReference + { + $current = $this_MetamodelReference_0.current; + afterParserOrEnumRuleCall(); + } + | + { + newCompositeNode(grammarAccess.getMetamodelAccess().getMetamodelSpecificationParserRuleCall_1()); + } + this_MetamodelSpecification_1=ruleMetamodelSpecification + { + $current = $this_MetamodelSpecification_1.current; + afterParserOrEnumRuleCall(); + } + ) +; + +// Entry rule entryRulePartialModelSpecification +entryRulePartialModelSpecification returns [EObject current=null]: + { newCompositeNode(grammarAccess.getPartialModelSpecificationRule()); } + iv_rulePartialModelSpecification=rulePartialModelSpecification + { $current=$iv_rulePartialModelSpecification.current; } + EOF; + +// Rule PartialModelSpecification +rulePartialModelSpecification returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0='{' + { + newLeafNode(otherlv_0, grammarAccess.getPartialModelSpecificationAccess().getLeftCurlyBracketKeyword_0()); + } + ( + ( + { + newCompositeNode(grammarAccess.getPartialModelSpecificationAccess().getEntryPartialModelEntryParserRuleCall_1_0()); + } + lv_entry_1_0=rulePartialModelEntry + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getPartialModelSpecificationRule()); + } + add( + $current, + "entry", + lv_entry_1_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PartialModelEntry"); + afterParserOrEnumRuleCall(); + } + ) + ) + ( + otherlv_2=',' + { + newLeafNode(otherlv_2, grammarAccess.getPartialModelSpecificationAccess().getCommaKeyword_2_0()); + } + ( + ( + { + newCompositeNode(grammarAccess.getPartialModelSpecificationAccess().getEntryPartialModelEntryParserRuleCall_2_1_0()); + } + lv_entry_3_0=rulePartialModelEntry + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getPartialModelSpecificationRule()); + } + add( + $current, + "entry", + lv_entry_3_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PartialModelEntry"); + afterParserOrEnumRuleCall(); + } + ) + ) + )? + otherlv_4='}' + { + newLeafNode(otherlv_4, grammarAccess.getPartialModelSpecificationAccess().getRightCurlyBracketKeyword_3()); + } + ) +; + +// Entry rule entryRulePartialModelEntry +entryRulePartialModelEntry returns [EObject current=null]: + { newCompositeNode(grammarAccess.getPartialModelEntryRule()); } + iv_rulePartialModelEntry=rulePartialModelEntry + { $current=$iv_rulePartialModelEntry.current; } + EOF; + +// Rule PartialModelEntry +rulePartialModelEntry returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + { + newCompositeNode(grammarAccess.getPartialModelEntryAccess().getModelEntryParserRuleCall_0()); + } + this_ModelEntry_0=ruleModelEntry + { + $current = $this_ModelEntry_0.current; + afterParserOrEnumRuleCall(); + } + | + { + newCompositeNode(grammarAccess.getPartialModelEntryAccess().getFolderEntryParserRuleCall_1()); + } + this_FolderEntry_1=ruleFolderEntry + { + $current = $this_FolderEntry_1.current; + afterParserOrEnumRuleCall(); + } + ) +; + +// Entry rule entryRuleModelEntry +entryRuleModelEntry returns [EObject current=null]: + { newCompositeNode(grammarAccess.getModelEntryRule()); } + iv_ruleModelEntry=ruleModelEntry + { $current=$iv_ruleModelEntry.current; } + EOF; + +// Rule ModelEntry +ruleModelEntry returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + { + newCompositeNode(grammarAccess.getModelEntryAccess().getPathFileParserRuleCall_0()); + } + lv_path_0_0=ruleFile + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getModelEntryRule()); + } + set( + $current, + "path", + lv_path_0_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File"); + afterParserOrEnumRuleCall(); + } + ) + ) +; + +// Entry rule entryRuleFolderEntry +entryRuleFolderEntry returns [EObject current=null]: + { newCompositeNode(grammarAccess.getFolderEntryRule()); } + iv_ruleFolderEntry=ruleFolderEntry + { $current=$iv_ruleFolderEntry.current; } + EOF; + +// Rule FolderEntry +ruleFolderEntry returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0='folder' + { + newLeafNode(otherlv_0, grammarAccess.getFolderEntryAccess().getFolderKeyword_0()); + } + ( + ( + { + newCompositeNode(grammarAccess.getFolderEntryAccess().getPathFileParserRuleCall_1_0()); + } + lv_path_1_0=ruleFile + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getFolderEntryRule()); + } + set( + $current, + "path", + lv_path_1_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File"); + afterParserOrEnumRuleCall(); + } + ) + ) + ( + otherlv_2='excluding' + { + newLeafNode(otherlv_2, grammarAccess.getFolderEntryAccess().getExcludingKeyword_2_0()); + } + otherlv_3='{' + { + newLeafNode(otherlv_3, grammarAccess.getFolderEntryAccess().getLeftCurlyBracketKeyword_2_1()); + } + ( + ( + { + newCompositeNode(grammarAccess.getFolderEntryAccess().getExclusionModelEntryParserRuleCall_2_2_0()); + } + lv_exclusion_4_0=ruleModelEntry + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getFolderEntryRule()); + } + add( + $current, + "exclusion", + lv_exclusion_4_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ModelEntry"); + afterParserOrEnumRuleCall(); + } + ) + ) + ( + otherlv_5=',' + { + newLeafNode(otherlv_5, grammarAccess.getFolderEntryAccess().getCommaKeyword_2_3_0()); + } + ( + ( + { + newCompositeNode(grammarAccess.getFolderEntryAccess().getExclusionModelEntryParserRuleCall_2_3_1_0()); + } + lv_exclusion_6_0=ruleModelEntry + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getFolderEntryRule()); + } + add( + $current, + "exclusion", + lv_exclusion_6_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ModelEntry"); + afterParserOrEnumRuleCall(); + } + ) + ) + )* + otherlv_7='}' + { + newLeafNode(otherlv_7, grammarAccess.getFolderEntryAccess().getRightCurlyBracketKeyword_2_4()); + } + )? + ) +; + +// Entry rule entryRulePartialModelDeclaration +entryRulePartialModelDeclaration returns [EObject current=null]: + { newCompositeNode(grammarAccess.getPartialModelDeclarationRule()); } + iv_rulePartialModelDeclaration=rulePartialModelDeclaration + { $current=$iv_rulePartialModelDeclaration.current; } + EOF; + +// Rule PartialModelDeclaration +rulePartialModelDeclaration returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0='models' + { + newLeafNode(otherlv_0, grammarAccess.getPartialModelDeclarationAccess().getModelsKeyword_0()); + } + ( + ( + lv_name_1_0=RULE_ID + { + newLeafNode(lv_name_1_0, grammarAccess.getPartialModelDeclarationAccess().getNameIDTerminalRuleCall_1_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getPartialModelDeclarationRule()); + } + setWithLastConsumed( + $current, + "name", + lv_name_1_0, + "org.eclipse.xtext.common.Terminals.ID"); + } + ) + ) + ( + ( + { + newCompositeNode(grammarAccess.getPartialModelDeclarationAccess().getSpecificationPartialModelSpecificationParserRuleCall_2_0()); + } + lv_specification_2_0=rulePartialModelSpecification + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getPartialModelDeclarationRule()); + } + set( + $current, + "specification", + lv_specification_2_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PartialModelSpecification"); + afterParserOrEnumRuleCall(); + } + ) + ) + ) +; + +// Entry rule entryRulePartialModelReference +entryRulePartialModelReference returns [EObject current=null]: + { newCompositeNode(grammarAccess.getPartialModelReferenceRule()); } + iv_rulePartialModelReference=rulePartialModelReference + { $current=$iv_rulePartialModelReference.current; } + EOF; + +// Rule PartialModelReference +rulePartialModelReference returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + { + if ($current==null) { + $current = createModelElement(grammarAccess.getPartialModelReferenceRule()); + } + } + otherlv_0=RULE_ID + { + newLeafNode(otherlv_0, grammarAccess.getPartialModelReferenceAccess().getReferredPartialModelDeclarationCrossReference_0()); + } + ) + ) +; + +// Entry rule entryRulePartialModel +entryRulePartialModel returns [EObject current=null]: + { newCompositeNode(grammarAccess.getPartialModelRule()); } + iv_rulePartialModel=rulePartialModel + { $current=$iv_rulePartialModel.current; } + EOF; + +// Rule PartialModel +rulePartialModel returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + { + newCompositeNode(grammarAccess.getPartialModelAccess().getPartialModelSpecificationParserRuleCall_0()); + } + this_PartialModelSpecification_0=rulePartialModelSpecification + { + $current = $this_PartialModelSpecification_0.current; + afterParserOrEnumRuleCall(); + } + | + { + newCompositeNode(grammarAccess.getPartialModelAccess().getPartialModelReferenceParserRuleCall_1()); + } + this_PartialModelReference_1=rulePartialModelReference + { + $current = $this_PartialModelReference_1.current; + afterParserOrEnumRuleCall(); + } + ) +; + +// Entry rule entryRulePatternSpecification +entryRulePatternSpecification returns [EObject current=null]: + { newCompositeNode(grammarAccess.getPatternSpecificationRule()); } + iv_rulePatternSpecification=rulePatternSpecification + { $current=$iv_rulePatternSpecification.current; } + EOF; + +// Rule PatternSpecification +rulePatternSpecification returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0='{' + { + newLeafNode(otherlv_0, grammarAccess.getPatternSpecificationAccess().getLeftCurlyBracketKeyword_0()); + } + ( + ( + { + newCompositeNode(grammarAccess.getPatternSpecificationAccess().getEntriesPatternEntryParserRuleCall_1_0()); + } + lv_entries_1_0=rulePatternEntry + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getPatternSpecificationRule()); + } + add( + $current, + "entries", + lv_entries_1_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternEntry"); + afterParserOrEnumRuleCall(); + } + ) + ) + ( + otherlv_2=',' + { + newLeafNode(otherlv_2, grammarAccess.getPatternSpecificationAccess().getCommaKeyword_2_0()); + } + ( + ( + { + newCompositeNode(grammarAccess.getPatternSpecificationAccess().getEntriesPatternEntryParserRuleCall_2_1_0()); + } + lv_entries_3_0=rulePatternEntry + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getPatternSpecificationRule()); + } + add( + $current, + "entries", + lv_entries_3_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternEntry"); + afterParserOrEnumRuleCall(); + } + ) + ) + )* + otherlv_4='}' + { + newLeafNode(otherlv_4, grammarAccess.getPatternSpecificationAccess().getRightCurlyBracketKeyword_3()); + } + ) +; + +// Entry rule entryRulePatternEntry +entryRulePatternEntry returns [EObject current=null]: + { newCompositeNode(grammarAccess.getPatternEntryRule()); } + iv_rulePatternEntry=rulePatternEntry + { $current=$iv_rulePatternEntry.current; } + EOF; + +// Rule PatternEntry +rulePatternEntry returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + { + newCompositeNode(grammarAccess.getPatternEntryAccess().getPatternElementParserRuleCall_0()); + } + this_PatternElement_0=rulePatternElement + { + $current = $this_PatternElement_0.current; + afterParserOrEnumRuleCall(); + } + | + { + newCompositeNode(grammarAccess.getPatternEntryAccess().getAllPatternEntryParserRuleCall_1()); + } + this_AllPatternEntry_1=ruleAllPatternEntry + { + $current = $this_AllPatternEntry_1.current; + afterParserOrEnumRuleCall(); + } + ) +; + +// Entry rule entryRuleAllPatternEntry +entryRuleAllPatternEntry returns [EObject current=null]: + { newCompositeNode(grammarAccess.getAllPatternEntryRule()); } + iv_ruleAllPatternEntry=ruleAllPatternEntry + { $current=$iv_ruleAllPatternEntry.current; } + EOF; + +// Rule AllPatternEntry +ruleAllPatternEntry returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0='package' + { + newLeafNode(otherlv_0, grammarAccess.getAllPatternEntryAccess().getPackageKeyword_0()); + } + ( + ( + { + if ($current==null) { + $current = createModelElement(grammarAccess.getAllPatternEntryRule()); + } + } + { + newCompositeNode(grammarAccess.getAllPatternEntryAccess().getPackagePatternModelCrossReference_1_0()); + } + ruleQualifiedName + { + afterParserOrEnumRuleCall(); + } + ) + ) + ( + otherlv_2='excluding' + { + newLeafNode(otherlv_2, grammarAccess.getAllPatternEntryAccess().getExcludingKeyword_2_0()); + } + otherlv_3='{' + { + newLeafNode(otherlv_3, grammarAccess.getAllPatternEntryAccess().getLeftCurlyBracketKeyword_2_1()); + } + ( + ( + { + newCompositeNode(grammarAccess.getAllPatternEntryAccess().getExclusuionPatternElementParserRuleCall_2_2_0()); + } + lv_exclusuion_4_0=rulePatternElement + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getAllPatternEntryRule()); + } + add( + $current, + "exclusuion", + lv_exclusuion_4_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternElement"); + afterParserOrEnumRuleCall(); + } + ) + ) + ( + otherlv_5=',' + { + newLeafNode(otherlv_5, grammarAccess.getAllPatternEntryAccess().getCommaKeyword_2_3_0()); + } + ( + ( + { + newCompositeNode(grammarAccess.getAllPatternEntryAccess().getExclusuionPatternElementParserRuleCall_2_3_1_0()); + } + lv_exclusuion_6_0=rulePatternElement + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getAllPatternEntryRule()); + } + add( + $current, + "exclusuion", + lv_exclusuion_6_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternElement"); + afterParserOrEnumRuleCall(); + } + ) + ) + )* + otherlv_7='}' + { + newLeafNode(otherlv_7, grammarAccess.getAllPatternEntryAccess().getRightCurlyBracketKeyword_2_4()); + } + )? + ) +; + +// Entry rule entryRulePatternElement +entryRulePatternElement returns [EObject current=null]: + { newCompositeNode(grammarAccess.getPatternElementRule()); } + iv_rulePatternElement=rulePatternElement + { $current=$iv_rulePatternElement.current; } + EOF; + +// Rule PatternElement +rulePatternElement returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + ( + ( + { + if ($current==null) { + $current = createModelElement(grammarAccess.getPatternElementRule()); + } + } + { + newCompositeNode(grammarAccess.getPatternElementAccess().getPackagePatternModelCrossReference_0_0_0()); + } + ruleQualifiedName + { + afterParserOrEnumRuleCall(); + } + ) + ) + otherlv_1='::' + { + newLeafNode(otherlv_1, grammarAccess.getPatternElementAccess().getColonColonKeyword_0_1()); + } + )? + ( + ( + { + if ($current==null) { + $current = createModelElement(grammarAccess.getPatternElementRule()); + } + } + otherlv_2=RULE_ID + { + newLeafNode(otherlv_2, grammarAccess.getPatternElementAccess().getPatternPatternCrossReference_1_0()); + } + ) + ) + ) +; + +// Entry rule entryRuleGraphPatternDeclaration +entryRuleGraphPatternDeclaration returns [EObject current=null]: + { newCompositeNode(grammarAccess.getGraphPatternDeclarationRule()); } + iv_ruleGraphPatternDeclaration=ruleGraphPatternDeclaration + { $current=$iv_ruleGraphPatternDeclaration.current; } + EOF; + +// Rule GraphPatternDeclaration +ruleGraphPatternDeclaration returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0='constraints' + { + newLeafNode(otherlv_0, grammarAccess.getGraphPatternDeclarationAccess().getConstraintsKeyword_0()); + } + ( + ( + lv_name_1_0=RULE_ID + { + newLeafNode(lv_name_1_0, grammarAccess.getGraphPatternDeclarationAccess().getNameIDTerminalRuleCall_1_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getGraphPatternDeclarationRule()); + } + setWithLastConsumed( + $current, + "name", + lv_name_1_0, + "org.eclipse.xtext.common.Terminals.ID"); + } + ) + ) + ( + ( + { + newCompositeNode(grammarAccess.getGraphPatternDeclarationAccess().getSpecificationPatternSpecificationParserRuleCall_2_0()); + } + lv_specification_2_0=rulePatternSpecification + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getGraphPatternDeclarationRule()); + } + set( + $current, + "specification", + lv_specification_2_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternSpecification"); + afterParserOrEnumRuleCall(); + } + ) + ) + ) +; + +// Entry rule entryRuleGraphPatternReference +entryRuleGraphPatternReference returns [EObject current=null]: + { newCompositeNode(grammarAccess.getGraphPatternReferenceRule()); } + iv_ruleGraphPatternReference=ruleGraphPatternReference + { $current=$iv_ruleGraphPatternReference.current; } + EOF; + +// Rule GraphPatternReference +ruleGraphPatternReference returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + { + if ($current==null) { + $current = createModelElement(grammarAccess.getGraphPatternReferenceRule()); + } + } + otherlv_0=RULE_ID + { + newLeafNode(otherlv_0, grammarAccess.getGraphPatternReferenceAccess().getReferredGraphPatternDeclarationCrossReference_0()); + } + ) + ) +; + +// Entry rule entryRuleGraphPattern +entryRuleGraphPattern returns [EObject current=null]: + { newCompositeNode(grammarAccess.getGraphPatternRule()); } + iv_ruleGraphPattern=ruleGraphPattern + { $current=$iv_ruleGraphPattern.current; } + EOF; + +// Rule GraphPattern +ruleGraphPattern returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + { + newCompositeNode(grammarAccess.getGraphPatternAccess().getGraphPatternReferenceParserRuleCall_0()); + } + this_GraphPatternReference_0=ruleGraphPatternReference + { + $current = $this_GraphPatternReference_0.current; + afterParserOrEnumRuleCall(); + } + | + { + newCompositeNode(grammarAccess.getGraphPatternAccess().getPatternSpecificationParserRuleCall_1()); + } + this_PatternSpecification_1=rulePatternSpecification + { + $current = $this_PatternSpecification_1.current; + afterParserOrEnumRuleCall(); + } + ) +; + +// Entry rule entryRuleObjectiveSpecification +entryRuleObjectiveSpecification returns [EObject current=null]: + { newCompositeNode(grammarAccess.getObjectiveSpecificationRule()); } + iv_ruleObjectiveSpecification=ruleObjectiveSpecification + { $current=$iv_ruleObjectiveSpecification.current; } + EOF; + +// Rule ObjectiveSpecification +ruleObjectiveSpecification returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0='{' + { + newLeafNode(otherlv_0, grammarAccess.getObjectiveSpecificationAccess().getLeftCurlyBracketKeyword_0()); + } + ( + ( + { + newCompositeNode(grammarAccess.getObjectiveSpecificationAccess().getEntriesObjectiveEntryParserRuleCall_1_0()); + } + lv_entries_1_0=ruleObjectiveEntry + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getObjectiveSpecificationRule()); + } + add( + $current, + "entries", + lv_entries_1_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ObjectiveEntry"); + afterParserOrEnumRuleCall(); + } + ) + ) + ( + otherlv_2=',' + { + newLeafNode(otherlv_2, grammarAccess.getObjectiveSpecificationAccess().getCommaKeyword_2_0()); + } + ( + ( + { + newCompositeNode(grammarAccess.getObjectiveSpecificationAccess().getEntriesObjectiveEntryParserRuleCall_2_1_0()); + } + lv_entries_3_0=ruleObjectiveEntry + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getObjectiveSpecificationRule()); + } + add( + $current, + "entries", + lv_entries_3_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ObjectiveEntry"); + afterParserOrEnumRuleCall(); + } + ) + ) + )* + otherlv_4='}' + { + newLeafNode(otherlv_4, grammarAccess.getObjectiveSpecificationAccess().getRightCurlyBracketKeyword_3()); + } + ) +; + +// Entry rule entryRuleObjectiveEntry +entryRuleObjectiveEntry returns [EObject current=null]: + { newCompositeNode(grammarAccess.getObjectiveEntryRule()); } + iv_ruleObjectiveEntry=ruleObjectiveEntry + { $current=$iv_ruleObjectiveEntry.current; } + EOF; + +// Rule ObjectiveEntry +ruleObjectiveEntry returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + { + newCompositeNode(grammarAccess.getObjectiveEntryAccess().getOptimizationEntryParserRuleCall_0()); + } + this_OptimizationEntry_0=ruleOptimizationEntry + { + $current = $this_OptimizationEntry_0.current; + afterParserOrEnumRuleCall(); + } + | + { + newCompositeNode(grammarAccess.getObjectiveEntryAccess().getThresholdEntryParserRuleCall_1()); + } + this_ThresholdEntry_1=ruleThresholdEntry + { + $current = $this_ThresholdEntry_1.current; + afterParserOrEnumRuleCall(); + } + ) +; + +// Entry rule entryRuleOptimizationEntry +entryRuleOptimizationEntry returns [EObject current=null]: + { newCompositeNode(grammarAccess.getOptimizationEntryRule()); } + iv_ruleOptimizationEntry=ruleOptimizationEntry + { $current=$iv_ruleOptimizationEntry.current; } + EOF; + +// Rule OptimizationEntry +ruleOptimizationEntry returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + ( + { + newCompositeNode(grammarAccess.getOptimizationEntryAccess().getDirectionOptimizationDirectionEnumRuleCall_0_0()); + } + lv_direction_0_0=ruleOptimizationDirection + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getOptimizationEntryRule()); + } + set( + $current, + "direction", + lv_direction_0_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.OptimizationDirection"); + afterParserOrEnumRuleCall(); + } + ) + ) + ( + ( + { + newCompositeNode(grammarAccess.getOptimizationEntryAccess().getFunctionObjectiveFunctionParserRuleCall_1_0()); + } + lv_function_1_0=ruleObjectiveFunction + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getOptimizationEntryRule()); + } + set( + $current, + "function", + lv_function_1_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ObjectiveFunction"); + afterParserOrEnumRuleCall(); + } + ) + ) + ) +; + +// Entry rule entryRuleThresholdEntry +entryRuleThresholdEntry returns [EObject current=null]: + { newCompositeNode(grammarAccess.getThresholdEntryRule()); } + iv_ruleThresholdEntry=ruleThresholdEntry + { $current=$iv_ruleThresholdEntry.current; } + EOF; + +// Rule ThresholdEntry +ruleThresholdEntry returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + ( + { + newCompositeNode(grammarAccess.getThresholdEntryAccess().getFunctionObjectiveFunctionParserRuleCall_0_0()); + } + lv_function_0_0=ruleObjectiveFunction + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getThresholdEntryRule()); + } + set( + $current, + "function", + lv_function_0_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ObjectiveFunction"); + afterParserOrEnumRuleCall(); + } + ) + ) + ( + ( + { + newCompositeNode(grammarAccess.getThresholdEntryAccess().getOperatorComparisonOperatorEnumRuleCall_1_0()); + } + lv_operator_1_0=ruleComparisonOperator + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getThresholdEntryRule()); + } + set( + $current, + "operator", + lv_operator_1_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ComparisonOperator"); + afterParserOrEnumRuleCall(); + } + ) + ) + ( + ( + { + newCompositeNode(grammarAccess.getThresholdEntryAccess().getThresholdREALLiteralParserRuleCall_2_0()); + } + lv_threshold_2_0=ruleREALLiteral + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getThresholdEntryRule()); + } + set( + $current, + "threshold", + lv_threshold_2_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.REALLiteral"); + afterParserOrEnumRuleCall(); + } + ) + ) + ) +; + +// Entry rule entryRuleObjectiveFunction +entryRuleObjectiveFunction returns [EObject current=null]: + { newCompositeNode(grammarAccess.getObjectiveFunctionRule()); } + iv_ruleObjectiveFunction=ruleObjectiveFunction + { $current=$iv_ruleObjectiveFunction.current; } + EOF; + +// Rule ObjectiveFunction +ruleObjectiveFunction returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + { + newCompositeNode(grammarAccess.getObjectiveFunctionAccess().getReliabiltiyFunctionParserRuleCall()); + } + this_ReliabiltiyFunction_0=ruleReliabiltiyFunction + { + $current = $this_ReliabiltiyFunction_0.current; + afterParserOrEnumRuleCall(); + } +; + +// Entry rule entryRuleReliabiltiyFunction +entryRuleReliabiltiyFunction returns [EObject current=null]: + { newCompositeNode(grammarAccess.getReliabiltiyFunctionRule()); } + iv_ruleReliabiltiyFunction=ruleReliabiltiyFunction + { $current=$iv_ruleReliabiltiyFunction.current; } + EOF; + +// Rule ReliabiltiyFunction +ruleReliabiltiyFunction returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0='reliability' + { + newLeafNode(otherlv_0, grammarAccess.getReliabiltiyFunctionAccess().getReliabilityKeyword_0()); + } + ( + ( + ( + { + if ($current==null) { + $current = createModelElement(grammarAccess.getReliabiltiyFunctionRule()); + } + } + { + newCompositeNode(grammarAccess.getReliabiltiyFunctionAccess().getPackageCftModelCrossReference_1_0_0()); + } + ruleQualifiedName + { + afterParserOrEnumRuleCall(); + } + ) + ) + otherlv_2='::' + { + newLeafNode(otherlv_2, grammarAccess.getReliabiltiyFunctionAccess().getColonColonKeyword_1_1()); + } + )? + ( + ( + { + if ($current==null) { + $current = createModelElement(grammarAccess.getReliabiltiyFunctionRule()); + } + } + otherlv_3=RULE_ID + { + newLeafNode(otherlv_3, grammarAccess.getReliabiltiyFunctionAccess().getTransformationTransformationDefinitionCrossReference_2_0()); + } + ) + ) + ) +; + +// Entry rule entryRuleObjectiveDeclaration +entryRuleObjectiveDeclaration returns [EObject current=null]: + { newCompositeNode(grammarAccess.getObjectiveDeclarationRule()); } + iv_ruleObjectiveDeclaration=ruleObjectiveDeclaration + { $current=$iv_ruleObjectiveDeclaration.current; } + EOF; + +// Rule ObjectiveDeclaration +ruleObjectiveDeclaration returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0='objectives' + { + newLeafNode(otherlv_0, grammarAccess.getObjectiveDeclarationAccess().getObjectivesKeyword_0()); + } + ( + ( + lv_name_1_0=RULE_ID + { + newLeafNode(lv_name_1_0, grammarAccess.getObjectiveDeclarationAccess().getNameIDTerminalRuleCall_1_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getObjectiveDeclarationRule()); + } + setWithLastConsumed( + $current, + "name", + lv_name_1_0, + "org.eclipse.xtext.common.Terminals.ID"); + } + ) + ) + ( + ( + { + newCompositeNode(grammarAccess.getObjectiveDeclarationAccess().getSpecificationObjectiveSpecificationParserRuleCall_2_0()); + } + lv_specification_2_0=ruleObjectiveSpecification + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getObjectiveDeclarationRule()); + } + set( + $current, + "specification", + lv_specification_2_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ObjectiveSpecification"); + afterParserOrEnumRuleCall(); + } + ) + ) + ) +; + +// Entry rule entryRuleObjectiveReference +entryRuleObjectiveReference returns [EObject current=null]: + { newCompositeNode(grammarAccess.getObjectiveReferenceRule()); } + iv_ruleObjectiveReference=ruleObjectiveReference + { $current=$iv_ruleObjectiveReference.current; } + EOF; + +// Rule ObjectiveReference +ruleObjectiveReference returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + { + if ($current==null) { + $current = createModelElement(grammarAccess.getObjectiveReferenceRule()); + } + } + otherlv_0=RULE_ID + { + newLeafNode(otherlv_0, grammarAccess.getObjectiveReferenceAccess().getReferredObjectiveDeclarationCrossReference_0()); + } + ) + ) +; + +// Entry rule entryRuleObjective +entryRuleObjective returns [EObject current=null]: + { newCompositeNode(grammarAccess.getObjectiveRule()); } + iv_ruleObjective=ruleObjective + { $current=$iv_ruleObjective.current; } + EOF; + +// Rule Objective +ruleObjective returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + { + newCompositeNode(grammarAccess.getObjectiveAccess().getObjectiveReferenceParserRuleCall_0()); + } + this_ObjectiveReference_0=ruleObjectiveReference + { + $current = $this_ObjectiveReference_0.current; + afterParserOrEnumRuleCall(); + } + | + { + newCompositeNode(grammarAccess.getObjectiveAccess().getObjectiveSpecificationParserRuleCall_1()); + } + this_ObjectiveSpecification_1=ruleObjectiveSpecification + { + $current = $this_ObjectiveSpecification_1.current; + afterParserOrEnumRuleCall(); + } + ) +; + +// Entry rule entryRuleConfigSpecification +entryRuleConfigSpecification returns [EObject current=null]: + { newCompositeNode(grammarAccess.getConfigSpecificationRule()); } + iv_ruleConfigSpecification=ruleConfigSpecification + { $current=$iv_ruleConfigSpecification.current; } + EOF; + +// Rule ConfigSpecification +ruleConfigSpecification returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + { + $current = forceCreateModelElement( + grammarAccess.getConfigSpecificationAccess().getConfigSpecificationAction_0(), + $current); + } + ) + otherlv_1='{' + { + newLeafNode(otherlv_1, grammarAccess.getConfigSpecificationAccess().getLeftCurlyBracketKeyword_1()); + } + ( + ( + ( + { + newCompositeNode(grammarAccess.getConfigSpecificationAccess().getEntriesConfigEntryParserRuleCall_2_0_0()); + } + lv_entries_2_0=ruleConfigEntry + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getConfigSpecificationRule()); + } + add( + $current, + "entries", + lv_entries_2_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ConfigEntry"); + afterParserOrEnumRuleCall(); + } + ) + ) + ( + otherlv_3=',' + { + newLeafNode(otherlv_3, grammarAccess.getConfigSpecificationAccess().getCommaKeyword_2_1_0()); + } + ( + ( + { + newCompositeNode(grammarAccess.getConfigSpecificationAccess().getEntriesConfigEntryParserRuleCall_2_1_1_0()); + } + lv_entries_4_0=ruleConfigEntry + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getConfigSpecificationRule()); + } + add( + $current, + "entries", + lv_entries_4_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ConfigEntry"); + afterParserOrEnumRuleCall(); + } + ) + ) + )* + )? + otherlv_5='}' + { + newLeafNode(otherlv_5, grammarAccess.getConfigSpecificationAccess().getRightCurlyBracketKeyword_3()); + } + ) +; + +// Entry rule entryRuleConfigDeclaration +entryRuleConfigDeclaration returns [EObject current=null]: + { newCompositeNode(grammarAccess.getConfigDeclarationRule()); } + iv_ruleConfigDeclaration=ruleConfigDeclaration + { $current=$iv_ruleConfigDeclaration.current; } + EOF; + +// Rule ConfigDeclaration +ruleConfigDeclaration returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0='config' + { + newLeafNode(otherlv_0, grammarAccess.getConfigDeclarationAccess().getConfigKeyword_0()); + } + ( + ( + lv_name_1_0=RULE_ID + { + newLeafNode(lv_name_1_0, grammarAccess.getConfigDeclarationAccess().getNameIDTerminalRuleCall_1_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getConfigDeclarationRule()); + } + setWithLastConsumed( + $current, + "name", + lv_name_1_0, + "org.eclipse.xtext.common.Terminals.ID"); + } + ) + ) + ( + ( + { + newCompositeNode(grammarAccess.getConfigDeclarationAccess().getSpecificationConfigSpecificationParserRuleCall_2_0()); + } + lv_specification_2_0=ruleConfigSpecification + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getConfigDeclarationRule()); + } + set( + $current, + "specification", + lv_specification_2_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ConfigSpecification"); + afterParserOrEnumRuleCall(); + } + ) + ) + ) +; + +// Entry rule entryRuleConfigEntry +entryRuleConfigEntry returns [EObject current=null]: + { newCompositeNode(grammarAccess.getConfigEntryRule()); } + iv_ruleConfigEntry=ruleConfigEntry + { $current=$iv_ruleConfigEntry.current; } + EOF; + +// Rule ConfigEntry +ruleConfigEntry returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + { + newCompositeNode(grammarAccess.getConfigEntryAccess().getDocumentationEntryParserRuleCall_0()); + } + this_DocumentationEntry_0=ruleDocumentationEntry + { + $current = $this_DocumentationEntry_0.current; + afterParserOrEnumRuleCall(); + } + | + { + newCompositeNode(grammarAccess.getConfigEntryAccess().getRuntimeEntryParserRuleCall_1()); + } + this_RuntimeEntry_1=ruleRuntimeEntry + { + $current = $this_RuntimeEntry_1.current; + afterParserOrEnumRuleCall(); + } + | + { + newCompositeNode(grammarAccess.getConfigEntryAccess().getMemoryEntryParserRuleCall_2()); + } + this_MemoryEntry_2=ruleMemoryEntry + { + $current = $this_MemoryEntry_2.current; + afterParserOrEnumRuleCall(); + } + | + { + newCompositeNode(grammarAccess.getConfigEntryAccess().getCustomEntryParserRuleCall_3()); + } + this_CustomEntry_3=ruleCustomEntry + { + $current = $this_CustomEntry_3.current; + afterParserOrEnumRuleCall(); + } + ) +; + +// Entry rule entryRuleDocumentationEntry +entryRuleDocumentationEntry returns [EObject current=null]: + { newCompositeNode(grammarAccess.getDocumentationEntryRule()); } + iv_ruleDocumentationEntry=ruleDocumentationEntry + { $current=$iv_ruleDocumentationEntry.current; } + EOF; + +// Rule DocumentationEntry +ruleDocumentationEntry returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0='log-level' + { + newLeafNode(otherlv_0, grammarAccess.getDocumentationEntryAccess().getLogLevelKeyword_0()); + } + otherlv_1='=' + { + newLeafNode(otherlv_1, grammarAccess.getDocumentationEntryAccess().getEqualsSignKeyword_1()); + } + ( + ( + { + newCompositeNode(grammarAccess.getDocumentationEntryAccess().getLevelDocumentLevelSpecificationEnumRuleCall_2_0()); + } + lv_level_2_0=ruleDocumentLevelSpecification + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getDocumentationEntryRule()); + } + set( + $current, + "level", + lv_level_2_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.DocumentLevelSpecification"); + afterParserOrEnumRuleCall(); + } + ) + ) + ) +; + +// Entry rule entryRuleRuntimeEntry +entryRuleRuntimeEntry returns [EObject current=null]: + { newCompositeNode(grammarAccess.getRuntimeEntryRule()); } + iv_ruleRuntimeEntry=ruleRuntimeEntry + { $current=$iv_ruleRuntimeEntry.current; } + EOF; + +// Rule RuntimeEntry +ruleRuntimeEntry returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0='runtime' + { + newLeafNode(otherlv_0, grammarAccess.getRuntimeEntryAccess().getRuntimeKeyword_0()); + } + otherlv_1='=' + { + newLeafNode(otherlv_1, grammarAccess.getRuntimeEntryAccess().getEqualsSignKeyword_1()); + } + ( + ( + lv_millisecLimit_2_0=RULE_INT + { + newLeafNode(lv_millisecLimit_2_0, grammarAccess.getRuntimeEntryAccess().getMillisecLimitINTTerminalRuleCall_2_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getRuntimeEntryRule()); + } + setWithLastConsumed( + $current, + "millisecLimit", + lv_millisecLimit_2_0, + "org.eclipse.xtext.common.Terminals.INT"); + } + ) + ) + ) +; + +// Entry rule entryRuleMemoryEntry +entryRuleMemoryEntry returns [EObject current=null]: + { newCompositeNode(grammarAccess.getMemoryEntryRule()); } + iv_ruleMemoryEntry=ruleMemoryEntry + { $current=$iv_ruleMemoryEntry.current; } + EOF; + +// Rule MemoryEntry +ruleMemoryEntry returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0='memory' + { + newLeafNode(otherlv_0, grammarAccess.getMemoryEntryAccess().getMemoryKeyword_0()); + } + otherlv_1='=' + { + newLeafNode(otherlv_1, grammarAccess.getMemoryEntryAccess().getEqualsSignKeyword_1()); + } + ( + ( + lv_megabyteLimit_2_0=RULE_INT + { + newLeafNode(lv_megabyteLimit_2_0, grammarAccess.getMemoryEntryAccess().getMegabyteLimitINTTerminalRuleCall_2_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getMemoryEntryRule()); + } + setWithLastConsumed( + $current, + "megabyteLimit", + lv_megabyteLimit_2_0, + "org.eclipse.xtext.common.Terminals.INT"); + } + ) + ) + ) +; + +// Entry rule entryRuleCustomEntry +entryRuleCustomEntry returns [EObject current=null]: + { newCompositeNode(grammarAccess.getCustomEntryRule()); } + iv_ruleCustomEntry=ruleCustomEntry + { $current=$iv_ruleCustomEntry.current; } + EOF; + +// Rule CustomEntry +ruleCustomEntry returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + ( + lv_key_0_0=RULE_STRING + { + newLeafNode(lv_key_0_0, grammarAccess.getCustomEntryAccess().getKeySTRINGTerminalRuleCall_0_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getCustomEntryRule()); + } + setWithLastConsumed( + $current, + "key", + lv_key_0_0, + "org.eclipse.xtext.common.Terminals.STRING"); + } + ) + ) + otherlv_1='=' + { + newLeafNode(otherlv_1, grammarAccess.getCustomEntryAccess().getEqualsSignKeyword_1()); + } + ( + ( + lv_value_2_0=RULE_STRING + { + newLeafNode(lv_value_2_0, grammarAccess.getCustomEntryAccess().getValueSTRINGTerminalRuleCall_2_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getCustomEntryRule()); + } + setWithLastConsumed( + $current, + "value", + lv_value_2_0, + "org.eclipse.xtext.common.Terminals.STRING"); + } + ) + ) + ) +; + +// Entry rule entryRuleConfigReference +entryRuleConfigReference returns [EObject current=null]: + { newCompositeNode(grammarAccess.getConfigReferenceRule()); } + iv_ruleConfigReference=ruleConfigReference + { $current=$iv_ruleConfigReference.current; } + EOF; + +// Rule ConfigReference +ruleConfigReference returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + { + if ($current==null) { + $current = createModelElement(grammarAccess.getConfigReferenceRule()); + } + } + otherlv_0=RULE_ID + { + newLeafNode(otherlv_0, grammarAccess.getConfigReferenceAccess().getConfigConfigDeclarationCrossReference_0()); + } + ) + ) +; + +// Entry rule entryRuleConfig +entryRuleConfig returns [EObject current=null]: + { newCompositeNode(grammarAccess.getConfigRule()); } + iv_ruleConfig=ruleConfig + { $current=$iv_ruleConfig.current; } + EOF; + +// Rule Config +ruleConfig returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + { + newCompositeNode(grammarAccess.getConfigAccess().getConfigSpecificationParserRuleCall_0()); + } + this_ConfigSpecification_0=ruleConfigSpecification + { + $current = $this_ConfigSpecification_0.current; + afterParserOrEnumRuleCall(); + } + | + { + newCompositeNode(grammarAccess.getConfigAccess().getConfigReferenceParserRuleCall_1()); + } + this_ConfigReference_1=ruleConfigReference + { + $current = $this_ConfigReference_1.current; + afterParserOrEnumRuleCall(); + } + ) +; + +// Entry rule entryRuleScopeSpecification +entryRuleScopeSpecification returns [EObject current=null]: + { newCompositeNode(grammarAccess.getScopeSpecificationRule()); } + iv_ruleScopeSpecification=ruleScopeSpecification + { $current=$iv_ruleScopeSpecification.current; } + EOF; + +// Rule ScopeSpecification +ruleScopeSpecification returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + { + $current = forceCreateModelElement( + grammarAccess.getScopeSpecificationAccess().getScopeSpecificationAction_0(), + $current); + } + ) + otherlv_1='{' + { + newLeafNode(otherlv_1, grammarAccess.getScopeSpecificationAccess().getLeftCurlyBracketKeyword_1()); + } + ( + ( + ( + { + newCompositeNode(grammarAccess.getScopeSpecificationAccess().getScopesTypeScopeParserRuleCall_2_0_0()); + } + lv_scopes_2_0=ruleTypeScope + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getScopeSpecificationRule()); + } + add( + $current, + "scopes", + lv_scopes_2_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.TypeScope"); + afterParserOrEnumRuleCall(); + } + ) + ) + ( + otherlv_3=',' + { + newLeafNode(otherlv_3, grammarAccess.getScopeSpecificationAccess().getCommaKeyword_2_1_0()); + } + ( + ( + { + newCompositeNode(grammarAccess.getScopeSpecificationAccess().getScopesTypeScopeParserRuleCall_2_1_1_0()); + } + lv_scopes_4_0=ruleTypeScope + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getScopeSpecificationRule()); + } + add( + $current, + "scopes", + lv_scopes_4_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.TypeScope"); + afterParserOrEnumRuleCall(); + } + ) + ) + )* + )? + otherlv_5='}' + { + newLeafNode(otherlv_5, grammarAccess.getScopeSpecificationAccess().getRightCurlyBracketKeyword_3()); + } + ) +; + +// Entry rule entryRuleTypeScope +entryRuleTypeScope returns [EObject current=null]: + { newCompositeNode(grammarAccess.getTypeScopeRule()); } + iv_ruleTypeScope=ruleTypeScope + { $current=$iv_ruleTypeScope.current; } + EOF; + +// Rule TypeScope +ruleTypeScope returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + { + newCompositeNode(grammarAccess.getTypeScopeAccess().getClassTypeScopeParserRuleCall_0()); + } + this_ClassTypeScope_0=ruleClassTypeScope + { + $current = $this_ClassTypeScope_0.current; + afterParserOrEnumRuleCall(); + } + | + { + newCompositeNode(grammarAccess.getTypeScopeAccess().getObjectTypeScopeParserRuleCall_1()); + } + this_ObjectTypeScope_1=ruleObjectTypeScope + { + $current = $this_ObjectTypeScope_1.current; + afterParserOrEnumRuleCall(); + } + | + { + newCompositeNode(grammarAccess.getTypeScopeAccess().getIntegerTypeScopeParserRuleCall_2()); + } + this_IntegerTypeScope_2=ruleIntegerTypeScope + { + $current = $this_IntegerTypeScope_2.current; + afterParserOrEnumRuleCall(); + } + | + { + newCompositeNode(grammarAccess.getTypeScopeAccess().getRealTypeScopeParserRuleCall_3()); + } + this_RealTypeScope_3=ruleRealTypeScope + { + $current = $this_RealTypeScope_3.current; + afterParserOrEnumRuleCall(); + } + | + { + newCompositeNode(grammarAccess.getTypeScopeAccess().getStringTypeScopeParserRuleCall_4()); + } + this_StringTypeScope_4=ruleStringTypeScope + { + $current = $this_StringTypeScope_4.current; + afterParserOrEnumRuleCall(); + } + ) +; + +// Entry rule entryRuleClassTypeScope +entryRuleClassTypeScope returns [EObject current=null]: + { newCompositeNode(grammarAccess.getClassTypeScopeRule()); } + iv_ruleClassTypeScope=ruleClassTypeScope + { $current=$iv_ruleClassTypeScope.current; } + EOF; + +// Rule ClassTypeScope +ruleClassTypeScope returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0='#' + { + newLeafNode(otherlv_0, grammarAccess.getClassTypeScopeAccess().getNumberSignKeyword_0()); + } + ( + ( + { + newCompositeNode(grammarAccess.getClassTypeScopeAccess().getTypeClassReferenceParserRuleCall_1_0()); + } + lv_type_1_0=ruleClassReference + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getClassTypeScopeRule()); + } + set( + $current, + "type", + lv_type_1_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ClassReference"); + afterParserOrEnumRuleCall(); + } + ) + ) + ( + ( + ( + lv_setsNew_2_0='+=' + { + newLeafNode(lv_setsNew_2_0, grammarAccess.getClassTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getClassTypeScopeRule()); + } + setWithLastConsumed($current, "setsNew", true, "+="); + } + ) + ) + | + ( + ( + lv_setsSum_3_0='=' + { + newLeafNode(lv_setsSum_3_0, grammarAccess.getClassTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getClassTypeScopeRule()); + } + setWithLastConsumed($current, "setsSum", true, "="); + } + ) + ) + ) + ( + ( + ( + { + newCompositeNode(grammarAccess.getClassTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0()); + } + lv_number_4_0=ruleExactNumber + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getClassTypeScopeRule()); + } + set( + $current, + "number", + lv_number_4_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ExactNumber"); + afterParserOrEnumRuleCall(); + } + ) + ) + | + ( + ( + { + newCompositeNode(grammarAccess.getClassTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0()); + } + lv_number_5_0=ruleIntervallNumber + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getClassTypeScopeRule()); + } + set( + $current, + "number", + lv_number_5_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntervallNumber"); + afterParserOrEnumRuleCall(); + } + ) + ) + ) + ) +; + +// Entry rule entryRuleObjectTypeScope +entryRuleObjectTypeScope returns [EObject current=null]: + { newCompositeNode(grammarAccess.getObjectTypeScopeRule()); } + iv_ruleObjectTypeScope=ruleObjectTypeScope + { $current=$iv_ruleObjectTypeScope.current; } + EOF; + +// Rule ObjectTypeScope +ruleObjectTypeScope returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0='#' + { + newLeafNode(otherlv_0, grammarAccess.getObjectTypeScopeAccess().getNumberSignKeyword_0()); + } + ( + ( + { + newCompositeNode(grammarAccess.getObjectTypeScopeAccess().getTypeObjectReferenceParserRuleCall_1_0()); + } + lv_type_1_0=ruleObjectReference + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getObjectTypeScopeRule()); + } + set( + $current, + "type", + lv_type_1_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ObjectReference"); + afterParserOrEnumRuleCall(); + } + ) + ) + ( + ( + ( + lv_setsNew_2_0='+=' + { + newLeafNode(lv_setsNew_2_0, grammarAccess.getObjectTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getObjectTypeScopeRule()); + } + setWithLastConsumed($current, "setsNew", true, "+="); + } + ) + ) + | + ( + ( + lv_setsSum_3_0='=' + { + newLeafNode(lv_setsSum_3_0, grammarAccess.getObjectTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getObjectTypeScopeRule()); + } + setWithLastConsumed($current, "setsSum", true, "="); + } + ) + ) + ) + ( + ( + ( + { + newCompositeNode(grammarAccess.getObjectTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0()); + } + lv_number_4_0=ruleExactNumber + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getObjectTypeScopeRule()); + } + set( + $current, + "number", + lv_number_4_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ExactNumber"); + afterParserOrEnumRuleCall(); + } + ) + ) + | + ( + ( + { + newCompositeNode(grammarAccess.getObjectTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0()); + } + lv_number_5_0=ruleIntervallNumber + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getObjectTypeScopeRule()); + } + set( + $current, + "number", + lv_number_5_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntervallNumber"); + afterParserOrEnumRuleCall(); + } + ) + ) + ) + ) +; + +// Entry rule entryRuleIntegerTypeScope +entryRuleIntegerTypeScope returns [EObject current=null]: + { newCompositeNode(grammarAccess.getIntegerTypeScopeRule()); } + iv_ruleIntegerTypeScope=ruleIntegerTypeScope + { $current=$iv_ruleIntegerTypeScope.current; } + EOF; + +// Rule IntegerTypeScope +ruleIntegerTypeScope returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0='#' + { + newLeafNode(otherlv_0, grammarAccess.getIntegerTypeScopeAccess().getNumberSignKeyword_0()); + } + ( + ( + { + newCompositeNode(grammarAccess.getIntegerTypeScopeAccess().getTypeIntegerReferenceParserRuleCall_1_0()); + } + lv_type_1_0=ruleIntegerReference + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getIntegerTypeScopeRule()); + } + set( + $current, + "type", + lv_type_1_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntegerReference"); + afterParserOrEnumRuleCall(); + } + ) + ) + ( + ( + ( + lv_setsNew_2_0='+=' + { + newLeafNode(lv_setsNew_2_0, grammarAccess.getIntegerTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getIntegerTypeScopeRule()); + } + setWithLastConsumed($current, "setsNew", true, "+="); + } + ) + ) + | + ( + ( + lv_setsSum_3_0='=' + { + newLeafNode(lv_setsSum_3_0, grammarAccess.getIntegerTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getIntegerTypeScopeRule()); + } + setWithLastConsumed($current, "setsSum", true, "="); + } + ) + ) + ) + ( + ( + ( + { + newCompositeNode(grammarAccess.getIntegerTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0()); + } + lv_number_4_0=ruleExactNumber + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getIntegerTypeScopeRule()); + } + set( + $current, + "number", + lv_number_4_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ExactNumber"); + afterParserOrEnumRuleCall(); + } + ) + ) + | + ( + ( + { + newCompositeNode(grammarAccess.getIntegerTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0()); + } + lv_number_5_0=ruleIntervallNumber + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getIntegerTypeScopeRule()); + } + set( + $current, + "number", + lv_number_5_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntervallNumber"); + afterParserOrEnumRuleCall(); + } + ) + ) + | + ( + ( + { + newCompositeNode(grammarAccess.getIntegerTypeScopeAccess().getNumberIntEnumberationParserRuleCall_3_2_0()); + } + lv_number_6_0=ruleIntEnumberation + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getIntegerTypeScopeRule()); + } + set( + $current, + "number", + lv_number_6_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntEnumberation"); + afterParserOrEnumRuleCall(); + } + ) + ) + ) + ) +; + +// Entry rule entryRuleRealTypeScope +entryRuleRealTypeScope returns [EObject current=null]: + { newCompositeNode(grammarAccess.getRealTypeScopeRule()); } + iv_ruleRealTypeScope=ruleRealTypeScope + { $current=$iv_ruleRealTypeScope.current; } + EOF; + +// Rule RealTypeScope +ruleRealTypeScope returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0='#' + { + newLeafNode(otherlv_0, grammarAccess.getRealTypeScopeAccess().getNumberSignKeyword_0()); + } + ( + ( + { + newCompositeNode(grammarAccess.getRealTypeScopeAccess().getTypeRealReferenceParserRuleCall_1_0()); + } + lv_type_1_0=ruleRealReference + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getRealTypeScopeRule()); + } + set( + $current, + "type", + lv_type_1_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.RealReference"); + afterParserOrEnumRuleCall(); + } + ) + ) + ( + ( + ( + lv_setsNew_2_0='+=' + { + newLeafNode(lv_setsNew_2_0, grammarAccess.getRealTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getRealTypeScopeRule()); + } + setWithLastConsumed($current, "setsNew", true, "+="); + } + ) + ) + | + ( + ( + lv_setsSum_3_0='=' + { + newLeafNode(lv_setsSum_3_0, grammarAccess.getRealTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getRealTypeScopeRule()); + } + setWithLastConsumed($current, "setsSum", true, "="); + } + ) + ) + ) + ( + ( + ( + { + newCompositeNode(grammarAccess.getRealTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0()); + } + lv_number_4_0=ruleExactNumber + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getRealTypeScopeRule()); + } + set( + $current, + "number", + lv_number_4_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ExactNumber"); + afterParserOrEnumRuleCall(); + } + ) + ) + | + ( + ( + { + newCompositeNode(grammarAccess.getRealTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0()); + } + lv_number_5_0=ruleIntervallNumber + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getRealTypeScopeRule()); + } + set( + $current, + "number", + lv_number_5_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntervallNumber"); + afterParserOrEnumRuleCall(); + } + ) + ) + | + ( + ( + { + newCompositeNode(grammarAccess.getRealTypeScopeAccess().getNumberRealEnumerationParserRuleCall_3_2_0()); + } + lv_number_6_0=ruleRealEnumeration + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getRealTypeScopeRule()); + } + set( + $current, + "number", + lv_number_6_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.RealEnumeration"); + afterParserOrEnumRuleCall(); + } + ) + ) + ) + ) +; + +// Entry rule entryRuleStringTypeScope +entryRuleStringTypeScope returns [EObject current=null]: + { newCompositeNode(grammarAccess.getStringTypeScopeRule()); } + iv_ruleStringTypeScope=ruleStringTypeScope + { $current=$iv_ruleStringTypeScope.current; } + EOF; + +// Rule StringTypeScope +ruleStringTypeScope returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0='#' + { + newLeafNode(otherlv_0, grammarAccess.getStringTypeScopeAccess().getNumberSignKeyword_0()); + } + ( + ( + { + newCompositeNode(grammarAccess.getStringTypeScopeAccess().getTypeStringReferenceParserRuleCall_1_0()); + } + lv_type_1_0=ruleStringReference + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getStringTypeScopeRule()); + } + set( + $current, + "type", + lv_type_1_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.StringReference"); + afterParserOrEnumRuleCall(); + } + ) + ) + ( + ( + ( + lv_setsNew_2_0='+=' + { + newLeafNode(lv_setsNew_2_0, grammarAccess.getStringTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getStringTypeScopeRule()); + } + setWithLastConsumed($current, "setsNew", true, "+="); + } + ) + ) + | + ( + ( + lv_setsSum_3_0='=' + { + newLeafNode(lv_setsSum_3_0, grammarAccess.getStringTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getStringTypeScopeRule()); + } + setWithLastConsumed($current, "setsSum", true, "="); + } + ) + ) + ) + ( + ( + ( + { + newCompositeNode(grammarAccess.getStringTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0()); + } + lv_number_4_0=ruleExactNumber + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getStringTypeScopeRule()); + } + set( + $current, + "number", + lv_number_4_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ExactNumber"); + afterParserOrEnumRuleCall(); + } + ) + ) + | + ( + ( + { + newCompositeNode(grammarAccess.getStringTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0()); + } + lv_number_5_0=ruleIntervallNumber + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getStringTypeScopeRule()); + } + set( + $current, + "number", + lv_number_5_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntervallNumber"); + afterParserOrEnumRuleCall(); + } + ) + ) + | + ( + ( + { + newCompositeNode(grammarAccess.getStringTypeScopeAccess().getNumberStringEnumerationParserRuleCall_3_2_0()); + } + lv_number_6_0=ruleStringEnumeration + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getStringTypeScopeRule()); + } + set( + $current, + "number", + lv_number_6_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.StringEnumeration"); + afterParserOrEnumRuleCall(); + } + ) + ) + ) + ) +; + +// Entry rule entryRuleClassReference +entryRuleClassReference returns [EObject current=null]: + { newCompositeNode(grammarAccess.getClassReferenceRule()); } + iv_ruleClassReference=ruleClassReference + { $current=$iv_ruleClassReference.current; } + EOF; + +// Rule ClassReference +ruleClassReference returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0='<' + { + newLeafNode(otherlv_0, grammarAccess.getClassReferenceAccess().getLessThanSignKeyword_0()); + } + ( + ( + { + newCompositeNode(grammarAccess.getClassReferenceAccess().getElementMetamodelElementParserRuleCall_1_0()); + } + lv_element_1_0=ruleMetamodelElement + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getClassReferenceRule()); + } + set( + $current, + "element", + lv_element_1_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelElement"); + afterParserOrEnumRuleCall(); + } + ) + ) + otherlv_2='>' + { + newLeafNode(otherlv_2, grammarAccess.getClassReferenceAccess().getGreaterThanSignKeyword_2()); + } + ) +; + +// Entry rule entryRuleObjectReference +entryRuleObjectReference returns [EObject current=null]: + { newCompositeNode(grammarAccess.getObjectReferenceRule()); } + iv_ruleObjectReference=ruleObjectReference + { $current=$iv_ruleObjectReference.current; } + EOF; + +// Rule ObjectReference +ruleObjectReference returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + { + $current = forceCreateModelElement( + grammarAccess.getObjectReferenceAccess().getObjectReferenceAction_0(), + $current); + } + ) + otherlv_1='node' + { + newLeafNode(otherlv_1, grammarAccess.getObjectReferenceAccess().getNodeKeyword_1()); + } + ) +; + +// Entry rule entryRuleIntegerReference +entryRuleIntegerReference returns [EObject current=null]: + { newCompositeNode(grammarAccess.getIntegerReferenceRule()); } + iv_ruleIntegerReference=ruleIntegerReference + { $current=$iv_ruleIntegerReference.current; } + EOF; + +// Rule IntegerReference +ruleIntegerReference returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + { + $current = forceCreateModelElement( + grammarAccess.getIntegerReferenceAccess().getIntegerScopeAction_0(), + $current); + } + ) + otherlv_1='int' + { + newLeafNode(otherlv_1, grammarAccess.getIntegerReferenceAccess().getIntKeyword_1()); + } + ) +; + +// Entry rule entryRuleRealReference +entryRuleRealReference returns [EObject current=null]: + { newCompositeNode(grammarAccess.getRealReferenceRule()); } + iv_ruleRealReference=ruleRealReference + { $current=$iv_ruleRealReference.current; } + EOF; + +// Rule RealReference +ruleRealReference returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + { + $current = forceCreateModelElement( + grammarAccess.getRealReferenceAccess().getRealScopeAction_0(), + $current); + } + ) + otherlv_1='real' + { + newLeafNode(otherlv_1, grammarAccess.getRealReferenceAccess().getRealKeyword_1()); + } + ) +; + +// Entry rule entryRuleStringReference +entryRuleStringReference returns [EObject current=null]: + { newCompositeNode(grammarAccess.getStringReferenceRule()); } + iv_ruleStringReference=ruleStringReference + { $current=$iv_ruleStringReference.current; } + EOF; + +// Rule StringReference +ruleStringReference returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + { + $current = forceCreateModelElement( + grammarAccess.getStringReferenceAccess().getStringScopeAction_0(), + $current); + } + ) + otherlv_1='string' + { + newLeafNode(otherlv_1, grammarAccess.getStringReferenceAccess().getStringKeyword_1()); + } + ) +; + +// Entry rule entryRuleExactNumber +entryRuleExactNumber returns [EObject current=null]: + { newCompositeNode(grammarAccess.getExactNumberRule()); } + iv_ruleExactNumber=ruleExactNumber + { $current=$iv_ruleExactNumber.current; } + EOF; + +// Rule ExactNumber +ruleExactNumber returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + ( + lv_exactNumber_0_0=RULE_INT + { + newLeafNode(lv_exactNumber_0_0, grammarAccess.getExactNumberAccess().getExactNumberINTTerminalRuleCall_0_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getExactNumberRule()); + } + setWithLastConsumed( + $current, + "exactNumber", + lv_exactNumber_0_0, + "org.eclipse.xtext.common.Terminals.INT"); + } + ) + ) + | + ( + ( + lv_exactUnlimited_1_0='*' + { + newLeafNode(lv_exactUnlimited_1_0, grammarAccess.getExactNumberAccess().getExactUnlimitedAsteriskKeyword_1_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getExactNumberRule()); + } + setWithLastConsumed($current, "exactUnlimited", true, "*"); + } + ) + ) + ) +; + +// Entry rule entryRuleIntervallNumber +entryRuleIntervallNumber returns [EObject current=null]: + { newCompositeNode(grammarAccess.getIntervallNumberRule()); } + iv_ruleIntervallNumber=ruleIntervallNumber + { $current=$iv_ruleIntervallNumber.current; } + EOF; + +// Rule IntervallNumber +ruleIntervallNumber returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + ( + lv_min_0_0=RULE_INT + { + newLeafNode(lv_min_0_0, grammarAccess.getIntervallNumberAccess().getMinINTTerminalRuleCall_0_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getIntervallNumberRule()); + } + setWithLastConsumed( + $current, + "min", + lv_min_0_0, + "org.eclipse.xtext.common.Terminals.INT"); + } + ) + ) + otherlv_1='..' + { + newLeafNode(otherlv_1, grammarAccess.getIntervallNumberAccess().getFullStopFullStopKeyword_1()); + } + ( + ( + ( + lv_maxNumber_2_0=RULE_INT + { + newLeafNode(lv_maxNumber_2_0, grammarAccess.getIntervallNumberAccess().getMaxNumberINTTerminalRuleCall_2_0_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getIntervallNumberRule()); + } + setWithLastConsumed( + $current, + "maxNumber", + lv_maxNumber_2_0, + "org.eclipse.xtext.common.Terminals.INT"); + } + ) + ) + | + ( + ( + lv_maxUnlimited_3_0='*' + { + newLeafNode(lv_maxUnlimited_3_0, grammarAccess.getIntervallNumberAccess().getMaxUnlimitedAsteriskKeyword_2_1_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getIntervallNumberRule()); + } + setWithLastConsumed($current, "maxUnlimited", true, "*"); + } + ) + ) + ) + ) +; + +// Entry rule entryRuleIntEnumberation +entryRuleIntEnumberation returns [EObject current=null]: + { newCompositeNode(grammarAccess.getIntEnumberationRule()); } + iv_ruleIntEnumberation=ruleIntEnumberation + { $current=$iv_ruleIntEnumberation.current; } + EOF; + +// Rule IntEnumberation +ruleIntEnumberation returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + { + $current = forceCreateModelElement( + grammarAccess.getIntEnumberationAccess().getIntEnumberationAction_0(), + $current); + } + ) + otherlv_1='{' + { + newLeafNode(otherlv_1, grammarAccess.getIntEnumberationAccess().getLeftCurlyBracketKeyword_1()); + } + ( + ( + ( + { + newCompositeNode(grammarAccess.getIntEnumberationAccess().getEntryINTLiteralParserRuleCall_2_0_0()); + } + lv_entry_2_0=ruleINTLiteral + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getIntEnumberationRule()); + } + add( + $current, + "entry", + lv_entry_2_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.INTLiteral"); + afterParserOrEnumRuleCall(); + } + ) + ) + ( + otherlv_3=',' + { + newLeafNode(otherlv_3, grammarAccess.getIntEnumberationAccess().getCommaKeyword_2_1_0()); + } + ( + ( + { + newCompositeNode(grammarAccess.getIntEnumberationAccess().getEntryINTLiteralParserRuleCall_2_1_1_0()); + } + lv_entry_4_0=ruleINTLiteral + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getIntEnumberationRule()); + } + add( + $current, + "entry", + lv_entry_4_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.INTLiteral"); + afterParserOrEnumRuleCall(); + } + ) + ) + )* + )? + otherlv_5='}' + { + newLeafNode(otherlv_5, grammarAccess.getIntEnumberationAccess().getRightCurlyBracketKeyword_3()); + } + ) +; + +// Entry rule entryRuleRealEnumeration +entryRuleRealEnumeration returns [EObject current=null]: + { newCompositeNode(grammarAccess.getRealEnumerationRule()); } + iv_ruleRealEnumeration=ruleRealEnumeration + { $current=$iv_ruleRealEnumeration.current; } + EOF; + +// Rule RealEnumeration +ruleRealEnumeration returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + { + $current = forceCreateModelElement( + grammarAccess.getRealEnumerationAccess().getRealEnumerationAction_0(), + $current); + } + ) + otherlv_1='{' + { + newLeafNode(otherlv_1, grammarAccess.getRealEnumerationAccess().getLeftCurlyBracketKeyword_1()); + } + ( + ( + ( + { + newCompositeNode(grammarAccess.getRealEnumerationAccess().getEntryREALLiteralParserRuleCall_2_0_0()); + } + lv_entry_2_0=ruleREALLiteral + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getRealEnumerationRule()); + } + add( + $current, + "entry", + lv_entry_2_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.REALLiteral"); + afterParserOrEnumRuleCall(); + } + ) + ) + ( + otherlv_3=',' + { + newLeafNode(otherlv_3, grammarAccess.getRealEnumerationAccess().getCommaKeyword_2_1_0()); + } + ( + ( + { + newCompositeNode(grammarAccess.getRealEnumerationAccess().getEntryREALLiteralParserRuleCall_2_1_1_0()); + } + lv_entry_4_0=ruleREALLiteral + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getRealEnumerationRule()); + } + add( + $current, + "entry", + lv_entry_4_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.REALLiteral"); + afterParserOrEnumRuleCall(); + } + ) + ) + )* + )? + otherlv_5='}' + { + newLeafNode(otherlv_5, grammarAccess.getRealEnumerationAccess().getRightCurlyBracketKeyword_3()); + } + ) +; + +// Entry rule entryRuleStringEnumeration +entryRuleStringEnumeration returns [EObject current=null]: + { newCompositeNode(grammarAccess.getStringEnumerationRule()); } + iv_ruleStringEnumeration=ruleStringEnumeration + { $current=$iv_ruleStringEnumeration.current; } + EOF; + +// Rule StringEnumeration +ruleStringEnumeration returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + { + $current = forceCreateModelElement( + grammarAccess.getStringEnumerationAccess().getStringEnumerationAction_0(), + $current); + } + ) + otherlv_1='{' + { + newLeafNode(otherlv_1, grammarAccess.getStringEnumerationAccess().getLeftCurlyBracketKeyword_1()); + } + ( + ( + ( + lv_entry_2_0=RULE_STRING + { + newLeafNode(lv_entry_2_0, grammarAccess.getStringEnumerationAccess().getEntrySTRINGTerminalRuleCall_2_0_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getStringEnumerationRule()); + } + addWithLastConsumed( + $current, + "entry", + lv_entry_2_0, + "org.eclipse.xtext.common.Terminals.STRING"); + } + ) + ) + ( + otherlv_3=',' + { + newLeafNode(otherlv_3, grammarAccess.getStringEnumerationAccess().getCommaKeyword_2_1_0()); + } + ( + ( + lv_entry_4_0=RULE_STRING + { + newLeafNode(lv_entry_4_0, grammarAccess.getStringEnumerationAccess().getEntrySTRINGTerminalRuleCall_2_1_1_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getStringEnumerationRule()); + } + addWithLastConsumed( + $current, + "entry", + lv_entry_4_0, + "org.eclipse.xtext.common.Terminals.STRING"); + } + ) + ) + )* + )? + otherlv_5='}' + { + newLeafNode(otherlv_5, grammarAccess.getStringEnumerationAccess().getRightCurlyBracketKeyword_3()); + } + ) +; + +// Entry rule entryRuleScopeDeclaration +entryRuleScopeDeclaration returns [EObject current=null]: + { newCompositeNode(grammarAccess.getScopeDeclarationRule()); } + iv_ruleScopeDeclaration=ruleScopeDeclaration + { $current=$iv_ruleScopeDeclaration.current; } + EOF; + +// Rule ScopeDeclaration +ruleScopeDeclaration returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0='scope' + { + newLeafNode(otherlv_0, grammarAccess.getScopeDeclarationAccess().getScopeKeyword_0()); + } + ( + ( + lv_name_1_0=RULE_ID + { + newLeafNode(lv_name_1_0, grammarAccess.getScopeDeclarationAccess().getNameIDTerminalRuleCall_1_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getScopeDeclarationRule()); + } + setWithLastConsumed( + $current, + "name", + lv_name_1_0, + "org.eclipse.xtext.common.Terminals.ID"); + } + ) + ) + ( + ( + { + newCompositeNode(grammarAccess.getScopeDeclarationAccess().getSpecificationScopeSpecificationParserRuleCall_2_0()); + } + lv_specification_2_0=ruleScopeSpecification + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getScopeDeclarationRule()); + } + set( + $current, + "specification", + lv_specification_2_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ScopeSpecification"); + afterParserOrEnumRuleCall(); + } + ) + ) + ) +; + +// Entry rule entryRuleScopeReference +entryRuleScopeReference returns [EObject current=null]: + { newCompositeNode(grammarAccess.getScopeReferenceRule()); } + iv_ruleScopeReference=ruleScopeReference + { $current=$iv_ruleScopeReference.current; } + EOF; + +// Rule ScopeReference +ruleScopeReference returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + { + if ($current==null) { + $current = createModelElement(grammarAccess.getScopeReferenceRule()); + } + } + otherlv_0=RULE_ID + { + newLeafNode(otherlv_0, grammarAccess.getScopeReferenceAccess().getReferredScopeDeclarationCrossReference_0()); + } + ) + ) +; + +// Entry rule entryRuleScope +entryRuleScope returns [EObject current=null]: + { newCompositeNode(grammarAccess.getScopeRule()); } + iv_ruleScope=ruleScope + { $current=$iv_ruleScope.current; } + EOF; + +// Rule Scope +ruleScope returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + { + newCompositeNode(grammarAccess.getScopeAccess().getScopeSpecificationParserRuleCall_0()); + } + this_ScopeSpecification_0=ruleScopeSpecification + { + $current = $this_ScopeSpecification_0.current; + afterParserOrEnumRuleCall(); + } + | + { + newCompositeNode(grammarAccess.getScopeAccess().getScopeReferenceParserRuleCall_1()); + } + this_ScopeReference_1=ruleScopeReference + { + $current = $this_ScopeReference_1.current; + afterParserOrEnumRuleCall(); + } + ) +; + +// Entry rule entryRuleTask +entryRuleTask returns [EObject current=null]: + { newCompositeNode(grammarAccess.getTaskRule()); } + iv_ruleTask=ruleTask + { $current=$iv_ruleTask.current; } + EOF; + +// Rule Task +ruleTask returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + { + newCompositeNode(grammarAccess.getTaskAccess().getGenerationTaskParserRuleCall()); + } + this_GenerationTask_0=ruleGenerationTask + { + $current = $this_GenerationTask_0.current; + afterParserOrEnumRuleCall(); + } +; + +// Entry rule entryRuleGenerationTask +entryRuleGenerationTask returns [EObject current=null]: + { newCompositeNode(grammarAccess.getGenerationTaskRule()); } + iv_ruleGenerationTask=ruleGenerationTask + { $current=$iv_ruleGenerationTask.current; } + EOF; + +// Rule GenerationTask +ruleGenerationTask returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0='generate' + { + newLeafNode(otherlv_0, grammarAccess.getGenerationTaskAccess().getGenerateKeyword_0()); + } + ( + { + $current = forceCreateModelElement( + grammarAccess.getGenerationTaskAccess().getGenerationTaskAction_1(), + $current); + } + ) + otherlv_2='{' + { + newLeafNode(otherlv_2, grammarAccess.getGenerationTaskAccess().getLeftCurlyBracketKeyword_2()); + } + ( + ( + { + getUnorderedGroupHelper().enter(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); + } + ( + ( + ( + {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0)}?=>( + { + getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0); + } + ({true}?=>(otherlv_4='metamodel' + { + newLeafNode(otherlv_4, grammarAccess.getGenerationTaskAccess().getMetamodelKeyword_3_0_0()); + } + otherlv_5='=' + { + newLeafNode(otherlv_5, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_0_1()); + } + ( + ( + { + newCompositeNode(grammarAccess.getGenerationTaskAccess().getMetamodelMetamodelParserRuleCall_3_0_2_0()); + } + lv_metamodel_6_0=ruleMetamodel + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); + } + set( + $current, + "metamodel", + lv_metamodel_6_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Metamodel"); + afterParserOrEnumRuleCall(); + } + ) + ) + )) + { + getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); + } + ) + )| + ( + {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1)}?=>( + { + getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1); + } + ({true}?=>(otherlv_7='partial-model' + { + newLeafNode(otherlv_7, grammarAccess.getGenerationTaskAccess().getPartialModelKeyword_3_1_0()); + } + otherlv_8='=' + { + newLeafNode(otherlv_8, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_1_1()); + } + ( + ( + { + newCompositeNode(grammarAccess.getGenerationTaskAccess().getPartialModelPartialModelParserRuleCall_3_1_2_0()); + } + lv_partialModel_9_0=rulePartialModel + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); + } + set( + $current, + "partialModel", + lv_partialModel_9_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PartialModel"); + afterParserOrEnumRuleCall(); + } + ) + ) + )) + { + getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); + } + ) + )| + ( + {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2)}?=>( + { + getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2); + } + ({true}?=>(otherlv_10='constraints' + { + newLeafNode(otherlv_10, grammarAccess.getGenerationTaskAccess().getConstraintsKeyword_3_2_0()); + } + otherlv_11='=' + { + newLeafNode(otherlv_11, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_2_1()); + } + ( + ( + { + newCompositeNode(grammarAccess.getGenerationTaskAccess().getPatternsGraphPatternParserRuleCall_3_2_2_0()); + } + lv_patterns_12_0=ruleGraphPattern + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); + } + set( + $current, + "patterns", + lv_patterns_12_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.GraphPattern"); + afterParserOrEnumRuleCall(); + } + ) + ) + )) + { + getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); + } + ) + )| + ( + {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3)}?=>( + { + getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3); + } + ({true}?=>(otherlv_13='objectives' + { + newLeafNode(otherlv_13, grammarAccess.getGenerationTaskAccess().getObjectivesKeyword_3_3_0()); + } + otherlv_14='=' + { + newLeafNode(otherlv_14, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_3_1()); + } + ( + ( + { + newCompositeNode(grammarAccess.getGenerationTaskAccess().getObjectivesObjectiveParserRuleCall_3_3_2_0()); + } + lv_objectives_15_0=ruleObjective + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); + } + set( + $current, + "objectives", + lv_objectives_15_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Objective"); + afterParserOrEnumRuleCall(); + } + ) + ) + )) + { + getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); + } + ) + )| + ( + {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4)}?=>( + { + getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4); + } + ({true}?=>(otherlv_16='scope' + { + newLeafNode(otherlv_16, grammarAccess.getGenerationTaskAccess().getScopeKeyword_3_4_0()); + } + otherlv_17='=' + { + newLeafNode(otherlv_17, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_4_1()); + } + ( + ( + { + newCompositeNode(grammarAccess.getGenerationTaskAccess().getScopeScopeParserRuleCall_3_4_2_0()); + } + lv_scope_18_0=ruleScope + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); + } + set( + $current, + "scope", + lv_scope_18_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Scope"); + afterParserOrEnumRuleCall(); + } + ) + ) + )) + { + getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); + } + ) + )| + ( + {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5)}?=>( + { + getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5); + } + ({true}?=>(( + ( + lv_numberSpecified_19_0='number' + { + newLeafNode(lv_numberSpecified_19_0, grammarAccess.getGenerationTaskAccess().getNumberSpecifiedNumberKeyword_3_5_0_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getGenerationTaskRule()); + } + setWithLastConsumed($current, "numberSpecified", true, "number"); + } + ) + ) + otherlv_20='=' + { + newLeafNode(otherlv_20, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_5_1()); + } + ( + ( + lv_number_21_0=RULE_INT + { + newLeafNode(lv_number_21_0, grammarAccess.getGenerationTaskAccess().getNumberINTTerminalRuleCall_3_5_2_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getGenerationTaskRule()); + } + setWithLastConsumed( + $current, + "number", + lv_number_21_0, + "org.eclipse.xtext.common.Terminals.INT"); + } + ) + ) + )) + { + getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); + } + ) + )| + ( + {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6)}?=>( + { + getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6); + } + ({true}?=>(( + ( + lv_runSpecified_22_0='runs' + { + newLeafNode(lv_runSpecified_22_0, grammarAccess.getGenerationTaskAccess().getRunSpecifiedRunsKeyword_3_6_0_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getGenerationTaskRule()); + } + setWithLastConsumed($current, "runSpecified", true, "runs"); + } + ) + ) + otherlv_23='=' + { + newLeafNode(otherlv_23, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_6_1()); + } + ( + ( + lv_runs_24_0=RULE_INT + { + newLeafNode(lv_runs_24_0, grammarAccess.getGenerationTaskAccess().getRunsINTTerminalRuleCall_3_6_2_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getGenerationTaskRule()); + } + setWithLastConsumed( + $current, + "runs", + lv_runs_24_0, + "org.eclipse.xtext.common.Terminals.INT"); + } + ) + ) + )) + { + getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); + } + ) + )| + ( + {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7)}?=>( + { + getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7); + } + ({true}?=>(otherlv_25='solver' + { + newLeafNode(otherlv_25, grammarAccess.getGenerationTaskAccess().getSolverKeyword_3_7_0()); + } + otherlv_26='=' + { + newLeafNode(otherlv_26, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_7_1()); + } + ( + ( + { + newCompositeNode(grammarAccess.getGenerationTaskAccess().getSolverSolverEnumRuleCall_3_7_2_0()); + } + lv_solver_27_0=ruleSolver + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); + } + set( + $current, + "solver", + lv_solver_27_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Solver"); + afterParserOrEnumRuleCall(); + } + ) + ) + )) + { + getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); + } + ) + )| + ( + {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8)}?=>( + { + getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8); + } + ({true}?=>(otherlv_28='config' + { + newLeafNode(otherlv_28, grammarAccess.getGenerationTaskAccess().getConfigKeyword_3_8_0()); + } + otherlv_29='=' + { + newLeafNode(otherlv_29, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_8_1()); + } + ( + ( + { + newCompositeNode(grammarAccess.getGenerationTaskAccess().getConfigConfigParserRuleCall_3_8_2_0()); + } + lv_config_30_0=ruleConfig + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); + } + set( + $current, + "config", + lv_config_30_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Config"); + afterParserOrEnumRuleCall(); + } + ) + ) + )) + { + getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); + } + ) + )| + ( + {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9)}?=>( + { + getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9); + } + ({true}?=>(otherlv_31='debug' + { + newLeafNode(otherlv_31, grammarAccess.getGenerationTaskAccess().getDebugKeyword_3_9_0()); + } + otherlv_32='=' + { + newLeafNode(otherlv_32, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_9_1()); + } + ( + ( + { + newCompositeNode(grammarAccess.getGenerationTaskAccess().getDebugFolderFileParserRuleCall_3_9_2_0()); + } + lv_debugFolder_33_0=ruleFile + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); + } + set( + $current, + "debugFolder", + lv_debugFolder_33_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File"); + afterParserOrEnumRuleCall(); + } + ) + ) + )) + { + getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); + } + ) + )| + ( + {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10)}?=>( + { + getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10); + } + ({true}?=>(otherlv_34='log' + { + newLeafNode(otherlv_34, grammarAccess.getGenerationTaskAccess().getLogKeyword_3_10_0()); + } + otherlv_35='=' + { + newLeafNode(otherlv_35, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_10_1()); + } + ( + ( + { + newCompositeNode(grammarAccess.getGenerationTaskAccess().getTargetLogFileFileParserRuleCall_3_10_2_0()); + } + lv_targetLogFile_36_0=ruleFile + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); + } + set( + $current, + "targetLogFile", + lv_targetLogFile_36_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File"); + afterParserOrEnumRuleCall(); + } + ) + ) + )) + { + getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); + } + ) + )| + ( + {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11)}?=>( + { + getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11); + } + ({true}?=>(otherlv_37='statistics' + { + newLeafNode(otherlv_37, grammarAccess.getGenerationTaskAccess().getStatisticsKeyword_3_11_0()); + } + otherlv_38='=' + { + newLeafNode(otherlv_38, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_11_1()); + } + ( + ( + { + newCompositeNode(grammarAccess.getGenerationTaskAccess().getTargetStatisticsFileFileParserRuleCall_3_11_2_0()); + } + lv_targetStatisticsFile_39_0=ruleFile + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); + } + set( + $current, + "targetStatisticsFile", + lv_targetStatisticsFile_39_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File"); + afterParserOrEnumRuleCall(); + } + ) + ) + )) + { + getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); + } + ) + )| + ( + {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 12)}?=>( + { + getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 12); + } + ({true}?=>(otherlv_40='output' + { + newLeafNode(otherlv_40, grammarAccess.getGenerationTaskAccess().getOutputKeyword_3_12_0()); + } + otherlv_41='=' + { + newLeafNode(otherlv_41, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_12_1()); + } + ( + ( + { + newCompositeNode(grammarAccess.getGenerationTaskAccess().getTagetFolderFileParserRuleCall_3_12_2_0()); + } + lv_tagetFolder_42_0=ruleFile + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); + } + set( + $current, + "tagetFolder", + lv_tagetFolder_42_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File"); + afterParserOrEnumRuleCall(); + } + ) + ) + )) + { + getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); + } + ) + ) + )* + ) + ) + { + getUnorderedGroupHelper().leave(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); + } + ) + otherlv_43='}' + { + newLeafNode(otherlv_43, grammarAccess.getGenerationTaskAccess().getRightCurlyBracketKeyword_4()); + } + ) +; + +// Rule OptimizationDirection +ruleOptimizationDirection returns [Enumerator current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + enumLiteral_0='minimize' + { + $current = grammarAccess.getOptimizationDirectionAccess().getMINIMIZEEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_0, grammarAccess.getOptimizationDirectionAccess().getMINIMIZEEnumLiteralDeclaration_0()); + } + ) + | + ( + enumLiteral_1='maximize' + { + $current = grammarAccess.getOptimizationDirectionAccess().getMAXIMIZEEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_1, grammarAccess.getOptimizationDirectionAccess().getMAXIMIZEEnumLiteralDeclaration_1()); + } + ) + ) +; + +// Rule ComparisonOperator +ruleComparisonOperator returns [Enumerator current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + enumLiteral_0='<=' + { + $current = grammarAccess.getComparisonOperatorAccess().getLESS_EQUALSEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_0, grammarAccess.getComparisonOperatorAccess().getLESS_EQUALSEnumLiteralDeclaration_0()); + } + ) + | + ( + enumLiteral_1='>=' + { + $current = grammarAccess.getComparisonOperatorAccess().getGREATER_EQUALSEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_1, grammarAccess.getComparisonOperatorAccess().getGREATER_EQUALSEnumLiteralDeclaration_1()); + } + ) + ) +; + +// Rule DocumentLevelSpecification +ruleDocumentLevelSpecification returns [Enumerator current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + enumLiteral_0='none' + { + $current = grammarAccess.getDocumentLevelSpecificationAccess().getNoneEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_0, grammarAccess.getDocumentLevelSpecificationAccess().getNoneEnumLiteralDeclaration_0()); + } + ) + | + ( + enumLiteral_1='normal' + { + $current = grammarAccess.getDocumentLevelSpecificationAccess().getNormalEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_1, grammarAccess.getDocumentLevelSpecificationAccess().getNormalEnumLiteralDeclaration_1()); + } + ) + | + ( + enumLiteral_2='full' + { + $current = grammarAccess.getDocumentLevelSpecificationAccess().getFullEnumLiteralDeclaration_2().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_2, grammarAccess.getDocumentLevelSpecificationAccess().getFullEnumLiteralDeclaration_2()); + } + ) + ) +; + +// Rule Solver +ruleSolver returns [Enumerator current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + enumLiteral_0='SMTSolver' + { + $current = grammarAccess.getSolverAccess().getSMTSolverEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_0, grammarAccess.getSolverAccess().getSMTSolverEnumLiteralDeclaration_0()); + } + ) + | + ( + enumLiteral_1='AlloySolver' + { + $current = grammarAccess.getSolverAccess().getAlloySolverEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_1, grammarAccess.getSolverAccess().getAlloySolverEnumLiteralDeclaration_1()); + } + ) + | + ( + enumLiteral_2='ViatraSolver' + { + $current = grammarAccess.getSolverAccess().getViatraSolverEnumLiteralDeclaration_2().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_2, grammarAccess.getSolverAccess().getViatraSolverEnumLiteralDeclaration_2()); + } + ) + ) +; + +RULE_ID : '^'? ('a'..'z'|'A'..'Z'|'_') ('a'..'z'|'A'..'Z'|'_'|'0'..'9')*; + +RULE_INT : ('0'..'9')+; + +RULE_STRING : ('"' ('\\' .|~(('\\'|'"')))* '"'|'\'' ('\\' .|~(('\\'|'\'')))* '\''); + +RULE_ML_COMMENT : '/*' ( options {greedy=false;} : . )*'*/'; + +RULE_SL_COMMENT : '//' ~(('\n'|'\r'))* ('\r'? '\n')?; + +RULE_WS : (' '|'\t'|'\r'|'\n')+; + +RULE_ANY_OTHER : .; diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/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 96730dbf..17aa6491 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,101 +1,113 @@ -'#'=32 -'*'=40 -'+='=33 -','=19 -'-'=12 -'.'=11 -'..'=41 -'::'=23 -'<'=34 -'='=17 -'>'=35 -'AlloySolver'=56 -'SMTSolver'=55 -'ViatraSolver'=57 -'config'=28 -'constraints'=27 -'debug'=48 -'epackage'=14 -'excluding'=22 -'file'=16 -'folder'=25 -'full'=54 -'generate'=43 -'import'=13 -'int'=37 -'log'=49 -'log-level'=29 -'memory'=31 -'metamodel'=24 -'models'=26 -'node'=36 -'none'=52 -'normal'=53 -'number'=45 -'output'=51 -'package'=21 -'partial-model'=44 -'real'=38 -'runs'=46 -'runtime'=30 -'scope'=42 -'solver'=47 -'statistics'=50 -'string'=39 -'viatra'=15 -'{'=18 -'}'=20 -RULE_ANY_OTHER=10 -RULE_ID=4 -RULE_INT=5 -RULE_ML_COMMENT=7 -RULE_SL_COMMENT=8 -RULE_STRING=6 -RULE_WS=9 -T__11=11 -T__12=12 -T__13=13 -T__14=14 -T__15=15 -T__16=16 -T__17=17 -T__18=18 -T__19=19 -T__20=20 -T__21=21 -T__22=22 -T__23=23 -T__24=24 -T__25=25 -T__26=26 -T__27=27 -T__28=28 -T__29=29 -T__30=30 -T__31=31 -T__32=32 -T__33=33 -T__34=34 -T__35=35 -T__36=36 -T__37=37 -T__38=38 -T__39=39 -T__40=40 -T__41=41 -T__42=42 -T__43=43 -T__44=44 -T__45=45 -T__46=46 -T__47=47 -T__48=48 -T__49=49 -T__50=50 -T__51=51 -T__52=52 -T__53=53 -T__54=54 -T__55=55 -T__56=56 -T__57=57 +'#'=34 +'*'=42 +'+='=35 +','=20 +'-'=12 +'.'=11 +'..'=43 +'::'=24 +'<'=36 +'<='=56 +'='=18 +'>'=37 +'>='=57 +'AlloySolver'=62 +'SMTSolver'=61 +'ViatraSolver'=63 +'config'=30 +'constraints'=28 +'debug'=50 +'epackage'=14 +'excluding'=23 +'file'=17 +'folder'=26 +'full'=60 +'generate'=45 +'import'=13 +'int'=39 +'log'=51 +'log-level'=31 +'maximize'=55 +'memory'=33 +'metamodel'=25 +'minimize'=54 +'models'=27 +'node'=38 +'none'=58 +'normal'=59 +'number'=47 +'objectives'=29 +'output'=53 +'package'=22 +'partial-model'=46 +'real'=40 +'reliability'=16 +'runs'=48 +'runtime'=32 +'scope'=44 +'solver'=49 +'statistics'=52 +'string'=41 +'viatra'=15 +'{'=19 +'}'=21 +RULE_ANY_OTHER=10 +RULE_ID=4 +RULE_INT=5 +RULE_ML_COMMENT=7 +RULE_SL_COMMENT=8 +RULE_STRING=6 +RULE_WS=9 +T__11=11 +T__12=12 +T__13=13 +T__14=14 +T__15=15 +T__16=16 +T__17=17 +T__18=18 +T__19=19 +T__20=20 +T__21=21 +T__22=22 +T__23=23 +T__24=24 +T__25=25 +T__26=26 +T__27=27 +T__28=28 +T__29=29 +T__30=30 +T__31=31 +T__32=32 +T__33=33 +T__34=34 +T__35=35 +T__36=36 +T__37=37 +T__38=38 +T__39=39 +T__40=40 +T__41=41 +T__42=42 +T__43=43 +T__44=44 +T__45=45 +T__46=46 +T__47=47 +T__48=48 +T__49=49 +T__50=50 +T__51=51 +T__52=52 +T__53=53 +T__54=54 +T__55=55 +T__56=56 +T__57=57 +T__58=58 +T__59=59 +T__60=60 +T__61=61 +T__62=62 +T__63=63 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 6e214569..175d43ba 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 @@ -1,2372 +1,2584 @@ -package hu.bme.mit.inf.dslreasoner.application.parser.antlr.internal; - -// Hack: Use our own Lexer superclass by means of import. -// Currently there is no other way to specify the superclass for the lexer. -import org.eclipse.xtext.parser.antlr.Lexer; - - -import org.antlr.runtime.*; -import java.util.Stack; -import java.util.List; -import java.util.ArrayList; - -@SuppressWarnings("all") -public class InternalApplicationConfigurationLexer extends Lexer { - public static final int T__50=50; - public static final int T__19=19; - public static final int T__15=15; - public static final int T__16=16; - public static final int T__17=17; - public static final int T__18=18; - public static final int T__11=11; - public static final int T__55=55; - public static final int T__12=12; - public static final int T__56=56; - public static final int T__13=13; - public static final int T__57=57; - public static final int T__14=14; - public static final int T__51=51; - public static final int T__52=52; - public static final int T__53=53; - public static final int T__54=54; - public static final int RULE_ID=4; - public static final int T__26=26; - public static final int T__27=27; - public static final int T__28=28; - public static final int RULE_INT=5; - public static final int T__29=29; - public static final int T__22=22; - public static final int RULE_ML_COMMENT=7; - public static final int T__23=23; - public static final int T__24=24; - public static final int T__25=25; - public static final int T__20=20; - public static final int T__21=21; - public static final int RULE_STRING=6; - public static final int RULE_SL_COMMENT=8; - public static final int T__37=37; - public static final int T__38=38; - public static final int T__39=39; - public static final int T__33=33; - public static final int T__34=34; - public static final int T__35=35; - public static final int T__36=36; - public static final int EOF=-1; - public static final int T__30=30; - public static final int T__31=31; - public static final int T__32=32; - public static final int RULE_WS=9; - public static final int RULE_ANY_OTHER=10; - public static final int T__48=48; - public static final int T__49=49; - public static final int T__44=44; - public static final int T__45=45; - public static final int T__46=46; - public static final int T__47=47; - public static final int T__40=40; - public static final int T__41=41; - public static final int T__42=42; - public static final int T__43=43; - - // delegates - // delegators - - public InternalApplicationConfigurationLexer() {;} - public InternalApplicationConfigurationLexer(CharStream input) { - this(input, new RecognizerSharedState()); - } - public InternalApplicationConfigurationLexer(CharStream input, RecognizerSharedState state) { - super(input,state); - - } - public String getGrammarFileName() { return "InternalApplicationConfiguration.g"; } - - // $ANTLR start "T__11" - public final void mT__11() throws RecognitionException { - try { - int _type = T__11; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:11:7: ( '.' ) - // InternalApplicationConfiguration.g:11:9: '.' - { - match('.'); - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__11" - - // $ANTLR start "T__12" - public final void mT__12() throws RecognitionException { - try { - int _type = T__12; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:12:7: ( '-' ) - // InternalApplicationConfiguration.g:12:9: '-' - { - match('-'); - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__12" - - // $ANTLR start "T__13" - public final void mT__13() throws RecognitionException { - try { - int _type = T__13; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:13:7: ( 'import' ) - // InternalApplicationConfiguration.g:13:9: 'import' - { - match("import"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__13" - - // $ANTLR start "T__14" - public final void mT__14() throws RecognitionException { - try { - int _type = T__14; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:14:7: ( 'epackage' ) - // InternalApplicationConfiguration.g:14:9: 'epackage' - { - match("epackage"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__14" - - // $ANTLR start "T__15" - public final void mT__15() throws RecognitionException { - try { - int _type = T__15; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:15:7: ( 'viatra' ) - // InternalApplicationConfiguration.g:15:9: 'viatra' - { - match("viatra"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__15" - - // $ANTLR start "T__16" - public final void mT__16() throws RecognitionException { - try { - int _type = T__16; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:16:7: ( 'file' ) - // InternalApplicationConfiguration.g:16:9: 'file' - { - match("file"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__16" - - // $ANTLR start "T__17" - public final void mT__17() throws RecognitionException { - try { - int _type = T__17; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:17:7: ( '=' ) - // InternalApplicationConfiguration.g:17:9: '=' - { - match('='); - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__17" - - // $ANTLR start "T__18" - public final void mT__18() throws RecognitionException { - try { - int _type = T__18; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:18:7: ( '{' ) - // InternalApplicationConfiguration.g:18:9: '{' - { - match('{'); - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__18" - - // $ANTLR start "T__19" - public final void mT__19() throws RecognitionException { - try { - int _type = T__19; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:19:7: ( ',' ) - // InternalApplicationConfiguration.g:19:9: ',' - { - match(','); - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__19" - - // $ANTLR start "T__20" - public final void mT__20() throws RecognitionException { - try { - int _type = T__20; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:20:7: ( '}' ) - // InternalApplicationConfiguration.g:20:9: '}' - { - match('}'); - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__20" - - // $ANTLR start "T__21" - public final void mT__21() throws RecognitionException { - try { - int _type = T__21; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:21:7: ( 'package' ) - // InternalApplicationConfiguration.g:21:9: 'package' - { - match("package"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__21" - - // $ANTLR start "T__22" - public final void mT__22() throws RecognitionException { - try { - int _type = T__22; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:22:7: ( 'excluding' ) - // InternalApplicationConfiguration.g:22:9: 'excluding' - { - match("excluding"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__22" - - // $ANTLR start "T__23" - public final void mT__23() throws RecognitionException { - try { - int _type = T__23; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:23:7: ( '::' ) - // InternalApplicationConfiguration.g:23:9: '::' - { - match("::"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__23" - - // $ANTLR start "T__24" - public final void mT__24() throws RecognitionException { - try { - int _type = T__24; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:24:7: ( 'metamodel' ) - // InternalApplicationConfiguration.g:24:9: 'metamodel' - { - match("metamodel"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__24" - - // $ANTLR start "T__25" - public final void mT__25() throws RecognitionException { - try { - int _type = T__25; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:25:7: ( 'folder' ) - // InternalApplicationConfiguration.g:25:9: 'folder' - { - match("folder"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__25" - - // $ANTLR start "T__26" - public final void mT__26() throws RecognitionException { - try { - int _type = T__26; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:26:7: ( 'models' ) - // InternalApplicationConfiguration.g:26:9: 'models' - { - match("models"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__26" - - // $ANTLR start "T__27" - public final void mT__27() throws RecognitionException { - try { - int _type = T__27; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:27:7: ( 'constraints' ) - // InternalApplicationConfiguration.g:27:9: 'constraints' - { - match("constraints"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__27" - - // $ANTLR start "T__28" - public final void mT__28() throws RecognitionException { - try { - int _type = T__28; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:28:7: ( 'config' ) - // InternalApplicationConfiguration.g:28:9: 'config' - { - match("config"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__28" - - // $ANTLR start "T__29" - public final void mT__29() throws RecognitionException { - try { - int _type = T__29; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:29:7: ( 'log-level' ) - // InternalApplicationConfiguration.g:29:9: 'log-level' - { - match("log-level"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__29" - - // $ANTLR start "T__30" - public final void mT__30() throws RecognitionException { - try { - int _type = T__30; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:30:7: ( 'runtime' ) - // InternalApplicationConfiguration.g:30:9: 'runtime' - { - match("runtime"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__30" - - // $ANTLR start "T__31" - public final void mT__31() throws RecognitionException { - try { - int _type = T__31; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:31:7: ( 'memory' ) - // InternalApplicationConfiguration.g:31:9: 'memory' - { - match("memory"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__31" - - // $ANTLR start "T__32" - public final void mT__32() throws RecognitionException { - try { - int _type = T__32; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:32:7: ( '#' ) - // InternalApplicationConfiguration.g:32:9: '#' - { - match('#'); - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__32" - - // $ANTLR start "T__33" - public final void mT__33() throws RecognitionException { - try { - int _type = T__33; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:33:7: ( '+=' ) - // InternalApplicationConfiguration.g:33:9: '+=' - { - match("+="); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__33" - - // $ANTLR start "T__34" - public final void mT__34() throws RecognitionException { - try { - int _type = T__34; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:34:7: ( '<' ) - // InternalApplicationConfiguration.g:34:9: '<' - { - match('<'); - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__34" - - // $ANTLR start "T__35" - public final void mT__35() throws RecognitionException { - try { - int _type = T__35; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:35:7: ( '>' ) - // InternalApplicationConfiguration.g:35:9: '>' - { - match('>'); - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__35" - - // $ANTLR start "T__36" - public final void mT__36() throws RecognitionException { - try { - int _type = T__36; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:36:7: ( 'node' ) - // InternalApplicationConfiguration.g:36:9: 'node' - { - match("node"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__36" - - // $ANTLR start "T__37" - public final void mT__37() throws RecognitionException { - try { - int _type = T__37; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:37:7: ( 'int' ) - // InternalApplicationConfiguration.g:37:9: 'int' - { - match("int"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__37" - - // $ANTLR start "T__38" - public final void mT__38() throws RecognitionException { - try { - int _type = T__38; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:38:7: ( 'real' ) - // InternalApplicationConfiguration.g:38:9: 'real' - { - match("real"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__38" - - // $ANTLR start "T__39" - public final void mT__39() throws RecognitionException { - try { - int _type = T__39; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:39:7: ( 'string' ) - // InternalApplicationConfiguration.g:39:9: 'string' - { - match("string"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__39" - - // $ANTLR start "T__40" - public final void mT__40() throws RecognitionException { - try { - int _type = T__40; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:40:7: ( '*' ) - // InternalApplicationConfiguration.g:40:9: '*' - { - match('*'); - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__40" - - // $ANTLR start "T__41" - public final void mT__41() throws RecognitionException { - try { - int _type = T__41; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:41:7: ( '..' ) - // InternalApplicationConfiguration.g:41:9: '..' - { - match(".."); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__41" - - // $ANTLR start "T__42" - public final void mT__42() throws RecognitionException { - try { - int _type = T__42; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:42:7: ( 'scope' ) - // InternalApplicationConfiguration.g:42:9: 'scope' - { - match("scope"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__42" - - // $ANTLR start "T__43" - public final void mT__43() throws RecognitionException { - try { - int _type = T__43; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:43:7: ( 'generate' ) - // InternalApplicationConfiguration.g:43:9: 'generate' - { - match("generate"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__43" - - // $ANTLR start "T__44" - public final void mT__44() throws RecognitionException { - try { - int _type = T__44; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:44:7: ( 'partial-model' ) - // InternalApplicationConfiguration.g:44:9: 'partial-model' - { - match("partial-model"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__44" - - // $ANTLR start "T__45" - public final void mT__45() throws RecognitionException { - try { - int _type = T__45; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:45:7: ( 'number' ) - // InternalApplicationConfiguration.g:45:9: 'number' - { - match("number"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__45" - - // $ANTLR start "T__46" - public final void mT__46() throws RecognitionException { - try { - int _type = T__46; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:46:7: ( 'runs' ) - // InternalApplicationConfiguration.g:46:9: 'runs' - { - match("runs"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__46" - - // $ANTLR start "T__47" - public final void mT__47() throws RecognitionException { - try { - int _type = T__47; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:47:7: ( 'solver' ) - // InternalApplicationConfiguration.g:47:9: 'solver' - { - match("solver"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__47" - - // $ANTLR start "T__48" - public final void mT__48() throws RecognitionException { - try { - int _type = T__48; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:48:7: ( 'debug' ) - // InternalApplicationConfiguration.g:48:9: 'debug' - { - match("debug"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $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: ( 'log' ) - // InternalApplicationConfiguration.g:49:9: 'log' - { - match("log"); - - - } - - 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: ( 'statistics' ) - // InternalApplicationConfiguration.g:50:9: 'statistics' - { - match("statistics"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__50" - - // $ANTLR start "T__51" - public final void mT__51() throws RecognitionException { - try { - int _type = T__51; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:51:7: ( 'output' ) - // InternalApplicationConfiguration.g:51:9: 'output' - { - match("output"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__51" - - // $ANTLR start "T__52" - public final void mT__52() throws RecognitionException { - try { - int _type = T__52; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:52:7: ( 'none' ) - // InternalApplicationConfiguration.g:52:9: 'none' - { - match("none"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__52" - - // $ANTLR start "T__53" - public final void mT__53() throws RecognitionException { - try { - int _type = T__53; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:53:7: ( 'normal' ) - // InternalApplicationConfiguration.g:53:9: 'normal' - { - match("normal"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__53" - - // $ANTLR start "T__54" - public final void mT__54() throws RecognitionException { - try { - int _type = T__54; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:54:7: ( 'full' ) - // InternalApplicationConfiguration.g:54:9: 'full' - { - match("full"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__54" - - // $ANTLR start "T__55" - public final void mT__55() throws RecognitionException { - try { - int _type = T__55; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:55:7: ( 'SMTSolver' ) - // InternalApplicationConfiguration.g:55:9: 'SMTSolver' - { - match("SMTSolver"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__55" - - // $ANTLR start "T__56" - public final void mT__56() throws RecognitionException { - try { - int _type = T__56; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:56:7: ( 'AlloySolver' ) - // InternalApplicationConfiguration.g:56:9: 'AlloySolver' - { - match("AlloySolver"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__56" - - // $ANTLR start "T__57" - public final void mT__57() throws RecognitionException { - try { - int _type = T__57; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:57:7: ( 'ViatraSolver' ) - // InternalApplicationConfiguration.g:57:9: 'ViatraSolver' - { - match("ViatraSolver"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__57" - - // $ANTLR start "RULE_ID" - public final void mRULE_ID() throws RecognitionException { - try { - int _type = RULE_ID; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:4291:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* ) - // InternalApplicationConfiguration.g:4291:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* - { - // InternalApplicationConfiguration.g:4291:11: ( '^' )? - int alt1=2; - int LA1_0 = input.LA(1); - - if ( (LA1_0=='^') ) { - alt1=1; - } - switch (alt1) { - case 1 : - // InternalApplicationConfiguration.g:4291:11: '^' - { - match('^'); - - } - break; - - } - - if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) { - input.consume(); - - } - else { - MismatchedSetException mse = new MismatchedSetException(null,input); - recover(mse); - throw mse;} - - // InternalApplicationConfiguration.g:4291:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* - loop2: - do { - int alt2=2; - int LA2_0 = input.LA(1); - - if ( ((LA2_0>='0' && LA2_0<='9')||(LA2_0>='A' && LA2_0<='Z')||LA2_0=='_'||(LA2_0>='a' && LA2_0<='z')) ) { - alt2=1; - } - - - switch (alt2) { - case 1 : - // InternalApplicationConfiguration.g: - { - if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) { - input.consume(); - - } - else { - MismatchedSetException mse = new MismatchedSetException(null,input); - recover(mse); - throw mse;} - - - } - break; - - default : - break loop2; - } - } while (true); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "RULE_ID" - - // $ANTLR start "RULE_INT" - public final void mRULE_INT() throws RecognitionException { - try { - int _type = RULE_INT; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:4293:10: ( ( '0' .. '9' )+ ) - // InternalApplicationConfiguration.g:4293:12: ( '0' .. '9' )+ - { - // InternalApplicationConfiguration.g:4293:12: ( '0' .. '9' )+ - int cnt3=0; - loop3: - do { - int alt3=2; - int LA3_0 = input.LA(1); - - if ( ((LA3_0>='0' && LA3_0<='9')) ) { - alt3=1; - } - - - switch (alt3) { - case 1 : - // InternalApplicationConfiguration.g:4293:13: '0' .. '9' - { - matchRange('0','9'); - - } - break; - - default : - if ( cnt3 >= 1 ) break loop3; - EarlyExitException eee = - new EarlyExitException(3, input); - throw eee; - } - cnt3++; - } while (true); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "RULE_INT" - - // $ANTLR start "RULE_STRING" - public final void mRULE_STRING() throws RecognitionException { - try { - int _type = RULE_STRING; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:4295:13: ( ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) ) - // InternalApplicationConfiguration.g:4295:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) - { - // InternalApplicationConfiguration.g:4295:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) - int alt6=2; - int LA6_0 = input.LA(1); - - if ( (LA6_0=='\"') ) { - alt6=1; - } - else if ( (LA6_0=='\'') ) { - alt6=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 6, 0, input); - - throw nvae; - } - switch (alt6) { - case 1 : - // InternalApplicationConfiguration.g:4295:16: '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' - { - match('\"'); - // InternalApplicationConfiguration.g:4295:20: ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* - loop4: - do { - int alt4=3; - int LA4_0 = input.LA(1); - - if ( (LA4_0=='\\') ) { - alt4=1; - } - else if ( ((LA4_0>='\u0000' && LA4_0<='!')||(LA4_0>='#' && LA4_0<='[')||(LA4_0>=']' && LA4_0<='\uFFFF')) ) { - alt4=2; - } - - - switch (alt4) { - case 1 : - // InternalApplicationConfiguration.g:4295:21: '\\\\' . - { - match('\\'); - matchAny(); - - } - break; - case 2 : - // InternalApplicationConfiguration.g:4295:28: ~ ( ( '\\\\' | '\"' ) ) - { - if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { - input.consume(); - - } - else { - MismatchedSetException mse = new MismatchedSetException(null,input); - recover(mse); - throw mse;} - - - } - break; - - default : - break loop4; - } - } while (true); - - match('\"'); - - } - break; - case 2 : - // InternalApplicationConfiguration.g:4295:48: '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' - { - match('\''); - // InternalApplicationConfiguration.g:4295:53: ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* - loop5: - do { - int alt5=3; - int LA5_0 = input.LA(1); - - if ( (LA5_0=='\\') ) { - alt5=1; - } - else if ( ((LA5_0>='\u0000' && LA5_0<='&')||(LA5_0>='(' && LA5_0<='[')||(LA5_0>=']' && LA5_0<='\uFFFF')) ) { - alt5=2; - } - - - switch (alt5) { - case 1 : - // InternalApplicationConfiguration.g:4295:54: '\\\\' . - { - match('\\'); - matchAny(); - - } - break; - case 2 : - // InternalApplicationConfiguration.g:4295:61: ~ ( ( '\\\\' | '\\'' ) ) - { - if ( (input.LA(1)>='\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { - input.consume(); - - } - else { - MismatchedSetException mse = new MismatchedSetException(null,input); - recover(mse); - throw mse;} - - - } - break; - - default : - break loop5; - } - } while (true); - - match('\''); - - } - break; - - } - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "RULE_STRING" - - // $ANTLR start "RULE_ML_COMMENT" - public final void mRULE_ML_COMMENT() throws RecognitionException { - try { - int _type = RULE_ML_COMMENT; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:4297:17: ( '/*' ( options {greedy=false; } : . )* '*/' ) - // InternalApplicationConfiguration.g:4297:19: '/*' ( options {greedy=false; } : . )* '*/' - { - match("/*"); - - // InternalApplicationConfiguration.g:4297:24: ( options {greedy=false; } : . )* - loop7: - do { - int alt7=2; - int LA7_0 = input.LA(1); - - if ( (LA7_0=='*') ) { - int LA7_1 = input.LA(2); - - if ( (LA7_1=='/') ) { - alt7=2; - } - else if ( ((LA7_1>='\u0000' && LA7_1<='.')||(LA7_1>='0' && LA7_1<='\uFFFF')) ) { - alt7=1; - } - - - } - else if ( ((LA7_0>='\u0000' && LA7_0<=')')||(LA7_0>='+' && LA7_0<='\uFFFF')) ) { - alt7=1; - } - - - switch (alt7) { - case 1 : - // InternalApplicationConfiguration.g:4297:52: . - { - matchAny(); - - } - break; - - default : - break loop7; - } - } while (true); - - match("*/"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "RULE_ML_COMMENT" - - // $ANTLR start "RULE_SL_COMMENT" - public final void mRULE_SL_COMMENT() throws RecognitionException { - try { - int _type = RULE_SL_COMMENT; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:4299:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? ) - // InternalApplicationConfiguration.g:4299:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? - { - match("//"); - - // InternalApplicationConfiguration.g:4299:24: (~ ( ( '\\n' | '\\r' ) ) )* - loop8: - do { - int alt8=2; - int LA8_0 = input.LA(1); - - if ( ((LA8_0>='\u0000' && LA8_0<='\t')||(LA8_0>='\u000B' && LA8_0<='\f')||(LA8_0>='\u000E' && LA8_0<='\uFFFF')) ) { - alt8=1; - } - - - switch (alt8) { - case 1 : - // InternalApplicationConfiguration.g:4299:24: ~ ( ( '\\n' | '\\r' ) ) - { - if ( (input.LA(1)>='\u0000' && input.LA(1)<='\t')||(input.LA(1)>='\u000B' && input.LA(1)<='\f')||(input.LA(1)>='\u000E' && input.LA(1)<='\uFFFF') ) { - input.consume(); - - } - else { - MismatchedSetException mse = new MismatchedSetException(null,input); - recover(mse); - throw mse;} - - - } - break; - - default : - break loop8; - } - } while (true); - - // InternalApplicationConfiguration.g:4299:40: ( ( '\\r' )? '\\n' )? - int alt10=2; - int LA10_0 = input.LA(1); - - if ( (LA10_0=='\n'||LA10_0=='\r') ) { - alt10=1; - } - switch (alt10) { - case 1 : - // InternalApplicationConfiguration.g:4299:41: ( '\\r' )? '\\n' - { - // InternalApplicationConfiguration.g:4299:41: ( '\\r' )? - int alt9=2; - int LA9_0 = input.LA(1); - - if ( (LA9_0=='\r') ) { - alt9=1; - } - switch (alt9) { - case 1 : - // InternalApplicationConfiguration.g:4299:41: '\\r' - { - match('\r'); - - } - break; - - } - - match('\n'); - - } - break; - - } - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "RULE_SL_COMMENT" - - // $ANTLR start "RULE_WS" - public final void mRULE_WS() throws RecognitionException { - try { - int _type = RULE_WS; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:4301:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ ) - // InternalApplicationConfiguration.g:4301:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ - { - // InternalApplicationConfiguration.g:4301:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ - int cnt11=0; - loop11: - do { - int alt11=2; - int LA11_0 = input.LA(1); - - if ( ((LA11_0>='\t' && LA11_0<='\n')||LA11_0=='\r'||LA11_0==' ') ) { - alt11=1; - } - - - switch (alt11) { - case 1 : - // InternalApplicationConfiguration.g: - { - if ( (input.LA(1)>='\t' && input.LA(1)<='\n')||input.LA(1)=='\r'||input.LA(1)==' ' ) { - input.consume(); - - } - else { - MismatchedSetException mse = new MismatchedSetException(null,input); - recover(mse); - throw mse;} - - - } - break; - - default : - if ( cnt11 >= 1 ) break loop11; - EarlyExitException eee = - new EarlyExitException(11, input); - throw eee; - } - cnt11++; - } while (true); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "RULE_WS" - - // $ANTLR start "RULE_ANY_OTHER" - public final void mRULE_ANY_OTHER() throws RecognitionException { - try { - int _type = RULE_ANY_OTHER; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:4303:16: ( . ) - // InternalApplicationConfiguration.g:4303:18: . - { - matchAny(); - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "RULE_ANY_OTHER" - - public void mTokens() throws RecognitionException { - // InternalApplicationConfiguration.g:1:8: ( T__11 | T__12 | T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | 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 | T__51 | T__52 | T__53 | T__54 | T__55 | T__56 | T__57 | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER ) - int alt12=54; - alt12 = dfa12.predict(input); - switch (alt12) { - case 1 : - // InternalApplicationConfiguration.g:1:10: T__11 - { - mT__11(); - - } - break; - case 2 : - // InternalApplicationConfiguration.g:1:16: T__12 - { - mT__12(); - - } - break; - case 3 : - // InternalApplicationConfiguration.g:1:22: T__13 - { - mT__13(); - - } - break; - case 4 : - // InternalApplicationConfiguration.g:1:28: T__14 - { - mT__14(); - - } - break; - case 5 : - // InternalApplicationConfiguration.g:1:34: T__15 - { - mT__15(); - - } - break; - case 6 : - // InternalApplicationConfiguration.g:1:40: T__16 - { - mT__16(); - - } - break; - case 7 : - // InternalApplicationConfiguration.g:1:46: T__17 - { - mT__17(); - - } - break; - case 8 : - // InternalApplicationConfiguration.g:1:52: T__18 - { - mT__18(); - - } - break; - case 9 : - // InternalApplicationConfiguration.g:1:58: T__19 - { - mT__19(); - - } - break; - case 10 : - // InternalApplicationConfiguration.g:1:64: T__20 - { - mT__20(); - - } - break; - case 11 : - // InternalApplicationConfiguration.g:1:70: T__21 - { - mT__21(); - - } - break; - case 12 : - // InternalApplicationConfiguration.g:1:76: T__22 - { - mT__22(); - - } - break; - case 13 : - // InternalApplicationConfiguration.g:1:82: T__23 - { - mT__23(); - - } - break; - case 14 : - // InternalApplicationConfiguration.g:1:88: T__24 - { - mT__24(); - - } - break; - case 15 : - // InternalApplicationConfiguration.g:1:94: T__25 - { - mT__25(); - - } - break; - case 16 : - // InternalApplicationConfiguration.g:1:100: T__26 - { - mT__26(); - - } - break; - case 17 : - // InternalApplicationConfiguration.g:1:106: T__27 - { - mT__27(); - - } - break; - case 18 : - // InternalApplicationConfiguration.g:1:112: T__28 - { - mT__28(); - - } - break; - case 19 : - // InternalApplicationConfiguration.g:1:118: T__29 - { - mT__29(); - - } - break; - case 20 : - // InternalApplicationConfiguration.g:1:124: T__30 - { - mT__30(); - - } - break; - case 21 : - // InternalApplicationConfiguration.g:1:130: T__31 - { - mT__31(); - - } - break; - case 22 : - // InternalApplicationConfiguration.g:1:136: T__32 - { - mT__32(); - - } - break; - case 23 : - // InternalApplicationConfiguration.g:1:142: T__33 - { - mT__33(); - - } - break; - case 24 : - // InternalApplicationConfiguration.g:1:148: T__34 - { - mT__34(); - - } - break; - case 25 : - // InternalApplicationConfiguration.g:1:154: T__35 - { - mT__35(); - - } - break; - case 26 : - // InternalApplicationConfiguration.g:1:160: T__36 - { - mT__36(); - - } - break; - case 27 : - // InternalApplicationConfiguration.g:1:166: T__37 - { - mT__37(); - - } - break; - case 28 : - // InternalApplicationConfiguration.g:1:172: T__38 - { - mT__38(); - - } - break; - case 29 : - // InternalApplicationConfiguration.g:1:178: T__39 - { - mT__39(); - - } - break; - case 30 : - // InternalApplicationConfiguration.g:1:184: T__40 - { - mT__40(); - - } - break; - case 31 : - // InternalApplicationConfiguration.g:1:190: T__41 - { - mT__41(); - - } - break; - case 32 : - // InternalApplicationConfiguration.g:1:196: T__42 - { - mT__42(); - - } - break; - case 33 : - // InternalApplicationConfiguration.g:1:202: T__43 - { - mT__43(); - - } - break; - case 34 : - // InternalApplicationConfiguration.g:1:208: T__44 - { - mT__44(); - - } - break; - case 35 : - // InternalApplicationConfiguration.g:1:214: T__45 - { - mT__45(); - - } - break; - case 36 : - // InternalApplicationConfiguration.g:1:220: T__46 - { - mT__46(); - - } - break; - case 37 : - // InternalApplicationConfiguration.g:1:226: T__47 - { - mT__47(); - - } - break; - case 38 : - // InternalApplicationConfiguration.g:1:232: T__48 - { - mT__48(); - - } - break; - case 39 : - // InternalApplicationConfiguration.g:1:238: T__49 - { - mT__49(); - - } - break; - case 40 : - // InternalApplicationConfiguration.g:1:244: T__50 - { - mT__50(); - - } - break; - case 41 : - // InternalApplicationConfiguration.g:1:250: T__51 - { - mT__51(); - - } - break; - case 42 : - // InternalApplicationConfiguration.g:1:256: T__52 - { - mT__52(); - - } - break; - case 43 : - // InternalApplicationConfiguration.g:1:262: T__53 - { - mT__53(); - - } - break; - case 44 : - // InternalApplicationConfiguration.g:1:268: T__54 - { - mT__54(); - - } - break; - case 45 : - // InternalApplicationConfiguration.g:1:274: T__55 - { - mT__55(); - - } - break; - case 46 : - // InternalApplicationConfiguration.g:1:280: T__56 - { - mT__56(); - - } - break; - case 47 : - // InternalApplicationConfiguration.g:1:286: T__57 - { - mT__57(); - - } - break; - case 48 : - // InternalApplicationConfiguration.g:1:292: RULE_ID - { - mRULE_ID(); - - } - break; - case 49 : - // InternalApplicationConfiguration.g:1:300: RULE_INT - { - mRULE_INT(); - - } - break; - case 50 : - // InternalApplicationConfiguration.g:1:309: RULE_STRING - { - mRULE_STRING(); - - } - break; - case 51 : - // InternalApplicationConfiguration.g:1:321: RULE_ML_COMMENT - { - mRULE_ML_COMMENT(); - - } - break; - case 52 : - // InternalApplicationConfiguration.g:1:337: RULE_SL_COMMENT - { - mRULE_SL_COMMENT(); - - } - break; - case 53 : - // InternalApplicationConfiguration.g:1:353: RULE_WS - { - mRULE_WS(); - - } - break; - case 54 : - // InternalApplicationConfiguration.g:1:361: RULE_ANY_OTHER - { - mRULE_ANY_OTHER(); - - } - break; - - } - - } - - - protected DFA12 dfa12 = new DFA12(this); - static final String DFA12_eotS = - "\1\uffff\1\47\1\uffff\4\53\4\uffff\1\53\1\45\4\53\1\uffff\1\45\2\uffff\2\53\1\uffff\6\53\1\45\2\uffff\3\45\5\uffff\2\53\1\uffff\6\53\4\uffff\1\53\1\uffff\6\53\4\uffff\5\53\1\uffff\6\53\5\uffff\1\53\1\163\14\53\1\u0082\21\53\1\uffff\3\53\1\u0098\1\53\1\u009a\7\53\2\uffff\1\53\1\u00a3\1\u00a4\1\u00a5\1\u00a6\20\53\1\uffff\1\53\1\uffff\10\53\4\uffff\4\53\1\u00c4\2\53\1\u00c7\4\53\1\u00cc\2\53\1\u00cf\1\u00d0\3\53\1\u00d4\1\u00d5\1\53\1\u00d7\1\53\1\u00d9\1\u00da\1\u00db\1\53\1\uffff\1\u00dd\1\53\1\uffff\1\u00df\3\53\1\uffff\2\53\2\uffff\1\u00e5\2\53\2\uffff\1\53\1\uffff\1\u00e9\3\uffff\1\53\1\uffff\1\53\1\uffff\3\53\1\u00ef\1\53\2\uffff\2\53\1\uffff\1\53\1\u00f4\3\53\1\uffff\1\u00f8\1\u00f9\2\53\1\uffff\1\u00fc\2\53\2\uffff\1\53\1\u0100\1\uffff\2\53\1\u0103\1\uffff\1\u0104\1\53\2\uffff\1\u0106\1\uffff"; - static final String DFA12_eofS = - "\u0107\uffff"; - static final String DFA12_minS = - "\1\0\1\56\1\uffff\1\155\1\160\2\151\4\uffff\1\141\1\72\1\145\2\157\1\145\1\uffff\1\75\2\uffff\1\157\1\143\1\uffff\2\145\1\165\1\115\1\154\1\151\1\101\2\uffff\2\0\1\52\5\uffff\1\160\1\164\1\uffff\1\141\1\143\1\141\3\154\4\uffff\1\143\1\uffff\1\155\1\144\1\156\1\147\1\156\1\141\4\uffff\1\144\1\155\1\141\1\157\1\154\1\uffff\1\156\1\142\1\164\1\124\1\154\1\141\5\uffff\1\157\1\60\1\143\1\154\1\164\1\145\1\144\1\154\1\153\1\164\1\141\1\157\1\145\1\146\1\55\1\163\1\154\2\145\1\155\1\142\1\151\1\164\1\160\1\166\1\145\1\165\1\160\1\123\1\157\1\164\1\162\1\uffff\1\153\1\165\1\162\1\60\1\145\1\60\1\141\1\151\1\155\1\162\1\154\1\164\1\151\2\uffff\1\151\4\60\1\141\1\145\1\156\1\151\2\145\1\162\1\147\1\165\1\157\1\171\1\162\1\164\1\141\1\144\1\141\1\uffff\1\162\1\uffff\1\147\1\141\1\157\1\171\1\163\1\162\1\147\1\155\4\uffff\1\154\1\162\1\147\1\163\1\60\1\162\1\141\1\60\1\164\1\154\1\123\1\141\1\60\1\147\1\151\2\60\1\145\1\154\1\144\2\60\1\141\1\60\1\145\3\60\1\164\1\uffff\1\60\1\164\1\uffff\1\60\1\166\1\157\1\123\1\uffff\1\145\1\156\2\uffff\1\60\1\55\1\145\2\uffff\1\151\1\uffff\1\60\3\uffff\1\151\1\uffff\1\145\1\uffff\1\145\1\154\1\157\1\60\1\147\2\uffff\1\154\1\156\1\uffff\1\143\1\60\1\162\1\166\1\154\1\uffff\2\60\1\164\1\163\1\uffff\1\60\1\145\1\166\2\uffff\1\163\1\60\1\uffff\1\162\1\145\1\60\1\uffff\1\60\1\162\2\uffff\1\60\1\uffff"; - static final String DFA12_maxS = - "\1\uffff\1\56\1\uffff\1\156\1\170\1\151\1\165\4\uffff\1\141\1\72\3\157\1\165\1\uffff\1\75\2\uffff\1\165\1\164\1\uffff\2\145\1\165\1\115\1\154\1\151\1\172\2\uffff\2\uffff\1\57\5\uffff\1\160\1\164\1\uffff\1\141\1\143\1\141\3\154\4\uffff\1\162\1\uffff\1\164\1\144\1\156\1\147\1\156\1\141\4\uffff\1\162\1\155\1\162\1\157\1\154\1\uffff\1\156\1\142\1\164\1\124\1\154\1\141\5\uffff\1\157\1\172\1\143\1\154\1\164\1\145\1\144\1\154\1\153\1\164\1\141\1\157\1\145\1\163\1\172\1\164\1\154\2\145\1\155\1\142\1\151\1\164\1\160\1\166\1\145\1\165\1\160\1\123\1\157\1\164\1\162\1\uffff\1\153\1\165\1\162\1\172\1\145\1\172\1\141\1\151\1\155\1\162\1\154\1\164\1\151\2\uffff\1\151\4\172\1\141\1\145\1\156\1\151\2\145\1\162\1\147\1\165\1\157\1\171\1\162\1\164\1\141\1\144\1\141\1\uffff\1\162\1\uffff\1\147\1\141\1\157\1\171\1\163\1\162\1\147\1\155\4\uffff\1\154\1\162\1\147\1\163\1\172\1\162\1\141\1\172\1\164\1\154\1\123\1\141\1\172\1\147\1\151\2\172\1\145\1\154\1\144\2\172\1\141\1\172\1\145\3\172\1\164\1\uffff\1\172\1\164\1\uffff\1\172\1\166\1\157\1\123\1\uffff\1\145\1\156\2\uffff\1\172\1\55\1\145\2\uffff\1\151\1\uffff\1\172\3\uffff\1\151\1\uffff\1\145\1\uffff\1\145\1\154\1\157\1\172\1\147\2\uffff\1\154\1\156\1\uffff\1\143\1\172\1\162\1\166\1\154\1\uffff\2\172\1\164\1\163\1\uffff\1\172\1\145\1\166\2\uffff\1\163\1\172\1\uffff\1\162\1\145\1\172\1\uffff\1\172\1\162\2\uffff\1\172\1\uffff"; - static final String DFA12_acceptS = - "\2\uffff\1\2\4\uffff\1\7\1\10\1\11\1\12\6\uffff\1\26\1\uffff\1\30\1\31\2\uffff\1\36\7\uffff\1\60\1\61\3\uffff\1\65\1\66\1\37\1\1\1\2\2\uffff\1\60\6\uffff\1\7\1\10\1\11\1\12\1\uffff\1\15\6\uffff\1\26\1\27\1\30\1\31\5\uffff\1\36\6\uffff\1\61\1\62\1\63\1\64\1\65\40\uffff\1\33\15\uffff\1\23\1\47\25\uffff\1\6\1\uffff\1\54\10\uffff\1\44\1\34\1\32\1\52\35\uffff\1\40\2\uffff\1\46\4\uffff\1\3\2\uffff\1\5\1\17\3\uffff\1\25\1\20\1\uffff\1\22\1\uffff\1\53\1\43\1\35\1\uffff\1\45\1\uffff\1\51\5\uffff\1\13\1\42\2\uffff\1\24\5\uffff\1\4\4\uffff\1\41\3\uffff\1\14\1\16\2\uffff\1\55\3\uffff\1\50\2\uffff\1\21\1\56\1\uffff\1\57"; - static final String DFA12_specialS = - "\1\1\40\uffff\1\2\1\0\u00e4\uffff}>"; - static final String[] DFA12_transitionS = { - "\11\45\2\44\2\45\1\44\22\45\1\44\1\45\1\41\1\21\3\45\1\42\2\45\1\27\1\22\1\11\1\2\1\1\1\43\12\40\1\14\1\45\1\23\1\7\1\24\2\45\1\34\21\37\1\33\2\37\1\35\4\37\3\45\1\36\1\37\1\45\2\37\1\16\1\31\1\4\1\6\1\30\1\37\1\3\2\37\1\17\1\15\1\25\1\32\1\13\1\37\1\20\1\26\2\37\1\5\4\37\1\10\1\45\1\12\uff82\45", - "\1\46", - "", - "\1\51\1\52", - "\1\54\7\uffff\1\55", - "\1\56", - "\1\57\5\uffff\1\60\5\uffff\1\61", - "", - "", - "", - "", - "\1\66", - "\1\67", - "\1\70\11\uffff\1\71", - "\1\72", - "\1\73", - "\1\75\17\uffff\1\74", - "", - "\1\77", - "", - "", - "\1\102\5\uffff\1\103", - "\1\105\13\uffff\1\106\4\uffff\1\104", - "", - "\1\110", - "\1\111", - "\1\112", - "\1\113", - "\1\114", - "\1\115", - "\32\53\4\uffff\1\53\1\uffff\32\53", - "", - "", - "\0\117", - "\0\117", - "\1\120\4\uffff\1\121", - "", - "", - "", - "", - "", - "\1\123", - "\1\124", - "", - "\1\125", - "\1\126", - "\1\127", - "\1\130", - "\1\131", - "\1\132", - "", - "", - "", - "", - "\1\133\16\uffff\1\134", - "", - "\1\136\6\uffff\1\135", - "\1\137", - "\1\140", - "\1\141", - "\1\142", - "\1\143", - "", - "", - "", - "", - "\1\144\11\uffff\1\145\3\uffff\1\146", - "\1\147", - "\1\151\20\uffff\1\150", - "\1\152", - "\1\153", - "", - "\1\154", - "\1\155", - "\1\156", - "\1\157", - "\1\160", - "\1\161", - "", - "", - "", - "", - "", - "\1\162", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", - "\1\164", - "\1\165", - "\1\166", - "\1\167", - "\1\170", - "\1\171", - "\1\172", - "\1\173", - "\1\174", - "\1\175", - "\1\176", - "\1\u0080\14\uffff\1\177", - "\1\u0081\2\uffff\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", - "\1\u0084\1\u0083", - "\1\u0085", - "\1\u0086", - "\1\u0087", - "\1\u0088", - "\1\u0089", - "\1\u008a", - "\1\u008b", - "\1\u008c", - "\1\u008d", - "\1\u008e", - "\1\u008f", - "\1\u0090", - "\1\u0091", - "\1\u0092", - "\1\u0093", - "\1\u0094", - "", - "\1\u0095", - "\1\u0096", - "\1\u0097", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", - "\1\u0099", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", - "\1\u009b", - "\1\u009c", - "\1\u009d", - "\1\u009e", - "\1\u009f", - "\1\u00a0", - "\1\u00a1", - "", - "", - "\1\u00a2", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", - "\1\u00a7", - "\1\u00a8", - "\1\u00a9", - "\1\u00aa", - "\1\u00ab", - "\1\u00ac", - "\1\u00ad", - "\1\u00ae", - "\1\u00af", - "\1\u00b0", - "\1\u00b1", - "\1\u00b2", - "\1\u00b3", - "\1\u00b4", - "\1\u00b5", - "\1\u00b6", - "", - "\1\u00b7", - "", - "\1\u00b8", - "\1\u00b9", - "\1\u00ba", - "\1\u00bb", - "\1\u00bc", - "\1\u00bd", - "\1\u00be", - "\1\u00bf", - "", - "", - "", - "", - "\1\u00c0", - "\1\u00c1", - "\1\u00c2", - "\1\u00c3", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", - "\1\u00c5", - "\1\u00c6", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", - "\1\u00c8", - "\1\u00c9", - "\1\u00ca", - "\1\u00cb", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", - "\1\u00cd", - "\1\u00ce", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", - "\1\u00d1", - "\1\u00d2", - "\1\u00d3", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", - "\1\u00d6", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", - "\1\u00d8", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", - "\1\u00dc", - "", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", - "\1\u00de", - "", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", - "\1\u00e0", - "\1\u00e1", - "\1\u00e2", - "", - "\1\u00e3", - "\1\u00e4", - "", - "", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", - "\1\u00e6", - "\1\u00e7", - "", - "", - "\1\u00e8", - "", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", - "", - "", - "", - "\1\u00ea", - "", - "\1\u00eb", - "", - "\1\u00ec", - "\1\u00ed", - "\1\u00ee", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", - "\1\u00f0", - "", - "", - "\1\u00f1", - "\1\u00f2", - "", - "\1\u00f3", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", - "\1\u00f5", - "\1\u00f6", - "\1\u00f7", - "", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", - "\1\u00fa", - "\1\u00fb", - "", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", - "\1\u00fd", - "\1\u00fe", - "", - "", - "\1\u00ff", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", - "", - "\1\u0101", - "\1\u0102", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", - "", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", - "\1\u0105", - "", - "", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", - "" - }; - - static final short[] DFA12_eot = DFA.unpackEncodedString(DFA12_eotS); - static final short[] DFA12_eof = DFA.unpackEncodedString(DFA12_eofS); - static final char[] DFA12_min = DFA.unpackEncodedStringToUnsignedChars(DFA12_minS); - static final char[] DFA12_max = DFA.unpackEncodedStringToUnsignedChars(DFA12_maxS); - static final short[] DFA12_accept = DFA.unpackEncodedString(DFA12_acceptS); - static final short[] DFA12_special = DFA.unpackEncodedString(DFA12_specialS); - static final short[][] DFA12_transition; - - static { - int numStates = DFA12_transitionS.length; - DFA12_transition = new short[numStates][]; - for (int i=0; i='\u0000' && LA12_34<='\uFFFF')) ) {s = 79;} - - else s = 37; - - if ( s>=0 ) return s; - break; - case 1 : - int LA12_0 = input.LA(1); - - s = -1; - if ( (LA12_0=='.') ) {s = 1;} - - else if ( (LA12_0=='-') ) {s = 2;} - - else if ( (LA12_0=='i') ) {s = 3;} - - else if ( (LA12_0=='e') ) {s = 4;} - - else if ( (LA12_0=='v') ) {s = 5;} - - else if ( (LA12_0=='f') ) {s = 6;} - - else if ( (LA12_0=='=') ) {s = 7;} - - else if ( (LA12_0=='{') ) {s = 8;} - - else if ( (LA12_0==',') ) {s = 9;} - - else if ( (LA12_0=='}') ) {s = 10;} - - else if ( (LA12_0=='p') ) {s = 11;} - - else if ( (LA12_0==':') ) {s = 12;} - - else if ( (LA12_0=='m') ) {s = 13;} - - else if ( (LA12_0=='c') ) {s = 14;} - - else if ( (LA12_0=='l') ) {s = 15;} - - else if ( (LA12_0=='r') ) {s = 16;} - - else if ( (LA12_0=='#') ) {s = 17;} - - else if ( (LA12_0=='+') ) {s = 18;} - - else if ( (LA12_0=='<') ) {s = 19;} - - else if ( (LA12_0=='>') ) {s = 20;} - - else if ( (LA12_0=='n') ) {s = 21;} - - else if ( (LA12_0=='s') ) {s = 22;} - - else if ( (LA12_0=='*') ) {s = 23;} - - else if ( (LA12_0=='g') ) {s = 24;} - - else if ( (LA12_0=='d') ) {s = 25;} - - else if ( (LA12_0=='o') ) {s = 26;} - - else if ( (LA12_0=='S') ) {s = 27;} - - else if ( (LA12_0=='A') ) {s = 28;} - - else if ( (LA12_0=='V') ) {s = 29;} - - else if ( (LA12_0=='^') ) {s = 30;} - - else if ( ((LA12_0>='B' && 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>='0' && LA12_0<='9')) ) {s = 32;} - - else if ( (LA12_0=='\"') ) {s = 33;} - - else if ( (LA12_0=='\'') ) {s = 34;} - - else if ( (LA12_0=='/') ) {s = 35;} - - else if ( ((LA12_0>='\t' && LA12_0<='\n')||LA12_0=='\r'||LA12_0==' ') ) {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<='\uFFFF')) ) {s = 37;} - - if ( s>=0 ) return s; - break; - case 2 : - int LA12_33 = input.LA(1); - - s = -1; - if ( ((LA12_33>='\u0000' && LA12_33<='\uFFFF')) ) {s = 79;} - - else s = 37; - - if ( s>=0 ) return s; - break; - } - NoViableAltException nvae = - new NoViableAltException(getDescription(), 12, _s, input); - error(nvae); - throw nvae; - } - } - - +package hu.bme.mit.inf.dslreasoner.application.parser.antlr.internal; + +// Hack: Use our own Lexer superclass by means of import. +// Currently there is no other way to specify the superclass for the lexer. +import org.eclipse.xtext.parser.antlr.Lexer; + + +import org.antlr.runtime.*; +import java.util.Stack; +import java.util.List; +import java.util.ArrayList; + +@SuppressWarnings("all") +public class InternalApplicationConfigurationLexer extends Lexer { + public static final int T__50=50; + public static final int T__19=19; + public static final int T__15=15; + public static final int T__59=59; + public static final int T__16=16; + public static final int T__17=17; + public static final int T__18=18; + public static final int T__11=11; + public static final int T__55=55; + public static final int T__12=12; + public static final int T__56=56; + public static final int T__13=13; + public static final int T__57=57; + public static final int T__14=14; + public static final int T__58=58; + public static final int T__51=51; + public static final int T__52=52; + public static final int T__53=53; + public static final int T__54=54; + public static final int T__60=60; + public static final int T__61=61; + public static final int RULE_ID=4; + public static final int T__26=26; + public static final int T__27=27; + public static final int T__28=28; + public static final int RULE_INT=5; + public static final int T__29=29; + public static final int T__22=22; + public static final int RULE_ML_COMMENT=7; + public static final int T__23=23; + public static final int T__24=24; + public static final int T__25=25; + public static final int T__62=62; + public static final int T__63=63; + public static final int T__20=20; + public static final int T__21=21; + public static final int RULE_STRING=6; + public static final int RULE_SL_COMMENT=8; + public static final int T__37=37; + public static final int T__38=38; + public static final int T__39=39; + public static final int T__33=33; + public static final int T__34=34; + public static final int T__35=35; + public static final int T__36=36; + public static final int EOF=-1; + public static final int T__30=30; + public static final int T__31=31; + public static final int T__32=32; + public static final int RULE_WS=9; + public static final int RULE_ANY_OTHER=10; + public static final int T__48=48; + public static final int T__49=49; + public static final int T__44=44; + public static final int T__45=45; + public static final int T__46=46; + public static final int T__47=47; + public static final int T__40=40; + public static final int T__41=41; + public static final int T__42=42; + public static final int T__43=43; + + // delegates + // delegators + + public InternalApplicationConfigurationLexer() {;} + public InternalApplicationConfigurationLexer(CharStream input) { + this(input, new RecognizerSharedState()); + } + public InternalApplicationConfigurationLexer(CharStream input, RecognizerSharedState state) { + super(input,state); + + } + public String getGrammarFileName() { return "InternalApplicationConfiguration.g"; } + + // $ANTLR start "T__11" + public final void mT__11() throws RecognitionException { + try { + int _type = T__11; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:11:7: ( '.' ) + // InternalApplicationConfiguration.g:11:9: '.' + { + match('.'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__11" + + // $ANTLR start "T__12" + public final void mT__12() throws RecognitionException { + try { + int _type = T__12; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:12:7: ( '-' ) + // InternalApplicationConfiguration.g:12:9: '-' + { + match('-'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__12" + + // $ANTLR start "T__13" + public final void mT__13() throws RecognitionException { + try { + int _type = T__13; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:13:7: ( 'import' ) + // InternalApplicationConfiguration.g:13:9: 'import' + { + match("import"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__13" + + // $ANTLR start "T__14" + public final void mT__14() throws RecognitionException { + try { + int _type = T__14; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:14:7: ( 'epackage' ) + // InternalApplicationConfiguration.g:14:9: 'epackage' + { + match("epackage"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__14" + + // $ANTLR start "T__15" + public final void mT__15() throws RecognitionException { + try { + int _type = T__15; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:15:7: ( 'viatra' ) + // InternalApplicationConfiguration.g:15:9: 'viatra' + { + match("viatra"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__15" + + // $ANTLR start "T__16" + public final void mT__16() throws RecognitionException { + try { + int _type = T__16; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:16:7: ( 'reliability' ) + // InternalApplicationConfiguration.g:16:9: 'reliability' + { + match("reliability"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__16" + + // $ANTLR start "T__17" + public final void mT__17() throws RecognitionException { + try { + int _type = T__17; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:17:7: ( 'file' ) + // InternalApplicationConfiguration.g:17:9: 'file' + { + match("file"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__17" + + // $ANTLR start "T__18" + public final void mT__18() throws RecognitionException { + try { + int _type = T__18; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:18:7: ( '=' ) + // InternalApplicationConfiguration.g:18:9: '=' + { + match('='); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__18" + + // $ANTLR start "T__19" + public final void mT__19() throws RecognitionException { + try { + int _type = T__19; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:19:7: ( '{' ) + // InternalApplicationConfiguration.g:19:9: '{' + { + match('{'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__19" + + // $ANTLR start "T__20" + public final void mT__20() throws RecognitionException { + try { + int _type = T__20; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:20:7: ( ',' ) + // InternalApplicationConfiguration.g:20:9: ',' + { + match(','); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__20" + + // $ANTLR start "T__21" + public final void mT__21() throws RecognitionException { + try { + int _type = T__21; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:21:7: ( '}' ) + // InternalApplicationConfiguration.g:21:9: '}' + { + match('}'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__21" + + // $ANTLR start "T__22" + public final void mT__22() throws RecognitionException { + try { + int _type = T__22; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:22:7: ( 'package' ) + // InternalApplicationConfiguration.g:22:9: 'package' + { + match("package"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__22" + + // $ANTLR start "T__23" + public final void mT__23() throws RecognitionException { + try { + int _type = T__23; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:23:7: ( 'excluding' ) + // InternalApplicationConfiguration.g:23:9: 'excluding' + { + match("excluding"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__23" + + // $ANTLR start "T__24" + public final void mT__24() throws RecognitionException { + try { + int _type = T__24; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:24:7: ( '::' ) + // InternalApplicationConfiguration.g:24:9: '::' + { + match("::"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__24" + + // $ANTLR start "T__25" + public final void mT__25() throws RecognitionException { + try { + int _type = T__25; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:25:7: ( 'metamodel' ) + // InternalApplicationConfiguration.g:25:9: 'metamodel' + { + match("metamodel"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__25" + + // $ANTLR start "T__26" + public final void mT__26() throws RecognitionException { + try { + int _type = T__26; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:26:7: ( 'folder' ) + // InternalApplicationConfiguration.g:26:9: 'folder' + { + match("folder"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__26" + + // $ANTLR start "T__27" + public final void mT__27() throws RecognitionException { + try { + int _type = T__27; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:27:7: ( 'models' ) + // InternalApplicationConfiguration.g:27:9: 'models' + { + match("models"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__27" + + // $ANTLR start "T__28" + public final void mT__28() throws RecognitionException { + try { + int _type = T__28; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:28:7: ( 'constraints' ) + // InternalApplicationConfiguration.g:28:9: 'constraints' + { + match("constraints"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__28" + + // $ANTLR start "T__29" + public final void mT__29() throws RecognitionException { + try { + int _type = T__29; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:29:7: ( 'objectives' ) + // InternalApplicationConfiguration.g:29:9: 'objectives' + { + match("objectives"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__29" + + // $ANTLR start "T__30" + public final void mT__30() throws RecognitionException { + try { + int _type = T__30; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:30:7: ( 'config' ) + // InternalApplicationConfiguration.g:30:9: 'config' + { + match("config"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__30" + + // $ANTLR start "T__31" + public final void mT__31() throws RecognitionException { + try { + int _type = T__31; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:31:7: ( 'log-level' ) + // InternalApplicationConfiguration.g:31:9: 'log-level' + { + match("log-level"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__31" + + // $ANTLR start "T__32" + public final void mT__32() throws RecognitionException { + try { + int _type = T__32; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:32:7: ( 'runtime' ) + // InternalApplicationConfiguration.g:32:9: 'runtime' + { + match("runtime"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__32" + + // $ANTLR start "T__33" + public final void mT__33() throws RecognitionException { + try { + int _type = T__33; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:33:7: ( 'memory' ) + // InternalApplicationConfiguration.g:33:9: 'memory' + { + match("memory"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__33" + + // $ANTLR start "T__34" + public final void mT__34() throws RecognitionException { + try { + int _type = T__34; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:34:7: ( '#' ) + // InternalApplicationConfiguration.g:34:9: '#' + { + match('#'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__34" + + // $ANTLR start "T__35" + public final void mT__35() throws RecognitionException { + try { + int _type = T__35; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:35:7: ( '+=' ) + // InternalApplicationConfiguration.g:35:9: '+=' + { + match("+="); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__35" + + // $ANTLR start "T__36" + public final void mT__36() throws RecognitionException { + try { + int _type = T__36; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:36:7: ( '<' ) + // InternalApplicationConfiguration.g:36:9: '<' + { + match('<'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__36" + + // $ANTLR start "T__37" + public final void mT__37() throws RecognitionException { + try { + int _type = T__37; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:37:7: ( '>' ) + // InternalApplicationConfiguration.g:37:9: '>' + { + match('>'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__37" + + // $ANTLR start "T__38" + public final void mT__38() throws RecognitionException { + try { + int _type = T__38; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:38:7: ( 'node' ) + // InternalApplicationConfiguration.g:38:9: 'node' + { + match("node"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__38" + + // $ANTLR start "T__39" + public final void mT__39() throws RecognitionException { + try { + int _type = T__39; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:39:7: ( 'int' ) + // InternalApplicationConfiguration.g:39:9: 'int' + { + match("int"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__39" + + // $ANTLR start "T__40" + public final void mT__40() throws RecognitionException { + try { + int _type = T__40; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:40:7: ( 'real' ) + // InternalApplicationConfiguration.g:40:9: 'real' + { + match("real"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__40" + + // $ANTLR start "T__41" + public final void mT__41() throws RecognitionException { + try { + int _type = T__41; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:41:7: ( 'string' ) + // InternalApplicationConfiguration.g:41:9: 'string' + { + match("string"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__41" + + // $ANTLR start "T__42" + public final void mT__42() throws RecognitionException { + try { + int _type = T__42; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:42:7: ( '*' ) + // InternalApplicationConfiguration.g:42:9: '*' + { + match('*'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__42" + + // $ANTLR start "T__43" + public final void mT__43() throws RecognitionException { + try { + int _type = T__43; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:43:7: ( '..' ) + // InternalApplicationConfiguration.g:43:9: '..' + { + match(".."); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__43" + + // $ANTLR start "T__44" + public final void mT__44() throws RecognitionException { + try { + int _type = T__44; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:44:7: ( 'scope' ) + // InternalApplicationConfiguration.g:44:9: 'scope' + { + match("scope"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__44" + + // $ANTLR start "T__45" + public final void mT__45() throws RecognitionException { + try { + int _type = T__45; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:45:7: ( 'generate' ) + // InternalApplicationConfiguration.g:45:9: 'generate' + { + match("generate"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__45" + + // $ANTLR start "T__46" + public final void mT__46() throws RecognitionException { + try { + int _type = T__46; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:46:7: ( 'partial-model' ) + // InternalApplicationConfiguration.g:46:9: 'partial-model' + { + match("partial-model"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__46" + + // $ANTLR start "T__47" + public final void mT__47() throws RecognitionException { + try { + int _type = T__47; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:47:7: ( 'number' ) + // InternalApplicationConfiguration.g:47:9: 'number' + { + match("number"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__47" + + // $ANTLR start "T__48" + public final void mT__48() throws RecognitionException { + try { + int _type = T__48; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:48:7: ( 'runs' ) + // InternalApplicationConfiguration.g:48:9: 'runs' + { + match("runs"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $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: ( 'solver' ) + // InternalApplicationConfiguration.g:49:9: 'solver' + { + match("solver"); + + + } + + 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: ( 'debug' ) + // InternalApplicationConfiguration.g:50:9: 'debug' + { + match("debug"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__50" + + // $ANTLR start "T__51" + public final void mT__51() throws RecognitionException { + try { + int _type = T__51; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:51:7: ( 'log' ) + // InternalApplicationConfiguration.g:51:9: 'log' + { + match("log"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__51" + + // $ANTLR start "T__52" + public final void mT__52() throws RecognitionException { + try { + int _type = T__52; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:52:7: ( 'statistics' ) + // InternalApplicationConfiguration.g:52:9: 'statistics' + { + match("statistics"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__52" + + // $ANTLR start "T__53" + public final void mT__53() throws RecognitionException { + try { + int _type = T__53; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:53:7: ( 'output' ) + // InternalApplicationConfiguration.g:53:9: 'output' + { + match("output"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__53" + + // $ANTLR start "T__54" + public final void mT__54() throws RecognitionException { + try { + int _type = T__54; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:54:7: ( 'minimize' ) + // InternalApplicationConfiguration.g:54:9: 'minimize' + { + match("minimize"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__54" + + // $ANTLR start "T__55" + public final void mT__55() throws RecognitionException { + try { + int _type = T__55; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:55:7: ( 'maximize' ) + // InternalApplicationConfiguration.g:55:9: 'maximize' + { + match("maximize"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__55" + + // $ANTLR start "T__56" + public final void mT__56() throws RecognitionException { + try { + int _type = T__56; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:56:7: ( '<=' ) + // InternalApplicationConfiguration.g:56:9: '<=' + { + match("<="); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__56" + + // $ANTLR start "T__57" + public final void mT__57() throws RecognitionException { + try { + int _type = T__57; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:57:7: ( '>=' ) + // InternalApplicationConfiguration.g:57:9: '>=' + { + match(">="); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__57" + + // $ANTLR start "T__58" + public final void mT__58() throws RecognitionException { + try { + int _type = T__58; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:58:7: ( 'none' ) + // InternalApplicationConfiguration.g:58:9: 'none' + { + match("none"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__58" + + // $ANTLR start "T__59" + public final void mT__59() throws RecognitionException { + try { + int _type = T__59; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:59:7: ( 'normal' ) + // InternalApplicationConfiguration.g:59:9: 'normal' + { + match("normal"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__59" + + // $ANTLR start "T__60" + public final void mT__60() throws RecognitionException { + try { + int _type = T__60; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:60:7: ( 'full' ) + // InternalApplicationConfiguration.g:60:9: 'full' + { + match("full"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__60" + + // $ANTLR start "T__61" + public final void mT__61() throws RecognitionException { + try { + int _type = T__61; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:61:7: ( 'SMTSolver' ) + // InternalApplicationConfiguration.g:61:9: 'SMTSolver' + { + match("SMTSolver"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__61" + + // $ANTLR start "T__62" + public final void mT__62() throws RecognitionException { + try { + int _type = T__62; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:62:7: ( 'AlloySolver' ) + // InternalApplicationConfiguration.g:62:9: 'AlloySolver' + { + match("AlloySolver"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__62" + + // $ANTLR start "T__63" + public final void mT__63() throws RecognitionException { + try { + int _type = T__63; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:63:7: ( 'ViatraSolver' ) + // InternalApplicationConfiguration.g:63:9: 'ViatraSolver' + { + match("ViatraSolver"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__63" + + // $ANTLR start "RULE_ID" + public final void mRULE_ID() throws RecognitionException { + try { + int _type = RULE_ID; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:4890:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* ) + // InternalApplicationConfiguration.g:4890:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* + { + // InternalApplicationConfiguration.g:4890:11: ( '^' )? + int alt1=2; + int LA1_0 = input.LA(1); + + if ( (LA1_0=='^') ) { + alt1=1; + } + switch (alt1) { + case 1 : + // InternalApplicationConfiguration.g:4890:11: '^' + { + match('^'); + + } + break; + + } + + if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) { + input.consume(); + + } + else { + MismatchedSetException mse = new MismatchedSetException(null,input); + recover(mse); + throw mse;} + + // InternalApplicationConfiguration.g:4890:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* + loop2: + do { + int alt2=2; + int LA2_0 = input.LA(1); + + if ( ((LA2_0>='0' && LA2_0<='9')||(LA2_0>='A' && LA2_0<='Z')||LA2_0=='_'||(LA2_0>='a' && LA2_0<='z')) ) { + alt2=1; + } + + + switch (alt2) { + case 1 : + // InternalApplicationConfiguration.g: + { + if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) { + input.consume(); + + } + else { + MismatchedSetException mse = new MismatchedSetException(null,input); + recover(mse); + throw mse;} + + + } + break; + + default : + break loop2; + } + } while (true); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "RULE_ID" + + // $ANTLR start "RULE_INT" + public final void mRULE_INT() throws RecognitionException { + try { + int _type = RULE_INT; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:4892:10: ( ( '0' .. '9' )+ ) + // InternalApplicationConfiguration.g:4892:12: ( '0' .. '9' )+ + { + // InternalApplicationConfiguration.g:4892:12: ( '0' .. '9' )+ + int cnt3=0; + loop3: + do { + int alt3=2; + int LA3_0 = input.LA(1); + + if ( ((LA3_0>='0' && LA3_0<='9')) ) { + alt3=1; + } + + + switch (alt3) { + case 1 : + // InternalApplicationConfiguration.g:4892:13: '0' .. '9' + { + matchRange('0','9'); + + } + break; + + default : + if ( cnt3 >= 1 ) break loop3; + EarlyExitException eee = + new EarlyExitException(3, input); + throw eee; + } + cnt3++; + } while (true); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "RULE_INT" + + // $ANTLR start "RULE_STRING" + public final void mRULE_STRING() throws RecognitionException { + try { + int _type = RULE_STRING; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:4894:13: ( ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) ) + // InternalApplicationConfiguration.g:4894:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) + { + // InternalApplicationConfiguration.g:4894:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) + int alt6=2; + int LA6_0 = input.LA(1); + + if ( (LA6_0=='\"') ) { + alt6=1; + } + else if ( (LA6_0=='\'') ) { + alt6=2; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 6, 0, input); + + throw nvae; + } + switch (alt6) { + case 1 : + // InternalApplicationConfiguration.g:4894:16: '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' + { + match('\"'); + // InternalApplicationConfiguration.g:4894:20: ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* + loop4: + do { + int alt4=3; + int LA4_0 = input.LA(1); + + if ( (LA4_0=='\\') ) { + alt4=1; + } + else if ( ((LA4_0>='\u0000' && LA4_0<='!')||(LA4_0>='#' && LA4_0<='[')||(LA4_0>=']' && LA4_0<='\uFFFF')) ) { + alt4=2; + } + + + switch (alt4) { + case 1 : + // InternalApplicationConfiguration.g:4894:21: '\\\\' . + { + match('\\'); + matchAny(); + + } + break; + case 2 : + // InternalApplicationConfiguration.g:4894:28: ~ ( ( '\\\\' | '\"' ) ) + { + if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { + input.consume(); + + } + else { + MismatchedSetException mse = new MismatchedSetException(null,input); + recover(mse); + throw mse;} + + + } + break; + + default : + break loop4; + } + } while (true); + + match('\"'); + + } + break; + case 2 : + // InternalApplicationConfiguration.g:4894:48: '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' + { + match('\''); + // InternalApplicationConfiguration.g:4894:53: ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* + loop5: + do { + int alt5=3; + int LA5_0 = input.LA(1); + + if ( (LA5_0=='\\') ) { + alt5=1; + } + else if ( ((LA5_0>='\u0000' && LA5_0<='&')||(LA5_0>='(' && LA5_0<='[')||(LA5_0>=']' && LA5_0<='\uFFFF')) ) { + alt5=2; + } + + + switch (alt5) { + case 1 : + // InternalApplicationConfiguration.g:4894:54: '\\\\' . + { + match('\\'); + matchAny(); + + } + break; + case 2 : + // InternalApplicationConfiguration.g:4894:61: ~ ( ( '\\\\' | '\\'' ) ) + { + if ( (input.LA(1)>='\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { + input.consume(); + + } + else { + MismatchedSetException mse = new MismatchedSetException(null,input); + recover(mse); + throw mse;} + + + } + break; + + default : + break loop5; + } + } while (true); + + match('\''); + + } + break; + + } + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "RULE_STRING" + + // $ANTLR start "RULE_ML_COMMENT" + public final void mRULE_ML_COMMENT() throws RecognitionException { + try { + int _type = RULE_ML_COMMENT; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:4896:17: ( '/*' ( options {greedy=false; } : . )* '*/' ) + // InternalApplicationConfiguration.g:4896:19: '/*' ( options {greedy=false; } : . )* '*/' + { + match("/*"); + + // InternalApplicationConfiguration.g:4896:24: ( options {greedy=false; } : . )* + loop7: + do { + int alt7=2; + int LA7_0 = input.LA(1); + + if ( (LA7_0=='*') ) { + int LA7_1 = input.LA(2); + + if ( (LA7_1=='/') ) { + alt7=2; + } + else if ( ((LA7_1>='\u0000' && LA7_1<='.')||(LA7_1>='0' && LA7_1<='\uFFFF')) ) { + alt7=1; + } + + + } + else if ( ((LA7_0>='\u0000' && LA7_0<=')')||(LA7_0>='+' && LA7_0<='\uFFFF')) ) { + alt7=1; + } + + + switch (alt7) { + case 1 : + // InternalApplicationConfiguration.g:4896:52: . + { + matchAny(); + + } + break; + + default : + break loop7; + } + } while (true); + + match("*/"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "RULE_ML_COMMENT" + + // $ANTLR start "RULE_SL_COMMENT" + public final void mRULE_SL_COMMENT() throws RecognitionException { + try { + int _type = RULE_SL_COMMENT; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:4898:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? ) + // InternalApplicationConfiguration.g:4898:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? + { + match("//"); + + // InternalApplicationConfiguration.g:4898:24: (~ ( ( '\\n' | '\\r' ) ) )* + loop8: + do { + int alt8=2; + int LA8_0 = input.LA(1); + + if ( ((LA8_0>='\u0000' && LA8_0<='\t')||(LA8_0>='\u000B' && LA8_0<='\f')||(LA8_0>='\u000E' && LA8_0<='\uFFFF')) ) { + alt8=1; + } + + + switch (alt8) { + case 1 : + // InternalApplicationConfiguration.g:4898:24: ~ ( ( '\\n' | '\\r' ) ) + { + if ( (input.LA(1)>='\u0000' && input.LA(1)<='\t')||(input.LA(1)>='\u000B' && input.LA(1)<='\f')||(input.LA(1)>='\u000E' && input.LA(1)<='\uFFFF') ) { + input.consume(); + + } + else { + MismatchedSetException mse = new MismatchedSetException(null,input); + recover(mse); + throw mse;} + + + } + break; + + default : + break loop8; + } + } while (true); + + // InternalApplicationConfiguration.g:4898:40: ( ( '\\r' )? '\\n' )? + int alt10=2; + int LA10_0 = input.LA(1); + + if ( (LA10_0=='\n'||LA10_0=='\r') ) { + alt10=1; + } + switch (alt10) { + case 1 : + // InternalApplicationConfiguration.g:4898:41: ( '\\r' )? '\\n' + { + // InternalApplicationConfiguration.g:4898:41: ( '\\r' )? + int alt9=2; + int LA9_0 = input.LA(1); + + if ( (LA9_0=='\r') ) { + alt9=1; + } + switch (alt9) { + case 1 : + // InternalApplicationConfiguration.g:4898:41: '\\r' + { + match('\r'); + + } + break; + + } + + match('\n'); + + } + break; + + } + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "RULE_SL_COMMENT" + + // $ANTLR start "RULE_WS" + public final void mRULE_WS() throws RecognitionException { + try { + int _type = RULE_WS; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:4900:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ ) + // InternalApplicationConfiguration.g:4900:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ + { + // InternalApplicationConfiguration.g:4900:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ + int cnt11=0; + loop11: + do { + int alt11=2; + int LA11_0 = input.LA(1); + + if ( ((LA11_0>='\t' && LA11_0<='\n')||LA11_0=='\r'||LA11_0==' ') ) { + alt11=1; + } + + + switch (alt11) { + case 1 : + // InternalApplicationConfiguration.g: + { + if ( (input.LA(1)>='\t' && input.LA(1)<='\n')||input.LA(1)=='\r'||input.LA(1)==' ' ) { + input.consume(); + + } + else { + MismatchedSetException mse = new MismatchedSetException(null,input); + recover(mse); + throw mse;} + + + } + break; + + default : + if ( cnt11 >= 1 ) break loop11; + EarlyExitException eee = + new EarlyExitException(11, input); + throw eee; + } + cnt11++; + } while (true); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "RULE_WS" + + // $ANTLR start "RULE_ANY_OTHER" + public final void mRULE_ANY_OTHER() throws RecognitionException { + try { + int _type = RULE_ANY_OTHER; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:4902:16: ( . ) + // InternalApplicationConfiguration.g:4902:18: . + { + matchAny(); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "RULE_ANY_OTHER" + + public void mTokens() throws RecognitionException { + // InternalApplicationConfiguration.g:1:8: ( T__11 | T__12 | T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | 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 | T__51 | T__52 | T__53 | T__54 | T__55 | T__56 | T__57 | T__58 | T__59 | T__60 | T__61 | T__62 | T__63 | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER ) + int alt12=60; + alt12 = dfa12.predict(input); + switch (alt12) { + case 1 : + // InternalApplicationConfiguration.g:1:10: T__11 + { + mT__11(); + + } + break; + case 2 : + // InternalApplicationConfiguration.g:1:16: T__12 + { + mT__12(); + + } + break; + case 3 : + // InternalApplicationConfiguration.g:1:22: T__13 + { + mT__13(); + + } + break; + case 4 : + // InternalApplicationConfiguration.g:1:28: T__14 + { + mT__14(); + + } + break; + case 5 : + // InternalApplicationConfiguration.g:1:34: T__15 + { + mT__15(); + + } + break; + case 6 : + // InternalApplicationConfiguration.g:1:40: T__16 + { + mT__16(); + + } + break; + case 7 : + // InternalApplicationConfiguration.g:1:46: T__17 + { + mT__17(); + + } + break; + case 8 : + // InternalApplicationConfiguration.g:1:52: T__18 + { + mT__18(); + + } + break; + case 9 : + // InternalApplicationConfiguration.g:1:58: T__19 + { + mT__19(); + + } + break; + case 10 : + // InternalApplicationConfiguration.g:1:64: T__20 + { + mT__20(); + + } + break; + case 11 : + // InternalApplicationConfiguration.g:1:70: T__21 + { + mT__21(); + + } + break; + case 12 : + // InternalApplicationConfiguration.g:1:76: T__22 + { + mT__22(); + + } + break; + case 13 : + // InternalApplicationConfiguration.g:1:82: T__23 + { + mT__23(); + + } + break; + case 14 : + // InternalApplicationConfiguration.g:1:88: T__24 + { + mT__24(); + + } + break; + case 15 : + // InternalApplicationConfiguration.g:1:94: T__25 + { + mT__25(); + + } + break; + case 16 : + // InternalApplicationConfiguration.g:1:100: T__26 + { + mT__26(); + + } + break; + case 17 : + // InternalApplicationConfiguration.g:1:106: T__27 + { + mT__27(); + + } + break; + case 18 : + // InternalApplicationConfiguration.g:1:112: T__28 + { + mT__28(); + + } + break; + case 19 : + // InternalApplicationConfiguration.g:1:118: T__29 + { + mT__29(); + + } + break; + case 20 : + // InternalApplicationConfiguration.g:1:124: T__30 + { + mT__30(); + + } + break; + case 21 : + // InternalApplicationConfiguration.g:1:130: T__31 + { + mT__31(); + + } + break; + case 22 : + // InternalApplicationConfiguration.g:1:136: T__32 + { + mT__32(); + + } + break; + case 23 : + // InternalApplicationConfiguration.g:1:142: T__33 + { + mT__33(); + + } + break; + case 24 : + // InternalApplicationConfiguration.g:1:148: T__34 + { + mT__34(); + + } + break; + case 25 : + // InternalApplicationConfiguration.g:1:154: T__35 + { + mT__35(); + + } + break; + case 26 : + // InternalApplicationConfiguration.g:1:160: T__36 + { + mT__36(); + + } + break; + case 27 : + // InternalApplicationConfiguration.g:1:166: T__37 + { + mT__37(); + + } + break; + case 28 : + // InternalApplicationConfiguration.g:1:172: T__38 + { + mT__38(); + + } + break; + case 29 : + // InternalApplicationConfiguration.g:1:178: T__39 + { + mT__39(); + + } + break; + case 30 : + // InternalApplicationConfiguration.g:1:184: T__40 + { + mT__40(); + + } + break; + case 31 : + // InternalApplicationConfiguration.g:1:190: T__41 + { + mT__41(); + + } + break; + case 32 : + // InternalApplicationConfiguration.g:1:196: T__42 + { + mT__42(); + + } + break; + case 33 : + // InternalApplicationConfiguration.g:1:202: T__43 + { + mT__43(); + + } + break; + case 34 : + // InternalApplicationConfiguration.g:1:208: T__44 + { + mT__44(); + + } + break; + case 35 : + // InternalApplicationConfiguration.g:1:214: T__45 + { + mT__45(); + + } + break; + case 36 : + // InternalApplicationConfiguration.g:1:220: T__46 + { + mT__46(); + + } + break; + case 37 : + // InternalApplicationConfiguration.g:1:226: T__47 + { + mT__47(); + + } + break; + case 38 : + // InternalApplicationConfiguration.g:1:232: T__48 + { + mT__48(); + + } + break; + case 39 : + // InternalApplicationConfiguration.g:1:238: T__49 + { + mT__49(); + + } + break; + case 40 : + // InternalApplicationConfiguration.g:1:244: T__50 + { + mT__50(); + + } + break; + case 41 : + // InternalApplicationConfiguration.g:1:250: T__51 + { + mT__51(); + + } + break; + case 42 : + // InternalApplicationConfiguration.g:1:256: T__52 + { + mT__52(); + + } + break; + case 43 : + // InternalApplicationConfiguration.g:1:262: T__53 + { + mT__53(); + + } + break; + case 44 : + // InternalApplicationConfiguration.g:1:268: T__54 + { + mT__54(); + + } + break; + case 45 : + // InternalApplicationConfiguration.g:1:274: T__55 + { + mT__55(); + + } + break; + case 46 : + // InternalApplicationConfiguration.g:1:280: T__56 + { + mT__56(); + + } + break; + case 47 : + // InternalApplicationConfiguration.g:1:286: T__57 + { + mT__57(); + + } + break; + case 48 : + // InternalApplicationConfiguration.g:1:292: T__58 + { + mT__58(); + + } + break; + case 49 : + // InternalApplicationConfiguration.g:1:298: T__59 + { + mT__59(); + + } + break; + case 50 : + // InternalApplicationConfiguration.g:1:304: T__60 + { + mT__60(); + + } + break; + case 51 : + // InternalApplicationConfiguration.g:1:310: T__61 + { + mT__61(); + + } + break; + case 52 : + // InternalApplicationConfiguration.g:1:316: T__62 + { + mT__62(); + + } + break; + case 53 : + // InternalApplicationConfiguration.g:1:322: T__63 + { + mT__63(); + + } + break; + case 54 : + // InternalApplicationConfiguration.g:1:328: RULE_ID + { + mRULE_ID(); + + } + break; + case 55 : + // InternalApplicationConfiguration.g:1:336: RULE_INT + { + mRULE_INT(); + + } + break; + case 56 : + // InternalApplicationConfiguration.g:1:345: RULE_STRING + { + mRULE_STRING(); + + } + break; + case 57 : + // InternalApplicationConfiguration.g:1:357: RULE_ML_COMMENT + { + mRULE_ML_COMMENT(); + + } + break; + case 58 : + // InternalApplicationConfiguration.g:1:373: RULE_SL_COMMENT + { + mRULE_SL_COMMENT(); + + } + break; + case 59 : + // InternalApplicationConfiguration.g:1:389: RULE_WS + { + mRULE_WS(); + + } + break; + case 60 : + // InternalApplicationConfiguration.g:1:397: RULE_ANY_OTHER + { + mRULE_ANY_OTHER(); + + } + break; + + } + + } + + + protected DFA12 dfa12 = new DFA12(this); + static final String DFA12_eotS = + "\1\uffff\1\47\1\uffff\5\53\4\uffff\1\53\1\45\4\53\1\uffff\1\45\1\105\1\107\2\53\1\uffff\5\53\1\45\2\uffff\3\45\5\uffff\2\53\1\uffff\10\53\4\uffff\1\53\1\uffff\10\53\6\uffff\5\53\1\uffff\5\53\5\uffff\1\53\1\174\23\53\1\u0093\16\53\1\uffff\4\53\1\u00a6\1\53\1\u00a8\1\u00a9\1\53\1\u00ab\13\53\2\uffff\1\u00b7\1\u00b8\20\53\1\uffff\1\53\2\uffff\1\53\1\uffff\13\53\2\uffff\4\53\1\u00da\2\53\1\u00dd\3\53\1\u00e1\2\53\1\u00e4\2\53\1\u00e7\3\53\1\u00eb\1\u00ec\3\53\1\u00f0\1\53\1\u00f2\1\u00f3\1\u00f4\1\u00f5\1\53\1\uffff\1\u00f7\1\53\1\uffff\3\53\1\uffff\2\53\1\uffff\1\53\1\u00ff\1\uffff\1\u0100\2\53\2\uffff\3\53\1\uffff\1\53\4\uffff\1\53\1\uffff\4\53\1\u010c\2\53\3\uffff\1\53\1\u0110\1\u0111\3\53\1\u0115\3\53\1\uffff\1\u0119\1\53\1\u011b\2\uffff\3\53\1\uffff\1\u011f\2\53\1\uffff\1\53\1\uffff\1\53\1\u0124\1\u0125\1\uffff\2\53\1\u0128\1\u0129\2\uffff\1\u012a\1\53\3\uffff\1\u012c\1\uffff"; + static final String DFA12_eofS = + "\u012d\uffff"; + static final String DFA12_minS = + "\1\0\1\56\1\uffff\1\155\1\160\1\151\1\145\1\151\4\uffff\1\141\1\72\1\141\1\157\1\142\1\157\1\uffff\3\75\1\157\1\143\1\uffff\2\145\1\115\1\154\1\151\1\101\2\uffff\2\0\1\52\5\uffff\1\160\1\164\1\uffff\1\141\1\143\2\141\1\156\3\154\4\uffff\1\143\1\uffff\1\155\1\144\1\156\1\170\1\156\1\152\1\164\1\147\6\uffff\1\144\1\155\1\141\1\157\1\154\1\uffff\1\156\1\142\1\124\1\154\1\141\5\uffff\1\157\1\60\1\143\1\154\1\164\1\151\1\154\1\163\1\145\1\144\1\154\1\153\1\164\1\141\1\157\1\145\2\151\1\146\1\145\1\160\1\55\2\145\1\155\1\142\1\151\1\164\1\160\1\166\1\145\1\165\1\123\1\157\1\164\1\162\1\uffff\1\153\1\165\1\162\1\141\1\60\1\151\2\60\1\145\1\60\1\141\1\151\1\155\1\162\1\154\2\155\1\164\1\151\1\143\1\165\2\uffff\2\60\1\141\1\145\1\156\1\151\2\145\1\162\1\147\1\157\1\171\1\162\1\164\1\141\1\144\1\141\1\142\1\uffff\1\155\2\uffff\1\162\1\uffff\1\147\1\141\1\157\1\171\1\163\2\151\1\162\1\147\2\164\2\uffff\1\154\1\162\1\147\1\163\1\60\1\162\1\141\1\60\1\154\1\123\1\141\1\60\1\147\1\151\1\60\1\151\1\145\1\60\1\145\1\154\1\144\2\60\2\172\1\141\1\60\1\151\4\60\1\164\1\uffff\1\60\1\164\1\uffff\1\166\1\157\1\123\1\uffff\1\145\1\156\1\uffff\1\154\1\60\1\uffff\1\60\1\55\1\145\2\uffff\2\145\1\151\1\uffff\1\166\4\uffff\1\151\1\uffff\2\145\1\154\1\157\1\60\1\147\1\151\3\uffff\1\154\2\60\1\156\1\145\1\143\1\60\1\162\1\166\1\154\1\uffff\1\60\1\164\1\60\2\uffff\1\164\2\163\1\uffff\1\60\1\145\1\166\1\uffff\1\171\1\uffff\1\163\2\60\1\uffff\1\162\1\145\2\60\2\uffff\1\60\1\162\3\uffff\1\60\1\uffff"; + static final String DFA12_maxS = + "\1\uffff\1\56\1\uffff\1\156\1\170\1\151\2\165\4\uffff\1\141\1\72\2\157\1\165\1\157\1\uffff\3\75\1\165\1\164\1\uffff\2\145\1\115\1\154\1\151\1\172\2\uffff\2\uffff\1\57\5\uffff\1\160\1\164\1\uffff\1\141\1\143\1\141\1\154\1\156\3\154\4\uffff\1\162\1\uffff\1\164\1\144\1\156\1\170\1\156\1\152\1\164\1\147\6\uffff\1\162\1\155\1\162\1\157\1\154\1\uffff\1\156\1\142\1\124\1\154\1\141\5\uffff\1\157\1\172\1\143\1\154\1\164\1\151\1\154\1\164\1\145\1\144\1\154\1\153\1\164\1\141\1\157\1\145\2\151\1\163\1\145\1\160\1\172\2\145\1\155\1\142\1\151\1\164\1\160\1\166\1\145\1\165\1\123\1\157\1\164\1\162\1\uffff\1\153\1\165\1\162\1\141\1\172\1\151\2\172\1\145\1\172\1\141\1\151\1\155\1\162\1\154\2\155\1\164\1\151\1\143\1\165\2\uffff\2\172\1\141\1\145\1\156\1\151\2\145\1\162\1\147\1\157\1\171\1\162\1\164\1\141\1\144\1\141\1\142\1\uffff\1\155\2\uffff\1\162\1\uffff\1\147\1\141\1\157\1\171\1\163\2\151\1\162\1\147\2\164\2\uffff\1\154\1\162\1\147\1\163\1\172\1\162\1\141\1\172\1\154\1\123\1\141\1\172\1\147\1\151\1\172\1\151\1\145\1\172\1\145\1\154\1\144\4\172\1\141\1\172\1\151\4\172\1\164\1\uffff\1\172\1\164\1\uffff\1\166\1\157\1\123\1\uffff\1\145\1\156\1\uffff\1\154\1\172\1\uffff\1\172\1\55\1\145\2\uffff\2\145\1\151\1\uffff\1\166\4\uffff\1\151\1\uffff\2\145\1\154\1\157\1\172\1\147\1\151\3\uffff\1\154\2\172\1\156\1\145\1\143\1\172\1\162\1\166\1\154\1\uffff\1\172\1\164\1\172\2\uffff\1\164\2\163\1\uffff\1\172\1\145\1\166\1\uffff\1\171\1\uffff\1\163\2\172\1\uffff\1\162\1\145\2\172\2\uffff\1\172\1\162\3\uffff\1\172\1\uffff"; + static final String DFA12_acceptS = + "\2\uffff\1\2\5\uffff\1\10\1\11\1\12\1\13\6\uffff\1\30\5\uffff\1\40\6\uffff\1\66\1\67\3\uffff\1\73\1\74\1\41\1\1\1\2\2\uffff\1\66\10\uffff\1\10\1\11\1\12\1\13\1\uffff\1\16\10\uffff\1\30\1\31\1\56\1\32\1\57\1\33\5\uffff\1\40\5\uffff\1\67\1\70\1\71\1\72\1\73\44\uffff\1\35\25\uffff\1\25\1\51\22\uffff\1\36\1\uffff\1\46\1\7\1\uffff\1\62\13\uffff\1\34\1\60\41\uffff\1\42\2\uffff\1\50\3\uffff\1\3\2\uffff\1\5\2\uffff\1\20\3\uffff\1\27\1\21\3\uffff\1\24\1\uffff\1\53\1\61\1\45\1\37\1\uffff\1\47\7\uffff\1\26\1\14\1\44\12\uffff\1\4\3\uffff\1\54\1\55\3\uffff\1\43\3\uffff\1\15\1\uffff\1\17\3\uffff\1\63\4\uffff\1\23\1\52\2\uffff\1\6\1\22\1\64\1\uffff\1\65"; + static final String DFA12_specialS = + "\1\0\40\uffff\1\1\1\2\u010a\uffff}>"; + static final String[] DFA12_transitionS = { + "\11\45\2\44\2\45\1\44\22\45\1\44\1\45\1\41\1\22\3\45\1\42\2\45\1\30\1\23\1\12\1\2\1\1\1\43\12\40\1\15\1\45\1\24\1\10\1\25\2\45\1\34\21\37\1\33\2\37\1\35\4\37\3\45\1\36\1\37\1\45\2\37\1\17\1\32\1\4\1\7\1\31\1\37\1\3\2\37\1\21\1\16\1\26\1\20\1\14\1\37\1\6\1\27\2\37\1\5\4\37\1\11\1\45\1\13\uff82\45", + "\1\46", + "", + "\1\51\1\52", + "\1\54\7\uffff\1\55", + "\1\56", + "\1\57\17\uffff\1\60", + "\1\61\5\uffff\1\62\5\uffff\1\63", + "", + "", + "", + "", + "\1\70", + "\1\71", + "\1\75\3\uffff\1\72\3\uffff\1\74\5\uffff\1\73", + "\1\76", + "\1\77\22\uffff\1\100", + "\1\101", + "", + "\1\103", + "\1\104", + "\1\106", + "\1\110\5\uffff\1\111", + "\1\113\13\uffff\1\114\4\uffff\1\112", + "", + "\1\116", + "\1\117", + "\1\120", + "\1\121", + "\1\122", + "\32\53\4\uffff\1\53\1\uffff\32\53", + "", + "", + "\0\124", + "\0\124", + "\1\125\4\uffff\1\126", + "", + "", + "", + "", + "", + "\1\130", + "\1\131", + "", + "\1\132", + "\1\133", + "\1\134", + "\1\136\12\uffff\1\135", + "\1\137", + "\1\140", + "\1\141", + "\1\142", + "", + "", + "", + "", + "\1\143\16\uffff\1\144", + "", + "\1\146\6\uffff\1\145", + "\1\147", + "\1\150", + "\1\151", + "\1\152", + "\1\153", + "\1\154", + "\1\155", + "", + "", + "", + "", + "", + "", + "\1\156\11\uffff\1\157\3\uffff\1\160", + "\1\161", + "\1\163\20\uffff\1\162", + "\1\164", + "\1\165", + "", + "\1\166", + "\1\167", + "\1\170", + "\1\171", + "\1\172", + "", + "", + "", + "", + "", + "\1\173", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\1\175", + "\1\176", + "\1\177", + "\1\u0080", + "\1\u0081", + "\1\u0083\1\u0082", + "\1\u0084", + "\1\u0085", + "\1\u0086", + "\1\u0087", + "\1\u0088", + "\1\u0089", + "\1\u008a", + "\1\u008b", + "\1\u008c", + "\1\u008d", + "\1\u008f\14\uffff\1\u008e", + "\1\u0090", + "\1\u0091", + "\1\u0092\2\uffff\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\1\u0094", + "\1\u0095", + "\1\u0096", + "\1\u0097", + "\1\u0098", + "\1\u0099", + "\1\u009a", + "\1\u009b", + "\1\u009c", + "\1\u009d", + "\1\u009e", + "\1\u009f", + "\1\u00a0", + "\1\u00a1", + "", + "\1\u00a2", + "\1\u00a3", + "\1\u00a4", + "\1\u00a5", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\1\u00a7", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\1\u00aa", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\1\u00ac", + "\1\u00ad", + "\1\u00ae", + "\1\u00af", + "\1\u00b0", + "\1\u00b1", + "\1\u00b2", + "\1\u00b3", + "\1\u00b4", + "\1\u00b5", + "\1\u00b6", + "", + "", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\1\u00b9", + "\1\u00ba", + "\1\u00bb", + "\1\u00bc", + "\1\u00bd", + "\1\u00be", + "\1\u00bf", + "\1\u00c0", + "\1\u00c1", + "\1\u00c2", + "\1\u00c3", + "\1\u00c4", + "\1\u00c5", + "\1\u00c6", + "\1\u00c7", + "\1\u00c8", + "", + "\1\u00c9", + "", + "", + "\1\u00ca", + "", + "\1\u00cb", + "\1\u00cc", + "\1\u00cd", + "\1\u00ce", + "\1\u00cf", + "\1\u00d0", + "\1\u00d1", + "\1\u00d2", + "\1\u00d3", + "\1\u00d4", + "\1\u00d5", + "", + "", + "\1\u00d6", + "\1\u00d7", + "\1\u00d8", + "\1\u00d9", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\1\u00db", + "\1\u00dc", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\1\u00de", + "\1\u00df", + "\1\u00e0", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\1\u00e2", + "\1\u00e3", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\1\u00e5", + "\1\u00e6", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\1\u00e8", + "\1\u00e9", + "\1\u00ea", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\1\u00ed", + "\1\u00ee", + "\1\u00ef", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\1\u00f1", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\1\u00f6", + "", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\1\u00f8", + "", + "\1\u00f9", + "\1\u00fa", + "\1\u00fb", + "", + "\1\u00fc", + "\1\u00fd", + "", + "\1\u00fe", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\1\u0101", + "\1\u0102", + "", + "", + "\1\u0103", + "\1\u0104", + "\1\u0105", + "", + "\1\u0106", + "", + "", + "", + "", + "\1\u0107", + "", + "\1\u0108", + "\1\u0109", + "\1\u010a", + "\1\u010b", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\1\u010d", + "\1\u010e", + "", + "", + "", + "\1\u010f", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\1\u0112", + "\1\u0113", + "\1\u0114", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\1\u0116", + "\1\u0117", + "\1\u0118", + "", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\1\u011a", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "", + "", + "\1\u011c", + "\1\u011d", + "\1\u011e", + "", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\1\u0120", + "\1\u0121", + "", + "\1\u0122", + "", + "\1\u0123", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "", + "\1\u0126", + "\1\u0127", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "", + "", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\1\u012b", + "", + "", + "", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "" + }; + + static final short[] DFA12_eot = DFA.unpackEncodedString(DFA12_eotS); + static final short[] DFA12_eof = DFA.unpackEncodedString(DFA12_eofS); + static final char[] DFA12_min = DFA.unpackEncodedStringToUnsignedChars(DFA12_minS); + static final char[] DFA12_max = DFA.unpackEncodedStringToUnsignedChars(DFA12_maxS); + static final short[] DFA12_accept = DFA.unpackEncodedString(DFA12_acceptS); + static final short[] DFA12_special = DFA.unpackEncodedString(DFA12_specialS); + static final short[][] DFA12_transition; + + static { + int numStates = DFA12_transitionS.length; + DFA12_transition = new short[numStates][]; + for (int i=0; i') ) {s = 21;} + + else if ( (LA12_0=='n') ) {s = 22;} + + else if ( (LA12_0=='s') ) {s = 23;} + + else if ( (LA12_0=='*') ) {s = 24;} + + else if ( (LA12_0=='g') ) {s = 25;} + + else if ( (LA12_0=='d') ) {s = 26;} + + else if ( (LA12_0=='S') ) {s = 27;} + + else if ( (LA12_0=='A') ) {s = 28;} + + else if ( (LA12_0=='V') ) {s = 29;} + + else if ( (LA12_0=='^') ) {s = 30;} + + else if ( ((LA12_0>='B' && 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>='0' && LA12_0<='9')) ) {s = 32;} + + else if ( (LA12_0=='\"') ) {s = 33;} + + else if ( (LA12_0=='\'') ) {s = 34;} + + else if ( (LA12_0=='/') ) {s = 35;} + + else if ( ((LA12_0>='\t' && LA12_0<='\n')||LA12_0=='\r'||LA12_0==' ') ) {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<='\uFFFF')) ) {s = 37;} + + if ( s>=0 ) return s; + break; + case 1 : + int LA12_33 = input.LA(1); + + s = -1; + if ( ((LA12_33>='\u0000' && LA12_33<='\uFFFF')) ) {s = 84;} + + else s = 37; + + if ( s>=0 ) return s; + break; + case 2 : + int LA12_34 = input.LA(1); + + s = -1; + if ( ((LA12_34>='\u0000' && LA12_34<='\uFFFF')) ) {s = 84;} + + else s = 37; + + if ( s>=0 ) return s; + break; + } + NoViableAltException nvae = + new NoViableAltException(getDescription(), 12, _s, input); + error(nvae); + throw nvae; + } + } + + } \ No newline at end of file diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/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 015e5da9..191f96eb 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 @@ -1,11660 +1,13307 @@ -package hu.bme.mit.inf.dslreasoner.application.parser.antlr.internal; - -import org.eclipse.xtext.*; -import org.eclipse.xtext.parser.*; -import org.eclipse.xtext.parser.impl.*; -import org.eclipse.emf.ecore.util.EcoreUtil; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.common.util.Enumerator; -import org.eclipse.xtext.parser.antlr.AbstractInternalAntlrParser; -import org.eclipse.xtext.parser.antlr.XtextTokenStream; -import org.eclipse.xtext.parser.antlr.XtextTokenStream.HiddenTokens; -import org.eclipse.xtext.parser.antlr.AntlrDatatypeRuleToken; -import hu.bme.mit.inf.dslreasoner.application.services.ApplicationConfigurationGrammarAccess; - - - -import org.antlr.runtime.*; -import java.util.Stack; -import java.util.List; -import java.util.ArrayList; - -@SuppressWarnings("all") -public class InternalApplicationConfigurationParser extends AbstractInternalAntlrParser { - public static final String[] tokenNames = new String[] { - "", "", "", "", "RULE_ID", "RULE_INT", "RULE_STRING", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "'.'", "'-'", "'import'", "'epackage'", "'viatra'", "'file'", "'='", "'{'", "','", "'}'", "'package'", "'excluding'", "'::'", "'metamodel'", "'folder'", "'models'", "'constraints'", "'config'", "'log-level'", "'runtime'", "'memory'", "'#'", "'+='", "'<'", "'>'", "'node'", "'int'", "'real'", "'string'", "'*'", "'..'", "'scope'", "'generate'", "'partial-model'", "'number'", "'runs'", "'solver'", "'debug'", "'log'", "'statistics'", "'output'", "'none'", "'normal'", "'full'", "'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; - public static final int T__17=17; - public static final int T__18=18; - public static final int T__11=11; - public static final int T__55=55; - public static final int T__12=12; - public static final int T__56=56; - public static final int T__13=13; - public static final int T__57=57; - public static final int T__14=14; - public static final int T__51=51; - public static final int T__52=52; - public static final int T__53=53; - public static final int T__54=54; - public static final int RULE_ID=4; - public static final int T__26=26; - public static final int T__27=27; - public static final int T__28=28; - public static final int RULE_INT=5; - public static final int T__29=29; - public static final int T__22=22; - public static final int RULE_ML_COMMENT=7; - public static final int T__23=23; - public static final int T__24=24; - public static final int T__25=25; - public static final int T__20=20; - public static final int T__21=21; - public static final int RULE_STRING=6; - public static final int RULE_SL_COMMENT=8; - public static final int T__37=37; - public static final int T__38=38; - public static final int T__39=39; - public static final int T__33=33; - public static final int T__34=34; - public static final int T__35=35; - public static final int T__36=36; - public static final int EOF=-1; - public static final int T__30=30; - public static final int T__31=31; - public static final int T__32=32; - public static final int RULE_WS=9; - public static final int RULE_ANY_OTHER=10; - public static final int T__48=48; - public static final int T__49=49; - public static final int T__44=44; - public static final int T__45=45; - public static final int T__46=46; - public static final int T__47=47; - public static final int T__40=40; - public static final int T__41=41; - public static final int T__42=42; - public static final int T__43=43; - - // delegates - // delegators - - - public InternalApplicationConfigurationParser(TokenStream input) { - this(input, new RecognizerSharedState()); - } - public InternalApplicationConfigurationParser(TokenStream input, RecognizerSharedState state) { - super(input, state); - - } - - - public String[] getTokenNames() { return InternalApplicationConfigurationParser.tokenNames; } - public String getGrammarFileName() { return "InternalApplicationConfiguration.g"; } - - - - private ApplicationConfigurationGrammarAccess grammarAccess; - - public InternalApplicationConfigurationParser(TokenStream input, ApplicationConfigurationGrammarAccess grammarAccess) { - this(input); - this.grammarAccess = grammarAccess; - registerRules(grammarAccess.getGrammar()); - } - - @Override - protected String getFirstRuleName() { - return "ConfigurationScript"; - } - - @Override - protected ApplicationConfigurationGrammarAccess getGrammarAccess() { - return grammarAccess; - } - - - - - // $ANTLR start "entryRuleConfigurationScript" - // InternalApplicationConfiguration.g:65:1: entryRuleConfigurationScript returns [EObject current=null] : iv_ruleConfigurationScript= ruleConfigurationScript EOF ; - public final EObject entryRuleConfigurationScript() throws RecognitionException { - EObject current = null; - - EObject iv_ruleConfigurationScript = null; - - - try { - // InternalApplicationConfiguration.g:65:60: (iv_ruleConfigurationScript= ruleConfigurationScript EOF ) - // InternalApplicationConfiguration.g:66:2: iv_ruleConfigurationScript= ruleConfigurationScript EOF - { - newCompositeNode(grammarAccess.getConfigurationScriptRule()); - pushFollow(FOLLOW_1); - iv_ruleConfigurationScript=ruleConfigurationScript(); - - state._fsp--; - - current =iv_ruleConfigurationScript; - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleConfigurationScript" - - - // $ANTLR start "ruleConfigurationScript" - // InternalApplicationConfiguration.g:72:1: ruleConfigurationScript returns [EObject current=null] : ( ( (lv_imports_0_0= ruleImport ) )* ( (lv_commands_1_0= ruleCommand ) )* ) ; - public final EObject ruleConfigurationScript() throws RecognitionException { - EObject current = null; - - EObject lv_imports_0_0 = null; - - EObject lv_commands_1_0 = null; - - - - enterRule(); - - try { - // InternalApplicationConfiguration.g:78:2: ( ( ( (lv_imports_0_0= ruleImport ) )* ( (lv_commands_1_0= ruleCommand ) )* ) ) - // InternalApplicationConfiguration.g:79:2: ( ( (lv_imports_0_0= ruleImport ) )* ( (lv_commands_1_0= ruleCommand ) )* ) - { - // InternalApplicationConfiguration.g:79:2: ( ( (lv_imports_0_0= ruleImport ) )* ( (lv_commands_1_0= ruleCommand ) )* ) - // InternalApplicationConfiguration.g:80:3: ( (lv_imports_0_0= ruleImport ) )* ( (lv_commands_1_0= ruleCommand ) )* - { - // InternalApplicationConfiguration.g:80:3: ( (lv_imports_0_0= ruleImport ) )* - loop1: - do { - int alt1=2; - int LA1_0 = input.LA(1); - - if ( (LA1_0==13) ) { - alt1=1; - } - - - switch (alt1) { - case 1 : - // InternalApplicationConfiguration.g:81:4: (lv_imports_0_0= ruleImport ) - { - // InternalApplicationConfiguration.g:81:4: (lv_imports_0_0= ruleImport ) - // InternalApplicationConfiguration.g:82:5: lv_imports_0_0= ruleImport - { - - newCompositeNode(grammarAccess.getConfigurationScriptAccess().getImportsImportParserRuleCall_0_0()); - - pushFollow(FOLLOW_3); - lv_imports_0_0=ruleImport(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getConfigurationScriptRule()); - } - add( - current, - "imports", - lv_imports_0_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Import"); - afterParserOrEnumRuleCall(); - - - } - - - } - break; - - default : - break loop1; - } - } while (true); - - // InternalApplicationConfiguration.g:99:3: ( (lv_commands_1_0= ruleCommand ) )* - loop2: - do { - int alt2=2; - int LA2_0 = input.LA(1); - - if ( (LA2_0==16||LA2_0==24||(LA2_0>=26 && LA2_0<=28)||(LA2_0>=42 && LA2_0<=43)) ) { - alt2=1; - } - - - switch (alt2) { - case 1 : - // InternalApplicationConfiguration.g:100:4: (lv_commands_1_0= ruleCommand ) - { - // InternalApplicationConfiguration.g:100:4: (lv_commands_1_0= ruleCommand ) - // InternalApplicationConfiguration.g:101:5: lv_commands_1_0= ruleCommand - { - - newCompositeNode(grammarAccess.getConfigurationScriptAccess().getCommandsCommandParserRuleCall_1_0()); - - pushFollow(FOLLOW_4); - lv_commands_1_0=ruleCommand(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getConfigurationScriptRule()); - } - add( - current, - "commands", - lv_commands_1_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Command"); - afterParserOrEnumRuleCall(); - - - } - - - } - break; - - default : - break loop2; - } - } while (true); - - - } - - - } - - - leaveRule(); - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleConfigurationScript" - - - // $ANTLR start "entryRuleCommand" - // InternalApplicationConfiguration.g:122:1: entryRuleCommand returns [EObject current=null] : iv_ruleCommand= ruleCommand EOF ; - public final EObject entryRuleCommand() throws RecognitionException { - EObject current = null; - - EObject iv_ruleCommand = null; - - - try { - // InternalApplicationConfiguration.g:122:48: (iv_ruleCommand= ruleCommand EOF ) - // InternalApplicationConfiguration.g:123:2: iv_ruleCommand= ruleCommand EOF - { - newCompositeNode(grammarAccess.getCommandRule()); - pushFollow(FOLLOW_1); - iv_ruleCommand=ruleCommand(); - - state._fsp--; - - current =iv_ruleCommand; - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleCommand" - - - // $ANTLR start "ruleCommand" - // InternalApplicationConfiguration.g:129:1: ruleCommand returns [EObject current=null] : (this_Declaration_0= ruleDeclaration | this_Task_1= ruleTask ) ; - public final EObject ruleCommand() throws RecognitionException { - EObject current = null; - - EObject this_Declaration_0 = null; - - EObject this_Task_1 = null; - - - - enterRule(); - - try { - // InternalApplicationConfiguration.g:135:2: ( (this_Declaration_0= ruleDeclaration | this_Task_1= ruleTask ) ) - // InternalApplicationConfiguration.g:136:2: (this_Declaration_0= ruleDeclaration | this_Task_1= ruleTask ) - { - // InternalApplicationConfiguration.g:136:2: (this_Declaration_0= ruleDeclaration | this_Task_1= ruleTask ) - int alt3=2; - int LA3_0 = input.LA(1); - - if ( (LA3_0==16||LA3_0==24||(LA3_0>=26 && LA3_0<=28)||LA3_0==42) ) { - alt3=1; - } - else if ( (LA3_0==43) ) { - alt3=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 3, 0, input); - - throw nvae; - } - switch (alt3) { - case 1 : - // InternalApplicationConfiguration.g:137:3: this_Declaration_0= ruleDeclaration - { - - newCompositeNode(grammarAccess.getCommandAccess().getDeclarationParserRuleCall_0()); - - pushFollow(FOLLOW_2); - this_Declaration_0=ruleDeclaration(); - - state._fsp--; - - - current = this_Declaration_0; - afterParserOrEnumRuleCall(); - - - } - break; - case 2 : - // InternalApplicationConfiguration.g:146:3: this_Task_1= ruleTask - { - - newCompositeNode(grammarAccess.getCommandAccess().getTaskParserRuleCall_1()); - - pushFollow(FOLLOW_2); - this_Task_1=ruleTask(); - - state._fsp--; - - - current = this_Task_1; - afterParserOrEnumRuleCall(); - - - } - break; - - } - - - } - - - leaveRule(); - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleCommand" - - - // $ANTLR start "entryRuleQualifiedName" - // InternalApplicationConfiguration.g:158:1: entryRuleQualifiedName returns [String current=null] : iv_ruleQualifiedName= ruleQualifiedName EOF ; - public final String entryRuleQualifiedName() throws RecognitionException { - String current = null; - - AntlrDatatypeRuleToken iv_ruleQualifiedName = null; - - - try { - // InternalApplicationConfiguration.g:158:53: (iv_ruleQualifiedName= ruleQualifiedName EOF ) - // InternalApplicationConfiguration.g:159:2: iv_ruleQualifiedName= ruleQualifiedName EOF - { - newCompositeNode(grammarAccess.getQualifiedNameRule()); - pushFollow(FOLLOW_1); - iv_ruleQualifiedName=ruleQualifiedName(); - - state._fsp--; - - current =iv_ruleQualifiedName.getText(); - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleQualifiedName" - - - // $ANTLR start "ruleQualifiedName" - // InternalApplicationConfiguration.g:165:1: ruleQualifiedName returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) ; - public final AntlrDatatypeRuleToken ruleQualifiedName() throws RecognitionException { - AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); - - Token this_ID_0=null; - Token kw=null; - Token this_ID_2=null; - - - enterRule(); - - try { - // InternalApplicationConfiguration.g:171:2: ( (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) ) - // InternalApplicationConfiguration.g:172:2: (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) - { - // InternalApplicationConfiguration.g:172:2: (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) - // InternalApplicationConfiguration.g:173:3: this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* - { - this_ID_0=(Token)match(input,RULE_ID,FOLLOW_5); - - current.merge(this_ID_0); - - - newLeafNode(this_ID_0, grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_0()); - - // InternalApplicationConfiguration.g:180:3: (kw= '.' this_ID_2= RULE_ID )* - loop4: - do { - int alt4=2; - int LA4_0 = input.LA(1); - - if ( (LA4_0==11) ) { - alt4=1; - } - - - switch (alt4) { - case 1 : - // InternalApplicationConfiguration.g:181:4: kw= '.' this_ID_2= RULE_ID - { - kw=(Token)match(input,11,FOLLOW_6); - - current.merge(kw); - newLeafNode(kw, grammarAccess.getQualifiedNameAccess().getFullStopKeyword_1_0()); - - this_ID_2=(Token)match(input,RULE_ID,FOLLOW_5); - - current.merge(this_ID_2); - - - newLeafNode(this_ID_2, grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_1_1()); - - - } - break; - - default : - break loop4; - } - } while (true); - - - } - - - } - - - leaveRule(); - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleQualifiedName" - - - // $ANTLR start "entryRuleREALLiteral" - // InternalApplicationConfiguration.g:198:1: entryRuleREALLiteral returns [String current=null] : iv_ruleREALLiteral= ruleREALLiteral EOF ; - public final String entryRuleREALLiteral() throws RecognitionException { - String current = null; - - AntlrDatatypeRuleToken iv_ruleREALLiteral = null; - - - try { - // InternalApplicationConfiguration.g:198:51: (iv_ruleREALLiteral= ruleREALLiteral EOF ) - // InternalApplicationConfiguration.g:199:2: iv_ruleREALLiteral= ruleREALLiteral EOF - { - newCompositeNode(grammarAccess.getREALLiteralRule()); - pushFollow(FOLLOW_1); - iv_ruleREALLiteral=ruleREALLiteral(); - - state._fsp--; - - current =iv_ruleREALLiteral.getText(); - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleREALLiteral" - - - // $ANTLR start "ruleREALLiteral" - // InternalApplicationConfiguration.g:205:1: ruleREALLiteral returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : ( (kw= '-' )? this_INT_1= RULE_INT kw= '.' this_INT_3= RULE_INT ) ; - public final AntlrDatatypeRuleToken ruleREALLiteral() throws RecognitionException { - AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); - - Token kw=null; - Token this_INT_1=null; - Token this_INT_3=null; - - - enterRule(); - - try { - // InternalApplicationConfiguration.g:211:2: ( ( (kw= '-' )? this_INT_1= RULE_INT kw= '.' this_INT_3= RULE_INT ) ) - // InternalApplicationConfiguration.g:212:2: ( (kw= '-' )? this_INT_1= RULE_INT kw= '.' this_INT_3= RULE_INT ) - { - // InternalApplicationConfiguration.g:212:2: ( (kw= '-' )? this_INT_1= RULE_INT kw= '.' this_INT_3= RULE_INT ) - // InternalApplicationConfiguration.g:213:3: (kw= '-' )? this_INT_1= RULE_INT kw= '.' this_INT_3= RULE_INT - { - // InternalApplicationConfiguration.g:213:3: (kw= '-' )? - int alt5=2; - int LA5_0 = input.LA(1); - - if ( (LA5_0==12) ) { - alt5=1; - } - switch (alt5) { - case 1 : - // InternalApplicationConfiguration.g:214:4: kw= '-' - { - kw=(Token)match(input,12,FOLLOW_7); - - current.merge(kw); - newLeafNode(kw, grammarAccess.getREALLiteralAccess().getHyphenMinusKeyword_0()); - - - } - break; - - } - - this_INT_1=(Token)match(input,RULE_INT,FOLLOW_8); - - current.merge(this_INT_1); - - - newLeafNode(this_INT_1, grammarAccess.getREALLiteralAccess().getINTTerminalRuleCall_1()); - - kw=(Token)match(input,11,FOLLOW_7); - - current.merge(kw); - newLeafNode(kw, grammarAccess.getREALLiteralAccess().getFullStopKeyword_2()); - - this_INT_3=(Token)match(input,RULE_INT,FOLLOW_2); - - current.merge(this_INT_3); - - - newLeafNode(this_INT_3, grammarAccess.getREALLiteralAccess().getINTTerminalRuleCall_3()); - - - } - - - } - - - leaveRule(); - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleREALLiteral" - - - // $ANTLR start "entryRuleINTLiteral" - // InternalApplicationConfiguration.g:243:1: entryRuleINTLiteral returns [String current=null] : iv_ruleINTLiteral= ruleINTLiteral EOF ; - public final String entryRuleINTLiteral() throws RecognitionException { - String current = null; - - AntlrDatatypeRuleToken iv_ruleINTLiteral = null; - - - try { - // InternalApplicationConfiguration.g:243:50: (iv_ruleINTLiteral= ruleINTLiteral EOF ) - // InternalApplicationConfiguration.g:244:2: iv_ruleINTLiteral= ruleINTLiteral EOF - { - newCompositeNode(grammarAccess.getINTLiteralRule()); - pushFollow(FOLLOW_1); - iv_ruleINTLiteral=ruleINTLiteral(); - - state._fsp--; - - current =iv_ruleINTLiteral.getText(); - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleINTLiteral" - - - // $ANTLR start "ruleINTLiteral" - // InternalApplicationConfiguration.g:250:1: ruleINTLiteral returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : ( (kw= '-' )? this_INT_1= RULE_INT ) ; - public final AntlrDatatypeRuleToken ruleINTLiteral() throws RecognitionException { - AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); - - Token kw=null; - Token this_INT_1=null; - - - enterRule(); - - try { - // InternalApplicationConfiguration.g:256:2: ( ( (kw= '-' )? this_INT_1= RULE_INT ) ) - // InternalApplicationConfiguration.g:257:2: ( (kw= '-' )? this_INT_1= RULE_INT ) - { - // InternalApplicationConfiguration.g:257:2: ( (kw= '-' )? this_INT_1= RULE_INT ) - // InternalApplicationConfiguration.g:258:3: (kw= '-' )? this_INT_1= RULE_INT - { - // InternalApplicationConfiguration.g:258:3: (kw= '-' )? - int alt6=2; - int LA6_0 = input.LA(1); - - if ( (LA6_0==12) ) { - alt6=1; - } - switch (alt6) { - case 1 : - // InternalApplicationConfiguration.g:259:4: kw= '-' - { - kw=(Token)match(input,12,FOLLOW_7); - - current.merge(kw); - newLeafNode(kw, grammarAccess.getINTLiteralAccess().getHyphenMinusKeyword_0()); - - - } - break; - - } - - this_INT_1=(Token)match(input,RULE_INT,FOLLOW_2); - - current.merge(this_INT_1); - - - newLeafNode(this_INT_1, grammarAccess.getINTLiteralAccess().getINTTerminalRuleCall_1()); - - - } - - - } - - - leaveRule(); - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleINTLiteral" - - - // $ANTLR start "entryRuleImport" - // InternalApplicationConfiguration.g:276:1: entryRuleImport returns [EObject current=null] : iv_ruleImport= ruleImport EOF ; - public final EObject entryRuleImport() throws RecognitionException { - EObject current = null; - - EObject iv_ruleImport = null; - - - try { - // InternalApplicationConfiguration.g:276:47: (iv_ruleImport= ruleImport EOF ) - // InternalApplicationConfiguration.g:277:2: iv_ruleImport= ruleImport EOF - { - newCompositeNode(grammarAccess.getImportRule()); - pushFollow(FOLLOW_1); - iv_ruleImport=ruleImport(); - - state._fsp--; - - current =iv_ruleImport; - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleImport" - - - // $ANTLR start "ruleImport" - // InternalApplicationConfiguration.g:283:1: ruleImport returns [EObject current=null] : (this_EPackageImport_0= ruleEPackageImport | this_ViatraImport_1= ruleViatraImport ) ; - public final EObject ruleImport() throws RecognitionException { - EObject current = null; - - EObject this_EPackageImport_0 = null; - - EObject this_ViatraImport_1 = null; - - - - enterRule(); - - try { - // InternalApplicationConfiguration.g:289:2: ( (this_EPackageImport_0= ruleEPackageImport | this_ViatraImport_1= ruleViatraImport ) ) - // InternalApplicationConfiguration.g:290:2: (this_EPackageImport_0= ruleEPackageImport | this_ViatraImport_1= ruleViatraImport ) - { - // InternalApplicationConfiguration.g:290:2: (this_EPackageImport_0= ruleEPackageImport | this_ViatraImport_1= ruleViatraImport ) - int alt7=2; - int LA7_0 = input.LA(1); - - if ( (LA7_0==13) ) { - int LA7_1 = input.LA(2); - - if ( (LA7_1==14) ) { - alt7=1; - } - else if ( (LA7_1==15) ) { - alt7=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 7, 1, input); - - throw nvae; - } - } - else { - NoViableAltException nvae = - new NoViableAltException("", 7, 0, input); - - throw nvae; - } - switch (alt7) { - case 1 : - // InternalApplicationConfiguration.g:291:3: this_EPackageImport_0= ruleEPackageImport - { - - newCompositeNode(grammarAccess.getImportAccess().getEPackageImportParserRuleCall_0()); - - pushFollow(FOLLOW_2); - this_EPackageImport_0=ruleEPackageImport(); - - state._fsp--; - - - current = this_EPackageImport_0; - afterParserOrEnumRuleCall(); - - - } - break; - case 2 : - // InternalApplicationConfiguration.g:300:3: this_ViatraImport_1= ruleViatraImport - { - - newCompositeNode(grammarAccess.getImportAccess().getViatraImportParserRuleCall_1()); - - pushFollow(FOLLOW_2); - this_ViatraImport_1=ruleViatraImport(); - - state._fsp--; - - - current = this_ViatraImport_1; - afterParserOrEnumRuleCall(); - - - } - break; - - } - - - } - - - leaveRule(); - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleImport" - - - // $ANTLR start "entryRuleEPackageImport" - // InternalApplicationConfiguration.g:312:1: entryRuleEPackageImport returns [EObject current=null] : iv_ruleEPackageImport= ruleEPackageImport EOF ; - public final EObject entryRuleEPackageImport() throws RecognitionException { - EObject current = null; - - EObject iv_ruleEPackageImport = null; - - - try { - // InternalApplicationConfiguration.g:312:55: (iv_ruleEPackageImport= ruleEPackageImport EOF ) - // InternalApplicationConfiguration.g:313:2: iv_ruleEPackageImport= ruleEPackageImport EOF - { - newCompositeNode(grammarAccess.getEPackageImportRule()); - pushFollow(FOLLOW_1); - iv_ruleEPackageImport=ruleEPackageImport(); - - state._fsp--; - - current =iv_ruleEPackageImport; - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleEPackageImport" - - - // $ANTLR start "ruleEPackageImport" - // InternalApplicationConfiguration.g:319:1: ruleEPackageImport returns [EObject current=null] : (otherlv_0= 'import' otherlv_1= 'epackage' ( (otherlv_2= RULE_STRING ) ) ) ; - public final EObject ruleEPackageImport() throws RecognitionException { - EObject current = null; - - Token otherlv_0=null; - Token otherlv_1=null; - Token otherlv_2=null; - - - enterRule(); - - try { - // InternalApplicationConfiguration.g:325:2: ( (otherlv_0= 'import' otherlv_1= 'epackage' ( (otherlv_2= RULE_STRING ) ) ) ) - // InternalApplicationConfiguration.g:326:2: (otherlv_0= 'import' otherlv_1= 'epackage' ( (otherlv_2= RULE_STRING ) ) ) - { - // InternalApplicationConfiguration.g:326:2: (otherlv_0= 'import' otherlv_1= 'epackage' ( (otherlv_2= RULE_STRING ) ) ) - // InternalApplicationConfiguration.g:327:3: otherlv_0= 'import' otherlv_1= 'epackage' ( (otherlv_2= RULE_STRING ) ) - { - otherlv_0=(Token)match(input,13,FOLLOW_9); - - newLeafNode(otherlv_0, grammarAccess.getEPackageImportAccess().getImportKeyword_0()); - - otherlv_1=(Token)match(input,14,FOLLOW_10); - - newLeafNode(otherlv_1, grammarAccess.getEPackageImportAccess().getEpackageKeyword_1()); - - // InternalApplicationConfiguration.g:335:3: ( (otherlv_2= RULE_STRING ) ) - // InternalApplicationConfiguration.g:336:4: (otherlv_2= RULE_STRING ) - { - // InternalApplicationConfiguration.g:336:4: (otherlv_2= RULE_STRING ) - // InternalApplicationConfiguration.g:337:5: otherlv_2= RULE_STRING - { - - if (current==null) { - current = createModelElement(grammarAccess.getEPackageImportRule()); - } - - otherlv_2=(Token)match(input,RULE_STRING,FOLLOW_2); - - newLeafNode(otherlv_2, grammarAccess.getEPackageImportAccess().getImportedPackageEPackageCrossReference_2_0()); - - - } - - - } - - - } - - - } - - - leaveRule(); - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleEPackageImport" - - - // $ANTLR start "entryRuleViatraImport" - // InternalApplicationConfiguration.g:352:1: entryRuleViatraImport returns [EObject current=null] : iv_ruleViatraImport= ruleViatraImport EOF ; - public final EObject entryRuleViatraImport() throws RecognitionException { - EObject current = null; - - EObject iv_ruleViatraImport = null; - - - try { - // InternalApplicationConfiguration.g:352:53: (iv_ruleViatraImport= ruleViatraImport EOF ) - // InternalApplicationConfiguration.g:353:2: iv_ruleViatraImport= ruleViatraImport EOF - { - newCompositeNode(grammarAccess.getViatraImportRule()); - pushFollow(FOLLOW_1); - iv_ruleViatraImport=ruleViatraImport(); - - state._fsp--; - - current =iv_ruleViatraImport; - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleViatraImport" - - - // $ANTLR start "ruleViatraImport" - // InternalApplicationConfiguration.g:359:1: ruleViatraImport returns [EObject current=null] : (otherlv_0= 'import' otherlv_1= 'viatra' ( (otherlv_2= RULE_STRING ) ) ) ; - public final EObject ruleViatraImport() throws RecognitionException { - EObject current = null; - - Token otherlv_0=null; - Token otherlv_1=null; - Token otherlv_2=null; - - - enterRule(); - - try { - // InternalApplicationConfiguration.g:365:2: ( (otherlv_0= 'import' otherlv_1= 'viatra' ( (otherlv_2= RULE_STRING ) ) ) ) - // InternalApplicationConfiguration.g:366:2: (otherlv_0= 'import' otherlv_1= 'viatra' ( (otherlv_2= RULE_STRING ) ) ) - { - // InternalApplicationConfiguration.g:366:2: (otherlv_0= 'import' otherlv_1= 'viatra' ( (otherlv_2= RULE_STRING ) ) ) - // InternalApplicationConfiguration.g:367:3: otherlv_0= 'import' otherlv_1= 'viatra' ( (otherlv_2= RULE_STRING ) ) - { - otherlv_0=(Token)match(input,13,FOLLOW_11); - - newLeafNode(otherlv_0, grammarAccess.getViatraImportAccess().getImportKeyword_0()); - - otherlv_1=(Token)match(input,15,FOLLOW_10); - - newLeafNode(otherlv_1, grammarAccess.getViatraImportAccess().getViatraKeyword_1()); - - // InternalApplicationConfiguration.g:375:3: ( (otherlv_2= RULE_STRING ) ) - // InternalApplicationConfiguration.g:376:4: (otherlv_2= RULE_STRING ) - { - // InternalApplicationConfiguration.g:376:4: (otherlv_2= RULE_STRING ) - // InternalApplicationConfiguration.g:377:5: otherlv_2= RULE_STRING - { - - if (current==null) { - current = createModelElement(grammarAccess.getViatraImportRule()); - } - - otherlv_2=(Token)match(input,RULE_STRING,FOLLOW_2); - - newLeafNode(otherlv_2, grammarAccess.getViatraImportAccess().getImportedViatraPatternModelCrossReference_2_0()); - - - } - - - } - - - } - - - } - - - leaveRule(); - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleViatraImport" - - - // $ANTLR start "entryRuleDeclaration" - // InternalApplicationConfiguration.g:392:1: entryRuleDeclaration returns [EObject current=null] : iv_ruleDeclaration= ruleDeclaration EOF ; - public final EObject entryRuleDeclaration() throws RecognitionException { - EObject current = null; - - EObject iv_ruleDeclaration = null; - - - try { - // InternalApplicationConfiguration.g:392:52: (iv_ruleDeclaration= ruleDeclaration EOF ) - // InternalApplicationConfiguration.g:393:2: iv_ruleDeclaration= ruleDeclaration EOF - { - newCompositeNode(grammarAccess.getDeclarationRule()); - pushFollow(FOLLOW_1); - iv_ruleDeclaration=ruleDeclaration(); - - state._fsp--; - - current =iv_ruleDeclaration; - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleDeclaration" - - - // $ANTLR start "ruleDeclaration" - // InternalApplicationConfiguration.g:399:1: ruleDeclaration returns [EObject current=null] : (this_FileDeclaration_0= ruleFileDeclaration | this_MetamodelDeclaration_1= ruleMetamodelDeclaration | this_PartialModelDeclaration_2= rulePartialModelDeclaration | this_GraphPatternDeclaration_3= ruleGraphPatternDeclaration | this_ConfigDeclaration_4= ruleConfigDeclaration | this_ScopeDeclaration_5= ruleScopeDeclaration ) ; - public final EObject ruleDeclaration() throws RecognitionException { - EObject current = null; - - EObject this_FileDeclaration_0 = null; - - EObject this_MetamodelDeclaration_1 = null; - - EObject this_PartialModelDeclaration_2 = null; - - EObject this_GraphPatternDeclaration_3 = null; - - EObject this_ConfigDeclaration_4 = null; - - EObject this_ScopeDeclaration_5 = null; - - - - enterRule(); - - try { - // InternalApplicationConfiguration.g:405:2: ( (this_FileDeclaration_0= ruleFileDeclaration | this_MetamodelDeclaration_1= ruleMetamodelDeclaration | this_PartialModelDeclaration_2= rulePartialModelDeclaration | this_GraphPatternDeclaration_3= ruleGraphPatternDeclaration | this_ConfigDeclaration_4= ruleConfigDeclaration | this_ScopeDeclaration_5= ruleScopeDeclaration ) ) - // InternalApplicationConfiguration.g:406:2: (this_FileDeclaration_0= ruleFileDeclaration | this_MetamodelDeclaration_1= ruleMetamodelDeclaration | this_PartialModelDeclaration_2= rulePartialModelDeclaration | this_GraphPatternDeclaration_3= ruleGraphPatternDeclaration | this_ConfigDeclaration_4= ruleConfigDeclaration | this_ScopeDeclaration_5= ruleScopeDeclaration ) - { - // InternalApplicationConfiguration.g:406:2: (this_FileDeclaration_0= ruleFileDeclaration | this_MetamodelDeclaration_1= ruleMetamodelDeclaration | this_PartialModelDeclaration_2= rulePartialModelDeclaration | this_GraphPatternDeclaration_3= ruleGraphPatternDeclaration | this_ConfigDeclaration_4= ruleConfigDeclaration | this_ScopeDeclaration_5= ruleScopeDeclaration ) - int alt8=6; - switch ( input.LA(1) ) { - case 16: - { - alt8=1; - } - break; - case 24: - { - alt8=2; - } - break; - case 26: - { - alt8=3; - } - break; - case 27: - { - alt8=4; - } - break; - case 28: - { - alt8=5; - } - break; - case 42: - { - alt8=6; - } - break; - default: - NoViableAltException nvae = - new NoViableAltException("", 8, 0, input); - - throw nvae; - } - - switch (alt8) { - case 1 : - // InternalApplicationConfiguration.g:407:3: this_FileDeclaration_0= ruleFileDeclaration - { - - newCompositeNode(grammarAccess.getDeclarationAccess().getFileDeclarationParserRuleCall_0()); - - pushFollow(FOLLOW_2); - this_FileDeclaration_0=ruleFileDeclaration(); - - state._fsp--; - - - current = this_FileDeclaration_0; - afterParserOrEnumRuleCall(); - - - } - break; - case 2 : - // InternalApplicationConfiguration.g:416:3: this_MetamodelDeclaration_1= ruleMetamodelDeclaration - { - - newCompositeNode(grammarAccess.getDeclarationAccess().getMetamodelDeclarationParserRuleCall_1()); - - pushFollow(FOLLOW_2); - this_MetamodelDeclaration_1=ruleMetamodelDeclaration(); - - state._fsp--; - - - current = this_MetamodelDeclaration_1; - afterParserOrEnumRuleCall(); - - - } - break; - case 3 : - // InternalApplicationConfiguration.g:425:3: this_PartialModelDeclaration_2= rulePartialModelDeclaration - { - - newCompositeNode(grammarAccess.getDeclarationAccess().getPartialModelDeclarationParserRuleCall_2()); - - pushFollow(FOLLOW_2); - this_PartialModelDeclaration_2=rulePartialModelDeclaration(); - - state._fsp--; - - - current = this_PartialModelDeclaration_2; - afterParserOrEnumRuleCall(); - - - } - break; - case 4 : - // InternalApplicationConfiguration.g:434:3: this_GraphPatternDeclaration_3= ruleGraphPatternDeclaration - { - - newCompositeNode(grammarAccess.getDeclarationAccess().getGraphPatternDeclarationParserRuleCall_3()); - - pushFollow(FOLLOW_2); - this_GraphPatternDeclaration_3=ruleGraphPatternDeclaration(); - - state._fsp--; - - - current = this_GraphPatternDeclaration_3; - afterParserOrEnumRuleCall(); - - - } - break; - case 5 : - // InternalApplicationConfiguration.g:443:3: this_ConfigDeclaration_4= ruleConfigDeclaration - { - - newCompositeNode(grammarAccess.getDeclarationAccess().getConfigDeclarationParserRuleCall_4()); - - pushFollow(FOLLOW_2); - this_ConfigDeclaration_4=ruleConfigDeclaration(); - - state._fsp--; - - - current = this_ConfigDeclaration_4; - afterParserOrEnumRuleCall(); - - - } - break; - case 6 : - // InternalApplicationConfiguration.g:452:3: this_ScopeDeclaration_5= ruleScopeDeclaration - { - - newCompositeNode(grammarAccess.getDeclarationAccess().getScopeDeclarationParserRuleCall_5()); - - pushFollow(FOLLOW_2); - this_ScopeDeclaration_5=ruleScopeDeclaration(); - - state._fsp--; - - - current = this_ScopeDeclaration_5; - afterParserOrEnumRuleCall(); - - - } - break; - - } - - - } - - - leaveRule(); - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleDeclaration" - - - // $ANTLR start "entryRuleFileSpecification" - // InternalApplicationConfiguration.g:464:1: entryRuleFileSpecification returns [EObject current=null] : iv_ruleFileSpecification= ruleFileSpecification EOF ; - public final EObject entryRuleFileSpecification() throws RecognitionException { - EObject current = null; - - EObject iv_ruleFileSpecification = null; - - - try { - // InternalApplicationConfiguration.g:464:58: (iv_ruleFileSpecification= ruleFileSpecification EOF ) - // InternalApplicationConfiguration.g:465:2: iv_ruleFileSpecification= ruleFileSpecification EOF - { - newCompositeNode(grammarAccess.getFileSpecificationRule()); - pushFollow(FOLLOW_1); - iv_ruleFileSpecification=ruleFileSpecification(); - - state._fsp--; - - current =iv_ruleFileSpecification; - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleFileSpecification" - - - // $ANTLR start "ruleFileSpecification" - // InternalApplicationConfiguration.g:471:1: ruleFileSpecification returns [EObject current=null] : ( (lv_path_0_0= RULE_STRING ) ) ; - public final EObject ruleFileSpecification() throws RecognitionException { - EObject current = null; - - Token lv_path_0_0=null; - - - enterRule(); - - try { - // InternalApplicationConfiguration.g:477:2: ( ( (lv_path_0_0= RULE_STRING ) ) ) - // InternalApplicationConfiguration.g:478:2: ( (lv_path_0_0= RULE_STRING ) ) - { - // InternalApplicationConfiguration.g:478:2: ( (lv_path_0_0= RULE_STRING ) ) - // InternalApplicationConfiguration.g:479:3: (lv_path_0_0= RULE_STRING ) - { - // InternalApplicationConfiguration.g:479:3: (lv_path_0_0= RULE_STRING ) - // InternalApplicationConfiguration.g:480:4: lv_path_0_0= RULE_STRING - { - lv_path_0_0=(Token)match(input,RULE_STRING,FOLLOW_2); - - newLeafNode(lv_path_0_0, grammarAccess.getFileSpecificationAccess().getPathSTRINGTerminalRuleCall_0()); - - - if (current==null) { - current = createModelElement(grammarAccess.getFileSpecificationRule()); - } - setWithLastConsumed( - current, - "path", - lv_path_0_0, - "org.eclipse.xtext.common.Terminals.STRING"); - - - } - - - } - - - } - - - leaveRule(); - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleFileSpecification" - - - // $ANTLR start "entryRuleFileDeclaration" - // InternalApplicationConfiguration.g:499:1: entryRuleFileDeclaration returns [EObject current=null] : iv_ruleFileDeclaration= ruleFileDeclaration EOF ; - public final EObject entryRuleFileDeclaration() throws RecognitionException { - EObject current = null; - - EObject iv_ruleFileDeclaration = null; - - - try { - // InternalApplicationConfiguration.g:499:56: (iv_ruleFileDeclaration= ruleFileDeclaration EOF ) - // InternalApplicationConfiguration.g:500:2: iv_ruleFileDeclaration= ruleFileDeclaration EOF - { - newCompositeNode(grammarAccess.getFileDeclarationRule()); - pushFollow(FOLLOW_1); - iv_ruleFileDeclaration=ruleFileDeclaration(); - - state._fsp--; - - current =iv_ruleFileDeclaration; - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleFileDeclaration" - - - // $ANTLR start "ruleFileDeclaration" - // InternalApplicationConfiguration.g:506:1: ruleFileDeclaration returns [EObject current=null] : (otherlv_0= 'file' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '=' ( (lv_specification_3_0= ruleFileSpecification ) ) ) ; - public final EObject ruleFileDeclaration() throws RecognitionException { - EObject current = null; - - Token otherlv_0=null; - Token lv_name_1_0=null; - Token otherlv_2=null; - EObject lv_specification_3_0 = null; - - - - enterRule(); - - try { - // InternalApplicationConfiguration.g:512:2: ( (otherlv_0= 'file' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '=' ( (lv_specification_3_0= ruleFileSpecification ) ) ) ) - // InternalApplicationConfiguration.g:513:2: (otherlv_0= 'file' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '=' ( (lv_specification_3_0= ruleFileSpecification ) ) ) - { - // InternalApplicationConfiguration.g:513:2: (otherlv_0= 'file' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '=' ( (lv_specification_3_0= ruleFileSpecification ) ) ) - // InternalApplicationConfiguration.g:514:3: otherlv_0= 'file' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '=' ( (lv_specification_3_0= ruleFileSpecification ) ) - { - otherlv_0=(Token)match(input,16,FOLLOW_6); - - newLeafNode(otherlv_0, grammarAccess.getFileDeclarationAccess().getFileKeyword_0()); - - // InternalApplicationConfiguration.g:518:3: ( (lv_name_1_0= RULE_ID ) ) - // InternalApplicationConfiguration.g:519:4: (lv_name_1_0= RULE_ID ) - { - // InternalApplicationConfiguration.g:519:4: (lv_name_1_0= RULE_ID ) - // InternalApplicationConfiguration.g:520:5: lv_name_1_0= RULE_ID - { - lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_12); - - newLeafNode(lv_name_1_0, grammarAccess.getFileDeclarationAccess().getNameIDTerminalRuleCall_1_0()); - - - if (current==null) { - current = createModelElement(grammarAccess.getFileDeclarationRule()); - } - setWithLastConsumed( - current, - "name", - lv_name_1_0, - "org.eclipse.xtext.common.Terminals.ID"); - - - } - - - } - - otherlv_2=(Token)match(input,17,FOLLOW_10); - - newLeafNode(otherlv_2, grammarAccess.getFileDeclarationAccess().getEqualsSignKeyword_2()); - - // InternalApplicationConfiguration.g:540:3: ( (lv_specification_3_0= ruleFileSpecification ) ) - // InternalApplicationConfiguration.g:541:4: (lv_specification_3_0= ruleFileSpecification ) - { - // InternalApplicationConfiguration.g:541:4: (lv_specification_3_0= ruleFileSpecification ) - // InternalApplicationConfiguration.g:542:5: lv_specification_3_0= ruleFileSpecification - { - - newCompositeNode(grammarAccess.getFileDeclarationAccess().getSpecificationFileSpecificationParserRuleCall_3_0()); - - pushFollow(FOLLOW_2); - lv_specification_3_0=ruleFileSpecification(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getFileDeclarationRule()); - } - set( - current, - "specification", - lv_specification_3_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.FileSpecification"); - afterParserOrEnumRuleCall(); - - - } - - - } - - - } - - - } - - - leaveRule(); - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleFileDeclaration" - - - // $ANTLR start "entryRuleFileReference" - // InternalApplicationConfiguration.g:563:1: entryRuleFileReference returns [EObject current=null] : iv_ruleFileReference= ruleFileReference EOF ; - public final EObject entryRuleFileReference() throws RecognitionException { - EObject current = null; - - EObject iv_ruleFileReference = null; - - - try { - // InternalApplicationConfiguration.g:563:54: (iv_ruleFileReference= ruleFileReference EOF ) - // InternalApplicationConfiguration.g:564:2: iv_ruleFileReference= ruleFileReference EOF - { - newCompositeNode(grammarAccess.getFileReferenceRule()); - pushFollow(FOLLOW_1); - iv_ruleFileReference=ruleFileReference(); - - state._fsp--; - - current =iv_ruleFileReference; - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleFileReference" - - - // $ANTLR start "ruleFileReference" - // InternalApplicationConfiguration.g:570:1: ruleFileReference returns [EObject current=null] : ( (otherlv_0= RULE_ID ) ) ; - public final EObject ruleFileReference() throws RecognitionException { - EObject current = null; - - Token otherlv_0=null; - - - enterRule(); - - try { - // InternalApplicationConfiguration.g:576:2: ( ( (otherlv_0= RULE_ID ) ) ) - // InternalApplicationConfiguration.g:577:2: ( (otherlv_0= RULE_ID ) ) - { - // InternalApplicationConfiguration.g:577:2: ( (otherlv_0= RULE_ID ) ) - // InternalApplicationConfiguration.g:578:3: (otherlv_0= RULE_ID ) - { - // InternalApplicationConfiguration.g:578:3: (otherlv_0= RULE_ID ) - // InternalApplicationConfiguration.g:579:4: otherlv_0= RULE_ID - { - - if (current==null) { - current = createModelElement(grammarAccess.getFileReferenceRule()); - } - - otherlv_0=(Token)match(input,RULE_ID,FOLLOW_2); - - newLeafNode(otherlv_0, grammarAccess.getFileReferenceAccess().getReferredFileDeclarationCrossReference_0()); - - - } - - - } - - - } - - - leaveRule(); - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleFileReference" - - - // $ANTLR start "entryRuleFile" - // InternalApplicationConfiguration.g:593:1: entryRuleFile returns [EObject current=null] : iv_ruleFile= ruleFile EOF ; - public final EObject entryRuleFile() throws RecognitionException { - EObject current = null; - - EObject iv_ruleFile = null; - - - try { - // InternalApplicationConfiguration.g:593:45: (iv_ruleFile= ruleFile EOF ) - // InternalApplicationConfiguration.g:594:2: iv_ruleFile= ruleFile EOF - { - newCompositeNode(grammarAccess.getFileRule()); - pushFollow(FOLLOW_1); - iv_ruleFile=ruleFile(); - - state._fsp--; - - current =iv_ruleFile; - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleFile" - - - // $ANTLR start "ruleFile" - // InternalApplicationConfiguration.g:600:1: ruleFile returns [EObject current=null] : (this_FileSpecification_0= ruleFileSpecification | this_FileReference_1= ruleFileReference ) ; - public final EObject ruleFile() throws RecognitionException { - EObject current = null; - - EObject this_FileSpecification_0 = null; - - EObject this_FileReference_1 = null; - - - - enterRule(); - - try { - // InternalApplicationConfiguration.g:606:2: ( (this_FileSpecification_0= ruleFileSpecification | this_FileReference_1= ruleFileReference ) ) - // InternalApplicationConfiguration.g:607:2: (this_FileSpecification_0= ruleFileSpecification | this_FileReference_1= ruleFileReference ) - { - // InternalApplicationConfiguration.g:607:2: (this_FileSpecification_0= ruleFileSpecification | this_FileReference_1= ruleFileReference ) - int alt9=2; - int LA9_0 = input.LA(1); - - if ( (LA9_0==RULE_STRING) ) { - alt9=1; - } - else if ( (LA9_0==RULE_ID) ) { - alt9=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 9, 0, input); - - throw nvae; - } - switch (alt9) { - case 1 : - // InternalApplicationConfiguration.g:608:3: this_FileSpecification_0= ruleFileSpecification - { - - newCompositeNode(grammarAccess.getFileAccess().getFileSpecificationParserRuleCall_0()); - - pushFollow(FOLLOW_2); - this_FileSpecification_0=ruleFileSpecification(); - - state._fsp--; - - - current = this_FileSpecification_0; - afterParserOrEnumRuleCall(); - - - } - break; - case 2 : - // InternalApplicationConfiguration.g:617:3: this_FileReference_1= ruleFileReference - { - - newCompositeNode(grammarAccess.getFileAccess().getFileReferenceParserRuleCall_1()); - - pushFollow(FOLLOW_2); - this_FileReference_1=ruleFileReference(); - - state._fsp--; - - - current = this_FileReference_1; - afterParserOrEnumRuleCall(); - - - } - break; - - } - - - } - - - leaveRule(); - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleFile" - - - // $ANTLR start "entryRuleMetamodelSpecification" - // InternalApplicationConfiguration.g:629:1: entryRuleMetamodelSpecification returns [EObject current=null] : iv_ruleMetamodelSpecification= ruleMetamodelSpecification EOF ; - public final EObject entryRuleMetamodelSpecification() throws RecognitionException { - EObject current = null; - - EObject iv_ruleMetamodelSpecification = null; - - - try { - // InternalApplicationConfiguration.g:629:63: (iv_ruleMetamodelSpecification= ruleMetamodelSpecification EOF ) - // InternalApplicationConfiguration.g:630:2: iv_ruleMetamodelSpecification= ruleMetamodelSpecification EOF - { - newCompositeNode(grammarAccess.getMetamodelSpecificationRule()); - pushFollow(FOLLOW_1); - iv_ruleMetamodelSpecification=ruleMetamodelSpecification(); - - state._fsp--; - - current =iv_ruleMetamodelSpecification; - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleMetamodelSpecification" - - - // $ANTLR start "ruleMetamodelSpecification" - // InternalApplicationConfiguration.g:636:1: ruleMetamodelSpecification returns [EObject current=null] : (otherlv_0= '{' ( (lv_entries_1_0= ruleMetamodelEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) ) )* otherlv_4= '}' ) ; - public final EObject ruleMetamodelSpecification() throws RecognitionException { - EObject current = null; - - Token otherlv_0=null; - Token otherlv_2=null; - Token otherlv_4=null; - EObject lv_entries_1_0 = null; - - EObject lv_entries_3_0 = null; - - - - enterRule(); - - try { - // InternalApplicationConfiguration.g:642:2: ( (otherlv_0= '{' ( (lv_entries_1_0= ruleMetamodelEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) ) )* otherlv_4= '}' ) ) - // InternalApplicationConfiguration.g:643:2: (otherlv_0= '{' ( (lv_entries_1_0= ruleMetamodelEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) ) )* otherlv_4= '}' ) - { - // InternalApplicationConfiguration.g:643:2: (otherlv_0= '{' ( (lv_entries_1_0= ruleMetamodelEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) ) )* otherlv_4= '}' ) - // InternalApplicationConfiguration.g:644:3: otherlv_0= '{' ( (lv_entries_1_0= ruleMetamodelEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) ) )* otherlv_4= '}' - { - otherlv_0=(Token)match(input,18,FOLLOW_13); - - newLeafNode(otherlv_0, grammarAccess.getMetamodelSpecificationAccess().getLeftCurlyBracketKeyword_0()); - - // InternalApplicationConfiguration.g:648:3: ( (lv_entries_1_0= ruleMetamodelEntry ) ) - // InternalApplicationConfiguration.g:649:4: (lv_entries_1_0= ruleMetamodelEntry ) - { - // InternalApplicationConfiguration.g:649:4: (lv_entries_1_0= ruleMetamodelEntry ) - // InternalApplicationConfiguration.g:650:5: lv_entries_1_0= ruleMetamodelEntry - { - - newCompositeNode(grammarAccess.getMetamodelSpecificationAccess().getEntriesMetamodelEntryParserRuleCall_1_0()); - - pushFollow(FOLLOW_14); - lv_entries_1_0=ruleMetamodelEntry(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getMetamodelSpecificationRule()); - } - add( - current, - "entries", - lv_entries_1_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelEntry"); - afterParserOrEnumRuleCall(); - - - } - - - } - - // InternalApplicationConfiguration.g:667:3: (otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) ) )* - loop10: - do { - int alt10=2; - int LA10_0 = input.LA(1); - - if ( (LA10_0==19) ) { - alt10=1; - } - - - switch (alt10) { - case 1 : - // InternalApplicationConfiguration.g:668:4: otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) ) - { - otherlv_2=(Token)match(input,19,FOLLOW_13); - - newLeafNode(otherlv_2, grammarAccess.getMetamodelSpecificationAccess().getCommaKeyword_2_0()); - - // InternalApplicationConfiguration.g:672:4: ( (lv_entries_3_0= ruleMetamodelEntry ) ) - // InternalApplicationConfiguration.g:673:5: (lv_entries_3_0= ruleMetamodelEntry ) - { - // InternalApplicationConfiguration.g:673:5: (lv_entries_3_0= ruleMetamodelEntry ) - // InternalApplicationConfiguration.g:674:6: lv_entries_3_0= ruleMetamodelEntry - { - - newCompositeNode(grammarAccess.getMetamodelSpecificationAccess().getEntriesMetamodelEntryParserRuleCall_2_1_0()); - - pushFollow(FOLLOW_14); - lv_entries_3_0=ruleMetamodelEntry(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getMetamodelSpecificationRule()); - } - add( - current, - "entries", - lv_entries_3_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelEntry"); - afterParserOrEnumRuleCall(); - - - } - - - } - - - } - break; - - default : - break loop10; - } - } while (true); - - otherlv_4=(Token)match(input,20,FOLLOW_2); - - newLeafNode(otherlv_4, grammarAccess.getMetamodelSpecificationAccess().getRightCurlyBracketKeyword_3()); - - - } - - - } - - - leaveRule(); - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleMetamodelSpecification" - - - // $ANTLR start "entryRuleMetamodelEntry" - // InternalApplicationConfiguration.g:700:1: entryRuleMetamodelEntry returns [EObject current=null] : iv_ruleMetamodelEntry= ruleMetamodelEntry EOF ; - public final EObject entryRuleMetamodelEntry() throws RecognitionException { - EObject current = null; - - EObject iv_ruleMetamodelEntry = null; - - - try { - // InternalApplicationConfiguration.g:700:55: (iv_ruleMetamodelEntry= ruleMetamodelEntry EOF ) - // InternalApplicationConfiguration.g:701:2: iv_ruleMetamodelEntry= ruleMetamodelEntry EOF - { - newCompositeNode(grammarAccess.getMetamodelEntryRule()); - pushFollow(FOLLOW_1); - iv_ruleMetamodelEntry=ruleMetamodelEntry(); - - state._fsp--; - - current =iv_ruleMetamodelEntry; - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleMetamodelEntry" - - - // $ANTLR start "ruleMetamodelEntry" - // InternalApplicationConfiguration.g:707:1: ruleMetamodelEntry returns [EObject current=null] : (this_MetamodelElement_0= ruleMetamodelElement | this_AllPackageEntry_1= ruleAllPackageEntry ) ; - public final EObject ruleMetamodelEntry() throws RecognitionException { - EObject current = null; - - EObject this_MetamodelElement_0 = null; - - EObject this_AllPackageEntry_1 = null; - - - - enterRule(); - - try { - // InternalApplicationConfiguration.g:713:2: ( (this_MetamodelElement_0= ruleMetamodelElement | this_AllPackageEntry_1= ruleAllPackageEntry ) ) - // InternalApplicationConfiguration.g:714:2: (this_MetamodelElement_0= ruleMetamodelElement | this_AllPackageEntry_1= ruleAllPackageEntry ) - { - // InternalApplicationConfiguration.g:714:2: (this_MetamodelElement_0= ruleMetamodelElement | this_AllPackageEntry_1= ruleAllPackageEntry ) - int alt11=2; - int LA11_0 = input.LA(1); - - if ( (LA11_0==RULE_ID) ) { - alt11=1; - } - else if ( (LA11_0==21) ) { - alt11=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 11, 0, input); - - throw nvae; - } - switch (alt11) { - case 1 : - // InternalApplicationConfiguration.g:715:3: this_MetamodelElement_0= ruleMetamodelElement - { - - newCompositeNode(grammarAccess.getMetamodelEntryAccess().getMetamodelElementParserRuleCall_0()); - - pushFollow(FOLLOW_2); - this_MetamodelElement_0=ruleMetamodelElement(); - - state._fsp--; - - - current = this_MetamodelElement_0; - afterParserOrEnumRuleCall(); - - - } - break; - case 2 : - // InternalApplicationConfiguration.g:724:3: this_AllPackageEntry_1= ruleAllPackageEntry - { - - newCompositeNode(grammarAccess.getMetamodelEntryAccess().getAllPackageEntryParserRuleCall_1()); - - pushFollow(FOLLOW_2); - this_AllPackageEntry_1=ruleAllPackageEntry(); - - state._fsp--; - - - current = this_AllPackageEntry_1; - afterParserOrEnumRuleCall(); - - - } - break; - - } - - - } - - - leaveRule(); - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleMetamodelEntry" - - - // $ANTLR start "entryRuleAllPackageEntry" - // InternalApplicationConfiguration.g:736:1: entryRuleAllPackageEntry returns [EObject current=null] : iv_ruleAllPackageEntry= ruleAllPackageEntry EOF ; - public final EObject entryRuleAllPackageEntry() throws RecognitionException { - EObject current = null; - - EObject iv_ruleAllPackageEntry = null; - - - try { - // InternalApplicationConfiguration.g:736:56: (iv_ruleAllPackageEntry= ruleAllPackageEntry EOF ) - // InternalApplicationConfiguration.g:737:2: iv_ruleAllPackageEntry= ruleAllPackageEntry EOF - { - newCompositeNode(grammarAccess.getAllPackageEntryRule()); - pushFollow(FOLLOW_1); - iv_ruleAllPackageEntry=ruleAllPackageEntry(); - - state._fsp--; - - current =iv_ruleAllPackageEntry; - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleAllPackageEntry" - - - // $ANTLR start "ruleAllPackageEntry" - // InternalApplicationConfiguration.g:743:1: ruleAllPackageEntry returns [EObject current=null] : (otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleMetamodelElement ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )* otherlv_7= '}' )? ) ; - public final EObject ruleAllPackageEntry() throws RecognitionException { - EObject current = null; - - Token otherlv_0=null; - Token otherlv_2=null; - Token otherlv_3=null; - Token otherlv_5=null; - Token otherlv_7=null; - EObject lv_exclusion_4_0 = null; - - EObject lv_exclusion_6_0 = null; - - - - enterRule(); - - try { - // InternalApplicationConfiguration.g:749:2: ( (otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleMetamodelElement ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )* otherlv_7= '}' )? ) ) - // InternalApplicationConfiguration.g:750:2: (otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleMetamodelElement ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )* otherlv_7= '}' )? ) - { - // InternalApplicationConfiguration.g:750:2: (otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleMetamodelElement ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )* otherlv_7= '}' )? ) - // InternalApplicationConfiguration.g:751:3: otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleMetamodelElement ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )* otherlv_7= '}' )? - { - otherlv_0=(Token)match(input,21,FOLLOW_6); - - newLeafNode(otherlv_0, grammarAccess.getAllPackageEntryAccess().getPackageKeyword_0()); - - // InternalApplicationConfiguration.g:755:3: ( ( ruleQualifiedName ) ) - // InternalApplicationConfiguration.g:756:4: ( ruleQualifiedName ) - { - // InternalApplicationConfiguration.g:756:4: ( ruleQualifiedName ) - // InternalApplicationConfiguration.g:757:5: ruleQualifiedName - { - - if (current==null) { - current = createModelElement(grammarAccess.getAllPackageEntryRule()); - } - - - newCompositeNode(grammarAccess.getAllPackageEntryAccess().getPackageEPackageCrossReference_1_0()); - - pushFollow(FOLLOW_15); - ruleQualifiedName(); - - state._fsp--; - - - afterParserOrEnumRuleCall(); - - - } - - - } - - // InternalApplicationConfiguration.g:771:3: (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleMetamodelElement ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )* otherlv_7= '}' )? - int alt13=2; - int LA13_0 = input.LA(1); - - if ( (LA13_0==22) ) { - alt13=1; - } - switch (alt13) { - case 1 : - // InternalApplicationConfiguration.g:772:4: otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleMetamodelElement ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )* otherlv_7= '}' - { - otherlv_2=(Token)match(input,22,FOLLOW_16); - - newLeafNode(otherlv_2, grammarAccess.getAllPackageEntryAccess().getExcludingKeyword_2_0()); - - otherlv_3=(Token)match(input,18,FOLLOW_6); - - newLeafNode(otherlv_3, grammarAccess.getAllPackageEntryAccess().getLeftCurlyBracketKeyword_2_1()); - - // InternalApplicationConfiguration.g:780:4: ( (lv_exclusion_4_0= ruleMetamodelElement ) ) - // InternalApplicationConfiguration.g:781:5: (lv_exclusion_4_0= ruleMetamodelElement ) - { - // InternalApplicationConfiguration.g:781:5: (lv_exclusion_4_0= ruleMetamodelElement ) - // InternalApplicationConfiguration.g:782:6: lv_exclusion_4_0= ruleMetamodelElement - { - - newCompositeNode(grammarAccess.getAllPackageEntryAccess().getExclusionMetamodelElementParserRuleCall_2_2_0()); - - pushFollow(FOLLOW_14); - lv_exclusion_4_0=ruleMetamodelElement(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getAllPackageEntryRule()); - } - add( - current, - "exclusion", - lv_exclusion_4_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelElement"); - afterParserOrEnumRuleCall(); - - - } - - - } - - // InternalApplicationConfiguration.g:799:4: (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )* - loop12: - do { - int alt12=2; - int LA12_0 = input.LA(1); - - if ( (LA12_0==19) ) { - alt12=1; - } - - - switch (alt12) { - case 1 : - // InternalApplicationConfiguration.g:800:5: otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) - { - otherlv_5=(Token)match(input,19,FOLLOW_6); - - newLeafNode(otherlv_5, grammarAccess.getAllPackageEntryAccess().getCommaKeyword_2_3_0()); - - // InternalApplicationConfiguration.g:804:5: ( (lv_exclusion_6_0= ruleMetamodelElement ) ) - // InternalApplicationConfiguration.g:805:6: (lv_exclusion_6_0= ruleMetamodelElement ) - { - // InternalApplicationConfiguration.g:805:6: (lv_exclusion_6_0= ruleMetamodelElement ) - // InternalApplicationConfiguration.g:806:7: lv_exclusion_6_0= ruleMetamodelElement - { - - newCompositeNode(grammarAccess.getAllPackageEntryAccess().getExclusionMetamodelElementParserRuleCall_2_3_1_0()); - - pushFollow(FOLLOW_14); - lv_exclusion_6_0=ruleMetamodelElement(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getAllPackageEntryRule()); - } - add( - current, - "exclusion", - lv_exclusion_6_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelElement"); - afterParserOrEnumRuleCall(); - - - } - - - } - - - } - break; - - default : - break loop12; - } - } while (true); - - otherlv_7=(Token)match(input,20,FOLLOW_2); - - newLeafNode(otherlv_7, grammarAccess.getAllPackageEntryAccess().getRightCurlyBracketKeyword_2_4()); - - - } - break; - - } - - - } - - - } - - - leaveRule(); - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleAllPackageEntry" - - - // $ANTLR start "entryRuleMetamodelElement" - // InternalApplicationConfiguration.g:833:1: entryRuleMetamodelElement returns [EObject current=null] : iv_ruleMetamodelElement= ruleMetamodelElement EOF ; - public final EObject entryRuleMetamodelElement() throws RecognitionException { - EObject current = null; - - EObject iv_ruleMetamodelElement = null; - - - try { - // InternalApplicationConfiguration.g:833:57: (iv_ruleMetamodelElement= ruleMetamodelElement EOF ) - // InternalApplicationConfiguration.g:834:2: iv_ruleMetamodelElement= ruleMetamodelElement EOF - { - newCompositeNode(grammarAccess.getMetamodelElementRule()); - pushFollow(FOLLOW_1); - iv_ruleMetamodelElement=ruleMetamodelElement(); - - state._fsp--; - - current =iv_ruleMetamodelElement; - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleMetamodelElement" - - - // $ANTLR start "ruleMetamodelElement" - // InternalApplicationConfiguration.g:840:1: ruleMetamodelElement returns [EObject current=null] : ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) (otherlv_3= '.' ( (otherlv_4= RULE_ID ) ) )? ) ; - public final EObject ruleMetamodelElement() throws RecognitionException { - EObject current = null; - - Token otherlv_1=null; - Token otherlv_2=null; - Token otherlv_3=null; - Token otherlv_4=null; - - - enterRule(); - - try { - // InternalApplicationConfiguration.g:846:2: ( ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) (otherlv_3= '.' ( (otherlv_4= RULE_ID ) ) )? ) ) - // InternalApplicationConfiguration.g:847:2: ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) (otherlv_3= '.' ( (otherlv_4= RULE_ID ) ) )? ) - { - // InternalApplicationConfiguration.g:847:2: ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) (otherlv_3= '.' ( (otherlv_4= RULE_ID ) ) )? ) - // InternalApplicationConfiguration.g:848:3: ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) (otherlv_3= '.' ( (otherlv_4= RULE_ID ) ) )? - { - // InternalApplicationConfiguration.g:848:3: ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? - int alt14=2; - int LA14_0 = input.LA(1); - - if ( (LA14_0==RULE_ID) ) { - int LA14_1 = input.LA(2); - - if ( (LA14_1==11) ) { - int LA14_2 = input.LA(3); - - if ( (LA14_2==RULE_ID) ) { - int LA14_5 = input.LA(4); - - if ( (LA14_5==11||LA14_5==23) ) { - alt14=1; - } - } - } - else if ( (LA14_1==23) ) { - alt14=1; - } - } - switch (alt14) { - case 1 : - // InternalApplicationConfiguration.g:849:4: ( ( ruleQualifiedName ) ) otherlv_1= '::' - { - // InternalApplicationConfiguration.g:849:4: ( ( ruleQualifiedName ) ) - // InternalApplicationConfiguration.g:850:5: ( ruleQualifiedName ) - { - // InternalApplicationConfiguration.g:850:5: ( ruleQualifiedName ) - // InternalApplicationConfiguration.g:851:6: ruleQualifiedName - { - - if (current==null) { - current = createModelElement(grammarAccess.getMetamodelElementRule()); - } - - - newCompositeNode(grammarAccess.getMetamodelElementAccess().getPackageEPackageCrossReference_0_0_0()); - - pushFollow(FOLLOW_17); - ruleQualifiedName(); - - state._fsp--; - - - afterParserOrEnumRuleCall(); - - - } - - - } - - otherlv_1=(Token)match(input,23,FOLLOW_6); - - newLeafNode(otherlv_1, grammarAccess.getMetamodelElementAccess().getColonColonKeyword_0_1()); - - - } - break; - - } - - // InternalApplicationConfiguration.g:870:3: ( (otherlv_2= RULE_ID ) ) - // InternalApplicationConfiguration.g:871:4: (otherlv_2= RULE_ID ) - { - // InternalApplicationConfiguration.g:871:4: (otherlv_2= RULE_ID ) - // InternalApplicationConfiguration.g:872:5: otherlv_2= RULE_ID - { - - if (current==null) { - current = createModelElement(grammarAccess.getMetamodelElementRule()); - } - - otherlv_2=(Token)match(input,RULE_ID,FOLLOW_5); - - newLeafNode(otherlv_2, grammarAccess.getMetamodelElementAccess().getClassifierEClassifierCrossReference_1_0()); - - - } - - - } - - // InternalApplicationConfiguration.g:883:3: (otherlv_3= '.' ( (otherlv_4= RULE_ID ) ) )? - int alt15=2; - int LA15_0 = input.LA(1); - - if ( (LA15_0==11) ) { - alt15=1; - } - switch (alt15) { - case 1 : - // InternalApplicationConfiguration.g:884:4: otherlv_3= '.' ( (otherlv_4= RULE_ID ) ) - { - otherlv_3=(Token)match(input,11,FOLLOW_6); - - newLeafNode(otherlv_3, grammarAccess.getMetamodelElementAccess().getFullStopKeyword_2_0()); - - // InternalApplicationConfiguration.g:888:4: ( (otherlv_4= RULE_ID ) ) - // InternalApplicationConfiguration.g:889:5: (otherlv_4= RULE_ID ) - { - // InternalApplicationConfiguration.g:889:5: (otherlv_4= RULE_ID ) - // InternalApplicationConfiguration.g:890:6: otherlv_4= RULE_ID - { - - if (current==null) { - current = createModelElement(grammarAccess.getMetamodelElementRule()); - } - - otherlv_4=(Token)match(input,RULE_ID,FOLLOW_2); - - newLeafNode(otherlv_4, grammarAccess.getMetamodelElementAccess().getFeatureENamedElementCrossReference_2_1_0()); - - - } - - - } - - - } - break; - - } - - - } - - - } - - - leaveRule(); - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleMetamodelElement" - - - // $ANTLR start "entryRuleMetamodelDeclaration" - // InternalApplicationConfiguration.g:906:1: entryRuleMetamodelDeclaration returns [EObject current=null] : iv_ruleMetamodelDeclaration= ruleMetamodelDeclaration EOF ; - public final EObject entryRuleMetamodelDeclaration() throws RecognitionException { - EObject current = null; - - EObject iv_ruleMetamodelDeclaration = null; - - - try { - // InternalApplicationConfiguration.g:906:61: (iv_ruleMetamodelDeclaration= ruleMetamodelDeclaration EOF ) - // InternalApplicationConfiguration.g:907:2: iv_ruleMetamodelDeclaration= ruleMetamodelDeclaration EOF - { - newCompositeNode(grammarAccess.getMetamodelDeclarationRule()); - pushFollow(FOLLOW_1); - iv_ruleMetamodelDeclaration=ruleMetamodelDeclaration(); - - state._fsp--; - - current =iv_ruleMetamodelDeclaration; - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleMetamodelDeclaration" - - - // $ANTLR start "ruleMetamodelDeclaration" - // InternalApplicationConfiguration.g:913:1: ruleMetamodelDeclaration returns [EObject current=null] : (otherlv_0= 'metamodel' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleMetamodelSpecification ) ) ) ; - public final EObject ruleMetamodelDeclaration() throws RecognitionException { - EObject current = null; - - Token otherlv_0=null; - Token lv_name_1_0=null; - EObject lv_specification_2_0 = null; - - - - enterRule(); - - try { - // InternalApplicationConfiguration.g:919:2: ( (otherlv_0= 'metamodel' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleMetamodelSpecification ) ) ) ) - // InternalApplicationConfiguration.g:920:2: (otherlv_0= 'metamodel' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleMetamodelSpecification ) ) ) - { - // InternalApplicationConfiguration.g:920:2: (otherlv_0= 'metamodel' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleMetamodelSpecification ) ) ) - // InternalApplicationConfiguration.g:921:3: otherlv_0= 'metamodel' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleMetamodelSpecification ) ) - { - otherlv_0=(Token)match(input,24,FOLLOW_6); - - newLeafNode(otherlv_0, grammarAccess.getMetamodelDeclarationAccess().getMetamodelKeyword_0()); - - // InternalApplicationConfiguration.g:925:3: ( (lv_name_1_0= RULE_ID ) ) - // InternalApplicationConfiguration.g:926:4: (lv_name_1_0= RULE_ID ) - { - // InternalApplicationConfiguration.g:926:4: (lv_name_1_0= RULE_ID ) - // InternalApplicationConfiguration.g:927:5: lv_name_1_0= RULE_ID - { - lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_16); - - newLeafNode(lv_name_1_0, grammarAccess.getMetamodelDeclarationAccess().getNameIDTerminalRuleCall_1_0()); - - - if (current==null) { - current = createModelElement(grammarAccess.getMetamodelDeclarationRule()); - } - setWithLastConsumed( - current, - "name", - lv_name_1_0, - "org.eclipse.xtext.common.Terminals.ID"); - - - } - - - } - - // InternalApplicationConfiguration.g:943:3: ( (lv_specification_2_0= ruleMetamodelSpecification ) ) - // InternalApplicationConfiguration.g:944:4: (lv_specification_2_0= ruleMetamodelSpecification ) - { - // InternalApplicationConfiguration.g:944:4: (lv_specification_2_0= ruleMetamodelSpecification ) - // InternalApplicationConfiguration.g:945:5: lv_specification_2_0= ruleMetamodelSpecification - { - - newCompositeNode(grammarAccess.getMetamodelDeclarationAccess().getSpecificationMetamodelSpecificationParserRuleCall_2_0()); - - pushFollow(FOLLOW_2); - lv_specification_2_0=ruleMetamodelSpecification(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getMetamodelDeclarationRule()); - } - set( - current, - "specification", - lv_specification_2_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelSpecification"); - afterParserOrEnumRuleCall(); - - - } - - - } - - - } - - - } - - - leaveRule(); - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleMetamodelDeclaration" - - - // $ANTLR start "entryRuleMetamodelReference" - // InternalApplicationConfiguration.g:966:1: entryRuleMetamodelReference returns [EObject current=null] : iv_ruleMetamodelReference= ruleMetamodelReference EOF ; - public final EObject entryRuleMetamodelReference() throws RecognitionException { - EObject current = null; - - EObject iv_ruleMetamodelReference = null; - - - try { - // InternalApplicationConfiguration.g:966:59: (iv_ruleMetamodelReference= ruleMetamodelReference EOF ) - // InternalApplicationConfiguration.g:967:2: iv_ruleMetamodelReference= ruleMetamodelReference EOF - { - newCompositeNode(grammarAccess.getMetamodelReferenceRule()); - pushFollow(FOLLOW_1); - iv_ruleMetamodelReference=ruleMetamodelReference(); - - state._fsp--; - - current =iv_ruleMetamodelReference; - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleMetamodelReference" - - - // $ANTLR start "ruleMetamodelReference" - // InternalApplicationConfiguration.g:973:1: ruleMetamodelReference returns [EObject current=null] : ( (otherlv_0= RULE_ID ) ) ; - public final EObject ruleMetamodelReference() throws RecognitionException { - EObject current = null; - - Token otherlv_0=null; - - - enterRule(); - - try { - // InternalApplicationConfiguration.g:979:2: ( ( (otherlv_0= RULE_ID ) ) ) - // InternalApplicationConfiguration.g:980:2: ( (otherlv_0= RULE_ID ) ) - { - // InternalApplicationConfiguration.g:980:2: ( (otherlv_0= RULE_ID ) ) - // InternalApplicationConfiguration.g:981:3: (otherlv_0= RULE_ID ) - { - // InternalApplicationConfiguration.g:981:3: (otherlv_0= RULE_ID ) - // InternalApplicationConfiguration.g:982:4: otherlv_0= RULE_ID - { - - if (current==null) { - current = createModelElement(grammarAccess.getMetamodelReferenceRule()); - } - - otherlv_0=(Token)match(input,RULE_ID,FOLLOW_2); - - newLeafNode(otherlv_0, grammarAccess.getMetamodelReferenceAccess().getReferredMetamodelDeclarationCrossReference_0()); - - - } - - - } - - - } - - - leaveRule(); - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleMetamodelReference" - - - // $ANTLR start "entryRuleMetamodel" - // InternalApplicationConfiguration.g:996:1: entryRuleMetamodel returns [EObject current=null] : iv_ruleMetamodel= ruleMetamodel EOF ; - public final EObject entryRuleMetamodel() throws RecognitionException { - EObject current = null; - - EObject iv_ruleMetamodel = null; - - - try { - // InternalApplicationConfiguration.g:996:50: (iv_ruleMetamodel= ruleMetamodel EOF ) - // InternalApplicationConfiguration.g:997:2: iv_ruleMetamodel= ruleMetamodel EOF - { - newCompositeNode(grammarAccess.getMetamodelRule()); - pushFollow(FOLLOW_1); - iv_ruleMetamodel=ruleMetamodel(); - - state._fsp--; - - current =iv_ruleMetamodel; - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleMetamodel" - - - // $ANTLR start "ruleMetamodel" - // InternalApplicationConfiguration.g:1003:1: ruleMetamodel returns [EObject current=null] : (this_MetamodelReference_0= ruleMetamodelReference | this_MetamodelSpecification_1= ruleMetamodelSpecification ) ; - public final EObject ruleMetamodel() throws RecognitionException { - EObject current = null; - - EObject this_MetamodelReference_0 = null; - - EObject this_MetamodelSpecification_1 = null; - - - - enterRule(); - - try { - // InternalApplicationConfiguration.g:1009:2: ( (this_MetamodelReference_0= ruleMetamodelReference | this_MetamodelSpecification_1= ruleMetamodelSpecification ) ) - // InternalApplicationConfiguration.g:1010:2: (this_MetamodelReference_0= ruleMetamodelReference | this_MetamodelSpecification_1= ruleMetamodelSpecification ) - { - // InternalApplicationConfiguration.g:1010:2: (this_MetamodelReference_0= ruleMetamodelReference | this_MetamodelSpecification_1= ruleMetamodelSpecification ) - int alt16=2; - int LA16_0 = input.LA(1); - - if ( (LA16_0==RULE_ID) ) { - alt16=1; - } - else if ( (LA16_0==18) ) { - alt16=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 16, 0, input); - - throw nvae; - } - switch (alt16) { - case 1 : - // InternalApplicationConfiguration.g:1011:3: this_MetamodelReference_0= ruleMetamodelReference - { - - newCompositeNode(grammarAccess.getMetamodelAccess().getMetamodelReferenceParserRuleCall_0()); - - pushFollow(FOLLOW_2); - this_MetamodelReference_0=ruleMetamodelReference(); - - state._fsp--; - - - current = this_MetamodelReference_0; - afterParserOrEnumRuleCall(); - - - } - break; - case 2 : - // InternalApplicationConfiguration.g:1020:3: this_MetamodelSpecification_1= ruleMetamodelSpecification - { - - newCompositeNode(grammarAccess.getMetamodelAccess().getMetamodelSpecificationParserRuleCall_1()); - - pushFollow(FOLLOW_2); - this_MetamodelSpecification_1=ruleMetamodelSpecification(); - - state._fsp--; - - - current = this_MetamodelSpecification_1; - afterParserOrEnumRuleCall(); - - - } - break; - - } - - - } - - - leaveRule(); - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleMetamodel" - - - // $ANTLR start "entryRulePartialModelSpecification" - // InternalApplicationConfiguration.g:1032:1: entryRulePartialModelSpecification returns [EObject current=null] : iv_rulePartialModelSpecification= rulePartialModelSpecification EOF ; - public final EObject entryRulePartialModelSpecification() throws RecognitionException { - EObject current = null; - - EObject iv_rulePartialModelSpecification = null; - - - try { - // InternalApplicationConfiguration.g:1032:66: (iv_rulePartialModelSpecification= rulePartialModelSpecification EOF ) - // InternalApplicationConfiguration.g:1033:2: iv_rulePartialModelSpecification= rulePartialModelSpecification EOF - { - newCompositeNode(grammarAccess.getPartialModelSpecificationRule()); - pushFollow(FOLLOW_1); - iv_rulePartialModelSpecification=rulePartialModelSpecification(); - - state._fsp--; - - current =iv_rulePartialModelSpecification; - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRulePartialModelSpecification" - - - // $ANTLR start "rulePartialModelSpecification" - // InternalApplicationConfiguration.g:1039:1: rulePartialModelSpecification returns [EObject current=null] : (otherlv_0= '{' ( (lv_entry_1_0= rulePartialModelEntry ) ) (otherlv_2= ',' ( (lv_entry_3_0= rulePartialModelEntry ) ) )? otherlv_4= '}' ) ; - public final EObject rulePartialModelSpecification() throws RecognitionException { - EObject current = null; - - Token otherlv_0=null; - Token otherlv_2=null; - Token otherlv_4=null; - EObject lv_entry_1_0 = null; - - EObject lv_entry_3_0 = null; - - - - enterRule(); - - try { - // InternalApplicationConfiguration.g:1045:2: ( (otherlv_0= '{' ( (lv_entry_1_0= rulePartialModelEntry ) ) (otherlv_2= ',' ( (lv_entry_3_0= rulePartialModelEntry ) ) )? otherlv_4= '}' ) ) - // InternalApplicationConfiguration.g:1046:2: (otherlv_0= '{' ( (lv_entry_1_0= rulePartialModelEntry ) ) (otherlv_2= ',' ( (lv_entry_3_0= rulePartialModelEntry ) ) )? otherlv_4= '}' ) - { - // InternalApplicationConfiguration.g:1046:2: (otherlv_0= '{' ( (lv_entry_1_0= rulePartialModelEntry ) ) (otherlv_2= ',' ( (lv_entry_3_0= rulePartialModelEntry ) ) )? otherlv_4= '}' ) - // InternalApplicationConfiguration.g:1047:3: otherlv_0= '{' ( (lv_entry_1_0= rulePartialModelEntry ) ) (otherlv_2= ',' ( (lv_entry_3_0= rulePartialModelEntry ) ) )? otherlv_4= '}' - { - otherlv_0=(Token)match(input,18,FOLLOW_18); - - newLeafNode(otherlv_0, grammarAccess.getPartialModelSpecificationAccess().getLeftCurlyBracketKeyword_0()); - - // InternalApplicationConfiguration.g:1051:3: ( (lv_entry_1_0= rulePartialModelEntry ) ) - // InternalApplicationConfiguration.g:1052:4: (lv_entry_1_0= rulePartialModelEntry ) - { - // InternalApplicationConfiguration.g:1052:4: (lv_entry_1_0= rulePartialModelEntry ) - // InternalApplicationConfiguration.g:1053:5: lv_entry_1_0= rulePartialModelEntry - { - - newCompositeNode(grammarAccess.getPartialModelSpecificationAccess().getEntryPartialModelEntryParserRuleCall_1_0()); - - pushFollow(FOLLOW_14); - lv_entry_1_0=rulePartialModelEntry(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getPartialModelSpecificationRule()); - } - add( - current, - "entry", - lv_entry_1_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PartialModelEntry"); - afterParserOrEnumRuleCall(); - - - } - - - } - - // InternalApplicationConfiguration.g:1070:3: (otherlv_2= ',' ( (lv_entry_3_0= rulePartialModelEntry ) ) )? - int alt17=2; - int LA17_0 = input.LA(1); - - if ( (LA17_0==19) ) { - alt17=1; - } - switch (alt17) { - case 1 : - // InternalApplicationConfiguration.g:1071:4: otherlv_2= ',' ( (lv_entry_3_0= rulePartialModelEntry ) ) - { - otherlv_2=(Token)match(input,19,FOLLOW_18); - - newLeafNode(otherlv_2, grammarAccess.getPartialModelSpecificationAccess().getCommaKeyword_2_0()); - - // InternalApplicationConfiguration.g:1075:4: ( (lv_entry_3_0= rulePartialModelEntry ) ) - // InternalApplicationConfiguration.g:1076:5: (lv_entry_3_0= rulePartialModelEntry ) - { - // InternalApplicationConfiguration.g:1076:5: (lv_entry_3_0= rulePartialModelEntry ) - // InternalApplicationConfiguration.g:1077:6: lv_entry_3_0= rulePartialModelEntry - { - - newCompositeNode(grammarAccess.getPartialModelSpecificationAccess().getEntryPartialModelEntryParserRuleCall_2_1_0()); - - pushFollow(FOLLOW_19); - lv_entry_3_0=rulePartialModelEntry(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getPartialModelSpecificationRule()); - } - add( - current, - "entry", - lv_entry_3_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PartialModelEntry"); - afterParserOrEnumRuleCall(); - - - } - - - } - - - } - break; - - } - - otherlv_4=(Token)match(input,20,FOLLOW_2); - - newLeafNode(otherlv_4, grammarAccess.getPartialModelSpecificationAccess().getRightCurlyBracketKeyword_3()); - - - } - - - } - - - leaveRule(); - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "rulePartialModelSpecification" - - - // $ANTLR start "entryRulePartialModelEntry" - // InternalApplicationConfiguration.g:1103:1: entryRulePartialModelEntry returns [EObject current=null] : iv_rulePartialModelEntry= rulePartialModelEntry EOF ; - public final EObject entryRulePartialModelEntry() throws RecognitionException { - EObject current = null; - - EObject iv_rulePartialModelEntry = null; - - - try { - // InternalApplicationConfiguration.g:1103:58: (iv_rulePartialModelEntry= rulePartialModelEntry EOF ) - // InternalApplicationConfiguration.g:1104:2: iv_rulePartialModelEntry= rulePartialModelEntry EOF - { - newCompositeNode(grammarAccess.getPartialModelEntryRule()); - pushFollow(FOLLOW_1); - iv_rulePartialModelEntry=rulePartialModelEntry(); - - state._fsp--; - - current =iv_rulePartialModelEntry; - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRulePartialModelEntry" - - - // $ANTLR start "rulePartialModelEntry" - // InternalApplicationConfiguration.g:1110:1: rulePartialModelEntry returns [EObject current=null] : (this_ModelEntry_0= ruleModelEntry | this_FolderEntry_1= ruleFolderEntry ) ; - public final EObject rulePartialModelEntry() throws RecognitionException { - EObject current = null; - - EObject this_ModelEntry_0 = null; - - EObject this_FolderEntry_1 = null; - - - - enterRule(); - - try { - // InternalApplicationConfiguration.g:1116:2: ( (this_ModelEntry_0= ruleModelEntry | this_FolderEntry_1= ruleFolderEntry ) ) - // InternalApplicationConfiguration.g:1117:2: (this_ModelEntry_0= ruleModelEntry | this_FolderEntry_1= ruleFolderEntry ) - { - // InternalApplicationConfiguration.g:1117:2: (this_ModelEntry_0= ruleModelEntry | this_FolderEntry_1= ruleFolderEntry ) - int alt18=2; - int LA18_0 = input.LA(1); - - if ( (LA18_0==RULE_ID||LA18_0==RULE_STRING) ) { - alt18=1; - } - else if ( (LA18_0==25) ) { - alt18=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 18, 0, input); - - throw nvae; - } - switch (alt18) { - case 1 : - // InternalApplicationConfiguration.g:1118:3: this_ModelEntry_0= ruleModelEntry - { - - newCompositeNode(grammarAccess.getPartialModelEntryAccess().getModelEntryParserRuleCall_0()); - - pushFollow(FOLLOW_2); - this_ModelEntry_0=ruleModelEntry(); - - state._fsp--; - - - current = this_ModelEntry_0; - afterParserOrEnumRuleCall(); - - - } - break; - case 2 : - // InternalApplicationConfiguration.g:1127:3: this_FolderEntry_1= ruleFolderEntry - { - - newCompositeNode(grammarAccess.getPartialModelEntryAccess().getFolderEntryParserRuleCall_1()); - - pushFollow(FOLLOW_2); - this_FolderEntry_1=ruleFolderEntry(); - - state._fsp--; - - - current = this_FolderEntry_1; - afterParserOrEnumRuleCall(); - - - } - break; - - } - - - } - - - leaveRule(); - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "rulePartialModelEntry" - - - // $ANTLR start "entryRuleModelEntry" - // InternalApplicationConfiguration.g:1139:1: entryRuleModelEntry returns [EObject current=null] : iv_ruleModelEntry= ruleModelEntry EOF ; - public final EObject entryRuleModelEntry() throws RecognitionException { - EObject current = null; - - EObject iv_ruleModelEntry = null; - - - try { - // InternalApplicationConfiguration.g:1139:51: (iv_ruleModelEntry= ruleModelEntry EOF ) - // InternalApplicationConfiguration.g:1140:2: iv_ruleModelEntry= ruleModelEntry EOF - { - newCompositeNode(grammarAccess.getModelEntryRule()); - pushFollow(FOLLOW_1); - iv_ruleModelEntry=ruleModelEntry(); - - state._fsp--; - - current =iv_ruleModelEntry; - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleModelEntry" - - - // $ANTLR start "ruleModelEntry" - // InternalApplicationConfiguration.g:1146:1: ruleModelEntry returns [EObject current=null] : ( (lv_path_0_0= ruleFile ) ) ; - public final EObject ruleModelEntry() throws RecognitionException { - EObject current = null; - - EObject lv_path_0_0 = null; - - - - enterRule(); - - try { - // InternalApplicationConfiguration.g:1152:2: ( ( (lv_path_0_0= ruleFile ) ) ) - // InternalApplicationConfiguration.g:1153:2: ( (lv_path_0_0= ruleFile ) ) - { - // InternalApplicationConfiguration.g:1153:2: ( (lv_path_0_0= ruleFile ) ) - // InternalApplicationConfiguration.g:1154:3: (lv_path_0_0= ruleFile ) - { - // InternalApplicationConfiguration.g:1154:3: (lv_path_0_0= ruleFile ) - // InternalApplicationConfiguration.g:1155:4: lv_path_0_0= ruleFile - { - - newCompositeNode(grammarAccess.getModelEntryAccess().getPathFileParserRuleCall_0()); - - pushFollow(FOLLOW_2); - lv_path_0_0=ruleFile(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getModelEntryRule()); - } - set( - current, - "path", - lv_path_0_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File"); - afterParserOrEnumRuleCall(); - - - } - - - } - - - } - - - leaveRule(); - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleModelEntry" - - - // $ANTLR start "entryRuleFolderEntry" - // InternalApplicationConfiguration.g:1175:1: entryRuleFolderEntry returns [EObject current=null] : iv_ruleFolderEntry= ruleFolderEntry EOF ; - public final EObject entryRuleFolderEntry() throws RecognitionException { - EObject current = null; - - EObject iv_ruleFolderEntry = null; - - - try { - // InternalApplicationConfiguration.g:1175:52: (iv_ruleFolderEntry= ruleFolderEntry EOF ) - // InternalApplicationConfiguration.g:1176:2: iv_ruleFolderEntry= ruleFolderEntry EOF - { - newCompositeNode(grammarAccess.getFolderEntryRule()); - pushFollow(FOLLOW_1); - iv_ruleFolderEntry=ruleFolderEntry(); - - state._fsp--; - - current =iv_ruleFolderEntry; - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleFolderEntry" - - - // $ANTLR start "ruleFolderEntry" - // InternalApplicationConfiguration.g:1182:1: ruleFolderEntry returns [EObject current=null] : (otherlv_0= 'folder' ( (lv_path_1_0= ruleFile ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleModelEntry ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) )* otherlv_7= '}' )? ) ; - public final EObject ruleFolderEntry() throws RecognitionException { - EObject current = null; - - Token otherlv_0=null; - Token otherlv_2=null; - Token otherlv_3=null; - Token otherlv_5=null; - Token otherlv_7=null; - EObject lv_path_1_0 = null; - - EObject lv_exclusion_4_0 = null; - - EObject lv_exclusion_6_0 = null; - - - - enterRule(); - - try { - // InternalApplicationConfiguration.g:1188:2: ( (otherlv_0= 'folder' ( (lv_path_1_0= ruleFile ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleModelEntry ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) )* otherlv_7= '}' )? ) ) - // InternalApplicationConfiguration.g:1189:2: (otherlv_0= 'folder' ( (lv_path_1_0= ruleFile ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleModelEntry ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) )* otherlv_7= '}' )? ) - { - // InternalApplicationConfiguration.g:1189:2: (otherlv_0= 'folder' ( (lv_path_1_0= ruleFile ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleModelEntry ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) )* otherlv_7= '}' )? ) - // InternalApplicationConfiguration.g:1190:3: otherlv_0= 'folder' ( (lv_path_1_0= ruleFile ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleModelEntry ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) )* otherlv_7= '}' )? - { - otherlv_0=(Token)match(input,25,FOLLOW_20); - - newLeafNode(otherlv_0, grammarAccess.getFolderEntryAccess().getFolderKeyword_0()); - - // InternalApplicationConfiguration.g:1194:3: ( (lv_path_1_0= ruleFile ) ) - // InternalApplicationConfiguration.g:1195:4: (lv_path_1_0= ruleFile ) - { - // InternalApplicationConfiguration.g:1195:4: (lv_path_1_0= ruleFile ) - // InternalApplicationConfiguration.g:1196:5: lv_path_1_0= ruleFile - { - - newCompositeNode(grammarAccess.getFolderEntryAccess().getPathFileParserRuleCall_1_0()); - - pushFollow(FOLLOW_15); - lv_path_1_0=ruleFile(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getFolderEntryRule()); - } - set( - current, - "path", - lv_path_1_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File"); - afterParserOrEnumRuleCall(); - - - } - - - } - - // InternalApplicationConfiguration.g:1213:3: (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleModelEntry ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) )* otherlv_7= '}' )? - int alt20=2; - int LA20_0 = input.LA(1); - - if ( (LA20_0==22) ) { - alt20=1; - } - switch (alt20) { - case 1 : - // InternalApplicationConfiguration.g:1214:4: otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleModelEntry ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) )* otherlv_7= '}' - { - otherlv_2=(Token)match(input,22,FOLLOW_16); - - newLeafNode(otherlv_2, grammarAccess.getFolderEntryAccess().getExcludingKeyword_2_0()); - - otherlv_3=(Token)match(input,18,FOLLOW_20); - - newLeafNode(otherlv_3, grammarAccess.getFolderEntryAccess().getLeftCurlyBracketKeyword_2_1()); - - // InternalApplicationConfiguration.g:1222:4: ( (lv_exclusion_4_0= ruleModelEntry ) ) - // InternalApplicationConfiguration.g:1223:5: (lv_exclusion_4_0= ruleModelEntry ) - { - // InternalApplicationConfiguration.g:1223:5: (lv_exclusion_4_0= ruleModelEntry ) - // InternalApplicationConfiguration.g:1224:6: lv_exclusion_4_0= ruleModelEntry - { - - newCompositeNode(grammarAccess.getFolderEntryAccess().getExclusionModelEntryParserRuleCall_2_2_0()); - - pushFollow(FOLLOW_14); - lv_exclusion_4_0=ruleModelEntry(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getFolderEntryRule()); - } - add( - current, - "exclusion", - lv_exclusion_4_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ModelEntry"); - afterParserOrEnumRuleCall(); - - - } - - - } - - // InternalApplicationConfiguration.g:1241:4: (otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) )* - loop19: - do { - int alt19=2; - int LA19_0 = input.LA(1); - - if ( (LA19_0==19) ) { - alt19=1; - } - - - switch (alt19) { - case 1 : - // InternalApplicationConfiguration.g:1242:5: otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) - { - otherlv_5=(Token)match(input,19,FOLLOW_20); - - newLeafNode(otherlv_5, grammarAccess.getFolderEntryAccess().getCommaKeyword_2_3_0()); - - // InternalApplicationConfiguration.g:1246:5: ( (lv_exclusion_6_0= ruleModelEntry ) ) - // InternalApplicationConfiguration.g:1247:6: (lv_exclusion_6_0= ruleModelEntry ) - { - // InternalApplicationConfiguration.g:1247:6: (lv_exclusion_6_0= ruleModelEntry ) - // InternalApplicationConfiguration.g:1248:7: lv_exclusion_6_0= ruleModelEntry - { - - newCompositeNode(grammarAccess.getFolderEntryAccess().getExclusionModelEntryParserRuleCall_2_3_1_0()); - - pushFollow(FOLLOW_14); - lv_exclusion_6_0=ruleModelEntry(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getFolderEntryRule()); - } - add( - current, - "exclusion", - lv_exclusion_6_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ModelEntry"); - afterParserOrEnumRuleCall(); - - - } - - - } - - - } - break; - - default : - break loop19; - } - } while (true); - - otherlv_7=(Token)match(input,20,FOLLOW_2); - - newLeafNode(otherlv_7, grammarAccess.getFolderEntryAccess().getRightCurlyBracketKeyword_2_4()); - - - } - break; - - } - - - } - - - } - - - leaveRule(); - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleFolderEntry" - - - // $ANTLR start "entryRulePartialModelDeclaration" - // InternalApplicationConfiguration.g:1275:1: entryRulePartialModelDeclaration returns [EObject current=null] : iv_rulePartialModelDeclaration= rulePartialModelDeclaration EOF ; - public final EObject entryRulePartialModelDeclaration() throws RecognitionException { - EObject current = null; - - EObject iv_rulePartialModelDeclaration = null; - - - try { - // InternalApplicationConfiguration.g:1275:64: (iv_rulePartialModelDeclaration= rulePartialModelDeclaration EOF ) - // InternalApplicationConfiguration.g:1276:2: iv_rulePartialModelDeclaration= rulePartialModelDeclaration EOF - { - newCompositeNode(grammarAccess.getPartialModelDeclarationRule()); - pushFollow(FOLLOW_1); - iv_rulePartialModelDeclaration=rulePartialModelDeclaration(); - - state._fsp--; - - current =iv_rulePartialModelDeclaration; - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRulePartialModelDeclaration" - - - // $ANTLR start "rulePartialModelDeclaration" - // InternalApplicationConfiguration.g:1282: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; - - Token otherlv_0=null; - Token lv_name_1_0=null; - EObject lv_specification_2_0 = null; - - - - enterRule(); - - try { - // InternalApplicationConfiguration.g:1288:2: ( (otherlv_0= 'models' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePartialModelSpecification ) ) ) ) - // InternalApplicationConfiguration.g:1289:2: (otherlv_0= 'models' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePartialModelSpecification ) ) ) - { - // InternalApplicationConfiguration.g:1289:2: (otherlv_0= 'models' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePartialModelSpecification ) ) ) - // InternalApplicationConfiguration.g:1290:3: otherlv_0= 'models' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePartialModelSpecification ) ) - { - otherlv_0=(Token)match(input,26,FOLLOW_6); - - newLeafNode(otherlv_0, grammarAccess.getPartialModelDeclarationAccess().getModelsKeyword_0()); - - // InternalApplicationConfiguration.g:1294:3: ( (lv_name_1_0= RULE_ID ) ) - // InternalApplicationConfiguration.g:1295:4: (lv_name_1_0= RULE_ID ) - { - // InternalApplicationConfiguration.g:1295:4: (lv_name_1_0= RULE_ID ) - // InternalApplicationConfiguration.g:1296:5: lv_name_1_0= RULE_ID - { - lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_16); - - newLeafNode(lv_name_1_0, grammarAccess.getPartialModelDeclarationAccess().getNameIDTerminalRuleCall_1_0()); - - - if (current==null) { - current = createModelElement(grammarAccess.getPartialModelDeclarationRule()); - } - setWithLastConsumed( - current, - "name", - lv_name_1_0, - "org.eclipse.xtext.common.Terminals.ID"); - - - } - - - } - - // InternalApplicationConfiguration.g:1312:3: ( (lv_specification_2_0= rulePartialModelSpecification ) ) - // InternalApplicationConfiguration.g:1313:4: (lv_specification_2_0= rulePartialModelSpecification ) - { - // InternalApplicationConfiguration.g:1313:4: (lv_specification_2_0= rulePartialModelSpecification ) - // InternalApplicationConfiguration.g:1314:5: lv_specification_2_0= rulePartialModelSpecification - { - - newCompositeNode(grammarAccess.getPartialModelDeclarationAccess().getSpecificationPartialModelSpecificationParserRuleCall_2_0()); - - pushFollow(FOLLOW_2); - lv_specification_2_0=rulePartialModelSpecification(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getPartialModelDeclarationRule()); - } - set( - current, - "specification", - lv_specification_2_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PartialModelSpecification"); - afterParserOrEnumRuleCall(); - - - } - - - } - - - } - - - } - - - leaveRule(); - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "rulePartialModelDeclaration" - - - // $ANTLR start "entryRulePartialModelReference" - // InternalApplicationConfiguration.g:1335:1: entryRulePartialModelReference returns [EObject current=null] : iv_rulePartialModelReference= rulePartialModelReference EOF ; - public final EObject entryRulePartialModelReference() throws RecognitionException { - EObject current = null; - - EObject iv_rulePartialModelReference = null; - - - try { - // InternalApplicationConfiguration.g:1335:62: (iv_rulePartialModelReference= rulePartialModelReference EOF ) - // InternalApplicationConfiguration.g:1336:2: iv_rulePartialModelReference= rulePartialModelReference EOF - { - newCompositeNode(grammarAccess.getPartialModelReferenceRule()); - pushFollow(FOLLOW_1); - iv_rulePartialModelReference=rulePartialModelReference(); - - state._fsp--; - - current =iv_rulePartialModelReference; - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRulePartialModelReference" - - - // $ANTLR start "rulePartialModelReference" - // InternalApplicationConfiguration.g:1342:1: rulePartialModelReference returns [EObject current=null] : ( (otherlv_0= RULE_ID ) ) ; - public final EObject rulePartialModelReference() throws RecognitionException { - EObject current = null; - - Token otherlv_0=null; - - - enterRule(); - - try { - // InternalApplicationConfiguration.g:1348:2: ( ( (otherlv_0= RULE_ID ) ) ) - // InternalApplicationConfiguration.g:1349:2: ( (otherlv_0= RULE_ID ) ) - { - // InternalApplicationConfiguration.g:1349:2: ( (otherlv_0= RULE_ID ) ) - // InternalApplicationConfiguration.g:1350:3: (otherlv_0= RULE_ID ) - { - // InternalApplicationConfiguration.g:1350:3: (otherlv_0= RULE_ID ) - // InternalApplicationConfiguration.g:1351:4: otherlv_0= RULE_ID - { - - if (current==null) { - current = createModelElement(grammarAccess.getPartialModelReferenceRule()); - } - - otherlv_0=(Token)match(input,RULE_ID,FOLLOW_2); - - newLeafNode(otherlv_0, grammarAccess.getPartialModelReferenceAccess().getReferredPartialModelDeclarationCrossReference_0()); - - - } - - - } - - - } - - - leaveRule(); - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "rulePartialModelReference" - - - // $ANTLR start "entryRulePartialModel" - // InternalApplicationConfiguration.g:1365:1: entryRulePartialModel returns [EObject current=null] : iv_rulePartialModel= rulePartialModel EOF ; - public final EObject entryRulePartialModel() throws RecognitionException { - EObject current = null; - - EObject iv_rulePartialModel = null; - - - try { - // InternalApplicationConfiguration.g:1365:53: (iv_rulePartialModel= rulePartialModel EOF ) - // InternalApplicationConfiguration.g:1366:2: iv_rulePartialModel= rulePartialModel EOF - { - newCompositeNode(grammarAccess.getPartialModelRule()); - pushFollow(FOLLOW_1); - iv_rulePartialModel=rulePartialModel(); - - state._fsp--; - - current =iv_rulePartialModel; - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRulePartialModel" - - - // $ANTLR start "rulePartialModel" - // InternalApplicationConfiguration.g:1372:1: rulePartialModel returns [EObject current=null] : (this_PartialModelSpecification_0= rulePartialModelSpecification | this_PartialModelReference_1= rulePartialModelReference ) ; - public final EObject rulePartialModel() throws RecognitionException { - EObject current = null; - - EObject this_PartialModelSpecification_0 = null; - - EObject this_PartialModelReference_1 = null; - - - - enterRule(); - - try { - // InternalApplicationConfiguration.g:1378:2: ( (this_PartialModelSpecification_0= rulePartialModelSpecification | this_PartialModelReference_1= rulePartialModelReference ) ) - // InternalApplicationConfiguration.g:1379:2: (this_PartialModelSpecification_0= rulePartialModelSpecification | this_PartialModelReference_1= rulePartialModelReference ) - { - // InternalApplicationConfiguration.g:1379:2: (this_PartialModelSpecification_0= rulePartialModelSpecification | this_PartialModelReference_1= rulePartialModelReference ) - int alt21=2; - int LA21_0 = input.LA(1); - - if ( (LA21_0==18) ) { - alt21=1; - } - else if ( (LA21_0==RULE_ID) ) { - alt21=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 21, 0, input); - - throw nvae; - } - switch (alt21) { - case 1 : - // InternalApplicationConfiguration.g:1380:3: this_PartialModelSpecification_0= rulePartialModelSpecification - { - - newCompositeNode(grammarAccess.getPartialModelAccess().getPartialModelSpecificationParserRuleCall_0()); - - pushFollow(FOLLOW_2); - this_PartialModelSpecification_0=rulePartialModelSpecification(); - - state._fsp--; - - - current = this_PartialModelSpecification_0; - afterParserOrEnumRuleCall(); - - - } - break; - case 2 : - // InternalApplicationConfiguration.g:1389:3: this_PartialModelReference_1= rulePartialModelReference - { - - newCompositeNode(grammarAccess.getPartialModelAccess().getPartialModelReferenceParserRuleCall_1()); - - pushFollow(FOLLOW_2); - this_PartialModelReference_1=rulePartialModelReference(); - - state._fsp--; - - - current = this_PartialModelReference_1; - afterParserOrEnumRuleCall(); - - - } - break; - - } - - - } - - - leaveRule(); - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "rulePartialModel" - - - // $ANTLR start "entryRulePatternSpecification" - // InternalApplicationConfiguration.g:1401:1: entryRulePatternSpecification returns [EObject current=null] : iv_rulePatternSpecification= rulePatternSpecification EOF ; - public final EObject entryRulePatternSpecification() throws RecognitionException { - EObject current = null; - - EObject iv_rulePatternSpecification = null; - - - try { - // InternalApplicationConfiguration.g:1401:61: (iv_rulePatternSpecification= rulePatternSpecification EOF ) - // InternalApplicationConfiguration.g:1402:2: iv_rulePatternSpecification= rulePatternSpecification EOF - { - newCompositeNode(grammarAccess.getPatternSpecificationRule()); - pushFollow(FOLLOW_1); - iv_rulePatternSpecification=rulePatternSpecification(); - - state._fsp--; - - current =iv_rulePatternSpecification; - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRulePatternSpecification" - - - // $ANTLR start "rulePatternSpecification" - // InternalApplicationConfiguration.g:1408:1: rulePatternSpecification returns [EObject current=null] : (otherlv_0= '{' ( (lv_entries_1_0= rulePatternEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= rulePatternEntry ) ) )* otherlv_4= '}' ) ; - public final EObject rulePatternSpecification() throws RecognitionException { - EObject current = null; - - Token otherlv_0=null; - Token otherlv_2=null; - Token otherlv_4=null; - EObject lv_entries_1_0 = null; - - EObject lv_entries_3_0 = null; - - - - enterRule(); - - try { - // InternalApplicationConfiguration.g:1414:2: ( (otherlv_0= '{' ( (lv_entries_1_0= rulePatternEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= rulePatternEntry ) ) )* otherlv_4= '}' ) ) - // InternalApplicationConfiguration.g:1415:2: (otherlv_0= '{' ( (lv_entries_1_0= rulePatternEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= rulePatternEntry ) ) )* otherlv_4= '}' ) - { - // InternalApplicationConfiguration.g:1415:2: (otherlv_0= '{' ( (lv_entries_1_0= rulePatternEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= rulePatternEntry ) ) )* otherlv_4= '}' ) - // InternalApplicationConfiguration.g:1416:3: otherlv_0= '{' ( (lv_entries_1_0= rulePatternEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= rulePatternEntry ) ) )* otherlv_4= '}' - { - otherlv_0=(Token)match(input,18,FOLLOW_13); - - newLeafNode(otherlv_0, grammarAccess.getPatternSpecificationAccess().getLeftCurlyBracketKeyword_0()); - - // InternalApplicationConfiguration.g:1420:3: ( (lv_entries_1_0= rulePatternEntry ) ) - // InternalApplicationConfiguration.g:1421:4: (lv_entries_1_0= rulePatternEntry ) - { - // InternalApplicationConfiguration.g:1421:4: (lv_entries_1_0= rulePatternEntry ) - // InternalApplicationConfiguration.g:1422:5: lv_entries_1_0= rulePatternEntry - { - - newCompositeNode(grammarAccess.getPatternSpecificationAccess().getEntriesPatternEntryParserRuleCall_1_0()); - - pushFollow(FOLLOW_14); - lv_entries_1_0=rulePatternEntry(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getPatternSpecificationRule()); - } - add( - current, - "entries", - lv_entries_1_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternEntry"); - afterParserOrEnumRuleCall(); - - - } - - - } - - // InternalApplicationConfiguration.g:1439:3: (otherlv_2= ',' ( (lv_entries_3_0= rulePatternEntry ) ) )* - loop22: - do { - int alt22=2; - int LA22_0 = input.LA(1); - - if ( (LA22_0==19) ) { - alt22=1; - } - - - switch (alt22) { - case 1 : - // InternalApplicationConfiguration.g:1440:4: otherlv_2= ',' ( (lv_entries_3_0= rulePatternEntry ) ) - { - otherlv_2=(Token)match(input,19,FOLLOW_13); - - newLeafNode(otherlv_2, grammarAccess.getPatternSpecificationAccess().getCommaKeyword_2_0()); - - // InternalApplicationConfiguration.g:1444:4: ( (lv_entries_3_0= rulePatternEntry ) ) - // InternalApplicationConfiguration.g:1445:5: (lv_entries_3_0= rulePatternEntry ) - { - // InternalApplicationConfiguration.g:1445:5: (lv_entries_3_0= rulePatternEntry ) - // InternalApplicationConfiguration.g:1446:6: lv_entries_3_0= rulePatternEntry - { - - newCompositeNode(grammarAccess.getPatternSpecificationAccess().getEntriesPatternEntryParserRuleCall_2_1_0()); - - pushFollow(FOLLOW_14); - lv_entries_3_0=rulePatternEntry(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getPatternSpecificationRule()); - } - add( - current, - "entries", - lv_entries_3_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternEntry"); - afterParserOrEnumRuleCall(); - - - } - - - } - - - } - break; - - default : - break loop22; - } - } while (true); - - otherlv_4=(Token)match(input,20,FOLLOW_2); - - newLeafNode(otherlv_4, grammarAccess.getPatternSpecificationAccess().getRightCurlyBracketKeyword_3()); - - - } - - - } - - - leaveRule(); - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "rulePatternSpecification" - - - // $ANTLR start "entryRulePatternEntry" - // InternalApplicationConfiguration.g:1472:1: entryRulePatternEntry returns [EObject current=null] : iv_rulePatternEntry= rulePatternEntry EOF ; - public final EObject entryRulePatternEntry() throws RecognitionException { - EObject current = null; - - EObject iv_rulePatternEntry = null; - - - try { - // InternalApplicationConfiguration.g:1472:53: (iv_rulePatternEntry= rulePatternEntry EOF ) - // InternalApplicationConfiguration.g:1473:2: iv_rulePatternEntry= rulePatternEntry EOF - { - newCompositeNode(grammarAccess.getPatternEntryRule()); - pushFollow(FOLLOW_1); - iv_rulePatternEntry=rulePatternEntry(); - - state._fsp--; - - current =iv_rulePatternEntry; - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRulePatternEntry" - - - // $ANTLR start "rulePatternEntry" - // InternalApplicationConfiguration.g:1479:1: rulePatternEntry returns [EObject current=null] : (this_PatternElement_0= rulePatternElement | this_AllPatternEntry_1= ruleAllPatternEntry ) ; - public final EObject rulePatternEntry() throws RecognitionException { - EObject current = null; - - EObject this_PatternElement_0 = null; - - EObject this_AllPatternEntry_1 = null; - - - - enterRule(); - - try { - // InternalApplicationConfiguration.g:1485:2: ( (this_PatternElement_0= rulePatternElement | this_AllPatternEntry_1= ruleAllPatternEntry ) ) - // InternalApplicationConfiguration.g:1486:2: (this_PatternElement_0= rulePatternElement | this_AllPatternEntry_1= ruleAllPatternEntry ) - { - // InternalApplicationConfiguration.g:1486:2: (this_PatternElement_0= rulePatternElement | this_AllPatternEntry_1= ruleAllPatternEntry ) - int alt23=2; - int LA23_0 = input.LA(1); - - if ( (LA23_0==RULE_ID) ) { - alt23=1; - } - else if ( (LA23_0==21) ) { - alt23=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 23, 0, input); - - throw nvae; - } - switch (alt23) { - case 1 : - // InternalApplicationConfiguration.g:1487:3: this_PatternElement_0= rulePatternElement - { - - newCompositeNode(grammarAccess.getPatternEntryAccess().getPatternElementParserRuleCall_0()); - - pushFollow(FOLLOW_2); - this_PatternElement_0=rulePatternElement(); - - state._fsp--; - - - current = this_PatternElement_0; - afterParserOrEnumRuleCall(); - - - } - break; - case 2 : - // InternalApplicationConfiguration.g:1496:3: this_AllPatternEntry_1= ruleAllPatternEntry - { - - newCompositeNode(grammarAccess.getPatternEntryAccess().getAllPatternEntryParserRuleCall_1()); - - pushFollow(FOLLOW_2); - this_AllPatternEntry_1=ruleAllPatternEntry(); - - state._fsp--; - - - current = this_AllPatternEntry_1; - afterParserOrEnumRuleCall(); - - - } - break; - - } - - - } - - - leaveRule(); - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "rulePatternEntry" - - - // $ANTLR start "entryRuleAllPatternEntry" - // InternalApplicationConfiguration.g:1508:1: entryRuleAllPatternEntry returns [EObject current=null] : iv_ruleAllPatternEntry= ruleAllPatternEntry EOF ; - public final EObject entryRuleAllPatternEntry() throws RecognitionException { - EObject current = null; - - EObject iv_ruleAllPatternEntry = null; - - - try { - // InternalApplicationConfiguration.g:1508:56: (iv_ruleAllPatternEntry= ruleAllPatternEntry EOF ) - // InternalApplicationConfiguration.g:1509:2: iv_ruleAllPatternEntry= ruleAllPatternEntry EOF - { - newCompositeNode(grammarAccess.getAllPatternEntryRule()); - pushFollow(FOLLOW_1); - iv_ruleAllPatternEntry=ruleAllPatternEntry(); - - state._fsp--; - - current =iv_ruleAllPatternEntry; - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleAllPatternEntry" - - - // $ANTLR start "ruleAllPatternEntry" - // InternalApplicationConfiguration.g:1515:1: ruleAllPatternEntry returns [EObject current=null] : (otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusuion_4_0= rulePatternElement ) ) (otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) )* otherlv_7= '}' )? ) ; - public final EObject ruleAllPatternEntry() throws RecognitionException { - EObject current = null; - - Token otherlv_0=null; - Token otherlv_2=null; - Token otherlv_3=null; - Token otherlv_5=null; - Token otherlv_7=null; - EObject lv_exclusuion_4_0 = null; - - EObject lv_exclusuion_6_0 = null; - - - - enterRule(); - - try { - // InternalApplicationConfiguration.g:1521:2: ( (otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusuion_4_0= rulePatternElement ) ) (otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) )* otherlv_7= '}' )? ) ) - // InternalApplicationConfiguration.g:1522:2: (otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusuion_4_0= rulePatternElement ) ) (otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) )* otherlv_7= '}' )? ) - { - // InternalApplicationConfiguration.g:1522:2: (otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusuion_4_0= rulePatternElement ) ) (otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) )* otherlv_7= '}' )? ) - // InternalApplicationConfiguration.g:1523:3: otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusuion_4_0= rulePatternElement ) ) (otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) )* otherlv_7= '}' )? - { - otherlv_0=(Token)match(input,21,FOLLOW_6); - - newLeafNode(otherlv_0, grammarAccess.getAllPatternEntryAccess().getPackageKeyword_0()); - - // InternalApplicationConfiguration.g:1527:3: ( ( ruleQualifiedName ) ) - // InternalApplicationConfiguration.g:1528:4: ( ruleQualifiedName ) - { - // InternalApplicationConfiguration.g:1528:4: ( ruleQualifiedName ) - // InternalApplicationConfiguration.g:1529:5: ruleQualifiedName - { - - if (current==null) { - current = createModelElement(grammarAccess.getAllPatternEntryRule()); - } - - - newCompositeNode(grammarAccess.getAllPatternEntryAccess().getPackagePatternModelCrossReference_1_0()); - - pushFollow(FOLLOW_15); - ruleQualifiedName(); - - state._fsp--; - - - afterParserOrEnumRuleCall(); - - - } - - - } - - // InternalApplicationConfiguration.g:1543:3: (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusuion_4_0= rulePatternElement ) ) (otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) )* otherlv_7= '}' )? - int alt25=2; - int LA25_0 = input.LA(1); - - if ( (LA25_0==22) ) { - alt25=1; - } - switch (alt25) { - case 1 : - // InternalApplicationConfiguration.g:1544:4: otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusuion_4_0= rulePatternElement ) ) (otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) )* otherlv_7= '}' - { - otherlv_2=(Token)match(input,22,FOLLOW_16); - - newLeafNode(otherlv_2, grammarAccess.getAllPatternEntryAccess().getExcludingKeyword_2_0()); - - otherlv_3=(Token)match(input,18,FOLLOW_6); - - newLeafNode(otherlv_3, grammarAccess.getAllPatternEntryAccess().getLeftCurlyBracketKeyword_2_1()); - - // InternalApplicationConfiguration.g:1552:4: ( (lv_exclusuion_4_0= rulePatternElement ) ) - // InternalApplicationConfiguration.g:1553:5: (lv_exclusuion_4_0= rulePatternElement ) - { - // InternalApplicationConfiguration.g:1553:5: (lv_exclusuion_4_0= rulePatternElement ) - // InternalApplicationConfiguration.g:1554:6: lv_exclusuion_4_0= rulePatternElement - { - - newCompositeNode(grammarAccess.getAllPatternEntryAccess().getExclusuionPatternElementParserRuleCall_2_2_0()); - - pushFollow(FOLLOW_14); - lv_exclusuion_4_0=rulePatternElement(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getAllPatternEntryRule()); - } - add( - current, - "exclusuion", - lv_exclusuion_4_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternElement"); - afterParserOrEnumRuleCall(); - - - } - - - } - - // InternalApplicationConfiguration.g:1571:4: (otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) )* - loop24: - do { - int alt24=2; - int LA24_0 = input.LA(1); - - if ( (LA24_0==19) ) { - alt24=1; - } - - - switch (alt24) { - case 1 : - // InternalApplicationConfiguration.g:1572:5: otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) - { - otherlv_5=(Token)match(input,19,FOLLOW_6); - - newLeafNode(otherlv_5, grammarAccess.getAllPatternEntryAccess().getCommaKeyword_2_3_0()); - - // InternalApplicationConfiguration.g:1576:5: ( (lv_exclusuion_6_0= rulePatternElement ) ) - // InternalApplicationConfiguration.g:1577:6: (lv_exclusuion_6_0= rulePatternElement ) - { - // InternalApplicationConfiguration.g:1577:6: (lv_exclusuion_6_0= rulePatternElement ) - // InternalApplicationConfiguration.g:1578:7: lv_exclusuion_6_0= rulePatternElement - { - - newCompositeNode(grammarAccess.getAllPatternEntryAccess().getExclusuionPatternElementParserRuleCall_2_3_1_0()); - - pushFollow(FOLLOW_14); - lv_exclusuion_6_0=rulePatternElement(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getAllPatternEntryRule()); - } - add( - current, - "exclusuion", - lv_exclusuion_6_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternElement"); - afterParserOrEnumRuleCall(); - - - } - - - } - - - } - break; - - default : - break loop24; - } - } while (true); - - otherlv_7=(Token)match(input,20,FOLLOW_2); - - newLeafNode(otherlv_7, grammarAccess.getAllPatternEntryAccess().getRightCurlyBracketKeyword_2_4()); - - - } - break; - - } - - - } - - - } - - - leaveRule(); - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleAllPatternEntry" - - - // $ANTLR start "entryRulePatternElement" - // InternalApplicationConfiguration.g:1605:1: entryRulePatternElement returns [EObject current=null] : iv_rulePatternElement= rulePatternElement EOF ; - public final EObject entryRulePatternElement() throws RecognitionException { - EObject current = null; - - EObject iv_rulePatternElement = null; - - - try { - // InternalApplicationConfiguration.g:1605:55: (iv_rulePatternElement= rulePatternElement EOF ) - // InternalApplicationConfiguration.g:1606:2: iv_rulePatternElement= rulePatternElement EOF - { - newCompositeNode(grammarAccess.getPatternElementRule()); - pushFollow(FOLLOW_1); - iv_rulePatternElement=rulePatternElement(); - - state._fsp--; - - current =iv_rulePatternElement; - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRulePatternElement" - - - // $ANTLR start "rulePatternElement" - // InternalApplicationConfiguration.g:1612:1: rulePatternElement returns [EObject current=null] : ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) ) ; - public final EObject rulePatternElement() throws RecognitionException { - EObject current = null; - - Token otherlv_1=null; - Token otherlv_2=null; - - - enterRule(); - - try { - // InternalApplicationConfiguration.g:1618:2: ( ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) ) ) - // InternalApplicationConfiguration.g:1619:2: ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) ) - { - // InternalApplicationConfiguration.g:1619:2: ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) ) - // InternalApplicationConfiguration.g:1620:3: ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) - { - // InternalApplicationConfiguration.g:1620:3: ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? - int alt26=2; - int LA26_0 = input.LA(1); - - if ( (LA26_0==RULE_ID) ) { - int LA26_1 = input.LA(2); - - if ( (LA26_1==11||LA26_1==23) ) { - alt26=1; - } - } - switch (alt26) { - case 1 : - // InternalApplicationConfiguration.g:1621:4: ( ( ruleQualifiedName ) ) otherlv_1= '::' - { - // InternalApplicationConfiguration.g:1621:4: ( ( ruleQualifiedName ) ) - // InternalApplicationConfiguration.g:1622:5: ( ruleQualifiedName ) - { - // InternalApplicationConfiguration.g:1622:5: ( ruleQualifiedName ) - // InternalApplicationConfiguration.g:1623:6: ruleQualifiedName - { - - if (current==null) { - current = createModelElement(grammarAccess.getPatternElementRule()); - } - - - newCompositeNode(grammarAccess.getPatternElementAccess().getPackagePatternModelCrossReference_0_0_0()); - - pushFollow(FOLLOW_17); - ruleQualifiedName(); - - state._fsp--; - - - afterParserOrEnumRuleCall(); - - - } - - - } - - otherlv_1=(Token)match(input,23,FOLLOW_6); - - newLeafNode(otherlv_1, grammarAccess.getPatternElementAccess().getColonColonKeyword_0_1()); - - - } - break; - - } - - // InternalApplicationConfiguration.g:1642:3: ( (otherlv_2= RULE_ID ) ) - // InternalApplicationConfiguration.g:1643:4: (otherlv_2= RULE_ID ) - { - // InternalApplicationConfiguration.g:1643:4: (otherlv_2= RULE_ID ) - // InternalApplicationConfiguration.g:1644:5: otherlv_2= RULE_ID - { - - if (current==null) { - current = createModelElement(grammarAccess.getPatternElementRule()); - } - - otherlv_2=(Token)match(input,RULE_ID,FOLLOW_2); - - newLeafNode(otherlv_2, grammarAccess.getPatternElementAccess().getPatternPatternCrossReference_1_0()); - - - } - - - } - - - } - - - } - - - leaveRule(); - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "rulePatternElement" - - - // $ANTLR start "entryRuleGraphPatternDeclaration" - // InternalApplicationConfiguration.g:1659:1: entryRuleGraphPatternDeclaration returns [EObject current=null] : iv_ruleGraphPatternDeclaration= ruleGraphPatternDeclaration EOF ; - public final EObject entryRuleGraphPatternDeclaration() throws RecognitionException { - EObject current = null; - - EObject iv_ruleGraphPatternDeclaration = null; - - - try { - // InternalApplicationConfiguration.g:1659:64: (iv_ruleGraphPatternDeclaration= ruleGraphPatternDeclaration EOF ) - // InternalApplicationConfiguration.g:1660:2: iv_ruleGraphPatternDeclaration= ruleGraphPatternDeclaration EOF - { - newCompositeNode(grammarAccess.getGraphPatternDeclarationRule()); - pushFollow(FOLLOW_1); - iv_ruleGraphPatternDeclaration=ruleGraphPatternDeclaration(); - - state._fsp--; - - current =iv_ruleGraphPatternDeclaration; - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleGraphPatternDeclaration" - - - // $ANTLR start "ruleGraphPatternDeclaration" - // InternalApplicationConfiguration.g:1666:1: ruleGraphPatternDeclaration returns [EObject current=null] : (otherlv_0= 'constraints' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePatternSpecification ) ) ) ; - public final EObject ruleGraphPatternDeclaration() throws RecognitionException { - EObject current = null; - - Token otherlv_0=null; - Token lv_name_1_0=null; - EObject lv_specification_2_0 = null; - - - - enterRule(); - - try { - // InternalApplicationConfiguration.g:1672:2: ( (otherlv_0= 'constraints' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePatternSpecification ) ) ) ) - // InternalApplicationConfiguration.g:1673:2: (otherlv_0= 'constraints' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePatternSpecification ) ) ) - { - // InternalApplicationConfiguration.g:1673:2: (otherlv_0= 'constraints' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePatternSpecification ) ) ) - // InternalApplicationConfiguration.g:1674:3: otherlv_0= 'constraints' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePatternSpecification ) ) - { - otherlv_0=(Token)match(input,27,FOLLOW_6); - - newLeafNode(otherlv_0, grammarAccess.getGraphPatternDeclarationAccess().getConstraintsKeyword_0()); - - // InternalApplicationConfiguration.g:1678:3: ( (lv_name_1_0= RULE_ID ) ) - // InternalApplicationConfiguration.g:1679:4: (lv_name_1_0= RULE_ID ) - { - // InternalApplicationConfiguration.g:1679:4: (lv_name_1_0= RULE_ID ) - // InternalApplicationConfiguration.g:1680:5: lv_name_1_0= RULE_ID - { - lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_16); - - newLeafNode(lv_name_1_0, grammarAccess.getGraphPatternDeclarationAccess().getNameIDTerminalRuleCall_1_0()); - - - if (current==null) { - current = createModelElement(grammarAccess.getGraphPatternDeclarationRule()); - } - setWithLastConsumed( - current, - "name", - lv_name_1_0, - "org.eclipse.xtext.common.Terminals.ID"); - - - } - - - } - - // InternalApplicationConfiguration.g:1696:3: ( (lv_specification_2_0= rulePatternSpecification ) ) - // InternalApplicationConfiguration.g:1697:4: (lv_specification_2_0= rulePatternSpecification ) - { - // InternalApplicationConfiguration.g:1697:4: (lv_specification_2_0= rulePatternSpecification ) - // InternalApplicationConfiguration.g:1698:5: lv_specification_2_0= rulePatternSpecification - { - - newCompositeNode(grammarAccess.getGraphPatternDeclarationAccess().getSpecificationPatternSpecificationParserRuleCall_2_0()); - - pushFollow(FOLLOW_2); - lv_specification_2_0=rulePatternSpecification(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getGraphPatternDeclarationRule()); - } - set( - current, - "specification", - lv_specification_2_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternSpecification"); - afterParserOrEnumRuleCall(); - - - } - - - } - - - } - - - } - - - leaveRule(); - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleGraphPatternDeclaration" - - - // $ANTLR start "entryRuleGraphPatternReference" - // InternalApplicationConfiguration.g:1719:1: entryRuleGraphPatternReference returns [EObject current=null] : iv_ruleGraphPatternReference= ruleGraphPatternReference EOF ; - public final EObject entryRuleGraphPatternReference() throws RecognitionException { - EObject current = null; - - EObject iv_ruleGraphPatternReference = null; - - - try { - // InternalApplicationConfiguration.g:1719:62: (iv_ruleGraphPatternReference= ruleGraphPatternReference EOF ) - // InternalApplicationConfiguration.g:1720:2: iv_ruleGraphPatternReference= ruleGraphPatternReference EOF - { - newCompositeNode(grammarAccess.getGraphPatternReferenceRule()); - pushFollow(FOLLOW_1); - iv_ruleGraphPatternReference=ruleGraphPatternReference(); - - state._fsp--; - - current =iv_ruleGraphPatternReference; - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleGraphPatternReference" - - - // $ANTLR start "ruleGraphPatternReference" - // InternalApplicationConfiguration.g:1726:1: ruleGraphPatternReference returns [EObject current=null] : ( (otherlv_0= RULE_ID ) ) ; - public final EObject ruleGraphPatternReference() throws RecognitionException { - EObject current = null; - - Token otherlv_0=null; - - - enterRule(); - - try { - // InternalApplicationConfiguration.g:1732:2: ( ( (otherlv_0= RULE_ID ) ) ) - // InternalApplicationConfiguration.g:1733:2: ( (otherlv_0= RULE_ID ) ) - { - // InternalApplicationConfiguration.g:1733:2: ( (otherlv_0= RULE_ID ) ) - // InternalApplicationConfiguration.g:1734:3: (otherlv_0= RULE_ID ) - { - // InternalApplicationConfiguration.g:1734:3: (otherlv_0= RULE_ID ) - // InternalApplicationConfiguration.g:1735:4: otherlv_0= RULE_ID - { - - if (current==null) { - current = createModelElement(grammarAccess.getGraphPatternReferenceRule()); - } - - otherlv_0=(Token)match(input,RULE_ID,FOLLOW_2); - - newLeafNode(otherlv_0, grammarAccess.getGraphPatternReferenceAccess().getReferredGraphPatternDeclarationCrossReference_0()); - - - } - - - } - - - } - - - leaveRule(); - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleGraphPatternReference" - - - // $ANTLR start "entryRuleGraphPattern" - // InternalApplicationConfiguration.g:1749:1: entryRuleGraphPattern returns [EObject current=null] : iv_ruleGraphPattern= ruleGraphPattern EOF ; - public final EObject entryRuleGraphPattern() throws RecognitionException { - EObject current = null; - - EObject iv_ruleGraphPattern = null; - - - try { - // InternalApplicationConfiguration.g:1749:53: (iv_ruleGraphPattern= ruleGraphPattern EOF ) - // InternalApplicationConfiguration.g:1750:2: iv_ruleGraphPattern= ruleGraphPattern EOF - { - newCompositeNode(grammarAccess.getGraphPatternRule()); - pushFollow(FOLLOW_1); - iv_ruleGraphPattern=ruleGraphPattern(); - - state._fsp--; - - current =iv_ruleGraphPattern; - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleGraphPattern" - - - // $ANTLR start "ruleGraphPattern" - // InternalApplicationConfiguration.g:1756:1: ruleGraphPattern returns [EObject current=null] : (this_GraphPatternReference_0= ruleGraphPatternReference | this_PatternSpecification_1= rulePatternSpecification ) ; - public final EObject ruleGraphPattern() throws RecognitionException { - EObject current = null; - - EObject this_GraphPatternReference_0 = null; - - EObject this_PatternSpecification_1 = null; - - - - enterRule(); - - try { - // InternalApplicationConfiguration.g:1762:2: ( (this_GraphPatternReference_0= ruleGraphPatternReference | this_PatternSpecification_1= rulePatternSpecification ) ) - // InternalApplicationConfiguration.g:1763:2: (this_GraphPatternReference_0= ruleGraphPatternReference | this_PatternSpecification_1= rulePatternSpecification ) - { - // InternalApplicationConfiguration.g:1763:2: (this_GraphPatternReference_0= ruleGraphPatternReference | this_PatternSpecification_1= rulePatternSpecification ) - int alt27=2; - int LA27_0 = input.LA(1); - - if ( (LA27_0==RULE_ID) ) { - alt27=1; - } - else if ( (LA27_0==18) ) { - alt27=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 27, 0, input); - - throw nvae; - } - switch (alt27) { - case 1 : - // InternalApplicationConfiguration.g:1764:3: this_GraphPatternReference_0= ruleGraphPatternReference - { - - newCompositeNode(grammarAccess.getGraphPatternAccess().getGraphPatternReferenceParserRuleCall_0()); - - pushFollow(FOLLOW_2); - this_GraphPatternReference_0=ruleGraphPatternReference(); - - state._fsp--; - - - current = this_GraphPatternReference_0; - afterParserOrEnumRuleCall(); - - - } - break; - case 2 : - // InternalApplicationConfiguration.g:1773:3: this_PatternSpecification_1= rulePatternSpecification - { - - newCompositeNode(grammarAccess.getGraphPatternAccess().getPatternSpecificationParserRuleCall_1()); - - pushFollow(FOLLOW_2); - this_PatternSpecification_1=rulePatternSpecification(); - - state._fsp--; - - - current = this_PatternSpecification_1; - afterParserOrEnumRuleCall(); - - - } - break; - - } - - - } - - - leaveRule(); - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleGraphPattern" - - - // $ANTLR start "entryRuleConfigSpecification" - // InternalApplicationConfiguration.g:1785:1: entryRuleConfigSpecification returns [EObject current=null] : iv_ruleConfigSpecification= ruleConfigSpecification EOF ; - public final EObject entryRuleConfigSpecification() throws RecognitionException { - EObject current = null; - - EObject iv_ruleConfigSpecification = null; - - - try { - // InternalApplicationConfiguration.g:1785:60: (iv_ruleConfigSpecification= ruleConfigSpecification EOF ) - // InternalApplicationConfiguration.g:1786:2: iv_ruleConfigSpecification= ruleConfigSpecification EOF - { - newCompositeNode(grammarAccess.getConfigSpecificationRule()); - pushFollow(FOLLOW_1); - iv_ruleConfigSpecification=ruleConfigSpecification(); - - state._fsp--; - - current =iv_ruleConfigSpecification; - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleConfigSpecification" - - - // $ANTLR start "ruleConfigSpecification" - // InternalApplicationConfiguration.g:1792:1: ruleConfigSpecification returns [EObject current=null] : ( () otherlv_1= '{' ( ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* )? otherlv_5= '}' ) ; - public final EObject ruleConfigSpecification() throws RecognitionException { - EObject current = null; - - Token otherlv_1=null; - Token otherlv_3=null; - Token otherlv_5=null; - EObject lv_entries_2_0 = null; - - EObject lv_entries_4_0 = null; - - - - enterRule(); - - try { - // InternalApplicationConfiguration.g:1798:2: ( ( () otherlv_1= '{' ( ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* )? otherlv_5= '}' ) ) - // InternalApplicationConfiguration.g:1799:2: ( () otherlv_1= '{' ( ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* )? otherlv_5= '}' ) - { - // InternalApplicationConfiguration.g:1799:2: ( () otherlv_1= '{' ( ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* )? otherlv_5= '}' ) - // InternalApplicationConfiguration.g:1800:3: () otherlv_1= '{' ( ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* )? otherlv_5= '}' - { - // InternalApplicationConfiguration.g:1800:3: () - // InternalApplicationConfiguration.g:1801:4: - { - - current = forceCreateModelElement( - grammarAccess.getConfigSpecificationAccess().getConfigSpecificationAction_0(), - current); - - - } - - otherlv_1=(Token)match(input,18,FOLLOW_21); - - newLeafNode(otherlv_1, grammarAccess.getConfigSpecificationAccess().getLeftCurlyBracketKeyword_1()); - - // InternalApplicationConfiguration.g:1811:3: ( ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* )? - int alt29=2; - int LA29_0 = input.LA(1); - - if ( (LA29_0==RULE_STRING||(LA29_0>=29 && LA29_0<=31)) ) { - alt29=1; - } - switch (alt29) { - case 1 : - // InternalApplicationConfiguration.g:1812:4: ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* - { - // InternalApplicationConfiguration.g:1812:4: ( (lv_entries_2_0= ruleConfigEntry ) ) - // InternalApplicationConfiguration.g:1813:5: (lv_entries_2_0= ruleConfigEntry ) - { - // InternalApplicationConfiguration.g:1813:5: (lv_entries_2_0= ruleConfigEntry ) - // InternalApplicationConfiguration.g:1814:6: lv_entries_2_0= ruleConfigEntry - { - - newCompositeNode(grammarAccess.getConfigSpecificationAccess().getEntriesConfigEntryParserRuleCall_2_0_0()); - - pushFollow(FOLLOW_14); - lv_entries_2_0=ruleConfigEntry(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getConfigSpecificationRule()); - } - add( - current, - "entries", - lv_entries_2_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ConfigEntry"); - afterParserOrEnumRuleCall(); - - - } - - - } - - // InternalApplicationConfiguration.g:1831:4: (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* - loop28: - do { - int alt28=2; - int LA28_0 = input.LA(1); - - if ( (LA28_0==19) ) { - alt28=1; - } - - - switch (alt28) { - case 1 : - // InternalApplicationConfiguration.g:1832:5: otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) - { - otherlv_3=(Token)match(input,19,FOLLOW_22); - - newLeafNode(otherlv_3, grammarAccess.getConfigSpecificationAccess().getCommaKeyword_2_1_0()); - - // InternalApplicationConfiguration.g:1836:5: ( (lv_entries_4_0= ruleConfigEntry ) ) - // InternalApplicationConfiguration.g:1837:6: (lv_entries_4_0= ruleConfigEntry ) - { - // InternalApplicationConfiguration.g:1837:6: (lv_entries_4_0= ruleConfigEntry ) - // InternalApplicationConfiguration.g:1838:7: lv_entries_4_0= ruleConfigEntry - { - - newCompositeNode(grammarAccess.getConfigSpecificationAccess().getEntriesConfigEntryParserRuleCall_2_1_1_0()); - - pushFollow(FOLLOW_14); - lv_entries_4_0=ruleConfigEntry(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getConfigSpecificationRule()); - } - add( - current, - "entries", - lv_entries_4_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ConfigEntry"); - afterParserOrEnumRuleCall(); - - - } - - - } - - - } - break; - - default : - break loop28; - } - } while (true); - - - } - break; - - } - - otherlv_5=(Token)match(input,20,FOLLOW_2); - - newLeafNode(otherlv_5, grammarAccess.getConfigSpecificationAccess().getRightCurlyBracketKeyword_3()); - - - } - - - } - - - leaveRule(); - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleConfigSpecification" - - - // $ANTLR start "entryRuleConfigDeclaration" - // InternalApplicationConfiguration.g:1865:1: entryRuleConfigDeclaration returns [EObject current=null] : iv_ruleConfigDeclaration= ruleConfigDeclaration EOF ; - public final EObject entryRuleConfigDeclaration() throws RecognitionException { - EObject current = null; - - EObject iv_ruleConfigDeclaration = null; - - - try { - // InternalApplicationConfiguration.g:1865:58: (iv_ruleConfigDeclaration= ruleConfigDeclaration EOF ) - // InternalApplicationConfiguration.g:1866:2: iv_ruleConfigDeclaration= ruleConfigDeclaration EOF - { - newCompositeNode(grammarAccess.getConfigDeclarationRule()); - pushFollow(FOLLOW_1); - iv_ruleConfigDeclaration=ruleConfigDeclaration(); - - state._fsp--; - - current =iv_ruleConfigDeclaration; - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleConfigDeclaration" - - - // $ANTLR start "ruleConfigDeclaration" - // InternalApplicationConfiguration.g:1872:1: ruleConfigDeclaration returns [EObject current=null] : (otherlv_0= 'config' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleConfigSpecification ) ) ) ; - public final EObject ruleConfigDeclaration() throws RecognitionException { - EObject current = null; - - Token otherlv_0=null; - Token lv_name_1_0=null; - EObject lv_specification_2_0 = null; - - - - enterRule(); - - try { - // InternalApplicationConfiguration.g:1878:2: ( (otherlv_0= 'config' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleConfigSpecification ) ) ) ) - // InternalApplicationConfiguration.g:1879:2: (otherlv_0= 'config' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleConfigSpecification ) ) ) - { - // InternalApplicationConfiguration.g:1879:2: (otherlv_0= 'config' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleConfigSpecification ) ) ) - // InternalApplicationConfiguration.g:1880:3: otherlv_0= 'config' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleConfigSpecification ) ) - { - otherlv_0=(Token)match(input,28,FOLLOW_6); - - newLeafNode(otherlv_0, grammarAccess.getConfigDeclarationAccess().getConfigKeyword_0()); - - // InternalApplicationConfiguration.g:1884:3: ( (lv_name_1_0= RULE_ID ) ) - // InternalApplicationConfiguration.g:1885:4: (lv_name_1_0= RULE_ID ) - { - // InternalApplicationConfiguration.g:1885:4: (lv_name_1_0= RULE_ID ) - // InternalApplicationConfiguration.g:1886:5: lv_name_1_0= RULE_ID - { - lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_16); - - newLeafNode(lv_name_1_0, grammarAccess.getConfigDeclarationAccess().getNameIDTerminalRuleCall_1_0()); - - - if (current==null) { - current = createModelElement(grammarAccess.getConfigDeclarationRule()); - } - setWithLastConsumed( - current, - "name", - lv_name_1_0, - "org.eclipse.xtext.common.Terminals.ID"); - - - } - - - } - - // InternalApplicationConfiguration.g:1902:3: ( (lv_specification_2_0= ruleConfigSpecification ) ) - // InternalApplicationConfiguration.g:1903:4: (lv_specification_2_0= ruleConfigSpecification ) - { - // InternalApplicationConfiguration.g:1903:4: (lv_specification_2_0= ruleConfigSpecification ) - // InternalApplicationConfiguration.g:1904:5: lv_specification_2_0= ruleConfigSpecification - { - - newCompositeNode(grammarAccess.getConfigDeclarationAccess().getSpecificationConfigSpecificationParserRuleCall_2_0()); - - pushFollow(FOLLOW_2); - lv_specification_2_0=ruleConfigSpecification(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getConfigDeclarationRule()); - } - set( - current, - "specification", - lv_specification_2_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ConfigSpecification"); - afterParserOrEnumRuleCall(); - - - } - - - } - - - } - - - } - - - leaveRule(); - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleConfigDeclaration" - - - // $ANTLR start "entryRuleConfigEntry" - // InternalApplicationConfiguration.g:1925:1: entryRuleConfigEntry returns [EObject current=null] : iv_ruleConfigEntry= ruleConfigEntry EOF ; - public final EObject entryRuleConfigEntry() throws RecognitionException { - EObject current = null; - - EObject iv_ruleConfigEntry = null; - - - try { - // InternalApplicationConfiguration.g:1925:52: (iv_ruleConfigEntry= ruleConfigEntry EOF ) - // InternalApplicationConfiguration.g:1926:2: iv_ruleConfigEntry= ruleConfigEntry EOF - { - newCompositeNode(grammarAccess.getConfigEntryRule()); - pushFollow(FOLLOW_1); - iv_ruleConfigEntry=ruleConfigEntry(); - - state._fsp--; - - current =iv_ruleConfigEntry; - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleConfigEntry" - - - // $ANTLR start "ruleConfigEntry" - // InternalApplicationConfiguration.g:1932:1: ruleConfigEntry returns [EObject current=null] : (this_DocumentationEntry_0= ruleDocumentationEntry | this_RuntimeEntry_1= ruleRuntimeEntry | this_MemoryEntry_2= ruleMemoryEntry | this_CustomEntry_3= ruleCustomEntry ) ; - public final EObject ruleConfigEntry() throws RecognitionException { - EObject current = null; - - EObject this_DocumentationEntry_0 = null; - - EObject this_RuntimeEntry_1 = null; - - EObject this_MemoryEntry_2 = null; - - EObject this_CustomEntry_3 = null; - - - - enterRule(); - - try { - // InternalApplicationConfiguration.g:1938:2: ( (this_DocumentationEntry_0= ruleDocumentationEntry | this_RuntimeEntry_1= ruleRuntimeEntry | this_MemoryEntry_2= ruleMemoryEntry | this_CustomEntry_3= ruleCustomEntry ) ) - // InternalApplicationConfiguration.g:1939:2: (this_DocumentationEntry_0= ruleDocumentationEntry | this_RuntimeEntry_1= ruleRuntimeEntry | this_MemoryEntry_2= ruleMemoryEntry | this_CustomEntry_3= ruleCustomEntry ) - { - // InternalApplicationConfiguration.g:1939:2: (this_DocumentationEntry_0= ruleDocumentationEntry | this_RuntimeEntry_1= ruleRuntimeEntry | this_MemoryEntry_2= ruleMemoryEntry | this_CustomEntry_3= ruleCustomEntry ) - int alt30=4; - switch ( input.LA(1) ) { - case 29: - { - alt30=1; - } - break; - case 30: - { - alt30=2; - } - break; - case 31: - { - alt30=3; - } - break; - case RULE_STRING: - { - alt30=4; - } - break; - default: - NoViableAltException nvae = - new NoViableAltException("", 30, 0, input); - - throw nvae; - } - - switch (alt30) { - case 1 : - // InternalApplicationConfiguration.g:1940:3: this_DocumentationEntry_0= ruleDocumentationEntry - { - - newCompositeNode(grammarAccess.getConfigEntryAccess().getDocumentationEntryParserRuleCall_0()); - - pushFollow(FOLLOW_2); - this_DocumentationEntry_0=ruleDocumentationEntry(); - - state._fsp--; - - - current = this_DocumentationEntry_0; - afterParserOrEnumRuleCall(); - - - } - break; - case 2 : - // InternalApplicationConfiguration.g:1949:3: this_RuntimeEntry_1= ruleRuntimeEntry - { - - newCompositeNode(grammarAccess.getConfigEntryAccess().getRuntimeEntryParserRuleCall_1()); - - pushFollow(FOLLOW_2); - this_RuntimeEntry_1=ruleRuntimeEntry(); - - state._fsp--; - - - current = this_RuntimeEntry_1; - afterParserOrEnumRuleCall(); - - - } - break; - case 3 : - // InternalApplicationConfiguration.g:1958:3: this_MemoryEntry_2= ruleMemoryEntry - { - - newCompositeNode(grammarAccess.getConfigEntryAccess().getMemoryEntryParserRuleCall_2()); - - pushFollow(FOLLOW_2); - this_MemoryEntry_2=ruleMemoryEntry(); - - state._fsp--; - - - current = this_MemoryEntry_2; - afterParserOrEnumRuleCall(); - - - } - break; - case 4 : - // InternalApplicationConfiguration.g:1967:3: this_CustomEntry_3= ruleCustomEntry - { - - newCompositeNode(grammarAccess.getConfigEntryAccess().getCustomEntryParserRuleCall_3()); - - pushFollow(FOLLOW_2); - this_CustomEntry_3=ruleCustomEntry(); - - state._fsp--; - - - current = this_CustomEntry_3; - afterParserOrEnumRuleCall(); - - - } - break; - - } - - - } - - - leaveRule(); - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleConfigEntry" - - - // $ANTLR start "entryRuleDocumentationEntry" - // InternalApplicationConfiguration.g:1979:1: entryRuleDocumentationEntry returns [EObject current=null] : iv_ruleDocumentationEntry= ruleDocumentationEntry EOF ; - public final EObject entryRuleDocumentationEntry() throws RecognitionException { - EObject current = null; - - EObject iv_ruleDocumentationEntry = null; - - - try { - // InternalApplicationConfiguration.g:1979:59: (iv_ruleDocumentationEntry= ruleDocumentationEntry EOF ) - // InternalApplicationConfiguration.g:1980:2: iv_ruleDocumentationEntry= ruleDocumentationEntry EOF - { - newCompositeNode(grammarAccess.getDocumentationEntryRule()); - pushFollow(FOLLOW_1); - iv_ruleDocumentationEntry=ruleDocumentationEntry(); - - state._fsp--; - - current =iv_ruleDocumentationEntry; - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleDocumentationEntry" - - - // $ANTLR start "ruleDocumentationEntry" - // InternalApplicationConfiguration.g:1986:1: ruleDocumentationEntry returns [EObject current=null] : (otherlv_0= 'log-level' otherlv_1= '=' ( (lv_level_2_0= ruleDocumentLevelSpecification ) ) ) ; - public final EObject ruleDocumentationEntry() throws RecognitionException { - EObject current = null; - - Token otherlv_0=null; - Token otherlv_1=null; - Enumerator lv_level_2_0 = null; - - - - enterRule(); - - try { - // InternalApplicationConfiguration.g:1992:2: ( (otherlv_0= 'log-level' otherlv_1= '=' ( (lv_level_2_0= ruleDocumentLevelSpecification ) ) ) ) - // InternalApplicationConfiguration.g:1993:2: (otherlv_0= 'log-level' otherlv_1= '=' ( (lv_level_2_0= ruleDocumentLevelSpecification ) ) ) - { - // InternalApplicationConfiguration.g:1993:2: (otherlv_0= 'log-level' otherlv_1= '=' ( (lv_level_2_0= ruleDocumentLevelSpecification ) ) ) - // InternalApplicationConfiguration.g:1994:3: otherlv_0= 'log-level' otherlv_1= '=' ( (lv_level_2_0= ruleDocumentLevelSpecification ) ) - { - otherlv_0=(Token)match(input,29,FOLLOW_12); - - newLeafNode(otherlv_0, grammarAccess.getDocumentationEntryAccess().getLogLevelKeyword_0()); - - otherlv_1=(Token)match(input,17,FOLLOW_23); - - newLeafNode(otherlv_1, grammarAccess.getDocumentationEntryAccess().getEqualsSignKeyword_1()); - - // InternalApplicationConfiguration.g:2002:3: ( (lv_level_2_0= ruleDocumentLevelSpecification ) ) - // InternalApplicationConfiguration.g:2003:4: (lv_level_2_0= ruleDocumentLevelSpecification ) - { - // InternalApplicationConfiguration.g:2003:4: (lv_level_2_0= ruleDocumentLevelSpecification ) - // InternalApplicationConfiguration.g:2004:5: lv_level_2_0= ruleDocumentLevelSpecification - { - - newCompositeNode(grammarAccess.getDocumentationEntryAccess().getLevelDocumentLevelSpecificationEnumRuleCall_2_0()); - - pushFollow(FOLLOW_2); - lv_level_2_0=ruleDocumentLevelSpecification(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getDocumentationEntryRule()); - } - set( - current, - "level", - lv_level_2_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.DocumentLevelSpecification"); - afterParserOrEnumRuleCall(); - - - } - - - } - - - } - - - } - - - leaveRule(); - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleDocumentationEntry" - - - // $ANTLR start "entryRuleRuntimeEntry" - // InternalApplicationConfiguration.g:2025:1: entryRuleRuntimeEntry returns [EObject current=null] : iv_ruleRuntimeEntry= ruleRuntimeEntry EOF ; - public final EObject entryRuleRuntimeEntry() throws RecognitionException { - EObject current = null; - - EObject iv_ruleRuntimeEntry = null; - - - try { - // InternalApplicationConfiguration.g:2025:53: (iv_ruleRuntimeEntry= ruleRuntimeEntry EOF ) - // InternalApplicationConfiguration.g:2026:2: iv_ruleRuntimeEntry= ruleRuntimeEntry EOF - { - newCompositeNode(grammarAccess.getRuntimeEntryRule()); - pushFollow(FOLLOW_1); - iv_ruleRuntimeEntry=ruleRuntimeEntry(); - - state._fsp--; - - current =iv_ruleRuntimeEntry; - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleRuntimeEntry" - - - // $ANTLR start "ruleRuntimeEntry" - // InternalApplicationConfiguration.g:2032:1: ruleRuntimeEntry returns [EObject current=null] : (otherlv_0= 'runtime' otherlv_1= '=' ( (lv_millisecLimit_2_0= RULE_INT ) ) ) ; - public final EObject ruleRuntimeEntry() throws RecognitionException { - EObject current = null; - - Token otherlv_0=null; - Token otherlv_1=null; - Token lv_millisecLimit_2_0=null; - - - enterRule(); - - try { - // InternalApplicationConfiguration.g:2038:2: ( (otherlv_0= 'runtime' otherlv_1= '=' ( (lv_millisecLimit_2_0= RULE_INT ) ) ) ) - // InternalApplicationConfiguration.g:2039:2: (otherlv_0= 'runtime' otherlv_1= '=' ( (lv_millisecLimit_2_0= RULE_INT ) ) ) - { - // InternalApplicationConfiguration.g:2039:2: (otherlv_0= 'runtime' otherlv_1= '=' ( (lv_millisecLimit_2_0= RULE_INT ) ) ) - // InternalApplicationConfiguration.g:2040:3: otherlv_0= 'runtime' otherlv_1= '=' ( (lv_millisecLimit_2_0= RULE_INT ) ) - { - otherlv_0=(Token)match(input,30,FOLLOW_12); - - newLeafNode(otherlv_0, grammarAccess.getRuntimeEntryAccess().getRuntimeKeyword_0()); - - otherlv_1=(Token)match(input,17,FOLLOW_7); - - newLeafNode(otherlv_1, grammarAccess.getRuntimeEntryAccess().getEqualsSignKeyword_1()); - - // InternalApplicationConfiguration.g:2048:3: ( (lv_millisecLimit_2_0= RULE_INT ) ) - // InternalApplicationConfiguration.g:2049:4: (lv_millisecLimit_2_0= RULE_INT ) - { - // InternalApplicationConfiguration.g:2049:4: (lv_millisecLimit_2_0= RULE_INT ) - // InternalApplicationConfiguration.g:2050:5: lv_millisecLimit_2_0= RULE_INT - { - lv_millisecLimit_2_0=(Token)match(input,RULE_INT,FOLLOW_2); - - newLeafNode(lv_millisecLimit_2_0, grammarAccess.getRuntimeEntryAccess().getMillisecLimitINTTerminalRuleCall_2_0()); - - - if (current==null) { - current = createModelElement(grammarAccess.getRuntimeEntryRule()); - } - setWithLastConsumed( - current, - "millisecLimit", - lv_millisecLimit_2_0, - "org.eclipse.xtext.common.Terminals.INT"); - - - } - - - } - - - } - - - } - - - leaveRule(); - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleRuntimeEntry" - - - // $ANTLR start "entryRuleMemoryEntry" - // InternalApplicationConfiguration.g:2070:1: entryRuleMemoryEntry returns [EObject current=null] : iv_ruleMemoryEntry= ruleMemoryEntry EOF ; - public final EObject entryRuleMemoryEntry() throws RecognitionException { - EObject current = null; - - EObject iv_ruleMemoryEntry = null; - - - try { - // InternalApplicationConfiguration.g:2070:52: (iv_ruleMemoryEntry= ruleMemoryEntry EOF ) - // InternalApplicationConfiguration.g:2071:2: iv_ruleMemoryEntry= ruleMemoryEntry EOF - { - newCompositeNode(grammarAccess.getMemoryEntryRule()); - pushFollow(FOLLOW_1); - iv_ruleMemoryEntry=ruleMemoryEntry(); - - state._fsp--; - - current =iv_ruleMemoryEntry; - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleMemoryEntry" - - - // $ANTLR start "ruleMemoryEntry" - // InternalApplicationConfiguration.g:2077:1: ruleMemoryEntry returns [EObject current=null] : (otherlv_0= 'memory' otherlv_1= '=' ( (lv_megabyteLimit_2_0= RULE_INT ) ) ) ; - public final EObject ruleMemoryEntry() throws RecognitionException { - EObject current = null; - - Token otherlv_0=null; - Token otherlv_1=null; - Token lv_megabyteLimit_2_0=null; - - - enterRule(); - - try { - // InternalApplicationConfiguration.g:2083:2: ( (otherlv_0= 'memory' otherlv_1= '=' ( (lv_megabyteLimit_2_0= RULE_INT ) ) ) ) - // InternalApplicationConfiguration.g:2084:2: (otherlv_0= 'memory' otherlv_1= '=' ( (lv_megabyteLimit_2_0= RULE_INT ) ) ) - { - // InternalApplicationConfiguration.g:2084:2: (otherlv_0= 'memory' otherlv_1= '=' ( (lv_megabyteLimit_2_0= RULE_INT ) ) ) - // InternalApplicationConfiguration.g:2085:3: otherlv_0= 'memory' otherlv_1= '=' ( (lv_megabyteLimit_2_0= RULE_INT ) ) - { - otherlv_0=(Token)match(input,31,FOLLOW_12); - - newLeafNode(otherlv_0, grammarAccess.getMemoryEntryAccess().getMemoryKeyword_0()); - - otherlv_1=(Token)match(input,17,FOLLOW_7); - - newLeafNode(otherlv_1, grammarAccess.getMemoryEntryAccess().getEqualsSignKeyword_1()); - - // InternalApplicationConfiguration.g:2093:3: ( (lv_megabyteLimit_2_0= RULE_INT ) ) - // InternalApplicationConfiguration.g:2094:4: (lv_megabyteLimit_2_0= RULE_INT ) - { - // InternalApplicationConfiguration.g:2094:4: (lv_megabyteLimit_2_0= RULE_INT ) - // InternalApplicationConfiguration.g:2095:5: lv_megabyteLimit_2_0= RULE_INT - { - lv_megabyteLimit_2_0=(Token)match(input,RULE_INT,FOLLOW_2); - - newLeafNode(lv_megabyteLimit_2_0, grammarAccess.getMemoryEntryAccess().getMegabyteLimitINTTerminalRuleCall_2_0()); - - - if (current==null) { - current = createModelElement(grammarAccess.getMemoryEntryRule()); - } - setWithLastConsumed( - current, - "megabyteLimit", - lv_megabyteLimit_2_0, - "org.eclipse.xtext.common.Terminals.INT"); - - - } - - - } - - - } - - - } - - - leaveRule(); - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleMemoryEntry" - - - // $ANTLR start "entryRuleCustomEntry" - // InternalApplicationConfiguration.g:2115:1: entryRuleCustomEntry returns [EObject current=null] : iv_ruleCustomEntry= ruleCustomEntry EOF ; - public final EObject entryRuleCustomEntry() throws RecognitionException { - EObject current = null; - - EObject iv_ruleCustomEntry = null; - - - try { - // InternalApplicationConfiguration.g:2115:52: (iv_ruleCustomEntry= ruleCustomEntry EOF ) - // InternalApplicationConfiguration.g:2116:2: iv_ruleCustomEntry= ruleCustomEntry EOF - { - newCompositeNode(grammarAccess.getCustomEntryRule()); - pushFollow(FOLLOW_1); - iv_ruleCustomEntry=ruleCustomEntry(); - - state._fsp--; - - current =iv_ruleCustomEntry; - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleCustomEntry" - - - // $ANTLR start "ruleCustomEntry" - // InternalApplicationConfiguration.g:2122:1: ruleCustomEntry returns [EObject current=null] : ( ( (lv_key_0_0= RULE_STRING ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STRING ) ) ) ; - public final EObject ruleCustomEntry() throws RecognitionException { - EObject current = null; - - Token lv_key_0_0=null; - Token otherlv_1=null; - Token lv_value_2_0=null; - - - enterRule(); - - try { - // InternalApplicationConfiguration.g:2128:2: ( ( ( (lv_key_0_0= RULE_STRING ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STRING ) ) ) ) - // InternalApplicationConfiguration.g:2129:2: ( ( (lv_key_0_0= RULE_STRING ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STRING ) ) ) - { - // InternalApplicationConfiguration.g:2129:2: ( ( (lv_key_0_0= RULE_STRING ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STRING ) ) ) - // InternalApplicationConfiguration.g:2130:3: ( (lv_key_0_0= RULE_STRING ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STRING ) ) - { - // InternalApplicationConfiguration.g:2130:3: ( (lv_key_0_0= RULE_STRING ) ) - // InternalApplicationConfiguration.g:2131:4: (lv_key_0_0= RULE_STRING ) - { - // InternalApplicationConfiguration.g:2131:4: (lv_key_0_0= RULE_STRING ) - // InternalApplicationConfiguration.g:2132:5: lv_key_0_0= RULE_STRING - { - lv_key_0_0=(Token)match(input,RULE_STRING,FOLLOW_12); - - newLeafNode(lv_key_0_0, grammarAccess.getCustomEntryAccess().getKeySTRINGTerminalRuleCall_0_0()); - - - if (current==null) { - current = createModelElement(grammarAccess.getCustomEntryRule()); - } - setWithLastConsumed( - current, - "key", - lv_key_0_0, - "org.eclipse.xtext.common.Terminals.STRING"); - - - } - - - } - - otherlv_1=(Token)match(input,17,FOLLOW_10); - - newLeafNode(otherlv_1, grammarAccess.getCustomEntryAccess().getEqualsSignKeyword_1()); - - // InternalApplicationConfiguration.g:2152:3: ( (lv_value_2_0= RULE_STRING ) ) - // InternalApplicationConfiguration.g:2153:4: (lv_value_2_0= RULE_STRING ) - { - // InternalApplicationConfiguration.g:2153:4: (lv_value_2_0= RULE_STRING ) - // InternalApplicationConfiguration.g:2154:5: lv_value_2_0= RULE_STRING - { - lv_value_2_0=(Token)match(input,RULE_STRING,FOLLOW_2); - - newLeafNode(lv_value_2_0, grammarAccess.getCustomEntryAccess().getValueSTRINGTerminalRuleCall_2_0()); - - - if (current==null) { - current = createModelElement(grammarAccess.getCustomEntryRule()); - } - setWithLastConsumed( - current, - "value", - lv_value_2_0, - "org.eclipse.xtext.common.Terminals.STRING"); - - - } - - - } - - - } - - - } - - - leaveRule(); - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleCustomEntry" - - - // $ANTLR start "entryRuleConfigReference" - // InternalApplicationConfiguration.g:2174:1: entryRuleConfigReference returns [EObject current=null] : iv_ruleConfigReference= ruleConfigReference EOF ; - public final EObject entryRuleConfigReference() throws RecognitionException { - EObject current = null; - - EObject iv_ruleConfigReference = null; - - - try { - // InternalApplicationConfiguration.g:2174:56: (iv_ruleConfigReference= ruleConfigReference EOF ) - // InternalApplicationConfiguration.g:2175:2: iv_ruleConfigReference= ruleConfigReference EOF - { - newCompositeNode(grammarAccess.getConfigReferenceRule()); - pushFollow(FOLLOW_1); - iv_ruleConfigReference=ruleConfigReference(); - - state._fsp--; - - current =iv_ruleConfigReference; - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleConfigReference" - - - // $ANTLR start "ruleConfigReference" - // InternalApplicationConfiguration.g:2181:1: ruleConfigReference returns [EObject current=null] : ( (otherlv_0= RULE_ID ) ) ; - public final EObject ruleConfigReference() throws RecognitionException { - EObject current = null; - - Token otherlv_0=null; - - - enterRule(); - - try { - // InternalApplicationConfiguration.g:2187:2: ( ( (otherlv_0= RULE_ID ) ) ) - // InternalApplicationConfiguration.g:2188:2: ( (otherlv_0= RULE_ID ) ) - { - // InternalApplicationConfiguration.g:2188:2: ( (otherlv_0= RULE_ID ) ) - // InternalApplicationConfiguration.g:2189:3: (otherlv_0= RULE_ID ) - { - // InternalApplicationConfiguration.g:2189:3: (otherlv_0= RULE_ID ) - // InternalApplicationConfiguration.g:2190:4: otherlv_0= RULE_ID - { - - if (current==null) { - current = createModelElement(grammarAccess.getConfigReferenceRule()); - } - - otherlv_0=(Token)match(input,RULE_ID,FOLLOW_2); - - newLeafNode(otherlv_0, grammarAccess.getConfigReferenceAccess().getConfigConfigDeclarationCrossReference_0()); - - - } - - - } - - - } - - - leaveRule(); - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleConfigReference" - - - // $ANTLR start "entryRuleConfig" - // InternalApplicationConfiguration.g:2204:1: entryRuleConfig returns [EObject current=null] : iv_ruleConfig= ruleConfig EOF ; - public final EObject entryRuleConfig() throws RecognitionException { - EObject current = null; - - EObject iv_ruleConfig = null; - - - try { - // InternalApplicationConfiguration.g:2204:47: (iv_ruleConfig= ruleConfig EOF ) - // InternalApplicationConfiguration.g:2205:2: iv_ruleConfig= ruleConfig EOF - { - newCompositeNode(grammarAccess.getConfigRule()); - pushFollow(FOLLOW_1); - iv_ruleConfig=ruleConfig(); - - state._fsp--; - - current =iv_ruleConfig; - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleConfig" - - - // $ANTLR start "ruleConfig" - // InternalApplicationConfiguration.g:2211:1: ruleConfig returns [EObject current=null] : (this_ConfigSpecification_0= ruleConfigSpecification | this_ConfigReference_1= ruleConfigReference ) ; - public final EObject ruleConfig() throws RecognitionException { - EObject current = null; - - EObject this_ConfigSpecification_0 = null; - - EObject this_ConfigReference_1 = null; - - - - enterRule(); - - try { - // InternalApplicationConfiguration.g:2217:2: ( (this_ConfigSpecification_0= ruleConfigSpecification | this_ConfigReference_1= ruleConfigReference ) ) - // InternalApplicationConfiguration.g:2218:2: (this_ConfigSpecification_0= ruleConfigSpecification | this_ConfigReference_1= ruleConfigReference ) - { - // InternalApplicationConfiguration.g:2218:2: (this_ConfigSpecification_0= ruleConfigSpecification | this_ConfigReference_1= ruleConfigReference ) - int alt31=2; - int LA31_0 = input.LA(1); - - if ( (LA31_0==18) ) { - alt31=1; - } - else if ( (LA31_0==RULE_ID) ) { - alt31=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 31, 0, input); - - throw nvae; - } - switch (alt31) { - case 1 : - // InternalApplicationConfiguration.g:2219:3: this_ConfigSpecification_0= ruleConfigSpecification - { - - newCompositeNode(grammarAccess.getConfigAccess().getConfigSpecificationParserRuleCall_0()); - - pushFollow(FOLLOW_2); - this_ConfigSpecification_0=ruleConfigSpecification(); - - state._fsp--; - - - current = this_ConfigSpecification_0; - afterParserOrEnumRuleCall(); - - - } - break; - case 2 : - // InternalApplicationConfiguration.g:2228:3: this_ConfigReference_1= ruleConfigReference - { - - newCompositeNode(grammarAccess.getConfigAccess().getConfigReferenceParserRuleCall_1()); - - pushFollow(FOLLOW_2); - this_ConfigReference_1=ruleConfigReference(); - - state._fsp--; - - - current = this_ConfigReference_1; - afterParserOrEnumRuleCall(); - - - } - break; - - } - - - } - - - leaveRule(); - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleConfig" - - - // $ANTLR start "entryRuleScopeSpecification" - // InternalApplicationConfiguration.g:2240:1: entryRuleScopeSpecification returns [EObject current=null] : iv_ruleScopeSpecification= ruleScopeSpecification EOF ; - public final EObject entryRuleScopeSpecification() throws RecognitionException { - EObject current = null; - - EObject iv_ruleScopeSpecification = null; - - - try { - // InternalApplicationConfiguration.g:2240:59: (iv_ruleScopeSpecification= ruleScopeSpecification EOF ) - // InternalApplicationConfiguration.g:2241:2: iv_ruleScopeSpecification= ruleScopeSpecification EOF - { - newCompositeNode(grammarAccess.getScopeSpecificationRule()); - pushFollow(FOLLOW_1); - iv_ruleScopeSpecification=ruleScopeSpecification(); - - state._fsp--; - - current =iv_ruleScopeSpecification; - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleScopeSpecification" - - - // $ANTLR start "ruleScopeSpecification" - // InternalApplicationConfiguration.g:2247:1: ruleScopeSpecification returns [EObject current=null] : ( () otherlv_1= '{' ( ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* )? otherlv_5= '}' ) ; - public final EObject ruleScopeSpecification() throws RecognitionException { - EObject current = null; - - Token otherlv_1=null; - Token otherlv_3=null; - Token otherlv_5=null; - EObject lv_scopes_2_0 = null; - - EObject lv_scopes_4_0 = null; - - - - enterRule(); - - try { - // InternalApplicationConfiguration.g:2253:2: ( ( () otherlv_1= '{' ( ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* )? otherlv_5= '}' ) ) - // InternalApplicationConfiguration.g:2254:2: ( () otherlv_1= '{' ( ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* )? otherlv_5= '}' ) - { - // InternalApplicationConfiguration.g:2254:2: ( () otherlv_1= '{' ( ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* )? otherlv_5= '}' ) - // InternalApplicationConfiguration.g:2255:3: () otherlv_1= '{' ( ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* )? otherlv_5= '}' - { - // InternalApplicationConfiguration.g:2255:3: () - // InternalApplicationConfiguration.g:2256:4: - { - - current = forceCreateModelElement( - grammarAccess.getScopeSpecificationAccess().getScopeSpecificationAction_0(), - current); - - - } - - otherlv_1=(Token)match(input,18,FOLLOW_24); - - newLeafNode(otherlv_1, grammarAccess.getScopeSpecificationAccess().getLeftCurlyBracketKeyword_1()); - - // InternalApplicationConfiguration.g:2266:3: ( ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* )? - int alt33=2; - int LA33_0 = input.LA(1); - - if ( (LA33_0==32) ) { - alt33=1; - } - switch (alt33) { - case 1 : - // InternalApplicationConfiguration.g:2267:4: ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* - { - // InternalApplicationConfiguration.g:2267:4: ( (lv_scopes_2_0= ruleTypeScope ) ) - // InternalApplicationConfiguration.g:2268:5: (lv_scopes_2_0= ruleTypeScope ) - { - // InternalApplicationConfiguration.g:2268:5: (lv_scopes_2_0= ruleTypeScope ) - // InternalApplicationConfiguration.g:2269:6: lv_scopes_2_0= ruleTypeScope - { - - newCompositeNode(grammarAccess.getScopeSpecificationAccess().getScopesTypeScopeParserRuleCall_2_0_0()); - - pushFollow(FOLLOW_14); - lv_scopes_2_0=ruleTypeScope(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getScopeSpecificationRule()); - } - add( - current, - "scopes", - lv_scopes_2_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.TypeScope"); - afterParserOrEnumRuleCall(); - - - } - - - } - - // InternalApplicationConfiguration.g:2286:4: (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* - loop32: - do { - int alt32=2; - int LA32_0 = input.LA(1); - - if ( (LA32_0==19) ) { - alt32=1; - } - - - switch (alt32) { - case 1 : - // InternalApplicationConfiguration.g:2287:5: otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) - { - otherlv_3=(Token)match(input,19,FOLLOW_25); - - newLeafNode(otherlv_3, grammarAccess.getScopeSpecificationAccess().getCommaKeyword_2_1_0()); - - // InternalApplicationConfiguration.g:2291:5: ( (lv_scopes_4_0= ruleTypeScope ) ) - // InternalApplicationConfiguration.g:2292:6: (lv_scopes_4_0= ruleTypeScope ) - { - // InternalApplicationConfiguration.g:2292:6: (lv_scopes_4_0= ruleTypeScope ) - // InternalApplicationConfiguration.g:2293:7: lv_scopes_4_0= ruleTypeScope - { - - newCompositeNode(grammarAccess.getScopeSpecificationAccess().getScopesTypeScopeParserRuleCall_2_1_1_0()); - - pushFollow(FOLLOW_14); - lv_scopes_4_0=ruleTypeScope(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getScopeSpecificationRule()); - } - add( - current, - "scopes", - lv_scopes_4_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.TypeScope"); - afterParserOrEnumRuleCall(); - - - } - - - } - - - } - break; - - default : - break loop32; - } - } while (true); - - - } - break; - - } - - otherlv_5=(Token)match(input,20,FOLLOW_2); - - newLeafNode(otherlv_5, grammarAccess.getScopeSpecificationAccess().getRightCurlyBracketKeyword_3()); - - - } - - - } - - - leaveRule(); - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleScopeSpecification" - - - // $ANTLR start "entryRuleTypeScope" - // InternalApplicationConfiguration.g:2320:1: entryRuleTypeScope returns [EObject current=null] : iv_ruleTypeScope= ruleTypeScope EOF ; - public final EObject entryRuleTypeScope() throws RecognitionException { - EObject current = null; - - EObject iv_ruleTypeScope = null; - - - try { - // InternalApplicationConfiguration.g:2320:50: (iv_ruleTypeScope= ruleTypeScope EOF ) - // InternalApplicationConfiguration.g:2321:2: iv_ruleTypeScope= ruleTypeScope EOF - { - newCompositeNode(grammarAccess.getTypeScopeRule()); - pushFollow(FOLLOW_1); - iv_ruleTypeScope=ruleTypeScope(); - - state._fsp--; - - current =iv_ruleTypeScope; - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleTypeScope" - - - // $ANTLR start "ruleTypeScope" - // InternalApplicationConfiguration.g:2327:1: ruleTypeScope returns [EObject current=null] : (this_ClassTypeScope_0= ruleClassTypeScope | this_ObjectTypeScope_1= ruleObjectTypeScope | this_IntegerTypeScope_2= ruleIntegerTypeScope | this_RealTypeScope_3= ruleRealTypeScope | this_StringTypeScope_4= ruleStringTypeScope ) ; - public final EObject ruleTypeScope() throws RecognitionException { - EObject current = null; - - EObject this_ClassTypeScope_0 = null; - - EObject this_ObjectTypeScope_1 = null; - - EObject this_IntegerTypeScope_2 = null; - - EObject this_RealTypeScope_3 = null; - - EObject this_StringTypeScope_4 = null; - - - - enterRule(); - - try { - // InternalApplicationConfiguration.g:2333:2: ( (this_ClassTypeScope_0= ruleClassTypeScope | this_ObjectTypeScope_1= ruleObjectTypeScope | this_IntegerTypeScope_2= ruleIntegerTypeScope | this_RealTypeScope_3= ruleRealTypeScope | this_StringTypeScope_4= ruleStringTypeScope ) ) - // InternalApplicationConfiguration.g:2334:2: (this_ClassTypeScope_0= ruleClassTypeScope | this_ObjectTypeScope_1= ruleObjectTypeScope | this_IntegerTypeScope_2= ruleIntegerTypeScope | this_RealTypeScope_3= ruleRealTypeScope | this_StringTypeScope_4= ruleStringTypeScope ) - { - // InternalApplicationConfiguration.g:2334:2: (this_ClassTypeScope_0= ruleClassTypeScope | this_ObjectTypeScope_1= ruleObjectTypeScope | this_IntegerTypeScope_2= ruleIntegerTypeScope | this_RealTypeScope_3= ruleRealTypeScope | this_StringTypeScope_4= ruleStringTypeScope ) - int alt34=5; - int LA34_0 = input.LA(1); - - if ( (LA34_0==32) ) { - switch ( input.LA(2) ) { - case 37: - { - alt34=3; - } - break; - case 38: - { - alt34=4; - } - break; - case 39: - { - alt34=5; - } - break; - case 34: - { - alt34=1; - } - break; - case 36: - { - alt34=2; - } - break; - default: - NoViableAltException nvae = - new NoViableAltException("", 34, 1, input); - - throw nvae; - } - - } - else { - NoViableAltException nvae = - new NoViableAltException("", 34, 0, input); - - throw nvae; - } - switch (alt34) { - case 1 : - // InternalApplicationConfiguration.g:2335:3: this_ClassTypeScope_0= ruleClassTypeScope - { - - newCompositeNode(grammarAccess.getTypeScopeAccess().getClassTypeScopeParserRuleCall_0()); - - pushFollow(FOLLOW_2); - this_ClassTypeScope_0=ruleClassTypeScope(); - - state._fsp--; - - - current = this_ClassTypeScope_0; - afterParserOrEnumRuleCall(); - - - } - break; - case 2 : - // InternalApplicationConfiguration.g:2344:3: this_ObjectTypeScope_1= ruleObjectTypeScope - { - - newCompositeNode(grammarAccess.getTypeScopeAccess().getObjectTypeScopeParserRuleCall_1()); - - pushFollow(FOLLOW_2); - this_ObjectTypeScope_1=ruleObjectTypeScope(); - - state._fsp--; - - - current = this_ObjectTypeScope_1; - afterParserOrEnumRuleCall(); - - - } - break; - case 3 : - // InternalApplicationConfiguration.g:2353:3: this_IntegerTypeScope_2= ruleIntegerTypeScope - { - - newCompositeNode(grammarAccess.getTypeScopeAccess().getIntegerTypeScopeParserRuleCall_2()); - - pushFollow(FOLLOW_2); - this_IntegerTypeScope_2=ruleIntegerTypeScope(); - - state._fsp--; - - - current = this_IntegerTypeScope_2; - afterParserOrEnumRuleCall(); - - - } - break; - case 4 : - // InternalApplicationConfiguration.g:2362:3: this_RealTypeScope_3= ruleRealTypeScope - { - - newCompositeNode(grammarAccess.getTypeScopeAccess().getRealTypeScopeParserRuleCall_3()); - - pushFollow(FOLLOW_2); - this_RealTypeScope_3=ruleRealTypeScope(); - - state._fsp--; - - - current = this_RealTypeScope_3; - afterParserOrEnumRuleCall(); - - - } - break; - case 5 : - // InternalApplicationConfiguration.g:2371:3: this_StringTypeScope_4= ruleStringTypeScope - { - - newCompositeNode(grammarAccess.getTypeScopeAccess().getStringTypeScopeParserRuleCall_4()); - - pushFollow(FOLLOW_2); - this_StringTypeScope_4=ruleStringTypeScope(); - - state._fsp--; - - - current = this_StringTypeScope_4; - afterParserOrEnumRuleCall(); - - - } - break; - - } - - - } - - - leaveRule(); - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleTypeScope" - - - // $ANTLR start "entryRuleClassTypeScope" - // InternalApplicationConfiguration.g:2383:1: entryRuleClassTypeScope returns [EObject current=null] : iv_ruleClassTypeScope= ruleClassTypeScope EOF ; - public final EObject entryRuleClassTypeScope() throws RecognitionException { - EObject current = null; - - EObject iv_ruleClassTypeScope = null; - - - try { - // InternalApplicationConfiguration.g:2383:55: (iv_ruleClassTypeScope= ruleClassTypeScope EOF ) - // InternalApplicationConfiguration.g:2384:2: iv_ruleClassTypeScope= ruleClassTypeScope EOF - { - newCompositeNode(grammarAccess.getClassTypeScopeRule()); - pushFollow(FOLLOW_1); - iv_ruleClassTypeScope=ruleClassTypeScope(); - - state._fsp--; - - current =iv_ruleClassTypeScope; - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleClassTypeScope" - - - // $ANTLR start "ruleClassTypeScope" - // InternalApplicationConfiguration.g:2390:1: ruleClassTypeScope returns [EObject current=null] : (otherlv_0= '#' ( (lv_type_1_0= ruleClassReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) ) ; - public final EObject ruleClassTypeScope() throws RecognitionException { - EObject current = null; - - Token otherlv_0=null; - Token lv_setsNew_2_0=null; - Token lv_setsSum_3_0=null; - EObject lv_type_1_0 = null; - - EObject lv_number_4_0 = null; - - EObject lv_number_5_0 = null; - - - - enterRule(); - - try { - // InternalApplicationConfiguration.g:2396:2: ( (otherlv_0= '#' ( (lv_type_1_0= ruleClassReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) ) ) - // InternalApplicationConfiguration.g:2397:2: (otherlv_0= '#' ( (lv_type_1_0= ruleClassReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) ) - { - // InternalApplicationConfiguration.g:2397:2: (otherlv_0= '#' ( (lv_type_1_0= ruleClassReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) ) - // InternalApplicationConfiguration.g:2398:3: otherlv_0= '#' ( (lv_type_1_0= ruleClassReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) - { - otherlv_0=(Token)match(input,32,FOLLOW_26); - - newLeafNode(otherlv_0, grammarAccess.getClassTypeScopeAccess().getNumberSignKeyword_0()); - - // InternalApplicationConfiguration.g:2402:3: ( (lv_type_1_0= ruleClassReference ) ) - // InternalApplicationConfiguration.g:2403:4: (lv_type_1_0= ruleClassReference ) - { - // InternalApplicationConfiguration.g:2403:4: (lv_type_1_0= ruleClassReference ) - // InternalApplicationConfiguration.g:2404:5: lv_type_1_0= ruleClassReference - { - - newCompositeNode(grammarAccess.getClassTypeScopeAccess().getTypeClassReferenceParserRuleCall_1_0()); - - pushFollow(FOLLOW_27); - lv_type_1_0=ruleClassReference(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getClassTypeScopeRule()); - } - set( - current, - "type", - lv_type_1_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ClassReference"); - afterParserOrEnumRuleCall(); - - - } - - - } - - // InternalApplicationConfiguration.g:2421:3: ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) - int alt35=2; - int LA35_0 = input.LA(1); - - if ( (LA35_0==33) ) { - alt35=1; - } - else if ( (LA35_0==17) ) { - alt35=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 35, 0, input); - - throw nvae; - } - switch (alt35) { - case 1 : - // InternalApplicationConfiguration.g:2422:4: ( (lv_setsNew_2_0= '+=' ) ) - { - // InternalApplicationConfiguration.g:2422:4: ( (lv_setsNew_2_0= '+=' ) ) - // InternalApplicationConfiguration.g:2423:5: (lv_setsNew_2_0= '+=' ) - { - // InternalApplicationConfiguration.g:2423:5: (lv_setsNew_2_0= '+=' ) - // InternalApplicationConfiguration.g:2424:6: lv_setsNew_2_0= '+=' - { - lv_setsNew_2_0=(Token)match(input,33,FOLLOW_28); - - newLeafNode(lv_setsNew_2_0, grammarAccess.getClassTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); - - - if (current==null) { - current = createModelElement(grammarAccess.getClassTypeScopeRule()); - } - setWithLastConsumed(current, "setsNew", true, "+="); - - - } - - - } - - - } - break; - case 2 : - // InternalApplicationConfiguration.g:2437:4: ( (lv_setsSum_3_0= '=' ) ) - { - // InternalApplicationConfiguration.g:2437:4: ( (lv_setsSum_3_0= '=' ) ) - // InternalApplicationConfiguration.g:2438:5: (lv_setsSum_3_0= '=' ) - { - // InternalApplicationConfiguration.g:2438:5: (lv_setsSum_3_0= '=' ) - // InternalApplicationConfiguration.g:2439:6: lv_setsSum_3_0= '=' - { - lv_setsSum_3_0=(Token)match(input,17,FOLLOW_28); - - newLeafNode(lv_setsSum_3_0, grammarAccess.getClassTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); - - - if (current==null) { - current = createModelElement(grammarAccess.getClassTypeScopeRule()); - } - setWithLastConsumed(current, "setsSum", true, "="); - - - } - - - } - - - } - break; - - } - - // InternalApplicationConfiguration.g:2452:3: ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) - int alt36=2; - int LA36_0 = input.LA(1); - - if ( (LA36_0==RULE_INT) ) { - int LA36_1 = input.LA(2); - - if ( (LA36_1==41) ) { - alt36=2; - } - else if ( (LA36_1==EOF||(LA36_1>=19 && LA36_1<=20)) ) { - alt36=1; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 36, 1, input); - - throw nvae; - } - } - else if ( (LA36_0==40) ) { - alt36=1; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 36, 0, input); - - throw nvae; - } - switch (alt36) { - case 1 : - // InternalApplicationConfiguration.g:2453:4: ( (lv_number_4_0= ruleExactNumber ) ) - { - // InternalApplicationConfiguration.g:2453:4: ( (lv_number_4_0= ruleExactNumber ) ) - // InternalApplicationConfiguration.g:2454:5: (lv_number_4_0= ruleExactNumber ) - { - // InternalApplicationConfiguration.g:2454:5: (lv_number_4_0= ruleExactNumber ) - // InternalApplicationConfiguration.g:2455:6: lv_number_4_0= ruleExactNumber - { - - newCompositeNode(grammarAccess.getClassTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0()); - - pushFollow(FOLLOW_2); - lv_number_4_0=ruleExactNumber(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getClassTypeScopeRule()); - } - set( - current, - "number", - lv_number_4_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ExactNumber"); - afterParserOrEnumRuleCall(); - - - } - - - } - - - } - break; - case 2 : - // InternalApplicationConfiguration.g:2473:4: ( (lv_number_5_0= ruleIntervallNumber ) ) - { - // InternalApplicationConfiguration.g:2473:4: ( (lv_number_5_0= ruleIntervallNumber ) ) - // InternalApplicationConfiguration.g:2474:5: (lv_number_5_0= ruleIntervallNumber ) - { - // InternalApplicationConfiguration.g:2474:5: (lv_number_5_0= ruleIntervallNumber ) - // InternalApplicationConfiguration.g:2475:6: lv_number_5_0= ruleIntervallNumber - { - - newCompositeNode(grammarAccess.getClassTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0()); - - pushFollow(FOLLOW_2); - lv_number_5_0=ruleIntervallNumber(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getClassTypeScopeRule()); - } - set( - current, - "number", - lv_number_5_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntervallNumber"); - afterParserOrEnumRuleCall(); - - - } - - - } - - - } - break; - - } - - - } - - - } - - - leaveRule(); - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleClassTypeScope" - - - // $ANTLR start "entryRuleObjectTypeScope" - // InternalApplicationConfiguration.g:2497:1: entryRuleObjectTypeScope returns [EObject current=null] : iv_ruleObjectTypeScope= ruleObjectTypeScope EOF ; - public final EObject entryRuleObjectTypeScope() throws RecognitionException { - EObject current = null; - - EObject iv_ruleObjectTypeScope = null; - - - try { - // InternalApplicationConfiguration.g:2497:56: (iv_ruleObjectTypeScope= ruleObjectTypeScope EOF ) - // InternalApplicationConfiguration.g:2498:2: iv_ruleObjectTypeScope= ruleObjectTypeScope EOF - { - newCompositeNode(grammarAccess.getObjectTypeScopeRule()); - pushFollow(FOLLOW_1); - iv_ruleObjectTypeScope=ruleObjectTypeScope(); - - state._fsp--; - - current =iv_ruleObjectTypeScope; - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleObjectTypeScope" - - - // $ANTLR start "ruleObjectTypeScope" - // InternalApplicationConfiguration.g:2504:1: ruleObjectTypeScope returns [EObject current=null] : (otherlv_0= '#' ( (lv_type_1_0= ruleObjectReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) ) ; - public final EObject ruleObjectTypeScope() throws RecognitionException { - EObject current = null; - - Token otherlv_0=null; - Token lv_setsNew_2_0=null; - Token lv_setsSum_3_0=null; - EObject lv_type_1_0 = null; - - EObject lv_number_4_0 = null; - - EObject lv_number_5_0 = null; - - - - enterRule(); - - try { - // InternalApplicationConfiguration.g:2510:2: ( (otherlv_0= '#' ( (lv_type_1_0= ruleObjectReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) ) ) - // InternalApplicationConfiguration.g:2511:2: (otherlv_0= '#' ( (lv_type_1_0= ruleObjectReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) ) - { - // InternalApplicationConfiguration.g:2511:2: (otherlv_0= '#' ( (lv_type_1_0= ruleObjectReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) ) - // InternalApplicationConfiguration.g:2512:3: otherlv_0= '#' ( (lv_type_1_0= ruleObjectReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) - { - otherlv_0=(Token)match(input,32,FOLLOW_29); - - newLeafNode(otherlv_0, grammarAccess.getObjectTypeScopeAccess().getNumberSignKeyword_0()); - - // InternalApplicationConfiguration.g:2516:3: ( (lv_type_1_0= ruleObjectReference ) ) - // InternalApplicationConfiguration.g:2517:4: (lv_type_1_0= ruleObjectReference ) - { - // InternalApplicationConfiguration.g:2517:4: (lv_type_1_0= ruleObjectReference ) - // InternalApplicationConfiguration.g:2518:5: lv_type_1_0= ruleObjectReference - { - - newCompositeNode(grammarAccess.getObjectTypeScopeAccess().getTypeObjectReferenceParserRuleCall_1_0()); - - pushFollow(FOLLOW_27); - lv_type_1_0=ruleObjectReference(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getObjectTypeScopeRule()); - } - set( - current, - "type", - lv_type_1_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ObjectReference"); - afterParserOrEnumRuleCall(); - - - } - - - } - - // InternalApplicationConfiguration.g:2535:3: ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) - int alt37=2; - int LA37_0 = input.LA(1); - - if ( (LA37_0==33) ) { - alt37=1; - } - else if ( (LA37_0==17) ) { - alt37=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 37, 0, input); - - throw nvae; - } - switch (alt37) { - case 1 : - // InternalApplicationConfiguration.g:2536:4: ( (lv_setsNew_2_0= '+=' ) ) - { - // InternalApplicationConfiguration.g:2536:4: ( (lv_setsNew_2_0= '+=' ) ) - // InternalApplicationConfiguration.g:2537:5: (lv_setsNew_2_0= '+=' ) - { - // InternalApplicationConfiguration.g:2537:5: (lv_setsNew_2_0= '+=' ) - // InternalApplicationConfiguration.g:2538:6: lv_setsNew_2_0= '+=' - { - lv_setsNew_2_0=(Token)match(input,33,FOLLOW_28); - - newLeafNode(lv_setsNew_2_0, grammarAccess.getObjectTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); - - - if (current==null) { - current = createModelElement(grammarAccess.getObjectTypeScopeRule()); - } - setWithLastConsumed(current, "setsNew", true, "+="); - - - } - - - } - - - } - break; - case 2 : - // InternalApplicationConfiguration.g:2551:4: ( (lv_setsSum_3_0= '=' ) ) - { - // InternalApplicationConfiguration.g:2551:4: ( (lv_setsSum_3_0= '=' ) ) - // InternalApplicationConfiguration.g:2552:5: (lv_setsSum_3_0= '=' ) - { - // InternalApplicationConfiguration.g:2552:5: (lv_setsSum_3_0= '=' ) - // InternalApplicationConfiguration.g:2553:6: lv_setsSum_3_0= '=' - { - lv_setsSum_3_0=(Token)match(input,17,FOLLOW_28); - - newLeafNode(lv_setsSum_3_0, grammarAccess.getObjectTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); - - - if (current==null) { - current = createModelElement(grammarAccess.getObjectTypeScopeRule()); - } - setWithLastConsumed(current, "setsSum", true, "="); - - - } - - - } - - - } - break; - - } - - // InternalApplicationConfiguration.g:2566:3: ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) - int alt38=2; - int LA38_0 = input.LA(1); - - if ( (LA38_0==RULE_INT) ) { - int LA38_1 = input.LA(2); - - if ( (LA38_1==41) ) { - alt38=2; - } - else if ( (LA38_1==EOF||(LA38_1>=19 && LA38_1<=20)) ) { - alt38=1; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 38, 1, input); - - throw nvae; - } - } - else if ( (LA38_0==40) ) { - alt38=1; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 38, 0, input); - - throw nvae; - } - switch (alt38) { - case 1 : - // InternalApplicationConfiguration.g:2567:4: ( (lv_number_4_0= ruleExactNumber ) ) - { - // InternalApplicationConfiguration.g:2567:4: ( (lv_number_4_0= ruleExactNumber ) ) - // InternalApplicationConfiguration.g:2568:5: (lv_number_4_0= ruleExactNumber ) - { - // InternalApplicationConfiguration.g:2568:5: (lv_number_4_0= ruleExactNumber ) - // InternalApplicationConfiguration.g:2569:6: lv_number_4_0= ruleExactNumber - { - - newCompositeNode(grammarAccess.getObjectTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0()); - - pushFollow(FOLLOW_2); - lv_number_4_0=ruleExactNumber(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getObjectTypeScopeRule()); - } - set( - current, - "number", - lv_number_4_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ExactNumber"); - afterParserOrEnumRuleCall(); - - - } - - - } - - - } - break; - case 2 : - // InternalApplicationConfiguration.g:2587:4: ( (lv_number_5_0= ruleIntervallNumber ) ) - { - // InternalApplicationConfiguration.g:2587:4: ( (lv_number_5_0= ruleIntervallNumber ) ) - // InternalApplicationConfiguration.g:2588:5: (lv_number_5_0= ruleIntervallNumber ) - { - // InternalApplicationConfiguration.g:2588:5: (lv_number_5_0= ruleIntervallNumber ) - // InternalApplicationConfiguration.g:2589:6: lv_number_5_0= ruleIntervallNumber - { - - newCompositeNode(grammarAccess.getObjectTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0()); - - pushFollow(FOLLOW_2); - lv_number_5_0=ruleIntervallNumber(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getObjectTypeScopeRule()); - } - set( - current, - "number", - lv_number_5_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntervallNumber"); - afterParserOrEnumRuleCall(); - - - } - - - } - - - } - break; - - } - - - } - - - } - - - leaveRule(); - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleObjectTypeScope" - - - // $ANTLR start "entryRuleIntegerTypeScope" - // InternalApplicationConfiguration.g:2611:1: entryRuleIntegerTypeScope returns [EObject current=null] : iv_ruleIntegerTypeScope= ruleIntegerTypeScope EOF ; - public final EObject entryRuleIntegerTypeScope() throws RecognitionException { - EObject current = null; - - EObject iv_ruleIntegerTypeScope = null; - - - try { - // InternalApplicationConfiguration.g:2611:57: (iv_ruleIntegerTypeScope= ruleIntegerTypeScope EOF ) - // InternalApplicationConfiguration.g:2612:2: iv_ruleIntegerTypeScope= ruleIntegerTypeScope EOF - { - newCompositeNode(grammarAccess.getIntegerTypeScopeRule()); - pushFollow(FOLLOW_1); - iv_ruleIntegerTypeScope=ruleIntegerTypeScope(); - - state._fsp--; - - current =iv_ruleIntegerTypeScope; - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleIntegerTypeScope" - - - // $ANTLR start "ruleIntegerTypeScope" - // InternalApplicationConfiguration.g:2618:1: ruleIntegerTypeScope returns [EObject current=null] : (otherlv_0= '#' ( (lv_type_1_0= ruleIntegerReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleIntEnumberation ) ) ) ) ; - public final EObject ruleIntegerTypeScope() throws RecognitionException { - EObject current = null; - - Token otherlv_0=null; - Token lv_setsNew_2_0=null; - Token lv_setsSum_3_0=null; - EObject lv_type_1_0 = null; - - EObject lv_number_4_0 = null; - - EObject lv_number_5_0 = null; - - EObject lv_number_6_0 = null; - - - - enterRule(); - - try { - // InternalApplicationConfiguration.g:2624:2: ( (otherlv_0= '#' ( (lv_type_1_0= ruleIntegerReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleIntEnumberation ) ) ) ) ) - // InternalApplicationConfiguration.g:2625:2: (otherlv_0= '#' ( (lv_type_1_0= ruleIntegerReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleIntEnumberation ) ) ) ) - { - // InternalApplicationConfiguration.g:2625:2: (otherlv_0= '#' ( (lv_type_1_0= ruleIntegerReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleIntEnumberation ) ) ) ) - // InternalApplicationConfiguration.g:2626:3: otherlv_0= '#' ( (lv_type_1_0= ruleIntegerReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleIntEnumberation ) ) ) - { - otherlv_0=(Token)match(input,32,FOLLOW_30); - - newLeafNode(otherlv_0, grammarAccess.getIntegerTypeScopeAccess().getNumberSignKeyword_0()); - - // InternalApplicationConfiguration.g:2630:3: ( (lv_type_1_0= ruleIntegerReference ) ) - // InternalApplicationConfiguration.g:2631:4: (lv_type_1_0= ruleIntegerReference ) - { - // InternalApplicationConfiguration.g:2631:4: (lv_type_1_0= ruleIntegerReference ) - // InternalApplicationConfiguration.g:2632:5: lv_type_1_0= ruleIntegerReference - { - - newCompositeNode(grammarAccess.getIntegerTypeScopeAccess().getTypeIntegerReferenceParserRuleCall_1_0()); - - pushFollow(FOLLOW_27); - lv_type_1_0=ruleIntegerReference(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getIntegerTypeScopeRule()); - } - set( - current, - "type", - lv_type_1_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntegerReference"); - afterParserOrEnumRuleCall(); - - - } - - - } - - // InternalApplicationConfiguration.g:2649:3: ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) - int alt39=2; - int LA39_0 = input.LA(1); - - if ( (LA39_0==33) ) { - alt39=1; - } - else if ( (LA39_0==17) ) { - alt39=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 39, 0, input); - - throw nvae; - } - switch (alt39) { - case 1 : - // InternalApplicationConfiguration.g:2650:4: ( (lv_setsNew_2_0= '+=' ) ) - { - // InternalApplicationConfiguration.g:2650:4: ( (lv_setsNew_2_0= '+=' ) ) - // InternalApplicationConfiguration.g:2651:5: (lv_setsNew_2_0= '+=' ) - { - // InternalApplicationConfiguration.g:2651:5: (lv_setsNew_2_0= '+=' ) - // InternalApplicationConfiguration.g:2652:6: lv_setsNew_2_0= '+=' - { - lv_setsNew_2_0=(Token)match(input,33,FOLLOW_31); - - newLeafNode(lv_setsNew_2_0, grammarAccess.getIntegerTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); - - - if (current==null) { - current = createModelElement(grammarAccess.getIntegerTypeScopeRule()); - } - setWithLastConsumed(current, "setsNew", true, "+="); - - - } - - - } - - - } - break; - case 2 : - // InternalApplicationConfiguration.g:2665:4: ( (lv_setsSum_3_0= '=' ) ) - { - // InternalApplicationConfiguration.g:2665:4: ( (lv_setsSum_3_0= '=' ) ) - // InternalApplicationConfiguration.g:2666:5: (lv_setsSum_3_0= '=' ) - { - // InternalApplicationConfiguration.g:2666:5: (lv_setsSum_3_0= '=' ) - // InternalApplicationConfiguration.g:2667:6: lv_setsSum_3_0= '=' - { - lv_setsSum_3_0=(Token)match(input,17,FOLLOW_31); - - newLeafNode(lv_setsSum_3_0, grammarAccess.getIntegerTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); - - - if (current==null) { - current = createModelElement(grammarAccess.getIntegerTypeScopeRule()); - } - setWithLastConsumed(current, "setsSum", true, "="); - - - } - - - } - - - } - break; - - } - - // InternalApplicationConfiguration.g:2680:3: ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleIntEnumberation ) ) ) - int alt40=3; - switch ( input.LA(1) ) { - case RULE_INT: - { - int LA40_1 = input.LA(2); - - if ( (LA40_1==41) ) { - alt40=2; - } - else if ( (LA40_1==EOF||(LA40_1>=19 && LA40_1<=20)) ) { - alt40=1; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 40, 1, input); - - throw nvae; - } - } - break; - case 40: - { - alt40=1; - } - break; - case 18: - { - alt40=3; - } - break; - default: - NoViableAltException nvae = - new NoViableAltException("", 40, 0, input); - - throw nvae; - } - - switch (alt40) { - case 1 : - // InternalApplicationConfiguration.g:2681:4: ( (lv_number_4_0= ruleExactNumber ) ) - { - // InternalApplicationConfiguration.g:2681:4: ( (lv_number_4_0= ruleExactNumber ) ) - // InternalApplicationConfiguration.g:2682:5: (lv_number_4_0= ruleExactNumber ) - { - // InternalApplicationConfiguration.g:2682:5: (lv_number_4_0= ruleExactNumber ) - // InternalApplicationConfiguration.g:2683:6: lv_number_4_0= ruleExactNumber - { - - newCompositeNode(grammarAccess.getIntegerTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0()); - - pushFollow(FOLLOW_2); - lv_number_4_0=ruleExactNumber(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getIntegerTypeScopeRule()); - } - set( - current, - "number", - lv_number_4_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ExactNumber"); - afterParserOrEnumRuleCall(); - - - } - - - } - - - } - break; - case 2 : - // InternalApplicationConfiguration.g:2701:4: ( (lv_number_5_0= ruleIntervallNumber ) ) - { - // InternalApplicationConfiguration.g:2701:4: ( (lv_number_5_0= ruleIntervallNumber ) ) - // InternalApplicationConfiguration.g:2702:5: (lv_number_5_0= ruleIntervallNumber ) - { - // InternalApplicationConfiguration.g:2702:5: (lv_number_5_0= ruleIntervallNumber ) - // InternalApplicationConfiguration.g:2703:6: lv_number_5_0= ruleIntervallNumber - { - - newCompositeNode(grammarAccess.getIntegerTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0()); - - pushFollow(FOLLOW_2); - lv_number_5_0=ruleIntervallNumber(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getIntegerTypeScopeRule()); - } - set( - current, - "number", - lv_number_5_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntervallNumber"); - afterParserOrEnumRuleCall(); - - - } - - - } - - - } - break; - case 3 : - // InternalApplicationConfiguration.g:2721:4: ( (lv_number_6_0= ruleIntEnumberation ) ) - { - // InternalApplicationConfiguration.g:2721:4: ( (lv_number_6_0= ruleIntEnumberation ) ) - // InternalApplicationConfiguration.g:2722:5: (lv_number_6_0= ruleIntEnumberation ) - { - // InternalApplicationConfiguration.g:2722:5: (lv_number_6_0= ruleIntEnumberation ) - // InternalApplicationConfiguration.g:2723:6: lv_number_6_0= ruleIntEnumberation - { - - newCompositeNode(grammarAccess.getIntegerTypeScopeAccess().getNumberIntEnumberationParserRuleCall_3_2_0()); - - pushFollow(FOLLOW_2); - lv_number_6_0=ruleIntEnumberation(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getIntegerTypeScopeRule()); - } - set( - current, - "number", - lv_number_6_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntEnumberation"); - afterParserOrEnumRuleCall(); - - - } - - - } - - - } - break; - - } - - - } - - - } - - - leaveRule(); - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleIntegerTypeScope" - - - // $ANTLR start "entryRuleRealTypeScope" - // InternalApplicationConfiguration.g:2745:1: entryRuleRealTypeScope returns [EObject current=null] : iv_ruleRealTypeScope= ruleRealTypeScope EOF ; - public final EObject entryRuleRealTypeScope() throws RecognitionException { - EObject current = null; - - EObject iv_ruleRealTypeScope = null; - - - try { - // InternalApplicationConfiguration.g:2745:54: (iv_ruleRealTypeScope= ruleRealTypeScope EOF ) - // InternalApplicationConfiguration.g:2746:2: iv_ruleRealTypeScope= ruleRealTypeScope EOF - { - newCompositeNode(grammarAccess.getRealTypeScopeRule()); - pushFollow(FOLLOW_1); - iv_ruleRealTypeScope=ruleRealTypeScope(); - - state._fsp--; - - current =iv_ruleRealTypeScope; - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleRealTypeScope" - - - // $ANTLR start "ruleRealTypeScope" - // InternalApplicationConfiguration.g:2752:1: ruleRealTypeScope returns [EObject current=null] : (otherlv_0= '#' ( (lv_type_1_0= ruleRealReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleRealEnumeration ) ) ) ) ; - public final EObject ruleRealTypeScope() throws RecognitionException { - EObject current = null; - - Token otherlv_0=null; - Token lv_setsNew_2_0=null; - Token lv_setsSum_3_0=null; - EObject lv_type_1_0 = null; - - EObject lv_number_4_0 = null; - - EObject lv_number_5_0 = null; - - EObject lv_number_6_0 = null; - - - - enterRule(); - - try { - // InternalApplicationConfiguration.g:2758:2: ( (otherlv_0= '#' ( (lv_type_1_0= ruleRealReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleRealEnumeration ) ) ) ) ) - // InternalApplicationConfiguration.g:2759:2: (otherlv_0= '#' ( (lv_type_1_0= ruleRealReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleRealEnumeration ) ) ) ) - { - // InternalApplicationConfiguration.g:2759:2: (otherlv_0= '#' ( (lv_type_1_0= ruleRealReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleRealEnumeration ) ) ) ) - // InternalApplicationConfiguration.g:2760:3: otherlv_0= '#' ( (lv_type_1_0= ruleRealReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleRealEnumeration ) ) ) - { - otherlv_0=(Token)match(input,32,FOLLOW_32); - - newLeafNode(otherlv_0, grammarAccess.getRealTypeScopeAccess().getNumberSignKeyword_0()); - - // InternalApplicationConfiguration.g:2764:3: ( (lv_type_1_0= ruleRealReference ) ) - // InternalApplicationConfiguration.g:2765:4: (lv_type_1_0= ruleRealReference ) - { - // InternalApplicationConfiguration.g:2765:4: (lv_type_1_0= ruleRealReference ) - // InternalApplicationConfiguration.g:2766:5: lv_type_1_0= ruleRealReference - { - - newCompositeNode(grammarAccess.getRealTypeScopeAccess().getTypeRealReferenceParserRuleCall_1_0()); - - pushFollow(FOLLOW_27); - lv_type_1_0=ruleRealReference(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getRealTypeScopeRule()); - } - set( - current, - "type", - lv_type_1_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.RealReference"); - afterParserOrEnumRuleCall(); - - - } - - - } - - // InternalApplicationConfiguration.g:2783:3: ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) - int alt41=2; - int LA41_0 = input.LA(1); - - if ( (LA41_0==33) ) { - alt41=1; - } - else if ( (LA41_0==17) ) { - alt41=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 41, 0, input); - - throw nvae; - } - switch (alt41) { - case 1 : - // InternalApplicationConfiguration.g:2784:4: ( (lv_setsNew_2_0= '+=' ) ) - { - // InternalApplicationConfiguration.g:2784:4: ( (lv_setsNew_2_0= '+=' ) ) - // InternalApplicationConfiguration.g:2785:5: (lv_setsNew_2_0= '+=' ) - { - // InternalApplicationConfiguration.g:2785:5: (lv_setsNew_2_0= '+=' ) - // InternalApplicationConfiguration.g:2786:6: lv_setsNew_2_0= '+=' - { - lv_setsNew_2_0=(Token)match(input,33,FOLLOW_31); - - newLeafNode(lv_setsNew_2_0, grammarAccess.getRealTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); - - - if (current==null) { - current = createModelElement(grammarAccess.getRealTypeScopeRule()); - } - setWithLastConsumed(current, "setsNew", true, "+="); - - - } - - - } - - - } - break; - case 2 : - // InternalApplicationConfiguration.g:2799:4: ( (lv_setsSum_3_0= '=' ) ) - { - // InternalApplicationConfiguration.g:2799:4: ( (lv_setsSum_3_0= '=' ) ) - // InternalApplicationConfiguration.g:2800:5: (lv_setsSum_3_0= '=' ) - { - // InternalApplicationConfiguration.g:2800:5: (lv_setsSum_3_0= '=' ) - // InternalApplicationConfiguration.g:2801:6: lv_setsSum_3_0= '=' - { - lv_setsSum_3_0=(Token)match(input,17,FOLLOW_31); - - newLeafNode(lv_setsSum_3_0, grammarAccess.getRealTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); - - - if (current==null) { - current = createModelElement(grammarAccess.getRealTypeScopeRule()); - } - setWithLastConsumed(current, "setsSum", true, "="); - - - } - - - } - - - } - break; - - } - - // InternalApplicationConfiguration.g:2814:3: ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleRealEnumeration ) ) ) - int alt42=3; - switch ( input.LA(1) ) { - case RULE_INT: - { - int LA42_1 = input.LA(2); - - if ( (LA42_1==EOF||(LA42_1>=19 && LA42_1<=20)) ) { - alt42=1; - } - else if ( (LA42_1==41) ) { - alt42=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 42, 1, input); - - throw nvae; - } - } - break; - case 40: - { - alt42=1; - } - break; - case 18: - { - alt42=3; - } - break; - default: - NoViableAltException nvae = - new NoViableAltException("", 42, 0, input); - - throw nvae; - } - - switch (alt42) { - case 1 : - // InternalApplicationConfiguration.g:2815:4: ( (lv_number_4_0= ruleExactNumber ) ) - { - // InternalApplicationConfiguration.g:2815:4: ( (lv_number_4_0= ruleExactNumber ) ) - // InternalApplicationConfiguration.g:2816:5: (lv_number_4_0= ruleExactNumber ) - { - // InternalApplicationConfiguration.g:2816:5: (lv_number_4_0= ruleExactNumber ) - // InternalApplicationConfiguration.g:2817:6: lv_number_4_0= ruleExactNumber - { - - newCompositeNode(grammarAccess.getRealTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0()); - - pushFollow(FOLLOW_2); - lv_number_4_0=ruleExactNumber(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getRealTypeScopeRule()); - } - set( - current, - "number", - lv_number_4_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ExactNumber"); - afterParserOrEnumRuleCall(); - - - } - - - } - - - } - break; - case 2 : - // InternalApplicationConfiguration.g:2835:4: ( (lv_number_5_0= ruleIntervallNumber ) ) - { - // InternalApplicationConfiguration.g:2835:4: ( (lv_number_5_0= ruleIntervallNumber ) ) - // InternalApplicationConfiguration.g:2836:5: (lv_number_5_0= ruleIntervallNumber ) - { - // InternalApplicationConfiguration.g:2836:5: (lv_number_5_0= ruleIntervallNumber ) - // InternalApplicationConfiguration.g:2837:6: lv_number_5_0= ruleIntervallNumber - { - - newCompositeNode(grammarAccess.getRealTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0()); - - pushFollow(FOLLOW_2); - lv_number_5_0=ruleIntervallNumber(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getRealTypeScopeRule()); - } - set( - current, - "number", - lv_number_5_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntervallNumber"); - afterParserOrEnumRuleCall(); - - - } - - - } - - - } - break; - case 3 : - // InternalApplicationConfiguration.g:2855:4: ( (lv_number_6_0= ruleRealEnumeration ) ) - { - // InternalApplicationConfiguration.g:2855:4: ( (lv_number_6_0= ruleRealEnumeration ) ) - // InternalApplicationConfiguration.g:2856:5: (lv_number_6_0= ruleRealEnumeration ) - { - // InternalApplicationConfiguration.g:2856:5: (lv_number_6_0= ruleRealEnumeration ) - // InternalApplicationConfiguration.g:2857:6: lv_number_6_0= ruleRealEnumeration - { - - newCompositeNode(grammarAccess.getRealTypeScopeAccess().getNumberRealEnumerationParserRuleCall_3_2_0()); - - pushFollow(FOLLOW_2); - lv_number_6_0=ruleRealEnumeration(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getRealTypeScopeRule()); - } - set( - current, - "number", - lv_number_6_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.RealEnumeration"); - afterParserOrEnumRuleCall(); - - - } - - - } - - - } - break; - - } - - - } - - - } - - - leaveRule(); - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleRealTypeScope" - - - // $ANTLR start "entryRuleStringTypeScope" - // InternalApplicationConfiguration.g:2879:1: entryRuleStringTypeScope returns [EObject current=null] : iv_ruleStringTypeScope= ruleStringTypeScope EOF ; - public final EObject entryRuleStringTypeScope() throws RecognitionException { - EObject current = null; - - EObject iv_ruleStringTypeScope = null; - - - try { - // InternalApplicationConfiguration.g:2879:56: (iv_ruleStringTypeScope= ruleStringTypeScope EOF ) - // InternalApplicationConfiguration.g:2880:2: iv_ruleStringTypeScope= ruleStringTypeScope EOF - { - newCompositeNode(grammarAccess.getStringTypeScopeRule()); - pushFollow(FOLLOW_1); - iv_ruleStringTypeScope=ruleStringTypeScope(); - - state._fsp--; - - current =iv_ruleStringTypeScope; - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleStringTypeScope" - - - // $ANTLR start "ruleStringTypeScope" - // InternalApplicationConfiguration.g:2886:1: ruleStringTypeScope returns [EObject current=null] : (otherlv_0= '#' ( (lv_type_1_0= ruleStringReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleStringEnumeration ) ) ) ) ; - public final EObject ruleStringTypeScope() throws RecognitionException { - EObject current = null; - - Token otherlv_0=null; - Token lv_setsNew_2_0=null; - Token lv_setsSum_3_0=null; - EObject lv_type_1_0 = null; - - EObject lv_number_4_0 = null; - - EObject lv_number_5_0 = null; - - EObject lv_number_6_0 = null; - - - - enterRule(); - - try { - // InternalApplicationConfiguration.g:2892:2: ( (otherlv_0= '#' ( (lv_type_1_0= ruleStringReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleStringEnumeration ) ) ) ) ) - // InternalApplicationConfiguration.g:2893:2: (otherlv_0= '#' ( (lv_type_1_0= ruleStringReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleStringEnumeration ) ) ) ) - { - // InternalApplicationConfiguration.g:2893:2: (otherlv_0= '#' ( (lv_type_1_0= ruleStringReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleStringEnumeration ) ) ) ) - // InternalApplicationConfiguration.g:2894:3: otherlv_0= '#' ( (lv_type_1_0= ruleStringReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleStringEnumeration ) ) ) - { - otherlv_0=(Token)match(input,32,FOLLOW_33); - - newLeafNode(otherlv_0, grammarAccess.getStringTypeScopeAccess().getNumberSignKeyword_0()); - - // InternalApplicationConfiguration.g:2898:3: ( (lv_type_1_0= ruleStringReference ) ) - // InternalApplicationConfiguration.g:2899:4: (lv_type_1_0= ruleStringReference ) - { - // InternalApplicationConfiguration.g:2899:4: (lv_type_1_0= ruleStringReference ) - // InternalApplicationConfiguration.g:2900:5: lv_type_1_0= ruleStringReference - { - - newCompositeNode(grammarAccess.getStringTypeScopeAccess().getTypeStringReferenceParserRuleCall_1_0()); - - pushFollow(FOLLOW_27); - lv_type_1_0=ruleStringReference(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getStringTypeScopeRule()); - } - set( - current, - "type", - lv_type_1_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.StringReference"); - afterParserOrEnumRuleCall(); - - - } - - - } - - // InternalApplicationConfiguration.g:2917:3: ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) - int alt43=2; - int LA43_0 = input.LA(1); - - if ( (LA43_0==33) ) { - alt43=1; - } - else if ( (LA43_0==17) ) { - alt43=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 43, 0, input); - - throw nvae; - } - switch (alt43) { - case 1 : - // InternalApplicationConfiguration.g:2918:4: ( (lv_setsNew_2_0= '+=' ) ) - { - // InternalApplicationConfiguration.g:2918:4: ( (lv_setsNew_2_0= '+=' ) ) - // InternalApplicationConfiguration.g:2919:5: (lv_setsNew_2_0= '+=' ) - { - // InternalApplicationConfiguration.g:2919:5: (lv_setsNew_2_0= '+=' ) - // InternalApplicationConfiguration.g:2920:6: lv_setsNew_2_0= '+=' - { - lv_setsNew_2_0=(Token)match(input,33,FOLLOW_31); - - newLeafNode(lv_setsNew_2_0, grammarAccess.getStringTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); - - - if (current==null) { - current = createModelElement(grammarAccess.getStringTypeScopeRule()); - } - setWithLastConsumed(current, "setsNew", true, "+="); - - - } - - - } - - - } - break; - case 2 : - // InternalApplicationConfiguration.g:2933:4: ( (lv_setsSum_3_0= '=' ) ) - { - // InternalApplicationConfiguration.g:2933:4: ( (lv_setsSum_3_0= '=' ) ) - // InternalApplicationConfiguration.g:2934:5: (lv_setsSum_3_0= '=' ) - { - // InternalApplicationConfiguration.g:2934:5: (lv_setsSum_3_0= '=' ) - // InternalApplicationConfiguration.g:2935:6: lv_setsSum_3_0= '=' - { - lv_setsSum_3_0=(Token)match(input,17,FOLLOW_31); - - newLeafNode(lv_setsSum_3_0, grammarAccess.getStringTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); - - - if (current==null) { - current = createModelElement(grammarAccess.getStringTypeScopeRule()); - } - setWithLastConsumed(current, "setsSum", true, "="); - - - } - - - } - - - } - break; - - } - - // InternalApplicationConfiguration.g:2948:3: ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleStringEnumeration ) ) ) - int alt44=3; - switch ( input.LA(1) ) { - case RULE_INT: - { - int LA44_1 = input.LA(2); - - if ( (LA44_1==41) ) { - alt44=2; - } - else if ( (LA44_1==EOF||(LA44_1>=19 && LA44_1<=20)) ) { - alt44=1; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 44, 1, input); - - throw nvae; - } - } - break; - case 40: - { - alt44=1; - } - break; - case 18: - { - alt44=3; - } - break; - default: - NoViableAltException nvae = - new NoViableAltException("", 44, 0, input); - - throw nvae; - } - - switch (alt44) { - case 1 : - // InternalApplicationConfiguration.g:2949:4: ( (lv_number_4_0= ruleExactNumber ) ) - { - // InternalApplicationConfiguration.g:2949:4: ( (lv_number_4_0= ruleExactNumber ) ) - // InternalApplicationConfiguration.g:2950:5: (lv_number_4_0= ruleExactNumber ) - { - // InternalApplicationConfiguration.g:2950:5: (lv_number_4_0= ruleExactNumber ) - // InternalApplicationConfiguration.g:2951:6: lv_number_4_0= ruleExactNumber - { - - newCompositeNode(grammarAccess.getStringTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0()); - - pushFollow(FOLLOW_2); - lv_number_4_0=ruleExactNumber(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getStringTypeScopeRule()); - } - set( - current, - "number", - lv_number_4_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ExactNumber"); - afterParserOrEnumRuleCall(); - - - } - - - } - - - } - break; - case 2 : - // InternalApplicationConfiguration.g:2969:4: ( (lv_number_5_0= ruleIntervallNumber ) ) - { - // InternalApplicationConfiguration.g:2969:4: ( (lv_number_5_0= ruleIntervallNumber ) ) - // InternalApplicationConfiguration.g:2970:5: (lv_number_5_0= ruleIntervallNumber ) - { - // InternalApplicationConfiguration.g:2970:5: (lv_number_5_0= ruleIntervallNumber ) - // InternalApplicationConfiguration.g:2971:6: lv_number_5_0= ruleIntervallNumber - { - - newCompositeNode(grammarAccess.getStringTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0()); - - pushFollow(FOLLOW_2); - lv_number_5_0=ruleIntervallNumber(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getStringTypeScopeRule()); - } - set( - current, - "number", - lv_number_5_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntervallNumber"); - afterParserOrEnumRuleCall(); - - - } - - - } - - - } - break; - case 3 : - // InternalApplicationConfiguration.g:2989:4: ( (lv_number_6_0= ruleStringEnumeration ) ) - { - // InternalApplicationConfiguration.g:2989:4: ( (lv_number_6_0= ruleStringEnumeration ) ) - // InternalApplicationConfiguration.g:2990:5: (lv_number_6_0= ruleStringEnumeration ) - { - // InternalApplicationConfiguration.g:2990:5: (lv_number_6_0= ruleStringEnumeration ) - // InternalApplicationConfiguration.g:2991:6: lv_number_6_0= ruleStringEnumeration - { - - newCompositeNode(grammarAccess.getStringTypeScopeAccess().getNumberStringEnumerationParserRuleCall_3_2_0()); - - pushFollow(FOLLOW_2); - lv_number_6_0=ruleStringEnumeration(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getStringTypeScopeRule()); - } - set( - current, - "number", - lv_number_6_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.StringEnumeration"); - afterParserOrEnumRuleCall(); - - - } - - - } - - - } - break; - - } - - - } - - - } - - - leaveRule(); - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleStringTypeScope" - - - // $ANTLR start "entryRuleClassReference" - // InternalApplicationConfiguration.g:3013:1: entryRuleClassReference returns [EObject current=null] : iv_ruleClassReference= ruleClassReference EOF ; - public final EObject entryRuleClassReference() throws RecognitionException { - EObject current = null; - - EObject iv_ruleClassReference = null; - - - try { - // InternalApplicationConfiguration.g:3013:55: (iv_ruleClassReference= ruleClassReference EOF ) - // InternalApplicationConfiguration.g:3014:2: iv_ruleClassReference= ruleClassReference EOF - { - newCompositeNode(grammarAccess.getClassReferenceRule()); - pushFollow(FOLLOW_1); - iv_ruleClassReference=ruleClassReference(); - - state._fsp--; - - current =iv_ruleClassReference; - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleClassReference" - - - // $ANTLR start "ruleClassReference" - // InternalApplicationConfiguration.g:3020:1: ruleClassReference returns [EObject current=null] : (otherlv_0= '<' ( (lv_element_1_0= ruleMetamodelElement ) ) otherlv_2= '>' ) ; - public final EObject ruleClassReference() throws RecognitionException { - EObject current = null; - - Token otherlv_0=null; - Token otherlv_2=null; - EObject lv_element_1_0 = null; - - - - enterRule(); - - try { - // InternalApplicationConfiguration.g:3026:2: ( (otherlv_0= '<' ( (lv_element_1_0= ruleMetamodelElement ) ) otherlv_2= '>' ) ) - // InternalApplicationConfiguration.g:3027:2: (otherlv_0= '<' ( (lv_element_1_0= ruleMetamodelElement ) ) otherlv_2= '>' ) - { - // InternalApplicationConfiguration.g:3027:2: (otherlv_0= '<' ( (lv_element_1_0= ruleMetamodelElement ) ) otherlv_2= '>' ) - // InternalApplicationConfiguration.g:3028:3: otherlv_0= '<' ( (lv_element_1_0= ruleMetamodelElement ) ) otherlv_2= '>' - { - otherlv_0=(Token)match(input,34,FOLLOW_6); - - newLeafNode(otherlv_0, grammarAccess.getClassReferenceAccess().getLessThanSignKeyword_0()); - - // InternalApplicationConfiguration.g:3032:3: ( (lv_element_1_0= ruleMetamodelElement ) ) - // InternalApplicationConfiguration.g:3033:4: (lv_element_1_0= ruleMetamodelElement ) - { - // InternalApplicationConfiguration.g:3033:4: (lv_element_1_0= ruleMetamodelElement ) - // InternalApplicationConfiguration.g:3034:5: lv_element_1_0= ruleMetamodelElement - { - - newCompositeNode(grammarAccess.getClassReferenceAccess().getElementMetamodelElementParserRuleCall_1_0()); - - pushFollow(FOLLOW_34); - lv_element_1_0=ruleMetamodelElement(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getClassReferenceRule()); - } - set( - current, - "element", - lv_element_1_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelElement"); - afterParserOrEnumRuleCall(); - - - } - - - } - - otherlv_2=(Token)match(input,35,FOLLOW_2); - - newLeafNode(otherlv_2, grammarAccess.getClassReferenceAccess().getGreaterThanSignKeyword_2()); - - - } - - - } - - - leaveRule(); - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleClassReference" - - - // $ANTLR start "entryRuleObjectReference" - // InternalApplicationConfiguration.g:3059:1: entryRuleObjectReference returns [EObject current=null] : iv_ruleObjectReference= ruleObjectReference EOF ; - public final EObject entryRuleObjectReference() throws RecognitionException { - EObject current = null; - - EObject iv_ruleObjectReference = null; - - - try { - // InternalApplicationConfiguration.g:3059:56: (iv_ruleObjectReference= ruleObjectReference EOF ) - // InternalApplicationConfiguration.g:3060:2: iv_ruleObjectReference= ruleObjectReference EOF - { - newCompositeNode(grammarAccess.getObjectReferenceRule()); - pushFollow(FOLLOW_1); - iv_ruleObjectReference=ruleObjectReference(); - - state._fsp--; - - current =iv_ruleObjectReference; - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleObjectReference" - - - // $ANTLR start "ruleObjectReference" - // InternalApplicationConfiguration.g:3066:1: ruleObjectReference returns [EObject current=null] : ( () otherlv_1= 'node' ) ; - public final EObject ruleObjectReference() throws RecognitionException { - EObject current = null; - - Token otherlv_1=null; - - - enterRule(); - - try { - // InternalApplicationConfiguration.g:3072:2: ( ( () otherlv_1= 'node' ) ) - // InternalApplicationConfiguration.g:3073:2: ( () otherlv_1= 'node' ) - { - // InternalApplicationConfiguration.g:3073:2: ( () otherlv_1= 'node' ) - // InternalApplicationConfiguration.g:3074:3: () otherlv_1= 'node' - { - // InternalApplicationConfiguration.g:3074:3: () - // InternalApplicationConfiguration.g:3075:4: - { - - current = forceCreateModelElement( - grammarAccess.getObjectReferenceAccess().getObjectReferenceAction_0(), - current); - - - } - - otherlv_1=(Token)match(input,36,FOLLOW_2); - - newLeafNode(otherlv_1, grammarAccess.getObjectReferenceAccess().getNodeKeyword_1()); - - - } - - - } - - - leaveRule(); - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleObjectReference" - - - // $ANTLR start "entryRuleIntegerReference" - // InternalApplicationConfiguration.g:3089:1: entryRuleIntegerReference returns [EObject current=null] : iv_ruleIntegerReference= ruleIntegerReference EOF ; - public final EObject entryRuleIntegerReference() throws RecognitionException { - EObject current = null; - - EObject iv_ruleIntegerReference = null; - - - try { - // InternalApplicationConfiguration.g:3089:57: (iv_ruleIntegerReference= ruleIntegerReference EOF ) - // InternalApplicationConfiguration.g:3090:2: iv_ruleIntegerReference= ruleIntegerReference EOF - { - newCompositeNode(grammarAccess.getIntegerReferenceRule()); - pushFollow(FOLLOW_1); - iv_ruleIntegerReference=ruleIntegerReference(); - - state._fsp--; - - current =iv_ruleIntegerReference; - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleIntegerReference" - - - // $ANTLR start "ruleIntegerReference" - // InternalApplicationConfiguration.g:3096:1: ruleIntegerReference returns [EObject current=null] : ( () otherlv_1= 'int' ) ; - public final EObject ruleIntegerReference() throws RecognitionException { - EObject current = null; - - Token otherlv_1=null; - - - enterRule(); - - try { - // InternalApplicationConfiguration.g:3102:2: ( ( () otherlv_1= 'int' ) ) - // InternalApplicationConfiguration.g:3103:2: ( () otherlv_1= 'int' ) - { - // InternalApplicationConfiguration.g:3103:2: ( () otherlv_1= 'int' ) - // InternalApplicationConfiguration.g:3104:3: () otherlv_1= 'int' - { - // InternalApplicationConfiguration.g:3104:3: () - // InternalApplicationConfiguration.g:3105:4: - { - - current = forceCreateModelElement( - grammarAccess.getIntegerReferenceAccess().getIntegerScopeAction_0(), - current); - - - } - - otherlv_1=(Token)match(input,37,FOLLOW_2); - - newLeafNode(otherlv_1, grammarAccess.getIntegerReferenceAccess().getIntKeyword_1()); - - - } - - - } - - - leaveRule(); - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleIntegerReference" - - - // $ANTLR start "entryRuleRealReference" - // InternalApplicationConfiguration.g:3119:1: entryRuleRealReference returns [EObject current=null] : iv_ruleRealReference= ruleRealReference EOF ; - public final EObject entryRuleRealReference() throws RecognitionException { - EObject current = null; - - EObject iv_ruleRealReference = null; - - - try { - // InternalApplicationConfiguration.g:3119:54: (iv_ruleRealReference= ruleRealReference EOF ) - // InternalApplicationConfiguration.g:3120:2: iv_ruleRealReference= ruleRealReference EOF - { - newCompositeNode(grammarAccess.getRealReferenceRule()); - pushFollow(FOLLOW_1); - iv_ruleRealReference=ruleRealReference(); - - state._fsp--; - - current =iv_ruleRealReference; - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleRealReference" - - - // $ANTLR start "ruleRealReference" - // InternalApplicationConfiguration.g:3126:1: ruleRealReference returns [EObject current=null] : ( () otherlv_1= 'real' ) ; - public final EObject ruleRealReference() throws RecognitionException { - EObject current = null; - - Token otherlv_1=null; - - - enterRule(); - - try { - // InternalApplicationConfiguration.g:3132:2: ( ( () otherlv_1= 'real' ) ) - // InternalApplicationConfiguration.g:3133:2: ( () otherlv_1= 'real' ) - { - // InternalApplicationConfiguration.g:3133:2: ( () otherlv_1= 'real' ) - // InternalApplicationConfiguration.g:3134:3: () otherlv_1= 'real' - { - // InternalApplicationConfiguration.g:3134:3: () - // InternalApplicationConfiguration.g:3135:4: - { - - current = forceCreateModelElement( - grammarAccess.getRealReferenceAccess().getRealScopeAction_0(), - current); - - - } - - otherlv_1=(Token)match(input,38,FOLLOW_2); - - newLeafNode(otherlv_1, grammarAccess.getRealReferenceAccess().getRealKeyword_1()); - - - } - - - } - - - leaveRule(); - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleRealReference" - - - // $ANTLR start "entryRuleStringReference" - // InternalApplicationConfiguration.g:3149:1: entryRuleStringReference returns [EObject current=null] : iv_ruleStringReference= ruleStringReference EOF ; - public final EObject entryRuleStringReference() throws RecognitionException { - EObject current = null; - - EObject iv_ruleStringReference = null; - - - try { - // InternalApplicationConfiguration.g:3149:56: (iv_ruleStringReference= ruleStringReference EOF ) - // InternalApplicationConfiguration.g:3150:2: iv_ruleStringReference= ruleStringReference EOF - { - newCompositeNode(grammarAccess.getStringReferenceRule()); - pushFollow(FOLLOW_1); - iv_ruleStringReference=ruleStringReference(); - - state._fsp--; - - current =iv_ruleStringReference; - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleStringReference" - - - // $ANTLR start "ruleStringReference" - // InternalApplicationConfiguration.g:3156:1: ruleStringReference returns [EObject current=null] : ( () otherlv_1= 'string' ) ; - public final EObject ruleStringReference() throws RecognitionException { - EObject current = null; - - Token otherlv_1=null; - - - enterRule(); - - try { - // InternalApplicationConfiguration.g:3162:2: ( ( () otherlv_1= 'string' ) ) - // InternalApplicationConfiguration.g:3163:2: ( () otherlv_1= 'string' ) - { - // InternalApplicationConfiguration.g:3163:2: ( () otherlv_1= 'string' ) - // InternalApplicationConfiguration.g:3164:3: () otherlv_1= 'string' - { - // InternalApplicationConfiguration.g:3164:3: () - // InternalApplicationConfiguration.g:3165:4: - { - - current = forceCreateModelElement( - grammarAccess.getStringReferenceAccess().getStringScopeAction_0(), - current); - - - } - - otherlv_1=(Token)match(input,39,FOLLOW_2); - - newLeafNode(otherlv_1, grammarAccess.getStringReferenceAccess().getStringKeyword_1()); - - - } - - - } - - - leaveRule(); - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleStringReference" - - - // $ANTLR start "entryRuleExactNumber" - // InternalApplicationConfiguration.g:3179:1: entryRuleExactNumber returns [EObject current=null] : iv_ruleExactNumber= ruleExactNumber EOF ; - public final EObject entryRuleExactNumber() throws RecognitionException { - EObject current = null; - - EObject iv_ruleExactNumber = null; - - - try { - // InternalApplicationConfiguration.g:3179:52: (iv_ruleExactNumber= ruleExactNumber EOF ) - // InternalApplicationConfiguration.g:3180:2: iv_ruleExactNumber= ruleExactNumber EOF - { - newCompositeNode(grammarAccess.getExactNumberRule()); - pushFollow(FOLLOW_1); - iv_ruleExactNumber=ruleExactNumber(); - - state._fsp--; - - current =iv_ruleExactNumber; - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleExactNumber" - - - // $ANTLR start "ruleExactNumber" - // InternalApplicationConfiguration.g:3186:1: ruleExactNumber returns [EObject current=null] : ( ( (lv_exactNumber_0_0= RULE_INT ) ) | ( (lv_exactUnlimited_1_0= '*' ) ) ) ; - public final EObject ruleExactNumber() throws RecognitionException { - EObject current = null; - - Token lv_exactNumber_0_0=null; - Token lv_exactUnlimited_1_0=null; - - - enterRule(); - - try { - // InternalApplicationConfiguration.g:3192:2: ( ( ( (lv_exactNumber_0_0= RULE_INT ) ) | ( (lv_exactUnlimited_1_0= '*' ) ) ) ) - // InternalApplicationConfiguration.g:3193:2: ( ( (lv_exactNumber_0_0= RULE_INT ) ) | ( (lv_exactUnlimited_1_0= '*' ) ) ) - { - // InternalApplicationConfiguration.g:3193:2: ( ( (lv_exactNumber_0_0= RULE_INT ) ) | ( (lv_exactUnlimited_1_0= '*' ) ) ) - int alt45=2; - int LA45_0 = input.LA(1); - - if ( (LA45_0==RULE_INT) ) { - alt45=1; - } - else if ( (LA45_0==40) ) { - alt45=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 45, 0, input); - - throw nvae; - } - switch (alt45) { - case 1 : - // InternalApplicationConfiguration.g:3194:3: ( (lv_exactNumber_0_0= RULE_INT ) ) - { - // InternalApplicationConfiguration.g:3194:3: ( (lv_exactNumber_0_0= RULE_INT ) ) - // InternalApplicationConfiguration.g:3195:4: (lv_exactNumber_0_0= RULE_INT ) - { - // InternalApplicationConfiguration.g:3195:4: (lv_exactNumber_0_0= RULE_INT ) - // InternalApplicationConfiguration.g:3196:5: lv_exactNumber_0_0= RULE_INT - { - lv_exactNumber_0_0=(Token)match(input,RULE_INT,FOLLOW_2); - - newLeafNode(lv_exactNumber_0_0, grammarAccess.getExactNumberAccess().getExactNumberINTTerminalRuleCall_0_0()); - - - if (current==null) { - current = createModelElement(grammarAccess.getExactNumberRule()); - } - setWithLastConsumed( - current, - "exactNumber", - lv_exactNumber_0_0, - "org.eclipse.xtext.common.Terminals.INT"); - - - } - - - } - - - } - break; - case 2 : - // InternalApplicationConfiguration.g:3213:3: ( (lv_exactUnlimited_1_0= '*' ) ) - { - // InternalApplicationConfiguration.g:3213:3: ( (lv_exactUnlimited_1_0= '*' ) ) - // InternalApplicationConfiguration.g:3214:4: (lv_exactUnlimited_1_0= '*' ) - { - // InternalApplicationConfiguration.g:3214:4: (lv_exactUnlimited_1_0= '*' ) - // InternalApplicationConfiguration.g:3215:5: lv_exactUnlimited_1_0= '*' - { - lv_exactUnlimited_1_0=(Token)match(input,40,FOLLOW_2); - - newLeafNode(lv_exactUnlimited_1_0, grammarAccess.getExactNumberAccess().getExactUnlimitedAsteriskKeyword_1_0()); - - - if (current==null) { - current = createModelElement(grammarAccess.getExactNumberRule()); - } - setWithLastConsumed(current, "exactUnlimited", true, "*"); - - - } - - - } - - - } - break; - - } - - - } - - - leaveRule(); - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleExactNumber" - - - // $ANTLR start "entryRuleIntervallNumber" - // InternalApplicationConfiguration.g:3231:1: entryRuleIntervallNumber returns [EObject current=null] : iv_ruleIntervallNumber= ruleIntervallNumber EOF ; - public final EObject entryRuleIntervallNumber() throws RecognitionException { - EObject current = null; - - EObject iv_ruleIntervallNumber = null; - - - try { - // InternalApplicationConfiguration.g:3231:56: (iv_ruleIntervallNumber= ruleIntervallNumber EOF ) - // InternalApplicationConfiguration.g:3232:2: iv_ruleIntervallNumber= ruleIntervallNumber EOF - { - newCompositeNode(grammarAccess.getIntervallNumberRule()); - pushFollow(FOLLOW_1); - iv_ruleIntervallNumber=ruleIntervallNumber(); - - state._fsp--; - - current =iv_ruleIntervallNumber; - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleIntervallNumber" - - - // $ANTLR start "ruleIntervallNumber" - // InternalApplicationConfiguration.g:3238:1: ruleIntervallNumber returns [EObject current=null] : ( ( (lv_min_0_0= RULE_INT ) ) otherlv_1= '..' ( ( (lv_maxNumber_2_0= RULE_INT ) ) | ( (lv_maxUnlimited_3_0= '*' ) ) ) ) ; - public final EObject ruleIntervallNumber() throws RecognitionException { - EObject current = null; - - Token lv_min_0_0=null; - Token otherlv_1=null; - Token lv_maxNumber_2_0=null; - Token lv_maxUnlimited_3_0=null; - - - enterRule(); - - try { - // InternalApplicationConfiguration.g:3244:2: ( ( ( (lv_min_0_0= RULE_INT ) ) otherlv_1= '..' ( ( (lv_maxNumber_2_0= RULE_INT ) ) | ( (lv_maxUnlimited_3_0= '*' ) ) ) ) ) - // InternalApplicationConfiguration.g:3245:2: ( ( (lv_min_0_0= RULE_INT ) ) otherlv_1= '..' ( ( (lv_maxNumber_2_0= RULE_INT ) ) | ( (lv_maxUnlimited_3_0= '*' ) ) ) ) - { - // InternalApplicationConfiguration.g:3245:2: ( ( (lv_min_0_0= RULE_INT ) ) otherlv_1= '..' ( ( (lv_maxNumber_2_0= RULE_INT ) ) | ( (lv_maxUnlimited_3_0= '*' ) ) ) ) - // InternalApplicationConfiguration.g:3246:3: ( (lv_min_0_0= RULE_INT ) ) otherlv_1= '..' ( ( (lv_maxNumber_2_0= RULE_INT ) ) | ( (lv_maxUnlimited_3_0= '*' ) ) ) - { - // InternalApplicationConfiguration.g:3246:3: ( (lv_min_0_0= RULE_INT ) ) - // InternalApplicationConfiguration.g:3247:4: (lv_min_0_0= RULE_INT ) - { - // InternalApplicationConfiguration.g:3247:4: (lv_min_0_0= RULE_INT ) - // InternalApplicationConfiguration.g:3248:5: lv_min_0_0= RULE_INT - { - lv_min_0_0=(Token)match(input,RULE_INT,FOLLOW_35); - - newLeafNode(lv_min_0_0, grammarAccess.getIntervallNumberAccess().getMinINTTerminalRuleCall_0_0()); - - - if (current==null) { - current = createModelElement(grammarAccess.getIntervallNumberRule()); - } - setWithLastConsumed( - current, - "min", - lv_min_0_0, - "org.eclipse.xtext.common.Terminals.INT"); - - - } - - - } - - otherlv_1=(Token)match(input,41,FOLLOW_28); - - newLeafNode(otherlv_1, grammarAccess.getIntervallNumberAccess().getFullStopFullStopKeyword_1()); - - // InternalApplicationConfiguration.g:3268:3: ( ( (lv_maxNumber_2_0= RULE_INT ) ) | ( (lv_maxUnlimited_3_0= '*' ) ) ) - int alt46=2; - int LA46_0 = input.LA(1); - - if ( (LA46_0==RULE_INT) ) { - alt46=1; - } - else if ( (LA46_0==40) ) { - alt46=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 46, 0, input); - - throw nvae; - } - switch (alt46) { - case 1 : - // InternalApplicationConfiguration.g:3269:4: ( (lv_maxNumber_2_0= RULE_INT ) ) - { - // InternalApplicationConfiguration.g:3269:4: ( (lv_maxNumber_2_0= RULE_INT ) ) - // InternalApplicationConfiguration.g:3270:5: (lv_maxNumber_2_0= RULE_INT ) - { - // InternalApplicationConfiguration.g:3270:5: (lv_maxNumber_2_0= RULE_INT ) - // InternalApplicationConfiguration.g:3271:6: lv_maxNumber_2_0= RULE_INT - { - lv_maxNumber_2_0=(Token)match(input,RULE_INT,FOLLOW_2); - - newLeafNode(lv_maxNumber_2_0, grammarAccess.getIntervallNumberAccess().getMaxNumberINTTerminalRuleCall_2_0_0()); - - - if (current==null) { - current = createModelElement(grammarAccess.getIntervallNumberRule()); - } - setWithLastConsumed( - current, - "maxNumber", - lv_maxNumber_2_0, - "org.eclipse.xtext.common.Terminals.INT"); - - - } - - - } - - - } - break; - case 2 : - // InternalApplicationConfiguration.g:3288:4: ( (lv_maxUnlimited_3_0= '*' ) ) - { - // InternalApplicationConfiguration.g:3288:4: ( (lv_maxUnlimited_3_0= '*' ) ) - // InternalApplicationConfiguration.g:3289:5: (lv_maxUnlimited_3_0= '*' ) - { - // InternalApplicationConfiguration.g:3289:5: (lv_maxUnlimited_3_0= '*' ) - // InternalApplicationConfiguration.g:3290:6: lv_maxUnlimited_3_0= '*' - { - lv_maxUnlimited_3_0=(Token)match(input,40,FOLLOW_2); - - newLeafNode(lv_maxUnlimited_3_0, grammarAccess.getIntervallNumberAccess().getMaxUnlimitedAsteriskKeyword_2_1_0()); - - - if (current==null) { - current = createModelElement(grammarAccess.getIntervallNumberRule()); - } - setWithLastConsumed(current, "maxUnlimited", true, "*"); - - - } - - - } - - - } - break; - - } - - - } - - - } - - - leaveRule(); - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleIntervallNumber" - - - // $ANTLR start "entryRuleIntEnumberation" - // InternalApplicationConfiguration.g:3307:1: entryRuleIntEnumberation returns [EObject current=null] : iv_ruleIntEnumberation= ruleIntEnumberation EOF ; - public final EObject entryRuleIntEnumberation() throws RecognitionException { - EObject current = null; - - EObject iv_ruleIntEnumberation = null; - - - try { - // InternalApplicationConfiguration.g:3307:56: (iv_ruleIntEnumberation= ruleIntEnumberation EOF ) - // InternalApplicationConfiguration.g:3308:2: iv_ruleIntEnumberation= ruleIntEnumberation EOF - { - newCompositeNode(grammarAccess.getIntEnumberationRule()); - pushFollow(FOLLOW_1); - iv_ruleIntEnumberation=ruleIntEnumberation(); - - state._fsp--; - - current =iv_ruleIntEnumberation; - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleIntEnumberation" - - - // $ANTLR start "ruleIntEnumberation" - // InternalApplicationConfiguration.g:3314:1: ruleIntEnumberation returns [EObject current=null] : ( () otherlv_1= '{' ( ( (lv_entry_2_0= ruleINTLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) )* )? otherlv_5= '}' ) ; - public final EObject ruleIntEnumberation() throws RecognitionException { - EObject current = null; - - Token otherlv_1=null; - Token otherlv_3=null; - Token otherlv_5=null; - AntlrDatatypeRuleToken lv_entry_2_0 = null; - - AntlrDatatypeRuleToken lv_entry_4_0 = null; - - - - enterRule(); - - try { - // InternalApplicationConfiguration.g:3320:2: ( ( () otherlv_1= '{' ( ( (lv_entry_2_0= ruleINTLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) )* )? otherlv_5= '}' ) ) - // InternalApplicationConfiguration.g:3321:2: ( () otherlv_1= '{' ( ( (lv_entry_2_0= ruleINTLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) )* )? otherlv_5= '}' ) - { - // InternalApplicationConfiguration.g:3321:2: ( () otherlv_1= '{' ( ( (lv_entry_2_0= ruleINTLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) )* )? otherlv_5= '}' ) - // InternalApplicationConfiguration.g:3322:3: () otherlv_1= '{' ( ( (lv_entry_2_0= ruleINTLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) )* )? otherlv_5= '}' - { - // InternalApplicationConfiguration.g:3322:3: () - // InternalApplicationConfiguration.g:3323:4: - { - - current = forceCreateModelElement( - grammarAccess.getIntEnumberationAccess().getIntEnumberationAction_0(), - current); - - - } - - otherlv_1=(Token)match(input,18,FOLLOW_36); - - newLeafNode(otherlv_1, grammarAccess.getIntEnumberationAccess().getLeftCurlyBracketKeyword_1()); - - // InternalApplicationConfiguration.g:3333:3: ( ( (lv_entry_2_0= ruleINTLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) )* )? - int alt48=2; - int LA48_0 = input.LA(1); - - if ( (LA48_0==RULE_INT||LA48_0==12) ) { - alt48=1; - } - switch (alt48) { - case 1 : - // InternalApplicationConfiguration.g:3334:4: ( (lv_entry_2_0= ruleINTLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) )* - { - // InternalApplicationConfiguration.g:3334:4: ( (lv_entry_2_0= ruleINTLiteral ) ) - // InternalApplicationConfiguration.g:3335:5: (lv_entry_2_0= ruleINTLiteral ) - { - // InternalApplicationConfiguration.g:3335:5: (lv_entry_2_0= ruleINTLiteral ) - // InternalApplicationConfiguration.g:3336:6: lv_entry_2_0= ruleINTLiteral - { - - newCompositeNode(grammarAccess.getIntEnumberationAccess().getEntryINTLiteralParserRuleCall_2_0_0()); - - pushFollow(FOLLOW_14); - lv_entry_2_0=ruleINTLiteral(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getIntEnumberationRule()); - } - add( - current, - "entry", - lv_entry_2_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.INTLiteral"); - afterParserOrEnumRuleCall(); - - - } - - - } - - // InternalApplicationConfiguration.g:3353:4: (otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) )* - loop47: - do { - int alt47=2; - int LA47_0 = input.LA(1); - - if ( (LA47_0==19) ) { - alt47=1; - } - - - switch (alt47) { - case 1 : - // InternalApplicationConfiguration.g:3354:5: otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) - { - otherlv_3=(Token)match(input,19,FOLLOW_37); - - newLeafNode(otherlv_3, grammarAccess.getIntEnumberationAccess().getCommaKeyword_2_1_0()); - - // InternalApplicationConfiguration.g:3358:5: ( (lv_entry_4_0= ruleINTLiteral ) ) - // InternalApplicationConfiguration.g:3359:6: (lv_entry_4_0= ruleINTLiteral ) - { - // InternalApplicationConfiguration.g:3359:6: (lv_entry_4_0= ruleINTLiteral ) - // InternalApplicationConfiguration.g:3360:7: lv_entry_4_0= ruleINTLiteral - { - - newCompositeNode(grammarAccess.getIntEnumberationAccess().getEntryINTLiteralParserRuleCall_2_1_1_0()); - - pushFollow(FOLLOW_14); - lv_entry_4_0=ruleINTLiteral(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getIntEnumberationRule()); - } - add( - current, - "entry", - lv_entry_4_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.INTLiteral"); - afterParserOrEnumRuleCall(); - - - } - - - } - - - } - break; - - default : - break loop47; - } - } while (true); - - - } - break; - - } - - otherlv_5=(Token)match(input,20,FOLLOW_2); - - newLeafNode(otherlv_5, grammarAccess.getIntEnumberationAccess().getRightCurlyBracketKeyword_3()); - - - } - - - } - - - leaveRule(); - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleIntEnumberation" - - - // $ANTLR start "entryRuleRealEnumeration" - // InternalApplicationConfiguration.g:3387:1: entryRuleRealEnumeration returns [EObject current=null] : iv_ruleRealEnumeration= ruleRealEnumeration EOF ; - public final EObject entryRuleRealEnumeration() throws RecognitionException { - EObject current = null; - - EObject iv_ruleRealEnumeration = null; - - - try { - // InternalApplicationConfiguration.g:3387:56: (iv_ruleRealEnumeration= ruleRealEnumeration EOF ) - // InternalApplicationConfiguration.g:3388:2: iv_ruleRealEnumeration= ruleRealEnumeration EOF - { - newCompositeNode(grammarAccess.getRealEnumerationRule()); - pushFollow(FOLLOW_1); - iv_ruleRealEnumeration=ruleRealEnumeration(); - - state._fsp--; - - current =iv_ruleRealEnumeration; - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleRealEnumeration" - - - // $ANTLR start "ruleRealEnumeration" - // InternalApplicationConfiguration.g:3394:1: ruleRealEnumeration returns [EObject current=null] : ( () otherlv_1= '{' ( ( (lv_entry_2_0= ruleREALLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) ) )* )? otherlv_5= '}' ) ; - public final EObject ruleRealEnumeration() throws RecognitionException { - EObject current = null; - - Token otherlv_1=null; - Token otherlv_3=null; - Token otherlv_5=null; - AntlrDatatypeRuleToken lv_entry_2_0 = null; - - AntlrDatatypeRuleToken lv_entry_4_0 = null; - - - - enterRule(); - - try { - // InternalApplicationConfiguration.g:3400:2: ( ( () otherlv_1= '{' ( ( (lv_entry_2_0= ruleREALLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) ) )* )? otherlv_5= '}' ) ) - // InternalApplicationConfiguration.g:3401:2: ( () otherlv_1= '{' ( ( (lv_entry_2_0= ruleREALLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) ) )* )? otherlv_5= '}' ) - { - // InternalApplicationConfiguration.g:3401:2: ( () otherlv_1= '{' ( ( (lv_entry_2_0= ruleREALLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) ) )* )? otherlv_5= '}' ) - // InternalApplicationConfiguration.g:3402:3: () otherlv_1= '{' ( ( (lv_entry_2_0= ruleREALLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) ) )* )? otherlv_5= '}' - { - // InternalApplicationConfiguration.g:3402:3: () - // InternalApplicationConfiguration.g:3403:4: - { - - current = forceCreateModelElement( - grammarAccess.getRealEnumerationAccess().getRealEnumerationAction_0(), - current); - - - } - - otherlv_1=(Token)match(input,18,FOLLOW_36); - - newLeafNode(otherlv_1, grammarAccess.getRealEnumerationAccess().getLeftCurlyBracketKeyword_1()); - - // InternalApplicationConfiguration.g:3413:3: ( ( (lv_entry_2_0= ruleREALLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) ) )* )? - int alt50=2; - int LA50_0 = input.LA(1); - - if ( (LA50_0==RULE_INT||LA50_0==12) ) { - alt50=1; - } - switch (alt50) { - case 1 : - // InternalApplicationConfiguration.g:3414:4: ( (lv_entry_2_0= ruleREALLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) ) )* - { - // InternalApplicationConfiguration.g:3414:4: ( (lv_entry_2_0= ruleREALLiteral ) ) - // InternalApplicationConfiguration.g:3415:5: (lv_entry_2_0= ruleREALLiteral ) - { - // InternalApplicationConfiguration.g:3415:5: (lv_entry_2_0= ruleREALLiteral ) - // InternalApplicationConfiguration.g:3416:6: lv_entry_2_0= ruleREALLiteral - { - - newCompositeNode(grammarAccess.getRealEnumerationAccess().getEntryREALLiteralParserRuleCall_2_0_0()); - - pushFollow(FOLLOW_14); - lv_entry_2_0=ruleREALLiteral(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getRealEnumerationRule()); - } - add( - current, - "entry", - lv_entry_2_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.REALLiteral"); - afterParserOrEnumRuleCall(); - - - } - - - } - - // InternalApplicationConfiguration.g:3433:4: (otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) ) )* - loop49: - do { - int alt49=2; - int LA49_0 = input.LA(1); - - if ( (LA49_0==19) ) { - alt49=1; - } - - - switch (alt49) { - case 1 : - // InternalApplicationConfiguration.g:3434:5: otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) ) - { - otherlv_3=(Token)match(input,19,FOLLOW_37); - - newLeafNode(otherlv_3, grammarAccess.getRealEnumerationAccess().getCommaKeyword_2_1_0()); - - // InternalApplicationConfiguration.g:3438:5: ( (lv_entry_4_0= ruleREALLiteral ) ) - // InternalApplicationConfiguration.g:3439:6: (lv_entry_4_0= ruleREALLiteral ) - { - // InternalApplicationConfiguration.g:3439:6: (lv_entry_4_0= ruleREALLiteral ) - // InternalApplicationConfiguration.g:3440:7: lv_entry_4_0= ruleREALLiteral - { - - newCompositeNode(grammarAccess.getRealEnumerationAccess().getEntryREALLiteralParserRuleCall_2_1_1_0()); - - pushFollow(FOLLOW_14); - lv_entry_4_0=ruleREALLiteral(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getRealEnumerationRule()); - } - add( - current, - "entry", - lv_entry_4_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.REALLiteral"); - afterParserOrEnumRuleCall(); - - - } - - - } - - - } - break; - - default : - break loop49; - } - } while (true); - - - } - break; - - } - - otherlv_5=(Token)match(input,20,FOLLOW_2); - - newLeafNode(otherlv_5, grammarAccess.getRealEnumerationAccess().getRightCurlyBracketKeyword_3()); - - - } - - - } - - - leaveRule(); - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleRealEnumeration" - - - // $ANTLR start "entryRuleStringEnumeration" - // InternalApplicationConfiguration.g:3467:1: entryRuleStringEnumeration returns [EObject current=null] : iv_ruleStringEnumeration= ruleStringEnumeration EOF ; - public final EObject entryRuleStringEnumeration() throws RecognitionException { - EObject current = null; - - EObject iv_ruleStringEnumeration = null; - - - try { - // InternalApplicationConfiguration.g:3467:58: (iv_ruleStringEnumeration= ruleStringEnumeration EOF ) - // InternalApplicationConfiguration.g:3468:2: iv_ruleStringEnumeration= ruleStringEnumeration EOF - { - newCompositeNode(grammarAccess.getStringEnumerationRule()); - pushFollow(FOLLOW_1); - iv_ruleStringEnumeration=ruleStringEnumeration(); - - state._fsp--; - - current =iv_ruleStringEnumeration; - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleStringEnumeration" - - - // $ANTLR start "ruleStringEnumeration" - // InternalApplicationConfiguration.g:3474:1: ruleStringEnumeration returns [EObject current=null] : ( () otherlv_1= '{' ( ( (lv_entry_2_0= RULE_STRING ) ) (otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) ) )* )? otherlv_5= '}' ) ; - public final EObject ruleStringEnumeration() throws RecognitionException { - EObject current = null; - - Token otherlv_1=null; - Token lv_entry_2_0=null; - Token otherlv_3=null; - Token lv_entry_4_0=null; - Token otherlv_5=null; - - - enterRule(); - - try { - // InternalApplicationConfiguration.g:3480:2: ( ( () otherlv_1= '{' ( ( (lv_entry_2_0= RULE_STRING ) ) (otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) ) )* )? otherlv_5= '}' ) ) - // InternalApplicationConfiguration.g:3481:2: ( () otherlv_1= '{' ( ( (lv_entry_2_0= RULE_STRING ) ) (otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) ) )* )? otherlv_5= '}' ) - { - // InternalApplicationConfiguration.g:3481:2: ( () otherlv_1= '{' ( ( (lv_entry_2_0= RULE_STRING ) ) (otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) ) )* )? otherlv_5= '}' ) - // InternalApplicationConfiguration.g:3482:3: () otherlv_1= '{' ( ( (lv_entry_2_0= RULE_STRING ) ) (otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) ) )* )? otherlv_5= '}' - { - // InternalApplicationConfiguration.g:3482:3: () - // InternalApplicationConfiguration.g:3483:4: - { - - current = forceCreateModelElement( - grammarAccess.getStringEnumerationAccess().getStringEnumerationAction_0(), - current); - - - } - - otherlv_1=(Token)match(input,18,FOLLOW_38); - - newLeafNode(otherlv_1, grammarAccess.getStringEnumerationAccess().getLeftCurlyBracketKeyword_1()); - - // InternalApplicationConfiguration.g:3493:3: ( ( (lv_entry_2_0= RULE_STRING ) ) (otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) ) )* )? - int alt52=2; - int LA52_0 = input.LA(1); - - if ( (LA52_0==RULE_STRING) ) { - alt52=1; - } - switch (alt52) { - case 1 : - // InternalApplicationConfiguration.g:3494:4: ( (lv_entry_2_0= RULE_STRING ) ) (otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) ) )* - { - // InternalApplicationConfiguration.g:3494:4: ( (lv_entry_2_0= RULE_STRING ) ) - // InternalApplicationConfiguration.g:3495:5: (lv_entry_2_0= RULE_STRING ) - { - // InternalApplicationConfiguration.g:3495:5: (lv_entry_2_0= RULE_STRING ) - // InternalApplicationConfiguration.g:3496:6: lv_entry_2_0= RULE_STRING - { - lv_entry_2_0=(Token)match(input,RULE_STRING,FOLLOW_14); - - newLeafNode(lv_entry_2_0, grammarAccess.getStringEnumerationAccess().getEntrySTRINGTerminalRuleCall_2_0_0()); - - - if (current==null) { - current = createModelElement(grammarAccess.getStringEnumerationRule()); - } - addWithLastConsumed( - current, - "entry", - lv_entry_2_0, - "org.eclipse.xtext.common.Terminals.STRING"); - - - } - - - } - - // InternalApplicationConfiguration.g:3512:4: (otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) ) )* - loop51: - do { - int alt51=2; - int LA51_0 = input.LA(1); - - if ( (LA51_0==19) ) { - alt51=1; - } - - - switch (alt51) { - case 1 : - // InternalApplicationConfiguration.g:3513:5: otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) ) - { - otherlv_3=(Token)match(input,19,FOLLOW_10); - - newLeafNode(otherlv_3, grammarAccess.getStringEnumerationAccess().getCommaKeyword_2_1_0()); - - // InternalApplicationConfiguration.g:3517:5: ( (lv_entry_4_0= RULE_STRING ) ) - // InternalApplicationConfiguration.g:3518:6: (lv_entry_4_0= RULE_STRING ) - { - // InternalApplicationConfiguration.g:3518:6: (lv_entry_4_0= RULE_STRING ) - // InternalApplicationConfiguration.g:3519:7: lv_entry_4_0= RULE_STRING - { - lv_entry_4_0=(Token)match(input,RULE_STRING,FOLLOW_14); - - newLeafNode(lv_entry_4_0, grammarAccess.getStringEnumerationAccess().getEntrySTRINGTerminalRuleCall_2_1_1_0()); - - - if (current==null) { - current = createModelElement(grammarAccess.getStringEnumerationRule()); - } - addWithLastConsumed( - current, - "entry", - lv_entry_4_0, - "org.eclipse.xtext.common.Terminals.STRING"); - - - } - - - } - - - } - break; - - default : - break loop51; - } - } while (true); - - - } - break; - - } - - otherlv_5=(Token)match(input,20,FOLLOW_2); - - newLeafNode(otherlv_5, grammarAccess.getStringEnumerationAccess().getRightCurlyBracketKeyword_3()); - - - } - - - } - - - leaveRule(); - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleStringEnumeration" - - - // $ANTLR start "entryRuleScopeDeclaration" - // InternalApplicationConfiguration.g:3545:1: entryRuleScopeDeclaration returns [EObject current=null] : iv_ruleScopeDeclaration= ruleScopeDeclaration EOF ; - public final EObject entryRuleScopeDeclaration() throws RecognitionException { - EObject current = null; - - EObject iv_ruleScopeDeclaration = null; - - - try { - // InternalApplicationConfiguration.g:3545:57: (iv_ruleScopeDeclaration= ruleScopeDeclaration EOF ) - // InternalApplicationConfiguration.g:3546:2: iv_ruleScopeDeclaration= ruleScopeDeclaration EOF - { - newCompositeNode(grammarAccess.getScopeDeclarationRule()); - pushFollow(FOLLOW_1); - iv_ruleScopeDeclaration=ruleScopeDeclaration(); - - state._fsp--; - - current =iv_ruleScopeDeclaration; - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleScopeDeclaration" - - - // $ANTLR start "ruleScopeDeclaration" - // InternalApplicationConfiguration.g:3552:1: ruleScopeDeclaration returns [EObject current=null] : (otherlv_0= 'scope' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleScopeSpecification ) ) ) ; - public final EObject ruleScopeDeclaration() throws RecognitionException { - EObject current = null; - - Token otherlv_0=null; - Token lv_name_1_0=null; - EObject lv_specification_2_0 = null; - - - - enterRule(); - - try { - // InternalApplicationConfiguration.g:3558:2: ( (otherlv_0= 'scope' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleScopeSpecification ) ) ) ) - // InternalApplicationConfiguration.g:3559:2: (otherlv_0= 'scope' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleScopeSpecification ) ) ) - { - // InternalApplicationConfiguration.g:3559:2: (otherlv_0= 'scope' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleScopeSpecification ) ) ) - // InternalApplicationConfiguration.g:3560:3: otherlv_0= 'scope' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleScopeSpecification ) ) - { - otherlv_0=(Token)match(input,42,FOLLOW_6); - - newLeafNode(otherlv_0, grammarAccess.getScopeDeclarationAccess().getScopeKeyword_0()); - - // InternalApplicationConfiguration.g:3564:3: ( (lv_name_1_0= RULE_ID ) ) - // InternalApplicationConfiguration.g:3565:4: (lv_name_1_0= RULE_ID ) - { - // InternalApplicationConfiguration.g:3565:4: (lv_name_1_0= RULE_ID ) - // InternalApplicationConfiguration.g:3566:5: lv_name_1_0= RULE_ID - { - lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_16); - - newLeafNode(lv_name_1_0, grammarAccess.getScopeDeclarationAccess().getNameIDTerminalRuleCall_1_0()); - - - if (current==null) { - current = createModelElement(grammarAccess.getScopeDeclarationRule()); - } - setWithLastConsumed( - current, - "name", - lv_name_1_0, - "org.eclipse.xtext.common.Terminals.ID"); - - - } - - - } - - // InternalApplicationConfiguration.g:3582:3: ( (lv_specification_2_0= ruleScopeSpecification ) ) - // InternalApplicationConfiguration.g:3583:4: (lv_specification_2_0= ruleScopeSpecification ) - { - // InternalApplicationConfiguration.g:3583:4: (lv_specification_2_0= ruleScopeSpecification ) - // InternalApplicationConfiguration.g:3584:5: lv_specification_2_0= ruleScopeSpecification - { - - newCompositeNode(grammarAccess.getScopeDeclarationAccess().getSpecificationScopeSpecificationParserRuleCall_2_0()); - - pushFollow(FOLLOW_2); - lv_specification_2_0=ruleScopeSpecification(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getScopeDeclarationRule()); - } - set( - current, - "specification", - lv_specification_2_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ScopeSpecification"); - afterParserOrEnumRuleCall(); - - - } - - - } - - - } - - - } - - - leaveRule(); - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleScopeDeclaration" - - - // $ANTLR start "entryRuleScopeReference" - // InternalApplicationConfiguration.g:3605:1: entryRuleScopeReference returns [EObject current=null] : iv_ruleScopeReference= ruleScopeReference EOF ; - public final EObject entryRuleScopeReference() throws RecognitionException { - EObject current = null; - - EObject iv_ruleScopeReference = null; - - - try { - // InternalApplicationConfiguration.g:3605:55: (iv_ruleScopeReference= ruleScopeReference EOF ) - // InternalApplicationConfiguration.g:3606:2: iv_ruleScopeReference= ruleScopeReference EOF - { - newCompositeNode(grammarAccess.getScopeReferenceRule()); - pushFollow(FOLLOW_1); - iv_ruleScopeReference=ruleScopeReference(); - - state._fsp--; - - current =iv_ruleScopeReference; - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleScopeReference" - - - // $ANTLR start "ruleScopeReference" - // InternalApplicationConfiguration.g:3612:1: ruleScopeReference returns [EObject current=null] : ( (otherlv_0= RULE_ID ) ) ; - public final EObject ruleScopeReference() throws RecognitionException { - EObject current = null; - - Token otherlv_0=null; - - - enterRule(); - - try { - // InternalApplicationConfiguration.g:3618:2: ( ( (otherlv_0= RULE_ID ) ) ) - // InternalApplicationConfiguration.g:3619:2: ( (otherlv_0= RULE_ID ) ) - { - // InternalApplicationConfiguration.g:3619:2: ( (otherlv_0= RULE_ID ) ) - // InternalApplicationConfiguration.g:3620:3: (otherlv_0= RULE_ID ) - { - // InternalApplicationConfiguration.g:3620:3: (otherlv_0= RULE_ID ) - // InternalApplicationConfiguration.g:3621:4: otherlv_0= RULE_ID - { - - if (current==null) { - current = createModelElement(grammarAccess.getScopeReferenceRule()); - } - - otherlv_0=(Token)match(input,RULE_ID,FOLLOW_2); - - newLeafNode(otherlv_0, grammarAccess.getScopeReferenceAccess().getReferredScopeDeclarationCrossReference_0()); - - - } - - - } - - - } - - - leaveRule(); - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleScopeReference" - - - // $ANTLR start "entryRuleScope" - // InternalApplicationConfiguration.g:3635:1: entryRuleScope returns [EObject current=null] : iv_ruleScope= ruleScope EOF ; - public final EObject entryRuleScope() throws RecognitionException { - EObject current = null; - - EObject iv_ruleScope = null; - - - try { - // InternalApplicationConfiguration.g:3635:46: (iv_ruleScope= ruleScope EOF ) - // InternalApplicationConfiguration.g:3636:2: iv_ruleScope= ruleScope EOF - { - newCompositeNode(grammarAccess.getScopeRule()); - pushFollow(FOLLOW_1); - iv_ruleScope=ruleScope(); - - state._fsp--; - - current =iv_ruleScope; - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleScope" - - - // $ANTLR start "ruleScope" - // InternalApplicationConfiguration.g:3642:1: ruleScope returns [EObject current=null] : (this_ScopeSpecification_0= ruleScopeSpecification | this_ScopeReference_1= ruleScopeReference ) ; - public final EObject ruleScope() throws RecognitionException { - EObject current = null; - - EObject this_ScopeSpecification_0 = null; - - EObject this_ScopeReference_1 = null; - - - - enterRule(); - - try { - // InternalApplicationConfiguration.g:3648:2: ( (this_ScopeSpecification_0= ruleScopeSpecification | this_ScopeReference_1= ruleScopeReference ) ) - // InternalApplicationConfiguration.g:3649:2: (this_ScopeSpecification_0= ruleScopeSpecification | this_ScopeReference_1= ruleScopeReference ) - { - // InternalApplicationConfiguration.g:3649:2: (this_ScopeSpecification_0= ruleScopeSpecification | this_ScopeReference_1= ruleScopeReference ) - int alt53=2; - int LA53_0 = input.LA(1); - - if ( (LA53_0==18) ) { - alt53=1; - } - else if ( (LA53_0==RULE_ID) ) { - alt53=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 53, 0, input); - - throw nvae; - } - switch (alt53) { - case 1 : - // InternalApplicationConfiguration.g:3650:3: this_ScopeSpecification_0= ruleScopeSpecification - { - - newCompositeNode(grammarAccess.getScopeAccess().getScopeSpecificationParserRuleCall_0()); - - pushFollow(FOLLOW_2); - this_ScopeSpecification_0=ruleScopeSpecification(); - - state._fsp--; - - - current = this_ScopeSpecification_0; - afterParserOrEnumRuleCall(); - - - } - break; - case 2 : - // InternalApplicationConfiguration.g:3659:3: this_ScopeReference_1= ruleScopeReference - { - - newCompositeNode(grammarAccess.getScopeAccess().getScopeReferenceParserRuleCall_1()); - - pushFollow(FOLLOW_2); - this_ScopeReference_1=ruleScopeReference(); - - state._fsp--; - - - current = this_ScopeReference_1; - afterParserOrEnumRuleCall(); - - - } - break; - - } - - - } - - - leaveRule(); - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleScope" - - - // $ANTLR start "entryRuleTask" - // InternalApplicationConfiguration.g:3671:1: entryRuleTask returns [EObject current=null] : iv_ruleTask= ruleTask EOF ; - public final EObject entryRuleTask() throws RecognitionException { - EObject current = null; - - EObject iv_ruleTask = null; - - - try { - // InternalApplicationConfiguration.g:3671:45: (iv_ruleTask= ruleTask EOF ) - // InternalApplicationConfiguration.g:3672:2: iv_ruleTask= ruleTask EOF - { - newCompositeNode(grammarAccess.getTaskRule()); - pushFollow(FOLLOW_1); - iv_ruleTask=ruleTask(); - - state._fsp--; - - current =iv_ruleTask; - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleTask" - - - // $ANTLR start "ruleTask" - // InternalApplicationConfiguration.g:3678:1: ruleTask returns [EObject current=null] : this_GenerationTask_0= ruleGenerationTask ; - public final EObject ruleTask() throws RecognitionException { - EObject current = null; - - EObject this_GenerationTask_0 = null; - - - - enterRule(); - - try { - // InternalApplicationConfiguration.g:3684:2: (this_GenerationTask_0= ruleGenerationTask ) - // InternalApplicationConfiguration.g:3685:2: this_GenerationTask_0= ruleGenerationTask - { - - newCompositeNode(grammarAccess.getTaskAccess().getGenerationTaskParserRuleCall()); - - pushFollow(FOLLOW_2); - this_GenerationTask_0=ruleGenerationTask(); - - state._fsp--; - - - current = this_GenerationTask_0; - afterParserOrEnumRuleCall(); - - - } - - - leaveRule(); - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleTask" - - - // $ANTLR start "entryRuleGenerationTask" - // InternalApplicationConfiguration.g:3696:1: entryRuleGenerationTask returns [EObject current=null] : iv_ruleGenerationTask= ruleGenerationTask EOF ; - public final EObject entryRuleGenerationTask() throws RecognitionException { - EObject current = null; - - EObject iv_ruleGenerationTask = null; - - - try { - // InternalApplicationConfiguration.g:3696:55: (iv_ruleGenerationTask= ruleGenerationTask EOF ) - // InternalApplicationConfiguration.g:3697:2: iv_ruleGenerationTask= ruleGenerationTask EOF - { - newCompositeNode(grammarAccess.getGenerationTaskRule()); - pushFollow(FOLLOW_1); - iv_ruleGenerationTask=ruleGenerationTask(); - - state._fsp--; - - current =iv_ruleGenerationTask; - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleGenerationTask" - - - // $ANTLR start "ruleGenerationTask" - // InternalApplicationConfiguration.g:3703: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= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_16_0= 'number' ) ) otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_19_0= '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= 'debug' otherlv_29= '=' ( (lv_debugFolder_30_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'log' otherlv_32= '=' ( (lv_targetLogFile_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'statistics' otherlv_35= '=' ( (lv_targetStatisticsFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'output' otherlv_38= '=' ( (lv_tagetFolder_39_0= ruleFile ) ) ) ) ) ) )* ) ) ) otherlv_40= '}' ) ; - public final EObject ruleGenerationTask() throws RecognitionException { - EObject current = null; - - Token otherlv_0=null; - Token otherlv_2=null; - Token otherlv_4=null; - Token otherlv_5=null; - Token otherlv_7=null; - Token otherlv_8=null; - Token otherlv_10=null; - Token otherlv_11=null; - Token otherlv_13=null; - Token otherlv_14=null; - Token lv_numberSpecified_16_0=null; - Token otherlv_17=null; - Token lv_number_18_0=null; - Token lv_runSpecified_19_0=null; - Token otherlv_20=null; - Token lv_runs_21_0=null; - Token otherlv_22=null; - Token otherlv_23=null; - Token otherlv_25=null; - Token otherlv_26=null; - Token otherlv_28=null; - Token otherlv_29=null; - Token otherlv_31=null; - Token otherlv_32=null; - Token otherlv_34=null; - Token otherlv_35=null; - Token otherlv_37=null; - Token otherlv_38=null; - Token otherlv_40=null; - EObject lv_metamodel_6_0 = null; - - EObject lv_partialModel_9_0 = null; - - EObject lv_patterns_12_0 = null; - - EObject lv_scope_15_0 = null; - - Enumerator lv_solver_24_0 = null; - - EObject lv_config_27_0 = null; - - EObject lv_debugFolder_30_0 = null; - - EObject lv_targetLogFile_33_0 = null; - - EObject lv_targetStatisticsFile_36_0 = null; - - EObject lv_tagetFolder_39_0 = null; - - - - enterRule(); - - try { - // InternalApplicationConfiguration.g:3709: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= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_16_0= 'number' ) ) otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_19_0= '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= 'debug' otherlv_29= '=' ( (lv_debugFolder_30_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'log' otherlv_32= '=' ( (lv_targetLogFile_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'statistics' otherlv_35= '=' ( (lv_targetStatisticsFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'output' otherlv_38= '=' ( (lv_tagetFolder_39_0= ruleFile ) ) ) ) ) ) )* ) ) ) otherlv_40= '}' ) ) - // InternalApplicationConfiguration.g:3710: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= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_16_0= 'number' ) ) otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_19_0= '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= 'debug' otherlv_29= '=' ( (lv_debugFolder_30_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'log' otherlv_32= '=' ( (lv_targetLogFile_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'statistics' otherlv_35= '=' ( (lv_targetStatisticsFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'output' otherlv_38= '=' ( (lv_tagetFolder_39_0= ruleFile ) ) ) ) ) ) )* ) ) ) otherlv_40= '}' ) - { - // InternalApplicationConfiguration.g:3710: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= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_16_0= 'number' ) ) otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_19_0= '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= 'debug' otherlv_29= '=' ( (lv_debugFolder_30_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'log' otherlv_32= '=' ( (lv_targetLogFile_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'statistics' otherlv_35= '=' ( (lv_targetStatisticsFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'output' otherlv_38= '=' ( (lv_tagetFolder_39_0= ruleFile ) ) ) ) ) ) )* ) ) ) otherlv_40= '}' ) - // InternalApplicationConfiguration.g:3711: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= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_16_0= 'number' ) ) otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_19_0= '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= 'debug' otherlv_29= '=' ( (lv_debugFolder_30_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'log' otherlv_32= '=' ( (lv_targetLogFile_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'statistics' otherlv_35= '=' ( (lv_targetStatisticsFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'output' otherlv_38= '=' ( (lv_tagetFolder_39_0= ruleFile ) ) ) ) ) ) )* ) ) ) otherlv_40= '}' - { - otherlv_0=(Token)match(input,43,FOLLOW_16); - - newLeafNode(otherlv_0, grammarAccess.getGenerationTaskAccess().getGenerateKeyword_0()); - - // InternalApplicationConfiguration.g:3715:3: () - // InternalApplicationConfiguration.g:3716:4: - { - - current = forceCreateModelElement( - grammarAccess.getGenerationTaskAccess().getGenerationTaskAction_1(), - current); - - - } - - otherlv_2=(Token)match(input,18,FOLLOW_39); - - newLeafNode(otherlv_2, grammarAccess.getGenerationTaskAccess().getLeftCurlyBracketKeyword_2()); - - // InternalApplicationConfiguration.g:3726:3: ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_16_0= 'number' ) ) otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_19_0= '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= 'debug' otherlv_29= '=' ( (lv_debugFolder_30_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'log' otherlv_32= '=' ( (lv_targetLogFile_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'statistics' otherlv_35= '=' ( (lv_targetStatisticsFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'output' otherlv_38= '=' ( (lv_tagetFolder_39_0= ruleFile ) ) ) ) ) ) )* ) ) ) - // InternalApplicationConfiguration.g:3727:4: ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_16_0= 'number' ) ) otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_19_0= '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= 'debug' otherlv_29= '=' ( (lv_debugFolder_30_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'log' otherlv_32= '=' ( (lv_targetLogFile_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'statistics' otherlv_35= '=' ( (lv_targetStatisticsFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'output' otherlv_38= '=' ( (lv_tagetFolder_39_0= ruleFile ) ) ) ) ) ) )* ) ) - { - // InternalApplicationConfiguration.g:3727:4: ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_16_0= 'number' ) ) otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_19_0= '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= 'debug' otherlv_29= '=' ( (lv_debugFolder_30_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'log' otherlv_32= '=' ( (lv_targetLogFile_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'statistics' otherlv_35= '=' ( (lv_targetStatisticsFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'output' otherlv_38= '=' ( (lv_tagetFolder_39_0= ruleFile ) ) ) ) ) ) )* ) ) - // InternalApplicationConfiguration.g:3728:5: ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_16_0= 'number' ) ) otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_19_0= '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= 'debug' otherlv_29= '=' ( (lv_debugFolder_30_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'log' otherlv_32= '=' ( (lv_targetLogFile_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'statistics' otherlv_35= '=' ( (lv_targetStatisticsFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'output' otherlv_38= '=' ( (lv_tagetFolder_39_0= ruleFile ) ) ) ) ) ) )* ) - { - - getUnorderedGroupHelper().enter(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); - - // InternalApplicationConfiguration.g:3731:5: ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_16_0= 'number' ) ) otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_19_0= '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= 'debug' otherlv_29= '=' ( (lv_debugFolder_30_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'log' otherlv_32= '=' ( (lv_targetLogFile_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'statistics' otherlv_35= '=' ( (lv_targetStatisticsFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'output' otherlv_38= '=' ( (lv_tagetFolder_39_0= ruleFile ) ) ) ) ) ) )* ) - // InternalApplicationConfiguration.g:3732:6: ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_16_0= 'number' ) ) otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_19_0= '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= 'debug' otherlv_29= '=' ( (lv_debugFolder_30_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'log' otherlv_32= '=' ( (lv_targetLogFile_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'statistics' otherlv_35= '=' ( (lv_targetStatisticsFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'output' otherlv_38= '=' ( (lv_tagetFolder_39_0= ruleFile ) ) ) ) ) ) )* - { - // InternalApplicationConfiguration.g:3732:6: ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_16_0= 'number' ) ) otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_19_0= '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= 'debug' otherlv_29= '=' ( (lv_debugFolder_30_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'log' otherlv_32= '=' ( (lv_targetLogFile_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'statistics' otherlv_35= '=' ( (lv_targetStatisticsFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'output' otherlv_38= '=' ( (lv_tagetFolder_39_0= ruleFile ) ) ) ) ) ) )* - loop54: - do { - int alt54=13; - alt54 = dfa54.predict(input); - switch (alt54) { - case 1 : - // InternalApplicationConfiguration.g:3733:4: ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) - { - // InternalApplicationConfiguration.g:3733:4: ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) - // InternalApplicationConfiguration.g:3734:5: {...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) - { - if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0) ) { - throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0)"); - } - // InternalApplicationConfiguration.g:3734:111: ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) - // InternalApplicationConfiguration.g:3735:6: ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) - { - - getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0); - - // InternalApplicationConfiguration.g:3738:9: ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) - // InternalApplicationConfiguration.g:3738:10: {...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) - { - if ( !((true)) ) { - throw new FailedPredicateException(input, "ruleGenerationTask", "true"); - } - // InternalApplicationConfiguration.g:3738:19: (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) - // InternalApplicationConfiguration.g:3738:20: otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) - { - otherlv_4=(Token)match(input,24,FOLLOW_12); - - newLeafNode(otherlv_4, grammarAccess.getGenerationTaskAccess().getMetamodelKeyword_3_0_0()); - - otherlv_5=(Token)match(input,17,FOLLOW_40); - - newLeafNode(otherlv_5, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_0_1()); - - // InternalApplicationConfiguration.g:3746:9: ( (lv_metamodel_6_0= ruleMetamodel ) ) - // InternalApplicationConfiguration.g:3747:10: (lv_metamodel_6_0= ruleMetamodel ) - { - // InternalApplicationConfiguration.g:3747:10: (lv_metamodel_6_0= ruleMetamodel ) - // InternalApplicationConfiguration.g:3748:11: lv_metamodel_6_0= ruleMetamodel - { - - newCompositeNode(grammarAccess.getGenerationTaskAccess().getMetamodelMetamodelParserRuleCall_3_0_2_0()); - - pushFollow(FOLLOW_39); - lv_metamodel_6_0=ruleMetamodel(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); - } - set( - current, - "metamodel", - lv_metamodel_6_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Metamodel"); - afterParserOrEnumRuleCall(); - - - } - - - } - - - } - - - } - - - getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); - - - } - - - } - - - } - break; - case 2 : - // InternalApplicationConfiguration.g:3771:4: ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) - { - // InternalApplicationConfiguration.g:3771:4: ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) - // InternalApplicationConfiguration.g:3772:5: {...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) - { - if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1) ) { - throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1)"); - } - // InternalApplicationConfiguration.g:3772:111: ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) - // InternalApplicationConfiguration.g:3773:6: ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) - { - - getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1); - - // InternalApplicationConfiguration.g:3776:9: ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) - // InternalApplicationConfiguration.g:3776:10: {...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) - { - if ( !((true)) ) { - throw new FailedPredicateException(input, "ruleGenerationTask", "true"); - } - // InternalApplicationConfiguration.g:3776:19: (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) - // InternalApplicationConfiguration.g:3776:20: otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) - { - otherlv_7=(Token)match(input,44,FOLLOW_12); - - newLeafNode(otherlv_7, grammarAccess.getGenerationTaskAccess().getPartialModelKeyword_3_1_0()); - - otherlv_8=(Token)match(input,17,FOLLOW_40); - - newLeafNode(otherlv_8, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_1_1()); - - // InternalApplicationConfiguration.g:3784:9: ( (lv_partialModel_9_0= rulePartialModel ) ) - // InternalApplicationConfiguration.g:3785:10: (lv_partialModel_9_0= rulePartialModel ) - { - // InternalApplicationConfiguration.g:3785:10: (lv_partialModel_9_0= rulePartialModel ) - // InternalApplicationConfiguration.g:3786:11: lv_partialModel_9_0= rulePartialModel - { - - newCompositeNode(grammarAccess.getGenerationTaskAccess().getPartialModelPartialModelParserRuleCall_3_1_2_0()); - - pushFollow(FOLLOW_39); - lv_partialModel_9_0=rulePartialModel(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); - } - set( - current, - "partialModel", - lv_partialModel_9_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PartialModel"); - afterParserOrEnumRuleCall(); - - - } - - - } - - - } - - - } - - - getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); - - - } - - - } - - - } - break; - case 3 : - // InternalApplicationConfiguration.g:3809:4: ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) - { - // InternalApplicationConfiguration.g:3809:4: ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) - // InternalApplicationConfiguration.g:3810:5: {...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) - { - if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2) ) { - throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2)"); - } - // InternalApplicationConfiguration.g:3810:111: ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) - // InternalApplicationConfiguration.g:3811:6: ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) - { - - getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2); - - // InternalApplicationConfiguration.g:3814:9: ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) - // InternalApplicationConfiguration.g:3814:10: {...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) - { - if ( !((true)) ) { - throw new FailedPredicateException(input, "ruleGenerationTask", "true"); - } - // InternalApplicationConfiguration.g:3814:19: (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) - // InternalApplicationConfiguration.g:3814:20: otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) - { - otherlv_10=(Token)match(input,27,FOLLOW_12); - - newLeafNode(otherlv_10, grammarAccess.getGenerationTaskAccess().getConstraintsKeyword_3_2_0()); - - otherlv_11=(Token)match(input,17,FOLLOW_40); - - newLeafNode(otherlv_11, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_2_1()); - - // InternalApplicationConfiguration.g:3822:9: ( (lv_patterns_12_0= ruleGraphPattern ) ) - // InternalApplicationConfiguration.g:3823:10: (lv_patterns_12_0= ruleGraphPattern ) - { - // InternalApplicationConfiguration.g:3823:10: (lv_patterns_12_0= ruleGraphPattern ) - // InternalApplicationConfiguration.g:3824:11: lv_patterns_12_0= ruleGraphPattern - { - - newCompositeNode(grammarAccess.getGenerationTaskAccess().getPatternsGraphPatternParserRuleCall_3_2_2_0()); - - pushFollow(FOLLOW_39); - lv_patterns_12_0=ruleGraphPattern(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); - } - set( - current, - "patterns", - lv_patterns_12_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.GraphPattern"); - afterParserOrEnumRuleCall(); - - - } - - - } - - - } - - - } - - - getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); - - - } - - - } - - - } - break; - case 4 : - // InternalApplicationConfiguration.g:3847:4: ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) - { - // InternalApplicationConfiguration.g:3847:4: ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) - // InternalApplicationConfiguration.g:3848:5: {...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) - { - if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3) ) { - throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3)"); - } - // InternalApplicationConfiguration.g:3848:111: ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) - // InternalApplicationConfiguration.g:3849:6: ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) - { - - getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3); - - // InternalApplicationConfiguration.g:3852:9: ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) - // InternalApplicationConfiguration.g:3852:10: {...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) - { - if ( !((true)) ) { - throw new FailedPredicateException(input, "ruleGenerationTask", "true"); - } - // InternalApplicationConfiguration.g:3852:19: (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) - // InternalApplicationConfiguration.g:3852:20: otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) - { - otherlv_13=(Token)match(input,42,FOLLOW_12); - - newLeafNode(otherlv_13, grammarAccess.getGenerationTaskAccess().getScopeKeyword_3_3_0()); - - otherlv_14=(Token)match(input,17,FOLLOW_40); - - newLeafNode(otherlv_14, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_3_1()); - - // InternalApplicationConfiguration.g:3860:9: ( (lv_scope_15_0= ruleScope ) ) - // InternalApplicationConfiguration.g:3861:10: (lv_scope_15_0= ruleScope ) - { - // InternalApplicationConfiguration.g:3861:10: (lv_scope_15_0= ruleScope ) - // InternalApplicationConfiguration.g:3862:11: lv_scope_15_0= ruleScope - { - - newCompositeNode(grammarAccess.getGenerationTaskAccess().getScopeScopeParserRuleCall_3_3_2_0()); - - pushFollow(FOLLOW_39); - lv_scope_15_0=ruleScope(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); - } - set( - current, - "scope", - lv_scope_15_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Scope"); - afterParserOrEnumRuleCall(); - - - } - - - } - - - } - - - } - - - getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); - - - } - - - } - - - } - break; - case 5 : - // InternalApplicationConfiguration.g:3885:4: ({...}? => ( ({...}? => ( ( (lv_numberSpecified_16_0= 'number' ) ) otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) - { - // InternalApplicationConfiguration.g:3885:4: ({...}? => ( ({...}? => ( ( (lv_numberSpecified_16_0= 'number' ) ) otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) - // InternalApplicationConfiguration.g:3886:5: {...}? => ( ({...}? => ( ( (lv_numberSpecified_16_0= 'number' ) ) otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) - { - if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4) ) { - throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4)"); - } - // InternalApplicationConfiguration.g:3886:111: ( ({...}? => ( ( (lv_numberSpecified_16_0= 'number' ) ) otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) - // InternalApplicationConfiguration.g:3887:6: ({...}? => ( ( (lv_numberSpecified_16_0= 'number' ) ) otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) - { - - getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4); - - // InternalApplicationConfiguration.g:3890:9: ({...}? => ( ( (lv_numberSpecified_16_0= 'number' ) ) otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) - // InternalApplicationConfiguration.g:3890:10: {...}? => ( ( (lv_numberSpecified_16_0= 'number' ) ) otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) - { - if ( !((true)) ) { - throw new FailedPredicateException(input, "ruleGenerationTask", "true"); - } - // InternalApplicationConfiguration.g:3890:19: ( ( (lv_numberSpecified_16_0= 'number' ) ) otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) - // InternalApplicationConfiguration.g:3890:20: ( (lv_numberSpecified_16_0= 'number' ) ) otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) - { - // InternalApplicationConfiguration.g:3890:20: ( (lv_numberSpecified_16_0= 'number' ) ) - // InternalApplicationConfiguration.g:3891:10: (lv_numberSpecified_16_0= 'number' ) - { - // InternalApplicationConfiguration.g:3891:10: (lv_numberSpecified_16_0= 'number' ) - // InternalApplicationConfiguration.g:3892:11: lv_numberSpecified_16_0= 'number' - { - lv_numberSpecified_16_0=(Token)match(input,45,FOLLOW_12); - - newLeafNode(lv_numberSpecified_16_0, grammarAccess.getGenerationTaskAccess().getNumberSpecifiedNumberKeyword_3_4_0_0()); - - - if (current==null) { - current = createModelElement(grammarAccess.getGenerationTaskRule()); - } - setWithLastConsumed(current, "numberSpecified", true, "number"); - - - } - - - } - - otherlv_17=(Token)match(input,17,FOLLOW_7); - - newLeafNode(otherlv_17, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_4_1()); - - // InternalApplicationConfiguration.g:3908:9: ( (lv_number_18_0= RULE_INT ) ) - // InternalApplicationConfiguration.g:3909:10: (lv_number_18_0= RULE_INT ) - { - // InternalApplicationConfiguration.g:3909:10: (lv_number_18_0= RULE_INT ) - // InternalApplicationConfiguration.g:3910:11: lv_number_18_0= RULE_INT - { - lv_number_18_0=(Token)match(input,RULE_INT,FOLLOW_39); - - newLeafNode(lv_number_18_0, grammarAccess.getGenerationTaskAccess().getNumberINTTerminalRuleCall_3_4_2_0()); - - - if (current==null) { - current = createModelElement(grammarAccess.getGenerationTaskRule()); - } - setWithLastConsumed( - current, - "number", - lv_number_18_0, - "org.eclipse.xtext.common.Terminals.INT"); - - - } - - - } - - - } - - - } - - - getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); - - - } - - - } - - - } - break; - case 6 : - // InternalApplicationConfiguration.g:3932:4: ({...}? => ( ({...}? => ( ( (lv_runSpecified_19_0= 'runs' ) ) otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) - { - // InternalApplicationConfiguration.g:3932:4: ({...}? => ( ({...}? => ( ( (lv_runSpecified_19_0= 'runs' ) ) otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) - // InternalApplicationConfiguration.g:3933:5: {...}? => ( ({...}? => ( ( (lv_runSpecified_19_0= 'runs' ) ) otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) - { - if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5) ) { - throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5)"); - } - // InternalApplicationConfiguration.g:3933:111: ( ({...}? => ( ( (lv_runSpecified_19_0= 'runs' ) ) otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) - // InternalApplicationConfiguration.g:3934:6: ({...}? => ( ( (lv_runSpecified_19_0= 'runs' ) ) otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) - { - - getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5); - - // InternalApplicationConfiguration.g:3937:9: ({...}? => ( ( (lv_runSpecified_19_0= 'runs' ) ) otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) - // InternalApplicationConfiguration.g:3937:10: {...}? => ( ( (lv_runSpecified_19_0= 'runs' ) ) otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) - { - if ( !((true)) ) { - throw new FailedPredicateException(input, "ruleGenerationTask", "true"); - } - // InternalApplicationConfiguration.g:3937:19: ( ( (lv_runSpecified_19_0= 'runs' ) ) otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) - // InternalApplicationConfiguration.g:3937:20: ( (lv_runSpecified_19_0= 'runs' ) ) otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) - { - // InternalApplicationConfiguration.g:3937:20: ( (lv_runSpecified_19_0= 'runs' ) ) - // InternalApplicationConfiguration.g:3938:10: (lv_runSpecified_19_0= 'runs' ) - { - // InternalApplicationConfiguration.g:3938:10: (lv_runSpecified_19_0= 'runs' ) - // InternalApplicationConfiguration.g:3939:11: lv_runSpecified_19_0= 'runs' - { - lv_runSpecified_19_0=(Token)match(input,46,FOLLOW_12); - - newLeafNode(lv_runSpecified_19_0, grammarAccess.getGenerationTaskAccess().getRunSpecifiedRunsKeyword_3_5_0_0()); - - - if (current==null) { - current = createModelElement(grammarAccess.getGenerationTaskRule()); - } - setWithLastConsumed(current, "runSpecified", true, "runs"); - - - } - - - } - - otherlv_20=(Token)match(input,17,FOLLOW_7); - - newLeafNode(otherlv_20, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_5_1()); - - // InternalApplicationConfiguration.g:3955:9: ( (lv_runs_21_0= RULE_INT ) ) - // InternalApplicationConfiguration.g:3956:10: (lv_runs_21_0= RULE_INT ) - { - // InternalApplicationConfiguration.g:3956:10: (lv_runs_21_0= RULE_INT ) - // InternalApplicationConfiguration.g:3957:11: lv_runs_21_0= RULE_INT - { - lv_runs_21_0=(Token)match(input,RULE_INT,FOLLOW_39); - - newLeafNode(lv_runs_21_0, grammarAccess.getGenerationTaskAccess().getRunsINTTerminalRuleCall_3_5_2_0()); - - - if (current==null) { - current = createModelElement(grammarAccess.getGenerationTaskRule()); - } - setWithLastConsumed( - current, - "runs", - lv_runs_21_0, - "org.eclipse.xtext.common.Terminals.INT"); - - - } - - - } - - - } - - - } - - - getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); - - - } - - - } - - - } - break; - case 7 : - // InternalApplicationConfiguration.g:3979:4: ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) - { - // InternalApplicationConfiguration.g:3979:4: ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) - // InternalApplicationConfiguration.g:3980:5: {...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) - { - if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6) ) { - throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6)"); - } - // InternalApplicationConfiguration.g:3980:111: ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) - // InternalApplicationConfiguration.g:3981:6: ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) - { - - getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6); - - // InternalApplicationConfiguration.g:3984:9: ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) - // InternalApplicationConfiguration.g:3984:10: {...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) - { - if ( !((true)) ) { - throw new FailedPredicateException(input, "ruleGenerationTask", "true"); - } - // InternalApplicationConfiguration.g:3984:19: (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) - // InternalApplicationConfiguration.g:3984:20: otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) - { - otherlv_22=(Token)match(input,47,FOLLOW_12); - - newLeafNode(otherlv_22, grammarAccess.getGenerationTaskAccess().getSolverKeyword_3_6_0()); - - otherlv_23=(Token)match(input,17,FOLLOW_41); - - newLeafNode(otherlv_23, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_6_1()); - - // InternalApplicationConfiguration.g:3992:9: ( (lv_solver_24_0= ruleSolver ) ) - // InternalApplicationConfiguration.g:3993:10: (lv_solver_24_0= ruleSolver ) - { - // InternalApplicationConfiguration.g:3993:10: (lv_solver_24_0= ruleSolver ) - // InternalApplicationConfiguration.g:3994:11: lv_solver_24_0= ruleSolver - { - - newCompositeNode(grammarAccess.getGenerationTaskAccess().getSolverSolverEnumRuleCall_3_6_2_0()); - - pushFollow(FOLLOW_39); - lv_solver_24_0=ruleSolver(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); - } - set( - current, - "solver", - lv_solver_24_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Solver"); - afterParserOrEnumRuleCall(); - - - } - - - } - - - } - - - } - - - getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); - - - } - - - } - - - } - break; - case 8 : - // InternalApplicationConfiguration.g:4017:4: ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) - { - // InternalApplicationConfiguration.g:4017:4: ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) - // InternalApplicationConfiguration.g:4018:5: {...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) - { - if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7) ) { - throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7)"); - } - // InternalApplicationConfiguration.g:4018:111: ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) - // InternalApplicationConfiguration.g:4019:6: ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) - { - - getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7); - - // InternalApplicationConfiguration.g:4022:9: ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) - // InternalApplicationConfiguration.g:4022:10: {...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) - { - if ( !((true)) ) { - throw new FailedPredicateException(input, "ruleGenerationTask", "true"); - } - // InternalApplicationConfiguration.g:4022:19: (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) - // InternalApplicationConfiguration.g:4022:20: otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) - { - otherlv_25=(Token)match(input,28,FOLLOW_12); - - newLeafNode(otherlv_25, grammarAccess.getGenerationTaskAccess().getConfigKeyword_3_7_0()); - - otherlv_26=(Token)match(input,17,FOLLOW_40); - - newLeafNode(otherlv_26, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_7_1()); - - // InternalApplicationConfiguration.g:4030:9: ( (lv_config_27_0= ruleConfig ) ) - // InternalApplicationConfiguration.g:4031:10: (lv_config_27_0= ruleConfig ) - { - // InternalApplicationConfiguration.g:4031:10: (lv_config_27_0= ruleConfig ) - // InternalApplicationConfiguration.g:4032:11: lv_config_27_0= ruleConfig - { - - newCompositeNode(grammarAccess.getGenerationTaskAccess().getConfigConfigParserRuleCall_3_7_2_0()); - - pushFollow(FOLLOW_39); - lv_config_27_0=ruleConfig(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); - } - set( - current, - "config", - lv_config_27_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Config"); - afterParserOrEnumRuleCall(); - - - } - - - } - - - } - - - } - - - getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); - - - } - - - } - - - } - break; - case 9 : - // InternalApplicationConfiguration.g:4055:4: ({...}? => ( ({...}? => (otherlv_28= 'debug' otherlv_29= '=' ( (lv_debugFolder_30_0= ruleFile ) ) ) ) ) ) - { - // InternalApplicationConfiguration.g:4055:4: ({...}? => ( ({...}? => (otherlv_28= 'debug' otherlv_29= '=' ( (lv_debugFolder_30_0= ruleFile ) ) ) ) ) ) - // InternalApplicationConfiguration.g:4056:5: {...}? => ( ({...}? => (otherlv_28= 'debug' otherlv_29= '=' ( (lv_debugFolder_30_0= ruleFile ) ) ) ) ) - { - if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8) ) { - throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8)"); - } - // InternalApplicationConfiguration.g:4056:111: ( ({...}? => (otherlv_28= 'debug' otherlv_29= '=' ( (lv_debugFolder_30_0= ruleFile ) ) ) ) ) - // InternalApplicationConfiguration.g:4057:6: ({...}? => (otherlv_28= 'debug' otherlv_29= '=' ( (lv_debugFolder_30_0= ruleFile ) ) ) ) - { - - getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8); - - // InternalApplicationConfiguration.g:4060:9: ({...}? => (otherlv_28= 'debug' otherlv_29= '=' ( (lv_debugFolder_30_0= ruleFile ) ) ) ) - // InternalApplicationConfiguration.g:4060:10: {...}? => (otherlv_28= 'debug' otherlv_29= '=' ( (lv_debugFolder_30_0= ruleFile ) ) ) - { - if ( !((true)) ) { - throw new FailedPredicateException(input, "ruleGenerationTask", "true"); - } - // InternalApplicationConfiguration.g:4060:19: (otherlv_28= 'debug' otherlv_29= '=' ( (lv_debugFolder_30_0= ruleFile ) ) ) - // InternalApplicationConfiguration.g:4060:20: otherlv_28= 'debug' otherlv_29= '=' ( (lv_debugFolder_30_0= ruleFile ) ) - { - otherlv_28=(Token)match(input,48,FOLLOW_12); - - newLeafNode(otherlv_28, grammarAccess.getGenerationTaskAccess().getDebugKeyword_3_8_0()); - - otherlv_29=(Token)match(input,17,FOLLOW_20); - - newLeafNode(otherlv_29, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_8_1()); - - // InternalApplicationConfiguration.g:4068:9: ( (lv_debugFolder_30_0= ruleFile ) ) - // InternalApplicationConfiguration.g:4069:10: (lv_debugFolder_30_0= ruleFile ) - { - // InternalApplicationConfiguration.g:4069:10: (lv_debugFolder_30_0= ruleFile ) - // InternalApplicationConfiguration.g:4070:11: lv_debugFolder_30_0= ruleFile - { - - newCompositeNode(grammarAccess.getGenerationTaskAccess().getDebugFolderFileParserRuleCall_3_8_2_0()); - - pushFollow(FOLLOW_39); - lv_debugFolder_30_0=ruleFile(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); - } - set( - current, - "debugFolder", - lv_debugFolder_30_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File"); - afterParserOrEnumRuleCall(); - - - } - - - } - - - } - - - } - - - getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); - - - } - - - } - - - } - break; - case 10 : - // InternalApplicationConfiguration.g:4093:4: ({...}? => ( ({...}? => (otherlv_31= 'log' otherlv_32= '=' ( (lv_targetLogFile_33_0= ruleFile ) ) ) ) ) ) - { - // InternalApplicationConfiguration.g:4093:4: ({...}? => ( ({...}? => (otherlv_31= 'log' otherlv_32= '=' ( (lv_targetLogFile_33_0= ruleFile ) ) ) ) ) ) - // InternalApplicationConfiguration.g:4094:5: {...}? => ( ({...}? => (otherlv_31= 'log' otherlv_32= '=' ( (lv_targetLogFile_33_0= ruleFile ) ) ) ) ) - { - if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9) ) { - throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9)"); - } - // InternalApplicationConfiguration.g:4094:111: ( ({...}? => (otherlv_31= 'log' otherlv_32= '=' ( (lv_targetLogFile_33_0= ruleFile ) ) ) ) ) - // InternalApplicationConfiguration.g:4095:6: ({...}? => (otherlv_31= 'log' otherlv_32= '=' ( (lv_targetLogFile_33_0= ruleFile ) ) ) ) - { - - getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9); - - // InternalApplicationConfiguration.g:4098:9: ({...}? => (otherlv_31= 'log' otherlv_32= '=' ( (lv_targetLogFile_33_0= ruleFile ) ) ) ) - // InternalApplicationConfiguration.g:4098:10: {...}? => (otherlv_31= 'log' otherlv_32= '=' ( (lv_targetLogFile_33_0= ruleFile ) ) ) - { - if ( !((true)) ) { - throw new FailedPredicateException(input, "ruleGenerationTask", "true"); - } - // InternalApplicationConfiguration.g:4098:19: (otherlv_31= 'log' otherlv_32= '=' ( (lv_targetLogFile_33_0= ruleFile ) ) ) - // InternalApplicationConfiguration.g:4098:20: otherlv_31= 'log' otherlv_32= '=' ( (lv_targetLogFile_33_0= ruleFile ) ) - { - otherlv_31=(Token)match(input,49,FOLLOW_12); - - newLeafNode(otherlv_31, grammarAccess.getGenerationTaskAccess().getLogKeyword_3_9_0()); - - otherlv_32=(Token)match(input,17,FOLLOW_20); - - newLeafNode(otherlv_32, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_9_1()); - - // InternalApplicationConfiguration.g:4106:9: ( (lv_targetLogFile_33_0= ruleFile ) ) - // InternalApplicationConfiguration.g:4107:10: (lv_targetLogFile_33_0= ruleFile ) - { - // InternalApplicationConfiguration.g:4107:10: (lv_targetLogFile_33_0= ruleFile ) - // InternalApplicationConfiguration.g:4108:11: lv_targetLogFile_33_0= ruleFile - { - - newCompositeNode(grammarAccess.getGenerationTaskAccess().getTargetLogFileFileParserRuleCall_3_9_2_0()); - - pushFollow(FOLLOW_39); - lv_targetLogFile_33_0=ruleFile(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); - } - set( - current, - "targetLogFile", - lv_targetLogFile_33_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File"); - afterParserOrEnumRuleCall(); - - - } - - - } - - - } - - - } - - - getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); - - - } - - - } - - - } - break; - case 11 : - // InternalApplicationConfiguration.g:4131:4: ({...}? => ( ({...}? => (otherlv_34= 'statistics' otherlv_35= '=' ( (lv_targetStatisticsFile_36_0= ruleFile ) ) ) ) ) ) - { - // InternalApplicationConfiguration.g:4131:4: ({...}? => ( ({...}? => (otherlv_34= 'statistics' otherlv_35= '=' ( (lv_targetStatisticsFile_36_0= ruleFile ) ) ) ) ) ) - // InternalApplicationConfiguration.g:4132:5: {...}? => ( ({...}? => (otherlv_34= 'statistics' otherlv_35= '=' ( (lv_targetStatisticsFile_36_0= ruleFile ) ) ) ) ) - { - if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10) ) { - throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10)"); - } - // InternalApplicationConfiguration.g:4132:112: ( ({...}? => (otherlv_34= 'statistics' otherlv_35= '=' ( (lv_targetStatisticsFile_36_0= ruleFile ) ) ) ) ) - // InternalApplicationConfiguration.g:4133:6: ({...}? => (otherlv_34= 'statistics' otherlv_35= '=' ( (lv_targetStatisticsFile_36_0= ruleFile ) ) ) ) - { - - getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10); - - // InternalApplicationConfiguration.g:4136:9: ({...}? => (otherlv_34= 'statistics' otherlv_35= '=' ( (lv_targetStatisticsFile_36_0= ruleFile ) ) ) ) - // InternalApplicationConfiguration.g:4136:10: {...}? => (otherlv_34= 'statistics' otherlv_35= '=' ( (lv_targetStatisticsFile_36_0= ruleFile ) ) ) - { - if ( !((true)) ) { - throw new FailedPredicateException(input, "ruleGenerationTask", "true"); - } - // InternalApplicationConfiguration.g:4136:19: (otherlv_34= 'statistics' otherlv_35= '=' ( (lv_targetStatisticsFile_36_0= ruleFile ) ) ) - // InternalApplicationConfiguration.g:4136:20: otherlv_34= 'statistics' otherlv_35= '=' ( (lv_targetStatisticsFile_36_0= ruleFile ) ) - { - otherlv_34=(Token)match(input,50,FOLLOW_12); - - newLeafNode(otherlv_34, grammarAccess.getGenerationTaskAccess().getStatisticsKeyword_3_10_0()); - - otherlv_35=(Token)match(input,17,FOLLOW_20); - - newLeafNode(otherlv_35, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_10_1()); - - // InternalApplicationConfiguration.g:4144:9: ( (lv_targetStatisticsFile_36_0= ruleFile ) ) - // InternalApplicationConfiguration.g:4145:10: (lv_targetStatisticsFile_36_0= ruleFile ) - { - // InternalApplicationConfiguration.g:4145:10: (lv_targetStatisticsFile_36_0= ruleFile ) - // InternalApplicationConfiguration.g:4146:11: lv_targetStatisticsFile_36_0= ruleFile - { - - newCompositeNode(grammarAccess.getGenerationTaskAccess().getTargetStatisticsFileFileParserRuleCall_3_10_2_0()); - - pushFollow(FOLLOW_39); - lv_targetStatisticsFile_36_0=ruleFile(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); - } - set( - current, - "targetStatisticsFile", - lv_targetStatisticsFile_36_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File"); - afterParserOrEnumRuleCall(); - - - } - - - } - - - } - - - } - - - getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); - - - } - - - } - - - } - break; - case 12 : - // InternalApplicationConfiguration.g:4169:4: ({...}? => ( ({...}? => (otherlv_37= 'output' otherlv_38= '=' ( (lv_tagetFolder_39_0= ruleFile ) ) ) ) ) ) - { - // InternalApplicationConfiguration.g:4169:4: ({...}? => ( ({...}? => (otherlv_37= 'output' otherlv_38= '=' ( (lv_tagetFolder_39_0= ruleFile ) ) ) ) ) ) - // InternalApplicationConfiguration.g:4170:5: {...}? => ( ({...}? => (otherlv_37= 'output' otherlv_38= '=' ( (lv_tagetFolder_39_0= ruleFile ) ) ) ) ) - { - if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11) ) { - throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11)"); - } - // InternalApplicationConfiguration.g:4170:112: ( ({...}? => (otherlv_37= 'output' otherlv_38= '=' ( (lv_tagetFolder_39_0= ruleFile ) ) ) ) ) - // InternalApplicationConfiguration.g:4171:6: ({...}? => (otherlv_37= 'output' otherlv_38= '=' ( (lv_tagetFolder_39_0= ruleFile ) ) ) ) - { - - getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11); - - // InternalApplicationConfiguration.g:4174:9: ({...}? => (otherlv_37= 'output' otherlv_38= '=' ( (lv_tagetFolder_39_0= ruleFile ) ) ) ) - // InternalApplicationConfiguration.g:4174:10: {...}? => (otherlv_37= 'output' otherlv_38= '=' ( (lv_tagetFolder_39_0= ruleFile ) ) ) - { - if ( !((true)) ) { - throw new FailedPredicateException(input, "ruleGenerationTask", "true"); - } - // InternalApplicationConfiguration.g:4174:19: (otherlv_37= 'output' otherlv_38= '=' ( (lv_tagetFolder_39_0= ruleFile ) ) ) - // InternalApplicationConfiguration.g:4174:20: otherlv_37= 'output' otherlv_38= '=' ( (lv_tagetFolder_39_0= ruleFile ) ) - { - otherlv_37=(Token)match(input,51,FOLLOW_12); - - newLeafNode(otherlv_37, grammarAccess.getGenerationTaskAccess().getOutputKeyword_3_11_0()); - - otherlv_38=(Token)match(input,17,FOLLOW_20); - - newLeafNode(otherlv_38, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_11_1()); - - // InternalApplicationConfiguration.g:4182:9: ( (lv_tagetFolder_39_0= ruleFile ) ) - // InternalApplicationConfiguration.g:4183:10: (lv_tagetFolder_39_0= ruleFile ) - { - // InternalApplicationConfiguration.g:4183:10: (lv_tagetFolder_39_0= ruleFile ) - // InternalApplicationConfiguration.g:4184:11: lv_tagetFolder_39_0= ruleFile - { - - newCompositeNode(grammarAccess.getGenerationTaskAccess().getTagetFolderFileParserRuleCall_3_11_2_0()); - - pushFollow(FOLLOW_39); - lv_tagetFolder_39_0=ruleFile(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); - } - set( - current, - "tagetFolder", - lv_tagetFolder_39_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File"); - afterParserOrEnumRuleCall(); - - - } - - - } - - - } - - - } - - - getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); - - - } - - - } - - - } - break; - - default : - break loop54; - } - } while (true); - - - } - - - } - - - getUnorderedGroupHelper().leave(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); - - - } - - otherlv_40=(Token)match(input,20,FOLLOW_2); - - newLeafNode(otherlv_40, grammarAccess.getGenerationTaskAccess().getRightCurlyBracketKeyword_4()); - - - } - - - } - - - leaveRule(); - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleGenerationTask" - - - // $ANTLR start "ruleDocumentLevelSpecification" - // InternalApplicationConfiguration.g:4222:1: ruleDocumentLevelSpecification returns [Enumerator current=null] : ( (enumLiteral_0= 'none' ) | (enumLiteral_1= 'normal' ) | (enumLiteral_2= 'full' ) ) ; - public final Enumerator ruleDocumentLevelSpecification() throws RecognitionException { - Enumerator current = null; - - Token enumLiteral_0=null; - Token enumLiteral_1=null; - Token enumLiteral_2=null; - - - enterRule(); - - try { - // InternalApplicationConfiguration.g:4228:2: ( ( (enumLiteral_0= 'none' ) | (enumLiteral_1= 'normal' ) | (enumLiteral_2= 'full' ) ) ) - // InternalApplicationConfiguration.g:4229:2: ( (enumLiteral_0= 'none' ) | (enumLiteral_1= 'normal' ) | (enumLiteral_2= 'full' ) ) - { - // InternalApplicationConfiguration.g:4229:2: ( (enumLiteral_0= 'none' ) | (enumLiteral_1= 'normal' ) | (enumLiteral_2= 'full' ) ) - int alt55=3; - switch ( input.LA(1) ) { - case 52: - { - alt55=1; - } - break; - case 53: - { - alt55=2; - } - break; - case 54: - { - alt55=3; - } - break; - default: - NoViableAltException nvae = - new NoViableAltException("", 55, 0, input); - - throw nvae; - } - - switch (alt55) { - case 1 : - // InternalApplicationConfiguration.g:4230:3: (enumLiteral_0= 'none' ) - { - // InternalApplicationConfiguration.g:4230:3: (enumLiteral_0= 'none' ) - // InternalApplicationConfiguration.g:4231:4: enumLiteral_0= 'none' - { - enumLiteral_0=(Token)match(input,52,FOLLOW_2); - - current = grammarAccess.getDocumentLevelSpecificationAccess().getNoneEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); - newLeafNode(enumLiteral_0, grammarAccess.getDocumentLevelSpecificationAccess().getNoneEnumLiteralDeclaration_0()); - - - } - - - } - break; - case 2 : - // InternalApplicationConfiguration.g:4238:3: (enumLiteral_1= 'normal' ) - { - // InternalApplicationConfiguration.g:4238:3: (enumLiteral_1= 'normal' ) - // InternalApplicationConfiguration.g:4239:4: enumLiteral_1= 'normal' - { - enumLiteral_1=(Token)match(input,53,FOLLOW_2); - - current = grammarAccess.getDocumentLevelSpecificationAccess().getNormalEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); - newLeafNode(enumLiteral_1, grammarAccess.getDocumentLevelSpecificationAccess().getNormalEnumLiteralDeclaration_1()); - - - } - - - } - break; - case 3 : - // InternalApplicationConfiguration.g:4246:3: (enumLiteral_2= 'full' ) - { - // InternalApplicationConfiguration.g:4246:3: (enumLiteral_2= 'full' ) - // InternalApplicationConfiguration.g:4247:4: enumLiteral_2= 'full' - { - enumLiteral_2=(Token)match(input,54,FOLLOW_2); - - current = grammarAccess.getDocumentLevelSpecificationAccess().getFullEnumLiteralDeclaration_2().getEnumLiteral().getInstance(); - newLeafNode(enumLiteral_2, grammarAccess.getDocumentLevelSpecificationAccess().getFullEnumLiteralDeclaration_2()); - - - } - - - } - break; - - } - - - } - - - leaveRule(); - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleDocumentLevelSpecification" - - - // $ANTLR start "ruleSolver" - // InternalApplicationConfiguration.g:4257:1: ruleSolver returns [Enumerator current=null] : ( (enumLiteral_0= 'SMTSolver' ) | (enumLiteral_1= 'AlloySolver' ) | (enumLiteral_2= 'ViatraSolver' ) ) ; - public final Enumerator ruleSolver() throws RecognitionException { - Enumerator current = null; - - Token enumLiteral_0=null; - Token enumLiteral_1=null; - Token enumLiteral_2=null; - - - enterRule(); - - try { - // InternalApplicationConfiguration.g:4263:2: ( ( (enumLiteral_0= 'SMTSolver' ) | (enumLiteral_1= 'AlloySolver' ) | (enumLiteral_2= 'ViatraSolver' ) ) ) - // InternalApplicationConfiguration.g:4264:2: ( (enumLiteral_0= 'SMTSolver' ) | (enumLiteral_1= 'AlloySolver' ) | (enumLiteral_2= 'ViatraSolver' ) ) - { - // InternalApplicationConfiguration.g:4264:2: ( (enumLiteral_0= 'SMTSolver' ) | (enumLiteral_1= 'AlloySolver' ) | (enumLiteral_2= 'ViatraSolver' ) ) - int alt56=3; - switch ( input.LA(1) ) { - case 55: - { - alt56=1; - } - break; - case 56: - { - alt56=2; - } - break; - case 57: - { - alt56=3; - } - break; - default: - NoViableAltException nvae = - new NoViableAltException("", 56, 0, input); - - throw nvae; - } - - switch (alt56) { - case 1 : - // InternalApplicationConfiguration.g:4265:3: (enumLiteral_0= 'SMTSolver' ) - { - // InternalApplicationConfiguration.g:4265:3: (enumLiteral_0= 'SMTSolver' ) - // InternalApplicationConfiguration.g:4266:4: enumLiteral_0= 'SMTSolver' - { - enumLiteral_0=(Token)match(input,55,FOLLOW_2); - - current = grammarAccess.getSolverAccess().getSMTSolverEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); - newLeafNode(enumLiteral_0, grammarAccess.getSolverAccess().getSMTSolverEnumLiteralDeclaration_0()); - - - } - - - } - break; - case 2 : - // InternalApplicationConfiguration.g:4273:3: (enumLiteral_1= 'AlloySolver' ) - { - // InternalApplicationConfiguration.g:4273:3: (enumLiteral_1= 'AlloySolver' ) - // InternalApplicationConfiguration.g:4274:4: enumLiteral_1= 'AlloySolver' - { - enumLiteral_1=(Token)match(input,56,FOLLOW_2); - - current = grammarAccess.getSolverAccess().getAlloySolverEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); - newLeafNode(enumLiteral_1, grammarAccess.getSolverAccess().getAlloySolverEnumLiteralDeclaration_1()); - - - } - - - } - break; - case 3 : - // InternalApplicationConfiguration.g:4281:3: (enumLiteral_2= 'ViatraSolver' ) - { - // InternalApplicationConfiguration.g:4281:3: (enumLiteral_2= 'ViatraSolver' ) - // InternalApplicationConfiguration.g:4282:4: enumLiteral_2= 'ViatraSolver' - { - enumLiteral_2=(Token)match(input,57,FOLLOW_2); - - current = grammarAccess.getSolverAccess().getViatraSolverEnumLiteralDeclaration_2().getEnumLiteral().getInstance(); - newLeafNode(enumLiteral_2, grammarAccess.getSolverAccess().getViatraSolverEnumLiteralDeclaration_2()); - - - } - - - } - break; - - } - - - } - - - leaveRule(); - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleSolver" - - // Delegated rules - - - protected DFA54 dfa54 = new DFA54(this); - static final String dfa_1s = "\16\uffff"; - static final String dfa_2s = "\1\24\15\uffff"; - static final String dfa_3s = "\1\63\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\2\uffff\1\4\1\11\15\uffff\1\5\1\uffff\1\3\1\6\1\7\1\10\1\12\1\13\1\14\1\15", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "" - }; - - static final short[] dfa_1 = DFA.unpackEncodedString(dfa_1s); - static final char[] dfa_2 = DFA.unpackEncodedStringToUnsignedChars(dfa_2s); - static final char[] dfa_3 = DFA.unpackEncodedStringToUnsignedChars(dfa_3s); - static final short[] dfa_4 = DFA.unpackEncodedString(dfa_4s); - static final short[] dfa_5 = DFA.unpackEncodedString(dfa_5s); - static final short[][] dfa_6 = unpackEncodedStringArray(dfa_6s); - - class DFA54 extends DFA { - - public DFA54(BaseRecognizer recognizer) { - this.recognizer = recognizer; - this.decisionNumber = 54; - this.eot = dfa_1; - this.eof = dfa_1; - this.min = dfa_2; - this.max = dfa_3; - this.accept = dfa_4; - this.special = dfa_5; - this.transition = dfa_6; - } - public String getDescription() { - return "()* loopback of 3732:6: ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_16_0= 'number' ) ) otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_19_0= '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= 'debug' otherlv_29= '=' ( (lv_debugFolder_30_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'log' otherlv_32= '=' ( (lv_targetLogFile_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'statistics' otherlv_35= '=' ( (lv_targetStatisticsFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'output' otherlv_38= '=' ( (lv_tagetFolder_39_0= ruleFile ) ) ) ) ) ) )*"; - } - public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { - TokenStream input = (TokenStream)_input; - int _s = s; - switch ( s ) { - case 0 : - int LA54_0 = input.LA(1); - - - int index54_0 = input.index(); - input.rewind(); - s = -1; - if ( (LA54_0==20) ) {s = 1;} - - else if ( LA54_0 == 24 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0) ) {s = 2;} - - else if ( LA54_0 == 44 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1) ) {s = 3;} - - else if ( LA54_0 == 27 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2) ) {s = 4;} - - else if ( LA54_0 == 42 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3) ) {s = 5;} - - else if ( LA54_0 == 45 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4) ) {s = 6;} - - else if ( LA54_0 == 46 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5) ) {s = 7;} - - else if ( LA54_0 == 47 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6) ) {s = 8;} - - else if ( LA54_0 == 28 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7) ) {s = 9;} - - else if ( LA54_0 == 48 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8) ) {s = 10;} - - else if ( LA54_0 == 49 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9) ) {s = 11;} - - else if ( LA54_0 == 50 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10) ) {s = 12;} - - else if ( LA54_0 == 51 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11) ) {s = 13;} - - - input.seek(index54_0); - if ( s>=0 ) return s; - break; - } - NoViableAltException nvae = - new NoViableAltException(getDescription(), 54, _s, input); - error(nvae); - throw nvae; - } - } - - - public static final BitSet FOLLOW_1 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_2 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_3 = new BitSet(new long[]{0x00000C001D012002L}); - public static final BitSet FOLLOW_4 = new BitSet(new long[]{0x00000C001D010002L}); - 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[]{0x0000000000000020L}); - public static final BitSet FOLLOW_8 = new BitSet(new long[]{0x0000000000000800L}); - public static final BitSet FOLLOW_9 = new BitSet(new long[]{0x0000000000004000L}); - public static final BitSet FOLLOW_10 = new BitSet(new long[]{0x0000000000000040L}); - public static final BitSet FOLLOW_11 = new BitSet(new long[]{0x0000000000008000L}); - public static final BitSet FOLLOW_12 = new BitSet(new long[]{0x0000000000020000L}); - public static final BitSet FOLLOW_13 = new BitSet(new long[]{0x0000000000200010L}); - public static final BitSet FOLLOW_14 = new BitSet(new long[]{0x0000000000180000L}); - public static final BitSet FOLLOW_15 = new BitSet(new long[]{0x0000000000400002L}); - public static final BitSet FOLLOW_16 = new BitSet(new long[]{0x0000000000040000L}); - public static final BitSet FOLLOW_17 = new BitSet(new long[]{0x0000000000800000L}); - public static final BitSet FOLLOW_18 = new BitSet(new long[]{0x0000000002000050L}); - public static final BitSet FOLLOW_19 = new BitSet(new long[]{0x0000000000100000L}); - public static final BitSet FOLLOW_20 = new BitSet(new long[]{0x0000000000000050L}); - public static final BitSet FOLLOW_21 = new BitSet(new long[]{0x00000000E0100040L}); - public static final BitSet FOLLOW_22 = new BitSet(new long[]{0x00000000E0000040L}); - public static final BitSet FOLLOW_23 = new BitSet(new long[]{0x0070000000000000L}); - public static final BitSet FOLLOW_24 = new BitSet(new long[]{0x0000000100100000L}); - public static final BitSet FOLLOW_25 = new BitSet(new long[]{0x0000000100000000L}); - public static final BitSet FOLLOW_26 = new BitSet(new long[]{0x0000000400000000L}); - public static final BitSet FOLLOW_27 = new BitSet(new long[]{0x0000000200020000L}); - public static final BitSet FOLLOW_28 = new BitSet(new long[]{0x0000010000000020L}); - public static final BitSet FOLLOW_29 = new BitSet(new long[]{0x0000001000000000L}); - public static final BitSet FOLLOW_30 = new BitSet(new long[]{0x0000002000000000L}); - public static final BitSet FOLLOW_31 = new BitSet(new long[]{0x0000010000040020L}); - public static final BitSet FOLLOW_32 = new BitSet(new long[]{0x0000004000000000L}); - public static final BitSet FOLLOW_33 = new BitSet(new long[]{0x0000008000000000L}); - public static final BitSet FOLLOW_34 = new BitSet(new long[]{0x0000000800000000L}); - public static final BitSet FOLLOW_35 = new BitSet(new long[]{0x0000020000000000L}); - public static final BitSet FOLLOW_36 = new BitSet(new long[]{0x0000000000101020L}); - public static final BitSet FOLLOW_37 = new BitSet(new long[]{0x0000000000001020L}); - public static final BitSet FOLLOW_38 = new BitSet(new long[]{0x0000000000100040L}); - public static final BitSet FOLLOW_39 = new BitSet(new long[]{0x000FF40019100000L}); - public static final BitSet FOLLOW_40 = new BitSet(new long[]{0x0000000000040010L}); - public static final BitSet FOLLOW_41 = new BitSet(new long[]{0x0380000000000000L}); - -} +package hu.bme.mit.inf.dslreasoner.application.parser.antlr.internal; + +import org.eclipse.xtext.*; +import org.eclipse.xtext.parser.*; +import org.eclipse.xtext.parser.impl.*; +import org.eclipse.emf.ecore.util.EcoreUtil; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.common.util.Enumerator; +import org.eclipse.xtext.parser.antlr.AbstractInternalAntlrParser; +import org.eclipse.xtext.parser.antlr.XtextTokenStream; +import org.eclipse.xtext.parser.antlr.XtextTokenStream.HiddenTokens; +import org.eclipse.xtext.parser.antlr.AntlrDatatypeRuleToken; +import hu.bme.mit.inf.dslreasoner.application.services.ApplicationConfigurationGrammarAccess; + + + +import org.antlr.runtime.*; +import java.util.Stack; +import java.util.List; +import java.util.ArrayList; + +@SuppressWarnings("all") +public class InternalApplicationConfigurationParser extends AbstractInternalAntlrParser { + public static final String[] tokenNames = new String[] { + "", "", "", "", "RULE_ID", "RULE_INT", "RULE_STRING", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "'.'", "'-'", "'import'", "'epackage'", "'viatra'", "'reliability'", "'file'", "'='", "'{'", "','", "'}'", "'package'", "'excluding'", "'::'", "'metamodel'", "'folder'", "'models'", "'constraints'", "'objectives'", "'config'", "'log-level'", "'runtime'", "'memory'", "'#'", "'+='", "'<'", "'>'", "'node'", "'int'", "'real'", "'string'", "'*'", "'..'", "'scope'", "'generate'", "'partial-model'", "'number'", "'runs'", "'solver'", "'debug'", "'log'", "'statistics'", "'output'", "'minimize'", "'maximize'", "'<='", "'>='", "'none'", "'normal'", "'full'", "'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__59=59; + public static final int T__16=16; + public static final int T__17=17; + public static final int T__18=18; + public static final int T__11=11; + public static final int T__55=55; + public static final int T__12=12; + public static final int T__56=56; + public static final int T__13=13; + public static final int T__57=57; + public static final int T__14=14; + public static final int T__58=58; + public static final int T__51=51; + public static final int T__52=52; + public static final int T__53=53; + public static final int T__54=54; + public static final int T__60=60; + public static final int T__61=61; + public static final int RULE_ID=4; + public static final int T__26=26; + public static final int T__27=27; + public static final int T__28=28; + public static final int RULE_INT=5; + public static final int T__29=29; + public static final int T__22=22; + public static final int RULE_ML_COMMENT=7; + public static final int T__23=23; + public static final int T__24=24; + public static final int T__25=25; + public static final int T__62=62; + public static final int T__63=63; + public static final int T__20=20; + public static final int T__21=21; + public static final int RULE_STRING=6; + public static final int RULE_SL_COMMENT=8; + public static final int T__37=37; + public static final int T__38=38; + public static final int T__39=39; + public static final int T__33=33; + public static final int T__34=34; + public static final int T__35=35; + public static final int T__36=36; + public static final int EOF=-1; + public static final int T__30=30; + public static final int T__31=31; + public static final int T__32=32; + public static final int RULE_WS=9; + public static final int RULE_ANY_OTHER=10; + public static final int T__48=48; + public static final int T__49=49; + public static final int T__44=44; + public static final int T__45=45; + public static final int T__46=46; + public static final int T__47=47; + public static final int T__40=40; + public static final int T__41=41; + public static final int T__42=42; + public static final int T__43=43; + + // delegates + // delegators + + + public InternalApplicationConfigurationParser(TokenStream input) { + this(input, new RecognizerSharedState()); + } + public InternalApplicationConfigurationParser(TokenStream input, RecognizerSharedState state) { + super(input, state); + + } + + + public String[] getTokenNames() { return InternalApplicationConfigurationParser.tokenNames; } + public String getGrammarFileName() { return "InternalApplicationConfiguration.g"; } + + + + private ApplicationConfigurationGrammarAccess grammarAccess; + + public InternalApplicationConfigurationParser(TokenStream input, ApplicationConfigurationGrammarAccess grammarAccess) { + this(input); + this.grammarAccess = grammarAccess; + registerRules(grammarAccess.getGrammar()); + } + + @Override + protected String getFirstRuleName() { + return "ConfigurationScript"; + } + + @Override + protected ApplicationConfigurationGrammarAccess getGrammarAccess() { + return grammarAccess; + } + + + + + // $ANTLR start "entryRuleConfigurationScript" + // InternalApplicationConfiguration.g:65:1: entryRuleConfigurationScript returns [EObject current=null] : iv_ruleConfigurationScript= ruleConfigurationScript EOF ; + public final EObject entryRuleConfigurationScript() throws RecognitionException { + EObject current = null; + + EObject iv_ruleConfigurationScript = null; + + + try { + // InternalApplicationConfiguration.g:65:60: (iv_ruleConfigurationScript= ruleConfigurationScript EOF ) + // InternalApplicationConfiguration.g:66:2: iv_ruleConfigurationScript= ruleConfigurationScript EOF + { + newCompositeNode(grammarAccess.getConfigurationScriptRule()); + pushFollow(FOLLOW_1); + iv_ruleConfigurationScript=ruleConfigurationScript(); + + state._fsp--; + + current =iv_ruleConfigurationScript; + match(input,EOF,FOLLOW_2); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleConfigurationScript" + + + // $ANTLR start "ruleConfigurationScript" + // InternalApplicationConfiguration.g:72:1: ruleConfigurationScript returns [EObject current=null] : ( ( (lv_imports_0_0= ruleImport ) )* ( (lv_commands_1_0= ruleCommand ) )* ) ; + public final EObject ruleConfigurationScript() throws RecognitionException { + EObject current = null; + + EObject lv_imports_0_0 = null; + + EObject lv_commands_1_0 = null; + + + + enterRule(); + + try { + // InternalApplicationConfiguration.g:78:2: ( ( ( (lv_imports_0_0= ruleImport ) )* ( (lv_commands_1_0= ruleCommand ) )* ) ) + // InternalApplicationConfiguration.g:79:2: ( ( (lv_imports_0_0= ruleImport ) )* ( (lv_commands_1_0= ruleCommand ) )* ) + { + // InternalApplicationConfiguration.g:79:2: ( ( (lv_imports_0_0= ruleImport ) )* ( (lv_commands_1_0= ruleCommand ) )* ) + // InternalApplicationConfiguration.g:80:3: ( (lv_imports_0_0= ruleImport ) )* ( (lv_commands_1_0= ruleCommand ) )* + { + // InternalApplicationConfiguration.g:80:3: ( (lv_imports_0_0= ruleImport ) )* + loop1: + do { + int alt1=2; + int LA1_0 = input.LA(1); + + if ( (LA1_0==13) ) { + alt1=1; + } + + + switch (alt1) { + case 1 : + // InternalApplicationConfiguration.g:81:4: (lv_imports_0_0= ruleImport ) + { + // InternalApplicationConfiguration.g:81:4: (lv_imports_0_0= ruleImport ) + // InternalApplicationConfiguration.g:82:5: lv_imports_0_0= ruleImport + { + + newCompositeNode(grammarAccess.getConfigurationScriptAccess().getImportsImportParserRuleCall_0_0()); + + pushFollow(FOLLOW_3); + lv_imports_0_0=ruleImport(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getConfigurationScriptRule()); + } + add( + current, + "imports", + lv_imports_0_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Import"); + afterParserOrEnumRuleCall(); + + + } + + + } + break; + + default : + break loop1; + } + } while (true); + + // InternalApplicationConfiguration.g:99:3: ( (lv_commands_1_0= ruleCommand ) )* + loop2: + do { + int alt2=2; + int LA2_0 = input.LA(1); + + if ( (LA2_0==17||LA2_0==25||(LA2_0>=27 && LA2_0<=30)||(LA2_0>=44 && LA2_0<=45)) ) { + alt2=1; + } + + + switch (alt2) { + case 1 : + // InternalApplicationConfiguration.g:100:4: (lv_commands_1_0= ruleCommand ) + { + // InternalApplicationConfiguration.g:100:4: (lv_commands_1_0= ruleCommand ) + // InternalApplicationConfiguration.g:101:5: lv_commands_1_0= ruleCommand + { + + newCompositeNode(grammarAccess.getConfigurationScriptAccess().getCommandsCommandParserRuleCall_1_0()); + + pushFollow(FOLLOW_4); + lv_commands_1_0=ruleCommand(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getConfigurationScriptRule()); + } + add( + current, + "commands", + lv_commands_1_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Command"); + afterParserOrEnumRuleCall(); + + + } + + + } + break; + + default : + break loop2; + } + } while (true); + + + } + + + } + + + leaveRule(); + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleConfigurationScript" + + + // $ANTLR start "entryRuleCommand" + // InternalApplicationConfiguration.g:122:1: entryRuleCommand returns [EObject current=null] : iv_ruleCommand= ruleCommand EOF ; + public final EObject entryRuleCommand() throws RecognitionException { + EObject current = null; + + EObject iv_ruleCommand = null; + + + try { + // InternalApplicationConfiguration.g:122:48: (iv_ruleCommand= ruleCommand EOF ) + // InternalApplicationConfiguration.g:123:2: iv_ruleCommand= ruleCommand EOF + { + newCompositeNode(grammarAccess.getCommandRule()); + pushFollow(FOLLOW_1); + iv_ruleCommand=ruleCommand(); + + state._fsp--; + + current =iv_ruleCommand; + match(input,EOF,FOLLOW_2); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleCommand" + + + // $ANTLR start "ruleCommand" + // InternalApplicationConfiguration.g:129:1: ruleCommand returns [EObject current=null] : (this_Declaration_0= ruleDeclaration | this_Task_1= ruleTask ) ; + public final EObject ruleCommand() throws RecognitionException { + EObject current = null; + + EObject this_Declaration_0 = null; + + EObject this_Task_1 = null; + + + + enterRule(); + + try { + // InternalApplicationConfiguration.g:135:2: ( (this_Declaration_0= ruleDeclaration | this_Task_1= ruleTask ) ) + // InternalApplicationConfiguration.g:136:2: (this_Declaration_0= ruleDeclaration | this_Task_1= ruleTask ) + { + // InternalApplicationConfiguration.g:136:2: (this_Declaration_0= ruleDeclaration | this_Task_1= ruleTask ) + int alt3=2; + int LA3_0 = input.LA(1); + + if ( (LA3_0==17||LA3_0==25||(LA3_0>=27 && LA3_0<=30)||LA3_0==44) ) { + alt3=1; + } + else if ( (LA3_0==45) ) { + alt3=2; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 3, 0, input); + + throw nvae; + } + switch (alt3) { + case 1 : + // InternalApplicationConfiguration.g:137:3: this_Declaration_0= ruleDeclaration + { + + newCompositeNode(grammarAccess.getCommandAccess().getDeclarationParserRuleCall_0()); + + pushFollow(FOLLOW_2); + this_Declaration_0=ruleDeclaration(); + + state._fsp--; + + + current = this_Declaration_0; + afterParserOrEnumRuleCall(); + + + } + break; + case 2 : + // InternalApplicationConfiguration.g:146:3: this_Task_1= ruleTask + { + + newCompositeNode(grammarAccess.getCommandAccess().getTaskParserRuleCall_1()); + + pushFollow(FOLLOW_2); + this_Task_1=ruleTask(); + + state._fsp--; + + + current = this_Task_1; + afterParserOrEnumRuleCall(); + + + } + break; + + } + + + } + + + leaveRule(); + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleCommand" + + + // $ANTLR start "entryRuleQualifiedName" + // InternalApplicationConfiguration.g:158:1: entryRuleQualifiedName returns [String current=null] : iv_ruleQualifiedName= ruleQualifiedName EOF ; + public final String entryRuleQualifiedName() throws RecognitionException { + String current = null; + + AntlrDatatypeRuleToken iv_ruleQualifiedName = null; + + + try { + // InternalApplicationConfiguration.g:158:53: (iv_ruleQualifiedName= ruleQualifiedName EOF ) + // InternalApplicationConfiguration.g:159:2: iv_ruleQualifiedName= ruleQualifiedName EOF + { + newCompositeNode(grammarAccess.getQualifiedNameRule()); + pushFollow(FOLLOW_1); + iv_ruleQualifiedName=ruleQualifiedName(); + + state._fsp--; + + current =iv_ruleQualifiedName.getText(); + match(input,EOF,FOLLOW_2); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleQualifiedName" + + + // $ANTLR start "ruleQualifiedName" + // InternalApplicationConfiguration.g:165:1: ruleQualifiedName returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) ; + public final AntlrDatatypeRuleToken ruleQualifiedName() throws RecognitionException { + AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); + + Token this_ID_0=null; + Token kw=null; + Token this_ID_2=null; + + + enterRule(); + + try { + // InternalApplicationConfiguration.g:171:2: ( (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) ) + // InternalApplicationConfiguration.g:172:2: (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) + { + // InternalApplicationConfiguration.g:172:2: (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) + // InternalApplicationConfiguration.g:173:3: this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* + { + this_ID_0=(Token)match(input,RULE_ID,FOLLOW_5); + + current.merge(this_ID_0); + + + newLeafNode(this_ID_0, grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_0()); + + // InternalApplicationConfiguration.g:180:3: (kw= '.' this_ID_2= RULE_ID )* + loop4: + do { + int alt4=2; + int LA4_0 = input.LA(1); + + if ( (LA4_0==11) ) { + alt4=1; + } + + + switch (alt4) { + case 1 : + // InternalApplicationConfiguration.g:181:4: kw= '.' this_ID_2= RULE_ID + { + kw=(Token)match(input,11,FOLLOW_6); + + current.merge(kw); + newLeafNode(kw, grammarAccess.getQualifiedNameAccess().getFullStopKeyword_1_0()); + + this_ID_2=(Token)match(input,RULE_ID,FOLLOW_5); + + current.merge(this_ID_2); + + + newLeafNode(this_ID_2, grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_1_1()); + + + } + break; + + default : + break loop4; + } + } while (true); + + + } + + + } + + + leaveRule(); + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleQualifiedName" + + + // $ANTLR start "entryRuleREALLiteral" + // InternalApplicationConfiguration.g:198:1: entryRuleREALLiteral returns [String current=null] : iv_ruleREALLiteral= ruleREALLiteral EOF ; + public final String entryRuleREALLiteral() throws RecognitionException { + String current = null; + + AntlrDatatypeRuleToken iv_ruleREALLiteral = null; + + + try { + // InternalApplicationConfiguration.g:198:51: (iv_ruleREALLiteral= ruleREALLiteral EOF ) + // InternalApplicationConfiguration.g:199:2: iv_ruleREALLiteral= ruleREALLiteral EOF + { + newCompositeNode(grammarAccess.getREALLiteralRule()); + pushFollow(FOLLOW_1); + iv_ruleREALLiteral=ruleREALLiteral(); + + state._fsp--; + + current =iv_ruleREALLiteral.getText(); + match(input,EOF,FOLLOW_2); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleREALLiteral" + + + // $ANTLR start "ruleREALLiteral" + // InternalApplicationConfiguration.g:205:1: ruleREALLiteral returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : ( (kw= '-' )? this_INT_1= RULE_INT kw= '.' this_INT_3= RULE_INT ) ; + public final AntlrDatatypeRuleToken ruleREALLiteral() throws RecognitionException { + AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); + + Token kw=null; + Token this_INT_1=null; + Token this_INT_3=null; + + + enterRule(); + + try { + // InternalApplicationConfiguration.g:211:2: ( ( (kw= '-' )? this_INT_1= RULE_INT kw= '.' this_INT_3= RULE_INT ) ) + // InternalApplicationConfiguration.g:212:2: ( (kw= '-' )? this_INT_1= RULE_INT kw= '.' this_INT_3= RULE_INT ) + { + // InternalApplicationConfiguration.g:212:2: ( (kw= '-' )? this_INT_1= RULE_INT kw= '.' this_INT_3= RULE_INT ) + // InternalApplicationConfiguration.g:213:3: (kw= '-' )? this_INT_1= RULE_INT kw= '.' this_INT_3= RULE_INT + { + // InternalApplicationConfiguration.g:213:3: (kw= '-' )? + int alt5=2; + int LA5_0 = input.LA(1); + + if ( (LA5_0==12) ) { + alt5=1; + } + switch (alt5) { + case 1 : + // InternalApplicationConfiguration.g:214:4: kw= '-' + { + kw=(Token)match(input,12,FOLLOW_7); + + current.merge(kw); + newLeafNode(kw, grammarAccess.getREALLiteralAccess().getHyphenMinusKeyword_0()); + + + } + break; + + } + + this_INT_1=(Token)match(input,RULE_INT,FOLLOW_8); + + current.merge(this_INT_1); + + + newLeafNode(this_INT_1, grammarAccess.getREALLiteralAccess().getINTTerminalRuleCall_1()); + + kw=(Token)match(input,11,FOLLOW_7); + + current.merge(kw); + newLeafNode(kw, grammarAccess.getREALLiteralAccess().getFullStopKeyword_2()); + + this_INT_3=(Token)match(input,RULE_INT,FOLLOW_2); + + current.merge(this_INT_3); + + + newLeafNode(this_INT_3, grammarAccess.getREALLiteralAccess().getINTTerminalRuleCall_3()); + + + } + + + } + + + leaveRule(); + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleREALLiteral" + + + // $ANTLR start "entryRuleINTLiteral" + // InternalApplicationConfiguration.g:243:1: entryRuleINTLiteral returns [String current=null] : iv_ruleINTLiteral= ruleINTLiteral EOF ; + public final String entryRuleINTLiteral() throws RecognitionException { + String current = null; + + AntlrDatatypeRuleToken iv_ruleINTLiteral = null; + + + try { + // InternalApplicationConfiguration.g:243:50: (iv_ruleINTLiteral= ruleINTLiteral EOF ) + // InternalApplicationConfiguration.g:244:2: iv_ruleINTLiteral= ruleINTLiteral EOF + { + newCompositeNode(grammarAccess.getINTLiteralRule()); + pushFollow(FOLLOW_1); + iv_ruleINTLiteral=ruleINTLiteral(); + + state._fsp--; + + current =iv_ruleINTLiteral.getText(); + match(input,EOF,FOLLOW_2); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleINTLiteral" + + + // $ANTLR start "ruleINTLiteral" + // InternalApplicationConfiguration.g:250:1: ruleINTLiteral returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : ( (kw= '-' )? this_INT_1= RULE_INT ) ; + public final AntlrDatatypeRuleToken ruleINTLiteral() throws RecognitionException { + AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); + + Token kw=null; + Token this_INT_1=null; + + + enterRule(); + + try { + // InternalApplicationConfiguration.g:256:2: ( ( (kw= '-' )? this_INT_1= RULE_INT ) ) + // InternalApplicationConfiguration.g:257:2: ( (kw= '-' )? this_INT_1= RULE_INT ) + { + // InternalApplicationConfiguration.g:257:2: ( (kw= '-' )? this_INT_1= RULE_INT ) + // InternalApplicationConfiguration.g:258:3: (kw= '-' )? this_INT_1= RULE_INT + { + // InternalApplicationConfiguration.g:258:3: (kw= '-' )? + int alt6=2; + int LA6_0 = input.LA(1); + + if ( (LA6_0==12) ) { + alt6=1; + } + switch (alt6) { + case 1 : + // InternalApplicationConfiguration.g:259:4: kw= '-' + { + kw=(Token)match(input,12,FOLLOW_7); + + current.merge(kw); + newLeafNode(kw, grammarAccess.getINTLiteralAccess().getHyphenMinusKeyword_0()); + + + } + break; + + } + + this_INT_1=(Token)match(input,RULE_INT,FOLLOW_2); + + current.merge(this_INT_1); + + + newLeafNode(this_INT_1, grammarAccess.getINTLiteralAccess().getINTTerminalRuleCall_1()); + + + } + + + } + + + leaveRule(); + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleINTLiteral" + + + // $ANTLR start "entryRuleImport" + // InternalApplicationConfiguration.g:276:1: entryRuleImport returns [EObject current=null] : iv_ruleImport= ruleImport EOF ; + public final EObject entryRuleImport() throws RecognitionException { + EObject current = null; + + EObject iv_ruleImport = null; + + + try { + // InternalApplicationConfiguration.g:276:47: (iv_ruleImport= ruleImport EOF ) + // InternalApplicationConfiguration.g:277:2: iv_ruleImport= ruleImport EOF + { + newCompositeNode(grammarAccess.getImportRule()); + pushFollow(FOLLOW_1); + iv_ruleImport=ruleImport(); + + state._fsp--; + + current =iv_ruleImport; + match(input,EOF,FOLLOW_2); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleImport" + + + // $ANTLR start "ruleImport" + // InternalApplicationConfiguration.g:283:1: ruleImport returns [EObject current=null] : (this_EPackageImport_0= ruleEPackageImport | this_ViatraImport_1= ruleViatraImport | this_CftImport_2= ruleCftImport ) ; + public final EObject ruleImport() throws RecognitionException { + EObject current = null; + + EObject this_EPackageImport_0 = null; + + EObject this_ViatraImport_1 = null; + + EObject this_CftImport_2 = null; + + + + enterRule(); + + try { + // InternalApplicationConfiguration.g:289:2: ( (this_EPackageImport_0= ruleEPackageImport | this_ViatraImport_1= ruleViatraImport | this_CftImport_2= ruleCftImport ) ) + // InternalApplicationConfiguration.g:290:2: (this_EPackageImport_0= ruleEPackageImport | this_ViatraImport_1= ruleViatraImport | this_CftImport_2= ruleCftImport ) + { + // InternalApplicationConfiguration.g:290:2: (this_EPackageImport_0= ruleEPackageImport | this_ViatraImport_1= ruleViatraImport | this_CftImport_2= ruleCftImport ) + int alt7=3; + int LA7_0 = input.LA(1); + + if ( (LA7_0==13) ) { + switch ( input.LA(2) ) { + case 14: + { + alt7=1; + } + break; + case 15: + { + alt7=2; + } + break; + case 16: + { + alt7=3; + } + break; + default: + NoViableAltException nvae = + new NoViableAltException("", 7, 1, input); + + throw nvae; + } + + } + else { + NoViableAltException nvae = + new NoViableAltException("", 7, 0, input); + + throw nvae; + } + switch (alt7) { + case 1 : + // InternalApplicationConfiguration.g:291:3: this_EPackageImport_0= ruleEPackageImport + { + + newCompositeNode(grammarAccess.getImportAccess().getEPackageImportParserRuleCall_0()); + + pushFollow(FOLLOW_2); + this_EPackageImport_0=ruleEPackageImport(); + + state._fsp--; + + + current = this_EPackageImport_0; + afterParserOrEnumRuleCall(); + + + } + break; + case 2 : + // InternalApplicationConfiguration.g:300:3: this_ViatraImport_1= ruleViatraImport + { + + newCompositeNode(grammarAccess.getImportAccess().getViatraImportParserRuleCall_1()); + + pushFollow(FOLLOW_2); + this_ViatraImport_1=ruleViatraImport(); + + state._fsp--; + + + current = this_ViatraImport_1; + afterParserOrEnumRuleCall(); + + + } + break; + case 3 : + // InternalApplicationConfiguration.g:309:3: this_CftImport_2= ruleCftImport + { + + newCompositeNode(grammarAccess.getImportAccess().getCftImportParserRuleCall_2()); + + pushFollow(FOLLOW_2); + this_CftImport_2=ruleCftImport(); + + state._fsp--; + + + current = this_CftImport_2; + afterParserOrEnumRuleCall(); + + + } + break; + + } + + + } + + + leaveRule(); + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleImport" + + + // $ANTLR start "entryRuleEPackageImport" + // InternalApplicationConfiguration.g:321:1: entryRuleEPackageImport returns [EObject current=null] : iv_ruleEPackageImport= ruleEPackageImport EOF ; + public final EObject entryRuleEPackageImport() throws RecognitionException { + EObject current = null; + + EObject iv_ruleEPackageImport = null; + + + try { + // InternalApplicationConfiguration.g:321:55: (iv_ruleEPackageImport= ruleEPackageImport EOF ) + // InternalApplicationConfiguration.g:322:2: iv_ruleEPackageImport= ruleEPackageImport EOF + { + newCompositeNode(grammarAccess.getEPackageImportRule()); + pushFollow(FOLLOW_1); + iv_ruleEPackageImport=ruleEPackageImport(); + + state._fsp--; + + current =iv_ruleEPackageImport; + match(input,EOF,FOLLOW_2); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleEPackageImport" + + + // $ANTLR start "ruleEPackageImport" + // InternalApplicationConfiguration.g:328:1: ruleEPackageImport returns [EObject current=null] : (otherlv_0= 'import' otherlv_1= 'epackage' ( (otherlv_2= RULE_STRING ) ) ) ; + public final EObject ruleEPackageImport() throws RecognitionException { + EObject current = null; + + Token otherlv_0=null; + Token otherlv_1=null; + Token otherlv_2=null; + + + enterRule(); + + try { + // InternalApplicationConfiguration.g:334:2: ( (otherlv_0= 'import' otherlv_1= 'epackage' ( (otherlv_2= RULE_STRING ) ) ) ) + // InternalApplicationConfiguration.g:335:2: (otherlv_0= 'import' otherlv_1= 'epackage' ( (otherlv_2= RULE_STRING ) ) ) + { + // InternalApplicationConfiguration.g:335:2: (otherlv_0= 'import' otherlv_1= 'epackage' ( (otherlv_2= RULE_STRING ) ) ) + // InternalApplicationConfiguration.g:336:3: otherlv_0= 'import' otherlv_1= 'epackage' ( (otherlv_2= RULE_STRING ) ) + { + otherlv_0=(Token)match(input,13,FOLLOW_9); + + newLeafNode(otherlv_0, grammarAccess.getEPackageImportAccess().getImportKeyword_0()); + + otherlv_1=(Token)match(input,14,FOLLOW_10); + + newLeafNode(otherlv_1, grammarAccess.getEPackageImportAccess().getEpackageKeyword_1()); + + // InternalApplicationConfiguration.g:344:3: ( (otherlv_2= RULE_STRING ) ) + // InternalApplicationConfiguration.g:345:4: (otherlv_2= RULE_STRING ) + { + // InternalApplicationConfiguration.g:345:4: (otherlv_2= RULE_STRING ) + // InternalApplicationConfiguration.g:346:5: otherlv_2= RULE_STRING + { + + if (current==null) { + current = createModelElement(grammarAccess.getEPackageImportRule()); + } + + otherlv_2=(Token)match(input,RULE_STRING,FOLLOW_2); + + newLeafNode(otherlv_2, grammarAccess.getEPackageImportAccess().getImportedPackageEPackageCrossReference_2_0()); + + + } + + + } + + + } + + + } + + + leaveRule(); + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleEPackageImport" + + + // $ANTLR start "entryRuleViatraImport" + // InternalApplicationConfiguration.g:361:1: entryRuleViatraImport returns [EObject current=null] : iv_ruleViatraImport= ruleViatraImport EOF ; + public final EObject entryRuleViatraImport() throws RecognitionException { + EObject current = null; + + EObject iv_ruleViatraImport = null; + + + try { + // InternalApplicationConfiguration.g:361:53: (iv_ruleViatraImport= ruleViatraImport EOF ) + // InternalApplicationConfiguration.g:362:2: iv_ruleViatraImport= ruleViatraImport EOF + { + newCompositeNode(grammarAccess.getViatraImportRule()); + pushFollow(FOLLOW_1); + iv_ruleViatraImport=ruleViatraImport(); + + state._fsp--; + + current =iv_ruleViatraImport; + match(input,EOF,FOLLOW_2); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleViatraImport" + + + // $ANTLR start "ruleViatraImport" + // InternalApplicationConfiguration.g:368:1: ruleViatraImport returns [EObject current=null] : (otherlv_0= 'import' otherlv_1= 'viatra' ( (otherlv_2= RULE_STRING ) ) ) ; + public final EObject ruleViatraImport() throws RecognitionException { + EObject current = null; + + Token otherlv_0=null; + Token otherlv_1=null; + Token otherlv_2=null; + + + enterRule(); + + try { + // InternalApplicationConfiguration.g:374:2: ( (otherlv_0= 'import' otherlv_1= 'viatra' ( (otherlv_2= RULE_STRING ) ) ) ) + // InternalApplicationConfiguration.g:375:2: (otherlv_0= 'import' otherlv_1= 'viatra' ( (otherlv_2= RULE_STRING ) ) ) + { + // InternalApplicationConfiguration.g:375:2: (otherlv_0= 'import' otherlv_1= 'viatra' ( (otherlv_2= RULE_STRING ) ) ) + // InternalApplicationConfiguration.g:376:3: otherlv_0= 'import' otherlv_1= 'viatra' ( (otherlv_2= RULE_STRING ) ) + { + otherlv_0=(Token)match(input,13,FOLLOW_11); + + newLeafNode(otherlv_0, grammarAccess.getViatraImportAccess().getImportKeyword_0()); + + otherlv_1=(Token)match(input,15,FOLLOW_10); + + newLeafNode(otherlv_1, grammarAccess.getViatraImportAccess().getViatraKeyword_1()); + + // InternalApplicationConfiguration.g:384:3: ( (otherlv_2= RULE_STRING ) ) + // InternalApplicationConfiguration.g:385:4: (otherlv_2= RULE_STRING ) + { + // InternalApplicationConfiguration.g:385:4: (otherlv_2= RULE_STRING ) + // InternalApplicationConfiguration.g:386:5: otherlv_2= RULE_STRING + { + + if (current==null) { + current = createModelElement(grammarAccess.getViatraImportRule()); + } + + otherlv_2=(Token)match(input,RULE_STRING,FOLLOW_2); + + newLeafNode(otherlv_2, grammarAccess.getViatraImportAccess().getImportedViatraPatternModelCrossReference_2_0()); + + + } + + + } + + + } + + + } + + + leaveRule(); + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleViatraImport" + + + // $ANTLR start "entryRuleCftImport" + // InternalApplicationConfiguration.g:401:1: entryRuleCftImport returns [EObject current=null] : iv_ruleCftImport= ruleCftImport EOF ; + public final EObject entryRuleCftImport() throws RecognitionException { + EObject current = null; + + EObject iv_ruleCftImport = null; + + + try { + // InternalApplicationConfiguration.g:401:50: (iv_ruleCftImport= ruleCftImport EOF ) + // InternalApplicationConfiguration.g:402:2: iv_ruleCftImport= ruleCftImport EOF + { + newCompositeNode(grammarAccess.getCftImportRule()); + pushFollow(FOLLOW_1); + iv_ruleCftImport=ruleCftImport(); + + state._fsp--; + + current =iv_ruleCftImport; + match(input,EOF,FOLLOW_2); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleCftImport" + + + // $ANTLR start "ruleCftImport" + // InternalApplicationConfiguration.g:408:1: ruleCftImport returns [EObject current=null] : (otherlv_0= 'import' otherlv_1= 'reliability' ( (otherlv_2= RULE_STRING ) ) ) ; + public final EObject ruleCftImport() throws RecognitionException { + EObject current = null; + + Token otherlv_0=null; + Token otherlv_1=null; + Token otherlv_2=null; + + + enterRule(); + + try { + // InternalApplicationConfiguration.g:414:2: ( (otherlv_0= 'import' otherlv_1= 'reliability' ( (otherlv_2= RULE_STRING ) ) ) ) + // InternalApplicationConfiguration.g:415:2: (otherlv_0= 'import' otherlv_1= 'reliability' ( (otherlv_2= RULE_STRING ) ) ) + { + // InternalApplicationConfiguration.g:415:2: (otherlv_0= 'import' otherlv_1= 'reliability' ( (otherlv_2= RULE_STRING ) ) ) + // InternalApplicationConfiguration.g:416:3: otherlv_0= 'import' otherlv_1= 'reliability' ( (otherlv_2= RULE_STRING ) ) + { + otherlv_0=(Token)match(input,13,FOLLOW_12); + + newLeafNode(otherlv_0, grammarAccess.getCftImportAccess().getImportKeyword_0()); + + otherlv_1=(Token)match(input,16,FOLLOW_10); + + newLeafNode(otherlv_1, grammarAccess.getCftImportAccess().getReliabilityKeyword_1()); + + // InternalApplicationConfiguration.g:424:3: ( (otherlv_2= RULE_STRING ) ) + // InternalApplicationConfiguration.g:425:4: (otherlv_2= RULE_STRING ) + { + // InternalApplicationConfiguration.g:425:4: (otherlv_2= RULE_STRING ) + // InternalApplicationConfiguration.g:426:5: otherlv_2= RULE_STRING + { + + if (current==null) { + current = createModelElement(grammarAccess.getCftImportRule()); + } + + otherlv_2=(Token)match(input,RULE_STRING,FOLLOW_2); + + newLeafNode(otherlv_2, grammarAccess.getCftImportAccess().getImportedCftCftModelCrossReference_2_0()); + + + } + + + } + + + } + + + } + + + leaveRule(); + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleCftImport" + + + // $ANTLR start "entryRuleDeclaration" + // InternalApplicationConfiguration.g:441:1: entryRuleDeclaration returns [EObject current=null] : iv_ruleDeclaration= ruleDeclaration EOF ; + public final EObject entryRuleDeclaration() throws RecognitionException { + EObject current = null; + + EObject iv_ruleDeclaration = null; + + + try { + // InternalApplicationConfiguration.g:441:52: (iv_ruleDeclaration= ruleDeclaration EOF ) + // InternalApplicationConfiguration.g:442:2: iv_ruleDeclaration= ruleDeclaration EOF + { + newCompositeNode(grammarAccess.getDeclarationRule()); + pushFollow(FOLLOW_1); + iv_ruleDeclaration=ruleDeclaration(); + + state._fsp--; + + current =iv_ruleDeclaration; + match(input,EOF,FOLLOW_2); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleDeclaration" + + + // $ANTLR start "ruleDeclaration" + // InternalApplicationConfiguration.g:448:1: ruleDeclaration returns [EObject current=null] : (this_FileDeclaration_0= ruleFileDeclaration | this_MetamodelDeclaration_1= ruleMetamodelDeclaration | this_PartialModelDeclaration_2= rulePartialModelDeclaration | this_GraphPatternDeclaration_3= ruleGraphPatternDeclaration | this_ConfigDeclaration_4= ruleConfigDeclaration | this_ScopeDeclaration_5= ruleScopeDeclaration | this_ObjectiveDeclaration_6= ruleObjectiveDeclaration ) ; + public final EObject ruleDeclaration() throws RecognitionException { + EObject current = null; + + EObject this_FileDeclaration_0 = null; + + EObject this_MetamodelDeclaration_1 = null; + + EObject this_PartialModelDeclaration_2 = null; + + EObject this_GraphPatternDeclaration_3 = null; + + EObject this_ConfigDeclaration_4 = null; + + EObject this_ScopeDeclaration_5 = null; + + EObject this_ObjectiveDeclaration_6 = null; + + + + enterRule(); + + try { + // InternalApplicationConfiguration.g:454:2: ( (this_FileDeclaration_0= ruleFileDeclaration | this_MetamodelDeclaration_1= ruleMetamodelDeclaration | this_PartialModelDeclaration_2= rulePartialModelDeclaration | this_GraphPatternDeclaration_3= ruleGraphPatternDeclaration | this_ConfigDeclaration_4= ruleConfigDeclaration | this_ScopeDeclaration_5= ruleScopeDeclaration | this_ObjectiveDeclaration_6= ruleObjectiveDeclaration ) ) + // InternalApplicationConfiguration.g:455:2: (this_FileDeclaration_0= ruleFileDeclaration | this_MetamodelDeclaration_1= ruleMetamodelDeclaration | this_PartialModelDeclaration_2= rulePartialModelDeclaration | this_GraphPatternDeclaration_3= ruleGraphPatternDeclaration | this_ConfigDeclaration_4= ruleConfigDeclaration | this_ScopeDeclaration_5= ruleScopeDeclaration | this_ObjectiveDeclaration_6= ruleObjectiveDeclaration ) + { + // InternalApplicationConfiguration.g:455:2: (this_FileDeclaration_0= ruleFileDeclaration | this_MetamodelDeclaration_1= ruleMetamodelDeclaration | this_PartialModelDeclaration_2= rulePartialModelDeclaration | this_GraphPatternDeclaration_3= ruleGraphPatternDeclaration | this_ConfigDeclaration_4= ruleConfigDeclaration | this_ScopeDeclaration_5= ruleScopeDeclaration | this_ObjectiveDeclaration_6= ruleObjectiveDeclaration ) + int alt8=7; + switch ( input.LA(1) ) { + case 17: + { + alt8=1; + } + break; + case 25: + { + alt8=2; + } + break; + case 27: + { + alt8=3; + } + break; + case 28: + { + alt8=4; + } + break; + case 30: + { + alt8=5; + } + break; + case 44: + { + alt8=6; + } + break; + case 29: + { + alt8=7; + } + break; + default: + NoViableAltException nvae = + new NoViableAltException("", 8, 0, input); + + throw nvae; + } + + switch (alt8) { + case 1 : + // InternalApplicationConfiguration.g:456:3: this_FileDeclaration_0= ruleFileDeclaration + { + + newCompositeNode(grammarAccess.getDeclarationAccess().getFileDeclarationParserRuleCall_0()); + + pushFollow(FOLLOW_2); + this_FileDeclaration_0=ruleFileDeclaration(); + + state._fsp--; + + + current = this_FileDeclaration_0; + afterParserOrEnumRuleCall(); + + + } + break; + case 2 : + // InternalApplicationConfiguration.g:465:3: this_MetamodelDeclaration_1= ruleMetamodelDeclaration + { + + newCompositeNode(grammarAccess.getDeclarationAccess().getMetamodelDeclarationParserRuleCall_1()); + + pushFollow(FOLLOW_2); + this_MetamodelDeclaration_1=ruleMetamodelDeclaration(); + + state._fsp--; + + + current = this_MetamodelDeclaration_1; + afterParserOrEnumRuleCall(); + + + } + break; + case 3 : + // InternalApplicationConfiguration.g:474:3: this_PartialModelDeclaration_2= rulePartialModelDeclaration + { + + newCompositeNode(grammarAccess.getDeclarationAccess().getPartialModelDeclarationParserRuleCall_2()); + + pushFollow(FOLLOW_2); + this_PartialModelDeclaration_2=rulePartialModelDeclaration(); + + state._fsp--; + + + current = this_PartialModelDeclaration_2; + afterParserOrEnumRuleCall(); + + + } + break; + case 4 : + // InternalApplicationConfiguration.g:483:3: this_GraphPatternDeclaration_3= ruleGraphPatternDeclaration + { + + newCompositeNode(grammarAccess.getDeclarationAccess().getGraphPatternDeclarationParserRuleCall_3()); + + pushFollow(FOLLOW_2); + this_GraphPatternDeclaration_3=ruleGraphPatternDeclaration(); + + state._fsp--; + + + current = this_GraphPatternDeclaration_3; + afterParserOrEnumRuleCall(); + + + } + break; + case 5 : + // InternalApplicationConfiguration.g:492:3: this_ConfigDeclaration_4= ruleConfigDeclaration + { + + newCompositeNode(grammarAccess.getDeclarationAccess().getConfigDeclarationParserRuleCall_4()); + + pushFollow(FOLLOW_2); + this_ConfigDeclaration_4=ruleConfigDeclaration(); + + state._fsp--; + + + current = this_ConfigDeclaration_4; + afterParserOrEnumRuleCall(); + + + } + break; + case 6 : + // InternalApplicationConfiguration.g:501:3: this_ScopeDeclaration_5= ruleScopeDeclaration + { + + newCompositeNode(grammarAccess.getDeclarationAccess().getScopeDeclarationParserRuleCall_5()); + + pushFollow(FOLLOW_2); + this_ScopeDeclaration_5=ruleScopeDeclaration(); + + state._fsp--; + + + current = this_ScopeDeclaration_5; + afterParserOrEnumRuleCall(); + + + } + break; + case 7 : + // InternalApplicationConfiguration.g:510:3: this_ObjectiveDeclaration_6= ruleObjectiveDeclaration + { + + newCompositeNode(grammarAccess.getDeclarationAccess().getObjectiveDeclarationParserRuleCall_6()); + + pushFollow(FOLLOW_2); + this_ObjectiveDeclaration_6=ruleObjectiveDeclaration(); + + state._fsp--; + + + current = this_ObjectiveDeclaration_6; + afterParserOrEnumRuleCall(); + + + } + break; + + } + + + } + + + leaveRule(); + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleDeclaration" + + + // $ANTLR start "entryRuleFileSpecification" + // InternalApplicationConfiguration.g:522:1: entryRuleFileSpecification returns [EObject current=null] : iv_ruleFileSpecification= ruleFileSpecification EOF ; + public final EObject entryRuleFileSpecification() throws RecognitionException { + EObject current = null; + + EObject iv_ruleFileSpecification = null; + + + try { + // InternalApplicationConfiguration.g:522:58: (iv_ruleFileSpecification= ruleFileSpecification EOF ) + // InternalApplicationConfiguration.g:523:2: iv_ruleFileSpecification= ruleFileSpecification EOF + { + newCompositeNode(grammarAccess.getFileSpecificationRule()); + pushFollow(FOLLOW_1); + iv_ruleFileSpecification=ruleFileSpecification(); + + state._fsp--; + + current =iv_ruleFileSpecification; + match(input,EOF,FOLLOW_2); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleFileSpecification" + + + // $ANTLR start "ruleFileSpecification" + // InternalApplicationConfiguration.g:529:1: ruleFileSpecification returns [EObject current=null] : ( (lv_path_0_0= RULE_STRING ) ) ; + public final EObject ruleFileSpecification() throws RecognitionException { + EObject current = null; + + Token lv_path_0_0=null; + + + enterRule(); + + try { + // InternalApplicationConfiguration.g:535:2: ( ( (lv_path_0_0= RULE_STRING ) ) ) + // InternalApplicationConfiguration.g:536:2: ( (lv_path_0_0= RULE_STRING ) ) + { + // InternalApplicationConfiguration.g:536:2: ( (lv_path_0_0= RULE_STRING ) ) + // InternalApplicationConfiguration.g:537:3: (lv_path_0_0= RULE_STRING ) + { + // InternalApplicationConfiguration.g:537:3: (lv_path_0_0= RULE_STRING ) + // InternalApplicationConfiguration.g:538:4: lv_path_0_0= RULE_STRING + { + lv_path_0_0=(Token)match(input,RULE_STRING,FOLLOW_2); + + newLeafNode(lv_path_0_0, grammarAccess.getFileSpecificationAccess().getPathSTRINGTerminalRuleCall_0()); + + + if (current==null) { + current = createModelElement(grammarAccess.getFileSpecificationRule()); + } + setWithLastConsumed( + current, + "path", + lv_path_0_0, + "org.eclipse.xtext.common.Terminals.STRING"); + + + } + + + } + + + } + + + leaveRule(); + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleFileSpecification" + + + // $ANTLR start "entryRuleFileDeclaration" + // InternalApplicationConfiguration.g:557:1: entryRuleFileDeclaration returns [EObject current=null] : iv_ruleFileDeclaration= ruleFileDeclaration EOF ; + public final EObject entryRuleFileDeclaration() throws RecognitionException { + EObject current = null; + + EObject iv_ruleFileDeclaration = null; + + + try { + // InternalApplicationConfiguration.g:557:56: (iv_ruleFileDeclaration= ruleFileDeclaration EOF ) + // InternalApplicationConfiguration.g:558:2: iv_ruleFileDeclaration= ruleFileDeclaration EOF + { + newCompositeNode(grammarAccess.getFileDeclarationRule()); + pushFollow(FOLLOW_1); + iv_ruleFileDeclaration=ruleFileDeclaration(); + + state._fsp--; + + current =iv_ruleFileDeclaration; + match(input,EOF,FOLLOW_2); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleFileDeclaration" + + + // $ANTLR start "ruleFileDeclaration" + // InternalApplicationConfiguration.g:564:1: ruleFileDeclaration returns [EObject current=null] : (otherlv_0= 'file' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '=' ( (lv_specification_3_0= ruleFileSpecification ) ) ) ; + public final EObject ruleFileDeclaration() throws RecognitionException { + EObject current = null; + + Token otherlv_0=null; + Token lv_name_1_0=null; + Token otherlv_2=null; + EObject lv_specification_3_0 = null; + + + + enterRule(); + + try { + // InternalApplicationConfiguration.g:570:2: ( (otherlv_0= 'file' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '=' ( (lv_specification_3_0= ruleFileSpecification ) ) ) ) + // InternalApplicationConfiguration.g:571:2: (otherlv_0= 'file' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '=' ( (lv_specification_3_0= ruleFileSpecification ) ) ) + { + // InternalApplicationConfiguration.g:571:2: (otherlv_0= 'file' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '=' ( (lv_specification_3_0= ruleFileSpecification ) ) ) + // InternalApplicationConfiguration.g:572:3: otherlv_0= 'file' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '=' ( (lv_specification_3_0= ruleFileSpecification ) ) + { + otherlv_0=(Token)match(input,17,FOLLOW_6); + + newLeafNode(otherlv_0, grammarAccess.getFileDeclarationAccess().getFileKeyword_0()); + + // InternalApplicationConfiguration.g:576:3: ( (lv_name_1_0= RULE_ID ) ) + // InternalApplicationConfiguration.g:577:4: (lv_name_1_0= RULE_ID ) + { + // InternalApplicationConfiguration.g:577:4: (lv_name_1_0= RULE_ID ) + // InternalApplicationConfiguration.g:578:5: lv_name_1_0= RULE_ID + { + lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_13); + + newLeafNode(lv_name_1_0, grammarAccess.getFileDeclarationAccess().getNameIDTerminalRuleCall_1_0()); + + + if (current==null) { + current = createModelElement(grammarAccess.getFileDeclarationRule()); + } + setWithLastConsumed( + current, + "name", + lv_name_1_0, + "org.eclipse.xtext.common.Terminals.ID"); + + + } + + + } + + otherlv_2=(Token)match(input,18,FOLLOW_10); + + newLeafNode(otherlv_2, grammarAccess.getFileDeclarationAccess().getEqualsSignKeyword_2()); + + // InternalApplicationConfiguration.g:598:3: ( (lv_specification_3_0= ruleFileSpecification ) ) + // InternalApplicationConfiguration.g:599:4: (lv_specification_3_0= ruleFileSpecification ) + { + // InternalApplicationConfiguration.g:599:4: (lv_specification_3_0= ruleFileSpecification ) + // InternalApplicationConfiguration.g:600:5: lv_specification_3_0= ruleFileSpecification + { + + newCompositeNode(grammarAccess.getFileDeclarationAccess().getSpecificationFileSpecificationParserRuleCall_3_0()); + + pushFollow(FOLLOW_2); + lv_specification_3_0=ruleFileSpecification(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getFileDeclarationRule()); + } + set( + current, + "specification", + lv_specification_3_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.FileSpecification"); + afterParserOrEnumRuleCall(); + + + } + + + } + + + } + + + } + + + leaveRule(); + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleFileDeclaration" + + + // $ANTLR start "entryRuleFileReference" + // InternalApplicationConfiguration.g:621:1: entryRuleFileReference returns [EObject current=null] : iv_ruleFileReference= ruleFileReference EOF ; + public final EObject entryRuleFileReference() throws RecognitionException { + EObject current = null; + + EObject iv_ruleFileReference = null; + + + try { + // InternalApplicationConfiguration.g:621:54: (iv_ruleFileReference= ruleFileReference EOF ) + // InternalApplicationConfiguration.g:622:2: iv_ruleFileReference= ruleFileReference EOF + { + newCompositeNode(grammarAccess.getFileReferenceRule()); + pushFollow(FOLLOW_1); + iv_ruleFileReference=ruleFileReference(); + + state._fsp--; + + current =iv_ruleFileReference; + match(input,EOF,FOLLOW_2); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleFileReference" + + + // $ANTLR start "ruleFileReference" + // InternalApplicationConfiguration.g:628:1: ruleFileReference returns [EObject current=null] : ( (otherlv_0= RULE_ID ) ) ; + public final EObject ruleFileReference() throws RecognitionException { + EObject current = null; + + Token otherlv_0=null; + + + enterRule(); + + try { + // InternalApplicationConfiguration.g:634:2: ( ( (otherlv_0= RULE_ID ) ) ) + // InternalApplicationConfiguration.g:635:2: ( (otherlv_0= RULE_ID ) ) + { + // InternalApplicationConfiguration.g:635:2: ( (otherlv_0= RULE_ID ) ) + // InternalApplicationConfiguration.g:636:3: (otherlv_0= RULE_ID ) + { + // InternalApplicationConfiguration.g:636:3: (otherlv_0= RULE_ID ) + // InternalApplicationConfiguration.g:637:4: otherlv_0= RULE_ID + { + + if (current==null) { + current = createModelElement(grammarAccess.getFileReferenceRule()); + } + + otherlv_0=(Token)match(input,RULE_ID,FOLLOW_2); + + newLeafNode(otherlv_0, grammarAccess.getFileReferenceAccess().getReferredFileDeclarationCrossReference_0()); + + + } + + + } + + + } + + + leaveRule(); + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleFileReference" + + + // $ANTLR start "entryRuleFile" + // InternalApplicationConfiguration.g:651:1: entryRuleFile returns [EObject current=null] : iv_ruleFile= ruleFile EOF ; + public final EObject entryRuleFile() throws RecognitionException { + EObject current = null; + + EObject iv_ruleFile = null; + + + try { + // InternalApplicationConfiguration.g:651:45: (iv_ruleFile= ruleFile EOF ) + // InternalApplicationConfiguration.g:652:2: iv_ruleFile= ruleFile EOF + { + newCompositeNode(grammarAccess.getFileRule()); + pushFollow(FOLLOW_1); + iv_ruleFile=ruleFile(); + + state._fsp--; + + current =iv_ruleFile; + match(input,EOF,FOLLOW_2); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleFile" + + + // $ANTLR start "ruleFile" + // InternalApplicationConfiguration.g:658:1: ruleFile returns [EObject current=null] : (this_FileSpecification_0= ruleFileSpecification | this_FileReference_1= ruleFileReference ) ; + public final EObject ruleFile() throws RecognitionException { + EObject current = null; + + EObject this_FileSpecification_0 = null; + + EObject this_FileReference_1 = null; + + + + enterRule(); + + try { + // InternalApplicationConfiguration.g:664:2: ( (this_FileSpecification_0= ruleFileSpecification | this_FileReference_1= ruleFileReference ) ) + // InternalApplicationConfiguration.g:665:2: (this_FileSpecification_0= ruleFileSpecification | this_FileReference_1= ruleFileReference ) + { + // InternalApplicationConfiguration.g:665:2: (this_FileSpecification_0= ruleFileSpecification | this_FileReference_1= ruleFileReference ) + int alt9=2; + int LA9_0 = input.LA(1); + + if ( (LA9_0==RULE_STRING) ) { + alt9=1; + } + else if ( (LA9_0==RULE_ID) ) { + alt9=2; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 9, 0, input); + + throw nvae; + } + switch (alt9) { + case 1 : + // InternalApplicationConfiguration.g:666:3: this_FileSpecification_0= ruleFileSpecification + { + + newCompositeNode(grammarAccess.getFileAccess().getFileSpecificationParserRuleCall_0()); + + pushFollow(FOLLOW_2); + this_FileSpecification_0=ruleFileSpecification(); + + state._fsp--; + + + current = this_FileSpecification_0; + afterParserOrEnumRuleCall(); + + + } + break; + case 2 : + // InternalApplicationConfiguration.g:675:3: this_FileReference_1= ruleFileReference + { + + newCompositeNode(grammarAccess.getFileAccess().getFileReferenceParserRuleCall_1()); + + pushFollow(FOLLOW_2); + this_FileReference_1=ruleFileReference(); + + state._fsp--; + + + current = this_FileReference_1; + afterParserOrEnumRuleCall(); + + + } + break; + + } + + + } + + + leaveRule(); + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleFile" + + + // $ANTLR start "entryRuleMetamodelSpecification" + // InternalApplicationConfiguration.g:687:1: entryRuleMetamodelSpecification returns [EObject current=null] : iv_ruleMetamodelSpecification= ruleMetamodelSpecification EOF ; + public final EObject entryRuleMetamodelSpecification() throws RecognitionException { + EObject current = null; + + EObject iv_ruleMetamodelSpecification = null; + + + try { + // InternalApplicationConfiguration.g:687:63: (iv_ruleMetamodelSpecification= ruleMetamodelSpecification EOF ) + // InternalApplicationConfiguration.g:688:2: iv_ruleMetamodelSpecification= ruleMetamodelSpecification EOF + { + newCompositeNode(grammarAccess.getMetamodelSpecificationRule()); + pushFollow(FOLLOW_1); + iv_ruleMetamodelSpecification=ruleMetamodelSpecification(); + + state._fsp--; + + current =iv_ruleMetamodelSpecification; + match(input,EOF,FOLLOW_2); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleMetamodelSpecification" + + + // $ANTLR start "ruleMetamodelSpecification" + // InternalApplicationConfiguration.g:694:1: ruleMetamodelSpecification returns [EObject current=null] : (otherlv_0= '{' ( (lv_entries_1_0= ruleMetamodelEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) ) )* otherlv_4= '}' ) ; + public final EObject ruleMetamodelSpecification() throws RecognitionException { + EObject current = null; + + Token otherlv_0=null; + Token otherlv_2=null; + Token otherlv_4=null; + EObject lv_entries_1_0 = null; + + EObject lv_entries_3_0 = null; + + + + enterRule(); + + try { + // InternalApplicationConfiguration.g:700:2: ( (otherlv_0= '{' ( (lv_entries_1_0= ruleMetamodelEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) ) )* otherlv_4= '}' ) ) + // InternalApplicationConfiguration.g:701:2: (otherlv_0= '{' ( (lv_entries_1_0= ruleMetamodelEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) ) )* otherlv_4= '}' ) + { + // InternalApplicationConfiguration.g:701:2: (otherlv_0= '{' ( (lv_entries_1_0= ruleMetamodelEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) ) )* otherlv_4= '}' ) + // InternalApplicationConfiguration.g:702:3: otherlv_0= '{' ( (lv_entries_1_0= ruleMetamodelEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) ) )* otherlv_4= '}' + { + otherlv_0=(Token)match(input,19,FOLLOW_14); + + newLeafNode(otherlv_0, grammarAccess.getMetamodelSpecificationAccess().getLeftCurlyBracketKeyword_0()); + + // InternalApplicationConfiguration.g:706:3: ( (lv_entries_1_0= ruleMetamodelEntry ) ) + // InternalApplicationConfiguration.g:707:4: (lv_entries_1_0= ruleMetamodelEntry ) + { + // InternalApplicationConfiguration.g:707:4: (lv_entries_1_0= ruleMetamodelEntry ) + // InternalApplicationConfiguration.g:708:5: lv_entries_1_0= ruleMetamodelEntry + { + + newCompositeNode(grammarAccess.getMetamodelSpecificationAccess().getEntriesMetamodelEntryParserRuleCall_1_0()); + + pushFollow(FOLLOW_15); + lv_entries_1_0=ruleMetamodelEntry(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getMetamodelSpecificationRule()); + } + add( + current, + "entries", + lv_entries_1_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelEntry"); + afterParserOrEnumRuleCall(); + + + } + + + } + + // InternalApplicationConfiguration.g:725:3: (otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) ) )* + loop10: + do { + int alt10=2; + int LA10_0 = input.LA(1); + + if ( (LA10_0==20) ) { + alt10=1; + } + + + switch (alt10) { + case 1 : + // InternalApplicationConfiguration.g:726:4: otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) ) + { + otherlv_2=(Token)match(input,20,FOLLOW_14); + + newLeafNode(otherlv_2, grammarAccess.getMetamodelSpecificationAccess().getCommaKeyword_2_0()); + + // InternalApplicationConfiguration.g:730:4: ( (lv_entries_3_0= ruleMetamodelEntry ) ) + // InternalApplicationConfiguration.g:731:5: (lv_entries_3_0= ruleMetamodelEntry ) + { + // InternalApplicationConfiguration.g:731:5: (lv_entries_3_0= ruleMetamodelEntry ) + // InternalApplicationConfiguration.g:732:6: lv_entries_3_0= ruleMetamodelEntry + { + + newCompositeNode(grammarAccess.getMetamodelSpecificationAccess().getEntriesMetamodelEntryParserRuleCall_2_1_0()); + + pushFollow(FOLLOW_15); + lv_entries_3_0=ruleMetamodelEntry(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getMetamodelSpecificationRule()); + } + add( + current, + "entries", + lv_entries_3_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelEntry"); + afterParserOrEnumRuleCall(); + + + } + + + } + + + } + break; + + default : + break loop10; + } + } while (true); + + otherlv_4=(Token)match(input,21,FOLLOW_2); + + newLeafNode(otherlv_4, grammarAccess.getMetamodelSpecificationAccess().getRightCurlyBracketKeyword_3()); + + + } + + + } + + + leaveRule(); + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleMetamodelSpecification" + + + // $ANTLR start "entryRuleMetamodelEntry" + // InternalApplicationConfiguration.g:758:1: entryRuleMetamodelEntry returns [EObject current=null] : iv_ruleMetamodelEntry= ruleMetamodelEntry EOF ; + public final EObject entryRuleMetamodelEntry() throws RecognitionException { + EObject current = null; + + EObject iv_ruleMetamodelEntry = null; + + + try { + // InternalApplicationConfiguration.g:758:55: (iv_ruleMetamodelEntry= ruleMetamodelEntry EOF ) + // InternalApplicationConfiguration.g:759:2: iv_ruleMetamodelEntry= ruleMetamodelEntry EOF + { + newCompositeNode(grammarAccess.getMetamodelEntryRule()); + pushFollow(FOLLOW_1); + iv_ruleMetamodelEntry=ruleMetamodelEntry(); + + state._fsp--; + + current =iv_ruleMetamodelEntry; + match(input,EOF,FOLLOW_2); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleMetamodelEntry" + + + // $ANTLR start "ruleMetamodelEntry" + // InternalApplicationConfiguration.g:765:1: ruleMetamodelEntry returns [EObject current=null] : (this_MetamodelElement_0= ruleMetamodelElement | this_AllPackageEntry_1= ruleAllPackageEntry ) ; + public final EObject ruleMetamodelEntry() throws RecognitionException { + EObject current = null; + + EObject this_MetamodelElement_0 = null; + + EObject this_AllPackageEntry_1 = null; + + + + enterRule(); + + try { + // InternalApplicationConfiguration.g:771:2: ( (this_MetamodelElement_0= ruleMetamodelElement | this_AllPackageEntry_1= ruleAllPackageEntry ) ) + // InternalApplicationConfiguration.g:772:2: (this_MetamodelElement_0= ruleMetamodelElement | this_AllPackageEntry_1= ruleAllPackageEntry ) + { + // InternalApplicationConfiguration.g:772:2: (this_MetamodelElement_0= ruleMetamodelElement | this_AllPackageEntry_1= ruleAllPackageEntry ) + int alt11=2; + int LA11_0 = input.LA(1); + + if ( (LA11_0==RULE_ID) ) { + alt11=1; + } + else if ( (LA11_0==22) ) { + alt11=2; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 11, 0, input); + + throw nvae; + } + switch (alt11) { + case 1 : + // InternalApplicationConfiguration.g:773:3: this_MetamodelElement_0= ruleMetamodelElement + { + + newCompositeNode(grammarAccess.getMetamodelEntryAccess().getMetamodelElementParserRuleCall_0()); + + pushFollow(FOLLOW_2); + this_MetamodelElement_0=ruleMetamodelElement(); + + state._fsp--; + + + current = this_MetamodelElement_0; + afterParserOrEnumRuleCall(); + + + } + break; + case 2 : + // InternalApplicationConfiguration.g:782:3: this_AllPackageEntry_1= ruleAllPackageEntry + { + + newCompositeNode(grammarAccess.getMetamodelEntryAccess().getAllPackageEntryParserRuleCall_1()); + + pushFollow(FOLLOW_2); + this_AllPackageEntry_1=ruleAllPackageEntry(); + + state._fsp--; + + + current = this_AllPackageEntry_1; + afterParserOrEnumRuleCall(); + + + } + break; + + } + + + } + + + leaveRule(); + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleMetamodelEntry" + + + // $ANTLR start "entryRuleAllPackageEntry" + // InternalApplicationConfiguration.g:794:1: entryRuleAllPackageEntry returns [EObject current=null] : iv_ruleAllPackageEntry= ruleAllPackageEntry EOF ; + public final EObject entryRuleAllPackageEntry() throws RecognitionException { + EObject current = null; + + EObject iv_ruleAllPackageEntry = null; + + + try { + // InternalApplicationConfiguration.g:794:56: (iv_ruleAllPackageEntry= ruleAllPackageEntry EOF ) + // InternalApplicationConfiguration.g:795:2: iv_ruleAllPackageEntry= ruleAllPackageEntry EOF + { + newCompositeNode(grammarAccess.getAllPackageEntryRule()); + pushFollow(FOLLOW_1); + iv_ruleAllPackageEntry=ruleAllPackageEntry(); + + state._fsp--; + + current =iv_ruleAllPackageEntry; + match(input,EOF,FOLLOW_2); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleAllPackageEntry" + + + // $ANTLR start "ruleAllPackageEntry" + // InternalApplicationConfiguration.g:801:1: ruleAllPackageEntry returns [EObject current=null] : (otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleMetamodelElement ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )* otherlv_7= '}' )? ) ; + public final EObject ruleAllPackageEntry() throws RecognitionException { + EObject current = null; + + Token otherlv_0=null; + Token otherlv_2=null; + Token otherlv_3=null; + Token otherlv_5=null; + Token otherlv_7=null; + EObject lv_exclusion_4_0 = null; + + EObject lv_exclusion_6_0 = null; + + + + enterRule(); + + try { + // InternalApplicationConfiguration.g:807:2: ( (otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleMetamodelElement ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )* otherlv_7= '}' )? ) ) + // InternalApplicationConfiguration.g:808:2: (otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleMetamodelElement ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )* otherlv_7= '}' )? ) + { + // InternalApplicationConfiguration.g:808:2: (otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleMetamodelElement ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )* otherlv_7= '}' )? ) + // InternalApplicationConfiguration.g:809:3: otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleMetamodelElement ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )* otherlv_7= '}' )? + { + otherlv_0=(Token)match(input,22,FOLLOW_6); + + newLeafNode(otherlv_0, grammarAccess.getAllPackageEntryAccess().getPackageKeyword_0()); + + // InternalApplicationConfiguration.g:813:3: ( ( ruleQualifiedName ) ) + // InternalApplicationConfiguration.g:814:4: ( ruleQualifiedName ) + { + // InternalApplicationConfiguration.g:814:4: ( ruleQualifiedName ) + // InternalApplicationConfiguration.g:815:5: ruleQualifiedName + { + + if (current==null) { + current = createModelElement(grammarAccess.getAllPackageEntryRule()); + } + + + newCompositeNode(grammarAccess.getAllPackageEntryAccess().getPackageEPackageCrossReference_1_0()); + + pushFollow(FOLLOW_16); + ruleQualifiedName(); + + state._fsp--; + + + afterParserOrEnumRuleCall(); + + + } + + + } + + // InternalApplicationConfiguration.g:829:3: (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleMetamodelElement ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )* otherlv_7= '}' )? + int alt13=2; + int LA13_0 = input.LA(1); + + if ( (LA13_0==23) ) { + alt13=1; + } + switch (alt13) { + case 1 : + // InternalApplicationConfiguration.g:830:4: otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleMetamodelElement ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )* otherlv_7= '}' + { + otherlv_2=(Token)match(input,23,FOLLOW_17); + + newLeafNode(otherlv_2, grammarAccess.getAllPackageEntryAccess().getExcludingKeyword_2_0()); + + otherlv_3=(Token)match(input,19,FOLLOW_6); + + newLeafNode(otherlv_3, grammarAccess.getAllPackageEntryAccess().getLeftCurlyBracketKeyword_2_1()); + + // InternalApplicationConfiguration.g:838:4: ( (lv_exclusion_4_0= ruleMetamodelElement ) ) + // InternalApplicationConfiguration.g:839:5: (lv_exclusion_4_0= ruleMetamodelElement ) + { + // InternalApplicationConfiguration.g:839:5: (lv_exclusion_4_0= ruleMetamodelElement ) + // InternalApplicationConfiguration.g:840:6: lv_exclusion_4_0= ruleMetamodelElement + { + + newCompositeNode(grammarAccess.getAllPackageEntryAccess().getExclusionMetamodelElementParserRuleCall_2_2_0()); + + pushFollow(FOLLOW_15); + lv_exclusion_4_0=ruleMetamodelElement(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getAllPackageEntryRule()); + } + add( + current, + "exclusion", + lv_exclusion_4_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelElement"); + afterParserOrEnumRuleCall(); + + + } + + + } + + // InternalApplicationConfiguration.g:857:4: (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )* + loop12: + do { + int alt12=2; + int LA12_0 = input.LA(1); + + if ( (LA12_0==20) ) { + alt12=1; + } + + + switch (alt12) { + case 1 : + // InternalApplicationConfiguration.g:858:5: otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) + { + otherlv_5=(Token)match(input,20,FOLLOW_6); + + newLeafNode(otherlv_5, grammarAccess.getAllPackageEntryAccess().getCommaKeyword_2_3_0()); + + // InternalApplicationConfiguration.g:862:5: ( (lv_exclusion_6_0= ruleMetamodelElement ) ) + // InternalApplicationConfiguration.g:863:6: (lv_exclusion_6_0= ruleMetamodelElement ) + { + // InternalApplicationConfiguration.g:863:6: (lv_exclusion_6_0= ruleMetamodelElement ) + // InternalApplicationConfiguration.g:864:7: lv_exclusion_6_0= ruleMetamodelElement + { + + newCompositeNode(grammarAccess.getAllPackageEntryAccess().getExclusionMetamodelElementParserRuleCall_2_3_1_0()); + + pushFollow(FOLLOW_15); + lv_exclusion_6_0=ruleMetamodelElement(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getAllPackageEntryRule()); + } + add( + current, + "exclusion", + lv_exclusion_6_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelElement"); + afterParserOrEnumRuleCall(); + + + } + + + } + + + } + break; + + default : + break loop12; + } + } while (true); + + otherlv_7=(Token)match(input,21,FOLLOW_2); + + newLeafNode(otherlv_7, grammarAccess.getAllPackageEntryAccess().getRightCurlyBracketKeyword_2_4()); + + + } + break; + + } + + + } + + + } + + + leaveRule(); + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleAllPackageEntry" + + + // $ANTLR start "entryRuleMetamodelElement" + // InternalApplicationConfiguration.g:891:1: entryRuleMetamodelElement returns [EObject current=null] : iv_ruleMetamodelElement= ruleMetamodelElement EOF ; + public final EObject entryRuleMetamodelElement() throws RecognitionException { + EObject current = null; + + EObject iv_ruleMetamodelElement = null; + + + try { + // InternalApplicationConfiguration.g:891:57: (iv_ruleMetamodelElement= ruleMetamodelElement EOF ) + // InternalApplicationConfiguration.g:892:2: iv_ruleMetamodelElement= ruleMetamodelElement EOF + { + newCompositeNode(grammarAccess.getMetamodelElementRule()); + pushFollow(FOLLOW_1); + iv_ruleMetamodelElement=ruleMetamodelElement(); + + state._fsp--; + + current =iv_ruleMetamodelElement; + match(input,EOF,FOLLOW_2); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleMetamodelElement" + + + // $ANTLR start "ruleMetamodelElement" + // InternalApplicationConfiguration.g:898:1: ruleMetamodelElement returns [EObject current=null] : ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) (otherlv_3= '.' ( (otherlv_4= RULE_ID ) ) )? ) ; + public final EObject ruleMetamodelElement() throws RecognitionException { + EObject current = null; + + Token otherlv_1=null; + Token otherlv_2=null; + Token otherlv_3=null; + Token otherlv_4=null; + + + enterRule(); + + try { + // InternalApplicationConfiguration.g:904:2: ( ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) (otherlv_3= '.' ( (otherlv_4= RULE_ID ) ) )? ) ) + // InternalApplicationConfiguration.g:905:2: ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) (otherlv_3= '.' ( (otherlv_4= RULE_ID ) ) )? ) + { + // InternalApplicationConfiguration.g:905:2: ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) (otherlv_3= '.' ( (otherlv_4= RULE_ID ) ) )? ) + // InternalApplicationConfiguration.g:906:3: ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) (otherlv_3= '.' ( (otherlv_4= RULE_ID ) ) )? + { + // InternalApplicationConfiguration.g:906:3: ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? + int alt14=2; + int LA14_0 = input.LA(1); + + if ( (LA14_0==RULE_ID) ) { + int LA14_1 = input.LA(2); + + if ( (LA14_1==11) ) { + int LA14_2 = input.LA(3); + + if ( (LA14_2==RULE_ID) ) { + int LA14_5 = input.LA(4); + + if ( (LA14_5==11||LA14_5==24) ) { + alt14=1; + } + } + } + else if ( (LA14_1==24) ) { + alt14=1; + } + } + switch (alt14) { + case 1 : + // InternalApplicationConfiguration.g:907:4: ( ( ruleQualifiedName ) ) otherlv_1= '::' + { + // InternalApplicationConfiguration.g:907:4: ( ( ruleQualifiedName ) ) + // InternalApplicationConfiguration.g:908:5: ( ruleQualifiedName ) + { + // InternalApplicationConfiguration.g:908:5: ( ruleQualifiedName ) + // InternalApplicationConfiguration.g:909:6: ruleQualifiedName + { + + if (current==null) { + current = createModelElement(grammarAccess.getMetamodelElementRule()); + } + + + newCompositeNode(grammarAccess.getMetamodelElementAccess().getPackageEPackageCrossReference_0_0_0()); + + pushFollow(FOLLOW_18); + ruleQualifiedName(); + + state._fsp--; + + + afterParserOrEnumRuleCall(); + + + } + + + } + + otherlv_1=(Token)match(input,24,FOLLOW_6); + + newLeafNode(otherlv_1, grammarAccess.getMetamodelElementAccess().getColonColonKeyword_0_1()); + + + } + break; + + } + + // InternalApplicationConfiguration.g:928:3: ( (otherlv_2= RULE_ID ) ) + // InternalApplicationConfiguration.g:929:4: (otherlv_2= RULE_ID ) + { + // InternalApplicationConfiguration.g:929:4: (otherlv_2= RULE_ID ) + // InternalApplicationConfiguration.g:930:5: otherlv_2= RULE_ID + { + + if (current==null) { + current = createModelElement(grammarAccess.getMetamodelElementRule()); + } + + otherlv_2=(Token)match(input,RULE_ID,FOLLOW_5); + + newLeafNode(otherlv_2, grammarAccess.getMetamodelElementAccess().getClassifierEClassifierCrossReference_1_0()); + + + } + + + } + + // InternalApplicationConfiguration.g:941:3: (otherlv_3= '.' ( (otherlv_4= RULE_ID ) ) )? + int alt15=2; + int LA15_0 = input.LA(1); + + if ( (LA15_0==11) ) { + alt15=1; + } + switch (alt15) { + case 1 : + // InternalApplicationConfiguration.g:942:4: otherlv_3= '.' ( (otherlv_4= RULE_ID ) ) + { + otherlv_3=(Token)match(input,11,FOLLOW_6); + + newLeafNode(otherlv_3, grammarAccess.getMetamodelElementAccess().getFullStopKeyword_2_0()); + + // InternalApplicationConfiguration.g:946:4: ( (otherlv_4= RULE_ID ) ) + // InternalApplicationConfiguration.g:947:5: (otherlv_4= RULE_ID ) + { + // InternalApplicationConfiguration.g:947:5: (otherlv_4= RULE_ID ) + // InternalApplicationConfiguration.g:948:6: otherlv_4= RULE_ID + { + + if (current==null) { + current = createModelElement(grammarAccess.getMetamodelElementRule()); + } + + otherlv_4=(Token)match(input,RULE_ID,FOLLOW_2); + + newLeafNode(otherlv_4, grammarAccess.getMetamodelElementAccess().getFeatureENamedElementCrossReference_2_1_0()); + + + } + + + } + + + } + break; + + } + + + } + + + } + + + leaveRule(); + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleMetamodelElement" + + + // $ANTLR start "entryRuleMetamodelDeclaration" + // InternalApplicationConfiguration.g:964:1: entryRuleMetamodelDeclaration returns [EObject current=null] : iv_ruleMetamodelDeclaration= ruleMetamodelDeclaration EOF ; + public final EObject entryRuleMetamodelDeclaration() throws RecognitionException { + EObject current = null; + + EObject iv_ruleMetamodelDeclaration = null; + + + try { + // InternalApplicationConfiguration.g:964:61: (iv_ruleMetamodelDeclaration= ruleMetamodelDeclaration EOF ) + // InternalApplicationConfiguration.g:965:2: iv_ruleMetamodelDeclaration= ruleMetamodelDeclaration EOF + { + newCompositeNode(grammarAccess.getMetamodelDeclarationRule()); + pushFollow(FOLLOW_1); + iv_ruleMetamodelDeclaration=ruleMetamodelDeclaration(); + + state._fsp--; + + current =iv_ruleMetamodelDeclaration; + match(input,EOF,FOLLOW_2); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleMetamodelDeclaration" + + + // $ANTLR start "ruleMetamodelDeclaration" + // InternalApplicationConfiguration.g:971:1: ruleMetamodelDeclaration returns [EObject current=null] : (otherlv_0= 'metamodel' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleMetamodelSpecification ) ) ) ; + public final EObject ruleMetamodelDeclaration() throws RecognitionException { + EObject current = null; + + Token otherlv_0=null; + Token lv_name_1_0=null; + EObject lv_specification_2_0 = null; + + + + enterRule(); + + try { + // InternalApplicationConfiguration.g:977:2: ( (otherlv_0= 'metamodel' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleMetamodelSpecification ) ) ) ) + // InternalApplicationConfiguration.g:978:2: (otherlv_0= 'metamodel' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleMetamodelSpecification ) ) ) + { + // InternalApplicationConfiguration.g:978:2: (otherlv_0= 'metamodel' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleMetamodelSpecification ) ) ) + // InternalApplicationConfiguration.g:979:3: otherlv_0= 'metamodel' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleMetamodelSpecification ) ) + { + otherlv_0=(Token)match(input,25,FOLLOW_6); + + newLeafNode(otherlv_0, grammarAccess.getMetamodelDeclarationAccess().getMetamodelKeyword_0()); + + // InternalApplicationConfiguration.g:983:3: ( (lv_name_1_0= RULE_ID ) ) + // InternalApplicationConfiguration.g:984:4: (lv_name_1_0= RULE_ID ) + { + // InternalApplicationConfiguration.g:984:4: (lv_name_1_0= RULE_ID ) + // InternalApplicationConfiguration.g:985:5: lv_name_1_0= RULE_ID + { + lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_17); + + newLeafNode(lv_name_1_0, grammarAccess.getMetamodelDeclarationAccess().getNameIDTerminalRuleCall_1_0()); + + + if (current==null) { + current = createModelElement(grammarAccess.getMetamodelDeclarationRule()); + } + setWithLastConsumed( + current, + "name", + lv_name_1_0, + "org.eclipse.xtext.common.Terminals.ID"); + + + } + + + } + + // InternalApplicationConfiguration.g:1001:3: ( (lv_specification_2_0= ruleMetamodelSpecification ) ) + // InternalApplicationConfiguration.g:1002:4: (lv_specification_2_0= ruleMetamodelSpecification ) + { + // InternalApplicationConfiguration.g:1002:4: (lv_specification_2_0= ruleMetamodelSpecification ) + // InternalApplicationConfiguration.g:1003:5: lv_specification_2_0= ruleMetamodelSpecification + { + + newCompositeNode(grammarAccess.getMetamodelDeclarationAccess().getSpecificationMetamodelSpecificationParserRuleCall_2_0()); + + pushFollow(FOLLOW_2); + lv_specification_2_0=ruleMetamodelSpecification(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getMetamodelDeclarationRule()); + } + set( + current, + "specification", + lv_specification_2_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelSpecification"); + afterParserOrEnumRuleCall(); + + + } + + + } + + + } + + + } + + + leaveRule(); + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleMetamodelDeclaration" + + + // $ANTLR start "entryRuleMetamodelReference" + // InternalApplicationConfiguration.g:1024:1: entryRuleMetamodelReference returns [EObject current=null] : iv_ruleMetamodelReference= ruleMetamodelReference EOF ; + public final EObject entryRuleMetamodelReference() throws RecognitionException { + EObject current = null; + + EObject iv_ruleMetamodelReference = null; + + + try { + // InternalApplicationConfiguration.g:1024:59: (iv_ruleMetamodelReference= ruleMetamodelReference EOF ) + // InternalApplicationConfiguration.g:1025:2: iv_ruleMetamodelReference= ruleMetamodelReference EOF + { + newCompositeNode(grammarAccess.getMetamodelReferenceRule()); + pushFollow(FOLLOW_1); + iv_ruleMetamodelReference=ruleMetamodelReference(); + + state._fsp--; + + current =iv_ruleMetamodelReference; + match(input,EOF,FOLLOW_2); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleMetamodelReference" + + + // $ANTLR start "ruleMetamodelReference" + // InternalApplicationConfiguration.g:1031:1: ruleMetamodelReference returns [EObject current=null] : ( (otherlv_0= RULE_ID ) ) ; + public final EObject ruleMetamodelReference() throws RecognitionException { + EObject current = null; + + Token otherlv_0=null; + + + enterRule(); + + try { + // InternalApplicationConfiguration.g:1037:2: ( ( (otherlv_0= RULE_ID ) ) ) + // InternalApplicationConfiguration.g:1038:2: ( (otherlv_0= RULE_ID ) ) + { + // InternalApplicationConfiguration.g:1038:2: ( (otherlv_0= RULE_ID ) ) + // InternalApplicationConfiguration.g:1039:3: (otherlv_0= RULE_ID ) + { + // InternalApplicationConfiguration.g:1039:3: (otherlv_0= RULE_ID ) + // InternalApplicationConfiguration.g:1040:4: otherlv_0= RULE_ID + { + + if (current==null) { + current = createModelElement(grammarAccess.getMetamodelReferenceRule()); + } + + otherlv_0=(Token)match(input,RULE_ID,FOLLOW_2); + + newLeafNode(otherlv_0, grammarAccess.getMetamodelReferenceAccess().getReferredMetamodelDeclarationCrossReference_0()); + + + } + + + } + + + } + + + leaveRule(); + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleMetamodelReference" + + + // $ANTLR start "entryRuleMetamodel" + // InternalApplicationConfiguration.g:1054:1: entryRuleMetamodel returns [EObject current=null] : iv_ruleMetamodel= ruleMetamodel EOF ; + public final EObject entryRuleMetamodel() throws RecognitionException { + EObject current = null; + + EObject iv_ruleMetamodel = null; + + + try { + // InternalApplicationConfiguration.g:1054:50: (iv_ruleMetamodel= ruleMetamodel EOF ) + // InternalApplicationConfiguration.g:1055:2: iv_ruleMetamodel= ruleMetamodel EOF + { + newCompositeNode(grammarAccess.getMetamodelRule()); + pushFollow(FOLLOW_1); + iv_ruleMetamodel=ruleMetamodel(); + + state._fsp--; + + current =iv_ruleMetamodel; + match(input,EOF,FOLLOW_2); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleMetamodel" + + + // $ANTLR start "ruleMetamodel" + // InternalApplicationConfiguration.g:1061:1: ruleMetamodel returns [EObject current=null] : (this_MetamodelReference_0= ruleMetamodelReference | this_MetamodelSpecification_1= ruleMetamodelSpecification ) ; + public final EObject ruleMetamodel() throws RecognitionException { + EObject current = null; + + EObject this_MetamodelReference_0 = null; + + EObject this_MetamodelSpecification_1 = null; + + + + enterRule(); + + try { + // InternalApplicationConfiguration.g:1067:2: ( (this_MetamodelReference_0= ruleMetamodelReference | this_MetamodelSpecification_1= ruleMetamodelSpecification ) ) + // InternalApplicationConfiguration.g:1068:2: (this_MetamodelReference_0= ruleMetamodelReference | this_MetamodelSpecification_1= ruleMetamodelSpecification ) + { + // InternalApplicationConfiguration.g:1068:2: (this_MetamodelReference_0= ruleMetamodelReference | this_MetamodelSpecification_1= ruleMetamodelSpecification ) + int alt16=2; + int LA16_0 = input.LA(1); + + if ( (LA16_0==RULE_ID) ) { + alt16=1; + } + else if ( (LA16_0==19) ) { + alt16=2; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 16, 0, input); + + throw nvae; + } + switch (alt16) { + case 1 : + // InternalApplicationConfiguration.g:1069:3: this_MetamodelReference_0= ruleMetamodelReference + { + + newCompositeNode(grammarAccess.getMetamodelAccess().getMetamodelReferenceParserRuleCall_0()); + + pushFollow(FOLLOW_2); + this_MetamodelReference_0=ruleMetamodelReference(); + + state._fsp--; + + + current = this_MetamodelReference_0; + afterParserOrEnumRuleCall(); + + + } + break; + case 2 : + // InternalApplicationConfiguration.g:1078:3: this_MetamodelSpecification_1= ruleMetamodelSpecification + { + + newCompositeNode(grammarAccess.getMetamodelAccess().getMetamodelSpecificationParserRuleCall_1()); + + pushFollow(FOLLOW_2); + this_MetamodelSpecification_1=ruleMetamodelSpecification(); + + state._fsp--; + + + current = this_MetamodelSpecification_1; + afterParserOrEnumRuleCall(); + + + } + break; + + } + + + } + + + leaveRule(); + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleMetamodel" + + + // $ANTLR start "entryRulePartialModelSpecification" + // InternalApplicationConfiguration.g:1090:1: entryRulePartialModelSpecification returns [EObject current=null] : iv_rulePartialModelSpecification= rulePartialModelSpecification EOF ; + public final EObject entryRulePartialModelSpecification() throws RecognitionException { + EObject current = null; + + EObject iv_rulePartialModelSpecification = null; + + + try { + // InternalApplicationConfiguration.g:1090:66: (iv_rulePartialModelSpecification= rulePartialModelSpecification EOF ) + // InternalApplicationConfiguration.g:1091:2: iv_rulePartialModelSpecification= rulePartialModelSpecification EOF + { + newCompositeNode(grammarAccess.getPartialModelSpecificationRule()); + pushFollow(FOLLOW_1); + iv_rulePartialModelSpecification=rulePartialModelSpecification(); + + state._fsp--; + + current =iv_rulePartialModelSpecification; + match(input,EOF,FOLLOW_2); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRulePartialModelSpecification" + + + // $ANTLR start "rulePartialModelSpecification" + // InternalApplicationConfiguration.g:1097:1: rulePartialModelSpecification returns [EObject current=null] : (otherlv_0= '{' ( (lv_entry_1_0= rulePartialModelEntry ) ) (otherlv_2= ',' ( (lv_entry_3_0= rulePartialModelEntry ) ) )? otherlv_4= '}' ) ; + public final EObject rulePartialModelSpecification() throws RecognitionException { + EObject current = null; + + Token otherlv_0=null; + Token otherlv_2=null; + Token otherlv_4=null; + EObject lv_entry_1_0 = null; + + EObject lv_entry_3_0 = null; + + + + enterRule(); + + try { + // InternalApplicationConfiguration.g:1103:2: ( (otherlv_0= '{' ( (lv_entry_1_0= rulePartialModelEntry ) ) (otherlv_2= ',' ( (lv_entry_3_0= rulePartialModelEntry ) ) )? otherlv_4= '}' ) ) + // InternalApplicationConfiguration.g:1104:2: (otherlv_0= '{' ( (lv_entry_1_0= rulePartialModelEntry ) ) (otherlv_2= ',' ( (lv_entry_3_0= rulePartialModelEntry ) ) )? otherlv_4= '}' ) + { + // InternalApplicationConfiguration.g:1104:2: (otherlv_0= '{' ( (lv_entry_1_0= rulePartialModelEntry ) ) (otherlv_2= ',' ( (lv_entry_3_0= rulePartialModelEntry ) ) )? otherlv_4= '}' ) + // InternalApplicationConfiguration.g:1105:3: otherlv_0= '{' ( (lv_entry_1_0= rulePartialModelEntry ) ) (otherlv_2= ',' ( (lv_entry_3_0= rulePartialModelEntry ) ) )? otherlv_4= '}' + { + otherlv_0=(Token)match(input,19,FOLLOW_19); + + newLeafNode(otherlv_0, grammarAccess.getPartialModelSpecificationAccess().getLeftCurlyBracketKeyword_0()); + + // InternalApplicationConfiguration.g:1109:3: ( (lv_entry_1_0= rulePartialModelEntry ) ) + // InternalApplicationConfiguration.g:1110:4: (lv_entry_1_0= rulePartialModelEntry ) + { + // InternalApplicationConfiguration.g:1110:4: (lv_entry_1_0= rulePartialModelEntry ) + // InternalApplicationConfiguration.g:1111:5: lv_entry_1_0= rulePartialModelEntry + { + + newCompositeNode(grammarAccess.getPartialModelSpecificationAccess().getEntryPartialModelEntryParserRuleCall_1_0()); + + pushFollow(FOLLOW_15); + lv_entry_1_0=rulePartialModelEntry(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getPartialModelSpecificationRule()); + } + add( + current, + "entry", + lv_entry_1_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PartialModelEntry"); + afterParserOrEnumRuleCall(); + + + } + + + } + + // InternalApplicationConfiguration.g:1128:3: (otherlv_2= ',' ( (lv_entry_3_0= rulePartialModelEntry ) ) )? + int alt17=2; + int LA17_0 = input.LA(1); + + if ( (LA17_0==20) ) { + alt17=1; + } + switch (alt17) { + case 1 : + // InternalApplicationConfiguration.g:1129:4: otherlv_2= ',' ( (lv_entry_3_0= rulePartialModelEntry ) ) + { + otherlv_2=(Token)match(input,20,FOLLOW_19); + + newLeafNode(otherlv_2, grammarAccess.getPartialModelSpecificationAccess().getCommaKeyword_2_0()); + + // InternalApplicationConfiguration.g:1133:4: ( (lv_entry_3_0= rulePartialModelEntry ) ) + // InternalApplicationConfiguration.g:1134:5: (lv_entry_3_0= rulePartialModelEntry ) + { + // InternalApplicationConfiguration.g:1134:5: (lv_entry_3_0= rulePartialModelEntry ) + // InternalApplicationConfiguration.g:1135:6: lv_entry_3_0= rulePartialModelEntry + { + + newCompositeNode(grammarAccess.getPartialModelSpecificationAccess().getEntryPartialModelEntryParserRuleCall_2_1_0()); + + pushFollow(FOLLOW_20); + lv_entry_3_0=rulePartialModelEntry(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getPartialModelSpecificationRule()); + } + add( + current, + "entry", + lv_entry_3_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PartialModelEntry"); + afterParserOrEnumRuleCall(); + + + } + + + } + + + } + break; + + } + + otherlv_4=(Token)match(input,21,FOLLOW_2); + + newLeafNode(otherlv_4, grammarAccess.getPartialModelSpecificationAccess().getRightCurlyBracketKeyword_3()); + + + } + + + } + + + leaveRule(); + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "rulePartialModelSpecification" + + + // $ANTLR start "entryRulePartialModelEntry" + // InternalApplicationConfiguration.g:1161:1: entryRulePartialModelEntry returns [EObject current=null] : iv_rulePartialModelEntry= rulePartialModelEntry EOF ; + public final EObject entryRulePartialModelEntry() throws RecognitionException { + EObject current = null; + + EObject iv_rulePartialModelEntry = null; + + + try { + // InternalApplicationConfiguration.g:1161:58: (iv_rulePartialModelEntry= rulePartialModelEntry EOF ) + // InternalApplicationConfiguration.g:1162:2: iv_rulePartialModelEntry= rulePartialModelEntry EOF + { + newCompositeNode(grammarAccess.getPartialModelEntryRule()); + pushFollow(FOLLOW_1); + iv_rulePartialModelEntry=rulePartialModelEntry(); + + state._fsp--; + + current =iv_rulePartialModelEntry; + match(input,EOF,FOLLOW_2); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRulePartialModelEntry" + + + // $ANTLR start "rulePartialModelEntry" + // InternalApplicationConfiguration.g:1168:1: rulePartialModelEntry returns [EObject current=null] : (this_ModelEntry_0= ruleModelEntry | this_FolderEntry_1= ruleFolderEntry ) ; + public final EObject rulePartialModelEntry() throws RecognitionException { + EObject current = null; + + EObject this_ModelEntry_0 = null; + + EObject this_FolderEntry_1 = null; + + + + enterRule(); + + try { + // InternalApplicationConfiguration.g:1174:2: ( (this_ModelEntry_0= ruleModelEntry | this_FolderEntry_1= ruleFolderEntry ) ) + // InternalApplicationConfiguration.g:1175:2: (this_ModelEntry_0= ruleModelEntry | this_FolderEntry_1= ruleFolderEntry ) + { + // InternalApplicationConfiguration.g:1175:2: (this_ModelEntry_0= ruleModelEntry | this_FolderEntry_1= ruleFolderEntry ) + int alt18=2; + int LA18_0 = input.LA(1); + + if ( (LA18_0==RULE_ID||LA18_0==RULE_STRING) ) { + alt18=1; + } + else if ( (LA18_0==26) ) { + alt18=2; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 18, 0, input); + + throw nvae; + } + switch (alt18) { + case 1 : + // InternalApplicationConfiguration.g:1176:3: this_ModelEntry_0= ruleModelEntry + { + + newCompositeNode(grammarAccess.getPartialModelEntryAccess().getModelEntryParserRuleCall_0()); + + pushFollow(FOLLOW_2); + this_ModelEntry_0=ruleModelEntry(); + + state._fsp--; + + + current = this_ModelEntry_0; + afterParserOrEnumRuleCall(); + + + } + break; + case 2 : + // InternalApplicationConfiguration.g:1185:3: this_FolderEntry_1= ruleFolderEntry + { + + newCompositeNode(grammarAccess.getPartialModelEntryAccess().getFolderEntryParserRuleCall_1()); + + pushFollow(FOLLOW_2); + this_FolderEntry_1=ruleFolderEntry(); + + state._fsp--; + + + current = this_FolderEntry_1; + afterParserOrEnumRuleCall(); + + + } + break; + + } + + + } + + + leaveRule(); + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "rulePartialModelEntry" + + + // $ANTLR start "entryRuleModelEntry" + // InternalApplicationConfiguration.g:1197:1: entryRuleModelEntry returns [EObject current=null] : iv_ruleModelEntry= ruleModelEntry EOF ; + public final EObject entryRuleModelEntry() throws RecognitionException { + EObject current = null; + + EObject iv_ruleModelEntry = null; + + + try { + // InternalApplicationConfiguration.g:1197:51: (iv_ruleModelEntry= ruleModelEntry EOF ) + // InternalApplicationConfiguration.g:1198:2: iv_ruleModelEntry= ruleModelEntry EOF + { + newCompositeNode(grammarAccess.getModelEntryRule()); + pushFollow(FOLLOW_1); + iv_ruleModelEntry=ruleModelEntry(); + + state._fsp--; + + current =iv_ruleModelEntry; + match(input,EOF,FOLLOW_2); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleModelEntry" + + + // $ANTLR start "ruleModelEntry" + // InternalApplicationConfiguration.g:1204:1: ruleModelEntry returns [EObject current=null] : ( (lv_path_0_0= ruleFile ) ) ; + public final EObject ruleModelEntry() throws RecognitionException { + EObject current = null; + + EObject lv_path_0_0 = null; + + + + enterRule(); + + try { + // InternalApplicationConfiguration.g:1210:2: ( ( (lv_path_0_0= ruleFile ) ) ) + // InternalApplicationConfiguration.g:1211:2: ( (lv_path_0_0= ruleFile ) ) + { + // InternalApplicationConfiguration.g:1211:2: ( (lv_path_0_0= ruleFile ) ) + // InternalApplicationConfiguration.g:1212:3: (lv_path_0_0= ruleFile ) + { + // InternalApplicationConfiguration.g:1212:3: (lv_path_0_0= ruleFile ) + // InternalApplicationConfiguration.g:1213:4: lv_path_0_0= ruleFile + { + + newCompositeNode(grammarAccess.getModelEntryAccess().getPathFileParserRuleCall_0()); + + pushFollow(FOLLOW_2); + lv_path_0_0=ruleFile(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getModelEntryRule()); + } + set( + current, + "path", + lv_path_0_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File"); + afterParserOrEnumRuleCall(); + + + } + + + } + + + } + + + leaveRule(); + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleModelEntry" + + + // $ANTLR start "entryRuleFolderEntry" + // InternalApplicationConfiguration.g:1233:1: entryRuleFolderEntry returns [EObject current=null] : iv_ruleFolderEntry= ruleFolderEntry EOF ; + public final EObject entryRuleFolderEntry() throws RecognitionException { + EObject current = null; + + EObject iv_ruleFolderEntry = null; + + + try { + // InternalApplicationConfiguration.g:1233:52: (iv_ruleFolderEntry= ruleFolderEntry EOF ) + // InternalApplicationConfiguration.g:1234:2: iv_ruleFolderEntry= ruleFolderEntry EOF + { + newCompositeNode(grammarAccess.getFolderEntryRule()); + pushFollow(FOLLOW_1); + iv_ruleFolderEntry=ruleFolderEntry(); + + state._fsp--; + + current =iv_ruleFolderEntry; + match(input,EOF,FOLLOW_2); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleFolderEntry" + + + // $ANTLR start "ruleFolderEntry" + // InternalApplicationConfiguration.g:1240:1: ruleFolderEntry returns [EObject current=null] : (otherlv_0= 'folder' ( (lv_path_1_0= ruleFile ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleModelEntry ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) )* otherlv_7= '}' )? ) ; + public final EObject ruleFolderEntry() throws RecognitionException { + EObject current = null; + + Token otherlv_0=null; + Token otherlv_2=null; + Token otherlv_3=null; + Token otherlv_5=null; + Token otherlv_7=null; + EObject lv_path_1_0 = null; + + EObject lv_exclusion_4_0 = null; + + EObject lv_exclusion_6_0 = null; + + + + enterRule(); + + try { + // InternalApplicationConfiguration.g:1246:2: ( (otherlv_0= 'folder' ( (lv_path_1_0= ruleFile ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleModelEntry ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) )* otherlv_7= '}' )? ) ) + // InternalApplicationConfiguration.g:1247:2: (otherlv_0= 'folder' ( (lv_path_1_0= ruleFile ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleModelEntry ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) )* otherlv_7= '}' )? ) + { + // InternalApplicationConfiguration.g:1247:2: (otherlv_0= 'folder' ( (lv_path_1_0= ruleFile ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleModelEntry ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) )* otherlv_7= '}' )? ) + // InternalApplicationConfiguration.g:1248:3: otherlv_0= 'folder' ( (lv_path_1_0= ruleFile ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleModelEntry ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) )* otherlv_7= '}' )? + { + otherlv_0=(Token)match(input,26,FOLLOW_21); + + newLeafNode(otherlv_0, grammarAccess.getFolderEntryAccess().getFolderKeyword_0()); + + // InternalApplicationConfiguration.g:1252:3: ( (lv_path_1_0= ruleFile ) ) + // InternalApplicationConfiguration.g:1253:4: (lv_path_1_0= ruleFile ) + { + // InternalApplicationConfiguration.g:1253:4: (lv_path_1_0= ruleFile ) + // InternalApplicationConfiguration.g:1254:5: lv_path_1_0= ruleFile + { + + newCompositeNode(grammarAccess.getFolderEntryAccess().getPathFileParserRuleCall_1_0()); + + pushFollow(FOLLOW_16); + lv_path_1_0=ruleFile(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getFolderEntryRule()); + } + set( + current, + "path", + lv_path_1_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File"); + afterParserOrEnumRuleCall(); + + + } + + + } + + // InternalApplicationConfiguration.g:1271:3: (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleModelEntry ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) )* otherlv_7= '}' )? + int alt20=2; + int LA20_0 = input.LA(1); + + if ( (LA20_0==23) ) { + alt20=1; + } + switch (alt20) { + case 1 : + // InternalApplicationConfiguration.g:1272:4: otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleModelEntry ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) )* otherlv_7= '}' + { + otherlv_2=(Token)match(input,23,FOLLOW_17); + + newLeafNode(otherlv_2, grammarAccess.getFolderEntryAccess().getExcludingKeyword_2_0()); + + otherlv_3=(Token)match(input,19,FOLLOW_21); + + newLeafNode(otherlv_3, grammarAccess.getFolderEntryAccess().getLeftCurlyBracketKeyword_2_1()); + + // InternalApplicationConfiguration.g:1280:4: ( (lv_exclusion_4_0= ruleModelEntry ) ) + // InternalApplicationConfiguration.g:1281:5: (lv_exclusion_4_0= ruleModelEntry ) + { + // InternalApplicationConfiguration.g:1281:5: (lv_exclusion_4_0= ruleModelEntry ) + // InternalApplicationConfiguration.g:1282:6: lv_exclusion_4_0= ruleModelEntry + { + + newCompositeNode(grammarAccess.getFolderEntryAccess().getExclusionModelEntryParserRuleCall_2_2_0()); + + pushFollow(FOLLOW_15); + lv_exclusion_4_0=ruleModelEntry(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getFolderEntryRule()); + } + add( + current, + "exclusion", + lv_exclusion_4_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ModelEntry"); + afterParserOrEnumRuleCall(); + + + } + + + } + + // InternalApplicationConfiguration.g:1299:4: (otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) )* + loop19: + do { + int alt19=2; + int LA19_0 = input.LA(1); + + if ( (LA19_0==20) ) { + alt19=1; + } + + + switch (alt19) { + case 1 : + // InternalApplicationConfiguration.g:1300:5: otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) + { + otherlv_5=(Token)match(input,20,FOLLOW_21); + + newLeafNode(otherlv_5, grammarAccess.getFolderEntryAccess().getCommaKeyword_2_3_0()); + + // InternalApplicationConfiguration.g:1304:5: ( (lv_exclusion_6_0= ruleModelEntry ) ) + // InternalApplicationConfiguration.g:1305:6: (lv_exclusion_6_0= ruleModelEntry ) + { + // InternalApplicationConfiguration.g:1305:6: (lv_exclusion_6_0= ruleModelEntry ) + // InternalApplicationConfiguration.g:1306:7: lv_exclusion_6_0= ruleModelEntry + { + + newCompositeNode(grammarAccess.getFolderEntryAccess().getExclusionModelEntryParserRuleCall_2_3_1_0()); + + pushFollow(FOLLOW_15); + lv_exclusion_6_0=ruleModelEntry(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getFolderEntryRule()); + } + add( + current, + "exclusion", + lv_exclusion_6_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ModelEntry"); + afterParserOrEnumRuleCall(); + + + } + + + } + + + } + break; + + default : + break loop19; + } + } while (true); + + otherlv_7=(Token)match(input,21,FOLLOW_2); + + newLeafNode(otherlv_7, grammarAccess.getFolderEntryAccess().getRightCurlyBracketKeyword_2_4()); + + + } + break; + + } + + + } + + + } + + + leaveRule(); + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleFolderEntry" + + + // $ANTLR start "entryRulePartialModelDeclaration" + // InternalApplicationConfiguration.g:1333:1: entryRulePartialModelDeclaration returns [EObject current=null] : iv_rulePartialModelDeclaration= rulePartialModelDeclaration EOF ; + public final EObject entryRulePartialModelDeclaration() throws RecognitionException { + EObject current = null; + + EObject iv_rulePartialModelDeclaration = null; + + + try { + // InternalApplicationConfiguration.g:1333:64: (iv_rulePartialModelDeclaration= rulePartialModelDeclaration EOF ) + // InternalApplicationConfiguration.g:1334:2: iv_rulePartialModelDeclaration= rulePartialModelDeclaration EOF + { + newCompositeNode(grammarAccess.getPartialModelDeclarationRule()); + pushFollow(FOLLOW_1); + iv_rulePartialModelDeclaration=rulePartialModelDeclaration(); + + state._fsp--; + + current =iv_rulePartialModelDeclaration; + match(input,EOF,FOLLOW_2); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRulePartialModelDeclaration" + + + // $ANTLR start "rulePartialModelDeclaration" + // InternalApplicationConfiguration.g:1340: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; + + Token otherlv_0=null; + Token lv_name_1_0=null; + EObject lv_specification_2_0 = null; + + + + enterRule(); + + try { + // InternalApplicationConfiguration.g:1346:2: ( (otherlv_0= 'models' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePartialModelSpecification ) ) ) ) + // InternalApplicationConfiguration.g:1347:2: (otherlv_0= 'models' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePartialModelSpecification ) ) ) + { + // InternalApplicationConfiguration.g:1347:2: (otherlv_0= 'models' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePartialModelSpecification ) ) ) + // InternalApplicationConfiguration.g:1348:3: otherlv_0= 'models' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePartialModelSpecification ) ) + { + otherlv_0=(Token)match(input,27,FOLLOW_6); + + newLeafNode(otherlv_0, grammarAccess.getPartialModelDeclarationAccess().getModelsKeyword_0()); + + // InternalApplicationConfiguration.g:1352:3: ( (lv_name_1_0= RULE_ID ) ) + // InternalApplicationConfiguration.g:1353:4: (lv_name_1_0= RULE_ID ) + { + // InternalApplicationConfiguration.g:1353:4: (lv_name_1_0= RULE_ID ) + // InternalApplicationConfiguration.g:1354:5: lv_name_1_0= RULE_ID + { + lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_17); + + newLeafNode(lv_name_1_0, grammarAccess.getPartialModelDeclarationAccess().getNameIDTerminalRuleCall_1_0()); + + + if (current==null) { + current = createModelElement(grammarAccess.getPartialModelDeclarationRule()); + } + setWithLastConsumed( + current, + "name", + lv_name_1_0, + "org.eclipse.xtext.common.Terminals.ID"); + + + } + + + } + + // InternalApplicationConfiguration.g:1370:3: ( (lv_specification_2_0= rulePartialModelSpecification ) ) + // InternalApplicationConfiguration.g:1371:4: (lv_specification_2_0= rulePartialModelSpecification ) + { + // InternalApplicationConfiguration.g:1371:4: (lv_specification_2_0= rulePartialModelSpecification ) + // InternalApplicationConfiguration.g:1372:5: lv_specification_2_0= rulePartialModelSpecification + { + + newCompositeNode(grammarAccess.getPartialModelDeclarationAccess().getSpecificationPartialModelSpecificationParserRuleCall_2_0()); + + pushFollow(FOLLOW_2); + lv_specification_2_0=rulePartialModelSpecification(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getPartialModelDeclarationRule()); + } + set( + current, + "specification", + lv_specification_2_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PartialModelSpecification"); + afterParserOrEnumRuleCall(); + + + } + + + } + + + } + + + } + + + leaveRule(); + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "rulePartialModelDeclaration" + + + // $ANTLR start "entryRulePartialModelReference" + // InternalApplicationConfiguration.g:1393:1: entryRulePartialModelReference returns [EObject current=null] : iv_rulePartialModelReference= rulePartialModelReference EOF ; + public final EObject entryRulePartialModelReference() throws RecognitionException { + EObject current = null; + + EObject iv_rulePartialModelReference = null; + + + try { + // InternalApplicationConfiguration.g:1393:62: (iv_rulePartialModelReference= rulePartialModelReference EOF ) + // InternalApplicationConfiguration.g:1394:2: iv_rulePartialModelReference= rulePartialModelReference EOF + { + newCompositeNode(grammarAccess.getPartialModelReferenceRule()); + pushFollow(FOLLOW_1); + iv_rulePartialModelReference=rulePartialModelReference(); + + state._fsp--; + + current =iv_rulePartialModelReference; + match(input,EOF,FOLLOW_2); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRulePartialModelReference" + + + // $ANTLR start "rulePartialModelReference" + // InternalApplicationConfiguration.g:1400:1: rulePartialModelReference returns [EObject current=null] : ( (otherlv_0= RULE_ID ) ) ; + public final EObject rulePartialModelReference() throws RecognitionException { + EObject current = null; + + Token otherlv_0=null; + + + enterRule(); + + try { + // InternalApplicationConfiguration.g:1406:2: ( ( (otherlv_0= RULE_ID ) ) ) + // InternalApplicationConfiguration.g:1407:2: ( (otherlv_0= RULE_ID ) ) + { + // InternalApplicationConfiguration.g:1407:2: ( (otherlv_0= RULE_ID ) ) + // InternalApplicationConfiguration.g:1408:3: (otherlv_0= RULE_ID ) + { + // InternalApplicationConfiguration.g:1408:3: (otherlv_0= RULE_ID ) + // InternalApplicationConfiguration.g:1409:4: otherlv_0= RULE_ID + { + + if (current==null) { + current = createModelElement(grammarAccess.getPartialModelReferenceRule()); + } + + otherlv_0=(Token)match(input,RULE_ID,FOLLOW_2); + + newLeafNode(otherlv_0, grammarAccess.getPartialModelReferenceAccess().getReferredPartialModelDeclarationCrossReference_0()); + + + } + + + } + + + } + + + leaveRule(); + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "rulePartialModelReference" + + + // $ANTLR start "entryRulePartialModel" + // InternalApplicationConfiguration.g:1423:1: entryRulePartialModel returns [EObject current=null] : iv_rulePartialModel= rulePartialModel EOF ; + public final EObject entryRulePartialModel() throws RecognitionException { + EObject current = null; + + EObject iv_rulePartialModel = null; + + + try { + // InternalApplicationConfiguration.g:1423:53: (iv_rulePartialModel= rulePartialModel EOF ) + // InternalApplicationConfiguration.g:1424:2: iv_rulePartialModel= rulePartialModel EOF + { + newCompositeNode(grammarAccess.getPartialModelRule()); + pushFollow(FOLLOW_1); + iv_rulePartialModel=rulePartialModel(); + + state._fsp--; + + current =iv_rulePartialModel; + match(input,EOF,FOLLOW_2); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRulePartialModel" + + + // $ANTLR start "rulePartialModel" + // InternalApplicationConfiguration.g:1430:1: rulePartialModel returns [EObject current=null] : (this_PartialModelSpecification_0= rulePartialModelSpecification | this_PartialModelReference_1= rulePartialModelReference ) ; + public final EObject rulePartialModel() throws RecognitionException { + EObject current = null; + + EObject this_PartialModelSpecification_0 = null; + + EObject this_PartialModelReference_1 = null; + + + + enterRule(); + + try { + // InternalApplicationConfiguration.g:1436:2: ( (this_PartialModelSpecification_0= rulePartialModelSpecification | this_PartialModelReference_1= rulePartialModelReference ) ) + // InternalApplicationConfiguration.g:1437:2: (this_PartialModelSpecification_0= rulePartialModelSpecification | this_PartialModelReference_1= rulePartialModelReference ) + { + // InternalApplicationConfiguration.g:1437:2: (this_PartialModelSpecification_0= rulePartialModelSpecification | this_PartialModelReference_1= rulePartialModelReference ) + int alt21=2; + int LA21_0 = input.LA(1); + + if ( (LA21_0==19) ) { + alt21=1; + } + else if ( (LA21_0==RULE_ID) ) { + alt21=2; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 21, 0, input); + + throw nvae; + } + switch (alt21) { + case 1 : + // InternalApplicationConfiguration.g:1438:3: this_PartialModelSpecification_0= rulePartialModelSpecification + { + + newCompositeNode(grammarAccess.getPartialModelAccess().getPartialModelSpecificationParserRuleCall_0()); + + pushFollow(FOLLOW_2); + this_PartialModelSpecification_0=rulePartialModelSpecification(); + + state._fsp--; + + + current = this_PartialModelSpecification_0; + afterParserOrEnumRuleCall(); + + + } + break; + case 2 : + // InternalApplicationConfiguration.g:1447:3: this_PartialModelReference_1= rulePartialModelReference + { + + newCompositeNode(grammarAccess.getPartialModelAccess().getPartialModelReferenceParserRuleCall_1()); + + pushFollow(FOLLOW_2); + this_PartialModelReference_1=rulePartialModelReference(); + + state._fsp--; + + + current = this_PartialModelReference_1; + afterParserOrEnumRuleCall(); + + + } + break; + + } + + + } + + + leaveRule(); + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "rulePartialModel" + + + // $ANTLR start "entryRulePatternSpecification" + // InternalApplicationConfiguration.g:1459:1: entryRulePatternSpecification returns [EObject current=null] : iv_rulePatternSpecification= rulePatternSpecification EOF ; + public final EObject entryRulePatternSpecification() throws RecognitionException { + EObject current = null; + + EObject iv_rulePatternSpecification = null; + + + try { + // InternalApplicationConfiguration.g:1459:61: (iv_rulePatternSpecification= rulePatternSpecification EOF ) + // InternalApplicationConfiguration.g:1460:2: iv_rulePatternSpecification= rulePatternSpecification EOF + { + newCompositeNode(grammarAccess.getPatternSpecificationRule()); + pushFollow(FOLLOW_1); + iv_rulePatternSpecification=rulePatternSpecification(); + + state._fsp--; + + current =iv_rulePatternSpecification; + match(input,EOF,FOLLOW_2); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRulePatternSpecification" + + + // $ANTLR start "rulePatternSpecification" + // InternalApplicationConfiguration.g:1466:1: rulePatternSpecification returns [EObject current=null] : (otherlv_0= '{' ( (lv_entries_1_0= rulePatternEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= rulePatternEntry ) ) )* otherlv_4= '}' ) ; + public final EObject rulePatternSpecification() throws RecognitionException { + EObject current = null; + + Token otherlv_0=null; + Token otherlv_2=null; + Token otherlv_4=null; + EObject lv_entries_1_0 = null; + + EObject lv_entries_3_0 = null; + + + + enterRule(); + + try { + // InternalApplicationConfiguration.g:1472:2: ( (otherlv_0= '{' ( (lv_entries_1_0= rulePatternEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= rulePatternEntry ) ) )* otherlv_4= '}' ) ) + // InternalApplicationConfiguration.g:1473:2: (otherlv_0= '{' ( (lv_entries_1_0= rulePatternEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= rulePatternEntry ) ) )* otherlv_4= '}' ) + { + // InternalApplicationConfiguration.g:1473:2: (otherlv_0= '{' ( (lv_entries_1_0= rulePatternEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= rulePatternEntry ) ) )* otherlv_4= '}' ) + // InternalApplicationConfiguration.g:1474:3: otherlv_0= '{' ( (lv_entries_1_0= rulePatternEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= rulePatternEntry ) ) )* otherlv_4= '}' + { + otherlv_0=(Token)match(input,19,FOLLOW_14); + + newLeafNode(otherlv_0, grammarAccess.getPatternSpecificationAccess().getLeftCurlyBracketKeyword_0()); + + // InternalApplicationConfiguration.g:1478:3: ( (lv_entries_1_0= rulePatternEntry ) ) + // InternalApplicationConfiguration.g:1479:4: (lv_entries_1_0= rulePatternEntry ) + { + // InternalApplicationConfiguration.g:1479:4: (lv_entries_1_0= rulePatternEntry ) + // InternalApplicationConfiguration.g:1480:5: lv_entries_1_0= rulePatternEntry + { + + newCompositeNode(grammarAccess.getPatternSpecificationAccess().getEntriesPatternEntryParserRuleCall_1_0()); + + pushFollow(FOLLOW_15); + lv_entries_1_0=rulePatternEntry(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getPatternSpecificationRule()); + } + add( + current, + "entries", + lv_entries_1_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternEntry"); + afterParserOrEnumRuleCall(); + + + } + + + } + + // InternalApplicationConfiguration.g:1497:3: (otherlv_2= ',' ( (lv_entries_3_0= rulePatternEntry ) ) )* + loop22: + do { + int alt22=2; + int LA22_0 = input.LA(1); + + if ( (LA22_0==20) ) { + alt22=1; + } + + + switch (alt22) { + case 1 : + // InternalApplicationConfiguration.g:1498:4: otherlv_2= ',' ( (lv_entries_3_0= rulePatternEntry ) ) + { + otherlv_2=(Token)match(input,20,FOLLOW_14); + + newLeafNode(otherlv_2, grammarAccess.getPatternSpecificationAccess().getCommaKeyword_2_0()); + + // InternalApplicationConfiguration.g:1502:4: ( (lv_entries_3_0= rulePatternEntry ) ) + // InternalApplicationConfiguration.g:1503:5: (lv_entries_3_0= rulePatternEntry ) + { + // InternalApplicationConfiguration.g:1503:5: (lv_entries_3_0= rulePatternEntry ) + // InternalApplicationConfiguration.g:1504:6: lv_entries_3_0= rulePatternEntry + { + + newCompositeNode(grammarAccess.getPatternSpecificationAccess().getEntriesPatternEntryParserRuleCall_2_1_0()); + + pushFollow(FOLLOW_15); + lv_entries_3_0=rulePatternEntry(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getPatternSpecificationRule()); + } + add( + current, + "entries", + lv_entries_3_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternEntry"); + afterParserOrEnumRuleCall(); + + + } + + + } + + + } + break; + + default : + break loop22; + } + } while (true); + + otherlv_4=(Token)match(input,21,FOLLOW_2); + + newLeafNode(otherlv_4, grammarAccess.getPatternSpecificationAccess().getRightCurlyBracketKeyword_3()); + + + } + + + } + + + leaveRule(); + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "rulePatternSpecification" + + + // $ANTLR start "entryRulePatternEntry" + // InternalApplicationConfiguration.g:1530:1: entryRulePatternEntry returns [EObject current=null] : iv_rulePatternEntry= rulePatternEntry EOF ; + public final EObject entryRulePatternEntry() throws RecognitionException { + EObject current = null; + + EObject iv_rulePatternEntry = null; + + + try { + // InternalApplicationConfiguration.g:1530:53: (iv_rulePatternEntry= rulePatternEntry EOF ) + // InternalApplicationConfiguration.g:1531:2: iv_rulePatternEntry= rulePatternEntry EOF + { + newCompositeNode(grammarAccess.getPatternEntryRule()); + pushFollow(FOLLOW_1); + iv_rulePatternEntry=rulePatternEntry(); + + state._fsp--; + + current =iv_rulePatternEntry; + match(input,EOF,FOLLOW_2); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRulePatternEntry" + + + // $ANTLR start "rulePatternEntry" + // InternalApplicationConfiguration.g:1537:1: rulePatternEntry returns [EObject current=null] : (this_PatternElement_0= rulePatternElement | this_AllPatternEntry_1= ruleAllPatternEntry ) ; + public final EObject rulePatternEntry() throws RecognitionException { + EObject current = null; + + EObject this_PatternElement_0 = null; + + EObject this_AllPatternEntry_1 = null; + + + + enterRule(); + + try { + // InternalApplicationConfiguration.g:1543:2: ( (this_PatternElement_0= rulePatternElement | this_AllPatternEntry_1= ruleAllPatternEntry ) ) + // InternalApplicationConfiguration.g:1544:2: (this_PatternElement_0= rulePatternElement | this_AllPatternEntry_1= ruleAllPatternEntry ) + { + // InternalApplicationConfiguration.g:1544:2: (this_PatternElement_0= rulePatternElement | this_AllPatternEntry_1= ruleAllPatternEntry ) + int alt23=2; + int LA23_0 = input.LA(1); + + if ( (LA23_0==RULE_ID) ) { + alt23=1; + } + else if ( (LA23_0==22) ) { + alt23=2; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 23, 0, input); + + throw nvae; + } + switch (alt23) { + case 1 : + // InternalApplicationConfiguration.g:1545:3: this_PatternElement_0= rulePatternElement + { + + newCompositeNode(grammarAccess.getPatternEntryAccess().getPatternElementParserRuleCall_0()); + + pushFollow(FOLLOW_2); + this_PatternElement_0=rulePatternElement(); + + state._fsp--; + + + current = this_PatternElement_0; + afterParserOrEnumRuleCall(); + + + } + break; + case 2 : + // InternalApplicationConfiguration.g:1554:3: this_AllPatternEntry_1= ruleAllPatternEntry + { + + newCompositeNode(grammarAccess.getPatternEntryAccess().getAllPatternEntryParserRuleCall_1()); + + pushFollow(FOLLOW_2); + this_AllPatternEntry_1=ruleAllPatternEntry(); + + state._fsp--; + + + current = this_AllPatternEntry_1; + afterParserOrEnumRuleCall(); + + + } + break; + + } + + + } + + + leaveRule(); + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "rulePatternEntry" + + + // $ANTLR start "entryRuleAllPatternEntry" + // InternalApplicationConfiguration.g:1566:1: entryRuleAllPatternEntry returns [EObject current=null] : iv_ruleAllPatternEntry= ruleAllPatternEntry EOF ; + public final EObject entryRuleAllPatternEntry() throws RecognitionException { + EObject current = null; + + EObject iv_ruleAllPatternEntry = null; + + + try { + // InternalApplicationConfiguration.g:1566:56: (iv_ruleAllPatternEntry= ruleAllPatternEntry EOF ) + // InternalApplicationConfiguration.g:1567:2: iv_ruleAllPatternEntry= ruleAllPatternEntry EOF + { + newCompositeNode(grammarAccess.getAllPatternEntryRule()); + pushFollow(FOLLOW_1); + iv_ruleAllPatternEntry=ruleAllPatternEntry(); + + state._fsp--; + + current =iv_ruleAllPatternEntry; + match(input,EOF,FOLLOW_2); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleAllPatternEntry" + + + // $ANTLR start "ruleAllPatternEntry" + // InternalApplicationConfiguration.g:1573:1: ruleAllPatternEntry returns [EObject current=null] : (otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusuion_4_0= rulePatternElement ) ) (otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) )* otherlv_7= '}' )? ) ; + public final EObject ruleAllPatternEntry() throws RecognitionException { + EObject current = null; + + Token otherlv_0=null; + Token otherlv_2=null; + Token otherlv_3=null; + Token otherlv_5=null; + Token otherlv_7=null; + EObject lv_exclusuion_4_0 = null; + + EObject lv_exclusuion_6_0 = null; + + + + enterRule(); + + try { + // InternalApplicationConfiguration.g:1579:2: ( (otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusuion_4_0= rulePatternElement ) ) (otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) )* otherlv_7= '}' )? ) ) + // InternalApplicationConfiguration.g:1580:2: (otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusuion_4_0= rulePatternElement ) ) (otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) )* otherlv_7= '}' )? ) + { + // InternalApplicationConfiguration.g:1580:2: (otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusuion_4_0= rulePatternElement ) ) (otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) )* otherlv_7= '}' )? ) + // InternalApplicationConfiguration.g:1581:3: otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusuion_4_0= rulePatternElement ) ) (otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) )* otherlv_7= '}' )? + { + otherlv_0=(Token)match(input,22,FOLLOW_6); + + newLeafNode(otherlv_0, grammarAccess.getAllPatternEntryAccess().getPackageKeyword_0()); + + // InternalApplicationConfiguration.g:1585:3: ( ( ruleQualifiedName ) ) + // InternalApplicationConfiguration.g:1586:4: ( ruleQualifiedName ) + { + // InternalApplicationConfiguration.g:1586:4: ( ruleQualifiedName ) + // InternalApplicationConfiguration.g:1587:5: ruleQualifiedName + { + + if (current==null) { + current = createModelElement(grammarAccess.getAllPatternEntryRule()); + } + + + newCompositeNode(grammarAccess.getAllPatternEntryAccess().getPackagePatternModelCrossReference_1_0()); + + pushFollow(FOLLOW_16); + ruleQualifiedName(); + + state._fsp--; + + + afterParserOrEnumRuleCall(); + + + } + + + } + + // InternalApplicationConfiguration.g:1601:3: (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusuion_4_0= rulePatternElement ) ) (otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) )* otherlv_7= '}' )? + int alt25=2; + int LA25_0 = input.LA(1); + + if ( (LA25_0==23) ) { + alt25=1; + } + switch (alt25) { + case 1 : + // InternalApplicationConfiguration.g:1602:4: otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusuion_4_0= rulePatternElement ) ) (otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) )* otherlv_7= '}' + { + otherlv_2=(Token)match(input,23,FOLLOW_17); + + newLeafNode(otherlv_2, grammarAccess.getAllPatternEntryAccess().getExcludingKeyword_2_0()); + + otherlv_3=(Token)match(input,19,FOLLOW_6); + + newLeafNode(otherlv_3, grammarAccess.getAllPatternEntryAccess().getLeftCurlyBracketKeyword_2_1()); + + // InternalApplicationConfiguration.g:1610:4: ( (lv_exclusuion_4_0= rulePatternElement ) ) + // InternalApplicationConfiguration.g:1611:5: (lv_exclusuion_4_0= rulePatternElement ) + { + // InternalApplicationConfiguration.g:1611:5: (lv_exclusuion_4_0= rulePatternElement ) + // InternalApplicationConfiguration.g:1612:6: lv_exclusuion_4_0= rulePatternElement + { + + newCompositeNode(grammarAccess.getAllPatternEntryAccess().getExclusuionPatternElementParserRuleCall_2_2_0()); + + pushFollow(FOLLOW_15); + lv_exclusuion_4_0=rulePatternElement(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getAllPatternEntryRule()); + } + add( + current, + "exclusuion", + lv_exclusuion_4_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternElement"); + afterParserOrEnumRuleCall(); + + + } + + + } + + // InternalApplicationConfiguration.g:1629:4: (otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) )* + loop24: + do { + int alt24=2; + int LA24_0 = input.LA(1); + + if ( (LA24_0==20) ) { + alt24=1; + } + + + switch (alt24) { + case 1 : + // InternalApplicationConfiguration.g:1630:5: otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) + { + otherlv_5=(Token)match(input,20,FOLLOW_6); + + newLeafNode(otherlv_5, grammarAccess.getAllPatternEntryAccess().getCommaKeyword_2_3_0()); + + // InternalApplicationConfiguration.g:1634:5: ( (lv_exclusuion_6_0= rulePatternElement ) ) + // InternalApplicationConfiguration.g:1635:6: (lv_exclusuion_6_0= rulePatternElement ) + { + // InternalApplicationConfiguration.g:1635:6: (lv_exclusuion_6_0= rulePatternElement ) + // InternalApplicationConfiguration.g:1636:7: lv_exclusuion_6_0= rulePatternElement + { + + newCompositeNode(grammarAccess.getAllPatternEntryAccess().getExclusuionPatternElementParserRuleCall_2_3_1_0()); + + pushFollow(FOLLOW_15); + lv_exclusuion_6_0=rulePatternElement(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getAllPatternEntryRule()); + } + add( + current, + "exclusuion", + lv_exclusuion_6_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternElement"); + afterParserOrEnumRuleCall(); + + + } + + + } + + + } + break; + + default : + break loop24; + } + } while (true); + + otherlv_7=(Token)match(input,21,FOLLOW_2); + + newLeafNode(otherlv_7, grammarAccess.getAllPatternEntryAccess().getRightCurlyBracketKeyword_2_4()); + + + } + break; + + } + + + } + + + } + + + leaveRule(); + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleAllPatternEntry" + + + // $ANTLR start "entryRulePatternElement" + // InternalApplicationConfiguration.g:1663:1: entryRulePatternElement returns [EObject current=null] : iv_rulePatternElement= rulePatternElement EOF ; + public final EObject entryRulePatternElement() throws RecognitionException { + EObject current = null; + + EObject iv_rulePatternElement = null; + + + try { + // InternalApplicationConfiguration.g:1663:55: (iv_rulePatternElement= rulePatternElement EOF ) + // InternalApplicationConfiguration.g:1664:2: iv_rulePatternElement= rulePatternElement EOF + { + newCompositeNode(grammarAccess.getPatternElementRule()); + pushFollow(FOLLOW_1); + iv_rulePatternElement=rulePatternElement(); + + state._fsp--; + + current =iv_rulePatternElement; + match(input,EOF,FOLLOW_2); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRulePatternElement" + + + // $ANTLR start "rulePatternElement" + // InternalApplicationConfiguration.g:1670:1: rulePatternElement returns [EObject current=null] : ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) ) ; + public final EObject rulePatternElement() throws RecognitionException { + EObject current = null; + + Token otherlv_1=null; + Token otherlv_2=null; + + + enterRule(); + + try { + // InternalApplicationConfiguration.g:1676:2: ( ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) ) ) + // InternalApplicationConfiguration.g:1677:2: ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) ) + { + // InternalApplicationConfiguration.g:1677:2: ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) ) + // InternalApplicationConfiguration.g:1678:3: ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) + { + // InternalApplicationConfiguration.g:1678:3: ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? + int alt26=2; + int LA26_0 = input.LA(1); + + if ( (LA26_0==RULE_ID) ) { + int LA26_1 = input.LA(2); + + if ( (LA26_1==11||LA26_1==24) ) { + alt26=1; + } + } + switch (alt26) { + case 1 : + // InternalApplicationConfiguration.g:1679:4: ( ( ruleQualifiedName ) ) otherlv_1= '::' + { + // InternalApplicationConfiguration.g:1679:4: ( ( ruleQualifiedName ) ) + // InternalApplicationConfiguration.g:1680:5: ( ruleQualifiedName ) + { + // InternalApplicationConfiguration.g:1680:5: ( ruleQualifiedName ) + // InternalApplicationConfiguration.g:1681:6: ruleQualifiedName + { + + if (current==null) { + current = createModelElement(grammarAccess.getPatternElementRule()); + } + + + newCompositeNode(grammarAccess.getPatternElementAccess().getPackagePatternModelCrossReference_0_0_0()); + + pushFollow(FOLLOW_18); + ruleQualifiedName(); + + state._fsp--; + + + afterParserOrEnumRuleCall(); + + + } + + + } + + otherlv_1=(Token)match(input,24,FOLLOW_6); + + newLeafNode(otherlv_1, grammarAccess.getPatternElementAccess().getColonColonKeyword_0_1()); + + + } + break; + + } + + // InternalApplicationConfiguration.g:1700:3: ( (otherlv_2= RULE_ID ) ) + // InternalApplicationConfiguration.g:1701:4: (otherlv_2= RULE_ID ) + { + // InternalApplicationConfiguration.g:1701:4: (otherlv_2= RULE_ID ) + // InternalApplicationConfiguration.g:1702:5: otherlv_2= RULE_ID + { + + if (current==null) { + current = createModelElement(grammarAccess.getPatternElementRule()); + } + + otherlv_2=(Token)match(input,RULE_ID,FOLLOW_2); + + newLeafNode(otherlv_2, grammarAccess.getPatternElementAccess().getPatternPatternCrossReference_1_0()); + + + } + + + } + + + } + + + } + + + leaveRule(); + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "rulePatternElement" + + + // $ANTLR start "entryRuleGraphPatternDeclaration" + // InternalApplicationConfiguration.g:1717:1: entryRuleGraphPatternDeclaration returns [EObject current=null] : iv_ruleGraphPatternDeclaration= ruleGraphPatternDeclaration EOF ; + public final EObject entryRuleGraphPatternDeclaration() throws RecognitionException { + EObject current = null; + + EObject iv_ruleGraphPatternDeclaration = null; + + + try { + // InternalApplicationConfiguration.g:1717:64: (iv_ruleGraphPatternDeclaration= ruleGraphPatternDeclaration EOF ) + // InternalApplicationConfiguration.g:1718:2: iv_ruleGraphPatternDeclaration= ruleGraphPatternDeclaration EOF + { + newCompositeNode(grammarAccess.getGraphPatternDeclarationRule()); + pushFollow(FOLLOW_1); + iv_ruleGraphPatternDeclaration=ruleGraphPatternDeclaration(); + + state._fsp--; + + current =iv_ruleGraphPatternDeclaration; + match(input,EOF,FOLLOW_2); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleGraphPatternDeclaration" + + + // $ANTLR start "ruleGraphPatternDeclaration" + // InternalApplicationConfiguration.g:1724:1: ruleGraphPatternDeclaration returns [EObject current=null] : (otherlv_0= 'constraints' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePatternSpecification ) ) ) ; + public final EObject ruleGraphPatternDeclaration() throws RecognitionException { + EObject current = null; + + Token otherlv_0=null; + Token lv_name_1_0=null; + EObject lv_specification_2_0 = null; + + + + enterRule(); + + try { + // InternalApplicationConfiguration.g:1730:2: ( (otherlv_0= 'constraints' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePatternSpecification ) ) ) ) + // InternalApplicationConfiguration.g:1731:2: (otherlv_0= 'constraints' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePatternSpecification ) ) ) + { + // InternalApplicationConfiguration.g:1731:2: (otherlv_0= 'constraints' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePatternSpecification ) ) ) + // InternalApplicationConfiguration.g:1732:3: otherlv_0= 'constraints' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePatternSpecification ) ) + { + otherlv_0=(Token)match(input,28,FOLLOW_6); + + newLeafNode(otherlv_0, grammarAccess.getGraphPatternDeclarationAccess().getConstraintsKeyword_0()); + + // InternalApplicationConfiguration.g:1736:3: ( (lv_name_1_0= RULE_ID ) ) + // InternalApplicationConfiguration.g:1737:4: (lv_name_1_0= RULE_ID ) + { + // InternalApplicationConfiguration.g:1737:4: (lv_name_1_0= RULE_ID ) + // InternalApplicationConfiguration.g:1738:5: lv_name_1_0= RULE_ID + { + lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_17); + + newLeafNode(lv_name_1_0, grammarAccess.getGraphPatternDeclarationAccess().getNameIDTerminalRuleCall_1_0()); + + + if (current==null) { + current = createModelElement(grammarAccess.getGraphPatternDeclarationRule()); + } + setWithLastConsumed( + current, + "name", + lv_name_1_0, + "org.eclipse.xtext.common.Terminals.ID"); + + + } + + + } + + // InternalApplicationConfiguration.g:1754:3: ( (lv_specification_2_0= rulePatternSpecification ) ) + // InternalApplicationConfiguration.g:1755:4: (lv_specification_2_0= rulePatternSpecification ) + { + // InternalApplicationConfiguration.g:1755:4: (lv_specification_2_0= rulePatternSpecification ) + // InternalApplicationConfiguration.g:1756:5: lv_specification_2_0= rulePatternSpecification + { + + newCompositeNode(grammarAccess.getGraphPatternDeclarationAccess().getSpecificationPatternSpecificationParserRuleCall_2_0()); + + pushFollow(FOLLOW_2); + lv_specification_2_0=rulePatternSpecification(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getGraphPatternDeclarationRule()); + } + set( + current, + "specification", + lv_specification_2_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternSpecification"); + afterParserOrEnumRuleCall(); + + + } + + + } + + + } + + + } + + + leaveRule(); + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleGraphPatternDeclaration" + + + // $ANTLR start "entryRuleGraphPatternReference" + // InternalApplicationConfiguration.g:1777:1: entryRuleGraphPatternReference returns [EObject current=null] : iv_ruleGraphPatternReference= ruleGraphPatternReference EOF ; + public final EObject entryRuleGraphPatternReference() throws RecognitionException { + EObject current = null; + + EObject iv_ruleGraphPatternReference = null; + + + try { + // InternalApplicationConfiguration.g:1777:62: (iv_ruleGraphPatternReference= ruleGraphPatternReference EOF ) + // InternalApplicationConfiguration.g:1778:2: iv_ruleGraphPatternReference= ruleGraphPatternReference EOF + { + newCompositeNode(grammarAccess.getGraphPatternReferenceRule()); + pushFollow(FOLLOW_1); + iv_ruleGraphPatternReference=ruleGraphPatternReference(); + + state._fsp--; + + current =iv_ruleGraphPatternReference; + match(input,EOF,FOLLOW_2); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleGraphPatternReference" + + + // $ANTLR start "ruleGraphPatternReference" + // InternalApplicationConfiguration.g:1784:1: ruleGraphPatternReference returns [EObject current=null] : ( (otherlv_0= RULE_ID ) ) ; + public final EObject ruleGraphPatternReference() throws RecognitionException { + EObject current = null; + + Token otherlv_0=null; + + + enterRule(); + + try { + // InternalApplicationConfiguration.g:1790:2: ( ( (otherlv_0= RULE_ID ) ) ) + // InternalApplicationConfiguration.g:1791:2: ( (otherlv_0= RULE_ID ) ) + { + // InternalApplicationConfiguration.g:1791:2: ( (otherlv_0= RULE_ID ) ) + // InternalApplicationConfiguration.g:1792:3: (otherlv_0= RULE_ID ) + { + // InternalApplicationConfiguration.g:1792:3: (otherlv_0= RULE_ID ) + // InternalApplicationConfiguration.g:1793:4: otherlv_0= RULE_ID + { + + if (current==null) { + current = createModelElement(grammarAccess.getGraphPatternReferenceRule()); + } + + otherlv_0=(Token)match(input,RULE_ID,FOLLOW_2); + + newLeafNode(otherlv_0, grammarAccess.getGraphPatternReferenceAccess().getReferredGraphPatternDeclarationCrossReference_0()); + + + } + + + } + + + } + + + leaveRule(); + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleGraphPatternReference" + + + // $ANTLR start "entryRuleGraphPattern" + // InternalApplicationConfiguration.g:1807:1: entryRuleGraphPattern returns [EObject current=null] : iv_ruleGraphPattern= ruleGraphPattern EOF ; + public final EObject entryRuleGraphPattern() throws RecognitionException { + EObject current = null; + + EObject iv_ruleGraphPattern = null; + + + try { + // InternalApplicationConfiguration.g:1807:53: (iv_ruleGraphPattern= ruleGraphPattern EOF ) + // InternalApplicationConfiguration.g:1808:2: iv_ruleGraphPattern= ruleGraphPattern EOF + { + newCompositeNode(grammarAccess.getGraphPatternRule()); + pushFollow(FOLLOW_1); + iv_ruleGraphPattern=ruleGraphPattern(); + + state._fsp--; + + current =iv_ruleGraphPattern; + match(input,EOF,FOLLOW_2); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleGraphPattern" + + + // $ANTLR start "ruleGraphPattern" + // InternalApplicationConfiguration.g:1814:1: ruleGraphPattern returns [EObject current=null] : (this_GraphPatternReference_0= ruleGraphPatternReference | this_PatternSpecification_1= rulePatternSpecification ) ; + public final EObject ruleGraphPattern() throws RecognitionException { + EObject current = null; + + EObject this_GraphPatternReference_0 = null; + + EObject this_PatternSpecification_1 = null; + + + + enterRule(); + + try { + // InternalApplicationConfiguration.g:1820:2: ( (this_GraphPatternReference_0= ruleGraphPatternReference | this_PatternSpecification_1= rulePatternSpecification ) ) + // InternalApplicationConfiguration.g:1821:2: (this_GraphPatternReference_0= ruleGraphPatternReference | this_PatternSpecification_1= rulePatternSpecification ) + { + // InternalApplicationConfiguration.g:1821:2: (this_GraphPatternReference_0= ruleGraphPatternReference | this_PatternSpecification_1= rulePatternSpecification ) + int alt27=2; + int LA27_0 = input.LA(1); + + if ( (LA27_0==RULE_ID) ) { + alt27=1; + } + else if ( (LA27_0==19) ) { + alt27=2; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 27, 0, input); + + throw nvae; + } + switch (alt27) { + case 1 : + // InternalApplicationConfiguration.g:1822:3: this_GraphPatternReference_0= ruleGraphPatternReference + { + + newCompositeNode(grammarAccess.getGraphPatternAccess().getGraphPatternReferenceParserRuleCall_0()); + + pushFollow(FOLLOW_2); + this_GraphPatternReference_0=ruleGraphPatternReference(); + + state._fsp--; + + + current = this_GraphPatternReference_0; + afterParserOrEnumRuleCall(); + + + } + break; + case 2 : + // InternalApplicationConfiguration.g:1831:3: this_PatternSpecification_1= rulePatternSpecification + { + + newCompositeNode(grammarAccess.getGraphPatternAccess().getPatternSpecificationParserRuleCall_1()); + + pushFollow(FOLLOW_2); + this_PatternSpecification_1=rulePatternSpecification(); + + state._fsp--; + + + current = this_PatternSpecification_1; + afterParserOrEnumRuleCall(); + + + } + break; + + } + + + } + + + leaveRule(); + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleGraphPattern" + + + // $ANTLR start "entryRuleObjectiveSpecification" + // InternalApplicationConfiguration.g:1843:1: entryRuleObjectiveSpecification returns [EObject current=null] : iv_ruleObjectiveSpecification= ruleObjectiveSpecification EOF ; + public final EObject entryRuleObjectiveSpecification() throws RecognitionException { + EObject current = null; + + EObject iv_ruleObjectiveSpecification = null; + + + try { + // InternalApplicationConfiguration.g:1843:63: (iv_ruleObjectiveSpecification= ruleObjectiveSpecification EOF ) + // InternalApplicationConfiguration.g:1844:2: iv_ruleObjectiveSpecification= ruleObjectiveSpecification EOF + { + newCompositeNode(grammarAccess.getObjectiveSpecificationRule()); + pushFollow(FOLLOW_1); + iv_ruleObjectiveSpecification=ruleObjectiveSpecification(); + + state._fsp--; + + current =iv_ruleObjectiveSpecification; + match(input,EOF,FOLLOW_2); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleObjectiveSpecification" + + + // $ANTLR start "ruleObjectiveSpecification" + // InternalApplicationConfiguration.g:1850:1: ruleObjectiveSpecification returns [EObject current=null] : (otherlv_0= '{' ( (lv_entries_1_0= ruleObjectiveEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= ruleObjectiveEntry ) ) )* otherlv_4= '}' ) ; + public final EObject ruleObjectiveSpecification() throws RecognitionException { + EObject current = null; + + Token otherlv_0=null; + Token otherlv_2=null; + Token otherlv_4=null; + EObject lv_entries_1_0 = null; + + EObject lv_entries_3_0 = null; + + + + enterRule(); + + try { + // InternalApplicationConfiguration.g:1856:2: ( (otherlv_0= '{' ( (lv_entries_1_0= ruleObjectiveEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= ruleObjectiveEntry ) ) )* otherlv_4= '}' ) ) + // InternalApplicationConfiguration.g:1857:2: (otherlv_0= '{' ( (lv_entries_1_0= ruleObjectiveEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= ruleObjectiveEntry ) ) )* otherlv_4= '}' ) + { + // InternalApplicationConfiguration.g:1857:2: (otherlv_0= '{' ( (lv_entries_1_0= ruleObjectiveEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= ruleObjectiveEntry ) ) )* otherlv_4= '}' ) + // InternalApplicationConfiguration.g:1858:3: otherlv_0= '{' ( (lv_entries_1_0= ruleObjectiveEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= ruleObjectiveEntry ) ) )* otherlv_4= '}' + { + otherlv_0=(Token)match(input,19,FOLLOW_22); + + newLeafNode(otherlv_0, grammarAccess.getObjectiveSpecificationAccess().getLeftCurlyBracketKeyword_0()); + + // InternalApplicationConfiguration.g:1862:3: ( (lv_entries_1_0= ruleObjectiveEntry ) ) + // InternalApplicationConfiguration.g:1863:4: (lv_entries_1_0= ruleObjectiveEntry ) + { + // InternalApplicationConfiguration.g:1863:4: (lv_entries_1_0= ruleObjectiveEntry ) + // InternalApplicationConfiguration.g:1864:5: lv_entries_1_0= ruleObjectiveEntry + { + + newCompositeNode(grammarAccess.getObjectiveSpecificationAccess().getEntriesObjectiveEntryParserRuleCall_1_0()); + + pushFollow(FOLLOW_15); + lv_entries_1_0=ruleObjectiveEntry(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getObjectiveSpecificationRule()); + } + add( + current, + "entries", + lv_entries_1_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ObjectiveEntry"); + afterParserOrEnumRuleCall(); + + + } + + + } + + // InternalApplicationConfiguration.g:1881:3: (otherlv_2= ',' ( (lv_entries_3_0= ruleObjectiveEntry ) ) )* + loop28: + do { + int alt28=2; + int LA28_0 = input.LA(1); + + if ( (LA28_0==20) ) { + alt28=1; + } + + + switch (alt28) { + case 1 : + // InternalApplicationConfiguration.g:1882:4: otherlv_2= ',' ( (lv_entries_3_0= ruleObjectiveEntry ) ) + { + otherlv_2=(Token)match(input,20,FOLLOW_22); + + newLeafNode(otherlv_2, grammarAccess.getObjectiveSpecificationAccess().getCommaKeyword_2_0()); + + // InternalApplicationConfiguration.g:1886:4: ( (lv_entries_3_0= ruleObjectiveEntry ) ) + // InternalApplicationConfiguration.g:1887:5: (lv_entries_3_0= ruleObjectiveEntry ) + { + // InternalApplicationConfiguration.g:1887:5: (lv_entries_3_0= ruleObjectiveEntry ) + // InternalApplicationConfiguration.g:1888:6: lv_entries_3_0= ruleObjectiveEntry + { + + newCompositeNode(grammarAccess.getObjectiveSpecificationAccess().getEntriesObjectiveEntryParserRuleCall_2_1_0()); + + pushFollow(FOLLOW_15); + lv_entries_3_0=ruleObjectiveEntry(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getObjectiveSpecificationRule()); + } + add( + current, + "entries", + lv_entries_3_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ObjectiveEntry"); + afterParserOrEnumRuleCall(); + + + } + + + } + + + } + break; + + default : + break loop28; + } + } while (true); + + otherlv_4=(Token)match(input,21,FOLLOW_2); + + newLeafNode(otherlv_4, grammarAccess.getObjectiveSpecificationAccess().getRightCurlyBracketKeyword_3()); + + + } + + + } + + + leaveRule(); + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleObjectiveSpecification" + + + // $ANTLR start "entryRuleObjectiveEntry" + // InternalApplicationConfiguration.g:1914:1: entryRuleObjectiveEntry returns [EObject current=null] : iv_ruleObjectiveEntry= ruleObjectiveEntry EOF ; + public final EObject entryRuleObjectiveEntry() throws RecognitionException { + EObject current = null; + + EObject iv_ruleObjectiveEntry = null; + + + try { + // InternalApplicationConfiguration.g:1914:55: (iv_ruleObjectiveEntry= ruleObjectiveEntry EOF ) + // InternalApplicationConfiguration.g:1915:2: iv_ruleObjectiveEntry= ruleObjectiveEntry EOF + { + newCompositeNode(grammarAccess.getObjectiveEntryRule()); + pushFollow(FOLLOW_1); + iv_ruleObjectiveEntry=ruleObjectiveEntry(); + + state._fsp--; + + current =iv_ruleObjectiveEntry; + match(input,EOF,FOLLOW_2); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleObjectiveEntry" + + + // $ANTLR start "ruleObjectiveEntry" + // InternalApplicationConfiguration.g:1921:1: ruleObjectiveEntry returns [EObject current=null] : (this_OptimizationEntry_0= ruleOptimizationEntry | this_ThresholdEntry_1= ruleThresholdEntry ) ; + public final EObject ruleObjectiveEntry() throws RecognitionException { + EObject current = null; + + EObject this_OptimizationEntry_0 = null; + + EObject this_ThresholdEntry_1 = null; + + + + enterRule(); + + try { + // InternalApplicationConfiguration.g:1927:2: ( (this_OptimizationEntry_0= ruleOptimizationEntry | this_ThresholdEntry_1= ruleThresholdEntry ) ) + // InternalApplicationConfiguration.g:1928:2: (this_OptimizationEntry_0= ruleOptimizationEntry | this_ThresholdEntry_1= ruleThresholdEntry ) + { + // InternalApplicationConfiguration.g:1928:2: (this_OptimizationEntry_0= ruleOptimizationEntry | this_ThresholdEntry_1= ruleThresholdEntry ) + int alt29=2; + int LA29_0 = input.LA(1); + + if ( ((LA29_0>=54 && LA29_0<=55)) ) { + alt29=1; + } + else if ( (LA29_0==16) ) { + alt29=2; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 29, 0, input); + + throw nvae; + } + switch (alt29) { + case 1 : + // InternalApplicationConfiguration.g:1929:3: this_OptimizationEntry_0= ruleOptimizationEntry + { + + newCompositeNode(grammarAccess.getObjectiveEntryAccess().getOptimizationEntryParserRuleCall_0()); + + pushFollow(FOLLOW_2); + this_OptimizationEntry_0=ruleOptimizationEntry(); + + state._fsp--; + + + current = this_OptimizationEntry_0; + afterParserOrEnumRuleCall(); + + + } + break; + case 2 : + // InternalApplicationConfiguration.g:1938:3: this_ThresholdEntry_1= ruleThresholdEntry + { + + newCompositeNode(grammarAccess.getObjectiveEntryAccess().getThresholdEntryParserRuleCall_1()); + + pushFollow(FOLLOW_2); + this_ThresholdEntry_1=ruleThresholdEntry(); + + state._fsp--; + + + current = this_ThresholdEntry_1; + afterParserOrEnumRuleCall(); + + + } + break; + + } + + + } + + + leaveRule(); + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleObjectiveEntry" + + + // $ANTLR start "entryRuleOptimizationEntry" + // InternalApplicationConfiguration.g:1950:1: entryRuleOptimizationEntry returns [EObject current=null] : iv_ruleOptimizationEntry= ruleOptimizationEntry EOF ; + public final EObject entryRuleOptimizationEntry() throws RecognitionException { + EObject current = null; + + EObject iv_ruleOptimizationEntry = null; + + + try { + // InternalApplicationConfiguration.g:1950:58: (iv_ruleOptimizationEntry= ruleOptimizationEntry EOF ) + // InternalApplicationConfiguration.g:1951:2: iv_ruleOptimizationEntry= ruleOptimizationEntry EOF + { + newCompositeNode(grammarAccess.getOptimizationEntryRule()); + pushFollow(FOLLOW_1); + iv_ruleOptimizationEntry=ruleOptimizationEntry(); + + state._fsp--; + + current =iv_ruleOptimizationEntry; + match(input,EOF,FOLLOW_2); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleOptimizationEntry" + + + // $ANTLR start "ruleOptimizationEntry" + // InternalApplicationConfiguration.g:1957:1: ruleOptimizationEntry returns [EObject current=null] : ( ( (lv_direction_0_0= ruleOptimizationDirection ) ) ( (lv_function_1_0= ruleObjectiveFunction ) ) ) ; + public final EObject ruleOptimizationEntry() throws RecognitionException { + EObject current = null; + + Enumerator lv_direction_0_0 = null; + + EObject lv_function_1_0 = null; + + + + enterRule(); + + try { + // InternalApplicationConfiguration.g:1963:2: ( ( ( (lv_direction_0_0= ruleOptimizationDirection ) ) ( (lv_function_1_0= ruleObjectiveFunction ) ) ) ) + // InternalApplicationConfiguration.g:1964:2: ( ( (lv_direction_0_0= ruleOptimizationDirection ) ) ( (lv_function_1_0= ruleObjectiveFunction ) ) ) + { + // InternalApplicationConfiguration.g:1964:2: ( ( (lv_direction_0_0= ruleOptimizationDirection ) ) ( (lv_function_1_0= ruleObjectiveFunction ) ) ) + // InternalApplicationConfiguration.g:1965:3: ( (lv_direction_0_0= ruleOptimizationDirection ) ) ( (lv_function_1_0= ruleObjectiveFunction ) ) + { + // InternalApplicationConfiguration.g:1965:3: ( (lv_direction_0_0= ruleOptimizationDirection ) ) + // InternalApplicationConfiguration.g:1966:4: (lv_direction_0_0= ruleOptimizationDirection ) + { + // InternalApplicationConfiguration.g:1966:4: (lv_direction_0_0= ruleOptimizationDirection ) + // InternalApplicationConfiguration.g:1967:5: lv_direction_0_0= ruleOptimizationDirection + { + + newCompositeNode(grammarAccess.getOptimizationEntryAccess().getDirectionOptimizationDirectionEnumRuleCall_0_0()); + + pushFollow(FOLLOW_22); + lv_direction_0_0=ruleOptimizationDirection(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getOptimizationEntryRule()); + } + set( + current, + "direction", + lv_direction_0_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.OptimizationDirection"); + afterParserOrEnumRuleCall(); + + + } + + + } + + // InternalApplicationConfiguration.g:1984:3: ( (lv_function_1_0= ruleObjectiveFunction ) ) + // InternalApplicationConfiguration.g:1985:4: (lv_function_1_0= ruleObjectiveFunction ) + { + // InternalApplicationConfiguration.g:1985:4: (lv_function_1_0= ruleObjectiveFunction ) + // InternalApplicationConfiguration.g:1986:5: lv_function_1_0= ruleObjectiveFunction + { + + newCompositeNode(grammarAccess.getOptimizationEntryAccess().getFunctionObjectiveFunctionParserRuleCall_1_0()); + + pushFollow(FOLLOW_2); + lv_function_1_0=ruleObjectiveFunction(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getOptimizationEntryRule()); + } + set( + current, + "function", + lv_function_1_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ObjectiveFunction"); + afterParserOrEnumRuleCall(); + + + } + + + } + + + } + + + } + + + leaveRule(); + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleOptimizationEntry" + + + // $ANTLR start "entryRuleThresholdEntry" + // InternalApplicationConfiguration.g:2007:1: entryRuleThresholdEntry returns [EObject current=null] : iv_ruleThresholdEntry= ruleThresholdEntry EOF ; + public final EObject entryRuleThresholdEntry() throws RecognitionException { + EObject current = null; + + EObject iv_ruleThresholdEntry = null; + + + try { + // InternalApplicationConfiguration.g:2007:55: (iv_ruleThresholdEntry= ruleThresholdEntry EOF ) + // InternalApplicationConfiguration.g:2008:2: iv_ruleThresholdEntry= ruleThresholdEntry EOF + { + newCompositeNode(grammarAccess.getThresholdEntryRule()); + pushFollow(FOLLOW_1); + iv_ruleThresholdEntry=ruleThresholdEntry(); + + state._fsp--; + + current =iv_ruleThresholdEntry; + match(input,EOF,FOLLOW_2); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleThresholdEntry" + + + // $ANTLR start "ruleThresholdEntry" + // InternalApplicationConfiguration.g:2014:1: ruleThresholdEntry returns [EObject current=null] : ( ( (lv_function_0_0= ruleObjectiveFunction ) ) ( (lv_operator_1_0= ruleComparisonOperator ) ) ( (lv_threshold_2_0= ruleREALLiteral ) ) ) ; + public final EObject ruleThresholdEntry() throws RecognitionException { + EObject current = null; + + EObject lv_function_0_0 = null; + + Enumerator lv_operator_1_0 = null; + + AntlrDatatypeRuleToken lv_threshold_2_0 = null; + + + + enterRule(); + + try { + // InternalApplicationConfiguration.g:2020:2: ( ( ( (lv_function_0_0= ruleObjectiveFunction ) ) ( (lv_operator_1_0= ruleComparisonOperator ) ) ( (lv_threshold_2_0= ruleREALLiteral ) ) ) ) + // InternalApplicationConfiguration.g:2021:2: ( ( (lv_function_0_0= ruleObjectiveFunction ) ) ( (lv_operator_1_0= ruleComparisonOperator ) ) ( (lv_threshold_2_0= ruleREALLiteral ) ) ) + { + // InternalApplicationConfiguration.g:2021:2: ( ( (lv_function_0_0= ruleObjectiveFunction ) ) ( (lv_operator_1_0= ruleComparisonOperator ) ) ( (lv_threshold_2_0= ruleREALLiteral ) ) ) + // InternalApplicationConfiguration.g:2022:3: ( (lv_function_0_0= ruleObjectiveFunction ) ) ( (lv_operator_1_0= ruleComparisonOperator ) ) ( (lv_threshold_2_0= ruleREALLiteral ) ) + { + // InternalApplicationConfiguration.g:2022:3: ( (lv_function_0_0= ruleObjectiveFunction ) ) + // InternalApplicationConfiguration.g:2023:4: (lv_function_0_0= ruleObjectiveFunction ) + { + // InternalApplicationConfiguration.g:2023:4: (lv_function_0_0= ruleObjectiveFunction ) + // InternalApplicationConfiguration.g:2024:5: lv_function_0_0= ruleObjectiveFunction + { + + newCompositeNode(grammarAccess.getThresholdEntryAccess().getFunctionObjectiveFunctionParserRuleCall_0_0()); + + pushFollow(FOLLOW_23); + lv_function_0_0=ruleObjectiveFunction(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getThresholdEntryRule()); + } + set( + current, + "function", + lv_function_0_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ObjectiveFunction"); + afterParserOrEnumRuleCall(); + + + } + + + } + + // InternalApplicationConfiguration.g:2041:3: ( (lv_operator_1_0= ruleComparisonOperator ) ) + // InternalApplicationConfiguration.g:2042:4: (lv_operator_1_0= ruleComparisonOperator ) + { + // InternalApplicationConfiguration.g:2042:4: (lv_operator_1_0= ruleComparisonOperator ) + // InternalApplicationConfiguration.g:2043:5: lv_operator_1_0= ruleComparisonOperator + { + + newCompositeNode(grammarAccess.getThresholdEntryAccess().getOperatorComparisonOperatorEnumRuleCall_1_0()); + + pushFollow(FOLLOW_24); + lv_operator_1_0=ruleComparisonOperator(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getThresholdEntryRule()); + } + set( + current, + "operator", + lv_operator_1_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ComparisonOperator"); + afterParserOrEnumRuleCall(); + + + } + + + } + + // InternalApplicationConfiguration.g:2060:3: ( (lv_threshold_2_0= ruleREALLiteral ) ) + // InternalApplicationConfiguration.g:2061:4: (lv_threshold_2_0= ruleREALLiteral ) + { + // InternalApplicationConfiguration.g:2061:4: (lv_threshold_2_0= ruleREALLiteral ) + // InternalApplicationConfiguration.g:2062:5: lv_threshold_2_0= ruleREALLiteral + { + + newCompositeNode(grammarAccess.getThresholdEntryAccess().getThresholdREALLiteralParserRuleCall_2_0()); + + pushFollow(FOLLOW_2); + lv_threshold_2_0=ruleREALLiteral(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getThresholdEntryRule()); + } + set( + current, + "threshold", + lv_threshold_2_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.REALLiteral"); + afterParserOrEnumRuleCall(); + + + } + + + } + + + } + + + } + + + leaveRule(); + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleThresholdEntry" + + + // $ANTLR start "entryRuleObjectiveFunction" + // InternalApplicationConfiguration.g:2083:1: entryRuleObjectiveFunction returns [EObject current=null] : iv_ruleObjectiveFunction= ruleObjectiveFunction EOF ; + public final EObject entryRuleObjectiveFunction() throws RecognitionException { + EObject current = null; + + EObject iv_ruleObjectiveFunction = null; + + + try { + // InternalApplicationConfiguration.g:2083:58: (iv_ruleObjectiveFunction= ruleObjectiveFunction EOF ) + // InternalApplicationConfiguration.g:2084:2: iv_ruleObjectiveFunction= ruleObjectiveFunction EOF + { + newCompositeNode(grammarAccess.getObjectiveFunctionRule()); + pushFollow(FOLLOW_1); + iv_ruleObjectiveFunction=ruleObjectiveFunction(); + + state._fsp--; + + current =iv_ruleObjectiveFunction; + match(input,EOF,FOLLOW_2); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleObjectiveFunction" + + + // $ANTLR start "ruleObjectiveFunction" + // InternalApplicationConfiguration.g:2090:1: ruleObjectiveFunction returns [EObject current=null] : this_ReliabiltiyFunction_0= ruleReliabiltiyFunction ; + public final EObject ruleObjectiveFunction() throws RecognitionException { + EObject current = null; + + EObject this_ReliabiltiyFunction_0 = null; + + + + enterRule(); + + try { + // InternalApplicationConfiguration.g:2096:2: (this_ReliabiltiyFunction_0= ruleReliabiltiyFunction ) + // InternalApplicationConfiguration.g:2097:2: this_ReliabiltiyFunction_0= ruleReliabiltiyFunction + { + + newCompositeNode(grammarAccess.getObjectiveFunctionAccess().getReliabiltiyFunctionParserRuleCall()); + + pushFollow(FOLLOW_2); + this_ReliabiltiyFunction_0=ruleReliabiltiyFunction(); + + state._fsp--; + + + current = this_ReliabiltiyFunction_0; + afterParserOrEnumRuleCall(); + + + } + + + leaveRule(); + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleObjectiveFunction" + + + // $ANTLR start "entryRuleReliabiltiyFunction" + // InternalApplicationConfiguration.g:2108:1: entryRuleReliabiltiyFunction returns [EObject current=null] : iv_ruleReliabiltiyFunction= ruleReliabiltiyFunction EOF ; + public final EObject entryRuleReliabiltiyFunction() throws RecognitionException { + EObject current = null; + + EObject iv_ruleReliabiltiyFunction = null; + + + try { + // InternalApplicationConfiguration.g:2108:60: (iv_ruleReliabiltiyFunction= ruleReliabiltiyFunction EOF ) + // InternalApplicationConfiguration.g:2109:2: iv_ruleReliabiltiyFunction= ruleReliabiltiyFunction EOF + { + newCompositeNode(grammarAccess.getReliabiltiyFunctionRule()); + pushFollow(FOLLOW_1); + iv_ruleReliabiltiyFunction=ruleReliabiltiyFunction(); + + state._fsp--; + + current =iv_ruleReliabiltiyFunction; + match(input,EOF,FOLLOW_2); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleReliabiltiyFunction" + + + // $ANTLR start "ruleReliabiltiyFunction" + // InternalApplicationConfiguration.g:2115:1: ruleReliabiltiyFunction returns [EObject current=null] : (otherlv_0= 'reliability' ( ( ( ruleQualifiedName ) ) otherlv_2= '::' )? ( (otherlv_3= RULE_ID ) ) ) ; + public final EObject ruleReliabiltiyFunction() throws RecognitionException { + EObject current = null; + + Token otherlv_0=null; + Token otherlv_2=null; + Token otherlv_3=null; + + + enterRule(); + + try { + // InternalApplicationConfiguration.g:2121:2: ( (otherlv_0= 'reliability' ( ( ( ruleQualifiedName ) ) otherlv_2= '::' )? ( (otherlv_3= RULE_ID ) ) ) ) + // InternalApplicationConfiguration.g:2122:2: (otherlv_0= 'reliability' ( ( ( ruleQualifiedName ) ) otherlv_2= '::' )? ( (otherlv_3= RULE_ID ) ) ) + { + // InternalApplicationConfiguration.g:2122:2: (otherlv_0= 'reliability' ( ( ( ruleQualifiedName ) ) otherlv_2= '::' )? ( (otherlv_3= RULE_ID ) ) ) + // InternalApplicationConfiguration.g:2123:3: otherlv_0= 'reliability' ( ( ( ruleQualifiedName ) ) otherlv_2= '::' )? ( (otherlv_3= RULE_ID ) ) + { + otherlv_0=(Token)match(input,16,FOLLOW_6); + + newLeafNode(otherlv_0, grammarAccess.getReliabiltiyFunctionAccess().getReliabilityKeyword_0()); + + // InternalApplicationConfiguration.g:2127:3: ( ( ( ruleQualifiedName ) ) otherlv_2= '::' )? + int alt30=2; + int LA30_0 = input.LA(1); + + if ( (LA30_0==RULE_ID) ) { + int LA30_1 = input.LA(2); + + if ( (LA30_1==11||LA30_1==24) ) { + alt30=1; + } + } + switch (alt30) { + case 1 : + // InternalApplicationConfiguration.g:2128:4: ( ( ruleQualifiedName ) ) otherlv_2= '::' + { + // InternalApplicationConfiguration.g:2128:4: ( ( ruleQualifiedName ) ) + // InternalApplicationConfiguration.g:2129:5: ( ruleQualifiedName ) + { + // InternalApplicationConfiguration.g:2129:5: ( ruleQualifiedName ) + // InternalApplicationConfiguration.g:2130:6: ruleQualifiedName + { + + if (current==null) { + current = createModelElement(grammarAccess.getReliabiltiyFunctionRule()); + } + + + newCompositeNode(grammarAccess.getReliabiltiyFunctionAccess().getPackageCftModelCrossReference_1_0_0()); + + pushFollow(FOLLOW_18); + ruleQualifiedName(); + + state._fsp--; + + + afterParserOrEnumRuleCall(); + + + } + + + } + + otherlv_2=(Token)match(input,24,FOLLOW_6); + + newLeafNode(otherlv_2, grammarAccess.getReliabiltiyFunctionAccess().getColonColonKeyword_1_1()); + + + } + break; + + } + + // InternalApplicationConfiguration.g:2149:3: ( (otherlv_3= RULE_ID ) ) + // InternalApplicationConfiguration.g:2150:4: (otherlv_3= RULE_ID ) + { + // InternalApplicationConfiguration.g:2150:4: (otherlv_3= RULE_ID ) + // InternalApplicationConfiguration.g:2151:5: otherlv_3= RULE_ID + { + + if (current==null) { + current = createModelElement(grammarAccess.getReliabiltiyFunctionRule()); + } + + otherlv_3=(Token)match(input,RULE_ID,FOLLOW_2); + + newLeafNode(otherlv_3, grammarAccess.getReliabiltiyFunctionAccess().getTransformationTransformationDefinitionCrossReference_2_0()); + + + } + + + } + + + } + + + } + + + leaveRule(); + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleReliabiltiyFunction" + + + // $ANTLR start "entryRuleObjectiveDeclaration" + // InternalApplicationConfiguration.g:2166:1: entryRuleObjectiveDeclaration returns [EObject current=null] : iv_ruleObjectiveDeclaration= ruleObjectiveDeclaration EOF ; + public final EObject entryRuleObjectiveDeclaration() throws RecognitionException { + EObject current = null; + + EObject iv_ruleObjectiveDeclaration = null; + + + try { + // InternalApplicationConfiguration.g:2166:61: (iv_ruleObjectiveDeclaration= ruleObjectiveDeclaration EOF ) + // InternalApplicationConfiguration.g:2167:2: iv_ruleObjectiveDeclaration= ruleObjectiveDeclaration EOF + { + newCompositeNode(grammarAccess.getObjectiveDeclarationRule()); + pushFollow(FOLLOW_1); + iv_ruleObjectiveDeclaration=ruleObjectiveDeclaration(); + + state._fsp--; + + current =iv_ruleObjectiveDeclaration; + match(input,EOF,FOLLOW_2); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleObjectiveDeclaration" + + + // $ANTLR start "ruleObjectiveDeclaration" + // InternalApplicationConfiguration.g:2173:1: ruleObjectiveDeclaration returns [EObject current=null] : (otherlv_0= 'objectives' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleObjectiveSpecification ) ) ) ; + public final EObject ruleObjectiveDeclaration() throws RecognitionException { + EObject current = null; + + Token otherlv_0=null; + Token lv_name_1_0=null; + EObject lv_specification_2_0 = null; + + + + enterRule(); + + try { + // InternalApplicationConfiguration.g:2179:2: ( (otherlv_0= 'objectives' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleObjectiveSpecification ) ) ) ) + // InternalApplicationConfiguration.g:2180:2: (otherlv_0= 'objectives' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleObjectiveSpecification ) ) ) + { + // InternalApplicationConfiguration.g:2180:2: (otherlv_0= 'objectives' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleObjectiveSpecification ) ) ) + // InternalApplicationConfiguration.g:2181:3: otherlv_0= 'objectives' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleObjectiveSpecification ) ) + { + otherlv_0=(Token)match(input,29,FOLLOW_6); + + newLeafNode(otherlv_0, grammarAccess.getObjectiveDeclarationAccess().getObjectivesKeyword_0()); + + // InternalApplicationConfiguration.g:2185:3: ( (lv_name_1_0= RULE_ID ) ) + // InternalApplicationConfiguration.g:2186:4: (lv_name_1_0= RULE_ID ) + { + // InternalApplicationConfiguration.g:2186:4: (lv_name_1_0= RULE_ID ) + // InternalApplicationConfiguration.g:2187:5: lv_name_1_0= RULE_ID + { + lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_17); + + newLeafNode(lv_name_1_0, grammarAccess.getObjectiveDeclarationAccess().getNameIDTerminalRuleCall_1_0()); + + + if (current==null) { + current = createModelElement(grammarAccess.getObjectiveDeclarationRule()); + } + setWithLastConsumed( + current, + "name", + lv_name_1_0, + "org.eclipse.xtext.common.Terminals.ID"); + + + } + + + } + + // InternalApplicationConfiguration.g:2203:3: ( (lv_specification_2_0= ruleObjectiveSpecification ) ) + // InternalApplicationConfiguration.g:2204:4: (lv_specification_2_0= ruleObjectiveSpecification ) + { + // InternalApplicationConfiguration.g:2204:4: (lv_specification_2_0= ruleObjectiveSpecification ) + // InternalApplicationConfiguration.g:2205:5: lv_specification_2_0= ruleObjectiveSpecification + { + + newCompositeNode(grammarAccess.getObjectiveDeclarationAccess().getSpecificationObjectiveSpecificationParserRuleCall_2_0()); + + pushFollow(FOLLOW_2); + lv_specification_2_0=ruleObjectiveSpecification(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getObjectiveDeclarationRule()); + } + set( + current, + "specification", + lv_specification_2_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ObjectiveSpecification"); + afterParserOrEnumRuleCall(); + + + } + + + } + + + } + + + } + + + leaveRule(); + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleObjectiveDeclaration" + + + // $ANTLR start "entryRuleObjectiveReference" + // InternalApplicationConfiguration.g:2226:1: entryRuleObjectiveReference returns [EObject current=null] : iv_ruleObjectiveReference= ruleObjectiveReference EOF ; + public final EObject entryRuleObjectiveReference() throws RecognitionException { + EObject current = null; + + EObject iv_ruleObjectiveReference = null; + + + try { + // InternalApplicationConfiguration.g:2226:59: (iv_ruleObjectiveReference= ruleObjectiveReference EOF ) + // InternalApplicationConfiguration.g:2227:2: iv_ruleObjectiveReference= ruleObjectiveReference EOF + { + newCompositeNode(grammarAccess.getObjectiveReferenceRule()); + pushFollow(FOLLOW_1); + iv_ruleObjectiveReference=ruleObjectiveReference(); + + state._fsp--; + + current =iv_ruleObjectiveReference; + match(input,EOF,FOLLOW_2); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleObjectiveReference" + + + // $ANTLR start "ruleObjectiveReference" + // InternalApplicationConfiguration.g:2233:1: ruleObjectiveReference returns [EObject current=null] : ( (otherlv_0= RULE_ID ) ) ; + public final EObject ruleObjectiveReference() throws RecognitionException { + EObject current = null; + + Token otherlv_0=null; + + + enterRule(); + + try { + // InternalApplicationConfiguration.g:2239:2: ( ( (otherlv_0= RULE_ID ) ) ) + // InternalApplicationConfiguration.g:2240:2: ( (otherlv_0= RULE_ID ) ) + { + // InternalApplicationConfiguration.g:2240:2: ( (otherlv_0= RULE_ID ) ) + // InternalApplicationConfiguration.g:2241:3: (otherlv_0= RULE_ID ) + { + // InternalApplicationConfiguration.g:2241:3: (otherlv_0= RULE_ID ) + // InternalApplicationConfiguration.g:2242:4: otherlv_0= RULE_ID + { + + if (current==null) { + current = createModelElement(grammarAccess.getObjectiveReferenceRule()); + } + + otherlv_0=(Token)match(input,RULE_ID,FOLLOW_2); + + newLeafNode(otherlv_0, grammarAccess.getObjectiveReferenceAccess().getReferredObjectiveDeclarationCrossReference_0()); + + + } + + + } + + + } + + + leaveRule(); + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleObjectiveReference" + + + // $ANTLR start "entryRuleObjective" + // InternalApplicationConfiguration.g:2256:1: entryRuleObjective returns [EObject current=null] : iv_ruleObjective= ruleObjective EOF ; + public final EObject entryRuleObjective() throws RecognitionException { + EObject current = null; + + EObject iv_ruleObjective = null; + + + try { + // InternalApplicationConfiguration.g:2256:50: (iv_ruleObjective= ruleObjective EOF ) + // InternalApplicationConfiguration.g:2257:2: iv_ruleObjective= ruleObjective EOF + { + newCompositeNode(grammarAccess.getObjectiveRule()); + pushFollow(FOLLOW_1); + iv_ruleObjective=ruleObjective(); + + state._fsp--; + + current =iv_ruleObjective; + match(input,EOF,FOLLOW_2); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleObjective" + + + // $ANTLR start "ruleObjective" + // InternalApplicationConfiguration.g:2263:1: ruleObjective returns [EObject current=null] : (this_ObjectiveReference_0= ruleObjectiveReference | this_ObjectiveSpecification_1= ruleObjectiveSpecification ) ; + public final EObject ruleObjective() throws RecognitionException { + EObject current = null; + + EObject this_ObjectiveReference_0 = null; + + EObject this_ObjectiveSpecification_1 = null; + + + + enterRule(); + + try { + // InternalApplicationConfiguration.g:2269:2: ( (this_ObjectiveReference_0= ruleObjectiveReference | this_ObjectiveSpecification_1= ruleObjectiveSpecification ) ) + // InternalApplicationConfiguration.g:2270:2: (this_ObjectiveReference_0= ruleObjectiveReference | this_ObjectiveSpecification_1= ruleObjectiveSpecification ) + { + // InternalApplicationConfiguration.g:2270:2: (this_ObjectiveReference_0= ruleObjectiveReference | this_ObjectiveSpecification_1= ruleObjectiveSpecification ) + int alt31=2; + int LA31_0 = input.LA(1); + + if ( (LA31_0==RULE_ID) ) { + alt31=1; + } + else if ( (LA31_0==19) ) { + alt31=2; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 31, 0, input); + + throw nvae; + } + switch (alt31) { + case 1 : + // InternalApplicationConfiguration.g:2271:3: this_ObjectiveReference_0= ruleObjectiveReference + { + + newCompositeNode(grammarAccess.getObjectiveAccess().getObjectiveReferenceParserRuleCall_0()); + + pushFollow(FOLLOW_2); + this_ObjectiveReference_0=ruleObjectiveReference(); + + state._fsp--; + + + current = this_ObjectiveReference_0; + afterParserOrEnumRuleCall(); + + + } + break; + case 2 : + // InternalApplicationConfiguration.g:2280:3: this_ObjectiveSpecification_1= ruleObjectiveSpecification + { + + newCompositeNode(grammarAccess.getObjectiveAccess().getObjectiveSpecificationParserRuleCall_1()); + + pushFollow(FOLLOW_2); + this_ObjectiveSpecification_1=ruleObjectiveSpecification(); + + state._fsp--; + + + current = this_ObjectiveSpecification_1; + afterParserOrEnumRuleCall(); + + + } + break; + + } + + + } + + + leaveRule(); + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleObjective" + + + // $ANTLR start "entryRuleConfigSpecification" + // InternalApplicationConfiguration.g:2292:1: entryRuleConfigSpecification returns [EObject current=null] : iv_ruleConfigSpecification= ruleConfigSpecification EOF ; + public final EObject entryRuleConfigSpecification() throws RecognitionException { + EObject current = null; + + EObject iv_ruleConfigSpecification = null; + + + try { + // InternalApplicationConfiguration.g:2292:60: (iv_ruleConfigSpecification= ruleConfigSpecification EOF ) + // InternalApplicationConfiguration.g:2293:2: iv_ruleConfigSpecification= ruleConfigSpecification EOF + { + newCompositeNode(grammarAccess.getConfigSpecificationRule()); + pushFollow(FOLLOW_1); + iv_ruleConfigSpecification=ruleConfigSpecification(); + + state._fsp--; + + current =iv_ruleConfigSpecification; + match(input,EOF,FOLLOW_2); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleConfigSpecification" + + + // $ANTLR start "ruleConfigSpecification" + // InternalApplicationConfiguration.g:2299:1: ruleConfigSpecification returns [EObject current=null] : ( () otherlv_1= '{' ( ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* )? otherlv_5= '}' ) ; + public final EObject ruleConfigSpecification() throws RecognitionException { + EObject current = null; + + Token otherlv_1=null; + Token otherlv_3=null; + Token otherlv_5=null; + EObject lv_entries_2_0 = null; + + EObject lv_entries_4_0 = null; + + + + enterRule(); + + try { + // InternalApplicationConfiguration.g:2305:2: ( ( () otherlv_1= '{' ( ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* )? otherlv_5= '}' ) ) + // InternalApplicationConfiguration.g:2306:2: ( () otherlv_1= '{' ( ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* )? otherlv_5= '}' ) + { + // InternalApplicationConfiguration.g:2306:2: ( () otherlv_1= '{' ( ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* )? otherlv_5= '}' ) + // InternalApplicationConfiguration.g:2307:3: () otherlv_1= '{' ( ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* )? otherlv_5= '}' + { + // InternalApplicationConfiguration.g:2307:3: () + // InternalApplicationConfiguration.g:2308:4: + { + + current = forceCreateModelElement( + grammarAccess.getConfigSpecificationAccess().getConfigSpecificationAction_0(), + current); + + + } + + otherlv_1=(Token)match(input,19,FOLLOW_25); + + newLeafNode(otherlv_1, grammarAccess.getConfigSpecificationAccess().getLeftCurlyBracketKeyword_1()); + + // InternalApplicationConfiguration.g:2318:3: ( ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* )? + int alt33=2; + int LA33_0 = input.LA(1); + + if ( (LA33_0==RULE_STRING||(LA33_0>=31 && LA33_0<=33)) ) { + alt33=1; + } + switch (alt33) { + case 1 : + // InternalApplicationConfiguration.g:2319:4: ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* + { + // InternalApplicationConfiguration.g:2319:4: ( (lv_entries_2_0= ruleConfigEntry ) ) + // InternalApplicationConfiguration.g:2320:5: (lv_entries_2_0= ruleConfigEntry ) + { + // InternalApplicationConfiguration.g:2320:5: (lv_entries_2_0= ruleConfigEntry ) + // InternalApplicationConfiguration.g:2321:6: lv_entries_2_0= ruleConfigEntry + { + + newCompositeNode(grammarAccess.getConfigSpecificationAccess().getEntriesConfigEntryParserRuleCall_2_0_0()); + + pushFollow(FOLLOW_15); + lv_entries_2_0=ruleConfigEntry(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getConfigSpecificationRule()); + } + add( + current, + "entries", + lv_entries_2_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ConfigEntry"); + afterParserOrEnumRuleCall(); + + + } + + + } + + // InternalApplicationConfiguration.g:2338:4: (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* + loop32: + do { + int alt32=2; + int LA32_0 = input.LA(1); + + if ( (LA32_0==20) ) { + alt32=1; + } + + + switch (alt32) { + case 1 : + // InternalApplicationConfiguration.g:2339:5: otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) + { + otherlv_3=(Token)match(input,20,FOLLOW_26); + + newLeafNode(otherlv_3, grammarAccess.getConfigSpecificationAccess().getCommaKeyword_2_1_0()); + + // InternalApplicationConfiguration.g:2343:5: ( (lv_entries_4_0= ruleConfigEntry ) ) + // InternalApplicationConfiguration.g:2344:6: (lv_entries_4_0= ruleConfigEntry ) + { + // InternalApplicationConfiguration.g:2344:6: (lv_entries_4_0= ruleConfigEntry ) + // InternalApplicationConfiguration.g:2345:7: lv_entries_4_0= ruleConfigEntry + { + + newCompositeNode(grammarAccess.getConfigSpecificationAccess().getEntriesConfigEntryParserRuleCall_2_1_1_0()); + + pushFollow(FOLLOW_15); + lv_entries_4_0=ruleConfigEntry(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getConfigSpecificationRule()); + } + add( + current, + "entries", + lv_entries_4_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ConfigEntry"); + afterParserOrEnumRuleCall(); + + + } + + + } + + + } + break; + + default : + break loop32; + } + } while (true); + + + } + break; + + } + + otherlv_5=(Token)match(input,21,FOLLOW_2); + + newLeafNode(otherlv_5, grammarAccess.getConfigSpecificationAccess().getRightCurlyBracketKeyword_3()); + + + } + + + } + + + leaveRule(); + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleConfigSpecification" + + + // $ANTLR start "entryRuleConfigDeclaration" + // InternalApplicationConfiguration.g:2372:1: entryRuleConfigDeclaration returns [EObject current=null] : iv_ruleConfigDeclaration= ruleConfigDeclaration EOF ; + public final EObject entryRuleConfigDeclaration() throws RecognitionException { + EObject current = null; + + EObject iv_ruleConfigDeclaration = null; + + + try { + // InternalApplicationConfiguration.g:2372:58: (iv_ruleConfigDeclaration= ruleConfigDeclaration EOF ) + // InternalApplicationConfiguration.g:2373:2: iv_ruleConfigDeclaration= ruleConfigDeclaration EOF + { + newCompositeNode(grammarAccess.getConfigDeclarationRule()); + pushFollow(FOLLOW_1); + iv_ruleConfigDeclaration=ruleConfigDeclaration(); + + state._fsp--; + + current =iv_ruleConfigDeclaration; + match(input,EOF,FOLLOW_2); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleConfigDeclaration" + + + // $ANTLR start "ruleConfigDeclaration" + // InternalApplicationConfiguration.g:2379:1: ruleConfigDeclaration returns [EObject current=null] : (otherlv_0= 'config' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleConfigSpecification ) ) ) ; + public final EObject ruleConfigDeclaration() throws RecognitionException { + EObject current = null; + + Token otherlv_0=null; + Token lv_name_1_0=null; + EObject lv_specification_2_0 = null; + + + + enterRule(); + + try { + // InternalApplicationConfiguration.g:2385:2: ( (otherlv_0= 'config' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleConfigSpecification ) ) ) ) + // InternalApplicationConfiguration.g:2386:2: (otherlv_0= 'config' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleConfigSpecification ) ) ) + { + // InternalApplicationConfiguration.g:2386:2: (otherlv_0= 'config' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleConfigSpecification ) ) ) + // InternalApplicationConfiguration.g:2387:3: otherlv_0= 'config' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleConfigSpecification ) ) + { + otherlv_0=(Token)match(input,30,FOLLOW_6); + + newLeafNode(otherlv_0, grammarAccess.getConfigDeclarationAccess().getConfigKeyword_0()); + + // InternalApplicationConfiguration.g:2391:3: ( (lv_name_1_0= RULE_ID ) ) + // InternalApplicationConfiguration.g:2392:4: (lv_name_1_0= RULE_ID ) + { + // InternalApplicationConfiguration.g:2392:4: (lv_name_1_0= RULE_ID ) + // InternalApplicationConfiguration.g:2393:5: lv_name_1_0= RULE_ID + { + lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_17); + + newLeafNode(lv_name_1_0, grammarAccess.getConfigDeclarationAccess().getNameIDTerminalRuleCall_1_0()); + + + if (current==null) { + current = createModelElement(grammarAccess.getConfigDeclarationRule()); + } + setWithLastConsumed( + current, + "name", + lv_name_1_0, + "org.eclipse.xtext.common.Terminals.ID"); + + + } + + + } + + // InternalApplicationConfiguration.g:2409:3: ( (lv_specification_2_0= ruleConfigSpecification ) ) + // InternalApplicationConfiguration.g:2410:4: (lv_specification_2_0= ruleConfigSpecification ) + { + // InternalApplicationConfiguration.g:2410:4: (lv_specification_2_0= ruleConfigSpecification ) + // InternalApplicationConfiguration.g:2411:5: lv_specification_2_0= ruleConfigSpecification + { + + newCompositeNode(grammarAccess.getConfigDeclarationAccess().getSpecificationConfigSpecificationParserRuleCall_2_0()); + + pushFollow(FOLLOW_2); + lv_specification_2_0=ruleConfigSpecification(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getConfigDeclarationRule()); + } + set( + current, + "specification", + lv_specification_2_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ConfigSpecification"); + afterParserOrEnumRuleCall(); + + + } + + + } + + + } + + + } + + + leaveRule(); + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleConfigDeclaration" + + + // $ANTLR start "entryRuleConfigEntry" + // InternalApplicationConfiguration.g:2432:1: entryRuleConfigEntry returns [EObject current=null] : iv_ruleConfigEntry= ruleConfigEntry EOF ; + public final EObject entryRuleConfigEntry() throws RecognitionException { + EObject current = null; + + EObject iv_ruleConfigEntry = null; + + + try { + // InternalApplicationConfiguration.g:2432:52: (iv_ruleConfigEntry= ruleConfigEntry EOF ) + // InternalApplicationConfiguration.g:2433:2: iv_ruleConfigEntry= ruleConfigEntry EOF + { + newCompositeNode(grammarAccess.getConfigEntryRule()); + pushFollow(FOLLOW_1); + iv_ruleConfigEntry=ruleConfigEntry(); + + state._fsp--; + + current =iv_ruleConfigEntry; + match(input,EOF,FOLLOW_2); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleConfigEntry" + + + // $ANTLR start "ruleConfigEntry" + // InternalApplicationConfiguration.g:2439:1: ruleConfigEntry returns [EObject current=null] : (this_DocumentationEntry_0= ruleDocumentationEntry | this_RuntimeEntry_1= ruleRuntimeEntry | this_MemoryEntry_2= ruleMemoryEntry | this_CustomEntry_3= ruleCustomEntry ) ; + public final EObject ruleConfigEntry() throws RecognitionException { + EObject current = null; + + EObject this_DocumentationEntry_0 = null; + + EObject this_RuntimeEntry_1 = null; + + EObject this_MemoryEntry_2 = null; + + EObject this_CustomEntry_3 = null; + + + + enterRule(); + + try { + // InternalApplicationConfiguration.g:2445:2: ( (this_DocumentationEntry_0= ruleDocumentationEntry | this_RuntimeEntry_1= ruleRuntimeEntry | this_MemoryEntry_2= ruleMemoryEntry | this_CustomEntry_3= ruleCustomEntry ) ) + // InternalApplicationConfiguration.g:2446:2: (this_DocumentationEntry_0= ruleDocumentationEntry | this_RuntimeEntry_1= ruleRuntimeEntry | this_MemoryEntry_2= ruleMemoryEntry | this_CustomEntry_3= ruleCustomEntry ) + { + // InternalApplicationConfiguration.g:2446:2: (this_DocumentationEntry_0= ruleDocumentationEntry | this_RuntimeEntry_1= ruleRuntimeEntry | this_MemoryEntry_2= ruleMemoryEntry | this_CustomEntry_3= ruleCustomEntry ) + int alt34=4; + switch ( input.LA(1) ) { + case 31: + { + alt34=1; + } + break; + case 32: + { + alt34=2; + } + break; + case 33: + { + alt34=3; + } + break; + case RULE_STRING: + { + alt34=4; + } + break; + default: + NoViableAltException nvae = + new NoViableAltException("", 34, 0, input); + + throw nvae; + } + + switch (alt34) { + case 1 : + // InternalApplicationConfiguration.g:2447:3: this_DocumentationEntry_0= ruleDocumentationEntry + { + + newCompositeNode(grammarAccess.getConfigEntryAccess().getDocumentationEntryParserRuleCall_0()); + + pushFollow(FOLLOW_2); + this_DocumentationEntry_0=ruleDocumentationEntry(); + + state._fsp--; + + + current = this_DocumentationEntry_0; + afterParserOrEnumRuleCall(); + + + } + break; + case 2 : + // InternalApplicationConfiguration.g:2456:3: this_RuntimeEntry_1= ruleRuntimeEntry + { + + newCompositeNode(grammarAccess.getConfigEntryAccess().getRuntimeEntryParserRuleCall_1()); + + pushFollow(FOLLOW_2); + this_RuntimeEntry_1=ruleRuntimeEntry(); + + state._fsp--; + + + current = this_RuntimeEntry_1; + afterParserOrEnumRuleCall(); + + + } + break; + case 3 : + // InternalApplicationConfiguration.g:2465:3: this_MemoryEntry_2= ruleMemoryEntry + { + + newCompositeNode(grammarAccess.getConfigEntryAccess().getMemoryEntryParserRuleCall_2()); + + pushFollow(FOLLOW_2); + this_MemoryEntry_2=ruleMemoryEntry(); + + state._fsp--; + + + current = this_MemoryEntry_2; + afterParserOrEnumRuleCall(); + + + } + break; + case 4 : + // InternalApplicationConfiguration.g:2474:3: this_CustomEntry_3= ruleCustomEntry + { + + newCompositeNode(grammarAccess.getConfigEntryAccess().getCustomEntryParserRuleCall_3()); + + pushFollow(FOLLOW_2); + this_CustomEntry_3=ruleCustomEntry(); + + state._fsp--; + + + current = this_CustomEntry_3; + afterParserOrEnumRuleCall(); + + + } + break; + + } + + + } + + + leaveRule(); + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleConfigEntry" + + + // $ANTLR start "entryRuleDocumentationEntry" + // InternalApplicationConfiguration.g:2486:1: entryRuleDocumentationEntry returns [EObject current=null] : iv_ruleDocumentationEntry= ruleDocumentationEntry EOF ; + public final EObject entryRuleDocumentationEntry() throws RecognitionException { + EObject current = null; + + EObject iv_ruleDocumentationEntry = null; + + + try { + // InternalApplicationConfiguration.g:2486:59: (iv_ruleDocumentationEntry= ruleDocumentationEntry EOF ) + // InternalApplicationConfiguration.g:2487:2: iv_ruleDocumentationEntry= ruleDocumentationEntry EOF + { + newCompositeNode(grammarAccess.getDocumentationEntryRule()); + pushFollow(FOLLOW_1); + iv_ruleDocumentationEntry=ruleDocumentationEntry(); + + state._fsp--; + + current =iv_ruleDocumentationEntry; + match(input,EOF,FOLLOW_2); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleDocumentationEntry" + + + // $ANTLR start "ruleDocumentationEntry" + // InternalApplicationConfiguration.g:2493:1: ruleDocumentationEntry returns [EObject current=null] : (otherlv_0= 'log-level' otherlv_1= '=' ( (lv_level_2_0= ruleDocumentLevelSpecification ) ) ) ; + public final EObject ruleDocumentationEntry() throws RecognitionException { + EObject current = null; + + Token otherlv_0=null; + Token otherlv_1=null; + Enumerator lv_level_2_0 = null; + + + + enterRule(); + + try { + // InternalApplicationConfiguration.g:2499:2: ( (otherlv_0= 'log-level' otherlv_1= '=' ( (lv_level_2_0= ruleDocumentLevelSpecification ) ) ) ) + // InternalApplicationConfiguration.g:2500:2: (otherlv_0= 'log-level' otherlv_1= '=' ( (lv_level_2_0= ruleDocumentLevelSpecification ) ) ) + { + // InternalApplicationConfiguration.g:2500:2: (otherlv_0= 'log-level' otherlv_1= '=' ( (lv_level_2_0= ruleDocumentLevelSpecification ) ) ) + // InternalApplicationConfiguration.g:2501:3: otherlv_0= 'log-level' otherlv_1= '=' ( (lv_level_2_0= ruleDocumentLevelSpecification ) ) + { + otherlv_0=(Token)match(input,31,FOLLOW_13); + + newLeafNode(otherlv_0, grammarAccess.getDocumentationEntryAccess().getLogLevelKeyword_0()); + + otherlv_1=(Token)match(input,18,FOLLOW_27); + + newLeafNode(otherlv_1, grammarAccess.getDocumentationEntryAccess().getEqualsSignKeyword_1()); + + // InternalApplicationConfiguration.g:2509:3: ( (lv_level_2_0= ruleDocumentLevelSpecification ) ) + // InternalApplicationConfiguration.g:2510:4: (lv_level_2_0= ruleDocumentLevelSpecification ) + { + // InternalApplicationConfiguration.g:2510:4: (lv_level_2_0= ruleDocumentLevelSpecification ) + // InternalApplicationConfiguration.g:2511:5: lv_level_2_0= ruleDocumentLevelSpecification + { + + newCompositeNode(grammarAccess.getDocumentationEntryAccess().getLevelDocumentLevelSpecificationEnumRuleCall_2_0()); + + pushFollow(FOLLOW_2); + lv_level_2_0=ruleDocumentLevelSpecification(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getDocumentationEntryRule()); + } + set( + current, + "level", + lv_level_2_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.DocumentLevelSpecification"); + afterParserOrEnumRuleCall(); + + + } + + + } + + + } + + + } + + + leaveRule(); + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleDocumentationEntry" + + + // $ANTLR start "entryRuleRuntimeEntry" + // InternalApplicationConfiguration.g:2532:1: entryRuleRuntimeEntry returns [EObject current=null] : iv_ruleRuntimeEntry= ruleRuntimeEntry EOF ; + public final EObject entryRuleRuntimeEntry() throws RecognitionException { + EObject current = null; + + EObject iv_ruleRuntimeEntry = null; + + + try { + // InternalApplicationConfiguration.g:2532:53: (iv_ruleRuntimeEntry= ruleRuntimeEntry EOF ) + // InternalApplicationConfiguration.g:2533:2: iv_ruleRuntimeEntry= ruleRuntimeEntry EOF + { + newCompositeNode(grammarAccess.getRuntimeEntryRule()); + pushFollow(FOLLOW_1); + iv_ruleRuntimeEntry=ruleRuntimeEntry(); + + state._fsp--; + + current =iv_ruleRuntimeEntry; + match(input,EOF,FOLLOW_2); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleRuntimeEntry" + + + // $ANTLR start "ruleRuntimeEntry" + // InternalApplicationConfiguration.g:2539:1: ruleRuntimeEntry returns [EObject current=null] : (otherlv_0= 'runtime' otherlv_1= '=' ( (lv_millisecLimit_2_0= RULE_INT ) ) ) ; + public final EObject ruleRuntimeEntry() throws RecognitionException { + EObject current = null; + + Token otherlv_0=null; + Token otherlv_1=null; + Token lv_millisecLimit_2_0=null; + + + enterRule(); + + try { + // InternalApplicationConfiguration.g:2545:2: ( (otherlv_0= 'runtime' otherlv_1= '=' ( (lv_millisecLimit_2_0= RULE_INT ) ) ) ) + // InternalApplicationConfiguration.g:2546:2: (otherlv_0= 'runtime' otherlv_1= '=' ( (lv_millisecLimit_2_0= RULE_INT ) ) ) + { + // InternalApplicationConfiguration.g:2546:2: (otherlv_0= 'runtime' otherlv_1= '=' ( (lv_millisecLimit_2_0= RULE_INT ) ) ) + // InternalApplicationConfiguration.g:2547:3: otherlv_0= 'runtime' otherlv_1= '=' ( (lv_millisecLimit_2_0= RULE_INT ) ) + { + otherlv_0=(Token)match(input,32,FOLLOW_13); + + newLeafNode(otherlv_0, grammarAccess.getRuntimeEntryAccess().getRuntimeKeyword_0()); + + otherlv_1=(Token)match(input,18,FOLLOW_7); + + newLeafNode(otherlv_1, grammarAccess.getRuntimeEntryAccess().getEqualsSignKeyword_1()); + + // InternalApplicationConfiguration.g:2555:3: ( (lv_millisecLimit_2_0= RULE_INT ) ) + // InternalApplicationConfiguration.g:2556:4: (lv_millisecLimit_2_0= RULE_INT ) + { + // InternalApplicationConfiguration.g:2556:4: (lv_millisecLimit_2_0= RULE_INT ) + // InternalApplicationConfiguration.g:2557:5: lv_millisecLimit_2_0= RULE_INT + { + lv_millisecLimit_2_0=(Token)match(input,RULE_INT,FOLLOW_2); + + newLeafNode(lv_millisecLimit_2_0, grammarAccess.getRuntimeEntryAccess().getMillisecLimitINTTerminalRuleCall_2_0()); + + + if (current==null) { + current = createModelElement(grammarAccess.getRuntimeEntryRule()); + } + setWithLastConsumed( + current, + "millisecLimit", + lv_millisecLimit_2_0, + "org.eclipse.xtext.common.Terminals.INT"); + + + } + + + } + + + } + + + } + + + leaveRule(); + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleRuntimeEntry" + + + // $ANTLR start "entryRuleMemoryEntry" + // InternalApplicationConfiguration.g:2577:1: entryRuleMemoryEntry returns [EObject current=null] : iv_ruleMemoryEntry= ruleMemoryEntry EOF ; + public final EObject entryRuleMemoryEntry() throws RecognitionException { + EObject current = null; + + EObject iv_ruleMemoryEntry = null; + + + try { + // InternalApplicationConfiguration.g:2577:52: (iv_ruleMemoryEntry= ruleMemoryEntry EOF ) + // InternalApplicationConfiguration.g:2578:2: iv_ruleMemoryEntry= ruleMemoryEntry EOF + { + newCompositeNode(grammarAccess.getMemoryEntryRule()); + pushFollow(FOLLOW_1); + iv_ruleMemoryEntry=ruleMemoryEntry(); + + state._fsp--; + + current =iv_ruleMemoryEntry; + match(input,EOF,FOLLOW_2); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleMemoryEntry" + + + // $ANTLR start "ruleMemoryEntry" + // InternalApplicationConfiguration.g:2584:1: ruleMemoryEntry returns [EObject current=null] : (otherlv_0= 'memory' otherlv_1= '=' ( (lv_megabyteLimit_2_0= RULE_INT ) ) ) ; + public final EObject ruleMemoryEntry() throws RecognitionException { + EObject current = null; + + Token otherlv_0=null; + Token otherlv_1=null; + Token lv_megabyteLimit_2_0=null; + + + enterRule(); + + try { + // InternalApplicationConfiguration.g:2590:2: ( (otherlv_0= 'memory' otherlv_1= '=' ( (lv_megabyteLimit_2_0= RULE_INT ) ) ) ) + // InternalApplicationConfiguration.g:2591:2: (otherlv_0= 'memory' otherlv_1= '=' ( (lv_megabyteLimit_2_0= RULE_INT ) ) ) + { + // InternalApplicationConfiguration.g:2591:2: (otherlv_0= 'memory' otherlv_1= '=' ( (lv_megabyteLimit_2_0= RULE_INT ) ) ) + // InternalApplicationConfiguration.g:2592:3: otherlv_0= 'memory' otherlv_1= '=' ( (lv_megabyteLimit_2_0= RULE_INT ) ) + { + otherlv_0=(Token)match(input,33,FOLLOW_13); + + newLeafNode(otherlv_0, grammarAccess.getMemoryEntryAccess().getMemoryKeyword_0()); + + otherlv_1=(Token)match(input,18,FOLLOW_7); + + newLeafNode(otherlv_1, grammarAccess.getMemoryEntryAccess().getEqualsSignKeyword_1()); + + // InternalApplicationConfiguration.g:2600:3: ( (lv_megabyteLimit_2_0= RULE_INT ) ) + // InternalApplicationConfiguration.g:2601:4: (lv_megabyteLimit_2_0= RULE_INT ) + { + // InternalApplicationConfiguration.g:2601:4: (lv_megabyteLimit_2_0= RULE_INT ) + // InternalApplicationConfiguration.g:2602:5: lv_megabyteLimit_2_0= RULE_INT + { + lv_megabyteLimit_2_0=(Token)match(input,RULE_INT,FOLLOW_2); + + newLeafNode(lv_megabyteLimit_2_0, grammarAccess.getMemoryEntryAccess().getMegabyteLimitINTTerminalRuleCall_2_0()); + + + if (current==null) { + current = createModelElement(grammarAccess.getMemoryEntryRule()); + } + setWithLastConsumed( + current, + "megabyteLimit", + lv_megabyteLimit_2_0, + "org.eclipse.xtext.common.Terminals.INT"); + + + } + + + } + + + } + + + } + + + leaveRule(); + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleMemoryEntry" + + + // $ANTLR start "entryRuleCustomEntry" + // InternalApplicationConfiguration.g:2622:1: entryRuleCustomEntry returns [EObject current=null] : iv_ruleCustomEntry= ruleCustomEntry EOF ; + public final EObject entryRuleCustomEntry() throws RecognitionException { + EObject current = null; + + EObject iv_ruleCustomEntry = null; + + + try { + // InternalApplicationConfiguration.g:2622:52: (iv_ruleCustomEntry= ruleCustomEntry EOF ) + // InternalApplicationConfiguration.g:2623:2: iv_ruleCustomEntry= ruleCustomEntry EOF + { + newCompositeNode(grammarAccess.getCustomEntryRule()); + pushFollow(FOLLOW_1); + iv_ruleCustomEntry=ruleCustomEntry(); + + state._fsp--; + + current =iv_ruleCustomEntry; + match(input,EOF,FOLLOW_2); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleCustomEntry" + + + // $ANTLR start "ruleCustomEntry" + // InternalApplicationConfiguration.g:2629:1: ruleCustomEntry returns [EObject current=null] : ( ( (lv_key_0_0= RULE_STRING ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STRING ) ) ) ; + public final EObject ruleCustomEntry() throws RecognitionException { + EObject current = null; + + Token lv_key_0_0=null; + Token otherlv_1=null; + Token lv_value_2_0=null; + + + enterRule(); + + try { + // InternalApplicationConfiguration.g:2635:2: ( ( ( (lv_key_0_0= RULE_STRING ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STRING ) ) ) ) + // InternalApplicationConfiguration.g:2636:2: ( ( (lv_key_0_0= RULE_STRING ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STRING ) ) ) + { + // InternalApplicationConfiguration.g:2636:2: ( ( (lv_key_0_0= RULE_STRING ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STRING ) ) ) + // InternalApplicationConfiguration.g:2637:3: ( (lv_key_0_0= RULE_STRING ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STRING ) ) + { + // InternalApplicationConfiguration.g:2637:3: ( (lv_key_0_0= RULE_STRING ) ) + // InternalApplicationConfiguration.g:2638:4: (lv_key_0_0= RULE_STRING ) + { + // InternalApplicationConfiguration.g:2638:4: (lv_key_0_0= RULE_STRING ) + // InternalApplicationConfiguration.g:2639:5: lv_key_0_0= RULE_STRING + { + lv_key_0_0=(Token)match(input,RULE_STRING,FOLLOW_13); + + newLeafNode(lv_key_0_0, grammarAccess.getCustomEntryAccess().getKeySTRINGTerminalRuleCall_0_0()); + + + if (current==null) { + current = createModelElement(grammarAccess.getCustomEntryRule()); + } + setWithLastConsumed( + current, + "key", + lv_key_0_0, + "org.eclipse.xtext.common.Terminals.STRING"); + + + } + + + } + + otherlv_1=(Token)match(input,18,FOLLOW_10); + + newLeafNode(otherlv_1, grammarAccess.getCustomEntryAccess().getEqualsSignKeyword_1()); + + // InternalApplicationConfiguration.g:2659:3: ( (lv_value_2_0= RULE_STRING ) ) + // InternalApplicationConfiguration.g:2660:4: (lv_value_2_0= RULE_STRING ) + { + // InternalApplicationConfiguration.g:2660:4: (lv_value_2_0= RULE_STRING ) + // InternalApplicationConfiguration.g:2661:5: lv_value_2_0= RULE_STRING + { + lv_value_2_0=(Token)match(input,RULE_STRING,FOLLOW_2); + + newLeafNode(lv_value_2_0, grammarAccess.getCustomEntryAccess().getValueSTRINGTerminalRuleCall_2_0()); + + + if (current==null) { + current = createModelElement(grammarAccess.getCustomEntryRule()); + } + setWithLastConsumed( + current, + "value", + lv_value_2_0, + "org.eclipse.xtext.common.Terminals.STRING"); + + + } + + + } + + + } + + + } + + + leaveRule(); + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleCustomEntry" + + + // $ANTLR start "entryRuleConfigReference" + // InternalApplicationConfiguration.g:2681:1: entryRuleConfigReference returns [EObject current=null] : iv_ruleConfigReference= ruleConfigReference EOF ; + public final EObject entryRuleConfigReference() throws RecognitionException { + EObject current = null; + + EObject iv_ruleConfigReference = null; + + + try { + // InternalApplicationConfiguration.g:2681:56: (iv_ruleConfigReference= ruleConfigReference EOF ) + // InternalApplicationConfiguration.g:2682:2: iv_ruleConfigReference= ruleConfigReference EOF + { + newCompositeNode(grammarAccess.getConfigReferenceRule()); + pushFollow(FOLLOW_1); + iv_ruleConfigReference=ruleConfigReference(); + + state._fsp--; + + current =iv_ruleConfigReference; + match(input,EOF,FOLLOW_2); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleConfigReference" + + + // $ANTLR start "ruleConfigReference" + // InternalApplicationConfiguration.g:2688:1: ruleConfigReference returns [EObject current=null] : ( (otherlv_0= RULE_ID ) ) ; + public final EObject ruleConfigReference() throws RecognitionException { + EObject current = null; + + Token otherlv_0=null; + + + enterRule(); + + try { + // InternalApplicationConfiguration.g:2694:2: ( ( (otherlv_0= RULE_ID ) ) ) + // InternalApplicationConfiguration.g:2695:2: ( (otherlv_0= RULE_ID ) ) + { + // InternalApplicationConfiguration.g:2695:2: ( (otherlv_0= RULE_ID ) ) + // InternalApplicationConfiguration.g:2696:3: (otherlv_0= RULE_ID ) + { + // InternalApplicationConfiguration.g:2696:3: (otherlv_0= RULE_ID ) + // InternalApplicationConfiguration.g:2697:4: otherlv_0= RULE_ID + { + + if (current==null) { + current = createModelElement(grammarAccess.getConfigReferenceRule()); + } + + otherlv_0=(Token)match(input,RULE_ID,FOLLOW_2); + + newLeafNode(otherlv_0, grammarAccess.getConfigReferenceAccess().getConfigConfigDeclarationCrossReference_0()); + + + } + + + } + + + } + + + leaveRule(); + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleConfigReference" + + + // $ANTLR start "entryRuleConfig" + // InternalApplicationConfiguration.g:2711:1: entryRuleConfig returns [EObject current=null] : iv_ruleConfig= ruleConfig EOF ; + public final EObject entryRuleConfig() throws RecognitionException { + EObject current = null; + + EObject iv_ruleConfig = null; + + + try { + // InternalApplicationConfiguration.g:2711:47: (iv_ruleConfig= ruleConfig EOF ) + // InternalApplicationConfiguration.g:2712:2: iv_ruleConfig= ruleConfig EOF + { + newCompositeNode(grammarAccess.getConfigRule()); + pushFollow(FOLLOW_1); + iv_ruleConfig=ruleConfig(); + + state._fsp--; + + current =iv_ruleConfig; + match(input,EOF,FOLLOW_2); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleConfig" + + + // $ANTLR start "ruleConfig" + // InternalApplicationConfiguration.g:2718:1: ruleConfig returns [EObject current=null] : (this_ConfigSpecification_0= ruleConfigSpecification | this_ConfigReference_1= ruleConfigReference ) ; + public final EObject ruleConfig() throws RecognitionException { + EObject current = null; + + EObject this_ConfigSpecification_0 = null; + + EObject this_ConfigReference_1 = null; + + + + enterRule(); + + try { + // InternalApplicationConfiguration.g:2724:2: ( (this_ConfigSpecification_0= ruleConfigSpecification | this_ConfigReference_1= ruleConfigReference ) ) + // InternalApplicationConfiguration.g:2725:2: (this_ConfigSpecification_0= ruleConfigSpecification | this_ConfigReference_1= ruleConfigReference ) + { + // InternalApplicationConfiguration.g:2725:2: (this_ConfigSpecification_0= ruleConfigSpecification | this_ConfigReference_1= ruleConfigReference ) + int alt35=2; + int LA35_0 = input.LA(1); + + if ( (LA35_0==19) ) { + alt35=1; + } + else if ( (LA35_0==RULE_ID) ) { + alt35=2; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 35, 0, input); + + throw nvae; + } + switch (alt35) { + case 1 : + // InternalApplicationConfiguration.g:2726:3: this_ConfigSpecification_0= ruleConfigSpecification + { + + newCompositeNode(grammarAccess.getConfigAccess().getConfigSpecificationParserRuleCall_0()); + + pushFollow(FOLLOW_2); + this_ConfigSpecification_0=ruleConfigSpecification(); + + state._fsp--; + + + current = this_ConfigSpecification_0; + afterParserOrEnumRuleCall(); + + + } + break; + case 2 : + // InternalApplicationConfiguration.g:2735:3: this_ConfigReference_1= ruleConfigReference + { + + newCompositeNode(grammarAccess.getConfigAccess().getConfigReferenceParserRuleCall_1()); + + pushFollow(FOLLOW_2); + this_ConfigReference_1=ruleConfigReference(); + + state._fsp--; + + + current = this_ConfigReference_1; + afterParserOrEnumRuleCall(); + + + } + break; + + } + + + } + + + leaveRule(); + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleConfig" + + + // $ANTLR start "entryRuleScopeSpecification" + // InternalApplicationConfiguration.g:2747:1: entryRuleScopeSpecification returns [EObject current=null] : iv_ruleScopeSpecification= ruleScopeSpecification EOF ; + public final EObject entryRuleScopeSpecification() throws RecognitionException { + EObject current = null; + + EObject iv_ruleScopeSpecification = null; + + + try { + // InternalApplicationConfiguration.g:2747:59: (iv_ruleScopeSpecification= ruleScopeSpecification EOF ) + // InternalApplicationConfiguration.g:2748:2: iv_ruleScopeSpecification= ruleScopeSpecification EOF + { + newCompositeNode(grammarAccess.getScopeSpecificationRule()); + pushFollow(FOLLOW_1); + iv_ruleScopeSpecification=ruleScopeSpecification(); + + state._fsp--; + + current =iv_ruleScopeSpecification; + match(input,EOF,FOLLOW_2); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleScopeSpecification" + + + // $ANTLR start "ruleScopeSpecification" + // InternalApplicationConfiguration.g:2754:1: ruleScopeSpecification returns [EObject current=null] : ( () otherlv_1= '{' ( ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* )? otherlv_5= '}' ) ; + public final EObject ruleScopeSpecification() throws RecognitionException { + EObject current = null; + + Token otherlv_1=null; + Token otherlv_3=null; + Token otherlv_5=null; + EObject lv_scopes_2_0 = null; + + EObject lv_scopes_4_0 = null; + + + + enterRule(); + + try { + // InternalApplicationConfiguration.g:2760:2: ( ( () otherlv_1= '{' ( ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* )? otherlv_5= '}' ) ) + // InternalApplicationConfiguration.g:2761:2: ( () otherlv_1= '{' ( ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* )? otherlv_5= '}' ) + { + // InternalApplicationConfiguration.g:2761:2: ( () otherlv_1= '{' ( ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* )? otherlv_5= '}' ) + // InternalApplicationConfiguration.g:2762:3: () otherlv_1= '{' ( ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* )? otherlv_5= '}' + { + // InternalApplicationConfiguration.g:2762:3: () + // InternalApplicationConfiguration.g:2763:4: + { + + current = forceCreateModelElement( + grammarAccess.getScopeSpecificationAccess().getScopeSpecificationAction_0(), + current); + + + } + + otherlv_1=(Token)match(input,19,FOLLOW_28); + + newLeafNode(otherlv_1, grammarAccess.getScopeSpecificationAccess().getLeftCurlyBracketKeyword_1()); + + // InternalApplicationConfiguration.g:2773:3: ( ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* )? + int alt37=2; + int LA37_0 = input.LA(1); + + if ( (LA37_0==34) ) { + alt37=1; + } + switch (alt37) { + case 1 : + // InternalApplicationConfiguration.g:2774:4: ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* + { + // InternalApplicationConfiguration.g:2774:4: ( (lv_scopes_2_0= ruleTypeScope ) ) + // InternalApplicationConfiguration.g:2775:5: (lv_scopes_2_0= ruleTypeScope ) + { + // InternalApplicationConfiguration.g:2775:5: (lv_scopes_2_0= ruleTypeScope ) + // InternalApplicationConfiguration.g:2776:6: lv_scopes_2_0= ruleTypeScope + { + + newCompositeNode(grammarAccess.getScopeSpecificationAccess().getScopesTypeScopeParserRuleCall_2_0_0()); + + pushFollow(FOLLOW_15); + lv_scopes_2_0=ruleTypeScope(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getScopeSpecificationRule()); + } + add( + current, + "scopes", + lv_scopes_2_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.TypeScope"); + afterParserOrEnumRuleCall(); + + + } + + + } + + // InternalApplicationConfiguration.g:2793:4: (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* + loop36: + do { + int alt36=2; + int LA36_0 = input.LA(1); + + if ( (LA36_0==20) ) { + alt36=1; + } + + + switch (alt36) { + case 1 : + // InternalApplicationConfiguration.g:2794:5: otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) + { + otherlv_3=(Token)match(input,20,FOLLOW_29); + + newLeafNode(otherlv_3, grammarAccess.getScopeSpecificationAccess().getCommaKeyword_2_1_0()); + + // InternalApplicationConfiguration.g:2798:5: ( (lv_scopes_4_0= ruleTypeScope ) ) + // InternalApplicationConfiguration.g:2799:6: (lv_scopes_4_0= ruleTypeScope ) + { + // InternalApplicationConfiguration.g:2799:6: (lv_scopes_4_0= ruleTypeScope ) + // InternalApplicationConfiguration.g:2800:7: lv_scopes_4_0= ruleTypeScope + { + + newCompositeNode(grammarAccess.getScopeSpecificationAccess().getScopesTypeScopeParserRuleCall_2_1_1_0()); + + pushFollow(FOLLOW_15); + lv_scopes_4_0=ruleTypeScope(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getScopeSpecificationRule()); + } + add( + current, + "scopes", + lv_scopes_4_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.TypeScope"); + afterParserOrEnumRuleCall(); + + + } + + + } + + + } + break; + + default : + break loop36; + } + } while (true); + + + } + break; + + } + + otherlv_5=(Token)match(input,21,FOLLOW_2); + + newLeafNode(otherlv_5, grammarAccess.getScopeSpecificationAccess().getRightCurlyBracketKeyword_3()); + + + } + + + } + + + leaveRule(); + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleScopeSpecification" + + + // $ANTLR start "entryRuleTypeScope" + // InternalApplicationConfiguration.g:2827:1: entryRuleTypeScope returns [EObject current=null] : iv_ruleTypeScope= ruleTypeScope EOF ; + public final EObject entryRuleTypeScope() throws RecognitionException { + EObject current = null; + + EObject iv_ruleTypeScope = null; + + + try { + // InternalApplicationConfiguration.g:2827:50: (iv_ruleTypeScope= ruleTypeScope EOF ) + // InternalApplicationConfiguration.g:2828:2: iv_ruleTypeScope= ruleTypeScope EOF + { + newCompositeNode(grammarAccess.getTypeScopeRule()); + pushFollow(FOLLOW_1); + iv_ruleTypeScope=ruleTypeScope(); + + state._fsp--; + + current =iv_ruleTypeScope; + match(input,EOF,FOLLOW_2); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleTypeScope" + + + // $ANTLR start "ruleTypeScope" + // InternalApplicationConfiguration.g:2834:1: ruleTypeScope returns [EObject current=null] : (this_ClassTypeScope_0= ruleClassTypeScope | this_ObjectTypeScope_1= ruleObjectTypeScope | this_IntegerTypeScope_2= ruleIntegerTypeScope | this_RealTypeScope_3= ruleRealTypeScope | this_StringTypeScope_4= ruleStringTypeScope ) ; + public final EObject ruleTypeScope() throws RecognitionException { + EObject current = null; + + EObject this_ClassTypeScope_0 = null; + + EObject this_ObjectTypeScope_1 = null; + + EObject this_IntegerTypeScope_2 = null; + + EObject this_RealTypeScope_3 = null; + + EObject this_StringTypeScope_4 = null; + + + + enterRule(); + + try { + // InternalApplicationConfiguration.g:2840:2: ( (this_ClassTypeScope_0= ruleClassTypeScope | this_ObjectTypeScope_1= ruleObjectTypeScope | this_IntegerTypeScope_2= ruleIntegerTypeScope | this_RealTypeScope_3= ruleRealTypeScope | this_StringTypeScope_4= ruleStringTypeScope ) ) + // InternalApplicationConfiguration.g:2841:2: (this_ClassTypeScope_0= ruleClassTypeScope | this_ObjectTypeScope_1= ruleObjectTypeScope | this_IntegerTypeScope_2= ruleIntegerTypeScope | this_RealTypeScope_3= ruleRealTypeScope | this_StringTypeScope_4= ruleStringTypeScope ) + { + // InternalApplicationConfiguration.g:2841:2: (this_ClassTypeScope_0= ruleClassTypeScope | this_ObjectTypeScope_1= ruleObjectTypeScope | this_IntegerTypeScope_2= ruleIntegerTypeScope | this_RealTypeScope_3= ruleRealTypeScope | this_StringTypeScope_4= ruleStringTypeScope ) + int alt38=5; + int LA38_0 = input.LA(1); + + if ( (LA38_0==34) ) { + switch ( input.LA(2) ) { + case 39: + { + alt38=3; + } + break; + case 40: + { + alt38=4; + } + break; + case 41: + { + alt38=5; + } + break; + case 36: + { + alt38=1; + } + break; + case 38: + { + alt38=2; + } + break; + default: + NoViableAltException nvae = + new NoViableAltException("", 38, 1, input); + + throw nvae; + } + + } + else { + NoViableAltException nvae = + new NoViableAltException("", 38, 0, input); + + throw nvae; + } + switch (alt38) { + case 1 : + // InternalApplicationConfiguration.g:2842:3: this_ClassTypeScope_0= ruleClassTypeScope + { + + newCompositeNode(grammarAccess.getTypeScopeAccess().getClassTypeScopeParserRuleCall_0()); + + pushFollow(FOLLOW_2); + this_ClassTypeScope_0=ruleClassTypeScope(); + + state._fsp--; + + + current = this_ClassTypeScope_0; + afterParserOrEnumRuleCall(); + + + } + break; + case 2 : + // InternalApplicationConfiguration.g:2851:3: this_ObjectTypeScope_1= ruleObjectTypeScope + { + + newCompositeNode(grammarAccess.getTypeScopeAccess().getObjectTypeScopeParserRuleCall_1()); + + pushFollow(FOLLOW_2); + this_ObjectTypeScope_1=ruleObjectTypeScope(); + + state._fsp--; + + + current = this_ObjectTypeScope_1; + afterParserOrEnumRuleCall(); + + + } + break; + case 3 : + // InternalApplicationConfiguration.g:2860:3: this_IntegerTypeScope_2= ruleIntegerTypeScope + { + + newCompositeNode(grammarAccess.getTypeScopeAccess().getIntegerTypeScopeParserRuleCall_2()); + + pushFollow(FOLLOW_2); + this_IntegerTypeScope_2=ruleIntegerTypeScope(); + + state._fsp--; + + + current = this_IntegerTypeScope_2; + afterParserOrEnumRuleCall(); + + + } + break; + case 4 : + // InternalApplicationConfiguration.g:2869:3: this_RealTypeScope_3= ruleRealTypeScope + { + + newCompositeNode(grammarAccess.getTypeScopeAccess().getRealTypeScopeParserRuleCall_3()); + + pushFollow(FOLLOW_2); + this_RealTypeScope_3=ruleRealTypeScope(); + + state._fsp--; + + + current = this_RealTypeScope_3; + afterParserOrEnumRuleCall(); + + + } + break; + case 5 : + // InternalApplicationConfiguration.g:2878:3: this_StringTypeScope_4= ruleStringTypeScope + { + + newCompositeNode(grammarAccess.getTypeScopeAccess().getStringTypeScopeParserRuleCall_4()); + + pushFollow(FOLLOW_2); + this_StringTypeScope_4=ruleStringTypeScope(); + + state._fsp--; + + + current = this_StringTypeScope_4; + afterParserOrEnumRuleCall(); + + + } + break; + + } + + + } + + + leaveRule(); + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleTypeScope" + + + // $ANTLR start "entryRuleClassTypeScope" + // InternalApplicationConfiguration.g:2890:1: entryRuleClassTypeScope returns [EObject current=null] : iv_ruleClassTypeScope= ruleClassTypeScope EOF ; + public final EObject entryRuleClassTypeScope() throws RecognitionException { + EObject current = null; + + EObject iv_ruleClassTypeScope = null; + + + try { + // InternalApplicationConfiguration.g:2890:55: (iv_ruleClassTypeScope= ruleClassTypeScope EOF ) + // InternalApplicationConfiguration.g:2891:2: iv_ruleClassTypeScope= ruleClassTypeScope EOF + { + newCompositeNode(grammarAccess.getClassTypeScopeRule()); + pushFollow(FOLLOW_1); + iv_ruleClassTypeScope=ruleClassTypeScope(); + + state._fsp--; + + current =iv_ruleClassTypeScope; + match(input,EOF,FOLLOW_2); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleClassTypeScope" + + + // $ANTLR start "ruleClassTypeScope" + // InternalApplicationConfiguration.g:2897:1: ruleClassTypeScope returns [EObject current=null] : (otherlv_0= '#' ( (lv_type_1_0= ruleClassReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) ) ; + public final EObject ruleClassTypeScope() throws RecognitionException { + EObject current = null; + + Token otherlv_0=null; + Token lv_setsNew_2_0=null; + Token lv_setsSum_3_0=null; + EObject lv_type_1_0 = null; + + EObject lv_number_4_0 = null; + + EObject lv_number_5_0 = null; + + + + enterRule(); + + try { + // InternalApplicationConfiguration.g:2903:2: ( (otherlv_0= '#' ( (lv_type_1_0= ruleClassReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) ) ) + // InternalApplicationConfiguration.g:2904:2: (otherlv_0= '#' ( (lv_type_1_0= ruleClassReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) ) + { + // InternalApplicationConfiguration.g:2904:2: (otherlv_0= '#' ( (lv_type_1_0= ruleClassReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) ) + // InternalApplicationConfiguration.g:2905:3: otherlv_0= '#' ( (lv_type_1_0= ruleClassReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) + { + otherlv_0=(Token)match(input,34,FOLLOW_30); + + newLeafNode(otherlv_0, grammarAccess.getClassTypeScopeAccess().getNumberSignKeyword_0()); + + // InternalApplicationConfiguration.g:2909:3: ( (lv_type_1_0= ruleClassReference ) ) + // InternalApplicationConfiguration.g:2910:4: (lv_type_1_0= ruleClassReference ) + { + // InternalApplicationConfiguration.g:2910:4: (lv_type_1_0= ruleClassReference ) + // InternalApplicationConfiguration.g:2911:5: lv_type_1_0= ruleClassReference + { + + newCompositeNode(grammarAccess.getClassTypeScopeAccess().getTypeClassReferenceParserRuleCall_1_0()); + + pushFollow(FOLLOW_31); + lv_type_1_0=ruleClassReference(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getClassTypeScopeRule()); + } + set( + current, + "type", + lv_type_1_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ClassReference"); + afterParserOrEnumRuleCall(); + + + } + + + } + + // InternalApplicationConfiguration.g:2928:3: ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) + int alt39=2; + int LA39_0 = input.LA(1); + + if ( (LA39_0==35) ) { + alt39=1; + } + else if ( (LA39_0==18) ) { + alt39=2; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 39, 0, input); + + throw nvae; + } + switch (alt39) { + case 1 : + // InternalApplicationConfiguration.g:2929:4: ( (lv_setsNew_2_0= '+=' ) ) + { + // InternalApplicationConfiguration.g:2929:4: ( (lv_setsNew_2_0= '+=' ) ) + // InternalApplicationConfiguration.g:2930:5: (lv_setsNew_2_0= '+=' ) + { + // InternalApplicationConfiguration.g:2930:5: (lv_setsNew_2_0= '+=' ) + // InternalApplicationConfiguration.g:2931:6: lv_setsNew_2_0= '+=' + { + lv_setsNew_2_0=(Token)match(input,35,FOLLOW_32); + + newLeafNode(lv_setsNew_2_0, grammarAccess.getClassTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); + + + if (current==null) { + current = createModelElement(grammarAccess.getClassTypeScopeRule()); + } + setWithLastConsumed(current, "setsNew", true, "+="); + + + } + + + } + + + } + break; + case 2 : + // InternalApplicationConfiguration.g:2944:4: ( (lv_setsSum_3_0= '=' ) ) + { + // InternalApplicationConfiguration.g:2944:4: ( (lv_setsSum_3_0= '=' ) ) + // InternalApplicationConfiguration.g:2945:5: (lv_setsSum_3_0= '=' ) + { + // InternalApplicationConfiguration.g:2945:5: (lv_setsSum_3_0= '=' ) + // InternalApplicationConfiguration.g:2946:6: lv_setsSum_3_0= '=' + { + lv_setsSum_3_0=(Token)match(input,18,FOLLOW_32); + + newLeafNode(lv_setsSum_3_0, grammarAccess.getClassTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); + + + if (current==null) { + current = createModelElement(grammarAccess.getClassTypeScopeRule()); + } + setWithLastConsumed(current, "setsSum", true, "="); + + + } + + + } + + + } + break; + + } + + // InternalApplicationConfiguration.g:2959:3: ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) + int alt40=2; + int LA40_0 = input.LA(1); + + if ( (LA40_0==RULE_INT) ) { + int LA40_1 = input.LA(2); + + if ( (LA40_1==EOF||(LA40_1>=20 && LA40_1<=21)) ) { + alt40=1; + } + else if ( (LA40_1==43) ) { + alt40=2; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 40, 1, input); + + throw nvae; + } + } + else if ( (LA40_0==42) ) { + alt40=1; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 40, 0, input); + + throw nvae; + } + switch (alt40) { + case 1 : + // InternalApplicationConfiguration.g:2960:4: ( (lv_number_4_0= ruleExactNumber ) ) + { + // InternalApplicationConfiguration.g:2960:4: ( (lv_number_4_0= ruleExactNumber ) ) + // InternalApplicationConfiguration.g:2961:5: (lv_number_4_0= ruleExactNumber ) + { + // InternalApplicationConfiguration.g:2961:5: (lv_number_4_0= ruleExactNumber ) + // InternalApplicationConfiguration.g:2962:6: lv_number_4_0= ruleExactNumber + { + + newCompositeNode(grammarAccess.getClassTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0()); + + pushFollow(FOLLOW_2); + lv_number_4_0=ruleExactNumber(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getClassTypeScopeRule()); + } + set( + current, + "number", + lv_number_4_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ExactNumber"); + afterParserOrEnumRuleCall(); + + + } + + + } + + + } + break; + case 2 : + // InternalApplicationConfiguration.g:2980:4: ( (lv_number_5_0= ruleIntervallNumber ) ) + { + // InternalApplicationConfiguration.g:2980:4: ( (lv_number_5_0= ruleIntervallNumber ) ) + // InternalApplicationConfiguration.g:2981:5: (lv_number_5_0= ruleIntervallNumber ) + { + // InternalApplicationConfiguration.g:2981:5: (lv_number_5_0= ruleIntervallNumber ) + // InternalApplicationConfiguration.g:2982:6: lv_number_5_0= ruleIntervallNumber + { + + newCompositeNode(grammarAccess.getClassTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0()); + + pushFollow(FOLLOW_2); + lv_number_5_0=ruleIntervallNumber(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getClassTypeScopeRule()); + } + set( + current, + "number", + lv_number_5_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntervallNumber"); + afterParserOrEnumRuleCall(); + + + } + + + } + + + } + break; + + } + + + } + + + } + + + leaveRule(); + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleClassTypeScope" + + + // $ANTLR start "entryRuleObjectTypeScope" + // InternalApplicationConfiguration.g:3004:1: entryRuleObjectTypeScope returns [EObject current=null] : iv_ruleObjectTypeScope= ruleObjectTypeScope EOF ; + public final EObject entryRuleObjectTypeScope() throws RecognitionException { + EObject current = null; + + EObject iv_ruleObjectTypeScope = null; + + + try { + // InternalApplicationConfiguration.g:3004:56: (iv_ruleObjectTypeScope= ruleObjectTypeScope EOF ) + // InternalApplicationConfiguration.g:3005:2: iv_ruleObjectTypeScope= ruleObjectTypeScope EOF + { + newCompositeNode(grammarAccess.getObjectTypeScopeRule()); + pushFollow(FOLLOW_1); + iv_ruleObjectTypeScope=ruleObjectTypeScope(); + + state._fsp--; + + current =iv_ruleObjectTypeScope; + match(input,EOF,FOLLOW_2); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleObjectTypeScope" + + + // $ANTLR start "ruleObjectTypeScope" + // InternalApplicationConfiguration.g:3011:1: ruleObjectTypeScope returns [EObject current=null] : (otherlv_0= '#' ( (lv_type_1_0= ruleObjectReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) ) ; + public final EObject ruleObjectTypeScope() throws RecognitionException { + EObject current = null; + + Token otherlv_0=null; + Token lv_setsNew_2_0=null; + Token lv_setsSum_3_0=null; + EObject lv_type_1_0 = null; + + EObject lv_number_4_0 = null; + + EObject lv_number_5_0 = null; + + + + enterRule(); + + try { + // InternalApplicationConfiguration.g:3017:2: ( (otherlv_0= '#' ( (lv_type_1_0= ruleObjectReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) ) ) + // InternalApplicationConfiguration.g:3018:2: (otherlv_0= '#' ( (lv_type_1_0= ruleObjectReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) ) + { + // InternalApplicationConfiguration.g:3018:2: (otherlv_0= '#' ( (lv_type_1_0= ruleObjectReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) ) + // InternalApplicationConfiguration.g:3019:3: otherlv_0= '#' ( (lv_type_1_0= ruleObjectReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) + { + otherlv_0=(Token)match(input,34,FOLLOW_33); + + newLeafNode(otherlv_0, grammarAccess.getObjectTypeScopeAccess().getNumberSignKeyword_0()); + + // InternalApplicationConfiguration.g:3023:3: ( (lv_type_1_0= ruleObjectReference ) ) + // InternalApplicationConfiguration.g:3024:4: (lv_type_1_0= ruleObjectReference ) + { + // InternalApplicationConfiguration.g:3024:4: (lv_type_1_0= ruleObjectReference ) + // InternalApplicationConfiguration.g:3025:5: lv_type_1_0= ruleObjectReference + { + + newCompositeNode(grammarAccess.getObjectTypeScopeAccess().getTypeObjectReferenceParserRuleCall_1_0()); + + pushFollow(FOLLOW_31); + lv_type_1_0=ruleObjectReference(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getObjectTypeScopeRule()); + } + set( + current, + "type", + lv_type_1_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ObjectReference"); + afterParserOrEnumRuleCall(); + + + } + + + } + + // InternalApplicationConfiguration.g:3042:3: ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) + int alt41=2; + int LA41_0 = input.LA(1); + + if ( (LA41_0==35) ) { + alt41=1; + } + else if ( (LA41_0==18) ) { + alt41=2; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 41, 0, input); + + throw nvae; + } + switch (alt41) { + case 1 : + // InternalApplicationConfiguration.g:3043:4: ( (lv_setsNew_2_0= '+=' ) ) + { + // InternalApplicationConfiguration.g:3043:4: ( (lv_setsNew_2_0= '+=' ) ) + // InternalApplicationConfiguration.g:3044:5: (lv_setsNew_2_0= '+=' ) + { + // InternalApplicationConfiguration.g:3044:5: (lv_setsNew_2_0= '+=' ) + // InternalApplicationConfiguration.g:3045:6: lv_setsNew_2_0= '+=' + { + lv_setsNew_2_0=(Token)match(input,35,FOLLOW_32); + + newLeafNode(lv_setsNew_2_0, grammarAccess.getObjectTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); + + + if (current==null) { + current = createModelElement(grammarAccess.getObjectTypeScopeRule()); + } + setWithLastConsumed(current, "setsNew", true, "+="); + + + } + + + } + + + } + break; + case 2 : + // InternalApplicationConfiguration.g:3058:4: ( (lv_setsSum_3_0= '=' ) ) + { + // InternalApplicationConfiguration.g:3058:4: ( (lv_setsSum_3_0= '=' ) ) + // InternalApplicationConfiguration.g:3059:5: (lv_setsSum_3_0= '=' ) + { + // InternalApplicationConfiguration.g:3059:5: (lv_setsSum_3_0= '=' ) + // InternalApplicationConfiguration.g:3060:6: lv_setsSum_3_0= '=' + { + lv_setsSum_3_0=(Token)match(input,18,FOLLOW_32); + + newLeafNode(lv_setsSum_3_0, grammarAccess.getObjectTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); + + + if (current==null) { + current = createModelElement(grammarAccess.getObjectTypeScopeRule()); + } + setWithLastConsumed(current, "setsSum", true, "="); + + + } + + + } + + + } + break; + + } + + // InternalApplicationConfiguration.g:3073:3: ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) + int alt42=2; + int LA42_0 = input.LA(1); + + if ( (LA42_0==RULE_INT) ) { + int LA42_1 = input.LA(2); + + if ( (LA42_1==EOF||(LA42_1>=20 && LA42_1<=21)) ) { + alt42=1; + } + else if ( (LA42_1==43) ) { + alt42=2; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 42, 1, input); + + throw nvae; + } + } + else if ( (LA42_0==42) ) { + alt42=1; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 42, 0, input); + + throw nvae; + } + switch (alt42) { + case 1 : + // InternalApplicationConfiguration.g:3074:4: ( (lv_number_4_0= ruleExactNumber ) ) + { + // InternalApplicationConfiguration.g:3074:4: ( (lv_number_4_0= ruleExactNumber ) ) + // InternalApplicationConfiguration.g:3075:5: (lv_number_4_0= ruleExactNumber ) + { + // InternalApplicationConfiguration.g:3075:5: (lv_number_4_0= ruleExactNumber ) + // InternalApplicationConfiguration.g:3076:6: lv_number_4_0= ruleExactNumber + { + + newCompositeNode(grammarAccess.getObjectTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0()); + + pushFollow(FOLLOW_2); + lv_number_4_0=ruleExactNumber(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getObjectTypeScopeRule()); + } + set( + current, + "number", + lv_number_4_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ExactNumber"); + afterParserOrEnumRuleCall(); + + + } + + + } + + + } + break; + case 2 : + // InternalApplicationConfiguration.g:3094:4: ( (lv_number_5_0= ruleIntervallNumber ) ) + { + // InternalApplicationConfiguration.g:3094:4: ( (lv_number_5_0= ruleIntervallNumber ) ) + // InternalApplicationConfiguration.g:3095:5: (lv_number_5_0= ruleIntervallNumber ) + { + // InternalApplicationConfiguration.g:3095:5: (lv_number_5_0= ruleIntervallNumber ) + // InternalApplicationConfiguration.g:3096:6: lv_number_5_0= ruleIntervallNumber + { + + newCompositeNode(grammarAccess.getObjectTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0()); + + pushFollow(FOLLOW_2); + lv_number_5_0=ruleIntervallNumber(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getObjectTypeScopeRule()); + } + set( + current, + "number", + lv_number_5_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntervallNumber"); + afterParserOrEnumRuleCall(); + + + } + + + } + + + } + break; + + } + + + } + + + } + + + leaveRule(); + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleObjectTypeScope" + + + // $ANTLR start "entryRuleIntegerTypeScope" + // InternalApplicationConfiguration.g:3118:1: entryRuleIntegerTypeScope returns [EObject current=null] : iv_ruleIntegerTypeScope= ruleIntegerTypeScope EOF ; + public final EObject entryRuleIntegerTypeScope() throws RecognitionException { + EObject current = null; + + EObject iv_ruleIntegerTypeScope = null; + + + try { + // InternalApplicationConfiguration.g:3118:57: (iv_ruleIntegerTypeScope= ruleIntegerTypeScope EOF ) + // InternalApplicationConfiguration.g:3119:2: iv_ruleIntegerTypeScope= ruleIntegerTypeScope EOF + { + newCompositeNode(grammarAccess.getIntegerTypeScopeRule()); + pushFollow(FOLLOW_1); + iv_ruleIntegerTypeScope=ruleIntegerTypeScope(); + + state._fsp--; + + current =iv_ruleIntegerTypeScope; + match(input,EOF,FOLLOW_2); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleIntegerTypeScope" + + + // $ANTLR start "ruleIntegerTypeScope" + // InternalApplicationConfiguration.g:3125:1: ruleIntegerTypeScope returns [EObject current=null] : (otherlv_0= '#' ( (lv_type_1_0= ruleIntegerReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleIntEnumberation ) ) ) ) ; + public final EObject ruleIntegerTypeScope() throws RecognitionException { + EObject current = null; + + Token otherlv_0=null; + Token lv_setsNew_2_0=null; + Token lv_setsSum_3_0=null; + EObject lv_type_1_0 = null; + + EObject lv_number_4_0 = null; + + EObject lv_number_5_0 = null; + + EObject lv_number_6_0 = null; + + + + enterRule(); + + try { + // InternalApplicationConfiguration.g:3131:2: ( (otherlv_0= '#' ( (lv_type_1_0= ruleIntegerReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleIntEnumberation ) ) ) ) ) + // InternalApplicationConfiguration.g:3132:2: (otherlv_0= '#' ( (lv_type_1_0= ruleIntegerReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleIntEnumberation ) ) ) ) + { + // InternalApplicationConfiguration.g:3132:2: (otherlv_0= '#' ( (lv_type_1_0= ruleIntegerReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleIntEnumberation ) ) ) ) + // InternalApplicationConfiguration.g:3133:3: otherlv_0= '#' ( (lv_type_1_0= ruleIntegerReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleIntEnumberation ) ) ) + { + otherlv_0=(Token)match(input,34,FOLLOW_34); + + newLeafNode(otherlv_0, grammarAccess.getIntegerTypeScopeAccess().getNumberSignKeyword_0()); + + // InternalApplicationConfiguration.g:3137:3: ( (lv_type_1_0= ruleIntegerReference ) ) + // InternalApplicationConfiguration.g:3138:4: (lv_type_1_0= ruleIntegerReference ) + { + // InternalApplicationConfiguration.g:3138:4: (lv_type_1_0= ruleIntegerReference ) + // InternalApplicationConfiguration.g:3139:5: lv_type_1_0= ruleIntegerReference + { + + newCompositeNode(grammarAccess.getIntegerTypeScopeAccess().getTypeIntegerReferenceParserRuleCall_1_0()); + + pushFollow(FOLLOW_31); + lv_type_1_0=ruleIntegerReference(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getIntegerTypeScopeRule()); + } + set( + current, + "type", + lv_type_1_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntegerReference"); + afterParserOrEnumRuleCall(); + + + } + + + } + + // InternalApplicationConfiguration.g:3156:3: ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) + int alt43=2; + int LA43_0 = input.LA(1); + + if ( (LA43_0==35) ) { + alt43=1; + } + else if ( (LA43_0==18) ) { + alt43=2; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 43, 0, input); + + throw nvae; + } + switch (alt43) { + case 1 : + // InternalApplicationConfiguration.g:3157:4: ( (lv_setsNew_2_0= '+=' ) ) + { + // InternalApplicationConfiguration.g:3157:4: ( (lv_setsNew_2_0= '+=' ) ) + // InternalApplicationConfiguration.g:3158:5: (lv_setsNew_2_0= '+=' ) + { + // InternalApplicationConfiguration.g:3158:5: (lv_setsNew_2_0= '+=' ) + // InternalApplicationConfiguration.g:3159:6: lv_setsNew_2_0= '+=' + { + lv_setsNew_2_0=(Token)match(input,35,FOLLOW_35); + + newLeafNode(lv_setsNew_2_0, grammarAccess.getIntegerTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); + + + if (current==null) { + current = createModelElement(grammarAccess.getIntegerTypeScopeRule()); + } + setWithLastConsumed(current, "setsNew", true, "+="); + + + } + + + } + + + } + break; + case 2 : + // InternalApplicationConfiguration.g:3172:4: ( (lv_setsSum_3_0= '=' ) ) + { + // InternalApplicationConfiguration.g:3172:4: ( (lv_setsSum_3_0= '=' ) ) + // InternalApplicationConfiguration.g:3173:5: (lv_setsSum_3_0= '=' ) + { + // InternalApplicationConfiguration.g:3173:5: (lv_setsSum_3_0= '=' ) + // InternalApplicationConfiguration.g:3174:6: lv_setsSum_3_0= '=' + { + lv_setsSum_3_0=(Token)match(input,18,FOLLOW_35); + + newLeafNode(lv_setsSum_3_0, grammarAccess.getIntegerTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); + + + if (current==null) { + current = createModelElement(grammarAccess.getIntegerTypeScopeRule()); + } + setWithLastConsumed(current, "setsSum", true, "="); + + + } + + + } + + + } + break; + + } + + // InternalApplicationConfiguration.g:3187:3: ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleIntEnumberation ) ) ) + int alt44=3; + switch ( input.LA(1) ) { + case RULE_INT: + { + int LA44_1 = input.LA(2); + + if ( (LA44_1==EOF||(LA44_1>=20 && LA44_1<=21)) ) { + alt44=1; + } + else if ( (LA44_1==43) ) { + alt44=2; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 44, 1, input); + + throw nvae; + } + } + break; + case 42: + { + alt44=1; + } + break; + case 19: + { + alt44=3; + } + break; + default: + NoViableAltException nvae = + new NoViableAltException("", 44, 0, input); + + throw nvae; + } + + switch (alt44) { + case 1 : + // InternalApplicationConfiguration.g:3188:4: ( (lv_number_4_0= ruleExactNumber ) ) + { + // InternalApplicationConfiguration.g:3188:4: ( (lv_number_4_0= ruleExactNumber ) ) + // InternalApplicationConfiguration.g:3189:5: (lv_number_4_0= ruleExactNumber ) + { + // InternalApplicationConfiguration.g:3189:5: (lv_number_4_0= ruleExactNumber ) + // InternalApplicationConfiguration.g:3190:6: lv_number_4_0= ruleExactNumber + { + + newCompositeNode(grammarAccess.getIntegerTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0()); + + pushFollow(FOLLOW_2); + lv_number_4_0=ruleExactNumber(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getIntegerTypeScopeRule()); + } + set( + current, + "number", + lv_number_4_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ExactNumber"); + afterParserOrEnumRuleCall(); + + + } + + + } + + + } + break; + case 2 : + // InternalApplicationConfiguration.g:3208:4: ( (lv_number_5_0= ruleIntervallNumber ) ) + { + // InternalApplicationConfiguration.g:3208:4: ( (lv_number_5_0= ruleIntervallNumber ) ) + // InternalApplicationConfiguration.g:3209:5: (lv_number_5_0= ruleIntervallNumber ) + { + // InternalApplicationConfiguration.g:3209:5: (lv_number_5_0= ruleIntervallNumber ) + // InternalApplicationConfiguration.g:3210:6: lv_number_5_0= ruleIntervallNumber + { + + newCompositeNode(grammarAccess.getIntegerTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0()); + + pushFollow(FOLLOW_2); + lv_number_5_0=ruleIntervallNumber(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getIntegerTypeScopeRule()); + } + set( + current, + "number", + lv_number_5_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntervallNumber"); + afterParserOrEnumRuleCall(); + + + } + + + } + + + } + break; + case 3 : + // InternalApplicationConfiguration.g:3228:4: ( (lv_number_6_0= ruleIntEnumberation ) ) + { + // InternalApplicationConfiguration.g:3228:4: ( (lv_number_6_0= ruleIntEnumberation ) ) + // InternalApplicationConfiguration.g:3229:5: (lv_number_6_0= ruleIntEnumberation ) + { + // InternalApplicationConfiguration.g:3229:5: (lv_number_6_0= ruleIntEnumberation ) + // InternalApplicationConfiguration.g:3230:6: lv_number_6_0= ruleIntEnumberation + { + + newCompositeNode(grammarAccess.getIntegerTypeScopeAccess().getNumberIntEnumberationParserRuleCall_3_2_0()); + + pushFollow(FOLLOW_2); + lv_number_6_0=ruleIntEnumberation(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getIntegerTypeScopeRule()); + } + set( + current, + "number", + lv_number_6_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntEnumberation"); + afterParserOrEnumRuleCall(); + + + } + + + } + + + } + break; + + } + + + } + + + } + + + leaveRule(); + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleIntegerTypeScope" + + + // $ANTLR start "entryRuleRealTypeScope" + // InternalApplicationConfiguration.g:3252:1: entryRuleRealTypeScope returns [EObject current=null] : iv_ruleRealTypeScope= ruleRealTypeScope EOF ; + public final EObject entryRuleRealTypeScope() throws RecognitionException { + EObject current = null; + + EObject iv_ruleRealTypeScope = null; + + + try { + // InternalApplicationConfiguration.g:3252:54: (iv_ruleRealTypeScope= ruleRealTypeScope EOF ) + // InternalApplicationConfiguration.g:3253:2: iv_ruleRealTypeScope= ruleRealTypeScope EOF + { + newCompositeNode(grammarAccess.getRealTypeScopeRule()); + pushFollow(FOLLOW_1); + iv_ruleRealTypeScope=ruleRealTypeScope(); + + state._fsp--; + + current =iv_ruleRealTypeScope; + match(input,EOF,FOLLOW_2); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleRealTypeScope" + + + // $ANTLR start "ruleRealTypeScope" + // InternalApplicationConfiguration.g:3259:1: ruleRealTypeScope returns [EObject current=null] : (otherlv_0= '#' ( (lv_type_1_0= ruleRealReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleRealEnumeration ) ) ) ) ; + public final EObject ruleRealTypeScope() throws RecognitionException { + EObject current = null; + + Token otherlv_0=null; + Token lv_setsNew_2_0=null; + Token lv_setsSum_3_0=null; + EObject lv_type_1_0 = null; + + EObject lv_number_4_0 = null; + + EObject lv_number_5_0 = null; + + EObject lv_number_6_0 = null; + + + + enterRule(); + + try { + // InternalApplicationConfiguration.g:3265:2: ( (otherlv_0= '#' ( (lv_type_1_0= ruleRealReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleRealEnumeration ) ) ) ) ) + // InternalApplicationConfiguration.g:3266:2: (otherlv_0= '#' ( (lv_type_1_0= ruleRealReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleRealEnumeration ) ) ) ) + { + // InternalApplicationConfiguration.g:3266:2: (otherlv_0= '#' ( (lv_type_1_0= ruleRealReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleRealEnumeration ) ) ) ) + // InternalApplicationConfiguration.g:3267:3: otherlv_0= '#' ( (lv_type_1_0= ruleRealReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleRealEnumeration ) ) ) + { + otherlv_0=(Token)match(input,34,FOLLOW_36); + + newLeafNode(otherlv_0, grammarAccess.getRealTypeScopeAccess().getNumberSignKeyword_0()); + + // InternalApplicationConfiguration.g:3271:3: ( (lv_type_1_0= ruleRealReference ) ) + // InternalApplicationConfiguration.g:3272:4: (lv_type_1_0= ruleRealReference ) + { + // InternalApplicationConfiguration.g:3272:4: (lv_type_1_0= ruleRealReference ) + // InternalApplicationConfiguration.g:3273:5: lv_type_1_0= ruleRealReference + { + + newCompositeNode(grammarAccess.getRealTypeScopeAccess().getTypeRealReferenceParserRuleCall_1_0()); + + pushFollow(FOLLOW_31); + lv_type_1_0=ruleRealReference(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getRealTypeScopeRule()); + } + set( + current, + "type", + lv_type_1_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.RealReference"); + afterParserOrEnumRuleCall(); + + + } + + + } + + // InternalApplicationConfiguration.g:3290:3: ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) + int alt45=2; + int LA45_0 = input.LA(1); + + if ( (LA45_0==35) ) { + alt45=1; + } + else if ( (LA45_0==18) ) { + alt45=2; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 45, 0, input); + + throw nvae; + } + switch (alt45) { + case 1 : + // InternalApplicationConfiguration.g:3291:4: ( (lv_setsNew_2_0= '+=' ) ) + { + // InternalApplicationConfiguration.g:3291:4: ( (lv_setsNew_2_0= '+=' ) ) + // InternalApplicationConfiguration.g:3292:5: (lv_setsNew_2_0= '+=' ) + { + // InternalApplicationConfiguration.g:3292:5: (lv_setsNew_2_0= '+=' ) + // InternalApplicationConfiguration.g:3293:6: lv_setsNew_2_0= '+=' + { + lv_setsNew_2_0=(Token)match(input,35,FOLLOW_35); + + newLeafNode(lv_setsNew_2_0, grammarAccess.getRealTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); + + + if (current==null) { + current = createModelElement(grammarAccess.getRealTypeScopeRule()); + } + setWithLastConsumed(current, "setsNew", true, "+="); + + + } + + + } + + + } + break; + case 2 : + // InternalApplicationConfiguration.g:3306:4: ( (lv_setsSum_3_0= '=' ) ) + { + // InternalApplicationConfiguration.g:3306:4: ( (lv_setsSum_3_0= '=' ) ) + // InternalApplicationConfiguration.g:3307:5: (lv_setsSum_3_0= '=' ) + { + // InternalApplicationConfiguration.g:3307:5: (lv_setsSum_3_0= '=' ) + // InternalApplicationConfiguration.g:3308:6: lv_setsSum_3_0= '=' + { + lv_setsSum_3_0=(Token)match(input,18,FOLLOW_35); + + newLeafNode(lv_setsSum_3_0, grammarAccess.getRealTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); + + + if (current==null) { + current = createModelElement(grammarAccess.getRealTypeScopeRule()); + } + setWithLastConsumed(current, "setsSum", true, "="); + + + } + + + } + + + } + break; + + } + + // InternalApplicationConfiguration.g:3321:3: ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleRealEnumeration ) ) ) + int alt46=3; + switch ( input.LA(1) ) { + case RULE_INT: + { + int LA46_1 = input.LA(2); + + if ( (LA46_1==43) ) { + alt46=2; + } + else if ( (LA46_1==EOF||(LA46_1>=20 && LA46_1<=21)) ) { + alt46=1; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 46, 1, input); + + throw nvae; + } + } + break; + case 42: + { + alt46=1; + } + break; + case 19: + { + alt46=3; + } + break; + default: + NoViableAltException nvae = + new NoViableAltException("", 46, 0, input); + + throw nvae; + } + + switch (alt46) { + case 1 : + // InternalApplicationConfiguration.g:3322:4: ( (lv_number_4_0= ruleExactNumber ) ) + { + // InternalApplicationConfiguration.g:3322:4: ( (lv_number_4_0= ruleExactNumber ) ) + // InternalApplicationConfiguration.g:3323:5: (lv_number_4_0= ruleExactNumber ) + { + // InternalApplicationConfiguration.g:3323:5: (lv_number_4_0= ruleExactNumber ) + // InternalApplicationConfiguration.g:3324:6: lv_number_4_0= ruleExactNumber + { + + newCompositeNode(grammarAccess.getRealTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0()); + + pushFollow(FOLLOW_2); + lv_number_4_0=ruleExactNumber(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getRealTypeScopeRule()); + } + set( + current, + "number", + lv_number_4_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ExactNumber"); + afterParserOrEnumRuleCall(); + + + } + + + } + + + } + break; + case 2 : + // InternalApplicationConfiguration.g:3342:4: ( (lv_number_5_0= ruleIntervallNumber ) ) + { + // InternalApplicationConfiguration.g:3342:4: ( (lv_number_5_0= ruleIntervallNumber ) ) + // InternalApplicationConfiguration.g:3343:5: (lv_number_5_0= ruleIntervallNumber ) + { + // InternalApplicationConfiguration.g:3343:5: (lv_number_5_0= ruleIntervallNumber ) + // InternalApplicationConfiguration.g:3344:6: lv_number_5_0= ruleIntervallNumber + { + + newCompositeNode(grammarAccess.getRealTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0()); + + pushFollow(FOLLOW_2); + lv_number_5_0=ruleIntervallNumber(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getRealTypeScopeRule()); + } + set( + current, + "number", + lv_number_5_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntervallNumber"); + afterParserOrEnumRuleCall(); + + + } + + + } + + + } + break; + case 3 : + // InternalApplicationConfiguration.g:3362:4: ( (lv_number_6_0= ruleRealEnumeration ) ) + { + // InternalApplicationConfiguration.g:3362:4: ( (lv_number_6_0= ruleRealEnumeration ) ) + // InternalApplicationConfiguration.g:3363:5: (lv_number_6_0= ruleRealEnumeration ) + { + // InternalApplicationConfiguration.g:3363:5: (lv_number_6_0= ruleRealEnumeration ) + // InternalApplicationConfiguration.g:3364:6: lv_number_6_0= ruleRealEnumeration + { + + newCompositeNode(grammarAccess.getRealTypeScopeAccess().getNumberRealEnumerationParserRuleCall_3_2_0()); + + pushFollow(FOLLOW_2); + lv_number_6_0=ruleRealEnumeration(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getRealTypeScopeRule()); + } + set( + current, + "number", + lv_number_6_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.RealEnumeration"); + afterParserOrEnumRuleCall(); + + + } + + + } + + + } + break; + + } + + + } + + + } + + + leaveRule(); + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleRealTypeScope" + + + // $ANTLR start "entryRuleStringTypeScope" + // InternalApplicationConfiguration.g:3386:1: entryRuleStringTypeScope returns [EObject current=null] : iv_ruleStringTypeScope= ruleStringTypeScope EOF ; + public final EObject entryRuleStringTypeScope() throws RecognitionException { + EObject current = null; + + EObject iv_ruleStringTypeScope = null; + + + try { + // InternalApplicationConfiguration.g:3386:56: (iv_ruleStringTypeScope= ruleStringTypeScope EOF ) + // InternalApplicationConfiguration.g:3387:2: iv_ruleStringTypeScope= ruleStringTypeScope EOF + { + newCompositeNode(grammarAccess.getStringTypeScopeRule()); + pushFollow(FOLLOW_1); + iv_ruleStringTypeScope=ruleStringTypeScope(); + + state._fsp--; + + current =iv_ruleStringTypeScope; + match(input,EOF,FOLLOW_2); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleStringTypeScope" + + + // $ANTLR start "ruleStringTypeScope" + // InternalApplicationConfiguration.g:3393:1: ruleStringTypeScope returns [EObject current=null] : (otherlv_0= '#' ( (lv_type_1_0= ruleStringReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleStringEnumeration ) ) ) ) ; + public final EObject ruleStringTypeScope() throws RecognitionException { + EObject current = null; + + Token otherlv_0=null; + Token lv_setsNew_2_0=null; + Token lv_setsSum_3_0=null; + EObject lv_type_1_0 = null; + + EObject lv_number_4_0 = null; + + EObject lv_number_5_0 = null; + + EObject lv_number_6_0 = null; + + + + enterRule(); + + try { + // InternalApplicationConfiguration.g:3399:2: ( (otherlv_0= '#' ( (lv_type_1_0= ruleStringReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleStringEnumeration ) ) ) ) ) + // InternalApplicationConfiguration.g:3400:2: (otherlv_0= '#' ( (lv_type_1_0= ruleStringReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleStringEnumeration ) ) ) ) + { + // InternalApplicationConfiguration.g:3400:2: (otherlv_0= '#' ( (lv_type_1_0= ruleStringReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleStringEnumeration ) ) ) ) + // InternalApplicationConfiguration.g:3401:3: otherlv_0= '#' ( (lv_type_1_0= ruleStringReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleStringEnumeration ) ) ) + { + otherlv_0=(Token)match(input,34,FOLLOW_37); + + newLeafNode(otherlv_0, grammarAccess.getStringTypeScopeAccess().getNumberSignKeyword_0()); + + // InternalApplicationConfiguration.g:3405:3: ( (lv_type_1_0= ruleStringReference ) ) + // InternalApplicationConfiguration.g:3406:4: (lv_type_1_0= ruleStringReference ) + { + // InternalApplicationConfiguration.g:3406:4: (lv_type_1_0= ruleStringReference ) + // InternalApplicationConfiguration.g:3407:5: lv_type_1_0= ruleStringReference + { + + newCompositeNode(grammarAccess.getStringTypeScopeAccess().getTypeStringReferenceParserRuleCall_1_0()); + + pushFollow(FOLLOW_31); + lv_type_1_0=ruleStringReference(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getStringTypeScopeRule()); + } + set( + current, + "type", + lv_type_1_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.StringReference"); + afterParserOrEnumRuleCall(); + + + } + + + } + + // InternalApplicationConfiguration.g:3424:3: ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) + int alt47=2; + int LA47_0 = input.LA(1); + + if ( (LA47_0==35) ) { + alt47=1; + } + else if ( (LA47_0==18) ) { + alt47=2; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 47, 0, input); + + throw nvae; + } + switch (alt47) { + case 1 : + // InternalApplicationConfiguration.g:3425:4: ( (lv_setsNew_2_0= '+=' ) ) + { + // InternalApplicationConfiguration.g:3425:4: ( (lv_setsNew_2_0= '+=' ) ) + // InternalApplicationConfiguration.g:3426:5: (lv_setsNew_2_0= '+=' ) + { + // InternalApplicationConfiguration.g:3426:5: (lv_setsNew_2_0= '+=' ) + // InternalApplicationConfiguration.g:3427:6: lv_setsNew_2_0= '+=' + { + lv_setsNew_2_0=(Token)match(input,35,FOLLOW_35); + + newLeafNode(lv_setsNew_2_0, grammarAccess.getStringTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); + + + if (current==null) { + current = createModelElement(grammarAccess.getStringTypeScopeRule()); + } + setWithLastConsumed(current, "setsNew", true, "+="); + + + } + + + } + + + } + break; + case 2 : + // InternalApplicationConfiguration.g:3440:4: ( (lv_setsSum_3_0= '=' ) ) + { + // InternalApplicationConfiguration.g:3440:4: ( (lv_setsSum_3_0= '=' ) ) + // InternalApplicationConfiguration.g:3441:5: (lv_setsSum_3_0= '=' ) + { + // InternalApplicationConfiguration.g:3441:5: (lv_setsSum_3_0= '=' ) + // InternalApplicationConfiguration.g:3442:6: lv_setsSum_3_0= '=' + { + lv_setsSum_3_0=(Token)match(input,18,FOLLOW_35); + + newLeafNode(lv_setsSum_3_0, grammarAccess.getStringTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); + + + if (current==null) { + current = createModelElement(grammarAccess.getStringTypeScopeRule()); + } + setWithLastConsumed(current, "setsSum", true, "="); + + + } + + + } + + + } + break; + + } + + // InternalApplicationConfiguration.g:3455:3: ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleStringEnumeration ) ) ) + int alt48=3; + switch ( input.LA(1) ) { + case RULE_INT: + { + int LA48_1 = input.LA(2); + + if ( (LA48_1==43) ) { + alt48=2; + } + else if ( (LA48_1==EOF||(LA48_1>=20 && LA48_1<=21)) ) { + alt48=1; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 48, 1, input); + + throw nvae; + } + } + break; + case 42: + { + alt48=1; + } + break; + case 19: + { + alt48=3; + } + break; + default: + NoViableAltException nvae = + new NoViableAltException("", 48, 0, input); + + throw nvae; + } + + switch (alt48) { + case 1 : + // InternalApplicationConfiguration.g:3456:4: ( (lv_number_4_0= ruleExactNumber ) ) + { + // InternalApplicationConfiguration.g:3456:4: ( (lv_number_4_0= ruleExactNumber ) ) + // InternalApplicationConfiguration.g:3457:5: (lv_number_4_0= ruleExactNumber ) + { + // InternalApplicationConfiguration.g:3457:5: (lv_number_4_0= ruleExactNumber ) + // InternalApplicationConfiguration.g:3458:6: lv_number_4_0= ruleExactNumber + { + + newCompositeNode(grammarAccess.getStringTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0()); + + pushFollow(FOLLOW_2); + lv_number_4_0=ruleExactNumber(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getStringTypeScopeRule()); + } + set( + current, + "number", + lv_number_4_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ExactNumber"); + afterParserOrEnumRuleCall(); + + + } + + + } + + + } + break; + case 2 : + // InternalApplicationConfiguration.g:3476:4: ( (lv_number_5_0= ruleIntervallNumber ) ) + { + // InternalApplicationConfiguration.g:3476:4: ( (lv_number_5_0= ruleIntervallNumber ) ) + // InternalApplicationConfiguration.g:3477:5: (lv_number_5_0= ruleIntervallNumber ) + { + // InternalApplicationConfiguration.g:3477:5: (lv_number_5_0= ruleIntervallNumber ) + // InternalApplicationConfiguration.g:3478:6: lv_number_5_0= ruleIntervallNumber + { + + newCompositeNode(grammarAccess.getStringTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0()); + + pushFollow(FOLLOW_2); + lv_number_5_0=ruleIntervallNumber(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getStringTypeScopeRule()); + } + set( + current, + "number", + lv_number_5_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntervallNumber"); + afterParserOrEnumRuleCall(); + + + } + + + } + + + } + break; + case 3 : + // InternalApplicationConfiguration.g:3496:4: ( (lv_number_6_0= ruleStringEnumeration ) ) + { + // InternalApplicationConfiguration.g:3496:4: ( (lv_number_6_0= ruleStringEnumeration ) ) + // InternalApplicationConfiguration.g:3497:5: (lv_number_6_0= ruleStringEnumeration ) + { + // InternalApplicationConfiguration.g:3497:5: (lv_number_6_0= ruleStringEnumeration ) + // InternalApplicationConfiguration.g:3498:6: lv_number_6_0= ruleStringEnumeration + { + + newCompositeNode(grammarAccess.getStringTypeScopeAccess().getNumberStringEnumerationParserRuleCall_3_2_0()); + + pushFollow(FOLLOW_2); + lv_number_6_0=ruleStringEnumeration(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getStringTypeScopeRule()); + } + set( + current, + "number", + lv_number_6_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.StringEnumeration"); + afterParserOrEnumRuleCall(); + + + } + + + } + + + } + break; + + } + + + } + + + } + + + leaveRule(); + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleStringTypeScope" + + + // $ANTLR start "entryRuleClassReference" + // InternalApplicationConfiguration.g:3520:1: entryRuleClassReference returns [EObject current=null] : iv_ruleClassReference= ruleClassReference EOF ; + public final EObject entryRuleClassReference() throws RecognitionException { + EObject current = null; + + EObject iv_ruleClassReference = null; + + + try { + // InternalApplicationConfiguration.g:3520:55: (iv_ruleClassReference= ruleClassReference EOF ) + // InternalApplicationConfiguration.g:3521:2: iv_ruleClassReference= ruleClassReference EOF + { + newCompositeNode(grammarAccess.getClassReferenceRule()); + pushFollow(FOLLOW_1); + iv_ruleClassReference=ruleClassReference(); + + state._fsp--; + + current =iv_ruleClassReference; + match(input,EOF,FOLLOW_2); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleClassReference" + + + // $ANTLR start "ruleClassReference" + // InternalApplicationConfiguration.g:3527:1: ruleClassReference returns [EObject current=null] : (otherlv_0= '<' ( (lv_element_1_0= ruleMetamodelElement ) ) otherlv_2= '>' ) ; + public final EObject ruleClassReference() throws RecognitionException { + EObject current = null; + + Token otherlv_0=null; + Token otherlv_2=null; + EObject lv_element_1_0 = null; + + + + enterRule(); + + try { + // InternalApplicationConfiguration.g:3533:2: ( (otherlv_0= '<' ( (lv_element_1_0= ruleMetamodelElement ) ) otherlv_2= '>' ) ) + // InternalApplicationConfiguration.g:3534:2: (otherlv_0= '<' ( (lv_element_1_0= ruleMetamodelElement ) ) otherlv_2= '>' ) + { + // InternalApplicationConfiguration.g:3534:2: (otherlv_0= '<' ( (lv_element_1_0= ruleMetamodelElement ) ) otherlv_2= '>' ) + // InternalApplicationConfiguration.g:3535:3: otherlv_0= '<' ( (lv_element_1_0= ruleMetamodelElement ) ) otherlv_2= '>' + { + otherlv_0=(Token)match(input,36,FOLLOW_6); + + newLeafNode(otherlv_0, grammarAccess.getClassReferenceAccess().getLessThanSignKeyword_0()); + + // InternalApplicationConfiguration.g:3539:3: ( (lv_element_1_0= ruleMetamodelElement ) ) + // InternalApplicationConfiguration.g:3540:4: (lv_element_1_0= ruleMetamodelElement ) + { + // InternalApplicationConfiguration.g:3540:4: (lv_element_1_0= ruleMetamodelElement ) + // InternalApplicationConfiguration.g:3541:5: lv_element_1_0= ruleMetamodelElement + { + + newCompositeNode(grammarAccess.getClassReferenceAccess().getElementMetamodelElementParserRuleCall_1_0()); + + pushFollow(FOLLOW_38); + lv_element_1_0=ruleMetamodelElement(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getClassReferenceRule()); + } + set( + current, + "element", + lv_element_1_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelElement"); + afterParserOrEnumRuleCall(); + + + } + + + } + + otherlv_2=(Token)match(input,37,FOLLOW_2); + + newLeafNode(otherlv_2, grammarAccess.getClassReferenceAccess().getGreaterThanSignKeyword_2()); + + + } + + + } + + + leaveRule(); + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleClassReference" + + + // $ANTLR start "entryRuleObjectReference" + // InternalApplicationConfiguration.g:3566:1: entryRuleObjectReference returns [EObject current=null] : iv_ruleObjectReference= ruleObjectReference EOF ; + public final EObject entryRuleObjectReference() throws RecognitionException { + EObject current = null; + + EObject iv_ruleObjectReference = null; + + + try { + // InternalApplicationConfiguration.g:3566:56: (iv_ruleObjectReference= ruleObjectReference EOF ) + // InternalApplicationConfiguration.g:3567:2: iv_ruleObjectReference= ruleObjectReference EOF + { + newCompositeNode(grammarAccess.getObjectReferenceRule()); + pushFollow(FOLLOW_1); + iv_ruleObjectReference=ruleObjectReference(); + + state._fsp--; + + current =iv_ruleObjectReference; + match(input,EOF,FOLLOW_2); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleObjectReference" + + + // $ANTLR start "ruleObjectReference" + // InternalApplicationConfiguration.g:3573:1: ruleObjectReference returns [EObject current=null] : ( () otherlv_1= 'node' ) ; + public final EObject ruleObjectReference() throws RecognitionException { + EObject current = null; + + Token otherlv_1=null; + + + enterRule(); + + try { + // InternalApplicationConfiguration.g:3579:2: ( ( () otherlv_1= 'node' ) ) + // InternalApplicationConfiguration.g:3580:2: ( () otherlv_1= 'node' ) + { + // InternalApplicationConfiguration.g:3580:2: ( () otherlv_1= 'node' ) + // InternalApplicationConfiguration.g:3581:3: () otherlv_1= 'node' + { + // InternalApplicationConfiguration.g:3581:3: () + // InternalApplicationConfiguration.g:3582:4: + { + + current = forceCreateModelElement( + grammarAccess.getObjectReferenceAccess().getObjectReferenceAction_0(), + current); + + + } + + otherlv_1=(Token)match(input,38,FOLLOW_2); + + newLeafNode(otherlv_1, grammarAccess.getObjectReferenceAccess().getNodeKeyword_1()); + + + } + + + } + + + leaveRule(); + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleObjectReference" + + + // $ANTLR start "entryRuleIntegerReference" + // InternalApplicationConfiguration.g:3596:1: entryRuleIntegerReference returns [EObject current=null] : iv_ruleIntegerReference= ruleIntegerReference EOF ; + public final EObject entryRuleIntegerReference() throws RecognitionException { + EObject current = null; + + EObject iv_ruleIntegerReference = null; + + + try { + // InternalApplicationConfiguration.g:3596:57: (iv_ruleIntegerReference= ruleIntegerReference EOF ) + // InternalApplicationConfiguration.g:3597:2: iv_ruleIntegerReference= ruleIntegerReference EOF + { + newCompositeNode(grammarAccess.getIntegerReferenceRule()); + pushFollow(FOLLOW_1); + iv_ruleIntegerReference=ruleIntegerReference(); + + state._fsp--; + + current =iv_ruleIntegerReference; + match(input,EOF,FOLLOW_2); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleIntegerReference" + + + // $ANTLR start "ruleIntegerReference" + // InternalApplicationConfiguration.g:3603:1: ruleIntegerReference returns [EObject current=null] : ( () otherlv_1= 'int' ) ; + public final EObject ruleIntegerReference() throws RecognitionException { + EObject current = null; + + Token otherlv_1=null; + + + enterRule(); + + try { + // InternalApplicationConfiguration.g:3609:2: ( ( () otherlv_1= 'int' ) ) + // InternalApplicationConfiguration.g:3610:2: ( () otherlv_1= 'int' ) + { + // InternalApplicationConfiguration.g:3610:2: ( () otherlv_1= 'int' ) + // InternalApplicationConfiguration.g:3611:3: () otherlv_1= 'int' + { + // InternalApplicationConfiguration.g:3611:3: () + // InternalApplicationConfiguration.g:3612:4: + { + + current = forceCreateModelElement( + grammarAccess.getIntegerReferenceAccess().getIntegerScopeAction_0(), + current); + + + } + + otherlv_1=(Token)match(input,39,FOLLOW_2); + + newLeafNode(otherlv_1, grammarAccess.getIntegerReferenceAccess().getIntKeyword_1()); + + + } + + + } + + + leaveRule(); + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleIntegerReference" + + + // $ANTLR start "entryRuleRealReference" + // InternalApplicationConfiguration.g:3626:1: entryRuleRealReference returns [EObject current=null] : iv_ruleRealReference= ruleRealReference EOF ; + public final EObject entryRuleRealReference() throws RecognitionException { + EObject current = null; + + EObject iv_ruleRealReference = null; + + + try { + // InternalApplicationConfiguration.g:3626:54: (iv_ruleRealReference= ruleRealReference EOF ) + // InternalApplicationConfiguration.g:3627:2: iv_ruleRealReference= ruleRealReference EOF + { + newCompositeNode(grammarAccess.getRealReferenceRule()); + pushFollow(FOLLOW_1); + iv_ruleRealReference=ruleRealReference(); + + state._fsp--; + + current =iv_ruleRealReference; + match(input,EOF,FOLLOW_2); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleRealReference" + + + // $ANTLR start "ruleRealReference" + // InternalApplicationConfiguration.g:3633:1: ruleRealReference returns [EObject current=null] : ( () otherlv_1= 'real' ) ; + public final EObject ruleRealReference() throws RecognitionException { + EObject current = null; + + Token otherlv_1=null; + + + enterRule(); + + try { + // InternalApplicationConfiguration.g:3639:2: ( ( () otherlv_1= 'real' ) ) + // InternalApplicationConfiguration.g:3640:2: ( () otherlv_1= 'real' ) + { + // InternalApplicationConfiguration.g:3640:2: ( () otherlv_1= 'real' ) + // InternalApplicationConfiguration.g:3641:3: () otherlv_1= 'real' + { + // InternalApplicationConfiguration.g:3641:3: () + // InternalApplicationConfiguration.g:3642:4: + { + + current = forceCreateModelElement( + grammarAccess.getRealReferenceAccess().getRealScopeAction_0(), + current); + + + } + + otherlv_1=(Token)match(input,40,FOLLOW_2); + + newLeafNode(otherlv_1, grammarAccess.getRealReferenceAccess().getRealKeyword_1()); + + + } + + + } + + + leaveRule(); + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleRealReference" + + + // $ANTLR start "entryRuleStringReference" + // InternalApplicationConfiguration.g:3656:1: entryRuleStringReference returns [EObject current=null] : iv_ruleStringReference= ruleStringReference EOF ; + public final EObject entryRuleStringReference() throws RecognitionException { + EObject current = null; + + EObject iv_ruleStringReference = null; + + + try { + // InternalApplicationConfiguration.g:3656:56: (iv_ruleStringReference= ruleStringReference EOF ) + // InternalApplicationConfiguration.g:3657:2: iv_ruleStringReference= ruleStringReference EOF + { + newCompositeNode(grammarAccess.getStringReferenceRule()); + pushFollow(FOLLOW_1); + iv_ruleStringReference=ruleStringReference(); + + state._fsp--; + + current =iv_ruleStringReference; + match(input,EOF,FOLLOW_2); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleStringReference" + + + // $ANTLR start "ruleStringReference" + // InternalApplicationConfiguration.g:3663:1: ruleStringReference returns [EObject current=null] : ( () otherlv_1= 'string' ) ; + public final EObject ruleStringReference() throws RecognitionException { + EObject current = null; + + Token otherlv_1=null; + + + enterRule(); + + try { + // InternalApplicationConfiguration.g:3669:2: ( ( () otherlv_1= 'string' ) ) + // InternalApplicationConfiguration.g:3670:2: ( () otherlv_1= 'string' ) + { + // InternalApplicationConfiguration.g:3670:2: ( () otherlv_1= 'string' ) + // InternalApplicationConfiguration.g:3671:3: () otherlv_1= 'string' + { + // InternalApplicationConfiguration.g:3671:3: () + // InternalApplicationConfiguration.g:3672:4: + { + + current = forceCreateModelElement( + grammarAccess.getStringReferenceAccess().getStringScopeAction_0(), + current); + + + } + + otherlv_1=(Token)match(input,41,FOLLOW_2); + + newLeafNode(otherlv_1, grammarAccess.getStringReferenceAccess().getStringKeyword_1()); + + + } + + + } + + + leaveRule(); + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleStringReference" + + + // $ANTLR start "entryRuleExactNumber" + // InternalApplicationConfiguration.g:3686:1: entryRuleExactNumber returns [EObject current=null] : iv_ruleExactNumber= ruleExactNumber EOF ; + public final EObject entryRuleExactNumber() throws RecognitionException { + EObject current = null; + + EObject iv_ruleExactNumber = null; + + + try { + // InternalApplicationConfiguration.g:3686:52: (iv_ruleExactNumber= ruleExactNumber EOF ) + // InternalApplicationConfiguration.g:3687:2: iv_ruleExactNumber= ruleExactNumber EOF + { + newCompositeNode(grammarAccess.getExactNumberRule()); + pushFollow(FOLLOW_1); + iv_ruleExactNumber=ruleExactNumber(); + + state._fsp--; + + current =iv_ruleExactNumber; + match(input,EOF,FOLLOW_2); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleExactNumber" + + + // $ANTLR start "ruleExactNumber" + // InternalApplicationConfiguration.g:3693:1: ruleExactNumber returns [EObject current=null] : ( ( (lv_exactNumber_0_0= RULE_INT ) ) | ( (lv_exactUnlimited_1_0= '*' ) ) ) ; + public final EObject ruleExactNumber() throws RecognitionException { + EObject current = null; + + Token lv_exactNumber_0_0=null; + Token lv_exactUnlimited_1_0=null; + + + enterRule(); + + try { + // InternalApplicationConfiguration.g:3699:2: ( ( ( (lv_exactNumber_0_0= RULE_INT ) ) | ( (lv_exactUnlimited_1_0= '*' ) ) ) ) + // InternalApplicationConfiguration.g:3700:2: ( ( (lv_exactNumber_0_0= RULE_INT ) ) | ( (lv_exactUnlimited_1_0= '*' ) ) ) + { + // InternalApplicationConfiguration.g:3700:2: ( ( (lv_exactNumber_0_0= RULE_INT ) ) | ( (lv_exactUnlimited_1_0= '*' ) ) ) + int alt49=2; + int LA49_0 = input.LA(1); + + if ( (LA49_0==RULE_INT) ) { + alt49=1; + } + else if ( (LA49_0==42) ) { + alt49=2; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 49, 0, input); + + throw nvae; + } + switch (alt49) { + case 1 : + // InternalApplicationConfiguration.g:3701:3: ( (lv_exactNumber_0_0= RULE_INT ) ) + { + // InternalApplicationConfiguration.g:3701:3: ( (lv_exactNumber_0_0= RULE_INT ) ) + // InternalApplicationConfiguration.g:3702:4: (lv_exactNumber_0_0= RULE_INT ) + { + // InternalApplicationConfiguration.g:3702:4: (lv_exactNumber_0_0= RULE_INT ) + // InternalApplicationConfiguration.g:3703:5: lv_exactNumber_0_0= RULE_INT + { + lv_exactNumber_0_0=(Token)match(input,RULE_INT,FOLLOW_2); + + newLeafNode(lv_exactNumber_0_0, grammarAccess.getExactNumberAccess().getExactNumberINTTerminalRuleCall_0_0()); + + + if (current==null) { + current = createModelElement(grammarAccess.getExactNumberRule()); + } + setWithLastConsumed( + current, + "exactNumber", + lv_exactNumber_0_0, + "org.eclipse.xtext.common.Terminals.INT"); + + + } + + + } + + + } + break; + case 2 : + // InternalApplicationConfiguration.g:3720:3: ( (lv_exactUnlimited_1_0= '*' ) ) + { + // InternalApplicationConfiguration.g:3720:3: ( (lv_exactUnlimited_1_0= '*' ) ) + // InternalApplicationConfiguration.g:3721:4: (lv_exactUnlimited_1_0= '*' ) + { + // InternalApplicationConfiguration.g:3721:4: (lv_exactUnlimited_1_0= '*' ) + // InternalApplicationConfiguration.g:3722:5: lv_exactUnlimited_1_0= '*' + { + lv_exactUnlimited_1_0=(Token)match(input,42,FOLLOW_2); + + newLeafNode(lv_exactUnlimited_1_0, grammarAccess.getExactNumberAccess().getExactUnlimitedAsteriskKeyword_1_0()); + + + if (current==null) { + current = createModelElement(grammarAccess.getExactNumberRule()); + } + setWithLastConsumed(current, "exactUnlimited", true, "*"); + + + } + + + } + + + } + break; + + } + + + } + + + leaveRule(); + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleExactNumber" + + + // $ANTLR start "entryRuleIntervallNumber" + // InternalApplicationConfiguration.g:3738:1: entryRuleIntervallNumber returns [EObject current=null] : iv_ruleIntervallNumber= ruleIntervallNumber EOF ; + public final EObject entryRuleIntervallNumber() throws RecognitionException { + EObject current = null; + + EObject iv_ruleIntervallNumber = null; + + + try { + // InternalApplicationConfiguration.g:3738:56: (iv_ruleIntervallNumber= ruleIntervallNumber EOF ) + // InternalApplicationConfiguration.g:3739:2: iv_ruleIntervallNumber= ruleIntervallNumber EOF + { + newCompositeNode(grammarAccess.getIntervallNumberRule()); + pushFollow(FOLLOW_1); + iv_ruleIntervallNumber=ruleIntervallNumber(); + + state._fsp--; + + current =iv_ruleIntervallNumber; + match(input,EOF,FOLLOW_2); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleIntervallNumber" + + + // $ANTLR start "ruleIntervallNumber" + // InternalApplicationConfiguration.g:3745:1: ruleIntervallNumber returns [EObject current=null] : ( ( (lv_min_0_0= RULE_INT ) ) otherlv_1= '..' ( ( (lv_maxNumber_2_0= RULE_INT ) ) | ( (lv_maxUnlimited_3_0= '*' ) ) ) ) ; + public final EObject ruleIntervallNumber() throws RecognitionException { + EObject current = null; + + Token lv_min_0_0=null; + Token otherlv_1=null; + Token lv_maxNumber_2_0=null; + Token lv_maxUnlimited_3_0=null; + + + enterRule(); + + try { + // InternalApplicationConfiguration.g:3751:2: ( ( ( (lv_min_0_0= RULE_INT ) ) otherlv_1= '..' ( ( (lv_maxNumber_2_0= RULE_INT ) ) | ( (lv_maxUnlimited_3_0= '*' ) ) ) ) ) + // InternalApplicationConfiguration.g:3752:2: ( ( (lv_min_0_0= RULE_INT ) ) otherlv_1= '..' ( ( (lv_maxNumber_2_0= RULE_INT ) ) | ( (lv_maxUnlimited_3_0= '*' ) ) ) ) + { + // InternalApplicationConfiguration.g:3752:2: ( ( (lv_min_0_0= RULE_INT ) ) otherlv_1= '..' ( ( (lv_maxNumber_2_0= RULE_INT ) ) | ( (lv_maxUnlimited_3_0= '*' ) ) ) ) + // InternalApplicationConfiguration.g:3753:3: ( (lv_min_0_0= RULE_INT ) ) otherlv_1= '..' ( ( (lv_maxNumber_2_0= RULE_INT ) ) | ( (lv_maxUnlimited_3_0= '*' ) ) ) + { + // InternalApplicationConfiguration.g:3753:3: ( (lv_min_0_0= RULE_INT ) ) + // InternalApplicationConfiguration.g:3754:4: (lv_min_0_0= RULE_INT ) + { + // InternalApplicationConfiguration.g:3754:4: (lv_min_0_0= RULE_INT ) + // InternalApplicationConfiguration.g:3755:5: lv_min_0_0= RULE_INT + { + lv_min_0_0=(Token)match(input,RULE_INT,FOLLOW_39); + + newLeafNode(lv_min_0_0, grammarAccess.getIntervallNumberAccess().getMinINTTerminalRuleCall_0_0()); + + + if (current==null) { + current = createModelElement(grammarAccess.getIntervallNumberRule()); + } + setWithLastConsumed( + current, + "min", + lv_min_0_0, + "org.eclipse.xtext.common.Terminals.INT"); + + + } + + + } + + otherlv_1=(Token)match(input,43,FOLLOW_32); + + newLeafNode(otherlv_1, grammarAccess.getIntervallNumberAccess().getFullStopFullStopKeyword_1()); + + // InternalApplicationConfiguration.g:3775:3: ( ( (lv_maxNumber_2_0= RULE_INT ) ) | ( (lv_maxUnlimited_3_0= '*' ) ) ) + int alt50=2; + int LA50_0 = input.LA(1); + + if ( (LA50_0==RULE_INT) ) { + alt50=1; + } + else if ( (LA50_0==42) ) { + alt50=2; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 50, 0, input); + + throw nvae; + } + switch (alt50) { + case 1 : + // InternalApplicationConfiguration.g:3776:4: ( (lv_maxNumber_2_0= RULE_INT ) ) + { + // InternalApplicationConfiguration.g:3776:4: ( (lv_maxNumber_2_0= RULE_INT ) ) + // InternalApplicationConfiguration.g:3777:5: (lv_maxNumber_2_0= RULE_INT ) + { + // InternalApplicationConfiguration.g:3777:5: (lv_maxNumber_2_0= RULE_INT ) + // InternalApplicationConfiguration.g:3778:6: lv_maxNumber_2_0= RULE_INT + { + lv_maxNumber_2_0=(Token)match(input,RULE_INT,FOLLOW_2); + + newLeafNode(lv_maxNumber_2_0, grammarAccess.getIntervallNumberAccess().getMaxNumberINTTerminalRuleCall_2_0_0()); + + + if (current==null) { + current = createModelElement(grammarAccess.getIntervallNumberRule()); + } + setWithLastConsumed( + current, + "maxNumber", + lv_maxNumber_2_0, + "org.eclipse.xtext.common.Terminals.INT"); + + + } + + + } + + + } + break; + case 2 : + // InternalApplicationConfiguration.g:3795:4: ( (lv_maxUnlimited_3_0= '*' ) ) + { + // InternalApplicationConfiguration.g:3795:4: ( (lv_maxUnlimited_3_0= '*' ) ) + // InternalApplicationConfiguration.g:3796:5: (lv_maxUnlimited_3_0= '*' ) + { + // InternalApplicationConfiguration.g:3796:5: (lv_maxUnlimited_3_0= '*' ) + // InternalApplicationConfiguration.g:3797:6: lv_maxUnlimited_3_0= '*' + { + lv_maxUnlimited_3_0=(Token)match(input,42,FOLLOW_2); + + newLeafNode(lv_maxUnlimited_3_0, grammarAccess.getIntervallNumberAccess().getMaxUnlimitedAsteriskKeyword_2_1_0()); + + + if (current==null) { + current = createModelElement(grammarAccess.getIntervallNumberRule()); + } + setWithLastConsumed(current, "maxUnlimited", true, "*"); + + + } + + + } + + + } + break; + + } + + + } + + + } + + + leaveRule(); + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleIntervallNumber" + + + // $ANTLR start "entryRuleIntEnumberation" + // InternalApplicationConfiguration.g:3814:1: entryRuleIntEnumberation returns [EObject current=null] : iv_ruleIntEnumberation= ruleIntEnumberation EOF ; + public final EObject entryRuleIntEnumberation() throws RecognitionException { + EObject current = null; + + EObject iv_ruleIntEnumberation = null; + + + try { + // InternalApplicationConfiguration.g:3814:56: (iv_ruleIntEnumberation= ruleIntEnumberation EOF ) + // InternalApplicationConfiguration.g:3815:2: iv_ruleIntEnumberation= ruleIntEnumberation EOF + { + newCompositeNode(grammarAccess.getIntEnumberationRule()); + pushFollow(FOLLOW_1); + iv_ruleIntEnumberation=ruleIntEnumberation(); + + state._fsp--; + + current =iv_ruleIntEnumberation; + match(input,EOF,FOLLOW_2); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleIntEnumberation" + + + // $ANTLR start "ruleIntEnumberation" + // InternalApplicationConfiguration.g:3821:1: ruleIntEnumberation returns [EObject current=null] : ( () otherlv_1= '{' ( ( (lv_entry_2_0= ruleINTLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) )* )? otherlv_5= '}' ) ; + public final EObject ruleIntEnumberation() throws RecognitionException { + EObject current = null; + + Token otherlv_1=null; + Token otherlv_3=null; + Token otherlv_5=null; + AntlrDatatypeRuleToken lv_entry_2_0 = null; + + AntlrDatatypeRuleToken lv_entry_4_0 = null; + + + + enterRule(); + + try { + // InternalApplicationConfiguration.g:3827:2: ( ( () otherlv_1= '{' ( ( (lv_entry_2_0= ruleINTLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) )* )? otherlv_5= '}' ) ) + // InternalApplicationConfiguration.g:3828:2: ( () otherlv_1= '{' ( ( (lv_entry_2_0= ruleINTLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) )* )? otherlv_5= '}' ) + { + // InternalApplicationConfiguration.g:3828:2: ( () otherlv_1= '{' ( ( (lv_entry_2_0= ruleINTLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) )* )? otherlv_5= '}' ) + // InternalApplicationConfiguration.g:3829:3: () otherlv_1= '{' ( ( (lv_entry_2_0= ruleINTLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) )* )? otherlv_5= '}' + { + // InternalApplicationConfiguration.g:3829:3: () + // InternalApplicationConfiguration.g:3830:4: + { + + current = forceCreateModelElement( + grammarAccess.getIntEnumberationAccess().getIntEnumberationAction_0(), + current); + + + } + + otherlv_1=(Token)match(input,19,FOLLOW_40); + + newLeafNode(otherlv_1, grammarAccess.getIntEnumberationAccess().getLeftCurlyBracketKeyword_1()); + + // InternalApplicationConfiguration.g:3840:3: ( ( (lv_entry_2_0= ruleINTLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) )* )? + int alt52=2; + int LA52_0 = input.LA(1); + + if ( (LA52_0==RULE_INT||LA52_0==12) ) { + alt52=1; + } + switch (alt52) { + case 1 : + // InternalApplicationConfiguration.g:3841:4: ( (lv_entry_2_0= ruleINTLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) )* + { + // InternalApplicationConfiguration.g:3841:4: ( (lv_entry_2_0= ruleINTLiteral ) ) + // InternalApplicationConfiguration.g:3842:5: (lv_entry_2_0= ruleINTLiteral ) + { + // InternalApplicationConfiguration.g:3842:5: (lv_entry_2_0= ruleINTLiteral ) + // InternalApplicationConfiguration.g:3843:6: lv_entry_2_0= ruleINTLiteral + { + + newCompositeNode(grammarAccess.getIntEnumberationAccess().getEntryINTLiteralParserRuleCall_2_0_0()); + + pushFollow(FOLLOW_15); + lv_entry_2_0=ruleINTLiteral(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getIntEnumberationRule()); + } + add( + current, + "entry", + lv_entry_2_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.INTLiteral"); + afterParserOrEnumRuleCall(); + + + } + + + } + + // InternalApplicationConfiguration.g:3860:4: (otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) )* + loop51: + do { + int alt51=2; + int LA51_0 = input.LA(1); + + if ( (LA51_0==20) ) { + alt51=1; + } + + + switch (alt51) { + case 1 : + // InternalApplicationConfiguration.g:3861:5: otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) + { + otherlv_3=(Token)match(input,20,FOLLOW_24); + + newLeafNode(otherlv_3, grammarAccess.getIntEnumberationAccess().getCommaKeyword_2_1_0()); + + // InternalApplicationConfiguration.g:3865:5: ( (lv_entry_4_0= ruleINTLiteral ) ) + // InternalApplicationConfiguration.g:3866:6: (lv_entry_4_0= ruleINTLiteral ) + { + // InternalApplicationConfiguration.g:3866:6: (lv_entry_4_0= ruleINTLiteral ) + // InternalApplicationConfiguration.g:3867:7: lv_entry_4_0= ruleINTLiteral + { + + newCompositeNode(grammarAccess.getIntEnumberationAccess().getEntryINTLiteralParserRuleCall_2_1_1_0()); + + pushFollow(FOLLOW_15); + lv_entry_4_0=ruleINTLiteral(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getIntEnumberationRule()); + } + add( + current, + "entry", + lv_entry_4_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.INTLiteral"); + afterParserOrEnumRuleCall(); + + + } + + + } + + + } + break; + + default : + break loop51; + } + } while (true); + + + } + break; + + } + + otherlv_5=(Token)match(input,21,FOLLOW_2); + + newLeafNode(otherlv_5, grammarAccess.getIntEnumberationAccess().getRightCurlyBracketKeyword_3()); + + + } + + + } + + + leaveRule(); + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleIntEnumberation" + + + // $ANTLR start "entryRuleRealEnumeration" + // InternalApplicationConfiguration.g:3894:1: entryRuleRealEnumeration returns [EObject current=null] : iv_ruleRealEnumeration= ruleRealEnumeration EOF ; + public final EObject entryRuleRealEnumeration() throws RecognitionException { + EObject current = null; + + EObject iv_ruleRealEnumeration = null; + + + try { + // InternalApplicationConfiguration.g:3894:56: (iv_ruleRealEnumeration= ruleRealEnumeration EOF ) + // InternalApplicationConfiguration.g:3895:2: iv_ruleRealEnumeration= ruleRealEnumeration EOF + { + newCompositeNode(grammarAccess.getRealEnumerationRule()); + pushFollow(FOLLOW_1); + iv_ruleRealEnumeration=ruleRealEnumeration(); + + state._fsp--; + + current =iv_ruleRealEnumeration; + match(input,EOF,FOLLOW_2); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleRealEnumeration" + + + // $ANTLR start "ruleRealEnumeration" + // InternalApplicationConfiguration.g:3901:1: ruleRealEnumeration returns [EObject current=null] : ( () otherlv_1= '{' ( ( (lv_entry_2_0= ruleREALLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) ) )* )? otherlv_5= '}' ) ; + public final EObject ruleRealEnumeration() throws RecognitionException { + EObject current = null; + + Token otherlv_1=null; + Token otherlv_3=null; + Token otherlv_5=null; + AntlrDatatypeRuleToken lv_entry_2_0 = null; + + AntlrDatatypeRuleToken lv_entry_4_0 = null; + + + + enterRule(); + + try { + // InternalApplicationConfiguration.g:3907:2: ( ( () otherlv_1= '{' ( ( (lv_entry_2_0= ruleREALLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) ) )* )? otherlv_5= '}' ) ) + // InternalApplicationConfiguration.g:3908:2: ( () otherlv_1= '{' ( ( (lv_entry_2_0= ruleREALLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) ) )* )? otherlv_5= '}' ) + { + // InternalApplicationConfiguration.g:3908:2: ( () otherlv_1= '{' ( ( (lv_entry_2_0= ruleREALLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) ) )* )? otherlv_5= '}' ) + // InternalApplicationConfiguration.g:3909:3: () otherlv_1= '{' ( ( (lv_entry_2_0= ruleREALLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) ) )* )? otherlv_5= '}' + { + // InternalApplicationConfiguration.g:3909:3: () + // InternalApplicationConfiguration.g:3910:4: + { + + current = forceCreateModelElement( + grammarAccess.getRealEnumerationAccess().getRealEnumerationAction_0(), + current); + + + } + + otherlv_1=(Token)match(input,19,FOLLOW_40); + + newLeafNode(otherlv_1, grammarAccess.getRealEnumerationAccess().getLeftCurlyBracketKeyword_1()); + + // InternalApplicationConfiguration.g:3920:3: ( ( (lv_entry_2_0= ruleREALLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) ) )* )? + int alt54=2; + int LA54_0 = input.LA(1); + + if ( (LA54_0==RULE_INT||LA54_0==12) ) { + alt54=1; + } + switch (alt54) { + case 1 : + // InternalApplicationConfiguration.g:3921:4: ( (lv_entry_2_0= ruleREALLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) ) )* + { + // InternalApplicationConfiguration.g:3921:4: ( (lv_entry_2_0= ruleREALLiteral ) ) + // InternalApplicationConfiguration.g:3922:5: (lv_entry_2_0= ruleREALLiteral ) + { + // InternalApplicationConfiguration.g:3922:5: (lv_entry_2_0= ruleREALLiteral ) + // InternalApplicationConfiguration.g:3923:6: lv_entry_2_0= ruleREALLiteral + { + + newCompositeNode(grammarAccess.getRealEnumerationAccess().getEntryREALLiteralParserRuleCall_2_0_0()); + + pushFollow(FOLLOW_15); + lv_entry_2_0=ruleREALLiteral(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getRealEnumerationRule()); + } + add( + current, + "entry", + lv_entry_2_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.REALLiteral"); + afterParserOrEnumRuleCall(); + + + } + + + } + + // InternalApplicationConfiguration.g:3940:4: (otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) ) )* + loop53: + do { + int alt53=2; + int LA53_0 = input.LA(1); + + if ( (LA53_0==20) ) { + alt53=1; + } + + + switch (alt53) { + case 1 : + // InternalApplicationConfiguration.g:3941:5: otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) ) + { + otherlv_3=(Token)match(input,20,FOLLOW_24); + + newLeafNode(otherlv_3, grammarAccess.getRealEnumerationAccess().getCommaKeyword_2_1_0()); + + // InternalApplicationConfiguration.g:3945:5: ( (lv_entry_4_0= ruleREALLiteral ) ) + // InternalApplicationConfiguration.g:3946:6: (lv_entry_4_0= ruleREALLiteral ) + { + // InternalApplicationConfiguration.g:3946:6: (lv_entry_4_0= ruleREALLiteral ) + // InternalApplicationConfiguration.g:3947:7: lv_entry_4_0= ruleREALLiteral + { + + newCompositeNode(grammarAccess.getRealEnumerationAccess().getEntryREALLiteralParserRuleCall_2_1_1_0()); + + pushFollow(FOLLOW_15); + lv_entry_4_0=ruleREALLiteral(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getRealEnumerationRule()); + } + add( + current, + "entry", + lv_entry_4_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.REALLiteral"); + afterParserOrEnumRuleCall(); + + + } + + + } + + + } + break; + + default : + break loop53; + } + } while (true); + + + } + break; + + } + + otherlv_5=(Token)match(input,21,FOLLOW_2); + + newLeafNode(otherlv_5, grammarAccess.getRealEnumerationAccess().getRightCurlyBracketKeyword_3()); + + + } + + + } + + + leaveRule(); + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleRealEnumeration" + + + // $ANTLR start "entryRuleStringEnumeration" + // InternalApplicationConfiguration.g:3974:1: entryRuleStringEnumeration returns [EObject current=null] : iv_ruleStringEnumeration= ruleStringEnumeration EOF ; + public final EObject entryRuleStringEnumeration() throws RecognitionException { + EObject current = null; + + EObject iv_ruleStringEnumeration = null; + + + try { + // InternalApplicationConfiguration.g:3974:58: (iv_ruleStringEnumeration= ruleStringEnumeration EOF ) + // InternalApplicationConfiguration.g:3975:2: iv_ruleStringEnumeration= ruleStringEnumeration EOF + { + newCompositeNode(grammarAccess.getStringEnumerationRule()); + pushFollow(FOLLOW_1); + iv_ruleStringEnumeration=ruleStringEnumeration(); + + state._fsp--; + + current =iv_ruleStringEnumeration; + match(input,EOF,FOLLOW_2); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleStringEnumeration" + + + // $ANTLR start "ruleStringEnumeration" + // InternalApplicationConfiguration.g:3981:1: ruleStringEnumeration returns [EObject current=null] : ( () otherlv_1= '{' ( ( (lv_entry_2_0= RULE_STRING ) ) (otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) ) )* )? otherlv_5= '}' ) ; + public final EObject ruleStringEnumeration() throws RecognitionException { + EObject current = null; + + Token otherlv_1=null; + Token lv_entry_2_0=null; + Token otherlv_3=null; + Token lv_entry_4_0=null; + Token otherlv_5=null; + + + enterRule(); + + try { + // InternalApplicationConfiguration.g:3987:2: ( ( () otherlv_1= '{' ( ( (lv_entry_2_0= RULE_STRING ) ) (otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) ) )* )? otherlv_5= '}' ) ) + // InternalApplicationConfiguration.g:3988:2: ( () otherlv_1= '{' ( ( (lv_entry_2_0= RULE_STRING ) ) (otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) ) )* )? otherlv_5= '}' ) + { + // InternalApplicationConfiguration.g:3988:2: ( () otherlv_1= '{' ( ( (lv_entry_2_0= RULE_STRING ) ) (otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) ) )* )? otherlv_5= '}' ) + // InternalApplicationConfiguration.g:3989:3: () otherlv_1= '{' ( ( (lv_entry_2_0= RULE_STRING ) ) (otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) ) )* )? otherlv_5= '}' + { + // InternalApplicationConfiguration.g:3989:3: () + // InternalApplicationConfiguration.g:3990:4: + { + + current = forceCreateModelElement( + grammarAccess.getStringEnumerationAccess().getStringEnumerationAction_0(), + current); + + + } + + otherlv_1=(Token)match(input,19,FOLLOW_41); + + newLeafNode(otherlv_1, grammarAccess.getStringEnumerationAccess().getLeftCurlyBracketKeyword_1()); + + // InternalApplicationConfiguration.g:4000:3: ( ( (lv_entry_2_0= RULE_STRING ) ) (otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) ) )* )? + int alt56=2; + int LA56_0 = input.LA(1); + + if ( (LA56_0==RULE_STRING) ) { + alt56=1; + } + switch (alt56) { + case 1 : + // InternalApplicationConfiguration.g:4001:4: ( (lv_entry_2_0= RULE_STRING ) ) (otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) ) )* + { + // InternalApplicationConfiguration.g:4001:4: ( (lv_entry_2_0= RULE_STRING ) ) + // InternalApplicationConfiguration.g:4002:5: (lv_entry_2_0= RULE_STRING ) + { + // InternalApplicationConfiguration.g:4002:5: (lv_entry_2_0= RULE_STRING ) + // InternalApplicationConfiguration.g:4003:6: lv_entry_2_0= RULE_STRING + { + lv_entry_2_0=(Token)match(input,RULE_STRING,FOLLOW_15); + + newLeafNode(lv_entry_2_0, grammarAccess.getStringEnumerationAccess().getEntrySTRINGTerminalRuleCall_2_0_0()); + + + if (current==null) { + current = createModelElement(grammarAccess.getStringEnumerationRule()); + } + addWithLastConsumed( + current, + "entry", + lv_entry_2_0, + "org.eclipse.xtext.common.Terminals.STRING"); + + + } + + + } + + // InternalApplicationConfiguration.g:4019:4: (otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) ) )* + loop55: + do { + int alt55=2; + int LA55_0 = input.LA(1); + + if ( (LA55_0==20) ) { + alt55=1; + } + + + switch (alt55) { + case 1 : + // InternalApplicationConfiguration.g:4020:5: otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) ) + { + otherlv_3=(Token)match(input,20,FOLLOW_10); + + newLeafNode(otherlv_3, grammarAccess.getStringEnumerationAccess().getCommaKeyword_2_1_0()); + + // InternalApplicationConfiguration.g:4024:5: ( (lv_entry_4_0= RULE_STRING ) ) + // InternalApplicationConfiguration.g:4025:6: (lv_entry_4_0= RULE_STRING ) + { + // InternalApplicationConfiguration.g:4025:6: (lv_entry_4_0= RULE_STRING ) + // InternalApplicationConfiguration.g:4026:7: lv_entry_4_0= RULE_STRING + { + lv_entry_4_0=(Token)match(input,RULE_STRING,FOLLOW_15); + + newLeafNode(lv_entry_4_0, grammarAccess.getStringEnumerationAccess().getEntrySTRINGTerminalRuleCall_2_1_1_0()); + + + if (current==null) { + current = createModelElement(grammarAccess.getStringEnumerationRule()); + } + addWithLastConsumed( + current, + "entry", + lv_entry_4_0, + "org.eclipse.xtext.common.Terminals.STRING"); + + + } + + + } + + + } + break; + + default : + break loop55; + } + } while (true); + + + } + break; + + } + + otherlv_5=(Token)match(input,21,FOLLOW_2); + + newLeafNode(otherlv_5, grammarAccess.getStringEnumerationAccess().getRightCurlyBracketKeyword_3()); + + + } + + + } + + + leaveRule(); + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleStringEnumeration" + + + // $ANTLR start "entryRuleScopeDeclaration" + // InternalApplicationConfiguration.g:4052:1: entryRuleScopeDeclaration returns [EObject current=null] : iv_ruleScopeDeclaration= ruleScopeDeclaration EOF ; + public final EObject entryRuleScopeDeclaration() throws RecognitionException { + EObject current = null; + + EObject iv_ruleScopeDeclaration = null; + + + try { + // InternalApplicationConfiguration.g:4052:57: (iv_ruleScopeDeclaration= ruleScopeDeclaration EOF ) + // InternalApplicationConfiguration.g:4053:2: iv_ruleScopeDeclaration= ruleScopeDeclaration EOF + { + newCompositeNode(grammarAccess.getScopeDeclarationRule()); + pushFollow(FOLLOW_1); + iv_ruleScopeDeclaration=ruleScopeDeclaration(); + + state._fsp--; + + current =iv_ruleScopeDeclaration; + match(input,EOF,FOLLOW_2); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleScopeDeclaration" + + + // $ANTLR start "ruleScopeDeclaration" + // InternalApplicationConfiguration.g:4059:1: ruleScopeDeclaration returns [EObject current=null] : (otherlv_0= 'scope' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleScopeSpecification ) ) ) ; + public final EObject ruleScopeDeclaration() throws RecognitionException { + EObject current = null; + + Token otherlv_0=null; + Token lv_name_1_0=null; + EObject lv_specification_2_0 = null; + + + + enterRule(); + + try { + // InternalApplicationConfiguration.g:4065:2: ( (otherlv_0= 'scope' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleScopeSpecification ) ) ) ) + // InternalApplicationConfiguration.g:4066:2: (otherlv_0= 'scope' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleScopeSpecification ) ) ) + { + // InternalApplicationConfiguration.g:4066:2: (otherlv_0= 'scope' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleScopeSpecification ) ) ) + // InternalApplicationConfiguration.g:4067:3: otherlv_0= 'scope' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleScopeSpecification ) ) + { + otherlv_0=(Token)match(input,44,FOLLOW_6); + + newLeafNode(otherlv_0, grammarAccess.getScopeDeclarationAccess().getScopeKeyword_0()); + + // InternalApplicationConfiguration.g:4071:3: ( (lv_name_1_0= RULE_ID ) ) + // InternalApplicationConfiguration.g:4072:4: (lv_name_1_0= RULE_ID ) + { + // InternalApplicationConfiguration.g:4072:4: (lv_name_1_0= RULE_ID ) + // InternalApplicationConfiguration.g:4073:5: lv_name_1_0= RULE_ID + { + lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_17); + + newLeafNode(lv_name_1_0, grammarAccess.getScopeDeclarationAccess().getNameIDTerminalRuleCall_1_0()); + + + if (current==null) { + current = createModelElement(grammarAccess.getScopeDeclarationRule()); + } + setWithLastConsumed( + current, + "name", + lv_name_1_0, + "org.eclipse.xtext.common.Terminals.ID"); + + + } + + + } + + // InternalApplicationConfiguration.g:4089:3: ( (lv_specification_2_0= ruleScopeSpecification ) ) + // InternalApplicationConfiguration.g:4090:4: (lv_specification_2_0= ruleScopeSpecification ) + { + // InternalApplicationConfiguration.g:4090:4: (lv_specification_2_0= ruleScopeSpecification ) + // InternalApplicationConfiguration.g:4091:5: lv_specification_2_0= ruleScopeSpecification + { + + newCompositeNode(grammarAccess.getScopeDeclarationAccess().getSpecificationScopeSpecificationParserRuleCall_2_0()); + + pushFollow(FOLLOW_2); + lv_specification_2_0=ruleScopeSpecification(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getScopeDeclarationRule()); + } + set( + current, + "specification", + lv_specification_2_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ScopeSpecification"); + afterParserOrEnumRuleCall(); + + + } + + + } + + + } + + + } + + + leaveRule(); + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleScopeDeclaration" + + + // $ANTLR start "entryRuleScopeReference" + // InternalApplicationConfiguration.g:4112:1: entryRuleScopeReference returns [EObject current=null] : iv_ruleScopeReference= ruleScopeReference EOF ; + public final EObject entryRuleScopeReference() throws RecognitionException { + EObject current = null; + + EObject iv_ruleScopeReference = null; + + + try { + // InternalApplicationConfiguration.g:4112:55: (iv_ruleScopeReference= ruleScopeReference EOF ) + // InternalApplicationConfiguration.g:4113:2: iv_ruleScopeReference= ruleScopeReference EOF + { + newCompositeNode(grammarAccess.getScopeReferenceRule()); + pushFollow(FOLLOW_1); + iv_ruleScopeReference=ruleScopeReference(); + + state._fsp--; + + current =iv_ruleScopeReference; + match(input,EOF,FOLLOW_2); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleScopeReference" + + + // $ANTLR start "ruleScopeReference" + // InternalApplicationConfiguration.g:4119:1: ruleScopeReference returns [EObject current=null] : ( (otherlv_0= RULE_ID ) ) ; + public final EObject ruleScopeReference() throws RecognitionException { + EObject current = null; + + Token otherlv_0=null; + + + enterRule(); + + try { + // InternalApplicationConfiguration.g:4125:2: ( ( (otherlv_0= RULE_ID ) ) ) + // InternalApplicationConfiguration.g:4126:2: ( (otherlv_0= RULE_ID ) ) + { + // InternalApplicationConfiguration.g:4126:2: ( (otherlv_0= RULE_ID ) ) + // InternalApplicationConfiguration.g:4127:3: (otherlv_0= RULE_ID ) + { + // InternalApplicationConfiguration.g:4127:3: (otherlv_0= RULE_ID ) + // InternalApplicationConfiguration.g:4128:4: otherlv_0= RULE_ID + { + + if (current==null) { + current = createModelElement(grammarAccess.getScopeReferenceRule()); + } + + otherlv_0=(Token)match(input,RULE_ID,FOLLOW_2); + + newLeafNode(otherlv_0, grammarAccess.getScopeReferenceAccess().getReferredScopeDeclarationCrossReference_0()); + + + } + + + } + + + } + + + leaveRule(); + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleScopeReference" + + + // $ANTLR start "entryRuleScope" + // InternalApplicationConfiguration.g:4142:1: entryRuleScope returns [EObject current=null] : iv_ruleScope= ruleScope EOF ; + public final EObject entryRuleScope() throws RecognitionException { + EObject current = null; + + EObject iv_ruleScope = null; + + + try { + // InternalApplicationConfiguration.g:4142:46: (iv_ruleScope= ruleScope EOF ) + // InternalApplicationConfiguration.g:4143:2: iv_ruleScope= ruleScope EOF + { + newCompositeNode(grammarAccess.getScopeRule()); + pushFollow(FOLLOW_1); + iv_ruleScope=ruleScope(); + + state._fsp--; + + current =iv_ruleScope; + match(input,EOF,FOLLOW_2); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleScope" + + + // $ANTLR start "ruleScope" + // InternalApplicationConfiguration.g:4149:1: ruleScope returns [EObject current=null] : (this_ScopeSpecification_0= ruleScopeSpecification | this_ScopeReference_1= ruleScopeReference ) ; + public final EObject ruleScope() throws RecognitionException { + EObject current = null; + + EObject this_ScopeSpecification_0 = null; + + EObject this_ScopeReference_1 = null; + + + + enterRule(); + + try { + // InternalApplicationConfiguration.g:4155:2: ( (this_ScopeSpecification_0= ruleScopeSpecification | this_ScopeReference_1= ruleScopeReference ) ) + // InternalApplicationConfiguration.g:4156:2: (this_ScopeSpecification_0= ruleScopeSpecification | this_ScopeReference_1= ruleScopeReference ) + { + // InternalApplicationConfiguration.g:4156:2: (this_ScopeSpecification_0= ruleScopeSpecification | this_ScopeReference_1= ruleScopeReference ) + int alt57=2; + int LA57_0 = input.LA(1); + + if ( (LA57_0==19) ) { + alt57=1; + } + else if ( (LA57_0==RULE_ID) ) { + alt57=2; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 57, 0, input); + + throw nvae; + } + switch (alt57) { + case 1 : + // InternalApplicationConfiguration.g:4157:3: this_ScopeSpecification_0= ruleScopeSpecification + { + + newCompositeNode(grammarAccess.getScopeAccess().getScopeSpecificationParserRuleCall_0()); + + pushFollow(FOLLOW_2); + this_ScopeSpecification_0=ruleScopeSpecification(); + + state._fsp--; + + + current = this_ScopeSpecification_0; + afterParserOrEnumRuleCall(); + + + } + break; + case 2 : + // InternalApplicationConfiguration.g:4166:3: this_ScopeReference_1= ruleScopeReference + { + + newCompositeNode(grammarAccess.getScopeAccess().getScopeReferenceParserRuleCall_1()); + + pushFollow(FOLLOW_2); + this_ScopeReference_1=ruleScopeReference(); + + state._fsp--; + + + current = this_ScopeReference_1; + afterParserOrEnumRuleCall(); + + + } + break; + + } + + + } + + + leaveRule(); + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleScope" + + + // $ANTLR start "entryRuleTask" + // InternalApplicationConfiguration.g:4178:1: entryRuleTask returns [EObject current=null] : iv_ruleTask= ruleTask EOF ; + public final EObject entryRuleTask() throws RecognitionException { + EObject current = null; + + EObject iv_ruleTask = null; + + + try { + // InternalApplicationConfiguration.g:4178:45: (iv_ruleTask= ruleTask EOF ) + // InternalApplicationConfiguration.g:4179:2: iv_ruleTask= ruleTask EOF + { + newCompositeNode(grammarAccess.getTaskRule()); + pushFollow(FOLLOW_1); + iv_ruleTask=ruleTask(); + + state._fsp--; + + current =iv_ruleTask; + match(input,EOF,FOLLOW_2); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleTask" + + + // $ANTLR start "ruleTask" + // InternalApplicationConfiguration.g:4185:1: ruleTask returns [EObject current=null] : this_GenerationTask_0= ruleGenerationTask ; + public final EObject ruleTask() throws RecognitionException { + EObject current = null; + + EObject this_GenerationTask_0 = null; + + + + enterRule(); + + try { + // InternalApplicationConfiguration.g:4191:2: (this_GenerationTask_0= ruleGenerationTask ) + // InternalApplicationConfiguration.g:4192:2: this_GenerationTask_0= ruleGenerationTask + { + + newCompositeNode(grammarAccess.getTaskAccess().getGenerationTaskParserRuleCall()); + + pushFollow(FOLLOW_2); + this_GenerationTask_0=ruleGenerationTask(); + + state._fsp--; + + + current = this_GenerationTask_0; + afterParserOrEnumRuleCall(); + + + } + + + leaveRule(); + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleTask" + + + // $ANTLR start "entryRuleGenerationTask" + // InternalApplicationConfiguration.g:4203:1: entryRuleGenerationTask returns [EObject current=null] : iv_ruleGenerationTask= ruleGenerationTask EOF ; + public final EObject entryRuleGenerationTask() throws RecognitionException { + EObject current = null; + + EObject iv_ruleGenerationTask = null; + + + try { + // InternalApplicationConfiguration.g:4203:55: (iv_ruleGenerationTask= ruleGenerationTask EOF ) + // InternalApplicationConfiguration.g:4204:2: iv_ruleGenerationTask= ruleGenerationTask EOF + { + newCompositeNode(grammarAccess.getGenerationTaskRule()); + pushFollow(FOLLOW_1); + iv_ruleGenerationTask=ruleGenerationTask(); + + state._fsp--; + + current =iv_ruleGenerationTask; + match(input,EOF,FOLLOW_2); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleGenerationTask" + + + // $ANTLR start "ruleGenerationTask" + // InternalApplicationConfiguration.g:4210: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= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (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= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) ) )* ) ) ) otherlv_43= '}' ) ; + public final EObject ruleGenerationTask() throws RecognitionException { + EObject current = null; + + Token otherlv_0=null; + Token otherlv_2=null; + Token otherlv_4=null; + Token otherlv_5=null; + Token otherlv_7=null; + Token otherlv_8=null; + Token otherlv_10=null; + Token otherlv_11=null; + Token otherlv_13=null; + Token otherlv_14=null; + Token otherlv_16=null; + Token otherlv_17=null; + Token lv_numberSpecified_19_0=null; + Token otherlv_20=null; + Token lv_number_21_0=null; + Token lv_runSpecified_22_0=null; + Token otherlv_23=null; + Token lv_runs_24_0=null; + Token otherlv_25=null; + Token otherlv_26=null; + Token otherlv_28=null; + Token otherlv_29=null; + Token otherlv_31=null; + Token otherlv_32=null; + Token otherlv_34=null; + Token otherlv_35=null; + Token otherlv_37=null; + Token otherlv_38=null; + Token otherlv_40=null; + Token otherlv_41=null; + Token otherlv_43=null; + EObject lv_metamodel_6_0 = null; + + EObject lv_partialModel_9_0 = null; + + EObject lv_patterns_12_0 = null; + + EObject lv_objectives_15_0 = null; + + EObject lv_scope_18_0 = null; + + Enumerator lv_solver_27_0 = null; + + EObject lv_config_30_0 = null; + + EObject lv_debugFolder_33_0 = null; + + EObject lv_targetLogFile_36_0 = null; + + EObject lv_targetStatisticsFile_39_0 = null; + + EObject lv_tagetFolder_42_0 = null; + + + + enterRule(); + + try { + // InternalApplicationConfiguration.g:4216: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= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (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= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) ) )* ) ) ) otherlv_43= '}' ) ) + // InternalApplicationConfiguration.g:4217: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= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (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= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) ) )* ) ) ) otherlv_43= '}' ) + { + // InternalApplicationConfiguration.g:4217: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= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (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= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) ) )* ) ) ) otherlv_43= '}' ) + // InternalApplicationConfiguration.g:4218: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= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (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= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) ) )* ) ) ) otherlv_43= '}' + { + otherlv_0=(Token)match(input,45,FOLLOW_17); + + newLeafNode(otherlv_0, grammarAccess.getGenerationTaskAccess().getGenerateKeyword_0()); + + // InternalApplicationConfiguration.g:4222:3: () + // InternalApplicationConfiguration.g:4223:4: + { + + current = forceCreateModelElement( + grammarAccess.getGenerationTaskAccess().getGenerationTaskAction_1(), + current); + + + } + + otherlv_2=(Token)match(input,19,FOLLOW_42); + + newLeafNode(otherlv_2, grammarAccess.getGenerationTaskAccess().getLeftCurlyBracketKeyword_2()); + + // InternalApplicationConfiguration.g:4233:3: ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (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= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) ) )* ) ) ) + // InternalApplicationConfiguration.g:4234:4: ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (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= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) ) )* ) ) + { + // InternalApplicationConfiguration.g:4234:4: ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (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= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) ) )* ) ) + // InternalApplicationConfiguration.g:4235:5: ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (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= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) ) )* ) + { + + getUnorderedGroupHelper().enter(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); + + // InternalApplicationConfiguration.g:4238:5: ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (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= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) ) )* ) + // InternalApplicationConfiguration.g:4239:6: ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (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= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) ) )* + { + // InternalApplicationConfiguration.g:4239:6: ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (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= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) ) )* + loop58: + do { + int alt58=14; + alt58 = dfa58.predict(input); + switch (alt58) { + case 1 : + // InternalApplicationConfiguration.g:4240:4: ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) + { + // InternalApplicationConfiguration.g:4240:4: ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) + // InternalApplicationConfiguration.g:4241:5: {...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) + { + if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0) ) { + throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0)"); + } + // InternalApplicationConfiguration.g:4241:111: ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) + // InternalApplicationConfiguration.g:4242:6: ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) + { + + getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0); + + // InternalApplicationConfiguration.g:4245:9: ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) + // InternalApplicationConfiguration.g:4245:10: {...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) + { + if ( !((true)) ) { + throw new FailedPredicateException(input, "ruleGenerationTask", "true"); + } + // InternalApplicationConfiguration.g:4245:19: (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) + // InternalApplicationConfiguration.g:4245:20: otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) + { + otherlv_4=(Token)match(input,25,FOLLOW_13); + + newLeafNode(otherlv_4, grammarAccess.getGenerationTaskAccess().getMetamodelKeyword_3_0_0()); + + otherlv_5=(Token)match(input,18,FOLLOW_43); + + newLeafNode(otherlv_5, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_0_1()); + + // InternalApplicationConfiguration.g:4253:9: ( (lv_metamodel_6_0= ruleMetamodel ) ) + // InternalApplicationConfiguration.g:4254:10: (lv_metamodel_6_0= ruleMetamodel ) + { + // InternalApplicationConfiguration.g:4254:10: (lv_metamodel_6_0= ruleMetamodel ) + // InternalApplicationConfiguration.g:4255:11: lv_metamodel_6_0= ruleMetamodel + { + + newCompositeNode(grammarAccess.getGenerationTaskAccess().getMetamodelMetamodelParserRuleCall_3_0_2_0()); + + pushFollow(FOLLOW_42); + lv_metamodel_6_0=ruleMetamodel(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); + } + set( + current, + "metamodel", + lv_metamodel_6_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Metamodel"); + afterParserOrEnumRuleCall(); + + + } + + + } + + + } + + + } + + + getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); + + + } + + + } + + + } + break; + case 2 : + // InternalApplicationConfiguration.g:4278:4: ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) + { + // InternalApplicationConfiguration.g:4278:4: ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) + // InternalApplicationConfiguration.g:4279:5: {...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) + { + if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1) ) { + throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1)"); + } + // InternalApplicationConfiguration.g:4279:111: ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) + // InternalApplicationConfiguration.g:4280:6: ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) + { + + getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1); + + // InternalApplicationConfiguration.g:4283:9: ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) + // InternalApplicationConfiguration.g:4283:10: {...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) + { + if ( !((true)) ) { + throw new FailedPredicateException(input, "ruleGenerationTask", "true"); + } + // InternalApplicationConfiguration.g:4283:19: (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) + // InternalApplicationConfiguration.g:4283:20: otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) + { + otherlv_7=(Token)match(input,46,FOLLOW_13); + + newLeafNode(otherlv_7, grammarAccess.getGenerationTaskAccess().getPartialModelKeyword_3_1_0()); + + otherlv_8=(Token)match(input,18,FOLLOW_43); + + newLeafNode(otherlv_8, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_1_1()); + + // InternalApplicationConfiguration.g:4291:9: ( (lv_partialModel_9_0= rulePartialModel ) ) + // InternalApplicationConfiguration.g:4292:10: (lv_partialModel_9_0= rulePartialModel ) + { + // InternalApplicationConfiguration.g:4292:10: (lv_partialModel_9_0= rulePartialModel ) + // InternalApplicationConfiguration.g:4293:11: lv_partialModel_9_0= rulePartialModel + { + + newCompositeNode(grammarAccess.getGenerationTaskAccess().getPartialModelPartialModelParserRuleCall_3_1_2_0()); + + pushFollow(FOLLOW_42); + lv_partialModel_9_0=rulePartialModel(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); + } + set( + current, + "partialModel", + lv_partialModel_9_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PartialModel"); + afterParserOrEnumRuleCall(); + + + } + + + } + + + } + + + } + + + getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); + + + } + + + } + + + } + break; + case 3 : + // InternalApplicationConfiguration.g:4316:4: ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) + { + // InternalApplicationConfiguration.g:4316:4: ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) + // InternalApplicationConfiguration.g:4317:5: {...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) + { + if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2) ) { + throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2)"); + } + // InternalApplicationConfiguration.g:4317:111: ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) + // InternalApplicationConfiguration.g:4318:6: ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) + { + + getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2); + + // InternalApplicationConfiguration.g:4321:9: ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) + // InternalApplicationConfiguration.g:4321:10: {...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) + { + if ( !((true)) ) { + throw new FailedPredicateException(input, "ruleGenerationTask", "true"); + } + // InternalApplicationConfiguration.g:4321:19: (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) + // InternalApplicationConfiguration.g:4321:20: otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) + { + otherlv_10=(Token)match(input,28,FOLLOW_13); + + newLeafNode(otherlv_10, grammarAccess.getGenerationTaskAccess().getConstraintsKeyword_3_2_0()); + + otherlv_11=(Token)match(input,18,FOLLOW_43); + + newLeafNode(otherlv_11, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_2_1()); + + // InternalApplicationConfiguration.g:4329:9: ( (lv_patterns_12_0= ruleGraphPattern ) ) + // InternalApplicationConfiguration.g:4330:10: (lv_patterns_12_0= ruleGraphPattern ) + { + // InternalApplicationConfiguration.g:4330:10: (lv_patterns_12_0= ruleGraphPattern ) + // InternalApplicationConfiguration.g:4331:11: lv_patterns_12_0= ruleGraphPattern + { + + newCompositeNode(grammarAccess.getGenerationTaskAccess().getPatternsGraphPatternParserRuleCall_3_2_2_0()); + + pushFollow(FOLLOW_42); + lv_patterns_12_0=ruleGraphPattern(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); + } + set( + current, + "patterns", + lv_patterns_12_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.GraphPattern"); + afterParserOrEnumRuleCall(); + + + } + + + } + + + } + + + } + + + getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); + + + } + + + } + + + } + break; + case 4 : + // InternalApplicationConfiguration.g:4354:4: ({...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) ) + { + // InternalApplicationConfiguration.g:4354:4: ({...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) ) + // InternalApplicationConfiguration.g:4355:5: {...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) + { + if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3) ) { + throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3)"); + } + // InternalApplicationConfiguration.g:4355:111: ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) + // InternalApplicationConfiguration.g:4356:6: ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) + { + + getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3); + + // InternalApplicationConfiguration.g:4359:9: ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) + // InternalApplicationConfiguration.g:4359:10: {...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) + { + if ( !((true)) ) { + throw new FailedPredicateException(input, "ruleGenerationTask", "true"); + } + // InternalApplicationConfiguration.g:4359:19: (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) + // InternalApplicationConfiguration.g:4359:20: otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) + { + otherlv_13=(Token)match(input,29,FOLLOW_13); + + newLeafNode(otherlv_13, grammarAccess.getGenerationTaskAccess().getObjectivesKeyword_3_3_0()); + + otherlv_14=(Token)match(input,18,FOLLOW_43); + + newLeafNode(otherlv_14, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_3_1()); + + // InternalApplicationConfiguration.g:4367:9: ( (lv_objectives_15_0= ruleObjective ) ) + // InternalApplicationConfiguration.g:4368:10: (lv_objectives_15_0= ruleObjective ) + { + // InternalApplicationConfiguration.g:4368:10: (lv_objectives_15_0= ruleObjective ) + // InternalApplicationConfiguration.g:4369:11: lv_objectives_15_0= ruleObjective + { + + newCompositeNode(grammarAccess.getGenerationTaskAccess().getObjectivesObjectiveParserRuleCall_3_3_2_0()); + + pushFollow(FOLLOW_42); + lv_objectives_15_0=ruleObjective(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); + } + set( + current, + "objectives", + lv_objectives_15_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Objective"); + afterParserOrEnumRuleCall(); + + + } + + + } + + + } + + + } + + + getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); + + + } + + + } + + + } + break; + case 5 : + // InternalApplicationConfiguration.g:4392:4: ({...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) ) + { + // InternalApplicationConfiguration.g:4392:4: ({...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) ) + // InternalApplicationConfiguration.g:4393:5: {...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) + { + if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4) ) { + throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4)"); + } + // InternalApplicationConfiguration.g:4393:111: ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) + // InternalApplicationConfiguration.g:4394:6: ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) + { + + getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4); + + // InternalApplicationConfiguration.g:4397:9: ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) + // InternalApplicationConfiguration.g:4397:10: {...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) + { + if ( !((true)) ) { + throw new FailedPredicateException(input, "ruleGenerationTask", "true"); + } + // InternalApplicationConfiguration.g:4397:19: (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) + // InternalApplicationConfiguration.g:4397:20: otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) + { + otherlv_16=(Token)match(input,44,FOLLOW_13); + + newLeafNode(otherlv_16, grammarAccess.getGenerationTaskAccess().getScopeKeyword_3_4_0()); + + otherlv_17=(Token)match(input,18,FOLLOW_43); + + newLeafNode(otherlv_17, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_4_1()); + + // InternalApplicationConfiguration.g:4405:9: ( (lv_scope_18_0= ruleScope ) ) + // InternalApplicationConfiguration.g:4406:10: (lv_scope_18_0= ruleScope ) + { + // InternalApplicationConfiguration.g:4406:10: (lv_scope_18_0= ruleScope ) + // InternalApplicationConfiguration.g:4407:11: lv_scope_18_0= ruleScope + { + + newCompositeNode(grammarAccess.getGenerationTaskAccess().getScopeScopeParserRuleCall_3_4_2_0()); + + pushFollow(FOLLOW_42); + lv_scope_18_0=ruleScope(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); + } + set( + current, + "scope", + lv_scope_18_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Scope"); + afterParserOrEnumRuleCall(); + + + } + + + } + + + } + + + } + + + getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); + + + } + + + } + + + } + break; + case 6 : + // InternalApplicationConfiguration.g:4430:4: ({...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) ) + { + // InternalApplicationConfiguration.g:4430:4: ({...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) ) + // InternalApplicationConfiguration.g:4431:5: {...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) + { + if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5) ) { + throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5)"); + } + // InternalApplicationConfiguration.g:4431:111: ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) + // InternalApplicationConfiguration.g:4432:6: ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) + { + + getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5); + + // InternalApplicationConfiguration.g:4435:9: ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) + // InternalApplicationConfiguration.g:4435:10: {...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) + { + if ( !((true)) ) { + throw new FailedPredicateException(input, "ruleGenerationTask", "true"); + } + // InternalApplicationConfiguration.g:4435:19: ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) + // InternalApplicationConfiguration.g:4435:20: ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) + { + // InternalApplicationConfiguration.g:4435:20: ( (lv_numberSpecified_19_0= 'number' ) ) + // InternalApplicationConfiguration.g:4436:10: (lv_numberSpecified_19_0= 'number' ) + { + // InternalApplicationConfiguration.g:4436:10: (lv_numberSpecified_19_0= 'number' ) + // InternalApplicationConfiguration.g:4437:11: lv_numberSpecified_19_0= 'number' + { + lv_numberSpecified_19_0=(Token)match(input,47,FOLLOW_13); + + newLeafNode(lv_numberSpecified_19_0, grammarAccess.getGenerationTaskAccess().getNumberSpecifiedNumberKeyword_3_5_0_0()); + + + if (current==null) { + current = createModelElement(grammarAccess.getGenerationTaskRule()); + } + setWithLastConsumed(current, "numberSpecified", true, "number"); + + + } + + + } + + otherlv_20=(Token)match(input,18,FOLLOW_7); + + newLeafNode(otherlv_20, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_5_1()); + + // InternalApplicationConfiguration.g:4453:9: ( (lv_number_21_0= RULE_INT ) ) + // InternalApplicationConfiguration.g:4454:10: (lv_number_21_0= RULE_INT ) + { + // InternalApplicationConfiguration.g:4454:10: (lv_number_21_0= RULE_INT ) + // InternalApplicationConfiguration.g:4455:11: lv_number_21_0= RULE_INT + { + lv_number_21_0=(Token)match(input,RULE_INT,FOLLOW_42); + + newLeafNode(lv_number_21_0, grammarAccess.getGenerationTaskAccess().getNumberINTTerminalRuleCall_3_5_2_0()); + + + if (current==null) { + current = createModelElement(grammarAccess.getGenerationTaskRule()); + } + setWithLastConsumed( + current, + "number", + lv_number_21_0, + "org.eclipse.xtext.common.Terminals.INT"); + + + } + + + } + + + } + + + } + + + getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); + + + } + + + } + + + } + break; + case 7 : + // InternalApplicationConfiguration.g:4477:4: ({...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) ) + { + // InternalApplicationConfiguration.g:4477:4: ({...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) ) + // InternalApplicationConfiguration.g:4478:5: {...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) + { + if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6) ) { + throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6)"); + } + // InternalApplicationConfiguration.g:4478:111: ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) + // InternalApplicationConfiguration.g:4479:6: ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) + { + + getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6); + + // InternalApplicationConfiguration.g:4482:9: ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) + // InternalApplicationConfiguration.g:4482:10: {...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) + { + if ( !((true)) ) { + throw new FailedPredicateException(input, "ruleGenerationTask", "true"); + } + // InternalApplicationConfiguration.g:4482:19: ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) + // InternalApplicationConfiguration.g:4482:20: ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) + { + // InternalApplicationConfiguration.g:4482:20: ( (lv_runSpecified_22_0= 'runs' ) ) + // InternalApplicationConfiguration.g:4483:10: (lv_runSpecified_22_0= 'runs' ) + { + // InternalApplicationConfiguration.g:4483:10: (lv_runSpecified_22_0= 'runs' ) + // InternalApplicationConfiguration.g:4484:11: lv_runSpecified_22_0= 'runs' + { + lv_runSpecified_22_0=(Token)match(input,48,FOLLOW_13); + + newLeafNode(lv_runSpecified_22_0, grammarAccess.getGenerationTaskAccess().getRunSpecifiedRunsKeyword_3_6_0_0()); + + + if (current==null) { + current = createModelElement(grammarAccess.getGenerationTaskRule()); + } + setWithLastConsumed(current, "runSpecified", true, "runs"); + + + } + + + } + + otherlv_23=(Token)match(input,18,FOLLOW_7); + + newLeafNode(otherlv_23, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_6_1()); + + // InternalApplicationConfiguration.g:4500:9: ( (lv_runs_24_0= RULE_INT ) ) + // InternalApplicationConfiguration.g:4501:10: (lv_runs_24_0= RULE_INT ) + { + // InternalApplicationConfiguration.g:4501:10: (lv_runs_24_0= RULE_INT ) + // InternalApplicationConfiguration.g:4502:11: lv_runs_24_0= RULE_INT + { + lv_runs_24_0=(Token)match(input,RULE_INT,FOLLOW_42); + + newLeafNode(lv_runs_24_0, grammarAccess.getGenerationTaskAccess().getRunsINTTerminalRuleCall_3_6_2_0()); + + + if (current==null) { + current = createModelElement(grammarAccess.getGenerationTaskRule()); + } + setWithLastConsumed( + current, + "runs", + lv_runs_24_0, + "org.eclipse.xtext.common.Terminals.INT"); + + + } + + + } + + + } + + + } + + + getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); + + + } + + + } + + + } + break; + case 8 : + // InternalApplicationConfiguration.g:4524:4: ({...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) ) + { + // InternalApplicationConfiguration.g:4524:4: ({...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) ) + // InternalApplicationConfiguration.g:4525:5: {...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) + { + if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7) ) { + throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7)"); + } + // InternalApplicationConfiguration.g:4525:111: ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) + // InternalApplicationConfiguration.g:4526:6: ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) + { + + getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7); + + // InternalApplicationConfiguration.g:4529:9: ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) + // InternalApplicationConfiguration.g:4529:10: {...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) + { + if ( !((true)) ) { + throw new FailedPredicateException(input, "ruleGenerationTask", "true"); + } + // InternalApplicationConfiguration.g:4529:19: (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) + // InternalApplicationConfiguration.g:4529:20: otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) + { + otherlv_25=(Token)match(input,49,FOLLOW_13); + + newLeafNode(otherlv_25, grammarAccess.getGenerationTaskAccess().getSolverKeyword_3_7_0()); + + otherlv_26=(Token)match(input,18,FOLLOW_44); + + newLeafNode(otherlv_26, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_7_1()); + + // InternalApplicationConfiguration.g:4537:9: ( (lv_solver_27_0= ruleSolver ) ) + // InternalApplicationConfiguration.g:4538:10: (lv_solver_27_0= ruleSolver ) + { + // InternalApplicationConfiguration.g:4538:10: (lv_solver_27_0= ruleSolver ) + // InternalApplicationConfiguration.g:4539:11: lv_solver_27_0= ruleSolver + { + + newCompositeNode(grammarAccess.getGenerationTaskAccess().getSolverSolverEnumRuleCall_3_7_2_0()); + + pushFollow(FOLLOW_42); + lv_solver_27_0=ruleSolver(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); + } + set( + current, + "solver", + lv_solver_27_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Solver"); + afterParserOrEnumRuleCall(); + + + } + + + } + + + } + + + } + + + getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); + + + } + + + } + + + } + break; + case 9 : + // InternalApplicationConfiguration.g:4562:4: ({...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) ) + { + // InternalApplicationConfiguration.g:4562:4: ({...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) ) + // InternalApplicationConfiguration.g:4563:5: {...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) + { + if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8) ) { + throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8)"); + } + // InternalApplicationConfiguration.g:4563:111: ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) + // InternalApplicationConfiguration.g:4564:6: ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) + { + + getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8); + + // InternalApplicationConfiguration.g:4567:9: ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) + // InternalApplicationConfiguration.g:4567:10: {...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) + { + if ( !((true)) ) { + throw new FailedPredicateException(input, "ruleGenerationTask", "true"); + } + // InternalApplicationConfiguration.g:4567:19: (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) + // InternalApplicationConfiguration.g:4567:20: otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) + { + otherlv_28=(Token)match(input,30,FOLLOW_13); + + newLeafNode(otherlv_28, grammarAccess.getGenerationTaskAccess().getConfigKeyword_3_8_0()); + + otherlv_29=(Token)match(input,18,FOLLOW_43); + + newLeafNode(otherlv_29, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_8_1()); + + // InternalApplicationConfiguration.g:4575:9: ( (lv_config_30_0= ruleConfig ) ) + // InternalApplicationConfiguration.g:4576:10: (lv_config_30_0= ruleConfig ) + { + // InternalApplicationConfiguration.g:4576:10: (lv_config_30_0= ruleConfig ) + // InternalApplicationConfiguration.g:4577:11: lv_config_30_0= ruleConfig + { + + newCompositeNode(grammarAccess.getGenerationTaskAccess().getConfigConfigParserRuleCall_3_8_2_0()); + + pushFollow(FOLLOW_42); + lv_config_30_0=ruleConfig(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); + } + set( + current, + "config", + lv_config_30_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Config"); + afterParserOrEnumRuleCall(); + + + } + + + } + + + } + + + } + + + getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); + + + } + + + } + + + } + break; + case 10 : + // InternalApplicationConfiguration.g:4600:4: ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) ) + { + // InternalApplicationConfiguration.g:4600:4: ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) ) + // InternalApplicationConfiguration.g:4601:5: {...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) + { + if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9) ) { + throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9)"); + } + // InternalApplicationConfiguration.g:4601:111: ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) + // InternalApplicationConfiguration.g:4602:6: ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) + { + + getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9); + + // InternalApplicationConfiguration.g:4605:9: ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) + // InternalApplicationConfiguration.g:4605:10: {...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) + { + if ( !((true)) ) { + throw new FailedPredicateException(input, "ruleGenerationTask", "true"); + } + // InternalApplicationConfiguration.g:4605:19: (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) + // InternalApplicationConfiguration.g:4605:20: otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) + { + otherlv_31=(Token)match(input,50,FOLLOW_13); + + newLeafNode(otherlv_31, grammarAccess.getGenerationTaskAccess().getDebugKeyword_3_9_0()); + + otherlv_32=(Token)match(input,18,FOLLOW_21); + + newLeafNode(otherlv_32, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_9_1()); + + // InternalApplicationConfiguration.g:4613:9: ( (lv_debugFolder_33_0= ruleFile ) ) + // InternalApplicationConfiguration.g:4614:10: (lv_debugFolder_33_0= ruleFile ) + { + // InternalApplicationConfiguration.g:4614:10: (lv_debugFolder_33_0= ruleFile ) + // InternalApplicationConfiguration.g:4615:11: lv_debugFolder_33_0= ruleFile + { + + newCompositeNode(grammarAccess.getGenerationTaskAccess().getDebugFolderFileParserRuleCall_3_9_2_0()); + + pushFollow(FOLLOW_42); + lv_debugFolder_33_0=ruleFile(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); + } + set( + current, + "debugFolder", + lv_debugFolder_33_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File"); + afterParserOrEnumRuleCall(); + + + } + + + } + + + } + + + } + + + getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); + + + } + + + } + + + } + break; + case 11 : + // InternalApplicationConfiguration.g:4638:4: ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) ) + { + // InternalApplicationConfiguration.g:4638:4: ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) ) + // InternalApplicationConfiguration.g:4639:5: {...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) + { + if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10) ) { + throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10)"); + } + // InternalApplicationConfiguration.g:4639:112: ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) + // InternalApplicationConfiguration.g:4640:6: ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) + { + + getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10); + + // InternalApplicationConfiguration.g:4643:9: ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) + // InternalApplicationConfiguration.g:4643:10: {...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) + { + if ( !((true)) ) { + throw new FailedPredicateException(input, "ruleGenerationTask", "true"); + } + // InternalApplicationConfiguration.g:4643:19: (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) + // InternalApplicationConfiguration.g:4643:20: otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) + { + otherlv_34=(Token)match(input,51,FOLLOW_13); + + newLeafNode(otherlv_34, grammarAccess.getGenerationTaskAccess().getLogKeyword_3_10_0()); + + otherlv_35=(Token)match(input,18,FOLLOW_21); + + newLeafNode(otherlv_35, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_10_1()); + + // InternalApplicationConfiguration.g:4651:9: ( (lv_targetLogFile_36_0= ruleFile ) ) + // InternalApplicationConfiguration.g:4652:10: (lv_targetLogFile_36_0= ruleFile ) + { + // InternalApplicationConfiguration.g:4652:10: (lv_targetLogFile_36_0= ruleFile ) + // InternalApplicationConfiguration.g:4653:11: lv_targetLogFile_36_0= ruleFile + { + + newCompositeNode(grammarAccess.getGenerationTaskAccess().getTargetLogFileFileParserRuleCall_3_10_2_0()); + + pushFollow(FOLLOW_42); + lv_targetLogFile_36_0=ruleFile(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); + } + set( + current, + "targetLogFile", + lv_targetLogFile_36_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File"); + afterParserOrEnumRuleCall(); + + + } + + + } + + + } + + + } + + + getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); + + + } + + + } + + + } + break; + case 12 : + // InternalApplicationConfiguration.g:4676:4: ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) ) + { + // InternalApplicationConfiguration.g:4676:4: ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) ) + // InternalApplicationConfiguration.g:4677:5: {...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) + { + if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11) ) { + throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11)"); + } + // InternalApplicationConfiguration.g:4677:112: ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) + // InternalApplicationConfiguration.g:4678:6: ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) + { + + getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11); + + // InternalApplicationConfiguration.g:4681:9: ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) + // InternalApplicationConfiguration.g:4681:10: {...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) + { + if ( !((true)) ) { + throw new FailedPredicateException(input, "ruleGenerationTask", "true"); + } + // InternalApplicationConfiguration.g:4681:19: (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) + // InternalApplicationConfiguration.g:4681:20: otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) + { + otherlv_37=(Token)match(input,52,FOLLOW_13); + + newLeafNode(otherlv_37, grammarAccess.getGenerationTaskAccess().getStatisticsKeyword_3_11_0()); + + otherlv_38=(Token)match(input,18,FOLLOW_21); + + newLeafNode(otherlv_38, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_11_1()); + + // InternalApplicationConfiguration.g:4689:9: ( (lv_targetStatisticsFile_39_0= ruleFile ) ) + // InternalApplicationConfiguration.g:4690:10: (lv_targetStatisticsFile_39_0= ruleFile ) + { + // InternalApplicationConfiguration.g:4690:10: (lv_targetStatisticsFile_39_0= ruleFile ) + // InternalApplicationConfiguration.g:4691:11: lv_targetStatisticsFile_39_0= ruleFile + { + + newCompositeNode(grammarAccess.getGenerationTaskAccess().getTargetStatisticsFileFileParserRuleCall_3_11_2_0()); + + pushFollow(FOLLOW_42); + lv_targetStatisticsFile_39_0=ruleFile(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); + } + set( + current, + "targetStatisticsFile", + lv_targetStatisticsFile_39_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File"); + afterParserOrEnumRuleCall(); + + + } + + + } + + + } + + + } + + + getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); + + + } + + + } + + + } + break; + case 13 : + // InternalApplicationConfiguration.g:4714:4: ({...}? => ( ({...}? => (otherlv_40= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) ) + { + // InternalApplicationConfiguration.g:4714:4: ({...}? => ( ({...}? => (otherlv_40= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) ) + // InternalApplicationConfiguration.g:4715:5: {...}? => ( ({...}? => (otherlv_40= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) + { + if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 12) ) { + throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 12)"); + } + // InternalApplicationConfiguration.g:4715:112: ( ({...}? => (otherlv_40= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) + // InternalApplicationConfiguration.g:4716:6: ({...}? => (otherlv_40= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) + { + + getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 12); + + // InternalApplicationConfiguration.g:4719:9: ({...}? => (otherlv_40= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) + // InternalApplicationConfiguration.g:4719:10: {...}? => (otherlv_40= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) + { + if ( !((true)) ) { + throw new FailedPredicateException(input, "ruleGenerationTask", "true"); + } + // InternalApplicationConfiguration.g:4719:19: (otherlv_40= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) + // InternalApplicationConfiguration.g:4719:20: otherlv_40= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) + { + otherlv_40=(Token)match(input,53,FOLLOW_13); + + newLeafNode(otherlv_40, grammarAccess.getGenerationTaskAccess().getOutputKeyword_3_12_0()); + + otherlv_41=(Token)match(input,18,FOLLOW_21); + + newLeafNode(otherlv_41, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_12_1()); + + // InternalApplicationConfiguration.g:4727:9: ( (lv_tagetFolder_42_0= ruleFile ) ) + // InternalApplicationConfiguration.g:4728:10: (lv_tagetFolder_42_0= ruleFile ) + { + // InternalApplicationConfiguration.g:4728:10: (lv_tagetFolder_42_0= ruleFile ) + // InternalApplicationConfiguration.g:4729:11: lv_tagetFolder_42_0= ruleFile + { + + newCompositeNode(grammarAccess.getGenerationTaskAccess().getTagetFolderFileParserRuleCall_3_12_2_0()); + + pushFollow(FOLLOW_42); + lv_tagetFolder_42_0=ruleFile(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); + } + set( + current, + "tagetFolder", + lv_tagetFolder_42_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File"); + afterParserOrEnumRuleCall(); + + + } + + + } + + + } + + + } + + + getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); + + + } + + + } + + + } + break; + + default : + break loop58; + } + } while (true); + + + } + + + } + + + getUnorderedGroupHelper().leave(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); + + + } + + otherlv_43=(Token)match(input,21,FOLLOW_2); + + newLeafNode(otherlv_43, grammarAccess.getGenerationTaskAccess().getRightCurlyBracketKeyword_4()); + + + } + + + } + + + leaveRule(); + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleGenerationTask" + + + // $ANTLR start "ruleOptimizationDirection" + // InternalApplicationConfiguration.g:4767:1: ruleOptimizationDirection returns [Enumerator current=null] : ( (enumLiteral_0= 'minimize' ) | (enumLiteral_1= 'maximize' ) ) ; + public final Enumerator ruleOptimizationDirection() throws RecognitionException { + Enumerator current = null; + + Token enumLiteral_0=null; + Token enumLiteral_1=null; + + + enterRule(); + + try { + // InternalApplicationConfiguration.g:4773:2: ( ( (enumLiteral_0= 'minimize' ) | (enumLiteral_1= 'maximize' ) ) ) + // InternalApplicationConfiguration.g:4774:2: ( (enumLiteral_0= 'minimize' ) | (enumLiteral_1= 'maximize' ) ) + { + // InternalApplicationConfiguration.g:4774:2: ( (enumLiteral_0= 'minimize' ) | (enumLiteral_1= 'maximize' ) ) + int alt59=2; + int LA59_0 = input.LA(1); + + if ( (LA59_0==54) ) { + alt59=1; + } + else if ( (LA59_0==55) ) { + alt59=2; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 59, 0, input); + + throw nvae; + } + switch (alt59) { + case 1 : + // InternalApplicationConfiguration.g:4775:3: (enumLiteral_0= 'minimize' ) + { + // InternalApplicationConfiguration.g:4775:3: (enumLiteral_0= 'minimize' ) + // InternalApplicationConfiguration.g:4776:4: enumLiteral_0= 'minimize' + { + enumLiteral_0=(Token)match(input,54,FOLLOW_2); + + current = grammarAccess.getOptimizationDirectionAccess().getMINIMIZEEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_0, grammarAccess.getOptimizationDirectionAccess().getMINIMIZEEnumLiteralDeclaration_0()); + + + } + + + } + break; + case 2 : + // InternalApplicationConfiguration.g:4783:3: (enumLiteral_1= 'maximize' ) + { + // InternalApplicationConfiguration.g:4783:3: (enumLiteral_1= 'maximize' ) + // InternalApplicationConfiguration.g:4784:4: enumLiteral_1= 'maximize' + { + enumLiteral_1=(Token)match(input,55,FOLLOW_2); + + current = grammarAccess.getOptimizationDirectionAccess().getMAXIMIZEEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_1, grammarAccess.getOptimizationDirectionAccess().getMAXIMIZEEnumLiteralDeclaration_1()); + + + } + + + } + break; + + } + + + } + + + leaveRule(); + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleOptimizationDirection" + + + // $ANTLR start "ruleComparisonOperator" + // InternalApplicationConfiguration.g:4794:1: ruleComparisonOperator returns [Enumerator current=null] : ( (enumLiteral_0= '<=' ) | (enumLiteral_1= '>=' ) ) ; + public final Enumerator ruleComparisonOperator() throws RecognitionException { + Enumerator current = null; + + Token enumLiteral_0=null; + Token enumLiteral_1=null; + + + enterRule(); + + try { + // InternalApplicationConfiguration.g:4800:2: ( ( (enumLiteral_0= '<=' ) | (enumLiteral_1= '>=' ) ) ) + // InternalApplicationConfiguration.g:4801:2: ( (enumLiteral_0= '<=' ) | (enumLiteral_1= '>=' ) ) + { + // InternalApplicationConfiguration.g:4801:2: ( (enumLiteral_0= '<=' ) | (enumLiteral_1= '>=' ) ) + int alt60=2; + int LA60_0 = input.LA(1); + + if ( (LA60_0==56) ) { + alt60=1; + } + else if ( (LA60_0==57) ) { + alt60=2; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 60, 0, input); + + throw nvae; + } + switch (alt60) { + case 1 : + // InternalApplicationConfiguration.g:4802:3: (enumLiteral_0= '<=' ) + { + // InternalApplicationConfiguration.g:4802:3: (enumLiteral_0= '<=' ) + // InternalApplicationConfiguration.g:4803:4: enumLiteral_0= '<=' + { + enumLiteral_0=(Token)match(input,56,FOLLOW_2); + + current = grammarAccess.getComparisonOperatorAccess().getLESS_EQUALSEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_0, grammarAccess.getComparisonOperatorAccess().getLESS_EQUALSEnumLiteralDeclaration_0()); + + + } + + + } + break; + case 2 : + // InternalApplicationConfiguration.g:4810:3: (enumLiteral_1= '>=' ) + { + // InternalApplicationConfiguration.g:4810:3: (enumLiteral_1= '>=' ) + // InternalApplicationConfiguration.g:4811:4: enumLiteral_1= '>=' + { + enumLiteral_1=(Token)match(input,57,FOLLOW_2); + + current = grammarAccess.getComparisonOperatorAccess().getGREATER_EQUALSEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_1, grammarAccess.getComparisonOperatorAccess().getGREATER_EQUALSEnumLiteralDeclaration_1()); + + + } + + + } + break; + + } + + + } + + + leaveRule(); + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleComparisonOperator" + + + // $ANTLR start "ruleDocumentLevelSpecification" + // InternalApplicationConfiguration.g:4821:1: ruleDocumentLevelSpecification returns [Enumerator current=null] : ( (enumLiteral_0= 'none' ) | (enumLiteral_1= 'normal' ) | (enumLiteral_2= 'full' ) ) ; + public final Enumerator ruleDocumentLevelSpecification() throws RecognitionException { + Enumerator current = null; + + Token enumLiteral_0=null; + Token enumLiteral_1=null; + Token enumLiteral_2=null; + + + enterRule(); + + try { + // InternalApplicationConfiguration.g:4827:2: ( ( (enumLiteral_0= 'none' ) | (enumLiteral_1= 'normal' ) | (enumLiteral_2= 'full' ) ) ) + // InternalApplicationConfiguration.g:4828:2: ( (enumLiteral_0= 'none' ) | (enumLiteral_1= 'normal' ) | (enumLiteral_2= 'full' ) ) + { + // InternalApplicationConfiguration.g:4828:2: ( (enumLiteral_0= 'none' ) | (enumLiteral_1= 'normal' ) | (enumLiteral_2= 'full' ) ) + int alt61=3; + switch ( input.LA(1) ) { + case 58: + { + alt61=1; + } + break; + case 59: + { + alt61=2; + } + break; + case 60: + { + alt61=3; + } + break; + default: + NoViableAltException nvae = + new NoViableAltException("", 61, 0, input); + + throw nvae; + } + + switch (alt61) { + case 1 : + // InternalApplicationConfiguration.g:4829:3: (enumLiteral_0= 'none' ) + { + // InternalApplicationConfiguration.g:4829:3: (enumLiteral_0= 'none' ) + // InternalApplicationConfiguration.g:4830:4: enumLiteral_0= 'none' + { + enumLiteral_0=(Token)match(input,58,FOLLOW_2); + + current = grammarAccess.getDocumentLevelSpecificationAccess().getNoneEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_0, grammarAccess.getDocumentLevelSpecificationAccess().getNoneEnumLiteralDeclaration_0()); + + + } + + + } + break; + case 2 : + // InternalApplicationConfiguration.g:4837:3: (enumLiteral_1= 'normal' ) + { + // InternalApplicationConfiguration.g:4837:3: (enumLiteral_1= 'normal' ) + // InternalApplicationConfiguration.g:4838:4: enumLiteral_1= 'normal' + { + enumLiteral_1=(Token)match(input,59,FOLLOW_2); + + current = grammarAccess.getDocumentLevelSpecificationAccess().getNormalEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_1, grammarAccess.getDocumentLevelSpecificationAccess().getNormalEnumLiteralDeclaration_1()); + + + } + + + } + break; + case 3 : + // InternalApplicationConfiguration.g:4845:3: (enumLiteral_2= 'full' ) + { + // InternalApplicationConfiguration.g:4845:3: (enumLiteral_2= 'full' ) + // InternalApplicationConfiguration.g:4846:4: enumLiteral_2= 'full' + { + enumLiteral_2=(Token)match(input,60,FOLLOW_2); + + current = grammarAccess.getDocumentLevelSpecificationAccess().getFullEnumLiteralDeclaration_2().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_2, grammarAccess.getDocumentLevelSpecificationAccess().getFullEnumLiteralDeclaration_2()); + + + } + + + } + break; + + } + + + } + + + leaveRule(); + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleDocumentLevelSpecification" + + + // $ANTLR start "ruleSolver" + // InternalApplicationConfiguration.g:4856:1: ruleSolver returns [Enumerator current=null] : ( (enumLiteral_0= 'SMTSolver' ) | (enumLiteral_1= 'AlloySolver' ) | (enumLiteral_2= 'ViatraSolver' ) ) ; + public final Enumerator ruleSolver() throws RecognitionException { + Enumerator current = null; + + Token enumLiteral_0=null; + Token enumLiteral_1=null; + Token enumLiteral_2=null; + + + enterRule(); + + try { + // InternalApplicationConfiguration.g:4862:2: ( ( (enumLiteral_0= 'SMTSolver' ) | (enumLiteral_1= 'AlloySolver' ) | (enumLiteral_2= 'ViatraSolver' ) ) ) + // InternalApplicationConfiguration.g:4863:2: ( (enumLiteral_0= 'SMTSolver' ) | (enumLiteral_1= 'AlloySolver' ) | (enumLiteral_2= 'ViatraSolver' ) ) + { + // InternalApplicationConfiguration.g:4863:2: ( (enumLiteral_0= 'SMTSolver' ) | (enumLiteral_1= 'AlloySolver' ) | (enumLiteral_2= 'ViatraSolver' ) ) + int alt62=3; + switch ( input.LA(1) ) { + case 61: + { + alt62=1; + } + break; + case 62: + { + alt62=2; + } + break; + case 63: + { + alt62=3; + } + break; + default: + NoViableAltException nvae = + new NoViableAltException("", 62, 0, input); + + throw nvae; + } + + switch (alt62) { + case 1 : + // InternalApplicationConfiguration.g:4864:3: (enumLiteral_0= 'SMTSolver' ) + { + // InternalApplicationConfiguration.g:4864:3: (enumLiteral_0= 'SMTSolver' ) + // InternalApplicationConfiguration.g:4865:4: enumLiteral_0= 'SMTSolver' + { + enumLiteral_0=(Token)match(input,61,FOLLOW_2); + + current = grammarAccess.getSolverAccess().getSMTSolverEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_0, grammarAccess.getSolverAccess().getSMTSolverEnumLiteralDeclaration_0()); + + + } + + + } + break; + case 2 : + // InternalApplicationConfiguration.g:4872:3: (enumLiteral_1= 'AlloySolver' ) + { + // InternalApplicationConfiguration.g:4872:3: (enumLiteral_1= 'AlloySolver' ) + // InternalApplicationConfiguration.g:4873:4: enumLiteral_1= 'AlloySolver' + { + enumLiteral_1=(Token)match(input,62,FOLLOW_2); + + current = grammarAccess.getSolverAccess().getAlloySolverEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_1, grammarAccess.getSolverAccess().getAlloySolverEnumLiteralDeclaration_1()); + + + } + + + } + break; + case 3 : + // InternalApplicationConfiguration.g:4880:3: (enumLiteral_2= 'ViatraSolver' ) + { + // InternalApplicationConfiguration.g:4880:3: (enumLiteral_2= 'ViatraSolver' ) + // InternalApplicationConfiguration.g:4881:4: enumLiteral_2= 'ViatraSolver' + { + enumLiteral_2=(Token)match(input,63,FOLLOW_2); + + current = grammarAccess.getSolverAccess().getViatraSolverEnumLiteralDeclaration_2().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_2, grammarAccess.getSolverAccess().getViatraSolverEnumLiteralDeclaration_2()); + + + } + + + } + break; + + } + + + } + + + leaveRule(); + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleSolver" + + // Delegated rules + + + protected DFA58 dfa58 = new DFA58(this); + static final String dfa_1s = "\17\uffff"; + static final String dfa_2s = "\1\25\16\uffff"; + static final String dfa_3s = "\1\65\16\uffff"; + static final String dfa_4s = "\1\uffff\1\16\1\1\1\2\1\3\1\4\1\5\1\6\1\7\1\10\1\11\1\12\1\13\1\14\1\15"; + static final String dfa_5s = "\1\0\16\uffff}>"; + static final String[] dfa_6s = { + "\1\1\3\uffff\1\2\2\uffff\1\4\1\5\1\12\15\uffff\1\6\1\uffff\1\3\1\7\1\10\1\11\1\13\1\14\1\15\1\16", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + }; + + static final short[] dfa_1 = DFA.unpackEncodedString(dfa_1s); + static final char[] dfa_2 = DFA.unpackEncodedStringToUnsignedChars(dfa_2s); + static final char[] dfa_3 = DFA.unpackEncodedStringToUnsignedChars(dfa_3s); + static final short[] dfa_4 = DFA.unpackEncodedString(dfa_4s); + static final short[] dfa_5 = DFA.unpackEncodedString(dfa_5s); + static final short[][] dfa_6 = unpackEncodedStringArray(dfa_6s); + + class DFA58 extends DFA { + + public DFA58(BaseRecognizer recognizer) { + this.recognizer = recognizer; + this.decisionNumber = 58; + this.eot = dfa_1; + this.eof = dfa_1; + this.min = dfa_2; + this.max = dfa_3; + this.accept = dfa_4; + this.special = dfa_5; + this.transition = dfa_6; + } + public String getDescription() { + return "()* loopback of 4239:6: ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (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= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) ) )*"; + } + public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { + TokenStream input = (TokenStream)_input; + int _s = s; + switch ( s ) { + case 0 : + int LA58_0 = input.LA(1); + + + int index58_0 = input.index(); + input.rewind(); + s = -1; + if ( (LA58_0==21) ) {s = 1;} + + else if ( LA58_0 == 25 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0) ) {s = 2;} + + else if ( LA58_0 == 46 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1) ) {s = 3;} + + else if ( LA58_0 == 28 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2) ) {s = 4;} + + else if ( LA58_0 == 29 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3) ) {s = 5;} + + else if ( LA58_0 == 44 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4) ) {s = 6;} + + else if ( LA58_0 == 47 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5) ) {s = 7;} + + else if ( LA58_0 == 48 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6) ) {s = 8;} + + else if ( LA58_0 == 49 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7) ) {s = 9;} + + else if ( LA58_0 == 30 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8) ) {s = 10;} + + else if ( LA58_0 == 50 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9) ) {s = 11;} + + else if ( LA58_0 == 51 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10) ) {s = 12;} + + else if ( LA58_0 == 52 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11) ) {s = 13;} + + else if ( LA58_0 == 53 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 12) ) {s = 14;} + + + input.seek(index58_0); + if ( s>=0 ) return s; + break; + } + NoViableAltException nvae = + new NoViableAltException(getDescription(), 58, _s, input); + error(nvae); + throw nvae; + } + } + + + public static final BitSet FOLLOW_1 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_2 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_3 = new BitSet(new long[]{0x000030007A022002L}); + public static final BitSet FOLLOW_4 = new BitSet(new long[]{0x000030007A020002L}); + 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[]{0x0000000000000020L}); + public static final BitSet FOLLOW_8 = new BitSet(new long[]{0x0000000000000800L}); + public static final BitSet FOLLOW_9 = new BitSet(new long[]{0x0000000000004000L}); + public static final BitSet FOLLOW_10 = new BitSet(new long[]{0x0000000000000040L}); + public static final BitSet FOLLOW_11 = new BitSet(new long[]{0x0000000000008000L}); + public static final BitSet FOLLOW_12 = new BitSet(new long[]{0x0000000000010000L}); + public static final BitSet FOLLOW_13 = new BitSet(new long[]{0x0000000000040000L}); + public static final BitSet FOLLOW_14 = new BitSet(new long[]{0x0000000000400010L}); + public static final BitSet FOLLOW_15 = new BitSet(new long[]{0x0000000000300000L}); + public static final BitSet FOLLOW_16 = new BitSet(new long[]{0x0000000000800002L}); + public static final BitSet FOLLOW_17 = new BitSet(new long[]{0x0000000000080000L}); + public static final BitSet FOLLOW_18 = new BitSet(new long[]{0x0000000001000000L}); + public static final BitSet FOLLOW_19 = new BitSet(new long[]{0x0000000004000050L}); + public static final BitSet FOLLOW_20 = new BitSet(new long[]{0x0000000000200000L}); + public static final BitSet FOLLOW_21 = new BitSet(new long[]{0x0000000000000050L}); + public static final BitSet FOLLOW_22 = new BitSet(new long[]{0x00C0000000010000L}); + public static final BitSet FOLLOW_23 = new BitSet(new long[]{0x0300000000000000L}); + public static final BitSet FOLLOW_24 = new BitSet(new long[]{0x0000000000001020L}); + public static final BitSet FOLLOW_25 = new BitSet(new long[]{0x0000000380200040L}); + public static final BitSet FOLLOW_26 = new BitSet(new long[]{0x0000000380000040L}); + public static final BitSet FOLLOW_27 = new BitSet(new long[]{0x1C00000000000000L}); + public static final BitSet FOLLOW_28 = new BitSet(new long[]{0x0000000400200000L}); + public static final BitSet FOLLOW_29 = new BitSet(new long[]{0x0000000400000000L}); + public static final BitSet FOLLOW_30 = new BitSet(new long[]{0x0000001000000000L}); + public static final BitSet FOLLOW_31 = new BitSet(new long[]{0x0000000800040000L}); + public static final BitSet FOLLOW_32 = new BitSet(new long[]{0x0000040000000020L}); + public static final BitSet FOLLOW_33 = new BitSet(new long[]{0x0000004000000000L}); + public static final BitSet FOLLOW_34 = new BitSet(new long[]{0x0000008000000000L}); + public static final BitSet FOLLOW_35 = new BitSet(new long[]{0x0000040000080020L}); + public static final BitSet FOLLOW_36 = new BitSet(new long[]{0x0000010000000000L}); + public static final BitSet FOLLOW_37 = new BitSet(new long[]{0x0000020000000000L}); + public static final BitSet FOLLOW_38 = new BitSet(new long[]{0x0000002000000000L}); + public static final BitSet FOLLOW_39 = new BitSet(new long[]{0x0000080000000000L}); + public static final BitSet FOLLOW_40 = new BitSet(new long[]{0x0000000000201020L}); + public static final BitSet FOLLOW_41 = new BitSet(new long[]{0x0000000000200040L}); + public static final BitSet FOLLOW_42 = new BitSet(new long[]{0x003FD00072200000L}); + public static final BitSet FOLLOW_43 = new BitSet(new long[]{0x0000000000080010L}); + public static final BitSet FOLLOW_44 = new BitSet(new long[]{0xE000000000000000L}); + +} diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/scoping/AbstractApplicationConfigurationScopeProvider.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/scoping/AbstractApplicationConfigurationScopeProvider.java index 045846b5..d272d910 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/scoping/AbstractApplicationConfigurationScopeProvider.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/scoping/AbstractApplicationConfigurationScopeProvider.java @@ -1,9 +1,9 @@ -/* - * generated by Xtext 2.12.0 - */ -package hu.bme.mit.inf.dslreasoner.application.scoping; - -import org.eclipse.xtext.scoping.impl.DelegatingScopeProvider; - -public abstract class AbstractApplicationConfigurationScopeProvider extends DelegatingScopeProvider { -} +/* + * generated by Xtext 2.16.0 + */ +package hu.bme.mit.inf.dslreasoner.application.scoping; + +import org.eclipse.xtext.scoping.impl.DelegatingScopeProvider; + +public abstract class AbstractApplicationConfigurationScopeProvider extends DelegatingScopeProvider { +} 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 96e5a0e2..d60d7cf5 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 @@ -1,1006 +1,1169 @@ -/* - * generated by Xtext 2.12.0 - */ -package hu.bme.mit.inf.dslreasoner.application.serializer; - -import com.google.inject.Inject; -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.AllPackageEntry; -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.AllPatternEntry; -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage; -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ClassReference; -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ClassTypeScope; -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigDeclaration; -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigReference; -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigSpecification; -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigurationScript; -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.CustomEntry; -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.DocumentationEntry; -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.EPackageImport; -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ExactNumber; -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.FileDeclaration; -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.FileReference; -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.FileSpecification; -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.FolderEntry; -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask; -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GraphPatternDeclaration; -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GraphPatternReference; -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntEnumberation; -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntegerScope; -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntegerTypeScope; -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntervallNumber; -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MemoryEntry; -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelDeclaration; -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelElement; -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelReference; -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelSpecification; -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ModelEntry; -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ObjectReference; -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ObjectTypeScope; -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModelDeclaration; -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModelReference; -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModelSpecification; -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PatternElement; -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PatternSpecification; -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RealEnumeration; -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RealScope; -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RealTypeScope; -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RuntimeEntry; -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ScopeDeclaration; -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ScopeReference; -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ScopeSpecification; -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.StringEnumeration; -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.StringScope; -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.StringTypeScope; -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ViatraImport; -import hu.bme.mit.inf.dslreasoner.application.services.ApplicationConfigurationGrammarAccess; -import java.util.Set; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.xtext.Action; -import org.eclipse.xtext.Parameter; -import org.eclipse.xtext.ParserRule; -import org.eclipse.xtext.serializer.ISerializationContext; -import org.eclipse.xtext.serializer.acceptor.SequenceFeeder; -import org.eclipse.xtext.serializer.sequencer.AbstractDelegatingSemanticSequencer; -import org.eclipse.xtext.serializer.sequencer.ITransientValueService.ValueTransient; - -@SuppressWarnings("all") -public class ApplicationConfigurationSemanticSequencer extends AbstractDelegatingSemanticSequencer { - - @Inject - private ApplicationConfigurationGrammarAccess grammarAccess; - - @Override - public void sequence(ISerializationContext context, EObject semanticObject) { - EPackage epackage = semanticObject.eClass().getEPackage(); - ParserRule rule = context.getParserRule(); - Action action = context.getAssignedAction(); - Set parameters = context.getEnabledBooleanParameters(); - if (epackage == ApplicationConfigurationPackage.eINSTANCE) - switch (semanticObject.eClass().getClassifierID()) { - case ApplicationConfigurationPackage.ALL_PACKAGE_ENTRY: - sequence_AllPackageEntry(context, (AllPackageEntry) semanticObject); - return; - case ApplicationConfigurationPackage.ALL_PATTERN_ENTRY: - sequence_AllPatternEntry(context, (AllPatternEntry) semanticObject); - return; - case ApplicationConfigurationPackage.CLASS_REFERENCE: - sequence_ClassReference(context, (ClassReference) semanticObject); - return; - case ApplicationConfigurationPackage.CLASS_TYPE_SCOPE: - sequence_ClassTypeScope(context, (ClassTypeScope) semanticObject); - return; - case ApplicationConfigurationPackage.CONFIG_DECLARATION: - sequence_ConfigDeclaration(context, (ConfigDeclaration) semanticObject); - return; - case ApplicationConfigurationPackage.CONFIG_REFERENCE: - sequence_ConfigReference(context, (ConfigReference) semanticObject); - return; - case ApplicationConfigurationPackage.CONFIG_SPECIFICATION: - sequence_ConfigSpecification(context, (ConfigSpecification) semanticObject); - return; - case ApplicationConfigurationPackage.CONFIGURATION_SCRIPT: - sequence_ConfigurationScript(context, (ConfigurationScript) semanticObject); - return; - case ApplicationConfigurationPackage.CUSTOM_ENTRY: - sequence_CustomEntry(context, (CustomEntry) semanticObject); - return; - case ApplicationConfigurationPackage.DOCUMENTATION_ENTRY: - sequence_DocumentationEntry(context, (DocumentationEntry) semanticObject); - return; - case ApplicationConfigurationPackage.EPACKAGE_IMPORT: - sequence_EPackageImport(context, (EPackageImport) semanticObject); - return; - case ApplicationConfigurationPackage.EXACT_NUMBER: - sequence_ExactNumber(context, (ExactNumber) semanticObject); - return; - case ApplicationConfigurationPackage.FILE_DECLARATION: - sequence_FileDeclaration(context, (FileDeclaration) semanticObject); - return; - case ApplicationConfigurationPackage.FILE_REFERENCE: - sequence_FileReference(context, (FileReference) semanticObject); - return; - case ApplicationConfigurationPackage.FILE_SPECIFICATION: - sequence_FileSpecification(context, (FileSpecification) semanticObject); - return; - case ApplicationConfigurationPackage.FOLDER_ENTRY: - sequence_FolderEntry(context, (FolderEntry) semanticObject); - return; - case ApplicationConfigurationPackage.GENERATION_TASK: - sequence_GenerationTask(context, (GenerationTask) semanticObject); - return; - case ApplicationConfigurationPackage.GRAPH_PATTERN_DECLARATION: - sequence_GraphPatternDeclaration(context, (GraphPatternDeclaration) semanticObject); - return; - case ApplicationConfigurationPackage.GRAPH_PATTERN_REFERENCE: - sequence_GraphPatternReference(context, (GraphPatternReference) semanticObject); - return; - case ApplicationConfigurationPackage.INT_ENUMBERATION: - sequence_IntEnumberation(context, (IntEnumberation) semanticObject); - return; - case ApplicationConfigurationPackage.INTEGER_SCOPE: - sequence_IntegerReference(context, (IntegerScope) semanticObject); - return; - case ApplicationConfigurationPackage.INTEGER_TYPE_SCOPE: - sequence_IntegerTypeScope(context, (IntegerTypeScope) semanticObject); - return; - case ApplicationConfigurationPackage.INTERVALL_NUMBER: - sequence_IntervallNumber(context, (IntervallNumber) semanticObject); - return; - case ApplicationConfigurationPackage.MEMORY_ENTRY: - sequence_MemoryEntry(context, (MemoryEntry) semanticObject); - return; - case ApplicationConfigurationPackage.METAMODEL_DECLARATION: - sequence_MetamodelDeclaration(context, (MetamodelDeclaration) semanticObject); - return; - case ApplicationConfigurationPackage.METAMODEL_ELEMENT: - sequence_MetamodelElement(context, (MetamodelElement) semanticObject); - return; - case ApplicationConfigurationPackage.METAMODEL_REFERENCE: - sequence_MetamodelReference(context, (MetamodelReference) semanticObject); - return; - case ApplicationConfigurationPackage.METAMODEL_SPECIFICATION: - sequence_MetamodelSpecification(context, (MetamodelSpecification) semanticObject); - return; - case ApplicationConfigurationPackage.MODEL_ENTRY: - sequence_ModelEntry(context, (ModelEntry) semanticObject); - return; - case ApplicationConfigurationPackage.OBJECT_REFERENCE: - sequence_ObjectReference(context, (ObjectReference) semanticObject); - return; - case ApplicationConfigurationPackage.OBJECT_TYPE_SCOPE: - sequence_ObjectTypeScope(context, (ObjectTypeScope) semanticObject); - return; - case ApplicationConfigurationPackage.PARTIAL_MODEL_DECLARATION: - sequence_PartialModelDeclaration(context, (PartialModelDeclaration) semanticObject); - return; - case ApplicationConfigurationPackage.PARTIAL_MODEL_REFERENCE: - sequence_PartialModelReference(context, (PartialModelReference) semanticObject); - return; - case ApplicationConfigurationPackage.PARTIAL_MODEL_SPECIFICATION: - sequence_PartialModelSpecification(context, (PartialModelSpecification) semanticObject); - return; - case ApplicationConfigurationPackage.PATTERN_ELEMENT: - sequence_PatternElement(context, (PatternElement) semanticObject); - return; - case ApplicationConfigurationPackage.PATTERN_SPECIFICATION: - sequence_PatternSpecification(context, (PatternSpecification) semanticObject); - return; - case ApplicationConfigurationPackage.REAL_ENUMERATION: - sequence_RealEnumeration(context, (RealEnumeration) semanticObject); - return; - case ApplicationConfigurationPackage.REAL_SCOPE: - sequence_RealReference(context, (RealScope) semanticObject); - return; - case ApplicationConfigurationPackage.REAL_TYPE_SCOPE: - sequence_RealTypeScope(context, (RealTypeScope) semanticObject); - return; - case ApplicationConfigurationPackage.RUNTIME_ENTRY: - sequence_RuntimeEntry(context, (RuntimeEntry) semanticObject); - return; - case ApplicationConfigurationPackage.SCOPE_DECLARATION: - sequence_ScopeDeclaration(context, (ScopeDeclaration) semanticObject); - return; - case ApplicationConfigurationPackage.SCOPE_REFERENCE: - sequence_ScopeReference(context, (ScopeReference) semanticObject); - return; - case ApplicationConfigurationPackage.SCOPE_SPECIFICATION: - sequence_ScopeSpecification(context, (ScopeSpecification) semanticObject); - return; - case ApplicationConfigurationPackage.STRING_ENUMERATION: - sequence_StringEnumeration(context, (StringEnumeration) semanticObject); - return; - case ApplicationConfigurationPackage.STRING_SCOPE: - sequence_StringReference(context, (StringScope) semanticObject); - return; - case ApplicationConfigurationPackage.STRING_TYPE_SCOPE: - sequence_StringTypeScope(context, (StringTypeScope) semanticObject); - return; - case ApplicationConfigurationPackage.VIATRA_IMPORT: - sequence_ViatraImport(context, (ViatraImport) semanticObject); - return; - } - if (errorAcceptor != null) - errorAcceptor.accept(diagnosticProvider.createInvalidContextOrTypeDiagnostic(semanticObject, context)); - } - - /** - * Contexts: - * MetamodelEntry returns AllPackageEntry - * AllPackageEntry returns AllPackageEntry - * - * Constraint: - * (package=[EPackage|QualifiedName] (exclusion+=MetamodelElement exclusion+=MetamodelElement*)?) - */ - protected void sequence_AllPackageEntry(ISerializationContext context, AllPackageEntry semanticObject) { - genericSequencer.createSequence(context, semanticObject); - } - - - /** - * Contexts: - * PatternEntry returns AllPatternEntry - * AllPatternEntry returns AllPatternEntry - * - * Constraint: - * (package=[PatternModel|QualifiedName] (exclusuion+=PatternElement exclusuion+=PatternElement*)?) - */ - protected void sequence_AllPatternEntry(ISerializationContext context, AllPatternEntry semanticObject) { - genericSequencer.createSequence(context, semanticObject); - } - - - /** - * Contexts: - * TypeReference returns ClassReference - * ClassReference returns ClassReference - * - * Constraint: - * element=MetamodelElement - */ - protected void sequence_ClassReference(ISerializationContext context, ClassReference semanticObject) { - if (errorAcceptor != null) { - if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.CLASS_REFERENCE__ELEMENT) == ValueTransient.YES) - errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.CLASS_REFERENCE__ELEMENT)); - } - SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); - feeder.accept(grammarAccess.getClassReferenceAccess().getElementMetamodelElementParserRuleCall_1_0(), semanticObject.getElement()); - feeder.finish(); - } - - - /** - * Contexts: - * TypeScope returns ClassTypeScope - * ClassTypeScope returns ClassTypeScope - * - * Constraint: - * (type=ClassReference (setsNew?='+=' | setsSum?='=') (number=ExactNumber | number=IntervallNumber)) - */ - protected void sequence_ClassTypeScope(ISerializationContext context, ClassTypeScope semanticObject) { - genericSequencer.createSequence(context, semanticObject); - } - - - /** - * Contexts: - * Command returns ConfigDeclaration - * Declaration returns ConfigDeclaration - * ConfigDeclaration returns ConfigDeclaration - * - * Constraint: - * (name=ID specification=ConfigSpecification) - */ - protected void sequence_ConfigDeclaration(ISerializationContext context, ConfigDeclaration semanticObject) { - if (errorAcceptor != null) { - if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.DECLARATION__NAME) == ValueTransient.YES) - errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.DECLARATION__NAME)); - if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.CONFIG_DECLARATION__SPECIFICATION) == ValueTransient.YES) - errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.CONFIG_DECLARATION__SPECIFICATION)); - } - SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); - feeder.accept(grammarAccess.getConfigDeclarationAccess().getNameIDTerminalRuleCall_1_0(), semanticObject.getName()); - feeder.accept(grammarAccess.getConfigDeclarationAccess().getSpecificationConfigSpecificationParserRuleCall_2_0(), semanticObject.getSpecification()); - feeder.finish(); - } - - - /** - * Contexts: - * ConfigReference returns ConfigReference - * Config returns ConfigReference - * - * Constraint: - * config=[ConfigDeclaration|ID] - */ - protected void sequence_ConfigReference(ISerializationContext context, ConfigReference semanticObject) { - if (errorAcceptor != null) { - if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.CONFIG_REFERENCE__CONFIG) == ValueTransient.YES) - errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.CONFIG_REFERENCE__CONFIG)); - } - SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); - feeder.accept(grammarAccess.getConfigReferenceAccess().getConfigConfigDeclarationIDTerminalRuleCall_0_1(), semanticObject.eGet(ApplicationConfigurationPackage.Literals.CONFIG_REFERENCE__CONFIG, false)); - feeder.finish(); - } - - - /** - * Contexts: - * ConfigSpecification returns ConfigSpecification - * Config returns ConfigSpecification - * - * Constraint: - * (entries+=ConfigEntry entries+=ConfigEntry*)? - */ - protected void sequence_ConfigSpecification(ISerializationContext context, ConfigSpecification semanticObject) { - genericSequencer.createSequence(context, semanticObject); - } - - - /** - * Contexts: - * ConfigurationScript returns ConfigurationScript - * - * Constraint: - * ((imports+=Import+ commands+=Command+) | commands+=Command+)? - */ - protected void sequence_ConfigurationScript(ISerializationContext context, ConfigurationScript semanticObject) { - genericSequencer.createSequence(context, semanticObject); - } - - - /** - * Contexts: - * ConfigEntry returns CustomEntry - * CustomEntry returns CustomEntry - * - * Constraint: - * (key=STRING value=STRING) - */ - protected void sequence_CustomEntry(ISerializationContext context, CustomEntry semanticObject) { - if (errorAcceptor != null) { - if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.CUSTOM_ENTRY__KEY) == ValueTransient.YES) - errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.CUSTOM_ENTRY__KEY)); - if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.CUSTOM_ENTRY__VALUE) == ValueTransient.YES) - errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.CUSTOM_ENTRY__VALUE)); - } - SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); - feeder.accept(grammarAccess.getCustomEntryAccess().getKeySTRINGTerminalRuleCall_0_0(), semanticObject.getKey()); - feeder.accept(grammarAccess.getCustomEntryAccess().getValueSTRINGTerminalRuleCall_2_0(), semanticObject.getValue()); - feeder.finish(); - } - - - /** - * Contexts: - * ConfigEntry returns DocumentationEntry - * DocumentationEntry returns DocumentationEntry - * - * Constraint: - * level=DocumentLevelSpecification - */ - protected void sequence_DocumentationEntry(ISerializationContext context, DocumentationEntry semanticObject) { - if (errorAcceptor != null) { - if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.DOCUMENTATION_ENTRY__LEVEL) == ValueTransient.YES) - errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.DOCUMENTATION_ENTRY__LEVEL)); - } - SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); - feeder.accept(grammarAccess.getDocumentationEntryAccess().getLevelDocumentLevelSpecificationEnumRuleCall_2_0(), semanticObject.getLevel()); - feeder.finish(); - } - - - /** - * Contexts: - * Import returns EPackageImport - * EPackageImport returns EPackageImport - * - * Constraint: - * importedPackage=[EPackage|STRING] - */ - protected void sequence_EPackageImport(ISerializationContext context, EPackageImport semanticObject) { - if (errorAcceptor != null) { - if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.EPACKAGE_IMPORT__IMPORTED_PACKAGE) == ValueTransient.YES) - errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.EPACKAGE_IMPORT__IMPORTED_PACKAGE)); - } - SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); - feeder.accept(grammarAccess.getEPackageImportAccess().getImportedPackageEPackageSTRINGTerminalRuleCall_2_0_1(), semanticObject.eGet(ApplicationConfigurationPackage.Literals.EPACKAGE_IMPORT__IMPORTED_PACKAGE, false)); - feeder.finish(); - } - - - /** - * Contexts: - * NumberSpecification returns ExactNumber - * ExactNumber returns ExactNumber - * - * Constraint: - * (exactNumber=INT | exactUnlimited?='*') - */ - protected void sequence_ExactNumber(ISerializationContext context, ExactNumber semanticObject) { - genericSequencer.createSequence(context, semanticObject); - } - - - /** - * Contexts: - * Command returns FileDeclaration - * Declaration returns FileDeclaration - * FileDeclaration returns FileDeclaration - * - * Constraint: - * (name=ID specification=FileSpecification) - */ - protected void sequence_FileDeclaration(ISerializationContext context, FileDeclaration semanticObject) { - if (errorAcceptor != null) { - if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.DECLARATION__NAME) == ValueTransient.YES) - errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.DECLARATION__NAME)); - if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.FILE_DECLARATION__SPECIFICATION) == ValueTransient.YES) - errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.FILE_DECLARATION__SPECIFICATION)); - } - SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); - feeder.accept(grammarAccess.getFileDeclarationAccess().getNameIDTerminalRuleCall_1_0(), semanticObject.getName()); - feeder.accept(grammarAccess.getFileDeclarationAccess().getSpecificationFileSpecificationParserRuleCall_3_0(), semanticObject.getSpecification()); - feeder.finish(); - } - - - /** - * Contexts: - * FileReference returns FileReference - * File returns FileReference - * - * Constraint: - * referred=[FileDeclaration|ID] - */ - protected void sequence_FileReference(ISerializationContext context, FileReference semanticObject) { - if (errorAcceptor != null) { - if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.FILE_REFERENCE__REFERRED) == ValueTransient.YES) - errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.FILE_REFERENCE__REFERRED)); - } - SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); - feeder.accept(grammarAccess.getFileReferenceAccess().getReferredFileDeclarationIDTerminalRuleCall_0_1(), semanticObject.eGet(ApplicationConfigurationPackage.Literals.FILE_REFERENCE__REFERRED, false)); - feeder.finish(); - } - - - /** - * Contexts: - * FileSpecification returns FileSpecification - * File returns FileSpecification - * - * Constraint: - * path=STRING - */ - protected void sequence_FileSpecification(ISerializationContext context, FileSpecification semanticObject) { - if (errorAcceptor != null) { - if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.FILE_SPECIFICATION__PATH) == ValueTransient.YES) - errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.FILE_SPECIFICATION__PATH)); - } - SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); - feeder.accept(grammarAccess.getFileSpecificationAccess().getPathSTRINGTerminalRuleCall_0(), semanticObject.getPath()); - feeder.finish(); - } - - - /** - * Contexts: - * PartialModelEntry returns FolderEntry - * FolderEntry returns FolderEntry - * - * Constraint: - * (path=File (exclusion+=ModelEntry exclusion+=ModelEntry*)?) - */ - protected void sequence_FolderEntry(ISerializationContext context, FolderEntry semanticObject) { - genericSequencer.createSequence(context, semanticObject); - } - - - /** - * Contexts: - * Command returns GenerationTask - * Task returns GenerationTask - * GenerationTask returns GenerationTask - * - * Constraint: - * ( - * ( - * metamodel=Metamodel | - * partialModel=PartialModel | - * patterns=GraphPattern | - * scope=Scope | - * solver=Solver | - * config=Config | - * debugFolder=File | - * targetLogFile=File | - * targetStatisticsFile=File | - * tagetFolder=File - * )? - * (runSpecified?='runs' runs=INT)? - * (numberSpecified?='number' number=INT)? - * )+ - */ - protected void sequence_GenerationTask(ISerializationContext context, GenerationTask semanticObject) { - genericSequencer.createSequence(context, semanticObject); - } - - - /** - * Contexts: - * Command returns GraphPatternDeclaration - * Declaration returns GraphPatternDeclaration - * GraphPatternDeclaration returns GraphPatternDeclaration - * - * Constraint: - * (name=ID specification=PatternSpecification) - */ - protected void sequence_GraphPatternDeclaration(ISerializationContext context, GraphPatternDeclaration semanticObject) { - if (errorAcceptor != null) { - if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.DECLARATION__NAME) == ValueTransient.YES) - errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.DECLARATION__NAME)); - if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.GRAPH_PATTERN_DECLARATION__SPECIFICATION) == ValueTransient.YES) - errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.GRAPH_PATTERN_DECLARATION__SPECIFICATION)); - } - SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); - feeder.accept(grammarAccess.getGraphPatternDeclarationAccess().getNameIDTerminalRuleCall_1_0(), semanticObject.getName()); - feeder.accept(grammarAccess.getGraphPatternDeclarationAccess().getSpecificationPatternSpecificationParserRuleCall_2_0(), semanticObject.getSpecification()); - feeder.finish(); - } - - - /** - * Contexts: - * GraphPatternReference returns GraphPatternReference - * GraphPattern returns GraphPatternReference - * - * Constraint: - * referred=[GraphPatternDeclaration|ID] - */ - protected void sequence_GraphPatternReference(ISerializationContext context, GraphPatternReference semanticObject) { - if (errorAcceptor != null) { - if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.GRAPH_PATTERN_REFERENCE__REFERRED) == ValueTransient.YES) - errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.GRAPH_PATTERN_REFERENCE__REFERRED)); - } - SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); - feeder.accept(grammarAccess.getGraphPatternReferenceAccess().getReferredGraphPatternDeclarationIDTerminalRuleCall_0_1(), semanticObject.eGet(ApplicationConfigurationPackage.Literals.GRAPH_PATTERN_REFERENCE__REFERRED, false)); - feeder.finish(); - } - - - /** - * Contexts: - * NumberSpecification returns IntEnumberation - * IntEnumberation returns IntEnumberation - * - * Constraint: - * (entry+=INTLiteral entry+=INTLiteral*)? - */ - protected void sequence_IntEnumberation(ISerializationContext context, IntEnumberation semanticObject) { - genericSequencer.createSequence(context, semanticObject); - } - - - /** - * Contexts: - * TypeReference returns IntegerScope - * IntegerReference returns IntegerScope - * - * Constraint: - * {IntegerScope} - */ - protected void sequence_IntegerReference(ISerializationContext context, IntegerScope semanticObject) { - genericSequencer.createSequence(context, semanticObject); - } - - - /** - * Contexts: - * TypeScope returns IntegerTypeScope - * IntegerTypeScope returns IntegerTypeScope - * - * Constraint: - * (type=IntegerReference (setsNew?='+=' | setsSum?='=') (number=ExactNumber | number=IntervallNumber | number=IntEnumberation)) - */ - protected void sequence_IntegerTypeScope(ISerializationContext context, IntegerTypeScope semanticObject) { - genericSequencer.createSequence(context, semanticObject); - } - - - /** - * Contexts: - * NumberSpecification returns IntervallNumber - * IntervallNumber returns IntervallNumber - * - * Constraint: - * (min=INT (maxNumber=INT | maxUnlimited?='*')) - */ - protected void sequence_IntervallNumber(ISerializationContext context, IntervallNumber semanticObject) { - genericSequencer.createSequence(context, semanticObject); - } - - - /** - * Contexts: - * ConfigEntry returns MemoryEntry - * MemoryEntry returns MemoryEntry - * - * Constraint: - * megabyteLimit=INT - */ - protected void sequence_MemoryEntry(ISerializationContext context, MemoryEntry semanticObject) { - if (errorAcceptor != null) { - if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.MEMORY_ENTRY__MEGABYTE_LIMIT) == ValueTransient.YES) - errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.MEMORY_ENTRY__MEGABYTE_LIMIT)); - } - SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); - feeder.accept(grammarAccess.getMemoryEntryAccess().getMegabyteLimitINTTerminalRuleCall_2_0(), semanticObject.getMegabyteLimit()); - feeder.finish(); - } - - - /** - * Contexts: - * Command returns MetamodelDeclaration - * Declaration returns MetamodelDeclaration - * MetamodelDeclaration returns MetamodelDeclaration - * - * Constraint: - * (name=ID specification=MetamodelSpecification) - */ - protected void sequence_MetamodelDeclaration(ISerializationContext context, MetamodelDeclaration semanticObject) { - if (errorAcceptor != null) { - if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.DECLARATION__NAME) == ValueTransient.YES) - errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.DECLARATION__NAME)); - if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.METAMODEL_DECLARATION__SPECIFICATION) == ValueTransient.YES) - errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.METAMODEL_DECLARATION__SPECIFICATION)); - } - SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); - feeder.accept(grammarAccess.getMetamodelDeclarationAccess().getNameIDTerminalRuleCall_1_0(), semanticObject.getName()); - feeder.accept(grammarAccess.getMetamodelDeclarationAccess().getSpecificationMetamodelSpecificationParserRuleCall_2_0(), semanticObject.getSpecification()); - feeder.finish(); - } - - - /** - * Contexts: - * MetamodelEntry returns MetamodelElement - * MetamodelElement returns MetamodelElement - * - * Constraint: - * (package=[EPackage|QualifiedName]? classifier=[EClassifier|ID] feature=[ENamedElement|ID]?) - */ - protected void sequence_MetamodelElement(ISerializationContext context, MetamodelElement semanticObject) { - genericSequencer.createSequence(context, semanticObject); - } - - - /** - * Contexts: - * MetamodelReference returns MetamodelReference - * Metamodel returns MetamodelReference - * - * Constraint: - * referred=[MetamodelDeclaration|ID] - */ - protected void sequence_MetamodelReference(ISerializationContext context, MetamodelReference semanticObject) { - if (errorAcceptor != null) { - if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.METAMODEL_REFERENCE__REFERRED) == ValueTransient.YES) - errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.METAMODEL_REFERENCE__REFERRED)); - } - SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); - feeder.accept(grammarAccess.getMetamodelReferenceAccess().getReferredMetamodelDeclarationIDTerminalRuleCall_0_1(), semanticObject.eGet(ApplicationConfigurationPackage.Literals.METAMODEL_REFERENCE__REFERRED, false)); - feeder.finish(); - } - - - /** - * Contexts: - * MetamodelSpecification returns MetamodelSpecification - * Metamodel returns MetamodelSpecification - * - * Constraint: - * (entries+=MetamodelEntry entries+=MetamodelEntry*) - */ - protected void sequence_MetamodelSpecification(ISerializationContext context, MetamodelSpecification semanticObject) { - genericSequencer.createSequence(context, semanticObject); - } - - - /** - * Contexts: - * PartialModelEntry returns ModelEntry - * ModelEntry returns ModelEntry - * - * Constraint: - * path=File - */ - protected void sequence_ModelEntry(ISerializationContext context, ModelEntry semanticObject) { - if (errorAcceptor != null) { - if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.PARTIAL_MODEL_ENTRY__PATH) == ValueTransient.YES) - errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.PARTIAL_MODEL_ENTRY__PATH)); - } - SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); - feeder.accept(grammarAccess.getModelEntryAccess().getPathFileParserRuleCall_0(), semanticObject.getPath()); - feeder.finish(); - } - - - /** - * Contexts: - * TypeReference returns ObjectReference - * ObjectReference returns ObjectReference - * - * Constraint: - * {ObjectReference} - */ - protected void sequence_ObjectReference(ISerializationContext context, ObjectReference semanticObject) { - genericSequencer.createSequence(context, semanticObject); - } - - - /** - * Contexts: - * TypeScope returns ObjectTypeScope - * ObjectTypeScope returns ObjectTypeScope - * - * Constraint: - * (type=ObjectReference (setsNew?='+=' | setsSum?='=') (number=ExactNumber | number=IntervallNumber)) - */ - protected void sequence_ObjectTypeScope(ISerializationContext context, ObjectTypeScope semanticObject) { - genericSequencer.createSequence(context, semanticObject); - } - - - /** - * Contexts: - * Command returns PartialModelDeclaration - * Declaration returns PartialModelDeclaration - * PartialModelDeclaration returns PartialModelDeclaration - * - * Constraint: - * (name=ID specification=PartialModelSpecification) - */ - protected void sequence_PartialModelDeclaration(ISerializationContext context, PartialModelDeclaration semanticObject) { - if (errorAcceptor != null) { - if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.DECLARATION__NAME) == ValueTransient.YES) - errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.DECLARATION__NAME)); - if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.PARTIAL_MODEL_DECLARATION__SPECIFICATION) == ValueTransient.YES) - errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.PARTIAL_MODEL_DECLARATION__SPECIFICATION)); - } - SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); - feeder.accept(grammarAccess.getPartialModelDeclarationAccess().getNameIDTerminalRuleCall_1_0(), semanticObject.getName()); - feeder.accept(grammarAccess.getPartialModelDeclarationAccess().getSpecificationPartialModelSpecificationParserRuleCall_2_0(), semanticObject.getSpecification()); - feeder.finish(); - } - - - /** - * Contexts: - * PartialModelReference returns PartialModelReference - * PartialModel returns PartialModelReference - * - * Constraint: - * referred=[PartialModelDeclaration|ID] - */ - protected void sequence_PartialModelReference(ISerializationContext context, PartialModelReference semanticObject) { - if (errorAcceptor != null) { - if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.PARTIAL_MODEL_REFERENCE__REFERRED) == ValueTransient.YES) - errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.PARTIAL_MODEL_REFERENCE__REFERRED)); - } - SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); - feeder.accept(grammarAccess.getPartialModelReferenceAccess().getReferredPartialModelDeclarationIDTerminalRuleCall_0_1(), semanticObject.eGet(ApplicationConfigurationPackage.Literals.PARTIAL_MODEL_REFERENCE__REFERRED, false)); - feeder.finish(); - } - - - /** - * Contexts: - * PartialModelSpecification returns PartialModelSpecification - * PartialModel returns PartialModelSpecification - * - * Constraint: - * (entry+=PartialModelEntry entry+=PartialModelEntry?) - */ - protected void sequence_PartialModelSpecification(ISerializationContext context, PartialModelSpecification semanticObject) { - genericSequencer.createSequence(context, semanticObject); - } - - - /** - * Contexts: - * PatternEntry returns PatternElement - * PatternElement returns PatternElement - * - * Constraint: - * (package=[PatternModel|QualifiedName]? pattern=[Pattern|ID]) - */ - protected void sequence_PatternElement(ISerializationContext context, PatternElement semanticObject) { - genericSequencer.createSequence(context, semanticObject); - } - - - /** - * Contexts: - * PatternSpecification returns PatternSpecification - * GraphPattern returns PatternSpecification - * - * Constraint: - * (entries+=PatternEntry entries+=PatternEntry*) - */ - protected void sequence_PatternSpecification(ISerializationContext context, PatternSpecification semanticObject) { - genericSequencer.createSequence(context, semanticObject); - } - - - /** - * Contexts: - * NumberSpecification returns RealEnumeration - * RealEnumeration returns RealEnumeration - * - * Constraint: - * (entry+=REALLiteral entry+=REALLiteral*)? - */ - protected void sequence_RealEnumeration(ISerializationContext context, RealEnumeration semanticObject) { - genericSequencer.createSequence(context, semanticObject); - } - - - /** - * Contexts: - * TypeReference returns RealScope - * RealReference returns RealScope - * - * Constraint: - * {RealScope} - */ - protected void sequence_RealReference(ISerializationContext context, RealScope semanticObject) { - genericSequencer.createSequence(context, semanticObject); - } - - - /** - * Contexts: - * TypeScope returns RealTypeScope - * RealTypeScope returns RealTypeScope - * - * Constraint: - * (type=RealReference (setsNew?='+=' | setsSum?='=') (number=ExactNumber | number=IntervallNumber | number=RealEnumeration)) - */ - protected void sequence_RealTypeScope(ISerializationContext context, RealTypeScope semanticObject) { - genericSequencer.createSequence(context, semanticObject); - } - - - /** - * Contexts: - * ConfigEntry returns RuntimeEntry - * RuntimeEntry returns RuntimeEntry - * - * Constraint: - * millisecLimit=INT - */ - protected void sequence_RuntimeEntry(ISerializationContext context, RuntimeEntry semanticObject) { - if (errorAcceptor != null) { - if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.RUNTIME_ENTRY__MILLISEC_LIMIT) == ValueTransient.YES) - errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.RUNTIME_ENTRY__MILLISEC_LIMIT)); - } - SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); - feeder.accept(grammarAccess.getRuntimeEntryAccess().getMillisecLimitINTTerminalRuleCall_2_0(), semanticObject.getMillisecLimit()); - feeder.finish(); - } - - - /** - * Contexts: - * Command returns ScopeDeclaration - * Declaration returns ScopeDeclaration - * ScopeDeclaration returns ScopeDeclaration - * - * Constraint: - * (name=ID specification=ScopeSpecification) - */ - protected void sequence_ScopeDeclaration(ISerializationContext context, ScopeDeclaration semanticObject) { - if (errorAcceptor != null) { - if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.DECLARATION__NAME) == ValueTransient.YES) - errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.DECLARATION__NAME)); - if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.SCOPE_DECLARATION__SPECIFICATION) == ValueTransient.YES) - errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.SCOPE_DECLARATION__SPECIFICATION)); - } - SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); - feeder.accept(grammarAccess.getScopeDeclarationAccess().getNameIDTerminalRuleCall_1_0(), semanticObject.getName()); - feeder.accept(grammarAccess.getScopeDeclarationAccess().getSpecificationScopeSpecificationParserRuleCall_2_0(), semanticObject.getSpecification()); - feeder.finish(); - } - - - /** - * Contexts: - * ScopeReference returns ScopeReference - * Scope returns ScopeReference - * - * Constraint: - * referred=[ScopeDeclaration|ID] - */ - protected void sequence_ScopeReference(ISerializationContext context, ScopeReference semanticObject) { - if (errorAcceptor != null) { - if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.SCOPE_REFERENCE__REFERRED) == ValueTransient.YES) - errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.SCOPE_REFERENCE__REFERRED)); - } - SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); - feeder.accept(grammarAccess.getScopeReferenceAccess().getReferredScopeDeclarationIDTerminalRuleCall_0_1(), semanticObject.eGet(ApplicationConfigurationPackage.Literals.SCOPE_REFERENCE__REFERRED, false)); - feeder.finish(); - } - - - /** - * Contexts: - * ScopeSpecification returns ScopeSpecification - * Scope returns ScopeSpecification - * - * Constraint: - * (scopes+=TypeScope scopes+=TypeScope*)? - */ - protected void sequence_ScopeSpecification(ISerializationContext context, ScopeSpecification semanticObject) { - genericSequencer.createSequence(context, semanticObject); - } - - - /** - * Contexts: - * NumberSpecification returns StringEnumeration - * StringEnumeration returns StringEnumeration - * - * Constraint: - * (entry+=STRING entry+=STRING*)? - */ - protected void sequence_StringEnumeration(ISerializationContext context, StringEnumeration semanticObject) { - genericSequencer.createSequence(context, semanticObject); - } - - - /** - * Contexts: - * TypeReference returns StringScope - * StringReference returns StringScope - * - * Constraint: - * {StringScope} - */ - protected void sequence_StringReference(ISerializationContext context, StringScope semanticObject) { - genericSequencer.createSequence(context, semanticObject); - } - - - /** - * Contexts: - * TypeScope returns StringTypeScope - * StringTypeScope returns StringTypeScope - * - * Constraint: - * (type=StringReference (setsNew?='+=' | setsSum?='=') (number=ExactNumber | number=IntervallNumber | number=StringEnumeration)) - */ - protected void sequence_StringTypeScope(ISerializationContext context, StringTypeScope semanticObject) { - genericSequencer.createSequence(context, semanticObject); - } - - - /** - * Contexts: - * Import returns ViatraImport - * ViatraImport returns ViatraImport - * - * Constraint: - * importedViatra=[PatternModel|STRING] - */ - protected void sequence_ViatraImport(ISerializationContext context, ViatraImport semanticObject) { - if (errorAcceptor != null) { - if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.VIATRA_IMPORT__IMPORTED_VIATRA) == ValueTransient.YES) - errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.VIATRA_IMPORT__IMPORTED_VIATRA)); - } - SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); - feeder.accept(grammarAccess.getViatraImportAccess().getImportedViatraPatternModelSTRINGTerminalRuleCall_2_0_1(), semanticObject.eGet(ApplicationConfigurationPackage.Literals.VIATRA_IMPORT__IMPORTED_VIATRA, false)); - feeder.finish(); - } - - -} +/* + * generated by Xtext 2.16.0 + */ +package hu.bme.mit.inf.dslreasoner.application.serializer; + +import com.google.inject.Inject; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.AllPackageEntry; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.AllPatternEntry; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.CftImport; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ClassReference; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ClassTypeScope; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigDeclaration; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigReference; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigSpecification; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigurationScript; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.CustomEntry; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.DocumentationEntry; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.EPackageImport; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ExactNumber; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.FileDeclaration; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.FileReference; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.FileSpecification; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.FolderEntry; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GraphPatternDeclaration; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GraphPatternReference; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntEnumberation; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntegerScope; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntegerTypeScope; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntervallNumber; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MemoryEntry; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelDeclaration; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelElement; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelReference; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelSpecification; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ModelEntry; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ObjectReference; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ObjectTypeScope; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ObjectiveDeclaration; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ObjectiveReference; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ObjectiveSpecification; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.OptimizationEntry; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModelDeclaration; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModelReference; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModelSpecification; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PatternElement; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PatternSpecification; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RealEnumeration; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RealScope; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RealTypeScope; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ReliabiltiyFunction; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RuntimeEntry; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ScopeDeclaration; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ScopeReference; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ScopeSpecification; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.StringEnumeration; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.StringScope; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.StringTypeScope; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ThresholdEntry; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ViatraImport; +import hu.bme.mit.inf.dslreasoner.application.services.ApplicationConfigurationGrammarAccess; +import java.util.Set; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.EPackage; +import org.eclipse.xtext.Action; +import org.eclipse.xtext.Parameter; +import org.eclipse.xtext.ParserRule; +import org.eclipse.xtext.serializer.ISerializationContext; +import org.eclipse.xtext.serializer.acceptor.SequenceFeeder; +import org.eclipse.xtext.serializer.sequencer.AbstractDelegatingSemanticSequencer; +import org.eclipse.xtext.serializer.sequencer.ITransientValueService.ValueTransient; + +@SuppressWarnings("all") +public class ApplicationConfigurationSemanticSequencer extends AbstractDelegatingSemanticSequencer { + + @Inject + private ApplicationConfigurationGrammarAccess grammarAccess; + + @Override + public void sequence(ISerializationContext context, EObject semanticObject) { + EPackage epackage = semanticObject.eClass().getEPackage(); + ParserRule rule = context.getParserRule(); + Action action = context.getAssignedAction(); + Set parameters = context.getEnabledBooleanParameters(); + if (epackage == ApplicationConfigurationPackage.eINSTANCE) + switch (semanticObject.eClass().getClassifierID()) { + case ApplicationConfigurationPackage.ALL_PACKAGE_ENTRY: + sequence_AllPackageEntry(context, (AllPackageEntry) semanticObject); + return; + case ApplicationConfigurationPackage.ALL_PATTERN_ENTRY: + sequence_AllPatternEntry(context, (AllPatternEntry) semanticObject); + return; + case ApplicationConfigurationPackage.CFT_IMPORT: + sequence_CftImport(context, (CftImport) semanticObject); + return; + case ApplicationConfigurationPackage.CLASS_REFERENCE: + sequence_ClassReference(context, (ClassReference) semanticObject); + return; + case ApplicationConfigurationPackage.CLASS_TYPE_SCOPE: + sequence_ClassTypeScope(context, (ClassTypeScope) semanticObject); + return; + case ApplicationConfigurationPackage.CONFIG_DECLARATION: + sequence_ConfigDeclaration(context, (ConfigDeclaration) semanticObject); + return; + case ApplicationConfigurationPackage.CONFIG_REFERENCE: + sequence_ConfigReference(context, (ConfigReference) semanticObject); + return; + case ApplicationConfigurationPackage.CONFIG_SPECIFICATION: + sequence_ConfigSpecification(context, (ConfigSpecification) semanticObject); + return; + case ApplicationConfigurationPackage.CONFIGURATION_SCRIPT: + sequence_ConfigurationScript(context, (ConfigurationScript) semanticObject); + return; + case ApplicationConfigurationPackage.CUSTOM_ENTRY: + sequence_CustomEntry(context, (CustomEntry) semanticObject); + return; + case ApplicationConfigurationPackage.DOCUMENTATION_ENTRY: + sequence_DocumentationEntry(context, (DocumentationEntry) semanticObject); + return; + case ApplicationConfigurationPackage.EPACKAGE_IMPORT: + sequence_EPackageImport(context, (EPackageImport) semanticObject); + return; + case ApplicationConfigurationPackage.EXACT_NUMBER: + sequence_ExactNumber(context, (ExactNumber) semanticObject); + return; + case ApplicationConfigurationPackage.FILE_DECLARATION: + sequence_FileDeclaration(context, (FileDeclaration) semanticObject); + return; + case ApplicationConfigurationPackage.FILE_REFERENCE: + sequence_FileReference(context, (FileReference) semanticObject); + return; + case ApplicationConfigurationPackage.FILE_SPECIFICATION: + sequence_FileSpecification(context, (FileSpecification) semanticObject); + return; + case ApplicationConfigurationPackage.FOLDER_ENTRY: + sequence_FolderEntry(context, (FolderEntry) semanticObject); + return; + case ApplicationConfigurationPackage.GENERATION_TASK: + sequence_GenerationTask(context, (GenerationTask) semanticObject); + return; + case ApplicationConfigurationPackage.GRAPH_PATTERN_DECLARATION: + sequence_GraphPatternDeclaration(context, (GraphPatternDeclaration) semanticObject); + return; + case ApplicationConfigurationPackage.GRAPH_PATTERN_REFERENCE: + sequence_GraphPatternReference(context, (GraphPatternReference) semanticObject); + return; + case ApplicationConfigurationPackage.INT_ENUMBERATION: + sequence_IntEnumberation(context, (IntEnumberation) semanticObject); + return; + case ApplicationConfigurationPackage.INTEGER_SCOPE: + sequence_IntegerReference(context, (IntegerScope) semanticObject); + return; + case ApplicationConfigurationPackage.INTEGER_TYPE_SCOPE: + sequence_IntegerTypeScope(context, (IntegerTypeScope) semanticObject); + return; + case ApplicationConfigurationPackage.INTERVALL_NUMBER: + sequence_IntervallNumber(context, (IntervallNumber) semanticObject); + return; + case ApplicationConfigurationPackage.MEMORY_ENTRY: + sequence_MemoryEntry(context, (MemoryEntry) semanticObject); + return; + case ApplicationConfigurationPackage.METAMODEL_DECLARATION: + sequence_MetamodelDeclaration(context, (MetamodelDeclaration) semanticObject); + return; + case ApplicationConfigurationPackage.METAMODEL_ELEMENT: + sequence_MetamodelElement(context, (MetamodelElement) semanticObject); + return; + case ApplicationConfigurationPackage.METAMODEL_REFERENCE: + sequence_MetamodelReference(context, (MetamodelReference) semanticObject); + return; + case ApplicationConfigurationPackage.METAMODEL_SPECIFICATION: + sequence_MetamodelSpecification(context, (MetamodelSpecification) semanticObject); + return; + case ApplicationConfigurationPackage.MODEL_ENTRY: + sequence_ModelEntry(context, (ModelEntry) semanticObject); + return; + case ApplicationConfigurationPackage.OBJECT_REFERENCE: + sequence_ObjectReference(context, (ObjectReference) semanticObject); + return; + case ApplicationConfigurationPackage.OBJECT_TYPE_SCOPE: + sequence_ObjectTypeScope(context, (ObjectTypeScope) semanticObject); + return; + case ApplicationConfigurationPackage.OBJECTIVE_DECLARATION: + sequence_ObjectiveDeclaration(context, (ObjectiveDeclaration) semanticObject); + return; + case ApplicationConfigurationPackage.OBJECTIVE_REFERENCE: + sequence_ObjectiveReference(context, (ObjectiveReference) semanticObject); + return; + case ApplicationConfigurationPackage.OBJECTIVE_SPECIFICATION: + sequence_ObjectiveSpecification(context, (ObjectiveSpecification) semanticObject); + return; + case ApplicationConfigurationPackage.OPTIMIZATION_ENTRY: + sequence_OptimizationEntry(context, (OptimizationEntry) semanticObject); + return; + case ApplicationConfigurationPackage.PARTIAL_MODEL_DECLARATION: + sequence_PartialModelDeclaration(context, (PartialModelDeclaration) semanticObject); + return; + case ApplicationConfigurationPackage.PARTIAL_MODEL_REFERENCE: + sequence_PartialModelReference(context, (PartialModelReference) semanticObject); + return; + case ApplicationConfigurationPackage.PARTIAL_MODEL_SPECIFICATION: + sequence_PartialModelSpecification(context, (PartialModelSpecification) semanticObject); + return; + case ApplicationConfigurationPackage.PATTERN_ELEMENT: + sequence_PatternElement(context, (PatternElement) semanticObject); + return; + case ApplicationConfigurationPackage.PATTERN_SPECIFICATION: + sequence_PatternSpecification(context, (PatternSpecification) semanticObject); + return; + case ApplicationConfigurationPackage.REAL_ENUMERATION: + sequence_RealEnumeration(context, (RealEnumeration) semanticObject); + return; + case ApplicationConfigurationPackage.REAL_SCOPE: + sequence_RealReference(context, (RealScope) semanticObject); + return; + case ApplicationConfigurationPackage.REAL_TYPE_SCOPE: + sequence_RealTypeScope(context, (RealTypeScope) semanticObject); + return; + case ApplicationConfigurationPackage.RELIABILTIY_FUNCTION: + sequence_ReliabiltiyFunction(context, (ReliabiltiyFunction) semanticObject); + return; + case ApplicationConfigurationPackage.RUNTIME_ENTRY: + sequence_RuntimeEntry(context, (RuntimeEntry) semanticObject); + return; + case ApplicationConfigurationPackage.SCOPE_DECLARATION: + sequence_ScopeDeclaration(context, (ScopeDeclaration) semanticObject); + return; + case ApplicationConfigurationPackage.SCOPE_REFERENCE: + sequence_ScopeReference(context, (ScopeReference) semanticObject); + return; + case ApplicationConfigurationPackage.SCOPE_SPECIFICATION: + sequence_ScopeSpecification(context, (ScopeSpecification) semanticObject); + return; + case ApplicationConfigurationPackage.STRING_ENUMERATION: + sequence_StringEnumeration(context, (StringEnumeration) semanticObject); + return; + case ApplicationConfigurationPackage.STRING_SCOPE: + sequence_StringReference(context, (StringScope) semanticObject); + return; + case ApplicationConfigurationPackage.STRING_TYPE_SCOPE: + sequence_StringTypeScope(context, (StringTypeScope) semanticObject); + return; + case ApplicationConfigurationPackage.THRESHOLD_ENTRY: + sequence_ThresholdEntry(context, (ThresholdEntry) semanticObject); + return; + case ApplicationConfigurationPackage.VIATRA_IMPORT: + sequence_ViatraImport(context, (ViatraImport) semanticObject); + return; + } + if (errorAcceptor != null) + errorAcceptor.accept(diagnosticProvider.createInvalidContextOrTypeDiagnostic(semanticObject, context)); + } + + /** + * Contexts: + * MetamodelEntry returns AllPackageEntry + * AllPackageEntry returns AllPackageEntry + * + * Constraint: + * (package=[EPackage|QualifiedName] (exclusion+=MetamodelElement exclusion+=MetamodelElement*)?) + */ + protected void sequence_AllPackageEntry(ISerializationContext context, AllPackageEntry semanticObject) { + genericSequencer.createSequence(context, semanticObject); + } + + + /** + * Contexts: + * PatternEntry returns AllPatternEntry + * AllPatternEntry returns AllPatternEntry + * + * Constraint: + * (package=[PatternModel|QualifiedName] (exclusuion+=PatternElement exclusuion+=PatternElement*)?) + */ + protected void sequence_AllPatternEntry(ISerializationContext context, AllPatternEntry semanticObject) { + genericSequencer.createSequence(context, semanticObject); + } + + + /** + * Contexts: + * Import returns CftImport + * CftImport returns CftImport + * + * Constraint: + * importedCft=[CftModel|STRING] + */ + protected void sequence_CftImport(ISerializationContext context, CftImport semanticObject) { + if (errorAcceptor != null) { + if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.CFT_IMPORT__IMPORTED_CFT) == ValueTransient.YES) + errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.CFT_IMPORT__IMPORTED_CFT)); + } + SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); + feeder.accept(grammarAccess.getCftImportAccess().getImportedCftCftModelSTRINGTerminalRuleCall_2_0_1(), semanticObject.eGet(ApplicationConfigurationPackage.Literals.CFT_IMPORT__IMPORTED_CFT, false)); + feeder.finish(); + } + + + /** + * Contexts: + * TypeReference returns ClassReference + * ClassReference returns ClassReference + * + * Constraint: + * element=MetamodelElement + */ + protected void sequence_ClassReference(ISerializationContext context, ClassReference semanticObject) { + if (errorAcceptor != null) { + if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.CLASS_REFERENCE__ELEMENT) == ValueTransient.YES) + errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.CLASS_REFERENCE__ELEMENT)); + } + SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); + feeder.accept(grammarAccess.getClassReferenceAccess().getElementMetamodelElementParserRuleCall_1_0(), semanticObject.getElement()); + feeder.finish(); + } + + + /** + * Contexts: + * TypeScope returns ClassTypeScope + * ClassTypeScope returns ClassTypeScope + * + * Constraint: + * (type=ClassReference (setsNew?='+=' | setsSum?='=') (number=ExactNumber | number=IntervallNumber)) + */ + protected void sequence_ClassTypeScope(ISerializationContext context, ClassTypeScope semanticObject) { + genericSequencer.createSequence(context, semanticObject); + } + + + /** + * Contexts: + * Command returns ConfigDeclaration + * Declaration returns ConfigDeclaration + * ConfigDeclaration returns ConfigDeclaration + * + * Constraint: + * (name=ID specification=ConfigSpecification) + */ + protected void sequence_ConfigDeclaration(ISerializationContext context, ConfigDeclaration semanticObject) { + if (errorAcceptor != null) { + if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.DECLARATION__NAME) == ValueTransient.YES) + errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.DECLARATION__NAME)); + if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.CONFIG_DECLARATION__SPECIFICATION) == ValueTransient.YES) + errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.CONFIG_DECLARATION__SPECIFICATION)); + } + SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); + feeder.accept(grammarAccess.getConfigDeclarationAccess().getNameIDTerminalRuleCall_1_0(), semanticObject.getName()); + feeder.accept(grammarAccess.getConfigDeclarationAccess().getSpecificationConfigSpecificationParserRuleCall_2_0(), semanticObject.getSpecification()); + feeder.finish(); + } + + + /** + * Contexts: + * ConfigReference returns ConfigReference + * Config returns ConfigReference + * + * Constraint: + * config=[ConfigDeclaration|ID] + */ + protected void sequence_ConfigReference(ISerializationContext context, ConfigReference semanticObject) { + if (errorAcceptor != null) { + if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.CONFIG_REFERENCE__CONFIG) == ValueTransient.YES) + errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.CONFIG_REFERENCE__CONFIG)); + } + SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); + feeder.accept(grammarAccess.getConfigReferenceAccess().getConfigConfigDeclarationIDTerminalRuleCall_0_1(), semanticObject.eGet(ApplicationConfigurationPackage.Literals.CONFIG_REFERENCE__CONFIG, false)); + feeder.finish(); + } + + + /** + * Contexts: + * ConfigSpecification returns ConfigSpecification + * Config returns ConfigSpecification + * + * Constraint: + * (entries+=ConfigEntry entries+=ConfigEntry*)? + */ + protected void sequence_ConfigSpecification(ISerializationContext context, ConfigSpecification semanticObject) { + genericSequencer.createSequence(context, semanticObject); + } + + + /** + * Contexts: + * ConfigurationScript returns ConfigurationScript + * + * Constraint: + * ((imports+=Import+ commands+=Command+) | commands+=Command+)? + */ + protected void sequence_ConfigurationScript(ISerializationContext context, ConfigurationScript semanticObject) { + genericSequencer.createSequence(context, semanticObject); + } + + + /** + * Contexts: + * ConfigEntry returns CustomEntry + * CustomEntry returns CustomEntry + * + * Constraint: + * (key=STRING value=STRING) + */ + protected void sequence_CustomEntry(ISerializationContext context, CustomEntry semanticObject) { + if (errorAcceptor != null) { + if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.CUSTOM_ENTRY__KEY) == ValueTransient.YES) + errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.CUSTOM_ENTRY__KEY)); + if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.CUSTOM_ENTRY__VALUE) == ValueTransient.YES) + errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.CUSTOM_ENTRY__VALUE)); + } + SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); + feeder.accept(grammarAccess.getCustomEntryAccess().getKeySTRINGTerminalRuleCall_0_0(), semanticObject.getKey()); + feeder.accept(grammarAccess.getCustomEntryAccess().getValueSTRINGTerminalRuleCall_2_0(), semanticObject.getValue()); + feeder.finish(); + } + + + /** + * Contexts: + * ConfigEntry returns DocumentationEntry + * DocumentationEntry returns DocumentationEntry + * + * Constraint: + * level=DocumentLevelSpecification + */ + protected void sequence_DocumentationEntry(ISerializationContext context, DocumentationEntry semanticObject) { + if (errorAcceptor != null) { + if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.DOCUMENTATION_ENTRY__LEVEL) == ValueTransient.YES) + errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.DOCUMENTATION_ENTRY__LEVEL)); + } + SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); + feeder.accept(grammarAccess.getDocumentationEntryAccess().getLevelDocumentLevelSpecificationEnumRuleCall_2_0(), semanticObject.getLevel()); + feeder.finish(); + } + + + /** + * Contexts: + * Import returns EPackageImport + * EPackageImport returns EPackageImport + * + * Constraint: + * importedPackage=[EPackage|STRING] + */ + protected void sequence_EPackageImport(ISerializationContext context, EPackageImport semanticObject) { + if (errorAcceptor != null) { + if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.EPACKAGE_IMPORT__IMPORTED_PACKAGE) == ValueTransient.YES) + errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.EPACKAGE_IMPORT__IMPORTED_PACKAGE)); + } + SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); + feeder.accept(grammarAccess.getEPackageImportAccess().getImportedPackageEPackageSTRINGTerminalRuleCall_2_0_1(), semanticObject.eGet(ApplicationConfigurationPackage.Literals.EPACKAGE_IMPORT__IMPORTED_PACKAGE, false)); + feeder.finish(); + } + + + /** + * Contexts: + * NumberSpecification returns ExactNumber + * ExactNumber returns ExactNumber + * + * Constraint: + * (exactNumber=INT | exactUnlimited?='*') + */ + protected void sequence_ExactNumber(ISerializationContext context, ExactNumber semanticObject) { + genericSequencer.createSequence(context, semanticObject); + } + + + /** + * Contexts: + * Command returns FileDeclaration + * Declaration returns FileDeclaration + * FileDeclaration returns FileDeclaration + * + * Constraint: + * (name=ID specification=FileSpecification) + */ + protected void sequence_FileDeclaration(ISerializationContext context, FileDeclaration semanticObject) { + if (errorAcceptor != null) { + if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.DECLARATION__NAME) == ValueTransient.YES) + errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.DECLARATION__NAME)); + if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.FILE_DECLARATION__SPECIFICATION) == ValueTransient.YES) + errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.FILE_DECLARATION__SPECIFICATION)); + } + SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); + feeder.accept(grammarAccess.getFileDeclarationAccess().getNameIDTerminalRuleCall_1_0(), semanticObject.getName()); + feeder.accept(grammarAccess.getFileDeclarationAccess().getSpecificationFileSpecificationParserRuleCall_3_0(), semanticObject.getSpecification()); + feeder.finish(); + } + + + /** + * Contexts: + * FileReference returns FileReference + * File returns FileReference + * + * Constraint: + * referred=[FileDeclaration|ID] + */ + protected void sequence_FileReference(ISerializationContext context, FileReference semanticObject) { + if (errorAcceptor != null) { + if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.FILE_REFERENCE__REFERRED) == ValueTransient.YES) + errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.FILE_REFERENCE__REFERRED)); + } + SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); + feeder.accept(grammarAccess.getFileReferenceAccess().getReferredFileDeclarationIDTerminalRuleCall_0_1(), semanticObject.eGet(ApplicationConfigurationPackage.Literals.FILE_REFERENCE__REFERRED, false)); + feeder.finish(); + } + + + /** + * Contexts: + * FileSpecification returns FileSpecification + * File returns FileSpecification + * + * Constraint: + * path=STRING + */ + protected void sequence_FileSpecification(ISerializationContext context, FileSpecification semanticObject) { + if (errorAcceptor != null) { + if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.FILE_SPECIFICATION__PATH) == ValueTransient.YES) + errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.FILE_SPECIFICATION__PATH)); + } + SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); + feeder.accept(grammarAccess.getFileSpecificationAccess().getPathSTRINGTerminalRuleCall_0(), semanticObject.getPath()); + feeder.finish(); + } + + + /** + * Contexts: + * PartialModelEntry returns FolderEntry + * FolderEntry returns FolderEntry + * + * Constraint: + * (path=File (exclusion+=ModelEntry exclusion+=ModelEntry*)?) + */ + protected void sequence_FolderEntry(ISerializationContext context, FolderEntry semanticObject) { + genericSequencer.createSequence(context, semanticObject); + } + + + /** + * Contexts: + * Command returns GenerationTask + * Task returns GenerationTask + * GenerationTask returns GenerationTask + * + * Constraint: + * ( + * ( + * metamodel=Metamodel | + * partialModel=PartialModel | + * patterns=GraphPattern | + * objectives=Objective | + * scope=Scope | + * solver=Solver | + * config=Config | + * debugFolder=File | + * targetLogFile=File | + * targetStatisticsFile=File | + * tagetFolder=File + * )? + * (runSpecified?='runs' runs=INT)? + * (numberSpecified?='number' number=INT)? + * )+ + */ + protected void sequence_GenerationTask(ISerializationContext context, GenerationTask semanticObject) { + genericSequencer.createSequence(context, semanticObject); + } + + + /** + * Contexts: + * Command returns GraphPatternDeclaration + * Declaration returns GraphPatternDeclaration + * GraphPatternDeclaration returns GraphPatternDeclaration + * + * Constraint: + * (name=ID specification=PatternSpecification) + */ + protected void sequence_GraphPatternDeclaration(ISerializationContext context, GraphPatternDeclaration semanticObject) { + if (errorAcceptor != null) { + if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.DECLARATION__NAME) == ValueTransient.YES) + errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.DECLARATION__NAME)); + if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.GRAPH_PATTERN_DECLARATION__SPECIFICATION) == ValueTransient.YES) + errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.GRAPH_PATTERN_DECLARATION__SPECIFICATION)); + } + SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); + feeder.accept(grammarAccess.getGraphPatternDeclarationAccess().getNameIDTerminalRuleCall_1_0(), semanticObject.getName()); + feeder.accept(grammarAccess.getGraphPatternDeclarationAccess().getSpecificationPatternSpecificationParserRuleCall_2_0(), semanticObject.getSpecification()); + feeder.finish(); + } + + + /** + * Contexts: + * GraphPatternReference returns GraphPatternReference + * GraphPattern returns GraphPatternReference + * + * Constraint: + * referred=[GraphPatternDeclaration|ID] + */ + protected void sequence_GraphPatternReference(ISerializationContext context, GraphPatternReference semanticObject) { + if (errorAcceptor != null) { + if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.GRAPH_PATTERN_REFERENCE__REFERRED) == ValueTransient.YES) + errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.GRAPH_PATTERN_REFERENCE__REFERRED)); + } + SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); + feeder.accept(grammarAccess.getGraphPatternReferenceAccess().getReferredGraphPatternDeclarationIDTerminalRuleCall_0_1(), semanticObject.eGet(ApplicationConfigurationPackage.Literals.GRAPH_PATTERN_REFERENCE__REFERRED, false)); + feeder.finish(); + } + + + /** + * Contexts: + * NumberSpecification returns IntEnumberation + * IntEnumberation returns IntEnumberation + * + * Constraint: + * (entry+=INTLiteral entry+=INTLiteral*)? + */ + protected void sequence_IntEnumberation(ISerializationContext context, IntEnumberation semanticObject) { + genericSequencer.createSequence(context, semanticObject); + } + + + /** + * Contexts: + * TypeReference returns IntegerScope + * IntegerReference returns IntegerScope + * + * Constraint: + * {IntegerScope} + */ + protected void sequence_IntegerReference(ISerializationContext context, IntegerScope semanticObject) { + genericSequencer.createSequence(context, semanticObject); + } + + + /** + * Contexts: + * TypeScope returns IntegerTypeScope + * IntegerTypeScope returns IntegerTypeScope + * + * Constraint: + * (type=IntegerReference (setsNew?='+=' | setsSum?='=') (number=ExactNumber | number=IntervallNumber | number=IntEnumberation)) + */ + protected void sequence_IntegerTypeScope(ISerializationContext context, IntegerTypeScope semanticObject) { + genericSequencer.createSequence(context, semanticObject); + } + + + /** + * Contexts: + * NumberSpecification returns IntervallNumber + * IntervallNumber returns IntervallNumber + * + * Constraint: + * (min=INT (maxNumber=INT | maxUnlimited?='*')) + */ + protected void sequence_IntervallNumber(ISerializationContext context, IntervallNumber semanticObject) { + genericSequencer.createSequence(context, semanticObject); + } + + + /** + * Contexts: + * ConfigEntry returns MemoryEntry + * MemoryEntry returns MemoryEntry + * + * Constraint: + * megabyteLimit=INT + */ + protected void sequence_MemoryEntry(ISerializationContext context, MemoryEntry semanticObject) { + if (errorAcceptor != null) { + if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.MEMORY_ENTRY__MEGABYTE_LIMIT) == ValueTransient.YES) + errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.MEMORY_ENTRY__MEGABYTE_LIMIT)); + } + SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); + feeder.accept(grammarAccess.getMemoryEntryAccess().getMegabyteLimitINTTerminalRuleCall_2_0(), semanticObject.getMegabyteLimit()); + feeder.finish(); + } + + + /** + * Contexts: + * Command returns MetamodelDeclaration + * Declaration returns MetamodelDeclaration + * MetamodelDeclaration returns MetamodelDeclaration + * + * Constraint: + * (name=ID specification=MetamodelSpecification) + */ + protected void sequence_MetamodelDeclaration(ISerializationContext context, MetamodelDeclaration semanticObject) { + if (errorAcceptor != null) { + if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.DECLARATION__NAME) == ValueTransient.YES) + errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.DECLARATION__NAME)); + if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.METAMODEL_DECLARATION__SPECIFICATION) == ValueTransient.YES) + errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.METAMODEL_DECLARATION__SPECIFICATION)); + } + SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); + feeder.accept(grammarAccess.getMetamodelDeclarationAccess().getNameIDTerminalRuleCall_1_0(), semanticObject.getName()); + feeder.accept(grammarAccess.getMetamodelDeclarationAccess().getSpecificationMetamodelSpecificationParserRuleCall_2_0(), semanticObject.getSpecification()); + feeder.finish(); + } + + + /** + * Contexts: + * MetamodelEntry returns MetamodelElement + * MetamodelElement returns MetamodelElement + * + * Constraint: + * (package=[EPackage|QualifiedName]? classifier=[EClassifier|ID] feature=[ENamedElement|ID]?) + */ + protected void sequence_MetamodelElement(ISerializationContext context, MetamodelElement semanticObject) { + genericSequencer.createSequence(context, semanticObject); + } + + + /** + * Contexts: + * MetamodelReference returns MetamodelReference + * Metamodel returns MetamodelReference + * + * Constraint: + * referred=[MetamodelDeclaration|ID] + */ + protected void sequence_MetamodelReference(ISerializationContext context, MetamodelReference semanticObject) { + if (errorAcceptor != null) { + if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.METAMODEL_REFERENCE__REFERRED) == ValueTransient.YES) + errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.METAMODEL_REFERENCE__REFERRED)); + } + SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); + feeder.accept(grammarAccess.getMetamodelReferenceAccess().getReferredMetamodelDeclarationIDTerminalRuleCall_0_1(), semanticObject.eGet(ApplicationConfigurationPackage.Literals.METAMODEL_REFERENCE__REFERRED, false)); + feeder.finish(); + } + + + /** + * Contexts: + * MetamodelSpecification returns MetamodelSpecification + * Metamodel returns MetamodelSpecification + * + * Constraint: + * (entries+=MetamodelEntry entries+=MetamodelEntry*) + */ + protected void sequence_MetamodelSpecification(ISerializationContext context, MetamodelSpecification semanticObject) { + genericSequencer.createSequence(context, semanticObject); + } + + + /** + * Contexts: + * PartialModelEntry returns ModelEntry + * ModelEntry returns ModelEntry + * + * Constraint: + * path=File + */ + protected void sequence_ModelEntry(ISerializationContext context, ModelEntry semanticObject) { + if (errorAcceptor != null) { + if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.PARTIAL_MODEL_ENTRY__PATH) == ValueTransient.YES) + errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.PARTIAL_MODEL_ENTRY__PATH)); + } + SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); + feeder.accept(grammarAccess.getModelEntryAccess().getPathFileParserRuleCall_0(), semanticObject.getPath()); + feeder.finish(); + } + + + /** + * Contexts: + * TypeReference returns ObjectReference + * ObjectReference returns ObjectReference + * + * Constraint: + * {ObjectReference} + */ + protected void sequence_ObjectReference(ISerializationContext context, ObjectReference semanticObject) { + genericSequencer.createSequence(context, semanticObject); + } + + + /** + * Contexts: + * TypeScope returns ObjectTypeScope + * ObjectTypeScope returns ObjectTypeScope + * + * Constraint: + * (type=ObjectReference (setsNew?='+=' | setsSum?='=') (number=ExactNumber | number=IntervallNumber)) + */ + protected void sequence_ObjectTypeScope(ISerializationContext context, ObjectTypeScope semanticObject) { + genericSequencer.createSequence(context, semanticObject); + } + + + /** + * Contexts: + * Command returns ObjectiveDeclaration + * Declaration returns ObjectiveDeclaration + * ObjectiveDeclaration returns ObjectiveDeclaration + * + * Constraint: + * (name=ID specification=ObjectiveSpecification) + */ + protected void sequence_ObjectiveDeclaration(ISerializationContext context, ObjectiveDeclaration semanticObject) { + if (errorAcceptor != null) { + if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.DECLARATION__NAME) == ValueTransient.YES) + errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.DECLARATION__NAME)); + if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.OBJECTIVE_DECLARATION__SPECIFICATION) == ValueTransient.YES) + errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.OBJECTIVE_DECLARATION__SPECIFICATION)); + } + SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); + feeder.accept(grammarAccess.getObjectiveDeclarationAccess().getNameIDTerminalRuleCall_1_0(), semanticObject.getName()); + feeder.accept(grammarAccess.getObjectiveDeclarationAccess().getSpecificationObjectiveSpecificationParserRuleCall_2_0(), semanticObject.getSpecification()); + feeder.finish(); + } + + + /** + * Contexts: + * ObjectiveReference returns ObjectiveReference + * Objective returns ObjectiveReference + * + * Constraint: + * referred=[ObjectiveDeclaration|ID] + */ + protected void sequence_ObjectiveReference(ISerializationContext context, ObjectiveReference semanticObject) { + if (errorAcceptor != null) { + if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.OBJECTIVE_REFERENCE__REFERRED) == ValueTransient.YES) + errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.OBJECTIVE_REFERENCE__REFERRED)); + } + SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); + feeder.accept(grammarAccess.getObjectiveReferenceAccess().getReferredObjectiveDeclarationIDTerminalRuleCall_0_1(), semanticObject.eGet(ApplicationConfigurationPackage.Literals.OBJECTIVE_REFERENCE__REFERRED, false)); + feeder.finish(); + } + + + /** + * Contexts: + * ObjectiveSpecification returns ObjectiveSpecification + * Objective returns ObjectiveSpecification + * + * Constraint: + * (entries+=ObjectiveEntry entries+=ObjectiveEntry*) + */ + protected void sequence_ObjectiveSpecification(ISerializationContext context, ObjectiveSpecification semanticObject) { + genericSequencer.createSequence(context, semanticObject); + } + + + /** + * Contexts: + * ObjectiveEntry returns OptimizationEntry + * OptimizationEntry returns OptimizationEntry + * + * Constraint: + * (direction=OptimizationDirection function=ObjectiveFunction) + */ + protected void sequence_OptimizationEntry(ISerializationContext context, OptimizationEntry semanticObject) { + if (errorAcceptor != null) { + if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.OPTIMIZATION_ENTRY__DIRECTION) == ValueTransient.YES) + errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.OPTIMIZATION_ENTRY__DIRECTION)); + if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.OBJECTIVE_ENTRY__FUNCTION) == ValueTransient.YES) + errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.OBJECTIVE_ENTRY__FUNCTION)); + } + SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); + feeder.accept(grammarAccess.getOptimizationEntryAccess().getDirectionOptimizationDirectionEnumRuleCall_0_0(), semanticObject.getDirection()); + feeder.accept(grammarAccess.getOptimizationEntryAccess().getFunctionObjectiveFunctionParserRuleCall_1_0(), semanticObject.getFunction()); + feeder.finish(); + } + + + /** + * Contexts: + * Command returns PartialModelDeclaration + * Declaration returns PartialModelDeclaration + * PartialModelDeclaration returns PartialModelDeclaration + * + * Constraint: + * (name=ID specification=PartialModelSpecification) + */ + protected void sequence_PartialModelDeclaration(ISerializationContext context, PartialModelDeclaration semanticObject) { + if (errorAcceptor != null) { + if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.DECLARATION__NAME) == ValueTransient.YES) + errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.DECLARATION__NAME)); + if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.PARTIAL_MODEL_DECLARATION__SPECIFICATION) == ValueTransient.YES) + errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.PARTIAL_MODEL_DECLARATION__SPECIFICATION)); + } + SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); + feeder.accept(grammarAccess.getPartialModelDeclarationAccess().getNameIDTerminalRuleCall_1_0(), semanticObject.getName()); + feeder.accept(grammarAccess.getPartialModelDeclarationAccess().getSpecificationPartialModelSpecificationParserRuleCall_2_0(), semanticObject.getSpecification()); + feeder.finish(); + } + + + /** + * Contexts: + * PartialModelReference returns PartialModelReference + * PartialModel returns PartialModelReference + * + * Constraint: + * referred=[PartialModelDeclaration|ID] + */ + protected void sequence_PartialModelReference(ISerializationContext context, PartialModelReference semanticObject) { + if (errorAcceptor != null) { + if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.PARTIAL_MODEL_REFERENCE__REFERRED) == ValueTransient.YES) + errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.PARTIAL_MODEL_REFERENCE__REFERRED)); + } + SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); + feeder.accept(grammarAccess.getPartialModelReferenceAccess().getReferredPartialModelDeclarationIDTerminalRuleCall_0_1(), semanticObject.eGet(ApplicationConfigurationPackage.Literals.PARTIAL_MODEL_REFERENCE__REFERRED, false)); + feeder.finish(); + } + + + /** + * Contexts: + * PartialModelSpecification returns PartialModelSpecification + * PartialModel returns PartialModelSpecification + * + * Constraint: + * (entry+=PartialModelEntry entry+=PartialModelEntry?) + */ + protected void sequence_PartialModelSpecification(ISerializationContext context, PartialModelSpecification semanticObject) { + genericSequencer.createSequence(context, semanticObject); + } + + + /** + * Contexts: + * PatternEntry returns PatternElement + * PatternElement returns PatternElement + * + * Constraint: + * (package=[PatternModel|QualifiedName]? pattern=[Pattern|ID]) + */ + protected void sequence_PatternElement(ISerializationContext context, PatternElement semanticObject) { + genericSequencer.createSequence(context, semanticObject); + } + + + /** + * Contexts: + * PatternSpecification returns PatternSpecification + * GraphPattern returns PatternSpecification + * + * Constraint: + * (entries+=PatternEntry entries+=PatternEntry*) + */ + protected void sequence_PatternSpecification(ISerializationContext context, PatternSpecification semanticObject) { + genericSequencer.createSequence(context, semanticObject); + } + + + /** + * Contexts: + * NumberSpecification returns RealEnumeration + * RealEnumeration returns RealEnumeration + * + * Constraint: + * (entry+=REALLiteral entry+=REALLiteral*)? + */ + protected void sequence_RealEnumeration(ISerializationContext context, RealEnumeration semanticObject) { + genericSequencer.createSequence(context, semanticObject); + } + + + /** + * Contexts: + * TypeReference returns RealScope + * RealReference returns RealScope + * + * Constraint: + * {RealScope} + */ + protected void sequence_RealReference(ISerializationContext context, RealScope semanticObject) { + genericSequencer.createSequence(context, semanticObject); + } + + + /** + * Contexts: + * TypeScope returns RealTypeScope + * RealTypeScope returns RealTypeScope + * + * Constraint: + * (type=RealReference (setsNew?='+=' | setsSum?='=') (number=ExactNumber | number=IntervallNumber | number=RealEnumeration)) + */ + protected void sequence_RealTypeScope(ISerializationContext context, RealTypeScope semanticObject) { + genericSequencer.createSequence(context, semanticObject); + } + + + /** + * Contexts: + * ObjectiveFunction returns ReliabiltiyFunction + * ReliabiltiyFunction returns ReliabiltiyFunction + * + * Constraint: + * (package=[CftModel|QualifiedName]? transformation=[TransformationDefinition|ID]) + */ + protected void sequence_ReliabiltiyFunction(ISerializationContext context, ReliabiltiyFunction semanticObject) { + genericSequencer.createSequence(context, semanticObject); + } + + + /** + * Contexts: + * ConfigEntry returns RuntimeEntry + * RuntimeEntry returns RuntimeEntry + * + * Constraint: + * millisecLimit=INT + */ + protected void sequence_RuntimeEntry(ISerializationContext context, RuntimeEntry semanticObject) { + if (errorAcceptor != null) { + if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.RUNTIME_ENTRY__MILLISEC_LIMIT) == ValueTransient.YES) + errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.RUNTIME_ENTRY__MILLISEC_LIMIT)); + } + SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); + feeder.accept(grammarAccess.getRuntimeEntryAccess().getMillisecLimitINTTerminalRuleCall_2_0(), semanticObject.getMillisecLimit()); + feeder.finish(); + } + + + /** + * Contexts: + * Command returns ScopeDeclaration + * Declaration returns ScopeDeclaration + * ScopeDeclaration returns ScopeDeclaration + * + * Constraint: + * (name=ID specification=ScopeSpecification) + */ + protected void sequence_ScopeDeclaration(ISerializationContext context, ScopeDeclaration semanticObject) { + if (errorAcceptor != null) { + if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.DECLARATION__NAME) == ValueTransient.YES) + errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.DECLARATION__NAME)); + if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.SCOPE_DECLARATION__SPECIFICATION) == ValueTransient.YES) + errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.SCOPE_DECLARATION__SPECIFICATION)); + } + SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); + feeder.accept(grammarAccess.getScopeDeclarationAccess().getNameIDTerminalRuleCall_1_0(), semanticObject.getName()); + feeder.accept(grammarAccess.getScopeDeclarationAccess().getSpecificationScopeSpecificationParserRuleCall_2_0(), semanticObject.getSpecification()); + feeder.finish(); + } + + + /** + * Contexts: + * ScopeReference returns ScopeReference + * Scope returns ScopeReference + * + * Constraint: + * referred=[ScopeDeclaration|ID] + */ + protected void sequence_ScopeReference(ISerializationContext context, ScopeReference semanticObject) { + if (errorAcceptor != null) { + if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.SCOPE_REFERENCE__REFERRED) == ValueTransient.YES) + errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.SCOPE_REFERENCE__REFERRED)); + } + SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); + feeder.accept(grammarAccess.getScopeReferenceAccess().getReferredScopeDeclarationIDTerminalRuleCall_0_1(), semanticObject.eGet(ApplicationConfigurationPackage.Literals.SCOPE_REFERENCE__REFERRED, false)); + feeder.finish(); + } + + + /** + * Contexts: + * ScopeSpecification returns ScopeSpecification + * Scope returns ScopeSpecification + * + * Constraint: + * (scopes+=TypeScope scopes+=TypeScope*)? + */ + protected void sequence_ScopeSpecification(ISerializationContext context, ScopeSpecification semanticObject) { + genericSequencer.createSequence(context, semanticObject); + } + + + /** + * Contexts: + * NumberSpecification returns StringEnumeration + * StringEnumeration returns StringEnumeration + * + * Constraint: + * (entry+=STRING entry+=STRING*)? + */ + protected void sequence_StringEnumeration(ISerializationContext context, StringEnumeration semanticObject) { + genericSequencer.createSequence(context, semanticObject); + } + + + /** + * Contexts: + * TypeReference returns StringScope + * StringReference returns StringScope + * + * Constraint: + * {StringScope} + */ + protected void sequence_StringReference(ISerializationContext context, StringScope semanticObject) { + genericSequencer.createSequence(context, semanticObject); + } + + + /** + * Contexts: + * TypeScope returns StringTypeScope + * StringTypeScope returns StringTypeScope + * + * Constraint: + * (type=StringReference (setsNew?='+=' | setsSum?='=') (number=ExactNumber | number=IntervallNumber | number=StringEnumeration)) + */ + protected void sequence_StringTypeScope(ISerializationContext context, StringTypeScope semanticObject) { + genericSequencer.createSequence(context, semanticObject); + } + + + /** + * Contexts: + * ObjectiveEntry returns ThresholdEntry + * ThresholdEntry returns ThresholdEntry + * + * Constraint: + * (function=ObjectiveFunction operator=ComparisonOperator threshold=REALLiteral) + */ + protected void sequence_ThresholdEntry(ISerializationContext context, ThresholdEntry semanticObject) { + if (errorAcceptor != null) { + if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.OBJECTIVE_ENTRY__FUNCTION) == ValueTransient.YES) + errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.OBJECTIVE_ENTRY__FUNCTION)); + if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.THRESHOLD_ENTRY__OPERATOR) == ValueTransient.YES) + errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.THRESHOLD_ENTRY__OPERATOR)); + if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.THRESHOLD_ENTRY__THRESHOLD) == ValueTransient.YES) + errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.THRESHOLD_ENTRY__THRESHOLD)); + } + SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); + feeder.accept(grammarAccess.getThresholdEntryAccess().getFunctionObjectiveFunctionParserRuleCall_0_0(), semanticObject.getFunction()); + feeder.accept(grammarAccess.getThresholdEntryAccess().getOperatorComparisonOperatorEnumRuleCall_1_0(), semanticObject.getOperator()); + feeder.accept(grammarAccess.getThresholdEntryAccess().getThresholdREALLiteralParserRuleCall_2_0(), semanticObject.getThreshold()); + feeder.finish(); + } + + + /** + * Contexts: + * Import returns ViatraImport + * ViatraImport returns ViatraImport + * + * Constraint: + * importedViatra=[PatternModel|STRING] + */ + protected void sequence_ViatraImport(ISerializationContext context, ViatraImport semanticObject) { + if (errorAcceptor != null) { + if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.VIATRA_IMPORT__IMPORTED_VIATRA) == ValueTransient.YES) + errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.VIATRA_IMPORT__IMPORTED_VIATRA)); + } + SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); + feeder.accept(grammarAccess.getViatraImportAccess().getImportedViatraPatternModelSTRINGTerminalRuleCall_2_0_1(), semanticObject.eGet(ApplicationConfigurationPackage.Literals.VIATRA_IMPORT__IMPORTED_VIATRA, false)); + feeder.finish(); + } + + +} diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/serializer/ApplicationConfigurationSyntacticSequencer.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/serializer/ApplicationConfigurationSyntacticSequencer.java index 098fe405..21893ee6 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/serializer/ApplicationConfigurationSyntacticSequencer.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/serializer/ApplicationConfigurationSyntacticSequencer.java @@ -1,43 +1,43 @@ -/* - * generated by Xtext 2.12.0 - */ -package hu.bme.mit.inf.dslreasoner.application.serializer; - -import com.google.inject.Inject; -import hu.bme.mit.inf.dslreasoner.application.services.ApplicationConfigurationGrammarAccess; -import java.util.List; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.xtext.IGrammarAccess; -import org.eclipse.xtext.RuleCall; -import org.eclipse.xtext.nodemodel.INode; -import org.eclipse.xtext.serializer.analysis.GrammarAlias.AbstractElementAlias; -import org.eclipse.xtext.serializer.analysis.ISyntacticSequencerPDAProvider.ISynTransition; -import org.eclipse.xtext.serializer.sequencer.AbstractSyntacticSequencer; - -@SuppressWarnings("all") -public class ApplicationConfigurationSyntacticSequencer extends AbstractSyntacticSequencer { - - protected ApplicationConfigurationGrammarAccess grammarAccess; - - @Inject - protected void init(IGrammarAccess access) { - grammarAccess = (ApplicationConfigurationGrammarAccess) access; - } - - @Override - protected String getUnassignedRuleCallToken(EObject semanticObject, RuleCall ruleCall, INode node) { - return ""; - } - - - @Override - protected void emitUnassignedTokens(EObject semanticObject, ISynTransition transition, INode fromNode, INode toNode) { - if (transition.getAmbiguousSyntaxes().isEmpty()) return; - List transitionNodes = collectNodes(fromNode, toNode); - for (AbstractElementAlias syntax : transition.getAmbiguousSyntaxes()) { - List syntaxNodes = getNodesFor(transitionNodes, syntax); - acceptNodes(getLastNavigableState(), syntaxNodes); - } - } - -} +/* + * generated by Xtext 2.16.0 + */ +package hu.bme.mit.inf.dslreasoner.application.serializer; + +import com.google.inject.Inject; +import hu.bme.mit.inf.dslreasoner.application.services.ApplicationConfigurationGrammarAccess; +import java.util.List; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.xtext.IGrammarAccess; +import org.eclipse.xtext.RuleCall; +import org.eclipse.xtext.nodemodel.INode; +import org.eclipse.xtext.serializer.analysis.GrammarAlias.AbstractElementAlias; +import org.eclipse.xtext.serializer.analysis.ISyntacticSequencerPDAProvider.ISynTransition; +import org.eclipse.xtext.serializer.sequencer.AbstractSyntacticSequencer; + +@SuppressWarnings("all") +public class ApplicationConfigurationSyntacticSequencer extends AbstractSyntacticSequencer { + + protected ApplicationConfigurationGrammarAccess grammarAccess; + + @Inject + protected void init(IGrammarAccess access) { + grammarAccess = (ApplicationConfigurationGrammarAccess) access; + } + + @Override + protected String getUnassignedRuleCallToken(EObject semanticObject, RuleCall ruleCall, INode node) { + return ""; + } + + + @Override + protected void emitUnassignedTokens(EObject semanticObject, ISynTransition transition, INode fromNode, INode toNode) { + if (transition.getAmbiguousSyntaxes().isEmpty()) return; + List transitionNodes = collectNodes(fromNode, toNode); + for (AbstractElementAlias syntax : transition.getAmbiguousSyntaxes()) { + List syntaxNodes = getNodesFor(transitionNodes, syntax); + acceptNodes(getLastNavigableState(), syntaxNodes); + } + } + +} 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 47166823..c640afde 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 @@ -1,3564 +1,4082 @@ -/* - * generated by Xtext 2.12.0 - */ -package hu.bme.mit.inf.dslreasoner.application.services; - -import com.google.inject.Inject; -import com.google.inject.Singleton; -import java.util.List; -import org.eclipse.xtext.Action; -import org.eclipse.xtext.Alternatives; -import org.eclipse.xtext.Assignment; -import org.eclipse.xtext.CrossReference; -import org.eclipse.xtext.EnumLiteralDeclaration; -import org.eclipse.xtext.EnumRule; -import org.eclipse.xtext.Grammar; -import org.eclipse.xtext.GrammarUtil; -import org.eclipse.xtext.Group; -import org.eclipse.xtext.Keyword; -import org.eclipse.xtext.ParserRule; -import org.eclipse.xtext.RuleCall; -import org.eclipse.xtext.TerminalRule; -import org.eclipse.xtext.UnorderedGroup; -import org.eclipse.xtext.common.services.TerminalsGrammarAccess; -import org.eclipse.xtext.service.AbstractElementFinder.AbstractEnumRuleElementFinder; -import org.eclipse.xtext.service.AbstractElementFinder.AbstractGrammarElementFinder; -import org.eclipse.xtext.service.GrammarProvider; - -@Singleton -public class ApplicationConfigurationGrammarAccess extends AbstractGrammarElementFinder { - - public class ConfigurationScriptElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ConfigurationScript"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final Assignment cImportsAssignment_0 = (Assignment)cGroup.eContents().get(0); - private final RuleCall cImportsImportParserRuleCall_0_0 = (RuleCall)cImportsAssignment_0.eContents().get(0); - private final Assignment cCommandsAssignment_1 = (Assignment)cGroup.eContents().get(1); - private final RuleCall cCommandsCommandParserRuleCall_1_0 = (RuleCall)cCommandsAssignment_1.eContents().get(0); - - //ConfigurationScript: - // imports+=Import* - // commands+=Command*; - @Override public ParserRule getRule() { return rule; } - - //imports+=Import* commands+=Command* - public Group getGroup() { return cGroup; } - - //imports+=Import* - public Assignment getImportsAssignment_0() { return cImportsAssignment_0; } - - //Import - public RuleCall getImportsImportParserRuleCall_0_0() { return cImportsImportParserRuleCall_0_0; } - - //commands+=Command* - public Assignment getCommandsAssignment_1() { return cCommandsAssignment_1; } - - //Command - public RuleCall getCommandsCommandParserRuleCall_1_0() { return cCommandsCommandParserRuleCall_1_0; } - } - public class CommandElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Command"); - private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); - private final RuleCall cDeclarationParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); - private final RuleCall cTaskParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); - - //Command: - // Declaration | Task; - @Override public ParserRule getRule() { return rule; } - - //Declaration | Task - public Alternatives getAlternatives() { return cAlternatives; } - - //Declaration - public RuleCall getDeclarationParserRuleCall_0() { return cDeclarationParserRuleCall_0; } - - //Task - public RuleCall getTaskParserRuleCall_1() { return cTaskParserRuleCall_1; } - } - public class QualifiedNameElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.QualifiedName"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final RuleCall cIDTerminalRuleCall_0 = (RuleCall)cGroup.eContents().get(0); - private final Group cGroup_1 = (Group)cGroup.eContents().get(1); - private final Keyword cFullStopKeyword_1_0 = (Keyword)cGroup_1.eContents().get(0); - private final RuleCall cIDTerminalRuleCall_1_1 = (RuleCall)cGroup_1.eContents().get(1); - - //QualifiedName: - // ID ('.' ID)*; - @Override public ParserRule getRule() { return rule; } - - //ID ('.' ID)* - public Group getGroup() { return cGroup; } - - //ID - public RuleCall getIDTerminalRuleCall_0() { return cIDTerminalRuleCall_0; } - - //('.' ID)* - public Group getGroup_1() { return cGroup_1; } - - //'.' - public Keyword getFullStopKeyword_1_0() { return cFullStopKeyword_1_0; } - - //ID - public RuleCall getIDTerminalRuleCall_1_1() { return cIDTerminalRuleCall_1_1; } - } - public class REALLiteralElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.REALLiteral"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final Keyword cHyphenMinusKeyword_0 = (Keyword)cGroup.eContents().get(0); - private final RuleCall cINTTerminalRuleCall_1 = (RuleCall)cGroup.eContents().get(1); - private final Keyword cFullStopKeyword_2 = (Keyword)cGroup.eContents().get(2); - private final RuleCall cINTTerminalRuleCall_3 = (RuleCall)cGroup.eContents().get(3); - - //REALLiteral ecore::EBigDecimal: - // '-'? INT '.' INT; - @Override public ParserRule getRule() { return rule; } - - //'-'? INT '.' INT - public Group getGroup() { return cGroup; } - - //'-'? - public Keyword getHyphenMinusKeyword_0() { return cHyphenMinusKeyword_0; } - - //INT - public RuleCall getINTTerminalRuleCall_1() { return cINTTerminalRuleCall_1; } - - //'.' - public Keyword getFullStopKeyword_2() { return cFullStopKeyword_2; } - - //INT - public RuleCall getINTTerminalRuleCall_3() { return cINTTerminalRuleCall_3; } - } - public class INTLiteralElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.INTLiteral"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final Keyword cHyphenMinusKeyword_0 = (Keyword)cGroup.eContents().get(0); - private final RuleCall cINTTerminalRuleCall_1 = (RuleCall)cGroup.eContents().get(1); - - //INTLiteral ecore::EInt: - // '-'? INT; - @Override public ParserRule getRule() { return rule; } - - //'-'? INT - public Group getGroup() { return cGroup; } - - //'-'? - public Keyword getHyphenMinusKeyword_0() { return cHyphenMinusKeyword_0; } - - //INT - public RuleCall getINTTerminalRuleCall_1() { return cINTTerminalRuleCall_1; } - } - public class ImportElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Import"); - private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); - private final RuleCall cEPackageImportParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); - private final RuleCall cViatraImportParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); - - ///////////////////////////////////////////////////// - //// Imports - ///////////////////////////////////////////////////// - //Import: - // EPackageImport | ViatraImport; - @Override public ParserRule getRule() { return rule; } - - //EPackageImport | ViatraImport - public Alternatives getAlternatives() { return cAlternatives; } - - //EPackageImport - public RuleCall getEPackageImportParserRuleCall_0() { return cEPackageImportParserRuleCall_0; } - - //ViatraImport - public RuleCall getViatraImportParserRuleCall_1() { return cViatraImportParserRuleCall_1; } - } - public class EPackageImportElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.EPackageImport"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final Keyword cImportKeyword_0 = (Keyword)cGroup.eContents().get(0); - private final Keyword cEpackageKeyword_1 = (Keyword)cGroup.eContents().get(1); - private final Assignment cImportedPackageAssignment_2 = (Assignment)cGroup.eContents().get(2); - private final CrossReference cImportedPackageEPackageCrossReference_2_0 = (CrossReference)cImportedPackageAssignment_2.eContents().get(0); - private final RuleCall cImportedPackageEPackageSTRINGTerminalRuleCall_2_0_1 = (RuleCall)cImportedPackageEPackageCrossReference_2_0.eContents().get(1); - - //EPackageImport: - // "import" "epackage" importedPackage=[ecore::EPackage|STRING]; - @Override public ParserRule getRule() { return rule; } - - //"import" "epackage" importedPackage=[ecore::EPackage|STRING] - public Group getGroup() { return cGroup; } - - //"import" - public Keyword getImportKeyword_0() { return cImportKeyword_0; } - - //"epackage" - public Keyword getEpackageKeyword_1() { return cEpackageKeyword_1; } - - //importedPackage=[ecore::EPackage|STRING] - public Assignment getImportedPackageAssignment_2() { return cImportedPackageAssignment_2; } - - //[ecore::EPackage|STRING] - public CrossReference getImportedPackageEPackageCrossReference_2_0() { return cImportedPackageEPackageCrossReference_2_0; } - - //STRING - public RuleCall getImportedPackageEPackageSTRINGTerminalRuleCall_2_0_1() { return cImportedPackageEPackageSTRINGTerminalRuleCall_2_0_1; } - } - public class ViatraImportElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ViatraImport"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final Keyword cImportKeyword_0 = (Keyword)cGroup.eContents().get(0); - private final Keyword cViatraKeyword_1 = (Keyword)cGroup.eContents().get(1); - private final Assignment cImportedViatraAssignment_2 = (Assignment)cGroup.eContents().get(2); - private final CrossReference cImportedViatraPatternModelCrossReference_2_0 = (CrossReference)cImportedViatraAssignment_2.eContents().get(0); - private final RuleCall cImportedViatraPatternModelSTRINGTerminalRuleCall_2_0_1 = (RuleCall)cImportedViatraPatternModelCrossReference_2_0.eContents().get(1); - - //ViatraImport: - // "import" "viatra" importedViatra=[viatra::PatternModel|STRING]; - @Override public ParserRule getRule() { return rule; } - - //"import" "viatra" importedViatra=[viatra::PatternModel|STRING] - public Group getGroup() { return cGroup; } - - //"import" - public Keyword getImportKeyword_0() { return cImportKeyword_0; } - - //"viatra" - public Keyword getViatraKeyword_1() { return cViatraKeyword_1; } - - //importedViatra=[viatra::PatternModel|STRING] - public Assignment getImportedViatraAssignment_2() { return cImportedViatraAssignment_2; } - - //[viatra::PatternModel|STRING] - public CrossReference getImportedViatraPatternModelCrossReference_2_0() { return cImportedViatraPatternModelCrossReference_2_0; } - - //STRING - public RuleCall getImportedViatraPatternModelSTRINGTerminalRuleCall_2_0_1() { return cImportedViatraPatternModelSTRINGTerminalRuleCall_2_0_1; } - } - public class DeclarationElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Declaration"); - private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); - private final RuleCall cFileDeclarationParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); - private final RuleCall cMetamodelDeclarationParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); - private final RuleCall cPartialModelDeclarationParserRuleCall_2 = (RuleCall)cAlternatives.eContents().get(2); - private final RuleCall cGraphPatternDeclarationParserRuleCall_3 = (RuleCall)cAlternatives.eContents().get(3); - private final RuleCall cConfigDeclarationParserRuleCall_4 = (RuleCall)cAlternatives.eContents().get(4); - private final RuleCall cScopeDeclarationParserRuleCall_5 = (RuleCall)cAlternatives.eContents().get(5); - - ///////////////////////////////////////////////////// - //// Declaration - ///////////////////////////////////////////////////// - //Declaration: - // FileDeclaration - // | MetamodelDeclaration - // | PartialModelDeclaration - // | GraphPatternDeclaration - // | ConfigDeclaration - // | ScopeDeclaration; - @Override public ParserRule getRule() { return rule; } - - //FileDeclaration | MetamodelDeclaration | PartialModelDeclaration | GraphPatternDeclaration | ConfigDeclaration | - //ScopeDeclaration - public Alternatives getAlternatives() { return cAlternatives; } - - //FileDeclaration - public RuleCall getFileDeclarationParserRuleCall_0() { return cFileDeclarationParserRuleCall_0; } - - //MetamodelDeclaration - public RuleCall getMetamodelDeclarationParserRuleCall_1() { return cMetamodelDeclarationParserRuleCall_1; } - - //PartialModelDeclaration - public RuleCall getPartialModelDeclarationParserRuleCall_2() { return cPartialModelDeclarationParserRuleCall_2; } - - //GraphPatternDeclaration - public RuleCall getGraphPatternDeclarationParserRuleCall_3() { return cGraphPatternDeclarationParserRuleCall_3; } - - //ConfigDeclaration - public RuleCall getConfigDeclarationParserRuleCall_4() { return cConfigDeclarationParserRuleCall_4; } - - //ScopeDeclaration - public RuleCall getScopeDeclarationParserRuleCall_5() { return cScopeDeclarationParserRuleCall_5; } - } - public class FileSpecificationElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.FileSpecification"); - private final Assignment cPathAssignment = (Assignment)rule.eContents().get(1); - private final RuleCall cPathSTRINGTerminalRuleCall_0 = (RuleCall)cPathAssignment.eContents().get(0); - - ///////////////////////////////////////////////////// - //// Files and Folders - ///////////////////////////////////////////////////// - //FileSpecification: - // path=STRING; - @Override public ParserRule getRule() { return rule; } - - //path=STRING - public Assignment getPathAssignment() { return cPathAssignment; } - - //STRING - public RuleCall getPathSTRINGTerminalRuleCall_0() { return cPathSTRINGTerminalRuleCall_0; } - } - public class FileDeclarationElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.FileDeclaration"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final Keyword cFileKeyword_0 = (Keyword)cGroup.eContents().get(0); - private final Assignment cNameAssignment_1 = (Assignment)cGroup.eContents().get(1); - private final RuleCall cNameIDTerminalRuleCall_1_0 = (RuleCall)cNameAssignment_1.eContents().get(0); - private final Keyword cEqualsSignKeyword_2 = (Keyword)cGroup.eContents().get(2); - private final Assignment cSpecificationAssignment_3 = (Assignment)cGroup.eContents().get(3); - private final RuleCall cSpecificationFileSpecificationParserRuleCall_3_0 = (RuleCall)cSpecificationAssignment_3.eContents().get(0); - - //FileDeclaration: - // 'file' name=ID '=' specification=FileSpecification; - @Override public ParserRule getRule() { return rule; } - - //'file' name=ID '=' specification=FileSpecification - public Group getGroup() { return cGroup; } - - //'file' - public Keyword getFileKeyword_0() { return cFileKeyword_0; } - - //name=ID - public Assignment getNameAssignment_1() { return cNameAssignment_1; } - - //ID - public RuleCall getNameIDTerminalRuleCall_1_0() { return cNameIDTerminalRuleCall_1_0; } - - //'=' - public Keyword getEqualsSignKeyword_2() { return cEqualsSignKeyword_2; } - - //specification=FileSpecification - public Assignment getSpecificationAssignment_3() { return cSpecificationAssignment_3; } - - //FileSpecification - public RuleCall getSpecificationFileSpecificationParserRuleCall_3_0() { return cSpecificationFileSpecificationParserRuleCall_3_0; } - } - public class FileReferenceElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.FileReference"); - private final Assignment cReferredAssignment = (Assignment)rule.eContents().get(1); - private final CrossReference cReferredFileDeclarationCrossReference_0 = (CrossReference)cReferredAssignment.eContents().get(0); - private final RuleCall cReferredFileDeclarationIDTerminalRuleCall_0_1 = (RuleCall)cReferredFileDeclarationCrossReference_0.eContents().get(1); - - //FileReference: - // referred=[FileDeclaration]; - @Override public ParserRule getRule() { return rule; } - - //referred=[FileDeclaration] - public Assignment getReferredAssignment() { return cReferredAssignment; } - - //[FileDeclaration] - public CrossReference getReferredFileDeclarationCrossReference_0() { return cReferredFileDeclarationCrossReference_0; } - - //ID - public RuleCall getReferredFileDeclarationIDTerminalRuleCall_0_1() { return cReferredFileDeclarationIDTerminalRuleCall_0_1; } - } - public class FileElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File"); - private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); - private final RuleCall cFileSpecificationParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); - private final RuleCall cFileReferenceParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); - - //File: - // FileSpecification | FileReference; - @Override public ParserRule getRule() { return rule; } - - //FileSpecification | FileReference - public Alternatives getAlternatives() { return cAlternatives; } - - //FileSpecification - public RuleCall getFileSpecificationParserRuleCall_0() { return cFileSpecificationParserRuleCall_0; } - - //FileReference - public RuleCall getFileReferenceParserRuleCall_1() { return cFileReferenceParserRuleCall_1; } - } - public class MetamodelSpecificationElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelSpecification"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final Keyword cLeftCurlyBracketKeyword_0 = (Keyword)cGroup.eContents().get(0); - private final Assignment cEntriesAssignment_1 = (Assignment)cGroup.eContents().get(1); - private final RuleCall cEntriesMetamodelEntryParserRuleCall_1_0 = (RuleCall)cEntriesAssignment_1.eContents().get(0); - private final Group cGroup_2 = (Group)cGroup.eContents().get(2); - private final Keyword cCommaKeyword_2_0 = (Keyword)cGroup_2.eContents().get(0); - private final Assignment cEntriesAssignment_2_1 = (Assignment)cGroup_2.eContents().get(1); - private final RuleCall cEntriesMetamodelEntryParserRuleCall_2_1_0 = (RuleCall)cEntriesAssignment_2_1.eContents().get(0); - private final Keyword cRightCurlyBracketKeyword_3 = (Keyword)cGroup.eContents().get(3); - - ///////////////////////////////////////////////////// - //// Metamodel - ///////////////////////////////////////////////////// - //MetamodelSpecification: - // '{' entries+=MetamodelEntry (',' entries+=MetamodelEntry)* '}'; - @Override public ParserRule getRule() { return rule; } - - //'{' entries+=MetamodelEntry (',' entries+=MetamodelEntry)* '}' - public Group getGroup() { return cGroup; } - - //'{' - public Keyword getLeftCurlyBracketKeyword_0() { return cLeftCurlyBracketKeyword_0; } - - //entries+=MetamodelEntry - public Assignment getEntriesAssignment_1() { return cEntriesAssignment_1; } - - //MetamodelEntry - public RuleCall getEntriesMetamodelEntryParserRuleCall_1_0() { return cEntriesMetamodelEntryParserRuleCall_1_0; } - - //(',' entries+=MetamodelEntry)* - public Group getGroup_2() { return cGroup_2; } - - //',' - public Keyword getCommaKeyword_2_0() { return cCommaKeyword_2_0; } - - //entries+=MetamodelEntry - public Assignment getEntriesAssignment_2_1() { return cEntriesAssignment_2_1; } - - //MetamodelEntry - public RuleCall getEntriesMetamodelEntryParserRuleCall_2_1_0() { return cEntriesMetamodelEntryParserRuleCall_2_1_0; } - - //'}' - public Keyword getRightCurlyBracketKeyword_3() { return cRightCurlyBracketKeyword_3; } - } - public class MetamodelEntryElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelEntry"); - private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); - private final RuleCall cMetamodelElementParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); - private final RuleCall cAllPackageEntryParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); - - //MetamodelEntry: - // MetamodelElement | AllPackageEntry; - @Override public ParserRule getRule() { return rule; } - - //MetamodelElement | AllPackageEntry - public Alternatives getAlternatives() { return cAlternatives; } - - //MetamodelElement - public RuleCall getMetamodelElementParserRuleCall_0() { return cMetamodelElementParserRuleCall_0; } - - //AllPackageEntry - public RuleCall getAllPackageEntryParserRuleCall_1() { return cAllPackageEntryParserRuleCall_1; } - } - public class AllPackageEntryElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.AllPackageEntry"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final Keyword cPackageKeyword_0 = (Keyword)cGroup.eContents().get(0); - private final Assignment cPackageAssignment_1 = (Assignment)cGroup.eContents().get(1); - private final CrossReference cPackageEPackageCrossReference_1_0 = (CrossReference)cPackageAssignment_1.eContents().get(0); - private final RuleCall cPackageEPackageQualifiedNameParserRuleCall_1_0_1 = (RuleCall)cPackageEPackageCrossReference_1_0.eContents().get(1); - private final Group cGroup_2 = (Group)cGroup.eContents().get(2); - private final Keyword cExcludingKeyword_2_0 = (Keyword)cGroup_2.eContents().get(0); - private final Keyword cLeftCurlyBracketKeyword_2_1 = (Keyword)cGroup_2.eContents().get(1); - private final Assignment cExclusionAssignment_2_2 = (Assignment)cGroup_2.eContents().get(2); - private final RuleCall cExclusionMetamodelElementParserRuleCall_2_2_0 = (RuleCall)cExclusionAssignment_2_2.eContents().get(0); - private final Group cGroup_2_3 = (Group)cGroup_2.eContents().get(3); - private final Keyword cCommaKeyword_2_3_0 = (Keyword)cGroup_2_3.eContents().get(0); - private final Assignment cExclusionAssignment_2_3_1 = (Assignment)cGroup_2_3.eContents().get(1); - private final RuleCall cExclusionMetamodelElementParserRuleCall_2_3_1_0 = (RuleCall)cExclusionAssignment_2_3_1.eContents().get(0); - private final Keyword cRightCurlyBracketKeyword_2_4 = (Keyword)cGroup_2.eContents().get(4); - - //AllPackageEntry: - // "package" package=[ecore::EPackage|QualifiedName] ("excluding" '{' exclusion+=MetamodelElement (',' - // exclusion+=MetamodelElement)* '}')?; - @Override public ParserRule getRule() { return rule; } - - //"package" package=[ecore::EPackage|QualifiedName] ("excluding" '{' exclusion+=MetamodelElement (',' - //exclusion+=MetamodelElement)* '}')? - public Group getGroup() { return cGroup; } - - //"package" - public Keyword getPackageKeyword_0() { return cPackageKeyword_0; } - - //package=[ecore::EPackage|QualifiedName] - public Assignment getPackageAssignment_1() { return cPackageAssignment_1; } - - //[ecore::EPackage|QualifiedName] - public CrossReference getPackageEPackageCrossReference_1_0() { return cPackageEPackageCrossReference_1_0; } - - //QualifiedName - public RuleCall getPackageEPackageQualifiedNameParserRuleCall_1_0_1() { return cPackageEPackageQualifiedNameParserRuleCall_1_0_1; } - - //("excluding" '{' exclusion+=MetamodelElement (',' exclusion+=MetamodelElement)* '}')? - public Group getGroup_2() { return cGroup_2; } - - //"excluding" - public Keyword getExcludingKeyword_2_0() { return cExcludingKeyword_2_0; } - - //'{' - public Keyword getLeftCurlyBracketKeyword_2_1() { return cLeftCurlyBracketKeyword_2_1; } - - //exclusion+=MetamodelElement - public Assignment getExclusionAssignment_2_2() { return cExclusionAssignment_2_2; } - - //MetamodelElement - public RuleCall getExclusionMetamodelElementParserRuleCall_2_2_0() { return cExclusionMetamodelElementParserRuleCall_2_2_0; } - - //(',' exclusion+=MetamodelElement)* - public Group getGroup_2_3() { return cGroup_2_3; } - - //',' - public Keyword getCommaKeyword_2_3_0() { return cCommaKeyword_2_3_0; } - - //exclusion+=MetamodelElement - public Assignment getExclusionAssignment_2_3_1() { return cExclusionAssignment_2_3_1; } - - //MetamodelElement - public RuleCall getExclusionMetamodelElementParserRuleCall_2_3_1_0() { return cExclusionMetamodelElementParserRuleCall_2_3_1_0; } - - //'}' - public Keyword getRightCurlyBracketKeyword_2_4() { return cRightCurlyBracketKeyword_2_4; } - } - public class MetamodelElementElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelElement"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final Group cGroup_0 = (Group)cGroup.eContents().get(0); - private final Assignment cPackageAssignment_0_0 = (Assignment)cGroup_0.eContents().get(0); - private final CrossReference cPackageEPackageCrossReference_0_0_0 = (CrossReference)cPackageAssignment_0_0.eContents().get(0); - private final RuleCall cPackageEPackageQualifiedNameParserRuleCall_0_0_0_1 = (RuleCall)cPackageEPackageCrossReference_0_0_0.eContents().get(1); - private final Keyword cColonColonKeyword_0_1 = (Keyword)cGroup_0.eContents().get(1); - private final Assignment cClassifierAssignment_1 = (Assignment)cGroup.eContents().get(1); - private final CrossReference cClassifierEClassifierCrossReference_1_0 = (CrossReference)cClassifierAssignment_1.eContents().get(0); - private final RuleCall cClassifierEClassifierIDTerminalRuleCall_1_0_1 = (RuleCall)cClassifierEClassifierCrossReference_1_0.eContents().get(1); - private final Group cGroup_2 = (Group)cGroup.eContents().get(2); - private final Keyword cFullStopKeyword_2_0 = (Keyword)cGroup_2.eContents().get(0); - private final Assignment cFeatureAssignment_2_1 = (Assignment)cGroup_2.eContents().get(1); - private final CrossReference cFeatureENamedElementCrossReference_2_1_0 = (CrossReference)cFeatureAssignment_2_1.eContents().get(0); - private final RuleCall cFeatureENamedElementIDTerminalRuleCall_2_1_0_1 = (RuleCall)cFeatureENamedElementCrossReference_2_1_0.eContents().get(1); - - //MetamodelElement: - // (package=[ecore::EPackage|QualifiedName] '::')? classifier=[ecore::EClassifier] ('.' - // feature=[ecore::ENamedElement])?; - @Override public ParserRule getRule() { return rule; } - - //(package=[ecore::EPackage|QualifiedName] '::')? classifier=[ecore::EClassifier] ('.' feature=[ecore::ENamedElement])? - public Group getGroup() { return cGroup; } - - //(package=[ecore::EPackage|QualifiedName] '::')? - public Group getGroup_0() { return cGroup_0; } - - //package=[ecore::EPackage|QualifiedName] - public Assignment getPackageAssignment_0_0() { return cPackageAssignment_0_0; } - - //[ecore::EPackage|QualifiedName] - public CrossReference getPackageEPackageCrossReference_0_0_0() { return cPackageEPackageCrossReference_0_0_0; } - - //QualifiedName - public RuleCall getPackageEPackageQualifiedNameParserRuleCall_0_0_0_1() { return cPackageEPackageQualifiedNameParserRuleCall_0_0_0_1; } - - //'::' - public Keyword getColonColonKeyword_0_1() { return cColonColonKeyword_0_1; } - - //classifier=[ecore::EClassifier] - public Assignment getClassifierAssignment_1() { return cClassifierAssignment_1; } - - //[ecore::EClassifier] - public CrossReference getClassifierEClassifierCrossReference_1_0() { return cClassifierEClassifierCrossReference_1_0; } - - //ID - public RuleCall getClassifierEClassifierIDTerminalRuleCall_1_0_1() { return cClassifierEClassifierIDTerminalRuleCall_1_0_1; } - - //('.' feature=[ecore::ENamedElement])? - public Group getGroup_2() { return cGroup_2; } - - //'.' - public Keyword getFullStopKeyword_2_0() { return cFullStopKeyword_2_0; } - - //feature=[ecore::ENamedElement] - public Assignment getFeatureAssignment_2_1() { return cFeatureAssignment_2_1; } - - //[ecore::ENamedElement] - public CrossReference getFeatureENamedElementCrossReference_2_1_0() { return cFeatureENamedElementCrossReference_2_1_0; } - - //ID - public RuleCall getFeatureENamedElementIDTerminalRuleCall_2_1_0_1() { return cFeatureENamedElementIDTerminalRuleCall_2_1_0_1; } - } - public class MetamodelDeclarationElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelDeclaration"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final Keyword cMetamodelKeyword_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 cSpecificationMetamodelSpecificationParserRuleCall_2_0 = (RuleCall)cSpecificationAssignment_2.eContents().get(0); - - //MetamodelDeclaration: - // 'metamodel' name=ID specification=MetamodelSpecification; - @Override public ParserRule getRule() { return rule; } - - //'metamodel' name=ID specification=MetamodelSpecification - public Group getGroup() { return cGroup; } - - //'metamodel' - public Keyword getMetamodelKeyword_0() { return cMetamodelKeyword_0; } - - //name=ID - public Assignment getNameAssignment_1() { return cNameAssignment_1; } - - //ID - public RuleCall getNameIDTerminalRuleCall_1_0() { return cNameIDTerminalRuleCall_1_0; } - - //specification=MetamodelSpecification - public Assignment getSpecificationAssignment_2() { return cSpecificationAssignment_2; } - - //MetamodelSpecification - public RuleCall getSpecificationMetamodelSpecificationParserRuleCall_2_0() { return cSpecificationMetamodelSpecificationParserRuleCall_2_0; } - } - public class MetamodelReferenceElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelReference"); - private final Assignment cReferredAssignment = (Assignment)rule.eContents().get(1); - private final CrossReference cReferredMetamodelDeclarationCrossReference_0 = (CrossReference)cReferredAssignment.eContents().get(0); - private final RuleCall cReferredMetamodelDeclarationIDTerminalRuleCall_0_1 = (RuleCall)cReferredMetamodelDeclarationCrossReference_0.eContents().get(1); - - //MetamodelReference: - // referred=[MetamodelDeclaration]; - @Override public ParserRule getRule() { return rule; } - - //referred=[MetamodelDeclaration] - public Assignment getReferredAssignment() { return cReferredAssignment; } - - //[MetamodelDeclaration] - public CrossReference getReferredMetamodelDeclarationCrossReference_0() { return cReferredMetamodelDeclarationCrossReference_0; } - - //ID - public RuleCall getReferredMetamodelDeclarationIDTerminalRuleCall_0_1() { return cReferredMetamodelDeclarationIDTerminalRuleCall_0_1; } - } - public class MetamodelElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Metamodel"); - private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); - private final RuleCall cMetamodelReferenceParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); - private final RuleCall cMetamodelSpecificationParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); - - //Metamodel: - // MetamodelReference | MetamodelSpecification; - @Override public ParserRule getRule() { return rule; } - - //MetamodelReference | MetamodelSpecification - public Alternatives getAlternatives() { return cAlternatives; } - - //MetamodelReference - public RuleCall getMetamodelReferenceParserRuleCall_0() { return cMetamodelReferenceParserRuleCall_0; } - - //MetamodelSpecification - public RuleCall getMetamodelSpecificationParserRuleCall_1() { return cMetamodelSpecificationParserRuleCall_1; } - } - public class PartialModelSpecificationElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PartialModelSpecification"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final Keyword cLeftCurlyBracketKeyword_0 = (Keyword)cGroup.eContents().get(0); - private final Assignment cEntryAssignment_1 = (Assignment)cGroup.eContents().get(1); - private final RuleCall cEntryPartialModelEntryParserRuleCall_1_0 = (RuleCall)cEntryAssignment_1.eContents().get(0); - private final Group cGroup_2 = (Group)cGroup.eContents().get(2); - private final Keyword cCommaKeyword_2_0 = (Keyword)cGroup_2.eContents().get(0); - private final Assignment cEntryAssignment_2_1 = (Assignment)cGroup_2.eContents().get(1); - private final RuleCall cEntryPartialModelEntryParserRuleCall_2_1_0 = (RuleCall)cEntryAssignment_2_1.eContents().get(0); - private final Keyword cRightCurlyBracketKeyword_3 = (Keyword)cGroup.eContents().get(3); - - ///////////////////////////////////////////////////// - //// Partial Model - ///////////////////////////////////////////////////// - //PartialModelSpecification: - // '{' entry+=PartialModelEntry (',' entry+=PartialModelEntry)? '}'; - @Override public ParserRule getRule() { return rule; } - - //'{' entry+=PartialModelEntry (',' entry+=PartialModelEntry)? '}' - public Group getGroup() { return cGroup; } - - //'{' - public Keyword getLeftCurlyBracketKeyword_0() { return cLeftCurlyBracketKeyword_0; } - - //entry+=PartialModelEntry - public Assignment getEntryAssignment_1() { return cEntryAssignment_1; } - - //PartialModelEntry - public RuleCall getEntryPartialModelEntryParserRuleCall_1_0() { return cEntryPartialModelEntryParserRuleCall_1_0; } - - //(',' entry+=PartialModelEntry)? - public Group getGroup_2() { return cGroup_2; } - - //',' - public Keyword getCommaKeyword_2_0() { return cCommaKeyword_2_0; } - - //entry+=PartialModelEntry - public Assignment getEntryAssignment_2_1() { return cEntryAssignment_2_1; } - - //PartialModelEntry - public RuleCall getEntryPartialModelEntryParserRuleCall_2_1_0() { return cEntryPartialModelEntryParserRuleCall_2_1_0; } - - //'}' - public Keyword getRightCurlyBracketKeyword_3() { return cRightCurlyBracketKeyword_3; } - } - public class PartialModelEntryElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PartialModelEntry"); - private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); - private final RuleCall cModelEntryParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); - private final RuleCall cFolderEntryParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); - - //PartialModelEntry: - // ModelEntry | FolderEntry; - @Override public ParserRule getRule() { return rule; } - - //ModelEntry | FolderEntry - public Alternatives getAlternatives() { return cAlternatives; } - - //ModelEntry - public RuleCall getModelEntryParserRuleCall_0() { return cModelEntryParserRuleCall_0; } - - //FolderEntry - public RuleCall getFolderEntryParserRuleCall_1() { return cFolderEntryParserRuleCall_1; } - } - public class ModelEntryElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ModelEntry"); - private final Assignment cPathAssignment = (Assignment)rule.eContents().get(1); - private final RuleCall cPathFileParserRuleCall_0 = (RuleCall)cPathAssignment.eContents().get(0); - - //ModelEntry: - // path=File; - @Override public ParserRule getRule() { return rule; } - - //path=File - public Assignment getPathAssignment() { return cPathAssignment; } - - //File - public RuleCall getPathFileParserRuleCall_0() { return cPathFileParserRuleCall_0; } - } - public class FolderEntryElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.FolderEntry"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final Keyword cFolderKeyword_0 = (Keyword)cGroup.eContents().get(0); - private final Assignment cPathAssignment_1 = (Assignment)cGroup.eContents().get(1); - private final RuleCall cPathFileParserRuleCall_1_0 = (RuleCall)cPathAssignment_1.eContents().get(0); - private final Group cGroup_2 = (Group)cGroup.eContents().get(2); - private final Keyword cExcludingKeyword_2_0 = (Keyword)cGroup_2.eContents().get(0); - private final Keyword cLeftCurlyBracketKeyword_2_1 = (Keyword)cGroup_2.eContents().get(1); - private final Assignment cExclusionAssignment_2_2 = (Assignment)cGroup_2.eContents().get(2); - private final RuleCall cExclusionModelEntryParserRuleCall_2_2_0 = (RuleCall)cExclusionAssignment_2_2.eContents().get(0); - private final Group cGroup_2_3 = (Group)cGroup_2.eContents().get(3); - private final Keyword cCommaKeyword_2_3_0 = (Keyword)cGroup_2_3.eContents().get(0); - private final Assignment cExclusionAssignment_2_3_1 = (Assignment)cGroup_2_3.eContents().get(1); - private final RuleCall cExclusionModelEntryParserRuleCall_2_3_1_0 = (RuleCall)cExclusionAssignment_2_3_1.eContents().get(0); - private final Keyword cRightCurlyBracketKeyword_2_4 = (Keyword)cGroup_2.eContents().get(4); - - //FolderEntry: - // "folder" path=File ("excluding" "{" exclusion+=ModelEntry ("," exclusion+=ModelEntry)* "}")?; - @Override public ParserRule getRule() { return rule; } - - //"folder" path=File ("excluding" "{" exclusion+=ModelEntry ("," exclusion+=ModelEntry)* "}")? - public Group getGroup() { return cGroup; } - - //"folder" - public Keyword getFolderKeyword_0() { return cFolderKeyword_0; } - - //path=File - public Assignment getPathAssignment_1() { return cPathAssignment_1; } - - //File - public RuleCall getPathFileParserRuleCall_1_0() { return cPathFileParserRuleCall_1_0; } - - //("excluding" "{" exclusion+=ModelEntry ("," exclusion+=ModelEntry)* "}")? - public Group getGroup_2() { return cGroup_2; } - - //"excluding" - public Keyword getExcludingKeyword_2_0() { return cExcludingKeyword_2_0; } - - //"{" - public Keyword getLeftCurlyBracketKeyword_2_1() { return cLeftCurlyBracketKeyword_2_1; } - - //exclusion+=ModelEntry - public Assignment getExclusionAssignment_2_2() { return cExclusionAssignment_2_2; } - - //ModelEntry - public RuleCall getExclusionModelEntryParserRuleCall_2_2_0() { return cExclusionModelEntryParserRuleCall_2_2_0; } - - //("," exclusion+=ModelEntry)* - public Group getGroup_2_3() { return cGroup_2_3; } - - //"," - public Keyword getCommaKeyword_2_3_0() { return cCommaKeyword_2_3_0; } - - //exclusion+=ModelEntry - public Assignment getExclusionAssignment_2_3_1() { return cExclusionAssignment_2_3_1; } - - //ModelEntry - public RuleCall getExclusionModelEntryParserRuleCall_2_3_1_0() { return cExclusionModelEntryParserRuleCall_2_3_1_0; } - - //"}" - public Keyword getRightCurlyBracketKeyword_2_4() { return cRightCurlyBracketKeyword_2_4; } - } - public 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 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: - // 'models' name=ID specification=PartialModelSpecification; - @Override public ParserRule getRule() { return rule; } - - //'models' name=ID specification=PartialModelSpecification - public Group getGroup() { return cGroup; } - - //'models' - public Keyword getModelsKeyword_0() { return cModelsKeyword_0; } - - //name=ID - public Assignment getNameAssignment_1() { return cNameAssignment_1; } - - //ID - public RuleCall getNameIDTerminalRuleCall_1_0() { return cNameIDTerminalRuleCall_1_0; } - - //specification=PartialModelSpecification - public Assignment getSpecificationAssignment_2() { return cSpecificationAssignment_2; } - - //PartialModelSpecification - public RuleCall getSpecificationPartialModelSpecificationParserRuleCall_2_0() { return cSpecificationPartialModelSpecificationParserRuleCall_2_0; } - } - public class PartialModelReferenceElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PartialModelReference"); - private final Assignment cReferredAssignment = (Assignment)rule.eContents().get(1); - private final CrossReference cReferredPartialModelDeclarationCrossReference_0 = (CrossReference)cReferredAssignment.eContents().get(0); - private final RuleCall cReferredPartialModelDeclarationIDTerminalRuleCall_0_1 = (RuleCall)cReferredPartialModelDeclarationCrossReference_0.eContents().get(1); - - //PartialModelReference: - // referred=[PartialModelDeclaration]; - @Override public ParserRule getRule() { return rule; } - - //referred=[PartialModelDeclaration] - public Assignment getReferredAssignment() { return cReferredAssignment; } - - //[PartialModelDeclaration] - public CrossReference getReferredPartialModelDeclarationCrossReference_0() { return cReferredPartialModelDeclarationCrossReference_0; } - - //ID - public RuleCall getReferredPartialModelDeclarationIDTerminalRuleCall_0_1() { return cReferredPartialModelDeclarationIDTerminalRuleCall_0_1; } - } - public class PartialModelElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PartialModel"); - private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); - private final RuleCall cPartialModelSpecificationParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); - private final RuleCall cPartialModelReferenceParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); - - //PartialModel: - // PartialModelSpecification | PartialModelReference; - @Override public ParserRule getRule() { return rule; } - - //PartialModelSpecification | PartialModelReference - public Alternatives getAlternatives() { return cAlternatives; } - - //PartialModelSpecification - public RuleCall getPartialModelSpecificationParserRuleCall_0() { return cPartialModelSpecificationParserRuleCall_0; } - - //PartialModelReference - public RuleCall getPartialModelReferenceParserRuleCall_1() { return cPartialModelReferenceParserRuleCall_1; } - } - public class PatternSpecificationElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternSpecification"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final Keyword cLeftCurlyBracketKeyword_0 = (Keyword)cGroup.eContents().get(0); - private final Assignment cEntriesAssignment_1 = (Assignment)cGroup.eContents().get(1); - private final RuleCall cEntriesPatternEntryParserRuleCall_1_0 = (RuleCall)cEntriesAssignment_1.eContents().get(0); - private final Group cGroup_2 = (Group)cGroup.eContents().get(2); - private final Keyword cCommaKeyword_2_0 = (Keyword)cGroup_2.eContents().get(0); - private final Assignment cEntriesAssignment_2_1 = (Assignment)cGroup_2.eContents().get(1); - private final RuleCall cEntriesPatternEntryParserRuleCall_2_1_0 = (RuleCall)cEntriesAssignment_2_1.eContents().get(0); - private final Keyword cRightCurlyBracketKeyword_3 = (Keyword)cGroup.eContents().get(3); - - ///////////////////////////////////////////////////// - //// Patterns - ///////////////////////////////////////////////////// - //PatternSpecification: - // '{' entries+=PatternEntry (',' entries+=PatternEntry)* '}'; - @Override public ParserRule getRule() { return rule; } - - //'{' entries+=PatternEntry (',' entries+=PatternEntry)* '}' - public Group getGroup() { return cGroup; } - - //'{' - public Keyword getLeftCurlyBracketKeyword_0() { return cLeftCurlyBracketKeyword_0; } - - //entries+=PatternEntry - public Assignment getEntriesAssignment_1() { return cEntriesAssignment_1; } - - //PatternEntry - public RuleCall getEntriesPatternEntryParserRuleCall_1_0() { return cEntriesPatternEntryParserRuleCall_1_0; } - - //(',' entries+=PatternEntry)* - public Group getGroup_2() { return cGroup_2; } - - //',' - public Keyword getCommaKeyword_2_0() { return cCommaKeyword_2_0; } - - //entries+=PatternEntry - public Assignment getEntriesAssignment_2_1() { return cEntriesAssignment_2_1; } - - //PatternEntry - public RuleCall getEntriesPatternEntryParserRuleCall_2_1_0() { return cEntriesPatternEntryParserRuleCall_2_1_0; } - - //'}' - public Keyword getRightCurlyBracketKeyword_3() { return cRightCurlyBracketKeyword_3; } - } - public class PatternEntryElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternEntry"); - private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); - private final RuleCall cPatternElementParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); - private final RuleCall cAllPatternEntryParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); - - //PatternEntry: - // PatternElement | AllPatternEntry; - @Override public ParserRule getRule() { return rule; } - - //PatternElement | AllPatternEntry - public Alternatives getAlternatives() { return cAlternatives; } - - //PatternElement - public RuleCall getPatternElementParserRuleCall_0() { return cPatternElementParserRuleCall_0; } - - //AllPatternEntry - public RuleCall getAllPatternEntryParserRuleCall_1() { return cAllPatternEntryParserRuleCall_1; } - } - public class AllPatternEntryElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.AllPatternEntry"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final Keyword cPackageKeyword_0 = (Keyword)cGroup.eContents().get(0); - private final Assignment cPackageAssignment_1 = (Assignment)cGroup.eContents().get(1); - private final CrossReference cPackagePatternModelCrossReference_1_0 = (CrossReference)cPackageAssignment_1.eContents().get(0); - private final RuleCall cPackagePatternModelQualifiedNameParserRuleCall_1_0_1 = (RuleCall)cPackagePatternModelCrossReference_1_0.eContents().get(1); - private final Group cGroup_2 = (Group)cGroup.eContents().get(2); - private final Keyword cExcludingKeyword_2_0 = (Keyword)cGroup_2.eContents().get(0); - private final Keyword cLeftCurlyBracketKeyword_2_1 = (Keyword)cGroup_2.eContents().get(1); - private final Assignment cExclusuionAssignment_2_2 = (Assignment)cGroup_2.eContents().get(2); - private final RuleCall cExclusuionPatternElementParserRuleCall_2_2_0 = (RuleCall)cExclusuionAssignment_2_2.eContents().get(0); - private final Group cGroup_2_3 = (Group)cGroup_2.eContents().get(3); - private final Keyword cCommaKeyword_2_3_0 = (Keyword)cGroup_2_3.eContents().get(0); - private final Assignment cExclusuionAssignment_2_3_1 = (Assignment)cGroup_2_3.eContents().get(1); - private final RuleCall cExclusuionPatternElementParserRuleCall_2_3_1_0 = (RuleCall)cExclusuionAssignment_2_3_1.eContents().get(0); - private final Keyword cRightCurlyBracketKeyword_2_4 = (Keyword)cGroup_2.eContents().get(4); - - //AllPatternEntry: - // 'package' package=[viatra::PatternModel|QualifiedName] ('excluding' '{' exclusuion+=PatternElement (',' - // exclusuion+=PatternElement)* '}')?; - @Override public ParserRule getRule() { return rule; } - - //'package' package=[viatra::PatternModel|QualifiedName] ('excluding' '{' exclusuion+=PatternElement (',' - //exclusuion+=PatternElement)* '}')? - public Group getGroup() { return cGroup; } - - //'package' - public Keyword getPackageKeyword_0() { return cPackageKeyword_0; } - - //package=[viatra::PatternModel|QualifiedName] - public Assignment getPackageAssignment_1() { return cPackageAssignment_1; } - - //[viatra::PatternModel|QualifiedName] - public CrossReference getPackagePatternModelCrossReference_1_0() { return cPackagePatternModelCrossReference_1_0; } - - //QualifiedName - public RuleCall getPackagePatternModelQualifiedNameParserRuleCall_1_0_1() { return cPackagePatternModelQualifiedNameParserRuleCall_1_0_1; } - - //('excluding' '{' exclusuion+=PatternElement (',' exclusuion+=PatternElement)* '}')? - public Group getGroup_2() { return cGroup_2; } - - //'excluding' - public Keyword getExcludingKeyword_2_0() { return cExcludingKeyword_2_0; } - - //'{' - public Keyword getLeftCurlyBracketKeyword_2_1() { return cLeftCurlyBracketKeyword_2_1; } - - //exclusuion+=PatternElement - public Assignment getExclusuionAssignment_2_2() { return cExclusuionAssignment_2_2; } - - //PatternElement - public RuleCall getExclusuionPatternElementParserRuleCall_2_2_0() { return cExclusuionPatternElementParserRuleCall_2_2_0; } - - //(',' exclusuion+=PatternElement)* - public Group getGroup_2_3() { return cGroup_2_3; } - - //',' - public Keyword getCommaKeyword_2_3_0() { return cCommaKeyword_2_3_0; } - - //exclusuion+=PatternElement - public Assignment getExclusuionAssignment_2_3_1() { return cExclusuionAssignment_2_3_1; } - - //PatternElement - public RuleCall getExclusuionPatternElementParserRuleCall_2_3_1_0() { return cExclusuionPatternElementParserRuleCall_2_3_1_0; } - - //'}' - public Keyword getRightCurlyBracketKeyword_2_4() { return cRightCurlyBracketKeyword_2_4; } - } - public class PatternElementElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternElement"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final Group cGroup_0 = (Group)cGroup.eContents().get(0); - private final Assignment cPackageAssignment_0_0 = (Assignment)cGroup_0.eContents().get(0); - private final CrossReference cPackagePatternModelCrossReference_0_0_0 = (CrossReference)cPackageAssignment_0_0.eContents().get(0); - private final RuleCall cPackagePatternModelQualifiedNameParserRuleCall_0_0_0_1 = (RuleCall)cPackagePatternModelCrossReference_0_0_0.eContents().get(1); - private final Keyword cColonColonKeyword_0_1 = (Keyword)cGroup_0.eContents().get(1); - private final Assignment cPatternAssignment_1 = (Assignment)cGroup.eContents().get(1); - private final CrossReference cPatternPatternCrossReference_1_0 = (CrossReference)cPatternAssignment_1.eContents().get(0); - private final RuleCall cPatternPatternIDTerminalRuleCall_1_0_1 = (RuleCall)cPatternPatternCrossReference_1_0.eContents().get(1); - - //PatternElement: - // (package=[viatra::PatternModel|QualifiedName] '::')? pattern=[viatra::Pattern]; - @Override public ParserRule getRule() { return rule; } - - //(package=[viatra::PatternModel|QualifiedName] '::')? pattern=[viatra::Pattern] - public Group getGroup() { return cGroup; } - - //(package=[viatra::PatternModel|QualifiedName] '::')? - public Group getGroup_0() { return cGroup_0; } - - //package=[viatra::PatternModel|QualifiedName] - public Assignment getPackageAssignment_0_0() { return cPackageAssignment_0_0; } - - //[viatra::PatternModel|QualifiedName] - public CrossReference getPackagePatternModelCrossReference_0_0_0() { return cPackagePatternModelCrossReference_0_0_0; } - - //QualifiedName - public RuleCall getPackagePatternModelQualifiedNameParserRuleCall_0_0_0_1() { return cPackagePatternModelQualifiedNameParserRuleCall_0_0_0_1; } - - //'::' - public Keyword getColonColonKeyword_0_1() { return cColonColonKeyword_0_1; } - - //pattern=[viatra::Pattern] - public Assignment getPatternAssignment_1() { return cPatternAssignment_1; } - - //[viatra::Pattern] - public CrossReference getPatternPatternCrossReference_1_0() { return cPatternPatternCrossReference_1_0; } - - //ID - public RuleCall getPatternPatternIDTerminalRuleCall_1_0_1() { return cPatternPatternIDTerminalRuleCall_1_0_1; } - } - public class GraphPatternDeclarationElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.GraphPatternDeclaration"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final Keyword cConstraintsKeyword_0 = (Keyword)cGroup.eContents().get(0); - private final Assignment cNameAssignment_1 = (Assignment)cGroup.eContents().get(1); - private final RuleCall cNameIDTerminalRuleCall_1_0 = (RuleCall)cNameAssignment_1.eContents().get(0); - private final Assignment cSpecificationAssignment_2 = (Assignment)cGroup.eContents().get(2); - private final RuleCall cSpecificationPatternSpecificationParserRuleCall_2_0 = (RuleCall)cSpecificationAssignment_2.eContents().get(0); - - //GraphPatternDeclaration: - // 'constraints' name=ID specification=PatternSpecification; - @Override public ParserRule getRule() { return rule; } - - //'constraints' name=ID specification=PatternSpecification - public Group getGroup() { return cGroup; } - - //'constraints' - public Keyword getConstraintsKeyword_0() { return cConstraintsKeyword_0; } - - //name=ID - public Assignment getNameAssignment_1() { return cNameAssignment_1; } - - //ID - public RuleCall getNameIDTerminalRuleCall_1_0() { return cNameIDTerminalRuleCall_1_0; } - - //specification=PatternSpecification - public Assignment getSpecificationAssignment_2() { return cSpecificationAssignment_2; } - - //PatternSpecification - public RuleCall getSpecificationPatternSpecificationParserRuleCall_2_0() { return cSpecificationPatternSpecificationParserRuleCall_2_0; } - } - public class GraphPatternReferenceElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.GraphPatternReference"); - private final Assignment cReferredAssignment = (Assignment)rule.eContents().get(1); - private final CrossReference cReferredGraphPatternDeclarationCrossReference_0 = (CrossReference)cReferredAssignment.eContents().get(0); - private final RuleCall cReferredGraphPatternDeclarationIDTerminalRuleCall_0_1 = (RuleCall)cReferredGraphPatternDeclarationCrossReference_0.eContents().get(1); - - //GraphPatternReference: - // referred=[GraphPatternDeclaration]; - @Override public ParserRule getRule() { return rule; } - - //referred=[GraphPatternDeclaration] - public Assignment getReferredAssignment() { return cReferredAssignment; } - - //[GraphPatternDeclaration] - public CrossReference getReferredGraphPatternDeclarationCrossReference_0() { return cReferredGraphPatternDeclarationCrossReference_0; } - - //ID - public RuleCall getReferredGraphPatternDeclarationIDTerminalRuleCall_0_1() { return cReferredGraphPatternDeclarationIDTerminalRuleCall_0_1; } - } - public class GraphPatternElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.GraphPattern"); - private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); - private final RuleCall cGraphPatternReferenceParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); - private final RuleCall cPatternSpecificationParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); - - //GraphPattern: - // GraphPatternReference | PatternSpecification; - @Override public ParserRule getRule() { return rule; } - - //GraphPatternReference | PatternSpecification - public Alternatives getAlternatives() { return cAlternatives; } - - //GraphPatternReference - public RuleCall getGraphPatternReferenceParserRuleCall_0() { return cGraphPatternReferenceParserRuleCall_0; } - - //PatternSpecification - public RuleCall getPatternSpecificationParserRuleCall_1() { return cPatternSpecificationParserRuleCall_1; } - } - public class ConfigSpecificationElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ConfigSpecification"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final Action cConfigSpecificationAction_0 = (Action)cGroup.eContents().get(0); - private final Keyword cLeftCurlyBracketKeyword_1 = (Keyword)cGroup.eContents().get(1); - private final Group cGroup_2 = (Group)cGroup.eContents().get(2); - private final Assignment cEntriesAssignment_2_0 = (Assignment)cGroup_2.eContents().get(0); - private final RuleCall cEntriesConfigEntryParserRuleCall_2_0_0 = (RuleCall)cEntriesAssignment_2_0.eContents().get(0); - private final Group cGroup_2_1 = (Group)cGroup_2.eContents().get(1); - private final Keyword cCommaKeyword_2_1_0 = (Keyword)cGroup_2_1.eContents().get(0); - private final Assignment cEntriesAssignment_2_1_1 = (Assignment)cGroup_2_1.eContents().get(1); - private final RuleCall cEntriesConfigEntryParserRuleCall_2_1_1_0 = (RuleCall)cEntriesAssignment_2_1_1.eContents().get(0); - private final Keyword cRightCurlyBracketKeyword_3 = (Keyword)cGroup.eContents().get(3); - - ///////////////////////////////////////////////////// - //// SolverConfig - ///////////////////////////////////////////////////// - //ConfigSpecification: - // {ConfigSpecification} '{' (entries+=ConfigEntry ("," entries+=ConfigEntry)*)? - // '}'; - @Override public ParserRule getRule() { return rule; } - - //{ConfigSpecification} '{' (entries+=ConfigEntry ("," entries+=ConfigEntry)*)? '}' - public Group getGroup() { return cGroup; } - - //{ConfigSpecification} - public Action getConfigSpecificationAction_0() { return cConfigSpecificationAction_0; } - - //'{' - public Keyword getLeftCurlyBracketKeyword_1() { return cLeftCurlyBracketKeyword_1; } - - //(entries+=ConfigEntry ("," entries+=ConfigEntry)*)? - public Group getGroup_2() { return cGroup_2; } - - //entries+=ConfigEntry - public Assignment getEntriesAssignment_2_0() { return cEntriesAssignment_2_0; } - - //ConfigEntry - public RuleCall getEntriesConfigEntryParserRuleCall_2_0_0() { return cEntriesConfigEntryParserRuleCall_2_0_0; } - - //("," entries+=ConfigEntry)* - public Group getGroup_2_1() { return cGroup_2_1; } - - //"," - public Keyword getCommaKeyword_2_1_0() { return cCommaKeyword_2_1_0; } - - //entries+=ConfigEntry - public Assignment getEntriesAssignment_2_1_1() { return cEntriesAssignment_2_1_1; } - - //ConfigEntry - public RuleCall getEntriesConfigEntryParserRuleCall_2_1_1_0() { return cEntriesConfigEntryParserRuleCall_2_1_1_0; } - - //'}' - public Keyword getRightCurlyBracketKeyword_3() { return cRightCurlyBracketKeyword_3; } - } - public class ConfigDeclarationElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ConfigDeclaration"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final Keyword cConfigKeyword_0 = (Keyword)cGroup.eContents().get(0); - private final Assignment cNameAssignment_1 = (Assignment)cGroup.eContents().get(1); - private final RuleCall cNameIDTerminalRuleCall_1_0 = (RuleCall)cNameAssignment_1.eContents().get(0); - private final Assignment cSpecificationAssignment_2 = (Assignment)cGroup.eContents().get(2); - private final RuleCall cSpecificationConfigSpecificationParserRuleCall_2_0 = (RuleCall)cSpecificationAssignment_2.eContents().get(0); - - //ConfigDeclaration: - // 'config' name=ID specification=ConfigSpecification; - @Override public ParserRule getRule() { return rule; } - - //'config' name=ID specification=ConfigSpecification - public Group getGroup() { return cGroup; } - - //'config' - public Keyword getConfigKeyword_0() { return cConfigKeyword_0; } - - //name=ID - public Assignment getNameAssignment_1() { return cNameAssignment_1; } - - //ID - public RuleCall getNameIDTerminalRuleCall_1_0() { return cNameIDTerminalRuleCall_1_0; } - - //specification=ConfigSpecification - public Assignment getSpecificationAssignment_2() { return cSpecificationAssignment_2; } - - //ConfigSpecification - public RuleCall getSpecificationConfigSpecificationParserRuleCall_2_0() { return cSpecificationConfigSpecificationParserRuleCall_2_0; } - } - public class ConfigEntryElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ConfigEntry"); - private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); - private final RuleCall cDocumentationEntryParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); - private final RuleCall cRuntimeEntryParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); - private final RuleCall cMemoryEntryParserRuleCall_2 = (RuleCall)cAlternatives.eContents().get(2); - private final RuleCall cCustomEntryParserRuleCall_3 = (RuleCall)cAlternatives.eContents().get(3); - - //ConfigEntry: - // DocumentationEntry | RuntimeEntry | MemoryEntry | CustomEntry; - @Override public ParserRule getRule() { return rule; } - - //DocumentationEntry | RuntimeEntry | MemoryEntry | CustomEntry - public Alternatives getAlternatives() { return cAlternatives; } - - //DocumentationEntry - public RuleCall getDocumentationEntryParserRuleCall_0() { return cDocumentationEntryParserRuleCall_0; } - - //RuntimeEntry - public RuleCall getRuntimeEntryParserRuleCall_1() { return cRuntimeEntryParserRuleCall_1; } - - //MemoryEntry - public RuleCall getMemoryEntryParserRuleCall_2() { return cMemoryEntryParserRuleCall_2; } - - //CustomEntry - public RuleCall getCustomEntryParserRuleCall_3() { return cCustomEntryParserRuleCall_3; } - } - public class DocumentationEntryElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.DocumentationEntry"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final Keyword cLogLevelKeyword_0 = (Keyword)cGroup.eContents().get(0); - private final Keyword cEqualsSignKeyword_1 = (Keyword)cGroup.eContents().get(1); - private final Assignment cLevelAssignment_2 = (Assignment)cGroup.eContents().get(2); - private final RuleCall cLevelDocumentLevelSpecificationEnumRuleCall_2_0 = (RuleCall)cLevelAssignment_2.eContents().get(0); - - //DocumentationEntry: - // "log-level" '=' level=DocumentLevelSpecification; - @Override public ParserRule getRule() { return rule; } - - //"log-level" '=' level=DocumentLevelSpecification - public Group getGroup() { return cGroup; } - - //"log-level" - public Keyword getLogLevelKeyword_0() { return cLogLevelKeyword_0; } - - //'=' - public Keyword getEqualsSignKeyword_1() { return cEqualsSignKeyword_1; } - - //level=DocumentLevelSpecification - public Assignment getLevelAssignment_2() { return cLevelAssignment_2; } - - //DocumentLevelSpecification - public RuleCall getLevelDocumentLevelSpecificationEnumRuleCall_2_0() { return cLevelDocumentLevelSpecificationEnumRuleCall_2_0; } - } - public class RuntimeEntryElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.RuntimeEntry"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final Keyword cRuntimeKeyword_0 = (Keyword)cGroup.eContents().get(0); - private final Keyword cEqualsSignKeyword_1 = (Keyword)cGroup.eContents().get(1); - private final Assignment cMillisecLimitAssignment_2 = (Assignment)cGroup.eContents().get(2); - private final RuleCall cMillisecLimitINTTerminalRuleCall_2_0 = (RuleCall)cMillisecLimitAssignment_2.eContents().get(0); - - //RuntimeEntry: - // "runtime" "=" millisecLimit=INT; - @Override public ParserRule getRule() { return rule; } - - //"runtime" "=" millisecLimit=INT - public Group getGroup() { return cGroup; } - - //"runtime" - public Keyword getRuntimeKeyword_0() { return cRuntimeKeyword_0; } - - //"=" - public Keyword getEqualsSignKeyword_1() { return cEqualsSignKeyword_1; } - - //millisecLimit=INT - public Assignment getMillisecLimitAssignment_2() { return cMillisecLimitAssignment_2; } - - //INT - public RuleCall getMillisecLimitINTTerminalRuleCall_2_0() { return cMillisecLimitINTTerminalRuleCall_2_0; } - } - public class MemoryEntryElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MemoryEntry"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final Keyword cMemoryKeyword_0 = (Keyword)cGroup.eContents().get(0); - private final Keyword cEqualsSignKeyword_1 = (Keyword)cGroup.eContents().get(1); - private final Assignment cMegabyteLimitAssignment_2 = (Assignment)cGroup.eContents().get(2); - private final RuleCall cMegabyteLimitINTTerminalRuleCall_2_0 = (RuleCall)cMegabyteLimitAssignment_2.eContents().get(0); - - //MemoryEntry: - // "memory" "=" megabyteLimit=INT; - @Override public ParserRule getRule() { return rule; } - - //"memory" "=" megabyteLimit=INT - public Group getGroup() { return cGroup; } - - //"memory" - public Keyword getMemoryKeyword_0() { return cMemoryKeyword_0; } - - //"=" - public Keyword getEqualsSignKeyword_1() { return cEqualsSignKeyword_1; } - - //megabyteLimit=INT - public Assignment getMegabyteLimitAssignment_2() { return cMegabyteLimitAssignment_2; } - - //INT - public RuleCall getMegabyteLimitINTTerminalRuleCall_2_0() { return cMegabyteLimitINTTerminalRuleCall_2_0; } - } - public class CustomEntryElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.CustomEntry"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final Assignment cKeyAssignment_0 = (Assignment)cGroup.eContents().get(0); - private final RuleCall cKeySTRINGTerminalRuleCall_0_0 = (RuleCall)cKeyAssignment_0.eContents().get(0); - private final Keyword cEqualsSignKeyword_1 = (Keyword)cGroup.eContents().get(1); - private final Assignment cValueAssignment_2 = (Assignment)cGroup.eContents().get(2); - private final RuleCall cValueSTRINGTerminalRuleCall_2_0 = (RuleCall)cValueAssignment_2.eContents().get(0); - - //CustomEntry: - // key=STRING "=" value=STRING; - @Override public ParserRule getRule() { return rule; } - - //key=STRING "=" value=STRING - public Group getGroup() { return cGroup; } - - //key=STRING - public Assignment getKeyAssignment_0() { return cKeyAssignment_0; } - - //STRING - public RuleCall getKeySTRINGTerminalRuleCall_0_0() { return cKeySTRINGTerminalRuleCall_0_0; } - - //"=" - public Keyword getEqualsSignKeyword_1() { return cEqualsSignKeyword_1; } - - //value=STRING - public Assignment getValueAssignment_2() { return cValueAssignment_2; } - - //STRING - public RuleCall getValueSTRINGTerminalRuleCall_2_0() { return cValueSTRINGTerminalRuleCall_2_0; } - } - public class ConfigReferenceElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ConfigReference"); - private final Assignment cConfigAssignment = (Assignment)rule.eContents().get(1); - private final CrossReference cConfigConfigDeclarationCrossReference_0 = (CrossReference)cConfigAssignment.eContents().get(0); - private final RuleCall cConfigConfigDeclarationIDTerminalRuleCall_0_1 = (RuleCall)cConfigConfigDeclarationCrossReference_0.eContents().get(1); - - //ConfigReference: - // config=[ConfigDeclaration]; - @Override public ParserRule getRule() { return rule; } - - //config=[ConfigDeclaration] - public Assignment getConfigAssignment() { return cConfigAssignment; } - - //[ConfigDeclaration] - public CrossReference getConfigConfigDeclarationCrossReference_0() { return cConfigConfigDeclarationCrossReference_0; } - - //ID - public RuleCall getConfigConfigDeclarationIDTerminalRuleCall_0_1() { return cConfigConfigDeclarationIDTerminalRuleCall_0_1; } - } - public class ConfigElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Config"); - private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); - private final RuleCall cConfigSpecificationParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); - private final RuleCall cConfigReferenceParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); - - //Config: - // ConfigSpecification | ConfigReference; - @Override public ParserRule getRule() { return rule; } - - //ConfigSpecification | ConfigReference - public Alternatives getAlternatives() { return cAlternatives; } - - //ConfigSpecification - public RuleCall getConfigSpecificationParserRuleCall_0() { return cConfigSpecificationParserRuleCall_0; } - - //ConfigReference - public RuleCall getConfigReferenceParserRuleCall_1() { return cConfigReferenceParserRuleCall_1; } - } - public class ScopeSpecificationElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ScopeSpecification"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final Action cScopeSpecificationAction_0 = (Action)cGroup.eContents().get(0); - private final Keyword cLeftCurlyBracketKeyword_1 = (Keyword)cGroup.eContents().get(1); - private final Group cGroup_2 = (Group)cGroup.eContents().get(2); - private final Assignment cScopesAssignment_2_0 = (Assignment)cGroup_2.eContents().get(0); - private final RuleCall cScopesTypeScopeParserRuleCall_2_0_0 = (RuleCall)cScopesAssignment_2_0.eContents().get(0); - private final Group cGroup_2_1 = (Group)cGroup_2.eContents().get(1); - private final Keyword cCommaKeyword_2_1_0 = (Keyword)cGroup_2_1.eContents().get(0); - private final Assignment cScopesAssignment_2_1_1 = (Assignment)cGroup_2_1.eContents().get(1); - private final RuleCall cScopesTypeScopeParserRuleCall_2_1_1_0 = (RuleCall)cScopesAssignment_2_1_1.eContents().get(0); - private final Keyword cRightCurlyBracketKeyword_3 = (Keyword)cGroup.eContents().get(3); - - //ScopeSpecification: - // {ScopeSpecification} '{' (scopes+=TypeScope (',' scopes+=TypeScope)*)? - // '}'; - @Override public ParserRule getRule() { return rule; } - - //{ScopeSpecification} '{' (scopes+=TypeScope (',' scopes+=TypeScope)*)? '}' - public Group getGroup() { return cGroup; } - - //{ScopeSpecification} - public Action getScopeSpecificationAction_0() { return cScopeSpecificationAction_0; } - - //'{' - public Keyword getLeftCurlyBracketKeyword_1() { return cLeftCurlyBracketKeyword_1; } - - //(scopes+=TypeScope (',' scopes+=TypeScope)*)? - public Group getGroup_2() { return cGroup_2; } - - //scopes+=TypeScope - public Assignment getScopesAssignment_2_0() { return cScopesAssignment_2_0; } - - //TypeScope - public RuleCall getScopesTypeScopeParserRuleCall_2_0_0() { return cScopesTypeScopeParserRuleCall_2_0_0; } - - //(',' scopes+=TypeScope)* - public Group getGroup_2_1() { return cGroup_2_1; } - - //',' - public Keyword getCommaKeyword_2_1_0() { return cCommaKeyword_2_1_0; } - - //scopes+=TypeScope - public Assignment getScopesAssignment_2_1_1() { return cScopesAssignment_2_1_1; } - - //TypeScope - public RuleCall getScopesTypeScopeParserRuleCall_2_1_1_0() { return cScopesTypeScopeParserRuleCall_2_1_1_0; } - - //'}' - public Keyword getRightCurlyBracketKeyword_3() { return cRightCurlyBracketKeyword_3; } - } - public class TypeScopeElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.TypeScope"); - private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); - private final RuleCall cClassTypeScopeParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); - private final RuleCall cObjectTypeScopeParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); - private final RuleCall cIntegerTypeScopeParserRuleCall_2 = (RuleCall)cAlternatives.eContents().get(2); - private final RuleCall cRealTypeScopeParserRuleCall_3 = (RuleCall)cAlternatives.eContents().get(3); - private final RuleCall cStringTypeScopeParserRuleCall_4 = (RuleCall)cAlternatives.eContents().get(4); - - //TypeScope: - // ClassTypeScope | ObjectTypeScope | IntegerTypeScope | RealTypeScope | StringTypeScope; - @Override public ParserRule getRule() { return rule; } - - //ClassTypeScope | ObjectTypeScope | IntegerTypeScope | RealTypeScope | StringTypeScope - public Alternatives getAlternatives() { return cAlternatives; } - - //ClassTypeScope - public RuleCall getClassTypeScopeParserRuleCall_0() { return cClassTypeScopeParserRuleCall_0; } - - //ObjectTypeScope - public RuleCall getObjectTypeScopeParserRuleCall_1() { return cObjectTypeScopeParserRuleCall_1; } - - //IntegerTypeScope - public RuleCall getIntegerTypeScopeParserRuleCall_2() { return cIntegerTypeScopeParserRuleCall_2; } - - //RealTypeScope - public RuleCall getRealTypeScopeParserRuleCall_3() { return cRealTypeScopeParserRuleCall_3; } - - //StringTypeScope - public RuleCall getStringTypeScopeParserRuleCall_4() { return cStringTypeScopeParserRuleCall_4; } - } - public class ClassTypeScopeElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ClassTypeScope"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final Keyword cNumberSignKeyword_0 = (Keyword)cGroup.eContents().get(0); - private final Assignment cTypeAssignment_1 = (Assignment)cGroup.eContents().get(1); - private final RuleCall cTypeClassReferenceParserRuleCall_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 Alternatives cAlternatives_3 = (Alternatives)cGroup.eContents().get(3); - private final Assignment cNumberAssignment_3_0 = (Assignment)cAlternatives_3.eContents().get(0); - private final RuleCall cNumberExactNumberParserRuleCall_3_0_0 = (RuleCall)cNumberAssignment_3_0.eContents().get(0); - private final Assignment cNumberAssignment_3_1 = (Assignment)cAlternatives_3.eContents().get(1); - private final RuleCall cNumberIntervallNumberParserRuleCall_3_1_0 = (RuleCall)cNumberAssignment_3_1.eContents().get(0); - - //ClassTypeScope: - // '#' type=ClassReference (setsNew?='+=' | setsSum?='=') (number=ExactNumber | number=IntervallNumber); - @Override public ParserRule getRule() { return rule; } - - //'#' type=ClassReference (setsNew?='+=' | setsSum?='=') (number=ExactNumber | number=IntervallNumber) - public Group getGroup() { return cGroup; } - - //'#' - public Keyword getNumberSignKeyword_0() { return cNumberSignKeyword_0; } - - //type=ClassReference - public Assignment getTypeAssignment_1() { return cTypeAssignment_1; } - - //ClassReference - public RuleCall getTypeClassReferenceParserRuleCall_1_0() { return cTypeClassReferenceParserRuleCall_1_0; } - - //setsNew?='+=' | setsSum?='=' - public Alternatives getAlternatives_2() { return cAlternatives_2; } - - //setsNew?='+=' - public Assignment getSetsNewAssignment_2_0() { return cSetsNewAssignment_2_0; } - - //'+=' - public Keyword getSetsNewPlusSignEqualsSignKeyword_2_0_0() { return cSetsNewPlusSignEqualsSignKeyword_2_0_0; } - - //setsSum?='=' - public Assignment getSetsSumAssignment_2_1() { return cSetsSumAssignment_2_1; } - - //'=' - public Keyword getSetsSumEqualsSignKeyword_2_1_0() { return cSetsSumEqualsSignKeyword_2_1_0; } - - //number=ExactNumber | number=IntervallNumber - public Alternatives getAlternatives_3() { return cAlternatives_3; } - - //number=ExactNumber - public Assignment getNumberAssignment_3_0() { return cNumberAssignment_3_0; } - - //ExactNumber - public RuleCall getNumberExactNumberParserRuleCall_3_0_0() { return cNumberExactNumberParserRuleCall_3_0_0; } - - //number=IntervallNumber - public Assignment getNumberAssignment_3_1() { return cNumberAssignment_3_1; } - - //IntervallNumber - public RuleCall getNumberIntervallNumberParserRuleCall_3_1_0() { return cNumberIntervallNumberParserRuleCall_3_1_0; } - } - public class ObjectTypeScopeElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ObjectTypeScope"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final Keyword cNumberSignKeyword_0 = (Keyword)cGroup.eContents().get(0); - private final Assignment cTypeAssignment_1 = (Assignment)cGroup.eContents().get(1); - private final RuleCall cTypeObjectReferenceParserRuleCall_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 Alternatives cAlternatives_3 = (Alternatives)cGroup.eContents().get(3); - private final Assignment cNumberAssignment_3_0 = (Assignment)cAlternatives_3.eContents().get(0); - private final RuleCall cNumberExactNumberParserRuleCall_3_0_0 = (RuleCall)cNumberAssignment_3_0.eContents().get(0); - private final Assignment cNumberAssignment_3_1 = (Assignment)cAlternatives_3.eContents().get(1); - private final RuleCall cNumberIntervallNumberParserRuleCall_3_1_0 = (RuleCall)cNumberAssignment_3_1.eContents().get(0); - - //ObjectTypeScope: - // '#' type=ObjectReference (setsNew?='+=' | setsSum?='=') (number=ExactNumber | number=IntervallNumber); - @Override public ParserRule getRule() { return rule; } - - //'#' type=ObjectReference (setsNew?='+=' | setsSum?='=') (number=ExactNumber | number=IntervallNumber) - public Group getGroup() { return cGroup; } - - //'#' - public Keyword getNumberSignKeyword_0() { return cNumberSignKeyword_0; } - - //type=ObjectReference - public Assignment getTypeAssignment_1() { return cTypeAssignment_1; } - - //ObjectReference - public RuleCall getTypeObjectReferenceParserRuleCall_1_0() { return cTypeObjectReferenceParserRuleCall_1_0; } - - //setsNew?='+=' | setsSum?='=' - public Alternatives getAlternatives_2() { return cAlternatives_2; } - - //setsNew?='+=' - public Assignment getSetsNewAssignment_2_0() { return cSetsNewAssignment_2_0; } - - //'+=' - public Keyword getSetsNewPlusSignEqualsSignKeyword_2_0_0() { return cSetsNewPlusSignEqualsSignKeyword_2_0_0; } - - //setsSum?='=' - public Assignment getSetsSumAssignment_2_1() { return cSetsSumAssignment_2_1; } - - //'=' - public Keyword getSetsSumEqualsSignKeyword_2_1_0() { return cSetsSumEqualsSignKeyword_2_1_0; } - - //number=ExactNumber | number=IntervallNumber - public Alternatives getAlternatives_3() { return cAlternatives_3; } - - //number=ExactNumber - public Assignment getNumberAssignment_3_0() { return cNumberAssignment_3_0; } - - //ExactNumber - public RuleCall getNumberExactNumberParserRuleCall_3_0_0() { return cNumberExactNumberParserRuleCall_3_0_0; } - - //number=IntervallNumber - public Assignment getNumberAssignment_3_1() { return cNumberAssignment_3_1; } - - //IntervallNumber - public RuleCall getNumberIntervallNumberParserRuleCall_3_1_0() { return cNumberIntervallNumberParserRuleCall_3_1_0; } - } - public class IntegerTypeScopeElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntegerTypeScope"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final Keyword cNumberSignKeyword_0 = (Keyword)cGroup.eContents().get(0); - private final Assignment cTypeAssignment_1 = (Assignment)cGroup.eContents().get(1); - private final RuleCall cTypeIntegerReferenceParserRuleCall_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 Alternatives cAlternatives_3 = (Alternatives)cGroup.eContents().get(3); - private final Assignment cNumberAssignment_3_0 = (Assignment)cAlternatives_3.eContents().get(0); - private final RuleCall cNumberExactNumberParserRuleCall_3_0_0 = (RuleCall)cNumberAssignment_3_0.eContents().get(0); - private final Assignment cNumberAssignment_3_1 = (Assignment)cAlternatives_3.eContents().get(1); - private final RuleCall cNumberIntervallNumberParserRuleCall_3_1_0 = (RuleCall)cNumberAssignment_3_1.eContents().get(0); - private final Assignment cNumberAssignment_3_2 = (Assignment)cAlternatives_3.eContents().get(2); - private final RuleCall cNumberIntEnumberationParserRuleCall_3_2_0 = (RuleCall)cNumberAssignment_3_2.eContents().get(0); - - //IntegerTypeScope: - // '#' type=IntegerReference (setsNew?='+=' | setsSum?='=') (number=ExactNumber | number=IntervallNumber | - // number=IntEnumberation); - @Override public ParserRule getRule() { return rule; } - - //'#' type=IntegerReference (setsNew?='+=' | setsSum?='=') (number=ExactNumber | number=IntervallNumber | - //number=IntEnumberation) - public Group getGroup() { return cGroup; } - - //'#' - public Keyword getNumberSignKeyword_0() { return cNumberSignKeyword_0; } - - //type=IntegerReference - public Assignment getTypeAssignment_1() { return cTypeAssignment_1; } - - //IntegerReference - public RuleCall getTypeIntegerReferenceParserRuleCall_1_0() { return cTypeIntegerReferenceParserRuleCall_1_0; } - - //setsNew?='+=' | setsSum?='=' - public Alternatives getAlternatives_2() { return cAlternatives_2; } - - //setsNew?='+=' - public Assignment getSetsNewAssignment_2_0() { return cSetsNewAssignment_2_0; } - - //'+=' - public Keyword getSetsNewPlusSignEqualsSignKeyword_2_0_0() { return cSetsNewPlusSignEqualsSignKeyword_2_0_0; } - - //setsSum?='=' - public Assignment getSetsSumAssignment_2_1() { return cSetsSumAssignment_2_1; } - - //'=' - public Keyword getSetsSumEqualsSignKeyword_2_1_0() { return cSetsSumEqualsSignKeyword_2_1_0; } - - //number=ExactNumber | number=IntervallNumber | number=IntEnumberation - public Alternatives getAlternatives_3() { return cAlternatives_3; } - - //number=ExactNumber - public Assignment getNumberAssignment_3_0() { return cNumberAssignment_3_0; } - - //ExactNumber - public RuleCall getNumberExactNumberParserRuleCall_3_0_0() { return cNumberExactNumberParserRuleCall_3_0_0; } - - //number=IntervallNumber - public Assignment getNumberAssignment_3_1() { return cNumberAssignment_3_1; } - - //IntervallNumber - public RuleCall getNumberIntervallNumberParserRuleCall_3_1_0() { return cNumberIntervallNumberParserRuleCall_3_1_0; } - - //number=IntEnumberation - public Assignment getNumberAssignment_3_2() { return cNumberAssignment_3_2; } - - //IntEnumberation - public RuleCall getNumberIntEnumberationParserRuleCall_3_2_0() { return cNumberIntEnumberationParserRuleCall_3_2_0; } - } - public class RealTypeScopeElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.RealTypeScope"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final Keyword cNumberSignKeyword_0 = (Keyword)cGroup.eContents().get(0); - private final Assignment cTypeAssignment_1 = (Assignment)cGroup.eContents().get(1); - private final RuleCall cTypeRealReferenceParserRuleCall_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 Alternatives cAlternatives_3 = (Alternatives)cGroup.eContents().get(3); - private final Assignment cNumberAssignment_3_0 = (Assignment)cAlternatives_3.eContents().get(0); - private final RuleCall cNumberExactNumberParserRuleCall_3_0_0 = (RuleCall)cNumberAssignment_3_0.eContents().get(0); - private final Assignment cNumberAssignment_3_1 = (Assignment)cAlternatives_3.eContents().get(1); - private final RuleCall cNumberIntervallNumberParserRuleCall_3_1_0 = (RuleCall)cNumberAssignment_3_1.eContents().get(0); - private final Assignment cNumberAssignment_3_2 = (Assignment)cAlternatives_3.eContents().get(2); - private final RuleCall cNumberRealEnumerationParserRuleCall_3_2_0 = (RuleCall)cNumberAssignment_3_2.eContents().get(0); - - //RealTypeScope: - // '#' type=RealReference (setsNew?='+=' | setsSum?='=') (number=ExactNumber | number=IntervallNumber | - // number=RealEnumeration); - @Override public ParserRule getRule() { return rule; } - - //'#' type=RealReference (setsNew?='+=' | setsSum?='=') (number=ExactNumber | number=IntervallNumber | - //number=RealEnumeration) - public Group getGroup() { return cGroup; } - - //'#' - public Keyword getNumberSignKeyword_0() { return cNumberSignKeyword_0; } - - //type=RealReference - public Assignment getTypeAssignment_1() { return cTypeAssignment_1; } - - //RealReference - public RuleCall getTypeRealReferenceParserRuleCall_1_0() { return cTypeRealReferenceParserRuleCall_1_0; } - - //setsNew?='+=' | setsSum?='=' - public Alternatives getAlternatives_2() { return cAlternatives_2; } - - //setsNew?='+=' - public Assignment getSetsNewAssignment_2_0() { return cSetsNewAssignment_2_0; } - - //'+=' - public Keyword getSetsNewPlusSignEqualsSignKeyword_2_0_0() { return cSetsNewPlusSignEqualsSignKeyword_2_0_0; } - - //setsSum?='=' - public Assignment getSetsSumAssignment_2_1() { return cSetsSumAssignment_2_1; } - - //'=' - public Keyword getSetsSumEqualsSignKeyword_2_1_0() { return cSetsSumEqualsSignKeyword_2_1_0; } - - //number=ExactNumber | number=IntervallNumber | number=RealEnumeration - public Alternatives getAlternatives_3() { return cAlternatives_3; } - - //number=ExactNumber - public Assignment getNumberAssignment_3_0() { return cNumberAssignment_3_0; } - - //ExactNumber - public RuleCall getNumberExactNumberParserRuleCall_3_0_0() { return cNumberExactNumberParserRuleCall_3_0_0; } - - //number=IntervallNumber - public Assignment getNumberAssignment_3_1() { return cNumberAssignment_3_1; } - - //IntervallNumber - public RuleCall getNumberIntervallNumberParserRuleCall_3_1_0() { return cNumberIntervallNumberParserRuleCall_3_1_0; } - - //number=RealEnumeration - public Assignment getNumberAssignment_3_2() { return cNumberAssignment_3_2; } - - //RealEnumeration - public RuleCall getNumberRealEnumerationParserRuleCall_3_2_0() { return cNumberRealEnumerationParserRuleCall_3_2_0; } - } - public class StringTypeScopeElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.StringTypeScope"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final Keyword cNumberSignKeyword_0 = (Keyword)cGroup.eContents().get(0); - private final Assignment cTypeAssignment_1 = (Assignment)cGroup.eContents().get(1); - private final RuleCall cTypeStringReferenceParserRuleCall_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 Alternatives cAlternatives_3 = (Alternatives)cGroup.eContents().get(3); - private final Assignment cNumberAssignment_3_0 = (Assignment)cAlternatives_3.eContents().get(0); - private final RuleCall cNumberExactNumberParserRuleCall_3_0_0 = (RuleCall)cNumberAssignment_3_0.eContents().get(0); - private final Assignment cNumberAssignment_3_1 = (Assignment)cAlternatives_3.eContents().get(1); - private final RuleCall cNumberIntervallNumberParserRuleCall_3_1_0 = (RuleCall)cNumberAssignment_3_1.eContents().get(0); - private final Assignment cNumberAssignment_3_2 = (Assignment)cAlternatives_3.eContents().get(2); - private final RuleCall cNumberStringEnumerationParserRuleCall_3_2_0 = (RuleCall)cNumberAssignment_3_2.eContents().get(0); - - //StringTypeScope: - // '#' type=StringReference (setsNew?='+=' | setsSum?='=') (number=ExactNumber | number=IntervallNumber | - // number=StringEnumeration); - @Override public ParserRule getRule() { return rule; } - - //'#' type=StringReference (setsNew?='+=' | setsSum?='=') (number=ExactNumber | number=IntervallNumber | - //number=StringEnumeration) - public Group getGroup() { return cGroup; } - - //'#' - public Keyword getNumberSignKeyword_0() { return cNumberSignKeyword_0; } - - //type=StringReference - public Assignment getTypeAssignment_1() { return cTypeAssignment_1; } - - //StringReference - public RuleCall getTypeStringReferenceParserRuleCall_1_0() { return cTypeStringReferenceParserRuleCall_1_0; } - - //setsNew?='+=' | setsSum?='=' - public Alternatives getAlternatives_2() { return cAlternatives_2; } - - //setsNew?='+=' - public Assignment getSetsNewAssignment_2_0() { return cSetsNewAssignment_2_0; } - - //'+=' - public Keyword getSetsNewPlusSignEqualsSignKeyword_2_0_0() { return cSetsNewPlusSignEqualsSignKeyword_2_0_0; } - - //setsSum?='=' - public Assignment getSetsSumAssignment_2_1() { return cSetsSumAssignment_2_1; } - - //'=' - public Keyword getSetsSumEqualsSignKeyword_2_1_0() { return cSetsSumEqualsSignKeyword_2_1_0; } - - //number=ExactNumber | number=IntervallNumber | number=StringEnumeration - public Alternatives getAlternatives_3() { return cAlternatives_3; } - - //number=ExactNumber - public Assignment getNumberAssignment_3_0() { return cNumberAssignment_3_0; } - - //ExactNumber - public RuleCall getNumberExactNumberParserRuleCall_3_0_0() { return cNumberExactNumberParserRuleCall_3_0_0; } - - //number=IntervallNumber - public Assignment getNumberAssignment_3_1() { return cNumberAssignment_3_1; } - - //IntervallNumber - public RuleCall getNumberIntervallNumberParserRuleCall_3_1_0() { return cNumberIntervallNumberParserRuleCall_3_1_0; } - - //number=StringEnumeration - public Assignment getNumberAssignment_3_2() { return cNumberAssignment_3_2; } - - //StringEnumeration - public RuleCall getNumberStringEnumerationParserRuleCall_3_2_0() { return cNumberStringEnumerationParserRuleCall_3_2_0; } - } - public class TypeReferenceElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.TypeReference"); - private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); - private final RuleCall cClassReferenceParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); - private final RuleCall cObjectReferenceParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); - private final RuleCall cIntegerReferenceParserRuleCall_2 = (RuleCall)cAlternatives.eContents().get(2); - private final RuleCall cRealReferenceParserRuleCall_3 = (RuleCall)cAlternatives.eContents().get(3); - private final RuleCall cStringReferenceParserRuleCall_4 = (RuleCall)cAlternatives.eContents().get(4); - - //TypeReference: - // ClassReference | ObjectReference | IntegerReference | RealReference | StringReference; - @Override public ParserRule getRule() { return rule; } - - //ClassReference | ObjectReference | IntegerReference | RealReference | StringReference - public Alternatives getAlternatives() { return cAlternatives; } - - //ClassReference - public RuleCall getClassReferenceParserRuleCall_0() { return cClassReferenceParserRuleCall_0; } - - //ObjectReference - public RuleCall getObjectReferenceParserRuleCall_1() { return cObjectReferenceParserRuleCall_1; } - - //IntegerReference - public RuleCall getIntegerReferenceParserRuleCall_2() { return cIntegerReferenceParserRuleCall_2; } - - //RealReference - public RuleCall getRealReferenceParserRuleCall_3() { return cRealReferenceParserRuleCall_3; } - - //StringReference - public RuleCall getStringReferenceParserRuleCall_4() { return cStringReferenceParserRuleCall_4; } - } - public class ClassReferenceElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ClassReference"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final Keyword cLessThanSignKeyword_0 = (Keyword)cGroup.eContents().get(0); - private final Assignment cElementAssignment_1 = (Assignment)cGroup.eContents().get(1); - private final RuleCall cElementMetamodelElementParserRuleCall_1_0 = (RuleCall)cElementAssignment_1.eContents().get(0); - private final Keyword cGreaterThanSignKeyword_2 = (Keyword)cGroup.eContents().get(2); - - //ClassReference: - // '<' element=MetamodelElement '>'; - @Override public ParserRule getRule() { return rule; } - - //'<' element=MetamodelElement '>' - public Group getGroup() { return cGroup; } - - //'<' - public Keyword getLessThanSignKeyword_0() { return cLessThanSignKeyword_0; } - - //element=MetamodelElement - public Assignment getElementAssignment_1() { return cElementAssignment_1; } - - //MetamodelElement - public RuleCall getElementMetamodelElementParserRuleCall_1_0() { return cElementMetamodelElementParserRuleCall_1_0; } - - //'>' - public Keyword getGreaterThanSignKeyword_2() { return cGreaterThanSignKeyword_2; } - } - public class ObjectReferenceElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ObjectReference"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final Action cObjectReferenceAction_0 = (Action)cGroup.eContents().get(0); - private final Keyword cNodeKeyword_1 = (Keyword)cGroup.eContents().get(1); - - //ObjectReference: - // {ObjectReference} 'node'; - @Override public ParserRule getRule() { return rule; } - - //{ObjectReference} 'node' - public Group getGroup() { return cGroup; } - - //{ObjectReference} - public Action getObjectReferenceAction_0() { return cObjectReferenceAction_0; } - - //'node' - public Keyword getNodeKeyword_1() { return cNodeKeyword_1; } - } - public class IntegerReferenceElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntegerReference"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final Action cIntegerScopeAction_0 = (Action)cGroup.eContents().get(0); - private final Keyword cIntKeyword_1 = (Keyword)cGroup.eContents().get(1); - - //IntegerReference: - // {IntegerScope} 'int'; - @Override public ParserRule getRule() { return rule; } - - //{IntegerScope} 'int' - public Group getGroup() { return cGroup; } - - //{IntegerScope} - public Action getIntegerScopeAction_0() { return cIntegerScopeAction_0; } - - //'int' - public Keyword getIntKeyword_1() { return cIntKeyword_1; } - } - public class RealReferenceElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.RealReference"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final Action cRealScopeAction_0 = (Action)cGroup.eContents().get(0); - private final Keyword cRealKeyword_1 = (Keyword)cGroup.eContents().get(1); - - //RealReference: - // {RealScope} 'real'; - @Override public ParserRule getRule() { return rule; } - - //{RealScope} 'real' - public Group getGroup() { return cGroup; } - - //{RealScope} - public Action getRealScopeAction_0() { return cRealScopeAction_0; } - - //'real' - public Keyword getRealKeyword_1() { return cRealKeyword_1; } - } - public class StringReferenceElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.StringReference"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final Action cStringScopeAction_0 = (Action)cGroup.eContents().get(0); - private final Keyword cStringKeyword_1 = (Keyword)cGroup.eContents().get(1); - - //StringReference: - // {StringScope} 'string'; - @Override public ParserRule getRule() { return rule; } - - //{StringScope} 'string' - public Group getGroup() { return cGroup; } - - //{StringScope} - public Action getStringScopeAction_0() { return cStringScopeAction_0; } - - //'string' - public Keyword getStringKeyword_1() { return cStringKeyword_1; } - } - public class NumberSpecificationElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.NumberSpecification"); - private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); - private final RuleCall cExactNumberParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); - private final RuleCall cIntervallNumberParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); - private final RuleCall cIntEnumberationParserRuleCall_2 = (RuleCall)cAlternatives.eContents().get(2); - private final RuleCall cRealEnumerationParserRuleCall_3 = (RuleCall)cAlternatives.eContents().get(3); - private final RuleCall cStringEnumerationParserRuleCall_4 = (RuleCall)cAlternatives.eContents().get(4); - - //NumberSpecification: - // ExactNumber | IntervallNumber | IntEnumberation | RealEnumeration | StringEnumeration; - @Override public ParserRule getRule() { return rule; } - - //ExactNumber | IntervallNumber | IntEnumberation | RealEnumeration | StringEnumeration - public Alternatives getAlternatives() { return cAlternatives; } - - //ExactNumber - public RuleCall getExactNumberParserRuleCall_0() { return cExactNumberParserRuleCall_0; } - - //IntervallNumber - public RuleCall getIntervallNumberParserRuleCall_1() { return cIntervallNumberParserRuleCall_1; } - - //IntEnumberation - public RuleCall getIntEnumberationParserRuleCall_2() { return cIntEnumberationParserRuleCall_2; } - - //RealEnumeration - public RuleCall getRealEnumerationParserRuleCall_3() { return cRealEnumerationParserRuleCall_3; } - - //StringEnumeration - public RuleCall getStringEnumerationParserRuleCall_4() { return cStringEnumerationParserRuleCall_4; } - } - public class ExactNumberElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ExactNumber"); - private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); - private final Assignment cExactNumberAssignment_0 = (Assignment)cAlternatives.eContents().get(0); - private final RuleCall cExactNumberINTTerminalRuleCall_0_0 = (RuleCall)cExactNumberAssignment_0.eContents().get(0); - private final Assignment cExactUnlimitedAssignment_1 = (Assignment)cAlternatives.eContents().get(1); - private final Keyword cExactUnlimitedAsteriskKeyword_1_0 = (Keyword)cExactUnlimitedAssignment_1.eContents().get(0); - - //ExactNumber: - // exactNumber=INT | exactUnlimited?='*'; - @Override public ParserRule getRule() { return rule; } - - //exactNumber=INT | exactUnlimited?='*' - public Alternatives getAlternatives() { return cAlternatives; } - - //exactNumber=INT - public Assignment getExactNumberAssignment_0() { return cExactNumberAssignment_0; } - - //INT - public RuleCall getExactNumberINTTerminalRuleCall_0_0() { return cExactNumberINTTerminalRuleCall_0_0; } - - //exactUnlimited?='*' - public Assignment getExactUnlimitedAssignment_1() { return cExactUnlimitedAssignment_1; } - - //'*' - public Keyword getExactUnlimitedAsteriskKeyword_1_0() { return cExactUnlimitedAsteriskKeyword_1_0; } - } - public class IntervallNumberElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntervallNumber"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final Assignment cMinAssignment_0 = (Assignment)cGroup.eContents().get(0); - private final RuleCall cMinINTTerminalRuleCall_0_0 = (RuleCall)cMinAssignment_0.eContents().get(0); - private final Keyword cFullStopFullStopKeyword_1 = (Keyword)cGroup.eContents().get(1); - private final Alternatives cAlternatives_2 = (Alternatives)cGroup.eContents().get(2); - private final Assignment cMaxNumberAssignment_2_0 = (Assignment)cAlternatives_2.eContents().get(0); - private final RuleCall cMaxNumberINTTerminalRuleCall_2_0_0 = (RuleCall)cMaxNumberAssignment_2_0.eContents().get(0); - private final Assignment cMaxUnlimitedAssignment_2_1 = (Assignment)cAlternatives_2.eContents().get(1); - private final Keyword cMaxUnlimitedAsteriskKeyword_2_1_0 = (Keyword)cMaxUnlimitedAssignment_2_1.eContents().get(0); - - //IntervallNumber: - // min=INT '..' (maxNumber=INT | maxUnlimited?='*'); - @Override public ParserRule getRule() { return rule; } - - //min=INT '..' (maxNumber=INT | maxUnlimited?='*') - public Group getGroup() { return cGroup; } - - //min=INT - public Assignment getMinAssignment_0() { return cMinAssignment_0; } - - //INT - public RuleCall getMinINTTerminalRuleCall_0_0() { return cMinINTTerminalRuleCall_0_0; } - - //'..' - public Keyword getFullStopFullStopKeyword_1() { return cFullStopFullStopKeyword_1; } - - //maxNumber=INT | maxUnlimited?='*' - public Alternatives getAlternatives_2() { return cAlternatives_2; } - - //maxNumber=INT - public Assignment getMaxNumberAssignment_2_0() { return cMaxNumberAssignment_2_0; } - - //INT - public RuleCall getMaxNumberINTTerminalRuleCall_2_0_0() { return cMaxNumberINTTerminalRuleCall_2_0_0; } - - //maxUnlimited?='*' - public Assignment getMaxUnlimitedAssignment_2_1() { return cMaxUnlimitedAssignment_2_1; } - - //'*' - public Keyword getMaxUnlimitedAsteriskKeyword_2_1_0() { return cMaxUnlimitedAsteriskKeyword_2_1_0; } - } - public class IntEnumberationElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntEnumberation"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final Action cIntEnumberationAction_0 = (Action)cGroup.eContents().get(0); - private final Keyword cLeftCurlyBracketKeyword_1 = (Keyword)cGroup.eContents().get(1); - private final Group cGroup_2 = (Group)cGroup.eContents().get(2); - private final Assignment cEntryAssignment_2_0 = (Assignment)cGroup_2.eContents().get(0); - private final RuleCall cEntryINTLiteralParserRuleCall_2_0_0 = (RuleCall)cEntryAssignment_2_0.eContents().get(0); - private final Group cGroup_2_1 = (Group)cGroup_2.eContents().get(1); - private final Keyword cCommaKeyword_2_1_0 = (Keyword)cGroup_2_1.eContents().get(0); - private final Assignment cEntryAssignment_2_1_1 = (Assignment)cGroup_2_1.eContents().get(1); - private final RuleCall cEntryINTLiteralParserRuleCall_2_1_1_0 = (RuleCall)cEntryAssignment_2_1_1.eContents().get(0); - private final Keyword cRightCurlyBracketKeyword_3 = (Keyword)cGroup.eContents().get(3); - - //IntEnumberation: - // {IntEnumberation} '{' (entry+=INTLiteral (',' entry+=INTLiteral)*)? '}'; - @Override public ParserRule getRule() { return rule; } - - //{IntEnumberation} '{' (entry+=INTLiteral (',' entry+=INTLiteral)*)? '}' - public Group getGroup() { return cGroup; } - - //{IntEnumberation} - public Action getIntEnumberationAction_0() { return cIntEnumberationAction_0; } - - //'{' - public Keyword getLeftCurlyBracketKeyword_1() { return cLeftCurlyBracketKeyword_1; } - - //(entry+=INTLiteral (',' entry+=INTLiteral)*)? - public Group getGroup_2() { return cGroup_2; } - - //entry+=INTLiteral - public Assignment getEntryAssignment_2_0() { return cEntryAssignment_2_0; } - - //INTLiteral - public RuleCall getEntryINTLiteralParserRuleCall_2_0_0() { return cEntryINTLiteralParserRuleCall_2_0_0; } - - //(',' entry+=INTLiteral)* - public Group getGroup_2_1() { return cGroup_2_1; } - - //',' - public Keyword getCommaKeyword_2_1_0() { return cCommaKeyword_2_1_0; } - - //entry+=INTLiteral - public Assignment getEntryAssignment_2_1_1() { return cEntryAssignment_2_1_1; } - - //INTLiteral - public RuleCall getEntryINTLiteralParserRuleCall_2_1_1_0() { return cEntryINTLiteralParserRuleCall_2_1_1_0; } - - //'}' - public Keyword getRightCurlyBracketKeyword_3() { return cRightCurlyBracketKeyword_3; } - } - public class RealEnumerationElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.RealEnumeration"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final Action cRealEnumerationAction_0 = (Action)cGroup.eContents().get(0); - private final Keyword cLeftCurlyBracketKeyword_1 = (Keyword)cGroup.eContents().get(1); - private final Group cGroup_2 = (Group)cGroup.eContents().get(2); - private final Assignment cEntryAssignment_2_0 = (Assignment)cGroup_2.eContents().get(0); - private final RuleCall cEntryREALLiteralParserRuleCall_2_0_0 = (RuleCall)cEntryAssignment_2_0.eContents().get(0); - private final Group cGroup_2_1 = (Group)cGroup_2.eContents().get(1); - private final Keyword cCommaKeyword_2_1_0 = (Keyword)cGroup_2_1.eContents().get(0); - private final Assignment cEntryAssignment_2_1_1 = (Assignment)cGroup_2_1.eContents().get(1); - private final RuleCall cEntryREALLiteralParserRuleCall_2_1_1_0 = (RuleCall)cEntryAssignment_2_1_1.eContents().get(0); - private final Keyword cRightCurlyBracketKeyword_3 = (Keyword)cGroup.eContents().get(3); - - //RealEnumeration: - // {RealEnumeration} '{' (entry+=REALLiteral (',' entry+=REALLiteral)*)? '}'; - @Override public ParserRule getRule() { return rule; } - - //{RealEnumeration} '{' (entry+=REALLiteral (',' entry+=REALLiteral)*)? '}' - public Group getGroup() { return cGroup; } - - //{RealEnumeration} - public Action getRealEnumerationAction_0() { return cRealEnumerationAction_0; } - - //'{' - public Keyword getLeftCurlyBracketKeyword_1() { return cLeftCurlyBracketKeyword_1; } - - //(entry+=REALLiteral (',' entry+=REALLiteral)*)? - public Group getGroup_2() { return cGroup_2; } - - //entry+=REALLiteral - public Assignment getEntryAssignment_2_0() { return cEntryAssignment_2_0; } - - //REALLiteral - public RuleCall getEntryREALLiteralParserRuleCall_2_0_0() { return cEntryREALLiteralParserRuleCall_2_0_0; } - - //(',' entry+=REALLiteral)* - public Group getGroup_2_1() { return cGroup_2_1; } - - //',' - public Keyword getCommaKeyword_2_1_0() { return cCommaKeyword_2_1_0; } - - //entry+=REALLiteral - public Assignment getEntryAssignment_2_1_1() { return cEntryAssignment_2_1_1; } - - //REALLiteral - public RuleCall getEntryREALLiteralParserRuleCall_2_1_1_0() { return cEntryREALLiteralParserRuleCall_2_1_1_0; } - - //'}' - public Keyword getRightCurlyBracketKeyword_3() { return cRightCurlyBracketKeyword_3; } - } - public class StringEnumerationElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.StringEnumeration"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final Action cStringEnumerationAction_0 = (Action)cGroup.eContents().get(0); - private final Keyword cLeftCurlyBracketKeyword_1 = (Keyword)cGroup.eContents().get(1); - private final Group cGroup_2 = (Group)cGroup.eContents().get(2); - private final Assignment cEntryAssignment_2_0 = (Assignment)cGroup_2.eContents().get(0); - private final RuleCall cEntrySTRINGTerminalRuleCall_2_0_0 = (RuleCall)cEntryAssignment_2_0.eContents().get(0); - private final Group cGroup_2_1 = (Group)cGroup_2.eContents().get(1); - private final Keyword cCommaKeyword_2_1_0 = (Keyword)cGroup_2_1.eContents().get(0); - private final Assignment cEntryAssignment_2_1_1 = (Assignment)cGroup_2_1.eContents().get(1); - private final RuleCall cEntrySTRINGTerminalRuleCall_2_1_1_0 = (RuleCall)cEntryAssignment_2_1_1.eContents().get(0); - private final Keyword cRightCurlyBracketKeyword_3 = (Keyword)cGroup.eContents().get(3); - - //StringEnumeration: - // {StringEnumeration} '{' (entry+=STRING (',' entry+=STRING)*)? '}'; - @Override public ParserRule getRule() { return rule; } - - //{StringEnumeration} '{' (entry+=STRING (',' entry+=STRING)*)? '}' - public Group getGroup() { return cGroup; } - - //{StringEnumeration} - public Action getStringEnumerationAction_0() { return cStringEnumerationAction_0; } - - //'{' - public Keyword getLeftCurlyBracketKeyword_1() { return cLeftCurlyBracketKeyword_1; } - - //(entry+=STRING (',' entry+=STRING)*)? - public Group getGroup_2() { return cGroup_2; } - - //entry+=STRING - public Assignment getEntryAssignment_2_0() { return cEntryAssignment_2_0; } - - //STRING - public RuleCall getEntrySTRINGTerminalRuleCall_2_0_0() { return cEntrySTRINGTerminalRuleCall_2_0_0; } - - //(',' entry+=STRING)* - public Group getGroup_2_1() { return cGroup_2_1; } - - //',' - public Keyword getCommaKeyword_2_1_0() { return cCommaKeyword_2_1_0; } - - //entry+=STRING - public Assignment getEntryAssignment_2_1_1() { return cEntryAssignment_2_1_1; } - - //STRING - public RuleCall getEntrySTRINGTerminalRuleCall_2_1_1_0() { return cEntrySTRINGTerminalRuleCall_2_1_1_0; } - - //'}' - public Keyword getRightCurlyBracketKeyword_3() { return cRightCurlyBracketKeyword_3; } - } - public class ScopeDeclarationElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ScopeDeclaration"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final Keyword cScopeKeyword_0 = (Keyword)cGroup.eContents().get(0); - private final Assignment cNameAssignment_1 = (Assignment)cGroup.eContents().get(1); - private final RuleCall cNameIDTerminalRuleCall_1_0 = (RuleCall)cNameAssignment_1.eContents().get(0); - private final Assignment cSpecificationAssignment_2 = (Assignment)cGroup.eContents().get(2); - private final RuleCall cSpecificationScopeSpecificationParserRuleCall_2_0 = (RuleCall)cSpecificationAssignment_2.eContents().get(0); - - //ScopeDeclaration: - // 'scope' name=ID specification=ScopeSpecification; - @Override public ParserRule getRule() { return rule; } - - //'scope' name=ID specification=ScopeSpecification - public Group getGroup() { return cGroup; } - - //'scope' - public Keyword getScopeKeyword_0() { return cScopeKeyword_0; } - - //name=ID - public Assignment getNameAssignment_1() { return cNameAssignment_1; } - - //ID - public RuleCall getNameIDTerminalRuleCall_1_0() { return cNameIDTerminalRuleCall_1_0; } - - //specification=ScopeSpecification - public Assignment getSpecificationAssignment_2() { return cSpecificationAssignment_2; } - - //ScopeSpecification - public RuleCall getSpecificationScopeSpecificationParserRuleCall_2_0() { return cSpecificationScopeSpecificationParserRuleCall_2_0; } - } - public class ScopeReferenceElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ScopeReference"); - private final Assignment cReferredAssignment = (Assignment)rule.eContents().get(1); - private final CrossReference cReferredScopeDeclarationCrossReference_0 = (CrossReference)cReferredAssignment.eContents().get(0); - private final RuleCall cReferredScopeDeclarationIDTerminalRuleCall_0_1 = (RuleCall)cReferredScopeDeclarationCrossReference_0.eContents().get(1); - - //ScopeReference: - // referred=[ScopeDeclaration]; - @Override public ParserRule getRule() { return rule; } - - //referred=[ScopeDeclaration] - public Assignment getReferredAssignment() { return cReferredAssignment; } - - //[ScopeDeclaration] - public CrossReference getReferredScopeDeclarationCrossReference_0() { return cReferredScopeDeclarationCrossReference_0; } - - //ID - public RuleCall getReferredScopeDeclarationIDTerminalRuleCall_0_1() { return cReferredScopeDeclarationIDTerminalRuleCall_0_1; } - } - public class ScopeElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Scope"); - private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); - private final RuleCall cScopeSpecificationParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); - private final RuleCall cScopeReferenceParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); - - //Scope: - // ScopeSpecification | ScopeReference; - @Override public ParserRule getRule() { return rule; } - - //ScopeSpecification | ScopeReference - public Alternatives getAlternatives() { return cAlternatives; } - - //ScopeSpecification - public RuleCall getScopeSpecificationParserRuleCall_0() { return cScopeSpecificationParserRuleCall_0; } - - //ScopeReference - public RuleCall getScopeReferenceParserRuleCall_1() { return cScopeReferenceParserRuleCall_1; } - } - public class TaskElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Task"); - private final RuleCall cGenerationTaskParserRuleCall = (RuleCall)rule.eContents().get(1); - - //Task: - // GenerationTask /*| CoverageCalculation | ValidationTask*/; - @Override public ParserRule getRule() { return rule; } - - //GenerationTask - public RuleCall getGenerationTaskParserRuleCall() { return cGenerationTaskParserRuleCall; } - } - public class GenerationTaskElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.GenerationTask"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final Keyword cGenerateKeyword_0 = (Keyword)cGroup.eContents().get(0); - private final Action cGenerationTaskAction_1 = (Action)cGroup.eContents().get(1); - private final Keyword cLeftCurlyBracketKeyword_2 = (Keyword)cGroup.eContents().get(2); - private final UnorderedGroup cUnorderedGroup_3 = (UnorderedGroup)cGroup.eContents().get(3); - private final Group cGroup_3_0 = (Group)cUnorderedGroup_3.eContents().get(0); - private final Keyword cMetamodelKeyword_3_0_0 = (Keyword)cGroup_3_0.eContents().get(0); - private final Keyword cEqualsSignKeyword_3_0_1 = (Keyword)cGroup_3_0.eContents().get(1); - private final Assignment cMetamodelAssignment_3_0_2 = (Assignment)cGroup_3_0.eContents().get(2); - private final RuleCall cMetamodelMetamodelParserRuleCall_3_0_2_0 = (RuleCall)cMetamodelAssignment_3_0_2.eContents().get(0); - private final Group cGroup_3_1 = (Group)cUnorderedGroup_3.eContents().get(1); - private final Keyword cPartialModelKeyword_3_1_0 = (Keyword)cGroup_3_1.eContents().get(0); - private final Keyword cEqualsSignKeyword_3_1_1 = (Keyword)cGroup_3_1.eContents().get(1); - private final Assignment cPartialModelAssignment_3_1_2 = (Assignment)cGroup_3_1.eContents().get(2); - private final RuleCall cPartialModelPartialModelParserRuleCall_3_1_2_0 = (RuleCall)cPartialModelAssignment_3_1_2.eContents().get(0); - private final Group cGroup_3_2 = (Group)cUnorderedGroup_3.eContents().get(2); - private final Keyword cConstraintsKeyword_3_2_0 = (Keyword)cGroup_3_2.eContents().get(0); - private final Keyword cEqualsSignKeyword_3_2_1 = (Keyword)cGroup_3_2.eContents().get(1); - private final Assignment cPatternsAssignment_3_2_2 = (Assignment)cGroup_3_2.eContents().get(2); - private final RuleCall cPatternsGraphPatternParserRuleCall_3_2_2_0 = (RuleCall)cPatternsAssignment_3_2_2.eContents().get(0); - private final Group cGroup_3_3 = (Group)cUnorderedGroup_3.eContents().get(3); - private final Keyword cScopeKeyword_3_3_0 = (Keyword)cGroup_3_3.eContents().get(0); - private final Keyword cEqualsSignKeyword_3_3_1 = (Keyword)cGroup_3_3.eContents().get(1); - private final Assignment cScopeAssignment_3_3_2 = (Assignment)cGroup_3_3.eContents().get(2); - private final RuleCall cScopeScopeParserRuleCall_3_3_2_0 = (RuleCall)cScopeAssignment_3_3_2.eContents().get(0); - private final Group cGroup_3_4 = (Group)cUnorderedGroup_3.eContents().get(4); - private final Assignment cNumberSpecifiedAssignment_3_4_0 = (Assignment)cGroup_3_4.eContents().get(0); - private final Keyword cNumberSpecifiedNumberKeyword_3_4_0_0 = (Keyword)cNumberSpecifiedAssignment_3_4_0.eContents().get(0); - private final Keyword cEqualsSignKeyword_3_4_1 = (Keyword)cGroup_3_4.eContents().get(1); - private final Assignment cNumberAssignment_3_4_2 = (Assignment)cGroup_3_4.eContents().get(2); - private final RuleCall cNumberINTTerminalRuleCall_3_4_2_0 = (RuleCall)cNumberAssignment_3_4_2.eContents().get(0); - private final Group cGroup_3_5 = (Group)cUnorderedGroup_3.eContents().get(5); - private final Assignment cRunSpecifiedAssignment_3_5_0 = (Assignment)cGroup_3_5.eContents().get(0); - private final Keyword cRunSpecifiedRunsKeyword_3_5_0_0 = (Keyword)cRunSpecifiedAssignment_3_5_0.eContents().get(0); - private final Keyword cEqualsSignKeyword_3_5_1 = (Keyword)cGroup_3_5.eContents().get(1); - private final Assignment cRunsAssignment_3_5_2 = (Assignment)cGroup_3_5.eContents().get(2); - private final RuleCall cRunsINTTerminalRuleCall_3_5_2_0 = (RuleCall)cRunsAssignment_3_5_2.eContents().get(0); - private final Group cGroup_3_6 = (Group)cUnorderedGroup_3.eContents().get(6); - private final Keyword cSolverKeyword_3_6_0 = (Keyword)cGroup_3_6.eContents().get(0); - private final Keyword cEqualsSignKeyword_3_6_1 = (Keyword)cGroup_3_6.eContents().get(1); - private final Assignment cSolverAssignment_3_6_2 = (Assignment)cGroup_3_6.eContents().get(2); - private final RuleCall cSolverSolverEnumRuleCall_3_6_2_0 = (RuleCall)cSolverAssignment_3_6_2.eContents().get(0); - private final Group cGroup_3_7 = (Group)cUnorderedGroup_3.eContents().get(7); - private final Keyword cConfigKeyword_3_7_0 = (Keyword)cGroup_3_7.eContents().get(0); - private final Keyword cEqualsSignKeyword_3_7_1 = (Keyword)cGroup_3_7.eContents().get(1); - private final Assignment cConfigAssignment_3_7_2 = (Assignment)cGroup_3_7.eContents().get(2); - private final RuleCall cConfigConfigParserRuleCall_3_7_2_0 = (RuleCall)cConfigAssignment_3_7_2.eContents().get(0); - private final Group cGroup_3_8 = (Group)cUnorderedGroup_3.eContents().get(8); - private final Keyword cDebugKeyword_3_8_0 = (Keyword)cGroup_3_8.eContents().get(0); - private final Keyword cEqualsSignKeyword_3_8_1 = (Keyword)cGroup_3_8.eContents().get(1); - private final Assignment cDebugFolderAssignment_3_8_2 = (Assignment)cGroup_3_8.eContents().get(2); - private final RuleCall cDebugFolderFileParserRuleCall_3_8_2_0 = (RuleCall)cDebugFolderAssignment_3_8_2.eContents().get(0); - private final Group cGroup_3_9 = (Group)cUnorderedGroup_3.eContents().get(9); - private final Keyword cLogKeyword_3_9_0 = (Keyword)cGroup_3_9.eContents().get(0); - private final Keyword cEqualsSignKeyword_3_9_1 = (Keyword)cGroup_3_9.eContents().get(1); - private final Assignment cTargetLogFileAssignment_3_9_2 = (Assignment)cGroup_3_9.eContents().get(2); - private final RuleCall cTargetLogFileFileParserRuleCall_3_9_2_0 = (RuleCall)cTargetLogFileAssignment_3_9_2.eContents().get(0); - private final Group cGroup_3_10 = (Group)cUnorderedGroup_3.eContents().get(10); - private final Keyword cStatisticsKeyword_3_10_0 = (Keyword)cGroup_3_10.eContents().get(0); - private final Keyword cEqualsSignKeyword_3_10_1 = (Keyword)cGroup_3_10.eContents().get(1); - private final Assignment cTargetStatisticsFileAssignment_3_10_2 = (Assignment)cGroup_3_10.eContents().get(2); - private final RuleCall cTargetStatisticsFileFileParserRuleCall_3_10_2_0 = (RuleCall)cTargetStatisticsFileAssignment_3_10_2.eContents().get(0); - private final Group cGroup_3_11 = (Group)cUnorderedGroup_3.eContents().get(11); - private final Keyword cOutputKeyword_3_11_0 = (Keyword)cGroup_3_11.eContents().get(0); - private final Keyword cEqualsSignKeyword_3_11_1 = (Keyword)cGroup_3_11.eContents().get(1); - private final Assignment cTagetFolderAssignment_3_11_2 = (Assignment)cGroup_3_11.eContents().get(2); - private final RuleCall cTagetFolderFileParserRuleCall_3_11_2_0 = (RuleCall)cTagetFolderAssignment_3_11_2.eContents().get(0); - private final Keyword cRightCurlyBracketKeyword_4 = (Keyword)cGroup.eContents().get(4); - - //GenerationTask: - // 'generate' {GenerationTask} '{' (('metamodel' '=' metamodel=Metamodel)? & ('partial-model' '=' - // partialModel=PartialModel)? & ('constraints' '=' patterns=GraphPattern)? & ('scope' '=' scope=Scope)? & - // (numberSpecified?='number' '=' number=INT)? & (runSpecified?='runs' '=' runs=INT)? & ('solver' '=' solver=Solver)? & - // ('config' '=' config=Config)? & ('debug' '=' debugFolder=File)? & ('log' '=' targetLogFile=File)? & ('statistics' '=' - // targetStatisticsFile=File)? & ('output' '=' tagetFolder=File)?) '}'; - @Override public ParserRule getRule() { return rule; } - - //'generate' {GenerationTask} '{' (('metamodel' '=' metamodel=Metamodel)? & ('partial-model' '=' - //partialModel=PartialModel)? & ('constraints' '=' patterns=GraphPattern)? & ('scope' '=' scope=Scope)? & - //(numberSpecified?='number' '=' number=INT)? & (runSpecified?='runs' '=' runs=INT)? & ('solver' '=' solver=Solver)? & - //('config' '=' config=Config)? & ('debug' '=' debugFolder=File)? & ('log' '=' targetLogFile=File)? & ('statistics' '=' - //targetStatisticsFile=File)? & ('output' '=' tagetFolder=File)?) '}' - public Group getGroup() { return cGroup; } - - //'generate' - public Keyword getGenerateKeyword_0() { return cGenerateKeyword_0; } - - //{GenerationTask} - public Action getGenerationTaskAction_1() { return cGenerationTaskAction_1; } - - //'{' - public Keyword getLeftCurlyBracketKeyword_2() { return cLeftCurlyBracketKeyword_2; } - - //('metamodel' '=' metamodel=Metamodel)? & ('partial-model' '=' partialModel=PartialModel)? & ('constraints' '=' - //patterns=GraphPattern)? & ('scope' '=' scope=Scope)? & (numberSpecified?='number' '=' number=INT)? & - //(runSpecified?='runs' '=' runs=INT)? & ('solver' '=' solver=Solver)? & ('config' '=' config=Config)? & ('debug' '=' - //debugFolder=File)? & ('log' '=' targetLogFile=File)? & ('statistics' '=' targetStatisticsFile=File)? & ('output' '=' - //tagetFolder=File)? - public UnorderedGroup getUnorderedGroup_3() { return cUnorderedGroup_3; } - - //('metamodel' '=' metamodel=Metamodel)? - public Group getGroup_3_0() { return cGroup_3_0; } - - //'metamodel' - public Keyword getMetamodelKeyword_3_0_0() { return cMetamodelKeyword_3_0_0; } - - //'=' - public Keyword getEqualsSignKeyword_3_0_1() { return cEqualsSignKeyword_3_0_1; } - - //metamodel=Metamodel - public Assignment getMetamodelAssignment_3_0_2() { return cMetamodelAssignment_3_0_2; } - - //Metamodel - public RuleCall getMetamodelMetamodelParserRuleCall_3_0_2_0() { return cMetamodelMetamodelParserRuleCall_3_0_2_0; } - - //('partial-model' '=' partialModel=PartialModel)? - public Group getGroup_3_1() { return cGroup_3_1; } - - //'partial-model' - public Keyword getPartialModelKeyword_3_1_0() { return cPartialModelKeyword_3_1_0; } - - //'=' - public Keyword getEqualsSignKeyword_3_1_1() { return cEqualsSignKeyword_3_1_1; } - - //partialModel=PartialModel - public Assignment getPartialModelAssignment_3_1_2() { return cPartialModelAssignment_3_1_2; } - - //PartialModel - public RuleCall getPartialModelPartialModelParserRuleCall_3_1_2_0() { return cPartialModelPartialModelParserRuleCall_3_1_2_0; } - - //('constraints' '=' patterns=GraphPattern)? - public Group getGroup_3_2() { return cGroup_3_2; } - - //'constraints' - public Keyword getConstraintsKeyword_3_2_0() { return cConstraintsKeyword_3_2_0; } - - //'=' - public Keyword getEqualsSignKeyword_3_2_1() { return cEqualsSignKeyword_3_2_1; } - - //patterns=GraphPattern - public Assignment getPatternsAssignment_3_2_2() { return cPatternsAssignment_3_2_2; } - - //GraphPattern - public RuleCall getPatternsGraphPatternParserRuleCall_3_2_2_0() { return cPatternsGraphPatternParserRuleCall_3_2_2_0; } - - //('scope' '=' scope=Scope)? - public Group getGroup_3_3() { return cGroup_3_3; } - - //'scope' - public Keyword getScopeKeyword_3_3_0() { return cScopeKeyword_3_3_0; } - - //'=' - public Keyword getEqualsSignKeyword_3_3_1() { return cEqualsSignKeyword_3_3_1; } - - //scope=Scope - public Assignment getScopeAssignment_3_3_2() { return cScopeAssignment_3_3_2; } - - //Scope - public RuleCall getScopeScopeParserRuleCall_3_3_2_0() { return cScopeScopeParserRuleCall_3_3_2_0; } - - //(numberSpecified?='number' '=' number=INT)? - public Group getGroup_3_4() { return cGroup_3_4; } - - //numberSpecified?='number' - public Assignment getNumberSpecifiedAssignment_3_4_0() { return cNumberSpecifiedAssignment_3_4_0; } - - //'number' - public Keyword getNumberSpecifiedNumberKeyword_3_4_0_0() { return cNumberSpecifiedNumberKeyword_3_4_0_0; } - - //'=' - public Keyword getEqualsSignKeyword_3_4_1() { return cEqualsSignKeyword_3_4_1; } - - //number=INT - public Assignment getNumberAssignment_3_4_2() { return cNumberAssignment_3_4_2; } - - //INT - public RuleCall getNumberINTTerminalRuleCall_3_4_2_0() { return cNumberINTTerminalRuleCall_3_4_2_0; } - - //(runSpecified?='runs' '=' runs=INT)? - public Group getGroup_3_5() { return cGroup_3_5; } - - //runSpecified?='runs' - public Assignment getRunSpecifiedAssignment_3_5_0() { return cRunSpecifiedAssignment_3_5_0; } - - //'runs' - public Keyword getRunSpecifiedRunsKeyword_3_5_0_0() { return cRunSpecifiedRunsKeyword_3_5_0_0; } - - //'=' - public Keyword getEqualsSignKeyword_3_5_1() { return cEqualsSignKeyword_3_5_1; } - - //runs=INT - public Assignment getRunsAssignment_3_5_2() { return cRunsAssignment_3_5_2; } - - //INT - public RuleCall getRunsINTTerminalRuleCall_3_5_2_0() { return cRunsINTTerminalRuleCall_3_5_2_0; } - - //('solver' '=' solver=Solver)? - public Group getGroup_3_6() { return cGroup_3_6; } - - //'solver' - public Keyword getSolverKeyword_3_6_0() { return cSolverKeyword_3_6_0; } - - //'=' - public Keyword getEqualsSignKeyword_3_6_1() { return cEqualsSignKeyword_3_6_1; } - - //solver=Solver - public Assignment getSolverAssignment_3_6_2() { return cSolverAssignment_3_6_2; } - - //Solver - public RuleCall getSolverSolverEnumRuleCall_3_6_2_0() { return cSolverSolverEnumRuleCall_3_6_2_0; } - - //('config' '=' config=Config)? - public Group getGroup_3_7() { return cGroup_3_7; } - - //'config' - public Keyword getConfigKeyword_3_7_0() { return cConfigKeyword_3_7_0; } - - //'=' - public Keyword getEqualsSignKeyword_3_7_1() { return cEqualsSignKeyword_3_7_1; } - - //config=Config - public Assignment getConfigAssignment_3_7_2() { return cConfigAssignment_3_7_2; } - - //Config - public RuleCall getConfigConfigParserRuleCall_3_7_2_0() { return cConfigConfigParserRuleCall_3_7_2_0; } - - //('debug' '=' debugFolder=File)? - public Group getGroup_3_8() { return cGroup_3_8; } - - //'debug' - public Keyword getDebugKeyword_3_8_0() { return cDebugKeyword_3_8_0; } - - //'=' - public Keyword getEqualsSignKeyword_3_8_1() { return cEqualsSignKeyword_3_8_1; } - - //debugFolder=File - public Assignment getDebugFolderAssignment_3_8_2() { return cDebugFolderAssignment_3_8_2; } - - //File - public RuleCall getDebugFolderFileParserRuleCall_3_8_2_0() { return cDebugFolderFileParserRuleCall_3_8_2_0; } - - //('log' '=' targetLogFile=File)? - public Group getGroup_3_9() { return cGroup_3_9; } - - //'log' - public Keyword getLogKeyword_3_9_0() { return cLogKeyword_3_9_0; } - - //'=' - public Keyword getEqualsSignKeyword_3_9_1() { return cEqualsSignKeyword_3_9_1; } - - //targetLogFile=File - public Assignment getTargetLogFileAssignment_3_9_2() { return cTargetLogFileAssignment_3_9_2; } - - //File - public RuleCall getTargetLogFileFileParserRuleCall_3_9_2_0() { return cTargetLogFileFileParserRuleCall_3_9_2_0; } - - //('statistics' '=' targetStatisticsFile=File)? - public Group getGroup_3_10() { return cGroup_3_10; } - - //'statistics' - public Keyword getStatisticsKeyword_3_10_0() { return cStatisticsKeyword_3_10_0; } - - //'=' - public Keyword getEqualsSignKeyword_3_10_1() { return cEqualsSignKeyword_3_10_1; } - - //targetStatisticsFile=File - public Assignment getTargetStatisticsFileAssignment_3_10_2() { return cTargetStatisticsFileAssignment_3_10_2; } - - //File - public RuleCall getTargetStatisticsFileFileParserRuleCall_3_10_2_0() { return cTargetStatisticsFileFileParserRuleCall_3_10_2_0; } - - //('output' '=' tagetFolder=File)? - public Group getGroup_3_11() { return cGroup_3_11; } - - //'output' - public Keyword getOutputKeyword_3_11_0() { return cOutputKeyword_3_11_0; } - - //'=' - public Keyword getEqualsSignKeyword_3_11_1() { return cEqualsSignKeyword_3_11_1; } - - //tagetFolder=File - public Assignment getTagetFolderAssignment_3_11_2() { return cTagetFolderAssignment_3_11_2; } - - //File - public RuleCall getTagetFolderFileParserRuleCall_3_11_2_0() { return cTagetFolderFileParserRuleCall_3_11_2_0; } - - //'}' - public Keyword getRightCurlyBracketKeyword_4() { return cRightCurlyBracketKeyword_4; } - } - - public class DocumentLevelSpecificationElements extends AbstractEnumRuleElementFinder { - private final EnumRule rule = (EnumRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.DocumentLevelSpecification"); - private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); - private final EnumLiteralDeclaration cNoneEnumLiteralDeclaration_0 = (EnumLiteralDeclaration)cAlternatives.eContents().get(0); - private final Keyword cNoneNoneKeyword_0_0 = (Keyword)cNoneEnumLiteralDeclaration_0.eContents().get(0); - private final EnumLiteralDeclaration cNormalEnumLiteralDeclaration_1 = (EnumLiteralDeclaration)cAlternatives.eContents().get(1); - private final Keyword cNormalNormalKeyword_1_0 = (Keyword)cNormalEnumLiteralDeclaration_1.eContents().get(0); - private final EnumLiteralDeclaration cFullEnumLiteralDeclaration_2 = (EnumLiteralDeclaration)cAlternatives.eContents().get(2); - private final Keyword cFullFullKeyword_2_0 = (Keyword)cFullEnumLiteralDeclaration_2.eContents().get(0); - - //enum DocumentLevelSpecification: - // none | normal | full; - public EnumRule getRule() { return rule; } - - //none | normal | full - public Alternatives getAlternatives() { return cAlternatives; } - - //none - public EnumLiteralDeclaration getNoneEnumLiteralDeclaration_0() { return cNoneEnumLiteralDeclaration_0; } - - //"none" - public Keyword getNoneNoneKeyword_0_0() { return cNoneNoneKeyword_0_0; } - - //normal - public EnumLiteralDeclaration getNormalEnumLiteralDeclaration_1() { return cNormalEnumLiteralDeclaration_1; } - - //"normal" - public Keyword getNormalNormalKeyword_1_0() { return cNormalNormalKeyword_1_0; } - - //full - public EnumLiteralDeclaration getFullEnumLiteralDeclaration_2() { return cFullEnumLiteralDeclaration_2; } - - //"full" - public Keyword getFullFullKeyword_2_0() { return cFullFullKeyword_2_0; } - } - public class SolverElements extends AbstractEnumRuleElementFinder { - private final EnumRule rule = (EnumRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Solver"); - private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); - private final EnumLiteralDeclaration cSMTSolverEnumLiteralDeclaration_0 = (EnumLiteralDeclaration)cAlternatives.eContents().get(0); - private final Keyword cSMTSolverSMTSolverKeyword_0_0 = (Keyword)cSMTSolverEnumLiteralDeclaration_0.eContents().get(0); - private final EnumLiteralDeclaration cAlloySolverEnumLiteralDeclaration_1 = (EnumLiteralDeclaration)cAlternatives.eContents().get(1); - private final Keyword cAlloySolverAlloySolverKeyword_1_0 = (Keyword)cAlloySolverEnumLiteralDeclaration_1.eContents().get(0); - private final EnumLiteralDeclaration cViatraSolverEnumLiteralDeclaration_2 = (EnumLiteralDeclaration)cAlternatives.eContents().get(2); - private final Keyword cViatraSolverViatraSolverKeyword_2_0 = (Keyword)cViatraSolverEnumLiteralDeclaration_2.eContents().get(0); - - //enum Solver: - // SMTSolver | AlloySolver | ViatraSolver; - public EnumRule getRule() { return rule; } - - //SMTSolver | AlloySolver | ViatraSolver - public Alternatives getAlternatives() { return cAlternatives; } - - //SMTSolver - public EnumLiteralDeclaration getSMTSolverEnumLiteralDeclaration_0() { return cSMTSolverEnumLiteralDeclaration_0; } - - //"SMTSolver" - public Keyword getSMTSolverSMTSolverKeyword_0_0() { return cSMTSolverSMTSolverKeyword_0_0; } - - //AlloySolver - public EnumLiteralDeclaration getAlloySolverEnumLiteralDeclaration_1() { return cAlloySolverEnumLiteralDeclaration_1; } - - //"AlloySolver" - public Keyword getAlloySolverAlloySolverKeyword_1_0() { return cAlloySolverAlloySolverKeyword_1_0; } - - //ViatraSolver - public EnumLiteralDeclaration getViatraSolverEnumLiteralDeclaration_2() { return cViatraSolverEnumLiteralDeclaration_2; } - - //"ViatraSolver" - public Keyword getViatraSolverViatraSolverKeyword_2_0() { return cViatraSolverViatraSolverKeyword_2_0; } - } - - private final ConfigurationScriptElements pConfigurationScript; - private final CommandElements pCommand; - private final QualifiedNameElements pQualifiedName; - private final REALLiteralElements pREALLiteral; - private final INTLiteralElements pINTLiteral; - private final ImportElements pImport; - private final EPackageImportElements pEPackageImport; - private final ViatraImportElements pViatraImport; - private final DeclarationElements pDeclaration; - private final FileSpecificationElements pFileSpecification; - private final FileDeclarationElements pFileDeclaration; - private final FileReferenceElements pFileReference; - private final FileElements pFile; - private final MetamodelSpecificationElements pMetamodelSpecification; - private final MetamodelEntryElements pMetamodelEntry; - private final AllPackageEntryElements pAllPackageEntry; - private final MetamodelElementElements pMetamodelElement; - private final MetamodelDeclarationElements pMetamodelDeclaration; - private final MetamodelReferenceElements pMetamodelReference; - private final MetamodelElements pMetamodel; - private final PartialModelSpecificationElements pPartialModelSpecification; - private final PartialModelEntryElements pPartialModelEntry; - private final ModelEntryElements pModelEntry; - private final FolderEntryElements pFolderEntry; - private final PartialModelDeclarationElements pPartialModelDeclaration; - private final PartialModelReferenceElements pPartialModelReference; - private final PartialModelElements pPartialModel; - private final PatternSpecificationElements pPatternSpecification; - private final PatternEntryElements pPatternEntry; - private final AllPatternEntryElements pAllPatternEntry; - private final PatternElementElements pPatternElement; - private final GraphPatternDeclarationElements pGraphPatternDeclaration; - private final GraphPatternReferenceElements pGraphPatternReference; - private final GraphPatternElements pGraphPattern; - private final ConfigSpecificationElements pConfigSpecification; - private final ConfigDeclarationElements pConfigDeclaration; - private final ConfigEntryElements pConfigEntry; - private final DocumentationEntryElements pDocumentationEntry; - private final DocumentLevelSpecificationElements eDocumentLevelSpecification; - private final RuntimeEntryElements pRuntimeEntry; - private final MemoryEntryElements pMemoryEntry; - private final CustomEntryElements pCustomEntry; - private final ConfigReferenceElements pConfigReference; - private final ConfigElements pConfig; - private final SolverElements eSolver; - private final ScopeSpecificationElements pScopeSpecification; - private final TypeScopeElements pTypeScope; - private final ClassTypeScopeElements pClassTypeScope; - private final ObjectTypeScopeElements pObjectTypeScope; - private final IntegerTypeScopeElements pIntegerTypeScope; - private final RealTypeScopeElements pRealTypeScope; - private final StringTypeScopeElements pStringTypeScope; - private final TypeReferenceElements pTypeReference; - private final ClassReferenceElements pClassReference; - private final ObjectReferenceElements pObjectReference; - private final IntegerReferenceElements pIntegerReference; - private final RealReferenceElements pRealReference; - private final StringReferenceElements pStringReference; - private final NumberSpecificationElements pNumberSpecification; - private final ExactNumberElements pExactNumber; - private final IntervallNumberElements pIntervallNumber; - private final IntEnumberationElements pIntEnumberation; - private final RealEnumerationElements pRealEnumeration; - private final StringEnumerationElements pStringEnumeration; - private final ScopeDeclarationElements pScopeDeclaration; - private final ScopeReferenceElements pScopeReference; - private final ScopeElements pScope; - private final TaskElements pTask; - private final GenerationTaskElements pGenerationTask; - - private final Grammar grammar; - - private final TerminalsGrammarAccess gaTerminals; - - @Inject - public ApplicationConfigurationGrammarAccess(GrammarProvider grammarProvider, - TerminalsGrammarAccess gaTerminals) { - this.grammar = internalFindGrammar(grammarProvider); - this.gaTerminals = gaTerminals; - this.pConfigurationScript = new ConfigurationScriptElements(); - this.pCommand = new CommandElements(); - this.pQualifiedName = new QualifiedNameElements(); - this.pREALLiteral = new REALLiteralElements(); - this.pINTLiteral = new INTLiteralElements(); - this.pImport = new ImportElements(); - this.pEPackageImport = new EPackageImportElements(); - this.pViatraImport = new ViatraImportElements(); - this.pDeclaration = new DeclarationElements(); - this.pFileSpecification = new FileSpecificationElements(); - this.pFileDeclaration = new FileDeclarationElements(); - this.pFileReference = new FileReferenceElements(); - this.pFile = new FileElements(); - this.pMetamodelSpecification = new MetamodelSpecificationElements(); - this.pMetamodelEntry = new MetamodelEntryElements(); - this.pAllPackageEntry = new AllPackageEntryElements(); - this.pMetamodelElement = new MetamodelElementElements(); - this.pMetamodelDeclaration = new MetamodelDeclarationElements(); - this.pMetamodelReference = new MetamodelReferenceElements(); - this.pMetamodel = new MetamodelElements(); - this.pPartialModelSpecification = new PartialModelSpecificationElements(); - this.pPartialModelEntry = new PartialModelEntryElements(); - this.pModelEntry = new ModelEntryElements(); - this.pFolderEntry = new FolderEntryElements(); - this.pPartialModelDeclaration = new PartialModelDeclarationElements(); - this.pPartialModelReference = new PartialModelReferenceElements(); - this.pPartialModel = new PartialModelElements(); - this.pPatternSpecification = new PatternSpecificationElements(); - this.pPatternEntry = new PatternEntryElements(); - this.pAllPatternEntry = new AllPatternEntryElements(); - this.pPatternElement = new PatternElementElements(); - this.pGraphPatternDeclaration = new GraphPatternDeclarationElements(); - this.pGraphPatternReference = new GraphPatternReferenceElements(); - this.pGraphPattern = new GraphPatternElements(); - this.pConfigSpecification = new ConfigSpecificationElements(); - this.pConfigDeclaration = new ConfigDeclarationElements(); - this.pConfigEntry = new ConfigEntryElements(); - this.pDocumentationEntry = new DocumentationEntryElements(); - this.eDocumentLevelSpecification = new DocumentLevelSpecificationElements(); - this.pRuntimeEntry = new RuntimeEntryElements(); - this.pMemoryEntry = new MemoryEntryElements(); - this.pCustomEntry = new CustomEntryElements(); - this.pConfigReference = new ConfigReferenceElements(); - this.pConfig = new ConfigElements(); - this.eSolver = new SolverElements(); - this.pScopeSpecification = new ScopeSpecificationElements(); - this.pTypeScope = new TypeScopeElements(); - this.pClassTypeScope = new ClassTypeScopeElements(); - this.pObjectTypeScope = new ObjectTypeScopeElements(); - this.pIntegerTypeScope = new IntegerTypeScopeElements(); - this.pRealTypeScope = new RealTypeScopeElements(); - this.pStringTypeScope = new StringTypeScopeElements(); - this.pTypeReference = new TypeReferenceElements(); - this.pClassReference = new ClassReferenceElements(); - this.pObjectReference = new ObjectReferenceElements(); - this.pIntegerReference = new IntegerReferenceElements(); - this.pRealReference = new RealReferenceElements(); - this.pStringReference = new StringReferenceElements(); - this.pNumberSpecification = new NumberSpecificationElements(); - this.pExactNumber = new ExactNumberElements(); - this.pIntervallNumber = new IntervallNumberElements(); - this.pIntEnumberation = new IntEnumberationElements(); - this.pRealEnumeration = new RealEnumerationElements(); - this.pStringEnumeration = new StringEnumerationElements(); - this.pScopeDeclaration = new ScopeDeclarationElements(); - this.pScopeReference = new ScopeReferenceElements(); - this.pScope = new ScopeElements(); - this.pTask = new TaskElements(); - this.pGenerationTask = new GenerationTaskElements(); - } - - protected Grammar internalFindGrammar(GrammarProvider grammarProvider) { - Grammar grammar = grammarProvider.getGrammar(this); - while (grammar != null) { - if ("hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration".equals(grammar.getName())) { - return grammar; - } - List grammars = grammar.getUsedGrammars(); - if (!grammars.isEmpty()) { - grammar = grammars.iterator().next(); - } else { - return null; - } - } - return grammar; - } - - @Override - public Grammar getGrammar() { - return grammar; - } - - - public TerminalsGrammarAccess getTerminalsGrammarAccess() { - return gaTerminals; - } - - - //ConfigurationScript: - // imports+=Import* - // commands+=Command*; - public ConfigurationScriptElements getConfigurationScriptAccess() { - return pConfigurationScript; - } - - public ParserRule getConfigurationScriptRule() { - return getConfigurationScriptAccess().getRule(); - } - - //Command: - // Declaration | Task; - public CommandElements getCommandAccess() { - return pCommand; - } - - public ParserRule getCommandRule() { - return getCommandAccess().getRule(); - } - - //QualifiedName: - // ID ('.' ID)*; - public QualifiedNameElements getQualifiedNameAccess() { - return pQualifiedName; - } - - public ParserRule getQualifiedNameRule() { - return getQualifiedNameAccess().getRule(); - } - - //REALLiteral ecore::EBigDecimal: - // '-'? INT '.' INT; - public REALLiteralElements getREALLiteralAccess() { - return pREALLiteral; - } - - public ParserRule getREALLiteralRule() { - return getREALLiteralAccess().getRule(); - } - - //INTLiteral ecore::EInt: - // '-'? INT; - public INTLiteralElements getINTLiteralAccess() { - return pINTLiteral; - } - - public ParserRule getINTLiteralRule() { - return getINTLiteralAccess().getRule(); - } - - ///////////////////////////////////////////////////// - //// Imports - ///////////////////////////////////////////////////// - //Import: - // EPackageImport | ViatraImport; - public ImportElements getImportAccess() { - return pImport; - } - - public ParserRule getImportRule() { - return getImportAccess().getRule(); - } - - //EPackageImport: - // "import" "epackage" importedPackage=[ecore::EPackage|STRING]; - public EPackageImportElements getEPackageImportAccess() { - return pEPackageImport; - } - - public ParserRule getEPackageImportRule() { - return getEPackageImportAccess().getRule(); - } - - //ViatraImport: - // "import" "viatra" importedViatra=[viatra::PatternModel|STRING]; - public ViatraImportElements getViatraImportAccess() { - return pViatraImport; - } - - public ParserRule getViatraImportRule() { - return getViatraImportAccess().getRule(); - } - - ///////////////////////////////////////////////////// - //// Declaration - ///////////////////////////////////////////////////// - //Declaration: - // FileDeclaration - // | MetamodelDeclaration - // | PartialModelDeclaration - // | GraphPatternDeclaration - // | ConfigDeclaration - // | ScopeDeclaration; - public DeclarationElements getDeclarationAccess() { - return pDeclaration; - } - - public ParserRule getDeclarationRule() { - return getDeclarationAccess().getRule(); - } - - ///////////////////////////////////////////////////// - //// Files and Folders - ///////////////////////////////////////////////////// - //FileSpecification: - // path=STRING; - public FileSpecificationElements getFileSpecificationAccess() { - return pFileSpecification; - } - - public ParserRule getFileSpecificationRule() { - return getFileSpecificationAccess().getRule(); - } - - //FileDeclaration: - // 'file' name=ID '=' specification=FileSpecification; - public FileDeclarationElements getFileDeclarationAccess() { - return pFileDeclaration; - } - - public ParserRule getFileDeclarationRule() { - return getFileDeclarationAccess().getRule(); - } - - //FileReference: - // referred=[FileDeclaration]; - public FileReferenceElements getFileReferenceAccess() { - return pFileReference; - } - - public ParserRule getFileReferenceRule() { - return getFileReferenceAccess().getRule(); - } - - //File: - // FileSpecification | FileReference; - public FileElements getFileAccess() { - return pFile; - } - - public ParserRule getFileRule() { - return getFileAccess().getRule(); - } - - ///////////////////////////////////////////////////// - //// Metamodel - ///////////////////////////////////////////////////// - //MetamodelSpecification: - // '{' entries+=MetamodelEntry (',' entries+=MetamodelEntry)* '}'; - public MetamodelSpecificationElements getMetamodelSpecificationAccess() { - return pMetamodelSpecification; - } - - public ParserRule getMetamodelSpecificationRule() { - return getMetamodelSpecificationAccess().getRule(); - } - - //MetamodelEntry: - // MetamodelElement | AllPackageEntry; - public MetamodelEntryElements getMetamodelEntryAccess() { - return pMetamodelEntry; - } - - public ParserRule getMetamodelEntryRule() { - return getMetamodelEntryAccess().getRule(); - } - - //AllPackageEntry: - // "package" package=[ecore::EPackage|QualifiedName] ("excluding" '{' exclusion+=MetamodelElement (',' - // exclusion+=MetamodelElement)* '}')?; - public AllPackageEntryElements getAllPackageEntryAccess() { - return pAllPackageEntry; - } - - public ParserRule getAllPackageEntryRule() { - return getAllPackageEntryAccess().getRule(); - } - - //MetamodelElement: - // (package=[ecore::EPackage|QualifiedName] '::')? classifier=[ecore::EClassifier] ('.' - // feature=[ecore::ENamedElement])?; - public MetamodelElementElements getMetamodelElementAccess() { - return pMetamodelElement; - } - - public ParserRule getMetamodelElementRule() { - return getMetamodelElementAccess().getRule(); - } - - //MetamodelDeclaration: - // 'metamodel' name=ID specification=MetamodelSpecification; - public MetamodelDeclarationElements getMetamodelDeclarationAccess() { - return pMetamodelDeclaration; - } - - public ParserRule getMetamodelDeclarationRule() { - return getMetamodelDeclarationAccess().getRule(); - } - - //MetamodelReference: - // referred=[MetamodelDeclaration]; - public MetamodelReferenceElements getMetamodelReferenceAccess() { - return pMetamodelReference; - } - - public ParserRule getMetamodelReferenceRule() { - return getMetamodelReferenceAccess().getRule(); - } - - //Metamodel: - // MetamodelReference | MetamodelSpecification; - public MetamodelElements getMetamodelAccess() { - return pMetamodel; - } - - public ParserRule getMetamodelRule() { - return getMetamodelAccess().getRule(); - } - - ///////////////////////////////////////////////////// - //// Partial Model - ///////////////////////////////////////////////////// - //PartialModelSpecification: - // '{' entry+=PartialModelEntry (',' entry+=PartialModelEntry)? '}'; - public PartialModelSpecificationElements getPartialModelSpecificationAccess() { - return pPartialModelSpecification; - } - - public ParserRule getPartialModelSpecificationRule() { - return getPartialModelSpecificationAccess().getRule(); - } - - //PartialModelEntry: - // ModelEntry | FolderEntry; - public PartialModelEntryElements getPartialModelEntryAccess() { - return pPartialModelEntry; - } - - public ParserRule getPartialModelEntryRule() { - return getPartialModelEntryAccess().getRule(); - } - - //ModelEntry: - // path=File; - public ModelEntryElements getModelEntryAccess() { - return pModelEntry; - } - - public ParserRule getModelEntryRule() { - return getModelEntryAccess().getRule(); - } - - //FolderEntry: - // "folder" path=File ("excluding" "{" exclusion+=ModelEntry ("," exclusion+=ModelEntry)* "}")?; - public FolderEntryElements getFolderEntryAccess() { - return pFolderEntry; - } - - public ParserRule getFolderEntryRule() { - return getFolderEntryAccess().getRule(); - } - - //PartialModelDeclaration: - // 'models' name=ID specification=PartialModelSpecification; - public PartialModelDeclarationElements getPartialModelDeclarationAccess() { - return pPartialModelDeclaration; - } - - public ParserRule getPartialModelDeclarationRule() { - return getPartialModelDeclarationAccess().getRule(); - } - - //PartialModelReference: - // referred=[PartialModelDeclaration]; - public PartialModelReferenceElements getPartialModelReferenceAccess() { - return pPartialModelReference; - } - - public ParserRule getPartialModelReferenceRule() { - return getPartialModelReferenceAccess().getRule(); - } - - //PartialModel: - // PartialModelSpecification | PartialModelReference; - public PartialModelElements getPartialModelAccess() { - return pPartialModel; - } - - public ParserRule getPartialModelRule() { - return getPartialModelAccess().getRule(); - } - - ///////////////////////////////////////////////////// - //// Patterns - ///////////////////////////////////////////////////// - //PatternSpecification: - // '{' entries+=PatternEntry (',' entries+=PatternEntry)* '}'; - public PatternSpecificationElements getPatternSpecificationAccess() { - return pPatternSpecification; - } - - public ParserRule getPatternSpecificationRule() { - return getPatternSpecificationAccess().getRule(); - } - - //PatternEntry: - // PatternElement | AllPatternEntry; - public PatternEntryElements getPatternEntryAccess() { - return pPatternEntry; - } - - public ParserRule getPatternEntryRule() { - return getPatternEntryAccess().getRule(); - } - - //AllPatternEntry: - // 'package' package=[viatra::PatternModel|QualifiedName] ('excluding' '{' exclusuion+=PatternElement (',' - // exclusuion+=PatternElement)* '}')?; - public AllPatternEntryElements getAllPatternEntryAccess() { - return pAllPatternEntry; - } - - public ParserRule getAllPatternEntryRule() { - return getAllPatternEntryAccess().getRule(); - } - - //PatternElement: - // (package=[viatra::PatternModel|QualifiedName] '::')? pattern=[viatra::Pattern]; - public PatternElementElements getPatternElementAccess() { - return pPatternElement; - } - - public ParserRule getPatternElementRule() { - return getPatternElementAccess().getRule(); - } - - //GraphPatternDeclaration: - // 'constraints' name=ID specification=PatternSpecification; - public GraphPatternDeclarationElements getGraphPatternDeclarationAccess() { - return pGraphPatternDeclaration; - } - - public ParserRule getGraphPatternDeclarationRule() { - return getGraphPatternDeclarationAccess().getRule(); - } - - //GraphPatternReference: - // referred=[GraphPatternDeclaration]; - public GraphPatternReferenceElements getGraphPatternReferenceAccess() { - return pGraphPatternReference; - } - - public ParserRule getGraphPatternReferenceRule() { - return getGraphPatternReferenceAccess().getRule(); - } - - //GraphPattern: - // GraphPatternReference | PatternSpecification; - public GraphPatternElements getGraphPatternAccess() { - return pGraphPattern; - } - - public ParserRule getGraphPatternRule() { - return getGraphPatternAccess().getRule(); - } - - ///////////////////////////////////////////////////// - //// SolverConfig - ///////////////////////////////////////////////////// - //ConfigSpecification: - // {ConfigSpecification} '{' (entries+=ConfigEntry ("," entries+=ConfigEntry)*)? - // '}'; - public ConfigSpecificationElements getConfigSpecificationAccess() { - return pConfigSpecification; - } - - public ParserRule getConfigSpecificationRule() { - return getConfigSpecificationAccess().getRule(); - } - - //ConfigDeclaration: - // 'config' name=ID specification=ConfigSpecification; - public ConfigDeclarationElements getConfigDeclarationAccess() { - return pConfigDeclaration; - } - - public ParserRule getConfigDeclarationRule() { - return getConfigDeclarationAccess().getRule(); - } - - //ConfigEntry: - // DocumentationEntry | RuntimeEntry | MemoryEntry | CustomEntry; - public ConfigEntryElements getConfigEntryAccess() { - return pConfigEntry; - } - - public ParserRule getConfigEntryRule() { - return getConfigEntryAccess().getRule(); - } - - //DocumentationEntry: - // "log-level" '=' level=DocumentLevelSpecification; - public DocumentationEntryElements getDocumentationEntryAccess() { - return pDocumentationEntry; - } - - public ParserRule getDocumentationEntryRule() { - return getDocumentationEntryAccess().getRule(); - } - - //enum DocumentLevelSpecification: - // none | normal | full; - public DocumentLevelSpecificationElements getDocumentLevelSpecificationAccess() { - return eDocumentLevelSpecification; - } - - public EnumRule getDocumentLevelSpecificationRule() { - return getDocumentLevelSpecificationAccess().getRule(); - } - - //RuntimeEntry: - // "runtime" "=" millisecLimit=INT; - public RuntimeEntryElements getRuntimeEntryAccess() { - return pRuntimeEntry; - } - - public ParserRule getRuntimeEntryRule() { - return getRuntimeEntryAccess().getRule(); - } - - //MemoryEntry: - // "memory" "=" megabyteLimit=INT; - public MemoryEntryElements getMemoryEntryAccess() { - return pMemoryEntry; - } - - public ParserRule getMemoryEntryRule() { - return getMemoryEntryAccess().getRule(); - } - - //CustomEntry: - // key=STRING "=" value=STRING; - public CustomEntryElements getCustomEntryAccess() { - return pCustomEntry; - } - - public ParserRule getCustomEntryRule() { - return getCustomEntryAccess().getRule(); - } - - //ConfigReference: - // config=[ConfigDeclaration]; - public ConfigReferenceElements getConfigReferenceAccess() { - return pConfigReference; - } - - public ParserRule getConfigReferenceRule() { - return getConfigReferenceAccess().getRule(); - } - - //Config: - // ConfigSpecification | ConfigReference; - public ConfigElements getConfigAccess() { - return pConfig; - } - - public ParserRule getConfigRule() { - return getConfigAccess().getRule(); - } - - //enum Solver: - // SMTSolver | AlloySolver | ViatraSolver; - public SolverElements getSolverAccess() { - return eSolver; - } - - public EnumRule getSolverRule() { - return getSolverAccess().getRule(); - } - - //ScopeSpecification: - // {ScopeSpecification} '{' (scopes+=TypeScope (',' scopes+=TypeScope)*)? - // '}'; - public ScopeSpecificationElements getScopeSpecificationAccess() { - return pScopeSpecification; - } - - public ParserRule getScopeSpecificationRule() { - return getScopeSpecificationAccess().getRule(); - } - - //TypeScope: - // ClassTypeScope | ObjectTypeScope | IntegerTypeScope | RealTypeScope | StringTypeScope; - public TypeScopeElements getTypeScopeAccess() { - return pTypeScope; - } - - public ParserRule getTypeScopeRule() { - return getTypeScopeAccess().getRule(); - } - - //ClassTypeScope: - // '#' type=ClassReference (setsNew?='+=' | setsSum?='=') (number=ExactNumber | number=IntervallNumber); - public ClassTypeScopeElements getClassTypeScopeAccess() { - return pClassTypeScope; - } - - public ParserRule getClassTypeScopeRule() { - return getClassTypeScopeAccess().getRule(); - } - - //ObjectTypeScope: - // '#' type=ObjectReference (setsNew?='+=' | setsSum?='=') (number=ExactNumber | number=IntervallNumber); - public ObjectTypeScopeElements getObjectTypeScopeAccess() { - return pObjectTypeScope; - } - - public ParserRule getObjectTypeScopeRule() { - return getObjectTypeScopeAccess().getRule(); - } - - //IntegerTypeScope: - // '#' type=IntegerReference (setsNew?='+=' | setsSum?='=') (number=ExactNumber | number=IntervallNumber | - // number=IntEnumberation); - public IntegerTypeScopeElements getIntegerTypeScopeAccess() { - return pIntegerTypeScope; - } - - public ParserRule getIntegerTypeScopeRule() { - return getIntegerTypeScopeAccess().getRule(); - } - - //RealTypeScope: - // '#' type=RealReference (setsNew?='+=' | setsSum?='=') (number=ExactNumber | number=IntervallNumber | - // number=RealEnumeration); - public RealTypeScopeElements getRealTypeScopeAccess() { - return pRealTypeScope; - } - - public ParserRule getRealTypeScopeRule() { - return getRealTypeScopeAccess().getRule(); - } - - //StringTypeScope: - // '#' type=StringReference (setsNew?='+=' | setsSum?='=') (number=ExactNumber | number=IntervallNumber | - // number=StringEnumeration); - public StringTypeScopeElements getStringTypeScopeAccess() { - return pStringTypeScope; - } - - public ParserRule getStringTypeScopeRule() { - return getStringTypeScopeAccess().getRule(); - } - - //TypeReference: - // ClassReference | ObjectReference | IntegerReference | RealReference | StringReference; - public TypeReferenceElements getTypeReferenceAccess() { - return pTypeReference; - } - - public ParserRule getTypeReferenceRule() { - return getTypeReferenceAccess().getRule(); - } - - //ClassReference: - // '<' element=MetamodelElement '>'; - public ClassReferenceElements getClassReferenceAccess() { - return pClassReference; - } - - public ParserRule getClassReferenceRule() { - return getClassReferenceAccess().getRule(); - } - - //ObjectReference: - // {ObjectReference} 'node'; - public ObjectReferenceElements getObjectReferenceAccess() { - return pObjectReference; - } - - public ParserRule getObjectReferenceRule() { - return getObjectReferenceAccess().getRule(); - } - - //IntegerReference: - // {IntegerScope} 'int'; - public IntegerReferenceElements getIntegerReferenceAccess() { - return pIntegerReference; - } - - public ParserRule getIntegerReferenceRule() { - return getIntegerReferenceAccess().getRule(); - } - - //RealReference: - // {RealScope} 'real'; - public RealReferenceElements getRealReferenceAccess() { - return pRealReference; - } - - public ParserRule getRealReferenceRule() { - return getRealReferenceAccess().getRule(); - } - - //StringReference: - // {StringScope} 'string'; - public StringReferenceElements getStringReferenceAccess() { - return pStringReference; - } - - public ParserRule getStringReferenceRule() { - return getStringReferenceAccess().getRule(); - } - - //NumberSpecification: - // ExactNumber | IntervallNumber | IntEnumberation | RealEnumeration | StringEnumeration; - public NumberSpecificationElements getNumberSpecificationAccess() { - return pNumberSpecification; - } - - public ParserRule getNumberSpecificationRule() { - return getNumberSpecificationAccess().getRule(); - } - - //ExactNumber: - // exactNumber=INT | exactUnlimited?='*'; - public ExactNumberElements getExactNumberAccess() { - return pExactNumber; - } - - public ParserRule getExactNumberRule() { - return getExactNumberAccess().getRule(); - } - - //IntervallNumber: - // min=INT '..' (maxNumber=INT | maxUnlimited?='*'); - public IntervallNumberElements getIntervallNumberAccess() { - return pIntervallNumber; - } - - public ParserRule getIntervallNumberRule() { - return getIntervallNumberAccess().getRule(); - } - - //IntEnumberation: - // {IntEnumberation} '{' (entry+=INTLiteral (',' entry+=INTLiteral)*)? '}'; - public IntEnumberationElements getIntEnumberationAccess() { - return pIntEnumberation; - } - - public ParserRule getIntEnumberationRule() { - return getIntEnumberationAccess().getRule(); - } - - //RealEnumeration: - // {RealEnumeration} '{' (entry+=REALLiteral (',' entry+=REALLiteral)*)? '}'; - public RealEnumerationElements getRealEnumerationAccess() { - return pRealEnumeration; - } - - public ParserRule getRealEnumerationRule() { - return getRealEnumerationAccess().getRule(); - } - - //StringEnumeration: - // {StringEnumeration} '{' (entry+=STRING (',' entry+=STRING)*)? '}'; - public StringEnumerationElements getStringEnumerationAccess() { - return pStringEnumeration; - } - - public ParserRule getStringEnumerationRule() { - return getStringEnumerationAccess().getRule(); - } - - //ScopeDeclaration: - // 'scope' name=ID specification=ScopeSpecification; - public ScopeDeclarationElements getScopeDeclarationAccess() { - return pScopeDeclaration; - } - - public ParserRule getScopeDeclarationRule() { - return getScopeDeclarationAccess().getRule(); - } - - //ScopeReference: - // referred=[ScopeDeclaration]; - public ScopeReferenceElements getScopeReferenceAccess() { - return pScopeReference; - } - - public ParserRule getScopeReferenceRule() { - return getScopeReferenceAccess().getRule(); - } - - //Scope: - // ScopeSpecification | ScopeReference; - public ScopeElements getScopeAccess() { - return pScope; - } - - public ParserRule getScopeRule() { - return getScopeAccess().getRule(); - } - - //Task: - // GenerationTask /*| CoverageCalculation | ValidationTask*/; - public TaskElements getTaskAccess() { - return pTask; - } - - public ParserRule getTaskRule() { - return getTaskAccess().getRule(); - } - - //GenerationTask: - // 'generate' {GenerationTask} '{' (('metamodel' '=' metamodel=Metamodel)? & ('partial-model' '=' - // partialModel=PartialModel)? & ('constraints' '=' patterns=GraphPattern)? & ('scope' '=' scope=Scope)? & - // (numberSpecified?='number' '=' number=INT)? & (runSpecified?='runs' '=' runs=INT)? & ('solver' '=' solver=Solver)? & - // ('config' '=' config=Config)? & ('debug' '=' debugFolder=File)? & ('log' '=' targetLogFile=File)? & ('statistics' '=' - // targetStatisticsFile=File)? & ('output' '=' tagetFolder=File)?) '}'; - public GenerationTaskElements getGenerationTaskAccess() { - return pGenerationTask; - } - - public ParserRule getGenerationTaskRule() { - return getGenerationTaskAccess().getRule(); - } - - //terminal ID: - // '^'? ('a'..'z' | 'A'..'Z' | '_') ('a'..'z' | 'A'..'Z' | '_' | '0'..'9')*; - public TerminalRule getIDRule() { - return gaTerminals.getIDRule(); - } - - //terminal INT returns ecore::EInt: - // '0'..'9'+; - public TerminalRule getINTRule() { - return gaTerminals.getINTRule(); - } - - //terminal STRING: - // '"' ('\\' . | !('\\' | '"'))* '"' | "'" ('\\' . | !('\\' | "'"))* "'"; - public TerminalRule getSTRINGRule() { - return gaTerminals.getSTRINGRule(); - } - - //terminal ML_COMMENT: - // '/*'->'*/'; - public TerminalRule getML_COMMENTRule() { - return gaTerminals.getML_COMMENTRule(); - } - - //terminal SL_COMMENT: - // '//' !('\n' | '\r')* ('\r'? '\n')?; - public TerminalRule getSL_COMMENTRule() { - return gaTerminals.getSL_COMMENTRule(); - } - - //terminal WS: - // ' ' | '\t' | '\r' | '\n'+; - public TerminalRule getWSRule() { - return gaTerminals.getWSRule(); - } - - //terminal ANY_OTHER: - // .; - public TerminalRule getANY_OTHERRule() { - return gaTerminals.getANY_OTHERRule(); - } -} +/* + * generated by Xtext 2.16.0 + */ +package hu.bme.mit.inf.dslreasoner.application.services; + +import com.google.inject.Inject; +import com.google.inject.Singleton; +import java.util.List; +import org.eclipse.xtext.Action; +import org.eclipse.xtext.Alternatives; +import org.eclipse.xtext.Assignment; +import org.eclipse.xtext.CrossReference; +import org.eclipse.xtext.EnumLiteralDeclaration; +import org.eclipse.xtext.EnumRule; +import org.eclipse.xtext.Grammar; +import org.eclipse.xtext.GrammarUtil; +import org.eclipse.xtext.Group; +import org.eclipse.xtext.Keyword; +import org.eclipse.xtext.ParserRule; +import org.eclipse.xtext.RuleCall; +import org.eclipse.xtext.TerminalRule; +import org.eclipse.xtext.UnorderedGroup; +import org.eclipse.xtext.common.services.TerminalsGrammarAccess; +import org.eclipse.xtext.service.AbstractElementFinder.AbstractEnumRuleElementFinder; +import org.eclipse.xtext.service.AbstractElementFinder.AbstractGrammarElementFinder; +import org.eclipse.xtext.service.GrammarProvider; + +@Singleton +public class ApplicationConfigurationGrammarAccess extends AbstractGrammarElementFinder { + + public class ConfigurationScriptElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ConfigurationScript"); + private final Group cGroup = (Group)rule.eContents().get(1); + private final Assignment cImportsAssignment_0 = (Assignment)cGroup.eContents().get(0); + private final RuleCall cImportsImportParserRuleCall_0_0 = (RuleCall)cImportsAssignment_0.eContents().get(0); + private final Assignment cCommandsAssignment_1 = (Assignment)cGroup.eContents().get(1); + private final RuleCall cCommandsCommandParserRuleCall_1_0 = (RuleCall)cCommandsAssignment_1.eContents().get(0); + + //ConfigurationScript: + // imports+=Import* + // commands+=Command*; + @Override public ParserRule getRule() { return rule; } + + //imports+=Import* commands+=Command* + public Group getGroup() { return cGroup; } + + //imports+=Import* + public Assignment getImportsAssignment_0() { return cImportsAssignment_0; } + + //Import + public RuleCall getImportsImportParserRuleCall_0_0() { return cImportsImportParserRuleCall_0_0; } + + //commands+=Command* + public Assignment getCommandsAssignment_1() { return cCommandsAssignment_1; } + + //Command + public RuleCall getCommandsCommandParserRuleCall_1_0() { return cCommandsCommandParserRuleCall_1_0; } + } + public class CommandElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Command"); + private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); + private final RuleCall cDeclarationParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); + private final RuleCall cTaskParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); + + //Command: + // Declaration | Task; + @Override public ParserRule getRule() { return rule; } + + //Declaration | Task + public Alternatives getAlternatives() { return cAlternatives; } + + //Declaration + public RuleCall getDeclarationParserRuleCall_0() { return cDeclarationParserRuleCall_0; } + + //Task + public RuleCall getTaskParserRuleCall_1() { return cTaskParserRuleCall_1; } + } + public class QualifiedNameElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.QualifiedName"); + private final Group cGroup = (Group)rule.eContents().get(1); + private final RuleCall cIDTerminalRuleCall_0 = (RuleCall)cGroup.eContents().get(0); + private final Group cGroup_1 = (Group)cGroup.eContents().get(1); + private final Keyword cFullStopKeyword_1_0 = (Keyword)cGroup_1.eContents().get(0); + private final RuleCall cIDTerminalRuleCall_1_1 = (RuleCall)cGroup_1.eContents().get(1); + + //QualifiedName: + // ID ('.' ID)*; + @Override public ParserRule getRule() { return rule; } + + //ID ('.' ID)* + public Group getGroup() { return cGroup; } + + //ID + public RuleCall getIDTerminalRuleCall_0() { return cIDTerminalRuleCall_0; } + + //('.' ID)* + public Group getGroup_1() { return cGroup_1; } + + //'.' + public Keyword getFullStopKeyword_1_0() { return cFullStopKeyword_1_0; } + + //ID + public RuleCall getIDTerminalRuleCall_1_1() { return cIDTerminalRuleCall_1_1; } + } + public class REALLiteralElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.REALLiteral"); + private final Group cGroup = (Group)rule.eContents().get(1); + private final Keyword cHyphenMinusKeyword_0 = (Keyword)cGroup.eContents().get(0); + private final RuleCall cINTTerminalRuleCall_1 = (RuleCall)cGroup.eContents().get(1); + private final Keyword cFullStopKeyword_2 = (Keyword)cGroup.eContents().get(2); + private final RuleCall cINTTerminalRuleCall_3 = (RuleCall)cGroup.eContents().get(3); + + //REALLiteral ecore::EBigDecimal: + // '-'? INT '.' INT; + @Override public ParserRule getRule() { return rule; } + + //'-'? INT '.' INT + public Group getGroup() { return cGroup; } + + //'-'? + public Keyword getHyphenMinusKeyword_0() { return cHyphenMinusKeyword_0; } + + //INT + public RuleCall getINTTerminalRuleCall_1() { return cINTTerminalRuleCall_1; } + + //'.' + public Keyword getFullStopKeyword_2() { return cFullStopKeyword_2; } + + //INT + public RuleCall getINTTerminalRuleCall_3() { return cINTTerminalRuleCall_3; } + } + public class INTLiteralElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.INTLiteral"); + private final Group cGroup = (Group)rule.eContents().get(1); + private final Keyword cHyphenMinusKeyword_0 = (Keyword)cGroup.eContents().get(0); + private final RuleCall cINTTerminalRuleCall_1 = (RuleCall)cGroup.eContents().get(1); + + //INTLiteral ecore::EInt: + // '-'? INT; + @Override public ParserRule getRule() { return rule; } + + //'-'? INT + public Group getGroup() { return cGroup; } + + //'-'? + public Keyword getHyphenMinusKeyword_0() { return cHyphenMinusKeyword_0; } + + //INT + public RuleCall getINTTerminalRuleCall_1() { return cINTTerminalRuleCall_1; } + } + public class ImportElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Import"); + private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); + private final RuleCall cEPackageImportParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); + private final RuleCall cViatraImportParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); + private final RuleCall cCftImportParserRuleCall_2 = (RuleCall)cAlternatives.eContents().get(2); + + ///////////////////////////////////////////////////// + //// Imports + ///////////////////////////////////////////////////// + //Import: + // EPackageImport | ViatraImport | CftImport; + @Override public ParserRule getRule() { return rule; } + + //EPackageImport | ViatraImport | CftImport + public Alternatives getAlternatives() { return cAlternatives; } + + //EPackageImport + public RuleCall getEPackageImportParserRuleCall_0() { return cEPackageImportParserRuleCall_0; } + + //ViatraImport + public RuleCall getViatraImportParserRuleCall_1() { return cViatraImportParserRuleCall_1; } + + //CftImport + public RuleCall getCftImportParserRuleCall_2() { return cCftImportParserRuleCall_2; } + } + public class EPackageImportElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.EPackageImport"); + private final Group cGroup = (Group)rule.eContents().get(1); + private final Keyword cImportKeyword_0 = (Keyword)cGroup.eContents().get(0); + private final Keyword cEpackageKeyword_1 = (Keyword)cGroup.eContents().get(1); + private final Assignment cImportedPackageAssignment_2 = (Assignment)cGroup.eContents().get(2); + private final CrossReference cImportedPackageEPackageCrossReference_2_0 = (CrossReference)cImportedPackageAssignment_2.eContents().get(0); + private final RuleCall cImportedPackageEPackageSTRINGTerminalRuleCall_2_0_1 = (RuleCall)cImportedPackageEPackageCrossReference_2_0.eContents().get(1); + + //EPackageImport: + // "import" "epackage" importedPackage=[ecore::EPackage|STRING]; + @Override public ParserRule getRule() { return rule; } + + //"import" "epackage" importedPackage=[ecore::EPackage|STRING] + public Group getGroup() { return cGroup; } + + //"import" + public Keyword getImportKeyword_0() { return cImportKeyword_0; } + + //"epackage" + public Keyword getEpackageKeyword_1() { return cEpackageKeyword_1; } + + //importedPackage=[ecore::EPackage|STRING] + public Assignment getImportedPackageAssignment_2() { return cImportedPackageAssignment_2; } + + //[ecore::EPackage|STRING] + public CrossReference getImportedPackageEPackageCrossReference_2_0() { return cImportedPackageEPackageCrossReference_2_0; } + + //STRING + public RuleCall getImportedPackageEPackageSTRINGTerminalRuleCall_2_0_1() { return cImportedPackageEPackageSTRINGTerminalRuleCall_2_0_1; } + } + public class ViatraImportElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ViatraImport"); + private final Group cGroup = (Group)rule.eContents().get(1); + private final Keyword cImportKeyword_0 = (Keyword)cGroup.eContents().get(0); + private final Keyword cViatraKeyword_1 = (Keyword)cGroup.eContents().get(1); + private final Assignment cImportedViatraAssignment_2 = (Assignment)cGroup.eContents().get(2); + private final CrossReference cImportedViatraPatternModelCrossReference_2_0 = (CrossReference)cImportedViatraAssignment_2.eContents().get(0); + private final RuleCall cImportedViatraPatternModelSTRINGTerminalRuleCall_2_0_1 = (RuleCall)cImportedViatraPatternModelCrossReference_2_0.eContents().get(1); + + //ViatraImport: + // "import" "viatra" importedViatra=[viatra::PatternModel|STRING]; + @Override public ParserRule getRule() { return rule; } + + //"import" "viatra" importedViatra=[viatra::PatternModel|STRING] + public Group getGroup() { return cGroup; } + + //"import" + public Keyword getImportKeyword_0() { return cImportKeyword_0; } + + //"viatra" + public Keyword getViatraKeyword_1() { return cViatraKeyword_1; } + + //importedViatra=[viatra::PatternModel|STRING] + public Assignment getImportedViatraAssignment_2() { return cImportedViatraAssignment_2; } + + //[viatra::PatternModel|STRING] + public CrossReference getImportedViatraPatternModelCrossReference_2_0() { return cImportedViatraPatternModelCrossReference_2_0; } + + //STRING + public RuleCall getImportedViatraPatternModelSTRINGTerminalRuleCall_2_0_1() { return cImportedViatraPatternModelSTRINGTerminalRuleCall_2_0_1; } + } + public class CftImportElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.CftImport"); + private final Group cGroup = (Group)rule.eContents().get(1); + private final Keyword cImportKeyword_0 = (Keyword)cGroup.eContents().get(0); + private final Keyword cReliabilityKeyword_1 = (Keyword)cGroup.eContents().get(1); + private final Assignment cImportedCftAssignment_2 = (Assignment)cGroup.eContents().get(2); + private final CrossReference cImportedCftCftModelCrossReference_2_0 = (CrossReference)cImportedCftAssignment_2.eContents().get(0); + private final RuleCall cImportedCftCftModelSTRINGTerminalRuleCall_2_0_1 = (RuleCall)cImportedCftCftModelCrossReference_2_0.eContents().get(1); + + //CftImport: + // "import" "reliability" importedCft=[cftLanguage::CftModel|STRING]; + @Override public ParserRule getRule() { return rule; } + + //"import" "reliability" importedCft=[cftLanguage::CftModel|STRING] + public Group getGroup() { return cGroup; } + + //"import" + public Keyword getImportKeyword_0() { return cImportKeyword_0; } + + //"reliability" + public Keyword getReliabilityKeyword_1() { return cReliabilityKeyword_1; } + + //importedCft=[cftLanguage::CftModel|STRING] + public Assignment getImportedCftAssignment_2() { return cImportedCftAssignment_2; } + + //[cftLanguage::CftModel|STRING] + public CrossReference getImportedCftCftModelCrossReference_2_0() { return cImportedCftCftModelCrossReference_2_0; } + + //STRING + public RuleCall getImportedCftCftModelSTRINGTerminalRuleCall_2_0_1() { return cImportedCftCftModelSTRINGTerminalRuleCall_2_0_1; } + } + public class DeclarationElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Declaration"); + private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); + private final RuleCall cFileDeclarationParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); + private final RuleCall cMetamodelDeclarationParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); + private final RuleCall cPartialModelDeclarationParserRuleCall_2 = (RuleCall)cAlternatives.eContents().get(2); + private final RuleCall cGraphPatternDeclarationParserRuleCall_3 = (RuleCall)cAlternatives.eContents().get(3); + private final RuleCall cConfigDeclarationParserRuleCall_4 = (RuleCall)cAlternatives.eContents().get(4); + private final RuleCall cScopeDeclarationParserRuleCall_5 = (RuleCall)cAlternatives.eContents().get(5); + private final RuleCall cObjectiveDeclarationParserRuleCall_6 = (RuleCall)cAlternatives.eContents().get(6); + + ///////////////////////////////////////////////////// + //// Declaration + ///////////////////////////////////////////////////// + //Declaration: + // FileDeclaration + // | MetamodelDeclaration + // | PartialModelDeclaration + // | GraphPatternDeclaration + // | ConfigDeclaration + // | ScopeDeclaration + // | ObjectiveDeclaration; + @Override public ParserRule getRule() { return rule; } + + //FileDeclaration | MetamodelDeclaration | PartialModelDeclaration | GraphPatternDeclaration | ConfigDeclaration | + //ScopeDeclaration | ObjectiveDeclaration + public Alternatives getAlternatives() { return cAlternatives; } + + //FileDeclaration + public RuleCall getFileDeclarationParserRuleCall_0() { return cFileDeclarationParserRuleCall_0; } + + //MetamodelDeclaration + public RuleCall getMetamodelDeclarationParserRuleCall_1() { return cMetamodelDeclarationParserRuleCall_1; } + + //PartialModelDeclaration + public RuleCall getPartialModelDeclarationParserRuleCall_2() { return cPartialModelDeclarationParserRuleCall_2; } + + //GraphPatternDeclaration + public RuleCall getGraphPatternDeclarationParserRuleCall_3() { return cGraphPatternDeclarationParserRuleCall_3; } + + //ConfigDeclaration + public RuleCall getConfigDeclarationParserRuleCall_4() { return cConfigDeclarationParserRuleCall_4; } + + //ScopeDeclaration + public RuleCall getScopeDeclarationParserRuleCall_5() { return cScopeDeclarationParserRuleCall_5; } + + //ObjectiveDeclaration + public RuleCall getObjectiveDeclarationParserRuleCall_6() { return cObjectiveDeclarationParserRuleCall_6; } + } + public class FileSpecificationElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.FileSpecification"); + private final Assignment cPathAssignment = (Assignment)rule.eContents().get(1); + private final RuleCall cPathSTRINGTerminalRuleCall_0 = (RuleCall)cPathAssignment.eContents().get(0); + + ///////////////////////////////////////////////////// + //// Files and Folders + ///////////////////////////////////////////////////// + //FileSpecification: + // path=STRING; + @Override public ParserRule getRule() { return rule; } + + //path=STRING + public Assignment getPathAssignment() { return cPathAssignment; } + + //STRING + public RuleCall getPathSTRINGTerminalRuleCall_0() { return cPathSTRINGTerminalRuleCall_0; } + } + public class FileDeclarationElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.FileDeclaration"); + private final Group cGroup = (Group)rule.eContents().get(1); + private final Keyword cFileKeyword_0 = (Keyword)cGroup.eContents().get(0); + private final Assignment cNameAssignment_1 = (Assignment)cGroup.eContents().get(1); + private final RuleCall cNameIDTerminalRuleCall_1_0 = (RuleCall)cNameAssignment_1.eContents().get(0); + private final Keyword cEqualsSignKeyword_2 = (Keyword)cGroup.eContents().get(2); + private final Assignment cSpecificationAssignment_3 = (Assignment)cGroup.eContents().get(3); + private final RuleCall cSpecificationFileSpecificationParserRuleCall_3_0 = (RuleCall)cSpecificationAssignment_3.eContents().get(0); + + //FileDeclaration: + // 'file' name=ID '=' specification=FileSpecification; + @Override public ParserRule getRule() { return rule; } + + //'file' name=ID '=' specification=FileSpecification + public Group getGroup() { return cGroup; } + + //'file' + public Keyword getFileKeyword_0() { return cFileKeyword_0; } + + //name=ID + public Assignment getNameAssignment_1() { return cNameAssignment_1; } + + //ID + public RuleCall getNameIDTerminalRuleCall_1_0() { return cNameIDTerminalRuleCall_1_0; } + + //'=' + public Keyword getEqualsSignKeyword_2() { return cEqualsSignKeyword_2; } + + //specification=FileSpecification + public Assignment getSpecificationAssignment_3() { return cSpecificationAssignment_3; } + + //FileSpecification + public RuleCall getSpecificationFileSpecificationParserRuleCall_3_0() { return cSpecificationFileSpecificationParserRuleCall_3_0; } + } + public class FileReferenceElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.FileReference"); + private final Assignment cReferredAssignment = (Assignment)rule.eContents().get(1); + private final CrossReference cReferredFileDeclarationCrossReference_0 = (CrossReference)cReferredAssignment.eContents().get(0); + private final RuleCall cReferredFileDeclarationIDTerminalRuleCall_0_1 = (RuleCall)cReferredFileDeclarationCrossReference_0.eContents().get(1); + + //FileReference: + // referred=[FileDeclaration]; + @Override public ParserRule getRule() { return rule; } + + //referred=[FileDeclaration] + public Assignment getReferredAssignment() { return cReferredAssignment; } + + //[FileDeclaration] + public CrossReference getReferredFileDeclarationCrossReference_0() { return cReferredFileDeclarationCrossReference_0; } + + //ID + public RuleCall getReferredFileDeclarationIDTerminalRuleCall_0_1() { return cReferredFileDeclarationIDTerminalRuleCall_0_1; } + } + public class FileElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File"); + private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); + private final RuleCall cFileSpecificationParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); + private final RuleCall cFileReferenceParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); + + //File: + // FileSpecification | FileReference; + @Override public ParserRule getRule() { return rule; } + + //FileSpecification | FileReference + public Alternatives getAlternatives() { return cAlternatives; } + + //FileSpecification + public RuleCall getFileSpecificationParserRuleCall_0() { return cFileSpecificationParserRuleCall_0; } + + //FileReference + public RuleCall getFileReferenceParserRuleCall_1() { return cFileReferenceParserRuleCall_1; } + } + public class MetamodelSpecificationElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelSpecification"); + private final Group cGroup = (Group)rule.eContents().get(1); + private final Keyword cLeftCurlyBracketKeyword_0 = (Keyword)cGroup.eContents().get(0); + private final Assignment cEntriesAssignment_1 = (Assignment)cGroup.eContents().get(1); + private final RuleCall cEntriesMetamodelEntryParserRuleCall_1_0 = (RuleCall)cEntriesAssignment_1.eContents().get(0); + private final Group cGroup_2 = (Group)cGroup.eContents().get(2); + private final Keyword cCommaKeyword_2_0 = (Keyword)cGroup_2.eContents().get(0); + private final Assignment cEntriesAssignment_2_1 = (Assignment)cGroup_2.eContents().get(1); + private final RuleCall cEntriesMetamodelEntryParserRuleCall_2_1_0 = (RuleCall)cEntriesAssignment_2_1.eContents().get(0); + private final Keyword cRightCurlyBracketKeyword_3 = (Keyword)cGroup.eContents().get(3); + + ///////////////////////////////////////////////////// + //// Metamodel + ///////////////////////////////////////////////////// + //MetamodelSpecification: + // '{' entries+=MetamodelEntry (',' entries+=MetamodelEntry)* '}'; + @Override public ParserRule getRule() { return rule; } + + //'{' entries+=MetamodelEntry (',' entries+=MetamodelEntry)* '}' + public Group getGroup() { return cGroup; } + + //'{' + public Keyword getLeftCurlyBracketKeyword_0() { return cLeftCurlyBracketKeyword_0; } + + //entries+=MetamodelEntry + public Assignment getEntriesAssignment_1() { return cEntriesAssignment_1; } + + //MetamodelEntry + public RuleCall getEntriesMetamodelEntryParserRuleCall_1_0() { return cEntriesMetamodelEntryParserRuleCall_1_0; } + + //(',' entries+=MetamodelEntry)* + public Group getGroup_2() { return cGroup_2; } + + //',' + public Keyword getCommaKeyword_2_0() { return cCommaKeyword_2_0; } + + //entries+=MetamodelEntry + public Assignment getEntriesAssignment_2_1() { return cEntriesAssignment_2_1; } + + //MetamodelEntry + public RuleCall getEntriesMetamodelEntryParserRuleCall_2_1_0() { return cEntriesMetamodelEntryParserRuleCall_2_1_0; } + + //'}' + public Keyword getRightCurlyBracketKeyword_3() { return cRightCurlyBracketKeyword_3; } + } + public class MetamodelEntryElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelEntry"); + private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); + private final RuleCall cMetamodelElementParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); + private final RuleCall cAllPackageEntryParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); + + //MetamodelEntry: + // MetamodelElement | AllPackageEntry; + @Override public ParserRule getRule() { return rule; } + + //MetamodelElement | AllPackageEntry + public Alternatives getAlternatives() { return cAlternatives; } + + //MetamodelElement + public RuleCall getMetamodelElementParserRuleCall_0() { return cMetamodelElementParserRuleCall_0; } + + //AllPackageEntry + public RuleCall getAllPackageEntryParserRuleCall_1() { return cAllPackageEntryParserRuleCall_1; } + } + public class AllPackageEntryElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.AllPackageEntry"); + private final Group cGroup = (Group)rule.eContents().get(1); + private final Keyword cPackageKeyword_0 = (Keyword)cGroup.eContents().get(0); + private final Assignment cPackageAssignment_1 = (Assignment)cGroup.eContents().get(1); + private final CrossReference cPackageEPackageCrossReference_1_0 = (CrossReference)cPackageAssignment_1.eContents().get(0); + private final RuleCall cPackageEPackageQualifiedNameParserRuleCall_1_0_1 = (RuleCall)cPackageEPackageCrossReference_1_0.eContents().get(1); + private final Group cGroup_2 = (Group)cGroup.eContents().get(2); + private final Keyword cExcludingKeyword_2_0 = (Keyword)cGroup_2.eContents().get(0); + private final Keyword cLeftCurlyBracketKeyword_2_1 = (Keyword)cGroup_2.eContents().get(1); + private final Assignment cExclusionAssignment_2_2 = (Assignment)cGroup_2.eContents().get(2); + private final RuleCall cExclusionMetamodelElementParserRuleCall_2_2_0 = (RuleCall)cExclusionAssignment_2_2.eContents().get(0); + private final Group cGroup_2_3 = (Group)cGroup_2.eContents().get(3); + private final Keyword cCommaKeyword_2_3_0 = (Keyword)cGroup_2_3.eContents().get(0); + private final Assignment cExclusionAssignment_2_3_1 = (Assignment)cGroup_2_3.eContents().get(1); + private final RuleCall cExclusionMetamodelElementParserRuleCall_2_3_1_0 = (RuleCall)cExclusionAssignment_2_3_1.eContents().get(0); + private final Keyword cRightCurlyBracketKeyword_2_4 = (Keyword)cGroup_2.eContents().get(4); + + //AllPackageEntry: + // "package" package=[ecore::EPackage|QualifiedName] ("excluding" '{' exclusion+=MetamodelElement (',' + // exclusion+=MetamodelElement)* '}')?; + @Override public ParserRule getRule() { return rule; } + + //"package" package=[ecore::EPackage|QualifiedName] ("excluding" '{' exclusion+=MetamodelElement (',' + //exclusion+=MetamodelElement)* '}')? + public Group getGroup() { return cGroup; } + + //"package" + public Keyword getPackageKeyword_0() { return cPackageKeyword_0; } + + //package=[ecore::EPackage|QualifiedName] + public Assignment getPackageAssignment_1() { return cPackageAssignment_1; } + + //[ecore::EPackage|QualifiedName] + public CrossReference getPackageEPackageCrossReference_1_0() { return cPackageEPackageCrossReference_1_0; } + + //QualifiedName + public RuleCall getPackageEPackageQualifiedNameParserRuleCall_1_0_1() { return cPackageEPackageQualifiedNameParserRuleCall_1_0_1; } + + //("excluding" '{' exclusion+=MetamodelElement (',' exclusion+=MetamodelElement)* '}')? + public Group getGroup_2() { return cGroup_2; } + + //"excluding" + public Keyword getExcludingKeyword_2_0() { return cExcludingKeyword_2_0; } + + //'{' + public Keyword getLeftCurlyBracketKeyword_2_1() { return cLeftCurlyBracketKeyword_2_1; } + + //exclusion+=MetamodelElement + public Assignment getExclusionAssignment_2_2() { return cExclusionAssignment_2_2; } + + //MetamodelElement + public RuleCall getExclusionMetamodelElementParserRuleCall_2_2_0() { return cExclusionMetamodelElementParserRuleCall_2_2_0; } + + //(',' exclusion+=MetamodelElement)* + public Group getGroup_2_3() { return cGroup_2_3; } + + //',' + public Keyword getCommaKeyword_2_3_0() { return cCommaKeyword_2_3_0; } + + //exclusion+=MetamodelElement + public Assignment getExclusionAssignment_2_3_1() { return cExclusionAssignment_2_3_1; } + + //MetamodelElement + public RuleCall getExclusionMetamodelElementParserRuleCall_2_3_1_0() { return cExclusionMetamodelElementParserRuleCall_2_3_1_0; } + + //'}' + public Keyword getRightCurlyBracketKeyword_2_4() { return cRightCurlyBracketKeyword_2_4; } + } + public class MetamodelElementElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelElement"); + private final Group cGroup = (Group)rule.eContents().get(1); + private final Group cGroup_0 = (Group)cGroup.eContents().get(0); + private final Assignment cPackageAssignment_0_0 = (Assignment)cGroup_0.eContents().get(0); + private final CrossReference cPackageEPackageCrossReference_0_0_0 = (CrossReference)cPackageAssignment_0_0.eContents().get(0); + private final RuleCall cPackageEPackageQualifiedNameParserRuleCall_0_0_0_1 = (RuleCall)cPackageEPackageCrossReference_0_0_0.eContents().get(1); + private final Keyword cColonColonKeyword_0_1 = (Keyword)cGroup_0.eContents().get(1); + private final Assignment cClassifierAssignment_1 = (Assignment)cGroup.eContents().get(1); + private final CrossReference cClassifierEClassifierCrossReference_1_0 = (CrossReference)cClassifierAssignment_1.eContents().get(0); + private final RuleCall cClassifierEClassifierIDTerminalRuleCall_1_0_1 = (RuleCall)cClassifierEClassifierCrossReference_1_0.eContents().get(1); + private final Group cGroup_2 = (Group)cGroup.eContents().get(2); + private final Keyword cFullStopKeyword_2_0 = (Keyword)cGroup_2.eContents().get(0); + private final Assignment cFeatureAssignment_2_1 = (Assignment)cGroup_2.eContents().get(1); + private final CrossReference cFeatureENamedElementCrossReference_2_1_0 = (CrossReference)cFeatureAssignment_2_1.eContents().get(0); + private final RuleCall cFeatureENamedElementIDTerminalRuleCall_2_1_0_1 = (RuleCall)cFeatureENamedElementCrossReference_2_1_0.eContents().get(1); + + //MetamodelElement: + // (package=[ecore::EPackage|QualifiedName] '::')? classifier=[ecore::EClassifier] ('.' feature=[ecore::ENamedElement])?; + @Override public ParserRule getRule() { return rule; } + + //(package=[ecore::EPackage|QualifiedName] '::')? classifier=[ecore::EClassifier] ('.' feature=[ecore::ENamedElement])? + public Group getGroup() { return cGroup; } + + //(package=[ecore::EPackage|QualifiedName] '::')? + public Group getGroup_0() { return cGroup_0; } + + //package=[ecore::EPackage|QualifiedName] + public Assignment getPackageAssignment_0_0() { return cPackageAssignment_0_0; } + + //[ecore::EPackage|QualifiedName] + public CrossReference getPackageEPackageCrossReference_0_0_0() { return cPackageEPackageCrossReference_0_0_0; } + + //QualifiedName + public RuleCall getPackageEPackageQualifiedNameParserRuleCall_0_0_0_1() { return cPackageEPackageQualifiedNameParserRuleCall_0_0_0_1; } + + //'::' + public Keyword getColonColonKeyword_0_1() { return cColonColonKeyword_0_1; } + + //classifier=[ecore::EClassifier] + public Assignment getClassifierAssignment_1() { return cClassifierAssignment_1; } + + //[ecore::EClassifier] + public CrossReference getClassifierEClassifierCrossReference_1_0() { return cClassifierEClassifierCrossReference_1_0; } + + //ID + public RuleCall getClassifierEClassifierIDTerminalRuleCall_1_0_1() { return cClassifierEClassifierIDTerminalRuleCall_1_0_1; } + + //('.' feature=[ecore::ENamedElement])? + public Group getGroup_2() { return cGroup_2; } + + //'.' + public Keyword getFullStopKeyword_2_0() { return cFullStopKeyword_2_0; } + + //feature=[ecore::ENamedElement] + public Assignment getFeatureAssignment_2_1() { return cFeatureAssignment_2_1; } + + //[ecore::ENamedElement] + public CrossReference getFeatureENamedElementCrossReference_2_1_0() { return cFeatureENamedElementCrossReference_2_1_0; } + + //ID + public RuleCall getFeatureENamedElementIDTerminalRuleCall_2_1_0_1() { return cFeatureENamedElementIDTerminalRuleCall_2_1_0_1; } + } + public class MetamodelDeclarationElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelDeclaration"); + private final Group cGroup = (Group)rule.eContents().get(1); + private final Keyword cMetamodelKeyword_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 cSpecificationMetamodelSpecificationParserRuleCall_2_0 = (RuleCall)cSpecificationAssignment_2.eContents().get(0); + + //MetamodelDeclaration: + // 'metamodel' name=ID specification=MetamodelSpecification; + @Override public ParserRule getRule() { return rule; } + + //'metamodel' name=ID specification=MetamodelSpecification + public Group getGroup() { return cGroup; } + + //'metamodel' + public Keyword getMetamodelKeyword_0() { return cMetamodelKeyword_0; } + + //name=ID + public Assignment getNameAssignment_1() { return cNameAssignment_1; } + + //ID + public RuleCall getNameIDTerminalRuleCall_1_0() { return cNameIDTerminalRuleCall_1_0; } + + //specification=MetamodelSpecification + public Assignment getSpecificationAssignment_2() { return cSpecificationAssignment_2; } + + //MetamodelSpecification + public RuleCall getSpecificationMetamodelSpecificationParserRuleCall_2_0() { return cSpecificationMetamodelSpecificationParserRuleCall_2_0; } + } + public class MetamodelReferenceElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelReference"); + private final Assignment cReferredAssignment = (Assignment)rule.eContents().get(1); + private final CrossReference cReferredMetamodelDeclarationCrossReference_0 = (CrossReference)cReferredAssignment.eContents().get(0); + private final RuleCall cReferredMetamodelDeclarationIDTerminalRuleCall_0_1 = (RuleCall)cReferredMetamodelDeclarationCrossReference_0.eContents().get(1); + + //MetamodelReference: + // referred=[MetamodelDeclaration]; + @Override public ParserRule getRule() { return rule; } + + //referred=[MetamodelDeclaration] + public Assignment getReferredAssignment() { return cReferredAssignment; } + + //[MetamodelDeclaration] + public CrossReference getReferredMetamodelDeclarationCrossReference_0() { return cReferredMetamodelDeclarationCrossReference_0; } + + //ID + public RuleCall getReferredMetamodelDeclarationIDTerminalRuleCall_0_1() { return cReferredMetamodelDeclarationIDTerminalRuleCall_0_1; } + } + public class MetamodelElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Metamodel"); + private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); + private final RuleCall cMetamodelReferenceParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); + private final RuleCall cMetamodelSpecificationParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); + + //Metamodel: + // MetamodelReference | MetamodelSpecification; + @Override public ParserRule getRule() { return rule; } + + //MetamodelReference | MetamodelSpecification + public Alternatives getAlternatives() { return cAlternatives; } + + //MetamodelReference + public RuleCall getMetamodelReferenceParserRuleCall_0() { return cMetamodelReferenceParserRuleCall_0; } + + //MetamodelSpecification + public RuleCall getMetamodelSpecificationParserRuleCall_1() { return cMetamodelSpecificationParserRuleCall_1; } + } + public class PartialModelSpecificationElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PartialModelSpecification"); + private final Group cGroup = (Group)rule.eContents().get(1); + private final Keyword cLeftCurlyBracketKeyword_0 = (Keyword)cGroup.eContents().get(0); + private final Assignment cEntryAssignment_1 = (Assignment)cGroup.eContents().get(1); + private final RuleCall cEntryPartialModelEntryParserRuleCall_1_0 = (RuleCall)cEntryAssignment_1.eContents().get(0); + private final Group cGroup_2 = (Group)cGroup.eContents().get(2); + private final Keyword cCommaKeyword_2_0 = (Keyword)cGroup_2.eContents().get(0); + private final Assignment cEntryAssignment_2_1 = (Assignment)cGroup_2.eContents().get(1); + private final RuleCall cEntryPartialModelEntryParserRuleCall_2_1_0 = (RuleCall)cEntryAssignment_2_1.eContents().get(0); + private final Keyword cRightCurlyBracketKeyword_3 = (Keyword)cGroup.eContents().get(3); + + ///////////////////////////////////////////////////// + //// Partial Model + ///////////////////////////////////////////////////// + //PartialModelSpecification: + // '{' entry+=PartialModelEntry (',' entry+=PartialModelEntry)? '}'; + @Override public ParserRule getRule() { return rule; } + + //'{' entry+=PartialModelEntry (',' entry+=PartialModelEntry)? '}' + public Group getGroup() { return cGroup; } + + //'{' + public Keyword getLeftCurlyBracketKeyword_0() { return cLeftCurlyBracketKeyword_0; } + + //entry+=PartialModelEntry + public Assignment getEntryAssignment_1() { return cEntryAssignment_1; } + + //PartialModelEntry + public RuleCall getEntryPartialModelEntryParserRuleCall_1_0() { return cEntryPartialModelEntryParserRuleCall_1_0; } + + //(',' entry+=PartialModelEntry)? + public Group getGroup_2() { return cGroup_2; } + + //',' + public Keyword getCommaKeyword_2_0() { return cCommaKeyword_2_0; } + + //entry+=PartialModelEntry + public Assignment getEntryAssignment_2_1() { return cEntryAssignment_2_1; } + + //PartialModelEntry + public RuleCall getEntryPartialModelEntryParserRuleCall_2_1_0() { return cEntryPartialModelEntryParserRuleCall_2_1_0; } + + //'}' + public Keyword getRightCurlyBracketKeyword_3() { return cRightCurlyBracketKeyword_3; } + } + public class PartialModelEntryElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PartialModelEntry"); + private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); + private final RuleCall cModelEntryParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); + private final RuleCall cFolderEntryParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); + + //PartialModelEntry: + // ModelEntry | FolderEntry; + @Override public ParserRule getRule() { return rule; } + + //ModelEntry | FolderEntry + public Alternatives getAlternatives() { return cAlternatives; } + + //ModelEntry + public RuleCall getModelEntryParserRuleCall_0() { return cModelEntryParserRuleCall_0; } + + //FolderEntry + public RuleCall getFolderEntryParserRuleCall_1() { return cFolderEntryParserRuleCall_1; } + } + public class ModelEntryElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ModelEntry"); + private final Assignment cPathAssignment = (Assignment)rule.eContents().get(1); + private final RuleCall cPathFileParserRuleCall_0 = (RuleCall)cPathAssignment.eContents().get(0); + + //ModelEntry: + // path=File; + @Override public ParserRule getRule() { return rule; } + + //path=File + public Assignment getPathAssignment() { return cPathAssignment; } + + //File + public RuleCall getPathFileParserRuleCall_0() { return cPathFileParserRuleCall_0; } + } + public class FolderEntryElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.FolderEntry"); + private final Group cGroup = (Group)rule.eContents().get(1); + private final Keyword cFolderKeyword_0 = (Keyword)cGroup.eContents().get(0); + private final Assignment cPathAssignment_1 = (Assignment)cGroup.eContents().get(1); + private final RuleCall cPathFileParserRuleCall_1_0 = (RuleCall)cPathAssignment_1.eContents().get(0); + private final Group cGroup_2 = (Group)cGroup.eContents().get(2); + private final Keyword cExcludingKeyword_2_0 = (Keyword)cGroup_2.eContents().get(0); + private final Keyword cLeftCurlyBracketKeyword_2_1 = (Keyword)cGroup_2.eContents().get(1); + private final Assignment cExclusionAssignment_2_2 = (Assignment)cGroup_2.eContents().get(2); + private final RuleCall cExclusionModelEntryParserRuleCall_2_2_0 = (RuleCall)cExclusionAssignment_2_2.eContents().get(0); + private final Group cGroup_2_3 = (Group)cGroup_2.eContents().get(3); + private final Keyword cCommaKeyword_2_3_0 = (Keyword)cGroup_2_3.eContents().get(0); + private final Assignment cExclusionAssignment_2_3_1 = (Assignment)cGroup_2_3.eContents().get(1); + private final RuleCall cExclusionModelEntryParserRuleCall_2_3_1_0 = (RuleCall)cExclusionAssignment_2_3_1.eContents().get(0); + private final Keyword cRightCurlyBracketKeyword_2_4 = (Keyword)cGroup_2.eContents().get(4); + + //FolderEntry: + // "folder" path=File ("excluding" "{" exclusion+=ModelEntry ("," exclusion+=ModelEntry)* "}")?; + @Override public ParserRule getRule() { return rule; } + + //"folder" path=File ("excluding" "{" exclusion+=ModelEntry ("," exclusion+=ModelEntry)* "}")? + public Group getGroup() { return cGroup; } + + //"folder" + public Keyword getFolderKeyword_0() { return cFolderKeyword_0; } + + //path=File + public Assignment getPathAssignment_1() { return cPathAssignment_1; } + + //File + public RuleCall getPathFileParserRuleCall_1_0() { return cPathFileParserRuleCall_1_0; } + + //("excluding" "{" exclusion+=ModelEntry ("," exclusion+=ModelEntry)* "}")? + public Group getGroup_2() { return cGroup_2; } + + //"excluding" + public Keyword getExcludingKeyword_2_0() { return cExcludingKeyword_2_0; } + + //"{" + public Keyword getLeftCurlyBracketKeyword_2_1() { return cLeftCurlyBracketKeyword_2_1; } + + //exclusion+=ModelEntry + public Assignment getExclusionAssignment_2_2() { return cExclusionAssignment_2_2; } + + //ModelEntry + public RuleCall getExclusionModelEntryParserRuleCall_2_2_0() { return cExclusionModelEntryParserRuleCall_2_2_0; } + + //("," exclusion+=ModelEntry)* + public Group getGroup_2_3() { return cGroup_2_3; } + + //"," + public Keyword getCommaKeyword_2_3_0() { return cCommaKeyword_2_3_0; } + + //exclusion+=ModelEntry + public Assignment getExclusionAssignment_2_3_1() { return cExclusionAssignment_2_3_1; } + + //ModelEntry + public RuleCall getExclusionModelEntryParserRuleCall_2_3_1_0() { return cExclusionModelEntryParserRuleCall_2_3_1_0; } + + //"}" + public Keyword getRightCurlyBracketKeyword_2_4() { return cRightCurlyBracketKeyword_2_4; } + } + public 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 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: + // 'models' name=ID specification=PartialModelSpecification; + @Override public ParserRule getRule() { return rule; } + + //'models' name=ID specification=PartialModelSpecification + public Group getGroup() { return cGroup; } + + //'models' + public Keyword getModelsKeyword_0() { return cModelsKeyword_0; } + + //name=ID + public Assignment getNameAssignment_1() { return cNameAssignment_1; } + + //ID + public RuleCall getNameIDTerminalRuleCall_1_0() { return cNameIDTerminalRuleCall_1_0; } + + //specification=PartialModelSpecification + public Assignment getSpecificationAssignment_2() { return cSpecificationAssignment_2; } + + //PartialModelSpecification + public RuleCall getSpecificationPartialModelSpecificationParserRuleCall_2_0() { return cSpecificationPartialModelSpecificationParserRuleCall_2_0; } + } + public class PartialModelReferenceElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PartialModelReference"); + private final Assignment cReferredAssignment = (Assignment)rule.eContents().get(1); + private final CrossReference cReferredPartialModelDeclarationCrossReference_0 = (CrossReference)cReferredAssignment.eContents().get(0); + private final RuleCall cReferredPartialModelDeclarationIDTerminalRuleCall_0_1 = (RuleCall)cReferredPartialModelDeclarationCrossReference_0.eContents().get(1); + + //PartialModelReference: + // referred=[PartialModelDeclaration]; + @Override public ParserRule getRule() { return rule; } + + //referred=[PartialModelDeclaration] + public Assignment getReferredAssignment() { return cReferredAssignment; } + + //[PartialModelDeclaration] + public CrossReference getReferredPartialModelDeclarationCrossReference_0() { return cReferredPartialModelDeclarationCrossReference_0; } + + //ID + public RuleCall getReferredPartialModelDeclarationIDTerminalRuleCall_0_1() { return cReferredPartialModelDeclarationIDTerminalRuleCall_0_1; } + } + public class PartialModelElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PartialModel"); + private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); + private final RuleCall cPartialModelSpecificationParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); + private final RuleCall cPartialModelReferenceParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); + + //PartialModel: + // PartialModelSpecification | PartialModelReference; + @Override public ParserRule getRule() { return rule; } + + //PartialModelSpecification | PartialModelReference + public Alternatives getAlternatives() { return cAlternatives; } + + //PartialModelSpecification + public RuleCall getPartialModelSpecificationParserRuleCall_0() { return cPartialModelSpecificationParserRuleCall_0; } + + //PartialModelReference + public RuleCall getPartialModelReferenceParserRuleCall_1() { return cPartialModelReferenceParserRuleCall_1; } + } + public class PatternSpecificationElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternSpecification"); + private final Group cGroup = (Group)rule.eContents().get(1); + private final Keyword cLeftCurlyBracketKeyword_0 = (Keyword)cGroup.eContents().get(0); + private final Assignment cEntriesAssignment_1 = (Assignment)cGroup.eContents().get(1); + private final RuleCall cEntriesPatternEntryParserRuleCall_1_0 = (RuleCall)cEntriesAssignment_1.eContents().get(0); + private final Group cGroup_2 = (Group)cGroup.eContents().get(2); + private final Keyword cCommaKeyword_2_0 = (Keyword)cGroup_2.eContents().get(0); + private final Assignment cEntriesAssignment_2_1 = (Assignment)cGroup_2.eContents().get(1); + private final RuleCall cEntriesPatternEntryParserRuleCall_2_1_0 = (RuleCall)cEntriesAssignment_2_1.eContents().get(0); + private final Keyword cRightCurlyBracketKeyword_3 = (Keyword)cGroup.eContents().get(3); + + ///////////////////////////////////////////////////// + //// Patterns + ///////////////////////////////////////////////////// + //PatternSpecification: + // '{' entries+=PatternEntry (',' entries+=PatternEntry)* '}'; + @Override public ParserRule getRule() { return rule; } + + //'{' entries+=PatternEntry (',' entries+=PatternEntry)* '}' + public Group getGroup() { return cGroup; } + + //'{' + public Keyword getLeftCurlyBracketKeyword_0() { return cLeftCurlyBracketKeyword_0; } + + //entries+=PatternEntry + public Assignment getEntriesAssignment_1() { return cEntriesAssignment_1; } + + //PatternEntry + public RuleCall getEntriesPatternEntryParserRuleCall_1_0() { return cEntriesPatternEntryParserRuleCall_1_0; } + + //(',' entries+=PatternEntry)* + public Group getGroup_2() { return cGroup_2; } + + //',' + public Keyword getCommaKeyword_2_0() { return cCommaKeyword_2_0; } + + //entries+=PatternEntry + public Assignment getEntriesAssignment_2_1() { return cEntriesAssignment_2_1; } + + //PatternEntry + public RuleCall getEntriesPatternEntryParserRuleCall_2_1_0() { return cEntriesPatternEntryParserRuleCall_2_1_0; } + + //'}' + public Keyword getRightCurlyBracketKeyword_3() { return cRightCurlyBracketKeyword_3; } + } + public class PatternEntryElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternEntry"); + private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); + private final RuleCall cPatternElementParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); + private final RuleCall cAllPatternEntryParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); + + //PatternEntry: + // PatternElement | AllPatternEntry; + @Override public ParserRule getRule() { return rule; } + + //PatternElement | AllPatternEntry + public Alternatives getAlternatives() { return cAlternatives; } + + //PatternElement + public RuleCall getPatternElementParserRuleCall_0() { return cPatternElementParserRuleCall_0; } + + //AllPatternEntry + public RuleCall getAllPatternEntryParserRuleCall_1() { return cAllPatternEntryParserRuleCall_1; } + } + public class AllPatternEntryElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.AllPatternEntry"); + private final Group cGroup = (Group)rule.eContents().get(1); + private final Keyword cPackageKeyword_0 = (Keyword)cGroup.eContents().get(0); + private final Assignment cPackageAssignment_1 = (Assignment)cGroup.eContents().get(1); + private final CrossReference cPackagePatternModelCrossReference_1_0 = (CrossReference)cPackageAssignment_1.eContents().get(0); + private final RuleCall cPackagePatternModelQualifiedNameParserRuleCall_1_0_1 = (RuleCall)cPackagePatternModelCrossReference_1_0.eContents().get(1); + private final Group cGroup_2 = (Group)cGroup.eContents().get(2); + private final Keyword cExcludingKeyword_2_0 = (Keyword)cGroup_2.eContents().get(0); + private final Keyword cLeftCurlyBracketKeyword_2_1 = (Keyword)cGroup_2.eContents().get(1); + private final Assignment cExclusuionAssignment_2_2 = (Assignment)cGroup_2.eContents().get(2); + private final RuleCall cExclusuionPatternElementParserRuleCall_2_2_0 = (RuleCall)cExclusuionAssignment_2_2.eContents().get(0); + private final Group cGroup_2_3 = (Group)cGroup_2.eContents().get(3); + private final Keyword cCommaKeyword_2_3_0 = (Keyword)cGroup_2_3.eContents().get(0); + private final Assignment cExclusuionAssignment_2_3_1 = (Assignment)cGroup_2_3.eContents().get(1); + private final RuleCall cExclusuionPatternElementParserRuleCall_2_3_1_0 = (RuleCall)cExclusuionAssignment_2_3_1.eContents().get(0); + private final Keyword cRightCurlyBracketKeyword_2_4 = (Keyword)cGroup_2.eContents().get(4); + + //AllPatternEntry: + // 'package' package=[viatra::PatternModel|QualifiedName] ('excluding' '{' exclusuion+=PatternElement (',' + // exclusuion+=PatternElement)* '}')?; + @Override public ParserRule getRule() { return rule; } + + //'package' package=[viatra::PatternModel|QualifiedName] ('excluding' '{' exclusuion+=PatternElement (',' + //exclusuion+=PatternElement)* '}')? + public Group getGroup() { return cGroup; } + + //'package' + public Keyword getPackageKeyword_0() { return cPackageKeyword_0; } + + //package=[viatra::PatternModel|QualifiedName] + public Assignment getPackageAssignment_1() { return cPackageAssignment_1; } + + //[viatra::PatternModel|QualifiedName] + public CrossReference getPackagePatternModelCrossReference_1_0() { return cPackagePatternModelCrossReference_1_0; } + + //QualifiedName + public RuleCall getPackagePatternModelQualifiedNameParserRuleCall_1_0_1() { return cPackagePatternModelQualifiedNameParserRuleCall_1_0_1; } + + //('excluding' '{' exclusuion+=PatternElement (',' exclusuion+=PatternElement)* '}')? + public Group getGroup_2() { return cGroup_2; } + + //'excluding' + public Keyword getExcludingKeyword_2_0() { return cExcludingKeyword_2_0; } + + //'{' + public Keyword getLeftCurlyBracketKeyword_2_1() { return cLeftCurlyBracketKeyword_2_1; } + + //exclusuion+=PatternElement + public Assignment getExclusuionAssignment_2_2() { return cExclusuionAssignment_2_2; } + + //PatternElement + public RuleCall getExclusuionPatternElementParserRuleCall_2_2_0() { return cExclusuionPatternElementParserRuleCall_2_2_0; } + + //(',' exclusuion+=PatternElement)* + public Group getGroup_2_3() { return cGroup_2_3; } + + //',' + public Keyword getCommaKeyword_2_3_0() { return cCommaKeyword_2_3_0; } + + //exclusuion+=PatternElement + public Assignment getExclusuionAssignment_2_3_1() { return cExclusuionAssignment_2_3_1; } + + //PatternElement + public RuleCall getExclusuionPatternElementParserRuleCall_2_3_1_0() { return cExclusuionPatternElementParserRuleCall_2_3_1_0; } + + //'}' + public Keyword getRightCurlyBracketKeyword_2_4() { return cRightCurlyBracketKeyword_2_4; } + } + public class PatternElementElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternElement"); + private final Group cGroup = (Group)rule.eContents().get(1); + private final Group cGroup_0 = (Group)cGroup.eContents().get(0); + private final Assignment cPackageAssignment_0_0 = (Assignment)cGroup_0.eContents().get(0); + private final CrossReference cPackagePatternModelCrossReference_0_0_0 = (CrossReference)cPackageAssignment_0_0.eContents().get(0); + private final RuleCall cPackagePatternModelQualifiedNameParserRuleCall_0_0_0_1 = (RuleCall)cPackagePatternModelCrossReference_0_0_0.eContents().get(1); + private final Keyword cColonColonKeyword_0_1 = (Keyword)cGroup_0.eContents().get(1); + private final Assignment cPatternAssignment_1 = (Assignment)cGroup.eContents().get(1); + private final CrossReference cPatternPatternCrossReference_1_0 = (CrossReference)cPatternAssignment_1.eContents().get(0); + private final RuleCall cPatternPatternIDTerminalRuleCall_1_0_1 = (RuleCall)cPatternPatternCrossReference_1_0.eContents().get(1); + + //PatternElement: + // (package=[viatra::PatternModel|QualifiedName] '::')? pattern=[viatra::Pattern]; + @Override public ParserRule getRule() { return rule; } + + //(package=[viatra::PatternModel|QualifiedName] '::')? pattern=[viatra::Pattern] + public Group getGroup() { return cGroup; } + + //(package=[viatra::PatternModel|QualifiedName] '::')? + public Group getGroup_0() { return cGroup_0; } + + //package=[viatra::PatternModel|QualifiedName] + public Assignment getPackageAssignment_0_0() { return cPackageAssignment_0_0; } + + //[viatra::PatternModel|QualifiedName] + public CrossReference getPackagePatternModelCrossReference_0_0_0() { return cPackagePatternModelCrossReference_0_0_0; } + + //QualifiedName + public RuleCall getPackagePatternModelQualifiedNameParserRuleCall_0_0_0_1() { return cPackagePatternModelQualifiedNameParserRuleCall_0_0_0_1; } + + //'::' + public Keyword getColonColonKeyword_0_1() { return cColonColonKeyword_0_1; } + + //pattern=[viatra::Pattern] + public Assignment getPatternAssignment_1() { return cPatternAssignment_1; } + + //[viatra::Pattern] + public CrossReference getPatternPatternCrossReference_1_0() { return cPatternPatternCrossReference_1_0; } + + //ID + public RuleCall getPatternPatternIDTerminalRuleCall_1_0_1() { return cPatternPatternIDTerminalRuleCall_1_0_1; } + } + public class GraphPatternDeclarationElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.GraphPatternDeclaration"); + private final Group cGroup = (Group)rule.eContents().get(1); + private final Keyword cConstraintsKeyword_0 = (Keyword)cGroup.eContents().get(0); + private final Assignment cNameAssignment_1 = (Assignment)cGroup.eContents().get(1); + private final RuleCall cNameIDTerminalRuleCall_1_0 = (RuleCall)cNameAssignment_1.eContents().get(0); + private final Assignment cSpecificationAssignment_2 = (Assignment)cGroup.eContents().get(2); + private final RuleCall cSpecificationPatternSpecificationParserRuleCall_2_0 = (RuleCall)cSpecificationAssignment_2.eContents().get(0); + + //GraphPatternDeclaration: + // 'constraints' name=ID specification=PatternSpecification; + @Override public ParserRule getRule() { return rule; } + + //'constraints' name=ID specification=PatternSpecification + public Group getGroup() { return cGroup; } + + //'constraints' + public Keyword getConstraintsKeyword_0() { return cConstraintsKeyword_0; } + + //name=ID + public Assignment getNameAssignment_1() { return cNameAssignment_1; } + + //ID + public RuleCall getNameIDTerminalRuleCall_1_0() { return cNameIDTerminalRuleCall_1_0; } + + //specification=PatternSpecification + public Assignment getSpecificationAssignment_2() { return cSpecificationAssignment_2; } + + //PatternSpecification + public RuleCall getSpecificationPatternSpecificationParserRuleCall_2_0() { return cSpecificationPatternSpecificationParserRuleCall_2_0; } + } + public class GraphPatternReferenceElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.GraphPatternReference"); + private final Assignment cReferredAssignment = (Assignment)rule.eContents().get(1); + private final CrossReference cReferredGraphPatternDeclarationCrossReference_0 = (CrossReference)cReferredAssignment.eContents().get(0); + private final RuleCall cReferredGraphPatternDeclarationIDTerminalRuleCall_0_1 = (RuleCall)cReferredGraphPatternDeclarationCrossReference_0.eContents().get(1); + + //GraphPatternReference: + // referred=[GraphPatternDeclaration]; + @Override public ParserRule getRule() { return rule; } + + //referred=[GraphPatternDeclaration] + public Assignment getReferredAssignment() { return cReferredAssignment; } + + //[GraphPatternDeclaration] + public CrossReference getReferredGraphPatternDeclarationCrossReference_0() { return cReferredGraphPatternDeclarationCrossReference_0; } + + //ID + public RuleCall getReferredGraphPatternDeclarationIDTerminalRuleCall_0_1() { return cReferredGraphPatternDeclarationIDTerminalRuleCall_0_1; } + } + public class GraphPatternElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.GraphPattern"); + private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); + private final RuleCall cGraphPatternReferenceParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); + private final RuleCall cPatternSpecificationParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); + + //GraphPattern: + // GraphPatternReference | PatternSpecification; + @Override public ParserRule getRule() { return rule; } + + //GraphPatternReference | PatternSpecification + public Alternatives getAlternatives() { return cAlternatives; } + + //GraphPatternReference + public RuleCall getGraphPatternReferenceParserRuleCall_0() { return cGraphPatternReferenceParserRuleCall_0; } + + //PatternSpecification + public RuleCall getPatternSpecificationParserRuleCall_1() { return cPatternSpecificationParserRuleCall_1; } + } + public class ObjectiveSpecificationElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ObjectiveSpecification"); + private final Group cGroup = (Group)rule.eContents().get(1); + private final Keyword cLeftCurlyBracketKeyword_0 = (Keyword)cGroup.eContents().get(0); + private final Assignment cEntriesAssignment_1 = (Assignment)cGroup.eContents().get(1); + private final RuleCall cEntriesObjectiveEntryParserRuleCall_1_0 = (RuleCall)cEntriesAssignment_1.eContents().get(0); + private final Group cGroup_2 = (Group)cGroup.eContents().get(2); + private final Keyword cCommaKeyword_2_0 = (Keyword)cGroup_2.eContents().get(0); + private final Assignment cEntriesAssignment_2_1 = (Assignment)cGroup_2.eContents().get(1); + private final RuleCall cEntriesObjectiveEntryParserRuleCall_2_1_0 = (RuleCall)cEntriesAssignment_2_1.eContents().get(0); + private final Keyword cRightCurlyBracketKeyword_3 = (Keyword)cGroup.eContents().get(3); + + ///////////////////////////////////////////////////// + //// Objectives + ///////////////////////////////////////////////////// + //ObjectiveSpecification: + // '{' entries+=ObjectiveEntry (',' entries+=ObjectiveEntry)* '}'; + @Override public ParserRule getRule() { return rule; } + + //'{' entries+=ObjectiveEntry (',' entries+=ObjectiveEntry)* '}' + public Group getGroup() { return cGroup; } + + //'{' + public Keyword getLeftCurlyBracketKeyword_0() { return cLeftCurlyBracketKeyword_0; } + + //entries+=ObjectiveEntry + public Assignment getEntriesAssignment_1() { return cEntriesAssignment_1; } + + //ObjectiveEntry + public RuleCall getEntriesObjectiveEntryParserRuleCall_1_0() { return cEntriesObjectiveEntryParserRuleCall_1_0; } + + //(',' entries+=ObjectiveEntry)* + public Group getGroup_2() { return cGroup_2; } + + //',' + public Keyword getCommaKeyword_2_0() { return cCommaKeyword_2_0; } + + //entries+=ObjectiveEntry + public Assignment getEntriesAssignment_2_1() { return cEntriesAssignment_2_1; } + + //ObjectiveEntry + public RuleCall getEntriesObjectiveEntryParserRuleCall_2_1_0() { return cEntriesObjectiveEntryParserRuleCall_2_1_0; } + + //'}' + public Keyword getRightCurlyBracketKeyword_3() { return cRightCurlyBracketKeyword_3; } + } + public class ObjectiveEntryElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ObjectiveEntry"); + private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); + private final RuleCall cOptimizationEntryParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); + private final RuleCall cThresholdEntryParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); + + //ObjectiveEntry: + // OptimizationEntry | ThresholdEntry; + @Override public ParserRule getRule() { return rule; } + + //OptimizationEntry | ThresholdEntry + public Alternatives getAlternatives() { return cAlternatives; } + + //OptimizationEntry + public RuleCall getOptimizationEntryParserRuleCall_0() { return cOptimizationEntryParserRuleCall_0; } + + //ThresholdEntry + public RuleCall getThresholdEntryParserRuleCall_1() { return cThresholdEntryParserRuleCall_1; } + } + public class OptimizationEntryElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.OptimizationEntry"); + private final Group cGroup = (Group)rule.eContents().get(1); + private final Assignment cDirectionAssignment_0 = (Assignment)cGroup.eContents().get(0); + private final RuleCall cDirectionOptimizationDirectionEnumRuleCall_0_0 = (RuleCall)cDirectionAssignment_0.eContents().get(0); + private final Assignment cFunctionAssignment_1 = (Assignment)cGroup.eContents().get(1); + private final RuleCall cFunctionObjectiveFunctionParserRuleCall_1_0 = (RuleCall)cFunctionAssignment_1.eContents().get(0); + + //OptimizationEntry: + // direction=OptimizationDirection function=ObjectiveFunction; + @Override public ParserRule getRule() { return rule; } + + //direction=OptimizationDirection function=ObjectiveFunction + public Group getGroup() { return cGroup; } + + //direction=OptimizationDirection + public Assignment getDirectionAssignment_0() { return cDirectionAssignment_0; } + + //OptimizationDirection + public RuleCall getDirectionOptimizationDirectionEnumRuleCall_0_0() { return cDirectionOptimizationDirectionEnumRuleCall_0_0; } + + //function=ObjectiveFunction + public Assignment getFunctionAssignment_1() { return cFunctionAssignment_1; } + + //ObjectiveFunction + public RuleCall getFunctionObjectiveFunctionParserRuleCall_1_0() { return cFunctionObjectiveFunctionParserRuleCall_1_0; } + } + public class ThresholdEntryElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ThresholdEntry"); + private final Group cGroup = (Group)rule.eContents().get(1); + private final Assignment cFunctionAssignment_0 = (Assignment)cGroup.eContents().get(0); + private final RuleCall cFunctionObjectiveFunctionParserRuleCall_0_0 = (RuleCall)cFunctionAssignment_0.eContents().get(0); + private final Assignment cOperatorAssignment_1 = (Assignment)cGroup.eContents().get(1); + private final RuleCall cOperatorComparisonOperatorEnumRuleCall_1_0 = (RuleCall)cOperatorAssignment_1.eContents().get(0); + private final Assignment cThresholdAssignment_2 = (Assignment)cGroup.eContents().get(2); + private final RuleCall cThresholdREALLiteralParserRuleCall_2_0 = (RuleCall)cThresholdAssignment_2.eContents().get(0); + + //ThresholdEntry: + // function=ObjectiveFunction operator=ComparisonOperator threshold=REALLiteral; + @Override public ParserRule getRule() { return rule; } + + //function=ObjectiveFunction operator=ComparisonOperator threshold=REALLiteral + public Group getGroup() { return cGroup; } + + //function=ObjectiveFunction + public Assignment getFunctionAssignment_0() { return cFunctionAssignment_0; } + + //ObjectiveFunction + public RuleCall getFunctionObjectiveFunctionParserRuleCall_0_0() { return cFunctionObjectiveFunctionParserRuleCall_0_0; } + + //operator=ComparisonOperator + public Assignment getOperatorAssignment_1() { return cOperatorAssignment_1; } + + //ComparisonOperator + public RuleCall getOperatorComparisonOperatorEnumRuleCall_1_0() { return cOperatorComparisonOperatorEnumRuleCall_1_0; } + + //threshold=REALLiteral + public Assignment getThresholdAssignment_2() { return cThresholdAssignment_2; } + + //REALLiteral + public RuleCall getThresholdREALLiteralParserRuleCall_2_0() { return cThresholdREALLiteralParserRuleCall_2_0; } + } + public class ObjectiveFunctionElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ObjectiveFunction"); + private final RuleCall cReliabiltiyFunctionParserRuleCall = (RuleCall)rule.eContents().get(1); + + //ObjectiveFunction: + // ReliabiltiyFunction; + @Override public ParserRule getRule() { return rule; } + + //ReliabiltiyFunction + public RuleCall getReliabiltiyFunctionParserRuleCall() { return cReliabiltiyFunctionParserRuleCall; } + } + public class ReliabiltiyFunctionElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ReliabiltiyFunction"); + private final Group cGroup = (Group)rule.eContents().get(1); + private final Keyword cReliabilityKeyword_0 = (Keyword)cGroup.eContents().get(0); + private final Group cGroup_1 = (Group)cGroup.eContents().get(1); + private final Assignment cPackageAssignment_1_0 = (Assignment)cGroup_1.eContents().get(0); + private final CrossReference cPackageCftModelCrossReference_1_0_0 = (CrossReference)cPackageAssignment_1_0.eContents().get(0); + private final RuleCall cPackageCftModelQualifiedNameParserRuleCall_1_0_0_1 = (RuleCall)cPackageCftModelCrossReference_1_0_0.eContents().get(1); + private final Keyword cColonColonKeyword_1_1 = (Keyword)cGroup_1.eContents().get(1); + private final Assignment cTransformationAssignment_2 = (Assignment)cGroup.eContents().get(2); + private final CrossReference cTransformationTransformationDefinitionCrossReference_2_0 = (CrossReference)cTransformationAssignment_2.eContents().get(0); + private final RuleCall cTransformationTransformationDefinitionIDTerminalRuleCall_2_0_1 = (RuleCall)cTransformationTransformationDefinitionCrossReference_2_0.eContents().get(1); + + //ReliabiltiyFunction: + // 'reliability' (package=[cftLanguage::CftModel|QualifiedName] '::')? + // transformation=[cftLanguage::TransformationDefinition]; + @Override public ParserRule getRule() { return rule; } + + //'reliability' (package=[cftLanguage::CftModel|QualifiedName] '::')? + //transformation=[cftLanguage::TransformationDefinition] + public Group getGroup() { return cGroup; } + + //'reliability' + public Keyword getReliabilityKeyword_0() { return cReliabilityKeyword_0; } + + //(package=[cftLanguage::CftModel|QualifiedName] '::')? + public Group getGroup_1() { return cGroup_1; } + + //package=[cftLanguage::CftModel|QualifiedName] + public Assignment getPackageAssignment_1_0() { return cPackageAssignment_1_0; } + + //[cftLanguage::CftModel|QualifiedName] + public CrossReference getPackageCftModelCrossReference_1_0_0() { return cPackageCftModelCrossReference_1_0_0; } + + //QualifiedName + public RuleCall getPackageCftModelQualifiedNameParserRuleCall_1_0_0_1() { return cPackageCftModelQualifiedNameParserRuleCall_1_0_0_1; } + + //'::' + public Keyword getColonColonKeyword_1_1() { return cColonColonKeyword_1_1; } + + //transformation=[cftLanguage::TransformationDefinition] + public Assignment getTransformationAssignment_2() { return cTransformationAssignment_2; } + + //[cftLanguage::TransformationDefinition] + public CrossReference getTransformationTransformationDefinitionCrossReference_2_0() { return cTransformationTransformationDefinitionCrossReference_2_0; } + + //ID + public RuleCall getTransformationTransformationDefinitionIDTerminalRuleCall_2_0_1() { return cTransformationTransformationDefinitionIDTerminalRuleCall_2_0_1; } + } + public class ObjectiveDeclarationElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ObjectiveDeclaration"); + private final Group cGroup = (Group)rule.eContents().get(1); + private final Keyword cObjectivesKeyword_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 cSpecificationObjectiveSpecificationParserRuleCall_2_0 = (RuleCall)cSpecificationAssignment_2.eContents().get(0); + + //ObjectiveDeclaration: + // 'objectives' name=ID specification=ObjectiveSpecification; + @Override public ParserRule getRule() { return rule; } + + //'objectives' name=ID specification=ObjectiveSpecification + public Group getGroup() { return cGroup; } + + //'objectives' + public Keyword getObjectivesKeyword_0() { return cObjectivesKeyword_0; } + + //name=ID + public Assignment getNameAssignment_1() { return cNameAssignment_1; } + + //ID + public RuleCall getNameIDTerminalRuleCall_1_0() { return cNameIDTerminalRuleCall_1_0; } + + //specification=ObjectiveSpecification + public Assignment getSpecificationAssignment_2() { return cSpecificationAssignment_2; } + + //ObjectiveSpecification + public RuleCall getSpecificationObjectiveSpecificationParserRuleCall_2_0() { return cSpecificationObjectiveSpecificationParserRuleCall_2_0; } + } + public class ObjectiveReferenceElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ObjectiveReference"); + private final Assignment cReferredAssignment = (Assignment)rule.eContents().get(1); + private final CrossReference cReferredObjectiveDeclarationCrossReference_0 = (CrossReference)cReferredAssignment.eContents().get(0); + private final RuleCall cReferredObjectiveDeclarationIDTerminalRuleCall_0_1 = (RuleCall)cReferredObjectiveDeclarationCrossReference_0.eContents().get(1); + + //ObjectiveReference: + // referred=[ObjectiveDeclaration]; + @Override public ParserRule getRule() { return rule; } + + //referred=[ObjectiveDeclaration] + public Assignment getReferredAssignment() { return cReferredAssignment; } + + //[ObjectiveDeclaration] + public CrossReference getReferredObjectiveDeclarationCrossReference_0() { return cReferredObjectiveDeclarationCrossReference_0; } + + //ID + public RuleCall getReferredObjectiveDeclarationIDTerminalRuleCall_0_1() { return cReferredObjectiveDeclarationIDTerminalRuleCall_0_1; } + } + public class ObjectiveElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Objective"); + private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); + private final RuleCall cObjectiveReferenceParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); + private final RuleCall cObjectiveSpecificationParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); + + //Objective: + // ObjectiveReference | ObjectiveSpecification; + @Override public ParserRule getRule() { return rule; } + + //ObjectiveReference | ObjectiveSpecification + public Alternatives getAlternatives() { return cAlternatives; } + + //ObjectiveReference + public RuleCall getObjectiveReferenceParserRuleCall_0() { return cObjectiveReferenceParserRuleCall_0; } + + //ObjectiveSpecification + public RuleCall getObjectiveSpecificationParserRuleCall_1() { return cObjectiveSpecificationParserRuleCall_1; } + } + public class ConfigSpecificationElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ConfigSpecification"); + private final Group cGroup = (Group)rule.eContents().get(1); + private final Action cConfigSpecificationAction_0 = (Action)cGroup.eContents().get(0); + private final Keyword cLeftCurlyBracketKeyword_1 = (Keyword)cGroup.eContents().get(1); + private final Group cGroup_2 = (Group)cGroup.eContents().get(2); + private final Assignment cEntriesAssignment_2_0 = (Assignment)cGroup_2.eContents().get(0); + private final RuleCall cEntriesConfigEntryParserRuleCall_2_0_0 = (RuleCall)cEntriesAssignment_2_0.eContents().get(0); + private final Group cGroup_2_1 = (Group)cGroup_2.eContents().get(1); + private final Keyword cCommaKeyword_2_1_0 = (Keyword)cGroup_2_1.eContents().get(0); + private final Assignment cEntriesAssignment_2_1_1 = (Assignment)cGroup_2_1.eContents().get(1); + private final RuleCall cEntriesConfigEntryParserRuleCall_2_1_1_0 = (RuleCall)cEntriesAssignment_2_1_1.eContents().get(0); + private final Keyword cRightCurlyBracketKeyword_3 = (Keyword)cGroup.eContents().get(3); + + ///////////////////////////////////////////////////// + //// SolverConfig + ///////////////////////////////////////////////////// + //ConfigSpecification: + // {ConfigSpecification} '{' (entries+=ConfigEntry ("," entries+=ConfigEntry)*)? + // '}'; + @Override public ParserRule getRule() { return rule; } + + //{ConfigSpecification} '{' (entries+=ConfigEntry ("," entries+=ConfigEntry)*)? '}' + public Group getGroup() { return cGroup; } + + //{ConfigSpecification} + public Action getConfigSpecificationAction_0() { return cConfigSpecificationAction_0; } + + //'{' + public Keyword getLeftCurlyBracketKeyword_1() { return cLeftCurlyBracketKeyword_1; } + + //(entries+=ConfigEntry ("," entries+=ConfigEntry)*)? + public Group getGroup_2() { return cGroup_2; } + + //entries+=ConfigEntry + public Assignment getEntriesAssignment_2_0() { return cEntriesAssignment_2_0; } + + //ConfigEntry + public RuleCall getEntriesConfigEntryParserRuleCall_2_0_0() { return cEntriesConfigEntryParserRuleCall_2_0_0; } + + //("," entries+=ConfigEntry)* + public Group getGroup_2_1() { return cGroup_2_1; } + + //"," + public Keyword getCommaKeyword_2_1_0() { return cCommaKeyword_2_1_0; } + + //entries+=ConfigEntry + public Assignment getEntriesAssignment_2_1_1() { return cEntriesAssignment_2_1_1; } + + //ConfigEntry + public RuleCall getEntriesConfigEntryParserRuleCall_2_1_1_0() { return cEntriesConfigEntryParserRuleCall_2_1_1_0; } + + //'}' + public Keyword getRightCurlyBracketKeyword_3() { return cRightCurlyBracketKeyword_3; } + } + public class ConfigDeclarationElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ConfigDeclaration"); + private final Group cGroup = (Group)rule.eContents().get(1); + private final Keyword cConfigKeyword_0 = (Keyword)cGroup.eContents().get(0); + private final Assignment cNameAssignment_1 = (Assignment)cGroup.eContents().get(1); + private final RuleCall cNameIDTerminalRuleCall_1_0 = (RuleCall)cNameAssignment_1.eContents().get(0); + private final Assignment cSpecificationAssignment_2 = (Assignment)cGroup.eContents().get(2); + private final RuleCall cSpecificationConfigSpecificationParserRuleCall_2_0 = (RuleCall)cSpecificationAssignment_2.eContents().get(0); + + //ConfigDeclaration: + // 'config' name=ID specification=ConfigSpecification; + @Override public ParserRule getRule() { return rule; } + + //'config' name=ID specification=ConfigSpecification + public Group getGroup() { return cGroup; } + + //'config' + public Keyword getConfigKeyword_0() { return cConfigKeyword_0; } + + //name=ID + public Assignment getNameAssignment_1() { return cNameAssignment_1; } + + //ID + public RuleCall getNameIDTerminalRuleCall_1_0() { return cNameIDTerminalRuleCall_1_0; } + + //specification=ConfigSpecification + public Assignment getSpecificationAssignment_2() { return cSpecificationAssignment_2; } + + //ConfigSpecification + public RuleCall getSpecificationConfigSpecificationParserRuleCall_2_0() { return cSpecificationConfigSpecificationParserRuleCall_2_0; } + } + public class ConfigEntryElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ConfigEntry"); + private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); + private final RuleCall cDocumentationEntryParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); + private final RuleCall cRuntimeEntryParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); + private final RuleCall cMemoryEntryParserRuleCall_2 = (RuleCall)cAlternatives.eContents().get(2); + private final RuleCall cCustomEntryParserRuleCall_3 = (RuleCall)cAlternatives.eContents().get(3); + + //ConfigEntry: + // DocumentationEntry | RuntimeEntry | MemoryEntry | CustomEntry; + @Override public ParserRule getRule() { return rule; } + + //DocumentationEntry | RuntimeEntry | MemoryEntry | CustomEntry + public Alternatives getAlternatives() { return cAlternatives; } + + //DocumentationEntry + public RuleCall getDocumentationEntryParserRuleCall_0() { return cDocumentationEntryParserRuleCall_0; } + + //RuntimeEntry + public RuleCall getRuntimeEntryParserRuleCall_1() { return cRuntimeEntryParserRuleCall_1; } + + //MemoryEntry + public RuleCall getMemoryEntryParserRuleCall_2() { return cMemoryEntryParserRuleCall_2; } + + //CustomEntry + public RuleCall getCustomEntryParserRuleCall_3() { return cCustomEntryParserRuleCall_3; } + } + public class DocumentationEntryElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.DocumentationEntry"); + private final Group cGroup = (Group)rule.eContents().get(1); + private final Keyword cLogLevelKeyword_0 = (Keyword)cGroup.eContents().get(0); + private final Keyword cEqualsSignKeyword_1 = (Keyword)cGroup.eContents().get(1); + private final Assignment cLevelAssignment_2 = (Assignment)cGroup.eContents().get(2); + private final RuleCall cLevelDocumentLevelSpecificationEnumRuleCall_2_0 = (RuleCall)cLevelAssignment_2.eContents().get(0); + + //DocumentationEntry: + // "log-level" '=' level=DocumentLevelSpecification; + @Override public ParserRule getRule() { return rule; } + + //"log-level" '=' level=DocumentLevelSpecification + public Group getGroup() { return cGroup; } + + //"log-level" + public Keyword getLogLevelKeyword_0() { return cLogLevelKeyword_0; } + + //'=' + public Keyword getEqualsSignKeyword_1() { return cEqualsSignKeyword_1; } + + //level=DocumentLevelSpecification + public Assignment getLevelAssignment_2() { return cLevelAssignment_2; } + + //DocumentLevelSpecification + public RuleCall getLevelDocumentLevelSpecificationEnumRuleCall_2_0() { return cLevelDocumentLevelSpecificationEnumRuleCall_2_0; } + } + public class RuntimeEntryElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.RuntimeEntry"); + private final Group cGroup = (Group)rule.eContents().get(1); + private final Keyword cRuntimeKeyword_0 = (Keyword)cGroup.eContents().get(0); + private final Keyword cEqualsSignKeyword_1 = (Keyword)cGroup.eContents().get(1); + private final Assignment cMillisecLimitAssignment_2 = (Assignment)cGroup.eContents().get(2); + private final RuleCall cMillisecLimitINTTerminalRuleCall_2_0 = (RuleCall)cMillisecLimitAssignment_2.eContents().get(0); + + //RuntimeEntry: + // "runtime" "=" millisecLimit=INT; + @Override public ParserRule getRule() { return rule; } + + //"runtime" "=" millisecLimit=INT + public Group getGroup() { return cGroup; } + + //"runtime" + public Keyword getRuntimeKeyword_0() { return cRuntimeKeyword_0; } + + //"=" + public Keyword getEqualsSignKeyword_1() { return cEqualsSignKeyword_1; } + + //millisecLimit=INT + public Assignment getMillisecLimitAssignment_2() { return cMillisecLimitAssignment_2; } + + //INT + public RuleCall getMillisecLimitINTTerminalRuleCall_2_0() { return cMillisecLimitINTTerminalRuleCall_2_0; } + } + public class MemoryEntryElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MemoryEntry"); + private final Group cGroup = (Group)rule.eContents().get(1); + private final Keyword cMemoryKeyword_0 = (Keyword)cGroup.eContents().get(0); + private final Keyword cEqualsSignKeyword_1 = (Keyword)cGroup.eContents().get(1); + private final Assignment cMegabyteLimitAssignment_2 = (Assignment)cGroup.eContents().get(2); + private final RuleCall cMegabyteLimitINTTerminalRuleCall_2_0 = (RuleCall)cMegabyteLimitAssignment_2.eContents().get(0); + + //MemoryEntry: + // "memory" "=" megabyteLimit=INT; + @Override public ParserRule getRule() { return rule; } + + //"memory" "=" megabyteLimit=INT + public Group getGroup() { return cGroup; } + + //"memory" + public Keyword getMemoryKeyword_0() { return cMemoryKeyword_0; } + + //"=" + public Keyword getEqualsSignKeyword_1() { return cEqualsSignKeyword_1; } + + //megabyteLimit=INT + public Assignment getMegabyteLimitAssignment_2() { return cMegabyteLimitAssignment_2; } + + //INT + public RuleCall getMegabyteLimitINTTerminalRuleCall_2_0() { return cMegabyteLimitINTTerminalRuleCall_2_0; } + } + public class CustomEntryElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.CustomEntry"); + private final Group cGroup = (Group)rule.eContents().get(1); + private final Assignment cKeyAssignment_0 = (Assignment)cGroup.eContents().get(0); + private final RuleCall cKeySTRINGTerminalRuleCall_0_0 = (RuleCall)cKeyAssignment_0.eContents().get(0); + private final Keyword cEqualsSignKeyword_1 = (Keyword)cGroup.eContents().get(1); + private final Assignment cValueAssignment_2 = (Assignment)cGroup.eContents().get(2); + private final RuleCall cValueSTRINGTerminalRuleCall_2_0 = (RuleCall)cValueAssignment_2.eContents().get(0); + + //CustomEntry: + // key=STRING "=" value=STRING; + @Override public ParserRule getRule() { return rule; } + + //key=STRING "=" value=STRING + public Group getGroup() { return cGroup; } + + //key=STRING + public Assignment getKeyAssignment_0() { return cKeyAssignment_0; } + + //STRING + public RuleCall getKeySTRINGTerminalRuleCall_0_0() { return cKeySTRINGTerminalRuleCall_0_0; } + + //"=" + public Keyword getEqualsSignKeyword_1() { return cEqualsSignKeyword_1; } + + //value=STRING + public Assignment getValueAssignment_2() { return cValueAssignment_2; } + + //STRING + public RuleCall getValueSTRINGTerminalRuleCall_2_0() { return cValueSTRINGTerminalRuleCall_2_0; } + } + public class ConfigReferenceElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ConfigReference"); + private final Assignment cConfigAssignment = (Assignment)rule.eContents().get(1); + private final CrossReference cConfigConfigDeclarationCrossReference_0 = (CrossReference)cConfigAssignment.eContents().get(0); + private final RuleCall cConfigConfigDeclarationIDTerminalRuleCall_0_1 = (RuleCall)cConfigConfigDeclarationCrossReference_0.eContents().get(1); + + //ConfigReference: + // config=[ConfigDeclaration]; + @Override public ParserRule getRule() { return rule; } + + //config=[ConfigDeclaration] + public Assignment getConfigAssignment() { return cConfigAssignment; } + + //[ConfigDeclaration] + public CrossReference getConfigConfigDeclarationCrossReference_0() { return cConfigConfigDeclarationCrossReference_0; } + + //ID + public RuleCall getConfigConfigDeclarationIDTerminalRuleCall_0_1() { return cConfigConfigDeclarationIDTerminalRuleCall_0_1; } + } + public class ConfigElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Config"); + private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); + private final RuleCall cConfigSpecificationParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); + private final RuleCall cConfigReferenceParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); + + //Config: + // ConfigSpecification | ConfigReference; + @Override public ParserRule getRule() { return rule; } + + //ConfigSpecification | ConfigReference + public Alternatives getAlternatives() { return cAlternatives; } + + //ConfigSpecification + public RuleCall getConfigSpecificationParserRuleCall_0() { return cConfigSpecificationParserRuleCall_0; } + + //ConfigReference + public RuleCall getConfigReferenceParserRuleCall_1() { return cConfigReferenceParserRuleCall_1; } + } + public class ScopeSpecificationElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ScopeSpecification"); + private final Group cGroup = (Group)rule.eContents().get(1); + private final Action cScopeSpecificationAction_0 = (Action)cGroup.eContents().get(0); + private final Keyword cLeftCurlyBracketKeyword_1 = (Keyword)cGroup.eContents().get(1); + private final Group cGroup_2 = (Group)cGroup.eContents().get(2); + private final Assignment cScopesAssignment_2_0 = (Assignment)cGroup_2.eContents().get(0); + private final RuleCall cScopesTypeScopeParserRuleCall_2_0_0 = (RuleCall)cScopesAssignment_2_0.eContents().get(0); + private final Group cGroup_2_1 = (Group)cGroup_2.eContents().get(1); + private final Keyword cCommaKeyword_2_1_0 = (Keyword)cGroup_2_1.eContents().get(0); + private final Assignment cScopesAssignment_2_1_1 = (Assignment)cGroup_2_1.eContents().get(1); + private final RuleCall cScopesTypeScopeParserRuleCall_2_1_1_0 = (RuleCall)cScopesAssignment_2_1_1.eContents().get(0); + private final Keyword cRightCurlyBracketKeyword_3 = (Keyword)cGroup.eContents().get(3); + + //ScopeSpecification: + // {ScopeSpecification} '{' (scopes+=TypeScope (',' scopes+=TypeScope)*)? + // '}'; + @Override public ParserRule getRule() { return rule; } + + //{ScopeSpecification} '{' (scopes+=TypeScope (',' scopes+=TypeScope)*)? '}' + public Group getGroup() { return cGroup; } + + //{ScopeSpecification} + public Action getScopeSpecificationAction_0() { return cScopeSpecificationAction_0; } + + //'{' + public Keyword getLeftCurlyBracketKeyword_1() { return cLeftCurlyBracketKeyword_1; } + + //(scopes+=TypeScope (',' scopes+=TypeScope)*)? + public Group getGroup_2() { return cGroup_2; } + + //scopes+=TypeScope + public Assignment getScopesAssignment_2_0() { return cScopesAssignment_2_0; } + + //TypeScope + public RuleCall getScopesTypeScopeParserRuleCall_2_0_0() { return cScopesTypeScopeParserRuleCall_2_0_0; } + + //(',' scopes+=TypeScope)* + public Group getGroup_2_1() { return cGroup_2_1; } + + //',' + public Keyword getCommaKeyword_2_1_0() { return cCommaKeyword_2_1_0; } + + //scopes+=TypeScope + public Assignment getScopesAssignment_2_1_1() { return cScopesAssignment_2_1_1; } + + //TypeScope + public RuleCall getScopesTypeScopeParserRuleCall_2_1_1_0() { return cScopesTypeScopeParserRuleCall_2_1_1_0; } + + //'}' + public Keyword getRightCurlyBracketKeyword_3() { return cRightCurlyBracketKeyword_3; } + } + public class TypeScopeElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.TypeScope"); + private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); + private final RuleCall cClassTypeScopeParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); + private final RuleCall cObjectTypeScopeParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); + private final RuleCall cIntegerTypeScopeParserRuleCall_2 = (RuleCall)cAlternatives.eContents().get(2); + private final RuleCall cRealTypeScopeParserRuleCall_3 = (RuleCall)cAlternatives.eContents().get(3); + private final RuleCall cStringTypeScopeParserRuleCall_4 = (RuleCall)cAlternatives.eContents().get(4); + + //TypeScope: + // ClassTypeScope | ObjectTypeScope | IntegerTypeScope | RealTypeScope | StringTypeScope; + @Override public ParserRule getRule() { return rule; } + + //ClassTypeScope | ObjectTypeScope | IntegerTypeScope | RealTypeScope | StringTypeScope + public Alternatives getAlternatives() { return cAlternatives; } + + //ClassTypeScope + public RuleCall getClassTypeScopeParserRuleCall_0() { return cClassTypeScopeParserRuleCall_0; } + + //ObjectTypeScope + public RuleCall getObjectTypeScopeParserRuleCall_1() { return cObjectTypeScopeParserRuleCall_1; } + + //IntegerTypeScope + public RuleCall getIntegerTypeScopeParserRuleCall_2() { return cIntegerTypeScopeParserRuleCall_2; } + + //RealTypeScope + public RuleCall getRealTypeScopeParserRuleCall_3() { return cRealTypeScopeParserRuleCall_3; } + + //StringTypeScope + public RuleCall getStringTypeScopeParserRuleCall_4() { return cStringTypeScopeParserRuleCall_4; } + } + public class ClassTypeScopeElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ClassTypeScope"); + private final Group cGroup = (Group)rule.eContents().get(1); + private final Keyword cNumberSignKeyword_0 = (Keyword)cGroup.eContents().get(0); + private final Assignment cTypeAssignment_1 = (Assignment)cGroup.eContents().get(1); + private final RuleCall cTypeClassReferenceParserRuleCall_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 Alternatives cAlternatives_3 = (Alternatives)cGroup.eContents().get(3); + private final Assignment cNumberAssignment_3_0 = (Assignment)cAlternatives_3.eContents().get(0); + private final RuleCall cNumberExactNumberParserRuleCall_3_0_0 = (RuleCall)cNumberAssignment_3_0.eContents().get(0); + private final Assignment cNumberAssignment_3_1 = (Assignment)cAlternatives_3.eContents().get(1); + private final RuleCall cNumberIntervallNumberParserRuleCall_3_1_0 = (RuleCall)cNumberAssignment_3_1.eContents().get(0); + + //ClassTypeScope: + // '#' type=ClassReference (setsNew?='+=' | setsSum?='=') (number=ExactNumber | number=IntervallNumber); + @Override public ParserRule getRule() { return rule; } + + //'#' type=ClassReference (setsNew?='+=' | setsSum?='=') (number=ExactNumber | number=IntervallNumber) + public Group getGroup() { return cGroup; } + + //'#' + public Keyword getNumberSignKeyword_0() { return cNumberSignKeyword_0; } + + //type=ClassReference + public Assignment getTypeAssignment_1() { return cTypeAssignment_1; } + + //ClassReference + public RuleCall getTypeClassReferenceParserRuleCall_1_0() { return cTypeClassReferenceParserRuleCall_1_0; } + + //setsNew?='+=' | setsSum?='=' + public Alternatives getAlternatives_2() { return cAlternatives_2; } + + //setsNew?='+=' + public Assignment getSetsNewAssignment_2_0() { return cSetsNewAssignment_2_0; } + + //'+=' + public Keyword getSetsNewPlusSignEqualsSignKeyword_2_0_0() { return cSetsNewPlusSignEqualsSignKeyword_2_0_0; } + + //setsSum?='=' + public Assignment getSetsSumAssignment_2_1() { return cSetsSumAssignment_2_1; } + + //'=' + public Keyword getSetsSumEqualsSignKeyword_2_1_0() { return cSetsSumEqualsSignKeyword_2_1_0; } + + //number=ExactNumber | number=IntervallNumber + public Alternatives getAlternatives_3() { return cAlternatives_3; } + + //number=ExactNumber + public Assignment getNumberAssignment_3_0() { return cNumberAssignment_3_0; } + + //ExactNumber + public RuleCall getNumberExactNumberParserRuleCall_3_0_0() { return cNumberExactNumberParserRuleCall_3_0_0; } + + //number=IntervallNumber + public Assignment getNumberAssignment_3_1() { return cNumberAssignment_3_1; } + + //IntervallNumber + public RuleCall getNumberIntervallNumberParserRuleCall_3_1_0() { return cNumberIntervallNumberParserRuleCall_3_1_0; } + } + public class ObjectTypeScopeElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ObjectTypeScope"); + private final Group cGroup = (Group)rule.eContents().get(1); + private final Keyword cNumberSignKeyword_0 = (Keyword)cGroup.eContents().get(0); + private final Assignment cTypeAssignment_1 = (Assignment)cGroup.eContents().get(1); + private final RuleCall cTypeObjectReferenceParserRuleCall_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 Alternatives cAlternatives_3 = (Alternatives)cGroup.eContents().get(3); + private final Assignment cNumberAssignment_3_0 = (Assignment)cAlternatives_3.eContents().get(0); + private final RuleCall cNumberExactNumberParserRuleCall_3_0_0 = (RuleCall)cNumberAssignment_3_0.eContents().get(0); + private final Assignment cNumberAssignment_3_1 = (Assignment)cAlternatives_3.eContents().get(1); + private final RuleCall cNumberIntervallNumberParserRuleCall_3_1_0 = (RuleCall)cNumberAssignment_3_1.eContents().get(0); + + //ObjectTypeScope: + // '#' type=ObjectReference (setsNew?='+=' | setsSum?='=') (number=ExactNumber | number=IntervallNumber); + @Override public ParserRule getRule() { return rule; } + + //'#' type=ObjectReference (setsNew?='+=' | setsSum?='=') (number=ExactNumber | number=IntervallNumber) + public Group getGroup() { return cGroup; } + + //'#' + public Keyword getNumberSignKeyword_0() { return cNumberSignKeyword_0; } + + //type=ObjectReference + public Assignment getTypeAssignment_1() { return cTypeAssignment_1; } + + //ObjectReference + public RuleCall getTypeObjectReferenceParserRuleCall_1_0() { return cTypeObjectReferenceParserRuleCall_1_0; } + + //setsNew?='+=' | setsSum?='=' + public Alternatives getAlternatives_2() { return cAlternatives_2; } + + //setsNew?='+=' + public Assignment getSetsNewAssignment_2_0() { return cSetsNewAssignment_2_0; } + + //'+=' + public Keyword getSetsNewPlusSignEqualsSignKeyword_2_0_0() { return cSetsNewPlusSignEqualsSignKeyword_2_0_0; } + + //setsSum?='=' + public Assignment getSetsSumAssignment_2_1() { return cSetsSumAssignment_2_1; } + + //'=' + public Keyword getSetsSumEqualsSignKeyword_2_1_0() { return cSetsSumEqualsSignKeyword_2_1_0; } + + //number=ExactNumber | number=IntervallNumber + public Alternatives getAlternatives_3() { return cAlternatives_3; } + + //number=ExactNumber + public Assignment getNumberAssignment_3_0() { return cNumberAssignment_3_0; } + + //ExactNumber + public RuleCall getNumberExactNumberParserRuleCall_3_0_0() { return cNumberExactNumberParserRuleCall_3_0_0; } + + //number=IntervallNumber + public Assignment getNumberAssignment_3_1() { return cNumberAssignment_3_1; } + + //IntervallNumber + public RuleCall getNumberIntervallNumberParserRuleCall_3_1_0() { return cNumberIntervallNumberParserRuleCall_3_1_0; } + } + public class IntegerTypeScopeElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntegerTypeScope"); + private final Group cGroup = (Group)rule.eContents().get(1); + private final Keyword cNumberSignKeyword_0 = (Keyword)cGroup.eContents().get(0); + private final Assignment cTypeAssignment_1 = (Assignment)cGroup.eContents().get(1); + private final RuleCall cTypeIntegerReferenceParserRuleCall_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 Alternatives cAlternatives_3 = (Alternatives)cGroup.eContents().get(3); + private final Assignment cNumberAssignment_3_0 = (Assignment)cAlternatives_3.eContents().get(0); + private final RuleCall cNumberExactNumberParserRuleCall_3_0_0 = (RuleCall)cNumberAssignment_3_0.eContents().get(0); + private final Assignment cNumberAssignment_3_1 = (Assignment)cAlternatives_3.eContents().get(1); + private final RuleCall cNumberIntervallNumberParserRuleCall_3_1_0 = (RuleCall)cNumberAssignment_3_1.eContents().get(0); + private final Assignment cNumberAssignment_3_2 = (Assignment)cAlternatives_3.eContents().get(2); + private final RuleCall cNumberIntEnumberationParserRuleCall_3_2_0 = (RuleCall)cNumberAssignment_3_2.eContents().get(0); + + //IntegerTypeScope: + // '#' type=IntegerReference (setsNew?='+=' | setsSum?='=') (number=ExactNumber | number=IntervallNumber | + // number=IntEnumberation); + @Override public ParserRule getRule() { return rule; } + + //'#' type=IntegerReference (setsNew?='+=' | setsSum?='=') (number=ExactNumber | number=IntervallNumber | + //number=IntEnumberation) + public Group getGroup() { return cGroup; } + + //'#' + public Keyword getNumberSignKeyword_0() { return cNumberSignKeyword_0; } + + //type=IntegerReference + public Assignment getTypeAssignment_1() { return cTypeAssignment_1; } + + //IntegerReference + public RuleCall getTypeIntegerReferenceParserRuleCall_1_0() { return cTypeIntegerReferenceParserRuleCall_1_0; } + + //setsNew?='+=' | setsSum?='=' + public Alternatives getAlternatives_2() { return cAlternatives_2; } + + //setsNew?='+=' + public Assignment getSetsNewAssignment_2_0() { return cSetsNewAssignment_2_0; } + + //'+=' + public Keyword getSetsNewPlusSignEqualsSignKeyword_2_0_0() { return cSetsNewPlusSignEqualsSignKeyword_2_0_0; } + + //setsSum?='=' + public Assignment getSetsSumAssignment_2_1() { return cSetsSumAssignment_2_1; } + + //'=' + public Keyword getSetsSumEqualsSignKeyword_2_1_0() { return cSetsSumEqualsSignKeyword_2_1_0; } + + //number=ExactNumber | number=IntervallNumber | number=IntEnumberation + public Alternatives getAlternatives_3() { return cAlternatives_3; } + + //number=ExactNumber + public Assignment getNumberAssignment_3_0() { return cNumberAssignment_3_0; } + + //ExactNumber + public RuleCall getNumberExactNumberParserRuleCall_3_0_0() { return cNumberExactNumberParserRuleCall_3_0_0; } + + //number=IntervallNumber + public Assignment getNumberAssignment_3_1() { return cNumberAssignment_3_1; } + + //IntervallNumber + public RuleCall getNumberIntervallNumberParserRuleCall_3_1_0() { return cNumberIntervallNumberParserRuleCall_3_1_0; } + + //number=IntEnumberation + public Assignment getNumberAssignment_3_2() { return cNumberAssignment_3_2; } + + //IntEnumberation + public RuleCall getNumberIntEnumberationParserRuleCall_3_2_0() { return cNumberIntEnumberationParserRuleCall_3_2_0; } + } + public class RealTypeScopeElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.RealTypeScope"); + private final Group cGroup = (Group)rule.eContents().get(1); + private final Keyword cNumberSignKeyword_0 = (Keyword)cGroup.eContents().get(0); + private final Assignment cTypeAssignment_1 = (Assignment)cGroup.eContents().get(1); + private final RuleCall cTypeRealReferenceParserRuleCall_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 Alternatives cAlternatives_3 = (Alternatives)cGroup.eContents().get(3); + private final Assignment cNumberAssignment_3_0 = (Assignment)cAlternatives_3.eContents().get(0); + private final RuleCall cNumberExactNumberParserRuleCall_3_0_0 = (RuleCall)cNumberAssignment_3_0.eContents().get(0); + private final Assignment cNumberAssignment_3_1 = (Assignment)cAlternatives_3.eContents().get(1); + private final RuleCall cNumberIntervallNumberParserRuleCall_3_1_0 = (RuleCall)cNumberAssignment_3_1.eContents().get(0); + private final Assignment cNumberAssignment_3_2 = (Assignment)cAlternatives_3.eContents().get(2); + private final RuleCall cNumberRealEnumerationParserRuleCall_3_2_0 = (RuleCall)cNumberAssignment_3_2.eContents().get(0); + + //RealTypeScope: + // '#' type=RealReference (setsNew?='+=' | setsSum?='=') (number=ExactNumber | number=IntervallNumber | + // number=RealEnumeration); + @Override public ParserRule getRule() { return rule; } + + //'#' type=RealReference (setsNew?='+=' | setsSum?='=') (number=ExactNumber | number=IntervallNumber | + //number=RealEnumeration) + public Group getGroup() { return cGroup; } + + //'#' + public Keyword getNumberSignKeyword_0() { return cNumberSignKeyword_0; } + + //type=RealReference + public Assignment getTypeAssignment_1() { return cTypeAssignment_1; } + + //RealReference + public RuleCall getTypeRealReferenceParserRuleCall_1_0() { return cTypeRealReferenceParserRuleCall_1_0; } + + //setsNew?='+=' | setsSum?='=' + public Alternatives getAlternatives_2() { return cAlternatives_2; } + + //setsNew?='+=' + public Assignment getSetsNewAssignment_2_0() { return cSetsNewAssignment_2_0; } + + //'+=' + public Keyword getSetsNewPlusSignEqualsSignKeyword_2_0_0() { return cSetsNewPlusSignEqualsSignKeyword_2_0_0; } + + //setsSum?='=' + public Assignment getSetsSumAssignment_2_1() { return cSetsSumAssignment_2_1; } + + //'=' + public Keyword getSetsSumEqualsSignKeyword_2_1_0() { return cSetsSumEqualsSignKeyword_2_1_0; } + + //number=ExactNumber | number=IntervallNumber | number=RealEnumeration + public Alternatives getAlternatives_3() { return cAlternatives_3; } + + //number=ExactNumber + public Assignment getNumberAssignment_3_0() { return cNumberAssignment_3_0; } + + //ExactNumber + public RuleCall getNumberExactNumberParserRuleCall_3_0_0() { return cNumberExactNumberParserRuleCall_3_0_0; } + + //number=IntervallNumber + public Assignment getNumberAssignment_3_1() { return cNumberAssignment_3_1; } + + //IntervallNumber + public RuleCall getNumberIntervallNumberParserRuleCall_3_1_0() { return cNumberIntervallNumberParserRuleCall_3_1_0; } + + //number=RealEnumeration + public Assignment getNumberAssignment_3_2() { return cNumberAssignment_3_2; } + + //RealEnumeration + public RuleCall getNumberRealEnumerationParserRuleCall_3_2_0() { return cNumberRealEnumerationParserRuleCall_3_2_0; } + } + public class StringTypeScopeElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.StringTypeScope"); + private final Group cGroup = (Group)rule.eContents().get(1); + private final Keyword cNumberSignKeyword_0 = (Keyword)cGroup.eContents().get(0); + private final Assignment cTypeAssignment_1 = (Assignment)cGroup.eContents().get(1); + private final RuleCall cTypeStringReferenceParserRuleCall_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 Alternatives cAlternatives_3 = (Alternatives)cGroup.eContents().get(3); + private final Assignment cNumberAssignment_3_0 = (Assignment)cAlternatives_3.eContents().get(0); + private final RuleCall cNumberExactNumberParserRuleCall_3_0_0 = (RuleCall)cNumberAssignment_3_0.eContents().get(0); + private final Assignment cNumberAssignment_3_1 = (Assignment)cAlternatives_3.eContents().get(1); + private final RuleCall cNumberIntervallNumberParserRuleCall_3_1_0 = (RuleCall)cNumberAssignment_3_1.eContents().get(0); + private final Assignment cNumberAssignment_3_2 = (Assignment)cAlternatives_3.eContents().get(2); + private final RuleCall cNumberStringEnumerationParserRuleCall_3_2_0 = (RuleCall)cNumberAssignment_3_2.eContents().get(0); + + //StringTypeScope: + // '#' type=StringReference (setsNew?='+=' | setsSum?='=') (number=ExactNumber | number=IntervallNumber | + // number=StringEnumeration); + @Override public ParserRule getRule() { return rule; } + + //'#' type=StringReference (setsNew?='+=' | setsSum?='=') (number=ExactNumber | number=IntervallNumber | + //number=StringEnumeration) + public Group getGroup() { return cGroup; } + + //'#' + public Keyword getNumberSignKeyword_0() { return cNumberSignKeyword_0; } + + //type=StringReference + public Assignment getTypeAssignment_1() { return cTypeAssignment_1; } + + //StringReference + public RuleCall getTypeStringReferenceParserRuleCall_1_0() { return cTypeStringReferenceParserRuleCall_1_0; } + + //setsNew?='+=' | setsSum?='=' + public Alternatives getAlternatives_2() { return cAlternatives_2; } + + //setsNew?='+=' + public Assignment getSetsNewAssignment_2_0() { return cSetsNewAssignment_2_0; } + + //'+=' + public Keyword getSetsNewPlusSignEqualsSignKeyword_2_0_0() { return cSetsNewPlusSignEqualsSignKeyword_2_0_0; } + + //setsSum?='=' + public Assignment getSetsSumAssignment_2_1() { return cSetsSumAssignment_2_1; } + + //'=' + public Keyword getSetsSumEqualsSignKeyword_2_1_0() { return cSetsSumEqualsSignKeyword_2_1_0; } + + //number=ExactNumber | number=IntervallNumber | number=StringEnumeration + public Alternatives getAlternatives_3() { return cAlternatives_3; } + + //number=ExactNumber + public Assignment getNumberAssignment_3_0() { return cNumberAssignment_3_0; } + + //ExactNumber + public RuleCall getNumberExactNumberParserRuleCall_3_0_0() { return cNumberExactNumberParserRuleCall_3_0_0; } + + //number=IntervallNumber + public Assignment getNumberAssignment_3_1() { return cNumberAssignment_3_1; } + + //IntervallNumber + public RuleCall getNumberIntervallNumberParserRuleCall_3_1_0() { return cNumberIntervallNumberParserRuleCall_3_1_0; } + + //number=StringEnumeration + public Assignment getNumberAssignment_3_2() { return cNumberAssignment_3_2; } + + //StringEnumeration + public RuleCall getNumberStringEnumerationParserRuleCall_3_2_0() { return cNumberStringEnumerationParserRuleCall_3_2_0; } + } + public class TypeReferenceElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.TypeReference"); + private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); + private final RuleCall cClassReferenceParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); + private final RuleCall cObjectReferenceParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); + private final RuleCall cIntegerReferenceParserRuleCall_2 = (RuleCall)cAlternatives.eContents().get(2); + private final RuleCall cRealReferenceParserRuleCall_3 = (RuleCall)cAlternatives.eContents().get(3); + private final RuleCall cStringReferenceParserRuleCall_4 = (RuleCall)cAlternatives.eContents().get(4); + + //TypeReference: + // ClassReference | ObjectReference | IntegerReference | RealReference | StringReference; + @Override public ParserRule getRule() { return rule; } + + //ClassReference | ObjectReference | IntegerReference | RealReference | StringReference + public Alternatives getAlternatives() { return cAlternatives; } + + //ClassReference + public RuleCall getClassReferenceParserRuleCall_0() { return cClassReferenceParserRuleCall_0; } + + //ObjectReference + public RuleCall getObjectReferenceParserRuleCall_1() { return cObjectReferenceParserRuleCall_1; } + + //IntegerReference + public RuleCall getIntegerReferenceParserRuleCall_2() { return cIntegerReferenceParserRuleCall_2; } + + //RealReference + public RuleCall getRealReferenceParserRuleCall_3() { return cRealReferenceParserRuleCall_3; } + + //StringReference + public RuleCall getStringReferenceParserRuleCall_4() { return cStringReferenceParserRuleCall_4; } + } + public class ClassReferenceElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ClassReference"); + private final Group cGroup = (Group)rule.eContents().get(1); + private final Keyword cLessThanSignKeyword_0 = (Keyword)cGroup.eContents().get(0); + private final Assignment cElementAssignment_1 = (Assignment)cGroup.eContents().get(1); + private final RuleCall cElementMetamodelElementParserRuleCall_1_0 = (RuleCall)cElementAssignment_1.eContents().get(0); + private final Keyword cGreaterThanSignKeyword_2 = (Keyword)cGroup.eContents().get(2); + + //ClassReference: + // '<' element=MetamodelElement '>'; + @Override public ParserRule getRule() { return rule; } + + //'<' element=MetamodelElement '>' + public Group getGroup() { return cGroup; } + + //'<' + public Keyword getLessThanSignKeyword_0() { return cLessThanSignKeyword_0; } + + //element=MetamodelElement + public Assignment getElementAssignment_1() { return cElementAssignment_1; } + + //MetamodelElement + public RuleCall getElementMetamodelElementParserRuleCall_1_0() { return cElementMetamodelElementParserRuleCall_1_0; } + + //'>' + public Keyword getGreaterThanSignKeyword_2() { return cGreaterThanSignKeyword_2; } + } + public class ObjectReferenceElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ObjectReference"); + private final Group cGroup = (Group)rule.eContents().get(1); + private final Action cObjectReferenceAction_0 = (Action)cGroup.eContents().get(0); + private final Keyword cNodeKeyword_1 = (Keyword)cGroup.eContents().get(1); + + //ObjectReference: + // {ObjectReference} 'node'; + @Override public ParserRule getRule() { return rule; } + + //{ObjectReference} 'node' + public Group getGroup() { return cGroup; } + + //{ObjectReference} + public Action getObjectReferenceAction_0() { return cObjectReferenceAction_0; } + + //'node' + public Keyword getNodeKeyword_1() { return cNodeKeyword_1; } + } + public class IntegerReferenceElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntegerReference"); + private final Group cGroup = (Group)rule.eContents().get(1); + private final Action cIntegerScopeAction_0 = (Action)cGroup.eContents().get(0); + private final Keyword cIntKeyword_1 = (Keyword)cGroup.eContents().get(1); + + //IntegerReference: + // {IntegerScope} 'int'; + @Override public ParserRule getRule() { return rule; } + + //{IntegerScope} 'int' + public Group getGroup() { return cGroup; } + + //{IntegerScope} + public Action getIntegerScopeAction_0() { return cIntegerScopeAction_0; } + + //'int' + public Keyword getIntKeyword_1() { return cIntKeyword_1; } + } + public class RealReferenceElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.RealReference"); + private final Group cGroup = (Group)rule.eContents().get(1); + private final Action cRealScopeAction_0 = (Action)cGroup.eContents().get(0); + private final Keyword cRealKeyword_1 = (Keyword)cGroup.eContents().get(1); + + //RealReference: + // {RealScope} 'real'; + @Override public ParserRule getRule() { return rule; } + + //{RealScope} 'real' + public Group getGroup() { return cGroup; } + + //{RealScope} + public Action getRealScopeAction_0() { return cRealScopeAction_0; } + + //'real' + public Keyword getRealKeyword_1() { return cRealKeyword_1; } + } + public class StringReferenceElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.StringReference"); + private final Group cGroup = (Group)rule.eContents().get(1); + private final Action cStringScopeAction_0 = (Action)cGroup.eContents().get(0); + private final Keyword cStringKeyword_1 = (Keyword)cGroup.eContents().get(1); + + //StringReference: + // {StringScope} 'string'; + @Override public ParserRule getRule() { return rule; } + + //{StringScope} 'string' + public Group getGroup() { return cGroup; } + + //{StringScope} + public Action getStringScopeAction_0() { return cStringScopeAction_0; } + + //'string' + public Keyword getStringKeyword_1() { return cStringKeyword_1; } + } + public class NumberSpecificationElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.NumberSpecification"); + private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); + private final RuleCall cExactNumberParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); + private final RuleCall cIntervallNumberParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); + private final RuleCall cIntEnumberationParserRuleCall_2 = (RuleCall)cAlternatives.eContents().get(2); + private final RuleCall cRealEnumerationParserRuleCall_3 = (RuleCall)cAlternatives.eContents().get(3); + private final RuleCall cStringEnumerationParserRuleCall_4 = (RuleCall)cAlternatives.eContents().get(4); + + //NumberSpecification: + // ExactNumber | IntervallNumber | IntEnumberation | RealEnumeration | StringEnumeration; + @Override public ParserRule getRule() { return rule; } + + //ExactNumber | IntervallNumber | IntEnumberation | RealEnumeration | StringEnumeration + public Alternatives getAlternatives() { return cAlternatives; } + + //ExactNumber + public RuleCall getExactNumberParserRuleCall_0() { return cExactNumberParserRuleCall_0; } + + //IntervallNumber + public RuleCall getIntervallNumberParserRuleCall_1() { return cIntervallNumberParserRuleCall_1; } + + //IntEnumberation + public RuleCall getIntEnumberationParserRuleCall_2() { return cIntEnumberationParserRuleCall_2; } + + //RealEnumeration + public RuleCall getRealEnumerationParserRuleCall_3() { return cRealEnumerationParserRuleCall_3; } + + //StringEnumeration + public RuleCall getStringEnumerationParserRuleCall_4() { return cStringEnumerationParserRuleCall_4; } + } + public class ExactNumberElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ExactNumber"); + private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); + private final Assignment cExactNumberAssignment_0 = (Assignment)cAlternatives.eContents().get(0); + private final RuleCall cExactNumberINTTerminalRuleCall_0_0 = (RuleCall)cExactNumberAssignment_0.eContents().get(0); + private final Assignment cExactUnlimitedAssignment_1 = (Assignment)cAlternatives.eContents().get(1); + private final Keyword cExactUnlimitedAsteriskKeyword_1_0 = (Keyword)cExactUnlimitedAssignment_1.eContents().get(0); + + //ExactNumber: + // exactNumber=INT | exactUnlimited?='*'; + @Override public ParserRule getRule() { return rule; } + + //exactNumber=INT | exactUnlimited?='*' + public Alternatives getAlternatives() { return cAlternatives; } + + //exactNumber=INT + public Assignment getExactNumberAssignment_0() { return cExactNumberAssignment_0; } + + //INT + public RuleCall getExactNumberINTTerminalRuleCall_0_0() { return cExactNumberINTTerminalRuleCall_0_0; } + + //exactUnlimited?='*' + public Assignment getExactUnlimitedAssignment_1() { return cExactUnlimitedAssignment_1; } + + //'*' + public Keyword getExactUnlimitedAsteriskKeyword_1_0() { return cExactUnlimitedAsteriskKeyword_1_0; } + } + public class IntervallNumberElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntervallNumber"); + private final Group cGroup = (Group)rule.eContents().get(1); + private final Assignment cMinAssignment_0 = (Assignment)cGroup.eContents().get(0); + private final RuleCall cMinINTTerminalRuleCall_0_0 = (RuleCall)cMinAssignment_0.eContents().get(0); + private final Keyword cFullStopFullStopKeyword_1 = (Keyword)cGroup.eContents().get(1); + private final Alternatives cAlternatives_2 = (Alternatives)cGroup.eContents().get(2); + private final Assignment cMaxNumberAssignment_2_0 = (Assignment)cAlternatives_2.eContents().get(0); + private final RuleCall cMaxNumberINTTerminalRuleCall_2_0_0 = (RuleCall)cMaxNumberAssignment_2_0.eContents().get(0); + private final Assignment cMaxUnlimitedAssignment_2_1 = (Assignment)cAlternatives_2.eContents().get(1); + private final Keyword cMaxUnlimitedAsteriskKeyword_2_1_0 = (Keyword)cMaxUnlimitedAssignment_2_1.eContents().get(0); + + //IntervallNumber: + // min=INT '..' (maxNumber=INT | maxUnlimited?='*'); + @Override public ParserRule getRule() { return rule; } + + //min=INT '..' (maxNumber=INT | maxUnlimited?='*') + public Group getGroup() { return cGroup; } + + //min=INT + public Assignment getMinAssignment_0() { return cMinAssignment_0; } + + //INT + public RuleCall getMinINTTerminalRuleCall_0_0() { return cMinINTTerminalRuleCall_0_0; } + + //'..' + public Keyword getFullStopFullStopKeyword_1() { return cFullStopFullStopKeyword_1; } + + //maxNumber=INT | maxUnlimited?='*' + public Alternatives getAlternatives_2() { return cAlternatives_2; } + + //maxNumber=INT + public Assignment getMaxNumberAssignment_2_0() { return cMaxNumberAssignment_2_0; } + + //INT + public RuleCall getMaxNumberINTTerminalRuleCall_2_0_0() { return cMaxNumberINTTerminalRuleCall_2_0_0; } + + //maxUnlimited?='*' + public Assignment getMaxUnlimitedAssignment_2_1() { return cMaxUnlimitedAssignment_2_1; } + + //'*' + public Keyword getMaxUnlimitedAsteriskKeyword_2_1_0() { return cMaxUnlimitedAsteriskKeyword_2_1_0; } + } + public class IntEnumberationElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntEnumberation"); + private final Group cGroup = (Group)rule.eContents().get(1); + private final Action cIntEnumberationAction_0 = (Action)cGroup.eContents().get(0); + private final Keyword cLeftCurlyBracketKeyword_1 = (Keyword)cGroup.eContents().get(1); + private final Group cGroup_2 = (Group)cGroup.eContents().get(2); + private final Assignment cEntryAssignment_2_0 = (Assignment)cGroup_2.eContents().get(0); + private final RuleCall cEntryINTLiteralParserRuleCall_2_0_0 = (RuleCall)cEntryAssignment_2_0.eContents().get(0); + private final Group cGroup_2_1 = (Group)cGroup_2.eContents().get(1); + private final Keyword cCommaKeyword_2_1_0 = (Keyword)cGroup_2_1.eContents().get(0); + private final Assignment cEntryAssignment_2_1_1 = (Assignment)cGroup_2_1.eContents().get(1); + private final RuleCall cEntryINTLiteralParserRuleCall_2_1_1_0 = (RuleCall)cEntryAssignment_2_1_1.eContents().get(0); + private final Keyword cRightCurlyBracketKeyword_3 = (Keyword)cGroup.eContents().get(3); + + //IntEnumberation: + // {IntEnumberation} '{' (entry+=INTLiteral (',' entry+=INTLiteral)*)? '}'; + @Override public ParserRule getRule() { return rule; } + + //{IntEnumberation} '{' (entry+=INTLiteral (',' entry+=INTLiteral)*)? '}' + public Group getGroup() { return cGroup; } + + //{IntEnumberation} + public Action getIntEnumberationAction_0() { return cIntEnumberationAction_0; } + + //'{' + public Keyword getLeftCurlyBracketKeyword_1() { return cLeftCurlyBracketKeyword_1; } + + //(entry+=INTLiteral (',' entry+=INTLiteral)*)? + public Group getGroup_2() { return cGroup_2; } + + //entry+=INTLiteral + public Assignment getEntryAssignment_2_0() { return cEntryAssignment_2_0; } + + //INTLiteral + public RuleCall getEntryINTLiteralParserRuleCall_2_0_0() { return cEntryINTLiteralParserRuleCall_2_0_0; } + + //(',' entry+=INTLiteral)* + public Group getGroup_2_1() { return cGroup_2_1; } + + //',' + public Keyword getCommaKeyword_2_1_0() { return cCommaKeyword_2_1_0; } + + //entry+=INTLiteral + public Assignment getEntryAssignment_2_1_1() { return cEntryAssignment_2_1_1; } + + //INTLiteral + public RuleCall getEntryINTLiteralParserRuleCall_2_1_1_0() { return cEntryINTLiteralParserRuleCall_2_1_1_0; } + + //'}' + public Keyword getRightCurlyBracketKeyword_3() { return cRightCurlyBracketKeyword_3; } + } + public class RealEnumerationElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.RealEnumeration"); + private final Group cGroup = (Group)rule.eContents().get(1); + private final Action cRealEnumerationAction_0 = (Action)cGroup.eContents().get(0); + private final Keyword cLeftCurlyBracketKeyword_1 = (Keyword)cGroup.eContents().get(1); + private final Group cGroup_2 = (Group)cGroup.eContents().get(2); + private final Assignment cEntryAssignment_2_0 = (Assignment)cGroup_2.eContents().get(0); + private final RuleCall cEntryREALLiteralParserRuleCall_2_0_0 = (RuleCall)cEntryAssignment_2_0.eContents().get(0); + private final Group cGroup_2_1 = (Group)cGroup_2.eContents().get(1); + private final Keyword cCommaKeyword_2_1_0 = (Keyword)cGroup_2_1.eContents().get(0); + private final Assignment cEntryAssignment_2_1_1 = (Assignment)cGroup_2_1.eContents().get(1); + private final RuleCall cEntryREALLiteralParserRuleCall_2_1_1_0 = (RuleCall)cEntryAssignment_2_1_1.eContents().get(0); + private final Keyword cRightCurlyBracketKeyword_3 = (Keyword)cGroup.eContents().get(3); + + //RealEnumeration: + // {RealEnumeration} '{' (entry+=REALLiteral (',' entry+=REALLiteral)*)? '}'; + @Override public ParserRule getRule() { return rule; } + + //{RealEnumeration} '{' (entry+=REALLiteral (',' entry+=REALLiteral)*)? '}' + public Group getGroup() { return cGroup; } + + //{RealEnumeration} + public Action getRealEnumerationAction_0() { return cRealEnumerationAction_0; } + + //'{' + public Keyword getLeftCurlyBracketKeyword_1() { return cLeftCurlyBracketKeyword_1; } + + //(entry+=REALLiteral (',' entry+=REALLiteral)*)? + public Group getGroup_2() { return cGroup_2; } + + //entry+=REALLiteral + public Assignment getEntryAssignment_2_0() { return cEntryAssignment_2_0; } + + //REALLiteral + public RuleCall getEntryREALLiteralParserRuleCall_2_0_0() { return cEntryREALLiteralParserRuleCall_2_0_0; } + + //(',' entry+=REALLiteral)* + public Group getGroup_2_1() { return cGroup_2_1; } + + //',' + public Keyword getCommaKeyword_2_1_0() { return cCommaKeyword_2_1_0; } + + //entry+=REALLiteral + public Assignment getEntryAssignment_2_1_1() { return cEntryAssignment_2_1_1; } + + //REALLiteral + public RuleCall getEntryREALLiteralParserRuleCall_2_1_1_0() { return cEntryREALLiteralParserRuleCall_2_1_1_0; } + + //'}' + public Keyword getRightCurlyBracketKeyword_3() { return cRightCurlyBracketKeyword_3; } + } + public class StringEnumerationElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.StringEnumeration"); + private final Group cGroup = (Group)rule.eContents().get(1); + private final Action cStringEnumerationAction_0 = (Action)cGroup.eContents().get(0); + private final Keyword cLeftCurlyBracketKeyword_1 = (Keyword)cGroup.eContents().get(1); + private final Group cGroup_2 = (Group)cGroup.eContents().get(2); + private final Assignment cEntryAssignment_2_0 = (Assignment)cGroup_2.eContents().get(0); + private final RuleCall cEntrySTRINGTerminalRuleCall_2_0_0 = (RuleCall)cEntryAssignment_2_0.eContents().get(0); + private final Group cGroup_2_1 = (Group)cGroup_2.eContents().get(1); + private final Keyword cCommaKeyword_2_1_0 = (Keyword)cGroup_2_1.eContents().get(0); + private final Assignment cEntryAssignment_2_1_1 = (Assignment)cGroup_2_1.eContents().get(1); + private final RuleCall cEntrySTRINGTerminalRuleCall_2_1_1_0 = (RuleCall)cEntryAssignment_2_1_1.eContents().get(0); + private final Keyword cRightCurlyBracketKeyword_3 = (Keyword)cGroup.eContents().get(3); + + //StringEnumeration: + // {StringEnumeration} '{' (entry+=STRING (',' entry+=STRING)*)? '}'; + @Override public ParserRule getRule() { return rule; } + + //{StringEnumeration} '{' (entry+=STRING (',' entry+=STRING)*)? '}' + public Group getGroup() { return cGroup; } + + //{StringEnumeration} + public Action getStringEnumerationAction_0() { return cStringEnumerationAction_0; } + + //'{' + public Keyword getLeftCurlyBracketKeyword_1() { return cLeftCurlyBracketKeyword_1; } + + //(entry+=STRING (',' entry+=STRING)*)? + public Group getGroup_2() { return cGroup_2; } + + //entry+=STRING + public Assignment getEntryAssignment_2_0() { return cEntryAssignment_2_0; } + + //STRING + public RuleCall getEntrySTRINGTerminalRuleCall_2_0_0() { return cEntrySTRINGTerminalRuleCall_2_0_0; } + + //(',' entry+=STRING)* + public Group getGroup_2_1() { return cGroup_2_1; } + + //',' + public Keyword getCommaKeyword_2_1_0() { return cCommaKeyword_2_1_0; } + + //entry+=STRING + public Assignment getEntryAssignment_2_1_1() { return cEntryAssignment_2_1_1; } + + //STRING + public RuleCall getEntrySTRINGTerminalRuleCall_2_1_1_0() { return cEntrySTRINGTerminalRuleCall_2_1_1_0; } + + //'}' + public Keyword getRightCurlyBracketKeyword_3() { return cRightCurlyBracketKeyword_3; } + } + public class ScopeDeclarationElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ScopeDeclaration"); + private final Group cGroup = (Group)rule.eContents().get(1); + private final Keyword cScopeKeyword_0 = (Keyword)cGroup.eContents().get(0); + private final Assignment cNameAssignment_1 = (Assignment)cGroup.eContents().get(1); + private final RuleCall cNameIDTerminalRuleCall_1_0 = (RuleCall)cNameAssignment_1.eContents().get(0); + private final Assignment cSpecificationAssignment_2 = (Assignment)cGroup.eContents().get(2); + private final RuleCall cSpecificationScopeSpecificationParserRuleCall_2_0 = (RuleCall)cSpecificationAssignment_2.eContents().get(0); + + //ScopeDeclaration: + // 'scope' name=ID specification=ScopeSpecification; + @Override public ParserRule getRule() { return rule; } + + //'scope' name=ID specification=ScopeSpecification + public Group getGroup() { return cGroup; } + + //'scope' + public Keyword getScopeKeyword_0() { return cScopeKeyword_0; } + + //name=ID + public Assignment getNameAssignment_1() { return cNameAssignment_1; } + + //ID + public RuleCall getNameIDTerminalRuleCall_1_0() { return cNameIDTerminalRuleCall_1_0; } + + //specification=ScopeSpecification + public Assignment getSpecificationAssignment_2() { return cSpecificationAssignment_2; } + + //ScopeSpecification + public RuleCall getSpecificationScopeSpecificationParserRuleCall_2_0() { return cSpecificationScopeSpecificationParserRuleCall_2_0; } + } + public class ScopeReferenceElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ScopeReference"); + private final Assignment cReferredAssignment = (Assignment)rule.eContents().get(1); + private final CrossReference cReferredScopeDeclarationCrossReference_0 = (CrossReference)cReferredAssignment.eContents().get(0); + private final RuleCall cReferredScopeDeclarationIDTerminalRuleCall_0_1 = (RuleCall)cReferredScopeDeclarationCrossReference_0.eContents().get(1); + + //ScopeReference: + // referred=[ScopeDeclaration]; + @Override public ParserRule getRule() { return rule; } + + //referred=[ScopeDeclaration] + public Assignment getReferredAssignment() { return cReferredAssignment; } + + //[ScopeDeclaration] + public CrossReference getReferredScopeDeclarationCrossReference_0() { return cReferredScopeDeclarationCrossReference_0; } + + //ID + public RuleCall getReferredScopeDeclarationIDTerminalRuleCall_0_1() { return cReferredScopeDeclarationIDTerminalRuleCall_0_1; } + } + public class ScopeElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Scope"); + private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); + private final RuleCall cScopeSpecificationParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); + private final RuleCall cScopeReferenceParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); + + //Scope: + // ScopeSpecification | ScopeReference; + @Override public ParserRule getRule() { return rule; } + + //ScopeSpecification | ScopeReference + public Alternatives getAlternatives() { return cAlternatives; } + + //ScopeSpecification + public RuleCall getScopeSpecificationParserRuleCall_0() { return cScopeSpecificationParserRuleCall_0; } + + //ScopeReference + public RuleCall getScopeReferenceParserRuleCall_1() { return cScopeReferenceParserRuleCall_1; } + } + public class TaskElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Task"); + private final RuleCall cGenerationTaskParserRuleCall = (RuleCall)rule.eContents().get(1); + + //Task: + // GenerationTask /*| CoverageCalculation | ValidationTask*/; + @Override public ParserRule getRule() { return rule; } + + //GenerationTask + public RuleCall getGenerationTaskParserRuleCall() { return cGenerationTaskParserRuleCall; } + } + public class GenerationTaskElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.GenerationTask"); + private final Group cGroup = (Group)rule.eContents().get(1); + private final Keyword cGenerateKeyword_0 = (Keyword)cGroup.eContents().get(0); + private final Action cGenerationTaskAction_1 = (Action)cGroup.eContents().get(1); + private final Keyword cLeftCurlyBracketKeyword_2 = (Keyword)cGroup.eContents().get(2); + private final UnorderedGroup cUnorderedGroup_3 = (UnorderedGroup)cGroup.eContents().get(3); + private final Group cGroup_3_0 = (Group)cUnorderedGroup_3.eContents().get(0); + private final Keyword cMetamodelKeyword_3_0_0 = (Keyword)cGroup_3_0.eContents().get(0); + private final Keyword cEqualsSignKeyword_3_0_1 = (Keyword)cGroup_3_0.eContents().get(1); + private final Assignment cMetamodelAssignment_3_0_2 = (Assignment)cGroup_3_0.eContents().get(2); + private final RuleCall cMetamodelMetamodelParserRuleCall_3_0_2_0 = (RuleCall)cMetamodelAssignment_3_0_2.eContents().get(0); + private final Group cGroup_3_1 = (Group)cUnorderedGroup_3.eContents().get(1); + private final Keyword cPartialModelKeyword_3_1_0 = (Keyword)cGroup_3_1.eContents().get(0); + private final Keyword cEqualsSignKeyword_3_1_1 = (Keyword)cGroup_3_1.eContents().get(1); + private final Assignment cPartialModelAssignment_3_1_2 = (Assignment)cGroup_3_1.eContents().get(2); + private final RuleCall cPartialModelPartialModelParserRuleCall_3_1_2_0 = (RuleCall)cPartialModelAssignment_3_1_2.eContents().get(0); + private final Group cGroup_3_2 = (Group)cUnorderedGroup_3.eContents().get(2); + private final Keyword cConstraintsKeyword_3_2_0 = (Keyword)cGroup_3_2.eContents().get(0); + private final Keyword cEqualsSignKeyword_3_2_1 = (Keyword)cGroup_3_2.eContents().get(1); + private final Assignment cPatternsAssignment_3_2_2 = (Assignment)cGroup_3_2.eContents().get(2); + private final RuleCall cPatternsGraphPatternParserRuleCall_3_2_2_0 = (RuleCall)cPatternsAssignment_3_2_2.eContents().get(0); + private final Group cGroup_3_3 = (Group)cUnorderedGroup_3.eContents().get(3); + private final Keyword cObjectivesKeyword_3_3_0 = (Keyword)cGroup_3_3.eContents().get(0); + private final Keyword cEqualsSignKeyword_3_3_1 = (Keyword)cGroup_3_3.eContents().get(1); + private final Assignment cObjectivesAssignment_3_3_2 = (Assignment)cGroup_3_3.eContents().get(2); + private final RuleCall cObjectivesObjectiveParserRuleCall_3_3_2_0 = (RuleCall)cObjectivesAssignment_3_3_2.eContents().get(0); + private final Group cGroup_3_4 = (Group)cUnorderedGroup_3.eContents().get(4); + private final Keyword cScopeKeyword_3_4_0 = (Keyword)cGroup_3_4.eContents().get(0); + private final Keyword cEqualsSignKeyword_3_4_1 = (Keyword)cGroup_3_4.eContents().get(1); + private final Assignment cScopeAssignment_3_4_2 = (Assignment)cGroup_3_4.eContents().get(2); + private final RuleCall cScopeScopeParserRuleCall_3_4_2_0 = (RuleCall)cScopeAssignment_3_4_2.eContents().get(0); + private final Group cGroup_3_5 = (Group)cUnorderedGroup_3.eContents().get(5); + private final Assignment cNumberSpecifiedAssignment_3_5_0 = (Assignment)cGroup_3_5.eContents().get(0); + private final Keyword cNumberSpecifiedNumberKeyword_3_5_0_0 = (Keyword)cNumberSpecifiedAssignment_3_5_0.eContents().get(0); + private final Keyword cEqualsSignKeyword_3_5_1 = (Keyword)cGroup_3_5.eContents().get(1); + private final Assignment cNumberAssignment_3_5_2 = (Assignment)cGroup_3_5.eContents().get(2); + private final RuleCall cNumberINTTerminalRuleCall_3_5_2_0 = (RuleCall)cNumberAssignment_3_5_2.eContents().get(0); + private final Group cGroup_3_6 = (Group)cUnorderedGroup_3.eContents().get(6); + private final Assignment cRunSpecifiedAssignment_3_6_0 = (Assignment)cGroup_3_6.eContents().get(0); + private final Keyword cRunSpecifiedRunsKeyword_3_6_0_0 = (Keyword)cRunSpecifiedAssignment_3_6_0.eContents().get(0); + private final Keyword cEqualsSignKeyword_3_6_1 = (Keyword)cGroup_3_6.eContents().get(1); + private final Assignment cRunsAssignment_3_6_2 = (Assignment)cGroup_3_6.eContents().get(2); + private final RuleCall cRunsINTTerminalRuleCall_3_6_2_0 = (RuleCall)cRunsAssignment_3_6_2.eContents().get(0); + private final Group cGroup_3_7 = (Group)cUnorderedGroup_3.eContents().get(7); + private final Keyword cSolverKeyword_3_7_0 = (Keyword)cGroup_3_7.eContents().get(0); + private final Keyword cEqualsSignKeyword_3_7_1 = (Keyword)cGroup_3_7.eContents().get(1); + private final Assignment cSolverAssignment_3_7_2 = (Assignment)cGroup_3_7.eContents().get(2); + private final RuleCall cSolverSolverEnumRuleCall_3_7_2_0 = (RuleCall)cSolverAssignment_3_7_2.eContents().get(0); + private final Group cGroup_3_8 = (Group)cUnorderedGroup_3.eContents().get(8); + private final Keyword cConfigKeyword_3_8_0 = (Keyword)cGroup_3_8.eContents().get(0); + private final Keyword cEqualsSignKeyword_3_8_1 = (Keyword)cGroup_3_8.eContents().get(1); + private final Assignment cConfigAssignment_3_8_2 = (Assignment)cGroup_3_8.eContents().get(2); + private final RuleCall cConfigConfigParserRuleCall_3_8_2_0 = (RuleCall)cConfigAssignment_3_8_2.eContents().get(0); + private final Group cGroup_3_9 = (Group)cUnorderedGroup_3.eContents().get(9); + private final Keyword cDebugKeyword_3_9_0 = (Keyword)cGroup_3_9.eContents().get(0); + private final Keyword cEqualsSignKeyword_3_9_1 = (Keyword)cGroup_3_9.eContents().get(1); + private final Assignment cDebugFolderAssignment_3_9_2 = (Assignment)cGroup_3_9.eContents().get(2); + private final RuleCall cDebugFolderFileParserRuleCall_3_9_2_0 = (RuleCall)cDebugFolderAssignment_3_9_2.eContents().get(0); + private final Group cGroup_3_10 = (Group)cUnorderedGroup_3.eContents().get(10); + private final Keyword cLogKeyword_3_10_0 = (Keyword)cGroup_3_10.eContents().get(0); + private final Keyword cEqualsSignKeyword_3_10_1 = (Keyword)cGroup_3_10.eContents().get(1); + private final Assignment cTargetLogFileAssignment_3_10_2 = (Assignment)cGroup_3_10.eContents().get(2); + private final RuleCall cTargetLogFileFileParserRuleCall_3_10_2_0 = (RuleCall)cTargetLogFileAssignment_3_10_2.eContents().get(0); + private final Group cGroup_3_11 = (Group)cUnorderedGroup_3.eContents().get(11); + private final Keyword cStatisticsKeyword_3_11_0 = (Keyword)cGroup_3_11.eContents().get(0); + private final Keyword cEqualsSignKeyword_3_11_1 = (Keyword)cGroup_3_11.eContents().get(1); + private final Assignment cTargetStatisticsFileAssignment_3_11_2 = (Assignment)cGroup_3_11.eContents().get(2); + private final RuleCall cTargetStatisticsFileFileParserRuleCall_3_11_2_0 = (RuleCall)cTargetStatisticsFileAssignment_3_11_2.eContents().get(0); + private final Group cGroup_3_12 = (Group)cUnorderedGroup_3.eContents().get(12); + private final Keyword cOutputKeyword_3_12_0 = (Keyword)cGroup_3_12.eContents().get(0); + private final Keyword cEqualsSignKeyword_3_12_1 = (Keyword)cGroup_3_12.eContents().get(1); + private final Assignment cTagetFolderAssignment_3_12_2 = (Assignment)cGroup_3_12.eContents().get(2); + private final RuleCall cTagetFolderFileParserRuleCall_3_12_2_0 = (RuleCall)cTagetFolderAssignment_3_12_2.eContents().get(0); + private final Keyword cRightCurlyBracketKeyword_4 = (Keyword)cGroup.eContents().get(4); + + //GenerationTask: + // 'generate' {GenerationTask} '{' (('metamodel' '=' metamodel=Metamodel)? & ('partial-model' '=' + // partialModel=PartialModel)? & ('constraints' '=' patterns=GraphPattern)? & ('objectives' '=' objectives=Objective)? & + // ('scope' '=' scope=Scope)? & (numberSpecified?='number' '=' number=INT)? & (runSpecified?='runs' '=' runs=INT)? & + // ('solver' '=' solver=Solver)? & ('config' '=' config=Config)? & ('debug' '=' debugFolder=File)? & ('log' '=' + // targetLogFile=File)? & ('statistics' '=' targetStatisticsFile=File)? & ('output' '=' tagetFolder=File)?) '}'; + @Override public ParserRule getRule() { return rule; } + + //'generate' {GenerationTask} '{' (('metamodel' '=' metamodel=Metamodel)? & ('partial-model' '=' + //partialModel=PartialModel)? & ('constraints' '=' patterns=GraphPattern)? & ('objectives' '=' objectives=Objective)? & + //('scope' '=' scope=Scope)? & (numberSpecified?='number' '=' number=INT)? & (runSpecified?='runs' '=' runs=INT)? & + //('solver' '=' solver=Solver)? & ('config' '=' config=Config)? & ('debug' '=' debugFolder=File)? & ('log' '=' + //targetLogFile=File)? & ('statistics' '=' targetStatisticsFile=File)? & ('output' '=' tagetFolder=File)?) '}' + public Group getGroup() { return cGroup; } + + //'generate' + public Keyword getGenerateKeyword_0() { return cGenerateKeyword_0; } + + //{GenerationTask} + public Action getGenerationTaskAction_1() { return cGenerationTaskAction_1; } + + //'{' + public Keyword getLeftCurlyBracketKeyword_2() { return cLeftCurlyBracketKeyword_2; } + + //('metamodel' '=' metamodel=Metamodel)? & ('partial-model' '=' partialModel=PartialModel)? & ('constraints' '=' + //patterns=GraphPattern)? & ('objectives' '=' objectives=Objective)? & ('scope' '=' scope=Scope)? & + //(numberSpecified?='number' '=' number=INT)? & (runSpecified?='runs' '=' runs=INT)? & ('solver' '=' solver=Solver)? & + //('config' '=' config=Config)? & ('debug' '=' debugFolder=File)? & ('log' '=' targetLogFile=File)? & ('statistics' '=' + //targetStatisticsFile=File)? & ('output' '=' tagetFolder=File)? + public UnorderedGroup getUnorderedGroup_3() { return cUnorderedGroup_3; } + + //('metamodel' '=' metamodel=Metamodel)? + public Group getGroup_3_0() { return cGroup_3_0; } + + //'metamodel' + public Keyword getMetamodelKeyword_3_0_0() { return cMetamodelKeyword_3_0_0; } + + //'=' + public Keyword getEqualsSignKeyword_3_0_1() { return cEqualsSignKeyword_3_0_1; } + + //metamodel=Metamodel + public Assignment getMetamodelAssignment_3_0_2() { return cMetamodelAssignment_3_0_2; } + + //Metamodel + public RuleCall getMetamodelMetamodelParserRuleCall_3_0_2_0() { return cMetamodelMetamodelParserRuleCall_3_0_2_0; } + + //('partial-model' '=' partialModel=PartialModel)? + public Group getGroup_3_1() { return cGroup_3_1; } + + //'partial-model' + public Keyword getPartialModelKeyword_3_1_0() { return cPartialModelKeyword_3_1_0; } + + //'=' + public Keyword getEqualsSignKeyword_3_1_1() { return cEqualsSignKeyword_3_1_1; } + + //partialModel=PartialModel + public Assignment getPartialModelAssignment_3_1_2() { return cPartialModelAssignment_3_1_2; } + + //PartialModel + public RuleCall getPartialModelPartialModelParserRuleCall_3_1_2_0() { return cPartialModelPartialModelParserRuleCall_3_1_2_0; } + + //('constraints' '=' patterns=GraphPattern)? + public Group getGroup_3_2() { return cGroup_3_2; } + + //'constraints' + public Keyword getConstraintsKeyword_3_2_0() { return cConstraintsKeyword_3_2_0; } + + //'=' + public Keyword getEqualsSignKeyword_3_2_1() { return cEqualsSignKeyword_3_2_1; } + + //patterns=GraphPattern + public Assignment getPatternsAssignment_3_2_2() { return cPatternsAssignment_3_2_2; } + + //GraphPattern + public RuleCall getPatternsGraphPatternParserRuleCall_3_2_2_0() { return cPatternsGraphPatternParserRuleCall_3_2_2_0; } + + //('objectives' '=' objectives=Objective)? + public Group getGroup_3_3() { return cGroup_3_3; } + + //'objectives' + public Keyword getObjectivesKeyword_3_3_0() { return cObjectivesKeyword_3_3_0; } + + //'=' + public Keyword getEqualsSignKeyword_3_3_1() { return cEqualsSignKeyword_3_3_1; } + + //objectives=Objective + public Assignment getObjectivesAssignment_3_3_2() { return cObjectivesAssignment_3_3_2; } + + //Objective + public RuleCall getObjectivesObjectiveParserRuleCall_3_3_2_0() { return cObjectivesObjectiveParserRuleCall_3_3_2_0; } + + //('scope' '=' scope=Scope)? + public Group getGroup_3_4() { return cGroup_3_4; } + + //'scope' + public Keyword getScopeKeyword_3_4_0() { return cScopeKeyword_3_4_0; } + + //'=' + public Keyword getEqualsSignKeyword_3_4_1() { return cEqualsSignKeyword_3_4_1; } + + //scope=Scope + public Assignment getScopeAssignment_3_4_2() { return cScopeAssignment_3_4_2; } + + //Scope + public RuleCall getScopeScopeParserRuleCall_3_4_2_0() { return cScopeScopeParserRuleCall_3_4_2_0; } + + //(numberSpecified?='number' '=' number=INT)? + public Group getGroup_3_5() { return cGroup_3_5; } + + //numberSpecified?='number' + public Assignment getNumberSpecifiedAssignment_3_5_0() { return cNumberSpecifiedAssignment_3_5_0; } + + //'number' + public Keyword getNumberSpecifiedNumberKeyword_3_5_0_0() { return cNumberSpecifiedNumberKeyword_3_5_0_0; } + + //'=' + public Keyword getEqualsSignKeyword_3_5_1() { return cEqualsSignKeyword_3_5_1; } + + //number=INT + public Assignment getNumberAssignment_3_5_2() { return cNumberAssignment_3_5_2; } + + //INT + public RuleCall getNumberINTTerminalRuleCall_3_5_2_0() { return cNumberINTTerminalRuleCall_3_5_2_0; } + + //(runSpecified?='runs' '=' runs=INT)? + public Group getGroup_3_6() { return cGroup_3_6; } + + //runSpecified?='runs' + public Assignment getRunSpecifiedAssignment_3_6_0() { return cRunSpecifiedAssignment_3_6_0; } + + //'runs' + public Keyword getRunSpecifiedRunsKeyword_3_6_0_0() { return cRunSpecifiedRunsKeyword_3_6_0_0; } + + //'=' + public Keyword getEqualsSignKeyword_3_6_1() { return cEqualsSignKeyword_3_6_1; } + + //runs=INT + public Assignment getRunsAssignment_3_6_2() { return cRunsAssignment_3_6_2; } + + //INT + public RuleCall getRunsINTTerminalRuleCall_3_6_2_0() { return cRunsINTTerminalRuleCall_3_6_2_0; } + + //('solver' '=' solver=Solver)? + public Group getGroup_3_7() { return cGroup_3_7; } + + //'solver' + public Keyword getSolverKeyword_3_7_0() { return cSolverKeyword_3_7_0; } + + //'=' + public Keyword getEqualsSignKeyword_3_7_1() { return cEqualsSignKeyword_3_7_1; } + + //solver=Solver + public Assignment getSolverAssignment_3_7_2() { return cSolverAssignment_3_7_2; } + + //Solver + public RuleCall getSolverSolverEnumRuleCall_3_7_2_0() { return cSolverSolverEnumRuleCall_3_7_2_0; } + + //('config' '=' config=Config)? + public Group getGroup_3_8() { return cGroup_3_8; } + + //'config' + public Keyword getConfigKeyword_3_8_0() { return cConfigKeyword_3_8_0; } + + //'=' + public Keyword getEqualsSignKeyword_3_8_1() { return cEqualsSignKeyword_3_8_1; } + + //config=Config + public Assignment getConfigAssignment_3_8_2() { return cConfigAssignment_3_8_2; } + + //Config + public RuleCall getConfigConfigParserRuleCall_3_8_2_0() { return cConfigConfigParserRuleCall_3_8_2_0; } + + //('debug' '=' debugFolder=File)? + public Group getGroup_3_9() { return cGroup_3_9; } + + //'debug' + public Keyword getDebugKeyword_3_9_0() { return cDebugKeyword_3_9_0; } + + //'=' + public Keyword getEqualsSignKeyword_3_9_1() { return cEqualsSignKeyword_3_9_1; } + + //debugFolder=File + public Assignment getDebugFolderAssignment_3_9_2() { return cDebugFolderAssignment_3_9_2; } + + //File + public RuleCall getDebugFolderFileParserRuleCall_3_9_2_0() { return cDebugFolderFileParserRuleCall_3_9_2_0; } + + //('log' '=' targetLogFile=File)? + public Group getGroup_3_10() { return cGroup_3_10; } + + //'log' + public Keyword getLogKeyword_3_10_0() { return cLogKeyword_3_10_0; } + + //'=' + public Keyword getEqualsSignKeyword_3_10_1() { return cEqualsSignKeyword_3_10_1; } + + //targetLogFile=File + public Assignment getTargetLogFileAssignment_3_10_2() { return cTargetLogFileAssignment_3_10_2; } + + //File + public RuleCall getTargetLogFileFileParserRuleCall_3_10_2_0() { return cTargetLogFileFileParserRuleCall_3_10_2_0; } + + //('statistics' '=' targetStatisticsFile=File)? + public Group getGroup_3_11() { return cGroup_3_11; } + + //'statistics' + public Keyword getStatisticsKeyword_3_11_0() { return cStatisticsKeyword_3_11_0; } + + //'=' + public Keyword getEqualsSignKeyword_3_11_1() { return cEqualsSignKeyword_3_11_1; } + + //targetStatisticsFile=File + public Assignment getTargetStatisticsFileAssignment_3_11_2() { return cTargetStatisticsFileAssignment_3_11_2; } + + //File + public RuleCall getTargetStatisticsFileFileParserRuleCall_3_11_2_0() { return cTargetStatisticsFileFileParserRuleCall_3_11_2_0; } + + //('output' '=' tagetFolder=File)? + public Group getGroup_3_12() { return cGroup_3_12; } + + //'output' + public Keyword getOutputKeyword_3_12_0() { return cOutputKeyword_3_12_0; } + + //'=' + public Keyword getEqualsSignKeyword_3_12_1() { return cEqualsSignKeyword_3_12_1; } + + //tagetFolder=File + public Assignment getTagetFolderAssignment_3_12_2() { return cTagetFolderAssignment_3_12_2; } + + //File + public RuleCall getTagetFolderFileParserRuleCall_3_12_2_0() { return cTagetFolderFileParserRuleCall_3_12_2_0; } + + //'}' + public Keyword getRightCurlyBracketKeyword_4() { return cRightCurlyBracketKeyword_4; } + } + + public class OptimizationDirectionElements extends AbstractEnumRuleElementFinder { + private final EnumRule rule = (EnumRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.OptimizationDirection"); + private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); + private final EnumLiteralDeclaration cMINIMIZEEnumLiteralDeclaration_0 = (EnumLiteralDeclaration)cAlternatives.eContents().get(0); + private final Keyword cMINIMIZEMinimizeKeyword_0_0 = (Keyword)cMINIMIZEEnumLiteralDeclaration_0.eContents().get(0); + private final EnumLiteralDeclaration cMAXIMIZEEnumLiteralDeclaration_1 = (EnumLiteralDeclaration)cAlternatives.eContents().get(1); + private final Keyword cMAXIMIZEMaximizeKeyword_1_0 = (Keyword)cMAXIMIZEEnumLiteralDeclaration_1.eContents().get(0); + + //enum OptimizationDirection: + // MINIMIZE='minimize' | MAXIMIZE='maximize'; + public EnumRule getRule() { return rule; } + + //MINIMIZE='minimize' | MAXIMIZE='maximize' + public Alternatives getAlternatives() { return cAlternatives; } + + //MINIMIZE='minimize' + public EnumLiteralDeclaration getMINIMIZEEnumLiteralDeclaration_0() { return cMINIMIZEEnumLiteralDeclaration_0; } + + //'minimize' + public Keyword getMINIMIZEMinimizeKeyword_0_0() { return cMINIMIZEMinimizeKeyword_0_0; } + + //MAXIMIZE='maximize' + public EnumLiteralDeclaration getMAXIMIZEEnumLiteralDeclaration_1() { return cMAXIMIZEEnumLiteralDeclaration_1; } + + //'maximize' + public Keyword getMAXIMIZEMaximizeKeyword_1_0() { return cMAXIMIZEMaximizeKeyword_1_0; } + } + public class ComparisonOperatorElements extends AbstractEnumRuleElementFinder { + private final EnumRule rule = (EnumRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ComparisonOperator"); + private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); + private final EnumLiteralDeclaration cLESS_EQUALSEnumLiteralDeclaration_0 = (EnumLiteralDeclaration)cAlternatives.eContents().get(0); + private final Keyword cLESS_EQUALSLessThanSignEqualsSignKeyword_0_0 = (Keyword)cLESS_EQUALSEnumLiteralDeclaration_0.eContents().get(0); + private final EnumLiteralDeclaration cGREATER_EQUALSEnumLiteralDeclaration_1 = (EnumLiteralDeclaration)cAlternatives.eContents().get(1); + private final Keyword cGREATER_EQUALSGreaterThanSignEqualsSignKeyword_1_0 = (Keyword)cGREATER_EQUALSEnumLiteralDeclaration_1.eContents().get(0); + + //enum ComparisonOperator: + // LESS_EQUALS='<=' | GREATER_EQUALS='>='; + public EnumRule getRule() { return rule; } + + //LESS_EQUALS='<=' | GREATER_EQUALS='>=' + public Alternatives getAlternatives() { return cAlternatives; } + + //LESS_EQUALS='<=' + public EnumLiteralDeclaration getLESS_EQUALSEnumLiteralDeclaration_0() { return cLESS_EQUALSEnumLiteralDeclaration_0; } + + //'<=' + public Keyword getLESS_EQUALSLessThanSignEqualsSignKeyword_0_0() { return cLESS_EQUALSLessThanSignEqualsSignKeyword_0_0; } + + //GREATER_EQUALS='>=' + public EnumLiteralDeclaration getGREATER_EQUALSEnumLiteralDeclaration_1() { return cGREATER_EQUALSEnumLiteralDeclaration_1; } + + //'>=' + public Keyword getGREATER_EQUALSGreaterThanSignEqualsSignKeyword_1_0() { return cGREATER_EQUALSGreaterThanSignEqualsSignKeyword_1_0; } + } + public class DocumentLevelSpecificationElements extends AbstractEnumRuleElementFinder { + private final EnumRule rule = (EnumRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.DocumentLevelSpecification"); + private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); + private final EnumLiteralDeclaration cNoneEnumLiteralDeclaration_0 = (EnumLiteralDeclaration)cAlternatives.eContents().get(0); + private final Keyword cNoneNoneKeyword_0_0 = (Keyword)cNoneEnumLiteralDeclaration_0.eContents().get(0); + private final EnumLiteralDeclaration cNormalEnumLiteralDeclaration_1 = (EnumLiteralDeclaration)cAlternatives.eContents().get(1); + private final Keyword cNormalNormalKeyword_1_0 = (Keyword)cNormalEnumLiteralDeclaration_1.eContents().get(0); + private final EnumLiteralDeclaration cFullEnumLiteralDeclaration_2 = (EnumLiteralDeclaration)cAlternatives.eContents().get(2); + private final Keyword cFullFullKeyword_2_0 = (Keyword)cFullEnumLiteralDeclaration_2.eContents().get(0); + + //enum DocumentLevelSpecification: + // none | normal | full; + public EnumRule getRule() { return rule; } + + //none | normal | full + public Alternatives getAlternatives() { return cAlternatives; } + + //none + public EnumLiteralDeclaration getNoneEnumLiteralDeclaration_0() { return cNoneEnumLiteralDeclaration_0; } + + //"none" + public Keyword getNoneNoneKeyword_0_0() { return cNoneNoneKeyword_0_0; } + + //normal + public EnumLiteralDeclaration getNormalEnumLiteralDeclaration_1() { return cNormalEnumLiteralDeclaration_1; } + + //"normal" + public Keyword getNormalNormalKeyword_1_0() { return cNormalNormalKeyword_1_0; } + + //full + public EnumLiteralDeclaration getFullEnumLiteralDeclaration_2() { return cFullEnumLiteralDeclaration_2; } + + //"full" + public Keyword getFullFullKeyword_2_0() { return cFullFullKeyword_2_0; } + } + public class SolverElements extends AbstractEnumRuleElementFinder { + private final EnumRule rule = (EnumRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Solver"); + private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); + private final EnumLiteralDeclaration cSMTSolverEnumLiteralDeclaration_0 = (EnumLiteralDeclaration)cAlternatives.eContents().get(0); + private final Keyword cSMTSolverSMTSolverKeyword_0_0 = (Keyword)cSMTSolverEnumLiteralDeclaration_0.eContents().get(0); + private final EnumLiteralDeclaration cAlloySolverEnumLiteralDeclaration_1 = (EnumLiteralDeclaration)cAlternatives.eContents().get(1); + private final Keyword cAlloySolverAlloySolverKeyword_1_0 = (Keyword)cAlloySolverEnumLiteralDeclaration_1.eContents().get(0); + private final EnumLiteralDeclaration cViatraSolverEnumLiteralDeclaration_2 = (EnumLiteralDeclaration)cAlternatives.eContents().get(2); + private final Keyword cViatraSolverViatraSolverKeyword_2_0 = (Keyword)cViatraSolverEnumLiteralDeclaration_2.eContents().get(0); + + //enum Solver: + // SMTSolver | AlloySolver | ViatraSolver; + public EnumRule getRule() { return rule; } + + //SMTSolver | AlloySolver | ViatraSolver + public Alternatives getAlternatives() { return cAlternatives; } + + //SMTSolver + public EnumLiteralDeclaration getSMTSolverEnumLiteralDeclaration_0() { return cSMTSolverEnumLiteralDeclaration_0; } + + //"SMTSolver" + public Keyword getSMTSolverSMTSolverKeyword_0_0() { return cSMTSolverSMTSolverKeyword_0_0; } + + //AlloySolver + public EnumLiteralDeclaration getAlloySolverEnumLiteralDeclaration_1() { return cAlloySolverEnumLiteralDeclaration_1; } + + //"AlloySolver" + public Keyword getAlloySolverAlloySolverKeyword_1_0() { return cAlloySolverAlloySolverKeyword_1_0; } + + //ViatraSolver + public EnumLiteralDeclaration getViatraSolverEnumLiteralDeclaration_2() { return cViatraSolverEnumLiteralDeclaration_2; } + + //"ViatraSolver" + public Keyword getViatraSolverViatraSolverKeyword_2_0() { return cViatraSolverViatraSolverKeyword_2_0; } + } + + private final ConfigurationScriptElements pConfigurationScript; + private final CommandElements pCommand; + private final QualifiedNameElements pQualifiedName; + private final REALLiteralElements pREALLiteral; + private final INTLiteralElements pINTLiteral; + private final ImportElements pImport; + private final EPackageImportElements pEPackageImport; + private final ViatraImportElements pViatraImport; + private final CftImportElements pCftImport; + private final DeclarationElements pDeclaration; + private final FileSpecificationElements pFileSpecification; + private final FileDeclarationElements pFileDeclaration; + private final FileReferenceElements pFileReference; + private final FileElements pFile; + private final MetamodelSpecificationElements pMetamodelSpecification; + private final MetamodelEntryElements pMetamodelEntry; + private final AllPackageEntryElements pAllPackageEntry; + private final MetamodelElementElements pMetamodelElement; + private final MetamodelDeclarationElements pMetamodelDeclaration; + private final MetamodelReferenceElements pMetamodelReference; + private final MetamodelElements pMetamodel; + private final PartialModelSpecificationElements pPartialModelSpecification; + private final PartialModelEntryElements pPartialModelEntry; + private final ModelEntryElements pModelEntry; + private final FolderEntryElements pFolderEntry; + private final PartialModelDeclarationElements pPartialModelDeclaration; + private final PartialModelReferenceElements pPartialModelReference; + private final PartialModelElements pPartialModel; + private final PatternSpecificationElements pPatternSpecification; + private final PatternEntryElements pPatternEntry; + private final AllPatternEntryElements pAllPatternEntry; + private final PatternElementElements pPatternElement; + private final GraphPatternDeclarationElements pGraphPatternDeclaration; + private final GraphPatternReferenceElements pGraphPatternReference; + private final GraphPatternElements pGraphPattern; + private final ObjectiveSpecificationElements pObjectiveSpecification; + private final ObjectiveEntryElements pObjectiveEntry; + private final OptimizationDirectionElements eOptimizationDirection; + private final OptimizationEntryElements pOptimizationEntry; + private final ComparisonOperatorElements eComparisonOperator; + private final ThresholdEntryElements pThresholdEntry; + private final ObjectiveFunctionElements pObjectiveFunction; + private final ReliabiltiyFunctionElements pReliabiltiyFunction; + private final ObjectiveDeclarationElements pObjectiveDeclaration; + private final ObjectiveReferenceElements pObjectiveReference; + private final ObjectiveElements pObjective; + private final ConfigSpecificationElements pConfigSpecification; + private final ConfigDeclarationElements pConfigDeclaration; + private final ConfigEntryElements pConfigEntry; + private final DocumentationEntryElements pDocumentationEntry; + private final DocumentLevelSpecificationElements eDocumentLevelSpecification; + private final RuntimeEntryElements pRuntimeEntry; + private final MemoryEntryElements pMemoryEntry; + private final CustomEntryElements pCustomEntry; + private final ConfigReferenceElements pConfigReference; + private final ConfigElements pConfig; + private final SolverElements eSolver; + private final ScopeSpecificationElements pScopeSpecification; + private final TypeScopeElements pTypeScope; + private final ClassTypeScopeElements pClassTypeScope; + private final ObjectTypeScopeElements pObjectTypeScope; + private final IntegerTypeScopeElements pIntegerTypeScope; + private final RealTypeScopeElements pRealTypeScope; + private final StringTypeScopeElements pStringTypeScope; + private final TypeReferenceElements pTypeReference; + private final ClassReferenceElements pClassReference; + private final ObjectReferenceElements pObjectReference; + private final IntegerReferenceElements pIntegerReference; + private final RealReferenceElements pRealReference; + private final StringReferenceElements pStringReference; + private final NumberSpecificationElements pNumberSpecification; + private final ExactNumberElements pExactNumber; + private final IntervallNumberElements pIntervallNumber; + private final IntEnumberationElements pIntEnumberation; + private final RealEnumerationElements pRealEnumeration; + private final StringEnumerationElements pStringEnumeration; + private final ScopeDeclarationElements pScopeDeclaration; + private final ScopeReferenceElements pScopeReference; + private final ScopeElements pScope; + private final TaskElements pTask; + private final GenerationTaskElements pGenerationTask; + + private final Grammar grammar; + + private final TerminalsGrammarAccess gaTerminals; + + @Inject + public ApplicationConfigurationGrammarAccess(GrammarProvider grammarProvider, + TerminalsGrammarAccess gaTerminals) { + this.grammar = internalFindGrammar(grammarProvider); + this.gaTerminals = gaTerminals; + this.pConfigurationScript = new ConfigurationScriptElements(); + this.pCommand = new CommandElements(); + this.pQualifiedName = new QualifiedNameElements(); + this.pREALLiteral = new REALLiteralElements(); + this.pINTLiteral = new INTLiteralElements(); + this.pImport = new ImportElements(); + this.pEPackageImport = new EPackageImportElements(); + this.pViatraImport = new ViatraImportElements(); + this.pCftImport = new CftImportElements(); + this.pDeclaration = new DeclarationElements(); + this.pFileSpecification = new FileSpecificationElements(); + this.pFileDeclaration = new FileDeclarationElements(); + this.pFileReference = new FileReferenceElements(); + this.pFile = new FileElements(); + this.pMetamodelSpecification = new MetamodelSpecificationElements(); + this.pMetamodelEntry = new MetamodelEntryElements(); + this.pAllPackageEntry = new AllPackageEntryElements(); + this.pMetamodelElement = new MetamodelElementElements(); + this.pMetamodelDeclaration = new MetamodelDeclarationElements(); + this.pMetamodelReference = new MetamodelReferenceElements(); + this.pMetamodel = new MetamodelElements(); + this.pPartialModelSpecification = new PartialModelSpecificationElements(); + this.pPartialModelEntry = new PartialModelEntryElements(); + this.pModelEntry = new ModelEntryElements(); + this.pFolderEntry = new FolderEntryElements(); + this.pPartialModelDeclaration = new PartialModelDeclarationElements(); + this.pPartialModelReference = new PartialModelReferenceElements(); + this.pPartialModel = new PartialModelElements(); + this.pPatternSpecification = new PatternSpecificationElements(); + this.pPatternEntry = new PatternEntryElements(); + this.pAllPatternEntry = new AllPatternEntryElements(); + this.pPatternElement = new PatternElementElements(); + this.pGraphPatternDeclaration = new GraphPatternDeclarationElements(); + this.pGraphPatternReference = new GraphPatternReferenceElements(); + this.pGraphPattern = new GraphPatternElements(); + this.pObjectiveSpecification = new ObjectiveSpecificationElements(); + this.pObjectiveEntry = new ObjectiveEntryElements(); + this.eOptimizationDirection = new OptimizationDirectionElements(); + this.pOptimizationEntry = new OptimizationEntryElements(); + this.eComparisonOperator = new ComparisonOperatorElements(); + this.pThresholdEntry = new ThresholdEntryElements(); + this.pObjectiveFunction = new ObjectiveFunctionElements(); + this.pReliabiltiyFunction = new ReliabiltiyFunctionElements(); + this.pObjectiveDeclaration = new ObjectiveDeclarationElements(); + this.pObjectiveReference = new ObjectiveReferenceElements(); + this.pObjective = new ObjectiveElements(); + this.pConfigSpecification = new ConfigSpecificationElements(); + this.pConfigDeclaration = new ConfigDeclarationElements(); + this.pConfigEntry = new ConfigEntryElements(); + this.pDocumentationEntry = new DocumentationEntryElements(); + this.eDocumentLevelSpecification = new DocumentLevelSpecificationElements(); + this.pRuntimeEntry = new RuntimeEntryElements(); + this.pMemoryEntry = new MemoryEntryElements(); + this.pCustomEntry = new CustomEntryElements(); + this.pConfigReference = new ConfigReferenceElements(); + this.pConfig = new ConfigElements(); + this.eSolver = new SolverElements(); + this.pScopeSpecification = new ScopeSpecificationElements(); + this.pTypeScope = new TypeScopeElements(); + this.pClassTypeScope = new ClassTypeScopeElements(); + this.pObjectTypeScope = new ObjectTypeScopeElements(); + this.pIntegerTypeScope = new IntegerTypeScopeElements(); + this.pRealTypeScope = new RealTypeScopeElements(); + this.pStringTypeScope = new StringTypeScopeElements(); + this.pTypeReference = new TypeReferenceElements(); + this.pClassReference = new ClassReferenceElements(); + this.pObjectReference = new ObjectReferenceElements(); + this.pIntegerReference = new IntegerReferenceElements(); + this.pRealReference = new RealReferenceElements(); + this.pStringReference = new StringReferenceElements(); + this.pNumberSpecification = new NumberSpecificationElements(); + this.pExactNumber = new ExactNumberElements(); + this.pIntervallNumber = new IntervallNumberElements(); + this.pIntEnumberation = new IntEnumberationElements(); + this.pRealEnumeration = new RealEnumerationElements(); + this.pStringEnumeration = new StringEnumerationElements(); + this.pScopeDeclaration = new ScopeDeclarationElements(); + this.pScopeReference = new ScopeReferenceElements(); + this.pScope = new ScopeElements(); + this.pTask = new TaskElements(); + this.pGenerationTask = new GenerationTaskElements(); + } + + protected Grammar internalFindGrammar(GrammarProvider grammarProvider) { + Grammar grammar = grammarProvider.getGrammar(this); + while (grammar != null) { + if ("hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration".equals(grammar.getName())) { + return grammar; + } + List grammars = grammar.getUsedGrammars(); + if (!grammars.isEmpty()) { + grammar = grammars.iterator().next(); + } else { + return null; + } + } + return grammar; + } + + @Override + public Grammar getGrammar() { + return grammar; + } + + + public TerminalsGrammarAccess getTerminalsGrammarAccess() { + return gaTerminals; + } + + + //ConfigurationScript: + // imports+=Import* + // commands+=Command*; + public ConfigurationScriptElements getConfigurationScriptAccess() { + return pConfigurationScript; + } + + public ParserRule getConfigurationScriptRule() { + return getConfigurationScriptAccess().getRule(); + } + + //Command: + // Declaration | Task; + public CommandElements getCommandAccess() { + return pCommand; + } + + public ParserRule getCommandRule() { + return getCommandAccess().getRule(); + } + + //QualifiedName: + // ID ('.' ID)*; + public QualifiedNameElements getQualifiedNameAccess() { + return pQualifiedName; + } + + public ParserRule getQualifiedNameRule() { + return getQualifiedNameAccess().getRule(); + } + + //REALLiteral ecore::EBigDecimal: + // '-'? INT '.' INT; + public REALLiteralElements getREALLiteralAccess() { + return pREALLiteral; + } + + public ParserRule getREALLiteralRule() { + return getREALLiteralAccess().getRule(); + } + + //INTLiteral ecore::EInt: + // '-'? INT; + public INTLiteralElements getINTLiteralAccess() { + return pINTLiteral; + } + + public ParserRule getINTLiteralRule() { + return getINTLiteralAccess().getRule(); + } + + ///////////////////////////////////////////////////// + //// Imports + ///////////////////////////////////////////////////// + //Import: + // EPackageImport | ViatraImport | CftImport; + public ImportElements getImportAccess() { + return pImport; + } + + public ParserRule getImportRule() { + return getImportAccess().getRule(); + } + + //EPackageImport: + // "import" "epackage" importedPackage=[ecore::EPackage|STRING]; + public EPackageImportElements getEPackageImportAccess() { + return pEPackageImport; + } + + public ParserRule getEPackageImportRule() { + return getEPackageImportAccess().getRule(); + } + + //ViatraImport: + // "import" "viatra" importedViatra=[viatra::PatternModel|STRING]; + public ViatraImportElements getViatraImportAccess() { + return pViatraImport; + } + + public ParserRule getViatraImportRule() { + return getViatraImportAccess().getRule(); + } + + //CftImport: + // "import" "reliability" importedCft=[cftLanguage::CftModel|STRING]; + public CftImportElements getCftImportAccess() { + return pCftImport; + } + + public ParserRule getCftImportRule() { + return getCftImportAccess().getRule(); + } + + ///////////////////////////////////////////////////// + //// Declaration + ///////////////////////////////////////////////////// + //Declaration: + // FileDeclaration + // | MetamodelDeclaration + // | PartialModelDeclaration + // | GraphPatternDeclaration + // | ConfigDeclaration + // | ScopeDeclaration + // | ObjectiveDeclaration; + public DeclarationElements getDeclarationAccess() { + return pDeclaration; + } + + public ParserRule getDeclarationRule() { + return getDeclarationAccess().getRule(); + } + + ///////////////////////////////////////////////////// + //// Files and Folders + ///////////////////////////////////////////////////// + //FileSpecification: + // path=STRING; + public FileSpecificationElements getFileSpecificationAccess() { + return pFileSpecification; + } + + public ParserRule getFileSpecificationRule() { + return getFileSpecificationAccess().getRule(); + } + + //FileDeclaration: + // 'file' name=ID '=' specification=FileSpecification; + public FileDeclarationElements getFileDeclarationAccess() { + return pFileDeclaration; + } + + public ParserRule getFileDeclarationRule() { + return getFileDeclarationAccess().getRule(); + } + + //FileReference: + // referred=[FileDeclaration]; + public FileReferenceElements getFileReferenceAccess() { + return pFileReference; + } + + public ParserRule getFileReferenceRule() { + return getFileReferenceAccess().getRule(); + } + + //File: + // FileSpecification | FileReference; + public FileElements getFileAccess() { + return pFile; + } + + public ParserRule getFileRule() { + return getFileAccess().getRule(); + } + + ///////////////////////////////////////////////////// + //// Metamodel + ///////////////////////////////////////////////////// + //MetamodelSpecification: + // '{' entries+=MetamodelEntry (',' entries+=MetamodelEntry)* '}'; + public MetamodelSpecificationElements getMetamodelSpecificationAccess() { + return pMetamodelSpecification; + } + + public ParserRule getMetamodelSpecificationRule() { + return getMetamodelSpecificationAccess().getRule(); + } + + //MetamodelEntry: + // MetamodelElement | AllPackageEntry; + public MetamodelEntryElements getMetamodelEntryAccess() { + return pMetamodelEntry; + } + + public ParserRule getMetamodelEntryRule() { + return getMetamodelEntryAccess().getRule(); + } + + //AllPackageEntry: + // "package" package=[ecore::EPackage|QualifiedName] ("excluding" '{' exclusion+=MetamodelElement (',' + // exclusion+=MetamodelElement)* '}')?; + public AllPackageEntryElements getAllPackageEntryAccess() { + return pAllPackageEntry; + } + + public ParserRule getAllPackageEntryRule() { + return getAllPackageEntryAccess().getRule(); + } + + //MetamodelElement: + // (package=[ecore::EPackage|QualifiedName] '::')? classifier=[ecore::EClassifier] ('.' feature=[ecore::ENamedElement])?; + public MetamodelElementElements getMetamodelElementAccess() { + return pMetamodelElement; + } + + public ParserRule getMetamodelElementRule() { + return getMetamodelElementAccess().getRule(); + } + + //MetamodelDeclaration: + // 'metamodel' name=ID specification=MetamodelSpecification; + public MetamodelDeclarationElements getMetamodelDeclarationAccess() { + return pMetamodelDeclaration; + } + + public ParserRule getMetamodelDeclarationRule() { + return getMetamodelDeclarationAccess().getRule(); + } + + //MetamodelReference: + // referred=[MetamodelDeclaration]; + public MetamodelReferenceElements getMetamodelReferenceAccess() { + return pMetamodelReference; + } + + public ParserRule getMetamodelReferenceRule() { + return getMetamodelReferenceAccess().getRule(); + } + + //Metamodel: + // MetamodelReference | MetamodelSpecification; + public MetamodelElements getMetamodelAccess() { + return pMetamodel; + } + + public ParserRule getMetamodelRule() { + return getMetamodelAccess().getRule(); + } + + ///////////////////////////////////////////////////// + //// Partial Model + ///////////////////////////////////////////////////// + //PartialModelSpecification: + // '{' entry+=PartialModelEntry (',' entry+=PartialModelEntry)? '}'; + public PartialModelSpecificationElements getPartialModelSpecificationAccess() { + return pPartialModelSpecification; + } + + public ParserRule getPartialModelSpecificationRule() { + return getPartialModelSpecificationAccess().getRule(); + } + + //PartialModelEntry: + // ModelEntry | FolderEntry; + public PartialModelEntryElements getPartialModelEntryAccess() { + return pPartialModelEntry; + } + + public ParserRule getPartialModelEntryRule() { + return getPartialModelEntryAccess().getRule(); + } + + //ModelEntry: + // path=File; + public ModelEntryElements getModelEntryAccess() { + return pModelEntry; + } + + public ParserRule getModelEntryRule() { + return getModelEntryAccess().getRule(); + } + + //FolderEntry: + // "folder" path=File ("excluding" "{" exclusion+=ModelEntry ("," exclusion+=ModelEntry)* "}")?; + public FolderEntryElements getFolderEntryAccess() { + return pFolderEntry; + } + + public ParserRule getFolderEntryRule() { + return getFolderEntryAccess().getRule(); + } + + //PartialModelDeclaration: + // 'models' name=ID specification=PartialModelSpecification; + public PartialModelDeclarationElements getPartialModelDeclarationAccess() { + return pPartialModelDeclaration; + } + + public ParserRule getPartialModelDeclarationRule() { + return getPartialModelDeclarationAccess().getRule(); + } + + //PartialModelReference: + // referred=[PartialModelDeclaration]; + public PartialModelReferenceElements getPartialModelReferenceAccess() { + return pPartialModelReference; + } + + public ParserRule getPartialModelReferenceRule() { + return getPartialModelReferenceAccess().getRule(); + } + + //PartialModel: + // PartialModelSpecification | PartialModelReference; + public PartialModelElements getPartialModelAccess() { + return pPartialModel; + } + + public ParserRule getPartialModelRule() { + return getPartialModelAccess().getRule(); + } + + ///////////////////////////////////////////////////// + //// Patterns + ///////////////////////////////////////////////////// + //PatternSpecification: + // '{' entries+=PatternEntry (',' entries+=PatternEntry)* '}'; + public PatternSpecificationElements getPatternSpecificationAccess() { + return pPatternSpecification; + } + + public ParserRule getPatternSpecificationRule() { + return getPatternSpecificationAccess().getRule(); + } + + //PatternEntry: + // PatternElement | AllPatternEntry; + public PatternEntryElements getPatternEntryAccess() { + return pPatternEntry; + } + + public ParserRule getPatternEntryRule() { + return getPatternEntryAccess().getRule(); + } + + //AllPatternEntry: + // 'package' package=[viatra::PatternModel|QualifiedName] ('excluding' '{' exclusuion+=PatternElement (',' + // exclusuion+=PatternElement)* '}')?; + public AllPatternEntryElements getAllPatternEntryAccess() { + return pAllPatternEntry; + } + + public ParserRule getAllPatternEntryRule() { + return getAllPatternEntryAccess().getRule(); + } + + //PatternElement: + // (package=[viatra::PatternModel|QualifiedName] '::')? pattern=[viatra::Pattern]; + public PatternElementElements getPatternElementAccess() { + return pPatternElement; + } + + public ParserRule getPatternElementRule() { + return getPatternElementAccess().getRule(); + } + + //GraphPatternDeclaration: + // 'constraints' name=ID specification=PatternSpecification; + public GraphPatternDeclarationElements getGraphPatternDeclarationAccess() { + return pGraphPatternDeclaration; + } + + public ParserRule getGraphPatternDeclarationRule() { + return getGraphPatternDeclarationAccess().getRule(); + } + + //GraphPatternReference: + // referred=[GraphPatternDeclaration]; + public GraphPatternReferenceElements getGraphPatternReferenceAccess() { + return pGraphPatternReference; + } + + public ParserRule getGraphPatternReferenceRule() { + return getGraphPatternReferenceAccess().getRule(); + } + + //GraphPattern: + // GraphPatternReference | PatternSpecification; + public GraphPatternElements getGraphPatternAccess() { + return pGraphPattern; + } + + public ParserRule getGraphPatternRule() { + return getGraphPatternAccess().getRule(); + } + + ///////////////////////////////////////////////////// + //// Objectives + ///////////////////////////////////////////////////// + //ObjectiveSpecification: + // '{' entries+=ObjectiveEntry (',' entries+=ObjectiveEntry)* '}'; + public ObjectiveSpecificationElements getObjectiveSpecificationAccess() { + return pObjectiveSpecification; + } + + public ParserRule getObjectiveSpecificationRule() { + return getObjectiveSpecificationAccess().getRule(); + } + + //ObjectiveEntry: + // OptimizationEntry | ThresholdEntry; + public ObjectiveEntryElements getObjectiveEntryAccess() { + return pObjectiveEntry; + } + + public ParserRule getObjectiveEntryRule() { + return getObjectiveEntryAccess().getRule(); + } + + //enum OptimizationDirection: + // MINIMIZE='minimize' | MAXIMIZE='maximize'; + public OptimizationDirectionElements getOptimizationDirectionAccess() { + return eOptimizationDirection; + } + + public EnumRule getOptimizationDirectionRule() { + return getOptimizationDirectionAccess().getRule(); + } + + //OptimizationEntry: + // direction=OptimizationDirection function=ObjectiveFunction; + public OptimizationEntryElements getOptimizationEntryAccess() { + return pOptimizationEntry; + } + + public ParserRule getOptimizationEntryRule() { + return getOptimizationEntryAccess().getRule(); + } + + //enum ComparisonOperator: + // LESS_EQUALS='<=' | GREATER_EQUALS='>='; + public ComparisonOperatorElements getComparisonOperatorAccess() { + return eComparisonOperator; + } + + public EnumRule getComparisonOperatorRule() { + return getComparisonOperatorAccess().getRule(); + } + + //ThresholdEntry: + // function=ObjectiveFunction operator=ComparisonOperator threshold=REALLiteral; + public ThresholdEntryElements getThresholdEntryAccess() { + return pThresholdEntry; + } + + public ParserRule getThresholdEntryRule() { + return getThresholdEntryAccess().getRule(); + } + + //ObjectiveFunction: + // ReliabiltiyFunction; + public ObjectiveFunctionElements getObjectiveFunctionAccess() { + return pObjectiveFunction; + } + + public ParserRule getObjectiveFunctionRule() { + return getObjectiveFunctionAccess().getRule(); + } + + //ReliabiltiyFunction: + // 'reliability' (package=[cftLanguage::CftModel|QualifiedName] '::')? + // transformation=[cftLanguage::TransformationDefinition]; + public ReliabiltiyFunctionElements getReliabiltiyFunctionAccess() { + return pReliabiltiyFunction; + } + + public ParserRule getReliabiltiyFunctionRule() { + return getReliabiltiyFunctionAccess().getRule(); + } + + //ObjectiveDeclaration: + // 'objectives' name=ID specification=ObjectiveSpecification; + public ObjectiveDeclarationElements getObjectiveDeclarationAccess() { + return pObjectiveDeclaration; + } + + public ParserRule getObjectiveDeclarationRule() { + return getObjectiveDeclarationAccess().getRule(); + } + + //ObjectiveReference: + // referred=[ObjectiveDeclaration]; + public ObjectiveReferenceElements getObjectiveReferenceAccess() { + return pObjectiveReference; + } + + public ParserRule getObjectiveReferenceRule() { + return getObjectiveReferenceAccess().getRule(); + } + + //Objective: + // ObjectiveReference | ObjectiveSpecification; + public ObjectiveElements getObjectiveAccess() { + return pObjective; + } + + public ParserRule getObjectiveRule() { + return getObjectiveAccess().getRule(); + } + + ///////////////////////////////////////////////////// + //// SolverConfig + ///////////////////////////////////////////////////// + //ConfigSpecification: + // {ConfigSpecification} '{' (entries+=ConfigEntry ("," entries+=ConfigEntry)*)? + // '}'; + public ConfigSpecificationElements getConfigSpecificationAccess() { + return pConfigSpecification; + } + + public ParserRule getConfigSpecificationRule() { + return getConfigSpecificationAccess().getRule(); + } + + //ConfigDeclaration: + // 'config' name=ID specification=ConfigSpecification; + public ConfigDeclarationElements getConfigDeclarationAccess() { + return pConfigDeclaration; + } + + public ParserRule getConfigDeclarationRule() { + return getConfigDeclarationAccess().getRule(); + } + + //ConfigEntry: + // DocumentationEntry | RuntimeEntry | MemoryEntry | CustomEntry; + public ConfigEntryElements getConfigEntryAccess() { + return pConfigEntry; + } + + public ParserRule getConfigEntryRule() { + return getConfigEntryAccess().getRule(); + } + + //DocumentationEntry: + // "log-level" '=' level=DocumentLevelSpecification; + public DocumentationEntryElements getDocumentationEntryAccess() { + return pDocumentationEntry; + } + + public ParserRule getDocumentationEntryRule() { + return getDocumentationEntryAccess().getRule(); + } + + //enum DocumentLevelSpecification: + // none | normal | full; + public DocumentLevelSpecificationElements getDocumentLevelSpecificationAccess() { + return eDocumentLevelSpecification; + } + + public EnumRule getDocumentLevelSpecificationRule() { + return getDocumentLevelSpecificationAccess().getRule(); + } + + //RuntimeEntry: + // "runtime" "=" millisecLimit=INT; + public RuntimeEntryElements getRuntimeEntryAccess() { + return pRuntimeEntry; + } + + public ParserRule getRuntimeEntryRule() { + return getRuntimeEntryAccess().getRule(); + } + + //MemoryEntry: + // "memory" "=" megabyteLimit=INT; + public MemoryEntryElements getMemoryEntryAccess() { + return pMemoryEntry; + } + + public ParserRule getMemoryEntryRule() { + return getMemoryEntryAccess().getRule(); + } + + //CustomEntry: + // key=STRING "=" value=STRING; + public CustomEntryElements getCustomEntryAccess() { + return pCustomEntry; + } + + public ParserRule getCustomEntryRule() { + return getCustomEntryAccess().getRule(); + } + + //ConfigReference: + // config=[ConfigDeclaration]; + public ConfigReferenceElements getConfigReferenceAccess() { + return pConfigReference; + } + + public ParserRule getConfigReferenceRule() { + return getConfigReferenceAccess().getRule(); + } + + //Config: + // ConfigSpecification | ConfigReference; + public ConfigElements getConfigAccess() { + return pConfig; + } + + public ParserRule getConfigRule() { + return getConfigAccess().getRule(); + } + + //enum Solver: + // SMTSolver | AlloySolver | ViatraSolver; + public SolverElements getSolverAccess() { + return eSolver; + } + + public EnumRule getSolverRule() { + return getSolverAccess().getRule(); + } + + //ScopeSpecification: + // {ScopeSpecification} '{' (scopes+=TypeScope (',' scopes+=TypeScope)*)? + // '}'; + public ScopeSpecificationElements getScopeSpecificationAccess() { + return pScopeSpecification; + } + + public ParserRule getScopeSpecificationRule() { + return getScopeSpecificationAccess().getRule(); + } + + //TypeScope: + // ClassTypeScope | ObjectTypeScope | IntegerTypeScope | RealTypeScope | StringTypeScope; + public TypeScopeElements getTypeScopeAccess() { + return pTypeScope; + } + + public ParserRule getTypeScopeRule() { + return getTypeScopeAccess().getRule(); + } + + //ClassTypeScope: + // '#' type=ClassReference (setsNew?='+=' | setsSum?='=') (number=ExactNumber | number=IntervallNumber); + public ClassTypeScopeElements getClassTypeScopeAccess() { + return pClassTypeScope; + } + + public ParserRule getClassTypeScopeRule() { + return getClassTypeScopeAccess().getRule(); + } + + //ObjectTypeScope: + // '#' type=ObjectReference (setsNew?='+=' | setsSum?='=') (number=ExactNumber | number=IntervallNumber); + public ObjectTypeScopeElements getObjectTypeScopeAccess() { + return pObjectTypeScope; + } + + public ParserRule getObjectTypeScopeRule() { + return getObjectTypeScopeAccess().getRule(); + } + + //IntegerTypeScope: + // '#' type=IntegerReference (setsNew?='+=' | setsSum?='=') (number=ExactNumber | number=IntervallNumber | + // number=IntEnumberation); + public IntegerTypeScopeElements getIntegerTypeScopeAccess() { + return pIntegerTypeScope; + } + + public ParserRule getIntegerTypeScopeRule() { + return getIntegerTypeScopeAccess().getRule(); + } + + //RealTypeScope: + // '#' type=RealReference (setsNew?='+=' | setsSum?='=') (number=ExactNumber | number=IntervallNumber | + // number=RealEnumeration); + public RealTypeScopeElements getRealTypeScopeAccess() { + return pRealTypeScope; + } + + public ParserRule getRealTypeScopeRule() { + return getRealTypeScopeAccess().getRule(); + } + + //StringTypeScope: + // '#' type=StringReference (setsNew?='+=' | setsSum?='=') (number=ExactNumber | number=IntervallNumber | + // number=StringEnumeration); + public StringTypeScopeElements getStringTypeScopeAccess() { + return pStringTypeScope; + } + + public ParserRule getStringTypeScopeRule() { + return getStringTypeScopeAccess().getRule(); + } + + //TypeReference: + // ClassReference | ObjectReference | IntegerReference | RealReference | StringReference; + public TypeReferenceElements getTypeReferenceAccess() { + return pTypeReference; + } + + public ParserRule getTypeReferenceRule() { + return getTypeReferenceAccess().getRule(); + } + + //ClassReference: + // '<' element=MetamodelElement '>'; + public ClassReferenceElements getClassReferenceAccess() { + return pClassReference; + } + + public ParserRule getClassReferenceRule() { + return getClassReferenceAccess().getRule(); + } + + //ObjectReference: + // {ObjectReference} 'node'; + public ObjectReferenceElements getObjectReferenceAccess() { + return pObjectReference; + } + + public ParserRule getObjectReferenceRule() { + return getObjectReferenceAccess().getRule(); + } + + //IntegerReference: + // {IntegerScope} 'int'; + public IntegerReferenceElements getIntegerReferenceAccess() { + return pIntegerReference; + } + + public ParserRule getIntegerReferenceRule() { + return getIntegerReferenceAccess().getRule(); + } + + //RealReference: + // {RealScope} 'real'; + public RealReferenceElements getRealReferenceAccess() { + return pRealReference; + } + + public ParserRule getRealReferenceRule() { + return getRealReferenceAccess().getRule(); + } + + //StringReference: + // {StringScope} 'string'; + public StringReferenceElements getStringReferenceAccess() { + return pStringReference; + } + + public ParserRule getStringReferenceRule() { + return getStringReferenceAccess().getRule(); + } + + //NumberSpecification: + // ExactNumber | IntervallNumber | IntEnumberation | RealEnumeration | StringEnumeration; + public NumberSpecificationElements getNumberSpecificationAccess() { + return pNumberSpecification; + } + + public ParserRule getNumberSpecificationRule() { + return getNumberSpecificationAccess().getRule(); + } + + //ExactNumber: + // exactNumber=INT | exactUnlimited?='*'; + public ExactNumberElements getExactNumberAccess() { + return pExactNumber; + } + + public ParserRule getExactNumberRule() { + return getExactNumberAccess().getRule(); + } + + //IntervallNumber: + // min=INT '..' (maxNumber=INT | maxUnlimited?='*'); + public IntervallNumberElements getIntervallNumberAccess() { + return pIntervallNumber; + } + + public ParserRule getIntervallNumberRule() { + return getIntervallNumberAccess().getRule(); + } + + //IntEnumberation: + // {IntEnumberation} '{' (entry+=INTLiteral (',' entry+=INTLiteral)*)? '}'; + public IntEnumberationElements getIntEnumberationAccess() { + return pIntEnumberation; + } + + public ParserRule getIntEnumberationRule() { + return getIntEnumberationAccess().getRule(); + } + + //RealEnumeration: + // {RealEnumeration} '{' (entry+=REALLiteral (',' entry+=REALLiteral)*)? '}'; + public RealEnumerationElements getRealEnumerationAccess() { + return pRealEnumeration; + } + + public ParserRule getRealEnumerationRule() { + return getRealEnumerationAccess().getRule(); + } + + //StringEnumeration: + // {StringEnumeration} '{' (entry+=STRING (',' entry+=STRING)*)? '}'; + public StringEnumerationElements getStringEnumerationAccess() { + return pStringEnumeration; + } + + public ParserRule getStringEnumerationRule() { + return getStringEnumerationAccess().getRule(); + } + + //ScopeDeclaration: + // 'scope' name=ID specification=ScopeSpecification; + public ScopeDeclarationElements getScopeDeclarationAccess() { + return pScopeDeclaration; + } + + public ParserRule getScopeDeclarationRule() { + return getScopeDeclarationAccess().getRule(); + } + + //ScopeReference: + // referred=[ScopeDeclaration]; + public ScopeReferenceElements getScopeReferenceAccess() { + return pScopeReference; + } + + public ParserRule getScopeReferenceRule() { + return getScopeReferenceAccess().getRule(); + } + + //Scope: + // ScopeSpecification | ScopeReference; + public ScopeElements getScopeAccess() { + return pScope; + } + + public ParserRule getScopeRule() { + return getScopeAccess().getRule(); + } + + //Task: + // GenerationTask /*| CoverageCalculation | ValidationTask*/; + public TaskElements getTaskAccess() { + return pTask; + } + + public ParserRule getTaskRule() { + return getTaskAccess().getRule(); + } + + //GenerationTask: + // 'generate' {GenerationTask} '{' (('metamodel' '=' metamodel=Metamodel)? & ('partial-model' '=' + // partialModel=PartialModel)? & ('constraints' '=' patterns=GraphPattern)? & ('objectives' '=' objectives=Objective)? & + // ('scope' '=' scope=Scope)? & (numberSpecified?='number' '=' number=INT)? & (runSpecified?='runs' '=' runs=INT)? & + // ('solver' '=' solver=Solver)? & ('config' '=' config=Config)? & ('debug' '=' debugFolder=File)? & ('log' '=' + // targetLogFile=File)? & ('statistics' '=' targetStatisticsFile=File)? & ('output' '=' tagetFolder=File)?) '}'; + public GenerationTaskElements getGenerationTaskAccess() { + return pGenerationTask; + } + + public ParserRule getGenerationTaskRule() { + return getGenerationTaskAccess().getRule(); + } + + //terminal ID: + // '^'? ('a'..'z' | 'A'..'Z' | '_') ('a'..'z' | 'A'..'Z' | '_' | '0'..'9')*; + public TerminalRule getIDRule() { + return gaTerminals.getIDRule(); + } + + //terminal INT returns ecore::EInt: + // '0'..'9'+; + public TerminalRule getINTRule() { + return gaTerminals.getINTRule(); + } + + //terminal STRING: + // '"' ('\\' . | !('\\' | '"'))* '"' | + // "'" ('\\' . | !('\\' | "'"))* "'"; + public TerminalRule getSTRINGRule() { + return gaTerminals.getSTRINGRule(); + } + + //terminal ML_COMMENT: + // '/*'->'*/'; + public TerminalRule getML_COMMENTRule() { + return gaTerminals.getML_COMMENTRule(); + } + + //terminal SL_COMMENT: + // '//' !('\n' | '\r')* ('\r'? '\n')?; + public TerminalRule getSL_COMMENTRule() { + return gaTerminals.getSL_COMMENTRule(); + } + + //terminal WS: + // ' ' | '\t' | '\r' | '\n'+; + public TerminalRule getWSRule() { + return gaTerminals.getWSRule(); + } + + //terminal ANY_OTHER: + // .; + public TerminalRule getANY_OTHERRule() { + return gaTerminals.getANY_OTHERRule(); + } +} diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/validation/AbstractApplicationConfigurationValidator.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/validation/AbstractApplicationConfigurationValidator.java index 0ba1447c..455e82ed 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/validation/AbstractApplicationConfigurationValidator.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/validation/AbstractApplicationConfigurationValidator.java @@ -1,20 +1,19 @@ -/* - * generated by Xtext 2.12.0 - */ -package hu.bme.mit.inf.dslreasoner.application.validation; - -import java.util.ArrayList; -import java.util.List; -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.xtext.validation.AbstractDeclarativeValidator; - -public abstract class AbstractApplicationConfigurationValidator extends AbstractDeclarativeValidator { - - @Override - protected List getEPackages() { - List result = new ArrayList(); - result.add(hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage.eINSTANCE); - return result; - } - -} +/* + * generated by Xtext 2.16.0 + */ +package hu.bme.mit.inf.dslreasoner.application.validation; + +import java.util.ArrayList; +import java.util.List; +import org.eclipse.emf.ecore.EPackage; +import org.eclipse.xtext.validation.AbstractDeclarativeValidator; + +public abstract class AbstractApplicationConfigurationValidator extends AbstractDeclarativeValidator { + + @Override + protected List getEPackages() { + List result = new ArrayList(); + result.add(hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage.eINSTANCE); + return result; + } +} 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 6af31723..44ef8fd1 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 @@ -2,6 +2,7 @@ grammar hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration with org import "http://www.eclipse.org/emf/2002/Ecore" as ecore import "http://www.eclipse.org/viatra/query/patternlanguage/emf/PatternLanguage" as viatra +import "http://www.bme.hu/mit/inf/dslreasoner/faulttree/components/CftLanguage" as cftLanguage generate applicationConfiguration "http://www.bme.hu/mit/inf/dslreasoner/application/ApplicationConfiguration" ConfigurationScript: @@ -22,10 +23,11 @@ INTLiteral returns ecore::EInt: '-'? INT; // Imports /////////////////////////////////////////////////// -Import: EPackageImport | ViatraImport; +Import: EPackageImport | ViatraImport | CftImport; EPackageImport: "import" "epackage" importedPackage=[ecore::EPackage|STRING]; ViatraImport: "import" "viatra" importedViatra=[viatra::PatternModel|STRING]; +CftImport: "import" "reliability" importedCft=[cftLanguage::CftModel|STRING]; /////////////////////////////////////////////////// // Declaration @@ -38,6 +40,7 @@ Declaration : | GraphPatternDeclaration | ConfigDeclaration | ScopeDeclaration + | ObjectiveDeclaration ; /////////////////////////////////////////////////// @@ -88,6 +91,23 @@ GraphPatternDeclaration: 'constraints' name = ID specification = PatternSpecific GraphPatternReference: referred = [GraphPatternDeclaration]; GraphPattern: GraphPatternReference|PatternSpecification; +/////////////////////////////////////////////////// +// Objectives +/////////////////////////////////////////////////// + +ObjectiveSpecification: '{' entries += ObjectiveEntry (',' entries += ObjectiveEntry)* '}'; +ObjectiveEntry: OptimizationEntry | ThresholdEntry; +enum OptimizationDirection: MINIMIZE='minimize' | MAXIMIZE='maximize'; +OptimizationEntry: direction=OptimizationDirection function=ObjectiveFunction; +enum ComparisonOperator: LESS_EQUALS='<=' | GREATER_EQUALS='>='; +ThresholdEntry: function=ObjectiveFunction operator=ComparisonOperator threshold=REALLiteral; +ObjectiveFunction: ReliabiltiyFunction; +ReliabiltiyFunction: 'reliability' (package=[cftLanguage::CftModel|QualifiedName] '::')? transformation = [cftLanguage::TransformationDefinition]; + +ObjectiveDeclaration: 'objectives' name = ID specification = ObjectiveSpecification; +ObjectiveReference: referred = [ObjectiveDeclaration]; +Objective: ObjectiveReference|ObjectiveSpecification; + /////////////////////////////////////////////////// // SolverConfig /////////////////////////////////////////////////// @@ -99,7 +119,8 @@ ConfigDeclaration : 'config' name = ID specification = ConfigSpecification ; ConfigEntry: DocumentationEntry | RuntimeEntry | MemoryEntry | CustomEntry; -DocumentationEntry: "log-level" '=' level = DocumentLevelSpecification; enum DocumentLevelSpecification: none | normal | full; +DocumentationEntry: "log-level" '=' level = DocumentLevelSpecification; +enum DocumentLevelSpecification: none | normal | full; RuntimeEntry: "runtime" "=" millisecLimit = INT; MemoryEntry: "memory" "=" megabyteLimit = INT; CustomEntry: key = STRING "=" value = STRING; @@ -160,6 +181,7 @@ GenerationTask: 'generate' {GenerationTask} '{'( ('metamodel' '=' metamodel = Metamodel)? & ('partial-model' '=' partialModel = PartialModel)? & ('constraints' '=' patterns = GraphPattern)? & + ('objectives' '=' objectives = Objective)? & // model set ('scope' '=' scope = Scope)? & diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/GenerateApplicationConfiguration.mwe2 b/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/GenerateApplicationConfiguration.mwe2 index 13cc78a8..3983cd10 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/GenerateApplicationConfiguration.mwe2 +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/GenerateApplicationConfiguration.mwe2 @@ -31,6 +31,7 @@ Workflow { name = "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration" referencedResource = "platform:/resource/org.eclipse.emf.ecore/model/Ecore.genmodel" referencedResource = "platform:/resource/org.eclipse.viatra.query.patternlanguage.emf/model/PatternLanguage.genmodel" + referencedResource = "platform:/resource/hu.bme.mit.inf.dslreasoner.faulttree.components/model/generated/CftLanguage.genmodel" fileExtensions = "vsconfig" serializer = { generateStub = false diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/linking/ApplicationConfigurationLinkingService.xtend b/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/linking/ApplicationConfigurationLinkingService.xtend index fc4b721a..ec79ac89 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/linking/ApplicationConfigurationLinkingService.xtend +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/linking/ApplicationConfigurationLinkingService.xtend @@ -2,6 +2,7 @@ package hu.bme.mit.inf.dslreasoner.application.linking import com.google.inject.Inject import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.CftImport import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigurationScript import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.EPackageImport import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PatternEntry @@ -11,8 +12,10 @@ import java.util.List import java.util.Optional import org.eclipse.emf.common.util.URI import org.eclipse.emf.ecore.EObject +import org.eclipse.emf.ecore.EPackage import org.eclipse.emf.ecore.EReference import org.eclipse.emf.ecore.resource.Resource +import org.eclipse.emf.ecore.resource.ResourceSet import org.eclipse.viatra.query.patternlanguage.emf.scoping.IMetamodelProvider import org.eclipse.xtext.EcoreUtil2 import org.eclipse.xtext.conversion.IValueConverterService @@ -20,105 +23,98 @@ import org.eclipse.xtext.conversion.ValueConverterException import org.eclipse.xtext.linking.impl.DefaultLinkingService import org.eclipse.xtext.nodemodel.ILeafNode import org.eclipse.xtext.nodemodel.INode -import org.eclipse.emf.ecore.resource.ResourceSet -import org.eclipse.emf.ecore.EPackage -class ApplicationConfigurationLinkingService extends DefaultLinkingService{ +class ApplicationConfigurationLinkingService extends DefaultLinkingService { + @Inject IValueConverterService valueConverterService + @Inject IMetamodelProvider metamodelProvider - //@Inject Logger logger + public static extension ApplicationConfigurationPackage pac = ApplicationConfigurationPackage.eINSTANCE - @Inject IValueConverterService valueConverterService - @Inject IMetamodelProvider metamodelProvider - - public static extension ApplicationConfigurationPackage pac = ApplicationConfigurationPackage.eINSTANCE + override getLinkedObjects(EObject context, EReference ref, INode node) { + if (context instanceof EPackageImport) { + if (ref == EPackageImport_ImportedPackage && node instanceof ILeafNode) { + return getEPackage(context, node as ILeafNode) + } + } else if (context instanceof ViatraImport) { + if (ref == viatraImport_ImportedViatra) { + return getViatra(context, node) + } + } else if (context instanceof CftImport) { + if (ref == cftImport_ImportedCft) { + return getCftModel(context, node) + } + } + return super.getLinkedObjects(context, ref, node) + } + + private def getEPackage(EPackageImport packageImport, ILeafNode node) { + val x = getNSUri(node) + if (x.isPresent) { + val uriString = x.get + val epackageByMetamodelProvider = metamodelProvider.loadEPackage(uriString, + packageImport.eResource.resourceSet) + val epackageByMe = ePackageByMe(packageImport.eResource.resourceSet, uriString) + if (epackageByMetamodelProvider !== null) { + return Collections.singletonList(epackageByMetamodelProvider as EObject) + } else if (epackageByMe !== null) { + return Collections.singletonList(epackageByMe as EObject) + } else { + emptyList + } + } else { + return emptyList + } + } - override getLinkedObjects(EObject context, EReference ref, INode node) { - if(context instanceof EPackageImport) { - if(ref == EPackageImport_ImportedPackage && node instanceof ILeafNode) { - return getEPackage(context as EPackageImport, node as ILeafNode) - } - } else if(context instanceof ViatraImport) { - if(ref == viatraImport_ImportedViatra) { - return getViatra(context as ViatraImport, node) - } - } else if(context instanceof PatternEntry) { - if(ref === patternEntry_Package) { - return getViatraPackage(context as PatternEntry,node) - } - } - return super.getLinkedObjects(context, ref, node) - } + private def ePackageByMe(ResourceSet rs, String uri) { + try { + val resource = rs.getResource(URI.createURI(uri), true); + return resource.contents.head as EPackage + } catch (Exception e) { + return null + } + } + + private def getViatra(ViatraImport viatraImport, INode node) { + getByUri(viatraImport, viatraImport_ImportedViatra, node) + } - def getViatraPackage(PatternEntry entry, INode node) { - val document = EcoreUtil2.getContainerOfType(entry,ConfigurationScript) - val nodeString = valueConverterService.toValue(node.text, - linkingHelper.getRuleNameFrom(node.grammarElement), node).toString.replaceAll("\\s","") - val patternModels = document.imports.filter(ViatraImport).map[it.importedViatra].filterNull - val List patternModelsWithSameNamespace = patternModels.filter[nodeString.equals(it.packageName)].filter(EObject).toList - return patternModelsWithSameNamespace + private def getByUri(EObject context, EReference ref, INode node) { + val uri = getNSUri(node) + if (uri.present) { + var URI createdURI + try { + createdURI = URI.createURI(uri.get) + } catch (IllegalArgumentException e) { + return super.getLinkedObjects(context, ref, node) + } + var Resource res + try { + res = context.eResource.resourceSet.getResource(createdURI, true); + } catch (RuntimeException e) { + return super.getLinkedObjects(context, ref, node) + } + if (res !== null && res.contents !== null) { + return res.contents.filter[ref.EType.isInstance(it)].toList + } else { + return super.getLinkedObjects(context, ref, node) + } + } else { + return super.getLinkedObjects(context, ref, node) + } } - private def getEPackage(EPackageImport packageImport, ILeafNode node) { - val x = getNSUri(node) - if(x.isPresent) { - val uriString = x.get - val epackageByMetamodelProvider = metamodelProvider.loadEPackage(uriString, packageImport.eResource.resourceSet) - val epackageByMe = ePackageByMe(packageImport.eResource.resourceSet,uriString) - //println(epackageByMetamodelProvider) - //println(epackageByMe) - if(epackageByMetamodelProvider!==null) { - return Collections.singletonList(epackageByMetamodelProvider as EObject) - } else if(epackageByMe !== null) { - return Collections.singletonList(epackageByMe as EObject) - } else { - emptyList - } - } else { - return emptyList - } - } - - private def ePackageByMe(ResourceSet rs, String uri) { - try { - val resource = rs.getResource(URI.createURI(uri), true); - return resource.contents.head as EPackage - } catch (Exception e) { - return null - } - } - - private def getViatra(ViatraImport viatraImport, INode node) { - val uri = getNSUri(node) - if(uri.present) { - var URI createdURI - try{ - createdURI = URI.createURI(uri.get) - }catch(IllegalArgumentException e) { - return super.getLinkedObjects(viatraImport, viatraImport_ImportedViatra, node) - } - var Resource res - try{ - res = viatraImport.eResource.resourceSet.getResource(createdURI,true); - } catch(RuntimeException e){ - return super.getLinkedObjects(viatraImport, viatraImport_ImportedViatra, node) - } - if(res!==null && !res.contents.nullOrEmpty) { - return #[res.contents.head] - } else { - return super.getLinkedObjects(viatraImport, viatraImport_ImportedViatra, node) - } - } else { - return super.getLinkedObjects(viatraImport, viatraImport_ImportedViatra, node) - } - } - - private def getNSUri(INode node) { - try { - val convertedValue = valueConverterService.toValue(node.text, - linkingHelper.getRuleNameFrom(node.grammarElement), node) - Optional.of(convertedValue as String) - } catch (ValueConverterException e) { - Optional.empty - } - } -} \ No newline at end of file + private def getNSUri(INode node) { + try { + val convertedValue = valueConverterService.toValue(node.text, + linkingHelper.getRuleNameFrom(node.grammarElement), node) + Optional.of(convertedValue as String) + } catch (ValueConverterException e) { + Optional.empty + } + } + + private def getCftModel(CftImport context, INode node) { + getByUri(context, cftImport_ImportedCft, node) + } +} diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/scoping/ApplicationConfigurationScopeProvider.xtend b/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/scoping/ApplicationConfigurationScopeProvider.xtend index 36948c2d..b049b4c9 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/scoping/ApplicationConfigurationScopeProvider.xtend +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/scoping/ApplicationConfigurationScopeProvider.xtend @@ -3,28 +3,27 @@ */ package hu.bme.mit.inf.dslreasoner.application.scoping -import com.google.common.base.Function -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.AllPackageEntry -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.AllPatternEntry -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ClassReference +import com.google.inject.Inject +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.CftImport import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigurationScript import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.EPackageImport import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelElement -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelSpecification -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PatternElement -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PatternSpecification +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelEntry +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PatternEntry +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ReliabiltiyFunction import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ViatraImport +import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftModel import org.eclipse.emf.ecore.EClass import org.eclipse.emf.ecore.EEnum import org.eclipse.emf.ecore.EObject import org.eclipse.emf.ecore.EReference import org.eclipse.viatra.query.patternlanguage.emf.vql.PatternModel import org.eclipse.xtext.EcoreUtil2 -import org.eclipse.xtext.naming.QualifiedName -import org.eclipse.xtext.scoping.IScope +import org.eclipse.xtext.naming.IQualifiedNameConverter import org.eclipse.xtext.scoping.Scopes +import static hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage.Literals.* + /** * This class contains custom scoping description. * @@ -32,150 +31,116 @@ import org.eclipse.xtext.scoping.Scopes * on how and when to use it. */ class ApplicationConfigurationScopeProvider extends AbstractApplicationConfigurationScopeProvider { - - private val language = ApplicationConfigurationPackage.eINSTANCE - protected val nameConverter = new Function() { - override apply(PatternModel input) { - println(input) - val res = QualifiedName.create(input.packageName.split("\\.")) - println(res.toString) - return res - } - } - + + @Inject IQualifiedNameConverter qualifiedNameConverter + override getScope(EObject context, EReference reference) { - val document = EcoreUtil2.getContainerOfType(context,ConfigurationScript) - if(context instanceof MetamodelElement) { - return context.scopeForMetamodelElement(reference,document) - } else if(context instanceof MetamodelSpecification) { - return context.scopeForMetamodelSpecification(reference,document) - } else if(context instanceof AllPackageEntry){ - return context.scopeForAllPackageEntry(reference,document) - } else if(context instanceof PatternElement) { - return context.scopeForPatternElement(reference,document) - } else if(context instanceof PatternSpecification) { - return context.scopeForPatternSpecification(reference,document) - } else if(context instanceof AllPatternEntry) { - return context.scopeForAllPatternEntry(reference,document) - } else if(context instanceof ClassReference) { - return context.scopeForClassReference(reference,document) - }else { - return super.getScope(context,reference) + val document = EcoreUtil2.getContainerOfType(context, ConfigurationScript) + switch (reference) { + case METAMODEL_ENTRY__PACKAGE: + getEPackageScope(document) + case METAMODEL_ELEMENT__CLASSIFIER: + getEClassifierScope(context, document) + case METAMODEL_ELEMENT__FEATURE: + getEStructuralFeatureScope(context, reference, document) + case PATTERN_ENTRY__PACKAGE: + getViatraPackageScope(context, reference, document) + case PATTERN_ELEMENT__PATTERN: + getViatraPatternScope(context, document) + case RELIABILTIY_FUNCTION__PACKAGE: + getCftPackageScope(context, reference, document) + case RELIABILTIY_FUNCTION__TRANSFORMATION: + getCftTransformationScope(context, document) + default: + super.getScope(context, reference) } } - - private def allEPackages(ConfigurationScript document) { - return document.imports.filter(EPackageImport).map[it.importedPackage].filterNull + + private def getAllEPackages(ConfigurationScript document) { + document.imports.filter(EPackageImport).map[importedPackage].filterNull } - private def allViatraPackages(ConfigurationScript document) { - val res = document.imports.filter(ViatraImport).map[it.importedViatra].filterNull - //println('''All packages: «res.map[packageName].toList»''') - return res + + private def getAllViatraPackages(ConfigurationScript document) { + document.imports.filter(ViatraImport).map[importedViatra].filterNull } - private def allEClassifiers(ConfigurationScript document) { + + private def getAllEClassifiers(ConfigurationScript document) { document.allEPackages.map[EClassifiers].flatten } - private def allPatterns(ConfigurationScript document) { - val res = document.allViatraPackages.map[patterns].flatten - //println('''All patterns: «res.map[name].toList»''') - return res + + private def getAllPatterns(ConfigurationScript document) { + document.allViatraPackages.map[patterns].flatten } - protected def scopeForMetamodelElement(MetamodelElement context, EReference reference, ConfigurationScript document) { - if(reference === language.metamodelEntry_Package) { - return Scopes.scopeFor(document.allEPackages) - } else if(reference === language.metamodelElement_Classifier) { - if(context.package !== null) { - return Scopes.scopeFor(context.package.EClassifiers) - } else { - return Scopes.scopeFor(document.allEClassifiers) - } - } if (reference === language.metamodelElement_Feature) { - val referredClassifier = context.classifier - if(referredClassifier instanceof EClass) { - return Scopes.scopeFor(referredClassifier.EAllStructuralFeatures) - } else if(referredClassifier instanceof EEnum) { - return Scopes.scopeFor(referredClassifier.ELiterals) - } else { - super.getScope(context,reference) - } - } + private def getAllCftPackages(ConfigurationScript document) { + document.imports.filter(CftImport).map[importedCft].filterNull } - - protected def scopeForMetamodelSpecification(MetamodelSpecification context, EReference reference, ConfigurationScript document) { - if(reference === language.metamodelEntry_Package) { - return Scopes.scopeFor(document.allEPackages) - } else if(reference ===language.metamodelElement_Classifier) { - return Scopes.scopeFor(document.allEClassifiers) - } else { - return super.getScope(context,reference) - } + + private def getAllCftTransformations(ConfigurationScript document) { + document.allCftPackages.map[transformationDefinitions].flatten } - - protected def scopeForAllPackageEntry(AllPackageEntry context, EReference reference, ConfigurationScript document) { - if(reference === language.metamodelEntry_Package) { - return Scopes.scopeFor(document.allEPackages) - } else if(reference === language.metamodelElement_Classifier) { - if(context.package === null) { - return Scopes.scopeFor(document.allEClassifiers) - } else { - return Scopes.scopeFor(context.package.EClassifiers) - } - } else { - return super.getScope(context,reference) - } + + private def getEPackageScope(ConfigurationScript document) { + Scopes.scopeFor(document.allEPackages) } - - ////////// - - def IScope scopeForClassReference(ClassReference classReference, EReference eReference, ConfigurationScript document) { - if(eReference === language.metamodelEntry_Package) { - return Scopes.scopeFor(document.allEPackages) - } else if(eReference === language.metamodelElement_Classifier) { - Scopes.scopeFor(document.allEClassifiers) - } else { - return super.getScope(classReference,eReference) + + private def getEClassifierScope(EObject context, ConfigurationScript document) { + val classifiers = switch (context) { + MetamodelEntry case context.package !== null: + context.package.EClassifiers + default: + document.allEClassifiers } + Scopes.scopeFor(classifiers) } - - ////////// - - protected def scopeForPatternElement(PatternElement context, EReference reference, ConfigurationScript document) { - if(reference === language.patternEntry_Package) { - return Scopes.scopeFor(document.allViatraPackages,nameConverter,super.getScope(context,reference)) - } else if(reference === language.patternElement_Pattern) { - if(context.package !== null) { - return Scopes.scopeFor(context.package.patterns) + + private def getEStructuralFeatureScope(EObject context, EReference reference, ConfigurationScript document) { + val referredClassifier = if (context instanceof MetamodelElement) { + context.classifier } else { - return Scopes.scopeFor(document.allPatterns) + null } - } else { - super.getScope(context,reference) + switch (referredClassifier) { + EClass: + Scopes.scopeFor(referredClassifier.EAllStructuralFeatures) + EEnum: + Scopes.scopeFor(referredClassifier.ELiterals) + default: + super.getScope(context, reference) } } - - protected def scopeForPatternSpecification(PatternSpecification context, EReference reference, ConfigurationScript document) { - if(reference === language.patternEntry_Package) { - return Scopes.scopeFor(document.allViatraPackages,nameConverter,super.getScope(context,reference)) - } else if(reference ===language.patternElement_Pattern) { - return Scopes.scopeFor(document.allPatterns) - } else { - return super.getScope(context,reference) + + private def getViatraPackageScope(EObject context, EReference reference, ConfigurationScript document) { + val patternModelNameConverter = [ PatternModel patternModel | + qualifiedNameConverter.toQualifiedName(patternModel.packageName) + ] + Scopes.scopeFor(document.allViatraPackages, patternModelNameConverter, super.getScope(context, reference)) + } + + private def getViatraPatternScope(EObject context, ConfigurationScript document) { + val patterns = switch (context) { + PatternEntry case context.package !== null: + context.package.patterns + default: + document.allPatterns } + Scopes.scopeFor(patterns) } - - protected def scopeForAllPatternEntry(AllPatternEntry context, EReference reference, ConfigurationScript document) { - if(reference === language.patternEntry_Package) { - val res = Scopes.scopeFor(document.allViatraPackages,nameConverter,super.getScope(context,reference)) - return res - } else if(reference === language.patternElement_Pattern) { - if(context.package === null) { - return Scopes.scopeFor(document.allPatterns) - } else { - return Scopes.scopeFor(context.package.patterns) - } - } else { - return super.getScope(context,reference) + + private def getCftPackageScope(EObject context, EReference reference, ConfigurationScript document) { + val cftModelNameConverter = [ CftModel cftModel | + qualifiedNameConverter.toQualifiedName(cftModel.packageName) + ] + Scopes.scopeFor(document.allCftPackages, cftModelNameConverter, super.getScope(context, reference)) + } + + private def getCftTransformationScope(EObject context, ConfigurationScript document) { + val transformations = switch (context) { + ReliabiltiyFunction case context.package !== null: + context.package.transformationDefinitions + default: + document.allCftTransformations } + Scopes.scopeFor(transformations) } } diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/patterns/PatternProvider.xtend b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/patterns/PatternProvider.xtend index 0e13a5e1..e87f52af 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/patterns/PatternProvider.xtend +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/patterns/PatternProvider.xtend @@ -2,8 +2,10 @@ package hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.patterns import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Relation import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.RelationDeclaration +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.RelationDefinition import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Type import hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicProblem +import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.Modality import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.ModelGenerationStatistics import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.TypeAnalysis import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.TypeAnalysisResult @@ -11,7 +13,9 @@ import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.TypeInferenceMethod import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.util.ParseUtil import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.PartialInterpretation import hu.bme.mit.inf.dslreasoner.workspace.ReasonerWorkspace +import java.util.Collection import java.util.Map +import java.util.Set import org.eclipse.viatra.query.runtime.api.IPatternMatch import org.eclipse.viatra.query.runtime.api.IQuerySpecification import org.eclipse.viatra.query.runtime.api.ViatraQueryMatcher @@ -19,8 +23,6 @@ import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PQuery import org.eclipse.xtend.lib.annotations.Data import static extension hu.bme.mit.inf.dslreasoner.util.CollectionsUtil.* -import java.util.Collection -import java.util.Set @Data class GeneratedPatterns { public Map>> invalidWFQueries @@ -29,9 +31,16 @@ import java.util.Set public Map>> refineObjectQueries public Map>> refineTypeQueries public Map, IQuerySpecification>> refinerelationQueries + public Map modalRelationQueries public Collection>> allQueries } +@Data class ModalPatternQueries { + val IQuerySpecification> mayQuery + val IQuerySpecification> mustQuery + val IQuerySpecification> currentQuery +} + class PatternProvider { val TypeAnalysis typeAnalysis = new TypeAnalysis @@ -71,7 +80,7 @@ class PatternProvider { LogicProblem problem, PartialInterpretation emptySolution, TypeAnalysisResult typeAnalysisResult, - Map>> queries + Map>> queries ) { val Map>> invalidWFQueries = patternGenerator.invalidIndexer.getInvalidateByWfQueryNames(problem).mapValues[it.lookup(queries)] @@ -85,6 +94,14 @@ class PatternProvider { refineTypeQueries = patternGenerator.typeRefinementGenerator.getRefineTypeQueryNames(problem,emptySolution,typeAnalysisResult).mapValues[it.lookup(queries)] val Map, IQuerySpecification>> refineRelationQueries = patternGenerator.relationRefinementGenerator.getRefineRelationQueries(problem).mapValues[it.lookup(queries)] + val Map modalRelationQueries = problem.relations.filter(RelationDefinition).toMap([it], [ relationDefinition | + val indexer = patternGenerator.relationDefinitionIndexer + new ModalPatternQueries( + indexer.relationDefinitionName(relationDefinition, Modality.MAY).lookup(queries), + indexer.relationDefinitionName(relationDefinition, Modality.MUST).lookup(queries), + indexer.relationDefinitionName(relationDefinition, Modality.CURRENT).lookup(queries) + ) + ]) return new GeneratedPatterns( invalidWFQueries, unfinishedWFQueries, @@ -92,6 +109,7 @@ class PatternProvider { refineObjectsQueries, refineTypeQueries, refineRelationQueries, + modalRelationQueries, queries.values ) } diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/patterns/RelationDefinitionIndexer.xtend b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/patterns/RelationDefinitionIndexer.xtend index 329d3658..a67a24c4 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/patterns/RelationDefinitionIndexer.xtend +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/patterns/RelationDefinitionIndexer.xtend @@ -71,7 +71,7 @@ class RelationDefinitionIndexer { ] } - private def relationDefinitionName(RelationDefinition relation, Modality modality) + def String relationDefinitionName(RelationDefinition relation, Modality modality) '''«modality.name.toLowerCase»InRelation_«base.canonizeName(relation.name)»''' private def canonizeName(PVariable v) { diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/.CftLanguageIdeModule.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/.CftLanguageIdeModule.xtendbin index 65b90333..56d1af9c 100644 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/.CftLanguageIdeModule.xtendbin and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/.CftLanguageIdeModule.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/.CftLanguageIdeSetup.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/.CftLanguageIdeSetup.xtendbin index 7fbd4ad1..29395cde 100644 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/.CftLanguageIdeSetup.xtendbin and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/.CftLanguageIdeSetup.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/.gitignore b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/.gitignore index 2fad95ba..e3c287dd 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/.gitignore +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/.gitignore @@ -1,2 +1,6 @@ /.CftLanguageIdeModule.java._trace /.CftLanguageIdeSetup.java._trace +/.CftLanguageIdeModule.xtendbin +/.CftLanguageIdeSetup.xtendbin +/CftLanguageIdeModule.java +/CftLanguageIdeSetup.java diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/.CftLanguageUiModule.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/.CftLanguageUiModule.xtendbin index 77bd6532..2207ff7a 100644 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/.CftLanguageUiModule.xtendbin and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/.CftLanguageUiModule.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/.gitignore b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/.gitignore index bee88ba2..725f385c 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/.gitignore +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/.gitignore @@ -1 +1,3 @@ /.CftLanguageUiModule.java._trace +/.CftLanguageUiModule.xtendbin +/CftLanguageUiModule.java diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/contentassist/.CftLanguageProposalProvider.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/contentassist/.CftLanguageProposalProvider.xtendbin index 33d0e601..e5445e66 100644 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/contentassist/.CftLanguageProposalProvider.xtendbin and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/contentassist/.CftLanguageProposalProvider.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/contentassist/.gitignore b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/contentassist/.gitignore index 31aac8dc..be23301b 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/contentassist/.gitignore +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/contentassist/.gitignore @@ -1 +1,3 @@ /.CftLanguageProposalProvider.java._trace +/.CftLanguageProposalProvider.xtendbin +/CftLanguageProposalProvider.java diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/labeling/.CftLanguageDescriptionLabelProvider.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/labeling/.CftLanguageDescriptionLabelProvider.xtendbin index 6617b26f..476652c0 100644 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/labeling/.CftLanguageDescriptionLabelProvider.xtendbin and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/labeling/.CftLanguageDescriptionLabelProvider.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/labeling/.CftLanguageLabelProvider.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/labeling/.CftLanguageLabelProvider.xtendbin index 82af00d7..bda30bf1 100644 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/labeling/.CftLanguageLabelProvider.xtendbin and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/labeling/.CftLanguageLabelProvider.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/labeling/.gitignore b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/labeling/.gitignore index 20d80a0b..c75af38b 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/labeling/.gitignore +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/labeling/.gitignore @@ -1,2 +1,6 @@ /.CftLanguageDescriptionLabelProvider.java._trace /.CftLanguageLabelProvider.java._trace +/.CftLanguageDescriptionLabelProvider.xtendbin +/.CftLanguageLabelProvider.xtendbin +/CftLanguageDescriptionLabelProvider.java +/CftLanguageLabelProvider.java diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/outline/.CftLanguageOutlineTreeProvider.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/outline/.CftLanguageOutlineTreeProvider.xtendbin index adffb198..04bd4aea 100644 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/outline/.CftLanguageOutlineTreeProvider.xtendbin and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/outline/.CftLanguageOutlineTreeProvider.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/outline/.gitignore b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/outline/.gitignore index a0d017e3..61ad3c3f 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/outline/.gitignore +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/outline/.gitignore @@ -1 +1,3 @@ /.CftLanguageOutlineTreeProvider.java._trace +/.CftLanguageOutlineTreeProvider.xtendbin +/CftLanguageOutlineTreeProvider.java diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/quickfix/.CftLanguageQuickfixProvider.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/quickfix/.CftLanguageQuickfixProvider.xtendbin index 2ecc121e..3c8711bf 100644 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/quickfix/.CftLanguageQuickfixProvider.xtendbin and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/quickfix/.CftLanguageQuickfixProvider.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/quickfix/.gitignore b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/quickfix/.gitignore index 1f83fa55..e9319b3b 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/quickfix/.gitignore +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/quickfix/.gitignore @@ -1 +1,3 @@ /.CftLanguageQuickfixProvider.java._trace +/.CftLanguageQuickfixProvider.xtendbin +/CftLanguageQuickfixProvider.java diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/syntaxcoloring/.CftLanguageSemanticHighlightingCalculator.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/syntaxcoloring/.CftLanguageSemanticHighlightingCalculator.xtendbin index ce699deb..2f317914 100644 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/syntaxcoloring/.CftLanguageSemanticHighlightingCalculator.xtendbin and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/syntaxcoloring/.CftLanguageSemanticHighlightingCalculator.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/syntaxcoloring/.CftLanguageTokenToAttributeIdMapper.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/syntaxcoloring/.CftLanguageTokenToAttributeIdMapper.xtendbin index 86752345..26fbd35b 100644 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/syntaxcoloring/.CftLanguageTokenToAttributeIdMapper.xtendbin and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/syntaxcoloring/.CftLanguageTokenToAttributeIdMapper.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/syntaxcoloring/.gitignore b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/syntaxcoloring/.gitignore index 3fdf4894..e1b01d74 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/syntaxcoloring/.gitignore +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/syntaxcoloring/.gitignore @@ -1,2 +1,6 @@ /.CftLanguageSemanticHighlightingCalculator.java._trace /.CftLanguageTokenToAttributeIdMapper.java._trace +/.CftLanguageSemanticHighlightingCalculator.xtendbin +/.CftLanguageTokenToAttributeIdMapper.xtendbin +/CftLanguageSemanticHighlightingCalculator.java +/CftLanguageTokenToAttributeIdMapper.java diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src/hu/bme/mit/inf/dslreasoner/faulttree/components/scoping/CftLanguageScopeProvider.xtend b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src/hu/bme/mit/inf/dslreasoner/faulttree/components/scoping/CftLanguageScopeProvider.xtend index e95d8c91..f295f116 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src/hu/bme/mit/inf/dslreasoner/faulttree/components/scoping/CftLanguageScopeProvider.xtend +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src/hu/bme/mit/inf/dslreasoner/faulttree/components/scoping/CftLanguageScopeProvider.xtend @@ -11,6 +11,7 @@ import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.LookupDefinit import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingDefinition import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.TransformationDefinition import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.Variable +import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.MappingDefinitionImpl import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentDefinition import org.eclipse.emf.common.notify.Notifier import org.eclipse.emf.ecore.EObject @@ -68,7 +69,7 @@ class CftLanguageScopeProvider extends AbstractCftLanguageScopeProvider { Iterable ruleDefinitions) { val mappingDefinitionDescriptions = Lists.newArrayListWithExpectedSize(ruleDefinitions.size) for (ruleDefinition : ruleDefinitions) { - val pattern = ruleDefinition?.pattern + val pattern = ruleDefinition.safelyGetPattern if (pattern !== null) { val patternName = resourceDescriptions.getExportedObjectsByObject(pattern).head?.qualifiedName if (patternName !== null) { @@ -79,6 +80,14 @@ class CftLanguageScopeProvider extends AbstractCftLanguageScopeProvider { } mappingDefinitionDescriptions } + + private def safelyGetPattern(MappingDefinition mappingDefinition) { + switch (mappingDefinition) { + MappingDefinitionImpl: mappingDefinition.basicGetPattern + case null: null + default: mappingDefinition.pattern + } + } private def getResourceDescriptions(Notifier notifier) { val resourceSet = EcoreUtil2.getResourceSet(notifier) diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/.CftLanguageRuntimeModule.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/.CftLanguageRuntimeModule.xtendbin index 98b07e66..8a5136e8 100644 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/.CftLanguageRuntimeModule.xtendbin and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/.CftLanguageRuntimeModule.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/.CftLanguageStandaloneSetup.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/.CftLanguageStandaloneSetup.xtendbin index 2ae80aef..d00f661a 100644 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/.CftLanguageStandaloneSetup.xtendbin and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/.CftLanguageStandaloneSetup.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/.gitignore b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/.gitignore index b3125e3f..a5028502 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/.gitignore +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/.gitignore @@ -1,2 +1,6 @@ /.CftLanguageRuntimeModule.java._trace /.CftLanguageStandaloneSetup.java._trace +/.CftLanguageRuntimeModule.xtendbin +/.CftLanguageStandaloneSetup.xtendbin +/CftLanguageRuntimeModule.java +/CftLanguageStandaloneSetup.java diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/conversion/.CftLanguageValueConverterService.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/conversion/.CftLanguageValueConverterService.xtendbin index a97cd12c..426173d6 100644 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/conversion/.CftLanguageValueConverterService.xtendbin and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/conversion/.CftLanguageValueConverterService.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/conversion/.OF_INTValueConverter.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/conversion/.OF_INTValueConverter.xtendbin index 25b37e6d..2321885c 100644 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/conversion/.OF_INTValueConverter.xtendbin and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/conversion/.OF_INTValueConverter.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/conversion/.gitignore b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/conversion/.gitignore index 1cb9dafb..0a42ffb4 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/conversion/.gitignore +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/conversion/.gitignore @@ -1,2 +1,6 @@ /.OF_INTValueConverter.java._trace /.CftLanguageValueConverterService.java._trace +/.CftLanguageValueConverterService.xtendbin +/.OF_INTValueConverter.xtendbin +/CftLanguageValueConverterService.java +/OF_INTValueConverter.java diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/generator/.CftLanguageGenerator.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/generator/.CftLanguageGenerator.xtendbin index b2a0c833..57704448 100644 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/generator/.CftLanguageGenerator.xtendbin and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/generator/.CftLanguageGenerator.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/generator/.gitignore b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/generator/.gitignore index c1d8820b..943ab682 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/generator/.gitignore +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/generator/.gitignore @@ -1 +1,3 @@ /.CftLanguageGenerator.java._trace +/.CftLanguageGenerator.xtendbin +/CftLanguageGenerator.java diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/naming/.CftLanguageQualifiedNameProvider.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/naming/.CftLanguageQualifiedNameProvider.xtendbin index cea3c7e0..f06a7a84 100644 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/naming/.CftLanguageQualifiedNameProvider.xtendbin and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/naming/.CftLanguageQualifiedNameProvider.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/naming/.PackageNameProvider.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/naming/.PackageNameProvider.xtendbin index a0a97448..ad739f26 100644 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/naming/.PackageNameProvider.xtendbin and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/naming/.PackageNameProvider.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/naming/.gitignore b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/naming/.gitignore index b982f16c..bb9e8b92 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/naming/.gitignore +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/naming/.gitignore @@ -1,2 +1,6 @@ /.CftLanguageQualifiedNameProvider.java._trace /.PackageNameProvider.java._trace +/.CftLanguageQualifiedNameProvider.xtendbin +/.PackageNameProvider.xtendbin +/CftLanguageQualifiedNameProvider.java +/PackageNameProvider.java diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/scoping/.CftLanguageImportedNamespaceAwareLocalScopeProvider.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/scoping/.CftLanguageImportedNamespaceAwareLocalScopeProvider.xtendbin index a3aa3347..d1224c20 100644 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/scoping/.CftLanguageImportedNamespaceAwareLocalScopeProvider.xtendbin and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/scoping/.CftLanguageImportedNamespaceAwareLocalScopeProvider.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/scoping/.CftLanguageScopeProvider.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/scoping/.CftLanguageScopeProvider.xtendbin index 20f539ae..6c96cd87 100644 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/scoping/.CftLanguageScopeProvider.xtendbin and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/scoping/.CftLanguageScopeProvider.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/scoping/.gitignore b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/scoping/.gitignore index 75285868..e0a335bd 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/scoping/.gitignore +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/scoping/.gitignore @@ -2,3 +2,7 @@ /.CftLanguageImportedNamespaceAwareScopeProvider.java._trace /.CftLanguageImportedNamespaceAwareScopeLocalProvider.java._trace /.CftLanguageImportedNamespaceAwareLocalScopeProvider.java._trace +/.CftLanguageImportedNamespaceAwareLocalScopeProvider.xtendbin +/.CftLanguageScopeProvider.xtendbin +/CftLanguageImportedNamespaceAwareLocalScopeProvider.java +/CftLanguageScopeProvider.java diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/scoping/CftLanguageScopeProvider.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/scoping/CftLanguageScopeProvider.java index 9286d5ca..8d452f2a 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/scoping/CftLanguageScopeProvider.java +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/scoping/CftLanguageScopeProvider.java @@ -14,6 +14,7 @@ import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingDefini import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingParameter; import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.TransformationDefinition; import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.Variable; +import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.MappingDefinitionImpl; import hu.bme.mit.inf.dslreasoner.faulttree.components.scoping.AbstractCftLanguageScopeProvider; import hu.bme.mit.inf.dslreasoner.faulttree.components.scoping.CftLanguageImportedNamespaceAwareLocalScopeProvider; import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentDefinition; @@ -108,11 +109,7 @@ public class CftLanguageScopeProvider extends AbstractCftLanguageScopeProvider { final ArrayList mappingDefinitionDescriptions = Lists.newArrayListWithExpectedSize(IterableExtensions.size(ruleDefinitions)); for (final MappingDefinition ruleDefinition : ruleDefinitions) { { - Pattern _pattern = null; - if (ruleDefinition!=null) { - _pattern=ruleDefinition.getPattern(); - } - final Pattern pattern = _pattern; + final Pattern pattern = this.safelyGetPattern(ruleDefinition); if ((pattern != null)) { IEObjectDescription _head = IterableExtensions.head(resourceDescriptions.getExportedObjectsByObject(pattern)); QualifiedName _qualifiedName = null; @@ -132,6 +129,25 @@ public class CftLanguageScopeProvider extends AbstractCftLanguageScopeProvider { return _xblockexpression; } + private Pattern safelyGetPattern(final MappingDefinition mappingDefinition) { + Pattern _switchResult = null; + boolean _matched = false; + if (mappingDefinition instanceof MappingDefinitionImpl) { + _matched=true; + _switchResult = ((MappingDefinitionImpl)mappingDefinition).basicGetPattern(); + } + if (!_matched) { + if (Objects.equal(mappingDefinition, null)) { + _matched=true; + _switchResult = null; + } + } + if (!_matched) { + _switchResult = mappingDefinition.getPattern(); + } + return _switchResult; + } + private IResourceDescriptions getResourceDescriptions(final Notifier notifier) { IResourceDescriptions _xblockexpression = null; { diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/validation/.CftLanguageValidator.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/validation/.CftLanguageValidator.xtendbin index 719d28f8..c81d155d 100644 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/validation/.CftLanguageValidator.xtendbin and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/validation/.CftLanguageValidator.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/validation/.gitignore b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/validation/.gitignore index 9065804d..270d548b 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/validation/.gitignore +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/validation/.gitignore @@ -1 +1,3 @@ /.CftLanguageValidator.java._trace +/.CftLanguageValidator.xtendbin +/CftLanguageValidator.java diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/.classpath b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/.classpath index 5bc9ff04..1dc3c7fb 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/.classpath +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/.classpath @@ -4,5 +4,6 @@ + diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/META-INF/MANIFEST.MF b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/META-INF/MANIFEST.MF index eeabfee3..0b8c7351 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/META-INF/MANIFEST.MF +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/META-INF/MANIFEST.MF @@ -8,13 +8,18 @@ Bundle-Vendor: %providerName Bundle-Localization: plugin Automatic-Module-Name: hu.bme.mit.inf.dslreasoner.faulttree.model Bundle-RequiredExecutionEnvironment: JavaSE-1.8 -Export-Package: hu.bme.mit.inf.dslreasoner.faulttree.model.ft, +Export-Package: hu.bme.mit.inf.dslreasoner.faulttree.model.cft, + hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl, + hu.bme.mit.inf.dslreasoner.faulttree.model.cft.util, + hu.bme.mit.inf.dslreasoner.faulttree.model.ft, hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl, hu.bme.mit.inf.dslreasoner.faulttree.model.ft.util, - hu.bme.mit.inf.dslreasoner.faulttree.model.cft, - hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl, - hu.bme.mit.inf.dslreasoner.faulttree.model.cft.util + hu.bme.mit.inf.dslreasoner.faulttree.model.util Require-Bundle: org.eclipse.core.runtime, org.eclipse.emf.ecore;visibility:=reexport, - hu.bme.mit.inf.dslreasoner.faulttree.model;visibility:=reexport + hu.bme.mit.inf.dslreasoner.faulttree.model;visibility:=reexport, + com.google.guava, + org.eclipse.xtext.xbase.lib, + org.eclipse.xtend.lib, + org.eclipse.xtend.lib.macro Bundle-ActivationPolicy: lazy diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/CftPackage.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/CftPackage.java index d75710a2..07200ab2 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/CftPackage.java +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/CftPackage.java @@ -4,6 +4,7 @@ package hu.bme.mit.inf.dslreasoner.faulttree.model.cft; import org.eclipse.emf.ecore.EAttribute; import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EEnum; import org.eclipse.emf.ecore.EPackage; import org.eclipse.emf.ecore.EReference; @@ -534,6 +535,43 @@ public interface CftPackage extends EPackage { */ int COMPONENT_FAULT_TREE_OPERATION_COUNT = 0; + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ModalElement Modal Element}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ModalElement + * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.CftPackageImpl#getModalElement() + * @generated + */ + int MODAL_ELEMENT = 14; + + /** + * The feature id for the 'Exists' attribute. + * + * + * @generated + * @ordered + */ + int MODAL_ELEMENT__EXISTS = 0; + + /** + * The number of structural features of the 'Modal Element' class. + * + * + * @generated + * @ordered + */ + int MODAL_ELEMENT_FEATURE_COUNT = 1; + + /** + * The number of operations of the 'Modal Element' class. + * + * + * @generated + * @ordered + */ + int MODAL_ELEMENT_OPERATION_COUNT = 0; + /** * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.ComponentImpl Component}' class. * @@ -544,6 +582,15 @@ public interface CftPackage extends EPackage { */ int COMPONENT = 10; + /** + * The feature id for the 'Exists' attribute. + * + * + * @generated + * @ordered + */ + int COMPONENT__EXISTS = MODAL_ELEMENT__EXISTS; + /** * The feature id for the 'Inputs' containment reference list. * @@ -551,7 +598,7 @@ public interface CftPackage extends EPackage { * @generated * @ordered */ - int COMPONENT__INPUTS = 0; + int COMPONENT__INPUTS = MODAL_ELEMENT_FEATURE_COUNT + 0; /** * The feature id for the 'Outputs' containment reference list. @@ -560,7 +607,7 @@ public interface CftPackage extends EPackage { * @generated * @ordered */ - int COMPONENT__OUTPUTS = 1; + int COMPONENT__OUTPUTS = MODAL_ELEMENT_FEATURE_COUNT + 1; /** * The feature id for the 'Component Definition' reference. @@ -569,7 +616,7 @@ public interface CftPackage extends EPackage { * @generated * @ordered */ - int COMPONENT__COMPONENT_DEFINITION = 2; + int COMPONENT__COMPONENT_DEFINITION = MODAL_ELEMENT_FEATURE_COUNT + 2; /** * The feature id for the 'Name' attribute. @@ -578,7 +625,16 @@ public interface CftPackage extends EPackage { * @generated * @ordered */ - int COMPONENT__NAME = 3; + int COMPONENT__NAME = MODAL_ELEMENT_FEATURE_COUNT + 3; + + /** + * The feature id for the 'Multiple Allowed' attribute. + * + * + * @generated + * @ordered + */ + int COMPONENT__MULTIPLE_ALLOWED = MODAL_ELEMENT_FEATURE_COUNT + 4; /** * The number of structural features of the 'Component' class. @@ -587,7 +643,7 @@ public interface CftPackage extends EPackage { * @generated * @ordered */ - int COMPONENT_FEATURE_COUNT = 4; + int COMPONENT_FEATURE_COUNT = MODAL_ELEMENT_FEATURE_COUNT + 5; /** * The number of operations of the 'Component' class. @@ -596,7 +652,7 @@ public interface CftPackage extends EPackage { * @generated * @ordered */ - int COMPONENT_OPERATION_COUNT = 0; + int COMPONENT_OPERATION_COUNT = MODAL_ELEMENT_OPERATION_COUNT + 0; /** * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.InputImpl Input}' class. @@ -718,6 +774,15 @@ public interface CftPackage extends EPackage { */ int CONNECTION = 13; + /** + * The feature id for the 'Exists' attribute. + * + * + * @generated + * @ordered + */ + int CONNECTION__EXISTS = MODAL_ELEMENT__EXISTS; + /** * The feature id for the 'Input' container reference. * @@ -725,7 +790,7 @@ public interface CftPackage extends EPackage { * @generated * @ordered */ - int CONNECTION__INPUT = 0; + int CONNECTION__INPUT = MODAL_ELEMENT_FEATURE_COUNT + 0; /** * The feature id for the 'Output' reference. @@ -734,7 +799,7 @@ public interface CftPackage extends EPackage { * @generated * @ordered */ - int CONNECTION__OUTPUT = 1; + int CONNECTION__OUTPUT = MODAL_ELEMENT_FEATURE_COUNT + 1; /** * The number of structural features of the 'Connection' class. @@ -743,7 +808,7 @@ public interface CftPackage extends EPackage { * @generated * @ordered */ - int CONNECTION_FEATURE_COUNT = 2; + int CONNECTION_FEATURE_COUNT = MODAL_ELEMENT_FEATURE_COUNT + 2; /** * The number of operations of the 'Connection' class. @@ -752,7 +817,18 @@ public interface CftPackage extends EPackage { * @generated * @ordered */ - int CONNECTION_OPERATION_COUNT = 0; + int CONNECTION_OPERATION_COUNT = MODAL_ELEMENT_OPERATION_COUNT + 0; + + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Modality Modality}' enum. + * + * + * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Modality + * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.CftPackageImpl#getModality() + * @generated + */ + int MODALITY = 15; /** @@ -1041,6 +1117,17 @@ public interface CftPackage extends EPackage { */ EAttribute getComponent_Name(); + /** + * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Component#isMultipleAllowed Multiple Allowed}'. + * + * + * @return the meta object for the attribute 'Multiple Allowed'. + * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Component#isMultipleAllowed() + * @see #getComponent() + * @generated + */ + EAttribute getComponent_MultipleAllowed(); + /** * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Input Input}'. * @@ -1159,6 +1246,37 @@ public interface CftPackage extends EPackage { */ EReference getConnection_Output(); + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ModalElement Modal Element}'. + * + * + * @return the meta object for class 'Modal Element'. + * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ModalElement + * @generated + */ + EClass getModalElement(); + + /** + * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ModalElement#getExists Exists}'. + * + * + * @return the meta object for the attribute 'Exists'. + * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ModalElement#getExists() + * @see #getModalElement() + * @generated + */ + EAttribute getModalElement_Exists(); + + /** + * Returns the meta object for enum '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Modality Modality}'. + * + * + * @return the meta object for enum 'Modality'. + * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Modality + * @generated + */ + EEnum getModality(); + /** * Returns the factory that creates the instances of the model. * @@ -1420,6 +1538,14 @@ public interface CftPackage extends EPackage { */ EAttribute COMPONENT__NAME = eINSTANCE.getComponent_Name(); + /** + * The meta object literal for the 'Multiple Allowed' attribute feature. + * + * + * @generated + */ + EAttribute COMPONENT__MULTIPLE_ALLOWED = eINSTANCE.getComponent_MultipleAllowed(); + /** * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.InputImpl Input}' class. * @@ -1514,6 +1640,34 @@ public interface CftPackage extends EPackage { */ EReference CONNECTION__OUTPUT = eINSTANCE.getConnection_Output(); + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ModalElement Modal Element}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ModalElement + * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.CftPackageImpl#getModalElement() + * @generated + */ + EClass MODAL_ELEMENT = eINSTANCE.getModalElement(); + + /** + * The meta object literal for the 'Exists' attribute feature. + * + * + * @generated + */ + EAttribute MODAL_ELEMENT__EXISTS = eINSTANCE.getModalElement_Exists(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Modality Modality}' enum. + * + * + * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Modality + * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.CftPackageImpl#getModality() + * @generated + */ + EEnum MODALITY = eINSTANCE.getModality(); + } } //CftPackage diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/Component.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/Component.java index 7d5055c9..9b1d0b24 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/Component.java +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/Component.java @@ -4,8 +4,6 @@ package hu.bme.mit.inf.dslreasoner.faulttree.model.cft; import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.ecore.EObject; - /** * * A representation of the model object 'Component'. @@ -19,13 +17,14 @@ import org.eclipse.emf.ecore.EObject; *
  • {@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Component#getOutputs Outputs}
  • *
  • {@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Component#getComponentDefinition Component Definition}
  • *
  • {@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Component#getName Name}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Component#isMultipleAllowed Multiple Allowed}
  • * * * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage#getComponent() * @model * @generated */ -public interface Component extends EObject { +public interface Component extends ModalElement { /** * Returns the value of the 'Inputs' containment reference list. * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Input}. @@ -114,4 +113,31 @@ public interface Component extends EObject { */ void setName(String value); + /** + * Returns the value of the 'Multiple Allowed' attribute. + * The default value is "false". + * + *

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

    + * + * @return the value of the 'Multiple Allowed' attribute. + * @see #setMultipleAllowed(boolean) + * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage#getComponent_MultipleAllowed() + * @model default="false" + * @generated + */ + boolean isMultipleAllowed(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Component#isMultipleAllowed Multiple Allowed}' attribute. + * + * + * @param value the new value of the 'Multiple Allowed' attribute. + * @see #isMultipleAllowed() + * @generated + */ + void setMultipleAllowed(boolean value); + } // Component diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/Connection.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/Connection.java index c05e809b..9ca5b77f 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/Connection.java +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/Connection.java @@ -2,8 +2,6 @@ */ package hu.bme.mit.inf.dslreasoner.faulttree.model.cft; -import org.eclipse.emf.ecore.EObject; - /** * * A representation of the model object 'Connection'. @@ -21,7 +19,7 @@ import org.eclipse.emf.ecore.EObject; * @model * @generated */ -public interface Connection extends EObject { +public interface Connection extends ModalElement { /** * Returns the value of the 'Input' container reference. * It is bidirectional and its opposite is '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Input#getIncomingConnections Incoming Connections}'. diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/ModalElement.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/ModalElement.java new file mode 100644 index 00000000..9abb6558 --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/ModalElement.java @@ -0,0 +1,54 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.faulttree.model.cft; + +import org.eclipse.emf.ecore.EObject; + +/** + * + * A representation of the model object 'Modal Element'. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ModalElement#getExists Exists}
    • + *
    + * + * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage#getModalElement() + * @model interface="true" abstract="true" + * @generated + */ +public interface ModalElement extends EObject { + /** + * Returns the value of the 'Exists' attribute. + * The default value is "MUST". + * The literals are from the enumeration {@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Modality}. + * + *

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

    + * + * @return the value of the 'Exists' attribute. + * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Modality + * @see #setExists(Modality) + * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage#getModalElement_Exists() + * @model default="MUST" + * @generated + */ + Modality getExists(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ModalElement#getExists Exists}' attribute. + * + * + * @param value the new value of the 'Exists' attribute. + * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Modality + * @see #getExists() + * @generated + */ + void setExists(Modality value); + +} // ModalElement diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/Modality.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/Modality.java new file mode 100644 index 00000000..6b7dc1e4 --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/Modality.java @@ -0,0 +1,244 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.faulttree.model.cft; + +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 'Modality', + * and utility methods for working with them. + * + * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage#getModality() + * @model + * @generated + */ +public enum Modality implements Enumerator { + /** + * The 'MAY' literal object. + * + * + * @see #MAY_VALUE + * @generated + * @ordered + */ + MAY(0, "MAY", "MAY"), + + /** + * The 'CURRENT' literal object. + * + * + * @see #CURRENT_VALUE + * @generated + * @ordered + */ + CURRENT(1, "CURRENT", "CURRENT"), + + /** + * The 'MUST' literal object. + * + * + * @see #MUST_VALUE + * @generated + * @ordered + */ + MUST(2, "MUST", "MUST"); + + /** + * The 'MAY' literal value. + * + *

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

    + * + * @see #MAY + * @model + * @generated + * @ordered + */ + public static final int MAY_VALUE = 0; + + /** + * The 'CURRENT' literal value. + * + *

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

    + * + * @see #CURRENT + * @model + * @generated + * @ordered + */ + public static final int CURRENT_VALUE = 1; + + /** + * The 'MUST' literal value. + * + *

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

    + * + * @see #MUST + * @model + * @generated + * @ordered + */ + public static final int MUST_VALUE = 2; + + /** + * An array of all the 'Modality' enumerators. + * + * + * @generated + */ + private static final Modality[] VALUES_ARRAY = + new Modality[] { + MAY, + CURRENT, + MUST, + }; + + /** + * A public read-only list of all the 'Modality' enumerators. + * + * + * @generated + */ + public static final List VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); + + /** + * Returns the 'Modality' literal with the specified literal value. + * + * + * @param literal the literal. + * @return the matching enumerator or null. + * @generated + */ + public static Modality get(String literal) { + for (int i = 0; i < VALUES_ARRAY.length; ++i) { + Modality result = VALUES_ARRAY[i]; + if (result.toString().equals(literal)) { + return result; + } + } + return null; + } + + /** + * Returns the 'Modality' literal with the specified name. + * + * + * @param name the name. + * @return the matching enumerator or null. + * @generated + */ + public static Modality getByName(String name) { + for (int i = 0; i < VALUES_ARRAY.length; ++i) { + Modality result = VALUES_ARRAY[i]; + if (result.getName().equals(name)) { + return result; + } + } + return null; + } + + /** + * Returns the 'Modality' literal with the specified integer value. + * + * + * @param value the integer value. + * @return the matching enumerator or null. + * @generated + */ + public static Modality get(int value) { + switch (value) { + case MAY_VALUE: return MAY; + case CURRENT_VALUE: return CURRENT; + case MUST_VALUE: return MUST; + } + 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 Modality(int value, String name, String literal) { + this.value = value; + this.name = name; + this.literal = literal; + } + + /** + * + * + * @generated + */ + @Override + public int getValue() { + return value; + } + + /** + * + * + * @generated + */ + @Override + public String getName() { + return name; + } + + /** + * + * + * @generated + */ + @Override + public String getLiteral() { + return literal; + } + + /** + * Returns the literal value of the enumerator, which is its string representation. + * + * + * @generated + */ + @Override + public String toString() { + return literal; + } + +} //Modality diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/CftFactoryImpl.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/CftFactoryImpl.java index 6eac2861..6b07b541 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/CftFactoryImpl.java +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/CftFactoryImpl.java @@ -5,6 +5,7 @@ package hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl; import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.*; import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EDataType; import org.eclipse.emf.ecore.EObject; import org.eclipse.emf.ecore.EPackage; @@ -72,6 +73,36 @@ public class CftFactoryImpl extends EFactoryImpl implements CftFactory { } } + /** + * + * + * @generated + */ + @Override + public Object createFromString(EDataType eDataType, String initialValue) { + switch (eDataType.getClassifierID()) { + case CftPackage.MODALITY: + return createModalityFromString(eDataType, initialValue); + default: + throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); + } + } + + /** + * + * + * @generated + */ + @Override + public String convertToString(EDataType eDataType, Object instanceValue) { + switch (eDataType.getClassifierID()) { + case CftPackage.MODALITY: + return convertModalityToString(eDataType, instanceValue); + default: + throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); + } + } + /** * * @@ -193,6 +224,26 @@ public class CftFactoryImpl extends EFactoryImpl implements CftFactory { return connection; } + /** + * + * + * @generated + */ + public Modality createModalityFromString(EDataType eDataType, String initialValue) { + Modality result = Modality.get(initialValue); + if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); + return result; + } + + /** + * + * + * @generated + */ + public String convertModalityToString(EDataType eDataType, Object instanceValue) { + return instanceValue == null ? null : instanceValue.toString(); + } + /** * * diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/CftPackageImpl.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/CftPackageImpl.java index 1d6b6a23..2d70d7ce 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/CftPackageImpl.java +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/CftPackageImpl.java @@ -16,6 +16,8 @@ import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.GateDefinition; import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Input; import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.InputEvent; import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.KOfMGateDefinition; +import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ModalElement; +import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Modality; import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.OrGateDefinition; import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Output; @@ -23,6 +25,7 @@ import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtPackage; import org.eclipse.emf.ecore.EAttribute; import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EEnum; import org.eclipse.emf.ecore.EPackage; import org.eclipse.emf.ecore.EReference; @@ -133,6 +136,20 @@ public class CftPackageImpl extends EPackageImpl implements CftPackage { */ private EClass connectionEClass = null; + /** + * + * + * @generated + */ + private EClass modalElementEClass = null; + + /** + * + * + * @generated + */ + private EEnum modalityEEnum = null; + /** * Creates an instance of the model Package, registered with * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package @@ -467,6 +484,16 @@ public class CftPackageImpl extends EPackageImpl implements CftPackage { return (EAttribute)componentEClass.getEStructuralFeatures().get(3); } + /** + * + * + * @generated + */ + @Override + public EAttribute getComponent_MultipleAllowed() { + return (EAttribute)componentEClass.getEStructuralFeatures().get(4); + } + /** * * @@ -577,6 +604,36 @@ public class CftPackageImpl extends EPackageImpl implements CftPackage { return (EReference)connectionEClass.getEStructuralFeatures().get(1); } + /** + * + * + * @generated + */ + @Override + public EClass getModalElement() { + return modalElementEClass; + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getModalElement_Exists() { + return (EAttribute)modalElementEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EEnum getModality() { + return modalityEEnum; + } + /** * * @@ -643,6 +700,7 @@ public class CftPackageImpl extends EPackageImpl implements CftPackage { createEReference(componentEClass, COMPONENT__OUTPUTS); createEReference(componentEClass, COMPONENT__COMPONENT_DEFINITION); createEAttribute(componentEClass, COMPONENT__NAME); + createEAttribute(componentEClass, COMPONENT__MULTIPLE_ALLOWED); inputEClass = createEClass(INPUT); createEReference(inputEClass, INPUT__INPUT_EVENT); @@ -657,6 +715,12 @@ public class CftPackageImpl extends EPackageImpl implements CftPackage { connectionEClass = createEClass(CONNECTION); createEReference(connectionEClass, CONNECTION__INPUT); createEReference(connectionEClass, CONNECTION__OUTPUT); + + modalElementEClass = createEClass(MODAL_ELEMENT); + createEAttribute(modalElementEClass, MODAL_ELEMENT__EXISTS); + + // Create enums + modalityEEnum = createEEnum(MODALITY); } /** @@ -697,6 +761,8 @@ public class CftPackageImpl extends EPackageImpl implements CftPackage { andGateDefinitionEClass.getESuperTypes().add(this.getGateDefinition()); orGateDefinitionEClass.getESuperTypes().add(this.getGateDefinition()); kOfMGateDefinitionEClass.getESuperTypes().add(this.getGateDefinition()); + componentEClass.getESuperTypes().add(this.getModalElement()); + connectionEClass.getESuperTypes().add(this.getModalElement()); // Initialize classes, features, and operations; add parameters initEClass(componentDefinitionEClass, ComponentDefinition.class, "ComponentDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); @@ -736,6 +802,7 @@ public class CftPackageImpl extends EPackageImpl implements CftPackage { initEReference(getComponent_Outputs(), this.getOutput(), this.getOutput_Component(), "outputs", null, 0, -1, Component.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getComponent_ComponentDefinition(), this.getComponentDefinition(), null, "componentDefinition", null, 1, 1, Component.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getComponent_Name(), ecorePackage.getEString(), "name", null, 0, 1, Component.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getComponent_MultipleAllowed(), ecorePackage.getEBoolean(), "multipleAllowed", "false", 0, 1, Component.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(inputEClass, Input.class, "Input", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEReference(getInput_InputEvent(), this.getInputEvent(), null, "inputEvent", null, 1, 1, Input.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); @@ -751,6 +818,15 @@ public class CftPackageImpl extends EPackageImpl implements CftPackage { initEReference(getConnection_Input(), this.getInput(), this.getInput_IncomingConnections(), "input", null, 1, 1, Connection.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getConnection_Output(), this.getOutput(), this.getOutput_OutgoingConnections(), "output", null, 1, 1, Connection.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEClass(modalElementEClass, ModalElement.class, "ModalElement", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getModalElement_Exists(), this.getModality(), "exists", "MUST", 0, 1, ModalElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + // Initialize enums and add enum literals + initEEnum(modalityEEnum, Modality.class, "Modality"); + addEEnumLiteral(modalityEEnum, Modality.MAY); + addEEnumLiteral(modalityEEnum, Modality.CURRENT); + addEEnumLiteral(modalityEEnum, Modality.MUST); + // Create resource createResource(eNS_URI); } diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/ComponentImpl.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/ComponentImpl.java index 847b6ee1..dcbf7660 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/ComponentImpl.java +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/ComponentImpl.java @@ -6,6 +6,7 @@ import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage; import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Component; import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentDefinition; import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Input; +import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Modality; import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Output; import java.util.Collection; @@ -32,15 +33,37 @@ import org.eclipse.emf.ecore.util.InternalEList; * The following features are implemented: *

    *
      + *
    • {@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.ComponentImpl#getExists Exists}
    • *
    • {@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.ComponentImpl#getInputs Inputs}
    • *
    • {@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.ComponentImpl#getOutputs Outputs}
    • *
    • {@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.ComponentImpl#getComponentDefinition Component Definition}
    • *
    • {@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.ComponentImpl#getName Name}
    • + *
    • {@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.ComponentImpl#isMultipleAllowed Multiple Allowed}
    • *
    * * @generated */ public class ComponentImpl extends MinimalEObjectImpl.Container implements Component { + /** + * The default value of the '{@link #getExists() Exists}' attribute. + * + * + * @see #getExists() + * @generated + * @ordered + */ + protected static final Modality EXISTS_EDEFAULT = Modality.MUST; + + /** + * The cached value of the '{@link #getExists() Exists}' attribute. + * + * + * @see #getExists() + * @generated + * @ordered + */ + protected Modality exists = EXISTS_EDEFAULT; + /** * The cached value of the '{@link #getInputs() Inputs}' containment reference list. * @@ -91,6 +114,26 @@ public class ComponentImpl extends MinimalEObjectImpl.Container implements Compo */ protected String name = NAME_EDEFAULT; + /** + * The default value of the '{@link #isMultipleAllowed() Multiple Allowed}' attribute. + * + * + * @see #isMultipleAllowed() + * @generated + * @ordered + */ + protected static final boolean MULTIPLE_ALLOWED_EDEFAULT = false; + + /** + * The cached value of the '{@link #isMultipleAllowed() Multiple Allowed}' attribute. + * + * + * @see #isMultipleAllowed() + * @generated + * @ordered + */ + protected boolean multipleAllowed = MULTIPLE_ALLOWED_EDEFAULT; + /** * * @@ -199,6 +242,52 @@ public class ComponentImpl extends MinimalEObjectImpl.Container implements Compo eNotify(new ENotificationImpl(this, Notification.SET, CftPackage.COMPONENT__NAME, oldName, name)); } + /** + * + * + * @generated + */ + @Override + public Modality getExists() { + return exists; + } + + /** + * + * + * @generated + */ + @Override + public void setExists(Modality newExists) { + Modality oldExists = exists; + exists = newExists == null ? EXISTS_EDEFAULT : newExists; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, CftPackage.COMPONENT__EXISTS, oldExists, exists)); + } + + /** + * + * + * @generated + */ + @Override + public boolean isMultipleAllowed() { + return multipleAllowed; + } + + /** + * + * + * @generated + */ + @Override + public void setMultipleAllowed(boolean newMultipleAllowed) { + boolean oldMultipleAllowed = multipleAllowed; + multipleAllowed = newMultipleAllowed; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, CftPackage.COMPONENT__MULTIPLE_ALLOWED, oldMultipleAllowed, multipleAllowed)); + } + /** * * @@ -240,6 +329,8 @@ public class ComponentImpl extends MinimalEObjectImpl.Container implements Compo @Override public Object eGet(int featureID, boolean resolve, boolean coreType) { switch (featureID) { + case CftPackage.COMPONENT__EXISTS: + return getExists(); case CftPackage.COMPONENT__INPUTS: return getInputs(); case CftPackage.COMPONENT__OUTPUTS: @@ -249,6 +340,8 @@ public class ComponentImpl extends MinimalEObjectImpl.Container implements Compo return basicGetComponentDefinition(); case CftPackage.COMPONENT__NAME: return getName(); + case CftPackage.COMPONENT__MULTIPLE_ALLOWED: + return isMultipleAllowed(); } return super.eGet(featureID, resolve, coreType); } @@ -262,6 +355,9 @@ public class ComponentImpl extends MinimalEObjectImpl.Container implements Compo @Override public void eSet(int featureID, Object newValue) { switch (featureID) { + case CftPackage.COMPONENT__EXISTS: + setExists((Modality)newValue); + return; case CftPackage.COMPONENT__INPUTS: getInputs().clear(); getInputs().addAll((Collection)newValue); @@ -276,6 +372,9 @@ public class ComponentImpl extends MinimalEObjectImpl.Container implements Compo case CftPackage.COMPONENT__NAME: setName((String)newValue); return; + case CftPackage.COMPONENT__MULTIPLE_ALLOWED: + setMultipleAllowed((Boolean)newValue); + return; } super.eSet(featureID, newValue); } @@ -288,6 +387,9 @@ public class ComponentImpl extends MinimalEObjectImpl.Container implements Compo @Override public void eUnset(int featureID) { switch (featureID) { + case CftPackage.COMPONENT__EXISTS: + setExists(EXISTS_EDEFAULT); + return; case CftPackage.COMPONENT__INPUTS: getInputs().clear(); return; @@ -300,6 +402,9 @@ public class ComponentImpl extends MinimalEObjectImpl.Container implements Compo case CftPackage.COMPONENT__NAME: setName(NAME_EDEFAULT); return; + case CftPackage.COMPONENT__MULTIPLE_ALLOWED: + setMultipleAllowed(MULTIPLE_ALLOWED_EDEFAULT); + return; } super.eUnset(featureID); } @@ -312,6 +417,8 @@ public class ComponentImpl extends MinimalEObjectImpl.Container implements Compo @Override public boolean eIsSet(int featureID) { switch (featureID) { + case CftPackage.COMPONENT__EXISTS: + return exists != EXISTS_EDEFAULT; case CftPackage.COMPONENT__INPUTS: return inputs != null && !inputs.isEmpty(); case CftPackage.COMPONENT__OUTPUTS: @@ -320,6 +427,8 @@ public class ComponentImpl extends MinimalEObjectImpl.Container implements Compo return componentDefinition != null; case CftPackage.COMPONENT__NAME: return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); + case CftPackage.COMPONENT__MULTIPLE_ALLOWED: + return multipleAllowed != MULTIPLE_ALLOWED_EDEFAULT; } return super.eIsSet(featureID); } @@ -334,8 +443,12 @@ public class ComponentImpl extends MinimalEObjectImpl.Container implements Compo if (eIsProxy()) return super.toString(); StringBuilder result = new StringBuilder(super.toString()); - result.append(" (name: "); + result.append(" (exists: "); + result.append(exists); + result.append(", name: "); result.append(name); + result.append(", multipleAllowed: "); + result.append(multipleAllowed); result.append(')'); return result.toString(); } diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/ConnectionImpl.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/ConnectionImpl.java index 7506e4d7..aea86ed4 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/ConnectionImpl.java +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/ConnectionImpl.java @@ -5,6 +5,7 @@ package hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl; import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage; import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Connection; import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Input; +import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Modality; import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Output; import org.eclipse.emf.common.notify.Notification; @@ -26,6 +27,7 @@ import org.eclipse.emf.ecore.util.EcoreUtil; * The following features are implemented: *

    *
      + *
    • {@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.ConnectionImpl#getExists Exists}
    • *
    • {@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.ConnectionImpl#getInput Input}
    • *
    • {@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.ConnectionImpl#getOutput Output}
    • *
    @@ -33,6 +35,26 @@ import org.eclipse.emf.ecore.util.EcoreUtil; * @generated */ public class ConnectionImpl extends MinimalEObjectImpl.Container implements Connection { + /** + * The default value of the '{@link #getExists() Exists}' attribute. + * + * + * @see #getExists() + * @generated + * @ordered + */ + protected static final Modality EXISTS_EDEFAULT = Modality.MUST; + + /** + * The cached value of the '{@link #getExists() Exists}' attribute. + * + * + * @see #getExists() + * @generated + * @ordered + */ + protected Modality exists = EXISTS_EDEFAULT; + /** * The cached value of the '{@link #getOutput() Output}' reference. * @@ -167,6 +189,29 @@ public class ConnectionImpl extends MinimalEObjectImpl.Container implements Conn eNotify(new ENotificationImpl(this, Notification.SET, CftPackage.CONNECTION__OUTPUT, newOutput, newOutput)); } + /** + * + * + * @generated + */ + @Override + public Modality getExists() { + return exists; + } + + /** + * + * + * @generated + */ + @Override + public void setExists(Modality newExists) { + Modality oldExists = exists; + exists = newExists == null ? EXISTS_EDEFAULT : newExists; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, CftPackage.CONNECTION__EXISTS, oldExists, exists)); + } + /** * * @@ -225,6 +270,8 @@ public class ConnectionImpl extends MinimalEObjectImpl.Container implements Conn @Override public Object eGet(int featureID, boolean resolve, boolean coreType) { switch (featureID) { + case CftPackage.CONNECTION__EXISTS: + return getExists(); case CftPackage.CONNECTION__INPUT: return getInput(); case CftPackage.CONNECTION__OUTPUT: @@ -242,6 +289,9 @@ public class ConnectionImpl extends MinimalEObjectImpl.Container implements Conn @Override public void eSet(int featureID, Object newValue) { switch (featureID) { + case CftPackage.CONNECTION__EXISTS: + setExists((Modality)newValue); + return; case CftPackage.CONNECTION__INPUT: setInput((Input)newValue); return; @@ -260,6 +310,9 @@ public class ConnectionImpl extends MinimalEObjectImpl.Container implements Conn @Override public void eUnset(int featureID) { switch (featureID) { + case CftPackage.CONNECTION__EXISTS: + setExists(EXISTS_EDEFAULT); + return; case CftPackage.CONNECTION__INPUT: setInput((Input)null); return; @@ -278,6 +331,8 @@ public class ConnectionImpl extends MinimalEObjectImpl.Container implements Conn @Override public boolean eIsSet(int featureID) { switch (featureID) { + case CftPackage.CONNECTION__EXISTS: + return exists != EXISTS_EDEFAULT; case CftPackage.CONNECTION__INPUT: return getInput() != null; case CftPackage.CONNECTION__OUTPUT: @@ -286,4 +341,20 @@ public class ConnectionImpl extends MinimalEObjectImpl.Container implements Conn return super.eIsSet(featureID); } + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuilder result = new StringBuilder(super.toString()); + result.append(" (exists: "); + result.append(exists); + result.append(')'); + return result.toString(); + } + } //ConnectionImpl diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/util/CftAdapterFactory.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/util/CftAdapterFactory.java index e3a40888..f5d3bf83 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/util/CftAdapterFactory.java +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/util/CftAdapterFactory.java @@ -124,6 +124,10 @@ public class CftAdapterFactory extends AdapterFactoryImpl { return createConnectionAdapter(); } @Override + public Adapter caseModalElement(ModalElement object) { + return createModalElementAdapter(); + } + @Override public Adapter defaultCase(EObject object) { return createEObjectAdapter(); } @@ -339,6 +343,20 @@ public class CftAdapterFactory extends AdapterFactoryImpl { return null; } + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ModalElement Modal Element}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ModalElement + * @generated + */ + public Adapter createModalElementAdapter() { + return null; + } + /** * Creates a new adapter for the default case. * diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/util/CftSwitch.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/util/CftSwitch.java index e32d792b..3c5a4fd9 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/util/CftSwitch.java +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/util/CftSwitch.java @@ -144,6 +144,7 @@ public class CftSwitch extends Switch { case CftPackage.COMPONENT: { Component component = (Component)theEObject; T result = caseComponent(component); + if (result == null) result = caseModalElement(component); if (result == null) result = defaultCase(theEObject); return result; } @@ -162,6 +163,13 @@ public class CftSwitch extends Switch { case CftPackage.CONNECTION: { Connection connection = (Connection)theEObject; T result = caseConnection(connection); + if (result == null) result = caseModalElement(connection); + if (result == null) result = defaultCase(theEObject); + return result; + } + case CftPackage.MODAL_ELEMENT: { + ModalElement modalElement = (ModalElement)theEObject; + T result = caseModalElement(modalElement); if (result == null) result = defaultCase(theEObject); return result; } @@ -379,6 +387,21 @@ public class CftSwitch extends Switch { return null; } + /** + * Returns the result of interpreting the object as an instance of 'Modal Element'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Modal Element'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseModalElement(ModalElement object) { + return null; + } + /** * Returns the result of interpreting the object as an instance of 'EObject'. * diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/model/cft.ecore b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/model/cft.ecore index 2fc15d94..a843aeed 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/model/cft.ecore +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/model/cft.ecore @@ -38,7 +38,7 @@ - + + - + + + + + + + + + diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/model/cft.genmodel b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/model/cft.genmodel index 635a2f46..3cdc93c4 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/model/cft.genmodel +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/model/cft.genmodel @@ -7,6 +7,11 @@ cft.ecore + + + + + @@ -41,6 +46,7 @@ + @@ -56,5 +62,8 @@ + + + diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/representations.aird b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/representations.aird index 16bc44f2..edd5ed20 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/representations.aird +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/representations.aird @@ -6,6 +6,7 @@ model/ft.genmodel http://www.eclipse.org/emf/2002/Ecore model/cft.genmodel + src/hu/bme/mit/inf/dslreasoner/faulttree/model/util/CftExtensions.xtend @@ -189,11 +190,15 @@ + + + + - + @@ -222,6 +227,40 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -429,7 +468,7 @@ - + @@ -460,7 +499,7 @@ - + @@ -519,7 +558,7 @@ - + @@ -559,6 +598,38 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -874,13 +945,13 @@ - + KEEP_LOCATION KEEP_SIZE KEEP_RATIO - + @@ -892,6 +963,14 @@ + + + + + + + + @@ -923,7 +1002,7 @@ KEEP_LOCATION KEEP_SIZE KEEP_RATIO - + @@ -972,13 +1051,13 @@ - + KEEP_LOCATION KEEP_SIZE KEEP_RATIO - + @@ -1024,6 +1103,85 @@ + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + italic + + + + + + + + + + + + + + + + + + + italic + + + + + + + + + + + + italic + + + + + diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/src/hu/bme/mit/inf/dslreasoner/faulttree/model/util/CftExtensions.xtend b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/src/hu/bme/mit/inf/dslreasoner/faulttree/model/util/CftExtensions.xtend new file mode 100644 index 00000000..ddf2c266 --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/src/hu/bme/mit/inf/dslreasoner/faulttree/model/util/CftExtensions.xtend @@ -0,0 +1,48 @@ +package hu.bme.mit.inf.dslreasoner.faulttree.model.util + +import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Component +import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Connection +import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ModalElement +import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Modality + +final class CftExtensions { + private new() { + throw new IllegalStateException("This is a static utility class and should not be instantiated directly.") + } + + static def isMoreConcreteThan(Modality newModality, Modality original) { + switch (original) { + case MAY: newModality != Modality.MAY + case CURRENT: newModality == Modality.MUST + case MUST: false + } + } + + static def currentlyExists(ModalElement element) { + element.exists != Modality.MAY + } + + static def mustExist(ModalElement element) { + element.exists == Modality.MUST + } + + static def appearsExactlyOnce(Component componentInstance) { + componentInstance.mustExist && !componentInstance.multipleAllowed + } + + /** + * Checks whether the connection and its target component are both currently present. + * + * A currently present connection without a present target component is a partial model error, + * so we throw an exception instead of returning false. + * + * @param connection The connection to check. + * @throws IllegalStateException When the target component is not currently present. + */ + static def isCurrentlyConnected(Connection connection) { + if (connection.output.component.currentlyExists) { + throw new IllegalStateException("Inconsistent partial model: current connection to a component that may not currently exist") + } + connection.currentlyExists + } +} diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/util/.CftExtensions.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/util/.CftExtensions.xtendbin new file mode 100644 index 00000000..a6c01277 Binary files /dev/null and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/util/.CftExtensions.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/util/.gitignore b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/util/.gitignore new file mode 100644 index 00000000..945e2c6c --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/util/.gitignore @@ -0,0 +1 @@ +/.CftExtensions.java._trace diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/util/CftExtensions.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/util/CftExtensions.java new file mode 100644 index 00000000..dbc6b279 --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/util/CftExtensions.java @@ -0,0 +1,69 @@ +package hu.bme.mit.inf.dslreasoner.faulttree.model.util; + +import com.google.common.base.Objects; +import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Component; +import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Connection; +import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ModalElement; +import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Modality; + +@SuppressWarnings("all") +public final class CftExtensions { + private CftExtensions() { + throw new IllegalStateException("This is a static utility class and should not be instantiated directly."); + } + + public static boolean isMoreConcreteThan(final Modality newModality, final Modality original) { + boolean _switchResult = false; + if (original != null) { + switch (original) { + case MAY: + _switchResult = (!Objects.equal(newModality, Modality.MAY)); + break; + case CURRENT: + _switchResult = Objects.equal(newModality, Modality.MUST); + break; + case MUST: + _switchResult = false; + break; + default: + break; + } + } + return _switchResult; + } + + public static boolean currentlyExists(final ModalElement element) { + Modality _exists = element.getExists(); + return (!Objects.equal(_exists, Modality.MAY)); + } + + public static boolean mustExist(final ModalElement element) { + Modality _exists = element.getExists(); + return Objects.equal(_exists, Modality.MUST); + } + + public static boolean appearsExactlyOnce(final Component componentInstance) { + return (CftExtensions.mustExist(componentInstance) && (!componentInstance.isMultipleAllowed())); + } + + /** + * Checks whether the connection and its target component are both currently present. + * + * A currently present connection without a present target component is a partial model error, + * so we throw an exception instead of returning false. + * + * @param connection The connection to check. + * @throws IllegalStateException When the target component is not currently present. + */ + public static boolean isCurrentlyConnected(final Connection connection) { + boolean _xblockexpression = false; + { + boolean _currentlyExists = CftExtensions.currentlyExists(connection.getOutput().getComponent()); + if (_currentlyExists) { + throw new IllegalStateException("Inconsistent partial model: current connection to a component that may not currently exist"); + } + _xblockexpression = CftExtensions.currentlyExists(connection); + } + return _xblockexpression; + } +} diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/META-INF/MANIFEST.MF b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/META-INF/MANIFEST.MF index ce704acf..5ee6a4f1 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/META-INF/MANIFEST.MF +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/META-INF/MANIFEST.MF @@ -15,7 +15,6 @@ Require-Bundle: com.google.guava, org.eclipse.viatra.query.runtime.localsearch, hu.bme.mit.inf.dslreasoner.faulttree.components, hu.bme.mit.inf.dslreasoner.logic.model, - com.github.jnr.constants;bundle-version="0.9.8", org.apache.commons.lang;bundle-version="2.6.0" Export-Package: hu.bme.mit.inf.dslreasoner.faulttree.transformation.cft2ft, hu.bme.mit.inf.dslreasoner.faulttree.transformation.ecore2cft, diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/EventMaterializer.xtend b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/EventMaterializer.xtend index c9aefe51..6b3ed0d0 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/EventMaterializer.xtend +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/EventMaterializer.xtend @@ -17,6 +17,8 @@ import java.util.Map import org.eclipse.emf.ecore.util.EcoreUtil import org.eclipse.xtend.lib.annotations.Data +import static extension hu.bme.mit.inf.dslreasoner.faulttree.model.util.CftExtensions.* + class EventMaterializer { extension val FtFactory = FtFactory.eINSTANCE @@ -169,8 +171,10 @@ class EventMaterializer { val input = findInput(component, inputEvent) val builder = EventCollection.builder for (connection : input.incomingConnections) { - val materializedEvent = getOrMaterialize(connection.output) - builder.add(materializedEvent) + if (connection.isCurrentlyConnected) { + val materializedEvent = getOrMaterialize(connection.output) + builder.add(materializedEvent) + } } builder.build } diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/ComponentFaultTreeTrace.xtend b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/ComponentFaultTreeTrace.xtend index 7a3e377b..10c91fb4 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/ComponentFaultTreeTrace.xtend +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/ComponentFaultTreeTrace.xtend @@ -2,6 +2,7 @@ package hu.bme.mit.inf.dslreasoner.faulttree.transformation.ecore2cft import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftFactory import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentDefinition +import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Modality import java.util.Map import org.eclipse.viatra.query.runtime.api.IPatternMatch import org.eclipse.xtend.lib.annotations.Accessors @@ -13,10 +14,16 @@ class ComponentFaultTreeTrace { val Map componentInstancesMap = newHashMap def instantiateComponent(IPatternMatch patternMatch, ComponentDefinition componenDefinition) { + instantiateComponent(patternMatch, componenDefinition, Modality.MUST, false) + } + + def instantiateComponent(IPatternMatch patternMatch, ComponentDefinition componenDefinition, Modality exists, + boolean allowMultiple) { if (componentInstancesMap.containsKey(patternMatch)) { throw new IllegalArgumentException("Already instantiated component for match: " + patternMatch) } - val componentTrace = new ComponentInstanceTrace(componentFaultTree, componenDefinition, nameGenerator) + val componentTrace = new ComponentInstanceTrace(componentFaultTree, componenDefinition, nameGenerator, + exists, allowMultiple) componentInstancesMap.put(patternMatch, componentTrace) componentTrace } @@ -30,6 +37,9 @@ class ComponentFaultTreeTrace { throw new IllegalArgumentException("Top level component must have 1 output, got " + outputs.size + " instead") } + if (!trace.appearsExactlyOnce) { + throw new IllegalArgumentException("Top level must appear in the fault tree exactly once") + } componentFaultTree.topEvent = outputs.head } diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/ComponentInstanceTrace.xtend b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/ComponentInstanceTrace.xtend index 7353bfe5..158ab2e1 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/ComponentInstanceTrace.xtend +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/ComponentInstanceTrace.xtend @@ -6,18 +6,23 @@ import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentDefinition import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentFaultTree import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.EventDeclaration import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.InputEvent +import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Modality import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Output import java.util.Map +import static extension hu.bme.mit.inf.dslreasoner.faulttree.model.util.CftExtensions.* + class ComponentInstanceTrace { val componentInstance = CftFactory.eINSTANCE.createComponent val Map inputEventsMap val Map outputEventsMap protected new(ComponentFaultTree faultTree, ComponentDefinition componentDefinition, - ComponentNameGenerator nameGenerator) { + ComponentNameGenerator nameGenerator, Modality exists, boolean multipleAllowed) { componentInstance.componentDefinition = componentDefinition componentInstance.name = nameGenerator.nextName(componentDefinition) + componentInstance.exists = exists + componentInstance.multipleAllowed = multipleAllowed inputEventsMap = Maps.newHashMapWithExpectedSize(componentDefinition.inputEvents.size) for (inputEvent : componentDefinition.inputEvents) { val inputTrace = new InputTrace(componentInstance, inputEvent) @@ -34,6 +39,11 @@ class ComponentInstanceTrace { } def void assign(EventDeclaration inputEvent, ComponentInstanceTrace sourceComponent, EventDeclaration outputEvent) { + assign(inputEvent, sourceComponent, outputEvent, Modality.MUST) + } + + def void assign(EventDeclaration inputEvent, ComponentInstanceTrace sourceComponent, EventDeclaration outputEvent, + Modality exists) { val inputTrace = inputEventsMap.get(inputEvent) if (inputTrace === null) { throw new IllegalArgumentException("Unknown input: " + inputEvent) @@ -42,10 +52,14 @@ class ComponentInstanceTrace { if (output === null) { throw new IllegalArgumentException("Unknown output: " + outputEvent) } - inputTrace.assign(output) + inputTrace.assign(output, exists) } protected def getOutputs() { componentInstance.outputs } + + protected def appearsExactlyOnce() { + componentInstance.appearsExactlyOnce + } } diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/InputTrace.xtend b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/InputTrace.xtend index c529a09b..b892eff1 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/InputTrace.xtend +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/InputTrace.xtend @@ -5,9 +5,12 @@ import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Component import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Connection import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Input import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.InputEvent +import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Modality import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Output import java.util.Map +import static extension hu.bme.mit.inf.dslreasoner.faulttree.model.util.CftExtensions.* + class InputTrace { val Input input = CftFactory.eINSTANCE.createInput val Map connectionsMap = newHashMap @@ -17,13 +20,16 @@ class InputTrace { component.inputs += input } - def void assign(Output output) { + def void assign(Output output, Modality exists) { val connection = connectionsMap.get(output) if (connection === null) { val newConnection = CftFactory.eINSTANCE.createConnection newConnection.output = output + newConnection.exists = exists input.incomingConnections += newConnection connectionsMap.put(output, newConnection) + } else if (exists.isMoreConcreteThan(connection.exists)) { + connection.exists = exists } } } diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ft2galileo/Ft2GalileoTransformation.xtend b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ft2galileo/Ft2GalileoTransformation.xtend index 732d9fed..4a19e2cd 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ft2galileo/Ft2GalileoTransformation.xtend +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ft2galileo/Ft2GalileoTransformation.xtend @@ -14,14 +14,15 @@ import org.eclipse.xtend2.lib.StringConcatenationClient class Ft2GalileoTransformation { def toGalileo(FaultTree faultTree) ''' - toplevel «faultTree.topEvent.name»; + toplevel "«faultTree.topEvent.name»"; «FOR event : faultTree.events» - «event.name» «defineEvent(event)»; + "«event.name»" «defineEvent(event)»; «ENDFOR» ''' protected dispatch def defineEvent(BasicEvent basicEvent) { - defineDistribution(basicEvent.distribution) + // ft-diet (https://moves.rwth-aachen.de/ft-diet/) needs a dormancy factor. + '''«defineDistribution(basicEvent.distribution)» dorm=0.0''' } protected dispatch def StringConcatenationClient defineDistribution(ConstantDistribution distribution) { @@ -37,7 +38,7 @@ class Ft2GalileoTransformation { } protected dispatch def StringConcatenationClient defineEvent(Gate gate) { - '''«defineGate(gate)» «FOR input : gate.inputEvents SEPARATOR " "»«input.name»«ENDFOR»''' + '''«defineGate(gate)» «FOR input : gate.inputEvents SEPARATOR " "»"«input.name»"«ENDFOR»''' } protected dispatch def StringConcatenationClient defineGate(AndGate gate) '''and''' diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/StormDftHandler.xtend b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/StormDftHandler.xtend index 91c6a0d0..a250a955 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/StormDftHandler.xtend +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/StormDftHandler.xtend @@ -8,8 +8,6 @@ import java.io.IOException import java.io.InputStream import java.io.InputStreamReader import java.util.regex.Pattern -import jnr.constants.platform.Signal -import org.apache.commons.lang.SystemUtils class StormDftException extends RuntimeException { new(String s) { @@ -29,8 +27,9 @@ class StormDftHandler { static val RESULT_REGEX = '''^Result:\s*\[(?:(?<«SINGLE_RESULT_GROUP»>«DOUBLE_REGEX»)|\((?<«LOWER_BOUND_GROUP»>«DOUBLE_REGEX»),\s*(?<«UPPER_BOUND_GROUP»>«DOUBLE_REGEX»)\))\]''' static val RESULT_PATTERN = Pattern.compile(RESULT_REGEX) - // See http://hg.openjdk.java.net/jdk7/jdk7/jdk/file/jdk7-b147/src/solaris/native/java/lang/UNIXProcess_md.c#l332 - static val SIGNAL_EXIT_VALUE_OFFSET = if(SystemUtils.IS_OS_SOLARIS) 0 else 0x80 + static val SIGNAL_EXIT_VALUE_OFFSET = 0x80 + static val SIGXCPU = 24 + static val SIGXFSZ = 25 static val STORM_GENERAL_ERROR = (-1).bitwiseAnd(0xff) static val STORM_TIMEOUT = (-2).bitwiseAnd(0xff) @@ -166,18 +165,15 @@ class StormDftHandler { case STORM_GENERAL_ERROR: throw new StormDftException("Storm error: " + error) case STORM_TIMEOUT, - case SIGNAL_EXIT_VALUE_OFFSET + Signal.SIGXCPU.intValue: + case SIGNAL_EXIT_VALUE_OFFSET + SIGXCPU: ReliabilityResult.TIMEOUT case STORM_MEMOUT, - case SIGNAL_EXIT_VALUE_OFFSET + Signal.SIGXFSZ.intValue: + case SIGNAL_EXIT_VALUE_OFFSET + SIGXFSZ: ReliabilityResult.MEMOUT default: { if (exitValue > SIGNAL_EXIT_VALUE_OFFSET) { val signalNumber = exitValue - SIGNAL_EXIT_VALUE_OFFSET - val signal = Signal.values.findFirst[intValue == signalNumber] - if (signal !== null) { - throw new StormDftException("Storm unexpectedly killed by signal " + signal + ": " + error) - } + throw new StormDftException("Storm unexpectedly killed by signal " + signalNumber + ": " + error) } throw new StormDftException("Storm unexpectedly exit with status " + exitValue + ": " + error) } diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/.Cft2FtTransformation.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/.Cft2FtTransformation.xtendbin index 226e6227..f68d0464 100644 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/.Cft2FtTransformation.xtendbin and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/.Cft2FtTransformation.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/.EventCollection.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/.EventCollection.xtendbin index 54ba3d09..6aebfa85 100644 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/.EventCollection.xtendbin and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/.EventCollection.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/.EventMaterializer.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/.EventMaterializer.xtendbin index 175ae3f1..323f40b2 100644 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/.EventMaterializer.xtendbin and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/.EventMaterializer.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/.FaultTreeBuilder.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/.FaultTreeBuilder.xtendbin index db3a7e73..45b228d3 100644 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/.FaultTreeBuilder.xtendbin and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/.FaultTreeBuilder.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/.gitignore b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/.gitignore index 75154a4c..058cff19 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/.gitignore +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/.gitignore @@ -6,3 +6,11 @@ /.FaultTreeBuilder.java._trace /.FaultModelBuilder.java._trace /.EventCollection.java._trace +/.Cft2FtTransformation.xtendbin +/.EventCollection.xtendbin +/.EventMaterializer.xtendbin +/.FaultTreeBuilder.xtendbin +/Cft2FtTransformation.java +/EventCollection.java +/EventMaterializer.java +/FaultTreeBuilder.java diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/EventMaterializer.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/EventMaterializer.java index ac1fc209..98a82b7d 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/EventMaterializer.java +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/EventMaterializer.java @@ -22,6 +22,7 @@ import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.Gate; import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.KOfMGate; import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.OrGate; import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.RandomEvent; +import hu.bme.mit.inf.dslreasoner.faulttree.model.util.CftExtensions; import hu.bme.mit.inf.dslreasoner.faulttree.transformation.cft2ft.EventCollection; import java.util.LinkedHashSet; import java.util.Map; @@ -416,7 +417,8 @@ public class EventMaterializer { final EventCollection.Builder builder = EventCollection.builder(); EList _incomingConnections = input.getIncomingConnections(); for (final Connection connection : _incomingConnections) { - { + boolean _isCurrentlyConnected = CftExtensions.isCurrentlyConnected(connection); + if (_isCurrentlyConnected) { final Event materializedEvent = this.getOrMaterialize(connection.getOutput()); builder.add(materializedEvent); } diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.ComponentFaultTreeTrace.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.ComponentFaultTreeTrace.xtendbin index f705fefe..59a21d5c 100644 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.ComponentFaultTreeTrace.xtendbin and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.ComponentFaultTreeTrace.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.ComponentInstanceTrace.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.ComponentInstanceTrace.xtendbin index bab76345..0a5c81fe 100644 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.ComponentInstanceTrace.xtendbin and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.ComponentInstanceTrace.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.ComponentNameGenerator.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.ComponentNameGenerator.xtendbin index 257bfc56..87965646 100644 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.ComponentNameGenerator.xtendbin and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.ComponentNameGenerator.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.Ecore2CftTransformation.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.Ecore2CftTransformation.xtendbin index a1339a18..cd930545 100644 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.Ecore2CftTransformation.xtendbin and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.Ecore2CftTransformation.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.InputTrace.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.InputTrace.xtendbin index ba19d0fb..2f779ecb 100644 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.InputTrace.xtendbin and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.InputTrace.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.LookupHandler.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.LookupHandler.xtendbin index 1e8612b2..93bad7e0 100644 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.LookupHandler.xtendbin and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.LookupHandler.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.MappingHandler.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.MappingHandler.xtendbin index ebe80f2e..fde76cfd 100644 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.MappingHandler.xtendbin and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.MappingHandler.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.MappingQueries.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.MappingQueries.xtendbin index 03bd16f8..4754c634 100644 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.MappingQueries.xtendbin and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.MappingQueries.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.gitignore b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.gitignore index 33bb70d4..377aa872 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.gitignore +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.gitignore @@ -7,3 +7,19 @@ /.CftTransformation.java._trace /.Ecore2CftTransformation.java._trace /.ComponentNameGenerator.java._trace +/.ComponentFaultTreeTrace.xtendbin +/.ComponentInstanceTrace.xtendbin +/.ComponentNameGenerator.xtendbin +/.Ecore2CftTransformation.xtendbin +/.InputTrace.xtendbin +/.LookupHandler.xtendbin +/.MappingHandler.xtendbin +/.MappingQueries.xtendbin +/ComponentFaultTreeTrace.java +/ComponentInstanceTrace.java +/ComponentNameGenerator.java +/Ecore2CftTransformation.java +/InputTrace.java +/LookupHandler.java +/MappingHandler.java +/MappingQueries.java diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/ComponentFaultTreeTrace.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/ComponentFaultTreeTrace.java index 46e711d9..ddcf9036 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/ComponentFaultTreeTrace.java +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/ComponentFaultTreeTrace.java @@ -3,6 +3,7 @@ package hu.bme.mit.inf.dslreasoner.faulttree.transformation.ecore2cft; import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftFactory; import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentDefinition; import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentFaultTree; +import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Modality; import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Output; import hu.bme.mit.inf.dslreasoner.faulttree.transformation.ecore2cft.ComponentInstanceTrace; import hu.bme.mit.inf.dslreasoner.faulttree.transformation.ecore2cft.ComponentNameGenerator; @@ -24,13 +25,17 @@ public class ComponentFaultTreeTrace { private final Map componentInstancesMap = CollectionLiterals.newHashMap(); public ComponentInstanceTrace instantiateComponent(final IPatternMatch patternMatch, final ComponentDefinition componenDefinition) { + return this.instantiateComponent(patternMatch, componenDefinition, Modality.MUST, false); + } + + public ComponentInstanceTrace instantiateComponent(final IPatternMatch patternMatch, final ComponentDefinition componenDefinition, final Modality exists, final boolean allowMultiple) { ComponentInstanceTrace _xblockexpression = null; { boolean _containsKey = this.componentInstancesMap.containsKey(patternMatch); if (_containsKey) { throw new IllegalArgumentException(("Already instantiated component for match: " + patternMatch)); } - final ComponentInstanceTrace componentTrace = new ComponentInstanceTrace(this.componentFaultTree, componenDefinition, this.nameGenerator); + final ComponentInstanceTrace componentTrace = new ComponentInstanceTrace(this.componentFaultTree, componenDefinition, this.nameGenerator, exists, allowMultiple); this.componentInstancesMap.put(patternMatch, componentTrace); _xblockexpression = componentTrace; } @@ -53,6 +58,11 @@ public class ComponentFaultTreeTrace { " instead"); throw new IllegalArgumentException(_plus_1); } + boolean _appearsExactlyOnce = trace.appearsExactlyOnce(); + boolean _not = (!_appearsExactlyOnce); + if (_not) { + throw new IllegalArgumentException("Top level must appear in the fault tree exactly once"); + } this.componentFaultTree.setTopEvent(IterableExtensions.head(outputs)); } diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/ComponentInstanceTrace.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/ComponentInstanceTrace.java index 840f501d..4034bdf3 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/ComponentInstanceTrace.java +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/ComponentInstanceTrace.java @@ -7,7 +7,9 @@ import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentDefinition; import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentFaultTree; import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.EventDeclaration; import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.InputEvent; +import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Modality; import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Output; +import hu.bme.mit.inf.dslreasoner.faulttree.model.util.CftExtensions; import hu.bme.mit.inf.dslreasoner.faulttree.transformation.ecore2cft.ComponentNameGenerator; import hu.bme.mit.inf.dslreasoner.faulttree.transformation.ecore2cft.InputTrace; import java.util.Map; @@ -21,9 +23,11 @@ public class ComponentInstanceTrace { private final Map outputEventsMap; - protected ComponentInstanceTrace(final ComponentFaultTree faultTree, final ComponentDefinition componentDefinition, final ComponentNameGenerator nameGenerator) { + protected ComponentInstanceTrace(final ComponentFaultTree faultTree, final ComponentDefinition componentDefinition, final ComponentNameGenerator nameGenerator, final Modality exists, final boolean multipleAllowed) { this.componentInstance.setComponentDefinition(componentDefinition); this.componentInstance.setName(nameGenerator.nextName(componentDefinition)); + this.componentInstance.setExists(exists); + this.componentInstance.setMultipleAllowed(multipleAllowed); this.inputEventsMap = Maps.newHashMapWithExpectedSize(componentDefinition.getInputEvents().size()); EList _inputEvents = componentDefinition.getInputEvents(); for (final InputEvent inputEvent : _inputEvents) { @@ -48,6 +52,10 @@ public class ComponentInstanceTrace { } public void assign(final EventDeclaration inputEvent, final ComponentInstanceTrace sourceComponent, final EventDeclaration outputEvent) { + this.assign(inputEvent, sourceComponent, outputEvent, Modality.MUST); + } + + public void assign(final EventDeclaration inputEvent, final ComponentInstanceTrace sourceComponent, final EventDeclaration outputEvent, final Modality exists) { final InputTrace inputTrace = this.inputEventsMap.get(inputEvent); if ((inputTrace == null)) { throw new IllegalArgumentException(("Unknown input: " + inputEvent)); @@ -56,10 +64,14 @@ public class ComponentInstanceTrace { if ((output == null)) { throw new IllegalArgumentException(("Unknown output: " + outputEvent)); } - inputTrace.assign(output); + inputTrace.assign(output, exists); } protected EList getOutputs() { return this.componentInstance.getOutputs(); } + + protected boolean appearsExactlyOnce() { + return CftExtensions.appearsExactlyOnce(this.componentInstance); + } } diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/InputTrace.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/InputTrace.java index c12f2bae..2b30566f 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/InputTrace.java +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/InputTrace.java @@ -5,7 +5,9 @@ import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Component; import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Connection; import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Input; import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.InputEvent; +import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Modality; import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Output; +import hu.bme.mit.inf.dslreasoner.faulttree.model.util.CftExtensions; import java.util.Map; import org.eclipse.emf.common.util.EList; import org.eclipse.xtext.xbase.lib.CollectionLiterals; @@ -22,14 +24,20 @@ public class InputTrace { _inputs.add(this.input); } - public void assign(final Output output) { + public void assign(final Output output, final Modality exists) { final Connection connection = this.connectionsMap.get(output); if ((connection == null)) { final Connection newConnection = CftFactory.eINSTANCE.createConnection(); newConnection.setOutput(output); + newConnection.setExists(exists); EList _incomingConnections = this.input.getIncomingConnections(); _incomingConnections.add(newConnection); this.connectionsMap.put(output, newConnection); + } else { + boolean _isMoreConcreteThan = CftExtensions.isMoreConcreteThan(exists, connection.getExists()); + if (_isMoreConcreteThan) { + connection.setExists(exists); + } } } } diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ft2galileo/.Ft2GalileoTransformation.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ft2galileo/.Ft2GalileoTransformation.xtendbin index 9fe75a0f..25ddc417 100644 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ft2galileo/.Ft2GalileoTransformation.xtendbin and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ft2galileo/.Ft2GalileoTransformation.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ft2galileo/.gitignore b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ft2galileo/.gitignore index 3f932890..f4610b04 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ft2galileo/.gitignore +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ft2galileo/.gitignore @@ -1 +1,3 @@ /.Ft2GalileoTransformation.java._trace +/.Ft2GalileoTransformation.xtendbin +/Ft2GalileoTransformation.java diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ft2galileo/Ft2GalileoTransformation.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ft2galileo/Ft2GalileoTransformation.java index e900c62a..8748825d 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ft2galileo/Ft2GalileoTransformation.java +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ft2galileo/Ft2GalileoTransformation.java @@ -19,18 +19,19 @@ import org.eclipse.xtend2.lib.StringConcatenationClient; public class Ft2GalileoTransformation { public CharSequence toGalileo(final FaultTree faultTree) { StringConcatenation _builder = new StringConcatenation(); - _builder.append("toplevel "); + _builder.append("toplevel \""); String _name = faultTree.getTopEvent().getName(); _builder.append(_name); - _builder.append(";"); + _builder.append("\";"); _builder.newLineIfNotEmpty(); { EList _events = faultTree.getEvents(); for(final RandomEvent event : _events) { + _builder.append("\""); String _name_1 = event.getName(); _builder.append(_name_1); - _builder.append(" "); - StringConcatenationClient _defineEvent = this.defineEvent(event); + _builder.append("\" "); + Object _defineEvent = this.defineEvent(event); _builder.append(_defineEvent); _builder.append(";"); _builder.newLineIfNotEmpty(); @@ -39,8 +40,12 @@ public class Ft2GalileoTransformation { return _builder; } - protected StringConcatenationClient _defineEvent(final BasicEvent basicEvent) { - return this.defineDistribution(basicEvent.getDistribution()); + protected Object _defineEvent(final BasicEvent basicEvent) { + StringConcatenation _builder = new StringConcatenation(); + StringConcatenationClient _defineDistribution = this.defineDistribution(basicEvent.getDistribution()); + _builder.append(_defineDistribution); + _builder.append(" dorm=0.0"); + return _builder; } protected StringConcatenationClient _defineDistribution(final ConstantDistribution distribution) { @@ -87,8 +92,10 @@ public class Ft2GalileoTransformation { } else { _builder.appendImmediate(" ", ""); } + _builder.append("\""); String _name = input.getName(); _builder.append(_name); + _builder.append("\""); } } } @@ -138,7 +145,7 @@ public class Ft2GalileoTransformation { throw new IllegalArgumentException(("Unknown random even: " + randomEvent)); } - protected StringConcatenationClient defineEvent(final RandomEvent basicEvent) { + protected Object defineEvent(final RandomEvent basicEvent) { if (basicEvent instanceof BasicEvent) { return _defineEvent((BasicEvent)basicEvent); } else if (basicEvent instanceof Gate) { diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/.ReliabilityResult.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/.ReliabilityResult.xtendbin index 57c4608d..552c946a 100644 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/.ReliabilityResult.xtendbin and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/.ReliabilityResult.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/.StormDftConfiguration.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/.StormDftConfiguration.xtendbin index f5cb52f4..a3f9c647 100644 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/.StormDftConfiguration.xtendbin and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/.StormDftConfiguration.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/.StormDftHandler.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/.StormDftHandler.xtendbin index 5dad0728..d7f66fd0 100644 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/.StormDftHandler.xtendbin and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/.StormDftHandler.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/.StormDftSolver.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/.StormDftSolver.xtendbin index abd8a501..b9fdf395 100644 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/.StormDftSolver.xtendbin and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/.StormDftSolver.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/.gitignore b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/.gitignore index 59cc8fe8..8a74c101 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/.gitignore +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/.gitignore @@ -7,3 +7,14 @@ /.StormDftException.java._trace /.ReliabilityModelSolution.java._trace /.ReliabilityResult.java._trace +/.ReliabilityResult.xtendbin +/.StormDftConfiguration.xtendbin +/.StormDftHandler.xtendbin +/.StormDftSolver.xtendbin +/ApproximationHeuristic.java +/FtAnalysisObjective.java +/ReliabilityResult.java +/StormDftConfiguration.java +/StormDftException.java +/StormDftHandler.java +/StormDftSolver.java diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/StormDftHandler.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/StormDftHandler.java index 003d9cc5..46127425 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/StormDftHandler.java +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/StormDftHandler.java @@ -16,15 +16,11 @@ import java.io.InputStreamReader; import java.util.ArrayList; import java.util.regex.Matcher; import java.util.regex.Pattern; -import jnr.constants.platform.Signal; -import org.apache.commons.lang.SystemUtils; import org.eclipse.xtend2.lib.StringConcatenation; import org.eclipse.xtext.xbase.lib.CollectionLiterals; -import org.eclipse.xtext.xbase.lib.Conversions; import org.eclipse.xtext.xbase.lib.Exceptions; import org.eclipse.xtext.xbase.lib.Extension; import org.eclipse.xtext.xbase.lib.Functions.Function0; -import org.eclipse.xtext.xbase.lib.Functions.Function1; import org.eclipse.xtext.xbase.lib.InputOutput; import org.eclipse.xtext.xbase.lib.IterableExtensions; @@ -60,17 +56,11 @@ public class StormDftHandler { private static final Pattern RESULT_PATTERN = Pattern.compile(StormDftHandler.RESULT_REGEX); - private static final int SIGNAL_EXIT_VALUE_OFFSET = new Function0() { - public Integer apply() { - int _xifexpression = (int) 0; - if (SystemUtils.IS_OS_SOLARIS) { - _xifexpression = 0; - } else { - _xifexpression = 0x80; - } - return _xifexpression; - } - }.apply().intValue(); + private static final int SIGNAL_EXIT_VALUE_OFFSET = 0x80; + + private static final int SIGXCPU = 24; + + private static final int SIGXFSZ = 25; private static final int STORM_GENERAL_ERROR = ((-1) & 0xff); @@ -305,9 +295,7 @@ public class StormDftHandler { _matched=true; } if (!_matched) { - int _intValue = Signal.SIGXCPU.intValue(); - int _plus = (StormDftHandler.SIGNAL_EXIT_VALUE_OFFSET + _intValue); - if (Objects.equal(exitValue, _plus)) { + if (Objects.equal(exitValue, (StormDftHandler.SIGNAL_EXIT_VALUE_OFFSET + StormDftHandler.SIGXCPU))) { _matched=true; } } @@ -320,9 +308,7 @@ public class StormDftHandler { _matched=true; } if (!_matched) { - int _intValue_1 = Signal.SIGXFSZ.intValue(); - int _plus_1 = (StormDftHandler.SIGNAL_EXIT_VALUE_OFFSET + _intValue_1); - if (Objects.equal(exitValue, _plus_1)) { + if (Objects.equal(exitValue, (StormDftHandler.SIGNAL_EXIT_VALUE_OFFSET + StormDftHandler.SIGXFSZ))) { _matched=true; } } @@ -334,14 +320,7 @@ public class StormDftHandler { { if ((exitValue > StormDftHandler.SIGNAL_EXIT_VALUE_OFFSET)) { final int signalNumber = (exitValue - StormDftHandler.SIGNAL_EXIT_VALUE_OFFSET); - final Function1 _function = (Signal it) -> { - int _intValue_2 = it.intValue(); - return Boolean.valueOf((_intValue_2 == signalNumber)); - }; - final Signal signal = IterableExtensions.findFirst(((Iterable)Conversions.doWrapArray(Signal.values())), _function); - if ((signal != null)) { - throw new StormDftException(((("Storm unexpectedly killed by signal " + signal) + ": ") + error)); - } + throw new StormDftException(((("Storm unexpectedly killed by signal " + Integer.valueOf(signalNumber)) + ": ") + error)); } throw new StormDftException(((("Storm unexpectedly exit with status " + Integer.valueOf(exitValue)) + ": ") + error)); } diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.ui/.classpath b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.ui/.classpath new file mode 100644 index 00000000..428337e5 --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.ui/.classpath @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.ui/.project b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.ui/.project new file mode 100644 index 00000000..98f85839 --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.ui/.project @@ -0,0 +1,34 @@ + + + hu.bme.mit.inf.dslreasoner.faulttree.ui + + + + + + org.eclipse.xtext.ui.shared.xtextBuilder + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.pde.ManifestBuilder + + + + + org.eclipse.pde.SchemaBuilder + + + + + + org.eclipse.pde.PluginNature + org.eclipse.jdt.core.javanature + org.eclipse.xtext.ui.shared.xtextNature + + diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.ui/.settings/org.eclipse.jdt.core.prefs b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.ui/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 00000000..0c68a61d --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.ui/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,7 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8 +org.eclipse.jdt.core.compiler.compliance=1.8 +org.eclipse.jdt.core.compiler.problem.assertIdentifier=error +org.eclipse.jdt.core.compiler.problem.enumIdentifier=error +org.eclipse.jdt.core.compiler.source=1.8 diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.ui/META-INF/MANIFEST.MF b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.ui/META-INF/MANIFEST.MF new file mode 100644 index 00000000..59c1c5f7 --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.ui/META-INF/MANIFEST.MF @@ -0,0 +1,25 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: Ui +Bundle-SymbolicName: hu.bme.mit.inf.dslreasoner.faulttree.ui;singleton:=true +Bundle-Version: 1.0.0.qualifier +Bundle-Activator: hu.bme.mit.inf.dslreasoner.faulttree.ui.Activator +Require-Bundle: org.eclipse.ui, + org.eclipse.core.runtime, + com.google.guava, + org.eclipse.xtext.xbase.lib, + org.eclipse.xtend.lib, + org.eclipse.xtend.lib.macro, + org.eclipse.core.resources, + org.eclipse.emf.ecore, + org.eclipse.viatra.query.runtime, + org.eclipse.viatra.query.runtime.rete, + org.eclipse.viatra.query.runtime.localsearch, + hu.bme.mit.inf.dslreasoner.logic.model, + hu.bme.mit.inf.dslreasoner.faulttree.components, + hu.bme.mit.inf.dslreasoner.faulttree.transformation, + hu.bme.mit.inf.dslreasoner.application, + hu.bme.mit.inf.dslreasoner.application.ui +Bundle-RequiredExecutionEnvironment: JavaSE-1.8 +Automatic-Module-Name: hu.bme.mit.inf.dslreasoner.faulttree.ui +Bundle-ActivationPolicy: lazy diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.ui/bin/.gitignore b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.ui/bin/.gitignore new file mode 100644 index 00000000..1c0a02cd --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.ui/bin/.gitignore @@ -0,0 +1 @@ +/hu/ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.ui/build.properties b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.ui/build.properties new file mode 100644 index 00000000..e9863e28 --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.ui/build.properties @@ -0,0 +1,5 @@ +source.. = src/ +output.. = bin/ +bin.includes = META-INF/,\ + .,\ + plugin.xml diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.ui/plugin.xml b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.ui/plugin.xml new file mode 100644 index 00000000..8a01c50c --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.ui/plugin.xml @@ -0,0 +1,25 @@ + + + + + + + + + + + + + + + diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.ui/src/hu/bme/mit/inf/dslreasoner/faulttree/ui/Activator.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.ui/src/hu/bme/mit/inf/dslreasoner/faulttree/ui/Activator.java new file mode 100644 index 00000000..4363fc63 --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.ui/src/hu/bme/mit/inf/dslreasoner/faulttree/ui/Activator.java @@ -0,0 +1,44 @@ +package hu.bme.mit.inf.dslreasoner.faulttree.ui; + +import org.eclipse.ui.plugin.AbstractUIPlugin; +import org.osgi.framework.BundleContext; + +/** + * The activator class controls the plug-in life cycle + */ +public class Activator extends AbstractUIPlugin { + + // The plug-in ID + public static final String PLUGIN_ID = "hu.bme.mit.inf.dslreasoner.faulttree.ui"; //$NON-NLS-1$ + + // The shared instance + private static Activator plugin; + + /** + * The constructor + */ + public Activator() { + } + + @Override + public void start(BundleContext context) throws Exception { + super.start(context); + plugin = this; + } + + @Override + public void stop(BundleContext context) throws Exception { + plugin = null; + super.stop(context); + } + + /** + * Returns the shared instance + * + * @return the shared instance + */ + public static Activator getDefault() { + return plugin; + } + +} diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.ui/src/hu/bme/mit/inf/dslreasoner/faulttree/ui/handler/ReliabilityAnalysisHandler.xtend b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.ui/src/hu/bme/mit/inf/dslreasoner/faulttree/ui/handler/ReliabilityAnalysisHandler.xtend new file mode 100644 index 00000000..5fa89148 --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.ui/src/hu/bme/mit/inf/dslreasoner/faulttree/ui/handler/ReliabilityAnalysisHandler.xtend @@ -0,0 +1,128 @@ +package hu.bme.mit.inf.dslreasoner.faulttree.ui.handler + +import hu.bme.mit.inf.dslreasoner.application.execution.EclipseBasedProgressMonitor +import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftModel +import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.TransformationDefinition +import hu.bme.mit.inf.dslreasoner.faulttree.transformation.cft2ft.Cft2FtTransformation +import hu.bme.mit.inf.dslreasoner.faulttree.transformation.ecore2cft.Ecore2CftTransformation +import hu.bme.mit.inf.dslreasoner.faulttree.transformation.solver.FtAnalysisObjective +import hu.bme.mit.inf.dslreasoner.faulttree.transformation.solver.ReliabilityResult +import hu.bme.mit.inf.dslreasoner.faulttree.transformation.solver.StormDftConfiguration +import hu.bme.mit.inf.dslreasoner.faulttree.transformation.solver.StormDftSolver +import hu.bme.mit.inf.dslreasoner.logic.model.builder.DocumentationLevel +import hu.bme.mit.inf.dslreasoner.workspace.ProjectWorkspace +import org.eclipse.core.commands.AbstractHandler +import org.eclipse.core.commands.ExecutionEvent +import org.eclipse.core.commands.ExecutionException +import org.eclipse.core.resources.IFile +import org.eclipse.core.resources.IProject +import org.eclipse.core.resources.IResource +import org.eclipse.core.runtime.IProgressMonitor +import org.eclipse.core.runtime.NullProgressMonitor +import org.eclipse.emf.common.util.URI +import org.eclipse.emf.ecore.resource.Resource +import org.eclipse.emf.ecore.resource.ResourceSet +import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl +import org.eclipse.swt.widgets.MessageBox +import org.eclipse.ui.PlatformUI +import org.eclipse.ui.handlers.HandlerUtil +import org.eclipse.viatra.query.runtime.api.AdvancedViatraQueryEngine +import org.eclipse.viatra.query.runtime.emf.EMFScope + +class ReliabilityAnalysisHandler extends AbstractHandler { + + override execute(ExecutionEvent event) throws ExecutionException { + val selection = HandlerUtil.getCurrentStructuredSelection(event) + val resourceSet = new ResourceSetImpl + val iterator = selection.iterator + var IProject targetProject = null + var Resource targetResource = null + var TransformationDefinition transformationDefinition = null + while (iterator.hasNext) { + val selectedElement = iterator.next + if (selectedElement instanceof IFile) { + val resource = tryLoadResource(resourceSet, selectedElement) + if (resource !== null && !resource.contents.empty) { + val rootElement = resource.contents.head + if (rootElement instanceof CftModel) { + if (rootElement.transformationDefinitions.empty) { + throw new IllegalArgumentException("Selected cft file is not a transformation definition.") + } + if (transformationDefinition !== null) { + throw new IllegalArgumentException( + "Only a single transformation definition may be selected.") + } + transformationDefinition = rootElement.transformationDefinitions.head + } else { + if (targetResource !== null) { + throw new IllegalArgumentException("Only a single architecture model may be selected.") + } + targetResource = resource + targetProject = selectedElement.project + } + } + } + } + if (targetResource === null || targetResource === null) { + throw new IllegalArgumentException( + "A transformation definition and an architecture model must be selected.") + } + runAnalysis(transformationDefinition, targetResource, targetProject, new NullProgressMonitor) + null + } + + private static def tryLoadResource(ResourceSet resourceSet, IFile file) { + val fullPath = file.fullPath.toString + val uri = URI.createPlatformResourceURI(fullPath, true) + try { + resourceSet.getResource(uri, true) + } catch (RuntimeException e) { + null + } + } + + private def runAnalysis(TransformationDefinition transformationDefinition, Resource resource, IProject project, + IProgressMonitor monitor) { + val workspace = createWorkspace(project, monitor) + val cft = createComponentFaultTree(transformationDefinition, resource) + workspace.writeModel(cft, "cft.xmi") + val cft2ft = new Cft2FtTransformation + val ft = cft2ft.createFaultTree(cft) + workspace.writeModel(ft, "ft.xmi") + val solver = new StormDftSolver + val config = new StormDftConfiguration + config.progressMonitor = new EclipseBasedProgressMonitor(monitor) + config.documentationLevel = DocumentationLevel.NORMAL + config.objective = FtAnalysisObjective.MTTF + val result = solver.solve(ft, config, workspace) + displayResult(result) + } + + private def createWorkspace(IProject project, IProgressMonitor monitor) { + val folder = project.getFolder("debug") + if (!folder.exists) { + folder.create(IResource.NONE, true, monitor) + } + val path = folder.fullPath.toString + val uri = URI.createPlatformResourceURI(path, true) + val workspace = new ProjectWorkspace(uri.toString, "") + workspace.initAndClear + workspace + } + + private def createComponentFaultTree(TransformationDefinition transformationDefinition, Resource resource) { + val queryEngine = AdvancedViatraQueryEngine.createUnmanagedEngine(new EMFScope(resource)) + try { + val ecore2cft = new Ecore2CftTransformation(transformationDefinition, queryEngine) + ecore2cft.createComponentFaultTree + } finally { + queryEngine.dispose + } + } + + private def displayResult(ReliabilityResult result) { + val messageBox = new MessageBox(PlatformUI.workbench.activeWorkbenchWindow.shell) + messageBox.message = result.toString + messageBox.open + } +} diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/ui/handler/.gitignore b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/ui/handler/.gitignore new file mode 100644 index 00000000..b271af76 --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/ui/handler/.gitignore @@ -0,0 +1,3 @@ +/.ReliabilityAnalysisHandler.java._trace +/.ReliabilityAnalysisHandler.xtendbin +/ReliabilityAnalysisHandler.java diff --git a/Tests/hu.bme.mit.inf.dslreasoner.application.FAMTest/META-INF/MANIFEST.MF b/Tests/hu.bme.mit.inf.dslreasoner.application.FAMTest/META-INF/MANIFEST.MF index ce5ff3ab..dc9f3788 100644 --- a/Tests/hu.bme.mit.inf.dslreasoner.application.FAMTest/META-INF/MANIFEST.MF +++ b/Tests/hu.bme.mit.inf.dslreasoner.application.FAMTest/META-INF/MANIFEST.MF @@ -9,18 +9,7 @@ Require-Bundle: com.google.guava, org.eclipse.xtext.xbase.lib, org.eclipse.xtend.lib, org.eclipse.xtend.lib.macro, - hu.bme.mit.inf.dslreasoner.application;bundle-version="1.0.0", - org.junit;bundle-version="4.12.0", - org.eclipse.collections;bundle-version="7.1.1", - org.eclipse.core.runtime;bundle-version="3.15.100", - org.eclipse.core.resources, - org.eclipse.emf.ecore, - org.eclipse.viatra.query.runtime, - org.eclipse.viatra.query.runtime.rete, - org.eclipse.viatra.query.runtime.localsearch, - org.eclipse.viatra.query.patternlanguage.emf, - org.eclipse.xtext;bundle-version="2.16.0", - org.eclipse.xtext.xbase;bundle-version="2.16.0", - org.eclipse.emf.codegen;bundle-version="2.15.0", - org.eclipse.emf.codegen.ecore;bundle-version="2.16.0" -Import-Package: org.apache.log4j;version="1.2.15" + hu.bme.mit.inf.dslreasoner.application;bundle-version="1.0.0";visibility:=reexport +Import-Package: org.apache.log4j;version="1.2.15", + org.junit;version="4.12.0" +Export-Package: hu.bme.mit.inf.dslreasoner.application.FAMTest diff --git a/Tests/hu.bme.mit.inf.dslreasoner.application.FAMTest/build.properties b/Tests/hu.bme.mit.inf.dslreasoner.application.FAMTest/build.properties index 8c749f0a..466224af 100644 --- a/Tests/hu.bme.mit.inf.dslreasoner.application.FAMTest/build.properties +++ b/Tests/hu.bme.mit.inf.dslreasoner.application.FAMTest/build.properties @@ -1,5 +1,7 @@ -source.. = src/ +source.. = src/,\ + xtend-gen/ output.. = bin/ bin.includes = META-INF/,\ . -additional.bundles = org.apache.log4j +additional.bundles = org.apache.log4j,\ + org.junit -- cgit v1.2.3-70-g09d2 From 478123d2febde02f39f6a673ffdbdf0c760aef3c Mon Sep 17 00:00:00 2001 From: Kristóf Marussy Date: Mon, 25 Mar 2019 15:56:37 +0100 Subject: Add reliability probability and mtff objectives --- .../antlr/ApplicationConfigurationParser.java | 14 +- .../internal/InternalApplicationConfiguration.g | 421 +- .../InternalApplicationConfiguration.tokens | 54 +- .../InternalApplicationConfigurationLexer.java | 661 +- .../InternalApplicationConfigurationParser.java | 10687 ++++++++++--------- .../.ApplicationConfigurationIdeModule.xtendbin | Bin 1701 -> 1701 bytes .../ide/.ApplicationConfigurationIdeSetup.xtendbin | Bin 2526 -> 2526 bytes ...ctApplicationConfigurationProposalProvider.java | 21 +- .../model/generated/ApplicationConfiguration.ecore | 6 +- .../generated/ApplicationConfiguration.genmodel | 10 +- .../application/ApplicationConfiguration.xtextbin | Bin 13581 -> 13891 bytes .../ApplicationConfigurationFactory.java | 24 +- .../ApplicationConfigurationPackage.java | 280 +- .../application/applicationConfiguration/Mtff.java | 19 + .../ReliabilityObjectiveFunction.java | 80 + .../ReliabiltiyFunction.java | 80 - .../ReliabiltiyProbability.java | 52 + .../impl/ApplicationConfigurationFactoryImpl.java | 34 +- .../impl/ApplicationConfigurationPackageImpl.java | 91 +- .../applicationConfiguration/impl/MtffImpl.java | 41 + .../impl/ReliabilityObjectiveFunctionImpl.java | 244 + .../impl/ReliabiltiyFunctionImpl.java | 244 - .../impl/ReliabiltiyProbabilityImpl.java | 181 + .../ApplicationConfigurationAdapterFactory.java | 50 +- .../util/ApplicationConfigurationSwitch.java | 64 +- .../internal/InternalApplicationConfiguration.g | 149 +- .../InternalApplicationConfiguration.tokens | 74 +- .../InternalApplicationConfigurationLexer.java | 737 +- .../InternalApplicationConfigurationParser.java | 2872 ++--- .../ApplicationConfigurationSemanticSequencer.java | 33 +- .../ApplicationConfigurationGrammarAccess.java | 140 +- .../application/ApplicationConfiguration.xtext | 9 +- .../ApplicationConfigurationScopeProvider.xtend | 8 +- .../components/ide/.CftLanguageIdeModule.xtendbin | Bin 1712 -> 1712 bytes .../components/ide/.CftLanguageIdeSetup.xtendbin | Bin 2549 -> 2549 bytes .../components/ui/.CftLanguageUiModule.xtendbin | Bin 3606 -> 3606 bytes .../.CftLanguageProposalProvider.xtendbin | Bin 1820 -> 1820 bytes .../.CftLanguageDescriptionLabelProvider.xtendbin | Bin 1993 -> 1993 bytes .../ui/labeling/.CftLanguageLabelProvider.xtendbin | Bin 2885 -> 2885 bytes .../.CftLanguageOutlineTreeProvider.xtendbin | Bin 2451 -> 2451 bytes .../quickfix/.CftLanguageQuickfixProvider.xtendbin | Bin 1819 -> 1819 bytes ...LanguageSemanticHighlightingCalculator.xtendbin | Bin 3773 -> 3773 bytes .../.CftLanguageTokenToAttributeIdMapper.xtendbin | Bin 2740 -> 2740 bytes .../components/.CftLanguageRuntimeModule.xtendbin | Bin 3436 -> 3436 bytes .../.CftLanguageStandaloneSetup.xtendbin | Bin 2015 -> 2015 bytes .../.CftLanguageValueConverterService.xtendbin | Bin 3002 -> 3002 bytes .../conversion/.OF_INTValueConverter.xtendbin | Bin 4411 -> 4411 bytes .../generator/.CftLanguageGenerator.xtendbin | Bin 2365 -> 2365 bytes .../.CftLanguageQualifiedNameProvider.xtendbin | Bin 3630 -> 3630 bytes .../naming/.PackageNameProvider.xtendbin | Bin 3283 -> 3283 bytes ...portedNamespaceAwareLocalScopeProvider.xtendbin | Bin 4651 -> 4651 bytes .../scoping/.CftLanguageScopeProvider.xtendbin | Bin 9417 -> 9417 bytes .../validation/.CftLanguageValidator.xtendbin | Bin 1760 -> 1760 bytes .../faulttree/model/util/.CftExtensions.xtendbin | Bin 4295 -> 4295 bytes .../dslreasoner/faulttree/model/util/.gitignore | 2 + .../cft2ft/.Cft2FtTransformation.xtendbin | Bin 2825 -> 2825 bytes .../cft2ft/.EventCollection.xtendbin | Bin 7022 -> 7022 bytes .../cft2ft/.EventMaterializer.xtendbin | Bin 11938 -> 12110 bytes .../cft2ft/.FaultTreeBuilder.xtendbin | Bin 4029 -> 4029 bytes .../ecore2cft/.ComponentFaultTreeTrace.xtendbin | Bin 5530 -> 5530 bytes .../ecore2cft/.ComponentInstanceTrace.xtendbin | Bin 5932 -> 5932 bytes .../ecore2cft/.ComponentNameGenerator.xtendbin | Bin 3472 -> 3472 bytes .../ecore2cft/.Ecore2CftTransformation.xtendbin | Bin 3431 -> 3431 bytes .../transformation/ecore2cft/.InputTrace.xtendbin | Bin 4202 -> 4202 bytes .../ecore2cft/.LookupHandler.xtendbin | Bin 5169 -> 5169 bytes .../ecore2cft/.MappingHandler.xtendbin | Bin 6876 -> 6876 bytes .../ecore2cft/.MappingQueries.xtendbin | Bin 4833 -> 4833 bytes .../ft2galileo/.Ft2GalileoTransformation.xtendbin | Bin 4794 -> 4794 bytes .../solver/.ReliabilityResult.xtendbin | Bin 5435 -> 5435 bytes .../solver/.StormDftConfiguration.xtendbin | Bin 4311 -> 4311 bytes .../solver/.StormDftHandler.xtendbin | Bin 13570 -> 13570 bytes .../transformation/solver/.StormDftSolver.xtendbin | Bin 4801 -> 4801 bytes .../bin/.gitignore | 1 - .../dslreasoner/faulttree/ui/handler/.gitignore | 3 + .../ui/handler/ReliabilityAnalysisHandler.xtend | 128 + 75 files changed, 10135 insertions(+), 7379 deletions(-) create mode 100644 Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/Mtff.java create mode 100644 Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ReliabilityObjectiveFunction.java delete mode 100644 Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ReliabiltiyFunction.java create mode 100644 Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ReliabiltiyProbability.java create mode 100644 Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/MtffImpl.java create mode 100644 Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ReliabilityObjectiveFunctionImpl.java delete mode 100644 Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ReliabiltiyFunctionImpl.java create mode 100644 Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ReliabiltiyProbabilityImpl.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.ui/bin/.gitignore create mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.ui/bin/hu/bme/mit/inf/dslreasoner/faulttree/ui/handler/.gitignore create mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.ui/bin/hu/bme/mit/inf/dslreasoner/faulttree/ui/handler/ReliabilityAnalysisHandler.xtend (limited to 'Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner') diff --git a/Application/hu.bme.mit.inf.dslreasoner.application.ide/src-gen/hu/bme/mit/inf/dslreasoner/application/ide/contentassist/antlr/ApplicationConfigurationParser.java b/Application/hu.bme.mit.inf.dslreasoner.application.ide/src-gen/hu/bme/mit/inf/dslreasoner/application/ide/contentassist/antlr/ApplicationConfigurationParser.java index 12bf94a5..b778abe4 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application.ide/src-gen/hu/bme/mit/inf/dslreasoner/application/ide/contentassist/antlr/ApplicationConfigurationParser.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application.ide/src-gen/hu/bme/mit/inf/dslreasoner/application/ide/contentassist/antlr/ApplicationConfigurationParser.java @@ -42,6 +42,7 @@ public class ApplicationConfigurationParser extends AbstractContentAssistParser builder.put(grammarAccess.getPatternEntryAccess().getAlternatives(), "rule__PatternEntry__Alternatives"); builder.put(grammarAccess.getGraphPatternAccess().getAlternatives(), "rule__GraphPattern__Alternatives"); builder.put(grammarAccess.getObjectiveEntryAccess().getAlternatives(), "rule__ObjectiveEntry__Alternatives"); + builder.put(grammarAccess.getReliabilityObjectiveFunctionAccess().getAlternatives(), "rule__ReliabilityObjectiveFunction__Alternatives"); builder.put(grammarAccess.getObjectiveAccess().getAlternatives(), "rule__Objective__Alternatives"); builder.put(grammarAccess.getConfigEntryAccess().getAlternatives(), "rule__ConfigEntry__Alternatives"); builder.put(grammarAccess.getConfigAccess().getAlternatives(), "rule__Config__Alternatives"); @@ -101,8 +102,10 @@ public class ApplicationConfigurationParser extends AbstractContentAssistParser builder.put(grammarAccess.getObjectiveSpecificationAccess().getGroup_2(), "rule__ObjectiveSpecification__Group_2__0"); builder.put(grammarAccess.getOptimizationEntryAccess().getGroup(), "rule__OptimizationEntry__Group__0"); builder.put(grammarAccess.getThresholdEntryAccess().getGroup(), "rule__ThresholdEntry__Group__0"); - builder.put(grammarAccess.getReliabiltiyFunctionAccess().getGroup(), "rule__ReliabiltiyFunction__Group__0"); - builder.put(grammarAccess.getReliabiltiyFunctionAccess().getGroup_1(), "rule__ReliabiltiyFunction__Group_1__0"); + builder.put(grammarAccess.getReliabiltiyProbabilityAccess().getGroup(), "rule__ReliabiltiyProbability__Group__0"); + builder.put(grammarAccess.getReliabiltiyProbabilityAccess().getGroup_1(), "rule__ReliabiltiyProbability__Group_1__0"); + builder.put(grammarAccess.getMtffAccess().getGroup(), "rule__Mtff__Group__0"); + builder.put(grammarAccess.getMtffAccess().getGroup_1(), "rule__Mtff__Group_1__0"); builder.put(grammarAccess.getObjectiveDeclarationAccess().getGroup(), "rule__ObjectiveDeclaration__Group__0"); builder.put(grammarAccess.getConfigSpecificationAccess().getGroup(), "rule__ConfigSpecification__Group__0"); builder.put(grammarAccess.getConfigSpecificationAccess().getGroup_2(), "rule__ConfigSpecification__Group_2__0"); @@ -196,8 +199,11 @@ public class ApplicationConfigurationParser extends AbstractContentAssistParser builder.put(grammarAccess.getThresholdEntryAccess().getFunctionAssignment_0(), "rule__ThresholdEntry__FunctionAssignment_0"); builder.put(grammarAccess.getThresholdEntryAccess().getOperatorAssignment_1(), "rule__ThresholdEntry__OperatorAssignment_1"); builder.put(grammarAccess.getThresholdEntryAccess().getThresholdAssignment_2(), "rule__ThresholdEntry__ThresholdAssignment_2"); - builder.put(grammarAccess.getReliabiltiyFunctionAccess().getPackageAssignment_1_0(), "rule__ReliabiltiyFunction__PackageAssignment_1_0"); - builder.put(grammarAccess.getReliabiltiyFunctionAccess().getTransformationAssignment_2(), "rule__ReliabiltiyFunction__TransformationAssignment_2"); + builder.put(grammarAccess.getReliabiltiyProbabilityAccess().getPackageAssignment_1_0(), "rule__ReliabiltiyProbability__PackageAssignment_1_0"); + builder.put(grammarAccess.getReliabiltiyProbabilityAccess().getTransformationAssignment_2(), "rule__ReliabiltiyProbability__TransformationAssignment_2"); + builder.put(grammarAccess.getReliabiltiyProbabilityAccess().getTimeAssignment_4(), "rule__ReliabiltiyProbability__TimeAssignment_4"); + builder.put(grammarAccess.getMtffAccess().getPackageAssignment_1_0(), "rule__Mtff__PackageAssignment_1_0"); + builder.put(grammarAccess.getMtffAccess().getTransformationAssignment_2(), "rule__Mtff__TransformationAssignment_2"); builder.put(grammarAccess.getObjectiveDeclarationAccess().getNameAssignment_1(), "rule__ObjectiveDeclaration__NameAssignment_1"); builder.put(grammarAccess.getObjectiveDeclarationAccess().getSpecificationAssignment_2(), "rule__ObjectiveDeclaration__SpecificationAssignment_2"); builder.put(grammarAccess.getObjectiveReferenceAccess().getReferredAssignment(), "rule__ObjectiveReference__ReferredAssignment"); diff --git a/Application/hu.bme.mit.inf.dslreasoner.application.ide/src-gen/hu/bme/mit/inf/dslreasoner/application/ide/contentassist/antlr/internal/InternalApplicationConfiguration.g b/Application/hu.bme.mit.inf.dslreasoner.application.ide/src-gen/hu/bme/mit/inf/dslreasoner/application/ide/contentassist/antlr/internal/InternalApplicationConfiguration.g index ae1ad469..5ac1e746 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application.ide/src-gen/hu/bme/mit/inf/dslreasoner/application/ide/contentassist/antlr/internal/InternalApplicationConfiguration.g +++ b/Application/hu.bme.mit.inf.dslreasoner.application.ide/src-gen/hu/bme/mit/inf/dslreasoner/application/ide/contentassist/antlr/internal/InternalApplicationConfiguration.g @@ -1040,34 +1040,84 @@ ruleObjectiveFunction } : ( - { before(grammarAccess.getObjectiveFunctionAccess().getReliabiltiyFunctionParserRuleCall()); } - ruleReliabiltiyFunction - { after(grammarAccess.getObjectiveFunctionAccess().getReliabiltiyFunctionParserRuleCall()); } + { before(grammarAccess.getObjectiveFunctionAccess().getReliabilityObjectiveFunctionParserRuleCall()); } + ruleReliabilityObjectiveFunction + { after(grammarAccess.getObjectiveFunctionAccess().getReliabilityObjectiveFunctionParserRuleCall()); } ) ; finally { restoreStackSize(stackSize); } -// Entry rule entryRuleReliabiltiyFunction -entryRuleReliabiltiyFunction +// Entry rule entryRuleReliabilityObjectiveFunction +entryRuleReliabilityObjectiveFunction : -{ before(grammarAccess.getReliabiltiyFunctionRule()); } - ruleReliabiltiyFunction -{ after(grammarAccess.getReliabiltiyFunctionRule()); } +{ before(grammarAccess.getReliabilityObjectiveFunctionRule()); } + ruleReliabilityObjectiveFunction +{ after(grammarAccess.getReliabilityObjectiveFunctionRule()); } EOF ; -// Rule ReliabiltiyFunction -ruleReliabiltiyFunction +// Rule ReliabilityObjectiveFunction +ruleReliabilityObjectiveFunction @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getReliabiltiyFunctionAccess().getGroup()); } - (rule__ReliabiltiyFunction__Group__0) - { after(grammarAccess.getReliabiltiyFunctionAccess().getGroup()); } + { before(grammarAccess.getReliabilityObjectiveFunctionAccess().getAlternatives()); } + (rule__ReliabilityObjectiveFunction__Alternatives) + { after(grammarAccess.getReliabilityObjectiveFunctionAccess().getAlternatives()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Entry rule entryRuleReliabiltiyProbability +entryRuleReliabiltiyProbability +: +{ before(grammarAccess.getReliabiltiyProbabilityRule()); } + ruleReliabiltiyProbability +{ after(grammarAccess.getReliabiltiyProbabilityRule()); } + EOF +; + +// Rule ReliabiltiyProbability +ruleReliabiltiyProbability + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getReliabiltiyProbabilityAccess().getGroup()); } + (rule__ReliabiltiyProbability__Group__0) + { after(grammarAccess.getReliabiltiyProbabilityAccess().getGroup()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Entry rule entryRuleMtff +entryRuleMtff +: +{ before(grammarAccess.getMtffRule()); } + ruleMtff +{ after(grammarAccess.getMtffRule()); } + EOF +; + +// Rule Mtff +ruleMtff + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getMtffAccess().getGroup()); } + (rule__Mtff__Group__0) + { after(grammarAccess.getMtffAccess().getGroup()); } ) ; finally { @@ -2255,6 +2305,27 @@ finally { restoreStackSize(stackSize); } +rule__ReliabilityObjectiveFunction__Alternatives + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getReliabilityObjectiveFunctionAccess().getReliabiltiyProbabilityParserRuleCall_0()); } + ruleReliabiltiyProbability + { after(grammarAccess.getReliabilityObjectiveFunctionAccess().getReliabiltiyProbabilityParserRuleCall_0()); } + ) + | + ( + { before(grammarAccess.getReliabilityObjectiveFunctionAccess().getMtffParserRuleCall_1()); } + ruleMtff + { after(grammarAccess.getReliabilityObjectiveFunctionAccess().getMtffParserRuleCall_1()); } + ) +; +finally { + restoreStackSize(stackSize); +} + rule__Objective__Alternatives @init { int stackSize = keepStackSize(); @@ -5564,134 +5635,323 @@ finally { } -rule__ReliabiltiyFunction__Group__0 +rule__ReliabiltiyProbability__Group__0 @init { int stackSize = keepStackSize(); } : - rule__ReliabiltiyFunction__Group__0__Impl - rule__ReliabiltiyFunction__Group__1 + rule__ReliabiltiyProbability__Group__0__Impl + rule__ReliabiltiyProbability__Group__1 ; finally { restoreStackSize(stackSize); } -rule__ReliabiltiyFunction__Group__0__Impl +rule__ReliabiltiyProbability__Group__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getReliabiltiyFunctionAccess().getReliabilityKeyword_0()); } + { before(grammarAccess.getReliabiltiyProbabilityAccess().getReliabilityKeyword_0()); } 'reliability' - { after(grammarAccess.getReliabiltiyFunctionAccess().getReliabilityKeyword_0()); } + { after(grammarAccess.getReliabiltiyProbabilityAccess().getReliabilityKeyword_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__ReliabiltiyProbability__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__ReliabiltiyProbability__Group__1__Impl + rule__ReliabiltiyProbability__Group__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__ReliabiltiyProbability__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getReliabiltiyProbabilityAccess().getGroup_1()); } + (rule__ReliabiltiyProbability__Group_1__0)? + { after(grammarAccess.getReliabiltiyProbabilityAccess().getGroup_1()); } ) ; finally { restoreStackSize(stackSize); } -rule__ReliabiltiyFunction__Group__1 +rule__ReliabiltiyProbability__Group__2 @init { int stackSize = keepStackSize(); } : - rule__ReliabiltiyFunction__Group__1__Impl - rule__ReliabiltiyFunction__Group__2 + rule__ReliabiltiyProbability__Group__2__Impl + rule__ReliabiltiyProbability__Group__3 ; finally { restoreStackSize(stackSize); } -rule__ReliabiltiyFunction__Group__1__Impl +rule__ReliabiltiyProbability__Group__2__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getReliabiltiyFunctionAccess().getGroup_1()); } - (rule__ReliabiltiyFunction__Group_1__0)? - { after(grammarAccess.getReliabiltiyFunctionAccess().getGroup_1()); } + { before(grammarAccess.getReliabiltiyProbabilityAccess().getTransformationAssignment_2()); } + (rule__ReliabiltiyProbability__TransformationAssignment_2) + { after(grammarAccess.getReliabiltiyProbabilityAccess().getTransformationAssignment_2()); } ) ; finally { restoreStackSize(stackSize); } -rule__ReliabiltiyFunction__Group__2 +rule__ReliabiltiyProbability__Group__3 @init { int stackSize = keepStackSize(); } : - rule__ReliabiltiyFunction__Group__2__Impl + rule__ReliabiltiyProbability__Group__3__Impl + rule__ReliabiltiyProbability__Group__4 ; finally { restoreStackSize(stackSize); } -rule__ReliabiltiyFunction__Group__2__Impl +rule__ReliabiltiyProbability__Group__3__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getReliabiltiyFunctionAccess().getTransformationAssignment_2()); } - (rule__ReliabiltiyFunction__TransformationAssignment_2) - { after(grammarAccess.getReliabiltiyFunctionAccess().getTransformationAssignment_2()); } + { before(grammarAccess.getReliabiltiyProbabilityAccess().getAtKeyword_3()); } + 'at' + { after(grammarAccess.getReliabiltiyProbabilityAccess().getAtKeyword_3()); } ) ; finally { restoreStackSize(stackSize); } +rule__ReliabiltiyProbability__Group__4 + @init { + int stackSize = keepStackSize(); + } +: + rule__ReliabiltiyProbability__Group__4__Impl +; +finally { + restoreStackSize(stackSize); +} -rule__ReliabiltiyFunction__Group_1__0 +rule__ReliabiltiyProbability__Group__4__Impl @init { int stackSize = keepStackSize(); } : - rule__ReliabiltiyFunction__Group_1__0__Impl - rule__ReliabiltiyFunction__Group_1__1 +( + { before(grammarAccess.getReliabiltiyProbabilityAccess().getTimeAssignment_4()); } + (rule__ReliabiltiyProbability__TimeAssignment_4) + { after(grammarAccess.getReliabiltiyProbabilityAccess().getTimeAssignment_4()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__ReliabiltiyProbability__Group_1__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__ReliabiltiyProbability__Group_1__0__Impl + rule__ReliabiltiyProbability__Group_1__1 ; finally { restoreStackSize(stackSize); } -rule__ReliabiltiyFunction__Group_1__0__Impl +rule__ReliabiltiyProbability__Group_1__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getReliabiltiyFunctionAccess().getPackageAssignment_1_0()); } - (rule__ReliabiltiyFunction__PackageAssignment_1_0) - { after(grammarAccess.getReliabiltiyFunctionAccess().getPackageAssignment_1_0()); } + { before(grammarAccess.getReliabiltiyProbabilityAccess().getPackageAssignment_1_0()); } + (rule__ReliabiltiyProbability__PackageAssignment_1_0) + { after(grammarAccess.getReliabiltiyProbabilityAccess().getPackageAssignment_1_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__ReliabiltiyFunction__Group_1__1 +rule__ReliabiltiyProbability__Group_1__1 @init { int stackSize = keepStackSize(); } : - rule__ReliabiltiyFunction__Group_1__1__Impl + rule__ReliabiltiyProbability__Group_1__1__Impl ; finally { restoreStackSize(stackSize); } -rule__ReliabiltiyFunction__Group_1__1__Impl +rule__ReliabiltiyProbability__Group_1__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getReliabiltiyFunctionAccess().getColonColonKeyword_1_1()); } + { before(grammarAccess.getReliabiltiyProbabilityAccess().getColonColonKeyword_1_1()); } '::' - { after(grammarAccess.getReliabiltiyFunctionAccess().getColonColonKeyword_1_1()); } + { after(grammarAccess.getReliabiltiyProbabilityAccess().getColonColonKeyword_1_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__Mtff__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__Mtff__Group__0__Impl + rule__Mtff__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__Mtff__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getMtffAccess().getMtffKeyword_0()); } + 'mtff' + { after(grammarAccess.getMtffAccess().getMtffKeyword_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__Mtff__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__Mtff__Group__1__Impl + rule__Mtff__Group__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__Mtff__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getMtffAccess().getGroup_1()); } + (rule__Mtff__Group_1__0)? + { after(grammarAccess.getMtffAccess().getGroup_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__Mtff__Group__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__Mtff__Group__2__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__Mtff__Group__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getMtffAccess().getTransformationAssignment_2()); } + (rule__Mtff__TransformationAssignment_2) + { after(grammarAccess.getMtffAccess().getTransformationAssignment_2()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__Mtff__Group_1__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__Mtff__Group_1__0__Impl + rule__Mtff__Group_1__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__Mtff__Group_1__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getMtffAccess().getPackageAssignment_1_0()); } + (rule__Mtff__PackageAssignment_1_0) + { after(grammarAccess.getMtffAccess().getPackageAssignment_1_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__Mtff__Group_1__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__Mtff__Group_1__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__Mtff__Group_1__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getMtffAccess().getColonColonKeyword_1_1()); } + '::' + { after(grammarAccess.getMtffAccess().getColonColonKeyword_1_1()); } ) ; finally { @@ -10578,38 +10838,91 @@ finally { restoreStackSize(stackSize); } -rule__ReliabiltiyFunction__PackageAssignment_1_0 +rule__ReliabiltiyProbability__PackageAssignment_1_0 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getReliabiltiyProbabilityAccess().getPackageCftModelCrossReference_1_0_0()); } + ( + { before(grammarAccess.getReliabiltiyProbabilityAccess().getPackageCftModelQualifiedNameParserRuleCall_1_0_0_1()); } + ruleQualifiedName + { after(grammarAccess.getReliabiltiyProbabilityAccess().getPackageCftModelQualifiedNameParserRuleCall_1_0_0_1()); } + ) + { after(grammarAccess.getReliabiltiyProbabilityAccess().getPackageCftModelCrossReference_1_0_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__ReliabiltiyProbability__TransformationAssignment_2 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getReliabiltiyProbabilityAccess().getTransformationTransformationDefinitionCrossReference_2_0()); } + ( + { before(grammarAccess.getReliabiltiyProbabilityAccess().getTransformationTransformationDefinitionIDTerminalRuleCall_2_0_1()); } + RULE_ID + { after(grammarAccess.getReliabiltiyProbabilityAccess().getTransformationTransformationDefinitionIDTerminalRuleCall_2_0_1()); } + ) + { after(grammarAccess.getReliabiltiyProbabilityAccess().getTransformationTransformationDefinitionCrossReference_2_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__ReliabiltiyProbability__TimeAssignment_4 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getReliabiltiyProbabilityAccess().getTimeREALLiteralParserRuleCall_4_0()); } + ruleREALLiteral + { after(grammarAccess.getReliabiltiyProbabilityAccess().getTimeREALLiteralParserRuleCall_4_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__Mtff__PackageAssignment_1_0 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getReliabiltiyFunctionAccess().getPackageCftModelCrossReference_1_0_0()); } + { before(grammarAccess.getMtffAccess().getPackageCftModelCrossReference_1_0_0()); } ( - { before(grammarAccess.getReliabiltiyFunctionAccess().getPackageCftModelQualifiedNameParserRuleCall_1_0_0_1()); } + { before(grammarAccess.getMtffAccess().getPackageCftModelQualifiedNameParserRuleCall_1_0_0_1()); } ruleQualifiedName - { after(grammarAccess.getReliabiltiyFunctionAccess().getPackageCftModelQualifiedNameParserRuleCall_1_0_0_1()); } + { after(grammarAccess.getMtffAccess().getPackageCftModelQualifiedNameParserRuleCall_1_0_0_1()); } ) - { after(grammarAccess.getReliabiltiyFunctionAccess().getPackageCftModelCrossReference_1_0_0()); } + { after(grammarAccess.getMtffAccess().getPackageCftModelCrossReference_1_0_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__ReliabiltiyFunction__TransformationAssignment_2 +rule__Mtff__TransformationAssignment_2 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getReliabiltiyFunctionAccess().getTransformationTransformationDefinitionCrossReference_2_0()); } + { before(grammarAccess.getMtffAccess().getTransformationTransformationDefinitionCrossReference_2_0()); } ( - { before(grammarAccess.getReliabiltiyFunctionAccess().getTransformationTransformationDefinitionIDTerminalRuleCall_2_0_1()); } + { before(grammarAccess.getMtffAccess().getTransformationTransformationDefinitionIDTerminalRuleCall_2_0_1()); } RULE_ID - { after(grammarAccess.getReliabiltiyFunctionAccess().getTransformationTransformationDefinitionIDTerminalRuleCall_2_0_1()); } + { after(grammarAccess.getMtffAccess().getTransformationTransformationDefinitionIDTerminalRuleCall_2_0_1()); } ) - { after(grammarAccess.getReliabiltiyFunctionAccess().getTransformationTransformationDefinitionCrossReference_2_0()); } + { after(grammarAccess.getMtffAccess().getTransformationTransformationDefinitionCrossReference_2_0()); } ) ; finally { diff --git a/Application/hu.bme.mit.inf.dslreasoner.application.ide/src-gen/hu/bme/mit/inf/dslreasoner/application/ide/contentassist/antlr/internal/InternalApplicationConfiguration.tokens b/Application/hu.bme.mit.inf.dslreasoner.application.ide/src-gen/hu/bme/mit/inf/dslreasoner/application/ide/contentassist/antlr/internal/InternalApplicationConfiguration.tokens index f7399b63..27b2c880 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application.ide/src-gen/hu/bme/mit/inf/dslreasoner/application/ide/contentassist/antlr/internal/InternalApplicationConfiguration.tokens +++ b/Application/hu.bme.mit.inf.dslreasoner.application.ide/src-gen/hu/bme/mit/inf/dslreasoner/application/ide/contentassist/antlr/internal/InternalApplicationConfiguration.tokens @@ -1,53 +1,55 @@ -'#'=44 -'*'=61 -'+='=60 +'#'=46 +'*'=63 +'+='=62 ','=31 '-'=22 '.'=21 -'..'=51 +'..'=53 '::'=34 -'<'=45 +'<'=47 '<='=13 '='=28 -'>'=46 +'>'=48 '>='=14 'AlloySolver'=19 'SMTSolver'=18 'ViatraSolver'=20 -'config'=40 +'at'=39 +'config'=42 'constraints'=38 -'debug'=56 +'debug'=58 'epackage'=24 'excluding'=33 'file'=27 'folder'=36 'full'=17 -'generate'=53 +'generate'=55 'import'=23 -'int'=48 -'log'=57 -'log-level'=41 +'int'=50 +'log'=59 +'log-level'=43 'maximize'=12 -'memory'=43 +'memory'=45 'metamodel'=35 'minimize'=11 'models'=37 -'node'=47 +'mtff'=40 +'node'=49 'none'=15 'normal'=16 -'number'=62 -'objectives'=39 -'output'=59 +'number'=64 +'objectives'=41 +'output'=61 'package'=32 -'partial-model'=54 -'real'=49 +'partial-model'=56 +'real'=51 'reliability'=26 -'runs'=63 -'runtime'=42 -'scope'=52 -'solver'=55 -'statistics'=58 -'string'=50 +'runs'=65 +'runtime'=44 +'scope'=54 +'solver'=57 +'statistics'=60 +'string'=52 'viatra'=25 '{'=29 '}'=30 @@ -111,3 +113,5 @@ T__60=60 T__61=61 T__62=62 T__63=63 +T__64=64 +T__65=65 diff --git a/Application/hu.bme.mit.inf.dslreasoner.application.ide/src-gen/hu/bme/mit/inf/dslreasoner/application/ide/contentassist/antlr/internal/InternalApplicationConfigurationLexer.java b/Application/hu.bme.mit.inf.dslreasoner.application.ide/src-gen/hu/bme/mit/inf/dslreasoner/application/ide/contentassist/antlr/internal/InternalApplicationConfigurationLexer.java index 667cec10..9a16ae0a 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application.ide/src-gen/hu/bme/mit/inf/dslreasoner/application/ide/contentassist/antlr/internal/InternalApplicationConfigurationLexer.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application.ide/src-gen/hu/bme/mit/inf/dslreasoner/application/ide/contentassist/antlr/internal/InternalApplicationConfigurationLexer.java @@ -47,7 +47,9 @@ public class InternalApplicationConfigurationLexer extends Lexer { public static final int T__62=62; public static final int T__63=63; public static final int T__20=20; + public static final int T__64=64; public static final int T__21=21; + public static final int T__65=65; public static final int RULE_STRING=6; public static final int RULE_SL_COMMENT=8; public static final int T__37=37; @@ -674,10 +676,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__39; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:39:7: ( 'objectives' ) - // InternalApplicationConfiguration.g:39:9: 'objectives' + // InternalApplicationConfiguration.g:39:7: ( 'at' ) + // InternalApplicationConfiguration.g:39:9: 'at' { - match("objectives"); + match("at"); } @@ -695,10 +697,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__40; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:40:7: ( 'config' ) - // InternalApplicationConfiguration.g:40:9: 'config' + // InternalApplicationConfiguration.g:40:7: ( 'mtff' ) + // InternalApplicationConfiguration.g:40:9: 'mtff' { - match("config"); + match("mtff"); } @@ -716,10 +718,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__41; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:41:7: ( 'log-level' ) - // InternalApplicationConfiguration.g:41:9: 'log-level' + // InternalApplicationConfiguration.g:41:7: ( 'objectives' ) + // InternalApplicationConfiguration.g:41:9: 'objectives' { - match("log-level"); + match("objectives"); } @@ -737,10 +739,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__42; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:42:7: ( 'runtime' ) - // InternalApplicationConfiguration.g:42:9: 'runtime' + // InternalApplicationConfiguration.g:42:7: ( 'config' ) + // InternalApplicationConfiguration.g:42:9: 'config' { - match("runtime"); + match("config"); } @@ -758,10 +760,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__43; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:43:7: ( 'memory' ) - // InternalApplicationConfiguration.g:43:9: 'memory' + // InternalApplicationConfiguration.g:43:7: ( 'log-level' ) + // InternalApplicationConfiguration.g:43:9: 'log-level' { - match("memory"); + match("log-level"); } @@ -779,10 +781,11 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__44; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:44:7: ( '#' ) - // InternalApplicationConfiguration.g:44:9: '#' + // InternalApplicationConfiguration.g:44:7: ( 'runtime' ) + // InternalApplicationConfiguration.g:44:9: 'runtime' { - match('#'); + match("runtime"); + } @@ -799,10 +802,11 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__45; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:45:7: ( '<' ) - // InternalApplicationConfiguration.g:45:9: '<' + // InternalApplicationConfiguration.g:45:7: ( 'memory' ) + // InternalApplicationConfiguration.g:45:9: 'memory' { - match('<'); + match("memory"); + } @@ -819,10 +823,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__46; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:46:7: ( '>' ) - // InternalApplicationConfiguration.g:46:9: '>' + // InternalApplicationConfiguration.g:46:7: ( '#' ) + // InternalApplicationConfiguration.g:46:9: '#' { - match('>'); + match('#'); } @@ -839,11 +843,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__47; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:47:7: ( 'node' ) - // InternalApplicationConfiguration.g:47:9: 'node' + // InternalApplicationConfiguration.g:47:7: ( '<' ) + // InternalApplicationConfiguration.g:47:9: '<' { - match("node"); - + match('<'); } @@ -860,11 +863,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__48; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:48:7: ( 'int' ) - // InternalApplicationConfiguration.g:48:9: 'int' + // InternalApplicationConfiguration.g:48:7: ( '>' ) + // InternalApplicationConfiguration.g:48:9: '>' { - match("int"); - + match('>'); } @@ -881,10 +883,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__49; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:49:7: ( 'real' ) - // InternalApplicationConfiguration.g:49:9: 'real' + // InternalApplicationConfiguration.g:49:7: ( 'node' ) + // InternalApplicationConfiguration.g:49:9: 'node' { - match("real"); + match("node"); } @@ -902,10 +904,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__50; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:50:7: ( 'string' ) - // InternalApplicationConfiguration.g:50:9: 'string' + // InternalApplicationConfiguration.g:50:7: ( 'int' ) + // InternalApplicationConfiguration.g:50:9: 'int' { - match("string"); + match("int"); } @@ -923,10 +925,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__51; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:51:7: ( '..' ) - // InternalApplicationConfiguration.g:51:9: '..' + // InternalApplicationConfiguration.g:51:7: ( 'real' ) + // InternalApplicationConfiguration.g:51:9: 'real' { - match(".."); + match("real"); } @@ -944,10 +946,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__52; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:52:7: ( 'scope' ) - // InternalApplicationConfiguration.g:52:9: 'scope' + // InternalApplicationConfiguration.g:52:7: ( 'string' ) + // InternalApplicationConfiguration.g:52:9: 'string' { - match("scope"); + match("string"); } @@ -965,10 +967,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__53; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:53:7: ( 'generate' ) - // InternalApplicationConfiguration.g:53:9: 'generate' + // InternalApplicationConfiguration.g:53:7: ( '..' ) + // InternalApplicationConfiguration.g:53:9: '..' { - match("generate"); + match(".."); } @@ -986,10 +988,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__54; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:54:7: ( 'partial-model' ) - // InternalApplicationConfiguration.g:54:9: 'partial-model' + // InternalApplicationConfiguration.g:54:7: ( 'scope' ) + // InternalApplicationConfiguration.g:54:9: 'scope' { - match("partial-model"); + match("scope"); } @@ -1007,10 +1009,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__55; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:55:7: ( 'solver' ) - // InternalApplicationConfiguration.g:55:9: 'solver' + // InternalApplicationConfiguration.g:55:7: ( 'generate' ) + // InternalApplicationConfiguration.g:55:9: 'generate' { - match("solver"); + match("generate"); } @@ -1028,10 +1030,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__56; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:56:7: ( 'debug' ) - // InternalApplicationConfiguration.g:56:9: 'debug' + // InternalApplicationConfiguration.g:56:7: ( 'partial-model' ) + // InternalApplicationConfiguration.g:56:9: 'partial-model' { - match("debug"); + match("partial-model"); } @@ -1049,10 +1051,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__57; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:57:7: ( 'log' ) - // InternalApplicationConfiguration.g:57:9: 'log' + // InternalApplicationConfiguration.g:57:7: ( 'solver' ) + // InternalApplicationConfiguration.g:57:9: 'solver' { - match("log"); + match("solver"); } @@ -1070,10 +1072,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__58; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:58:7: ( 'statistics' ) - // InternalApplicationConfiguration.g:58:9: 'statistics' + // InternalApplicationConfiguration.g:58:7: ( 'debug' ) + // InternalApplicationConfiguration.g:58:9: 'debug' { - match("statistics"); + match("debug"); } @@ -1091,10 +1093,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__59; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:59:7: ( 'output' ) - // InternalApplicationConfiguration.g:59:9: 'output' + // InternalApplicationConfiguration.g:59:7: ( 'log' ) + // InternalApplicationConfiguration.g:59:9: 'log' { - match("output"); + match("log"); } @@ -1112,10 +1114,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__60; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:60:7: ( '+=' ) - // InternalApplicationConfiguration.g:60:9: '+=' + // InternalApplicationConfiguration.g:60:7: ( 'statistics' ) + // InternalApplicationConfiguration.g:60:9: 'statistics' { - match("+="); + match("statistics"); } @@ -1133,10 +1135,11 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__61; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:61:7: ( '*' ) - // InternalApplicationConfiguration.g:61:9: '*' + // InternalApplicationConfiguration.g:61:7: ( 'output' ) + // InternalApplicationConfiguration.g:61:9: 'output' { - match('*'); + match("output"); + } @@ -1153,10 +1156,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__62; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:62:7: ( 'number' ) - // InternalApplicationConfiguration.g:62:9: 'number' + // InternalApplicationConfiguration.g:62:7: ( '+=' ) + // InternalApplicationConfiguration.g:62:9: '+=' { - match("number"); + match("+="); } @@ -1174,8 +1177,49 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__63; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:63:7: ( 'runs' ) - // InternalApplicationConfiguration.g:63:9: 'runs' + // InternalApplicationConfiguration.g:63:7: ( '*' ) + // InternalApplicationConfiguration.g:63:9: '*' + { + match('*'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__63" + + // $ANTLR start "T__64" + public final void mT__64() throws RecognitionException { + try { + int _type = T__64; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:64:7: ( 'number' ) + // InternalApplicationConfiguration.g:64:9: 'number' + { + match("number"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__64" + + // $ANTLR start "T__65" + public final void mT__65() throws RecognitionException { + try { + int _type = T__65; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:65:7: ( 'runs' ) + // InternalApplicationConfiguration.g:65:9: 'runs' { match("runs"); @@ -1188,17 +1232,17 @@ public class InternalApplicationConfigurationLexer extends Lexer { finally { } } - // $ANTLR end "T__63" + // $ANTLR end "T__65" // $ANTLR start "RULE_ID" public final void mRULE_ID() throws RecognitionException { try { int _type = RULE_ID; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:11782:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* ) - // InternalApplicationConfiguration.g:11782:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* + // InternalApplicationConfiguration.g:12095:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* ) + // InternalApplicationConfiguration.g:12095:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* { - // InternalApplicationConfiguration.g:11782:11: ( '^' )? + // InternalApplicationConfiguration.g:12095:11: ( '^' )? int alt1=2; int LA1_0 = input.LA(1); @@ -1207,7 +1251,7 @@ public class InternalApplicationConfigurationLexer extends Lexer { } switch (alt1) { case 1 : - // InternalApplicationConfiguration.g:11782:11: '^' + // InternalApplicationConfiguration.g:12095:11: '^' { match('^'); @@ -1225,7 +1269,7 @@ public class InternalApplicationConfigurationLexer extends Lexer { recover(mse); throw mse;} - // InternalApplicationConfiguration.g:11782:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* + // InternalApplicationConfiguration.g:12095:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* loop2: do { int alt2=2; @@ -1274,10 +1318,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = RULE_INT; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:11784:10: ( ( '0' .. '9' )+ ) - // InternalApplicationConfiguration.g:11784:12: ( '0' .. '9' )+ + // InternalApplicationConfiguration.g:12097:10: ( ( '0' .. '9' )+ ) + // InternalApplicationConfiguration.g:12097:12: ( '0' .. '9' )+ { - // InternalApplicationConfiguration.g:11784:12: ( '0' .. '9' )+ + // InternalApplicationConfiguration.g:12097:12: ( '0' .. '9' )+ int cnt3=0; loop3: do { @@ -1291,7 +1335,7 @@ public class InternalApplicationConfigurationLexer extends Lexer { switch (alt3) { case 1 : - // InternalApplicationConfiguration.g:11784:13: '0' .. '9' + // InternalApplicationConfiguration.g:12097:13: '0' .. '9' { matchRange('0','9'); @@ -1323,10 +1367,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = RULE_STRING; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:11786:13: ( ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) ) - // InternalApplicationConfiguration.g:11786:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) + // InternalApplicationConfiguration.g:12099:13: ( ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) ) + // InternalApplicationConfiguration.g:12099:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) { - // InternalApplicationConfiguration.g:11786:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) + // InternalApplicationConfiguration.g:12099:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) int alt6=2; int LA6_0 = input.LA(1); @@ -1344,10 +1388,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { } switch (alt6) { case 1 : - // InternalApplicationConfiguration.g:11786:16: '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' + // InternalApplicationConfiguration.g:12099:16: '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' { match('\"'); - // InternalApplicationConfiguration.g:11786:20: ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* + // InternalApplicationConfiguration.g:12099:20: ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* loop4: do { int alt4=3; @@ -1363,7 +1407,7 @@ public class InternalApplicationConfigurationLexer extends Lexer { switch (alt4) { case 1 : - // InternalApplicationConfiguration.g:11786:21: '\\\\' . + // InternalApplicationConfiguration.g:12099:21: '\\\\' . { match('\\'); matchAny(); @@ -1371,7 +1415,7 @@ public class InternalApplicationConfigurationLexer extends Lexer { } break; case 2 : - // InternalApplicationConfiguration.g:11786:28: ~ ( ( '\\\\' | '\"' ) ) + // InternalApplicationConfiguration.g:12099:28: ~ ( ( '\\\\' | '\"' ) ) { if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { input.consume(); @@ -1396,10 +1440,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { } break; case 2 : - // InternalApplicationConfiguration.g:11786:48: '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' + // InternalApplicationConfiguration.g:12099:48: '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' { match('\''); - // InternalApplicationConfiguration.g:11786:53: ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* + // InternalApplicationConfiguration.g:12099:53: ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* loop5: do { int alt5=3; @@ -1415,7 +1459,7 @@ public class InternalApplicationConfigurationLexer extends Lexer { switch (alt5) { case 1 : - // InternalApplicationConfiguration.g:11786:54: '\\\\' . + // InternalApplicationConfiguration.g:12099:54: '\\\\' . { match('\\'); matchAny(); @@ -1423,7 +1467,7 @@ public class InternalApplicationConfigurationLexer extends Lexer { } break; case 2 : - // InternalApplicationConfiguration.g:11786:61: ~ ( ( '\\\\' | '\\'' ) ) + // InternalApplicationConfiguration.g:12099:61: ~ ( ( '\\\\' | '\\'' ) ) { if ( (input.LA(1)>='\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { input.consume(); @@ -1466,12 +1510,12 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = RULE_ML_COMMENT; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:11788:17: ( '/*' ( options {greedy=false; } : . )* '*/' ) - // InternalApplicationConfiguration.g:11788:19: '/*' ( options {greedy=false; } : . )* '*/' + // InternalApplicationConfiguration.g:12101:17: ( '/*' ( options {greedy=false; } : . )* '*/' ) + // InternalApplicationConfiguration.g:12101:19: '/*' ( options {greedy=false; } : . )* '*/' { match("/*"); - // InternalApplicationConfiguration.g:11788:24: ( options {greedy=false; } : . )* + // InternalApplicationConfiguration.g:12101:24: ( options {greedy=false; } : . )* loop7: do { int alt7=2; @@ -1496,7 +1540,7 @@ public class InternalApplicationConfigurationLexer extends Lexer { switch (alt7) { case 1 : - // InternalApplicationConfiguration.g:11788:52: . + // InternalApplicationConfiguration.g:12101:52: . { matchAny(); @@ -1526,12 +1570,12 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = RULE_SL_COMMENT; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:11790:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? ) - // InternalApplicationConfiguration.g:11790:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? + // InternalApplicationConfiguration.g:12103:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? ) + // InternalApplicationConfiguration.g:12103:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? { match("//"); - // InternalApplicationConfiguration.g:11790:24: (~ ( ( '\\n' | '\\r' ) ) )* + // InternalApplicationConfiguration.g:12103:24: (~ ( ( '\\n' | '\\r' ) ) )* loop8: do { int alt8=2; @@ -1544,7 +1588,7 @@ public class InternalApplicationConfigurationLexer extends Lexer { switch (alt8) { case 1 : - // InternalApplicationConfiguration.g:11790:24: ~ ( ( '\\n' | '\\r' ) ) + // InternalApplicationConfiguration.g:12103: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(); @@ -1564,7 +1608,7 @@ public class InternalApplicationConfigurationLexer extends Lexer { } } while (true); - // InternalApplicationConfiguration.g:11790:40: ( ( '\\r' )? '\\n' )? + // InternalApplicationConfiguration.g:12103:40: ( ( '\\r' )? '\\n' )? int alt10=2; int LA10_0 = input.LA(1); @@ -1573,9 +1617,9 @@ public class InternalApplicationConfigurationLexer extends Lexer { } switch (alt10) { case 1 : - // InternalApplicationConfiguration.g:11790:41: ( '\\r' )? '\\n' + // InternalApplicationConfiguration.g:12103:41: ( '\\r' )? '\\n' { - // InternalApplicationConfiguration.g:11790:41: ( '\\r' )? + // InternalApplicationConfiguration.g:12103:41: ( '\\r' )? int alt9=2; int LA9_0 = input.LA(1); @@ -1584,7 +1628,7 @@ public class InternalApplicationConfigurationLexer extends Lexer { } switch (alt9) { case 1 : - // InternalApplicationConfiguration.g:11790:41: '\\r' + // InternalApplicationConfiguration.g:12103:41: '\\r' { match('\r'); @@ -1616,10 +1660,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = RULE_WS; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:11792:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ ) - // InternalApplicationConfiguration.g:11792:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ + // InternalApplicationConfiguration.g:12105:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ ) + // InternalApplicationConfiguration.g:12105:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ { - // InternalApplicationConfiguration.g:11792:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ + // InternalApplicationConfiguration.g:12105:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ int cnt11=0; loop11: do { @@ -1673,8 +1717,8 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = RULE_ANY_OTHER; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:11794:16: ( . ) - // InternalApplicationConfiguration.g:11794:18: . + // InternalApplicationConfiguration.g:12107:16: ( . ) + // InternalApplicationConfiguration.g:12107:18: . { matchAny(); @@ -1689,8 +1733,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 | T__49 | T__50 | T__51 | T__52 | T__53 | T__54 | T__55 | T__56 | T__57 | T__58 | T__59 | T__60 | T__61 | T__62 | T__63 | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER ) - int alt12=60; + // 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 | T__51 | T__52 | T__53 | T__54 | T__55 | T__56 | T__57 | T__58 | T__59 | T__60 | T__61 | T__62 | T__63 | T__64 | T__65 | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER ) + int alt12=62; alt12 = dfa12.predict(input); switch (alt12) { case 1 : @@ -2065,49 +2109,63 @@ public class InternalApplicationConfigurationLexer extends Lexer { } break; case 54 : - // InternalApplicationConfiguration.g:1:328: RULE_ID + // InternalApplicationConfiguration.g:1:328: T__64 { - mRULE_ID(); + mT__64(); } break; case 55 : - // InternalApplicationConfiguration.g:1:336: RULE_INT + // InternalApplicationConfiguration.g:1:334: T__65 { - mRULE_INT(); + mT__65(); } break; case 56 : - // InternalApplicationConfiguration.g:1:345: RULE_STRING + // InternalApplicationConfiguration.g:1:340: RULE_ID { - mRULE_STRING(); + mRULE_ID(); } break; case 57 : - // InternalApplicationConfiguration.g:1:357: RULE_ML_COMMENT + // InternalApplicationConfiguration.g:1:348: RULE_INT { - mRULE_ML_COMMENT(); + mRULE_INT(); } break; case 58 : - // InternalApplicationConfiguration.g:1:373: RULE_SL_COMMENT + // InternalApplicationConfiguration.g:1:357: RULE_STRING { - mRULE_SL_COMMENT(); + mRULE_STRING(); } break; case 59 : - // InternalApplicationConfiguration.g:1:389: RULE_WS + // InternalApplicationConfiguration.g:1:369: RULE_ML_COMMENT { - mRULE_WS(); + mRULE_ML_COMMENT(); } break; case 60 : - // InternalApplicationConfiguration.g:1:397: RULE_ANY_OTHER + // InternalApplicationConfiguration.g:1:385: RULE_SL_COMMENT + { + mRULE_SL_COMMENT(); + + } + break; + case 61 : + // InternalApplicationConfiguration.g:1:401: RULE_WS + { + mRULE_WS(); + + } + break; + case 62 : + // InternalApplicationConfiguration.g:1:409: RULE_ANY_OTHER { mRULE_ANY_OTHER(); @@ -2121,99 +2179,102 @@ public class InternalApplicationConfigurationLexer extends Lexer { protected DFA12 dfa12 = new DFA12(this); static final String DFA12_eotS = - "\1\uffff\1\52\1\54\1\56\5\52\1\70\1\uffff\4\52\4\uffff\1\52\1\45\3\52\1\uffff\3\52\1\45\1\uffff\1\45\2\uffff\3\45\2\uffff\4\52\5\uffff\10\52\3\uffff\7\52\4\uffff\1\52\1\uffff\4\52\1\uffff\5\52\7\uffff\20\52\1\u008b\13\52\1\u009a\13\52\1\u00a6\1\52\1\u00a8\1\52\1\u00aa\1\u00ab\5\52\1\uffff\4\52\1\u00b5\1\52\1\u00b7\6\52\2\uffff\13\52\1\uffff\1\52\1\uffff\1\52\2\uffff\11\52\1\uffff\1\52\1\uffff\10\52\1\u00dd\2\52\1\u00e0\3\52\1\u00e4\1\u00e5\1\u00e6\1\u00e7\1\u00e8\3\52\1\u00ec\2\52\1\u00ef\5\52\1\u00f5\1\52\1\u00f7\1\u00f8\1\52\1\uffff\1\u00fa\1\52\1\uffff\3\52\5\uffff\3\52\1\uffff\2\52\1\uffff\1\52\1\u0105\1\u0106\2\52\1\uffff\1\52\2\uffff\1\52\1\uffff\1\52\1\u010c\1\u010d\4\52\1\u0112\2\52\3\uffff\3\52\1\u0118\2\uffff\1\u0119\1\u011a\2\52\1\uffff\1\u011d\4\52\3\uffff\2\52\1\uffff\2\52\1\u0126\1\u0127\1\u0128\1\52\1\u012a\1\u012b\3\uffff\1\u012c\3\uffff"; + "\1\uffff\1\54\1\56\1\60\5\54\1\72\1\uffff\4\54\4\uffff\1\54\1\46\4\54\1\uffff\3\54\1\46\1\uffff\1\46\2\uffff\3\46\2\uffff\5\54\5\uffff\10\54\3\uffff\7\54\4\uffff\1\54\1\uffff\1\54\1\166\3\54\1\uffff\5\54\7\uffff\21\54\1\u0091\11\54\1\uffff\2\54\1\u00a0\13\54\1\u00ac\1\u00ad\1\54\1\u00af\1\54\1\u00b1\1\u00b2\5\54\1\uffff\4\54\1\u00bc\1\54\1\u00be\6\54\2\uffff\13\54\2\uffff\1\54\1\uffff\1\54\2\uffff\11\54\1\uffff\1\54\1\uffff\10\54\1\u00e4\2\54\1\u00e7\3\54\1\u00eb\1\u00ec\1\u00ed\1\u00ee\1\u00ef\3\54\1\u00f3\2\54\1\u00f6\5\54\1\u00fc\1\54\1\u00fe\1\u00ff\1\54\1\uffff\1\u0101\1\54\1\uffff\3\54\5\uffff\3\54\1\uffff\2\54\1\uffff\1\54\1\u010c\1\u010d\2\54\1\uffff\1\54\2\uffff\1\54\1\uffff\1\54\1\u0113\1\u0114\4\54\1\u0119\2\54\3\uffff\3\54\1\u011f\2\uffff\1\u0120\1\u0121\2\54\1\uffff\1\u0124\4\54\3\uffff\2\54\1\uffff\2\54\1\u012d\1\u012e\1\u012f\1\54\1\u0131\1\u0132\3\uffff\1\u0133\3\uffff"; static final String DFA12_eofS = - "\u012d\uffff"; + "\u0134\uffff"; static final String DFA12_minS = - "\1\0\1\141\2\75\1\157\1\151\1\115\1\154\1\151\1\56\1\uffff\1\155\1\160\1\151\1\145\4\uffff\1\141\1\72\1\157\1\142\1\157\1\uffff\1\143\2\145\1\75\1\uffff\1\101\2\uffff\2\0\1\52\2\uffff\1\156\1\170\1\155\1\144\5\uffff\1\144\1\155\3\154\1\124\1\154\1\141\3\uffff\1\160\1\164\1\141\1\143\2\141\1\156\4\uffff\1\143\1\uffff\1\156\1\152\1\164\1\147\1\uffff\1\141\1\157\1\154\1\156\1\142\7\uffff\2\151\1\141\1\157\2\145\1\155\1\145\1\142\1\154\1\145\1\144\1\123\1\157\1\164\1\157\1\60\1\143\1\154\1\164\1\151\1\154\1\163\1\153\1\164\1\146\1\145\1\160\1\55\1\151\1\164\1\160\1\166\1\145\1\165\3\155\1\162\1\154\1\60\1\141\1\60\1\145\2\60\1\145\1\157\1\171\2\162\1\uffff\1\153\1\165\1\162\1\141\1\60\1\151\1\60\1\141\1\151\1\164\1\151\1\143\1\165\2\uffff\1\156\1\151\2\145\1\162\1\147\2\151\1\157\1\171\1\163\1\uffff\1\154\1\uffff\1\162\2\uffff\1\162\1\154\1\123\1\141\1\164\1\141\1\144\1\141\1\142\1\uffff\1\155\1\uffff\1\147\1\141\1\162\1\147\2\164\1\147\1\163\1\60\1\162\1\141\1\60\2\172\1\144\5\60\1\166\1\157\1\123\1\60\1\147\1\151\1\60\1\151\2\145\1\154\1\141\1\60\1\151\2\60\1\164\1\uffff\1\60\1\164\1\uffff\3\145\5\uffff\1\145\1\154\1\157\1\uffff\1\145\1\156\1\uffff\1\154\2\60\1\55\1\151\1\uffff\1\166\2\uffff\1\151\1\uffff\1\145\2\60\1\154\1\162\1\166\1\154\1\60\1\147\1\151\3\uffff\1\156\1\145\1\143\1\60\2\uffff\2\60\1\145\1\166\1\uffff\1\60\2\164\2\163\3\uffff\1\162\1\145\1\uffff\1\171\1\163\3\60\1\162\2\60\3\uffff\1\60\3\uffff"; + "\1\0\1\141\2\75\1\157\1\151\1\115\1\154\1\151\1\56\1\uffff\1\155\1\160\1\151\1\145\4\uffff\1\141\1\72\1\157\1\164\1\142\1\157\1\uffff\1\143\2\145\1\75\1\uffff\1\101\2\uffff\2\0\1\52\2\uffff\1\156\1\170\1\155\1\144\1\146\5\uffff\1\144\1\155\3\154\1\124\1\154\1\141\3\uffff\1\160\1\164\1\141\1\143\2\141\1\156\4\uffff\1\143\1\uffff\1\156\1\60\1\152\1\164\1\147\1\uffff\1\141\1\157\1\154\1\156\1\142\7\uffff\2\151\1\141\1\157\1\145\1\146\1\145\1\155\1\145\1\142\1\154\1\145\1\144\1\123\1\157\1\164\1\157\1\60\1\143\1\154\1\164\1\151\1\154\1\163\1\153\1\164\1\146\1\uffff\1\145\1\160\1\55\1\151\1\164\1\160\1\166\1\145\1\165\3\155\1\162\1\154\2\60\1\141\1\60\1\145\2\60\1\145\1\157\1\171\2\162\1\uffff\1\153\1\165\1\162\1\141\1\60\1\151\1\60\1\141\1\151\1\164\1\151\1\143\1\165\2\uffff\1\156\1\151\2\145\1\162\1\147\2\151\1\157\1\171\1\163\2\uffff\1\154\1\uffff\1\162\2\uffff\1\162\1\154\1\123\1\141\1\164\1\141\1\144\1\141\1\142\1\uffff\1\155\1\uffff\1\147\1\141\1\162\1\147\2\164\1\147\1\163\1\60\1\162\1\141\1\60\2\172\1\144\5\60\1\166\1\157\1\123\1\60\1\147\1\151\1\60\1\151\2\145\1\154\1\141\1\60\1\151\2\60\1\164\1\uffff\1\60\1\164\1\uffff\3\145\5\uffff\1\145\1\154\1\157\1\uffff\1\145\1\156\1\uffff\1\154\2\60\1\55\1\151\1\uffff\1\166\2\uffff\1\151\1\uffff\1\145\2\60\1\154\1\162\1\166\1\154\1\60\1\147\1\151\3\uffff\1\156\1\145\1\143\1\60\2\uffff\2\60\1\145\1\166\1\uffff\1\60\2\164\2\163\3\uffff\1\162\1\145\1\uffff\1\171\1\163\3\60\1\162\2\60\3\uffff\1\60\3\uffff"; static final String DFA12_maxS = - "\1\uffff\1\157\2\75\2\165\1\115\1\154\1\151\1\56\1\uffff\1\156\1\170\1\151\1\165\4\uffff\1\141\1\72\1\157\1\165\1\157\1\uffff\1\164\2\145\1\75\1\uffff\1\172\2\uffff\2\uffff\1\57\2\uffff\1\156\1\170\1\164\1\144\5\uffff\1\162\1\155\3\154\1\124\1\154\1\141\3\uffff\1\160\1\164\1\141\1\143\1\141\1\154\1\156\4\uffff\1\162\1\uffff\1\156\1\152\1\164\1\147\1\uffff\1\162\1\157\1\154\1\156\1\142\7\uffff\2\151\1\141\1\157\2\145\1\155\1\145\1\142\1\154\1\145\1\144\1\123\1\157\1\164\1\157\1\172\1\143\1\154\1\164\1\151\1\154\1\164\1\153\1\164\1\163\1\145\1\160\1\172\1\151\1\164\1\160\1\166\1\145\1\165\3\155\1\162\1\154\1\172\1\141\1\172\1\145\2\172\1\145\1\157\1\171\2\162\1\uffff\1\153\1\165\1\162\1\141\1\172\1\151\1\172\1\141\1\151\1\164\1\151\1\143\1\165\2\uffff\1\156\1\151\2\145\1\162\1\147\2\151\1\157\1\171\1\163\1\uffff\1\154\1\uffff\1\162\2\uffff\1\162\1\154\1\123\1\141\1\164\1\141\1\144\1\141\1\142\1\uffff\1\155\1\uffff\1\147\1\141\1\162\1\147\2\164\1\147\1\163\1\172\1\162\1\141\3\172\1\144\5\172\1\166\1\157\1\123\1\172\1\147\1\151\1\172\1\151\2\145\1\154\1\141\1\172\1\151\2\172\1\164\1\uffff\1\172\1\164\1\uffff\3\145\5\uffff\1\145\1\154\1\157\1\uffff\1\145\1\156\1\uffff\1\154\2\172\1\55\1\151\1\uffff\1\166\2\uffff\1\151\1\uffff\1\145\2\172\1\154\1\162\1\166\1\154\1\172\1\147\1\151\3\uffff\1\156\1\145\1\143\1\172\2\uffff\2\172\1\145\1\166\1\uffff\1\172\2\164\2\163\3\uffff\1\162\1\145\1\uffff\1\171\1\163\3\172\1\162\2\172\3\uffff\1\172\3\uffff"; + "\1\uffff\1\164\2\75\2\165\1\115\1\154\1\151\1\56\1\uffff\1\156\1\170\1\151\1\165\4\uffff\1\141\1\72\1\157\1\164\1\165\1\157\1\uffff\1\164\2\145\1\75\1\uffff\1\172\2\uffff\2\uffff\1\57\2\uffff\1\156\1\170\1\164\1\144\1\146\5\uffff\1\162\1\155\3\154\1\124\1\154\1\141\3\uffff\1\160\1\164\1\141\1\143\1\141\1\154\1\156\4\uffff\1\162\1\uffff\1\156\1\172\1\152\1\164\1\147\1\uffff\1\162\1\157\1\154\1\156\1\142\7\uffff\2\151\1\141\1\157\1\145\1\146\1\145\1\155\1\145\1\142\1\154\1\145\1\144\1\123\1\157\1\164\1\157\1\172\1\143\1\154\1\164\1\151\1\154\1\164\1\153\1\164\1\163\1\uffff\1\145\1\160\1\172\1\151\1\164\1\160\1\166\1\145\1\165\3\155\1\162\1\154\2\172\1\141\1\172\1\145\2\172\1\145\1\157\1\171\2\162\1\uffff\1\153\1\165\1\162\1\141\1\172\1\151\1\172\1\141\1\151\1\164\1\151\1\143\1\165\2\uffff\1\156\1\151\2\145\1\162\1\147\2\151\1\157\1\171\1\163\2\uffff\1\154\1\uffff\1\162\2\uffff\1\162\1\154\1\123\1\141\1\164\1\141\1\144\1\141\1\142\1\uffff\1\155\1\uffff\1\147\1\141\1\162\1\147\2\164\1\147\1\163\1\172\1\162\1\141\3\172\1\144\5\172\1\166\1\157\1\123\1\172\1\147\1\151\1\172\1\151\2\145\1\154\1\141\1\172\1\151\2\172\1\164\1\uffff\1\172\1\164\1\uffff\3\145\5\uffff\1\145\1\154\1\157\1\uffff\1\145\1\156\1\uffff\1\154\2\172\1\55\1\151\1\uffff\1\166\2\uffff\1\151\1\uffff\1\145\2\172\1\154\1\162\1\166\1\154\1\172\1\147\1\151\3\uffff\1\156\1\145\1\143\1\172\2\uffff\2\172\1\145\1\166\1\uffff\1\172\2\164\2\163\3\uffff\1\162\1\145\1\uffff\1\171\1\163\3\172\1\162\2\172\3\uffff\1\172\3\uffff"; static final String DFA12_acceptS = - "\12\uffff\1\14\4\uffff\1\22\1\23\1\24\1\25\5\uffff\1\42\4\uffff\1\63\1\uffff\1\66\1\67\3\uffff\1\73\1\74\4\uffff\1\66\1\3\1\43\1\4\1\44\10\uffff\1\51\1\13\1\14\7\uffff\1\22\1\23\1\24\1\25\1\uffff\1\30\4\uffff\1\42\5\uffff\1\62\1\63\1\67\1\70\1\71\1\72\1\73\63\uffff\1\46\15\uffff\1\37\1\57\13\uffff\1\5\1\uffff\1\45\1\uffff\1\7\1\21\11\uffff\1\47\1\uffff\1\65\45\uffff\1\52\2\uffff\1\56\3\uffff\1\41\1\33\1\6\1\64\1\32\3\uffff\1\15\2\uffff\1\17\5\uffff\1\36\1\uffff\1\61\1\50\1\uffff\1\55\12\uffff\1\40\1\26\1\54\4\uffff\1\1\1\2\4\uffff\1\16\5\uffff\1\53\1\31\1\10\2\uffff\1\27\10\uffff\1\35\1\60\1\11\1\uffff\1\20\1\34\1\12"; + "\12\uffff\1\14\4\uffff\1\22\1\23\1\24\1\25\6\uffff\1\44\4\uffff\1\65\1\uffff\1\70\1\71\3\uffff\1\75\1\76\5\uffff\1\70\1\3\1\45\1\4\1\46\10\uffff\1\53\1\13\1\14\7\uffff\1\22\1\23\1\24\1\25\1\uffff\1\30\5\uffff\1\44\5\uffff\1\64\1\65\1\71\1\72\1\73\1\74\1\75\33\uffff\1\35\32\uffff\1\50\15\uffff\1\41\1\61\13\uffff\1\36\1\5\1\uffff\1\47\1\uffff\1\7\1\21\11\uffff\1\51\1\uffff\1\67\45\uffff\1\54\2\uffff\1\60\3\uffff\1\43\1\33\1\6\1\66\1\32\3\uffff\1\15\2\uffff\1\17\5\uffff\1\40\1\uffff\1\63\1\52\1\uffff\1\57\12\uffff\1\42\1\26\1\56\4\uffff\1\1\1\2\4\uffff\1\16\5\uffff\1\55\1\31\1\10\2\uffff\1\27\10\uffff\1\37\1\62\1\11\1\uffff\1\20\1\34\1\12"; static final String DFA12_specialS = - "\1\0\40\uffff\1\1\1\2\u010a\uffff}>"; + "\1\1\41\uffff\1\2\1\0\u0110\uffff}>"; static final String[] DFA12_transitionS = { - "\11\45\2\44\2\45\1\44\22\45\1\44\1\45\1\41\1\30\3\45\1\42\2\45\1\35\1\34\1\22\1\12\1\11\1\43\12\40\1\24\1\45\1\2\1\17\1\3\2\45\1\7\21\37\1\6\2\37\1\10\4\37\3\45\1\36\1\37\1\45\2\37\1\25\1\33\1\14\1\5\1\32\1\37\1\13\2\37\1\27\1\1\1\4\1\26\1\23\1\37\1\16\1\31\2\37\1\15\4\37\1\20\1\45\1\21\uff82\45", - "\1\47\3\uffff\1\50\3\uffff\1\46\5\uffff\1\51", - "\1\53", + "\11\46\2\45\2\46\1\45\22\46\1\45\1\46\1\42\1\31\3\46\1\43\2\46\1\36\1\35\1\22\1\12\1\11\1\44\12\41\1\24\1\46\1\2\1\17\1\3\2\46\1\7\21\40\1\6\2\40\1\10\4\40\3\46\1\37\1\40\1\46\1\26\1\40\1\25\1\34\1\14\1\5\1\33\1\40\1\13\2\40\1\30\1\1\1\4\1\27\1\23\1\40\1\16\1\32\2\40\1\15\4\40\1\20\1\46\1\21\uff82\46", + "\1\50\3\uffff\1\51\3\uffff\1\47\5\uffff\1\52\4\uffff\1\53", "\1\55", - "\1\57\5\uffff\1\60", - "\1\62\5\uffff\1\63\5\uffff\1\61", - "\1\64", - "\1\65", + "\1\57", + "\1\61\5\uffff\1\62", + "\1\64\5\uffff\1\65\5\uffff\1\63", "\1\66", "\1\67", + "\1\70", + "\1\71", "", - "\1\72\1\73", - "\1\74\7\uffff\1\75", - "\1\76", - "\1\77\17\uffff\1\100", + "\1\74\1\75", + "\1\76\7\uffff\1\77", + "\1\100", + "\1\101\17\uffff\1\102", "", "", "", "", - "\1\105", - "\1\106", "\1\107", - "\1\110\22\uffff\1\111", + "\1\110", + "\1\111", "\1\112", + "\1\113\22\uffff\1\114", + "\1\115", "", - "\1\115\13\uffff\1\116\4\uffff\1\114", - "\1\117", - "\1\120", - "\1\121", + "\1\120\13\uffff\1\121\4\uffff\1\117", + "\1\122", + "\1\123", + "\1\124", "", - "\32\52\4\uffff\1\52\1\uffff\32\52", + "\32\54\4\uffff\1\54\1\uffff\32\54", "", "", - "\0\124", - "\0\124", - "\1\125\4\uffff\1\126", + "\0\127", + "\0\127", + "\1\130\4\uffff\1\131", "", "", - "\1\130", - "\1\131", - "\1\133\6\uffff\1\132", + "\1\133", "\1\134", + "\1\136\6\uffff\1\135", + "\1\137", + "\1\140", "", "", "", "", "", - "\1\137\11\uffff\1\135\3\uffff\1\136", - "\1\140", - "\1\141", - "\1\142", - "\1\143", + "\1\143\11\uffff\1\141\3\uffff\1\142", "\1\144", "\1\145", "\1\146", - "", - "", - "", "\1\147", "\1\150", "\1\151", "\1\152", + "", + "", + "", "\1\153", - "\1\155\12\uffff\1\154", + "\1\154", + "\1\155", "\1\156", + "\1\157", + "\1\161\12\uffff\1\160", + "\1\162", "", "", "", "", - "\1\157\16\uffff\1\160", - "", - "\1\161", - "\1\162", - "\1\163", - "\1\164", + "\1\163\16\uffff\1\164", "", - "\1\166\20\uffff\1\165", + "\1\165", + "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", "\1\167", "\1\170", "\1\171", - "\1\172", + "", + "\1\173\20\uffff\1\172", + "\1\174", + "\1\175", + "\1\176", + "\1\177", "", "", "", @@ -2221,11 +2282,6 @@ public class InternalApplicationConfigurationLexer extends Lexer { "", "", "", - "\1\173", - "\1\174", - "\1\175", - "\1\176", - "\1\177", "\1\u0080", "\1\u0081", "\1\u0082", @@ -2237,200 +2293,209 @@ public class InternalApplicationConfigurationLexer extends Lexer { "\1\u0088", "\1\u0089", "\1\u008a", - "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52", + "\1\u008b", "\1\u008c", "\1\u008d", "\1\u008e", "\1\u008f", "\1\u0090", - "\1\u0092\1\u0091", + "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", + "\1\u0092", "\1\u0093", "\1\u0094", - "\1\u0096\14\uffff\1\u0095", - "\1\u0097", - "\1\u0098", - "\1\u0099\2\uffff\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52", - "\1\u009b", - "\1\u009c", + "\1\u0095", + "\1\u0096", + "\1\u0098\1\u0097", + "\1\u0099", + "\1\u009a", + "\1\u009c\14\uffff\1\u009b", + "", "\1\u009d", "\1\u009e", - "\1\u009f", - "\1\u00a0", + "\1\u009f\2\uffff\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", "\1\u00a1", "\1\u00a2", "\1\u00a3", "\1\u00a4", "\1\u00a5", - "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52", + "\1\u00a6", "\1\u00a7", - "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52", + "\1\u00a8", "\1\u00a9", - "\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\u00ac", - "\1\u00ad", + "\1\u00aa", + "\1\u00ab", + "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", + "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", "\1\u00ae", - "\1\u00af", + "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", "\1\u00b0", - "", - "\1\u00b1", - "\1\u00b2", + "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", + "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", "\1\u00b3", "\1\u00b4", - "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52", + "\1\u00b5", "\1\u00b6", - "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52", + "\1\u00b7", + "", "\1\u00b8", "\1\u00b9", "\1\u00ba", "\1\u00bb", - "\1\u00bc", + "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", "\1\u00bd", - "", - "", - "\1\u00be", + "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", "\1\u00bf", "\1\u00c0", "\1\u00c1", "\1\u00c2", "\1\u00c3", "\1\u00c4", + "", + "", "\1\u00c5", "\1\u00c6", "\1\u00c7", "\1\u00c8", - "", "\1\u00c9", - "", "\1\u00ca", - "", - "", "\1\u00cb", "\1\u00cc", "\1\u00cd", "\1\u00ce", "\1\u00cf", + "", + "", "\1\u00d0", + "", "\1\u00d1", + "", + "", "\1\u00d2", "\1\u00d3", - "", "\1\u00d4", - "", "\1\u00d5", "\1\u00d6", "\1\u00d7", "\1\u00d8", "\1\u00d9", "\1\u00da", + "", "\1\u00db", + "", "\1\u00dc", - "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52", + "\1\u00dd", "\1\u00de", "\1\u00df", - "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52", + "\1\u00e0", "\1\u00e1", "\1\u00e2", "\1\u00e3", - "\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", - "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52", + "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", + "\1\u00e5", + "\1\u00e6", + "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", + "\1\u00e8", "\1\u00e9", "\1\u00ea", - "\1\u00eb", - "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52", - "\1\u00ed", - "\1\u00ee", - "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52", + "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", + "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", + "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", + "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", + "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", "\1\u00f0", "\1\u00f1", "\1\u00f2", - "\1\u00f3", + "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", "\1\u00f4", - "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52", - "\1\u00f6", - "\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\u00f5", + "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", + "\1\u00f7", + "\1\u00f8", "\1\u00f9", - "", - "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52", + "\1\u00fa", "\1\u00fb", - "", - "\1\u00fc", + "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", "\1\u00fd", - "\1\u00fe", + "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", + "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", + "\1\u0100", "", + "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", + "\1\u0102", "", + "\1\u0103", + "\1\u0104", + "\1\u0105", "", "", "", - "\1\u00ff", - "\1\u0100", - "\1\u0101", "", - "\1\u0102", - "\1\u0103", "", - "\1\u0104", - "\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\u0106", "\1\u0107", "\1\u0108", "", "\1\u0109", - "", - "", "\1\u010a", "", "\1\u010b", - "\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\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", + "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", "\1\u010e", "\1\u010f", + "", "\1\u0110", - "\1\u0111", - "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52", - "\1\u0113", - "\1\u0114", "", "", + "\1\u0111", "", + "\1\u0112", + "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", + "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", "\1\u0115", "\1\u0116", "\1\u0117", - "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52", + "\1\u0118", + "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", + "\1\u011a", + "\1\u011b", "", "", - "\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\u011b", - "\1\u011c", "", - "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52", + "\1\u011c", + "\1\u011d", "\1\u011e", - "\1\u011f", - "\1\u0120", - "\1\u0121", - "", + "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", "", "", + "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", + "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", "\1\u0122", "\1\u0123", "", - "\1\u0124", + "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", "\1\u0125", - "\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\u0126", + "\1\u0127", + "\1\u0128", + "", + "", + "", "\1\u0129", - "\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\u012a", + "", + "\1\u012b", + "\1\u012c", + "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", + "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", + "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", + "\1\u0130", + "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", + "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", "", "", "", - "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52", + "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", "", "", "" @@ -2466,13 +2531,23 @@ 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 | T__49 | T__50 | T__51 | T__52 | T__53 | T__54 | T__55 | T__56 | T__57 | T__58 | T__59 | T__60 | T__61 | T__62 | T__63 | 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 | T__51 | T__52 | T__53 | T__54 | T__55 | T__56 | T__57 | T__58 | T__59 | T__60 | T__61 | T__62 | T__63 | T__64 | T__65 | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER );"; } public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { IntStream input = _input; int _s = s; switch ( s ) { case 0 : + int LA12_35 = input.LA(1); + + s = -1; + if ( ((LA12_35>='\u0000' && LA12_35<='\uFFFF')) ) {s = 87;} + + else s = 38; + + if ( s>=0 ) return s; + break; + case 1 : int LA12_0 = input.LA(1); s = -1; @@ -2518,47 +2593,39 @@ public class InternalApplicationConfigurationLexer extends Lexer { else if ( (LA12_0=='c') ) {s = 21;} - else if ( (LA12_0=='o') ) {s = 22;} - - else if ( (LA12_0=='l') ) {s = 23;} + else if ( (LA12_0=='a') ) {s = 22;} - else if ( (LA12_0=='#') ) {s = 24;} + else if ( (LA12_0=='o') ) {s = 23;} - else if ( (LA12_0=='s') ) {s = 25;} + else if ( (LA12_0=='l') ) {s = 24;} - else if ( (LA12_0=='g') ) {s = 26;} + else if ( (LA12_0=='#') ) {s = 25;} - else if ( (LA12_0=='d') ) {s = 27;} + else if ( (LA12_0=='s') ) {s = 26;} - else if ( (LA12_0=='+') ) {s = 28;} + else if ( (LA12_0=='g') ) {s = 27;} - else if ( (LA12_0=='*') ) {s = 29;} + else if ( (LA12_0=='d') ) {s = 28;} - else if ( (LA12_0=='^') ) {s = 30;} + else if ( (LA12_0=='+') ) {s = 29;} - else if ( ((LA12_0>='B' && 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 = 30;} - else if ( ((LA12_0>='0' && LA12_0<='9')) ) {s = 32;} + else if ( (LA12_0=='^') ) {s = 31;} - else if ( (LA12_0=='\"') ) {s = 33;} + else if ( ((LA12_0>='B' && LA12_0<='R')||(LA12_0>='T' && LA12_0<='U')||(LA12_0>='W' && LA12_0<='Z')||LA12_0=='_'||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 = 32;} - else if ( (LA12_0=='\'') ) {s = 34;} + else if ( ((LA12_0>='0' && LA12_0<='9')) ) {s = 33;} - else if ( (LA12_0=='/') ) {s = 35;} + else if ( (LA12_0=='\"') ) {s = 34;} - else if ( ((LA12_0>='\t' && LA12_0<='\n')||LA12_0=='\r'||LA12_0==' ') ) {s = 36;} + 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 = 37;} + else if ( (LA12_0=='/') ) {s = 36;} - if ( s>=0 ) return s; - break; - case 1 : - int LA12_33 = input.LA(1); - - s = -1; - if ( ((LA12_33>='\u0000' && LA12_33<='\uFFFF')) ) {s = 84;} + else if ( ((LA12_0>='\t' && LA12_0<='\n')||LA12_0=='\r'||LA12_0==' ') ) {s = 37;} - else s = 37; + 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 = 38;} if ( s>=0 ) return s; break; @@ -2566,9 +2633,9 @@ public class InternalApplicationConfigurationLexer extends Lexer { int LA12_34 = input.LA(1); s = -1; - if ( ((LA12_34>='\u0000' && LA12_34<='\uFFFF')) ) {s = 84;} + if ( ((LA12_34>='\u0000' && LA12_34<='\uFFFF')) ) {s = 87;} - else s = 37; + else s = 38; if ( s>=0 ) return s; break; diff --git a/Application/hu.bme.mit.inf.dslreasoner.application.ide/src-gen/hu/bme/mit/inf/dslreasoner/application/ide/contentassist/antlr/internal/InternalApplicationConfigurationParser.java b/Application/hu.bme.mit.inf.dslreasoner.application.ide/src-gen/hu/bme/mit/inf/dslreasoner/application/ide/contentassist/antlr/internal/InternalApplicationConfigurationParser.java index 87baba3d..8f123255 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application.ide/src-gen/hu/bme/mit/inf/dslreasoner/application/ide/contentassist/antlr/internal/InternalApplicationConfigurationParser.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application.ide/src-gen/hu/bme/mit/inf/dslreasoner/application/ide/contentassist/antlr/internal/InternalApplicationConfigurationParser.java @@ -22,7 +22,7 @@ import java.util.ArrayList; @SuppressWarnings("all") public class InternalApplicationConfigurationParser extends AbstractInternalContentAssistParser { public static final String[] tokenNames = new String[] { - "", "", "", "", "RULE_ID", "RULE_INT", "RULE_STRING", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "'minimize'", "'maximize'", "'<='", "'>='", "'none'", "'normal'", "'full'", "'SMTSolver'", "'AlloySolver'", "'ViatraSolver'", "'.'", "'-'", "'import'", "'epackage'", "'viatra'", "'reliability'", "'file'", "'='", "'{'", "'}'", "','", "'package'", "'excluding'", "'::'", "'metamodel'", "'folder'", "'models'", "'constraints'", "'objectives'", "'config'", "'log-level'", "'runtime'", "'memory'", "'#'", "'<'", "'>'", "'node'", "'int'", "'real'", "'string'", "'..'", "'scope'", "'generate'", "'partial-model'", "'solver'", "'debug'", "'log'", "'statistics'", "'output'", "'+='", "'*'", "'number'", "'runs'" + "", "", "", "", "RULE_ID", "RULE_INT", "RULE_STRING", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "'minimize'", "'maximize'", "'<='", "'>='", "'none'", "'normal'", "'full'", "'SMTSolver'", "'AlloySolver'", "'ViatraSolver'", "'.'", "'-'", "'import'", "'epackage'", "'viatra'", "'reliability'", "'file'", "'='", "'{'", "'}'", "','", "'package'", "'excluding'", "'::'", "'metamodel'", "'folder'", "'models'", "'constraints'", "'at'", "'mtff'", "'objectives'", "'config'", "'log-level'", "'runtime'", "'memory'", "'#'", "'<'", "'>'", "'node'", "'int'", "'real'", "'string'", "'..'", "'scope'", "'generate'", "'partial-model'", "'solver'", "'debug'", "'log'", "'statistics'", "'output'", "'+='", "'*'", "'number'", "'runs'" }; public static final int T__50=50; public static final int T__19=19; @@ -59,7 +59,9 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont public static final int T__62=62; public static final int T__63=63; public static final int T__20=20; + public static final int T__64=64; public static final int T__21=21; + public static final int T__65=65; public static final int RULE_STRING=6; public static final int RULE_SL_COMMENT=8; public static final int T__37=37; @@ -3155,25 +3157,25 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "ruleObjectiveFunction" - // InternalApplicationConfiguration.g:1037:1: ruleObjectiveFunction : ( ruleReliabiltiyFunction ) ; + // InternalApplicationConfiguration.g:1037:1: ruleObjectiveFunction : ( ruleReliabilityObjectiveFunction ) ; public final void ruleObjectiveFunction() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:1041:2: ( ( ruleReliabiltiyFunction ) ) - // InternalApplicationConfiguration.g:1042:2: ( ruleReliabiltiyFunction ) + // InternalApplicationConfiguration.g:1041:2: ( ( ruleReliabilityObjectiveFunction ) ) + // InternalApplicationConfiguration.g:1042:2: ( ruleReliabilityObjectiveFunction ) { - // InternalApplicationConfiguration.g:1042:2: ( ruleReliabiltiyFunction ) - // InternalApplicationConfiguration.g:1043:3: ruleReliabiltiyFunction + // InternalApplicationConfiguration.g:1042:2: ( ruleReliabilityObjectiveFunction ) + // InternalApplicationConfiguration.g:1043:3: ruleReliabilityObjectiveFunction { - before(grammarAccess.getObjectiveFunctionAccess().getReliabiltiyFunctionParserRuleCall()); + before(grammarAccess.getObjectiveFunctionAccess().getReliabilityObjectiveFunctionParserRuleCall()); pushFollow(FOLLOW_2); - ruleReliabiltiyFunction(); + ruleReliabilityObjectiveFunction(); state._fsp--; - after(grammarAccess.getObjectiveFunctionAccess().getReliabiltiyFunctionParserRuleCall()); + after(grammarAccess.getObjectiveFunctionAccess().getReliabilityObjectiveFunctionParserRuleCall()); } @@ -3195,20 +3197,20 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR end "ruleObjectiveFunction" - // $ANTLR start "entryRuleReliabiltiyFunction" - // InternalApplicationConfiguration.g:1053:1: entryRuleReliabiltiyFunction : ruleReliabiltiyFunction EOF ; - public final void entryRuleReliabiltiyFunction() throws RecognitionException { + // $ANTLR start "entryRuleReliabilityObjectiveFunction" + // InternalApplicationConfiguration.g:1053:1: entryRuleReliabilityObjectiveFunction : ruleReliabilityObjectiveFunction EOF ; + public final void entryRuleReliabilityObjectiveFunction() throws RecognitionException { try { - // InternalApplicationConfiguration.g:1054:1: ( ruleReliabiltiyFunction EOF ) - // InternalApplicationConfiguration.g:1055:1: ruleReliabiltiyFunction EOF + // InternalApplicationConfiguration.g:1054:1: ( ruleReliabilityObjectiveFunction EOF ) + // InternalApplicationConfiguration.g:1055:1: ruleReliabilityObjectiveFunction EOF { - before(grammarAccess.getReliabiltiyFunctionRule()); + before(grammarAccess.getReliabilityObjectiveFunctionRule()); pushFollow(FOLLOW_1); - ruleReliabiltiyFunction(); + ruleReliabilityObjectiveFunction(); state._fsp--; - after(grammarAccess.getReliabiltiyFunctionRule()); + after(grammarAccess.getReliabilityObjectiveFunctionRule()); match(input,EOF,FOLLOW_2); } @@ -3222,35 +3224,35 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } return ; } - // $ANTLR end "entryRuleReliabiltiyFunction" + // $ANTLR end "entryRuleReliabilityObjectiveFunction" - // $ANTLR start "ruleReliabiltiyFunction" - // InternalApplicationConfiguration.g:1062:1: ruleReliabiltiyFunction : ( ( rule__ReliabiltiyFunction__Group__0 ) ) ; - public final void ruleReliabiltiyFunction() throws RecognitionException { + // $ANTLR start "ruleReliabilityObjectiveFunction" + // InternalApplicationConfiguration.g:1062:1: ruleReliabilityObjectiveFunction : ( ( rule__ReliabilityObjectiveFunction__Alternatives ) ) ; + public final void ruleReliabilityObjectiveFunction() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:1066:2: ( ( ( rule__ReliabiltiyFunction__Group__0 ) ) ) - // InternalApplicationConfiguration.g:1067:2: ( ( rule__ReliabiltiyFunction__Group__0 ) ) + // InternalApplicationConfiguration.g:1066:2: ( ( ( rule__ReliabilityObjectiveFunction__Alternatives ) ) ) + // InternalApplicationConfiguration.g:1067:2: ( ( rule__ReliabilityObjectiveFunction__Alternatives ) ) { - // InternalApplicationConfiguration.g:1067:2: ( ( rule__ReliabiltiyFunction__Group__0 ) ) - // InternalApplicationConfiguration.g:1068:3: ( rule__ReliabiltiyFunction__Group__0 ) + // InternalApplicationConfiguration.g:1067:2: ( ( rule__ReliabilityObjectiveFunction__Alternatives ) ) + // InternalApplicationConfiguration.g:1068:3: ( rule__ReliabilityObjectiveFunction__Alternatives ) { - before(grammarAccess.getReliabiltiyFunctionAccess().getGroup()); - // InternalApplicationConfiguration.g:1069:3: ( rule__ReliabiltiyFunction__Group__0 ) - // InternalApplicationConfiguration.g:1069:4: rule__ReliabiltiyFunction__Group__0 + before(grammarAccess.getReliabilityObjectiveFunctionAccess().getAlternatives()); + // InternalApplicationConfiguration.g:1069:3: ( rule__ReliabilityObjectiveFunction__Alternatives ) + // InternalApplicationConfiguration.g:1069:4: rule__ReliabilityObjectiveFunction__Alternatives { pushFollow(FOLLOW_2); - rule__ReliabiltiyFunction__Group__0(); + rule__ReliabilityObjectiveFunction__Alternatives(); state._fsp--; } - after(grammarAccess.getReliabiltiyFunctionAccess().getGroup()); + after(grammarAccess.getReliabilityObjectiveFunctionAccess().getAlternatives()); } @@ -3269,15 +3271,169 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } return ; } - // $ANTLR end "ruleReliabiltiyFunction" + // $ANTLR end "ruleReliabilityObjectiveFunction" + + + // $ANTLR start "entryRuleReliabiltiyProbability" + // InternalApplicationConfiguration.g:1078:1: entryRuleReliabiltiyProbability : ruleReliabiltiyProbability EOF ; + public final void entryRuleReliabiltiyProbability() throws RecognitionException { + try { + // InternalApplicationConfiguration.g:1079:1: ( ruleReliabiltiyProbability EOF ) + // InternalApplicationConfiguration.g:1080:1: ruleReliabiltiyProbability EOF + { + before(grammarAccess.getReliabiltiyProbabilityRule()); + pushFollow(FOLLOW_1); + ruleReliabiltiyProbability(); + + state._fsp--; + + after(grammarAccess.getReliabiltiyProbabilityRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleReliabiltiyProbability" + + + // $ANTLR start "ruleReliabiltiyProbability" + // InternalApplicationConfiguration.g:1087:1: ruleReliabiltiyProbability : ( ( rule__ReliabiltiyProbability__Group__0 ) ) ; + public final void ruleReliabiltiyProbability() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:1091:2: ( ( ( rule__ReliabiltiyProbability__Group__0 ) ) ) + // InternalApplicationConfiguration.g:1092:2: ( ( rule__ReliabiltiyProbability__Group__0 ) ) + { + // InternalApplicationConfiguration.g:1092:2: ( ( rule__ReliabiltiyProbability__Group__0 ) ) + // InternalApplicationConfiguration.g:1093:3: ( rule__ReliabiltiyProbability__Group__0 ) + { + before(grammarAccess.getReliabiltiyProbabilityAccess().getGroup()); + // InternalApplicationConfiguration.g:1094:3: ( rule__ReliabiltiyProbability__Group__0 ) + // InternalApplicationConfiguration.g:1094:4: rule__ReliabiltiyProbability__Group__0 + { + pushFollow(FOLLOW_2); + rule__ReliabiltiyProbability__Group__0(); + + state._fsp--; + + + } + + after(grammarAccess.getReliabiltiyProbabilityAccess().getGroup()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleReliabiltiyProbability" + + + // $ANTLR start "entryRuleMtff" + // InternalApplicationConfiguration.g:1103:1: entryRuleMtff : ruleMtff EOF ; + public final void entryRuleMtff() throws RecognitionException { + try { + // InternalApplicationConfiguration.g:1104:1: ( ruleMtff EOF ) + // InternalApplicationConfiguration.g:1105:1: ruleMtff EOF + { + before(grammarAccess.getMtffRule()); + pushFollow(FOLLOW_1); + ruleMtff(); + + state._fsp--; + + after(grammarAccess.getMtffRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleMtff" + + + // $ANTLR start "ruleMtff" + // InternalApplicationConfiguration.g:1112:1: ruleMtff : ( ( rule__Mtff__Group__0 ) ) ; + public final void ruleMtff() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:1116:2: ( ( ( rule__Mtff__Group__0 ) ) ) + // InternalApplicationConfiguration.g:1117:2: ( ( rule__Mtff__Group__0 ) ) + { + // InternalApplicationConfiguration.g:1117:2: ( ( rule__Mtff__Group__0 ) ) + // InternalApplicationConfiguration.g:1118:3: ( rule__Mtff__Group__0 ) + { + before(grammarAccess.getMtffAccess().getGroup()); + // InternalApplicationConfiguration.g:1119:3: ( rule__Mtff__Group__0 ) + // InternalApplicationConfiguration.g:1119:4: rule__Mtff__Group__0 + { + pushFollow(FOLLOW_2); + rule__Mtff__Group__0(); + + state._fsp--; + + + } + + after(grammarAccess.getMtffAccess().getGroup()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleMtff" // $ANTLR start "entryRuleObjectiveDeclaration" - // InternalApplicationConfiguration.g:1078:1: entryRuleObjectiveDeclaration : ruleObjectiveDeclaration EOF ; + // InternalApplicationConfiguration.g:1128:1: entryRuleObjectiveDeclaration : ruleObjectiveDeclaration EOF ; public final void entryRuleObjectiveDeclaration() throws RecognitionException { try { - // InternalApplicationConfiguration.g:1079:1: ( ruleObjectiveDeclaration EOF ) - // InternalApplicationConfiguration.g:1080:1: ruleObjectiveDeclaration EOF + // InternalApplicationConfiguration.g:1129:1: ( ruleObjectiveDeclaration EOF ) + // InternalApplicationConfiguration.g:1130:1: ruleObjectiveDeclaration EOF { before(grammarAccess.getObjectiveDeclarationRule()); pushFollow(FOLLOW_1); @@ -3303,21 +3459,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "ruleObjectiveDeclaration" - // InternalApplicationConfiguration.g:1087:1: ruleObjectiveDeclaration : ( ( rule__ObjectiveDeclaration__Group__0 ) ) ; + // InternalApplicationConfiguration.g:1137:1: ruleObjectiveDeclaration : ( ( rule__ObjectiveDeclaration__Group__0 ) ) ; public final void ruleObjectiveDeclaration() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:1091:2: ( ( ( rule__ObjectiveDeclaration__Group__0 ) ) ) - // InternalApplicationConfiguration.g:1092:2: ( ( rule__ObjectiveDeclaration__Group__0 ) ) + // InternalApplicationConfiguration.g:1141:2: ( ( ( rule__ObjectiveDeclaration__Group__0 ) ) ) + // InternalApplicationConfiguration.g:1142:2: ( ( rule__ObjectiveDeclaration__Group__0 ) ) { - // InternalApplicationConfiguration.g:1092:2: ( ( rule__ObjectiveDeclaration__Group__0 ) ) - // InternalApplicationConfiguration.g:1093:3: ( rule__ObjectiveDeclaration__Group__0 ) + // InternalApplicationConfiguration.g:1142:2: ( ( rule__ObjectiveDeclaration__Group__0 ) ) + // InternalApplicationConfiguration.g:1143:3: ( rule__ObjectiveDeclaration__Group__0 ) { before(grammarAccess.getObjectiveDeclarationAccess().getGroup()); - // InternalApplicationConfiguration.g:1094:3: ( rule__ObjectiveDeclaration__Group__0 ) - // InternalApplicationConfiguration.g:1094:4: rule__ObjectiveDeclaration__Group__0 + // InternalApplicationConfiguration.g:1144:3: ( rule__ObjectiveDeclaration__Group__0 ) + // InternalApplicationConfiguration.g:1144:4: rule__ObjectiveDeclaration__Group__0 { pushFollow(FOLLOW_2); rule__ObjectiveDeclaration__Group__0(); @@ -3350,11 +3506,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "entryRuleObjectiveReference" - // InternalApplicationConfiguration.g:1103:1: entryRuleObjectiveReference : ruleObjectiveReference EOF ; + // InternalApplicationConfiguration.g:1153:1: entryRuleObjectiveReference : ruleObjectiveReference EOF ; public final void entryRuleObjectiveReference() throws RecognitionException { try { - // InternalApplicationConfiguration.g:1104:1: ( ruleObjectiveReference EOF ) - // InternalApplicationConfiguration.g:1105:1: ruleObjectiveReference EOF + // InternalApplicationConfiguration.g:1154:1: ( ruleObjectiveReference EOF ) + // InternalApplicationConfiguration.g:1155:1: ruleObjectiveReference EOF { before(grammarAccess.getObjectiveReferenceRule()); pushFollow(FOLLOW_1); @@ -3380,21 +3536,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "ruleObjectiveReference" - // InternalApplicationConfiguration.g:1112:1: ruleObjectiveReference : ( ( rule__ObjectiveReference__ReferredAssignment ) ) ; + // InternalApplicationConfiguration.g:1162:1: ruleObjectiveReference : ( ( rule__ObjectiveReference__ReferredAssignment ) ) ; public final void ruleObjectiveReference() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:1116:2: ( ( ( rule__ObjectiveReference__ReferredAssignment ) ) ) - // InternalApplicationConfiguration.g:1117:2: ( ( rule__ObjectiveReference__ReferredAssignment ) ) + // InternalApplicationConfiguration.g:1166:2: ( ( ( rule__ObjectiveReference__ReferredAssignment ) ) ) + // InternalApplicationConfiguration.g:1167:2: ( ( rule__ObjectiveReference__ReferredAssignment ) ) { - // InternalApplicationConfiguration.g:1117:2: ( ( rule__ObjectiveReference__ReferredAssignment ) ) - // InternalApplicationConfiguration.g:1118:3: ( rule__ObjectiveReference__ReferredAssignment ) + // InternalApplicationConfiguration.g:1167:2: ( ( rule__ObjectiveReference__ReferredAssignment ) ) + // InternalApplicationConfiguration.g:1168:3: ( rule__ObjectiveReference__ReferredAssignment ) { before(grammarAccess.getObjectiveReferenceAccess().getReferredAssignment()); - // InternalApplicationConfiguration.g:1119:3: ( rule__ObjectiveReference__ReferredAssignment ) - // InternalApplicationConfiguration.g:1119:4: rule__ObjectiveReference__ReferredAssignment + // InternalApplicationConfiguration.g:1169:3: ( rule__ObjectiveReference__ReferredAssignment ) + // InternalApplicationConfiguration.g:1169:4: rule__ObjectiveReference__ReferredAssignment { pushFollow(FOLLOW_2); rule__ObjectiveReference__ReferredAssignment(); @@ -3427,11 +3583,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "entryRuleObjective" - // InternalApplicationConfiguration.g:1128:1: entryRuleObjective : ruleObjective EOF ; + // InternalApplicationConfiguration.g:1178:1: entryRuleObjective : ruleObjective EOF ; public final void entryRuleObjective() throws RecognitionException { try { - // InternalApplicationConfiguration.g:1129:1: ( ruleObjective EOF ) - // InternalApplicationConfiguration.g:1130:1: ruleObjective EOF + // InternalApplicationConfiguration.g:1179:1: ( ruleObjective EOF ) + // InternalApplicationConfiguration.g:1180:1: ruleObjective EOF { before(grammarAccess.getObjectiveRule()); pushFollow(FOLLOW_1); @@ -3457,21 +3613,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "ruleObjective" - // InternalApplicationConfiguration.g:1137:1: ruleObjective : ( ( rule__Objective__Alternatives ) ) ; + // InternalApplicationConfiguration.g:1187:1: ruleObjective : ( ( rule__Objective__Alternatives ) ) ; public final void ruleObjective() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:1141:2: ( ( ( rule__Objective__Alternatives ) ) ) - // InternalApplicationConfiguration.g:1142:2: ( ( rule__Objective__Alternatives ) ) + // InternalApplicationConfiguration.g:1191:2: ( ( ( rule__Objective__Alternatives ) ) ) + // InternalApplicationConfiguration.g:1192:2: ( ( rule__Objective__Alternatives ) ) { - // InternalApplicationConfiguration.g:1142:2: ( ( rule__Objective__Alternatives ) ) - // InternalApplicationConfiguration.g:1143:3: ( rule__Objective__Alternatives ) + // InternalApplicationConfiguration.g:1192:2: ( ( rule__Objective__Alternatives ) ) + // InternalApplicationConfiguration.g:1193:3: ( rule__Objective__Alternatives ) { before(grammarAccess.getObjectiveAccess().getAlternatives()); - // InternalApplicationConfiguration.g:1144:3: ( rule__Objective__Alternatives ) - // InternalApplicationConfiguration.g:1144:4: rule__Objective__Alternatives + // InternalApplicationConfiguration.g:1194:3: ( rule__Objective__Alternatives ) + // InternalApplicationConfiguration.g:1194:4: rule__Objective__Alternatives { pushFollow(FOLLOW_2); rule__Objective__Alternatives(); @@ -3504,11 +3660,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "entryRuleConfigSpecification" - // InternalApplicationConfiguration.g:1153:1: entryRuleConfigSpecification : ruleConfigSpecification EOF ; + // InternalApplicationConfiguration.g:1203:1: entryRuleConfigSpecification : ruleConfigSpecification EOF ; public final void entryRuleConfigSpecification() throws RecognitionException { try { - // InternalApplicationConfiguration.g:1154:1: ( ruleConfigSpecification EOF ) - // InternalApplicationConfiguration.g:1155:1: ruleConfigSpecification EOF + // InternalApplicationConfiguration.g:1204:1: ( ruleConfigSpecification EOF ) + // InternalApplicationConfiguration.g:1205:1: ruleConfigSpecification EOF { before(grammarAccess.getConfigSpecificationRule()); pushFollow(FOLLOW_1); @@ -3534,21 +3690,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "ruleConfigSpecification" - // InternalApplicationConfiguration.g:1162:1: ruleConfigSpecification : ( ( rule__ConfigSpecification__Group__0 ) ) ; + // InternalApplicationConfiguration.g:1212:1: ruleConfigSpecification : ( ( rule__ConfigSpecification__Group__0 ) ) ; public final void ruleConfigSpecification() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:1166:2: ( ( ( rule__ConfigSpecification__Group__0 ) ) ) - // InternalApplicationConfiguration.g:1167:2: ( ( rule__ConfigSpecification__Group__0 ) ) + // InternalApplicationConfiguration.g:1216:2: ( ( ( rule__ConfigSpecification__Group__0 ) ) ) + // InternalApplicationConfiguration.g:1217:2: ( ( rule__ConfigSpecification__Group__0 ) ) { - // InternalApplicationConfiguration.g:1167:2: ( ( rule__ConfigSpecification__Group__0 ) ) - // InternalApplicationConfiguration.g:1168:3: ( rule__ConfigSpecification__Group__0 ) + // InternalApplicationConfiguration.g:1217:2: ( ( rule__ConfigSpecification__Group__0 ) ) + // InternalApplicationConfiguration.g:1218:3: ( rule__ConfigSpecification__Group__0 ) { before(grammarAccess.getConfigSpecificationAccess().getGroup()); - // InternalApplicationConfiguration.g:1169:3: ( rule__ConfigSpecification__Group__0 ) - // InternalApplicationConfiguration.g:1169:4: rule__ConfigSpecification__Group__0 + // InternalApplicationConfiguration.g:1219:3: ( rule__ConfigSpecification__Group__0 ) + // InternalApplicationConfiguration.g:1219:4: rule__ConfigSpecification__Group__0 { pushFollow(FOLLOW_2); rule__ConfigSpecification__Group__0(); @@ -3581,11 +3737,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "entryRuleConfigDeclaration" - // InternalApplicationConfiguration.g:1178:1: entryRuleConfigDeclaration : ruleConfigDeclaration EOF ; + // InternalApplicationConfiguration.g:1228:1: entryRuleConfigDeclaration : ruleConfigDeclaration EOF ; public final void entryRuleConfigDeclaration() throws RecognitionException { try { - // InternalApplicationConfiguration.g:1179:1: ( ruleConfigDeclaration EOF ) - // InternalApplicationConfiguration.g:1180:1: ruleConfigDeclaration EOF + // InternalApplicationConfiguration.g:1229:1: ( ruleConfigDeclaration EOF ) + // InternalApplicationConfiguration.g:1230:1: ruleConfigDeclaration EOF { before(grammarAccess.getConfigDeclarationRule()); pushFollow(FOLLOW_1); @@ -3611,21 +3767,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "ruleConfigDeclaration" - // InternalApplicationConfiguration.g:1187:1: ruleConfigDeclaration : ( ( rule__ConfigDeclaration__Group__0 ) ) ; + // InternalApplicationConfiguration.g:1237:1: ruleConfigDeclaration : ( ( rule__ConfigDeclaration__Group__0 ) ) ; public final void ruleConfigDeclaration() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:1191:2: ( ( ( rule__ConfigDeclaration__Group__0 ) ) ) - // InternalApplicationConfiguration.g:1192:2: ( ( rule__ConfigDeclaration__Group__0 ) ) + // InternalApplicationConfiguration.g:1241:2: ( ( ( rule__ConfigDeclaration__Group__0 ) ) ) + // InternalApplicationConfiguration.g:1242:2: ( ( rule__ConfigDeclaration__Group__0 ) ) { - // InternalApplicationConfiguration.g:1192:2: ( ( rule__ConfigDeclaration__Group__0 ) ) - // InternalApplicationConfiguration.g:1193:3: ( rule__ConfigDeclaration__Group__0 ) + // InternalApplicationConfiguration.g:1242:2: ( ( rule__ConfigDeclaration__Group__0 ) ) + // InternalApplicationConfiguration.g:1243:3: ( rule__ConfigDeclaration__Group__0 ) { before(grammarAccess.getConfigDeclarationAccess().getGroup()); - // InternalApplicationConfiguration.g:1194:3: ( rule__ConfigDeclaration__Group__0 ) - // InternalApplicationConfiguration.g:1194:4: rule__ConfigDeclaration__Group__0 + // InternalApplicationConfiguration.g:1244:3: ( rule__ConfigDeclaration__Group__0 ) + // InternalApplicationConfiguration.g:1244:4: rule__ConfigDeclaration__Group__0 { pushFollow(FOLLOW_2); rule__ConfigDeclaration__Group__0(); @@ -3658,11 +3814,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "entryRuleConfigEntry" - // InternalApplicationConfiguration.g:1203:1: entryRuleConfigEntry : ruleConfigEntry EOF ; + // InternalApplicationConfiguration.g:1253:1: entryRuleConfigEntry : ruleConfigEntry EOF ; public final void entryRuleConfigEntry() throws RecognitionException { try { - // InternalApplicationConfiguration.g:1204:1: ( ruleConfigEntry EOF ) - // InternalApplicationConfiguration.g:1205:1: ruleConfigEntry EOF + // InternalApplicationConfiguration.g:1254:1: ( ruleConfigEntry EOF ) + // InternalApplicationConfiguration.g:1255:1: ruleConfigEntry EOF { before(grammarAccess.getConfigEntryRule()); pushFollow(FOLLOW_1); @@ -3688,21 +3844,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "ruleConfigEntry" - // InternalApplicationConfiguration.g:1212:1: ruleConfigEntry : ( ( rule__ConfigEntry__Alternatives ) ) ; + // InternalApplicationConfiguration.g:1262:1: ruleConfigEntry : ( ( rule__ConfigEntry__Alternatives ) ) ; public final void ruleConfigEntry() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:1216:2: ( ( ( rule__ConfigEntry__Alternatives ) ) ) - // InternalApplicationConfiguration.g:1217:2: ( ( rule__ConfigEntry__Alternatives ) ) + // InternalApplicationConfiguration.g:1266:2: ( ( ( rule__ConfigEntry__Alternatives ) ) ) + // InternalApplicationConfiguration.g:1267:2: ( ( rule__ConfigEntry__Alternatives ) ) { - // InternalApplicationConfiguration.g:1217:2: ( ( rule__ConfigEntry__Alternatives ) ) - // InternalApplicationConfiguration.g:1218:3: ( rule__ConfigEntry__Alternatives ) + // InternalApplicationConfiguration.g:1267:2: ( ( rule__ConfigEntry__Alternatives ) ) + // InternalApplicationConfiguration.g:1268:3: ( rule__ConfigEntry__Alternatives ) { before(grammarAccess.getConfigEntryAccess().getAlternatives()); - // InternalApplicationConfiguration.g:1219:3: ( rule__ConfigEntry__Alternatives ) - // InternalApplicationConfiguration.g:1219:4: rule__ConfigEntry__Alternatives + // InternalApplicationConfiguration.g:1269:3: ( rule__ConfigEntry__Alternatives ) + // InternalApplicationConfiguration.g:1269:4: rule__ConfigEntry__Alternatives { pushFollow(FOLLOW_2); rule__ConfigEntry__Alternatives(); @@ -3735,11 +3891,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "entryRuleDocumentationEntry" - // InternalApplicationConfiguration.g:1228:1: entryRuleDocumentationEntry : ruleDocumentationEntry EOF ; + // InternalApplicationConfiguration.g:1278:1: entryRuleDocumentationEntry : ruleDocumentationEntry EOF ; public final void entryRuleDocumentationEntry() throws RecognitionException { try { - // InternalApplicationConfiguration.g:1229:1: ( ruleDocumentationEntry EOF ) - // InternalApplicationConfiguration.g:1230:1: ruleDocumentationEntry EOF + // InternalApplicationConfiguration.g:1279:1: ( ruleDocumentationEntry EOF ) + // InternalApplicationConfiguration.g:1280:1: ruleDocumentationEntry EOF { before(grammarAccess.getDocumentationEntryRule()); pushFollow(FOLLOW_1); @@ -3765,21 +3921,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "ruleDocumentationEntry" - // InternalApplicationConfiguration.g:1237:1: ruleDocumentationEntry : ( ( rule__DocumentationEntry__Group__0 ) ) ; + // InternalApplicationConfiguration.g:1287:1: ruleDocumentationEntry : ( ( rule__DocumentationEntry__Group__0 ) ) ; public final void ruleDocumentationEntry() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:1241:2: ( ( ( rule__DocumentationEntry__Group__0 ) ) ) - // InternalApplicationConfiguration.g:1242:2: ( ( rule__DocumentationEntry__Group__0 ) ) + // InternalApplicationConfiguration.g:1291:2: ( ( ( rule__DocumentationEntry__Group__0 ) ) ) + // InternalApplicationConfiguration.g:1292:2: ( ( rule__DocumentationEntry__Group__0 ) ) { - // InternalApplicationConfiguration.g:1242:2: ( ( rule__DocumentationEntry__Group__0 ) ) - // InternalApplicationConfiguration.g:1243:3: ( rule__DocumentationEntry__Group__0 ) + // InternalApplicationConfiguration.g:1292:2: ( ( rule__DocumentationEntry__Group__0 ) ) + // InternalApplicationConfiguration.g:1293:3: ( rule__DocumentationEntry__Group__0 ) { before(grammarAccess.getDocumentationEntryAccess().getGroup()); - // InternalApplicationConfiguration.g:1244:3: ( rule__DocumentationEntry__Group__0 ) - // InternalApplicationConfiguration.g:1244:4: rule__DocumentationEntry__Group__0 + // InternalApplicationConfiguration.g:1294:3: ( rule__DocumentationEntry__Group__0 ) + // InternalApplicationConfiguration.g:1294:4: rule__DocumentationEntry__Group__0 { pushFollow(FOLLOW_2); rule__DocumentationEntry__Group__0(); @@ -3812,11 +3968,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "entryRuleRuntimeEntry" - // InternalApplicationConfiguration.g:1253:1: entryRuleRuntimeEntry : ruleRuntimeEntry EOF ; + // InternalApplicationConfiguration.g:1303:1: entryRuleRuntimeEntry : ruleRuntimeEntry EOF ; public final void entryRuleRuntimeEntry() throws RecognitionException { try { - // InternalApplicationConfiguration.g:1254:1: ( ruleRuntimeEntry EOF ) - // InternalApplicationConfiguration.g:1255:1: ruleRuntimeEntry EOF + // InternalApplicationConfiguration.g:1304:1: ( ruleRuntimeEntry EOF ) + // InternalApplicationConfiguration.g:1305:1: ruleRuntimeEntry EOF { before(grammarAccess.getRuntimeEntryRule()); pushFollow(FOLLOW_1); @@ -3842,21 +3998,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "ruleRuntimeEntry" - // InternalApplicationConfiguration.g:1262:1: ruleRuntimeEntry : ( ( rule__RuntimeEntry__Group__0 ) ) ; + // InternalApplicationConfiguration.g:1312:1: ruleRuntimeEntry : ( ( rule__RuntimeEntry__Group__0 ) ) ; public final void ruleRuntimeEntry() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:1266:2: ( ( ( rule__RuntimeEntry__Group__0 ) ) ) - // InternalApplicationConfiguration.g:1267:2: ( ( rule__RuntimeEntry__Group__0 ) ) + // InternalApplicationConfiguration.g:1316:2: ( ( ( rule__RuntimeEntry__Group__0 ) ) ) + // InternalApplicationConfiguration.g:1317:2: ( ( rule__RuntimeEntry__Group__0 ) ) { - // InternalApplicationConfiguration.g:1267:2: ( ( rule__RuntimeEntry__Group__0 ) ) - // InternalApplicationConfiguration.g:1268:3: ( rule__RuntimeEntry__Group__0 ) + // InternalApplicationConfiguration.g:1317:2: ( ( rule__RuntimeEntry__Group__0 ) ) + // InternalApplicationConfiguration.g:1318:3: ( rule__RuntimeEntry__Group__0 ) { before(grammarAccess.getRuntimeEntryAccess().getGroup()); - // InternalApplicationConfiguration.g:1269:3: ( rule__RuntimeEntry__Group__0 ) - // InternalApplicationConfiguration.g:1269:4: rule__RuntimeEntry__Group__0 + // InternalApplicationConfiguration.g:1319:3: ( rule__RuntimeEntry__Group__0 ) + // InternalApplicationConfiguration.g:1319:4: rule__RuntimeEntry__Group__0 { pushFollow(FOLLOW_2); rule__RuntimeEntry__Group__0(); @@ -3889,11 +4045,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "entryRuleMemoryEntry" - // InternalApplicationConfiguration.g:1278:1: entryRuleMemoryEntry : ruleMemoryEntry EOF ; + // InternalApplicationConfiguration.g:1328:1: entryRuleMemoryEntry : ruleMemoryEntry EOF ; public final void entryRuleMemoryEntry() throws RecognitionException { try { - // InternalApplicationConfiguration.g:1279:1: ( ruleMemoryEntry EOF ) - // InternalApplicationConfiguration.g:1280:1: ruleMemoryEntry EOF + // InternalApplicationConfiguration.g:1329:1: ( ruleMemoryEntry EOF ) + // InternalApplicationConfiguration.g:1330:1: ruleMemoryEntry EOF { before(grammarAccess.getMemoryEntryRule()); pushFollow(FOLLOW_1); @@ -3919,21 +4075,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "ruleMemoryEntry" - // InternalApplicationConfiguration.g:1287:1: ruleMemoryEntry : ( ( rule__MemoryEntry__Group__0 ) ) ; + // InternalApplicationConfiguration.g:1337:1: ruleMemoryEntry : ( ( rule__MemoryEntry__Group__0 ) ) ; public final void ruleMemoryEntry() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:1291:2: ( ( ( rule__MemoryEntry__Group__0 ) ) ) - // InternalApplicationConfiguration.g:1292:2: ( ( rule__MemoryEntry__Group__0 ) ) + // InternalApplicationConfiguration.g:1341:2: ( ( ( rule__MemoryEntry__Group__0 ) ) ) + // InternalApplicationConfiguration.g:1342:2: ( ( rule__MemoryEntry__Group__0 ) ) { - // InternalApplicationConfiguration.g:1292:2: ( ( rule__MemoryEntry__Group__0 ) ) - // InternalApplicationConfiguration.g:1293:3: ( rule__MemoryEntry__Group__0 ) + // InternalApplicationConfiguration.g:1342:2: ( ( rule__MemoryEntry__Group__0 ) ) + // InternalApplicationConfiguration.g:1343:3: ( rule__MemoryEntry__Group__0 ) { before(grammarAccess.getMemoryEntryAccess().getGroup()); - // InternalApplicationConfiguration.g:1294:3: ( rule__MemoryEntry__Group__0 ) - // InternalApplicationConfiguration.g:1294:4: rule__MemoryEntry__Group__0 + // InternalApplicationConfiguration.g:1344:3: ( rule__MemoryEntry__Group__0 ) + // InternalApplicationConfiguration.g:1344:4: rule__MemoryEntry__Group__0 { pushFollow(FOLLOW_2); rule__MemoryEntry__Group__0(); @@ -3966,11 +4122,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "entryRuleCustomEntry" - // InternalApplicationConfiguration.g:1303:1: entryRuleCustomEntry : ruleCustomEntry EOF ; + // InternalApplicationConfiguration.g:1353:1: entryRuleCustomEntry : ruleCustomEntry EOF ; public final void entryRuleCustomEntry() throws RecognitionException { try { - // InternalApplicationConfiguration.g:1304:1: ( ruleCustomEntry EOF ) - // InternalApplicationConfiguration.g:1305:1: ruleCustomEntry EOF + // InternalApplicationConfiguration.g:1354:1: ( ruleCustomEntry EOF ) + // InternalApplicationConfiguration.g:1355:1: ruleCustomEntry EOF { before(grammarAccess.getCustomEntryRule()); pushFollow(FOLLOW_1); @@ -3996,21 +4152,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "ruleCustomEntry" - // InternalApplicationConfiguration.g:1312:1: ruleCustomEntry : ( ( rule__CustomEntry__Group__0 ) ) ; + // InternalApplicationConfiguration.g:1362:1: ruleCustomEntry : ( ( rule__CustomEntry__Group__0 ) ) ; public final void ruleCustomEntry() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:1316:2: ( ( ( rule__CustomEntry__Group__0 ) ) ) - // InternalApplicationConfiguration.g:1317:2: ( ( rule__CustomEntry__Group__0 ) ) + // InternalApplicationConfiguration.g:1366:2: ( ( ( rule__CustomEntry__Group__0 ) ) ) + // InternalApplicationConfiguration.g:1367:2: ( ( rule__CustomEntry__Group__0 ) ) { - // InternalApplicationConfiguration.g:1317:2: ( ( rule__CustomEntry__Group__0 ) ) - // InternalApplicationConfiguration.g:1318:3: ( rule__CustomEntry__Group__0 ) + // InternalApplicationConfiguration.g:1367:2: ( ( rule__CustomEntry__Group__0 ) ) + // InternalApplicationConfiguration.g:1368:3: ( rule__CustomEntry__Group__0 ) { before(grammarAccess.getCustomEntryAccess().getGroup()); - // InternalApplicationConfiguration.g:1319:3: ( rule__CustomEntry__Group__0 ) - // InternalApplicationConfiguration.g:1319:4: rule__CustomEntry__Group__0 + // InternalApplicationConfiguration.g:1369:3: ( rule__CustomEntry__Group__0 ) + // InternalApplicationConfiguration.g:1369:4: rule__CustomEntry__Group__0 { pushFollow(FOLLOW_2); rule__CustomEntry__Group__0(); @@ -4043,11 +4199,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "entryRuleConfigReference" - // InternalApplicationConfiguration.g:1328:1: entryRuleConfigReference : ruleConfigReference EOF ; + // InternalApplicationConfiguration.g:1378:1: entryRuleConfigReference : ruleConfigReference EOF ; public final void entryRuleConfigReference() throws RecognitionException { try { - // InternalApplicationConfiguration.g:1329:1: ( ruleConfigReference EOF ) - // InternalApplicationConfiguration.g:1330:1: ruleConfigReference EOF + // InternalApplicationConfiguration.g:1379:1: ( ruleConfigReference EOF ) + // InternalApplicationConfiguration.g:1380:1: ruleConfigReference EOF { before(grammarAccess.getConfigReferenceRule()); pushFollow(FOLLOW_1); @@ -4073,21 +4229,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "ruleConfigReference" - // InternalApplicationConfiguration.g:1337:1: ruleConfigReference : ( ( rule__ConfigReference__ConfigAssignment ) ) ; + // InternalApplicationConfiguration.g:1387:1: ruleConfigReference : ( ( rule__ConfigReference__ConfigAssignment ) ) ; public final void ruleConfigReference() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:1341:2: ( ( ( rule__ConfigReference__ConfigAssignment ) ) ) - // InternalApplicationConfiguration.g:1342:2: ( ( rule__ConfigReference__ConfigAssignment ) ) + // InternalApplicationConfiguration.g:1391:2: ( ( ( rule__ConfigReference__ConfigAssignment ) ) ) + // InternalApplicationConfiguration.g:1392:2: ( ( rule__ConfigReference__ConfigAssignment ) ) { - // InternalApplicationConfiguration.g:1342:2: ( ( rule__ConfigReference__ConfigAssignment ) ) - // InternalApplicationConfiguration.g:1343:3: ( rule__ConfigReference__ConfigAssignment ) + // InternalApplicationConfiguration.g:1392:2: ( ( rule__ConfigReference__ConfigAssignment ) ) + // InternalApplicationConfiguration.g:1393:3: ( rule__ConfigReference__ConfigAssignment ) { before(grammarAccess.getConfigReferenceAccess().getConfigAssignment()); - // InternalApplicationConfiguration.g:1344:3: ( rule__ConfigReference__ConfigAssignment ) - // InternalApplicationConfiguration.g:1344:4: rule__ConfigReference__ConfigAssignment + // InternalApplicationConfiguration.g:1394:3: ( rule__ConfigReference__ConfigAssignment ) + // InternalApplicationConfiguration.g:1394:4: rule__ConfigReference__ConfigAssignment { pushFollow(FOLLOW_2); rule__ConfigReference__ConfigAssignment(); @@ -4120,11 +4276,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "entryRuleConfig" - // InternalApplicationConfiguration.g:1353:1: entryRuleConfig : ruleConfig EOF ; + // InternalApplicationConfiguration.g:1403:1: entryRuleConfig : ruleConfig EOF ; public final void entryRuleConfig() throws RecognitionException { try { - // InternalApplicationConfiguration.g:1354:1: ( ruleConfig EOF ) - // InternalApplicationConfiguration.g:1355:1: ruleConfig EOF + // InternalApplicationConfiguration.g:1404:1: ( ruleConfig EOF ) + // InternalApplicationConfiguration.g:1405:1: ruleConfig EOF { before(grammarAccess.getConfigRule()); pushFollow(FOLLOW_1); @@ -4150,21 +4306,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "ruleConfig" - // InternalApplicationConfiguration.g:1362:1: ruleConfig : ( ( rule__Config__Alternatives ) ) ; + // InternalApplicationConfiguration.g:1412:1: ruleConfig : ( ( rule__Config__Alternatives ) ) ; public final void ruleConfig() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:1366:2: ( ( ( rule__Config__Alternatives ) ) ) - // InternalApplicationConfiguration.g:1367:2: ( ( rule__Config__Alternatives ) ) + // InternalApplicationConfiguration.g:1416:2: ( ( ( rule__Config__Alternatives ) ) ) + // InternalApplicationConfiguration.g:1417:2: ( ( rule__Config__Alternatives ) ) { - // InternalApplicationConfiguration.g:1367:2: ( ( rule__Config__Alternatives ) ) - // InternalApplicationConfiguration.g:1368:3: ( rule__Config__Alternatives ) + // InternalApplicationConfiguration.g:1417:2: ( ( rule__Config__Alternatives ) ) + // InternalApplicationConfiguration.g:1418:3: ( rule__Config__Alternatives ) { before(grammarAccess.getConfigAccess().getAlternatives()); - // InternalApplicationConfiguration.g:1369:3: ( rule__Config__Alternatives ) - // InternalApplicationConfiguration.g:1369:4: rule__Config__Alternatives + // InternalApplicationConfiguration.g:1419:3: ( rule__Config__Alternatives ) + // InternalApplicationConfiguration.g:1419:4: rule__Config__Alternatives { pushFollow(FOLLOW_2); rule__Config__Alternatives(); @@ -4197,11 +4353,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "entryRuleScopeSpecification" - // InternalApplicationConfiguration.g:1378:1: entryRuleScopeSpecification : ruleScopeSpecification EOF ; + // InternalApplicationConfiguration.g:1428:1: entryRuleScopeSpecification : ruleScopeSpecification EOF ; public final void entryRuleScopeSpecification() throws RecognitionException { try { - // InternalApplicationConfiguration.g:1379:1: ( ruleScopeSpecification EOF ) - // InternalApplicationConfiguration.g:1380:1: ruleScopeSpecification EOF + // InternalApplicationConfiguration.g:1429:1: ( ruleScopeSpecification EOF ) + // InternalApplicationConfiguration.g:1430:1: ruleScopeSpecification EOF { before(grammarAccess.getScopeSpecificationRule()); pushFollow(FOLLOW_1); @@ -4227,21 +4383,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "ruleScopeSpecification" - // InternalApplicationConfiguration.g:1387:1: ruleScopeSpecification : ( ( rule__ScopeSpecification__Group__0 ) ) ; + // InternalApplicationConfiguration.g:1437:1: ruleScopeSpecification : ( ( rule__ScopeSpecification__Group__0 ) ) ; public final void ruleScopeSpecification() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:1391:2: ( ( ( rule__ScopeSpecification__Group__0 ) ) ) - // InternalApplicationConfiguration.g:1392:2: ( ( rule__ScopeSpecification__Group__0 ) ) + // InternalApplicationConfiguration.g:1441:2: ( ( ( rule__ScopeSpecification__Group__0 ) ) ) + // InternalApplicationConfiguration.g:1442:2: ( ( rule__ScopeSpecification__Group__0 ) ) { - // InternalApplicationConfiguration.g:1392:2: ( ( rule__ScopeSpecification__Group__0 ) ) - // InternalApplicationConfiguration.g:1393:3: ( rule__ScopeSpecification__Group__0 ) + // InternalApplicationConfiguration.g:1442:2: ( ( rule__ScopeSpecification__Group__0 ) ) + // InternalApplicationConfiguration.g:1443:3: ( rule__ScopeSpecification__Group__0 ) { before(grammarAccess.getScopeSpecificationAccess().getGroup()); - // InternalApplicationConfiguration.g:1394:3: ( rule__ScopeSpecification__Group__0 ) - // InternalApplicationConfiguration.g:1394:4: rule__ScopeSpecification__Group__0 + // InternalApplicationConfiguration.g:1444:3: ( rule__ScopeSpecification__Group__0 ) + // InternalApplicationConfiguration.g:1444:4: rule__ScopeSpecification__Group__0 { pushFollow(FOLLOW_2); rule__ScopeSpecification__Group__0(); @@ -4274,11 +4430,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "entryRuleTypeScope" - // InternalApplicationConfiguration.g:1403:1: entryRuleTypeScope : ruleTypeScope EOF ; + // InternalApplicationConfiguration.g:1453:1: entryRuleTypeScope : ruleTypeScope EOF ; public final void entryRuleTypeScope() throws RecognitionException { try { - // InternalApplicationConfiguration.g:1404:1: ( ruleTypeScope EOF ) - // InternalApplicationConfiguration.g:1405:1: ruleTypeScope EOF + // InternalApplicationConfiguration.g:1454:1: ( ruleTypeScope EOF ) + // InternalApplicationConfiguration.g:1455:1: ruleTypeScope EOF { before(grammarAccess.getTypeScopeRule()); pushFollow(FOLLOW_1); @@ -4304,21 +4460,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "ruleTypeScope" - // InternalApplicationConfiguration.g:1412:1: ruleTypeScope : ( ( rule__TypeScope__Alternatives ) ) ; + // InternalApplicationConfiguration.g:1462:1: ruleTypeScope : ( ( rule__TypeScope__Alternatives ) ) ; public final void ruleTypeScope() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:1416:2: ( ( ( rule__TypeScope__Alternatives ) ) ) - // InternalApplicationConfiguration.g:1417:2: ( ( rule__TypeScope__Alternatives ) ) + // InternalApplicationConfiguration.g:1466:2: ( ( ( rule__TypeScope__Alternatives ) ) ) + // InternalApplicationConfiguration.g:1467:2: ( ( rule__TypeScope__Alternatives ) ) { - // InternalApplicationConfiguration.g:1417:2: ( ( rule__TypeScope__Alternatives ) ) - // InternalApplicationConfiguration.g:1418:3: ( rule__TypeScope__Alternatives ) + // InternalApplicationConfiguration.g:1467:2: ( ( rule__TypeScope__Alternatives ) ) + // InternalApplicationConfiguration.g:1468:3: ( rule__TypeScope__Alternatives ) { before(grammarAccess.getTypeScopeAccess().getAlternatives()); - // InternalApplicationConfiguration.g:1419:3: ( rule__TypeScope__Alternatives ) - // InternalApplicationConfiguration.g:1419:4: rule__TypeScope__Alternatives + // InternalApplicationConfiguration.g:1469:3: ( rule__TypeScope__Alternatives ) + // InternalApplicationConfiguration.g:1469:4: rule__TypeScope__Alternatives { pushFollow(FOLLOW_2); rule__TypeScope__Alternatives(); @@ -4351,11 +4507,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "entryRuleClassTypeScope" - // InternalApplicationConfiguration.g:1428:1: entryRuleClassTypeScope : ruleClassTypeScope EOF ; + // InternalApplicationConfiguration.g:1478:1: entryRuleClassTypeScope : ruleClassTypeScope EOF ; public final void entryRuleClassTypeScope() throws RecognitionException { try { - // InternalApplicationConfiguration.g:1429:1: ( ruleClassTypeScope EOF ) - // InternalApplicationConfiguration.g:1430:1: ruleClassTypeScope EOF + // InternalApplicationConfiguration.g:1479:1: ( ruleClassTypeScope EOF ) + // InternalApplicationConfiguration.g:1480:1: ruleClassTypeScope EOF { before(grammarAccess.getClassTypeScopeRule()); pushFollow(FOLLOW_1); @@ -4381,21 +4537,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "ruleClassTypeScope" - // InternalApplicationConfiguration.g:1437:1: ruleClassTypeScope : ( ( rule__ClassTypeScope__Group__0 ) ) ; + // InternalApplicationConfiguration.g:1487:1: ruleClassTypeScope : ( ( rule__ClassTypeScope__Group__0 ) ) ; public final void ruleClassTypeScope() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:1441:2: ( ( ( rule__ClassTypeScope__Group__0 ) ) ) - // InternalApplicationConfiguration.g:1442:2: ( ( rule__ClassTypeScope__Group__0 ) ) + // InternalApplicationConfiguration.g:1491:2: ( ( ( rule__ClassTypeScope__Group__0 ) ) ) + // InternalApplicationConfiguration.g:1492:2: ( ( rule__ClassTypeScope__Group__0 ) ) { - // InternalApplicationConfiguration.g:1442:2: ( ( rule__ClassTypeScope__Group__0 ) ) - // InternalApplicationConfiguration.g:1443:3: ( rule__ClassTypeScope__Group__0 ) + // InternalApplicationConfiguration.g:1492:2: ( ( rule__ClassTypeScope__Group__0 ) ) + // InternalApplicationConfiguration.g:1493:3: ( rule__ClassTypeScope__Group__0 ) { before(grammarAccess.getClassTypeScopeAccess().getGroup()); - // InternalApplicationConfiguration.g:1444:3: ( rule__ClassTypeScope__Group__0 ) - // InternalApplicationConfiguration.g:1444:4: rule__ClassTypeScope__Group__0 + // InternalApplicationConfiguration.g:1494:3: ( rule__ClassTypeScope__Group__0 ) + // InternalApplicationConfiguration.g:1494:4: rule__ClassTypeScope__Group__0 { pushFollow(FOLLOW_2); rule__ClassTypeScope__Group__0(); @@ -4428,11 +4584,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "entryRuleObjectTypeScope" - // InternalApplicationConfiguration.g:1453:1: entryRuleObjectTypeScope : ruleObjectTypeScope EOF ; + // InternalApplicationConfiguration.g:1503:1: entryRuleObjectTypeScope : ruleObjectTypeScope EOF ; public final void entryRuleObjectTypeScope() throws RecognitionException { try { - // InternalApplicationConfiguration.g:1454:1: ( ruleObjectTypeScope EOF ) - // InternalApplicationConfiguration.g:1455:1: ruleObjectTypeScope EOF + // InternalApplicationConfiguration.g:1504:1: ( ruleObjectTypeScope EOF ) + // InternalApplicationConfiguration.g:1505:1: ruleObjectTypeScope EOF { before(grammarAccess.getObjectTypeScopeRule()); pushFollow(FOLLOW_1); @@ -4458,21 +4614,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "ruleObjectTypeScope" - // InternalApplicationConfiguration.g:1462:1: ruleObjectTypeScope : ( ( rule__ObjectTypeScope__Group__0 ) ) ; + // InternalApplicationConfiguration.g:1512:1: ruleObjectTypeScope : ( ( rule__ObjectTypeScope__Group__0 ) ) ; public final void ruleObjectTypeScope() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:1466:2: ( ( ( rule__ObjectTypeScope__Group__0 ) ) ) - // InternalApplicationConfiguration.g:1467:2: ( ( rule__ObjectTypeScope__Group__0 ) ) + // InternalApplicationConfiguration.g:1516:2: ( ( ( rule__ObjectTypeScope__Group__0 ) ) ) + // InternalApplicationConfiguration.g:1517:2: ( ( rule__ObjectTypeScope__Group__0 ) ) { - // InternalApplicationConfiguration.g:1467:2: ( ( rule__ObjectTypeScope__Group__0 ) ) - // InternalApplicationConfiguration.g:1468:3: ( rule__ObjectTypeScope__Group__0 ) + // InternalApplicationConfiguration.g:1517:2: ( ( rule__ObjectTypeScope__Group__0 ) ) + // InternalApplicationConfiguration.g:1518:3: ( rule__ObjectTypeScope__Group__0 ) { before(grammarAccess.getObjectTypeScopeAccess().getGroup()); - // InternalApplicationConfiguration.g:1469:3: ( rule__ObjectTypeScope__Group__0 ) - // InternalApplicationConfiguration.g:1469:4: rule__ObjectTypeScope__Group__0 + // InternalApplicationConfiguration.g:1519:3: ( rule__ObjectTypeScope__Group__0 ) + // InternalApplicationConfiguration.g:1519:4: rule__ObjectTypeScope__Group__0 { pushFollow(FOLLOW_2); rule__ObjectTypeScope__Group__0(); @@ -4505,11 +4661,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "entryRuleIntegerTypeScope" - // InternalApplicationConfiguration.g:1478:1: entryRuleIntegerTypeScope : ruleIntegerTypeScope EOF ; + // InternalApplicationConfiguration.g:1528:1: entryRuleIntegerTypeScope : ruleIntegerTypeScope EOF ; public final void entryRuleIntegerTypeScope() throws RecognitionException { try { - // InternalApplicationConfiguration.g:1479:1: ( ruleIntegerTypeScope EOF ) - // InternalApplicationConfiguration.g:1480:1: ruleIntegerTypeScope EOF + // InternalApplicationConfiguration.g:1529:1: ( ruleIntegerTypeScope EOF ) + // InternalApplicationConfiguration.g:1530:1: ruleIntegerTypeScope EOF { before(grammarAccess.getIntegerTypeScopeRule()); pushFollow(FOLLOW_1); @@ -4535,21 +4691,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "ruleIntegerTypeScope" - // InternalApplicationConfiguration.g:1487:1: ruleIntegerTypeScope : ( ( rule__IntegerTypeScope__Group__0 ) ) ; + // InternalApplicationConfiguration.g:1537:1: ruleIntegerTypeScope : ( ( rule__IntegerTypeScope__Group__0 ) ) ; public final void ruleIntegerTypeScope() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:1491:2: ( ( ( rule__IntegerTypeScope__Group__0 ) ) ) - // InternalApplicationConfiguration.g:1492:2: ( ( rule__IntegerTypeScope__Group__0 ) ) + // InternalApplicationConfiguration.g:1541:2: ( ( ( rule__IntegerTypeScope__Group__0 ) ) ) + // InternalApplicationConfiguration.g:1542:2: ( ( rule__IntegerTypeScope__Group__0 ) ) { - // InternalApplicationConfiguration.g:1492:2: ( ( rule__IntegerTypeScope__Group__0 ) ) - // InternalApplicationConfiguration.g:1493:3: ( rule__IntegerTypeScope__Group__0 ) + // InternalApplicationConfiguration.g:1542:2: ( ( rule__IntegerTypeScope__Group__0 ) ) + // InternalApplicationConfiguration.g:1543:3: ( rule__IntegerTypeScope__Group__0 ) { before(grammarAccess.getIntegerTypeScopeAccess().getGroup()); - // InternalApplicationConfiguration.g:1494:3: ( rule__IntegerTypeScope__Group__0 ) - // InternalApplicationConfiguration.g:1494:4: rule__IntegerTypeScope__Group__0 + // InternalApplicationConfiguration.g:1544:3: ( rule__IntegerTypeScope__Group__0 ) + // InternalApplicationConfiguration.g:1544:4: rule__IntegerTypeScope__Group__0 { pushFollow(FOLLOW_2); rule__IntegerTypeScope__Group__0(); @@ -4582,11 +4738,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "entryRuleRealTypeScope" - // InternalApplicationConfiguration.g:1503:1: entryRuleRealTypeScope : ruleRealTypeScope EOF ; + // InternalApplicationConfiguration.g:1553:1: entryRuleRealTypeScope : ruleRealTypeScope EOF ; public final void entryRuleRealTypeScope() throws RecognitionException { try { - // InternalApplicationConfiguration.g:1504:1: ( ruleRealTypeScope EOF ) - // InternalApplicationConfiguration.g:1505:1: ruleRealTypeScope EOF + // InternalApplicationConfiguration.g:1554:1: ( ruleRealTypeScope EOF ) + // InternalApplicationConfiguration.g:1555:1: ruleRealTypeScope EOF { before(grammarAccess.getRealTypeScopeRule()); pushFollow(FOLLOW_1); @@ -4612,21 +4768,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "ruleRealTypeScope" - // InternalApplicationConfiguration.g:1512:1: ruleRealTypeScope : ( ( rule__RealTypeScope__Group__0 ) ) ; + // InternalApplicationConfiguration.g:1562:1: ruleRealTypeScope : ( ( rule__RealTypeScope__Group__0 ) ) ; public final void ruleRealTypeScope() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:1516:2: ( ( ( rule__RealTypeScope__Group__0 ) ) ) - // InternalApplicationConfiguration.g:1517:2: ( ( rule__RealTypeScope__Group__0 ) ) + // InternalApplicationConfiguration.g:1566:2: ( ( ( rule__RealTypeScope__Group__0 ) ) ) + // InternalApplicationConfiguration.g:1567:2: ( ( rule__RealTypeScope__Group__0 ) ) { - // InternalApplicationConfiguration.g:1517:2: ( ( rule__RealTypeScope__Group__0 ) ) - // InternalApplicationConfiguration.g:1518:3: ( rule__RealTypeScope__Group__0 ) + // InternalApplicationConfiguration.g:1567:2: ( ( rule__RealTypeScope__Group__0 ) ) + // InternalApplicationConfiguration.g:1568:3: ( rule__RealTypeScope__Group__0 ) { before(grammarAccess.getRealTypeScopeAccess().getGroup()); - // InternalApplicationConfiguration.g:1519:3: ( rule__RealTypeScope__Group__0 ) - // InternalApplicationConfiguration.g:1519:4: rule__RealTypeScope__Group__0 + // InternalApplicationConfiguration.g:1569:3: ( rule__RealTypeScope__Group__0 ) + // InternalApplicationConfiguration.g:1569:4: rule__RealTypeScope__Group__0 { pushFollow(FOLLOW_2); rule__RealTypeScope__Group__0(); @@ -4659,11 +4815,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "entryRuleStringTypeScope" - // InternalApplicationConfiguration.g:1528:1: entryRuleStringTypeScope : ruleStringTypeScope EOF ; + // InternalApplicationConfiguration.g:1578:1: entryRuleStringTypeScope : ruleStringTypeScope EOF ; public final void entryRuleStringTypeScope() throws RecognitionException { try { - // InternalApplicationConfiguration.g:1529:1: ( ruleStringTypeScope EOF ) - // InternalApplicationConfiguration.g:1530:1: ruleStringTypeScope EOF + // InternalApplicationConfiguration.g:1579:1: ( ruleStringTypeScope EOF ) + // InternalApplicationConfiguration.g:1580:1: ruleStringTypeScope EOF { before(grammarAccess.getStringTypeScopeRule()); pushFollow(FOLLOW_1); @@ -4689,21 +4845,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "ruleStringTypeScope" - // InternalApplicationConfiguration.g:1537:1: ruleStringTypeScope : ( ( rule__StringTypeScope__Group__0 ) ) ; + // InternalApplicationConfiguration.g:1587:1: ruleStringTypeScope : ( ( rule__StringTypeScope__Group__0 ) ) ; public final void ruleStringTypeScope() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:1541:2: ( ( ( rule__StringTypeScope__Group__0 ) ) ) - // InternalApplicationConfiguration.g:1542:2: ( ( rule__StringTypeScope__Group__0 ) ) + // InternalApplicationConfiguration.g:1591:2: ( ( ( rule__StringTypeScope__Group__0 ) ) ) + // InternalApplicationConfiguration.g:1592:2: ( ( rule__StringTypeScope__Group__0 ) ) { - // InternalApplicationConfiguration.g:1542:2: ( ( rule__StringTypeScope__Group__0 ) ) - // InternalApplicationConfiguration.g:1543:3: ( rule__StringTypeScope__Group__0 ) + // InternalApplicationConfiguration.g:1592:2: ( ( rule__StringTypeScope__Group__0 ) ) + // InternalApplicationConfiguration.g:1593:3: ( rule__StringTypeScope__Group__0 ) { before(grammarAccess.getStringTypeScopeAccess().getGroup()); - // InternalApplicationConfiguration.g:1544:3: ( rule__StringTypeScope__Group__0 ) - // InternalApplicationConfiguration.g:1544:4: rule__StringTypeScope__Group__0 + // InternalApplicationConfiguration.g:1594:3: ( rule__StringTypeScope__Group__0 ) + // InternalApplicationConfiguration.g:1594:4: rule__StringTypeScope__Group__0 { pushFollow(FOLLOW_2); rule__StringTypeScope__Group__0(); @@ -4736,11 +4892,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "entryRuleClassReference" - // InternalApplicationConfiguration.g:1553:1: entryRuleClassReference : ruleClassReference EOF ; + // InternalApplicationConfiguration.g:1603:1: entryRuleClassReference : ruleClassReference EOF ; public final void entryRuleClassReference() throws RecognitionException { try { - // InternalApplicationConfiguration.g:1554:1: ( ruleClassReference EOF ) - // InternalApplicationConfiguration.g:1555:1: ruleClassReference EOF + // InternalApplicationConfiguration.g:1604:1: ( ruleClassReference EOF ) + // InternalApplicationConfiguration.g:1605:1: ruleClassReference EOF { before(grammarAccess.getClassReferenceRule()); pushFollow(FOLLOW_1); @@ -4766,21 +4922,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "ruleClassReference" - // InternalApplicationConfiguration.g:1562:1: ruleClassReference : ( ( rule__ClassReference__Group__0 ) ) ; + // InternalApplicationConfiguration.g:1612:1: ruleClassReference : ( ( rule__ClassReference__Group__0 ) ) ; public final void ruleClassReference() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:1566:2: ( ( ( rule__ClassReference__Group__0 ) ) ) - // InternalApplicationConfiguration.g:1567:2: ( ( rule__ClassReference__Group__0 ) ) + // InternalApplicationConfiguration.g:1616:2: ( ( ( rule__ClassReference__Group__0 ) ) ) + // InternalApplicationConfiguration.g:1617:2: ( ( rule__ClassReference__Group__0 ) ) { - // InternalApplicationConfiguration.g:1567:2: ( ( rule__ClassReference__Group__0 ) ) - // InternalApplicationConfiguration.g:1568:3: ( rule__ClassReference__Group__0 ) + // InternalApplicationConfiguration.g:1617:2: ( ( rule__ClassReference__Group__0 ) ) + // InternalApplicationConfiguration.g:1618:3: ( rule__ClassReference__Group__0 ) { before(grammarAccess.getClassReferenceAccess().getGroup()); - // InternalApplicationConfiguration.g:1569:3: ( rule__ClassReference__Group__0 ) - // InternalApplicationConfiguration.g:1569:4: rule__ClassReference__Group__0 + // InternalApplicationConfiguration.g:1619:3: ( rule__ClassReference__Group__0 ) + // InternalApplicationConfiguration.g:1619:4: rule__ClassReference__Group__0 { pushFollow(FOLLOW_2); rule__ClassReference__Group__0(); @@ -4813,11 +4969,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "entryRuleObjectReference" - // InternalApplicationConfiguration.g:1578:1: entryRuleObjectReference : ruleObjectReference EOF ; + // InternalApplicationConfiguration.g:1628:1: entryRuleObjectReference : ruleObjectReference EOF ; public final void entryRuleObjectReference() throws RecognitionException { try { - // InternalApplicationConfiguration.g:1579:1: ( ruleObjectReference EOF ) - // InternalApplicationConfiguration.g:1580:1: ruleObjectReference EOF + // InternalApplicationConfiguration.g:1629:1: ( ruleObjectReference EOF ) + // InternalApplicationConfiguration.g:1630:1: ruleObjectReference EOF { before(grammarAccess.getObjectReferenceRule()); pushFollow(FOLLOW_1); @@ -4843,21 +4999,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "ruleObjectReference" - // InternalApplicationConfiguration.g:1587:1: ruleObjectReference : ( ( rule__ObjectReference__Group__0 ) ) ; + // InternalApplicationConfiguration.g:1637:1: ruleObjectReference : ( ( rule__ObjectReference__Group__0 ) ) ; public final void ruleObjectReference() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:1591:2: ( ( ( rule__ObjectReference__Group__0 ) ) ) - // InternalApplicationConfiguration.g:1592:2: ( ( rule__ObjectReference__Group__0 ) ) + // InternalApplicationConfiguration.g:1641:2: ( ( ( rule__ObjectReference__Group__0 ) ) ) + // InternalApplicationConfiguration.g:1642:2: ( ( rule__ObjectReference__Group__0 ) ) { - // InternalApplicationConfiguration.g:1592:2: ( ( rule__ObjectReference__Group__0 ) ) - // InternalApplicationConfiguration.g:1593:3: ( rule__ObjectReference__Group__0 ) + // InternalApplicationConfiguration.g:1642:2: ( ( rule__ObjectReference__Group__0 ) ) + // InternalApplicationConfiguration.g:1643:3: ( rule__ObjectReference__Group__0 ) { before(grammarAccess.getObjectReferenceAccess().getGroup()); - // InternalApplicationConfiguration.g:1594:3: ( rule__ObjectReference__Group__0 ) - // InternalApplicationConfiguration.g:1594:4: rule__ObjectReference__Group__0 + // InternalApplicationConfiguration.g:1644:3: ( rule__ObjectReference__Group__0 ) + // InternalApplicationConfiguration.g:1644:4: rule__ObjectReference__Group__0 { pushFollow(FOLLOW_2); rule__ObjectReference__Group__0(); @@ -4890,11 +5046,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "entryRuleIntegerReference" - // InternalApplicationConfiguration.g:1603:1: entryRuleIntegerReference : ruleIntegerReference EOF ; + // InternalApplicationConfiguration.g:1653:1: entryRuleIntegerReference : ruleIntegerReference EOF ; public final void entryRuleIntegerReference() throws RecognitionException { try { - // InternalApplicationConfiguration.g:1604:1: ( ruleIntegerReference EOF ) - // InternalApplicationConfiguration.g:1605:1: ruleIntegerReference EOF + // InternalApplicationConfiguration.g:1654:1: ( ruleIntegerReference EOF ) + // InternalApplicationConfiguration.g:1655:1: ruleIntegerReference EOF { before(grammarAccess.getIntegerReferenceRule()); pushFollow(FOLLOW_1); @@ -4920,21 +5076,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "ruleIntegerReference" - // InternalApplicationConfiguration.g:1612:1: ruleIntegerReference : ( ( rule__IntegerReference__Group__0 ) ) ; + // InternalApplicationConfiguration.g:1662:1: ruleIntegerReference : ( ( rule__IntegerReference__Group__0 ) ) ; public final void ruleIntegerReference() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:1616:2: ( ( ( rule__IntegerReference__Group__0 ) ) ) - // InternalApplicationConfiguration.g:1617:2: ( ( rule__IntegerReference__Group__0 ) ) + // InternalApplicationConfiguration.g:1666:2: ( ( ( rule__IntegerReference__Group__0 ) ) ) + // InternalApplicationConfiguration.g:1667:2: ( ( rule__IntegerReference__Group__0 ) ) { - // InternalApplicationConfiguration.g:1617:2: ( ( rule__IntegerReference__Group__0 ) ) - // InternalApplicationConfiguration.g:1618:3: ( rule__IntegerReference__Group__0 ) + // InternalApplicationConfiguration.g:1667:2: ( ( rule__IntegerReference__Group__0 ) ) + // InternalApplicationConfiguration.g:1668:3: ( rule__IntegerReference__Group__0 ) { before(grammarAccess.getIntegerReferenceAccess().getGroup()); - // InternalApplicationConfiguration.g:1619:3: ( rule__IntegerReference__Group__0 ) - // InternalApplicationConfiguration.g:1619:4: rule__IntegerReference__Group__0 + // InternalApplicationConfiguration.g:1669:3: ( rule__IntegerReference__Group__0 ) + // InternalApplicationConfiguration.g:1669:4: rule__IntegerReference__Group__0 { pushFollow(FOLLOW_2); rule__IntegerReference__Group__0(); @@ -4967,11 +5123,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "entryRuleRealReference" - // InternalApplicationConfiguration.g:1628:1: entryRuleRealReference : ruleRealReference EOF ; + // InternalApplicationConfiguration.g:1678:1: entryRuleRealReference : ruleRealReference EOF ; public final void entryRuleRealReference() throws RecognitionException { try { - // InternalApplicationConfiguration.g:1629:1: ( ruleRealReference EOF ) - // InternalApplicationConfiguration.g:1630:1: ruleRealReference EOF + // InternalApplicationConfiguration.g:1679:1: ( ruleRealReference EOF ) + // InternalApplicationConfiguration.g:1680:1: ruleRealReference EOF { before(grammarAccess.getRealReferenceRule()); pushFollow(FOLLOW_1); @@ -4997,21 +5153,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "ruleRealReference" - // InternalApplicationConfiguration.g:1637:1: ruleRealReference : ( ( rule__RealReference__Group__0 ) ) ; + // InternalApplicationConfiguration.g:1687:1: ruleRealReference : ( ( rule__RealReference__Group__0 ) ) ; public final void ruleRealReference() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:1641:2: ( ( ( rule__RealReference__Group__0 ) ) ) - // InternalApplicationConfiguration.g:1642:2: ( ( rule__RealReference__Group__0 ) ) + // InternalApplicationConfiguration.g:1691:2: ( ( ( rule__RealReference__Group__0 ) ) ) + // InternalApplicationConfiguration.g:1692:2: ( ( rule__RealReference__Group__0 ) ) { - // InternalApplicationConfiguration.g:1642:2: ( ( rule__RealReference__Group__0 ) ) - // InternalApplicationConfiguration.g:1643:3: ( rule__RealReference__Group__0 ) + // InternalApplicationConfiguration.g:1692:2: ( ( rule__RealReference__Group__0 ) ) + // InternalApplicationConfiguration.g:1693:3: ( rule__RealReference__Group__0 ) { before(grammarAccess.getRealReferenceAccess().getGroup()); - // InternalApplicationConfiguration.g:1644:3: ( rule__RealReference__Group__0 ) - // InternalApplicationConfiguration.g:1644:4: rule__RealReference__Group__0 + // InternalApplicationConfiguration.g:1694:3: ( rule__RealReference__Group__0 ) + // InternalApplicationConfiguration.g:1694:4: rule__RealReference__Group__0 { pushFollow(FOLLOW_2); rule__RealReference__Group__0(); @@ -5044,11 +5200,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "entryRuleStringReference" - // InternalApplicationConfiguration.g:1653:1: entryRuleStringReference : ruleStringReference EOF ; + // InternalApplicationConfiguration.g:1703:1: entryRuleStringReference : ruleStringReference EOF ; public final void entryRuleStringReference() throws RecognitionException { try { - // InternalApplicationConfiguration.g:1654:1: ( ruleStringReference EOF ) - // InternalApplicationConfiguration.g:1655:1: ruleStringReference EOF + // InternalApplicationConfiguration.g:1704:1: ( ruleStringReference EOF ) + // InternalApplicationConfiguration.g:1705:1: ruleStringReference EOF { before(grammarAccess.getStringReferenceRule()); pushFollow(FOLLOW_1); @@ -5074,21 +5230,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "ruleStringReference" - // InternalApplicationConfiguration.g:1662:1: ruleStringReference : ( ( rule__StringReference__Group__0 ) ) ; + // InternalApplicationConfiguration.g:1712:1: ruleStringReference : ( ( rule__StringReference__Group__0 ) ) ; public final void ruleStringReference() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:1666:2: ( ( ( rule__StringReference__Group__0 ) ) ) - // InternalApplicationConfiguration.g:1667:2: ( ( rule__StringReference__Group__0 ) ) + // InternalApplicationConfiguration.g:1716:2: ( ( ( rule__StringReference__Group__0 ) ) ) + // InternalApplicationConfiguration.g:1717:2: ( ( rule__StringReference__Group__0 ) ) { - // InternalApplicationConfiguration.g:1667:2: ( ( rule__StringReference__Group__0 ) ) - // InternalApplicationConfiguration.g:1668:3: ( rule__StringReference__Group__0 ) + // InternalApplicationConfiguration.g:1717:2: ( ( rule__StringReference__Group__0 ) ) + // InternalApplicationConfiguration.g:1718:3: ( rule__StringReference__Group__0 ) { before(grammarAccess.getStringReferenceAccess().getGroup()); - // InternalApplicationConfiguration.g:1669:3: ( rule__StringReference__Group__0 ) - // InternalApplicationConfiguration.g:1669:4: rule__StringReference__Group__0 + // InternalApplicationConfiguration.g:1719:3: ( rule__StringReference__Group__0 ) + // InternalApplicationConfiguration.g:1719:4: rule__StringReference__Group__0 { pushFollow(FOLLOW_2); rule__StringReference__Group__0(); @@ -5121,11 +5277,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "entryRuleExactNumber" - // InternalApplicationConfiguration.g:1678:1: entryRuleExactNumber : ruleExactNumber EOF ; + // InternalApplicationConfiguration.g:1728:1: entryRuleExactNumber : ruleExactNumber EOF ; public final void entryRuleExactNumber() throws RecognitionException { try { - // InternalApplicationConfiguration.g:1679:1: ( ruleExactNumber EOF ) - // InternalApplicationConfiguration.g:1680:1: ruleExactNumber EOF + // InternalApplicationConfiguration.g:1729:1: ( ruleExactNumber EOF ) + // InternalApplicationConfiguration.g:1730:1: ruleExactNumber EOF { before(grammarAccess.getExactNumberRule()); pushFollow(FOLLOW_1); @@ -5151,21 +5307,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "ruleExactNumber" - // InternalApplicationConfiguration.g:1687:1: ruleExactNumber : ( ( rule__ExactNumber__Alternatives ) ) ; + // InternalApplicationConfiguration.g:1737:1: ruleExactNumber : ( ( rule__ExactNumber__Alternatives ) ) ; public final void ruleExactNumber() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:1691:2: ( ( ( rule__ExactNumber__Alternatives ) ) ) - // InternalApplicationConfiguration.g:1692:2: ( ( rule__ExactNumber__Alternatives ) ) + // InternalApplicationConfiguration.g:1741:2: ( ( ( rule__ExactNumber__Alternatives ) ) ) + // InternalApplicationConfiguration.g:1742:2: ( ( rule__ExactNumber__Alternatives ) ) { - // InternalApplicationConfiguration.g:1692:2: ( ( rule__ExactNumber__Alternatives ) ) - // InternalApplicationConfiguration.g:1693:3: ( rule__ExactNumber__Alternatives ) + // InternalApplicationConfiguration.g:1742:2: ( ( rule__ExactNumber__Alternatives ) ) + // InternalApplicationConfiguration.g:1743:3: ( rule__ExactNumber__Alternatives ) { before(grammarAccess.getExactNumberAccess().getAlternatives()); - // InternalApplicationConfiguration.g:1694:3: ( rule__ExactNumber__Alternatives ) - // InternalApplicationConfiguration.g:1694:4: rule__ExactNumber__Alternatives + // InternalApplicationConfiguration.g:1744:3: ( rule__ExactNumber__Alternatives ) + // InternalApplicationConfiguration.g:1744:4: rule__ExactNumber__Alternatives { pushFollow(FOLLOW_2); rule__ExactNumber__Alternatives(); @@ -5198,11 +5354,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "entryRuleIntervallNumber" - // InternalApplicationConfiguration.g:1703:1: entryRuleIntervallNumber : ruleIntervallNumber EOF ; + // InternalApplicationConfiguration.g:1753:1: entryRuleIntervallNumber : ruleIntervallNumber EOF ; public final void entryRuleIntervallNumber() throws RecognitionException { try { - // InternalApplicationConfiguration.g:1704:1: ( ruleIntervallNumber EOF ) - // InternalApplicationConfiguration.g:1705:1: ruleIntervallNumber EOF + // InternalApplicationConfiguration.g:1754:1: ( ruleIntervallNumber EOF ) + // InternalApplicationConfiguration.g:1755:1: ruleIntervallNumber EOF { before(grammarAccess.getIntervallNumberRule()); pushFollow(FOLLOW_1); @@ -5228,21 +5384,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "ruleIntervallNumber" - // InternalApplicationConfiguration.g:1712:1: ruleIntervallNumber : ( ( rule__IntervallNumber__Group__0 ) ) ; + // InternalApplicationConfiguration.g:1762:1: ruleIntervallNumber : ( ( rule__IntervallNumber__Group__0 ) ) ; public final void ruleIntervallNumber() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:1716:2: ( ( ( rule__IntervallNumber__Group__0 ) ) ) - // InternalApplicationConfiguration.g:1717:2: ( ( rule__IntervallNumber__Group__0 ) ) + // InternalApplicationConfiguration.g:1766:2: ( ( ( rule__IntervallNumber__Group__0 ) ) ) + // InternalApplicationConfiguration.g:1767:2: ( ( rule__IntervallNumber__Group__0 ) ) { - // InternalApplicationConfiguration.g:1717:2: ( ( rule__IntervallNumber__Group__0 ) ) - // InternalApplicationConfiguration.g:1718:3: ( rule__IntervallNumber__Group__0 ) + // InternalApplicationConfiguration.g:1767:2: ( ( rule__IntervallNumber__Group__0 ) ) + // InternalApplicationConfiguration.g:1768:3: ( rule__IntervallNumber__Group__0 ) { before(grammarAccess.getIntervallNumberAccess().getGroup()); - // InternalApplicationConfiguration.g:1719:3: ( rule__IntervallNumber__Group__0 ) - // InternalApplicationConfiguration.g:1719:4: rule__IntervallNumber__Group__0 + // InternalApplicationConfiguration.g:1769:3: ( rule__IntervallNumber__Group__0 ) + // InternalApplicationConfiguration.g:1769:4: rule__IntervallNumber__Group__0 { pushFollow(FOLLOW_2); rule__IntervallNumber__Group__0(); @@ -5275,11 +5431,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "entryRuleIntEnumberation" - // InternalApplicationConfiguration.g:1728:1: entryRuleIntEnumberation : ruleIntEnumberation EOF ; + // InternalApplicationConfiguration.g:1778:1: entryRuleIntEnumberation : ruleIntEnumberation EOF ; public final void entryRuleIntEnumberation() throws RecognitionException { try { - // InternalApplicationConfiguration.g:1729:1: ( ruleIntEnumberation EOF ) - // InternalApplicationConfiguration.g:1730:1: ruleIntEnumberation EOF + // InternalApplicationConfiguration.g:1779:1: ( ruleIntEnumberation EOF ) + // InternalApplicationConfiguration.g:1780:1: ruleIntEnumberation EOF { before(grammarAccess.getIntEnumberationRule()); pushFollow(FOLLOW_1); @@ -5305,21 +5461,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "ruleIntEnumberation" - // InternalApplicationConfiguration.g:1737:1: ruleIntEnumberation : ( ( rule__IntEnumberation__Group__0 ) ) ; + // InternalApplicationConfiguration.g:1787:1: ruleIntEnumberation : ( ( rule__IntEnumberation__Group__0 ) ) ; public final void ruleIntEnumberation() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:1741:2: ( ( ( rule__IntEnumberation__Group__0 ) ) ) - // InternalApplicationConfiguration.g:1742:2: ( ( rule__IntEnumberation__Group__0 ) ) + // InternalApplicationConfiguration.g:1791:2: ( ( ( rule__IntEnumberation__Group__0 ) ) ) + // InternalApplicationConfiguration.g:1792:2: ( ( rule__IntEnumberation__Group__0 ) ) { - // InternalApplicationConfiguration.g:1742:2: ( ( rule__IntEnumberation__Group__0 ) ) - // InternalApplicationConfiguration.g:1743:3: ( rule__IntEnumberation__Group__0 ) + // InternalApplicationConfiguration.g:1792:2: ( ( rule__IntEnumberation__Group__0 ) ) + // InternalApplicationConfiguration.g:1793:3: ( rule__IntEnumberation__Group__0 ) { before(grammarAccess.getIntEnumberationAccess().getGroup()); - // InternalApplicationConfiguration.g:1744:3: ( rule__IntEnumberation__Group__0 ) - // InternalApplicationConfiguration.g:1744:4: rule__IntEnumberation__Group__0 + // InternalApplicationConfiguration.g:1794:3: ( rule__IntEnumberation__Group__0 ) + // InternalApplicationConfiguration.g:1794:4: rule__IntEnumberation__Group__0 { pushFollow(FOLLOW_2); rule__IntEnumberation__Group__0(); @@ -5352,11 +5508,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "entryRuleRealEnumeration" - // InternalApplicationConfiguration.g:1753:1: entryRuleRealEnumeration : ruleRealEnumeration EOF ; + // InternalApplicationConfiguration.g:1803:1: entryRuleRealEnumeration : ruleRealEnumeration EOF ; public final void entryRuleRealEnumeration() throws RecognitionException { try { - // InternalApplicationConfiguration.g:1754:1: ( ruleRealEnumeration EOF ) - // InternalApplicationConfiguration.g:1755:1: ruleRealEnumeration EOF + // InternalApplicationConfiguration.g:1804:1: ( ruleRealEnumeration EOF ) + // InternalApplicationConfiguration.g:1805:1: ruleRealEnumeration EOF { before(grammarAccess.getRealEnumerationRule()); pushFollow(FOLLOW_1); @@ -5382,21 +5538,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "ruleRealEnumeration" - // InternalApplicationConfiguration.g:1762:1: ruleRealEnumeration : ( ( rule__RealEnumeration__Group__0 ) ) ; + // InternalApplicationConfiguration.g:1812:1: ruleRealEnumeration : ( ( rule__RealEnumeration__Group__0 ) ) ; public final void ruleRealEnumeration() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:1766:2: ( ( ( rule__RealEnumeration__Group__0 ) ) ) - // InternalApplicationConfiguration.g:1767:2: ( ( rule__RealEnumeration__Group__0 ) ) + // InternalApplicationConfiguration.g:1816:2: ( ( ( rule__RealEnumeration__Group__0 ) ) ) + // InternalApplicationConfiguration.g:1817:2: ( ( rule__RealEnumeration__Group__0 ) ) { - // InternalApplicationConfiguration.g:1767:2: ( ( rule__RealEnumeration__Group__0 ) ) - // InternalApplicationConfiguration.g:1768:3: ( rule__RealEnumeration__Group__0 ) + // InternalApplicationConfiguration.g:1817:2: ( ( rule__RealEnumeration__Group__0 ) ) + // InternalApplicationConfiguration.g:1818:3: ( rule__RealEnumeration__Group__0 ) { before(grammarAccess.getRealEnumerationAccess().getGroup()); - // InternalApplicationConfiguration.g:1769:3: ( rule__RealEnumeration__Group__0 ) - // InternalApplicationConfiguration.g:1769:4: rule__RealEnumeration__Group__0 + // InternalApplicationConfiguration.g:1819:3: ( rule__RealEnumeration__Group__0 ) + // InternalApplicationConfiguration.g:1819:4: rule__RealEnumeration__Group__0 { pushFollow(FOLLOW_2); rule__RealEnumeration__Group__0(); @@ -5429,11 +5585,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "entryRuleStringEnumeration" - // InternalApplicationConfiguration.g:1778:1: entryRuleStringEnumeration : ruleStringEnumeration EOF ; + // InternalApplicationConfiguration.g:1828:1: entryRuleStringEnumeration : ruleStringEnumeration EOF ; public final void entryRuleStringEnumeration() throws RecognitionException { try { - // InternalApplicationConfiguration.g:1779:1: ( ruleStringEnumeration EOF ) - // InternalApplicationConfiguration.g:1780:1: ruleStringEnumeration EOF + // InternalApplicationConfiguration.g:1829:1: ( ruleStringEnumeration EOF ) + // InternalApplicationConfiguration.g:1830:1: ruleStringEnumeration EOF { before(grammarAccess.getStringEnumerationRule()); pushFollow(FOLLOW_1); @@ -5459,21 +5615,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "ruleStringEnumeration" - // InternalApplicationConfiguration.g:1787:1: ruleStringEnumeration : ( ( rule__StringEnumeration__Group__0 ) ) ; + // InternalApplicationConfiguration.g:1837:1: ruleStringEnumeration : ( ( rule__StringEnumeration__Group__0 ) ) ; public final void ruleStringEnumeration() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:1791:2: ( ( ( rule__StringEnumeration__Group__0 ) ) ) - // InternalApplicationConfiguration.g:1792:2: ( ( rule__StringEnumeration__Group__0 ) ) + // InternalApplicationConfiguration.g:1841:2: ( ( ( rule__StringEnumeration__Group__0 ) ) ) + // InternalApplicationConfiguration.g:1842:2: ( ( rule__StringEnumeration__Group__0 ) ) { - // InternalApplicationConfiguration.g:1792:2: ( ( rule__StringEnumeration__Group__0 ) ) - // InternalApplicationConfiguration.g:1793:3: ( rule__StringEnumeration__Group__0 ) + // InternalApplicationConfiguration.g:1842:2: ( ( rule__StringEnumeration__Group__0 ) ) + // InternalApplicationConfiguration.g:1843:3: ( rule__StringEnumeration__Group__0 ) { before(grammarAccess.getStringEnumerationAccess().getGroup()); - // InternalApplicationConfiguration.g:1794:3: ( rule__StringEnumeration__Group__0 ) - // InternalApplicationConfiguration.g:1794:4: rule__StringEnumeration__Group__0 + // InternalApplicationConfiguration.g:1844:3: ( rule__StringEnumeration__Group__0 ) + // InternalApplicationConfiguration.g:1844:4: rule__StringEnumeration__Group__0 { pushFollow(FOLLOW_2); rule__StringEnumeration__Group__0(); @@ -5506,11 +5662,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "entryRuleScopeDeclaration" - // InternalApplicationConfiguration.g:1803:1: entryRuleScopeDeclaration : ruleScopeDeclaration EOF ; + // InternalApplicationConfiguration.g:1853:1: entryRuleScopeDeclaration : ruleScopeDeclaration EOF ; public final void entryRuleScopeDeclaration() throws RecognitionException { try { - // InternalApplicationConfiguration.g:1804:1: ( ruleScopeDeclaration EOF ) - // InternalApplicationConfiguration.g:1805:1: ruleScopeDeclaration EOF + // InternalApplicationConfiguration.g:1854:1: ( ruleScopeDeclaration EOF ) + // InternalApplicationConfiguration.g:1855:1: ruleScopeDeclaration EOF { before(grammarAccess.getScopeDeclarationRule()); pushFollow(FOLLOW_1); @@ -5536,21 +5692,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "ruleScopeDeclaration" - // InternalApplicationConfiguration.g:1812:1: ruleScopeDeclaration : ( ( rule__ScopeDeclaration__Group__0 ) ) ; + // InternalApplicationConfiguration.g:1862:1: ruleScopeDeclaration : ( ( rule__ScopeDeclaration__Group__0 ) ) ; public final void ruleScopeDeclaration() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:1816:2: ( ( ( rule__ScopeDeclaration__Group__0 ) ) ) - // InternalApplicationConfiguration.g:1817:2: ( ( rule__ScopeDeclaration__Group__0 ) ) + // InternalApplicationConfiguration.g:1866:2: ( ( ( rule__ScopeDeclaration__Group__0 ) ) ) + // InternalApplicationConfiguration.g:1867:2: ( ( rule__ScopeDeclaration__Group__0 ) ) { - // InternalApplicationConfiguration.g:1817:2: ( ( rule__ScopeDeclaration__Group__0 ) ) - // InternalApplicationConfiguration.g:1818:3: ( rule__ScopeDeclaration__Group__0 ) + // InternalApplicationConfiguration.g:1867:2: ( ( rule__ScopeDeclaration__Group__0 ) ) + // InternalApplicationConfiguration.g:1868:3: ( rule__ScopeDeclaration__Group__0 ) { before(grammarAccess.getScopeDeclarationAccess().getGroup()); - // InternalApplicationConfiguration.g:1819:3: ( rule__ScopeDeclaration__Group__0 ) - // InternalApplicationConfiguration.g:1819:4: rule__ScopeDeclaration__Group__0 + // InternalApplicationConfiguration.g:1869:3: ( rule__ScopeDeclaration__Group__0 ) + // InternalApplicationConfiguration.g:1869:4: rule__ScopeDeclaration__Group__0 { pushFollow(FOLLOW_2); rule__ScopeDeclaration__Group__0(); @@ -5583,11 +5739,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "entryRuleScopeReference" - // InternalApplicationConfiguration.g:1828:1: entryRuleScopeReference : ruleScopeReference EOF ; + // InternalApplicationConfiguration.g:1878:1: entryRuleScopeReference : ruleScopeReference EOF ; public final void entryRuleScopeReference() throws RecognitionException { try { - // InternalApplicationConfiguration.g:1829:1: ( ruleScopeReference EOF ) - // InternalApplicationConfiguration.g:1830:1: ruleScopeReference EOF + // InternalApplicationConfiguration.g:1879:1: ( ruleScopeReference EOF ) + // InternalApplicationConfiguration.g:1880:1: ruleScopeReference EOF { before(grammarAccess.getScopeReferenceRule()); pushFollow(FOLLOW_1); @@ -5613,21 +5769,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "ruleScopeReference" - // InternalApplicationConfiguration.g:1837:1: ruleScopeReference : ( ( rule__ScopeReference__ReferredAssignment ) ) ; + // InternalApplicationConfiguration.g:1887:1: ruleScopeReference : ( ( rule__ScopeReference__ReferredAssignment ) ) ; public final void ruleScopeReference() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:1841:2: ( ( ( rule__ScopeReference__ReferredAssignment ) ) ) - // InternalApplicationConfiguration.g:1842:2: ( ( rule__ScopeReference__ReferredAssignment ) ) + // InternalApplicationConfiguration.g:1891:2: ( ( ( rule__ScopeReference__ReferredAssignment ) ) ) + // InternalApplicationConfiguration.g:1892:2: ( ( rule__ScopeReference__ReferredAssignment ) ) { - // InternalApplicationConfiguration.g:1842:2: ( ( rule__ScopeReference__ReferredAssignment ) ) - // InternalApplicationConfiguration.g:1843:3: ( rule__ScopeReference__ReferredAssignment ) + // InternalApplicationConfiguration.g:1892:2: ( ( rule__ScopeReference__ReferredAssignment ) ) + // InternalApplicationConfiguration.g:1893:3: ( rule__ScopeReference__ReferredAssignment ) { before(grammarAccess.getScopeReferenceAccess().getReferredAssignment()); - // InternalApplicationConfiguration.g:1844:3: ( rule__ScopeReference__ReferredAssignment ) - // InternalApplicationConfiguration.g:1844:4: rule__ScopeReference__ReferredAssignment + // InternalApplicationConfiguration.g:1894:3: ( rule__ScopeReference__ReferredAssignment ) + // InternalApplicationConfiguration.g:1894:4: rule__ScopeReference__ReferredAssignment { pushFollow(FOLLOW_2); rule__ScopeReference__ReferredAssignment(); @@ -5660,11 +5816,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "entryRuleScope" - // InternalApplicationConfiguration.g:1853:1: entryRuleScope : ruleScope EOF ; + // InternalApplicationConfiguration.g:1903:1: entryRuleScope : ruleScope EOF ; public final void entryRuleScope() throws RecognitionException { try { - // InternalApplicationConfiguration.g:1854:1: ( ruleScope EOF ) - // InternalApplicationConfiguration.g:1855:1: ruleScope EOF + // InternalApplicationConfiguration.g:1904:1: ( ruleScope EOF ) + // InternalApplicationConfiguration.g:1905:1: ruleScope EOF { before(grammarAccess.getScopeRule()); pushFollow(FOLLOW_1); @@ -5690,21 +5846,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "ruleScope" - // InternalApplicationConfiguration.g:1862:1: ruleScope : ( ( rule__Scope__Alternatives ) ) ; + // InternalApplicationConfiguration.g:1912:1: ruleScope : ( ( rule__Scope__Alternatives ) ) ; public final void ruleScope() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:1866:2: ( ( ( rule__Scope__Alternatives ) ) ) - // InternalApplicationConfiguration.g:1867:2: ( ( rule__Scope__Alternatives ) ) + // InternalApplicationConfiguration.g:1916:2: ( ( ( rule__Scope__Alternatives ) ) ) + // InternalApplicationConfiguration.g:1917:2: ( ( rule__Scope__Alternatives ) ) { - // InternalApplicationConfiguration.g:1867:2: ( ( rule__Scope__Alternatives ) ) - // InternalApplicationConfiguration.g:1868:3: ( rule__Scope__Alternatives ) + // InternalApplicationConfiguration.g:1917:2: ( ( rule__Scope__Alternatives ) ) + // InternalApplicationConfiguration.g:1918:3: ( rule__Scope__Alternatives ) { before(grammarAccess.getScopeAccess().getAlternatives()); - // InternalApplicationConfiguration.g:1869:3: ( rule__Scope__Alternatives ) - // InternalApplicationConfiguration.g:1869:4: rule__Scope__Alternatives + // InternalApplicationConfiguration.g:1919:3: ( rule__Scope__Alternatives ) + // InternalApplicationConfiguration.g:1919:4: rule__Scope__Alternatives { pushFollow(FOLLOW_2); rule__Scope__Alternatives(); @@ -5737,11 +5893,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "entryRuleTask" - // InternalApplicationConfiguration.g:1878:1: entryRuleTask : ruleTask EOF ; + // InternalApplicationConfiguration.g:1928:1: entryRuleTask : ruleTask EOF ; public final void entryRuleTask() throws RecognitionException { try { - // InternalApplicationConfiguration.g:1879:1: ( ruleTask EOF ) - // InternalApplicationConfiguration.g:1880:1: ruleTask EOF + // InternalApplicationConfiguration.g:1929:1: ( ruleTask EOF ) + // InternalApplicationConfiguration.g:1930:1: ruleTask EOF { before(grammarAccess.getTaskRule()); pushFollow(FOLLOW_1); @@ -5767,17 +5923,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "ruleTask" - // InternalApplicationConfiguration.g:1887:1: ruleTask : ( ruleGenerationTask ) ; + // InternalApplicationConfiguration.g:1937:1: ruleTask : ( ruleGenerationTask ) ; public final void ruleTask() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:1891:2: ( ( ruleGenerationTask ) ) - // InternalApplicationConfiguration.g:1892:2: ( ruleGenerationTask ) + // InternalApplicationConfiguration.g:1941:2: ( ( ruleGenerationTask ) ) + // InternalApplicationConfiguration.g:1942:2: ( ruleGenerationTask ) { - // InternalApplicationConfiguration.g:1892:2: ( ruleGenerationTask ) - // InternalApplicationConfiguration.g:1893:3: ruleGenerationTask + // InternalApplicationConfiguration.g:1942:2: ( ruleGenerationTask ) + // InternalApplicationConfiguration.g:1943:3: ruleGenerationTask { before(grammarAccess.getTaskAccess().getGenerationTaskParserRuleCall()); pushFollow(FOLLOW_2); @@ -5808,11 +5964,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "entryRuleGenerationTask" - // InternalApplicationConfiguration.g:1903:1: entryRuleGenerationTask : ruleGenerationTask EOF ; + // InternalApplicationConfiguration.g:1953:1: entryRuleGenerationTask : ruleGenerationTask EOF ; public final void entryRuleGenerationTask() throws RecognitionException { try { - // InternalApplicationConfiguration.g:1904:1: ( ruleGenerationTask EOF ) - // InternalApplicationConfiguration.g:1905:1: ruleGenerationTask EOF + // InternalApplicationConfiguration.g:1954:1: ( ruleGenerationTask EOF ) + // InternalApplicationConfiguration.g:1955:1: ruleGenerationTask EOF { before(grammarAccess.getGenerationTaskRule()); pushFollow(FOLLOW_1); @@ -5838,21 +5994,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "ruleGenerationTask" - // InternalApplicationConfiguration.g:1912:1: ruleGenerationTask : ( ( rule__GenerationTask__Group__0 ) ) ; + // InternalApplicationConfiguration.g:1962:1: ruleGenerationTask : ( ( rule__GenerationTask__Group__0 ) ) ; public final void ruleGenerationTask() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:1916:2: ( ( ( rule__GenerationTask__Group__0 ) ) ) - // InternalApplicationConfiguration.g:1917:2: ( ( rule__GenerationTask__Group__0 ) ) + // InternalApplicationConfiguration.g:1966:2: ( ( ( rule__GenerationTask__Group__0 ) ) ) + // InternalApplicationConfiguration.g:1967:2: ( ( rule__GenerationTask__Group__0 ) ) { - // InternalApplicationConfiguration.g:1917:2: ( ( rule__GenerationTask__Group__0 ) ) - // InternalApplicationConfiguration.g:1918:3: ( rule__GenerationTask__Group__0 ) + // InternalApplicationConfiguration.g:1967:2: ( ( rule__GenerationTask__Group__0 ) ) + // InternalApplicationConfiguration.g:1968:3: ( rule__GenerationTask__Group__0 ) { before(grammarAccess.getGenerationTaskAccess().getGroup()); - // InternalApplicationConfiguration.g:1919:3: ( rule__GenerationTask__Group__0 ) - // InternalApplicationConfiguration.g:1919:4: rule__GenerationTask__Group__0 + // InternalApplicationConfiguration.g:1969:3: ( rule__GenerationTask__Group__0 ) + // InternalApplicationConfiguration.g:1969:4: rule__GenerationTask__Group__0 { pushFollow(FOLLOW_2); rule__GenerationTask__Group__0(); @@ -5885,21 +6041,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "ruleOptimizationDirection" - // InternalApplicationConfiguration.g:1928:1: ruleOptimizationDirection : ( ( rule__OptimizationDirection__Alternatives ) ) ; + // InternalApplicationConfiguration.g:1978:1: ruleOptimizationDirection : ( ( rule__OptimizationDirection__Alternatives ) ) ; public final void ruleOptimizationDirection() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:1932:1: ( ( ( rule__OptimizationDirection__Alternatives ) ) ) - // InternalApplicationConfiguration.g:1933:2: ( ( rule__OptimizationDirection__Alternatives ) ) + // InternalApplicationConfiguration.g:1982:1: ( ( ( rule__OptimizationDirection__Alternatives ) ) ) + // InternalApplicationConfiguration.g:1983:2: ( ( rule__OptimizationDirection__Alternatives ) ) { - // InternalApplicationConfiguration.g:1933:2: ( ( rule__OptimizationDirection__Alternatives ) ) - // InternalApplicationConfiguration.g:1934:3: ( rule__OptimizationDirection__Alternatives ) + // InternalApplicationConfiguration.g:1983:2: ( ( rule__OptimizationDirection__Alternatives ) ) + // InternalApplicationConfiguration.g:1984:3: ( rule__OptimizationDirection__Alternatives ) { before(grammarAccess.getOptimizationDirectionAccess().getAlternatives()); - // InternalApplicationConfiguration.g:1935:3: ( rule__OptimizationDirection__Alternatives ) - // InternalApplicationConfiguration.g:1935:4: rule__OptimizationDirection__Alternatives + // InternalApplicationConfiguration.g:1985:3: ( rule__OptimizationDirection__Alternatives ) + // InternalApplicationConfiguration.g:1985:4: rule__OptimizationDirection__Alternatives { pushFollow(FOLLOW_2); rule__OptimizationDirection__Alternatives(); @@ -5932,21 +6088,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "ruleComparisonOperator" - // InternalApplicationConfiguration.g:1944:1: ruleComparisonOperator : ( ( rule__ComparisonOperator__Alternatives ) ) ; + // InternalApplicationConfiguration.g:1994:1: ruleComparisonOperator : ( ( rule__ComparisonOperator__Alternatives ) ) ; public final void ruleComparisonOperator() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:1948:1: ( ( ( rule__ComparisonOperator__Alternatives ) ) ) - // InternalApplicationConfiguration.g:1949:2: ( ( rule__ComparisonOperator__Alternatives ) ) + // InternalApplicationConfiguration.g:1998:1: ( ( ( rule__ComparisonOperator__Alternatives ) ) ) + // InternalApplicationConfiguration.g:1999:2: ( ( rule__ComparisonOperator__Alternatives ) ) { - // InternalApplicationConfiguration.g:1949:2: ( ( rule__ComparisonOperator__Alternatives ) ) - // InternalApplicationConfiguration.g:1950:3: ( rule__ComparisonOperator__Alternatives ) + // InternalApplicationConfiguration.g:1999:2: ( ( rule__ComparisonOperator__Alternatives ) ) + // InternalApplicationConfiguration.g:2000:3: ( rule__ComparisonOperator__Alternatives ) { before(grammarAccess.getComparisonOperatorAccess().getAlternatives()); - // InternalApplicationConfiguration.g:1951:3: ( rule__ComparisonOperator__Alternatives ) - // InternalApplicationConfiguration.g:1951:4: rule__ComparisonOperator__Alternatives + // InternalApplicationConfiguration.g:2001:3: ( rule__ComparisonOperator__Alternatives ) + // InternalApplicationConfiguration.g:2001:4: rule__ComparisonOperator__Alternatives { pushFollow(FOLLOW_2); rule__ComparisonOperator__Alternatives(); @@ -5979,21 +6135,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "ruleDocumentLevelSpecification" - // InternalApplicationConfiguration.g:1960:1: ruleDocumentLevelSpecification : ( ( rule__DocumentLevelSpecification__Alternatives ) ) ; + // InternalApplicationConfiguration.g:2010:1: ruleDocumentLevelSpecification : ( ( rule__DocumentLevelSpecification__Alternatives ) ) ; public final void ruleDocumentLevelSpecification() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:1964:1: ( ( ( rule__DocumentLevelSpecification__Alternatives ) ) ) - // InternalApplicationConfiguration.g:1965:2: ( ( rule__DocumentLevelSpecification__Alternatives ) ) + // InternalApplicationConfiguration.g:2014:1: ( ( ( rule__DocumentLevelSpecification__Alternatives ) ) ) + // InternalApplicationConfiguration.g:2015:2: ( ( rule__DocumentLevelSpecification__Alternatives ) ) { - // InternalApplicationConfiguration.g:1965:2: ( ( rule__DocumentLevelSpecification__Alternatives ) ) - // InternalApplicationConfiguration.g:1966:3: ( rule__DocumentLevelSpecification__Alternatives ) + // InternalApplicationConfiguration.g:2015:2: ( ( rule__DocumentLevelSpecification__Alternatives ) ) + // InternalApplicationConfiguration.g:2016:3: ( rule__DocumentLevelSpecification__Alternatives ) { before(grammarAccess.getDocumentLevelSpecificationAccess().getAlternatives()); - // InternalApplicationConfiguration.g:1967:3: ( rule__DocumentLevelSpecification__Alternatives ) - // InternalApplicationConfiguration.g:1967:4: rule__DocumentLevelSpecification__Alternatives + // InternalApplicationConfiguration.g:2017:3: ( rule__DocumentLevelSpecification__Alternatives ) + // InternalApplicationConfiguration.g:2017:4: rule__DocumentLevelSpecification__Alternatives { pushFollow(FOLLOW_2); rule__DocumentLevelSpecification__Alternatives(); @@ -6026,21 +6182,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "ruleSolver" - // InternalApplicationConfiguration.g:1976:1: ruleSolver : ( ( rule__Solver__Alternatives ) ) ; + // InternalApplicationConfiguration.g:2026:1: ruleSolver : ( ( rule__Solver__Alternatives ) ) ; public final void ruleSolver() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:1980:1: ( ( ( rule__Solver__Alternatives ) ) ) - // InternalApplicationConfiguration.g:1981:2: ( ( rule__Solver__Alternatives ) ) + // InternalApplicationConfiguration.g:2030:1: ( ( ( rule__Solver__Alternatives ) ) ) + // InternalApplicationConfiguration.g:2031:2: ( ( rule__Solver__Alternatives ) ) { - // InternalApplicationConfiguration.g:1981:2: ( ( rule__Solver__Alternatives ) ) - // InternalApplicationConfiguration.g:1982:3: ( rule__Solver__Alternatives ) + // InternalApplicationConfiguration.g:2031:2: ( ( rule__Solver__Alternatives ) ) + // InternalApplicationConfiguration.g:2032:3: ( rule__Solver__Alternatives ) { before(grammarAccess.getSolverAccess().getAlternatives()); - // InternalApplicationConfiguration.g:1983:3: ( rule__Solver__Alternatives ) - // InternalApplicationConfiguration.g:1983:4: rule__Solver__Alternatives + // InternalApplicationConfiguration.g:2033:3: ( rule__Solver__Alternatives ) + // InternalApplicationConfiguration.g:2033:4: rule__Solver__Alternatives { pushFollow(FOLLOW_2); rule__Solver__Alternatives(); @@ -6073,20 +6229,20 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__Command__Alternatives" - // InternalApplicationConfiguration.g:1991:1: rule__Command__Alternatives : ( ( ruleDeclaration ) | ( ruleTask ) ); + // InternalApplicationConfiguration.g:2041:1: rule__Command__Alternatives : ( ( ruleDeclaration ) | ( ruleTask ) ); public final void rule__Command__Alternatives() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:1995:1: ( ( ruleDeclaration ) | ( ruleTask ) ) + // InternalApplicationConfiguration.g:2045:1: ( ( ruleDeclaration ) | ( ruleTask ) ) int alt1=2; int LA1_0 = input.LA(1); - if ( (LA1_0==27||LA1_0==35||(LA1_0>=37 && LA1_0<=40)||LA1_0==52) ) { + if ( (LA1_0==27||LA1_0==35||(LA1_0>=37 && LA1_0<=38)||(LA1_0>=41 && LA1_0<=42)||LA1_0==54) ) { alt1=1; } - else if ( (LA1_0==53) ) { + else if ( (LA1_0==55) ) { alt1=2; } else { @@ -6097,10 +6253,10 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } switch (alt1) { case 1 : - // InternalApplicationConfiguration.g:1996:2: ( ruleDeclaration ) + // InternalApplicationConfiguration.g:2046:2: ( ruleDeclaration ) { - // InternalApplicationConfiguration.g:1996:2: ( ruleDeclaration ) - // InternalApplicationConfiguration.g:1997:3: ruleDeclaration + // InternalApplicationConfiguration.g:2046:2: ( ruleDeclaration ) + // InternalApplicationConfiguration.g:2047:3: ruleDeclaration { before(grammarAccess.getCommandAccess().getDeclarationParserRuleCall_0()); pushFollow(FOLLOW_2); @@ -6116,10 +6272,10 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } break; case 2 : - // InternalApplicationConfiguration.g:2002:2: ( ruleTask ) + // InternalApplicationConfiguration.g:2052:2: ( ruleTask ) { - // InternalApplicationConfiguration.g:2002:2: ( ruleTask ) - // InternalApplicationConfiguration.g:2003:3: ruleTask + // InternalApplicationConfiguration.g:2052:2: ( ruleTask ) + // InternalApplicationConfiguration.g:2053:3: ruleTask { before(grammarAccess.getCommandAccess().getTaskParserRuleCall_1()); pushFollow(FOLLOW_2); @@ -6152,13 +6308,13 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__Import__Alternatives" - // InternalApplicationConfiguration.g:2012:1: rule__Import__Alternatives : ( ( ruleEPackageImport ) | ( ruleViatraImport ) | ( ruleCftImport ) ); + // InternalApplicationConfiguration.g:2062:1: rule__Import__Alternatives : ( ( ruleEPackageImport ) | ( ruleViatraImport ) | ( ruleCftImport ) ); public final void rule__Import__Alternatives() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:2016:1: ( ( ruleEPackageImport ) | ( ruleViatraImport ) | ( ruleCftImport ) ) + // InternalApplicationConfiguration.g:2066:1: ( ( ruleEPackageImport ) | ( ruleViatraImport ) | ( ruleCftImport ) ) int alt2=3; int LA2_0 = input.LA(1); @@ -6195,10 +6351,10 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } switch (alt2) { case 1 : - // InternalApplicationConfiguration.g:2017:2: ( ruleEPackageImport ) + // InternalApplicationConfiguration.g:2067:2: ( ruleEPackageImport ) { - // InternalApplicationConfiguration.g:2017:2: ( ruleEPackageImport ) - // InternalApplicationConfiguration.g:2018:3: ruleEPackageImport + // InternalApplicationConfiguration.g:2067:2: ( ruleEPackageImport ) + // InternalApplicationConfiguration.g:2068:3: ruleEPackageImport { before(grammarAccess.getImportAccess().getEPackageImportParserRuleCall_0()); pushFollow(FOLLOW_2); @@ -6214,10 +6370,10 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } break; case 2 : - // InternalApplicationConfiguration.g:2023:2: ( ruleViatraImport ) + // InternalApplicationConfiguration.g:2073:2: ( ruleViatraImport ) { - // InternalApplicationConfiguration.g:2023:2: ( ruleViatraImport ) - // InternalApplicationConfiguration.g:2024:3: ruleViatraImport + // InternalApplicationConfiguration.g:2073:2: ( ruleViatraImport ) + // InternalApplicationConfiguration.g:2074:3: ruleViatraImport { before(grammarAccess.getImportAccess().getViatraImportParserRuleCall_1()); pushFollow(FOLLOW_2); @@ -6233,10 +6389,10 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } break; case 3 : - // InternalApplicationConfiguration.g:2029:2: ( ruleCftImport ) + // InternalApplicationConfiguration.g:2079:2: ( ruleCftImport ) { - // InternalApplicationConfiguration.g:2029:2: ( ruleCftImport ) - // InternalApplicationConfiguration.g:2030:3: ruleCftImport + // InternalApplicationConfiguration.g:2079:2: ( ruleCftImport ) + // InternalApplicationConfiguration.g:2080:3: ruleCftImport { before(grammarAccess.getImportAccess().getCftImportParserRuleCall_2()); pushFollow(FOLLOW_2); @@ -6269,13 +6425,13 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__Declaration__Alternatives" - // InternalApplicationConfiguration.g:2039:1: rule__Declaration__Alternatives : ( ( ruleFileDeclaration ) | ( ruleMetamodelDeclaration ) | ( rulePartialModelDeclaration ) | ( ruleGraphPatternDeclaration ) | ( ruleConfigDeclaration ) | ( ruleScopeDeclaration ) | ( ruleObjectiveDeclaration ) ); + // InternalApplicationConfiguration.g:2089:1: rule__Declaration__Alternatives : ( ( ruleFileDeclaration ) | ( ruleMetamodelDeclaration ) | ( rulePartialModelDeclaration ) | ( ruleGraphPatternDeclaration ) | ( ruleConfigDeclaration ) | ( ruleScopeDeclaration ) | ( ruleObjectiveDeclaration ) ); public final void rule__Declaration__Alternatives() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:2043:1: ( ( ruleFileDeclaration ) | ( ruleMetamodelDeclaration ) | ( rulePartialModelDeclaration ) | ( ruleGraphPatternDeclaration ) | ( ruleConfigDeclaration ) | ( ruleScopeDeclaration ) | ( ruleObjectiveDeclaration ) ) + // InternalApplicationConfiguration.g:2093:1: ( ( ruleFileDeclaration ) | ( ruleMetamodelDeclaration ) | ( rulePartialModelDeclaration ) | ( ruleGraphPatternDeclaration ) | ( ruleConfigDeclaration ) | ( ruleScopeDeclaration ) | ( ruleObjectiveDeclaration ) ) int alt3=7; switch ( input.LA(1) ) { case 27: @@ -6298,17 +6454,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont alt3=4; } break; - case 40: + case 42: { alt3=5; } break; - case 52: + case 54: { alt3=6; } break; - case 39: + case 41: { alt3=7; } @@ -6322,10 +6478,10 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont switch (alt3) { case 1 : - // InternalApplicationConfiguration.g:2044:2: ( ruleFileDeclaration ) + // InternalApplicationConfiguration.g:2094:2: ( ruleFileDeclaration ) { - // InternalApplicationConfiguration.g:2044:2: ( ruleFileDeclaration ) - // InternalApplicationConfiguration.g:2045:3: ruleFileDeclaration + // InternalApplicationConfiguration.g:2094:2: ( ruleFileDeclaration ) + // InternalApplicationConfiguration.g:2095:3: ruleFileDeclaration { before(grammarAccess.getDeclarationAccess().getFileDeclarationParserRuleCall_0()); pushFollow(FOLLOW_2); @@ -6341,10 +6497,10 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } break; case 2 : - // InternalApplicationConfiguration.g:2050:2: ( ruleMetamodelDeclaration ) + // InternalApplicationConfiguration.g:2100:2: ( ruleMetamodelDeclaration ) { - // InternalApplicationConfiguration.g:2050:2: ( ruleMetamodelDeclaration ) - // InternalApplicationConfiguration.g:2051:3: ruleMetamodelDeclaration + // InternalApplicationConfiguration.g:2100:2: ( ruleMetamodelDeclaration ) + // InternalApplicationConfiguration.g:2101:3: ruleMetamodelDeclaration { before(grammarAccess.getDeclarationAccess().getMetamodelDeclarationParserRuleCall_1()); pushFollow(FOLLOW_2); @@ -6360,10 +6516,10 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } break; case 3 : - // InternalApplicationConfiguration.g:2056:2: ( rulePartialModelDeclaration ) + // InternalApplicationConfiguration.g:2106:2: ( rulePartialModelDeclaration ) { - // InternalApplicationConfiguration.g:2056:2: ( rulePartialModelDeclaration ) - // InternalApplicationConfiguration.g:2057:3: rulePartialModelDeclaration + // InternalApplicationConfiguration.g:2106:2: ( rulePartialModelDeclaration ) + // InternalApplicationConfiguration.g:2107:3: rulePartialModelDeclaration { before(grammarAccess.getDeclarationAccess().getPartialModelDeclarationParserRuleCall_2()); pushFollow(FOLLOW_2); @@ -6379,10 +6535,10 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } break; case 4 : - // InternalApplicationConfiguration.g:2062:2: ( ruleGraphPatternDeclaration ) + // InternalApplicationConfiguration.g:2112:2: ( ruleGraphPatternDeclaration ) { - // InternalApplicationConfiguration.g:2062:2: ( ruleGraphPatternDeclaration ) - // InternalApplicationConfiguration.g:2063:3: ruleGraphPatternDeclaration + // InternalApplicationConfiguration.g:2112:2: ( ruleGraphPatternDeclaration ) + // InternalApplicationConfiguration.g:2113:3: ruleGraphPatternDeclaration { before(grammarAccess.getDeclarationAccess().getGraphPatternDeclarationParserRuleCall_3()); pushFollow(FOLLOW_2); @@ -6398,10 +6554,10 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } break; case 5 : - // InternalApplicationConfiguration.g:2068:2: ( ruleConfigDeclaration ) + // InternalApplicationConfiguration.g:2118:2: ( ruleConfigDeclaration ) { - // InternalApplicationConfiguration.g:2068:2: ( ruleConfigDeclaration ) - // InternalApplicationConfiguration.g:2069:3: ruleConfigDeclaration + // InternalApplicationConfiguration.g:2118:2: ( ruleConfigDeclaration ) + // InternalApplicationConfiguration.g:2119:3: ruleConfigDeclaration { before(grammarAccess.getDeclarationAccess().getConfigDeclarationParserRuleCall_4()); pushFollow(FOLLOW_2); @@ -6417,10 +6573,10 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } break; case 6 : - // InternalApplicationConfiguration.g:2074:2: ( ruleScopeDeclaration ) + // InternalApplicationConfiguration.g:2124:2: ( ruleScopeDeclaration ) { - // InternalApplicationConfiguration.g:2074:2: ( ruleScopeDeclaration ) - // InternalApplicationConfiguration.g:2075:3: ruleScopeDeclaration + // InternalApplicationConfiguration.g:2124:2: ( ruleScopeDeclaration ) + // InternalApplicationConfiguration.g:2125:3: ruleScopeDeclaration { before(grammarAccess.getDeclarationAccess().getScopeDeclarationParserRuleCall_5()); pushFollow(FOLLOW_2); @@ -6436,10 +6592,10 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } break; case 7 : - // InternalApplicationConfiguration.g:2080:2: ( ruleObjectiveDeclaration ) + // InternalApplicationConfiguration.g:2130:2: ( ruleObjectiveDeclaration ) { - // InternalApplicationConfiguration.g:2080:2: ( ruleObjectiveDeclaration ) - // InternalApplicationConfiguration.g:2081:3: ruleObjectiveDeclaration + // InternalApplicationConfiguration.g:2130:2: ( ruleObjectiveDeclaration ) + // InternalApplicationConfiguration.g:2131:3: ruleObjectiveDeclaration { before(grammarAccess.getDeclarationAccess().getObjectiveDeclarationParserRuleCall_6()); pushFollow(FOLLOW_2); @@ -6472,13 +6628,13 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__File__Alternatives" - // InternalApplicationConfiguration.g:2090:1: rule__File__Alternatives : ( ( ruleFileSpecification ) | ( ruleFileReference ) ); + // InternalApplicationConfiguration.g:2140:1: rule__File__Alternatives : ( ( ruleFileSpecification ) | ( ruleFileReference ) ); public final void rule__File__Alternatives() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:2094:1: ( ( ruleFileSpecification ) | ( ruleFileReference ) ) + // InternalApplicationConfiguration.g:2144:1: ( ( ruleFileSpecification ) | ( ruleFileReference ) ) int alt4=2; int LA4_0 = input.LA(1); @@ -6496,10 +6652,10 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } switch (alt4) { case 1 : - // InternalApplicationConfiguration.g:2095:2: ( ruleFileSpecification ) + // InternalApplicationConfiguration.g:2145:2: ( ruleFileSpecification ) { - // InternalApplicationConfiguration.g:2095:2: ( ruleFileSpecification ) - // InternalApplicationConfiguration.g:2096:3: ruleFileSpecification + // InternalApplicationConfiguration.g:2145:2: ( ruleFileSpecification ) + // InternalApplicationConfiguration.g:2146:3: ruleFileSpecification { before(grammarAccess.getFileAccess().getFileSpecificationParserRuleCall_0()); pushFollow(FOLLOW_2); @@ -6515,10 +6671,10 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } break; case 2 : - // InternalApplicationConfiguration.g:2101:2: ( ruleFileReference ) + // InternalApplicationConfiguration.g:2151:2: ( ruleFileReference ) { - // InternalApplicationConfiguration.g:2101:2: ( ruleFileReference ) - // InternalApplicationConfiguration.g:2102:3: ruleFileReference + // InternalApplicationConfiguration.g:2151:2: ( ruleFileReference ) + // InternalApplicationConfiguration.g:2152:3: ruleFileReference { before(grammarAccess.getFileAccess().getFileReferenceParserRuleCall_1()); pushFollow(FOLLOW_2); @@ -6551,13 +6707,13 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__MetamodelEntry__Alternatives" - // InternalApplicationConfiguration.g:2111:1: rule__MetamodelEntry__Alternatives : ( ( ruleMetamodelElement ) | ( ruleAllPackageEntry ) ); + // InternalApplicationConfiguration.g:2161:1: rule__MetamodelEntry__Alternatives : ( ( ruleMetamodelElement ) | ( ruleAllPackageEntry ) ); public final void rule__MetamodelEntry__Alternatives() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:2115:1: ( ( ruleMetamodelElement ) | ( ruleAllPackageEntry ) ) + // InternalApplicationConfiguration.g:2165:1: ( ( ruleMetamodelElement ) | ( ruleAllPackageEntry ) ) int alt5=2; int LA5_0 = input.LA(1); @@ -6575,10 +6731,10 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } switch (alt5) { case 1 : - // InternalApplicationConfiguration.g:2116:2: ( ruleMetamodelElement ) + // InternalApplicationConfiguration.g:2166:2: ( ruleMetamodelElement ) { - // InternalApplicationConfiguration.g:2116:2: ( ruleMetamodelElement ) - // InternalApplicationConfiguration.g:2117:3: ruleMetamodelElement + // InternalApplicationConfiguration.g:2166:2: ( ruleMetamodelElement ) + // InternalApplicationConfiguration.g:2167:3: ruleMetamodelElement { before(grammarAccess.getMetamodelEntryAccess().getMetamodelElementParserRuleCall_0()); pushFollow(FOLLOW_2); @@ -6594,10 +6750,10 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } break; case 2 : - // InternalApplicationConfiguration.g:2122:2: ( ruleAllPackageEntry ) + // InternalApplicationConfiguration.g:2172:2: ( ruleAllPackageEntry ) { - // InternalApplicationConfiguration.g:2122:2: ( ruleAllPackageEntry ) - // InternalApplicationConfiguration.g:2123:3: ruleAllPackageEntry + // InternalApplicationConfiguration.g:2172:2: ( ruleAllPackageEntry ) + // InternalApplicationConfiguration.g:2173:3: ruleAllPackageEntry { before(grammarAccess.getMetamodelEntryAccess().getAllPackageEntryParserRuleCall_1()); pushFollow(FOLLOW_2); @@ -6630,13 +6786,13 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__Metamodel__Alternatives" - // InternalApplicationConfiguration.g:2132:1: rule__Metamodel__Alternatives : ( ( ruleMetamodelReference ) | ( ruleMetamodelSpecification ) ); + // InternalApplicationConfiguration.g:2182:1: rule__Metamodel__Alternatives : ( ( ruleMetamodelReference ) | ( ruleMetamodelSpecification ) ); public final void rule__Metamodel__Alternatives() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:2136:1: ( ( ruleMetamodelReference ) | ( ruleMetamodelSpecification ) ) + // InternalApplicationConfiguration.g:2186:1: ( ( ruleMetamodelReference ) | ( ruleMetamodelSpecification ) ) int alt6=2; int LA6_0 = input.LA(1); @@ -6654,10 +6810,10 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } switch (alt6) { case 1 : - // InternalApplicationConfiguration.g:2137:2: ( ruleMetamodelReference ) + // InternalApplicationConfiguration.g:2187:2: ( ruleMetamodelReference ) { - // InternalApplicationConfiguration.g:2137:2: ( ruleMetamodelReference ) - // InternalApplicationConfiguration.g:2138:3: ruleMetamodelReference + // InternalApplicationConfiguration.g:2187:2: ( ruleMetamodelReference ) + // InternalApplicationConfiguration.g:2188:3: ruleMetamodelReference { before(grammarAccess.getMetamodelAccess().getMetamodelReferenceParserRuleCall_0()); pushFollow(FOLLOW_2); @@ -6673,10 +6829,10 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } break; case 2 : - // InternalApplicationConfiguration.g:2143:2: ( ruleMetamodelSpecification ) + // InternalApplicationConfiguration.g:2193:2: ( ruleMetamodelSpecification ) { - // InternalApplicationConfiguration.g:2143:2: ( ruleMetamodelSpecification ) - // InternalApplicationConfiguration.g:2144:3: ruleMetamodelSpecification + // InternalApplicationConfiguration.g:2193:2: ( ruleMetamodelSpecification ) + // InternalApplicationConfiguration.g:2194:3: ruleMetamodelSpecification { before(grammarAccess.getMetamodelAccess().getMetamodelSpecificationParserRuleCall_1()); pushFollow(FOLLOW_2); @@ -6709,13 +6865,13 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__PartialModelEntry__Alternatives" - // InternalApplicationConfiguration.g:2153:1: rule__PartialModelEntry__Alternatives : ( ( ruleModelEntry ) | ( ruleFolderEntry ) ); + // InternalApplicationConfiguration.g:2203:1: rule__PartialModelEntry__Alternatives : ( ( ruleModelEntry ) | ( ruleFolderEntry ) ); public final void rule__PartialModelEntry__Alternatives() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:2157:1: ( ( ruleModelEntry ) | ( ruleFolderEntry ) ) + // InternalApplicationConfiguration.g:2207:1: ( ( ruleModelEntry ) | ( ruleFolderEntry ) ) int alt7=2; int LA7_0 = input.LA(1); @@ -6733,10 +6889,10 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } switch (alt7) { case 1 : - // InternalApplicationConfiguration.g:2158:2: ( ruleModelEntry ) + // InternalApplicationConfiguration.g:2208:2: ( ruleModelEntry ) { - // InternalApplicationConfiguration.g:2158:2: ( ruleModelEntry ) - // InternalApplicationConfiguration.g:2159:3: ruleModelEntry + // InternalApplicationConfiguration.g:2208:2: ( ruleModelEntry ) + // InternalApplicationConfiguration.g:2209:3: ruleModelEntry { before(grammarAccess.getPartialModelEntryAccess().getModelEntryParserRuleCall_0()); pushFollow(FOLLOW_2); @@ -6752,10 +6908,10 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } break; case 2 : - // InternalApplicationConfiguration.g:2164:2: ( ruleFolderEntry ) + // InternalApplicationConfiguration.g:2214:2: ( ruleFolderEntry ) { - // InternalApplicationConfiguration.g:2164:2: ( ruleFolderEntry ) - // InternalApplicationConfiguration.g:2165:3: ruleFolderEntry + // InternalApplicationConfiguration.g:2214:2: ( ruleFolderEntry ) + // InternalApplicationConfiguration.g:2215:3: ruleFolderEntry { before(grammarAccess.getPartialModelEntryAccess().getFolderEntryParserRuleCall_1()); pushFollow(FOLLOW_2); @@ -6788,13 +6944,13 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__PartialModel__Alternatives" - // InternalApplicationConfiguration.g:2174:1: rule__PartialModel__Alternatives : ( ( rulePartialModelSpecification ) | ( rulePartialModelReference ) ); + // InternalApplicationConfiguration.g:2224:1: rule__PartialModel__Alternatives : ( ( rulePartialModelSpecification ) | ( rulePartialModelReference ) ); public final void rule__PartialModel__Alternatives() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:2178:1: ( ( rulePartialModelSpecification ) | ( rulePartialModelReference ) ) + // InternalApplicationConfiguration.g:2228:1: ( ( rulePartialModelSpecification ) | ( rulePartialModelReference ) ) int alt8=2; int LA8_0 = input.LA(1); @@ -6812,10 +6968,10 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } switch (alt8) { case 1 : - // InternalApplicationConfiguration.g:2179:2: ( rulePartialModelSpecification ) + // InternalApplicationConfiguration.g:2229:2: ( rulePartialModelSpecification ) { - // InternalApplicationConfiguration.g:2179:2: ( rulePartialModelSpecification ) - // InternalApplicationConfiguration.g:2180:3: rulePartialModelSpecification + // InternalApplicationConfiguration.g:2229:2: ( rulePartialModelSpecification ) + // InternalApplicationConfiguration.g:2230:3: rulePartialModelSpecification { before(grammarAccess.getPartialModelAccess().getPartialModelSpecificationParserRuleCall_0()); pushFollow(FOLLOW_2); @@ -6831,10 +6987,10 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } break; case 2 : - // InternalApplicationConfiguration.g:2185:2: ( rulePartialModelReference ) + // InternalApplicationConfiguration.g:2235:2: ( rulePartialModelReference ) { - // InternalApplicationConfiguration.g:2185:2: ( rulePartialModelReference ) - // InternalApplicationConfiguration.g:2186:3: rulePartialModelReference + // InternalApplicationConfiguration.g:2235:2: ( rulePartialModelReference ) + // InternalApplicationConfiguration.g:2236:3: rulePartialModelReference { before(grammarAccess.getPartialModelAccess().getPartialModelReferenceParserRuleCall_1()); pushFollow(FOLLOW_2); @@ -6867,13 +7023,13 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__PatternEntry__Alternatives" - // InternalApplicationConfiguration.g:2195:1: rule__PatternEntry__Alternatives : ( ( rulePatternElement ) | ( ruleAllPatternEntry ) ); + // InternalApplicationConfiguration.g:2245:1: rule__PatternEntry__Alternatives : ( ( rulePatternElement ) | ( ruleAllPatternEntry ) ); public final void rule__PatternEntry__Alternatives() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:2199:1: ( ( rulePatternElement ) | ( ruleAllPatternEntry ) ) + // InternalApplicationConfiguration.g:2249:1: ( ( rulePatternElement ) | ( ruleAllPatternEntry ) ) int alt9=2; int LA9_0 = input.LA(1); @@ -6891,10 +7047,10 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } switch (alt9) { case 1 : - // InternalApplicationConfiguration.g:2200:2: ( rulePatternElement ) + // InternalApplicationConfiguration.g:2250:2: ( rulePatternElement ) { - // InternalApplicationConfiguration.g:2200:2: ( rulePatternElement ) - // InternalApplicationConfiguration.g:2201:3: rulePatternElement + // InternalApplicationConfiguration.g:2250:2: ( rulePatternElement ) + // InternalApplicationConfiguration.g:2251:3: rulePatternElement { before(grammarAccess.getPatternEntryAccess().getPatternElementParserRuleCall_0()); pushFollow(FOLLOW_2); @@ -6910,10 +7066,10 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } break; case 2 : - // InternalApplicationConfiguration.g:2206:2: ( ruleAllPatternEntry ) + // InternalApplicationConfiguration.g:2256:2: ( ruleAllPatternEntry ) { - // InternalApplicationConfiguration.g:2206:2: ( ruleAllPatternEntry ) - // InternalApplicationConfiguration.g:2207:3: ruleAllPatternEntry + // InternalApplicationConfiguration.g:2256:2: ( ruleAllPatternEntry ) + // InternalApplicationConfiguration.g:2257:3: ruleAllPatternEntry { before(grammarAccess.getPatternEntryAccess().getAllPatternEntryParserRuleCall_1()); pushFollow(FOLLOW_2); @@ -6946,13 +7102,13 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GraphPattern__Alternatives" - // InternalApplicationConfiguration.g:2216:1: rule__GraphPattern__Alternatives : ( ( ruleGraphPatternReference ) | ( rulePatternSpecification ) ); + // InternalApplicationConfiguration.g:2266:1: rule__GraphPattern__Alternatives : ( ( ruleGraphPatternReference ) | ( rulePatternSpecification ) ); public final void rule__GraphPattern__Alternatives() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:2220:1: ( ( ruleGraphPatternReference ) | ( rulePatternSpecification ) ) + // InternalApplicationConfiguration.g:2270:1: ( ( ruleGraphPatternReference ) | ( rulePatternSpecification ) ) int alt10=2; int LA10_0 = input.LA(1); @@ -6970,10 +7126,10 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } switch (alt10) { case 1 : - // InternalApplicationConfiguration.g:2221:2: ( ruleGraphPatternReference ) + // InternalApplicationConfiguration.g:2271:2: ( ruleGraphPatternReference ) { - // InternalApplicationConfiguration.g:2221:2: ( ruleGraphPatternReference ) - // InternalApplicationConfiguration.g:2222:3: ruleGraphPatternReference + // InternalApplicationConfiguration.g:2271:2: ( ruleGraphPatternReference ) + // InternalApplicationConfiguration.g:2272:3: ruleGraphPatternReference { before(grammarAccess.getGraphPatternAccess().getGraphPatternReferenceParserRuleCall_0()); pushFollow(FOLLOW_2); @@ -6989,10 +7145,10 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } break; case 2 : - // InternalApplicationConfiguration.g:2227:2: ( rulePatternSpecification ) + // InternalApplicationConfiguration.g:2277:2: ( rulePatternSpecification ) { - // InternalApplicationConfiguration.g:2227:2: ( rulePatternSpecification ) - // InternalApplicationConfiguration.g:2228:3: rulePatternSpecification + // InternalApplicationConfiguration.g:2277:2: ( rulePatternSpecification ) + // InternalApplicationConfiguration.g:2278:3: rulePatternSpecification { before(grammarAccess.getGraphPatternAccess().getPatternSpecificationParserRuleCall_1()); pushFollow(FOLLOW_2); @@ -7025,20 +7181,20 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ObjectiveEntry__Alternatives" - // InternalApplicationConfiguration.g:2237:1: rule__ObjectiveEntry__Alternatives : ( ( ruleOptimizationEntry ) | ( ruleThresholdEntry ) ); + // InternalApplicationConfiguration.g:2287:1: rule__ObjectiveEntry__Alternatives : ( ( ruleOptimizationEntry ) | ( ruleThresholdEntry ) ); public final void rule__ObjectiveEntry__Alternatives() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:2241:1: ( ( ruleOptimizationEntry ) | ( ruleThresholdEntry ) ) + // InternalApplicationConfiguration.g:2291:1: ( ( ruleOptimizationEntry ) | ( ruleThresholdEntry ) ) int alt11=2; int LA11_0 = input.LA(1); if ( ((LA11_0>=11 && LA11_0<=12)) ) { alt11=1; } - else if ( (LA11_0==26) ) { + else if ( (LA11_0==26||LA11_0==40) ) { alt11=2; } else { @@ -7049,10 +7205,10 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } switch (alt11) { case 1 : - // InternalApplicationConfiguration.g:2242:2: ( ruleOptimizationEntry ) + // InternalApplicationConfiguration.g:2292:2: ( ruleOptimizationEntry ) { - // InternalApplicationConfiguration.g:2242:2: ( ruleOptimizationEntry ) - // InternalApplicationConfiguration.g:2243:3: ruleOptimizationEntry + // InternalApplicationConfiguration.g:2292:2: ( ruleOptimizationEntry ) + // InternalApplicationConfiguration.g:2293:3: ruleOptimizationEntry { before(grammarAccess.getObjectiveEntryAccess().getOptimizationEntryParserRuleCall_0()); pushFollow(FOLLOW_2); @@ -7068,10 +7224,10 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } break; case 2 : - // InternalApplicationConfiguration.g:2248:2: ( ruleThresholdEntry ) + // InternalApplicationConfiguration.g:2298:2: ( ruleThresholdEntry ) { - // InternalApplicationConfiguration.g:2248:2: ( ruleThresholdEntry ) - // InternalApplicationConfiguration.g:2249:3: ruleThresholdEntry + // InternalApplicationConfiguration.g:2298:2: ( ruleThresholdEntry ) + // InternalApplicationConfiguration.g:2299:3: ruleThresholdEntry { before(grammarAccess.getObjectiveEntryAccess().getThresholdEntryParserRuleCall_1()); pushFollow(FOLLOW_2); @@ -7103,21 +7259,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR end "rule__ObjectiveEntry__Alternatives" - // $ANTLR start "rule__Objective__Alternatives" - // InternalApplicationConfiguration.g:2258:1: rule__Objective__Alternatives : ( ( ruleObjectiveReference ) | ( ruleObjectiveSpecification ) ); - public final void rule__Objective__Alternatives() throws RecognitionException { + // $ANTLR start "rule__ReliabilityObjectiveFunction__Alternatives" + // InternalApplicationConfiguration.g:2308:1: rule__ReliabilityObjectiveFunction__Alternatives : ( ( ruleReliabiltiyProbability ) | ( ruleMtff ) ); + public final void rule__ReliabilityObjectiveFunction__Alternatives() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:2262:1: ( ( ruleObjectiveReference ) | ( ruleObjectiveSpecification ) ) + // InternalApplicationConfiguration.g:2312:1: ( ( ruleReliabiltiyProbability ) | ( ruleMtff ) ) int alt12=2; int LA12_0 = input.LA(1); - if ( (LA12_0==RULE_ID) ) { + if ( (LA12_0==26) ) { alt12=1; } - else if ( (LA12_0==29) ) { + else if ( (LA12_0==40) ) { alt12=2; } else { @@ -7128,10 +7284,89 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } switch (alt12) { case 1 : - // InternalApplicationConfiguration.g:2263:2: ( ruleObjectiveReference ) + // InternalApplicationConfiguration.g:2313:2: ( ruleReliabiltiyProbability ) + { + // InternalApplicationConfiguration.g:2313:2: ( ruleReliabiltiyProbability ) + // InternalApplicationConfiguration.g:2314:3: ruleReliabiltiyProbability + { + before(grammarAccess.getReliabilityObjectiveFunctionAccess().getReliabiltiyProbabilityParserRuleCall_0()); + pushFollow(FOLLOW_2); + ruleReliabiltiyProbability(); + + state._fsp--; + + after(grammarAccess.getReliabilityObjectiveFunctionAccess().getReliabiltiyProbabilityParserRuleCall_0()); + + } + + + } + break; + case 2 : + // InternalApplicationConfiguration.g:2319:2: ( ruleMtff ) + { + // InternalApplicationConfiguration.g:2319:2: ( ruleMtff ) + // InternalApplicationConfiguration.g:2320:3: ruleMtff + { + before(grammarAccess.getReliabilityObjectiveFunctionAccess().getMtffParserRuleCall_1()); + pushFollow(FOLLOW_2); + ruleMtff(); + + state._fsp--; + + after(grammarAccess.getReliabilityObjectiveFunctionAccess().getMtffParserRuleCall_1()); + + } + + + } + break; + + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ReliabilityObjectiveFunction__Alternatives" + + + // $ANTLR start "rule__Objective__Alternatives" + // InternalApplicationConfiguration.g:2329:1: rule__Objective__Alternatives : ( ( ruleObjectiveReference ) | ( ruleObjectiveSpecification ) ); + public final void rule__Objective__Alternatives() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:2333:1: ( ( ruleObjectiveReference ) | ( ruleObjectiveSpecification ) ) + int alt13=2; + int LA13_0 = input.LA(1); + + if ( (LA13_0==RULE_ID) ) { + alt13=1; + } + else if ( (LA13_0==29) ) { + alt13=2; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 13, 0, input); + + throw nvae; + } + switch (alt13) { + case 1 : + // InternalApplicationConfiguration.g:2334:2: ( ruleObjectiveReference ) { - // InternalApplicationConfiguration.g:2263:2: ( ruleObjectiveReference ) - // InternalApplicationConfiguration.g:2264:3: ruleObjectiveReference + // InternalApplicationConfiguration.g:2334:2: ( ruleObjectiveReference ) + // InternalApplicationConfiguration.g:2335:3: ruleObjectiveReference { before(grammarAccess.getObjectiveAccess().getObjectiveReferenceParserRuleCall_0()); pushFollow(FOLLOW_2); @@ -7147,10 +7382,10 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } break; case 2 : - // InternalApplicationConfiguration.g:2269:2: ( ruleObjectiveSpecification ) + // InternalApplicationConfiguration.g:2340:2: ( ruleObjectiveSpecification ) { - // InternalApplicationConfiguration.g:2269:2: ( ruleObjectiveSpecification ) - // InternalApplicationConfiguration.g:2270:3: ruleObjectiveSpecification + // InternalApplicationConfiguration.g:2340:2: ( ruleObjectiveSpecification ) + // InternalApplicationConfiguration.g:2341:3: ruleObjectiveSpecification { before(grammarAccess.getObjectiveAccess().getObjectiveSpecificationParserRuleCall_1()); pushFollow(FOLLOW_2); @@ -7183,48 +7418,48 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ConfigEntry__Alternatives" - // InternalApplicationConfiguration.g:2279:1: rule__ConfigEntry__Alternatives : ( ( ruleDocumentationEntry ) | ( ruleRuntimeEntry ) | ( ruleMemoryEntry ) | ( ruleCustomEntry ) ); + // InternalApplicationConfiguration.g:2350:1: rule__ConfigEntry__Alternatives : ( ( ruleDocumentationEntry ) | ( ruleRuntimeEntry ) | ( ruleMemoryEntry ) | ( ruleCustomEntry ) ); public final void rule__ConfigEntry__Alternatives() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:2283:1: ( ( ruleDocumentationEntry ) | ( ruleRuntimeEntry ) | ( ruleMemoryEntry ) | ( ruleCustomEntry ) ) - int alt13=4; + // InternalApplicationConfiguration.g:2354:1: ( ( ruleDocumentationEntry ) | ( ruleRuntimeEntry ) | ( ruleMemoryEntry ) | ( ruleCustomEntry ) ) + int alt14=4; switch ( input.LA(1) ) { - case 41: + case 43: { - alt13=1; + alt14=1; } break; - case 42: + case 44: { - alt13=2; + alt14=2; } break; - case 43: + case 45: { - alt13=3; + alt14=3; } break; case RULE_STRING: { - alt13=4; + alt14=4; } break; default: NoViableAltException nvae = - new NoViableAltException("", 13, 0, input); + new NoViableAltException("", 14, 0, input); throw nvae; } - switch (alt13) { + switch (alt14) { case 1 : - // InternalApplicationConfiguration.g:2284:2: ( ruleDocumentationEntry ) + // InternalApplicationConfiguration.g:2355:2: ( ruleDocumentationEntry ) { - // InternalApplicationConfiguration.g:2284:2: ( ruleDocumentationEntry ) - // InternalApplicationConfiguration.g:2285:3: ruleDocumentationEntry + // InternalApplicationConfiguration.g:2355:2: ( ruleDocumentationEntry ) + // InternalApplicationConfiguration.g:2356:3: ruleDocumentationEntry { before(grammarAccess.getConfigEntryAccess().getDocumentationEntryParserRuleCall_0()); pushFollow(FOLLOW_2); @@ -7240,10 +7475,10 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } break; case 2 : - // InternalApplicationConfiguration.g:2290:2: ( ruleRuntimeEntry ) + // InternalApplicationConfiguration.g:2361:2: ( ruleRuntimeEntry ) { - // InternalApplicationConfiguration.g:2290:2: ( ruleRuntimeEntry ) - // InternalApplicationConfiguration.g:2291:3: ruleRuntimeEntry + // InternalApplicationConfiguration.g:2361:2: ( ruleRuntimeEntry ) + // InternalApplicationConfiguration.g:2362:3: ruleRuntimeEntry { before(grammarAccess.getConfigEntryAccess().getRuntimeEntryParserRuleCall_1()); pushFollow(FOLLOW_2); @@ -7259,10 +7494,10 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } break; case 3 : - // InternalApplicationConfiguration.g:2296:2: ( ruleMemoryEntry ) + // InternalApplicationConfiguration.g:2367:2: ( ruleMemoryEntry ) { - // InternalApplicationConfiguration.g:2296:2: ( ruleMemoryEntry ) - // InternalApplicationConfiguration.g:2297:3: ruleMemoryEntry + // InternalApplicationConfiguration.g:2367:2: ( ruleMemoryEntry ) + // InternalApplicationConfiguration.g:2368:3: ruleMemoryEntry { before(grammarAccess.getConfigEntryAccess().getMemoryEntryParserRuleCall_2()); pushFollow(FOLLOW_2); @@ -7278,10 +7513,10 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } break; case 4 : - // InternalApplicationConfiguration.g:2302:2: ( ruleCustomEntry ) + // InternalApplicationConfiguration.g:2373:2: ( ruleCustomEntry ) { - // InternalApplicationConfiguration.g:2302:2: ( ruleCustomEntry ) - // InternalApplicationConfiguration.g:2303:3: ruleCustomEntry + // InternalApplicationConfiguration.g:2373:2: ( ruleCustomEntry ) + // InternalApplicationConfiguration.g:2374:3: ruleCustomEntry { before(grammarAccess.getConfigEntryAccess().getCustomEntryParserRuleCall_3()); pushFollow(FOLLOW_2); @@ -7314,34 +7549,34 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__Config__Alternatives" - // InternalApplicationConfiguration.g:2312:1: rule__Config__Alternatives : ( ( ruleConfigSpecification ) | ( ruleConfigReference ) ); + // InternalApplicationConfiguration.g:2383:1: rule__Config__Alternatives : ( ( ruleConfigSpecification ) | ( ruleConfigReference ) ); public final void rule__Config__Alternatives() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:2316:1: ( ( ruleConfigSpecification ) | ( ruleConfigReference ) ) - int alt14=2; - int LA14_0 = input.LA(1); + // InternalApplicationConfiguration.g:2387:1: ( ( ruleConfigSpecification ) | ( ruleConfigReference ) ) + int alt15=2; + int LA15_0 = input.LA(1); - if ( (LA14_0==29) ) { - alt14=1; + if ( (LA15_0==29) ) { + alt15=1; } - else if ( (LA14_0==RULE_ID) ) { - alt14=2; + else if ( (LA15_0==RULE_ID) ) { + alt15=2; } else { NoViableAltException nvae = - new NoViableAltException("", 14, 0, input); + new NoViableAltException("", 15, 0, input); throw nvae; } - switch (alt14) { + switch (alt15) { case 1 : - // InternalApplicationConfiguration.g:2317:2: ( ruleConfigSpecification ) + // InternalApplicationConfiguration.g:2388:2: ( ruleConfigSpecification ) { - // InternalApplicationConfiguration.g:2317:2: ( ruleConfigSpecification ) - // InternalApplicationConfiguration.g:2318:3: ruleConfigSpecification + // InternalApplicationConfiguration.g:2388:2: ( ruleConfigSpecification ) + // InternalApplicationConfiguration.g:2389:3: ruleConfigSpecification { before(grammarAccess.getConfigAccess().getConfigSpecificationParserRuleCall_0()); pushFollow(FOLLOW_2); @@ -7357,10 +7592,10 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } break; case 2 : - // InternalApplicationConfiguration.g:2323:2: ( ruleConfigReference ) + // InternalApplicationConfiguration.g:2394:2: ( ruleConfigReference ) { - // InternalApplicationConfiguration.g:2323:2: ( ruleConfigReference ) - // InternalApplicationConfiguration.g:2324:3: ruleConfigReference + // InternalApplicationConfiguration.g:2394:2: ( ruleConfigReference ) + // InternalApplicationConfiguration.g:2395:3: ruleConfigReference { before(grammarAccess.getConfigAccess().getConfigReferenceParserRuleCall_1()); pushFollow(FOLLOW_2); @@ -7393,46 +7628,46 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__TypeScope__Alternatives" - // InternalApplicationConfiguration.g:2333:1: rule__TypeScope__Alternatives : ( ( ruleClassTypeScope ) | ( ruleObjectTypeScope ) | ( ruleIntegerTypeScope ) | ( ruleRealTypeScope ) | ( ruleStringTypeScope ) ); + // InternalApplicationConfiguration.g:2404:1: rule__TypeScope__Alternatives : ( ( ruleClassTypeScope ) | ( ruleObjectTypeScope ) | ( ruleIntegerTypeScope ) | ( ruleRealTypeScope ) | ( ruleStringTypeScope ) ); public final void rule__TypeScope__Alternatives() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:2337:1: ( ( ruleClassTypeScope ) | ( ruleObjectTypeScope ) | ( ruleIntegerTypeScope ) | ( ruleRealTypeScope ) | ( ruleStringTypeScope ) ) - int alt15=5; - int LA15_0 = input.LA(1); + // InternalApplicationConfiguration.g:2408:1: ( ( ruleClassTypeScope ) | ( ruleObjectTypeScope ) | ( ruleIntegerTypeScope ) | ( ruleRealTypeScope ) | ( ruleStringTypeScope ) ) + int alt16=5; + int LA16_0 = input.LA(1); - if ( (LA15_0==44) ) { + if ( (LA16_0==46) ) { switch ( input.LA(2) ) { - case 50: + case 51: { - alt15=5; + alt16=4; } break; case 47: { - alt15=2; + alt16=1; } break; - case 48: + case 52: { - alt15=3; + alt16=5; } break; case 49: { - alt15=4; + alt16=2; } break; - case 45: + case 50: { - alt15=1; + alt16=3; } break; default: NoViableAltException nvae = - new NoViableAltException("", 15, 1, input); + new NoViableAltException("", 16, 1, input); throw nvae; } @@ -7440,16 +7675,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } else { NoViableAltException nvae = - new NoViableAltException("", 15, 0, input); + new NoViableAltException("", 16, 0, input); throw nvae; } - switch (alt15) { + switch (alt16) { case 1 : - // InternalApplicationConfiguration.g:2338:2: ( ruleClassTypeScope ) + // InternalApplicationConfiguration.g:2409:2: ( ruleClassTypeScope ) { - // InternalApplicationConfiguration.g:2338:2: ( ruleClassTypeScope ) - // InternalApplicationConfiguration.g:2339:3: ruleClassTypeScope + // InternalApplicationConfiguration.g:2409:2: ( ruleClassTypeScope ) + // InternalApplicationConfiguration.g:2410:3: ruleClassTypeScope { before(grammarAccess.getTypeScopeAccess().getClassTypeScopeParserRuleCall_0()); pushFollow(FOLLOW_2); @@ -7465,10 +7700,10 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } break; case 2 : - // InternalApplicationConfiguration.g:2344:2: ( ruleObjectTypeScope ) + // InternalApplicationConfiguration.g:2415:2: ( ruleObjectTypeScope ) { - // InternalApplicationConfiguration.g:2344:2: ( ruleObjectTypeScope ) - // InternalApplicationConfiguration.g:2345:3: ruleObjectTypeScope + // InternalApplicationConfiguration.g:2415:2: ( ruleObjectTypeScope ) + // InternalApplicationConfiguration.g:2416:3: ruleObjectTypeScope { before(grammarAccess.getTypeScopeAccess().getObjectTypeScopeParserRuleCall_1()); pushFollow(FOLLOW_2); @@ -7484,10 +7719,10 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } break; case 3 : - // InternalApplicationConfiguration.g:2350:2: ( ruleIntegerTypeScope ) + // InternalApplicationConfiguration.g:2421:2: ( ruleIntegerTypeScope ) { - // InternalApplicationConfiguration.g:2350:2: ( ruleIntegerTypeScope ) - // InternalApplicationConfiguration.g:2351:3: ruleIntegerTypeScope + // InternalApplicationConfiguration.g:2421:2: ( ruleIntegerTypeScope ) + // InternalApplicationConfiguration.g:2422:3: ruleIntegerTypeScope { before(grammarAccess.getTypeScopeAccess().getIntegerTypeScopeParserRuleCall_2()); pushFollow(FOLLOW_2); @@ -7503,10 +7738,10 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } break; case 4 : - // InternalApplicationConfiguration.g:2356:2: ( ruleRealTypeScope ) + // InternalApplicationConfiguration.g:2427:2: ( ruleRealTypeScope ) { - // InternalApplicationConfiguration.g:2356:2: ( ruleRealTypeScope ) - // InternalApplicationConfiguration.g:2357:3: ruleRealTypeScope + // InternalApplicationConfiguration.g:2427:2: ( ruleRealTypeScope ) + // InternalApplicationConfiguration.g:2428:3: ruleRealTypeScope { before(grammarAccess.getTypeScopeAccess().getRealTypeScopeParserRuleCall_3()); pushFollow(FOLLOW_2); @@ -7522,10 +7757,10 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } break; case 5 : - // InternalApplicationConfiguration.g:2362:2: ( ruleStringTypeScope ) + // InternalApplicationConfiguration.g:2433:2: ( ruleStringTypeScope ) { - // InternalApplicationConfiguration.g:2362:2: ( ruleStringTypeScope ) - // InternalApplicationConfiguration.g:2363:3: ruleStringTypeScope + // InternalApplicationConfiguration.g:2433:2: ( ruleStringTypeScope ) + // InternalApplicationConfiguration.g:2434:3: ruleStringTypeScope { before(grammarAccess.getTypeScopeAccess().getStringTypeScopeParserRuleCall_4()); pushFollow(FOLLOW_2); @@ -7558,38 +7793,38 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ClassTypeScope__Alternatives_2" - // InternalApplicationConfiguration.g:2372:1: rule__ClassTypeScope__Alternatives_2 : ( ( ( rule__ClassTypeScope__SetsNewAssignment_2_0 ) ) | ( ( rule__ClassTypeScope__SetsSumAssignment_2_1 ) ) ); + // InternalApplicationConfiguration.g:2443:1: rule__ClassTypeScope__Alternatives_2 : ( ( ( rule__ClassTypeScope__SetsNewAssignment_2_0 ) ) | ( ( rule__ClassTypeScope__SetsSumAssignment_2_1 ) ) ); public final void rule__ClassTypeScope__Alternatives_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:2376:1: ( ( ( rule__ClassTypeScope__SetsNewAssignment_2_0 ) ) | ( ( rule__ClassTypeScope__SetsSumAssignment_2_1 ) ) ) - int alt16=2; - int LA16_0 = input.LA(1); + // InternalApplicationConfiguration.g:2447:1: ( ( ( rule__ClassTypeScope__SetsNewAssignment_2_0 ) ) | ( ( rule__ClassTypeScope__SetsSumAssignment_2_1 ) ) ) + int alt17=2; + int LA17_0 = input.LA(1); - if ( (LA16_0==60) ) { - alt16=1; + if ( (LA17_0==62) ) { + alt17=1; } - else if ( (LA16_0==28) ) { - alt16=2; + else if ( (LA17_0==28) ) { + alt17=2; } else { NoViableAltException nvae = - new NoViableAltException("", 16, 0, input); + new NoViableAltException("", 17, 0, input); throw nvae; } - switch (alt16) { + switch (alt17) { case 1 : - // InternalApplicationConfiguration.g:2377:2: ( ( rule__ClassTypeScope__SetsNewAssignment_2_0 ) ) + // InternalApplicationConfiguration.g:2448:2: ( ( rule__ClassTypeScope__SetsNewAssignment_2_0 ) ) { - // InternalApplicationConfiguration.g:2377:2: ( ( rule__ClassTypeScope__SetsNewAssignment_2_0 ) ) - // InternalApplicationConfiguration.g:2378:3: ( rule__ClassTypeScope__SetsNewAssignment_2_0 ) + // InternalApplicationConfiguration.g:2448:2: ( ( rule__ClassTypeScope__SetsNewAssignment_2_0 ) ) + // InternalApplicationConfiguration.g:2449:3: ( rule__ClassTypeScope__SetsNewAssignment_2_0 ) { before(grammarAccess.getClassTypeScopeAccess().getSetsNewAssignment_2_0()); - // InternalApplicationConfiguration.g:2379:3: ( rule__ClassTypeScope__SetsNewAssignment_2_0 ) - // InternalApplicationConfiguration.g:2379:4: rule__ClassTypeScope__SetsNewAssignment_2_0 + // InternalApplicationConfiguration.g:2450:3: ( rule__ClassTypeScope__SetsNewAssignment_2_0 ) + // InternalApplicationConfiguration.g:2450:4: rule__ClassTypeScope__SetsNewAssignment_2_0 { pushFollow(FOLLOW_2); rule__ClassTypeScope__SetsNewAssignment_2_0(); @@ -7607,14 +7842,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } break; case 2 : - // InternalApplicationConfiguration.g:2383:2: ( ( rule__ClassTypeScope__SetsSumAssignment_2_1 ) ) + // InternalApplicationConfiguration.g:2454:2: ( ( rule__ClassTypeScope__SetsSumAssignment_2_1 ) ) { - // InternalApplicationConfiguration.g:2383:2: ( ( rule__ClassTypeScope__SetsSumAssignment_2_1 ) ) - // InternalApplicationConfiguration.g:2384:3: ( rule__ClassTypeScope__SetsSumAssignment_2_1 ) + // InternalApplicationConfiguration.g:2454:2: ( ( rule__ClassTypeScope__SetsSumAssignment_2_1 ) ) + // InternalApplicationConfiguration.g:2455:3: ( rule__ClassTypeScope__SetsSumAssignment_2_1 ) { before(grammarAccess.getClassTypeScopeAccess().getSetsSumAssignment_2_1()); - // InternalApplicationConfiguration.g:2385:3: ( rule__ClassTypeScope__SetsSumAssignment_2_1 ) - // InternalApplicationConfiguration.g:2385:4: rule__ClassTypeScope__SetsSumAssignment_2_1 + // InternalApplicationConfiguration.g:2456:3: ( rule__ClassTypeScope__SetsSumAssignment_2_1 ) + // InternalApplicationConfiguration.g:2456:4: rule__ClassTypeScope__SetsSumAssignment_2_1 { pushFollow(FOLLOW_2); rule__ClassTypeScope__SetsSumAssignment_2_1(); @@ -7649,51 +7884,51 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ClassTypeScope__Alternatives_3" - // InternalApplicationConfiguration.g:2393:1: rule__ClassTypeScope__Alternatives_3 : ( ( ( rule__ClassTypeScope__NumberAssignment_3_0 ) ) | ( ( rule__ClassTypeScope__NumberAssignment_3_1 ) ) ); + // InternalApplicationConfiguration.g:2464:1: rule__ClassTypeScope__Alternatives_3 : ( ( ( rule__ClassTypeScope__NumberAssignment_3_0 ) ) | ( ( rule__ClassTypeScope__NumberAssignment_3_1 ) ) ); public final void rule__ClassTypeScope__Alternatives_3() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:2397:1: ( ( ( rule__ClassTypeScope__NumberAssignment_3_0 ) ) | ( ( rule__ClassTypeScope__NumberAssignment_3_1 ) ) ) - int alt17=2; - int LA17_0 = input.LA(1); + // InternalApplicationConfiguration.g:2468:1: ( ( ( rule__ClassTypeScope__NumberAssignment_3_0 ) ) | ( ( rule__ClassTypeScope__NumberAssignment_3_1 ) ) ) + int alt18=2; + int LA18_0 = input.LA(1); - if ( (LA17_0==RULE_INT) ) { - int LA17_1 = input.LA(2); + if ( (LA18_0==RULE_INT) ) { + int LA18_1 = input.LA(2); - if ( (LA17_1==EOF||(LA17_1>=30 && LA17_1<=31)) ) { - alt17=1; + if ( (LA18_1==EOF||(LA18_1>=30 && LA18_1<=31)) ) { + alt18=1; } - else if ( (LA17_1==51) ) { - alt17=2; + else if ( (LA18_1==53) ) { + alt18=2; } else { NoViableAltException nvae = - new NoViableAltException("", 17, 1, input); + new NoViableAltException("", 18, 1, input); throw nvae; } } - else if ( (LA17_0==61) ) { - alt17=1; + else if ( (LA18_0==63) ) { + alt18=1; } else { NoViableAltException nvae = - new NoViableAltException("", 17, 0, input); + new NoViableAltException("", 18, 0, input); throw nvae; } - switch (alt17) { + switch (alt18) { case 1 : - // InternalApplicationConfiguration.g:2398:2: ( ( rule__ClassTypeScope__NumberAssignment_3_0 ) ) + // InternalApplicationConfiguration.g:2469:2: ( ( rule__ClassTypeScope__NumberAssignment_3_0 ) ) { - // InternalApplicationConfiguration.g:2398:2: ( ( rule__ClassTypeScope__NumberAssignment_3_0 ) ) - // InternalApplicationConfiguration.g:2399:3: ( rule__ClassTypeScope__NumberAssignment_3_0 ) + // InternalApplicationConfiguration.g:2469:2: ( ( rule__ClassTypeScope__NumberAssignment_3_0 ) ) + // InternalApplicationConfiguration.g:2470:3: ( rule__ClassTypeScope__NumberAssignment_3_0 ) { before(grammarAccess.getClassTypeScopeAccess().getNumberAssignment_3_0()); - // InternalApplicationConfiguration.g:2400:3: ( rule__ClassTypeScope__NumberAssignment_3_0 ) - // InternalApplicationConfiguration.g:2400:4: rule__ClassTypeScope__NumberAssignment_3_0 + // InternalApplicationConfiguration.g:2471:3: ( rule__ClassTypeScope__NumberAssignment_3_0 ) + // InternalApplicationConfiguration.g:2471:4: rule__ClassTypeScope__NumberAssignment_3_0 { pushFollow(FOLLOW_2); rule__ClassTypeScope__NumberAssignment_3_0(); @@ -7711,14 +7946,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } break; case 2 : - // InternalApplicationConfiguration.g:2404:2: ( ( rule__ClassTypeScope__NumberAssignment_3_1 ) ) + // InternalApplicationConfiguration.g:2475:2: ( ( rule__ClassTypeScope__NumberAssignment_3_1 ) ) { - // InternalApplicationConfiguration.g:2404:2: ( ( rule__ClassTypeScope__NumberAssignment_3_1 ) ) - // InternalApplicationConfiguration.g:2405:3: ( rule__ClassTypeScope__NumberAssignment_3_1 ) + // InternalApplicationConfiguration.g:2475:2: ( ( rule__ClassTypeScope__NumberAssignment_3_1 ) ) + // InternalApplicationConfiguration.g:2476:3: ( rule__ClassTypeScope__NumberAssignment_3_1 ) { before(grammarAccess.getClassTypeScopeAccess().getNumberAssignment_3_1()); - // InternalApplicationConfiguration.g:2406:3: ( rule__ClassTypeScope__NumberAssignment_3_1 ) - // InternalApplicationConfiguration.g:2406:4: rule__ClassTypeScope__NumberAssignment_3_1 + // InternalApplicationConfiguration.g:2477:3: ( rule__ClassTypeScope__NumberAssignment_3_1 ) + // InternalApplicationConfiguration.g:2477:4: rule__ClassTypeScope__NumberAssignment_3_1 { pushFollow(FOLLOW_2); rule__ClassTypeScope__NumberAssignment_3_1(); @@ -7753,38 +7988,38 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ObjectTypeScope__Alternatives_2" - // InternalApplicationConfiguration.g:2414:1: rule__ObjectTypeScope__Alternatives_2 : ( ( ( rule__ObjectTypeScope__SetsNewAssignment_2_0 ) ) | ( ( rule__ObjectTypeScope__SetsSumAssignment_2_1 ) ) ); + // InternalApplicationConfiguration.g:2485:1: rule__ObjectTypeScope__Alternatives_2 : ( ( ( rule__ObjectTypeScope__SetsNewAssignment_2_0 ) ) | ( ( rule__ObjectTypeScope__SetsSumAssignment_2_1 ) ) ); public final void rule__ObjectTypeScope__Alternatives_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:2418:1: ( ( ( rule__ObjectTypeScope__SetsNewAssignment_2_0 ) ) | ( ( rule__ObjectTypeScope__SetsSumAssignment_2_1 ) ) ) - int alt18=2; - int LA18_0 = input.LA(1); + // InternalApplicationConfiguration.g:2489:1: ( ( ( rule__ObjectTypeScope__SetsNewAssignment_2_0 ) ) | ( ( rule__ObjectTypeScope__SetsSumAssignment_2_1 ) ) ) + int alt19=2; + int LA19_0 = input.LA(1); - if ( (LA18_0==60) ) { - alt18=1; + if ( (LA19_0==62) ) { + alt19=1; } - else if ( (LA18_0==28) ) { - alt18=2; + else if ( (LA19_0==28) ) { + alt19=2; } else { NoViableAltException nvae = - new NoViableAltException("", 18, 0, input); + new NoViableAltException("", 19, 0, input); throw nvae; } - switch (alt18) { + switch (alt19) { case 1 : - // InternalApplicationConfiguration.g:2419:2: ( ( rule__ObjectTypeScope__SetsNewAssignment_2_0 ) ) + // InternalApplicationConfiguration.g:2490:2: ( ( rule__ObjectTypeScope__SetsNewAssignment_2_0 ) ) { - // InternalApplicationConfiguration.g:2419:2: ( ( rule__ObjectTypeScope__SetsNewAssignment_2_0 ) ) - // InternalApplicationConfiguration.g:2420:3: ( rule__ObjectTypeScope__SetsNewAssignment_2_0 ) + // InternalApplicationConfiguration.g:2490:2: ( ( rule__ObjectTypeScope__SetsNewAssignment_2_0 ) ) + // InternalApplicationConfiguration.g:2491:3: ( rule__ObjectTypeScope__SetsNewAssignment_2_0 ) { before(grammarAccess.getObjectTypeScopeAccess().getSetsNewAssignment_2_0()); - // InternalApplicationConfiguration.g:2421:3: ( rule__ObjectTypeScope__SetsNewAssignment_2_0 ) - // InternalApplicationConfiguration.g:2421:4: rule__ObjectTypeScope__SetsNewAssignment_2_0 + // InternalApplicationConfiguration.g:2492:3: ( rule__ObjectTypeScope__SetsNewAssignment_2_0 ) + // InternalApplicationConfiguration.g:2492:4: rule__ObjectTypeScope__SetsNewAssignment_2_0 { pushFollow(FOLLOW_2); rule__ObjectTypeScope__SetsNewAssignment_2_0(); @@ -7802,14 +8037,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } break; case 2 : - // InternalApplicationConfiguration.g:2425:2: ( ( rule__ObjectTypeScope__SetsSumAssignment_2_1 ) ) + // InternalApplicationConfiguration.g:2496:2: ( ( rule__ObjectTypeScope__SetsSumAssignment_2_1 ) ) { - // InternalApplicationConfiguration.g:2425:2: ( ( rule__ObjectTypeScope__SetsSumAssignment_2_1 ) ) - // InternalApplicationConfiguration.g:2426:3: ( rule__ObjectTypeScope__SetsSumAssignment_2_1 ) + // InternalApplicationConfiguration.g:2496:2: ( ( rule__ObjectTypeScope__SetsSumAssignment_2_1 ) ) + // InternalApplicationConfiguration.g:2497:3: ( rule__ObjectTypeScope__SetsSumAssignment_2_1 ) { before(grammarAccess.getObjectTypeScopeAccess().getSetsSumAssignment_2_1()); - // InternalApplicationConfiguration.g:2427:3: ( rule__ObjectTypeScope__SetsSumAssignment_2_1 ) - // InternalApplicationConfiguration.g:2427:4: rule__ObjectTypeScope__SetsSumAssignment_2_1 + // InternalApplicationConfiguration.g:2498:3: ( rule__ObjectTypeScope__SetsSumAssignment_2_1 ) + // InternalApplicationConfiguration.g:2498:4: rule__ObjectTypeScope__SetsSumAssignment_2_1 { pushFollow(FOLLOW_2); rule__ObjectTypeScope__SetsSumAssignment_2_1(); @@ -7844,51 +8079,51 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ObjectTypeScope__Alternatives_3" - // InternalApplicationConfiguration.g:2435:1: rule__ObjectTypeScope__Alternatives_3 : ( ( ( rule__ObjectTypeScope__NumberAssignment_3_0 ) ) | ( ( rule__ObjectTypeScope__NumberAssignment_3_1 ) ) ); + // InternalApplicationConfiguration.g:2506:1: rule__ObjectTypeScope__Alternatives_3 : ( ( ( rule__ObjectTypeScope__NumberAssignment_3_0 ) ) | ( ( rule__ObjectTypeScope__NumberAssignment_3_1 ) ) ); public final void rule__ObjectTypeScope__Alternatives_3() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:2439:1: ( ( ( rule__ObjectTypeScope__NumberAssignment_3_0 ) ) | ( ( rule__ObjectTypeScope__NumberAssignment_3_1 ) ) ) - int alt19=2; - int LA19_0 = input.LA(1); + // InternalApplicationConfiguration.g:2510:1: ( ( ( rule__ObjectTypeScope__NumberAssignment_3_0 ) ) | ( ( rule__ObjectTypeScope__NumberAssignment_3_1 ) ) ) + int alt20=2; + int LA20_0 = input.LA(1); - if ( (LA19_0==RULE_INT) ) { - int LA19_1 = input.LA(2); + if ( (LA20_0==RULE_INT) ) { + int LA20_1 = input.LA(2); - if ( (LA19_1==EOF||(LA19_1>=30 && LA19_1<=31)) ) { - alt19=1; + if ( (LA20_1==EOF||(LA20_1>=30 && LA20_1<=31)) ) { + alt20=1; } - else if ( (LA19_1==51) ) { - alt19=2; + else if ( (LA20_1==53) ) { + alt20=2; } else { NoViableAltException nvae = - new NoViableAltException("", 19, 1, input); + new NoViableAltException("", 20, 1, input); throw nvae; } } - else if ( (LA19_0==61) ) { - alt19=1; + else if ( (LA20_0==63) ) { + alt20=1; } else { NoViableAltException nvae = - new NoViableAltException("", 19, 0, input); + new NoViableAltException("", 20, 0, input); throw nvae; } - switch (alt19) { + switch (alt20) { case 1 : - // InternalApplicationConfiguration.g:2440:2: ( ( rule__ObjectTypeScope__NumberAssignment_3_0 ) ) + // InternalApplicationConfiguration.g:2511:2: ( ( rule__ObjectTypeScope__NumberAssignment_3_0 ) ) { - // InternalApplicationConfiguration.g:2440:2: ( ( rule__ObjectTypeScope__NumberAssignment_3_0 ) ) - // InternalApplicationConfiguration.g:2441:3: ( rule__ObjectTypeScope__NumberAssignment_3_0 ) + // InternalApplicationConfiguration.g:2511:2: ( ( rule__ObjectTypeScope__NumberAssignment_3_0 ) ) + // InternalApplicationConfiguration.g:2512:3: ( rule__ObjectTypeScope__NumberAssignment_3_0 ) { before(grammarAccess.getObjectTypeScopeAccess().getNumberAssignment_3_0()); - // InternalApplicationConfiguration.g:2442:3: ( rule__ObjectTypeScope__NumberAssignment_3_0 ) - // InternalApplicationConfiguration.g:2442:4: rule__ObjectTypeScope__NumberAssignment_3_0 + // InternalApplicationConfiguration.g:2513:3: ( rule__ObjectTypeScope__NumberAssignment_3_0 ) + // InternalApplicationConfiguration.g:2513:4: rule__ObjectTypeScope__NumberAssignment_3_0 { pushFollow(FOLLOW_2); rule__ObjectTypeScope__NumberAssignment_3_0(); @@ -7906,14 +8141,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } break; case 2 : - // InternalApplicationConfiguration.g:2446:2: ( ( rule__ObjectTypeScope__NumberAssignment_3_1 ) ) + // InternalApplicationConfiguration.g:2517:2: ( ( rule__ObjectTypeScope__NumberAssignment_3_1 ) ) { - // InternalApplicationConfiguration.g:2446:2: ( ( rule__ObjectTypeScope__NumberAssignment_3_1 ) ) - // InternalApplicationConfiguration.g:2447:3: ( rule__ObjectTypeScope__NumberAssignment_3_1 ) + // InternalApplicationConfiguration.g:2517:2: ( ( rule__ObjectTypeScope__NumberAssignment_3_1 ) ) + // InternalApplicationConfiguration.g:2518:3: ( rule__ObjectTypeScope__NumberAssignment_3_1 ) { before(grammarAccess.getObjectTypeScopeAccess().getNumberAssignment_3_1()); - // InternalApplicationConfiguration.g:2448:3: ( rule__ObjectTypeScope__NumberAssignment_3_1 ) - // InternalApplicationConfiguration.g:2448:4: rule__ObjectTypeScope__NumberAssignment_3_1 + // InternalApplicationConfiguration.g:2519:3: ( rule__ObjectTypeScope__NumberAssignment_3_1 ) + // InternalApplicationConfiguration.g:2519:4: rule__ObjectTypeScope__NumberAssignment_3_1 { pushFollow(FOLLOW_2); rule__ObjectTypeScope__NumberAssignment_3_1(); @@ -7948,38 +8183,38 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__IntegerTypeScope__Alternatives_2" - // InternalApplicationConfiguration.g:2456:1: rule__IntegerTypeScope__Alternatives_2 : ( ( ( rule__IntegerTypeScope__SetsNewAssignment_2_0 ) ) | ( ( rule__IntegerTypeScope__SetsSumAssignment_2_1 ) ) ); + // InternalApplicationConfiguration.g:2527:1: rule__IntegerTypeScope__Alternatives_2 : ( ( ( rule__IntegerTypeScope__SetsNewAssignment_2_0 ) ) | ( ( rule__IntegerTypeScope__SetsSumAssignment_2_1 ) ) ); public final void rule__IntegerTypeScope__Alternatives_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:2460:1: ( ( ( rule__IntegerTypeScope__SetsNewAssignment_2_0 ) ) | ( ( rule__IntegerTypeScope__SetsSumAssignment_2_1 ) ) ) - int alt20=2; - int LA20_0 = input.LA(1); + // InternalApplicationConfiguration.g:2531:1: ( ( ( rule__IntegerTypeScope__SetsNewAssignment_2_0 ) ) | ( ( rule__IntegerTypeScope__SetsSumAssignment_2_1 ) ) ) + int alt21=2; + int LA21_0 = input.LA(1); - if ( (LA20_0==60) ) { - alt20=1; + if ( (LA21_0==62) ) { + alt21=1; } - else if ( (LA20_0==28) ) { - alt20=2; + else if ( (LA21_0==28) ) { + alt21=2; } else { NoViableAltException nvae = - new NoViableAltException("", 20, 0, input); + new NoViableAltException("", 21, 0, input); throw nvae; } - switch (alt20) { + switch (alt21) { case 1 : - // InternalApplicationConfiguration.g:2461:2: ( ( rule__IntegerTypeScope__SetsNewAssignment_2_0 ) ) + // InternalApplicationConfiguration.g:2532:2: ( ( rule__IntegerTypeScope__SetsNewAssignment_2_0 ) ) { - // InternalApplicationConfiguration.g:2461:2: ( ( rule__IntegerTypeScope__SetsNewAssignment_2_0 ) ) - // InternalApplicationConfiguration.g:2462:3: ( rule__IntegerTypeScope__SetsNewAssignment_2_0 ) + // InternalApplicationConfiguration.g:2532:2: ( ( rule__IntegerTypeScope__SetsNewAssignment_2_0 ) ) + // InternalApplicationConfiguration.g:2533:3: ( rule__IntegerTypeScope__SetsNewAssignment_2_0 ) { before(grammarAccess.getIntegerTypeScopeAccess().getSetsNewAssignment_2_0()); - // InternalApplicationConfiguration.g:2463:3: ( rule__IntegerTypeScope__SetsNewAssignment_2_0 ) - // InternalApplicationConfiguration.g:2463:4: rule__IntegerTypeScope__SetsNewAssignment_2_0 + // InternalApplicationConfiguration.g:2534:3: ( rule__IntegerTypeScope__SetsNewAssignment_2_0 ) + // InternalApplicationConfiguration.g:2534:4: rule__IntegerTypeScope__SetsNewAssignment_2_0 { pushFollow(FOLLOW_2); rule__IntegerTypeScope__SetsNewAssignment_2_0(); @@ -7997,14 +8232,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } break; case 2 : - // InternalApplicationConfiguration.g:2467:2: ( ( rule__IntegerTypeScope__SetsSumAssignment_2_1 ) ) + // InternalApplicationConfiguration.g:2538:2: ( ( rule__IntegerTypeScope__SetsSumAssignment_2_1 ) ) { - // InternalApplicationConfiguration.g:2467:2: ( ( rule__IntegerTypeScope__SetsSumAssignment_2_1 ) ) - // InternalApplicationConfiguration.g:2468:3: ( rule__IntegerTypeScope__SetsSumAssignment_2_1 ) + // InternalApplicationConfiguration.g:2538:2: ( ( rule__IntegerTypeScope__SetsSumAssignment_2_1 ) ) + // InternalApplicationConfiguration.g:2539:3: ( rule__IntegerTypeScope__SetsSumAssignment_2_1 ) { before(grammarAccess.getIntegerTypeScopeAccess().getSetsSumAssignment_2_1()); - // InternalApplicationConfiguration.g:2469:3: ( rule__IntegerTypeScope__SetsSumAssignment_2_1 ) - // InternalApplicationConfiguration.g:2469:4: rule__IntegerTypeScope__SetsSumAssignment_2_1 + // InternalApplicationConfiguration.g:2540:3: ( rule__IntegerTypeScope__SetsSumAssignment_2_1 ) + // InternalApplicationConfiguration.g:2540:4: rule__IntegerTypeScope__SetsSumAssignment_2_1 { pushFollow(FOLLOW_2); rule__IntegerTypeScope__SetsSumAssignment_2_1(); @@ -8039,60 +8274,60 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__IntegerTypeScope__Alternatives_3" - // InternalApplicationConfiguration.g:2477:1: rule__IntegerTypeScope__Alternatives_3 : ( ( ( rule__IntegerTypeScope__NumberAssignment_3_0 ) ) | ( ( rule__IntegerTypeScope__NumberAssignment_3_1 ) ) | ( ( rule__IntegerTypeScope__NumberAssignment_3_2 ) ) ); + // InternalApplicationConfiguration.g:2548:1: rule__IntegerTypeScope__Alternatives_3 : ( ( ( rule__IntegerTypeScope__NumberAssignment_3_0 ) ) | ( ( rule__IntegerTypeScope__NumberAssignment_3_1 ) ) | ( ( rule__IntegerTypeScope__NumberAssignment_3_2 ) ) ); public final void rule__IntegerTypeScope__Alternatives_3() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:2481:1: ( ( ( rule__IntegerTypeScope__NumberAssignment_3_0 ) ) | ( ( rule__IntegerTypeScope__NumberAssignment_3_1 ) ) | ( ( rule__IntegerTypeScope__NumberAssignment_3_2 ) ) ) - int alt21=3; + // InternalApplicationConfiguration.g:2552:1: ( ( ( rule__IntegerTypeScope__NumberAssignment_3_0 ) ) | ( ( rule__IntegerTypeScope__NumberAssignment_3_1 ) ) | ( ( rule__IntegerTypeScope__NumberAssignment_3_2 ) ) ) + int alt22=3; switch ( input.LA(1) ) { case RULE_INT: { - int LA21_1 = input.LA(2); + int LA22_1 = input.LA(2); - if ( (LA21_1==51) ) { - alt21=2; + if ( (LA22_1==EOF||(LA22_1>=30 && LA22_1<=31)) ) { + alt22=1; } - else if ( (LA21_1==EOF||(LA21_1>=30 && LA21_1<=31)) ) { - alt21=1; + else if ( (LA22_1==53) ) { + alt22=2; } else { NoViableAltException nvae = - new NoViableAltException("", 21, 1, input); + new NoViableAltException("", 22, 1, input); throw nvae; } } break; - case 61: + case 63: { - alt21=1; + alt22=1; } break; case 29: { - alt21=3; + alt22=3; } break; default: NoViableAltException nvae = - new NoViableAltException("", 21, 0, input); + new NoViableAltException("", 22, 0, input); throw nvae; } - switch (alt21) { + switch (alt22) { case 1 : - // InternalApplicationConfiguration.g:2482:2: ( ( rule__IntegerTypeScope__NumberAssignment_3_0 ) ) + // InternalApplicationConfiguration.g:2553:2: ( ( rule__IntegerTypeScope__NumberAssignment_3_0 ) ) { - // InternalApplicationConfiguration.g:2482:2: ( ( rule__IntegerTypeScope__NumberAssignment_3_0 ) ) - // InternalApplicationConfiguration.g:2483:3: ( rule__IntegerTypeScope__NumberAssignment_3_0 ) + // InternalApplicationConfiguration.g:2553:2: ( ( rule__IntegerTypeScope__NumberAssignment_3_0 ) ) + // InternalApplicationConfiguration.g:2554:3: ( rule__IntegerTypeScope__NumberAssignment_3_0 ) { before(grammarAccess.getIntegerTypeScopeAccess().getNumberAssignment_3_0()); - // InternalApplicationConfiguration.g:2484:3: ( rule__IntegerTypeScope__NumberAssignment_3_0 ) - // InternalApplicationConfiguration.g:2484:4: rule__IntegerTypeScope__NumberAssignment_3_0 + // InternalApplicationConfiguration.g:2555:3: ( rule__IntegerTypeScope__NumberAssignment_3_0 ) + // InternalApplicationConfiguration.g:2555:4: rule__IntegerTypeScope__NumberAssignment_3_0 { pushFollow(FOLLOW_2); rule__IntegerTypeScope__NumberAssignment_3_0(); @@ -8110,14 +8345,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } break; case 2 : - // InternalApplicationConfiguration.g:2488:2: ( ( rule__IntegerTypeScope__NumberAssignment_3_1 ) ) + // InternalApplicationConfiguration.g:2559:2: ( ( rule__IntegerTypeScope__NumberAssignment_3_1 ) ) { - // InternalApplicationConfiguration.g:2488:2: ( ( rule__IntegerTypeScope__NumberAssignment_3_1 ) ) - // InternalApplicationConfiguration.g:2489:3: ( rule__IntegerTypeScope__NumberAssignment_3_1 ) + // InternalApplicationConfiguration.g:2559:2: ( ( rule__IntegerTypeScope__NumberAssignment_3_1 ) ) + // InternalApplicationConfiguration.g:2560:3: ( rule__IntegerTypeScope__NumberAssignment_3_1 ) { before(grammarAccess.getIntegerTypeScopeAccess().getNumberAssignment_3_1()); - // InternalApplicationConfiguration.g:2490:3: ( rule__IntegerTypeScope__NumberAssignment_3_1 ) - // InternalApplicationConfiguration.g:2490:4: rule__IntegerTypeScope__NumberAssignment_3_1 + // InternalApplicationConfiguration.g:2561:3: ( rule__IntegerTypeScope__NumberAssignment_3_1 ) + // InternalApplicationConfiguration.g:2561:4: rule__IntegerTypeScope__NumberAssignment_3_1 { pushFollow(FOLLOW_2); rule__IntegerTypeScope__NumberAssignment_3_1(); @@ -8135,14 +8370,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } break; case 3 : - // InternalApplicationConfiguration.g:2494:2: ( ( rule__IntegerTypeScope__NumberAssignment_3_2 ) ) + // InternalApplicationConfiguration.g:2565:2: ( ( rule__IntegerTypeScope__NumberAssignment_3_2 ) ) { - // InternalApplicationConfiguration.g:2494:2: ( ( rule__IntegerTypeScope__NumberAssignment_3_2 ) ) - // InternalApplicationConfiguration.g:2495:3: ( rule__IntegerTypeScope__NumberAssignment_3_2 ) + // InternalApplicationConfiguration.g:2565:2: ( ( rule__IntegerTypeScope__NumberAssignment_3_2 ) ) + // InternalApplicationConfiguration.g:2566:3: ( rule__IntegerTypeScope__NumberAssignment_3_2 ) { before(grammarAccess.getIntegerTypeScopeAccess().getNumberAssignment_3_2()); - // InternalApplicationConfiguration.g:2496:3: ( rule__IntegerTypeScope__NumberAssignment_3_2 ) - // InternalApplicationConfiguration.g:2496:4: rule__IntegerTypeScope__NumberAssignment_3_2 + // InternalApplicationConfiguration.g:2567:3: ( rule__IntegerTypeScope__NumberAssignment_3_2 ) + // InternalApplicationConfiguration.g:2567:4: rule__IntegerTypeScope__NumberAssignment_3_2 { pushFollow(FOLLOW_2); rule__IntegerTypeScope__NumberAssignment_3_2(); @@ -8177,38 +8412,38 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__RealTypeScope__Alternatives_2" - // InternalApplicationConfiguration.g:2504:1: rule__RealTypeScope__Alternatives_2 : ( ( ( rule__RealTypeScope__SetsNewAssignment_2_0 ) ) | ( ( rule__RealTypeScope__SetsSumAssignment_2_1 ) ) ); + // InternalApplicationConfiguration.g:2575:1: rule__RealTypeScope__Alternatives_2 : ( ( ( rule__RealTypeScope__SetsNewAssignment_2_0 ) ) | ( ( rule__RealTypeScope__SetsSumAssignment_2_1 ) ) ); public final void rule__RealTypeScope__Alternatives_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:2508:1: ( ( ( rule__RealTypeScope__SetsNewAssignment_2_0 ) ) | ( ( rule__RealTypeScope__SetsSumAssignment_2_1 ) ) ) - int alt22=2; - int LA22_0 = input.LA(1); + // InternalApplicationConfiguration.g:2579:1: ( ( ( rule__RealTypeScope__SetsNewAssignment_2_0 ) ) | ( ( rule__RealTypeScope__SetsSumAssignment_2_1 ) ) ) + int alt23=2; + int LA23_0 = input.LA(1); - if ( (LA22_0==60) ) { - alt22=1; + if ( (LA23_0==62) ) { + alt23=1; } - else if ( (LA22_0==28) ) { - alt22=2; + else if ( (LA23_0==28) ) { + alt23=2; } else { NoViableAltException nvae = - new NoViableAltException("", 22, 0, input); + new NoViableAltException("", 23, 0, input); throw nvae; } - switch (alt22) { + switch (alt23) { case 1 : - // InternalApplicationConfiguration.g:2509:2: ( ( rule__RealTypeScope__SetsNewAssignment_2_0 ) ) + // InternalApplicationConfiguration.g:2580:2: ( ( rule__RealTypeScope__SetsNewAssignment_2_0 ) ) { - // InternalApplicationConfiguration.g:2509:2: ( ( rule__RealTypeScope__SetsNewAssignment_2_0 ) ) - // InternalApplicationConfiguration.g:2510:3: ( rule__RealTypeScope__SetsNewAssignment_2_0 ) + // InternalApplicationConfiguration.g:2580:2: ( ( rule__RealTypeScope__SetsNewAssignment_2_0 ) ) + // InternalApplicationConfiguration.g:2581:3: ( rule__RealTypeScope__SetsNewAssignment_2_0 ) { before(grammarAccess.getRealTypeScopeAccess().getSetsNewAssignment_2_0()); - // InternalApplicationConfiguration.g:2511:3: ( rule__RealTypeScope__SetsNewAssignment_2_0 ) - // InternalApplicationConfiguration.g:2511:4: rule__RealTypeScope__SetsNewAssignment_2_0 + // InternalApplicationConfiguration.g:2582:3: ( rule__RealTypeScope__SetsNewAssignment_2_0 ) + // InternalApplicationConfiguration.g:2582:4: rule__RealTypeScope__SetsNewAssignment_2_0 { pushFollow(FOLLOW_2); rule__RealTypeScope__SetsNewAssignment_2_0(); @@ -8226,14 +8461,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } break; case 2 : - // InternalApplicationConfiguration.g:2515:2: ( ( rule__RealTypeScope__SetsSumAssignment_2_1 ) ) + // InternalApplicationConfiguration.g:2586:2: ( ( rule__RealTypeScope__SetsSumAssignment_2_1 ) ) { - // InternalApplicationConfiguration.g:2515:2: ( ( rule__RealTypeScope__SetsSumAssignment_2_1 ) ) - // InternalApplicationConfiguration.g:2516:3: ( rule__RealTypeScope__SetsSumAssignment_2_1 ) + // InternalApplicationConfiguration.g:2586:2: ( ( rule__RealTypeScope__SetsSumAssignment_2_1 ) ) + // InternalApplicationConfiguration.g:2587:3: ( rule__RealTypeScope__SetsSumAssignment_2_1 ) { before(grammarAccess.getRealTypeScopeAccess().getSetsSumAssignment_2_1()); - // InternalApplicationConfiguration.g:2517:3: ( rule__RealTypeScope__SetsSumAssignment_2_1 ) - // InternalApplicationConfiguration.g:2517:4: rule__RealTypeScope__SetsSumAssignment_2_1 + // InternalApplicationConfiguration.g:2588:3: ( rule__RealTypeScope__SetsSumAssignment_2_1 ) + // InternalApplicationConfiguration.g:2588:4: rule__RealTypeScope__SetsSumAssignment_2_1 { pushFollow(FOLLOW_2); rule__RealTypeScope__SetsSumAssignment_2_1(); @@ -8268,60 +8503,60 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__RealTypeScope__Alternatives_3" - // InternalApplicationConfiguration.g:2525:1: rule__RealTypeScope__Alternatives_3 : ( ( ( rule__RealTypeScope__NumberAssignment_3_0 ) ) | ( ( rule__RealTypeScope__NumberAssignment_3_1 ) ) | ( ( rule__RealTypeScope__NumberAssignment_3_2 ) ) ); + // InternalApplicationConfiguration.g:2596:1: rule__RealTypeScope__Alternatives_3 : ( ( ( rule__RealTypeScope__NumberAssignment_3_0 ) ) | ( ( rule__RealTypeScope__NumberAssignment_3_1 ) ) | ( ( rule__RealTypeScope__NumberAssignment_3_2 ) ) ); public final void rule__RealTypeScope__Alternatives_3() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:2529:1: ( ( ( rule__RealTypeScope__NumberAssignment_3_0 ) ) | ( ( rule__RealTypeScope__NumberAssignment_3_1 ) ) | ( ( rule__RealTypeScope__NumberAssignment_3_2 ) ) ) - int alt23=3; + // InternalApplicationConfiguration.g:2600:1: ( ( ( rule__RealTypeScope__NumberAssignment_3_0 ) ) | ( ( rule__RealTypeScope__NumberAssignment_3_1 ) ) | ( ( rule__RealTypeScope__NumberAssignment_3_2 ) ) ) + int alt24=3; switch ( input.LA(1) ) { case RULE_INT: { - int LA23_1 = input.LA(2); + int LA24_1 = input.LA(2); - if ( (LA23_1==EOF||(LA23_1>=30 && LA23_1<=31)) ) { - alt23=1; + if ( (LA24_1==EOF||(LA24_1>=30 && LA24_1<=31)) ) { + alt24=1; } - else if ( (LA23_1==51) ) { - alt23=2; + else if ( (LA24_1==53) ) { + alt24=2; } else { NoViableAltException nvae = - new NoViableAltException("", 23, 1, input); + new NoViableAltException("", 24, 1, input); throw nvae; } } break; - case 61: + case 63: { - alt23=1; + alt24=1; } break; case 29: { - alt23=3; + alt24=3; } break; default: NoViableAltException nvae = - new NoViableAltException("", 23, 0, input); + new NoViableAltException("", 24, 0, input); throw nvae; } - switch (alt23) { + switch (alt24) { case 1 : - // InternalApplicationConfiguration.g:2530:2: ( ( rule__RealTypeScope__NumberAssignment_3_0 ) ) + // InternalApplicationConfiguration.g:2601:2: ( ( rule__RealTypeScope__NumberAssignment_3_0 ) ) { - // InternalApplicationConfiguration.g:2530:2: ( ( rule__RealTypeScope__NumberAssignment_3_0 ) ) - // InternalApplicationConfiguration.g:2531:3: ( rule__RealTypeScope__NumberAssignment_3_0 ) + // InternalApplicationConfiguration.g:2601:2: ( ( rule__RealTypeScope__NumberAssignment_3_0 ) ) + // InternalApplicationConfiguration.g:2602:3: ( rule__RealTypeScope__NumberAssignment_3_0 ) { before(grammarAccess.getRealTypeScopeAccess().getNumberAssignment_3_0()); - // InternalApplicationConfiguration.g:2532:3: ( rule__RealTypeScope__NumberAssignment_3_0 ) - // InternalApplicationConfiguration.g:2532:4: rule__RealTypeScope__NumberAssignment_3_0 + // InternalApplicationConfiguration.g:2603:3: ( rule__RealTypeScope__NumberAssignment_3_0 ) + // InternalApplicationConfiguration.g:2603:4: rule__RealTypeScope__NumberAssignment_3_0 { pushFollow(FOLLOW_2); rule__RealTypeScope__NumberAssignment_3_0(); @@ -8339,14 +8574,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } break; case 2 : - // InternalApplicationConfiguration.g:2536:2: ( ( rule__RealTypeScope__NumberAssignment_3_1 ) ) + // InternalApplicationConfiguration.g:2607:2: ( ( rule__RealTypeScope__NumberAssignment_3_1 ) ) { - // InternalApplicationConfiguration.g:2536:2: ( ( rule__RealTypeScope__NumberAssignment_3_1 ) ) - // InternalApplicationConfiguration.g:2537:3: ( rule__RealTypeScope__NumberAssignment_3_1 ) + // InternalApplicationConfiguration.g:2607:2: ( ( rule__RealTypeScope__NumberAssignment_3_1 ) ) + // InternalApplicationConfiguration.g:2608:3: ( rule__RealTypeScope__NumberAssignment_3_1 ) { before(grammarAccess.getRealTypeScopeAccess().getNumberAssignment_3_1()); - // InternalApplicationConfiguration.g:2538:3: ( rule__RealTypeScope__NumberAssignment_3_1 ) - // InternalApplicationConfiguration.g:2538:4: rule__RealTypeScope__NumberAssignment_3_1 + // InternalApplicationConfiguration.g:2609:3: ( rule__RealTypeScope__NumberAssignment_3_1 ) + // InternalApplicationConfiguration.g:2609:4: rule__RealTypeScope__NumberAssignment_3_1 { pushFollow(FOLLOW_2); rule__RealTypeScope__NumberAssignment_3_1(); @@ -8364,14 +8599,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } break; case 3 : - // InternalApplicationConfiguration.g:2542:2: ( ( rule__RealTypeScope__NumberAssignment_3_2 ) ) + // InternalApplicationConfiguration.g:2613:2: ( ( rule__RealTypeScope__NumberAssignment_3_2 ) ) { - // InternalApplicationConfiguration.g:2542:2: ( ( rule__RealTypeScope__NumberAssignment_3_2 ) ) - // InternalApplicationConfiguration.g:2543:3: ( rule__RealTypeScope__NumberAssignment_3_2 ) + // InternalApplicationConfiguration.g:2613:2: ( ( rule__RealTypeScope__NumberAssignment_3_2 ) ) + // InternalApplicationConfiguration.g:2614:3: ( rule__RealTypeScope__NumberAssignment_3_2 ) { before(grammarAccess.getRealTypeScopeAccess().getNumberAssignment_3_2()); - // InternalApplicationConfiguration.g:2544:3: ( rule__RealTypeScope__NumberAssignment_3_2 ) - // InternalApplicationConfiguration.g:2544:4: rule__RealTypeScope__NumberAssignment_3_2 + // InternalApplicationConfiguration.g:2615:3: ( rule__RealTypeScope__NumberAssignment_3_2 ) + // InternalApplicationConfiguration.g:2615:4: rule__RealTypeScope__NumberAssignment_3_2 { pushFollow(FOLLOW_2); rule__RealTypeScope__NumberAssignment_3_2(); @@ -8406,38 +8641,38 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__StringTypeScope__Alternatives_2" - // InternalApplicationConfiguration.g:2552:1: rule__StringTypeScope__Alternatives_2 : ( ( ( rule__StringTypeScope__SetsNewAssignment_2_0 ) ) | ( ( rule__StringTypeScope__SetsSumAssignment_2_1 ) ) ); + // InternalApplicationConfiguration.g:2623:1: rule__StringTypeScope__Alternatives_2 : ( ( ( rule__StringTypeScope__SetsNewAssignment_2_0 ) ) | ( ( rule__StringTypeScope__SetsSumAssignment_2_1 ) ) ); public final void rule__StringTypeScope__Alternatives_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:2556:1: ( ( ( rule__StringTypeScope__SetsNewAssignment_2_0 ) ) | ( ( rule__StringTypeScope__SetsSumAssignment_2_1 ) ) ) - int alt24=2; - int LA24_0 = input.LA(1); + // InternalApplicationConfiguration.g:2627:1: ( ( ( rule__StringTypeScope__SetsNewAssignment_2_0 ) ) | ( ( rule__StringTypeScope__SetsSumAssignment_2_1 ) ) ) + int alt25=2; + int LA25_0 = input.LA(1); - if ( (LA24_0==60) ) { - alt24=1; + if ( (LA25_0==62) ) { + alt25=1; } - else if ( (LA24_0==28) ) { - alt24=2; + else if ( (LA25_0==28) ) { + alt25=2; } else { NoViableAltException nvae = - new NoViableAltException("", 24, 0, input); + new NoViableAltException("", 25, 0, input); throw nvae; } - switch (alt24) { + switch (alt25) { case 1 : - // InternalApplicationConfiguration.g:2557:2: ( ( rule__StringTypeScope__SetsNewAssignment_2_0 ) ) + // InternalApplicationConfiguration.g:2628:2: ( ( rule__StringTypeScope__SetsNewAssignment_2_0 ) ) { - // InternalApplicationConfiguration.g:2557:2: ( ( rule__StringTypeScope__SetsNewAssignment_2_0 ) ) - // InternalApplicationConfiguration.g:2558:3: ( rule__StringTypeScope__SetsNewAssignment_2_0 ) + // InternalApplicationConfiguration.g:2628:2: ( ( rule__StringTypeScope__SetsNewAssignment_2_0 ) ) + // InternalApplicationConfiguration.g:2629:3: ( rule__StringTypeScope__SetsNewAssignment_2_0 ) { before(grammarAccess.getStringTypeScopeAccess().getSetsNewAssignment_2_0()); - // InternalApplicationConfiguration.g:2559:3: ( rule__StringTypeScope__SetsNewAssignment_2_0 ) - // InternalApplicationConfiguration.g:2559:4: rule__StringTypeScope__SetsNewAssignment_2_0 + // InternalApplicationConfiguration.g:2630:3: ( rule__StringTypeScope__SetsNewAssignment_2_0 ) + // InternalApplicationConfiguration.g:2630:4: rule__StringTypeScope__SetsNewAssignment_2_0 { pushFollow(FOLLOW_2); rule__StringTypeScope__SetsNewAssignment_2_0(); @@ -8455,14 +8690,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } break; case 2 : - // InternalApplicationConfiguration.g:2563:2: ( ( rule__StringTypeScope__SetsSumAssignment_2_1 ) ) + // InternalApplicationConfiguration.g:2634:2: ( ( rule__StringTypeScope__SetsSumAssignment_2_1 ) ) { - // InternalApplicationConfiguration.g:2563:2: ( ( rule__StringTypeScope__SetsSumAssignment_2_1 ) ) - // InternalApplicationConfiguration.g:2564:3: ( rule__StringTypeScope__SetsSumAssignment_2_1 ) + // InternalApplicationConfiguration.g:2634:2: ( ( rule__StringTypeScope__SetsSumAssignment_2_1 ) ) + // InternalApplicationConfiguration.g:2635:3: ( rule__StringTypeScope__SetsSumAssignment_2_1 ) { before(grammarAccess.getStringTypeScopeAccess().getSetsSumAssignment_2_1()); - // InternalApplicationConfiguration.g:2565:3: ( rule__StringTypeScope__SetsSumAssignment_2_1 ) - // InternalApplicationConfiguration.g:2565:4: rule__StringTypeScope__SetsSumAssignment_2_1 + // InternalApplicationConfiguration.g:2636:3: ( rule__StringTypeScope__SetsSumAssignment_2_1 ) + // InternalApplicationConfiguration.g:2636:4: rule__StringTypeScope__SetsSumAssignment_2_1 { pushFollow(FOLLOW_2); rule__StringTypeScope__SetsSumAssignment_2_1(); @@ -8497,60 +8732,60 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__StringTypeScope__Alternatives_3" - // InternalApplicationConfiguration.g:2573:1: rule__StringTypeScope__Alternatives_3 : ( ( ( rule__StringTypeScope__NumberAssignment_3_0 ) ) | ( ( rule__StringTypeScope__NumberAssignment_3_1 ) ) | ( ( rule__StringTypeScope__NumberAssignment_3_2 ) ) ); + // InternalApplicationConfiguration.g:2644:1: rule__StringTypeScope__Alternatives_3 : ( ( ( rule__StringTypeScope__NumberAssignment_3_0 ) ) | ( ( rule__StringTypeScope__NumberAssignment_3_1 ) ) | ( ( rule__StringTypeScope__NumberAssignment_3_2 ) ) ); public final void rule__StringTypeScope__Alternatives_3() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:2577:1: ( ( ( rule__StringTypeScope__NumberAssignment_3_0 ) ) | ( ( rule__StringTypeScope__NumberAssignment_3_1 ) ) | ( ( rule__StringTypeScope__NumberAssignment_3_2 ) ) ) - int alt25=3; + // InternalApplicationConfiguration.g:2648:1: ( ( ( rule__StringTypeScope__NumberAssignment_3_0 ) ) | ( ( rule__StringTypeScope__NumberAssignment_3_1 ) ) | ( ( rule__StringTypeScope__NumberAssignment_3_2 ) ) ) + int alt26=3; switch ( input.LA(1) ) { case RULE_INT: { - int LA25_1 = input.LA(2); + int LA26_1 = input.LA(2); - if ( (LA25_1==EOF||(LA25_1>=30 && LA25_1<=31)) ) { - alt25=1; + if ( (LA26_1==EOF||(LA26_1>=30 && LA26_1<=31)) ) { + alt26=1; } - else if ( (LA25_1==51) ) { - alt25=2; + else if ( (LA26_1==53) ) { + alt26=2; } else { NoViableAltException nvae = - new NoViableAltException("", 25, 1, input); + new NoViableAltException("", 26, 1, input); throw nvae; } } break; - case 61: + case 63: { - alt25=1; + alt26=1; } break; case 29: { - alt25=3; + alt26=3; } break; default: NoViableAltException nvae = - new NoViableAltException("", 25, 0, input); + new NoViableAltException("", 26, 0, input); throw nvae; } - switch (alt25) { + switch (alt26) { case 1 : - // InternalApplicationConfiguration.g:2578:2: ( ( rule__StringTypeScope__NumberAssignment_3_0 ) ) + // InternalApplicationConfiguration.g:2649:2: ( ( rule__StringTypeScope__NumberAssignment_3_0 ) ) { - // InternalApplicationConfiguration.g:2578:2: ( ( rule__StringTypeScope__NumberAssignment_3_0 ) ) - // InternalApplicationConfiguration.g:2579:3: ( rule__StringTypeScope__NumberAssignment_3_0 ) + // InternalApplicationConfiguration.g:2649:2: ( ( rule__StringTypeScope__NumberAssignment_3_0 ) ) + // InternalApplicationConfiguration.g:2650:3: ( rule__StringTypeScope__NumberAssignment_3_0 ) { before(grammarAccess.getStringTypeScopeAccess().getNumberAssignment_3_0()); - // InternalApplicationConfiguration.g:2580:3: ( rule__StringTypeScope__NumberAssignment_3_0 ) - // InternalApplicationConfiguration.g:2580:4: rule__StringTypeScope__NumberAssignment_3_0 + // InternalApplicationConfiguration.g:2651:3: ( rule__StringTypeScope__NumberAssignment_3_0 ) + // InternalApplicationConfiguration.g:2651:4: rule__StringTypeScope__NumberAssignment_3_0 { pushFollow(FOLLOW_2); rule__StringTypeScope__NumberAssignment_3_0(); @@ -8568,14 +8803,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } break; case 2 : - // InternalApplicationConfiguration.g:2584:2: ( ( rule__StringTypeScope__NumberAssignment_3_1 ) ) + // InternalApplicationConfiguration.g:2655:2: ( ( rule__StringTypeScope__NumberAssignment_3_1 ) ) { - // InternalApplicationConfiguration.g:2584:2: ( ( rule__StringTypeScope__NumberAssignment_3_1 ) ) - // InternalApplicationConfiguration.g:2585:3: ( rule__StringTypeScope__NumberAssignment_3_1 ) + // InternalApplicationConfiguration.g:2655:2: ( ( rule__StringTypeScope__NumberAssignment_3_1 ) ) + // InternalApplicationConfiguration.g:2656:3: ( rule__StringTypeScope__NumberAssignment_3_1 ) { before(grammarAccess.getStringTypeScopeAccess().getNumberAssignment_3_1()); - // InternalApplicationConfiguration.g:2586:3: ( rule__StringTypeScope__NumberAssignment_3_1 ) - // InternalApplicationConfiguration.g:2586:4: rule__StringTypeScope__NumberAssignment_3_1 + // InternalApplicationConfiguration.g:2657:3: ( rule__StringTypeScope__NumberAssignment_3_1 ) + // InternalApplicationConfiguration.g:2657:4: rule__StringTypeScope__NumberAssignment_3_1 { pushFollow(FOLLOW_2); rule__StringTypeScope__NumberAssignment_3_1(); @@ -8593,14 +8828,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } break; case 3 : - // InternalApplicationConfiguration.g:2590:2: ( ( rule__StringTypeScope__NumberAssignment_3_2 ) ) + // InternalApplicationConfiguration.g:2661:2: ( ( rule__StringTypeScope__NumberAssignment_3_2 ) ) { - // InternalApplicationConfiguration.g:2590:2: ( ( rule__StringTypeScope__NumberAssignment_3_2 ) ) - // InternalApplicationConfiguration.g:2591:3: ( rule__StringTypeScope__NumberAssignment_3_2 ) + // InternalApplicationConfiguration.g:2661:2: ( ( rule__StringTypeScope__NumberAssignment_3_2 ) ) + // InternalApplicationConfiguration.g:2662:3: ( rule__StringTypeScope__NumberAssignment_3_2 ) { before(grammarAccess.getStringTypeScopeAccess().getNumberAssignment_3_2()); - // InternalApplicationConfiguration.g:2592:3: ( rule__StringTypeScope__NumberAssignment_3_2 ) - // InternalApplicationConfiguration.g:2592:4: rule__StringTypeScope__NumberAssignment_3_2 + // InternalApplicationConfiguration.g:2663:3: ( rule__StringTypeScope__NumberAssignment_3_2 ) + // InternalApplicationConfiguration.g:2663:4: rule__StringTypeScope__NumberAssignment_3_2 { pushFollow(FOLLOW_2); rule__StringTypeScope__NumberAssignment_3_2(); @@ -8635,38 +8870,38 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ExactNumber__Alternatives" - // InternalApplicationConfiguration.g:2600:1: rule__ExactNumber__Alternatives : ( ( ( rule__ExactNumber__ExactNumberAssignment_0 ) ) | ( ( rule__ExactNumber__ExactUnlimitedAssignment_1 ) ) ); + // InternalApplicationConfiguration.g:2671:1: rule__ExactNumber__Alternatives : ( ( ( rule__ExactNumber__ExactNumberAssignment_0 ) ) | ( ( rule__ExactNumber__ExactUnlimitedAssignment_1 ) ) ); public final void rule__ExactNumber__Alternatives() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:2604:1: ( ( ( rule__ExactNumber__ExactNumberAssignment_0 ) ) | ( ( rule__ExactNumber__ExactUnlimitedAssignment_1 ) ) ) - int alt26=2; - int LA26_0 = input.LA(1); + // InternalApplicationConfiguration.g:2675:1: ( ( ( rule__ExactNumber__ExactNumberAssignment_0 ) ) | ( ( rule__ExactNumber__ExactUnlimitedAssignment_1 ) ) ) + int alt27=2; + int LA27_0 = input.LA(1); - if ( (LA26_0==RULE_INT) ) { - alt26=1; + if ( (LA27_0==RULE_INT) ) { + alt27=1; } - else if ( (LA26_0==61) ) { - alt26=2; + else if ( (LA27_0==63) ) { + alt27=2; } else { NoViableAltException nvae = - new NoViableAltException("", 26, 0, input); + new NoViableAltException("", 27, 0, input); throw nvae; } - switch (alt26) { + switch (alt27) { case 1 : - // InternalApplicationConfiguration.g:2605:2: ( ( rule__ExactNumber__ExactNumberAssignment_0 ) ) + // InternalApplicationConfiguration.g:2676:2: ( ( rule__ExactNumber__ExactNumberAssignment_0 ) ) { - // InternalApplicationConfiguration.g:2605:2: ( ( rule__ExactNumber__ExactNumberAssignment_0 ) ) - // InternalApplicationConfiguration.g:2606:3: ( rule__ExactNumber__ExactNumberAssignment_0 ) + // InternalApplicationConfiguration.g:2676:2: ( ( rule__ExactNumber__ExactNumberAssignment_0 ) ) + // InternalApplicationConfiguration.g:2677:3: ( rule__ExactNumber__ExactNumberAssignment_0 ) { before(grammarAccess.getExactNumberAccess().getExactNumberAssignment_0()); - // InternalApplicationConfiguration.g:2607:3: ( rule__ExactNumber__ExactNumberAssignment_0 ) - // InternalApplicationConfiguration.g:2607:4: rule__ExactNumber__ExactNumberAssignment_0 + // InternalApplicationConfiguration.g:2678:3: ( rule__ExactNumber__ExactNumberAssignment_0 ) + // InternalApplicationConfiguration.g:2678:4: rule__ExactNumber__ExactNumberAssignment_0 { pushFollow(FOLLOW_2); rule__ExactNumber__ExactNumberAssignment_0(); @@ -8684,14 +8919,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } break; case 2 : - // InternalApplicationConfiguration.g:2611:2: ( ( rule__ExactNumber__ExactUnlimitedAssignment_1 ) ) + // InternalApplicationConfiguration.g:2682:2: ( ( rule__ExactNumber__ExactUnlimitedAssignment_1 ) ) { - // InternalApplicationConfiguration.g:2611:2: ( ( rule__ExactNumber__ExactUnlimitedAssignment_1 ) ) - // InternalApplicationConfiguration.g:2612:3: ( rule__ExactNumber__ExactUnlimitedAssignment_1 ) + // InternalApplicationConfiguration.g:2682:2: ( ( rule__ExactNumber__ExactUnlimitedAssignment_1 ) ) + // InternalApplicationConfiguration.g:2683:3: ( rule__ExactNumber__ExactUnlimitedAssignment_1 ) { before(grammarAccess.getExactNumberAccess().getExactUnlimitedAssignment_1()); - // InternalApplicationConfiguration.g:2613:3: ( rule__ExactNumber__ExactUnlimitedAssignment_1 ) - // InternalApplicationConfiguration.g:2613:4: rule__ExactNumber__ExactUnlimitedAssignment_1 + // InternalApplicationConfiguration.g:2684:3: ( rule__ExactNumber__ExactUnlimitedAssignment_1 ) + // InternalApplicationConfiguration.g:2684:4: rule__ExactNumber__ExactUnlimitedAssignment_1 { pushFollow(FOLLOW_2); rule__ExactNumber__ExactUnlimitedAssignment_1(); @@ -8726,38 +8961,38 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__IntervallNumber__Alternatives_2" - // InternalApplicationConfiguration.g:2621:1: rule__IntervallNumber__Alternatives_2 : ( ( ( rule__IntervallNumber__MaxNumberAssignment_2_0 ) ) | ( ( rule__IntervallNumber__MaxUnlimitedAssignment_2_1 ) ) ); + // InternalApplicationConfiguration.g:2692:1: rule__IntervallNumber__Alternatives_2 : ( ( ( rule__IntervallNumber__MaxNumberAssignment_2_0 ) ) | ( ( rule__IntervallNumber__MaxUnlimitedAssignment_2_1 ) ) ); public final void rule__IntervallNumber__Alternatives_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:2625:1: ( ( ( rule__IntervallNumber__MaxNumberAssignment_2_0 ) ) | ( ( rule__IntervallNumber__MaxUnlimitedAssignment_2_1 ) ) ) - int alt27=2; - int LA27_0 = input.LA(1); + // InternalApplicationConfiguration.g:2696:1: ( ( ( rule__IntervallNumber__MaxNumberAssignment_2_0 ) ) | ( ( rule__IntervallNumber__MaxUnlimitedAssignment_2_1 ) ) ) + int alt28=2; + int LA28_0 = input.LA(1); - if ( (LA27_0==RULE_INT) ) { - alt27=1; + if ( (LA28_0==RULE_INT) ) { + alt28=1; } - else if ( (LA27_0==61) ) { - alt27=2; + else if ( (LA28_0==63) ) { + alt28=2; } else { NoViableAltException nvae = - new NoViableAltException("", 27, 0, input); + new NoViableAltException("", 28, 0, input); throw nvae; } - switch (alt27) { + switch (alt28) { case 1 : - // InternalApplicationConfiguration.g:2626:2: ( ( rule__IntervallNumber__MaxNumberAssignment_2_0 ) ) + // InternalApplicationConfiguration.g:2697:2: ( ( rule__IntervallNumber__MaxNumberAssignment_2_0 ) ) { - // InternalApplicationConfiguration.g:2626:2: ( ( rule__IntervallNumber__MaxNumberAssignment_2_0 ) ) - // InternalApplicationConfiguration.g:2627:3: ( rule__IntervallNumber__MaxNumberAssignment_2_0 ) + // InternalApplicationConfiguration.g:2697:2: ( ( rule__IntervallNumber__MaxNumberAssignment_2_0 ) ) + // InternalApplicationConfiguration.g:2698:3: ( rule__IntervallNumber__MaxNumberAssignment_2_0 ) { before(grammarAccess.getIntervallNumberAccess().getMaxNumberAssignment_2_0()); - // InternalApplicationConfiguration.g:2628:3: ( rule__IntervallNumber__MaxNumberAssignment_2_0 ) - // InternalApplicationConfiguration.g:2628:4: rule__IntervallNumber__MaxNumberAssignment_2_0 + // InternalApplicationConfiguration.g:2699:3: ( rule__IntervallNumber__MaxNumberAssignment_2_0 ) + // InternalApplicationConfiguration.g:2699:4: rule__IntervallNumber__MaxNumberAssignment_2_0 { pushFollow(FOLLOW_2); rule__IntervallNumber__MaxNumberAssignment_2_0(); @@ -8775,14 +9010,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } break; case 2 : - // InternalApplicationConfiguration.g:2632:2: ( ( rule__IntervallNumber__MaxUnlimitedAssignment_2_1 ) ) + // InternalApplicationConfiguration.g:2703:2: ( ( rule__IntervallNumber__MaxUnlimitedAssignment_2_1 ) ) { - // InternalApplicationConfiguration.g:2632:2: ( ( rule__IntervallNumber__MaxUnlimitedAssignment_2_1 ) ) - // InternalApplicationConfiguration.g:2633:3: ( rule__IntervallNumber__MaxUnlimitedAssignment_2_1 ) + // InternalApplicationConfiguration.g:2703:2: ( ( rule__IntervallNumber__MaxUnlimitedAssignment_2_1 ) ) + // InternalApplicationConfiguration.g:2704:3: ( rule__IntervallNumber__MaxUnlimitedAssignment_2_1 ) { before(grammarAccess.getIntervallNumberAccess().getMaxUnlimitedAssignment_2_1()); - // InternalApplicationConfiguration.g:2634:3: ( rule__IntervallNumber__MaxUnlimitedAssignment_2_1 ) - // InternalApplicationConfiguration.g:2634:4: rule__IntervallNumber__MaxUnlimitedAssignment_2_1 + // InternalApplicationConfiguration.g:2705:3: ( rule__IntervallNumber__MaxUnlimitedAssignment_2_1 ) + // InternalApplicationConfiguration.g:2705:4: rule__IntervallNumber__MaxUnlimitedAssignment_2_1 { pushFollow(FOLLOW_2); rule__IntervallNumber__MaxUnlimitedAssignment_2_1(); @@ -8817,34 +9052,34 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__Scope__Alternatives" - // InternalApplicationConfiguration.g:2642:1: rule__Scope__Alternatives : ( ( ruleScopeSpecification ) | ( ruleScopeReference ) ); + // InternalApplicationConfiguration.g:2713:1: rule__Scope__Alternatives : ( ( ruleScopeSpecification ) | ( ruleScopeReference ) ); public final void rule__Scope__Alternatives() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:2646:1: ( ( ruleScopeSpecification ) | ( ruleScopeReference ) ) - int alt28=2; - int LA28_0 = input.LA(1); + // InternalApplicationConfiguration.g:2717:1: ( ( ruleScopeSpecification ) | ( ruleScopeReference ) ) + int alt29=2; + int LA29_0 = input.LA(1); - if ( (LA28_0==29) ) { - alt28=1; + if ( (LA29_0==29) ) { + alt29=1; } - else if ( (LA28_0==RULE_ID) ) { - alt28=2; + else if ( (LA29_0==RULE_ID) ) { + alt29=2; } else { NoViableAltException nvae = - new NoViableAltException("", 28, 0, input); + new NoViableAltException("", 29, 0, input); throw nvae; } - switch (alt28) { + switch (alt29) { case 1 : - // InternalApplicationConfiguration.g:2647:2: ( ruleScopeSpecification ) + // InternalApplicationConfiguration.g:2718:2: ( ruleScopeSpecification ) { - // InternalApplicationConfiguration.g:2647:2: ( ruleScopeSpecification ) - // InternalApplicationConfiguration.g:2648:3: ruleScopeSpecification + // InternalApplicationConfiguration.g:2718:2: ( ruleScopeSpecification ) + // InternalApplicationConfiguration.g:2719:3: ruleScopeSpecification { before(grammarAccess.getScopeAccess().getScopeSpecificationParserRuleCall_0()); pushFollow(FOLLOW_2); @@ -8860,10 +9095,10 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } break; case 2 : - // InternalApplicationConfiguration.g:2653:2: ( ruleScopeReference ) + // InternalApplicationConfiguration.g:2724:2: ( ruleScopeReference ) { - // InternalApplicationConfiguration.g:2653:2: ( ruleScopeReference ) - // InternalApplicationConfiguration.g:2654:3: ruleScopeReference + // InternalApplicationConfiguration.g:2724:2: ( ruleScopeReference ) + // InternalApplicationConfiguration.g:2725:3: ruleScopeReference { before(grammarAccess.getScopeAccess().getScopeReferenceParserRuleCall_1()); pushFollow(FOLLOW_2); @@ -8896,38 +9131,38 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__OptimizationDirection__Alternatives" - // InternalApplicationConfiguration.g:2663:1: rule__OptimizationDirection__Alternatives : ( ( ( 'minimize' ) ) | ( ( 'maximize' ) ) ); + // InternalApplicationConfiguration.g:2734:1: rule__OptimizationDirection__Alternatives : ( ( ( 'minimize' ) ) | ( ( 'maximize' ) ) ); public final void rule__OptimizationDirection__Alternatives() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:2667:1: ( ( ( 'minimize' ) ) | ( ( 'maximize' ) ) ) - int alt29=2; - int LA29_0 = input.LA(1); + // InternalApplicationConfiguration.g:2738:1: ( ( ( 'minimize' ) ) | ( ( 'maximize' ) ) ) + int alt30=2; + int LA30_0 = input.LA(1); - if ( (LA29_0==11) ) { - alt29=1; + if ( (LA30_0==11) ) { + alt30=1; } - else if ( (LA29_0==12) ) { - alt29=2; + else if ( (LA30_0==12) ) { + alt30=2; } else { NoViableAltException nvae = - new NoViableAltException("", 29, 0, input); + new NoViableAltException("", 30, 0, input); throw nvae; } - switch (alt29) { + switch (alt30) { case 1 : - // InternalApplicationConfiguration.g:2668:2: ( ( 'minimize' ) ) + // InternalApplicationConfiguration.g:2739:2: ( ( 'minimize' ) ) { - // InternalApplicationConfiguration.g:2668:2: ( ( 'minimize' ) ) - // InternalApplicationConfiguration.g:2669:3: ( 'minimize' ) + // InternalApplicationConfiguration.g:2739:2: ( ( 'minimize' ) ) + // InternalApplicationConfiguration.g:2740:3: ( 'minimize' ) { before(grammarAccess.getOptimizationDirectionAccess().getMINIMIZEEnumLiteralDeclaration_0()); - // InternalApplicationConfiguration.g:2670:3: ( 'minimize' ) - // InternalApplicationConfiguration.g:2670:4: 'minimize' + // InternalApplicationConfiguration.g:2741:3: ( 'minimize' ) + // InternalApplicationConfiguration.g:2741:4: 'minimize' { match(input,11,FOLLOW_2); @@ -8941,14 +9176,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } break; case 2 : - // InternalApplicationConfiguration.g:2674:2: ( ( 'maximize' ) ) + // InternalApplicationConfiguration.g:2745:2: ( ( 'maximize' ) ) { - // InternalApplicationConfiguration.g:2674:2: ( ( 'maximize' ) ) - // InternalApplicationConfiguration.g:2675:3: ( 'maximize' ) + // InternalApplicationConfiguration.g:2745:2: ( ( 'maximize' ) ) + // InternalApplicationConfiguration.g:2746:3: ( 'maximize' ) { before(grammarAccess.getOptimizationDirectionAccess().getMAXIMIZEEnumLiteralDeclaration_1()); - // InternalApplicationConfiguration.g:2676:3: ( 'maximize' ) - // InternalApplicationConfiguration.g:2676:4: 'maximize' + // InternalApplicationConfiguration.g:2747:3: ( 'maximize' ) + // InternalApplicationConfiguration.g:2747:4: 'maximize' { match(input,12,FOLLOW_2); @@ -8979,38 +9214,38 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ComparisonOperator__Alternatives" - // InternalApplicationConfiguration.g:2684:1: rule__ComparisonOperator__Alternatives : ( ( ( '<=' ) ) | ( ( '>=' ) ) ); + // InternalApplicationConfiguration.g:2755:1: rule__ComparisonOperator__Alternatives : ( ( ( '<=' ) ) | ( ( '>=' ) ) ); public final void rule__ComparisonOperator__Alternatives() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:2688:1: ( ( ( '<=' ) ) | ( ( '>=' ) ) ) - int alt30=2; - int LA30_0 = input.LA(1); + // InternalApplicationConfiguration.g:2759:1: ( ( ( '<=' ) ) | ( ( '>=' ) ) ) + int alt31=2; + int LA31_0 = input.LA(1); - if ( (LA30_0==13) ) { - alt30=1; + if ( (LA31_0==13) ) { + alt31=1; } - else if ( (LA30_0==14) ) { - alt30=2; + else if ( (LA31_0==14) ) { + alt31=2; } else { NoViableAltException nvae = - new NoViableAltException("", 30, 0, input); + new NoViableAltException("", 31, 0, input); throw nvae; } - switch (alt30) { + switch (alt31) { case 1 : - // InternalApplicationConfiguration.g:2689:2: ( ( '<=' ) ) + // InternalApplicationConfiguration.g:2760:2: ( ( '<=' ) ) { - // InternalApplicationConfiguration.g:2689:2: ( ( '<=' ) ) - // InternalApplicationConfiguration.g:2690:3: ( '<=' ) + // InternalApplicationConfiguration.g:2760:2: ( ( '<=' ) ) + // InternalApplicationConfiguration.g:2761:3: ( '<=' ) { before(grammarAccess.getComparisonOperatorAccess().getLESS_EQUALSEnumLiteralDeclaration_0()); - // InternalApplicationConfiguration.g:2691:3: ( '<=' ) - // InternalApplicationConfiguration.g:2691:4: '<=' + // InternalApplicationConfiguration.g:2762:3: ( '<=' ) + // InternalApplicationConfiguration.g:2762:4: '<=' { match(input,13,FOLLOW_2); @@ -9024,14 +9259,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } break; case 2 : - // InternalApplicationConfiguration.g:2695:2: ( ( '>=' ) ) + // InternalApplicationConfiguration.g:2766:2: ( ( '>=' ) ) { - // InternalApplicationConfiguration.g:2695:2: ( ( '>=' ) ) - // InternalApplicationConfiguration.g:2696:3: ( '>=' ) + // InternalApplicationConfiguration.g:2766:2: ( ( '>=' ) ) + // InternalApplicationConfiguration.g:2767:3: ( '>=' ) { before(grammarAccess.getComparisonOperatorAccess().getGREATER_EQUALSEnumLiteralDeclaration_1()); - // InternalApplicationConfiguration.g:2697:3: ( '>=' ) - // InternalApplicationConfiguration.g:2697:4: '>=' + // InternalApplicationConfiguration.g:2768:3: ( '>=' ) + // InternalApplicationConfiguration.g:2768:4: '>=' { match(input,14,FOLLOW_2); @@ -9062,47 +9297,47 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__DocumentLevelSpecification__Alternatives" - // InternalApplicationConfiguration.g:2705:1: rule__DocumentLevelSpecification__Alternatives : ( ( ( 'none' ) ) | ( ( 'normal' ) ) | ( ( 'full' ) ) ); + // InternalApplicationConfiguration.g:2776:1: rule__DocumentLevelSpecification__Alternatives : ( ( ( 'none' ) ) | ( ( 'normal' ) ) | ( ( 'full' ) ) ); public final void rule__DocumentLevelSpecification__Alternatives() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:2709:1: ( ( ( 'none' ) ) | ( ( 'normal' ) ) | ( ( 'full' ) ) ) - int alt31=3; + // InternalApplicationConfiguration.g:2780:1: ( ( ( 'none' ) ) | ( ( 'normal' ) ) | ( ( 'full' ) ) ) + int alt32=3; switch ( input.LA(1) ) { case 15: { - alt31=1; + alt32=1; } break; case 16: { - alt31=2; + alt32=2; } break; case 17: { - alt31=3; + alt32=3; } break; default: NoViableAltException nvae = - new NoViableAltException("", 31, 0, input); + new NoViableAltException("", 32, 0, input); throw nvae; } - switch (alt31) { + switch (alt32) { case 1 : - // InternalApplicationConfiguration.g:2710:2: ( ( 'none' ) ) + // InternalApplicationConfiguration.g:2781:2: ( ( 'none' ) ) { - // InternalApplicationConfiguration.g:2710:2: ( ( 'none' ) ) - // InternalApplicationConfiguration.g:2711:3: ( 'none' ) + // InternalApplicationConfiguration.g:2781:2: ( ( 'none' ) ) + // InternalApplicationConfiguration.g:2782:3: ( 'none' ) { before(grammarAccess.getDocumentLevelSpecificationAccess().getNoneEnumLiteralDeclaration_0()); - // InternalApplicationConfiguration.g:2712:3: ( 'none' ) - // InternalApplicationConfiguration.g:2712:4: 'none' + // InternalApplicationConfiguration.g:2783:3: ( 'none' ) + // InternalApplicationConfiguration.g:2783:4: 'none' { match(input,15,FOLLOW_2); @@ -9116,14 +9351,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } break; case 2 : - // InternalApplicationConfiguration.g:2716:2: ( ( 'normal' ) ) + // InternalApplicationConfiguration.g:2787:2: ( ( 'normal' ) ) { - // InternalApplicationConfiguration.g:2716:2: ( ( 'normal' ) ) - // InternalApplicationConfiguration.g:2717:3: ( 'normal' ) + // InternalApplicationConfiguration.g:2787:2: ( ( 'normal' ) ) + // InternalApplicationConfiguration.g:2788:3: ( 'normal' ) { before(grammarAccess.getDocumentLevelSpecificationAccess().getNormalEnumLiteralDeclaration_1()); - // InternalApplicationConfiguration.g:2718:3: ( 'normal' ) - // InternalApplicationConfiguration.g:2718:4: 'normal' + // InternalApplicationConfiguration.g:2789:3: ( 'normal' ) + // InternalApplicationConfiguration.g:2789:4: 'normal' { match(input,16,FOLLOW_2); @@ -9137,14 +9372,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } break; case 3 : - // InternalApplicationConfiguration.g:2722:2: ( ( 'full' ) ) + // InternalApplicationConfiguration.g:2793:2: ( ( 'full' ) ) { - // InternalApplicationConfiguration.g:2722:2: ( ( 'full' ) ) - // InternalApplicationConfiguration.g:2723:3: ( 'full' ) + // InternalApplicationConfiguration.g:2793:2: ( ( 'full' ) ) + // InternalApplicationConfiguration.g:2794:3: ( 'full' ) { before(grammarAccess.getDocumentLevelSpecificationAccess().getFullEnumLiteralDeclaration_2()); - // InternalApplicationConfiguration.g:2724:3: ( 'full' ) - // InternalApplicationConfiguration.g:2724:4: 'full' + // InternalApplicationConfiguration.g:2795:3: ( 'full' ) + // InternalApplicationConfiguration.g:2795:4: 'full' { match(input,17,FOLLOW_2); @@ -9175,47 +9410,47 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__Solver__Alternatives" - // InternalApplicationConfiguration.g:2732:1: rule__Solver__Alternatives : ( ( ( 'SMTSolver' ) ) | ( ( 'AlloySolver' ) ) | ( ( 'ViatraSolver' ) ) ); + // InternalApplicationConfiguration.g:2803:1: rule__Solver__Alternatives : ( ( ( 'SMTSolver' ) ) | ( ( 'AlloySolver' ) ) | ( ( 'ViatraSolver' ) ) ); public final void rule__Solver__Alternatives() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:2736:1: ( ( ( 'SMTSolver' ) ) | ( ( 'AlloySolver' ) ) | ( ( 'ViatraSolver' ) ) ) - int alt32=3; + // InternalApplicationConfiguration.g:2807:1: ( ( ( 'SMTSolver' ) ) | ( ( 'AlloySolver' ) ) | ( ( 'ViatraSolver' ) ) ) + int alt33=3; switch ( input.LA(1) ) { case 18: { - alt32=1; + alt33=1; } break; case 19: { - alt32=2; + alt33=2; } break; case 20: { - alt32=3; + alt33=3; } break; default: NoViableAltException nvae = - new NoViableAltException("", 32, 0, input); + new NoViableAltException("", 33, 0, input); throw nvae; } - switch (alt32) { + switch (alt33) { case 1 : - // InternalApplicationConfiguration.g:2737:2: ( ( 'SMTSolver' ) ) + // InternalApplicationConfiguration.g:2808:2: ( ( 'SMTSolver' ) ) { - // InternalApplicationConfiguration.g:2737:2: ( ( 'SMTSolver' ) ) - // InternalApplicationConfiguration.g:2738:3: ( 'SMTSolver' ) + // InternalApplicationConfiguration.g:2808:2: ( ( 'SMTSolver' ) ) + // InternalApplicationConfiguration.g:2809:3: ( 'SMTSolver' ) { before(grammarAccess.getSolverAccess().getSMTSolverEnumLiteralDeclaration_0()); - // InternalApplicationConfiguration.g:2739:3: ( 'SMTSolver' ) - // InternalApplicationConfiguration.g:2739:4: 'SMTSolver' + // InternalApplicationConfiguration.g:2810:3: ( 'SMTSolver' ) + // InternalApplicationConfiguration.g:2810:4: 'SMTSolver' { match(input,18,FOLLOW_2); @@ -9229,14 +9464,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } break; case 2 : - // InternalApplicationConfiguration.g:2743:2: ( ( 'AlloySolver' ) ) + // InternalApplicationConfiguration.g:2814:2: ( ( 'AlloySolver' ) ) { - // InternalApplicationConfiguration.g:2743:2: ( ( 'AlloySolver' ) ) - // InternalApplicationConfiguration.g:2744:3: ( 'AlloySolver' ) + // InternalApplicationConfiguration.g:2814:2: ( ( 'AlloySolver' ) ) + // InternalApplicationConfiguration.g:2815:3: ( 'AlloySolver' ) { before(grammarAccess.getSolverAccess().getAlloySolverEnumLiteralDeclaration_1()); - // InternalApplicationConfiguration.g:2745:3: ( 'AlloySolver' ) - // InternalApplicationConfiguration.g:2745:4: 'AlloySolver' + // InternalApplicationConfiguration.g:2816:3: ( 'AlloySolver' ) + // InternalApplicationConfiguration.g:2816:4: 'AlloySolver' { match(input,19,FOLLOW_2); @@ -9250,14 +9485,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } break; case 3 : - // InternalApplicationConfiguration.g:2749:2: ( ( 'ViatraSolver' ) ) + // InternalApplicationConfiguration.g:2820:2: ( ( 'ViatraSolver' ) ) { - // InternalApplicationConfiguration.g:2749:2: ( ( 'ViatraSolver' ) ) - // InternalApplicationConfiguration.g:2750:3: ( 'ViatraSolver' ) + // InternalApplicationConfiguration.g:2820:2: ( ( 'ViatraSolver' ) ) + // InternalApplicationConfiguration.g:2821:3: ( 'ViatraSolver' ) { before(grammarAccess.getSolverAccess().getViatraSolverEnumLiteralDeclaration_2()); - // InternalApplicationConfiguration.g:2751:3: ( 'ViatraSolver' ) - // InternalApplicationConfiguration.g:2751:4: 'ViatraSolver' + // InternalApplicationConfiguration.g:2822:3: ( 'ViatraSolver' ) + // InternalApplicationConfiguration.g:2822:4: 'ViatraSolver' { match(input,20,FOLLOW_2); @@ -9288,14 +9523,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ConfigurationScript__Group__0" - // InternalApplicationConfiguration.g:2759:1: rule__ConfigurationScript__Group__0 : rule__ConfigurationScript__Group__0__Impl rule__ConfigurationScript__Group__1 ; + // InternalApplicationConfiguration.g:2830:1: rule__ConfigurationScript__Group__0 : rule__ConfigurationScript__Group__0__Impl rule__ConfigurationScript__Group__1 ; public final void rule__ConfigurationScript__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:2763:1: ( rule__ConfigurationScript__Group__0__Impl rule__ConfigurationScript__Group__1 ) - // InternalApplicationConfiguration.g:2764:2: rule__ConfigurationScript__Group__0__Impl rule__ConfigurationScript__Group__1 + // InternalApplicationConfiguration.g:2834:1: ( rule__ConfigurationScript__Group__0__Impl rule__ConfigurationScript__Group__1 ) + // InternalApplicationConfiguration.g:2835:2: rule__ConfigurationScript__Group__0__Impl rule__ConfigurationScript__Group__1 { pushFollow(FOLLOW_3); rule__ConfigurationScript__Group__0__Impl(); @@ -9326,33 +9561,33 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ConfigurationScript__Group__0__Impl" - // InternalApplicationConfiguration.g:2771:1: rule__ConfigurationScript__Group__0__Impl : ( ( rule__ConfigurationScript__ImportsAssignment_0 )* ) ; + // InternalApplicationConfiguration.g:2842:1: rule__ConfigurationScript__Group__0__Impl : ( ( rule__ConfigurationScript__ImportsAssignment_0 )* ) ; public final void rule__ConfigurationScript__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:2775:1: ( ( ( rule__ConfigurationScript__ImportsAssignment_0 )* ) ) - // InternalApplicationConfiguration.g:2776:1: ( ( rule__ConfigurationScript__ImportsAssignment_0 )* ) + // InternalApplicationConfiguration.g:2846:1: ( ( ( rule__ConfigurationScript__ImportsAssignment_0 )* ) ) + // InternalApplicationConfiguration.g:2847:1: ( ( rule__ConfigurationScript__ImportsAssignment_0 )* ) { - // InternalApplicationConfiguration.g:2776:1: ( ( rule__ConfigurationScript__ImportsAssignment_0 )* ) - // InternalApplicationConfiguration.g:2777:2: ( rule__ConfigurationScript__ImportsAssignment_0 )* + // InternalApplicationConfiguration.g:2847:1: ( ( rule__ConfigurationScript__ImportsAssignment_0 )* ) + // InternalApplicationConfiguration.g:2848:2: ( rule__ConfigurationScript__ImportsAssignment_0 )* { before(grammarAccess.getConfigurationScriptAccess().getImportsAssignment_0()); - // InternalApplicationConfiguration.g:2778:2: ( rule__ConfigurationScript__ImportsAssignment_0 )* - loop33: + // InternalApplicationConfiguration.g:2849:2: ( rule__ConfigurationScript__ImportsAssignment_0 )* + loop34: do { - int alt33=2; - int LA33_0 = input.LA(1); + int alt34=2; + int LA34_0 = input.LA(1); - if ( (LA33_0==23) ) { - alt33=1; + if ( (LA34_0==23) ) { + alt34=1; } - switch (alt33) { + switch (alt34) { case 1 : - // InternalApplicationConfiguration.g:2778:3: rule__ConfigurationScript__ImportsAssignment_0 + // InternalApplicationConfiguration.g:2849:3: rule__ConfigurationScript__ImportsAssignment_0 { pushFollow(FOLLOW_4); rule__ConfigurationScript__ImportsAssignment_0(); @@ -9364,7 +9599,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont break; default : - break loop33; + break loop34; } } while (true); @@ -9391,14 +9626,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ConfigurationScript__Group__1" - // InternalApplicationConfiguration.g:2786:1: rule__ConfigurationScript__Group__1 : rule__ConfigurationScript__Group__1__Impl ; + // InternalApplicationConfiguration.g:2857:1: rule__ConfigurationScript__Group__1 : rule__ConfigurationScript__Group__1__Impl ; public final void rule__ConfigurationScript__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:2790:1: ( rule__ConfigurationScript__Group__1__Impl ) - // InternalApplicationConfiguration.g:2791:2: rule__ConfigurationScript__Group__1__Impl + // InternalApplicationConfiguration.g:2861:1: ( rule__ConfigurationScript__Group__1__Impl ) + // InternalApplicationConfiguration.g:2862:2: rule__ConfigurationScript__Group__1__Impl { pushFollow(FOLLOW_2); rule__ConfigurationScript__Group__1__Impl(); @@ -9424,33 +9659,33 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ConfigurationScript__Group__1__Impl" - // InternalApplicationConfiguration.g:2797:1: rule__ConfigurationScript__Group__1__Impl : ( ( rule__ConfigurationScript__CommandsAssignment_1 )* ) ; + // InternalApplicationConfiguration.g:2868:1: rule__ConfigurationScript__Group__1__Impl : ( ( rule__ConfigurationScript__CommandsAssignment_1 )* ) ; public final void rule__ConfigurationScript__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:2801:1: ( ( ( rule__ConfigurationScript__CommandsAssignment_1 )* ) ) - // InternalApplicationConfiguration.g:2802:1: ( ( rule__ConfigurationScript__CommandsAssignment_1 )* ) + // InternalApplicationConfiguration.g:2872:1: ( ( ( rule__ConfigurationScript__CommandsAssignment_1 )* ) ) + // InternalApplicationConfiguration.g:2873:1: ( ( rule__ConfigurationScript__CommandsAssignment_1 )* ) { - // InternalApplicationConfiguration.g:2802:1: ( ( rule__ConfigurationScript__CommandsAssignment_1 )* ) - // InternalApplicationConfiguration.g:2803:2: ( rule__ConfigurationScript__CommandsAssignment_1 )* + // InternalApplicationConfiguration.g:2873:1: ( ( rule__ConfigurationScript__CommandsAssignment_1 )* ) + // InternalApplicationConfiguration.g:2874:2: ( rule__ConfigurationScript__CommandsAssignment_1 )* { before(grammarAccess.getConfigurationScriptAccess().getCommandsAssignment_1()); - // InternalApplicationConfiguration.g:2804:2: ( rule__ConfigurationScript__CommandsAssignment_1 )* - loop34: + // InternalApplicationConfiguration.g:2875:2: ( rule__ConfigurationScript__CommandsAssignment_1 )* + loop35: do { - int alt34=2; - int LA34_0 = input.LA(1); + int alt35=2; + int LA35_0 = input.LA(1); - if ( (LA34_0==27||LA34_0==35||(LA34_0>=37 && LA34_0<=40)||(LA34_0>=52 && LA34_0<=53)) ) { - alt34=1; + if ( (LA35_0==27||LA35_0==35||(LA35_0>=37 && LA35_0<=38)||(LA35_0>=41 && LA35_0<=42)||(LA35_0>=54 && LA35_0<=55)) ) { + alt35=1; } - switch (alt34) { + switch (alt35) { case 1 : - // InternalApplicationConfiguration.g:2804:3: rule__ConfigurationScript__CommandsAssignment_1 + // InternalApplicationConfiguration.g:2875:3: rule__ConfigurationScript__CommandsAssignment_1 { pushFollow(FOLLOW_5); rule__ConfigurationScript__CommandsAssignment_1(); @@ -9462,7 +9697,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont break; default : - break loop34; + break loop35; } } while (true); @@ -9489,14 +9724,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__QualifiedName__Group__0" - // InternalApplicationConfiguration.g:2813:1: rule__QualifiedName__Group__0 : rule__QualifiedName__Group__0__Impl rule__QualifiedName__Group__1 ; + // InternalApplicationConfiguration.g:2884:1: rule__QualifiedName__Group__0 : rule__QualifiedName__Group__0__Impl rule__QualifiedName__Group__1 ; public final void rule__QualifiedName__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:2817:1: ( rule__QualifiedName__Group__0__Impl rule__QualifiedName__Group__1 ) - // InternalApplicationConfiguration.g:2818:2: rule__QualifiedName__Group__0__Impl rule__QualifiedName__Group__1 + // InternalApplicationConfiguration.g:2888:1: ( rule__QualifiedName__Group__0__Impl rule__QualifiedName__Group__1 ) + // InternalApplicationConfiguration.g:2889:2: rule__QualifiedName__Group__0__Impl rule__QualifiedName__Group__1 { pushFollow(FOLLOW_6); rule__QualifiedName__Group__0__Impl(); @@ -9527,17 +9762,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__QualifiedName__Group__0__Impl" - // InternalApplicationConfiguration.g:2825:1: rule__QualifiedName__Group__0__Impl : ( RULE_ID ) ; + // InternalApplicationConfiguration.g:2896:1: rule__QualifiedName__Group__0__Impl : ( RULE_ID ) ; public final void rule__QualifiedName__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:2829:1: ( ( RULE_ID ) ) - // InternalApplicationConfiguration.g:2830:1: ( RULE_ID ) + // InternalApplicationConfiguration.g:2900:1: ( ( RULE_ID ) ) + // InternalApplicationConfiguration.g:2901:1: ( RULE_ID ) { - // InternalApplicationConfiguration.g:2830:1: ( RULE_ID ) - // InternalApplicationConfiguration.g:2831:2: RULE_ID + // InternalApplicationConfiguration.g:2901:1: ( RULE_ID ) + // InternalApplicationConfiguration.g:2902:2: RULE_ID { before(grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_0()); match(input,RULE_ID,FOLLOW_2); @@ -9564,14 +9799,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__QualifiedName__Group__1" - // InternalApplicationConfiguration.g:2840:1: rule__QualifiedName__Group__1 : rule__QualifiedName__Group__1__Impl ; + // InternalApplicationConfiguration.g:2911:1: rule__QualifiedName__Group__1 : rule__QualifiedName__Group__1__Impl ; public final void rule__QualifiedName__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:2844:1: ( rule__QualifiedName__Group__1__Impl ) - // InternalApplicationConfiguration.g:2845:2: rule__QualifiedName__Group__1__Impl + // InternalApplicationConfiguration.g:2915:1: ( rule__QualifiedName__Group__1__Impl ) + // InternalApplicationConfiguration.g:2916:2: rule__QualifiedName__Group__1__Impl { pushFollow(FOLLOW_2); rule__QualifiedName__Group__1__Impl(); @@ -9597,33 +9832,33 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__QualifiedName__Group__1__Impl" - // InternalApplicationConfiguration.g:2851:1: rule__QualifiedName__Group__1__Impl : ( ( rule__QualifiedName__Group_1__0 )* ) ; + // InternalApplicationConfiguration.g:2922:1: rule__QualifiedName__Group__1__Impl : ( ( rule__QualifiedName__Group_1__0 )* ) ; public final void rule__QualifiedName__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:2855:1: ( ( ( rule__QualifiedName__Group_1__0 )* ) ) - // InternalApplicationConfiguration.g:2856:1: ( ( rule__QualifiedName__Group_1__0 )* ) + // InternalApplicationConfiguration.g:2926:1: ( ( ( rule__QualifiedName__Group_1__0 )* ) ) + // InternalApplicationConfiguration.g:2927:1: ( ( rule__QualifiedName__Group_1__0 )* ) { - // InternalApplicationConfiguration.g:2856:1: ( ( rule__QualifiedName__Group_1__0 )* ) - // InternalApplicationConfiguration.g:2857:2: ( rule__QualifiedName__Group_1__0 )* + // InternalApplicationConfiguration.g:2927:1: ( ( rule__QualifiedName__Group_1__0 )* ) + // InternalApplicationConfiguration.g:2928:2: ( rule__QualifiedName__Group_1__0 )* { before(grammarAccess.getQualifiedNameAccess().getGroup_1()); - // InternalApplicationConfiguration.g:2858:2: ( rule__QualifiedName__Group_1__0 )* - loop35: + // InternalApplicationConfiguration.g:2929:2: ( rule__QualifiedName__Group_1__0 )* + loop36: do { - int alt35=2; - int LA35_0 = input.LA(1); + int alt36=2; + int LA36_0 = input.LA(1); - if ( (LA35_0==21) ) { - alt35=1; + if ( (LA36_0==21) ) { + alt36=1; } - switch (alt35) { + switch (alt36) { case 1 : - // InternalApplicationConfiguration.g:2858:3: rule__QualifiedName__Group_1__0 + // InternalApplicationConfiguration.g:2929:3: rule__QualifiedName__Group_1__0 { pushFollow(FOLLOW_7); rule__QualifiedName__Group_1__0(); @@ -9635,7 +9870,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont break; default : - break loop35; + break loop36; } } while (true); @@ -9662,14 +9897,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__QualifiedName__Group_1__0" - // InternalApplicationConfiguration.g:2867:1: rule__QualifiedName__Group_1__0 : rule__QualifiedName__Group_1__0__Impl rule__QualifiedName__Group_1__1 ; + // InternalApplicationConfiguration.g:2938:1: rule__QualifiedName__Group_1__0 : rule__QualifiedName__Group_1__0__Impl rule__QualifiedName__Group_1__1 ; public final void rule__QualifiedName__Group_1__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:2871:1: ( rule__QualifiedName__Group_1__0__Impl rule__QualifiedName__Group_1__1 ) - // InternalApplicationConfiguration.g:2872:2: rule__QualifiedName__Group_1__0__Impl rule__QualifiedName__Group_1__1 + // InternalApplicationConfiguration.g:2942:1: ( rule__QualifiedName__Group_1__0__Impl rule__QualifiedName__Group_1__1 ) + // InternalApplicationConfiguration.g:2943:2: rule__QualifiedName__Group_1__0__Impl rule__QualifiedName__Group_1__1 { pushFollow(FOLLOW_8); rule__QualifiedName__Group_1__0__Impl(); @@ -9700,17 +9935,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__QualifiedName__Group_1__0__Impl" - // InternalApplicationConfiguration.g:2879:1: rule__QualifiedName__Group_1__0__Impl : ( '.' ) ; + // InternalApplicationConfiguration.g:2950:1: rule__QualifiedName__Group_1__0__Impl : ( '.' ) ; public final void rule__QualifiedName__Group_1__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:2883:1: ( ( '.' ) ) - // InternalApplicationConfiguration.g:2884:1: ( '.' ) + // InternalApplicationConfiguration.g:2954:1: ( ( '.' ) ) + // InternalApplicationConfiguration.g:2955:1: ( '.' ) { - // InternalApplicationConfiguration.g:2884:1: ( '.' ) - // InternalApplicationConfiguration.g:2885:2: '.' + // InternalApplicationConfiguration.g:2955:1: ( '.' ) + // InternalApplicationConfiguration.g:2956:2: '.' { before(grammarAccess.getQualifiedNameAccess().getFullStopKeyword_1_0()); match(input,21,FOLLOW_2); @@ -9737,14 +9972,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__QualifiedName__Group_1__1" - // InternalApplicationConfiguration.g:2894:1: rule__QualifiedName__Group_1__1 : rule__QualifiedName__Group_1__1__Impl ; + // InternalApplicationConfiguration.g:2965:1: rule__QualifiedName__Group_1__1 : rule__QualifiedName__Group_1__1__Impl ; public final void rule__QualifiedName__Group_1__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:2898:1: ( rule__QualifiedName__Group_1__1__Impl ) - // InternalApplicationConfiguration.g:2899:2: rule__QualifiedName__Group_1__1__Impl + // InternalApplicationConfiguration.g:2969:1: ( rule__QualifiedName__Group_1__1__Impl ) + // InternalApplicationConfiguration.g:2970:2: rule__QualifiedName__Group_1__1__Impl { pushFollow(FOLLOW_2); rule__QualifiedName__Group_1__1__Impl(); @@ -9770,17 +10005,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__QualifiedName__Group_1__1__Impl" - // InternalApplicationConfiguration.g:2905:1: rule__QualifiedName__Group_1__1__Impl : ( RULE_ID ) ; + // InternalApplicationConfiguration.g:2976:1: rule__QualifiedName__Group_1__1__Impl : ( RULE_ID ) ; public final void rule__QualifiedName__Group_1__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:2909:1: ( ( RULE_ID ) ) - // InternalApplicationConfiguration.g:2910:1: ( RULE_ID ) + // InternalApplicationConfiguration.g:2980:1: ( ( RULE_ID ) ) + // InternalApplicationConfiguration.g:2981:1: ( RULE_ID ) { - // InternalApplicationConfiguration.g:2910:1: ( RULE_ID ) - // InternalApplicationConfiguration.g:2911:2: RULE_ID + // InternalApplicationConfiguration.g:2981:1: ( RULE_ID ) + // InternalApplicationConfiguration.g:2982:2: RULE_ID { before(grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_1_1()); match(input,RULE_ID,FOLLOW_2); @@ -9807,14 +10042,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__REALLiteral__Group__0" - // InternalApplicationConfiguration.g:2921:1: rule__REALLiteral__Group__0 : rule__REALLiteral__Group__0__Impl rule__REALLiteral__Group__1 ; + // InternalApplicationConfiguration.g:2992:1: rule__REALLiteral__Group__0 : rule__REALLiteral__Group__0__Impl rule__REALLiteral__Group__1 ; public final void rule__REALLiteral__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:2925:1: ( rule__REALLiteral__Group__0__Impl rule__REALLiteral__Group__1 ) - // InternalApplicationConfiguration.g:2926:2: rule__REALLiteral__Group__0__Impl rule__REALLiteral__Group__1 + // InternalApplicationConfiguration.g:2996:1: ( rule__REALLiteral__Group__0__Impl rule__REALLiteral__Group__1 ) + // InternalApplicationConfiguration.g:2997:2: rule__REALLiteral__Group__0__Impl rule__REALLiteral__Group__1 { pushFollow(FOLLOW_9); rule__REALLiteral__Group__0__Impl(); @@ -9845,29 +10080,29 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__REALLiteral__Group__0__Impl" - // InternalApplicationConfiguration.g:2933:1: rule__REALLiteral__Group__0__Impl : ( ( '-' )? ) ; + // InternalApplicationConfiguration.g:3004:1: rule__REALLiteral__Group__0__Impl : ( ( '-' )? ) ; public final void rule__REALLiteral__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:2937:1: ( ( ( '-' )? ) ) - // InternalApplicationConfiguration.g:2938:1: ( ( '-' )? ) + // InternalApplicationConfiguration.g:3008:1: ( ( ( '-' )? ) ) + // InternalApplicationConfiguration.g:3009:1: ( ( '-' )? ) { - // InternalApplicationConfiguration.g:2938:1: ( ( '-' )? ) - // InternalApplicationConfiguration.g:2939:2: ( '-' )? + // InternalApplicationConfiguration.g:3009:1: ( ( '-' )? ) + // InternalApplicationConfiguration.g:3010:2: ( '-' )? { before(grammarAccess.getREALLiteralAccess().getHyphenMinusKeyword_0()); - // InternalApplicationConfiguration.g:2940:2: ( '-' )? - int alt36=2; - int LA36_0 = input.LA(1); + // InternalApplicationConfiguration.g:3011:2: ( '-' )? + int alt37=2; + int LA37_0 = input.LA(1); - if ( (LA36_0==22) ) { - alt36=1; + if ( (LA37_0==22) ) { + alt37=1; } - switch (alt36) { + switch (alt37) { case 1 : - // InternalApplicationConfiguration.g:2940:3: '-' + // InternalApplicationConfiguration.g:3011:3: '-' { match(input,22,FOLLOW_2); @@ -9899,14 +10134,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__REALLiteral__Group__1" - // InternalApplicationConfiguration.g:2948:1: rule__REALLiteral__Group__1 : rule__REALLiteral__Group__1__Impl rule__REALLiteral__Group__2 ; + // InternalApplicationConfiguration.g:3019:1: rule__REALLiteral__Group__1 : rule__REALLiteral__Group__1__Impl rule__REALLiteral__Group__2 ; public final void rule__REALLiteral__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:2952:1: ( rule__REALLiteral__Group__1__Impl rule__REALLiteral__Group__2 ) - // InternalApplicationConfiguration.g:2953:2: rule__REALLiteral__Group__1__Impl rule__REALLiteral__Group__2 + // InternalApplicationConfiguration.g:3023:1: ( rule__REALLiteral__Group__1__Impl rule__REALLiteral__Group__2 ) + // InternalApplicationConfiguration.g:3024:2: rule__REALLiteral__Group__1__Impl rule__REALLiteral__Group__2 { pushFollow(FOLLOW_6); rule__REALLiteral__Group__1__Impl(); @@ -9937,17 +10172,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__REALLiteral__Group__1__Impl" - // InternalApplicationConfiguration.g:2960:1: rule__REALLiteral__Group__1__Impl : ( RULE_INT ) ; + // InternalApplicationConfiguration.g:3031:1: rule__REALLiteral__Group__1__Impl : ( RULE_INT ) ; public final void rule__REALLiteral__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:2964:1: ( ( RULE_INT ) ) - // InternalApplicationConfiguration.g:2965:1: ( RULE_INT ) + // InternalApplicationConfiguration.g:3035:1: ( ( RULE_INT ) ) + // InternalApplicationConfiguration.g:3036:1: ( RULE_INT ) { - // InternalApplicationConfiguration.g:2965:1: ( RULE_INT ) - // InternalApplicationConfiguration.g:2966:2: RULE_INT + // InternalApplicationConfiguration.g:3036:1: ( RULE_INT ) + // InternalApplicationConfiguration.g:3037:2: RULE_INT { before(grammarAccess.getREALLiteralAccess().getINTTerminalRuleCall_1()); match(input,RULE_INT,FOLLOW_2); @@ -9974,14 +10209,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__REALLiteral__Group__2" - // InternalApplicationConfiguration.g:2975:1: rule__REALLiteral__Group__2 : rule__REALLiteral__Group__2__Impl rule__REALLiteral__Group__3 ; + // InternalApplicationConfiguration.g:3046:1: rule__REALLiteral__Group__2 : rule__REALLiteral__Group__2__Impl rule__REALLiteral__Group__3 ; public final void rule__REALLiteral__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:2979:1: ( rule__REALLiteral__Group__2__Impl rule__REALLiteral__Group__3 ) - // InternalApplicationConfiguration.g:2980:2: rule__REALLiteral__Group__2__Impl rule__REALLiteral__Group__3 + // InternalApplicationConfiguration.g:3050:1: ( rule__REALLiteral__Group__2__Impl rule__REALLiteral__Group__3 ) + // InternalApplicationConfiguration.g:3051:2: rule__REALLiteral__Group__2__Impl rule__REALLiteral__Group__3 { pushFollow(FOLLOW_9); rule__REALLiteral__Group__2__Impl(); @@ -10012,17 +10247,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__REALLiteral__Group__2__Impl" - // InternalApplicationConfiguration.g:2987:1: rule__REALLiteral__Group__2__Impl : ( '.' ) ; + // InternalApplicationConfiguration.g:3058:1: rule__REALLiteral__Group__2__Impl : ( '.' ) ; public final void rule__REALLiteral__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:2991:1: ( ( '.' ) ) - // InternalApplicationConfiguration.g:2992:1: ( '.' ) + // InternalApplicationConfiguration.g:3062:1: ( ( '.' ) ) + // InternalApplicationConfiguration.g:3063:1: ( '.' ) { - // InternalApplicationConfiguration.g:2992:1: ( '.' ) - // InternalApplicationConfiguration.g:2993:2: '.' + // InternalApplicationConfiguration.g:3063:1: ( '.' ) + // InternalApplicationConfiguration.g:3064:2: '.' { before(grammarAccess.getREALLiteralAccess().getFullStopKeyword_2()); match(input,21,FOLLOW_2); @@ -10049,14 +10284,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__REALLiteral__Group__3" - // InternalApplicationConfiguration.g:3002:1: rule__REALLiteral__Group__3 : rule__REALLiteral__Group__3__Impl ; + // InternalApplicationConfiguration.g:3073:1: rule__REALLiteral__Group__3 : rule__REALLiteral__Group__3__Impl ; public final void rule__REALLiteral__Group__3() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:3006:1: ( rule__REALLiteral__Group__3__Impl ) - // InternalApplicationConfiguration.g:3007:2: rule__REALLiteral__Group__3__Impl + // InternalApplicationConfiguration.g:3077:1: ( rule__REALLiteral__Group__3__Impl ) + // InternalApplicationConfiguration.g:3078:2: rule__REALLiteral__Group__3__Impl { pushFollow(FOLLOW_2); rule__REALLiteral__Group__3__Impl(); @@ -10082,17 +10317,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__REALLiteral__Group__3__Impl" - // InternalApplicationConfiguration.g:3013:1: rule__REALLiteral__Group__3__Impl : ( RULE_INT ) ; + // InternalApplicationConfiguration.g:3084:1: rule__REALLiteral__Group__3__Impl : ( RULE_INT ) ; public final void rule__REALLiteral__Group__3__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:3017:1: ( ( RULE_INT ) ) - // InternalApplicationConfiguration.g:3018:1: ( RULE_INT ) + // InternalApplicationConfiguration.g:3088:1: ( ( RULE_INT ) ) + // InternalApplicationConfiguration.g:3089:1: ( RULE_INT ) { - // InternalApplicationConfiguration.g:3018:1: ( RULE_INT ) - // InternalApplicationConfiguration.g:3019:2: RULE_INT + // InternalApplicationConfiguration.g:3089:1: ( RULE_INT ) + // InternalApplicationConfiguration.g:3090:2: RULE_INT { before(grammarAccess.getREALLiteralAccess().getINTTerminalRuleCall_3()); match(input,RULE_INT,FOLLOW_2); @@ -10119,14 +10354,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__INTLiteral__Group__0" - // InternalApplicationConfiguration.g:3029:1: rule__INTLiteral__Group__0 : rule__INTLiteral__Group__0__Impl rule__INTLiteral__Group__1 ; + // InternalApplicationConfiguration.g:3100:1: rule__INTLiteral__Group__0 : rule__INTLiteral__Group__0__Impl rule__INTLiteral__Group__1 ; public final void rule__INTLiteral__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:3033:1: ( rule__INTLiteral__Group__0__Impl rule__INTLiteral__Group__1 ) - // InternalApplicationConfiguration.g:3034:2: rule__INTLiteral__Group__0__Impl rule__INTLiteral__Group__1 + // InternalApplicationConfiguration.g:3104:1: ( rule__INTLiteral__Group__0__Impl rule__INTLiteral__Group__1 ) + // InternalApplicationConfiguration.g:3105:2: rule__INTLiteral__Group__0__Impl rule__INTLiteral__Group__1 { pushFollow(FOLLOW_9); rule__INTLiteral__Group__0__Impl(); @@ -10157,29 +10392,29 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__INTLiteral__Group__0__Impl" - // InternalApplicationConfiguration.g:3041:1: rule__INTLiteral__Group__0__Impl : ( ( '-' )? ) ; + // InternalApplicationConfiguration.g:3112:1: rule__INTLiteral__Group__0__Impl : ( ( '-' )? ) ; public final void rule__INTLiteral__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:3045:1: ( ( ( '-' )? ) ) - // InternalApplicationConfiguration.g:3046:1: ( ( '-' )? ) + // InternalApplicationConfiguration.g:3116:1: ( ( ( '-' )? ) ) + // InternalApplicationConfiguration.g:3117:1: ( ( '-' )? ) { - // InternalApplicationConfiguration.g:3046:1: ( ( '-' )? ) - // InternalApplicationConfiguration.g:3047:2: ( '-' )? + // InternalApplicationConfiguration.g:3117:1: ( ( '-' )? ) + // InternalApplicationConfiguration.g:3118:2: ( '-' )? { before(grammarAccess.getINTLiteralAccess().getHyphenMinusKeyword_0()); - // InternalApplicationConfiguration.g:3048:2: ( '-' )? - int alt37=2; - int LA37_0 = input.LA(1); + // InternalApplicationConfiguration.g:3119:2: ( '-' )? + int alt38=2; + int LA38_0 = input.LA(1); - if ( (LA37_0==22) ) { - alt37=1; + if ( (LA38_0==22) ) { + alt38=1; } - switch (alt37) { + switch (alt38) { case 1 : - // InternalApplicationConfiguration.g:3048:3: '-' + // InternalApplicationConfiguration.g:3119:3: '-' { match(input,22,FOLLOW_2); @@ -10211,14 +10446,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__INTLiteral__Group__1" - // InternalApplicationConfiguration.g:3056:1: rule__INTLiteral__Group__1 : rule__INTLiteral__Group__1__Impl ; + // InternalApplicationConfiguration.g:3127:1: rule__INTLiteral__Group__1 : rule__INTLiteral__Group__1__Impl ; public final void rule__INTLiteral__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:3060:1: ( rule__INTLiteral__Group__1__Impl ) - // InternalApplicationConfiguration.g:3061:2: rule__INTLiteral__Group__1__Impl + // InternalApplicationConfiguration.g:3131:1: ( rule__INTLiteral__Group__1__Impl ) + // InternalApplicationConfiguration.g:3132:2: rule__INTLiteral__Group__1__Impl { pushFollow(FOLLOW_2); rule__INTLiteral__Group__1__Impl(); @@ -10244,17 +10479,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__INTLiteral__Group__1__Impl" - // InternalApplicationConfiguration.g:3067:1: rule__INTLiteral__Group__1__Impl : ( RULE_INT ) ; + // InternalApplicationConfiguration.g:3138:1: rule__INTLiteral__Group__1__Impl : ( RULE_INT ) ; public final void rule__INTLiteral__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:3071:1: ( ( RULE_INT ) ) - // InternalApplicationConfiguration.g:3072:1: ( RULE_INT ) + // InternalApplicationConfiguration.g:3142:1: ( ( RULE_INT ) ) + // InternalApplicationConfiguration.g:3143:1: ( RULE_INT ) { - // InternalApplicationConfiguration.g:3072:1: ( RULE_INT ) - // InternalApplicationConfiguration.g:3073:2: RULE_INT + // InternalApplicationConfiguration.g:3143:1: ( RULE_INT ) + // InternalApplicationConfiguration.g:3144:2: RULE_INT { before(grammarAccess.getINTLiteralAccess().getINTTerminalRuleCall_1()); match(input,RULE_INT,FOLLOW_2); @@ -10281,14 +10516,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__EPackageImport__Group__0" - // InternalApplicationConfiguration.g:3083:1: rule__EPackageImport__Group__0 : rule__EPackageImport__Group__0__Impl rule__EPackageImport__Group__1 ; + // InternalApplicationConfiguration.g:3154:1: rule__EPackageImport__Group__0 : rule__EPackageImport__Group__0__Impl rule__EPackageImport__Group__1 ; public final void rule__EPackageImport__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:3087:1: ( rule__EPackageImport__Group__0__Impl rule__EPackageImport__Group__1 ) - // InternalApplicationConfiguration.g:3088:2: rule__EPackageImport__Group__0__Impl rule__EPackageImport__Group__1 + // InternalApplicationConfiguration.g:3158:1: ( rule__EPackageImport__Group__0__Impl rule__EPackageImport__Group__1 ) + // InternalApplicationConfiguration.g:3159:2: rule__EPackageImport__Group__0__Impl rule__EPackageImport__Group__1 { pushFollow(FOLLOW_10); rule__EPackageImport__Group__0__Impl(); @@ -10319,17 +10554,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__EPackageImport__Group__0__Impl" - // InternalApplicationConfiguration.g:3095:1: rule__EPackageImport__Group__0__Impl : ( 'import' ) ; + // InternalApplicationConfiguration.g:3166:1: rule__EPackageImport__Group__0__Impl : ( 'import' ) ; public final void rule__EPackageImport__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:3099:1: ( ( 'import' ) ) - // InternalApplicationConfiguration.g:3100:1: ( 'import' ) + // InternalApplicationConfiguration.g:3170:1: ( ( 'import' ) ) + // InternalApplicationConfiguration.g:3171:1: ( 'import' ) { - // InternalApplicationConfiguration.g:3100:1: ( 'import' ) - // InternalApplicationConfiguration.g:3101:2: 'import' + // InternalApplicationConfiguration.g:3171:1: ( 'import' ) + // InternalApplicationConfiguration.g:3172:2: 'import' { before(grammarAccess.getEPackageImportAccess().getImportKeyword_0()); match(input,23,FOLLOW_2); @@ -10356,14 +10591,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__EPackageImport__Group__1" - // InternalApplicationConfiguration.g:3110:1: rule__EPackageImport__Group__1 : rule__EPackageImport__Group__1__Impl rule__EPackageImport__Group__2 ; + // InternalApplicationConfiguration.g:3181:1: rule__EPackageImport__Group__1 : rule__EPackageImport__Group__1__Impl rule__EPackageImport__Group__2 ; public final void rule__EPackageImport__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:3114:1: ( rule__EPackageImport__Group__1__Impl rule__EPackageImport__Group__2 ) - // InternalApplicationConfiguration.g:3115:2: rule__EPackageImport__Group__1__Impl rule__EPackageImport__Group__2 + // InternalApplicationConfiguration.g:3185:1: ( rule__EPackageImport__Group__1__Impl rule__EPackageImport__Group__2 ) + // InternalApplicationConfiguration.g:3186:2: rule__EPackageImport__Group__1__Impl rule__EPackageImport__Group__2 { pushFollow(FOLLOW_11); rule__EPackageImport__Group__1__Impl(); @@ -10394,17 +10629,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__EPackageImport__Group__1__Impl" - // InternalApplicationConfiguration.g:3122:1: rule__EPackageImport__Group__1__Impl : ( 'epackage' ) ; + // InternalApplicationConfiguration.g:3193:1: rule__EPackageImport__Group__1__Impl : ( 'epackage' ) ; public final void rule__EPackageImport__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:3126:1: ( ( 'epackage' ) ) - // InternalApplicationConfiguration.g:3127:1: ( 'epackage' ) + // InternalApplicationConfiguration.g:3197:1: ( ( 'epackage' ) ) + // InternalApplicationConfiguration.g:3198:1: ( 'epackage' ) { - // InternalApplicationConfiguration.g:3127:1: ( 'epackage' ) - // InternalApplicationConfiguration.g:3128:2: 'epackage' + // InternalApplicationConfiguration.g:3198:1: ( 'epackage' ) + // InternalApplicationConfiguration.g:3199:2: 'epackage' { before(grammarAccess.getEPackageImportAccess().getEpackageKeyword_1()); match(input,24,FOLLOW_2); @@ -10431,14 +10666,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__EPackageImport__Group__2" - // InternalApplicationConfiguration.g:3137:1: rule__EPackageImport__Group__2 : rule__EPackageImport__Group__2__Impl ; + // InternalApplicationConfiguration.g:3208:1: rule__EPackageImport__Group__2 : rule__EPackageImport__Group__2__Impl ; public final void rule__EPackageImport__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:3141:1: ( rule__EPackageImport__Group__2__Impl ) - // InternalApplicationConfiguration.g:3142:2: rule__EPackageImport__Group__2__Impl + // InternalApplicationConfiguration.g:3212:1: ( rule__EPackageImport__Group__2__Impl ) + // InternalApplicationConfiguration.g:3213:2: rule__EPackageImport__Group__2__Impl { pushFollow(FOLLOW_2); rule__EPackageImport__Group__2__Impl(); @@ -10464,21 +10699,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__EPackageImport__Group__2__Impl" - // InternalApplicationConfiguration.g:3148:1: rule__EPackageImport__Group__2__Impl : ( ( rule__EPackageImport__ImportedPackageAssignment_2 ) ) ; + // InternalApplicationConfiguration.g:3219:1: rule__EPackageImport__Group__2__Impl : ( ( rule__EPackageImport__ImportedPackageAssignment_2 ) ) ; public final void rule__EPackageImport__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:3152:1: ( ( ( rule__EPackageImport__ImportedPackageAssignment_2 ) ) ) - // InternalApplicationConfiguration.g:3153:1: ( ( rule__EPackageImport__ImportedPackageAssignment_2 ) ) + // InternalApplicationConfiguration.g:3223:1: ( ( ( rule__EPackageImport__ImportedPackageAssignment_2 ) ) ) + // InternalApplicationConfiguration.g:3224:1: ( ( rule__EPackageImport__ImportedPackageAssignment_2 ) ) { - // InternalApplicationConfiguration.g:3153:1: ( ( rule__EPackageImport__ImportedPackageAssignment_2 ) ) - // InternalApplicationConfiguration.g:3154:2: ( rule__EPackageImport__ImportedPackageAssignment_2 ) + // InternalApplicationConfiguration.g:3224:1: ( ( rule__EPackageImport__ImportedPackageAssignment_2 ) ) + // InternalApplicationConfiguration.g:3225:2: ( rule__EPackageImport__ImportedPackageAssignment_2 ) { before(grammarAccess.getEPackageImportAccess().getImportedPackageAssignment_2()); - // InternalApplicationConfiguration.g:3155:2: ( rule__EPackageImport__ImportedPackageAssignment_2 ) - // InternalApplicationConfiguration.g:3155:3: rule__EPackageImport__ImportedPackageAssignment_2 + // InternalApplicationConfiguration.g:3226:2: ( rule__EPackageImport__ImportedPackageAssignment_2 ) + // InternalApplicationConfiguration.g:3226:3: rule__EPackageImport__ImportedPackageAssignment_2 { pushFollow(FOLLOW_2); rule__EPackageImport__ImportedPackageAssignment_2(); @@ -10511,14 +10746,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ViatraImport__Group__0" - // InternalApplicationConfiguration.g:3164:1: rule__ViatraImport__Group__0 : rule__ViatraImport__Group__0__Impl rule__ViatraImport__Group__1 ; + // InternalApplicationConfiguration.g:3235:1: rule__ViatraImport__Group__0 : rule__ViatraImport__Group__0__Impl rule__ViatraImport__Group__1 ; public final void rule__ViatraImport__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:3168:1: ( rule__ViatraImport__Group__0__Impl rule__ViatraImport__Group__1 ) - // InternalApplicationConfiguration.g:3169:2: rule__ViatraImport__Group__0__Impl rule__ViatraImport__Group__1 + // InternalApplicationConfiguration.g:3239:1: ( rule__ViatraImport__Group__0__Impl rule__ViatraImport__Group__1 ) + // InternalApplicationConfiguration.g:3240:2: rule__ViatraImport__Group__0__Impl rule__ViatraImport__Group__1 { pushFollow(FOLLOW_12); rule__ViatraImport__Group__0__Impl(); @@ -10549,17 +10784,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ViatraImport__Group__0__Impl" - // InternalApplicationConfiguration.g:3176:1: rule__ViatraImport__Group__0__Impl : ( 'import' ) ; + // InternalApplicationConfiguration.g:3247:1: rule__ViatraImport__Group__0__Impl : ( 'import' ) ; public final void rule__ViatraImport__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:3180:1: ( ( 'import' ) ) - // InternalApplicationConfiguration.g:3181:1: ( 'import' ) + // InternalApplicationConfiguration.g:3251:1: ( ( 'import' ) ) + // InternalApplicationConfiguration.g:3252:1: ( 'import' ) { - // InternalApplicationConfiguration.g:3181:1: ( 'import' ) - // InternalApplicationConfiguration.g:3182:2: 'import' + // InternalApplicationConfiguration.g:3252:1: ( 'import' ) + // InternalApplicationConfiguration.g:3253:2: 'import' { before(grammarAccess.getViatraImportAccess().getImportKeyword_0()); match(input,23,FOLLOW_2); @@ -10586,14 +10821,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ViatraImport__Group__1" - // InternalApplicationConfiguration.g:3191:1: rule__ViatraImport__Group__1 : rule__ViatraImport__Group__1__Impl rule__ViatraImport__Group__2 ; + // InternalApplicationConfiguration.g:3262:1: rule__ViatraImport__Group__1 : rule__ViatraImport__Group__1__Impl rule__ViatraImport__Group__2 ; public final void rule__ViatraImport__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:3195:1: ( rule__ViatraImport__Group__1__Impl rule__ViatraImport__Group__2 ) - // InternalApplicationConfiguration.g:3196:2: rule__ViatraImport__Group__1__Impl rule__ViatraImport__Group__2 + // InternalApplicationConfiguration.g:3266:1: ( rule__ViatraImport__Group__1__Impl rule__ViatraImport__Group__2 ) + // InternalApplicationConfiguration.g:3267:2: rule__ViatraImport__Group__1__Impl rule__ViatraImport__Group__2 { pushFollow(FOLLOW_11); rule__ViatraImport__Group__1__Impl(); @@ -10624,17 +10859,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ViatraImport__Group__1__Impl" - // InternalApplicationConfiguration.g:3203:1: rule__ViatraImport__Group__1__Impl : ( 'viatra' ) ; + // InternalApplicationConfiguration.g:3274:1: rule__ViatraImport__Group__1__Impl : ( 'viatra' ) ; public final void rule__ViatraImport__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:3207:1: ( ( 'viatra' ) ) - // InternalApplicationConfiguration.g:3208:1: ( 'viatra' ) + // InternalApplicationConfiguration.g:3278:1: ( ( 'viatra' ) ) + // InternalApplicationConfiguration.g:3279:1: ( 'viatra' ) { - // InternalApplicationConfiguration.g:3208:1: ( 'viatra' ) - // InternalApplicationConfiguration.g:3209:2: 'viatra' + // InternalApplicationConfiguration.g:3279:1: ( 'viatra' ) + // InternalApplicationConfiguration.g:3280:2: 'viatra' { before(grammarAccess.getViatraImportAccess().getViatraKeyword_1()); match(input,25,FOLLOW_2); @@ -10661,14 +10896,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ViatraImport__Group__2" - // InternalApplicationConfiguration.g:3218:1: rule__ViatraImport__Group__2 : rule__ViatraImport__Group__2__Impl ; + // InternalApplicationConfiguration.g:3289:1: rule__ViatraImport__Group__2 : rule__ViatraImport__Group__2__Impl ; public final void rule__ViatraImport__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:3222:1: ( rule__ViatraImport__Group__2__Impl ) - // InternalApplicationConfiguration.g:3223:2: rule__ViatraImport__Group__2__Impl + // InternalApplicationConfiguration.g:3293:1: ( rule__ViatraImport__Group__2__Impl ) + // InternalApplicationConfiguration.g:3294:2: rule__ViatraImport__Group__2__Impl { pushFollow(FOLLOW_2); rule__ViatraImport__Group__2__Impl(); @@ -10694,21 +10929,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ViatraImport__Group__2__Impl" - // InternalApplicationConfiguration.g:3229:1: rule__ViatraImport__Group__2__Impl : ( ( rule__ViatraImport__ImportedViatraAssignment_2 ) ) ; + // InternalApplicationConfiguration.g:3300:1: rule__ViatraImport__Group__2__Impl : ( ( rule__ViatraImport__ImportedViatraAssignment_2 ) ) ; public final void rule__ViatraImport__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:3233:1: ( ( ( rule__ViatraImport__ImportedViatraAssignment_2 ) ) ) - // InternalApplicationConfiguration.g:3234:1: ( ( rule__ViatraImport__ImportedViatraAssignment_2 ) ) + // InternalApplicationConfiguration.g:3304:1: ( ( ( rule__ViatraImport__ImportedViatraAssignment_2 ) ) ) + // InternalApplicationConfiguration.g:3305:1: ( ( rule__ViatraImport__ImportedViatraAssignment_2 ) ) { - // InternalApplicationConfiguration.g:3234:1: ( ( rule__ViatraImport__ImportedViatraAssignment_2 ) ) - // InternalApplicationConfiguration.g:3235:2: ( rule__ViatraImport__ImportedViatraAssignment_2 ) + // InternalApplicationConfiguration.g:3305:1: ( ( rule__ViatraImport__ImportedViatraAssignment_2 ) ) + // InternalApplicationConfiguration.g:3306:2: ( rule__ViatraImport__ImportedViatraAssignment_2 ) { before(grammarAccess.getViatraImportAccess().getImportedViatraAssignment_2()); - // InternalApplicationConfiguration.g:3236:2: ( rule__ViatraImport__ImportedViatraAssignment_2 ) - // InternalApplicationConfiguration.g:3236:3: rule__ViatraImport__ImportedViatraAssignment_2 + // InternalApplicationConfiguration.g:3307:2: ( rule__ViatraImport__ImportedViatraAssignment_2 ) + // InternalApplicationConfiguration.g:3307:3: rule__ViatraImport__ImportedViatraAssignment_2 { pushFollow(FOLLOW_2); rule__ViatraImport__ImportedViatraAssignment_2(); @@ -10741,14 +10976,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__CftImport__Group__0" - // InternalApplicationConfiguration.g:3245:1: rule__CftImport__Group__0 : rule__CftImport__Group__0__Impl rule__CftImport__Group__1 ; + // InternalApplicationConfiguration.g:3316:1: rule__CftImport__Group__0 : rule__CftImport__Group__0__Impl rule__CftImport__Group__1 ; public final void rule__CftImport__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:3249:1: ( rule__CftImport__Group__0__Impl rule__CftImport__Group__1 ) - // InternalApplicationConfiguration.g:3250:2: rule__CftImport__Group__0__Impl rule__CftImport__Group__1 + // InternalApplicationConfiguration.g:3320:1: ( rule__CftImport__Group__0__Impl rule__CftImport__Group__1 ) + // InternalApplicationConfiguration.g:3321:2: rule__CftImport__Group__0__Impl rule__CftImport__Group__1 { pushFollow(FOLLOW_13); rule__CftImport__Group__0__Impl(); @@ -10779,17 +11014,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__CftImport__Group__0__Impl" - // InternalApplicationConfiguration.g:3257:1: rule__CftImport__Group__0__Impl : ( 'import' ) ; + // InternalApplicationConfiguration.g:3328:1: rule__CftImport__Group__0__Impl : ( 'import' ) ; public final void rule__CftImport__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:3261:1: ( ( 'import' ) ) - // InternalApplicationConfiguration.g:3262:1: ( 'import' ) + // InternalApplicationConfiguration.g:3332:1: ( ( 'import' ) ) + // InternalApplicationConfiguration.g:3333:1: ( 'import' ) { - // InternalApplicationConfiguration.g:3262:1: ( 'import' ) - // InternalApplicationConfiguration.g:3263:2: 'import' + // InternalApplicationConfiguration.g:3333:1: ( 'import' ) + // InternalApplicationConfiguration.g:3334:2: 'import' { before(grammarAccess.getCftImportAccess().getImportKeyword_0()); match(input,23,FOLLOW_2); @@ -10816,14 +11051,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__CftImport__Group__1" - // InternalApplicationConfiguration.g:3272:1: rule__CftImport__Group__1 : rule__CftImport__Group__1__Impl rule__CftImport__Group__2 ; + // InternalApplicationConfiguration.g:3343:1: rule__CftImport__Group__1 : rule__CftImport__Group__1__Impl rule__CftImport__Group__2 ; public final void rule__CftImport__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:3276:1: ( rule__CftImport__Group__1__Impl rule__CftImport__Group__2 ) - // InternalApplicationConfiguration.g:3277:2: rule__CftImport__Group__1__Impl rule__CftImport__Group__2 + // InternalApplicationConfiguration.g:3347:1: ( rule__CftImport__Group__1__Impl rule__CftImport__Group__2 ) + // InternalApplicationConfiguration.g:3348:2: rule__CftImport__Group__1__Impl rule__CftImport__Group__2 { pushFollow(FOLLOW_11); rule__CftImport__Group__1__Impl(); @@ -10854,17 +11089,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__CftImport__Group__1__Impl" - // InternalApplicationConfiguration.g:3284:1: rule__CftImport__Group__1__Impl : ( 'reliability' ) ; + // InternalApplicationConfiguration.g:3355:1: rule__CftImport__Group__1__Impl : ( 'reliability' ) ; public final void rule__CftImport__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:3288:1: ( ( 'reliability' ) ) - // InternalApplicationConfiguration.g:3289:1: ( 'reliability' ) + // InternalApplicationConfiguration.g:3359:1: ( ( 'reliability' ) ) + // InternalApplicationConfiguration.g:3360:1: ( 'reliability' ) { - // InternalApplicationConfiguration.g:3289:1: ( 'reliability' ) - // InternalApplicationConfiguration.g:3290:2: 'reliability' + // InternalApplicationConfiguration.g:3360:1: ( 'reliability' ) + // InternalApplicationConfiguration.g:3361:2: 'reliability' { before(grammarAccess.getCftImportAccess().getReliabilityKeyword_1()); match(input,26,FOLLOW_2); @@ -10891,14 +11126,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__CftImport__Group__2" - // InternalApplicationConfiguration.g:3299:1: rule__CftImport__Group__2 : rule__CftImport__Group__2__Impl ; + // InternalApplicationConfiguration.g:3370:1: rule__CftImport__Group__2 : rule__CftImport__Group__2__Impl ; public final void rule__CftImport__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:3303:1: ( rule__CftImport__Group__2__Impl ) - // InternalApplicationConfiguration.g:3304:2: rule__CftImport__Group__2__Impl + // InternalApplicationConfiguration.g:3374:1: ( rule__CftImport__Group__2__Impl ) + // InternalApplicationConfiguration.g:3375:2: rule__CftImport__Group__2__Impl { pushFollow(FOLLOW_2); rule__CftImport__Group__2__Impl(); @@ -10924,21 +11159,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__CftImport__Group__2__Impl" - // InternalApplicationConfiguration.g:3310:1: rule__CftImport__Group__2__Impl : ( ( rule__CftImport__ImportedCftAssignment_2 ) ) ; + // InternalApplicationConfiguration.g:3381:1: rule__CftImport__Group__2__Impl : ( ( rule__CftImport__ImportedCftAssignment_2 ) ) ; public final void rule__CftImport__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:3314:1: ( ( ( rule__CftImport__ImportedCftAssignment_2 ) ) ) - // InternalApplicationConfiguration.g:3315:1: ( ( rule__CftImport__ImportedCftAssignment_2 ) ) + // InternalApplicationConfiguration.g:3385:1: ( ( ( rule__CftImport__ImportedCftAssignment_2 ) ) ) + // InternalApplicationConfiguration.g:3386:1: ( ( rule__CftImport__ImportedCftAssignment_2 ) ) { - // InternalApplicationConfiguration.g:3315:1: ( ( rule__CftImport__ImportedCftAssignment_2 ) ) - // InternalApplicationConfiguration.g:3316:2: ( rule__CftImport__ImportedCftAssignment_2 ) + // InternalApplicationConfiguration.g:3386:1: ( ( rule__CftImport__ImportedCftAssignment_2 ) ) + // InternalApplicationConfiguration.g:3387:2: ( rule__CftImport__ImportedCftAssignment_2 ) { before(grammarAccess.getCftImportAccess().getImportedCftAssignment_2()); - // InternalApplicationConfiguration.g:3317:2: ( rule__CftImport__ImportedCftAssignment_2 ) - // InternalApplicationConfiguration.g:3317:3: rule__CftImport__ImportedCftAssignment_2 + // InternalApplicationConfiguration.g:3388:2: ( rule__CftImport__ImportedCftAssignment_2 ) + // InternalApplicationConfiguration.g:3388:3: rule__CftImport__ImportedCftAssignment_2 { pushFollow(FOLLOW_2); rule__CftImport__ImportedCftAssignment_2(); @@ -10971,14 +11206,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__FileDeclaration__Group__0" - // InternalApplicationConfiguration.g:3326:1: rule__FileDeclaration__Group__0 : rule__FileDeclaration__Group__0__Impl rule__FileDeclaration__Group__1 ; + // InternalApplicationConfiguration.g:3397:1: rule__FileDeclaration__Group__0 : rule__FileDeclaration__Group__0__Impl rule__FileDeclaration__Group__1 ; public final void rule__FileDeclaration__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:3330:1: ( rule__FileDeclaration__Group__0__Impl rule__FileDeclaration__Group__1 ) - // InternalApplicationConfiguration.g:3331:2: rule__FileDeclaration__Group__0__Impl rule__FileDeclaration__Group__1 + // InternalApplicationConfiguration.g:3401:1: ( rule__FileDeclaration__Group__0__Impl rule__FileDeclaration__Group__1 ) + // InternalApplicationConfiguration.g:3402:2: rule__FileDeclaration__Group__0__Impl rule__FileDeclaration__Group__1 { pushFollow(FOLLOW_8); rule__FileDeclaration__Group__0__Impl(); @@ -11009,17 +11244,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__FileDeclaration__Group__0__Impl" - // InternalApplicationConfiguration.g:3338:1: rule__FileDeclaration__Group__0__Impl : ( 'file' ) ; + // InternalApplicationConfiguration.g:3409:1: rule__FileDeclaration__Group__0__Impl : ( 'file' ) ; public final void rule__FileDeclaration__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:3342:1: ( ( 'file' ) ) - // InternalApplicationConfiguration.g:3343:1: ( 'file' ) + // InternalApplicationConfiguration.g:3413:1: ( ( 'file' ) ) + // InternalApplicationConfiguration.g:3414:1: ( 'file' ) { - // InternalApplicationConfiguration.g:3343:1: ( 'file' ) - // InternalApplicationConfiguration.g:3344:2: 'file' + // InternalApplicationConfiguration.g:3414:1: ( 'file' ) + // InternalApplicationConfiguration.g:3415:2: 'file' { before(grammarAccess.getFileDeclarationAccess().getFileKeyword_0()); match(input,27,FOLLOW_2); @@ -11046,14 +11281,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__FileDeclaration__Group__1" - // InternalApplicationConfiguration.g:3353:1: rule__FileDeclaration__Group__1 : rule__FileDeclaration__Group__1__Impl rule__FileDeclaration__Group__2 ; + // InternalApplicationConfiguration.g:3424:1: rule__FileDeclaration__Group__1 : rule__FileDeclaration__Group__1__Impl rule__FileDeclaration__Group__2 ; public final void rule__FileDeclaration__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:3357:1: ( rule__FileDeclaration__Group__1__Impl rule__FileDeclaration__Group__2 ) - // InternalApplicationConfiguration.g:3358:2: rule__FileDeclaration__Group__1__Impl rule__FileDeclaration__Group__2 + // InternalApplicationConfiguration.g:3428:1: ( rule__FileDeclaration__Group__1__Impl rule__FileDeclaration__Group__2 ) + // InternalApplicationConfiguration.g:3429:2: rule__FileDeclaration__Group__1__Impl rule__FileDeclaration__Group__2 { pushFollow(FOLLOW_14); rule__FileDeclaration__Group__1__Impl(); @@ -11084,21 +11319,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__FileDeclaration__Group__1__Impl" - // InternalApplicationConfiguration.g:3365:1: rule__FileDeclaration__Group__1__Impl : ( ( rule__FileDeclaration__NameAssignment_1 ) ) ; + // InternalApplicationConfiguration.g:3436:1: rule__FileDeclaration__Group__1__Impl : ( ( rule__FileDeclaration__NameAssignment_1 ) ) ; public final void rule__FileDeclaration__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:3369:1: ( ( ( rule__FileDeclaration__NameAssignment_1 ) ) ) - // InternalApplicationConfiguration.g:3370:1: ( ( rule__FileDeclaration__NameAssignment_1 ) ) + // InternalApplicationConfiguration.g:3440:1: ( ( ( rule__FileDeclaration__NameAssignment_1 ) ) ) + // InternalApplicationConfiguration.g:3441:1: ( ( rule__FileDeclaration__NameAssignment_1 ) ) { - // InternalApplicationConfiguration.g:3370:1: ( ( rule__FileDeclaration__NameAssignment_1 ) ) - // InternalApplicationConfiguration.g:3371:2: ( rule__FileDeclaration__NameAssignment_1 ) + // InternalApplicationConfiguration.g:3441:1: ( ( rule__FileDeclaration__NameAssignment_1 ) ) + // InternalApplicationConfiguration.g:3442:2: ( rule__FileDeclaration__NameAssignment_1 ) { before(grammarAccess.getFileDeclarationAccess().getNameAssignment_1()); - // InternalApplicationConfiguration.g:3372:2: ( rule__FileDeclaration__NameAssignment_1 ) - // InternalApplicationConfiguration.g:3372:3: rule__FileDeclaration__NameAssignment_1 + // InternalApplicationConfiguration.g:3443:2: ( rule__FileDeclaration__NameAssignment_1 ) + // InternalApplicationConfiguration.g:3443:3: rule__FileDeclaration__NameAssignment_1 { pushFollow(FOLLOW_2); rule__FileDeclaration__NameAssignment_1(); @@ -11131,14 +11366,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__FileDeclaration__Group__2" - // InternalApplicationConfiguration.g:3380:1: rule__FileDeclaration__Group__2 : rule__FileDeclaration__Group__2__Impl rule__FileDeclaration__Group__3 ; + // InternalApplicationConfiguration.g:3451:1: rule__FileDeclaration__Group__2 : rule__FileDeclaration__Group__2__Impl rule__FileDeclaration__Group__3 ; public final void rule__FileDeclaration__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:3384:1: ( rule__FileDeclaration__Group__2__Impl rule__FileDeclaration__Group__3 ) - // InternalApplicationConfiguration.g:3385:2: rule__FileDeclaration__Group__2__Impl rule__FileDeclaration__Group__3 + // InternalApplicationConfiguration.g:3455:1: ( rule__FileDeclaration__Group__2__Impl rule__FileDeclaration__Group__3 ) + // InternalApplicationConfiguration.g:3456:2: rule__FileDeclaration__Group__2__Impl rule__FileDeclaration__Group__3 { pushFollow(FOLLOW_11); rule__FileDeclaration__Group__2__Impl(); @@ -11169,17 +11404,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__FileDeclaration__Group__2__Impl" - // InternalApplicationConfiguration.g:3392:1: rule__FileDeclaration__Group__2__Impl : ( '=' ) ; + // InternalApplicationConfiguration.g:3463:1: rule__FileDeclaration__Group__2__Impl : ( '=' ) ; public final void rule__FileDeclaration__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:3396:1: ( ( '=' ) ) - // InternalApplicationConfiguration.g:3397:1: ( '=' ) + // InternalApplicationConfiguration.g:3467:1: ( ( '=' ) ) + // InternalApplicationConfiguration.g:3468:1: ( '=' ) { - // InternalApplicationConfiguration.g:3397:1: ( '=' ) - // InternalApplicationConfiguration.g:3398:2: '=' + // InternalApplicationConfiguration.g:3468:1: ( '=' ) + // InternalApplicationConfiguration.g:3469:2: '=' { before(grammarAccess.getFileDeclarationAccess().getEqualsSignKeyword_2()); match(input,28,FOLLOW_2); @@ -11206,14 +11441,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__FileDeclaration__Group__3" - // InternalApplicationConfiguration.g:3407:1: rule__FileDeclaration__Group__3 : rule__FileDeclaration__Group__3__Impl ; + // InternalApplicationConfiguration.g:3478:1: rule__FileDeclaration__Group__3 : rule__FileDeclaration__Group__3__Impl ; public final void rule__FileDeclaration__Group__3() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:3411:1: ( rule__FileDeclaration__Group__3__Impl ) - // InternalApplicationConfiguration.g:3412:2: rule__FileDeclaration__Group__3__Impl + // InternalApplicationConfiguration.g:3482:1: ( rule__FileDeclaration__Group__3__Impl ) + // InternalApplicationConfiguration.g:3483:2: rule__FileDeclaration__Group__3__Impl { pushFollow(FOLLOW_2); rule__FileDeclaration__Group__3__Impl(); @@ -11239,21 +11474,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__FileDeclaration__Group__3__Impl" - // InternalApplicationConfiguration.g:3418:1: rule__FileDeclaration__Group__3__Impl : ( ( rule__FileDeclaration__SpecificationAssignment_3 ) ) ; + // InternalApplicationConfiguration.g:3489:1: rule__FileDeclaration__Group__3__Impl : ( ( rule__FileDeclaration__SpecificationAssignment_3 ) ) ; public final void rule__FileDeclaration__Group__3__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:3422:1: ( ( ( rule__FileDeclaration__SpecificationAssignment_3 ) ) ) - // InternalApplicationConfiguration.g:3423:1: ( ( rule__FileDeclaration__SpecificationAssignment_3 ) ) + // InternalApplicationConfiguration.g:3493:1: ( ( ( rule__FileDeclaration__SpecificationAssignment_3 ) ) ) + // InternalApplicationConfiguration.g:3494:1: ( ( rule__FileDeclaration__SpecificationAssignment_3 ) ) { - // InternalApplicationConfiguration.g:3423:1: ( ( rule__FileDeclaration__SpecificationAssignment_3 ) ) - // InternalApplicationConfiguration.g:3424:2: ( rule__FileDeclaration__SpecificationAssignment_3 ) + // InternalApplicationConfiguration.g:3494:1: ( ( rule__FileDeclaration__SpecificationAssignment_3 ) ) + // InternalApplicationConfiguration.g:3495:2: ( rule__FileDeclaration__SpecificationAssignment_3 ) { before(grammarAccess.getFileDeclarationAccess().getSpecificationAssignment_3()); - // InternalApplicationConfiguration.g:3425:2: ( rule__FileDeclaration__SpecificationAssignment_3 ) - // InternalApplicationConfiguration.g:3425:3: rule__FileDeclaration__SpecificationAssignment_3 + // InternalApplicationConfiguration.g:3496:2: ( rule__FileDeclaration__SpecificationAssignment_3 ) + // InternalApplicationConfiguration.g:3496:3: rule__FileDeclaration__SpecificationAssignment_3 { pushFollow(FOLLOW_2); rule__FileDeclaration__SpecificationAssignment_3(); @@ -11286,14 +11521,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__MetamodelSpecification__Group__0" - // InternalApplicationConfiguration.g:3434:1: rule__MetamodelSpecification__Group__0 : rule__MetamodelSpecification__Group__0__Impl rule__MetamodelSpecification__Group__1 ; + // InternalApplicationConfiguration.g:3505:1: rule__MetamodelSpecification__Group__0 : rule__MetamodelSpecification__Group__0__Impl rule__MetamodelSpecification__Group__1 ; public final void rule__MetamodelSpecification__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:3438:1: ( rule__MetamodelSpecification__Group__0__Impl rule__MetamodelSpecification__Group__1 ) - // InternalApplicationConfiguration.g:3439:2: rule__MetamodelSpecification__Group__0__Impl rule__MetamodelSpecification__Group__1 + // InternalApplicationConfiguration.g:3509:1: ( rule__MetamodelSpecification__Group__0__Impl rule__MetamodelSpecification__Group__1 ) + // InternalApplicationConfiguration.g:3510:2: rule__MetamodelSpecification__Group__0__Impl rule__MetamodelSpecification__Group__1 { pushFollow(FOLLOW_15); rule__MetamodelSpecification__Group__0__Impl(); @@ -11324,17 +11559,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__MetamodelSpecification__Group__0__Impl" - // InternalApplicationConfiguration.g:3446:1: rule__MetamodelSpecification__Group__0__Impl : ( '{' ) ; + // InternalApplicationConfiguration.g:3517:1: rule__MetamodelSpecification__Group__0__Impl : ( '{' ) ; public final void rule__MetamodelSpecification__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:3450:1: ( ( '{' ) ) - // InternalApplicationConfiguration.g:3451:1: ( '{' ) + // InternalApplicationConfiguration.g:3521:1: ( ( '{' ) ) + // InternalApplicationConfiguration.g:3522:1: ( '{' ) { - // InternalApplicationConfiguration.g:3451:1: ( '{' ) - // InternalApplicationConfiguration.g:3452:2: '{' + // InternalApplicationConfiguration.g:3522:1: ( '{' ) + // InternalApplicationConfiguration.g:3523:2: '{' { before(grammarAccess.getMetamodelSpecificationAccess().getLeftCurlyBracketKeyword_0()); match(input,29,FOLLOW_2); @@ -11361,14 +11596,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__MetamodelSpecification__Group__1" - // InternalApplicationConfiguration.g:3461:1: rule__MetamodelSpecification__Group__1 : rule__MetamodelSpecification__Group__1__Impl rule__MetamodelSpecification__Group__2 ; + // InternalApplicationConfiguration.g:3532:1: rule__MetamodelSpecification__Group__1 : rule__MetamodelSpecification__Group__1__Impl rule__MetamodelSpecification__Group__2 ; public final void rule__MetamodelSpecification__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:3465:1: ( rule__MetamodelSpecification__Group__1__Impl rule__MetamodelSpecification__Group__2 ) - // InternalApplicationConfiguration.g:3466:2: rule__MetamodelSpecification__Group__1__Impl rule__MetamodelSpecification__Group__2 + // InternalApplicationConfiguration.g:3536:1: ( rule__MetamodelSpecification__Group__1__Impl rule__MetamodelSpecification__Group__2 ) + // InternalApplicationConfiguration.g:3537:2: rule__MetamodelSpecification__Group__1__Impl rule__MetamodelSpecification__Group__2 { pushFollow(FOLLOW_16); rule__MetamodelSpecification__Group__1__Impl(); @@ -11399,21 +11634,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__MetamodelSpecification__Group__1__Impl" - // InternalApplicationConfiguration.g:3473:1: rule__MetamodelSpecification__Group__1__Impl : ( ( rule__MetamodelSpecification__EntriesAssignment_1 ) ) ; + // InternalApplicationConfiguration.g:3544:1: rule__MetamodelSpecification__Group__1__Impl : ( ( rule__MetamodelSpecification__EntriesAssignment_1 ) ) ; public final void rule__MetamodelSpecification__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:3477:1: ( ( ( rule__MetamodelSpecification__EntriesAssignment_1 ) ) ) - // InternalApplicationConfiguration.g:3478:1: ( ( rule__MetamodelSpecification__EntriesAssignment_1 ) ) + // InternalApplicationConfiguration.g:3548:1: ( ( ( rule__MetamodelSpecification__EntriesAssignment_1 ) ) ) + // InternalApplicationConfiguration.g:3549:1: ( ( rule__MetamodelSpecification__EntriesAssignment_1 ) ) { - // InternalApplicationConfiguration.g:3478:1: ( ( rule__MetamodelSpecification__EntriesAssignment_1 ) ) - // InternalApplicationConfiguration.g:3479:2: ( rule__MetamodelSpecification__EntriesAssignment_1 ) + // InternalApplicationConfiguration.g:3549:1: ( ( rule__MetamodelSpecification__EntriesAssignment_1 ) ) + // InternalApplicationConfiguration.g:3550:2: ( rule__MetamodelSpecification__EntriesAssignment_1 ) { before(grammarAccess.getMetamodelSpecificationAccess().getEntriesAssignment_1()); - // InternalApplicationConfiguration.g:3480:2: ( rule__MetamodelSpecification__EntriesAssignment_1 ) - // InternalApplicationConfiguration.g:3480:3: rule__MetamodelSpecification__EntriesAssignment_1 + // InternalApplicationConfiguration.g:3551:2: ( rule__MetamodelSpecification__EntriesAssignment_1 ) + // InternalApplicationConfiguration.g:3551:3: rule__MetamodelSpecification__EntriesAssignment_1 { pushFollow(FOLLOW_2); rule__MetamodelSpecification__EntriesAssignment_1(); @@ -11446,14 +11681,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__MetamodelSpecification__Group__2" - // InternalApplicationConfiguration.g:3488:1: rule__MetamodelSpecification__Group__2 : rule__MetamodelSpecification__Group__2__Impl rule__MetamodelSpecification__Group__3 ; + // InternalApplicationConfiguration.g:3559:1: rule__MetamodelSpecification__Group__2 : rule__MetamodelSpecification__Group__2__Impl rule__MetamodelSpecification__Group__3 ; public final void rule__MetamodelSpecification__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:3492:1: ( rule__MetamodelSpecification__Group__2__Impl rule__MetamodelSpecification__Group__3 ) - // InternalApplicationConfiguration.g:3493:2: rule__MetamodelSpecification__Group__2__Impl rule__MetamodelSpecification__Group__3 + // InternalApplicationConfiguration.g:3563:1: ( rule__MetamodelSpecification__Group__2__Impl rule__MetamodelSpecification__Group__3 ) + // InternalApplicationConfiguration.g:3564:2: rule__MetamodelSpecification__Group__2__Impl rule__MetamodelSpecification__Group__3 { pushFollow(FOLLOW_16); rule__MetamodelSpecification__Group__2__Impl(); @@ -11484,33 +11719,33 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__MetamodelSpecification__Group__2__Impl" - // InternalApplicationConfiguration.g:3500:1: rule__MetamodelSpecification__Group__2__Impl : ( ( rule__MetamodelSpecification__Group_2__0 )* ) ; + // InternalApplicationConfiguration.g:3571:1: rule__MetamodelSpecification__Group__2__Impl : ( ( rule__MetamodelSpecification__Group_2__0 )* ) ; public final void rule__MetamodelSpecification__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:3504:1: ( ( ( rule__MetamodelSpecification__Group_2__0 )* ) ) - // InternalApplicationConfiguration.g:3505:1: ( ( rule__MetamodelSpecification__Group_2__0 )* ) + // InternalApplicationConfiguration.g:3575:1: ( ( ( rule__MetamodelSpecification__Group_2__0 )* ) ) + // InternalApplicationConfiguration.g:3576:1: ( ( rule__MetamodelSpecification__Group_2__0 )* ) { - // InternalApplicationConfiguration.g:3505:1: ( ( rule__MetamodelSpecification__Group_2__0 )* ) - // InternalApplicationConfiguration.g:3506:2: ( rule__MetamodelSpecification__Group_2__0 )* + // InternalApplicationConfiguration.g:3576:1: ( ( rule__MetamodelSpecification__Group_2__0 )* ) + // InternalApplicationConfiguration.g:3577:2: ( rule__MetamodelSpecification__Group_2__0 )* { before(grammarAccess.getMetamodelSpecificationAccess().getGroup_2()); - // InternalApplicationConfiguration.g:3507:2: ( rule__MetamodelSpecification__Group_2__0 )* - loop38: + // InternalApplicationConfiguration.g:3578:2: ( rule__MetamodelSpecification__Group_2__0 )* + loop39: do { - int alt38=2; - int LA38_0 = input.LA(1); + int alt39=2; + int LA39_0 = input.LA(1); - if ( (LA38_0==31) ) { - alt38=1; + if ( (LA39_0==31) ) { + alt39=1; } - switch (alt38) { + switch (alt39) { case 1 : - // InternalApplicationConfiguration.g:3507:3: rule__MetamodelSpecification__Group_2__0 + // InternalApplicationConfiguration.g:3578:3: rule__MetamodelSpecification__Group_2__0 { pushFollow(FOLLOW_17); rule__MetamodelSpecification__Group_2__0(); @@ -11522,7 +11757,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont break; default : - break loop38; + break loop39; } } while (true); @@ -11549,14 +11784,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__MetamodelSpecification__Group__3" - // InternalApplicationConfiguration.g:3515:1: rule__MetamodelSpecification__Group__3 : rule__MetamodelSpecification__Group__3__Impl ; + // InternalApplicationConfiguration.g:3586:1: rule__MetamodelSpecification__Group__3 : rule__MetamodelSpecification__Group__3__Impl ; public final void rule__MetamodelSpecification__Group__3() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:3519:1: ( rule__MetamodelSpecification__Group__3__Impl ) - // InternalApplicationConfiguration.g:3520:2: rule__MetamodelSpecification__Group__3__Impl + // InternalApplicationConfiguration.g:3590:1: ( rule__MetamodelSpecification__Group__3__Impl ) + // InternalApplicationConfiguration.g:3591:2: rule__MetamodelSpecification__Group__3__Impl { pushFollow(FOLLOW_2); rule__MetamodelSpecification__Group__3__Impl(); @@ -11582,17 +11817,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__MetamodelSpecification__Group__3__Impl" - // InternalApplicationConfiguration.g:3526:1: rule__MetamodelSpecification__Group__3__Impl : ( '}' ) ; + // InternalApplicationConfiguration.g:3597:1: rule__MetamodelSpecification__Group__3__Impl : ( '}' ) ; public final void rule__MetamodelSpecification__Group__3__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:3530:1: ( ( '}' ) ) - // InternalApplicationConfiguration.g:3531:1: ( '}' ) + // InternalApplicationConfiguration.g:3601:1: ( ( '}' ) ) + // InternalApplicationConfiguration.g:3602:1: ( '}' ) { - // InternalApplicationConfiguration.g:3531:1: ( '}' ) - // InternalApplicationConfiguration.g:3532:2: '}' + // InternalApplicationConfiguration.g:3602:1: ( '}' ) + // InternalApplicationConfiguration.g:3603:2: '}' { before(grammarAccess.getMetamodelSpecificationAccess().getRightCurlyBracketKeyword_3()); match(input,30,FOLLOW_2); @@ -11619,14 +11854,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__MetamodelSpecification__Group_2__0" - // InternalApplicationConfiguration.g:3542:1: rule__MetamodelSpecification__Group_2__0 : rule__MetamodelSpecification__Group_2__0__Impl rule__MetamodelSpecification__Group_2__1 ; + // InternalApplicationConfiguration.g:3613:1: rule__MetamodelSpecification__Group_2__0 : rule__MetamodelSpecification__Group_2__0__Impl rule__MetamodelSpecification__Group_2__1 ; public final void rule__MetamodelSpecification__Group_2__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:3546:1: ( rule__MetamodelSpecification__Group_2__0__Impl rule__MetamodelSpecification__Group_2__1 ) - // InternalApplicationConfiguration.g:3547:2: rule__MetamodelSpecification__Group_2__0__Impl rule__MetamodelSpecification__Group_2__1 + // InternalApplicationConfiguration.g:3617:1: ( rule__MetamodelSpecification__Group_2__0__Impl rule__MetamodelSpecification__Group_2__1 ) + // InternalApplicationConfiguration.g:3618:2: rule__MetamodelSpecification__Group_2__0__Impl rule__MetamodelSpecification__Group_2__1 { pushFollow(FOLLOW_15); rule__MetamodelSpecification__Group_2__0__Impl(); @@ -11657,17 +11892,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__MetamodelSpecification__Group_2__0__Impl" - // InternalApplicationConfiguration.g:3554:1: rule__MetamodelSpecification__Group_2__0__Impl : ( ',' ) ; + // InternalApplicationConfiguration.g:3625:1: rule__MetamodelSpecification__Group_2__0__Impl : ( ',' ) ; public final void rule__MetamodelSpecification__Group_2__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:3558:1: ( ( ',' ) ) - // InternalApplicationConfiguration.g:3559:1: ( ',' ) + // InternalApplicationConfiguration.g:3629:1: ( ( ',' ) ) + // InternalApplicationConfiguration.g:3630:1: ( ',' ) { - // InternalApplicationConfiguration.g:3559:1: ( ',' ) - // InternalApplicationConfiguration.g:3560:2: ',' + // InternalApplicationConfiguration.g:3630:1: ( ',' ) + // InternalApplicationConfiguration.g:3631:2: ',' { before(grammarAccess.getMetamodelSpecificationAccess().getCommaKeyword_2_0()); match(input,31,FOLLOW_2); @@ -11694,14 +11929,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__MetamodelSpecification__Group_2__1" - // InternalApplicationConfiguration.g:3569:1: rule__MetamodelSpecification__Group_2__1 : rule__MetamodelSpecification__Group_2__1__Impl ; + // InternalApplicationConfiguration.g:3640:1: rule__MetamodelSpecification__Group_2__1 : rule__MetamodelSpecification__Group_2__1__Impl ; public final void rule__MetamodelSpecification__Group_2__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:3573:1: ( rule__MetamodelSpecification__Group_2__1__Impl ) - // InternalApplicationConfiguration.g:3574:2: rule__MetamodelSpecification__Group_2__1__Impl + // InternalApplicationConfiguration.g:3644:1: ( rule__MetamodelSpecification__Group_2__1__Impl ) + // InternalApplicationConfiguration.g:3645:2: rule__MetamodelSpecification__Group_2__1__Impl { pushFollow(FOLLOW_2); rule__MetamodelSpecification__Group_2__1__Impl(); @@ -11727,21 +11962,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__MetamodelSpecification__Group_2__1__Impl" - // InternalApplicationConfiguration.g:3580:1: rule__MetamodelSpecification__Group_2__1__Impl : ( ( rule__MetamodelSpecification__EntriesAssignment_2_1 ) ) ; + // InternalApplicationConfiguration.g:3651:1: rule__MetamodelSpecification__Group_2__1__Impl : ( ( rule__MetamodelSpecification__EntriesAssignment_2_1 ) ) ; public final void rule__MetamodelSpecification__Group_2__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:3584:1: ( ( ( rule__MetamodelSpecification__EntriesAssignment_2_1 ) ) ) - // InternalApplicationConfiguration.g:3585:1: ( ( rule__MetamodelSpecification__EntriesAssignment_2_1 ) ) + // InternalApplicationConfiguration.g:3655:1: ( ( ( rule__MetamodelSpecification__EntriesAssignment_2_1 ) ) ) + // InternalApplicationConfiguration.g:3656:1: ( ( rule__MetamodelSpecification__EntriesAssignment_2_1 ) ) { - // InternalApplicationConfiguration.g:3585:1: ( ( rule__MetamodelSpecification__EntriesAssignment_2_1 ) ) - // InternalApplicationConfiguration.g:3586:2: ( rule__MetamodelSpecification__EntriesAssignment_2_1 ) + // InternalApplicationConfiguration.g:3656:1: ( ( rule__MetamodelSpecification__EntriesAssignment_2_1 ) ) + // InternalApplicationConfiguration.g:3657:2: ( rule__MetamodelSpecification__EntriesAssignment_2_1 ) { before(grammarAccess.getMetamodelSpecificationAccess().getEntriesAssignment_2_1()); - // InternalApplicationConfiguration.g:3587:2: ( rule__MetamodelSpecification__EntriesAssignment_2_1 ) - // InternalApplicationConfiguration.g:3587:3: rule__MetamodelSpecification__EntriesAssignment_2_1 + // InternalApplicationConfiguration.g:3658:2: ( rule__MetamodelSpecification__EntriesAssignment_2_1 ) + // InternalApplicationConfiguration.g:3658:3: rule__MetamodelSpecification__EntriesAssignment_2_1 { pushFollow(FOLLOW_2); rule__MetamodelSpecification__EntriesAssignment_2_1(); @@ -11774,14 +12009,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__AllPackageEntry__Group__0" - // InternalApplicationConfiguration.g:3596:1: rule__AllPackageEntry__Group__0 : rule__AllPackageEntry__Group__0__Impl rule__AllPackageEntry__Group__1 ; + // InternalApplicationConfiguration.g:3667:1: rule__AllPackageEntry__Group__0 : rule__AllPackageEntry__Group__0__Impl rule__AllPackageEntry__Group__1 ; public final void rule__AllPackageEntry__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:3600:1: ( rule__AllPackageEntry__Group__0__Impl rule__AllPackageEntry__Group__1 ) - // InternalApplicationConfiguration.g:3601:2: rule__AllPackageEntry__Group__0__Impl rule__AllPackageEntry__Group__1 + // InternalApplicationConfiguration.g:3671:1: ( rule__AllPackageEntry__Group__0__Impl rule__AllPackageEntry__Group__1 ) + // InternalApplicationConfiguration.g:3672:2: rule__AllPackageEntry__Group__0__Impl rule__AllPackageEntry__Group__1 { pushFollow(FOLLOW_8); rule__AllPackageEntry__Group__0__Impl(); @@ -11812,17 +12047,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__AllPackageEntry__Group__0__Impl" - // InternalApplicationConfiguration.g:3608:1: rule__AllPackageEntry__Group__0__Impl : ( 'package' ) ; + // InternalApplicationConfiguration.g:3679:1: rule__AllPackageEntry__Group__0__Impl : ( 'package' ) ; public final void rule__AllPackageEntry__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:3612:1: ( ( 'package' ) ) - // InternalApplicationConfiguration.g:3613:1: ( 'package' ) + // InternalApplicationConfiguration.g:3683:1: ( ( 'package' ) ) + // InternalApplicationConfiguration.g:3684:1: ( 'package' ) { - // InternalApplicationConfiguration.g:3613:1: ( 'package' ) - // InternalApplicationConfiguration.g:3614:2: 'package' + // InternalApplicationConfiguration.g:3684:1: ( 'package' ) + // InternalApplicationConfiguration.g:3685:2: 'package' { before(grammarAccess.getAllPackageEntryAccess().getPackageKeyword_0()); match(input,32,FOLLOW_2); @@ -11849,14 +12084,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__AllPackageEntry__Group__1" - // InternalApplicationConfiguration.g:3623:1: rule__AllPackageEntry__Group__1 : rule__AllPackageEntry__Group__1__Impl rule__AllPackageEntry__Group__2 ; + // InternalApplicationConfiguration.g:3694:1: rule__AllPackageEntry__Group__1 : rule__AllPackageEntry__Group__1__Impl rule__AllPackageEntry__Group__2 ; public final void rule__AllPackageEntry__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:3627:1: ( rule__AllPackageEntry__Group__1__Impl rule__AllPackageEntry__Group__2 ) - // InternalApplicationConfiguration.g:3628:2: rule__AllPackageEntry__Group__1__Impl rule__AllPackageEntry__Group__2 + // InternalApplicationConfiguration.g:3698:1: ( rule__AllPackageEntry__Group__1__Impl rule__AllPackageEntry__Group__2 ) + // InternalApplicationConfiguration.g:3699:2: rule__AllPackageEntry__Group__1__Impl rule__AllPackageEntry__Group__2 { pushFollow(FOLLOW_18); rule__AllPackageEntry__Group__1__Impl(); @@ -11887,21 +12122,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__AllPackageEntry__Group__1__Impl" - // InternalApplicationConfiguration.g:3635:1: rule__AllPackageEntry__Group__1__Impl : ( ( rule__AllPackageEntry__PackageAssignment_1 ) ) ; + // InternalApplicationConfiguration.g:3706:1: rule__AllPackageEntry__Group__1__Impl : ( ( rule__AllPackageEntry__PackageAssignment_1 ) ) ; public final void rule__AllPackageEntry__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:3639:1: ( ( ( rule__AllPackageEntry__PackageAssignment_1 ) ) ) - // InternalApplicationConfiguration.g:3640:1: ( ( rule__AllPackageEntry__PackageAssignment_1 ) ) + // InternalApplicationConfiguration.g:3710:1: ( ( ( rule__AllPackageEntry__PackageAssignment_1 ) ) ) + // InternalApplicationConfiguration.g:3711:1: ( ( rule__AllPackageEntry__PackageAssignment_1 ) ) { - // InternalApplicationConfiguration.g:3640:1: ( ( rule__AllPackageEntry__PackageAssignment_1 ) ) - // InternalApplicationConfiguration.g:3641:2: ( rule__AllPackageEntry__PackageAssignment_1 ) + // InternalApplicationConfiguration.g:3711:1: ( ( rule__AllPackageEntry__PackageAssignment_1 ) ) + // InternalApplicationConfiguration.g:3712:2: ( rule__AllPackageEntry__PackageAssignment_1 ) { before(grammarAccess.getAllPackageEntryAccess().getPackageAssignment_1()); - // InternalApplicationConfiguration.g:3642:2: ( rule__AllPackageEntry__PackageAssignment_1 ) - // InternalApplicationConfiguration.g:3642:3: rule__AllPackageEntry__PackageAssignment_1 + // InternalApplicationConfiguration.g:3713:2: ( rule__AllPackageEntry__PackageAssignment_1 ) + // InternalApplicationConfiguration.g:3713:3: rule__AllPackageEntry__PackageAssignment_1 { pushFollow(FOLLOW_2); rule__AllPackageEntry__PackageAssignment_1(); @@ -11934,14 +12169,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__AllPackageEntry__Group__2" - // InternalApplicationConfiguration.g:3650:1: rule__AllPackageEntry__Group__2 : rule__AllPackageEntry__Group__2__Impl ; + // InternalApplicationConfiguration.g:3721:1: rule__AllPackageEntry__Group__2 : rule__AllPackageEntry__Group__2__Impl ; public final void rule__AllPackageEntry__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:3654:1: ( rule__AllPackageEntry__Group__2__Impl ) - // InternalApplicationConfiguration.g:3655:2: rule__AllPackageEntry__Group__2__Impl + // InternalApplicationConfiguration.g:3725:1: ( rule__AllPackageEntry__Group__2__Impl ) + // InternalApplicationConfiguration.g:3726:2: rule__AllPackageEntry__Group__2__Impl { pushFollow(FOLLOW_2); rule__AllPackageEntry__Group__2__Impl(); @@ -11967,29 +12202,29 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__AllPackageEntry__Group__2__Impl" - // InternalApplicationConfiguration.g:3661:1: rule__AllPackageEntry__Group__2__Impl : ( ( rule__AllPackageEntry__Group_2__0 )? ) ; + // InternalApplicationConfiguration.g:3732:1: rule__AllPackageEntry__Group__2__Impl : ( ( rule__AllPackageEntry__Group_2__0 )? ) ; public final void rule__AllPackageEntry__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:3665:1: ( ( ( rule__AllPackageEntry__Group_2__0 )? ) ) - // InternalApplicationConfiguration.g:3666:1: ( ( rule__AllPackageEntry__Group_2__0 )? ) + // InternalApplicationConfiguration.g:3736:1: ( ( ( rule__AllPackageEntry__Group_2__0 )? ) ) + // InternalApplicationConfiguration.g:3737:1: ( ( rule__AllPackageEntry__Group_2__0 )? ) { - // InternalApplicationConfiguration.g:3666:1: ( ( rule__AllPackageEntry__Group_2__0 )? ) - // InternalApplicationConfiguration.g:3667:2: ( rule__AllPackageEntry__Group_2__0 )? + // InternalApplicationConfiguration.g:3737:1: ( ( rule__AllPackageEntry__Group_2__0 )? ) + // InternalApplicationConfiguration.g:3738:2: ( rule__AllPackageEntry__Group_2__0 )? { before(grammarAccess.getAllPackageEntryAccess().getGroup_2()); - // InternalApplicationConfiguration.g:3668:2: ( rule__AllPackageEntry__Group_2__0 )? - int alt39=2; - int LA39_0 = input.LA(1); + // InternalApplicationConfiguration.g:3739:2: ( rule__AllPackageEntry__Group_2__0 )? + int alt40=2; + int LA40_0 = input.LA(1); - if ( (LA39_0==33) ) { - alt39=1; + if ( (LA40_0==33) ) { + alt40=1; } - switch (alt39) { + switch (alt40) { case 1 : - // InternalApplicationConfiguration.g:3668:3: rule__AllPackageEntry__Group_2__0 + // InternalApplicationConfiguration.g:3739:3: rule__AllPackageEntry__Group_2__0 { pushFollow(FOLLOW_2); rule__AllPackageEntry__Group_2__0(); @@ -12025,14 +12260,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__AllPackageEntry__Group_2__0" - // InternalApplicationConfiguration.g:3677:1: rule__AllPackageEntry__Group_2__0 : rule__AllPackageEntry__Group_2__0__Impl rule__AllPackageEntry__Group_2__1 ; + // InternalApplicationConfiguration.g:3748:1: rule__AllPackageEntry__Group_2__0 : rule__AllPackageEntry__Group_2__0__Impl rule__AllPackageEntry__Group_2__1 ; public final void rule__AllPackageEntry__Group_2__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:3681:1: ( rule__AllPackageEntry__Group_2__0__Impl rule__AllPackageEntry__Group_2__1 ) - // InternalApplicationConfiguration.g:3682:2: rule__AllPackageEntry__Group_2__0__Impl rule__AllPackageEntry__Group_2__1 + // InternalApplicationConfiguration.g:3752:1: ( rule__AllPackageEntry__Group_2__0__Impl rule__AllPackageEntry__Group_2__1 ) + // InternalApplicationConfiguration.g:3753:2: rule__AllPackageEntry__Group_2__0__Impl rule__AllPackageEntry__Group_2__1 { pushFollow(FOLLOW_19); rule__AllPackageEntry__Group_2__0__Impl(); @@ -12063,17 +12298,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__AllPackageEntry__Group_2__0__Impl" - // InternalApplicationConfiguration.g:3689:1: rule__AllPackageEntry__Group_2__0__Impl : ( 'excluding' ) ; + // InternalApplicationConfiguration.g:3760:1: rule__AllPackageEntry__Group_2__0__Impl : ( 'excluding' ) ; public final void rule__AllPackageEntry__Group_2__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:3693:1: ( ( 'excluding' ) ) - // InternalApplicationConfiguration.g:3694:1: ( 'excluding' ) + // InternalApplicationConfiguration.g:3764:1: ( ( 'excluding' ) ) + // InternalApplicationConfiguration.g:3765:1: ( 'excluding' ) { - // InternalApplicationConfiguration.g:3694:1: ( 'excluding' ) - // InternalApplicationConfiguration.g:3695:2: 'excluding' + // InternalApplicationConfiguration.g:3765:1: ( 'excluding' ) + // InternalApplicationConfiguration.g:3766:2: 'excluding' { before(grammarAccess.getAllPackageEntryAccess().getExcludingKeyword_2_0()); match(input,33,FOLLOW_2); @@ -12100,14 +12335,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__AllPackageEntry__Group_2__1" - // InternalApplicationConfiguration.g:3704:1: rule__AllPackageEntry__Group_2__1 : rule__AllPackageEntry__Group_2__1__Impl rule__AllPackageEntry__Group_2__2 ; + // InternalApplicationConfiguration.g:3775:1: rule__AllPackageEntry__Group_2__1 : rule__AllPackageEntry__Group_2__1__Impl rule__AllPackageEntry__Group_2__2 ; public final void rule__AllPackageEntry__Group_2__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:3708:1: ( rule__AllPackageEntry__Group_2__1__Impl rule__AllPackageEntry__Group_2__2 ) - // InternalApplicationConfiguration.g:3709:2: rule__AllPackageEntry__Group_2__1__Impl rule__AllPackageEntry__Group_2__2 + // InternalApplicationConfiguration.g:3779:1: ( rule__AllPackageEntry__Group_2__1__Impl rule__AllPackageEntry__Group_2__2 ) + // InternalApplicationConfiguration.g:3780:2: rule__AllPackageEntry__Group_2__1__Impl rule__AllPackageEntry__Group_2__2 { pushFollow(FOLLOW_8); rule__AllPackageEntry__Group_2__1__Impl(); @@ -12138,17 +12373,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__AllPackageEntry__Group_2__1__Impl" - // InternalApplicationConfiguration.g:3716:1: rule__AllPackageEntry__Group_2__1__Impl : ( '{' ) ; + // InternalApplicationConfiguration.g:3787:1: rule__AllPackageEntry__Group_2__1__Impl : ( '{' ) ; public final void rule__AllPackageEntry__Group_2__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:3720:1: ( ( '{' ) ) - // InternalApplicationConfiguration.g:3721:1: ( '{' ) + // InternalApplicationConfiguration.g:3791:1: ( ( '{' ) ) + // InternalApplicationConfiguration.g:3792:1: ( '{' ) { - // InternalApplicationConfiguration.g:3721:1: ( '{' ) - // InternalApplicationConfiguration.g:3722:2: '{' + // InternalApplicationConfiguration.g:3792:1: ( '{' ) + // InternalApplicationConfiguration.g:3793:2: '{' { before(grammarAccess.getAllPackageEntryAccess().getLeftCurlyBracketKeyword_2_1()); match(input,29,FOLLOW_2); @@ -12175,14 +12410,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__AllPackageEntry__Group_2__2" - // InternalApplicationConfiguration.g:3731:1: rule__AllPackageEntry__Group_2__2 : rule__AllPackageEntry__Group_2__2__Impl rule__AllPackageEntry__Group_2__3 ; + // InternalApplicationConfiguration.g:3802:1: rule__AllPackageEntry__Group_2__2 : rule__AllPackageEntry__Group_2__2__Impl rule__AllPackageEntry__Group_2__3 ; public final void rule__AllPackageEntry__Group_2__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:3735:1: ( rule__AllPackageEntry__Group_2__2__Impl rule__AllPackageEntry__Group_2__3 ) - // InternalApplicationConfiguration.g:3736:2: rule__AllPackageEntry__Group_2__2__Impl rule__AllPackageEntry__Group_2__3 + // InternalApplicationConfiguration.g:3806:1: ( rule__AllPackageEntry__Group_2__2__Impl rule__AllPackageEntry__Group_2__3 ) + // InternalApplicationConfiguration.g:3807:2: rule__AllPackageEntry__Group_2__2__Impl rule__AllPackageEntry__Group_2__3 { pushFollow(FOLLOW_16); rule__AllPackageEntry__Group_2__2__Impl(); @@ -12213,21 +12448,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__AllPackageEntry__Group_2__2__Impl" - // InternalApplicationConfiguration.g:3743:1: rule__AllPackageEntry__Group_2__2__Impl : ( ( rule__AllPackageEntry__ExclusionAssignment_2_2 ) ) ; + // InternalApplicationConfiguration.g:3814:1: rule__AllPackageEntry__Group_2__2__Impl : ( ( rule__AllPackageEntry__ExclusionAssignment_2_2 ) ) ; public final void rule__AllPackageEntry__Group_2__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:3747:1: ( ( ( rule__AllPackageEntry__ExclusionAssignment_2_2 ) ) ) - // InternalApplicationConfiguration.g:3748:1: ( ( rule__AllPackageEntry__ExclusionAssignment_2_2 ) ) + // InternalApplicationConfiguration.g:3818:1: ( ( ( rule__AllPackageEntry__ExclusionAssignment_2_2 ) ) ) + // InternalApplicationConfiguration.g:3819:1: ( ( rule__AllPackageEntry__ExclusionAssignment_2_2 ) ) { - // InternalApplicationConfiguration.g:3748:1: ( ( rule__AllPackageEntry__ExclusionAssignment_2_2 ) ) - // InternalApplicationConfiguration.g:3749:2: ( rule__AllPackageEntry__ExclusionAssignment_2_2 ) + // InternalApplicationConfiguration.g:3819:1: ( ( rule__AllPackageEntry__ExclusionAssignment_2_2 ) ) + // InternalApplicationConfiguration.g:3820:2: ( rule__AllPackageEntry__ExclusionAssignment_2_2 ) { before(grammarAccess.getAllPackageEntryAccess().getExclusionAssignment_2_2()); - // InternalApplicationConfiguration.g:3750:2: ( rule__AllPackageEntry__ExclusionAssignment_2_2 ) - // InternalApplicationConfiguration.g:3750:3: rule__AllPackageEntry__ExclusionAssignment_2_2 + // InternalApplicationConfiguration.g:3821:2: ( rule__AllPackageEntry__ExclusionAssignment_2_2 ) + // InternalApplicationConfiguration.g:3821:3: rule__AllPackageEntry__ExclusionAssignment_2_2 { pushFollow(FOLLOW_2); rule__AllPackageEntry__ExclusionAssignment_2_2(); @@ -12260,14 +12495,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__AllPackageEntry__Group_2__3" - // InternalApplicationConfiguration.g:3758:1: rule__AllPackageEntry__Group_2__3 : rule__AllPackageEntry__Group_2__3__Impl rule__AllPackageEntry__Group_2__4 ; + // InternalApplicationConfiguration.g:3829:1: rule__AllPackageEntry__Group_2__3 : rule__AllPackageEntry__Group_2__3__Impl rule__AllPackageEntry__Group_2__4 ; public final void rule__AllPackageEntry__Group_2__3() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:3762:1: ( rule__AllPackageEntry__Group_2__3__Impl rule__AllPackageEntry__Group_2__4 ) - // InternalApplicationConfiguration.g:3763:2: rule__AllPackageEntry__Group_2__3__Impl rule__AllPackageEntry__Group_2__4 + // InternalApplicationConfiguration.g:3833:1: ( rule__AllPackageEntry__Group_2__3__Impl rule__AllPackageEntry__Group_2__4 ) + // InternalApplicationConfiguration.g:3834:2: rule__AllPackageEntry__Group_2__3__Impl rule__AllPackageEntry__Group_2__4 { pushFollow(FOLLOW_16); rule__AllPackageEntry__Group_2__3__Impl(); @@ -12298,33 +12533,33 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__AllPackageEntry__Group_2__3__Impl" - // InternalApplicationConfiguration.g:3770:1: rule__AllPackageEntry__Group_2__3__Impl : ( ( rule__AllPackageEntry__Group_2_3__0 )* ) ; + // InternalApplicationConfiguration.g:3841:1: rule__AllPackageEntry__Group_2__3__Impl : ( ( rule__AllPackageEntry__Group_2_3__0 )* ) ; public final void rule__AllPackageEntry__Group_2__3__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:3774:1: ( ( ( rule__AllPackageEntry__Group_2_3__0 )* ) ) - // InternalApplicationConfiguration.g:3775:1: ( ( rule__AllPackageEntry__Group_2_3__0 )* ) + // InternalApplicationConfiguration.g:3845:1: ( ( ( rule__AllPackageEntry__Group_2_3__0 )* ) ) + // InternalApplicationConfiguration.g:3846:1: ( ( rule__AllPackageEntry__Group_2_3__0 )* ) { - // InternalApplicationConfiguration.g:3775:1: ( ( rule__AllPackageEntry__Group_2_3__0 )* ) - // InternalApplicationConfiguration.g:3776:2: ( rule__AllPackageEntry__Group_2_3__0 )* + // InternalApplicationConfiguration.g:3846:1: ( ( rule__AllPackageEntry__Group_2_3__0 )* ) + // InternalApplicationConfiguration.g:3847:2: ( rule__AllPackageEntry__Group_2_3__0 )* { before(grammarAccess.getAllPackageEntryAccess().getGroup_2_3()); - // InternalApplicationConfiguration.g:3777:2: ( rule__AllPackageEntry__Group_2_3__0 )* - loop40: + // InternalApplicationConfiguration.g:3848:2: ( rule__AllPackageEntry__Group_2_3__0 )* + loop41: do { - int alt40=2; - int LA40_0 = input.LA(1); + int alt41=2; + int LA41_0 = input.LA(1); - if ( (LA40_0==31) ) { - alt40=1; + if ( (LA41_0==31) ) { + alt41=1; } - switch (alt40) { + switch (alt41) { case 1 : - // InternalApplicationConfiguration.g:3777:3: rule__AllPackageEntry__Group_2_3__0 + // InternalApplicationConfiguration.g:3848:3: rule__AllPackageEntry__Group_2_3__0 { pushFollow(FOLLOW_17); rule__AllPackageEntry__Group_2_3__0(); @@ -12336,7 +12571,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont break; default : - break loop40; + break loop41; } } while (true); @@ -12363,14 +12598,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__AllPackageEntry__Group_2__4" - // InternalApplicationConfiguration.g:3785:1: rule__AllPackageEntry__Group_2__4 : rule__AllPackageEntry__Group_2__4__Impl ; + // InternalApplicationConfiguration.g:3856:1: rule__AllPackageEntry__Group_2__4 : rule__AllPackageEntry__Group_2__4__Impl ; public final void rule__AllPackageEntry__Group_2__4() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:3789:1: ( rule__AllPackageEntry__Group_2__4__Impl ) - // InternalApplicationConfiguration.g:3790:2: rule__AllPackageEntry__Group_2__4__Impl + // InternalApplicationConfiguration.g:3860:1: ( rule__AllPackageEntry__Group_2__4__Impl ) + // InternalApplicationConfiguration.g:3861:2: rule__AllPackageEntry__Group_2__4__Impl { pushFollow(FOLLOW_2); rule__AllPackageEntry__Group_2__4__Impl(); @@ -12396,17 +12631,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__AllPackageEntry__Group_2__4__Impl" - // InternalApplicationConfiguration.g:3796:1: rule__AllPackageEntry__Group_2__4__Impl : ( '}' ) ; + // InternalApplicationConfiguration.g:3867:1: rule__AllPackageEntry__Group_2__4__Impl : ( '}' ) ; public final void rule__AllPackageEntry__Group_2__4__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:3800:1: ( ( '}' ) ) - // InternalApplicationConfiguration.g:3801:1: ( '}' ) + // InternalApplicationConfiguration.g:3871:1: ( ( '}' ) ) + // InternalApplicationConfiguration.g:3872:1: ( '}' ) { - // InternalApplicationConfiguration.g:3801:1: ( '}' ) - // InternalApplicationConfiguration.g:3802:2: '}' + // InternalApplicationConfiguration.g:3872:1: ( '}' ) + // InternalApplicationConfiguration.g:3873:2: '}' { before(grammarAccess.getAllPackageEntryAccess().getRightCurlyBracketKeyword_2_4()); match(input,30,FOLLOW_2); @@ -12433,14 +12668,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__AllPackageEntry__Group_2_3__0" - // InternalApplicationConfiguration.g:3812:1: rule__AllPackageEntry__Group_2_3__0 : rule__AllPackageEntry__Group_2_3__0__Impl rule__AllPackageEntry__Group_2_3__1 ; + // InternalApplicationConfiguration.g:3883:1: rule__AllPackageEntry__Group_2_3__0 : rule__AllPackageEntry__Group_2_3__0__Impl rule__AllPackageEntry__Group_2_3__1 ; public final void rule__AllPackageEntry__Group_2_3__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:3816:1: ( rule__AllPackageEntry__Group_2_3__0__Impl rule__AllPackageEntry__Group_2_3__1 ) - // InternalApplicationConfiguration.g:3817:2: rule__AllPackageEntry__Group_2_3__0__Impl rule__AllPackageEntry__Group_2_3__1 + // InternalApplicationConfiguration.g:3887:1: ( rule__AllPackageEntry__Group_2_3__0__Impl rule__AllPackageEntry__Group_2_3__1 ) + // InternalApplicationConfiguration.g:3888:2: rule__AllPackageEntry__Group_2_3__0__Impl rule__AllPackageEntry__Group_2_3__1 { pushFollow(FOLLOW_8); rule__AllPackageEntry__Group_2_3__0__Impl(); @@ -12471,17 +12706,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__AllPackageEntry__Group_2_3__0__Impl" - // InternalApplicationConfiguration.g:3824:1: rule__AllPackageEntry__Group_2_3__0__Impl : ( ',' ) ; + // InternalApplicationConfiguration.g:3895:1: rule__AllPackageEntry__Group_2_3__0__Impl : ( ',' ) ; public final void rule__AllPackageEntry__Group_2_3__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:3828:1: ( ( ',' ) ) - // InternalApplicationConfiguration.g:3829:1: ( ',' ) + // InternalApplicationConfiguration.g:3899:1: ( ( ',' ) ) + // InternalApplicationConfiguration.g:3900:1: ( ',' ) { - // InternalApplicationConfiguration.g:3829:1: ( ',' ) - // InternalApplicationConfiguration.g:3830:2: ',' + // InternalApplicationConfiguration.g:3900:1: ( ',' ) + // InternalApplicationConfiguration.g:3901:2: ',' { before(grammarAccess.getAllPackageEntryAccess().getCommaKeyword_2_3_0()); match(input,31,FOLLOW_2); @@ -12508,14 +12743,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__AllPackageEntry__Group_2_3__1" - // InternalApplicationConfiguration.g:3839:1: rule__AllPackageEntry__Group_2_3__1 : rule__AllPackageEntry__Group_2_3__1__Impl ; + // InternalApplicationConfiguration.g:3910:1: rule__AllPackageEntry__Group_2_3__1 : rule__AllPackageEntry__Group_2_3__1__Impl ; public final void rule__AllPackageEntry__Group_2_3__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:3843:1: ( rule__AllPackageEntry__Group_2_3__1__Impl ) - // InternalApplicationConfiguration.g:3844:2: rule__AllPackageEntry__Group_2_3__1__Impl + // InternalApplicationConfiguration.g:3914:1: ( rule__AllPackageEntry__Group_2_3__1__Impl ) + // InternalApplicationConfiguration.g:3915:2: rule__AllPackageEntry__Group_2_3__1__Impl { pushFollow(FOLLOW_2); rule__AllPackageEntry__Group_2_3__1__Impl(); @@ -12541,21 +12776,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__AllPackageEntry__Group_2_3__1__Impl" - // InternalApplicationConfiguration.g:3850:1: rule__AllPackageEntry__Group_2_3__1__Impl : ( ( rule__AllPackageEntry__ExclusionAssignment_2_3_1 ) ) ; + // InternalApplicationConfiguration.g:3921:1: rule__AllPackageEntry__Group_2_3__1__Impl : ( ( rule__AllPackageEntry__ExclusionAssignment_2_3_1 ) ) ; public final void rule__AllPackageEntry__Group_2_3__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:3854:1: ( ( ( rule__AllPackageEntry__ExclusionAssignment_2_3_1 ) ) ) - // InternalApplicationConfiguration.g:3855:1: ( ( rule__AllPackageEntry__ExclusionAssignment_2_3_1 ) ) + // InternalApplicationConfiguration.g:3925:1: ( ( ( rule__AllPackageEntry__ExclusionAssignment_2_3_1 ) ) ) + // InternalApplicationConfiguration.g:3926:1: ( ( rule__AllPackageEntry__ExclusionAssignment_2_3_1 ) ) { - // InternalApplicationConfiguration.g:3855:1: ( ( rule__AllPackageEntry__ExclusionAssignment_2_3_1 ) ) - // InternalApplicationConfiguration.g:3856:2: ( rule__AllPackageEntry__ExclusionAssignment_2_3_1 ) + // InternalApplicationConfiguration.g:3926:1: ( ( rule__AllPackageEntry__ExclusionAssignment_2_3_1 ) ) + // InternalApplicationConfiguration.g:3927:2: ( rule__AllPackageEntry__ExclusionAssignment_2_3_1 ) { before(grammarAccess.getAllPackageEntryAccess().getExclusionAssignment_2_3_1()); - // InternalApplicationConfiguration.g:3857:2: ( rule__AllPackageEntry__ExclusionAssignment_2_3_1 ) - // InternalApplicationConfiguration.g:3857:3: rule__AllPackageEntry__ExclusionAssignment_2_3_1 + // InternalApplicationConfiguration.g:3928:2: ( rule__AllPackageEntry__ExclusionAssignment_2_3_1 ) + // InternalApplicationConfiguration.g:3928:3: rule__AllPackageEntry__ExclusionAssignment_2_3_1 { pushFollow(FOLLOW_2); rule__AllPackageEntry__ExclusionAssignment_2_3_1(); @@ -12588,14 +12823,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__MetamodelElement__Group__0" - // InternalApplicationConfiguration.g:3866:1: rule__MetamodelElement__Group__0 : rule__MetamodelElement__Group__0__Impl rule__MetamodelElement__Group__1 ; + // InternalApplicationConfiguration.g:3937:1: rule__MetamodelElement__Group__0 : rule__MetamodelElement__Group__0__Impl rule__MetamodelElement__Group__1 ; public final void rule__MetamodelElement__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:3870:1: ( rule__MetamodelElement__Group__0__Impl rule__MetamodelElement__Group__1 ) - // InternalApplicationConfiguration.g:3871:2: rule__MetamodelElement__Group__0__Impl rule__MetamodelElement__Group__1 + // InternalApplicationConfiguration.g:3941:1: ( rule__MetamodelElement__Group__0__Impl rule__MetamodelElement__Group__1 ) + // InternalApplicationConfiguration.g:3942:2: rule__MetamodelElement__Group__0__Impl rule__MetamodelElement__Group__1 { pushFollow(FOLLOW_8); rule__MetamodelElement__Group__0__Impl(); @@ -12626,44 +12861,44 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__MetamodelElement__Group__0__Impl" - // InternalApplicationConfiguration.g:3878:1: rule__MetamodelElement__Group__0__Impl : ( ( rule__MetamodelElement__Group_0__0 )? ) ; + // InternalApplicationConfiguration.g:3949:1: rule__MetamodelElement__Group__0__Impl : ( ( rule__MetamodelElement__Group_0__0 )? ) ; public final void rule__MetamodelElement__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:3882:1: ( ( ( rule__MetamodelElement__Group_0__0 )? ) ) - // InternalApplicationConfiguration.g:3883:1: ( ( rule__MetamodelElement__Group_0__0 )? ) + // InternalApplicationConfiguration.g:3953:1: ( ( ( rule__MetamodelElement__Group_0__0 )? ) ) + // InternalApplicationConfiguration.g:3954:1: ( ( rule__MetamodelElement__Group_0__0 )? ) { - // InternalApplicationConfiguration.g:3883:1: ( ( rule__MetamodelElement__Group_0__0 )? ) - // InternalApplicationConfiguration.g:3884:2: ( rule__MetamodelElement__Group_0__0 )? + // InternalApplicationConfiguration.g:3954:1: ( ( rule__MetamodelElement__Group_0__0 )? ) + // InternalApplicationConfiguration.g:3955:2: ( rule__MetamodelElement__Group_0__0 )? { before(grammarAccess.getMetamodelElementAccess().getGroup_0()); - // InternalApplicationConfiguration.g:3885:2: ( rule__MetamodelElement__Group_0__0 )? - int alt41=2; - int LA41_0 = input.LA(1); + // InternalApplicationConfiguration.g:3956:2: ( rule__MetamodelElement__Group_0__0 )? + int alt42=2; + int LA42_0 = input.LA(1); - if ( (LA41_0==RULE_ID) ) { - int LA41_1 = input.LA(2); + if ( (LA42_0==RULE_ID) ) { + int LA42_1 = input.LA(2); - if ( (LA41_1==21) ) { - int LA41_2 = input.LA(3); + if ( (LA42_1==21) ) { + int LA42_2 = input.LA(3); - if ( (LA41_2==RULE_ID) ) { - int LA41_5 = input.LA(4); + if ( (LA42_2==RULE_ID) ) { + int LA42_5 = input.LA(4); - if ( (LA41_5==21||LA41_5==34) ) { - alt41=1; + if ( (LA42_5==21||LA42_5==34) ) { + alt42=1; } } } - else if ( (LA41_1==34) ) { - alt41=1; + else if ( (LA42_1==34) ) { + alt42=1; } } - switch (alt41) { + switch (alt42) { case 1 : - // InternalApplicationConfiguration.g:3885:3: rule__MetamodelElement__Group_0__0 + // InternalApplicationConfiguration.g:3956:3: rule__MetamodelElement__Group_0__0 { pushFollow(FOLLOW_2); rule__MetamodelElement__Group_0__0(); @@ -12699,14 +12934,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__MetamodelElement__Group__1" - // InternalApplicationConfiguration.g:3893:1: rule__MetamodelElement__Group__1 : rule__MetamodelElement__Group__1__Impl rule__MetamodelElement__Group__2 ; + // InternalApplicationConfiguration.g:3964:1: rule__MetamodelElement__Group__1 : rule__MetamodelElement__Group__1__Impl rule__MetamodelElement__Group__2 ; public final void rule__MetamodelElement__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:3897:1: ( rule__MetamodelElement__Group__1__Impl rule__MetamodelElement__Group__2 ) - // InternalApplicationConfiguration.g:3898:2: rule__MetamodelElement__Group__1__Impl rule__MetamodelElement__Group__2 + // InternalApplicationConfiguration.g:3968:1: ( rule__MetamodelElement__Group__1__Impl rule__MetamodelElement__Group__2 ) + // InternalApplicationConfiguration.g:3969:2: rule__MetamodelElement__Group__1__Impl rule__MetamodelElement__Group__2 { pushFollow(FOLLOW_6); rule__MetamodelElement__Group__1__Impl(); @@ -12737,21 +12972,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__MetamodelElement__Group__1__Impl" - // InternalApplicationConfiguration.g:3905:1: rule__MetamodelElement__Group__1__Impl : ( ( rule__MetamodelElement__ClassifierAssignment_1 ) ) ; + // InternalApplicationConfiguration.g:3976:1: rule__MetamodelElement__Group__1__Impl : ( ( rule__MetamodelElement__ClassifierAssignment_1 ) ) ; public final void rule__MetamodelElement__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:3909:1: ( ( ( rule__MetamodelElement__ClassifierAssignment_1 ) ) ) - // InternalApplicationConfiguration.g:3910:1: ( ( rule__MetamodelElement__ClassifierAssignment_1 ) ) + // InternalApplicationConfiguration.g:3980:1: ( ( ( rule__MetamodelElement__ClassifierAssignment_1 ) ) ) + // InternalApplicationConfiguration.g:3981:1: ( ( rule__MetamodelElement__ClassifierAssignment_1 ) ) { - // InternalApplicationConfiguration.g:3910:1: ( ( rule__MetamodelElement__ClassifierAssignment_1 ) ) - // InternalApplicationConfiguration.g:3911:2: ( rule__MetamodelElement__ClassifierAssignment_1 ) + // InternalApplicationConfiguration.g:3981:1: ( ( rule__MetamodelElement__ClassifierAssignment_1 ) ) + // InternalApplicationConfiguration.g:3982:2: ( rule__MetamodelElement__ClassifierAssignment_1 ) { before(grammarAccess.getMetamodelElementAccess().getClassifierAssignment_1()); - // InternalApplicationConfiguration.g:3912:2: ( rule__MetamodelElement__ClassifierAssignment_1 ) - // InternalApplicationConfiguration.g:3912:3: rule__MetamodelElement__ClassifierAssignment_1 + // InternalApplicationConfiguration.g:3983:2: ( rule__MetamodelElement__ClassifierAssignment_1 ) + // InternalApplicationConfiguration.g:3983:3: rule__MetamodelElement__ClassifierAssignment_1 { pushFollow(FOLLOW_2); rule__MetamodelElement__ClassifierAssignment_1(); @@ -12784,14 +13019,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__MetamodelElement__Group__2" - // InternalApplicationConfiguration.g:3920:1: rule__MetamodelElement__Group__2 : rule__MetamodelElement__Group__2__Impl ; + // InternalApplicationConfiguration.g:3991:1: rule__MetamodelElement__Group__2 : rule__MetamodelElement__Group__2__Impl ; public final void rule__MetamodelElement__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:3924:1: ( rule__MetamodelElement__Group__2__Impl ) - // InternalApplicationConfiguration.g:3925:2: rule__MetamodelElement__Group__2__Impl + // InternalApplicationConfiguration.g:3995:1: ( rule__MetamodelElement__Group__2__Impl ) + // InternalApplicationConfiguration.g:3996:2: rule__MetamodelElement__Group__2__Impl { pushFollow(FOLLOW_2); rule__MetamodelElement__Group__2__Impl(); @@ -12817,29 +13052,29 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__MetamodelElement__Group__2__Impl" - // InternalApplicationConfiguration.g:3931:1: rule__MetamodelElement__Group__2__Impl : ( ( rule__MetamodelElement__Group_2__0 )? ) ; + // InternalApplicationConfiguration.g:4002:1: rule__MetamodelElement__Group__2__Impl : ( ( rule__MetamodelElement__Group_2__0 )? ) ; public final void rule__MetamodelElement__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:3935:1: ( ( ( rule__MetamodelElement__Group_2__0 )? ) ) - // InternalApplicationConfiguration.g:3936:1: ( ( rule__MetamodelElement__Group_2__0 )? ) + // InternalApplicationConfiguration.g:4006:1: ( ( ( rule__MetamodelElement__Group_2__0 )? ) ) + // InternalApplicationConfiguration.g:4007:1: ( ( rule__MetamodelElement__Group_2__0 )? ) { - // InternalApplicationConfiguration.g:3936:1: ( ( rule__MetamodelElement__Group_2__0 )? ) - // InternalApplicationConfiguration.g:3937:2: ( rule__MetamodelElement__Group_2__0 )? + // InternalApplicationConfiguration.g:4007:1: ( ( rule__MetamodelElement__Group_2__0 )? ) + // InternalApplicationConfiguration.g:4008:2: ( rule__MetamodelElement__Group_2__0 )? { before(grammarAccess.getMetamodelElementAccess().getGroup_2()); - // InternalApplicationConfiguration.g:3938:2: ( rule__MetamodelElement__Group_2__0 )? - int alt42=2; - int LA42_0 = input.LA(1); + // InternalApplicationConfiguration.g:4009:2: ( rule__MetamodelElement__Group_2__0 )? + int alt43=2; + int LA43_0 = input.LA(1); - if ( (LA42_0==21) ) { - alt42=1; + if ( (LA43_0==21) ) { + alt43=1; } - switch (alt42) { + switch (alt43) { case 1 : - // InternalApplicationConfiguration.g:3938:3: rule__MetamodelElement__Group_2__0 + // InternalApplicationConfiguration.g:4009:3: rule__MetamodelElement__Group_2__0 { pushFollow(FOLLOW_2); rule__MetamodelElement__Group_2__0(); @@ -12875,14 +13110,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__MetamodelElement__Group_0__0" - // InternalApplicationConfiguration.g:3947:1: rule__MetamodelElement__Group_0__0 : rule__MetamodelElement__Group_0__0__Impl rule__MetamodelElement__Group_0__1 ; + // InternalApplicationConfiguration.g:4018:1: rule__MetamodelElement__Group_0__0 : rule__MetamodelElement__Group_0__0__Impl rule__MetamodelElement__Group_0__1 ; public final void rule__MetamodelElement__Group_0__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:3951:1: ( rule__MetamodelElement__Group_0__0__Impl rule__MetamodelElement__Group_0__1 ) - // InternalApplicationConfiguration.g:3952:2: rule__MetamodelElement__Group_0__0__Impl rule__MetamodelElement__Group_0__1 + // InternalApplicationConfiguration.g:4022:1: ( rule__MetamodelElement__Group_0__0__Impl rule__MetamodelElement__Group_0__1 ) + // InternalApplicationConfiguration.g:4023:2: rule__MetamodelElement__Group_0__0__Impl rule__MetamodelElement__Group_0__1 { pushFollow(FOLLOW_20); rule__MetamodelElement__Group_0__0__Impl(); @@ -12913,21 +13148,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__MetamodelElement__Group_0__0__Impl" - // InternalApplicationConfiguration.g:3959:1: rule__MetamodelElement__Group_0__0__Impl : ( ( rule__MetamodelElement__PackageAssignment_0_0 ) ) ; + // InternalApplicationConfiguration.g:4030:1: rule__MetamodelElement__Group_0__0__Impl : ( ( rule__MetamodelElement__PackageAssignment_0_0 ) ) ; public final void rule__MetamodelElement__Group_0__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:3963:1: ( ( ( rule__MetamodelElement__PackageAssignment_0_0 ) ) ) - // InternalApplicationConfiguration.g:3964:1: ( ( rule__MetamodelElement__PackageAssignment_0_0 ) ) + // InternalApplicationConfiguration.g:4034:1: ( ( ( rule__MetamodelElement__PackageAssignment_0_0 ) ) ) + // InternalApplicationConfiguration.g:4035:1: ( ( rule__MetamodelElement__PackageAssignment_0_0 ) ) { - // InternalApplicationConfiguration.g:3964:1: ( ( rule__MetamodelElement__PackageAssignment_0_0 ) ) - // InternalApplicationConfiguration.g:3965:2: ( rule__MetamodelElement__PackageAssignment_0_0 ) + // InternalApplicationConfiguration.g:4035:1: ( ( rule__MetamodelElement__PackageAssignment_0_0 ) ) + // InternalApplicationConfiguration.g:4036:2: ( rule__MetamodelElement__PackageAssignment_0_0 ) { before(grammarAccess.getMetamodelElementAccess().getPackageAssignment_0_0()); - // InternalApplicationConfiguration.g:3966:2: ( rule__MetamodelElement__PackageAssignment_0_0 ) - // InternalApplicationConfiguration.g:3966:3: rule__MetamodelElement__PackageAssignment_0_0 + // InternalApplicationConfiguration.g:4037:2: ( rule__MetamodelElement__PackageAssignment_0_0 ) + // InternalApplicationConfiguration.g:4037:3: rule__MetamodelElement__PackageAssignment_0_0 { pushFollow(FOLLOW_2); rule__MetamodelElement__PackageAssignment_0_0(); @@ -12960,14 +13195,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__MetamodelElement__Group_0__1" - // InternalApplicationConfiguration.g:3974:1: rule__MetamodelElement__Group_0__1 : rule__MetamodelElement__Group_0__1__Impl ; + // InternalApplicationConfiguration.g:4045:1: rule__MetamodelElement__Group_0__1 : rule__MetamodelElement__Group_0__1__Impl ; public final void rule__MetamodelElement__Group_0__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:3978:1: ( rule__MetamodelElement__Group_0__1__Impl ) - // InternalApplicationConfiguration.g:3979:2: rule__MetamodelElement__Group_0__1__Impl + // InternalApplicationConfiguration.g:4049:1: ( rule__MetamodelElement__Group_0__1__Impl ) + // InternalApplicationConfiguration.g:4050:2: rule__MetamodelElement__Group_0__1__Impl { pushFollow(FOLLOW_2); rule__MetamodelElement__Group_0__1__Impl(); @@ -12993,17 +13228,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__MetamodelElement__Group_0__1__Impl" - // InternalApplicationConfiguration.g:3985:1: rule__MetamodelElement__Group_0__1__Impl : ( '::' ) ; + // InternalApplicationConfiguration.g:4056:1: rule__MetamodelElement__Group_0__1__Impl : ( '::' ) ; public final void rule__MetamodelElement__Group_0__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:3989:1: ( ( '::' ) ) - // InternalApplicationConfiguration.g:3990:1: ( '::' ) + // InternalApplicationConfiguration.g:4060:1: ( ( '::' ) ) + // InternalApplicationConfiguration.g:4061:1: ( '::' ) { - // InternalApplicationConfiguration.g:3990:1: ( '::' ) - // InternalApplicationConfiguration.g:3991:2: '::' + // InternalApplicationConfiguration.g:4061:1: ( '::' ) + // InternalApplicationConfiguration.g:4062:2: '::' { before(grammarAccess.getMetamodelElementAccess().getColonColonKeyword_0_1()); match(input,34,FOLLOW_2); @@ -13030,14 +13265,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__MetamodelElement__Group_2__0" - // InternalApplicationConfiguration.g:4001:1: rule__MetamodelElement__Group_2__0 : rule__MetamodelElement__Group_2__0__Impl rule__MetamodelElement__Group_2__1 ; + // InternalApplicationConfiguration.g:4072:1: rule__MetamodelElement__Group_2__0 : rule__MetamodelElement__Group_2__0__Impl rule__MetamodelElement__Group_2__1 ; public final void rule__MetamodelElement__Group_2__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4005:1: ( rule__MetamodelElement__Group_2__0__Impl rule__MetamodelElement__Group_2__1 ) - // InternalApplicationConfiguration.g:4006:2: rule__MetamodelElement__Group_2__0__Impl rule__MetamodelElement__Group_2__1 + // InternalApplicationConfiguration.g:4076:1: ( rule__MetamodelElement__Group_2__0__Impl rule__MetamodelElement__Group_2__1 ) + // InternalApplicationConfiguration.g:4077:2: rule__MetamodelElement__Group_2__0__Impl rule__MetamodelElement__Group_2__1 { pushFollow(FOLLOW_8); rule__MetamodelElement__Group_2__0__Impl(); @@ -13068,17 +13303,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__MetamodelElement__Group_2__0__Impl" - // InternalApplicationConfiguration.g:4013:1: rule__MetamodelElement__Group_2__0__Impl : ( '.' ) ; + // InternalApplicationConfiguration.g:4084:1: rule__MetamodelElement__Group_2__0__Impl : ( '.' ) ; public final void rule__MetamodelElement__Group_2__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4017:1: ( ( '.' ) ) - // InternalApplicationConfiguration.g:4018:1: ( '.' ) + // InternalApplicationConfiguration.g:4088:1: ( ( '.' ) ) + // InternalApplicationConfiguration.g:4089:1: ( '.' ) { - // InternalApplicationConfiguration.g:4018:1: ( '.' ) - // InternalApplicationConfiguration.g:4019:2: '.' + // InternalApplicationConfiguration.g:4089:1: ( '.' ) + // InternalApplicationConfiguration.g:4090:2: '.' { before(grammarAccess.getMetamodelElementAccess().getFullStopKeyword_2_0()); match(input,21,FOLLOW_2); @@ -13105,14 +13340,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__MetamodelElement__Group_2__1" - // InternalApplicationConfiguration.g:4028:1: rule__MetamodelElement__Group_2__1 : rule__MetamodelElement__Group_2__1__Impl ; + // InternalApplicationConfiguration.g:4099:1: rule__MetamodelElement__Group_2__1 : rule__MetamodelElement__Group_2__1__Impl ; public final void rule__MetamodelElement__Group_2__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4032:1: ( rule__MetamodelElement__Group_2__1__Impl ) - // InternalApplicationConfiguration.g:4033:2: rule__MetamodelElement__Group_2__1__Impl + // InternalApplicationConfiguration.g:4103:1: ( rule__MetamodelElement__Group_2__1__Impl ) + // InternalApplicationConfiguration.g:4104:2: rule__MetamodelElement__Group_2__1__Impl { pushFollow(FOLLOW_2); rule__MetamodelElement__Group_2__1__Impl(); @@ -13138,21 +13373,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__MetamodelElement__Group_2__1__Impl" - // InternalApplicationConfiguration.g:4039:1: rule__MetamodelElement__Group_2__1__Impl : ( ( rule__MetamodelElement__FeatureAssignment_2_1 ) ) ; + // InternalApplicationConfiguration.g:4110:1: rule__MetamodelElement__Group_2__1__Impl : ( ( rule__MetamodelElement__FeatureAssignment_2_1 ) ) ; public final void rule__MetamodelElement__Group_2__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4043:1: ( ( ( rule__MetamodelElement__FeatureAssignment_2_1 ) ) ) - // InternalApplicationConfiguration.g:4044:1: ( ( rule__MetamodelElement__FeatureAssignment_2_1 ) ) + // InternalApplicationConfiguration.g:4114:1: ( ( ( rule__MetamodelElement__FeatureAssignment_2_1 ) ) ) + // InternalApplicationConfiguration.g:4115:1: ( ( rule__MetamodelElement__FeatureAssignment_2_1 ) ) { - // InternalApplicationConfiguration.g:4044:1: ( ( rule__MetamodelElement__FeatureAssignment_2_1 ) ) - // InternalApplicationConfiguration.g:4045:2: ( rule__MetamodelElement__FeatureAssignment_2_1 ) + // InternalApplicationConfiguration.g:4115:1: ( ( rule__MetamodelElement__FeatureAssignment_2_1 ) ) + // InternalApplicationConfiguration.g:4116:2: ( rule__MetamodelElement__FeatureAssignment_2_1 ) { before(grammarAccess.getMetamodelElementAccess().getFeatureAssignment_2_1()); - // InternalApplicationConfiguration.g:4046:2: ( rule__MetamodelElement__FeatureAssignment_2_1 ) - // InternalApplicationConfiguration.g:4046:3: rule__MetamodelElement__FeatureAssignment_2_1 + // InternalApplicationConfiguration.g:4117:2: ( rule__MetamodelElement__FeatureAssignment_2_1 ) + // InternalApplicationConfiguration.g:4117:3: rule__MetamodelElement__FeatureAssignment_2_1 { pushFollow(FOLLOW_2); rule__MetamodelElement__FeatureAssignment_2_1(); @@ -13185,14 +13420,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__MetamodelDeclaration__Group__0" - // InternalApplicationConfiguration.g:4055:1: rule__MetamodelDeclaration__Group__0 : rule__MetamodelDeclaration__Group__0__Impl rule__MetamodelDeclaration__Group__1 ; + // InternalApplicationConfiguration.g:4126:1: rule__MetamodelDeclaration__Group__0 : rule__MetamodelDeclaration__Group__0__Impl rule__MetamodelDeclaration__Group__1 ; public final void rule__MetamodelDeclaration__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4059:1: ( rule__MetamodelDeclaration__Group__0__Impl rule__MetamodelDeclaration__Group__1 ) - // InternalApplicationConfiguration.g:4060:2: rule__MetamodelDeclaration__Group__0__Impl rule__MetamodelDeclaration__Group__1 + // InternalApplicationConfiguration.g:4130:1: ( rule__MetamodelDeclaration__Group__0__Impl rule__MetamodelDeclaration__Group__1 ) + // InternalApplicationConfiguration.g:4131:2: rule__MetamodelDeclaration__Group__0__Impl rule__MetamodelDeclaration__Group__1 { pushFollow(FOLLOW_8); rule__MetamodelDeclaration__Group__0__Impl(); @@ -13223,17 +13458,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__MetamodelDeclaration__Group__0__Impl" - // InternalApplicationConfiguration.g:4067:1: rule__MetamodelDeclaration__Group__0__Impl : ( 'metamodel' ) ; + // InternalApplicationConfiguration.g:4138:1: rule__MetamodelDeclaration__Group__0__Impl : ( 'metamodel' ) ; public final void rule__MetamodelDeclaration__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4071:1: ( ( 'metamodel' ) ) - // InternalApplicationConfiguration.g:4072:1: ( 'metamodel' ) + // InternalApplicationConfiguration.g:4142:1: ( ( 'metamodel' ) ) + // InternalApplicationConfiguration.g:4143:1: ( 'metamodel' ) { - // InternalApplicationConfiguration.g:4072:1: ( 'metamodel' ) - // InternalApplicationConfiguration.g:4073:2: 'metamodel' + // InternalApplicationConfiguration.g:4143:1: ( 'metamodel' ) + // InternalApplicationConfiguration.g:4144:2: 'metamodel' { before(grammarAccess.getMetamodelDeclarationAccess().getMetamodelKeyword_0()); match(input,35,FOLLOW_2); @@ -13260,14 +13495,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__MetamodelDeclaration__Group__1" - // InternalApplicationConfiguration.g:4082:1: rule__MetamodelDeclaration__Group__1 : rule__MetamodelDeclaration__Group__1__Impl rule__MetamodelDeclaration__Group__2 ; + // InternalApplicationConfiguration.g:4153:1: rule__MetamodelDeclaration__Group__1 : rule__MetamodelDeclaration__Group__1__Impl rule__MetamodelDeclaration__Group__2 ; public final void rule__MetamodelDeclaration__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4086:1: ( rule__MetamodelDeclaration__Group__1__Impl rule__MetamodelDeclaration__Group__2 ) - // InternalApplicationConfiguration.g:4087:2: rule__MetamodelDeclaration__Group__1__Impl rule__MetamodelDeclaration__Group__2 + // InternalApplicationConfiguration.g:4157:1: ( rule__MetamodelDeclaration__Group__1__Impl rule__MetamodelDeclaration__Group__2 ) + // InternalApplicationConfiguration.g:4158:2: rule__MetamodelDeclaration__Group__1__Impl rule__MetamodelDeclaration__Group__2 { pushFollow(FOLLOW_19); rule__MetamodelDeclaration__Group__1__Impl(); @@ -13298,21 +13533,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__MetamodelDeclaration__Group__1__Impl" - // InternalApplicationConfiguration.g:4094:1: rule__MetamodelDeclaration__Group__1__Impl : ( ( rule__MetamodelDeclaration__NameAssignment_1 ) ) ; + // InternalApplicationConfiguration.g:4165:1: rule__MetamodelDeclaration__Group__1__Impl : ( ( rule__MetamodelDeclaration__NameAssignment_1 ) ) ; public final void rule__MetamodelDeclaration__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4098:1: ( ( ( rule__MetamodelDeclaration__NameAssignment_1 ) ) ) - // InternalApplicationConfiguration.g:4099:1: ( ( rule__MetamodelDeclaration__NameAssignment_1 ) ) + // InternalApplicationConfiguration.g:4169:1: ( ( ( rule__MetamodelDeclaration__NameAssignment_1 ) ) ) + // InternalApplicationConfiguration.g:4170:1: ( ( rule__MetamodelDeclaration__NameAssignment_1 ) ) { - // InternalApplicationConfiguration.g:4099:1: ( ( rule__MetamodelDeclaration__NameAssignment_1 ) ) - // InternalApplicationConfiguration.g:4100:2: ( rule__MetamodelDeclaration__NameAssignment_1 ) + // InternalApplicationConfiguration.g:4170:1: ( ( rule__MetamodelDeclaration__NameAssignment_1 ) ) + // InternalApplicationConfiguration.g:4171:2: ( rule__MetamodelDeclaration__NameAssignment_1 ) { before(grammarAccess.getMetamodelDeclarationAccess().getNameAssignment_1()); - // InternalApplicationConfiguration.g:4101:2: ( rule__MetamodelDeclaration__NameAssignment_1 ) - // InternalApplicationConfiguration.g:4101:3: rule__MetamodelDeclaration__NameAssignment_1 + // InternalApplicationConfiguration.g:4172:2: ( rule__MetamodelDeclaration__NameAssignment_1 ) + // InternalApplicationConfiguration.g:4172:3: rule__MetamodelDeclaration__NameAssignment_1 { pushFollow(FOLLOW_2); rule__MetamodelDeclaration__NameAssignment_1(); @@ -13345,14 +13580,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__MetamodelDeclaration__Group__2" - // InternalApplicationConfiguration.g:4109:1: rule__MetamodelDeclaration__Group__2 : rule__MetamodelDeclaration__Group__2__Impl ; + // InternalApplicationConfiguration.g:4180:1: rule__MetamodelDeclaration__Group__2 : rule__MetamodelDeclaration__Group__2__Impl ; public final void rule__MetamodelDeclaration__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4113:1: ( rule__MetamodelDeclaration__Group__2__Impl ) - // InternalApplicationConfiguration.g:4114:2: rule__MetamodelDeclaration__Group__2__Impl + // InternalApplicationConfiguration.g:4184:1: ( rule__MetamodelDeclaration__Group__2__Impl ) + // InternalApplicationConfiguration.g:4185:2: rule__MetamodelDeclaration__Group__2__Impl { pushFollow(FOLLOW_2); rule__MetamodelDeclaration__Group__2__Impl(); @@ -13378,21 +13613,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__MetamodelDeclaration__Group__2__Impl" - // InternalApplicationConfiguration.g:4120:1: rule__MetamodelDeclaration__Group__2__Impl : ( ( rule__MetamodelDeclaration__SpecificationAssignment_2 ) ) ; + // InternalApplicationConfiguration.g:4191:1: rule__MetamodelDeclaration__Group__2__Impl : ( ( rule__MetamodelDeclaration__SpecificationAssignment_2 ) ) ; public final void rule__MetamodelDeclaration__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4124:1: ( ( ( rule__MetamodelDeclaration__SpecificationAssignment_2 ) ) ) - // InternalApplicationConfiguration.g:4125:1: ( ( rule__MetamodelDeclaration__SpecificationAssignment_2 ) ) + // InternalApplicationConfiguration.g:4195:1: ( ( ( rule__MetamodelDeclaration__SpecificationAssignment_2 ) ) ) + // InternalApplicationConfiguration.g:4196:1: ( ( rule__MetamodelDeclaration__SpecificationAssignment_2 ) ) { - // InternalApplicationConfiguration.g:4125:1: ( ( rule__MetamodelDeclaration__SpecificationAssignment_2 ) ) - // InternalApplicationConfiguration.g:4126:2: ( rule__MetamodelDeclaration__SpecificationAssignment_2 ) + // InternalApplicationConfiguration.g:4196:1: ( ( rule__MetamodelDeclaration__SpecificationAssignment_2 ) ) + // InternalApplicationConfiguration.g:4197:2: ( rule__MetamodelDeclaration__SpecificationAssignment_2 ) { before(grammarAccess.getMetamodelDeclarationAccess().getSpecificationAssignment_2()); - // InternalApplicationConfiguration.g:4127:2: ( rule__MetamodelDeclaration__SpecificationAssignment_2 ) - // InternalApplicationConfiguration.g:4127:3: rule__MetamodelDeclaration__SpecificationAssignment_2 + // InternalApplicationConfiguration.g:4198:2: ( rule__MetamodelDeclaration__SpecificationAssignment_2 ) + // InternalApplicationConfiguration.g:4198:3: rule__MetamodelDeclaration__SpecificationAssignment_2 { pushFollow(FOLLOW_2); rule__MetamodelDeclaration__SpecificationAssignment_2(); @@ -13425,14 +13660,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__PartialModelSpecification__Group__0" - // InternalApplicationConfiguration.g:4136:1: rule__PartialModelSpecification__Group__0 : rule__PartialModelSpecification__Group__0__Impl rule__PartialModelSpecification__Group__1 ; + // InternalApplicationConfiguration.g:4207:1: rule__PartialModelSpecification__Group__0 : rule__PartialModelSpecification__Group__0__Impl rule__PartialModelSpecification__Group__1 ; public final void rule__PartialModelSpecification__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4140:1: ( rule__PartialModelSpecification__Group__0__Impl rule__PartialModelSpecification__Group__1 ) - // InternalApplicationConfiguration.g:4141:2: rule__PartialModelSpecification__Group__0__Impl rule__PartialModelSpecification__Group__1 + // InternalApplicationConfiguration.g:4211:1: ( rule__PartialModelSpecification__Group__0__Impl rule__PartialModelSpecification__Group__1 ) + // InternalApplicationConfiguration.g:4212:2: rule__PartialModelSpecification__Group__0__Impl rule__PartialModelSpecification__Group__1 { pushFollow(FOLLOW_21); rule__PartialModelSpecification__Group__0__Impl(); @@ -13463,17 +13698,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__PartialModelSpecification__Group__0__Impl" - // InternalApplicationConfiguration.g:4148:1: rule__PartialModelSpecification__Group__0__Impl : ( '{' ) ; + // InternalApplicationConfiguration.g:4219:1: rule__PartialModelSpecification__Group__0__Impl : ( '{' ) ; public final void rule__PartialModelSpecification__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4152:1: ( ( '{' ) ) - // InternalApplicationConfiguration.g:4153:1: ( '{' ) + // InternalApplicationConfiguration.g:4223:1: ( ( '{' ) ) + // InternalApplicationConfiguration.g:4224:1: ( '{' ) { - // InternalApplicationConfiguration.g:4153:1: ( '{' ) - // InternalApplicationConfiguration.g:4154:2: '{' + // InternalApplicationConfiguration.g:4224:1: ( '{' ) + // InternalApplicationConfiguration.g:4225:2: '{' { before(grammarAccess.getPartialModelSpecificationAccess().getLeftCurlyBracketKeyword_0()); match(input,29,FOLLOW_2); @@ -13500,14 +13735,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__PartialModelSpecification__Group__1" - // InternalApplicationConfiguration.g:4163:1: rule__PartialModelSpecification__Group__1 : rule__PartialModelSpecification__Group__1__Impl rule__PartialModelSpecification__Group__2 ; + // InternalApplicationConfiguration.g:4234:1: rule__PartialModelSpecification__Group__1 : rule__PartialModelSpecification__Group__1__Impl rule__PartialModelSpecification__Group__2 ; public final void rule__PartialModelSpecification__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4167:1: ( rule__PartialModelSpecification__Group__1__Impl rule__PartialModelSpecification__Group__2 ) - // InternalApplicationConfiguration.g:4168:2: rule__PartialModelSpecification__Group__1__Impl rule__PartialModelSpecification__Group__2 + // InternalApplicationConfiguration.g:4238:1: ( rule__PartialModelSpecification__Group__1__Impl rule__PartialModelSpecification__Group__2 ) + // InternalApplicationConfiguration.g:4239:2: rule__PartialModelSpecification__Group__1__Impl rule__PartialModelSpecification__Group__2 { pushFollow(FOLLOW_16); rule__PartialModelSpecification__Group__1__Impl(); @@ -13538,21 +13773,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__PartialModelSpecification__Group__1__Impl" - // InternalApplicationConfiguration.g:4175:1: rule__PartialModelSpecification__Group__1__Impl : ( ( rule__PartialModelSpecification__EntryAssignment_1 ) ) ; + // InternalApplicationConfiguration.g:4246:1: rule__PartialModelSpecification__Group__1__Impl : ( ( rule__PartialModelSpecification__EntryAssignment_1 ) ) ; public final void rule__PartialModelSpecification__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4179:1: ( ( ( rule__PartialModelSpecification__EntryAssignment_1 ) ) ) - // InternalApplicationConfiguration.g:4180:1: ( ( rule__PartialModelSpecification__EntryAssignment_1 ) ) + // InternalApplicationConfiguration.g:4250:1: ( ( ( rule__PartialModelSpecification__EntryAssignment_1 ) ) ) + // InternalApplicationConfiguration.g:4251:1: ( ( rule__PartialModelSpecification__EntryAssignment_1 ) ) { - // InternalApplicationConfiguration.g:4180:1: ( ( rule__PartialModelSpecification__EntryAssignment_1 ) ) - // InternalApplicationConfiguration.g:4181:2: ( rule__PartialModelSpecification__EntryAssignment_1 ) + // InternalApplicationConfiguration.g:4251:1: ( ( rule__PartialModelSpecification__EntryAssignment_1 ) ) + // InternalApplicationConfiguration.g:4252:2: ( rule__PartialModelSpecification__EntryAssignment_1 ) { before(grammarAccess.getPartialModelSpecificationAccess().getEntryAssignment_1()); - // InternalApplicationConfiguration.g:4182:2: ( rule__PartialModelSpecification__EntryAssignment_1 ) - // InternalApplicationConfiguration.g:4182:3: rule__PartialModelSpecification__EntryAssignment_1 + // InternalApplicationConfiguration.g:4253:2: ( rule__PartialModelSpecification__EntryAssignment_1 ) + // InternalApplicationConfiguration.g:4253:3: rule__PartialModelSpecification__EntryAssignment_1 { pushFollow(FOLLOW_2); rule__PartialModelSpecification__EntryAssignment_1(); @@ -13585,14 +13820,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__PartialModelSpecification__Group__2" - // InternalApplicationConfiguration.g:4190:1: rule__PartialModelSpecification__Group__2 : rule__PartialModelSpecification__Group__2__Impl rule__PartialModelSpecification__Group__3 ; + // InternalApplicationConfiguration.g:4261:1: rule__PartialModelSpecification__Group__2 : rule__PartialModelSpecification__Group__2__Impl rule__PartialModelSpecification__Group__3 ; public final void rule__PartialModelSpecification__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4194:1: ( rule__PartialModelSpecification__Group__2__Impl rule__PartialModelSpecification__Group__3 ) - // InternalApplicationConfiguration.g:4195:2: rule__PartialModelSpecification__Group__2__Impl rule__PartialModelSpecification__Group__3 + // InternalApplicationConfiguration.g:4265:1: ( rule__PartialModelSpecification__Group__2__Impl rule__PartialModelSpecification__Group__3 ) + // InternalApplicationConfiguration.g:4266:2: rule__PartialModelSpecification__Group__2__Impl rule__PartialModelSpecification__Group__3 { pushFollow(FOLLOW_16); rule__PartialModelSpecification__Group__2__Impl(); @@ -13623,29 +13858,29 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__PartialModelSpecification__Group__2__Impl" - // InternalApplicationConfiguration.g:4202:1: rule__PartialModelSpecification__Group__2__Impl : ( ( rule__PartialModelSpecification__Group_2__0 )? ) ; + // InternalApplicationConfiguration.g:4273:1: rule__PartialModelSpecification__Group__2__Impl : ( ( rule__PartialModelSpecification__Group_2__0 )? ) ; public final void rule__PartialModelSpecification__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4206:1: ( ( ( rule__PartialModelSpecification__Group_2__0 )? ) ) - // InternalApplicationConfiguration.g:4207:1: ( ( rule__PartialModelSpecification__Group_2__0 )? ) + // InternalApplicationConfiguration.g:4277:1: ( ( ( rule__PartialModelSpecification__Group_2__0 )? ) ) + // InternalApplicationConfiguration.g:4278:1: ( ( rule__PartialModelSpecification__Group_2__0 )? ) { - // InternalApplicationConfiguration.g:4207:1: ( ( rule__PartialModelSpecification__Group_2__0 )? ) - // InternalApplicationConfiguration.g:4208:2: ( rule__PartialModelSpecification__Group_2__0 )? + // InternalApplicationConfiguration.g:4278:1: ( ( rule__PartialModelSpecification__Group_2__0 )? ) + // InternalApplicationConfiguration.g:4279:2: ( rule__PartialModelSpecification__Group_2__0 )? { before(grammarAccess.getPartialModelSpecificationAccess().getGroup_2()); - // InternalApplicationConfiguration.g:4209:2: ( rule__PartialModelSpecification__Group_2__0 )? - int alt43=2; - int LA43_0 = input.LA(1); + // InternalApplicationConfiguration.g:4280:2: ( rule__PartialModelSpecification__Group_2__0 )? + int alt44=2; + int LA44_0 = input.LA(1); - if ( (LA43_0==31) ) { - alt43=1; + if ( (LA44_0==31) ) { + alt44=1; } - switch (alt43) { + switch (alt44) { case 1 : - // InternalApplicationConfiguration.g:4209:3: rule__PartialModelSpecification__Group_2__0 + // InternalApplicationConfiguration.g:4280:3: rule__PartialModelSpecification__Group_2__0 { pushFollow(FOLLOW_2); rule__PartialModelSpecification__Group_2__0(); @@ -13681,14 +13916,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__PartialModelSpecification__Group__3" - // InternalApplicationConfiguration.g:4217:1: rule__PartialModelSpecification__Group__3 : rule__PartialModelSpecification__Group__3__Impl ; + // InternalApplicationConfiguration.g:4288:1: rule__PartialModelSpecification__Group__3 : rule__PartialModelSpecification__Group__3__Impl ; public final void rule__PartialModelSpecification__Group__3() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4221:1: ( rule__PartialModelSpecification__Group__3__Impl ) - // InternalApplicationConfiguration.g:4222:2: rule__PartialModelSpecification__Group__3__Impl + // InternalApplicationConfiguration.g:4292:1: ( rule__PartialModelSpecification__Group__3__Impl ) + // InternalApplicationConfiguration.g:4293:2: rule__PartialModelSpecification__Group__3__Impl { pushFollow(FOLLOW_2); rule__PartialModelSpecification__Group__3__Impl(); @@ -13714,17 +13949,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__PartialModelSpecification__Group__3__Impl" - // InternalApplicationConfiguration.g:4228:1: rule__PartialModelSpecification__Group__3__Impl : ( '}' ) ; + // InternalApplicationConfiguration.g:4299:1: rule__PartialModelSpecification__Group__3__Impl : ( '}' ) ; public final void rule__PartialModelSpecification__Group__3__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4232:1: ( ( '}' ) ) - // InternalApplicationConfiguration.g:4233:1: ( '}' ) + // InternalApplicationConfiguration.g:4303:1: ( ( '}' ) ) + // InternalApplicationConfiguration.g:4304:1: ( '}' ) { - // InternalApplicationConfiguration.g:4233:1: ( '}' ) - // InternalApplicationConfiguration.g:4234:2: '}' + // InternalApplicationConfiguration.g:4304:1: ( '}' ) + // InternalApplicationConfiguration.g:4305:2: '}' { before(grammarAccess.getPartialModelSpecificationAccess().getRightCurlyBracketKeyword_3()); match(input,30,FOLLOW_2); @@ -13751,14 +13986,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__PartialModelSpecification__Group_2__0" - // InternalApplicationConfiguration.g:4244:1: rule__PartialModelSpecification__Group_2__0 : rule__PartialModelSpecification__Group_2__0__Impl rule__PartialModelSpecification__Group_2__1 ; + // InternalApplicationConfiguration.g:4315:1: rule__PartialModelSpecification__Group_2__0 : rule__PartialModelSpecification__Group_2__0__Impl rule__PartialModelSpecification__Group_2__1 ; public final void rule__PartialModelSpecification__Group_2__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4248:1: ( rule__PartialModelSpecification__Group_2__0__Impl rule__PartialModelSpecification__Group_2__1 ) - // InternalApplicationConfiguration.g:4249:2: rule__PartialModelSpecification__Group_2__0__Impl rule__PartialModelSpecification__Group_2__1 + // InternalApplicationConfiguration.g:4319:1: ( rule__PartialModelSpecification__Group_2__0__Impl rule__PartialModelSpecification__Group_2__1 ) + // InternalApplicationConfiguration.g:4320:2: rule__PartialModelSpecification__Group_2__0__Impl rule__PartialModelSpecification__Group_2__1 { pushFollow(FOLLOW_21); rule__PartialModelSpecification__Group_2__0__Impl(); @@ -13789,17 +14024,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__PartialModelSpecification__Group_2__0__Impl" - // InternalApplicationConfiguration.g:4256:1: rule__PartialModelSpecification__Group_2__0__Impl : ( ',' ) ; + // InternalApplicationConfiguration.g:4327:1: rule__PartialModelSpecification__Group_2__0__Impl : ( ',' ) ; public final void rule__PartialModelSpecification__Group_2__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4260:1: ( ( ',' ) ) - // InternalApplicationConfiguration.g:4261:1: ( ',' ) + // InternalApplicationConfiguration.g:4331:1: ( ( ',' ) ) + // InternalApplicationConfiguration.g:4332:1: ( ',' ) { - // InternalApplicationConfiguration.g:4261:1: ( ',' ) - // InternalApplicationConfiguration.g:4262:2: ',' + // InternalApplicationConfiguration.g:4332:1: ( ',' ) + // InternalApplicationConfiguration.g:4333:2: ',' { before(grammarAccess.getPartialModelSpecificationAccess().getCommaKeyword_2_0()); match(input,31,FOLLOW_2); @@ -13826,14 +14061,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__PartialModelSpecification__Group_2__1" - // InternalApplicationConfiguration.g:4271:1: rule__PartialModelSpecification__Group_2__1 : rule__PartialModelSpecification__Group_2__1__Impl ; + // InternalApplicationConfiguration.g:4342:1: rule__PartialModelSpecification__Group_2__1 : rule__PartialModelSpecification__Group_2__1__Impl ; public final void rule__PartialModelSpecification__Group_2__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4275:1: ( rule__PartialModelSpecification__Group_2__1__Impl ) - // InternalApplicationConfiguration.g:4276:2: rule__PartialModelSpecification__Group_2__1__Impl + // InternalApplicationConfiguration.g:4346:1: ( rule__PartialModelSpecification__Group_2__1__Impl ) + // InternalApplicationConfiguration.g:4347:2: rule__PartialModelSpecification__Group_2__1__Impl { pushFollow(FOLLOW_2); rule__PartialModelSpecification__Group_2__1__Impl(); @@ -13859,21 +14094,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__PartialModelSpecification__Group_2__1__Impl" - // InternalApplicationConfiguration.g:4282:1: rule__PartialModelSpecification__Group_2__1__Impl : ( ( rule__PartialModelSpecification__EntryAssignment_2_1 ) ) ; + // InternalApplicationConfiguration.g:4353:1: rule__PartialModelSpecification__Group_2__1__Impl : ( ( rule__PartialModelSpecification__EntryAssignment_2_1 ) ) ; public final void rule__PartialModelSpecification__Group_2__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4286:1: ( ( ( rule__PartialModelSpecification__EntryAssignment_2_1 ) ) ) - // InternalApplicationConfiguration.g:4287:1: ( ( rule__PartialModelSpecification__EntryAssignment_2_1 ) ) + // InternalApplicationConfiguration.g:4357:1: ( ( ( rule__PartialModelSpecification__EntryAssignment_2_1 ) ) ) + // InternalApplicationConfiguration.g:4358:1: ( ( rule__PartialModelSpecification__EntryAssignment_2_1 ) ) { - // InternalApplicationConfiguration.g:4287:1: ( ( rule__PartialModelSpecification__EntryAssignment_2_1 ) ) - // InternalApplicationConfiguration.g:4288:2: ( rule__PartialModelSpecification__EntryAssignment_2_1 ) + // InternalApplicationConfiguration.g:4358:1: ( ( rule__PartialModelSpecification__EntryAssignment_2_1 ) ) + // InternalApplicationConfiguration.g:4359:2: ( rule__PartialModelSpecification__EntryAssignment_2_1 ) { before(grammarAccess.getPartialModelSpecificationAccess().getEntryAssignment_2_1()); - // InternalApplicationConfiguration.g:4289:2: ( rule__PartialModelSpecification__EntryAssignment_2_1 ) - // InternalApplicationConfiguration.g:4289:3: rule__PartialModelSpecification__EntryAssignment_2_1 + // InternalApplicationConfiguration.g:4360:2: ( rule__PartialModelSpecification__EntryAssignment_2_1 ) + // InternalApplicationConfiguration.g:4360:3: rule__PartialModelSpecification__EntryAssignment_2_1 { pushFollow(FOLLOW_2); rule__PartialModelSpecification__EntryAssignment_2_1(); @@ -13906,14 +14141,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__FolderEntry__Group__0" - // InternalApplicationConfiguration.g:4298:1: rule__FolderEntry__Group__0 : rule__FolderEntry__Group__0__Impl rule__FolderEntry__Group__1 ; + // InternalApplicationConfiguration.g:4369:1: rule__FolderEntry__Group__0 : rule__FolderEntry__Group__0__Impl rule__FolderEntry__Group__1 ; public final void rule__FolderEntry__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4302:1: ( rule__FolderEntry__Group__0__Impl rule__FolderEntry__Group__1 ) - // InternalApplicationConfiguration.g:4303:2: rule__FolderEntry__Group__0__Impl rule__FolderEntry__Group__1 + // InternalApplicationConfiguration.g:4373:1: ( rule__FolderEntry__Group__0__Impl rule__FolderEntry__Group__1 ) + // InternalApplicationConfiguration.g:4374:2: rule__FolderEntry__Group__0__Impl rule__FolderEntry__Group__1 { pushFollow(FOLLOW_22); rule__FolderEntry__Group__0__Impl(); @@ -13944,17 +14179,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__FolderEntry__Group__0__Impl" - // InternalApplicationConfiguration.g:4310:1: rule__FolderEntry__Group__0__Impl : ( 'folder' ) ; + // InternalApplicationConfiguration.g:4381:1: rule__FolderEntry__Group__0__Impl : ( 'folder' ) ; public final void rule__FolderEntry__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4314:1: ( ( 'folder' ) ) - // InternalApplicationConfiguration.g:4315:1: ( 'folder' ) + // InternalApplicationConfiguration.g:4385:1: ( ( 'folder' ) ) + // InternalApplicationConfiguration.g:4386:1: ( 'folder' ) { - // InternalApplicationConfiguration.g:4315:1: ( 'folder' ) - // InternalApplicationConfiguration.g:4316:2: 'folder' + // InternalApplicationConfiguration.g:4386:1: ( 'folder' ) + // InternalApplicationConfiguration.g:4387:2: 'folder' { before(grammarAccess.getFolderEntryAccess().getFolderKeyword_0()); match(input,36,FOLLOW_2); @@ -13981,14 +14216,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__FolderEntry__Group__1" - // InternalApplicationConfiguration.g:4325:1: rule__FolderEntry__Group__1 : rule__FolderEntry__Group__1__Impl rule__FolderEntry__Group__2 ; + // InternalApplicationConfiguration.g:4396:1: rule__FolderEntry__Group__1 : rule__FolderEntry__Group__1__Impl rule__FolderEntry__Group__2 ; public final void rule__FolderEntry__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4329:1: ( rule__FolderEntry__Group__1__Impl rule__FolderEntry__Group__2 ) - // InternalApplicationConfiguration.g:4330:2: rule__FolderEntry__Group__1__Impl rule__FolderEntry__Group__2 + // InternalApplicationConfiguration.g:4400:1: ( rule__FolderEntry__Group__1__Impl rule__FolderEntry__Group__2 ) + // InternalApplicationConfiguration.g:4401:2: rule__FolderEntry__Group__1__Impl rule__FolderEntry__Group__2 { pushFollow(FOLLOW_18); rule__FolderEntry__Group__1__Impl(); @@ -14019,21 +14254,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__FolderEntry__Group__1__Impl" - // InternalApplicationConfiguration.g:4337:1: rule__FolderEntry__Group__1__Impl : ( ( rule__FolderEntry__PathAssignment_1 ) ) ; + // InternalApplicationConfiguration.g:4408:1: rule__FolderEntry__Group__1__Impl : ( ( rule__FolderEntry__PathAssignment_1 ) ) ; public final void rule__FolderEntry__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4341:1: ( ( ( rule__FolderEntry__PathAssignment_1 ) ) ) - // InternalApplicationConfiguration.g:4342:1: ( ( rule__FolderEntry__PathAssignment_1 ) ) + // InternalApplicationConfiguration.g:4412:1: ( ( ( rule__FolderEntry__PathAssignment_1 ) ) ) + // InternalApplicationConfiguration.g:4413:1: ( ( rule__FolderEntry__PathAssignment_1 ) ) { - // InternalApplicationConfiguration.g:4342:1: ( ( rule__FolderEntry__PathAssignment_1 ) ) - // InternalApplicationConfiguration.g:4343:2: ( rule__FolderEntry__PathAssignment_1 ) + // InternalApplicationConfiguration.g:4413:1: ( ( rule__FolderEntry__PathAssignment_1 ) ) + // InternalApplicationConfiguration.g:4414:2: ( rule__FolderEntry__PathAssignment_1 ) { before(grammarAccess.getFolderEntryAccess().getPathAssignment_1()); - // InternalApplicationConfiguration.g:4344:2: ( rule__FolderEntry__PathAssignment_1 ) - // InternalApplicationConfiguration.g:4344:3: rule__FolderEntry__PathAssignment_1 + // InternalApplicationConfiguration.g:4415:2: ( rule__FolderEntry__PathAssignment_1 ) + // InternalApplicationConfiguration.g:4415:3: rule__FolderEntry__PathAssignment_1 { pushFollow(FOLLOW_2); rule__FolderEntry__PathAssignment_1(); @@ -14066,14 +14301,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__FolderEntry__Group__2" - // InternalApplicationConfiguration.g:4352:1: rule__FolderEntry__Group__2 : rule__FolderEntry__Group__2__Impl ; + // InternalApplicationConfiguration.g:4423:1: rule__FolderEntry__Group__2 : rule__FolderEntry__Group__2__Impl ; public final void rule__FolderEntry__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4356:1: ( rule__FolderEntry__Group__2__Impl ) - // InternalApplicationConfiguration.g:4357:2: rule__FolderEntry__Group__2__Impl + // InternalApplicationConfiguration.g:4427:1: ( rule__FolderEntry__Group__2__Impl ) + // InternalApplicationConfiguration.g:4428:2: rule__FolderEntry__Group__2__Impl { pushFollow(FOLLOW_2); rule__FolderEntry__Group__2__Impl(); @@ -14099,29 +14334,29 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__FolderEntry__Group__2__Impl" - // InternalApplicationConfiguration.g:4363:1: rule__FolderEntry__Group__2__Impl : ( ( rule__FolderEntry__Group_2__0 )? ) ; + // InternalApplicationConfiguration.g:4434:1: rule__FolderEntry__Group__2__Impl : ( ( rule__FolderEntry__Group_2__0 )? ) ; public final void rule__FolderEntry__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4367:1: ( ( ( rule__FolderEntry__Group_2__0 )? ) ) - // InternalApplicationConfiguration.g:4368:1: ( ( rule__FolderEntry__Group_2__0 )? ) + // InternalApplicationConfiguration.g:4438:1: ( ( ( rule__FolderEntry__Group_2__0 )? ) ) + // InternalApplicationConfiguration.g:4439:1: ( ( rule__FolderEntry__Group_2__0 )? ) { - // InternalApplicationConfiguration.g:4368:1: ( ( rule__FolderEntry__Group_2__0 )? ) - // InternalApplicationConfiguration.g:4369:2: ( rule__FolderEntry__Group_2__0 )? + // InternalApplicationConfiguration.g:4439:1: ( ( rule__FolderEntry__Group_2__0 )? ) + // InternalApplicationConfiguration.g:4440:2: ( rule__FolderEntry__Group_2__0 )? { before(grammarAccess.getFolderEntryAccess().getGroup_2()); - // InternalApplicationConfiguration.g:4370:2: ( rule__FolderEntry__Group_2__0 )? - int alt44=2; - int LA44_0 = input.LA(1); + // InternalApplicationConfiguration.g:4441:2: ( rule__FolderEntry__Group_2__0 )? + int alt45=2; + int LA45_0 = input.LA(1); - if ( (LA44_0==33) ) { - alt44=1; + if ( (LA45_0==33) ) { + alt45=1; } - switch (alt44) { + switch (alt45) { case 1 : - // InternalApplicationConfiguration.g:4370:3: rule__FolderEntry__Group_2__0 + // InternalApplicationConfiguration.g:4441:3: rule__FolderEntry__Group_2__0 { pushFollow(FOLLOW_2); rule__FolderEntry__Group_2__0(); @@ -14157,14 +14392,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__FolderEntry__Group_2__0" - // InternalApplicationConfiguration.g:4379:1: rule__FolderEntry__Group_2__0 : rule__FolderEntry__Group_2__0__Impl rule__FolderEntry__Group_2__1 ; + // InternalApplicationConfiguration.g:4450:1: rule__FolderEntry__Group_2__0 : rule__FolderEntry__Group_2__0__Impl rule__FolderEntry__Group_2__1 ; public final void rule__FolderEntry__Group_2__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4383:1: ( rule__FolderEntry__Group_2__0__Impl rule__FolderEntry__Group_2__1 ) - // InternalApplicationConfiguration.g:4384:2: rule__FolderEntry__Group_2__0__Impl rule__FolderEntry__Group_2__1 + // InternalApplicationConfiguration.g:4454:1: ( rule__FolderEntry__Group_2__0__Impl rule__FolderEntry__Group_2__1 ) + // InternalApplicationConfiguration.g:4455:2: rule__FolderEntry__Group_2__0__Impl rule__FolderEntry__Group_2__1 { pushFollow(FOLLOW_19); rule__FolderEntry__Group_2__0__Impl(); @@ -14195,17 +14430,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__FolderEntry__Group_2__0__Impl" - // InternalApplicationConfiguration.g:4391:1: rule__FolderEntry__Group_2__0__Impl : ( 'excluding' ) ; + // InternalApplicationConfiguration.g:4462:1: rule__FolderEntry__Group_2__0__Impl : ( 'excluding' ) ; public final void rule__FolderEntry__Group_2__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4395:1: ( ( 'excluding' ) ) - // InternalApplicationConfiguration.g:4396:1: ( 'excluding' ) + // InternalApplicationConfiguration.g:4466:1: ( ( 'excluding' ) ) + // InternalApplicationConfiguration.g:4467:1: ( 'excluding' ) { - // InternalApplicationConfiguration.g:4396:1: ( 'excluding' ) - // InternalApplicationConfiguration.g:4397:2: 'excluding' + // InternalApplicationConfiguration.g:4467:1: ( 'excluding' ) + // InternalApplicationConfiguration.g:4468:2: 'excluding' { before(grammarAccess.getFolderEntryAccess().getExcludingKeyword_2_0()); match(input,33,FOLLOW_2); @@ -14232,14 +14467,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__FolderEntry__Group_2__1" - // InternalApplicationConfiguration.g:4406:1: rule__FolderEntry__Group_2__1 : rule__FolderEntry__Group_2__1__Impl rule__FolderEntry__Group_2__2 ; + // InternalApplicationConfiguration.g:4477:1: rule__FolderEntry__Group_2__1 : rule__FolderEntry__Group_2__1__Impl rule__FolderEntry__Group_2__2 ; public final void rule__FolderEntry__Group_2__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4410:1: ( rule__FolderEntry__Group_2__1__Impl rule__FolderEntry__Group_2__2 ) - // InternalApplicationConfiguration.g:4411:2: rule__FolderEntry__Group_2__1__Impl rule__FolderEntry__Group_2__2 + // InternalApplicationConfiguration.g:4481:1: ( rule__FolderEntry__Group_2__1__Impl rule__FolderEntry__Group_2__2 ) + // InternalApplicationConfiguration.g:4482:2: rule__FolderEntry__Group_2__1__Impl rule__FolderEntry__Group_2__2 { pushFollow(FOLLOW_22); rule__FolderEntry__Group_2__1__Impl(); @@ -14270,17 +14505,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__FolderEntry__Group_2__1__Impl" - // InternalApplicationConfiguration.g:4418:1: rule__FolderEntry__Group_2__1__Impl : ( '{' ) ; + // InternalApplicationConfiguration.g:4489:1: rule__FolderEntry__Group_2__1__Impl : ( '{' ) ; public final void rule__FolderEntry__Group_2__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4422:1: ( ( '{' ) ) - // InternalApplicationConfiguration.g:4423:1: ( '{' ) + // InternalApplicationConfiguration.g:4493:1: ( ( '{' ) ) + // InternalApplicationConfiguration.g:4494:1: ( '{' ) { - // InternalApplicationConfiguration.g:4423:1: ( '{' ) - // InternalApplicationConfiguration.g:4424:2: '{' + // InternalApplicationConfiguration.g:4494:1: ( '{' ) + // InternalApplicationConfiguration.g:4495:2: '{' { before(grammarAccess.getFolderEntryAccess().getLeftCurlyBracketKeyword_2_1()); match(input,29,FOLLOW_2); @@ -14307,14 +14542,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__FolderEntry__Group_2__2" - // InternalApplicationConfiguration.g:4433:1: rule__FolderEntry__Group_2__2 : rule__FolderEntry__Group_2__2__Impl rule__FolderEntry__Group_2__3 ; + // InternalApplicationConfiguration.g:4504:1: rule__FolderEntry__Group_2__2 : rule__FolderEntry__Group_2__2__Impl rule__FolderEntry__Group_2__3 ; public final void rule__FolderEntry__Group_2__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4437:1: ( rule__FolderEntry__Group_2__2__Impl rule__FolderEntry__Group_2__3 ) - // InternalApplicationConfiguration.g:4438:2: rule__FolderEntry__Group_2__2__Impl rule__FolderEntry__Group_2__3 + // InternalApplicationConfiguration.g:4508:1: ( rule__FolderEntry__Group_2__2__Impl rule__FolderEntry__Group_2__3 ) + // InternalApplicationConfiguration.g:4509:2: rule__FolderEntry__Group_2__2__Impl rule__FolderEntry__Group_2__3 { pushFollow(FOLLOW_16); rule__FolderEntry__Group_2__2__Impl(); @@ -14345,21 +14580,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__FolderEntry__Group_2__2__Impl" - // InternalApplicationConfiguration.g:4445:1: rule__FolderEntry__Group_2__2__Impl : ( ( rule__FolderEntry__ExclusionAssignment_2_2 ) ) ; + // InternalApplicationConfiguration.g:4516:1: rule__FolderEntry__Group_2__2__Impl : ( ( rule__FolderEntry__ExclusionAssignment_2_2 ) ) ; public final void rule__FolderEntry__Group_2__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4449:1: ( ( ( rule__FolderEntry__ExclusionAssignment_2_2 ) ) ) - // InternalApplicationConfiguration.g:4450:1: ( ( rule__FolderEntry__ExclusionAssignment_2_2 ) ) + // InternalApplicationConfiguration.g:4520:1: ( ( ( rule__FolderEntry__ExclusionAssignment_2_2 ) ) ) + // InternalApplicationConfiguration.g:4521:1: ( ( rule__FolderEntry__ExclusionAssignment_2_2 ) ) { - // InternalApplicationConfiguration.g:4450:1: ( ( rule__FolderEntry__ExclusionAssignment_2_2 ) ) - // InternalApplicationConfiguration.g:4451:2: ( rule__FolderEntry__ExclusionAssignment_2_2 ) + // InternalApplicationConfiguration.g:4521:1: ( ( rule__FolderEntry__ExclusionAssignment_2_2 ) ) + // InternalApplicationConfiguration.g:4522:2: ( rule__FolderEntry__ExclusionAssignment_2_2 ) { before(grammarAccess.getFolderEntryAccess().getExclusionAssignment_2_2()); - // InternalApplicationConfiguration.g:4452:2: ( rule__FolderEntry__ExclusionAssignment_2_2 ) - // InternalApplicationConfiguration.g:4452:3: rule__FolderEntry__ExclusionAssignment_2_2 + // InternalApplicationConfiguration.g:4523:2: ( rule__FolderEntry__ExclusionAssignment_2_2 ) + // InternalApplicationConfiguration.g:4523:3: rule__FolderEntry__ExclusionAssignment_2_2 { pushFollow(FOLLOW_2); rule__FolderEntry__ExclusionAssignment_2_2(); @@ -14392,14 +14627,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__FolderEntry__Group_2__3" - // InternalApplicationConfiguration.g:4460:1: rule__FolderEntry__Group_2__3 : rule__FolderEntry__Group_2__3__Impl rule__FolderEntry__Group_2__4 ; + // InternalApplicationConfiguration.g:4531:1: rule__FolderEntry__Group_2__3 : rule__FolderEntry__Group_2__3__Impl rule__FolderEntry__Group_2__4 ; public final void rule__FolderEntry__Group_2__3() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4464:1: ( rule__FolderEntry__Group_2__3__Impl rule__FolderEntry__Group_2__4 ) - // InternalApplicationConfiguration.g:4465:2: rule__FolderEntry__Group_2__3__Impl rule__FolderEntry__Group_2__4 + // InternalApplicationConfiguration.g:4535:1: ( rule__FolderEntry__Group_2__3__Impl rule__FolderEntry__Group_2__4 ) + // InternalApplicationConfiguration.g:4536:2: rule__FolderEntry__Group_2__3__Impl rule__FolderEntry__Group_2__4 { pushFollow(FOLLOW_16); rule__FolderEntry__Group_2__3__Impl(); @@ -14430,33 +14665,33 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__FolderEntry__Group_2__3__Impl" - // InternalApplicationConfiguration.g:4472:1: rule__FolderEntry__Group_2__3__Impl : ( ( rule__FolderEntry__Group_2_3__0 )* ) ; + // InternalApplicationConfiguration.g:4543:1: rule__FolderEntry__Group_2__3__Impl : ( ( rule__FolderEntry__Group_2_3__0 )* ) ; public final void rule__FolderEntry__Group_2__3__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4476:1: ( ( ( rule__FolderEntry__Group_2_3__0 )* ) ) - // InternalApplicationConfiguration.g:4477:1: ( ( rule__FolderEntry__Group_2_3__0 )* ) + // InternalApplicationConfiguration.g:4547:1: ( ( ( rule__FolderEntry__Group_2_3__0 )* ) ) + // InternalApplicationConfiguration.g:4548:1: ( ( rule__FolderEntry__Group_2_3__0 )* ) { - // InternalApplicationConfiguration.g:4477:1: ( ( rule__FolderEntry__Group_2_3__0 )* ) - // InternalApplicationConfiguration.g:4478:2: ( rule__FolderEntry__Group_2_3__0 )* + // InternalApplicationConfiguration.g:4548:1: ( ( rule__FolderEntry__Group_2_3__0 )* ) + // InternalApplicationConfiguration.g:4549:2: ( rule__FolderEntry__Group_2_3__0 )* { before(grammarAccess.getFolderEntryAccess().getGroup_2_3()); - // InternalApplicationConfiguration.g:4479:2: ( rule__FolderEntry__Group_2_3__0 )* - loop45: + // InternalApplicationConfiguration.g:4550:2: ( rule__FolderEntry__Group_2_3__0 )* + loop46: do { - int alt45=2; - int LA45_0 = input.LA(1); + int alt46=2; + int LA46_0 = input.LA(1); - if ( (LA45_0==31) ) { - alt45=1; + if ( (LA46_0==31) ) { + alt46=1; } - switch (alt45) { + switch (alt46) { case 1 : - // InternalApplicationConfiguration.g:4479:3: rule__FolderEntry__Group_2_3__0 + // InternalApplicationConfiguration.g:4550:3: rule__FolderEntry__Group_2_3__0 { pushFollow(FOLLOW_17); rule__FolderEntry__Group_2_3__0(); @@ -14468,7 +14703,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont break; default : - break loop45; + break loop46; } } while (true); @@ -14495,14 +14730,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__FolderEntry__Group_2__4" - // InternalApplicationConfiguration.g:4487:1: rule__FolderEntry__Group_2__4 : rule__FolderEntry__Group_2__4__Impl ; + // InternalApplicationConfiguration.g:4558:1: rule__FolderEntry__Group_2__4 : rule__FolderEntry__Group_2__4__Impl ; public final void rule__FolderEntry__Group_2__4() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4491:1: ( rule__FolderEntry__Group_2__4__Impl ) - // InternalApplicationConfiguration.g:4492:2: rule__FolderEntry__Group_2__4__Impl + // InternalApplicationConfiguration.g:4562:1: ( rule__FolderEntry__Group_2__4__Impl ) + // InternalApplicationConfiguration.g:4563:2: rule__FolderEntry__Group_2__4__Impl { pushFollow(FOLLOW_2); rule__FolderEntry__Group_2__4__Impl(); @@ -14528,17 +14763,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__FolderEntry__Group_2__4__Impl" - // InternalApplicationConfiguration.g:4498:1: rule__FolderEntry__Group_2__4__Impl : ( '}' ) ; + // InternalApplicationConfiguration.g:4569:1: rule__FolderEntry__Group_2__4__Impl : ( '}' ) ; public final void rule__FolderEntry__Group_2__4__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4502:1: ( ( '}' ) ) - // InternalApplicationConfiguration.g:4503:1: ( '}' ) + // InternalApplicationConfiguration.g:4573:1: ( ( '}' ) ) + // InternalApplicationConfiguration.g:4574:1: ( '}' ) { - // InternalApplicationConfiguration.g:4503:1: ( '}' ) - // InternalApplicationConfiguration.g:4504:2: '}' + // InternalApplicationConfiguration.g:4574:1: ( '}' ) + // InternalApplicationConfiguration.g:4575:2: '}' { before(grammarAccess.getFolderEntryAccess().getRightCurlyBracketKeyword_2_4()); match(input,30,FOLLOW_2); @@ -14565,14 +14800,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__FolderEntry__Group_2_3__0" - // InternalApplicationConfiguration.g:4514:1: rule__FolderEntry__Group_2_3__0 : rule__FolderEntry__Group_2_3__0__Impl rule__FolderEntry__Group_2_3__1 ; + // InternalApplicationConfiguration.g:4585:1: rule__FolderEntry__Group_2_3__0 : rule__FolderEntry__Group_2_3__0__Impl rule__FolderEntry__Group_2_3__1 ; public final void rule__FolderEntry__Group_2_3__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4518:1: ( rule__FolderEntry__Group_2_3__0__Impl rule__FolderEntry__Group_2_3__1 ) - // InternalApplicationConfiguration.g:4519:2: rule__FolderEntry__Group_2_3__0__Impl rule__FolderEntry__Group_2_3__1 + // InternalApplicationConfiguration.g:4589:1: ( rule__FolderEntry__Group_2_3__0__Impl rule__FolderEntry__Group_2_3__1 ) + // InternalApplicationConfiguration.g:4590:2: rule__FolderEntry__Group_2_3__0__Impl rule__FolderEntry__Group_2_3__1 { pushFollow(FOLLOW_22); rule__FolderEntry__Group_2_3__0__Impl(); @@ -14603,17 +14838,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__FolderEntry__Group_2_3__0__Impl" - // InternalApplicationConfiguration.g:4526:1: rule__FolderEntry__Group_2_3__0__Impl : ( ',' ) ; + // InternalApplicationConfiguration.g:4597:1: rule__FolderEntry__Group_2_3__0__Impl : ( ',' ) ; public final void rule__FolderEntry__Group_2_3__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4530:1: ( ( ',' ) ) - // InternalApplicationConfiguration.g:4531:1: ( ',' ) + // InternalApplicationConfiguration.g:4601:1: ( ( ',' ) ) + // InternalApplicationConfiguration.g:4602:1: ( ',' ) { - // InternalApplicationConfiguration.g:4531:1: ( ',' ) - // InternalApplicationConfiguration.g:4532:2: ',' + // InternalApplicationConfiguration.g:4602:1: ( ',' ) + // InternalApplicationConfiguration.g:4603:2: ',' { before(grammarAccess.getFolderEntryAccess().getCommaKeyword_2_3_0()); match(input,31,FOLLOW_2); @@ -14640,14 +14875,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__FolderEntry__Group_2_3__1" - // InternalApplicationConfiguration.g:4541:1: rule__FolderEntry__Group_2_3__1 : rule__FolderEntry__Group_2_3__1__Impl ; + // InternalApplicationConfiguration.g:4612:1: rule__FolderEntry__Group_2_3__1 : rule__FolderEntry__Group_2_3__1__Impl ; public final void rule__FolderEntry__Group_2_3__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4545:1: ( rule__FolderEntry__Group_2_3__1__Impl ) - // InternalApplicationConfiguration.g:4546:2: rule__FolderEntry__Group_2_3__1__Impl + // InternalApplicationConfiguration.g:4616:1: ( rule__FolderEntry__Group_2_3__1__Impl ) + // InternalApplicationConfiguration.g:4617:2: rule__FolderEntry__Group_2_3__1__Impl { pushFollow(FOLLOW_2); rule__FolderEntry__Group_2_3__1__Impl(); @@ -14673,21 +14908,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__FolderEntry__Group_2_3__1__Impl" - // InternalApplicationConfiguration.g:4552:1: rule__FolderEntry__Group_2_3__1__Impl : ( ( rule__FolderEntry__ExclusionAssignment_2_3_1 ) ) ; + // InternalApplicationConfiguration.g:4623:1: rule__FolderEntry__Group_2_3__1__Impl : ( ( rule__FolderEntry__ExclusionAssignment_2_3_1 ) ) ; public final void rule__FolderEntry__Group_2_3__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4556:1: ( ( ( rule__FolderEntry__ExclusionAssignment_2_3_1 ) ) ) - // InternalApplicationConfiguration.g:4557:1: ( ( rule__FolderEntry__ExclusionAssignment_2_3_1 ) ) + // InternalApplicationConfiguration.g:4627:1: ( ( ( rule__FolderEntry__ExclusionAssignment_2_3_1 ) ) ) + // InternalApplicationConfiguration.g:4628:1: ( ( rule__FolderEntry__ExclusionAssignment_2_3_1 ) ) { - // InternalApplicationConfiguration.g:4557:1: ( ( rule__FolderEntry__ExclusionAssignment_2_3_1 ) ) - // InternalApplicationConfiguration.g:4558:2: ( rule__FolderEntry__ExclusionAssignment_2_3_1 ) + // InternalApplicationConfiguration.g:4628:1: ( ( rule__FolderEntry__ExclusionAssignment_2_3_1 ) ) + // InternalApplicationConfiguration.g:4629:2: ( rule__FolderEntry__ExclusionAssignment_2_3_1 ) { before(grammarAccess.getFolderEntryAccess().getExclusionAssignment_2_3_1()); - // InternalApplicationConfiguration.g:4559:2: ( rule__FolderEntry__ExclusionAssignment_2_3_1 ) - // InternalApplicationConfiguration.g:4559:3: rule__FolderEntry__ExclusionAssignment_2_3_1 + // InternalApplicationConfiguration.g:4630:2: ( rule__FolderEntry__ExclusionAssignment_2_3_1 ) + // InternalApplicationConfiguration.g:4630:3: rule__FolderEntry__ExclusionAssignment_2_3_1 { pushFollow(FOLLOW_2); rule__FolderEntry__ExclusionAssignment_2_3_1(); @@ -14720,14 +14955,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__PartialModelDeclaration__Group__0" - // InternalApplicationConfiguration.g:4568:1: rule__PartialModelDeclaration__Group__0 : rule__PartialModelDeclaration__Group__0__Impl rule__PartialModelDeclaration__Group__1 ; + // InternalApplicationConfiguration.g:4639:1: rule__PartialModelDeclaration__Group__0 : rule__PartialModelDeclaration__Group__0__Impl rule__PartialModelDeclaration__Group__1 ; public final void rule__PartialModelDeclaration__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4572:1: ( rule__PartialModelDeclaration__Group__0__Impl rule__PartialModelDeclaration__Group__1 ) - // InternalApplicationConfiguration.g:4573:2: rule__PartialModelDeclaration__Group__0__Impl rule__PartialModelDeclaration__Group__1 + // InternalApplicationConfiguration.g:4643:1: ( rule__PartialModelDeclaration__Group__0__Impl rule__PartialModelDeclaration__Group__1 ) + // InternalApplicationConfiguration.g:4644:2: rule__PartialModelDeclaration__Group__0__Impl rule__PartialModelDeclaration__Group__1 { pushFollow(FOLLOW_8); rule__PartialModelDeclaration__Group__0__Impl(); @@ -14758,17 +14993,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__PartialModelDeclaration__Group__0__Impl" - // InternalApplicationConfiguration.g:4580:1: rule__PartialModelDeclaration__Group__0__Impl : ( 'models' ) ; + // InternalApplicationConfiguration.g:4651:1: rule__PartialModelDeclaration__Group__0__Impl : ( 'models' ) ; public final void rule__PartialModelDeclaration__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4584:1: ( ( 'models' ) ) - // InternalApplicationConfiguration.g:4585:1: ( 'models' ) + // InternalApplicationConfiguration.g:4655:1: ( ( 'models' ) ) + // InternalApplicationConfiguration.g:4656:1: ( 'models' ) { - // InternalApplicationConfiguration.g:4585:1: ( 'models' ) - // InternalApplicationConfiguration.g:4586:2: 'models' + // InternalApplicationConfiguration.g:4656:1: ( 'models' ) + // InternalApplicationConfiguration.g:4657:2: 'models' { before(grammarAccess.getPartialModelDeclarationAccess().getModelsKeyword_0()); match(input,37,FOLLOW_2); @@ -14795,14 +15030,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__PartialModelDeclaration__Group__1" - // InternalApplicationConfiguration.g:4595:1: rule__PartialModelDeclaration__Group__1 : rule__PartialModelDeclaration__Group__1__Impl rule__PartialModelDeclaration__Group__2 ; + // InternalApplicationConfiguration.g:4666:1: rule__PartialModelDeclaration__Group__1 : rule__PartialModelDeclaration__Group__1__Impl rule__PartialModelDeclaration__Group__2 ; public final void rule__PartialModelDeclaration__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4599:1: ( rule__PartialModelDeclaration__Group__1__Impl rule__PartialModelDeclaration__Group__2 ) - // InternalApplicationConfiguration.g:4600:2: rule__PartialModelDeclaration__Group__1__Impl rule__PartialModelDeclaration__Group__2 + // InternalApplicationConfiguration.g:4670:1: ( rule__PartialModelDeclaration__Group__1__Impl rule__PartialModelDeclaration__Group__2 ) + // InternalApplicationConfiguration.g:4671:2: rule__PartialModelDeclaration__Group__1__Impl rule__PartialModelDeclaration__Group__2 { pushFollow(FOLLOW_19); rule__PartialModelDeclaration__Group__1__Impl(); @@ -14833,21 +15068,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__PartialModelDeclaration__Group__1__Impl" - // InternalApplicationConfiguration.g:4607:1: rule__PartialModelDeclaration__Group__1__Impl : ( ( rule__PartialModelDeclaration__NameAssignment_1 ) ) ; + // InternalApplicationConfiguration.g:4678:1: rule__PartialModelDeclaration__Group__1__Impl : ( ( rule__PartialModelDeclaration__NameAssignment_1 ) ) ; public final void rule__PartialModelDeclaration__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4611:1: ( ( ( rule__PartialModelDeclaration__NameAssignment_1 ) ) ) - // InternalApplicationConfiguration.g:4612:1: ( ( rule__PartialModelDeclaration__NameAssignment_1 ) ) + // InternalApplicationConfiguration.g:4682:1: ( ( ( rule__PartialModelDeclaration__NameAssignment_1 ) ) ) + // InternalApplicationConfiguration.g:4683:1: ( ( rule__PartialModelDeclaration__NameAssignment_1 ) ) { - // InternalApplicationConfiguration.g:4612:1: ( ( rule__PartialModelDeclaration__NameAssignment_1 ) ) - // InternalApplicationConfiguration.g:4613:2: ( rule__PartialModelDeclaration__NameAssignment_1 ) + // InternalApplicationConfiguration.g:4683:1: ( ( rule__PartialModelDeclaration__NameAssignment_1 ) ) + // InternalApplicationConfiguration.g:4684:2: ( rule__PartialModelDeclaration__NameAssignment_1 ) { before(grammarAccess.getPartialModelDeclarationAccess().getNameAssignment_1()); - // InternalApplicationConfiguration.g:4614:2: ( rule__PartialModelDeclaration__NameAssignment_1 ) - // InternalApplicationConfiguration.g:4614:3: rule__PartialModelDeclaration__NameAssignment_1 + // InternalApplicationConfiguration.g:4685:2: ( rule__PartialModelDeclaration__NameAssignment_1 ) + // InternalApplicationConfiguration.g:4685:3: rule__PartialModelDeclaration__NameAssignment_1 { pushFollow(FOLLOW_2); rule__PartialModelDeclaration__NameAssignment_1(); @@ -14880,14 +15115,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__PartialModelDeclaration__Group__2" - // InternalApplicationConfiguration.g:4622:1: rule__PartialModelDeclaration__Group__2 : rule__PartialModelDeclaration__Group__2__Impl ; + // InternalApplicationConfiguration.g:4693:1: rule__PartialModelDeclaration__Group__2 : rule__PartialModelDeclaration__Group__2__Impl ; public final void rule__PartialModelDeclaration__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4626:1: ( rule__PartialModelDeclaration__Group__2__Impl ) - // InternalApplicationConfiguration.g:4627:2: rule__PartialModelDeclaration__Group__2__Impl + // InternalApplicationConfiguration.g:4697:1: ( rule__PartialModelDeclaration__Group__2__Impl ) + // InternalApplicationConfiguration.g:4698:2: rule__PartialModelDeclaration__Group__2__Impl { pushFollow(FOLLOW_2); rule__PartialModelDeclaration__Group__2__Impl(); @@ -14913,21 +15148,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__PartialModelDeclaration__Group__2__Impl" - // InternalApplicationConfiguration.g:4633:1: rule__PartialModelDeclaration__Group__2__Impl : ( ( rule__PartialModelDeclaration__SpecificationAssignment_2 ) ) ; + // InternalApplicationConfiguration.g:4704:1: rule__PartialModelDeclaration__Group__2__Impl : ( ( rule__PartialModelDeclaration__SpecificationAssignment_2 ) ) ; public final void rule__PartialModelDeclaration__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4637:1: ( ( ( rule__PartialModelDeclaration__SpecificationAssignment_2 ) ) ) - // InternalApplicationConfiguration.g:4638:1: ( ( rule__PartialModelDeclaration__SpecificationAssignment_2 ) ) + // InternalApplicationConfiguration.g:4708:1: ( ( ( rule__PartialModelDeclaration__SpecificationAssignment_2 ) ) ) + // InternalApplicationConfiguration.g:4709:1: ( ( rule__PartialModelDeclaration__SpecificationAssignment_2 ) ) { - // InternalApplicationConfiguration.g:4638:1: ( ( rule__PartialModelDeclaration__SpecificationAssignment_2 ) ) - // InternalApplicationConfiguration.g:4639:2: ( rule__PartialModelDeclaration__SpecificationAssignment_2 ) + // InternalApplicationConfiguration.g:4709:1: ( ( rule__PartialModelDeclaration__SpecificationAssignment_2 ) ) + // InternalApplicationConfiguration.g:4710:2: ( rule__PartialModelDeclaration__SpecificationAssignment_2 ) { before(grammarAccess.getPartialModelDeclarationAccess().getSpecificationAssignment_2()); - // InternalApplicationConfiguration.g:4640:2: ( rule__PartialModelDeclaration__SpecificationAssignment_2 ) - // InternalApplicationConfiguration.g:4640:3: rule__PartialModelDeclaration__SpecificationAssignment_2 + // InternalApplicationConfiguration.g:4711:2: ( rule__PartialModelDeclaration__SpecificationAssignment_2 ) + // InternalApplicationConfiguration.g:4711:3: rule__PartialModelDeclaration__SpecificationAssignment_2 { pushFollow(FOLLOW_2); rule__PartialModelDeclaration__SpecificationAssignment_2(); @@ -14960,14 +15195,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__PatternSpecification__Group__0" - // InternalApplicationConfiguration.g:4649:1: rule__PatternSpecification__Group__0 : rule__PatternSpecification__Group__0__Impl rule__PatternSpecification__Group__1 ; + // InternalApplicationConfiguration.g:4720:1: rule__PatternSpecification__Group__0 : rule__PatternSpecification__Group__0__Impl rule__PatternSpecification__Group__1 ; public final void rule__PatternSpecification__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4653:1: ( rule__PatternSpecification__Group__0__Impl rule__PatternSpecification__Group__1 ) - // InternalApplicationConfiguration.g:4654:2: rule__PatternSpecification__Group__0__Impl rule__PatternSpecification__Group__1 + // InternalApplicationConfiguration.g:4724:1: ( rule__PatternSpecification__Group__0__Impl rule__PatternSpecification__Group__1 ) + // InternalApplicationConfiguration.g:4725:2: rule__PatternSpecification__Group__0__Impl rule__PatternSpecification__Group__1 { pushFollow(FOLLOW_15); rule__PatternSpecification__Group__0__Impl(); @@ -14998,17 +15233,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__PatternSpecification__Group__0__Impl" - // InternalApplicationConfiguration.g:4661:1: rule__PatternSpecification__Group__0__Impl : ( '{' ) ; + // InternalApplicationConfiguration.g:4732:1: rule__PatternSpecification__Group__0__Impl : ( '{' ) ; public final void rule__PatternSpecification__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4665:1: ( ( '{' ) ) - // InternalApplicationConfiguration.g:4666:1: ( '{' ) + // InternalApplicationConfiguration.g:4736:1: ( ( '{' ) ) + // InternalApplicationConfiguration.g:4737:1: ( '{' ) { - // InternalApplicationConfiguration.g:4666:1: ( '{' ) - // InternalApplicationConfiguration.g:4667:2: '{' + // InternalApplicationConfiguration.g:4737:1: ( '{' ) + // InternalApplicationConfiguration.g:4738:2: '{' { before(grammarAccess.getPatternSpecificationAccess().getLeftCurlyBracketKeyword_0()); match(input,29,FOLLOW_2); @@ -15035,14 +15270,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__PatternSpecification__Group__1" - // InternalApplicationConfiguration.g:4676:1: rule__PatternSpecification__Group__1 : rule__PatternSpecification__Group__1__Impl rule__PatternSpecification__Group__2 ; + // InternalApplicationConfiguration.g:4747:1: rule__PatternSpecification__Group__1 : rule__PatternSpecification__Group__1__Impl rule__PatternSpecification__Group__2 ; public final void rule__PatternSpecification__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4680:1: ( rule__PatternSpecification__Group__1__Impl rule__PatternSpecification__Group__2 ) - // InternalApplicationConfiguration.g:4681:2: rule__PatternSpecification__Group__1__Impl rule__PatternSpecification__Group__2 + // InternalApplicationConfiguration.g:4751:1: ( rule__PatternSpecification__Group__1__Impl rule__PatternSpecification__Group__2 ) + // InternalApplicationConfiguration.g:4752:2: rule__PatternSpecification__Group__1__Impl rule__PatternSpecification__Group__2 { pushFollow(FOLLOW_16); rule__PatternSpecification__Group__1__Impl(); @@ -15073,21 +15308,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__PatternSpecification__Group__1__Impl" - // InternalApplicationConfiguration.g:4688:1: rule__PatternSpecification__Group__1__Impl : ( ( rule__PatternSpecification__EntriesAssignment_1 ) ) ; + // InternalApplicationConfiguration.g:4759:1: rule__PatternSpecification__Group__1__Impl : ( ( rule__PatternSpecification__EntriesAssignment_1 ) ) ; public final void rule__PatternSpecification__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4692:1: ( ( ( rule__PatternSpecification__EntriesAssignment_1 ) ) ) - // InternalApplicationConfiguration.g:4693:1: ( ( rule__PatternSpecification__EntriesAssignment_1 ) ) + // InternalApplicationConfiguration.g:4763:1: ( ( ( rule__PatternSpecification__EntriesAssignment_1 ) ) ) + // InternalApplicationConfiguration.g:4764:1: ( ( rule__PatternSpecification__EntriesAssignment_1 ) ) { - // InternalApplicationConfiguration.g:4693:1: ( ( rule__PatternSpecification__EntriesAssignment_1 ) ) - // InternalApplicationConfiguration.g:4694:2: ( rule__PatternSpecification__EntriesAssignment_1 ) + // InternalApplicationConfiguration.g:4764:1: ( ( rule__PatternSpecification__EntriesAssignment_1 ) ) + // InternalApplicationConfiguration.g:4765:2: ( rule__PatternSpecification__EntriesAssignment_1 ) { before(grammarAccess.getPatternSpecificationAccess().getEntriesAssignment_1()); - // InternalApplicationConfiguration.g:4695:2: ( rule__PatternSpecification__EntriesAssignment_1 ) - // InternalApplicationConfiguration.g:4695:3: rule__PatternSpecification__EntriesAssignment_1 + // InternalApplicationConfiguration.g:4766:2: ( rule__PatternSpecification__EntriesAssignment_1 ) + // InternalApplicationConfiguration.g:4766:3: rule__PatternSpecification__EntriesAssignment_1 { pushFollow(FOLLOW_2); rule__PatternSpecification__EntriesAssignment_1(); @@ -15120,14 +15355,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__PatternSpecification__Group__2" - // InternalApplicationConfiguration.g:4703:1: rule__PatternSpecification__Group__2 : rule__PatternSpecification__Group__2__Impl rule__PatternSpecification__Group__3 ; + // InternalApplicationConfiguration.g:4774:1: rule__PatternSpecification__Group__2 : rule__PatternSpecification__Group__2__Impl rule__PatternSpecification__Group__3 ; public final void rule__PatternSpecification__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4707:1: ( rule__PatternSpecification__Group__2__Impl rule__PatternSpecification__Group__3 ) - // InternalApplicationConfiguration.g:4708:2: rule__PatternSpecification__Group__2__Impl rule__PatternSpecification__Group__3 + // InternalApplicationConfiguration.g:4778:1: ( rule__PatternSpecification__Group__2__Impl rule__PatternSpecification__Group__3 ) + // InternalApplicationConfiguration.g:4779:2: rule__PatternSpecification__Group__2__Impl rule__PatternSpecification__Group__3 { pushFollow(FOLLOW_16); rule__PatternSpecification__Group__2__Impl(); @@ -15158,33 +15393,33 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__PatternSpecification__Group__2__Impl" - // InternalApplicationConfiguration.g:4715:1: rule__PatternSpecification__Group__2__Impl : ( ( rule__PatternSpecification__Group_2__0 )* ) ; + // InternalApplicationConfiguration.g:4786:1: rule__PatternSpecification__Group__2__Impl : ( ( rule__PatternSpecification__Group_2__0 )* ) ; public final void rule__PatternSpecification__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4719:1: ( ( ( rule__PatternSpecification__Group_2__0 )* ) ) - // InternalApplicationConfiguration.g:4720:1: ( ( rule__PatternSpecification__Group_2__0 )* ) + // InternalApplicationConfiguration.g:4790:1: ( ( ( rule__PatternSpecification__Group_2__0 )* ) ) + // InternalApplicationConfiguration.g:4791:1: ( ( rule__PatternSpecification__Group_2__0 )* ) { - // InternalApplicationConfiguration.g:4720:1: ( ( rule__PatternSpecification__Group_2__0 )* ) - // InternalApplicationConfiguration.g:4721:2: ( rule__PatternSpecification__Group_2__0 )* + // InternalApplicationConfiguration.g:4791:1: ( ( rule__PatternSpecification__Group_2__0 )* ) + // InternalApplicationConfiguration.g:4792:2: ( rule__PatternSpecification__Group_2__0 )* { before(grammarAccess.getPatternSpecificationAccess().getGroup_2()); - // InternalApplicationConfiguration.g:4722:2: ( rule__PatternSpecification__Group_2__0 )* - loop46: + // InternalApplicationConfiguration.g:4793:2: ( rule__PatternSpecification__Group_2__0 )* + loop47: do { - int alt46=2; - int LA46_0 = input.LA(1); + int alt47=2; + int LA47_0 = input.LA(1); - if ( (LA46_0==31) ) { - alt46=1; + if ( (LA47_0==31) ) { + alt47=1; } - switch (alt46) { + switch (alt47) { case 1 : - // InternalApplicationConfiguration.g:4722:3: rule__PatternSpecification__Group_2__0 + // InternalApplicationConfiguration.g:4793:3: rule__PatternSpecification__Group_2__0 { pushFollow(FOLLOW_17); rule__PatternSpecification__Group_2__0(); @@ -15196,7 +15431,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont break; default : - break loop46; + break loop47; } } while (true); @@ -15223,14 +15458,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__PatternSpecification__Group__3" - // InternalApplicationConfiguration.g:4730:1: rule__PatternSpecification__Group__3 : rule__PatternSpecification__Group__3__Impl ; + // InternalApplicationConfiguration.g:4801:1: rule__PatternSpecification__Group__3 : rule__PatternSpecification__Group__3__Impl ; public final void rule__PatternSpecification__Group__3() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4734:1: ( rule__PatternSpecification__Group__3__Impl ) - // InternalApplicationConfiguration.g:4735:2: rule__PatternSpecification__Group__3__Impl + // InternalApplicationConfiguration.g:4805:1: ( rule__PatternSpecification__Group__3__Impl ) + // InternalApplicationConfiguration.g:4806:2: rule__PatternSpecification__Group__3__Impl { pushFollow(FOLLOW_2); rule__PatternSpecification__Group__3__Impl(); @@ -15256,17 +15491,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__PatternSpecification__Group__3__Impl" - // InternalApplicationConfiguration.g:4741:1: rule__PatternSpecification__Group__3__Impl : ( '}' ) ; + // InternalApplicationConfiguration.g:4812:1: rule__PatternSpecification__Group__3__Impl : ( '}' ) ; public final void rule__PatternSpecification__Group__3__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4745:1: ( ( '}' ) ) - // InternalApplicationConfiguration.g:4746:1: ( '}' ) + // InternalApplicationConfiguration.g:4816:1: ( ( '}' ) ) + // InternalApplicationConfiguration.g:4817:1: ( '}' ) { - // InternalApplicationConfiguration.g:4746:1: ( '}' ) - // InternalApplicationConfiguration.g:4747:2: '}' + // InternalApplicationConfiguration.g:4817:1: ( '}' ) + // InternalApplicationConfiguration.g:4818:2: '}' { before(grammarAccess.getPatternSpecificationAccess().getRightCurlyBracketKeyword_3()); match(input,30,FOLLOW_2); @@ -15293,14 +15528,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__PatternSpecification__Group_2__0" - // InternalApplicationConfiguration.g:4757:1: rule__PatternSpecification__Group_2__0 : rule__PatternSpecification__Group_2__0__Impl rule__PatternSpecification__Group_2__1 ; + // InternalApplicationConfiguration.g:4828:1: rule__PatternSpecification__Group_2__0 : rule__PatternSpecification__Group_2__0__Impl rule__PatternSpecification__Group_2__1 ; public final void rule__PatternSpecification__Group_2__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4761:1: ( rule__PatternSpecification__Group_2__0__Impl rule__PatternSpecification__Group_2__1 ) - // InternalApplicationConfiguration.g:4762:2: rule__PatternSpecification__Group_2__0__Impl rule__PatternSpecification__Group_2__1 + // InternalApplicationConfiguration.g:4832:1: ( rule__PatternSpecification__Group_2__0__Impl rule__PatternSpecification__Group_2__1 ) + // InternalApplicationConfiguration.g:4833:2: rule__PatternSpecification__Group_2__0__Impl rule__PatternSpecification__Group_2__1 { pushFollow(FOLLOW_15); rule__PatternSpecification__Group_2__0__Impl(); @@ -15331,17 +15566,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__PatternSpecification__Group_2__0__Impl" - // InternalApplicationConfiguration.g:4769:1: rule__PatternSpecification__Group_2__0__Impl : ( ',' ) ; + // InternalApplicationConfiguration.g:4840:1: rule__PatternSpecification__Group_2__0__Impl : ( ',' ) ; public final void rule__PatternSpecification__Group_2__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4773:1: ( ( ',' ) ) - // InternalApplicationConfiguration.g:4774:1: ( ',' ) + // InternalApplicationConfiguration.g:4844:1: ( ( ',' ) ) + // InternalApplicationConfiguration.g:4845:1: ( ',' ) { - // InternalApplicationConfiguration.g:4774:1: ( ',' ) - // InternalApplicationConfiguration.g:4775:2: ',' + // InternalApplicationConfiguration.g:4845:1: ( ',' ) + // InternalApplicationConfiguration.g:4846:2: ',' { before(grammarAccess.getPatternSpecificationAccess().getCommaKeyword_2_0()); match(input,31,FOLLOW_2); @@ -15368,14 +15603,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__PatternSpecification__Group_2__1" - // InternalApplicationConfiguration.g:4784:1: rule__PatternSpecification__Group_2__1 : rule__PatternSpecification__Group_2__1__Impl ; + // InternalApplicationConfiguration.g:4855:1: rule__PatternSpecification__Group_2__1 : rule__PatternSpecification__Group_2__1__Impl ; public final void rule__PatternSpecification__Group_2__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4788:1: ( rule__PatternSpecification__Group_2__1__Impl ) - // InternalApplicationConfiguration.g:4789:2: rule__PatternSpecification__Group_2__1__Impl + // InternalApplicationConfiguration.g:4859:1: ( rule__PatternSpecification__Group_2__1__Impl ) + // InternalApplicationConfiguration.g:4860:2: rule__PatternSpecification__Group_2__1__Impl { pushFollow(FOLLOW_2); rule__PatternSpecification__Group_2__1__Impl(); @@ -15401,21 +15636,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__PatternSpecification__Group_2__1__Impl" - // InternalApplicationConfiguration.g:4795:1: rule__PatternSpecification__Group_2__1__Impl : ( ( rule__PatternSpecification__EntriesAssignment_2_1 ) ) ; + // InternalApplicationConfiguration.g:4866:1: rule__PatternSpecification__Group_2__1__Impl : ( ( rule__PatternSpecification__EntriesAssignment_2_1 ) ) ; public final void rule__PatternSpecification__Group_2__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4799:1: ( ( ( rule__PatternSpecification__EntriesAssignment_2_1 ) ) ) - // InternalApplicationConfiguration.g:4800:1: ( ( rule__PatternSpecification__EntriesAssignment_2_1 ) ) + // InternalApplicationConfiguration.g:4870:1: ( ( ( rule__PatternSpecification__EntriesAssignment_2_1 ) ) ) + // InternalApplicationConfiguration.g:4871:1: ( ( rule__PatternSpecification__EntriesAssignment_2_1 ) ) { - // InternalApplicationConfiguration.g:4800:1: ( ( rule__PatternSpecification__EntriesAssignment_2_1 ) ) - // InternalApplicationConfiguration.g:4801:2: ( rule__PatternSpecification__EntriesAssignment_2_1 ) + // InternalApplicationConfiguration.g:4871:1: ( ( rule__PatternSpecification__EntriesAssignment_2_1 ) ) + // InternalApplicationConfiguration.g:4872:2: ( rule__PatternSpecification__EntriesAssignment_2_1 ) { before(grammarAccess.getPatternSpecificationAccess().getEntriesAssignment_2_1()); - // InternalApplicationConfiguration.g:4802:2: ( rule__PatternSpecification__EntriesAssignment_2_1 ) - // InternalApplicationConfiguration.g:4802:3: rule__PatternSpecification__EntriesAssignment_2_1 + // InternalApplicationConfiguration.g:4873:2: ( rule__PatternSpecification__EntriesAssignment_2_1 ) + // InternalApplicationConfiguration.g:4873:3: rule__PatternSpecification__EntriesAssignment_2_1 { pushFollow(FOLLOW_2); rule__PatternSpecification__EntriesAssignment_2_1(); @@ -15448,14 +15683,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__AllPatternEntry__Group__0" - // InternalApplicationConfiguration.g:4811:1: rule__AllPatternEntry__Group__0 : rule__AllPatternEntry__Group__0__Impl rule__AllPatternEntry__Group__1 ; + // InternalApplicationConfiguration.g:4882:1: rule__AllPatternEntry__Group__0 : rule__AllPatternEntry__Group__0__Impl rule__AllPatternEntry__Group__1 ; public final void rule__AllPatternEntry__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4815:1: ( rule__AllPatternEntry__Group__0__Impl rule__AllPatternEntry__Group__1 ) - // InternalApplicationConfiguration.g:4816:2: rule__AllPatternEntry__Group__0__Impl rule__AllPatternEntry__Group__1 + // InternalApplicationConfiguration.g:4886:1: ( rule__AllPatternEntry__Group__0__Impl rule__AllPatternEntry__Group__1 ) + // InternalApplicationConfiguration.g:4887:2: rule__AllPatternEntry__Group__0__Impl rule__AllPatternEntry__Group__1 { pushFollow(FOLLOW_8); rule__AllPatternEntry__Group__0__Impl(); @@ -15486,17 +15721,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__AllPatternEntry__Group__0__Impl" - // InternalApplicationConfiguration.g:4823:1: rule__AllPatternEntry__Group__0__Impl : ( 'package' ) ; + // InternalApplicationConfiguration.g:4894:1: rule__AllPatternEntry__Group__0__Impl : ( 'package' ) ; public final void rule__AllPatternEntry__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4827:1: ( ( 'package' ) ) - // InternalApplicationConfiguration.g:4828:1: ( 'package' ) + // InternalApplicationConfiguration.g:4898:1: ( ( 'package' ) ) + // InternalApplicationConfiguration.g:4899:1: ( 'package' ) { - // InternalApplicationConfiguration.g:4828:1: ( 'package' ) - // InternalApplicationConfiguration.g:4829:2: 'package' + // InternalApplicationConfiguration.g:4899:1: ( 'package' ) + // InternalApplicationConfiguration.g:4900:2: 'package' { before(grammarAccess.getAllPatternEntryAccess().getPackageKeyword_0()); match(input,32,FOLLOW_2); @@ -15523,14 +15758,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__AllPatternEntry__Group__1" - // InternalApplicationConfiguration.g:4838:1: rule__AllPatternEntry__Group__1 : rule__AllPatternEntry__Group__1__Impl rule__AllPatternEntry__Group__2 ; + // InternalApplicationConfiguration.g:4909:1: rule__AllPatternEntry__Group__1 : rule__AllPatternEntry__Group__1__Impl rule__AllPatternEntry__Group__2 ; public final void rule__AllPatternEntry__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4842:1: ( rule__AllPatternEntry__Group__1__Impl rule__AllPatternEntry__Group__2 ) - // InternalApplicationConfiguration.g:4843:2: rule__AllPatternEntry__Group__1__Impl rule__AllPatternEntry__Group__2 + // InternalApplicationConfiguration.g:4913:1: ( rule__AllPatternEntry__Group__1__Impl rule__AllPatternEntry__Group__2 ) + // InternalApplicationConfiguration.g:4914:2: rule__AllPatternEntry__Group__1__Impl rule__AllPatternEntry__Group__2 { pushFollow(FOLLOW_18); rule__AllPatternEntry__Group__1__Impl(); @@ -15561,21 +15796,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__AllPatternEntry__Group__1__Impl" - // InternalApplicationConfiguration.g:4850:1: rule__AllPatternEntry__Group__1__Impl : ( ( rule__AllPatternEntry__PackageAssignment_1 ) ) ; + // InternalApplicationConfiguration.g:4921:1: rule__AllPatternEntry__Group__1__Impl : ( ( rule__AllPatternEntry__PackageAssignment_1 ) ) ; public final void rule__AllPatternEntry__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4854:1: ( ( ( rule__AllPatternEntry__PackageAssignment_1 ) ) ) - // InternalApplicationConfiguration.g:4855:1: ( ( rule__AllPatternEntry__PackageAssignment_1 ) ) + // InternalApplicationConfiguration.g:4925:1: ( ( ( rule__AllPatternEntry__PackageAssignment_1 ) ) ) + // InternalApplicationConfiguration.g:4926:1: ( ( rule__AllPatternEntry__PackageAssignment_1 ) ) { - // InternalApplicationConfiguration.g:4855:1: ( ( rule__AllPatternEntry__PackageAssignment_1 ) ) - // InternalApplicationConfiguration.g:4856:2: ( rule__AllPatternEntry__PackageAssignment_1 ) + // InternalApplicationConfiguration.g:4926:1: ( ( rule__AllPatternEntry__PackageAssignment_1 ) ) + // InternalApplicationConfiguration.g:4927:2: ( rule__AllPatternEntry__PackageAssignment_1 ) { before(grammarAccess.getAllPatternEntryAccess().getPackageAssignment_1()); - // InternalApplicationConfiguration.g:4857:2: ( rule__AllPatternEntry__PackageAssignment_1 ) - // InternalApplicationConfiguration.g:4857:3: rule__AllPatternEntry__PackageAssignment_1 + // InternalApplicationConfiguration.g:4928:2: ( rule__AllPatternEntry__PackageAssignment_1 ) + // InternalApplicationConfiguration.g:4928:3: rule__AllPatternEntry__PackageAssignment_1 { pushFollow(FOLLOW_2); rule__AllPatternEntry__PackageAssignment_1(); @@ -15608,14 +15843,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__AllPatternEntry__Group__2" - // InternalApplicationConfiguration.g:4865:1: rule__AllPatternEntry__Group__2 : rule__AllPatternEntry__Group__2__Impl ; + // InternalApplicationConfiguration.g:4936:1: rule__AllPatternEntry__Group__2 : rule__AllPatternEntry__Group__2__Impl ; public final void rule__AllPatternEntry__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4869:1: ( rule__AllPatternEntry__Group__2__Impl ) - // InternalApplicationConfiguration.g:4870:2: rule__AllPatternEntry__Group__2__Impl + // InternalApplicationConfiguration.g:4940:1: ( rule__AllPatternEntry__Group__2__Impl ) + // InternalApplicationConfiguration.g:4941:2: rule__AllPatternEntry__Group__2__Impl { pushFollow(FOLLOW_2); rule__AllPatternEntry__Group__2__Impl(); @@ -15641,29 +15876,29 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__AllPatternEntry__Group__2__Impl" - // InternalApplicationConfiguration.g:4876:1: rule__AllPatternEntry__Group__2__Impl : ( ( rule__AllPatternEntry__Group_2__0 )? ) ; + // InternalApplicationConfiguration.g:4947:1: rule__AllPatternEntry__Group__2__Impl : ( ( rule__AllPatternEntry__Group_2__0 )? ) ; public final void rule__AllPatternEntry__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4880:1: ( ( ( rule__AllPatternEntry__Group_2__0 )? ) ) - // InternalApplicationConfiguration.g:4881:1: ( ( rule__AllPatternEntry__Group_2__0 )? ) + // InternalApplicationConfiguration.g:4951:1: ( ( ( rule__AllPatternEntry__Group_2__0 )? ) ) + // InternalApplicationConfiguration.g:4952:1: ( ( rule__AllPatternEntry__Group_2__0 )? ) { - // InternalApplicationConfiguration.g:4881:1: ( ( rule__AllPatternEntry__Group_2__0 )? ) - // InternalApplicationConfiguration.g:4882:2: ( rule__AllPatternEntry__Group_2__0 )? + // InternalApplicationConfiguration.g:4952:1: ( ( rule__AllPatternEntry__Group_2__0 )? ) + // InternalApplicationConfiguration.g:4953:2: ( rule__AllPatternEntry__Group_2__0 )? { before(grammarAccess.getAllPatternEntryAccess().getGroup_2()); - // InternalApplicationConfiguration.g:4883:2: ( rule__AllPatternEntry__Group_2__0 )? - int alt47=2; - int LA47_0 = input.LA(1); + // InternalApplicationConfiguration.g:4954:2: ( rule__AllPatternEntry__Group_2__0 )? + int alt48=2; + int LA48_0 = input.LA(1); - if ( (LA47_0==33) ) { - alt47=1; + if ( (LA48_0==33) ) { + alt48=1; } - switch (alt47) { + switch (alt48) { case 1 : - // InternalApplicationConfiguration.g:4883:3: rule__AllPatternEntry__Group_2__0 + // InternalApplicationConfiguration.g:4954:3: rule__AllPatternEntry__Group_2__0 { pushFollow(FOLLOW_2); rule__AllPatternEntry__Group_2__0(); @@ -15699,14 +15934,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__AllPatternEntry__Group_2__0" - // InternalApplicationConfiguration.g:4892:1: rule__AllPatternEntry__Group_2__0 : rule__AllPatternEntry__Group_2__0__Impl rule__AllPatternEntry__Group_2__1 ; + // InternalApplicationConfiguration.g:4963:1: rule__AllPatternEntry__Group_2__0 : rule__AllPatternEntry__Group_2__0__Impl rule__AllPatternEntry__Group_2__1 ; public final void rule__AllPatternEntry__Group_2__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4896:1: ( rule__AllPatternEntry__Group_2__0__Impl rule__AllPatternEntry__Group_2__1 ) - // InternalApplicationConfiguration.g:4897:2: rule__AllPatternEntry__Group_2__0__Impl rule__AllPatternEntry__Group_2__1 + // InternalApplicationConfiguration.g:4967:1: ( rule__AllPatternEntry__Group_2__0__Impl rule__AllPatternEntry__Group_2__1 ) + // InternalApplicationConfiguration.g:4968:2: rule__AllPatternEntry__Group_2__0__Impl rule__AllPatternEntry__Group_2__1 { pushFollow(FOLLOW_19); rule__AllPatternEntry__Group_2__0__Impl(); @@ -15737,17 +15972,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__AllPatternEntry__Group_2__0__Impl" - // InternalApplicationConfiguration.g:4904:1: rule__AllPatternEntry__Group_2__0__Impl : ( 'excluding' ) ; + // InternalApplicationConfiguration.g:4975:1: rule__AllPatternEntry__Group_2__0__Impl : ( 'excluding' ) ; public final void rule__AllPatternEntry__Group_2__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4908:1: ( ( 'excluding' ) ) - // InternalApplicationConfiguration.g:4909:1: ( 'excluding' ) + // InternalApplicationConfiguration.g:4979:1: ( ( 'excluding' ) ) + // InternalApplicationConfiguration.g:4980:1: ( 'excluding' ) { - // InternalApplicationConfiguration.g:4909:1: ( 'excluding' ) - // InternalApplicationConfiguration.g:4910:2: 'excluding' + // InternalApplicationConfiguration.g:4980:1: ( 'excluding' ) + // InternalApplicationConfiguration.g:4981:2: 'excluding' { before(grammarAccess.getAllPatternEntryAccess().getExcludingKeyword_2_0()); match(input,33,FOLLOW_2); @@ -15774,14 +16009,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__AllPatternEntry__Group_2__1" - // InternalApplicationConfiguration.g:4919:1: rule__AllPatternEntry__Group_2__1 : rule__AllPatternEntry__Group_2__1__Impl rule__AllPatternEntry__Group_2__2 ; + // InternalApplicationConfiguration.g:4990:1: rule__AllPatternEntry__Group_2__1 : rule__AllPatternEntry__Group_2__1__Impl rule__AllPatternEntry__Group_2__2 ; public final void rule__AllPatternEntry__Group_2__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4923:1: ( rule__AllPatternEntry__Group_2__1__Impl rule__AllPatternEntry__Group_2__2 ) - // InternalApplicationConfiguration.g:4924:2: rule__AllPatternEntry__Group_2__1__Impl rule__AllPatternEntry__Group_2__2 + // InternalApplicationConfiguration.g:4994:1: ( rule__AllPatternEntry__Group_2__1__Impl rule__AllPatternEntry__Group_2__2 ) + // InternalApplicationConfiguration.g:4995:2: rule__AllPatternEntry__Group_2__1__Impl rule__AllPatternEntry__Group_2__2 { pushFollow(FOLLOW_8); rule__AllPatternEntry__Group_2__1__Impl(); @@ -15812,17 +16047,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__AllPatternEntry__Group_2__1__Impl" - // InternalApplicationConfiguration.g:4931:1: rule__AllPatternEntry__Group_2__1__Impl : ( '{' ) ; + // InternalApplicationConfiguration.g:5002:1: rule__AllPatternEntry__Group_2__1__Impl : ( '{' ) ; public final void rule__AllPatternEntry__Group_2__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4935:1: ( ( '{' ) ) - // InternalApplicationConfiguration.g:4936:1: ( '{' ) + // InternalApplicationConfiguration.g:5006:1: ( ( '{' ) ) + // InternalApplicationConfiguration.g:5007:1: ( '{' ) { - // InternalApplicationConfiguration.g:4936:1: ( '{' ) - // InternalApplicationConfiguration.g:4937:2: '{' + // InternalApplicationConfiguration.g:5007:1: ( '{' ) + // InternalApplicationConfiguration.g:5008:2: '{' { before(grammarAccess.getAllPatternEntryAccess().getLeftCurlyBracketKeyword_2_1()); match(input,29,FOLLOW_2); @@ -15849,14 +16084,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__AllPatternEntry__Group_2__2" - // InternalApplicationConfiguration.g:4946:1: rule__AllPatternEntry__Group_2__2 : rule__AllPatternEntry__Group_2__2__Impl rule__AllPatternEntry__Group_2__3 ; + // InternalApplicationConfiguration.g:5017:1: rule__AllPatternEntry__Group_2__2 : rule__AllPatternEntry__Group_2__2__Impl rule__AllPatternEntry__Group_2__3 ; public final void rule__AllPatternEntry__Group_2__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4950:1: ( rule__AllPatternEntry__Group_2__2__Impl rule__AllPatternEntry__Group_2__3 ) - // InternalApplicationConfiguration.g:4951:2: rule__AllPatternEntry__Group_2__2__Impl rule__AllPatternEntry__Group_2__3 + // InternalApplicationConfiguration.g:5021:1: ( rule__AllPatternEntry__Group_2__2__Impl rule__AllPatternEntry__Group_2__3 ) + // InternalApplicationConfiguration.g:5022:2: rule__AllPatternEntry__Group_2__2__Impl rule__AllPatternEntry__Group_2__3 { pushFollow(FOLLOW_16); rule__AllPatternEntry__Group_2__2__Impl(); @@ -15887,21 +16122,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__AllPatternEntry__Group_2__2__Impl" - // InternalApplicationConfiguration.g:4958:1: rule__AllPatternEntry__Group_2__2__Impl : ( ( rule__AllPatternEntry__ExclusuionAssignment_2_2 ) ) ; + // InternalApplicationConfiguration.g:5029:1: rule__AllPatternEntry__Group_2__2__Impl : ( ( rule__AllPatternEntry__ExclusuionAssignment_2_2 ) ) ; public final void rule__AllPatternEntry__Group_2__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4962:1: ( ( ( rule__AllPatternEntry__ExclusuionAssignment_2_2 ) ) ) - // InternalApplicationConfiguration.g:4963:1: ( ( rule__AllPatternEntry__ExclusuionAssignment_2_2 ) ) + // InternalApplicationConfiguration.g:5033:1: ( ( ( rule__AllPatternEntry__ExclusuionAssignment_2_2 ) ) ) + // InternalApplicationConfiguration.g:5034:1: ( ( rule__AllPatternEntry__ExclusuionAssignment_2_2 ) ) { - // InternalApplicationConfiguration.g:4963:1: ( ( rule__AllPatternEntry__ExclusuionAssignment_2_2 ) ) - // InternalApplicationConfiguration.g:4964:2: ( rule__AllPatternEntry__ExclusuionAssignment_2_2 ) + // InternalApplicationConfiguration.g:5034:1: ( ( rule__AllPatternEntry__ExclusuionAssignment_2_2 ) ) + // InternalApplicationConfiguration.g:5035:2: ( rule__AllPatternEntry__ExclusuionAssignment_2_2 ) { before(grammarAccess.getAllPatternEntryAccess().getExclusuionAssignment_2_2()); - // InternalApplicationConfiguration.g:4965:2: ( rule__AllPatternEntry__ExclusuionAssignment_2_2 ) - // InternalApplicationConfiguration.g:4965:3: rule__AllPatternEntry__ExclusuionAssignment_2_2 + // InternalApplicationConfiguration.g:5036:2: ( rule__AllPatternEntry__ExclusuionAssignment_2_2 ) + // InternalApplicationConfiguration.g:5036:3: rule__AllPatternEntry__ExclusuionAssignment_2_2 { pushFollow(FOLLOW_2); rule__AllPatternEntry__ExclusuionAssignment_2_2(); @@ -15934,14 +16169,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__AllPatternEntry__Group_2__3" - // InternalApplicationConfiguration.g:4973:1: rule__AllPatternEntry__Group_2__3 : rule__AllPatternEntry__Group_2__3__Impl rule__AllPatternEntry__Group_2__4 ; + // InternalApplicationConfiguration.g:5044:1: rule__AllPatternEntry__Group_2__3 : rule__AllPatternEntry__Group_2__3__Impl rule__AllPatternEntry__Group_2__4 ; public final void rule__AllPatternEntry__Group_2__3() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4977:1: ( rule__AllPatternEntry__Group_2__3__Impl rule__AllPatternEntry__Group_2__4 ) - // InternalApplicationConfiguration.g:4978:2: rule__AllPatternEntry__Group_2__3__Impl rule__AllPatternEntry__Group_2__4 + // InternalApplicationConfiguration.g:5048:1: ( rule__AllPatternEntry__Group_2__3__Impl rule__AllPatternEntry__Group_2__4 ) + // InternalApplicationConfiguration.g:5049:2: rule__AllPatternEntry__Group_2__3__Impl rule__AllPatternEntry__Group_2__4 { pushFollow(FOLLOW_16); rule__AllPatternEntry__Group_2__3__Impl(); @@ -15972,33 +16207,33 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__AllPatternEntry__Group_2__3__Impl" - // InternalApplicationConfiguration.g:4985:1: rule__AllPatternEntry__Group_2__3__Impl : ( ( rule__AllPatternEntry__Group_2_3__0 )* ) ; + // InternalApplicationConfiguration.g:5056:1: rule__AllPatternEntry__Group_2__3__Impl : ( ( rule__AllPatternEntry__Group_2_3__0 )* ) ; public final void rule__AllPatternEntry__Group_2__3__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4989:1: ( ( ( rule__AllPatternEntry__Group_2_3__0 )* ) ) - // InternalApplicationConfiguration.g:4990:1: ( ( rule__AllPatternEntry__Group_2_3__0 )* ) + // InternalApplicationConfiguration.g:5060:1: ( ( ( rule__AllPatternEntry__Group_2_3__0 )* ) ) + // InternalApplicationConfiguration.g:5061:1: ( ( rule__AllPatternEntry__Group_2_3__0 )* ) { - // InternalApplicationConfiguration.g:4990:1: ( ( rule__AllPatternEntry__Group_2_3__0 )* ) - // InternalApplicationConfiguration.g:4991:2: ( rule__AllPatternEntry__Group_2_3__0 )* + // InternalApplicationConfiguration.g:5061:1: ( ( rule__AllPatternEntry__Group_2_3__0 )* ) + // InternalApplicationConfiguration.g:5062:2: ( rule__AllPatternEntry__Group_2_3__0 )* { before(grammarAccess.getAllPatternEntryAccess().getGroup_2_3()); - // InternalApplicationConfiguration.g:4992:2: ( rule__AllPatternEntry__Group_2_3__0 )* - loop48: + // InternalApplicationConfiguration.g:5063:2: ( rule__AllPatternEntry__Group_2_3__0 )* + loop49: do { - int alt48=2; - int LA48_0 = input.LA(1); + int alt49=2; + int LA49_0 = input.LA(1); - if ( (LA48_0==31) ) { - alt48=1; + if ( (LA49_0==31) ) { + alt49=1; } - switch (alt48) { + switch (alt49) { case 1 : - // InternalApplicationConfiguration.g:4992:3: rule__AllPatternEntry__Group_2_3__0 + // InternalApplicationConfiguration.g:5063:3: rule__AllPatternEntry__Group_2_3__0 { pushFollow(FOLLOW_17); rule__AllPatternEntry__Group_2_3__0(); @@ -16010,7 +16245,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont break; default : - break loop48; + break loop49; } } while (true); @@ -16037,14 +16272,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__AllPatternEntry__Group_2__4" - // InternalApplicationConfiguration.g:5000:1: rule__AllPatternEntry__Group_2__4 : rule__AllPatternEntry__Group_2__4__Impl ; + // InternalApplicationConfiguration.g:5071:1: rule__AllPatternEntry__Group_2__4 : rule__AllPatternEntry__Group_2__4__Impl ; public final void rule__AllPatternEntry__Group_2__4() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:5004:1: ( rule__AllPatternEntry__Group_2__4__Impl ) - // InternalApplicationConfiguration.g:5005:2: rule__AllPatternEntry__Group_2__4__Impl + // InternalApplicationConfiguration.g:5075:1: ( rule__AllPatternEntry__Group_2__4__Impl ) + // InternalApplicationConfiguration.g:5076:2: rule__AllPatternEntry__Group_2__4__Impl { pushFollow(FOLLOW_2); rule__AllPatternEntry__Group_2__4__Impl(); @@ -16070,17 +16305,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__AllPatternEntry__Group_2__4__Impl" - // InternalApplicationConfiguration.g:5011:1: rule__AllPatternEntry__Group_2__4__Impl : ( '}' ) ; + // InternalApplicationConfiguration.g:5082:1: rule__AllPatternEntry__Group_2__4__Impl : ( '}' ) ; public final void rule__AllPatternEntry__Group_2__4__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:5015:1: ( ( '}' ) ) - // InternalApplicationConfiguration.g:5016:1: ( '}' ) + // InternalApplicationConfiguration.g:5086:1: ( ( '}' ) ) + // InternalApplicationConfiguration.g:5087:1: ( '}' ) { - // InternalApplicationConfiguration.g:5016:1: ( '}' ) - // InternalApplicationConfiguration.g:5017:2: '}' + // InternalApplicationConfiguration.g:5087:1: ( '}' ) + // InternalApplicationConfiguration.g:5088:2: '}' { before(grammarAccess.getAllPatternEntryAccess().getRightCurlyBracketKeyword_2_4()); match(input,30,FOLLOW_2); @@ -16107,14 +16342,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__AllPatternEntry__Group_2_3__0" - // InternalApplicationConfiguration.g:5027:1: rule__AllPatternEntry__Group_2_3__0 : rule__AllPatternEntry__Group_2_3__0__Impl rule__AllPatternEntry__Group_2_3__1 ; + // InternalApplicationConfiguration.g:5098:1: rule__AllPatternEntry__Group_2_3__0 : rule__AllPatternEntry__Group_2_3__0__Impl rule__AllPatternEntry__Group_2_3__1 ; public final void rule__AllPatternEntry__Group_2_3__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:5031:1: ( rule__AllPatternEntry__Group_2_3__0__Impl rule__AllPatternEntry__Group_2_3__1 ) - // InternalApplicationConfiguration.g:5032:2: rule__AllPatternEntry__Group_2_3__0__Impl rule__AllPatternEntry__Group_2_3__1 + // InternalApplicationConfiguration.g:5102:1: ( rule__AllPatternEntry__Group_2_3__0__Impl rule__AllPatternEntry__Group_2_3__1 ) + // InternalApplicationConfiguration.g:5103:2: rule__AllPatternEntry__Group_2_3__0__Impl rule__AllPatternEntry__Group_2_3__1 { pushFollow(FOLLOW_8); rule__AllPatternEntry__Group_2_3__0__Impl(); @@ -16145,17 +16380,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__AllPatternEntry__Group_2_3__0__Impl" - // InternalApplicationConfiguration.g:5039:1: rule__AllPatternEntry__Group_2_3__0__Impl : ( ',' ) ; + // InternalApplicationConfiguration.g:5110:1: rule__AllPatternEntry__Group_2_3__0__Impl : ( ',' ) ; public final void rule__AllPatternEntry__Group_2_3__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:5043:1: ( ( ',' ) ) - // InternalApplicationConfiguration.g:5044:1: ( ',' ) + // InternalApplicationConfiguration.g:5114:1: ( ( ',' ) ) + // InternalApplicationConfiguration.g:5115:1: ( ',' ) { - // InternalApplicationConfiguration.g:5044:1: ( ',' ) - // InternalApplicationConfiguration.g:5045:2: ',' + // InternalApplicationConfiguration.g:5115:1: ( ',' ) + // InternalApplicationConfiguration.g:5116:2: ',' { before(grammarAccess.getAllPatternEntryAccess().getCommaKeyword_2_3_0()); match(input,31,FOLLOW_2); @@ -16182,14 +16417,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__AllPatternEntry__Group_2_3__1" - // InternalApplicationConfiguration.g:5054:1: rule__AllPatternEntry__Group_2_3__1 : rule__AllPatternEntry__Group_2_3__1__Impl ; + // InternalApplicationConfiguration.g:5125:1: rule__AllPatternEntry__Group_2_3__1 : rule__AllPatternEntry__Group_2_3__1__Impl ; public final void rule__AllPatternEntry__Group_2_3__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:5058:1: ( rule__AllPatternEntry__Group_2_3__1__Impl ) - // InternalApplicationConfiguration.g:5059:2: rule__AllPatternEntry__Group_2_3__1__Impl + // InternalApplicationConfiguration.g:5129:1: ( rule__AllPatternEntry__Group_2_3__1__Impl ) + // InternalApplicationConfiguration.g:5130:2: rule__AllPatternEntry__Group_2_3__1__Impl { pushFollow(FOLLOW_2); rule__AllPatternEntry__Group_2_3__1__Impl(); @@ -16215,21 +16450,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__AllPatternEntry__Group_2_3__1__Impl" - // InternalApplicationConfiguration.g:5065:1: rule__AllPatternEntry__Group_2_3__1__Impl : ( ( rule__AllPatternEntry__ExclusuionAssignment_2_3_1 ) ) ; + // InternalApplicationConfiguration.g:5136:1: rule__AllPatternEntry__Group_2_3__1__Impl : ( ( rule__AllPatternEntry__ExclusuionAssignment_2_3_1 ) ) ; public final void rule__AllPatternEntry__Group_2_3__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:5069:1: ( ( ( rule__AllPatternEntry__ExclusuionAssignment_2_3_1 ) ) ) - // InternalApplicationConfiguration.g:5070:1: ( ( rule__AllPatternEntry__ExclusuionAssignment_2_3_1 ) ) + // InternalApplicationConfiguration.g:5140:1: ( ( ( rule__AllPatternEntry__ExclusuionAssignment_2_3_1 ) ) ) + // InternalApplicationConfiguration.g:5141:1: ( ( rule__AllPatternEntry__ExclusuionAssignment_2_3_1 ) ) { - // InternalApplicationConfiguration.g:5070:1: ( ( rule__AllPatternEntry__ExclusuionAssignment_2_3_1 ) ) - // InternalApplicationConfiguration.g:5071:2: ( rule__AllPatternEntry__ExclusuionAssignment_2_3_1 ) + // InternalApplicationConfiguration.g:5141:1: ( ( rule__AllPatternEntry__ExclusuionAssignment_2_3_1 ) ) + // InternalApplicationConfiguration.g:5142:2: ( rule__AllPatternEntry__ExclusuionAssignment_2_3_1 ) { before(grammarAccess.getAllPatternEntryAccess().getExclusuionAssignment_2_3_1()); - // InternalApplicationConfiguration.g:5072:2: ( rule__AllPatternEntry__ExclusuionAssignment_2_3_1 ) - // InternalApplicationConfiguration.g:5072:3: rule__AllPatternEntry__ExclusuionAssignment_2_3_1 + // InternalApplicationConfiguration.g:5143:2: ( rule__AllPatternEntry__ExclusuionAssignment_2_3_1 ) + // InternalApplicationConfiguration.g:5143:3: rule__AllPatternEntry__ExclusuionAssignment_2_3_1 { pushFollow(FOLLOW_2); rule__AllPatternEntry__ExclusuionAssignment_2_3_1(); @@ -16262,14 +16497,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__PatternElement__Group__0" - // InternalApplicationConfiguration.g:5081:1: rule__PatternElement__Group__0 : rule__PatternElement__Group__0__Impl rule__PatternElement__Group__1 ; + // InternalApplicationConfiguration.g:5152:1: rule__PatternElement__Group__0 : rule__PatternElement__Group__0__Impl rule__PatternElement__Group__1 ; public final void rule__PatternElement__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:5085:1: ( rule__PatternElement__Group__0__Impl rule__PatternElement__Group__1 ) - // InternalApplicationConfiguration.g:5086:2: rule__PatternElement__Group__0__Impl rule__PatternElement__Group__1 + // InternalApplicationConfiguration.g:5156:1: ( rule__PatternElement__Group__0__Impl rule__PatternElement__Group__1 ) + // InternalApplicationConfiguration.g:5157:2: rule__PatternElement__Group__0__Impl rule__PatternElement__Group__1 { pushFollow(FOLLOW_8); rule__PatternElement__Group__0__Impl(); @@ -16300,33 +16535,33 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__PatternElement__Group__0__Impl" - // InternalApplicationConfiguration.g:5093:1: rule__PatternElement__Group__0__Impl : ( ( rule__PatternElement__Group_0__0 )? ) ; + // InternalApplicationConfiguration.g:5164:1: rule__PatternElement__Group__0__Impl : ( ( rule__PatternElement__Group_0__0 )? ) ; public final void rule__PatternElement__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:5097:1: ( ( ( rule__PatternElement__Group_0__0 )? ) ) - // InternalApplicationConfiguration.g:5098:1: ( ( rule__PatternElement__Group_0__0 )? ) + // InternalApplicationConfiguration.g:5168:1: ( ( ( rule__PatternElement__Group_0__0 )? ) ) + // InternalApplicationConfiguration.g:5169:1: ( ( rule__PatternElement__Group_0__0 )? ) { - // InternalApplicationConfiguration.g:5098:1: ( ( rule__PatternElement__Group_0__0 )? ) - // InternalApplicationConfiguration.g:5099:2: ( rule__PatternElement__Group_0__0 )? + // InternalApplicationConfiguration.g:5169:1: ( ( rule__PatternElement__Group_0__0 )? ) + // InternalApplicationConfiguration.g:5170:2: ( rule__PatternElement__Group_0__0 )? { before(grammarAccess.getPatternElementAccess().getGroup_0()); - // InternalApplicationConfiguration.g:5100:2: ( rule__PatternElement__Group_0__0 )? - int alt49=2; - int LA49_0 = input.LA(1); + // InternalApplicationConfiguration.g:5171:2: ( rule__PatternElement__Group_0__0 )? + int alt50=2; + int LA50_0 = input.LA(1); - if ( (LA49_0==RULE_ID) ) { - int LA49_1 = input.LA(2); + if ( (LA50_0==RULE_ID) ) { + int LA50_1 = input.LA(2); - if ( (LA49_1==21||LA49_1==34) ) { - alt49=1; + if ( (LA50_1==21||LA50_1==34) ) { + alt50=1; } } - switch (alt49) { + switch (alt50) { case 1 : - // InternalApplicationConfiguration.g:5100:3: rule__PatternElement__Group_0__0 + // InternalApplicationConfiguration.g:5171:3: rule__PatternElement__Group_0__0 { pushFollow(FOLLOW_2); rule__PatternElement__Group_0__0(); @@ -16362,14 +16597,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__PatternElement__Group__1" - // InternalApplicationConfiguration.g:5108:1: rule__PatternElement__Group__1 : rule__PatternElement__Group__1__Impl ; + // InternalApplicationConfiguration.g:5179:1: rule__PatternElement__Group__1 : rule__PatternElement__Group__1__Impl ; public final void rule__PatternElement__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:5112:1: ( rule__PatternElement__Group__1__Impl ) - // InternalApplicationConfiguration.g:5113:2: rule__PatternElement__Group__1__Impl + // InternalApplicationConfiguration.g:5183:1: ( rule__PatternElement__Group__1__Impl ) + // InternalApplicationConfiguration.g:5184:2: rule__PatternElement__Group__1__Impl { pushFollow(FOLLOW_2); rule__PatternElement__Group__1__Impl(); @@ -16395,21 +16630,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__PatternElement__Group__1__Impl" - // InternalApplicationConfiguration.g:5119:1: rule__PatternElement__Group__1__Impl : ( ( rule__PatternElement__PatternAssignment_1 ) ) ; + // InternalApplicationConfiguration.g:5190:1: rule__PatternElement__Group__1__Impl : ( ( rule__PatternElement__PatternAssignment_1 ) ) ; public final void rule__PatternElement__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:5123:1: ( ( ( rule__PatternElement__PatternAssignment_1 ) ) ) - // InternalApplicationConfiguration.g:5124:1: ( ( rule__PatternElement__PatternAssignment_1 ) ) + // InternalApplicationConfiguration.g:5194:1: ( ( ( rule__PatternElement__PatternAssignment_1 ) ) ) + // InternalApplicationConfiguration.g:5195:1: ( ( rule__PatternElement__PatternAssignment_1 ) ) { - // InternalApplicationConfiguration.g:5124:1: ( ( rule__PatternElement__PatternAssignment_1 ) ) - // InternalApplicationConfiguration.g:5125:2: ( rule__PatternElement__PatternAssignment_1 ) + // InternalApplicationConfiguration.g:5195:1: ( ( rule__PatternElement__PatternAssignment_1 ) ) + // InternalApplicationConfiguration.g:5196:2: ( rule__PatternElement__PatternAssignment_1 ) { before(grammarAccess.getPatternElementAccess().getPatternAssignment_1()); - // InternalApplicationConfiguration.g:5126:2: ( rule__PatternElement__PatternAssignment_1 ) - // InternalApplicationConfiguration.g:5126:3: rule__PatternElement__PatternAssignment_1 + // InternalApplicationConfiguration.g:5197:2: ( rule__PatternElement__PatternAssignment_1 ) + // InternalApplicationConfiguration.g:5197:3: rule__PatternElement__PatternAssignment_1 { pushFollow(FOLLOW_2); rule__PatternElement__PatternAssignment_1(); @@ -16442,14 +16677,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__PatternElement__Group_0__0" - // InternalApplicationConfiguration.g:5135:1: rule__PatternElement__Group_0__0 : rule__PatternElement__Group_0__0__Impl rule__PatternElement__Group_0__1 ; + // InternalApplicationConfiguration.g:5206:1: rule__PatternElement__Group_0__0 : rule__PatternElement__Group_0__0__Impl rule__PatternElement__Group_0__1 ; public final void rule__PatternElement__Group_0__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:5139:1: ( rule__PatternElement__Group_0__0__Impl rule__PatternElement__Group_0__1 ) - // InternalApplicationConfiguration.g:5140:2: rule__PatternElement__Group_0__0__Impl rule__PatternElement__Group_0__1 + // InternalApplicationConfiguration.g:5210:1: ( rule__PatternElement__Group_0__0__Impl rule__PatternElement__Group_0__1 ) + // InternalApplicationConfiguration.g:5211:2: rule__PatternElement__Group_0__0__Impl rule__PatternElement__Group_0__1 { pushFollow(FOLLOW_20); rule__PatternElement__Group_0__0__Impl(); @@ -16480,21 +16715,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__PatternElement__Group_0__0__Impl" - // InternalApplicationConfiguration.g:5147:1: rule__PatternElement__Group_0__0__Impl : ( ( rule__PatternElement__PackageAssignment_0_0 ) ) ; + // InternalApplicationConfiguration.g:5218:1: rule__PatternElement__Group_0__0__Impl : ( ( rule__PatternElement__PackageAssignment_0_0 ) ) ; public final void rule__PatternElement__Group_0__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:5151:1: ( ( ( rule__PatternElement__PackageAssignment_0_0 ) ) ) - // InternalApplicationConfiguration.g:5152:1: ( ( rule__PatternElement__PackageAssignment_0_0 ) ) + // InternalApplicationConfiguration.g:5222:1: ( ( ( rule__PatternElement__PackageAssignment_0_0 ) ) ) + // InternalApplicationConfiguration.g:5223:1: ( ( rule__PatternElement__PackageAssignment_0_0 ) ) { - // InternalApplicationConfiguration.g:5152:1: ( ( rule__PatternElement__PackageAssignment_0_0 ) ) - // InternalApplicationConfiguration.g:5153:2: ( rule__PatternElement__PackageAssignment_0_0 ) + // InternalApplicationConfiguration.g:5223:1: ( ( rule__PatternElement__PackageAssignment_0_0 ) ) + // InternalApplicationConfiguration.g:5224:2: ( rule__PatternElement__PackageAssignment_0_0 ) { before(grammarAccess.getPatternElementAccess().getPackageAssignment_0_0()); - // InternalApplicationConfiguration.g:5154:2: ( rule__PatternElement__PackageAssignment_0_0 ) - // InternalApplicationConfiguration.g:5154:3: rule__PatternElement__PackageAssignment_0_0 + // InternalApplicationConfiguration.g:5225:2: ( rule__PatternElement__PackageAssignment_0_0 ) + // InternalApplicationConfiguration.g:5225:3: rule__PatternElement__PackageAssignment_0_0 { pushFollow(FOLLOW_2); rule__PatternElement__PackageAssignment_0_0(); @@ -16527,14 +16762,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__PatternElement__Group_0__1" - // InternalApplicationConfiguration.g:5162:1: rule__PatternElement__Group_0__1 : rule__PatternElement__Group_0__1__Impl ; + // InternalApplicationConfiguration.g:5233:1: rule__PatternElement__Group_0__1 : rule__PatternElement__Group_0__1__Impl ; public final void rule__PatternElement__Group_0__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:5166:1: ( rule__PatternElement__Group_0__1__Impl ) - // InternalApplicationConfiguration.g:5167:2: rule__PatternElement__Group_0__1__Impl + // InternalApplicationConfiguration.g:5237:1: ( rule__PatternElement__Group_0__1__Impl ) + // InternalApplicationConfiguration.g:5238:2: rule__PatternElement__Group_0__1__Impl { pushFollow(FOLLOW_2); rule__PatternElement__Group_0__1__Impl(); @@ -16560,17 +16795,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__PatternElement__Group_0__1__Impl" - // InternalApplicationConfiguration.g:5173:1: rule__PatternElement__Group_0__1__Impl : ( '::' ) ; + // InternalApplicationConfiguration.g:5244:1: rule__PatternElement__Group_0__1__Impl : ( '::' ) ; public final void rule__PatternElement__Group_0__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:5177:1: ( ( '::' ) ) - // InternalApplicationConfiguration.g:5178:1: ( '::' ) + // InternalApplicationConfiguration.g:5248:1: ( ( '::' ) ) + // InternalApplicationConfiguration.g:5249:1: ( '::' ) { - // InternalApplicationConfiguration.g:5178:1: ( '::' ) - // InternalApplicationConfiguration.g:5179:2: '::' + // InternalApplicationConfiguration.g:5249:1: ( '::' ) + // InternalApplicationConfiguration.g:5250:2: '::' { before(grammarAccess.getPatternElementAccess().getColonColonKeyword_0_1()); match(input,34,FOLLOW_2); @@ -16597,14 +16832,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GraphPatternDeclaration__Group__0" - // InternalApplicationConfiguration.g:5189:1: rule__GraphPatternDeclaration__Group__0 : rule__GraphPatternDeclaration__Group__0__Impl rule__GraphPatternDeclaration__Group__1 ; + // InternalApplicationConfiguration.g:5260:1: rule__GraphPatternDeclaration__Group__0 : rule__GraphPatternDeclaration__Group__0__Impl rule__GraphPatternDeclaration__Group__1 ; public final void rule__GraphPatternDeclaration__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:5193:1: ( rule__GraphPatternDeclaration__Group__0__Impl rule__GraphPatternDeclaration__Group__1 ) - // InternalApplicationConfiguration.g:5194:2: rule__GraphPatternDeclaration__Group__0__Impl rule__GraphPatternDeclaration__Group__1 + // InternalApplicationConfiguration.g:5264:1: ( rule__GraphPatternDeclaration__Group__0__Impl rule__GraphPatternDeclaration__Group__1 ) + // InternalApplicationConfiguration.g:5265:2: rule__GraphPatternDeclaration__Group__0__Impl rule__GraphPatternDeclaration__Group__1 { pushFollow(FOLLOW_8); rule__GraphPatternDeclaration__Group__0__Impl(); @@ -16635,17 +16870,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GraphPatternDeclaration__Group__0__Impl" - // InternalApplicationConfiguration.g:5201:1: rule__GraphPatternDeclaration__Group__0__Impl : ( 'constraints' ) ; + // InternalApplicationConfiguration.g:5272:1: rule__GraphPatternDeclaration__Group__0__Impl : ( 'constraints' ) ; public final void rule__GraphPatternDeclaration__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:5205:1: ( ( 'constraints' ) ) - // InternalApplicationConfiguration.g:5206:1: ( 'constraints' ) + // InternalApplicationConfiguration.g:5276:1: ( ( 'constraints' ) ) + // InternalApplicationConfiguration.g:5277:1: ( 'constraints' ) { - // InternalApplicationConfiguration.g:5206:1: ( 'constraints' ) - // InternalApplicationConfiguration.g:5207:2: 'constraints' + // InternalApplicationConfiguration.g:5277:1: ( 'constraints' ) + // InternalApplicationConfiguration.g:5278:2: 'constraints' { before(grammarAccess.getGraphPatternDeclarationAccess().getConstraintsKeyword_0()); match(input,38,FOLLOW_2); @@ -16672,14 +16907,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GraphPatternDeclaration__Group__1" - // InternalApplicationConfiguration.g:5216:1: rule__GraphPatternDeclaration__Group__1 : rule__GraphPatternDeclaration__Group__1__Impl rule__GraphPatternDeclaration__Group__2 ; + // InternalApplicationConfiguration.g:5287:1: rule__GraphPatternDeclaration__Group__1 : rule__GraphPatternDeclaration__Group__1__Impl rule__GraphPatternDeclaration__Group__2 ; public final void rule__GraphPatternDeclaration__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:5220:1: ( rule__GraphPatternDeclaration__Group__1__Impl rule__GraphPatternDeclaration__Group__2 ) - // InternalApplicationConfiguration.g:5221:2: rule__GraphPatternDeclaration__Group__1__Impl rule__GraphPatternDeclaration__Group__2 + // InternalApplicationConfiguration.g:5291:1: ( rule__GraphPatternDeclaration__Group__1__Impl rule__GraphPatternDeclaration__Group__2 ) + // InternalApplicationConfiguration.g:5292:2: rule__GraphPatternDeclaration__Group__1__Impl rule__GraphPatternDeclaration__Group__2 { pushFollow(FOLLOW_19); rule__GraphPatternDeclaration__Group__1__Impl(); @@ -16710,21 +16945,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GraphPatternDeclaration__Group__1__Impl" - // InternalApplicationConfiguration.g:5228:1: rule__GraphPatternDeclaration__Group__1__Impl : ( ( rule__GraphPatternDeclaration__NameAssignment_1 ) ) ; + // InternalApplicationConfiguration.g:5299:1: rule__GraphPatternDeclaration__Group__1__Impl : ( ( rule__GraphPatternDeclaration__NameAssignment_1 ) ) ; public final void rule__GraphPatternDeclaration__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:5232:1: ( ( ( rule__GraphPatternDeclaration__NameAssignment_1 ) ) ) - // InternalApplicationConfiguration.g:5233:1: ( ( rule__GraphPatternDeclaration__NameAssignment_1 ) ) + // InternalApplicationConfiguration.g:5303:1: ( ( ( rule__GraphPatternDeclaration__NameAssignment_1 ) ) ) + // InternalApplicationConfiguration.g:5304:1: ( ( rule__GraphPatternDeclaration__NameAssignment_1 ) ) { - // InternalApplicationConfiguration.g:5233:1: ( ( rule__GraphPatternDeclaration__NameAssignment_1 ) ) - // InternalApplicationConfiguration.g:5234:2: ( rule__GraphPatternDeclaration__NameAssignment_1 ) + // InternalApplicationConfiguration.g:5304:1: ( ( rule__GraphPatternDeclaration__NameAssignment_1 ) ) + // InternalApplicationConfiguration.g:5305:2: ( rule__GraphPatternDeclaration__NameAssignment_1 ) { before(grammarAccess.getGraphPatternDeclarationAccess().getNameAssignment_1()); - // InternalApplicationConfiguration.g:5235:2: ( rule__GraphPatternDeclaration__NameAssignment_1 ) - // InternalApplicationConfiguration.g:5235:3: rule__GraphPatternDeclaration__NameAssignment_1 + // InternalApplicationConfiguration.g:5306:2: ( rule__GraphPatternDeclaration__NameAssignment_1 ) + // InternalApplicationConfiguration.g:5306:3: rule__GraphPatternDeclaration__NameAssignment_1 { pushFollow(FOLLOW_2); rule__GraphPatternDeclaration__NameAssignment_1(); @@ -16757,14 +16992,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GraphPatternDeclaration__Group__2" - // InternalApplicationConfiguration.g:5243:1: rule__GraphPatternDeclaration__Group__2 : rule__GraphPatternDeclaration__Group__2__Impl ; + // InternalApplicationConfiguration.g:5314:1: rule__GraphPatternDeclaration__Group__2 : rule__GraphPatternDeclaration__Group__2__Impl ; public final void rule__GraphPatternDeclaration__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:5247:1: ( rule__GraphPatternDeclaration__Group__2__Impl ) - // InternalApplicationConfiguration.g:5248:2: rule__GraphPatternDeclaration__Group__2__Impl + // InternalApplicationConfiguration.g:5318:1: ( rule__GraphPatternDeclaration__Group__2__Impl ) + // InternalApplicationConfiguration.g:5319:2: rule__GraphPatternDeclaration__Group__2__Impl { pushFollow(FOLLOW_2); rule__GraphPatternDeclaration__Group__2__Impl(); @@ -16790,21 +17025,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GraphPatternDeclaration__Group__2__Impl" - // InternalApplicationConfiguration.g:5254:1: rule__GraphPatternDeclaration__Group__2__Impl : ( ( rule__GraphPatternDeclaration__SpecificationAssignment_2 ) ) ; + // InternalApplicationConfiguration.g:5325:1: rule__GraphPatternDeclaration__Group__2__Impl : ( ( rule__GraphPatternDeclaration__SpecificationAssignment_2 ) ) ; public final void rule__GraphPatternDeclaration__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:5258:1: ( ( ( rule__GraphPatternDeclaration__SpecificationAssignment_2 ) ) ) - // InternalApplicationConfiguration.g:5259:1: ( ( rule__GraphPatternDeclaration__SpecificationAssignment_2 ) ) + // InternalApplicationConfiguration.g:5329:1: ( ( ( rule__GraphPatternDeclaration__SpecificationAssignment_2 ) ) ) + // InternalApplicationConfiguration.g:5330:1: ( ( rule__GraphPatternDeclaration__SpecificationAssignment_2 ) ) { - // InternalApplicationConfiguration.g:5259:1: ( ( rule__GraphPatternDeclaration__SpecificationAssignment_2 ) ) - // InternalApplicationConfiguration.g:5260:2: ( rule__GraphPatternDeclaration__SpecificationAssignment_2 ) + // InternalApplicationConfiguration.g:5330:1: ( ( rule__GraphPatternDeclaration__SpecificationAssignment_2 ) ) + // InternalApplicationConfiguration.g:5331:2: ( rule__GraphPatternDeclaration__SpecificationAssignment_2 ) { before(grammarAccess.getGraphPatternDeclarationAccess().getSpecificationAssignment_2()); - // InternalApplicationConfiguration.g:5261:2: ( rule__GraphPatternDeclaration__SpecificationAssignment_2 ) - // InternalApplicationConfiguration.g:5261:3: rule__GraphPatternDeclaration__SpecificationAssignment_2 + // InternalApplicationConfiguration.g:5332:2: ( rule__GraphPatternDeclaration__SpecificationAssignment_2 ) + // InternalApplicationConfiguration.g:5332:3: rule__GraphPatternDeclaration__SpecificationAssignment_2 { pushFollow(FOLLOW_2); rule__GraphPatternDeclaration__SpecificationAssignment_2(); @@ -16837,14 +17072,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ObjectiveSpecification__Group__0" - // InternalApplicationConfiguration.g:5270:1: rule__ObjectiveSpecification__Group__0 : rule__ObjectiveSpecification__Group__0__Impl rule__ObjectiveSpecification__Group__1 ; + // InternalApplicationConfiguration.g:5341:1: rule__ObjectiveSpecification__Group__0 : rule__ObjectiveSpecification__Group__0__Impl rule__ObjectiveSpecification__Group__1 ; public final void rule__ObjectiveSpecification__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:5274:1: ( rule__ObjectiveSpecification__Group__0__Impl rule__ObjectiveSpecification__Group__1 ) - // InternalApplicationConfiguration.g:5275:2: rule__ObjectiveSpecification__Group__0__Impl rule__ObjectiveSpecification__Group__1 + // InternalApplicationConfiguration.g:5345:1: ( rule__ObjectiveSpecification__Group__0__Impl rule__ObjectiveSpecification__Group__1 ) + // InternalApplicationConfiguration.g:5346:2: rule__ObjectiveSpecification__Group__0__Impl rule__ObjectiveSpecification__Group__1 { pushFollow(FOLLOW_23); rule__ObjectiveSpecification__Group__0__Impl(); @@ -16875,17 +17110,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ObjectiveSpecification__Group__0__Impl" - // InternalApplicationConfiguration.g:5282:1: rule__ObjectiveSpecification__Group__0__Impl : ( '{' ) ; + // InternalApplicationConfiguration.g:5353:1: rule__ObjectiveSpecification__Group__0__Impl : ( '{' ) ; public final void rule__ObjectiveSpecification__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:5286:1: ( ( '{' ) ) - // InternalApplicationConfiguration.g:5287:1: ( '{' ) + // InternalApplicationConfiguration.g:5357:1: ( ( '{' ) ) + // InternalApplicationConfiguration.g:5358:1: ( '{' ) { - // InternalApplicationConfiguration.g:5287:1: ( '{' ) - // InternalApplicationConfiguration.g:5288:2: '{' + // InternalApplicationConfiguration.g:5358:1: ( '{' ) + // InternalApplicationConfiguration.g:5359:2: '{' { before(grammarAccess.getObjectiveSpecificationAccess().getLeftCurlyBracketKeyword_0()); match(input,29,FOLLOW_2); @@ -16912,14 +17147,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ObjectiveSpecification__Group__1" - // InternalApplicationConfiguration.g:5297:1: rule__ObjectiveSpecification__Group__1 : rule__ObjectiveSpecification__Group__1__Impl rule__ObjectiveSpecification__Group__2 ; + // InternalApplicationConfiguration.g:5368:1: rule__ObjectiveSpecification__Group__1 : rule__ObjectiveSpecification__Group__1__Impl rule__ObjectiveSpecification__Group__2 ; public final void rule__ObjectiveSpecification__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:5301:1: ( rule__ObjectiveSpecification__Group__1__Impl rule__ObjectiveSpecification__Group__2 ) - // InternalApplicationConfiguration.g:5302:2: rule__ObjectiveSpecification__Group__1__Impl rule__ObjectiveSpecification__Group__2 + // InternalApplicationConfiguration.g:5372:1: ( rule__ObjectiveSpecification__Group__1__Impl rule__ObjectiveSpecification__Group__2 ) + // InternalApplicationConfiguration.g:5373:2: rule__ObjectiveSpecification__Group__1__Impl rule__ObjectiveSpecification__Group__2 { pushFollow(FOLLOW_16); rule__ObjectiveSpecification__Group__1__Impl(); @@ -16950,21 +17185,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ObjectiveSpecification__Group__1__Impl" - // InternalApplicationConfiguration.g:5309:1: rule__ObjectiveSpecification__Group__1__Impl : ( ( rule__ObjectiveSpecification__EntriesAssignment_1 ) ) ; + // InternalApplicationConfiguration.g:5380:1: rule__ObjectiveSpecification__Group__1__Impl : ( ( rule__ObjectiveSpecification__EntriesAssignment_1 ) ) ; public final void rule__ObjectiveSpecification__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:5313:1: ( ( ( rule__ObjectiveSpecification__EntriesAssignment_1 ) ) ) - // InternalApplicationConfiguration.g:5314:1: ( ( rule__ObjectiveSpecification__EntriesAssignment_1 ) ) + // InternalApplicationConfiguration.g:5384:1: ( ( ( rule__ObjectiveSpecification__EntriesAssignment_1 ) ) ) + // InternalApplicationConfiguration.g:5385:1: ( ( rule__ObjectiveSpecification__EntriesAssignment_1 ) ) { - // InternalApplicationConfiguration.g:5314:1: ( ( rule__ObjectiveSpecification__EntriesAssignment_1 ) ) - // InternalApplicationConfiguration.g:5315:2: ( rule__ObjectiveSpecification__EntriesAssignment_1 ) + // InternalApplicationConfiguration.g:5385:1: ( ( rule__ObjectiveSpecification__EntriesAssignment_1 ) ) + // InternalApplicationConfiguration.g:5386:2: ( rule__ObjectiveSpecification__EntriesAssignment_1 ) { before(grammarAccess.getObjectiveSpecificationAccess().getEntriesAssignment_1()); - // InternalApplicationConfiguration.g:5316:2: ( rule__ObjectiveSpecification__EntriesAssignment_1 ) - // InternalApplicationConfiguration.g:5316:3: rule__ObjectiveSpecification__EntriesAssignment_1 + // InternalApplicationConfiguration.g:5387:2: ( rule__ObjectiveSpecification__EntriesAssignment_1 ) + // InternalApplicationConfiguration.g:5387:3: rule__ObjectiveSpecification__EntriesAssignment_1 { pushFollow(FOLLOW_2); rule__ObjectiveSpecification__EntriesAssignment_1(); @@ -16997,14 +17232,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ObjectiveSpecification__Group__2" - // InternalApplicationConfiguration.g:5324:1: rule__ObjectiveSpecification__Group__2 : rule__ObjectiveSpecification__Group__2__Impl rule__ObjectiveSpecification__Group__3 ; + // InternalApplicationConfiguration.g:5395:1: rule__ObjectiveSpecification__Group__2 : rule__ObjectiveSpecification__Group__2__Impl rule__ObjectiveSpecification__Group__3 ; public final void rule__ObjectiveSpecification__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:5328:1: ( rule__ObjectiveSpecification__Group__2__Impl rule__ObjectiveSpecification__Group__3 ) - // InternalApplicationConfiguration.g:5329:2: rule__ObjectiveSpecification__Group__2__Impl rule__ObjectiveSpecification__Group__3 + // InternalApplicationConfiguration.g:5399:1: ( rule__ObjectiveSpecification__Group__2__Impl rule__ObjectiveSpecification__Group__3 ) + // InternalApplicationConfiguration.g:5400:2: rule__ObjectiveSpecification__Group__2__Impl rule__ObjectiveSpecification__Group__3 { pushFollow(FOLLOW_16); rule__ObjectiveSpecification__Group__2__Impl(); @@ -17035,33 +17270,33 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ObjectiveSpecification__Group__2__Impl" - // InternalApplicationConfiguration.g:5336:1: rule__ObjectiveSpecification__Group__2__Impl : ( ( rule__ObjectiveSpecification__Group_2__0 )* ) ; + // InternalApplicationConfiguration.g:5407:1: rule__ObjectiveSpecification__Group__2__Impl : ( ( rule__ObjectiveSpecification__Group_2__0 )* ) ; public final void rule__ObjectiveSpecification__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:5340:1: ( ( ( rule__ObjectiveSpecification__Group_2__0 )* ) ) - // InternalApplicationConfiguration.g:5341:1: ( ( rule__ObjectiveSpecification__Group_2__0 )* ) + // InternalApplicationConfiguration.g:5411:1: ( ( ( rule__ObjectiveSpecification__Group_2__0 )* ) ) + // InternalApplicationConfiguration.g:5412:1: ( ( rule__ObjectiveSpecification__Group_2__0 )* ) { - // InternalApplicationConfiguration.g:5341:1: ( ( rule__ObjectiveSpecification__Group_2__0 )* ) - // InternalApplicationConfiguration.g:5342:2: ( rule__ObjectiveSpecification__Group_2__0 )* + // InternalApplicationConfiguration.g:5412:1: ( ( rule__ObjectiveSpecification__Group_2__0 )* ) + // InternalApplicationConfiguration.g:5413:2: ( rule__ObjectiveSpecification__Group_2__0 )* { before(grammarAccess.getObjectiveSpecificationAccess().getGroup_2()); - // InternalApplicationConfiguration.g:5343:2: ( rule__ObjectiveSpecification__Group_2__0 )* - loop50: + // InternalApplicationConfiguration.g:5414:2: ( rule__ObjectiveSpecification__Group_2__0 )* + loop51: do { - int alt50=2; - int LA50_0 = input.LA(1); + int alt51=2; + int LA51_0 = input.LA(1); - if ( (LA50_0==31) ) { - alt50=1; + if ( (LA51_0==31) ) { + alt51=1; } - switch (alt50) { + switch (alt51) { case 1 : - // InternalApplicationConfiguration.g:5343:3: rule__ObjectiveSpecification__Group_2__0 + // InternalApplicationConfiguration.g:5414:3: rule__ObjectiveSpecification__Group_2__0 { pushFollow(FOLLOW_17); rule__ObjectiveSpecification__Group_2__0(); @@ -17073,7 +17308,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont break; default : - break loop50; + break loop51; } } while (true); @@ -17100,14 +17335,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ObjectiveSpecification__Group__3" - // InternalApplicationConfiguration.g:5351:1: rule__ObjectiveSpecification__Group__3 : rule__ObjectiveSpecification__Group__3__Impl ; + // InternalApplicationConfiguration.g:5422:1: rule__ObjectiveSpecification__Group__3 : rule__ObjectiveSpecification__Group__3__Impl ; public final void rule__ObjectiveSpecification__Group__3() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:5355:1: ( rule__ObjectiveSpecification__Group__3__Impl ) - // InternalApplicationConfiguration.g:5356:2: rule__ObjectiveSpecification__Group__3__Impl + // InternalApplicationConfiguration.g:5426:1: ( rule__ObjectiveSpecification__Group__3__Impl ) + // InternalApplicationConfiguration.g:5427:2: rule__ObjectiveSpecification__Group__3__Impl { pushFollow(FOLLOW_2); rule__ObjectiveSpecification__Group__3__Impl(); @@ -17133,17 +17368,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ObjectiveSpecification__Group__3__Impl" - // InternalApplicationConfiguration.g:5362:1: rule__ObjectiveSpecification__Group__3__Impl : ( '}' ) ; + // InternalApplicationConfiguration.g:5433:1: rule__ObjectiveSpecification__Group__3__Impl : ( '}' ) ; public final void rule__ObjectiveSpecification__Group__3__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:5366:1: ( ( '}' ) ) - // InternalApplicationConfiguration.g:5367:1: ( '}' ) + // InternalApplicationConfiguration.g:5437:1: ( ( '}' ) ) + // InternalApplicationConfiguration.g:5438:1: ( '}' ) { - // InternalApplicationConfiguration.g:5367:1: ( '}' ) - // InternalApplicationConfiguration.g:5368:2: '}' + // InternalApplicationConfiguration.g:5438:1: ( '}' ) + // InternalApplicationConfiguration.g:5439:2: '}' { before(grammarAccess.getObjectiveSpecificationAccess().getRightCurlyBracketKeyword_3()); match(input,30,FOLLOW_2); @@ -17170,14 +17405,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ObjectiveSpecification__Group_2__0" - // InternalApplicationConfiguration.g:5378:1: rule__ObjectiveSpecification__Group_2__0 : rule__ObjectiveSpecification__Group_2__0__Impl rule__ObjectiveSpecification__Group_2__1 ; + // InternalApplicationConfiguration.g:5449:1: rule__ObjectiveSpecification__Group_2__0 : rule__ObjectiveSpecification__Group_2__0__Impl rule__ObjectiveSpecification__Group_2__1 ; public final void rule__ObjectiveSpecification__Group_2__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:5382:1: ( rule__ObjectiveSpecification__Group_2__0__Impl rule__ObjectiveSpecification__Group_2__1 ) - // InternalApplicationConfiguration.g:5383:2: rule__ObjectiveSpecification__Group_2__0__Impl rule__ObjectiveSpecification__Group_2__1 + // InternalApplicationConfiguration.g:5453:1: ( rule__ObjectiveSpecification__Group_2__0__Impl rule__ObjectiveSpecification__Group_2__1 ) + // InternalApplicationConfiguration.g:5454:2: rule__ObjectiveSpecification__Group_2__0__Impl rule__ObjectiveSpecification__Group_2__1 { pushFollow(FOLLOW_23); rule__ObjectiveSpecification__Group_2__0__Impl(); @@ -17208,17 +17443,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ObjectiveSpecification__Group_2__0__Impl" - // InternalApplicationConfiguration.g:5390:1: rule__ObjectiveSpecification__Group_2__0__Impl : ( ',' ) ; + // InternalApplicationConfiguration.g:5461:1: rule__ObjectiveSpecification__Group_2__0__Impl : ( ',' ) ; public final void rule__ObjectiveSpecification__Group_2__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:5394:1: ( ( ',' ) ) - // InternalApplicationConfiguration.g:5395:1: ( ',' ) + // InternalApplicationConfiguration.g:5465:1: ( ( ',' ) ) + // InternalApplicationConfiguration.g:5466:1: ( ',' ) { - // InternalApplicationConfiguration.g:5395:1: ( ',' ) - // InternalApplicationConfiguration.g:5396:2: ',' + // InternalApplicationConfiguration.g:5466:1: ( ',' ) + // InternalApplicationConfiguration.g:5467:2: ',' { before(grammarAccess.getObjectiveSpecificationAccess().getCommaKeyword_2_0()); match(input,31,FOLLOW_2); @@ -17245,14 +17480,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ObjectiveSpecification__Group_2__1" - // InternalApplicationConfiguration.g:5405:1: rule__ObjectiveSpecification__Group_2__1 : rule__ObjectiveSpecification__Group_2__1__Impl ; + // InternalApplicationConfiguration.g:5476:1: rule__ObjectiveSpecification__Group_2__1 : rule__ObjectiveSpecification__Group_2__1__Impl ; public final void rule__ObjectiveSpecification__Group_2__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:5409:1: ( rule__ObjectiveSpecification__Group_2__1__Impl ) - // InternalApplicationConfiguration.g:5410:2: rule__ObjectiveSpecification__Group_2__1__Impl + // InternalApplicationConfiguration.g:5480:1: ( rule__ObjectiveSpecification__Group_2__1__Impl ) + // InternalApplicationConfiguration.g:5481:2: rule__ObjectiveSpecification__Group_2__1__Impl { pushFollow(FOLLOW_2); rule__ObjectiveSpecification__Group_2__1__Impl(); @@ -17278,21 +17513,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ObjectiveSpecification__Group_2__1__Impl" - // InternalApplicationConfiguration.g:5416:1: rule__ObjectiveSpecification__Group_2__1__Impl : ( ( rule__ObjectiveSpecification__EntriesAssignment_2_1 ) ) ; + // InternalApplicationConfiguration.g:5487:1: rule__ObjectiveSpecification__Group_2__1__Impl : ( ( rule__ObjectiveSpecification__EntriesAssignment_2_1 ) ) ; public final void rule__ObjectiveSpecification__Group_2__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:5420:1: ( ( ( rule__ObjectiveSpecification__EntriesAssignment_2_1 ) ) ) - // InternalApplicationConfiguration.g:5421:1: ( ( rule__ObjectiveSpecification__EntriesAssignment_2_1 ) ) + // InternalApplicationConfiguration.g:5491:1: ( ( ( rule__ObjectiveSpecification__EntriesAssignment_2_1 ) ) ) + // InternalApplicationConfiguration.g:5492:1: ( ( rule__ObjectiveSpecification__EntriesAssignment_2_1 ) ) { - // InternalApplicationConfiguration.g:5421:1: ( ( rule__ObjectiveSpecification__EntriesAssignment_2_1 ) ) - // InternalApplicationConfiguration.g:5422:2: ( rule__ObjectiveSpecification__EntriesAssignment_2_1 ) + // InternalApplicationConfiguration.g:5492:1: ( ( rule__ObjectiveSpecification__EntriesAssignment_2_1 ) ) + // InternalApplicationConfiguration.g:5493:2: ( rule__ObjectiveSpecification__EntriesAssignment_2_1 ) { before(grammarAccess.getObjectiveSpecificationAccess().getEntriesAssignment_2_1()); - // InternalApplicationConfiguration.g:5423:2: ( rule__ObjectiveSpecification__EntriesAssignment_2_1 ) - // InternalApplicationConfiguration.g:5423:3: rule__ObjectiveSpecification__EntriesAssignment_2_1 + // InternalApplicationConfiguration.g:5494:2: ( rule__ObjectiveSpecification__EntriesAssignment_2_1 ) + // InternalApplicationConfiguration.g:5494:3: rule__ObjectiveSpecification__EntriesAssignment_2_1 { pushFollow(FOLLOW_2); rule__ObjectiveSpecification__EntriesAssignment_2_1(); @@ -17325,14 +17560,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__OptimizationEntry__Group__0" - // InternalApplicationConfiguration.g:5432:1: rule__OptimizationEntry__Group__0 : rule__OptimizationEntry__Group__0__Impl rule__OptimizationEntry__Group__1 ; + // InternalApplicationConfiguration.g:5503:1: rule__OptimizationEntry__Group__0 : rule__OptimizationEntry__Group__0__Impl rule__OptimizationEntry__Group__1 ; public final void rule__OptimizationEntry__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:5436:1: ( rule__OptimizationEntry__Group__0__Impl rule__OptimizationEntry__Group__1 ) - // InternalApplicationConfiguration.g:5437:2: rule__OptimizationEntry__Group__0__Impl rule__OptimizationEntry__Group__1 + // InternalApplicationConfiguration.g:5507:1: ( rule__OptimizationEntry__Group__0__Impl rule__OptimizationEntry__Group__1 ) + // InternalApplicationConfiguration.g:5508:2: rule__OptimizationEntry__Group__0__Impl rule__OptimizationEntry__Group__1 { pushFollow(FOLLOW_23); rule__OptimizationEntry__Group__0__Impl(); @@ -17363,21 +17598,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__OptimizationEntry__Group__0__Impl" - // InternalApplicationConfiguration.g:5444:1: rule__OptimizationEntry__Group__0__Impl : ( ( rule__OptimizationEntry__DirectionAssignment_0 ) ) ; + // InternalApplicationConfiguration.g:5515:1: rule__OptimizationEntry__Group__0__Impl : ( ( rule__OptimizationEntry__DirectionAssignment_0 ) ) ; public final void rule__OptimizationEntry__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:5448:1: ( ( ( rule__OptimizationEntry__DirectionAssignment_0 ) ) ) - // InternalApplicationConfiguration.g:5449:1: ( ( rule__OptimizationEntry__DirectionAssignment_0 ) ) + // InternalApplicationConfiguration.g:5519:1: ( ( ( rule__OptimizationEntry__DirectionAssignment_0 ) ) ) + // InternalApplicationConfiguration.g:5520:1: ( ( rule__OptimizationEntry__DirectionAssignment_0 ) ) { - // InternalApplicationConfiguration.g:5449:1: ( ( rule__OptimizationEntry__DirectionAssignment_0 ) ) - // InternalApplicationConfiguration.g:5450:2: ( rule__OptimizationEntry__DirectionAssignment_0 ) + // InternalApplicationConfiguration.g:5520:1: ( ( rule__OptimizationEntry__DirectionAssignment_0 ) ) + // InternalApplicationConfiguration.g:5521:2: ( rule__OptimizationEntry__DirectionAssignment_0 ) { before(grammarAccess.getOptimizationEntryAccess().getDirectionAssignment_0()); - // InternalApplicationConfiguration.g:5451:2: ( rule__OptimizationEntry__DirectionAssignment_0 ) - // InternalApplicationConfiguration.g:5451:3: rule__OptimizationEntry__DirectionAssignment_0 + // InternalApplicationConfiguration.g:5522:2: ( rule__OptimizationEntry__DirectionAssignment_0 ) + // InternalApplicationConfiguration.g:5522:3: rule__OptimizationEntry__DirectionAssignment_0 { pushFollow(FOLLOW_2); rule__OptimizationEntry__DirectionAssignment_0(); @@ -17410,14 +17645,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__OptimizationEntry__Group__1" - // InternalApplicationConfiguration.g:5459:1: rule__OptimizationEntry__Group__1 : rule__OptimizationEntry__Group__1__Impl ; + // InternalApplicationConfiguration.g:5530:1: rule__OptimizationEntry__Group__1 : rule__OptimizationEntry__Group__1__Impl ; public final void rule__OptimizationEntry__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:5463:1: ( rule__OptimizationEntry__Group__1__Impl ) - // InternalApplicationConfiguration.g:5464:2: rule__OptimizationEntry__Group__1__Impl + // InternalApplicationConfiguration.g:5534:1: ( rule__OptimizationEntry__Group__1__Impl ) + // InternalApplicationConfiguration.g:5535:2: rule__OptimizationEntry__Group__1__Impl { pushFollow(FOLLOW_2); rule__OptimizationEntry__Group__1__Impl(); @@ -17443,21 +17678,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__OptimizationEntry__Group__1__Impl" - // InternalApplicationConfiguration.g:5470:1: rule__OptimizationEntry__Group__1__Impl : ( ( rule__OptimizationEntry__FunctionAssignment_1 ) ) ; + // InternalApplicationConfiguration.g:5541:1: rule__OptimizationEntry__Group__1__Impl : ( ( rule__OptimizationEntry__FunctionAssignment_1 ) ) ; public final void rule__OptimizationEntry__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:5474:1: ( ( ( rule__OptimizationEntry__FunctionAssignment_1 ) ) ) - // InternalApplicationConfiguration.g:5475:1: ( ( rule__OptimizationEntry__FunctionAssignment_1 ) ) + // InternalApplicationConfiguration.g:5545:1: ( ( ( rule__OptimizationEntry__FunctionAssignment_1 ) ) ) + // InternalApplicationConfiguration.g:5546:1: ( ( rule__OptimizationEntry__FunctionAssignment_1 ) ) { - // InternalApplicationConfiguration.g:5475:1: ( ( rule__OptimizationEntry__FunctionAssignment_1 ) ) - // InternalApplicationConfiguration.g:5476:2: ( rule__OptimizationEntry__FunctionAssignment_1 ) + // InternalApplicationConfiguration.g:5546:1: ( ( rule__OptimizationEntry__FunctionAssignment_1 ) ) + // InternalApplicationConfiguration.g:5547:2: ( rule__OptimizationEntry__FunctionAssignment_1 ) { before(grammarAccess.getOptimizationEntryAccess().getFunctionAssignment_1()); - // InternalApplicationConfiguration.g:5477:2: ( rule__OptimizationEntry__FunctionAssignment_1 ) - // InternalApplicationConfiguration.g:5477:3: rule__OptimizationEntry__FunctionAssignment_1 + // InternalApplicationConfiguration.g:5548:2: ( rule__OptimizationEntry__FunctionAssignment_1 ) + // InternalApplicationConfiguration.g:5548:3: rule__OptimizationEntry__FunctionAssignment_1 { pushFollow(FOLLOW_2); rule__OptimizationEntry__FunctionAssignment_1(); @@ -17490,14 +17725,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ThresholdEntry__Group__0" - // InternalApplicationConfiguration.g:5486:1: rule__ThresholdEntry__Group__0 : rule__ThresholdEntry__Group__0__Impl rule__ThresholdEntry__Group__1 ; + // InternalApplicationConfiguration.g:5557:1: rule__ThresholdEntry__Group__0 : rule__ThresholdEntry__Group__0__Impl rule__ThresholdEntry__Group__1 ; public final void rule__ThresholdEntry__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:5490:1: ( rule__ThresholdEntry__Group__0__Impl rule__ThresholdEntry__Group__1 ) - // InternalApplicationConfiguration.g:5491:2: rule__ThresholdEntry__Group__0__Impl rule__ThresholdEntry__Group__1 + // InternalApplicationConfiguration.g:5561:1: ( rule__ThresholdEntry__Group__0__Impl rule__ThresholdEntry__Group__1 ) + // InternalApplicationConfiguration.g:5562:2: rule__ThresholdEntry__Group__0__Impl rule__ThresholdEntry__Group__1 { pushFollow(FOLLOW_24); rule__ThresholdEntry__Group__0__Impl(); @@ -17528,21 +17763,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ThresholdEntry__Group__0__Impl" - // InternalApplicationConfiguration.g:5498:1: rule__ThresholdEntry__Group__0__Impl : ( ( rule__ThresholdEntry__FunctionAssignment_0 ) ) ; + // InternalApplicationConfiguration.g:5569:1: rule__ThresholdEntry__Group__0__Impl : ( ( rule__ThresholdEntry__FunctionAssignment_0 ) ) ; public final void rule__ThresholdEntry__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:5502:1: ( ( ( rule__ThresholdEntry__FunctionAssignment_0 ) ) ) - // InternalApplicationConfiguration.g:5503:1: ( ( rule__ThresholdEntry__FunctionAssignment_0 ) ) + // InternalApplicationConfiguration.g:5573:1: ( ( ( rule__ThresholdEntry__FunctionAssignment_0 ) ) ) + // InternalApplicationConfiguration.g:5574:1: ( ( rule__ThresholdEntry__FunctionAssignment_0 ) ) { - // InternalApplicationConfiguration.g:5503:1: ( ( rule__ThresholdEntry__FunctionAssignment_0 ) ) - // InternalApplicationConfiguration.g:5504:2: ( rule__ThresholdEntry__FunctionAssignment_0 ) + // InternalApplicationConfiguration.g:5574:1: ( ( rule__ThresholdEntry__FunctionAssignment_0 ) ) + // InternalApplicationConfiguration.g:5575:2: ( rule__ThresholdEntry__FunctionAssignment_0 ) { before(grammarAccess.getThresholdEntryAccess().getFunctionAssignment_0()); - // InternalApplicationConfiguration.g:5505:2: ( rule__ThresholdEntry__FunctionAssignment_0 ) - // InternalApplicationConfiguration.g:5505:3: rule__ThresholdEntry__FunctionAssignment_0 + // InternalApplicationConfiguration.g:5576:2: ( rule__ThresholdEntry__FunctionAssignment_0 ) + // InternalApplicationConfiguration.g:5576:3: rule__ThresholdEntry__FunctionAssignment_0 { pushFollow(FOLLOW_2); rule__ThresholdEntry__FunctionAssignment_0(); @@ -17575,14 +17810,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ThresholdEntry__Group__1" - // InternalApplicationConfiguration.g:5513:1: rule__ThresholdEntry__Group__1 : rule__ThresholdEntry__Group__1__Impl rule__ThresholdEntry__Group__2 ; + // InternalApplicationConfiguration.g:5584:1: rule__ThresholdEntry__Group__1 : rule__ThresholdEntry__Group__1__Impl rule__ThresholdEntry__Group__2 ; public final void rule__ThresholdEntry__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:5517:1: ( rule__ThresholdEntry__Group__1__Impl rule__ThresholdEntry__Group__2 ) - // InternalApplicationConfiguration.g:5518:2: rule__ThresholdEntry__Group__1__Impl rule__ThresholdEntry__Group__2 + // InternalApplicationConfiguration.g:5588:1: ( rule__ThresholdEntry__Group__1__Impl rule__ThresholdEntry__Group__2 ) + // InternalApplicationConfiguration.g:5589:2: rule__ThresholdEntry__Group__1__Impl rule__ThresholdEntry__Group__2 { pushFollow(FOLLOW_25); rule__ThresholdEntry__Group__1__Impl(); @@ -17613,21 +17848,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ThresholdEntry__Group__1__Impl" - // InternalApplicationConfiguration.g:5525:1: rule__ThresholdEntry__Group__1__Impl : ( ( rule__ThresholdEntry__OperatorAssignment_1 ) ) ; + // InternalApplicationConfiguration.g:5596:1: rule__ThresholdEntry__Group__1__Impl : ( ( rule__ThresholdEntry__OperatorAssignment_1 ) ) ; public final void rule__ThresholdEntry__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:5529:1: ( ( ( rule__ThresholdEntry__OperatorAssignment_1 ) ) ) - // InternalApplicationConfiguration.g:5530:1: ( ( rule__ThresholdEntry__OperatorAssignment_1 ) ) + // InternalApplicationConfiguration.g:5600:1: ( ( ( rule__ThresholdEntry__OperatorAssignment_1 ) ) ) + // InternalApplicationConfiguration.g:5601:1: ( ( rule__ThresholdEntry__OperatorAssignment_1 ) ) { - // InternalApplicationConfiguration.g:5530:1: ( ( rule__ThresholdEntry__OperatorAssignment_1 ) ) - // InternalApplicationConfiguration.g:5531:2: ( rule__ThresholdEntry__OperatorAssignment_1 ) + // InternalApplicationConfiguration.g:5601:1: ( ( rule__ThresholdEntry__OperatorAssignment_1 ) ) + // InternalApplicationConfiguration.g:5602:2: ( rule__ThresholdEntry__OperatorAssignment_1 ) { before(grammarAccess.getThresholdEntryAccess().getOperatorAssignment_1()); - // InternalApplicationConfiguration.g:5532:2: ( rule__ThresholdEntry__OperatorAssignment_1 ) - // InternalApplicationConfiguration.g:5532:3: rule__ThresholdEntry__OperatorAssignment_1 + // InternalApplicationConfiguration.g:5603:2: ( rule__ThresholdEntry__OperatorAssignment_1 ) + // InternalApplicationConfiguration.g:5603:3: rule__ThresholdEntry__OperatorAssignment_1 { pushFollow(FOLLOW_2); rule__ThresholdEntry__OperatorAssignment_1(); @@ -17660,14 +17895,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ThresholdEntry__Group__2" - // InternalApplicationConfiguration.g:5540:1: rule__ThresholdEntry__Group__2 : rule__ThresholdEntry__Group__2__Impl ; + // InternalApplicationConfiguration.g:5611:1: rule__ThresholdEntry__Group__2 : rule__ThresholdEntry__Group__2__Impl ; public final void rule__ThresholdEntry__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:5544:1: ( rule__ThresholdEntry__Group__2__Impl ) - // InternalApplicationConfiguration.g:5545:2: rule__ThresholdEntry__Group__2__Impl + // InternalApplicationConfiguration.g:5615:1: ( rule__ThresholdEntry__Group__2__Impl ) + // InternalApplicationConfiguration.g:5616:2: rule__ThresholdEntry__Group__2__Impl { pushFollow(FOLLOW_2); rule__ThresholdEntry__Group__2__Impl(); @@ -17693,21 +17928,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ThresholdEntry__Group__2__Impl" - // InternalApplicationConfiguration.g:5551:1: rule__ThresholdEntry__Group__2__Impl : ( ( rule__ThresholdEntry__ThresholdAssignment_2 ) ) ; + // InternalApplicationConfiguration.g:5622:1: rule__ThresholdEntry__Group__2__Impl : ( ( rule__ThresholdEntry__ThresholdAssignment_2 ) ) ; public final void rule__ThresholdEntry__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:5555:1: ( ( ( rule__ThresholdEntry__ThresholdAssignment_2 ) ) ) - // InternalApplicationConfiguration.g:5556:1: ( ( rule__ThresholdEntry__ThresholdAssignment_2 ) ) + // InternalApplicationConfiguration.g:5626:1: ( ( ( rule__ThresholdEntry__ThresholdAssignment_2 ) ) ) + // InternalApplicationConfiguration.g:5627:1: ( ( rule__ThresholdEntry__ThresholdAssignment_2 ) ) { - // InternalApplicationConfiguration.g:5556:1: ( ( rule__ThresholdEntry__ThresholdAssignment_2 ) ) - // InternalApplicationConfiguration.g:5557:2: ( rule__ThresholdEntry__ThresholdAssignment_2 ) + // InternalApplicationConfiguration.g:5627:1: ( ( rule__ThresholdEntry__ThresholdAssignment_2 ) ) + // InternalApplicationConfiguration.g:5628:2: ( rule__ThresholdEntry__ThresholdAssignment_2 ) { before(grammarAccess.getThresholdEntryAccess().getThresholdAssignment_2()); - // InternalApplicationConfiguration.g:5558:2: ( rule__ThresholdEntry__ThresholdAssignment_2 ) - // InternalApplicationConfiguration.g:5558:3: rule__ThresholdEntry__ThresholdAssignment_2 + // InternalApplicationConfiguration.g:5629:2: ( rule__ThresholdEntry__ThresholdAssignment_2 ) + // InternalApplicationConfiguration.g:5629:3: rule__ThresholdEntry__ThresholdAssignment_2 { pushFollow(FOLLOW_2); rule__ThresholdEntry__ThresholdAssignment_2(); @@ -17739,23 +17974,23 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR end "rule__ThresholdEntry__Group__2__Impl" - // $ANTLR start "rule__ReliabiltiyFunction__Group__0" - // InternalApplicationConfiguration.g:5567:1: rule__ReliabiltiyFunction__Group__0 : rule__ReliabiltiyFunction__Group__0__Impl rule__ReliabiltiyFunction__Group__1 ; - public final void rule__ReliabiltiyFunction__Group__0() throws RecognitionException { + // $ANTLR start "rule__ReliabiltiyProbability__Group__0" + // InternalApplicationConfiguration.g:5638:1: rule__ReliabiltiyProbability__Group__0 : rule__ReliabiltiyProbability__Group__0__Impl rule__ReliabiltiyProbability__Group__1 ; + public final void rule__ReliabiltiyProbability__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:5571:1: ( rule__ReliabiltiyFunction__Group__0__Impl rule__ReliabiltiyFunction__Group__1 ) - // InternalApplicationConfiguration.g:5572:2: rule__ReliabiltiyFunction__Group__0__Impl rule__ReliabiltiyFunction__Group__1 + // InternalApplicationConfiguration.g:5642:1: ( rule__ReliabiltiyProbability__Group__0__Impl rule__ReliabiltiyProbability__Group__1 ) + // InternalApplicationConfiguration.g:5643:2: rule__ReliabiltiyProbability__Group__0__Impl rule__ReliabiltiyProbability__Group__1 { pushFollow(FOLLOW_8); - rule__ReliabiltiyFunction__Group__0__Impl(); + rule__ReliabiltiyProbability__Group__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__ReliabiltiyFunction__Group__1(); + rule__ReliabiltiyProbability__Group__1(); state._fsp--; @@ -17774,25 +18009,25 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } return ; } - // $ANTLR end "rule__ReliabiltiyFunction__Group__0" + // $ANTLR end "rule__ReliabiltiyProbability__Group__0" - // $ANTLR start "rule__ReliabiltiyFunction__Group__0__Impl" - // InternalApplicationConfiguration.g:5579:1: rule__ReliabiltiyFunction__Group__0__Impl : ( 'reliability' ) ; - public final void rule__ReliabiltiyFunction__Group__0__Impl() throws RecognitionException { + // $ANTLR start "rule__ReliabiltiyProbability__Group__0__Impl" + // InternalApplicationConfiguration.g:5650:1: rule__ReliabiltiyProbability__Group__0__Impl : ( 'reliability' ) ; + public final void rule__ReliabiltiyProbability__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:5583:1: ( ( 'reliability' ) ) - // InternalApplicationConfiguration.g:5584:1: ( 'reliability' ) + // InternalApplicationConfiguration.g:5654:1: ( ( 'reliability' ) ) + // InternalApplicationConfiguration.g:5655:1: ( 'reliability' ) { - // InternalApplicationConfiguration.g:5584:1: ( 'reliability' ) - // InternalApplicationConfiguration.g:5585:2: 'reliability' + // InternalApplicationConfiguration.g:5655:1: ( 'reliability' ) + // InternalApplicationConfiguration.g:5656:2: 'reliability' { - before(grammarAccess.getReliabiltiyFunctionAccess().getReliabilityKeyword_0()); + before(grammarAccess.getReliabiltiyProbabilityAccess().getReliabilityKeyword_0()); match(input,26,FOLLOW_2); - after(grammarAccess.getReliabiltiyFunctionAccess().getReliabilityKeyword_0()); + after(grammarAccess.getReliabiltiyProbabilityAccess().getReliabilityKeyword_0()); } @@ -17811,26 +18046,26 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } return ; } - // $ANTLR end "rule__ReliabiltiyFunction__Group__0__Impl" + // $ANTLR end "rule__ReliabiltiyProbability__Group__0__Impl" - // $ANTLR start "rule__ReliabiltiyFunction__Group__1" - // InternalApplicationConfiguration.g:5594:1: rule__ReliabiltiyFunction__Group__1 : rule__ReliabiltiyFunction__Group__1__Impl rule__ReliabiltiyFunction__Group__2 ; - public final void rule__ReliabiltiyFunction__Group__1() throws RecognitionException { + // $ANTLR start "rule__ReliabiltiyProbability__Group__1" + // InternalApplicationConfiguration.g:5665:1: rule__ReliabiltiyProbability__Group__1 : rule__ReliabiltiyProbability__Group__1__Impl rule__ReliabiltiyProbability__Group__2 ; + public final void rule__ReliabiltiyProbability__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:5598:1: ( rule__ReliabiltiyFunction__Group__1__Impl rule__ReliabiltiyFunction__Group__2 ) - // InternalApplicationConfiguration.g:5599:2: rule__ReliabiltiyFunction__Group__1__Impl rule__ReliabiltiyFunction__Group__2 + // InternalApplicationConfiguration.g:5669:1: ( rule__ReliabiltiyProbability__Group__1__Impl rule__ReliabiltiyProbability__Group__2 ) + // InternalApplicationConfiguration.g:5670:2: rule__ReliabiltiyProbability__Group__1__Impl rule__ReliabiltiyProbability__Group__2 { pushFollow(FOLLOW_8); - rule__ReliabiltiyFunction__Group__1__Impl(); + rule__ReliabiltiyProbability__Group__1__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__ReliabiltiyFunction__Group__2(); + rule__ReliabiltiyProbability__Group__2(); state._fsp--; @@ -17849,40 +18084,40 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } return ; } - // $ANTLR end "rule__ReliabiltiyFunction__Group__1" + // $ANTLR end "rule__ReliabiltiyProbability__Group__1" - // $ANTLR start "rule__ReliabiltiyFunction__Group__1__Impl" - // InternalApplicationConfiguration.g:5606:1: rule__ReliabiltiyFunction__Group__1__Impl : ( ( rule__ReliabiltiyFunction__Group_1__0 )? ) ; - public final void rule__ReliabiltiyFunction__Group__1__Impl() throws RecognitionException { + // $ANTLR start "rule__ReliabiltiyProbability__Group__1__Impl" + // InternalApplicationConfiguration.g:5677:1: rule__ReliabiltiyProbability__Group__1__Impl : ( ( rule__ReliabiltiyProbability__Group_1__0 )? ) ; + public final void rule__ReliabiltiyProbability__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:5610:1: ( ( ( rule__ReliabiltiyFunction__Group_1__0 )? ) ) - // InternalApplicationConfiguration.g:5611:1: ( ( rule__ReliabiltiyFunction__Group_1__0 )? ) + // InternalApplicationConfiguration.g:5681:1: ( ( ( rule__ReliabiltiyProbability__Group_1__0 )? ) ) + // InternalApplicationConfiguration.g:5682:1: ( ( rule__ReliabiltiyProbability__Group_1__0 )? ) { - // InternalApplicationConfiguration.g:5611:1: ( ( rule__ReliabiltiyFunction__Group_1__0 )? ) - // InternalApplicationConfiguration.g:5612:2: ( rule__ReliabiltiyFunction__Group_1__0 )? + // InternalApplicationConfiguration.g:5682:1: ( ( rule__ReliabiltiyProbability__Group_1__0 )? ) + // InternalApplicationConfiguration.g:5683:2: ( rule__ReliabiltiyProbability__Group_1__0 )? { - before(grammarAccess.getReliabiltiyFunctionAccess().getGroup_1()); - // InternalApplicationConfiguration.g:5613:2: ( rule__ReliabiltiyFunction__Group_1__0 )? - int alt51=2; - int LA51_0 = input.LA(1); + before(grammarAccess.getReliabiltiyProbabilityAccess().getGroup_1()); + // InternalApplicationConfiguration.g:5684:2: ( rule__ReliabiltiyProbability__Group_1__0 )? + int alt52=2; + int LA52_0 = input.LA(1); - if ( (LA51_0==RULE_ID) ) { - int LA51_1 = input.LA(2); + if ( (LA52_0==RULE_ID) ) { + int LA52_1 = input.LA(2); - if ( (LA51_1==21||LA51_1==34) ) { - alt51=1; + if ( (LA52_1==21||LA52_1==34) ) { + alt52=1; } } - switch (alt51) { + switch (alt52) { case 1 : - // InternalApplicationConfiguration.g:5613:3: rule__ReliabiltiyFunction__Group_1__0 + // InternalApplicationConfiguration.g:5684:3: rule__ReliabiltiyProbability__Group_1__0 { pushFollow(FOLLOW_2); - rule__ReliabiltiyFunction__Group_1__0(); + rule__ReliabiltiyProbability__Group_1__0(); state._fsp--; @@ -17892,7 +18127,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } - after(grammarAccess.getReliabiltiyFunctionAccess().getGroup_1()); + after(grammarAccess.getReliabiltiyProbabilityAccess().getGroup_1()); } @@ -17911,21 +18146,26 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } return ; } - // $ANTLR end "rule__ReliabiltiyFunction__Group__1__Impl" + // $ANTLR end "rule__ReliabiltiyProbability__Group__1__Impl" - // $ANTLR start "rule__ReliabiltiyFunction__Group__2" - // InternalApplicationConfiguration.g:5621:1: rule__ReliabiltiyFunction__Group__2 : rule__ReliabiltiyFunction__Group__2__Impl ; - public final void rule__ReliabiltiyFunction__Group__2() throws RecognitionException { + // $ANTLR start "rule__ReliabiltiyProbability__Group__2" + // InternalApplicationConfiguration.g:5692:1: rule__ReliabiltiyProbability__Group__2 : rule__ReliabiltiyProbability__Group__2__Impl rule__ReliabiltiyProbability__Group__3 ; + public final void rule__ReliabiltiyProbability__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:5625:1: ( rule__ReliabiltiyFunction__Group__2__Impl ) - // InternalApplicationConfiguration.g:5626:2: rule__ReliabiltiyFunction__Group__2__Impl + // InternalApplicationConfiguration.g:5696:1: ( rule__ReliabiltiyProbability__Group__2__Impl rule__ReliabiltiyProbability__Group__3 ) + // InternalApplicationConfiguration.g:5697:2: rule__ReliabiltiyProbability__Group__2__Impl rule__ReliabiltiyProbability__Group__3 { + pushFollow(FOLLOW_26); + rule__ReliabiltiyProbability__Group__2__Impl(); + + state._fsp--; + pushFollow(FOLLOW_2); - rule__ReliabiltiyFunction__Group__2__Impl(); + rule__ReliabiltiyProbability__Group__3(); state._fsp--; @@ -17944,35 +18184,35 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } return ; } - // $ANTLR end "rule__ReliabiltiyFunction__Group__2" + // $ANTLR end "rule__ReliabiltiyProbability__Group__2" - // $ANTLR start "rule__ReliabiltiyFunction__Group__2__Impl" - // InternalApplicationConfiguration.g:5632:1: rule__ReliabiltiyFunction__Group__2__Impl : ( ( rule__ReliabiltiyFunction__TransformationAssignment_2 ) ) ; - public final void rule__ReliabiltiyFunction__Group__2__Impl() throws RecognitionException { + // $ANTLR start "rule__ReliabiltiyProbability__Group__2__Impl" + // InternalApplicationConfiguration.g:5704:1: rule__ReliabiltiyProbability__Group__2__Impl : ( ( rule__ReliabiltiyProbability__TransformationAssignment_2 ) ) ; + public final void rule__ReliabiltiyProbability__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:5636:1: ( ( ( rule__ReliabiltiyFunction__TransformationAssignment_2 ) ) ) - // InternalApplicationConfiguration.g:5637:1: ( ( rule__ReliabiltiyFunction__TransformationAssignment_2 ) ) + // InternalApplicationConfiguration.g:5708:1: ( ( ( rule__ReliabiltiyProbability__TransformationAssignment_2 ) ) ) + // InternalApplicationConfiguration.g:5709:1: ( ( rule__ReliabiltiyProbability__TransformationAssignment_2 ) ) { - // InternalApplicationConfiguration.g:5637:1: ( ( rule__ReliabiltiyFunction__TransformationAssignment_2 ) ) - // InternalApplicationConfiguration.g:5638:2: ( rule__ReliabiltiyFunction__TransformationAssignment_2 ) + // InternalApplicationConfiguration.g:5709:1: ( ( rule__ReliabiltiyProbability__TransformationAssignment_2 ) ) + // InternalApplicationConfiguration.g:5710:2: ( rule__ReliabiltiyProbability__TransformationAssignment_2 ) { - before(grammarAccess.getReliabiltiyFunctionAccess().getTransformationAssignment_2()); - // InternalApplicationConfiguration.g:5639:2: ( rule__ReliabiltiyFunction__TransformationAssignment_2 ) - // InternalApplicationConfiguration.g:5639:3: rule__ReliabiltiyFunction__TransformationAssignment_2 + before(grammarAccess.getReliabiltiyProbabilityAccess().getTransformationAssignment_2()); + // InternalApplicationConfiguration.g:5711:2: ( rule__ReliabiltiyProbability__TransformationAssignment_2 ) + // InternalApplicationConfiguration.g:5711:3: rule__ReliabiltiyProbability__TransformationAssignment_2 { pushFollow(FOLLOW_2); - rule__ReliabiltiyFunction__TransformationAssignment_2(); + rule__ReliabiltiyProbability__TransformationAssignment_2(); state._fsp--; } - after(grammarAccess.getReliabiltiyFunctionAccess().getTransformationAssignment_2()); + after(grammarAccess.getReliabiltiyProbabilityAccess().getTransformationAssignment_2()); } @@ -17991,26 +18231,26 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } return ; } - // $ANTLR end "rule__ReliabiltiyFunction__Group__2__Impl" + // $ANTLR end "rule__ReliabiltiyProbability__Group__2__Impl" - // $ANTLR start "rule__ReliabiltiyFunction__Group_1__0" - // InternalApplicationConfiguration.g:5648:1: rule__ReliabiltiyFunction__Group_1__0 : rule__ReliabiltiyFunction__Group_1__0__Impl rule__ReliabiltiyFunction__Group_1__1 ; - public final void rule__ReliabiltiyFunction__Group_1__0() throws RecognitionException { + // $ANTLR start "rule__ReliabiltiyProbability__Group__3" + // InternalApplicationConfiguration.g:5719:1: rule__ReliabiltiyProbability__Group__3 : rule__ReliabiltiyProbability__Group__3__Impl rule__ReliabiltiyProbability__Group__4 ; + public final void rule__ReliabiltiyProbability__Group__3() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:5652:1: ( rule__ReliabiltiyFunction__Group_1__0__Impl rule__ReliabiltiyFunction__Group_1__1 ) - // InternalApplicationConfiguration.g:5653:2: rule__ReliabiltiyFunction__Group_1__0__Impl rule__ReliabiltiyFunction__Group_1__1 + // InternalApplicationConfiguration.g:5723:1: ( rule__ReliabiltiyProbability__Group__3__Impl rule__ReliabiltiyProbability__Group__4 ) + // InternalApplicationConfiguration.g:5724:2: rule__ReliabiltiyProbability__Group__3__Impl rule__ReliabiltiyProbability__Group__4 { - pushFollow(FOLLOW_20); - rule__ReliabiltiyFunction__Group_1__0__Impl(); + pushFollow(FOLLOW_25); + rule__ReliabiltiyProbability__Group__3__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__ReliabiltiyFunction__Group_1__1(); + rule__ReliabiltiyProbability__Group__4(); state._fsp--; @@ -18029,35 +18269,25 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } return ; } - // $ANTLR end "rule__ReliabiltiyFunction__Group_1__0" + // $ANTLR end "rule__ReliabiltiyProbability__Group__3" - // $ANTLR start "rule__ReliabiltiyFunction__Group_1__0__Impl" - // InternalApplicationConfiguration.g:5660:1: rule__ReliabiltiyFunction__Group_1__0__Impl : ( ( rule__ReliabiltiyFunction__PackageAssignment_1_0 ) ) ; - public final void rule__ReliabiltiyFunction__Group_1__0__Impl() throws RecognitionException { + // $ANTLR start "rule__ReliabiltiyProbability__Group__3__Impl" + // InternalApplicationConfiguration.g:5731:1: rule__ReliabiltiyProbability__Group__3__Impl : ( 'at' ) ; + public final void rule__ReliabiltiyProbability__Group__3__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:5664:1: ( ( ( rule__ReliabiltiyFunction__PackageAssignment_1_0 ) ) ) - // InternalApplicationConfiguration.g:5665:1: ( ( rule__ReliabiltiyFunction__PackageAssignment_1_0 ) ) - { - // InternalApplicationConfiguration.g:5665:1: ( ( rule__ReliabiltiyFunction__PackageAssignment_1_0 ) ) - // InternalApplicationConfiguration.g:5666:2: ( rule__ReliabiltiyFunction__PackageAssignment_1_0 ) + // InternalApplicationConfiguration.g:5735:1: ( ( 'at' ) ) + // InternalApplicationConfiguration.g:5736:1: ( 'at' ) { - before(grammarAccess.getReliabiltiyFunctionAccess().getPackageAssignment_1_0()); - // InternalApplicationConfiguration.g:5667:2: ( rule__ReliabiltiyFunction__PackageAssignment_1_0 ) - // InternalApplicationConfiguration.g:5667:3: rule__ReliabiltiyFunction__PackageAssignment_1_0 + // InternalApplicationConfiguration.g:5736:1: ( 'at' ) + // InternalApplicationConfiguration.g:5737:2: 'at' { - pushFollow(FOLLOW_2); - rule__ReliabiltiyFunction__PackageAssignment_1_0(); - - state._fsp--; - - - } - - after(grammarAccess.getReliabiltiyFunctionAccess().getPackageAssignment_1_0()); + before(grammarAccess.getReliabiltiyProbabilityAccess().getAtKeyword_3()); + match(input,39,FOLLOW_2); + after(grammarAccess.getReliabiltiyProbabilityAccess().getAtKeyword_3()); } @@ -18076,21 +18306,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } return ; } - // $ANTLR end "rule__ReliabiltiyFunction__Group_1__0__Impl" + // $ANTLR end "rule__ReliabiltiyProbability__Group__3__Impl" - // $ANTLR start "rule__ReliabiltiyFunction__Group_1__1" - // InternalApplicationConfiguration.g:5675:1: rule__ReliabiltiyFunction__Group_1__1 : rule__ReliabiltiyFunction__Group_1__1__Impl ; - public final void rule__ReliabiltiyFunction__Group_1__1() throws RecognitionException { + // $ANTLR start "rule__ReliabiltiyProbability__Group__4" + // InternalApplicationConfiguration.g:5746:1: rule__ReliabiltiyProbability__Group__4 : rule__ReliabiltiyProbability__Group__4__Impl ; + public final void rule__ReliabiltiyProbability__Group__4() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:5679:1: ( rule__ReliabiltiyFunction__Group_1__1__Impl ) - // InternalApplicationConfiguration.g:5680:2: rule__ReliabiltiyFunction__Group_1__1__Impl + // InternalApplicationConfiguration.g:5750:1: ( rule__ReliabiltiyProbability__Group__4__Impl ) + // InternalApplicationConfiguration.g:5751:2: rule__ReliabiltiyProbability__Group__4__Impl { pushFollow(FOLLOW_2); - rule__ReliabiltiyFunction__Group_1__1__Impl(); + rule__ReliabiltiyProbability__Group__4__Impl(); state._fsp--; @@ -18109,25 +18339,35 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } return ; } - // $ANTLR end "rule__ReliabiltiyFunction__Group_1__1" + // $ANTLR end "rule__ReliabiltiyProbability__Group__4" - // $ANTLR start "rule__ReliabiltiyFunction__Group_1__1__Impl" - // InternalApplicationConfiguration.g:5686:1: rule__ReliabiltiyFunction__Group_1__1__Impl : ( '::' ) ; - public final void rule__ReliabiltiyFunction__Group_1__1__Impl() throws RecognitionException { + // $ANTLR start "rule__ReliabiltiyProbability__Group__4__Impl" + // InternalApplicationConfiguration.g:5757:1: rule__ReliabiltiyProbability__Group__4__Impl : ( ( rule__ReliabiltiyProbability__TimeAssignment_4 ) ) ; + public final void rule__ReliabiltiyProbability__Group__4__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:5690:1: ( ( '::' ) ) - // InternalApplicationConfiguration.g:5691:1: ( '::' ) + // InternalApplicationConfiguration.g:5761:1: ( ( ( rule__ReliabiltiyProbability__TimeAssignment_4 ) ) ) + // InternalApplicationConfiguration.g:5762:1: ( ( rule__ReliabiltiyProbability__TimeAssignment_4 ) ) { - // InternalApplicationConfiguration.g:5691:1: ( '::' ) - // InternalApplicationConfiguration.g:5692:2: '::' + // InternalApplicationConfiguration.g:5762:1: ( ( rule__ReliabiltiyProbability__TimeAssignment_4 ) ) + // InternalApplicationConfiguration.g:5763:2: ( rule__ReliabiltiyProbability__TimeAssignment_4 ) { - before(grammarAccess.getReliabiltiyFunctionAccess().getColonColonKeyword_1_1()); - match(input,34,FOLLOW_2); - after(grammarAccess.getReliabiltiyFunctionAccess().getColonColonKeyword_1_1()); + before(grammarAccess.getReliabiltiyProbabilityAccess().getTimeAssignment_4()); + // InternalApplicationConfiguration.g:5764:2: ( rule__ReliabiltiyProbability__TimeAssignment_4 ) + // InternalApplicationConfiguration.g:5764:3: rule__ReliabiltiyProbability__TimeAssignment_4 + { + pushFollow(FOLLOW_2); + rule__ReliabiltiyProbability__TimeAssignment_4(); + + state._fsp--; + + + } + + after(grammarAccess.getReliabiltiyProbabilityAccess().getTimeAssignment_4()); } @@ -18146,26 +18386,26 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } return ; } - // $ANTLR end "rule__ReliabiltiyFunction__Group_1__1__Impl" + // $ANTLR end "rule__ReliabiltiyProbability__Group__4__Impl" - // $ANTLR start "rule__ObjectiveDeclaration__Group__0" - // InternalApplicationConfiguration.g:5702:1: rule__ObjectiveDeclaration__Group__0 : rule__ObjectiveDeclaration__Group__0__Impl rule__ObjectiveDeclaration__Group__1 ; - public final void rule__ObjectiveDeclaration__Group__0() throws RecognitionException { + // $ANTLR start "rule__ReliabiltiyProbability__Group_1__0" + // InternalApplicationConfiguration.g:5773:1: rule__ReliabiltiyProbability__Group_1__0 : rule__ReliabiltiyProbability__Group_1__0__Impl rule__ReliabiltiyProbability__Group_1__1 ; + public final void rule__ReliabiltiyProbability__Group_1__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:5706:1: ( rule__ObjectiveDeclaration__Group__0__Impl rule__ObjectiveDeclaration__Group__1 ) - // InternalApplicationConfiguration.g:5707:2: rule__ObjectiveDeclaration__Group__0__Impl rule__ObjectiveDeclaration__Group__1 + // InternalApplicationConfiguration.g:5777:1: ( rule__ReliabiltiyProbability__Group_1__0__Impl rule__ReliabiltiyProbability__Group_1__1 ) + // InternalApplicationConfiguration.g:5778:2: rule__ReliabiltiyProbability__Group_1__0__Impl rule__ReliabiltiyProbability__Group_1__1 { - pushFollow(FOLLOW_8); - rule__ObjectiveDeclaration__Group__0__Impl(); + pushFollow(FOLLOW_20); + rule__ReliabiltiyProbability__Group_1__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__ObjectiveDeclaration__Group__1(); + rule__ReliabiltiyProbability__Group_1__1(); state._fsp--; @@ -18184,25 +18424,35 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } return ; } - // $ANTLR end "rule__ObjectiveDeclaration__Group__0" + // $ANTLR end "rule__ReliabiltiyProbability__Group_1__0" - // $ANTLR start "rule__ObjectiveDeclaration__Group__0__Impl" - // InternalApplicationConfiguration.g:5714:1: rule__ObjectiveDeclaration__Group__0__Impl : ( 'objectives' ) ; - public final void rule__ObjectiveDeclaration__Group__0__Impl() throws RecognitionException { + // $ANTLR start "rule__ReliabiltiyProbability__Group_1__0__Impl" + // InternalApplicationConfiguration.g:5785:1: rule__ReliabiltiyProbability__Group_1__0__Impl : ( ( rule__ReliabiltiyProbability__PackageAssignment_1_0 ) ) ; + public final void rule__ReliabiltiyProbability__Group_1__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:5718:1: ( ( 'objectives' ) ) - // InternalApplicationConfiguration.g:5719:1: ( 'objectives' ) + // InternalApplicationConfiguration.g:5789:1: ( ( ( rule__ReliabiltiyProbability__PackageAssignment_1_0 ) ) ) + // InternalApplicationConfiguration.g:5790:1: ( ( rule__ReliabiltiyProbability__PackageAssignment_1_0 ) ) { - // InternalApplicationConfiguration.g:5719:1: ( 'objectives' ) - // InternalApplicationConfiguration.g:5720:2: 'objectives' + // InternalApplicationConfiguration.g:5790:1: ( ( rule__ReliabiltiyProbability__PackageAssignment_1_0 ) ) + // InternalApplicationConfiguration.g:5791:2: ( rule__ReliabiltiyProbability__PackageAssignment_1_0 ) { - before(grammarAccess.getObjectiveDeclarationAccess().getObjectivesKeyword_0()); - match(input,39,FOLLOW_2); - after(grammarAccess.getObjectiveDeclarationAccess().getObjectivesKeyword_0()); + before(grammarAccess.getReliabiltiyProbabilityAccess().getPackageAssignment_1_0()); + // InternalApplicationConfiguration.g:5792:2: ( rule__ReliabiltiyProbability__PackageAssignment_1_0 ) + // InternalApplicationConfiguration.g:5792:3: rule__ReliabiltiyProbability__PackageAssignment_1_0 + { + pushFollow(FOLLOW_2); + rule__ReliabiltiyProbability__PackageAssignment_1_0(); + + state._fsp--; + + + } + + after(grammarAccess.getReliabiltiyProbabilityAccess().getPackageAssignment_1_0()); } @@ -18221,26 +18471,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } return ; } - // $ANTLR end "rule__ObjectiveDeclaration__Group__0__Impl" + // $ANTLR end "rule__ReliabiltiyProbability__Group_1__0__Impl" - // $ANTLR start "rule__ObjectiveDeclaration__Group__1" - // InternalApplicationConfiguration.g:5729:1: rule__ObjectiveDeclaration__Group__1 : rule__ObjectiveDeclaration__Group__1__Impl rule__ObjectiveDeclaration__Group__2 ; - public final void rule__ObjectiveDeclaration__Group__1() throws RecognitionException { + // $ANTLR start "rule__ReliabiltiyProbability__Group_1__1" + // InternalApplicationConfiguration.g:5800:1: rule__ReliabiltiyProbability__Group_1__1 : rule__ReliabiltiyProbability__Group_1__1__Impl ; + public final void rule__ReliabiltiyProbability__Group_1__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:5733:1: ( rule__ObjectiveDeclaration__Group__1__Impl rule__ObjectiveDeclaration__Group__2 ) - // InternalApplicationConfiguration.g:5734:2: rule__ObjectiveDeclaration__Group__1__Impl rule__ObjectiveDeclaration__Group__2 + // InternalApplicationConfiguration.g:5804:1: ( rule__ReliabiltiyProbability__Group_1__1__Impl ) + // InternalApplicationConfiguration.g:5805:2: rule__ReliabiltiyProbability__Group_1__1__Impl { - pushFollow(FOLLOW_19); - rule__ObjectiveDeclaration__Group__1__Impl(); - - state._fsp--; - pushFollow(FOLLOW_2); - rule__ObjectiveDeclaration__Group__2(); + rule__ReliabiltiyProbability__Group_1__1__Impl(); state._fsp--; @@ -18259,35 +18504,25 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } return ; } - // $ANTLR end "rule__ObjectiveDeclaration__Group__1" + // $ANTLR end "rule__ReliabiltiyProbability__Group_1__1" - // $ANTLR start "rule__ObjectiveDeclaration__Group__1__Impl" - // InternalApplicationConfiguration.g:5741:1: rule__ObjectiveDeclaration__Group__1__Impl : ( ( rule__ObjectiveDeclaration__NameAssignment_1 ) ) ; - public final void rule__ObjectiveDeclaration__Group__1__Impl() throws RecognitionException { + // $ANTLR start "rule__ReliabiltiyProbability__Group_1__1__Impl" + // InternalApplicationConfiguration.g:5811:1: rule__ReliabiltiyProbability__Group_1__1__Impl : ( '::' ) ; + public final void rule__ReliabiltiyProbability__Group_1__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:5745:1: ( ( ( rule__ObjectiveDeclaration__NameAssignment_1 ) ) ) - // InternalApplicationConfiguration.g:5746:1: ( ( rule__ObjectiveDeclaration__NameAssignment_1 ) ) - { - // InternalApplicationConfiguration.g:5746:1: ( ( rule__ObjectiveDeclaration__NameAssignment_1 ) ) - // InternalApplicationConfiguration.g:5747:2: ( rule__ObjectiveDeclaration__NameAssignment_1 ) + // InternalApplicationConfiguration.g:5815:1: ( ( '::' ) ) + // InternalApplicationConfiguration.g:5816:1: ( '::' ) { - before(grammarAccess.getObjectiveDeclarationAccess().getNameAssignment_1()); - // InternalApplicationConfiguration.g:5748:2: ( rule__ObjectiveDeclaration__NameAssignment_1 ) - // InternalApplicationConfiguration.g:5748:3: rule__ObjectiveDeclaration__NameAssignment_1 + // InternalApplicationConfiguration.g:5816:1: ( '::' ) + // InternalApplicationConfiguration.g:5817:2: '::' { - pushFollow(FOLLOW_2); - rule__ObjectiveDeclaration__NameAssignment_1(); - - state._fsp--; - - - } - - after(grammarAccess.getObjectiveDeclarationAccess().getNameAssignment_1()); + before(grammarAccess.getReliabiltiyProbabilityAccess().getColonColonKeyword_1_1()); + match(input,34,FOLLOW_2); + after(grammarAccess.getReliabiltiyProbabilityAccess().getColonColonKeyword_1_1()); } @@ -18306,21 +18541,26 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } return ; } - // $ANTLR end "rule__ObjectiveDeclaration__Group__1__Impl" + // $ANTLR end "rule__ReliabiltiyProbability__Group_1__1__Impl" - // $ANTLR start "rule__ObjectiveDeclaration__Group__2" - // InternalApplicationConfiguration.g:5756:1: rule__ObjectiveDeclaration__Group__2 : rule__ObjectiveDeclaration__Group__2__Impl ; - public final void rule__ObjectiveDeclaration__Group__2() throws RecognitionException { + // $ANTLR start "rule__Mtff__Group__0" + // InternalApplicationConfiguration.g:5827:1: rule__Mtff__Group__0 : rule__Mtff__Group__0__Impl rule__Mtff__Group__1 ; + public final void rule__Mtff__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:5760:1: ( rule__ObjectiveDeclaration__Group__2__Impl ) - // InternalApplicationConfiguration.g:5761:2: rule__ObjectiveDeclaration__Group__2__Impl + // InternalApplicationConfiguration.g:5831:1: ( rule__Mtff__Group__0__Impl rule__Mtff__Group__1 ) + // InternalApplicationConfiguration.g:5832:2: rule__Mtff__Group__0__Impl rule__Mtff__Group__1 { + pushFollow(FOLLOW_8); + rule__Mtff__Group__0__Impl(); + + state._fsp--; + pushFollow(FOLLOW_2); - rule__ObjectiveDeclaration__Group__2__Impl(); + rule__Mtff__Group__1(); state._fsp--; @@ -18339,25 +18579,590 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } return ; } - // $ANTLR end "rule__ObjectiveDeclaration__Group__2" + // $ANTLR end "rule__Mtff__Group__0" - // $ANTLR start "rule__ObjectiveDeclaration__Group__2__Impl" - // InternalApplicationConfiguration.g:5767:1: rule__ObjectiveDeclaration__Group__2__Impl : ( ( rule__ObjectiveDeclaration__SpecificationAssignment_2 ) ) ; - public final void rule__ObjectiveDeclaration__Group__2__Impl() throws RecognitionException { + // $ANTLR start "rule__Mtff__Group__0__Impl" + // InternalApplicationConfiguration.g:5839:1: rule__Mtff__Group__0__Impl : ( 'mtff' ) ; + public final void rule__Mtff__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:5771:1: ( ( ( rule__ObjectiveDeclaration__SpecificationAssignment_2 ) ) ) - // InternalApplicationConfiguration.g:5772:1: ( ( rule__ObjectiveDeclaration__SpecificationAssignment_2 ) ) + // InternalApplicationConfiguration.g:5843:1: ( ( 'mtff' ) ) + // InternalApplicationConfiguration.g:5844:1: ( 'mtff' ) { - // InternalApplicationConfiguration.g:5772:1: ( ( rule__ObjectiveDeclaration__SpecificationAssignment_2 ) ) - // InternalApplicationConfiguration.g:5773:2: ( rule__ObjectiveDeclaration__SpecificationAssignment_2 ) - { - before(grammarAccess.getObjectiveDeclarationAccess().getSpecificationAssignment_2()); - // InternalApplicationConfiguration.g:5774:2: ( rule__ObjectiveDeclaration__SpecificationAssignment_2 ) - // InternalApplicationConfiguration.g:5774:3: rule__ObjectiveDeclaration__SpecificationAssignment_2 + // InternalApplicationConfiguration.g:5844:1: ( 'mtff' ) + // InternalApplicationConfiguration.g:5845:2: 'mtff' + { + before(grammarAccess.getMtffAccess().getMtffKeyword_0()); + match(input,40,FOLLOW_2); + after(grammarAccess.getMtffAccess().getMtffKeyword_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Mtff__Group__0__Impl" + + + // $ANTLR start "rule__Mtff__Group__1" + // InternalApplicationConfiguration.g:5854:1: rule__Mtff__Group__1 : rule__Mtff__Group__1__Impl rule__Mtff__Group__2 ; + public final void rule__Mtff__Group__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:5858:1: ( rule__Mtff__Group__1__Impl rule__Mtff__Group__2 ) + // InternalApplicationConfiguration.g:5859:2: rule__Mtff__Group__1__Impl rule__Mtff__Group__2 + { + pushFollow(FOLLOW_8); + rule__Mtff__Group__1__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__Mtff__Group__2(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Mtff__Group__1" + + + // $ANTLR start "rule__Mtff__Group__1__Impl" + // InternalApplicationConfiguration.g:5866:1: rule__Mtff__Group__1__Impl : ( ( rule__Mtff__Group_1__0 )? ) ; + public final void rule__Mtff__Group__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:5870:1: ( ( ( rule__Mtff__Group_1__0 )? ) ) + // InternalApplicationConfiguration.g:5871:1: ( ( rule__Mtff__Group_1__0 )? ) + { + // InternalApplicationConfiguration.g:5871:1: ( ( rule__Mtff__Group_1__0 )? ) + // InternalApplicationConfiguration.g:5872:2: ( rule__Mtff__Group_1__0 )? + { + before(grammarAccess.getMtffAccess().getGroup_1()); + // InternalApplicationConfiguration.g:5873:2: ( rule__Mtff__Group_1__0 )? + int alt53=2; + int LA53_0 = input.LA(1); + + if ( (LA53_0==RULE_ID) ) { + int LA53_1 = input.LA(2); + + if ( (LA53_1==21||LA53_1==34) ) { + alt53=1; + } + } + switch (alt53) { + case 1 : + // InternalApplicationConfiguration.g:5873:3: rule__Mtff__Group_1__0 + { + pushFollow(FOLLOW_2); + rule__Mtff__Group_1__0(); + + state._fsp--; + + + } + break; + + } + + after(grammarAccess.getMtffAccess().getGroup_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Mtff__Group__1__Impl" + + + // $ANTLR start "rule__Mtff__Group__2" + // InternalApplicationConfiguration.g:5881:1: rule__Mtff__Group__2 : rule__Mtff__Group__2__Impl ; + public final void rule__Mtff__Group__2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:5885:1: ( rule__Mtff__Group__2__Impl ) + // InternalApplicationConfiguration.g:5886:2: rule__Mtff__Group__2__Impl + { + pushFollow(FOLLOW_2); + rule__Mtff__Group__2__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Mtff__Group__2" + + + // $ANTLR start "rule__Mtff__Group__2__Impl" + // InternalApplicationConfiguration.g:5892:1: rule__Mtff__Group__2__Impl : ( ( rule__Mtff__TransformationAssignment_2 ) ) ; + public final void rule__Mtff__Group__2__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:5896:1: ( ( ( rule__Mtff__TransformationAssignment_2 ) ) ) + // InternalApplicationConfiguration.g:5897:1: ( ( rule__Mtff__TransformationAssignment_2 ) ) + { + // InternalApplicationConfiguration.g:5897:1: ( ( rule__Mtff__TransformationAssignment_2 ) ) + // InternalApplicationConfiguration.g:5898:2: ( rule__Mtff__TransformationAssignment_2 ) + { + before(grammarAccess.getMtffAccess().getTransformationAssignment_2()); + // InternalApplicationConfiguration.g:5899:2: ( rule__Mtff__TransformationAssignment_2 ) + // InternalApplicationConfiguration.g:5899:3: rule__Mtff__TransformationAssignment_2 + { + pushFollow(FOLLOW_2); + rule__Mtff__TransformationAssignment_2(); + + state._fsp--; + + + } + + after(grammarAccess.getMtffAccess().getTransformationAssignment_2()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Mtff__Group__2__Impl" + + + // $ANTLR start "rule__Mtff__Group_1__0" + // InternalApplicationConfiguration.g:5908:1: rule__Mtff__Group_1__0 : rule__Mtff__Group_1__0__Impl rule__Mtff__Group_1__1 ; + public final void rule__Mtff__Group_1__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:5912:1: ( rule__Mtff__Group_1__0__Impl rule__Mtff__Group_1__1 ) + // InternalApplicationConfiguration.g:5913:2: rule__Mtff__Group_1__0__Impl rule__Mtff__Group_1__1 + { + pushFollow(FOLLOW_20); + rule__Mtff__Group_1__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__Mtff__Group_1__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Mtff__Group_1__0" + + + // $ANTLR start "rule__Mtff__Group_1__0__Impl" + // InternalApplicationConfiguration.g:5920:1: rule__Mtff__Group_1__0__Impl : ( ( rule__Mtff__PackageAssignment_1_0 ) ) ; + public final void rule__Mtff__Group_1__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:5924:1: ( ( ( rule__Mtff__PackageAssignment_1_0 ) ) ) + // InternalApplicationConfiguration.g:5925:1: ( ( rule__Mtff__PackageAssignment_1_0 ) ) + { + // InternalApplicationConfiguration.g:5925:1: ( ( rule__Mtff__PackageAssignment_1_0 ) ) + // InternalApplicationConfiguration.g:5926:2: ( rule__Mtff__PackageAssignment_1_0 ) + { + before(grammarAccess.getMtffAccess().getPackageAssignment_1_0()); + // InternalApplicationConfiguration.g:5927:2: ( rule__Mtff__PackageAssignment_1_0 ) + // InternalApplicationConfiguration.g:5927:3: rule__Mtff__PackageAssignment_1_0 + { + pushFollow(FOLLOW_2); + rule__Mtff__PackageAssignment_1_0(); + + state._fsp--; + + + } + + after(grammarAccess.getMtffAccess().getPackageAssignment_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Mtff__Group_1__0__Impl" + + + // $ANTLR start "rule__Mtff__Group_1__1" + // InternalApplicationConfiguration.g:5935:1: rule__Mtff__Group_1__1 : rule__Mtff__Group_1__1__Impl ; + public final void rule__Mtff__Group_1__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:5939:1: ( rule__Mtff__Group_1__1__Impl ) + // InternalApplicationConfiguration.g:5940:2: rule__Mtff__Group_1__1__Impl + { + pushFollow(FOLLOW_2); + rule__Mtff__Group_1__1__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Mtff__Group_1__1" + + + // $ANTLR start "rule__Mtff__Group_1__1__Impl" + // InternalApplicationConfiguration.g:5946:1: rule__Mtff__Group_1__1__Impl : ( '::' ) ; + public final void rule__Mtff__Group_1__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:5950:1: ( ( '::' ) ) + // InternalApplicationConfiguration.g:5951:1: ( '::' ) + { + // InternalApplicationConfiguration.g:5951:1: ( '::' ) + // InternalApplicationConfiguration.g:5952:2: '::' + { + before(grammarAccess.getMtffAccess().getColonColonKeyword_1_1()); + match(input,34,FOLLOW_2); + after(grammarAccess.getMtffAccess().getColonColonKeyword_1_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Mtff__Group_1__1__Impl" + + + // $ANTLR start "rule__ObjectiveDeclaration__Group__0" + // InternalApplicationConfiguration.g:5962:1: rule__ObjectiveDeclaration__Group__0 : rule__ObjectiveDeclaration__Group__0__Impl rule__ObjectiveDeclaration__Group__1 ; + public final void rule__ObjectiveDeclaration__Group__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:5966:1: ( rule__ObjectiveDeclaration__Group__0__Impl rule__ObjectiveDeclaration__Group__1 ) + // InternalApplicationConfiguration.g:5967:2: rule__ObjectiveDeclaration__Group__0__Impl rule__ObjectiveDeclaration__Group__1 + { + pushFollow(FOLLOW_8); + rule__ObjectiveDeclaration__Group__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__ObjectiveDeclaration__Group__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ObjectiveDeclaration__Group__0" + + + // $ANTLR start "rule__ObjectiveDeclaration__Group__0__Impl" + // InternalApplicationConfiguration.g:5974:1: rule__ObjectiveDeclaration__Group__0__Impl : ( 'objectives' ) ; + public final void rule__ObjectiveDeclaration__Group__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:5978:1: ( ( 'objectives' ) ) + // InternalApplicationConfiguration.g:5979:1: ( 'objectives' ) + { + // InternalApplicationConfiguration.g:5979:1: ( 'objectives' ) + // InternalApplicationConfiguration.g:5980:2: 'objectives' + { + before(grammarAccess.getObjectiveDeclarationAccess().getObjectivesKeyword_0()); + match(input,41,FOLLOW_2); + after(grammarAccess.getObjectiveDeclarationAccess().getObjectivesKeyword_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ObjectiveDeclaration__Group__0__Impl" + + + // $ANTLR start "rule__ObjectiveDeclaration__Group__1" + // InternalApplicationConfiguration.g:5989:1: rule__ObjectiveDeclaration__Group__1 : rule__ObjectiveDeclaration__Group__1__Impl rule__ObjectiveDeclaration__Group__2 ; + public final void rule__ObjectiveDeclaration__Group__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:5993:1: ( rule__ObjectiveDeclaration__Group__1__Impl rule__ObjectiveDeclaration__Group__2 ) + // InternalApplicationConfiguration.g:5994:2: rule__ObjectiveDeclaration__Group__1__Impl rule__ObjectiveDeclaration__Group__2 + { + pushFollow(FOLLOW_19); + rule__ObjectiveDeclaration__Group__1__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__ObjectiveDeclaration__Group__2(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ObjectiveDeclaration__Group__1" + + + // $ANTLR start "rule__ObjectiveDeclaration__Group__1__Impl" + // InternalApplicationConfiguration.g:6001:1: rule__ObjectiveDeclaration__Group__1__Impl : ( ( rule__ObjectiveDeclaration__NameAssignment_1 ) ) ; + public final void rule__ObjectiveDeclaration__Group__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:6005:1: ( ( ( rule__ObjectiveDeclaration__NameAssignment_1 ) ) ) + // InternalApplicationConfiguration.g:6006:1: ( ( rule__ObjectiveDeclaration__NameAssignment_1 ) ) + { + // InternalApplicationConfiguration.g:6006:1: ( ( rule__ObjectiveDeclaration__NameAssignment_1 ) ) + // InternalApplicationConfiguration.g:6007:2: ( rule__ObjectiveDeclaration__NameAssignment_1 ) + { + before(grammarAccess.getObjectiveDeclarationAccess().getNameAssignment_1()); + // InternalApplicationConfiguration.g:6008:2: ( rule__ObjectiveDeclaration__NameAssignment_1 ) + // InternalApplicationConfiguration.g:6008:3: rule__ObjectiveDeclaration__NameAssignment_1 + { + pushFollow(FOLLOW_2); + rule__ObjectiveDeclaration__NameAssignment_1(); + + state._fsp--; + + + } + + after(grammarAccess.getObjectiveDeclarationAccess().getNameAssignment_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ObjectiveDeclaration__Group__1__Impl" + + + // $ANTLR start "rule__ObjectiveDeclaration__Group__2" + // InternalApplicationConfiguration.g:6016:1: rule__ObjectiveDeclaration__Group__2 : rule__ObjectiveDeclaration__Group__2__Impl ; + public final void rule__ObjectiveDeclaration__Group__2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:6020:1: ( rule__ObjectiveDeclaration__Group__2__Impl ) + // InternalApplicationConfiguration.g:6021:2: rule__ObjectiveDeclaration__Group__2__Impl + { + pushFollow(FOLLOW_2); + rule__ObjectiveDeclaration__Group__2__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ObjectiveDeclaration__Group__2" + + + // $ANTLR start "rule__ObjectiveDeclaration__Group__2__Impl" + // InternalApplicationConfiguration.g:6027:1: rule__ObjectiveDeclaration__Group__2__Impl : ( ( rule__ObjectiveDeclaration__SpecificationAssignment_2 ) ) ; + public final void rule__ObjectiveDeclaration__Group__2__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:6031:1: ( ( ( rule__ObjectiveDeclaration__SpecificationAssignment_2 ) ) ) + // InternalApplicationConfiguration.g:6032:1: ( ( rule__ObjectiveDeclaration__SpecificationAssignment_2 ) ) + { + // InternalApplicationConfiguration.g:6032:1: ( ( rule__ObjectiveDeclaration__SpecificationAssignment_2 ) ) + // InternalApplicationConfiguration.g:6033:2: ( rule__ObjectiveDeclaration__SpecificationAssignment_2 ) + { + before(grammarAccess.getObjectiveDeclarationAccess().getSpecificationAssignment_2()); + // InternalApplicationConfiguration.g:6034:2: ( rule__ObjectiveDeclaration__SpecificationAssignment_2 ) + // InternalApplicationConfiguration.g:6034:3: rule__ObjectiveDeclaration__SpecificationAssignment_2 { pushFollow(FOLLOW_2); rule__ObjectiveDeclaration__SpecificationAssignment_2(); @@ -18390,14 +19195,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ConfigSpecification__Group__0" - // InternalApplicationConfiguration.g:5783:1: rule__ConfigSpecification__Group__0 : rule__ConfigSpecification__Group__0__Impl rule__ConfigSpecification__Group__1 ; + // InternalApplicationConfiguration.g:6043:1: rule__ConfigSpecification__Group__0 : rule__ConfigSpecification__Group__0__Impl rule__ConfigSpecification__Group__1 ; public final void rule__ConfigSpecification__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:5787:1: ( rule__ConfigSpecification__Group__0__Impl rule__ConfigSpecification__Group__1 ) - // InternalApplicationConfiguration.g:5788:2: rule__ConfigSpecification__Group__0__Impl rule__ConfigSpecification__Group__1 + // InternalApplicationConfiguration.g:6047:1: ( rule__ConfigSpecification__Group__0__Impl rule__ConfigSpecification__Group__1 ) + // InternalApplicationConfiguration.g:6048:2: rule__ConfigSpecification__Group__0__Impl rule__ConfigSpecification__Group__1 { pushFollow(FOLLOW_19); rule__ConfigSpecification__Group__0__Impl(); @@ -18428,21 +19233,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ConfigSpecification__Group__0__Impl" - // InternalApplicationConfiguration.g:5795:1: rule__ConfigSpecification__Group__0__Impl : ( () ) ; + // InternalApplicationConfiguration.g:6055:1: rule__ConfigSpecification__Group__0__Impl : ( () ) ; public final void rule__ConfigSpecification__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:5799:1: ( ( () ) ) - // InternalApplicationConfiguration.g:5800:1: ( () ) + // InternalApplicationConfiguration.g:6059:1: ( ( () ) ) + // InternalApplicationConfiguration.g:6060:1: ( () ) { - // InternalApplicationConfiguration.g:5800:1: ( () ) - // InternalApplicationConfiguration.g:5801:2: () + // InternalApplicationConfiguration.g:6060:1: ( () ) + // InternalApplicationConfiguration.g:6061:2: () { before(grammarAccess.getConfigSpecificationAccess().getConfigSpecificationAction_0()); - // InternalApplicationConfiguration.g:5802:2: () - // InternalApplicationConfiguration.g:5802:3: + // InternalApplicationConfiguration.g:6062:2: () + // InternalApplicationConfiguration.g:6062:3: { } @@ -18465,16 +19270,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ConfigSpecification__Group__1" - // InternalApplicationConfiguration.g:5810:1: rule__ConfigSpecification__Group__1 : rule__ConfigSpecification__Group__1__Impl rule__ConfigSpecification__Group__2 ; + // InternalApplicationConfiguration.g:6070:1: rule__ConfigSpecification__Group__1 : rule__ConfigSpecification__Group__1__Impl rule__ConfigSpecification__Group__2 ; public final void rule__ConfigSpecification__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:5814:1: ( rule__ConfigSpecification__Group__1__Impl rule__ConfigSpecification__Group__2 ) - // InternalApplicationConfiguration.g:5815:2: rule__ConfigSpecification__Group__1__Impl rule__ConfigSpecification__Group__2 + // InternalApplicationConfiguration.g:6074:1: ( rule__ConfigSpecification__Group__1__Impl rule__ConfigSpecification__Group__2 ) + // InternalApplicationConfiguration.g:6075:2: rule__ConfigSpecification__Group__1__Impl rule__ConfigSpecification__Group__2 { - pushFollow(FOLLOW_26); + pushFollow(FOLLOW_27); rule__ConfigSpecification__Group__1__Impl(); state._fsp--; @@ -18503,17 +19308,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ConfigSpecification__Group__1__Impl" - // InternalApplicationConfiguration.g:5822:1: rule__ConfigSpecification__Group__1__Impl : ( '{' ) ; + // InternalApplicationConfiguration.g:6082:1: rule__ConfigSpecification__Group__1__Impl : ( '{' ) ; public final void rule__ConfigSpecification__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:5826:1: ( ( '{' ) ) - // InternalApplicationConfiguration.g:5827:1: ( '{' ) + // InternalApplicationConfiguration.g:6086:1: ( ( '{' ) ) + // InternalApplicationConfiguration.g:6087:1: ( '{' ) { - // InternalApplicationConfiguration.g:5827:1: ( '{' ) - // InternalApplicationConfiguration.g:5828:2: '{' + // InternalApplicationConfiguration.g:6087:1: ( '{' ) + // InternalApplicationConfiguration.g:6088:2: '{' { before(grammarAccess.getConfigSpecificationAccess().getLeftCurlyBracketKeyword_1()); match(input,29,FOLLOW_2); @@ -18540,16 +19345,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ConfigSpecification__Group__2" - // InternalApplicationConfiguration.g:5837:1: rule__ConfigSpecification__Group__2 : rule__ConfigSpecification__Group__2__Impl rule__ConfigSpecification__Group__3 ; + // InternalApplicationConfiguration.g:6097:1: rule__ConfigSpecification__Group__2 : rule__ConfigSpecification__Group__2__Impl rule__ConfigSpecification__Group__3 ; public final void rule__ConfigSpecification__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:5841:1: ( rule__ConfigSpecification__Group__2__Impl rule__ConfigSpecification__Group__3 ) - // InternalApplicationConfiguration.g:5842:2: rule__ConfigSpecification__Group__2__Impl rule__ConfigSpecification__Group__3 + // InternalApplicationConfiguration.g:6101:1: ( rule__ConfigSpecification__Group__2__Impl rule__ConfigSpecification__Group__3 ) + // InternalApplicationConfiguration.g:6102:2: rule__ConfigSpecification__Group__2__Impl rule__ConfigSpecification__Group__3 { - pushFollow(FOLLOW_26); + pushFollow(FOLLOW_27); rule__ConfigSpecification__Group__2__Impl(); state._fsp--; @@ -18578,29 +19383,29 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ConfigSpecification__Group__2__Impl" - // InternalApplicationConfiguration.g:5849:1: rule__ConfigSpecification__Group__2__Impl : ( ( rule__ConfigSpecification__Group_2__0 )? ) ; + // InternalApplicationConfiguration.g:6109:1: rule__ConfigSpecification__Group__2__Impl : ( ( rule__ConfigSpecification__Group_2__0 )? ) ; public final void rule__ConfigSpecification__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:5853:1: ( ( ( rule__ConfigSpecification__Group_2__0 )? ) ) - // InternalApplicationConfiguration.g:5854:1: ( ( rule__ConfigSpecification__Group_2__0 )? ) + // InternalApplicationConfiguration.g:6113:1: ( ( ( rule__ConfigSpecification__Group_2__0 )? ) ) + // InternalApplicationConfiguration.g:6114:1: ( ( rule__ConfigSpecification__Group_2__0 )? ) { - // InternalApplicationConfiguration.g:5854:1: ( ( rule__ConfigSpecification__Group_2__0 )? ) - // InternalApplicationConfiguration.g:5855:2: ( rule__ConfigSpecification__Group_2__0 )? + // InternalApplicationConfiguration.g:6114:1: ( ( rule__ConfigSpecification__Group_2__0 )? ) + // InternalApplicationConfiguration.g:6115:2: ( rule__ConfigSpecification__Group_2__0 )? { before(grammarAccess.getConfigSpecificationAccess().getGroup_2()); - // InternalApplicationConfiguration.g:5856:2: ( rule__ConfigSpecification__Group_2__0 )? - int alt52=2; - int LA52_0 = input.LA(1); + // InternalApplicationConfiguration.g:6116:2: ( rule__ConfigSpecification__Group_2__0 )? + int alt54=2; + int LA54_0 = input.LA(1); - if ( (LA52_0==RULE_STRING||(LA52_0>=41 && LA52_0<=43)) ) { - alt52=1; + if ( (LA54_0==RULE_STRING||(LA54_0>=43 && LA54_0<=45)) ) { + alt54=1; } - switch (alt52) { + switch (alt54) { case 1 : - // InternalApplicationConfiguration.g:5856:3: rule__ConfigSpecification__Group_2__0 + // InternalApplicationConfiguration.g:6116:3: rule__ConfigSpecification__Group_2__0 { pushFollow(FOLLOW_2); rule__ConfigSpecification__Group_2__0(); @@ -18636,14 +19441,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ConfigSpecification__Group__3" - // InternalApplicationConfiguration.g:5864:1: rule__ConfigSpecification__Group__3 : rule__ConfigSpecification__Group__3__Impl ; + // InternalApplicationConfiguration.g:6124:1: rule__ConfigSpecification__Group__3 : rule__ConfigSpecification__Group__3__Impl ; public final void rule__ConfigSpecification__Group__3() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:5868:1: ( rule__ConfigSpecification__Group__3__Impl ) - // InternalApplicationConfiguration.g:5869:2: rule__ConfigSpecification__Group__3__Impl + // InternalApplicationConfiguration.g:6128:1: ( rule__ConfigSpecification__Group__3__Impl ) + // InternalApplicationConfiguration.g:6129:2: rule__ConfigSpecification__Group__3__Impl { pushFollow(FOLLOW_2); rule__ConfigSpecification__Group__3__Impl(); @@ -18669,17 +19474,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ConfigSpecification__Group__3__Impl" - // InternalApplicationConfiguration.g:5875:1: rule__ConfigSpecification__Group__3__Impl : ( '}' ) ; + // InternalApplicationConfiguration.g:6135:1: rule__ConfigSpecification__Group__3__Impl : ( '}' ) ; public final void rule__ConfigSpecification__Group__3__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:5879:1: ( ( '}' ) ) - // InternalApplicationConfiguration.g:5880:1: ( '}' ) + // InternalApplicationConfiguration.g:6139:1: ( ( '}' ) ) + // InternalApplicationConfiguration.g:6140:1: ( '}' ) { - // InternalApplicationConfiguration.g:5880:1: ( '}' ) - // InternalApplicationConfiguration.g:5881:2: '}' + // InternalApplicationConfiguration.g:6140:1: ( '}' ) + // InternalApplicationConfiguration.g:6141:2: '}' { before(grammarAccess.getConfigSpecificationAccess().getRightCurlyBracketKeyword_3()); match(input,30,FOLLOW_2); @@ -18706,16 +19511,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ConfigSpecification__Group_2__0" - // InternalApplicationConfiguration.g:5891:1: rule__ConfigSpecification__Group_2__0 : rule__ConfigSpecification__Group_2__0__Impl rule__ConfigSpecification__Group_2__1 ; + // InternalApplicationConfiguration.g:6151:1: rule__ConfigSpecification__Group_2__0 : rule__ConfigSpecification__Group_2__0__Impl rule__ConfigSpecification__Group_2__1 ; public final void rule__ConfigSpecification__Group_2__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:5895:1: ( rule__ConfigSpecification__Group_2__0__Impl rule__ConfigSpecification__Group_2__1 ) - // InternalApplicationConfiguration.g:5896:2: rule__ConfigSpecification__Group_2__0__Impl rule__ConfigSpecification__Group_2__1 + // InternalApplicationConfiguration.g:6155:1: ( rule__ConfigSpecification__Group_2__0__Impl rule__ConfigSpecification__Group_2__1 ) + // InternalApplicationConfiguration.g:6156:2: rule__ConfigSpecification__Group_2__0__Impl rule__ConfigSpecification__Group_2__1 { - pushFollow(FOLLOW_27); + pushFollow(FOLLOW_28); rule__ConfigSpecification__Group_2__0__Impl(); state._fsp--; @@ -18744,21 +19549,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ConfigSpecification__Group_2__0__Impl" - // InternalApplicationConfiguration.g:5903:1: rule__ConfigSpecification__Group_2__0__Impl : ( ( rule__ConfigSpecification__EntriesAssignment_2_0 ) ) ; + // InternalApplicationConfiguration.g:6163:1: rule__ConfigSpecification__Group_2__0__Impl : ( ( rule__ConfigSpecification__EntriesAssignment_2_0 ) ) ; public final void rule__ConfigSpecification__Group_2__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:5907:1: ( ( ( rule__ConfigSpecification__EntriesAssignment_2_0 ) ) ) - // InternalApplicationConfiguration.g:5908:1: ( ( rule__ConfigSpecification__EntriesAssignment_2_0 ) ) + // InternalApplicationConfiguration.g:6167:1: ( ( ( rule__ConfigSpecification__EntriesAssignment_2_0 ) ) ) + // InternalApplicationConfiguration.g:6168:1: ( ( rule__ConfigSpecification__EntriesAssignment_2_0 ) ) { - // InternalApplicationConfiguration.g:5908:1: ( ( rule__ConfigSpecification__EntriesAssignment_2_0 ) ) - // InternalApplicationConfiguration.g:5909:2: ( rule__ConfigSpecification__EntriesAssignment_2_0 ) + // InternalApplicationConfiguration.g:6168:1: ( ( rule__ConfigSpecification__EntriesAssignment_2_0 ) ) + // InternalApplicationConfiguration.g:6169:2: ( rule__ConfigSpecification__EntriesAssignment_2_0 ) { before(grammarAccess.getConfigSpecificationAccess().getEntriesAssignment_2_0()); - // InternalApplicationConfiguration.g:5910:2: ( rule__ConfigSpecification__EntriesAssignment_2_0 ) - // InternalApplicationConfiguration.g:5910:3: rule__ConfigSpecification__EntriesAssignment_2_0 + // InternalApplicationConfiguration.g:6170:2: ( rule__ConfigSpecification__EntriesAssignment_2_0 ) + // InternalApplicationConfiguration.g:6170:3: rule__ConfigSpecification__EntriesAssignment_2_0 { pushFollow(FOLLOW_2); rule__ConfigSpecification__EntriesAssignment_2_0(); @@ -18791,14 +19596,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ConfigSpecification__Group_2__1" - // InternalApplicationConfiguration.g:5918:1: rule__ConfigSpecification__Group_2__1 : rule__ConfigSpecification__Group_2__1__Impl ; + // InternalApplicationConfiguration.g:6178:1: rule__ConfigSpecification__Group_2__1 : rule__ConfigSpecification__Group_2__1__Impl ; public final void rule__ConfigSpecification__Group_2__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:5922:1: ( rule__ConfigSpecification__Group_2__1__Impl ) - // InternalApplicationConfiguration.g:5923:2: rule__ConfigSpecification__Group_2__1__Impl + // InternalApplicationConfiguration.g:6182:1: ( rule__ConfigSpecification__Group_2__1__Impl ) + // InternalApplicationConfiguration.g:6183:2: rule__ConfigSpecification__Group_2__1__Impl { pushFollow(FOLLOW_2); rule__ConfigSpecification__Group_2__1__Impl(); @@ -18824,33 +19629,33 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ConfigSpecification__Group_2__1__Impl" - // InternalApplicationConfiguration.g:5929:1: rule__ConfigSpecification__Group_2__1__Impl : ( ( rule__ConfigSpecification__Group_2_1__0 )* ) ; + // InternalApplicationConfiguration.g:6189:1: rule__ConfigSpecification__Group_2__1__Impl : ( ( rule__ConfigSpecification__Group_2_1__0 )* ) ; public final void rule__ConfigSpecification__Group_2__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:5933:1: ( ( ( rule__ConfigSpecification__Group_2_1__0 )* ) ) - // InternalApplicationConfiguration.g:5934:1: ( ( rule__ConfigSpecification__Group_2_1__0 )* ) + // InternalApplicationConfiguration.g:6193:1: ( ( ( rule__ConfigSpecification__Group_2_1__0 )* ) ) + // InternalApplicationConfiguration.g:6194:1: ( ( rule__ConfigSpecification__Group_2_1__0 )* ) { - // InternalApplicationConfiguration.g:5934:1: ( ( rule__ConfigSpecification__Group_2_1__0 )* ) - // InternalApplicationConfiguration.g:5935:2: ( rule__ConfigSpecification__Group_2_1__0 )* + // InternalApplicationConfiguration.g:6194:1: ( ( rule__ConfigSpecification__Group_2_1__0 )* ) + // InternalApplicationConfiguration.g:6195:2: ( rule__ConfigSpecification__Group_2_1__0 )* { before(grammarAccess.getConfigSpecificationAccess().getGroup_2_1()); - // InternalApplicationConfiguration.g:5936:2: ( rule__ConfigSpecification__Group_2_1__0 )* - loop53: + // InternalApplicationConfiguration.g:6196:2: ( rule__ConfigSpecification__Group_2_1__0 )* + loop55: do { - int alt53=2; - int LA53_0 = input.LA(1); + int alt55=2; + int LA55_0 = input.LA(1); - if ( (LA53_0==31) ) { - alt53=1; + if ( (LA55_0==31) ) { + alt55=1; } - switch (alt53) { + switch (alt55) { case 1 : - // InternalApplicationConfiguration.g:5936:3: rule__ConfigSpecification__Group_2_1__0 + // InternalApplicationConfiguration.g:6196:3: rule__ConfigSpecification__Group_2_1__0 { pushFollow(FOLLOW_17); rule__ConfigSpecification__Group_2_1__0(); @@ -18862,7 +19667,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont break; default : - break loop53; + break loop55; } } while (true); @@ -18889,16 +19694,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ConfigSpecification__Group_2_1__0" - // InternalApplicationConfiguration.g:5945:1: rule__ConfigSpecification__Group_2_1__0 : rule__ConfigSpecification__Group_2_1__0__Impl rule__ConfigSpecification__Group_2_1__1 ; + // InternalApplicationConfiguration.g:6205:1: rule__ConfigSpecification__Group_2_1__0 : rule__ConfigSpecification__Group_2_1__0__Impl rule__ConfigSpecification__Group_2_1__1 ; public final void rule__ConfigSpecification__Group_2_1__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:5949:1: ( rule__ConfigSpecification__Group_2_1__0__Impl rule__ConfigSpecification__Group_2_1__1 ) - // InternalApplicationConfiguration.g:5950:2: rule__ConfigSpecification__Group_2_1__0__Impl rule__ConfigSpecification__Group_2_1__1 + // InternalApplicationConfiguration.g:6209:1: ( rule__ConfigSpecification__Group_2_1__0__Impl rule__ConfigSpecification__Group_2_1__1 ) + // InternalApplicationConfiguration.g:6210:2: rule__ConfigSpecification__Group_2_1__0__Impl rule__ConfigSpecification__Group_2_1__1 { - pushFollow(FOLLOW_28); + pushFollow(FOLLOW_29); rule__ConfigSpecification__Group_2_1__0__Impl(); state._fsp--; @@ -18927,17 +19732,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ConfigSpecification__Group_2_1__0__Impl" - // InternalApplicationConfiguration.g:5957:1: rule__ConfigSpecification__Group_2_1__0__Impl : ( ',' ) ; + // InternalApplicationConfiguration.g:6217:1: rule__ConfigSpecification__Group_2_1__0__Impl : ( ',' ) ; public final void rule__ConfigSpecification__Group_2_1__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:5961:1: ( ( ',' ) ) - // InternalApplicationConfiguration.g:5962:1: ( ',' ) + // InternalApplicationConfiguration.g:6221:1: ( ( ',' ) ) + // InternalApplicationConfiguration.g:6222:1: ( ',' ) { - // InternalApplicationConfiguration.g:5962:1: ( ',' ) - // InternalApplicationConfiguration.g:5963:2: ',' + // InternalApplicationConfiguration.g:6222:1: ( ',' ) + // InternalApplicationConfiguration.g:6223:2: ',' { before(grammarAccess.getConfigSpecificationAccess().getCommaKeyword_2_1_0()); match(input,31,FOLLOW_2); @@ -18964,14 +19769,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ConfigSpecification__Group_2_1__1" - // InternalApplicationConfiguration.g:5972:1: rule__ConfigSpecification__Group_2_1__1 : rule__ConfigSpecification__Group_2_1__1__Impl ; + // InternalApplicationConfiguration.g:6232:1: rule__ConfigSpecification__Group_2_1__1 : rule__ConfigSpecification__Group_2_1__1__Impl ; public final void rule__ConfigSpecification__Group_2_1__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:5976:1: ( rule__ConfigSpecification__Group_2_1__1__Impl ) - // InternalApplicationConfiguration.g:5977:2: rule__ConfigSpecification__Group_2_1__1__Impl + // InternalApplicationConfiguration.g:6236:1: ( rule__ConfigSpecification__Group_2_1__1__Impl ) + // InternalApplicationConfiguration.g:6237:2: rule__ConfigSpecification__Group_2_1__1__Impl { pushFollow(FOLLOW_2); rule__ConfigSpecification__Group_2_1__1__Impl(); @@ -18997,21 +19802,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ConfigSpecification__Group_2_1__1__Impl" - // InternalApplicationConfiguration.g:5983:1: rule__ConfigSpecification__Group_2_1__1__Impl : ( ( rule__ConfigSpecification__EntriesAssignment_2_1_1 ) ) ; + // InternalApplicationConfiguration.g:6243:1: rule__ConfigSpecification__Group_2_1__1__Impl : ( ( rule__ConfigSpecification__EntriesAssignment_2_1_1 ) ) ; public final void rule__ConfigSpecification__Group_2_1__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:5987:1: ( ( ( rule__ConfigSpecification__EntriesAssignment_2_1_1 ) ) ) - // InternalApplicationConfiguration.g:5988:1: ( ( rule__ConfigSpecification__EntriesAssignment_2_1_1 ) ) + // InternalApplicationConfiguration.g:6247:1: ( ( ( rule__ConfigSpecification__EntriesAssignment_2_1_1 ) ) ) + // InternalApplicationConfiguration.g:6248:1: ( ( rule__ConfigSpecification__EntriesAssignment_2_1_1 ) ) { - // InternalApplicationConfiguration.g:5988:1: ( ( rule__ConfigSpecification__EntriesAssignment_2_1_1 ) ) - // InternalApplicationConfiguration.g:5989:2: ( rule__ConfigSpecification__EntriesAssignment_2_1_1 ) + // InternalApplicationConfiguration.g:6248:1: ( ( rule__ConfigSpecification__EntriesAssignment_2_1_1 ) ) + // InternalApplicationConfiguration.g:6249:2: ( rule__ConfigSpecification__EntriesAssignment_2_1_1 ) { before(grammarAccess.getConfigSpecificationAccess().getEntriesAssignment_2_1_1()); - // InternalApplicationConfiguration.g:5990:2: ( rule__ConfigSpecification__EntriesAssignment_2_1_1 ) - // InternalApplicationConfiguration.g:5990:3: rule__ConfigSpecification__EntriesAssignment_2_1_1 + // InternalApplicationConfiguration.g:6250:2: ( rule__ConfigSpecification__EntriesAssignment_2_1_1 ) + // InternalApplicationConfiguration.g:6250:3: rule__ConfigSpecification__EntriesAssignment_2_1_1 { pushFollow(FOLLOW_2); rule__ConfigSpecification__EntriesAssignment_2_1_1(); @@ -19044,14 +19849,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ConfigDeclaration__Group__0" - // InternalApplicationConfiguration.g:5999:1: rule__ConfigDeclaration__Group__0 : rule__ConfigDeclaration__Group__0__Impl rule__ConfigDeclaration__Group__1 ; + // InternalApplicationConfiguration.g:6259:1: rule__ConfigDeclaration__Group__0 : rule__ConfigDeclaration__Group__0__Impl rule__ConfigDeclaration__Group__1 ; public final void rule__ConfigDeclaration__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:6003:1: ( rule__ConfigDeclaration__Group__0__Impl rule__ConfigDeclaration__Group__1 ) - // InternalApplicationConfiguration.g:6004:2: rule__ConfigDeclaration__Group__0__Impl rule__ConfigDeclaration__Group__1 + // InternalApplicationConfiguration.g:6263:1: ( rule__ConfigDeclaration__Group__0__Impl rule__ConfigDeclaration__Group__1 ) + // InternalApplicationConfiguration.g:6264:2: rule__ConfigDeclaration__Group__0__Impl rule__ConfigDeclaration__Group__1 { pushFollow(FOLLOW_8); rule__ConfigDeclaration__Group__0__Impl(); @@ -19082,20 +19887,20 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ConfigDeclaration__Group__0__Impl" - // InternalApplicationConfiguration.g:6011:1: rule__ConfigDeclaration__Group__0__Impl : ( 'config' ) ; + // InternalApplicationConfiguration.g:6271:1: rule__ConfigDeclaration__Group__0__Impl : ( 'config' ) ; public final void rule__ConfigDeclaration__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:6015:1: ( ( 'config' ) ) - // InternalApplicationConfiguration.g:6016:1: ( 'config' ) + // InternalApplicationConfiguration.g:6275:1: ( ( 'config' ) ) + // InternalApplicationConfiguration.g:6276:1: ( 'config' ) { - // InternalApplicationConfiguration.g:6016:1: ( 'config' ) - // InternalApplicationConfiguration.g:6017:2: 'config' + // InternalApplicationConfiguration.g:6276:1: ( 'config' ) + // InternalApplicationConfiguration.g:6277:2: 'config' { before(grammarAccess.getConfigDeclarationAccess().getConfigKeyword_0()); - match(input,40,FOLLOW_2); + match(input,42,FOLLOW_2); after(grammarAccess.getConfigDeclarationAccess().getConfigKeyword_0()); } @@ -19119,14 +19924,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ConfigDeclaration__Group__1" - // InternalApplicationConfiguration.g:6026:1: rule__ConfigDeclaration__Group__1 : rule__ConfigDeclaration__Group__1__Impl rule__ConfigDeclaration__Group__2 ; + // InternalApplicationConfiguration.g:6286:1: rule__ConfigDeclaration__Group__1 : rule__ConfigDeclaration__Group__1__Impl rule__ConfigDeclaration__Group__2 ; public final void rule__ConfigDeclaration__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:6030:1: ( rule__ConfigDeclaration__Group__1__Impl rule__ConfigDeclaration__Group__2 ) - // InternalApplicationConfiguration.g:6031:2: rule__ConfigDeclaration__Group__1__Impl rule__ConfigDeclaration__Group__2 + // InternalApplicationConfiguration.g:6290:1: ( rule__ConfigDeclaration__Group__1__Impl rule__ConfigDeclaration__Group__2 ) + // InternalApplicationConfiguration.g:6291:2: rule__ConfigDeclaration__Group__1__Impl rule__ConfigDeclaration__Group__2 { pushFollow(FOLLOW_19); rule__ConfigDeclaration__Group__1__Impl(); @@ -19157,21 +19962,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ConfigDeclaration__Group__1__Impl" - // InternalApplicationConfiguration.g:6038:1: rule__ConfigDeclaration__Group__1__Impl : ( ( rule__ConfigDeclaration__NameAssignment_1 ) ) ; + // InternalApplicationConfiguration.g:6298:1: rule__ConfigDeclaration__Group__1__Impl : ( ( rule__ConfigDeclaration__NameAssignment_1 ) ) ; public final void rule__ConfigDeclaration__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:6042:1: ( ( ( rule__ConfigDeclaration__NameAssignment_1 ) ) ) - // InternalApplicationConfiguration.g:6043:1: ( ( rule__ConfigDeclaration__NameAssignment_1 ) ) + // InternalApplicationConfiguration.g:6302:1: ( ( ( rule__ConfigDeclaration__NameAssignment_1 ) ) ) + // InternalApplicationConfiguration.g:6303:1: ( ( rule__ConfigDeclaration__NameAssignment_1 ) ) { - // InternalApplicationConfiguration.g:6043:1: ( ( rule__ConfigDeclaration__NameAssignment_1 ) ) - // InternalApplicationConfiguration.g:6044:2: ( rule__ConfigDeclaration__NameAssignment_1 ) + // InternalApplicationConfiguration.g:6303:1: ( ( rule__ConfigDeclaration__NameAssignment_1 ) ) + // InternalApplicationConfiguration.g:6304:2: ( rule__ConfigDeclaration__NameAssignment_1 ) { before(grammarAccess.getConfigDeclarationAccess().getNameAssignment_1()); - // InternalApplicationConfiguration.g:6045:2: ( rule__ConfigDeclaration__NameAssignment_1 ) - // InternalApplicationConfiguration.g:6045:3: rule__ConfigDeclaration__NameAssignment_1 + // InternalApplicationConfiguration.g:6305:2: ( rule__ConfigDeclaration__NameAssignment_1 ) + // InternalApplicationConfiguration.g:6305:3: rule__ConfigDeclaration__NameAssignment_1 { pushFollow(FOLLOW_2); rule__ConfigDeclaration__NameAssignment_1(); @@ -19204,14 +20009,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ConfigDeclaration__Group__2" - // InternalApplicationConfiguration.g:6053:1: rule__ConfigDeclaration__Group__2 : rule__ConfigDeclaration__Group__2__Impl ; + // InternalApplicationConfiguration.g:6313:1: rule__ConfigDeclaration__Group__2 : rule__ConfigDeclaration__Group__2__Impl ; public final void rule__ConfigDeclaration__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:6057:1: ( rule__ConfigDeclaration__Group__2__Impl ) - // InternalApplicationConfiguration.g:6058:2: rule__ConfigDeclaration__Group__2__Impl + // InternalApplicationConfiguration.g:6317:1: ( rule__ConfigDeclaration__Group__2__Impl ) + // InternalApplicationConfiguration.g:6318:2: rule__ConfigDeclaration__Group__2__Impl { pushFollow(FOLLOW_2); rule__ConfigDeclaration__Group__2__Impl(); @@ -19237,21 +20042,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ConfigDeclaration__Group__2__Impl" - // InternalApplicationConfiguration.g:6064:1: rule__ConfigDeclaration__Group__2__Impl : ( ( rule__ConfigDeclaration__SpecificationAssignment_2 ) ) ; + // InternalApplicationConfiguration.g:6324:1: rule__ConfigDeclaration__Group__2__Impl : ( ( rule__ConfigDeclaration__SpecificationAssignment_2 ) ) ; public final void rule__ConfigDeclaration__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:6068:1: ( ( ( rule__ConfigDeclaration__SpecificationAssignment_2 ) ) ) - // InternalApplicationConfiguration.g:6069:1: ( ( rule__ConfigDeclaration__SpecificationAssignment_2 ) ) + // InternalApplicationConfiguration.g:6328:1: ( ( ( rule__ConfigDeclaration__SpecificationAssignment_2 ) ) ) + // InternalApplicationConfiguration.g:6329:1: ( ( rule__ConfigDeclaration__SpecificationAssignment_2 ) ) { - // InternalApplicationConfiguration.g:6069:1: ( ( rule__ConfigDeclaration__SpecificationAssignment_2 ) ) - // InternalApplicationConfiguration.g:6070:2: ( rule__ConfigDeclaration__SpecificationAssignment_2 ) + // InternalApplicationConfiguration.g:6329:1: ( ( rule__ConfigDeclaration__SpecificationAssignment_2 ) ) + // InternalApplicationConfiguration.g:6330:2: ( rule__ConfigDeclaration__SpecificationAssignment_2 ) { before(grammarAccess.getConfigDeclarationAccess().getSpecificationAssignment_2()); - // InternalApplicationConfiguration.g:6071:2: ( rule__ConfigDeclaration__SpecificationAssignment_2 ) - // InternalApplicationConfiguration.g:6071:3: rule__ConfigDeclaration__SpecificationAssignment_2 + // InternalApplicationConfiguration.g:6331:2: ( rule__ConfigDeclaration__SpecificationAssignment_2 ) + // InternalApplicationConfiguration.g:6331:3: rule__ConfigDeclaration__SpecificationAssignment_2 { pushFollow(FOLLOW_2); rule__ConfigDeclaration__SpecificationAssignment_2(); @@ -19284,14 +20089,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__DocumentationEntry__Group__0" - // InternalApplicationConfiguration.g:6080:1: rule__DocumentationEntry__Group__0 : rule__DocumentationEntry__Group__0__Impl rule__DocumentationEntry__Group__1 ; + // InternalApplicationConfiguration.g:6340:1: rule__DocumentationEntry__Group__0 : rule__DocumentationEntry__Group__0__Impl rule__DocumentationEntry__Group__1 ; public final void rule__DocumentationEntry__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:6084:1: ( rule__DocumentationEntry__Group__0__Impl rule__DocumentationEntry__Group__1 ) - // InternalApplicationConfiguration.g:6085:2: rule__DocumentationEntry__Group__0__Impl rule__DocumentationEntry__Group__1 + // InternalApplicationConfiguration.g:6344:1: ( rule__DocumentationEntry__Group__0__Impl rule__DocumentationEntry__Group__1 ) + // InternalApplicationConfiguration.g:6345:2: rule__DocumentationEntry__Group__0__Impl rule__DocumentationEntry__Group__1 { pushFollow(FOLLOW_14); rule__DocumentationEntry__Group__0__Impl(); @@ -19322,20 +20127,20 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__DocumentationEntry__Group__0__Impl" - // InternalApplicationConfiguration.g:6092:1: rule__DocumentationEntry__Group__0__Impl : ( 'log-level' ) ; + // InternalApplicationConfiguration.g:6352:1: rule__DocumentationEntry__Group__0__Impl : ( 'log-level' ) ; public final void rule__DocumentationEntry__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:6096:1: ( ( 'log-level' ) ) - // InternalApplicationConfiguration.g:6097:1: ( 'log-level' ) + // InternalApplicationConfiguration.g:6356:1: ( ( 'log-level' ) ) + // InternalApplicationConfiguration.g:6357:1: ( 'log-level' ) { - // InternalApplicationConfiguration.g:6097:1: ( 'log-level' ) - // InternalApplicationConfiguration.g:6098:2: 'log-level' + // InternalApplicationConfiguration.g:6357:1: ( 'log-level' ) + // InternalApplicationConfiguration.g:6358:2: 'log-level' { before(grammarAccess.getDocumentationEntryAccess().getLogLevelKeyword_0()); - match(input,41,FOLLOW_2); + match(input,43,FOLLOW_2); after(grammarAccess.getDocumentationEntryAccess().getLogLevelKeyword_0()); } @@ -19359,16 +20164,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__DocumentationEntry__Group__1" - // InternalApplicationConfiguration.g:6107:1: rule__DocumentationEntry__Group__1 : rule__DocumentationEntry__Group__1__Impl rule__DocumentationEntry__Group__2 ; + // InternalApplicationConfiguration.g:6367:1: rule__DocumentationEntry__Group__1 : rule__DocumentationEntry__Group__1__Impl rule__DocumentationEntry__Group__2 ; public final void rule__DocumentationEntry__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:6111:1: ( rule__DocumentationEntry__Group__1__Impl rule__DocumentationEntry__Group__2 ) - // InternalApplicationConfiguration.g:6112:2: rule__DocumentationEntry__Group__1__Impl rule__DocumentationEntry__Group__2 + // InternalApplicationConfiguration.g:6371:1: ( rule__DocumentationEntry__Group__1__Impl rule__DocumentationEntry__Group__2 ) + // InternalApplicationConfiguration.g:6372:2: rule__DocumentationEntry__Group__1__Impl rule__DocumentationEntry__Group__2 { - pushFollow(FOLLOW_29); + pushFollow(FOLLOW_30); rule__DocumentationEntry__Group__1__Impl(); state._fsp--; @@ -19397,17 +20202,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__DocumentationEntry__Group__1__Impl" - // InternalApplicationConfiguration.g:6119:1: rule__DocumentationEntry__Group__1__Impl : ( '=' ) ; + // InternalApplicationConfiguration.g:6379:1: rule__DocumentationEntry__Group__1__Impl : ( '=' ) ; public final void rule__DocumentationEntry__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:6123:1: ( ( '=' ) ) - // InternalApplicationConfiguration.g:6124:1: ( '=' ) + // InternalApplicationConfiguration.g:6383:1: ( ( '=' ) ) + // InternalApplicationConfiguration.g:6384:1: ( '=' ) { - // InternalApplicationConfiguration.g:6124:1: ( '=' ) - // InternalApplicationConfiguration.g:6125:2: '=' + // InternalApplicationConfiguration.g:6384:1: ( '=' ) + // InternalApplicationConfiguration.g:6385:2: '=' { before(grammarAccess.getDocumentationEntryAccess().getEqualsSignKeyword_1()); match(input,28,FOLLOW_2); @@ -19434,14 +20239,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__DocumentationEntry__Group__2" - // InternalApplicationConfiguration.g:6134:1: rule__DocumentationEntry__Group__2 : rule__DocumentationEntry__Group__2__Impl ; + // InternalApplicationConfiguration.g:6394:1: rule__DocumentationEntry__Group__2 : rule__DocumentationEntry__Group__2__Impl ; public final void rule__DocumentationEntry__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:6138:1: ( rule__DocumentationEntry__Group__2__Impl ) - // InternalApplicationConfiguration.g:6139:2: rule__DocumentationEntry__Group__2__Impl + // InternalApplicationConfiguration.g:6398:1: ( rule__DocumentationEntry__Group__2__Impl ) + // InternalApplicationConfiguration.g:6399:2: rule__DocumentationEntry__Group__2__Impl { pushFollow(FOLLOW_2); rule__DocumentationEntry__Group__2__Impl(); @@ -19467,21 +20272,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__DocumentationEntry__Group__2__Impl" - // InternalApplicationConfiguration.g:6145:1: rule__DocumentationEntry__Group__2__Impl : ( ( rule__DocumentationEntry__LevelAssignment_2 ) ) ; + // InternalApplicationConfiguration.g:6405:1: rule__DocumentationEntry__Group__2__Impl : ( ( rule__DocumentationEntry__LevelAssignment_2 ) ) ; public final void rule__DocumentationEntry__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:6149:1: ( ( ( rule__DocumentationEntry__LevelAssignment_2 ) ) ) - // InternalApplicationConfiguration.g:6150:1: ( ( rule__DocumentationEntry__LevelAssignment_2 ) ) + // InternalApplicationConfiguration.g:6409:1: ( ( ( rule__DocumentationEntry__LevelAssignment_2 ) ) ) + // InternalApplicationConfiguration.g:6410:1: ( ( rule__DocumentationEntry__LevelAssignment_2 ) ) { - // InternalApplicationConfiguration.g:6150:1: ( ( rule__DocumentationEntry__LevelAssignment_2 ) ) - // InternalApplicationConfiguration.g:6151:2: ( rule__DocumentationEntry__LevelAssignment_2 ) + // InternalApplicationConfiguration.g:6410:1: ( ( rule__DocumentationEntry__LevelAssignment_2 ) ) + // InternalApplicationConfiguration.g:6411:2: ( rule__DocumentationEntry__LevelAssignment_2 ) { before(grammarAccess.getDocumentationEntryAccess().getLevelAssignment_2()); - // InternalApplicationConfiguration.g:6152:2: ( rule__DocumentationEntry__LevelAssignment_2 ) - // InternalApplicationConfiguration.g:6152:3: rule__DocumentationEntry__LevelAssignment_2 + // InternalApplicationConfiguration.g:6412:2: ( rule__DocumentationEntry__LevelAssignment_2 ) + // InternalApplicationConfiguration.g:6412:3: rule__DocumentationEntry__LevelAssignment_2 { pushFollow(FOLLOW_2); rule__DocumentationEntry__LevelAssignment_2(); @@ -19514,14 +20319,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__RuntimeEntry__Group__0" - // InternalApplicationConfiguration.g:6161:1: rule__RuntimeEntry__Group__0 : rule__RuntimeEntry__Group__0__Impl rule__RuntimeEntry__Group__1 ; + // InternalApplicationConfiguration.g:6421:1: rule__RuntimeEntry__Group__0 : rule__RuntimeEntry__Group__0__Impl rule__RuntimeEntry__Group__1 ; public final void rule__RuntimeEntry__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:6165:1: ( rule__RuntimeEntry__Group__0__Impl rule__RuntimeEntry__Group__1 ) - // InternalApplicationConfiguration.g:6166:2: rule__RuntimeEntry__Group__0__Impl rule__RuntimeEntry__Group__1 + // InternalApplicationConfiguration.g:6425:1: ( rule__RuntimeEntry__Group__0__Impl rule__RuntimeEntry__Group__1 ) + // InternalApplicationConfiguration.g:6426:2: rule__RuntimeEntry__Group__0__Impl rule__RuntimeEntry__Group__1 { pushFollow(FOLLOW_14); rule__RuntimeEntry__Group__0__Impl(); @@ -19552,20 +20357,20 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__RuntimeEntry__Group__0__Impl" - // InternalApplicationConfiguration.g:6173:1: rule__RuntimeEntry__Group__0__Impl : ( 'runtime' ) ; + // InternalApplicationConfiguration.g:6433:1: rule__RuntimeEntry__Group__0__Impl : ( 'runtime' ) ; public final void rule__RuntimeEntry__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:6177:1: ( ( 'runtime' ) ) - // InternalApplicationConfiguration.g:6178:1: ( 'runtime' ) + // InternalApplicationConfiguration.g:6437:1: ( ( 'runtime' ) ) + // InternalApplicationConfiguration.g:6438:1: ( 'runtime' ) { - // InternalApplicationConfiguration.g:6178:1: ( 'runtime' ) - // InternalApplicationConfiguration.g:6179:2: 'runtime' + // InternalApplicationConfiguration.g:6438:1: ( 'runtime' ) + // InternalApplicationConfiguration.g:6439:2: 'runtime' { before(grammarAccess.getRuntimeEntryAccess().getRuntimeKeyword_0()); - match(input,42,FOLLOW_2); + match(input,44,FOLLOW_2); after(grammarAccess.getRuntimeEntryAccess().getRuntimeKeyword_0()); } @@ -19589,14 +20394,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__RuntimeEntry__Group__1" - // InternalApplicationConfiguration.g:6188:1: rule__RuntimeEntry__Group__1 : rule__RuntimeEntry__Group__1__Impl rule__RuntimeEntry__Group__2 ; + // InternalApplicationConfiguration.g:6448:1: rule__RuntimeEntry__Group__1 : rule__RuntimeEntry__Group__1__Impl rule__RuntimeEntry__Group__2 ; public final void rule__RuntimeEntry__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:6192:1: ( rule__RuntimeEntry__Group__1__Impl rule__RuntimeEntry__Group__2 ) - // InternalApplicationConfiguration.g:6193:2: rule__RuntimeEntry__Group__1__Impl rule__RuntimeEntry__Group__2 + // InternalApplicationConfiguration.g:6452:1: ( rule__RuntimeEntry__Group__1__Impl rule__RuntimeEntry__Group__2 ) + // InternalApplicationConfiguration.g:6453:2: rule__RuntimeEntry__Group__1__Impl rule__RuntimeEntry__Group__2 { pushFollow(FOLLOW_9); rule__RuntimeEntry__Group__1__Impl(); @@ -19627,17 +20432,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__RuntimeEntry__Group__1__Impl" - // InternalApplicationConfiguration.g:6200:1: rule__RuntimeEntry__Group__1__Impl : ( '=' ) ; + // InternalApplicationConfiguration.g:6460:1: rule__RuntimeEntry__Group__1__Impl : ( '=' ) ; public final void rule__RuntimeEntry__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:6204:1: ( ( '=' ) ) - // InternalApplicationConfiguration.g:6205:1: ( '=' ) + // InternalApplicationConfiguration.g:6464:1: ( ( '=' ) ) + // InternalApplicationConfiguration.g:6465:1: ( '=' ) { - // InternalApplicationConfiguration.g:6205:1: ( '=' ) - // InternalApplicationConfiguration.g:6206:2: '=' + // InternalApplicationConfiguration.g:6465:1: ( '=' ) + // InternalApplicationConfiguration.g:6466:2: '=' { before(grammarAccess.getRuntimeEntryAccess().getEqualsSignKeyword_1()); match(input,28,FOLLOW_2); @@ -19664,14 +20469,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__RuntimeEntry__Group__2" - // InternalApplicationConfiguration.g:6215:1: rule__RuntimeEntry__Group__2 : rule__RuntimeEntry__Group__2__Impl ; + // InternalApplicationConfiguration.g:6475:1: rule__RuntimeEntry__Group__2 : rule__RuntimeEntry__Group__2__Impl ; public final void rule__RuntimeEntry__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:6219:1: ( rule__RuntimeEntry__Group__2__Impl ) - // InternalApplicationConfiguration.g:6220:2: rule__RuntimeEntry__Group__2__Impl + // InternalApplicationConfiguration.g:6479:1: ( rule__RuntimeEntry__Group__2__Impl ) + // InternalApplicationConfiguration.g:6480:2: rule__RuntimeEntry__Group__2__Impl { pushFollow(FOLLOW_2); rule__RuntimeEntry__Group__2__Impl(); @@ -19697,21 +20502,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__RuntimeEntry__Group__2__Impl" - // InternalApplicationConfiguration.g:6226:1: rule__RuntimeEntry__Group__2__Impl : ( ( rule__RuntimeEntry__MillisecLimitAssignment_2 ) ) ; + // InternalApplicationConfiguration.g:6486:1: rule__RuntimeEntry__Group__2__Impl : ( ( rule__RuntimeEntry__MillisecLimitAssignment_2 ) ) ; public final void rule__RuntimeEntry__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:6230:1: ( ( ( rule__RuntimeEntry__MillisecLimitAssignment_2 ) ) ) - // InternalApplicationConfiguration.g:6231:1: ( ( rule__RuntimeEntry__MillisecLimitAssignment_2 ) ) + // InternalApplicationConfiguration.g:6490:1: ( ( ( rule__RuntimeEntry__MillisecLimitAssignment_2 ) ) ) + // InternalApplicationConfiguration.g:6491:1: ( ( rule__RuntimeEntry__MillisecLimitAssignment_2 ) ) { - // InternalApplicationConfiguration.g:6231:1: ( ( rule__RuntimeEntry__MillisecLimitAssignment_2 ) ) - // InternalApplicationConfiguration.g:6232:2: ( rule__RuntimeEntry__MillisecLimitAssignment_2 ) + // InternalApplicationConfiguration.g:6491:1: ( ( rule__RuntimeEntry__MillisecLimitAssignment_2 ) ) + // InternalApplicationConfiguration.g:6492:2: ( rule__RuntimeEntry__MillisecLimitAssignment_2 ) { before(grammarAccess.getRuntimeEntryAccess().getMillisecLimitAssignment_2()); - // InternalApplicationConfiguration.g:6233:2: ( rule__RuntimeEntry__MillisecLimitAssignment_2 ) - // InternalApplicationConfiguration.g:6233:3: rule__RuntimeEntry__MillisecLimitAssignment_2 + // InternalApplicationConfiguration.g:6493:2: ( rule__RuntimeEntry__MillisecLimitAssignment_2 ) + // InternalApplicationConfiguration.g:6493:3: rule__RuntimeEntry__MillisecLimitAssignment_2 { pushFollow(FOLLOW_2); rule__RuntimeEntry__MillisecLimitAssignment_2(); @@ -19744,14 +20549,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__MemoryEntry__Group__0" - // InternalApplicationConfiguration.g:6242:1: rule__MemoryEntry__Group__0 : rule__MemoryEntry__Group__0__Impl rule__MemoryEntry__Group__1 ; + // InternalApplicationConfiguration.g:6502:1: rule__MemoryEntry__Group__0 : rule__MemoryEntry__Group__0__Impl rule__MemoryEntry__Group__1 ; public final void rule__MemoryEntry__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:6246:1: ( rule__MemoryEntry__Group__0__Impl rule__MemoryEntry__Group__1 ) - // InternalApplicationConfiguration.g:6247:2: rule__MemoryEntry__Group__0__Impl rule__MemoryEntry__Group__1 + // InternalApplicationConfiguration.g:6506:1: ( rule__MemoryEntry__Group__0__Impl rule__MemoryEntry__Group__1 ) + // InternalApplicationConfiguration.g:6507:2: rule__MemoryEntry__Group__0__Impl rule__MemoryEntry__Group__1 { pushFollow(FOLLOW_14); rule__MemoryEntry__Group__0__Impl(); @@ -19782,20 +20587,20 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__MemoryEntry__Group__0__Impl" - // InternalApplicationConfiguration.g:6254:1: rule__MemoryEntry__Group__0__Impl : ( 'memory' ) ; + // InternalApplicationConfiguration.g:6514:1: rule__MemoryEntry__Group__0__Impl : ( 'memory' ) ; public final void rule__MemoryEntry__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:6258:1: ( ( 'memory' ) ) - // InternalApplicationConfiguration.g:6259:1: ( 'memory' ) + // InternalApplicationConfiguration.g:6518:1: ( ( 'memory' ) ) + // InternalApplicationConfiguration.g:6519:1: ( 'memory' ) { - // InternalApplicationConfiguration.g:6259:1: ( 'memory' ) - // InternalApplicationConfiguration.g:6260:2: 'memory' + // InternalApplicationConfiguration.g:6519:1: ( 'memory' ) + // InternalApplicationConfiguration.g:6520:2: 'memory' { before(grammarAccess.getMemoryEntryAccess().getMemoryKeyword_0()); - match(input,43,FOLLOW_2); + match(input,45,FOLLOW_2); after(grammarAccess.getMemoryEntryAccess().getMemoryKeyword_0()); } @@ -19819,14 +20624,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__MemoryEntry__Group__1" - // InternalApplicationConfiguration.g:6269:1: rule__MemoryEntry__Group__1 : rule__MemoryEntry__Group__1__Impl rule__MemoryEntry__Group__2 ; + // InternalApplicationConfiguration.g:6529:1: rule__MemoryEntry__Group__1 : rule__MemoryEntry__Group__1__Impl rule__MemoryEntry__Group__2 ; public final void rule__MemoryEntry__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:6273:1: ( rule__MemoryEntry__Group__1__Impl rule__MemoryEntry__Group__2 ) - // InternalApplicationConfiguration.g:6274:2: rule__MemoryEntry__Group__1__Impl rule__MemoryEntry__Group__2 + // InternalApplicationConfiguration.g:6533:1: ( rule__MemoryEntry__Group__1__Impl rule__MemoryEntry__Group__2 ) + // InternalApplicationConfiguration.g:6534:2: rule__MemoryEntry__Group__1__Impl rule__MemoryEntry__Group__2 { pushFollow(FOLLOW_9); rule__MemoryEntry__Group__1__Impl(); @@ -19857,17 +20662,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__MemoryEntry__Group__1__Impl" - // InternalApplicationConfiguration.g:6281:1: rule__MemoryEntry__Group__1__Impl : ( '=' ) ; + // InternalApplicationConfiguration.g:6541:1: rule__MemoryEntry__Group__1__Impl : ( '=' ) ; public final void rule__MemoryEntry__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:6285:1: ( ( '=' ) ) - // InternalApplicationConfiguration.g:6286:1: ( '=' ) + // InternalApplicationConfiguration.g:6545:1: ( ( '=' ) ) + // InternalApplicationConfiguration.g:6546:1: ( '=' ) { - // InternalApplicationConfiguration.g:6286:1: ( '=' ) - // InternalApplicationConfiguration.g:6287:2: '=' + // InternalApplicationConfiguration.g:6546:1: ( '=' ) + // InternalApplicationConfiguration.g:6547:2: '=' { before(grammarAccess.getMemoryEntryAccess().getEqualsSignKeyword_1()); match(input,28,FOLLOW_2); @@ -19894,14 +20699,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__MemoryEntry__Group__2" - // InternalApplicationConfiguration.g:6296:1: rule__MemoryEntry__Group__2 : rule__MemoryEntry__Group__2__Impl ; + // InternalApplicationConfiguration.g:6556:1: rule__MemoryEntry__Group__2 : rule__MemoryEntry__Group__2__Impl ; public final void rule__MemoryEntry__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:6300:1: ( rule__MemoryEntry__Group__2__Impl ) - // InternalApplicationConfiguration.g:6301:2: rule__MemoryEntry__Group__2__Impl + // InternalApplicationConfiguration.g:6560:1: ( rule__MemoryEntry__Group__2__Impl ) + // InternalApplicationConfiguration.g:6561:2: rule__MemoryEntry__Group__2__Impl { pushFollow(FOLLOW_2); rule__MemoryEntry__Group__2__Impl(); @@ -19927,21 +20732,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__MemoryEntry__Group__2__Impl" - // InternalApplicationConfiguration.g:6307:1: rule__MemoryEntry__Group__2__Impl : ( ( rule__MemoryEntry__MegabyteLimitAssignment_2 ) ) ; + // InternalApplicationConfiguration.g:6567:1: rule__MemoryEntry__Group__2__Impl : ( ( rule__MemoryEntry__MegabyteLimitAssignment_2 ) ) ; public final void rule__MemoryEntry__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:6311:1: ( ( ( rule__MemoryEntry__MegabyteLimitAssignment_2 ) ) ) - // InternalApplicationConfiguration.g:6312:1: ( ( rule__MemoryEntry__MegabyteLimitAssignment_2 ) ) + // InternalApplicationConfiguration.g:6571:1: ( ( ( rule__MemoryEntry__MegabyteLimitAssignment_2 ) ) ) + // InternalApplicationConfiguration.g:6572:1: ( ( rule__MemoryEntry__MegabyteLimitAssignment_2 ) ) { - // InternalApplicationConfiguration.g:6312:1: ( ( rule__MemoryEntry__MegabyteLimitAssignment_2 ) ) - // InternalApplicationConfiguration.g:6313:2: ( rule__MemoryEntry__MegabyteLimitAssignment_2 ) + // InternalApplicationConfiguration.g:6572:1: ( ( rule__MemoryEntry__MegabyteLimitAssignment_2 ) ) + // InternalApplicationConfiguration.g:6573:2: ( rule__MemoryEntry__MegabyteLimitAssignment_2 ) { before(grammarAccess.getMemoryEntryAccess().getMegabyteLimitAssignment_2()); - // InternalApplicationConfiguration.g:6314:2: ( rule__MemoryEntry__MegabyteLimitAssignment_2 ) - // InternalApplicationConfiguration.g:6314:3: rule__MemoryEntry__MegabyteLimitAssignment_2 + // InternalApplicationConfiguration.g:6574:2: ( rule__MemoryEntry__MegabyteLimitAssignment_2 ) + // InternalApplicationConfiguration.g:6574:3: rule__MemoryEntry__MegabyteLimitAssignment_2 { pushFollow(FOLLOW_2); rule__MemoryEntry__MegabyteLimitAssignment_2(); @@ -19974,14 +20779,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__CustomEntry__Group__0" - // InternalApplicationConfiguration.g:6323:1: rule__CustomEntry__Group__0 : rule__CustomEntry__Group__0__Impl rule__CustomEntry__Group__1 ; + // InternalApplicationConfiguration.g:6583:1: rule__CustomEntry__Group__0 : rule__CustomEntry__Group__0__Impl rule__CustomEntry__Group__1 ; public final void rule__CustomEntry__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:6327:1: ( rule__CustomEntry__Group__0__Impl rule__CustomEntry__Group__1 ) - // InternalApplicationConfiguration.g:6328:2: rule__CustomEntry__Group__0__Impl rule__CustomEntry__Group__1 + // InternalApplicationConfiguration.g:6587:1: ( rule__CustomEntry__Group__0__Impl rule__CustomEntry__Group__1 ) + // InternalApplicationConfiguration.g:6588:2: rule__CustomEntry__Group__0__Impl rule__CustomEntry__Group__1 { pushFollow(FOLLOW_14); rule__CustomEntry__Group__0__Impl(); @@ -20012,21 +20817,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__CustomEntry__Group__0__Impl" - // InternalApplicationConfiguration.g:6335:1: rule__CustomEntry__Group__0__Impl : ( ( rule__CustomEntry__KeyAssignment_0 ) ) ; + // InternalApplicationConfiguration.g:6595:1: rule__CustomEntry__Group__0__Impl : ( ( rule__CustomEntry__KeyAssignment_0 ) ) ; public final void rule__CustomEntry__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:6339:1: ( ( ( rule__CustomEntry__KeyAssignment_0 ) ) ) - // InternalApplicationConfiguration.g:6340:1: ( ( rule__CustomEntry__KeyAssignment_0 ) ) + // InternalApplicationConfiguration.g:6599:1: ( ( ( rule__CustomEntry__KeyAssignment_0 ) ) ) + // InternalApplicationConfiguration.g:6600:1: ( ( rule__CustomEntry__KeyAssignment_0 ) ) { - // InternalApplicationConfiguration.g:6340:1: ( ( rule__CustomEntry__KeyAssignment_0 ) ) - // InternalApplicationConfiguration.g:6341:2: ( rule__CustomEntry__KeyAssignment_0 ) + // InternalApplicationConfiguration.g:6600:1: ( ( rule__CustomEntry__KeyAssignment_0 ) ) + // InternalApplicationConfiguration.g:6601:2: ( rule__CustomEntry__KeyAssignment_0 ) { before(grammarAccess.getCustomEntryAccess().getKeyAssignment_0()); - // InternalApplicationConfiguration.g:6342:2: ( rule__CustomEntry__KeyAssignment_0 ) - // InternalApplicationConfiguration.g:6342:3: rule__CustomEntry__KeyAssignment_0 + // InternalApplicationConfiguration.g:6602:2: ( rule__CustomEntry__KeyAssignment_0 ) + // InternalApplicationConfiguration.g:6602:3: rule__CustomEntry__KeyAssignment_0 { pushFollow(FOLLOW_2); rule__CustomEntry__KeyAssignment_0(); @@ -20059,14 +20864,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__CustomEntry__Group__1" - // InternalApplicationConfiguration.g:6350:1: rule__CustomEntry__Group__1 : rule__CustomEntry__Group__1__Impl rule__CustomEntry__Group__2 ; + // InternalApplicationConfiguration.g:6610:1: rule__CustomEntry__Group__1 : rule__CustomEntry__Group__1__Impl rule__CustomEntry__Group__2 ; public final void rule__CustomEntry__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:6354:1: ( rule__CustomEntry__Group__1__Impl rule__CustomEntry__Group__2 ) - // InternalApplicationConfiguration.g:6355:2: rule__CustomEntry__Group__1__Impl rule__CustomEntry__Group__2 + // InternalApplicationConfiguration.g:6614:1: ( rule__CustomEntry__Group__1__Impl rule__CustomEntry__Group__2 ) + // InternalApplicationConfiguration.g:6615:2: rule__CustomEntry__Group__1__Impl rule__CustomEntry__Group__2 { pushFollow(FOLLOW_11); rule__CustomEntry__Group__1__Impl(); @@ -20097,17 +20902,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__CustomEntry__Group__1__Impl" - // InternalApplicationConfiguration.g:6362:1: rule__CustomEntry__Group__1__Impl : ( '=' ) ; + // InternalApplicationConfiguration.g:6622:1: rule__CustomEntry__Group__1__Impl : ( '=' ) ; public final void rule__CustomEntry__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:6366:1: ( ( '=' ) ) - // InternalApplicationConfiguration.g:6367:1: ( '=' ) + // InternalApplicationConfiguration.g:6626:1: ( ( '=' ) ) + // InternalApplicationConfiguration.g:6627:1: ( '=' ) { - // InternalApplicationConfiguration.g:6367:1: ( '=' ) - // InternalApplicationConfiguration.g:6368:2: '=' + // InternalApplicationConfiguration.g:6627:1: ( '=' ) + // InternalApplicationConfiguration.g:6628:2: '=' { before(grammarAccess.getCustomEntryAccess().getEqualsSignKeyword_1()); match(input,28,FOLLOW_2); @@ -20134,14 +20939,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__CustomEntry__Group__2" - // InternalApplicationConfiguration.g:6377:1: rule__CustomEntry__Group__2 : rule__CustomEntry__Group__2__Impl ; + // InternalApplicationConfiguration.g:6637:1: rule__CustomEntry__Group__2 : rule__CustomEntry__Group__2__Impl ; public final void rule__CustomEntry__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:6381:1: ( rule__CustomEntry__Group__2__Impl ) - // InternalApplicationConfiguration.g:6382:2: rule__CustomEntry__Group__2__Impl + // InternalApplicationConfiguration.g:6641:1: ( rule__CustomEntry__Group__2__Impl ) + // InternalApplicationConfiguration.g:6642:2: rule__CustomEntry__Group__2__Impl { pushFollow(FOLLOW_2); rule__CustomEntry__Group__2__Impl(); @@ -20167,21 +20972,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__CustomEntry__Group__2__Impl" - // InternalApplicationConfiguration.g:6388:1: rule__CustomEntry__Group__2__Impl : ( ( rule__CustomEntry__ValueAssignment_2 ) ) ; + // InternalApplicationConfiguration.g:6648:1: rule__CustomEntry__Group__2__Impl : ( ( rule__CustomEntry__ValueAssignment_2 ) ) ; public final void rule__CustomEntry__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:6392:1: ( ( ( rule__CustomEntry__ValueAssignment_2 ) ) ) - // InternalApplicationConfiguration.g:6393:1: ( ( rule__CustomEntry__ValueAssignment_2 ) ) + // InternalApplicationConfiguration.g:6652:1: ( ( ( rule__CustomEntry__ValueAssignment_2 ) ) ) + // InternalApplicationConfiguration.g:6653:1: ( ( rule__CustomEntry__ValueAssignment_2 ) ) { - // InternalApplicationConfiguration.g:6393:1: ( ( rule__CustomEntry__ValueAssignment_2 ) ) - // InternalApplicationConfiguration.g:6394:2: ( rule__CustomEntry__ValueAssignment_2 ) + // InternalApplicationConfiguration.g:6653:1: ( ( rule__CustomEntry__ValueAssignment_2 ) ) + // InternalApplicationConfiguration.g:6654:2: ( rule__CustomEntry__ValueAssignment_2 ) { before(grammarAccess.getCustomEntryAccess().getValueAssignment_2()); - // InternalApplicationConfiguration.g:6395:2: ( rule__CustomEntry__ValueAssignment_2 ) - // InternalApplicationConfiguration.g:6395:3: rule__CustomEntry__ValueAssignment_2 + // InternalApplicationConfiguration.g:6655:2: ( rule__CustomEntry__ValueAssignment_2 ) + // InternalApplicationConfiguration.g:6655:3: rule__CustomEntry__ValueAssignment_2 { pushFollow(FOLLOW_2); rule__CustomEntry__ValueAssignment_2(); @@ -20214,14 +21019,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ScopeSpecification__Group__0" - // InternalApplicationConfiguration.g:6404:1: rule__ScopeSpecification__Group__0 : rule__ScopeSpecification__Group__0__Impl rule__ScopeSpecification__Group__1 ; + // InternalApplicationConfiguration.g:6664:1: rule__ScopeSpecification__Group__0 : rule__ScopeSpecification__Group__0__Impl rule__ScopeSpecification__Group__1 ; public final void rule__ScopeSpecification__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:6408:1: ( rule__ScopeSpecification__Group__0__Impl rule__ScopeSpecification__Group__1 ) - // InternalApplicationConfiguration.g:6409:2: rule__ScopeSpecification__Group__0__Impl rule__ScopeSpecification__Group__1 + // InternalApplicationConfiguration.g:6668:1: ( rule__ScopeSpecification__Group__0__Impl rule__ScopeSpecification__Group__1 ) + // InternalApplicationConfiguration.g:6669:2: rule__ScopeSpecification__Group__0__Impl rule__ScopeSpecification__Group__1 { pushFollow(FOLLOW_19); rule__ScopeSpecification__Group__0__Impl(); @@ -20252,21 +21057,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ScopeSpecification__Group__0__Impl" - // InternalApplicationConfiguration.g:6416:1: rule__ScopeSpecification__Group__0__Impl : ( () ) ; + // InternalApplicationConfiguration.g:6676:1: rule__ScopeSpecification__Group__0__Impl : ( () ) ; public final void rule__ScopeSpecification__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:6420:1: ( ( () ) ) - // InternalApplicationConfiguration.g:6421:1: ( () ) + // InternalApplicationConfiguration.g:6680:1: ( ( () ) ) + // InternalApplicationConfiguration.g:6681:1: ( () ) { - // InternalApplicationConfiguration.g:6421:1: ( () ) - // InternalApplicationConfiguration.g:6422:2: () + // InternalApplicationConfiguration.g:6681:1: ( () ) + // InternalApplicationConfiguration.g:6682:2: () { before(grammarAccess.getScopeSpecificationAccess().getScopeSpecificationAction_0()); - // InternalApplicationConfiguration.g:6423:2: () - // InternalApplicationConfiguration.g:6423:3: + // InternalApplicationConfiguration.g:6683:2: () + // InternalApplicationConfiguration.g:6683:3: { } @@ -20289,16 +21094,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ScopeSpecification__Group__1" - // InternalApplicationConfiguration.g:6431:1: rule__ScopeSpecification__Group__1 : rule__ScopeSpecification__Group__1__Impl rule__ScopeSpecification__Group__2 ; + // InternalApplicationConfiguration.g:6691:1: rule__ScopeSpecification__Group__1 : rule__ScopeSpecification__Group__1__Impl rule__ScopeSpecification__Group__2 ; public final void rule__ScopeSpecification__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:6435:1: ( rule__ScopeSpecification__Group__1__Impl rule__ScopeSpecification__Group__2 ) - // InternalApplicationConfiguration.g:6436:2: rule__ScopeSpecification__Group__1__Impl rule__ScopeSpecification__Group__2 + // InternalApplicationConfiguration.g:6695:1: ( rule__ScopeSpecification__Group__1__Impl rule__ScopeSpecification__Group__2 ) + // InternalApplicationConfiguration.g:6696:2: rule__ScopeSpecification__Group__1__Impl rule__ScopeSpecification__Group__2 { - pushFollow(FOLLOW_30); + pushFollow(FOLLOW_31); rule__ScopeSpecification__Group__1__Impl(); state._fsp--; @@ -20327,17 +21132,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ScopeSpecification__Group__1__Impl" - // InternalApplicationConfiguration.g:6443:1: rule__ScopeSpecification__Group__1__Impl : ( '{' ) ; + // InternalApplicationConfiguration.g:6703:1: rule__ScopeSpecification__Group__1__Impl : ( '{' ) ; public final void rule__ScopeSpecification__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:6447:1: ( ( '{' ) ) - // InternalApplicationConfiguration.g:6448:1: ( '{' ) + // InternalApplicationConfiguration.g:6707:1: ( ( '{' ) ) + // InternalApplicationConfiguration.g:6708:1: ( '{' ) { - // InternalApplicationConfiguration.g:6448:1: ( '{' ) - // InternalApplicationConfiguration.g:6449:2: '{' + // InternalApplicationConfiguration.g:6708:1: ( '{' ) + // InternalApplicationConfiguration.g:6709:2: '{' { before(grammarAccess.getScopeSpecificationAccess().getLeftCurlyBracketKeyword_1()); match(input,29,FOLLOW_2); @@ -20364,16 +21169,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ScopeSpecification__Group__2" - // InternalApplicationConfiguration.g:6458:1: rule__ScopeSpecification__Group__2 : rule__ScopeSpecification__Group__2__Impl rule__ScopeSpecification__Group__3 ; + // InternalApplicationConfiguration.g:6718:1: rule__ScopeSpecification__Group__2 : rule__ScopeSpecification__Group__2__Impl rule__ScopeSpecification__Group__3 ; public final void rule__ScopeSpecification__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:6462:1: ( rule__ScopeSpecification__Group__2__Impl rule__ScopeSpecification__Group__3 ) - // InternalApplicationConfiguration.g:6463:2: rule__ScopeSpecification__Group__2__Impl rule__ScopeSpecification__Group__3 + // InternalApplicationConfiguration.g:6722:1: ( rule__ScopeSpecification__Group__2__Impl rule__ScopeSpecification__Group__3 ) + // InternalApplicationConfiguration.g:6723:2: rule__ScopeSpecification__Group__2__Impl rule__ScopeSpecification__Group__3 { - pushFollow(FOLLOW_30); + pushFollow(FOLLOW_31); rule__ScopeSpecification__Group__2__Impl(); state._fsp--; @@ -20402,29 +21207,29 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ScopeSpecification__Group__2__Impl" - // InternalApplicationConfiguration.g:6470:1: rule__ScopeSpecification__Group__2__Impl : ( ( rule__ScopeSpecification__Group_2__0 )? ) ; + // InternalApplicationConfiguration.g:6730:1: rule__ScopeSpecification__Group__2__Impl : ( ( rule__ScopeSpecification__Group_2__0 )? ) ; public final void rule__ScopeSpecification__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:6474:1: ( ( ( rule__ScopeSpecification__Group_2__0 )? ) ) - // InternalApplicationConfiguration.g:6475:1: ( ( rule__ScopeSpecification__Group_2__0 )? ) + // InternalApplicationConfiguration.g:6734:1: ( ( ( rule__ScopeSpecification__Group_2__0 )? ) ) + // InternalApplicationConfiguration.g:6735:1: ( ( rule__ScopeSpecification__Group_2__0 )? ) { - // InternalApplicationConfiguration.g:6475:1: ( ( rule__ScopeSpecification__Group_2__0 )? ) - // InternalApplicationConfiguration.g:6476:2: ( rule__ScopeSpecification__Group_2__0 )? + // InternalApplicationConfiguration.g:6735:1: ( ( rule__ScopeSpecification__Group_2__0 )? ) + // InternalApplicationConfiguration.g:6736:2: ( rule__ScopeSpecification__Group_2__0 )? { before(grammarAccess.getScopeSpecificationAccess().getGroup_2()); - // InternalApplicationConfiguration.g:6477:2: ( rule__ScopeSpecification__Group_2__0 )? - int alt54=2; - int LA54_0 = input.LA(1); + // InternalApplicationConfiguration.g:6737:2: ( rule__ScopeSpecification__Group_2__0 )? + int alt56=2; + int LA56_0 = input.LA(1); - if ( (LA54_0==44) ) { - alt54=1; + if ( (LA56_0==46) ) { + alt56=1; } - switch (alt54) { + switch (alt56) { case 1 : - // InternalApplicationConfiguration.g:6477:3: rule__ScopeSpecification__Group_2__0 + // InternalApplicationConfiguration.g:6737:3: rule__ScopeSpecification__Group_2__0 { pushFollow(FOLLOW_2); rule__ScopeSpecification__Group_2__0(); @@ -20460,14 +21265,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ScopeSpecification__Group__3" - // InternalApplicationConfiguration.g:6485:1: rule__ScopeSpecification__Group__3 : rule__ScopeSpecification__Group__3__Impl ; + // InternalApplicationConfiguration.g:6745:1: rule__ScopeSpecification__Group__3 : rule__ScopeSpecification__Group__3__Impl ; public final void rule__ScopeSpecification__Group__3() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:6489:1: ( rule__ScopeSpecification__Group__3__Impl ) - // InternalApplicationConfiguration.g:6490:2: rule__ScopeSpecification__Group__3__Impl + // InternalApplicationConfiguration.g:6749:1: ( rule__ScopeSpecification__Group__3__Impl ) + // InternalApplicationConfiguration.g:6750:2: rule__ScopeSpecification__Group__3__Impl { pushFollow(FOLLOW_2); rule__ScopeSpecification__Group__3__Impl(); @@ -20493,17 +21298,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ScopeSpecification__Group__3__Impl" - // InternalApplicationConfiguration.g:6496:1: rule__ScopeSpecification__Group__3__Impl : ( '}' ) ; + // InternalApplicationConfiguration.g:6756:1: rule__ScopeSpecification__Group__3__Impl : ( '}' ) ; public final void rule__ScopeSpecification__Group__3__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:6500:1: ( ( '}' ) ) - // InternalApplicationConfiguration.g:6501:1: ( '}' ) + // InternalApplicationConfiguration.g:6760:1: ( ( '}' ) ) + // InternalApplicationConfiguration.g:6761:1: ( '}' ) { - // InternalApplicationConfiguration.g:6501:1: ( '}' ) - // InternalApplicationConfiguration.g:6502:2: '}' + // InternalApplicationConfiguration.g:6761:1: ( '}' ) + // InternalApplicationConfiguration.g:6762:2: '}' { before(grammarAccess.getScopeSpecificationAccess().getRightCurlyBracketKeyword_3()); match(input,30,FOLLOW_2); @@ -20530,16 +21335,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ScopeSpecification__Group_2__0" - // InternalApplicationConfiguration.g:6512:1: rule__ScopeSpecification__Group_2__0 : rule__ScopeSpecification__Group_2__0__Impl rule__ScopeSpecification__Group_2__1 ; + // InternalApplicationConfiguration.g:6772:1: rule__ScopeSpecification__Group_2__0 : rule__ScopeSpecification__Group_2__0__Impl rule__ScopeSpecification__Group_2__1 ; public final void rule__ScopeSpecification__Group_2__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:6516:1: ( rule__ScopeSpecification__Group_2__0__Impl rule__ScopeSpecification__Group_2__1 ) - // InternalApplicationConfiguration.g:6517:2: rule__ScopeSpecification__Group_2__0__Impl rule__ScopeSpecification__Group_2__1 + // InternalApplicationConfiguration.g:6776:1: ( rule__ScopeSpecification__Group_2__0__Impl rule__ScopeSpecification__Group_2__1 ) + // InternalApplicationConfiguration.g:6777:2: rule__ScopeSpecification__Group_2__0__Impl rule__ScopeSpecification__Group_2__1 { - pushFollow(FOLLOW_27); + pushFollow(FOLLOW_28); rule__ScopeSpecification__Group_2__0__Impl(); state._fsp--; @@ -20568,21 +21373,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ScopeSpecification__Group_2__0__Impl" - // InternalApplicationConfiguration.g:6524:1: rule__ScopeSpecification__Group_2__0__Impl : ( ( rule__ScopeSpecification__ScopesAssignment_2_0 ) ) ; + // InternalApplicationConfiguration.g:6784:1: rule__ScopeSpecification__Group_2__0__Impl : ( ( rule__ScopeSpecification__ScopesAssignment_2_0 ) ) ; public final void rule__ScopeSpecification__Group_2__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:6528:1: ( ( ( rule__ScopeSpecification__ScopesAssignment_2_0 ) ) ) - // InternalApplicationConfiguration.g:6529:1: ( ( rule__ScopeSpecification__ScopesAssignment_2_0 ) ) + // InternalApplicationConfiguration.g:6788:1: ( ( ( rule__ScopeSpecification__ScopesAssignment_2_0 ) ) ) + // InternalApplicationConfiguration.g:6789:1: ( ( rule__ScopeSpecification__ScopesAssignment_2_0 ) ) { - // InternalApplicationConfiguration.g:6529:1: ( ( rule__ScopeSpecification__ScopesAssignment_2_0 ) ) - // InternalApplicationConfiguration.g:6530:2: ( rule__ScopeSpecification__ScopesAssignment_2_0 ) + // InternalApplicationConfiguration.g:6789:1: ( ( rule__ScopeSpecification__ScopesAssignment_2_0 ) ) + // InternalApplicationConfiguration.g:6790:2: ( rule__ScopeSpecification__ScopesAssignment_2_0 ) { before(grammarAccess.getScopeSpecificationAccess().getScopesAssignment_2_0()); - // InternalApplicationConfiguration.g:6531:2: ( rule__ScopeSpecification__ScopesAssignment_2_0 ) - // InternalApplicationConfiguration.g:6531:3: rule__ScopeSpecification__ScopesAssignment_2_0 + // InternalApplicationConfiguration.g:6791:2: ( rule__ScopeSpecification__ScopesAssignment_2_0 ) + // InternalApplicationConfiguration.g:6791:3: rule__ScopeSpecification__ScopesAssignment_2_0 { pushFollow(FOLLOW_2); rule__ScopeSpecification__ScopesAssignment_2_0(); @@ -20615,14 +21420,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ScopeSpecification__Group_2__1" - // InternalApplicationConfiguration.g:6539:1: rule__ScopeSpecification__Group_2__1 : rule__ScopeSpecification__Group_2__1__Impl ; + // InternalApplicationConfiguration.g:6799:1: rule__ScopeSpecification__Group_2__1 : rule__ScopeSpecification__Group_2__1__Impl ; public final void rule__ScopeSpecification__Group_2__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:6543:1: ( rule__ScopeSpecification__Group_2__1__Impl ) - // InternalApplicationConfiguration.g:6544:2: rule__ScopeSpecification__Group_2__1__Impl + // InternalApplicationConfiguration.g:6803:1: ( rule__ScopeSpecification__Group_2__1__Impl ) + // InternalApplicationConfiguration.g:6804:2: rule__ScopeSpecification__Group_2__1__Impl { pushFollow(FOLLOW_2); rule__ScopeSpecification__Group_2__1__Impl(); @@ -20648,33 +21453,33 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ScopeSpecification__Group_2__1__Impl" - // InternalApplicationConfiguration.g:6550:1: rule__ScopeSpecification__Group_2__1__Impl : ( ( rule__ScopeSpecification__Group_2_1__0 )* ) ; + // InternalApplicationConfiguration.g:6810:1: rule__ScopeSpecification__Group_2__1__Impl : ( ( rule__ScopeSpecification__Group_2_1__0 )* ) ; public final void rule__ScopeSpecification__Group_2__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:6554:1: ( ( ( rule__ScopeSpecification__Group_2_1__0 )* ) ) - // InternalApplicationConfiguration.g:6555:1: ( ( rule__ScopeSpecification__Group_2_1__0 )* ) + // InternalApplicationConfiguration.g:6814:1: ( ( ( rule__ScopeSpecification__Group_2_1__0 )* ) ) + // InternalApplicationConfiguration.g:6815:1: ( ( rule__ScopeSpecification__Group_2_1__0 )* ) { - // InternalApplicationConfiguration.g:6555:1: ( ( rule__ScopeSpecification__Group_2_1__0 )* ) - // InternalApplicationConfiguration.g:6556:2: ( rule__ScopeSpecification__Group_2_1__0 )* + // InternalApplicationConfiguration.g:6815:1: ( ( rule__ScopeSpecification__Group_2_1__0 )* ) + // InternalApplicationConfiguration.g:6816:2: ( rule__ScopeSpecification__Group_2_1__0 )* { before(grammarAccess.getScopeSpecificationAccess().getGroup_2_1()); - // InternalApplicationConfiguration.g:6557:2: ( rule__ScopeSpecification__Group_2_1__0 )* - loop55: + // InternalApplicationConfiguration.g:6817:2: ( rule__ScopeSpecification__Group_2_1__0 )* + loop57: do { - int alt55=2; - int LA55_0 = input.LA(1); + int alt57=2; + int LA57_0 = input.LA(1); - if ( (LA55_0==31) ) { - alt55=1; + if ( (LA57_0==31) ) { + alt57=1; } - switch (alt55) { + switch (alt57) { case 1 : - // InternalApplicationConfiguration.g:6557:3: rule__ScopeSpecification__Group_2_1__0 + // InternalApplicationConfiguration.g:6817:3: rule__ScopeSpecification__Group_2_1__0 { pushFollow(FOLLOW_17); rule__ScopeSpecification__Group_2_1__0(); @@ -20686,7 +21491,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont break; default : - break loop55; + break loop57; } } while (true); @@ -20713,16 +21518,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ScopeSpecification__Group_2_1__0" - // InternalApplicationConfiguration.g:6566:1: rule__ScopeSpecification__Group_2_1__0 : rule__ScopeSpecification__Group_2_1__0__Impl rule__ScopeSpecification__Group_2_1__1 ; + // InternalApplicationConfiguration.g:6826:1: rule__ScopeSpecification__Group_2_1__0 : rule__ScopeSpecification__Group_2_1__0__Impl rule__ScopeSpecification__Group_2_1__1 ; public final void rule__ScopeSpecification__Group_2_1__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:6570:1: ( rule__ScopeSpecification__Group_2_1__0__Impl rule__ScopeSpecification__Group_2_1__1 ) - // InternalApplicationConfiguration.g:6571:2: rule__ScopeSpecification__Group_2_1__0__Impl rule__ScopeSpecification__Group_2_1__1 + // InternalApplicationConfiguration.g:6830:1: ( rule__ScopeSpecification__Group_2_1__0__Impl rule__ScopeSpecification__Group_2_1__1 ) + // InternalApplicationConfiguration.g:6831:2: rule__ScopeSpecification__Group_2_1__0__Impl rule__ScopeSpecification__Group_2_1__1 { - pushFollow(FOLLOW_31); + pushFollow(FOLLOW_32); rule__ScopeSpecification__Group_2_1__0__Impl(); state._fsp--; @@ -20751,17 +21556,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ScopeSpecification__Group_2_1__0__Impl" - // InternalApplicationConfiguration.g:6578:1: rule__ScopeSpecification__Group_2_1__0__Impl : ( ',' ) ; + // InternalApplicationConfiguration.g:6838:1: rule__ScopeSpecification__Group_2_1__0__Impl : ( ',' ) ; public final void rule__ScopeSpecification__Group_2_1__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:6582:1: ( ( ',' ) ) - // InternalApplicationConfiguration.g:6583:1: ( ',' ) + // InternalApplicationConfiguration.g:6842:1: ( ( ',' ) ) + // InternalApplicationConfiguration.g:6843:1: ( ',' ) { - // InternalApplicationConfiguration.g:6583:1: ( ',' ) - // InternalApplicationConfiguration.g:6584:2: ',' + // InternalApplicationConfiguration.g:6843:1: ( ',' ) + // InternalApplicationConfiguration.g:6844:2: ',' { before(grammarAccess.getScopeSpecificationAccess().getCommaKeyword_2_1_0()); match(input,31,FOLLOW_2); @@ -20788,14 +21593,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ScopeSpecification__Group_2_1__1" - // InternalApplicationConfiguration.g:6593:1: rule__ScopeSpecification__Group_2_1__1 : rule__ScopeSpecification__Group_2_1__1__Impl ; + // InternalApplicationConfiguration.g:6853:1: rule__ScopeSpecification__Group_2_1__1 : rule__ScopeSpecification__Group_2_1__1__Impl ; public final void rule__ScopeSpecification__Group_2_1__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:6597:1: ( rule__ScopeSpecification__Group_2_1__1__Impl ) - // InternalApplicationConfiguration.g:6598:2: rule__ScopeSpecification__Group_2_1__1__Impl + // InternalApplicationConfiguration.g:6857:1: ( rule__ScopeSpecification__Group_2_1__1__Impl ) + // InternalApplicationConfiguration.g:6858:2: rule__ScopeSpecification__Group_2_1__1__Impl { pushFollow(FOLLOW_2); rule__ScopeSpecification__Group_2_1__1__Impl(); @@ -20821,21 +21626,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ScopeSpecification__Group_2_1__1__Impl" - // InternalApplicationConfiguration.g:6604:1: rule__ScopeSpecification__Group_2_1__1__Impl : ( ( rule__ScopeSpecification__ScopesAssignment_2_1_1 ) ) ; + // InternalApplicationConfiguration.g:6864:1: rule__ScopeSpecification__Group_2_1__1__Impl : ( ( rule__ScopeSpecification__ScopesAssignment_2_1_1 ) ) ; public final void rule__ScopeSpecification__Group_2_1__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:6608:1: ( ( ( rule__ScopeSpecification__ScopesAssignment_2_1_1 ) ) ) - // InternalApplicationConfiguration.g:6609:1: ( ( rule__ScopeSpecification__ScopesAssignment_2_1_1 ) ) + // InternalApplicationConfiguration.g:6868:1: ( ( ( rule__ScopeSpecification__ScopesAssignment_2_1_1 ) ) ) + // InternalApplicationConfiguration.g:6869:1: ( ( rule__ScopeSpecification__ScopesAssignment_2_1_1 ) ) { - // InternalApplicationConfiguration.g:6609:1: ( ( rule__ScopeSpecification__ScopesAssignment_2_1_1 ) ) - // InternalApplicationConfiguration.g:6610:2: ( rule__ScopeSpecification__ScopesAssignment_2_1_1 ) + // InternalApplicationConfiguration.g:6869:1: ( ( rule__ScopeSpecification__ScopesAssignment_2_1_1 ) ) + // InternalApplicationConfiguration.g:6870:2: ( rule__ScopeSpecification__ScopesAssignment_2_1_1 ) { before(grammarAccess.getScopeSpecificationAccess().getScopesAssignment_2_1_1()); - // InternalApplicationConfiguration.g:6611:2: ( rule__ScopeSpecification__ScopesAssignment_2_1_1 ) - // InternalApplicationConfiguration.g:6611:3: rule__ScopeSpecification__ScopesAssignment_2_1_1 + // InternalApplicationConfiguration.g:6871:2: ( rule__ScopeSpecification__ScopesAssignment_2_1_1 ) + // InternalApplicationConfiguration.g:6871:3: rule__ScopeSpecification__ScopesAssignment_2_1_1 { pushFollow(FOLLOW_2); rule__ScopeSpecification__ScopesAssignment_2_1_1(); @@ -20868,16 +21673,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ClassTypeScope__Group__0" - // InternalApplicationConfiguration.g:6620:1: rule__ClassTypeScope__Group__0 : rule__ClassTypeScope__Group__0__Impl rule__ClassTypeScope__Group__1 ; + // InternalApplicationConfiguration.g:6880:1: rule__ClassTypeScope__Group__0 : rule__ClassTypeScope__Group__0__Impl rule__ClassTypeScope__Group__1 ; public final void rule__ClassTypeScope__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:6624:1: ( rule__ClassTypeScope__Group__0__Impl rule__ClassTypeScope__Group__1 ) - // InternalApplicationConfiguration.g:6625:2: rule__ClassTypeScope__Group__0__Impl rule__ClassTypeScope__Group__1 + // InternalApplicationConfiguration.g:6884:1: ( rule__ClassTypeScope__Group__0__Impl rule__ClassTypeScope__Group__1 ) + // InternalApplicationConfiguration.g:6885:2: rule__ClassTypeScope__Group__0__Impl rule__ClassTypeScope__Group__1 { - pushFollow(FOLLOW_32); + pushFollow(FOLLOW_33); rule__ClassTypeScope__Group__0__Impl(); state._fsp--; @@ -20906,20 +21711,20 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ClassTypeScope__Group__0__Impl" - // InternalApplicationConfiguration.g:6632:1: rule__ClassTypeScope__Group__0__Impl : ( '#' ) ; + // InternalApplicationConfiguration.g:6892:1: rule__ClassTypeScope__Group__0__Impl : ( '#' ) ; public final void rule__ClassTypeScope__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:6636:1: ( ( '#' ) ) - // InternalApplicationConfiguration.g:6637:1: ( '#' ) + // InternalApplicationConfiguration.g:6896:1: ( ( '#' ) ) + // InternalApplicationConfiguration.g:6897:1: ( '#' ) { - // InternalApplicationConfiguration.g:6637:1: ( '#' ) - // InternalApplicationConfiguration.g:6638:2: '#' + // InternalApplicationConfiguration.g:6897:1: ( '#' ) + // InternalApplicationConfiguration.g:6898:2: '#' { before(grammarAccess.getClassTypeScopeAccess().getNumberSignKeyword_0()); - match(input,44,FOLLOW_2); + match(input,46,FOLLOW_2); after(grammarAccess.getClassTypeScopeAccess().getNumberSignKeyword_0()); } @@ -20943,16 +21748,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ClassTypeScope__Group__1" - // InternalApplicationConfiguration.g:6647:1: rule__ClassTypeScope__Group__1 : rule__ClassTypeScope__Group__1__Impl rule__ClassTypeScope__Group__2 ; + // InternalApplicationConfiguration.g:6907:1: rule__ClassTypeScope__Group__1 : rule__ClassTypeScope__Group__1__Impl rule__ClassTypeScope__Group__2 ; public final void rule__ClassTypeScope__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:6651:1: ( rule__ClassTypeScope__Group__1__Impl rule__ClassTypeScope__Group__2 ) - // InternalApplicationConfiguration.g:6652:2: rule__ClassTypeScope__Group__1__Impl rule__ClassTypeScope__Group__2 + // InternalApplicationConfiguration.g:6911:1: ( rule__ClassTypeScope__Group__1__Impl rule__ClassTypeScope__Group__2 ) + // InternalApplicationConfiguration.g:6912:2: rule__ClassTypeScope__Group__1__Impl rule__ClassTypeScope__Group__2 { - pushFollow(FOLLOW_33); + pushFollow(FOLLOW_34); rule__ClassTypeScope__Group__1__Impl(); state._fsp--; @@ -20981,21 +21786,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ClassTypeScope__Group__1__Impl" - // InternalApplicationConfiguration.g:6659:1: rule__ClassTypeScope__Group__1__Impl : ( ( rule__ClassTypeScope__TypeAssignment_1 ) ) ; + // InternalApplicationConfiguration.g:6919:1: rule__ClassTypeScope__Group__1__Impl : ( ( rule__ClassTypeScope__TypeAssignment_1 ) ) ; public final void rule__ClassTypeScope__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:6663:1: ( ( ( rule__ClassTypeScope__TypeAssignment_1 ) ) ) - // InternalApplicationConfiguration.g:6664:1: ( ( rule__ClassTypeScope__TypeAssignment_1 ) ) + // InternalApplicationConfiguration.g:6923:1: ( ( ( rule__ClassTypeScope__TypeAssignment_1 ) ) ) + // InternalApplicationConfiguration.g:6924:1: ( ( rule__ClassTypeScope__TypeAssignment_1 ) ) { - // InternalApplicationConfiguration.g:6664:1: ( ( rule__ClassTypeScope__TypeAssignment_1 ) ) - // InternalApplicationConfiguration.g:6665:2: ( rule__ClassTypeScope__TypeAssignment_1 ) + // InternalApplicationConfiguration.g:6924:1: ( ( rule__ClassTypeScope__TypeAssignment_1 ) ) + // InternalApplicationConfiguration.g:6925:2: ( rule__ClassTypeScope__TypeAssignment_1 ) { before(grammarAccess.getClassTypeScopeAccess().getTypeAssignment_1()); - // InternalApplicationConfiguration.g:6666:2: ( rule__ClassTypeScope__TypeAssignment_1 ) - // InternalApplicationConfiguration.g:6666:3: rule__ClassTypeScope__TypeAssignment_1 + // InternalApplicationConfiguration.g:6926:2: ( rule__ClassTypeScope__TypeAssignment_1 ) + // InternalApplicationConfiguration.g:6926:3: rule__ClassTypeScope__TypeAssignment_1 { pushFollow(FOLLOW_2); rule__ClassTypeScope__TypeAssignment_1(); @@ -21028,16 +21833,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ClassTypeScope__Group__2" - // InternalApplicationConfiguration.g:6674:1: rule__ClassTypeScope__Group__2 : rule__ClassTypeScope__Group__2__Impl rule__ClassTypeScope__Group__3 ; + // InternalApplicationConfiguration.g:6934:1: rule__ClassTypeScope__Group__2 : rule__ClassTypeScope__Group__2__Impl rule__ClassTypeScope__Group__3 ; public final void rule__ClassTypeScope__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:6678:1: ( rule__ClassTypeScope__Group__2__Impl rule__ClassTypeScope__Group__3 ) - // InternalApplicationConfiguration.g:6679:2: rule__ClassTypeScope__Group__2__Impl rule__ClassTypeScope__Group__3 + // InternalApplicationConfiguration.g:6938:1: ( rule__ClassTypeScope__Group__2__Impl rule__ClassTypeScope__Group__3 ) + // InternalApplicationConfiguration.g:6939:2: rule__ClassTypeScope__Group__2__Impl rule__ClassTypeScope__Group__3 { - pushFollow(FOLLOW_34); + pushFollow(FOLLOW_35); rule__ClassTypeScope__Group__2__Impl(); state._fsp--; @@ -21066,21 +21871,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ClassTypeScope__Group__2__Impl" - // InternalApplicationConfiguration.g:6686:1: rule__ClassTypeScope__Group__2__Impl : ( ( rule__ClassTypeScope__Alternatives_2 ) ) ; + // InternalApplicationConfiguration.g:6946:1: rule__ClassTypeScope__Group__2__Impl : ( ( rule__ClassTypeScope__Alternatives_2 ) ) ; public final void rule__ClassTypeScope__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:6690:1: ( ( ( rule__ClassTypeScope__Alternatives_2 ) ) ) - // InternalApplicationConfiguration.g:6691:1: ( ( rule__ClassTypeScope__Alternatives_2 ) ) + // InternalApplicationConfiguration.g:6950:1: ( ( ( rule__ClassTypeScope__Alternatives_2 ) ) ) + // InternalApplicationConfiguration.g:6951:1: ( ( rule__ClassTypeScope__Alternatives_2 ) ) { - // InternalApplicationConfiguration.g:6691:1: ( ( rule__ClassTypeScope__Alternatives_2 ) ) - // InternalApplicationConfiguration.g:6692:2: ( rule__ClassTypeScope__Alternatives_2 ) + // InternalApplicationConfiguration.g:6951:1: ( ( rule__ClassTypeScope__Alternatives_2 ) ) + // InternalApplicationConfiguration.g:6952:2: ( rule__ClassTypeScope__Alternatives_2 ) { before(grammarAccess.getClassTypeScopeAccess().getAlternatives_2()); - // InternalApplicationConfiguration.g:6693:2: ( rule__ClassTypeScope__Alternatives_2 ) - // InternalApplicationConfiguration.g:6693:3: rule__ClassTypeScope__Alternatives_2 + // InternalApplicationConfiguration.g:6953:2: ( rule__ClassTypeScope__Alternatives_2 ) + // InternalApplicationConfiguration.g:6953:3: rule__ClassTypeScope__Alternatives_2 { pushFollow(FOLLOW_2); rule__ClassTypeScope__Alternatives_2(); @@ -21113,14 +21918,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ClassTypeScope__Group__3" - // InternalApplicationConfiguration.g:6701:1: rule__ClassTypeScope__Group__3 : rule__ClassTypeScope__Group__3__Impl ; + // InternalApplicationConfiguration.g:6961:1: rule__ClassTypeScope__Group__3 : rule__ClassTypeScope__Group__3__Impl ; public final void rule__ClassTypeScope__Group__3() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:6705:1: ( rule__ClassTypeScope__Group__3__Impl ) - // InternalApplicationConfiguration.g:6706:2: rule__ClassTypeScope__Group__3__Impl + // InternalApplicationConfiguration.g:6965:1: ( rule__ClassTypeScope__Group__3__Impl ) + // InternalApplicationConfiguration.g:6966:2: rule__ClassTypeScope__Group__3__Impl { pushFollow(FOLLOW_2); rule__ClassTypeScope__Group__3__Impl(); @@ -21146,21 +21951,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ClassTypeScope__Group__3__Impl" - // InternalApplicationConfiguration.g:6712:1: rule__ClassTypeScope__Group__3__Impl : ( ( rule__ClassTypeScope__Alternatives_3 ) ) ; + // InternalApplicationConfiguration.g:6972:1: rule__ClassTypeScope__Group__3__Impl : ( ( rule__ClassTypeScope__Alternatives_3 ) ) ; public final void rule__ClassTypeScope__Group__3__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:6716:1: ( ( ( rule__ClassTypeScope__Alternatives_3 ) ) ) - // InternalApplicationConfiguration.g:6717:1: ( ( rule__ClassTypeScope__Alternatives_3 ) ) + // InternalApplicationConfiguration.g:6976:1: ( ( ( rule__ClassTypeScope__Alternatives_3 ) ) ) + // InternalApplicationConfiguration.g:6977:1: ( ( rule__ClassTypeScope__Alternatives_3 ) ) { - // InternalApplicationConfiguration.g:6717:1: ( ( rule__ClassTypeScope__Alternatives_3 ) ) - // InternalApplicationConfiguration.g:6718:2: ( rule__ClassTypeScope__Alternatives_3 ) + // InternalApplicationConfiguration.g:6977:1: ( ( rule__ClassTypeScope__Alternatives_3 ) ) + // InternalApplicationConfiguration.g:6978:2: ( rule__ClassTypeScope__Alternatives_3 ) { before(grammarAccess.getClassTypeScopeAccess().getAlternatives_3()); - // InternalApplicationConfiguration.g:6719:2: ( rule__ClassTypeScope__Alternatives_3 ) - // InternalApplicationConfiguration.g:6719:3: rule__ClassTypeScope__Alternatives_3 + // InternalApplicationConfiguration.g:6979:2: ( rule__ClassTypeScope__Alternatives_3 ) + // InternalApplicationConfiguration.g:6979:3: rule__ClassTypeScope__Alternatives_3 { pushFollow(FOLLOW_2); rule__ClassTypeScope__Alternatives_3(); @@ -21193,16 +21998,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ObjectTypeScope__Group__0" - // InternalApplicationConfiguration.g:6728:1: rule__ObjectTypeScope__Group__0 : rule__ObjectTypeScope__Group__0__Impl rule__ObjectTypeScope__Group__1 ; + // InternalApplicationConfiguration.g:6988:1: rule__ObjectTypeScope__Group__0 : rule__ObjectTypeScope__Group__0__Impl rule__ObjectTypeScope__Group__1 ; public final void rule__ObjectTypeScope__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:6732:1: ( rule__ObjectTypeScope__Group__0__Impl rule__ObjectTypeScope__Group__1 ) - // InternalApplicationConfiguration.g:6733:2: rule__ObjectTypeScope__Group__0__Impl rule__ObjectTypeScope__Group__1 + // InternalApplicationConfiguration.g:6992:1: ( rule__ObjectTypeScope__Group__0__Impl rule__ObjectTypeScope__Group__1 ) + // InternalApplicationConfiguration.g:6993:2: rule__ObjectTypeScope__Group__0__Impl rule__ObjectTypeScope__Group__1 { - pushFollow(FOLLOW_35); + pushFollow(FOLLOW_36); rule__ObjectTypeScope__Group__0__Impl(); state._fsp--; @@ -21231,20 +22036,20 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ObjectTypeScope__Group__0__Impl" - // InternalApplicationConfiguration.g:6740:1: rule__ObjectTypeScope__Group__0__Impl : ( '#' ) ; + // InternalApplicationConfiguration.g:7000:1: rule__ObjectTypeScope__Group__0__Impl : ( '#' ) ; public final void rule__ObjectTypeScope__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:6744:1: ( ( '#' ) ) - // InternalApplicationConfiguration.g:6745:1: ( '#' ) + // InternalApplicationConfiguration.g:7004:1: ( ( '#' ) ) + // InternalApplicationConfiguration.g:7005:1: ( '#' ) { - // InternalApplicationConfiguration.g:6745:1: ( '#' ) - // InternalApplicationConfiguration.g:6746:2: '#' + // InternalApplicationConfiguration.g:7005:1: ( '#' ) + // InternalApplicationConfiguration.g:7006:2: '#' { before(grammarAccess.getObjectTypeScopeAccess().getNumberSignKeyword_0()); - match(input,44,FOLLOW_2); + match(input,46,FOLLOW_2); after(grammarAccess.getObjectTypeScopeAccess().getNumberSignKeyword_0()); } @@ -21268,16 +22073,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ObjectTypeScope__Group__1" - // InternalApplicationConfiguration.g:6755:1: rule__ObjectTypeScope__Group__1 : rule__ObjectTypeScope__Group__1__Impl rule__ObjectTypeScope__Group__2 ; + // InternalApplicationConfiguration.g:7015:1: rule__ObjectTypeScope__Group__1 : rule__ObjectTypeScope__Group__1__Impl rule__ObjectTypeScope__Group__2 ; public final void rule__ObjectTypeScope__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:6759:1: ( rule__ObjectTypeScope__Group__1__Impl rule__ObjectTypeScope__Group__2 ) - // InternalApplicationConfiguration.g:6760:2: rule__ObjectTypeScope__Group__1__Impl rule__ObjectTypeScope__Group__2 + // InternalApplicationConfiguration.g:7019:1: ( rule__ObjectTypeScope__Group__1__Impl rule__ObjectTypeScope__Group__2 ) + // InternalApplicationConfiguration.g:7020:2: rule__ObjectTypeScope__Group__1__Impl rule__ObjectTypeScope__Group__2 { - pushFollow(FOLLOW_33); + pushFollow(FOLLOW_34); rule__ObjectTypeScope__Group__1__Impl(); state._fsp--; @@ -21306,21 +22111,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ObjectTypeScope__Group__1__Impl" - // InternalApplicationConfiguration.g:6767:1: rule__ObjectTypeScope__Group__1__Impl : ( ( rule__ObjectTypeScope__TypeAssignment_1 ) ) ; + // InternalApplicationConfiguration.g:7027:1: rule__ObjectTypeScope__Group__1__Impl : ( ( rule__ObjectTypeScope__TypeAssignment_1 ) ) ; public final void rule__ObjectTypeScope__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:6771:1: ( ( ( rule__ObjectTypeScope__TypeAssignment_1 ) ) ) - // InternalApplicationConfiguration.g:6772:1: ( ( rule__ObjectTypeScope__TypeAssignment_1 ) ) + // InternalApplicationConfiguration.g:7031:1: ( ( ( rule__ObjectTypeScope__TypeAssignment_1 ) ) ) + // InternalApplicationConfiguration.g:7032:1: ( ( rule__ObjectTypeScope__TypeAssignment_1 ) ) { - // InternalApplicationConfiguration.g:6772:1: ( ( rule__ObjectTypeScope__TypeAssignment_1 ) ) - // InternalApplicationConfiguration.g:6773:2: ( rule__ObjectTypeScope__TypeAssignment_1 ) + // InternalApplicationConfiguration.g:7032:1: ( ( rule__ObjectTypeScope__TypeAssignment_1 ) ) + // InternalApplicationConfiguration.g:7033:2: ( rule__ObjectTypeScope__TypeAssignment_1 ) { before(grammarAccess.getObjectTypeScopeAccess().getTypeAssignment_1()); - // InternalApplicationConfiguration.g:6774:2: ( rule__ObjectTypeScope__TypeAssignment_1 ) - // InternalApplicationConfiguration.g:6774:3: rule__ObjectTypeScope__TypeAssignment_1 + // InternalApplicationConfiguration.g:7034:2: ( rule__ObjectTypeScope__TypeAssignment_1 ) + // InternalApplicationConfiguration.g:7034:3: rule__ObjectTypeScope__TypeAssignment_1 { pushFollow(FOLLOW_2); rule__ObjectTypeScope__TypeAssignment_1(); @@ -21353,16 +22158,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ObjectTypeScope__Group__2" - // InternalApplicationConfiguration.g:6782:1: rule__ObjectTypeScope__Group__2 : rule__ObjectTypeScope__Group__2__Impl rule__ObjectTypeScope__Group__3 ; + // InternalApplicationConfiguration.g:7042:1: rule__ObjectTypeScope__Group__2 : rule__ObjectTypeScope__Group__2__Impl rule__ObjectTypeScope__Group__3 ; public final void rule__ObjectTypeScope__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:6786:1: ( rule__ObjectTypeScope__Group__2__Impl rule__ObjectTypeScope__Group__3 ) - // InternalApplicationConfiguration.g:6787:2: rule__ObjectTypeScope__Group__2__Impl rule__ObjectTypeScope__Group__3 + // InternalApplicationConfiguration.g:7046:1: ( rule__ObjectTypeScope__Group__2__Impl rule__ObjectTypeScope__Group__3 ) + // InternalApplicationConfiguration.g:7047:2: rule__ObjectTypeScope__Group__2__Impl rule__ObjectTypeScope__Group__3 { - pushFollow(FOLLOW_34); + pushFollow(FOLLOW_35); rule__ObjectTypeScope__Group__2__Impl(); state._fsp--; @@ -21391,21 +22196,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ObjectTypeScope__Group__2__Impl" - // InternalApplicationConfiguration.g:6794:1: rule__ObjectTypeScope__Group__2__Impl : ( ( rule__ObjectTypeScope__Alternatives_2 ) ) ; + // InternalApplicationConfiguration.g:7054:1: rule__ObjectTypeScope__Group__2__Impl : ( ( rule__ObjectTypeScope__Alternatives_2 ) ) ; public final void rule__ObjectTypeScope__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:6798:1: ( ( ( rule__ObjectTypeScope__Alternatives_2 ) ) ) - // InternalApplicationConfiguration.g:6799:1: ( ( rule__ObjectTypeScope__Alternatives_2 ) ) + // InternalApplicationConfiguration.g:7058:1: ( ( ( rule__ObjectTypeScope__Alternatives_2 ) ) ) + // InternalApplicationConfiguration.g:7059:1: ( ( rule__ObjectTypeScope__Alternatives_2 ) ) { - // InternalApplicationConfiguration.g:6799:1: ( ( rule__ObjectTypeScope__Alternatives_2 ) ) - // InternalApplicationConfiguration.g:6800:2: ( rule__ObjectTypeScope__Alternatives_2 ) + // InternalApplicationConfiguration.g:7059:1: ( ( rule__ObjectTypeScope__Alternatives_2 ) ) + // InternalApplicationConfiguration.g:7060:2: ( rule__ObjectTypeScope__Alternatives_2 ) { before(grammarAccess.getObjectTypeScopeAccess().getAlternatives_2()); - // InternalApplicationConfiguration.g:6801:2: ( rule__ObjectTypeScope__Alternatives_2 ) - // InternalApplicationConfiguration.g:6801:3: rule__ObjectTypeScope__Alternatives_2 + // InternalApplicationConfiguration.g:7061:2: ( rule__ObjectTypeScope__Alternatives_2 ) + // InternalApplicationConfiguration.g:7061:3: rule__ObjectTypeScope__Alternatives_2 { pushFollow(FOLLOW_2); rule__ObjectTypeScope__Alternatives_2(); @@ -21438,14 +22243,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ObjectTypeScope__Group__3" - // InternalApplicationConfiguration.g:6809:1: rule__ObjectTypeScope__Group__3 : rule__ObjectTypeScope__Group__3__Impl ; + // InternalApplicationConfiguration.g:7069:1: rule__ObjectTypeScope__Group__3 : rule__ObjectTypeScope__Group__3__Impl ; public final void rule__ObjectTypeScope__Group__3() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:6813:1: ( rule__ObjectTypeScope__Group__3__Impl ) - // InternalApplicationConfiguration.g:6814:2: rule__ObjectTypeScope__Group__3__Impl + // InternalApplicationConfiguration.g:7073:1: ( rule__ObjectTypeScope__Group__3__Impl ) + // InternalApplicationConfiguration.g:7074:2: rule__ObjectTypeScope__Group__3__Impl { pushFollow(FOLLOW_2); rule__ObjectTypeScope__Group__3__Impl(); @@ -21471,21 +22276,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ObjectTypeScope__Group__3__Impl" - // InternalApplicationConfiguration.g:6820:1: rule__ObjectTypeScope__Group__3__Impl : ( ( rule__ObjectTypeScope__Alternatives_3 ) ) ; + // InternalApplicationConfiguration.g:7080:1: rule__ObjectTypeScope__Group__3__Impl : ( ( rule__ObjectTypeScope__Alternatives_3 ) ) ; public final void rule__ObjectTypeScope__Group__3__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:6824:1: ( ( ( rule__ObjectTypeScope__Alternatives_3 ) ) ) - // InternalApplicationConfiguration.g:6825:1: ( ( rule__ObjectTypeScope__Alternatives_3 ) ) + // InternalApplicationConfiguration.g:7084:1: ( ( ( rule__ObjectTypeScope__Alternatives_3 ) ) ) + // InternalApplicationConfiguration.g:7085:1: ( ( rule__ObjectTypeScope__Alternatives_3 ) ) { - // InternalApplicationConfiguration.g:6825:1: ( ( rule__ObjectTypeScope__Alternatives_3 ) ) - // InternalApplicationConfiguration.g:6826:2: ( rule__ObjectTypeScope__Alternatives_3 ) + // InternalApplicationConfiguration.g:7085:1: ( ( rule__ObjectTypeScope__Alternatives_3 ) ) + // InternalApplicationConfiguration.g:7086:2: ( rule__ObjectTypeScope__Alternatives_3 ) { before(grammarAccess.getObjectTypeScopeAccess().getAlternatives_3()); - // InternalApplicationConfiguration.g:6827:2: ( rule__ObjectTypeScope__Alternatives_3 ) - // InternalApplicationConfiguration.g:6827:3: rule__ObjectTypeScope__Alternatives_3 + // InternalApplicationConfiguration.g:7087:2: ( rule__ObjectTypeScope__Alternatives_3 ) + // InternalApplicationConfiguration.g:7087:3: rule__ObjectTypeScope__Alternatives_3 { pushFollow(FOLLOW_2); rule__ObjectTypeScope__Alternatives_3(); @@ -21518,16 +22323,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__IntegerTypeScope__Group__0" - // InternalApplicationConfiguration.g:6836:1: rule__IntegerTypeScope__Group__0 : rule__IntegerTypeScope__Group__0__Impl rule__IntegerTypeScope__Group__1 ; + // InternalApplicationConfiguration.g:7096:1: rule__IntegerTypeScope__Group__0 : rule__IntegerTypeScope__Group__0__Impl rule__IntegerTypeScope__Group__1 ; public final void rule__IntegerTypeScope__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:6840:1: ( rule__IntegerTypeScope__Group__0__Impl rule__IntegerTypeScope__Group__1 ) - // InternalApplicationConfiguration.g:6841:2: rule__IntegerTypeScope__Group__0__Impl rule__IntegerTypeScope__Group__1 + // InternalApplicationConfiguration.g:7100:1: ( rule__IntegerTypeScope__Group__0__Impl rule__IntegerTypeScope__Group__1 ) + // InternalApplicationConfiguration.g:7101:2: rule__IntegerTypeScope__Group__0__Impl rule__IntegerTypeScope__Group__1 { - pushFollow(FOLLOW_36); + pushFollow(FOLLOW_37); rule__IntegerTypeScope__Group__0__Impl(); state._fsp--; @@ -21556,20 +22361,20 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__IntegerTypeScope__Group__0__Impl" - // InternalApplicationConfiguration.g:6848:1: rule__IntegerTypeScope__Group__0__Impl : ( '#' ) ; + // InternalApplicationConfiguration.g:7108:1: rule__IntegerTypeScope__Group__0__Impl : ( '#' ) ; public final void rule__IntegerTypeScope__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:6852:1: ( ( '#' ) ) - // InternalApplicationConfiguration.g:6853:1: ( '#' ) + // InternalApplicationConfiguration.g:7112:1: ( ( '#' ) ) + // InternalApplicationConfiguration.g:7113:1: ( '#' ) { - // InternalApplicationConfiguration.g:6853:1: ( '#' ) - // InternalApplicationConfiguration.g:6854:2: '#' + // InternalApplicationConfiguration.g:7113:1: ( '#' ) + // InternalApplicationConfiguration.g:7114:2: '#' { before(grammarAccess.getIntegerTypeScopeAccess().getNumberSignKeyword_0()); - match(input,44,FOLLOW_2); + match(input,46,FOLLOW_2); after(grammarAccess.getIntegerTypeScopeAccess().getNumberSignKeyword_0()); } @@ -21593,16 +22398,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__IntegerTypeScope__Group__1" - // InternalApplicationConfiguration.g:6863:1: rule__IntegerTypeScope__Group__1 : rule__IntegerTypeScope__Group__1__Impl rule__IntegerTypeScope__Group__2 ; + // InternalApplicationConfiguration.g:7123:1: rule__IntegerTypeScope__Group__1 : rule__IntegerTypeScope__Group__1__Impl rule__IntegerTypeScope__Group__2 ; public final void rule__IntegerTypeScope__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:6867:1: ( rule__IntegerTypeScope__Group__1__Impl rule__IntegerTypeScope__Group__2 ) - // InternalApplicationConfiguration.g:6868:2: rule__IntegerTypeScope__Group__1__Impl rule__IntegerTypeScope__Group__2 + // InternalApplicationConfiguration.g:7127:1: ( rule__IntegerTypeScope__Group__1__Impl rule__IntegerTypeScope__Group__2 ) + // InternalApplicationConfiguration.g:7128:2: rule__IntegerTypeScope__Group__1__Impl rule__IntegerTypeScope__Group__2 { - pushFollow(FOLLOW_33); + pushFollow(FOLLOW_34); rule__IntegerTypeScope__Group__1__Impl(); state._fsp--; @@ -21631,21 +22436,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__IntegerTypeScope__Group__1__Impl" - // InternalApplicationConfiguration.g:6875:1: rule__IntegerTypeScope__Group__1__Impl : ( ( rule__IntegerTypeScope__TypeAssignment_1 ) ) ; + // InternalApplicationConfiguration.g:7135:1: rule__IntegerTypeScope__Group__1__Impl : ( ( rule__IntegerTypeScope__TypeAssignment_1 ) ) ; public final void rule__IntegerTypeScope__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:6879:1: ( ( ( rule__IntegerTypeScope__TypeAssignment_1 ) ) ) - // InternalApplicationConfiguration.g:6880:1: ( ( rule__IntegerTypeScope__TypeAssignment_1 ) ) + // InternalApplicationConfiguration.g:7139:1: ( ( ( rule__IntegerTypeScope__TypeAssignment_1 ) ) ) + // InternalApplicationConfiguration.g:7140:1: ( ( rule__IntegerTypeScope__TypeAssignment_1 ) ) { - // InternalApplicationConfiguration.g:6880:1: ( ( rule__IntegerTypeScope__TypeAssignment_1 ) ) - // InternalApplicationConfiguration.g:6881:2: ( rule__IntegerTypeScope__TypeAssignment_1 ) + // InternalApplicationConfiguration.g:7140:1: ( ( rule__IntegerTypeScope__TypeAssignment_1 ) ) + // InternalApplicationConfiguration.g:7141:2: ( rule__IntegerTypeScope__TypeAssignment_1 ) { before(grammarAccess.getIntegerTypeScopeAccess().getTypeAssignment_1()); - // InternalApplicationConfiguration.g:6882:2: ( rule__IntegerTypeScope__TypeAssignment_1 ) - // InternalApplicationConfiguration.g:6882:3: rule__IntegerTypeScope__TypeAssignment_1 + // InternalApplicationConfiguration.g:7142:2: ( rule__IntegerTypeScope__TypeAssignment_1 ) + // InternalApplicationConfiguration.g:7142:3: rule__IntegerTypeScope__TypeAssignment_1 { pushFollow(FOLLOW_2); rule__IntegerTypeScope__TypeAssignment_1(); @@ -21678,16 +22483,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__IntegerTypeScope__Group__2" - // InternalApplicationConfiguration.g:6890:1: rule__IntegerTypeScope__Group__2 : rule__IntegerTypeScope__Group__2__Impl rule__IntegerTypeScope__Group__3 ; + // InternalApplicationConfiguration.g:7150:1: rule__IntegerTypeScope__Group__2 : rule__IntegerTypeScope__Group__2__Impl rule__IntegerTypeScope__Group__3 ; public final void rule__IntegerTypeScope__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:6894:1: ( rule__IntegerTypeScope__Group__2__Impl rule__IntegerTypeScope__Group__3 ) - // InternalApplicationConfiguration.g:6895:2: rule__IntegerTypeScope__Group__2__Impl rule__IntegerTypeScope__Group__3 + // InternalApplicationConfiguration.g:7154:1: ( rule__IntegerTypeScope__Group__2__Impl rule__IntegerTypeScope__Group__3 ) + // InternalApplicationConfiguration.g:7155:2: rule__IntegerTypeScope__Group__2__Impl rule__IntegerTypeScope__Group__3 { - pushFollow(FOLLOW_37); + pushFollow(FOLLOW_38); rule__IntegerTypeScope__Group__2__Impl(); state._fsp--; @@ -21716,21 +22521,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__IntegerTypeScope__Group__2__Impl" - // InternalApplicationConfiguration.g:6902:1: rule__IntegerTypeScope__Group__2__Impl : ( ( rule__IntegerTypeScope__Alternatives_2 ) ) ; + // InternalApplicationConfiguration.g:7162:1: rule__IntegerTypeScope__Group__2__Impl : ( ( rule__IntegerTypeScope__Alternatives_2 ) ) ; public final void rule__IntegerTypeScope__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:6906:1: ( ( ( rule__IntegerTypeScope__Alternatives_2 ) ) ) - // InternalApplicationConfiguration.g:6907:1: ( ( rule__IntegerTypeScope__Alternatives_2 ) ) + // InternalApplicationConfiguration.g:7166:1: ( ( ( rule__IntegerTypeScope__Alternatives_2 ) ) ) + // InternalApplicationConfiguration.g:7167:1: ( ( rule__IntegerTypeScope__Alternatives_2 ) ) { - // InternalApplicationConfiguration.g:6907:1: ( ( rule__IntegerTypeScope__Alternatives_2 ) ) - // InternalApplicationConfiguration.g:6908:2: ( rule__IntegerTypeScope__Alternatives_2 ) + // InternalApplicationConfiguration.g:7167:1: ( ( rule__IntegerTypeScope__Alternatives_2 ) ) + // InternalApplicationConfiguration.g:7168:2: ( rule__IntegerTypeScope__Alternatives_2 ) { before(grammarAccess.getIntegerTypeScopeAccess().getAlternatives_2()); - // InternalApplicationConfiguration.g:6909:2: ( rule__IntegerTypeScope__Alternatives_2 ) - // InternalApplicationConfiguration.g:6909:3: rule__IntegerTypeScope__Alternatives_2 + // InternalApplicationConfiguration.g:7169:2: ( rule__IntegerTypeScope__Alternatives_2 ) + // InternalApplicationConfiguration.g:7169:3: rule__IntegerTypeScope__Alternatives_2 { pushFollow(FOLLOW_2); rule__IntegerTypeScope__Alternatives_2(); @@ -21763,14 +22568,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__IntegerTypeScope__Group__3" - // InternalApplicationConfiguration.g:6917:1: rule__IntegerTypeScope__Group__3 : rule__IntegerTypeScope__Group__3__Impl ; + // InternalApplicationConfiguration.g:7177:1: rule__IntegerTypeScope__Group__3 : rule__IntegerTypeScope__Group__3__Impl ; public final void rule__IntegerTypeScope__Group__3() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:6921:1: ( rule__IntegerTypeScope__Group__3__Impl ) - // InternalApplicationConfiguration.g:6922:2: rule__IntegerTypeScope__Group__3__Impl + // InternalApplicationConfiguration.g:7181:1: ( rule__IntegerTypeScope__Group__3__Impl ) + // InternalApplicationConfiguration.g:7182:2: rule__IntegerTypeScope__Group__3__Impl { pushFollow(FOLLOW_2); rule__IntegerTypeScope__Group__3__Impl(); @@ -21796,21 +22601,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__IntegerTypeScope__Group__3__Impl" - // InternalApplicationConfiguration.g:6928:1: rule__IntegerTypeScope__Group__3__Impl : ( ( rule__IntegerTypeScope__Alternatives_3 ) ) ; + // InternalApplicationConfiguration.g:7188:1: rule__IntegerTypeScope__Group__3__Impl : ( ( rule__IntegerTypeScope__Alternatives_3 ) ) ; public final void rule__IntegerTypeScope__Group__3__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:6932:1: ( ( ( rule__IntegerTypeScope__Alternatives_3 ) ) ) - // InternalApplicationConfiguration.g:6933:1: ( ( rule__IntegerTypeScope__Alternatives_3 ) ) + // InternalApplicationConfiguration.g:7192:1: ( ( ( rule__IntegerTypeScope__Alternatives_3 ) ) ) + // InternalApplicationConfiguration.g:7193:1: ( ( rule__IntegerTypeScope__Alternatives_3 ) ) { - // InternalApplicationConfiguration.g:6933:1: ( ( rule__IntegerTypeScope__Alternatives_3 ) ) - // InternalApplicationConfiguration.g:6934:2: ( rule__IntegerTypeScope__Alternatives_3 ) + // InternalApplicationConfiguration.g:7193:1: ( ( rule__IntegerTypeScope__Alternatives_3 ) ) + // InternalApplicationConfiguration.g:7194:2: ( rule__IntegerTypeScope__Alternatives_3 ) { before(grammarAccess.getIntegerTypeScopeAccess().getAlternatives_3()); - // InternalApplicationConfiguration.g:6935:2: ( rule__IntegerTypeScope__Alternatives_3 ) - // InternalApplicationConfiguration.g:6935:3: rule__IntegerTypeScope__Alternatives_3 + // InternalApplicationConfiguration.g:7195:2: ( rule__IntegerTypeScope__Alternatives_3 ) + // InternalApplicationConfiguration.g:7195:3: rule__IntegerTypeScope__Alternatives_3 { pushFollow(FOLLOW_2); rule__IntegerTypeScope__Alternatives_3(); @@ -21843,16 +22648,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__RealTypeScope__Group__0" - // InternalApplicationConfiguration.g:6944:1: rule__RealTypeScope__Group__0 : rule__RealTypeScope__Group__0__Impl rule__RealTypeScope__Group__1 ; + // InternalApplicationConfiguration.g:7204:1: rule__RealTypeScope__Group__0 : rule__RealTypeScope__Group__0__Impl rule__RealTypeScope__Group__1 ; public final void rule__RealTypeScope__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:6948:1: ( rule__RealTypeScope__Group__0__Impl rule__RealTypeScope__Group__1 ) - // InternalApplicationConfiguration.g:6949:2: rule__RealTypeScope__Group__0__Impl rule__RealTypeScope__Group__1 + // InternalApplicationConfiguration.g:7208:1: ( rule__RealTypeScope__Group__0__Impl rule__RealTypeScope__Group__1 ) + // InternalApplicationConfiguration.g:7209:2: rule__RealTypeScope__Group__0__Impl rule__RealTypeScope__Group__1 { - pushFollow(FOLLOW_38); + pushFollow(FOLLOW_39); rule__RealTypeScope__Group__0__Impl(); state._fsp--; @@ -21881,20 +22686,20 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__RealTypeScope__Group__0__Impl" - // InternalApplicationConfiguration.g:6956:1: rule__RealTypeScope__Group__0__Impl : ( '#' ) ; + // InternalApplicationConfiguration.g:7216:1: rule__RealTypeScope__Group__0__Impl : ( '#' ) ; public final void rule__RealTypeScope__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:6960:1: ( ( '#' ) ) - // InternalApplicationConfiguration.g:6961:1: ( '#' ) + // InternalApplicationConfiguration.g:7220:1: ( ( '#' ) ) + // InternalApplicationConfiguration.g:7221:1: ( '#' ) { - // InternalApplicationConfiguration.g:6961:1: ( '#' ) - // InternalApplicationConfiguration.g:6962:2: '#' + // InternalApplicationConfiguration.g:7221:1: ( '#' ) + // InternalApplicationConfiguration.g:7222:2: '#' { before(grammarAccess.getRealTypeScopeAccess().getNumberSignKeyword_0()); - match(input,44,FOLLOW_2); + match(input,46,FOLLOW_2); after(grammarAccess.getRealTypeScopeAccess().getNumberSignKeyword_0()); } @@ -21918,16 +22723,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__RealTypeScope__Group__1" - // InternalApplicationConfiguration.g:6971:1: rule__RealTypeScope__Group__1 : rule__RealTypeScope__Group__1__Impl rule__RealTypeScope__Group__2 ; + // InternalApplicationConfiguration.g:7231:1: rule__RealTypeScope__Group__1 : rule__RealTypeScope__Group__1__Impl rule__RealTypeScope__Group__2 ; public final void rule__RealTypeScope__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:6975:1: ( rule__RealTypeScope__Group__1__Impl rule__RealTypeScope__Group__2 ) - // InternalApplicationConfiguration.g:6976:2: rule__RealTypeScope__Group__1__Impl rule__RealTypeScope__Group__2 + // InternalApplicationConfiguration.g:7235:1: ( rule__RealTypeScope__Group__1__Impl rule__RealTypeScope__Group__2 ) + // InternalApplicationConfiguration.g:7236:2: rule__RealTypeScope__Group__1__Impl rule__RealTypeScope__Group__2 { - pushFollow(FOLLOW_33); + pushFollow(FOLLOW_34); rule__RealTypeScope__Group__1__Impl(); state._fsp--; @@ -21956,21 +22761,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__RealTypeScope__Group__1__Impl" - // InternalApplicationConfiguration.g:6983:1: rule__RealTypeScope__Group__1__Impl : ( ( rule__RealTypeScope__TypeAssignment_1 ) ) ; + // InternalApplicationConfiguration.g:7243:1: rule__RealTypeScope__Group__1__Impl : ( ( rule__RealTypeScope__TypeAssignment_1 ) ) ; public final void rule__RealTypeScope__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:6987:1: ( ( ( rule__RealTypeScope__TypeAssignment_1 ) ) ) - // InternalApplicationConfiguration.g:6988:1: ( ( rule__RealTypeScope__TypeAssignment_1 ) ) + // InternalApplicationConfiguration.g:7247:1: ( ( ( rule__RealTypeScope__TypeAssignment_1 ) ) ) + // InternalApplicationConfiguration.g:7248:1: ( ( rule__RealTypeScope__TypeAssignment_1 ) ) { - // InternalApplicationConfiguration.g:6988:1: ( ( rule__RealTypeScope__TypeAssignment_1 ) ) - // InternalApplicationConfiguration.g:6989:2: ( rule__RealTypeScope__TypeAssignment_1 ) + // InternalApplicationConfiguration.g:7248:1: ( ( rule__RealTypeScope__TypeAssignment_1 ) ) + // InternalApplicationConfiguration.g:7249:2: ( rule__RealTypeScope__TypeAssignment_1 ) { before(grammarAccess.getRealTypeScopeAccess().getTypeAssignment_1()); - // InternalApplicationConfiguration.g:6990:2: ( rule__RealTypeScope__TypeAssignment_1 ) - // InternalApplicationConfiguration.g:6990:3: rule__RealTypeScope__TypeAssignment_1 + // InternalApplicationConfiguration.g:7250:2: ( rule__RealTypeScope__TypeAssignment_1 ) + // InternalApplicationConfiguration.g:7250:3: rule__RealTypeScope__TypeAssignment_1 { pushFollow(FOLLOW_2); rule__RealTypeScope__TypeAssignment_1(); @@ -22003,16 +22808,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__RealTypeScope__Group__2" - // InternalApplicationConfiguration.g:6998:1: rule__RealTypeScope__Group__2 : rule__RealTypeScope__Group__2__Impl rule__RealTypeScope__Group__3 ; + // InternalApplicationConfiguration.g:7258:1: rule__RealTypeScope__Group__2 : rule__RealTypeScope__Group__2__Impl rule__RealTypeScope__Group__3 ; public final void rule__RealTypeScope__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7002:1: ( rule__RealTypeScope__Group__2__Impl rule__RealTypeScope__Group__3 ) - // InternalApplicationConfiguration.g:7003:2: rule__RealTypeScope__Group__2__Impl rule__RealTypeScope__Group__3 + // InternalApplicationConfiguration.g:7262:1: ( rule__RealTypeScope__Group__2__Impl rule__RealTypeScope__Group__3 ) + // InternalApplicationConfiguration.g:7263:2: rule__RealTypeScope__Group__2__Impl rule__RealTypeScope__Group__3 { - pushFollow(FOLLOW_37); + pushFollow(FOLLOW_38); rule__RealTypeScope__Group__2__Impl(); state._fsp--; @@ -22041,21 +22846,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__RealTypeScope__Group__2__Impl" - // InternalApplicationConfiguration.g:7010:1: rule__RealTypeScope__Group__2__Impl : ( ( rule__RealTypeScope__Alternatives_2 ) ) ; + // InternalApplicationConfiguration.g:7270:1: rule__RealTypeScope__Group__2__Impl : ( ( rule__RealTypeScope__Alternatives_2 ) ) ; public final void rule__RealTypeScope__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7014:1: ( ( ( rule__RealTypeScope__Alternatives_2 ) ) ) - // InternalApplicationConfiguration.g:7015:1: ( ( rule__RealTypeScope__Alternatives_2 ) ) + // InternalApplicationConfiguration.g:7274:1: ( ( ( rule__RealTypeScope__Alternatives_2 ) ) ) + // InternalApplicationConfiguration.g:7275:1: ( ( rule__RealTypeScope__Alternatives_2 ) ) { - // InternalApplicationConfiguration.g:7015:1: ( ( rule__RealTypeScope__Alternatives_2 ) ) - // InternalApplicationConfiguration.g:7016:2: ( rule__RealTypeScope__Alternatives_2 ) + // InternalApplicationConfiguration.g:7275:1: ( ( rule__RealTypeScope__Alternatives_2 ) ) + // InternalApplicationConfiguration.g:7276:2: ( rule__RealTypeScope__Alternatives_2 ) { before(grammarAccess.getRealTypeScopeAccess().getAlternatives_2()); - // InternalApplicationConfiguration.g:7017:2: ( rule__RealTypeScope__Alternatives_2 ) - // InternalApplicationConfiguration.g:7017:3: rule__RealTypeScope__Alternatives_2 + // InternalApplicationConfiguration.g:7277:2: ( rule__RealTypeScope__Alternatives_2 ) + // InternalApplicationConfiguration.g:7277:3: rule__RealTypeScope__Alternatives_2 { pushFollow(FOLLOW_2); rule__RealTypeScope__Alternatives_2(); @@ -22088,14 +22893,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__RealTypeScope__Group__3" - // InternalApplicationConfiguration.g:7025:1: rule__RealTypeScope__Group__3 : rule__RealTypeScope__Group__3__Impl ; + // InternalApplicationConfiguration.g:7285:1: rule__RealTypeScope__Group__3 : rule__RealTypeScope__Group__3__Impl ; public final void rule__RealTypeScope__Group__3() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7029:1: ( rule__RealTypeScope__Group__3__Impl ) - // InternalApplicationConfiguration.g:7030:2: rule__RealTypeScope__Group__3__Impl + // InternalApplicationConfiguration.g:7289:1: ( rule__RealTypeScope__Group__3__Impl ) + // InternalApplicationConfiguration.g:7290:2: rule__RealTypeScope__Group__3__Impl { pushFollow(FOLLOW_2); rule__RealTypeScope__Group__3__Impl(); @@ -22121,21 +22926,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__RealTypeScope__Group__3__Impl" - // InternalApplicationConfiguration.g:7036:1: rule__RealTypeScope__Group__3__Impl : ( ( rule__RealTypeScope__Alternatives_3 ) ) ; + // InternalApplicationConfiguration.g:7296:1: rule__RealTypeScope__Group__3__Impl : ( ( rule__RealTypeScope__Alternatives_3 ) ) ; public final void rule__RealTypeScope__Group__3__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7040:1: ( ( ( rule__RealTypeScope__Alternatives_3 ) ) ) - // InternalApplicationConfiguration.g:7041:1: ( ( rule__RealTypeScope__Alternatives_3 ) ) + // InternalApplicationConfiguration.g:7300:1: ( ( ( rule__RealTypeScope__Alternatives_3 ) ) ) + // InternalApplicationConfiguration.g:7301:1: ( ( rule__RealTypeScope__Alternatives_3 ) ) { - // InternalApplicationConfiguration.g:7041:1: ( ( rule__RealTypeScope__Alternatives_3 ) ) - // InternalApplicationConfiguration.g:7042:2: ( rule__RealTypeScope__Alternatives_3 ) + // InternalApplicationConfiguration.g:7301:1: ( ( rule__RealTypeScope__Alternatives_3 ) ) + // InternalApplicationConfiguration.g:7302:2: ( rule__RealTypeScope__Alternatives_3 ) { before(grammarAccess.getRealTypeScopeAccess().getAlternatives_3()); - // InternalApplicationConfiguration.g:7043:2: ( rule__RealTypeScope__Alternatives_3 ) - // InternalApplicationConfiguration.g:7043:3: rule__RealTypeScope__Alternatives_3 + // InternalApplicationConfiguration.g:7303:2: ( rule__RealTypeScope__Alternatives_3 ) + // InternalApplicationConfiguration.g:7303:3: rule__RealTypeScope__Alternatives_3 { pushFollow(FOLLOW_2); rule__RealTypeScope__Alternatives_3(); @@ -22168,16 +22973,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__StringTypeScope__Group__0" - // InternalApplicationConfiguration.g:7052:1: rule__StringTypeScope__Group__0 : rule__StringTypeScope__Group__0__Impl rule__StringTypeScope__Group__1 ; + // InternalApplicationConfiguration.g:7312:1: rule__StringTypeScope__Group__0 : rule__StringTypeScope__Group__0__Impl rule__StringTypeScope__Group__1 ; public final void rule__StringTypeScope__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7056:1: ( rule__StringTypeScope__Group__0__Impl rule__StringTypeScope__Group__1 ) - // InternalApplicationConfiguration.g:7057:2: rule__StringTypeScope__Group__0__Impl rule__StringTypeScope__Group__1 + // InternalApplicationConfiguration.g:7316:1: ( rule__StringTypeScope__Group__0__Impl rule__StringTypeScope__Group__1 ) + // InternalApplicationConfiguration.g:7317:2: rule__StringTypeScope__Group__0__Impl rule__StringTypeScope__Group__1 { - pushFollow(FOLLOW_39); + pushFollow(FOLLOW_40); rule__StringTypeScope__Group__0__Impl(); state._fsp--; @@ -22206,20 +23011,20 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__StringTypeScope__Group__0__Impl" - // InternalApplicationConfiguration.g:7064:1: rule__StringTypeScope__Group__0__Impl : ( '#' ) ; + // InternalApplicationConfiguration.g:7324:1: rule__StringTypeScope__Group__0__Impl : ( '#' ) ; public final void rule__StringTypeScope__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7068:1: ( ( '#' ) ) - // InternalApplicationConfiguration.g:7069:1: ( '#' ) + // InternalApplicationConfiguration.g:7328:1: ( ( '#' ) ) + // InternalApplicationConfiguration.g:7329:1: ( '#' ) { - // InternalApplicationConfiguration.g:7069:1: ( '#' ) - // InternalApplicationConfiguration.g:7070:2: '#' + // InternalApplicationConfiguration.g:7329:1: ( '#' ) + // InternalApplicationConfiguration.g:7330:2: '#' { before(grammarAccess.getStringTypeScopeAccess().getNumberSignKeyword_0()); - match(input,44,FOLLOW_2); + match(input,46,FOLLOW_2); after(grammarAccess.getStringTypeScopeAccess().getNumberSignKeyword_0()); } @@ -22243,16 +23048,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__StringTypeScope__Group__1" - // InternalApplicationConfiguration.g:7079:1: rule__StringTypeScope__Group__1 : rule__StringTypeScope__Group__1__Impl rule__StringTypeScope__Group__2 ; + // InternalApplicationConfiguration.g:7339:1: rule__StringTypeScope__Group__1 : rule__StringTypeScope__Group__1__Impl rule__StringTypeScope__Group__2 ; public final void rule__StringTypeScope__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7083:1: ( rule__StringTypeScope__Group__1__Impl rule__StringTypeScope__Group__2 ) - // InternalApplicationConfiguration.g:7084:2: rule__StringTypeScope__Group__1__Impl rule__StringTypeScope__Group__2 + // InternalApplicationConfiguration.g:7343:1: ( rule__StringTypeScope__Group__1__Impl rule__StringTypeScope__Group__2 ) + // InternalApplicationConfiguration.g:7344:2: rule__StringTypeScope__Group__1__Impl rule__StringTypeScope__Group__2 { - pushFollow(FOLLOW_33); + pushFollow(FOLLOW_34); rule__StringTypeScope__Group__1__Impl(); state._fsp--; @@ -22281,21 +23086,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__StringTypeScope__Group__1__Impl" - // InternalApplicationConfiguration.g:7091:1: rule__StringTypeScope__Group__1__Impl : ( ( rule__StringTypeScope__TypeAssignment_1 ) ) ; + // InternalApplicationConfiguration.g:7351:1: rule__StringTypeScope__Group__1__Impl : ( ( rule__StringTypeScope__TypeAssignment_1 ) ) ; public final void rule__StringTypeScope__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7095:1: ( ( ( rule__StringTypeScope__TypeAssignment_1 ) ) ) - // InternalApplicationConfiguration.g:7096:1: ( ( rule__StringTypeScope__TypeAssignment_1 ) ) + // InternalApplicationConfiguration.g:7355:1: ( ( ( rule__StringTypeScope__TypeAssignment_1 ) ) ) + // InternalApplicationConfiguration.g:7356:1: ( ( rule__StringTypeScope__TypeAssignment_1 ) ) { - // InternalApplicationConfiguration.g:7096:1: ( ( rule__StringTypeScope__TypeAssignment_1 ) ) - // InternalApplicationConfiguration.g:7097:2: ( rule__StringTypeScope__TypeAssignment_1 ) + // InternalApplicationConfiguration.g:7356:1: ( ( rule__StringTypeScope__TypeAssignment_1 ) ) + // InternalApplicationConfiguration.g:7357:2: ( rule__StringTypeScope__TypeAssignment_1 ) { before(grammarAccess.getStringTypeScopeAccess().getTypeAssignment_1()); - // InternalApplicationConfiguration.g:7098:2: ( rule__StringTypeScope__TypeAssignment_1 ) - // InternalApplicationConfiguration.g:7098:3: rule__StringTypeScope__TypeAssignment_1 + // InternalApplicationConfiguration.g:7358:2: ( rule__StringTypeScope__TypeAssignment_1 ) + // InternalApplicationConfiguration.g:7358:3: rule__StringTypeScope__TypeAssignment_1 { pushFollow(FOLLOW_2); rule__StringTypeScope__TypeAssignment_1(); @@ -22328,16 +23133,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__StringTypeScope__Group__2" - // InternalApplicationConfiguration.g:7106:1: rule__StringTypeScope__Group__2 : rule__StringTypeScope__Group__2__Impl rule__StringTypeScope__Group__3 ; + // InternalApplicationConfiguration.g:7366:1: rule__StringTypeScope__Group__2 : rule__StringTypeScope__Group__2__Impl rule__StringTypeScope__Group__3 ; public final void rule__StringTypeScope__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7110:1: ( rule__StringTypeScope__Group__2__Impl rule__StringTypeScope__Group__3 ) - // InternalApplicationConfiguration.g:7111:2: rule__StringTypeScope__Group__2__Impl rule__StringTypeScope__Group__3 + // InternalApplicationConfiguration.g:7370:1: ( rule__StringTypeScope__Group__2__Impl rule__StringTypeScope__Group__3 ) + // InternalApplicationConfiguration.g:7371:2: rule__StringTypeScope__Group__2__Impl rule__StringTypeScope__Group__3 { - pushFollow(FOLLOW_37); + pushFollow(FOLLOW_38); rule__StringTypeScope__Group__2__Impl(); state._fsp--; @@ -22366,21 +23171,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__StringTypeScope__Group__2__Impl" - // InternalApplicationConfiguration.g:7118:1: rule__StringTypeScope__Group__2__Impl : ( ( rule__StringTypeScope__Alternatives_2 ) ) ; + // InternalApplicationConfiguration.g:7378:1: rule__StringTypeScope__Group__2__Impl : ( ( rule__StringTypeScope__Alternatives_2 ) ) ; public final void rule__StringTypeScope__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7122:1: ( ( ( rule__StringTypeScope__Alternatives_2 ) ) ) - // InternalApplicationConfiguration.g:7123:1: ( ( rule__StringTypeScope__Alternatives_2 ) ) + // InternalApplicationConfiguration.g:7382:1: ( ( ( rule__StringTypeScope__Alternatives_2 ) ) ) + // InternalApplicationConfiguration.g:7383:1: ( ( rule__StringTypeScope__Alternatives_2 ) ) { - // InternalApplicationConfiguration.g:7123:1: ( ( rule__StringTypeScope__Alternatives_2 ) ) - // InternalApplicationConfiguration.g:7124:2: ( rule__StringTypeScope__Alternatives_2 ) + // InternalApplicationConfiguration.g:7383:1: ( ( rule__StringTypeScope__Alternatives_2 ) ) + // InternalApplicationConfiguration.g:7384:2: ( rule__StringTypeScope__Alternatives_2 ) { before(grammarAccess.getStringTypeScopeAccess().getAlternatives_2()); - // InternalApplicationConfiguration.g:7125:2: ( rule__StringTypeScope__Alternatives_2 ) - // InternalApplicationConfiguration.g:7125:3: rule__StringTypeScope__Alternatives_2 + // InternalApplicationConfiguration.g:7385:2: ( rule__StringTypeScope__Alternatives_2 ) + // InternalApplicationConfiguration.g:7385:3: rule__StringTypeScope__Alternatives_2 { pushFollow(FOLLOW_2); rule__StringTypeScope__Alternatives_2(); @@ -22413,14 +23218,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__StringTypeScope__Group__3" - // InternalApplicationConfiguration.g:7133:1: rule__StringTypeScope__Group__3 : rule__StringTypeScope__Group__3__Impl ; + // InternalApplicationConfiguration.g:7393:1: rule__StringTypeScope__Group__3 : rule__StringTypeScope__Group__3__Impl ; public final void rule__StringTypeScope__Group__3() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7137:1: ( rule__StringTypeScope__Group__3__Impl ) - // InternalApplicationConfiguration.g:7138:2: rule__StringTypeScope__Group__3__Impl + // InternalApplicationConfiguration.g:7397:1: ( rule__StringTypeScope__Group__3__Impl ) + // InternalApplicationConfiguration.g:7398:2: rule__StringTypeScope__Group__3__Impl { pushFollow(FOLLOW_2); rule__StringTypeScope__Group__3__Impl(); @@ -22446,21 +23251,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__StringTypeScope__Group__3__Impl" - // InternalApplicationConfiguration.g:7144:1: rule__StringTypeScope__Group__3__Impl : ( ( rule__StringTypeScope__Alternatives_3 ) ) ; + // InternalApplicationConfiguration.g:7404:1: rule__StringTypeScope__Group__3__Impl : ( ( rule__StringTypeScope__Alternatives_3 ) ) ; public final void rule__StringTypeScope__Group__3__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7148:1: ( ( ( rule__StringTypeScope__Alternatives_3 ) ) ) - // InternalApplicationConfiguration.g:7149:1: ( ( rule__StringTypeScope__Alternatives_3 ) ) + // InternalApplicationConfiguration.g:7408:1: ( ( ( rule__StringTypeScope__Alternatives_3 ) ) ) + // InternalApplicationConfiguration.g:7409:1: ( ( rule__StringTypeScope__Alternatives_3 ) ) { - // InternalApplicationConfiguration.g:7149:1: ( ( rule__StringTypeScope__Alternatives_3 ) ) - // InternalApplicationConfiguration.g:7150:2: ( rule__StringTypeScope__Alternatives_3 ) + // InternalApplicationConfiguration.g:7409:1: ( ( rule__StringTypeScope__Alternatives_3 ) ) + // InternalApplicationConfiguration.g:7410:2: ( rule__StringTypeScope__Alternatives_3 ) { before(grammarAccess.getStringTypeScopeAccess().getAlternatives_3()); - // InternalApplicationConfiguration.g:7151:2: ( rule__StringTypeScope__Alternatives_3 ) - // InternalApplicationConfiguration.g:7151:3: rule__StringTypeScope__Alternatives_3 + // InternalApplicationConfiguration.g:7411:2: ( rule__StringTypeScope__Alternatives_3 ) + // InternalApplicationConfiguration.g:7411:3: rule__StringTypeScope__Alternatives_3 { pushFollow(FOLLOW_2); rule__StringTypeScope__Alternatives_3(); @@ -22493,14 +23298,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ClassReference__Group__0" - // InternalApplicationConfiguration.g:7160:1: rule__ClassReference__Group__0 : rule__ClassReference__Group__0__Impl rule__ClassReference__Group__1 ; + // InternalApplicationConfiguration.g:7420:1: rule__ClassReference__Group__0 : rule__ClassReference__Group__0__Impl rule__ClassReference__Group__1 ; public final void rule__ClassReference__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7164:1: ( rule__ClassReference__Group__0__Impl rule__ClassReference__Group__1 ) - // InternalApplicationConfiguration.g:7165:2: rule__ClassReference__Group__0__Impl rule__ClassReference__Group__1 + // InternalApplicationConfiguration.g:7424:1: ( rule__ClassReference__Group__0__Impl rule__ClassReference__Group__1 ) + // InternalApplicationConfiguration.g:7425:2: rule__ClassReference__Group__0__Impl rule__ClassReference__Group__1 { pushFollow(FOLLOW_8); rule__ClassReference__Group__0__Impl(); @@ -22531,20 +23336,20 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ClassReference__Group__0__Impl" - // InternalApplicationConfiguration.g:7172:1: rule__ClassReference__Group__0__Impl : ( '<' ) ; + // InternalApplicationConfiguration.g:7432:1: rule__ClassReference__Group__0__Impl : ( '<' ) ; public final void rule__ClassReference__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7176:1: ( ( '<' ) ) - // InternalApplicationConfiguration.g:7177:1: ( '<' ) + // InternalApplicationConfiguration.g:7436:1: ( ( '<' ) ) + // InternalApplicationConfiguration.g:7437:1: ( '<' ) { - // InternalApplicationConfiguration.g:7177:1: ( '<' ) - // InternalApplicationConfiguration.g:7178:2: '<' + // InternalApplicationConfiguration.g:7437:1: ( '<' ) + // InternalApplicationConfiguration.g:7438:2: '<' { before(grammarAccess.getClassReferenceAccess().getLessThanSignKeyword_0()); - match(input,45,FOLLOW_2); + match(input,47,FOLLOW_2); after(grammarAccess.getClassReferenceAccess().getLessThanSignKeyword_0()); } @@ -22568,16 +23373,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ClassReference__Group__1" - // InternalApplicationConfiguration.g:7187:1: rule__ClassReference__Group__1 : rule__ClassReference__Group__1__Impl rule__ClassReference__Group__2 ; + // InternalApplicationConfiguration.g:7447:1: rule__ClassReference__Group__1 : rule__ClassReference__Group__1__Impl rule__ClassReference__Group__2 ; public final void rule__ClassReference__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7191:1: ( rule__ClassReference__Group__1__Impl rule__ClassReference__Group__2 ) - // InternalApplicationConfiguration.g:7192:2: rule__ClassReference__Group__1__Impl rule__ClassReference__Group__2 + // InternalApplicationConfiguration.g:7451:1: ( rule__ClassReference__Group__1__Impl rule__ClassReference__Group__2 ) + // InternalApplicationConfiguration.g:7452:2: rule__ClassReference__Group__1__Impl rule__ClassReference__Group__2 { - pushFollow(FOLLOW_40); + pushFollow(FOLLOW_41); rule__ClassReference__Group__1__Impl(); state._fsp--; @@ -22606,21 +23411,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ClassReference__Group__1__Impl" - // InternalApplicationConfiguration.g:7199:1: rule__ClassReference__Group__1__Impl : ( ( rule__ClassReference__ElementAssignment_1 ) ) ; + // InternalApplicationConfiguration.g:7459:1: rule__ClassReference__Group__1__Impl : ( ( rule__ClassReference__ElementAssignment_1 ) ) ; public final void rule__ClassReference__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7203:1: ( ( ( rule__ClassReference__ElementAssignment_1 ) ) ) - // InternalApplicationConfiguration.g:7204:1: ( ( rule__ClassReference__ElementAssignment_1 ) ) + // InternalApplicationConfiguration.g:7463:1: ( ( ( rule__ClassReference__ElementAssignment_1 ) ) ) + // InternalApplicationConfiguration.g:7464:1: ( ( rule__ClassReference__ElementAssignment_1 ) ) { - // InternalApplicationConfiguration.g:7204:1: ( ( rule__ClassReference__ElementAssignment_1 ) ) - // InternalApplicationConfiguration.g:7205:2: ( rule__ClassReference__ElementAssignment_1 ) + // InternalApplicationConfiguration.g:7464:1: ( ( rule__ClassReference__ElementAssignment_1 ) ) + // InternalApplicationConfiguration.g:7465:2: ( rule__ClassReference__ElementAssignment_1 ) { before(grammarAccess.getClassReferenceAccess().getElementAssignment_1()); - // InternalApplicationConfiguration.g:7206:2: ( rule__ClassReference__ElementAssignment_1 ) - // InternalApplicationConfiguration.g:7206:3: rule__ClassReference__ElementAssignment_1 + // InternalApplicationConfiguration.g:7466:2: ( rule__ClassReference__ElementAssignment_1 ) + // InternalApplicationConfiguration.g:7466:3: rule__ClassReference__ElementAssignment_1 { pushFollow(FOLLOW_2); rule__ClassReference__ElementAssignment_1(); @@ -22653,14 +23458,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ClassReference__Group__2" - // InternalApplicationConfiguration.g:7214:1: rule__ClassReference__Group__2 : rule__ClassReference__Group__2__Impl ; + // InternalApplicationConfiguration.g:7474:1: rule__ClassReference__Group__2 : rule__ClassReference__Group__2__Impl ; public final void rule__ClassReference__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7218:1: ( rule__ClassReference__Group__2__Impl ) - // InternalApplicationConfiguration.g:7219:2: rule__ClassReference__Group__2__Impl + // InternalApplicationConfiguration.g:7478:1: ( rule__ClassReference__Group__2__Impl ) + // InternalApplicationConfiguration.g:7479:2: rule__ClassReference__Group__2__Impl { pushFollow(FOLLOW_2); rule__ClassReference__Group__2__Impl(); @@ -22686,20 +23491,20 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ClassReference__Group__2__Impl" - // InternalApplicationConfiguration.g:7225:1: rule__ClassReference__Group__2__Impl : ( '>' ) ; + // InternalApplicationConfiguration.g:7485:1: rule__ClassReference__Group__2__Impl : ( '>' ) ; public final void rule__ClassReference__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7229:1: ( ( '>' ) ) - // InternalApplicationConfiguration.g:7230:1: ( '>' ) + // InternalApplicationConfiguration.g:7489:1: ( ( '>' ) ) + // InternalApplicationConfiguration.g:7490:1: ( '>' ) { - // InternalApplicationConfiguration.g:7230:1: ( '>' ) - // InternalApplicationConfiguration.g:7231:2: '>' + // InternalApplicationConfiguration.g:7490:1: ( '>' ) + // InternalApplicationConfiguration.g:7491:2: '>' { before(grammarAccess.getClassReferenceAccess().getGreaterThanSignKeyword_2()); - match(input,46,FOLLOW_2); + match(input,48,FOLLOW_2); after(grammarAccess.getClassReferenceAccess().getGreaterThanSignKeyword_2()); } @@ -22723,16 +23528,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ObjectReference__Group__0" - // InternalApplicationConfiguration.g:7241:1: rule__ObjectReference__Group__0 : rule__ObjectReference__Group__0__Impl rule__ObjectReference__Group__1 ; + // InternalApplicationConfiguration.g:7501:1: rule__ObjectReference__Group__0 : rule__ObjectReference__Group__0__Impl rule__ObjectReference__Group__1 ; public final void rule__ObjectReference__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7245:1: ( rule__ObjectReference__Group__0__Impl rule__ObjectReference__Group__1 ) - // InternalApplicationConfiguration.g:7246:2: rule__ObjectReference__Group__0__Impl rule__ObjectReference__Group__1 + // InternalApplicationConfiguration.g:7505:1: ( rule__ObjectReference__Group__0__Impl rule__ObjectReference__Group__1 ) + // InternalApplicationConfiguration.g:7506:2: rule__ObjectReference__Group__0__Impl rule__ObjectReference__Group__1 { - pushFollow(FOLLOW_35); + pushFollow(FOLLOW_36); rule__ObjectReference__Group__0__Impl(); state._fsp--; @@ -22761,21 +23566,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ObjectReference__Group__0__Impl" - // InternalApplicationConfiguration.g:7253:1: rule__ObjectReference__Group__0__Impl : ( () ) ; + // InternalApplicationConfiguration.g:7513:1: rule__ObjectReference__Group__0__Impl : ( () ) ; public final void rule__ObjectReference__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7257:1: ( ( () ) ) - // InternalApplicationConfiguration.g:7258:1: ( () ) + // InternalApplicationConfiguration.g:7517:1: ( ( () ) ) + // InternalApplicationConfiguration.g:7518:1: ( () ) { - // InternalApplicationConfiguration.g:7258:1: ( () ) - // InternalApplicationConfiguration.g:7259:2: () + // InternalApplicationConfiguration.g:7518:1: ( () ) + // InternalApplicationConfiguration.g:7519:2: () { before(grammarAccess.getObjectReferenceAccess().getObjectReferenceAction_0()); - // InternalApplicationConfiguration.g:7260:2: () - // InternalApplicationConfiguration.g:7260:3: + // InternalApplicationConfiguration.g:7520:2: () + // InternalApplicationConfiguration.g:7520:3: { } @@ -22798,14 +23603,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ObjectReference__Group__1" - // InternalApplicationConfiguration.g:7268:1: rule__ObjectReference__Group__1 : rule__ObjectReference__Group__1__Impl ; + // InternalApplicationConfiguration.g:7528:1: rule__ObjectReference__Group__1 : rule__ObjectReference__Group__1__Impl ; public final void rule__ObjectReference__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7272:1: ( rule__ObjectReference__Group__1__Impl ) - // InternalApplicationConfiguration.g:7273:2: rule__ObjectReference__Group__1__Impl + // InternalApplicationConfiguration.g:7532:1: ( rule__ObjectReference__Group__1__Impl ) + // InternalApplicationConfiguration.g:7533:2: rule__ObjectReference__Group__1__Impl { pushFollow(FOLLOW_2); rule__ObjectReference__Group__1__Impl(); @@ -22831,20 +23636,20 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ObjectReference__Group__1__Impl" - // InternalApplicationConfiguration.g:7279:1: rule__ObjectReference__Group__1__Impl : ( 'node' ) ; + // InternalApplicationConfiguration.g:7539:1: rule__ObjectReference__Group__1__Impl : ( 'node' ) ; public final void rule__ObjectReference__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7283:1: ( ( 'node' ) ) - // InternalApplicationConfiguration.g:7284:1: ( 'node' ) + // InternalApplicationConfiguration.g:7543:1: ( ( 'node' ) ) + // InternalApplicationConfiguration.g:7544:1: ( 'node' ) { - // InternalApplicationConfiguration.g:7284:1: ( 'node' ) - // InternalApplicationConfiguration.g:7285:2: 'node' + // InternalApplicationConfiguration.g:7544:1: ( 'node' ) + // InternalApplicationConfiguration.g:7545:2: 'node' { before(grammarAccess.getObjectReferenceAccess().getNodeKeyword_1()); - match(input,47,FOLLOW_2); + match(input,49,FOLLOW_2); after(grammarAccess.getObjectReferenceAccess().getNodeKeyword_1()); } @@ -22868,16 +23673,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__IntegerReference__Group__0" - // InternalApplicationConfiguration.g:7295:1: rule__IntegerReference__Group__0 : rule__IntegerReference__Group__0__Impl rule__IntegerReference__Group__1 ; + // InternalApplicationConfiguration.g:7555:1: rule__IntegerReference__Group__0 : rule__IntegerReference__Group__0__Impl rule__IntegerReference__Group__1 ; public final void rule__IntegerReference__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7299:1: ( rule__IntegerReference__Group__0__Impl rule__IntegerReference__Group__1 ) - // InternalApplicationConfiguration.g:7300:2: rule__IntegerReference__Group__0__Impl rule__IntegerReference__Group__1 + // InternalApplicationConfiguration.g:7559:1: ( rule__IntegerReference__Group__0__Impl rule__IntegerReference__Group__1 ) + // InternalApplicationConfiguration.g:7560:2: rule__IntegerReference__Group__0__Impl rule__IntegerReference__Group__1 { - pushFollow(FOLLOW_36); + pushFollow(FOLLOW_37); rule__IntegerReference__Group__0__Impl(); state._fsp--; @@ -22906,21 +23711,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__IntegerReference__Group__0__Impl" - // InternalApplicationConfiguration.g:7307:1: rule__IntegerReference__Group__0__Impl : ( () ) ; + // InternalApplicationConfiguration.g:7567:1: rule__IntegerReference__Group__0__Impl : ( () ) ; public final void rule__IntegerReference__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7311:1: ( ( () ) ) - // InternalApplicationConfiguration.g:7312:1: ( () ) + // InternalApplicationConfiguration.g:7571:1: ( ( () ) ) + // InternalApplicationConfiguration.g:7572:1: ( () ) { - // InternalApplicationConfiguration.g:7312:1: ( () ) - // InternalApplicationConfiguration.g:7313:2: () + // InternalApplicationConfiguration.g:7572:1: ( () ) + // InternalApplicationConfiguration.g:7573:2: () { before(grammarAccess.getIntegerReferenceAccess().getIntegerScopeAction_0()); - // InternalApplicationConfiguration.g:7314:2: () - // InternalApplicationConfiguration.g:7314:3: + // InternalApplicationConfiguration.g:7574:2: () + // InternalApplicationConfiguration.g:7574:3: { } @@ -22943,14 +23748,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__IntegerReference__Group__1" - // InternalApplicationConfiguration.g:7322:1: rule__IntegerReference__Group__1 : rule__IntegerReference__Group__1__Impl ; + // InternalApplicationConfiguration.g:7582:1: rule__IntegerReference__Group__1 : rule__IntegerReference__Group__1__Impl ; public final void rule__IntegerReference__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7326:1: ( rule__IntegerReference__Group__1__Impl ) - // InternalApplicationConfiguration.g:7327:2: rule__IntegerReference__Group__1__Impl + // InternalApplicationConfiguration.g:7586:1: ( rule__IntegerReference__Group__1__Impl ) + // InternalApplicationConfiguration.g:7587:2: rule__IntegerReference__Group__1__Impl { pushFollow(FOLLOW_2); rule__IntegerReference__Group__1__Impl(); @@ -22976,20 +23781,20 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__IntegerReference__Group__1__Impl" - // InternalApplicationConfiguration.g:7333:1: rule__IntegerReference__Group__1__Impl : ( 'int' ) ; + // InternalApplicationConfiguration.g:7593:1: rule__IntegerReference__Group__1__Impl : ( 'int' ) ; public final void rule__IntegerReference__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7337:1: ( ( 'int' ) ) - // InternalApplicationConfiguration.g:7338:1: ( 'int' ) + // InternalApplicationConfiguration.g:7597:1: ( ( 'int' ) ) + // InternalApplicationConfiguration.g:7598:1: ( 'int' ) { - // InternalApplicationConfiguration.g:7338:1: ( 'int' ) - // InternalApplicationConfiguration.g:7339:2: 'int' + // InternalApplicationConfiguration.g:7598:1: ( 'int' ) + // InternalApplicationConfiguration.g:7599:2: 'int' { before(grammarAccess.getIntegerReferenceAccess().getIntKeyword_1()); - match(input,48,FOLLOW_2); + match(input,50,FOLLOW_2); after(grammarAccess.getIntegerReferenceAccess().getIntKeyword_1()); } @@ -23013,16 +23818,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__RealReference__Group__0" - // InternalApplicationConfiguration.g:7349:1: rule__RealReference__Group__0 : rule__RealReference__Group__0__Impl rule__RealReference__Group__1 ; + // InternalApplicationConfiguration.g:7609:1: rule__RealReference__Group__0 : rule__RealReference__Group__0__Impl rule__RealReference__Group__1 ; public final void rule__RealReference__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7353:1: ( rule__RealReference__Group__0__Impl rule__RealReference__Group__1 ) - // InternalApplicationConfiguration.g:7354:2: rule__RealReference__Group__0__Impl rule__RealReference__Group__1 + // InternalApplicationConfiguration.g:7613:1: ( rule__RealReference__Group__0__Impl rule__RealReference__Group__1 ) + // InternalApplicationConfiguration.g:7614:2: rule__RealReference__Group__0__Impl rule__RealReference__Group__1 { - pushFollow(FOLLOW_38); + pushFollow(FOLLOW_39); rule__RealReference__Group__0__Impl(); state._fsp--; @@ -23051,21 +23856,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__RealReference__Group__0__Impl" - // InternalApplicationConfiguration.g:7361:1: rule__RealReference__Group__0__Impl : ( () ) ; + // InternalApplicationConfiguration.g:7621:1: rule__RealReference__Group__0__Impl : ( () ) ; public final void rule__RealReference__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7365:1: ( ( () ) ) - // InternalApplicationConfiguration.g:7366:1: ( () ) + // InternalApplicationConfiguration.g:7625:1: ( ( () ) ) + // InternalApplicationConfiguration.g:7626:1: ( () ) { - // InternalApplicationConfiguration.g:7366:1: ( () ) - // InternalApplicationConfiguration.g:7367:2: () + // InternalApplicationConfiguration.g:7626:1: ( () ) + // InternalApplicationConfiguration.g:7627:2: () { before(grammarAccess.getRealReferenceAccess().getRealScopeAction_0()); - // InternalApplicationConfiguration.g:7368:2: () - // InternalApplicationConfiguration.g:7368:3: + // InternalApplicationConfiguration.g:7628:2: () + // InternalApplicationConfiguration.g:7628:3: { } @@ -23088,14 +23893,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__RealReference__Group__1" - // InternalApplicationConfiguration.g:7376:1: rule__RealReference__Group__1 : rule__RealReference__Group__1__Impl ; + // InternalApplicationConfiguration.g:7636:1: rule__RealReference__Group__1 : rule__RealReference__Group__1__Impl ; public final void rule__RealReference__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7380:1: ( rule__RealReference__Group__1__Impl ) - // InternalApplicationConfiguration.g:7381:2: rule__RealReference__Group__1__Impl + // InternalApplicationConfiguration.g:7640:1: ( rule__RealReference__Group__1__Impl ) + // InternalApplicationConfiguration.g:7641:2: rule__RealReference__Group__1__Impl { pushFollow(FOLLOW_2); rule__RealReference__Group__1__Impl(); @@ -23121,20 +23926,20 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__RealReference__Group__1__Impl" - // InternalApplicationConfiguration.g:7387:1: rule__RealReference__Group__1__Impl : ( 'real' ) ; + // InternalApplicationConfiguration.g:7647:1: rule__RealReference__Group__1__Impl : ( 'real' ) ; public final void rule__RealReference__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7391:1: ( ( 'real' ) ) - // InternalApplicationConfiguration.g:7392:1: ( 'real' ) + // InternalApplicationConfiguration.g:7651:1: ( ( 'real' ) ) + // InternalApplicationConfiguration.g:7652:1: ( 'real' ) { - // InternalApplicationConfiguration.g:7392:1: ( 'real' ) - // InternalApplicationConfiguration.g:7393:2: 'real' + // InternalApplicationConfiguration.g:7652:1: ( 'real' ) + // InternalApplicationConfiguration.g:7653:2: 'real' { before(grammarAccess.getRealReferenceAccess().getRealKeyword_1()); - match(input,49,FOLLOW_2); + match(input,51,FOLLOW_2); after(grammarAccess.getRealReferenceAccess().getRealKeyword_1()); } @@ -23158,16 +23963,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__StringReference__Group__0" - // InternalApplicationConfiguration.g:7403:1: rule__StringReference__Group__0 : rule__StringReference__Group__0__Impl rule__StringReference__Group__1 ; + // InternalApplicationConfiguration.g:7663:1: rule__StringReference__Group__0 : rule__StringReference__Group__0__Impl rule__StringReference__Group__1 ; public final void rule__StringReference__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7407:1: ( rule__StringReference__Group__0__Impl rule__StringReference__Group__1 ) - // InternalApplicationConfiguration.g:7408:2: rule__StringReference__Group__0__Impl rule__StringReference__Group__1 + // InternalApplicationConfiguration.g:7667:1: ( rule__StringReference__Group__0__Impl rule__StringReference__Group__1 ) + // InternalApplicationConfiguration.g:7668:2: rule__StringReference__Group__0__Impl rule__StringReference__Group__1 { - pushFollow(FOLLOW_39); + pushFollow(FOLLOW_40); rule__StringReference__Group__0__Impl(); state._fsp--; @@ -23196,21 +24001,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__StringReference__Group__0__Impl" - // InternalApplicationConfiguration.g:7415:1: rule__StringReference__Group__0__Impl : ( () ) ; + // InternalApplicationConfiguration.g:7675:1: rule__StringReference__Group__0__Impl : ( () ) ; public final void rule__StringReference__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7419:1: ( ( () ) ) - // InternalApplicationConfiguration.g:7420:1: ( () ) + // InternalApplicationConfiguration.g:7679:1: ( ( () ) ) + // InternalApplicationConfiguration.g:7680:1: ( () ) { - // InternalApplicationConfiguration.g:7420:1: ( () ) - // InternalApplicationConfiguration.g:7421:2: () + // InternalApplicationConfiguration.g:7680:1: ( () ) + // InternalApplicationConfiguration.g:7681:2: () { before(grammarAccess.getStringReferenceAccess().getStringScopeAction_0()); - // InternalApplicationConfiguration.g:7422:2: () - // InternalApplicationConfiguration.g:7422:3: + // InternalApplicationConfiguration.g:7682:2: () + // InternalApplicationConfiguration.g:7682:3: { } @@ -23233,14 +24038,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__StringReference__Group__1" - // InternalApplicationConfiguration.g:7430:1: rule__StringReference__Group__1 : rule__StringReference__Group__1__Impl ; + // InternalApplicationConfiguration.g:7690:1: rule__StringReference__Group__1 : rule__StringReference__Group__1__Impl ; public final void rule__StringReference__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7434:1: ( rule__StringReference__Group__1__Impl ) - // InternalApplicationConfiguration.g:7435:2: rule__StringReference__Group__1__Impl + // InternalApplicationConfiguration.g:7694:1: ( rule__StringReference__Group__1__Impl ) + // InternalApplicationConfiguration.g:7695:2: rule__StringReference__Group__1__Impl { pushFollow(FOLLOW_2); rule__StringReference__Group__1__Impl(); @@ -23266,20 +24071,20 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__StringReference__Group__1__Impl" - // InternalApplicationConfiguration.g:7441:1: rule__StringReference__Group__1__Impl : ( 'string' ) ; + // InternalApplicationConfiguration.g:7701:1: rule__StringReference__Group__1__Impl : ( 'string' ) ; public final void rule__StringReference__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7445:1: ( ( 'string' ) ) - // InternalApplicationConfiguration.g:7446:1: ( 'string' ) + // InternalApplicationConfiguration.g:7705:1: ( ( 'string' ) ) + // InternalApplicationConfiguration.g:7706:1: ( 'string' ) { - // InternalApplicationConfiguration.g:7446:1: ( 'string' ) - // InternalApplicationConfiguration.g:7447:2: 'string' + // InternalApplicationConfiguration.g:7706:1: ( 'string' ) + // InternalApplicationConfiguration.g:7707:2: 'string' { before(grammarAccess.getStringReferenceAccess().getStringKeyword_1()); - match(input,50,FOLLOW_2); + match(input,52,FOLLOW_2); after(grammarAccess.getStringReferenceAccess().getStringKeyword_1()); } @@ -23303,16 +24108,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__IntervallNumber__Group__0" - // InternalApplicationConfiguration.g:7457:1: rule__IntervallNumber__Group__0 : rule__IntervallNumber__Group__0__Impl rule__IntervallNumber__Group__1 ; + // InternalApplicationConfiguration.g:7717:1: rule__IntervallNumber__Group__0 : rule__IntervallNumber__Group__0__Impl rule__IntervallNumber__Group__1 ; public final void rule__IntervallNumber__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7461:1: ( rule__IntervallNumber__Group__0__Impl rule__IntervallNumber__Group__1 ) - // InternalApplicationConfiguration.g:7462:2: rule__IntervallNumber__Group__0__Impl rule__IntervallNumber__Group__1 + // InternalApplicationConfiguration.g:7721:1: ( rule__IntervallNumber__Group__0__Impl rule__IntervallNumber__Group__1 ) + // InternalApplicationConfiguration.g:7722:2: rule__IntervallNumber__Group__0__Impl rule__IntervallNumber__Group__1 { - pushFollow(FOLLOW_41); + pushFollow(FOLLOW_42); rule__IntervallNumber__Group__0__Impl(); state._fsp--; @@ -23341,21 +24146,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__IntervallNumber__Group__0__Impl" - // InternalApplicationConfiguration.g:7469:1: rule__IntervallNumber__Group__0__Impl : ( ( rule__IntervallNumber__MinAssignment_0 ) ) ; + // InternalApplicationConfiguration.g:7729:1: rule__IntervallNumber__Group__0__Impl : ( ( rule__IntervallNumber__MinAssignment_0 ) ) ; public final void rule__IntervallNumber__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7473:1: ( ( ( rule__IntervallNumber__MinAssignment_0 ) ) ) - // InternalApplicationConfiguration.g:7474:1: ( ( rule__IntervallNumber__MinAssignment_0 ) ) + // InternalApplicationConfiguration.g:7733:1: ( ( ( rule__IntervallNumber__MinAssignment_0 ) ) ) + // InternalApplicationConfiguration.g:7734:1: ( ( rule__IntervallNumber__MinAssignment_0 ) ) { - // InternalApplicationConfiguration.g:7474:1: ( ( rule__IntervallNumber__MinAssignment_0 ) ) - // InternalApplicationConfiguration.g:7475:2: ( rule__IntervallNumber__MinAssignment_0 ) + // InternalApplicationConfiguration.g:7734:1: ( ( rule__IntervallNumber__MinAssignment_0 ) ) + // InternalApplicationConfiguration.g:7735:2: ( rule__IntervallNumber__MinAssignment_0 ) { before(grammarAccess.getIntervallNumberAccess().getMinAssignment_0()); - // InternalApplicationConfiguration.g:7476:2: ( rule__IntervallNumber__MinAssignment_0 ) - // InternalApplicationConfiguration.g:7476:3: rule__IntervallNumber__MinAssignment_0 + // InternalApplicationConfiguration.g:7736:2: ( rule__IntervallNumber__MinAssignment_0 ) + // InternalApplicationConfiguration.g:7736:3: rule__IntervallNumber__MinAssignment_0 { pushFollow(FOLLOW_2); rule__IntervallNumber__MinAssignment_0(); @@ -23388,16 +24193,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__IntervallNumber__Group__1" - // InternalApplicationConfiguration.g:7484:1: rule__IntervallNumber__Group__1 : rule__IntervallNumber__Group__1__Impl rule__IntervallNumber__Group__2 ; + // InternalApplicationConfiguration.g:7744:1: rule__IntervallNumber__Group__1 : rule__IntervallNumber__Group__1__Impl rule__IntervallNumber__Group__2 ; public final void rule__IntervallNumber__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7488:1: ( rule__IntervallNumber__Group__1__Impl rule__IntervallNumber__Group__2 ) - // InternalApplicationConfiguration.g:7489:2: rule__IntervallNumber__Group__1__Impl rule__IntervallNumber__Group__2 + // InternalApplicationConfiguration.g:7748:1: ( rule__IntervallNumber__Group__1__Impl rule__IntervallNumber__Group__2 ) + // InternalApplicationConfiguration.g:7749:2: rule__IntervallNumber__Group__1__Impl rule__IntervallNumber__Group__2 { - pushFollow(FOLLOW_34); + pushFollow(FOLLOW_35); rule__IntervallNumber__Group__1__Impl(); state._fsp--; @@ -23426,20 +24231,20 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__IntervallNumber__Group__1__Impl" - // InternalApplicationConfiguration.g:7496:1: rule__IntervallNumber__Group__1__Impl : ( '..' ) ; + // InternalApplicationConfiguration.g:7756:1: rule__IntervallNumber__Group__1__Impl : ( '..' ) ; public final void rule__IntervallNumber__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7500:1: ( ( '..' ) ) - // InternalApplicationConfiguration.g:7501:1: ( '..' ) + // InternalApplicationConfiguration.g:7760:1: ( ( '..' ) ) + // InternalApplicationConfiguration.g:7761:1: ( '..' ) { - // InternalApplicationConfiguration.g:7501:1: ( '..' ) - // InternalApplicationConfiguration.g:7502:2: '..' + // InternalApplicationConfiguration.g:7761:1: ( '..' ) + // InternalApplicationConfiguration.g:7762:2: '..' { before(grammarAccess.getIntervallNumberAccess().getFullStopFullStopKeyword_1()); - match(input,51,FOLLOW_2); + match(input,53,FOLLOW_2); after(grammarAccess.getIntervallNumberAccess().getFullStopFullStopKeyword_1()); } @@ -23463,14 +24268,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__IntervallNumber__Group__2" - // InternalApplicationConfiguration.g:7511:1: rule__IntervallNumber__Group__2 : rule__IntervallNumber__Group__2__Impl ; + // InternalApplicationConfiguration.g:7771:1: rule__IntervallNumber__Group__2 : rule__IntervallNumber__Group__2__Impl ; public final void rule__IntervallNumber__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7515:1: ( rule__IntervallNumber__Group__2__Impl ) - // InternalApplicationConfiguration.g:7516:2: rule__IntervallNumber__Group__2__Impl + // InternalApplicationConfiguration.g:7775:1: ( rule__IntervallNumber__Group__2__Impl ) + // InternalApplicationConfiguration.g:7776:2: rule__IntervallNumber__Group__2__Impl { pushFollow(FOLLOW_2); rule__IntervallNumber__Group__2__Impl(); @@ -23496,21 +24301,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__IntervallNumber__Group__2__Impl" - // InternalApplicationConfiguration.g:7522:1: rule__IntervallNumber__Group__2__Impl : ( ( rule__IntervallNumber__Alternatives_2 ) ) ; + // InternalApplicationConfiguration.g:7782:1: rule__IntervallNumber__Group__2__Impl : ( ( rule__IntervallNumber__Alternatives_2 ) ) ; public final void rule__IntervallNumber__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7526:1: ( ( ( rule__IntervallNumber__Alternatives_2 ) ) ) - // InternalApplicationConfiguration.g:7527:1: ( ( rule__IntervallNumber__Alternatives_2 ) ) + // InternalApplicationConfiguration.g:7786:1: ( ( ( rule__IntervallNumber__Alternatives_2 ) ) ) + // InternalApplicationConfiguration.g:7787:1: ( ( rule__IntervallNumber__Alternatives_2 ) ) { - // InternalApplicationConfiguration.g:7527:1: ( ( rule__IntervallNumber__Alternatives_2 ) ) - // InternalApplicationConfiguration.g:7528:2: ( rule__IntervallNumber__Alternatives_2 ) + // InternalApplicationConfiguration.g:7787:1: ( ( rule__IntervallNumber__Alternatives_2 ) ) + // InternalApplicationConfiguration.g:7788:2: ( rule__IntervallNumber__Alternatives_2 ) { before(grammarAccess.getIntervallNumberAccess().getAlternatives_2()); - // InternalApplicationConfiguration.g:7529:2: ( rule__IntervallNumber__Alternatives_2 ) - // InternalApplicationConfiguration.g:7529:3: rule__IntervallNumber__Alternatives_2 + // InternalApplicationConfiguration.g:7789:2: ( rule__IntervallNumber__Alternatives_2 ) + // InternalApplicationConfiguration.g:7789:3: rule__IntervallNumber__Alternatives_2 { pushFollow(FOLLOW_2); rule__IntervallNumber__Alternatives_2(); @@ -23543,16 +24348,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__IntEnumberation__Group__0" - // InternalApplicationConfiguration.g:7538:1: rule__IntEnumberation__Group__0 : rule__IntEnumberation__Group__0__Impl rule__IntEnumberation__Group__1 ; + // InternalApplicationConfiguration.g:7798:1: rule__IntEnumberation__Group__0 : rule__IntEnumberation__Group__0__Impl rule__IntEnumberation__Group__1 ; public final void rule__IntEnumberation__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7542:1: ( rule__IntEnumberation__Group__0__Impl rule__IntEnumberation__Group__1 ) - // InternalApplicationConfiguration.g:7543:2: rule__IntEnumberation__Group__0__Impl rule__IntEnumberation__Group__1 + // InternalApplicationConfiguration.g:7802:1: ( rule__IntEnumberation__Group__0__Impl rule__IntEnumberation__Group__1 ) + // InternalApplicationConfiguration.g:7803:2: rule__IntEnumberation__Group__0__Impl rule__IntEnumberation__Group__1 { - pushFollow(FOLLOW_37); + pushFollow(FOLLOW_38); rule__IntEnumberation__Group__0__Impl(); state._fsp--; @@ -23581,21 +24386,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__IntEnumberation__Group__0__Impl" - // InternalApplicationConfiguration.g:7550:1: rule__IntEnumberation__Group__0__Impl : ( () ) ; + // InternalApplicationConfiguration.g:7810:1: rule__IntEnumberation__Group__0__Impl : ( () ) ; public final void rule__IntEnumberation__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7554:1: ( ( () ) ) - // InternalApplicationConfiguration.g:7555:1: ( () ) + // InternalApplicationConfiguration.g:7814:1: ( ( () ) ) + // InternalApplicationConfiguration.g:7815:1: ( () ) { - // InternalApplicationConfiguration.g:7555:1: ( () ) - // InternalApplicationConfiguration.g:7556:2: () + // InternalApplicationConfiguration.g:7815:1: ( () ) + // InternalApplicationConfiguration.g:7816:2: () { before(grammarAccess.getIntEnumberationAccess().getIntEnumberationAction_0()); - // InternalApplicationConfiguration.g:7557:2: () - // InternalApplicationConfiguration.g:7557:3: + // InternalApplicationConfiguration.g:7817:2: () + // InternalApplicationConfiguration.g:7817:3: { } @@ -23618,16 +24423,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__IntEnumberation__Group__1" - // InternalApplicationConfiguration.g:7565:1: rule__IntEnumberation__Group__1 : rule__IntEnumberation__Group__1__Impl rule__IntEnumberation__Group__2 ; + // InternalApplicationConfiguration.g:7825:1: rule__IntEnumberation__Group__1 : rule__IntEnumberation__Group__1__Impl rule__IntEnumberation__Group__2 ; public final void rule__IntEnumberation__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7569:1: ( rule__IntEnumberation__Group__1__Impl rule__IntEnumberation__Group__2 ) - // InternalApplicationConfiguration.g:7570:2: rule__IntEnumberation__Group__1__Impl rule__IntEnumberation__Group__2 + // InternalApplicationConfiguration.g:7829:1: ( rule__IntEnumberation__Group__1__Impl rule__IntEnumberation__Group__2 ) + // InternalApplicationConfiguration.g:7830:2: rule__IntEnumberation__Group__1__Impl rule__IntEnumberation__Group__2 { - pushFollow(FOLLOW_42); + pushFollow(FOLLOW_43); rule__IntEnumberation__Group__1__Impl(); state._fsp--; @@ -23656,17 +24461,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__IntEnumberation__Group__1__Impl" - // InternalApplicationConfiguration.g:7577:1: rule__IntEnumberation__Group__1__Impl : ( '{' ) ; + // InternalApplicationConfiguration.g:7837:1: rule__IntEnumberation__Group__1__Impl : ( '{' ) ; public final void rule__IntEnumberation__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7581:1: ( ( '{' ) ) - // InternalApplicationConfiguration.g:7582:1: ( '{' ) + // InternalApplicationConfiguration.g:7841:1: ( ( '{' ) ) + // InternalApplicationConfiguration.g:7842:1: ( '{' ) { - // InternalApplicationConfiguration.g:7582:1: ( '{' ) - // InternalApplicationConfiguration.g:7583:2: '{' + // InternalApplicationConfiguration.g:7842:1: ( '{' ) + // InternalApplicationConfiguration.g:7843:2: '{' { before(grammarAccess.getIntEnumberationAccess().getLeftCurlyBracketKeyword_1()); match(input,29,FOLLOW_2); @@ -23693,16 +24498,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__IntEnumberation__Group__2" - // InternalApplicationConfiguration.g:7592:1: rule__IntEnumberation__Group__2 : rule__IntEnumberation__Group__2__Impl rule__IntEnumberation__Group__3 ; + // InternalApplicationConfiguration.g:7852:1: rule__IntEnumberation__Group__2 : rule__IntEnumberation__Group__2__Impl rule__IntEnumberation__Group__3 ; public final void rule__IntEnumberation__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7596:1: ( rule__IntEnumberation__Group__2__Impl rule__IntEnumberation__Group__3 ) - // InternalApplicationConfiguration.g:7597:2: rule__IntEnumberation__Group__2__Impl rule__IntEnumberation__Group__3 + // InternalApplicationConfiguration.g:7856:1: ( rule__IntEnumberation__Group__2__Impl rule__IntEnumberation__Group__3 ) + // InternalApplicationConfiguration.g:7857:2: rule__IntEnumberation__Group__2__Impl rule__IntEnumberation__Group__3 { - pushFollow(FOLLOW_42); + pushFollow(FOLLOW_43); rule__IntEnumberation__Group__2__Impl(); state._fsp--; @@ -23731,29 +24536,29 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__IntEnumberation__Group__2__Impl" - // InternalApplicationConfiguration.g:7604:1: rule__IntEnumberation__Group__2__Impl : ( ( rule__IntEnumberation__Group_2__0 )? ) ; + // InternalApplicationConfiguration.g:7864:1: rule__IntEnumberation__Group__2__Impl : ( ( rule__IntEnumberation__Group_2__0 )? ) ; public final void rule__IntEnumberation__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7608:1: ( ( ( rule__IntEnumberation__Group_2__0 )? ) ) - // InternalApplicationConfiguration.g:7609:1: ( ( rule__IntEnumberation__Group_2__0 )? ) + // InternalApplicationConfiguration.g:7868:1: ( ( ( rule__IntEnumberation__Group_2__0 )? ) ) + // InternalApplicationConfiguration.g:7869:1: ( ( rule__IntEnumberation__Group_2__0 )? ) { - // InternalApplicationConfiguration.g:7609:1: ( ( rule__IntEnumberation__Group_2__0 )? ) - // InternalApplicationConfiguration.g:7610:2: ( rule__IntEnumberation__Group_2__0 )? + // InternalApplicationConfiguration.g:7869:1: ( ( rule__IntEnumberation__Group_2__0 )? ) + // InternalApplicationConfiguration.g:7870:2: ( rule__IntEnumberation__Group_2__0 )? { before(grammarAccess.getIntEnumberationAccess().getGroup_2()); - // InternalApplicationConfiguration.g:7611:2: ( rule__IntEnumberation__Group_2__0 )? - int alt56=2; - int LA56_0 = input.LA(1); + // InternalApplicationConfiguration.g:7871:2: ( rule__IntEnumberation__Group_2__0 )? + int alt58=2; + int LA58_0 = input.LA(1); - if ( (LA56_0==RULE_INT||LA56_0==22) ) { - alt56=1; + if ( (LA58_0==RULE_INT||LA58_0==22) ) { + alt58=1; } - switch (alt56) { + switch (alt58) { case 1 : - // InternalApplicationConfiguration.g:7611:3: rule__IntEnumberation__Group_2__0 + // InternalApplicationConfiguration.g:7871:3: rule__IntEnumberation__Group_2__0 { pushFollow(FOLLOW_2); rule__IntEnumberation__Group_2__0(); @@ -23789,14 +24594,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__IntEnumberation__Group__3" - // InternalApplicationConfiguration.g:7619:1: rule__IntEnumberation__Group__3 : rule__IntEnumberation__Group__3__Impl ; + // InternalApplicationConfiguration.g:7879:1: rule__IntEnumberation__Group__3 : rule__IntEnumberation__Group__3__Impl ; public final void rule__IntEnumberation__Group__3() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7623:1: ( rule__IntEnumberation__Group__3__Impl ) - // InternalApplicationConfiguration.g:7624:2: rule__IntEnumberation__Group__3__Impl + // InternalApplicationConfiguration.g:7883:1: ( rule__IntEnumberation__Group__3__Impl ) + // InternalApplicationConfiguration.g:7884:2: rule__IntEnumberation__Group__3__Impl { pushFollow(FOLLOW_2); rule__IntEnumberation__Group__3__Impl(); @@ -23822,17 +24627,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__IntEnumberation__Group__3__Impl" - // InternalApplicationConfiguration.g:7630:1: rule__IntEnumberation__Group__3__Impl : ( '}' ) ; + // InternalApplicationConfiguration.g:7890:1: rule__IntEnumberation__Group__3__Impl : ( '}' ) ; public final void rule__IntEnumberation__Group__3__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7634:1: ( ( '}' ) ) - // InternalApplicationConfiguration.g:7635:1: ( '}' ) + // InternalApplicationConfiguration.g:7894:1: ( ( '}' ) ) + // InternalApplicationConfiguration.g:7895:1: ( '}' ) { - // InternalApplicationConfiguration.g:7635:1: ( '}' ) - // InternalApplicationConfiguration.g:7636:2: '}' + // InternalApplicationConfiguration.g:7895:1: ( '}' ) + // InternalApplicationConfiguration.g:7896:2: '}' { before(grammarAccess.getIntEnumberationAccess().getRightCurlyBracketKeyword_3()); match(input,30,FOLLOW_2); @@ -23859,16 +24664,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__IntEnumberation__Group_2__0" - // InternalApplicationConfiguration.g:7646:1: rule__IntEnumberation__Group_2__0 : rule__IntEnumberation__Group_2__0__Impl rule__IntEnumberation__Group_2__1 ; + // InternalApplicationConfiguration.g:7906:1: rule__IntEnumberation__Group_2__0 : rule__IntEnumberation__Group_2__0__Impl rule__IntEnumberation__Group_2__1 ; public final void rule__IntEnumberation__Group_2__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7650:1: ( rule__IntEnumberation__Group_2__0__Impl rule__IntEnumberation__Group_2__1 ) - // InternalApplicationConfiguration.g:7651:2: rule__IntEnumberation__Group_2__0__Impl rule__IntEnumberation__Group_2__1 + // InternalApplicationConfiguration.g:7910:1: ( rule__IntEnumberation__Group_2__0__Impl rule__IntEnumberation__Group_2__1 ) + // InternalApplicationConfiguration.g:7911:2: rule__IntEnumberation__Group_2__0__Impl rule__IntEnumberation__Group_2__1 { - pushFollow(FOLLOW_27); + pushFollow(FOLLOW_28); rule__IntEnumberation__Group_2__0__Impl(); state._fsp--; @@ -23897,21 +24702,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__IntEnumberation__Group_2__0__Impl" - // InternalApplicationConfiguration.g:7658:1: rule__IntEnumberation__Group_2__0__Impl : ( ( rule__IntEnumberation__EntryAssignment_2_0 ) ) ; + // InternalApplicationConfiguration.g:7918:1: rule__IntEnumberation__Group_2__0__Impl : ( ( rule__IntEnumberation__EntryAssignment_2_0 ) ) ; public final void rule__IntEnumberation__Group_2__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7662:1: ( ( ( rule__IntEnumberation__EntryAssignment_2_0 ) ) ) - // InternalApplicationConfiguration.g:7663:1: ( ( rule__IntEnumberation__EntryAssignment_2_0 ) ) + // InternalApplicationConfiguration.g:7922:1: ( ( ( rule__IntEnumberation__EntryAssignment_2_0 ) ) ) + // InternalApplicationConfiguration.g:7923:1: ( ( rule__IntEnumberation__EntryAssignment_2_0 ) ) { - // InternalApplicationConfiguration.g:7663:1: ( ( rule__IntEnumberation__EntryAssignment_2_0 ) ) - // InternalApplicationConfiguration.g:7664:2: ( rule__IntEnumberation__EntryAssignment_2_0 ) + // InternalApplicationConfiguration.g:7923:1: ( ( rule__IntEnumberation__EntryAssignment_2_0 ) ) + // InternalApplicationConfiguration.g:7924:2: ( rule__IntEnumberation__EntryAssignment_2_0 ) { before(grammarAccess.getIntEnumberationAccess().getEntryAssignment_2_0()); - // InternalApplicationConfiguration.g:7665:2: ( rule__IntEnumberation__EntryAssignment_2_0 ) - // InternalApplicationConfiguration.g:7665:3: rule__IntEnumberation__EntryAssignment_2_0 + // InternalApplicationConfiguration.g:7925:2: ( rule__IntEnumberation__EntryAssignment_2_0 ) + // InternalApplicationConfiguration.g:7925:3: rule__IntEnumberation__EntryAssignment_2_0 { pushFollow(FOLLOW_2); rule__IntEnumberation__EntryAssignment_2_0(); @@ -23944,14 +24749,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__IntEnumberation__Group_2__1" - // InternalApplicationConfiguration.g:7673:1: rule__IntEnumberation__Group_2__1 : rule__IntEnumberation__Group_2__1__Impl ; + // InternalApplicationConfiguration.g:7933:1: rule__IntEnumberation__Group_2__1 : rule__IntEnumberation__Group_2__1__Impl ; public final void rule__IntEnumberation__Group_2__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7677:1: ( rule__IntEnumberation__Group_2__1__Impl ) - // InternalApplicationConfiguration.g:7678:2: rule__IntEnumberation__Group_2__1__Impl + // InternalApplicationConfiguration.g:7937:1: ( rule__IntEnumberation__Group_2__1__Impl ) + // InternalApplicationConfiguration.g:7938:2: rule__IntEnumberation__Group_2__1__Impl { pushFollow(FOLLOW_2); rule__IntEnumberation__Group_2__1__Impl(); @@ -23977,33 +24782,33 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__IntEnumberation__Group_2__1__Impl" - // InternalApplicationConfiguration.g:7684:1: rule__IntEnumberation__Group_2__1__Impl : ( ( rule__IntEnumberation__Group_2_1__0 )* ) ; + // InternalApplicationConfiguration.g:7944:1: rule__IntEnumberation__Group_2__1__Impl : ( ( rule__IntEnumberation__Group_2_1__0 )* ) ; public final void rule__IntEnumberation__Group_2__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7688:1: ( ( ( rule__IntEnumberation__Group_2_1__0 )* ) ) - // InternalApplicationConfiguration.g:7689:1: ( ( rule__IntEnumberation__Group_2_1__0 )* ) + // InternalApplicationConfiguration.g:7948:1: ( ( ( rule__IntEnumberation__Group_2_1__0 )* ) ) + // InternalApplicationConfiguration.g:7949:1: ( ( rule__IntEnumberation__Group_2_1__0 )* ) { - // InternalApplicationConfiguration.g:7689:1: ( ( rule__IntEnumberation__Group_2_1__0 )* ) - // InternalApplicationConfiguration.g:7690:2: ( rule__IntEnumberation__Group_2_1__0 )* + // InternalApplicationConfiguration.g:7949:1: ( ( rule__IntEnumberation__Group_2_1__0 )* ) + // InternalApplicationConfiguration.g:7950:2: ( rule__IntEnumberation__Group_2_1__0 )* { before(grammarAccess.getIntEnumberationAccess().getGroup_2_1()); - // InternalApplicationConfiguration.g:7691:2: ( rule__IntEnumberation__Group_2_1__0 )* - loop57: + // InternalApplicationConfiguration.g:7951:2: ( rule__IntEnumberation__Group_2_1__0 )* + loop59: do { - int alt57=2; - int LA57_0 = input.LA(1); + int alt59=2; + int LA59_0 = input.LA(1); - if ( (LA57_0==31) ) { - alt57=1; + if ( (LA59_0==31) ) { + alt59=1; } - switch (alt57) { + switch (alt59) { case 1 : - // InternalApplicationConfiguration.g:7691:3: rule__IntEnumberation__Group_2_1__0 + // InternalApplicationConfiguration.g:7951:3: rule__IntEnumberation__Group_2_1__0 { pushFollow(FOLLOW_17); rule__IntEnumberation__Group_2_1__0(); @@ -24015,7 +24820,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont break; default : - break loop57; + break loop59; } } while (true); @@ -24042,14 +24847,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__IntEnumberation__Group_2_1__0" - // InternalApplicationConfiguration.g:7700:1: rule__IntEnumberation__Group_2_1__0 : rule__IntEnumberation__Group_2_1__0__Impl rule__IntEnumberation__Group_2_1__1 ; + // InternalApplicationConfiguration.g:7960:1: rule__IntEnumberation__Group_2_1__0 : rule__IntEnumberation__Group_2_1__0__Impl rule__IntEnumberation__Group_2_1__1 ; public final void rule__IntEnumberation__Group_2_1__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7704:1: ( rule__IntEnumberation__Group_2_1__0__Impl rule__IntEnumberation__Group_2_1__1 ) - // InternalApplicationConfiguration.g:7705:2: rule__IntEnumberation__Group_2_1__0__Impl rule__IntEnumberation__Group_2_1__1 + // InternalApplicationConfiguration.g:7964:1: ( rule__IntEnumberation__Group_2_1__0__Impl rule__IntEnumberation__Group_2_1__1 ) + // InternalApplicationConfiguration.g:7965:2: rule__IntEnumberation__Group_2_1__0__Impl rule__IntEnumberation__Group_2_1__1 { pushFollow(FOLLOW_25); rule__IntEnumberation__Group_2_1__0__Impl(); @@ -24080,17 +24885,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__IntEnumberation__Group_2_1__0__Impl" - // InternalApplicationConfiguration.g:7712:1: rule__IntEnumberation__Group_2_1__0__Impl : ( ',' ) ; + // InternalApplicationConfiguration.g:7972:1: rule__IntEnumberation__Group_2_1__0__Impl : ( ',' ) ; public final void rule__IntEnumberation__Group_2_1__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7716:1: ( ( ',' ) ) - // InternalApplicationConfiguration.g:7717:1: ( ',' ) + // InternalApplicationConfiguration.g:7976:1: ( ( ',' ) ) + // InternalApplicationConfiguration.g:7977:1: ( ',' ) { - // InternalApplicationConfiguration.g:7717:1: ( ',' ) - // InternalApplicationConfiguration.g:7718:2: ',' + // InternalApplicationConfiguration.g:7977:1: ( ',' ) + // InternalApplicationConfiguration.g:7978:2: ',' { before(grammarAccess.getIntEnumberationAccess().getCommaKeyword_2_1_0()); match(input,31,FOLLOW_2); @@ -24117,14 +24922,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__IntEnumberation__Group_2_1__1" - // InternalApplicationConfiguration.g:7727:1: rule__IntEnumberation__Group_2_1__1 : rule__IntEnumberation__Group_2_1__1__Impl ; + // InternalApplicationConfiguration.g:7987:1: rule__IntEnumberation__Group_2_1__1 : rule__IntEnumberation__Group_2_1__1__Impl ; public final void rule__IntEnumberation__Group_2_1__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7731:1: ( rule__IntEnumberation__Group_2_1__1__Impl ) - // InternalApplicationConfiguration.g:7732:2: rule__IntEnumberation__Group_2_1__1__Impl + // InternalApplicationConfiguration.g:7991:1: ( rule__IntEnumberation__Group_2_1__1__Impl ) + // InternalApplicationConfiguration.g:7992:2: rule__IntEnumberation__Group_2_1__1__Impl { pushFollow(FOLLOW_2); rule__IntEnumberation__Group_2_1__1__Impl(); @@ -24150,21 +24955,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__IntEnumberation__Group_2_1__1__Impl" - // InternalApplicationConfiguration.g:7738:1: rule__IntEnumberation__Group_2_1__1__Impl : ( ( rule__IntEnumberation__EntryAssignment_2_1_1 ) ) ; + // InternalApplicationConfiguration.g:7998:1: rule__IntEnumberation__Group_2_1__1__Impl : ( ( rule__IntEnumberation__EntryAssignment_2_1_1 ) ) ; public final void rule__IntEnumberation__Group_2_1__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7742:1: ( ( ( rule__IntEnumberation__EntryAssignment_2_1_1 ) ) ) - // InternalApplicationConfiguration.g:7743:1: ( ( rule__IntEnumberation__EntryAssignment_2_1_1 ) ) + // InternalApplicationConfiguration.g:8002:1: ( ( ( rule__IntEnumberation__EntryAssignment_2_1_1 ) ) ) + // InternalApplicationConfiguration.g:8003:1: ( ( rule__IntEnumberation__EntryAssignment_2_1_1 ) ) { - // InternalApplicationConfiguration.g:7743:1: ( ( rule__IntEnumberation__EntryAssignment_2_1_1 ) ) - // InternalApplicationConfiguration.g:7744:2: ( rule__IntEnumberation__EntryAssignment_2_1_1 ) + // InternalApplicationConfiguration.g:8003:1: ( ( rule__IntEnumberation__EntryAssignment_2_1_1 ) ) + // InternalApplicationConfiguration.g:8004:2: ( rule__IntEnumberation__EntryAssignment_2_1_1 ) { before(grammarAccess.getIntEnumberationAccess().getEntryAssignment_2_1_1()); - // InternalApplicationConfiguration.g:7745:2: ( rule__IntEnumberation__EntryAssignment_2_1_1 ) - // InternalApplicationConfiguration.g:7745:3: rule__IntEnumberation__EntryAssignment_2_1_1 + // InternalApplicationConfiguration.g:8005:2: ( rule__IntEnumberation__EntryAssignment_2_1_1 ) + // InternalApplicationConfiguration.g:8005:3: rule__IntEnumberation__EntryAssignment_2_1_1 { pushFollow(FOLLOW_2); rule__IntEnumberation__EntryAssignment_2_1_1(); @@ -24197,16 +25002,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__RealEnumeration__Group__0" - // InternalApplicationConfiguration.g:7754:1: rule__RealEnumeration__Group__0 : rule__RealEnumeration__Group__0__Impl rule__RealEnumeration__Group__1 ; + // InternalApplicationConfiguration.g:8014:1: rule__RealEnumeration__Group__0 : rule__RealEnumeration__Group__0__Impl rule__RealEnumeration__Group__1 ; public final void rule__RealEnumeration__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7758:1: ( rule__RealEnumeration__Group__0__Impl rule__RealEnumeration__Group__1 ) - // InternalApplicationConfiguration.g:7759:2: rule__RealEnumeration__Group__0__Impl rule__RealEnumeration__Group__1 + // InternalApplicationConfiguration.g:8018:1: ( rule__RealEnumeration__Group__0__Impl rule__RealEnumeration__Group__1 ) + // InternalApplicationConfiguration.g:8019:2: rule__RealEnumeration__Group__0__Impl rule__RealEnumeration__Group__1 { - pushFollow(FOLLOW_37); + pushFollow(FOLLOW_38); rule__RealEnumeration__Group__0__Impl(); state._fsp--; @@ -24235,21 +25040,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__RealEnumeration__Group__0__Impl" - // InternalApplicationConfiguration.g:7766:1: rule__RealEnumeration__Group__0__Impl : ( () ) ; + // InternalApplicationConfiguration.g:8026:1: rule__RealEnumeration__Group__0__Impl : ( () ) ; public final void rule__RealEnumeration__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7770:1: ( ( () ) ) - // InternalApplicationConfiguration.g:7771:1: ( () ) + // InternalApplicationConfiguration.g:8030:1: ( ( () ) ) + // InternalApplicationConfiguration.g:8031:1: ( () ) { - // InternalApplicationConfiguration.g:7771:1: ( () ) - // InternalApplicationConfiguration.g:7772:2: () + // InternalApplicationConfiguration.g:8031:1: ( () ) + // InternalApplicationConfiguration.g:8032:2: () { before(grammarAccess.getRealEnumerationAccess().getRealEnumerationAction_0()); - // InternalApplicationConfiguration.g:7773:2: () - // InternalApplicationConfiguration.g:7773:3: + // InternalApplicationConfiguration.g:8033:2: () + // InternalApplicationConfiguration.g:8033:3: { } @@ -24272,16 +25077,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__RealEnumeration__Group__1" - // InternalApplicationConfiguration.g:7781:1: rule__RealEnumeration__Group__1 : rule__RealEnumeration__Group__1__Impl rule__RealEnumeration__Group__2 ; + // InternalApplicationConfiguration.g:8041:1: rule__RealEnumeration__Group__1 : rule__RealEnumeration__Group__1__Impl rule__RealEnumeration__Group__2 ; public final void rule__RealEnumeration__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7785:1: ( rule__RealEnumeration__Group__1__Impl rule__RealEnumeration__Group__2 ) - // InternalApplicationConfiguration.g:7786:2: rule__RealEnumeration__Group__1__Impl rule__RealEnumeration__Group__2 + // InternalApplicationConfiguration.g:8045:1: ( rule__RealEnumeration__Group__1__Impl rule__RealEnumeration__Group__2 ) + // InternalApplicationConfiguration.g:8046:2: rule__RealEnumeration__Group__1__Impl rule__RealEnumeration__Group__2 { - pushFollow(FOLLOW_42); + pushFollow(FOLLOW_43); rule__RealEnumeration__Group__1__Impl(); state._fsp--; @@ -24310,17 +25115,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__RealEnumeration__Group__1__Impl" - // InternalApplicationConfiguration.g:7793:1: rule__RealEnumeration__Group__1__Impl : ( '{' ) ; + // InternalApplicationConfiguration.g:8053:1: rule__RealEnumeration__Group__1__Impl : ( '{' ) ; public final void rule__RealEnumeration__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7797:1: ( ( '{' ) ) - // InternalApplicationConfiguration.g:7798:1: ( '{' ) + // InternalApplicationConfiguration.g:8057:1: ( ( '{' ) ) + // InternalApplicationConfiguration.g:8058:1: ( '{' ) { - // InternalApplicationConfiguration.g:7798:1: ( '{' ) - // InternalApplicationConfiguration.g:7799:2: '{' + // InternalApplicationConfiguration.g:8058:1: ( '{' ) + // InternalApplicationConfiguration.g:8059:2: '{' { before(grammarAccess.getRealEnumerationAccess().getLeftCurlyBracketKeyword_1()); match(input,29,FOLLOW_2); @@ -24347,16 +25152,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__RealEnumeration__Group__2" - // InternalApplicationConfiguration.g:7808:1: rule__RealEnumeration__Group__2 : rule__RealEnumeration__Group__2__Impl rule__RealEnumeration__Group__3 ; + // InternalApplicationConfiguration.g:8068:1: rule__RealEnumeration__Group__2 : rule__RealEnumeration__Group__2__Impl rule__RealEnumeration__Group__3 ; public final void rule__RealEnumeration__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7812:1: ( rule__RealEnumeration__Group__2__Impl rule__RealEnumeration__Group__3 ) - // InternalApplicationConfiguration.g:7813:2: rule__RealEnumeration__Group__2__Impl rule__RealEnumeration__Group__3 + // InternalApplicationConfiguration.g:8072:1: ( rule__RealEnumeration__Group__2__Impl rule__RealEnumeration__Group__3 ) + // InternalApplicationConfiguration.g:8073:2: rule__RealEnumeration__Group__2__Impl rule__RealEnumeration__Group__3 { - pushFollow(FOLLOW_42); + pushFollow(FOLLOW_43); rule__RealEnumeration__Group__2__Impl(); state._fsp--; @@ -24385,29 +25190,29 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__RealEnumeration__Group__2__Impl" - // InternalApplicationConfiguration.g:7820:1: rule__RealEnumeration__Group__2__Impl : ( ( rule__RealEnumeration__Group_2__0 )? ) ; + // InternalApplicationConfiguration.g:8080:1: rule__RealEnumeration__Group__2__Impl : ( ( rule__RealEnumeration__Group_2__0 )? ) ; public final void rule__RealEnumeration__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7824:1: ( ( ( rule__RealEnumeration__Group_2__0 )? ) ) - // InternalApplicationConfiguration.g:7825:1: ( ( rule__RealEnumeration__Group_2__0 )? ) + // InternalApplicationConfiguration.g:8084:1: ( ( ( rule__RealEnumeration__Group_2__0 )? ) ) + // InternalApplicationConfiguration.g:8085:1: ( ( rule__RealEnumeration__Group_2__0 )? ) { - // InternalApplicationConfiguration.g:7825:1: ( ( rule__RealEnumeration__Group_2__0 )? ) - // InternalApplicationConfiguration.g:7826:2: ( rule__RealEnumeration__Group_2__0 )? + // InternalApplicationConfiguration.g:8085:1: ( ( rule__RealEnumeration__Group_2__0 )? ) + // InternalApplicationConfiguration.g:8086:2: ( rule__RealEnumeration__Group_2__0 )? { before(grammarAccess.getRealEnumerationAccess().getGroup_2()); - // InternalApplicationConfiguration.g:7827:2: ( rule__RealEnumeration__Group_2__0 )? - int alt58=2; - int LA58_0 = input.LA(1); + // InternalApplicationConfiguration.g:8087:2: ( rule__RealEnumeration__Group_2__0 )? + int alt60=2; + int LA60_0 = input.LA(1); - if ( (LA58_0==RULE_INT||LA58_0==22) ) { - alt58=1; + if ( (LA60_0==RULE_INT||LA60_0==22) ) { + alt60=1; } - switch (alt58) { + switch (alt60) { case 1 : - // InternalApplicationConfiguration.g:7827:3: rule__RealEnumeration__Group_2__0 + // InternalApplicationConfiguration.g:8087:3: rule__RealEnumeration__Group_2__0 { pushFollow(FOLLOW_2); rule__RealEnumeration__Group_2__0(); @@ -24443,14 +25248,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__RealEnumeration__Group__3" - // InternalApplicationConfiguration.g:7835:1: rule__RealEnumeration__Group__3 : rule__RealEnumeration__Group__3__Impl ; + // InternalApplicationConfiguration.g:8095:1: rule__RealEnumeration__Group__3 : rule__RealEnumeration__Group__3__Impl ; public final void rule__RealEnumeration__Group__3() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7839:1: ( rule__RealEnumeration__Group__3__Impl ) - // InternalApplicationConfiguration.g:7840:2: rule__RealEnumeration__Group__3__Impl + // InternalApplicationConfiguration.g:8099:1: ( rule__RealEnumeration__Group__3__Impl ) + // InternalApplicationConfiguration.g:8100:2: rule__RealEnumeration__Group__3__Impl { pushFollow(FOLLOW_2); rule__RealEnumeration__Group__3__Impl(); @@ -24476,17 +25281,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__RealEnumeration__Group__3__Impl" - // InternalApplicationConfiguration.g:7846:1: rule__RealEnumeration__Group__3__Impl : ( '}' ) ; + // InternalApplicationConfiguration.g:8106:1: rule__RealEnumeration__Group__3__Impl : ( '}' ) ; public final void rule__RealEnumeration__Group__3__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7850:1: ( ( '}' ) ) - // InternalApplicationConfiguration.g:7851:1: ( '}' ) + // InternalApplicationConfiguration.g:8110:1: ( ( '}' ) ) + // InternalApplicationConfiguration.g:8111:1: ( '}' ) { - // InternalApplicationConfiguration.g:7851:1: ( '}' ) - // InternalApplicationConfiguration.g:7852:2: '}' + // InternalApplicationConfiguration.g:8111:1: ( '}' ) + // InternalApplicationConfiguration.g:8112:2: '}' { before(grammarAccess.getRealEnumerationAccess().getRightCurlyBracketKeyword_3()); match(input,30,FOLLOW_2); @@ -24513,16 +25318,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__RealEnumeration__Group_2__0" - // InternalApplicationConfiguration.g:7862:1: rule__RealEnumeration__Group_2__0 : rule__RealEnumeration__Group_2__0__Impl rule__RealEnumeration__Group_2__1 ; + // InternalApplicationConfiguration.g:8122:1: rule__RealEnumeration__Group_2__0 : rule__RealEnumeration__Group_2__0__Impl rule__RealEnumeration__Group_2__1 ; public final void rule__RealEnumeration__Group_2__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7866:1: ( rule__RealEnumeration__Group_2__0__Impl rule__RealEnumeration__Group_2__1 ) - // InternalApplicationConfiguration.g:7867:2: rule__RealEnumeration__Group_2__0__Impl rule__RealEnumeration__Group_2__1 + // InternalApplicationConfiguration.g:8126:1: ( rule__RealEnumeration__Group_2__0__Impl rule__RealEnumeration__Group_2__1 ) + // InternalApplicationConfiguration.g:8127:2: rule__RealEnumeration__Group_2__0__Impl rule__RealEnumeration__Group_2__1 { - pushFollow(FOLLOW_27); + pushFollow(FOLLOW_28); rule__RealEnumeration__Group_2__0__Impl(); state._fsp--; @@ -24551,21 +25356,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__RealEnumeration__Group_2__0__Impl" - // InternalApplicationConfiguration.g:7874:1: rule__RealEnumeration__Group_2__0__Impl : ( ( rule__RealEnumeration__EntryAssignment_2_0 ) ) ; + // InternalApplicationConfiguration.g:8134:1: rule__RealEnumeration__Group_2__0__Impl : ( ( rule__RealEnumeration__EntryAssignment_2_0 ) ) ; public final void rule__RealEnumeration__Group_2__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7878:1: ( ( ( rule__RealEnumeration__EntryAssignment_2_0 ) ) ) - // InternalApplicationConfiguration.g:7879:1: ( ( rule__RealEnumeration__EntryAssignment_2_0 ) ) + // InternalApplicationConfiguration.g:8138:1: ( ( ( rule__RealEnumeration__EntryAssignment_2_0 ) ) ) + // InternalApplicationConfiguration.g:8139:1: ( ( rule__RealEnumeration__EntryAssignment_2_0 ) ) { - // InternalApplicationConfiguration.g:7879:1: ( ( rule__RealEnumeration__EntryAssignment_2_0 ) ) - // InternalApplicationConfiguration.g:7880:2: ( rule__RealEnumeration__EntryAssignment_2_0 ) + // InternalApplicationConfiguration.g:8139:1: ( ( rule__RealEnumeration__EntryAssignment_2_0 ) ) + // InternalApplicationConfiguration.g:8140:2: ( rule__RealEnumeration__EntryAssignment_2_0 ) { before(grammarAccess.getRealEnumerationAccess().getEntryAssignment_2_0()); - // InternalApplicationConfiguration.g:7881:2: ( rule__RealEnumeration__EntryAssignment_2_0 ) - // InternalApplicationConfiguration.g:7881:3: rule__RealEnumeration__EntryAssignment_2_0 + // InternalApplicationConfiguration.g:8141:2: ( rule__RealEnumeration__EntryAssignment_2_0 ) + // InternalApplicationConfiguration.g:8141:3: rule__RealEnumeration__EntryAssignment_2_0 { pushFollow(FOLLOW_2); rule__RealEnumeration__EntryAssignment_2_0(); @@ -24598,14 +25403,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__RealEnumeration__Group_2__1" - // InternalApplicationConfiguration.g:7889:1: rule__RealEnumeration__Group_2__1 : rule__RealEnumeration__Group_2__1__Impl ; + // InternalApplicationConfiguration.g:8149:1: rule__RealEnumeration__Group_2__1 : rule__RealEnumeration__Group_2__1__Impl ; public final void rule__RealEnumeration__Group_2__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7893:1: ( rule__RealEnumeration__Group_2__1__Impl ) - // InternalApplicationConfiguration.g:7894:2: rule__RealEnumeration__Group_2__1__Impl + // InternalApplicationConfiguration.g:8153:1: ( rule__RealEnumeration__Group_2__1__Impl ) + // InternalApplicationConfiguration.g:8154:2: rule__RealEnumeration__Group_2__1__Impl { pushFollow(FOLLOW_2); rule__RealEnumeration__Group_2__1__Impl(); @@ -24631,33 +25436,33 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__RealEnumeration__Group_2__1__Impl" - // InternalApplicationConfiguration.g:7900:1: rule__RealEnumeration__Group_2__1__Impl : ( ( rule__RealEnumeration__Group_2_1__0 )* ) ; + // InternalApplicationConfiguration.g:8160:1: rule__RealEnumeration__Group_2__1__Impl : ( ( rule__RealEnumeration__Group_2_1__0 )* ) ; public final void rule__RealEnumeration__Group_2__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7904:1: ( ( ( rule__RealEnumeration__Group_2_1__0 )* ) ) - // InternalApplicationConfiguration.g:7905:1: ( ( rule__RealEnumeration__Group_2_1__0 )* ) + // InternalApplicationConfiguration.g:8164:1: ( ( ( rule__RealEnumeration__Group_2_1__0 )* ) ) + // InternalApplicationConfiguration.g:8165:1: ( ( rule__RealEnumeration__Group_2_1__0 )* ) { - // InternalApplicationConfiguration.g:7905:1: ( ( rule__RealEnumeration__Group_2_1__0 )* ) - // InternalApplicationConfiguration.g:7906:2: ( rule__RealEnumeration__Group_2_1__0 )* + // InternalApplicationConfiguration.g:8165:1: ( ( rule__RealEnumeration__Group_2_1__0 )* ) + // InternalApplicationConfiguration.g:8166:2: ( rule__RealEnumeration__Group_2_1__0 )* { before(grammarAccess.getRealEnumerationAccess().getGroup_2_1()); - // InternalApplicationConfiguration.g:7907:2: ( rule__RealEnumeration__Group_2_1__0 )* - loop59: + // InternalApplicationConfiguration.g:8167:2: ( rule__RealEnumeration__Group_2_1__0 )* + loop61: do { - int alt59=2; - int LA59_0 = input.LA(1); + int alt61=2; + int LA61_0 = input.LA(1); - if ( (LA59_0==31) ) { - alt59=1; + if ( (LA61_0==31) ) { + alt61=1; } - switch (alt59) { + switch (alt61) { case 1 : - // InternalApplicationConfiguration.g:7907:3: rule__RealEnumeration__Group_2_1__0 + // InternalApplicationConfiguration.g:8167:3: rule__RealEnumeration__Group_2_1__0 { pushFollow(FOLLOW_17); rule__RealEnumeration__Group_2_1__0(); @@ -24669,7 +25474,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont break; default : - break loop59; + break loop61; } } while (true); @@ -24696,14 +25501,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__RealEnumeration__Group_2_1__0" - // InternalApplicationConfiguration.g:7916:1: rule__RealEnumeration__Group_2_1__0 : rule__RealEnumeration__Group_2_1__0__Impl rule__RealEnumeration__Group_2_1__1 ; + // InternalApplicationConfiguration.g:8176:1: rule__RealEnumeration__Group_2_1__0 : rule__RealEnumeration__Group_2_1__0__Impl rule__RealEnumeration__Group_2_1__1 ; public final void rule__RealEnumeration__Group_2_1__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7920:1: ( rule__RealEnumeration__Group_2_1__0__Impl rule__RealEnumeration__Group_2_1__1 ) - // InternalApplicationConfiguration.g:7921:2: rule__RealEnumeration__Group_2_1__0__Impl rule__RealEnumeration__Group_2_1__1 + // InternalApplicationConfiguration.g:8180:1: ( rule__RealEnumeration__Group_2_1__0__Impl rule__RealEnumeration__Group_2_1__1 ) + // InternalApplicationConfiguration.g:8181:2: rule__RealEnumeration__Group_2_1__0__Impl rule__RealEnumeration__Group_2_1__1 { pushFollow(FOLLOW_25); rule__RealEnumeration__Group_2_1__0__Impl(); @@ -24734,17 +25539,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__RealEnumeration__Group_2_1__0__Impl" - // InternalApplicationConfiguration.g:7928:1: rule__RealEnumeration__Group_2_1__0__Impl : ( ',' ) ; + // InternalApplicationConfiguration.g:8188:1: rule__RealEnumeration__Group_2_1__0__Impl : ( ',' ) ; public final void rule__RealEnumeration__Group_2_1__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7932:1: ( ( ',' ) ) - // InternalApplicationConfiguration.g:7933:1: ( ',' ) + // InternalApplicationConfiguration.g:8192:1: ( ( ',' ) ) + // InternalApplicationConfiguration.g:8193:1: ( ',' ) { - // InternalApplicationConfiguration.g:7933:1: ( ',' ) - // InternalApplicationConfiguration.g:7934:2: ',' + // InternalApplicationConfiguration.g:8193:1: ( ',' ) + // InternalApplicationConfiguration.g:8194:2: ',' { before(grammarAccess.getRealEnumerationAccess().getCommaKeyword_2_1_0()); match(input,31,FOLLOW_2); @@ -24771,14 +25576,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__RealEnumeration__Group_2_1__1" - // InternalApplicationConfiguration.g:7943:1: rule__RealEnumeration__Group_2_1__1 : rule__RealEnumeration__Group_2_1__1__Impl ; + // InternalApplicationConfiguration.g:8203:1: rule__RealEnumeration__Group_2_1__1 : rule__RealEnumeration__Group_2_1__1__Impl ; public final void rule__RealEnumeration__Group_2_1__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7947:1: ( rule__RealEnumeration__Group_2_1__1__Impl ) - // InternalApplicationConfiguration.g:7948:2: rule__RealEnumeration__Group_2_1__1__Impl + // InternalApplicationConfiguration.g:8207:1: ( rule__RealEnumeration__Group_2_1__1__Impl ) + // InternalApplicationConfiguration.g:8208:2: rule__RealEnumeration__Group_2_1__1__Impl { pushFollow(FOLLOW_2); rule__RealEnumeration__Group_2_1__1__Impl(); @@ -24804,21 +25609,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__RealEnumeration__Group_2_1__1__Impl" - // InternalApplicationConfiguration.g:7954:1: rule__RealEnumeration__Group_2_1__1__Impl : ( ( rule__RealEnumeration__EntryAssignment_2_1_1 ) ) ; + // InternalApplicationConfiguration.g:8214:1: rule__RealEnumeration__Group_2_1__1__Impl : ( ( rule__RealEnumeration__EntryAssignment_2_1_1 ) ) ; public final void rule__RealEnumeration__Group_2_1__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7958:1: ( ( ( rule__RealEnumeration__EntryAssignment_2_1_1 ) ) ) - // InternalApplicationConfiguration.g:7959:1: ( ( rule__RealEnumeration__EntryAssignment_2_1_1 ) ) + // InternalApplicationConfiguration.g:8218:1: ( ( ( rule__RealEnumeration__EntryAssignment_2_1_1 ) ) ) + // InternalApplicationConfiguration.g:8219:1: ( ( rule__RealEnumeration__EntryAssignment_2_1_1 ) ) { - // InternalApplicationConfiguration.g:7959:1: ( ( rule__RealEnumeration__EntryAssignment_2_1_1 ) ) - // InternalApplicationConfiguration.g:7960:2: ( rule__RealEnumeration__EntryAssignment_2_1_1 ) + // InternalApplicationConfiguration.g:8219:1: ( ( rule__RealEnumeration__EntryAssignment_2_1_1 ) ) + // InternalApplicationConfiguration.g:8220:2: ( rule__RealEnumeration__EntryAssignment_2_1_1 ) { before(grammarAccess.getRealEnumerationAccess().getEntryAssignment_2_1_1()); - // InternalApplicationConfiguration.g:7961:2: ( rule__RealEnumeration__EntryAssignment_2_1_1 ) - // InternalApplicationConfiguration.g:7961:3: rule__RealEnumeration__EntryAssignment_2_1_1 + // InternalApplicationConfiguration.g:8221:2: ( rule__RealEnumeration__EntryAssignment_2_1_1 ) + // InternalApplicationConfiguration.g:8221:3: rule__RealEnumeration__EntryAssignment_2_1_1 { pushFollow(FOLLOW_2); rule__RealEnumeration__EntryAssignment_2_1_1(); @@ -24851,16 +25656,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__StringEnumeration__Group__0" - // InternalApplicationConfiguration.g:7970:1: rule__StringEnumeration__Group__0 : rule__StringEnumeration__Group__0__Impl rule__StringEnumeration__Group__1 ; + // InternalApplicationConfiguration.g:8230:1: rule__StringEnumeration__Group__0 : rule__StringEnumeration__Group__0__Impl rule__StringEnumeration__Group__1 ; public final void rule__StringEnumeration__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7974:1: ( rule__StringEnumeration__Group__0__Impl rule__StringEnumeration__Group__1 ) - // InternalApplicationConfiguration.g:7975:2: rule__StringEnumeration__Group__0__Impl rule__StringEnumeration__Group__1 + // InternalApplicationConfiguration.g:8234:1: ( rule__StringEnumeration__Group__0__Impl rule__StringEnumeration__Group__1 ) + // InternalApplicationConfiguration.g:8235:2: rule__StringEnumeration__Group__0__Impl rule__StringEnumeration__Group__1 { - pushFollow(FOLLOW_37); + pushFollow(FOLLOW_38); rule__StringEnumeration__Group__0__Impl(); state._fsp--; @@ -24889,21 +25694,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__StringEnumeration__Group__0__Impl" - // InternalApplicationConfiguration.g:7982:1: rule__StringEnumeration__Group__0__Impl : ( () ) ; + // InternalApplicationConfiguration.g:8242:1: rule__StringEnumeration__Group__0__Impl : ( () ) ; public final void rule__StringEnumeration__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7986:1: ( ( () ) ) - // InternalApplicationConfiguration.g:7987:1: ( () ) + // InternalApplicationConfiguration.g:8246:1: ( ( () ) ) + // InternalApplicationConfiguration.g:8247:1: ( () ) { - // InternalApplicationConfiguration.g:7987:1: ( () ) - // InternalApplicationConfiguration.g:7988:2: () + // InternalApplicationConfiguration.g:8247:1: ( () ) + // InternalApplicationConfiguration.g:8248:2: () { before(grammarAccess.getStringEnumerationAccess().getStringEnumerationAction_0()); - // InternalApplicationConfiguration.g:7989:2: () - // InternalApplicationConfiguration.g:7989:3: + // InternalApplicationConfiguration.g:8249:2: () + // InternalApplicationConfiguration.g:8249:3: { } @@ -24926,16 +25731,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__StringEnumeration__Group__1" - // InternalApplicationConfiguration.g:7997:1: rule__StringEnumeration__Group__1 : rule__StringEnumeration__Group__1__Impl rule__StringEnumeration__Group__2 ; + // InternalApplicationConfiguration.g:8257:1: rule__StringEnumeration__Group__1 : rule__StringEnumeration__Group__1__Impl rule__StringEnumeration__Group__2 ; public final void rule__StringEnumeration__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8001:1: ( rule__StringEnumeration__Group__1__Impl rule__StringEnumeration__Group__2 ) - // InternalApplicationConfiguration.g:8002:2: rule__StringEnumeration__Group__1__Impl rule__StringEnumeration__Group__2 + // InternalApplicationConfiguration.g:8261:1: ( rule__StringEnumeration__Group__1__Impl rule__StringEnumeration__Group__2 ) + // InternalApplicationConfiguration.g:8262:2: rule__StringEnumeration__Group__1__Impl rule__StringEnumeration__Group__2 { - pushFollow(FOLLOW_43); + pushFollow(FOLLOW_44); rule__StringEnumeration__Group__1__Impl(); state._fsp--; @@ -24964,17 +25769,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__StringEnumeration__Group__1__Impl" - // InternalApplicationConfiguration.g:8009:1: rule__StringEnumeration__Group__1__Impl : ( '{' ) ; + // InternalApplicationConfiguration.g:8269:1: rule__StringEnumeration__Group__1__Impl : ( '{' ) ; public final void rule__StringEnumeration__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8013:1: ( ( '{' ) ) - // InternalApplicationConfiguration.g:8014:1: ( '{' ) + // InternalApplicationConfiguration.g:8273:1: ( ( '{' ) ) + // InternalApplicationConfiguration.g:8274:1: ( '{' ) { - // InternalApplicationConfiguration.g:8014:1: ( '{' ) - // InternalApplicationConfiguration.g:8015:2: '{' + // InternalApplicationConfiguration.g:8274:1: ( '{' ) + // InternalApplicationConfiguration.g:8275:2: '{' { before(grammarAccess.getStringEnumerationAccess().getLeftCurlyBracketKeyword_1()); match(input,29,FOLLOW_2); @@ -25001,16 +25806,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__StringEnumeration__Group__2" - // InternalApplicationConfiguration.g:8024:1: rule__StringEnumeration__Group__2 : rule__StringEnumeration__Group__2__Impl rule__StringEnumeration__Group__3 ; + // InternalApplicationConfiguration.g:8284:1: rule__StringEnumeration__Group__2 : rule__StringEnumeration__Group__2__Impl rule__StringEnumeration__Group__3 ; public final void rule__StringEnumeration__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8028:1: ( rule__StringEnumeration__Group__2__Impl rule__StringEnumeration__Group__3 ) - // InternalApplicationConfiguration.g:8029:2: rule__StringEnumeration__Group__2__Impl rule__StringEnumeration__Group__3 + // InternalApplicationConfiguration.g:8288:1: ( rule__StringEnumeration__Group__2__Impl rule__StringEnumeration__Group__3 ) + // InternalApplicationConfiguration.g:8289:2: rule__StringEnumeration__Group__2__Impl rule__StringEnumeration__Group__3 { - pushFollow(FOLLOW_43); + pushFollow(FOLLOW_44); rule__StringEnumeration__Group__2__Impl(); state._fsp--; @@ -25039,29 +25844,29 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__StringEnumeration__Group__2__Impl" - // InternalApplicationConfiguration.g:8036:1: rule__StringEnumeration__Group__2__Impl : ( ( rule__StringEnumeration__Group_2__0 )? ) ; + // InternalApplicationConfiguration.g:8296:1: rule__StringEnumeration__Group__2__Impl : ( ( rule__StringEnumeration__Group_2__0 )? ) ; public final void rule__StringEnumeration__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8040:1: ( ( ( rule__StringEnumeration__Group_2__0 )? ) ) - // InternalApplicationConfiguration.g:8041:1: ( ( rule__StringEnumeration__Group_2__0 )? ) + // InternalApplicationConfiguration.g:8300:1: ( ( ( rule__StringEnumeration__Group_2__0 )? ) ) + // InternalApplicationConfiguration.g:8301:1: ( ( rule__StringEnumeration__Group_2__0 )? ) { - // InternalApplicationConfiguration.g:8041:1: ( ( rule__StringEnumeration__Group_2__0 )? ) - // InternalApplicationConfiguration.g:8042:2: ( rule__StringEnumeration__Group_2__0 )? + // InternalApplicationConfiguration.g:8301:1: ( ( rule__StringEnumeration__Group_2__0 )? ) + // InternalApplicationConfiguration.g:8302:2: ( rule__StringEnumeration__Group_2__0 )? { before(grammarAccess.getStringEnumerationAccess().getGroup_2()); - // InternalApplicationConfiguration.g:8043:2: ( rule__StringEnumeration__Group_2__0 )? - int alt60=2; - int LA60_0 = input.LA(1); + // InternalApplicationConfiguration.g:8303:2: ( rule__StringEnumeration__Group_2__0 )? + int alt62=2; + int LA62_0 = input.LA(1); - if ( (LA60_0==RULE_STRING) ) { - alt60=1; + if ( (LA62_0==RULE_STRING) ) { + alt62=1; } - switch (alt60) { + switch (alt62) { case 1 : - // InternalApplicationConfiguration.g:8043:3: rule__StringEnumeration__Group_2__0 + // InternalApplicationConfiguration.g:8303:3: rule__StringEnumeration__Group_2__0 { pushFollow(FOLLOW_2); rule__StringEnumeration__Group_2__0(); @@ -25097,14 +25902,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__StringEnumeration__Group__3" - // InternalApplicationConfiguration.g:8051:1: rule__StringEnumeration__Group__3 : rule__StringEnumeration__Group__3__Impl ; + // InternalApplicationConfiguration.g:8311:1: rule__StringEnumeration__Group__3 : rule__StringEnumeration__Group__3__Impl ; public final void rule__StringEnumeration__Group__3() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8055:1: ( rule__StringEnumeration__Group__3__Impl ) - // InternalApplicationConfiguration.g:8056:2: rule__StringEnumeration__Group__3__Impl + // InternalApplicationConfiguration.g:8315:1: ( rule__StringEnumeration__Group__3__Impl ) + // InternalApplicationConfiguration.g:8316:2: rule__StringEnumeration__Group__3__Impl { pushFollow(FOLLOW_2); rule__StringEnumeration__Group__3__Impl(); @@ -25130,17 +25935,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__StringEnumeration__Group__3__Impl" - // InternalApplicationConfiguration.g:8062:1: rule__StringEnumeration__Group__3__Impl : ( '}' ) ; + // InternalApplicationConfiguration.g:8322:1: rule__StringEnumeration__Group__3__Impl : ( '}' ) ; public final void rule__StringEnumeration__Group__3__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8066:1: ( ( '}' ) ) - // InternalApplicationConfiguration.g:8067:1: ( '}' ) + // InternalApplicationConfiguration.g:8326:1: ( ( '}' ) ) + // InternalApplicationConfiguration.g:8327:1: ( '}' ) { - // InternalApplicationConfiguration.g:8067:1: ( '}' ) - // InternalApplicationConfiguration.g:8068:2: '}' + // InternalApplicationConfiguration.g:8327:1: ( '}' ) + // InternalApplicationConfiguration.g:8328:2: '}' { before(grammarAccess.getStringEnumerationAccess().getRightCurlyBracketKeyword_3()); match(input,30,FOLLOW_2); @@ -25167,16 +25972,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__StringEnumeration__Group_2__0" - // InternalApplicationConfiguration.g:8078:1: rule__StringEnumeration__Group_2__0 : rule__StringEnumeration__Group_2__0__Impl rule__StringEnumeration__Group_2__1 ; + // InternalApplicationConfiguration.g:8338:1: rule__StringEnumeration__Group_2__0 : rule__StringEnumeration__Group_2__0__Impl rule__StringEnumeration__Group_2__1 ; public final void rule__StringEnumeration__Group_2__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8082:1: ( rule__StringEnumeration__Group_2__0__Impl rule__StringEnumeration__Group_2__1 ) - // InternalApplicationConfiguration.g:8083:2: rule__StringEnumeration__Group_2__0__Impl rule__StringEnumeration__Group_2__1 + // InternalApplicationConfiguration.g:8342:1: ( rule__StringEnumeration__Group_2__0__Impl rule__StringEnumeration__Group_2__1 ) + // InternalApplicationConfiguration.g:8343:2: rule__StringEnumeration__Group_2__0__Impl rule__StringEnumeration__Group_2__1 { - pushFollow(FOLLOW_27); + pushFollow(FOLLOW_28); rule__StringEnumeration__Group_2__0__Impl(); state._fsp--; @@ -25205,21 +26010,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__StringEnumeration__Group_2__0__Impl" - // InternalApplicationConfiguration.g:8090:1: rule__StringEnumeration__Group_2__0__Impl : ( ( rule__StringEnumeration__EntryAssignment_2_0 ) ) ; + // InternalApplicationConfiguration.g:8350:1: rule__StringEnumeration__Group_2__0__Impl : ( ( rule__StringEnumeration__EntryAssignment_2_0 ) ) ; public final void rule__StringEnumeration__Group_2__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8094:1: ( ( ( rule__StringEnumeration__EntryAssignment_2_0 ) ) ) - // InternalApplicationConfiguration.g:8095:1: ( ( rule__StringEnumeration__EntryAssignment_2_0 ) ) + // InternalApplicationConfiguration.g:8354:1: ( ( ( rule__StringEnumeration__EntryAssignment_2_0 ) ) ) + // InternalApplicationConfiguration.g:8355:1: ( ( rule__StringEnumeration__EntryAssignment_2_0 ) ) { - // InternalApplicationConfiguration.g:8095:1: ( ( rule__StringEnumeration__EntryAssignment_2_0 ) ) - // InternalApplicationConfiguration.g:8096:2: ( rule__StringEnumeration__EntryAssignment_2_0 ) + // InternalApplicationConfiguration.g:8355:1: ( ( rule__StringEnumeration__EntryAssignment_2_0 ) ) + // InternalApplicationConfiguration.g:8356:2: ( rule__StringEnumeration__EntryAssignment_2_0 ) { before(grammarAccess.getStringEnumerationAccess().getEntryAssignment_2_0()); - // InternalApplicationConfiguration.g:8097:2: ( rule__StringEnumeration__EntryAssignment_2_0 ) - // InternalApplicationConfiguration.g:8097:3: rule__StringEnumeration__EntryAssignment_2_0 + // InternalApplicationConfiguration.g:8357:2: ( rule__StringEnumeration__EntryAssignment_2_0 ) + // InternalApplicationConfiguration.g:8357:3: rule__StringEnumeration__EntryAssignment_2_0 { pushFollow(FOLLOW_2); rule__StringEnumeration__EntryAssignment_2_0(); @@ -25252,14 +26057,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__StringEnumeration__Group_2__1" - // InternalApplicationConfiguration.g:8105:1: rule__StringEnumeration__Group_2__1 : rule__StringEnumeration__Group_2__1__Impl ; + // InternalApplicationConfiguration.g:8365:1: rule__StringEnumeration__Group_2__1 : rule__StringEnumeration__Group_2__1__Impl ; public final void rule__StringEnumeration__Group_2__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8109:1: ( rule__StringEnumeration__Group_2__1__Impl ) - // InternalApplicationConfiguration.g:8110:2: rule__StringEnumeration__Group_2__1__Impl + // InternalApplicationConfiguration.g:8369:1: ( rule__StringEnumeration__Group_2__1__Impl ) + // InternalApplicationConfiguration.g:8370:2: rule__StringEnumeration__Group_2__1__Impl { pushFollow(FOLLOW_2); rule__StringEnumeration__Group_2__1__Impl(); @@ -25285,33 +26090,33 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__StringEnumeration__Group_2__1__Impl" - // InternalApplicationConfiguration.g:8116:1: rule__StringEnumeration__Group_2__1__Impl : ( ( rule__StringEnumeration__Group_2_1__0 )* ) ; + // InternalApplicationConfiguration.g:8376:1: rule__StringEnumeration__Group_2__1__Impl : ( ( rule__StringEnumeration__Group_2_1__0 )* ) ; public final void rule__StringEnumeration__Group_2__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8120:1: ( ( ( rule__StringEnumeration__Group_2_1__0 )* ) ) - // InternalApplicationConfiguration.g:8121:1: ( ( rule__StringEnumeration__Group_2_1__0 )* ) + // InternalApplicationConfiguration.g:8380:1: ( ( ( rule__StringEnumeration__Group_2_1__0 )* ) ) + // InternalApplicationConfiguration.g:8381:1: ( ( rule__StringEnumeration__Group_2_1__0 )* ) { - // InternalApplicationConfiguration.g:8121:1: ( ( rule__StringEnumeration__Group_2_1__0 )* ) - // InternalApplicationConfiguration.g:8122:2: ( rule__StringEnumeration__Group_2_1__0 )* + // InternalApplicationConfiguration.g:8381:1: ( ( rule__StringEnumeration__Group_2_1__0 )* ) + // InternalApplicationConfiguration.g:8382:2: ( rule__StringEnumeration__Group_2_1__0 )* { before(grammarAccess.getStringEnumerationAccess().getGroup_2_1()); - // InternalApplicationConfiguration.g:8123:2: ( rule__StringEnumeration__Group_2_1__0 )* - loop61: + // InternalApplicationConfiguration.g:8383:2: ( rule__StringEnumeration__Group_2_1__0 )* + loop63: do { - int alt61=2; - int LA61_0 = input.LA(1); + int alt63=2; + int LA63_0 = input.LA(1); - if ( (LA61_0==31) ) { - alt61=1; + if ( (LA63_0==31) ) { + alt63=1; } - switch (alt61) { + switch (alt63) { case 1 : - // InternalApplicationConfiguration.g:8123:3: rule__StringEnumeration__Group_2_1__0 + // InternalApplicationConfiguration.g:8383:3: rule__StringEnumeration__Group_2_1__0 { pushFollow(FOLLOW_17); rule__StringEnumeration__Group_2_1__0(); @@ -25323,7 +26128,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont break; default : - break loop61; + break loop63; } } while (true); @@ -25350,14 +26155,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__StringEnumeration__Group_2_1__0" - // InternalApplicationConfiguration.g:8132:1: rule__StringEnumeration__Group_2_1__0 : rule__StringEnumeration__Group_2_1__0__Impl rule__StringEnumeration__Group_2_1__1 ; + // InternalApplicationConfiguration.g:8392:1: rule__StringEnumeration__Group_2_1__0 : rule__StringEnumeration__Group_2_1__0__Impl rule__StringEnumeration__Group_2_1__1 ; public final void rule__StringEnumeration__Group_2_1__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8136:1: ( rule__StringEnumeration__Group_2_1__0__Impl rule__StringEnumeration__Group_2_1__1 ) - // InternalApplicationConfiguration.g:8137:2: rule__StringEnumeration__Group_2_1__0__Impl rule__StringEnumeration__Group_2_1__1 + // InternalApplicationConfiguration.g:8396:1: ( rule__StringEnumeration__Group_2_1__0__Impl rule__StringEnumeration__Group_2_1__1 ) + // InternalApplicationConfiguration.g:8397:2: rule__StringEnumeration__Group_2_1__0__Impl rule__StringEnumeration__Group_2_1__1 { pushFollow(FOLLOW_11); rule__StringEnumeration__Group_2_1__0__Impl(); @@ -25388,17 +26193,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__StringEnumeration__Group_2_1__0__Impl" - // InternalApplicationConfiguration.g:8144:1: rule__StringEnumeration__Group_2_1__0__Impl : ( ',' ) ; + // InternalApplicationConfiguration.g:8404:1: rule__StringEnumeration__Group_2_1__0__Impl : ( ',' ) ; public final void rule__StringEnumeration__Group_2_1__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8148:1: ( ( ',' ) ) - // InternalApplicationConfiguration.g:8149:1: ( ',' ) + // InternalApplicationConfiguration.g:8408:1: ( ( ',' ) ) + // InternalApplicationConfiguration.g:8409:1: ( ',' ) { - // InternalApplicationConfiguration.g:8149:1: ( ',' ) - // InternalApplicationConfiguration.g:8150:2: ',' + // InternalApplicationConfiguration.g:8409:1: ( ',' ) + // InternalApplicationConfiguration.g:8410:2: ',' { before(grammarAccess.getStringEnumerationAccess().getCommaKeyword_2_1_0()); match(input,31,FOLLOW_2); @@ -25425,14 +26230,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__StringEnumeration__Group_2_1__1" - // InternalApplicationConfiguration.g:8159:1: rule__StringEnumeration__Group_2_1__1 : rule__StringEnumeration__Group_2_1__1__Impl ; + // InternalApplicationConfiguration.g:8419:1: rule__StringEnumeration__Group_2_1__1 : rule__StringEnumeration__Group_2_1__1__Impl ; public final void rule__StringEnumeration__Group_2_1__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8163:1: ( rule__StringEnumeration__Group_2_1__1__Impl ) - // InternalApplicationConfiguration.g:8164:2: rule__StringEnumeration__Group_2_1__1__Impl + // InternalApplicationConfiguration.g:8423:1: ( rule__StringEnumeration__Group_2_1__1__Impl ) + // InternalApplicationConfiguration.g:8424:2: rule__StringEnumeration__Group_2_1__1__Impl { pushFollow(FOLLOW_2); rule__StringEnumeration__Group_2_1__1__Impl(); @@ -25458,21 +26263,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__StringEnumeration__Group_2_1__1__Impl" - // InternalApplicationConfiguration.g:8170:1: rule__StringEnumeration__Group_2_1__1__Impl : ( ( rule__StringEnumeration__EntryAssignment_2_1_1 ) ) ; + // InternalApplicationConfiguration.g:8430:1: rule__StringEnumeration__Group_2_1__1__Impl : ( ( rule__StringEnumeration__EntryAssignment_2_1_1 ) ) ; public final void rule__StringEnumeration__Group_2_1__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8174:1: ( ( ( rule__StringEnumeration__EntryAssignment_2_1_1 ) ) ) - // InternalApplicationConfiguration.g:8175:1: ( ( rule__StringEnumeration__EntryAssignment_2_1_1 ) ) + // InternalApplicationConfiguration.g:8434:1: ( ( ( rule__StringEnumeration__EntryAssignment_2_1_1 ) ) ) + // InternalApplicationConfiguration.g:8435:1: ( ( rule__StringEnumeration__EntryAssignment_2_1_1 ) ) { - // InternalApplicationConfiguration.g:8175:1: ( ( rule__StringEnumeration__EntryAssignment_2_1_1 ) ) - // InternalApplicationConfiguration.g:8176:2: ( rule__StringEnumeration__EntryAssignment_2_1_1 ) + // InternalApplicationConfiguration.g:8435:1: ( ( rule__StringEnumeration__EntryAssignment_2_1_1 ) ) + // InternalApplicationConfiguration.g:8436:2: ( rule__StringEnumeration__EntryAssignment_2_1_1 ) { before(grammarAccess.getStringEnumerationAccess().getEntryAssignment_2_1_1()); - // InternalApplicationConfiguration.g:8177:2: ( rule__StringEnumeration__EntryAssignment_2_1_1 ) - // InternalApplicationConfiguration.g:8177:3: rule__StringEnumeration__EntryAssignment_2_1_1 + // InternalApplicationConfiguration.g:8437:2: ( rule__StringEnumeration__EntryAssignment_2_1_1 ) + // InternalApplicationConfiguration.g:8437:3: rule__StringEnumeration__EntryAssignment_2_1_1 { pushFollow(FOLLOW_2); rule__StringEnumeration__EntryAssignment_2_1_1(); @@ -25505,14 +26310,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ScopeDeclaration__Group__0" - // InternalApplicationConfiguration.g:8186:1: rule__ScopeDeclaration__Group__0 : rule__ScopeDeclaration__Group__0__Impl rule__ScopeDeclaration__Group__1 ; + // InternalApplicationConfiguration.g:8446:1: rule__ScopeDeclaration__Group__0 : rule__ScopeDeclaration__Group__0__Impl rule__ScopeDeclaration__Group__1 ; public final void rule__ScopeDeclaration__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8190:1: ( rule__ScopeDeclaration__Group__0__Impl rule__ScopeDeclaration__Group__1 ) - // InternalApplicationConfiguration.g:8191:2: rule__ScopeDeclaration__Group__0__Impl rule__ScopeDeclaration__Group__1 + // InternalApplicationConfiguration.g:8450:1: ( rule__ScopeDeclaration__Group__0__Impl rule__ScopeDeclaration__Group__1 ) + // InternalApplicationConfiguration.g:8451:2: rule__ScopeDeclaration__Group__0__Impl rule__ScopeDeclaration__Group__1 { pushFollow(FOLLOW_8); rule__ScopeDeclaration__Group__0__Impl(); @@ -25543,20 +26348,20 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ScopeDeclaration__Group__0__Impl" - // InternalApplicationConfiguration.g:8198:1: rule__ScopeDeclaration__Group__0__Impl : ( 'scope' ) ; + // InternalApplicationConfiguration.g:8458:1: rule__ScopeDeclaration__Group__0__Impl : ( 'scope' ) ; public final void rule__ScopeDeclaration__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8202:1: ( ( 'scope' ) ) - // InternalApplicationConfiguration.g:8203:1: ( 'scope' ) + // InternalApplicationConfiguration.g:8462:1: ( ( 'scope' ) ) + // InternalApplicationConfiguration.g:8463:1: ( 'scope' ) { - // InternalApplicationConfiguration.g:8203:1: ( 'scope' ) - // InternalApplicationConfiguration.g:8204:2: 'scope' + // InternalApplicationConfiguration.g:8463:1: ( 'scope' ) + // InternalApplicationConfiguration.g:8464:2: 'scope' { before(grammarAccess.getScopeDeclarationAccess().getScopeKeyword_0()); - match(input,52,FOLLOW_2); + match(input,54,FOLLOW_2); after(grammarAccess.getScopeDeclarationAccess().getScopeKeyword_0()); } @@ -25580,14 +26385,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ScopeDeclaration__Group__1" - // InternalApplicationConfiguration.g:8213:1: rule__ScopeDeclaration__Group__1 : rule__ScopeDeclaration__Group__1__Impl rule__ScopeDeclaration__Group__2 ; + // InternalApplicationConfiguration.g:8473:1: rule__ScopeDeclaration__Group__1 : rule__ScopeDeclaration__Group__1__Impl rule__ScopeDeclaration__Group__2 ; public final void rule__ScopeDeclaration__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8217:1: ( rule__ScopeDeclaration__Group__1__Impl rule__ScopeDeclaration__Group__2 ) - // InternalApplicationConfiguration.g:8218:2: rule__ScopeDeclaration__Group__1__Impl rule__ScopeDeclaration__Group__2 + // InternalApplicationConfiguration.g:8477:1: ( rule__ScopeDeclaration__Group__1__Impl rule__ScopeDeclaration__Group__2 ) + // InternalApplicationConfiguration.g:8478:2: rule__ScopeDeclaration__Group__1__Impl rule__ScopeDeclaration__Group__2 { pushFollow(FOLLOW_19); rule__ScopeDeclaration__Group__1__Impl(); @@ -25618,21 +26423,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ScopeDeclaration__Group__1__Impl" - // InternalApplicationConfiguration.g:8225:1: rule__ScopeDeclaration__Group__1__Impl : ( ( rule__ScopeDeclaration__NameAssignment_1 ) ) ; + // InternalApplicationConfiguration.g:8485:1: rule__ScopeDeclaration__Group__1__Impl : ( ( rule__ScopeDeclaration__NameAssignment_1 ) ) ; public final void rule__ScopeDeclaration__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8229:1: ( ( ( rule__ScopeDeclaration__NameAssignment_1 ) ) ) - // InternalApplicationConfiguration.g:8230:1: ( ( rule__ScopeDeclaration__NameAssignment_1 ) ) + // InternalApplicationConfiguration.g:8489:1: ( ( ( rule__ScopeDeclaration__NameAssignment_1 ) ) ) + // InternalApplicationConfiguration.g:8490:1: ( ( rule__ScopeDeclaration__NameAssignment_1 ) ) { - // InternalApplicationConfiguration.g:8230:1: ( ( rule__ScopeDeclaration__NameAssignment_1 ) ) - // InternalApplicationConfiguration.g:8231:2: ( rule__ScopeDeclaration__NameAssignment_1 ) + // InternalApplicationConfiguration.g:8490:1: ( ( rule__ScopeDeclaration__NameAssignment_1 ) ) + // InternalApplicationConfiguration.g:8491:2: ( rule__ScopeDeclaration__NameAssignment_1 ) { before(grammarAccess.getScopeDeclarationAccess().getNameAssignment_1()); - // InternalApplicationConfiguration.g:8232:2: ( rule__ScopeDeclaration__NameAssignment_1 ) - // InternalApplicationConfiguration.g:8232:3: rule__ScopeDeclaration__NameAssignment_1 + // InternalApplicationConfiguration.g:8492:2: ( rule__ScopeDeclaration__NameAssignment_1 ) + // InternalApplicationConfiguration.g:8492:3: rule__ScopeDeclaration__NameAssignment_1 { pushFollow(FOLLOW_2); rule__ScopeDeclaration__NameAssignment_1(); @@ -25665,14 +26470,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ScopeDeclaration__Group__2" - // InternalApplicationConfiguration.g:8240:1: rule__ScopeDeclaration__Group__2 : rule__ScopeDeclaration__Group__2__Impl ; + // InternalApplicationConfiguration.g:8500:1: rule__ScopeDeclaration__Group__2 : rule__ScopeDeclaration__Group__2__Impl ; public final void rule__ScopeDeclaration__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8244:1: ( rule__ScopeDeclaration__Group__2__Impl ) - // InternalApplicationConfiguration.g:8245:2: rule__ScopeDeclaration__Group__2__Impl + // InternalApplicationConfiguration.g:8504:1: ( rule__ScopeDeclaration__Group__2__Impl ) + // InternalApplicationConfiguration.g:8505:2: rule__ScopeDeclaration__Group__2__Impl { pushFollow(FOLLOW_2); rule__ScopeDeclaration__Group__2__Impl(); @@ -25698,21 +26503,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ScopeDeclaration__Group__2__Impl" - // InternalApplicationConfiguration.g:8251:1: rule__ScopeDeclaration__Group__2__Impl : ( ( rule__ScopeDeclaration__SpecificationAssignment_2 ) ) ; + // InternalApplicationConfiguration.g:8511:1: rule__ScopeDeclaration__Group__2__Impl : ( ( rule__ScopeDeclaration__SpecificationAssignment_2 ) ) ; public final void rule__ScopeDeclaration__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8255:1: ( ( ( rule__ScopeDeclaration__SpecificationAssignment_2 ) ) ) - // InternalApplicationConfiguration.g:8256:1: ( ( rule__ScopeDeclaration__SpecificationAssignment_2 ) ) + // InternalApplicationConfiguration.g:8515:1: ( ( ( rule__ScopeDeclaration__SpecificationAssignment_2 ) ) ) + // InternalApplicationConfiguration.g:8516:1: ( ( rule__ScopeDeclaration__SpecificationAssignment_2 ) ) { - // InternalApplicationConfiguration.g:8256:1: ( ( rule__ScopeDeclaration__SpecificationAssignment_2 ) ) - // InternalApplicationConfiguration.g:8257:2: ( rule__ScopeDeclaration__SpecificationAssignment_2 ) + // InternalApplicationConfiguration.g:8516:1: ( ( rule__ScopeDeclaration__SpecificationAssignment_2 ) ) + // InternalApplicationConfiguration.g:8517:2: ( rule__ScopeDeclaration__SpecificationAssignment_2 ) { before(grammarAccess.getScopeDeclarationAccess().getSpecificationAssignment_2()); - // InternalApplicationConfiguration.g:8258:2: ( rule__ScopeDeclaration__SpecificationAssignment_2 ) - // InternalApplicationConfiguration.g:8258:3: rule__ScopeDeclaration__SpecificationAssignment_2 + // InternalApplicationConfiguration.g:8518:2: ( rule__ScopeDeclaration__SpecificationAssignment_2 ) + // InternalApplicationConfiguration.g:8518:3: rule__ScopeDeclaration__SpecificationAssignment_2 { pushFollow(FOLLOW_2); rule__ScopeDeclaration__SpecificationAssignment_2(); @@ -25745,14 +26550,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group__0" - // InternalApplicationConfiguration.g:8267:1: rule__GenerationTask__Group__0 : rule__GenerationTask__Group__0__Impl rule__GenerationTask__Group__1 ; + // InternalApplicationConfiguration.g:8527:1: rule__GenerationTask__Group__0 : rule__GenerationTask__Group__0__Impl rule__GenerationTask__Group__1 ; public final void rule__GenerationTask__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8271:1: ( rule__GenerationTask__Group__0__Impl rule__GenerationTask__Group__1 ) - // InternalApplicationConfiguration.g:8272:2: rule__GenerationTask__Group__0__Impl rule__GenerationTask__Group__1 + // InternalApplicationConfiguration.g:8531:1: ( rule__GenerationTask__Group__0__Impl rule__GenerationTask__Group__1 ) + // InternalApplicationConfiguration.g:8532:2: rule__GenerationTask__Group__0__Impl rule__GenerationTask__Group__1 { pushFollow(FOLLOW_19); rule__GenerationTask__Group__0__Impl(); @@ -25783,20 +26588,20 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group__0__Impl" - // InternalApplicationConfiguration.g:8279:1: rule__GenerationTask__Group__0__Impl : ( 'generate' ) ; + // InternalApplicationConfiguration.g:8539:1: rule__GenerationTask__Group__0__Impl : ( 'generate' ) ; public final void rule__GenerationTask__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8283:1: ( ( 'generate' ) ) - // InternalApplicationConfiguration.g:8284:1: ( 'generate' ) + // InternalApplicationConfiguration.g:8543:1: ( ( 'generate' ) ) + // InternalApplicationConfiguration.g:8544:1: ( 'generate' ) { - // InternalApplicationConfiguration.g:8284:1: ( 'generate' ) - // InternalApplicationConfiguration.g:8285:2: 'generate' + // InternalApplicationConfiguration.g:8544:1: ( 'generate' ) + // InternalApplicationConfiguration.g:8545:2: 'generate' { before(grammarAccess.getGenerationTaskAccess().getGenerateKeyword_0()); - match(input,53,FOLLOW_2); + match(input,55,FOLLOW_2); after(grammarAccess.getGenerationTaskAccess().getGenerateKeyword_0()); } @@ -25820,14 +26625,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group__1" - // InternalApplicationConfiguration.g:8294:1: rule__GenerationTask__Group__1 : rule__GenerationTask__Group__1__Impl rule__GenerationTask__Group__2 ; + // InternalApplicationConfiguration.g:8554:1: rule__GenerationTask__Group__1 : rule__GenerationTask__Group__1__Impl rule__GenerationTask__Group__2 ; public final void rule__GenerationTask__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8298:1: ( rule__GenerationTask__Group__1__Impl rule__GenerationTask__Group__2 ) - // InternalApplicationConfiguration.g:8299:2: rule__GenerationTask__Group__1__Impl rule__GenerationTask__Group__2 + // InternalApplicationConfiguration.g:8558:1: ( rule__GenerationTask__Group__1__Impl rule__GenerationTask__Group__2 ) + // InternalApplicationConfiguration.g:8559:2: rule__GenerationTask__Group__1__Impl rule__GenerationTask__Group__2 { pushFollow(FOLLOW_19); rule__GenerationTask__Group__1__Impl(); @@ -25858,21 +26663,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group__1__Impl" - // InternalApplicationConfiguration.g:8306:1: rule__GenerationTask__Group__1__Impl : ( () ) ; + // InternalApplicationConfiguration.g:8566:1: rule__GenerationTask__Group__1__Impl : ( () ) ; public final void rule__GenerationTask__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8310:1: ( ( () ) ) - // InternalApplicationConfiguration.g:8311:1: ( () ) + // InternalApplicationConfiguration.g:8570:1: ( ( () ) ) + // InternalApplicationConfiguration.g:8571:1: ( () ) { - // InternalApplicationConfiguration.g:8311:1: ( () ) - // InternalApplicationConfiguration.g:8312:2: () + // InternalApplicationConfiguration.g:8571:1: ( () ) + // InternalApplicationConfiguration.g:8572:2: () { before(grammarAccess.getGenerationTaskAccess().getGenerationTaskAction_1()); - // InternalApplicationConfiguration.g:8313:2: () - // InternalApplicationConfiguration.g:8313:3: + // InternalApplicationConfiguration.g:8573:2: () + // InternalApplicationConfiguration.g:8573:3: { } @@ -25895,16 +26700,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group__2" - // InternalApplicationConfiguration.g:8321:1: rule__GenerationTask__Group__2 : rule__GenerationTask__Group__2__Impl rule__GenerationTask__Group__3 ; + // InternalApplicationConfiguration.g:8581:1: rule__GenerationTask__Group__2 : rule__GenerationTask__Group__2__Impl rule__GenerationTask__Group__3 ; public final void rule__GenerationTask__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8325:1: ( rule__GenerationTask__Group__2__Impl rule__GenerationTask__Group__3 ) - // InternalApplicationConfiguration.g:8326:2: rule__GenerationTask__Group__2__Impl rule__GenerationTask__Group__3 + // InternalApplicationConfiguration.g:8585:1: ( rule__GenerationTask__Group__2__Impl rule__GenerationTask__Group__3 ) + // InternalApplicationConfiguration.g:8586:2: rule__GenerationTask__Group__2__Impl rule__GenerationTask__Group__3 { - pushFollow(FOLLOW_44); + pushFollow(FOLLOW_45); rule__GenerationTask__Group__2__Impl(); state._fsp--; @@ -25933,17 +26738,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group__2__Impl" - // InternalApplicationConfiguration.g:8333:1: rule__GenerationTask__Group__2__Impl : ( '{' ) ; + // InternalApplicationConfiguration.g:8593:1: rule__GenerationTask__Group__2__Impl : ( '{' ) ; public final void rule__GenerationTask__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8337:1: ( ( '{' ) ) - // InternalApplicationConfiguration.g:8338:1: ( '{' ) + // InternalApplicationConfiguration.g:8597:1: ( ( '{' ) ) + // InternalApplicationConfiguration.g:8598:1: ( '{' ) { - // InternalApplicationConfiguration.g:8338:1: ( '{' ) - // InternalApplicationConfiguration.g:8339:2: '{' + // InternalApplicationConfiguration.g:8598:1: ( '{' ) + // InternalApplicationConfiguration.g:8599:2: '{' { before(grammarAccess.getGenerationTaskAccess().getLeftCurlyBracketKeyword_2()); match(input,29,FOLLOW_2); @@ -25970,16 +26775,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group__3" - // InternalApplicationConfiguration.g:8348:1: rule__GenerationTask__Group__3 : rule__GenerationTask__Group__3__Impl rule__GenerationTask__Group__4 ; + // InternalApplicationConfiguration.g:8608:1: rule__GenerationTask__Group__3 : rule__GenerationTask__Group__3__Impl rule__GenerationTask__Group__4 ; public final void rule__GenerationTask__Group__3() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8352:1: ( rule__GenerationTask__Group__3__Impl rule__GenerationTask__Group__4 ) - // InternalApplicationConfiguration.g:8353:2: rule__GenerationTask__Group__3__Impl rule__GenerationTask__Group__4 + // InternalApplicationConfiguration.g:8612:1: ( rule__GenerationTask__Group__3__Impl rule__GenerationTask__Group__4 ) + // InternalApplicationConfiguration.g:8613:2: rule__GenerationTask__Group__3__Impl rule__GenerationTask__Group__4 { - pushFollow(FOLLOW_45); + pushFollow(FOLLOW_46); rule__GenerationTask__Group__3__Impl(); state._fsp--; @@ -26008,21 +26813,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group__3__Impl" - // InternalApplicationConfiguration.g:8360:1: rule__GenerationTask__Group__3__Impl : ( ( rule__GenerationTask__UnorderedGroup_3 ) ) ; + // InternalApplicationConfiguration.g:8620:1: rule__GenerationTask__Group__3__Impl : ( ( rule__GenerationTask__UnorderedGroup_3 ) ) ; public final void rule__GenerationTask__Group__3__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8364:1: ( ( ( rule__GenerationTask__UnorderedGroup_3 ) ) ) - // InternalApplicationConfiguration.g:8365:1: ( ( rule__GenerationTask__UnorderedGroup_3 ) ) + // InternalApplicationConfiguration.g:8624:1: ( ( ( rule__GenerationTask__UnorderedGroup_3 ) ) ) + // InternalApplicationConfiguration.g:8625:1: ( ( rule__GenerationTask__UnorderedGroup_3 ) ) { - // InternalApplicationConfiguration.g:8365:1: ( ( rule__GenerationTask__UnorderedGroup_3 ) ) - // InternalApplicationConfiguration.g:8366:2: ( rule__GenerationTask__UnorderedGroup_3 ) + // InternalApplicationConfiguration.g:8625:1: ( ( rule__GenerationTask__UnorderedGroup_3 ) ) + // InternalApplicationConfiguration.g:8626:2: ( rule__GenerationTask__UnorderedGroup_3 ) { before(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); - // InternalApplicationConfiguration.g:8367:2: ( rule__GenerationTask__UnorderedGroup_3 ) - // InternalApplicationConfiguration.g:8367:3: rule__GenerationTask__UnorderedGroup_3 + // InternalApplicationConfiguration.g:8627:2: ( rule__GenerationTask__UnorderedGroup_3 ) + // InternalApplicationConfiguration.g:8627:3: rule__GenerationTask__UnorderedGroup_3 { pushFollow(FOLLOW_2); rule__GenerationTask__UnorderedGroup_3(); @@ -26055,14 +26860,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group__4" - // InternalApplicationConfiguration.g:8375:1: rule__GenerationTask__Group__4 : rule__GenerationTask__Group__4__Impl ; + // InternalApplicationConfiguration.g:8635:1: rule__GenerationTask__Group__4 : rule__GenerationTask__Group__4__Impl ; public final void rule__GenerationTask__Group__4() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8379:1: ( rule__GenerationTask__Group__4__Impl ) - // InternalApplicationConfiguration.g:8380:2: rule__GenerationTask__Group__4__Impl + // InternalApplicationConfiguration.g:8639:1: ( rule__GenerationTask__Group__4__Impl ) + // InternalApplicationConfiguration.g:8640:2: rule__GenerationTask__Group__4__Impl { pushFollow(FOLLOW_2); rule__GenerationTask__Group__4__Impl(); @@ -26088,17 +26893,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group__4__Impl" - // InternalApplicationConfiguration.g:8386:1: rule__GenerationTask__Group__4__Impl : ( '}' ) ; + // InternalApplicationConfiguration.g:8646:1: rule__GenerationTask__Group__4__Impl : ( '}' ) ; public final void rule__GenerationTask__Group__4__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8390:1: ( ( '}' ) ) - // InternalApplicationConfiguration.g:8391:1: ( '}' ) + // InternalApplicationConfiguration.g:8650:1: ( ( '}' ) ) + // InternalApplicationConfiguration.g:8651:1: ( '}' ) { - // InternalApplicationConfiguration.g:8391:1: ( '}' ) - // InternalApplicationConfiguration.g:8392:2: '}' + // InternalApplicationConfiguration.g:8651:1: ( '}' ) + // InternalApplicationConfiguration.g:8652:2: '}' { before(grammarAccess.getGenerationTaskAccess().getRightCurlyBracketKeyword_4()); match(input,30,FOLLOW_2); @@ -26125,14 +26930,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_0__0" - // InternalApplicationConfiguration.g:8402:1: rule__GenerationTask__Group_3_0__0 : rule__GenerationTask__Group_3_0__0__Impl rule__GenerationTask__Group_3_0__1 ; + // InternalApplicationConfiguration.g:8662:1: rule__GenerationTask__Group_3_0__0 : rule__GenerationTask__Group_3_0__0__Impl rule__GenerationTask__Group_3_0__1 ; public final void rule__GenerationTask__Group_3_0__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8406:1: ( rule__GenerationTask__Group_3_0__0__Impl rule__GenerationTask__Group_3_0__1 ) - // InternalApplicationConfiguration.g:8407:2: rule__GenerationTask__Group_3_0__0__Impl rule__GenerationTask__Group_3_0__1 + // InternalApplicationConfiguration.g:8666:1: ( rule__GenerationTask__Group_3_0__0__Impl rule__GenerationTask__Group_3_0__1 ) + // InternalApplicationConfiguration.g:8667:2: rule__GenerationTask__Group_3_0__0__Impl rule__GenerationTask__Group_3_0__1 { pushFollow(FOLLOW_14); rule__GenerationTask__Group_3_0__0__Impl(); @@ -26163,17 +26968,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_0__0__Impl" - // InternalApplicationConfiguration.g:8414:1: rule__GenerationTask__Group_3_0__0__Impl : ( 'metamodel' ) ; + // InternalApplicationConfiguration.g:8674:1: rule__GenerationTask__Group_3_0__0__Impl : ( 'metamodel' ) ; public final void rule__GenerationTask__Group_3_0__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8418:1: ( ( 'metamodel' ) ) - // InternalApplicationConfiguration.g:8419:1: ( 'metamodel' ) + // InternalApplicationConfiguration.g:8678:1: ( ( 'metamodel' ) ) + // InternalApplicationConfiguration.g:8679:1: ( 'metamodel' ) { - // InternalApplicationConfiguration.g:8419:1: ( 'metamodel' ) - // InternalApplicationConfiguration.g:8420:2: 'metamodel' + // InternalApplicationConfiguration.g:8679:1: ( 'metamodel' ) + // InternalApplicationConfiguration.g:8680:2: 'metamodel' { before(grammarAccess.getGenerationTaskAccess().getMetamodelKeyword_3_0_0()); match(input,35,FOLLOW_2); @@ -26200,16 +27005,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_0__1" - // InternalApplicationConfiguration.g:8429:1: rule__GenerationTask__Group_3_0__1 : rule__GenerationTask__Group_3_0__1__Impl rule__GenerationTask__Group_3_0__2 ; + // InternalApplicationConfiguration.g:8689:1: rule__GenerationTask__Group_3_0__1 : rule__GenerationTask__Group_3_0__1__Impl rule__GenerationTask__Group_3_0__2 ; public final void rule__GenerationTask__Group_3_0__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8433:1: ( rule__GenerationTask__Group_3_0__1__Impl rule__GenerationTask__Group_3_0__2 ) - // InternalApplicationConfiguration.g:8434:2: rule__GenerationTask__Group_3_0__1__Impl rule__GenerationTask__Group_3_0__2 + // InternalApplicationConfiguration.g:8693:1: ( rule__GenerationTask__Group_3_0__1__Impl rule__GenerationTask__Group_3_0__2 ) + // InternalApplicationConfiguration.g:8694:2: rule__GenerationTask__Group_3_0__1__Impl rule__GenerationTask__Group_3_0__2 { - pushFollow(FOLLOW_46); + pushFollow(FOLLOW_47); rule__GenerationTask__Group_3_0__1__Impl(); state._fsp--; @@ -26238,17 +27043,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_0__1__Impl" - // InternalApplicationConfiguration.g:8441:1: rule__GenerationTask__Group_3_0__1__Impl : ( '=' ) ; + // InternalApplicationConfiguration.g:8701:1: rule__GenerationTask__Group_3_0__1__Impl : ( '=' ) ; public final void rule__GenerationTask__Group_3_0__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8445:1: ( ( '=' ) ) - // InternalApplicationConfiguration.g:8446:1: ( '=' ) + // InternalApplicationConfiguration.g:8705:1: ( ( '=' ) ) + // InternalApplicationConfiguration.g:8706:1: ( '=' ) { - // InternalApplicationConfiguration.g:8446:1: ( '=' ) - // InternalApplicationConfiguration.g:8447:2: '=' + // InternalApplicationConfiguration.g:8706:1: ( '=' ) + // InternalApplicationConfiguration.g:8707:2: '=' { before(grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_0_1()); match(input,28,FOLLOW_2); @@ -26275,14 +27080,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_0__2" - // InternalApplicationConfiguration.g:8456:1: rule__GenerationTask__Group_3_0__2 : rule__GenerationTask__Group_3_0__2__Impl ; + // InternalApplicationConfiguration.g:8716:1: rule__GenerationTask__Group_3_0__2 : rule__GenerationTask__Group_3_0__2__Impl ; public final void rule__GenerationTask__Group_3_0__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8460:1: ( rule__GenerationTask__Group_3_0__2__Impl ) - // InternalApplicationConfiguration.g:8461:2: rule__GenerationTask__Group_3_0__2__Impl + // InternalApplicationConfiguration.g:8720:1: ( rule__GenerationTask__Group_3_0__2__Impl ) + // InternalApplicationConfiguration.g:8721:2: rule__GenerationTask__Group_3_0__2__Impl { pushFollow(FOLLOW_2); rule__GenerationTask__Group_3_0__2__Impl(); @@ -26308,21 +27113,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_0__2__Impl" - // InternalApplicationConfiguration.g:8467:1: rule__GenerationTask__Group_3_0__2__Impl : ( ( rule__GenerationTask__MetamodelAssignment_3_0_2 ) ) ; + // InternalApplicationConfiguration.g:8727:1: rule__GenerationTask__Group_3_0__2__Impl : ( ( rule__GenerationTask__MetamodelAssignment_3_0_2 ) ) ; public final void rule__GenerationTask__Group_3_0__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8471:1: ( ( ( rule__GenerationTask__MetamodelAssignment_3_0_2 ) ) ) - // InternalApplicationConfiguration.g:8472:1: ( ( rule__GenerationTask__MetamodelAssignment_3_0_2 ) ) + // InternalApplicationConfiguration.g:8731:1: ( ( ( rule__GenerationTask__MetamodelAssignment_3_0_2 ) ) ) + // InternalApplicationConfiguration.g:8732:1: ( ( rule__GenerationTask__MetamodelAssignment_3_0_2 ) ) { - // InternalApplicationConfiguration.g:8472:1: ( ( rule__GenerationTask__MetamodelAssignment_3_0_2 ) ) - // InternalApplicationConfiguration.g:8473:2: ( rule__GenerationTask__MetamodelAssignment_3_0_2 ) + // InternalApplicationConfiguration.g:8732:1: ( ( rule__GenerationTask__MetamodelAssignment_3_0_2 ) ) + // InternalApplicationConfiguration.g:8733:2: ( rule__GenerationTask__MetamodelAssignment_3_0_2 ) { before(grammarAccess.getGenerationTaskAccess().getMetamodelAssignment_3_0_2()); - // InternalApplicationConfiguration.g:8474:2: ( rule__GenerationTask__MetamodelAssignment_3_0_2 ) - // InternalApplicationConfiguration.g:8474:3: rule__GenerationTask__MetamodelAssignment_3_0_2 + // InternalApplicationConfiguration.g:8734:2: ( rule__GenerationTask__MetamodelAssignment_3_0_2 ) + // InternalApplicationConfiguration.g:8734:3: rule__GenerationTask__MetamodelAssignment_3_0_2 { pushFollow(FOLLOW_2); rule__GenerationTask__MetamodelAssignment_3_0_2(); @@ -26355,14 +27160,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_1__0" - // InternalApplicationConfiguration.g:8483:1: rule__GenerationTask__Group_3_1__0 : rule__GenerationTask__Group_3_1__0__Impl rule__GenerationTask__Group_3_1__1 ; + // InternalApplicationConfiguration.g:8743:1: rule__GenerationTask__Group_3_1__0 : rule__GenerationTask__Group_3_1__0__Impl rule__GenerationTask__Group_3_1__1 ; public final void rule__GenerationTask__Group_3_1__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8487:1: ( rule__GenerationTask__Group_3_1__0__Impl rule__GenerationTask__Group_3_1__1 ) - // InternalApplicationConfiguration.g:8488:2: rule__GenerationTask__Group_3_1__0__Impl rule__GenerationTask__Group_3_1__1 + // InternalApplicationConfiguration.g:8747:1: ( rule__GenerationTask__Group_3_1__0__Impl rule__GenerationTask__Group_3_1__1 ) + // InternalApplicationConfiguration.g:8748:2: rule__GenerationTask__Group_3_1__0__Impl rule__GenerationTask__Group_3_1__1 { pushFollow(FOLLOW_14); rule__GenerationTask__Group_3_1__0__Impl(); @@ -26393,20 +27198,20 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_1__0__Impl" - // InternalApplicationConfiguration.g:8495:1: rule__GenerationTask__Group_3_1__0__Impl : ( 'partial-model' ) ; + // InternalApplicationConfiguration.g:8755:1: rule__GenerationTask__Group_3_1__0__Impl : ( 'partial-model' ) ; public final void rule__GenerationTask__Group_3_1__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8499:1: ( ( 'partial-model' ) ) - // InternalApplicationConfiguration.g:8500:1: ( 'partial-model' ) + // InternalApplicationConfiguration.g:8759:1: ( ( 'partial-model' ) ) + // InternalApplicationConfiguration.g:8760:1: ( 'partial-model' ) { - // InternalApplicationConfiguration.g:8500:1: ( 'partial-model' ) - // InternalApplicationConfiguration.g:8501:2: 'partial-model' + // InternalApplicationConfiguration.g:8760:1: ( 'partial-model' ) + // InternalApplicationConfiguration.g:8761:2: 'partial-model' { before(grammarAccess.getGenerationTaskAccess().getPartialModelKeyword_3_1_0()); - match(input,54,FOLLOW_2); + match(input,56,FOLLOW_2); after(grammarAccess.getGenerationTaskAccess().getPartialModelKeyword_3_1_0()); } @@ -26430,16 +27235,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_1__1" - // InternalApplicationConfiguration.g:8510:1: rule__GenerationTask__Group_3_1__1 : rule__GenerationTask__Group_3_1__1__Impl rule__GenerationTask__Group_3_1__2 ; + // InternalApplicationConfiguration.g:8770:1: rule__GenerationTask__Group_3_1__1 : rule__GenerationTask__Group_3_1__1__Impl rule__GenerationTask__Group_3_1__2 ; public final void rule__GenerationTask__Group_3_1__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8514:1: ( rule__GenerationTask__Group_3_1__1__Impl rule__GenerationTask__Group_3_1__2 ) - // InternalApplicationConfiguration.g:8515:2: rule__GenerationTask__Group_3_1__1__Impl rule__GenerationTask__Group_3_1__2 + // InternalApplicationConfiguration.g:8774:1: ( rule__GenerationTask__Group_3_1__1__Impl rule__GenerationTask__Group_3_1__2 ) + // InternalApplicationConfiguration.g:8775:2: rule__GenerationTask__Group_3_1__1__Impl rule__GenerationTask__Group_3_1__2 { - pushFollow(FOLLOW_46); + pushFollow(FOLLOW_47); rule__GenerationTask__Group_3_1__1__Impl(); state._fsp--; @@ -26468,17 +27273,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_1__1__Impl" - // InternalApplicationConfiguration.g:8522:1: rule__GenerationTask__Group_3_1__1__Impl : ( '=' ) ; + // InternalApplicationConfiguration.g:8782:1: rule__GenerationTask__Group_3_1__1__Impl : ( '=' ) ; public final void rule__GenerationTask__Group_3_1__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8526:1: ( ( '=' ) ) - // InternalApplicationConfiguration.g:8527:1: ( '=' ) + // InternalApplicationConfiguration.g:8786:1: ( ( '=' ) ) + // InternalApplicationConfiguration.g:8787:1: ( '=' ) { - // InternalApplicationConfiguration.g:8527:1: ( '=' ) - // InternalApplicationConfiguration.g:8528:2: '=' + // InternalApplicationConfiguration.g:8787:1: ( '=' ) + // InternalApplicationConfiguration.g:8788:2: '=' { before(grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_1_1()); match(input,28,FOLLOW_2); @@ -26505,14 +27310,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_1__2" - // InternalApplicationConfiguration.g:8537:1: rule__GenerationTask__Group_3_1__2 : rule__GenerationTask__Group_3_1__2__Impl ; + // InternalApplicationConfiguration.g:8797:1: rule__GenerationTask__Group_3_1__2 : rule__GenerationTask__Group_3_1__2__Impl ; public final void rule__GenerationTask__Group_3_1__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8541:1: ( rule__GenerationTask__Group_3_1__2__Impl ) - // InternalApplicationConfiguration.g:8542:2: rule__GenerationTask__Group_3_1__2__Impl + // InternalApplicationConfiguration.g:8801:1: ( rule__GenerationTask__Group_3_1__2__Impl ) + // InternalApplicationConfiguration.g:8802:2: rule__GenerationTask__Group_3_1__2__Impl { pushFollow(FOLLOW_2); rule__GenerationTask__Group_3_1__2__Impl(); @@ -26538,21 +27343,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_1__2__Impl" - // InternalApplicationConfiguration.g:8548:1: rule__GenerationTask__Group_3_1__2__Impl : ( ( rule__GenerationTask__PartialModelAssignment_3_1_2 ) ) ; + // InternalApplicationConfiguration.g:8808:1: rule__GenerationTask__Group_3_1__2__Impl : ( ( rule__GenerationTask__PartialModelAssignment_3_1_2 ) ) ; public final void rule__GenerationTask__Group_3_1__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8552:1: ( ( ( rule__GenerationTask__PartialModelAssignment_3_1_2 ) ) ) - // InternalApplicationConfiguration.g:8553:1: ( ( rule__GenerationTask__PartialModelAssignment_3_1_2 ) ) + // InternalApplicationConfiguration.g:8812:1: ( ( ( rule__GenerationTask__PartialModelAssignment_3_1_2 ) ) ) + // InternalApplicationConfiguration.g:8813:1: ( ( rule__GenerationTask__PartialModelAssignment_3_1_2 ) ) { - // InternalApplicationConfiguration.g:8553:1: ( ( rule__GenerationTask__PartialModelAssignment_3_1_2 ) ) - // InternalApplicationConfiguration.g:8554:2: ( rule__GenerationTask__PartialModelAssignment_3_1_2 ) + // InternalApplicationConfiguration.g:8813:1: ( ( rule__GenerationTask__PartialModelAssignment_3_1_2 ) ) + // InternalApplicationConfiguration.g:8814:2: ( rule__GenerationTask__PartialModelAssignment_3_1_2 ) { before(grammarAccess.getGenerationTaskAccess().getPartialModelAssignment_3_1_2()); - // InternalApplicationConfiguration.g:8555:2: ( rule__GenerationTask__PartialModelAssignment_3_1_2 ) - // InternalApplicationConfiguration.g:8555:3: rule__GenerationTask__PartialModelAssignment_3_1_2 + // InternalApplicationConfiguration.g:8815:2: ( rule__GenerationTask__PartialModelAssignment_3_1_2 ) + // InternalApplicationConfiguration.g:8815:3: rule__GenerationTask__PartialModelAssignment_3_1_2 { pushFollow(FOLLOW_2); rule__GenerationTask__PartialModelAssignment_3_1_2(); @@ -26585,14 +27390,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_2__0" - // InternalApplicationConfiguration.g:8564:1: rule__GenerationTask__Group_3_2__0 : rule__GenerationTask__Group_3_2__0__Impl rule__GenerationTask__Group_3_2__1 ; + // InternalApplicationConfiguration.g:8824:1: rule__GenerationTask__Group_3_2__0 : rule__GenerationTask__Group_3_2__0__Impl rule__GenerationTask__Group_3_2__1 ; public final void rule__GenerationTask__Group_3_2__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8568:1: ( rule__GenerationTask__Group_3_2__0__Impl rule__GenerationTask__Group_3_2__1 ) - // InternalApplicationConfiguration.g:8569:2: rule__GenerationTask__Group_3_2__0__Impl rule__GenerationTask__Group_3_2__1 + // InternalApplicationConfiguration.g:8828:1: ( rule__GenerationTask__Group_3_2__0__Impl rule__GenerationTask__Group_3_2__1 ) + // InternalApplicationConfiguration.g:8829:2: rule__GenerationTask__Group_3_2__0__Impl rule__GenerationTask__Group_3_2__1 { pushFollow(FOLLOW_14); rule__GenerationTask__Group_3_2__0__Impl(); @@ -26623,17 +27428,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_2__0__Impl" - // InternalApplicationConfiguration.g:8576:1: rule__GenerationTask__Group_3_2__0__Impl : ( 'constraints' ) ; + // InternalApplicationConfiguration.g:8836:1: rule__GenerationTask__Group_3_2__0__Impl : ( 'constraints' ) ; public final void rule__GenerationTask__Group_3_2__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8580:1: ( ( 'constraints' ) ) - // InternalApplicationConfiguration.g:8581:1: ( 'constraints' ) + // InternalApplicationConfiguration.g:8840:1: ( ( 'constraints' ) ) + // InternalApplicationConfiguration.g:8841:1: ( 'constraints' ) { - // InternalApplicationConfiguration.g:8581:1: ( 'constraints' ) - // InternalApplicationConfiguration.g:8582:2: 'constraints' + // InternalApplicationConfiguration.g:8841:1: ( 'constraints' ) + // InternalApplicationConfiguration.g:8842:2: 'constraints' { before(grammarAccess.getGenerationTaskAccess().getConstraintsKeyword_3_2_0()); match(input,38,FOLLOW_2); @@ -26660,16 +27465,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_2__1" - // InternalApplicationConfiguration.g:8591:1: rule__GenerationTask__Group_3_2__1 : rule__GenerationTask__Group_3_2__1__Impl rule__GenerationTask__Group_3_2__2 ; + // InternalApplicationConfiguration.g:8851:1: rule__GenerationTask__Group_3_2__1 : rule__GenerationTask__Group_3_2__1__Impl rule__GenerationTask__Group_3_2__2 ; public final void rule__GenerationTask__Group_3_2__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8595:1: ( rule__GenerationTask__Group_3_2__1__Impl rule__GenerationTask__Group_3_2__2 ) - // InternalApplicationConfiguration.g:8596:2: rule__GenerationTask__Group_3_2__1__Impl rule__GenerationTask__Group_3_2__2 + // InternalApplicationConfiguration.g:8855:1: ( rule__GenerationTask__Group_3_2__1__Impl rule__GenerationTask__Group_3_2__2 ) + // InternalApplicationConfiguration.g:8856:2: rule__GenerationTask__Group_3_2__1__Impl rule__GenerationTask__Group_3_2__2 { - pushFollow(FOLLOW_46); + pushFollow(FOLLOW_47); rule__GenerationTask__Group_3_2__1__Impl(); state._fsp--; @@ -26698,17 +27503,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_2__1__Impl" - // InternalApplicationConfiguration.g:8603:1: rule__GenerationTask__Group_3_2__1__Impl : ( '=' ) ; + // InternalApplicationConfiguration.g:8863:1: rule__GenerationTask__Group_3_2__1__Impl : ( '=' ) ; public final void rule__GenerationTask__Group_3_2__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8607:1: ( ( '=' ) ) - // InternalApplicationConfiguration.g:8608:1: ( '=' ) + // InternalApplicationConfiguration.g:8867:1: ( ( '=' ) ) + // InternalApplicationConfiguration.g:8868:1: ( '=' ) { - // InternalApplicationConfiguration.g:8608:1: ( '=' ) - // InternalApplicationConfiguration.g:8609:2: '=' + // InternalApplicationConfiguration.g:8868:1: ( '=' ) + // InternalApplicationConfiguration.g:8869:2: '=' { before(grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_2_1()); match(input,28,FOLLOW_2); @@ -26735,14 +27540,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_2__2" - // InternalApplicationConfiguration.g:8618:1: rule__GenerationTask__Group_3_2__2 : rule__GenerationTask__Group_3_2__2__Impl ; + // InternalApplicationConfiguration.g:8878:1: rule__GenerationTask__Group_3_2__2 : rule__GenerationTask__Group_3_2__2__Impl ; public final void rule__GenerationTask__Group_3_2__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8622:1: ( rule__GenerationTask__Group_3_2__2__Impl ) - // InternalApplicationConfiguration.g:8623:2: rule__GenerationTask__Group_3_2__2__Impl + // InternalApplicationConfiguration.g:8882:1: ( rule__GenerationTask__Group_3_2__2__Impl ) + // InternalApplicationConfiguration.g:8883:2: rule__GenerationTask__Group_3_2__2__Impl { pushFollow(FOLLOW_2); rule__GenerationTask__Group_3_2__2__Impl(); @@ -26768,21 +27573,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_2__2__Impl" - // InternalApplicationConfiguration.g:8629:1: rule__GenerationTask__Group_3_2__2__Impl : ( ( rule__GenerationTask__PatternsAssignment_3_2_2 ) ) ; + // InternalApplicationConfiguration.g:8889:1: rule__GenerationTask__Group_3_2__2__Impl : ( ( rule__GenerationTask__PatternsAssignment_3_2_2 ) ) ; public final void rule__GenerationTask__Group_3_2__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8633:1: ( ( ( rule__GenerationTask__PatternsAssignment_3_2_2 ) ) ) - // InternalApplicationConfiguration.g:8634:1: ( ( rule__GenerationTask__PatternsAssignment_3_2_2 ) ) + // InternalApplicationConfiguration.g:8893:1: ( ( ( rule__GenerationTask__PatternsAssignment_3_2_2 ) ) ) + // InternalApplicationConfiguration.g:8894:1: ( ( rule__GenerationTask__PatternsAssignment_3_2_2 ) ) { - // InternalApplicationConfiguration.g:8634:1: ( ( rule__GenerationTask__PatternsAssignment_3_2_2 ) ) - // InternalApplicationConfiguration.g:8635:2: ( rule__GenerationTask__PatternsAssignment_3_2_2 ) + // InternalApplicationConfiguration.g:8894:1: ( ( rule__GenerationTask__PatternsAssignment_3_2_2 ) ) + // InternalApplicationConfiguration.g:8895:2: ( rule__GenerationTask__PatternsAssignment_3_2_2 ) { before(grammarAccess.getGenerationTaskAccess().getPatternsAssignment_3_2_2()); - // InternalApplicationConfiguration.g:8636:2: ( rule__GenerationTask__PatternsAssignment_3_2_2 ) - // InternalApplicationConfiguration.g:8636:3: rule__GenerationTask__PatternsAssignment_3_2_2 + // InternalApplicationConfiguration.g:8896:2: ( rule__GenerationTask__PatternsAssignment_3_2_2 ) + // InternalApplicationConfiguration.g:8896:3: rule__GenerationTask__PatternsAssignment_3_2_2 { pushFollow(FOLLOW_2); rule__GenerationTask__PatternsAssignment_3_2_2(); @@ -26815,14 +27620,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_3__0" - // InternalApplicationConfiguration.g:8645:1: rule__GenerationTask__Group_3_3__0 : rule__GenerationTask__Group_3_3__0__Impl rule__GenerationTask__Group_3_3__1 ; + // InternalApplicationConfiguration.g:8905:1: rule__GenerationTask__Group_3_3__0 : rule__GenerationTask__Group_3_3__0__Impl rule__GenerationTask__Group_3_3__1 ; public final void rule__GenerationTask__Group_3_3__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8649:1: ( rule__GenerationTask__Group_3_3__0__Impl rule__GenerationTask__Group_3_3__1 ) - // InternalApplicationConfiguration.g:8650:2: rule__GenerationTask__Group_3_3__0__Impl rule__GenerationTask__Group_3_3__1 + // InternalApplicationConfiguration.g:8909:1: ( rule__GenerationTask__Group_3_3__0__Impl rule__GenerationTask__Group_3_3__1 ) + // InternalApplicationConfiguration.g:8910:2: rule__GenerationTask__Group_3_3__0__Impl rule__GenerationTask__Group_3_3__1 { pushFollow(FOLLOW_14); rule__GenerationTask__Group_3_3__0__Impl(); @@ -26853,20 +27658,20 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_3__0__Impl" - // InternalApplicationConfiguration.g:8657:1: rule__GenerationTask__Group_3_3__0__Impl : ( 'objectives' ) ; + // InternalApplicationConfiguration.g:8917:1: rule__GenerationTask__Group_3_3__0__Impl : ( 'objectives' ) ; public final void rule__GenerationTask__Group_3_3__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8661:1: ( ( 'objectives' ) ) - // InternalApplicationConfiguration.g:8662:1: ( 'objectives' ) + // InternalApplicationConfiguration.g:8921:1: ( ( 'objectives' ) ) + // InternalApplicationConfiguration.g:8922:1: ( 'objectives' ) { - // InternalApplicationConfiguration.g:8662:1: ( 'objectives' ) - // InternalApplicationConfiguration.g:8663:2: 'objectives' + // InternalApplicationConfiguration.g:8922:1: ( 'objectives' ) + // InternalApplicationConfiguration.g:8923:2: 'objectives' { before(grammarAccess.getGenerationTaskAccess().getObjectivesKeyword_3_3_0()); - match(input,39,FOLLOW_2); + match(input,41,FOLLOW_2); after(grammarAccess.getGenerationTaskAccess().getObjectivesKeyword_3_3_0()); } @@ -26890,16 +27695,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_3__1" - // InternalApplicationConfiguration.g:8672:1: rule__GenerationTask__Group_3_3__1 : rule__GenerationTask__Group_3_3__1__Impl rule__GenerationTask__Group_3_3__2 ; + // InternalApplicationConfiguration.g:8932:1: rule__GenerationTask__Group_3_3__1 : rule__GenerationTask__Group_3_3__1__Impl rule__GenerationTask__Group_3_3__2 ; public final void rule__GenerationTask__Group_3_3__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8676:1: ( rule__GenerationTask__Group_3_3__1__Impl rule__GenerationTask__Group_3_3__2 ) - // InternalApplicationConfiguration.g:8677:2: rule__GenerationTask__Group_3_3__1__Impl rule__GenerationTask__Group_3_3__2 + // InternalApplicationConfiguration.g:8936:1: ( rule__GenerationTask__Group_3_3__1__Impl rule__GenerationTask__Group_3_3__2 ) + // InternalApplicationConfiguration.g:8937:2: rule__GenerationTask__Group_3_3__1__Impl rule__GenerationTask__Group_3_3__2 { - pushFollow(FOLLOW_46); + pushFollow(FOLLOW_47); rule__GenerationTask__Group_3_3__1__Impl(); state._fsp--; @@ -26928,17 +27733,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_3__1__Impl" - // InternalApplicationConfiguration.g:8684:1: rule__GenerationTask__Group_3_3__1__Impl : ( '=' ) ; + // InternalApplicationConfiguration.g:8944:1: rule__GenerationTask__Group_3_3__1__Impl : ( '=' ) ; public final void rule__GenerationTask__Group_3_3__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8688:1: ( ( '=' ) ) - // InternalApplicationConfiguration.g:8689:1: ( '=' ) + // InternalApplicationConfiguration.g:8948:1: ( ( '=' ) ) + // InternalApplicationConfiguration.g:8949:1: ( '=' ) { - // InternalApplicationConfiguration.g:8689:1: ( '=' ) - // InternalApplicationConfiguration.g:8690:2: '=' + // InternalApplicationConfiguration.g:8949:1: ( '=' ) + // InternalApplicationConfiguration.g:8950:2: '=' { before(grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_3_1()); match(input,28,FOLLOW_2); @@ -26965,14 +27770,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_3__2" - // InternalApplicationConfiguration.g:8699:1: rule__GenerationTask__Group_3_3__2 : rule__GenerationTask__Group_3_3__2__Impl ; + // InternalApplicationConfiguration.g:8959:1: rule__GenerationTask__Group_3_3__2 : rule__GenerationTask__Group_3_3__2__Impl ; public final void rule__GenerationTask__Group_3_3__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8703:1: ( rule__GenerationTask__Group_3_3__2__Impl ) - // InternalApplicationConfiguration.g:8704:2: rule__GenerationTask__Group_3_3__2__Impl + // InternalApplicationConfiguration.g:8963:1: ( rule__GenerationTask__Group_3_3__2__Impl ) + // InternalApplicationConfiguration.g:8964:2: rule__GenerationTask__Group_3_3__2__Impl { pushFollow(FOLLOW_2); rule__GenerationTask__Group_3_3__2__Impl(); @@ -26998,21 +27803,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_3__2__Impl" - // InternalApplicationConfiguration.g:8710:1: rule__GenerationTask__Group_3_3__2__Impl : ( ( rule__GenerationTask__ObjectivesAssignment_3_3_2 ) ) ; + // InternalApplicationConfiguration.g:8970:1: rule__GenerationTask__Group_3_3__2__Impl : ( ( rule__GenerationTask__ObjectivesAssignment_3_3_2 ) ) ; public final void rule__GenerationTask__Group_3_3__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8714:1: ( ( ( rule__GenerationTask__ObjectivesAssignment_3_3_2 ) ) ) - // InternalApplicationConfiguration.g:8715:1: ( ( rule__GenerationTask__ObjectivesAssignment_3_3_2 ) ) + // InternalApplicationConfiguration.g:8974:1: ( ( ( rule__GenerationTask__ObjectivesAssignment_3_3_2 ) ) ) + // InternalApplicationConfiguration.g:8975:1: ( ( rule__GenerationTask__ObjectivesAssignment_3_3_2 ) ) { - // InternalApplicationConfiguration.g:8715:1: ( ( rule__GenerationTask__ObjectivesAssignment_3_3_2 ) ) - // InternalApplicationConfiguration.g:8716:2: ( rule__GenerationTask__ObjectivesAssignment_3_3_2 ) + // InternalApplicationConfiguration.g:8975:1: ( ( rule__GenerationTask__ObjectivesAssignment_3_3_2 ) ) + // InternalApplicationConfiguration.g:8976:2: ( rule__GenerationTask__ObjectivesAssignment_3_3_2 ) { before(grammarAccess.getGenerationTaskAccess().getObjectivesAssignment_3_3_2()); - // InternalApplicationConfiguration.g:8717:2: ( rule__GenerationTask__ObjectivesAssignment_3_3_2 ) - // InternalApplicationConfiguration.g:8717:3: rule__GenerationTask__ObjectivesAssignment_3_3_2 + // InternalApplicationConfiguration.g:8977:2: ( rule__GenerationTask__ObjectivesAssignment_3_3_2 ) + // InternalApplicationConfiguration.g:8977:3: rule__GenerationTask__ObjectivesAssignment_3_3_2 { pushFollow(FOLLOW_2); rule__GenerationTask__ObjectivesAssignment_3_3_2(); @@ -27045,14 +27850,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_4__0" - // InternalApplicationConfiguration.g:8726:1: rule__GenerationTask__Group_3_4__0 : rule__GenerationTask__Group_3_4__0__Impl rule__GenerationTask__Group_3_4__1 ; + // InternalApplicationConfiguration.g:8986:1: rule__GenerationTask__Group_3_4__0 : rule__GenerationTask__Group_3_4__0__Impl rule__GenerationTask__Group_3_4__1 ; public final void rule__GenerationTask__Group_3_4__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8730:1: ( rule__GenerationTask__Group_3_4__0__Impl rule__GenerationTask__Group_3_4__1 ) - // InternalApplicationConfiguration.g:8731:2: rule__GenerationTask__Group_3_4__0__Impl rule__GenerationTask__Group_3_4__1 + // InternalApplicationConfiguration.g:8990:1: ( rule__GenerationTask__Group_3_4__0__Impl rule__GenerationTask__Group_3_4__1 ) + // InternalApplicationConfiguration.g:8991:2: rule__GenerationTask__Group_3_4__0__Impl rule__GenerationTask__Group_3_4__1 { pushFollow(FOLLOW_14); rule__GenerationTask__Group_3_4__0__Impl(); @@ -27083,20 +27888,20 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_4__0__Impl" - // InternalApplicationConfiguration.g:8738:1: rule__GenerationTask__Group_3_4__0__Impl : ( 'scope' ) ; + // InternalApplicationConfiguration.g:8998:1: rule__GenerationTask__Group_3_4__0__Impl : ( 'scope' ) ; public final void rule__GenerationTask__Group_3_4__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8742:1: ( ( 'scope' ) ) - // InternalApplicationConfiguration.g:8743:1: ( 'scope' ) + // InternalApplicationConfiguration.g:9002:1: ( ( 'scope' ) ) + // InternalApplicationConfiguration.g:9003:1: ( 'scope' ) { - // InternalApplicationConfiguration.g:8743:1: ( 'scope' ) - // InternalApplicationConfiguration.g:8744:2: 'scope' + // InternalApplicationConfiguration.g:9003:1: ( 'scope' ) + // InternalApplicationConfiguration.g:9004:2: 'scope' { before(grammarAccess.getGenerationTaskAccess().getScopeKeyword_3_4_0()); - match(input,52,FOLLOW_2); + match(input,54,FOLLOW_2); after(grammarAccess.getGenerationTaskAccess().getScopeKeyword_3_4_0()); } @@ -27120,16 +27925,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_4__1" - // InternalApplicationConfiguration.g:8753:1: rule__GenerationTask__Group_3_4__1 : rule__GenerationTask__Group_3_4__1__Impl rule__GenerationTask__Group_3_4__2 ; + // InternalApplicationConfiguration.g:9013:1: rule__GenerationTask__Group_3_4__1 : rule__GenerationTask__Group_3_4__1__Impl rule__GenerationTask__Group_3_4__2 ; public final void rule__GenerationTask__Group_3_4__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8757:1: ( rule__GenerationTask__Group_3_4__1__Impl rule__GenerationTask__Group_3_4__2 ) - // InternalApplicationConfiguration.g:8758:2: rule__GenerationTask__Group_3_4__1__Impl rule__GenerationTask__Group_3_4__2 + // InternalApplicationConfiguration.g:9017:1: ( rule__GenerationTask__Group_3_4__1__Impl rule__GenerationTask__Group_3_4__2 ) + // InternalApplicationConfiguration.g:9018:2: rule__GenerationTask__Group_3_4__1__Impl rule__GenerationTask__Group_3_4__2 { - pushFollow(FOLLOW_46); + pushFollow(FOLLOW_47); rule__GenerationTask__Group_3_4__1__Impl(); state._fsp--; @@ -27158,17 +27963,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_4__1__Impl" - // InternalApplicationConfiguration.g:8765:1: rule__GenerationTask__Group_3_4__1__Impl : ( '=' ) ; + // InternalApplicationConfiguration.g:9025:1: rule__GenerationTask__Group_3_4__1__Impl : ( '=' ) ; public final void rule__GenerationTask__Group_3_4__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8769:1: ( ( '=' ) ) - // InternalApplicationConfiguration.g:8770:1: ( '=' ) + // InternalApplicationConfiguration.g:9029:1: ( ( '=' ) ) + // InternalApplicationConfiguration.g:9030:1: ( '=' ) { - // InternalApplicationConfiguration.g:8770:1: ( '=' ) - // InternalApplicationConfiguration.g:8771:2: '=' + // InternalApplicationConfiguration.g:9030:1: ( '=' ) + // InternalApplicationConfiguration.g:9031:2: '=' { before(grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_4_1()); match(input,28,FOLLOW_2); @@ -27195,14 +28000,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_4__2" - // InternalApplicationConfiguration.g:8780:1: rule__GenerationTask__Group_3_4__2 : rule__GenerationTask__Group_3_4__2__Impl ; + // InternalApplicationConfiguration.g:9040:1: rule__GenerationTask__Group_3_4__2 : rule__GenerationTask__Group_3_4__2__Impl ; public final void rule__GenerationTask__Group_3_4__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8784:1: ( rule__GenerationTask__Group_3_4__2__Impl ) - // InternalApplicationConfiguration.g:8785:2: rule__GenerationTask__Group_3_4__2__Impl + // InternalApplicationConfiguration.g:9044:1: ( rule__GenerationTask__Group_3_4__2__Impl ) + // InternalApplicationConfiguration.g:9045:2: rule__GenerationTask__Group_3_4__2__Impl { pushFollow(FOLLOW_2); rule__GenerationTask__Group_3_4__2__Impl(); @@ -27228,21 +28033,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_4__2__Impl" - // InternalApplicationConfiguration.g:8791:1: rule__GenerationTask__Group_3_4__2__Impl : ( ( rule__GenerationTask__ScopeAssignment_3_4_2 ) ) ; + // InternalApplicationConfiguration.g:9051:1: rule__GenerationTask__Group_3_4__2__Impl : ( ( rule__GenerationTask__ScopeAssignment_3_4_2 ) ) ; public final void rule__GenerationTask__Group_3_4__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8795:1: ( ( ( rule__GenerationTask__ScopeAssignment_3_4_2 ) ) ) - // InternalApplicationConfiguration.g:8796:1: ( ( rule__GenerationTask__ScopeAssignment_3_4_2 ) ) + // InternalApplicationConfiguration.g:9055:1: ( ( ( rule__GenerationTask__ScopeAssignment_3_4_2 ) ) ) + // InternalApplicationConfiguration.g:9056:1: ( ( rule__GenerationTask__ScopeAssignment_3_4_2 ) ) { - // InternalApplicationConfiguration.g:8796:1: ( ( rule__GenerationTask__ScopeAssignment_3_4_2 ) ) - // InternalApplicationConfiguration.g:8797:2: ( rule__GenerationTask__ScopeAssignment_3_4_2 ) + // InternalApplicationConfiguration.g:9056:1: ( ( rule__GenerationTask__ScopeAssignment_3_4_2 ) ) + // InternalApplicationConfiguration.g:9057:2: ( rule__GenerationTask__ScopeAssignment_3_4_2 ) { before(grammarAccess.getGenerationTaskAccess().getScopeAssignment_3_4_2()); - // InternalApplicationConfiguration.g:8798:2: ( rule__GenerationTask__ScopeAssignment_3_4_2 ) - // InternalApplicationConfiguration.g:8798:3: rule__GenerationTask__ScopeAssignment_3_4_2 + // InternalApplicationConfiguration.g:9058:2: ( rule__GenerationTask__ScopeAssignment_3_4_2 ) + // InternalApplicationConfiguration.g:9058:3: rule__GenerationTask__ScopeAssignment_3_4_2 { pushFollow(FOLLOW_2); rule__GenerationTask__ScopeAssignment_3_4_2(); @@ -27275,14 +28080,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_5__0" - // InternalApplicationConfiguration.g:8807:1: rule__GenerationTask__Group_3_5__0 : rule__GenerationTask__Group_3_5__0__Impl rule__GenerationTask__Group_3_5__1 ; + // InternalApplicationConfiguration.g:9067:1: rule__GenerationTask__Group_3_5__0 : rule__GenerationTask__Group_3_5__0__Impl rule__GenerationTask__Group_3_5__1 ; public final void rule__GenerationTask__Group_3_5__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8811:1: ( rule__GenerationTask__Group_3_5__0__Impl rule__GenerationTask__Group_3_5__1 ) - // InternalApplicationConfiguration.g:8812:2: rule__GenerationTask__Group_3_5__0__Impl rule__GenerationTask__Group_3_5__1 + // InternalApplicationConfiguration.g:9071:1: ( rule__GenerationTask__Group_3_5__0__Impl rule__GenerationTask__Group_3_5__1 ) + // InternalApplicationConfiguration.g:9072:2: rule__GenerationTask__Group_3_5__0__Impl rule__GenerationTask__Group_3_5__1 { pushFollow(FOLLOW_14); rule__GenerationTask__Group_3_5__0__Impl(); @@ -27313,21 +28118,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_5__0__Impl" - // InternalApplicationConfiguration.g:8819:1: rule__GenerationTask__Group_3_5__0__Impl : ( ( rule__GenerationTask__NumberSpecifiedAssignment_3_5_0 ) ) ; + // InternalApplicationConfiguration.g:9079:1: rule__GenerationTask__Group_3_5__0__Impl : ( ( rule__GenerationTask__NumberSpecifiedAssignment_3_5_0 ) ) ; public final void rule__GenerationTask__Group_3_5__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8823:1: ( ( ( rule__GenerationTask__NumberSpecifiedAssignment_3_5_0 ) ) ) - // InternalApplicationConfiguration.g:8824:1: ( ( rule__GenerationTask__NumberSpecifiedAssignment_3_5_0 ) ) + // InternalApplicationConfiguration.g:9083:1: ( ( ( rule__GenerationTask__NumberSpecifiedAssignment_3_5_0 ) ) ) + // InternalApplicationConfiguration.g:9084:1: ( ( rule__GenerationTask__NumberSpecifiedAssignment_3_5_0 ) ) { - // InternalApplicationConfiguration.g:8824:1: ( ( rule__GenerationTask__NumberSpecifiedAssignment_3_5_0 ) ) - // InternalApplicationConfiguration.g:8825:2: ( rule__GenerationTask__NumberSpecifiedAssignment_3_5_0 ) + // InternalApplicationConfiguration.g:9084:1: ( ( rule__GenerationTask__NumberSpecifiedAssignment_3_5_0 ) ) + // InternalApplicationConfiguration.g:9085:2: ( rule__GenerationTask__NumberSpecifiedAssignment_3_5_0 ) { before(grammarAccess.getGenerationTaskAccess().getNumberSpecifiedAssignment_3_5_0()); - // InternalApplicationConfiguration.g:8826:2: ( rule__GenerationTask__NumberSpecifiedAssignment_3_5_0 ) - // InternalApplicationConfiguration.g:8826:3: rule__GenerationTask__NumberSpecifiedAssignment_3_5_0 + // InternalApplicationConfiguration.g:9086:2: ( rule__GenerationTask__NumberSpecifiedAssignment_3_5_0 ) + // InternalApplicationConfiguration.g:9086:3: rule__GenerationTask__NumberSpecifiedAssignment_3_5_0 { pushFollow(FOLLOW_2); rule__GenerationTask__NumberSpecifiedAssignment_3_5_0(); @@ -27360,14 +28165,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_5__1" - // InternalApplicationConfiguration.g:8834:1: rule__GenerationTask__Group_3_5__1 : rule__GenerationTask__Group_3_5__1__Impl rule__GenerationTask__Group_3_5__2 ; + // InternalApplicationConfiguration.g:9094:1: rule__GenerationTask__Group_3_5__1 : rule__GenerationTask__Group_3_5__1__Impl rule__GenerationTask__Group_3_5__2 ; public final void rule__GenerationTask__Group_3_5__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8838:1: ( rule__GenerationTask__Group_3_5__1__Impl rule__GenerationTask__Group_3_5__2 ) - // InternalApplicationConfiguration.g:8839:2: rule__GenerationTask__Group_3_5__1__Impl rule__GenerationTask__Group_3_5__2 + // InternalApplicationConfiguration.g:9098:1: ( rule__GenerationTask__Group_3_5__1__Impl rule__GenerationTask__Group_3_5__2 ) + // InternalApplicationConfiguration.g:9099:2: rule__GenerationTask__Group_3_5__1__Impl rule__GenerationTask__Group_3_5__2 { pushFollow(FOLLOW_9); rule__GenerationTask__Group_3_5__1__Impl(); @@ -27398,17 +28203,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_5__1__Impl" - // InternalApplicationConfiguration.g:8846:1: rule__GenerationTask__Group_3_5__1__Impl : ( '=' ) ; + // InternalApplicationConfiguration.g:9106:1: rule__GenerationTask__Group_3_5__1__Impl : ( '=' ) ; public final void rule__GenerationTask__Group_3_5__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8850:1: ( ( '=' ) ) - // InternalApplicationConfiguration.g:8851:1: ( '=' ) + // InternalApplicationConfiguration.g:9110:1: ( ( '=' ) ) + // InternalApplicationConfiguration.g:9111:1: ( '=' ) { - // InternalApplicationConfiguration.g:8851:1: ( '=' ) - // InternalApplicationConfiguration.g:8852:2: '=' + // InternalApplicationConfiguration.g:9111:1: ( '=' ) + // InternalApplicationConfiguration.g:9112:2: '=' { before(grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_5_1()); match(input,28,FOLLOW_2); @@ -27435,14 +28240,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_5__2" - // InternalApplicationConfiguration.g:8861:1: rule__GenerationTask__Group_3_5__2 : rule__GenerationTask__Group_3_5__2__Impl ; + // InternalApplicationConfiguration.g:9121:1: rule__GenerationTask__Group_3_5__2 : rule__GenerationTask__Group_3_5__2__Impl ; public final void rule__GenerationTask__Group_3_5__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8865:1: ( rule__GenerationTask__Group_3_5__2__Impl ) - // InternalApplicationConfiguration.g:8866:2: rule__GenerationTask__Group_3_5__2__Impl + // InternalApplicationConfiguration.g:9125:1: ( rule__GenerationTask__Group_3_5__2__Impl ) + // InternalApplicationConfiguration.g:9126:2: rule__GenerationTask__Group_3_5__2__Impl { pushFollow(FOLLOW_2); rule__GenerationTask__Group_3_5__2__Impl(); @@ -27468,21 +28273,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_5__2__Impl" - // InternalApplicationConfiguration.g:8872:1: rule__GenerationTask__Group_3_5__2__Impl : ( ( rule__GenerationTask__NumberAssignment_3_5_2 ) ) ; + // InternalApplicationConfiguration.g:9132:1: rule__GenerationTask__Group_3_5__2__Impl : ( ( rule__GenerationTask__NumberAssignment_3_5_2 ) ) ; public final void rule__GenerationTask__Group_3_5__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8876:1: ( ( ( rule__GenerationTask__NumberAssignment_3_5_2 ) ) ) - // InternalApplicationConfiguration.g:8877:1: ( ( rule__GenerationTask__NumberAssignment_3_5_2 ) ) + // InternalApplicationConfiguration.g:9136:1: ( ( ( rule__GenerationTask__NumberAssignment_3_5_2 ) ) ) + // InternalApplicationConfiguration.g:9137:1: ( ( rule__GenerationTask__NumberAssignment_3_5_2 ) ) { - // InternalApplicationConfiguration.g:8877:1: ( ( rule__GenerationTask__NumberAssignment_3_5_2 ) ) - // InternalApplicationConfiguration.g:8878:2: ( rule__GenerationTask__NumberAssignment_3_5_2 ) + // InternalApplicationConfiguration.g:9137:1: ( ( rule__GenerationTask__NumberAssignment_3_5_2 ) ) + // InternalApplicationConfiguration.g:9138:2: ( rule__GenerationTask__NumberAssignment_3_5_2 ) { before(grammarAccess.getGenerationTaskAccess().getNumberAssignment_3_5_2()); - // InternalApplicationConfiguration.g:8879:2: ( rule__GenerationTask__NumberAssignment_3_5_2 ) - // InternalApplicationConfiguration.g:8879:3: rule__GenerationTask__NumberAssignment_3_5_2 + // InternalApplicationConfiguration.g:9139:2: ( rule__GenerationTask__NumberAssignment_3_5_2 ) + // InternalApplicationConfiguration.g:9139:3: rule__GenerationTask__NumberAssignment_3_5_2 { pushFollow(FOLLOW_2); rule__GenerationTask__NumberAssignment_3_5_2(); @@ -27515,14 +28320,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_6__0" - // InternalApplicationConfiguration.g:8888:1: rule__GenerationTask__Group_3_6__0 : rule__GenerationTask__Group_3_6__0__Impl rule__GenerationTask__Group_3_6__1 ; + // InternalApplicationConfiguration.g:9148:1: rule__GenerationTask__Group_3_6__0 : rule__GenerationTask__Group_3_6__0__Impl rule__GenerationTask__Group_3_6__1 ; public final void rule__GenerationTask__Group_3_6__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8892:1: ( rule__GenerationTask__Group_3_6__0__Impl rule__GenerationTask__Group_3_6__1 ) - // InternalApplicationConfiguration.g:8893:2: rule__GenerationTask__Group_3_6__0__Impl rule__GenerationTask__Group_3_6__1 + // InternalApplicationConfiguration.g:9152:1: ( rule__GenerationTask__Group_3_6__0__Impl rule__GenerationTask__Group_3_6__1 ) + // InternalApplicationConfiguration.g:9153:2: rule__GenerationTask__Group_3_6__0__Impl rule__GenerationTask__Group_3_6__1 { pushFollow(FOLLOW_14); rule__GenerationTask__Group_3_6__0__Impl(); @@ -27553,21 +28358,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_6__0__Impl" - // InternalApplicationConfiguration.g:8900:1: rule__GenerationTask__Group_3_6__0__Impl : ( ( rule__GenerationTask__RunSpecifiedAssignment_3_6_0 ) ) ; + // InternalApplicationConfiguration.g:9160:1: rule__GenerationTask__Group_3_6__0__Impl : ( ( rule__GenerationTask__RunSpecifiedAssignment_3_6_0 ) ) ; public final void rule__GenerationTask__Group_3_6__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8904:1: ( ( ( rule__GenerationTask__RunSpecifiedAssignment_3_6_0 ) ) ) - // InternalApplicationConfiguration.g:8905:1: ( ( rule__GenerationTask__RunSpecifiedAssignment_3_6_0 ) ) + // InternalApplicationConfiguration.g:9164:1: ( ( ( rule__GenerationTask__RunSpecifiedAssignment_3_6_0 ) ) ) + // InternalApplicationConfiguration.g:9165:1: ( ( rule__GenerationTask__RunSpecifiedAssignment_3_6_0 ) ) { - // InternalApplicationConfiguration.g:8905:1: ( ( rule__GenerationTask__RunSpecifiedAssignment_3_6_0 ) ) - // InternalApplicationConfiguration.g:8906:2: ( rule__GenerationTask__RunSpecifiedAssignment_3_6_0 ) + // InternalApplicationConfiguration.g:9165:1: ( ( rule__GenerationTask__RunSpecifiedAssignment_3_6_0 ) ) + // InternalApplicationConfiguration.g:9166:2: ( rule__GenerationTask__RunSpecifiedAssignment_3_6_0 ) { before(grammarAccess.getGenerationTaskAccess().getRunSpecifiedAssignment_3_6_0()); - // InternalApplicationConfiguration.g:8907:2: ( rule__GenerationTask__RunSpecifiedAssignment_3_6_0 ) - // InternalApplicationConfiguration.g:8907:3: rule__GenerationTask__RunSpecifiedAssignment_3_6_0 + // InternalApplicationConfiguration.g:9167:2: ( rule__GenerationTask__RunSpecifiedAssignment_3_6_0 ) + // InternalApplicationConfiguration.g:9167:3: rule__GenerationTask__RunSpecifiedAssignment_3_6_0 { pushFollow(FOLLOW_2); rule__GenerationTask__RunSpecifiedAssignment_3_6_0(); @@ -27600,14 +28405,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_6__1" - // InternalApplicationConfiguration.g:8915:1: rule__GenerationTask__Group_3_6__1 : rule__GenerationTask__Group_3_6__1__Impl rule__GenerationTask__Group_3_6__2 ; + // InternalApplicationConfiguration.g:9175:1: rule__GenerationTask__Group_3_6__1 : rule__GenerationTask__Group_3_6__1__Impl rule__GenerationTask__Group_3_6__2 ; public final void rule__GenerationTask__Group_3_6__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8919:1: ( rule__GenerationTask__Group_3_6__1__Impl rule__GenerationTask__Group_3_6__2 ) - // InternalApplicationConfiguration.g:8920:2: rule__GenerationTask__Group_3_6__1__Impl rule__GenerationTask__Group_3_6__2 + // InternalApplicationConfiguration.g:9179:1: ( rule__GenerationTask__Group_3_6__1__Impl rule__GenerationTask__Group_3_6__2 ) + // InternalApplicationConfiguration.g:9180:2: rule__GenerationTask__Group_3_6__1__Impl rule__GenerationTask__Group_3_6__2 { pushFollow(FOLLOW_9); rule__GenerationTask__Group_3_6__1__Impl(); @@ -27638,17 +28443,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_6__1__Impl" - // InternalApplicationConfiguration.g:8927:1: rule__GenerationTask__Group_3_6__1__Impl : ( '=' ) ; + // InternalApplicationConfiguration.g:9187:1: rule__GenerationTask__Group_3_6__1__Impl : ( '=' ) ; public final void rule__GenerationTask__Group_3_6__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8931:1: ( ( '=' ) ) - // InternalApplicationConfiguration.g:8932:1: ( '=' ) + // InternalApplicationConfiguration.g:9191:1: ( ( '=' ) ) + // InternalApplicationConfiguration.g:9192:1: ( '=' ) { - // InternalApplicationConfiguration.g:8932:1: ( '=' ) - // InternalApplicationConfiguration.g:8933:2: '=' + // InternalApplicationConfiguration.g:9192:1: ( '=' ) + // InternalApplicationConfiguration.g:9193:2: '=' { before(grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_6_1()); match(input,28,FOLLOW_2); @@ -27675,14 +28480,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_6__2" - // InternalApplicationConfiguration.g:8942:1: rule__GenerationTask__Group_3_6__2 : rule__GenerationTask__Group_3_6__2__Impl ; + // InternalApplicationConfiguration.g:9202:1: rule__GenerationTask__Group_3_6__2 : rule__GenerationTask__Group_3_6__2__Impl ; public final void rule__GenerationTask__Group_3_6__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8946:1: ( rule__GenerationTask__Group_3_6__2__Impl ) - // InternalApplicationConfiguration.g:8947:2: rule__GenerationTask__Group_3_6__2__Impl + // InternalApplicationConfiguration.g:9206:1: ( rule__GenerationTask__Group_3_6__2__Impl ) + // InternalApplicationConfiguration.g:9207:2: rule__GenerationTask__Group_3_6__2__Impl { pushFollow(FOLLOW_2); rule__GenerationTask__Group_3_6__2__Impl(); @@ -27708,21 +28513,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_6__2__Impl" - // InternalApplicationConfiguration.g:8953:1: rule__GenerationTask__Group_3_6__2__Impl : ( ( rule__GenerationTask__RunsAssignment_3_6_2 ) ) ; + // InternalApplicationConfiguration.g:9213:1: rule__GenerationTask__Group_3_6__2__Impl : ( ( rule__GenerationTask__RunsAssignment_3_6_2 ) ) ; public final void rule__GenerationTask__Group_3_6__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8957:1: ( ( ( rule__GenerationTask__RunsAssignment_3_6_2 ) ) ) - // InternalApplicationConfiguration.g:8958:1: ( ( rule__GenerationTask__RunsAssignment_3_6_2 ) ) + // InternalApplicationConfiguration.g:9217:1: ( ( ( rule__GenerationTask__RunsAssignment_3_6_2 ) ) ) + // InternalApplicationConfiguration.g:9218:1: ( ( rule__GenerationTask__RunsAssignment_3_6_2 ) ) { - // InternalApplicationConfiguration.g:8958:1: ( ( rule__GenerationTask__RunsAssignment_3_6_2 ) ) - // InternalApplicationConfiguration.g:8959:2: ( rule__GenerationTask__RunsAssignment_3_6_2 ) + // InternalApplicationConfiguration.g:9218:1: ( ( rule__GenerationTask__RunsAssignment_3_6_2 ) ) + // InternalApplicationConfiguration.g:9219:2: ( rule__GenerationTask__RunsAssignment_3_6_2 ) { before(grammarAccess.getGenerationTaskAccess().getRunsAssignment_3_6_2()); - // InternalApplicationConfiguration.g:8960:2: ( rule__GenerationTask__RunsAssignment_3_6_2 ) - // InternalApplicationConfiguration.g:8960:3: rule__GenerationTask__RunsAssignment_3_6_2 + // InternalApplicationConfiguration.g:9220:2: ( rule__GenerationTask__RunsAssignment_3_6_2 ) + // InternalApplicationConfiguration.g:9220:3: rule__GenerationTask__RunsAssignment_3_6_2 { pushFollow(FOLLOW_2); rule__GenerationTask__RunsAssignment_3_6_2(); @@ -27755,14 +28560,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_7__0" - // InternalApplicationConfiguration.g:8969:1: rule__GenerationTask__Group_3_7__0 : rule__GenerationTask__Group_3_7__0__Impl rule__GenerationTask__Group_3_7__1 ; + // InternalApplicationConfiguration.g:9229:1: rule__GenerationTask__Group_3_7__0 : rule__GenerationTask__Group_3_7__0__Impl rule__GenerationTask__Group_3_7__1 ; public final void rule__GenerationTask__Group_3_7__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8973:1: ( rule__GenerationTask__Group_3_7__0__Impl rule__GenerationTask__Group_3_7__1 ) - // InternalApplicationConfiguration.g:8974:2: rule__GenerationTask__Group_3_7__0__Impl rule__GenerationTask__Group_3_7__1 + // InternalApplicationConfiguration.g:9233:1: ( rule__GenerationTask__Group_3_7__0__Impl rule__GenerationTask__Group_3_7__1 ) + // InternalApplicationConfiguration.g:9234:2: rule__GenerationTask__Group_3_7__0__Impl rule__GenerationTask__Group_3_7__1 { pushFollow(FOLLOW_14); rule__GenerationTask__Group_3_7__0__Impl(); @@ -27793,20 +28598,20 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_7__0__Impl" - // InternalApplicationConfiguration.g:8981:1: rule__GenerationTask__Group_3_7__0__Impl : ( 'solver' ) ; + // InternalApplicationConfiguration.g:9241:1: rule__GenerationTask__Group_3_7__0__Impl : ( 'solver' ) ; public final void rule__GenerationTask__Group_3_7__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8985:1: ( ( 'solver' ) ) - // InternalApplicationConfiguration.g:8986:1: ( 'solver' ) + // InternalApplicationConfiguration.g:9245:1: ( ( 'solver' ) ) + // InternalApplicationConfiguration.g:9246:1: ( 'solver' ) { - // InternalApplicationConfiguration.g:8986:1: ( 'solver' ) - // InternalApplicationConfiguration.g:8987:2: 'solver' + // InternalApplicationConfiguration.g:9246:1: ( 'solver' ) + // InternalApplicationConfiguration.g:9247:2: 'solver' { before(grammarAccess.getGenerationTaskAccess().getSolverKeyword_3_7_0()); - match(input,55,FOLLOW_2); + match(input,57,FOLLOW_2); after(grammarAccess.getGenerationTaskAccess().getSolverKeyword_3_7_0()); } @@ -27830,16 +28635,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_7__1" - // InternalApplicationConfiguration.g:8996:1: rule__GenerationTask__Group_3_7__1 : rule__GenerationTask__Group_3_7__1__Impl rule__GenerationTask__Group_3_7__2 ; + // InternalApplicationConfiguration.g:9256:1: rule__GenerationTask__Group_3_7__1 : rule__GenerationTask__Group_3_7__1__Impl rule__GenerationTask__Group_3_7__2 ; public final void rule__GenerationTask__Group_3_7__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:9000:1: ( rule__GenerationTask__Group_3_7__1__Impl rule__GenerationTask__Group_3_7__2 ) - // InternalApplicationConfiguration.g:9001:2: rule__GenerationTask__Group_3_7__1__Impl rule__GenerationTask__Group_3_7__2 + // InternalApplicationConfiguration.g:9260:1: ( rule__GenerationTask__Group_3_7__1__Impl rule__GenerationTask__Group_3_7__2 ) + // InternalApplicationConfiguration.g:9261:2: rule__GenerationTask__Group_3_7__1__Impl rule__GenerationTask__Group_3_7__2 { - pushFollow(FOLLOW_47); + pushFollow(FOLLOW_48); rule__GenerationTask__Group_3_7__1__Impl(); state._fsp--; @@ -27868,17 +28673,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_7__1__Impl" - // InternalApplicationConfiguration.g:9008:1: rule__GenerationTask__Group_3_7__1__Impl : ( '=' ) ; + // InternalApplicationConfiguration.g:9268:1: rule__GenerationTask__Group_3_7__1__Impl : ( '=' ) ; public final void rule__GenerationTask__Group_3_7__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:9012:1: ( ( '=' ) ) - // InternalApplicationConfiguration.g:9013:1: ( '=' ) + // InternalApplicationConfiguration.g:9272:1: ( ( '=' ) ) + // InternalApplicationConfiguration.g:9273:1: ( '=' ) { - // InternalApplicationConfiguration.g:9013:1: ( '=' ) - // InternalApplicationConfiguration.g:9014:2: '=' + // InternalApplicationConfiguration.g:9273:1: ( '=' ) + // InternalApplicationConfiguration.g:9274:2: '=' { before(grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_7_1()); match(input,28,FOLLOW_2); @@ -27905,14 +28710,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_7__2" - // InternalApplicationConfiguration.g:9023:1: rule__GenerationTask__Group_3_7__2 : rule__GenerationTask__Group_3_7__2__Impl ; + // InternalApplicationConfiguration.g:9283:1: rule__GenerationTask__Group_3_7__2 : rule__GenerationTask__Group_3_7__2__Impl ; public final void rule__GenerationTask__Group_3_7__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:9027:1: ( rule__GenerationTask__Group_3_7__2__Impl ) - // InternalApplicationConfiguration.g:9028:2: rule__GenerationTask__Group_3_7__2__Impl + // InternalApplicationConfiguration.g:9287:1: ( rule__GenerationTask__Group_3_7__2__Impl ) + // InternalApplicationConfiguration.g:9288:2: rule__GenerationTask__Group_3_7__2__Impl { pushFollow(FOLLOW_2); rule__GenerationTask__Group_3_7__2__Impl(); @@ -27938,21 +28743,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_7__2__Impl" - // InternalApplicationConfiguration.g:9034:1: rule__GenerationTask__Group_3_7__2__Impl : ( ( rule__GenerationTask__SolverAssignment_3_7_2 ) ) ; + // InternalApplicationConfiguration.g:9294:1: rule__GenerationTask__Group_3_7__2__Impl : ( ( rule__GenerationTask__SolverAssignment_3_7_2 ) ) ; public final void rule__GenerationTask__Group_3_7__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:9038:1: ( ( ( rule__GenerationTask__SolverAssignment_3_7_2 ) ) ) - // InternalApplicationConfiguration.g:9039:1: ( ( rule__GenerationTask__SolverAssignment_3_7_2 ) ) + // InternalApplicationConfiguration.g:9298:1: ( ( ( rule__GenerationTask__SolverAssignment_3_7_2 ) ) ) + // InternalApplicationConfiguration.g:9299:1: ( ( rule__GenerationTask__SolverAssignment_3_7_2 ) ) { - // InternalApplicationConfiguration.g:9039:1: ( ( rule__GenerationTask__SolverAssignment_3_7_2 ) ) - // InternalApplicationConfiguration.g:9040:2: ( rule__GenerationTask__SolverAssignment_3_7_2 ) + // InternalApplicationConfiguration.g:9299:1: ( ( rule__GenerationTask__SolverAssignment_3_7_2 ) ) + // InternalApplicationConfiguration.g:9300:2: ( rule__GenerationTask__SolverAssignment_3_7_2 ) { before(grammarAccess.getGenerationTaskAccess().getSolverAssignment_3_7_2()); - // InternalApplicationConfiguration.g:9041:2: ( rule__GenerationTask__SolverAssignment_3_7_2 ) - // InternalApplicationConfiguration.g:9041:3: rule__GenerationTask__SolverAssignment_3_7_2 + // InternalApplicationConfiguration.g:9301:2: ( rule__GenerationTask__SolverAssignment_3_7_2 ) + // InternalApplicationConfiguration.g:9301:3: rule__GenerationTask__SolverAssignment_3_7_2 { pushFollow(FOLLOW_2); rule__GenerationTask__SolverAssignment_3_7_2(); @@ -27985,14 +28790,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_8__0" - // InternalApplicationConfiguration.g:9050:1: rule__GenerationTask__Group_3_8__0 : rule__GenerationTask__Group_3_8__0__Impl rule__GenerationTask__Group_3_8__1 ; + // InternalApplicationConfiguration.g:9310:1: rule__GenerationTask__Group_3_8__0 : rule__GenerationTask__Group_3_8__0__Impl rule__GenerationTask__Group_3_8__1 ; public final void rule__GenerationTask__Group_3_8__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:9054:1: ( rule__GenerationTask__Group_3_8__0__Impl rule__GenerationTask__Group_3_8__1 ) - // InternalApplicationConfiguration.g:9055:2: rule__GenerationTask__Group_3_8__0__Impl rule__GenerationTask__Group_3_8__1 + // InternalApplicationConfiguration.g:9314:1: ( rule__GenerationTask__Group_3_8__0__Impl rule__GenerationTask__Group_3_8__1 ) + // InternalApplicationConfiguration.g:9315:2: rule__GenerationTask__Group_3_8__0__Impl rule__GenerationTask__Group_3_8__1 { pushFollow(FOLLOW_14); rule__GenerationTask__Group_3_8__0__Impl(); @@ -28023,20 +28828,20 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_8__0__Impl" - // InternalApplicationConfiguration.g:9062:1: rule__GenerationTask__Group_3_8__0__Impl : ( 'config' ) ; + // InternalApplicationConfiguration.g:9322:1: rule__GenerationTask__Group_3_8__0__Impl : ( 'config' ) ; public final void rule__GenerationTask__Group_3_8__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:9066:1: ( ( 'config' ) ) - // InternalApplicationConfiguration.g:9067:1: ( 'config' ) + // InternalApplicationConfiguration.g:9326:1: ( ( 'config' ) ) + // InternalApplicationConfiguration.g:9327:1: ( 'config' ) { - // InternalApplicationConfiguration.g:9067:1: ( 'config' ) - // InternalApplicationConfiguration.g:9068:2: 'config' + // InternalApplicationConfiguration.g:9327:1: ( 'config' ) + // InternalApplicationConfiguration.g:9328:2: 'config' { before(grammarAccess.getGenerationTaskAccess().getConfigKeyword_3_8_0()); - match(input,40,FOLLOW_2); + match(input,42,FOLLOW_2); after(grammarAccess.getGenerationTaskAccess().getConfigKeyword_3_8_0()); } @@ -28060,16 +28865,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_8__1" - // InternalApplicationConfiguration.g:9077:1: rule__GenerationTask__Group_3_8__1 : rule__GenerationTask__Group_3_8__1__Impl rule__GenerationTask__Group_3_8__2 ; + // InternalApplicationConfiguration.g:9337:1: rule__GenerationTask__Group_3_8__1 : rule__GenerationTask__Group_3_8__1__Impl rule__GenerationTask__Group_3_8__2 ; public final void rule__GenerationTask__Group_3_8__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:9081:1: ( rule__GenerationTask__Group_3_8__1__Impl rule__GenerationTask__Group_3_8__2 ) - // InternalApplicationConfiguration.g:9082:2: rule__GenerationTask__Group_3_8__1__Impl rule__GenerationTask__Group_3_8__2 + // InternalApplicationConfiguration.g:9341:1: ( rule__GenerationTask__Group_3_8__1__Impl rule__GenerationTask__Group_3_8__2 ) + // InternalApplicationConfiguration.g:9342:2: rule__GenerationTask__Group_3_8__1__Impl rule__GenerationTask__Group_3_8__2 { - pushFollow(FOLLOW_46); + pushFollow(FOLLOW_47); rule__GenerationTask__Group_3_8__1__Impl(); state._fsp--; @@ -28098,17 +28903,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_8__1__Impl" - // InternalApplicationConfiguration.g:9089:1: rule__GenerationTask__Group_3_8__1__Impl : ( '=' ) ; + // InternalApplicationConfiguration.g:9349:1: rule__GenerationTask__Group_3_8__1__Impl : ( '=' ) ; public final void rule__GenerationTask__Group_3_8__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:9093:1: ( ( '=' ) ) - // InternalApplicationConfiguration.g:9094:1: ( '=' ) + // InternalApplicationConfiguration.g:9353:1: ( ( '=' ) ) + // InternalApplicationConfiguration.g:9354:1: ( '=' ) { - // InternalApplicationConfiguration.g:9094:1: ( '=' ) - // InternalApplicationConfiguration.g:9095:2: '=' + // InternalApplicationConfiguration.g:9354:1: ( '=' ) + // InternalApplicationConfiguration.g:9355:2: '=' { before(grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_8_1()); match(input,28,FOLLOW_2); @@ -28135,14 +28940,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_8__2" - // InternalApplicationConfiguration.g:9104:1: rule__GenerationTask__Group_3_8__2 : rule__GenerationTask__Group_3_8__2__Impl ; + // InternalApplicationConfiguration.g:9364:1: rule__GenerationTask__Group_3_8__2 : rule__GenerationTask__Group_3_8__2__Impl ; public final void rule__GenerationTask__Group_3_8__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:9108:1: ( rule__GenerationTask__Group_3_8__2__Impl ) - // InternalApplicationConfiguration.g:9109:2: rule__GenerationTask__Group_3_8__2__Impl + // InternalApplicationConfiguration.g:9368:1: ( rule__GenerationTask__Group_3_8__2__Impl ) + // InternalApplicationConfiguration.g:9369:2: rule__GenerationTask__Group_3_8__2__Impl { pushFollow(FOLLOW_2); rule__GenerationTask__Group_3_8__2__Impl(); @@ -28168,21 +28973,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_8__2__Impl" - // InternalApplicationConfiguration.g:9115:1: rule__GenerationTask__Group_3_8__2__Impl : ( ( rule__GenerationTask__ConfigAssignment_3_8_2 ) ) ; + // InternalApplicationConfiguration.g:9375:1: rule__GenerationTask__Group_3_8__2__Impl : ( ( rule__GenerationTask__ConfigAssignment_3_8_2 ) ) ; public final void rule__GenerationTask__Group_3_8__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:9119:1: ( ( ( rule__GenerationTask__ConfigAssignment_3_8_2 ) ) ) - // InternalApplicationConfiguration.g:9120:1: ( ( rule__GenerationTask__ConfigAssignment_3_8_2 ) ) + // InternalApplicationConfiguration.g:9379:1: ( ( ( rule__GenerationTask__ConfigAssignment_3_8_2 ) ) ) + // InternalApplicationConfiguration.g:9380:1: ( ( rule__GenerationTask__ConfigAssignment_3_8_2 ) ) { - // InternalApplicationConfiguration.g:9120:1: ( ( rule__GenerationTask__ConfigAssignment_3_8_2 ) ) - // InternalApplicationConfiguration.g:9121:2: ( rule__GenerationTask__ConfigAssignment_3_8_2 ) + // InternalApplicationConfiguration.g:9380:1: ( ( rule__GenerationTask__ConfigAssignment_3_8_2 ) ) + // InternalApplicationConfiguration.g:9381:2: ( rule__GenerationTask__ConfigAssignment_3_8_2 ) { before(grammarAccess.getGenerationTaskAccess().getConfigAssignment_3_8_2()); - // InternalApplicationConfiguration.g:9122:2: ( rule__GenerationTask__ConfigAssignment_3_8_2 ) - // InternalApplicationConfiguration.g:9122:3: rule__GenerationTask__ConfigAssignment_3_8_2 + // InternalApplicationConfiguration.g:9382:2: ( rule__GenerationTask__ConfigAssignment_3_8_2 ) + // InternalApplicationConfiguration.g:9382:3: rule__GenerationTask__ConfigAssignment_3_8_2 { pushFollow(FOLLOW_2); rule__GenerationTask__ConfigAssignment_3_8_2(); @@ -28215,14 +29020,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_9__0" - // InternalApplicationConfiguration.g:9131:1: rule__GenerationTask__Group_3_9__0 : rule__GenerationTask__Group_3_9__0__Impl rule__GenerationTask__Group_3_9__1 ; + // InternalApplicationConfiguration.g:9391:1: rule__GenerationTask__Group_3_9__0 : rule__GenerationTask__Group_3_9__0__Impl rule__GenerationTask__Group_3_9__1 ; public final void rule__GenerationTask__Group_3_9__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:9135:1: ( rule__GenerationTask__Group_3_9__0__Impl rule__GenerationTask__Group_3_9__1 ) - // InternalApplicationConfiguration.g:9136:2: rule__GenerationTask__Group_3_9__0__Impl rule__GenerationTask__Group_3_9__1 + // InternalApplicationConfiguration.g:9395:1: ( rule__GenerationTask__Group_3_9__0__Impl rule__GenerationTask__Group_3_9__1 ) + // InternalApplicationConfiguration.g:9396:2: rule__GenerationTask__Group_3_9__0__Impl rule__GenerationTask__Group_3_9__1 { pushFollow(FOLLOW_14); rule__GenerationTask__Group_3_9__0__Impl(); @@ -28253,20 +29058,20 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_9__0__Impl" - // InternalApplicationConfiguration.g:9143:1: rule__GenerationTask__Group_3_9__0__Impl : ( 'debug' ) ; + // InternalApplicationConfiguration.g:9403:1: rule__GenerationTask__Group_3_9__0__Impl : ( 'debug' ) ; public final void rule__GenerationTask__Group_3_9__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:9147:1: ( ( 'debug' ) ) - // InternalApplicationConfiguration.g:9148:1: ( 'debug' ) + // InternalApplicationConfiguration.g:9407:1: ( ( 'debug' ) ) + // InternalApplicationConfiguration.g:9408:1: ( 'debug' ) { - // InternalApplicationConfiguration.g:9148:1: ( 'debug' ) - // InternalApplicationConfiguration.g:9149:2: 'debug' + // InternalApplicationConfiguration.g:9408:1: ( 'debug' ) + // InternalApplicationConfiguration.g:9409:2: 'debug' { before(grammarAccess.getGenerationTaskAccess().getDebugKeyword_3_9_0()); - match(input,56,FOLLOW_2); + match(input,58,FOLLOW_2); after(grammarAccess.getGenerationTaskAccess().getDebugKeyword_3_9_0()); } @@ -28290,14 +29095,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_9__1" - // InternalApplicationConfiguration.g:9158:1: rule__GenerationTask__Group_3_9__1 : rule__GenerationTask__Group_3_9__1__Impl rule__GenerationTask__Group_3_9__2 ; + // InternalApplicationConfiguration.g:9418:1: rule__GenerationTask__Group_3_9__1 : rule__GenerationTask__Group_3_9__1__Impl rule__GenerationTask__Group_3_9__2 ; public final void rule__GenerationTask__Group_3_9__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:9162:1: ( rule__GenerationTask__Group_3_9__1__Impl rule__GenerationTask__Group_3_9__2 ) - // InternalApplicationConfiguration.g:9163:2: rule__GenerationTask__Group_3_9__1__Impl rule__GenerationTask__Group_3_9__2 + // InternalApplicationConfiguration.g:9422:1: ( rule__GenerationTask__Group_3_9__1__Impl rule__GenerationTask__Group_3_9__2 ) + // InternalApplicationConfiguration.g:9423:2: rule__GenerationTask__Group_3_9__1__Impl rule__GenerationTask__Group_3_9__2 { pushFollow(FOLLOW_22); rule__GenerationTask__Group_3_9__1__Impl(); @@ -28328,17 +29133,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_9__1__Impl" - // InternalApplicationConfiguration.g:9170:1: rule__GenerationTask__Group_3_9__1__Impl : ( '=' ) ; + // InternalApplicationConfiguration.g:9430:1: rule__GenerationTask__Group_3_9__1__Impl : ( '=' ) ; public final void rule__GenerationTask__Group_3_9__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:9174:1: ( ( '=' ) ) - // InternalApplicationConfiguration.g:9175:1: ( '=' ) + // InternalApplicationConfiguration.g:9434:1: ( ( '=' ) ) + // InternalApplicationConfiguration.g:9435:1: ( '=' ) { - // InternalApplicationConfiguration.g:9175:1: ( '=' ) - // InternalApplicationConfiguration.g:9176:2: '=' + // InternalApplicationConfiguration.g:9435:1: ( '=' ) + // InternalApplicationConfiguration.g:9436:2: '=' { before(grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_9_1()); match(input,28,FOLLOW_2); @@ -28365,14 +29170,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_9__2" - // InternalApplicationConfiguration.g:9185:1: rule__GenerationTask__Group_3_9__2 : rule__GenerationTask__Group_3_9__2__Impl ; + // InternalApplicationConfiguration.g:9445:1: rule__GenerationTask__Group_3_9__2 : rule__GenerationTask__Group_3_9__2__Impl ; public final void rule__GenerationTask__Group_3_9__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:9189:1: ( rule__GenerationTask__Group_3_9__2__Impl ) - // InternalApplicationConfiguration.g:9190:2: rule__GenerationTask__Group_3_9__2__Impl + // InternalApplicationConfiguration.g:9449:1: ( rule__GenerationTask__Group_3_9__2__Impl ) + // InternalApplicationConfiguration.g:9450:2: rule__GenerationTask__Group_3_9__2__Impl { pushFollow(FOLLOW_2); rule__GenerationTask__Group_3_9__2__Impl(); @@ -28398,21 +29203,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_9__2__Impl" - // InternalApplicationConfiguration.g:9196:1: rule__GenerationTask__Group_3_9__2__Impl : ( ( rule__GenerationTask__DebugFolderAssignment_3_9_2 ) ) ; + // InternalApplicationConfiguration.g:9456:1: rule__GenerationTask__Group_3_9__2__Impl : ( ( rule__GenerationTask__DebugFolderAssignment_3_9_2 ) ) ; public final void rule__GenerationTask__Group_3_9__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:9200:1: ( ( ( rule__GenerationTask__DebugFolderAssignment_3_9_2 ) ) ) - // InternalApplicationConfiguration.g:9201:1: ( ( rule__GenerationTask__DebugFolderAssignment_3_9_2 ) ) + // InternalApplicationConfiguration.g:9460:1: ( ( ( rule__GenerationTask__DebugFolderAssignment_3_9_2 ) ) ) + // InternalApplicationConfiguration.g:9461:1: ( ( rule__GenerationTask__DebugFolderAssignment_3_9_2 ) ) { - // InternalApplicationConfiguration.g:9201:1: ( ( rule__GenerationTask__DebugFolderAssignment_3_9_2 ) ) - // InternalApplicationConfiguration.g:9202:2: ( rule__GenerationTask__DebugFolderAssignment_3_9_2 ) + // InternalApplicationConfiguration.g:9461:1: ( ( rule__GenerationTask__DebugFolderAssignment_3_9_2 ) ) + // InternalApplicationConfiguration.g:9462:2: ( rule__GenerationTask__DebugFolderAssignment_3_9_2 ) { before(grammarAccess.getGenerationTaskAccess().getDebugFolderAssignment_3_9_2()); - // InternalApplicationConfiguration.g:9203:2: ( rule__GenerationTask__DebugFolderAssignment_3_9_2 ) - // InternalApplicationConfiguration.g:9203:3: rule__GenerationTask__DebugFolderAssignment_3_9_2 + // InternalApplicationConfiguration.g:9463:2: ( rule__GenerationTask__DebugFolderAssignment_3_9_2 ) + // InternalApplicationConfiguration.g:9463:3: rule__GenerationTask__DebugFolderAssignment_3_9_2 { pushFollow(FOLLOW_2); rule__GenerationTask__DebugFolderAssignment_3_9_2(); @@ -28445,14 +29250,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_10__0" - // InternalApplicationConfiguration.g:9212:1: rule__GenerationTask__Group_3_10__0 : rule__GenerationTask__Group_3_10__0__Impl rule__GenerationTask__Group_3_10__1 ; + // InternalApplicationConfiguration.g:9472:1: rule__GenerationTask__Group_3_10__0 : rule__GenerationTask__Group_3_10__0__Impl rule__GenerationTask__Group_3_10__1 ; public final void rule__GenerationTask__Group_3_10__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:9216:1: ( rule__GenerationTask__Group_3_10__0__Impl rule__GenerationTask__Group_3_10__1 ) - // InternalApplicationConfiguration.g:9217:2: rule__GenerationTask__Group_3_10__0__Impl rule__GenerationTask__Group_3_10__1 + // InternalApplicationConfiguration.g:9476:1: ( rule__GenerationTask__Group_3_10__0__Impl rule__GenerationTask__Group_3_10__1 ) + // InternalApplicationConfiguration.g:9477:2: rule__GenerationTask__Group_3_10__0__Impl rule__GenerationTask__Group_3_10__1 { pushFollow(FOLLOW_14); rule__GenerationTask__Group_3_10__0__Impl(); @@ -28483,20 +29288,20 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_10__0__Impl" - // InternalApplicationConfiguration.g:9224:1: rule__GenerationTask__Group_3_10__0__Impl : ( 'log' ) ; + // InternalApplicationConfiguration.g:9484:1: rule__GenerationTask__Group_3_10__0__Impl : ( 'log' ) ; public final void rule__GenerationTask__Group_3_10__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:9228:1: ( ( 'log' ) ) - // InternalApplicationConfiguration.g:9229:1: ( 'log' ) + // InternalApplicationConfiguration.g:9488:1: ( ( 'log' ) ) + // InternalApplicationConfiguration.g:9489:1: ( 'log' ) { - // InternalApplicationConfiguration.g:9229:1: ( 'log' ) - // InternalApplicationConfiguration.g:9230:2: 'log' + // InternalApplicationConfiguration.g:9489:1: ( 'log' ) + // InternalApplicationConfiguration.g:9490:2: 'log' { before(grammarAccess.getGenerationTaskAccess().getLogKeyword_3_10_0()); - match(input,57,FOLLOW_2); + match(input,59,FOLLOW_2); after(grammarAccess.getGenerationTaskAccess().getLogKeyword_3_10_0()); } @@ -28520,14 +29325,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_10__1" - // InternalApplicationConfiguration.g:9239:1: rule__GenerationTask__Group_3_10__1 : rule__GenerationTask__Group_3_10__1__Impl rule__GenerationTask__Group_3_10__2 ; + // InternalApplicationConfiguration.g:9499:1: rule__GenerationTask__Group_3_10__1 : rule__GenerationTask__Group_3_10__1__Impl rule__GenerationTask__Group_3_10__2 ; public final void rule__GenerationTask__Group_3_10__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:9243:1: ( rule__GenerationTask__Group_3_10__1__Impl rule__GenerationTask__Group_3_10__2 ) - // InternalApplicationConfiguration.g:9244:2: rule__GenerationTask__Group_3_10__1__Impl rule__GenerationTask__Group_3_10__2 + // InternalApplicationConfiguration.g:9503:1: ( rule__GenerationTask__Group_3_10__1__Impl rule__GenerationTask__Group_3_10__2 ) + // InternalApplicationConfiguration.g:9504:2: rule__GenerationTask__Group_3_10__1__Impl rule__GenerationTask__Group_3_10__2 { pushFollow(FOLLOW_22); rule__GenerationTask__Group_3_10__1__Impl(); @@ -28558,17 +29363,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_10__1__Impl" - // InternalApplicationConfiguration.g:9251:1: rule__GenerationTask__Group_3_10__1__Impl : ( '=' ) ; + // InternalApplicationConfiguration.g:9511:1: rule__GenerationTask__Group_3_10__1__Impl : ( '=' ) ; public final void rule__GenerationTask__Group_3_10__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:9255:1: ( ( '=' ) ) - // InternalApplicationConfiguration.g:9256:1: ( '=' ) + // InternalApplicationConfiguration.g:9515:1: ( ( '=' ) ) + // InternalApplicationConfiguration.g:9516:1: ( '=' ) { - // InternalApplicationConfiguration.g:9256:1: ( '=' ) - // InternalApplicationConfiguration.g:9257:2: '=' + // InternalApplicationConfiguration.g:9516:1: ( '=' ) + // InternalApplicationConfiguration.g:9517:2: '=' { before(grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_10_1()); match(input,28,FOLLOW_2); @@ -28595,14 +29400,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_10__2" - // InternalApplicationConfiguration.g:9266:1: rule__GenerationTask__Group_3_10__2 : rule__GenerationTask__Group_3_10__2__Impl ; + // InternalApplicationConfiguration.g:9526:1: rule__GenerationTask__Group_3_10__2 : rule__GenerationTask__Group_3_10__2__Impl ; public final void rule__GenerationTask__Group_3_10__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:9270:1: ( rule__GenerationTask__Group_3_10__2__Impl ) - // InternalApplicationConfiguration.g:9271:2: rule__GenerationTask__Group_3_10__2__Impl + // InternalApplicationConfiguration.g:9530:1: ( rule__GenerationTask__Group_3_10__2__Impl ) + // InternalApplicationConfiguration.g:9531:2: rule__GenerationTask__Group_3_10__2__Impl { pushFollow(FOLLOW_2); rule__GenerationTask__Group_3_10__2__Impl(); @@ -28628,21 +29433,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_10__2__Impl" - // InternalApplicationConfiguration.g:9277:1: rule__GenerationTask__Group_3_10__2__Impl : ( ( rule__GenerationTask__TargetLogFileAssignment_3_10_2 ) ) ; + // InternalApplicationConfiguration.g:9537:1: rule__GenerationTask__Group_3_10__2__Impl : ( ( rule__GenerationTask__TargetLogFileAssignment_3_10_2 ) ) ; public final void rule__GenerationTask__Group_3_10__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:9281:1: ( ( ( rule__GenerationTask__TargetLogFileAssignment_3_10_2 ) ) ) - // InternalApplicationConfiguration.g:9282:1: ( ( rule__GenerationTask__TargetLogFileAssignment_3_10_2 ) ) + // InternalApplicationConfiguration.g:9541:1: ( ( ( rule__GenerationTask__TargetLogFileAssignment_3_10_2 ) ) ) + // InternalApplicationConfiguration.g:9542:1: ( ( rule__GenerationTask__TargetLogFileAssignment_3_10_2 ) ) { - // InternalApplicationConfiguration.g:9282:1: ( ( rule__GenerationTask__TargetLogFileAssignment_3_10_2 ) ) - // InternalApplicationConfiguration.g:9283:2: ( rule__GenerationTask__TargetLogFileAssignment_3_10_2 ) + // InternalApplicationConfiguration.g:9542:1: ( ( rule__GenerationTask__TargetLogFileAssignment_3_10_2 ) ) + // InternalApplicationConfiguration.g:9543:2: ( rule__GenerationTask__TargetLogFileAssignment_3_10_2 ) { before(grammarAccess.getGenerationTaskAccess().getTargetLogFileAssignment_3_10_2()); - // InternalApplicationConfiguration.g:9284:2: ( rule__GenerationTask__TargetLogFileAssignment_3_10_2 ) - // InternalApplicationConfiguration.g:9284:3: rule__GenerationTask__TargetLogFileAssignment_3_10_2 + // InternalApplicationConfiguration.g:9544:2: ( rule__GenerationTask__TargetLogFileAssignment_3_10_2 ) + // InternalApplicationConfiguration.g:9544:3: rule__GenerationTask__TargetLogFileAssignment_3_10_2 { pushFollow(FOLLOW_2); rule__GenerationTask__TargetLogFileAssignment_3_10_2(); @@ -28675,14 +29480,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_11__0" - // InternalApplicationConfiguration.g:9293:1: rule__GenerationTask__Group_3_11__0 : rule__GenerationTask__Group_3_11__0__Impl rule__GenerationTask__Group_3_11__1 ; + // InternalApplicationConfiguration.g:9553:1: rule__GenerationTask__Group_3_11__0 : rule__GenerationTask__Group_3_11__0__Impl rule__GenerationTask__Group_3_11__1 ; public final void rule__GenerationTask__Group_3_11__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:9297:1: ( rule__GenerationTask__Group_3_11__0__Impl rule__GenerationTask__Group_3_11__1 ) - // InternalApplicationConfiguration.g:9298:2: rule__GenerationTask__Group_3_11__0__Impl rule__GenerationTask__Group_3_11__1 + // InternalApplicationConfiguration.g:9557:1: ( rule__GenerationTask__Group_3_11__0__Impl rule__GenerationTask__Group_3_11__1 ) + // InternalApplicationConfiguration.g:9558:2: rule__GenerationTask__Group_3_11__0__Impl rule__GenerationTask__Group_3_11__1 { pushFollow(FOLLOW_14); rule__GenerationTask__Group_3_11__0__Impl(); @@ -28713,20 +29518,20 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_11__0__Impl" - // InternalApplicationConfiguration.g:9305:1: rule__GenerationTask__Group_3_11__0__Impl : ( 'statistics' ) ; + // InternalApplicationConfiguration.g:9565:1: rule__GenerationTask__Group_3_11__0__Impl : ( 'statistics' ) ; public final void rule__GenerationTask__Group_3_11__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:9309:1: ( ( 'statistics' ) ) - // InternalApplicationConfiguration.g:9310:1: ( 'statistics' ) + // InternalApplicationConfiguration.g:9569:1: ( ( 'statistics' ) ) + // InternalApplicationConfiguration.g:9570:1: ( 'statistics' ) { - // InternalApplicationConfiguration.g:9310:1: ( 'statistics' ) - // InternalApplicationConfiguration.g:9311:2: 'statistics' + // InternalApplicationConfiguration.g:9570:1: ( 'statistics' ) + // InternalApplicationConfiguration.g:9571:2: 'statistics' { before(grammarAccess.getGenerationTaskAccess().getStatisticsKeyword_3_11_0()); - match(input,58,FOLLOW_2); + match(input,60,FOLLOW_2); after(grammarAccess.getGenerationTaskAccess().getStatisticsKeyword_3_11_0()); } @@ -28750,14 +29555,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_11__1" - // InternalApplicationConfiguration.g:9320:1: rule__GenerationTask__Group_3_11__1 : rule__GenerationTask__Group_3_11__1__Impl rule__GenerationTask__Group_3_11__2 ; + // InternalApplicationConfiguration.g:9580:1: rule__GenerationTask__Group_3_11__1 : rule__GenerationTask__Group_3_11__1__Impl rule__GenerationTask__Group_3_11__2 ; public final void rule__GenerationTask__Group_3_11__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:9324:1: ( rule__GenerationTask__Group_3_11__1__Impl rule__GenerationTask__Group_3_11__2 ) - // InternalApplicationConfiguration.g:9325:2: rule__GenerationTask__Group_3_11__1__Impl rule__GenerationTask__Group_3_11__2 + // InternalApplicationConfiguration.g:9584:1: ( rule__GenerationTask__Group_3_11__1__Impl rule__GenerationTask__Group_3_11__2 ) + // InternalApplicationConfiguration.g:9585:2: rule__GenerationTask__Group_3_11__1__Impl rule__GenerationTask__Group_3_11__2 { pushFollow(FOLLOW_22); rule__GenerationTask__Group_3_11__1__Impl(); @@ -28788,17 +29593,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_11__1__Impl" - // InternalApplicationConfiguration.g:9332:1: rule__GenerationTask__Group_3_11__1__Impl : ( '=' ) ; + // InternalApplicationConfiguration.g:9592:1: rule__GenerationTask__Group_3_11__1__Impl : ( '=' ) ; public final void rule__GenerationTask__Group_3_11__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:9336:1: ( ( '=' ) ) - // InternalApplicationConfiguration.g:9337:1: ( '=' ) + // InternalApplicationConfiguration.g:9596:1: ( ( '=' ) ) + // InternalApplicationConfiguration.g:9597:1: ( '=' ) { - // InternalApplicationConfiguration.g:9337:1: ( '=' ) - // InternalApplicationConfiguration.g:9338:2: '=' + // InternalApplicationConfiguration.g:9597:1: ( '=' ) + // InternalApplicationConfiguration.g:9598:2: '=' { before(grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_11_1()); match(input,28,FOLLOW_2); @@ -28825,14 +29630,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_11__2" - // InternalApplicationConfiguration.g:9347:1: rule__GenerationTask__Group_3_11__2 : rule__GenerationTask__Group_3_11__2__Impl ; + // InternalApplicationConfiguration.g:9607:1: rule__GenerationTask__Group_3_11__2 : rule__GenerationTask__Group_3_11__2__Impl ; public final void rule__GenerationTask__Group_3_11__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:9351:1: ( rule__GenerationTask__Group_3_11__2__Impl ) - // InternalApplicationConfiguration.g:9352:2: rule__GenerationTask__Group_3_11__2__Impl + // InternalApplicationConfiguration.g:9611:1: ( rule__GenerationTask__Group_3_11__2__Impl ) + // InternalApplicationConfiguration.g:9612:2: rule__GenerationTask__Group_3_11__2__Impl { pushFollow(FOLLOW_2); rule__GenerationTask__Group_3_11__2__Impl(); @@ -28858,21 +29663,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_11__2__Impl" - // InternalApplicationConfiguration.g:9358:1: rule__GenerationTask__Group_3_11__2__Impl : ( ( rule__GenerationTask__TargetStatisticsFileAssignment_3_11_2 ) ) ; + // InternalApplicationConfiguration.g:9618:1: rule__GenerationTask__Group_3_11__2__Impl : ( ( rule__GenerationTask__TargetStatisticsFileAssignment_3_11_2 ) ) ; public final void rule__GenerationTask__Group_3_11__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:9362:1: ( ( ( rule__GenerationTask__TargetStatisticsFileAssignment_3_11_2 ) ) ) - // InternalApplicationConfiguration.g:9363:1: ( ( rule__GenerationTask__TargetStatisticsFileAssignment_3_11_2 ) ) + // InternalApplicationConfiguration.g:9622:1: ( ( ( rule__GenerationTask__TargetStatisticsFileAssignment_3_11_2 ) ) ) + // InternalApplicationConfiguration.g:9623:1: ( ( rule__GenerationTask__TargetStatisticsFileAssignment_3_11_2 ) ) { - // InternalApplicationConfiguration.g:9363:1: ( ( rule__GenerationTask__TargetStatisticsFileAssignment_3_11_2 ) ) - // InternalApplicationConfiguration.g:9364:2: ( rule__GenerationTask__TargetStatisticsFileAssignment_3_11_2 ) + // InternalApplicationConfiguration.g:9623:1: ( ( rule__GenerationTask__TargetStatisticsFileAssignment_3_11_2 ) ) + // InternalApplicationConfiguration.g:9624:2: ( rule__GenerationTask__TargetStatisticsFileAssignment_3_11_2 ) { before(grammarAccess.getGenerationTaskAccess().getTargetStatisticsFileAssignment_3_11_2()); - // InternalApplicationConfiguration.g:9365:2: ( rule__GenerationTask__TargetStatisticsFileAssignment_3_11_2 ) - // InternalApplicationConfiguration.g:9365:3: rule__GenerationTask__TargetStatisticsFileAssignment_3_11_2 + // InternalApplicationConfiguration.g:9625:2: ( rule__GenerationTask__TargetStatisticsFileAssignment_3_11_2 ) + // InternalApplicationConfiguration.g:9625:3: rule__GenerationTask__TargetStatisticsFileAssignment_3_11_2 { pushFollow(FOLLOW_2); rule__GenerationTask__TargetStatisticsFileAssignment_3_11_2(); @@ -28905,14 +29710,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_12__0" - // InternalApplicationConfiguration.g:9374:1: rule__GenerationTask__Group_3_12__0 : rule__GenerationTask__Group_3_12__0__Impl rule__GenerationTask__Group_3_12__1 ; + // InternalApplicationConfiguration.g:9634:1: rule__GenerationTask__Group_3_12__0 : rule__GenerationTask__Group_3_12__0__Impl rule__GenerationTask__Group_3_12__1 ; public final void rule__GenerationTask__Group_3_12__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:9378:1: ( rule__GenerationTask__Group_3_12__0__Impl rule__GenerationTask__Group_3_12__1 ) - // InternalApplicationConfiguration.g:9379:2: rule__GenerationTask__Group_3_12__0__Impl rule__GenerationTask__Group_3_12__1 + // InternalApplicationConfiguration.g:9638:1: ( rule__GenerationTask__Group_3_12__0__Impl rule__GenerationTask__Group_3_12__1 ) + // InternalApplicationConfiguration.g:9639:2: rule__GenerationTask__Group_3_12__0__Impl rule__GenerationTask__Group_3_12__1 { pushFollow(FOLLOW_14); rule__GenerationTask__Group_3_12__0__Impl(); @@ -28943,20 +29748,20 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_12__0__Impl" - // InternalApplicationConfiguration.g:9386:1: rule__GenerationTask__Group_3_12__0__Impl : ( 'output' ) ; + // InternalApplicationConfiguration.g:9646:1: rule__GenerationTask__Group_3_12__0__Impl : ( 'output' ) ; public final void rule__GenerationTask__Group_3_12__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:9390:1: ( ( 'output' ) ) - // InternalApplicationConfiguration.g:9391:1: ( 'output' ) + // InternalApplicationConfiguration.g:9650:1: ( ( 'output' ) ) + // InternalApplicationConfiguration.g:9651:1: ( 'output' ) { - // InternalApplicationConfiguration.g:9391:1: ( 'output' ) - // InternalApplicationConfiguration.g:9392:2: 'output' + // InternalApplicationConfiguration.g:9651:1: ( 'output' ) + // InternalApplicationConfiguration.g:9652:2: 'output' { before(grammarAccess.getGenerationTaskAccess().getOutputKeyword_3_12_0()); - match(input,59,FOLLOW_2); + match(input,61,FOLLOW_2); after(grammarAccess.getGenerationTaskAccess().getOutputKeyword_3_12_0()); } @@ -28980,14 +29785,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_12__1" - // InternalApplicationConfiguration.g:9401:1: rule__GenerationTask__Group_3_12__1 : rule__GenerationTask__Group_3_12__1__Impl rule__GenerationTask__Group_3_12__2 ; + // InternalApplicationConfiguration.g:9661:1: rule__GenerationTask__Group_3_12__1 : rule__GenerationTask__Group_3_12__1__Impl rule__GenerationTask__Group_3_12__2 ; public final void rule__GenerationTask__Group_3_12__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:9405:1: ( rule__GenerationTask__Group_3_12__1__Impl rule__GenerationTask__Group_3_12__2 ) - // InternalApplicationConfiguration.g:9406:2: rule__GenerationTask__Group_3_12__1__Impl rule__GenerationTask__Group_3_12__2 + // InternalApplicationConfiguration.g:9665:1: ( rule__GenerationTask__Group_3_12__1__Impl rule__GenerationTask__Group_3_12__2 ) + // InternalApplicationConfiguration.g:9666:2: rule__GenerationTask__Group_3_12__1__Impl rule__GenerationTask__Group_3_12__2 { pushFollow(FOLLOW_22); rule__GenerationTask__Group_3_12__1__Impl(); @@ -29018,17 +29823,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_12__1__Impl" - // InternalApplicationConfiguration.g:9413:1: rule__GenerationTask__Group_3_12__1__Impl : ( '=' ) ; + // InternalApplicationConfiguration.g:9673:1: rule__GenerationTask__Group_3_12__1__Impl : ( '=' ) ; public final void rule__GenerationTask__Group_3_12__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:9417:1: ( ( '=' ) ) - // InternalApplicationConfiguration.g:9418:1: ( '=' ) + // InternalApplicationConfiguration.g:9677:1: ( ( '=' ) ) + // InternalApplicationConfiguration.g:9678:1: ( '=' ) { - // InternalApplicationConfiguration.g:9418:1: ( '=' ) - // InternalApplicationConfiguration.g:9419:2: '=' + // InternalApplicationConfiguration.g:9678:1: ( '=' ) + // InternalApplicationConfiguration.g:9679:2: '=' { before(grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_12_1()); match(input,28,FOLLOW_2); @@ -29055,14 +29860,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_12__2" - // InternalApplicationConfiguration.g:9428:1: rule__GenerationTask__Group_3_12__2 : rule__GenerationTask__Group_3_12__2__Impl ; + // InternalApplicationConfiguration.g:9688:1: rule__GenerationTask__Group_3_12__2 : rule__GenerationTask__Group_3_12__2__Impl ; public final void rule__GenerationTask__Group_3_12__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:9432:1: ( rule__GenerationTask__Group_3_12__2__Impl ) - // InternalApplicationConfiguration.g:9433:2: rule__GenerationTask__Group_3_12__2__Impl + // InternalApplicationConfiguration.g:9692:1: ( rule__GenerationTask__Group_3_12__2__Impl ) + // InternalApplicationConfiguration.g:9693:2: rule__GenerationTask__Group_3_12__2__Impl { pushFollow(FOLLOW_2); rule__GenerationTask__Group_3_12__2__Impl(); @@ -29088,21 +29893,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_12__2__Impl" - // InternalApplicationConfiguration.g:9439:1: rule__GenerationTask__Group_3_12__2__Impl : ( ( rule__GenerationTask__TagetFolderAssignment_3_12_2 ) ) ; + // InternalApplicationConfiguration.g:9699:1: rule__GenerationTask__Group_3_12__2__Impl : ( ( rule__GenerationTask__TagetFolderAssignment_3_12_2 ) ) ; public final void rule__GenerationTask__Group_3_12__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:9443:1: ( ( ( rule__GenerationTask__TagetFolderAssignment_3_12_2 ) ) ) - // InternalApplicationConfiguration.g:9444:1: ( ( rule__GenerationTask__TagetFolderAssignment_3_12_2 ) ) + // InternalApplicationConfiguration.g:9703:1: ( ( ( rule__GenerationTask__TagetFolderAssignment_3_12_2 ) ) ) + // InternalApplicationConfiguration.g:9704:1: ( ( rule__GenerationTask__TagetFolderAssignment_3_12_2 ) ) { - // InternalApplicationConfiguration.g:9444:1: ( ( rule__GenerationTask__TagetFolderAssignment_3_12_2 ) ) - // InternalApplicationConfiguration.g:9445:2: ( rule__GenerationTask__TagetFolderAssignment_3_12_2 ) + // InternalApplicationConfiguration.g:9704:1: ( ( rule__GenerationTask__TagetFolderAssignment_3_12_2 ) ) + // InternalApplicationConfiguration.g:9705:2: ( rule__GenerationTask__TagetFolderAssignment_3_12_2 ) { before(grammarAccess.getGenerationTaskAccess().getTagetFolderAssignment_3_12_2()); - // InternalApplicationConfiguration.g:9446:2: ( rule__GenerationTask__TagetFolderAssignment_3_12_2 ) - // InternalApplicationConfiguration.g:9446:3: rule__GenerationTask__TagetFolderAssignment_3_12_2 + // InternalApplicationConfiguration.g:9706:2: ( rule__GenerationTask__TagetFolderAssignment_3_12_2 ) + // InternalApplicationConfiguration.g:9706:3: rule__GenerationTask__TagetFolderAssignment_3_12_2 { pushFollow(FOLLOW_2); rule__GenerationTask__TagetFolderAssignment_3_12_2(); @@ -29135,22 +29940,22 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__UnorderedGroup_3" - // InternalApplicationConfiguration.g:9455:1: rule__GenerationTask__UnorderedGroup_3 : ( rule__GenerationTask__UnorderedGroup_3__0 )? ; + // InternalApplicationConfiguration.g:9715:1: rule__GenerationTask__UnorderedGroup_3 : ( rule__GenerationTask__UnorderedGroup_3__0 )? ; public final void rule__GenerationTask__UnorderedGroup_3() throws RecognitionException { int stackSize = keepStackSize(); getUnorderedGroupHelper().enter(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); try { - // InternalApplicationConfiguration.g:9460:1: ( ( rule__GenerationTask__UnorderedGroup_3__0 )? ) - // InternalApplicationConfiguration.g:9461:2: ( rule__GenerationTask__UnorderedGroup_3__0 )? + // InternalApplicationConfiguration.g:9720:1: ( ( rule__GenerationTask__UnorderedGroup_3__0 )? ) + // InternalApplicationConfiguration.g:9721:2: ( rule__GenerationTask__UnorderedGroup_3__0 )? { - // InternalApplicationConfiguration.g:9461:2: ( rule__GenerationTask__UnorderedGroup_3__0 )? - int alt62=2; - alt62 = dfa62.predict(input); - switch (alt62) { + // InternalApplicationConfiguration.g:9721:2: ( rule__GenerationTask__UnorderedGroup_3__0 )? + int alt64=2; + alt64 = dfa64.predict(input); + switch (alt64) { case 1 : - // InternalApplicationConfiguration.g:9461:2: rule__GenerationTask__UnorderedGroup_3__0 + // InternalApplicationConfiguration.g:9721:2: rule__GenerationTask__UnorderedGroup_3__0 { pushFollow(FOLLOW_2); rule__GenerationTask__UnorderedGroup_3__0(); @@ -29183,31 +29988,31 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__UnorderedGroup_3__Impl" - // InternalApplicationConfiguration.g:9469:1: rule__GenerationTask__UnorderedGroup_3__Impl : ( ({...}? => ( ( ( rule__GenerationTask__Group_3_0__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_1__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_2__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_3__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_4__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_5__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_6__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_7__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_8__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_9__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_10__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_11__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_12__0 ) ) ) ) ) ; + // InternalApplicationConfiguration.g:9729:1: rule__GenerationTask__UnorderedGroup_3__Impl : ( ({...}? => ( ( ( rule__GenerationTask__Group_3_0__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_1__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_2__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_3__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_4__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_5__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_6__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_7__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_8__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_9__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_10__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_11__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_12__0 ) ) ) ) ) ; public final void rule__GenerationTask__UnorderedGroup_3__Impl() throws RecognitionException { int stackSize = keepStackSize(); boolean selected = false; try { - // InternalApplicationConfiguration.g:9474:1: ( ( ({...}? => ( ( ( rule__GenerationTask__Group_3_0__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_1__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_2__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_3__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_4__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_5__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_6__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_7__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_8__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_9__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_10__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_11__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_12__0 ) ) ) ) ) ) - // InternalApplicationConfiguration.g:9475:3: ( ({...}? => ( ( ( rule__GenerationTask__Group_3_0__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_1__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_2__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_3__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_4__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_5__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_6__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_7__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_8__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_9__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_10__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_11__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_12__0 ) ) ) ) ) + // InternalApplicationConfiguration.g:9734:1: ( ( ({...}? => ( ( ( rule__GenerationTask__Group_3_0__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_1__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_2__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_3__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_4__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_5__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_6__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_7__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_8__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_9__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_10__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_11__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_12__0 ) ) ) ) ) ) + // InternalApplicationConfiguration.g:9735:3: ( ({...}? => ( ( ( rule__GenerationTask__Group_3_0__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_1__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_2__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_3__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_4__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_5__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_6__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_7__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_8__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_9__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_10__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_11__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_12__0 ) ) ) ) ) { - // InternalApplicationConfiguration.g:9475:3: ( ({...}? => ( ( ( rule__GenerationTask__Group_3_0__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_1__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_2__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_3__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_4__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_5__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_6__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_7__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_8__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_9__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_10__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_11__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_12__0 ) ) ) ) ) - int alt63=13; - alt63 = dfa63.predict(input); - switch (alt63) { + // InternalApplicationConfiguration.g:9735:3: ( ({...}? => ( ( ( rule__GenerationTask__Group_3_0__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_1__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_2__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_3__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_4__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_5__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_6__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_7__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_8__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_9__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_10__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_11__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_12__0 ) ) ) ) ) + int alt65=13; + alt65 = dfa65.predict(input); + switch (alt65) { case 1 : - // InternalApplicationConfiguration.g:9476:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_0__0 ) ) ) ) + // InternalApplicationConfiguration.g:9736:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_0__0 ) ) ) ) { - // InternalApplicationConfiguration.g:9476:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_0__0 ) ) ) ) - // InternalApplicationConfiguration.g:9477:4: {...}? => ( ( ( rule__GenerationTask__Group_3_0__0 ) ) ) + // InternalApplicationConfiguration.g:9736:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_0__0 ) ) ) ) + // InternalApplicationConfiguration.g:9737:4: {...}? => ( ( ( rule__GenerationTask__Group_3_0__0 ) ) ) { if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0) ) { throw new FailedPredicateException(input, "rule__GenerationTask__UnorderedGroup_3__Impl", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0)"); } - // InternalApplicationConfiguration.g:9477:110: ( ( ( rule__GenerationTask__Group_3_0__0 ) ) ) - // InternalApplicationConfiguration.g:9478:5: ( ( rule__GenerationTask__Group_3_0__0 ) ) + // InternalApplicationConfiguration.g:9737:110: ( ( ( rule__GenerationTask__Group_3_0__0 ) ) ) + // InternalApplicationConfiguration.g:9738:5: ( ( rule__GenerationTask__Group_3_0__0 ) ) { getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0); @@ -29215,12 +30020,12 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont selected = true; - // InternalApplicationConfiguration.g:9484:5: ( ( rule__GenerationTask__Group_3_0__0 ) ) - // InternalApplicationConfiguration.g:9485:6: ( rule__GenerationTask__Group_3_0__0 ) + // InternalApplicationConfiguration.g:9744:5: ( ( rule__GenerationTask__Group_3_0__0 ) ) + // InternalApplicationConfiguration.g:9745:6: ( rule__GenerationTask__Group_3_0__0 ) { before(grammarAccess.getGenerationTaskAccess().getGroup_3_0()); - // InternalApplicationConfiguration.g:9486:6: ( rule__GenerationTask__Group_3_0__0 ) - // InternalApplicationConfiguration.g:9486:7: rule__GenerationTask__Group_3_0__0 + // InternalApplicationConfiguration.g:9746:6: ( rule__GenerationTask__Group_3_0__0 ) + // InternalApplicationConfiguration.g:9746:7: rule__GenerationTask__Group_3_0__0 { pushFollow(FOLLOW_2); rule__GenerationTask__Group_3_0__0(); @@ -29244,16 +30049,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } break; case 2 : - // InternalApplicationConfiguration.g:9491:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_1__0 ) ) ) ) + // InternalApplicationConfiguration.g:9751:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_1__0 ) ) ) ) { - // InternalApplicationConfiguration.g:9491:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_1__0 ) ) ) ) - // InternalApplicationConfiguration.g:9492:4: {...}? => ( ( ( rule__GenerationTask__Group_3_1__0 ) ) ) + // InternalApplicationConfiguration.g:9751:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_1__0 ) ) ) ) + // InternalApplicationConfiguration.g:9752:4: {...}? => ( ( ( rule__GenerationTask__Group_3_1__0 ) ) ) { if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1) ) { throw new FailedPredicateException(input, "rule__GenerationTask__UnorderedGroup_3__Impl", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1)"); } - // InternalApplicationConfiguration.g:9492:110: ( ( ( rule__GenerationTask__Group_3_1__0 ) ) ) - // InternalApplicationConfiguration.g:9493:5: ( ( rule__GenerationTask__Group_3_1__0 ) ) + // InternalApplicationConfiguration.g:9752:110: ( ( ( rule__GenerationTask__Group_3_1__0 ) ) ) + // InternalApplicationConfiguration.g:9753:5: ( ( rule__GenerationTask__Group_3_1__0 ) ) { getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1); @@ -29261,12 +30066,12 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont selected = true; - // InternalApplicationConfiguration.g:9499:5: ( ( rule__GenerationTask__Group_3_1__0 ) ) - // InternalApplicationConfiguration.g:9500:6: ( rule__GenerationTask__Group_3_1__0 ) + // InternalApplicationConfiguration.g:9759:5: ( ( rule__GenerationTask__Group_3_1__0 ) ) + // InternalApplicationConfiguration.g:9760:6: ( rule__GenerationTask__Group_3_1__0 ) { before(grammarAccess.getGenerationTaskAccess().getGroup_3_1()); - // InternalApplicationConfiguration.g:9501:6: ( rule__GenerationTask__Group_3_1__0 ) - // InternalApplicationConfiguration.g:9501:7: rule__GenerationTask__Group_3_1__0 + // InternalApplicationConfiguration.g:9761:6: ( rule__GenerationTask__Group_3_1__0 ) + // InternalApplicationConfiguration.g:9761:7: rule__GenerationTask__Group_3_1__0 { pushFollow(FOLLOW_2); rule__GenerationTask__Group_3_1__0(); @@ -29290,16 +30095,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } break; case 3 : - // InternalApplicationConfiguration.g:9506:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_2__0 ) ) ) ) + // InternalApplicationConfiguration.g:9766:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_2__0 ) ) ) ) { - // InternalApplicationConfiguration.g:9506:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_2__0 ) ) ) ) - // InternalApplicationConfiguration.g:9507:4: {...}? => ( ( ( rule__GenerationTask__Group_3_2__0 ) ) ) + // InternalApplicationConfiguration.g:9766:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_2__0 ) ) ) ) + // InternalApplicationConfiguration.g:9767:4: {...}? => ( ( ( rule__GenerationTask__Group_3_2__0 ) ) ) { if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2) ) { throw new FailedPredicateException(input, "rule__GenerationTask__UnorderedGroup_3__Impl", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2)"); } - // InternalApplicationConfiguration.g:9507:110: ( ( ( rule__GenerationTask__Group_3_2__0 ) ) ) - // InternalApplicationConfiguration.g:9508:5: ( ( rule__GenerationTask__Group_3_2__0 ) ) + // InternalApplicationConfiguration.g:9767:110: ( ( ( rule__GenerationTask__Group_3_2__0 ) ) ) + // InternalApplicationConfiguration.g:9768:5: ( ( rule__GenerationTask__Group_3_2__0 ) ) { getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2); @@ -29307,12 +30112,12 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont selected = true; - // InternalApplicationConfiguration.g:9514:5: ( ( rule__GenerationTask__Group_3_2__0 ) ) - // InternalApplicationConfiguration.g:9515:6: ( rule__GenerationTask__Group_3_2__0 ) + // InternalApplicationConfiguration.g:9774:5: ( ( rule__GenerationTask__Group_3_2__0 ) ) + // InternalApplicationConfiguration.g:9775:6: ( rule__GenerationTask__Group_3_2__0 ) { before(grammarAccess.getGenerationTaskAccess().getGroup_3_2()); - // InternalApplicationConfiguration.g:9516:6: ( rule__GenerationTask__Group_3_2__0 ) - // InternalApplicationConfiguration.g:9516:7: rule__GenerationTask__Group_3_2__0 + // InternalApplicationConfiguration.g:9776:6: ( rule__GenerationTask__Group_3_2__0 ) + // InternalApplicationConfiguration.g:9776:7: rule__GenerationTask__Group_3_2__0 { pushFollow(FOLLOW_2); rule__GenerationTask__Group_3_2__0(); @@ -29336,16 +30141,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } break; case 4 : - // InternalApplicationConfiguration.g:9521:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_3__0 ) ) ) ) + // InternalApplicationConfiguration.g:9781:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_3__0 ) ) ) ) { - // InternalApplicationConfiguration.g:9521:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_3__0 ) ) ) ) - // InternalApplicationConfiguration.g:9522:4: {...}? => ( ( ( rule__GenerationTask__Group_3_3__0 ) ) ) + // InternalApplicationConfiguration.g:9781:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_3__0 ) ) ) ) + // InternalApplicationConfiguration.g:9782:4: {...}? => ( ( ( rule__GenerationTask__Group_3_3__0 ) ) ) { if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3) ) { throw new FailedPredicateException(input, "rule__GenerationTask__UnorderedGroup_3__Impl", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3)"); } - // InternalApplicationConfiguration.g:9522:110: ( ( ( rule__GenerationTask__Group_3_3__0 ) ) ) - // InternalApplicationConfiguration.g:9523:5: ( ( rule__GenerationTask__Group_3_3__0 ) ) + // InternalApplicationConfiguration.g:9782:110: ( ( ( rule__GenerationTask__Group_3_3__0 ) ) ) + // InternalApplicationConfiguration.g:9783:5: ( ( rule__GenerationTask__Group_3_3__0 ) ) { getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3); @@ -29353,12 +30158,12 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont selected = true; - // InternalApplicationConfiguration.g:9529:5: ( ( rule__GenerationTask__Group_3_3__0 ) ) - // InternalApplicationConfiguration.g:9530:6: ( rule__GenerationTask__Group_3_3__0 ) + // InternalApplicationConfiguration.g:9789:5: ( ( rule__GenerationTask__Group_3_3__0 ) ) + // InternalApplicationConfiguration.g:9790:6: ( rule__GenerationTask__Group_3_3__0 ) { before(grammarAccess.getGenerationTaskAccess().getGroup_3_3()); - // InternalApplicationConfiguration.g:9531:6: ( rule__GenerationTask__Group_3_3__0 ) - // InternalApplicationConfiguration.g:9531:7: rule__GenerationTask__Group_3_3__0 + // InternalApplicationConfiguration.g:9791:6: ( rule__GenerationTask__Group_3_3__0 ) + // InternalApplicationConfiguration.g:9791:7: rule__GenerationTask__Group_3_3__0 { pushFollow(FOLLOW_2); rule__GenerationTask__Group_3_3__0(); @@ -29382,16 +30187,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } break; case 5 : - // InternalApplicationConfiguration.g:9536:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_4__0 ) ) ) ) + // InternalApplicationConfiguration.g:9796:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_4__0 ) ) ) ) { - // InternalApplicationConfiguration.g:9536:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_4__0 ) ) ) ) - // InternalApplicationConfiguration.g:9537:4: {...}? => ( ( ( rule__GenerationTask__Group_3_4__0 ) ) ) + // InternalApplicationConfiguration.g:9796:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_4__0 ) ) ) ) + // InternalApplicationConfiguration.g:9797:4: {...}? => ( ( ( rule__GenerationTask__Group_3_4__0 ) ) ) { if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4) ) { throw new FailedPredicateException(input, "rule__GenerationTask__UnorderedGroup_3__Impl", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4)"); } - // InternalApplicationConfiguration.g:9537:110: ( ( ( rule__GenerationTask__Group_3_4__0 ) ) ) - // InternalApplicationConfiguration.g:9538:5: ( ( rule__GenerationTask__Group_3_4__0 ) ) + // InternalApplicationConfiguration.g:9797:110: ( ( ( rule__GenerationTask__Group_3_4__0 ) ) ) + // InternalApplicationConfiguration.g:9798:5: ( ( rule__GenerationTask__Group_3_4__0 ) ) { getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4); @@ -29399,12 +30204,12 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont selected = true; - // InternalApplicationConfiguration.g:9544:5: ( ( rule__GenerationTask__Group_3_4__0 ) ) - // InternalApplicationConfiguration.g:9545:6: ( rule__GenerationTask__Group_3_4__0 ) + // InternalApplicationConfiguration.g:9804:5: ( ( rule__GenerationTask__Group_3_4__0 ) ) + // InternalApplicationConfiguration.g:9805:6: ( rule__GenerationTask__Group_3_4__0 ) { before(grammarAccess.getGenerationTaskAccess().getGroup_3_4()); - // InternalApplicationConfiguration.g:9546:6: ( rule__GenerationTask__Group_3_4__0 ) - // InternalApplicationConfiguration.g:9546:7: rule__GenerationTask__Group_3_4__0 + // InternalApplicationConfiguration.g:9806:6: ( rule__GenerationTask__Group_3_4__0 ) + // InternalApplicationConfiguration.g:9806:7: rule__GenerationTask__Group_3_4__0 { pushFollow(FOLLOW_2); rule__GenerationTask__Group_3_4__0(); @@ -29428,16 +30233,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } break; case 6 : - // InternalApplicationConfiguration.g:9551:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_5__0 ) ) ) ) + // InternalApplicationConfiguration.g:9811:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_5__0 ) ) ) ) { - // InternalApplicationConfiguration.g:9551:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_5__0 ) ) ) ) - // InternalApplicationConfiguration.g:9552:4: {...}? => ( ( ( rule__GenerationTask__Group_3_5__0 ) ) ) + // InternalApplicationConfiguration.g:9811:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_5__0 ) ) ) ) + // InternalApplicationConfiguration.g:9812:4: {...}? => ( ( ( rule__GenerationTask__Group_3_5__0 ) ) ) { if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5) ) { throw new FailedPredicateException(input, "rule__GenerationTask__UnorderedGroup_3__Impl", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5)"); } - // InternalApplicationConfiguration.g:9552:110: ( ( ( rule__GenerationTask__Group_3_5__0 ) ) ) - // InternalApplicationConfiguration.g:9553:5: ( ( rule__GenerationTask__Group_3_5__0 ) ) + // InternalApplicationConfiguration.g:9812:110: ( ( ( rule__GenerationTask__Group_3_5__0 ) ) ) + // InternalApplicationConfiguration.g:9813:5: ( ( rule__GenerationTask__Group_3_5__0 ) ) { getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5); @@ -29445,12 +30250,12 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont selected = true; - // InternalApplicationConfiguration.g:9559:5: ( ( rule__GenerationTask__Group_3_5__0 ) ) - // InternalApplicationConfiguration.g:9560:6: ( rule__GenerationTask__Group_3_5__0 ) + // InternalApplicationConfiguration.g:9819:5: ( ( rule__GenerationTask__Group_3_5__0 ) ) + // InternalApplicationConfiguration.g:9820:6: ( rule__GenerationTask__Group_3_5__0 ) { before(grammarAccess.getGenerationTaskAccess().getGroup_3_5()); - // InternalApplicationConfiguration.g:9561:6: ( rule__GenerationTask__Group_3_5__0 ) - // InternalApplicationConfiguration.g:9561:7: rule__GenerationTask__Group_3_5__0 + // InternalApplicationConfiguration.g:9821:6: ( rule__GenerationTask__Group_3_5__0 ) + // InternalApplicationConfiguration.g:9821:7: rule__GenerationTask__Group_3_5__0 { pushFollow(FOLLOW_2); rule__GenerationTask__Group_3_5__0(); @@ -29474,16 +30279,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } break; case 7 : - // InternalApplicationConfiguration.g:9566:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_6__0 ) ) ) ) + // InternalApplicationConfiguration.g:9826:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_6__0 ) ) ) ) { - // InternalApplicationConfiguration.g:9566:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_6__0 ) ) ) ) - // InternalApplicationConfiguration.g:9567:4: {...}? => ( ( ( rule__GenerationTask__Group_3_6__0 ) ) ) + // InternalApplicationConfiguration.g:9826:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_6__0 ) ) ) ) + // InternalApplicationConfiguration.g:9827:4: {...}? => ( ( ( rule__GenerationTask__Group_3_6__0 ) ) ) { if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6) ) { throw new FailedPredicateException(input, "rule__GenerationTask__UnorderedGroup_3__Impl", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6)"); } - // InternalApplicationConfiguration.g:9567:110: ( ( ( rule__GenerationTask__Group_3_6__0 ) ) ) - // InternalApplicationConfiguration.g:9568:5: ( ( rule__GenerationTask__Group_3_6__0 ) ) + // InternalApplicationConfiguration.g:9827:110: ( ( ( rule__GenerationTask__Group_3_6__0 ) ) ) + // InternalApplicationConfiguration.g:9828:5: ( ( rule__GenerationTask__Group_3_6__0 ) ) { getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6); @@ -29491,12 +30296,12 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont selected = true; - // InternalApplicationConfiguration.g:9574:5: ( ( rule__GenerationTask__Group_3_6__0 ) ) - // InternalApplicationConfiguration.g:9575:6: ( rule__GenerationTask__Group_3_6__0 ) + // InternalApplicationConfiguration.g:9834:5: ( ( rule__GenerationTask__Group_3_6__0 ) ) + // InternalApplicationConfiguration.g:9835:6: ( rule__GenerationTask__Group_3_6__0 ) { before(grammarAccess.getGenerationTaskAccess().getGroup_3_6()); - // InternalApplicationConfiguration.g:9576:6: ( rule__GenerationTask__Group_3_6__0 ) - // InternalApplicationConfiguration.g:9576:7: rule__GenerationTask__Group_3_6__0 + // InternalApplicationConfiguration.g:9836:6: ( rule__GenerationTask__Group_3_6__0 ) + // InternalApplicationConfiguration.g:9836:7: rule__GenerationTask__Group_3_6__0 { pushFollow(FOLLOW_2); rule__GenerationTask__Group_3_6__0(); @@ -29520,16 +30325,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } break; case 8 : - // InternalApplicationConfiguration.g:9581:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_7__0 ) ) ) ) + // InternalApplicationConfiguration.g:9841:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_7__0 ) ) ) ) { - // InternalApplicationConfiguration.g:9581:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_7__0 ) ) ) ) - // InternalApplicationConfiguration.g:9582:4: {...}? => ( ( ( rule__GenerationTask__Group_3_7__0 ) ) ) + // InternalApplicationConfiguration.g:9841:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_7__0 ) ) ) ) + // InternalApplicationConfiguration.g:9842:4: {...}? => ( ( ( rule__GenerationTask__Group_3_7__0 ) ) ) { if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7) ) { throw new FailedPredicateException(input, "rule__GenerationTask__UnorderedGroup_3__Impl", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7)"); } - // InternalApplicationConfiguration.g:9582:110: ( ( ( rule__GenerationTask__Group_3_7__0 ) ) ) - // InternalApplicationConfiguration.g:9583:5: ( ( rule__GenerationTask__Group_3_7__0 ) ) + // InternalApplicationConfiguration.g:9842:110: ( ( ( rule__GenerationTask__Group_3_7__0 ) ) ) + // InternalApplicationConfiguration.g:9843:5: ( ( rule__GenerationTask__Group_3_7__0 ) ) { getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7); @@ -29537,12 +30342,12 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont selected = true; - // InternalApplicationConfiguration.g:9589:5: ( ( rule__GenerationTask__Group_3_7__0 ) ) - // InternalApplicationConfiguration.g:9590:6: ( rule__GenerationTask__Group_3_7__0 ) + // InternalApplicationConfiguration.g:9849:5: ( ( rule__GenerationTask__Group_3_7__0 ) ) + // InternalApplicationConfiguration.g:9850:6: ( rule__GenerationTask__Group_3_7__0 ) { before(grammarAccess.getGenerationTaskAccess().getGroup_3_7()); - // InternalApplicationConfiguration.g:9591:6: ( rule__GenerationTask__Group_3_7__0 ) - // InternalApplicationConfiguration.g:9591:7: rule__GenerationTask__Group_3_7__0 + // InternalApplicationConfiguration.g:9851:6: ( rule__GenerationTask__Group_3_7__0 ) + // InternalApplicationConfiguration.g:9851:7: rule__GenerationTask__Group_3_7__0 { pushFollow(FOLLOW_2); rule__GenerationTask__Group_3_7__0(); @@ -29566,16 +30371,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } break; case 9 : - // InternalApplicationConfiguration.g:9596:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_8__0 ) ) ) ) + // InternalApplicationConfiguration.g:9856:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_8__0 ) ) ) ) { - // InternalApplicationConfiguration.g:9596:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_8__0 ) ) ) ) - // InternalApplicationConfiguration.g:9597:4: {...}? => ( ( ( rule__GenerationTask__Group_3_8__0 ) ) ) + // InternalApplicationConfiguration.g:9856:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_8__0 ) ) ) ) + // InternalApplicationConfiguration.g:9857:4: {...}? => ( ( ( rule__GenerationTask__Group_3_8__0 ) ) ) { if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8) ) { throw new FailedPredicateException(input, "rule__GenerationTask__UnorderedGroup_3__Impl", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8)"); } - // InternalApplicationConfiguration.g:9597:110: ( ( ( rule__GenerationTask__Group_3_8__0 ) ) ) - // InternalApplicationConfiguration.g:9598:5: ( ( rule__GenerationTask__Group_3_8__0 ) ) + // InternalApplicationConfiguration.g:9857:110: ( ( ( rule__GenerationTask__Group_3_8__0 ) ) ) + // InternalApplicationConfiguration.g:9858:5: ( ( rule__GenerationTask__Group_3_8__0 ) ) { getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8); @@ -29583,12 +30388,12 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont selected = true; - // InternalApplicationConfiguration.g:9604:5: ( ( rule__GenerationTask__Group_3_8__0 ) ) - // InternalApplicationConfiguration.g:9605:6: ( rule__GenerationTask__Group_3_8__0 ) + // InternalApplicationConfiguration.g:9864:5: ( ( rule__GenerationTask__Group_3_8__0 ) ) + // InternalApplicationConfiguration.g:9865:6: ( rule__GenerationTask__Group_3_8__0 ) { before(grammarAccess.getGenerationTaskAccess().getGroup_3_8()); - // InternalApplicationConfiguration.g:9606:6: ( rule__GenerationTask__Group_3_8__0 ) - // InternalApplicationConfiguration.g:9606:7: rule__GenerationTask__Group_3_8__0 + // InternalApplicationConfiguration.g:9866:6: ( rule__GenerationTask__Group_3_8__0 ) + // InternalApplicationConfiguration.g:9866:7: rule__GenerationTask__Group_3_8__0 { pushFollow(FOLLOW_2); rule__GenerationTask__Group_3_8__0(); @@ -29612,16 +30417,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } break; case 10 : - // InternalApplicationConfiguration.g:9611:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_9__0 ) ) ) ) + // InternalApplicationConfiguration.g:9871:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_9__0 ) ) ) ) { - // InternalApplicationConfiguration.g:9611:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_9__0 ) ) ) ) - // InternalApplicationConfiguration.g:9612:4: {...}? => ( ( ( rule__GenerationTask__Group_3_9__0 ) ) ) + // InternalApplicationConfiguration.g:9871:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_9__0 ) ) ) ) + // InternalApplicationConfiguration.g:9872:4: {...}? => ( ( ( rule__GenerationTask__Group_3_9__0 ) ) ) { if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9) ) { throw new FailedPredicateException(input, "rule__GenerationTask__UnorderedGroup_3__Impl", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9)"); } - // InternalApplicationConfiguration.g:9612:110: ( ( ( rule__GenerationTask__Group_3_9__0 ) ) ) - // InternalApplicationConfiguration.g:9613:5: ( ( rule__GenerationTask__Group_3_9__0 ) ) + // InternalApplicationConfiguration.g:9872:110: ( ( ( rule__GenerationTask__Group_3_9__0 ) ) ) + // InternalApplicationConfiguration.g:9873:5: ( ( rule__GenerationTask__Group_3_9__0 ) ) { getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9); @@ -29629,12 +30434,12 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont selected = true; - // InternalApplicationConfiguration.g:9619:5: ( ( rule__GenerationTask__Group_3_9__0 ) ) - // InternalApplicationConfiguration.g:9620:6: ( rule__GenerationTask__Group_3_9__0 ) + // InternalApplicationConfiguration.g:9879:5: ( ( rule__GenerationTask__Group_3_9__0 ) ) + // InternalApplicationConfiguration.g:9880:6: ( rule__GenerationTask__Group_3_9__0 ) { before(grammarAccess.getGenerationTaskAccess().getGroup_3_9()); - // InternalApplicationConfiguration.g:9621:6: ( rule__GenerationTask__Group_3_9__0 ) - // InternalApplicationConfiguration.g:9621:7: rule__GenerationTask__Group_3_9__0 + // InternalApplicationConfiguration.g:9881:6: ( rule__GenerationTask__Group_3_9__0 ) + // InternalApplicationConfiguration.g:9881:7: rule__GenerationTask__Group_3_9__0 { pushFollow(FOLLOW_2); rule__GenerationTask__Group_3_9__0(); @@ -29658,16 +30463,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } break; case 11 : - // InternalApplicationConfiguration.g:9626:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_10__0 ) ) ) ) + // InternalApplicationConfiguration.g:9886:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_10__0 ) ) ) ) { - // InternalApplicationConfiguration.g:9626:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_10__0 ) ) ) ) - // InternalApplicationConfiguration.g:9627:4: {...}? => ( ( ( rule__GenerationTask__Group_3_10__0 ) ) ) + // InternalApplicationConfiguration.g:9886:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_10__0 ) ) ) ) + // InternalApplicationConfiguration.g:9887:4: {...}? => ( ( ( rule__GenerationTask__Group_3_10__0 ) ) ) { if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10) ) { throw new FailedPredicateException(input, "rule__GenerationTask__UnorderedGroup_3__Impl", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10)"); } - // InternalApplicationConfiguration.g:9627:111: ( ( ( rule__GenerationTask__Group_3_10__0 ) ) ) - // InternalApplicationConfiguration.g:9628:5: ( ( rule__GenerationTask__Group_3_10__0 ) ) + // InternalApplicationConfiguration.g:9887:111: ( ( ( rule__GenerationTask__Group_3_10__0 ) ) ) + // InternalApplicationConfiguration.g:9888:5: ( ( rule__GenerationTask__Group_3_10__0 ) ) { getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10); @@ -29675,12 +30480,12 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont selected = true; - // InternalApplicationConfiguration.g:9634:5: ( ( rule__GenerationTask__Group_3_10__0 ) ) - // InternalApplicationConfiguration.g:9635:6: ( rule__GenerationTask__Group_3_10__0 ) + // InternalApplicationConfiguration.g:9894:5: ( ( rule__GenerationTask__Group_3_10__0 ) ) + // InternalApplicationConfiguration.g:9895:6: ( rule__GenerationTask__Group_3_10__0 ) { before(grammarAccess.getGenerationTaskAccess().getGroup_3_10()); - // InternalApplicationConfiguration.g:9636:6: ( rule__GenerationTask__Group_3_10__0 ) - // InternalApplicationConfiguration.g:9636:7: rule__GenerationTask__Group_3_10__0 + // InternalApplicationConfiguration.g:9896:6: ( rule__GenerationTask__Group_3_10__0 ) + // InternalApplicationConfiguration.g:9896:7: rule__GenerationTask__Group_3_10__0 { pushFollow(FOLLOW_2); rule__GenerationTask__Group_3_10__0(); @@ -29704,16 +30509,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } break; case 12 : - // InternalApplicationConfiguration.g:9641:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_11__0 ) ) ) ) + // InternalApplicationConfiguration.g:9901:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_11__0 ) ) ) ) { - // InternalApplicationConfiguration.g:9641:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_11__0 ) ) ) ) - // InternalApplicationConfiguration.g:9642:4: {...}? => ( ( ( rule__GenerationTask__Group_3_11__0 ) ) ) + // InternalApplicationConfiguration.g:9901:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_11__0 ) ) ) ) + // InternalApplicationConfiguration.g:9902:4: {...}? => ( ( ( rule__GenerationTask__Group_3_11__0 ) ) ) { if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11) ) { throw new FailedPredicateException(input, "rule__GenerationTask__UnorderedGroup_3__Impl", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11)"); } - // InternalApplicationConfiguration.g:9642:111: ( ( ( rule__GenerationTask__Group_3_11__0 ) ) ) - // InternalApplicationConfiguration.g:9643:5: ( ( rule__GenerationTask__Group_3_11__0 ) ) + // InternalApplicationConfiguration.g:9902:111: ( ( ( rule__GenerationTask__Group_3_11__0 ) ) ) + // InternalApplicationConfiguration.g:9903:5: ( ( rule__GenerationTask__Group_3_11__0 ) ) { getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11); @@ -29721,12 +30526,12 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont selected = true; - // InternalApplicationConfiguration.g:9649:5: ( ( rule__GenerationTask__Group_3_11__0 ) ) - // InternalApplicationConfiguration.g:9650:6: ( rule__GenerationTask__Group_3_11__0 ) + // InternalApplicationConfiguration.g:9909:5: ( ( rule__GenerationTask__Group_3_11__0 ) ) + // InternalApplicationConfiguration.g:9910:6: ( rule__GenerationTask__Group_3_11__0 ) { before(grammarAccess.getGenerationTaskAccess().getGroup_3_11()); - // InternalApplicationConfiguration.g:9651:6: ( rule__GenerationTask__Group_3_11__0 ) - // InternalApplicationConfiguration.g:9651:7: rule__GenerationTask__Group_3_11__0 + // InternalApplicationConfiguration.g:9911:6: ( rule__GenerationTask__Group_3_11__0 ) + // InternalApplicationConfiguration.g:9911:7: rule__GenerationTask__Group_3_11__0 { pushFollow(FOLLOW_2); rule__GenerationTask__Group_3_11__0(); @@ -29750,16 +30555,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } break; case 13 : - // InternalApplicationConfiguration.g:9656:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_12__0 ) ) ) ) + // InternalApplicationConfiguration.g:9916:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_12__0 ) ) ) ) { - // InternalApplicationConfiguration.g:9656:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_12__0 ) ) ) ) - // InternalApplicationConfiguration.g:9657:4: {...}? => ( ( ( rule__GenerationTask__Group_3_12__0 ) ) ) + // InternalApplicationConfiguration.g:9916:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_12__0 ) ) ) ) + // InternalApplicationConfiguration.g:9917:4: {...}? => ( ( ( rule__GenerationTask__Group_3_12__0 ) ) ) { if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 12) ) { throw new FailedPredicateException(input, "rule__GenerationTask__UnorderedGroup_3__Impl", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 12)"); } - // InternalApplicationConfiguration.g:9657:111: ( ( ( rule__GenerationTask__Group_3_12__0 ) ) ) - // InternalApplicationConfiguration.g:9658:5: ( ( rule__GenerationTask__Group_3_12__0 ) ) + // InternalApplicationConfiguration.g:9917:111: ( ( ( rule__GenerationTask__Group_3_12__0 ) ) ) + // InternalApplicationConfiguration.g:9918:5: ( ( rule__GenerationTask__Group_3_12__0 ) ) { getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 12); @@ -29767,12 +30572,12 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont selected = true; - // InternalApplicationConfiguration.g:9664:5: ( ( rule__GenerationTask__Group_3_12__0 ) ) - // InternalApplicationConfiguration.g:9665:6: ( rule__GenerationTask__Group_3_12__0 ) + // InternalApplicationConfiguration.g:9924:5: ( ( rule__GenerationTask__Group_3_12__0 ) ) + // InternalApplicationConfiguration.g:9925:6: ( rule__GenerationTask__Group_3_12__0 ) { before(grammarAccess.getGenerationTaskAccess().getGroup_3_12()); - // InternalApplicationConfiguration.g:9666:6: ( rule__GenerationTask__Group_3_12__0 ) - // InternalApplicationConfiguration.g:9666:7: rule__GenerationTask__Group_3_12__0 + // InternalApplicationConfiguration.g:9926:6: ( rule__GenerationTask__Group_3_12__0 ) + // InternalApplicationConfiguration.g:9926:7: rule__GenerationTask__Group_3_12__0 { pushFollow(FOLLOW_2); rule__GenerationTask__Group_3_12__0(); @@ -29819,26 +30624,26 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__UnorderedGroup_3__0" - // InternalApplicationConfiguration.g:9679:1: rule__GenerationTask__UnorderedGroup_3__0 : rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__1 )? ; + // InternalApplicationConfiguration.g:9939:1: rule__GenerationTask__UnorderedGroup_3__0 : rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__1 )? ; public final void rule__GenerationTask__UnorderedGroup_3__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:9683:1: ( rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__1 )? ) - // InternalApplicationConfiguration.g:9684:2: rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__1 )? + // InternalApplicationConfiguration.g:9943:1: ( rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__1 )? ) + // InternalApplicationConfiguration.g:9944:2: rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__1 )? { - pushFollow(FOLLOW_48); + pushFollow(FOLLOW_49); rule__GenerationTask__UnorderedGroup_3__Impl(); state._fsp--; - // InternalApplicationConfiguration.g:9685:2: ( rule__GenerationTask__UnorderedGroup_3__1 )? - int alt64=2; - alt64 = dfa64.predict(input); - switch (alt64) { + // InternalApplicationConfiguration.g:9945:2: ( rule__GenerationTask__UnorderedGroup_3__1 )? + int alt66=2; + alt66 = dfa66.predict(input); + switch (alt66) { case 1 : - // InternalApplicationConfiguration.g:9685:2: rule__GenerationTask__UnorderedGroup_3__1 + // InternalApplicationConfiguration.g:9945:2: rule__GenerationTask__UnorderedGroup_3__1 { pushFollow(FOLLOW_2); rule__GenerationTask__UnorderedGroup_3__1(); @@ -29870,26 +30675,26 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__UnorderedGroup_3__1" - // InternalApplicationConfiguration.g:9691:1: rule__GenerationTask__UnorderedGroup_3__1 : rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__2 )? ; + // InternalApplicationConfiguration.g:9951:1: rule__GenerationTask__UnorderedGroup_3__1 : rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__2 )? ; public final void rule__GenerationTask__UnorderedGroup_3__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:9695:1: ( rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__2 )? ) - // InternalApplicationConfiguration.g:9696:2: rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__2 )? + // InternalApplicationConfiguration.g:9955:1: ( rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__2 )? ) + // InternalApplicationConfiguration.g:9956:2: rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__2 )? { - pushFollow(FOLLOW_48); + pushFollow(FOLLOW_49); rule__GenerationTask__UnorderedGroup_3__Impl(); state._fsp--; - // InternalApplicationConfiguration.g:9697:2: ( rule__GenerationTask__UnorderedGroup_3__2 )? - int alt65=2; - alt65 = dfa65.predict(input); - switch (alt65) { + // InternalApplicationConfiguration.g:9957:2: ( rule__GenerationTask__UnorderedGroup_3__2 )? + int alt67=2; + alt67 = dfa67.predict(input); + switch (alt67) { case 1 : - // InternalApplicationConfiguration.g:9697:2: rule__GenerationTask__UnorderedGroup_3__2 + // InternalApplicationConfiguration.g:9957:2: rule__GenerationTask__UnorderedGroup_3__2 { pushFollow(FOLLOW_2); rule__GenerationTask__UnorderedGroup_3__2(); @@ -29921,26 +30726,26 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__UnorderedGroup_3__2" - // InternalApplicationConfiguration.g:9703:1: rule__GenerationTask__UnorderedGroup_3__2 : rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__3 )? ; + // InternalApplicationConfiguration.g:9963:1: rule__GenerationTask__UnorderedGroup_3__2 : rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__3 )? ; public final void rule__GenerationTask__UnorderedGroup_3__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:9707:1: ( rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__3 )? ) - // InternalApplicationConfiguration.g:9708:2: rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__3 )? + // InternalApplicationConfiguration.g:9967:1: ( rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__3 )? ) + // InternalApplicationConfiguration.g:9968:2: rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__3 )? { - pushFollow(FOLLOW_48); + pushFollow(FOLLOW_49); rule__GenerationTask__UnorderedGroup_3__Impl(); state._fsp--; - // InternalApplicationConfiguration.g:9709:2: ( rule__GenerationTask__UnorderedGroup_3__3 )? - int alt66=2; - alt66 = dfa66.predict(input); - switch (alt66) { + // InternalApplicationConfiguration.g:9969:2: ( rule__GenerationTask__UnorderedGroup_3__3 )? + int alt68=2; + alt68 = dfa68.predict(input); + switch (alt68) { case 1 : - // InternalApplicationConfiguration.g:9709:2: rule__GenerationTask__UnorderedGroup_3__3 + // InternalApplicationConfiguration.g:9969:2: rule__GenerationTask__UnorderedGroup_3__3 { pushFollow(FOLLOW_2); rule__GenerationTask__UnorderedGroup_3__3(); @@ -29972,26 +30777,26 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__UnorderedGroup_3__3" - // InternalApplicationConfiguration.g:9715:1: rule__GenerationTask__UnorderedGroup_3__3 : rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__4 )? ; + // InternalApplicationConfiguration.g:9975:1: rule__GenerationTask__UnorderedGroup_3__3 : rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__4 )? ; public final void rule__GenerationTask__UnorderedGroup_3__3() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:9719:1: ( rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__4 )? ) - // InternalApplicationConfiguration.g:9720:2: rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__4 )? + // InternalApplicationConfiguration.g:9979:1: ( rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__4 )? ) + // InternalApplicationConfiguration.g:9980:2: rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__4 )? { - pushFollow(FOLLOW_48); + pushFollow(FOLLOW_49); rule__GenerationTask__UnorderedGroup_3__Impl(); state._fsp--; - // InternalApplicationConfiguration.g:9721:2: ( rule__GenerationTask__UnorderedGroup_3__4 )? - int alt67=2; - alt67 = dfa67.predict(input); - switch (alt67) { + // InternalApplicationConfiguration.g:9981:2: ( rule__GenerationTask__UnorderedGroup_3__4 )? + int alt69=2; + alt69 = dfa69.predict(input); + switch (alt69) { case 1 : - // InternalApplicationConfiguration.g:9721:2: rule__GenerationTask__UnorderedGroup_3__4 + // InternalApplicationConfiguration.g:9981:2: rule__GenerationTask__UnorderedGroup_3__4 { pushFollow(FOLLOW_2); rule__GenerationTask__UnorderedGroup_3__4(); @@ -30023,26 +30828,26 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__UnorderedGroup_3__4" - // InternalApplicationConfiguration.g:9727:1: rule__GenerationTask__UnorderedGroup_3__4 : rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__5 )? ; + // InternalApplicationConfiguration.g:9987:1: rule__GenerationTask__UnorderedGroup_3__4 : rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__5 )? ; public final void rule__GenerationTask__UnorderedGroup_3__4() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:9731:1: ( rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__5 )? ) - // InternalApplicationConfiguration.g:9732:2: rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__5 )? + // InternalApplicationConfiguration.g:9991:1: ( rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__5 )? ) + // InternalApplicationConfiguration.g:9992:2: rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__5 )? { - pushFollow(FOLLOW_48); + pushFollow(FOLLOW_49); rule__GenerationTask__UnorderedGroup_3__Impl(); state._fsp--; - // InternalApplicationConfiguration.g:9733:2: ( rule__GenerationTask__UnorderedGroup_3__5 )? - int alt68=2; - alt68 = dfa68.predict(input); - switch (alt68) { + // InternalApplicationConfiguration.g:9993:2: ( rule__GenerationTask__UnorderedGroup_3__5 )? + int alt70=2; + alt70 = dfa70.predict(input); + switch (alt70) { case 1 : - // InternalApplicationConfiguration.g:9733:2: rule__GenerationTask__UnorderedGroup_3__5 + // InternalApplicationConfiguration.g:9993:2: rule__GenerationTask__UnorderedGroup_3__5 { pushFollow(FOLLOW_2); rule__GenerationTask__UnorderedGroup_3__5(); @@ -30074,26 +30879,26 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__UnorderedGroup_3__5" - // InternalApplicationConfiguration.g:9739:1: rule__GenerationTask__UnorderedGroup_3__5 : rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__6 )? ; + // InternalApplicationConfiguration.g:9999:1: rule__GenerationTask__UnorderedGroup_3__5 : rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__6 )? ; public final void rule__GenerationTask__UnorderedGroup_3__5() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:9743:1: ( rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__6 )? ) - // InternalApplicationConfiguration.g:9744:2: rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__6 )? + // InternalApplicationConfiguration.g:10003:1: ( rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__6 )? ) + // InternalApplicationConfiguration.g:10004:2: rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__6 )? { - pushFollow(FOLLOW_48); + pushFollow(FOLLOW_49); rule__GenerationTask__UnorderedGroup_3__Impl(); state._fsp--; - // InternalApplicationConfiguration.g:9745:2: ( rule__GenerationTask__UnorderedGroup_3__6 )? - int alt69=2; - alt69 = dfa69.predict(input); - switch (alt69) { + // InternalApplicationConfiguration.g:10005:2: ( rule__GenerationTask__UnorderedGroup_3__6 )? + int alt71=2; + alt71 = dfa71.predict(input); + switch (alt71) { case 1 : - // InternalApplicationConfiguration.g:9745:2: rule__GenerationTask__UnorderedGroup_3__6 + // InternalApplicationConfiguration.g:10005:2: rule__GenerationTask__UnorderedGroup_3__6 { pushFollow(FOLLOW_2); rule__GenerationTask__UnorderedGroup_3__6(); @@ -30125,26 +30930,26 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__UnorderedGroup_3__6" - // InternalApplicationConfiguration.g:9751:1: rule__GenerationTask__UnorderedGroup_3__6 : rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__7 )? ; + // InternalApplicationConfiguration.g:10011:1: rule__GenerationTask__UnorderedGroup_3__6 : rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__7 )? ; public final void rule__GenerationTask__UnorderedGroup_3__6() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:9755:1: ( rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__7 )? ) - // InternalApplicationConfiguration.g:9756:2: rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__7 )? + // InternalApplicationConfiguration.g:10015:1: ( rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__7 )? ) + // InternalApplicationConfiguration.g:10016:2: rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__7 )? { - pushFollow(FOLLOW_48); + pushFollow(FOLLOW_49); rule__GenerationTask__UnorderedGroup_3__Impl(); state._fsp--; - // InternalApplicationConfiguration.g:9757:2: ( rule__GenerationTask__UnorderedGroup_3__7 )? - int alt70=2; - alt70 = dfa70.predict(input); - switch (alt70) { + // InternalApplicationConfiguration.g:10017:2: ( rule__GenerationTask__UnorderedGroup_3__7 )? + int alt72=2; + alt72 = dfa72.predict(input); + switch (alt72) { case 1 : - // InternalApplicationConfiguration.g:9757:2: rule__GenerationTask__UnorderedGroup_3__7 + // InternalApplicationConfiguration.g:10017:2: rule__GenerationTask__UnorderedGroup_3__7 { pushFollow(FOLLOW_2); rule__GenerationTask__UnorderedGroup_3__7(); @@ -30176,26 +30981,26 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__UnorderedGroup_3__7" - // InternalApplicationConfiguration.g:9763:1: rule__GenerationTask__UnorderedGroup_3__7 : rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__8 )? ; + // InternalApplicationConfiguration.g:10023:1: rule__GenerationTask__UnorderedGroup_3__7 : rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__8 )? ; public final void rule__GenerationTask__UnorderedGroup_3__7() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:9767:1: ( rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__8 )? ) - // InternalApplicationConfiguration.g:9768:2: rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__8 )? + // InternalApplicationConfiguration.g:10027:1: ( rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__8 )? ) + // InternalApplicationConfiguration.g:10028:2: rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__8 )? { - pushFollow(FOLLOW_48); + pushFollow(FOLLOW_49); rule__GenerationTask__UnorderedGroup_3__Impl(); state._fsp--; - // InternalApplicationConfiguration.g:9769:2: ( rule__GenerationTask__UnorderedGroup_3__8 )? - int alt71=2; - alt71 = dfa71.predict(input); - switch (alt71) { + // InternalApplicationConfiguration.g:10029:2: ( rule__GenerationTask__UnorderedGroup_3__8 )? + int alt73=2; + alt73 = dfa73.predict(input); + switch (alt73) { case 1 : - // InternalApplicationConfiguration.g:9769:2: rule__GenerationTask__UnorderedGroup_3__8 + // InternalApplicationConfiguration.g:10029:2: rule__GenerationTask__UnorderedGroup_3__8 { pushFollow(FOLLOW_2); rule__GenerationTask__UnorderedGroup_3__8(); @@ -30227,26 +31032,26 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__UnorderedGroup_3__8" - // InternalApplicationConfiguration.g:9775:1: rule__GenerationTask__UnorderedGroup_3__8 : rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__9 )? ; + // InternalApplicationConfiguration.g:10035:1: rule__GenerationTask__UnorderedGroup_3__8 : rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__9 )? ; public final void rule__GenerationTask__UnorderedGroup_3__8() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:9779:1: ( rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__9 )? ) - // InternalApplicationConfiguration.g:9780:2: rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__9 )? + // InternalApplicationConfiguration.g:10039:1: ( rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__9 )? ) + // InternalApplicationConfiguration.g:10040:2: rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__9 )? { - pushFollow(FOLLOW_48); + pushFollow(FOLLOW_49); rule__GenerationTask__UnorderedGroup_3__Impl(); state._fsp--; - // InternalApplicationConfiguration.g:9781:2: ( rule__GenerationTask__UnorderedGroup_3__9 )? - int alt72=2; - alt72 = dfa72.predict(input); - switch (alt72) { + // InternalApplicationConfiguration.g:10041:2: ( rule__GenerationTask__UnorderedGroup_3__9 )? + int alt74=2; + alt74 = dfa74.predict(input); + switch (alt74) { case 1 : - // InternalApplicationConfiguration.g:9781:2: rule__GenerationTask__UnorderedGroup_3__9 + // InternalApplicationConfiguration.g:10041:2: rule__GenerationTask__UnorderedGroup_3__9 { pushFollow(FOLLOW_2); rule__GenerationTask__UnorderedGroup_3__9(); @@ -30278,26 +31083,26 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__UnorderedGroup_3__9" - // InternalApplicationConfiguration.g:9787:1: rule__GenerationTask__UnorderedGroup_3__9 : rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__10 )? ; + // InternalApplicationConfiguration.g:10047:1: rule__GenerationTask__UnorderedGroup_3__9 : rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__10 )? ; public final void rule__GenerationTask__UnorderedGroup_3__9() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:9791:1: ( rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__10 )? ) - // InternalApplicationConfiguration.g:9792:2: rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__10 )? + // InternalApplicationConfiguration.g:10051:1: ( rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__10 )? ) + // InternalApplicationConfiguration.g:10052:2: rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__10 )? { - pushFollow(FOLLOW_48); + pushFollow(FOLLOW_49); rule__GenerationTask__UnorderedGroup_3__Impl(); state._fsp--; - // InternalApplicationConfiguration.g:9793:2: ( rule__GenerationTask__UnorderedGroup_3__10 )? - int alt73=2; - alt73 = dfa73.predict(input); - switch (alt73) { + // InternalApplicationConfiguration.g:10053:2: ( rule__GenerationTask__UnorderedGroup_3__10 )? + int alt75=2; + alt75 = dfa75.predict(input); + switch (alt75) { case 1 : - // InternalApplicationConfiguration.g:9793:2: rule__GenerationTask__UnorderedGroup_3__10 + // InternalApplicationConfiguration.g:10053:2: rule__GenerationTask__UnorderedGroup_3__10 { pushFollow(FOLLOW_2); rule__GenerationTask__UnorderedGroup_3__10(); @@ -30329,26 +31134,26 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__UnorderedGroup_3__10" - // InternalApplicationConfiguration.g:9799:1: rule__GenerationTask__UnorderedGroup_3__10 : rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__11 )? ; + // InternalApplicationConfiguration.g:10059:1: rule__GenerationTask__UnorderedGroup_3__10 : rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__11 )? ; public final void rule__GenerationTask__UnorderedGroup_3__10() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:9803:1: ( rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__11 )? ) - // InternalApplicationConfiguration.g:9804:2: rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__11 )? + // InternalApplicationConfiguration.g:10063:1: ( rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__11 )? ) + // InternalApplicationConfiguration.g:10064:2: rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__11 )? { - pushFollow(FOLLOW_48); + pushFollow(FOLLOW_49); rule__GenerationTask__UnorderedGroup_3__Impl(); state._fsp--; - // InternalApplicationConfiguration.g:9805:2: ( rule__GenerationTask__UnorderedGroup_3__11 )? - int alt74=2; - alt74 = dfa74.predict(input); - switch (alt74) { + // InternalApplicationConfiguration.g:10065:2: ( rule__GenerationTask__UnorderedGroup_3__11 )? + int alt76=2; + alt76 = dfa76.predict(input); + switch (alt76) { case 1 : - // InternalApplicationConfiguration.g:9805:2: rule__GenerationTask__UnorderedGroup_3__11 + // InternalApplicationConfiguration.g:10065:2: rule__GenerationTask__UnorderedGroup_3__11 { pushFollow(FOLLOW_2); rule__GenerationTask__UnorderedGroup_3__11(); @@ -30380,26 +31185,26 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__UnorderedGroup_3__11" - // InternalApplicationConfiguration.g:9811:1: rule__GenerationTask__UnorderedGroup_3__11 : rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__12 )? ; + // InternalApplicationConfiguration.g:10071:1: rule__GenerationTask__UnorderedGroup_3__11 : rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__12 )? ; public final void rule__GenerationTask__UnorderedGroup_3__11() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:9815:1: ( rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__12 )? ) - // InternalApplicationConfiguration.g:9816:2: rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__12 )? + // InternalApplicationConfiguration.g:10075:1: ( rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__12 )? ) + // InternalApplicationConfiguration.g:10076:2: rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__12 )? { - pushFollow(FOLLOW_48); + pushFollow(FOLLOW_49); rule__GenerationTask__UnorderedGroup_3__Impl(); state._fsp--; - // InternalApplicationConfiguration.g:9817:2: ( rule__GenerationTask__UnorderedGroup_3__12 )? - int alt75=2; - alt75 = dfa75.predict(input); - switch (alt75) { + // InternalApplicationConfiguration.g:10077:2: ( rule__GenerationTask__UnorderedGroup_3__12 )? + int alt77=2; + alt77 = dfa77.predict(input); + switch (alt77) { case 1 : - // InternalApplicationConfiguration.g:9817:2: rule__GenerationTask__UnorderedGroup_3__12 + // InternalApplicationConfiguration.g:10077:2: rule__GenerationTask__UnorderedGroup_3__12 { pushFollow(FOLLOW_2); rule__GenerationTask__UnorderedGroup_3__12(); @@ -30431,14 +31236,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__UnorderedGroup_3__12" - // InternalApplicationConfiguration.g:9823:1: rule__GenerationTask__UnorderedGroup_3__12 : rule__GenerationTask__UnorderedGroup_3__Impl ; + // InternalApplicationConfiguration.g:10083:1: rule__GenerationTask__UnorderedGroup_3__12 : rule__GenerationTask__UnorderedGroup_3__Impl ; public final void rule__GenerationTask__UnorderedGroup_3__12() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:9827:1: ( rule__GenerationTask__UnorderedGroup_3__Impl ) - // InternalApplicationConfiguration.g:9828:2: rule__GenerationTask__UnorderedGroup_3__Impl + // InternalApplicationConfiguration.g:10087:1: ( rule__GenerationTask__UnorderedGroup_3__Impl ) + // InternalApplicationConfiguration.g:10088:2: rule__GenerationTask__UnorderedGroup_3__Impl { pushFollow(FOLLOW_2); rule__GenerationTask__UnorderedGroup_3__Impl(); @@ -30464,17 +31269,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ConfigurationScript__ImportsAssignment_0" - // InternalApplicationConfiguration.g:9835:1: rule__ConfigurationScript__ImportsAssignment_0 : ( ruleImport ) ; + // InternalApplicationConfiguration.g:10095:1: rule__ConfigurationScript__ImportsAssignment_0 : ( ruleImport ) ; public final void rule__ConfigurationScript__ImportsAssignment_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:9839:1: ( ( ruleImport ) ) - // InternalApplicationConfiguration.g:9840:2: ( ruleImport ) + // InternalApplicationConfiguration.g:10099:1: ( ( ruleImport ) ) + // InternalApplicationConfiguration.g:10100:2: ( ruleImport ) { - // InternalApplicationConfiguration.g:9840:2: ( ruleImport ) - // InternalApplicationConfiguration.g:9841:3: ruleImport + // InternalApplicationConfiguration.g:10100:2: ( ruleImport ) + // InternalApplicationConfiguration.g:10101:3: ruleImport { before(grammarAccess.getConfigurationScriptAccess().getImportsImportParserRuleCall_0_0()); pushFollow(FOLLOW_2); @@ -30505,17 +31310,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ConfigurationScript__CommandsAssignment_1" - // InternalApplicationConfiguration.g:9850:1: rule__ConfigurationScript__CommandsAssignment_1 : ( ruleCommand ) ; + // InternalApplicationConfiguration.g:10110:1: rule__ConfigurationScript__CommandsAssignment_1 : ( ruleCommand ) ; public final void rule__ConfigurationScript__CommandsAssignment_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:9854:1: ( ( ruleCommand ) ) - // InternalApplicationConfiguration.g:9855:2: ( ruleCommand ) + // InternalApplicationConfiguration.g:10114:1: ( ( ruleCommand ) ) + // InternalApplicationConfiguration.g:10115:2: ( ruleCommand ) { - // InternalApplicationConfiguration.g:9855:2: ( ruleCommand ) - // InternalApplicationConfiguration.g:9856:3: ruleCommand + // InternalApplicationConfiguration.g:10115:2: ( ruleCommand ) + // InternalApplicationConfiguration.g:10116:3: ruleCommand { before(grammarAccess.getConfigurationScriptAccess().getCommandsCommandParserRuleCall_1_0()); pushFollow(FOLLOW_2); @@ -30546,21 +31351,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__EPackageImport__ImportedPackageAssignment_2" - // InternalApplicationConfiguration.g:9865:1: rule__EPackageImport__ImportedPackageAssignment_2 : ( ( RULE_STRING ) ) ; + // InternalApplicationConfiguration.g:10125:1: rule__EPackageImport__ImportedPackageAssignment_2 : ( ( RULE_STRING ) ) ; public final void rule__EPackageImport__ImportedPackageAssignment_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:9869:1: ( ( ( RULE_STRING ) ) ) - // InternalApplicationConfiguration.g:9870:2: ( ( RULE_STRING ) ) + // InternalApplicationConfiguration.g:10129:1: ( ( ( RULE_STRING ) ) ) + // InternalApplicationConfiguration.g:10130:2: ( ( RULE_STRING ) ) { - // InternalApplicationConfiguration.g:9870:2: ( ( RULE_STRING ) ) - // InternalApplicationConfiguration.g:9871:3: ( RULE_STRING ) + // InternalApplicationConfiguration.g:10130:2: ( ( RULE_STRING ) ) + // InternalApplicationConfiguration.g:10131:3: ( RULE_STRING ) { before(grammarAccess.getEPackageImportAccess().getImportedPackageEPackageCrossReference_2_0()); - // InternalApplicationConfiguration.g:9872:3: ( RULE_STRING ) - // InternalApplicationConfiguration.g:9873:4: RULE_STRING + // InternalApplicationConfiguration.g:10132:3: ( RULE_STRING ) + // InternalApplicationConfiguration.g:10133:4: RULE_STRING { before(grammarAccess.getEPackageImportAccess().getImportedPackageEPackageSTRINGTerminalRuleCall_2_0_1()); match(input,RULE_STRING,FOLLOW_2); @@ -30591,21 +31396,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ViatraImport__ImportedViatraAssignment_2" - // InternalApplicationConfiguration.g:9884:1: rule__ViatraImport__ImportedViatraAssignment_2 : ( ( RULE_STRING ) ) ; + // InternalApplicationConfiguration.g:10144:1: rule__ViatraImport__ImportedViatraAssignment_2 : ( ( RULE_STRING ) ) ; public final void rule__ViatraImport__ImportedViatraAssignment_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:9888:1: ( ( ( RULE_STRING ) ) ) - // InternalApplicationConfiguration.g:9889:2: ( ( RULE_STRING ) ) + // InternalApplicationConfiguration.g:10148:1: ( ( ( RULE_STRING ) ) ) + // InternalApplicationConfiguration.g:10149:2: ( ( RULE_STRING ) ) { - // InternalApplicationConfiguration.g:9889:2: ( ( RULE_STRING ) ) - // InternalApplicationConfiguration.g:9890:3: ( RULE_STRING ) + // InternalApplicationConfiguration.g:10149:2: ( ( RULE_STRING ) ) + // InternalApplicationConfiguration.g:10150:3: ( RULE_STRING ) { before(grammarAccess.getViatraImportAccess().getImportedViatraPatternModelCrossReference_2_0()); - // InternalApplicationConfiguration.g:9891:3: ( RULE_STRING ) - // InternalApplicationConfiguration.g:9892:4: RULE_STRING + // InternalApplicationConfiguration.g:10151:3: ( RULE_STRING ) + // InternalApplicationConfiguration.g:10152:4: RULE_STRING { before(grammarAccess.getViatraImportAccess().getImportedViatraPatternModelSTRINGTerminalRuleCall_2_0_1()); match(input,RULE_STRING,FOLLOW_2); @@ -30636,21 +31441,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__CftImport__ImportedCftAssignment_2" - // InternalApplicationConfiguration.g:9903:1: rule__CftImport__ImportedCftAssignment_2 : ( ( RULE_STRING ) ) ; + // InternalApplicationConfiguration.g:10163:1: rule__CftImport__ImportedCftAssignment_2 : ( ( RULE_STRING ) ) ; public final void rule__CftImport__ImportedCftAssignment_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:9907:1: ( ( ( RULE_STRING ) ) ) - // InternalApplicationConfiguration.g:9908:2: ( ( RULE_STRING ) ) + // InternalApplicationConfiguration.g:10167:1: ( ( ( RULE_STRING ) ) ) + // InternalApplicationConfiguration.g:10168:2: ( ( RULE_STRING ) ) { - // InternalApplicationConfiguration.g:9908:2: ( ( RULE_STRING ) ) - // InternalApplicationConfiguration.g:9909:3: ( RULE_STRING ) + // InternalApplicationConfiguration.g:10168:2: ( ( RULE_STRING ) ) + // InternalApplicationConfiguration.g:10169:3: ( RULE_STRING ) { before(grammarAccess.getCftImportAccess().getImportedCftCftModelCrossReference_2_0()); - // InternalApplicationConfiguration.g:9910:3: ( RULE_STRING ) - // InternalApplicationConfiguration.g:9911:4: RULE_STRING + // InternalApplicationConfiguration.g:10170:3: ( RULE_STRING ) + // InternalApplicationConfiguration.g:10171:4: RULE_STRING { before(grammarAccess.getCftImportAccess().getImportedCftCftModelSTRINGTerminalRuleCall_2_0_1()); match(input,RULE_STRING,FOLLOW_2); @@ -30681,17 +31486,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__FileSpecification__PathAssignment" - // InternalApplicationConfiguration.g:9922:1: rule__FileSpecification__PathAssignment : ( RULE_STRING ) ; + // InternalApplicationConfiguration.g:10182:1: rule__FileSpecification__PathAssignment : ( RULE_STRING ) ; public final void rule__FileSpecification__PathAssignment() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:9926:1: ( ( RULE_STRING ) ) - // InternalApplicationConfiguration.g:9927:2: ( RULE_STRING ) + // InternalApplicationConfiguration.g:10186:1: ( ( RULE_STRING ) ) + // InternalApplicationConfiguration.g:10187:2: ( RULE_STRING ) { - // InternalApplicationConfiguration.g:9927:2: ( RULE_STRING ) - // InternalApplicationConfiguration.g:9928:3: RULE_STRING + // InternalApplicationConfiguration.g:10187:2: ( RULE_STRING ) + // InternalApplicationConfiguration.g:10188:3: RULE_STRING { before(grammarAccess.getFileSpecificationAccess().getPathSTRINGTerminalRuleCall_0()); match(input,RULE_STRING,FOLLOW_2); @@ -30718,17 +31523,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__FileDeclaration__NameAssignment_1" - // InternalApplicationConfiguration.g:9937:1: rule__FileDeclaration__NameAssignment_1 : ( RULE_ID ) ; + // InternalApplicationConfiguration.g:10197:1: rule__FileDeclaration__NameAssignment_1 : ( RULE_ID ) ; public final void rule__FileDeclaration__NameAssignment_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:9941:1: ( ( RULE_ID ) ) - // InternalApplicationConfiguration.g:9942:2: ( RULE_ID ) + // InternalApplicationConfiguration.g:10201:1: ( ( RULE_ID ) ) + // InternalApplicationConfiguration.g:10202:2: ( RULE_ID ) { - // InternalApplicationConfiguration.g:9942:2: ( RULE_ID ) - // InternalApplicationConfiguration.g:9943:3: RULE_ID + // InternalApplicationConfiguration.g:10202:2: ( RULE_ID ) + // InternalApplicationConfiguration.g:10203:3: RULE_ID { before(grammarAccess.getFileDeclarationAccess().getNameIDTerminalRuleCall_1_0()); match(input,RULE_ID,FOLLOW_2); @@ -30755,17 +31560,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__FileDeclaration__SpecificationAssignment_3" - // InternalApplicationConfiguration.g:9952:1: rule__FileDeclaration__SpecificationAssignment_3 : ( ruleFileSpecification ) ; + // InternalApplicationConfiguration.g:10212:1: rule__FileDeclaration__SpecificationAssignment_3 : ( ruleFileSpecification ) ; public final void rule__FileDeclaration__SpecificationAssignment_3() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:9956:1: ( ( ruleFileSpecification ) ) - // InternalApplicationConfiguration.g:9957:2: ( ruleFileSpecification ) + // InternalApplicationConfiguration.g:10216:1: ( ( ruleFileSpecification ) ) + // InternalApplicationConfiguration.g:10217:2: ( ruleFileSpecification ) { - // InternalApplicationConfiguration.g:9957:2: ( ruleFileSpecification ) - // InternalApplicationConfiguration.g:9958:3: ruleFileSpecification + // InternalApplicationConfiguration.g:10217:2: ( ruleFileSpecification ) + // InternalApplicationConfiguration.g:10218:3: ruleFileSpecification { before(grammarAccess.getFileDeclarationAccess().getSpecificationFileSpecificationParserRuleCall_3_0()); pushFollow(FOLLOW_2); @@ -30796,21 +31601,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__FileReference__ReferredAssignment" - // InternalApplicationConfiguration.g:9967:1: rule__FileReference__ReferredAssignment : ( ( RULE_ID ) ) ; + // InternalApplicationConfiguration.g:10227:1: rule__FileReference__ReferredAssignment : ( ( RULE_ID ) ) ; public final void rule__FileReference__ReferredAssignment() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:9971:1: ( ( ( RULE_ID ) ) ) - // InternalApplicationConfiguration.g:9972:2: ( ( RULE_ID ) ) + // InternalApplicationConfiguration.g:10231:1: ( ( ( RULE_ID ) ) ) + // InternalApplicationConfiguration.g:10232:2: ( ( RULE_ID ) ) { - // InternalApplicationConfiguration.g:9972:2: ( ( RULE_ID ) ) - // InternalApplicationConfiguration.g:9973:3: ( RULE_ID ) + // InternalApplicationConfiguration.g:10232:2: ( ( RULE_ID ) ) + // InternalApplicationConfiguration.g:10233:3: ( RULE_ID ) { before(grammarAccess.getFileReferenceAccess().getReferredFileDeclarationCrossReference_0()); - // InternalApplicationConfiguration.g:9974:3: ( RULE_ID ) - // InternalApplicationConfiguration.g:9975:4: RULE_ID + // InternalApplicationConfiguration.g:10234:3: ( RULE_ID ) + // InternalApplicationConfiguration.g:10235:4: RULE_ID { before(grammarAccess.getFileReferenceAccess().getReferredFileDeclarationIDTerminalRuleCall_0_1()); match(input,RULE_ID,FOLLOW_2); @@ -30841,17 +31646,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__MetamodelSpecification__EntriesAssignment_1" - // InternalApplicationConfiguration.g:9986:1: rule__MetamodelSpecification__EntriesAssignment_1 : ( ruleMetamodelEntry ) ; + // InternalApplicationConfiguration.g:10246:1: rule__MetamodelSpecification__EntriesAssignment_1 : ( ruleMetamodelEntry ) ; public final void rule__MetamodelSpecification__EntriesAssignment_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:9990:1: ( ( ruleMetamodelEntry ) ) - // InternalApplicationConfiguration.g:9991:2: ( ruleMetamodelEntry ) + // InternalApplicationConfiguration.g:10250:1: ( ( ruleMetamodelEntry ) ) + // InternalApplicationConfiguration.g:10251:2: ( ruleMetamodelEntry ) { - // InternalApplicationConfiguration.g:9991:2: ( ruleMetamodelEntry ) - // InternalApplicationConfiguration.g:9992:3: ruleMetamodelEntry + // InternalApplicationConfiguration.g:10251:2: ( ruleMetamodelEntry ) + // InternalApplicationConfiguration.g:10252:3: ruleMetamodelEntry { before(grammarAccess.getMetamodelSpecificationAccess().getEntriesMetamodelEntryParserRuleCall_1_0()); pushFollow(FOLLOW_2); @@ -30882,17 +31687,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__MetamodelSpecification__EntriesAssignment_2_1" - // InternalApplicationConfiguration.g:10001:1: rule__MetamodelSpecification__EntriesAssignment_2_1 : ( ruleMetamodelEntry ) ; + // InternalApplicationConfiguration.g:10261:1: rule__MetamodelSpecification__EntriesAssignment_2_1 : ( ruleMetamodelEntry ) ; public final void rule__MetamodelSpecification__EntriesAssignment_2_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:10005:1: ( ( ruleMetamodelEntry ) ) - // InternalApplicationConfiguration.g:10006:2: ( ruleMetamodelEntry ) + // InternalApplicationConfiguration.g:10265:1: ( ( ruleMetamodelEntry ) ) + // InternalApplicationConfiguration.g:10266:2: ( ruleMetamodelEntry ) { - // InternalApplicationConfiguration.g:10006:2: ( ruleMetamodelEntry ) - // InternalApplicationConfiguration.g:10007:3: ruleMetamodelEntry + // InternalApplicationConfiguration.g:10266:2: ( ruleMetamodelEntry ) + // InternalApplicationConfiguration.g:10267:3: ruleMetamodelEntry { before(grammarAccess.getMetamodelSpecificationAccess().getEntriesMetamodelEntryParserRuleCall_2_1_0()); pushFollow(FOLLOW_2); @@ -30923,21 +31728,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__AllPackageEntry__PackageAssignment_1" - // InternalApplicationConfiguration.g:10016:1: rule__AllPackageEntry__PackageAssignment_1 : ( ( ruleQualifiedName ) ) ; + // InternalApplicationConfiguration.g:10276:1: rule__AllPackageEntry__PackageAssignment_1 : ( ( ruleQualifiedName ) ) ; public final void rule__AllPackageEntry__PackageAssignment_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:10020:1: ( ( ( ruleQualifiedName ) ) ) - // InternalApplicationConfiguration.g:10021:2: ( ( ruleQualifiedName ) ) + // InternalApplicationConfiguration.g:10280:1: ( ( ( ruleQualifiedName ) ) ) + // InternalApplicationConfiguration.g:10281:2: ( ( ruleQualifiedName ) ) { - // InternalApplicationConfiguration.g:10021:2: ( ( ruleQualifiedName ) ) - // InternalApplicationConfiguration.g:10022:3: ( ruleQualifiedName ) + // InternalApplicationConfiguration.g:10281:2: ( ( ruleQualifiedName ) ) + // InternalApplicationConfiguration.g:10282:3: ( ruleQualifiedName ) { before(grammarAccess.getAllPackageEntryAccess().getPackageEPackageCrossReference_1_0()); - // InternalApplicationConfiguration.g:10023:3: ( ruleQualifiedName ) - // InternalApplicationConfiguration.g:10024:4: ruleQualifiedName + // InternalApplicationConfiguration.g:10283:3: ( ruleQualifiedName ) + // InternalApplicationConfiguration.g:10284:4: ruleQualifiedName { before(grammarAccess.getAllPackageEntryAccess().getPackageEPackageQualifiedNameParserRuleCall_1_0_1()); pushFollow(FOLLOW_2); @@ -30972,17 +31777,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__AllPackageEntry__ExclusionAssignment_2_2" - // InternalApplicationConfiguration.g:10035:1: rule__AllPackageEntry__ExclusionAssignment_2_2 : ( ruleMetamodelElement ) ; + // InternalApplicationConfiguration.g:10295:1: rule__AllPackageEntry__ExclusionAssignment_2_2 : ( ruleMetamodelElement ) ; public final void rule__AllPackageEntry__ExclusionAssignment_2_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:10039:1: ( ( ruleMetamodelElement ) ) - // InternalApplicationConfiguration.g:10040:2: ( ruleMetamodelElement ) + // InternalApplicationConfiguration.g:10299:1: ( ( ruleMetamodelElement ) ) + // InternalApplicationConfiguration.g:10300:2: ( ruleMetamodelElement ) { - // InternalApplicationConfiguration.g:10040:2: ( ruleMetamodelElement ) - // InternalApplicationConfiguration.g:10041:3: ruleMetamodelElement + // InternalApplicationConfiguration.g:10300:2: ( ruleMetamodelElement ) + // InternalApplicationConfiguration.g:10301:3: ruleMetamodelElement { before(grammarAccess.getAllPackageEntryAccess().getExclusionMetamodelElementParserRuleCall_2_2_0()); pushFollow(FOLLOW_2); @@ -31013,17 +31818,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__AllPackageEntry__ExclusionAssignment_2_3_1" - // InternalApplicationConfiguration.g:10050:1: rule__AllPackageEntry__ExclusionAssignment_2_3_1 : ( ruleMetamodelElement ) ; + // InternalApplicationConfiguration.g:10310:1: rule__AllPackageEntry__ExclusionAssignment_2_3_1 : ( ruleMetamodelElement ) ; public final void rule__AllPackageEntry__ExclusionAssignment_2_3_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:10054:1: ( ( ruleMetamodelElement ) ) - // InternalApplicationConfiguration.g:10055:2: ( ruleMetamodelElement ) + // InternalApplicationConfiguration.g:10314:1: ( ( ruleMetamodelElement ) ) + // InternalApplicationConfiguration.g:10315:2: ( ruleMetamodelElement ) { - // InternalApplicationConfiguration.g:10055:2: ( ruleMetamodelElement ) - // InternalApplicationConfiguration.g:10056:3: ruleMetamodelElement + // InternalApplicationConfiguration.g:10315:2: ( ruleMetamodelElement ) + // InternalApplicationConfiguration.g:10316:3: ruleMetamodelElement { before(grammarAccess.getAllPackageEntryAccess().getExclusionMetamodelElementParserRuleCall_2_3_1_0()); pushFollow(FOLLOW_2); @@ -31054,21 +31859,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__MetamodelElement__PackageAssignment_0_0" - // InternalApplicationConfiguration.g:10065:1: rule__MetamodelElement__PackageAssignment_0_0 : ( ( ruleQualifiedName ) ) ; + // InternalApplicationConfiguration.g:10325:1: rule__MetamodelElement__PackageAssignment_0_0 : ( ( ruleQualifiedName ) ) ; public final void rule__MetamodelElement__PackageAssignment_0_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:10069:1: ( ( ( ruleQualifiedName ) ) ) - // InternalApplicationConfiguration.g:10070:2: ( ( ruleQualifiedName ) ) + // InternalApplicationConfiguration.g:10329:1: ( ( ( ruleQualifiedName ) ) ) + // InternalApplicationConfiguration.g:10330:2: ( ( ruleQualifiedName ) ) { - // InternalApplicationConfiguration.g:10070:2: ( ( ruleQualifiedName ) ) - // InternalApplicationConfiguration.g:10071:3: ( ruleQualifiedName ) + // InternalApplicationConfiguration.g:10330:2: ( ( ruleQualifiedName ) ) + // InternalApplicationConfiguration.g:10331:3: ( ruleQualifiedName ) { before(grammarAccess.getMetamodelElementAccess().getPackageEPackageCrossReference_0_0_0()); - // InternalApplicationConfiguration.g:10072:3: ( ruleQualifiedName ) - // InternalApplicationConfiguration.g:10073:4: ruleQualifiedName + // InternalApplicationConfiguration.g:10332:3: ( ruleQualifiedName ) + // InternalApplicationConfiguration.g:10333:4: ruleQualifiedName { before(grammarAccess.getMetamodelElementAccess().getPackageEPackageQualifiedNameParserRuleCall_0_0_0_1()); pushFollow(FOLLOW_2); @@ -31103,21 +31908,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__MetamodelElement__ClassifierAssignment_1" - // InternalApplicationConfiguration.g:10084:1: rule__MetamodelElement__ClassifierAssignment_1 : ( ( RULE_ID ) ) ; + // InternalApplicationConfiguration.g:10344:1: rule__MetamodelElement__ClassifierAssignment_1 : ( ( RULE_ID ) ) ; public final void rule__MetamodelElement__ClassifierAssignment_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:10088:1: ( ( ( RULE_ID ) ) ) - // InternalApplicationConfiguration.g:10089:2: ( ( RULE_ID ) ) + // InternalApplicationConfiguration.g:10348:1: ( ( ( RULE_ID ) ) ) + // InternalApplicationConfiguration.g:10349:2: ( ( RULE_ID ) ) { - // InternalApplicationConfiguration.g:10089:2: ( ( RULE_ID ) ) - // InternalApplicationConfiguration.g:10090:3: ( RULE_ID ) + // InternalApplicationConfiguration.g:10349:2: ( ( RULE_ID ) ) + // InternalApplicationConfiguration.g:10350:3: ( RULE_ID ) { before(grammarAccess.getMetamodelElementAccess().getClassifierEClassifierCrossReference_1_0()); - // InternalApplicationConfiguration.g:10091:3: ( RULE_ID ) - // InternalApplicationConfiguration.g:10092:4: RULE_ID + // InternalApplicationConfiguration.g:10351:3: ( RULE_ID ) + // InternalApplicationConfiguration.g:10352:4: RULE_ID { before(grammarAccess.getMetamodelElementAccess().getClassifierEClassifierIDTerminalRuleCall_1_0_1()); match(input,RULE_ID,FOLLOW_2); @@ -31148,21 +31953,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__MetamodelElement__FeatureAssignment_2_1" - // InternalApplicationConfiguration.g:10103:1: rule__MetamodelElement__FeatureAssignment_2_1 : ( ( RULE_ID ) ) ; + // InternalApplicationConfiguration.g:10363:1: rule__MetamodelElement__FeatureAssignment_2_1 : ( ( RULE_ID ) ) ; public final void rule__MetamodelElement__FeatureAssignment_2_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:10107:1: ( ( ( RULE_ID ) ) ) - // InternalApplicationConfiguration.g:10108:2: ( ( RULE_ID ) ) + // InternalApplicationConfiguration.g:10367:1: ( ( ( RULE_ID ) ) ) + // InternalApplicationConfiguration.g:10368:2: ( ( RULE_ID ) ) { - // InternalApplicationConfiguration.g:10108:2: ( ( RULE_ID ) ) - // InternalApplicationConfiguration.g:10109:3: ( RULE_ID ) + // InternalApplicationConfiguration.g:10368:2: ( ( RULE_ID ) ) + // InternalApplicationConfiguration.g:10369:3: ( RULE_ID ) { before(grammarAccess.getMetamodelElementAccess().getFeatureENamedElementCrossReference_2_1_0()); - // InternalApplicationConfiguration.g:10110:3: ( RULE_ID ) - // InternalApplicationConfiguration.g:10111:4: RULE_ID + // InternalApplicationConfiguration.g:10370:3: ( RULE_ID ) + // InternalApplicationConfiguration.g:10371:4: RULE_ID { before(grammarAccess.getMetamodelElementAccess().getFeatureENamedElementIDTerminalRuleCall_2_1_0_1()); match(input,RULE_ID,FOLLOW_2); @@ -31193,17 +31998,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__MetamodelDeclaration__NameAssignment_1" - // InternalApplicationConfiguration.g:10122:1: rule__MetamodelDeclaration__NameAssignment_1 : ( RULE_ID ) ; + // InternalApplicationConfiguration.g:10382:1: rule__MetamodelDeclaration__NameAssignment_1 : ( RULE_ID ) ; public final void rule__MetamodelDeclaration__NameAssignment_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:10126:1: ( ( RULE_ID ) ) - // InternalApplicationConfiguration.g:10127:2: ( RULE_ID ) + // InternalApplicationConfiguration.g:10386:1: ( ( RULE_ID ) ) + // InternalApplicationConfiguration.g:10387:2: ( RULE_ID ) { - // InternalApplicationConfiguration.g:10127:2: ( RULE_ID ) - // InternalApplicationConfiguration.g:10128:3: RULE_ID + // InternalApplicationConfiguration.g:10387:2: ( RULE_ID ) + // InternalApplicationConfiguration.g:10388:3: RULE_ID { before(grammarAccess.getMetamodelDeclarationAccess().getNameIDTerminalRuleCall_1_0()); match(input,RULE_ID,FOLLOW_2); @@ -31230,17 +32035,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__MetamodelDeclaration__SpecificationAssignment_2" - // InternalApplicationConfiguration.g:10137:1: rule__MetamodelDeclaration__SpecificationAssignment_2 : ( ruleMetamodelSpecification ) ; + // InternalApplicationConfiguration.g:10397:1: rule__MetamodelDeclaration__SpecificationAssignment_2 : ( ruleMetamodelSpecification ) ; public final void rule__MetamodelDeclaration__SpecificationAssignment_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:10141:1: ( ( ruleMetamodelSpecification ) ) - // InternalApplicationConfiguration.g:10142:2: ( ruleMetamodelSpecification ) + // InternalApplicationConfiguration.g:10401:1: ( ( ruleMetamodelSpecification ) ) + // InternalApplicationConfiguration.g:10402:2: ( ruleMetamodelSpecification ) { - // InternalApplicationConfiguration.g:10142:2: ( ruleMetamodelSpecification ) - // InternalApplicationConfiguration.g:10143:3: ruleMetamodelSpecification + // InternalApplicationConfiguration.g:10402:2: ( ruleMetamodelSpecification ) + // InternalApplicationConfiguration.g:10403:3: ruleMetamodelSpecification { before(grammarAccess.getMetamodelDeclarationAccess().getSpecificationMetamodelSpecificationParserRuleCall_2_0()); pushFollow(FOLLOW_2); @@ -31271,21 +32076,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__MetamodelReference__ReferredAssignment" - // InternalApplicationConfiguration.g:10152:1: rule__MetamodelReference__ReferredAssignment : ( ( RULE_ID ) ) ; + // InternalApplicationConfiguration.g:10412:1: rule__MetamodelReference__ReferredAssignment : ( ( RULE_ID ) ) ; public final void rule__MetamodelReference__ReferredAssignment() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:10156:1: ( ( ( RULE_ID ) ) ) - // InternalApplicationConfiguration.g:10157:2: ( ( RULE_ID ) ) + // InternalApplicationConfiguration.g:10416:1: ( ( ( RULE_ID ) ) ) + // InternalApplicationConfiguration.g:10417:2: ( ( RULE_ID ) ) { - // InternalApplicationConfiguration.g:10157:2: ( ( RULE_ID ) ) - // InternalApplicationConfiguration.g:10158:3: ( RULE_ID ) + // InternalApplicationConfiguration.g:10417:2: ( ( RULE_ID ) ) + // InternalApplicationConfiguration.g:10418:3: ( RULE_ID ) { before(grammarAccess.getMetamodelReferenceAccess().getReferredMetamodelDeclarationCrossReference_0()); - // InternalApplicationConfiguration.g:10159:3: ( RULE_ID ) - // InternalApplicationConfiguration.g:10160:4: RULE_ID + // InternalApplicationConfiguration.g:10419:3: ( RULE_ID ) + // InternalApplicationConfiguration.g:10420:4: RULE_ID { before(grammarAccess.getMetamodelReferenceAccess().getReferredMetamodelDeclarationIDTerminalRuleCall_0_1()); match(input,RULE_ID,FOLLOW_2); @@ -31316,17 +32121,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__PartialModelSpecification__EntryAssignment_1" - // InternalApplicationConfiguration.g:10171:1: rule__PartialModelSpecification__EntryAssignment_1 : ( rulePartialModelEntry ) ; + // InternalApplicationConfiguration.g:10431:1: rule__PartialModelSpecification__EntryAssignment_1 : ( rulePartialModelEntry ) ; public final void rule__PartialModelSpecification__EntryAssignment_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:10175:1: ( ( rulePartialModelEntry ) ) - // InternalApplicationConfiguration.g:10176:2: ( rulePartialModelEntry ) + // InternalApplicationConfiguration.g:10435:1: ( ( rulePartialModelEntry ) ) + // InternalApplicationConfiguration.g:10436:2: ( rulePartialModelEntry ) { - // InternalApplicationConfiguration.g:10176:2: ( rulePartialModelEntry ) - // InternalApplicationConfiguration.g:10177:3: rulePartialModelEntry + // InternalApplicationConfiguration.g:10436:2: ( rulePartialModelEntry ) + // InternalApplicationConfiguration.g:10437:3: rulePartialModelEntry { before(grammarAccess.getPartialModelSpecificationAccess().getEntryPartialModelEntryParserRuleCall_1_0()); pushFollow(FOLLOW_2); @@ -31357,17 +32162,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__PartialModelSpecification__EntryAssignment_2_1" - // InternalApplicationConfiguration.g:10186:1: rule__PartialModelSpecification__EntryAssignment_2_1 : ( rulePartialModelEntry ) ; + // InternalApplicationConfiguration.g:10446:1: rule__PartialModelSpecification__EntryAssignment_2_1 : ( rulePartialModelEntry ) ; public final void rule__PartialModelSpecification__EntryAssignment_2_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:10190:1: ( ( rulePartialModelEntry ) ) - // InternalApplicationConfiguration.g:10191:2: ( rulePartialModelEntry ) + // InternalApplicationConfiguration.g:10450:1: ( ( rulePartialModelEntry ) ) + // InternalApplicationConfiguration.g:10451:2: ( rulePartialModelEntry ) { - // InternalApplicationConfiguration.g:10191:2: ( rulePartialModelEntry ) - // InternalApplicationConfiguration.g:10192:3: rulePartialModelEntry + // InternalApplicationConfiguration.g:10451:2: ( rulePartialModelEntry ) + // InternalApplicationConfiguration.g:10452:3: rulePartialModelEntry { before(grammarAccess.getPartialModelSpecificationAccess().getEntryPartialModelEntryParserRuleCall_2_1_0()); pushFollow(FOLLOW_2); @@ -31398,17 +32203,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ModelEntry__PathAssignment" - // InternalApplicationConfiguration.g:10201:1: rule__ModelEntry__PathAssignment : ( ruleFile ) ; + // InternalApplicationConfiguration.g:10461:1: rule__ModelEntry__PathAssignment : ( ruleFile ) ; public final void rule__ModelEntry__PathAssignment() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:10205:1: ( ( ruleFile ) ) - // InternalApplicationConfiguration.g:10206:2: ( ruleFile ) + // InternalApplicationConfiguration.g:10465:1: ( ( ruleFile ) ) + // InternalApplicationConfiguration.g:10466:2: ( ruleFile ) { - // InternalApplicationConfiguration.g:10206:2: ( ruleFile ) - // InternalApplicationConfiguration.g:10207:3: ruleFile + // InternalApplicationConfiguration.g:10466:2: ( ruleFile ) + // InternalApplicationConfiguration.g:10467:3: ruleFile { before(grammarAccess.getModelEntryAccess().getPathFileParserRuleCall_0()); pushFollow(FOLLOW_2); @@ -31439,17 +32244,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__FolderEntry__PathAssignment_1" - // InternalApplicationConfiguration.g:10216:1: rule__FolderEntry__PathAssignment_1 : ( ruleFile ) ; + // InternalApplicationConfiguration.g:10476:1: rule__FolderEntry__PathAssignment_1 : ( ruleFile ) ; public final void rule__FolderEntry__PathAssignment_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:10220:1: ( ( ruleFile ) ) - // InternalApplicationConfiguration.g:10221:2: ( ruleFile ) + // InternalApplicationConfiguration.g:10480:1: ( ( ruleFile ) ) + // InternalApplicationConfiguration.g:10481:2: ( ruleFile ) { - // InternalApplicationConfiguration.g:10221:2: ( ruleFile ) - // InternalApplicationConfiguration.g:10222:3: ruleFile + // InternalApplicationConfiguration.g:10481:2: ( ruleFile ) + // InternalApplicationConfiguration.g:10482:3: ruleFile { before(grammarAccess.getFolderEntryAccess().getPathFileParserRuleCall_1_0()); pushFollow(FOLLOW_2); @@ -31480,17 +32285,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__FolderEntry__ExclusionAssignment_2_2" - // InternalApplicationConfiguration.g:10231:1: rule__FolderEntry__ExclusionAssignment_2_2 : ( ruleModelEntry ) ; + // InternalApplicationConfiguration.g:10491:1: rule__FolderEntry__ExclusionAssignment_2_2 : ( ruleModelEntry ) ; public final void rule__FolderEntry__ExclusionAssignment_2_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:10235:1: ( ( ruleModelEntry ) ) - // InternalApplicationConfiguration.g:10236:2: ( ruleModelEntry ) + // InternalApplicationConfiguration.g:10495:1: ( ( ruleModelEntry ) ) + // InternalApplicationConfiguration.g:10496:2: ( ruleModelEntry ) { - // InternalApplicationConfiguration.g:10236:2: ( ruleModelEntry ) - // InternalApplicationConfiguration.g:10237:3: ruleModelEntry + // InternalApplicationConfiguration.g:10496:2: ( ruleModelEntry ) + // InternalApplicationConfiguration.g:10497:3: ruleModelEntry { before(grammarAccess.getFolderEntryAccess().getExclusionModelEntryParserRuleCall_2_2_0()); pushFollow(FOLLOW_2); @@ -31521,17 +32326,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__FolderEntry__ExclusionAssignment_2_3_1" - // InternalApplicationConfiguration.g:10246:1: rule__FolderEntry__ExclusionAssignment_2_3_1 : ( ruleModelEntry ) ; + // InternalApplicationConfiguration.g:10506:1: rule__FolderEntry__ExclusionAssignment_2_3_1 : ( ruleModelEntry ) ; public final void rule__FolderEntry__ExclusionAssignment_2_3_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:10250:1: ( ( ruleModelEntry ) ) - // InternalApplicationConfiguration.g:10251:2: ( ruleModelEntry ) + // InternalApplicationConfiguration.g:10510:1: ( ( ruleModelEntry ) ) + // InternalApplicationConfiguration.g:10511:2: ( ruleModelEntry ) { - // InternalApplicationConfiguration.g:10251:2: ( ruleModelEntry ) - // InternalApplicationConfiguration.g:10252:3: ruleModelEntry + // InternalApplicationConfiguration.g:10511:2: ( ruleModelEntry ) + // InternalApplicationConfiguration.g:10512:3: ruleModelEntry { before(grammarAccess.getFolderEntryAccess().getExclusionModelEntryParserRuleCall_2_3_1_0()); pushFollow(FOLLOW_2); @@ -31562,17 +32367,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__PartialModelDeclaration__NameAssignment_1" - // InternalApplicationConfiguration.g:10261:1: rule__PartialModelDeclaration__NameAssignment_1 : ( RULE_ID ) ; + // InternalApplicationConfiguration.g:10521:1: rule__PartialModelDeclaration__NameAssignment_1 : ( RULE_ID ) ; public final void rule__PartialModelDeclaration__NameAssignment_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:10265:1: ( ( RULE_ID ) ) - // InternalApplicationConfiguration.g:10266:2: ( RULE_ID ) + // InternalApplicationConfiguration.g:10525:1: ( ( RULE_ID ) ) + // InternalApplicationConfiguration.g:10526:2: ( RULE_ID ) { - // InternalApplicationConfiguration.g:10266:2: ( RULE_ID ) - // InternalApplicationConfiguration.g:10267:3: RULE_ID + // InternalApplicationConfiguration.g:10526:2: ( RULE_ID ) + // InternalApplicationConfiguration.g:10527:3: RULE_ID { before(grammarAccess.getPartialModelDeclarationAccess().getNameIDTerminalRuleCall_1_0()); match(input,RULE_ID,FOLLOW_2); @@ -31599,17 +32404,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__PartialModelDeclaration__SpecificationAssignment_2" - // InternalApplicationConfiguration.g:10276:1: rule__PartialModelDeclaration__SpecificationAssignment_2 : ( rulePartialModelSpecification ) ; + // InternalApplicationConfiguration.g:10536:1: rule__PartialModelDeclaration__SpecificationAssignment_2 : ( rulePartialModelSpecification ) ; public final void rule__PartialModelDeclaration__SpecificationAssignment_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:10280:1: ( ( rulePartialModelSpecification ) ) - // InternalApplicationConfiguration.g:10281:2: ( rulePartialModelSpecification ) + // InternalApplicationConfiguration.g:10540:1: ( ( rulePartialModelSpecification ) ) + // InternalApplicationConfiguration.g:10541:2: ( rulePartialModelSpecification ) { - // InternalApplicationConfiguration.g:10281:2: ( rulePartialModelSpecification ) - // InternalApplicationConfiguration.g:10282:3: rulePartialModelSpecification + // InternalApplicationConfiguration.g:10541:2: ( rulePartialModelSpecification ) + // InternalApplicationConfiguration.g:10542:3: rulePartialModelSpecification { before(grammarAccess.getPartialModelDeclarationAccess().getSpecificationPartialModelSpecificationParserRuleCall_2_0()); pushFollow(FOLLOW_2); @@ -31640,21 +32445,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__PartialModelReference__ReferredAssignment" - // InternalApplicationConfiguration.g:10291:1: rule__PartialModelReference__ReferredAssignment : ( ( RULE_ID ) ) ; + // InternalApplicationConfiguration.g:10551:1: rule__PartialModelReference__ReferredAssignment : ( ( RULE_ID ) ) ; public final void rule__PartialModelReference__ReferredAssignment() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:10295:1: ( ( ( RULE_ID ) ) ) - // InternalApplicationConfiguration.g:10296:2: ( ( RULE_ID ) ) + // InternalApplicationConfiguration.g:10555:1: ( ( ( RULE_ID ) ) ) + // InternalApplicationConfiguration.g:10556:2: ( ( RULE_ID ) ) { - // InternalApplicationConfiguration.g:10296:2: ( ( RULE_ID ) ) - // InternalApplicationConfiguration.g:10297:3: ( RULE_ID ) + // InternalApplicationConfiguration.g:10556:2: ( ( RULE_ID ) ) + // InternalApplicationConfiguration.g:10557:3: ( RULE_ID ) { before(grammarAccess.getPartialModelReferenceAccess().getReferredPartialModelDeclarationCrossReference_0()); - // InternalApplicationConfiguration.g:10298:3: ( RULE_ID ) - // InternalApplicationConfiguration.g:10299:4: RULE_ID + // InternalApplicationConfiguration.g:10558:3: ( RULE_ID ) + // InternalApplicationConfiguration.g:10559:4: RULE_ID { before(grammarAccess.getPartialModelReferenceAccess().getReferredPartialModelDeclarationIDTerminalRuleCall_0_1()); match(input,RULE_ID,FOLLOW_2); @@ -31685,17 +32490,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__PatternSpecification__EntriesAssignment_1" - // InternalApplicationConfiguration.g:10310:1: rule__PatternSpecification__EntriesAssignment_1 : ( rulePatternEntry ) ; + // InternalApplicationConfiguration.g:10570:1: rule__PatternSpecification__EntriesAssignment_1 : ( rulePatternEntry ) ; public final void rule__PatternSpecification__EntriesAssignment_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:10314:1: ( ( rulePatternEntry ) ) - // InternalApplicationConfiguration.g:10315:2: ( rulePatternEntry ) + // InternalApplicationConfiguration.g:10574:1: ( ( rulePatternEntry ) ) + // InternalApplicationConfiguration.g:10575:2: ( rulePatternEntry ) { - // InternalApplicationConfiguration.g:10315:2: ( rulePatternEntry ) - // InternalApplicationConfiguration.g:10316:3: rulePatternEntry + // InternalApplicationConfiguration.g:10575:2: ( rulePatternEntry ) + // InternalApplicationConfiguration.g:10576:3: rulePatternEntry { before(grammarAccess.getPatternSpecificationAccess().getEntriesPatternEntryParserRuleCall_1_0()); pushFollow(FOLLOW_2); @@ -31726,17 +32531,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__PatternSpecification__EntriesAssignment_2_1" - // InternalApplicationConfiguration.g:10325:1: rule__PatternSpecification__EntriesAssignment_2_1 : ( rulePatternEntry ) ; + // InternalApplicationConfiguration.g:10585:1: rule__PatternSpecification__EntriesAssignment_2_1 : ( rulePatternEntry ) ; public final void rule__PatternSpecification__EntriesAssignment_2_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:10329:1: ( ( rulePatternEntry ) ) - // InternalApplicationConfiguration.g:10330:2: ( rulePatternEntry ) + // InternalApplicationConfiguration.g:10589:1: ( ( rulePatternEntry ) ) + // InternalApplicationConfiguration.g:10590:2: ( rulePatternEntry ) { - // InternalApplicationConfiguration.g:10330:2: ( rulePatternEntry ) - // InternalApplicationConfiguration.g:10331:3: rulePatternEntry + // InternalApplicationConfiguration.g:10590:2: ( rulePatternEntry ) + // InternalApplicationConfiguration.g:10591:3: rulePatternEntry { before(grammarAccess.getPatternSpecificationAccess().getEntriesPatternEntryParserRuleCall_2_1_0()); pushFollow(FOLLOW_2); @@ -31767,21 +32572,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__AllPatternEntry__PackageAssignment_1" - // InternalApplicationConfiguration.g:10340:1: rule__AllPatternEntry__PackageAssignment_1 : ( ( ruleQualifiedName ) ) ; + // InternalApplicationConfiguration.g:10600:1: rule__AllPatternEntry__PackageAssignment_1 : ( ( ruleQualifiedName ) ) ; public final void rule__AllPatternEntry__PackageAssignment_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:10344:1: ( ( ( ruleQualifiedName ) ) ) - // InternalApplicationConfiguration.g:10345:2: ( ( ruleQualifiedName ) ) + // InternalApplicationConfiguration.g:10604:1: ( ( ( ruleQualifiedName ) ) ) + // InternalApplicationConfiguration.g:10605:2: ( ( ruleQualifiedName ) ) { - // InternalApplicationConfiguration.g:10345:2: ( ( ruleQualifiedName ) ) - // InternalApplicationConfiguration.g:10346:3: ( ruleQualifiedName ) + // InternalApplicationConfiguration.g:10605:2: ( ( ruleQualifiedName ) ) + // InternalApplicationConfiguration.g:10606:3: ( ruleQualifiedName ) { before(grammarAccess.getAllPatternEntryAccess().getPackagePatternModelCrossReference_1_0()); - // InternalApplicationConfiguration.g:10347:3: ( ruleQualifiedName ) - // InternalApplicationConfiguration.g:10348:4: ruleQualifiedName + // InternalApplicationConfiguration.g:10607:3: ( ruleQualifiedName ) + // InternalApplicationConfiguration.g:10608:4: ruleQualifiedName { before(grammarAccess.getAllPatternEntryAccess().getPackagePatternModelQualifiedNameParserRuleCall_1_0_1()); pushFollow(FOLLOW_2); @@ -31816,17 +32621,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__AllPatternEntry__ExclusuionAssignment_2_2" - // InternalApplicationConfiguration.g:10359:1: rule__AllPatternEntry__ExclusuionAssignment_2_2 : ( rulePatternElement ) ; + // InternalApplicationConfiguration.g:10619:1: rule__AllPatternEntry__ExclusuionAssignment_2_2 : ( rulePatternElement ) ; public final void rule__AllPatternEntry__ExclusuionAssignment_2_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:10363:1: ( ( rulePatternElement ) ) - // InternalApplicationConfiguration.g:10364:2: ( rulePatternElement ) + // InternalApplicationConfiguration.g:10623:1: ( ( rulePatternElement ) ) + // InternalApplicationConfiguration.g:10624:2: ( rulePatternElement ) { - // InternalApplicationConfiguration.g:10364:2: ( rulePatternElement ) - // InternalApplicationConfiguration.g:10365:3: rulePatternElement + // InternalApplicationConfiguration.g:10624:2: ( rulePatternElement ) + // InternalApplicationConfiguration.g:10625:3: rulePatternElement { before(grammarAccess.getAllPatternEntryAccess().getExclusuionPatternElementParserRuleCall_2_2_0()); pushFollow(FOLLOW_2); @@ -31857,17 +32662,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__AllPatternEntry__ExclusuionAssignment_2_3_1" - // InternalApplicationConfiguration.g:10374:1: rule__AllPatternEntry__ExclusuionAssignment_2_3_1 : ( rulePatternElement ) ; + // InternalApplicationConfiguration.g:10634:1: rule__AllPatternEntry__ExclusuionAssignment_2_3_1 : ( rulePatternElement ) ; public final void rule__AllPatternEntry__ExclusuionAssignment_2_3_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:10378:1: ( ( rulePatternElement ) ) - // InternalApplicationConfiguration.g:10379:2: ( rulePatternElement ) + // InternalApplicationConfiguration.g:10638:1: ( ( rulePatternElement ) ) + // InternalApplicationConfiguration.g:10639:2: ( rulePatternElement ) { - // InternalApplicationConfiguration.g:10379:2: ( rulePatternElement ) - // InternalApplicationConfiguration.g:10380:3: rulePatternElement + // InternalApplicationConfiguration.g:10639:2: ( rulePatternElement ) + // InternalApplicationConfiguration.g:10640:3: rulePatternElement { before(grammarAccess.getAllPatternEntryAccess().getExclusuionPatternElementParserRuleCall_2_3_1_0()); pushFollow(FOLLOW_2); @@ -31898,21 +32703,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__PatternElement__PackageAssignment_0_0" - // InternalApplicationConfiguration.g:10389:1: rule__PatternElement__PackageAssignment_0_0 : ( ( ruleQualifiedName ) ) ; + // InternalApplicationConfiguration.g:10649:1: rule__PatternElement__PackageAssignment_0_0 : ( ( ruleQualifiedName ) ) ; public final void rule__PatternElement__PackageAssignment_0_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:10393:1: ( ( ( ruleQualifiedName ) ) ) - // InternalApplicationConfiguration.g:10394:2: ( ( ruleQualifiedName ) ) + // InternalApplicationConfiguration.g:10653:1: ( ( ( ruleQualifiedName ) ) ) + // InternalApplicationConfiguration.g:10654:2: ( ( ruleQualifiedName ) ) { - // InternalApplicationConfiguration.g:10394:2: ( ( ruleQualifiedName ) ) - // InternalApplicationConfiguration.g:10395:3: ( ruleQualifiedName ) + // InternalApplicationConfiguration.g:10654:2: ( ( ruleQualifiedName ) ) + // InternalApplicationConfiguration.g:10655:3: ( ruleQualifiedName ) { before(grammarAccess.getPatternElementAccess().getPackagePatternModelCrossReference_0_0_0()); - // InternalApplicationConfiguration.g:10396:3: ( ruleQualifiedName ) - // InternalApplicationConfiguration.g:10397:4: ruleQualifiedName + // InternalApplicationConfiguration.g:10656:3: ( ruleQualifiedName ) + // InternalApplicationConfiguration.g:10657:4: ruleQualifiedName { before(grammarAccess.getPatternElementAccess().getPackagePatternModelQualifiedNameParserRuleCall_0_0_0_1()); pushFollow(FOLLOW_2); @@ -31947,21 +32752,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__PatternElement__PatternAssignment_1" - // InternalApplicationConfiguration.g:10408:1: rule__PatternElement__PatternAssignment_1 : ( ( RULE_ID ) ) ; + // InternalApplicationConfiguration.g:10668:1: rule__PatternElement__PatternAssignment_1 : ( ( RULE_ID ) ) ; public final void rule__PatternElement__PatternAssignment_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:10412:1: ( ( ( RULE_ID ) ) ) - // InternalApplicationConfiguration.g:10413:2: ( ( RULE_ID ) ) + // InternalApplicationConfiguration.g:10672:1: ( ( ( RULE_ID ) ) ) + // InternalApplicationConfiguration.g:10673:2: ( ( RULE_ID ) ) { - // InternalApplicationConfiguration.g:10413:2: ( ( RULE_ID ) ) - // InternalApplicationConfiguration.g:10414:3: ( RULE_ID ) + // InternalApplicationConfiguration.g:10673:2: ( ( RULE_ID ) ) + // InternalApplicationConfiguration.g:10674:3: ( RULE_ID ) { before(grammarAccess.getPatternElementAccess().getPatternPatternCrossReference_1_0()); - // InternalApplicationConfiguration.g:10415:3: ( RULE_ID ) - // InternalApplicationConfiguration.g:10416:4: RULE_ID + // InternalApplicationConfiguration.g:10675:3: ( RULE_ID ) + // InternalApplicationConfiguration.g:10676:4: RULE_ID { before(grammarAccess.getPatternElementAccess().getPatternPatternIDTerminalRuleCall_1_0_1()); match(input,RULE_ID,FOLLOW_2); @@ -31992,17 +32797,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GraphPatternDeclaration__NameAssignment_1" - // InternalApplicationConfiguration.g:10427:1: rule__GraphPatternDeclaration__NameAssignment_1 : ( RULE_ID ) ; + // InternalApplicationConfiguration.g:10687:1: rule__GraphPatternDeclaration__NameAssignment_1 : ( RULE_ID ) ; public final void rule__GraphPatternDeclaration__NameAssignment_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:10431:1: ( ( RULE_ID ) ) - // InternalApplicationConfiguration.g:10432:2: ( RULE_ID ) + // InternalApplicationConfiguration.g:10691:1: ( ( RULE_ID ) ) + // InternalApplicationConfiguration.g:10692:2: ( RULE_ID ) { - // InternalApplicationConfiguration.g:10432:2: ( RULE_ID ) - // InternalApplicationConfiguration.g:10433:3: RULE_ID + // InternalApplicationConfiguration.g:10692:2: ( RULE_ID ) + // InternalApplicationConfiguration.g:10693:3: RULE_ID { before(grammarAccess.getGraphPatternDeclarationAccess().getNameIDTerminalRuleCall_1_0()); match(input,RULE_ID,FOLLOW_2); @@ -32029,17 +32834,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GraphPatternDeclaration__SpecificationAssignment_2" - // InternalApplicationConfiguration.g:10442:1: rule__GraphPatternDeclaration__SpecificationAssignment_2 : ( rulePatternSpecification ) ; + // InternalApplicationConfiguration.g:10702:1: rule__GraphPatternDeclaration__SpecificationAssignment_2 : ( rulePatternSpecification ) ; public final void rule__GraphPatternDeclaration__SpecificationAssignment_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:10446:1: ( ( rulePatternSpecification ) ) - // InternalApplicationConfiguration.g:10447:2: ( rulePatternSpecification ) + // InternalApplicationConfiguration.g:10706:1: ( ( rulePatternSpecification ) ) + // InternalApplicationConfiguration.g:10707:2: ( rulePatternSpecification ) { - // InternalApplicationConfiguration.g:10447:2: ( rulePatternSpecification ) - // InternalApplicationConfiguration.g:10448:3: rulePatternSpecification + // InternalApplicationConfiguration.g:10707:2: ( rulePatternSpecification ) + // InternalApplicationConfiguration.g:10708:3: rulePatternSpecification { before(grammarAccess.getGraphPatternDeclarationAccess().getSpecificationPatternSpecificationParserRuleCall_2_0()); pushFollow(FOLLOW_2); @@ -32070,21 +32875,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GraphPatternReference__ReferredAssignment" - // InternalApplicationConfiguration.g:10457:1: rule__GraphPatternReference__ReferredAssignment : ( ( RULE_ID ) ) ; + // InternalApplicationConfiguration.g:10717:1: rule__GraphPatternReference__ReferredAssignment : ( ( RULE_ID ) ) ; public final void rule__GraphPatternReference__ReferredAssignment() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:10461:1: ( ( ( RULE_ID ) ) ) - // InternalApplicationConfiguration.g:10462:2: ( ( RULE_ID ) ) + // InternalApplicationConfiguration.g:10721:1: ( ( ( RULE_ID ) ) ) + // InternalApplicationConfiguration.g:10722:2: ( ( RULE_ID ) ) { - // InternalApplicationConfiguration.g:10462:2: ( ( RULE_ID ) ) - // InternalApplicationConfiguration.g:10463:3: ( RULE_ID ) + // InternalApplicationConfiguration.g:10722:2: ( ( RULE_ID ) ) + // InternalApplicationConfiguration.g:10723:3: ( RULE_ID ) { before(grammarAccess.getGraphPatternReferenceAccess().getReferredGraphPatternDeclarationCrossReference_0()); - // InternalApplicationConfiguration.g:10464:3: ( RULE_ID ) - // InternalApplicationConfiguration.g:10465:4: RULE_ID + // InternalApplicationConfiguration.g:10724:3: ( RULE_ID ) + // InternalApplicationConfiguration.g:10725:4: RULE_ID { before(grammarAccess.getGraphPatternReferenceAccess().getReferredGraphPatternDeclarationIDTerminalRuleCall_0_1()); match(input,RULE_ID,FOLLOW_2); @@ -32115,17 +32920,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ObjectiveSpecification__EntriesAssignment_1" - // InternalApplicationConfiguration.g:10476:1: rule__ObjectiveSpecification__EntriesAssignment_1 : ( ruleObjectiveEntry ) ; + // InternalApplicationConfiguration.g:10736:1: rule__ObjectiveSpecification__EntriesAssignment_1 : ( ruleObjectiveEntry ) ; public final void rule__ObjectiveSpecification__EntriesAssignment_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:10480:1: ( ( ruleObjectiveEntry ) ) - // InternalApplicationConfiguration.g:10481:2: ( ruleObjectiveEntry ) + // InternalApplicationConfiguration.g:10740:1: ( ( ruleObjectiveEntry ) ) + // InternalApplicationConfiguration.g:10741:2: ( ruleObjectiveEntry ) { - // InternalApplicationConfiguration.g:10481:2: ( ruleObjectiveEntry ) - // InternalApplicationConfiguration.g:10482:3: ruleObjectiveEntry + // InternalApplicationConfiguration.g:10741:2: ( ruleObjectiveEntry ) + // InternalApplicationConfiguration.g:10742:3: ruleObjectiveEntry { before(grammarAccess.getObjectiveSpecificationAccess().getEntriesObjectiveEntryParserRuleCall_1_0()); pushFollow(FOLLOW_2); @@ -32156,17 +32961,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ObjectiveSpecification__EntriesAssignment_2_1" - // InternalApplicationConfiguration.g:10491:1: rule__ObjectiveSpecification__EntriesAssignment_2_1 : ( ruleObjectiveEntry ) ; + // InternalApplicationConfiguration.g:10751:1: rule__ObjectiveSpecification__EntriesAssignment_2_1 : ( ruleObjectiveEntry ) ; public final void rule__ObjectiveSpecification__EntriesAssignment_2_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:10495:1: ( ( ruleObjectiveEntry ) ) - // InternalApplicationConfiguration.g:10496:2: ( ruleObjectiveEntry ) + // InternalApplicationConfiguration.g:10755:1: ( ( ruleObjectiveEntry ) ) + // InternalApplicationConfiguration.g:10756:2: ( ruleObjectiveEntry ) { - // InternalApplicationConfiguration.g:10496:2: ( ruleObjectiveEntry ) - // InternalApplicationConfiguration.g:10497:3: ruleObjectiveEntry + // InternalApplicationConfiguration.g:10756:2: ( ruleObjectiveEntry ) + // InternalApplicationConfiguration.g:10757:3: ruleObjectiveEntry { before(grammarAccess.getObjectiveSpecificationAccess().getEntriesObjectiveEntryParserRuleCall_2_1_0()); pushFollow(FOLLOW_2); @@ -32197,17 +33002,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__OptimizationEntry__DirectionAssignment_0" - // InternalApplicationConfiguration.g:10506:1: rule__OptimizationEntry__DirectionAssignment_0 : ( ruleOptimizationDirection ) ; + // InternalApplicationConfiguration.g:10766:1: rule__OptimizationEntry__DirectionAssignment_0 : ( ruleOptimizationDirection ) ; public final void rule__OptimizationEntry__DirectionAssignment_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:10510:1: ( ( ruleOptimizationDirection ) ) - // InternalApplicationConfiguration.g:10511:2: ( ruleOptimizationDirection ) + // InternalApplicationConfiguration.g:10770:1: ( ( ruleOptimizationDirection ) ) + // InternalApplicationConfiguration.g:10771:2: ( ruleOptimizationDirection ) { - // InternalApplicationConfiguration.g:10511:2: ( ruleOptimizationDirection ) - // InternalApplicationConfiguration.g:10512:3: ruleOptimizationDirection + // InternalApplicationConfiguration.g:10771:2: ( ruleOptimizationDirection ) + // InternalApplicationConfiguration.g:10772:3: ruleOptimizationDirection { before(grammarAccess.getOptimizationEntryAccess().getDirectionOptimizationDirectionEnumRuleCall_0_0()); pushFollow(FOLLOW_2); @@ -32238,25 +33043,148 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__OptimizationEntry__FunctionAssignment_1" - // InternalApplicationConfiguration.g:10521:1: rule__OptimizationEntry__FunctionAssignment_1 : ( ruleObjectiveFunction ) ; + // InternalApplicationConfiguration.g:10781:1: rule__OptimizationEntry__FunctionAssignment_1 : ( ruleObjectiveFunction ) ; public final void rule__OptimizationEntry__FunctionAssignment_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:10525:1: ( ( ruleObjectiveFunction ) ) - // InternalApplicationConfiguration.g:10526:2: ( ruleObjectiveFunction ) + // InternalApplicationConfiguration.g:10785:1: ( ( ruleObjectiveFunction ) ) + // InternalApplicationConfiguration.g:10786:2: ( ruleObjectiveFunction ) { - // InternalApplicationConfiguration.g:10526:2: ( ruleObjectiveFunction ) - // InternalApplicationConfiguration.g:10527:3: ruleObjectiveFunction + // InternalApplicationConfiguration.g:10786:2: ( ruleObjectiveFunction ) + // InternalApplicationConfiguration.g:10787:3: ruleObjectiveFunction { before(grammarAccess.getOptimizationEntryAccess().getFunctionObjectiveFunctionParserRuleCall_1_0()); pushFollow(FOLLOW_2); - ruleObjectiveFunction(); + ruleObjectiveFunction(); + + state._fsp--; + + after(grammarAccess.getOptimizationEntryAccess().getFunctionObjectiveFunctionParserRuleCall_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__OptimizationEntry__FunctionAssignment_1" + + + // $ANTLR start "rule__ThresholdEntry__FunctionAssignment_0" + // InternalApplicationConfiguration.g:10796:1: rule__ThresholdEntry__FunctionAssignment_0 : ( ruleObjectiveFunction ) ; + public final void rule__ThresholdEntry__FunctionAssignment_0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:10800:1: ( ( ruleObjectiveFunction ) ) + // InternalApplicationConfiguration.g:10801:2: ( ruleObjectiveFunction ) + { + // InternalApplicationConfiguration.g:10801:2: ( ruleObjectiveFunction ) + // InternalApplicationConfiguration.g:10802:3: ruleObjectiveFunction + { + before(grammarAccess.getThresholdEntryAccess().getFunctionObjectiveFunctionParserRuleCall_0_0()); + pushFollow(FOLLOW_2); + ruleObjectiveFunction(); + + state._fsp--; + + after(grammarAccess.getThresholdEntryAccess().getFunctionObjectiveFunctionParserRuleCall_0_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ThresholdEntry__FunctionAssignment_0" + + + // $ANTLR start "rule__ThresholdEntry__OperatorAssignment_1" + // InternalApplicationConfiguration.g:10811:1: rule__ThresholdEntry__OperatorAssignment_1 : ( ruleComparisonOperator ) ; + public final void rule__ThresholdEntry__OperatorAssignment_1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:10815:1: ( ( ruleComparisonOperator ) ) + // InternalApplicationConfiguration.g:10816:2: ( ruleComparisonOperator ) + { + // InternalApplicationConfiguration.g:10816:2: ( ruleComparisonOperator ) + // InternalApplicationConfiguration.g:10817:3: ruleComparisonOperator + { + before(grammarAccess.getThresholdEntryAccess().getOperatorComparisonOperatorEnumRuleCall_1_0()); + pushFollow(FOLLOW_2); + ruleComparisonOperator(); + + state._fsp--; + + after(grammarAccess.getThresholdEntryAccess().getOperatorComparisonOperatorEnumRuleCall_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ThresholdEntry__OperatorAssignment_1" + + + // $ANTLR start "rule__ThresholdEntry__ThresholdAssignment_2" + // InternalApplicationConfiguration.g:10826:1: rule__ThresholdEntry__ThresholdAssignment_2 : ( ruleREALLiteral ) ; + public final void rule__ThresholdEntry__ThresholdAssignment_2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:10830:1: ( ( ruleREALLiteral ) ) + // InternalApplicationConfiguration.g:10831:2: ( ruleREALLiteral ) + { + // InternalApplicationConfiguration.g:10831:2: ( ruleREALLiteral ) + // InternalApplicationConfiguration.g:10832:3: ruleREALLiteral + { + before(grammarAccess.getThresholdEntryAccess().getThresholdREALLiteralParserRuleCall_2_0()); + pushFollow(FOLLOW_2); + ruleREALLiteral(); state._fsp--; - after(grammarAccess.getOptimizationEntryAccess().getFunctionObjectiveFunctionParserRuleCall_1_0()); + after(grammarAccess.getThresholdEntryAccess().getThresholdREALLiteralParserRuleCall_2_0()); } @@ -32275,29 +33203,37 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } return ; } - // $ANTLR end "rule__OptimizationEntry__FunctionAssignment_1" + // $ANTLR end "rule__ThresholdEntry__ThresholdAssignment_2" - // $ANTLR start "rule__ThresholdEntry__FunctionAssignment_0" - // InternalApplicationConfiguration.g:10536:1: rule__ThresholdEntry__FunctionAssignment_0 : ( ruleObjectiveFunction ) ; - public final void rule__ThresholdEntry__FunctionAssignment_0() throws RecognitionException { + // $ANTLR start "rule__ReliabiltiyProbability__PackageAssignment_1_0" + // InternalApplicationConfiguration.g:10841:1: rule__ReliabiltiyProbability__PackageAssignment_1_0 : ( ( ruleQualifiedName ) ) ; + public final void rule__ReliabiltiyProbability__PackageAssignment_1_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:10540:1: ( ( ruleObjectiveFunction ) ) - // InternalApplicationConfiguration.g:10541:2: ( ruleObjectiveFunction ) + // InternalApplicationConfiguration.g:10845:1: ( ( ( ruleQualifiedName ) ) ) + // InternalApplicationConfiguration.g:10846:2: ( ( ruleQualifiedName ) ) { - // InternalApplicationConfiguration.g:10541:2: ( ruleObjectiveFunction ) - // InternalApplicationConfiguration.g:10542:3: ruleObjectiveFunction + // InternalApplicationConfiguration.g:10846:2: ( ( ruleQualifiedName ) ) + // InternalApplicationConfiguration.g:10847:3: ( ruleQualifiedName ) { - before(grammarAccess.getThresholdEntryAccess().getFunctionObjectiveFunctionParserRuleCall_0_0()); + before(grammarAccess.getReliabiltiyProbabilityAccess().getPackageCftModelCrossReference_1_0_0()); + // InternalApplicationConfiguration.g:10848:3: ( ruleQualifiedName ) + // InternalApplicationConfiguration.g:10849:4: ruleQualifiedName + { + before(grammarAccess.getReliabiltiyProbabilityAccess().getPackageCftModelQualifiedNameParserRuleCall_1_0_0_1()); pushFollow(FOLLOW_2); - ruleObjectiveFunction(); + ruleQualifiedName(); state._fsp--; - after(grammarAccess.getThresholdEntryAccess().getFunctionObjectiveFunctionParserRuleCall_0_0()); + after(grammarAccess.getReliabiltiyProbabilityAccess().getPackageCftModelQualifiedNameParserRuleCall_1_0_0_1()); + + } + + after(grammarAccess.getReliabiltiyProbabilityAccess().getPackageCftModelCrossReference_1_0_0()); } @@ -32316,29 +33252,33 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } return ; } - // $ANTLR end "rule__ThresholdEntry__FunctionAssignment_0" + // $ANTLR end "rule__ReliabiltiyProbability__PackageAssignment_1_0" - // $ANTLR start "rule__ThresholdEntry__OperatorAssignment_1" - // InternalApplicationConfiguration.g:10551:1: rule__ThresholdEntry__OperatorAssignment_1 : ( ruleComparisonOperator ) ; - public final void rule__ThresholdEntry__OperatorAssignment_1() throws RecognitionException { + // $ANTLR start "rule__ReliabiltiyProbability__TransformationAssignment_2" + // InternalApplicationConfiguration.g:10860:1: rule__ReliabiltiyProbability__TransformationAssignment_2 : ( ( RULE_ID ) ) ; + public final void rule__ReliabiltiyProbability__TransformationAssignment_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:10555:1: ( ( ruleComparisonOperator ) ) - // InternalApplicationConfiguration.g:10556:2: ( ruleComparisonOperator ) + // InternalApplicationConfiguration.g:10864:1: ( ( ( RULE_ID ) ) ) + // InternalApplicationConfiguration.g:10865:2: ( ( RULE_ID ) ) { - // InternalApplicationConfiguration.g:10556:2: ( ruleComparisonOperator ) - // InternalApplicationConfiguration.g:10557:3: ruleComparisonOperator + // InternalApplicationConfiguration.g:10865:2: ( ( RULE_ID ) ) + // InternalApplicationConfiguration.g:10866:3: ( RULE_ID ) { - before(grammarAccess.getThresholdEntryAccess().getOperatorComparisonOperatorEnumRuleCall_1_0()); - pushFollow(FOLLOW_2); - ruleComparisonOperator(); + before(grammarAccess.getReliabiltiyProbabilityAccess().getTransformationTransformationDefinitionCrossReference_2_0()); + // InternalApplicationConfiguration.g:10867:3: ( RULE_ID ) + // InternalApplicationConfiguration.g:10868:4: RULE_ID + { + before(grammarAccess.getReliabiltiyProbabilityAccess().getTransformationTransformationDefinitionIDTerminalRuleCall_2_0_1()); + match(input,RULE_ID,FOLLOW_2); + after(grammarAccess.getReliabiltiyProbabilityAccess().getTransformationTransformationDefinitionIDTerminalRuleCall_2_0_1()); - state._fsp--; + } - after(grammarAccess.getThresholdEntryAccess().getOperatorComparisonOperatorEnumRuleCall_1_0()); + after(grammarAccess.getReliabiltiyProbabilityAccess().getTransformationTransformationDefinitionCrossReference_2_0()); } @@ -32357,29 +33297,29 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } return ; } - // $ANTLR end "rule__ThresholdEntry__OperatorAssignment_1" + // $ANTLR end "rule__ReliabiltiyProbability__TransformationAssignment_2" - // $ANTLR start "rule__ThresholdEntry__ThresholdAssignment_2" - // InternalApplicationConfiguration.g:10566:1: rule__ThresholdEntry__ThresholdAssignment_2 : ( ruleREALLiteral ) ; - public final void rule__ThresholdEntry__ThresholdAssignment_2() throws RecognitionException { + // $ANTLR start "rule__ReliabiltiyProbability__TimeAssignment_4" + // InternalApplicationConfiguration.g:10879:1: rule__ReliabiltiyProbability__TimeAssignment_4 : ( ruleREALLiteral ) ; + public final void rule__ReliabiltiyProbability__TimeAssignment_4() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:10570:1: ( ( ruleREALLiteral ) ) - // InternalApplicationConfiguration.g:10571:2: ( ruleREALLiteral ) + // InternalApplicationConfiguration.g:10883:1: ( ( ruleREALLiteral ) ) + // InternalApplicationConfiguration.g:10884:2: ( ruleREALLiteral ) { - // InternalApplicationConfiguration.g:10571:2: ( ruleREALLiteral ) - // InternalApplicationConfiguration.g:10572:3: ruleREALLiteral + // InternalApplicationConfiguration.g:10884:2: ( ruleREALLiteral ) + // InternalApplicationConfiguration.g:10885:3: ruleREALLiteral { - before(grammarAccess.getThresholdEntryAccess().getThresholdREALLiteralParserRuleCall_2_0()); + before(grammarAccess.getReliabiltiyProbabilityAccess().getTimeREALLiteralParserRuleCall_4_0()); pushFollow(FOLLOW_2); ruleREALLiteral(); state._fsp--; - after(grammarAccess.getThresholdEntryAccess().getThresholdREALLiteralParserRuleCall_2_0()); + after(grammarAccess.getReliabiltiyProbabilityAccess().getTimeREALLiteralParserRuleCall_4_0()); } @@ -32398,37 +33338,37 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } return ; } - // $ANTLR end "rule__ThresholdEntry__ThresholdAssignment_2" + // $ANTLR end "rule__ReliabiltiyProbability__TimeAssignment_4" - // $ANTLR start "rule__ReliabiltiyFunction__PackageAssignment_1_0" - // InternalApplicationConfiguration.g:10581:1: rule__ReliabiltiyFunction__PackageAssignment_1_0 : ( ( ruleQualifiedName ) ) ; - public final void rule__ReliabiltiyFunction__PackageAssignment_1_0() throws RecognitionException { + // $ANTLR start "rule__Mtff__PackageAssignment_1_0" + // InternalApplicationConfiguration.g:10894:1: rule__Mtff__PackageAssignment_1_0 : ( ( ruleQualifiedName ) ) ; + public final void rule__Mtff__PackageAssignment_1_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:10585:1: ( ( ( ruleQualifiedName ) ) ) - // InternalApplicationConfiguration.g:10586:2: ( ( ruleQualifiedName ) ) + // InternalApplicationConfiguration.g:10898:1: ( ( ( ruleQualifiedName ) ) ) + // InternalApplicationConfiguration.g:10899:2: ( ( ruleQualifiedName ) ) { - // InternalApplicationConfiguration.g:10586:2: ( ( ruleQualifiedName ) ) - // InternalApplicationConfiguration.g:10587:3: ( ruleQualifiedName ) + // InternalApplicationConfiguration.g:10899:2: ( ( ruleQualifiedName ) ) + // InternalApplicationConfiguration.g:10900:3: ( ruleQualifiedName ) { - before(grammarAccess.getReliabiltiyFunctionAccess().getPackageCftModelCrossReference_1_0_0()); - // InternalApplicationConfiguration.g:10588:3: ( ruleQualifiedName ) - // InternalApplicationConfiguration.g:10589:4: ruleQualifiedName + before(grammarAccess.getMtffAccess().getPackageCftModelCrossReference_1_0_0()); + // InternalApplicationConfiguration.g:10901:3: ( ruleQualifiedName ) + // InternalApplicationConfiguration.g:10902:4: ruleQualifiedName { - before(grammarAccess.getReliabiltiyFunctionAccess().getPackageCftModelQualifiedNameParserRuleCall_1_0_0_1()); + before(grammarAccess.getMtffAccess().getPackageCftModelQualifiedNameParserRuleCall_1_0_0_1()); pushFollow(FOLLOW_2); ruleQualifiedName(); state._fsp--; - after(grammarAccess.getReliabiltiyFunctionAccess().getPackageCftModelQualifiedNameParserRuleCall_1_0_0_1()); + after(grammarAccess.getMtffAccess().getPackageCftModelQualifiedNameParserRuleCall_1_0_0_1()); } - after(grammarAccess.getReliabiltiyFunctionAccess().getPackageCftModelCrossReference_1_0_0()); + after(grammarAccess.getMtffAccess().getPackageCftModelCrossReference_1_0_0()); } @@ -32447,33 +33387,33 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } return ; } - // $ANTLR end "rule__ReliabiltiyFunction__PackageAssignment_1_0" + // $ANTLR end "rule__Mtff__PackageAssignment_1_0" - // $ANTLR start "rule__ReliabiltiyFunction__TransformationAssignment_2" - // InternalApplicationConfiguration.g:10600:1: rule__ReliabiltiyFunction__TransformationAssignment_2 : ( ( RULE_ID ) ) ; - public final void rule__ReliabiltiyFunction__TransformationAssignment_2() throws RecognitionException { + // $ANTLR start "rule__Mtff__TransformationAssignment_2" + // InternalApplicationConfiguration.g:10913:1: rule__Mtff__TransformationAssignment_2 : ( ( RULE_ID ) ) ; + public final void rule__Mtff__TransformationAssignment_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:10604:1: ( ( ( RULE_ID ) ) ) - // InternalApplicationConfiguration.g:10605:2: ( ( RULE_ID ) ) + // InternalApplicationConfiguration.g:10917:1: ( ( ( RULE_ID ) ) ) + // InternalApplicationConfiguration.g:10918:2: ( ( RULE_ID ) ) { - // InternalApplicationConfiguration.g:10605:2: ( ( RULE_ID ) ) - // InternalApplicationConfiguration.g:10606:3: ( RULE_ID ) + // InternalApplicationConfiguration.g:10918:2: ( ( RULE_ID ) ) + // InternalApplicationConfiguration.g:10919:3: ( RULE_ID ) { - before(grammarAccess.getReliabiltiyFunctionAccess().getTransformationTransformationDefinitionCrossReference_2_0()); - // InternalApplicationConfiguration.g:10607:3: ( RULE_ID ) - // InternalApplicationConfiguration.g:10608:4: RULE_ID + before(grammarAccess.getMtffAccess().getTransformationTransformationDefinitionCrossReference_2_0()); + // InternalApplicationConfiguration.g:10920:3: ( RULE_ID ) + // InternalApplicationConfiguration.g:10921:4: RULE_ID { - before(grammarAccess.getReliabiltiyFunctionAccess().getTransformationTransformationDefinitionIDTerminalRuleCall_2_0_1()); + before(grammarAccess.getMtffAccess().getTransformationTransformationDefinitionIDTerminalRuleCall_2_0_1()); match(input,RULE_ID,FOLLOW_2); - after(grammarAccess.getReliabiltiyFunctionAccess().getTransformationTransformationDefinitionIDTerminalRuleCall_2_0_1()); + after(grammarAccess.getMtffAccess().getTransformationTransformationDefinitionIDTerminalRuleCall_2_0_1()); } - after(grammarAccess.getReliabiltiyFunctionAccess().getTransformationTransformationDefinitionCrossReference_2_0()); + after(grammarAccess.getMtffAccess().getTransformationTransformationDefinitionCrossReference_2_0()); } @@ -32492,21 +33432,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } return ; } - // $ANTLR end "rule__ReliabiltiyFunction__TransformationAssignment_2" + // $ANTLR end "rule__Mtff__TransformationAssignment_2" // $ANTLR start "rule__ObjectiveDeclaration__NameAssignment_1" - // InternalApplicationConfiguration.g:10619:1: rule__ObjectiveDeclaration__NameAssignment_1 : ( RULE_ID ) ; + // InternalApplicationConfiguration.g:10932:1: rule__ObjectiveDeclaration__NameAssignment_1 : ( RULE_ID ) ; public final void rule__ObjectiveDeclaration__NameAssignment_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:10623:1: ( ( RULE_ID ) ) - // InternalApplicationConfiguration.g:10624:2: ( RULE_ID ) + // InternalApplicationConfiguration.g:10936:1: ( ( RULE_ID ) ) + // InternalApplicationConfiguration.g:10937:2: ( RULE_ID ) { - // InternalApplicationConfiguration.g:10624:2: ( RULE_ID ) - // InternalApplicationConfiguration.g:10625:3: RULE_ID + // InternalApplicationConfiguration.g:10937:2: ( RULE_ID ) + // InternalApplicationConfiguration.g:10938:3: RULE_ID { before(grammarAccess.getObjectiveDeclarationAccess().getNameIDTerminalRuleCall_1_0()); match(input,RULE_ID,FOLLOW_2); @@ -32533,17 +33473,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ObjectiveDeclaration__SpecificationAssignment_2" - // InternalApplicationConfiguration.g:10634:1: rule__ObjectiveDeclaration__SpecificationAssignment_2 : ( ruleObjectiveSpecification ) ; + // InternalApplicationConfiguration.g:10947:1: rule__ObjectiveDeclaration__SpecificationAssignment_2 : ( ruleObjectiveSpecification ) ; public final void rule__ObjectiveDeclaration__SpecificationAssignment_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:10638:1: ( ( ruleObjectiveSpecification ) ) - // InternalApplicationConfiguration.g:10639:2: ( ruleObjectiveSpecification ) + // InternalApplicationConfiguration.g:10951:1: ( ( ruleObjectiveSpecification ) ) + // InternalApplicationConfiguration.g:10952:2: ( ruleObjectiveSpecification ) { - // InternalApplicationConfiguration.g:10639:2: ( ruleObjectiveSpecification ) - // InternalApplicationConfiguration.g:10640:3: ruleObjectiveSpecification + // InternalApplicationConfiguration.g:10952:2: ( ruleObjectiveSpecification ) + // InternalApplicationConfiguration.g:10953:3: ruleObjectiveSpecification { before(grammarAccess.getObjectiveDeclarationAccess().getSpecificationObjectiveSpecificationParserRuleCall_2_0()); pushFollow(FOLLOW_2); @@ -32574,21 +33514,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ObjectiveReference__ReferredAssignment" - // InternalApplicationConfiguration.g:10649:1: rule__ObjectiveReference__ReferredAssignment : ( ( RULE_ID ) ) ; + // InternalApplicationConfiguration.g:10962:1: rule__ObjectiveReference__ReferredAssignment : ( ( RULE_ID ) ) ; public final void rule__ObjectiveReference__ReferredAssignment() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:10653:1: ( ( ( RULE_ID ) ) ) - // InternalApplicationConfiguration.g:10654:2: ( ( RULE_ID ) ) + // InternalApplicationConfiguration.g:10966:1: ( ( ( RULE_ID ) ) ) + // InternalApplicationConfiguration.g:10967:2: ( ( RULE_ID ) ) { - // InternalApplicationConfiguration.g:10654:2: ( ( RULE_ID ) ) - // InternalApplicationConfiguration.g:10655:3: ( RULE_ID ) + // InternalApplicationConfiguration.g:10967:2: ( ( RULE_ID ) ) + // InternalApplicationConfiguration.g:10968:3: ( RULE_ID ) { before(grammarAccess.getObjectiveReferenceAccess().getReferredObjectiveDeclarationCrossReference_0()); - // InternalApplicationConfiguration.g:10656:3: ( RULE_ID ) - // InternalApplicationConfiguration.g:10657:4: RULE_ID + // InternalApplicationConfiguration.g:10969:3: ( RULE_ID ) + // InternalApplicationConfiguration.g:10970:4: RULE_ID { before(grammarAccess.getObjectiveReferenceAccess().getReferredObjectiveDeclarationIDTerminalRuleCall_0_1()); match(input,RULE_ID,FOLLOW_2); @@ -32619,17 +33559,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ConfigSpecification__EntriesAssignment_2_0" - // InternalApplicationConfiguration.g:10668:1: rule__ConfigSpecification__EntriesAssignment_2_0 : ( ruleConfigEntry ) ; + // InternalApplicationConfiguration.g:10981:1: rule__ConfigSpecification__EntriesAssignment_2_0 : ( ruleConfigEntry ) ; public final void rule__ConfigSpecification__EntriesAssignment_2_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:10672:1: ( ( ruleConfigEntry ) ) - // InternalApplicationConfiguration.g:10673:2: ( ruleConfigEntry ) + // InternalApplicationConfiguration.g:10985:1: ( ( ruleConfigEntry ) ) + // InternalApplicationConfiguration.g:10986:2: ( ruleConfigEntry ) { - // InternalApplicationConfiguration.g:10673:2: ( ruleConfigEntry ) - // InternalApplicationConfiguration.g:10674:3: ruleConfigEntry + // InternalApplicationConfiguration.g:10986:2: ( ruleConfigEntry ) + // InternalApplicationConfiguration.g:10987:3: ruleConfigEntry { before(grammarAccess.getConfigSpecificationAccess().getEntriesConfigEntryParserRuleCall_2_0_0()); pushFollow(FOLLOW_2); @@ -32660,17 +33600,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ConfigSpecification__EntriesAssignment_2_1_1" - // InternalApplicationConfiguration.g:10683:1: rule__ConfigSpecification__EntriesAssignment_2_1_1 : ( ruleConfigEntry ) ; + // InternalApplicationConfiguration.g:10996:1: rule__ConfigSpecification__EntriesAssignment_2_1_1 : ( ruleConfigEntry ) ; public final void rule__ConfigSpecification__EntriesAssignment_2_1_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:10687:1: ( ( ruleConfigEntry ) ) - // InternalApplicationConfiguration.g:10688:2: ( ruleConfigEntry ) + // InternalApplicationConfiguration.g:11000:1: ( ( ruleConfigEntry ) ) + // InternalApplicationConfiguration.g:11001:2: ( ruleConfigEntry ) { - // InternalApplicationConfiguration.g:10688:2: ( ruleConfigEntry ) - // InternalApplicationConfiguration.g:10689:3: ruleConfigEntry + // InternalApplicationConfiguration.g:11001:2: ( ruleConfigEntry ) + // InternalApplicationConfiguration.g:11002:3: ruleConfigEntry { before(grammarAccess.getConfigSpecificationAccess().getEntriesConfigEntryParserRuleCall_2_1_1_0()); pushFollow(FOLLOW_2); @@ -32701,17 +33641,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ConfigDeclaration__NameAssignment_1" - // InternalApplicationConfiguration.g:10698:1: rule__ConfigDeclaration__NameAssignment_1 : ( RULE_ID ) ; + // InternalApplicationConfiguration.g:11011:1: rule__ConfigDeclaration__NameAssignment_1 : ( RULE_ID ) ; public final void rule__ConfigDeclaration__NameAssignment_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:10702:1: ( ( RULE_ID ) ) - // InternalApplicationConfiguration.g:10703:2: ( RULE_ID ) + // InternalApplicationConfiguration.g:11015:1: ( ( RULE_ID ) ) + // InternalApplicationConfiguration.g:11016:2: ( RULE_ID ) { - // InternalApplicationConfiguration.g:10703:2: ( RULE_ID ) - // InternalApplicationConfiguration.g:10704:3: RULE_ID + // InternalApplicationConfiguration.g:11016:2: ( RULE_ID ) + // InternalApplicationConfiguration.g:11017:3: RULE_ID { before(grammarAccess.getConfigDeclarationAccess().getNameIDTerminalRuleCall_1_0()); match(input,RULE_ID,FOLLOW_2); @@ -32738,17 +33678,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ConfigDeclaration__SpecificationAssignment_2" - // InternalApplicationConfiguration.g:10713:1: rule__ConfigDeclaration__SpecificationAssignment_2 : ( ruleConfigSpecification ) ; + // InternalApplicationConfiguration.g:11026:1: rule__ConfigDeclaration__SpecificationAssignment_2 : ( ruleConfigSpecification ) ; public final void rule__ConfigDeclaration__SpecificationAssignment_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:10717:1: ( ( ruleConfigSpecification ) ) - // InternalApplicationConfiguration.g:10718:2: ( ruleConfigSpecification ) + // InternalApplicationConfiguration.g:11030:1: ( ( ruleConfigSpecification ) ) + // InternalApplicationConfiguration.g:11031:2: ( ruleConfigSpecification ) { - // InternalApplicationConfiguration.g:10718:2: ( ruleConfigSpecification ) - // InternalApplicationConfiguration.g:10719:3: ruleConfigSpecification + // InternalApplicationConfiguration.g:11031:2: ( ruleConfigSpecification ) + // InternalApplicationConfiguration.g:11032:3: ruleConfigSpecification { before(grammarAccess.getConfigDeclarationAccess().getSpecificationConfigSpecificationParserRuleCall_2_0()); pushFollow(FOLLOW_2); @@ -32779,17 +33719,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__DocumentationEntry__LevelAssignment_2" - // InternalApplicationConfiguration.g:10728:1: rule__DocumentationEntry__LevelAssignment_2 : ( ruleDocumentLevelSpecification ) ; + // InternalApplicationConfiguration.g:11041:1: rule__DocumentationEntry__LevelAssignment_2 : ( ruleDocumentLevelSpecification ) ; public final void rule__DocumentationEntry__LevelAssignment_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:10732:1: ( ( ruleDocumentLevelSpecification ) ) - // InternalApplicationConfiguration.g:10733:2: ( ruleDocumentLevelSpecification ) + // InternalApplicationConfiguration.g:11045:1: ( ( ruleDocumentLevelSpecification ) ) + // InternalApplicationConfiguration.g:11046:2: ( ruleDocumentLevelSpecification ) { - // InternalApplicationConfiguration.g:10733:2: ( ruleDocumentLevelSpecification ) - // InternalApplicationConfiguration.g:10734:3: ruleDocumentLevelSpecification + // InternalApplicationConfiguration.g:11046:2: ( ruleDocumentLevelSpecification ) + // InternalApplicationConfiguration.g:11047:3: ruleDocumentLevelSpecification { before(grammarAccess.getDocumentationEntryAccess().getLevelDocumentLevelSpecificationEnumRuleCall_2_0()); pushFollow(FOLLOW_2); @@ -32820,17 +33760,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__RuntimeEntry__MillisecLimitAssignment_2" - // InternalApplicationConfiguration.g:10743:1: rule__RuntimeEntry__MillisecLimitAssignment_2 : ( RULE_INT ) ; + // InternalApplicationConfiguration.g:11056:1: rule__RuntimeEntry__MillisecLimitAssignment_2 : ( RULE_INT ) ; public final void rule__RuntimeEntry__MillisecLimitAssignment_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:10747:1: ( ( RULE_INT ) ) - // InternalApplicationConfiguration.g:10748:2: ( RULE_INT ) + // InternalApplicationConfiguration.g:11060:1: ( ( RULE_INT ) ) + // InternalApplicationConfiguration.g:11061:2: ( RULE_INT ) { - // InternalApplicationConfiguration.g:10748:2: ( RULE_INT ) - // InternalApplicationConfiguration.g:10749:3: RULE_INT + // InternalApplicationConfiguration.g:11061:2: ( RULE_INT ) + // InternalApplicationConfiguration.g:11062:3: RULE_INT { before(grammarAccess.getRuntimeEntryAccess().getMillisecLimitINTTerminalRuleCall_2_0()); match(input,RULE_INT,FOLLOW_2); @@ -32857,17 +33797,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__MemoryEntry__MegabyteLimitAssignment_2" - // InternalApplicationConfiguration.g:10758:1: rule__MemoryEntry__MegabyteLimitAssignment_2 : ( RULE_INT ) ; + // InternalApplicationConfiguration.g:11071:1: rule__MemoryEntry__MegabyteLimitAssignment_2 : ( RULE_INT ) ; public final void rule__MemoryEntry__MegabyteLimitAssignment_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:10762:1: ( ( RULE_INT ) ) - // InternalApplicationConfiguration.g:10763:2: ( RULE_INT ) + // InternalApplicationConfiguration.g:11075:1: ( ( RULE_INT ) ) + // InternalApplicationConfiguration.g:11076:2: ( RULE_INT ) { - // InternalApplicationConfiguration.g:10763:2: ( RULE_INT ) - // InternalApplicationConfiguration.g:10764:3: RULE_INT + // InternalApplicationConfiguration.g:11076:2: ( RULE_INT ) + // InternalApplicationConfiguration.g:11077:3: RULE_INT { before(grammarAccess.getMemoryEntryAccess().getMegabyteLimitINTTerminalRuleCall_2_0()); match(input,RULE_INT,FOLLOW_2); @@ -32894,17 +33834,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__CustomEntry__KeyAssignment_0" - // InternalApplicationConfiguration.g:10773:1: rule__CustomEntry__KeyAssignment_0 : ( RULE_STRING ) ; + // InternalApplicationConfiguration.g:11086:1: rule__CustomEntry__KeyAssignment_0 : ( RULE_STRING ) ; public final void rule__CustomEntry__KeyAssignment_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:10777:1: ( ( RULE_STRING ) ) - // InternalApplicationConfiguration.g:10778:2: ( RULE_STRING ) + // InternalApplicationConfiguration.g:11090:1: ( ( RULE_STRING ) ) + // InternalApplicationConfiguration.g:11091:2: ( RULE_STRING ) { - // InternalApplicationConfiguration.g:10778:2: ( RULE_STRING ) - // InternalApplicationConfiguration.g:10779:3: RULE_STRING + // InternalApplicationConfiguration.g:11091:2: ( RULE_STRING ) + // InternalApplicationConfiguration.g:11092:3: RULE_STRING { before(grammarAccess.getCustomEntryAccess().getKeySTRINGTerminalRuleCall_0_0()); match(input,RULE_STRING,FOLLOW_2); @@ -32931,17 +33871,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__CustomEntry__ValueAssignment_2" - // InternalApplicationConfiguration.g:10788:1: rule__CustomEntry__ValueAssignment_2 : ( RULE_STRING ) ; + // InternalApplicationConfiguration.g:11101:1: rule__CustomEntry__ValueAssignment_2 : ( RULE_STRING ) ; public final void rule__CustomEntry__ValueAssignment_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:10792:1: ( ( RULE_STRING ) ) - // InternalApplicationConfiguration.g:10793:2: ( RULE_STRING ) + // InternalApplicationConfiguration.g:11105:1: ( ( RULE_STRING ) ) + // InternalApplicationConfiguration.g:11106:2: ( RULE_STRING ) { - // InternalApplicationConfiguration.g:10793:2: ( RULE_STRING ) - // InternalApplicationConfiguration.g:10794:3: RULE_STRING + // InternalApplicationConfiguration.g:11106:2: ( RULE_STRING ) + // InternalApplicationConfiguration.g:11107:3: RULE_STRING { before(grammarAccess.getCustomEntryAccess().getValueSTRINGTerminalRuleCall_2_0()); match(input,RULE_STRING,FOLLOW_2); @@ -32968,21 +33908,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ConfigReference__ConfigAssignment" - // InternalApplicationConfiguration.g:10803:1: rule__ConfigReference__ConfigAssignment : ( ( RULE_ID ) ) ; + // InternalApplicationConfiguration.g:11116:1: rule__ConfigReference__ConfigAssignment : ( ( RULE_ID ) ) ; public final void rule__ConfigReference__ConfigAssignment() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:10807:1: ( ( ( RULE_ID ) ) ) - // InternalApplicationConfiguration.g:10808:2: ( ( RULE_ID ) ) + // InternalApplicationConfiguration.g:11120:1: ( ( ( RULE_ID ) ) ) + // InternalApplicationConfiguration.g:11121:2: ( ( RULE_ID ) ) { - // InternalApplicationConfiguration.g:10808:2: ( ( RULE_ID ) ) - // InternalApplicationConfiguration.g:10809:3: ( RULE_ID ) + // InternalApplicationConfiguration.g:11121:2: ( ( RULE_ID ) ) + // InternalApplicationConfiguration.g:11122:3: ( RULE_ID ) { before(grammarAccess.getConfigReferenceAccess().getConfigConfigDeclarationCrossReference_0()); - // InternalApplicationConfiguration.g:10810:3: ( RULE_ID ) - // InternalApplicationConfiguration.g:10811:4: RULE_ID + // InternalApplicationConfiguration.g:11123:3: ( RULE_ID ) + // InternalApplicationConfiguration.g:11124:4: RULE_ID { before(grammarAccess.getConfigReferenceAccess().getConfigConfigDeclarationIDTerminalRuleCall_0_1()); match(input,RULE_ID,FOLLOW_2); @@ -33013,17 +33953,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ScopeSpecification__ScopesAssignment_2_0" - // InternalApplicationConfiguration.g:10822:1: rule__ScopeSpecification__ScopesAssignment_2_0 : ( ruleTypeScope ) ; + // InternalApplicationConfiguration.g:11135:1: rule__ScopeSpecification__ScopesAssignment_2_0 : ( ruleTypeScope ) ; public final void rule__ScopeSpecification__ScopesAssignment_2_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:10826:1: ( ( ruleTypeScope ) ) - // InternalApplicationConfiguration.g:10827:2: ( ruleTypeScope ) + // InternalApplicationConfiguration.g:11139:1: ( ( ruleTypeScope ) ) + // InternalApplicationConfiguration.g:11140:2: ( ruleTypeScope ) { - // InternalApplicationConfiguration.g:10827:2: ( ruleTypeScope ) - // InternalApplicationConfiguration.g:10828:3: ruleTypeScope + // InternalApplicationConfiguration.g:11140:2: ( ruleTypeScope ) + // InternalApplicationConfiguration.g:11141:3: ruleTypeScope { before(grammarAccess.getScopeSpecificationAccess().getScopesTypeScopeParserRuleCall_2_0_0()); pushFollow(FOLLOW_2); @@ -33054,17 +33994,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ScopeSpecification__ScopesAssignment_2_1_1" - // InternalApplicationConfiguration.g:10837:1: rule__ScopeSpecification__ScopesAssignment_2_1_1 : ( ruleTypeScope ) ; + // InternalApplicationConfiguration.g:11150:1: rule__ScopeSpecification__ScopesAssignment_2_1_1 : ( ruleTypeScope ) ; public final void rule__ScopeSpecification__ScopesAssignment_2_1_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:10841:1: ( ( ruleTypeScope ) ) - // InternalApplicationConfiguration.g:10842:2: ( ruleTypeScope ) + // InternalApplicationConfiguration.g:11154:1: ( ( ruleTypeScope ) ) + // InternalApplicationConfiguration.g:11155:2: ( ruleTypeScope ) { - // InternalApplicationConfiguration.g:10842:2: ( ruleTypeScope ) - // InternalApplicationConfiguration.g:10843:3: ruleTypeScope + // InternalApplicationConfiguration.g:11155:2: ( ruleTypeScope ) + // InternalApplicationConfiguration.g:11156:3: ruleTypeScope { before(grammarAccess.getScopeSpecificationAccess().getScopesTypeScopeParserRuleCall_2_1_1_0()); pushFollow(FOLLOW_2); @@ -33095,17 +34035,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ClassTypeScope__TypeAssignment_1" - // InternalApplicationConfiguration.g:10852:1: rule__ClassTypeScope__TypeAssignment_1 : ( ruleClassReference ) ; + // InternalApplicationConfiguration.g:11165:1: rule__ClassTypeScope__TypeAssignment_1 : ( ruleClassReference ) ; public final void rule__ClassTypeScope__TypeAssignment_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:10856:1: ( ( ruleClassReference ) ) - // InternalApplicationConfiguration.g:10857:2: ( ruleClassReference ) + // InternalApplicationConfiguration.g:11169:1: ( ( ruleClassReference ) ) + // InternalApplicationConfiguration.g:11170:2: ( ruleClassReference ) { - // InternalApplicationConfiguration.g:10857:2: ( ruleClassReference ) - // InternalApplicationConfiguration.g:10858:3: ruleClassReference + // InternalApplicationConfiguration.g:11170:2: ( ruleClassReference ) + // InternalApplicationConfiguration.g:11171:3: ruleClassReference { before(grammarAccess.getClassTypeScopeAccess().getTypeClassReferenceParserRuleCall_1_0()); pushFollow(FOLLOW_2); @@ -33136,24 +34076,24 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ClassTypeScope__SetsNewAssignment_2_0" - // InternalApplicationConfiguration.g:10867:1: rule__ClassTypeScope__SetsNewAssignment_2_0 : ( ( '+=' ) ) ; + // InternalApplicationConfiguration.g:11180:1: rule__ClassTypeScope__SetsNewAssignment_2_0 : ( ( '+=' ) ) ; public final void rule__ClassTypeScope__SetsNewAssignment_2_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:10871:1: ( ( ( '+=' ) ) ) - // InternalApplicationConfiguration.g:10872:2: ( ( '+=' ) ) + // InternalApplicationConfiguration.g:11184:1: ( ( ( '+=' ) ) ) + // InternalApplicationConfiguration.g:11185:2: ( ( '+=' ) ) { - // InternalApplicationConfiguration.g:10872:2: ( ( '+=' ) ) - // InternalApplicationConfiguration.g:10873:3: ( '+=' ) + // InternalApplicationConfiguration.g:11185:2: ( ( '+=' ) ) + // InternalApplicationConfiguration.g:11186:3: ( '+=' ) { before(grammarAccess.getClassTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); - // InternalApplicationConfiguration.g:10874:3: ( '+=' ) - // InternalApplicationConfiguration.g:10875:4: '+=' + // InternalApplicationConfiguration.g:11187:3: ( '+=' ) + // InternalApplicationConfiguration.g:11188:4: '+=' { before(grammarAccess.getClassTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); - match(input,60,FOLLOW_2); + match(input,62,FOLLOW_2); after(grammarAccess.getClassTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); } @@ -33181,21 +34121,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ClassTypeScope__SetsSumAssignment_2_1" - // InternalApplicationConfiguration.g:10886:1: rule__ClassTypeScope__SetsSumAssignment_2_1 : ( ( '=' ) ) ; + // InternalApplicationConfiguration.g:11199:1: rule__ClassTypeScope__SetsSumAssignment_2_1 : ( ( '=' ) ) ; public final void rule__ClassTypeScope__SetsSumAssignment_2_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:10890:1: ( ( ( '=' ) ) ) - // InternalApplicationConfiguration.g:10891:2: ( ( '=' ) ) + // InternalApplicationConfiguration.g:11203:1: ( ( ( '=' ) ) ) + // InternalApplicationConfiguration.g:11204:2: ( ( '=' ) ) { - // InternalApplicationConfiguration.g:10891:2: ( ( '=' ) ) - // InternalApplicationConfiguration.g:10892:3: ( '=' ) + // InternalApplicationConfiguration.g:11204:2: ( ( '=' ) ) + // InternalApplicationConfiguration.g:11205:3: ( '=' ) { before(grammarAccess.getClassTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); - // InternalApplicationConfiguration.g:10893:3: ( '=' ) - // InternalApplicationConfiguration.g:10894:4: '=' + // InternalApplicationConfiguration.g:11206:3: ( '=' ) + // InternalApplicationConfiguration.g:11207:4: '=' { before(grammarAccess.getClassTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); match(input,28,FOLLOW_2); @@ -33226,17 +34166,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ClassTypeScope__NumberAssignment_3_0" - // InternalApplicationConfiguration.g:10905:1: rule__ClassTypeScope__NumberAssignment_3_0 : ( ruleExactNumber ) ; + // InternalApplicationConfiguration.g:11218:1: rule__ClassTypeScope__NumberAssignment_3_0 : ( ruleExactNumber ) ; public final void rule__ClassTypeScope__NumberAssignment_3_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:10909:1: ( ( ruleExactNumber ) ) - // InternalApplicationConfiguration.g:10910:2: ( ruleExactNumber ) + // InternalApplicationConfiguration.g:11222:1: ( ( ruleExactNumber ) ) + // InternalApplicationConfiguration.g:11223:2: ( ruleExactNumber ) { - // InternalApplicationConfiguration.g:10910:2: ( ruleExactNumber ) - // InternalApplicationConfiguration.g:10911:3: ruleExactNumber + // InternalApplicationConfiguration.g:11223:2: ( ruleExactNumber ) + // InternalApplicationConfiguration.g:11224:3: ruleExactNumber { before(grammarAccess.getClassTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0()); pushFollow(FOLLOW_2); @@ -33267,17 +34207,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ClassTypeScope__NumberAssignment_3_1" - // InternalApplicationConfiguration.g:10920:1: rule__ClassTypeScope__NumberAssignment_3_1 : ( ruleIntervallNumber ) ; + // InternalApplicationConfiguration.g:11233:1: rule__ClassTypeScope__NumberAssignment_3_1 : ( ruleIntervallNumber ) ; public final void rule__ClassTypeScope__NumberAssignment_3_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:10924:1: ( ( ruleIntervallNumber ) ) - // InternalApplicationConfiguration.g:10925:2: ( ruleIntervallNumber ) + // InternalApplicationConfiguration.g:11237:1: ( ( ruleIntervallNumber ) ) + // InternalApplicationConfiguration.g:11238:2: ( ruleIntervallNumber ) { - // InternalApplicationConfiguration.g:10925:2: ( ruleIntervallNumber ) - // InternalApplicationConfiguration.g:10926:3: ruleIntervallNumber + // InternalApplicationConfiguration.g:11238:2: ( ruleIntervallNumber ) + // InternalApplicationConfiguration.g:11239:3: ruleIntervallNumber { before(grammarAccess.getClassTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0()); pushFollow(FOLLOW_2); @@ -33308,17 +34248,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ObjectTypeScope__TypeAssignment_1" - // InternalApplicationConfiguration.g:10935:1: rule__ObjectTypeScope__TypeAssignment_1 : ( ruleObjectReference ) ; + // InternalApplicationConfiguration.g:11248:1: rule__ObjectTypeScope__TypeAssignment_1 : ( ruleObjectReference ) ; public final void rule__ObjectTypeScope__TypeAssignment_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:10939:1: ( ( ruleObjectReference ) ) - // InternalApplicationConfiguration.g:10940:2: ( ruleObjectReference ) + // InternalApplicationConfiguration.g:11252:1: ( ( ruleObjectReference ) ) + // InternalApplicationConfiguration.g:11253:2: ( ruleObjectReference ) { - // InternalApplicationConfiguration.g:10940:2: ( ruleObjectReference ) - // InternalApplicationConfiguration.g:10941:3: ruleObjectReference + // InternalApplicationConfiguration.g:11253:2: ( ruleObjectReference ) + // InternalApplicationConfiguration.g:11254:3: ruleObjectReference { before(grammarAccess.getObjectTypeScopeAccess().getTypeObjectReferenceParserRuleCall_1_0()); pushFollow(FOLLOW_2); @@ -33349,24 +34289,24 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ObjectTypeScope__SetsNewAssignment_2_0" - // InternalApplicationConfiguration.g:10950:1: rule__ObjectTypeScope__SetsNewAssignment_2_0 : ( ( '+=' ) ) ; + // InternalApplicationConfiguration.g:11263:1: rule__ObjectTypeScope__SetsNewAssignment_2_0 : ( ( '+=' ) ) ; public final void rule__ObjectTypeScope__SetsNewAssignment_2_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:10954:1: ( ( ( '+=' ) ) ) - // InternalApplicationConfiguration.g:10955:2: ( ( '+=' ) ) + // InternalApplicationConfiguration.g:11267:1: ( ( ( '+=' ) ) ) + // InternalApplicationConfiguration.g:11268:2: ( ( '+=' ) ) { - // InternalApplicationConfiguration.g:10955:2: ( ( '+=' ) ) - // InternalApplicationConfiguration.g:10956:3: ( '+=' ) + // InternalApplicationConfiguration.g:11268:2: ( ( '+=' ) ) + // InternalApplicationConfiguration.g:11269:3: ( '+=' ) { before(grammarAccess.getObjectTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); - // InternalApplicationConfiguration.g:10957:3: ( '+=' ) - // InternalApplicationConfiguration.g:10958:4: '+=' + // InternalApplicationConfiguration.g:11270:3: ( '+=' ) + // InternalApplicationConfiguration.g:11271:4: '+=' { before(grammarAccess.getObjectTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); - match(input,60,FOLLOW_2); + match(input,62,FOLLOW_2); after(grammarAccess.getObjectTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); } @@ -33394,21 +34334,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ObjectTypeScope__SetsSumAssignment_2_1" - // InternalApplicationConfiguration.g:10969:1: rule__ObjectTypeScope__SetsSumAssignment_2_1 : ( ( '=' ) ) ; + // InternalApplicationConfiguration.g:11282:1: rule__ObjectTypeScope__SetsSumAssignment_2_1 : ( ( '=' ) ) ; public final void rule__ObjectTypeScope__SetsSumAssignment_2_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:10973:1: ( ( ( '=' ) ) ) - // InternalApplicationConfiguration.g:10974:2: ( ( '=' ) ) + // InternalApplicationConfiguration.g:11286:1: ( ( ( '=' ) ) ) + // InternalApplicationConfiguration.g:11287:2: ( ( '=' ) ) { - // InternalApplicationConfiguration.g:10974:2: ( ( '=' ) ) - // InternalApplicationConfiguration.g:10975:3: ( '=' ) + // InternalApplicationConfiguration.g:11287:2: ( ( '=' ) ) + // InternalApplicationConfiguration.g:11288:3: ( '=' ) { before(grammarAccess.getObjectTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); - // InternalApplicationConfiguration.g:10976:3: ( '=' ) - // InternalApplicationConfiguration.g:10977:4: '=' + // InternalApplicationConfiguration.g:11289:3: ( '=' ) + // InternalApplicationConfiguration.g:11290:4: '=' { before(grammarAccess.getObjectTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); match(input,28,FOLLOW_2); @@ -33439,17 +34379,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ObjectTypeScope__NumberAssignment_3_0" - // InternalApplicationConfiguration.g:10988:1: rule__ObjectTypeScope__NumberAssignment_3_0 : ( ruleExactNumber ) ; + // InternalApplicationConfiguration.g:11301:1: rule__ObjectTypeScope__NumberAssignment_3_0 : ( ruleExactNumber ) ; public final void rule__ObjectTypeScope__NumberAssignment_3_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:10992:1: ( ( ruleExactNumber ) ) - // InternalApplicationConfiguration.g:10993:2: ( ruleExactNumber ) + // InternalApplicationConfiguration.g:11305:1: ( ( ruleExactNumber ) ) + // InternalApplicationConfiguration.g:11306:2: ( ruleExactNumber ) { - // InternalApplicationConfiguration.g:10993:2: ( ruleExactNumber ) - // InternalApplicationConfiguration.g:10994:3: ruleExactNumber + // InternalApplicationConfiguration.g:11306:2: ( ruleExactNumber ) + // InternalApplicationConfiguration.g:11307:3: ruleExactNumber { before(grammarAccess.getObjectTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0()); pushFollow(FOLLOW_2); @@ -33480,17 +34420,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ObjectTypeScope__NumberAssignment_3_1" - // InternalApplicationConfiguration.g:11003:1: rule__ObjectTypeScope__NumberAssignment_3_1 : ( ruleIntervallNumber ) ; + // InternalApplicationConfiguration.g:11316:1: rule__ObjectTypeScope__NumberAssignment_3_1 : ( ruleIntervallNumber ) ; public final void rule__ObjectTypeScope__NumberAssignment_3_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:11007:1: ( ( ruleIntervallNumber ) ) - // InternalApplicationConfiguration.g:11008:2: ( ruleIntervallNumber ) + // InternalApplicationConfiguration.g:11320:1: ( ( ruleIntervallNumber ) ) + // InternalApplicationConfiguration.g:11321:2: ( ruleIntervallNumber ) { - // InternalApplicationConfiguration.g:11008:2: ( ruleIntervallNumber ) - // InternalApplicationConfiguration.g:11009:3: ruleIntervallNumber + // InternalApplicationConfiguration.g:11321:2: ( ruleIntervallNumber ) + // InternalApplicationConfiguration.g:11322:3: ruleIntervallNumber { before(grammarAccess.getObjectTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0()); pushFollow(FOLLOW_2); @@ -33521,17 +34461,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__IntegerTypeScope__TypeAssignment_1" - // InternalApplicationConfiguration.g:11018:1: rule__IntegerTypeScope__TypeAssignment_1 : ( ruleIntegerReference ) ; + // InternalApplicationConfiguration.g:11331:1: rule__IntegerTypeScope__TypeAssignment_1 : ( ruleIntegerReference ) ; public final void rule__IntegerTypeScope__TypeAssignment_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:11022:1: ( ( ruleIntegerReference ) ) - // InternalApplicationConfiguration.g:11023:2: ( ruleIntegerReference ) + // InternalApplicationConfiguration.g:11335:1: ( ( ruleIntegerReference ) ) + // InternalApplicationConfiguration.g:11336:2: ( ruleIntegerReference ) { - // InternalApplicationConfiguration.g:11023:2: ( ruleIntegerReference ) - // InternalApplicationConfiguration.g:11024:3: ruleIntegerReference + // InternalApplicationConfiguration.g:11336:2: ( ruleIntegerReference ) + // InternalApplicationConfiguration.g:11337:3: ruleIntegerReference { before(grammarAccess.getIntegerTypeScopeAccess().getTypeIntegerReferenceParserRuleCall_1_0()); pushFollow(FOLLOW_2); @@ -33562,24 +34502,24 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__IntegerTypeScope__SetsNewAssignment_2_0" - // InternalApplicationConfiguration.g:11033:1: rule__IntegerTypeScope__SetsNewAssignment_2_0 : ( ( '+=' ) ) ; + // InternalApplicationConfiguration.g:11346:1: rule__IntegerTypeScope__SetsNewAssignment_2_0 : ( ( '+=' ) ) ; public final void rule__IntegerTypeScope__SetsNewAssignment_2_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:11037:1: ( ( ( '+=' ) ) ) - // InternalApplicationConfiguration.g:11038:2: ( ( '+=' ) ) + // InternalApplicationConfiguration.g:11350:1: ( ( ( '+=' ) ) ) + // InternalApplicationConfiguration.g:11351:2: ( ( '+=' ) ) { - // InternalApplicationConfiguration.g:11038:2: ( ( '+=' ) ) - // InternalApplicationConfiguration.g:11039:3: ( '+=' ) + // InternalApplicationConfiguration.g:11351:2: ( ( '+=' ) ) + // InternalApplicationConfiguration.g:11352:3: ( '+=' ) { before(grammarAccess.getIntegerTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); - // InternalApplicationConfiguration.g:11040:3: ( '+=' ) - // InternalApplicationConfiguration.g:11041:4: '+=' + // InternalApplicationConfiguration.g:11353:3: ( '+=' ) + // InternalApplicationConfiguration.g:11354:4: '+=' { before(grammarAccess.getIntegerTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); - match(input,60,FOLLOW_2); + match(input,62,FOLLOW_2); after(grammarAccess.getIntegerTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); } @@ -33607,21 +34547,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__IntegerTypeScope__SetsSumAssignment_2_1" - // InternalApplicationConfiguration.g:11052:1: rule__IntegerTypeScope__SetsSumAssignment_2_1 : ( ( '=' ) ) ; + // InternalApplicationConfiguration.g:11365:1: rule__IntegerTypeScope__SetsSumAssignment_2_1 : ( ( '=' ) ) ; public final void rule__IntegerTypeScope__SetsSumAssignment_2_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:11056:1: ( ( ( '=' ) ) ) - // InternalApplicationConfiguration.g:11057:2: ( ( '=' ) ) + // InternalApplicationConfiguration.g:11369:1: ( ( ( '=' ) ) ) + // InternalApplicationConfiguration.g:11370:2: ( ( '=' ) ) { - // InternalApplicationConfiguration.g:11057:2: ( ( '=' ) ) - // InternalApplicationConfiguration.g:11058:3: ( '=' ) + // InternalApplicationConfiguration.g:11370:2: ( ( '=' ) ) + // InternalApplicationConfiguration.g:11371:3: ( '=' ) { before(grammarAccess.getIntegerTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); - // InternalApplicationConfiguration.g:11059:3: ( '=' ) - // InternalApplicationConfiguration.g:11060:4: '=' + // InternalApplicationConfiguration.g:11372:3: ( '=' ) + // InternalApplicationConfiguration.g:11373:4: '=' { before(grammarAccess.getIntegerTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); match(input,28,FOLLOW_2); @@ -33652,17 +34592,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__IntegerTypeScope__NumberAssignment_3_0" - // InternalApplicationConfiguration.g:11071:1: rule__IntegerTypeScope__NumberAssignment_3_0 : ( ruleExactNumber ) ; + // InternalApplicationConfiguration.g:11384:1: rule__IntegerTypeScope__NumberAssignment_3_0 : ( ruleExactNumber ) ; public final void rule__IntegerTypeScope__NumberAssignment_3_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:11075:1: ( ( ruleExactNumber ) ) - // InternalApplicationConfiguration.g:11076:2: ( ruleExactNumber ) + // InternalApplicationConfiguration.g:11388:1: ( ( ruleExactNumber ) ) + // InternalApplicationConfiguration.g:11389:2: ( ruleExactNumber ) { - // InternalApplicationConfiguration.g:11076:2: ( ruleExactNumber ) - // InternalApplicationConfiguration.g:11077:3: ruleExactNumber + // InternalApplicationConfiguration.g:11389:2: ( ruleExactNumber ) + // InternalApplicationConfiguration.g:11390:3: ruleExactNumber { before(grammarAccess.getIntegerTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0()); pushFollow(FOLLOW_2); @@ -33693,17 +34633,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__IntegerTypeScope__NumberAssignment_3_1" - // InternalApplicationConfiguration.g:11086:1: rule__IntegerTypeScope__NumberAssignment_3_1 : ( ruleIntervallNumber ) ; + // InternalApplicationConfiguration.g:11399:1: rule__IntegerTypeScope__NumberAssignment_3_1 : ( ruleIntervallNumber ) ; public final void rule__IntegerTypeScope__NumberAssignment_3_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:11090:1: ( ( ruleIntervallNumber ) ) - // InternalApplicationConfiguration.g:11091:2: ( ruleIntervallNumber ) + // InternalApplicationConfiguration.g:11403:1: ( ( ruleIntervallNumber ) ) + // InternalApplicationConfiguration.g:11404:2: ( ruleIntervallNumber ) { - // InternalApplicationConfiguration.g:11091:2: ( ruleIntervallNumber ) - // InternalApplicationConfiguration.g:11092:3: ruleIntervallNumber + // InternalApplicationConfiguration.g:11404:2: ( ruleIntervallNumber ) + // InternalApplicationConfiguration.g:11405:3: ruleIntervallNumber { before(grammarAccess.getIntegerTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0()); pushFollow(FOLLOW_2); @@ -33734,17 +34674,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__IntegerTypeScope__NumberAssignment_3_2" - // InternalApplicationConfiguration.g:11101:1: rule__IntegerTypeScope__NumberAssignment_3_2 : ( ruleIntEnumberation ) ; + // InternalApplicationConfiguration.g:11414:1: rule__IntegerTypeScope__NumberAssignment_3_2 : ( ruleIntEnumberation ) ; public final void rule__IntegerTypeScope__NumberAssignment_3_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:11105:1: ( ( ruleIntEnumberation ) ) - // InternalApplicationConfiguration.g:11106:2: ( ruleIntEnumberation ) + // InternalApplicationConfiguration.g:11418:1: ( ( ruleIntEnumberation ) ) + // InternalApplicationConfiguration.g:11419:2: ( ruleIntEnumberation ) { - // InternalApplicationConfiguration.g:11106:2: ( ruleIntEnumberation ) - // InternalApplicationConfiguration.g:11107:3: ruleIntEnumberation + // InternalApplicationConfiguration.g:11419:2: ( ruleIntEnumberation ) + // InternalApplicationConfiguration.g:11420:3: ruleIntEnumberation { before(grammarAccess.getIntegerTypeScopeAccess().getNumberIntEnumberationParserRuleCall_3_2_0()); pushFollow(FOLLOW_2); @@ -33775,17 +34715,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__RealTypeScope__TypeAssignment_1" - // InternalApplicationConfiguration.g:11116:1: rule__RealTypeScope__TypeAssignment_1 : ( ruleRealReference ) ; + // InternalApplicationConfiguration.g:11429:1: rule__RealTypeScope__TypeAssignment_1 : ( ruleRealReference ) ; public final void rule__RealTypeScope__TypeAssignment_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:11120:1: ( ( ruleRealReference ) ) - // InternalApplicationConfiguration.g:11121:2: ( ruleRealReference ) + // InternalApplicationConfiguration.g:11433:1: ( ( ruleRealReference ) ) + // InternalApplicationConfiguration.g:11434:2: ( ruleRealReference ) { - // InternalApplicationConfiguration.g:11121:2: ( ruleRealReference ) - // InternalApplicationConfiguration.g:11122:3: ruleRealReference + // InternalApplicationConfiguration.g:11434:2: ( ruleRealReference ) + // InternalApplicationConfiguration.g:11435:3: ruleRealReference { before(grammarAccess.getRealTypeScopeAccess().getTypeRealReferenceParserRuleCall_1_0()); pushFollow(FOLLOW_2); @@ -33816,24 +34756,24 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__RealTypeScope__SetsNewAssignment_2_0" - // InternalApplicationConfiguration.g:11131:1: rule__RealTypeScope__SetsNewAssignment_2_0 : ( ( '+=' ) ) ; + // InternalApplicationConfiguration.g:11444:1: rule__RealTypeScope__SetsNewAssignment_2_0 : ( ( '+=' ) ) ; public final void rule__RealTypeScope__SetsNewAssignment_2_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:11135:1: ( ( ( '+=' ) ) ) - // InternalApplicationConfiguration.g:11136:2: ( ( '+=' ) ) + // InternalApplicationConfiguration.g:11448:1: ( ( ( '+=' ) ) ) + // InternalApplicationConfiguration.g:11449:2: ( ( '+=' ) ) { - // InternalApplicationConfiguration.g:11136:2: ( ( '+=' ) ) - // InternalApplicationConfiguration.g:11137:3: ( '+=' ) + // InternalApplicationConfiguration.g:11449:2: ( ( '+=' ) ) + // InternalApplicationConfiguration.g:11450:3: ( '+=' ) { before(grammarAccess.getRealTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); - // InternalApplicationConfiguration.g:11138:3: ( '+=' ) - // InternalApplicationConfiguration.g:11139:4: '+=' + // InternalApplicationConfiguration.g:11451:3: ( '+=' ) + // InternalApplicationConfiguration.g:11452:4: '+=' { before(grammarAccess.getRealTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); - match(input,60,FOLLOW_2); + match(input,62,FOLLOW_2); after(grammarAccess.getRealTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); } @@ -33861,21 +34801,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__RealTypeScope__SetsSumAssignment_2_1" - // InternalApplicationConfiguration.g:11150:1: rule__RealTypeScope__SetsSumAssignment_2_1 : ( ( '=' ) ) ; + // InternalApplicationConfiguration.g:11463:1: rule__RealTypeScope__SetsSumAssignment_2_1 : ( ( '=' ) ) ; public final void rule__RealTypeScope__SetsSumAssignment_2_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:11154:1: ( ( ( '=' ) ) ) - // InternalApplicationConfiguration.g:11155:2: ( ( '=' ) ) + // InternalApplicationConfiguration.g:11467:1: ( ( ( '=' ) ) ) + // InternalApplicationConfiguration.g:11468:2: ( ( '=' ) ) { - // InternalApplicationConfiguration.g:11155:2: ( ( '=' ) ) - // InternalApplicationConfiguration.g:11156:3: ( '=' ) + // InternalApplicationConfiguration.g:11468:2: ( ( '=' ) ) + // InternalApplicationConfiguration.g:11469:3: ( '=' ) { before(grammarAccess.getRealTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); - // InternalApplicationConfiguration.g:11157:3: ( '=' ) - // InternalApplicationConfiguration.g:11158:4: '=' + // InternalApplicationConfiguration.g:11470:3: ( '=' ) + // InternalApplicationConfiguration.g:11471:4: '=' { before(grammarAccess.getRealTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); match(input,28,FOLLOW_2); @@ -33906,17 +34846,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__RealTypeScope__NumberAssignment_3_0" - // InternalApplicationConfiguration.g:11169:1: rule__RealTypeScope__NumberAssignment_3_0 : ( ruleExactNumber ) ; + // InternalApplicationConfiguration.g:11482:1: rule__RealTypeScope__NumberAssignment_3_0 : ( ruleExactNumber ) ; public final void rule__RealTypeScope__NumberAssignment_3_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:11173:1: ( ( ruleExactNumber ) ) - // InternalApplicationConfiguration.g:11174:2: ( ruleExactNumber ) + // InternalApplicationConfiguration.g:11486:1: ( ( ruleExactNumber ) ) + // InternalApplicationConfiguration.g:11487:2: ( ruleExactNumber ) { - // InternalApplicationConfiguration.g:11174:2: ( ruleExactNumber ) - // InternalApplicationConfiguration.g:11175:3: ruleExactNumber + // InternalApplicationConfiguration.g:11487:2: ( ruleExactNumber ) + // InternalApplicationConfiguration.g:11488:3: ruleExactNumber { before(grammarAccess.getRealTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0()); pushFollow(FOLLOW_2); @@ -33947,17 +34887,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__RealTypeScope__NumberAssignment_3_1" - // InternalApplicationConfiguration.g:11184:1: rule__RealTypeScope__NumberAssignment_3_1 : ( ruleIntervallNumber ) ; + // InternalApplicationConfiguration.g:11497:1: rule__RealTypeScope__NumberAssignment_3_1 : ( ruleIntervallNumber ) ; public final void rule__RealTypeScope__NumberAssignment_3_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:11188:1: ( ( ruleIntervallNumber ) ) - // InternalApplicationConfiguration.g:11189:2: ( ruleIntervallNumber ) + // InternalApplicationConfiguration.g:11501:1: ( ( ruleIntervallNumber ) ) + // InternalApplicationConfiguration.g:11502:2: ( ruleIntervallNumber ) { - // InternalApplicationConfiguration.g:11189:2: ( ruleIntervallNumber ) - // InternalApplicationConfiguration.g:11190:3: ruleIntervallNumber + // InternalApplicationConfiguration.g:11502:2: ( ruleIntervallNumber ) + // InternalApplicationConfiguration.g:11503:3: ruleIntervallNumber { before(grammarAccess.getRealTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0()); pushFollow(FOLLOW_2); @@ -33988,17 +34928,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__RealTypeScope__NumberAssignment_3_2" - // InternalApplicationConfiguration.g:11199:1: rule__RealTypeScope__NumberAssignment_3_2 : ( ruleRealEnumeration ) ; + // InternalApplicationConfiguration.g:11512:1: rule__RealTypeScope__NumberAssignment_3_2 : ( ruleRealEnumeration ) ; public final void rule__RealTypeScope__NumberAssignment_3_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:11203:1: ( ( ruleRealEnumeration ) ) - // InternalApplicationConfiguration.g:11204:2: ( ruleRealEnumeration ) + // InternalApplicationConfiguration.g:11516:1: ( ( ruleRealEnumeration ) ) + // InternalApplicationConfiguration.g:11517:2: ( ruleRealEnumeration ) { - // InternalApplicationConfiguration.g:11204:2: ( ruleRealEnumeration ) - // InternalApplicationConfiguration.g:11205:3: ruleRealEnumeration + // InternalApplicationConfiguration.g:11517:2: ( ruleRealEnumeration ) + // InternalApplicationConfiguration.g:11518:3: ruleRealEnumeration { before(grammarAccess.getRealTypeScopeAccess().getNumberRealEnumerationParserRuleCall_3_2_0()); pushFollow(FOLLOW_2); @@ -34029,17 +34969,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__StringTypeScope__TypeAssignment_1" - // InternalApplicationConfiguration.g:11214:1: rule__StringTypeScope__TypeAssignment_1 : ( ruleStringReference ) ; + // InternalApplicationConfiguration.g:11527:1: rule__StringTypeScope__TypeAssignment_1 : ( ruleStringReference ) ; public final void rule__StringTypeScope__TypeAssignment_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:11218:1: ( ( ruleStringReference ) ) - // InternalApplicationConfiguration.g:11219:2: ( ruleStringReference ) + // InternalApplicationConfiguration.g:11531:1: ( ( ruleStringReference ) ) + // InternalApplicationConfiguration.g:11532:2: ( ruleStringReference ) { - // InternalApplicationConfiguration.g:11219:2: ( ruleStringReference ) - // InternalApplicationConfiguration.g:11220:3: ruleStringReference + // InternalApplicationConfiguration.g:11532:2: ( ruleStringReference ) + // InternalApplicationConfiguration.g:11533:3: ruleStringReference { before(grammarAccess.getStringTypeScopeAccess().getTypeStringReferenceParserRuleCall_1_0()); pushFollow(FOLLOW_2); @@ -34070,24 +35010,24 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__StringTypeScope__SetsNewAssignment_2_0" - // InternalApplicationConfiguration.g:11229:1: rule__StringTypeScope__SetsNewAssignment_2_0 : ( ( '+=' ) ) ; + // InternalApplicationConfiguration.g:11542:1: rule__StringTypeScope__SetsNewAssignment_2_0 : ( ( '+=' ) ) ; public final void rule__StringTypeScope__SetsNewAssignment_2_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:11233:1: ( ( ( '+=' ) ) ) - // InternalApplicationConfiguration.g:11234:2: ( ( '+=' ) ) + // InternalApplicationConfiguration.g:11546:1: ( ( ( '+=' ) ) ) + // InternalApplicationConfiguration.g:11547:2: ( ( '+=' ) ) { - // InternalApplicationConfiguration.g:11234:2: ( ( '+=' ) ) - // InternalApplicationConfiguration.g:11235:3: ( '+=' ) + // InternalApplicationConfiguration.g:11547:2: ( ( '+=' ) ) + // InternalApplicationConfiguration.g:11548:3: ( '+=' ) { before(grammarAccess.getStringTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); - // InternalApplicationConfiguration.g:11236:3: ( '+=' ) - // InternalApplicationConfiguration.g:11237:4: '+=' + // InternalApplicationConfiguration.g:11549:3: ( '+=' ) + // InternalApplicationConfiguration.g:11550:4: '+=' { before(grammarAccess.getStringTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); - match(input,60,FOLLOW_2); + match(input,62,FOLLOW_2); after(grammarAccess.getStringTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); } @@ -34115,21 +35055,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__StringTypeScope__SetsSumAssignment_2_1" - // InternalApplicationConfiguration.g:11248:1: rule__StringTypeScope__SetsSumAssignment_2_1 : ( ( '=' ) ) ; + // InternalApplicationConfiguration.g:11561:1: rule__StringTypeScope__SetsSumAssignment_2_1 : ( ( '=' ) ) ; public final void rule__StringTypeScope__SetsSumAssignment_2_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:11252:1: ( ( ( '=' ) ) ) - // InternalApplicationConfiguration.g:11253:2: ( ( '=' ) ) + // InternalApplicationConfiguration.g:11565:1: ( ( ( '=' ) ) ) + // InternalApplicationConfiguration.g:11566:2: ( ( '=' ) ) { - // InternalApplicationConfiguration.g:11253:2: ( ( '=' ) ) - // InternalApplicationConfiguration.g:11254:3: ( '=' ) + // InternalApplicationConfiguration.g:11566:2: ( ( '=' ) ) + // InternalApplicationConfiguration.g:11567:3: ( '=' ) { before(grammarAccess.getStringTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); - // InternalApplicationConfiguration.g:11255:3: ( '=' ) - // InternalApplicationConfiguration.g:11256:4: '=' + // InternalApplicationConfiguration.g:11568:3: ( '=' ) + // InternalApplicationConfiguration.g:11569:4: '=' { before(grammarAccess.getStringTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); match(input,28,FOLLOW_2); @@ -34160,17 +35100,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__StringTypeScope__NumberAssignment_3_0" - // InternalApplicationConfiguration.g:11267:1: rule__StringTypeScope__NumberAssignment_3_0 : ( ruleExactNumber ) ; + // InternalApplicationConfiguration.g:11580:1: rule__StringTypeScope__NumberAssignment_3_0 : ( ruleExactNumber ) ; public final void rule__StringTypeScope__NumberAssignment_3_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:11271:1: ( ( ruleExactNumber ) ) - // InternalApplicationConfiguration.g:11272:2: ( ruleExactNumber ) + // InternalApplicationConfiguration.g:11584:1: ( ( ruleExactNumber ) ) + // InternalApplicationConfiguration.g:11585:2: ( ruleExactNumber ) { - // InternalApplicationConfiguration.g:11272:2: ( ruleExactNumber ) - // InternalApplicationConfiguration.g:11273:3: ruleExactNumber + // InternalApplicationConfiguration.g:11585:2: ( ruleExactNumber ) + // InternalApplicationConfiguration.g:11586:3: ruleExactNumber { before(grammarAccess.getStringTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0()); pushFollow(FOLLOW_2); @@ -34201,17 +35141,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__StringTypeScope__NumberAssignment_3_1" - // InternalApplicationConfiguration.g:11282:1: rule__StringTypeScope__NumberAssignment_3_1 : ( ruleIntervallNumber ) ; + // InternalApplicationConfiguration.g:11595:1: rule__StringTypeScope__NumberAssignment_3_1 : ( ruleIntervallNumber ) ; public final void rule__StringTypeScope__NumberAssignment_3_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:11286:1: ( ( ruleIntervallNumber ) ) - // InternalApplicationConfiguration.g:11287:2: ( ruleIntervallNumber ) + // InternalApplicationConfiguration.g:11599:1: ( ( ruleIntervallNumber ) ) + // InternalApplicationConfiguration.g:11600:2: ( ruleIntervallNumber ) { - // InternalApplicationConfiguration.g:11287:2: ( ruleIntervallNumber ) - // InternalApplicationConfiguration.g:11288:3: ruleIntervallNumber + // InternalApplicationConfiguration.g:11600:2: ( ruleIntervallNumber ) + // InternalApplicationConfiguration.g:11601:3: ruleIntervallNumber { before(grammarAccess.getStringTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0()); pushFollow(FOLLOW_2); @@ -34242,17 +35182,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__StringTypeScope__NumberAssignment_3_2" - // InternalApplicationConfiguration.g:11297:1: rule__StringTypeScope__NumberAssignment_3_2 : ( ruleStringEnumeration ) ; + // InternalApplicationConfiguration.g:11610:1: rule__StringTypeScope__NumberAssignment_3_2 : ( ruleStringEnumeration ) ; public final void rule__StringTypeScope__NumberAssignment_3_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:11301:1: ( ( ruleStringEnumeration ) ) - // InternalApplicationConfiguration.g:11302:2: ( ruleStringEnumeration ) + // InternalApplicationConfiguration.g:11614:1: ( ( ruleStringEnumeration ) ) + // InternalApplicationConfiguration.g:11615:2: ( ruleStringEnumeration ) { - // InternalApplicationConfiguration.g:11302:2: ( ruleStringEnumeration ) - // InternalApplicationConfiguration.g:11303:3: ruleStringEnumeration + // InternalApplicationConfiguration.g:11615:2: ( ruleStringEnumeration ) + // InternalApplicationConfiguration.g:11616:3: ruleStringEnumeration { before(grammarAccess.getStringTypeScopeAccess().getNumberStringEnumerationParserRuleCall_3_2_0()); pushFollow(FOLLOW_2); @@ -34283,17 +35223,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ClassReference__ElementAssignment_1" - // InternalApplicationConfiguration.g:11312:1: rule__ClassReference__ElementAssignment_1 : ( ruleMetamodelElement ) ; + // InternalApplicationConfiguration.g:11625:1: rule__ClassReference__ElementAssignment_1 : ( ruleMetamodelElement ) ; public final void rule__ClassReference__ElementAssignment_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:11316:1: ( ( ruleMetamodelElement ) ) - // InternalApplicationConfiguration.g:11317:2: ( ruleMetamodelElement ) + // InternalApplicationConfiguration.g:11629:1: ( ( ruleMetamodelElement ) ) + // InternalApplicationConfiguration.g:11630:2: ( ruleMetamodelElement ) { - // InternalApplicationConfiguration.g:11317:2: ( ruleMetamodelElement ) - // InternalApplicationConfiguration.g:11318:3: ruleMetamodelElement + // InternalApplicationConfiguration.g:11630:2: ( ruleMetamodelElement ) + // InternalApplicationConfiguration.g:11631:3: ruleMetamodelElement { before(grammarAccess.getClassReferenceAccess().getElementMetamodelElementParserRuleCall_1_0()); pushFollow(FOLLOW_2); @@ -34324,17 +35264,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ExactNumber__ExactNumberAssignment_0" - // InternalApplicationConfiguration.g:11327:1: rule__ExactNumber__ExactNumberAssignment_0 : ( RULE_INT ) ; + // InternalApplicationConfiguration.g:11640:1: rule__ExactNumber__ExactNumberAssignment_0 : ( RULE_INT ) ; public final void rule__ExactNumber__ExactNumberAssignment_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:11331:1: ( ( RULE_INT ) ) - // InternalApplicationConfiguration.g:11332:2: ( RULE_INT ) + // InternalApplicationConfiguration.g:11644:1: ( ( RULE_INT ) ) + // InternalApplicationConfiguration.g:11645:2: ( RULE_INT ) { - // InternalApplicationConfiguration.g:11332:2: ( RULE_INT ) - // InternalApplicationConfiguration.g:11333:3: RULE_INT + // InternalApplicationConfiguration.g:11645:2: ( RULE_INT ) + // InternalApplicationConfiguration.g:11646:3: RULE_INT { before(grammarAccess.getExactNumberAccess().getExactNumberINTTerminalRuleCall_0_0()); match(input,RULE_INT,FOLLOW_2); @@ -34361,24 +35301,24 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ExactNumber__ExactUnlimitedAssignment_1" - // InternalApplicationConfiguration.g:11342:1: rule__ExactNumber__ExactUnlimitedAssignment_1 : ( ( '*' ) ) ; + // InternalApplicationConfiguration.g:11655:1: rule__ExactNumber__ExactUnlimitedAssignment_1 : ( ( '*' ) ) ; public final void rule__ExactNumber__ExactUnlimitedAssignment_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:11346:1: ( ( ( '*' ) ) ) - // InternalApplicationConfiguration.g:11347:2: ( ( '*' ) ) + // InternalApplicationConfiguration.g:11659:1: ( ( ( '*' ) ) ) + // InternalApplicationConfiguration.g:11660:2: ( ( '*' ) ) { - // InternalApplicationConfiguration.g:11347:2: ( ( '*' ) ) - // InternalApplicationConfiguration.g:11348:3: ( '*' ) + // InternalApplicationConfiguration.g:11660:2: ( ( '*' ) ) + // InternalApplicationConfiguration.g:11661:3: ( '*' ) { before(grammarAccess.getExactNumberAccess().getExactUnlimitedAsteriskKeyword_1_0()); - // InternalApplicationConfiguration.g:11349:3: ( '*' ) - // InternalApplicationConfiguration.g:11350:4: '*' + // InternalApplicationConfiguration.g:11662:3: ( '*' ) + // InternalApplicationConfiguration.g:11663:4: '*' { before(grammarAccess.getExactNumberAccess().getExactUnlimitedAsteriskKeyword_1_0()); - match(input,61,FOLLOW_2); + match(input,63,FOLLOW_2); after(grammarAccess.getExactNumberAccess().getExactUnlimitedAsteriskKeyword_1_0()); } @@ -34406,17 +35346,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__IntervallNumber__MinAssignment_0" - // InternalApplicationConfiguration.g:11361:1: rule__IntervallNumber__MinAssignment_0 : ( RULE_INT ) ; + // InternalApplicationConfiguration.g:11674:1: rule__IntervallNumber__MinAssignment_0 : ( RULE_INT ) ; public final void rule__IntervallNumber__MinAssignment_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:11365:1: ( ( RULE_INT ) ) - // InternalApplicationConfiguration.g:11366:2: ( RULE_INT ) + // InternalApplicationConfiguration.g:11678:1: ( ( RULE_INT ) ) + // InternalApplicationConfiguration.g:11679:2: ( RULE_INT ) { - // InternalApplicationConfiguration.g:11366:2: ( RULE_INT ) - // InternalApplicationConfiguration.g:11367:3: RULE_INT + // InternalApplicationConfiguration.g:11679:2: ( RULE_INT ) + // InternalApplicationConfiguration.g:11680:3: RULE_INT { before(grammarAccess.getIntervallNumberAccess().getMinINTTerminalRuleCall_0_0()); match(input,RULE_INT,FOLLOW_2); @@ -34443,17 +35383,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__IntervallNumber__MaxNumberAssignment_2_0" - // InternalApplicationConfiguration.g:11376:1: rule__IntervallNumber__MaxNumberAssignment_2_0 : ( RULE_INT ) ; + // InternalApplicationConfiguration.g:11689:1: rule__IntervallNumber__MaxNumberAssignment_2_0 : ( RULE_INT ) ; public final void rule__IntervallNumber__MaxNumberAssignment_2_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:11380:1: ( ( RULE_INT ) ) - // InternalApplicationConfiguration.g:11381:2: ( RULE_INT ) + // InternalApplicationConfiguration.g:11693:1: ( ( RULE_INT ) ) + // InternalApplicationConfiguration.g:11694:2: ( RULE_INT ) { - // InternalApplicationConfiguration.g:11381:2: ( RULE_INT ) - // InternalApplicationConfiguration.g:11382:3: RULE_INT + // InternalApplicationConfiguration.g:11694:2: ( RULE_INT ) + // InternalApplicationConfiguration.g:11695:3: RULE_INT { before(grammarAccess.getIntervallNumberAccess().getMaxNumberINTTerminalRuleCall_2_0_0()); match(input,RULE_INT,FOLLOW_2); @@ -34480,24 +35420,24 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__IntervallNumber__MaxUnlimitedAssignment_2_1" - // InternalApplicationConfiguration.g:11391:1: rule__IntervallNumber__MaxUnlimitedAssignment_2_1 : ( ( '*' ) ) ; + // InternalApplicationConfiguration.g:11704:1: rule__IntervallNumber__MaxUnlimitedAssignment_2_1 : ( ( '*' ) ) ; public final void rule__IntervallNumber__MaxUnlimitedAssignment_2_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:11395:1: ( ( ( '*' ) ) ) - // InternalApplicationConfiguration.g:11396:2: ( ( '*' ) ) + // InternalApplicationConfiguration.g:11708:1: ( ( ( '*' ) ) ) + // InternalApplicationConfiguration.g:11709:2: ( ( '*' ) ) { - // InternalApplicationConfiguration.g:11396:2: ( ( '*' ) ) - // InternalApplicationConfiguration.g:11397:3: ( '*' ) + // InternalApplicationConfiguration.g:11709:2: ( ( '*' ) ) + // InternalApplicationConfiguration.g:11710:3: ( '*' ) { before(grammarAccess.getIntervallNumberAccess().getMaxUnlimitedAsteriskKeyword_2_1_0()); - // InternalApplicationConfiguration.g:11398:3: ( '*' ) - // InternalApplicationConfiguration.g:11399:4: '*' + // InternalApplicationConfiguration.g:11711:3: ( '*' ) + // InternalApplicationConfiguration.g:11712:4: '*' { before(grammarAccess.getIntervallNumberAccess().getMaxUnlimitedAsteriskKeyword_2_1_0()); - match(input,61,FOLLOW_2); + match(input,63,FOLLOW_2); after(grammarAccess.getIntervallNumberAccess().getMaxUnlimitedAsteriskKeyword_2_1_0()); } @@ -34525,17 +35465,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__IntEnumberation__EntryAssignment_2_0" - // InternalApplicationConfiguration.g:11410:1: rule__IntEnumberation__EntryAssignment_2_0 : ( ruleINTLiteral ) ; + // InternalApplicationConfiguration.g:11723:1: rule__IntEnumberation__EntryAssignment_2_0 : ( ruleINTLiteral ) ; public final void rule__IntEnumberation__EntryAssignment_2_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:11414:1: ( ( ruleINTLiteral ) ) - // InternalApplicationConfiguration.g:11415:2: ( ruleINTLiteral ) + // InternalApplicationConfiguration.g:11727:1: ( ( ruleINTLiteral ) ) + // InternalApplicationConfiguration.g:11728:2: ( ruleINTLiteral ) { - // InternalApplicationConfiguration.g:11415:2: ( ruleINTLiteral ) - // InternalApplicationConfiguration.g:11416:3: ruleINTLiteral + // InternalApplicationConfiguration.g:11728:2: ( ruleINTLiteral ) + // InternalApplicationConfiguration.g:11729:3: ruleINTLiteral { before(grammarAccess.getIntEnumberationAccess().getEntryINTLiteralParserRuleCall_2_0_0()); pushFollow(FOLLOW_2); @@ -34566,17 +35506,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__IntEnumberation__EntryAssignment_2_1_1" - // InternalApplicationConfiguration.g:11425:1: rule__IntEnumberation__EntryAssignment_2_1_1 : ( ruleINTLiteral ) ; + // InternalApplicationConfiguration.g:11738:1: rule__IntEnumberation__EntryAssignment_2_1_1 : ( ruleINTLiteral ) ; public final void rule__IntEnumberation__EntryAssignment_2_1_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:11429:1: ( ( ruleINTLiteral ) ) - // InternalApplicationConfiguration.g:11430:2: ( ruleINTLiteral ) + // InternalApplicationConfiguration.g:11742:1: ( ( ruleINTLiteral ) ) + // InternalApplicationConfiguration.g:11743:2: ( ruleINTLiteral ) { - // InternalApplicationConfiguration.g:11430:2: ( ruleINTLiteral ) - // InternalApplicationConfiguration.g:11431:3: ruleINTLiteral + // InternalApplicationConfiguration.g:11743:2: ( ruleINTLiteral ) + // InternalApplicationConfiguration.g:11744:3: ruleINTLiteral { before(grammarAccess.getIntEnumberationAccess().getEntryINTLiteralParserRuleCall_2_1_1_0()); pushFollow(FOLLOW_2); @@ -34607,17 +35547,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__RealEnumeration__EntryAssignment_2_0" - // InternalApplicationConfiguration.g:11440:1: rule__RealEnumeration__EntryAssignment_2_0 : ( ruleREALLiteral ) ; + // InternalApplicationConfiguration.g:11753:1: rule__RealEnumeration__EntryAssignment_2_0 : ( ruleREALLiteral ) ; public final void rule__RealEnumeration__EntryAssignment_2_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:11444:1: ( ( ruleREALLiteral ) ) - // InternalApplicationConfiguration.g:11445:2: ( ruleREALLiteral ) + // InternalApplicationConfiguration.g:11757:1: ( ( ruleREALLiteral ) ) + // InternalApplicationConfiguration.g:11758:2: ( ruleREALLiteral ) { - // InternalApplicationConfiguration.g:11445:2: ( ruleREALLiteral ) - // InternalApplicationConfiguration.g:11446:3: ruleREALLiteral + // InternalApplicationConfiguration.g:11758:2: ( ruleREALLiteral ) + // InternalApplicationConfiguration.g:11759:3: ruleREALLiteral { before(grammarAccess.getRealEnumerationAccess().getEntryREALLiteralParserRuleCall_2_0_0()); pushFollow(FOLLOW_2); @@ -34648,17 +35588,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__RealEnumeration__EntryAssignment_2_1_1" - // InternalApplicationConfiguration.g:11455:1: rule__RealEnumeration__EntryAssignment_2_1_1 : ( ruleREALLiteral ) ; + // InternalApplicationConfiguration.g:11768:1: rule__RealEnumeration__EntryAssignment_2_1_1 : ( ruleREALLiteral ) ; public final void rule__RealEnumeration__EntryAssignment_2_1_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:11459:1: ( ( ruleREALLiteral ) ) - // InternalApplicationConfiguration.g:11460:2: ( ruleREALLiteral ) + // InternalApplicationConfiguration.g:11772:1: ( ( ruleREALLiteral ) ) + // InternalApplicationConfiguration.g:11773:2: ( ruleREALLiteral ) { - // InternalApplicationConfiguration.g:11460:2: ( ruleREALLiteral ) - // InternalApplicationConfiguration.g:11461:3: ruleREALLiteral + // InternalApplicationConfiguration.g:11773:2: ( ruleREALLiteral ) + // InternalApplicationConfiguration.g:11774:3: ruleREALLiteral { before(grammarAccess.getRealEnumerationAccess().getEntryREALLiteralParserRuleCall_2_1_1_0()); pushFollow(FOLLOW_2); @@ -34689,17 +35629,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__StringEnumeration__EntryAssignment_2_0" - // InternalApplicationConfiguration.g:11470:1: rule__StringEnumeration__EntryAssignment_2_0 : ( RULE_STRING ) ; + // InternalApplicationConfiguration.g:11783:1: rule__StringEnumeration__EntryAssignment_2_0 : ( RULE_STRING ) ; public final void rule__StringEnumeration__EntryAssignment_2_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:11474:1: ( ( RULE_STRING ) ) - // InternalApplicationConfiguration.g:11475:2: ( RULE_STRING ) + // InternalApplicationConfiguration.g:11787:1: ( ( RULE_STRING ) ) + // InternalApplicationConfiguration.g:11788:2: ( RULE_STRING ) { - // InternalApplicationConfiguration.g:11475:2: ( RULE_STRING ) - // InternalApplicationConfiguration.g:11476:3: RULE_STRING + // InternalApplicationConfiguration.g:11788:2: ( RULE_STRING ) + // InternalApplicationConfiguration.g:11789:3: RULE_STRING { before(grammarAccess.getStringEnumerationAccess().getEntrySTRINGTerminalRuleCall_2_0_0()); match(input,RULE_STRING,FOLLOW_2); @@ -34726,17 +35666,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__StringEnumeration__EntryAssignment_2_1_1" - // InternalApplicationConfiguration.g:11485:1: rule__StringEnumeration__EntryAssignment_2_1_1 : ( RULE_STRING ) ; + // InternalApplicationConfiguration.g:11798:1: rule__StringEnumeration__EntryAssignment_2_1_1 : ( RULE_STRING ) ; public final void rule__StringEnumeration__EntryAssignment_2_1_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:11489:1: ( ( RULE_STRING ) ) - // InternalApplicationConfiguration.g:11490:2: ( RULE_STRING ) + // InternalApplicationConfiguration.g:11802:1: ( ( RULE_STRING ) ) + // InternalApplicationConfiguration.g:11803:2: ( RULE_STRING ) { - // InternalApplicationConfiguration.g:11490:2: ( RULE_STRING ) - // InternalApplicationConfiguration.g:11491:3: RULE_STRING + // InternalApplicationConfiguration.g:11803:2: ( RULE_STRING ) + // InternalApplicationConfiguration.g:11804:3: RULE_STRING { before(grammarAccess.getStringEnumerationAccess().getEntrySTRINGTerminalRuleCall_2_1_1_0()); match(input,RULE_STRING,FOLLOW_2); @@ -34763,17 +35703,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ScopeDeclaration__NameAssignment_1" - // InternalApplicationConfiguration.g:11500:1: rule__ScopeDeclaration__NameAssignment_1 : ( RULE_ID ) ; + // InternalApplicationConfiguration.g:11813:1: rule__ScopeDeclaration__NameAssignment_1 : ( RULE_ID ) ; public final void rule__ScopeDeclaration__NameAssignment_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:11504:1: ( ( RULE_ID ) ) - // InternalApplicationConfiguration.g:11505:2: ( RULE_ID ) + // InternalApplicationConfiguration.g:11817:1: ( ( RULE_ID ) ) + // InternalApplicationConfiguration.g:11818:2: ( RULE_ID ) { - // InternalApplicationConfiguration.g:11505:2: ( RULE_ID ) - // InternalApplicationConfiguration.g:11506:3: RULE_ID + // InternalApplicationConfiguration.g:11818:2: ( RULE_ID ) + // InternalApplicationConfiguration.g:11819:3: RULE_ID { before(grammarAccess.getScopeDeclarationAccess().getNameIDTerminalRuleCall_1_0()); match(input,RULE_ID,FOLLOW_2); @@ -34800,17 +35740,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ScopeDeclaration__SpecificationAssignment_2" - // InternalApplicationConfiguration.g:11515:1: rule__ScopeDeclaration__SpecificationAssignment_2 : ( ruleScopeSpecification ) ; + // InternalApplicationConfiguration.g:11828:1: rule__ScopeDeclaration__SpecificationAssignment_2 : ( ruleScopeSpecification ) ; public final void rule__ScopeDeclaration__SpecificationAssignment_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:11519:1: ( ( ruleScopeSpecification ) ) - // InternalApplicationConfiguration.g:11520:2: ( ruleScopeSpecification ) + // InternalApplicationConfiguration.g:11832:1: ( ( ruleScopeSpecification ) ) + // InternalApplicationConfiguration.g:11833:2: ( ruleScopeSpecification ) { - // InternalApplicationConfiguration.g:11520:2: ( ruleScopeSpecification ) - // InternalApplicationConfiguration.g:11521:3: ruleScopeSpecification + // InternalApplicationConfiguration.g:11833:2: ( ruleScopeSpecification ) + // InternalApplicationConfiguration.g:11834:3: ruleScopeSpecification { before(grammarAccess.getScopeDeclarationAccess().getSpecificationScopeSpecificationParserRuleCall_2_0()); pushFollow(FOLLOW_2); @@ -34841,21 +35781,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ScopeReference__ReferredAssignment" - // InternalApplicationConfiguration.g:11530:1: rule__ScopeReference__ReferredAssignment : ( ( RULE_ID ) ) ; + // InternalApplicationConfiguration.g:11843:1: rule__ScopeReference__ReferredAssignment : ( ( RULE_ID ) ) ; public final void rule__ScopeReference__ReferredAssignment() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:11534:1: ( ( ( RULE_ID ) ) ) - // InternalApplicationConfiguration.g:11535:2: ( ( RULE_ID ) ) + // InternalApplicationConfiguration.g:11847:1: ( ( ( RULE_ID ) ) ) + // InternalApplicationConfiguration.g:11848:2: ( ( RULE_ID ) ) { - // InternalApplicationConfiguration.g:11535:2: ( ( RULE_ID ) ) - // InternalApplicationConfiguration.g:11536:3: ( RULE_ID ) + // InternalApplicationConfiguration.g:11848:2: ( ( RULE_ID ) ) + // InternalApplicationConfiguration.g:11849:3: ( RULE_ID ) { before(grammarAccess.getScopeReferenceAccess().getReferredScopeDeclarationCrossReference_0()); - // InternalApplicationConfiguration.g:11537:3: ( RULE_ID ) - // InternalApplicationConfiguration.g:11538:4: RULE_ID + // InternalApplicationConfiguration.g:11850:3: ( RULE_ID ) + // InternalApplicationConfiguration.g:11851:4: RULE_ID { before(grammarAccess.getScopeReferenceAccess().getReferredScopeDeclarationIDTerminalRuleCall_0_1()); match(input,RULE_ID,FOLLOW_2); @@ -34886,17 +35826,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__MetamodelAssignment_3_0_2" - // InternalApplicationConfiguration.g:11549:1: rule__GenerationTask__MetamodelAssignment_3_0_2 : ( ruleMetamodel ) ; + // InternalApplicationConfiguration.g:11862:1: rule__GenerationTask__MetamodelAssignment_3_0_2 : ( ruleMetamodel ) ; public final void rule__GenerationTask__MetamodelAssignment_3_0_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:11553:1: ( ( ruleMetamodel ) ) - // InternalApplicationConfiguration.g:11554:2: ( ruleMetamodel ) + // InternalApplicationConfiguration.g:11866:1: ( ( ruleMetamodel ) ) + // InternalApplicationConfiguration.g:11867:2: ( ruleMetamodel ) { - // InternalApplicationConfiguration.g:11554:2: ( ruleMetamodel ) - // InternalApplicationConfiguration.g:11555:3: ruleMetamodel + // InternalApplicationConfiguration.g:11867:2: ( ruleMetamodel ) + // InternalApplicationConfiguration.g:11868:3: ruleMetamodel { before(grammarAccess.getGenerationTaskAccess().getMetamodelMetamodelParserRuleCall_3_0_2_0()); pushFollow(FOLLOW_2); @@ -34927,17 +35867,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__PartialModelAssignment_3_1_2" - // InternalApplicationConfiguration.g:11564:1: rule__GenerationTask__PartialModelAssignment_3_1_2 : ( rulePartialModel ) ; + // InternalApplicationConfiguration.g:11877:1: rule__GenerationTask__PartialModelAssignment_3_1_2 : ( rulePartialModel ) ; public final void rule__GenerationTask__PartialModelAssignment_3_1_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:11568:1: ( ( rulePartialModel ) ) - // InternalApplicationConfiguration.g:11569:2: ( rulePartialModel ) + // InternalApplicationConfiguration.g:11881:1: ( ( rulePartialModel ) ) + // InternalApplicationConfiguration.g:11882:2: ( rulePartialModel ) { - // InternalApplicationConfiguration.g:11569:2: ( rulePartialModel ) - // InternalApplicationConfiguration.g:11570:3: rulePartialModel + // InternalApplicationConfiguration.g:11882:2: ( rulePartialModel ) + // InternalApplicationConfiguration.g:11883:3: rulePartialModel { before(grammarAccess.getGenerationTaskAccess().getPartialModelPartialModelParserRuleCall_3_1_2_0()); pushFollow(FOLLOW_2); @@ -34968,17 +35908,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__PatternsAssignment_3_2_2" - // InternalApplicationConfiguration.g:11579:1: rule__GenerationTask__PatternsAssignment_3_2_2 : ( ruleGraphPattern ) ; + // InternalApplicationConfiguration.g:11892:1: rule__GenerationTask__PatternsAssignment_3_2_2 : ( ruleGraphPattern ) ; public final void rule__GenerationTask__PatternsAssignment_3_2_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:11583:1: ( ( ruleGraphPattern ) ) - // InternalApplicationConfiguration.g:11584:2: ( ruleGraphPattern ) + // InternalApplicationConfiguration.g:11896:1: ( ( ruleGraphPattern ) ) + // InternalApplicationConfiguration.g:11897:2: ( ruleGraphPattern ) { - // InternalApplicationConfiguration.g:11584:2: ( ruleGraphPattern ) - // InternalApplicationConfiguration.g:11585:3: ruleGraphPattern + // InternalApplicationConfiguration.g:11897:2: ( ruleGraphPattern ) + // InternalApplicationConfiguration.g:11898:3: ruleGraphPattern { before(grammarAccess.getGenerationTaskAccess().getPatternsGraphPatternParserRuleCall_3_2_2_0()); pushFollow(FOLLOW_2); @@ -35009,17 +35949,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__ObjectivesAssignment_3_3_2" - // InternalApplicationConfiguration.g:11594:1: rule__GenerationTask__ObjectivesAssignment_3_3_2 : ( ruleObjective ) ; + // InternalApplicationConfiguration.g:11907:1: rule__GenerationTask__ObjectivesAssignment_3_3_2 : ( ruleObjective ) ; public final void rule__GenerationTask__ObjectivesAssignment_3_3_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:11598:1: ( ( ruleObjective ) ) - // InternalApplicationConfiguration.g:11599:2: ( ruleObjective ) + // InternalApplicationConfiguration.g:11911:1: ( ( ruleObjective ) ) + // InternalApplicationConfiguration.g:11912:2: ( ruleObjective ) { - // InternalApplicationConfiguration.g:11599:2: ( ruleObjective ) - // InternalApplicationConfiguration.g:11600:3: ruleObjective + // InternalApplicationConfiguration.g:11912:2: ( ruleObjective ) + // InternalApplicationConfiguration.g:11913:3: ruleObjective { before(grammarAccess.getGenerationTaskAccess().getObjectivesObjectiveParserRuleCall_3_3_2_0()); pushFollow(FOLLOW_2); @@ -35050,17 +35990,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__ScopeAssignment_3_4_2" - // InternalApplicationConfiguration.g:11609:1: rule__GenerationTask__ScopeAssignment_3_4_2 : ( ruleScope ) ; + // InternalApplicationConfiguration.g:11922:1: rule__GenerationTask__ScopeAssignment_3_4_2 : ( ruleScope ) ; public final void rule__GenerationTask__ScopeAssignment_3_4_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:11613:1: ( ( ruleScope ) ) - // InternalApplicationConfiguration.g:11614:2: ( ruleScope ) + // InternalApplicationConfiguration.g:11926:1: ( ( ruleScope ) ) + // InternalApplicationConfiguration.g:11927:2: ( ruleScope ) { - // InternalApplicationConfiguration.g:11614:2: ( ruleScope ) - // InternalApplicationConfiguration.g:11615:3: ruleScope + // InternalApplicationConfiguration.g:11927:2: ( ruleScope ) + // InternalApplicationConfiguration.g:11928:3: ruleScope { before(grammarAccess.getGenerationTaskAccess().getScopeScopeParserRuleCall_3_4_2_0()); pushFollow(FOLLOW_2); @@ -35091,24 +36031,24 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__NumberSpecifiedAssignment_3_5_0" - // InternalApplicationConfiguration.g:11624:1: rule__GenerationTask__NumberSpecifiedAssignment_3_5_0 : ( ( 'number' ) ) ; + // InternalApplicationConfiguration.g:11937:1: rule__GenerationTask__NumberSpecifiedAssignment_3_5_0 : ( ( 'number' ) ) ; public final void rule__GenerationTask__NumberSpecifiedAssignment_3_5_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:11628:1: ( ( ( 'number' ) ) ) - // InternalApplicationConfiguration.g:11629:2: ( ( 'number' ) ) + // InternalApplicationConfiguration.g:11941:1: ( ( ( 'number' ) ) ) + // InternalApplicationConfiguration.g:11942:2: ( ( 'number' ) ) { - // InternalApplicationConfiguration.g:11629:2: ( ( 'number' ) ) - // InternalApplicationConfiguration.g:11630:3: ( 'number' ) + // InternalApplicationConfiguration.g:11942:2: ( ( 'number' ) ) + // InternalApplicationConfiguration.g:11943:3: ( 'number' ) { before(grammarAccess.getGenerationTaskAccess().getNumberSpecifiedNumberKeyword_3_5_0_0()); - // InternalApplicationConfiguration.g:11631:3: ( 'number' ) - // InternalApplicationConfiguration.g:11632:4: 'number' + // InternalApplicationConfiguration.g:11944:3: ( 'number' ) + // InternalApplicationConfiguration.g:11945:4: 'number' { before(grammarAccess.getGenerationTaskAccess().getNumberSpecifiedNumberKeyword_3_5_0_0()); - match(input,62,FOLLOW_2); + match(input,64,FOLLOW_2); after(grammarAccess.getGenerationTaskAccess().getNumberSpecifiedNumberKeyword_3_5_0_0()); } @@ -35136,17 +36076,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__NumberAssignment_3_5_2" - // InternalApplicationConfiguration.g:11643:1: rule__GenerationTask__NumberAssignment_3_5_2 : ( RULE_INT ) ; + // InternalApplicationConfiguration.g:11956:1: rule__GenerationTask__NumberAssignment_3_5_2 : ( RULE_INT ) ; public final void rule__GenerationTask__NumberAssignment_3_5_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:11647:1: ( ( RULE_INT ) ) - // InternalApplicationConfiguration.g:11648:2: ( RULE_INT ) + // InternalApplicationConfiguration.g:11960:1: ( ( RULE_INT ) ) + // InternalApplicationConfiguration.g:11961:2: ( RULE_INT ) { - // InternalApplicationConfiguration.g:11648:2: ( RULE_INT ) - // InternalApplicationConfiguration.g:11649:3: RULE_INT + // InternalApplicationConfiguration.g:11961:2: ( RULE_INT ) + // InternalApplicationConfiguration.g:11962:3: RULE_INT { before(grammarAccess.getGenerationTaskAccess().getNumberINTTerminalRuleCall_3_5_2_0()); match(input,RULE_INT,FOLLOW_2); @@ -35173,24 +36113,24 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__RunSpecifiedAssignment_3_6_0" - // InternalApplicationConfiguration.g:11658:1: rule__GenerationTask__RunSpecifiedAssignment_3_6_0 : ( ( 'runs' ) ) ; + // InternalApplicationConfiguration.g:11971:1: rule__GenerationTask__RunSpecifiedAssignment_3_6_0 : ( ( 'runs' ) ) ; public final void rule__GenerationTask__RunSpecifiedAssignment_3_6_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:11662:1: ( ( ( 'runs' ) ) ) - // InternalApplicationConfiguration.g:11663:2: ( ( 'runs' ) ) + // InternalApplicationConfiguration.g:11975:1: ( ( ( 'runs' ) ) ) + // InternalApplicationConfiguration.g:11976:2: ( ( 'runs' ) ) { - // InternalApplicationConfiguration.g:11663:2: ( ( 'runs' ) ) - // InternalApplicationConfiguration.g:11664:3: ( 'runs' ) + // InternalApplicationConfiguration.g:11976:2: ( ( 'runs' ) ) + // InternalApplicationConfiguration.g:11977:3: ( 'runs' ) { before(grammarAccess.getGenerationTaskAccess().getRunSpecifiedRunsKeyword_3_6_0_0()); - // InternalApplicationConfiguration.g:11665:3: ( 'runs' ) - // InternalApplicationConfiguration.g:11666:4: 'runs' + // InternalApplicationConfiguration.g:11978:3: ( 'runs' ) + // InternalApplicationConfiguration.g:11979:4: 'runs' { before(grammarAccess.getGenerationTaskAccess().getRunSpecifiedRunsKeyword_3_6_0_0()); - match(input,63,FOLLOW_2); + match(input,65,FOLLOW_2); after(grammarAccess.getGenerationTaskAccess().getRunSpecifiedRunsKeyword_3_6_0_0()); } @@ -35218,17 +36158,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__RunsAssignment_3_6_2" - // InternalApplicationConfiguration.g:11677:1: rule__GenerationTask__RunsAssignment_3_6_2 : ( RULE_INT ) ; + // InternalApplicationConfiguration.g:11990:1: rule__GenerationTask__RunsAssignment_3_6_2 : ( RULE_INT ) ; public final void rule__GenerationTask__RunsAssignment_3_6_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:11681:1: ( ( RULE_INT ) ) - // InternalApplicationConfiguration.g:11682:2: ( RULE_INT ) + // InternalApplicationConfiguration.g:11994:1: ( ( RULE_INT ) ) + // InternalApplicationConfiguration.g:11995:2: ( RULE_INT ) { - // InternalApplicationConfiguration.g:11682:2: ( RULE_INT ) - // InternalApplicationConfiguration.g:11683:3: RULE_INT + // InternalApplicationConfiguration.g:11995:2: ( RULE_INT ) + // InternalApplicationConfiguration.g:11996:3: RULE_INT { before(grammarAccess.getGenerationTaskAccess().getRunsINTTerminalRuleCall_3_6_2_0()); match(input,RULE_INT,FOLLOW_2); @@ -35255,17 +36195,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__SolverAssignment_3_7_2" - // InternalApplicationConfiguration.g:11692:1: rule__GenerationTask__SolverAssignment_3_7_2 : ( ruleSolver ) ; + // InternalApplicationConfiguration.g:12005:1: rule__GenerationTask__SolverAssignment_3_7_2 : ( ruleSolver ) ; public final void rule__GenerationTask__SolverAssignment_3_7_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:11696:1: ( ( ruleSolver ) ) - // InternalApplicationConfiguration.g:11697:2: ( ruleSolver ) + // InternalApplicationConfiguration.g:12009:1: ( ( ruleSolver ) ) + // InternalApplicationConfiguration.g:12010:2: ( ruleSolver ) { - // InternalApplicationConfiguration.g:11697:2: ( ruleSolver ) - // InternalApplicationConfiguration.g:11698:3: ruleSolver + // InternalApplicationConfiguration.g:12010:2: ( ruleSolver ) + // InternalApplicationConfiguration.g:12011:3: ruleSolver { before(grammarAccess.getGenerationTaskAccess().getSolverSolverEnumRuleCall_3_7_2_0()); pushFollow(FOLLOW_2); @@ -35296,17 +36236,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__ConfigAssignment_3_8_2" - // InternalApplicationConfiguration.g:11707:1: rule__GenerationTask__ConfigAssignment_3_8_2 : ( ruleConfig ) ; + // InternalApplicationConfiguration.g:12020:1: rule__GenerationTask__ConfigAssignment_3_8_2 : ( ruleConfig ) ; public final void rule__GenerationTask__ConfigAssignment_3_8_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:11711:1: ( ( ruleConfig ) ) - // InternalApplicationConfiguration.g:11712:2: ( ruleConfig ) + // InternalApplicationConfiguration.g:12024:1: ( ( ruleConfig ) ) + // InternalApplicationConfiguration.g:12025:2: ( ruleConfig ) { - // InternalApplicationConfiguration.g:11712:2: ( ruleConfig ) - // InternalApplicationConfiguration.g:11713:3: ruleConfig + // InternalApplicationConfiguration.g:12025:2: ( ruleConfig ) + // InternalApplicationConfiguration.g:12026:3: ruleConfig { before(grammarAccess.getGenerationTaskAccess().getConfigConfigParserRuleCall_3_8_2_0()); pushFollow(FOLLOW_2); @@ -35337,17 +36277,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__DebugFolderAssignment_3_9_2" - // InternalApplicationConfiguration.g:11722:1: rule__GenerationTask__DebugFolderAssignment_3_9_2 : ( ruleFile ) ; + // InternalApplicationConfiguration.g:12035:1: rule__GenerationTask__DebugFolderAssignment_3_9_2 : ( ruleFile ) ; public final void rule__GenerationTask__DebugFolderAssignment_3_9_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:11726:1: ( ( ruleFile ) ) - // InternalApplicationConfiguration.g:11727:2: ( ruleFile ) + // InternalApplicationConfiguration.g:12039:1: ( ( ruleFile ) ) + // InternalApplicationConfiguration.g:12040:2: ( ruleFile ) { - // InternalApplicationConfiguration.g:11727:2: ( ruleFile ) - // InternalApplicationConfiguration.g:11728:3: ruleFile + // InternalApplicationConfiguration.g:12040:2: ( ruleFile ) + // InternalApplicationConfiguration.g:12041:3: ruleFile { before(grammarAccess.getGenerationTaskAccess().getDebugFolderFileParserRuleCall_3_9_2_0()); pushFollow(FOLLOW_2); @@ -35378,17 +36318,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__TargetLogFileAssignment_3_10_2" - // InternalApplicationConfiguration.g:11737:1: rule__GenerationTask__TargetLogFileAssignment_3_10_2 : ( ruleFile ) ; + // InternalApplicationConfiguration.g:12050:1: rule__GenerationTask__TargetLogFileAssignment_3_10_2 : ( ruleFile ) ; public final void rule__GenerationTask__TargetLogFileAssignment_3_10_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:11741:1: ( ( ruleFile ) ) - // InternalApplicationConfiguration.g:11742:2: ( ruleFile ) + // InternalApplicationConfiguration.g:12054:1: ( ( ruleFile ) ) + // InternalApplicationConfiguration.g:12055:2: ( ruleFile ) { - // InternalApplicationConfiguration.g:11742:2: ( ruleFile ) - // InternalApplicationConfiguration.g:11743:3: ruleFile + // InternalApplicationConfiguration.g:12055:2: ( ruleFile ) + // InternalApplicationConfiguration.g:12056:3: ruleFile { before(grammarAccess.getGenerationTaskAccess().getTargetLogFileFileParserRuleCall_3_10_2_0()); pushFollow(FOLLOW_2); @@ -35419,17 +36359,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__TargetStatisticsFileAssignment_3_11_2" - // InternalApplicationConfiguration.g:11752:1: rule__GenerationTask__TargetStatisticsFileAssignment_3_11_2 : ( ruleFile ) ; + // InternalApplicationConfiguration.g:12065:1: rule__GenerationTask__TargetStatisticsFileAssignment_3_11_2 : ( ruleFile ) ; public final void rule__GenerationTask__TargetStatisticsFileAssignment_3_11_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:11756:1: ( ( ruleFile ) ) - // InternalApplicationConfiguration.g:11757:2: ( ruleFile ) + // InternalApplicationConfiguration.g:12069:1: ( ( ruleFile ) ) + // InternalApplicationConfiguration.g:12070:2: ( ruleFile ) { - // InternalApplicationConfiguration.g:11757:2: ( ruleFile ) - // InternalApplicationConfiguration.g:11758:3: ruleFile + // InternalApplicationConfiguration.g:12070:2: ( ruleFile ) + // InternalApplicationConfiguration.g:12071:3: ruleFile { before(grammarAccess.getGenerationTaskAccess().getTargetStatisticsFileFileParserRuleCall_3_11_2_0()); pushFollow(FOLLOW_2); @@ -35460,17 +36400,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__TagetFolderAssignment_3_12_2" - // InternalApplicationConfiguration.g:11767:1: rule__GenerationTask__TagetFolderAssignment_3_12_2 : ( ruleFile ) ; + // InternalApplicationConfiguration.g:12080:1: rule__GenerationTask__TagetFolderAssignment_3_12_2 : ( ruleFile ) ; public final void rule__GenerationTask__TagetFolderAssignment_3_12_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:11771:1: ( ( ruleFile ) ) - // InternalApplicationConfiguration.g:11772:2: ( ruleFile ) + // InternalApplicationConfiguration.g:12084:1: ( ( ruleFile ) ) + // InternalApplicationConfiguration.g:12085:2: ( ruleFile ) { - // InternalApplicationConfiguration.g:11772:2: ( ruleFile ) - // InternalApplicationConfiguration.g:11773:3: ruleFile + // InternalApplicationConfiguration.g:12085:2: ( ruleFile ) + // InternalApplicationConfiguration.g:12086:3: ruleFile { before(grammarAccess.getGenerationTaskAccess().getTagetFolderFileParserRuleCall_3_12_2_0()); pushFollow(FOLLOW_2); @@ -35502,8 +36442,6 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // Delegated rules - protected DFA62 dfa62 = new DFA62(this); - protected DFA63 dfa63 = new DFA63(this); protected DFA64 dfa64 = new DFA64(this); protected DFA65 dfa65 = new DFA65(this); protected DFA66 dfa66 = new DFA66(this); @@ -35516,13 +36454,15 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont protected DFA73 dfa73 = new DFA73(this); protected DFA74 dfa74 = new DFA74(this); protected DFA75 dfa75 = new DFA75(this); + protected DFA76 dfa76 = new DFA76(this); + protected DFA77 dfa77 = new DFA77(this); static final String dfa_1s = "\17\uffff"; static final String dfa_2s = "\1\36\16\uffff"; - static final String dfa_3s = "\1\77\16\uffff"; + static final String dfa_3s = "\1\101\16\uffff"; static final String dfa_4s = "\1\uffff\15\1\1\2"; static final String dfa_5s = "\1\0\16\uffff}>"; static final String[] dfa_6s = { - "\1\16\4\uffff\1\1\2\uffff\1\3\1\4\1\11\13\uffff\1\5\1\uffff\1\2\1\10\1\12\1\13\1\14\1\15\2\uffff\1\6\1\7", + "\1\16\4\uffff\1\1\2\uffff\1\3\2\uffff\1\4\1\11\13\uffff\1\5\1\uffff\1\2\1\10\1\12\1\13\1\14\1\15\2\uffff\1\6\1\7", "", "", "", @@ -35546,11 +36486,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont static final short[] dfa_5 = DFA.unpackEncodedString(dfa_5s); static final short[][] dfa_6 = unpackEncodedStringArray(dfa_6s); - class DFA62 extends DFA { + class DFA64 extends DFA { - public DFA62(BaseRecognizer recognizer) { + public DFA64(BaseRecognizer recognizer) { this.recognizer = recognizer; - this.decisionNumber = 62; + this.decisionNumber = 64; this.eot = dfa_1; this.eof = dfa_1; this.min = dfa_2; @@ -35560,65 +36500,65 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont this.transition = dfa_6; } public String getDescription() { - return "9461:2: ( rule__GenerationTask__UnorderedGroup_3__0 )?"; + return "9721:2: ( rule__GenerationTask__UnorderedGroup_3__0 )?"; } public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { TokenStream input = (TokenStream)_input; int _s = s; switch ( s ) { case 0 : - int LA62_0 = input.LA(1); + int LA64_0 = input.LA(1); - int index62_0 = input.index(); + int index64_0 = input.index(); input.rewind(); s = -1; - if ( LA62_0 == 35 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0) ) {s = 1;} + if ( LA64_0 == 35 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0) ) {s = 1;} - else if ( LA62_0 == 54 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1) ) {s = 2;} + else if ( LA64_0 == 56 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1) ) {s = 2;} - else if ( LA62_0 == 38 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2) ) {s = 3;} + else if ( LA64_0 == 38 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2) ) {s = 3;} - else if ( LA62_0 == 39 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3) ) {s = 4;} + else if ( LA64_0 == 41 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3) ) {s = 4;} - else if ( LA62_0 == 52 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4) ) {s = 5;} + else if ( LA64_0 == 54 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4) ) {s = 5;} - else if ( LA62_0 == 62 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5) ) {s = 6;} + else if ( LA64_0 == 64 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5) ) {s = 6;} - else if ( LA62_0 == 63 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6) ) {s = 7;} + else if ( LA64_0 == 65 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6) ) {s = 7;} - else if ( LA62_0 == 55 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7) ) {s = 8;} + else if ( LA64_0 == 57 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7) ) {s = 8;} - else if ( LA62_0 == 40 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8) ) {s = 9;} + else if ( LA64_0 == 42 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8) ) {s = 9;} - else if ( LA62_0 == 56 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9) ) {s = 10;} + else if ( LA64_0 == 58 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9) ) {s = 10;} - else if ( LA62_0 == 57 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10) ) {s = 11;} + else if ( LA64_0 == 59 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10) ) {s = 11;} - else if ( LA62_0 == 58 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11) ) {s = 12;} + else if ( LA64_0 == 60 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11) ) {s = 12;} - else if ( LA62_0 == 59 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 12) ) {s = 13;} + else if ( LA64_0 == 61 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 12) ) {s = 13;} - else if ( (LA62_0==30) ) {s = 14;} + else if ( (LA64_0==30) ) {s = 14;} - input.seek(index62_0); + input.seek(index64_0); if ( s>=0 ) return s; break; } NoViableAltException nvae = - new NoViableAltException(getDescription(), 62, _s, input); + new NoViableAltException(getDescription(), 64, _s, input); error(nvae); throw nvae; } } static final String dfa_7s = "\16\uffff"; static final String dfa_8s = "\1\43\15\uffff"; - static final String dfa_9s = "\1\77\15\uffff"; + static final String dfa_9s = "\1\101\15\uffff"; static final String dfa_10s = "\1\uffff\1\1\1\2\1\3\1\4\1\5\1\6\1\7\1\10\1\11\1\12\1\13\1\14\1\15"; static final String dfa_11s = "\1\0\15\uffff}>"; static final String[] dfa_12s = { - "\1\1\2\uffff\1\3\1\4\1\11\13\uffff\1\5\1\uffff\1\2\1\10\1\12\1\13\1\14\1\15\2\uffff\1\6\1\7", + "\1\1\2\uffff\1\3\2\uffff\1\4\1\11\13\uffff\1\5\1\uffff\1\2\1\10\1\12\1\13\1\14\1\15\2\uffff\1\6\1\7", "", "", "", @@ -35641,11 +36581,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont static final short[] dfa_11 = DFA.unpackEncodedString(dfa_11s); static final short[][] dfa_12 = unpackEncodedStringArray(dfa_12s); - class DFA63 extends DFA { + class DFA65 extends DFA { - public DFA63(BaseRecognizer recognizer) { + public DFA65(BaseRecognizer recognizer) { this.recognizer = recognizer; - this.decisionNumber = 63; + this.decisionNumber = 65; this.eot = dfa_7; this.eof = dfa_7; this.min = dfa_8; @@ -35655,139 +36595,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont this.transition = dfa_12; } public String getDescription() { - return "9475:3: ( ({...}? => ( ( ( rule__GenerationTask__Group_3_0__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_1__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_2__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_3__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_4__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_5__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_6__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_7__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_8__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_9__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_10__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_11__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_12__0 ) ) ) ) )"; - } - public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { - TokenStream input = (TokenStream)_input; - int _s = s; - switch ( s ) { - case 0 : - int LA63_0 = input.LA(1); - - - int index63_0 = input.index(); - input.rewind(); - s = -1; - if ( LA63_0 == 35 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0) ) {s = 1;} - - else if ( LA63_0 == 54 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1) ) {s = 2;} - - else if ( LA63_0 == 38 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2) ) {s = 3;} - - else if ( LA63_0 == 39 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3) ) {s = 4;} - - else if ( LA63_0 == 52 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4) ) {s = 5;} - - else if ( LA63_0 == 62 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5) ) {s = 6;} - - else if ( LA63_0 == 63 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6) ) {s = 7;} - - else if ( LA63_0 == 55 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7) ) {s = 8;} - - else if ( LA63_0 == 40 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8) ) {s = 9;} - - else if ( LA63_0 == 56 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9) ) {s = 10;} - - else if ( LA63_0 == 57 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10) ) {s = 11;} - - else if ( LA63_0 == 58 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11) ) {s = 12;} - - else if ( LA63_0 == 59 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 12) ) {s = 13;} - - - input.seek(index63_0); - if ( s>=0 ) return s; - break; - } - NoViableAltException nvae = - new NoViableAltException(getDescription(), 63, _s, input); - error(nvae); - throw nvae; - } - } - - class DFA64 extends DFA { - - public DFA64(BaseRecognizer recognizer) { - this.recognizer = recognizer; - this.decisionNumber = 64; - this.eot = dfa_1; - this.eof = dfa_1; - this.min = dfa_2; - this.max = dfa_3; - this.accept = dfa_4; - this.special = dfa_5; - this.transition = dfa_6; - } - public String getDescription() { - return "9685:2: ( rule__GenerationTask__UnorderedGroup_3__1 )?"; - } - public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { - TokenStream input = (TokenStream)_input; - int _s = s; - switch ( s ) { - case 0 : - int LA64_0 = input.LA(1); - - - int index64_0 = input.index(); - input.rewind(); - s = -1; - if ( LA64_0 == 35 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0) ) {s = 1;} - - else if ( LA64_0 == 54 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1) ) {s = 2;} - - else if ( LA64_0 == 38 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2) ) {s = 3;} - - else if ( LA64_0 == 39 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3) ) {s = 4;} - - else if ( LA64_0 == 52 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4) ) {s = 5;} - - else if ( LA64_0 == 62 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5) ) {s = 6;} - - else if ( LA64_0 == 63 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6) ) {s = 7;} - - else if ( LA64_0 == 55 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7) ) {s = 8;} - - else if ( LA64_0 == 40 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8) ) {s = 9;} - - else if ( LA64_0 == 56 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9) ) {s = 10;} - - else if ( LA64_0 == 57 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10) ) {s = 11;} - - else if ( LA64_0 == 58 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11) ) {s = 12;} - - else if ( LA64_0 == 59 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 12) ) {s = 13;} - - else if ( (LA64_0==30) ) {s = 14;} - - - input.seek(index64_0); - if ( s>=0 ) return s; - break; - } - NoViableAltException nvae = - new NoViableAltException(getDescription(), 64, _s, input); - error(nvae); - throw nvae; - } - } - - class DFA65 extends DFA { - - public DFA65(BaseRecognizer recognizer) { - this.recognizer = recognizer; - this.decisionNumber = 65; - this.eot = dfa_1; - this.eof = dfa_1; - this.min = dfa_2; - this.max = dfa_3; - this.accept = dfa_4; - this.special = dfa_5; - this.transition = dfa_6; - } - public String getDescription() { - return "9697:2: ( rule__GenerationTask__UnorderedGroup_3__2 )?"; + return "9735:3: ( ({...}? => ( ( ( rule__GenerationTask__Group_3_0__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_1__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_2__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_3__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_4__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_5__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_6__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_7__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_8__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_9__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_10__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_11__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_12__0 ) ) ) ) )"; } public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { TokenStream input = (TokenStream)_input; @@ -35802,31 +36610,29 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont s = -1; if ( LA65_0 == 35 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0) ) {s = 1;} - else if ( LA65_0 == 54 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1) ) {s = 2;} + else if ( LA65_0 == 56 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1) ) {s = 2;} else if ( LA65_0 == 38 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2) ) {s = 3;} - else if ( LA65_0 == 39 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3) ) {s = 4;} - - else if ( LA65_0 == 52 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4) ) {s = 5;} + else if ( LA65_0 == 41 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3) ) {s = 4;} - else if ( LA65_0 == 62 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5) ) {s = 6;} + else if ( LA65_0 == 54 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4) ) {s = 5;} - else if ( LA65_0 == 63 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6) ) {s = 7;} + else if ( LA65_0 == 64 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5) ) {s = 6;} - else if ( LA65_0 == 55 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7) ) {s = 8;} + else if ( LA65_0 == 65 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6) ) {s = 7;} - else if ( LA65_0 == 40 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8) ) {s = 9;} + else if ( LA65_0 == 57 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7) ) {s = 8;} - else if ( LA65_0 == 56 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9) ) {s = 10;} + else if ( LA65_0 == 42 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8) ) {s = 9;} - else if ( LA65_0 == 57 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10) ) {s = 11;} + else if ( LA65_0 == 58 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9) ) {s = 10;} - else if ( LA65_0 == 58 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11) ) {s = 12;} + else if ( LA65_0 == 59 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10) ) {s = 11;} - else if ( LA65_0 == 59 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 12) ) {s = 13;} + else if ( LA65_0 == 60 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11) ) {s = 12;} - else if ( (LA65_0==30) ) {s = 14;} + else if ( LA65_0 == 61 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 12) ) {s = 13;} input.seek(index65_0); @@ -35854,7 +36660,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont this.transition = dfa_6; } public String getDescription() { - return "9709:2: ( rule__GenerationTask__UnorderedGroup_3__3 )?"; + return "9945:2: ( rule__GenerationTask__UnorderedGroup_3__1 )?"; } public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { TokenStream input = (TokenStream)_input; @@ -35869,29 +36675,29 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont s = -1; if ( LA66_0 == 35 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0) ) {s = 1;} - else if ( LA66_0 == 54 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1) ) {s = 2;} + else if ( LA66_0 == 56 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1) ) {s = 2;} else if ( LA66_0 == 38 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2) ) {s = 3;} - else if ( LA66_0 == 39 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3) ) {s = 4;} + else if ( LA66_0 == 41 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3) ) {s = 4;} - else if ( LA66_0 == 52 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4) ) {s = 5;} + else if ( LA66_0 == 54 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4) ) {s = 5;} - else if ( LA66_0 == 62 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5) ) {s = 6;} + else if ( LA66_0 == 64 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5) ) {s = 6;} - else if ( LA66_0 == 63 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6) ) {s = 7;} + else if ( LA66_0 == 65 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6) ) {s = 7;} - else if ( LA66_0 == 55 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7) ) {s = 8;} + else if ( LA66_0 == 57 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7) ) {s = 8;} - else if ( LA66_0 == 40 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8) ) {s = 9;} + else if ( LA66_0 == 42 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8) ) {s = 9;} - else if ( LA66_0 == 56 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9) ) {s = 10;} + else if ( LA66_0 == 58 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9) ) {s = 10;} - else if ( LA66_0 == 57 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10) ) {s = 11;} + else if ( LA66_0 == 59 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10) ) {s = 11;} - else if ( LA66_0 == 58 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11) ) {s = 12;} + else if ( LA66_0 == 60 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11) ) {s = 12;} - else if ( LA66_0 == 59 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 12) ) {s = 13;} + else if ( LA66_0 == 61 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 12) ) {s = 13;} else if ( (LA66_0==30) ) {s = 14;} @@ -35921,7 +36727,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont this.transition = dfa_6; } public String getDescription() { - return "9721:2: ( rule__GenerationTask__UnorderedGroup_3__4 )?"; + return "9957:2: ( rule__GenerationTask__UnorderedGroup_3__2 )?"; } public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { TokenStream input = (TokenStream)_input; @@ -35936,29 +36742,29 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont s = -1; if ( LA67_0 == 35 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0) ) {s = 1;} - else if ( LA67_0 == 54 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1) ) {s = 2;} + else if ( LA67_0 == 56 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1) ) {s = 2;} else if ( LA67_0 == 38 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2) ) {s = 3;} - else if ( LA67_0 == 39 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3) ) {s = 4;} + else if ( LA67_0 == 41 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3) ) {s = 4;} - else if ( LA67_0 == 52 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4) ) {s = 5;} + else if ( LA67_0 == 54 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4) ) {s = 5;} - else if ( LA67_0 == 62 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5) ) {s = 6;} + else if ( LA67_0 == 64 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5) ) {s = 6;} - else if ( LA67_0 == 63 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6) ) {s = 7;} + else if ( LA67_0 == 65 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6) ) {s = 7;} - else if ( LA67_0 == 55 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7) ) {s = 8;} + else if ( LA67_0 == 57 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7) ) {s = 8;} - else if ( LA67_0 == 40 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8) ) {s = 9;} + else if ( LA67_0 == 42 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8) ) {s = 9;} - else if ( LA67_0 == 56 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9) ) {s = 10;} + else if ( LA67_0 == 58 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9) ) {s = 10;} - else if ( LA67_0 == 57 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10) ) {s = 11;} + else if ( LA67_0 == 59 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10) ) {s = 11;} - else if ( LA67_0 == 58 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11) ) {s = 12;} + else if ( LA67_0 == 60 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11) ) {s = 12;} - else if ( LA67_0 == 59 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 12) ) {s = 13;} + else if ( LA67_0 == 61 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 12) ) {s = 13;} else if ( (LA67_0==30) ) {s = 14;} @@ -35988,7 +36794,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont this.transition = dfa_6; } public String getDescription() { - return "9733:2: ( rule__GenerationTask__UnorderedGroup_3__5 )?"; + return "9969:2: ( rule__GenerationTask__UnorderedGroup_3__3 )?"; } public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { TokenStream input = (TokenStream)_input; @@ -36003,29 +36809,29 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont s = -1; if ( LA68_0 == 35 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0) ) {s = 1;} - else if ( LA68_0 == 54 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1) ) {s = 2;} + else if ( LA68_0 == 56 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1) ) {s = 2;} else if ( LA68_0 == 38 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2) ) {s = 3;} - else if ( LA68_0 == 39 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3) ) {s = 4;} + else if ( LA68_0 == 41 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3) ) {s = 4;} - else if ( LA68_0 == 52 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4) ) {s = 5;} + else if ( LA68_0 == 54 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4) ) {s = 5;} - else if ( LA68_0 == 62 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5) ) {s = 6;} + else if ( LA68_0 == 64 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5) ) {s = 6;} - else if ( LA68_0 == 63 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6) ) {s = 7;} + else if ( LA68_0 == 65 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6) ) {s = 7;} - else if ( LA68_0 == 55 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7) ) {s = 8;} + else if ( LA68_0 == 57 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7) ) {s = 8;} - else if ( LA68_0 == 40 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8) ) {s = 9;} + else if ( LA68_0 == 42 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8) ) {s = 9;} - else if ( LA68_0 == 56 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9) ) {s = 10;} + else if ( LA68_0 == 58 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9) ) {s = 10;} - else if ( LA68_0 == 57 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10) ) {s = 11;} + else if ( LA68_0 == 59 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10) ) {s = 11;} - else if ( LA68_0 == 58 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11) ) {s = 12;} + else if ( LA68_0 == 60 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11) ) {s = 12;} - else if ( LA68_0 == 59 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 12) ) {s = 13;} + else if ( LA68_0 == 61 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 12) ) {s = 13;} else if ( (LA68_0==30) ) {s = 14;} @@ -36055,7 +36861,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont this.transition = dfa_6; } public String getDescription() { - return "9745:2: ( rule__GenerationTask__UnorderedGroup_3__6 )?"; + return "9981:2: ( rule__GenerationTask__UnorderedGroup_3__4 )?"; } public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { TokenStream input = (TokenStream)_input; @@ -36070,29 +36876,29 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont s = -1; if ( LA69_0 == 35 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0) ) {s = 1;} - else if ( LA69_0 == 54 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1) ) {s = 2;} + else if ( LA69_0 == 56 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1) ) {s = 2;} else if ( LA69_0 == 38 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2) ) {s = 3;} - else if ( LA69_0 == 39 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3) ) {s = 4;} + else if ( LA69_0 == 41 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3) ) {s = 4;} - else if ( LA69_0 == 52 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4) ) {s = 5;} + else if ( LA69_0 == 54 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4) ) {s = 5;} - else if ( LA69_0 == 62 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5) ) {s = 6;} + else if ( LA69_0 == 64 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5) ) {s = 6;} - else if ( LA69_0 == 63 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6) ) {s = 7;} + else if ( LA69_0 == 65 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6) ) {s = 7;} - else if ( LA69_0 == 55 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7) ) {s = 8;} + else if ( LA69_0 == 57 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7) ) {s = 8;} - else if ( LA69_0 == 40 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8) ) {s = 9;} + else if ( LA69_0 == 42 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8) ) {s = 9;} - else if ( LA69_0 == 56 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9) ) {s = 10;} + else if ( LA69_0 == 58 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9) ) {s = 10;} - else if ( LA69_0 == 57 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10) ) {s = 11;} + else if ( LA69_0 == 59 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10) ) {s = 11;} - else if ( LA69_0 == 58 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11) ) {s = 12;} + else if ( LA69_0 == 60 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11) ) {s = 12;} - else if ( LA69_0 == 59 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 12) ) {s = 13;} + else if ( LA69_0 == 61 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 12) ) {s = 13;} else if ( (LA69_0==30) ) {s = 14;} @@ -36122,7 +36928,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont this.transition = dfa_6; } public String getDescription() { - return "9757:2: ( rule__GenerationTask__UnorderedGroup_3__7 )?"; + return "9993:2: ( rule__GenerationTask__UnorderedGroup_3__5 )?"; } public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { TokenStream input = (TokenStream)_input; @@ -36137,29 +36943,29 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont s = -1; if ( LA70_0 == 35 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0) ) {s = 1;} - else if ( LA70_0 == 54 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1) ) {s = 2;} + else if ( LA70_0 == 56 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1) ) {s = 2;} else if ( LA70_0 == 38 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2) ) {s = 3;} - else if ( LA70_0 == 39 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3) ) {s = 4;} + else if ( LA70_0 == 41 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3) ) {s = 4;} - else if ( LA70_0 == 52 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4) ) {s = 5;} + else if ( LA70_0 == 54 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4) ) {s = 5;} - else if ( LA70_0 == 62 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5) ) {s = 6;} + else if ( LA70_0 == 64 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5) ) {s = 6;} - else if ( LA70_0 == 63 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6) ) {s = 7;} + else if ( LA70_0 == 65 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6) ) {s = 7;} - else if ( LA70_0 == 55 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7) ) {s = 8;} + else if ( LA70_0 == 57 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7) ) {s = 8;} - else if ( LA70_0 == 40 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8) ) {s = 9;} + else if ( LA70_0 == 42 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8) ) {s = 9;} - else if ( LA70_0 == 56 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9) ) {s = 10;} + else if ( LA70_0 == 58 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9) ) {s = 10;} - else if ( LA70_0 == 57 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10) ) {s = 11;} + else if ( LA70_0 == 59 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10) ) {s = 11;} - else if ( LA70_0 == 58 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11) ) {s = 12;} + else if ( LA70_0 == 60 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11) ) {s = 12;} - else if ( LA70_0 == 59 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 12) ) {s = 13;} + else if ( LA70_0 == 61 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 12) ) {s = 13;} else if ( (LA70_0==30) ) {s = 14;} @@ -36189,7 +36995,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont this.transition = dfa_6; } public String getDescription() { - return "9769:2: ( rule__GenerationTask__UnorderedGroup_3__8 )?"; + return "10005:2: ( rule__GenerationTask__UnorderedGroup_3__6 )?"; } public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { TokenStream input = (TokenStream)_input; @@ -36204,29 +37010,29 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont s = -1; if ( LA71_0 == 35 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0) ) {s = 1;} - else if ( LA71_0 == 54 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1) ) {s = 2;} + else if ( LA71_0 == 56 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1) ) {s = 2;} else if ( LA71_0 == 38 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2) ) {s = 3;} - else if ( LA71_0 == 39 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3) ) {s = 4;} + else if ( LA71_0 == 41 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3) ) {s = 4;} - else if ( LA71_0 == 52 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4) ) {s = 5;} + else if ( LA71_0 == 54 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4) ) {s = 5;} - else if ( LA71_0 == 62 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5) ) {s = 6;} + else if ( LA71_0 == 64 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5) ) {s = 6;} - else if ( LA71_0 == 63 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6) ) {s = 7;} + else if ( LA71_0 == 65 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6) ) {s = 7;} - else if ( LA71_0 == 55 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7) ) {s = 8;} + else if ( LA71_0 == 57 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7) ) {s = 8;} - else if ( LA71_0 == 40 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8) ) {s = 9;} + else if ( LA71_0 == 42 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8) ) {s = 9;} - else if ( LA71_0 == 56 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9) ) {s = 10;} + else if ( LA71_0 == 58 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9) ) {s = 10;} - else if ( LA71_0 == 57 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10) ) {s = 11;} + else if ( LA71_0 == 59 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10) ) {s = 11;} - else if ( LA71_0 == 58 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11) ) {s = 12;} + else if ( LA71_0 == 60 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11) ) {s = 12;} - else if ( LA71_0 == 59 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 12) ) {s = 13;} + else if ( LA71_0 == 61 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 12) ) {s = 13;} else if ( (LA71_0==30) ) {s = 14;} @@ -36256,7 +37062,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont this.transition = dfa_6; } public String getDescription() { - return "9781:2: ( rule__GenerationTask__UnorderedGroup_3__9 )?"; + return "10017:2: ( rule__GenerationTask__UnorderedGroup_3__7 )?"; } public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { TokenStream input = (TokenStream)_input; @@ -36271,29 +37077,29 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont s = -1; if ( LA72_0 == 35 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0) ) {s = 1;} - else if ( LA72_0 == 54 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1) ) {s = 2;} + else if ( LA72_0 == 56 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1) ) {s = 2;} else if ( LA72_0 == 38 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2) ) {s = 3;} - else if ( LA72_0 == 39 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3) ) {s = 4;} + else if ( LA72_0 == 41 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3) ) {s = 4;} - else if ( LA72_0 == 52 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4) ) {s = 5;} + else if ( LA72_0 == 54 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4) ) {s = 5;} - else if ( LA72_0 == 62 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5) ) {s = 6;} + else if ( LA72_0 == 64 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5) ) {s = 6;} - else if ( LA72_0 == 63 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6) ) {s = 7;} + else if ( LA72_0 == 65 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6) ) {s = 7;} - else if ( LA72_0 == 55 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7) ) {s = 8;} + else if ( LA72_0 == 57 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7) ) {s = 8;} - else if ( LA72_0 == 40 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8) ) {s = 9;} + else if ( LA72_0 == 42 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8) ) {s = 9;} - else if ( LA72_0 == 56 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9) ) {s = 10;} + else if ( LA72_0 == 58 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9) ) {s = 10;} - else if ( LA72_0 == 57 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10) ) {s = 11;} + else if ( LA72_0 == 59 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10) ) {s = 11;} - else if ( LA72_0 == 58 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11) ) {s = 12;} + else if ( LA72_0 == 60 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11) ) {s = 12;} - else if ( LA72_0 == 59 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 12) ) {s = 13;} + else if ( LA72_0 == 61 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 12) ) {s = 13;} else if ( (LA72_0==30) ) {s = 14;} @@ -36323,7 +37129,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont this.transition = dfa_6; } public String getDescription() { - return "9793:2: ( rule__GenerationTask__UnorderedGroup_3__10 )?"; + return "10029:2: ( rule__GenerationTask__UnorderedGroup_3__8 )?"; } public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { TokenStream input = (TokenStream)_input; @@ -36338,29 +37144,29 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont s = -1; if ( LA73_0 == 35 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0) ) {s = 1;} - else if ( LA73_0 == 54 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1) ) {s = 2;} + else if ( LA73_0 == 56 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1) ) {s = 2;} else if ( LA73_0 == 38 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2) ) {s = 3;} - else if ( LA73_0 == 39 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3) ) {s = 4;} + else if ( LA73_0 == 41 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3) ) {s = 4;} - else if ( LA73_0 == 52 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4) ) {s = 5;} + else if ( LA73_0 == 54 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4) ) {s = 5;} - else if ( LA73_0 == 62 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5) ) {s = 6;} + else if ( LA73_0 == 64 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5) ) {s = 6;} - else if ( LA73_0 == 63 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6) ) {s = 7;} + else if ( LA73_0 == 65 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6) ) {s = 7;} - else if ( LA73_0 == 55 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7) ) {s = 8;} + else if ( LA73_0 == 57 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7) ) {s = 8;} - else if ( LA73_0 == 40 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8) ) {s = 9;} + else if ( LA73_0 == 42 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8) ) {s = 9;} - else if ( LA73_0 == 56 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9) ) {s = 10;} + else if ( LA73_0 == 58 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9) ) {s = 10;} - else if ( LA73_0 == 57 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10) ) {s = 11;} + else if ( LA73_0 == 59 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10) ) {s = 11;} - else if ( LA73_0 == 58 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11) ) {s = 12;} + else if ( LA73_0 == 60 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11) ) {s = 12;} - else if ( LA73_0 == 59 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 12) ) {s = 13;} + else if ( LA73_0 == 61 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 12) ) {s = 13;} else if ( (LA73_0==30) ) {s = 14;} @@ -36390,7 +37196,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont this.transition = dfa_6; } public String getDescription() { - return "9805:2: ( rule__GenerationTask__UnorderedGroup_3__11 )?"; + return "10041:2: ( rule__GenerationTask__UnorderedGroup_3__9 )?"; } public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { TokenStream input = (TokenStream)_input; @@ -36405,29 +37211,29 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont s = -1; if ( LA74_0 == 35 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0) ) {s = 1;} - else if ( LA74_0 == 54 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1) ) {s = 2;} + else if ( LA74_0 == 56 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1) ) {s = 2;} else if ( LA74_0 == 38 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2) ) {s = 3;} - else if ( LA74_0 == 39 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3) ) {s = 4;} + else if ( LA74_0 == 41 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3) ) {s = 4;} - else if ( LA74_0 == 52 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4) ) {s = 5;} + else if ( LA74_0 == 54 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4) ) {s = 5;} - else if ( LA74_0 == 62 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5) ) {s = 6;} + else if ( LA74_0 == 64 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5) ) {s = 6;} - else if ( LA74_0 == 63 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6) ) {s = 7;} + else if ( LA74_0 == 65 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6) ) {s = 7;} - else if ( LA74_0 == 55 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7) ) {s = 8;} + else if ( LA74_0 == 57 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7) ) {s = 8;} - else if ( LA74_0 == 40 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8) ) {s = 9;} + else if ( LA74_0 == 42 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8) ) {s = 9;} - else if ( LA74_0 == 56 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9) ) {s = 10;} + else if ( LA74_0 == 58 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9) ) {s = 10;} - else if ( LA74_0 == 57 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10) ) {s = 11;} + else if ( LA74_0 == 59 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10) ) {s = 11;} - else if ( LA74_0 == 58 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11) ) {s = 12;} + else if ( LA74_0 == 60 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11) ) {s = 12;} - else if ( LA74_0 == 59 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 12) ) {s = 13;} + else if ( LA74_0 == 61 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 12) ) {s = 13;} else if ( (LA74_0==30) ) {s = 14;} @@ -36457,7 +37263,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont this.transition = dfa_6; } public String getDescription() { - return "9817:2: ( rule__GenerationTask__UnorderedGroup_3__12 )?"; + return "10053:2: ( rule__GenerationTask__UnorderedGroup_3__10 )?"; } public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { TokenStream input = (TokenStream)_input; @@ -36472,29 +37278,29 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont s = -1; if ( LA75_0 == 35 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0) ) {s = 1;} - else if ( LA75_0 == 54 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1) ) {s = 2;} + else if ( LA75_0 == 56 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1) ) {s = 2;} else if ( LA75_0 == 38 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2) ) {s = 3;} - else if ( LA75_0 == 39 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3) ) {s = 4;} + else if ( LA75_0 == 41 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3) ) {s = 4;} - else if ( LA75_0 == 52 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4) ) {s = 5;} + else if ( LA75_0 == 54 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4) ) {s = 5;} - else if ( LA75_0 == 62 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5) ) {s = 6;} + else if ( LA75_0 == 64 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5) ) {s = 6;} - else if ( LA75_0 == 63 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6) ) {s = 7;} + else if ( LA75_0 == 65 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6) ) {s = 7;} - else if ( LA75_0 == 55 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7) ) {s = 8;} + else if ( LA75_0 == 57 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7) ) {s = 8;} - else if ( LA75_0 == 40 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8) ) {s = 9;} + else if ( LA75_0 == 42 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8) ) {s = 9;} - else if ( LA75_0 == 56 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9) ) {s = 10;} + else if ( LA75_0 == 58 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9) ) {s = 10;} - else if ( LA75_0 == 57 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10) ) {s = 11;} + else if ( LA75_0 == 59 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10) ) {s = 11;} - else if ( LA75_0 == 58 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11) ) {s = 12;} + else if ( LA75_0 == 60 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11) ) {s = 12;} - else if ( LA75_0 == 59 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 12) ) {s = 13;} + else if ( LA75_0 == 61 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 12) ) {s = 13;} else if ( (LA75_0==30) ) {s = 14;} @@ -36509,13 +37315,147 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont throw nvae; } } + + class DFA76 extends DFA { + + public DFA76(BaseRecognizer recognizer) { + this.recognizer = recognizer; + this.decisionNumber = 76; + this.eot = dfa_1; + this.eof = dfa_1; + this.min = dfa_2; + this.max = dfa_3; + this.accept = dfa_4; + this.special = dfa_5; + this.transition = dfa_6; + } + public String getDescription() { + return "10065:2: ( rule__GenerationTask__UnorderedGroup_3__11 )?"; + } + public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { + TokenStream input = (TokenStream)_input; + int _s = s; + switch ( s ) { + case 0 : + int LA76_0 = input.LA(1); + + + int index76_0 = input.index(); + input.rewind(); + s = -1; + if ( LA76_0 == 35 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0) ) {s = 1;} + + else if ( LA76_0 == 56 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1) ) {s = 2;} + + else if ( LA76_0 == 38 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2) ) {s = 3;} + + else if ( LA76_0 == 41 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3) ) {s = 4;} + + else if ( LA76_0 == 54 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4) ) {s = 5;} + + else if ( LA76_0 == 64 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5) ) {s = 6;} + + else if ( LA76_0 == 65 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6) ) {s = 7;} + + else if ( LA76_0 == 57 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7) ) {s = 8;} + + else if ( LA76_0 == 42 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8) ) {s = 9;} + + else if ( LA76_0 == 58 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9) ) {s = 10;} + + else if ( LA76_0 == 59 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10) ) {s = 11;} + + else if ( LA76_0 == 60 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11) ) {s = 12;} + + else if ( LA76_0 == 61 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 12) ) {s = 13;} + + else if ( (LA76_0==30) ) {s = 14;} + + + input.seek(index76_0); + if ( s>=0 ) return s; + break; + } + NoViableAltException nvae = + new NoViableAltException(getDescription(), 76, _s, input); + error(nvae); + throw nvae; + } + } + + class DFA77 extends DFA { + + public DFA77(BaseRecognizer recognizer) { + this.recognizer = recognizer; + this.decisionNumber = 77; + this.eot = dfa_1; + this.eof = dfa_1; + this.min = dfa_2; + this.max = dfa_3; + this.accept = dfa_4; + this.special = dfa_5; + this.transition = dfa_6; + } + public String getDescription() { + return "10077:2: ( rule__GenerationTask__UnorderedGroup_3__12 )?"; + } + public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { + TokenStream input = (TokenStream)_input; + int _s = s; + switch ( s ) { + case 0 : + int LA77_0 = input.LA(1); + + + int index77_0 = input.index(); + input.rewind(); + s = -1; + if ( LA77_0 == 35 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0) ) {s = 1;} + + else if ( LA77_0 == 56 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1) ) {s = 2;} + + else if ( LA77_0 == 38 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2) ) {s = 3;} + + else if ( LA77_0 == 41 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3) ) {s = 4;} + + else if ( LA77_0 == 54 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4) ) {s = 5;} + + else if ( LA77_0 == 64 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5) ) {s = 6;} + + else if ( LA77_0 == 65 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6) ) {s = 7;} + + else if ( LA77_0 == 57 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7) ) {s = 8;} + + else if ( LA77_0 == 42 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8) ) {s = 9;} + + else if ( LA77_0 == 58 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9) ) {s = 10;} + + else if ( LA77_0 == 59 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10) ) {s = 11;} + + else if ( LA77_0 == 60 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11) ) {s = 12;} + + else if ( LA77_0 == 61 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 12) ) {s = 13;} + + else if ( (LA77_0==30) ) {s = 14;} + + + input.seek(index77_0); + if ( s>=0 ) return s; + break; + } + NoViableAltException nvae = + new NoViableAltException(getDescription(), 77, _s, input); + error(nvae); + throw nvae; + } + } public static final BitSet FOLLOW_1 = new BitSet(new long[]{0x0000000000000000L}); public static final BitSet FOLLOW_2 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_3 = new BitSet(new long[]{0x003001E808000000L}); + public static final BitSet FOLLOW_3 = new BitSet(new long[]{0x00C0066808000000L}); public static final BitSet FOLLOW_4 = new BitSet(new long[]{0x0000000000800002L}); - public static final BitSet FOLLOW_5 = new BitSet(new long[]{0x003001E808000002L}); + public static final BitSet FOLLOW_5 = new BitSet(new long[]{0x00C0066808000002L}); public static final BitSet FOLLOW_6 = new BitSet(new long[]{0x0000000000200000L}); public static final BitSet FOLLOW_7 = new BitSet(new long[]{0x0000000000200002L}); public static final BitSet FOLLOW_8 = new BitSet(new long[]{0x0000000000000010L}); @@ -36533,31 +37473,32 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont public static final BitSet FOLLOW_20 = new BitSet(new long[]{0x0000000400000000L}); public static final BitSet FOLLOW_21 = new BitSet(new long[]{0x0000001000000050L}); public static final BitSet FOLLOW_22 = new BitSet(new long[]{0x0000000000000050L}); - public static final BitSet FOLLOW_23 = new BitSet(new long[]{0x0000000004001800L}); + public static final BitSet FOLLOW_23 = new BitSet(new long[]{0x0000010004001800L}); public static final BitSet FOLLOW_24 = new BitSet(new long[]{0x0000000000006000L}); public static final BitSet FOLLOW_25 = new BitSet(new long[]{0x0000000000400020L}); - public static final BitSet FOLLOW_26 = new BitSet(new long[]{0x00000E0040000040L}); - public static final BitSet FOLLOW_27 = new BitSet(new long[]{0x0000000080000000L}); - public static final BitSet FOLLOW_28 = new BitSet(new long[]{0x00000E0000000040L}); - public static final BitSet FOLLOW_29 = new BitSet(new long[]{0x0000000000038000L}); - public static final BitSet FOLLOW_30 = new BitSet(new long[]{0x0000100040000000L}); - public static final BitSet FOLLOW_31 = new BitSet(new long[]{0x0000100000000000L}); - public static final BitSet FOLLOW_32 = new BitSet(new long[]{0x0000200000000000L}); - public static final BitSet FOLLOW_33 = new BitSet(new long[]{0x1000000010000000L}); - public static final BitSet FOLLOW_34 = new BitSet(new long[]{0x2000000000000020L}); - public static final BitSet FOLLOW_35 = new BitSet(new long[]{0x0000800000000000L}); - public static final BitSet FOLLOW_36 = new BitSet(new long[]{0x0001000000000000L}); - public static final BitSet FOLLOW_37 = new BitSet(new long[]{0x2000000020000020L}); - public static final BitSet FOLLOW_38 = new BitSet(new long[]{0x0002000000000000L}); - public static final BitSet FOLLOW_39 = new BitSet(new long[]{0x0004000000000000L}); - public static final BitSet FOLLOW_40 = new BitSet(new long[]{0x0000400000000000L}); - public static final BitSet FOLLOW_41 = new BitSet(new long[]{0x0008000000000000L}); - public static final BitSet FOLLOW_42 = new BitSet(new long[]{0x0000000040400020L}); - public static final BitSet FOLLOW_43 = new BitSet(new long[]{0x0000000040000040L}); - public static final BitSet FOLLOW_44 = new BitSet(new long[]{0xCFD001C800000000L}); - public static final BitSet FOLLOW_45 = new BitSet(new long[]{0x0000000040000000L}); - public static final BitSet FOLLOW_46 = new BitSet(new long[]{0x0000000020000010L}); - public static final BitSet FOLLOW_47 = new BitSet(new long[]{0x00000000001C0000L}); - public static final BitSet FOLLOW_48 = new BitSet(new long[]{0xCFD001C800000002L}); + public static final BitSet FOLLOW_26 = new BitSet(new long[]{0x0000008000000000L}); + public static final BitSet FOLLOW_27 = new BitSet(new long[]{0x0000380040000040L}); + public static final BitSet FOLLOW_28 = new BitSet(new long[]{0x0000000080000000L}); + public static final BitSet FOLLOW_29 = new BitSet(new long[]{0x0000380000000040L}); + public static final BitSet FOLLOW_30 = new BitSet(new long[]{0x0000000000038000L}); + public static final BitSet FOLLOW_31 = new BitSet(new long[]{0x0000400040000000L}); + public static final BitSet FOLLOW_32 = new BitSet(new long[]{0x0000400000000000L}); + public static final BitSet FOLLOW_33 = new BitSet(new long[]{0x0000800000000000L}); + public static final BitSet FOLLOW_34 = new BitSet(new long[]{0x4000000010000000L}); + public static final BitSet FOLLOW_35 = new BitSet(new long[]{0x8000000000000020L}); + public static final BitSet FOLLOW_36 = new BitSet(new long[]{0x0002000000000000L}); + public static final BitSet FOLLOW_37 = new BitSet(new long[]{0x0004000000000000L}); + public static final BitSet FOLLOW_38 = new BitSet(new long[]{0x8000000020000020L}); + public static final BitSet FOLLOW_39 = new BitSet(new long[]{0x0008000000000000L}); + public static final BitSet FOLLOW_40 = new BitSet(new long[]{0x0010000000000000L}); + public static final BitSet FOLLOW_41 = new BitSet(new long[]{0x0001000000000000L}); + public static final BitSet FOLLOW_42 = new BitSet(new long[]{0x0020000000000000L}); + public static final BitSet FOLLOW_43 = new BitSet(new long[]{0x0000000040400020L}); + public static final BitSet FOLLOW_44 = new BitSet(new long[]{0x0000000040000040L}); + public static final BitSet FOLLOW_45 = new BitSet(new long[]{0x3F40064800000000L,0x0000000000000003L}); + public static final BitSet FOLLOW_46 = new BitSet(new long[]{0x0000000040000000L}); + public static final BitSet FOLLOW_47 = new BitSet(new long[]{0x0000000020000010L}); + public static final BitSet FOLLOW_48 = new BitSet(new long[]{0x00000000001C0000L}); + public static final BitSet FOLLOW_49 = new BitSet(new long[]{0x3F40064800000002L,0x0000000000000003L}); } diff --git a/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeModule.xtendbin b/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeModule.xtendbin index 108c216d..213b9134 100644 Binary files a/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeModule.xtendbin and b/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeModule.xtendbin differ diff --git a/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeSetup.xtendbin b/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeSetup.xtendbin index 3d9da5ce..21d26265 100644 Binary files a/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeSetup.xtendbin and b/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeSetup.xtendbin differ diff --git a/Application/hu.bme.mit.inf.dslreasoner.application.ui/src-gen/hu/bme/mit/inf/dslreasoner/application/ui/contentassist/AbstractApplicationConfigurationProposalProvider.java b/Application/hu.bme.mit.inf.dslreasoner.application.ui/src-gen/hu/bme/mit/inf/dslreasoner/application/ui/contentassist/AbstractApplicationConfigurationProposalProvider.java index 31ab317d..23b0c4c2 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application.ui/src-gen/hu/bme/mit/inf/dslreasoner/application/ui/contentassist/AbstractApplicationConfigurationProposalProvider.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application.ui/src-gen/hu/bme/mit/inf/dslreasoner/application/ui/contentassist/AbstractApplicationConfigurationProposalProvider.java @@ -135,10 +135,19 @@ public abstract class AbstractApplicationConfigurationProposalProvider extends T public void completeThresholdEntry_Threshold(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); } - public void completeReliabiltiyFunction_Package(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + public void completeReliabiltiyProbability_Package(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); } - public void completeReliabiltiyFunction_Transformation(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + public void completeReliabiltiyProbability_Transformation(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); + } + public void completeReliabiltiyProbability_Time(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeMtff_Package(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); + } + public void completeMtff_Transformation(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); } public void completeObjectiveDeclaration_Name(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { @@ -448,7 +457,13 @@ public abstract class AbstractApplicationConfigurationProposalProvider extends T public void complete_ObjectiveFunction(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { // subclasses may override } - public void complete_ReliabiltiyFunction(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + public void complete_ReliabilityObjectiveFunction(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_ReliabiltiyProbability(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_Mtff(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { // subclasses may override } public void complete_ObjectiveDeclaration(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { 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 7b842399..5ffe633a 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 @@ -122,10 +122,14 @@ - + + + + + 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 4a3c33fe..1a1e7896 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 @@ -122,10 +122,14 @@ - - - + + + + + + + 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 d1600b7b..e1c01c3d 100644 Binary files a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/ApplicationConfiguration.xtextbin and b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/ApplicationConfiguration.xtextbin differ diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ApplicationConfigurationFactory.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ApplicationConfigurationFactory.java index 3b639669..a241d6db 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ApplicationConfigurationFactory.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ApplicationConfigurationFactory.java @@ -357,13 +357,31 @@ public interface ApplicationConfigurationFactory extends EFactory ObjectiveFunction createObjectiveFunction(); /** - * Returns a new object of class 'Reliabiltiy Function'. + * Returns a new object of class 'Reliability Objective Function'. * * - * @return a new object of class 'Reliabiltiy Function'. + * @return a new object of class 'Reliability Objective Function'. * @generated */ - ReliabiltiyFunction createReliabiltiyFunction(); + ReliabilityObjectiveFunction createReliabilityObjectiveFunction(); + + /** + * Returns a new object of class 'Reliabiltiy Probability'. + * + * + * @return a new object of class 'Reliabiltiy Probability'. + * @generated + */ + ReliabiltiyProbability createReliabiltiyProbability(); + + /** + * Returns a new object of class 'Mtff'. + * + * + * @return a new object of class 'Mtff'. + * @generated + */ + Mtff createMtff(); /** * Returns a new object of class 'Objective Declaration'. 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 a3af3bae..96603dc5 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 @@ -1007,7 +1007,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getObjective() * @generated */ - int OBJECTIVE = 40; + int OBJECTIVE = 42; /** * The number of structural features of the 'Objective' class. @@ -1177,14 +1177,14 @@ public interface ApplicationConfigurationPackage extends EPackage int OBJECTIVE_FUNCTION_FEATURE_COUNT = 0; /** - * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ReliabiltiyFunctionImpl Reliabiltiy Function}' class. + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ReliabilityObjectiveFunctionImpl Reliability Objective Function}' class. * * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ReliabiltiyFunctionImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getReliabiltiyFunction() + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ReliabilityObjectiveFunctionImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getReliabilityObjectiveFunction() * @generated */ - int RELIABILTIY_FUNCTION = 37; + int RELIABILITY_OBJECTIVE_FUNCTION = 37; /** * The feature id for the 'Package' reference. @@ -1193,7 +1193,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @generated * @ordered */ - int RELIABILTIY_FUNCTION__PACKAGE = OBJECTIVE_FUNCTION_FEATURE_COUNT + 0; + int RELIABILITY_OBJECTIVE_FUNCTION__PACKAGE = OBJECTIVE_FUNCTION_FEATURE_COUNT + 0; /** * The feature id for the 'Transformation' reference. @@ -1202,16 +1202,99 @@ public interface ApplicationConfigurationPackage extends EPackage * @generated * @ordered */ - int RELIABILTIY_FUNCTION__TRANSFORMATION = OBJECTIVE_FUNCTION_FEATURE_COUNT + 1; + int RELIABILITY_OBJECTIVE_FUNCTION__TRANSFORMATION = OBJECTIVE_FUNCTION_FEATURE_COUNT + 1; /** - * The number of structural features of the 'Reliabiltiy Function' class. + * The number of structural features of the 'Reliability Objective Function' class. * * * @generated * @ordered */ - int RELIABILTIY_FUNCTION_FEATURE_COUNT = OBJECTIVE_FUNCTION_FEATURE_COUNT + 2; + int RELIABILITY_OBJECTIVE_FUNCTION_FEATURE_COUNT = OBJECTIVE_FUNCTION_FEATURE_COUNT + 2; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ReliabiltiyProbabilityImpl Reliabiltiy Probability}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ReliabiltiyProbabilityImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getReliabiltiyProbability() + * @generated + */ + int RELIABILTIY_PROBABILITY = 38; + + /** + * The feature id for the 'Package' reference. + * + * + * @generated + * @ordered + */ + int RELIABILTIY_PROBABILITY__PACKAGE = RELIABILITY_OBJECTIVE_FUNCTION__PACKAGE; + + /** + * The feature id for the 'Transformation' reference. + * + * + * @generated + * @ordered + */ + int RELIABILTIY_PROBABILITY__TRANSFORMATION = RELIABILITY_OBJECTIVE_FUNCTION__TRANSFORMATION; + + /** + * The feature id for the 'Time' attribute. + * + * + * @generated + * @ordered + */ + int RELIABILTIY_PROBABILITY__TIME = RELIABILITY_OBJECTIVE_FUNCTION_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'Reliabiltiy Probability' class. + * + * + * @generated + * @ordered + */ + int RELIABILTIY_PROBABILITY_FEATURE_COUNT = RELIABILITY_OBJECTIVE_FUNCTION_FEATURE_COUNT + 1; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MtffImpl Mtff}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MtffImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getMtff() + * @generated + */ + int MTFF = 39; + + /** + * The feature id for the 'Package' reference. + * + * + * @generated + * @ordered + */ + int MTFF__PACKAGE = RELIABILITY_OBJECTIVE_FUNCTION__PACKAGE; + + /** + * The feature id for the 'Transformation' reference. + * + * + * @generated + * @ordered + */ + int MTFF__TRANSFORMATION = RELIABILITY_OBJECTIVE_FUNCTION__TRANSFORMATION; + + /** + * The number of structural features of the 'Mtff' class. + * + * + * @generated + * @ordered + */ + int MTFF_FEATURE_COUNT = RELIABILITY_OBJECTIVE_FUNCTION_FEATURE_COUNT + 0; /** * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ObjectiveDeclarationImpl Objective Declaration}' class. @@ -1221,7 +1304,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getObjectiveDeclaration() * @generated */ - int OBJECTIVE_DECLARATION = 38; + int OBJECTIVE_DECLARATION = 40; /** * The feature id for the 'Name' attribute. @@ -1258,7 +1341,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getObjectiveReference() * @generated */ - int OBJECTIVE_REFERENCE = 39; + int OBJECTIVE_REFERENCE = 41; /** * The feature id for the 'Referred' reference. @@ -1286,7 +1369,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getConfig() * @generated */ - int CONFIG = 49; + int CONFIG = 51; /** * The number of structural features of the 'Config' class. @@ -1305,7 +1388,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getConfigSpecification() * @generated */ - int CONFIG_SPECIFICATION = 41; + int CONFIG_SPECIFICATION = 43; /** * The feature id for the 'Entries' containment reference list. @@ -1333,7 +1416,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getConfigDeclaration() * @generated */ - int CONFIG_DECLARATION = 42; + int CONFIG_DECLARATION = 44; /** * The feature id for the 'Name' attribute. @@ -1370,7 +1453,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getConfigEntry() * @generated */ - int CONFIG_ENTRY = 43; + int CONFIG_ENTRY = 45; /** * The number of structural features of the 'Config Entry' class. @@ -1389,7 +1472,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getDocumentationEntry() * @generated */ - int DOCUMENTATION_ENTRY = 44; + int DOCUMENTATION_ENTRY = 46; /** * The feature id for the 'Level' attribute. @@ -1417,7 +1500,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getRuntimeEntry() * @generated */ - int RUNTIME_ENTRY = 45; + int RUNTIME_ENTRY = 47; /** * The feature id for the 'Millisec Limit' attribute. @@ -1445,7 +1528,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getMemoryEntry() * @generated */ - int MEMORY_ENTRY = 46; + int MEMORY_ENTRY = 48; /** * The feature id for the 'Megabyte Limit' attribute. @@ -1473,7 +1556,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getCustomEntry() * @generated */ - int CUSTOM_ENTRY = 47; + int CUSTOM_ENTRY = 49; /** * The feature id for the 'Key' attribute. @@ -1510,7 +1593,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getConfigReference() * @generated */ - int CONFIG_REFERENCE = 48; + int CONFIG_REFERENCE = 50; /** * The feature id for the 'Config' reference. @@ -1538,7 +1621,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getScope() * @generated */ - int SCOPE = 71; + int SCOPE = 73; /** * The number of structural features of the 'Scope' class. @@ -1557,7 +1640,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getScopeSpecification() * @generated */ - int SCOPE_SPECIFICATION = 50; + int SCOPE_SPECIFICATION = 52; /** * The feature id for the 'Scopes' containment reference list. @@ -1585,7 +1668,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getTypeScope() * @generated */ - int TYPE_SCOPE = 51; + int TYPE_SCOPE = 53; /** * The feature id for the 'Sets New' attribute. @@ -1631,7 +1714,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getClassTypeScope() * @generated */ - int CLASS_TYPE_SCOPE = 52; + int CLASS_TYPE_SCOPE = 54; /** * The feature id for the 'Sets New' attribute. @@ -1686,7 +1769,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getObjectTypeScope() * @generated */ - int OBJECT_TYPE_SCOPE = 53; + int OBJECT_TYPE_SCOPE = 55; /** * The feature id for the 'Sets New' attribute. @@ -1741,7 +1824,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getIntegerTypeScope() * @generated */ - int INTEGER_TYPE_SCOPE = 54; + int INTEGER_TYPE_SCOPE = 56; /** * The feature id for the 'Sets New' attribute. @@ -1796,7 +1879,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getRealTypeScope() * @generated */ - int REAL_TYPE_SCOPE = 55; + int REAL_TYPE_SCOPE = 57; /** * The feature id for the 'Sets New' attribute. @@ -1851,7 +1934,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getStringTypeScope() * @generated */ - int STRING_TYPE_SCOPE = 56; + int STRING_TYPE_SCOPE = 58; /** * The feature id for the 'Sets New' attribute. @@ -1906,7 +1989,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getTypeReference() * @generated */ - int TYPE_REFERENCE = 57; + int TYPE_REFERENCE = 59; /** * The number of structural features of the 'Type Reference' class. @@ -1925,7 +2008,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getClassReference() * @generated */ - int CLASS_REFERENCE = 58; + int CLASS_REFERENCE = 60; /** * The feature id for the 'Element' containment reference. @@ -1953,7 +2036,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getObjectReference() * @generated */ - int OBJECT_REFERENCE = 59; + int OBJECT_REFERENCE = 61; /** * The number of structural features of the 'Object Reference' class. @@ -1972,7 +2055,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getIntegerReference() * @generated */ - int INTEGER_REFERENCE = 60; + int INTEGER_REFERENCE = 62; /** * The number of structural features of the 'Integer Reference' class. @@ -1991,7 +2074,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getRealReference() * @generated */ - int REAL_REFERENCE = 61; + int REAL_REFERENCE = 63; /** * The number of structural features of the 'Real Reference' class. @@ -2010,7 +2093,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getStringReference() * @generated */ - int STRING_REFERENCE = 62; + int STRING_REFERENCE = 64; /** * The number of structural features of the 'String Reference' class. @@ -2029,7 +2112,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getNumberSpecification() * @generated */ - int NUMBER_SPECIFICATION = 63; + int NUMBER_SPECIFICATION = 65; /** * The number of structural features of the 'Number Specification' class. @@ -2048,7 +2131,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getExactNumber() * @generated */ - int EXACT_NUMBER = 64; + int EXACT_NUMBER = 66; /** * The feature id for the 'Exact Number' attribute. @@ -2085,7 +2168,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getIntervallNumber() * @generated */ - int INTERVALL_NUMBER = 65; + int INTERVALL_NUMBER = 67; /** * The feature id for the 'Min' attribute. @@ -2131,7 +2214,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getIntEnumberation() * @generated */ - int INT_ENUMBERATION = 66; + int INT_ENUMBERATION = 68; /** * The feature id for the 'Entry' attribute list. @@ -2159,7 +2242,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getRealEnumeration() * @generated */ - int REAL_ENUMERATION = 67; + int REAL_ENUMERATION = 69; /** * The feature id for the 'Entry' attribute list. @@ -2187,7 +2270,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getStringEnumeration() * @generated */ - int STRING_ENUMERATION = 68; + int STRING_ENUMERATION = 70; /** * The feature id for the 'Entry' attribute list. @@ -2215,7 +2298,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getScopeDeclaration() * @generated */ - int SCOPE_DECLARATION = 69; + int SCOPE_DECLARATION = 71; /** * The feature id for the 'Name' attribute. @@ -2252,7 +2335,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getScopeReference() * @generated */ - int SCOPE_REFERENCE = 70; + int SCOPE_REFERENCE = 72; /** * The feature id for the 'Referred' reference. @@ -2280,7 +2363,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getTask() * @generated */ - int TASK = 72; + int TASK = 74; /** * The number of structural features of the 'Task' class. @@ -2299,7 +2382,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getGenerationTask() * @generated */ - int GENERATION_TASK = 73; + int GENERATION_TASK = 75; /** * The feature id for the 'Metamodel' containment reference. @@ -2453,7 +2536,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getIntegerScope() * @generated */ - int INTEGER_SCOPE = 74; + int INTEGER_SCOPE = 76; /** * The number of structural features of the 'Integer Scope' class. @@ -2472,7 +2555,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getRealScope() * @generated */ - int REAL_SCOPE = 75; + int REAL_SCOPE = 77; /** * The number of structural features of the 'Real Scope' class. @@ -2491,7 +2574,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getStringScope() * @generated */ - int STRING_SCOPE = 76; + int STRING_SCOPE = 78; /** * The number of structural features of the 'String Scope' class. @@ -2510,7 +2593,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getOptimizationDirection() * @generated */ - int OPTIMIZATION_DIRECTION = 77; + int OPTIMIZATION_DIRECTION = 79; /** * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ComparisonOperator Comparison Operator}' enum. @@ -2520,7 +2603,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getComparisonOperator() * @generated */ - int COMPARISON_OPERATOR = 78; + int COMPARISON_OPERATOR = 80; /** * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.DocumentLevelSpecification Document Level Specification}' enum. @@ -2530,7 +2613,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getDocumentLevelSpecification() * @generated */ - int DOCUMENT_LEVEL_SPECIFICATION = 79; + int DOCUMENT_LEVEL_SPECIFICATION = 81; /** * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Solver Solver}' enum. @@ -2540,7 +2623,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getSolver() * @generated */ - int SOLVER = 80; + int SOLVER = 82; /** @@ -3266,36 +3349,67 @@ public interface ApplicationConfigurationPackage extends EPackage EClass getObjectiveFunction(); /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ReliabiltiyFunction Reliabiltiy Function}'. + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ReliabilityObjectiveFunction Reliability Objective Function}'. * * - * @return the meta object for class 'Reliabiltiy Function'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ReliabiltiyFunction + * @return the meta object for class 'Reliability Objective Function'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ReliabilityObjectiveFunction * @generated */ - EClass getReliabiltiyFunction(); + EClass getReliabilityObjectiveFunction(); /** - * Returns the meta object for the reference '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ReliabiltiyFunction#getPackage Package}'. + * Returns the meta object for the reference '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ReliabilityObjectiveFunction#getPackage Package}'. * * * @return the meta object for the reference 'Package'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ReliabiltiyFunction#getPackage() - * @see #getReliabiltiyFunction() + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ReliabilityObjectiveFunction#getPackage() + * @see #getReliabilityObjectiveFunction() * @generated */ - EReference getReliabiltiyFunction_Package(); + EReference getReliabilityObjectiveFunction_Package(); /** - * Returns the meta object for the reference '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ReliabiltiyFunction#getTransformation Transformation}'. + * Returns the meta object for the reference '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ReliabilityObjectiveFunction#getTransformation Transformation}'. * * * @return the meta object for the reference 'Transformation'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ReliabiltiyFunction#getTransformation() - * @see #getReliabiltiyFunction() + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ReliabilityObjectiveFunction#getTransformation() + * @see #getReliabilityObjectiveFunction() + * @generated + */ + EReference getReliabilityObjectiveFunction_Transformation(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ReliabiltiyProbability Reliabiltiy Probability}'. + * + * + * @return the meta object for class 'Reliabiltiy Probability'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ReliabiltiyProbability + * @generated + */ + EClass getReliabiltiyProbability(); + + /** + * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ReliabiltiyProbability#getTime Time}'. + * + * + * @return the meta object for the attribute 'Time'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ReliabiltiyProbability#getTime() + * @see #getReliabiltiyProbability() + * @generated + */ + EAttribute getReliabiltiyProbability_Time(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Mtff Mtff}'. + * + * + * @return the meta object for class 'Mtff'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Mtff * @generated */ - EReference getReliabiltiyFunction_Transformation(); + EClass getMtff(); /** * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ObjectiveDeclaration Objective Declaration}'. @@ -4872,14 +4986,14 @@ public interface ApplicationConfigurationPackage extends EPackage EClass OBJECTIVE_FUNCTION = eINSTANCE.getObjectiveFunction(); /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ReliabiltiyFunctionImpl Reliabiltiy Function}' class. + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ReliabilityObjectiveFunctionImpl Reliability Objective Function}' class. * * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ReliabiltiyFunctionImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getReliabiltiyFunction() + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ReliabilityObjectiveFunctionImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getReliabilityObjectiveFunction() * @generated */ - EClass RELIABILTIY_FUNCTION = eINSTANCE.getReliabiltiyFunction(); + EClass RELIABILITY_OBJECTIVE_FUNCTION = eINSTANCE.getReliabilityObjectiveFunction(); /** * The meta object literal for the 'Package' reference feature. @@ -4887,7 +5001,7 @@ public interface ApplicationConfigurationPackage extends EPackage * * @generated */ - EReference RELIABILTIY_FUNCTION__PACKAGE = eINSTANCE.getReliabiltiyFunction_Package(); + EReference RELIABILITY_OBJECTIVE_FUNCTION__PACKAGE = eINSTANCE.getReliabilityObjectiveFunction_Package(); /** * The meta object literal for the 'Transformation' reference feature. @@ -4895,7 +5009,35 @@ public interface ApplicationConfigurationPackage extends EPackage * * @generated */ - EReference RELIABILTIY_FUNCTION__TRANSFORMATION = eINSTANCE.getReliabiltiyFunction_Transformation(); + EReference RELIABILITY_OBJECTIVE_FUNCTION__TRANSFORMATION = eINSTANCE.getReliabilityObjectiveFunction_Transformation(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ReliabiltiyProbabilityImpl Reliabiltiy Probability}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ReliabiltiyProbabilityImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getReliabiltiyProbability() + * @generated + */ + EClass RELIABILTIY_PROBABILITY = eINSTANCE.getReliabiltiyProbability(); + + /** + * The meta object literal for the 'Time' attribute feature. + * + * + * @generated + */ + EAttribute RELIABILTIY_PROBABILITY__TIME = eINSTANCE.getReliabiltiyProbability_Time(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MtffImpl Mtff}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MtffImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getMtff() + * @generated + */ + EClass MTFF = eINSTANCE.getMtff(); /** * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ObjectiveDeclarationImpl Objective Declaration}' class. diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/Mtff.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/Mtff.java new file mode 100644 index 00000000..7206fa95 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/Mtff.java @@ -0,0 +1,19 @@ +/** + * generated by Xtext 2.16.0 + */ +package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; + + +/** + * + * A representation of the model object 'Mtff'. + * + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getMtff() + * @model + * @generated + */ +public interface Mtff extends ReliabilityObjectiveFunction +{ +} // Mtff diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ReliabilityObjectiveFunction.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ReliabilityObjectiveFunction.java new file mode 100644 index 00000000..0b7a34bd --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ReliabilityObjectiveFunction.java @@ -0,0 +1,80 @@ +/** + * generated by Xtext 2.16.0 + */ +package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; + +import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftModel; +import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.TransformationDefinition; + +/** + * + * A representation of the model object 'Reliability Objective Function'. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ReliabilityObjectiveFunction#getPackage Package}
    • + *
    • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ReliabilityObjectiveFunction#getTransformation Transformation}
    • + *
    + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getReliabilityObjectiveFunction() + * @model + * @generated + */ +public interface ReliabilityObjectiveFunction extends ObjectiveFunction +{ + /** + * 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(CftModel) + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getReliabilityObjectiveFunction_Package() + * @model + * @generated + */ + CftModel getPackage(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ReliabilityObjectiveFunction#getPackage Package}' reference. + * + * + * @param value the new value of the 'Package' reference. + * @see #getPackage() + * @generated + */ + void setPackage(CftModel value); + + /** + * Returns the value of the 'Transformation' reference. + * + *

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

    + * + * @return the value of the 'Transformation' reference. + * @see #setTransformation(TransformationDefinition) + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getReliabilityObjectiveFunction_Transformation() + * @model + * @generated + */ + TransformationDefinition getTransformation(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ReliabilityObjectiveFunction#getTransformation Transformation}' reference. + * + * + * @param value the new value of the 'Transformation' reference. + * @see #getTransformation() + * @generated + */ + void setTransformation(TransformationDefinition value); + +} // ReliabilityObjectiveFunction diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ReliabiltiyFunction.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ReliabiltiyFunction.java deleted file mode 100644 index bb286aa0..00000000 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ReliabiltiyFunction.java +++ /dev/null @@ -1,80 +0,0 @@ -/** - * generated by Xtext 2.16.0 - */ -package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; - -import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftModel; -import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.TransformationDefinition; - -/** - * - * A representation of the model object 'Reliabiltiy Function'. - * - * - *

    - * The following features are supported: - *

    - *
      - *
    • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ReliabiltiyFunction#getPackage Package}
    • - *
    • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ReliabiltiyFunction#getTransformation Transformation}
    • - *
    - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getReliabiltiyFunction() - * @model - * @generated - */ -public interface ReliabiltiyFunction extends ObjectiveFunction -{ - /** - * 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(CftModel) - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getReliabiltiyFunction_Package() - * @model - * @generated - */ - CftModel getPackage(); - - /** - * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ReliabiltiyFunction#getPackage Package}' reference. - * - * - * @param value the new value of the 'Package' reference. - * @see #getPackage() - * @generated - */ - void setPackage(CftModel value); - - /** - * Returns the value of the 'Transformation' reference. - * - *

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

    - * - * @return the value of the 'Transformation' reference. - * @see #setTransformation(TransformationDefinition) - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getReliabiltiyFunction_Transformation() - * @model - * @generated - */ - TransformationDefinition getTransformation(); - - /** - * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ReliabiltiyFunction#getTransformation Transformation}' reference. - * - * - * @param value the new value of the 'Transformation' reference. - * @see #getTransformation() - * @generated - */ - void setTransformation(TransformationDefinition value); - -} // ReliabiltiyFunction diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ReliabiltiyProbability.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ReliabiltiyProbability.java new file mode 100644 index 00000000..42c895ec --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ReliabiltiyProbability.java @@ -0,0 +1,52 @@ +/** + * generated by Xtext 2.16.0 + */ +package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; + +import java.math.BigDecimal; + +/** + * + * A representation of the model object 'Reliabiltiy Probability'. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ReliabiltiyProbability#getTime Time}
    • + *
    + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getReliabiltiyProbability() + * @model + * @generated + */ +public interface ReliabiltiyProbability extends ReliabilityObjectiveFunction +{ + /** + * Returns the value of the 'Time' attribute. + * + *

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

    + * + * @return the value of the 'Time' attribute. + * @see #setTime(BigDecimal) + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getReliabiltiyProbability_Time() + * @model + * @generated + */ + BigDecimal getTime(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ReliabiltiyProbability#getTime Time}' attribute. + * + * + * @param value the new value of the 'Time' attribute. + * @see #getTime() + * @generated + */ + void setTime(BigDecimal value); + +} // ReliabiltiyProbability diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ApplicationConfigurationFactoryImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ApplicationConfigurationFactoryImpl.java index 800d4362..9ec9412a 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ApplicationConfigurationFactoryImpl.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ApplicationConfigurationFactoryImpl.java @@ -103,7 +103,9 @@ public class ApplicationConfigurationFactoryImpl extends EFactoryImpl implements case ApplicationConfigurationPackage.OPTIMIZATION_ENTRY: return createOptimizationEntry(); case ApplicationConfigurationPackage.THRESHOLD_ENTRY: return createThresholdEntry(); case ApplicationConfigurationPackage.OBJECTIVE_FUNCTION: return createObjectiveFunction(); - case ApplicationConfigurationPackage.RELIABILTIY_FUNCTION: return createReliabiltiyFunction(); + case ApplicationConfigurationPackage.RELIABILITY_OBJECTIVE_FUNCTION: return createReliabilityObjectiveFunction(); + case ApplicationConfigurationPackage.RELIABILTIY_PROBABILITY: return createReliabiltiyProbability(); + case ApplicationConfigurationPackage.MTFF: return createMtff(); case ApplicationConfigurationPackage.OBJECTIVE_DECLARATION: return createObjectiveDeclaration(); case ApplicationConfigurationPackage.OBJECTIVE_REFERENCE: return createObjectiveReference(); case ApplicationConfigurationPackage.OBJECTIVE: return createObjective(); @@ -644,10 +646,34 @@ public class ApplicationConfigurationFactoryImpl extends EFactoryImpl implements * @generated */ @Override - public ReliabiltiyFunction createReliabiltiyFunction() + public ReliabilityObjectiveFunction createReliabilityObjectiveFunction() { - ReliabiltiyFunctionImpl reliabiltiyFunction = new ReliabiltiyFunctionImpl(); - return reliabiltiyFunction; + ReliabilityObjectiveFunctionImpl reliabilityObjectiveFunction = new ReliabilityObjectiveFunctionImpl(); + return reliabilityObjectiveFunction; + } + + /** + * + * + * @generated + */ + @Override + public ReliabiltiyProbability createReliabiltiyProbability() + { + ReliabiltiyProbabilityImpl reliabiltiyProbability = new ReliabiltiyProbabilityImpl(); + return reliabiltiyProbability; + } + + /** + * + * + * @generated + */ + @Override + public Mtff createMtff() + { + MtffImpl mtff = new MtffImpl(); + return mtff; } /** 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 ec53c91c..c1aff1fe 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 @@ -47,6 +47,7 @@ import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Metamodel import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelReference; import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelSpecification; import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ModelEntry; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Mtff; import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.NumberSpecification; import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ObjectReference; import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ObjectTypeScope; @@ -70,7 +71,8 @@ import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RealEnume import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RealReference; import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RealScope; import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RealTypeScope; -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ReliabiltiyFunction; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ReliabilityObjectiveFunction; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ReliabiltiyProbability; import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RuntimeEntry; import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Scope; import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ScopeDeclaration; @@ -382,7 +384,21 @@ public class ApplicationConfigurationPackageImpl extends EPackageImpl implements * * @generated */ - private EClass reliabiltiyFunctionEClass = null; + private EClass reliabilityObjectiveFunctionEClass = null; + + /** + * + * + * @generated + */ + private EClass reliabiltiyProbabilityEClass = null; + + /** + * + * + * @generated + */ + private EClass mtffEClass = null; /** * @@ -1523,9 +1539,9 @@ public class ApplicationConfigurationPackageImpl extends EPackageImpl implements * @generated */ @Override - public EClass getReliabiltiyFunction() + public EClass getReliabilityObjectiveFunction() { - return reliabiltiyFunctionEClass; + return reliabilityObjectiveFunctionEClass; } /** @@ -1534,9 +1550,9 @@ public class ApplicationConfigurationPackageImpl extends EPackageImpl implements * @generated */ @Override - public EReference getReliabiltiyFunction_Package() + public EReference getReliabilityObjectiveFunction_Package() { - return (EReference)reliabiltiyFunctionEClass.getEStructuralFeatures().get(0); + return (EReference)reliabilityObjectiveFunctionEClass.getEStructuralFeatures().get(0); } /** @@ -1545,9 +1561,42 @@ public class ApplicationConfigurationPackageImpl extends EPackageImpl implements * @generated */ @Override - public EReference getReliabiltiyFunction_Transformation() + public EReference getReliabilityObjectiveFunction_Transformation() { - return (EReference)reliabiltiyFunctionEClass.getEStructuralFeatures().get(1); + return (EReference)reliabilityObjectiveFunctionEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + @Override + public EClass getReliabiltiyProbability() + { + return reliabiltiyProbabilityEClass; + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getReliabiltiyProbability_Time() + { + return (EAttribute)reliabiltiyProbabilityEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EClass getMtff() + { + return mtffEClass; } /** @@ -2655,9 +2704,14 @@ public class ApplicationConfigurationPackageImpl extends EPackageImpl implements objectiveFunctionEClass = createEClass(OBJECTIVE_FUNCTION); - reliabiltiyFunctionEClass = createEClass(RELIABILTIY_FUNCTION); - createEReference(reliabiltiyFunctionEClass, RELIABILTIY_FUNCTION__PACKAGE); - createEReference(reliabiltiyFunctionEClass, RELIABILTIY_FUNCTION__TRANSFORMATION); + reliabilityObjectiveFunctionEClass = createEClass(RELIABILITY_OBJECTIVE_FUNCTION); + createEReference(reliabilityObjectiveFunctionEClass, RELIABILITY_OBJECTIVE_FUNCTION__PACKAGE); + createEReference(reliabilityObjectiveFunctionEClass, RELIABILITY_OBJECTIVE_FUNCTION__TRANSFORMATION); + + reliabiltiyProbabilityEClass = createEClass(RELIABILTIY_PROBABILITY); + createEAttribute(reliabiltiyProbabilityEClass, RELIABILTIY_PROBABILITY__TIME); + + mtffEClass = createEClass(MTFF); objectiveDeclarationEClass = createEClass(OBJECTIVE_DECLARATION); createEReference(objectiveDeclarationEClass, OBJECTIVE_DECLARATION__SPECIFICATION); @@ -2848,7 +2902,9 @@ public class ApplicationConfigurationPackageImpl extends EPackageImpl implements objectiveSpecificationEClass.getESuperTypes().add(this.getObjective()); optimizationEntryEClass.getESuperTypes().add(this.getObjectiveEntry()); thresholdEntryEClass.getESuperTypes().add(this.getObjectiveEntry()); - reliabiltiyFunctionEClass.getESuperTypes().add(this.getObjectiveFunction()); + reliabilityObjectiveFunctionEClass.getESuperTypes().add(this.getObjectiveFunction()); + reliabiltiyProbabilityEClass.getESuperTypes().add(this.getReliabilityObjectiveFunction()); + mtffEClass.getESuperTypes().add(this.getReliabilityObjectiveFunction()); objectiveDeclarationEClass.getESuperTypes().add(this.getDeclaration()); objectiveReferenceEClass.getESuperTypes().add(this.getObjective()); configSpecificationEClass.getESuperTypes().add(this.getConfig()); @@ -2989,9 +3045,14 @@ public class ApplicationConfigurationPackageImpl extends EPackageImpl implements initEClass(objectiveFunctionEClass, ObjectiveFunction.class, "ObjectiveFunction", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEClass(reliabiltiyFunctionEClass, ReliabiltiyFunction.class, "ReliabiltiyFunction", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getReliabiltiyFunction_Package(), theCftLanguagePackage.getCftModel(), null, "package", null, 0, 1, ReliabiltiyFunction.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getReliabiltiyFunction_Transformation(), theCftLanguagePackage.getTransformationDefinition(), null, "transformation", null, 0, 1, ReliabiltiyFunction.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEClass(reliabilityObjectiveFunctionEClass, ReliabilityObjectiveFunction.class, "ReliabilityObjectiveFunction", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getReliabilityObjectiveFunction_Package(), theCftLanguagePackage.getCftModel(), null, "package", null, 0, 1, ReliabilityObjectiveFunction.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getReliabilityObjectiveFunction_Transformation(), theCftLanguagePackage.getTransformationDefinition(), null, "transformation", null, 0, 1, ReliabilityObjectiveFunction.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(reliabiltiyProbabilityEClass, ReliabiltiyProbability.class, "ReliabiltiyProbability", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getReliabiltiyProbability_Time(), theEcorePackage.getEBigDecimal(), "time", null, 0, 1, ReliabiltiyProbability.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(mtffEClass, Mtff.class, "Mtff", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEClass(objectiveDeclarationEClass, ObjectiveDeclaration.class, "ObjectiveDeclaration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEReference(getObjectiveDeclaration_Specification(), this.getObjectiveSpecification(), null, "specification", null, 0, 1, ObjectiveDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/MtffImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/MtffImpl.java new file mode 100644 index 00000000..aeeacd58 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/MtffImpl.java @@ -0,0 +1,41 @@ +/** + * generated by Xtext 2.16.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.Mtff; + +import org.eclipse.emf.ecore.EClass; + +/** + * + * An implementation of the model object 'Mtff'. + * + * + * @generated + */ +public class MtffImpl extends ReliabilityObjectiveFunctionImpl implements Mtff +{ + /** + * + * + * @generated + */ + protected MtffImpl() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return ApplicationConfigurationPackage.Literals.MTFF; + } + +} //MtffImpl diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ReliabilityObjectiveFunctionImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ReliabilityObjectiveFunctionImpl.java new file mode 100644 index 00000000..d0008224 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ReliabilityObjectiveFunctionImpl.java @@ -0,0 +1,244 @@ +/** + * generated by Xtext 2.16.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.ReliabilityObjectiveFunction; + +import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftModel; +import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.TransformationDefinition; + +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 'Reliability Objective Function'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ReliabilityObjectiveFunctionImpl#getPackage Package}
    • + *
    • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ReliabilityObjectiveFunctionImpl#getTransformation Transformation}
    • + *
    + * + * @generated + */ +public class ReliabilityObjectiveFunctionImpl extends ObjectiveFunctionImpl implements ReliabilityObjectiveFunction +{ + /** + * The cached value of the '{@link #getPackage() Package}' reference. + * + * + * @see #getPackage() + * @generated + * @ordered + */ + protected CftModel package_; + + /** + * The cached value of the '{@link #getTransformation() Transformation}' reference. + * + * + * @see #getTransformation() + * @generated + * @ordered + */ + protected TransformationDefinition transformation; + + /** + * + * + * @generated + */ + protected ReliabilityObjectiveFunctionImpl() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return ApplicationConfigurationPackage.Literals.RELIABILITY_OBJECTIVE_FUNCTION; + } + + /** + * + * + * @generated + */ + @Override + public CftModel getPackage() + { + if (package_ != null && package_.eIsProxy()) + { + InternalEObject oldPackage = (InternalEObject)package_; + package_ = (CftModel)eResolveProxy(oldPackage); + if (package_ != oldPackage) + { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, ApplicationConfigurationPackage.RELIABILITY_OBJECTIVE_FUNCTION__PACKAGE, oldPackage, package_)); + } + } + return package_; + } + + /** + * + * + * @generated + */ + public CftModel basicGetPackage() + { + return package_; + } + + /** + * + * + * @generated + */ + @Override + public void setPackage(CftModel newPackage) + { + CftModel oldPackage = package_; + package_ = newPackage; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.RELIABILITY_OBJECTIVE_FUNCTION__PACKAGE, oldPackage, package_)); + } + + /** + * + * + * @generated + */ + @Override + public TransformationDefinition getTransformation() + { + if (transformation != null && transformation.eIsProxy()) + { + InternalEObject oldTransformation = (InternalEObject)transformation; + transformation = (TransformationDefinition)eResolveProxy(oldTransformation); + if (transformation != oldTransformation) + { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, ApplicationConfigurationPackage.RELIABILITY_OBJECTIVE_FUNCTION__TRANSFORMATION, oldTransformation, transformation)); + } + } + return transformation; + } + + /** + * + * + * @generated + */ + public TransformationDefinition basicGetTransformation() + { + return transformation; + } + + /** + * + * + * @generated + */ + @Override + public void setTransformation(TransformationDefinition newTransformation) + { + TransformationDefinition oldTransformation = transformation; + transformation = newTransformation; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.RELIABILITY_OBJECTIVE_FUNCTION__TRANSFORMATION, oldTransformation, transformation)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case ApplicationConfigurationPackage.RELIABILITY_OBJECTIVE_FUNCTION__PACKAGE: + if (resolve) return getPackage(); + return basicGetPackage(); + case ApplicationConfigurationPackage.RELIABILITY_OBJECTIVE_FUNCTION__TRANSFORMATION: + if (resolve) return getTransformation(); + return basicGetTransformation(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case ApplicationConfigurationPackage.RELIABILITY_OBJECTIVE_FUNCTION__PACKAGE: + setPackage((CftModel)newValue); + return; + case ApplicationConfigurationPackage.RELIABILITY_OBJECTIVE_FUNCTION__TRANSFORMATION: + setTransformation((TransformationDefinition)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case ApplicationConfigurationPackage.RELIABILITY_OBJECTIVE_FUNCTION__PACKAGE: + setPackage((CftModel)null); + return; + case ApplicationConfigurationPackage.RELIABILITY_OBJECTIVE_FUNCTION__TRANSFORMATION: + setTransformation((TransformationDefinition)null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case ApplicationConfigurationPackage.RELIABILITY_OBJECTIVE_FUNCTION__PACKAGE: + return package_ != null; + case ApplicationConfigurationPackage.RELIABILITY_OBJECTIVE_FUNCTION__TRANSFORMATION: + return transformation != null; + } + return super.eIsSet(featureID); + } + +} //ReliabilityObjectiveFunctionImpl diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ReliabiltiyFunctionImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ReliabiltiyFunctionImpl.java deleted file mode 100644 index b848c329..00000000 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ReliabiltiyFunctionImpl.java +++ /dev/null @@ -1,244 +0,0 @@ -/** - * generated by Xtext 2.16.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.ReliabiltiyFunction; - -import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftModel; -import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.TransformationDefinition; - -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 'Reliabiltiy Function'. - * - *

    - * The following features are implemented: - *

    - *
      - *
    • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ReliabiltiyFunctionImpl#getPackage Package}
    • - *
    • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ReliabiltiyFunctionImpl#getTransformation Transformation}
    • - *
    - * - * @generated - */ -public class ReliabiltiyFunctionImpl extends ObjectiveFunctionImpl implements ReliabiltiyFunction -{ - /** - * The cached value of the '{@link #getPackage() Package}' reference. - * - * - * @see #getPackage() - * @generated - * @ordered - */ - protected CftModel package_; - - /** - * The cached value of the '{@link #getTransformation() Transformation}' reference. - * - * - * @see #getTransformation() - * @generated - * @ordered - */ - protected TransformationDefinition transformation; - - /** - * - * - * @generated - */ - protected ReliabiltiyFunctionImpl() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return ApplicationConfigurationPackage.Literals.RELIABILTIY_FUNCTION; - } - - /** - * - * - * @generated - */ - @Override - public CftModel getPackage() - { - if (package_ != null && package_.eIsProxy()) - { - InternalEObject oldPackage = (InternalEObject)package_; - package_ = (CftModel)eResolveProxy(oldPackage); - if (package_ != oldPackage) - { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, ApplicationConfigurationPackage.RELIABILTIY_FUNCTION__PACKAGE, oldPackage, package_)); - } - } - return package_; - } - - /** - * - * - * @generated - */ - public CftModel basicGetPackage() - { - return package_; - } - - /** - * - * - * @generated - */ - @Override - public void setPackage(CftModel newPackage) - { - CftModel oldPackage = package_; - package_ = newPackage; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.RELIABILTIY_FUNCTION__PACKAGE, oldPackage, package_)); - } - - /** - * - * - * @generated - */ - @Override - public TransformationDefinition getTransformation() - { - if (transformation != null && transformation.eIsProxy()) - { - InternalEObject oldTransformation = (InternalEObject)transformation; - transformation = (TransformationDefinition)eResolveProxy(oldTransformation); - if (transformation != oldTransformation) - { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, ApplicationConfigurationPackage.RELIABILTIY_FUNCTION__TRANSFORMATION, oldTransformation, transformation)); - } - } - return transformation; - } - - /** - * - * - * @generated - */ - public TransformationDefinition basicGetTransformation() - { - return transformation; - } - - /** - * - * - * @generated - */ - @Override - public void setTransformation(TransformationDefinition newTransformation) - { - TransformationDefinition oldTransformation = transformation; - transformation = newTransformation; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.RELIABILTIY_FUNCTION__TRANSFORMATION, oldTransformation, transformation)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case ApplicationConfigurationPackage.RELIABILTIY_FUNCTION__PACKAGE: - if (resolve) return getPackage(); - return basicGetPackage(); - case ApplicationConfigurationPackage.RELIABILTIY_FUNCTION__TRANSFORMATION: - if (resolve) return getTransformation(); - return basicGetTransformation(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case ApplicationConfigurationPackage.RELIABILTIY_FUNCTION__PACKAGE: - setPackage((CftModel)newValue); - return; - case ApplicationConfigurationPackage.RELIABILTIY_FUNCTION__TRANSFORMATION: - setTransformation((TransformationDefinition)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case ApplicationConfigurationPackage.RELIABILTIY_FUNCTION__PACKAGE: - setPackage((CftModel)null); - return; - case ApplicationConfigurationPackage.RELIABILTIY_FUNCTION__TRANSFORMATION: - setTransformation((TransformationDefinition)null); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case ApplicationConfigurationPackage.RELIABILTIY_FUNCTION__PACKAGE: - return package_ != null; - case ApplicationConfigurationPackage.RELIABILTIY_FUNCTION__TRANSFORMATION: - return transformation != null; - } - return super.eIsSet(featureID); - } - -} //ReliabiltiyFunctionImpl diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ReliabiltiyProbabilityImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ReliabiltiyProbabilityImpl.java new file mode 100644 index 00000000..b1940e3d --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ReliabiltiyProbabilityImpl.java @@ -0,0 +1,181 @@ +/** + * generated by Xtext 2.16.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.ReliabiltiyProbability; + +import java.math.BigDecimal; + +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 'Reliabiltiy Probability'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ReliabiltiyProbabilityImpl#getTime Time}
    • + *
    + * + * @generated + */ +public class ReliabiltiyProbabilityImpl extends ReliabilityObjectiveFunctionImpl implements ReliabiltiyProbability +{ + /** + * The default value of the '{@link #getTime() Time}' attribute. + * + * + * @see #getTime() + * @generated + * @ordered + */ + protected static final BigDecimal TIME_EDEFAULT = null; + + /** + * The cached value of the '{@link #getTime() Time}' attribute. + * + * + * @see #getTime() + * @generated + * @ordered + */ + protected BigDecimal time = TIME_EDEFAULT; + + /** + * + * + * @generated + */ + protected ReliabiltiyProbabilityImpl() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return ApplicationConfigurationPackage.Literals.RELIABILTIY_PROBABILITY; + } + + /** + * + * + * @generated + */ + @Override + public BigDecimal getTime() + { + return time; + } + + /** + * + * + * @generated + */ + @Override + public void setTime(BigDecimal newTime) + { + BigDecimal oldTime = time; + time = newTime; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.RELIABILTIY_PROBABILITY__TIME, oldTime, time)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case ApplicationConfigurationPackage.RELIABILTIY_PROBABILITY__TIME: + return getTime(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case ApplicationConfigurationPackage.RELIABILTIY_PROBABILITY__TIME: + setTime((BigDecimal)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case ApplicationConfigurationPackage.RELIABILTIY_PROBABILITY__TIME: + setTime(TIME_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case ApplicationConfigurationPackage.RELIABILTIY_PROBABILITY__TIME: + return TIME_EDEFAULT == null ? time != null : !TIME_EDEFAULT.equals(time); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() + { + if (eIsProxy()) return super.toString(); + + StringBuilder result = new StringBuilder(super.toString()); + result.append(" (time: "); + result.append(time); + result.append(')'); + return result.toString(); + } + +} //ReliabiltiyProbabilityImpl diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/util/ApplicationConfigurationAdapterFactory.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/util/ApplicationConfigurationAdapterFactory.java index a96c7f83..0d52290c 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/util/ApplicationConfigurationAdapterFactory.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/util/ApplicationConfigurationAdapterFactory.java @@ -261,9 +261,19 @@ public class ApplicationConfigurationAdapterFactory extends AdapterFactoryImpl return createObjectiveFunctionAdapter(); } @Override - public Adapter caseReliabiltiyFunction(ReliabiltiyFunction object) + public Adapter caseReliabilityObjectiveFunction(ReliabilityObjectiveFunction object) { - return createReliabiltiyFunctionAdapter(); + return createReliabilityObjectiveFunctionAdapter(); + } + @Override + public Adapter caseReliabiltiyProbability(ReliabiltiyProbability object) + { + return createReliabiltiyProbabilityAdapter(); + } + @Override + public Adapter caseMtff(Mtff object) + { + return createMtffAdapter(); } @Override public Adapter caseObjectiveDeclaration(ObjectiveDeclaration object) @@ -1038,16 +1048,46 @@ public class ApplicationConfigurationAdapterFactory extends AdapterFactoryImpl } /** - * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ReliabiltiyFunction Reliabiltiy Function}'. + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ReliabilityObjectiveFunction Reliability Objective Function}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ReliabilityObjectiveFunction + * @generated + */ + public Adapter createReliabilityObjectiveFunctionAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ReliabiltiyProbability Reliabiltiy Probability}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ReliabiltiyProbability + * @generated + */ + public Adapter createReliabiltiyProbabilityAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Mtff Mtff}'. * * This default implementation returns null so that we can easily ignore cases; * it's useful to ignore a case when inheritance will catch all the cases anyway. * * @return the new adapter. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ReliabiltiyFunction + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Mtff * @generated */ - public Adapter createReliabiltiyFunctionAdapter() + public Adapter createMtffAdapter() { return null; } diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/util/ApplicationConfigurationSwitch.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/util/ApplicationConfigurationSwitch.java index d907f53c..0fcc39dc 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/util/ApplicationConfigurationSwitch.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/util/ApplicationConfigurationSwitch.java @@ -361,11 +361,29 @@ public class ApplicationConfigurationSwitch extends Switch if (result == null) result = defaultCase(theEObject); return result; } - case ApplicationConfigurationPackage.RELIABILTIY_FUNCTION: + case ApplicationConfigurationPackage.RELIABILITY_OBJECTIVE_FUNCTION: { - ReliabiltiyFunction reliabiltiyFunction = (ReliabiltiyFunction)theEObject; - T result = caseReliabiltiyFunction(reliabiltiyFunction); - if (result == null) result = caseObjectiveFunction(reliabiltiyFunction); + ReliabilityObjectiveFunction reliabilityObjectiveFunction = (ReliabilityObjectiveFunction)theEObject; + T result = caseReliabilityObjectiveFunction(reliabilityObjectiveFunction); + if (result == null) result = caseObjectiveFunction(reliabilityObjectiveFunction); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.RELIABILTIY_PROBABILITY: + { + ReliabiltiyProbability reliabiltiyProbability = (ReliabiltiyProbability)theEObject; + T result = caseReliabiltiyProbability(reliabiltiyProbability); + if (result == null) result = caseReliabilityObjectiveFunction(reliabiltiyProbability); + if (result == null) result = caseObjectiveFunction(reliabiltiyProbability); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.MTFF: + { + Mtff mtff = (Mtff)theEObject; + T result = caseMtff(mtff); + if (result == null) result = caseReliabilityObjectiveFunction(mtff); + if (result == null) result = caseObjectiveFunction(mtff); if (result == null) result = defaultCase(theEObject); return result; } @@ -1278,17 +1296,49 @@ public class ApplicationConfigurationSwitch extends Switch } /** - * Returns the result of interpreting the object as an instance of 'Reliabiltiy Function'. + * Returns the result of interpreting the object as an instance of 'Reliability Objective Function'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Reliability Objective Function'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseReliabilityObjectiveFunction(ReliabilityObjectiveFunction object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Reliabiltiy Probability'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Reliabiltiy Probability'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseReliabiltiyProbability(ReliabiltiyProbability object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Mtff'. * * This implementation returns null; * returning a non-null result will terminate the switch. * * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Reliabiltiy Function'. + * @return the result of interpreting the object as an instance of 'Mtff'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated */ - public T caseReliabiltiyFunction(ReliabiltiyFunction object) + public T caseMtff(Mtff object) { return null; } 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 370bbe33..438d6cdc 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 @@ -2095,24 +2095,60 @@ ruleObjectiveFunction returns [EObject current=null] leaveRule(); }: { - newCompositeNode(grammarAccess.getObjectiveFunctionAccess().getReliabiltiyFunctionParserRuleCall()); + newCompositeNode(grammarAccess.getObjectiveFunctionAccess().getReliabilityObjectiveFunctionParserRuleCall()); } - this_ReliabiltiyFunction_0=ruleReliabiltiyFunction + this_ReliabilityObjectiveFunction_0=ruleReliabilityObjectiveFunction { - $current = $this_ReliabiltiyFunction_0.current; + $current = $this_ReliabilityObjectiveFunction_0.current; afterParserOrEnumRuleCall(); } ; -// Entry rule entryRuleReliabiltiyFunction -entryRuleReliabiltiyFunction returns [EObject current=null]: - { newCompositeNode(grammarAccess.getReliabiltiyFunctionRule()); } - iv_ruleReliabiltiyFunction=ruleReliabiltiyFunction - { $current=$iv_ruleReliabiltiyFunction.current; } +// Entry rule entryRuleReliabilityObjectiveFunction +entryRuleReliabilityObjectiveFunction returns [EObject current=null]: + { newCompositeNode(grammarAccess.getReliabilityObjectiveFunctionRule()); } + iv_ruleReliabilityObjectiveFunction=ruleReliabilityObjectiveFunction + { $current=$iv_ruleReliabilityObjectiveFunction.current; } EOF; -// Rule ReliabiltiyFunction -ruleReliabiltiyFunction returns [EObject current=null] +// Rule ReliabilityObjectiveFunction +ruleReliabilityObjectiveFunction returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + { + newCompositeNode(grammarAccess.getReliabilityObjectiveFunctionAccess().getReliabiltiyProbabilityParserRuleCall_0()); + } + this_ReliabiltiyProbability_0=ruleReliabiltiyProbability + { + $current = $this_ReliabiltiyProbability_0.current; + afterParserOrEnumRuleCall(); + } + | + { + newCompositeNode(grammarAccess.getReliabilityObjectiveFunctionAccess().getMtffParserRuleCall_1()); + } + this_Mtff_1=ruleMtff + { + $current = $this_Mtff_1.current; + afterParserOrEnumRuleCall(); + } + ) +; + +// Entry rule entryRuleReliabiltiyProbability +entryRuleReliabiltiyProbability returns [EObject current=null]: + { newCompositeNode(grammarAccess.getReliabiltiyProbabilityRule()); } + iv_ruleReliabiltiyProbability=ruleReliabiltiyProbability + { $current=$iv_ruleReliabiltiyProbability.current; } + EOF; + +// Rule ReliabiltiyProbability +ruleReliabiltiyProbability returns [EObject current=null] @init { enterRule(); } @@ -2122,18 +2158,99 @@ ruleReliabiltiyFunction returns [EObject current=null] ( otherlv_0='reliability' { - newLeafNode(otherlv_0, grammarAccess.getReliabiltiyFunctionAccess().getReliabilityKeyword_0()); + newLeafNode(otherlv_0, grammarAccess.getReliabiltiyProbabilityAccess().getReliabilityKeyword_0()); + } + ( + ( + ( + { + if ($current==null) { + $current = createModelElement(grammarAccess.getReliabiltiyProbabilityRule()); + } + } + { + newCompositeNode(grammarAccess.getReliabiltiyProbabilityAccess().getPackageCftModelCrossReference_1_0_0()); + } + ruleQualifiedName + { + afterParserOrEnumRuleCall(); + } + ) + ) + otherlv_2='::' + { + newLeafNode(otherlv_2, grammarAccess.getReliabiltiyProbabilityAccess().getColonColonKeyword_1_1()); + } + )? + ( + ( + { + if ($current==null) { + $current = createModelElement(grammarAccess.getReliabiltiyProbabilityRule()); + } + } + otherlv_3=RULE_ID + { + newLeafNode(otherlv_3, grammarAccess.getReliabiltiyProbabilityAccess().getTransformationTransformationDefinitionCrossReference_2_0()); + } + ) + ) + otherlv_4='at' + { + newLeafNode(otherlv_4, grammarAccess.getReliabiltiyProbabilityAccess().getAtKeyword_3()); + } + ( + ( + { + newCompositeNode(grammarAccess.getReliabiltiyProbabilityAccess().getTimeREALLiteralParserRuleCall_4_0()); + } + lv_time_5_0=ruleREALLiteral + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getReliabiltiyProbabilityRule()); + } + set( + $current, + "time", + lv_time_5_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.REALLiteral"); + afterParserOrEnumRuleCall(); + } + ) + ) + ) +; + +// Entry rule entryRuleMtff +entryRuleMtff returns [EObject current=null]: + { newCompositeNode(grammarAccess.getMtffRule()); } + iv_ruleMtff=ruleMtff + { $current=$iv_ruleMtff.current; } + EOF; + +// Rule Mtff +ruleMtff returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0='mtff' + { + newLeafNode(otherlv_0, grammarAccess.getMtffAccess().getMtffKeyword_0()); } ( ( ( { if ($current==null) { - $current = createModelElement(grammarAccess.getReliabiltiyFunctionRule()); + $current = createModelElement(grammarAccess.getMtffRule()); } } { - newCompositeNode(grammarAccess.getReliabiltiyFunctionAccess().getPackageCftModelCrossReference_1_0_0()); + newCompositeNode(grammarAccess.getMtffAccess().getPackageCftModelCrossReference_1_0_0()); } ruleQualifiedName { @@ -2143,19 +2260,19 @@ ruleReliabiltiyFunction returns [EObject current=null] ) otherlv_2='::' { - newLeafNode(otherlv_2, grammarAccess.getReliabiltiyFunctionAccess().getColonColonKeyword_1_1()); + newLeafNode(otherlv_2, grammarAccess.getMtffAccess().getColonColonKeyword_1_1()); } )? ( ( { if ($current==null) { - $current = createModelElement(grammarAccess.getReliabiltiyFunctionRule()); + $current = createModelElement(grammarAccess.getMtffRule()); } } otherlv_3=RULE_ID { - newLeafNode(otherlv_3, grammarAccess.getReliabiltiyFunctionAccess().getTransformationTransformationDefinitionCrossReference_2_0()); + newLeafNode(otherlv_3, grammarAccess.getMtffAccess().getTransformationTransformationDefinitionCrossReference_2_0()); } ) ) 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 17aa6491..59db2464 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,53 +1,55 @@ -'#'=34 -'*'=42 -'+='=35 +'#'=36 +'*'=44 +'+='=37 ','=20 '-'=12 '.'=11 -'..'=43 +'..'=45 '::'=24 -'<'=36 -'<='=56 +'<'=38 +'<='=58 '='=18 -'>'=37 -'>='=57 -'AlloySolver'=62 -'SMTSolver'=61 -'ViatraSolver'=63 -'config'=30 +'>'=39 +'>='=59 +'AlloySolver'=64 +'SMTSolver'=63 +'ViatraSolver'=65 +'at'=29 +'config'=32 'constraints'=28 -'debug'=50 +'debug'=52 'epackage'=14 'excluding'=23 'file'=17 'folder'=26 -'full'=60 -'generate'=45 +'full'=62 +'generate'=47 'import'=13 -'int'=39 -'log'=51 -'log-level'=31 -'maximize'=55 -'memory'=33 +'int'=41 +'log'=53 +'log-level'=33 +'maximize'=57 +'memory'=35 'metamodel'=25 -'minimize'=54 +'minimize'=56 'models'=27 -'node'=38 -'none'=58 -'normal'=59 -'number'=47 -'objectives'=29 -'output'=53 +'mtff'=30 +'node'=40 +'none'=60 +'normal'=61 +'number'=49 +'objectives'=31 +'output'=55 'package'=22 -'partial-model'=46 -'real'=40 +'partial-model'=48 +'real'=42 'reliability'=16 -'runs'=48 -'runtime'=32 -'scope'=44 -'solver'=49 -'statistics'=52 -'string'=41 +'runs'=50 +'runtime'=34 +'scope'=46 +'solver'=51 +'statistics'=54 +'string'=43 'viatra'=15 '{'=19 '}'=21 @@ -111,3 +113,5 @@ T__60=60 T__61=61 T__62=62 T__63=63 +T__64=64 +T__65=65 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 175d43ba..dedce4b2 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 @@ -47,7 +47,9 @@ public class InternalApplicationConfigurationLexer extends Lexer { public static final int T__62=62; public static final int T__63=63; public static final int T__20=20; + public static final int T__64=64; public static final int T__21=21; + public static final int T__65=65; public static final int RULE_STRING=6; public static final int RULE_SL_COMMENT=8; public static final int T__37=37; @@ -464,10 +466,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__29; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:29:7: ( 'objectives' ) - // InternalApplicationConfiguration.g:29:9: 'objectives' + // InternalApplicationConfiguration.g:29:7: ( 'at' ) + // InternalApplicationConfiguration.g:29:9: 'at' { - match("objectives"); + match("at"); } @@ -485,10 +487,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__30; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:30:7: ( 'config' ) - // InternalApplicationConfiguration.g:30:9: 'config' + // InternalApplicationConfiguration.g:30:7: ( 'mtff' ) + // InternalApplicationConfiguration.g:30:9: 'mtff' { - match("config"); + match("mtff"); } @@ -506,10 +508,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__31; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:31:7: ( 'log-level' ) - // InternalApplicationConfiguration.g:31:9: 'log-level' + // InternalApplicationConfiguration.g:31:7: ( 'objectives' ) + // InternalApplicationConfiguration.g:31:9: 'objectives' { - match("log-level"); + match("objectives"); } @@ -527,10 +529,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__32; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:32:7: ( 'runtime' ) - // InternalApplicationConfiguration.g:32:9: 'runtime' + // InternalApplicationConfiguration.g:32:7: ( 'config' ) + // InternalApplicationConfiguration.g:32:9: 'config' { - match("runtime"); + match("config"); } @@ -548,10 +550,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__33; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:33:7: ( 'memory' ) - // InternalApplicationConfiguration.g:33:9: 'memory' + // InternalApplicationConfiguration.g:33:7: ( 'log-level' ) + // InternalApplicationConfiguration.g:33:9: 'log-level' { - match("memory"); + match("log-level"); } @@ -569,10 +571,11 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__34; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:34:7: ( '#' ) - // InternalApplicationConfiguration.g:34:9: '#' + // InternalApplicationConfiguration.g:34:7: ( 'runtime' ) + // InternalApplicationConfiguration.g:34:9: 'runtime' { - match('#'); + match("runtime"); + } @@ -589,10 +592,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__35; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:35:7: ( '+=' ) - // InternalApplicationConfiguration.g:35:9: '+=' + // InternalApplicationConfiguration.g:35:7: ( 'memory' ) + // InternalApplicationConfiguration.g:35:9: 'memory' { - match("+="); + match("memory"); } @@ -610,10 +613,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__36; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:36:7: ( '<' ) - // InternalApplicationConfiguration.g:36:9: '<' + // InternalApplicationConfiguration.g:36:7: ( '#' ) + // InternalApplicationConfiguration.g:36:9: '#' { - match('<'); + match('#'); } @@ -630,10 +633,11 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__37; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:37:7: ( '>' ) - // InternalApplicationConfiguration.g:37:9: '>' + // InternalApplicationConfiguration.g:37:7: ( '+=' ) + // InternalApplicationConfiguration.g:37:9: '+=' { - match('>'); + match("+="); + } @@ -650,11 +654,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__38; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:38:7: ( 'node' ) - // InternalApplicationConfiguration.g:38:9: 'node' + // InternalApplicationConfiguration.g:38:7: ( '<' ) + // InternalApplicationConfiguration.g:38:9: '<' { - match("node"); - + match('<'); } @@ -671,11 +674,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__39; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:39:7: ( 'int' ) - // InternalApplicationConfiguration.g:39:9: 'int' + // InternalApplicationConfiguration.g:39:7: ( '>' ) + // InternalApplicationConfiguration.g:39:9: '>' { - match("int"); - + match('>'); } @@ -692,10 +694,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__40; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:40:7: ( 'real' ) - // InternalApplicationConfiguration.g:40:9: 'real' + // InternalApplicationConfiguration.g:40:7: ( 'node' ) + // InternalApplicationConfiguration.g:40:9: 'node' { - match("real"); + match("node"); } @@ -713,10 +715,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__41; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:41:7: ( 'string' ) - // InternalApplicationConfiguration.g:41:9: 'string' + // InternalApplicationConfiguration.g:41:7: ( 'int' ) + // InternalApplicationConfiguration.g:41:9: 'int' { - match("string"); + match("int"); } @@ -734,10 +736,11 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__42; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:42:7: ( '*' ) - // InternalApplicationConfiguration.g:42:9: '*' + // InternalApplicationConfiguration.g:42:7: ( 'real' ) + // InternalApplicationConfiguration.g:42:9: 'real' { - match('*'); + match("real"); + } @@ -754,10 +757,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__43; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:43:7: ( '..' ) - // InternalApplicationConfiguration.g:43:9: '..' + // InternalApplicationConfiguration.g:43:7: ( 'string' ) + // InternalApplicationConfiguration.g:43:9: 'string' { - match(".."); + match("string"); } @@ -775,11 +778,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__44; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:44:7: ( 'scope' ) - // InternalApplicationConfiguration.g:44:9: 'scope' + // InternalApplicationConfiguration.g:44:7: ( '*' ) + // InternalApplicationConfiguration.g:44:9: '*' { - match("scope"); - + match('*'); } @@ -796,10 +798,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__45; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:45:7: ( 'generate' ) - // InternalApplicationConfiguration.g:45:9: 'generate' + // InternalApplicationConfiguration.g:45:7: ( '..' ) + // InternalApplicationConfiguration.g:45:9: '..' { - match("generate"); + match(".."); } @@ -817,10 +819,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__46; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:46:7: ( 'partial-model' ) - // InternalApplicationConfiguration.g:46:9: 'partial-model' + // InternalApplicationConfiguration.g:46:7: ( 'scope' ) + // InternalApplicationConfiguration.g:46:9: 'scope' { - match("partial-model"); + match("scope"); } @@ -838,10 +840,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__47; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:47:7: ( 'number' ) - // InternalApplicationConfiguration.g:47:9: 'number' + // InternalApplicationConfiguration.g:47:7: ( 'generate' ) + // InternalApplicationConfiguration.g:47:9: 'generate' { - match("number"); + match("generate"); } @@ -859,10 +861,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__48; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:48:7: ( 'runs' ) - // InternalApplicationConfiguration.g:48:9: 'runs' + // InternalApplicationConfiguration.g:48:7: ( 'partial-model' ) + // InternalApplicationConfiguration.g:48:9: 'partial-model' { - match("runs"); + match("partial-model"); } @@ -880,10 +882,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__49; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:49:7: ( 'solver' ) - // InternalApplicationConfiguration.g:49:9: 'solver' + // InternalApplicationConfiguration.g:49:7: ( 'number' ) + // InternalApplicationConfiguration.g:49:9: 'number' { - match("solver"); + match("number"); } @@ -901,10 +903,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__50; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:50:7: ( 'debug' ) - // InternalApplicationConfiguration.g:50:9: 'debug' + // InternalApplicationConfiguration.g:50:7: ( 'runs' ) + // InternalApplicationConfiguration.g:50:9: 'runs' { - match("debug"); + match("runs"); } @@ -922,10 +924,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__51; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:51:7: ( 'log' ) - // InternalApplicationConfiguration.g:51:9: 'log' + // InternalApplicationConfiguration.g:51:7: ( 'solver' ) + // InternalApplicationConfiguration.g:51:9: 'solver' { - match("log"); + match("solver"); } @@ -943,10 +945,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__52; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:52:7: ( 'statistics' ) - // InternalApplicationConfiguration.g:52:9: 'statistics' + // InternalApplicationConfiguration.g:52:7: ( 'debug' ) + // InternalApplicationConfiguration.g:52:9: 'debug' { - match("statistics"); + match("debug"); } @@ -964,10 +966,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__53; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:53:7: ( 'output' ) - // InternalApplicationConfiguration.g:53:9: 'output' + // InternalApplicationConfiguration.g:53:7: ( 'log' ) + // InternalApplicationConfiguration.g:53:9: 'log' { - match("output"); + match("log"); } @@ -985,10 +987,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__54; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:54:7: ( 'minimize' ) - // InternalApplicationConfiguration.g:54:9: 'minimize' + // InternalApplicationConfiguration.g:54:7: ( 'statistics' ) + // InternalApplicationConfiguration.g:54:9: 'statistics' { - match("minimize"); + match("statistics"); } @@ -1006,10 +1008,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__55; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:55:7: ( 'maximize' ) - // InternalApplicationConfiguration.g:55:9: 'maximize' + // InternalApplicationConfiguration.g:55:7: ( 'output' ) + // InternalApplicationConfiguration.g:55:9: 'output' { - match("maximize"); + match("output"); } @@ -1027,10 +1029,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__56; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:56:7: ( '<=' ) - // InternalApplicationConfiguration.g:56:9: '<=' + // InternalApplicationConfiguration.g:56:7: ( 'minimize' ) + // InternalApplicationConfiguration.g:56:9: 'minimize' { - match("<="); + match("minimize"); } @@ -1048,10 +1050,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__57; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:57:7: ( '>=' ) - // InternalApplicationConfiguration.g:57:9: '>=' + // InternalApplicationConfiguration.g:57:7: ( 'maximize' ) + // InternalApplicationConfiguration.g:57:9: 'maximize' { - match(">="); + match("maximize"); } @@ -1069,10 +1071,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__58; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:58:7: ( 'none' ) - // InternalApplicationConfiguration.g:58:9: 'none' + // InternalApplicationConfiguration.g:58:7: ( '<=' ) + // InternalApplicationConfiguration.g:58:9: '<=' { - match("none"); + match("<="); } @@ -1090,10 +1092,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__59; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:59:7: ( 'normal' ) - // InternalApplicationConfiguration.g:59:9: 'normal' + // InternalApplicationConfiguration.g:59:7: ( '>=' ) + // InternalApplicationConfiguration.g:59:9: '>=' { - match("normal"); + match(">="); } @@ -1111,10 +1113,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__60; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:60:7: ( 'full' ) - // InternalApplicationConfiguration.g:60:9: 'full' + // InternalApplicationConfiguration.g:60:7: ( 'none' ) + // InternalApplicationConfiguration.g:60:9: 'none' { - match("full"); + match("none"); } @@ -1132,10 +1134,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__61; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:61:7: ( 'SMTSolver' ) - // InternalApplicationConfiguration.g:61:9: 'SMTSolver' + // InternalApplicationConfiguration.g:61:7: ( 'normal' ) + // InternalApplicationConfiguration.g:61:9: 'normal' { - match("SMTSolver"); + match("normal"); } @@ -1153,10 +1155,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__62; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:62:7: ( 'AlloySolver' ) - // InternalApplicationConfiguration.g:62:9: 'AlloySolver' + // InternalApplicationConfiguration.g:62:7: ( 'full' ) + // InternalApplicationConfiguration.g:62:9: 'full' { - match("AlloySolver"); + match("full"); } @@ -1174,10 +1176,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__63; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:63:7: ( 'ViatraSolver' ) - // InternalApplicationConfiguration.g:63:9: 'ViatraSolver' + // InternalApplicationConfiguration.g:63:7: ( 'SMTSolver' ) + // InternalApplicationConfiguration.g:63:9: 'SMTSolver' { - match("ViatraSolver"); + match("SMTSolver"); } @@ -1190,15 +1192,57 @@ public class InternalApplicationConfigurationLexer extends Lexer { } // $ANTLR end "T__63" + // $ANTLR start "T__64" + public final void mT__64() throws RecognitionException { + try { + int _type = T__64; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:64:7: ( 'AlloySolver' ) + // InternalApplicationConfiguration.g:64:9: 'AlloySolver' + { + match("AlloySolver"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__64" + + // $ANTLR start "T__65" + public final void mT__65() throws RecognitionException { + try { + int _type = T__65; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:65:7: ( 'ViatraSolver' ) + // InternalApplicationConfiguration.g:65:9: 'ViatraSolver' + { + match("ViatraSolver"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__65" + // $ANTLR start "RULE_ID" public final void mRULE_ID() throws RecognitionException { try { int _type = RULE_ID; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:4890:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* ) - // InternalApplicationConfiguration.g:4890:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* + // InternalApplicationConfiguration.g:5007:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* ) + // InternalApplicationConfiguration.g:5007:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* { - // InternalApplicationConfiguration.g:4890:11: ( '^' )? + // InternalApplicationConfiguration.g:5007:11: ( '^' )? int alt1=2; int LA1_0 = input.LA(1); @@ -1207,7 +1251,7 @@ public class InternalApplicationConfigurationLexer extends Lexer { } switch (alt1) { case 1 : - // InternalApplicationConfiguration.g:4890:11: '^' + // InternalApplicationConfiguration.g:5007:11: '^' { match('^'); @@ -1225,7 +1269,7 @@ public class InternalApplicationConfigurationLexer extends Lexer { recover(mse); throw mse;} - // InternalApplicationConfiguration.g:4890:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* + // InternalApplicationConfiguration.g:5007:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* loop2: do { int alt2=2; @@ -1274,10 +1318,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = RULE_INT; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:4892:10: ( ( '0' .. '9' )+ ) - // InternalApplicationConfiguration.g:4892:12: ( '0' .. '9' )+ + // InternalApplicationConfiguration.g:5009:10: ( ( '0' .. '9' )+ ) + // InternalApplicationConfiguration.g:5009:12: ( '0' .. '9' )+ { - // InternalApplicationConfiguration.g:4892:12: ( '0' .. '9' )+ + // InternalApplicationConfiguration.g:5009:12: ( '0' .. '9' )+ int cnt3=0; loop3: do { @@ -1291,7 +1335,7 @@ public class InternalApplicationConfigurationLexer extends Lexer { switch (alt3) { case 1 : - // InternalApplicationConfiguration.g:4892:13: '0' .. '9' + // InternalApplicationConfiguration.g:5009:13: '0' .. '9' { matchRange('0','9'); @@ -1323,10 +1367,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = RULE_STRING; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:4894:13: ( ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) ) - // InternalApplicationConfiguration.g:4894:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) + // InternalApplicationConfiguration.g:5011:13: ( ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) ) + // InternalApplicationConfiguration.g:5011:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) { - // InternalApplicationConfiguration.g:4894:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) + // InternalApplicationConfiguration.g:5011:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) int alt6=2; int LA6_0 = input.LA(1); @@ -1344,10 +1388,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { } switch (alt6) { case 1 : - // InternalApplicationConfiguration.g:4894:16: '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' + // InternalApplicationConfiguration.g:5011:16: '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' { match('\"'); - // InternalApplicationConfiguration.g:4894:20: ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* + // InternalApplicationConfiguration.g:5011:20: ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* loop4: do { int alt4=3; @@ -1363,7 +1407,7 @@ public class InternalApplicationConfigurationLexer extends Lexer { switch (alt4) { case 1 : - // InternalApplicationConfiguration.g:4894:21: '\\\\' . + // InternalApplicationConfiguration.g:5011:21: '\\\\' . { match('\\'); matchAny(); @@ -1371,7 +1415,7 @@ public class InternalApplicationConfigurationLexer extends Lexer { } break; case 2 : - // InternalApplicationConfiguration.g:4894:28: ~ ( ( '\\\\' | '\"' ) ) + // InternalApplicationConfiguration.g:5011:28: ~ ( ( '\\\\' | '\"' ) ) { if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { input.consume(); @@ -1396,10 +1440,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { } break; case 2 : - // InternalApplicationConfiguration.g:4894:48: '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' + // InternalApplicationConfiguration.g:5011:48: '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' { match('\''); - // InternalApplicationConfiguration.g:4894:53: ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* + // InternalApplicationConfiguration.g:5011:53: ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* loop5: do { int alt5=3; @@ -1415,7 +1459,7 @@ public class InternalApplicationConfigurationLexer extends Lexer { switch (alt5) { case 1 : - // InternalApplicationConfiguration.g:4894:54: '\\\\' . + // InternalApplicationConfiguration.g:5011:54: '\\\\' . { match('\\'); matchAny(); @@ -1423,7 +1467,7 @@ public class InternalApplicationConfigurationLexer extends Lexer { } break; case 2 : - // InternalApplicationConfiguration.g:4894:61: ~ ( ( '\\\\' | '\\'' ) ) + // InternalApplicationConfiguration.g:5011:61: ~ ( ( '\\\\' | '\\'' ) ) { if ( (input.LA(1)>='\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { input.consume(); @@ -1466,12 +1510,12 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = RULE_ML_COMMENT; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:4896:17: ( '/*' ( options {greedy=false; } : . )* '*/' ) - // InternalApplicationConfiguration.g:4896:19: '/*' ( options {greedy=false; } : . )* '*/' + // InternalApplicationConfiguration.g:5013:17: ( '/*' ( options {greedy=false; } : . )* '*/' ) + // InternalApplicationConfiguration.g:5013:19: '/*' ( options {greedy=false; } : . )* '*/' { match("/*"); - // InternalApplicationConfiguration.g:4896:24: ( options {greedy=false; } : . )* + // InternalApplicationConfiguration.g:5013:24: ( options {greedy=false; } : . )* loop7: do { int alt7=2; @@ -1496,7 +1540,7 @@ public class InternalApplicationConfigurationLexer extends Lexer { switch (alt7) { case 1 : - // InternalApplicationConfiguration.g:4896:52: . + // InternalApplicationConfiguration.g:5013:52: . { matchAny(); @@ -1526,12 +1570,12 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = RULE_SL_COMMENT; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:4898:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? ) - // InternalApplicationConfiguration.g:4898:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? + // InternalApplicationConfiguration.g:5015:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? ) + // InternalApplicationConfiguration.g:5015:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? { match("//"); - // InternalApplicationConfiguration.g:4898:24: (~ ( ( '\\n' | '\\r' ) ) )* + // InternalApplicationConfiguration.g:5015:24: (~ ( ( '\\n' | '\\r' ) ) )* loop8: do { int alt8=2; @@ -1544,7 +1588,7 @@ public class InternalApplicationConfigurationLexer extends Lexer { switch (alt8) { case 1 : - // InternalApplicationConfiguration.g:4898:24: ~ ( ( '\\n' | '\\r' ) ) + // InternalApplicationConfiguration.g:5015: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(); @@ -1564,7 +1608,7 @@ public class InternalApplicationConfigurationLexer extends Lexer { } } while (true); - // InternalApplicationConfiguration.g:4898:40: ( ( '\\r' )? '\\n' )? + // InternalApplicationConfiguration.g:5015:40: ( ( '\\r' )? '\\n' )? int alt10=2; int LA10_0 = input.LA(1); @@ -1573,9 +1617,9 @@ public class InternalApplicationConfigurationLexer extends Lexer { } switch (alt10) { case 1 : - // InternalApplicationConfiguration.g:4898:41: ( '\\r' )? '\\n' + // InternalApplicationConfiguration.g:5015:41: ( '\\r' )? '\\n' { - // InternalApplicationConfiguration.g:4898:41: ( '\\r' )? + // InternalApplicationConfiguration.g:5015:41: ( '\\r' )? int alt9=2; int LA9_0 = input.LA(1); @@ -1584,7 +1628,7 @@ public class InternalApplicationConfigurationLexer extends Lexer { } switch (alt9) { case 1 : - // InternalApplicationConfiguration.g:4898:41: '\\r' + // InternalApplicationConfiguration.g:5015:41: '\\r' { match('\r'); @@ -1616,10 +1660,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = RULE_WS; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:4900:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ ) - // InternalApplicationConfiguration.g:4900:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ + // InternalApplicationConfiguration.g:5017:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ ) + // InternalApplicationConfiguration.g:5017:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ { - // InternalApplicationConfiguration.g:4900:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ + // InternalApplicationConfiguration.g:5017:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ int cnt11=0; loop11: do { @@ -1673,8 +1717,8 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = RULE_ANY_OTHER; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:4902:16: ( . ) - // InternalApplicationConfiguration.g:4902:18: . + // InternalApplicationConfiguration.g:5019:16: ( . ) + // InternalApplicationConfiguration.g:5019:18: . { matchAny(); @@ -1689,8 +1733,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 | T__49 | T__50 | T__51 | T__52 | T__53 | T__54 | T__55 | T__56 | T__57 | T__58 | T__59 | T__60 | T__61 | T__62 | T__63 | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER ) - int alt12=60; + // 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 | T__51 | T__52 | T__53 | T__54 | T__55 | T__56 | T__57 | T__58 | T__59 | T__60 | T__61 | T__62 | T__63 | T__64 | T__65 | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER ) + int alt12=62; alt12 = dfa12.predict(input); switch (alt12) { case 1 : @@ -2065,49 +2109,63 @@ public class InternalApplicationConfigurationLexer extends Lexer { } break; case 54 : - // InternalApplicationConfiguration.g:1:328: RULE_ID + // InternalApplicationConfiguration.g:1:328: T__64 { - mRULE_ID(); + mT__64(); } break; case 55 : - // InternalApplicationConfiguration.g:1:336: RULE_INT + // InternalApplicationConfiguration.g:1:334: T__65 { - mRULE_INT(); + mT__65(); } break; case 56 : - // InternalApplicationConfiguration.g:1:345: RULE_STRING + // InternalApplicationConfiguration.g:1:340: RULE_ID { - mRULE_STRING(); + mRULE_ID(); } break; case 57 : - // InternalApplicationConfiguration.g:1:357: RULE_ML_COMMENT + // InternalApplicationConfiguration.g:1:348: RULE_INT { - mRULE_ML_COMMENT(); + mRULE_INT(); } break; case 58 : - // InternalApplicationConfiguration.g:1:373: RULE_SL_COMMENT + // InternalApplicationConfiguration.g:1:357: RULE_STRING { - mRULE_SL_COMMENT(); + mRULE_STRING(); } break; case 59 : - // InternalApplicationConfiguration.g:1:389: RULE_WS + // InternalApplicationConfiguration.g:1:369: RULE_ML_COMMENT { - mRULE_WS(); + mRULE_ML_COMMENT(); } break; case 60 : - // InternalApplicationConfiguration.g:1:397: RULE_ANY_OTHER + // InternalApplicationConfiguration.g:1:385: RULE_SL_COMMENT + { + mRULE_SL_COMMENT(); + + } + break; + case 61 : + // InternalApplicationConfiguration.g:1:401: RULE_WS + { + mRULE_WS(); + + } + break; + case 62 : + // InternalApplicationConfiguration.g:1:409: RULE_ANY_OTHER { mRULE_ANY_OTHER(); @@ -2121,134 +2179,133 @@ public class InternalApplicationConfigurationLexer extends Lexer { protected DFA12 dfa12 = new DFA12(this); static final String DFA12_eotS = - "\1\uffff\1\47\1\uffff\5\53\4\uffff\1\53\1\45\4\53\1\uffff\1\45\1\105\1\107\2\53\1\uffff\5\53\1\45\2\uffff\3\45\5\uffff\2\53\1\uffff\10\53\4\uffff\1\53\1\uffff\10\53\6\uffff\5\53\1\uffff\5\53\5\uffff\1\53\1\174\23\53\1\u0093\16\53\1\uffff\4\53\1\u00a6\1\53\1\u00a8\1\u00a9\1\53\1\u00ab\13\53\2\uffff\1\u00b7\1\u00b8\20\53\1\uffff\1\53\2\uffff\1\53\1\uffff\13\53\2\uffff\4\53\1\u00da\2\53\1\u00dd\3\53\1\u00e1\2\53\1\u00e4\2\53\1\u00e7\3\53\1\u00eb\1\u00ec\3\53\1\u00f0\1\53\1\u00f2\1\u00f3\1\u00f4\1\u00f5\1\53\1\uffff\1\u00f7\1\53\1\uffff\3\53\1\uffff\2\53\1\uffff\1\53\1\u00ff\1\uffff\1\u0100\2\53\2\uffff\3\53\1\uffff\1\53\4\uffff\1\53\1\uffff\4\53\1\u010c\2\53\3\uffff\1\53\1\u0110\1\u0111\3\53\1\u0115\3\53\1\uffff\1\u0119\1\53\1\u011b\2\uffff\3\53\1\uffff\1\u011f\2\53\1\uffff\1\53\1\uffff\1\53\1\u0124\1\u0125\1\uffff\2\53\1\u0128\1\u0129\2\uffff\1\u012a\1\53\3\uffff\1\u012c\1\uffff"; + "\1\uffff\1\50\1\uffff\5\54\4\uffff\1\54\1\46\5\54\1\uffff\1\46\1\110\1\112\2\54\1\uffff\5\54\1\46\2\uffff\3\46\5\uffff\2\54\1\uffff\10\54\4\uffff\1\54\1\uffff\6\54\1\157\3\54\6\uffff\5\54\1\uffff\5\54\5\uffff\1\54\1\u0081\22\54\1\uffff\2\54\1\u0099\16\54\1\uffff\4\54\1\u00ac\1\54\1\u00ae\1\u00af\1\54\1\u00b1\5\54\1\u00b7\6\54\2\uffff\1\u00be\1\u00bf\20\54\1\uffff\1\54\2\uffff\1\54\1\uffff\5\54\1\uffff\6\54\2\uffff\4\54\1\u00e1\2\54\1\u00e4\3\54\1\u00e8\2\54\1\u00eb\2\54\1\u00ee\3\54\1\u00f2\1\u00f3\3\54\1\u00f7\1\54\1\u00f9\1\u00fa\1\u00fb\1\u00fc\1\54\1\uffff\1\u00fe\1\54\1\uffff\3\54\1\uffff\2\54\1\uffff\1\54\1\u0106\1\uffff\1\u0107\2\54\2\uffff\3\54\1\uffff\1\54\4\uffff\1\54\1\uffff\4\54\1\u0113\2\54\3\uffff\1\54\1\u0117\1\u0118\3\54\1\u011c\3\54\1\uffff\1\u0120\1\54\1\u0122\2\uffff\3\54\1\uffff\1\u0126\2\54\1\uffff\1\54\1\uffff\1\54\1\u012b\1\u012c\1\uffff\2\54\1\u012f\1\u0130\2\uffff\1\u0131\1\54\3\uffff\1\u0133\1\uffff"; static final String DFA12_eofS = - "\u012d\uffff"; + "\u0134\uffff"; static final String DFA12_minS = - "\1\0\1\56\1\uffff\1\155\1\160\1\151\1\145\1\151\4\uffff\1\141\1\72\1\141\1\157\1\142\1\157\1\uffff\3\75\1\157\1\143\1\uffff\2\145\1\115\1\154\1\151\1\101\2\uffff\2\0\1\52\5\uffff\1\160\1\164\1\uffff\1\141\1\143\2\141\1\156\3\154\4\uffff\1\143\1\uffff\1\155\1\144\1\156\1\170\1\156\1\152\1\164\1\147\6\uffff\1\144\1\155\1\141\1\157\1\154\1\uffff\1\156\1\142\1\124\1\154\1\141\5\uffff\1\157\1\60\1\143\1\154\1\164\1\151\1\154\1\163\1\145\1\144\1\154\1\153\1\164\1\141\1\157\1\145\2\151\1\146\1\145\1\160\1\55\2\145\1\155\1\142\1\151\1\164\1\160\1\166\1\145\1\165\1\123\1\157\1\164\1\162\1\uffff\1\153\1\165\1\162\1\141\1\60\1\151\2\60\1\145\1\60\1\141\1\151\1\155\1\162\1\154\2\155\1\164\1\151\1\143\1\165\2\uffff\2\60\1\141\1\145\1\156\1\151\2\145\1\162\1\147\1\157\1\171\1\162\1\164\1\141\1\144\1\141\1\142\1\uffff\1\155\2\uffff\1\162\1\uffff\1\147\1\141\1\157\1\171\1\163\2\151\1\162\1\147\2\164\2\uffff\1\154\1\162\1\147\1\163\1\60\1\162\1\141\1\60\1\154\1\123\1\141\1\60\1\147\1\151\1\60\1\151\1\145\1\60\1\145\1\154\1\144\2\60\2\172\1\141\1\60\1\151\4\60\1\164\1\uffff\1\60\1\164\1\uffff\1\166\1\157\1\123\1\uffff\1\145\1\156\1\uffff\1\154\1\60\1\uffff\1\60\1\55\1\145\2\uffff\2\145\1\151\1\uffff\1\166\4\uffff\1\151\1\uffff\2\145\1\154\1\157\1\60\1\147\1\151\3\uffff\1\154\2\60\1\156\1\145\1\143\1\60\1\162\1\166\1\154\1\uffff\1\60\1\164\1\60\2\uffff\1\164\2\163\1\uffff\1\60\1\145\1\166\1\uffff\1\171\1\uffff\1\163\2\60\1\uffff\1\162\1\145\2\60\2\uffff\1\60\1\162\3\uffff\1\60\1\uffff"; + "\1\0\1\56\1\uffff\1\155\1\160\1\151\1\145\1\151\4\uffff\1\141\1\72\1\141\1\157\1\164\1\142\1\157\1\uffff\3\75\1\157\1\143\1\uffff\2\145\1\115\1\154\1\151\1\101\2\uffff\2\0\1\52\5\uffff\1\160\1\164\1\uffff\1\141\1\143\2\141\1\156\3\154\4\uffff\1\143\1\uffff\1\155\1\144\1\146\1\156\1\170\1\156\1\60\1\152\1\164\1\147\6\uffff\1\144\1\155\1\141\1\157\1\154\1\uffff\1\156\1\142\1\124\1\154\1\141\5\uffff\1\157\1\60\1\143\1\154\1\164\1\151\1\154\1\163\1\145\1\144\1\154\1\153\1\164\1\141\1\157\1\145\1\146\2\151\1\146\1\uffff\1\145\1\160\1\55\2\145\1\155\1\142\1\151\1\164\1\160\1\166\1\145\1\165\1\123\1\157\1\164\1\162\1\uffff\1\153\1\165\1\162\1\141\1\60\1\151\2\60\1\145\1\60\1\141\1\151\1\155\1\162\1\154\1\60\2\155\1\164\1\151\1\143\1\165\2\uffff\2\60\1\141\1\145\1\156\1\151\2\145\1\162\1\147\1\157\1\171\1\162\1\164\1\141\1\144\1\141\1\142\1\uffff\1\155\2\uffff\1\162\1\uffff\1\147\1\141\1\157\1\171\1\163\1\uffff\2\151\1\162\1\147\2\164\2\uffff\1\154\1\162\1\147\1\163\1\60\1\162\1\141\1\60\1\154\1\123\1\141\1\60\1\147\1\151\1\60\1\151\1\145\1\60\1\145\1\154\1\144\2\60\2\172\1\141\1\60\1\151\4\60\1\164\1\uffff\1\60\1\164\1\uffff\1\166\1\157\1\123\1\uffff\1\145\1\156\1\uffff\1\154\1\60\1\uffff\1\60\1\55\1\145\2\uffff\2\145\1\151\1\uffff\1\166\4\uffff\1\151\1\uffff\2\145\1\154\1\157\1\60\1\147\1\151\3\uffff\1\154\2\60\1\156\1\145\1\143\1\60\1\162\1\166\1\154\1\uffff\1\60\1\164\1\60\2\uffff\1\164\2\163\1\uffff\1\60\1\145\1\166\1\uffff\1\171\1\uffff\1\163\2\60\1\uffff\1\162\1\145\2\60\2\uffff\1\60\1\162\3\uffff\1\60\1\uffff"; static final String DFA12_maxS = - "\1\uffff\1\56\1\uffff\1\156\1\170\1\151\2\165\4\uffff\1\141\1\72\2\157\1\165\1\157\1\uffff\3\75\1\165\1\164\1\uffff\2\145\1\115\1\154\1\151\1\172\2\uffff\2\uffff\1\57\5\uffff\1\160\1\164\1\uffff\1\141\1\143\1\141\1\154\1\156\3\154\4\uffff\1\162\1\uffff\1\164\1\144\1\156\1\170\1\156\1\152\1\164\1\147\6\uffff\1\162\1\155\1\162\1\157\1\154\1\uffff\1\156\1\142\1\124\1\154\1\141\5\uffff\1\157\1\172\1\143\1\154\1\164\1\151\1\154\1\164\1\145\1\144\1\154\1\153\1\164\1\141\1\157\1\145\2\151\1\163\1\145\1\160\1\172\2\145\1\155\1\142\1\151\1\164\1\160\1\166\1\145\1\165\1\123\1\157\1\164\1\162\1\uffff\1\153\1\165\1\162\1\141\1\172\1\151\2\172\1\145\1\172\1\141\1\151\1\155\1\162\1\154\2\155\1\164\1\151\1\143\1\165\2\uffff\2\172\1\141\1\145\1\156\1\151\2\145\1\162\1\147\1\157\1\171\1\162\1\164\1\141\1\144\1\141\1\142\1\uffff\1\155\2\uffff\1\162\1\uffff\1\147\1\141\1\157\1\171\1\163\2\151\1\162\1\147\2\164\2\uffff\1\154\1\162\1\147\1\163\1\172\1\162\1\141\1\172\1\154\1\123\1\141\1\172\1\147\1\151\1\172\1\151\1\145\1\172\1\145\1\154\1\144\4\172\1\141\1\172\1\151\4\172\1\164\1\uffff\1\172\1\164\1\uffff\1\166\1\157\1\123\1\uffff\1\145\1\156\1\uffff\1\154\1\172\1\uffff\1\172\1\55\1\145\2\uffff\2\145\1\151\1\uffff\1\166\4\uffff\1\151\1\uffff\2\145\1\154\1\157\1\172\1\147\1\151\3\uffff\1\154\2\172\1\156\1\145\1\143\1\172\1\162\1\166\1\154\1\uffff\1\172\1\164\1\172\2\uffff\1\164\2\163\1\uffff\1\172\1\145\1\166\1\uffff\1\171\1\uffff\1\163\2\172\1\uffff\1\162\1\145\2\172\2\uffff\1\172\1\162\3\uffff\1\172\1\uffff"; + "\1\uffff\1\56\1\uffff\1\156\1\170\1\151\2\165\4\uffff\1\141\1\72\1\164\1\157\1\164\1\165\1\157\1\uffff\3\75\1\165\1\164\1\uffff\2\145\1\115\1\154\1\151\1\172\2\uffff\2\uffff\1\57\5\uffff\1\160\1\164\1\uffff\1\141\1\143\1\141\1\154\1\156\3\154\4\uffff\1\162\1\uffff\1\164\1\144\1\146\1\156\1\170\1\156\1\172\1\152\1\164\1\147\6\uffff\1\162\1\155\1\162\1\157\1\154\1\uffff\1\156\1\142\1\124\1\154\1\141\5\uffff\1\157\1\172\1\143\1\154\1\164\1\151\1\154\1\164\1\145\1\144\1\154\1\153\1\164\1\141\1\157\1\145\1\146\2\151\1\163\1\uffff\1\145\1\160\1\172\2\145\1\155\1\142\1\151\1\164\1\160\1\166\1\145\1\165\1\123\1\157\1\164\1\162\1\uffff\1\153\1\165\1\162\1\141\1\172\1\151\2\172\1\145\1\172\1\141\1\151\1\155\1\162\1\154\1\172\2\155\1\164\1\151\1\143\1\165\2\uffff\2\172\1\141\1\145\1\156\1\151\2\145\1\162\1\147\1\157\1\171\1\162\1\164\1\141\1\144\1\141\1\142\1\uffff\1\155\2\uffff\1\162\1\uffff\1\147\1\141\1\157\1\171\1\163\1\uffff\2\151\1\162\1\147\2\164\2\uffff\1\154\1\162\1\147\1\163\1\172\1\162\1\141\1\172\1\154\1\123\1\141\1\172\1\147\1\151\1\172\1\151\1\145\1\172\1\145\1\154\1\144\4\172\1\141\1\172\1\151\4\172\1\164\1\uffff\1\172\1\164\1\uffff\1\166\1\157\1\123\1\uffff\1\145\1\156\1\uffff\1\154\1\172\1\uffff\1\172\1\55\1\145\2\uffff\2\145\1\151\1\uffff\1\166\4\uffff\1\151\1\uffff\2\145\1\154\1\157\1\172\1\147\1\151\3\uffff\1\154\2\172\1\156\1\145\1\143\1\172\1\162\1\166\1\154\1\uffff\1\172\1\164\1\172\2\uffff\1\164\2\163\1\uffff\1\172\1\145\1\166\1\uffff\1\171\1\uffff\1\163\2\172\1\uffff\1\162\1\145\2\172\2\uffff\1\172\1\162\3\uffff\1\172\1\uffff"; static final String DFA12_acceptS = - "\2\uffff\1\2\5\uffff\1\10\1\11\1\12\1\13\6\uffff\1\30\5\uffff\1\40\6\uffff\1\66\1\67\3\uffff\1\73\1\74\1\41\1\1\1\2\2\uffff\1\66\10\uffff\1\10\1\11\1\12\1\13\1\uffff\1\16\10\uffff\1\30\1\31\1\56\1\32\1\57\1\33\5\uffff\1\40\5\uffff\1\67\1\70\1\71\1\72\1\73\44\uffff\1\35\25\uffff\1\25\1\51\22\uffff\1\36\1\uffff\1\46\1\7\1\uffff\1\62\13\uffff\1\34\1\60\41\uffff\1\42\2\uffff\1\50\3\uffff\1\3\2\uffff\1\5\2\uffff\1\20\3\uffff\1\27\1\21\3\uffff\1\24\1\uffff\1\53\1\61\1\45\1\37\1\uffff\1\47\7\uffff\1\26\1\14\1\44\12\uffff\1\4\3\uffff\1\54\1\55\3\uffff\1\43\3\uffff\1\15\1\uffff\1\17\3\uffff\1\63\4\uffff\1\23\1\52\2\uffff\1\6\1\22\1\64\1\uffff\1\65"; + "\2\uffff\1\2\5\uffff\1\10\1\11\1\12\1\13\7\uffff\1\32\5\uffff\1\42\6\uffff\1\70\1\71\3\uffff\1\75\1\76\1\43\1\1\1\2\2\uffff\1\70\10\uffff\1\10\1\11\1\12\1\13\1\uffff\1\16\12\uffff\1\32\1\33\1\60\1\34\1\61\1\35\5\uffff\1\42\5\uffff\1\71\1\72\1\73\1\74\1\75\24\uffff\1\23\21\uffff\1\37\26\uffff\1\27\1\53\22\uffff\1\40\1\uffff\1\50\1\7\1\uffff\1\64\5\uffff\1\24\6\uffff\1\36\1\62\41\uffff\1\44\2\uffff\1\52\3\uffff\1\3\2\uffff\1\5\2\uffff\1\20\3\uffff\1\31\1\21\3\uffff\1\26\1\uffff\1\55\1\63\1\47\1\41\1\uffff\1\51\7\uffff\1\30\1\14\1\46\12\uffff\1\4\3\uffff\1\56\1\57\3\uffff\1\45\3\uffff\1\15\1\uffff\1\17\3\uffff\1\65\4\uffff\1\25\1\54\2\uffff\1\6\1\22\1\66\1\uffff\1\67"; static final String DFA12_specialS = - "\1\0\40\uffff\1\1\1\2\u010a\uffff}>"; + "\1\1\41\uffff\1\2\1\0\u0110\uffff}>"; static final String[] DFA12_transitionS = { - "\11\45\2\44\2\45\1\44\22\45\1\44\1\45\1\41\1\22\3\45\1\42\2\45\1\30\1\23\1\12\1\2\1\1\1\43\12\40\1\15\1\45\1\24\1\10\1\25\2\45\1\34\21\37\1\33\2\37\1\35\4\37\3\45\1\36\1\37\1\45\2\37\1\17\1\32\1\4\1\7\1\31\1\37\1\3\2\37\1\21\1\16\1\26\1\20\1\14\1\37\1\6\1\27\2\37\1\5\4\37\1\11\1\45\1\13\uff82\45", - "\1\46", + "\11\46\2\45\2\46\1\45\22\46\1\45\1\46\1\42\1\23\3\46\1\43\2\46\1\31\1\24\1\12\1\2\1\1\1\44\12\41\1\15\1\46\1\25\1\10\1\26\2\46\1\35\21\40\1\34\2\40\1\36\4\40\3\46\1\37\1\40\1\46\1\20\1\40\1\17\1\33\1\4\1\7\1\32\1\40\1\3\2\40\1\22\1\16\1\27\1\21\1\14\1\40\1\6\1\30\2\40\1\5\4\40\1\11\1\46\1\13\uff82\46", + "\1\47", "", - "\1\51\1\52", - "\1\54\7\uffff\1\55", - "\1\56", - "\1\57\17\uffff\1\60", - "\1\61\5\uffff\1\62\5\uffff\1\63", + "\1\52\1\53", + "\1\55\7\uffff\1\56", + "\1\57", + "\1\60\17\uffff\1\61", + "\1\62\5\uffff\1\63\5\uffff\1\64", "", "", "", "", - "\1\70", "\1\71", - "\1\75\3\uffff\1\72\3\uffff\1\74\5\uffff\1\73", - "\1\76", - "\1\77\22\uffff\1\100", + "\1\72", + "\1\77\3\uffff\1\73\3\uffff\1\76\5\uffff\1\74\4\uffff\1\75", + "\1\100", "\1\101", - "", - "\1\103", + "\1\102\22\uffff\1\103", "\1\104", + "", "\1\106", - "\1\110\5\uffff\1\111", - "\1\113\13\uffff\1\114\4\uffff\1\112", + "\1\107", + "\1\111", + "\1\113\5\uffff\1\114", + "\1\116\13\uffff\1\117\4\uffff\1\115", "", - "\1\116", - "\1\117", - "\1\120", "\1\121", "\1\122", - "\32\53\4\uffff\1\53\1\uffff\32\53", - "", + "\1\123", + "\1\124", + "\1\125", + "\32\54\4\uffff\1\54\1\uffff\32\54", "", - "\0\124", - "\0\124", - "\1\125\4\uffff\1\126", "", + "\0\127", + "\0\127", + "\1\130\4\uffff\1\131", "", "", "", "", - "\1\130", - "\1\131", "", - "\1\132", "\1\133", "\1\134", - "\1\136\12\uffff\1\135", + "", + "\1\135", + "\1\136", "\1\137", - "\1\140", - "\1\141", + "\1\141\12\uffff\1\140", "\1\142", + "\1\143", + "\1\144", + "\1\145", "", "", "", "", - "\1\143\16\uffff\1\144", + "\1\146\16\uffff\1\147", "", - "\1\146\6\uffff\1\145", - "\1\147", - "\1\150", - "\1\151", + "\1\151\6\uffff\1\150", "\1\152", "\1\153", "\1\154", "\1\155", + "\1\156", + "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", + "\1\160", + "\1\161", + "\1\162", "", "", "", "", "", "", - "\1\156\11\uffff\1\157\3\uffff\1\160", - "\1\161", - "\1\163\20\uffff\1\162", - "\1\164", - "\1\165", - "", + "\1\163\11\uffff\1\164\3\uffff\1\165", "\1\166", - "\1\167", - "\1\170", + "\1\170\20\uffff\1\167", "\1\171", "\1\172", "", - "", - "", - "", - "", "\1\173", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\1\174", "\1\175", "\1\176", "\1\177", + "", + "", + "", + "", + "", "\1\u0080", - "\1\u0081", - "\1\u0083\1\u0082", + "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", + "\1\u0082", + "\1\u0083", "\1\u0084", "\1\u0085", "\1\u0086", - "\1\u0087", - "\1\u0088", + "\1\u0088\1\u0087", "\1\u0089", "\1\u008a", "\1\u008b", "\1\u008c", "\1\u008d", - "\1\u008f\14\uffff\1\u008e", + "\1\u008e", + "\1\u008f", "\1\u0090", "\1\u0091", - "\1\u0092\2\uffff\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", - "\1\u0094", - "\1\u0095", + "\1\u0092", + "\1\u0093", + "\1\u0095\14\uffff\1\u0094", + "", "\1\u0096", "\1\u0097", - "\1\u0098", - "\1\u0099", + "\1\u0098\2\uffff\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", "\1\u009a", "\1\u009b", "\1\u009c", @@ -2257,39 +2314,39 @@ public class InternalApplicationConfigurationLexer extends Lexer { "\1\u009f", "\1\u00a0", "\1\u00a1", - "", "\1\u00a2", "\1\u00a3", "\1\u00a4", "\1\u00a5", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\1\u00a6", "\1\u00a7", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "", + "\1\u00a8", + "\1\u00a9", "\1\u00aa", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", - "\1\u00ac", + "\1\u00ab", + "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", "\1\u00ad", - "\1\u00ae", - "\1\u00af", + "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", + "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", "\1\u00b0", - "\1\u00b1", + "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", "\1\u00b2", "\1\u00b3", "\1\u00b4", "\1\u00b5", "\1\u00b6", - "", - "", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", + "\1\u00b8", "\1\u00b9", "\1\u00ba", "\1\u00bb", "\1\u00bc", "\1\u00bd", - "\1\u00be", - "\1\u00bf", + "", + "", + "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", + "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", "\1\u00c0", "\1\u00c1", "\1\u00c2", @@ -2299,140 +2356,148 @@ public class InternalApplicationConfigurationLexer extends Lexer { "\1\u00c6", "\1\u00c7", "\1\u00c8", - "", "\1\u00c9", - "", - "", "\1\u00ca", - "", "\1\u00cb", "\1\u00cc", "\1\u00cd", "\1\u00ce", "\1\u00cf", + "", "\1\u00d0", + "", + "", "\1\u00d1", + "", "\1\u00d2", "\1\u00d3", "\1\u00d4", "\1\u00d5", - "", - "", "\1\u00d6", + "", "\1\u00d7", "\1\u00d8", "\1\u00d9", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\1\u00da", "\1\u00db", "\1\u00dc", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "", + "", + "\1\u00dd", "\1\u00de", "\1\u00df", "\1\u00e0", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", "\1\u00e2", "\1\u00e3", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", "\1\u00e5", "\1\u00e6", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", - "\1\u00e8", + "\1\u00e7", + "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", "\1\u00e9", "\1\u00ea", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", + "\1\u00ec", "\1\u00ed", - "\1\u00ee", + "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", "\1\u00ef", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\1\u00f0", "\1\u00f1", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", + "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", + "\1\u00f4", + "\1\u00f5", "\1\u00f6", - "", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", "\1\u00f8", - "", - "\1\u00f9", - "\1\u00fa", - "\1\u00fb", - "", - "\1\u00fc", + "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", + "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", + "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", + "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", "\1\u00fd", "", - "\1\u00fe", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", + "\1\u00ff", "", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\1\u0100", "\1\u0101", "\1\u0102", "", - "", "\1\u0103", "\1\u0104", - "\1\u0105", - "", - "\1\u0106", - "", "", + "\1\u0105", + "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", "", - "", - "\1\u0107", - "", + "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", "\1\u0108", "\1\u0109", + "", + "", "\1\u010a", "\1\u010b", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\1\u010c", + "", "\1\u010d", - "\1\u010e", "", "", "", + "", + "\1\u010e", + "", "\1\u010f", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\1\u0110", + "\1\u0111", "\1\u0112", - "\1\u0113", + "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", "\1\u0114", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", - "\1\u0116", - "\1\u0117", - "\1\u0118", + "\1\u0115", "", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", - "\1\u011a", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", "", "", - "\1\u011c", + "\1\u0116", + "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", + "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", + "\1\u0119", + "\1\u011a", + "\1\u011b", + "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", "\1\u011d", "\1\u011e", + "\1\u011f", "", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", - "\1\u0120", + "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", "\1\u0121", + "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", "", - "\1\u0122", "", "\1\u0123", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\1\u0124", + "\1\u0125", "", - "\1\u0126", + "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", "\1\u0127", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\1\u0128", + "", + "\1\u0129", "", + "\1\u012a", + "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", + "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", "", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", - "\1\u012b", + "\1\u012d", + "\1\u012e", + "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", + "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", "", "", + "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", + "\1\u0132", "", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "", + "", + "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", "" }; @@ -2466,13 +2531,23 @@ 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 | T__49 | T__50 | T__51 | T__52 | T__53 | T__54 | T__55 | T__56 | T__57 | T__58 | T__59 | T__60 | T__61 | T__62 | T__63 | 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 | T__51 | T__52 | T__53 | T__54 | T__55 | T__56 | T__57 | T__58 | T__59 | T__60 | T__61 | T__62 | T__63 | T__64 | T__65 | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER );"; } public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { IntStream input = _input; int _s = s; switch ( s ) { case 0 : + int LA12_35 = input.LA(1); + + s = -1; + if ( ((LA12_35>='\u0000' && LA12_35<='\uFFFF')) ) {s = 87;} + + else s = 38; + + if ( s>=0 ) return s; + break; + case 1 : int LA12_0 = input.LA(1); s = -1; @@ -2506,59 +2581,51 @@ public class InternalApplicationConfigurationLexer extends Lexer { else if ( (LA12_0=='c') ) {s = 15;} - else if ( (LA12_0=='o') ) {s = 16;} + else if ( (LA12_0=='a') ) {s = 16;} - else if ( (LA12_0=='l') ) {s = 17;} + else if ( (LA12_0=='o') ) {s = 17;} - else if ( (LA12_0=='#') ) {s = 18;} + else if ( (LA12_0=='l') ) {s = 18;} - else if ( (LA12_0=='+') ) {s = 19;} + else if ( (LA12_0=='#') ) {s = 19;} - else if ( (LA12_0=='<') ) {s = 20;} + else if ( (LA12_0=='+') ) {s = 20;} - else if ( (LA12_0=='>') ) {s = 21;} + else if ( (LA12_0=='<') ) {s = 21;} - else if ( (LA12_0=='n') ) {s = 22;} + else if ( (LA12_0=='>') ) {s = 22;} - else if ( (LA12_0=='s') ) {s = 23;} + else if ( (LA12_0=='n') ) {s = 23;} - else if ( (LA12_0=='*') ) {s = 24;} + else if ( (LA12_0=='s') ) {s = 24;} - else if ( (LA12_0=='g') ) {s = 25;} + else if ( (LA12_0=='*') ) {s = 25;} - else if ( (LA12_0=='d') ) {s = 26;} + else if ( (LA12_0=='g') ) {s = 26;} - else if ( (LA12_0=='S') ) {s = 27;} + else if ( (LA12_0=='d') ) {s = 27;} - else if ( (LA12_0=='A') ) {s = 28;} + else if ( (LA12_0=='S') ) {s = 28;} - else if ( (LA12_0=='V') ) {s = 29;} + else if ( (LA12_0=='A') ) {s = 29;} - else if ( (LA12_0=='^') ) {s = 30;} + else if ( (LA12_0=='V') ) {s = 30;} - else if ( ((LA12_0>='B' && 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 = 31;} - else if ( ((LA12_0>='0' && LA12_0<='9')) ) {s = 32;} + else if ( ((LA12_0>='B' && LA12_0<='R')||(LA12_0>='T' && LA12_0<='U')||(LA12_0>='W' && LA12_0<='Z')||LA12_0=='_'||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 = 32;} - else if ( (LA12_0=='\"') ) {s = 33;} + else if ( ((LA12_0>='0' && LA12_0<='9')) ) {s = 33;} - else if ( (LA12_0=='\'') ) {s = 34;} + else if ( (LA12_0=='\"') ) {s = 34;} - else if ( (LA12_0=='/') ) {s = 35;} + else if ( (LA12_0=='\'') ) {s = 35;} - else if ( ((LA12_0>='\t' && LA12_0<='\n')||LA12_0=='\r'||LA12_0==' ') ) {s = 36;} + else if ( (LA12_0=='/') ) {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<='\uFFFF')) ) {s = 37;} - - if ( s>=0 ) return s; - break; - case 1 : - int LA12_33 = input.LA(1); - - s = -1; - if ( ((LA12_33>='\u0000' && LA12_33<='\uFFFF')) ) {s = 84;} + else if ( ((LA12_0>='\t' && LA12_0<='\n')||LA12_0=='\r'||LA12_0==' ') ) {s = 37;} - else s = 37; + 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 = 38;} if ( s>=0 ) return s; break; @@ -2566,9 +2633,9 @@ public class InternalApplicationConfigurationLexer extends Lexer { int LA12_34 = input.LA(1); s = -1; - if ( ((LA12_34>='\u0000' && LA12_34<='\uFFFF')) ) {s = 84;} + if ( ((LA12_34>='\u0000' && LA12_34<='\uFFFF')) ) {s = 87;} - else s = 37; + else s = 38; 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 191f96eb..8998c4ee 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 @@ -22,7 +22,7 @@ import java.util.ArrayList; @SuppressWarnings("all") public class InternalApplicationConfigurationParser extends AbstractInternalAntlrParser { public static final String[] tokenNames = new String[] { - "", "", "", "", "RULE_ID", "RULE_INT", "RULE_STRING", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "'.'", "'-'", "'import'", "'epackage'", "'viatra'", "'reliability'", "'file'", "'='", "'{'", "','", "'}'", "'package'", "'excluding'", "'::'", "'metamodel'", "'folder'", "'models'", "'constraints'", "'objectives'", "'config'", "'log-level'", "'runtime'", "'memory'", "'#'", "'+='", "'<'", "'>'", "'node'", "'int'", "'real'", "'string'", "'*'", "'..'", "'scope'", "'generate'", "'partial-model'", "'number'", "'runs'", "'solver'", "'debug'", "'log'", "'statistics'", "'output'", "'minimize'", "'maximize'", "'<='", "'>='", "'none'", "'normal'", "'full'", "'SMTSolver'", "'AlloySolver'", "'ViatraSolver'" + "", "", "", "", "RULE_ID", "RULE_INT", "RULE_STRING", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "'.'", "'-'", "'import'", "'epackage'", "'viatra'", "'reliability'", "'file'", "'='", "'{'", "','", "'}'", "'package'", "'excluding'", "'::'", "'metamodel'", "'folder'", "'models'", "'constraints'", "'at'", "'mtff'", "'objectives'", "'config'", "'log-level'", "'runtime'", "'memory'", "'#'", "'+='", "'<'", "'>'", "'node'", "'int'", "'real'", "'string'", "'*'", "'..'", "'scope'", "'generate'", "'partial-model'", "'number'", "'runs'", "'solver'", "'debug'", "'log'", "'statistics'", "'output'", "'minimize'", "'maximize'", "'<='", "'>='", "'none'", "'normal'", "'full'", "'SMTSolver'", "'AlloySolver'", "'ViatraSolver'" }; public static final int T__50=50; public static final int T__19=19; @@ -59,7 +59,9 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl public static final int T__62=62; public static final int T__63=63; public static final int T__20=20; + public static final int T__64=64; public static final int T__21=21; + public static final int T__65=65; public static final int RULE_STRING=6; public static final int RULE_SL_COMMENT=8; public static final int T__37=37; @@ -236,7 +238,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl int alt2=2; int LA2_0 = input.LA(1); - if ( (LA2_0==17||LA2_0==25||(LA2_0>=27 && LA2_0<=30)||(LA2_0>=44 && LA2_0<=45)) ) { + if ( (LA2_0==17||LA2_0==25||(LA2_0>=27 && LA2_0<=28)||(LA2_0>=31 && LA2_0<=32)||(LA2_0>=46 && LA2_0<=47)) ) { alt2=1; } @@ -358,10 +360,10 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl int alt3=2; int LA3_0 = input.LA(1); - if ( (LA3_0==17||LA3_0==25||(LA3_0>=27 && LA3_0<=30)||LA3_0==44) ) { + if ( (LA3_0==17||LA3_0==25||(LA3_0>=27 && LA3_0<=28)||(LA3_0>=31 && LA3_0<=32)||LA3_0==46) ) { alt3=1; } - else if ( (LA3_0==45) ) { + else if ( (LA3_0==47) ) { alt3=2; } else { @@ -1343,17 +1345,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl alt8=4; } break; - case 30: + case 32: { alt8=5; } break; - case 44: + case 46: { alt8=6; } break; - case 29: + case 31: { alt8=7; } @@ -5355,10 +5357,10 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl int alt29=2; int LA29_0 = input.LA(1); - if ( ((LA29_0>=54 && LA29_0<=55)) ) { + if ( ((LA29_0>=56 && LA29_0<=57)) ) { alt29=1; } - else if ( (LA29_0==16) ) { + else if ( (LA29_0==16||LA29_0==30) ) { alt29=2; } else { @@ -5776,30 +5778,30 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleObjectiveFunction" - // InternalApplicationConfiguration.g:2090:1: ruleObjectiveFunction returns [EObject current=null] : this_ReliabiltiyFunction_0= ruleReliabiltiyFunction ; + // InternalApplicationConfiguration.g:2090:1: ruleObjectiveFunction returns [EObject current=null] : this_ReliabilityObjectiveFunction_0= ruleReliabilityObjectiveFunction ; public final EObject ruleObjectiveFunction() throws RecognitionException { EObject current = null; - EObject this_ReliabiltiyFunction_0 = null; + EObject this_ReliabilityObjectiveFunction_0 = null; enterRule(); try { - // InternalApplicationConfiguration.g:2096:2: (this_ReliabiltiyFunction_0= ruleReliabiltiyFunction ) - // InternalApplicationConfiguration.g:2097:2: this_ReliabiltiyFunction_0= ruleReliabiltiyFunction + // InternalApplicationConfiguration.g:2096:2: (this_ReliabilityObjectiveFunction_0= ruleReliabilityObjectiveFunction ) + // InternalApplicationConfiguration.g:2097:2: this_ReliabilityObjectiveFunction_0= ruleReliabilityObjectiveFunction { - newCompositeNode(grammarAccess.getObjectiveFunctionAccess().getReliabiltiyFunctionParserRuleCall()); + newCompositeNode(grammarAccess.getObjectiveFunctionAccess().getReliabilityObjectiveFunctionParserRuleCall()); pushFollow(FOLLOW_2); - this_ReliabiltiyFunction_0=ruleReliabiltiyFunction(); + this_ReliabilityObjectiveFunction_0=ruleReliabilityObjectiveFunction(); state._fsp--; - current = this_ReliabiltiyFunction_0; + current = this_ReliabilityObjectiveFunction_0; afterParserOrEnumRuleCall(); @@ -5821,25 +5823,153 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR end "ruleObjectiveFunction" - // $ANTLR start "entryRuleReliabiltiyFunction" - // InternalApplicationConfiguration.g:2108:1: entryRuleReliabiltiyFunction returns [EObject current=null] : iv_ruleReliabiltiyFunction= ruleReliabiltiyFunction EOF ; - public final EObject entryRuleReliabiltiyFunction() throws RecognitionException { + // $ANTLR start "entryRuleReliabilityObjectiveFunction" + // InternalApplicationConfiguration.g:2108:1: entryRuleReliabilityObjectiveFunction returns [EObject current=null] : iv_ruleReliabilityObjectiveFunction= ruleReliabilityObjectiveFunction EOF ; + public final EObject entryRuleReliabilityObjectiveFunction() throws RecognitionException { + EObject current = null; + + EObject iv_ruleReliabilityObjectiveFunction = null; + + + try { + // InternalApplicationConfiguration.g:2108:69: (iv_ruleReliabilityObjectiveFunction= ruleReliabilityObjectiveFunction EOF ) + // InternalApplicationConfiguration.g:2109:2: iv_ruleReliabilityObjectiveFunction= ruleReliabilityObjectiveFunction EOF + { + newCompositeNode(grammarAccess.getReliabilityObjectiveFunctionRule()); + pushFollow(FOLLOW_1); + iv_ruleReliabilityObjectiveFunction=ruleReliabilityObjectiveFunction(); + + state._fsp--; + + current =iv_ruleReliabilityObjectiveFunction; + match(input,EOF,FOLLOW_2); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleReliabilityObjectiveFunction" + + + // $ANTLR start "ruleReliabilityObjectiveFunction" + // InternalApplicationConfiguration.g:2115:1: ruleReliabilityObjectiveFunction returns [EObject current=null] : (this_ReliabiltiyProbability_0= ruleReliabiltiyProbability | this_Mtff_1= ruleMtff ) ; + public final EObject ruleReliabilityObjectiveFunction() throws RecognitionException { + EObject current = null; + + EObject this_ReliabiltiyProbability_0 = null; + + EObject this_Mtff_1 = null; + + + + enterRule(); + + try { + // InternalApplicationConfiguration.g:2121:2: ( (this_ReliabiltiyProbability_0= ruleReliabiltiyProbability | this_Mtff_1= ruleMtff ) ) + // InternalApplicationConfiguration.g:2122:2: (this_ReliabiltiyProbability_0= ruleReliabiltiyProbability | this_Mtff_1= ruleMtff ) + { + // InternalApplicationConfiguration.g:2122:2: (this_ReliabiltiyProbability_0= ruleReliabiltiyProbability | this_Mtff_1= ruleMtff ) + int alt30=2; + int LA30_0 = input.LA(1); + + if ( (LA30_0==16) ) { + alt30=1; + } + else if ( (LA30_0==30) ) { + alt30=2; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 30, 0, input); + + throw nvae; + } + switch (alt30) { + case 1 : + // InternalApplicationConfiguration.g:2123:3: this_ReliabiltiyProbability_0= ruleReliabiltiyProbability + { + + newCompositeNode(grammarAccess.getReliabilityObjectiveFunctionAccess().getReliabiltiyProbabilityParserRuleCall_0()); + + pushFollow(FOLLOW_2); + this_ReliabiltiyProbability_0=ruleReliabiltiyProbability(); + + state._fsp--; + + + current = this_ReliabiltiyProbability_0; + afterParserOrEnumRuleCall(); + + + } + break; + case 2 : + // InternalApplicationConfiguration.g:2132:3: this_Mtff_1= ruleMtff + { + + newCompositeNode(grammarAccess.getReliabilityObjectiveFunctionAccess().getMtffParserRuleCall_1()); + + pushFollow(FOLLOW_2); + this_Mtff_1=ruleMtff(); + + state._fsp--; + + + current = this_Mtff_1; + afterParserOrEnumRuleCall(); + + + } + break; + + } + + + } + + + leaveRule(); + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleReliabilityObjectiveFunction" + + + // $ANTLR start "entryRuleReliabiltiyProbability" + // InternalApplicationConfiguration.g:2144:1: entryRuleReliabiltiyProbability returns [EObject current=null] : iv_ruleReliabiltiyProbability= ruleReliabiltiyProbability EOF ; + public final EObject entryRuleReliabiltiyProbability() throws RecognitionException { EObject current = null; - EObject iv_ruleReliabiltiyFunction = null; + EObject iv_ruleReliabiltiyProbability = null; try { - // InternalApplicationConfiguration.g:2108:60: (iv_ruleReliabiltiyFunction= ruleReliabiltiyFunction EOF ) - // InternalApplicationConfiguration.g:2109:2: iv_ruleReliabiltiyFunction= ruleReliabiltiyFunction EOF + // InternalApplicationConfiguration.g:2144:63: (iv_ruleReliabiltiyProbability= ruleReliabiltiyProbability EOF ) + // InternalApplicationConfiguration.g:2145:2: iv_ruleReliabiltiyProbability= ruleReliabiltiyProbability EOF { - newCompositeNode(grammarAccess.getReliabiltiyFunctionRule()); + newCompositeNode(grammarAccess.getReliabiltiyProbabilityRule()); pushFollow(FOLLOW_1); - iv_ruleReliabiltiyFunction=ruleReliabiltiyFunction(); + iv_ruleReliabiltiyProbability=ruleReliabiltiyProbability(); state._fsp--; - current =iv_ruleReliabiltiyFunction; + current =iv_ruleReliabiltiyProbability; match(input,EOF,FOLLOW_2); } @@ -5854,60 +5984,253 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } return current; } - // $ANTLR end "entryRuleReliabiltiyFunction" + // $ANTLR end "entryRuleReliabiltiyProbability" - // $ANTLR start "ruleReliabiltiyFunction" - // InternalApplicationConfiguration.g:2115:1: ruleReliabiltiyFunction returns [EObject current=null] : (otherlv_0= 'reliability' ( ( ( ruleQualifiedName ) ) otherlv_2= '::' )? ( (otherlv_3= RULE_ID ) ) ) ; - public final EObject ruleReliabiltiyFunction() throws RecognitionException { + // $ANTLR start "ruleReliabiltiyProbability" + // InternalApplicationConfiguration.g:2151:1: ruleReliabiltiyProbability returns [EObject current=null] : (otherlv_0= 'reliability' ( ( ( ruleQualifiedName ) ) otherlv_2= '::' )? ( (otherlv_3= RULE_ID ) ) otherlv_4= 'at' ( (lv_time_5_0= ruleREALLiteral ) ) ) ; + public final EObject ruleReliabiltiyProbability() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token otherlv_2=null; Token otherlv_3=null; + Token otherlv_4=null; + AntlrDatatypeRuleToken lv_time_5_0 = null; + enterRule(); try { - // InternalApplicationConfiguration.g:2121:2: ( (otherlv_0= 'reliability' ( ( ( ruleQualifiedName ) ) otherlv_2= '::' )? ( (otherlv_3= RULE_ID ) ) ) ) - // InternalApplicationConfiguration.g:2122:2: (otherlv_0= 'reliability' ( ( ( ruleQualifiedName ) ) otherlv_2= '::' )? ( (otherlv_3= RULE_ID ) ) ) + // InternalApplicationConfiguration.g:2157:2: ( (otherlv_0= 'reliability' ( ( ( ruleQualifiedName ) ) otherlv_2= '::' )? ( (otherlv_3= RULE_ID ) ) otherlv_4= 'at' ( (lv_time_5_0= ruleREALLiteral ) ) ) ) + // InternalApplicationConfiguration.g:2158:2: (otherlv_0= 'reliability' ( ( ( ruleQualifiedName ) ) otherlv_2= '::' )? ( (otherlv_3= RULE_ID ) ) otherlv_4= 'at' ( (lv_time_5_0= ruleREALLiteral ) ) ) { - // InternalApplicationConfiguration.g:2122:2: (otherlv_0= 'reliability' ( ( ( ruleQualifiedName ) ) otherlv_2= '::' )? ( (otherlv_3= RULE_ID ) ) ) - // InternalApplicationConfiguration.g:2123:3: otherlv_0= 'reliability' ( ( ( ruleQualifiedName ) ) otherlv_2= '::' )? ( (otherlv_3= RULE_ID ) ) + // InternalApplicationConfiguration.g:2158:2: (otherlv_0= 'reliability' ( ( ( ruleQualifiedName ) ) otherlv_2= '::' )? ( (otherlv_3= RULE_ID ) ) otherlv_4= 'at' ( (lv_time_5_0= ruleREALLiteral ) ) ) + // InternalApplicationConfiguration.g:2159:3: otherlv_0= 'reliability' ( ( ( ruleQualifiedName ) ) otherlv_2= '::' )? ( (otherlv_3= RULE_ID ) ) otherlv_4= 'at' ( (lv_time_5_0= ruleREALLiteral ) ) { otherlv_0=(Token)match(input,16,FOLLOW_6); - newLeafNode(otherlv_0, grammarAccess.getReliabiltiyFunctionAccess().getReliabilityKeyword_0()); + newLeafNode(otherlv_0, grammarAccess.getReliabiltiyProbabilityAccess().getReliabilityKeyword_0()); - // InternalApplicationConfiguration.g:2127:3: ( ( ( ruleQualifiedName ) ) otherlv_2= '::' )? - int alt30=2; - int LA30_0 = input.LA(1); + // InternalApplicationConfiguration.g:2163:3: ( ( ( ruleQualifiedName ) ) otherlv_2= '::' )? + int alt31=2; + int LA31_0 = input.LA(1); - if ( (LA30_0==RULE_ID) ) { - int LA30_1 = input.LA(2); + if ( (LA31_0==RULE_ID) ) { + int LA31_1 = input.LA(2); - if ( (LA30_1==11||LA30_1==24) ) { - alt30=1; + if ( (LA31_1==11||LA31_1==24) ) { + alt31=1; } } - switch (alt30) { + switch (alt31) { + case 1 : + // InternalApplicationConfiguration.g:2164:4: ( ( ruleQualifiedName ) ) otherlv_2= '::' + { + // InternalApplicationConfiguration.g:2164:4: ( ( ruleQualifiedName ) ) + // InternalApplicationConfiguration.g:2165:5: ( ruleQualifiedName ) + { + // InternalApplicationConfiguration.g:2165:5: ( ruleQualifiedName ) + // InternalApplicationConfiguration.g:2166:6: ruleQualifiedName + { + + if (current==null) { + current = createModelElement(grammarAccess.getReliabiltiyProbabilityRule()); + } + + + newCompositeNode(grammarAccess.getReliabiltiyProbabilityAccess().getPackageCftModelCrossReference_1_0_0()); + + pushFollow(FOLLOW_18); + ruleQualifiedName(); + + state._fsp--; + + + afterParserOrEnumRuleCall(); + + + } + + + } + + otherlv_2=(Token)match(input,24,FOLLOW_6); + + newLeafNode(otherlv_2, grammarAccess.getReliabiltiyProbabilityAccess().getColonColonKeyword_1_1()); + + + } + break; + + } + + // InternalApplicationConfiguration.g:2185:3: ( (otherlv_3= RULE_ID ) ) + // InternalApplicationConfiguration.g:2186:4: (otherlv_3= RULE_ID ) + { + // InternalApplicationConfiguration.g:2186:4: (otherlv_3= RULE_ID ) + // InternalApplicationConfiguration.g:2187:5: otherlv_3= RULE_ID + { + + if (current==null) { + current = createModelElement(grammarAccess.getReliabiltiyProbabilityRule()); + } + + otherlv_3=(Token)match(input,RULE_ID,FOLLOW_25); + + newLeafNode(otherlv_3, grammarAccess.getReliabiltiyProbabilityAccess().getTransformationTransformationDefinitionCrossReference_2_0()); + + + } + + + } + + otherlv_4=(Token)match(input,29,FOLLOW_24); + + newLeafNode(otherlv_4, grammarAccess.getReliabiltiyProbabilityAccess().getAtKeyword_3()); + + // InternalApplicationConfiguration.g:2202:3: ( (lv_time_5_0= ruleREALLiteral ) ) + // InternalApplicationConfiguration.g:2203:4: (lv_time_5_0= ruleREALLiteral ) + { + // InternalApplicationConfiguration.g:2203:4: (lv_time_5_0= ruleREALLiteral ) + // InternalApplicationConfiguration.g:2204:5: lv_time_5_0= ruleREALLiteral + { + + newCompositeNode(grammarAccess.getReliabiltiyProbabilityAccess().getTimeREALLiteralParserRuleCall_4_0()); + + pushFollow(FOLLOW_2); + lv_time_5_0=ruleREALLiteral(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getReliabiltiyProbabilityRule()); + } + set( + current, + "time", + lv_time_5_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.REALLiteral"); + afterParserOrEnumRuleCall(); + + + } + + + } + + + } + + + } + + + leaveRule(); + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleReliabiltiyProbability" + + + // $ANTLR start "entryRuleMtff" + // InternalApplicationConfiguration.g:2225:1: entryRuleMtff returns [EObject current=null] : iv_ruleMtff= ruleMtff EOF ; + public final EObject entryRuleMtff() throws RecognitionException { + EObject current = null; + + EObject iv_ruleMtff = null; + + + try { + // InternalApplicationConfiguration.g:2225:45: (iv_ruleMtff= ruleMtff EOF ) + // InternalApplicationConfiguration.g:2226:2: iv_ruleMtff= ruleMtff EOF + { + newCompositeNode(grammarAccess.getMtffRule()); + pushFollow(FOLLOW_1); + iv_ruleMtff=ruleMtff(); + + state._fsp--; + + current =iv_ruleMtff; + match(input,EOF,FOLLOW_2); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleMtff" + + + // $ANTLR start "ruleMtff" + // InternalApplicationConfiguration.g:2232:1: ruleMtff returns [EObject current=null] : (otherlv_0= 'mtff' ( ( ( ruleQualifiedName ) ) otherlv_2= '::' )? ( (otherlv_3= RULE_ID ) ) ) ; + public final EObject ruleMtff() throws RecognitionException { + EObject current = null; + + Token otherlv_0=null; + Token otherlv_2=null; + Token otherlv_3=null; + + + enterRule(); + + try { + // InternalApplicationConfiguration.g:2238:2: ( (otherlv_0= 'mtff' ( ( ( ruleQualifiedName ) ) otherlv_2= '::' )? ( (otherlv_3= RULE_ID ) ) ) ) + // InternalApplicationConfiguration.g:2239:2: (otherlv_0= 'mtff' ( ( ( ruleQualifiedName ) ) otherlv_2= '::' )? ( (otherlv_3= RULE_ID ) ) ) + { + // InternalApplicationConfiguration.g:2239:2: (otherlv_0= 'mtff' ( ( ( ruleQualifiedName ) ) otherlv_2= '::' )? ( (otherlv_3= RULE_ID ) ) ) + // InternalApplicationConfiguration.g:2240:3: otherlv_0= 'mtff' ( ( ( ruleQualifiedName ) ) otherlv_2= '::' )? ( (otherlv_3= RULE_ID ) ) + { + otherlv_0=(Token)match(input,30,FOLLOW_6); + + newLeafNode(otherlv_0, grammarAccess.getMtffAccess().getMtffKeyword_0()); + + // InternalApplicationConfiguration.g:2244:3: ( ( ( ruleQualifiedName ) ) otherlv_2= '::' )? + int alt32=2; + int LA32_0 = input.LA(1); + + if ( (LA32_0==RULE_ID) ) { + int LA32_1 = input.LA(2); + + if ( (LA32_1==11||LA32_1==24) ) { + alt32=1; + } + } + switch (alt32) { case 1 : - // InternalApplicationConfiguration.g:2128:4: ( ( ruleQualifiedName ) ) otherlv_2= '::' + // InternalApplicationConfiguration.g:2245:4: ( ( ruleQualifiedName ) ) otherlv_2= '::' { - // InternalApplicationConfiguration.g:2128:4: ( ( ruleQualifiedName ) ) - // InternalApplicationConfiguration.g:2129:5: ( ruleQualifiedName ) + // InternalApplicationConfiguration.g:2245:4: ( ( ruleQualifiedName ) ) + // InternalApplicationConfiguration.g:2246:5: ( ruleQualifiedName ) { - // InternalApplicationConfiguration.g:2129:5: ( ruleQualifiedName ) - // InternalApplicationConfiguration.g:2130:6: ruleQualifiedName + // InternalApplicationConfiguration.g:2246:5: ( ruleQualifiedName ) + // InternalApplicationConfiguration.g:2247:6: ruleQualifiedName { if (current==null) { - current = createModelElement(grammarAccess.getReliabiltiyFunctionRule()); + current = createModelElement(grammarAccess.getMtffRule()); } - newCompositeNode(grammarAccess.getReliabiltiyFunctionAccess().getPackageCftModelCrossReference_1_0_0()); + newCompositeNode(grammarAccess.getMtffAccess().getPackageCftModelCrossReference_1_0_0()); pushFollow(FOLLOW_18); ruleQualifiedName(); @@ -5925,7 +6248,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl otherlv_2=(Token)match(input,24,FOLLOW_6); - newLeafNode(otherlv_2, grammarAccess.getReliabiltiyFunctionAccess().getColonColonKeyword_1_1()); + newLeafNode(otherlv_2, grammarAccess.getMtffAccess().getColonColonKeyword_1_1()); } @@ -5933,20 +6256,20 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - // InternalApplicationConfiguration.g:2149:3: ( (otherlv_3= RULE_ID ) ) - // InternalApplicationConfiguration.g:2150:4: (otherlv_3= RULE_ID ) + // InternalApplicationConfiguration.g:2266:3: ( (otherlv_3= RULE_ID ) ) + // InternalApplicationConfiguration.g:2267:4: (otherlv_3= RULE_ID ) { - // InternalApplicationConfiguration.g:2150:4: (otherlv_3= RULE_ID ) - // InternalApplicationConfiguration.g:2151:5: otherlv_3= RULE_ID + // InternalApplicationConfiguration.g:2267:4: (otherlv_3= RULE_ID ) + // InternalApplicationConfiguration.g:2268:5: otherlv_3= RULE_ID { if (current==null) { - current = createModelElement(grammarAccess.getReliabiltiyFunctionRule()); + current = createModelElement(grammarAccess.getMtffRule()); } otherlv_3=(Token)match(input,RULE_ID,FOLLOW_2); - newLeafNode(otherlv_3, grammarAccess.getReliabiltiyFunctionAccess().getTransformationTransformationDefinitionCrossReference_2_0()); + newLeafNode(otherlv_3, grammarAccess.getMtffAccess().getTransformationTransformationDefinitionCrossReference_2_0()); } @@ -5973,11 +6296,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } return current; } - // $ANTLR end "ruleReliabiltiyFunction" + // $ANTLR end "ruleMtff" // $ANTLR start "entryRuleObjectiveDeclaration" - // InternalApplicationConfiguration.g:2166:1: entryRuleObjectiveDeclaration returns [EObject current=null] : iv_ruleObjectiveDeclaration= ruleObjectiveDeclaration EOF ; + // InternalApplicationConfiguration.g:2283:1: entryRuleObjectiveDeclaration returns [EObject current=null] : iv_ruleObjectiveDeclaration= ruleObjectiveDeclaration EOF ; public final EObject entryRuleObjectiveDeclaration() throws RecognitionException { EObject current = null; @@ -5985,8 +6308,8 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:2166:61: (iv_ruleObjectiveDeclaration= ruleObjectiveDeclaration EOF ) - // InternalApplicationConfiguration.g:2167:2: iv_ruleObjectiveDeclaration= ruleObjectiveDeclaration EOF + // InternalApplicationConfiguration.g:2283:61: (iv_ruleObjectiveDeclaration= ruleObjectiveDeclaration EOF ) + // InternalApplicationConfiguration.g:2284:2: iv_ruleObjectiveDeclaration= ruleObjectiveDeclaration EOF { newCompositeNode(grammarAccess.getObjectiveDeclarationRule()); pushFollow(FOLLOW_1); @@ -6013,7 +6336,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleObjectiveDeclaration" - // InternalApplicationConfiguration.g:2173:1: ruleObjectiveDeclaration returns [EObject current=null] : (otherlv_0= 'objectives' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleObjectiveSpecification ) ) ) ; + // InternalApplicationConfiguration.g:2290:1: ruleObjectiveDeclaration returns [EObject current=null] : (otherlv_0= 'objectives' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleObjectiveSpecification ) ) ) ; public final EObject ruleObjectiveDeclaration() throws RecognitionException { EObject current = null; @@ -6026,21 +6349,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:2179:2: ( (otherlv_0= 'objectives' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleObjectiveSpecification ) ) ) ) - // InternalApplicationConfiguration.g:2180:2: (otherlv_0= 'objectives' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleObjectiveSpecification ) ) ) + // InternalApplicationConfiguration.g:2296:2: ( (otherlv_0= 'objectives' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleObjectiveSpecification ) ) ) ) + // InternalApplicationConfiguration.g:2297:2: (otherlv_0= 'objectives' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleObjectiveSpecification ) ) ) { - // InternalApplicationConfiguration.g:2180:2: (otherlv_0= 'objectives' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleObjectiveSpecification ) ) ) - // InternalApplicationConfiguration.g:2181:3: otherlv_0= 'objectives' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleObjectiveSpecification ) ) + // InternalApplicationConfiguration.g:2297:2: (otherlv_0= 'objectives' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleObjectiveSpecification ) ) ) + // InternalApplicationConfiguration.g:2298:3: otherlv_0= 'objectives' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleObjectiveSpecification ) ) { - otherlv_0=(Token)match(input,29,FOLLOW_6); + otherlv_0=(Token)match(input,31,FOLLOW_6); newLeafNode(otherlv_0, grammarAccess.getObjectiveDeclarationAccess().getObjectivesKeyword_0()); - // InternalApplicationConfiguration.g:2185:3: ( (lv_name_1_0= RULE_ID ) ) - // InternalApplicationConfiguration.g:2186:4: (lv_name_1_0= RULE_ID ) + // InternalApplicationConfiguration.g:2302:3: ( (lv_name_1_0= RULE_ID ) ) + // InternalApplicationConfiguration.g:2303:4: (lv_name_1_0= RULE_ID ) { - // InternalApplicationConfiguration.g:2186:4: (lv_name_1_0= RULE_ID ) - // InternalApplicationConfiguration.g:2187:5: lv_name_1_0= RULE_ID + // InternalApplicationConfiguration.g:2303:4: (lv_name_1_0= RULE_ID ) + // InternalApplicationConfiguration.g:2304:5: lv_name_1_0= RULE_ID { lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_17); @@ -6062,11 +6385,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - // InternalApplicationConfiguration.g:2203:3: ( (lv_specification_2_0= ruleObjectiveSpecification ) ) - // InternalApplicationConfiguration.g:2204:4: (lv_specification_2_0= ruleObjectiveSpecification ) + // InternalApplicationConfiguration.g:2320:3: ( (lv_specification_2_0= ruleObjectiveSpecification ) ) + // InternalApplicationConfiguration.g:2321:4: (lv_specification_2_0= ruleObjectiveSpecification ) { - // InternalApplicationConfiguration.g:2204:4: (lv_specification_2_0= ruleObjectiveSpecification ) - // InternalApplicationConfiguration.g:2205:5: lv_specification_2_0= ruleObjectiveSpecification + // InternalApplicationConfiguration.g:2321:4: (lv_specification_2_0= ruleObjectiveSpecification ) + // InternalApplicationConfiguration.g:2322:5: lv_specification_2_0= ruleObjectiveSpecification { newCompositeNode(grammarAccess.getObjectiveDeclarationAccess().getSpecificationObjectiveSpecificationParserRuleCall_2_0()); @@ -6116,7 +6439,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleObjectiveReference" - // InternalApplicationConfiguration.g:2226:1: entryRuleObjectiveReference returns [EObject current=null] : iv_ruleObjectiveReference= ruleObjectiveReference EOF ; + // InternalApplicationConfiguration.g:2343:1: entryRuleObjectiveReference returns [EObject current=null] : iv_ruleObjectiveReference= ruleObjectiveReference EOF ; public final EObject entryRuleObjectiveReference() throws RecognitionException { EObject current = null; @@ -6124,8 +6447,8 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:2226:59: (iv_ruleObjectiveReference= ruleObjectiveReference EOF ) - // InternalApplicationConfiguration.g:2227:2: iv_ruleObjectiveReference= ruleObjectiveReference EOF + // InternalApplicationConfiguration.g:2343:59: (iv_ruleObjectiveReference= ruleObjectiveReference EOF ) + // InternalApplicationConfiguration.g:2344:2: iv_ruleObjectiveReference= ruleObjectiveReference EOF { newCompositeNode(grammarAccess.getObjectiveReferenceRule()); pushFollow(FOLLOW_1); @@ -6152,7 +6475,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleObjectiveReference" - // InternalApplicationConfiguration.g:2233:1: ruleObjectiveReference returns [EObject current=null] : ( (otherlv_0= RULE_ID ) ) ; + // InternalApplicationConfiguration.g:2350:1: ruleObjectiveReference returns [EObject current=null] : ( (otherlv_0= RULE_ID ) ) ; public final EObject ruleObjectiveReference() throws RecognitionException { EObject current = null; @@ -6162,14 +6485,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:2239:2: ( ( (otherlv_0= RULE_ID ) ) ) - // InternalApplicationConfiguration.g:2240:2: ( (otherlv_0= RULE_ID ) ) + // InternalApplicationConfiguration.g:2356:2: ( ( (otherlv_0= RULE_ID ) ) ) + // InternalApplicationConfiguration.g:2357:2: ( (otherlv_0= RULE_ID ) ) { - // InternalApplicationConfiguration.g:2240:2: ( (otherlv_0= RULE_ID ) ) - // InternalApplicationConfiguration.g:2241:3: (otherlv_0= RULE_ID ) + // InternalApplicationConfiguration.g:2357:2: ( (otherlv_0= RULE_ID ) ) + // InternalApplicationConfiguration.g:2358:3: (otherlv_0= RULE_ID ) { - // InternalApplicationConfiguration.g:2241:3: (otherlv_0= RULE_ID ) - // InternalApplicationConfiguration.g:2242:4: otherlv_0= RULE_ID + // InternalApplicationConfiguration.g:2358:3: (otherlv_0= RULE_ID ) + // InternalApplicationConfiguration.g:2359:4: otherlv_0= RULE_ID { if (current==null) { @@ -6206,7 +6529,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleObjective" - // InternalApplicationConfiguration.g:2256:1: entryRuleObjective returns [EObject current=null] : iv_ruleObjective= ruleObjective EOF ; + // InternalApplicationConfiguration.g:2373:1: entryRuleObjective returns [EObject current=null] : iv_ruleObjective= ruleObjective EOF ; public final EObject entryRuleObjective() throws RecognitionException { EObject current = null; @@ -6214,8 +6537,8 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:2256:50: (iv_ruleObjective= ruleObjective EOF ) - // InternalApplicationConfiguration.g:2257:2: iv_ruleObjective= ruleObjective EOF + // InternalApplicationConfiguration.g:2373:50: (iv_ruleObjective= ruleObjective EOF ) + // InternalApplicationConfiguration.g:2374:2: iv_ruleObjective= ruleObjective EOF { newCompositeNode(grammarAccess.getObjectiveRule()); pushFollow(FOLLOW_1); @@ -6242,7 +6565,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleObjective" - // InternalApplicationConfiguration.g:2263:1: ruleObjective returns [EObject current=null] : (this_ObjectiveReference_0= ruleObjectiveReference | this_ObjectiveSpecification_1= ruleObjectiveSpecification ) ; + // InternalApplicationConfiguration.g:2380:1: ruleObjective returns [EObject current=null] : (this_ObjectiveReference_0= ruleObjectiveReference | this_ObjectiveSpecification_1= ruleObjectiveSpecification ) ; public final EObject ruleObjective() throws RecognitionException { EObject current = null; @@ -6255,28 +6578,28 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:2269:2: ( (this_ObjectiveReference_0= ruleObjectiveReference | this_ObjectiveSpecification_1= ruleObjectiveSpecification ) ) - // InternalApplicationConfiguration.g:2270:2: (this_ObjectiveReference_0= ruleObjectiveReference | this_ObjectiveSpecification_1= ruleObjectiveSpecification ) + // InternalApplicationConfiguration.g:2386:2: ( (this_ObjectiveReference_0= ruleObjectiveReference | this_ObjectiveSpecification_1= ruleObjectiveSpecification ) ) + // InternalApplicationConfiguration.g:2387:2: (this_ObjectiveReference_0= ruleObjectiveReference | this_ObjectiveSpecification_1= ruleObjectiveSpecification ) { - // InternalApplicationConfiguration.g:2270:2: (this_ObjectiveReference_0= ruleObjectiveReference | this_ObjectiveSpecification_1= ruleObjectiveSpecification ) - int alt31=2; - int LA31_0 = input.LA(1); + // InternalApplicationConfiguration.g:2387:2: (this_ObjectiveReference_0= ruleObjectiveReference | this_ObjectiveSpecification_1= ruleObjectiveSpecification ) + int alt33=2; + int LA33_0 = input.LA(1); - if ( (LA31_0==RULE_ID) ) { - alt31=1; + if ( (LA33_0==RULE_ID) ) { + alt33=1; } - else if ( (LA31_0==19) ) { - alt31=2; + else if ( (LA33_0==19) ) { + alt33=2; } else { NoViableAltException nvae = - new NoViableAltException("", 31, 0, input); + new NoViableAltException("", 33, 0, input); throw nvae; } - switch (alt31) { + switch (alt33) { case 1 : - // InternalApplicationConfiguration.g:2271:3: this_ObjectiveReference_0= ruleObjectiveReference + // InternalApplicationConfiguration.g:2388:3: this_ObjectiveReference_0= ruleObjectiveReference { newCompositeNode(grammarAccess.getObjectiveAccess().getObjectiveReferenceParserRuleCall_0()); @@ -6294,7 +6617,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } break; case 2 : - // InternalApplicationConfiguration.g:2280:3: this_ObjectiveSpecification_1= ruleObjectiveSpecification + // InternalApplicationConfiguration.g:2397:3: this_ObjectiveSpecification_1= ruleObjectiveSpecification { newCompositeNode(grammarAccess.getObjectiveAccess().getObjectiveSpecificationParserRuleCall_1()); @@ -6334,7 +6657,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleConfigSpecification" - // InternalApplicationConfiguration.g:2292:1: entryRuleConfigSpecification returns [EObject current=null] : iv_ruleConfigSpecification= ruleConfigSpecification EOF ; + // InternalApplicationConfiguration.g:2409:1: entryRuleConfigSpecification returns [EObject current=null] : iv_ruleConfigSpecification= ruleConfigSpecification EOF ; public final EObject entryRuleConfigSpecification() throws RecognitionException { EObject current = null; @@ -6342,8 +6665,8 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:2292:60: (iv_ruleConfigSpecification= ruleConfigSpecification EOF ) - // InternalApplicationConfiguration.g:2293:2: iv_ruleConfigSpecification= ruleConfigSpecification EOF + // InternalApplicationConfiguration.g:2409:60: (iv_ruleConfigSpecification= ruleConfigSpecification EOF ) + // InternalApplicationConfiguration.g:2410:2: iv_ruleConfigSpecification= ruleConfigSpecification EOF { newCompositeNode(grammarAccess.getConfigSpecificationRule()); pushFollow(FOLLOW_1); @@ -6370,7 +6693,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleConfigSpecification" - // InternalApplicationConfiguration.g:2299:1: ruleConfigSpecification returns [EObject current=null] : ( () otherlv_1= '{' ( ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* )? otherlv_5= '}' ) ; + // InternalApplicationConfiguration.g:2416:1: ruleConfigSpecification returns [EObject current=null] : ( () otherlv_1= '{' ( ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* )? otherlv_5= '}' ) ; public final EObject ruleConfigSpecification() throws RecognitionException { EObject current = null; @@ -6386,14 +6709,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:2305:2: ( ( () otherlv_1= '{' ( ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* )? otherlv_5= '}' ) ) - // InternalApplicationConfiguration.g:2306:2: ( () otherlv_1= '{' ( ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* )? otherlv_5= '}' ) + // InternalApplicationConfiguration.g:2422:2: ( ( () otherlv_1= '{' ( ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* )? otherlv_5= '}' ) ) + // InternalApplicationConfiguration.g:2423:2: ( () otherlv_1= '{' ( ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* )? otherlv_5= '}' ) { - // InternalApplicationConfiguration.g:2306:2: ( () otherlv_1= '{' ( ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* )? otherlv_5= '}' ) - // InternalApplicationConfiguration.g:2307:3: () otherlv_1= '{' ( ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* )? otherlv_5= '}' + // InternalApplicationConfiguration.g:2423:2: ( () otherlv_1= '{' ( ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* )? otherlv_5= '}' ) + // InternalApplicationConfiguration.g:2424:3: () otherlv_1= '{' ( ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* )? otherlv_5= '}' { - // InternalApplicationConfiguration.g:2307:3: () - // InternalApplicationConfiguration.g:2308:4: + // InternalApplicationConfiguration.g:2424:3: () + // InternalApplicationConfiguration.g:2425:4: { current = forceCreateModelElement( @@ -6403,26 +6726,26 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - otherlv_1=(Token)match(input,19,FOLLOW_25); + otherlv_1=(Token)match(input,19,FOLLOW_26); newLeafNode(otherlv_1, grammarAccess.getConfigSpecificationAccess().getLeftCurlyBracketKeyword_1()); - // InternalApplicationConfiguration.g:2318:3: ( ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* )? - int alt33=2; - int LA33_0 = input.LA(1); - - if ( (LA33_0==RULE_STRING||(LA33_0>=31 && LA33_0<=33)) ) { - alt33=1; + // InternalApplicationConfiguration.g:2435:3: ( ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* )? + int alt35=2; + int LA35_0 = input.LA(1); + + if ( (LA35_0==RULE_STRING||(LA35_0>=33 && LA35_0<=35)) ) { + alt35=1; } - switch (alt33) { + switch (alt35) { case 1 : - // InternalApplicationConfiguration.g:2319:4: ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* + // InternalApplicationConfiguration.g:2436:4: ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* { - // InternalApplicationConfiguration.g:2319:4: ( (lv_entries_2_0= ruleConfigEntry ) ) - // InternalApplicationConfiguration.g:2320:5: (lv_entries_2_0= ruleConfigEntry ) + // InternalApplicationConfiguration.g:2436:4: ( (lv_entries_2_0= ruleConfigEntry ) ) + // InternalApplicationConfiguration.g:2437:5: (lv_entries_2_0= ruleConfigEntry ) { - // InternalApplicationConfiguration.g:2320:5: (lv_entries_2_0= ruleConfigEntry ) - // InternalApplicationConfiguration.g:2321:6: lv_entries_2_0= ruleConfigEntry + // InternalApplicationConfiguration.g:2437:5: (lv_entries_2_0= ruleConfigEntry ) + // InternalApplicationConfiguration.g:2438:6: lv_entries_2_0= ruleConfigEntry { newCompositeNode(grammarAccess.getConfigSpecificationAccess().getEntriesConfigEntryParserRuleCall_2_0_0()); @@ -6449,30 +6772,30 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - // InternalApplicationConfiguration.g:2338:4: (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* - loop32: + // InternalApplicationConfiguration.g:2455:4: (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* + loop34: do { - int alt32=2; - int LA32_0 = input.LA(1); + int alt34=2; + int LA34_0 = input.LA(1); - if ( (LA32_0==20) ) { - alt32=1; + if ( (LA34_0==20) ) { + alt34=1; } - switch (alt32) { + switch (alt34) { case 1 : - // InternalApplicationConfiguration.g:2339:5: otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) + // InternalApplicationConfiguration.g:2456:5: otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) { - otherlv_3=(Token)match(input,20,FOLLOW_26); + otherlv_3=(Token)match(input,20,FOLLOW_27); newLeafNode(otherlv_3, grammarAccess.getConfigSpecificationAccess().getCommaKeyword_2_1_0()); - // InternalApplicationConfiguration.g:2343:5: ( (lv_entries_4_0= ruleConfigEntry ) ) - // InternalApplicationConfiguration.g:2344:6: (lv_entries_4_0= ruleConfigEntry ) + // InternalApplicationConfiguration.g:2460:5: ( (lv_entries_4_0= ruleConfigEntry ) ) + // InternalApplicationConfiguration.g:2461:6: (lv_entries_4_0= ruleConfigEntry ) { - // InternalApplicationConfiguration.g:2344:6: (lv_entries_4_0= ruleConfigEntry ) - // InternalApplicationConfiguration.g:2345:7: lv_entries_4_0= ruleConfigEntry + // InternalApplicationConfiguration.g:2461:6: (lv_entries_4_0= ruleConfigEntry ) + // InternalApplicationConfiguration.g:2462:7: lv_entries_4_0= ruleConfigEntry { newCompositeNode(grammarAccess.getConfigSpecificationAccess().getEntriesConfigEntryParserRuleCall_2_1_1_0()); @@ -6504,7 +6827,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl break; default : - break loop32; + break loop34; } } while (true); @@ -6541,7 +6864,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleConfigDeclaration" - // InternalApplicationConfiguration.g:2372:1: entryRuleConfigDeclaration returns [EObject current=null] : iv_ruleConfigDeclaration= ruleConfigDeclaration EOF ; + // InternalApplicationConfiguration.g:2489:1: entryRuleConfigDeclaration returns [EObject current=null] : iv_ruleConfigDeclaration= ruleConfigDeclaration EOF ; public final EObject entryRuleConfigDeclaration() throws RecognitionException { EObject current = null; @@ -6549,8 +6872,8 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:2372:58: (iv_ruleConfigDeclaration= ruleConfigDeclaration EOF ) - // InternalApplicationConfiguration.g:2373:2: iv_ruleConfigDeclaration= ruleConfigDeclaration EOF + // InternalApplicationConfiguration.g:2489:58: (iv_ruleConfigDeclaration= ruleConfigDeclaration EOF ) + // InternalApplicationConfiguration.g:2490:2: iv_ruleConfigDeclaration= ruleConfigDeclaration EOF { newCompositeNode(grammarAccess.getConfigDeclarationRule()); pushFollow(FOLLOW_1); @@ -6577,7 +6900,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleConfigDeclaration" - // InternalApplicationConfiguration.g:2379:1: ruleConfigDeclaration returns [EObject current=null] : (otherlv_0= 'config' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleConfigSpecification ) ) ) ; + // InternalApplicationConfiguration.g:2496:1: ruleConfigDeclaration returns [EObject current=null] : (otherlv_0= 'config' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleConfigSpecification ) ) ) ; public final EObject ruleConfigDeclaration() throws RecognitionException { EObject current = null; @@ -6590,21 +6913,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:2385:2: ( (otherlv_0= 'config' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleConfigSpecification ) ) ) ) - // InternalApplicationConfiguration.g:2386:2: (otherlv_0= 'config' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleConfigSpecification ) ) ) + // InternalApplicationConfiguration.g:2502:2: ( (otherlv_0= 'config' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleConfigSpecification ) ) ) ) + // InternalApplicationConfiguration.g:2503:2: (otherlv_0= 'config' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleConfigSpecification ) ) ) { - // InternalApplicationConfiguration.g:2386:2: (otherlv_0= 'config' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleConfigSpecification ) ) ) - // InternalApplicationConfiguration.g:2387:3: otherlv_0= 'config' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleConfigSpecification ) ) + // InternalApplicationConfiguration.g:2503:2: (otherlv_0= 'config' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleConfigSpecification ) ) ) + // InternalApplicationConfiguration.g:2504:3: otherlv_0= 'config' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleConfigSpecification ) ) { - otherlv_0=(Token)match(input,30,FOLLOW_6); + otherlv_0=(Token)match(input,32,FOLLOW_6); newLeafNode(otherlv_0, grammarAccess.getConfigDeclarationAccess().getConfigKeyword_0()); - // InternalApplicationConfiguration.g:2391:3: ( (lv_name_1_0= RULE_ID ) ) - // InternalApplicationConfiguration.g:2392:4: (lv_name_1_0= RULE_ID ) + // InternalApplicationConfiguration.g:2508:3: ( (lv_name_1_0= RULE_ID ) ) + // InternalApplicationConfiguration.g:2509:4: (lv_name_1_0= RULE_ID ) { - // InternalApplicationConfiguration.g:2392:4: (lv_name_1_0= RULE_ID ) - // InternalApplicationConfiguration.g:2393:5: lv_name_1_0= RULE_ID + // InternalApplicationConfiguration.g:2509:4: (lv_name_1_0= RULE_ID ) + // InternalApplicationConfiguration.g:2510:5: lv_name_1_0= RULE_ID { lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_17); @@ -6626,11 +6949,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - // InternalApplicationConfiguration.g:2409:3: ( (lv_specification_2_0= ruleConfigSpecification ) ) - // InternalApplicationConfiguration.g:2410:4: (lv_specification_2_0= ruleConfigSpecification ) + // InternalApplicationConfiguration.g:2526:3: ( (lv_specification_2_0= ruleConfigSpecification ) ) + // InternalApplicationConfiguration.g:2527:4: (lv_specification_2_0= ruleConfigSpecification ) { - // InternalApplicationConfiguration.g:2410:4: (lv_specification_2_0= ruleConfigSpecification ) - // InternalApplicationConfiguration.g:2411:5: lv_specification_2_0= ruleConfigSpecification + // InternalApplicationConfiguration.g:2527:4: (lv_specification_2_0= ruleConfigSpecification ) + // InternalApplicationConfiguration.g:2528:5: lv_specification_2_0= ruleConfigSpecification { newCompositeNode(grammarAccess.getConfigDeclarationAccess().getSpecificationConfigSpecificationParserRuleCall_2_0()); @@ -6680,7 +7003,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleConfigEntry" - // InternalApplicationConfiguration.g:2432:1: entryRuleConfigEntry returns [EObject current=null] : iv_ruleConfigEntry= ruleConfigEntry EOF ; + // InternalApplicationConfiguration.g:2549:1: entryRuleConfigEntry returns [EObject current=null] : iv_ruleConfigEntry= ruleConfigEntry EOF ; public final EObject entryRuleConfigEntry() throws RecognitionException { EObject current = null; @@ -6688,8 +7011,8 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:2432:52: (iv_ruleConfigEntry= ruleConfigEntry EOF ) - // InternalApplicationConfiguration.g:2433:2: iv_ruleConfigEntry= ruleConfigEntry EOF + // InternalApplicationConfiguration.g:2549:52: (iv_ruleConfigEntry= ruleConfigEntry EOF ) + // InternalApplicationConfiguration.g:2550:2: iv_ruleConfigEntry= ruleConfigEntry EOF { newCompositeNode(grammarAccess.getConfigEntryRule()); pushFollow(FOLLOW_1); @@ -6716,7 +7039,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleConfigEntry" - // InternalApplicationConfiguration.g:2439:1: ruleConfigEntry returns [EObject current=null] : (this_DocumentationEntry_0= ruleDocumentationEntry | this_RuntimeEntry_1= ruleRuntimeEntry | this_MemoryEntry_2= ruleMemoryEntry | this_CustomEntry_3= ruleCustomEntry ) ; + // InternalApplicationConfiguration.g:2556:1: ruleConfigEntry returns [EObject current=null] : (this_DocumentationEntry_0= ruleDocumentationEntry | this_RuntimeEntry_1= ruleRuntimeEntry | this_MemoryEntry_2= ruleMemoryEntry | this_CustomEntry_3= ruleCustomEntry ) ; public final EObject ruleConfigEntry() throws RecognitionException { EObject current = null; @@ -6733,42 +7056,42 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:2445:2: ( (this_DocumentationEntry_0= ruleDocumentationEntry | this_RuntimeEntry_1= ruleRuntimeEntry | this_MemoryEntry_2= ruleMemoryEntry | this_CustomEntry_3= ruleCustomEntry ) ) - // InternalApplicationConfiguration.g:2446:2: (this_DocumentationEntry_0= ruleDocumentationEntry | this_RuntimeEntry_1= ruleRuntimeEntry | this_MemoryEntry_2= ruleMemoryEntry | this_CustomEntry_3= ruleCustomEntry ) + // InternalApplicationConfiguration.g:2562:2: ( (this_DocumentationEntry_0= ruleDocumentationEntry | this_RuntimeEntry_1= ruleRuntimeEntry | this_MemoryEntry_2= ruleMemoryEntry | this_CustomEntry_3= ruleCustomEntry ) ) + // InternalApplicationConfiguration.g:2563:2: (this_DocumentationEntry_0= ruleDocumentationEntry | this_RuntimeEntry_1= ruleRuntimeEntry | this_MemoryEntry_2= ruleMemoryEntry | this_CustomEntry_3= ruleCustomEntry ) { - // InternalApplicationConfiguration.g:2446:2: (this_DocumentationEntry_0= ruleDocumentationEntry | this_RuntimeEntry_1= ruleRuntimeEntry | this_MemoryEntry_2= ruleMemoryEntry | this_CustomEntry_3= ruleCustomEntry ) - int alt34=4; + // InternalApplicationConfiguration.g:2563:2: (this_DocumentationEntry_0= ruleDocumentationEntry | this_RuntimeEntry_1= ruleRuntimeEntry | this_MemoryEntry_2= ruleMemoryEntry | this_CustomEntry_3= ruleCustomEntry ) + int alt36=4; switch ( input.LA(1) ) { - case 31: + case 33: { - alt34=1; + alt36=1; } break; - case 32: + case 34: { - alt34=2; + alt36=2; } break; - case 33: + case 35: { - alt34=3; + alt36=3; } break; case RULE_STRING: { - alt34=4; + alt36=4; } break; default: NoViableAltException nvae = - new NoViableAltException("", 34, 0, input); + new NoViableAltException("", 36, 0, input); throw nvae; } - switch (alt34) { + switch (alt36) { case 1 : - // InternalApplicationConfiguration.g:2447:3: this_DocumentationEntry_0= ruleDocumentationEntry + // InternalApplicationConfiguration.g:2564:3: this_DocumentationEntry_0= ruleDocumentationEntry { newCompositeNode(grammarAccess.getConfigEntryAccess().getDocumentationEntryParserRuleCall_0()); @@ -6786,7 +7109,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } break; case 2 : - // InternalApplicationConfiguration.g:2456:3: this_RuntimeEntry_1= ruleRuntimeEntry + // InternalApplicationConfiguration.g:2573:3: this_RuntimeEntry_1= ruleRuntimeEntry { newCompositeNode(grammarAccess.getConfigEntryAccess().getRuntimeEntryParserRuleCall_1()); @@ -6804,7 +7127,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } break; case 3 : - // InternalApplicationConfiguration.g:2465:3: this_MemoryEntry_2= ruleMemoryEntry + // InternalApplicationConfiguration.g:2582:3: this_MemoryEntry_2= ruleMemoryEntry { newCompositeNode(grammarAccess.getConfigEntryAccess().getMemoryEntryParserRuleCall_2()); @@ -6822,7 +7145,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } break; case 4 : - // InternalApplicationConfiguration.g:2474:3: this_CustomEntry_3= ruleCustomEntry + // InternalApplicationConfiguration.g:2591:3: this_CustomEntry_3= ruleCustomEntry { newCompositeNode(grammarAccess.getConfigEntryAccess().getCustomEntryParserRuleCall_3()); @@ -6862,7 +7185,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleDocumentationEntry" - // InternalApplicationConfiguration.g:2486:1: entryRuleDocumentationEntry returns [EObject current=null] : iv_ruleDocumentationEntry= ruleDocumentationEntry EOF ; + // InternalApplicationConfiguration.g:2603:1: entryRuleDocumentationEntry returns [EObject current=null] : iv_ruleDocumentationEntry= ruleDocumentationEntry EOF ; public final EObject entryRuleDocumentationEntry() throws RecognitionException { EObject current = null; @@ -6870,8 +7193,8 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:2486:59: (iv_ruleDocumentationEntry= ruleDocumentationEntry EOF ) - // InternalApplicationConfiguration.g:2487:2: iv_ruleDocumentationEntry= ruleDocumentationEntry EOF + // InternalApplicationConfiguration.g:2603:59: (iv_ruleDocumentationEntry= ruleDocumentationEntry EOF ) + // InternalApplicationConfiguration.g:2604:2: iv_ruleDocumentationEntry= ruleDocumentationEntry EOF { newCompositeNode(grammarAccess.getDocumentationEntryRule()); pushFollow(FOLLOW_1); @@ -6898,7 +7221,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleDocumentationEntry" - // InternalApplicationConfiguration.g:2493:1: ruleDocumentationEntry returns [EObject current=null] : (otherlv_0= 'log-level' otherlv_1= '=' ( (lv_level_2_0= ruleDocumentLevelSpecification ) ) ) ; + // InternalApplicationConfiguration.g:2610:1: ruleDocumentationEntry returns [EObject current=null] : (otherlv_0= 'log-level' otherlv_1= '=' ( (lv_level_2_0= ruleDocumentLevelSpecification ) ) ) ; public final EObject ruleDocumentationEntry() throws RecognitionException { EObject current = null; @@ -6911,25 +7234,25 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:2499:2: ( (otherlv_0= 'log-level' otherlv_1= '=' ( (lv_level_2_0= ruleDocumentLevelSpecification ) ) ) ) - // InternalApplicationConfiguration.g:2500:2: (otherlv_0= 'log-level' otherlv_1= '=' ( (lv_level_2_0= ruleDocumentLevelSpecification ) ) ) + // InternalApplicationConfiguration.g:2616:2: ( (otherlv_0= 'log-level' otherlv_1= '=' ( (lv_level_2_0= ruleDocumentLevelSpecification ) ) ) ) + // InternalApplicationConfiguration.g:2617:2: (otherlv_0= 'log-level' otherlv_1= '=' ( (lv_level_2_0= ruleDocumentLevelSpecification ) ) ) { - // InternalApplicationConfiguration.g:2500:2: (otherlv_0= 'log-level' otherlv_1= '=' ( (lv_level_2_0= ruleDocumentLevelSpecification ) ) ) - // InternalApplicationConfiguration.g:2501:3: otherlv_0= 'log-level' otherlv_1= '=' ( (lv_level_2_0= ruleDocumentLevelSpecification ) ) + // InternalApplicationConfiguration.g:2617:2: (otherlv_0= 'log-level' otherlv_1= '=' ( (lv_level_2_0= ruleDocumentLevelSpecification ) ) ) + // InternalApplicationConfiguration.g:2618:3: otherlv_0= 'log-level' otherlv_1= '=' ( (lv_level_2_0= ruleDocumentLevelSpecification ) ) { - otherlv_0=(Token)match(input,31,FOLLOW_13); + otherlv_0=(Token)match(input,33,FOLLOW_13); newLeafNode(otherlv_0, grammarAccess.getDocumentationEntryAccess().getLogLevelKeyword_0()); - otherlv_1=(Token)match(input,18,FOLLOW_27); + otherlv_1=(Token)match(input,18,FOLLOW_28); newLeafNode(otherlv_1, grammarAccess.getDocumentationEntryAccess().getEqualsSignKeyword_1()); - // InternalApplicationConfiguration.g:2509:3: ( (lv_level_2_0= ruleDocumentLevelSpecification ) ) - // InternalApplicationConfiguration.g:2510:4: (lv_level_2_0= ruleDocumentLevelSpecification ) + // InternalApplicationConfiguration.g:2626:3: ( (lv_level_2_0= ruleDocumentLevelSpecification ) ) + // InternalApplicationConfiguration.g:2627:4: (lv_level_2_0= ruleDocumentLevelSpecification ) { - // InternalApplicationConfiguration.g:2510:4: (lv_level_2_0= ruleDocumentLevelSpecification ) - // InternalApplicationConfiguration.g:2511:5: lv_level_2_0= ruleDocumentLevelSpecification + // InternalApplicationConfiguration.g:2627:4: (lv_level_2_0= ruleDocumentLevelSpecification ) + // InternalApplicationConfiguration.g:2628:5: lv_level_2_0= ruleDocumentLevelSpecification { newCompositeNode(grammarAccess.getDocumentationEntryAccess().getLevelDocumentLevelSpecificationEnumRuleCall_2_0()); @@ -6979,7 +7302,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleRuntimeEntry" - // InternalApplicationConfiguration.g:2532:1: entryRuleRuntimeEntry returns [EObject current=null] : iv_ruleRuntimeEntry= ruleRuntimeEntry EOF ; + // InternalApplicationConfiguration.g:2649:1: entryRuleRuntimeEntry returns [EObject current=null] : iv_ruleRuntimeEntry= ruleRuntimeEntry EOF ; public final EObject entryRuleRuntimeEntry() throws RecognitionException { EObject current = null; @@ -6987,8 +7310,8 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:2532:53: (iv_ruleRuntimeEntry= ruleRuntimeEntry EOF ) - // InternalApplicationConfiguration.g:2533:2: iv_ruleRuntimeEntry= ruleRuntimeEntry EOF + // InternalApplicationConfiguration.g:2649:53: (iv_ruleRuntimeEntry= ruleRuntimeEntry EOF ) + // InternalApplicationConfiguration.g:2650:2: iv_ruleRuntimeEntry= ruleRuntimeEntry EOF { newCompositeNode(grammarAccess.getRuntimeEntryRule()); pushFollow(FOLLOW_1); @@ -7015,7 +7338,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleRuntimeEntry" - // InternalApplicationConfiguration.g:2539:1: ruleRuntimeEntry returns [EObject current=null] : (otherlv_0= 'runtime' otherlv_1= '=' ( (lv_millisecLimit_2_0= RULE_INT ) ) ) ; + // InternalApplicationConfiguration.g:2656:1: ruleRuntimeEntry returns [EObject current=null] : (otherlv_0= 'runtime' otherlv_1= '=' ( (lv_millisecLimit_2_0= RULE_INT ) ) ) ; public final EObject ruleRuntimeEntry() throws RecognitionException { EObject current = null; @@ -7027,13 +7350,13 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:2545:2: ( (otherlv_0= 'runtime' otherlv_1= '=' ( (lv_millisecLimit_2_0= RULE_INT ) ) ) ) - // InternalApplicationConfiguration.g:2546:2: (otherlv_0= 'runtime' otherlv_1= '=' ( (lv_millisecLimit_2_0= RULE_INT ) ) ) + // InternalApplicationConfiguration.g:2662:2: ( (otherlv_0= 'runtime' otherlv_1= '=' ( (lv_millisecLimit_2_0= RULE_INT ) ) ) ) + // InternalApplicationConfiguration.g:2663:2: (otherlv_0= 'runtime' otherlv_1= '=' ( (lv_millisecLimit_2_0= RULE_INT ) ) ) { - // InternalApplicationConfiguration.g:2546:2: (otherlv_0= 'runtime' otherlv_1= '=' ( (lv_millisecLimit_2_0= RULE_INT ) ) ) - // InternalApplicationConfiguration.g:2547:3: otherlv_0= 'runtime' otherlv_1= '=' ( (lv_millisecLimit_2_0= RULE_INT ) ) + // InternalApplicationConfiguration.g:2663:2: (otherlv_0= 'runtime' otherlv_1= '=' ( (lv_millisecLimit_2_0= RULE_INT ) ) ) + // InternalApplicationConfiguration.g:2664:3: otherlv_0= 'runtime' otherlv_1= '=' ( (lv_millisecLimit_2_0= RULE_INT ) ) { - otherlv_0=(Token)match(input,32,FOLLOW_13); + otherlv_0=(Token)match(input,34,FOLLOW_13); newLeafNode(otherlv_0, grammarAccess.getRuntimeEntryAccess().getRuntimeKeyword_0()); @@ -7041,11 +7364,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl newLeafNode(otherlv_1, grammarAccess.getRuntimeEntryAccess().getEqualsSignKeyword_1()); - // InternalApplicationConfiguration.g:2555:3: ( (lv_millisecLimit_2_0= RULE_INT ) ) - // InternalApplicationConfiguration.g:2556:4: (lv_millisecLimit_2_0= RULE_INT ) + // InternalApplicationConfiguration.g:2672:3: ( (lv_millisecLimit_2_0= RULE_INT ) ) + // InternalApplicationConfiguration.g:2673:4: (lv_millisecLimit_2_0= RULE_INT ) { - // InternalApplicationConfiguration.g:2556:4: (lv_millisecLimit_2_0= RULE_INT ) - // InternalApplicationConfiguration.g:2557:5: lv_millisecLimit_2_0= RULE_INT + // InternalApplicationConfiguration.g:2673:4: (lv_millisecLimit_2_0= RULE_INT ) + // InternalApplicationConfiguration.g:2674:5: lv_millisecLimit_2_0= RULE_INT { lv_millisecLimit_2_0=(Token)match(input,RULE_INT,FOLLOW_2); @@ -7090,7 +7413,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleMemoryEntry" - // InternalApplicationConfiguration.g:2577:1: entryRuleMemoryEntry returns [EObject current=null] : iv_ruleMemoryEntry= ruleMemoryEntry EOF ; + // InternalApplicationConfiguration.g:2694:1: entryRuleMemoryEntry returns [EObject current=null] : iv_ruleMemoryEntry= ruleMemoryEntry EOF ; public final EObject entryRuleMemoryEntry() throws RecognitionException { EObject current = null; @@ -7098,8 +7421,8 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:2577:52: (iv_ruleMemoryEntry= ruleMemoryEntry EOF ) - // InternalApplicationConfiguration.g:2578:2: iv_ruleMemoryEntry= ruleMemoryEntry EOF + // InternalApplicationConfiguration.g:2694:52: (iv_ruleMemoryEntry= ruleMemoryEntry EOF ) + // InternalApplicationConfiguration.g:2695:2: iv_ruleMemoryEntry= ruleMemoryEntry EOF { newCompositeNode(grammarAccess.getMemoryEntryRule()); pushFollow(FOLLOW_1); @@ -7126,7 +7449,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleMemoryEntry" - // InternalApplicationConfiguration.g:2584:1: ruleMemoryEntry returns [EObject current=null] : (otherlv_0= 'memory' otherlv_1= '=' ( (lv_megabyteLimit_2_0= RULE_INT ) ) ) ; + // InternalApplicationConfiguration.g:2701:1: ruleMemoryEntry returns [EObject current=null] : (otherlv_0= 'memory' otherlv_1= '=' ( (lv_megabyteLimit_2_0= RULE_INT ) ) ) ; public final EObject ruleMemoryEntry() throws RecognitionException { EObject current = null; @@ -7138,13 +7461,13 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:2590:2: ( (otherlv_0= 'memory' otherlv_1= '=' ( (lv_megabyteLimit_2_0= RULE_INT ) ) ) ) - // InternalApplicationConfiguration.g:2591:2: (otherlv_0= 'memory' otherlv_1= '=' ( (lv_megabyteLimit_2_0= RULE_INT ) ) ) + // InternalApplicationConfiguration.g:2707:2: ( (otherlv_0= 'memory' otherlv_1= '=' ( (lv_megabyteLimit_2_0= RULE_INT ) ) ) ) + // InternalApplicationConfiguration.g:2708:2: (otherlv_0= 'memory' otherlv_1= '=' ( (lv_megabyteLimit_2_0= RULE_INT ) ) ) { - // InternalApplicationConfiguration.g:2591:2: (otherlv_0= 'memory' otherlv_1= '=' ( (lv_megabyteLimit_2_0= RULE_INT ) ) ) - // InternalApplicationConfiguration.g:2592:3: otherlv_0= 'memory' otherlv_1= '=' ( (lv_megabyteLimit_2_0= RULE_INT ) ) + // InternalApplicationConfiguration.g:2708:2: (otherlv_0= 'memory' otherlv_1= '=' ( (lv_megabyteLimit_2_0= RULE_INT ) ) ) + // InternalApplicationConfiguration.g:2709:3: otherlv_0= 'memory' otherlv_1= '=' ( (lv_megabyteLimit_2_0= RULE_INT ) ) { - otherlv_0=(Token)match(input,33,FOLLOW_13); + otherlv_0=(Token)match(input,35,FOLLOW_13); newLeafNode(otherlv_0, grammarAccess.getMemoryEntryAccess().getMemoryKeyword_0()); @@ -7152,11 +7475,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl newLeafNode(otherlv_1, grammarAccess.getMemoryEntryAccess().getEqualsSignKeyword_1()); - // InternalApplicationConfiguration.g:2600:3: ( (lv_megabyteLimit_2_0= RULE_INT ) ) - // InternalApplicationConfiguration.g:2601:4: (lv_megabyteLimit_2_0= RULE_INT ) + // InternalApplicationConfiguration.g:2717:3: ( (lv_megabyteLimit_2_0= RULE_INT ) ) + // InternalApplicationConfiguration.g:2718:4: (lv_megabyteLimit_2_0= RULE_INT ) { - // InternalApplicationConfiguration.g:2601:4: (lv_megabyteLimit_2_0= RULE_INT ) - // InternalApplicationConfiguration.g:2602:5: lv_megabyteLimit_2_0= RULE_INT + // InternalApplicationConfiguration.g:2718:4: (lv_megabyteLimit_2_0= RULE_INT ) + // InternalApplicationConfiguration.g:2719:5: lv_megabyteLimit_2_0= RULE_INT { lv_megabyteLimit_2_0=(Token)match(input,RULE_INT,FOLLOW_2); @@ -7201,7 +7524,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleCustomEntry" - // InternalApplicationConfiguration.g:2622:1: entryRuleCustomEntry returns [EObject current=null] : iv_ruleCustomEntry= ruleCustomEntry EOF ; + // InternalApplicationConfiguration.g:2739:1: entryRuleCustomEntry returns [EObject current=null] : iv_ruleCustomEntry= ruleCustomEntry EOF ; public final EObject entryRuleCustomEntry() throws RecognitionException { EObject current = null; @@ -7209,8 +7532,8 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:2622:52: (iv_ruleCustomEntry= ruleCustomEntry EOF ) - // InternalApplicationConfiguration.g:2623:2: iv_ruleCustomEntry= ruleCustomEntry EOF + // InternalApplicationConfiguration.g:2739:52: (iv_ruleCustomEntry= ruleCustomEntry EOF ) + // InternalApplicationConfiguration.g:2740:2: iv_ruleCustomEntry= ruleCustomEntry EOF { newCompositeNode(grammarAccess.getCustomEntryRule()); pushFollow(FOLLOW_1); @@ -7237,7 +7560,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleCustomEntry" - // InternalApplicationConfiguration.g:2629:1: ruleCustomEntry returns [EObject current=null] : ( ( (lv_key_0_0= RULE_STRING ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STRING ) ) ) ; + // InternalApplicationConfiguration.g:2746:1: ruleCustomEntry returns [EObject current=null] : ( ( (lv_key_0_0= RULE_STRING ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STRING ) ) ) ; public final EObject ruleCustomEntry() throws RecognitionException { EObject current = null; @@ -7249,17 +7572,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:2635:2: ( ( ( (lv_key_0_0= RULE_STRING ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STRING ) ) ) ) - // InternalApplicationConfiguration.g:2636:2: ( ( (lv_key_0_0= RULE_STRING ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STRING ) ) ) + // InternalApplicationConfiguration.g:2752:2: ( ( ( (lv_key_0_0= RULE_STRING ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STRING ) ) ) ) + // InternalApplicationConfiguration.g:2753:2: ( ( (lv_key_0_0= RULE_STRING ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STRING ) ) ) { - // InternalApplicationConfiguration.g:2636:2: ( ( (lv_key_0_0= RULE_STRING ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STRING ) ) ) - // InternalApplicationConfiguration.g:2637:3: ( (lv_key_0_0= RULE_STRING ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STRING ) ) + // InternalApplicationConfiguration.g:2753:2: ( ( (lv_key_0_0= RULE_STRING ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STRING ) ) ) + // InternalApplicationConfiguration.g:2754:3: ( (lv_key_0_0= RULE_STRING ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STRING ) ) { - // InternalApplicationConfiguration.g:2637:3: ( (lv_key_0_0= RULE_STRING ) ) - // InternalApplicationConfiguration.g:2638:4: (lv_key_0_0= RULE_STRING ) + // InternalApplicationConfiguration.g:2754:3: ( (lv_key_0_0= RULE_STRING ) ) + // InternalApplicationConfiguration.g:2755:4: (lv_key_0_0= RULE_STRING ) { - // InternalApplicationConfiguration.g:2638:4: (lv_key_0_0= RULE_STRING ) - // InternalApplicationConfiguration.g:2639:5: lv_key_0_0= RULE_STRING + // InternalApplicationConfiguration.g:2755:4: (lv_key_0_0= RULE_STRING ) + // InternalApplicationConfiguration.g:2756:5: lv_key_0_0= RULE_STRING { lv_key_0_0=(Token)match(input,RULE_STRING,FOLLOW_13); @@ -7285,11 +7608,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl newLeafNode(otherlv_1, grammarAccess.getCustomEntryAccess().getEqualsSignKeyword_1()); - // InternalApplicationConfiguration.g:2659:3: ( (lv_value_2_0= RULE_STRING ) ) - // InternalApplicationConfiguration.g:2660:4: (lv_value_2_0= RULE_STRING ) + // InternalApplicationConfiguration.g:2776:3: ( (lv_value_2_0= RULE_STRING ) ) + // InternalApplicationConfiguration.g:2777:4: (lv_value_2_0= RULE_STRING ) { - // InternalApplicationConfiguration.g:2660:4: (lv_value_2_0= RULE_STRING ) - // InternalApplicationConfiguration.g:2661:5: lv_value_2_0= RULE_STRING + // InternalApplicationConfiguration.g:2777:4: (lv_value_2_0= RULE_STRING ) + // InternalApplicationConfiguration.g:2778:5: lv_value_2_0= RULE_STRING { lv_value_2_0=(Token)match(input,RULE_STRING,FOLLOW_2); @@ -7334,7 +7657,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleConfigReference" - // InternalApplicationConfiguration.g:2681:1: entryRuleConfigReference returns [EObject current=null] : iv_ruleConfigReference= ruleConfigReference EOF ; + // InternalApplicationConfiguration.g:2798:1: entryRuleConfigReference returns [EObject current=null] : iv_ruleConfigReference= ruleConfigReference EOF ; public final EObject entryRuleConfigReference() throws RecognitionException { EObject current = null; @@ -7342,8 +7665,8 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:2681:56: (iv_ruleConfigReference= ruleConfigReference EOF ) - // InternalApplicationConfiguration.g:2682:2: iv_ruleConfigReference= ruleConfigReference EOF + // InternalApplicationConfiguration.g:2798:56: (iv_ruleConfigReference= ruleConfigReference EOF ) + // InternalApplicationConfiguration.g:2799:2: iv_ruleConfigReference= ruleConfigReference EOF { newCompositeNode(grammarAccess.getConfigReferenceRule()); pushFollow(FOLLOW_1); @@ -7370,7 +7693,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleConfigReference" - // InternalApplicationConfiguration.g:2688:1: ruleConfigReference returns [EObject current=null] : ( (otherlv_0= RULE_ID ) ) ; + // InternalApplicationConfiguration.g:2805:1: ruleConfigReference returns [EObject current=null] : ( (otherlv_0= RULE_ID ) ) ; public final EObject ruleConfigReference() throws RecognitionException { EObject current = null; @@ -7380,14 +7703,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:2694:2: ( ( (otherlv_0= RULE_ID ) ) ) - // InternalApplicationConfiguration.g:2695:2: ( (otherlv_0= RULE_ID ) ) + // InternalApplicationConfiguration.g:2811:2: ( ( (otherlv_0= RULE_ID ) ) ) + // InternalApplicationConfiguration.g:2812:2: ( (otherlv_0= RULE_ID ) ) { - // InternalApplicationConfiguration.g:2695:2: ( (otherlv_0= RULE_ID ) ) - // InternalApplicationConfiguration.g:2696:3: (otherlv_0= RULE_ID ) + // InternalApplicationConfiguration.g:2812:2: ( (otherlv_0= RULE_ID ) ) + // InternalApplicationConfiguration.g:2813:3: (otherlv_0= RULE_ID ) { - // InternalApplicationConfiguration.g:2696:3: (otherlv_0= RULE_ID ) - // InternalApplicationConfiguration.g:2697:4: otherlv_0= RULE_ID + // InternalApplicationConfiguration.g:2813:3: (otherlv_0= RULE_ID ) + // InternalApplicationConfiguration.g:2814:4: otherlv_0= RULE_ID { if (current==null) { @@ -7424,7 +7747,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleConfig" - // InternalApplicationConfiguration.g:2711:1: entryRuleConfig returns [EObject current=null] : iv_ruleConfig= ruleConfig EOF ; + // InternalApplicationConfiguration.g:2828:1: entryRuleConfig returns [EObject current=null] : iv_ruleConfig= ruleConfig EOF ; public final EObject entryRuleConfig() throws RecognitionException { EObject current = null; @@ -7432,8 +7755,8 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:2711:47: (iv_ruleConfig= ruleConfig EOF ) - // InternalApplicationConfiguration.g:2712:2: iv_ruleConfig= ruleConfig EOF + // InternalApplicationConfiguration.g:2828:47: (iv_ruleConfig= ruleConfig EOF ) + // InternalApplicationConfiguration.g:2829:2: iv_ruleConfig= ruleConfig EOF { newCompositeNode(grammarAccess.getConfigRule()); pushFollow(FOLLOW_1); @@ -7460,7 +7783,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleConfig" - // InternalApplicationConfiguration.g:2718:1: ruleConfig returns [EObject current=null] : (this_ConfigSpecification_0= ruleConfigSpecification | this_ConfigReference_1= ruleConfigReference ) ; + // InternalApplicationConfiguration.g:2835:1: ruleConfig returns [EObject current=null] : (this_ConfigSpecification_0= ruleConfigSpecification | this_ConfigReference_1= ruleConfigReference ) ; public final EObject ruleConfig() throws RecognitionException { EObject current = null; @@ -7473,28 +7796,28 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:2724:2: ( (this_ConfigSpecification_0= ruleConfigSpecification | this_ConfigReference_1= ruleConfigReference ) ) - // InternalApplicationConfiguration.g:2725:2: (this_ConfigSpecification_0= ruleConfigSpecification | this_ConfigReference_1= ruleConfigReference ) + // InternalApplicationConfiguration.g:2841:2: ( (this_ConfigSpecification_0= ruleConfigSpecification | this_ConfigReference_1= ruleConfigReference ) ) + // InternalApplicationConfiguration.g:2842:2: (this_ConfigSpecification_0= ruleConfigSpecification | this_ConfigReference_1= ruleConfigReference ) { - // InternalApplicationConfiguration.g:2725:2: (this_ConfigSpecification_0= ruleConfigSpecification | this_ConfigReference_1= ruleConfigReference ) - int alt35=2; - int LA35_0 = input.LA(1); + // InternalApplicationConfiguration.g:2842:2: (this_ConfigSpecification_0= ruleConfigSpecification | this_ConfigReference_1= ruleConfigReference ) + int alt37=2; + int LA37_0 = input.LA(1); - if ( (LA35_0==19) ) { - alt35=1; + if ( (LA37_0==19) ) { + alt37=1; } - else if ( (LA35_0==RULE_ID) ) { - alt35=2; + else if ( (LA37_0==RULE_ID) ) { + alt37=2; } else { NoViableAltException nvae = - new NoViableAltException("", 35, 0, input); + new NoViableAltException("", 37, 0, input); throw nvae; } - switch (alt35) { + switch (alt37) { case 1 : - // InternalApplicationConfiguration.g:2726:3: this_ConfigSpecification_0= ruleConfigSpecification + // InternalApplicationConfiguration.g:2843:3: this_ConfigSpecification_0= ruleConfigSpecification { newCompositeNode(grammarAccess.getConfigAccess().getConfigSpecificationParserRuleCall_0()); @@ -7512,7 +7835,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } break; case 2 : - // InternalApplicationConfiguration.g:2735:3: this_ConfigReference_1= ruleConfigReference + // InternalApplicationConfiguration.g:2852:3: this_ConfigReference_1= ruleConfigReference { newCompositeNode(grammarAccess.getConfigAccess().getConfigReferenceParserRuleCall_1()); @@ -7552,7 +7875,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleScopeSpecification" - // InternalApplicationConfiguration.g:2747:1: entryRuleScopeSpecification returns [EObject current=null] : iv_ruleScopeSpecification= ruleScopeSpecification EOF ; + // InternalApplicationConfiguration.g:2864:1: entryRuleScopeSpecification returns [EObject current=null] : iv_ruleScopeSpecification= ruleScopeSpecification EOF ; public final EObject entryRuleScopeSpecification() throws RecognitionException { EObject current = null; @@ -7560,8 +7883,8 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:2747:59: (iv_ruleScopeSpecification= ruleScopeSpecification EOF ) - // InternalApplicationConfiguration.g:2748:2: iv_ruleScopeSpecification= ruleScopeSpecification EOF + // InternalApplicationConfiguration.g:2864:59: (iv_ruleScopeSpecification= ruleScopeSpecification EOF ) + // InternalApplicationConfiguration.g:2865:2: iv_ruleScopeSpecification= ruleScopeSpecification EOF { newCompositeNode(grammarAccess.getScopeSpecificationRule()); pushFollow(FOLLOW_1); @@ -7588,7 +7911,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleScopeSpecification" - // InternalApplicationConfiguration.g:2754:1: ruleScopeSpecification returns [EObject current=null] : ( () otherlv_1= '{' ( ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* )? otherlv_5= '}' ) ; + // InternalApplicationConfiguration.g:2871:1: ruleScopeSpecification returns [EObject current=null] : ( () otherlv_1= '{' ( ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* )? otherlv_5= '}' ) ; public final EObject ruleScopeSpecification() throws RecognitionException { EObject current = null; @@ -7604,14 +7927,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:2760:2: ( ( () otherlv_1= '{' ( ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* )? otherlv_5= '}' ) ) - // InternalApplicationConfiguration.g:2761:2: ( () otherlv_1= '{' ( ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* )? otherlv_5= '}' ) + // InternalApplicationConfiguration.g:2877:2: ( ( () otherlv_1= '{' ( ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* )? otherlv_5= '}' ) ) + // InternalApplicationConfiguration.g:2878:2: ( () otherlv_1= '{' ( ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* )? otherlv_5= '}' ) { - // InternalApplicationConfiguration.g:2761:2: ( () otherlv_1= '{' ( ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* )? otherlv_5= '}' ) - // InternalApplicationConfiguration.g:2762:3: () otherlv_1= '{' ( ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* )? otherlv_5= '}' + // InternalApplicationConfiguration.g:2878:2: ( () otherlv_1= '{' ( ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* )? otherlv_5= '}' ) + // InternalApplicationConfiguration.g:2879:3: () otherlv_1= '{' ( ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* )? otherlv_5= '}' { - // InternalApplicationConfiguration.g:2762:3: () - // InternalApplicationConfiguration.g:2763:4: + // InternalApplicationConfiguration.g:2879:3: () + // InternalApplicationConfiguration.g:2880:4: { current = forceCreateModelElement( @@ -7621,26 +7944,26 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - otherlv_1=(Token)match(input,19,FOLLOW_28); + otherlv_1=(Token)match(input,19,FOLLOW_29); newLeafNode(otherlv_1, grammarAccess.getScopeSpecificationAccess().getLeftCurlyBracketKeyword_1()); - // InternalApplicationConfiguration.g:2773:3: ( ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* )? - int alt37=2; - int LA37_0 = input.LA(1); + // InternalApplicationConfiguration.g:2890:3: ( ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* )? + int alt39=2; + int LA39_0 = input.LA(1); - if ( (LA37_0==34) ) { - alt37=1; + if ( (LA39_0==36) ) { + alt39=1; } - switch (alt37) { + switch (alt39) { case 1 : - // InternalApplicationConfiguration.g:2774:4: ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* + // InternalApplicationConfiguration.g:2891:4: ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* { - // InternalApplicationConfiguration.g:2774:4: ( (lv_scopes_2_0= ruleTypeScope ) ) - // InternalApplicationConfiguration.g:2775:5: (lv_scopes_2_0= ruleTypeScope ) + // InternalApplicationConfiguration.g:2891:4: ( (lv_scopes_2_0= ruleTypeScope ) ) + // InternalApplicationConfiguration.g:2892:5: (lv_scopes_2_0= ruleTypeScope ) { - // InternalApplicationConfiguration.g:2775:5: (lv_scopes_2_0= ruleTypeScope ) - // InternalApplicationConfiguration.g:2776:6: lv_scopes_2_0= ruleTypeScope + // InternalApplicationConfiguration.g:2892:5: (lv_scopes_2_0= ruleTypeScope ) + // InternalApplicationConfiguration.g:2893:6: lv_scopes_2_0= ruleTypeScope { newCompositeNode(grammarAccess.getScopeSpecificationAccess().getScopesTypeScopeParserRuleCall_2_0_0()); @@ -7667,30 +7990,30 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - // InternalApplicationConfiguration.g:2793:4: (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* - loop36: + // InternalApplicationConfiguration.g:2910:4: (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* + loop38: do { - int alt36=2; - int LA36_0 = input.LA(1); + int alt38=2; + int LA38_0 = input.LA(1); - if ( (LA36_0==20) ) { - alt36=1; + if ( (LA38_0==20) ) { + alt38=1; } - switch (alt36) { + switch (alt38) { case 1 : - // InternalApplicationConfiguration.g:2794:5: otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) + // InternalApplicationConfiguration.g:2911:5: otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) { - otherlv_3=(Token)match(input,20,FOLLOW_29); + otherlv_3=(Token)match(input,20,FOLLOW_30); newLeafNode(otherlv_3, grammarAccess.getScopeSpecificationAccess().getCommaKeyword_2_1_0()); - // InternalApplicationConfiguration.g:2798:5: ( (lv_scopes_4_0= ruleTypeScope ) ) - // InternalApplicationConfiguration.g:2799:6: (lv_scopes_4_0= ruleTypeScope ) + // InternalApplicationConfiguration.g:2915:5: ( (lv_scopes_4_0= ruleTypeScope ) ) + // InternalApplicationConfiguration.g:2916:6: (lv_scopes_4_0= ruleTypeScope ) { - // InternalApplicationConfiguration.g:2799:6: (lv_scopes_4_0= ruleTypeScope ) - // InternalApplicationConfiguration.g:2800:7: lv_scopes_4_0= ruleTypeScope + // InternalApplicationConfiguration.g:2916:6: (lv_scopes_4_0= ruleTypeScope ) + // InternalApplicationConfiguration.g:2917:7: lv_scopes_4_0= ruleTypeScope { newCompositeNode(grammarAccess.getScopeSpecificationAccess().getScopesTypeScopeParserRuleCall_2_1_1_0()); @@ -7722,7 +8045,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl break; default : - break loop36; + break loop38; } } while (true); @@ -7759,7 +8082,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleTypeScope" - // InternalApplicationConfiguration.g:2827:1: entryRuleTypeScope returns [EObject current=null] : iv_ruleTypeScope= ruleTypeScope EOF ; + // InternalApplicationConfiguration.g:2944:1: entryRuleTypeScope returns [EObject current=null] : iv_ruleTypeScope= ruleTypeScope EOF ; public final EObject entryRuleTypeScope() throws RecognitionException { EObject current = null; @@ -7767,8 +8090,8 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:2827:50: (iv_ruleTypeScope= ruleTypeScope EOF ) - // InternalApplicationConfiguration.g:2828:2: iv_ruleTypeScope= ruleTypeScope EOF + // InternalApplicationConfiguration.g:2944:50: (iv_ruleTypeScope= ruleTypeScope EOF ) + // InternalApplicationConfiguration.g:2945:2: iv_ruleTypeScope= ruleTypeScope EOF { newCompositeNode(grammarAccess.getTypeScopeRule()); pushFollow(FOLLOW_1); @@ -7795,7 +8118,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleTypeScope" - // InternalApplicationConfiguration.g:2834:1: ruleTypeScope returns [EObject current=null] : (this_ClassTypeScope_0= ruleClassTypeScope | this_ObjectTypeScope_1= ruleObjectTypeScope | this_IntegerTypeScope_2= ruleIntegerTypeScope | this_RealTypeScope_3= ruleRealTypeScope | this_StringTypeScope_4= ruleStringTypeScope ) ; + // InternalApplicationConfiguration.g:2951:1: ruleTypeScope returns [EObject current=null] : (this_ClassTypeScope_0= ruleClassTypeScope | this_ObjectTypeScope_1= ruleObjectTypeScope | this_IntegerTypeScope_2= ruleIntegerTypeScope | this_RealTypeScope_3= ruleRealTypeScope | this_StringTypeScope_4= ruleStringTypeScope ) ; public final EObject ruleTypeScope() throws RecognitionException { EObject current = null; @@ -7814,43 +8137,43 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:2840:2: ( (this_ClassTypeScope_0= ruleClassTypeScope | this_ObjectTypeScope_1= ruleObjectTypeScope | this_IntegerTypeScope_2= ruleIntegerTypeScope | this_RealTypeScope_3= ruleRealTypeScope | this_StringTypeScope_4= ruleStringTypeScope ) ) - // InternalApplicationConfiguration.g:2841:2: (this_ClassTypeScope_0= ruleClassTypeScope | this_ObjectTypeScope_1= ruleObjectTypeScope | this_IntegerTypeScope_2= ruleIntegerTypeScope | this_RealTypeScope_3= ruleRealTypeScope | this_StringTypeScope_4= ruleStringTypeScope ) + // InternalApplicationConfiguration.g:2957:2: ( (this_ClassTypeScope_0= ruleClassTypeScope | this_ObjectTypeScope_1= ruleObjectTypeScope | this_IntegerTypeScope_2= ruleIntegerTypeScope | this_RealTypeScope_3= ruleRealTypeScope | this_StringTypeScope_4= ruleStringTypeScope ) ) + // InternalApplicationConfiguration.g:2958:2: (this_ClassTypeScope_0= ruleClassTypeScope | this_ObjectTypeScope_1= ruleObjectTypeScope | this_IntegerTypeScope_2= ruleIntegerTypeScope | this_RealTypeScope_3= ruleRealTypeScope | this_StringTypeScope_4= ruleStringTypeScope ) { - // InternalApplicationConfiguration.g:2841:2: (this_ClassTypeScope_0= ruleClassTypeScope | this_ObjectTypeScope_1= ruleObjectTypeScope | this_IntegerTypeScope_2= ruleIntegerTypeScope | this_RealTypeScope_3= ruleRealTypeScope | this_StringTypeScope_4= ruleStringTypeScope ) - int alt38=5; - int LA38_0 = input.LA(1); + // InternalApplicationConfiguration.g:2958:2: (this_ClassTypeScope_0= ruleClassTypeScope | this_ObjectTypeScope_1= ruleObjectTypeScope | this_IntegerTypeScope_2= ruleIntegerTypeScope | this_RealTypeScope_3= ruleRealTypeScope | this_StringTypeScope_4= ruleStringTypeScope ) + int alt40=5; + int LA40_0 = input.LA(1); - if ( (LA38_0==34) ) { + if ( (LA40_0==36) ) { switch ( input.LA(2) ) { - case 39: + case 41: { - alt38=3; + alt40=3; } break; - case 40: + case 42: { - alt38=4; + alt40=4; } break; - case 41: + case 43: { - alt38=5; + alt40=5; } break; - case 36: + case 38: { - alt38=1; + alt40=1; } break; - case 38: + case 40: { - alt38=2; + alt40=2; } break; default: NoViableAltException nvae = - new NoViableAltException("", 38, 1, input); + new NoViableAltException("", 40, 1, input); throw nvae; } @@ -7858,13 +8181,13 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } else { NoViableAltException nvae = - new NoViableAltException("", 38, 0, input); + new NoViableAltException("", 40, 0, input); throw nvae; } - switch (alt38) { + switch (alt40) { case 1 : - // InternalApplicationConfiguration.g:2842:3: this_ClassTypeScope_0= ruleClassTypeScope + // InternalApplicationConfiguration.g:2959:3: this_ClassTypeScope_0= ruleClassTypeScope { newCompositeNode(grammarAccess.getTypeScopeAccess().getClassTypeScopeParserRuleCall_0()); @@ -7882,7 +8205,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } break; case 2 : - // InternalApplicationConfiguration.g:2851:3: this_ObjectTypeScope_1= ruleObjectTypeScope + // InternalApplicationConfiguration.g:2968:3: this_ObjectTypeScope_1= ruleObjectTypeScope { newCompositeNode(grammarAccess.getTypeScopeAccess().getObjectTypeScopeParserRuleCall_1()); @@ -7900,7 +8223,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } break; case 3 : - // InternalApplicationConfiguration.g:2860:3: this_IntegerTypeScope_2= ruleIntegerTypeScope + // InternalApplicationConfiguration.g:2977:3: this_IntegerTypeScope_2= ruleIntegerTypeScope { newCompositeNode(grammarAccess.getTypeScopeAccess().getIntegerTypeScopeParserRuleCall_2()); @@ -7918,7 +8241,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } break; case 4 : - // InternalApplicationConfiguration.g:2869:3: this_RealTypeScope_3= ruleRealTypeScope + // InternalApplicationConfiguration.g:2986:3: this_RealTypeScope_3= ruleRealTypeScope { newCompositeNode(grammarAccess.getTypeScopeAccess().getRealTypeScopeParserRuleCall_3()); @@ -7936,7 +8259,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } break; case 5 : - // InternalApplicationConfiguration.g:2878:3: this_StringTypeScope_4= ruleStringTypeScope + // InternalApplicationConfiguration.g:2995:3: this_StringTypeScope_4= ruleStringTypeScope { newCompositeNode(grammarAccess.getTypeScopeAccess().getStringTypeScopeParserRuleCall_4()); @@ -7976,7 +8299,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleClassTypeScope" - // InternalApplicationConfiguration.g:2890:1: entryRuleClassTypeScope returns [EObject current=null] : iv_ruleClassTypeScope= ruleClassTypeScope EOF ; + // InternalApplicationConfiguration.g:3007:1: entryRuleClassTypeScope returns [EObject current=null] : iv_ruleClassTypeScope= ruleClassTypeScope EOF ; public final EObject entryRuleClassTypeScope() throws RecognitionException { EObject current = null; @@ -7984,8 +8307,8 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:2890:55: (iv_ruleClassTypeScope= ruleClassTypeScope EOF ) - // InternalApplicationConfiguration.g:2891:2: iv_ruleClassTypeScope= ruleClassTypeScope EOF + // InternalApplicationConfiguration.g:3007:55: (iv_ruleClassTypeScope= ruleClassTypeScope EOF ) + // InternalApplicationConfiguration.g:3008:2: iv_ruleClassTypeScope= ruleClassTypeScope EOF { newCompositeNode(grammarAccess.getClassTypeScopeRule()); pushFollow(FOLLOW_1); @@ -8012,7 +8335,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleClassTypeScope" - // InternalApplicationConfiguration.g:2897:1: ruleClassTypeScope returns [EObject current=null] : (otherlv_0= '#' ( (lv_type_1_0= ruleClassReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) ) ; + // InternalApplicationConfiguration.g:3014:1: ruleClassTypeScope returns [EObject current=null] : (otherlv_0= '#' ( (lv_type_1_0= ruleClassReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) ) ; public final EObject ruleClassTypeScope() throws RecognitionException { EObject current = null; @@ -8030,26 +8353,26 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:2903:2: ( (otherlv_0= '#' ( (lv_type_1_0= ruleClassReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) ) ) - // InternalApplicationConfiguration.g:2904:2: (otherlv_0= '#' ( (lv_type_1_0= ruleClassReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) ) + // InternalApplicationConfiguration.g:3020:2: ( (otherlv_0= '#' ( (lv_type_1_0= ruleClassReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) ) ) + // InternalApplicationConfiguration.g:3021:2: (otherlv_0= '#' ( (lv_type_1_0= ruleClassReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) ) { - // InternalApplicationConfiguration.g:2904:2: (otherlv_0= '#' ( (lv_type_1_0= ruleClassReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) ) - // InternalApplicationConfiguration.g:2905:3: otherlv_0= '#' ( (lv_type_1_0= ruleClassReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) + // InternalApplicationConfiguration.g:3021:2: (otherlv_0= '#' ( (lv_type_1_0= ruleClassReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) ) + // InternalApplicationConfiguration.g:3022:3: otherlv_0= '#' ( (lv_type_1_0= ruleClassReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) { - otherlv_0=(Token)match(input,34,FOLLOW_30); + otherlv_0=(Token)match(input,36,FOLLOW_31); newLeafNode(otherlv_0, grammarAccess.getClassTypeScopeAccess().getNumberSignKeyword_0()); - // InternalApplicationConfiguration.g:2909:3: ( (lv_type_1_0= ruleClassReference ) ) - // InternalApplicationConfiguration.g:2910:4: (lv_type_1_0= ruleClassReference ) + // InternalApplicationConfiguration.g:3026:3: ( (lv_type_1_0= ruleClassReference ) ) + // InternalApplicationConfiguration.g:3027:4: (lv_type_1_0= ruleClassReference ) { - // InternalApplicationConfiguration.g:2910:4: (lv_type_1_0= ruleClassReference ) - // InternalApplicationConfiguration.g:2911:5: lv_type_1_0= ruleClassReference + // InternalApplicationConfiguration.g:3027:4: (lv_type_1_0= ruleClassReference ) + // InternalApplicationConfiguration.g:3028:5: lv_type_1_0= ruleClassReference { newCompositeNode(grammarAccess.getClassTypeScopeAccess().getTypeClassReferenceParserRuleCall_1_0()); - pushFollow(FOLLOW_31); + pushFollow(FOLLOW_32); lv_type_1_0=ruleClassReference(); state._fsp--; @@ -8071,33 +8394,33 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - // InternalApplicationConfiguration.g:2928:3: ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) - int alt39=2; - int LA39_0 = input.LA(1); + // InternalApplicationConfiguration.g:3045:3: ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) + int alt41=2; + int LA41_0 = input.LA(1); - if ( (LA39_0==35) ) { - alt39=1; + if ( (LA41_0==37) ) { + alt41=1; } - else if ( (LA39_0==18) ) { - alt39=2; + else if ( (LA41_0==18) ) { + alt41=2; } else { NoViableAltException nvae = - new NoViableAltException("", 39, 0, input); + new NoViableAltException("", 41, 0, input); throw nvae; } - switch (alt39) { + switch (alt41) { case 1 : - // InternalApplicationConfiguration.g:2929:4: ( (lv_setsNew_2_0= '+=' ) ) + // InternalApplicationConfiguration.g:3046:4: ( (lv_setsNew_2_0= '+=' ) ) { - // InternalApplicationConfiguration.g:2929:4: ( (lv_setsNew_2_0= '+=' ) ) - // InternalApplicationConfiguration.g:2930:5: (lv_setsNew_2_0= '+=' ) + // InternalApplicationConfiguration.g:3046:4: ( (lv_setsNew_2_0= '+=' ) ) + // InternalApplicationConfiguration.g:3047:5: (lv_setsNew_2_0= '+=' ) { - // InternalApplicationConfiguration.g:2930:5: (lv_setsNew_2_0= '+=' ) - // InternalApplicationConfiguration.g:2931:6: lv_setsNew_2_0= '+=' + // InternalApplicationConfiguration.g:3047:5: (lv_setsNew_2_0= '+=' ) + // InternalApplicationConfiguration.g:3048:6: lv_setsNew_2_0= '+=' { - lv_setsNew_2_0=(Token)match(input,35,FOLLOW_32); + lv_setsNew_2_0=(Token)match(input,37,FOLLOW_33); newLeafNode(lv_setsNew_2_0, grammarAccess.getClassTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); @@ -8117,15 +8440,15 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } break; case 2 : - // InternalApplicationConfiguration.g:2944:4: ( (lv_setsSum_3_0= '=' ) ) + // InternalApplicationConfiguration.g:3061:4: ( (lv_setsSum_3_0= '=' ) ) { - // InternalApplicationConfiguration.g:2944:4: ( (lv_setsSum_3_0= '=' ) ) - // InternalApplicationConfiguration.g:2945:5: (lv_setsSum_3_0= '=' ) + // InternalApplicationConfiguration.g:3061:4: ( (lv_setsSum_3_0= '=' ) ) + // InternalApplicationConfiguration.g:3062:5: (lv_setsSum_3_0= '=' ) { - // InternalApplicationConfiguration.g:2945:5: (lv_setsSum_3_0= '=' ) - // InternalApplicationConfiguration.g:2946:6: lv_setsSum_3_0= '=' + // InternalApplicationConfiguration.g:3062:5: (lv_setsSum_3_0= '=' ) + // InternalApplicationConfiguration.g:3063:6: lv_setsSum_3_0= '=' { - lv_setsSum_3_0=(Token)match(input,18,FOLLOW_32); + lv_setsSum_3_0=(Token)match(input,18,FOLLOW_33); newLeafNode(lv_setsSum_3_0, grammarAccess.getClassTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); @@ -8147,44 +8470,44 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - // InternalApplicationConfiguration.g:2959:3: ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) - int alt40=2; - int LA40_0 = input.LA(1); + // InternalApplicationConfiguration.g:3076:3: ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) + int alt42=2; + int LA42_0 = input.LA(1); - if ( (LA40_0==RULE_INT) ) { - int LA40_1 = input.LA(2); + if ( (LA42_0==RULE_INT) ) { + int LA42_1 = input.LA(2); - if ( (LA40_1==EOF||(LA40_1>=20 && LA40_1<=21)) ) { - alt40=1; + if ( (LA42_1==45) ) { + alt42=2; } - else if ( (LA40_1==43) ) { - alt40=2; + else if ( (LA42_1==EOF||(LA42_1>=20 && LA42_1<=21)) ) { + alt42=1; } else { NoViableAltException nvae = - new NoViableAltException("", 40, 1, input); + new NoViableAltException("", 42, 1, input); throw nvae; } } - else if ( (LA40_0==42) ) { - alt40=1; + else if ( (LA42_0==44) ) { + alt42=1; } else { NoViableAltException nvae = - new NoViableAltException("", 40, 0, input); + new NoViableAltException("", 42, 0, input); throw nvae; } - switch (alt40) { + switch (alt42) { case 1 : - // InternalApplicationConfiguration.g:2960:4: ( (lv_number_4_0= ruleExactNumber ) ) + // InternalApplicationConfiguration.g:3077:4: ( (lv_number_4_0= ruleExactNumber ) ) { - // InternalApplicationConfiguration.g:2960:4: ( (lv_number_4_0= ruleExactNumber ) ) - // InternalApplicationConfiguration.g:2961:5: (lv_number_4_0= ruleExactNumber ) + // InternalApplicationConfiguration.g:3077:4: ( (lv_number_4_0= ruleExactNumber ) ) + // InternalApplicationConfiguration.g:3078:5: (lv_number_4_0= ruleExactNumber ) { - // InternalApplicationConfiguration.g:2961:5: (lv_number_4_0= ruleExactNumber ) - // InternalApplicationConfiguration.g:2962:6: lv_number_4_0= ruleExactNumber + // InternalApplicationConfiguration.g:3078:5: (lv_number_4_0= ruleExactNumber ) + // InternalApplicationConfiguration.g:3079:6: lv_number_4_0= ruleExactNumber { newCompositeNode(grammarAccess.getClassTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0()); @@ -8215,13 +8538,13 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } break; case 2 : - // InternalApplicationConfiguration.g:2980:4: ( (lv_number_5_0= ruleIntervallNumber ) ) + // InternalApplicationConfiguration.g:3097:4: ( (lv_number_5_0= ruleIntervallNumber ) ) { - // InternalApplicationConfiguration.g:2980:4: ( (lv_number_5_0= ruleIntervallNumber ) ) - // InternalApplicationConfiguration.g:2981:5: (lv_number_5_0= ruleIntervallNumber ) + // InternalApplicationConfiguration.g:3097:4: ( (lv_number_5_0= ruleIntervallNumber ) ) + // InternalApplicationConfiguration.g:3098:5: (lv_number_5_0= ruleIntervallNumber ) { - // InternalApplicationConfiguration.g:2981:5: (lv_number_5_0= ruleIntervallNumber ) - // InternalApplicationConfiguration.g:2982:6: lv_number_5_0= ruleIntervallNumber + // InternalApplicationConfiguration.g:3098:5: (lv_number_5_0= ruleIntervallNumber ) + // InternalApplicationConfiguration.g:3099:6: lv_number_5_0= ruleIntervallNumber { newCompositeNode(grammarAccess.getClassTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0()); @@ -8277,7 +8600,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleObjectTypeScope" - // InternalApplicationConfiguration.g:3004:1: entryRuleObjectTypeScope returns [EObject current=null] : iv_ruleObjectTypeScope= ruleObjectTypeScope EOF ; + // InternalApplicationConfiguration.g:3121:1: entryRuleObjectTypeScope returns [EObject current=null] : iv_ruleObjectTypeScope= ruleObjectTypeScope EOF ; public final EObject entryRuleObjectTypeScope() throws RecognitionException { EObject current = null; @@ -8285,8 +8608,8 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:3004:56: (iv_ruleObjectTypeScope= ruleObjectTypeScope EOF ) - // InternalApplicationConfiguration.g:3005:2: iv_ruleObjectTypeScope= ruleObjectTypeScope EOF + // InternalApplicationConfiguration.g:3121:56: (iv_ruleObjectTypeScope= ruleObjectTypeScope EOF ) + // InternalApplicationConfiguration.g:3122:2: iv_ruleObjectTypeScope= ruleObjectTypeScope EOF { newCompositeNode(grammarAccess.getObjectTypeScopeRule()); pushFollow(FOLLOW_1); @@ -8313,7 +8636,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleObjectTypeScope" - // InternalApplicationConfiguration.g:3011:1: ruleObjectTypeScope returns [EObject current=null] : (otherlv_0= '#' ( (lv_type_1_0= ruleObjectReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) ) ; + // InternalApplicationConfiguration.g:3128:1: ruleObjectTypeScope returns [EObject current=null] : (otherlv_0= '#' ( (lv_type_1_0= ruleObjectReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) ) ; public final EObject ruleObjectTypeScope() throws RecognitionException { EObject current = null; @@ -8331,26 +8654,26 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:3017:2: ( (otherlv_0= '#' ( (lv_type_1_0= ruleObjectReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) ) ) - // InternalApplicationConfiguration.g:3018:2: (otherlv_0= '#' ( (lv_type_1_0= ruleObjectReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) ) + // InternalApplicationConfiguration.g:3134:2: ( (otherlv_0= '#' ( (lv_type_1_0= ruleObjectReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) ) ) + // InternalApplicationConfiguration.g:3135:2: (otherlv_0= '#' ( (lv_type_1_0= ruleObjectReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) ) { - // InternalApplicationConfiguration.g:3018:2: (otherlv_0= '#' ( (lv_type_1_0= ruleObjectReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) ) - // InternalApplicationConfiguration.g:3019:3: otherlv_0= '#' ( (lv_type_1_0= ruleObjectReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) + // InternalApplicationConfiguration.g:3135:2: (otherlv_0= '#' ( (lv_type_1_0= ruleObjectReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) ) + // InternalApplicationConfiguration.g:3136:3: otherlv_0= '#' ( (lv_type_1_0= ruleObjectReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) { - otherlv_0=(Token)match(input,34,FOLLOW_33); + otherlv_0=(Token)match(input,36,FOLLOW_34); newLeafNode(otherlv_0, grammarAccess.getObjectTypeScopeAccess().getNumberSignKeyword_0()); - // InternalApplicationConfiguration.g:3023:3: ( (lv_type_1_0= ruleObjectReference ) ) - // InternalApplicationConfiguration.g:3024:4: (lv_type_1_0= ruleObjectReference ) + // InternalApplicationConfiguration.g:3140:3: ( (lv_type_1_0= ruleObjectReference ) ) + // InternalApplicationConfiguration.g:3141:4: (lv_type_1_0= ruleObjectReference ) { - // InternalApplicationConfiguration.g:3024:4: (lv_type_1_0= ruleObjectReference ) - // InternalApplicationConfiguration.g:3025:5: lv_type_1_0= ruleObjectReference + // InternalApplicationConfiguration.g:3141:4: (lv_type_1_0= ruleObjectReference ) + // InternalApplicationConfiguration.g:3142:5: lv_type_1_0= ruleObjectReference { newCompositeNode(grammarAccess.getObjectTypeScopeAccess().getTypeObjectReferenceParserRuleCall_1_0()); - pushFollow(FOLLOW_31); + pushFollow(FOLLOW_32); lv_type_1_0=ruleObjectReference(); state._fsp--; @@ -8372,33 +8695,33 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - // InternalApplicationConfiguration.g:3042:3: ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) - int alt41=2; - int LA41_0 = input.LA(1); + // InternalApplicationConfiguration.g:3159:3: ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) + int alt43=2; + int LA43_0 = input.LA(1); - if ( (LA41_0==35) ) { - alt41=1; + if ( (LA43_0==37) ) { + alt43=1; } - else if ( (LA41_0==18) ) { - alt41=2; + else if ( (LA43_0==18) ) { + alt43=2; } else { NoViableAltException nvae = - new NoViableAltException("", 41, 0, input); + new NoViableAltException("", 43, 0, input); throw nvae; } - switch (alt41) { + switch (alt43) { case 1 : - // InternalApplicationConfiguration.g:3043:4: ( (lv_setsNew_2_0= '+=' ) ) + // InternalApplicationConfiguration.g:3160:4: ( (lv_setsNew_2_0= '+=' ) ) { - // InternalApplicationConfiguration.g:3043:4: ( (lv_setsNew_2_0= '+=' ) ) - // InternalApplicationConfiguration.g:3044:5: (lv_setsNew_2_0= '+=' ) + // InternalApplicationConfiguration.g:3160:4: ( (lv_setsNew_2_0= '+=' ) ) + // InternalApplicationConfiguration.g:3161:5: (lv_setsNew_2_0= '+=' ) { - // InternalApplicationConfiguration.g:3044:5: (lv_setsNew_2_0= '+=' ) - // InternalApplicationConfiguration.g:3045:6: lv_setsNew_2_0= '+=' + // InternalApplicationConfiguration.g:3161:5: (lv_setsNew_2_0= '+=' ) + // InternalApplicationConfiguration.g:3162:6: lv_setsNew_2_0= '+=' { - lv_setsNew_2_0=(Token)match(input,35,FOLLOW_32); + lv_setsNew_2_0=(Token)match(input,37,FOLLOW_33); newLeafNode(lv_setsNew_2_0, grammarAccess.getObjectTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); @@ -8418,15 +8741,15 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } break; case 2 : - // InternalApplicationConfiguration.g:3058:4: ( (lv_setsSum_3_0= '=' ) ) + // InternalApplicationConfiguration.g:3175:4: ( (lv_setsSum_3_0= '=' ) ) { - // InternalApplicationConfiguration.g:3058:4: ( (lv_setsSum_3_0= '=' ) ) - // InternalApplicationConfiguration.g:3059:5: (lv_setsSum_3_0= '=' ) + // InternalApplicationConfiguration.g:3175:4: ( (lv_setsSum_3_0= '=' ) ) + // InternalApplicationConfiguration.g:3176:5: (lv_setsSum_3_0= '=' ) { - // InternalApplicationConfiguration.g:3059:5: (lv_setsSum_3_0= '=' ) - // InternalApplicationConfiguration.g:3060:6: lv_setsSum_3_0= '=' + // InternalApplicationConfiguration.g:3176:5: (lv_setsSum_3_0= '=' ) + // InternalApplicationConfiguration.g:3177:6: lv_setsSum_3_0= '=' { - lv_setsSum_3_0=(Token)match(input,18,FOLLOW_32); + lv_setsSum_3_0=(Token)match(input,18,FOLLOW_33); newLeafNode(lv_setsSum_3_0, grammarAccess.getObjectTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); @@ -8448,44 +8771,44 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - // InternalApplicationConfiguration.g:3073:3: ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) - int alt42=2; - int LA42_0 = input.LA(1); + // InternalApplicationConfiguration.g:3190:3: ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) + int alt44=2; + int LA44_0 = input.LA(1); - if ( (LA42_0==RULE_INT) ) { - int LA42_1 = input.LA(2); + if ( (LA44_0==RULE_INT) ) { + int LA44_1 = input.LA(2); - if ( (LA42_1==EOF||(LA42_1>=20 && LA42_1<=21)) ) { - alt42=1; + if ( (LA44_1==45) ) { + alt44=2; } - else if ( (LA42_1==43) ) { - alt42=2; + else if ( (LA44_1==EOF||(LA44_1>=20 && LA44_1<=21)) ) { + alt44=1; } else { NoViableAltException nvae = - new NoViableAltException("", 42, 1, input); + new NoViableAltException("", 44, 1, input); throw nvae; } } - else if ( (LA42_0==42) ) { - alt42=1; + else if ( (LA44_0==44) ) { + alt44=1; } else { NoViableAltException nvae = - new NoViableAltException("", 42, 0, input); + new NoViableAltException("", 44, 0, input); throw nvae; } - switch (alt42) { + switch (alt44) { case 1 : - // InternalApplicationConfiguration.g:3074:4: ( (lv_number_4_0= ruleExactNumber ) ) + // InternalApplicationConfiguration.g:3191:4: ( (lv_number_4_0= ruleExactNumber ) ) { - // InternalApplicationConfiguration.g:3074:4: ( (lv_number_4_0= ruleExactNumber ) ) - // InternalApplicationConfiguration.g:3075:5: (lv_number_4_0= ruleExactNumber ) + // InternalApplicationConfiguration.g:3191:4: ( (lv_number_4_0= ruleExactNumber ) ) + // InternalApplicationConfiguration.g:3192:5: (lv_number_4_0= ruleExactNumber ) { - // InternalApplicationConfiguration.g:3075:5: (lv_number_4_0= ruleExactNumber ) - // InternalApplicationConfiguration.g:3076:6: lv_number_4_0= ruleExactNumber + // InternalApplicationConfiguration.g:3192:5: (lv_number_4_0= ruleExactNumber ) + // InternalApplicationConfiguration.g:3193:6: lv_number_4_0= ruleExactNumber { newCompositeNode(grammarAccess.getObjectTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0()); @@ -8516,13 +8839,13 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } break; case 2 : - // InternalApplicationConfiguration.g:3094:4: ( (lv_number_5_0= ruleIntervallNumber ) ) + // InternalApplicationConfiguration.g:3211:4: ( (lv_number_5_0= ruleIntervallNumber ) ) { - // InternalApplicationConfiguration.g:3094:4: ( (lv_number_5_0= ruleIntervallNumber ) ) - // InternalApplicationConfiguration.g:3095:5: (lv_number_5_0= ruleIntervallNumber ) + // InternalApplicationConfiguration.g:3211:4: ( (lv_number_5_0= ruleIntervallNumber ) ) + // InternalApplicationConfiguration.g:3212:5: (lv_number_5_0= ruleIntervallNumber ) { - // InternalApplicationConfiguration.g:3095:5: (lv_number_5_0= ruleIntervallNumber ) - // InternalApplicationConfiguration.g:3096:6: lv_number_5_0= ruleIntervallNumber + // InternalApplicationConfiguration.g:3212:5: (lv_number_5_0= ruleIntervallNumber ) + // InternalApplicationConfiguration.g:3213:6: lv_number_5_0= ruleIntervallNumber { newCompositeNode(grammarAccess.getObjectTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0()); @@ -8578,7 +8901,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleIntegerTypeScope" - // InternalApplicationConfiguration.g:3118:1: entryRuleIntegerTypeScope returns [EObject current=null] : iv_ruleIntegerTypeScope= ruleIntegerTypeScope EOF ; + // InternalApplicationConfiguration.g:3235:1: entryRuleIntegerTypeScope returns [EObject current=null] : iv_ruleIntegerTypeScope= ruleIntegerTypeScope EOF ; public final EObject entryRuleIntegerTypeScope() throws RecognitionException { EObject current = null; @@ -8586,8 +8909,8 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:3118:57: (iv_ruleIntegerTypeScope= ruleIntegerTypeScope EOF ) - // InternalApplicationConfiguration.g:3119:2: iv_ruleIntegerTypeScope= ruleIntegerTypeScope EOF + // InternalApplicationConfiguration.g:3235:57: (iv_ruleIntegerTypeScope= ruleIntegerTypeScope EOF ) + // InternalApplicationConfiguration.g:3236:2: iv_ruleIntegerTypeScope= ruleIntegerTypeScope EOF { newCompositeNode(grammarAccess.getIntegerTypeScopeRule()); pushFollow(FOLLOW_1); @@ -8614,7 +8937,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleIntegerTypeScope" - // InternalApplicationConfiguration.g:3125:1: ruleIntegerTypeScope returns [EObject current=null] : (otherlv_0= '#' ( (lv_type_1_0= ruleIntegerReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleIntEnumberation ) ) ) ) ; + // InternalApplicationConfiguration.g:3242:1: ruleIntegerTypeScope returns [EObject current=null] : (otherlv_0= '#' ( (lv_type_1_0= ruleIntegerReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleIntEnumberation ) ) ) ) ; public final EObject ruleIntegerTypeScope() throws RecognitionException { EObject current = null; @@ -8634,26 +8957,26 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:3131:2: ( (otherlv_0= '#' ( (lv_type_1_0= ruleIntegerReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleIntEnumberation ) ) ) ) ) - // InternalApplicationConfiguration.g:3132:2: (otherlv_0= '#' ( (lv_type_1_0= ruleIntegerReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleIntEnumberation ) ) ) ) + // InternalApplicationConfiguration.g:3248:2: ( (otherlv_0= '#' ( (lv_type_1_0= ruleIntegerReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleIntEnumberation ) ) ) ) ) + // InternalApplicationConfiguration.g:3249:2: (otherlv_0= '#' ( (lv_type_1_0= ruleIntegerReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleIntEnumberation ) ) ) ) { - // InternalApplicationConfiguration.g:3132:2: (otherlv_0= '#' ( (lv_type_1_0= ruleIntegerReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleIntEnumberation ) ) ) ) - // InternalApplicationConfiguration.g:3133:3: otherlv_0= '#' ( (lv_type_1_0= ruleIntegerReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleIntEnumberation ) ) ) + // InternalApplicationConfiguration.g:3249:2: (otherlv_0= '#' ( (lv_type_1_0= ruleIntegerReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleIntEnumberation ) ) ) ) + // InternalApplicationConfiguration.g:3250:3: otherlv_0= '#' ( (lv_type_1_0= ruleIntegerReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleIntEnumberation ) ) ) { - otherlv_0=(Token)match(input,34,FOLLOW_34); + otherlv_0=(Token)match(input,36,FOLLOW_35); newLeafNode(otherlv_0, grammarAccess.getIntegerTypeScopeAccess().getNumberSignKeyword_0()); - // InternalApplicationConfiguration.g:3137:3: ( (lv_type_1_0= ruleIntegerReference ) ) - // InternalApplicationConfiguration.g:3138:4: (lv_type_1_0= ruleIntegerReference ) + // InternalApplicationConfiguration.g:3254:3: ( (lv_type_1_0= ruleIntegerReference ) ) + // InternalApplicationConfiguration.g:3255:4: (lv_type_1_0= ruleIntegerReference ) { - // InternalApplicationConfiguration.g:3138:4: (lv_type_1_0= ruleIntegerReference ) - // InternalApplicationConfiguration.g:3139:5: lv_type_1_0= ruleIntegerReference + // InternalApplicationConfiguration.g:3255:4: (lv_type_1_0= ruleIntegerReference ) + // InternalApplicationConfiguration.g:3256:5: lv_type_1_0= ruleIntegerReference { newCompositeNode(grammarAccess.getIntegerTypeScopeAccess().getTypeIntegerReferenceParserRuleCall_1_0()); - pushFollow(FOLLOW_31); + pushFollow(FOLLOW_32); lv_type_1_0=ruleIntegerReference(); state._fsp--; @@ -8675,33 +8998,33 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - // InternalApplicationConfiguration.g:3156:3: ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) - int alt43=2; - int LA43_0 = input.LA(1); + // InternalApplicationConfiguration.g:3273:3: ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) + int alt45=2; + int LA45_0 = input.LA(1); - if ( (LA43_0==35) ) { - alt43=1; + if ( (LA45_0==37) ) { + alt45=1; } - else if ( (LA43_0==18) ) { - alt43=2; + else if ( (LA45_0==18) ) { + alt45=2; } else { NoViableAltException nvae = - new NoViableAltException("", 43, 0, input); + new NoViableAltException("", 45, 0, input); throw nvae; } - switch (alt43) { + switch (alt45) { case 1 : - // InternalApplicationConfiguration.g:3157:4: ( (lv_setsNew_2_0= '+=' ) ) + // InternalApplicationConfiguration.g:3274:4: ( (lv_setsNew_2_0= '+=' ) ) { - // InternalApplicationConfiguration.g:3157:4: ( (lv_setsNew_2_0= '+=' ) ) - // InternalApplicationConfiguration.g:3158:5: (lv_setsNew_2_0= '+=' ) + // InternalApplicationConfiguration.g:3274:4: ( (lv_setsNew_2_0= '+=' ) ) + // InternalApplicationConfiguration.g:3275:5: (lv_setsNew_2_0= '+=' ) { - // InternalApplicationConfiguration.g:3158:5: (lv_setsNew_2_0= '+=' ) - // InternalApplicationConfiguration.g:3159:6: lv_setsNew_2_0= '+=' + // InternalApplicationConfiguration.g:3275:5: (lv_setsNew_2_0= '+=' ) + // InternalApplicationConfiguration.g:3276:6: lv_setsNew_2_0= '+=' { - lv_setsNew_2_0=(Token)match(input,35,FOLLOW_35); + lv_setsNew_2_0=(Token)match(input,37,FOLLOW_36); newLeafNode(lv_setsNew_2_0, grammarAccess.getIntegerTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); @@ -8721,15 +9044,15 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } break; case 2 : - // InternalApplicationConfiguration.g:3172:4: ( (lv_setsSum_3_0= '=' ) ) + // InternalApplicationConfiguration.g:3289:4: ( (lv_setsSum_3_0= '=' ) ) { - // InternalApplicationConfiguration.g:3172:4: ( (lv_setsSum_3_0= '=' ) ) - // InternalApplicationConfiguration.g:3173:5: (lv_setsSum_3_0= '=' ) + // InternalApplicationConfiguration.g:3289:4: ( (lv_setsSum_3_0= '=' ) ) + // InternalApplicationConfiguration.g:3290:5: (lv_setsSum_3_0= '=' ) { - // InternalApplicationConfiguration.g:3173:5: (lv_setsSum_3_0= '=' ) - // InternalApplicationConfiguration.g:3174:6: lv_setsSum_3_0= '=' + // InternalApplicationConfiguration.g:3290:5: (lv_setsSum_3_0= '=' ) + // InternalApplicationConfiguration.g:3291:6: lv_setsSum_3_0= '=' { - lv_setsSum_3_0=(Token)match(input,18,FOLLOW_35); + lv_setsSum_3_0=(Token)match(input,18,FOLLOW_36); newLeafNode(lv_setsSum_3_0, grammarAccess.getIntegerTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); @@ -8751,53 +9074,53 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - // InternalApplicationConfiguration.g:3187:3: ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleIntEnumberation ) ) ) - int alt44=3; + // InternalApplicationConfiguration.g:3304:3: ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleIntEnumberation ) ) ) + int alt46=3; switch ( input.LA(1) ) { case RULE_INT: { - int LA44_1 = input.LA(2); + int LA46_1 = input.LA(2); - if ( (LA44_1==EOF||(LA44_1>=20 && LA44_1<=21)) ) { - alt44=1; + if ( (LA46_1==45) ) { + alt46=2; } - else if ( (LA44_1==43) ) { - alt44=2; + else if ( (LA46_1==EOF||(LA46_1>=20 && LA46_1<=21)) ) { + alt46=1; } else { NoViableAltException nvae = - new NoViableAltException("", 44, 1, input); + new NoViableAltException("", 46, 1, input); throw nvae; } } break; - case 42: + case 44: { - alt44=1; + alt46=1; } break; case 19: { - alt44=3; + alt46=3; } break; default: NoViableAltException nvae = - new NoViableAltException("", 44, 0, input); + new NoViableAltException("", 46, 0, input); throw nvae; } - switch (alt44) { + switch (alt46) { case 1 : - // InternalApplicationConfiguration.g:3188:4: ( (lv_number_4_0= ruleExactNumber ) ) + // InternalApplicationConfiguration.g:3305:4: ( (lv_number_4_0= ruleExactNumber ) ) { - // InternalApplicationConfiguration.g:3188:4: ( (lv_number_4_0= ruleExactNumber ) ) - // InternalApplicationConfiguration.g:3189:5: (lv_number_4_0= ruleExactNumber ) + // InternalApplicationConfiguration.g:3305:4: ( (lv_number_4_0= ruleExactNumber ) ) + // InternalApplicationConfiguration.g:3306:5: (lv_number_4_0= ruleExactNumber ) { - // InternalApplicationConfiguration.g:3189:5: (lv_number_4_0= ruleExactNumber ) - // InternalApplicationConfiguration.g:3190:6: lv_number_4_0= ruleExactNumber + // InternalApplicationConfiguration.g:3306:5: (lv_number_4_0= ruleExactNumber ) + // InternalApplicationConfiguration.g:3307:6: lv_number_4_0= ruleExactNumber { newCompositeNode(grammarAccess.getIntegerTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0()); @@ -8828,13 +9151,13 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } break; case 2 : - // InternalApplicationConfiguration.g:3208:4: ( (lv_number_5_0= ruleIntervallNumber ) ) + // InternalApplicationConfiguration.g:3325:4: ( (lv_number_5_0= ruleIntervallNumber ) ) { - // InternalApplicationConfiguration.g:3208:4: ( (lv_number_5_0= ruleIntervallNumber ) ) - // InternalApplicationConfiguration.g:3209:5: (lv_number_5_0= ruleIntervallNumber ) + // InternalApplicationConfiguration.g:3325:4: ( (lv_number_5_0= ruleIntervallNumber ) ) + // InternalApplicationConfiguration.g:3326:5: (lv_number_5_0= ruleIntervallNumber ) { - // InternalApplicationConfiguration.g:3209:5: (lv_number_5_0= ruleIntervallNumber ) - // InternalApplicationConfiguration.g:3210:6: lv_number_5_0= ruleIntervallNumber + // InternalApplicationConfiguration.g:3326:5: (lv_number_5_0= ruleIntervallNumber ) + // InternalApplicationConfiguration.g:3327:6: lv_number_5_0= ruleIntervallNumber { newCompositeNode(grammarAccess.getIntegerTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0()); @@ -8865,13 +9188,13 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } break; case 3 : - // InternalApplicationConfiguration.g:3228:4: ( (lv_number_6_0= ruleIntEnumberation ) ) + // InternalApplicationConfiguration.g:3345:4: ( (lv_number_6_0= ruleIntEnumberation ) ) { - // InternalApplicationConfiguration.g:3228:4: ( (lv_number_6_0= ruleIntEnumberation ) ) - // InternalApplicationConfiguration.g:3229:5: (lv_number_6_0= ruleIntEnumberation ) + // InternalApplicationConfiguration.g:3345:4: ( (lv_number_6_0= ruleIntEnumberation ) ) + // InternalApplicationConfiguration.g:3346:5: (lv_number_6_0= ruleIntEnumberation ) { - // InternalApplicationConfiguration.g:3229:5: (lv_number_6_0= ruleIntEnumberation ) - // InternalApplicationConfiguration.g:3230:6: lv_number_6_0= ruleIntEnumberation + // InternalApplicationConfiguration.g:3346:5: (lv_number_6_0= ruleIntEnumberation ) + // InternalApplicationConfiguration.g:3347:6: lv_number_6_0= ruleIntEnumberation { newCompositeNode(grammarAccess.getIntegerTypeScopeAccess().getNumberIntEnumberationParserRuleCall_3_2_0()); @@ -8927,7 +9250,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleRealTypeScope" - // InternalApplicationConfiguration.g:3252:1: entryRuleRealTypeScope returns [EObject current=null] : iv_ruleRealTypeScope= ruleRealTypeScope EOF ; + // InternalApplicationConfiguration.g:3369:1: entryRuleRealTypeScope returns [EObject current=null] : iv_ruleRealTypeScope= ruleRealTypeScope EOF ; public final EObject entryRuleRealTypeScope() throws RecognitionException { EObject current = null; @@ -8935,8 +9258,8 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:3252:54: (iv_ruleRealTypeScope= ruleRealTypeScope EOF ) - // InternalApplicationConfiguration.g:3253:2: iv_ruleRealTypeScope= ruleRealTypeScope EOF + // InternalApplicationConfiguration.g:3369:54: (iv_ruleRealTypeScope= ruleRealTypeScope EOF ) + // InternalApplicationConfiguration.g:3370:2: iv_ruleRealTypeScope= ruleRealTypeScope EOF { newCompositeNode(grammarAccess.getRealTypeScopeRule()); pushFollow(FOLLOW_1); @@ -8963,7 +9286,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleRealTypeScope" - // InternalApplicationConfiguration.g:3259:1: ruleRealTypeScope returns [EObject current=null] : (otherlv_0= '#' ( (lv_type_1_0= ruleRealReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleRealEnumeration ) ) ) ) ; + // InternalApplicationConfiguration.g:3376:1: ruleRealTypeScope returns [EObject current=null] : (otherlv_0= '#' ( (lv_type_1_0= ruleRealReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleRealEnumeration ) ) ) ) ; public final EObject ruleRealTypeScope() throws RecognitionException { EObject current = null; @@ -8983,26 +9306,26 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:3265:2: ( (otherlv_0= '#' ( (lv_type_1_0= ruleRealReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleRealEnumeration ) ) ) ) ) - // InternalApplicationConfiguration.g:3266:2: (otherlv_0= '#' ( (lv_type_1_0= ruleRealReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleRealEnumeration ) ) ) ) + // InternalApplicationConfiguration.g:3382:2: ( (otherlv_0= '#' ( (lv_type_1_0= ruleRealReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleRealEnumeration ) ) ) ) ) + // InternalApplicationConfiguration.g:3383:2: (otherlv_0= '#' ( (lv_type_1_0= ruleRealReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleRealEnumeration ) ) ) ) { - // InternalApplicationConfiguration.g:3266:2: (otherlv_0= '#' ( (lv_type_1_0= ruleRealReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleRealEnumeration ) ) ) ) - // InternalApplicationConfiguration.g:3267:3: otherlv_0= '#' ( (lv_type_1_0= ruleRealReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleRealEnumeration ) ) ) + // InternalApplicationConfiguration.g:3383:2: (otherlv_0= '#' ( (lv_type_1_0= ruleRealReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleRealEnumeration ) ) ) ) + // InternalApplicationConfiguration.g:3384:3: otherlv_0= '#' ( (lv_type_1_0= ruleRealReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleRealEnumeration ) ) ) { - otherlv_0=(Token)match(input,34,FOLLOW_36); + otherlv_0=(Token)match(input,36,FOLLOW_37); newLeafNode(otherlv_0, grammarAccess.getRealTypeScopeAccess().getNumberSignKeyword_0()); - // InternalApplicationConfiguration.g:3271:3: ( (lv_type_1_0= ruleRealReference ) ) - // InternalApplicationConfiguration.g:3272:4: (lv_type_1_0= ruleRealReference ) + // InternalApplicationConfiguration.g:3388:3: ( (lv_type_1_0= ruleRealReference ) ) + // InternalApplicationConfiguration.g:3389:4: (lv_type_1_0= ruleRealReference ) { - // InternalApplicationConfiguration.g:3272:4: (lv_type_1_0= ruleRealReference ) - // InternalApplicationConfiguration.g:3273:5: lv_type_1_0= ruleRealReference + // InternalApplicationConfiguration.g:3389:4: (lv_type_1_0= ruleRealReference ) + // InternalApplicationConfiguration.g:3390:5: lv_type_1_0= ruleRealReference { newCompositeNode(grammarAccess.getRealTypeScopeAccess().getTypeRealReferenceParserRuleCall_1_0()); - pushFollow(FOLLOW_31); + pushFollow(FOLLOW_32); lv_type_1_0=ruleRealReference(); state._fsp--; @@ -9024,33 +9347,33 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - // InternalApplicationConfiguration.g:3290:3: ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) - int alt45=2; - int LA45_0 = input.LA(1); + // InternalApplicationConfiguration.g:3407:3: ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) + int alt47=2; + int LA47_0 = input.LA(1); - if ( (LA45_0==35) ) { - alt45=1; + if ( (LA47_0==37) ) { + alt47=1; } - else if ( (LA45_0==18) ) { - alt45=2; + else if ( (LA47_0==18) ) { + alt47=2; } else { NoViableAltException nvae = - new NoViableAltException("", 45, 0, input); + new NoViableAltException("", 47, 0, input); throw nvae; } - switch (alt45) { + switch (alt47) { case 1 : - // InternalApplicationConfiguration.g:3291:4: ( (lv_setsNew_2_0= '+=' ) ) + // InternalApplicationConfiguration.g:3408:4: ( (lv_setsNew_2_0= '+=' ) ) { - // InternalApplicationConfiguration.g:3291:4: ( (lv_setsNew_2_0= '+=' ) ) - // InternalApplicationConfiguration.g:3292:5: (lv_setsNew_2_0= '+=' ) + // InternalApplicationConfiguration.g:3408:4: ( (lv_setsNew_2_0= '+=' ) ) + // InternalApplicationConfiguration.g:3409:5: (lv_setsNew_2_0= '+=' ) { - // InternalApplicationConfiguration.g:3292:5: (lv_setsNew_2_0= '+=' ) - // InternalApplicationConfiguration.g:3293:6: lv_setsNew_2_0= '+=' + // InternalApplicationConfiguration.g:3409:5: (lv_setsNew_2_0= '+=' ) + // InternalApplicationConfiguration.g:3410:6: lv_setsNew_2_0= '+=' { - lv_setsNew_2_0=(Token)match(input,35,FOLLOW_35); + lv_setsNew_2_0=(Token)match(input,37,FOLLOW_36); newLeafNode(lv_setsNew_2_0, grammarAccess.getRealTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); @@ -9070,15 +9393,15 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } break; case 2 : - // InternalApplicationConfiguration.g:3306:4: ( (lv_setsSum_3_0= '=' ) ) + // InternalApplicationConfiguration.g:3423:4: ( (lv_setsSum_3_0= '=' ) ) { - // InternalApplicationConfiguration.g:3306:4: ( (lv_setsSum_3_0= '=' ) ) - // InternalApplicationConfiguration.g:3307:5: (lv_setsSum_3_0= '=' ) + // InternalApplicationConfiguration.g:3423:4: ( (lv_setsSum_3_0= '=' ) ) + // InternalApplicationConfiguration.g:3424:5: (lv_setsSum_3_0= '=' ) { - // InternalApplicationConfiguration.g:3307:5: (lv_setsSum_3_0= '=' ) - // InternalApplicationConfiguration.g:3308:6: lv_setsSum_3_0= '=' + // InternalApplicationConfiguration.g:3424:5: (lv_setsSum_3_0= '=' ) + // InternalApplicationConfiguration.g:3425:6: lv_setsSum_3_0= '=' { - lv_setsSum_3_0=(Token)match(input,18,FOLLOW_35); + lv_setsSum_3_0=(Token)match(input,18,FOLLOW_36); newLeafNode(lv_setsSum_3_0, grammarAccess.getRealTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); @@ -9100,53 +9423,53 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - // InternalApplicationConfiguration.g:3321:3: ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleRealEnumeration ) ) ) - int alt46=3; + // InternalApplicationConfiguration.g:3438:3: ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleRealEnumeration ) ) ) + int alt48=3; switch ( input.LA(1) ) { case RULE_INT: { - int LA46_1 = input.LA(2); + int LA48_1 = input.LA(2); - if ( (LA46_1==43) ) { - alt46=2; + if ( (LA48_1==EOF||(LA48_1>=20 && LA48_1<=21)) ) { + alt48=1; } - else if ( (LA46_1==EOF||(LA46_1>=20 && LA46_1<=21)) ) { - alt46=1; + else if ( (LA48_1==45) ) { + alt48=2; } else { NoViableAltException nvae = - new NoViableAltException("", 46, 1, input); + new NoViableAltException("", 48, 1, input); throw nvae; } } break; - case 42: + case 44: { - alt46=1; + alt48=1; } break; case 19: { - alt46=3; + alt48=3; } break; default: NoViableAltException nvae = - new NoViableAltException("", 46, 0, input); + new NoViableAltException("", 48, 0, input); throw nvae; } - switch (alt46) { + switch (alt48) { case 1 : - // InternalApplicationConfiguration.g:3322:4: ( (lv_number_4_0= ruleExactNumber ) ) + // InternalApplicationConfiguration.g:3439:4: ( (lv_number_4_0= ruleExactNumber ) ) { - // InternalApplicationConfiguration.g:3322:4: ( (lv_number_4_0= ruleExactNumber ) ) - // InternalApplicationConfiguration.g:3323:5: (lv_number_4_0= ruleExactNumber ) + // InternalApplicationConfiguration.g:3439:4: ( (lv_number_4_0= ruleExactNumber ) ) + // InternalApplicationConfiguration.g:3440:5: (lv_number_4_0= ruleExactNumber ) { - // InternalApplicationConfiguration.g:3323:5: (lv_number_4_0= ruleExactNumber ) - // InternalApplicationConfiguration.g:3324:6: lv_number_4_0= ruleExactNumber + // InternalApplicationConfiguration.g:3440:5: (lv_number_4_0= ruleExactNumber ) + // InternalApplicationConfiguration.g:3441:6: lv_number_4_0= ruleExactNumber { newCompositeNode(grammarAccess.getRealTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0()); @@ -9177,13 +9500,13 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } break; case 2 : - // InternalApplicationConfiguration.g:3342:4: ( (lv_number_5_0= ruleIntervallNumber ) ) + // InternalApplicationConfiguration.g:3459:4: ( (lv_number_5_0= ruleIntervallNumber ) ) { - // InternalApplicationConfiguration.g:3342:4: ( (lv_number_5_0= ruleIntervallNumber ) ) - // InternalApplicationConfiguration.g:3343:5: (lv_number_5_0= ruleIntervallNumber ) + // InternalApplicationConfiguration.g:3459:4: ( (lv_number_5_0= ruleIntervallNumber ) ) + // InternalApplicationConfiguration.g:3460:5: (lv_number_5_0= ruleIntervallNumber ) { - // InternalApplicationConfiguration.g:3343:5: (lv_number_5_0= ruleIntervallNumber ) - // InternalApplicationConfiguration.g:3344:6: lv_number_5_0= ruleIntervallNumber + // InternalApplicationConfiguration.g:3460:5: (lv_number_5_0= ruleIntervallNumber ) + // InternalApplicationConfiguration.g:3461:6: lv_number_5_0= ruleIntervallNumber { newCompositeNode(grammarAccess.getRealTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0()); @@ -9214,13 +9537,13 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } break; case 3 : - // InternalApplicationConfiguration.g:3362:4: ( (lv_number_6_0= ruleRealEnumeration ) ) + // InternalApplicationConfiguration.g:3479:4: ( (lv_number_6_0= ruleRealEnumeration ) ) { - // InternalApplicationConfiguration.g:3362:4: ( (lv_number_6_0= ruleRealEnumeration ) ) - // InternalApplicationConfiguration.g:3363:5: (lv_number_6_0= ruleRealEnumeration ) + // InternalApplicationConfiguration.g:3479:4: ( (lv_number_6_0= ruleRealEnumeration ) ) + // InternalApplicationConfiguration.g:3480:5: (lv_number_6_0= ruleRealEnumeration ) { - // InternalApplicationConfiguration.g:3363:5: (lv_number_6_0= ruleRealEnumeration ) - // InternalApplicationConfiguration.g:3364:6: lv_number_6_0= ruleRealEnumeration + // InternalApplicationConfiguration.g:3480:5: (lv_number_6_0= ruleRealEnumeration ) + // InternalApplicationConfiguration.g:3481:6: lv_number_6_0= ruleRealEnumeration { newCompositeNode(grammarAccess.getRealTypeScopeAccess().getNumberRealEnumerationParserRuleCall_3_2_0()); @@ -9276,7 +9599,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleStringTypeScope" - // InternalApplicationConfiguration.g:3386:1: entryRuleStringTypeScope returns [EObject current=null] : iv_ruleStringTypeScope= ruleStringTypeScope EOF ; + // InternalApplicationConfiguration.g:3503:1: entryRuleStringTypeScope returns [EObject current=null] : iv_ruleStringTypeScope= ruleStringTypeScope EOF ; public final EObject entryRuleStringTypeScope() throws RecognitionException { EObject current = null; @@ -9284,8 +9607,8 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:3386:56: (iv_ruleStringTypeScope= ruleStringTypeScope EOF ) - // InternalApplicationConfiguration.g:3387:2: iv_ruleStringTypeScope= ruleStringTypeScope EOF + // InternalApplicationConfiguration.g:3503:56: (iv_ruleStringTypeScope= ruleStringTypeScope EOF ) + // InternalApplicationConfiguration.g:3504:2: iv_ruleStringTypeScope= ruleStringTypeScope EOF { newCompositeNode(grammarAccess.getStringTypeScopeRule()); pushFollow(FOLLOW_1); @@ -9312,7 +9635,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleStringTypeScope" - // InternalApplicationConfiguration.g:3393:1: ruleStringTypeScope returns [EObject current=null] : (otherlv_0= '#' ( (lv_type_1_0= ruleStringReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleStringEnumeration ) ) ) ) ; + // InternalApplicationConfiguration.g:3510:1: ruleStringTypeScope returns [EObject current=null] : (otherlv_0= '#' ( (lv_type_1_0= ruleStringReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleStringEnumeration ) ) ) ) ; public final EObject ruleStringTypeScope() throws RecognitionException { EObject current = null; @@ -9332,26 +9655,26 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:3399:2: ( (otherlv_0= '#' ( (lv_type_1_0= ruleStringReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleStringEnumeration ) ) ) ) ) - // InternalApplicationConfiguration.g:3400:2: (otherlv_0= '#' ( (lv_type_1_0= ruleStringReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleStringEnumeration ) ) ) ) + // InternalApplicationConfiguration.g:3516:2: ( (otherlv_0= '#' ( (lv_type_1_0= ruleStringReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleStringEnumeration ) ) ) ) ) + // InternalApplicationConfiguration.g:3517:2: (otherlv_0= '#' ( (lv_type_1_0= ruleStringReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleStringEnumeration ) ) ) ) { - // InternalApplicationConfiguration.g:3400:2: (otherlv_0= '#' ( (lv_type_1_0= ruleStringReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleStringEnumeration ) ) ) ) - // InternalApplicationConfiguration.g:3401:3: otherlv_0= '#' ( (lv_type_1_0= ruleStringReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleStringEnumeration ) ) ) + // InternalApplicationConfiguration.g:3517:2: (otherlv_0= '#' ( (lv_type_1_0= ruleStringReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleStringEnumeration ) ) ) ) + // InternalApplicationConfiguration.g:3518:3: otherlv_0= '#' ( (lv_type_1_0= ruleStringReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleStringEnumeration ) ) ) { - otherlv_0=(Token)match(input,34,FOLLOW_37); + otherlv_0=(Token)match(input,36,FOLLOW_38); newLeafNode(otherlv_0, grammarAccess.getStringTypeScopeAccess().getNumberSignKeyword_0()); - // InternalApplicationConfiguration.g:3405:3: ( (lv_type_1_0= ruleStringReference ) ) - // InternalApplicationConfiguration.g:3406:4: (lv_type_1_0= ruleStringReference ) + // InternalApplicationConfiguration.g:3522:3: ( (lv_type_1_0= ruleStringReference ) ) + // InternalApplicationConfiguration.g:3523:4: (lv_type_1_0= ruleStringReference ) { - // InternalApplicationConfiguration.g:3406:4: (lv_type_1_0= ruleStringReference ) - // InternalApplicationConfiguration.g:3407:5: lv_type_1_0= ruleStringReference + // InternalApplicationConfiguration.g:3523:4: (lv_type_1_0= ruleStringReference ) + // InternalApplicationConfiguration.g:3524:5: lv_type_1_0= ruleStringReference { newCompositeNode(grammarAccess.getStringTypeScopeAccess().getTypeStringReferenceParserRuleCall_1_0()); - pushFollow(FOLLOW_31); + pushFollow(FOLLOW_32); lv_type_1_0=ruleStringReference(); state._fsp--; @@ -9373,33 +9696,33 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - // InternalApplicationConfiguration.g:3424:3: ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) - int alt47=2; - int LA47_0 = input.LA(1); + // InternalApplicationConfiguration.g:3541:3: ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) + int alt49=2; + int LA49_0 = input.LA(1); - if ( (LA47_0==35) ) { - alt47=1; + if ( (LA49_0==37) ) { + alt49=1; } - else if ( (LA47_0==18) ) { - alt47=2; + else if ( (LA49_0==18) ) { + alt49=2; } else { NoViableAltException nvae = - new NoViableAltException("", 47, 0, input); + new NoViableAltException("", 49, 0, input); throw nvae; } - switch (alt47) { + switch (alt49) { case 1 : - // InternalApplicationConfiguration.g:3425:4: ( (lv_setsNew_2_0= '+=' ) ) + // InternalApplicationConfiguration.g:3542:4: ( (lv_setsNew_2_0= '+=' ) ) { - // InternalApplicationConfiguration.g:3425:4: ( (lv_setsNew_2_0= '+=' ) ) - // InternalApplicationConfiguration.g:3426:5: (lv_setsNew_2_0= '+=' ) + // InternalApplicationConfiguration.g:3542:4: ( (lv_setsNew_2_0= '+=' ) ) + // InternalApplicationConfiguration.g:3543:5: (lv_setsNew_2_0= '+=' ) { - // InternalApplicationConfiguration.g:3426:5: (lv_setsNew_2_0= '+=' ) - // InternalApplicationConfiguration.g:3427:6: lv_setsNew_2_0= '+=' + // InternalApplicationConfiguration.g:3543:5: (lv_setsNew_2_0= '+=' ) + // InternalApplicationConfiguration.g:3544:6: lv_setsNew_2_0= '+=' { - lv_setsNew_2_0=(Token)match(input,35,FOLLOW_35); + lv_setsNew_2_0=(Token)match(input,37,FOLLOW_36); newLeafNode(lv_setsNew_2_0, grammarAccess.getStringTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); @@ -9419,15 +9742,15 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } break; case 2 : - // InternalApplicationConfiguration.g:3440:4: ( (lv_setsSum_3_0= '=' ) ) + // InternalApplicationConfiguration.g:3557:4: ( (lv_setsSum_3_0= '=' ) ) { - // InternalApplicationConfiguration.g:3440:4: ( (lv_setsSum_3_0= '=' ) ) - // InternalApplicationConfiguration.g:3441:5: (lv_setsSum_3_0= '=' ) + // InternalApplicationConfiguration.g:3557:4: ( (lv_setsSum_3_0= '=' ) ) + // InternalApplicationConfiguration.g:3558:5: (lv_setsSum_3_0= '=' ) { - // InternalApplicationConfiguration.g:3441:5: (lv_setsSum_3_0= '=' ) - // InternalApplicationConfiguration.g:3442:6: lv_setsSum_3_0= '=' + // InternalApplicationConfiguration.g:3558:5: (lv_setsSum_3_0= '=' ) + // InternalApplicationConfiguration.g:3559:6: lv_setsSum_3_0= '=' { - lv_setsSum_3_0=(Token)match(input,18,FOLLOW_35); + lv_setsSum_3_0=(Token)match(input,18,FOLLOW_36); newLeafNode(lv_setsSum_3_0, grammarAccess.getStringTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); @@ -9449,53 +9772,53 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - // InternalApplicationConfiguration.g:3455:3: ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleStringEnumeration ) ) ) - int alt48=3; + // InternalApplicationConfiguration.g:3572:3: ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleStringEnumeration ) ) ) + int alt50=3; switch ( input.LA(1) ) { case RULE_INT: { - int LA48_1 = input.LA(2); + int LA50_1 = input.LA(2); - if ( (LA48_1==43) ) { - alt48=2; + if ( (LA50_1==45) ) { + alt50=2; } - else if ( (LA48_1==EOF||(LA48_1>=20 && LA48_1<=21)) ) { - alt48=1; + else if ( (LA50_1==EOF||(LA50_1>=20 && LA50_1<=21)) ) { + alt50=1; } else { NoViableAltException nvae = - new NoViableAltException("", 48, 1, input); + new NoViableAltException("", 50, 1, input); throw nvae; } } break; - case 42: + case 44: { - alt48=1; + alt50=1; } break; case 19: { - alt48=3; + alt50=3; } break; default: NoViableAltException nvae = - new NoViableAltException("", 48, 0, input); + new NoViableAltException("", 50, 0, input); throw nvae; } - switch (alt48) { + switch (alt50) { case 1 : - // InternalApplicationConfiguration.g:3456:4: ( (lv_number_4_0= ruleExactNumber ) ) + // InternalApplicationConfiguration.g:3573:4: ( (lv_number_4_0= ruleExactNumber ) ) { - // InternalApplicationConfiguration.g:3456:4: ( (lv_number_4_0= ruleExactNumber ) ) - // InternalApplicationConfiguration.g:3457:5: (lv_number_4_0= ruleExactNumber ) + // InternalApplicationConfiguration.g:3573:4: ( (lv_number_4_0= ruleExactNumber ) ) + // InternalApplicationConfiguration.g:3574:5: (lv_number_4_0= ruleExactNumber ) { - // InternalApplicationConfiguration.g:3457:5: (lv_number_4_0= ruleExactNumber ) - // InternalApplicationConfiguration.g:3458:6: lv_number_4_0= ruleExactNumber + // InternalApplicationConfiguration.g:3574:5: (lv_number_4_0= ruleExactNumber ) + // InternalApplicationConfiguration.g:3575:6: lv_number_4_0= ruleExactNumber { newCompositeNode(grammarAccess.getStringTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0()); @@ -9526,13 +9849,13 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } break; case 2 : - // InternalApplicationConfiguration.g:3476:4: ( (lv_number_5_0= ruleIntervallNumber ) ) + // InternalApplicationConfiguration.g:3593:4: ( (lv_number_5_0= ruleIntervallNumber ) ) { - // InternalApplicationConfiguration.g:3476:4: ( (lv_number_5_0= ruleIntervallNumber ) ) - // InternalApplicationConfiguration.g:3477:5: (lv_number_5_0= ruleIntervallNumber ) + // InternalApplicationConfiguration.g:3593:4: ( (lv_number_5_0= ruleIntervallNumber ) ) + // InternalApplicationConfiguration.g:3594:5: (lv_number_5_0= ruleIntervallNumber ) { - // InternalApplicationConfiguration.g:3477:5: (lv_number_5_0= ruleIntervallNumber ) - // InternalApplicationConfiguration.g:3478:6: lv_number_5_0= ruleIntervallNumber + // InternalApplicationConfiguration.g:3594:5: (lv_number_5_0= ruleIntervallNumber ) + // InternalApplicationConfiguration.g:3595:6: lv_number_5_0= ruleIntervallNumber { newCompositeNode(grammarAccess.getStringTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0()); @@ -9563,13 +9886,13 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } break; case 3 : - // InternalApplicationConfiguration.g:3496:4: ( (lv_number_6_0= ruleStringEnumeration ) ) + // InternalApplicationConfiguration.g:3613:4: ( (lv_number_6_0= ruleStringEnumeration ) ) { - // InternalApplicationConfiguration.g:3496:4: ( (lv_number_6_0= ruleStringEnumeration ) ) - // InternalApplicationConfiguration.g:3497:5: (lv_number_6_0= ruleStringEnumeration ) + // InternalApplicationConfiguration.g:3613:4: ( (lv_number_6_0= ruleStringEnumeration ) ) + // InternalApplicationConfiguration.g:3614:5: (lv_number_6_0= ruleStringEnumeration ) { - // InternalApplicationConfiguration.g:3497:5: (lv_number_6_0= ruleStringEnumeration ) - // InternalApplicationConfiguration.g:3498:6: lv_number_6_0= ruleStringEnumeration + // InternalApplicationConfiguration.g:3614:5: (lv_number_6_0= ruleStringEnumeration ) + // InternalApplicationConfiguration.g:3615:6: lv_number_6_0= ruleStringEnumeration { newCompositeNode(grammarAccess.getStringTypeScopeAccess().getNumberStringEnumerationParserRuleCall_3_2_0()); @@ -9625,7 +9948,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleClassReference" - // InternalApplicationConfiguration.g:3520:1: entryRuleClassReference returns [EObject current=null] : iv_ruleClassReference= ruleClassReference EOF ; + // InternalApplicationConfiguration.g:3637:1: entryRuleClassReference returns [EObject current=null] : iv_ruleClassReference= ruleClassReference EOF ; public final EObject entryRuleClassReference() throws RecognitionException { EObject current = null; @@ -9633,8 +9956,8 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:3520:55: (iv_ruleClassReference= ruleClassReference EOF ) - // InternalApplicationConfiguration.g:3521:2: iv_ruleClassReference= ruleClassReference EOF + // InternalApplicationConfiguration.g:3637:55: (iv_ruleClassReference= ruleClassReference EOF ) + // InternalApplicationConfiguration.g:3638:2: iv_ruleClassReference= ruleClassReference EOF { newCompositeNode(grammarAccess.getClassReferenceRule()); pushFollow(FOLLOW_1); @@ -9661,7 +9984,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleClassReference" - // InternalApplicationConfiguration.g:3527:1: ruleClassReference returns [EObject current=null] : (otherlv_0= '<' ( (lv_element_1_0= ruleMetamodelElement ) ) otherlv_2= '>' ) ; + // InternalApplicationConfiguration.g:3644:1: ruleClassReference returns [EObject current=null] : (otherlv_0= '<' ( (lv_element_1_0= ruleMetamodelElement ) ) otherlv_2= '>' ) ; public final EObject ruleClassReference() throws RecognitionException { EObject current = null; @@ -9674,26 +9997,26 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:3533:2: ( (otherlv_0= '<' ( (lv_element_1_0= ruleMetamodelElement ) ) otherlv_2= '>' ) ) - // InternalApplicationConfiguration.g:3534:2: (otherlv_0= '<' ( (lv_element_1_0= ruleMetamodelElement ) ) otherlv_2= '>' ) + // InternalApplicationConfiguration.g:3650:2: ( (otherlv_0= '<' ( (lv_element_1_0= ruleMetamodelElement ) ) otherlv_2= '>' ) ) + // InternalApplicationConfiguration.g:3651:2: (otherlv_0= '<' ( (lv_element_1_0= ruleMetamodelElement ) ) otherlv_2= '>' ) { - // InternalApplicationConfiguration.g:3534:2: (otherlv_0= '<' ( (lv_element_1_0= ruleMetamodelElement ) ) otherlv_2= '>' ) - // InternalApplicationConfiguration.g:3535:3: otherlv_0= '<' ( (lv_element_1_0= ruleMetamodelElement ) ) otherlv_2= '>' + // InternalApplicationConfiguration.g:3651:2: (otherlv_0= '<' ( (lv_element_1_0= ruleMetamodelElement ) ) otherlv_2= '>' ) + // InternalApplicationConfiguration.g:3652:3: otherlv_0= '<' ( (lv_element_1_0= ruleMetamodelElement ) ) otherlv_2= '>' { - otherlv_0=(Token)match(input,36,FOLLOW_6); + otherlv_0=(Token)match(input,38,FOLLOW_6); newLeafNode(otherlv_0, grammarAccess.getClassReferenceAccess().getLessThanSignKeyword_0()); - // InternalApplicationConfiguration.g:3539:3: ( (lv_element_1_0= ruleMetamodelElement ) ) - // InternalApplicationConfiguration.g:3540:4: (lv_element_1_0= ruleMetamodelElement ) + // InternalApplicationConfiguration.g:3656:3: ( (lv_element_1_0= ruleMetamodelElement ) ) + // InternalApplicationConfiguration.g:3657:4: (lv_element_1_0= ruleMetamodelElement ) { - // InternalApplicationConfiguration.g:3540:4: (lv_element_1_0= ruleMetamodelElement ) - // InternalApplicationConfiguration.g:3541:5: lv_element_1_0= ruleMetamodelElement + // InternalApplicationConfiguration.g:3657:4: (lv_element_1_0= ruleMetamodelElement ) + // InternalApplicationConfiguration.g:3658:5: lv_element_1_0= ruleMetamodelElement { newCompositeNode(grammarAccess.getClassReferenceAccess().getElementMetamodelElementParserRuleCall_1_0()); - pushFollow(FOLLOW_38); + pushFollow(FOLLOW_39); lv_element_1_0=ruleMetamodelElement(); state._fsp--; @@ -9715,7 +10038,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - otherlv_2=(Token)match(input,37,FOLLOW_2); + otherlv_2=(Token)match(input,39,FOLLOW_2); newLeafNode(otherlv_2, grammarAccess.getClassReferenceAccess().getGreaterThanSignKeyword_2()); @@ -9742,7 +10065,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleObjectReference" - // InternalApplicationConfiguration.g:3566:1: entryRuleObjectReference returns [EObject current=null] : iv_ruleObjectReference= ruleObjectReference EOF ; + // InternalApplicationConfiguration.g:3683:1: entryRuleObjectReference returns [EObject current=null] : iv_ruleObjectReference= ruleObjectReference EOF ; public final EObject entryRuleObjectReference() throws RecognitionException { EObject current = null; @@ -9750,8 +10073,8 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:3566:56: (iv_ruleObjectReference= ruleObjectReference EOF ) - // InternalApplicationConfiguration.g:3567:2: iv_ruleObjectReference= ruleObjectReference EOF + // InternalApplicationConfiguration.g:3683:56: (iv_ruleObjectReference= ruleObjectReference EOF ) + // InternalApplicationConfiguration.g:3684:2: iv_ruleObjectReference= ruleObjectReference EOF { newCompositeNode(grammarAccess.getObjectReferenceRule()); pushFollow(FOLLOW_1); @@ -9778,7 +10101,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleObjectReference" - // InternalApplicationConfiguration.g:3573:1: ruleObjectReference returns [EObject current=null] : ( () otherlv_1= 'node' ) ; + // InternalApplicationConfiguration.g:3690:1: ruleObjectReference returns [EObject current=null] : ( () otherlv_1= 'node' ) ; public final EObject ruleObjectReference() throws RecognitionException { EObject current = null; @@ -9788,14 +10111,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:3579:2: ( ( () otherlv_1= 'node' ) ) - // InternalApplicationConfiguration.g:3580:2: ( () otherlv_1= 'node' ) + // InternalApplicationConfiguration.g:3696:2: ( ( () otherlv_1= 'node' ) ) + // InternalApplicationConfiguration.g:3697:2: ( () otherlv_1= 'node' ) { - // InternalApplicationConfiguration.g:3580:2: ( () otherlv_1= 'node' ) - // InternalApplicationConfiguration.g:3581:3: () otherlv_1= 'node' + // InternalApplicationConfiguration.g:3697:2: ( () otherlv_1= 'node' ) + // InternalApplicationConfiguration.g:3698:3: () otherlv_1= 'node' { - // InternalApplicationConfiguration.g:3581:3: () - // InternalApplicationConfiguration.g:3582:4: + // InternalApplicationConfiguration.g:3698:3: () + // InternalApplicationConfiguration.g:3699:4: { current = forceCreateModelElement( @@ -9805,7 +10128,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - otherlv_1=(Token)match(input,38,FOLLOW_2); + otherlv_1=(Token)match(input,40,FOLLOW_2); newLeafNode(otherlv_1, grammarAccess.getObjectReferenceAccess().getNodeKeyword_1()); @@ -9832,7 +10155,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleIntegerReference" - // InternalApplicationConfiguration.g:3596:1: entryRuleIntegerReference returns [EObject current=null] : iv_ruleIntegerReference= ruleIntegerReference EOF ; + // InternalApplicationConfiguration.g:3713:1: entryRuleIntegerReference returns [EObject current=null] : iv_ruleIntegerReference= ruleIntegerReference EOF ; public final EObject entryRuleIntegerReference() throws RecognitionException { EObject current = null; @@ -9840,8 +10163,8 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:3596:57: (iv_ruleIntegerReference= ruleIntegerReference EOF ) - // InternalApplicationConfiguration.g:3597:2: iv_ruleIntegerReference= ruleIntegerReference EOF + // InternalApplicationConfiguration.g:3713:57: (iv_ruleIntegerReference= ruleIntegerReference EOF ) + // InternalApplicationConfiguration.g:3714:2: iv_ruleIntegerReference= ruleIntegerReference EOF { newCompositeNode(grammarAccess.getIntegerReferenceRule()); pushFollow(FOLLOW_1); @@ -9868,7 +10191,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleIntegerReference" - // InternalApplicationConfiguration.g:3603:1: ruleIntegerReference returns [EObject current=null] : ( () otherlv_1= 'int' ) ; + // InternalApplicationConfiguration.g:3720:1: ruleIntegerReference returns [EObject current=null] : ( () otherlv_1= 'int' ) ; public final EObject ruleIntegerReference() throws RecognitionException { EObject current = null; @@ -9878,14 +10201,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:3609:2: ( ( () otherlv_1= 'int' ) ) - // InternalApplicationConfiguration.g:3610:2: ( () otherlv_1= 'int' ) + // InternalApplicationConfiguration.g:3726:2: ( ( () otherlv_1= 'int' ) ) + // InternalApplicationConfiguration.g:3727:2: ( () otherlv_1= 'int' ) { - // InternalApplicationConfiguration.g:3610:2: ( () otherlv_1= 'int' ) - // InternalApplicationConfiguration.g:3611:3: () otherlv_1= 'int' + // InternalApplicationConfiguration.g:3727:2: ( () otherlv_1= 'int' ) + // InternalApplicationConfiguration.g:3728:3: () otherlv_1= 'int' { - // InternalApplicationConfiguration.g:3611:3: () - // InternalApplicationConfiguration.g:3612:4: + // InternalApplicationConfiguration.g:3728:3: () + // InternalApplicationConfiguration.g:3729:4: { current = forceCreateModelElement( @@ -9895,7 +10218,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - otherlv_1=(Token)match(input,39,FOLLOW_2); + otherlv_1=(Token)match(input,41,FOLLOW_2); newLeafNode(otherlv_1, grammarAccess.getIntegerReferenceAccess().getIntKeyword_1()); @@ -9922,7 +10245,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleRealReference" - // InternalApplicationConfiguration.g:3626:1: entryRuleRealReference returns [EObject current=null] : iv_ruleRealReference= ruleRealReference EOF ; + // InternalApplicationConfiguration.g:3743:1: entryRuleRealReference returns [EObject current=null] : iv_ruleRealReference= ruleRealReference EOF ; public final EObject entryRuleRealReference() throws RecognitionException { EObject current = null; @@ -9930,8 +10253,8 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:3626:54: (iv_ruleRealReference= ruleRealReference EOF ) - // InternalApplicationConfiguration.g:3627:2: iv_ruleRealReference= ruleRealReference EOF + // InternalApplicationConfiguration.g:3743:54: (iv_ruleRealReference= ruleRealReference EOF ) + // InternalApplicationConfiguration.g:3744:2: iv_ruleRealReference= ruleRealReference EOF { newCompositeNode(grammarAccess.getRealReferenceRule()); pushFollow(FOLLOW_1); @@ -9958,7 +10281,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleRealReference" - // InternalApplicationConfiguration.g:3633:1: ruleRealReference returns [EObject current=null] : ( () otherlv_1= 'real' ) ; + // InternalApplicationConfiguration.g:3750:1: ruleRealReference returns [EObject current=null] : ( () otherlv_1= 'real' ) ; public final EObject ruleRealReference() throws RecognitionException { EObject current = null; @@ -9968,14 +10291,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:3639:2: ( ( () otherlv_1= 'real' ) ) - // InternalApplicationConfiguration.g:3640:2: ( () otherlv_1= 'real' ) + // InternalApplicationConfiguration.g:3756:2: ( ( () otherlv_1= 'real' ) ) + // InternalApplicationConfiguration.g:3757:2: ( () otherlv_1= 'real' ) { - // InternalApplicationConfiguration.g:3640:2: ( () otherlv_1= 'real' ) - // InternalApplicationConfiguration.g:3641:3: () otherlv_1= 'real' + // InternalApplicationConfiguration.g:3757:2: ( () otherlv_1= 'real' ) + // InternalApplicationConfiguration.g:3758:3: () otherlv_1= 'real' { - // InternalApplicationConfiguration.g:3641:3: () - // InternalApplicationConfiguration.g:3642:4: + // InternalApplicationConfiguration.g:3758:3: () + // InternalApplicationConfiguration.g:3759:4: { current = forceCreateModelElement( @@ -9985,7 +10308,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - otherlv_1=(Token)match(input,40,FOLLOW_2); + otherlv_1=(Token)match(input,42,FOLLOW_2); newLeafNode(otherlv_1, grammarAccess.getRealReferenceAccess().getRealKeyword_1()); @@ -10012,7 +10335,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleStringReference" - // InternalApplicationConfiguration.g:3656:1: entryRuleStringReference returns [EObject current=null] : iv_ruleStringReference= ruleStringReference EOF ; + // InternalApplicationConfiguration.g:3773:1: entryRuleStringReference returns [EObject current=null] : iv_ruleStringReference= ruleStringReference EOF ; public final EObject entryRuleStringReference() throws RecognitionException { EObject current = null; @@ -10020,8 +10343,8 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:3656:56: (iv_ruleStringReference= ruleStringReference EOF ) - // InternalApplicationConfiguration.g:3657:2: iv_ruleStringReference= ruleStringReference EOF + // InternalApplicationConfiguration.g:3773:56: (iv_ruleStringReference= ruleStringReference EOF ) + // InternalApplicationConfiguration.g:3774:2: iv_ruleStringReference= ruleStringReference EOF { newCompositeNode(grammarAccess.getStringReferenceRule()); pushFollow(FOLLOW_1); @@ -10048,7 +10371,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleStringReference" - // InternalApplicationConfiguration.g:3663:1: ruleStringReference returns [EObject current=null] : ( () otherlv_1= 'string' ) ; + // InternalApplicationConfiguration.g:3780:1: ruleStringReference returns [EObject current=null] : ( () otherlv_1= 'string' ) ; public final EObject ruleStringReference() throws RecognitionException { EObject current = null; @@ -10058,14 +10381,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:3669:2: ( ( () otherlv_1= 'string' ) ) - // InternalApplicationConfiguration.g:3670:2: ( () otherlv_1= 'string' ) + // InternalApplicationConfiguration.g:3786:2: ( ( () otherlv_1= 'string' ) ) + // InternalApplicationConfiguration.g:3787:2: ( () otherlv_1= 'string' ) { - // InternalApplicationConfiguration.g:3670:2: ( () otherlv_1= 'string' ) - // InternalApplicationConfiguration.g:3671:3: () otherlv_1= 'string' + // InternalApplicationConfiguration.g:3787:2: ( () otherlv_1= 'string' ) + // InternalApplicationConfiguration.g:3788:3: () otherlv_1= 'string' { - // InternalApplicationConfiguration.g:3671:3: () - // InternalApplicationConfiguration.g:3672:4: + // InternalApplicationConfiguration.g:3788:3: () + // InternalApplicationConfiguration.g:3789:4: { current = forceCreateModelElement( @@ -10075,7 +10398,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - otherlv_1=(Token)match(input,41,FOLLOW_2); + otherlv_1=(Token)match(input,43,FOLLOW_2); newLeafNode(otherlv_1, grammarAccess.getStringReferenceAccess().getStringKeyword_1()); @@ -10102,7 +10425,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleExactNumber" - // InternalApplicationConfiguration.g:3686:1: entryRuleExactNumber returns [EObject current=null] : iv_ruleExactNumber= ruleExactNumber EOF ; + // InternalApplicationConfiguration.g:3803:1: entryRuleExactNumber returns [EObject current=null] : iv_ruleExactNumber= ruleExactNumber EOF ; public final EObject entryRuleExactNumber() throws RecognitionException { EObject current = null; @@ -10110,8 +10433,8 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:3686:52: (iv_ruleExactNumber= ruleExactNumber EOF ) - // InternalApplicationConfiguration.g:3687:2: iv_ruleExactNumber= ruleExactNumber EOF + // InternalApplicationConfiguration.g:3803:52: (iv_ruleExactNumber= ruleExactNumber EOF ) + // InternalApplicationConfiguration.g:3804:2: iv_ruleExactNumber= ruleExactNumber EOF { newCompositeNode(grammarAccess.getExactNumberRule()); pushFollow(FOLLOW_1); @@ -10138,7 +10461,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleExactNumber" - // InternalApplicationConfiguration.g:3693:1: ruleExactNumber returns [EObject current=null] : ( ( (lv_exactNumber_0_0= RULE_INT ) ) | ( (lv_exactUnlimited_1_0= '*' ) ) ) ; + // InternalApplicationConfiguration.g:3810:1: ruleExactNumber returns [EObject current=null] : ( ( (lv_exactNumber_0_0= RULE_INT ) ) | ( (lv_exactUnlimited_1_0= '*' ) ) ) ; public final EObject ruleExactNumber() throws RecognitionException { EObject current = null; @@ -10149,34 +10472,34 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:3699:2: ( ( ( (lv_exactNumber_0_0= RULE_INT ) ) | ( (lv_exactUnlimited_1_0= '*' ) ) ) ) - // InternalApplicationConfiguration.g:3700:2: ( ( (lv_exactNumber_0_0= RULE_INT ) ) | ( (lv_exactUnlimited_1_0= '*' ) ) ) + // InternalApplicationConfiguration.g:3816:2: ( ( ( (lv_exactNumber_0_0= RULE_INT ) ) | ( (lv_exactUnlimited_1_0= '*' ) ) ) ) + // InternalApplicationConfiguration.g:3817:2: ( ( (lv_exactNumber_0_0= RULE_INT ) ) | ( (lv_exactUnlimited_1_0= '*' ) ) ) { - // InternalApplicationConfiguration.g:3700:2: ( ( (lv_exactNumber_0_0= RULE_INT ) ) | ( (lv_exactUnlimited_1_0= '*' ) ) ) - int alt49=2; - int LA49_0 = input.LA(1); + // InternalApplicationConfiguration.g:3817:2: ( ( (lv_exactNumber_0_0= RULE_INT ) ) | ( (lv_exactUnlimited_1_0= '*' ) ) ) + int alt51=2; + int LA51_0 = input.LA(1); - if ( (LA49_0==RULE_INT) ) { - alt49=1; + if ( (LA51_0==RULE_INT) ) { + alt51=1; } - else if ( (LA49_0==42) ) { - alt49=2; + else if ( (LA51_0==44) ) { + alt51=2; } else { NoViableAltException nvae = - new NoViableAltException("", 49, 0, input); + new NoViableAltException("", 51, 0, input); throw nvae; } - switch (alt49) { + switch (alt51) { case 1 : - // InternalApplicationConfiguration.g:3701:3: ( (lv_exactNumber_0_0= RULE_INT ) ) + // InternalApplicationConfiguration.g:3818:3: ( (lv_exactNumber_0_0= RULE_INT ) ) { - // InternalApplicationConfiguration.g:3701:3: ( (lv_exactNumber_0_0= RULE_INT ) ) - // InternalApplicationConfiguration.g:3702:4: (lv_exactNumber_0_0= RULE_INT ) + // InternalApplicationConfiguration.g:3818:3: ( (lv_exactNumber_0_0= RULE_INT ) ) + // InternalApplicationConfiguration.g:3819:4: (lv_exactNumber_0_0= RULE_INT ) { - // InternalApplicationConfiguration.g:3702:4: (lv_exactNumber_0_0= RULE_INT ) - // InternalApplicationConfiguration.g:3703:5: lv_exactNumber_0_0= RULE_INT + // InternalApplicationConfiguration.g:3819:4: (lv_exactNumber_0_0= RULE_INT ) + // InternalApplicationConfiguration.g:3820:5: lv_exactNumber_0_0= RULE_INT { lv_exactNumber_0_0=(Token)match(input,RULE_INT,FOLLOW_2); @@ -10202,15 +10525,15 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } break; case 2 : - // InternalApplicationConfiguration.g:3720:3: ( (lv_exactUnlimited_1_0= '*' ) ) + // InternalApplicationConfiguration.g:3837:3: ( (lv_exactUnlimited_1_0= '*' ) ) { - // InternalApplicationConfiguration.g:3720:3: ( (lv_exactUnlimited_1_0= '*' ) ) - // InternalApplicationConfiguration.g:3721:4: (lv_exactUnlimited_1_0= '*' ) + // InternalApplicationConfiguration.g:3837:3: ( (lv_exactUnlimited_1_0= '*' ) ) + // InternalApplicationConfiguration.g:3838:4: (lv_exactUnlimited_1_0= '*' ) { - // InternalApplicationConfiguration.g:3721:4: (lv_exactUnlimited_1_0= '*' ) - // InternalApplicationConfiguration.g:3722:5: lv_exactUnlimited_1_0= '*' + // InternalApplicationConfiguration.g:3838:4: (lv_exactUnlimited_1_0= '*' ) + // InternalApplicationConfiguration.g:3839:5: lv_exactUnlimited_1_0= '*' { - lv_exactUnlimited_1_0=(Token)match(input,42,FOLLOW_2); + lv_exactUnlimited_1_0=(Token)match(input,44,FOLLOW_2); newLeafNode(lv_exactUnlimited_1_0, grammarAccess.getExactNumberAccess().getExactUnlimitedAsteriskKeyword_1_0()); @@ -10252,7 +10575,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleIntervallNumber" - // InternalApplicationConfiguration.g:3738:1: entryRuleIntervallNumber returns [EObject current=null] : iv_ruleIntervallNumber= ruleIntervallNumber EOF ; + // InternalApplicationConfiguration.g:3855:1: entryRuleIntervallNumber returns [EObject current=null] : iv_ruleIntervallNumber= ruleIntervallNumber EOF ; public final EObject entryRuleIntervallNumber() throws RecognitionException { EObject current = null; @@ -10260,8 +10583,8 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:3738:56: (iv_ruleIntervallNumber= ruleIntervallNumber EOF ) - // InternalApplicationConfiguration.g:3739:2: iv_ruleIntervallNumber= ruleIntervallNumber EOF + // InternalApplicationConfiguration.g:3855:56: (iv_ruleIntervallNumber= ruleIntervallNumber EOF ) + // InternalApplicationConfiguration.g:3856:2: iv_ruleIntervallNumber= ruleIntervallNumber EOF { newCompositeNode(grammarAccess.getIntervallNumberRule()); pushFollow(FOLLOW_1); @@ -10288,7 +10611,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleIntervallNumber" - // InternalApplicationConfiguration.g:3745:1: ruleIntervallNumber returns [EObject current=null] : ( ( (lv_min_0_0= RULE_INT ) ) otherlv_1= '..' ( ( (lv_maxNumber_2_0= RULE_INT ) ) | ( (lv_maxUnlimited_3_0= '*' ) ) ) ) ; + // InternalApplicationConfiguration.g:3862:1: ruleIntervallNumber returns [EObject current=null] : ( ( (lv_min_0_0= RULE_INT ) ) otherlv_1= '..' ( ( (lv_maxNumber_2_0= RULE_INT ) ) | ( (lv_maxUnlimited_3_0= '*' ) ) ) ) ; public final EObject ruleIntervallNumber() throws RecognitionException { EObject current = null; @@ -10301,19 +10624,19 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:3751:2: ( ( ( (lv_min_0_0= RULE_INT ) ) otherlv_1= '..' ( ( (lv_maxNumber_2_0= RULE_INT ) ) | ( (lv_maxUnlimited_3_0= '*' ) ) ) ) ) - // InternalApplicationConfiguration.g:3752:2: ( ( (lv_min_0_0= RULE_INT ) ) otherlv_1= '..' ( ( (lv_maxNumber_2_0= RULE_INT ) ) | ( (lv_maxUnlimited_3_0= '*' ) ) ) ) + // InternalApplicationConfiguration.g:3868:2: ( ( ( (lv_min_0_0= RULE_INT ) ) otherlv_1= '..' ( ( (lv_maxNumber_2_0= RULE_INT ) ) | ( (lv_maxUnlimited_3_0= '*' ) ) ) ) ) + // InternalApplicationConfiguration.g:3869:2: ( ( (lv_min_0_0= RULE_INT ) ) otherlv_1= '..' ( ( (lv_maxNumber_2_0= RULE_INT ) ) | ( (lv_maxUnlimited_3_0= '*' ) ) ) ) { - // InternalApplicationConfiguration.g:3752:2: ( ( (lv_min_0_0= RULE_INT ) ) otherlv_1= '..' ( ( (lv_maxNumber_2_0= RULE_INT ) ) | ( (lv_maxUnlimited_3_0= '*' ) ) ) ) - // InternalApplicationConfiguration.g:3753:3: ( (lv_min_0_0= RULE_INT ) ) otherlv_1= '..' ( ( (lv_maxNumber_2_0= RULE_INT ) ) | ( (lv_maxUnlimited_3_0= '*' ) ) ) + // InternalApplicationConfiguration.g:3869:2: ( ( (lv_min_0_0= RULE_INT ) ) otherlv_1= '..' ( ( (lv_maxNumber_2_0= RULE_INT ) ) | ( (lv_maxUnlimited_3_0= '*' ) ) ) ) + // InternalApplicationConfiguration.g:3870:3: ( (lv_min_0_0= RULE_INT ) ) otherlv_1= '..' ( ( (lv_maxNumber_2_0= RULE_INT ) ) | ( (lv_maxUnlimited_3_0= '*' ) ) ) { - // InternalApplicationConfiguration.g:3753:3: ( (lv_min_0_0= RULE_INT ) ) - // InternalApplicationConfiguration.g:3754:4: (lv_min_0_0= RULE_INT ) + // InternalApplicationConfiguration.g:3870:3: ( (lv_min_0_0= RULE_INT ) ) + // InternalApplicationConfiguration.g:3871:4: (lv_min_0_0= RULE_INT ) { - // InternalApplicationConfiguration.g:3754:4: (lv_min_0_0= RULE_INT ) - // InternalApplicationConfiguration.g:3755:5: lv_min_0_0= RULE_INT + // InternalApplicationConfiguration.g:3871:4: (lv_min_0_0= RULE_INT ) + // InternalApplicationConfiguration.g:3872:5: lv_min_0_0= RULE_INT { - lv_min_0_0=(Token)match(input,RULE_INT,FOLLOW_39); + lv_min_0_0=(Token)match(input,RULE_INT,FOLLOW_40); newLeafNode(lv_min_0_0, grammarAccess.getIntervallNumberAccess().getMinINTTerminalRuleCall_0_0()); @@ -10333,35 +10656,35 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - otherlv_1=(Token)match(input,43,FOLLOW_32); + otherlv_1=(Token)match(input,45,FOLLOW_33); newLeafNode(otherlv_1, grammarAccess.getIntervallNumberAccess().getFullStopFullStopKeyword_1()); - // InternalApplicationConfiguration.g:3775:3: ( ( (lv_maxNumber_2_0= RULE_INT ) ) | ( (lv_maxUnlimited_3_0= '*' ) ) ) - int alt50=2; - int LA50_0 = input.LA(1); + // InternalApplicationConfiguration.g:3892:3: ( ( (lv_maxNumber_2_0= RULE_INT ) ) | ( (lv_maxUnlimited_3_0= '*' ) ) ) + int alt52=2; + int LA52_0 = input.LA(1); - if ( (LA50_0==RULE_INT) ) { - alt50=1; + if ( (LA52_0==RULE_INT) ) { + alt52=1; } - else if ( (LA50_0==42) ) { - alt50=2; + else if ( (LA52_0==44) ) { + alt52=2; } else { NoViableAltException nvae = - new NoViableAltException("", 50, 0, input); + new NoViableAltException("", 52, 0, input); throw nvae; } - switch (alt50) { + switch (alt52) { case 1 : - // InternalApplicationConfiguration.g:3776:4: ( (lv_maxNumber_2_0= RULE_INT ) ) + // InternalApplicationConfiguration.g:3893:4: ( (lv_maxNumber_2_0= RULE_INT ) ) { - // InternalApplicationConfiguration.g:3776:4: ( (lv_maxNumber_2_0= RULE_INT ) ) - // InternalApplicationConfiguration.g:3777:5: (lv_maxNumber_2_0= RULE_INT ) + // InternalApplicationConfiguration.g:3893:4: ( (lv_maxNumber_2_0= RULE_INT ) ) + // InternalApplicationConfiguration.g:3894:5: (lv_maxNumber_2_0= RULE_INT ) { - // InternalApplicationConfiguration.g:3777:5: (lv_maxNumber_2_0= RULE_INT ) - // InternalApplicationConfiguration.g:3778:6: lv_maxNumber_2_0= RULE_INT + // InternalApplicationConfiguration.g:3894:5: (lv_maxNumber_2_0= RULE_INT ) + // InternalApplicationConfiguration.g:3895:6: lv_maxNumber_2_0= RULE_INT { lv_maxNumber_2_0=(Token)match(input,RULE_INT,FOLLOW_2); @@ -10387,15 +10710,15 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } break; case 2 : - // InternalApplicationConfiguration.g:3795:4: ( (lv_maxUnlimited_3_0= '*' ) ) + // InternalApplicationConfiguration.g:3912:4: ( (lv_maxUnlimited_3_0= '*' ) ) { - // InternalApplicationConfiguration.g:3795:4: ( (lv_maxUnlimited_3_0= '*' ) ) - // InternalApplicationConfiguration.g:3796:5: (lv_maxUnlimited_3_0= '*' ) + // InternalApplicationConfiguration.g:3912:4: ( (lv_maxUnlimited_3_0= '*' ) ) + // InternalApplicationConfiguration.g:3913:5: (lv_maxUnlimited_3_0= '*' ) { - // InternalApplicationConfiguration.g:3796:5: (lv_maxUnlimited_3_0= '*' ) - // InternalApplicationConfiguration.g:3797:6: lv_maxUnlimited_3_0= '*' + // InternalApplicationConfiguration.g:3913:5: (lv_maxUnlimited_3_0= '*' ) + // InternalApplicationConfiguration.g:3914:6: lv_maxUnlimited_3_0= '*' { - lv_maxUnlimited_3_0=(Token)match(input,42,FOLLOW_2); + lv_maxUnlimited_3_0=(Token)match(input,44,FOLLOW_2); newLeafNode(lv_maxUnlimited_3_0, grammarAccess.getIntervallNumberAccess().getMaxUnlimitedAsteriskKeyword_2_1_0()); @@ -10440,7 +10763,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleIntEnumberation" - // InternalApplicationConfiguration.g:3814:1: entryRuleIntEnumberation returns [EObject current=null] : iv_ruleIntEnumberation= ruleIntEnumberation EOF ; + // InternalApplicationConfiguration.g:3931:1: entryRuleIntEnumberation returns [EObject current=null] : iv_ruleIntEnumberation= ruleIntEnumberation EOF ; public final EObject entryRuleIntEnumberation() throws RecognitionException { EObject current = null; @@ -10448,8 +10771,8 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:3814:56: (iv_ruleIntEnumberation= ruleIntEnumberation EOF ) - // InternalApplicationConfiguration.g:3815:2: iv_ruleIntEnumberation= ruleIntEnumberation EOF + // InternalApplicationConfiguration.g:3931:56: (iv_ruleIntEnumberation= ruleIntEnumberation EOF ) + // InternalApplicationConfiguration.g:3932:2: iv_ruleIntEnumberation= ruleIntEnumberation EOF { newCompositeNode(grammarAccess.getIntEnumberationRule()); pushFollow(FOLLOW_1); @@ -10476,7 +10799,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleIntEnumberation" - // InternalApplicationConfiguration.g:3821:1: ruleIntEnumberation returns [EObject current=null] : ( () otherlv_1= '{' ( ( (lv_entry_2_0= ruleINTLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) )* )? otherlv_5= '}' ) ; + // InternalApplicationConfiguration.g:3938:1: ruleIntEnumberation returns [EObject current=null] : ( () otherlv_1= '{' ( ( (lv_entry_2_0= ruleINTLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) )* )? otherlv_5= '}' ) ; public final EObject ruleIntEnumberation() throws RecognitionException { EObject current = null; @@ -10492,14 +10815,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:3827:2: ( ( () otherlv_1= '{' ( ( (lv_entry_2_0= ruleINTLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) )* )? otherlv_5= '}' ) ) - // InternalApplicationConfiguration.g:3828:2: ( () otherlv_1= '{' ( ( (lv_entry_2_0= ruleINTLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) )* )? otherlv_5= '}' ) + // InternalApplicationConfiguration.g:3944:2: ( ( () otherlv_1= '{' ( ( (lv_entry_2_0= ruleINTLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) )* )? otherlv_5= '}' ) ) + // InternalApplicationConfiguration.g:3945:2: ( () otherlv_1= '{' ( ( (lv_entry_2_0= ruleINTLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) )* )? otherlv_5= '}' ) { - // InternalApplicationConfiguration.g:3828:2: ( () otherlv_1= '{' ( ( (lv_entry_2_0= ruleINTLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) )* )? otherlv_5= '}' ) - // InternalApplicationConfiguration.g:3829:3: () otherlv_1= '{' ( ( (lv_entry_2_0= ruleINTLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) )* )? otherlv_5= '}' + // InternalApplicationConfiguration.g:3945:2: ( () otherlv_1= '{' ( ( (lv_entry_2_0= ruleINTLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) )* )? otherlv_5= '}' ) + // InternalApplicationConfiguration.g:3946:3: () otherlv_1= '{' ( ( (lv_entry_2_0= ruleINTLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) )* )? otherlv_5= '}' { - // InternalApplicationConfiguration.g:3829:3: () - // InternalApplicationConfiguration.g:3830:4: + // InternalApplicationConfiguration.g:3946:3: () + // InternalApplicationConfiguration.g:3947:4: { current = forceCreateModelElement( @@ -10509,26 +10832,26 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - otherlv_1=(Token)match(input,19,FOLLOW_40); + otherlv_1=(Token)match(input,19,FOLLOW_41); newLeafNode(otherlv_1, grammarAccess.getIntEnumberationAccess().getLeftCurlyBracketKeyword_1()); - // InternalApplicationConfiguration.g:3840:3: ( ( (lv_entry_2_0= ruleINTLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) )* )? - int alt52=2; - int LA52_0 = input.LA(1); + // InternalApplicationConfiguration.g:3957:3: ( ( (lv_entry_2_0= ruleINTLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) )* )? + int alt54=2; + int LA54_0 = input.LA(1); - if ( (LA52_0==RULE_INT||LA52_0==12) ) { - alt52=1; + if ( (LA54_0==RULE_INT||LA54_0==12) ) { + alt54=1; } - switch (alt52) { + switch (alt54) { case 1 : - // InternalApplicationConfiguration.g:3841:4: ( (lv_entry_2_0= ruleINTLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) )* + // InternalApplicationConfiguration.g:3958:4: ( (lv_entry_2_0= ruleINTLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) )* { - // InternalApplicationConfiguration.g:3841:4: ( (lv_entry_2_0= ruleINTLiteral ) ) - // InternalApplicationConfiguration.g:3842:5: (lv_entry_2_0= ruleINTLiteral ) + // InternalApplicationConfiguration.g:3958:4: ( (lv_entry_2_0= ruleINTLiteral ) ) + // InternalApplicationConfiguration.g:3959:5: (lv_entry_2_0= ruleINTLiteral ) { - // InternalApplicationConfiguration.g:3842:5: (lv_entry_2_0= ruleINTLiteral ) - // InternalApplicationConfiguration.g:3843:6: lv_entry_2_0= ruleINTLiteral + // InternalApplicationConfiguration.g:3959:5: (lv_entry_2_0= ruleINTLiteral ) + // InternalApplicationConfiguration.g:3960:6: lv_entry_2_0= ruleINTLiteral { newCompositeNode(grammarAccess.getIntEnumberationAccess().getEntryINTLiteralParserRuleCall_2_0_0()); @@ -10555,30 +10878,30 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - // InternalApplicationConfiguration.g:3860:4: (otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) )* - loop51: + // InternalApplicationConfiguration.g:3977:4: (otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) )* + loop53: do { - int alt51=2; - int LA51_0 = input.LA(1); + int alt53=2; + int LA53_0 = input.LA(1); - if ( (LA51_0==20) ) { - alt51=1; + if ( (LA53_0==20) ) { + alt53=1; } - switch (alt51) { + switch (alt53) { case 1 : - // InternalApplicationConfiguration.g:3861:5: otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) + // InternalApplicationConfiguration.g:3978:5: otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) { otherlv_3=(Token)match(input,20,FOLLOW_24); newLeafNode(otherlv_3, grammarAccess.getIntEnumberationAccess().getCommaKeyword_2_1_0()); - // InternalApplicationConfiguration.g:3865:5: ( (lv_entry_4_0= ruleINTLiteral ) ) - // InternalApplicationConfiguration.g:3866:6: (lv_entry_4_0= ruleINTLiteral ) + // InternalApplicationConfiguration.g:3982:5: ( (lv_entry_4_0= ruleINTLiteral ) ) + // InternalApplicationConfiguration.g:3983:6: (lv_entry_4_0= ruleINTLiteral ) { - // InternalApplicationConfiguration.g:3866:6: (lv_entry_4_0= ruleINTLiteral ) - // InternalApplicationConfiguration.g:3867:7: lv_entry_4_0= ruleINTLiteral + // InternalApplicationConfiguration.g:3983:6: (lv_entry_4_0= ruleINTLiteral ) + // InternalApplicationConfiguration.g:3984:7: lv_entry_4_0= ruleINTLiteral { newCompositeNode(grammarAccess.getIntEnumberationAccess().getEntryINTLiteralParserRuleCall_2_1_1_0()); @@ -10610,7 +10933,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl break; default : - break loop51; + break loop53; } } while (true); @@ -10647,7 +10970,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleRealEnumeration" - // InternalApplicationConfiguration.g:3894:1: entryRuleRealEnumeration returns [EObject current=null] : iv_ruleRealEnumeration= ruleRealEnumeration EOF ; + // InternalApplicationConfiguration.g:4011:1: entryRuleRealEnumeration returns [EObject current=null] : iv_ruleRealEnumeration= ruleRealEnumeration EOF ; public final EObject entryRuleRealEnumeration() throws RecognitionException { EObject current = null; @@ -10655,8 +10978,8 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:3894:56: (iv_ruleRealEnumeration= ruleRealEnumeration EOF ) - // InternalApplicationConfiguration.g:3895:2: iv_ruleRealEnumeration= ruleRealEnumeration EOF + // InternalApplicationConfiguration.g:4011:56: (iv_ruleRealEnumeration= ruleRealEnumeration EOF ) + // InternalApplicationConfiguration.g:4012:2: iv_ruleRealEnumeration= ruleRealEnumeration EOF { newCompositeNode(grammarAccess.getRealEnumerationRule()); pushFollow(FOLLOW_1); @@ -10683,7 +11006,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleRealEnumeration" - // InternalApplicationConfiguration.g:3901:1: ruleRealEnumeration returns [EObject current=null] : ( () otherlv_1= '{' ( ( (lv_entry_2_0= ruleREALLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) ) )* )? otherlv_5= '}' ) ; + // InternalApplicationConfiguration.g:4018:1: ruleRealEnumeration returns [EObject current=null] : ( () otherlv_1= '{' ( ( (lv_entry_2_0= ruleREALLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) ) )* )? otherlv_5= '}' ) ; public final EObject ruleRealEnumeration() throws RecognitionException { EObject current = null; @@ -10699,14 +11022,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:3907:2: ( ( () otherlv_1= '{' ( ( (lv_entry_2_0= ruleREALLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) ) )* )? otherlv_5= '}' ) ) - // InternalApplicationConfiguration.g:3908:2: ( () otherlv_1= '{' ( ( (lv_entry_2_0= ruleREALLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) ) )* )? otherlv_5= '}' ) + // InternalApplicationConfiguration.g:4024:2: ( ( () otherlv_1= '{' ( ( (lv_entry_2_0= ruleREALLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) ) )* )? otherlv_5= '}' ) ) + // InternalApplicationConfiguration.g:4025:2: ( () otherlv_1= '{' ( ( (lv_entry_2_0= ruleREALLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) ) )* )? otherlv_5= '}' ) { - // InternalApplicationConfiguration.g:3908:2: ( () otherlv_1= '{' ( ( (lv_entry_2_0= ruleREALLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) ) )* )? otherlv_5= '}' ) - // InternalApplicationConfiguration.g:3909:3: () otherlv_1= '{' ( ( (lv_entry_2_0= ruleREALLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) ) )* )? otherlv_5= '}' + // InternalApplicationConfiguration.g:4025:2: ( () otherlv_1= '{' ( ( (lv_entry_2_0= ruleREALLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) ) )* )? otherlv_5= '}' ) + // InternalApplicationConfiguration.g:4026:3: () otherlv_1= '{' ( ( (lv_entry_2_0= ruleREALLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) ) )* )? otherlv_5= '}' { - // InternalApplicationConfiguration.g:3909:3: () - // InternalApplicationConfiguration.g:3910:4: + // InternalApplicationConfiguration.g:4026:3: () + // InternalApplicationConfiguration.g:4027:4: { current = forceCreateModelElement( @@ -10716,26 +11039,26 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - otherlv_1=(Token)match(input,19,FOLLOW_40); + otherlv_1=(Token)match(input,19,FOLLOW_41); newLeafNode(otherlv_1, grammarAccess.getRealEnumerationAccess().getLeftCurlyBracketKeyword_1()); - // InternalApplicationConfiguration.g:3920:3: ( ( (lv_entry_2_0= ruleREALLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) ) )* )? - int alt54=2; - int LA54_0 = input.LA(1); + // InternalApplicationConfiguration.g:4037:3: ( ( (lv_entry_2_0= ruleREALLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) ) )* )? + int alt56=2; + int LA56_0 = input.LA(1); - if ( (LA54_0==RULE_INT||LA54_0==12) ) { - alt54=1; + if ( (LA56_0==RULE_INT||LA56_0==12) ) { + alt56=1; } - switch (alt54) { + switch (alt56) { case 1 : - // InternalApplicationConfiguration.g:3921:4: ( (lv_entry_2_0= ruleREALLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) ) )* + // InternalApplicationConfiguration.g:4038:4: ( (lv_entry_2_0= ruleREALLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) ) )* { - // InternalApplicationConfiguration.g:3921:4: ( (lv_entry_2_0= ruleREALLiteral ) ) - // InternalApplicationConfiguration.g:3922:5: (lv_entry_2_0= ruleREALLiteral ) + // InternalApplicationConfiguration.g:4038:4: ( (lv_entry_2_0= ruleREALLiteral ) ) + // InternalApplicationConfiguration.g:4039:5: (lv_entry_2_0= ruleREALLiteral ) { - // InternalApplicationConfiguration.g:3922:5: (lv_entry_2_0= ruleREALLiteral ) - // InternalApplicationConfiguration.g:3923:6: lv_entry_2_0= ruleREALLiteral + // InternalApplicationConfiguration.g:4039:5: (lv_entry_2_0= ruleREALLiteral ) + // InternalApplicationConfiguration.g:4040:6: lv_entry_2_0= ruleREALLiteral { newCompositeNode(grammarAccess.getRealEnumerationAccess().getEntryREALLiteralParserRuleCall_2_0_0()); @@ -10762,30 +11085,30 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - // InternalApplicationConfiguration.g:3940:4: (otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) ) )* - loop53: + // InternalApplicationConfiguration.g:4057:4: (otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) ) )* + loop55: do { - int alt53=2; - int LA53_0 = input.LA(1); + int alt55=2; + int LA55_0 = input.LA(1); - if ( (LA53_0==20) ) { - alt53=1; + if ( (LA55_0==20) ) { + alt55=1; } - switch (alt53) { + switch (alt55) { case 1 : - // InternalApplicationConfiguration.g:3941:5: otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) ) + // InternalApplicationConfiguration.g:4058:5: otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) ) { otherlv_3=(Token)match(input,20,FOLLOW_24); newLeafNode(otherlv_3, grammarAccess.getRealEnumerationAccess().getCommaKeyword_2_1_0()); - // InternalApplicationConfiguration.g:3945:5: ( (lv_entry_4_0= ruleREALLiteral ) ) - // InternalApplicationConfiguration.g:3946:6: (lv_entry_4_0= ruleREALLiteral ) + // InternalApplicationConfiguration.g:4062:5: ( (lv_entry_4_0= ruleREALLiteral ) ) + // InternalApplicationConfiguration.g:4063:6: (lv_entry_4_0= ruleREALLiteral ) { - // InternalApplicationConfiguration.g:3946:6: (lv_entry_4_0= ruleREALLiteral ) - // InternalApplicationConfiguration.g:3947:7: lv_entry_4_0= ruleREALLiteral + // InternalApplicationConfiguration.g:4063:6: (lv_entry_4_0= ruleREALLiteral ) + // InternalApplicationConfiguration.g:4064:7: lv_entry_4_0= ruleREALLiteral { newCompositeNode(grammarAccess.getRealEnumerationAccess().getEntryREALLiteralParserRuleCall_2_1_1_0()); @@ -10817,7 +11140,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl break; default : - break loop53; + break loop55; } } while (true); @@ -10854,7 +11177,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleStringEnumeration" - // InternalApplicationConfiguration.g:3974:1: entryRuleStringEnumeration returns [EObject current=null] : iv_ruleStringEnumeration= ruleStringEnumeration EOF ; + // InternalApplicationConfiguration.g:4091:1: entryRuleStringEnumeration returns [EObject current=null] : iv_ruleStringEnumeration= ruleStringEnumeration EOF ; public final EObject entryRuleStringEnumeration() throws RecognitionException { EObject current = null; @@ -10862,8 +11185,8 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:3974:58: (iv_ruleStringEnumeration= ruleStringEnumeration EOF ) - // InternalApplicationConfiguration.g:3975:2: iv_ruleStringEnumeration= ruleStringEnumeration EOF + // InternalApplicationConfiguration.g:4091:58: (iv_ruleStringEnumeration= ruleStringEnumeration EOF ) + // InternalApplicationConfiguration.g:4092:2: iv_ruleStringEnumeration= ruleStringEnumeration EOF { newCompositeNode(grammarAccess.getStringEnumerationRule()); pushFollow(FOLLOW_1); @@ -10890,7 +11213,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleStringEnumeration" - // InternalApplicationConfiguration.g:3981:1: ruleStringEnumeration returns [EObject current=null] : ( () otherlv_1= '{' ( ( (lv_entry_2_0= RULE_STRING ) ) (otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) ) )* )? otherlv_5= '}' ) ; + // InternalApplicationConfiguration.g:4098:1: ruleStringEnumeration returns [EObject current=null] : ( () otherlv_1= '{' ( ( (lv_entry_2_0= RULE_STRING ) ) (otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) ) )* )? otherlv_5= '}' ) ; public final EObject ruleStringEnumeration() throws RecognitionException { EObject current = null; @@ -10904,14 +11227,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:3987:2: ( ( () otherlv_1= '{' ( ( (lv_entry_2_0= RULE_STRING ) ) (otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) ) )* )? otherlv_5= '}' ) ) - // InternalApplicationConfiguration.g:3988:2: ( () otherlv_1= '{' ( ( (lv_entry_2_0= RULE_STRING ) ) (otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) ) )* )? otherlv_5= '}' ) + // InternalApplicationConfiguration.g:4104:2: ( ( () otherlv_1= '{' ( ( (lv_entry_2_0= RULE_STRING ) ) (otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) ) )* )? otherlv_5= '}' ) ) + // InternalApplicationConfiguration.g:4105:2: ( () otherlv_1= '{' ( ( (lv_entry_2_0= RULE_STRING ) ) (otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) ) )* )? otherlv_5= '}' ) { - // InternalApplicationConfiguration.g:3988:2: ( () otherlv_1= '{' ( ( (lv_entry_2_0= RULE_STRING ) ) (otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) ) )* )? otherlv_5= '}' ) - // InternalApplicationConfiguration.g:3989:3: () otherlv_1= '{' ( ( (lv_entry_2_0= RULE_STRING ) ) (otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) ) )* )? otherlv_5= '}' + // InternalApplicationConfiguration.g:4105:2: ( () otherlv_1= '{' ( ( (lv_entry_2_0= RULE_STRING ) ) (otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) ) )* )? otherlv_5= '}' ) + // InternalApplicationConfiguration.g:4106:3: () otherlv_1= '{' ( ( (lv_entry_2_0= RULE_STRING ) ) (otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) ) )* )? otherlv_5= '}' { - // InternalApplicationConfiguration.g:3989:3: () - // InternalApplicationConfiguration.g:3990:4: + // InternalApplicationConfiguration.g:4106:3: () + // InternalApplicationConfiguration.g:4107:4: { current = forceCreateModelElement( @@ -10921,26 +11244,26 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - otherlv_1=(Token)match(input,19,FOLLOW_41); + otherlv_1=(Token)match(input,19,FOLLOW_42); newLeafNode(otherlv_1, grammarAccess.getStringEnumerationAccess().getLeftCurlyBracketKeyword_1()); - // InternalApplicationConfiguration.g:4000:3: ( ( (lv_entry_2_0= RULE_STRING ) ) (otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) ) )* )? - int alt56=2; - int LA56_0 = input.LA(1); + // InternalApplicationConfiguration.g:4117:3: ( ( (lv_entry_2_0= RULE_STRING ) ) (otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) ) )* )? + int alt58=2; + int LA58_0 = input.LA(1); - if ( (LA56_0==RULE_STRING) ) { - alt56=1; + if ( (LA58_0==RULE_STRING) ) { + alt58=1; } - switch (alt56) { + switch (alt58) { case 1 : - // InternalApplicationConfiguration.g:4001:4: ( (lv_entry_2_0= RULE_STRING ) ) (otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) ) )* + // InternalApplicationConfiguration.g:4118:4: ( (lv_entry_2_0= RULE_STRING ) ) (otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) ) )* { - // InternalApplicationConfiguration.g:4001:4: ( (lv_entry_2_0= RULE_STRING ) ) - // InternalApplicationConfiguration.g:4002:5: (lv_entry_2_0= RULE_STRING ) + // InternalApplicationConfiguration.g:4118:4: ( (lv_entry_2_0= RULE_STRING ) ) + // InternalApplicationConfiguration.g:4119:5: (lv_entry_2_0= RULE_STRING ) { - // InternalApplicationConfiguration.g:4002:5: (lv_entry_2_0= RULE_STRING ) - // InternalApplicationConfiguration.g:4003:6: lv_entry_2_0= RULE_STRING + // InternalApplicationConfiguration.g:4119:5: (lv_entry_2_0= RULE_STRING ) + // InternalApplicationConfiguration.g:4120:6: lv_entry_2_0= RULE_STRING { lv_entry_2_0=(Token)match(input,RULE_STRING,FOLLOW_15); @@ -10962,30 +11285,30 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - // InternalApplicationConfiguration.g:4019:4: (otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) ) )* - loop55: + // InternalApplicationConfiguration.g:4136:4: (otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) ) )* + loop57: do { - int alt55=2; - int LA55_0 = input.LA(1); + int alt57=2; + int LA57_0 = input.LA(1); - if ( (LA55_0==20) ) { - alt55=1; + if ( (LA57_0==20) ) { + alt57=1; } - switch (alt55) { + switch (alt57) { case 1 : - // InternalApplicationConfiguration.g:4020:5: otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) ) + // InternalApplicationConfiguration.g:4137:5: otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) ) { otherlv_3=(Token)match(input,20,FOLLOW_10); newLeafNode(otherlv_3, grammarAccess.getStringEnumerationAccess().getCommaKeyword_2_1_0()); - // InternalApplicationConfiguration.g:4024:5: ( (lv_entry_4_0= RULE_STRING ) ) - // InternalApplicationConfiguration.g:4025:6: (lv_entry_4_0= RULE_STRING ) + // InternalApplicationConfiguration.g:4141:5: ( (lv_entry_4_0= RULE_STRING ) ) + // InternalApplicationConfiguration.g:4142:6: (lv_entry_4_0= RULE_STRING ) { - // InternalApplicationConfiguration.g:4025:6: (lv_entry_4_0= RULE_STRING ) - // InternalApplicationConfiguration.g:4026:7: lv_entry_4_0= RULE_STRING + // InternalApplicationConfiguration.g:4142:6: (lv_entry_4_0= RULE_STRING ) + // InternalApplicationConfiguration.g:4143:7: lv_entry_4_0= RULE_STRING { lv_entry_4_0=(Token)match(input,RULE_STRING,FOLLOW_15); @@ -11012,7 +11335,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl break; default : - break loop55; + break loop57; } } while (true); @@ -11049,7 +11372,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleScopeDeclaration" - // InternalApplicationConfiguration.g:4052:1: entryRuleScopeDeclaration returns [EObject current=null] : iv_ruleScopeDeclaration= ruleScopeDeclaration EOF ; + // InternalApplicationConfiguration.g:4169:1: entryRuleScopeDeclaration returns [EObject current=null] : iv_ruleScopeDeclaration= ruleScopeDeclaration EOF ; public final EObject entryRuleScopeDeclaration() throws RecognitionException { EObject current = null; @@ -11057,8 +11380,8 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:4052:57: (iv_ruleScopeDeclaration= ruleScopeDeclaration EOF ) - // InternalApplicationConfiguration.g:4053:2: iv_ruleScopeDeclaration= ruleScopeDeclaration EOF + // InternalApplicationConfiguration.g:4169:57: (iv_ruleScopeDeclaration= ruleScopeDeclaration EOF ) + // InternalApplicationConfiguration.g:4170:2: iv_ruleScopeDeclaration= ruleScopeDeclaration EOF { newCompositeNode(grammarAccess.getScopeDeclarationRule()); pushFollow(FOLLOW_1); @@ -11085,7 +11408,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleScopeDeclaration" - // InternalApplicationConfiguration.g:4059:1: ruleScopeDeclaration returns [EObject current=null] : (otherlv_0= 'scope' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleScopeSpecification ) ) ) ; + // InternalApplicationConfiguration.g:4176: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; @@ -11098,21 +11421,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:4065:2: ( (otherlv_0= 'scope' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleScopeSpecification ) ) ) ) - // InternalApplicationConfiguration.g:4066:2: (otherlv_0= 'scope' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleScopeSpecification ) ) ) + // InternalApplicationConfiguration.g:4182:2: ( (otherlv_0= 'scope' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleScopeSpecification ) ) ) ) + // InternalApplicationConfiguration.g:4183:2: (otherlv_0= 'scope' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleScopeSpecification ) ) ) { - // InternalApplicationConfiguration.g:4066:2: (otherlv_0= 'scope' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleScopeSpecification ) ) ) - // InternalApplicationConfiguration.g:4067:3: otherlv_0= 'scope' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleScopeSpecification ) ) + // InternalApplicationConfiguration.g:4183:2: (otherlv_0= 'scope' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleScopeSpecification ) ) ) + // InternalApplicationConfiguration.g:4184:3: otherlv_0= 'scope' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleScopeSpecification ) ) { - otherlv_0=(Token)match(input,44,FOLLOW_6); + otherlv_0=(Token)match(input,46,FOLLOW_6); newLeafNode(otherlv_0, grammarAccess.getScopeDeclarationAccess().getScopeKeyword_0()); - // InternalApplicationConfiguration.g:4071:3: ( (lv_name_1_0= RULE_ID ) ) - // InternalApplicationConfiguration.g:4072:4: (lv_name_1_0= RULE_ID ) + // InternalApplicationConfiguration.g:4188:3: ( (lv_name_1_0= RULE_ID ) ) + // InternalApplicationConfiguration.g:4189:4: (lv_name_1_0= RULE_ID ) { - // InternalApplicationConfiguration.g:4072:4: (lv_name_1_0= RULE_ID ) - // InternalApplicationConfiguration.g:4073:5: lv_name_1_0= RULE_ID + // InternalApplicationConfiguration.g:4189:4: (lv_name_1_0= RULE_ID ) + // InternalApplicationConfiguration.g:4190:5: lv_name_1_0= RULE_ID { lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_17); @@ -11134,11 +11457,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - // InternalApplicationConfiguration.g:4089:3: ( (lv_specification_2_0= ruleScopeSpecification ) ) - // InternalApplicationConfiguration.g:4090:4: (lv_specification_2_0= ruleScopeSpecification ) + // InternalApplicationConfiguration.g:4206:3: ( (lv_specification_2_0= ruleScopeSpecification ) ) + // InternalApplicationConfiguration.g:4207:4: (lv_specification_2_0= ruleScopeSpecification ) { - // InternalApplicationConfiguration.g:4090:4: (lv_specification_2_0= ruleScopeSpecification ) - // InternalApplicationConfiguration.g:4091:5: lv_specification_2_0= ruleScopeSpecification + // InternalApplicationConfiguration.g:4207:4: (lv_specification_2_0= ruleScopeSpecification ) + // InternalApplicationConfiguration.g:4208:5: lv_specification_2_0= ruleScopeSpecification { newCompositeNode(grammarAccess.getScopeDeclarationAccess().getSpecificationScopeSpecificationParserRuleCall_2_0()); @@ -11188,7 +11511,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleScopeReference" - // InternalApplicationConfiguration.g:4112:1: entryRuleScopeReference returns [EObject current=null] : iv_ruleScopeReference= ruleScopeReference EOF ; + // InternalApplicationConfiguration.g:4229:1: entryRuleScopeReference returns [EObject current=null] : iv_ruleScopeReference= ruleScopeReference EOF ; public final EObject entryRuleScopeReference() throws RecognitionException { EObject current = null; @@ -11196,8 +11519,8 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:4112:55: (iv_ruleScopeReference= ruleScopeReference EOF ) - // InternalApplicationConfiguration.g:4113:2: iv_ruleScopeReference= ruleScopeReference EOF + // InternalApplicationConfiguration.g:4229:55: (iv_ruleScopeReference= ruleScopeReference EOF ) + // InternalApplicationConfiguration.g:4230:2: iv_ruleScopeReference= ruleScopeReference EOF { newCompositeNode(grammarAccess.getScopeReferenceRule()); pushFollow(FOLLOW_1); @@ -11224,7 +11547,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleScopeReference" - // InternalApplicationConfiguration.g:4119:1: ruleScopeReference returns [EObject current=null] : ( (otherlv_0= RULE_ID ) ) ; + // InternalApplicationConfiguration.g:4236:1: ruleScopeReference returns [EObject current=null] : ( (otherlv_0= RULE_ID ) ) ; public final EObject ruleScopeReference() throws RecognitionException { EObject current = null; @@ -11234,14 +11557,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:4125:2: ( ( (otherlv_0= RULE_ID ) ) ) - // InternalApplicationConfiguration.g:4126:2: ( (otherlv_0= RULE_ID ) ) + // InternalApplicationConfiguration.g:4242:2: ( ( (otherlv_0= RULE_ID ) ) ) + // InternalApplicationConfiguration.g:4243:2: ( (otherlv_0= RULE_ID ) ) { - // InternalApplicationConfiguration.g:4126:2: ( (otherlv_0= RULE_ID ) ) - // InternalApplicationConfiguration.g:4127:3: (otherlv_0= RULE_ID ) + // InternalApplicationConfiguration.g:4243:2: ( (otherlv_0= RULE_ID ) ) + // InternalApplicationConfiguration.g:4244:3: (otherlv_0= RULE_ID ) { - // InternalApplicationConfiguration.g:4127:3: (otherlv_0= RULE_ID ) - // InternalApplicationConfiguration.g:4128:4: otherlv_0= RULE_ID + // InternalApplicationConfiguration.g:4244:3: (otherlv_0= RULE_ID ) + // InternalApplicationConfiguration.g:4245:4: otherlv_0= RULE_ID { if (current==null) { @@ -11278,7 +11601,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleScope" - // InternalApplicationConfiguration.g:4142:1: entryRuleScope returns [EObject current=null] : iv_ruleScope= ruleScope EOF ; + // InternalApplicationConfiguration.g:4259:1: entryRuleScope returns [EObject current=null] : iv_ruleScope= ruleScope EOF ; public final EObject entryRuleScope() throws RecognitionException { EObject current = null; @@ -11286,8 +11609,8 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:4142:46: (iv_ruleScope= ruleScope EOF ) - // InternalApplicationConfiguration.g:4143:2: iv_ruleScope= ruleScope EOF + // InternalApplicationConfiguration.g:4259:46: (iv_ruleScope= ruleScope EOF ) + // InternalApplicationConfiguration.g:4260:2: iv_ruleScope= ruleScope EOF { newCompositeNode(grammarAccess.getScopeRule()); pushFollow(FOLLOW_1); @@ -11314,7 +11637,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleScope" - // InternalApplicationConfiguration.g:4149:1: ruleScope returns [EObject current=null] : (this_ScopeSpecification_0= ruleScopeSpecification | this_ScopeReference_1= ruleScopeReference ) ; + // InternalApplicationConfiguration.g:4266:1: ruleScope returns [EObject current=null] : (this_ScopeSpecification_0= ruleScopeSpecification | this_ScopeReference_1= ruleScopeReference ) ; public final EObject ruleScope() throws RecognitionException { EObject current = null; @@ -11327,28 +11650,28 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:4155:2: ( (this_ScopeSpecification_0= ruleScopeSpecification | this_ScopeReference_1= ruleScopeReference ) ) - // InternalApplicationConfiguration.g:4156:2: (this_ScopeSpecification_0= ruleScopeSpecification | this_ScopeReference_1= ruleScopeReference ) + // InternalApplicationConfiguration.g:4272:2: ( (this_ScopeSpecification_0= ruleScopeSpecification | this_ScopeReference_1= ruleScopeReference ) ) + // InternalApplicationConfiguration.g:4273:2: (this_ScopeSpecification_0= ruleScopeSpecification | this_ScopeReference_1= ruleScopeReference ) { - // InternalApplicationConfiguration.g:4156:2: (this_ScopeSpecification_0= ruleScopeSpecification | this_ScopeReference_1= ruleScopeReference ) - int alt57=2; - int LA57_0 = input.LA(1); + // InternalApplicationConfiguration.g:4273:2: (this_ScopeSpecification_0= ruleScopeSpecification | this_ScopeReference_1= ruleScopeReference ) + int alt59=2; + int LA59_0 = input.LA(1); - if ( (LA57_0==19) ) { - alt57=1; + if ( (LA59_0==19) ) { + alt59=1; } - else if ( (LA57_0==RULE_ID) ) { - alt57=2; + else if ( (LA59_0==RULE_ID) ) { + alt59=2; } else { NoViableAltException nvae = - new NoViableAltException("", 57, 0, input); + new NoViableAltException("", 59, 0, input); throw nvae; } - switch (alt57) { + switch (alt59) { case 1 : - // InternalApplicationConfiguration.g:4157:3: this_ScopeSpecification_0= ruleScopeSpecification + // InternalApplicationConfiguration.g:4274:3: this_ScopeSpecification_0= ruleScopeSpecification { newCompositeNode(grammarAccess.getScopeAccess().getScopeSpecificationParserRuleCall_0()); @@ -11366,7 +11689,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } break; case 2 : - // InternalApplicationConfiguration.g:4166:3: this_ScopeReference_1= ruleScopeReference + // InternalApplicationConfiguration.g:4283:3: this_ScopeReference_1= ruleScopeReference { newCompositeNode(grammarAccess.getScopeAccess().getScopeReferenceParserRuleCall_1()); @@ -11406,7 +11729,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleTask" - // InternalApplicationConfiguration.g:4178:1: entryRuleTask returns [EObject current=null] : iv_ruleTask= ruleTask EOF ; + // InternalApplicationConfiguration.g:4295:1: entryRuleTask returns [EObject current=null] : iv_ruleTask= ruleTask EOF ; public final EObject entryRuleTask() throws RecognitionException { EObject current = null; @@ -11414,8 +11737,8 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:4178:45: (iv_ruleTask= ruleTask EOF ) - // InternalApplicationConfiguration.g:4179:2: iv_ruleTask= ruleTask EOF + // InternalApplicationConfiguration.g:4295:45: (iv_ruleTask= ruleTask EOF ) + // InternalApplicationConfiguration.g:4296:2: iv_ruleTask= ruleTask EOF { newCompositeNode(grammarAccess.getTaskRule()); pushFollow(FOLLOW_1); @@ -11442,7 +11765,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleTask" - // InternalApplicationConfiguration.g:4185:1: ruleTask returns [EObject current=null] : this_GenerationTask_0= ruleGenerationTask ; + // InternalApplicationConfiguration.g:4302:1: ruleTask returns [EObject current=null] : this_GenerationTask_0= ruleGenerationTask ; public final EObject ruleTask() throws RecognitionException { EObject current = null; @@ -11453,8 +11776,8 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:4191:2: (this_GenerationTask_0= ruleGenerationTask ) - // InternalApplicationConfiguration.g:4192:2: this_GenerationTask_0= ruleGenerationTask + // InternalApplicationConfiguration.g:4308:2: (this_GenerationTask_0= ruleGenerationTask ) + // InternalApplicationConfiguration.g:4309:2: this_GenerationTask_0= ruleGenerationTask { newCompositeNode(grammarAccess.getTaskAccess().getGenerationTaskParserRuleCall()); @@ -11488,7 +11811,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleGenerationTask" - // InternalApplicationConfiguration.g:4203:1: entryRuleGenerationTask returns [EObject current=null] : iv_ruleGenerationTask= ruleGenerationTask EOF ; + // InternalApplicationConfiguration.g:4320:1: entryRuleGenerationTask returns [EObject current=null] : iv_ruleGenerationTask= ruleGenerationTask EOF ; public final EObject entryRuleGenerationTask() throws RecognitionException { EObject current = null; @@ -11496,8 +11819,8 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:4203:55: (iv_ruleGenerationTask= ruleGenerationTask EOF ) - // InternalApplicationConfiguration.g:4204:2: iv_ruleGenerationTask= ruleGenerationTask EOF + // InternalApplicationConfiguration.g:4320:55: (iv_ruleGenerationTask= ruleGenerationTask EOF ) + // InternalApplicationConfiguration.g:4321:2: iv_ruleGenerationTask= ruleGenerationTask EOF { newCompositeNode(grammarAccess.getGenerationTaskRule()); pushFollow(FOLLOW_1); @@ -11524,7 +11847,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleGenerationTask" - // InternalApplicationConfiguration.g:4210: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= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (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= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) ) )* ) ) ) otherlv_43= '}' ) ; + // InternalApplicationConfiguration.g:4327: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= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (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= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) ) )* ) ) ) otherlv_43= '}' ) ; public final EObject ruleGenerationTask() throws RecognitionException { EObject current = null; @@ -11586,18 +11909,18 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:4216: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= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (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= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) ) )* ) ) ) otherlv_43= '}' ) ) - // InternalApplicationConfiguration.g:4217: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= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (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= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) ) )* ) ) ) otherlv_43= '}' ) + // InternalApplicationConfiguration.g:4333: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= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (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= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) ) )* ) ) ) otherlv_43= '}' ) ) + // InternalApplicationConfiguration.g:4334: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= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (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= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) ) )* ) ) ) otherlv_43= '}' ) { - // InternalApplicationConfiguration.g:4217: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= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (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= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) ) )* ) ) ) otherlv_43= '}' ) - // InternalApplicationConfiguration.g:4218: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= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (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= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) ) )* ) ) ) otherlv_43= '}' + // InternalApplicationConfiguration.g:4334: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= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (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= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) ) )* ) ) ) otherlv_43= '}' ) + // InternalApplicationConfiguration.g:4335: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= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (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= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) ) )* ) ) ) otherlv_43= '}' { - otherlv_0=(Token)match(input,45,FOLLOW_17); + otherlv_0=(Token)match(input,47,FOLLOW_17); newLeafNode(otherlv_0, grammarAccess.getGenerationTaskAccess().getGenerateKeyword_0()); - // InternalApplicationConfiguration.g:4222:3: () - // InternalApplicationConfiguration.g:4223:4: + // InternalApplicationConfiguration.g:4339:3: () + // InternalApplicationConfiguration.g:4340:4: { current = forceCreateModelElement( @@ -11607,70 +11930,70 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - otherlv_2=(Token)match(input,19,FOLLOW_42); + otherlv_2=(Token)match(input,19,FOLLOW_43); newLeafNode(otherlv_2, grammarAccess.getGenerationTaskAccess().getLeftCurlyBracketKeyword_2()); - // InternalApplicationConfiguration.g:4233:3: ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (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= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) ) )* ) ) ) - // InternalApplicationConfiguration.g:4234:4: ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (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= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) ) )* ) ) + // InternalApplicationConfiguration.g:4350:3: ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (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= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) ) )* ) ) ) + // InternalApplicationConfiguration.g:4351:4: ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (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= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) ) )* ) ) { - // InternalApplicationConfiguration.g:4234:4: ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (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= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) ) )* ) ) - // InternalApplicationConfiguration.g:4235:5: ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (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= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) ) )* ) + // InternalApplicationConfiguration.g:4351:4: ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (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= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) ) )* ) ) + // InternalApplicationConfiguration.g:4352:5: ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (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= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) ) )* ) { getUnorderedGroupHelper().enter(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); - // InternalApplicationConfiguration.g:4238:5: ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (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= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) ) )* ) - // InternalApplicationConfiguration.g:4239:6: ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (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= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) ) )* + // InternalApplicationConfiguration.g:4355:5: ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (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= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) ) )* ) + // InternalApplicationConfiguration.g:4356:6: ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (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= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) ) )* { - // InternalApplicationConfiguration.g:4239:6: ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (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= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) ) )* - loop58: + // InternalApplicationConfiguration.g:4356:6: ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (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= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) ) )* + loop60: do { - int alt58=14; - alt58 = dfa58.predict(input); - switch (alt58) { + int alt60=14; + alt60 = dfa60.predict(input); + switch (alt60) { case 1 : - // InternalApplicationConfiguration.g:4240:4: ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) + // InternalApplicationConfiguration.g:4357:4: ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) { - // InternalApplicationConfiguration.g:4240:4: ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) - // InternalApplicationConfiguration.g:4241:5: {...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) + // InternalApplicationConfiguration.g:4357:4: ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) + // InternalApplicationConfiguration.g:4358:5: {...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) { if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0) ) { throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0)"); } - // InternalApplicationConfiguration.g:4241:111: ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) - // InternalApplicationConfiguration.g:4242:6: ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) + // InternalApplicationConfiguration.g:4358:111: ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) + // InternalApplicationConfiguration.g:4359:6: ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) { getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0); - // InternalApplicationConfiguration.g:4245:9: ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) - // InternalApplicationConfiguration.g:4245:10: {...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) + // InternalApplicationConfiguration.g:4362:9: ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) + // InternalApplicationConfiguration.g:4362:10: {...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) { if ( !((true)) ) { throw new FailedPredicateException(input, "ruleGenerationTask", "true"); } - // InternalApplicationConfiguration.g:4245:19: (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) - // InternalApplicationConfiguration.g:4245:20: otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) + // InternalApplicationConfiguration.g:4362:19: (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) + // InternalApplicationConfiguration.g:4362:20: otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) { otherlv_4=(Token)match(input,25,FOLLOW_13); newLeafNode(otherlv_4, grammarAccess.getGenerationTaskAccess().getMetamodelKeyword_3_0_0()); - otherlv_5=(Token)match(input,18,FOLLOW_43); + otherlv_5=(Token)match(input,18,FOLLOW_44); newLeafNode(otherlv_5, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_0_1()); - // InternalApplicationConfiguration.g:4253:9: ( (lv_metamodel_6_0= ruleMetamodel ) ) - // InternalApplicationConfiguration.g:4254:10: (lv_metamodel_6_0= ruleMetamodel ) + // InternalApplicationConfiguration.g:4370:9: ( (lv_metamodel_6_0= ruleMetamodel ) ) + // InternalApplicationConfiguration.g:4371:10: (lv_metamodel_6_0= ruleMetamodel ) { - // InternalApplicationConfiguration.g:4254:10: (lv_metamodel_6_0= ruleMetamodel ) - // InternalApplicationConfiguration.g:4255:11: lv_metamodel_6_0= ruleMetamodel + // InternalApplicationConfiguration.g:4371:10: (lv_metamodel_6_0= ruleMetamodel ) + // InternalApplicationConfiguration.g:4372:11: lv_metamodel_6_0= ruleMetamodel { newCompositeNode(grammarAccess.getGenerationTaskAccess().getMetamodelMetamodelParserRuleCall_3_0_2_0()); - pushFollow(FOLLOW_42); + pushFollow(FOLLOW_43); lv_metamodel_6_0=ruleMetamodel(); state._fsp--; @@ -11711,47 +12034,47 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } break; case 2 : - // InternalApplicationConfiguration.g:4278:4: ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) + // InternalApplicationConfiguration.g:4395:4: ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) { - // InternalApplicationConfiguration.g:4278:4: ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) - // InternalApplicationConfiguration.g:4279:5: {...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) + // InternalApplicationConfiguration.g:4395:4: ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) + // InternalApplicationConfiguration.g:4396:5: {...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) { if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1) ) { throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1)"); } - // InternalApplicationConfiguration.g:4279:111: ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) - // InternalApplicationConfiguration.g:4280:6: ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) + // InternalApplicationConfiguration.g:4396:111: ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) + // InternalApplicationConfiguration.g:4397:6: ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) { getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1); - // InternalApplicationConfiguration.g:4283:9: ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) - // InternalApplicationConfiguration.g:4283:10: {...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) + // InternalApplicationConfiguration.g:4400:9: ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) + // InternalApplicationConfiguration.g:4400:10: {...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) { if ( !((true)) ) { throw new FailedPredicateException(input, "ruleGenerationTask", "true"); } - // InternalApplicationConfiguration.g:4283:19: (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) - // InternalApplicationConfiguration.g:4283:20: otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) + // InternalApplicationConfiguration.g:4400:19: (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) + // InternalApplicationConfiguration.g:4400:20: otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) { - otherlv_7=(Token)match(input,46,FOLLOW_13); + otherlv_7=(Token)match(input,48,FOLLOW_13); newLeafNode(otherlv_7, grammarAccess.getGenerationTaskAccess().getPartialModelKeyword_3_1_0()); - otherlv_8=(Token)match(input,18,FOLLOW_43); + otherlv_8=(Token)match(input,18,FOLLOW_44); newLeafNode(otherlv_8, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_1_1()); - // InternalApplicationConfiguration.g:4291:9: ( (lv_partialModel_9_0= rulePartialModel ) ) - // InternalApplicationConfiguration.g:4292:10: (lv_partialModel_9_0= rulePartialModel ) + // InternalApplicationConfiguration.g:4408:9: ( (lv_partialModel_9_0= rulePartialModel ) ) + // InternalApplicationConfiguration.g:4409:10: (lv_partialModel_9_0= rulePartialModel ) { - // InternalApplicationConfiguration.g:4292:10: (lv_partialModel_9_0= rulePartialModel ) - // InternalApplicationConfiguration.g:4293:11: lv_partialModel_9_0= rulePartialModel + // InternalApplicationConfiguration.g:4409:10: (lv_partialModel_9_0= rulePartialModel ) + // InternalApplicationConfiguration.g:4410:11: lv_partialModel_9_0= rulePartialModel { newCompositeNode(grammarAccess.getGenerationTaskAccess().getPartialModelPartialModelParserRuleCall_3_1_2_0()); - pushFollow(FOLLOW_42); + pushFollow(FOLLOW_43); lv_partialModel_9_0=rulePartialModel(); state._fsp--; @@ -11792,47 +12115,47 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } break; case 3 : - // InternalApplicationConfiguration.g:4316:4: ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) + // InternalApplicationConfiguration.g:4433:4: ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) { - // InternalApplicationConfiguration.g:4316:4: ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) - // InternalApplicationConfiguration.g:4317:5: {...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) + // InternalApplicationConfiguration.g:4433:4: ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) + // InternalApplicationConfiguration.g:4434:5: {...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) { if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2) ) { throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2)"); } - // InternalApplicationConfiguration.g:4317:111: ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) - // InternalApplicationConfiguration.g:4318:6: ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) + // InternalApplicationConfiguration.g:4434:111: ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) + // InternalApplicationConfiguration.g:4435:6: ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) { getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2); - // InternalApplicationConfiguration.g:4321:9: ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) - // InternalApplicationConfiguration.g:4321:10: {...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) + // InternalApplicationConfiguration.g:4438:9: ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) + // InternalApplicationConfiguration.g:4438:10: {...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) { if ( !((true)) ) { throw new FailedPredicateException(input, "ruleGenerationTask", "true"); } - // InternalApplicationConfiguration.g:4321:19: (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) - // InternalApplicationConfiguration.g:4321:20: otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) + // InternalApplicationConfiguration.g:4438:19: (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) + // InternalApplicationConfiguration.g:4438:20: otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) { otherlv_10=(Token)match(input,28,FOLLOW_13); newLeafNode(otherlv_10, grammarAccess.getGenerationTaskAccess().getConstraintsKeyword_3_2_0()); - otherlv_11=(Token)match(input,18,FOLLOW_43); + otherlv_11=(Token)match(input,18,FOLLOW_44); newLeafNode(otherlv_11, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_2_1()); - // InternalApplicationConfiguration.g:4329:9: ( (lv_patterns_12_0= ruleGraphPattern ) ) - // InternalApplicationConfiguration.g:4330:10: (lv_patterns_12_0= ruleGraphPattern ) + // InternalApplicationConfiguration.g:4446:9: ( (lv_patterns_12_0= ruleGraphPattern ) ) + // InternalApplicationConfiguration.g:4447:10: (lv_patterns_12_0= ruleGraphPattern ) { - // InternalApplicationConfiguration.g:4330:10: (lv_patterns_12_0= ruleGraphPattern ) - // InternalApplicationConfiguration.g:4331:11: lv_patterns_12_0= ruleGraphPattern + // InternalApplicationConfiguration.g:4447:10: (lv_patterns_12_0= ruleGraphPattern ) + // InternalApplicationConfiguration.g:4448:11: lv_patterns_12_0= ruleGraphPattern { newCompositeNode(grammarAccess.getGenerationTaskAccess().getPatternsGraphPatternParserRuleCall_3_2_2_0()); - pushFollow(FOLLOW_42); + pushFollow(FOLLOW_43); lv_patterns_12_0=ruleGraphPattern(); state._fsp--; @@ -11873,47 +12196,47 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } break; case 4 : - // InternalApplicationConfiguration.g:4354:4: ({...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) ) + // InternalApplicationConfiguration.g:4471:4: ({...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) ) { - // InternalApplicationConfiguration.g:4354:4: ({...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) ) - // InternalApplicationConfiguration.g:4355:5: {...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) + // InternalApplicationConfiguration.g:4471:4: ({...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) ) + // InternalApplicationConfiguration.g:4472:5: {...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) { if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3) ) { throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3)"); } - // InternalApplicationConfiguration.g:4355:111: ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) - // InternalApplicationConfiguration.g:4356:6: ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) + // InternalApplicationConfiguration.g:4472:111: ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) + // InternalApplicationConfiguration.g:4473:6: ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) { getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3); - // InternalApplicationConfiguration.g:4359:9: ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) - // InternalApplicationConfiguration.g:4359:10: {...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) + // InternalApplicationConfiguration.g:4476:9: ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) + // InternalApplicationConfiguration.g:4476:10: {...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) { if ( !((true)) ) { throw new FailedPredicateException(input, "ruleGenerationTask", "true"); } - // InternalApplicationConfiguration.g:4359:19: (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) - // InternalApplicationConfiguration.g:4359:20: otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) + // InternalApplicationConfiguration.g:4476:19: (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) + // InternalApplicationConfiguration.g:4476:20: otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) { - otherlv_13=(Token)match(input,29,FOLLOW_13); + otherlv_13=(Token)match(input,31,FOLLOW_13); newLeafNode(otherlv_13, grammarAccess.getGenerationTaskAccess().getObjectivesKeyword_3_3_0()); - otherlv_14=(Token)match(input,18,FOLLOW_43); + otherlv_14=(Token)match(input,18,FOLLOW_44); newLeafNode(otherlv_14, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_3_1()); - // InternalApplicationConfiguration.g:4367:9: ( (lv_objectives_15_0= ruleObjective ) ) - // InternalApplicationConfiguration.g:4368:10: (lv_objectives_15_0= ruleObjective ) + // InternalApplicationConfiguration.g:4484:9: ( (lv_objectives_15_0= ruleObjective ) ) + // InternalApplicationConfiguration.g:4485:10: (lv_objectives_15_0= ruleObjective ) { - // InternalApplicationConfiguration.g:4368:10: (lv_objectives_15_0= ruleObjective ) - // InternalApplicationConfiguration.g:4369:11: lv_objectives_15_0= ruleObjective + // InternalApplicationConfiguration.g:4485:10: (lv_objectives_15_0= ruleObjective ) + // InternalApplicationConfiguration.g:4486:11: lv_objectives_15_0= ruleObjective { newCompositeNode(grammarAccess.getGenerationTaskAccess().getObjectivesObjectiveParserRuleCall_3_3_2_0()); - pushFollow(FOLLOW_42); + pushFollow(FOLLOW_43); lv_objectives_15_0=ruleObjective(); state._fsp--; @@ -11954,47 +12277,47 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } break; case 5 : - // InternalApplicationConfiguration.g:4392:4: ({...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) ) + // InternalApplicationConfiguration.g:4509:4: ({...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) ) { - // InternalApplicationConfiguration.g:4392:4: ({...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) ) - // InternalApplicationConfiguration.g:4393:5: {...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) + // InternalApplicationConfiguration.g:4509:4: ({...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) ) + // InternalApplicationConfiguration.g:4510:5: {...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) { if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4) ) { throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4)"); } - // InternalApplicationConfiguration.g:4393:111: ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) - // InternalApplicationConfiguration.g:4394:6: ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) + // InternalApplicationConfiguration.g:4510:111: ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) + // InternalApplicationConfiguration.g:4511:6: ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) { getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4); - // InternalApplicationConfiguration.g:4397:9: ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) - // InternalApplicationConfiguration.g:4397:10: {...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) + // InternalApplicationConfiguration.g:4514:9: ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) + // InternalApplicationConfiguration.g:4514:10: {...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) { if ( !((true)) ) { throw new FailedPredicateException(input, "ruleGenerationTask", "true"); } - // InternalApplicationConfiguration.g:4397:19: (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) - // InternalApplicationConfiguration.g:4397:20: otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) + // InternalApplicationConfiguration.g:4514:19: (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) + // InternalApplicationConfiguration.g:4514:20: otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) { - otherlv_16=(Token)match(input,44,FOLLOW_13); + otherlv_16=(Token)match(input,46,FOLLOW_13); newLeafNode(otherlv_16, grammarAccess.getGenerationTaskAccess().getScopeKeyword_3_4_0()); - otherlv_17=(Token)match(input,18,FOLLOW_43); + otherlv_17=(Token)match(input,18,FOLLOW_44); newLeafNode(otherlv_17, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_4_1()); - // InternalApplicationConfiguration.g:4405:9: ( (lv_scope_18_0= ruleScope ) ) - // InternalApplicationConfiguration.g:4406:10: (lv_scope_18_0= ruleScope ) + // InternalApplicationConfiguration.g:4522:9: ( (lv_scope_18_0= ruleScope ) ) + // InternalApplicationConfiguration.g:4523:10: (lv_scope_18_0= ruleScope ) { - // InternalApplicationConfiguration.g:4406:10: (lv_scope_18_0= ruleScope ) - // InternalApplicationConfiguration.g:4407:11: lv_scope_18_0= ruleScope + // InternalApplicationConfiguration.g:4523:10: (lv_scope_18_0= ruleScope ) + // InternalApplicationConfiguration.g:4524:11: lv_scope_18_0= ruleScope { newCompositeNode(grammarAccess.getGenerationTaskAccess().getScopeScopeParserRuleCall_3_4_2_0()); - pushFollow(FOLLOW_42); + pushFollow(FOLLOW_43); lv_scope_18_0=ruleScope(); state._fsp--; @@ -12035,36 +12358,36 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } break; case 6 : - // InternalApplicationConfiguration.g:4430:4: ({...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) ) + // InternalApplicationConfiguration.g:4547:4: ({...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) ) { - // InternalApplicationConfiguration.g:4430:4: ({...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) ) - // InternalApplicationConfiguration.g:4431:5: {...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) + // InternalApplicationConfiguration.g:4547:4: ({...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) ) + // InternalApplicationConfiguration.g:4548:5: {...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) { if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5) ) { throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5)"); } - // InternalApplicationConfiguration.g:4431:111: ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) - // InternalApplicationConfiguration.g:4432:6: ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) + // InternalApplicationConfiguration.g:4548:111: ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) + // InternalApplicationConfiguration.g:4549:6: ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) { getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5); - // InternalApplicationConfiguration.g:4435:9: ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) - // InternalApplicationConfiguration.g:4435:10: {...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) + // InternalApplicationConfiguration.g:4552:9: ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) + // InternalApplicationConfiguration.g:4552:10: {...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) { if ( !((true)) ) { throw new FailedPredicateException(input, "ruleGenerationTask", "true"); } - // InternalApplicationConfiguration.g:4435:19: ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) - // InternalApplicationConfiguration.g:4435:20: ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) + // InternalApplicationConfiguration.g:4552:19: ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) + // InternalApplicationConfiguration.g:4552:20: ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) { - // InternalApplicationConfiguration.g:4435:20: ( (lv_numberSpecified_19_0= 'number' ) ) - // InternalApplicationConfiguration.g:4436:10: (lv_numberSpecified_19_0= 'number' ) + // InternalApplicationConfiguration.g:4552:20: ( (lv_numberSpecified_19_0= 'number' ) ) + // InternalApplicationConfiguration.g:4553:10: (lv_numberSpecified_19_0= 'number' ) { - // InternalApplicationConfiguration.g:4436:10: (lv_numberSpecified_19_0= 'number' ) - // InternalApplicationConfiguration.g:4437:11: lv_numberSpecified_19_0= 'number' + // InternalApplicationConfiguration.g:4553:10: (lv_numberSpecified_19_0= 'number' ) + // InternalApplicationConfiguration.g:4554:11: lv_numberSpecified_19_0= 'number' { - lv_numberSpecified_19_0=(Token)match(input,47,FOLLOW_13); + lv_numberSpecified_19_0=(Token)match(input,49,FOLLOW_13); newLeafNode(lv_numberSpecified_19_0, grammarAccess.getGenerationTaskAccess().getNumberSpecifiedNumberKeyword_3_5_0_0()); @@ -12084,13 +12407,13 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl newLeafNode(otherlv_20, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_5_1()); - // InternalApplicationConfiguration.g:4453:9: ( (lv_number_21_0= RULE_INT ) ) - // InternalApplicationConfiguration.g:4454:10: (lv_number_21_0= RULE_INT ) + // InternalApplicationConfiguration.g:4570:9: ( (lv_number_21_0= RULE_INT ) ) + // InternalApplicationConfiguration.g:4571:10: (lv_number_21_0= RULE_INT ) { - // InternalApplicationConfiguration.g:4454:10: (lv_number_21_0= RULE_INT ) - // InternalApplicationConfiguration.g:4455:11: lv_number_21_0= RULE_INT + // InternalApplicationConfiguration.g:4571:10: (lv_number_21_0= RULE_INT ) + // InternalApplicationConfiguration.g:4572:11: lv_number_21_0= RULE_INT { - lv_number_21_0=(Token)match(input,RULE_INT,FOLLOW_42); + lv_number_21_0=(Token)match(input,RULE_INT,FOLLOW_43); newLeafNode(lv_number_21_0, grammarAccess.getGenerationTaskAccess().getNumberINTTerminalRuleCall_3_5_2_0()); @@ -12129,36 +12452,36 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } break; case 7 : - // InternalApplicationConfiguration.g:4477:4: ({...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) ) + // InternalApplicationConfiguration.g:4594:4: ({...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) ) { - // InternalApplicationConfiguration.g:4477:4: ({...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) ) - // InternalApplicationConfiguration.g:4478:5: {...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) + // InternalApplicationConfiguration.g:4594:4: ({...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) ) + // InternalApplicationConfiguration.g:4595:5: {...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) { if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6) ) { throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6)"); } - // InternalApplicationConfiguration.g:4478:111: ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) - // InternalApplicationConfiguration.g:4479:6: ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) + // InternalApplicationConfiguration.g:4595:111: ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) + // InternalApplicationConfiguration.g:4596:6: ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) { getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6); - // InternalApplicationConfiguration.g:4482:9: ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) - // InternalApplicationConfiguration.g:4482:10: {...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) + // InternalApplicationConfiguration.g:4599:9: ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) + // InternalApplicationConfiguration.g:4599:10: {...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) { if ( !((true)) ) { throw new FailedPredicateException(input, "ruleGenerationTask", "true"); } - // InternalApplicationConfiguration.g:4482:19: ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) - // InternalApplicationConfiguration.g:4482:20: ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) + // InternalApplicationConfiguration.g:4599:19: ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) + // InternalApplicationConfiguration.g:4599:20: ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) { - // InternalApplicationConfiguration.g:4482:20: ( (lv_runSpecified_22_0= 'runs' ) ) - // InternalApplicationConfiguration.g:4483:10: (lv_runSpecified_22_0= 'runs' ) + // InternalApplicationConfiguration.g:4599:20: ( (lv_runSpecified_22_0= 'runs' ) ) + // InternalApplicationConfiguration.g:4600:10: (lv_runSpecified_22_0= 'runs' ) { - // InternalApplicationConfiguration.g:4483:10: (lv_runSpecified_22_0= 'runs' ) - // InternalApplicationConfiguration.g:4484:11: lv_runSpecified_22_0= 'runs' + // InternalApplicationConfiguration.g:4600:10: (lv_runSpecified_22_0= 'runs' ) + // InternalApplicationConfiguration.g:4601:11: lv_runSpecified_22_0= 'runs' { - lv_runSpecified_22_0=(Token)match(input,48,FOLLOW_13); + lv_runSpecified_22_0=(Token)match(input,50,FOLLOW_13); newLeafNode(lv_runSpecified_22_0, grammarAccess.getGenerationTaskAccess().getRunSpecifiedRunsKeyword_3_6_0_0()); @@ -12178,13 +12501,13 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl newLeafNode(otherlv_23, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_6_1()); - // InternalApplicationConfiguration.g:4500:9: ( (lv_runs_24_0= RULE_INT ) ) - // InternalApplicationConfiguration.g:4501:10: (lv_runs_24_0= RULE_INT ) + // InternalApplicationConfiguration.g:4617:9: ( (lv_runs_24_0= RULE_INT ) ) + // InternalApplicationConfiguration.g:4618:10: (lv_runs_24_0= RULE_INT ) { - // InternalApplicationConfiguration.g:4501:10: (lv_runs_24_0= RULE_INT ) - // InternalApplicationConfiguration.g:4502:11: lv_runs_24_0= RULE_INT + // InternalApplicationConfiguration.g:4618:10: (lv_runs_24_0= RULE_INT ) + // InternalApplicationConfiguration.g:4619:11: lv_runs_24_0= RULE_INT { - lv_runs_24_0=(Token)match(input,RULE_INT,FOLLOW_42); + lv_runs_24_0=(Token)match(input,RULE_INT,FOLLOW_43); newLeafNode(lv_runs_24_0, grammarAccess.getGenerationTaskAccess().getRunsINTTerminalRuleCall_3_6_2_0()); @@ -12223,47 +12546,47 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } break; case 8 : - // InternalApplicationConfiguration.g:4524:4: ({...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) ) + // InternalApplicationConfiguration.g:4641:4: ({...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) ) { - // InternalApplicationConfiguration.g:4524:4: ({...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) ) - // InternalApplicationConfiguration.g:4525:5: {...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) + // InternalApplicationConfiguration.g:4641:4: ({...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) ) + // InternalApplicationConfiguration.g:4642:5: {...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) { if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7) ) { throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7)"); } - // InternalApplicationConfiguration.g:4525:111: ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) - // InternalApplicationConfiguration.g:4526:6: ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) + // InternalApplicationConfiguration.g:4642:111: ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) + // InternalApplicationConfiguration.g:4643:6: ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) { getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7); - // InternalApplicationConfiguration.g:4529:9: ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) - // InternalApplicationConfiguration.g:4529:10: {...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) + // InternalApplicationConfiguration.g:4646:9: ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) + // InternalApplicationConfiguration.g:4646:10: {...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) { if ( !((true)) ) { throw new FailedPredicateException(input, "ruleGenerationTask", "true"); } - // InternalApplicationConfiguration.g:4529:19: (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) - // InternalApplicationConfiguration.g:4529:20: otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) + // InternalApplicationConfiguration.g:4646:19: (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) + // InternalApplicationConfiguration.g:4646:20: otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) { - otherlv_25=(Token)match(input,49,FOLLOW_13); + otherlv_25=(Token)match(input,51,FOLLOW_13); newLeafNode(otherlv_25, grammarAccess.getGenerationTaskAccess().getSolverKeyword_3_7_0()); - otherlv_26=(Token)match(input,18,FOLLOW_44); + otherlv_26=(Token)match(input,18,FOLLOW_45); newLeafNode(otherlv_26, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_7_1()); - // InternalApplicationConfiguration.g:4537:9: ( (lv_solver_27_0= ruleSolver ) ) - // InternalApplicationConfiguration.g:4538:10: (lv_solver_27_0= ruleSolver ) + // InternalApplicationConfiguration.g:4654:9: ( (lv_solver_27_0= ruleSolver ) ) + // InternalApplicationConfiguration.g:4655:10: (lv_solver_27_0= ruleSolver ) { - // InternalApplicationConfiguration.g:4538:10: (lv_solver_27_0= ruleSolver ) - // InternalApplicationConfiguration.g:4539:11: lv_solver_27_0= ruleSolver + // InternalApplicationConfiguration.g:4655:10: (lv_solver_27_0= ruleSolver ) + // InternalApplicationConfiguration.g:4656:11: lv_solver_27_0= ruleSolver { newCompositeNode(grammarAccess.getGenerationTaskAccess().getSolverSolverEnumRuleCall_3_7_2_0()); - pushFollow(FOLLOW_42); + pushFollow(FOLLOW_43); lv_solver_27_0=ruleSolver(); state._fsp--; @@ -12304,47 +12627,47 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } break; case 9 : - // InternalApplicationConfiguration.g:4562:4: ({...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) ) + // InternalApplicationConfiguration.g:4679:4: ({...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) ) { - // InternalApplicationConfiguration.g:4562:4: ({...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) ) - // InternalApplicationConfiguration.g:4563:5: {...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) + // InternalApplicationConfiguration.g:4679:4: ({...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) ) + // InternalApplicationConfiguration.g:4680:5: {...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) { if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8) ) { throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8)"); } - // InternalApplicationConfiguration.g:4563:111: ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) - // InternalApplicationConfiguration.g:4564:6: ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) + // InternalApplicationConfiguration.g:4680:111: ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) + // InternalApplicationConfiguration.g:4681:6: ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) { getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8); - // InternalApplicationConfiguration.g:4567:9: ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) - // InternalApplicationConfiguration.g:4567:10: {...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) + // InternalApplicationConfiguration.g:4684:9: ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) + // InternalApplicationConfiguration.g:4684:10: {...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) { if ( !((true)) ) { throw new FailedPredicateException(input, "ruleGenerationTask", "true"); } - // InternalApplicationConfiguration.g:4567:19: (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) - // InternalApplicationConfiguration.g:4567:20: otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) + // InternalApplicationConfiguration.g:4684:19: (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) + // InternalApplicationConfiguration.g:4684:20: otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) { - otherlv_28=(Token)match(input,30,FOLLOW_13); + otherlv_28=(Token)match(input,32,FOLLOW_13); newLeafNode(otherlv_28, grammarAccess.getGenerationTaskAccess().getConfigKeyword_3_8_0()); - otherlv_29=(Token)match(input,18,FOLLOW_43); + otherlv_29=(Token)match(input,18,FOLLOW_44); newLeafNode(otherlv_29, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_8_1()); - // InternalApplicationConfiguration.g:4575:9: ( (lv_config_30_0= ruleConfig ) ) - // InternalApplicationConfiguration.g:4576:10: (lv_config_30_0= ruleConfig ) + // InternalApplicationConfiguration.g:4692:9: ( (lv_config_30_0= ruleConfig ) ) + // InternalApplicationConfiguration.g:4693:10: (lv_config_30_0= ruleConfig ) { - // InternalApplicationConfiguration.g:4576:10: (lv_config_30_0= ruleConfig ) - // InternalApplicationConfiguration.g:4577:11: lv_config_30_0= ruleConfig + // InternalApplicationConfiguration.g:4693:10: (lv_config_30_0= ruleConfig ) + // InternalApplicationConfiguration.g:4694:11: lv_config_30_0= ruleConfig { newCompositeNode(grammarAccess.getGenerationTaskAccess().getConfigConfigParserRuleCall_3_8_2_0()); - pushFollow(FOLLOW_42); + pushFollow(FOLLOW_43); lv_config_30_0=ruleConfig(); state._fsp--; @@ -12385,30 +12708,30 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } break; case 10 : - // InternalApplicationConfiguration.g:4600:4: ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) ) + // InternalApplicationConfiguration.g:4717:4: ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) ) { - // InternalApplicationConfiguration.g:4600:4: ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) ) - // InternalApplicationConfiguration.g:4601:5: {...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) + // InternalApplicationConfiguration.g:4717:4: ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) ) + // InternalApplicationConfiguration.g:4718:5: {...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) { if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9) ) { throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9)"); } - // InternalApplicationConfiguration.g:4601:111: ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) - // InternalApplicationConfiguration.g:4602:6: ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) + // InternalApplicationConfiguration.g:4718:111: ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) + // InternalApplicationConfiguration.g:4719:6: ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) { getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9); - // InternalApplicationConfiguration.g:4605:9: ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) - // InternalApplicationConfiguration.g:4605:10: {...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) + // InternalApplicationConfiguration.g:4722:9: ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) + // InternalApplicationConfiguration.g:4722:10: {...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) { if ( !((true)) ) { throw new FailedPredicateException(input, "ruleGenerationTask", "true"); } - // InternalApplicationConfiguration.g:4605:19: (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) - // InternalApplicationConfiguration.g:4605:20: otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) + // InternalApplicationConfiguration.g:4722:19: (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) + // InternalApplicationConfiguration.g:4722:20: otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) { - otherlv_31=(Token)match(input,50,FOLLOW_13); + otherlv_31=(Token)match(input,52,FOLLOW_13); newLeafNode(otherlv_31, grammarAccess.getGenerationTaskAccess().getDebugKeyword_3_9_0()); @@ -12416,16 +12739,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl newLeafNode(otherlv_32, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_9_1()); - // InternalApplicationConfiguration.g:4613:9: ( (lv_debugFolder_33_0= ruleFile ) ) - // InternalApplicationConfiguration.g:4614:10: (lv_debugFolder_33_0= ruleFile ) + // InternalApplicationConfiguration.g:4730:9: ( (lv_debugFolder_33_0= ruleFile ) ) + // InternalApplicationConfiguration.g:4731:10: (lv_debugFolder_33_0= ruleFile ) { - // InternalApplicationConfiguration.g:4614:10: (lv_debugFolder_33_0= ruleFile ) - // InternalApplicationConfiguration.g:4615:11: lv_debugFolder_33_0= ruleFile + // InternalApplicationConfiguration.g:4731:10: (lv_debugFolder_33_0= ruleFile ) + // InternalApplicationConfiguration.g:4732:11: lv_debugFolder_33_0= ruleFile { newCompositeNode(grammarAccess.getGenerationTaskAccess().getDebugFolderFileParserRuleCall_3_9_2_0()); - pushFollow(FOLLOW_42); + pushFollow(FOLLOW_43); lv_debugFolder_33_0=ruleFile(); state._fsp--; @@ -12466,30 +12789,30 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } break; case 11 : - // InternalApplicationConfiguration.g:4638:4: ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) ) + // InternalApplicationConfiguration.g:4755:4: ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) ) { - // InternalApplicationConfiguration.g:4638:4: ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) ) - // InternalApplicationConfiguration.g:4639:5: {...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) + // InternalApplicationConfiguration.g:4755:4: ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) ) + // InternalApplicationConfiguration.g:4756:5: {...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) { if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10) ) { throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10)"); } - // InternalApplicationConfiguration.g:4639:112: ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) - // InternalApplicationConfiguration.g:4640:6: ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) + // InternalApplicationConfiguration.g:4756:112: ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) + // InternalApplicationConfiguration.g:4757:6: ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) { getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10); - // InternalApplicationConfiguration.g:4643:9: ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) - // InternalApplicationConfiguration.g:4643:10: {...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) + // InternalApplicationConfiguration.g:4760:9: ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) + // InternalApplicationConfiguration.g:4760:10: {...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) { if ( !((true)) ) { throw new FailedPredicateException(input, "ruleGenerationTask", "true"); } - // InternalApplicationConfiguration.g:4643:19: (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) - // InternalApplicationConfiguration.g:4643:20: otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) + // InternalApplicationConfiguration.g:4760:19: (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) + // InternalApplicationConfiguration.g:4760:20: otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) { - otherlv_34=(Token)match(input,51,FOLLOW_13); + otherlv_34=(Token)match(input,53,FOLLOW_13); newLeafNode(otherlv_34, grammarAccess.getGenerationTaskAccess().getLogKeyword_3_10_0()); @@ -12497,16 +12820,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl newLeafNode(otherlv_35, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_10_1()); - // InternalApplicationConfiguration.g:4651:9: ( (lv_targetLogFile_36_0= ruleFile ) ) - // InternalApplicationConfiguration.g:4652:10: (lv_targetLogFile_36_0= ruleFile ) + // InternalApplicationConfiguration.g:4768:9: ( (lv_targetLogFile_36_0= ruleFile ) ) + // InternalApplicationConfiguration.g:4769:10: (lv_targetLogFile_36_0= ruleFile ) { - // InternalApplicationConfiguration.g:4652:10: (lv_targetLogFile_36_0= ruleFile ) - // InternalApplicationConfiguration.g:4653:11: lv_targetLogFile_36_0= ruleFile + // InternalApplicationConfiguration.g:4769:10: (lv_targetLogFile_36_0= ruleFile ) + // InternalApplicationConfiguration.g:4770:11: lv_targetLogFile_36_0= ruleFile { newCompositeNode(grammarAccess.getGenerationTaskAccess().getTargetLogFileFileParserRuleCall_3_10_2_0()); - pushFollow(FOLLOW_42); + pushFollow(FOLLOW_43); lv_targetLogFile_36_0=ruleFile(); state._fsp--; @@ -12547,30 +12870,30 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } break; case 12 : - // InternalApplicationConfiguration.g:4676:4: ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) ) + // InternalApplicationConfiguration.g:4793:4: ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) ) { - // InternalApplicationConfiguration.g:4676:4: ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) ) - // InternalApplicationConfiguration.g:4677:5: {...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) + // InternalApplicationConfiguration.g:4793:4: ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) ) + // InternalApplicationConfiguration.g:4794:5: {...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) { if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11) ) { throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11)"); } - // InternalApplicationConfiguration.g:4677:112: ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) - // InternalApplicationConfiguration.g:4678:6: ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) + // InternalApplicationConfiguration.g:4794:112: ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) + // InternalApplicationConfiguration.g:4795:6: ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) { getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11); - // InternalApplicationConfiguration.g:4681:9: ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) - // InternalApplicationConfiguration.g:4681:10: {...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) + // InternalApplicationConfiguration.g:4798:9: ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) + // InternalApplicationConfiguration.g:4798:10: {...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) { if ( !((true)) ) { throw new FailedPredicateException(input, "ruleGenerationTask", "true"); } - // InternalApplicationConfiguration.g:4681:19: (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) - // InternalApplicationConfiguration.g:4681:20: otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) + // InternalApplicationConfiguration.g:4798:19: (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) + // InternalApplicationConfiguration.g:4798:20: otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) { - otherlv_37=(Token)match(input,52,FOLLOW_13); + otherlv_37=(Token)match(input,54,FOLLOW_13); newLeafNode(otherlv_37, grammarAccess.getGenerationTaskAccess().getStatisticsKeyword_3_11_0()); @@ -12578,16 +12901,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl newLeafNode(otherlv_38, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_11_1()); - // InternalApplicationConfiguration.g:4689:9: ( (lv_targetStatisticsFile_39_0= ruleFile ) ) - // InternalApplicationConfiguration.g:4690:10: (lv_targetStatisticsFile_39_0= ruleFile ) + // InternalApplicationConfiguration.g:4806:9: ( (lv_targetStatisticsFile_39_0= ruleFile ) ) + // InternalApplicationConfiguration.g:4807:10: (lv_targetStatisticsFile_39_0= ruleFile ) { - // InternalApplicationConfiguration.g:4690:10: (lv_targetStatisticsFile_39_0= ruleFile ) - // InternalApplicationConfiguration.g:4691:11: lv_targetStatisticsFile_39_0= ruleFile + // InternalApplicationConfiguration.g:4807:10: (lv_targetStatisticsFile_39_0= ruleFile ) + // InternalApplicationConfiguration.g:4808:11: lv_targetStatisticsFile_39_0= ruleFile { newCompositeNode(grammarAccess.getGenerationTaskAccess().getTargetStatisticsFileFileParserRuleCall_3_11_2_0()); - pushFollow(FOLLOW_42); + pushFollow(FOLLOW_43); lv_targetStatisticsFile_39_0=ruleFile(); state._fsp--; @@ -12628,30 +12951,30 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } break; case 13 : - // InternalApplicationConfiguration.g:4714:4: ({...}? => ( ({...}? => (otherlv_40= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) ) + // InternalApplicationConfiguration.g:4831:4: ({...}? => ( ({...}? => (otherlv_40= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) ) { - // InternalApplicationConfiguration.g:4714:4: ({...}? => ( ({...}? => (otherlv_40= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) ) - // InternalApplicationConfiguration.g:4715:5: {...}? => ( ({...}? => (otherlv_40= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) + // InternalApplicationConfiguration.g:4831:4: ({...}? => ( ({...}? => (otherlv_40= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) ) + // InternalApplicationConfiguration.g:4832:5: {...}? => ( ({...}? => (otherlv_40= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) { if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 12) ) { throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 12)"); } - // InternalApplicationConfiguration.g:4715:112: ( ({...}? => (otherlv_40= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) - // InternalApplicationConfiguration.g:4716:6: ({...}? => (otherlv_40= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) + // InternalApplicationConfiguration.g:4832:112: ( ({...}? => (otherlv_40= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) + // InternalApplicationConfiguration.g:4833:6: ({...}? => (otherlv_40= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) { getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 12); - // InternalApplicationConfiguration.g:4719:9: ({...}? => (otherlv_40= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) - // InternalApplicationConfiguration.g:4719:10: {...}? => (otherlv_40= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) + // InternalApplicationConfiguration.g:4836:9: ({...}? => (otherlv_40= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) + // InternalApplicationConfiguration.g:4836:10: {...}? => (otherlv_40= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) { if ( !((true)) ) { throw new FailedPredicateException(input, "ruleGenerationTask", "true"); } - // InternalApplicationConfiguration.g:4719:19: (otherlv_40= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) - // InternalApplicationConfiguration.g:4719:20: otherlv_40= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) + // InternalApplicationConfiguration.g:4836:19: (otherlv_40= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) + // InternalApplicationConfiguration.g:4836:20: otherlv_40= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) { - otherlv_40=(Token)match(input,53,FOLLOW_13); + otherlv_40=(Token)match(input,55,FOLLOW_13); newLeafNode(otherlv_40, grammarAccess.getGenerationTaskAccess().getOutputKeyword_3_12_0()); @@ -12659,16 +12982,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl newLeafNode(otherlv_41, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_12_1()); - // InternalApplicationConfiguration.g:4727:9: ( (lv_tagetFolder_42_0= ruleFile ) ) - // InternalApplicationConfiguration.g:4728:10: (lv_tagetFolder_42_0= ruleFile ) + // InternalApplicationConfiguration.g:4844:9: ( (lv_tagetFolder_42_0= ruleFile ) ) + // InternalApplicationConfiguration.g:4845:10: (lv_tagetFolder_42_0= ruleFile ) { - // InternalApplicationConfiguration.g:4728:10: (lv_tagetFolder_42_0= ruleFile ) - // InternalApplicationConfiguration.g:4729:11: lv_tagetFolder_42_0= ruleFile + // InternalApplicationConfiguration.g:4845:10: (lv_tagetFolder_42_0= ruleFile ) + // InternalApplicationConfiguration.g:4846:11: lv_tagetFolder_42_0= ruleFile { newCompositeNode(grammarAccess.getGenerationTaskAccess().getTagetFolderFileParserRuleCall_3_12_2_0()); - pushFollow(FOLLOW_42); + pushFollow(FOLLOW_43); lv_tagetFolder_42_0=ruleFile(); state._fsp--; @@ -12710,7 +13033,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl break; default : - break loop58; + break loop60; } } while (true); @@ -12753,7 +13076,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleOptimizationDirection" - // InternalApplicationConfiguration.g:4767:1: ruleOptimizationDirection returns [Enumerator current=null] : ( (enumLiteral_0= 'minimize' ) | (enumLiteral_1= 'maximize' ) ) ; + // InternalApplicationConfiguration.g:4884:1: ruleOptimizationDirection returns [Enumerator current=null] : ( (enumLiteral_0= 'minimize' ) | (enumLiteral_1= 'maximize' ) ) ; public final Enumerator ruleOptimizationDirection() throws RecognitionException { Enumerator current = null; @@ -12764,33 +13087,33 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:4773:2: ( ( (enumLiteral_0= 'minimize' ) | (enumLiteral_1= 'maximize' ) ) ) - // InternalApplicationConfiguration.g:4774:2: ( (enumLiteral_0= 'minimize' ) | (enumLiteral_1= 'maximize' ) ) + // InternalApplicationConfiguration.g:4890:2: ( ( (enumLiteral_0= 'minimize' ) | (enumLiteral_1= 'maximize' ) ) ) + // InternalApplicationConfiguration.g:4891:2: ( (enumLiteral_0= 'minimize' ) | (enumLiteral_1= 'maximize' ) ) { - // InternalApplicationConfiguration.g:4774:2: ( (enumLiteral_0= 'minimize' ) | (enumLiteral_1= 'maximize' ) ) - int alt59=2; - int LA59_0 = input.LA(1); + // InternalApplicationConfiguration.g:4891:2: ( (enumLiteral_0= 'minimize' ) | (enumLiteral_1= 'maximize' ) ) + int alt61=2; + int LA61_0 = input.LA(1); - if ( (LA59_0==54) ) { - alt59=1; + if ( (LA61_0==56) ) { + alt61=1; } - else if ( (LA59_0==55) ) { - alt59=2; + else if ( (LA61_0==57) ) { + alt61=2; } else { NoViableAltException nvae = - new NoViableAltException("", 59, 0, input); + new NoViableAltException("", 61, 0, input); throw nvae; } - switch (alt59) { + switch (alt61) { case 1 : - // InternalApplicationConfiguration.g:4775:3: (enumLiteral_0= 'minimize' ) + // InternalApplicationConfiguration.g:4892:3: (enumLiteral_0= 'minimize' ) { - // InternalApplicationConfiguration.g:4775:3: (enumLiteral_0= 'minimize' ) - // InternalApplicationConfiguration.g:4776:4: enumLiteral_0= 'minimize' + // InternalApplicationConfiguration.g:4892:3: (enumLiteral_0= 'minimize' ) + // InternalApplicationConfiguration.g:4893:4: enumLiteral_0= 'minimize' { - enumLiteral_0=(Token)match(input,54,FOLLOW_2); + enumLiteral_0=(Token)match(input,56,FOLLOW_2); current = grammarAccess.getOptimizationDirectionAccess().getMINIMIZEEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); newLeafNode(enumLiteral_0, grammarAccess.getOptimizationDirectionAccess().getMINIMIZEEnumLiteralDeclaration_0()); @@ -12802,12 +13125,12 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } break; case 2 : - // InternalApplicationConfiguration.g:4783:3: (enumLiteral_1= 'maximize' ) + // InternalApplicationConfiguration.g:4900:3: (enumLiteral_1= 'maximize' ) { - // InternalApplicationConfiguration.g:4783:3: (enumLiteral_1= 'maximize' ) - // InternalApplicationConfiguration.g:4784:4: enumLiteral_1= 'maximize' + // InternalApplicationConfiguration.g:4900:3: (enumLiteral_1= 'maximize' ) + // InternalApplicationConfiguration.g:4901:4: enumLiteral_1= 'maximize' { - enumLiteral_1=(Token)match(input,55,FOLLOW_2); + enumLiteral_1=(Token)match(input,57,FOLLOW_2); current = grammarAccess.getOptimizationDirectionAccess().getMAXIMIZEEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); newLeafNode(enumLiteral_1, grammarAccess.getOptimizationDirectionAccess().getMAXIMIZEEnumLiteralDeclaration_1()); @@ -12841,7 +13164,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleComparisonOperator" - // InternalApplicationConfiguration.g:4794:1: ruleComparisonOperator returns [Enumerator current=null] : ( (enumLiteral_0= '<=' ) | (enumLiteral_1= '>=' ) ) ; + // InternalApplicationConfiguration.g:4911:1: ruleComparisonOperator returns [Enumerator current=null] : ( (enumLiteral_0= '<=' ) | (enumLiteral_1= '>=' ) ) ; public final Enumerator ruleComparisonOperator() throws RecognitionException { Enumerator current = null; @@ -12852,33 +13175,33 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:4800:2: ( ( (enumLiteral_0= '<=' ) | (enumLiteral_1= '>=' ) ) ) - // InternalApplicationConfiguration.g:4801:2: ( (enumLiteral_0= '<=' ) | (enumLiteral_1= '>=' ) ) + // InternalApplicationConfiguration.g:4917:2: ( ( (enumLiteral_0= '<=' ) | (enumLiteral_1= '>=' ) ) ) + // InternalApplicationConfiguration.g:4918:2: ( (enumLiteral_0= '<=' ) | (enumLiteral_1= '>=' ) ) { - // InternalApplicationConfiguration.g:4801:2: ( (enumLiteral_0= '<=' ) | (enumLiteral_1= '>=' ) ) - int alt60=2; - int LA60_0 = input.LA(1); + // InternalApplicationConfiguration.g:4918:2: ( (enumLiteral_0= '<=' ) | (enumLiteral_1= '>=' ) ) + int alt62=2; + int LA62_0 = input.LA(1); - if ( (LA60_0==56) ) { - alt60=1; + if ( (LA62_0==58) ) { + alt62=1; } - else if ( (LA60_0==57) ) { - alt60=2; + else if ( (LA62_0==59) ) { + alt62=2; } else { NoViableAltException nvae = - new NoViableAltException("", 60, 0, input); + new NoViableAltException("", 62, 0, input); throw nvae; } - switch (alt60) { + switch (alt62) { case 1 : - // InternalApplicationConfiguration.g:4802:3: (enumLiteral_0= '<=' ) + // InternalApplicationConfiguration.g:4919:3: (enumLiteral_0= '<=' ) { - // InternalApplicationConfiguration.g:4802:3: (enumLiteral_0= '<=' ) - // InternalApplicationConfiguration.g:4803:4: enumLiteral_0= '<=' + // InternalApplicationConfiguration.g:4919:3: (enumLiteral_0= '<=' ) + // InternalApplicationConfiguration.g:4920:4: enumLiteral_0= '<=' { - enumLiteral_0=(Token)match(input,56,FOLLOW_2); + enumLiteral_0=(Token)match(input,58,FOLLOW_2); current = grammarAccess.getComparisonOperatorAccess().getLESS_EQUALSEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); newLeafNode(enumLiteral_0, grammarAccess.getComparisonOperatorAccess().getLESS_EQUALSEnumLiteralDeclaration_0()); @@ -12890,12 +13213,12 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } break; case 2 : - // InternalApplicationConfiguration.g:4810:3: (enumLiteral_1= '>=' ) + // InternalApplicationConfiguration.g:4927:3: (enumLiteral_1= '>=' ) { - // InternalApplicationConfiguration.g:4810:3: (enumLiteral_1= '>=' ) - // InternalApplicationConfiguration.g:4811:4: enumLiteral_1= '>=' + // InternalApplicationConfiguration.g:4927:3: (enumLiteral_1= '>=' ) + // InternalApplicationConfiguration.g:4928:4: enumLiteral_1= '>=' { - enumLiteral_1=(Token)match(input,57,FOLLOW_2); + enumLiteral_1=(Token)match(input,59,FOLLOW_2); current = grammarAccess.getComparisonOperatorAccess().getGREATER_EQUALSEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); newLeafNode(enumLiteral_1, grammarAccess.getComparisonOperatorAccess().getGREATER_EQUALSEnumLiteralDeclaration_1()); @@ -12929,7 +13252,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleDocumentLevelSpecification" - // InternalApplicationConfiguration.g:4821:1: ruleDocumentLevelSpecification returns [Enumerator current=null] : ( (enumLiteral_0= 'none' ) | (enumLiteral_1= 'normal' ) | (enumLiteral_2= 'full' ) ) ; + // InternalApplicationConfiguration.g:4938:1: ruleDocumentLevelSpecification returns [Enumerator current=null] : ( (enumLiteral_0= 'none' ) | (enumLiteral_1= 'normal' ) | (enumLiteral_2= 'full' ) ) ; public final Enumerator ruleDocumentLevelSpecification() throws RecognitionException { Enumerator current = null; @@ -12941,42 +13264,42 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:4827:2: ( ( (enumLiteral_0= 'none' ) | (enumLiteral_1= 'normal' ) | (enumLiteral_2= 'full' ) ) ) - // InternalApplicationConfiguration.g:4828:2: ( (enumLiteral_0= 'none' ) | (enumLiteral_1= 'normal' ) | (enumLiteral_2= 'full' ) ) + // InternalApplicationConfiguration.g:4944:2: ( ( (enumLiteral_0= 'none' ) | (enumLiteral_1= 'normal' ) | (enumLiteral_2= 'full' ) ) ) + // InternalApplicationConfiguration.g:4945:2: ( (enumLiteral_0= 'none' ) | (enumLiteral_1= 'normal' ) | (enumLiteral_2= 'full' ) ) { - // InternalApplicationConfiguration.g:4828:2: ( (enumLiteral_0= 'none' ) | (enumLiteral_1= 'normal' ) | (enumLiteral_2= 'full' ) ) - int alt61=3; + // InternalApplicationConfiguration.g:4945:2: ( (enumLiteral_0= 'none' ) | (enumLiteral_1= 'normal' ) | (enumLiteral_2= 'full' ) ) + int alt63=3; switch ( input.LA(1) ) { - case 58: + case 60: { - alt61=1; + alt63=1; } break; - case 59: + case 61: { - alt61=2; + alt63=2; } break; - case 60: + case 62: { - alt61=3; + alt63=3; } break; default: NoViableAltException nvae = - new NoViableAltException("", 61, 0, input); + new NoViableAltException("", 63, 0, input); throw nvae; } - switch (alt61) { + switch (alt63) { case 1 : - // InternalApplicationConfiguration.g:4829:3: (enumLiteral_0= 'none' ) + // InternalApplicationConfiguration.g:4946:3: (enumLiteral_0= 'none' ) { - // InternalApplicationConfiguration.g:4829:3: (enumLiteral_0= 'none' ) - // InternalApplicationConfiguration.g:4830:4: enumLiteral_0= 'none' + // InternalApplicationConfiguration.g:4946:3: (enumLiteral_0= 'none' ) + // InternalApplicationConfiguration.g:4947:4: enumLiteral_0= 'none' { - enumLiteral_0=(Token)match(input,58,FOLLOW_2); + enumLiteral_0=(Token)match(input,60,FOLLOW_2); current = grammarAccess.getDocumentLevelSpecificationAccess().getNoneEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); newLeafNode(enumLiteral_0, grammarAccess.getDocumentLevelSpecificationAccess().getNoneEnumLiteralDeclaration_0()); @@ -12988,12 +13311,12 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } break; case 2 : - // InternalApplicationConfiguration.g:4837:3: (enumLiteral_1= 'normal' ) + // InternalApplicationConfiguration.g:4954:3: (enumLiteral_1= 'normal' ) { - // InternalApplicationConfiguration.g:4837:3: (enumLiteral_1= 'normal' ) - // InternalApplicationConfiguration.g:4838:4: enumLiteral_1= 'normal' + // InternalApplicationConfiguration.g:4954:3: (enumLiteral_1= 'normal' ) + // InternalApplicationConfiguration.g:4955:4: enumLiteral_1= 'normal' { - enumLiteral_1=(Token)match(input,59,FOLLOW_2); + enumLiteral_1=(Token)match(input,61,FOLLOW_2); current = grammarAccess.getDocumentLevelSpecificationAccess().getNormalEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); newLeafNode(enumLiteral_1, grammarAccess.getDocumentLevelSpecificationAccess().getNormalEnumLiteralDeclaration_1()); @@ -13005,12 +13328,12 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } break; case 3 : - // InternalApplicationConfiguration.g:4845:3: (enumLiteral_2= 'full' ) + // InternalApplicationConfiguration.g:4962:3: (enumLiteral_2= 'full' ) { - // InternalApplicationConfiguration.g:4845:3: (enumLiteral_2= 'full' ) - // InternalApplicationConfiguration.g:4846:4: enumLiteral_2= 'full' + // InternalApplicationConfiguration.g:4962:3: (enumLiteral_2= 'full' ) + // InternalApplicationConfiguration.g:4963:4: enumLiteral_2= 'full' { - enumLiteral_2=(Token)match(input,60,FOLLOW_2); + enumLiteral_2=(Token)match(input,62,FOLLOW_2); current = grammarAccess.getDocumentLevelSpecificationAccess().getFullEnumLiteralDeclaration_2().getEnumLiteral().getInstance(); newLeafNode(enumLiteral_2, grammarAccess.getDocumentLevelSpecificationAccess().getFullEnumLiteralDeclaration_2()); @@ -13044,7 +13367,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleSolver" - // InternalApplicationConfiguration.g:4856:1: ruleSolver returns [Enumerator current=null] : ( (enumLiteral_0= 'SMTSolver' ) | (enumLiteral_1= 'AlloySolver' ) | (enumLiteral_2= 'ViatraSolver' ) ) ; + // InternalApplicationConfiguration.g:4973:1: ruleSolver returns [Enumerator current=null] : ( (enumLiteral_0= 'SMTSolver' ) | (enumLiteral_1= 'AlloySolver' ) | (enumLiteral_2= 'ViatraSolver' ) ) ; public final Enumerator ruleSolver() throws RecognitionException { Enumerator current = null; @@ -13056,42 +13379,42 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:4862:2: ( ( (enumLiteral_0= 'SMTSolver' ) | (enumLiteral_1= 'AlloySolver' ) | (enumLiteral_2= 'ViatraSolver' ) ) ) - // InternalApplicationConfiguration.g:4863:2: ( (enumLiteral_0= 'SMTSolver' ) | (enumLiteral_1= 'AlloySolver' ) | (enumLiteral_2= 'ViatraSolver' ) ) + // InternalApplicationConfiguration.g:4979:2: ( ( (enumLiteral_0= 'SMTSolver' ) | (enumLiteral_1= 'AlloySolver' ) | (enumLiteral_2= 'ViatraSolver' ) ) ) + // InternalApplicationConfiguration.g:4980:2: ( (enumLiteral_0= 'SMTSolver' ) | (enumLiteral_1= 'AlloySolver' ) | (enumLiteral_2= 'ViatraSolver' ) ) { - // InternalApplicationConfiguration.g:4863:2: ( (enumLiteral_0= 'SMTSolver' ) | (enumLiteral_1= 'AlloySolver' ) | (enumLiteral_2= 'ViatraSolver' ) ) - int alt62=3; + // InternalApplicationConfiguration.g:4980:2: ( (enumLiteral_0= 'SMTSolver' ) | (enumLiteral_1= 'AlloySolver' ) | (enumLiteral_2= 'ViatraSolver' ) ) + int alt64=3; switch ( input.LA(1) ) { - case 61: + case 63: { - alt62=1; + alt64=1; } break; - case 62: + case 64: { - alt62=2; + alt64=2; } break; - case 63: + case 65: { - alt62=3; + alt64=3; } break; default: NoViableAltException nvae = - new NoViableAltException("", 62, 0, input); + new NoViableAltException("", 64, 0, input); throw nvae; } - switch (alt62) { + switch (alt64) { case 1 : - // InternalApplicationConfiguration.g:4864:3: (enumLiteral_0= 'SMTSolver' ) + // InternalApplicationConfiguration.g:4981:3: (enumLiteral_0= 'SMTSolver' ) { - // InternalApplicationConfiguration.g:4864:3: (enumLiteral_0= 'SMTSolver' ) - // InternalApplicationConfiguration.g:4865:4: enumLiteral_0= 'SMTSolver' + // InternalApplicationConfiguration.g:4981:3: (enumLiteral_0= 'SMTSolver' ) + // InternalApplicationConfiguration.g:4982:4: enumLiteral_0= 'SMTSolver' { - enumLiteral_0=(Token)match(input,61,FOLLOW_2); + enumLiteral_0=(Token)match(input,63,FOLLOW_2); current = grammarAccess.getSolverAccess().getSMTSolverEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); newLeafNode(enumLiteral_0, grammarAccess.getSolverAccess().getSMTSolverEnumLiteralDeclaration_0()); @@ -13103,12 +13426,12 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } break; case 2 : - // InternalApplicationConfiguration.g:4872:3: (enumLiteral_1= 'AlloySolver' ) + // InternalApplicationConfiguration.g:4989:3: (enumLiteral_1= 'AlloySolver' ) { - // InternalApplicationConfiguration.g:4872:3: (enumLiteral_1= 'AlloySolver' ) - // InternalApplicationConfiguration.g:4873:4: enumLiteral_1= 'AlloySolver' + // InternalApplicationConfiguration.g:4989:3: (enumLiteral_1= 'AlloySolver' ) + // InternalApplicationConfiguration.g:4990:4: enumLiteral_1= 'AlloySolver' { - enumLiteral_1=(Token)match(input,62,FOLLOW_2); + enumLiteral_1=(Token)match(input,64,FOLLOW_2); current = grammarAccess.getSolverAccess().getAlloySolverEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); newLeafNode(enumLiteral_1, grammarAccess.getSolverAccess().getAlloySolverEnumLiteralDeclaration_1()); @@ -13120,12 +13443,12 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } break; case 3 : - // InternalApplicationConfiguration.g:4880:3: (enumLiteral_2= 'ViatraSolver' ) + // InternalApplicationConfiguration.g:4997:3: (enumLiteral_2= 'ViatraSolver' ) { - // InternalApplicationConfiguration.g:4880:3: (enumLiteral_2= 'ViatraSolver' ) - // InternalApplicationConfiguration.g:4881:4: enumLiteral_2= 'ViatraSolver' + // InternalApplicationConfiguration.g:4997:3: (enumLiteral_2= 'ViatraSolver' ) + // InternalApplicationConfiguration.g:4998:4: enumLiteral_2= 'ViatraSolver' { - enumLiteral_2=(Token)match(input,63,FOLLOW_2); + enumLiteral_2=(Token)match(input,65,FOLLOW_2); current = grammarAccess.getSolverAccess().getViatraSolverEnumLiteralDeclaration_2().getEnumLiteral().getInstance(); newLeafNode(enumLiteral_2, grammarAccess.getSolverAccess().getViatraSolverEnumLiteralDeclaration_2()); @@ -13160,14 +13483,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // Delegated rules - protected DFA58 dfa58 = new DFA58(this); + protected DFA60 dfa60 = new DFA60(this); static final String dfa_1s = "\17\uffff"; static final String dfa_2s = "\1\25\16\uffff"; - static final String dfa_3s = "\1\65\16\uffff"; + static final String dfa_3s = "\1\67\16\uffff"; static final String dfa_4s = "\1\uffff\1\16\1\1\1\2\1\3\1\4\1\5\1\6\1\7\1\10\1\11\1\12\1\13\1\14\1\15"; static final String dfa_5s = "\1\0\16\uffff}>"; static final String[] dfa_6s = { - "\1\1\3\uffff\1\2\2\uffff\1\4\1\5\1\12\15\uffff\1\6\1\uffff\1\3\1\7\1\10\1\11\1\13\1\14\1\15\1\16", + "\1\1\3\uffff\1\2\2\uffff\1\4\2\uffff\1\5\1\12\15\uffff\1\6\1\uffff\1\3\1\7\1\10\1\11\1\13\1\14\1\15\1\16", "", "", "", @@ -13191,11 +13514,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl static final short[] dfa_5 = DFA.unpackEncodedString(dfa_5s); static final short[][] dfa_6 = unpackEncodedStringArray(dfa_6s); - class DFA58 extends DFA { + class DFA60 extends DFA { - public DFA58(BaseRecognizer recognizer) { + public DFA60(BaseRecognizer recognizer) { this.recognizer = recognizer; - this.decisionNumber = 58; + this.decisionNumber = 60; this.eot = dfa_1; this.eof = dfa_1; this.min = dfa_2; @@ -13205,54 +13528,54 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl this.transition = dfa_6; } public String getDescription() { - return "()* loopback of 4239:6: ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (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= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) ) )*"; + return "()* loopback of 4356:6: ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (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= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) ) )*"; } public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { TokenStream input = (TokenStream)_input; int _s = s; switch ( s ) { case 0 : - int LA58_0 = input.LA(1); + int LA60_0 = input.LA(1); - int index58_0 = input.index(); + int index60_0 = input.index(); input.rewind(); s = -1; - if ( (LA58_0==21) ) {s = 1;} + if ( (LA60_0==21) ) {s = 1;} - else if ( LA58_0 == 25 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0) ) {s = 2;} + else if ( LA60_0 == 25 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0) ) {s = 2;} - else if ( LA58_0 == 46 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1) ) {s = 3;} + else if ( LA60_0 == 48 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1) ) {s = 3;} - else if ( LA58_0 == 28 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2) ) {s = 4;} + else if ( LA60_0 == 28 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2) ) {s = 4;} - else if ( LA58_0 == 29 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3) ) {s = 5;} + else if ( LA60_0 == 31 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3) ) {s = 5;} - else if ( LA58_0 == 44 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4) ) {s = 6;} + else if ( LA60_0 == 46 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4) ) {s = 6;} - else if ( LA58_0 == 47 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5) ) {s = 7;} + else if ( LA60_0 == 49 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5) ) {s = 7;} - else if ( LA58_0 == 48 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6) ) {s = 8;} + else if ( LA60_0 == 50 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6) ) {s = 8;} - else if ( LA58_0 == 49 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7) ) {s = 9;} + else if ( LA60_0 == 51 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7) ) {s = 9;} - else if ( LA58_0 == 30 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8) ) {s = 10;} + else if ( LA60_0 == 32 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8) ) {s = 10;} - else if ( LA58_0 == 50 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9) ) {s = 11;} + else if ( LA60_0 == 52 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9) ) {s = 11;} - else if ( LA58_0 == 51 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10) ) {s = 12;} + else if ( LA60_0 == 53 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10) ) {s = 12;} - else if ( LA58_0 == 52 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11) ) {s = 13;} + else if ( LA60_0 == 54 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11) ) {s = 13;} - else if ( LA58_0 == 53 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 12) ) {s = 14;} + else if ( LA60_0 == 55 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 12) ) {s = 14;} - input.seek(index58_0); + input.seek(index60_0); if ( s>=0 ) return s; break; } NoViableAltException nvae = - new NoViableAltException(getDescription(), 58, _s, input); + new NoViableAltException(getDescription(), 60, _s, input); error(nvae); throw nvae; } @@ -13261,8 +13584,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[]{0x000030007A022002L}); - public static final BitSet FOLLOW_4 = new BitSet(new long[]{0x000030007A020002L}); + public static final BitSet FOLLOW_3 = new BitSet(new long[]{0x0000C0019A022002L}); + public static final BitSet FOLLOW_4 = new BitSet(new long[]{0x0000C0019A020002L}); 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[]{0x0000000000000020L}); @@ -13280,28 +13603,29 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl public static final BitSet FOLLOW_19 = new BitSet(new long[]{0x0000000004000050L}); public static final BitSet FOLLOW_20 = new BitSet(new long[]{0x0000000000200000L}); public static final BitSet FOLLOW_21 = new BitSet(new long[]{0x0000000000000050L}); - public static final BitSet FOLLOW_22 = new BitSet(new long[]{0x00C0000000010000L}); - public static final BitSet FOLLOW_23 = new BitSet(new long[]{0x0300000000000000L}); + public static final BitSet FOLLOW_22 = new BitSet(new long[]{0x0300000040010000L}); + public static final BitSet FOLLOW_23 = new BitSet(new long[]{0x0C00000000000000L}); public static final BitSet FOLLOW_24 = new BitSet(new long[]{0x0000000000001020L}); - public static final BitSet FOLLOW_25 = new BitSet(new long[]{0x0000000380200040L}); - public static final BitSet FOLLOW_26 = new BitSet(new long[]{0x0000000380000040L}); - public static final BitSet FOLLOW_27 = new BitSet(new long[]{0x1C00000000000000L}); - public static final BitSet FOLLOW_28 = new BitSet(new long[]{0x0000000400200000L}); - public static final BitSet FOLLOW_29 = new BitSet(new long[]{0x0000000400000000L}); + public static final BitSet FOLLOW_25 = new BitSet(new long[]{0x0000000020000000L}); + public static final BitSet FOLLOW_26 = new BitSet(new long[]{0x0000000E00200040L}); + public static final BitSet FOLLOW_27 = new BitSet(new long[]{0x0000000E00000040L}); + public static final BitSet FOLLOW_28 = new BitSet(new long[]{0x7000000000000000L}); + public static final BitSet FOLLOW_29 = new BitSet(new long[]{0x0000001000200000L}); public static final BitSet FOLLOW_30 = new BitSet(new long[]{0x0000001000000000L}); - public static final BitSet FOLLOW_31 = new BitSet(new long[]{0x0000000800040000L}); - public static final BitSet FOLLOW_32 = new BitSet(new long[]{0x0000040000000020L}); - public static final BitSet FOLLOW_33 = new BitSet(new long[]{0x0000004000000000L}); - public static final BitSet FOLLOW_34 = new BitSet(new long[]{0x0000008000000000L}); - public static final BitSet FOLLOW_35 = new BitSet(new long[]{0x0000040000080020L}); - public static final BitSet FOLLOW_36 = new BitSet(new long[]{0x0000010000000000L}); - public static final BitSet FOLLOW_37 = new BitSet(new long[]{0x0000020000000000L}); - public static final BitSet FOLLOW_38 = new BitSet(new long[]{0x0000002000000000L}); - public static final BitSet FOLLOW_39 = new BitSet(new long[]{0x0000080000000000L}); - public static final BitSet FOLLOW_40 = new BitSet(new long[]{0x0000000000201020L}); - public static final BitSet FOLLOW_41 = new BitSet(new long[]{0x0000000000200040L}); - public static final BitSet FOLLOW_42 = new BitSet(new long[]{0x003FD00072200000L}); - public static final BitSet FOLLOW_43 = new BitSet(new long[]{0x0000000000080010L}); - public static final BitSet FOLLOW_44 = new BitSet(new long[]{0xE000000000000000L}); + public static final BitSet FOLLOW_31 = new BitSet(new long[]{0x0000004000000000L}); + public static final BitSet FOLLOW_32 = new BitSet(new long[]{0x0000002000040000L}); + public static final BitSet FOLLOW_33 = new BitSet(new long[]{0x0000100000000020L}); + public static final BitSet FOLLOW_34 = new BitSet(new long[]{0x0000010000000000L}); + public static final BitSet FOLLOW_35 = new BitSet(new long[]{0x0000020000000000L}); + public static final BitSet FOLLOW_36 = new BitSet(new long[]{0x0000100000080020L}); + public static final BitSet FOLLOW_37 = new BitSet(new long[]{0x0000040000000000L}); + public static final BitSet FOLLOW_38 = new BitSet(new long[]{0x0000080000000000L}); + public static final BitSet FOLLOW_39 = new BitSet(new long[]{0x0000008000000000L}); + public static final BitSet FOLLOW_40 = new BitSet(new long[]{0x0000200000000000L}); + public static final BitSet FOLLOW_41 = new BitSet(new long[]{0x0000000000201020L}); + public static final BitSet FOLLOW_42 = new BitSet(new long[]{0x0000000000200040L}); + public static final BitSet FOLLOW_43 = new BitSet(new long[]{0x00FF400192200000L}); + public static final BitSet FOLLOW_44 = new BitSet(new long[]{0x0000000000080010L}); + public static final BitSet FOLLOW_45 = new BitSet(new long[]{0x8000000000000000L,0x0000000000000003L}); } 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 d60d7cf5..d1128378 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 @@ -35,6 +35,7 @@ import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Metamodel import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelReference; import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelSpecification; import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ModelEntry; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Mtff; import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ObjectReference; import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ObjectTypeScope; import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ObjectiveDeclaration; @@ -49,7 +50,7 @@ import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PatternSp import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RealEnumeration; import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RealScope; import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RealTypeScope; -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ReliabiltiyFunction; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ReliabiltiyProbability; import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RuntimeEntry; import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ScopeDeclaration; import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ScopeReference; @@ -175,6 +176,9 @@ public class ApplicationConfigurationSemanticSequencer extends AbstractDelegatin case ApplicationConfigurationPackage.MODEL_ENTRY: sequence_ModelEntry(context, (ModelEntry) semanticObject); return; + case ApplicationConfigurationPackage.MTFF: + sequence_Mtff(context, (Mtff) semanticObject); + return; case ApplicationConfigurationPackage.OBJECT_REFERENCE: sequence_ObjectReference(context, (ObjectReference) semanticObject); return; @@ -217,8 +221,8 @@ public class ApplicationConfigurationSemanticSequencer extends AbstractDelegatin case ApplicationConfigurationPackage.REAL_TYPE_SCOPE: sequence_RealTypeScope(context, (RealTypeScope) semanticObject); return; - case ApplicationConfigurationPackage.RELIABILTIY_FUNCTION: - sequence_ReliabiltiyFunction(context, (ReliabiltiyFunction) semanticObject); + case ApplicationConfigurationPackage.RELIABILTIY_PROBABILITY: + sequence_ReliabiltiyProbability(context, (ReliabiltiyProbability) semanticObject); return; case ApplicationConfigurationPackage.RUNTIME_ENTRY: sequence_RuntimeEntry(context, (RuntimeEntry) semanticObject); @@ -773,6 +777,20 @@ public class ApplicationConfigurationSemanticSequencer extends AbstractDelegatin } + /** + * Contexts: + * ObjectiveFunction returns Mtff + * ReliabilityObjectiveFunction returns Mtff + * Mtff returns Mtff + * + * Constraint: + * (package=[CftModel|QualifiedName]? transformation=[TransformationDefinition|ID]) + */ + protected void sequence_Mtff(ISerializationContext context, Mtff semanticObject) { + genericSequencer.createSequence(context, semanticObject); + } + + /** * Contexts: * TypeReference returns ObjectReference @@ -998,13 +1016,14 @@ public class ApplicationConfigurationSemanticSequencer extends AbstractDelegatin /** * Contexts: - * ObjectiveFunction returns ReliabiltiyFunction - * ReliabiltiyFunction returns ReliabiltiyFunction + * ObjectiveFunction returns ReliabiltiyProbability + * ReliabilityObjectiveFunction returns ReliabiltiyProbability + * ReliabiltiyProbability returns ReliabiltiyProbability * * Constraint: - * (package=[CftModel|QualifiedName]? transformation=[TransformationDefinition|ID]) + * (package=[CftModel|QualifiedName]? transformation=[TransformationDefinition|ID] time=REALLiteral) */ - protected void sequence_ReliabiltiyFunction(ISerializationContext context, ReliabiltiyFunction semanticObject) { + protected void sequence_ReliabiltiyProbability(ISerializationContext context, ReliabiltiyProbability 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 c640afde..80afc496 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 @@ -1260,17 +1260,36 @@ public class ApplicationConfigurationGrammarAccess extends AbstractGrammarElemen } public class ObjectiveFunctionElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ObjectiveFunction"); - private final RuleCall cReliabiltiyFunctionParserRuleCall = (RuleCall)rule.eContents().get(1); + private final RuleCall cReliabilityObjectiveFunctionParserRuleCall = (RuleCall)rule.eContents().get(1); //ObjectiveFunction: - // ReliabiltiyFunction; + // ReliabilityObjectiveFunction; @Override public ParserRule getRule() { return rule; } - //ReliabiltiyFunction - public RuleCall getReliabiltiyFunctionParserRuleCall() { return cReliabiltiyFunctionParserRuleCall; } + //ReliabilityObjectiveFunction + public RuleCall getReliabilityObjectiveFunctionParserRuleCall() { return cReliabilityObjectiveFunctionParserRuleCall; } } - public class ReliabiltiyFunctionElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ReliabiltiyFunction"); + public class ReliabilityObjectiveFunctionElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ReliabilityObjectiveFunction"); + private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); + private final RuleCall cReliabiltiyProbabilityParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); + private final RuleCall cMtffParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); + + //ReliabilityObjectiveFunction: + // ReliabiltiyProbability | Mtff; + @Override public ParserRule getRule() { return rule; } + + //ReliabiltiyProbability | Mtff + public Alternatives getAlternatives() { return cAlternatives; } + + //ReliabiltiyProbability + public RuleCall getReliabiltiyProbabilityParserRuleCall_0() { return cReliabiltiyProbabilityParserRuleCall_0; } + + //Mtff + public RuleCall getMtffParserRuleCall_1() { return cMtffParserRuleCall_1; } + } + public class ReliabiltiyProbabilityElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ReliabiltiyProbability"); private final Group cGroup = (Group)rule.eContents().get(1); private final Keyword cReliabilityKeyword_0 = (Keyword)cGroup.eContents().get(0); private final Group cGroup_1 = (Group)cGroup.eContents().get(1); @@ -1281,14 +1300,18 @@ public class ApplicationConfigurationGrammarAccess extends AbstractGrammarElemen private final Assignment cTransformationAssignment_2 = (Assignment)cGroup.eContents().get(2); private final CrossReference cTransformationTransformationDefinitionCrossReference_2_0 = (CrossReference)cTransformationAssignment_2.eContents().get(0); private final RuleCall cTransformationTransformationDefinitionIDTerminalRuleCall_2_0_1 = (RuleCall)cTransformationTransformationDefinitionCrossReference_2_0.eContents().get(1); + private final Keyword cAtKeyword_3 = (Keyword)cGroup.eContents().get(3); + private final Assignment cTimeAssignment_4 = (Assignment)cGroup.eContents().get(4); + private final RuleCall cTimeREALLiteralParserRuleCall_4_0 = (RuleCall)cTimeAssignment_4.eContents().get(0); - //ReliabiltiyFunction: + //ReliabiltiyProbability: // 'reliability' (package=[cftLanguage::CftModel|QualifiedName] '::')? - // transformation=[cftLanguage::TransformationDefinition]; + // transformation=[cftLanguage::TransformationDefinition] + // 'at' time=REALLiteral; @Override public ParserRule getRule() { return rule; } //'reliability' (package=[cftLanguage::CftModel|QualifiedName] '::')? - //transformation=[cftLanguage::TransformationDefinition] + //transformation=[cftLanguage::TransformationDefinition] 'at' time=REALLiteral public Group getGroup() { return cGroup; } //'reliability' @@ -1317,6 +1340,62 @@ public class ApplicationConfigurationGrammarAccess extends AbstractGrammarElemen //ID public RuleCall getTransformationTransformationDefinitionIDTerminalRuleCall_2_0_1() { return cTransformationTransformationDefinitionIDTerminalRuleCall_2_0_1; } + + //'at' + public Keyword getAtKeyword_3() { return cAtKeyword_3; } + + //time=REALLiteral + public Assignment getTimeAssignment_4() { return cTimeAssignment_4; } + + //REALLiteral + public RuleCall getTimeREALLiteralParserRuleCall_4_0() { return cTimeREALLiteralParserRuleCall_4_0; } + } + public class MtffElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Mtff"); + private final Group cGroup = (Group)rule.eContents().get(1); + private final Keyword cMtffKeyword_0 = (Keyword)cGroup.eContents().get(0); + private final Group cGroup_1 = (Group)cGroup.eContents().get(1); + private final Assignment cPackageAssignment_1_0 = (Assignment)cGroup_1.eContents().get(0); + private final CrossReference cPackageCftModelCrossReference_1_0_0 = (CrossReference)cPackageAssignment_1_0.eContents().get(0); + private final RuleCall cPackageCftModelQualifiedNameParserRuleCall_1_0_0_1 = (RuleCall)cPackageCftModelCrossReference_1_0_0.eContents().get(1); + private final Keyword cColonColonKeyword_1_1 = (Keyword)cGroup_1.eContents().get(1); + private final Assignment cTransformationAssignment_2 = (Assignment)cGroup.eContents().get(2); + private final CrossReference cTransformationTransformationDefinitionCrossReference_2_0 = (CrossReference)cTransformationAssignment_2.eContents().get(0); + private final RuleCall cTransformationTransformationDefinitionIDTerminalRuleCall_2_0_1 = (RuleCall)cTransformationTransformationDefinitionCrossReference_2_0.eContents().get(1); + + //Mtff: + // 'mtff' (package=[cftLanguage::CftModel|QualifiedName] '::')? transformation=[cftLanguage::TransformationDefinition]; + @Override public ParserRule getRule() { return rule; } + + //'mtff' (package=[cftLanguage::CftModel|QualifiedName] '::')? transformation=[cftLanguage::TransformationDefinition] + public Group getGroup() { return cGroup; } + + //'mtff' + public Keyword getMtffKeyword_0() { return cMtffKeyword_0; } + + //(package=[cftLanguage::CftModel|QualifiedName] '::')? + public Group getGroup_1() { return cGroup_1; } + + //package=[cftLanguage::CftModel|QualifiedName] + public Assignment getPackageAssignment_1_0() { return cPackageAssignment_1_0; } + + //[cftLanguage::CftModel|QualifiedName] + public CrossReference getPackageCftModelCrossReference_1_0_0() { return cPackageCftModelCrossReference_1_0_0; } + + //QualifiedName + public RuleCall getPackageCftModelQualifiedNameParserRuleCall_1_0_0_1() { return cPackageCftModelQualifiedNameParserRuleCall_1_0_0_1; } + + //'::' + public Keyword getColonColonKeyword_1_1() { return cColonColonKeyword_1_1; } + + //transformation=[cftLanguage::TransformationDefinition] + public Assignment getTransformationAssignment_2() { return cTransformationAssignment_2; } + + //[cftLanguage::TransformationDefinition] + public CrossReference getTransformationTransformationDefinitionCrossReference_2_0() { return cTransformationTransformationDefinitionCrossReference_2_0; } + + //ID + public RuleCall getTransformationTransformationDefinitionIDTerminalRuleCall_2_0_1() { return cTransformationTransformationDefinitionIDTerminalRuleCall_2_0_1; } } public class ObjectiveDeclarationElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ObjectiveDeclaration"); @@ -3025,7 +3104,9 @@ public class ApplicationConfigurationGrammarAccess extends AbstractGrammarElemen private final ComparisonOperatorElements eComparisonOperator; private final ThresholdEntryElements pThresholdEntry; private final ObjectiveFunctionElements pObjectiveFunction; - private final ReliabiltiyFunctionElements pReliabiltiyFunction; + private final ReliabilityObjectiveFunctionElements pReliabilityObjectiveFunction; + private final ReliabiltiyProbabilityElements pReliabiltiyProbability; + private final MtffElements pMtff; private final ObjectiveDeclarationElements pObjectiveDeclaration; private final ObjectiveReferenceElements pObjectiveReference; private final ObjectiveElements pObjective; @@ -3116,7 +3197,9 @@ public class ApplicationConfigurationGrammarAccess extends AbstractGrammarElemen this.eComparisonOperator = new ComparisonOperatorElements(); this.pThresholdEntry = new ThresholdEntryElements(); this.pObjectiveFunction = new ObjectiveFunctionElements(); - this.pReliabiltiyFunction = new ReliabiltiyFunctionElements(); + this.pReliabilityObjectiveFunction = new ReliabilityObjectiveFunctionElements(); + this.pReliabiltiyProbability = new ReliabiltiyProbabilityElements(); + this.pMtff = new MtffElements(); this.pObjectiveDeclaration = new ObjectiveDeclarationElements(); this.pObjectiveReference = new ObjectiveReferenceElements(); this.pObjective = new ObjectiveElements(); @@ -3625,7 +3708,7 @@ public class ApplicationConfigurationGrammarAccess extends AbstractGrammarElemen } //ObjectiveFunction: - // ReliabiltiyFunction; + // ReliabilityObjectiveFunction; public ObjectiveFunctionElements getObjectiveFunctionAccess() { return pObjectiveFunction; } @@ -3634,15 +3717,36 @@ public class ApplicationConfigurationGrammarAccess extends AbstractGrammarElemen return getObjectiveFunctionAccess().getRule(); } - //ReliabiltiyFunction: + //ReliabilityObjectiveFunction: + // ReliabiltiyProbability | Mtff; + public ReliabilityObjectiveFunctionElements getReliabilityObjectiveFunctionAccess() { + return pReliabilityObjectiveFunction; + } + + public ParserRule getReliabilityObjectiveFunctionRule() { + return getReliabilityObjectiveFunctionAccess().getRule(); + } + + //ReliabiltiyProbability: // 'reliability' (package=[cftLanguage::CftModel|QualifiedName] '::')? - // transformation=[cftLanguage::TransformationDefinition]; - public ReliabiltiyFunctionElements getReliabiltiyFunctionAccess() { - return pReliabiltiyFunction; + // transformation=[cftLanguage::TransformationDefinition] + // 'at' time=REALLiteral; + public ReliabiltiyProbabilityElements getReliabiltiyProbabilityAccess() { + return pReliabiltiyProbability; + } + + public ParserRule getReliabiltiyProbabilityRule() { + return getReliabiltiyProbabilityAccess().getRule(); + } + + //Mtff: + // 'mtff' (package=[cftLanguage::CftModel|QualifiedName] '::')? transformation=[cftLanguage::TransformationDefinition]; + public MtffElements getMtffAccess() { + return pMtff; } - public ParserRule getReliabiltiyFunctionRule() { - return getReliabiltiyFunctionAccess().getRule(); + public ParserRule getMtffRule() { + return getMtffAccess().getRule(); } //ObjectiveDeclaration: 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 44ef8fd1..2b4a56a6 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 @@ -101,8 +101,13 @@ enum OptimizationDirection: MINIMIZE='minimize' | MAXIMIZE='maximize'; OptimizationEntry: direction=OptimizationDirection function=ObjectiveFunction; enum ComparisonOperator: LESS_EQUALS='<=' | GREATER_EQUALS='>='; ThresholdEntry: function=ObjectiveFunction operator=ComparisonOperator threshold=REALLiteral; -ObjectiveFunction: ReliabiltiyFunction; -ReliabiltiyFunction: 'reliability' (package=[cftLanguage::CftModel|QualifiedName] '::')? transformation = [cftLanguage::TransformationDefinition]; +ObjectiveFunction: ReliabilityObjectiveFunction; +ReliabilityObjectiveFunction: ReliabiltiyProbability | Mtff; +ReliabiltiyProbability: + 'reliability' (package=[cftLanguage::CftModel|QualifiedName] '::')? transformation = [cftLanguage::TransformationDefinition] + 'at' time=REALLiteral; +Mtff: + 'mtff' (package=[cftLanguage::CftModel|QualifiedName] '::')? transformation = [cftLanguage::TransformationDefinition]; ObjectiveDeclaration: 'objectives' name = ID specification = ObjectiveSpecification; ObjectiveReference: referred = [ObjectiveDeclaration]; diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/scoping/ApplicationConfigurationScopeProvider.xtend b/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/scoping/ApplicationConfigurationScopeProvider.xtend index 35a747c8..9d7e8aec 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/scoping/ApplicationConfigurationScopeProvider.xtend +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/scoping/ApplicationConfigurationScopeProvider.xtend @@ -10,7 +10,6 @@ import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.EPackageI import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelElement import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelEntry import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PatternEntry -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ReliabiltiyFunction import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ViatraImport import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftModel import org.eclipse.emf.ecore.EClass @@ -23,6 +22,7 @@ import org.eclipse.xtext.naming.IQualifiedNameConverter import org.eclipse.xtext.scoping.Scopes import static hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage.Literals.* +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ReliabilityObjectiveFunction /** * This class contains custom scoping description. @@ -47,9 +47,9 @@ class ApplicationConfigurationScopeProvider extends AbstractApplicationConfigura getViatraPackageScope(context, reference, document) case PATTERN_ELEMENT__PATTERN: getViatraPatternScope(context, document) - case RELIABILTIY_FUNCTION__PACKAGE: + case RELIABILITY_OBJECTIVE_FUNCTION__PACKAGE: getCftPackageScope(context, reference, document) - case RELIABILTIY_FUNCTION__TRANSFORMATION: + case RELIABILITY_OBJECTIVE_FUNCTION__TRANSFORMATION: getCftTransformationScope(context, document) default: super.getScope(context, reference) @@ -136,7 +136,7 @@ class ApplicationConfigurationScopeProvider extends AbstractApplicationConfigura private def getCftTransformationScope(EObject context, ConfigurationScript document) { val transformations = switch (context) { - ReliabiltiyFunction case context.package !== null: + ReliabilityObjectiveFunction case context.package !== null: context.package.transformationDefinitions default: document.allCftTransformations diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/.CftLanguageIdeModule.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/.CftLanguageIdeModule.xtendbin index 56d1af9c..b05b37d4 100644 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/.CftLanguageIdeModule.xtendbin and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/.CftLanguageIdeModule.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/.CftLanguageIdeSetup.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/.CftLanguageIdeSetup.xtendbin index 29395cde..7a01ace8 100644 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/.CftLanguageIdeSetup.xtendbin and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/.CftLanguageIdeSetup.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/.CftLanguageUiModule.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/.CftLanguageUiModule.xtendbin index 2207ff7a..0e56af1c 100644 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/.CftLanguageUiModule.xtendbin and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/.CftLanguageUiModule.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/contentassist/.CftLanguageProposalProvider.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/contentassist/.CftLanguageProposalProvider.xtendbin index e5445e66..e3b08949 100644 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/contentassist/.CftLanguageProposalProvider.xtendbin and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/contentassist/.CftLanguageProposalProvider.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/labeling/.CftLanguageDescriptionLabelProvider.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/labeling/.CftLanguageDescriptionLabelProvider.xtendbin index 476652c0..a9a231c9 100644 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/labeling/.CftLanguageDescriptionLabelProvider.xtendbin and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/labeling/.CftLanguageDescriptionLabelProvider.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/labeling/.CftLanguageLabelProvider.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/labeling/.CftLanguageLabelProvider.xtendbin index bda30bf1..c96ad697 100644 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/labeling/.CftLanguageLabelProvider.xtendbin and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/labeling/.CftLanguageLabelProvider.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/outline/.CftLanguageOutlineTreeProvider.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/outline/.CftLanguageOutlineTreeProvider.xtendbin index 04bd4aea..7c4945f3 100644 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/outline/.CftLanguageOutlineTreeProvider.xtendbin and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/outline/.CftLanguageOutlineTreeProvider.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/quickfix/.CftLanguageQuickfixProvider.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/quickfix/.CftLanguageQuickfixProvider.xtendbin index 3c8711bf..6f9ed2db 100644 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/quickfix/.CftLanguageQuickfixProvider.xtendbin and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/quickfix/.CftLanguageQuickfixProvider.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/syntaxcoloring/.CftLanguageSemanticHighlightingCalculator.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/syntaxcoloring/.CftLanguageSemanticHighlightingCalculator.xtendbin index 2f317914..319b1a7b 100644 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/syntaxcoloring/.CftLanguageSemanticHighlightingCalculator.xtendbin and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/syntaxcoloring/.CftLanguageSemanticHighlightingCalculator.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/syntaxcoloring/.CftLanguageTokenToAttributeIdMapper.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/syntaxcoloring/.CftLanguageTokenToAttributeIdMapper.xtendbin index 26fbd35b..64980787 100644 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/syntaxcoloring/.CftLanguageTokenToAttributeIdMapper.xtendbin and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/syntaxcoloring/.CftLanguageTokenToAttributeIdMapper.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/.CftLanguageRuntimeModule.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/.CftLanguageRuntimeModule.xtendbin index 8a5136e8..e3eb300d 100644 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/.CftLanguageRuntimeModule.xtendbin and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/.CftLanguageRuntimeModule.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/.CftLanguageStandaloneSetup.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/.CftLanguageStandaloneSetup.xtendbin index d00f661a..cf472a5c 100644 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/.CftLanguageStandaloneSetup.xtendbin and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/.CftLanguageStandaloneSetup.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/conversion/.CftLanguageValueConverterService.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/conversion/.CftLanguageValueConverterService.xtendbin index 426173d6..9e436c25 100644 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/conversion/.CftLanguageValueConverterService.xtendbin and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/conversion/.CftLanguageValueConverterService.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/conversion/.OF_INTValueConverter.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/conversion/.OF_INTValueConverter.xtendbin index 2321885c..8dcb67ce 100644 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/conversion/.OF_INTValueConverter.xtendbin and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/conversion/.OF_INTValueConverter.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/generator/.CftLanguageGenerator.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/generator/.CftLanguageGenerator.xtendbin index 57704448..f55b7c31 100644 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/generator/.CftLanguageGenerator.xtendbin and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/generator/.CftLanguageGenerator.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/naming/.CftLanguageQualifiedNameProvider.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/naming/.CftLanguageQualifiedNameProvider.xtendbin index f06a7a84..1f55e190 100644 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/naming/.CftLanguageQualifiedNameProvider.xtendbin and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/naming/.CftLanguageQualifiedNameProvider.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/naming/.PackageNameProvider.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/naming/.PackageNameProvider.xtendbin index ad739f26..d7439d22 100644 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/naming/.PackageNameProvider.xtendbin and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/naming/.PackageNameProvider.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/scoping/.CftLanguageImportedNamespaceAwareLocalScopeProvider.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/scoping/.CftLanguageImportedNamespaceAwareLocalScopeProvider.xtendbin index d1224c20..4fbc7cd3 100644 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/scoping/.CftLanguageImportedNamespaceAwareLocalScopeProvider.xtendbin and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/scoping/.CftLanguageImportedNamespaceAwareLocalScopeProvider.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/scoping/.CftLanguageScopeProvider.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/scoping/.CftLanguageScopeProvider.xtendbin index 6c96cd87..5b585e60 100644 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/scoping/.CftLanguageScopeProvider.xtendbin and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/scoping/.CftLanguageScopeProvider.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/validation/.CftLanguageValidator.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/validation/.CftLanguageValidator.xtendbin index c81d155d..481a23f6 100644 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/validation/.CftLanguageValidator.xtendbin and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/validation/.CftLanguageValidator.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/util/.CftExtensions.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/util/.CftExtensions.xtendbin index a6c01277..390ee219 100644 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/util/.CftExtensions.xtendbin and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/util/.CftExtensions.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/util/.gitignore b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/util/.gitignore index 945e2c6c..2ba78568 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/util/.gitignore +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/util/.gitignore @@ -1 +1,3 @@ /.CftExtensions.java._trace +/.CftExtensions.xtendbin +/CftExtensions.java diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/.Cft2FtTransformation.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/.Cft2FtTransformation.xtendbin index f68d0464..594bfecb 100644 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/.Cft2FtTransformation.xtendbin and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/.Cft2FtTransformation.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/.EventCollection.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/.EventCollection.xtendbin index 6aebfa85..a868ae36 100644 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/.EventCollection.xtendbin and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/.EventCollection.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/.EventMaterializer.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/.EventMaterializer.xtendbin index 323f40b2..f7ca5531 100644 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/.EventMaterializer.xtendbin and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/.EventMaterializer.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/.FaultTreeBuilder.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/.FaultTreeBuilder.xtendbin index 45b228d3..1d15efbb 100644 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/.FaultTreeBuilder.xtendbin and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/.FaultTreeBuilder.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.ComponentFaultTreeTrace.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.ComponentFaultTreeTrace.xtendbin index 59a21d5c..3fce519e 100644 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.ComponentFaultTreeTrace.xtendbin and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.ComponentFaultTreeTrace.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.ComponentInstanceTrace.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.ComponentInstanceTrace.xtendbin index 0a5c81fe..564e58c4 100644 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.ComponentInstanceTrace.xtendbin and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.ComponentInstanceTrace.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.ComponentNameGenerator.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.ComponentNameGenerator.xtendbin index 87965646..ebcfced8 100644 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.ComponentNameGenerator.xtendbin and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.ComponentNameGenerator.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.Ecore2CftTransformation.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.Ecore2CftTransformation.xtendbin index cd930545..d4b5ecdb 100644 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.Ecore2CftTransformation.xtendbin and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.Ecore2CftTransformation.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.InputTrace.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.InputTrace.xtendbin index 2f779ecb..1faa21b3 100644 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.InputTrace.xtendbin and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.InputTrace.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.LookupHandler.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.LookupHandler.xtendbin index 93bad7e0..afc40951 100644 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.LookupHandler.xtendbin and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.LookupHandler.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.MappingHandler.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.MappingHandler.xtendbin index fde76cfd..419b9490 100644 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.MappingHandler.xtendbin and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.MappingHandler.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.MappingQueries.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.MappingQueries.xtendbin index 4754c634..0e703f40 100644 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.MappingQueries.xtendbin and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.MappingQueries.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ft2galileo/.Ft2GalileoTransformation.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ft2galileo/.Ft2GalileoTransformation.xtendbin index 25ddc417..41e6e441 100644 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ft2galileo/.Ft2GalileoTransformation.xtendbin and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ft2galileo/.Ft2GalileoTransformation.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/.ReliabilityResult.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/.ReliabilityResult.xtendbin index 552c946a..ef8c3b88 100644 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/.ReliabilityResult.xtendbin and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/.ReliabilityResult.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/.StormDftConfiguration.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/.StormDftConfiguration.xtendbin index a3f9c647..4aff77d3 100644 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/.StormDftConfiguration.xtendbin and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/.StormDftConfiguration.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/.StormDftHandler.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/.StormDftHandler.xtendbin index d7f66fd0..a2c634bc 100644 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/.StormDftHandler.xtendbin and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/.StormDftHandler.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/.StormDftSolver.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/.StormDftSolver.xtendbin index b9fdf395..45f12291 100644 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/.StormDftSolver.xtendbin and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/.StormDftSolver.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.ui/bin/.gitignore b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.ui/bin/.gitignore deleted file mode 100644 index 1c0a02cd..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.ui/bin/.gitignore +++ /dev/null @@ -1 +0,0 @@ -/hu/ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.ui/bin/hu/bme/mit/inf/dslreasoner/faulttree/ui/handler/.gitignore b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.ui/bin/hu/bme/mit/inf/dslreasoner/faulttree/ui/handler/.gitignore new file mode 100644 index 00000000..b271af76 --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.ui/bin/hu/bme/mit/inf/dslreasoner/faulttree/ui/handler/.gitignore @@ -0,0 +1,3 @@ +/.ReliabilityAnalysisHandler.java._trace +/.ReliabilityAnalysisHandler.xtendbin +/ReliabilityAnalysisHandler.java diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.ui/bin/hu/bme/mit/inf/dslreasoner/faulttree/ui/handler/ReliabilityAnalysisHandler.xtend b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.ui/bin/hu/bme/mit/inf/dslreasoner/faulttree/ui/handler/ReliabilityAnalysisHandler.xtend new file mode 100644 index 00000000..5fa89148 --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.ui/bin/hu/bme/mit/inf/dslreasoner/faulttree/ui/handler/ReliabilityAnalysisHandler.xtend @@ -0,0 +1,128 @@ +package hu.bme.mit.inf.dslreasoner.faulttree.ui.handler + +import hu.bme.mit.inf.dslreasoner.application.execution.EclipseBasedProgressMonitor +import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftModel +import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.TransformationDefinition +import hu.bme.mit.inf.dslreasoner.faulttree.transformation.cft2ft.Cft2FtTransformation +import hu.bme.mit.inf.dslreasoner.faulttree.transformation.ecore2cft.Ecore2CftTransformation +import hu.bme.mit.inf.dslreasoner.faulttree.transformation.solver.FtAnalysisObjective +import hu.bme.mit.inf.dslreasoner.faulttree.transformation.solver.ReliabilityResult +import hu.bme.mit.inf.dslreasoner.faulttree.transformation.solver.StormDftConfiguration +import hu.bme.mit.inf.dslreasoner.faulttree.transformation.solver.StormDftSolver +import hu.bme.mit.inf.dslreasoner.logic.model.builder.DocumentationLevel +import hu.bme.mit.inf.dslreasoner.workspace.ProjectWorkspace +import org.eclipse.core.commands.AbstractHandler +import org.eclipse.core.commands.ExecutionEvent +import org.eclipse.core.commands.ExecutionException +import org.eclipse.core.resources.IFile +import org.eclipse.core.resources.IProject +import org.eclipse.core.resources.IResource +import org.eclipse.core.runtime.IProgressMonitor +import org.eclipse.core.runtime.NullProgressMonitor +import org.eclipse.emf.common.util.URI +import org.eclipse.emf.ecore.resource.Resource +import org.eclipse.emf.ecore.resource.ResourceSet +import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl +import org.eclipse.swt.widgets.MessageBox +import org.eclipse.ui.PlatformUI +import org.eclipse.ui.handlers.HandlerUtil +import org.eclipse.viatra.query.runtime.api.AdvancedViatraQueryEngine +import org.eclipse.viatra.query.runtime.emf.EMFScope + +class ReliabilityAnalysisHandler extends AbstractHandler { + + override execute(ExecutionEvent event) throws ExecutionException { + val selection = HandlerUtil.getCurrentStructuredSelection(event) + val resourceSet = new ResourceSetImpl + val iterator = selection.iterator + var IProject targetProject = null + var Resource targetResource = null + var TransformationDefinition transformationDefinition = null + while (iterator.hasNext) { + val selectedElement = iterator.next + if (selectedElement instanceof IFile) { + val resource = tryLoadResource(resourceSet, selectedElement) + if (resource !== null && !resource.contents.empty) { + val rootElement = resource.contents.head + if (rootElement instanceof CftModel) { + if (rootElement.transformationDefinitions.empty) { + throw new IllegalArgumentException("Selected cft file is not a transformation definition.") + } + if (transformationDefinition !== null) { + throw new IllegalArgumentException( + "Only a single transformation definition may be selected.") + } + transformationDefinition = rootElement.transformationDefinitions.head + } else { + if (targetResource !== null) { + throw new IllegalArgumentException("Only a single architecture model may be selected.") + } + targetResource = resource + targetProject = selectedElement.project + } + } + } + } + if (targetResource === null || targetResource === null) { + throw new IllegalArgumentException( + "A transformation definition and an architecture model must be selected.") + } + runAnalysis(transformationDefinition, targetResource, targetProject, new NullProgressMonitor) + null + } + + private static def tryLoadResource(ResourceSet resourceSet, IFile file) { + val fullPath = file.fullPath.toString + val uri = URI.createPlatformResourceURI(fullPath, true) + try { + resourceSet.getResource(uri, true) + } catch (RuntimeException e) { + null + } + } + + private def runAnalysis(TransformationDefinition transformationDefinition, Resource resource, IProject project, + IProgressMonitor monitor) { + val workspace = createWorkspace(project, monitor) + val cft = createComponentFaultTree(transformationDefinition, resource) + workspace.writeModel(cft, "cft.xmi") + val cft2ft = new Cft2FtTransformation + val ft = cft2ft.createFaultTree(cft) + workspace.writeModel(ft, "ft.xmi") + val solver = new StormDftSolver + val config = new StormDftConfiguration + config.progressMonitor = new EclipseBasedProgressMonitor(monitor) + config.documentationLevel = DocumentationLevel.NORMAL + config.objective = FtAnalysisObjective.MTTF + val result = solver.solve(ft, config, workspace) + displayResult(result) + } + + private def createWorkspace(IProject project, IProgressMonitor monitor) { + val folder = project.getFolder("debug") + if (!folder.exists) { + folder.create(IResource.NONE, true, monitor) + } + val path = folder.fullPath.toString + val uri = URI.createPlatformResourceURI(path, true) + val workspace = new ProjectWorkspace(uri.toString, "") + workspace.initAndClear + workspace + } + + private def createComponentFaultTree(TransformationDefinition transformationDefinition, Resource resource) { + val queryEngine = AdvancedViatraQueryEngine.createUnmanagedEngine(new EMFScope(resource)) + try { + val ecore2cft = new Ecore2CftTransformation(transformationDefinition, queryEngine) + ecore2cft.createComponentFaultTree + } finally { + queryEngine.dispose + } + } + + private def displayResult(ReliabilityResult result) { + val messageBox = new MessageBox(PlatformUI.workbench.activeWorkbenchWindow.shell) + messageBox.message = result.toString + messageBox.open + } +} -- cgit v1.2.3-70-g09d2 From 3f9b1c92cc35fa4ed9672a2b8601f4c22af24921 Mon Sep 17 00:00:00 2001 From: Kristóf Marussy Date: Sun, 7 Apr 2019 13:46:36 +0200 Subject: Infrastructure for objective functions --- .../.ApplicationConfigurationIdeModule.xtendbin | Bin 1701 -> 1701 bytes .../ide/.ApplicationConfigurationIdeSetup.xtendbin | Bin 2526 -> 2526 bytes .../execution/GenerationTaskExecutor.xtend | 2 +- .../application/execution/SolverLoader.xtend | 2 +- .../ApplicationConfigurationScopeProvider.xtend | 2 +- .../logic/model/builder/LogicSolver.xtend | 2 +- .../dlsreasoner/alloy/reasoner/AlloySolver.xtend | 2 +- .../alloy/reasoner/builder/AlloyHandler.xtend | 6 +- .../MultiplicityGoalConstraintCalculator.xtend | 10 +- .../viatrasolver/reasoner/ViatraReasoner.xtend | 188 +++++++++++---------- .../reasoner/ViatraReasonerConfiguration.xtend | 12 +- .../dse/BestFirstStrategyForModelGeneration.java | 57 +++---- .../viatrasolver/reasoner/dse/DseUtils.xtend | 65 +++++++ .../reasoner/dse/IThreeValuedObjective.xtend | 10 ++ .../reasoner/dse/LoggerSolutionFoundHandler.xtend | 24 +++ .../dse/ModelGenerationCompositeObjective.xtend | 77 +++++---- .../viatrasolver/reasoner/dse/SolutionCopier.xtend | 74 ++++++++ .../reasoner/dse/SolutionStoreWithCopy.xtend | 52 ------ .../SurelyViolatedObjectiveGlobalConstraint.xtend | 29 ++++ .../dse/UnfinishedMultiplicityObjective.xtend | 2 +- .../reasoner/dse/UnfinishedWFObjective.xtend | 56 ------ .../reasoner/dse/ViatraReasonerSolutionSaver.xtend | 99 +++++++++++ .../reasoner/dse/WF2ObjectiveConverter.xtend | 44 +++-- .../components/ide/.CftLanguageIdeModule.xtendbin | Bin 1712 -> 1712 bytes .../components/ide/.CftLanguageIdeSetup.xtendbin | Bin 2549 -> 2549 bytes .../components/ui/.CftLanguageUiModule.xtendbin | Bin 3606 -> 3606 bytes .../.CftLanguageProposalProvider.xtendbin | Bin 1820 -> 1820 bytes .../.CftLanguageDescriptionLabelProvider.xtendbin | Bin 1993 -> 1993 bytes .../ui/labeling/.CftLanguageLabelProvider.xtendbin | Bin 2885 -> 2885 bytes .../.CftLanguageOutlineTreeProvider.xtendbin | Bin 2451 -> 2451 bytes .../quickfix/.CftLanguageQuickfixProvider.xtendbin | Bin 1819 -> 1819 bytes ...LanguageSemanticHighlightingCalculator.xtendbin | Bin 3773 -> 3773 bytes .../.CftLanguageTokenToAttributeIdMapper.xtendbin | Bin 2740 -> 2740 bytes .../components/.CftLanguageRuntimeModule.xtendbin | Bin 3436 -> 3436 bytes .../.CftLanguageStandaloneSetup.xtendbin | Bin 2015 -> 2015 bytes .../.CftLanguageValueConverterService.xtendbin | Bin 3002 -> 3002 bytes .../conversion/.OF_INTValueConverter.xtendbin | Bin 4411 -> 4411 bytes .../generator/.CftLanguageGenerator.xtendbin | Bin 2365 -> 2365 bytes .../.CftLanguageQualifiedNameProvider.xtendbin | Bin 3630 -> 3630 bytes .../naming/.PackageNameProvider.xtendbin | Bin 3283 -> 3283 bytes ...portedNamespaceAwareLocalScopeProvider.xtendbin | Bin 4651 -> 4651 bytes .../scoping/.CftLanguageScopeProvider.xtendbin | Bin 9417 -> 9417 bytes .../validation/.CftLanguageValidator.xtendbin | Bin 1760 -> 1760 bytes .../faulttree/model/util/.CftExtensions.xtendbin | Bin 4295 -> 4295 bytes .../cft2ft/.Cft2FtTransformation.xtendbin | Bin 2825 -> 2825 bytes .../cft2ft/.EventCollection.xtendbin | Bin 7022 -> 7022 bytes .../cft2ft/.EventMaterializer.xtendbin | Bin 12110 -> 12110 bytes .../cft2ft/.FaultTreeBuilder.xtendbin | Bin 4029 -> 4029 bytes .../ecore2cft/.ComponentFaultTreeTrace.xtendbin | Bin 5530 -> 5530 bytes .../ecore2cft/.ComponentInstanceTrace.xtendbin | Bin 5932 -> 5932 bytes .../ecore2cft/.ComponentNameGenerator.xtendbin | Bin 3472 -> 3472 bytes .../ecore2cft/.Ecore2CftTransformation.xtendbin | Bin 3431 -> 3431 bytes .../transformation/ecore2cft/.InputTrace.xtendbin | Bin 4202 -> 4202 bytes .../ecore2cft/.LookupHandler.xtendbin | Bin 5169 -> 5169 bytes .../ecore2cft/.MappingHandler.xtendbin | Bin 6876 -> 6876 bytes .../ecore2cft/.MappingQueries.xtendbin | Bin 4833 -> 4833 bytes .../ft2galileo/.Ft2GalileoTransformation.xtendbin | Bin 4794 -> 4794 bytes .../solver/.ReliabilityResult.xtendbin | Bin 5435 -> 5435 bytes .../solver/.StormDftConfiguration.xtendbin | Bin 4311 -> 4311 bytes .../solver/.StormDftHandler.xtendbin | Bin 13570 -> 13570 bytes .../transformation/solver/.StormDftSolver.xtendbin | Bin 4801 -> 4801 bytes .../bin/.gitignore | 1 + .../configs/generation.vsconfig | 2 +- 63 files changed, 514 insertions(+), 304 deletions(-) create mode 100644 Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/DseUtils.xtend create mode 100644 Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/IThreeValuedObjective.xtend create mode 100644 Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/LoggerSolutionFoundHandler.xtend create mode 100644 Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/SolutionCopier.xtend delete mode 100644 Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/SolutionStoreWithCopy.xtend create mode 100644 Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/SurelyViolatedObjectiveGlobalConstraint.xtend delete mode 100644 Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/UnfinishedWFObjective.xtend create mode 100644 Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/ViatraReasonerSolutionSaver.xtend create mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.ui/bin/.gitignore (limited to 'Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner') diff --git a/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeModule.xtendbin b/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeModule.xtendbin index 213b9134..ba53fa44 100644 Binary files a/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeModule.xtendbin and b/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeModule.xtendbin differ diff --git a/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeSetup.xtendbin b/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeSetup.xtendbin index 21d26265..81608794 100644 Binary files a/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeSetup.xtendbin and b/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeSetup.xtendbin differ diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/execution/GenerationTaskExecutor.xtend b/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/execution/GenerationTaskExecutor.xtend index 3e879539..35ffaf65 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/execution/GenerationTaskExecutor.xtend +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/execution/GenerationTaskExecutor.xtend @@ -138,7 +138,7 @@ class GenerationTaskExecutor { // 5.2 set values that defined directly solverConfig.solutionScope = new SolutionScope => [ - it.numberOfRequiredSolution = if(task.numberSpecified) { + it.numberOfRequiredSolutions = if(task.numberSpecified) { task.number } else { 1 diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/execution/SolverLoader.xtend b/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/execution/SolverLoader.xtend index a9573fbf..9eceef5f 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/execution/SolverLoader.xtend +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/execution/SolverLoader.xtend @@ -75,7 +75,7 @@ class SolverLoader { ] } else if(solver === Solver::VIATRA_SOLVER) { return new ViatraReasonerConfiguration => [c| - c.debugCongiguration.partialInterpretatioVisualiser = new GraphvizVisualiser + c.debugConfiguration.partialInterpretatioVisualiser = new GraphvizVisualiser if(config.containsKey("diversity-range")) { val stringValue = config.get("diversity-range") try{ diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/scoping/ApplicationConfigurationScopeProvider.xtend b/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/scoping/ApplicationConfigurationScopeProvider.xtend index 9d7e8aec..4daf9831 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/scoping/ApplicationConfigurationScopeProvider.xtend +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/scoping/ApplicationConfigurationScopeProvider.xtend @@ -10,6 +10,7 @@ import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.EPackageI import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelElement import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelEntry import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PatternEntry +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ReliabilityObjectiveFunction import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ViatraImport import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftModel import org.eclipse.emf.ecore.EClass @@ -22,7 +23,6 @@ import org.eclipse.xtext.naming.IQualifiedNameConverter import org.eclipse.xtext.scoping.Scopes import static hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage.Literals.* -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ReliabilityObjectiveFunction /** * This class contains custom scoping description. diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/src/hu/bme/mit/inf/dslreasoner/logic/model/builder/LogicSolver.xtend b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/src/hu/bme/mit/inf/dslreasoner/logic/model/builder/LogicSolver.xtend index d88e2a52..e62a3cb7 100644 --- a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/src/hu/bme/mit/inf/dslreasoner/logic/model/builder/LogicSolver.xtend +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/src/hu/bme/mit/inf/dslreasoner/logic/model/builder/LogicSolver.xtend @@ -159,7 +159,7 @@ public class TypeScopes { */ public class SolutionScope { public static val All = Integer.MAX_VALUE; - public var numberOfRequiredSolution = 1 + public var numberOfRequiredSolutions = 1 } /** Progress monitor class for a solver to *
  • (optionally) report progress via {@link worked}
  • diff --git a/Solvers/Alloy-Solver/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/src/hu/bme/mit/inf/dlsreasoner/alloy/reasoner/AlloySolver.xtend b/Solvers/Alloy-Solver/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/src/hu/bme/mit/inf/dlsreasoner/alloy/reasoner/AlloySolver.xtend index 432651af..ceb78e99 100644 --- a/Solvers/Alloy-Solver/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/src/hu/bme/mit/inf/dlsreasoner/alloy/reasoner/AlloySolver.xtend +++ b/Solvers/Alloy-Solver/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/src/hu/bme/mit/inf/dlsreasoner/alloy/reasoner/AlloySolver.xtend @@ -57,7 +57,7 @@ class AlloySolver extends LogicReasoner{ val result2 = handler.callSolver(alloyProblem,workspace,alloyConfig,alloyCode) alloyConfig.progressMonitor.workedSearchFinished - val logicResult = backwardMapper.transformOutput(problem,configuration.solutionScope.numberOfRequiredSolution,result2,forwardTrace,transformationTime) + val logicResult = backwardMapper.transformOutput(problem,configuration.solutionScope.numberOfRequiredSolutions,result2,forwardTrace,transformationTime) alloyConfig.progressMonitor.workedBackwardTransformationFinished //val solverFinish = System.currentTimeMillis-solverStart // Finish: Solving Alloy problem diff --git a/Solvers/Alloy-Solver/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/src/hu/bme/mit/inf/dlsreasoner/alloy/reasoner/builder/AlloyHandler.xtend b/Solvers/Alloy-Solver/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/src/hu/bme/mit/inf/dlsreasoner/alloy/reasoner/builder/AlloyHandler.xtend index ebbca624..033ced04 100644 --- a/Solvers/Alloy-Solver/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/src/hu/bme/mit/inf/dlsreasoner/alloy/reasoner/builder/AlloyHandler.xtend +++ b/Solvers/Alloy-Solver/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/src/hu/bme/mit/inf/dlsreasoner/alloy/reasoner/builder/AlloyHandler.xtend @@ -184,7 +184,7 @@ class AlloyCallerWithTimeout implements Callable>>{ } else { lastAnswer = lastAnswer.next } - configuration.progressMonitor.workedBackwardTransformation(configuration.solutionScope.numberOfRequiredSolution) + configuration.progressMonitor.workedBackwardTransformation(configuration.solutionScope.numberOfRequiredSolutions) val runtime = System.currentTimeMillis -startTime synchronized(this) { @@ -201,8 +201,8 @@ class AlloyCallerWithTimeout implements Callable>>{ } def hasEnoughSolution(List answers) { - if(configuration.solutionScope.numberOfRequiredSolution < 0) return false - else return answers.size() == configuration.solutionScope.numberOfRequiredSolution + if(configuration.solutionScope.numberOfRequiredSolutions < 0) return false + else return answers.size() == configuration.solutionScope.numberOfRequiredSolutions } public def getPartialAnswers() { diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/MultiplicityGoalConstraintCalculator.xtend b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/MultiplicityGoalConstraintCalculator.xtend index e05160d0..4b9629df 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/MultiplicityGoalConstraintCalculator.xtend +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/MultiplicityGoalConstraintCalculator.xtend @@ -11,28 +11,28 @@ class MultiplicityGoalConstraintCalculator { val IQuerySpecification querySpecification; var ViatraQueryMatcher matcher; - public new(String targetRelationName, IQuerySpecification querySpecification) { + new(String targetRelationName, IQuerySpecification querySpecification) { this.targetRelationName = targetRelationName this.querySpecification = querySpecification this.matcher = null } - public new(MultiplicityGoalConstraintCalculator other) { + new(MultiplicityGoalConstraintCalculator other) { this.targetRelationName = other.targetRelationName this.querySpecification = other.querySpecification this.matcher = null } - def public getName() { + def getName() { targetRelationName } - def public init(Notifier notifier) { + def init(Notifier notifier) { val engine = ViatraQueryEngine.on(new EMFScope(notifier)) matcher = querySpecification.getMatcher(engine) } - def public calculateValue() { + def calculateValue() { var res = 0 val allMatches = this.matcher.allMatches for(match : allMatches) { diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/ViatraReasoner.xtend b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/ViatraReasoner.xtend index 6639e5f3..8831b0ff 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/ViatraReasoner.xtend +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/ViatraReasoner.xtend @@ -17,11 +17,13 @@ import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.par import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.statecoder.IdentifierBasedStateCoderFactory import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.statecoder.NeighbourhoodBasedStateCoderFactory import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.dse.BestFirstStrategyForModelGeneration +import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.dse.LoggerSolutionFoundHandler import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.dse.ModelGenerationCompositeObjective import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.dse.PartialModelAsLogicInterpretation import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.dse.ScopeObjective +import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.dse.SurelyViolatedObjectiveGlobalConstraint import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.dse.UnfinishedMultiplicityObjective -import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.dse.UnfinishedWFObjective +import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.dse.ViatraReasonerSolutionSaver import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.dse.WF2ObjectiveConverter import hu.bme.mit.inf.dslreasoner.workspace.ReasonerWorkspace import java.util.List @@ -31,44 +33,41 @@ import org.eclipse.viatra.dse.api.DesignSpaceExplorer import org.eclipse.viatra.dse.api.DesignSpaceExplorer.DseLoggingLevel import org.eclipse.viatra.dse.solutionstore.SolutionStore import org.eclipse.viatra.dse.statecode.IStateCoderFactory -import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.dse.SolutionStoreWithDiversityDescriptor -import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.dse.DiversityGranularity -class ViatraReasoner extends LogicReasoner{ +class ViatraReasoner extends LogicReasoner { val PartialInterpretationInitialiser initialiser = new PartialInterpretationInitialiser() val ModelGenerationMethodProvider modelGenerationMethodProvider = new ModelGenerationMethodProvider - val extension LogicresultFactory factory = LogicresultFactory.eINSTANCE + val extension LogicresultFactory factory = LogicresultFactory.eINSTANCE val WF2ObjectiveConverter wf2ObjectiveConverter = new WF2ObjectiveConverter - - - override solve(LogicProblem problem, LogicSolverConfiguration configuration, ReasonerWorkspace workspace) throws LogicReasonerException { + + override solve(LogicProblem problem, LogicSolverConfiguration configuration, + ReasonerWorkspace workspace) throws LogicReasonerException { val viatraConfig = configuration.asConfig - - if(viatraConfig.debugCongiguration.logging) { + + if (viatraConfig.debugConfiguration.logging) { DesignSpaceExplorer.turnOnLogging(DseLoggingLevel.VERBOSE_FULL) } else { DesignSpaceExplorer.turnOnLogging(DseLoggingLevel.WARN) } - + val DesignSpaceExplorer dse = new DesignSpaceExplorer(); - + dse.addMetaModelPackage(LogiclanguagePackage.eINSTANCE) dse.addMetaModelPackage(LogicproblemPackage.eINSTANCE) dse.addMetaModelPackage(PartialinterpretationPackage.eINSTANCE) - + val transformationStartTime = System.nanoTime - - - - val emptySolution = initialiser.initialisePartialInterpretation(problem,viatraConfig.typeScopes).output - if((viatraConfig.documentationLevel == DocumentationLevel::FULL || viatraConfig.documentationLevel == DocumentationLevel::NORMAL) && workspace !== null) { - workspace.writeModel(emptySolution,"init.partialmodel") - } + + val emptySolution = initialiser.initialisePartialInterpretation(problem, viatraConfig.typeScopes).output + if ((viatraConfig.documentationLevel == DocumentationLevel::FULL || + viatraConfig.documentationLevel == DocumentationLevel::NORMAL) && workspace !== null) { + workspace.writeModel(emptySolution, "init.partialmodel") + } emptySolution.problemConainer = problem - + val ScopePropagator scopePropagator = new ScopePropagator(emptySolution) - scopePropagator.propagateAllScopeConstraints - + scopePropagator.propagateAllScopeConstraints + val method = modelGenerationMethodProvider.createModelGenerationMethod( problem, emptySolution, @@ -78,138 +77,151 @@ class ViatraReasoner extends LogicReasoner{ scopePropagator, viatraConfig.documentationLevel ) - + dse.addObjective(new ModelGenerationCompositeObjective( new ScopeObjective, method.unfinishedMultiplicities.map[new UnfinishedMultiplicityObjective(it)], - new UnfinishedWFObjective(method.unfinishedWF) + wf2ObjectiveConverter.createCompletenessObjective(method.unfinishedWF) )) - dse.addGlobalConstraint(wf2ObjectiveConverter.createInvalidationObjective(method.invalidWF)) - for(additionalConstraint : viatraConfig.searchSpaceConstraints.additionalGlobalConstraints) { + val solutionStore = new SolutionStore(configuration.solutionScope.numberOfRequiredSolutions) + solutionStore.registerSolutionFoundHandler(new LoggerSolutionFoundHandler(viatraConfig)) + val solutionSaver = new ViatraReasonerSolutionSaver(newArrayOfSize(0, 0)) + val solutionCopier = solutionSaver.solutionCopier + solutionStore.withSolutionSaver(solutionSaver) + dse.solutionStore = solutionStore + + dse.addGlobalConstraint(wf2ObjectiveConverter.createInvalidationGlobalConstraint(method.invalidWF)) + dse.addGlobalConstraint(new SurelyViolatedObjectiveGlobalConstraint(solutionSaver)) + for (additionalConstraint : viatraConfig.searchSpaceConstraints.additionalGlobalConstraints) { dse.addGlobalConstraint(additionalConstraint.apply(method)) } - - dse.setInitialModel(emptySolution,false) - - val IStateCoderFactory statecoder = if(viatraConfig.stateCoderStrategy == StateCoderStrategy.Neighbourhood) { - new NeighbourhoodBasedStateCoderFactory - } else { - new IdentifierBasedStateCoderFactory - } + + dse.setInitialModel(emptySolution, false) + + val IStateCoderFactory statecoder = if (viatraConfig.stateCoderStrategy == StateCoderStrategy.Neighbourhood) { + new NeighbourhoodBasedStateCoderFactory + } else { + new IdentifierBasedStateCoderFactory + } dse.stateCoderFactory = statecoder - + dse.maxNumberOfThreads = 1 - - val solutionStore = new SolutionStore(configuration.solutionScope.numberOfRequiredSolution) - dse.solutionStore = solutionStore - - for(rule : method.relationRefinementRules) { + + for (rule : method.relationRefinementRules) { dse.addTransformationRule(rule) } - for(rule : method.objectRefinementRules) { + for (rule : method.objectRefinementRules) { dse.addTransformationRule(rule) } - - val strategy = new BestFirstStrategyForModelGeneration(workspace,viatraConfig,method) + + val strategy = new BestFirstStrategyForModelGeneration(workspace, viatraConfig, method) viatraConfig.progressMonitor.workedForwardTransformation - + val transformationTime = System.nanoTime - transformationStartTime val solverStartTime = System.nanoTime - + var boolean stoppedByTimeout - var boolean stoppedByException - try{ - stoppedByTimeout = dse.startExplorationWithTimeout(strategy,configuration.runtimeLimit*1000); - stoppedByException = false + try { + stoppedByTimeout = dse.startExplorationWithTimeout(strategy, configuration.runtimeLimit * 1000); } catch (NullPointerException npe) { stoppedByTimeout = false - stoppedByException = true } val solverTime = System.nanoTime - solverStartTime viatraConfig.progressMonitor.workedSearchFinished - - //additionalMatches = strategy.solutionStoreWithCopy.additionalMatches + + // additionalMatches = strategy.solutionStoreWithCopy.additionalMatches val statistics = createStatistics => [ - //it.solverTime = viatraConfig.runtimeLimit - it.solverTime = (solverTime/1000000) as int - it.transformationTime = (transformationTime/1000000) as int - for(x : 0.. [ - it.name = '''_Solution«x»FoundAt''' - it.value = (strategy.solutionStoreWithCopy.allRuntimes.get(x)/1000000) as int + it.name = '''_Solution«pair.key»FoundAt''' + it.value = (pair.value / 1000000) as int ] } it.entries += createIntStatisticEntry => [ - it.name = "TransformationExecutionTime" it.value = (method.statistics.transformationExecutionTime/1000000) as int + it.name = "TransformationExecutionTime" + it.value = (method.statistics.transformationExecutionTime / 1000000) as int ] it.entries += createIntStatisticEntry => [ - it.name = "TypeAnalysisTime" it.value = (method.statistics.PreliminaryTypeAnalisisTime/1000000) as int + it.name = "TypeAnalysisTime" + it.value = (method.statistics.PreliminaryTypeAnalisisTime / 1000000) as int ] it.entries += createIntStatisticEntry => [ - it.name = "StateCoderTime" it.value = (statecoder.runtime/1000000) as int + it.name = "StateCoderTime" + it.value = (statecoder.runtime / 1000000) as int ] it.entries += createIntStatisticEntry => [ - it.name = "StateCoderFailCount" it.value = strategy.numberOfStatecoderFail + it.name = "StateCoderFailCount" + it.value = strategy.numberOfStatecoderFail ] it.entries += createIntStatisticEntry => [ - it.name = "SolutionCopyTime" it.value = (strategy.solutionStoreWithCopy.sumRuntime/1000000) as int + it.name = "SolutionCopyTime" + it.value = (solutionCopier.getTotalCopierRuntime / 1000000) as int ] - if(strategy.solutionStoreWithDiversityDescriptor.isActive) { + if (strategy.solutionStoreWithDiversityDescriptor.isActive) { it.entries += createIntStatisticEntry => [ - it.name = "SolutionDiversityCheckTime" it.value = (strategy.solutionStoreWithDiversityDescriptor.sumRuntime/1000000) as int + it.name = "SolutionDiversityCheckTime" + it.value = (strategy.solutionStoreWithDiversityDescriptor.sumRuntime / 1000000) as int ] it.entries += createRealStatisticEntry => [ - it.name = "SolutionDiversitySuccessRate" it.value = strategy.solutionStoreWithDiversityDescriptor.successRate + it.name = "SolutionDiversitySuccessRate" + it.value = strategy.solutionStoreWithDiversityDescriptor.successRate ] } ] - + viatraConfig.progressMonitor.workedBackwardTransformationFinished - - if(stoppedByTimeout) { - return createInsuficientResourcesResult=>[ + + if (stoppedByTimeout) { + return createInsuficientResourcesResult => [ it.problem = problem - it.resourceName="time" - it.representation += strategy.solutionStoreWithCopy.solutions + it.resourceName = "time" + it.representation += solutionCopier.getPartialInterpretations(true) it.statistics = statistics ] } else { - if(solutionStore.solutions.empty) { + if (solutionStore.solutions.empty) { return createInconsistencyResult => [ it.problem = problem - it.representation += strategy.solutionStoreWithCopy.solutions + it.representation += solutionCopier.getPartialInterpretations(true) it.statistics = statistics ] } else { return createModelResult => [ it.problem = problem - it.trace = strategy.solutionStoreWithCopy.copyTraces - it.representation += strategy.solutionStoreWithCopy.solutions + it.trace = solutionCopier.getTraces(true) + it.representation += solutionCopier.getPartialInterpretations(true) it.statistics = statistics ] } } } - private def dispatch long runtime(NeighbourhoodBasedStateCoderFactory sc) { - sc.sumStatecoderRuntime - } + private def dispatch long runtime(NeighbourhoodBasedStateCoderFactory sc) { + sc.sumStatecoderRuntime + } - private def dispatch long runtime(IdentifierBasedStateCoderFactory sc) { - sc.sumStatecoderRuntime - } + private def dispatch long runtime(IdentifierBasedStateCoderFactory sc) { + sc.sumStatecoderRuntime + } override getInterpretations(ModelResult modelResult) { - val indexes = 0..>; - val res = indexes.map[i | new PartialModelAsLogicInterpretation(modelResult.representation.get(i) as PartialInterpretation,traces.get(i))].toList + val res = indexes.map [ i | + new PartialModelAsLogicInterpretation(modelResult.representation.get(i) as PartialInterpretation, + traces.get(i)) + ].toList return res } - + private def ViatraReasonerConfiguration asConfig(LogicSolverConfiguration configuration) { - if(configuration instanceof ViatraReasonerConfiguration) { + if (configuration instanceof ViatraReasonerConfiguration) { return configuration - } else throw new IllegalArgumentException('''Wrong configuration. Expected: «ViatraReasonerConfiguration.name», but got: «configuration.class.name»"''') + } else + throw new IllegalArgumentException('''Wrong configuration. Expected: «ViatraReasonerConfiguration.name», but got: «configuration.class.name»"''') } } diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/ViatraReasonerConfiguration.xtend b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/ViatraReasonerConfiguration.xtend index c4d7e231..9ef23c59 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/ViatraReasonerConfiguration.xtend +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/ViatraReasonerConfiguration.xtend @@ -12,7 +12,7 @@ import java.util.List import java.util.Set import org.eclipse.xtext.xbase.lib.Functions.Function1 -public enum StateCoderStrategy { +enum StateCoderStrategy { Neighbourhood, NeighbourhoodWithEquivalence, IDBased, DefinedByDiversity } @@ -40,14 +40,14 @@ class ViatraReasonerConfiguration extends LogicSolverConfiguration{ /** * Configuration for debugging support. */ - public var DebugConfiguration debugCongiguration = new DebugConfiguration + public var DebugConfiguration debugConfiguration = new DebugConfiguration /** * Configuration for cutting search space. */ public var SearchSpaceConstraint searchSpaceConstraints = new SearchSpaceConstraint } -public class DiversityDescriptor { +class DiversityDescriptor { public var ensureDiversity = false public static val FixPointRange = -1 public var int range = FixPointRange @@ -57,19 +57,19 @@ public class DiversityDescriptor { public var Set relevantRelations = null } -public class DebugConfiguration { +class DebugConfiguration { public var logging = false public var PartialInterpretationVisualiser partialInterpretatioVisualiser = null; public var partalInterpretationVisualisationFrequency = 1 } -public class InternalConsistencyCheckerConfiguration { +class InternalConsistencyCheckerConfiguration { public var LogicReasoner internalIncosnsitencyDetector = null public var LogicSolverConfiguration internalInconsistencDetectorConfiguration = null public var incternalConsistencyCheckingFrequency = 1 } -public class SearchSpaceConstraint { +class SearchSpaceConstraint { public static val UNLIMITED_MAXDEPTH = Integer.MAX_VALUE public var int maxDepth = UNLIMITED_MAXDEPTH public var List> additionalGlobalConstraints = new LinkedList diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/BestFirstStrategyForModelGeneration.java b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/BestFirstStrategyForModelGeneration.java index 60f46033..1234d54b 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/BestFirstStrategyForModelGeneration.java +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/BestFirstStrategyForModelGeneration.java @@ -75,7 +75,6 @@ public class BestFirstStrategyForModelGeneration implements IStrategy { // Running private PriorityQueue trajectoiresToExplore; private SolutionStore solutionStore; - private SolutionStoreWithCopy solutionStoreWithCopy; private SolutionStoreWithDiversityDescriptor solutionStoreWithDiversityDescriptor; private volatile boolean isInterrupted = false; private ModelResult modelResultByInternalSolver = null; @@ -97,9 +96,6 @@ public class BestFirstStrategyForModelGeneration implements IStrategy { this.method = method; } - public SolutionStoreWithCopy getSolutionStoreWithCopy() { - return solutionStoreWithCopy; - } public SolutionStoreWithDiversityDescriptor getSolutionStoreWithDiversityDescriptor() { return solutionStoreWithDiversityDescriptor; } @@ -121,7 +117,6 @@ public class BestFirstStrategyForModelGeneration implements IStrategy { matchers.add(matcher); } - this.solutionStoreWithCopy = new SolutionStoreWithCopy(); this.solutionStoreWithDiversityDescriptor = new SolutionStoreWithDiversityDescriptor(configuration.diversityRequirement); final ObjectiveComparatorHelper objectiveComparatorHelper = context.getObjectiveComparatorHelper(); @@ -146,13 +141,13 @@ public class BestFirstStrategyForModelGeneration implements IStrategy { return; } - final Fitness firstFittness = context.calculateFitness(); - checkForSolution(firstFittness); + final Fitness firstfitness = context.calculateFitness(); + checkForSolution(firstfitness); final ObjectiveComparatorHelper objectiveComparatorHelper = context.getObjectiveComparatorHelper(); final Object[] firstTrajectory = context.getTrajectory().toArray(new Object[0]); - TrajectoryWithFitness currentTrajectoryWithFittness = new TrajectoryWithFitness(firstTrajectory, firstFittness); - trajectoiresToExplore.add(currentTrajectoryWithFittness); + TrajectoryWithFitness currentTrajectoryWithfitness = new TrajectoryWithFitness(firstTrajectory, firstfitness); + trajectoiresToExplore.add(currentTrajectoryWithfitness); //if(configuration) visualiseCurrentState(); @@ -167,22 +162,22 @@ public class BestFirstStrategyForModelGeneration implements IStrategy { mainLoop: while (!isInterrupted && !configuration.progressMonitor.isCancelled()) { - if (currentTrajectoryWithFittness == null) { + if (currentTrajectoryWithfitness == null) { if (trajectoiresToExplore.isEmpty()) { logger.debug("State space is fully traversed."); return; } else { - currentTrajectoryWithFittness = selectState(); + currentTrajectoryWithfitness = selectState(); if (logger.isDebugEnabled()) { logger.debug("Current trajectory: " + Arrays.toString(context.getTrajectory().toArray())); - logger.debug("New trajectory is chosen: " + currentTrajectoryWithFittness); + logger.debug("New trajectory is chosen: " + currentTrajectoryWithfitness); } - context.getDesignSpaceManager().executeTrajectoryWithMinimalBacktrackWithoutStateCoding(currentTrajectoryWithFittness.trajectory); + context.getDesignSpaceManager().executeTrajectoryWithMinimalBacktrackWithoutStateCoding(currentTrajectoryWithfitness.trajectory); } } // visualiseCurrentState(); -// boolean consistencyCheckResult = checkConsistency(currentTrajectoryWithFittness); +// boolean consistencyCheckResult = checkConsistency(currentTrajectoryWithfitness); // if(consistencyCheckResult == true) { // continue mainLoop; // } @@ -194,7 +189,7 @@ public class BestFirstStrategyForModelGeneration implements IStrategy { final Object nextActivation = iterator.next(); // if (!iterator.hasNext()) { // logger.debug("Last untraversed activation of the state."); -// trajectoiresToExplore.remove(currentTrajectoryWithFittness); +// trajectoiresToExplore.remove(currentTrajectoryWithfitness); // } logger.debug("Executing new activation: " + nextActivation); context.executeAcitvationId(nextActivation); @@ -209,7 +204,7 @@ public class BestFirstStrategyForModelGeneration implements IStrategy { // System.out.println("---------"); // } - boolean consistencyCheckResult = checkConsistency(currentTrajectoryWithFittness); + boolean consistencyCheckResult = checkConsistency(currentTrajectoryWithfitness); if(consistencyCheckResult == true) { continue mainLoop; } if (context.isCurrentStateAlreadyTraversed()) { @@ -227,31 +222,31 @@ public class BestFirstStrategyForModelGeneration implements IStrategy { continue; } - TrajectoryWithFitness nextTrajectoryWithFittness = new TrajectoryWithFitness( + TrajectoryWithFitness nextTrajectoryWithfitness = new TrajectoryWithFitness( context.getTrajectory().toArray(), nextFitness); - trajectoiresToExplore.add(nextTrajectoryWithFittness); + trajectoiresToExplore.add(nextTrajectoryWithfitness); - int compare = objectiveComparatorHelper.compare(currentTrajectoryWithFittness.fitness, - nextTrajectoryWithFittness.fitness); + int compare = objectiveComparatorHelper.compare(currentTrajectoryWithfitness.fitness, + nextTrajectoryWithfitness.fitness); if (compare < 0) { logger.debug("Better fitness, moving on: " + nextFitness); - currentTrajectoryWithFittness = nextTrajectoryWithFittness; + currentTrajectoryWithfitness = nextTrajectoryWithfitness; continue mainLoop; } else if (compare == 0) { logger.debug("Equally good fitness, moving on: " + nextFitness); - currentTrajectoryWithFittness = nextTrajectoryWithFittness; + currentTrajectoryWithfitness = nextTrajectoryWithfitness; continue mainLoop; } else { logger.debug("Worse fitness."); - currentTrajectoryWithFittness = null; + currentTrajectoryWithfitness = null; continue mainLoop; } } } logger.debug("State is fully traversed."); - trajectoiresToExplore.remove(currentTrajectoryWithFittness); - currentTrajectoryWithFittness = null; + trajectoiresToExplore.remove(currentTrajectoryWithfitness); + currentTrajectoryWithfitness = null; } logger.info("Interrupted."); @@ -269,15 +264,11 @@ public class BestFirstStrategyForModelGeneration implements IStrategy { return activationIds; } - private void checkForSolution(final Fitness fittness) { - if (fittness.isSatisifiesHardObjectives()) { + private void checkForSolution(final Fitness fitness) { + if (fitness.isSatisifiesHardObjectives()) { if (solutionStoreWithDiversityDescriptor.isDifferent(context)) { - solutionStoreWithCopy.newSolution(context); solutionStoreWithDiversityDescriptor.newSolution(context); solutionStore.newSolution(context); - configuration.progressMonitor.workedModelFound(configuration.solutionScope.numberOfRequiredSolution); - - logger.debug("Found a solution."); } } } @@ -311,11 +302,11 @@ public class BestFirstStrategyForModelGeneration implements IStrategy { } public void visualiseCurrentState() { - PartialInterpretationVisualiser partialInterpretatioVisualiser = configuration.debugCongiguration.partialInterpretatioVisualiser; + PartialInterpretationVisualiser partialInterpretatioVisualiser = configuration.debugConfiguration.partialInterpretatioVisualiser; if(partialInterpretatioVisualiser != null && this.configuration.documentationLevel == DocumentationLevel.FULL && workspace != null) { PartialInterpretation p = (PartialInterpretation) (context.getModel()); int id = ++numberOfPrintedModel; - if (id % configuration.debugCongiguration.partalInterpretationVisualisationFrequency == 0) { + if (id % configuration.debugConfiguration.partalInterpretationVisualisationFrequency == 0) { PartialInterpretationVisualisation visualisation = partialInterpretatioVisualiser.visualiseConcretization(p); visualisation.writeToFile(workspace, String.format("state%09d.png", id)); } diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/DseUtils.xtend b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/DseUtils.xtend new file mode 100644 index 00000000..3a897aa3 --- /dev/null +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/DseUtils.xtend @@ -0,0 +1,65 @@ +package hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.dse + +import org.eclipse.viatra.dse.base.ThreadContext +import org.eclipse.viatra.dse.objectives.Comparators +import org.eclipse.viatra.dse.objectives.Fitness +import org.eclipse.viatra.dse.objectives.IObjective + +final class DseUtils { + private new() { + throw new IllegalStateException("This is a static utility class and should not be instantiated directly.") + } + + static def calculateFitness(ThreadContext it, (IObjective)=>Double getFitness) { + val result = new Fitness + var boolean satisifiesHardObjectives = true + for (objective : objectives) { + val fitness = getFitness.apply(objective) + result.put(objective.name, fitness) + if (objective.isHardObjective() && !objective.satisifiesHardObjective(fitness)) { + satisifiesHardObjectives = false + } + } + result.satisifiesHardObjectives = satisifiesHardObjectives + result + } + + static def caclulateBestPossibleFitness(ThreadContext threadContext) { + threadContext.calculateFitness [ objective | + if (objective instanceof IThreeValuedObjective) { + objective.getBestPossibleFitness(threadContext) + } else { + switch (objective.comparator) { + case Comparators.LOWER_IS_BETTER: + Double.NEGATIVE_INFINITY + case Comparators.HIGHER_IS_BETTER: + Double.POSITIVE_INFINITY + case Comparators.DIFFERENCE_TO_ZERO_IS_BETTER: + 0.0 + default: + throw new IllegalArgumentException("Unknown comparator for non-three-valued objective: " + + objective.name) + } + } + ] + } + + static def caclulateWorstPossibleFitness(ThreadContext threadContext) { + threadContext.calculateFitness [ objective | + if (objective instanceof IThreeValuedObjective) { + objective.getWorstPossibleFitness(threadContext) + } else { + switch (objective.comparator) { + case Comparators.LOWER_IS_BETTER, + case Comparators.DIFFERENCE_TO_ZERO_IS_BETTER: + Double.POSITIVE_INFINITY + case Comparators.HIGHER_IS_BETTER: + Double.NEGATIVE_INFINITY + default: + throw new IllegalArgumentException("Unknown comparator for non-three-valued objective: " + + objective.name) + } + } + ] + } +} diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/IThreeValuedObjective.xtend b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/IThreeValuedObjective.xtend new file mode 100644 index 00000000..8c93d4ec --- /dev/null +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/IThreeValuedObjective.xtend @@ -0,0 +1,10 @@ +package hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.dse + +import org.eclipse.viatra.dse.base.ThreadContext +import org.eclipse.viatra.dse.objectives.IObjective + +interface IThreeValuedObjective extends IObjective { + def Double getWorstPossibleFitness(ThreadContext threadContext) + + def Double getBestPossibleFitness(ThreadContext threadContext) +} diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/LoggerSolutionFoundHandler.xtend b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/LoggerSolutionFoundHandler.xtend new file mode 100644 index 00000000..39ef5f9a --- /dev/null +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/LoggerSolutionFoundHandler.xtend @@ -0,0 +1,24 @@ +package hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.dse + +import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.ViatraReasonerConfiguration +import org.apache.log4j.Logger +import org.eclipse.viatra.dse.api.SolutionTrajectory +import org.eclipse.viatra.dse.base.ThreadContext +import org.eclipse.viatra.dse.solutionstore.ISolutionFoundHandler +import org.eclipse.xtend.lib.annotations.FinalFieldsConstructor + +@FinalFieldsConstructor +class LoggerSolutionFoundHandler implements ISolutionFoundHandler { + val ViatraReasonerConfiguration configuration + + val logger = Logger.getLogger(SolutionCopier) + + override solutionFound(ThreadContext context, SolutionTrajectory trajectory) { + configuration.progressMonitor.workedModelFound(configuration.solutionScope.numberOfRequiredSolutions) + logger.debug("Found a solution.") + } + + override solutionTriedToSave(ThreadContext context, SolutionTrajectory trajectory) { + // We are not interested in invalid solutions, ignore. + } +} diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/ModelGenerationCompositeObjective.xtend b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/ModelGenerationCompositeObjective.xtend index 2489c751..af6d1bbd 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/ModelGenerationCompositeObjective.xtend +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/ModelGenerationCompositeObjective.xtend @@ -1,11 +1,12 @@ package hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.dse +import com.google.common.collect.ImmutableList import java.util.Comparator import java.util.List import org.eclipse.viatra.dse.base.ThreadContext import org.eclipse.viatra.dse.objectives.Comparators import org.eclipse.viatra.dse.objectives.IObjective -import org.eclipse.viatra.dse.objectives.impl.BaseObjective +import org.eclipse.xtend.lib.annotations.FinalFieldsConstructor //class ViatraReasonerNumbers { // public static val scopePriority = 2 @@ -22,64 +23,66 @@ import org.eclipse.viatra.dse.objectives.impl.BaseObjective // public static val compositePriority = 2 //} -class ModelGenerationCompositeObjective implements IObjective{ - val ScopeObjective scopeObjective - val List unfinishedMultiplicityObjectives - val UnfinishedWFObjective unfinishedWFObjective - - public new( - ScopeObjective scopeObjective, - List unfinishedMultiplicityObjectives, - UnfinishedWFObjective unfinishedWFObjective) - { - this.scopeObjective = scopeObjective - this.unfinishedMultiplicityObjectives = unfinishedMultiplicityObjectives - this.unfinishedWFObjective = unfinishedWFObjective - } - +@FinalFieldsConstructor +class ModelGenerationCompositeObjective implements IThreeValuedObjective { + val IObjective scopeObjective + val List unfinishedMultiplicityObjectives + val IObjective unfinishedWFObjective + override init(ThreadContext context) { this.scopeObjective.init(context) this.unfinishedMultiplicityObjectives.forEach[it.init(context)] this.unfinishedWFObjective.init(context) } - + override createNew() { return new ModelGenerationCompositeObjective( - this.scopeObjective, this.unfinishedMultiplicityObjectives, this.unfinishedWFObjective) + scopeObjective.createNew, + ImmutableList.copyOf(unfinishedMultiplicityObjectives.map[createNew]), + unfinishedWFObjective.createNew + ) } - + override getComparator() { Comparators.LOWER_IS_BETTER } + override getFitness(ThreadContext context) { var sum = 0.0 val scopeFitnes = scopeObjective.getFitness(context) - //val unfinishedMultiplicitiesFitneses = unfinishedMultiplicityObjectives.map[x|x.getFitness(context)] + // val unfinishedMultiplicitiesFitneses = unfinishedMultiplicityObjectives.map[x|x.getFitness(context)] val unfinishedWFsFitness = unfinishedWFObjective.getFitness(context) - - sum+=scopeFitnes + + sum += scopeFitnes var multiplicity = 0.0 - for(multiplicityObjective : unfinishedMultiplicityObjectives) { - multiplicity+=multiplicityObjective.getFitness(context)//*0.5 + for (multiplicityObjective : unfinishedMultiplicityObjectives) { + multiplicity += multiplicityObjective.getFitness(context) // *0.5 } - sum+=multiplicity - sum += unfinishedWFsFitness//*0.5 - - //println('''Sum=«sum»|Scope=«scopeFitnes»|Multiplicity=«multiplicity»|WFs=«unfinishedWFsFitness»''') - + sum += multiplicity + sum += unfinishedWFsFitness // *0.5 + // println('''Sum=«sum»|Scope=«scopeFitnes»|Multiplicity=«multiplicity»|WFs=«unfinishedWFsFitness»''') return sum } - override getLevel() { 2 } - override getName() { "CompositeUnfinishednessObjective"} + override getWorstPossibleFitness(ThreadContext threadContext) { + Double.POSITIVE_INFINITY + } + override getBestPossibleFitness(ThreadContext threadContext) { + 0.0 + } + + override getLevel() { 2 } + + override getName() { "CompositeUnfinishednessObjective" } + override isHardObjective() { true } + override satisifiesHardObjective(Double fitness) { fitness <= 0.001 } - - + override setComparator(Comparator comparator) { - throw new UnsupportedOperationException("TODO: auto-generated method stub") + throw new UnsupportedOperationException("Model generation objective comparator cannot be set.") } + override setLevel(int level) { - throw new UnsupportedOperationException("TODO: auto-generated method stub") + throw new UnsupportedOperationException("Model generation objective level cannot be set.") } - -} \ No newline at end of file +} diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/SolutionCopier.xtend b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/SolutionCopier.xtend new file mode 100644 index 00000000..d036257d --- /dev/null +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/SolutionCopier.xtend @@ -0,0 +1,74 @@ +package hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.dse + +import com.google.common.collect.ImmutableList +import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.PartialInterpretation +import java.util.LinkedHashMap +import java.util.List +import java.util.Map +import org.eclipse.emf.ecore.EObject +import org.eclipse.emf.ecore.util.EcoreUtil +import org.eclipse.viatra.dse.base.ThreadContext +import org.eclipse.xtend.lib.annotations.Accessors +import org.eclipse.xtend.lib.annotations.FinalFieldsConstructor + +@FinalFieldsConstructor +class CopiedSolution { + @Accessors val PartialInterpretation partialInterpretations + @Accessors val Map trace + @Accessors val long copierRuntime + @Accessors var boolean current = true +} + +class SolutionCopier { + val copiedSolutions = new LinkedHashMap + + long startTime = System.nanoTime + @Accessors(PUBLIC_GETTER) long totalCopierRuntime = 0 + + def void copySolution(ThreadContext context, Object solutionId) { + val existingCopy = copiedSolutions.get(solutionId) + if (existingCopy === null) { + val copyStart = System.nanoTime + val solution = context.model as PartialInterpretation + val copier = new EcoreUtil.Copier + val copiedPartialInterpretation = copier.copy(solution) as PartialInterpretation + copier.copyReferences + totalCopierRuntime += System.nanoTime - copyStart + val copierRuntime = System.nanoTime - startTime + val copiedSolution = new CopiedSolution(copiedPartialInterpretation, copier, copierRuntime) + copiedSolutions.put(solutionId, copiedSolution) + } else { + existingCopy.current = true + } + } + + def void markAsObsolete(Object solutionId) { + val copiedSolution = copiedSolutions.get(solutionId) + if (copiedSolution === null) { + throw new IllegalStateException("No solution to mark as obsolete for state code: " + solutionId) + } + copiedSolution.current = false + } + + def List getPartialInterpretations(boolean currentOnly) { + getListOfCopiedSolutions(currentOnly).map[partialInterpretations] + } + + def List> getTraces(boolean currentOnly) { + getListOfCopiedSolutions(currentOnly).map[trace] + } + + def List getAllCopierRuntimes(boolean currentOnly) { + getListOfCopiedSolutions(currentOnly).map[copierRuntime] + } + + def List getListOfCopiedSolutions(boolean currentOnly) { + val values = copiedSolutions.values + val filteredSolutions = if (currentOnly) { + values.filter[current] + } else { + values + } + ImmutableList.copyOf(filteredSolutions) + } +} diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/SolutionStoreWithCopy.xtend b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/SolutionStoreWithCopy.xtend deleted file mode 100644 index a8b7301e..00000000 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/SolutionStoreWithCopy.xtend +++ /dev/null @@ -1,52 +0,0 @@ -package hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.dse - -import java.util.List -import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.PartialInterpretation -import java.util.LinkedList -import org.eclipse.emf.ecore.EObject -import java.util.Map -import org.eclipse.emf.ecore.util.EcoreUtil -import org.eclipse.viatra.dse.base.ThreadContext -import java.util.TreeMap -import java.util.SortedMap - -class SolutionStoreWithCopy { - - long runtime = 0 - List solutions = new LinkedList - //public List> additionalMatches = new LinkedList - List> copyTraces = new LinkedList - - long sartTime = System.nanoTime - List solutionTimes = new LinkedList - - /*def newSolution(ThreadContext context, SortedMap additonalMatch) { - additionalMatches+= additonalMatch - newSolution(context) - }*/ - - def newSolution(ThreadContext context) { - //print(System.nanoTime-initTime + ";") - val copyStart = System.nanoTime - val solution = context.model as PartialInterpretation - val copier = new EcoreUtil.Copier - val solutionCopy = copier.copy(solution) as PartialInterpretation - copier.copyReferences - solutions.add(solutionCopy) - copyTraces.add(copier) - runtime += System.nanoTime - copyStart - solutionTimes.add(System.nanoTime-sartTime) - } - def getSumRuntime() { - return runtime - } - def getAllRuntimes() { - return solutionTimes - } - def getSolutions() { - solutions - } - def getCopyTraces() { - return copyTraces - } -} \ No newline at end of file diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/SurelyViolatedObjectiveGlobalConstraint.xtend b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/SurelyViolatedObjectiveGlobalConstraint.xtend new file mode 100644 index 00000000..7fd494a0 --- /dev/null +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/SurelyViolatedObjectiveGlobalConstraint.xtend @@ -0,0 +1,29 @@ +package hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.dse + +import org.eclipse.viatra.dse.base.ThreadContext +import org.eclipse.viatra.dse.objectives.IGlobalConstraint +import org.eclipse.xtend.lib.annotations.FinalFieldsConstructor + +@FinalFieldsConstructor +class SurelyViolatedObjectiveGlobalConstraint implements IGlobalConstraint { + val ViatraReasonerSolutionSaver solutionSaver + + override init(ThreadContext context) { + if (solutionSaver !== null) { + return + } + } + + override createNew() { + this + } + + override getName() { + class.name + } + + override checkGlobalConstraint(ThreadContext context) { + val bestFitness = DseUtils.caclulateBestPossibleFitness(context) + bestFitness.satisifiesHardObjectives && !solutionSaver.isFitnessDominated(bestFitness) + } +} diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/UnfinishedMultiplicityObjective.xtend b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/UnfinishedMultiplicityObjective.xtend index aad9a448..7d0a7884 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/UnfinishedMultiplicityObjective.xtend +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/UnfinishedMultiplicityObjective.xtend @@ -9,7 +9,7 @@ import org.eclipse.viatra.dse.objectives.Comparators class UnfinishedMultiplicityObjective implements IObjective { val MultiplicityGoalConstraintCalculator unfinishedMultiplicity; - public new(MultiplicityGoalConstraintCalculator unfinishedMultiplicity) { + new(MultiplicityGoalConstraintCalculator unfinishedMultiplicity) { this.unfinishedMultiplicity = unfinishedMultiplicity } diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/UnfinishedWFObjective.xtend b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/UnfinishedWFObjective.xtend deleted file mode 100644 index e0111cf6..00000000 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/UnfinishedWFObjective.xtend +++ /dev/null @@ -1,56 +0,0 @@ -package hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.dse - -import org.eclipse.viatra.dse.objectives.IObjective -import org.eclipse.viatra.query.runtime.api.IPatternMatch -import org.eclipse.viatra.query.runtime.api.ViatraQueryMatcher -import org.eclipse.viatra.query.runtime.api.IQuerySpecification -import java.util.Collection -import org.eclipse.viatra.query.runtime.api.ViatraQueryEngine -import org.eclipse.viatra.query.runtime.emf.EMFScope -import org.eclipse.viatra.dse.base.ThreadContext -import java.util.List -import org.eclipse.viatra.dse.objectives.Comparators -import java.util.ArrayList -import java.util.Comparator - -class UnfinishedWFObjective implements IObjective { - Collection>> unfinishedWFs - val List> matchers - - public new(Collection>> unfinishedWFs) { - this.unfinishedWFs = unfinishedWFs - matchers = new ArrayList(unfinishedWFs.size) - } - override getName() '''unfinishedWFs''' - override createNew() { - return new UnfinishedWFObjective(unfinishedWFs) - } - override init(ThreadContext context) { - val engine = context.queryEngine//ViatraQueryEngine.on(new EMFScope(context.model)) - for(unfinishedWF : unfinishedWFs) { - matchers += unfinishedWF.getMatcher(engine) - } - } - - override getComparator() { Comparators.LOWER_IS_BETTER } - override getFitness(ThreadContext context) { - var sumOfMatches = 0 - for(matcher : matchers) { - val number = matcher.countMatches - //println('''«matcher.patternName» = «number»''') - sumOfMatches+=number - } - return sumOfMatches.doubleValue - } - - override getLevel() { 2 } - override isHardObjective() { true } - override satisifiesHardObjective(Double fitness) { return fitness <=0.01 } - - override setComparator(Comparator comparator) { - throw new UnsupportedOperationException("TODO: auto-generated method stub") - } - override setLevel(int level) { - throw new UnsupportedOperationException("TODO: auto-generated method stub") - } -} \ No newline at end of file diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/ViatraReasonerSolutionSaver.xtend b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/ViatraReasonerSolutionSaver.xtend new file mode 100644 index 00000000..5877778e --- /dev/null +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/ViatraReasonerSolutionSaver.xtend @@ -0,0 +1,99 @@ +package hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.dse + +import java.util.HashMap +import java.util.Map +import org.eclipse.viatra.dse.api.DSEException +import org.eclipse.viatra.dse.api.Solution +import org.eclipse.viatra.dse.api.SolutionTrajectory +import org.eclipse.viatra.dse.base.ThreadContext +import org.eclipse.viatra.dse.objectives.Fitness +import org.eclipse.viatra.dse.objectives.IObjective +import org.eclipse.viatra.dse.objectives.ObjectiveComparatorHelper +import org.eclipse.viatra.dse.solutionstore.SolutionStore.ISolutionSaver +import org.eclipse.xtend.lib.annotations.Accessors + +/** + * Based on {@link org.eclipse.viatra.dse.solutionstore.SolutionStore.BestSolutionSaver}. + */ +class ViatraReasonerSolutionSaver implements ISolutionSaver { + @Accessors val solutionCopier = new SolutionCopier + val boolean hasExtremalObjectives + val ObjectiveComparatorHelper comparatorHelper + val Map trajectories = new HashMap + + @Accessors(PUBLIC_SETTER) var Map solutionsCollection + + new(IObjective[][] leveledExtremalObjectives) { + comparatorHelper = new ObjectiveComparatorHelper(leveledExtremalObjectives) + hasExtremalObjectives = leveledExtremalObjectives.exists[!empty] + } + + override saveSolution(ThreadContext context, Object id, SolutionTrajectory solutionTrajectory) { + if (hasExtremalObjectives) { + saveBestSolutionOnly(context, id, solutionTrajectory) + } else { + basicSaveSolution(context, id, solutionTrajectory) + } + } + + private def saveBestSolutionOnly(ThreadContext context, Object id, SolutionTrajectory solutionTrajectory) { + val fitness = context.lastFitness + val dominatedTrajectories = newArrayList + for (entry : trajectories.entrySet) { + val isLastFitnessBetter = comparatorHelper.compare(fitness, entry.value) + if (isLastFitnessBetter < 0) { + // Found a trajectory that dominates the current one, no need to save + return false + } + if (isLastFitnessBetter > 0) { + dominatedTrajectories += entry.key + } + } + // We must save the new trajectory before removing dominated trajectories + // to avoid removing the current solution when it is reachable only via dominated trajectories. + val solutionSaved = basicSaveSolution(context, id, solutionTrajectory) + for (dominatedTrajectory : dominatedTrajectories) { + trajectories -= dominatedTrajectory + val dominatedSolution = dominatedTrajectory.solution + if (!dominatedSolution.trajectories.remove(dominatedTrajectory)) { + throw new DSEException( + "Dominated solution is not reachable from dominated trajectory. This should never happen!") + } + if (dominatedSolution.trajectories.empty) { + val dominatedSolutionId = dominatedSolution.stateCode + solutionCopier.markAsObsolete(dominatedSolutionId) + solutionsCollection -= dominatedSolutionId + } + } + solutionSaved + } + + private def basicSaveSolution(ThreadContext context, Object id, SolutionTrajectory solutionTrajectory) { + val fitness = context.lastFitness + var boolean solutionSaved = false + var dseSolution = solutionsCollection.get(id) + if (dseSolution === null) { + solutionCopier.copySolution(context, id) + dseSolution = new Solution(id, solutionTrajectory) + solutionsCollection.put(id, dseSolution) + solutionSaved = true + } else { + solutionSaved = dseSolution.trajectories.add(solutionTrajectory) + } + if (solutionSaved) { + solutionTrajectory.solution = dseSolution + trajectories.put(solutionTrajectory, fitness) + } + solutionSaved + } + + def isFitnessDominated(Fitness fitness) { + for (existingFitness : trajectories.values) { + val isNewFitnessBetter = comparatorHelper.compare(fitness, existingFitness) + if (isNewFitnessBetter < 0) { + return true + } + } + false + } +} diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/WF2ObjectiveConverter.xtend b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/WF2ObjectiveConverter.xtend index 5a528a9e..c601de40 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/WF2ObjectiveConverter.xtend +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/WF2ObjectiveConverter.xtend @@ -1,5 +1,6 @@ package hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.dse +import com.google.common.collect.ImmutableList import java.util.ArrayList import java.util.Collection import org.eclipse.viatra.dse.objectives.Comparators @@ -12,25 +13,34 @@ import org.eclipse.viatra.query.runtime.api.IQuerySpecification import org.eclipse.viatra.query.runtime.api.ViatraQueryMatcher class WF2ObjectiveConverter { - + static val UNFINISHED_WFS_NAME = "unfinishedWFs" + static val INVALIDATED_WFS_NAME = "invalidatedWFs" + def createCompletenessObjective( - Collection>> unfinishedWF) - { - val res = new ConstraintsObjective('''unfinishedWFs''', - unfinishedWF.map[ - new QueryConstraint(it.fullyQualifiedName,it,2.0) - ].toList + Collection>> unfinishedWF) { + createConstraintObjective(UNFINISHED_WFS_NAME, unfinishedWF) + } + + def createInvalidationObjective( + Collection>> invalidatedByWF) { + createConstraintObjective(INVALIDATED_WFS_NAME, invalidatedByWF) + } + + def IGlobalConstraint createInvalidationGlobalConstraint( + Collection>> invalidatedByWF) { + new ModelQueriesGlobalConstraint(INVALIDATED_WFS_NAME, new ArrayList(invalidatedByWF)) + } + + private def createConstraintObjective(String name, + Collection>> queries) { + val res = new ConstraintsObjective( + name, + ImmutableList.copyOf(queries.map [ + new QueryConstraint(it.fullyQualifiedName, it, 1.0) + ]) ) res.withComparator(Comparators.LOWER_IS_BETTER) res.level = 2 - return res - } - - def IGlobalConstraint createInvalidationObjective( - Collection>> invalidatedByWF) - { - return new ModelQueriesGlobalConstraint('''invalidatedWFs''', - new ArrayList(invalidatedByWF) - ) + res } -} \ No newline at end of file +} diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/.CftLanguageIdeModule.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/.CftLanguageIdeModule.xtendbin index b05b37d4..2c3fb067 100644 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/.CftLanguageIdeModule.xtendbin and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/.CftLanguageIdeModule.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/.CftLanguageIdeSetup.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/.CftLanguageIdeSetup.xtendbin index 7a01ace8..dd1a46c1 100644 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/.CftLanguageIdeSetup.xtendbin and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/.CftLanguageIdeSetup.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/.CftLanguageUiModule.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/.CftLanguageUiModule.xtendbin index 0e56af1c..1694059d 100644 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/.CftLanguageUiModule.xtendbin and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/.CftLanguageUiModule.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/contentassist/.CftLanguageProposalProvider.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/contentassist/.CftLanguageProposalProvider.xtendbin index e3b08949..e89abd97 100644 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/contentassist/.CftLanguageProposalProvider.xtendbin and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/contentassist/.CftLanguageProposalProvider.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/labeling/.CftLanguageDescriptionLabelProvider.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/labeling/.CftLanguageDescriptionLabelProvider.xtendbin index a9a231c9..c2485146 100644 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/labeling/.CftLanguageDescriptionLabelProvider.xtendbin and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/labeling/.CftLanguageDescriptionLabelProvider.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/labeling/.CftLanguageLabelProvider.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/labeling/.CftLanguageLabelProvider.xtendbin index c96ad697..cdef3946 100644 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/labeling/.CftLanguageLabelProvider.xtendbin and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/labeling/.CftLanguageLabelProvider.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/outline/.CftLanguageOutlineTreeProvider.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/outline/.CftLanguageOutlineTreeProvider.xtendbin index 7c4945f3..04b65373 100644 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/outline/.CftLanguageOutlineTreeProvider.xtendbin and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/outline/.CftLanguageOutlineTreeProvider.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/quickfix/.CftLanguageQuickfixProvider.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/quickfix/.CftLanguageQuickfixProvider.xtendbin index 6f9ed2db..13419ed3 100644 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/quickfix/.CftLanguageQuickfixProvider.xtendbin and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/quickfix/.CftLanguageQuickfixProvider.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/syntaxcoloring/.CftLanguageSemanticHighlightingCalculator.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/syntaxcoloring/.CftLanguageSemanticHighlightingCalculator.xtendbin index 319b1a7b..42bf1c75 100644 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/syntaxcoloring/.CftLanguageSemanticHighlightingCalculator.xtendbin and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/syntaxcoloring/.CftLanguageSemanticHighlightingCalculator.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/syntaxcoloring/.CftLanguageTokenToAttributeIdMapper.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/syntaxcoloring/.CftLanguageTokenToAttributeIdMapper.xtendbin index 64980787..09c27dfe 100644 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/syntaxcoloring/.CftLanguageTokenToAttributeIdMapper.xtendbin and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/syntaxcoloring/.CftLanguageTokenToAttributeIdMapper.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/.CftLanguageRuntimeModule.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/.CftLanguageRuntimeModule.xtendbin index e3eb300d..25c11260 100644 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/.CftLanguageRuntimeModule.xtendbin and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/.CftLanguageRuntimeModule.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/.CftLanguageStandaloneSetup.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/.CftLanguageStandaloneSetup.xtendbin index cf472a5c..7a10919f 100644 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/.CftLanguageStandaloneSetup.xtendbin and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/.CftLanguageStandaloneSetup.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/conversion/.CftLanguageValueConverterService.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/conversion/.CftLanguageValueConverterService.xtendbin index 9e436c25..f4a74d7b 100644 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/conversion/.CftLanguageValueConverterService.xtendbin and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/conversion/.CftLanguageValueConverterService.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/conversion/.OF_INTValueConverter.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/conversion/.OF_INTValueConverter.xtendbin index 8dcb67ce..8d4c818e 100644 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/conversion/.OF_INTValueConverter.xtendbin and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/conversion/.OF_INTValueConverter.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/generator/.CftLanguageGenerator.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/generator/.CftLanguageGenerator.xtendbin index f55b7c31..79e0e382 100644 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/generator/.CftLanguageGenerator.xtendbin and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/generator/.CftLanguageGenerator.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/naming/.CftLanguageQualifiedNameProvider.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/naming/.CftLanguageQualifiedNameProvider.xtendbin index 1f55e190..51f5e2fe 100644 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/naming/.CftLanguageQualifiedNameProvider.xtendbin and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/naming/.CftLanguageQualifiedNameProvider.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/naming/.PackageNameProvider.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/naming/.PackageNameProvider.xtendbin index d7439d22..cf8f603b 100644 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/naming/.PackageNameProvider.xtendbin and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/naming/.PackageNameProvider.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/scoping/.CftLanguageImportedNamespaceAwareLocalScopeProvider.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/scoping/.CftLanguageImportedNamespaceAwareLocalScopeProvider.xtendbin index 4fbc7cd3..116d5bc1 100644 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/scoping/.CftLanguageImportedNamespaceAwareLocalScopeProvider.xtendbin and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/scoping/.CftLanguageImportedNamespaceAwareLocalScopeProvider.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/scoping/.CftLanguageScopeProvider.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/scoping/.CftLanguageScopeProvider.xtendbin index 5b585e60..7a6eb47e 100644 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/scoping/.CftLanguageScopeProvider.xtendbin and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/scoping/.CftLanguageScopeProvider.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/validation/.CftLanguageValidator.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/validation/.CftLanguageValidator.xtendbin index 481a23f6..fbb89193 100644 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/validation/.CftLanguageValidator.xtendbin and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/validation/.CftLanguageValidator.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/util/.CftExtensions.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/util/.CftExtensions.xtendbin index 390ee219..0e63880f 100644 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/util/.CftExtensions.xtendbin and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/util/.CftExtensions.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/.Cft2FtTransformation.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/.Cft2FtTransformation.xtendbin index 594bfecb..dfae40e9 100644 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/.Cft2FtTransformation.xtendbin and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/.Cft2FtTransformation.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/.EventCollection.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/.EventCollection.xtendbin index a868ae36..0aaf712d 100644 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/.EventCollection.xtendbin and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/.EventCollection.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/.EventMaterializer.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/.EventMaterializer.xtendbin index f7ca5531..e51f73a6 100644 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/.EventMaterializer.xtendbin and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/.EventMaterializer.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/.FaultTreeBuilder.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/.FaultTreeBuilder.xtendbin index 1d15efbb..89e003dc 100644 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/.FaultTreeBuilder.xtendbin and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/.FaultTreeBuilder.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.ComponentFaultTreeTrace.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.ComponentFaultTreeTrace.xtendbin index 3fce519e..028440a8 100644 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.ComponentFaultTreeTrace.xtendbin and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.ComponentFaultTreeTrace.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.ComponentInstanceTrace.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.ComponentInstanceTrace.xtendbin index 564e58c4..d542ba2d 100644 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.ComponentInstanceTrace.xtendbin and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.ComponentInstanceTrace.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.ComponentNameGenerator.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.ComponentNameGenerator.xtendbin index ebcfced8..949da0cd 100644 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.ComponentNameGenerator.xtendbin and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.ComponentNameGenerator.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.Ecore2CftTransformation.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.Ecore2CftTransformation.xtendbin index d4b5ecdb..82c045e2 100644 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.Ecore2CftTransformation.xtendbin and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.Ecore2CftTransformation.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.InputTrace.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.InputTrace.xtendbin index 1faa21b3..ffd70c04 100644 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.InputTrace.xtendbin and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.InputTrace.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.LookupHandler.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.LookupHandler.xtendbin index afc40951..418c71d4 100644 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.LookupHandler.xtendbin and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.LookupHandler.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.MappingHandler.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.MappingHandler.xtendbin index 419b9490..86c0d704 100644 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.MappingHandler.xtendbin and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.MappingHandler.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.MappingQueries.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.MappingQueries.xtendbin index 0e703f40..c9dda5c4 100644 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.MappingQueries.xtendbin and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.MappingQueries.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ft2galileo/.Ft2GalileoTransformation.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ft2galileo/.Ft2GalileoTransformation.xtendbin index 41e6e441..0956e6e0 100644 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ft2galileo/.Ft2GalileoTransformation.xtendbin and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ft2galileo/.Ft2GalileoTransformation.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/.ReliabilityResult.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/.ReliabilityResult.xtendbin index ef8c3b88..cdaacb58 100644 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/.ReliabilityResult.xtendbin and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/.ReliabilityResult.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/.StormDftConfiguration.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/.StormDftConfiguration.xtendbin index 4aff77d3..6e1908aa 100644 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/.StormDftConfiguration.xtendbin and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/.StormDftConfiguration.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/.StormDftHandler.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/.StormDftHandler.xtendbin index a2c634bc..5772b0e7 100644 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/.StormDftHandler.xtendbin and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/.StormDftHandler.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/.StormDftSolver.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/.StormDftSolver.xtendbin index 45f12291..e1c1a8c7 100644 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/.StormDftSolver.xtendbin and b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/.StormDftSolver.xtendbin differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.ui/bin/.gitignore b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.ui/bin/.gitignore new file mode 100644 index 00000000..1c0a02cd --- /dev/null +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.ui/bin/.gitignore @@ -0,0 +1 @@ +/hu/ diff --git a/Tests/hu.bme.mit.inf.dslreasoner.application.FAMTest/configs/generation.vsconfig b/Tests/hu.bme.mit.inf.dslreasoner.application.FAMTest/configs/generation.vsconfig index 9a073728..490d6942 100644 --- a/Tests/hu.bme.mit.inf.dslreasoner.application.FAMTest/configs/generation.vsconfig +++ b/Tests/hu.bme.mit.inf.dslreasoner.application.FAMTest/configs/generation.vsconfig @@ -7,7 +7,7 @@ generate { partial-model = { "inputs/FamInstance.xmi"} solver = ViatraSolver scope = { - #node = 5 + #node = 500 } config = { -- cgit v1.2.3-70-g09d2 From 972baab642bd889d2c3476c0c9e17a6929e0c318 Mon Sep 17 00:00:00 2001 From: Kristóf Marussy Date: Thu, 1 Aug 2019 14:49:53 +0200 Subject: [Stochastic] Remove fault tree support for now --- .../AbstractApplicationConfigurationIdeModule.java | 2 +- .../antlr/ApplicationConfigurationParser.java | 15 +- ...pplicationConfigurationContentAssistParser.java | 2 +- .../internal/InternalApplicationConfiguration.g | 671 +- .../InternalApplicationConfiguration.tokens | 78 +- .../InternalApplicationConfigurationLexer.java | 792 +- .../InternalApplicationConfigurationParser.java | 12983 ++++++++----------- .../.ApplicationConfigurationIdeModule.xtendbin | Bin 1701 -> 1701 bytes .../ide/.ApplicationConfigurationIdeSetup.xtendbin | Bin 2526 -> 2570 bytes .../AbstractApplicationConfigurationUiModule.java | 2 +- ...ionConfigurationExecutableExtensionFactory.java | 2 +- ...ctApplicationConfigurationProposalProvider.java | 32 +- .../ui/internal/ApplicationActivator.java | 2 +- .../Eclipse Application.launch | 6 +- .../META-INF/MANIFEST.MF | 3 +- .../model/generated/ApplicationConfiguration.ecore | 11 - .../generated/ApplicationConfiguration.genmodel | 15 +- ...tractApplicationConfigurationRuntimeModule.java | 2 +- .../application/ApplicationConfiguration.xtextbin | Bin 14296 -> 13485 bytes ...ationConfigurationStandaloneSetupGenerated.java | 2 +- .../applicationConfiguration/AllPackageEntry.java | 6 +- .../applicationConfiguration/AllPatternEntry.java | 6 +- .../ApplicationConfigurationFactory.java | 38 +- .../ApplicationConfigurationPackage.java | 458 +- .../applicationConfiguration/CftImport.java | 52 - .../applicationConfiguration/ClassReference.java | 6 +- .../applicationConfiguration/ClassTypeScope.java | 6 +- .../applicationConfiguration/Command.java | 2 +- .../ComparisonOperator.java | 18 +- .../applicationConfiguration/Config.java | 2 +- .../ConfigDeclaration.java | 6 +- .../applicationConfiguration/ConfigEntry.java | 2 +- .../applicationConfiguration/ConfigReference.java | 6 +- .../ConfigSpecification.java | 6 +- .../ConfigurationScript.java | 10 +- .../applicationConfiguration/CostEntry.java | 10 +- .../CostObjectiveFunction.java | 6 +- .../applicationConfiguration/CustomEntry.java | 10 +- .../applicationConfiguration/Declaration.java | 6 +- .../DocumentLevelSpecification.java | 14 +- .../DocumentationEntry.java | 6 +- .../applicationConfiguration/EPackageImport.java | 6 +- .../applicationConfiguration/ExactNumber.java | 10 +- .../application/applicationConfiguration/File.java | 2 +- .../applicationConfiguration/FileDeclaration.java | 6 +- .../applicationConfiguration/FileReference.java | 6 +- .../FileSpecification.java | 6 +- .../applicationConfiguration/FolderEntry.java | 6 +- .../applicationConfiguration/GenerationTask.java | 62 +- .../applicationConfiguration/GraphPattern.java | 2 +- .../GraphPatternDeclaration.java | 6 +- .../GraphPatternReference.java | 6 +- .../applicationConfiguration/Import.java | 2 +- .../applicationConfiguration/IntEnumberation.java | 6 +- .../applicationConfiguration/IntegerReference.java | 2 +- .../applicationConfiguration/IntegerScope.java | 2 +- .../applicationConfiguration/IntegerTypeScope.java | 6 +- .../applicationConfiguration/IntervallNumber.java | 14 +- .../applicationConfiguration/MemoryEntry.java | 6 +- .../applicationConfiguration/Metamodel.java | 2 +- .../MetamodelDeclaration.java | 6 +- .../applicationConfiguration/MetamodelElement.java | 10 +- .../applicationConfiguration/MetamodelEntry.java | 6 +- .../MetamodelReference.java | 6 +- .../MetamodelSpecification.java | 6 +- .../applicationConfiguration/ModelEntry.java | 2 +- .../application/applicationConfiguration/Mtff.java | 19 - .../NumberSpecification.java | 2 +- .../applicationConfiguration/ObjectReference.java | 2 +- .../applicationConfiguration/ObjectTypeScope.java | 6 +- .../applicationConfiguration/Objective.java | 2 +- .../ObjectiveDeclaration.java | 6 +- .../applicationConfiguration/ObjectiveEntry.java | 6 +- .../ObjectiveFunction.java | 2 +- .../ObjectiveReference.java | 6 +- .../ObjectiveSpecification.java | 6 +- .../OptimizationDirection.java | 10 +- .../OptimizationEntry.java | 6 +- .../applicationConfiguration/PartialModel.java | 2 +- .../PartialModelDeclaration.java | 6 +- .../PartialModelEntry.java | 6 +- .../PartialModelReference.java | 6 +- .../PartialModelSpecification.java | 6 +- .../applicationConfiguration/PatternElement.java | 6 +- .../applicationConfiguration/PatternEntry.java | 6 +- .../PatternSpecification.java | 6 +- .../applicationConfiguration/RealEnumeration.java | 6 +- .../applicationConfiguration/RealReference.java | 2 +- .../applicationConfiguration/RealScope.java | 2 +- .../applicationConfiguration/RealTypeScope.java | 6 +- .../ReliabilityObjectiveFunction.java | 80 - .../ReliabiltiyProbability.java | 52 - .../applicationConfiguration/RuntimeEntry.java | 6 +- .../applicationConfiguration/Scope.java | 2 +- .../applicationConfiguration/ScopeDeclaration.java | 6 +- .../applicationConfiguration/ScopeReference.java | 6 +- .../ScopeSpecification.java | 6 +- .../applicationConfiguration/Solver.java | 14 +- .../StringEnumeration.java | 6 +- .../applicationConfiguration/StringReference.java | 2 +- .../applicationConfiguration/StringScope.java | 2 +- .../applicationConfiguration/StringTypeScope.java | 6 +- .../application/applicationConfiguration/Task.java | 2 +- .../applicationConfiguration/ThresholdEntry.java | 10 +- .../applicationConfiguration/TypeReference.java | 2 +- .../applicationConfiguration/TypeScope.java | 14 +- .../applicationConfiguration/ViatraImport.java | 6 +- .../impl/AllPackageEntryImpl.java | 2 +- .../impl/AllPatternEntryImpl.java | 2 +- .../impl/ApplicationConfigurationFactoryImpl.java | 54 +- .../impl/ApplicationConfigurationPackageImpl.java | 160 +- .../impl/CftImportImpl.java | 176 - .../impl/ClassReferenceImpl.java | 2 +- .../impl/ClassTypeScopeImpl.java | 2 +- .../applicationConfiguration/impl/CommandImpl.java | 2 +- .../impl/ConfigDeclarationImpl.java | 2 +- .../impl/ConfigEntryImpl.java | 2 +- .../applicationConfiguration/impl/ConfigImpl.java | 2 +- .../impl/ConfigReferenceImpl.java | 2 +- .../impl/ConfigSpecificationImpl.java | 2 +- .../impl/ConfigurationScriptImpl.java | 2 +- .../impl/CostEntryImpl.java | 2 +- .../impl/CostObjectiveFunctionImpl.java | 2 +- .../impl/CustomEntryImpl.java | 2 +- .../impl/DeclarationImpl.java | 2 +- .../impl/DocumentationEntryImpl.java | 2 +- .../impl/EPackageImportImpl.java | 2 +- .../impl/ExactNumberImpl.java | 2 +- .../impl/FileDeclarationImpl.java | 2 +- .../applicationConfiguration/impl/FileImpl.java | 2 +- .../impl/FileReferenceImpl.java | 2 +- .../impl/FileSpecificationImpl.java | 2 +- .../impl/FolderEntryImpl.java | 2 +- .../impl/GenerationTaskImpl.java | 2 +- .../impl/GraphPatternDeclarationImpl.java | 2 +- .../impl/GraphPatternImpl.java | 2 +- .../impl/GraphPatternReferenceImpl.java | 2 +- .../applicationConfiguration/impl/ImportImpl.java | 2 +- .../impl/IntEnumberationImpl.java | 2 +- .../impl/IntegerReferenceImpl.java | 2 +- .../impl/IntegerScopeImpl.java | 2 +- .../impl/IntegerTypeScopeImpl.java | 2 +- .../impl/IntervallNumberImpl.java | 2 +- .../impl/MemoryEntryImpl.java | 2 +- .../impl/MetamodelDeclarationImpl.java | 2 +- .../impl/MetamodelElementImpl.java | 2 +- .../impl/MetamodelEntryImpl.java | 2 +- .../impl/MetamodelImpl.java | 2 +- .../impl/MetamodelReferenceImpl.java | 2 +- .../impl/MetamodelSpecificationImpl.java | 2 +- .../impl/ModelEntryImpl.java | 2 +- .../applicationConfiguration/impl/MtffImpl.java | 41 - .../impl/NumberSpecificationImpl.java | 2 +- .../impl/ObjectReferenceImpl.java | 2 +- .../impl/ObjectTypeScopeImpl.java | 2 +- .../impl/ObjectiveDeclarationImpl.java | 2 +- .../impl/ObjectiveEntryImpl.java | 2 +- .../impl/ObjectiveFunctionImpl.java | 2 +- .../impl/ObjectiveImpl.java | 2 +- .../impl/ObjectiveReferenceImpl.java | 2 +- .../impl/ObjectiveSpecificationImpl.java | 2 +- .../impl/OptimizationEntryImpl.java | 2 +- .../impl/PartialModelDeclarationImpl.java | 2 +- .../impl/PartialModelEntryImpl.java | 2 +- .../impl/PartialModelImpl.java | 2 +- .../impl/PartialModelReferenceImpl.java | 2 +- .../impl/PartialModelSpecificationImpl.java | 2 +- .../impl/PatternElementImpl.java | 2 +- .../impl/PatternEntryImpl.java | 2 +- .../impl/PatternSpecificationImpl.java | 2 +- .../impl/RealEnumerationImpl.java | 2 +- .../impl/RealReferenceImpl.java | 2 +- .../impl/RealScopeImpl.java | 2 +- .../impl/RealTypeScopeImpl.java | 2 +- .../impl/ReliabilityObjectiveFunctionImpl.java | 244 - .../impl/ReliabiltiyProbabilityImpl.java | 181 - .../impl/RuntimeEntryImpl.java | 2 +- .../impl/ScopeDeclarationImpl.java | 2 +- .../applicationConfiguration/impl/ScopeImpl.java | 2 +- .../impl/ScopeReferenceImpl.java | 2 +- .../impl/ScopeSpecificationImpl.java | 2 +- .../impl/StringEnumerationImpl.java | 2 +- .../impl/StringReferenceImpl.java | 2 +- .../impl/StringScopeImpl.java | 2 +- .../impl/StringTypeScopeImpl.java | 2 +- .../applicationConfiguration/impl/TaskImpl.java | 2 +- .../impl/ThresholdEntryImpl.java | 2 +- .../impl/TypeReferenceImpl.java | 2 +- .../impl/TypeScopeImpl.java | 2 +- .../impl/ViatraImportImpl.java | 2 +- .../ApplicationConfigurationAdapterFactory.java | 82 +- .../util/ApplicationConfigurationSwitch.java | 100 +- ...icationConfigurationAntlrTokenFileProvider.java | 2 +- .../antlr/ApplicationConfigurationParser.java | 2 +- .../internal/InternalApplicationConfiguration.g | 253 +- .../InternalApplicationConfiguration.tokens | 102 +- .../InternalApplicationConfigurationLexer.java | 886 +- .../InternalApplicationConfigurationParser.java | 4478 +++---- ...tractApplicationConfigurationScopeProvider.java | 2 +- .../ApplicationConfigurationSemanticSequencer.java | 65 +- ...ApplicationConfigurationSyntacticSequencer.java | 2 +- .../ApplicationConfigurationGrammarAccess.java | 243 +- .../AbstractApplicationConfigurationValidator.java | 2 +- .../application/ApplicationConfiguration.xtext | 19 +- .../GenerateApplicationConfiguration.mwe2 | 1 - .../ApplicationConfigurationLinkingService.xtend | 13 - .../ApplicationConfigurationScopeProvider.xtend | 32 - .../.classpath | 9 - .../.gitignore | 1 - .../.project | 34 - .../.settings/org.eclipse.core.resources.prefs | 2 - .../.settings/org.eclipse.jdt.core.prefs | 7 - .../META-INF/MANIFEST.MF | 15 - .../build.properties | 6 - .../META-INF/services/org.eclipse.xtext.ISetup | 1 - .../ide/AbstractCftLanguageIdeModule.java | 60 - .../ide/contentassist/antlr/CftLanguageParser.java | 159 - .../PartialCftLanguageContentAssistParser.java | 34 - .../antlr/internal/InternalCftLanguage.g | 4161 ------ .../antlr/internal/InternalCftLanguage.tokens | 65 - .../antlr/internal/InternalCftLanguageLexer.java | 2001 --- .../antlr/internal/InternalCftLanguageParser.java | 12646 ------------------ .../components/ide/CftLanguageIdeModule.xtend | 11 - .../components/ide/CftLanguageIdeSetup.xtend | 20 - .../components/ide/.CftLanguageIdeModule.xtendbin | Bin 1712 -> 0 bytes .../components/ide/.CftLanguageIdeSetup.xtendbin | Bin 2549 -> 0 bytes .../faulttree/components/ide/.gitignore | 6 - .../components/ide/CftLanguageIdeModule.java | 13 - .../components/ide/CftLanguageIdeSetup.java | 24 - .../.classpath | 9 - .../.gitignore | 1 - .../.project | 34 - .../.settings/org.eclipse.core.resources.prefs | 2 - .../.settings/org.eclipse.jdt.core.prefs | 7 - .../META-INF/MANIFEST.MF | 26 - .../build.properties | 7 - .../plugin.xml | 434 - .../components/ui/AbstractCftLanguageUiModule.java | 293 - .../ui/CftLanguageExecutableExtensionFactory.java | 29 - .../AbstractCftLanguageProposalProvider.java | 229 - .../ui/internal/ComponentsActivator.java | 94 - .../CftLanguageValidatorConfigurationBlock.java | 35 - .../components/ui/CftLanguageUiModule.xtend | 24 - .../CftLanguageProposalProvider.xtend | 12 - .../CftLanguageDescriptionLabelProvider.xtend | 24 - .../ui/labeling/CftLanguageLabelProvider.xtend | 26 - .../outline/CftLanguageOutlineTreeProvider.xtend | 23 - .../ui/quickfix/CftLanguageQuickfixProvider.xtend | 24 - ...CftLanguageSemanticHighlightingCalculator.xtend | 24 - .../CftLanguageTokenToAttributeIdMapper.xtend | 15 - .../components/ui/.CftLanguageUiModule.xtendbin | Bin 3606 -> 0 bytes .../dslreasoner/faulttree/components/ui/.gitignore | 3 - .../components/ui/CftLanguageUiModule.java | 31 - .../.CftLanguageProposalProvider.xtendbin | Bin 1820 -> 0 bytes .../components/ui/contentassist/.gitignore | 3 - .../contentassist/CftLanguageProposalProvider.java | 14 - .../.CftLanguageDescriptionLabelProvider.xtendbin | Bin 1993 -> 0 bytes .../ui/labeling/.CftLanguageLabelProvider.xtendbin | Bin 2885 -> 0 bytes .../faulttree/components/ui/labeling/.gitignore | 6 - .../CftLanguageDescriptionLabelProvider.java | 15 - .../ui/labeling/CftLanguageLabelProvider.java | 32 - .../.CftLanguageOutlineTreeProvider.xtendbin | Bin 2451 -> 0 bytes .../faulttree/components/ui/outline/.gitignore | 3 - .../ui/outline/CftLanguageOutlineTreeProvider.java | 24 - .../quickfix/.CftLanguageQuickfixProvider.xtendbin | Bin 1819 -> 0 bytes .../faulttree/components/ui/quickfix/.gitignore | 3 - .../ui/quickfix/CftLanguageQuickfixProvider.java | 15 - ...LanguageSemanticHighlightingCalculator.xtendbin | Bin 3773 -> 0 bytes .../.CftLanguageTokenToAttributeIdMapper.xtendbin | Bin 2740 -> 0 bytes .../components/ui/syntaxcoloring/.gitignore | 6 - .../CftLanguageSemanticHighlightingCalculator.java | 38 - .../CftLanguageTokenToAttributeIdMapper.java | 25 - .../.classpath | 9 - .../.gitignore | 1 - ...ftLanguage (cft) Language Infrastructure.launch | 18 - .../.project | 34 - .../.settings/org.eclipse.core.resources.prefs | 2 - .../.settings/org.eclipse.jdt.core.prefs | 7 - .../META-INF/MANIFEST.MF | 32 - .../build.properties | 20 - .../model/generated/CftLanguage.ecore | 60 - .../model/generated/CftLanguage.genmodel | 53 - .../plugin.xml | 10 - .../AbstractCftLanguageRuntimeModule.java | 208 - .../faulttree/components/CftLanguage.xtextbin | Bin 5927 -> 0 bytes .../CftLanguageStandaloneSetupGenerated.java | 42 - .../components/cftLanguage/Assignment.java | 106 - .../components/cftLanguage/CftLanguageFactory.java | 125 - .../components/cftLanguage/CftLanguagePackage.java | 1138 -- .../faulttree/components/cftLanguage/CftModel.java | 107 - .../components/cftLanguage/ComponentInstance.java | 52 - .../components/cftLanguage/EventReference.java | 81 - .../components/cftLanguage/ImportDeclaration.java | 52 - .../components/cftLanguage/LookupDefinition.java | 69 - .../components/cftLanguage/MappingDefinition.java | 161 - .../components/cftLanguage/MappingParameter.java | 52 - .../cftLanguage/TransformationDefinition.java | 71 - .../faulttree/components/cftLanguage/Variable.java | 52 - .../cftLanguage/impl/AssignmentImpl.java | 343 - .../cftLanguage/impl/CftLanguageFactoryImpl.java | 226 - .../cftLanguage/impl/CftLanguagePackageImpl.java | 712 - .../components/cftLanguage/impl/CftModelImpl.java | 325 - .../cftLanguage/impl/ComponentInstanceImpl.java | 176 - .../cftLanguage/impl/EventReferenceImpl.java | 245 - .../cftLanguage/impl/ImportDeclarationImpl.java | 180 - .../cftLanguage/impl/LookupDefinitionImpl.java | 220 - .../cftLanguage/impl/MappingDefinitionImpl.java | 467 - .../cftLanguage/impl/MappingParameterImpl.java | 180 - .../impl/TransformationDefinitionImpl.java | 244 - .../components/cftLanguage/impl/VariableImpl.java | 180 - .../util/CftLanguageAdapterFactory.java | 313 - .../cftLanguage/util/CftLanguageSwitch.java | 329 - .../antlr/CftLanguageAntlrTokenFileProvider.java | 16 - .../components/parser/antlr/CftLanguageParser.java | 40 - .../parser/antlr/internal/InternalCftLanguage.g | 1688 --- .../antlr/internal/InternalCftLanguage.tokens | 65 - .../antlr/internal/InternalCftLanguageLexer.java | 2001 --- .../antlr/internal/InternalCftLanguageParser.java | 4509 ------- .../scoping/AbstractCftLanguageScopeProvider.java | 9 - .../serializer/CftLanguageSemanticSequencer.java | 383 - .../serializer/CftLanguageSyntacticSequencer.java | 242 - .../services/CftLanguageGrammarAccess.java | 1412 -- .../validation/AbstractCftLanguageValidator.java | 21 - .../CftLanguageConfigurableIssueCodesProvider.java | 22 - .../faulttree/components/CftLanguage.xtext | 101 - .../components/CftLanguageRuntimeModule.xtend | 37 - .../components/CftLanguageStandaloneSetup.xtend | 15 - .../faulttree/components/GenerateCftLanguage.mwe2 | 48 - .../CftLanguageValueConverterService.xtend | 15 - .../conversion/OF_INTValueConverter.xtend | 35 - .../generator/CftLanguageGenerator.xtend | 25 - .../naming/CftLanguageQualifiedNameProvider.xtend | 27 - .../components/naming/PackageNameProvider.xtend | 30 - ...eImportedNamespaceAwareLocalScopeProvider.xtend | 45 - .../scoping/CftLanguageScopeProvider.xtend | 147 - .../validation/CftLanguageValidator.xtend | 25 - .../components/.CftLanguageRuntimeModule.xtendbin | Bin 3436 -> 0 bytes .../.CftLanguageStandaloneSetup.xtendbin | Bin 2015 -> 0 bytes .../dslreasoner/faulttree/components/.gitignore | 6 - .../components/CftLanguageRuntimeModule.java | 44 - .../components/CftLanguageStandaloneSetup.java | 16 - .../.CftLanguageValueConverterService.xtendbin | Bin 3002 -> 0 bytes .../conversion/.OF_INTValueConverter.xtendbin | Bin 4411 -> 0 bytes .../faulttree/components/conversion/.gitignore | 6 - .../CftLanguageValueConverterService.java | 18 - .../conversion/OF_INTValueConverter.java | 58 - .../generator/.CftLanguageGenerator.xtendbin | Bin 2365 -> 0 bytes .../faulttree/components/generator/.gitignore | 3 - .../components/generator/CftLanguageGenerator.java | 21 - .../.CftLanguageQualifiedNameProvider.xtendbin | Bin 3630 -> 0 bytes .../naming/.PackageNameProvider.xtendbin | Bin 3283 -> 0 bytes .../faulttree/components/naming/.gitignore | 6 - .../naming/CftLanguageQualifiedNameProvider.java | 35 - .../components/naming/PackageNameProvider.java | 46 - ...portedNamespaceAwareLocalScopeProvider.xtendbin | Bin 4651 -> 0 bytes .../scoping/.CftLanguageScopeProvider.xtendbin | Bin 9417 -> 0 bytes .../faulttree/components/scoping/.gitignore | 8 - ...geImportedNamespaceAwareLocalScopeProvider.java | 63 - .../scoping/CftLanguageScopeProvider.java | 264 - .../validation/.CftLanguageValidator.xtendbin | Bin 1760 -> 0 bytes .../faulttree/components/validation/.gitignore | 3 - .../validation/CftLanguageValidator.java | 15 - .../.classpath | 9 - .../.gitignore | 1 - .../.project | 35 - .../.settings/org.eclipse.jdt.core.prefs | 7 - .../META-INF/MANIFEST.MF | 25 - .../build.properties | 11 - .../faulttree/model/cft/AndGateDefinition.java | 17 - .../faulttree/model/cft/BasicEventDefinition.java | 50 - .../faulttree/model/cft/CftFactory.java | 132 - .../faulttree/model/cft/CftPackage.java | 1673 --- .../dslreasoner/faulttree/model/cft/Component.java | 143 - .../faulttree/model/cft/ComponentDefinition.java | 103 - .../faulttree/model/cft/ComponentFaultTree.java | 69 - .../faulttree/model/cft/Connection.java | 79 - .../faulttree/model/cft/EventDeclaration.java | 50 - .../faulttree/model/cft/EventDefinition.java | 17 - .../faulttree/model/cft/GateDefinition.java | 40 - .../inf/dslreasoner/faulttree/model/cft/Input.java | 100 - .../faulttree/model/cft/InputEvent.java | 49 - .../faulttree/model/cft/KOfMGateDefinition.java | 76 - .../faulttree/model/cft/ModalElement.java | 54 - .../dslreasoner/faulttree/model/cft/Modality.java | 244 - .../faulttree/model/cft/OrGateDefinition.java | 17 - .../dslreasoner/faulttree/model/cft/Output.java | 100 - .../model/cft/impl/AndGateDefinitionImpl.java | 37 - .../model/cft/impl/BasicEventDefinitionImpl.java | 178 - .../faulttree/model/cft/impl/CftFactoryImpl.java | 268 - .../faulttree/model/cft/impl/CftPackageImpl.java | 834 -- .../model/cft/impl/ComponentDefinitionImpl.java | 299 - .../model/cft/impl/ComponentFaultTreeImpl.java | 218 - .../faulttree/model/cft/impl/ComponentImpl.java | 456 - .../faulttree/model/cft/impl/ConnectionImpl.java | 360 - .../model/cft/impl/EventDeclarationImpl.java | 163 - .../model/cft/impl/EventDefinitionImpl.java | 37 - .../model/cft/impl/GateDefinitionImpl.java | 133 - .../faulttree/model/cft/impl/InputEventImpl.java | 164 - .../faulttree/model/cft/impl/InputImpl.java | 308 - .../model/cft/impl/KOfMGateDefinitionImpl.java | 220 - .../model/cft/impl/OrGateDefinitionImpl.java | 37 - .../faulttree/model/cft/impl/OutputImpl.java | 309 - .../model/cft/util/CftAdapterFactory.java | 372 - .../faulttree/model/cft/util/CftSwitch.java | 421 - .../dslreasoner/faulttree/model/ft/AndGate.java | 17 - .../dslreasoner/faulttree/model/ft/BasicEvent.java | 49 - .../faulttree/model/ft/ConstantDistribution.java | 49 - .../faulttree/model/ft/ConstantEvent.java | 49 - .../faulttree/model/ft/ConstantModel.java | 49 - .../faulttree/model/ft/Distribution.java | 18 - .../inf/dslreasoner/faulttree/model/ft/Event.java | 18 - .../model/ft/ExponentialDistribution.java | 49 - .../dslreasoner/faulttree/model/ft/FaultTree.java | 67 - .../dslreasoner/faulttree/model/ft/FtFactory.java | 114 - .../dslreasoner/faulttree/model/ft/FtPackage.java | 1109 -- .../inf/dslreasoner/faulttree/model/ft/Gate.java | 40 - .../dslreasoner/faulttree/model/ft/KOfMGate.java | 49 - .../inf/dslreasoner/faulttree/model/ft/OrGate.java | 17 - .../faulttree/model/ft/RandomEvent.java | 49 - .../faulttree/model/ft/ReliabilityModel.java | 18 - .../faulttree/model/ft/impl/AndGateImpl.java | 37 - .../faulttree/model/ft/impl/BasicEventImpl.java | 177 - .../model/ft/impl/ConstantDistributionImpl.java | 164 - .../faulttree/model/ft/impl/ConstantEventImpl.java | 164 - .../faulttree/model/ft/impl/ConstantModelImpl.java | 164 - .../faulttree/model/ft/impl/DistributionImpl.java | 39 - .../faulttree/model/ft/impl/EventImpl.java | 39 - .../model/ft/impl/ExponentialDistributionImpl.java | 164 - .../faulttree/model/ft/impl/FaultTreeImpl.java | 216 - .../faulttree/model/ft/impl/FtFactoryImpl.java | 193 - .../faulttree/model/ft/impl/FtPackageImpl.java | 586 - .../faulttree/model/ft/impl/GateImpl.java | 133 - .../faulttree/model/ft/impl/KOfMGateImpl.java | 164 - .../faulttree/model/ft/impl/OrGateImpl.java | 37 - .../faulttree/model/ft/impl/RandomEventImpl.java | 164 - .../model/ft/impl/ReliabilityModelImpl.java | 39 - .../faulttree/model/ft/util/FtAdapterFactory.java | 354 - .../faulttree/model/ft/util/FtSwitch.java | 402 - .../model/cft.ecore | 83 - .../model/cft.genmodel | 69 - .../model/ft.ecore | 42 - .../model/ft.genmodel | 44 - .../plugin.properties | 4 - .../plugin.xml | 25 - .../representations.aird | 2013 --- .../faulttree/model/util/CftExtensions.xtend | 48 - .../faulttree/model/util/.CftExtensions.xtendbin | Bin 4295 -> 0 bytes .../dslreasoner/faulttree/model/util/.gitignore | 3 - .../faulttree/model/util/CftExtensions.java | 69 - .../.classpath | 8 - .../.gitignore | 1 - .../.project | 34 - .../.settings/org.eclipse.jdt.core.prefs | 7 - .../META-INF/MANIFEST.MF | 22 - .../build.properties | 5 - .../cft2ft/Cft2FtTransformation.xtend | 24 - .../transformation/cft2ft/EventCollection.xtend | 90 - .../transformation/cft2ft/EventMaterializer.xtend | 208 - .../transformation/cft2ft/FaultTreeBuilder.xtend | 39 - .../ecore2cft/ComponentFaultTreeTrace.xtend | 49 - .../ecore2cft/ComponentInstanceTrace.xtend | 65 - .../ecore2cft/ComponentNameGenerator.xtend | 16 - .../ecore2cft/Ecore2CftTransformation.xtend | 28 - .../transformation/ecore2cft/InputTrace.xtend | 35 - .../transformation/ecore2cft/LookupHandler.xtend | 47 - .../transformation/ecore2cft/MappingHandler.xtend | 91 - .../transformation/ecore2cft/MappingQueries.xtend | 38 - .../ft2galileo/Ft2GalileoTransformation.xtend | 57 - .../transformation/solver/ReliabilityResult.xtend | 51 - .../solver/StormDftConfiguration.xtend | 45 - .../transformation/solver/StormDftHandler.xtend | 182 - .../transformation/solver/StormDftSolver.xtend | 43 - .../faulttree/transformation/.gitignore | 8 - .../cft2ft/.Cft2FtTransformation.xtendbin | Bin 2825 -> 0 bytes .../cft2ft/.EventCollection.xtendbin | Bin 7022 -> 0 bytes .../cft2ft/.EventMaterializer.xtendbin | Bin 12110 -> 0 bytes .../cft2ft/.FaultTreeBuilder.xtendbin | Bin 4029 -> 0 bytes .../faulttree/transformation/cft2ft/.gitignore | 16 - .../cft2ft/Cft2FtTransformation.java | 49 - .../transformation/cft2ft/EventCollection.java | 188 - .../transformation/cft2ft/EventMaterializer.java | 469 - .../transformation/cft2ft/FaultTreeBuilder.java | 57 - .../ecore2cft/.ComponentFaultTreeTrace.xtendbin | Bin 5530 -> 0 bytes .../ecore2cft/.ComponentInstanceTrace.xtendbin | Bin 5932 -> 0 bytes .../ecore2cft/.ComponentNameGenerator.xtendbin | Bin 3472 -> 0 bytes .../ecore2cft/.Ecore2CftTransformation.xtendbin | Bin 3431 -> 0 bytes .../transformation/ecore2cft/.InputTrace.xtendbin | Bin 4202 -> 0 bytes .../ecore2cft/.LookupHandler.xtendbin | Bin 5169 -> 0 bytes .../ecore2cft/.MappingHandler.xtendbin | Bin 6876 -> 0 bytes .../ecore2cft/.MappingQueries.xtendbin | Bin 4833 -> 0 bytes .../faulttree/transformation/ecore2cft/.gitignore | 25 - .../ecore2cft/ComponentFaultTreeTrace.java | 77 - .../ecore2cft/ComponentInstanceTrace.java | 77 - .../ecore2cft/ComponentNameGenerator.java | 29 - .../ecore2cft/Ecore2CftTransformation.java | 41 - .../transformation/ecore2cft/InputTrace.java | 43 - .../transformation/ecore2cft/LookupHandler.java | 84 - .../transformation/ecore2cft/MappingHandler.java | 146 - .../transformation/ecore2cft/MappingQueries.java | 60 - .../ft2galileo/.Ft2GalileoTransformation.xtendbin | Bin 4794 -> 0 bytes .../faulttree/transformation/ft2galileo/.gitignore | 3 - .../ft2galileo/Ft2GalileoTransformation.java | 188 - .../solver/.ReliabilityResult.xtendbin | Bin 5435 -> 0 bytes .../solver/.StormDftConfiguration.xtendbin | Bin 4311 -> 0 bytes .../solver/.StormDftHandler.xtendbin | Bin 13570 -> 0 bytes .../transformation/solver/.StormDftSolver.xtendbin | Bin 4801 -> 0 bytes .../faulttree/transformation/solver/.gitignore | 20 - .../solver/ApproximationHeuristic.java | 8 - .../transformation/solver/FtAnalysisObjective.java | 14 - .../transformation/solver/ReliabilityResult.java | 156 - .../solver/StormDftConfiguration.java | 31 - .../transformation/solver/StormDftException.java | 12 - .../transformation/solver/StormDftHandler.java | 330 - .../transformation/solver/StormDftSolver.java | 79 - .../.classpath | 8 - .../.project | 34 - .../.settings/org.eclipse.jdt.core.prefs | 7 - .../META-INF/MANIFEST.MF | 25 - .../dslreasoner/faulttree/ui/handler/.gitignore | 3 - .../ui/handler/ReliabilityAnalysisHandler.xtend | 128 - .../build.properties | 5 - .../plugin.xml | 25 - .../inf/dslreasoner/faulttree/ui/Activator.java | 44 - .../ui/handler/ReliabilityAnalysisHandler.xtend | 128 - .../dslreasoner/faulttree/ui/handler/.gitignore | 3 - 525 files changed, 8512 insertions(+), 72881 deletions(-) delete mode 100644 Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/CftImport.java delete mode 100644 Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/Mtff.java delete mode 100644 Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ReliabilityObjectiveFunction.java delete mode 100644 Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ReliabiltiyProbability.java delete mode 100644 Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/CftImportImpl.java delete mode 100644 Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/MtffImpl.java delete mode 100644 Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ReliabilityObjectiveFunctionImpl.java delete mode 100644 Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ReliabiltiyProbabilityImpl.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/.classpath delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/.gitignore delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/.project delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/.settings/org.eclipse.core.resources.prefs delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/.settings/org.eclipse.jdt.core.prefs delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/META-INF/MANIFEST.MF delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/build.properties delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/src-gen/META-INF/services/org.eclipse.xtext.ISetup delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/AbstractCftLanguageIdeModule.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/contentassist/antlr/CftLanguageParser.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/contentassist/antlr/PartialCftLanguageContentAssistParser.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/contentassist/antlr/internal/InternalCftLanguage.g delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/contentassist/antlr/internal/InternalCftLanguage.tokens delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/contentassist/antlr/internal/InternalCftLanguageLexer.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/contentassist/antlr/internal/InternalCftLanguageParser.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/src/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/CftLanguageIdeModule.xtend delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/src/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/CftLanguageIdeSetup.xtend delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/.CftLanguageIdeModule.xtendbin delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/.CftLanguageIdeSetup.xtendbin delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/.gitignore delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/CftLanguageIdeModule.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/CftLanguageIdeSetup.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/.classpath delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/.gitignore delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/.project delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/.settings/org.eclipse.core.resources.prefs delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/.settings/org.eclipse.jdt.core.prefs delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/META-INF/MANIFEST.MF delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/build.properties delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/plugin.xml delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/AbstractCftLanguageUiModule.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/CftLanguageExecutableExtensionFactory.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/contentassist/AbstractCftLanguageProposalProvider.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/internal/ComponentsActivator.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/validation/CftLanguageValidatorConfigurationBlock.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/src/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/CftLanguageUiModule.xtend delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/src/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/contentassist/CftLanguageProposalProvider.xtend delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/src/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/labeling/CftLanguageDescriptionLabelProvider.xtend delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/src/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/labeling/CftLanguageLabelProvider.xtend delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/src/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/outline/CftLanguageOutlineTreeProvider.xtend delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/src/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/quickfix/CftLanguageQuickfixProvider.xtend delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/src/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/syntaxcoloring/CftLanguageSemanticHighlightingCalculator.xtend delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/src/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/syntaxcoloring/CftLanguageTokenToAttributeIdMapper.xtend delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/.CftLanguageUiModule.xtendbin delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/.gitignore delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/CftLanguageUiModule.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/contentassist/.CftLanguageProposalProvider.xtendbin delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/contentassist/.gitignore delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/contentassist/CftLanguageProposalProvider.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/labeling/.CftLanguageDescriptionLabelProvider.xtendbin delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/labeling/.CftLanguageLabelProvider.xtendbin delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/labeling/.gitignore delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/labeling/CftLanguageDescriptionLabelProvider.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/labeling/CftLanguageLabelProvider.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/outline/.CftLanguageOutlineTreeProvider.xtendbin delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/outline/.gitignore delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/outline/CftLanguageOutlineTreeProvider.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/quickfix/.CftLanguageQuickfixProvider.xtendbin delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/quickfix/.gitignore delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/quickfix/CftLanguageQuickfixProvider.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/syntaxcoloring/.CftLanguageSemanticHighlightingCalculator.xtendbin delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/syntaxcoloring/.CftLanguageTokenToAttributeIdMapper.xtendbin delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/syntaxcoloring/.gitignore delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/syntaxcoloring/CftLanguageSemanticHighlightingCalculator.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/syntaxcoloring/CftLanguageTokenToAttributeIdMapper.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/.classpath delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/.gitignore delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/.launch/Generate CftLanguage (cft) Language Infrastructure.launch delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/.project delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/.settings/org.eclipse.core.resources.prefs delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/.settings/org.eclipse.jdt.core.prefs delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/META-INF/MANIFEST.MF delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/build.properties delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/model/generated/CftLanguage.ecore delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/model/generated/CftLanguage.genmodel delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/plugin.xml delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/AbstractCftLanguageRuntimeModule.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/CftLanguage.xtextbin delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/CftLanguageStandaloneSetupGenerated.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/Assignment.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/CftLanguageFactory.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/CftLanguagePackage.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/CftModel.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/ComponentInstance.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/EventReference.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/ImportDeclaration.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/LookupDefinition.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/MappingDefinition.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/MappingParameter.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/TransformationDefinition.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/Variable.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/impl/AssignmentImpl.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/impl/CftLanguageFactoryImpl.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/impl/CftLanguagePackageImpl.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/impl/CftModelImpl.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/impl/ComponentInstanceImpl.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/impl/EventReferenceImpl.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/impl/ImportDeclarationImpl.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/impl/LookupDefinitionImpl.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/impl/MappingDefinitionImpl.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/impl/MappingParameterImpl.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/impl/TransformationDefinitionImpl.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/impl/VariableImpl.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/util/CftLanguageAdapterFactory.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/util/CftLanguageSwitch.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/parser/antlr/CftLanguageAntlrTokenFileProvider.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/parser/antlr/CftLanguageParser.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/parser/antlr/internal/InternalCftLanguage.g delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/parser/antlr/internal/InternalCftLanguage.tokens delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/parser/antlr/internal/InternalCftLanguageLexer.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/parser/antlr/internal/InternalCftLanguageParser.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/scoping/AbstractCftLanguageScopeProvider.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/serializer/CftLanguageSemanticSequencer.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/serializer/CftLanguageSyntacticSequencer.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/services/CftLanguageGrammarAccess.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/validation/AbstractCftLanguageValidator.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/validation/CftLanguageConfigurableIssueCodesProvider.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src/hu/bme/mit/inf/dslreasoner/faulttree/components/CftLanguage.xtext delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src/hu/bme/mit/inf/dslreasoner/faulttree/components/CftLanguageRuntimeModule.xtend delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src/hu/bme/mit/inf/dslreasoner/faulttree/components/CftLanguageStandaloneSetup.xtend delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src/hu/bme/mit/inf/dslreasoner/faulttree/components/GenerateCftLanguage.mwe2 delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src/hu/bme/mit/inf/dslreasoner/faulttree/components/conversion/CftLanguageValueConverterService.xtend delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src/hu/bme/mit/inf/dslreasoner/faulttree/components/conversion/OF_INTValueConverter.xtend delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src/hu/bme/mit/inf/dslreasoner/faulttree/components/generator/CftLanguageGenerator.xtend delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src/hu/bme/mit/inf/dslreasoner/faulttree/components/naming/CftLanguageQualifiedNameProvider.xtend delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src/hu/bme/mit/inf/dslreasoner/faulttree/components/naming/PackageNameProvider.xtend delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src/hu/bme/mit/inf/dslreasoner/faulttree/components/scoping/CftLanguageImportedNamespaceAwareLocalScopeProvider.xtend delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src/hu/bme/mit/inf/dslreasoner/faulttree/components/scoping/CftLanguageScopeProvider.xtend delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src/hu/bme/mit/inf/dslreasoner/faulttree/components/validation/CftLanguageValidator.xtend delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/.CftLanguageRuntimeModule.xtendbin delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/.CftLanguageStandaloneSetup.xtendbin delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/.gitignore delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/CftLanguageRuntimeModule.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/CftLanguageStandaloneSetup.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/conversion/.CftLanguageValueConverterService.xtendbin delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/conversion/.OF_INTValueConverter.xtendbin delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/conversion/.gitignore delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/conversion/CftLanguageValueConverterService.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/conversion/OF_INTValueConverter.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/generator/.CftLanguageGenerator.xtendbin delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/generator/.gitignore delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/generator/CftLanguageGenerator.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/naming/.CftLanguageQualifiedNameProvider.xtendbin delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/naming/.PackageNameProvider.xtendbin delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/naming/.gitignore delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/naming/CftLanguageQualifiedNameProvider.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/naming/PackageNameProvider.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/scoping/.CftLanguageImportedNamespaceAwareLocalScopeProvider.xtendbin delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/scoping/.CftLanguageScopeProvider.xtendbin delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/scoping/.gitignore delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/scoping/CftLanguageImportedNamespaceAwareLocalScopeProvider.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/scoping/CftLanguageScopeProvider.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/validation/.CftLanguageValidator.xtendbin delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/validation/.gitignore delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/validation/CftLanguageValidator.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/.classpath delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/.gitignore delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/.project delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/.settings/org.eclipse.jdt.core.prefs delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/META-INF/MANIFEST.MF delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/build.properties delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/AndGateDefinition.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/BasicEventDefinition.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/CftFactory.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/CftPackage.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/Component.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/ComponentDefinition.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/ComponentFaultTree.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/Connection.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/EventDeclaration.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/EventDefinition.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/GateDefinition.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/Input.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/InputEvent.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/KOfMGateDefinition.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/ModalElement.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/Modality.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/OrGateDefinition.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/Output.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/AndGateDefinitionImpl.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/BasicEventDefinitionImpl.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/CftFactoryImpl.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/CftPackageImpl.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/ComponentDefinitionImpl.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/ComponentFaultTreeImpl.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/ComponentImpl.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/ConnectionImpl.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/EventDeclarationImpl.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/EventDefinitionImpl.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/GateDefinitionImpl.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/InputEventImpl.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/InputImpl.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/KOfMGateDefinitionImpl.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/OrGateDefinitionImpl.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/OutputImpl.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/util/CftAdapterFactory.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/util/CftSwitch.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/AndGate.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/BasicEvent.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/ConstantDistribution.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/ConstantEvent.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/ConstantModel.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/Distribution.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/Event.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/ExponentialDistribution.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/FaultTree.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/FtFactory.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/FtPackage.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/Gate.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/KOfMGate.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/OrGate.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/RandomEvent.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/ReliabilityModel.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/AndGateImpl.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/BasicEventImpl.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/ConstantDistributionImpl.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/ConstantEventImpl.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/ConstantModelImpl.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/DistributionImpl.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/EventImpl.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/ExponentialDistributionImpl.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/FaultTreeImpl.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/FtFactoryImpl.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/FtPackageImpl.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/GateImpl.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/KOfMGateImpl.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/OrGateImpl.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/RandomEventImpl.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/ReliabilityModelImpl.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/util/FtAdapterFactory.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/util/FtSwitch.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/model/cft.ecore delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/model/cft.genmodel delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/model/ft.ecore delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/model/ft.genmodel delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/plugin.properties delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/plugin.xml delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/representations.aird delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/src/hu/bme/mit/inf/dslreasoner/faulttree/model/util/CftExtensions.xtend delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/util/.CftExtensions.xtendbin delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/util/.gitignore delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/util/CftExtensions.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/.classpath delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/.gitignore delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/.project delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/.settings/org.eclipse.jdt.core.prefs delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/META-INF/MANIFEST.MF delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/build.properties delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/Cft2FtTransformation.xtend delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/EventCollection.xtend delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/EventMaterializer.xtend delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/FaultTreeBuilder.xtend delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/ComponentFaultTreeTrace.xtend delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/ComponentInstanceTrace.xtend delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/ComponentNameGenerator.xtend delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/Ecore2CftTransformation.xtend delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/InputTrace.xtend delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/LookupHandler.xtend delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/MappingHandler.xtend delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/MappingQueries.xtend delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ft2galileo/Ft2GalileoTransformation.xtend delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/ReliabilityResult.xtend delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/StormDftConfiguration.xtend delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/StormDftHandler.xtend delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/StormDftSolver.xtend delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/.gitignore delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/.Cft2FtTransformation.xtendbin delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/.EventCollection.xtendbin delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/.EventMaterializer.xtendbin delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/.FaultTreeBuilder.xtendbin delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/.gitignore delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/Cft2FtTransformation.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/EventCollection.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/EventMaterializer.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/FaultTreeBuilder.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.ComponentFaultTreeTrace.xtendbin delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.ComponentInstanceTrace.xtendbin delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.ComponentNameGenerator.xtendbin delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.Ecore2CftTransformation.xtendbin delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.InputTrace.xtendbin delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.LookupHandler.xtendbin delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.MappingHandler.xtendbin delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.MappingQueries.xtendbin delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.gitignore delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/ComponentFaultTreeTrace.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/ComponentInstanceTrace.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/ComponentNameGenerator.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/Ecore2CftTransformation.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/InputTrace.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/LookupHandler.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/MappingHandler.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/MappingQueries.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ft2galileo/.Ft2GalileoTransformation.xtendbin delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ft2galileo/.gitignore delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ft2galileo/Ft2GalileoTransformation.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/.ReliabilityResult.xtendbin delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/.StormDftConfiguration.xtendbin delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/.StormDftHandler.xtendbin delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/.StormDftSolver.xtendbin delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/.gitignore delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/ApproximationHeuristic.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/FtAnalysisObjective.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/ReliabilityResult.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/StormDftConfiguration.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/StormDftException.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/StormDftHandler.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/StormDftSolver.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.ui/.classpath delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.ui/.project delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.ui/.settings/org.eclipse.jdt.core.prefs delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.ui/META-INF/MANIFEST.MF delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.ui/bin/hu/bme/mit/inf/dslreasoner/faulttree/ui/handler/.gitignore delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.ui/bin/hu/bme/mit/inf/dslreasoner/faulttree/ui/handler/ReliabilityAnalysisHandler.xtend delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.ui/build.properties delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.ui/plugin.xml delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.ui/src/hu/bme/mit/inf/dslreasoner/faulttree/ui/Activator.java delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.ui/src/hu/bme/mit/inf/dslreasoner/faulttree/ui/handler/ReliabilityAnalysisHandler.xtend delete mode 100644 Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/ui/handler/.gitignore (limited to 'Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner') diff --git a/Application/hu.bme.mit.inf.dslreasoner.application.ide/src-gen/hu/bme/mit/inf/dslreasoner/application/ide/AbstractApplicationConfigurationIdeModule.java b/Application/hu.bme.mit.inf.dslreasoner.application.ide/src-gen/hu/bme/mit/inf/dslreasoner/application/ide/AbstractApplicationConfigurationIdeModule.java index be81a080..68282e37 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application.ide/src-gen/hu/bme/mit/inf/dslreasoner/application/ide/AbstractApplicationConfigurationIdeModule.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application.ide/src-gen/hu/bme/mit/inf/dslreasoner/application/ide/AbstractApplicationConfigurationIdeModule.java @@ -1,5 +1,5 @@ /* - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.ide; diff --git a/Application/hu.bme.mit.inf.dslreasoner.application.ide/src-gen/hu/bme/mit/inf/dslreasoner/application/ide/contentassist/antlr/ApplicationConfigurationParser.java b/Application/hu.bme.mit.inf.dslreasoner.application.ide/src-gen/hu/bme/mit/inf/dslreasoner/application/ide/contentassist/antlr/ApplicationConfigurationParser.java index 6dc5819b..325e5ab2 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application.ide/src-gen/hu/bme/mit/inf/dslreasoner/application/ide/contentassist/antlr/ApplicationConfigurationParser.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application.ide/src-gen/hu/bme/mit/inf/dslreasoner/application/ide/contentassist/antlr/ApplicationConfigurationParser.java @@ -1,5 +1,5 @@ /* - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.ide.contentassist.antlr; @@ -42,8 +42,6 @@ public class ApplicationConfigurationParser extends AbstractContentAssistParser builder.put(grammarAccess.getPatternEntryAccess().getAlternatives(), "rule__PatternEntry__Alternatives"); builder.put(grammarAccess.getGraphPatternAccess().getAlternatives(), "rule__GraphPattern__Alternatives"); builder.put(grammarAccess.getObjectiveEntryAccess().getAlternatives(), "rule__ObjectiveEntry__Alternatives"); - builder.put(grammarAccess.getObjectiveFunctionAccess().getAlternatives(), "rule__ObjectiveFunction__Alternatives"); - builder.put(grammarAccess.getReliabilityObjectiveFunctionAccess().getAlternatives(), "rule__ReliabilityObjectiveFunction__Alternatives"); builder.put(grammarAccess.getObjectiveAccess().getAlternatives(), "rule__Objective__Alternatives"); builder.put(grammarAccess.getConfigEntryAccess().getAlternatives(), "rule__ConfigEntry__Alternatives"); builder.put(grammarAccess.getConfigAccess().getAlternatives(), "rule__Config__Alternatives"); @@ -74,7 +72,6 @@ public class ApplicationConfigurationParser extends AbstractContentAssistParser builder.put(grammarAccess.getINTLiteralAccess().getGroup(), "rule__INTLiteral__Group__0"); builder.put(grammarAccess.getEPackageImportAccess().getGroup(), "rule__EPackageImport__Group__0"); builder.put(grammarAccess.getViatraImportAccess().getGroup(), "rule__ViatraImport__Group__0"); - builder.put(grammarAccess.getCftImportAccess().getGroup(), "rule__CftImport__Group__0"); builder.put(grammarAccess.getFileDeclarationAccess().getGroup(), "rule__FileDeclaration__Group__0"); builder.put(grammarAccess.getMetamodelSpecificationAccess().getGroup(), "rule__MetamodelSpecification__Group__0"); builder.put(grammarAccess.getMetamodelSpecificationAccess().getGroup_2(), "rule__MetamodelSpecification__Group_2__0"); @@ -106,10 +103,6 @@ public class ApplicationConfigurationParser extends AbstractContentAssistParser builder.put(grammarAccess.getCostObjectiveFunctionAccess().getGroup(), "rule__CostObjectiveFunction__Group__0"); builder.put(grammarAccess.getCostObjectiveFunctionAccess().getGroup_3(), "rule__CostObjectiveFunction__Group_3__0"); builder.put(grammarAccess.getCostEntryAccess().getGroup(), "rule__CostEntry__Group__0"); - builder.put(grammarAccess.getReliabiltiyProbabilityAccess().getGroup(), "rule__ReliabiltiyProbability__Group__0"); - builder.put(grammarAccess.getReliabiltiyProbabilityAccess().getGroup_1(), "rule__ReliabiltiyProbability__Group_1__0"); - builder.put(grammarAccess.getMtffAccess().getGroup(), "rule__Mtff__Group__0"); - builder.put(grammarAccess.getMtffAccess().getGroup_1(), "rule__Mtff__Group_1__0"); builder.put(grammarAccess.getObjectiveDeclarationAccess().getGroup(), "rule__ObjectiveDeclaration__Group__0"); builder.put(grammarAccess.getConfigSpecificationAccess().getGroup(), "rule__ConfigSpecification__Group__0"); builder.put(grammarAccess.getConfigSpecificationAccess().getGroup_2(), "rule__ConfigSpecification__Group_2__0"); @@ -161,7 +154,6 @@ public class ApplicationConfigurationParser extends AbstractContentAssistParser builder.put(grammarAccess.getConfigurationScriptAccess().getCommandsAssignment_1(), "rule__ConfigurationScript__CommandsAssignment_1"); builder.put(grammarAccess.getEPackageImportAccess().getImportedPackageAssignment_2(), "rule__EPackageImport__ImportedPackageAssignment_2"); builder.put(grammarAccess.getViatraImportAccess().getImportedViatraAssignment_2(), "rule__ViatraImport__ImportedViatraAssignment_2"); - builder.put(grammarAccess.getCftImportAccess().getImportedCftAssignment_2(), "rule__CftImport__ImportedCftAssignment_2"); builder.put(grammarAccess.getFileSpecificationAccess().getPathAssignment(), "rule__FileSpecification__PathAssignment"); builder.put(grammarAccess.getFileDeclarationAccess().getNameAssignment_1(), "rule__FileDeclaration__NameAssignment_1"); builder.put(grammarAccess.getFileDeclarationAccess().getSpecificationAssignment_3(), "rule__FileDeclaration__SpecificationAssignment_3"); @@ -207,11 +199,6 @@ public class ApplicationConfigurationParser extends AbstractContentAssistParser builder.put(grammarAccess.getCostObjectiveFunctionAccess().getEntriesAssignment_3_1(), "rule__CostObjectiveFunction__EntriesAssignment_3_1"); builder.put(grammarAccess.getCostEntryAccess().getPatternElementAssignment_0(), "rule__CostEntry__PatternElementAssignment_0"); builder.put(grammarAccess.getCostEntryAccess().getWeightAssignment_2(), "rule__CostEntry__WeightAssignment_2"); - builder.put(grammarAccess.getReliabiltiyProbabilityAccess().getPackageAssignment_1_0(), "rule__ReliabiltiyProbability__PackageAssignment_1_0"); - builder.put(grammarAccess.getReliabiltiyProbabilityAccess().getTransformationAssignment_2(), "rule__ReliabiltiyProbability__TransformationAssignment_2"); - builder.put(grammarAccess.getReliabiltiyProbabilityAccess().getTimeAssignment_4(), "rule__ReliabiltiyProbability__TimeAssignment_4"); - builder.put(grammarAccess.getMtffAccess().getPackageAssignment_1_0(), "rule__Mtff__PackageAssignment_1_0"); - builder.put(grammarAccess.getMtffAccess().getTransformationAssignment_2(), "rule__Mtff__TransformationAssignment_2"); builder.put(grammarAccess.getObjectiveDeclarationAccess().getNameAssignment_1(), "rule__ObjectiveDeclaration__NameAssignment_1"); builder.put(grammarAccess.getObjectiveDeclarationAccess().getSpecificationAssignment_2(), "rule__ObjectiveDeclaration__SpecificationAssignment_2"); builder.put(grammarAccess.getObjectiveReferenceAccess().getReferredAssignment(), "rule__ObjectiveReference__ReferredAssignment"); diff --git a/Application/hu.bme.mit.inf.dslreasoner.application.ide/src-gen/hu/bme/mit/inf/dslreasoner/application/ide/contentassist/antlr/PartialApplicationConfigurationContentAssistParser.java b/Application/hu.bme.mit.inf.dslreasoner.application.ide/src-gen/hu/bme/mit/inf/dslreasoner/application/ide/contentassist/antlr/PartialApplicationConfigurationContentAssistParser.java index 04ba0d3e..43c08a32 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application.ide/src-gen/hu/bme/mit/inf/dslreasoner/application/ide/contentassist/antlr/PartialApplicationConfigurationContentAssistParser.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application.ide/src-gen/hu/bme/mit/inf/dslreasoner/application/ide/contentassist/antlr/PartialApplicationConfigurationContentAssistParser.java @@ -1,5 +1,5 @@ /* - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.ide.contentassist.antlr; diff --git a/Application/hu.bme.mit.inf.dslreasoner.application.ide/src-gen/hu/bme/mit/inf/dslreasoner/application/ide/contentassist/antlr/internal/InternalApplicationConfiguration.g b/Application/hu.bme.mit.inf.dslreasoner.application.ide/src-gen/hu/bme/mit/inf/dslreasoner/application/ide/contentassist/antlr/internal/InternalApplicationConfiguration.g index 0d0b6cd0..893eb320 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application.ide/src-gen/hu/bme/mit/inf/dslreasoner/application/ide/contentassist/antlr/internal/InternalApplicationConfiguration.g +++ b/Application/hu.bme.mit.inf.dslreasoner.application.ide/src-gen/hu/bme/mit/inf/dslreasoner/application/ide/contentassist/antlr/internal/InternalApplicationConfiguration.g @@ -1,5 +1,5 @@ /* - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ grammar InternalApplicationConfiguration; @@ -249,31 +249,6 @@ finally { restoreStackSize(stackSize); } -// Entry rule entryRuleCftImport -entryRuleCftImport -: -{ before(grammarAccess.getCftImportRule()); } - ruleCftImport -{ after(grammarAccess.getCftImportRule()); } - EOF -; - -// Rule CftImport -ruleCftImport - @init { - int stackSize = keepStackSize(); - } - : - ( - { before(grammarAccess.getCftImportAccess().getGroup()); } - (rule__CftImport__Group__0) - { after(grammarAccess.getCftImportAccess().getGroup()); } - ) -; -finally { - restoreStackSize(stackSize); -} - // Entry rule entryRuleDeclaration entryRuleDeclaration : @@ -1040,9 +1015,9 @@ ruleObjectiveFunction } : ( - { before(grammarAccess.getObjectiveFunctionAccess().getAlternatives()); } - (rule__ObjectiveFunction__Alternatives) - { after(grammarAccess.getObjectiveFunctionAccess().getAlternatives()); } + { before(grammarAccess.getObjectiveFunctionAccess().getCostObjectiveFunctionParserRuleCall()); } + ruleCostObjectiveFunction + { after(grammarAccess.getObjectiveFunctionAccess().getCostObjectiveFunctionParserRuleCall()); } ) ; finally { @@ -1099,81 +1074,6 @@ finally { restoreStackSize(stackSize); } -// Entry rule entryRuleReliabilityObjectiveFunction -entryRuleReliabilityObjectiveFunction -: -{ before(grammarAccess.getReliabilityObjectiveFunctionRule()); } - ruleReliabilityObjectiveFunction -{ after(grammarAccess.getReliabilityObjectiveFunctionRule()); } - EOF -; - -// Rule ReliabilityObjectiveFunction -ruleReliabilityObjectiveFunction - @init { - int stackSize = keepStackSize(); - } - : - ( - { before(grammarAccess.getReliabilityObjectiveFunctionAccess().getAlternatives()); } - (rule__ReliabilityObjectiveFunction__Alternatives) - { after(grammarAccess.getReliabilityObjectiveFunctionAccess().getAlternatives()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -// Entry rule entryRuleReliabiltiyProbability -entryRuleReliabiltiyProbability -: -{ before(grammarAccess.getReliabiltiyProbabilityRule()); } - ruleReliabiltiyProbability -{ after(grammarAccess.getReliabiltiyProbabilityRule()); } - EOF -; - -// Rule ReliabiltiyProbability -ruleReliabiltiyProbability - @init { - int stackSize = keepStackSize(); - } - : - ( - { before(grammarAccess.getReliabiltiyProbabilityAccess().getGroup()); } - (rule__ReliabiltiyProbability__Group__0) - { after(grammarAccess.getReliabiltiyProbabilityAccess().getGroup()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -// Entry rule entryRuleMtff -entryRuleMtff -: -{ before(grammarAccess.getMtffRule()); } - ruleMtff -{ after(grammarAccess.getMtffRule()); } - EOF -; - -// Rule Mtff -ruleMtff - @init { - int stackSize = keepStackSize(); - } - : - ( - { before(grammarAccess.getMtffAccess().getGroup()); } - (rule__Mtff__Group__0) - { after(grammarAccess.getMtffAccess().getGroup()); } - ) -; -finally { - restoreStackSize(stackSize); -} - // Entry rule entryRuleObjectiveDeclaration entryRuleObjectiveDeclaration : @@ -2125,12 +2025,6 @@ rule__Import__Alternatives ruleViatraImport { after(grammarAccess.getImportAccess().getViatraImportParserRuleCall_1()); } ) - | - ( - { before(grammarAccess.getImportAccess().getCftImportParserRuleCall_2()); } - ruleCftImport - { after(grammarAccess.getImportAccess().getCftImportParserRuleCall_2()); } - ) ; finally { restoreStackSize(stackSize); @@ -2355,48 +2249,6 @@ finally { restoreStackSize(stackSize); } -rule__ObjectiveFunction__Alternatives - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getObjectiveFunctionAccess().getCostObjectiveFunctionParserRuleCall_0()); } - ruleCostObjectiveFunction - { after(grammarAccess.getObjectiveFunctionAccess().getCostObjectiveFunctionParserRuleCall_0()); } - ) - | - ( - { before(grammarAccess.getObjectiveFunctionAccess().getReliabilityObjectiveFunctionParserRuleCall_1()); } - ruleReliabilityObjectiveFunction - { after(grammarAccess.getObjectiveFunctionAccess().getReliabilityObjectiveFunctionParserRuleCall_1()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__ReliabilityObjectiveFunction__Alternatives - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getReliabilityObjectiveFunctionAccess().getReliabiltiyProbabilityParserRuleCall_0()); } - ruleReliabiltiyProbability - { after(grammarAccess.getReliabilityObjectiveFunctionAccess().getReliabiltiyProbabilityParserRuleCall_0()); } - ) - | - ( - { before(grammarAccess.getReliabilityObjectiveFunctionAccess().getMtffParserRuleCall_1()); } - ruleMtff - { after(grammarAccess.getReliabilityObjectiveFunctionAccess().getMtffParserRuleCall_1()); } - ) -; -finally { - restoreStackSize(stackSize); -} - rule__Objective__Alternatives @init { int stackSize = keepStackSize(); @@ -3396,87 +3248,6 @@ finally { } -rule__CftImport__Group__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__CftImport__Group__0__Impl - rule__CftImport__Group__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__CftImport__Group__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getCftImportAccess().getImportKeyword_0()); } - 'import' - { after(grammarAccess.getCftImportAccess().getImportKeyword_0()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__CftImport__Group__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__CftImport__Group__1__Impl - rule__CftImport__Group__2 -; -finally { - restoreStackSize(stackSize); -} - -rule__CftImport__Group__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getCftImportAccess().getReliabilityKeyword_1()); } - 'reliability' - { after(grammarAccess.getCftImportAccess().getReliabilityKeyword_1()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__CftImport__Group__2 - @init { - int stackSize = keepStackSize(); - } -: - rule__CftImport__Group__2__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__CftImport__Group__2__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getCftImportAccess().getImportedCftAssignment_2()); } - (rule__CftImport__ImportedCftAssignment_2) - { after(grammarAccess.getCftImportAccess().getImportedCftAssignment_2()); } -) -; -finally { - restoreStackSize(stackSize); -} - - rule__FileDeclaration__Group__0 @init { int stackSize = keepStackSize(); @@ -5988,330 +5759,6 @@ finally { } -rule__ReliabiltiyProbability__Group__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__ReliabiltiyProbability__Group__0__Impl - rule__ReliabiltiyProbability__Group__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__ReliabiltiyProbability__Group__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getReliabiltiyProbabilityAccess().getReliabilityKeyword_0()); } - 'reliability' - { after(grammarAccess.getReliabiltiyProbabilityAccess().getReliabilityKeyword_0()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__ReliabiltiyProbability__Group__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__ReliabiltiyProbability__Group__1__Impl - rule__ReliabiltiyProbability__Group__2 -; -finally { - restoreStackSize(stackSize); -} - -rule__ReliabiltiyProbability__Group__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getReliabiltiyProbabilityAccess().getGroup_1()); } - (rule__ReliabiltiyProbability__Group_1__0)? - { after(grammarAccess.getReliabiltiyProbabilityAccess().getGroup_1()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__ReliabiltiyProbability__Group__2 - @init { - int stackSize = keepStackSize(); - } -: - rule__ReliabiltiyProbability__Group__2__Impl - rule__ReliabiltiyProbability__Group__3 -; -finally { - restoreStackSize(stackSize); -} - -rule__ReliabiltiyProbability__Group__2__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getReliabiltiyProbabilityAccess().getTransformationAssignment_2()); } - (rule__ReliabiltiyProbability__TransformationAssignment_2) - { after(grammarAccess.getReliabiltiyProbabilityAccess().getTransformationAssignment_2()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__ReliabiltiyProbability__Group__3 - @init { - int stackSize = keepStackSize(); - } -: - rule__ReliabiltiyProbability__Group__3__Impl - rule__ReliabiltiyProbability__Group__4 -; -finally { - restoreStackSize(stackSize); -} - -rule__ReliabiltiyProbability__Group__3__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getReliabiltiyProbabilityAccess().getAtKeyword_3()); } - 'at' - { after(grammarAccess.getReliabiltiyProbabilityAccess().getAtKeyword_3()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__ReliabiltiyProbability__Group__4 - @init { - int stackSize = keepStackSize(); - } -: - rule__ReliabiltiyProbability__Group__4__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__ReliabiltiyProbability__Group__4__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getReliabiltiyProbabilityAccess().getTimeAssignment_4()); } - (rule__ReliabiltiyProbability__TimeAssignment_4) - { after(grammarAccess.getReliabiltiyProbabilityAccess().getTimeAssignment_4()); } -) -; -finally { - restoreStackSize(stackSize); -} - - -rule__ReliabiltiyProbability__Group_1__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__ReliabiltiyProbability__Group_1__0__Impl - rule__ReliabiltiyProbability__Group_1__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__ReliabiltiyProbability__Group_1__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getReliabiltiyProbabilityAccess().getPackageAssignment_1_0()); } - (rule__ReliabiltiyProbability__PackageAssignment_1_0) - { after(grammarAccess.getReliabiltiyProbabilityAccess().getPackageAssignment_1_0()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__ReliabiltiyProbability__Group_1__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__ReliabiltiyProbability__Group_1__1__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__ReliabiltiyProbability__Group_1__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getReliabiltiyProbabilityAccess().getColonColonKeyword_1_1()); } - '::' - { after(grammarAccess.getReliabiltiyProbabilityAccess().getColonColonKeyword_1_1()); } -) -; -finally { - restoreStackSize(stackSize); -} - - -rule__Mtff__Group__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__Mtff__Group__0__Impl - rule__Mtff__Group__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__Mtff__Group__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getMtffAccess().getMtffKeyword_0()); } - 'mtff' - { after(grammarAccess.getMtffAccess().getMtffKeyword_0()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__Mtff__Group__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__Mtff__Group__1__Impl - rule__Mtff__Group__2 -; -finally { - restoreStackSize(stackSize); -} - -rule__Mtff__Group__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getMtffAccess().getGroup_1()); } - (rule__Mtff__Group_1__0)? - { after(grammarAccess.getMtffAccess().getGroup_1()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__Mtff__Group__2 - @init { - int stackSize = keepStackSize(); - } -: - rule__Mtff__Group__2__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__Mtff__Group__2__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getMtffAccess().getTransformationAssignment_2()); } - (rule__Mtff__TransformationAssignment_2) - { after(grammarAccess.getMtffAccess().getTransformationAssignment_2()); } -) -; -finally { - restoreStackSize(stackSize); -} - - -rule__Mtff__Group_1__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__Mtff__Group_1__0__Impl - rule__Mtff__Group_1__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__Mtff__Group_1__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getMtffAccess().getPackageAssignment_1_0()); } - (rule__Mtff__PackageAssignment_1_0) - { after(grammarAccess.getMtffAccess().getPackageAssignment_1_0()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__Mtff__Group_1__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__Mtff__Group_1__1__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__Mtff__Group_1__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getMtffAccess().getColonColonKeyword_1_1()); } - '::' - { after(grammarAccess.getMtffAccess().getColonColonKeyword_1_1()); } -) -; -finally { - restoreStackSize(stackSize); -} - - rule__ObjectiveDeclaration__Group__0 @init { int stackSize = keepStackSize(); @@ -10513,25 +9960,6 @@ finally { restoreStackSize(stackSize); } -rule__CftImport__ImportedCftAssignment_2 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getCftImportAccess().getImportedCftCftModelCrossReference_2_0()); } - ( - { before(grammarAccess.getCftImportAccess().getImportedCftCftModelSTRINGTerminalRuleCall_2_0_1()); } - RULE_STRING - { after(grammarAccess.getCftImportAccess().getImportedCftCftModelSTRINGTerminalRuleCall_2_0_1()); } - ) - { after(grammarAccess.getCftImportAccess().getImportedCftCftModelCrossReference_2_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - rule__FileSpecification__PathAssignment @init { int stackSize = keepStackSize(); @@ -11251,97 +10679,6 @@ finally { restoreStackSize(stackSize); } -rule__ReliabiltiyProbability__PackageAssignment_1_0 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getReliabiltiyProbabilityAccess().getPackageCftModelCrossReference_1_0_0()); } - ( - { before(grammarAccess.getReliabiltiyProbabilityAccess().getPackageCftModelQualifiedNameParserRuleCall_1_0_0_1()); } - ruleQualifiedName - { after(grammarAccess.getReliabiltiyProbabilityAccess().getPackageCftModelQualifiedNameParserRuleCall_1_0_0_1()); } - ) - { after(grammarAccess.getReliabiltiyProbabilityAccess().getPackageCftModelCrossReference_1_0_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__ReliabiltiyProbability__TransformationAssignment_2 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getReliabiltiyProbabilityAccess().getTransformationTransformationDefinitionCrossReference_2_0()); } - ( - { before(grammarAccess.getReliabiltiyProbabilityAccess().getTransformationTransformationDefinitionIDTerminalRuleCall_2_0_1()); } - RULE_ID - { after(grammarAccess.getReliabiltiyProbabilityAccess().getTransformationTransformationDefinitionIDTerminalRuleCall_2_0_1()); } - ) - { after(grammarAccess.getReliabiltiyProbabilityAccess().getTransformationTransformationDefinitionCrossReference_2_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__ReliabiltiyProbability__TimeAssignment_4 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getReliabiltiyProbabilityAccess().getTimeREALLiteralParserRuleCall_4_0()); } - ruleREALLiteral - { after(grammarAccess.getReliabiltiyProbabilityAccess().getTimeREALLiteralParserRuleCall_4_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__Mtff__PackageAssignment_1_0 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getMtffAccess().getPackageCftModelCrossReference_1_0_0()); } - ( - { before(grammarAccess.getMtffAccess().getPackageCftModelQualifiedNameParserRuleCall_1_0_0_1()); } - ruleQualifiedName - { after(grammarAccess.getMtffAccess().getPackageCftModelQualifiedNameParserRuleCall_1_0_0_1()); } - ) - { after(grammarAccess.getMtffAccess().getPackageCftModelCrossReference_1_0_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__Mtff__TransformationAssignment_2 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getMtffAccess().getTransformationTransformationDefinitionCrossReference_2_0()); } - ( - { before(grammarAccess.getMtffAccess().getTransformationTransformationDefinitionIDTerminalRuleCall_2_0_1()); } - RULE_ID - { after(grammarAccess.getMtffAccess().getTransformationTransformationDefinitionIDTerminalRuleCall_2_0_1()); } - ) - { after(grammarAccess.getMtffAccess().getTransformationTransformationDefinitionCrossReference_2_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - rule__ObjectiveDeclaration__NameAssignment_1 @init { int stackSize = keepStackSize(); diff --git a/Application/hu.bme.mit.inf.dslreasoner.application.ide/src-gen/hu/bme/mit/inf/dslreasoner/application/ide/contentassist/antlr/internal/InternalApplicationConfiguration.tokens b/Application/hu.bme.mit.inf.dslreasoner.application.ide/src-gen/hu/bme/mit/inf/dslreasoner/application/ide/contentassist/antlr/internal/InternalApplicationConfiguration.tokens index 628ef22e..2873259e 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application.ide/src-gen/hu/bme/mit/inf/dslreasoner/application/ide/contentassist/antlr/internal/InternalApplicationConfiguration.tokens +++ b/Application/hu.bme.mit.inf.dslreasoner.application.ide/src-gen/hu/bme/mit/inf/dslreasoner/application/ide/contentassist/antlr/internal/InternalApplicationConfiguration.tokens @@ -1,59 +1,56 @@ -'#'=49 -'*'=64 -'+='=63 -','=33 +'#'=46 +'*'=61 +'+='=60 +','=32 '-'=24 '.'=23 -'..'=54 -'::'=36 +'..'=51 +'::'=35 '<'=13 '<='=15 -'='=30 +'='=29 '>'=14 '>='=16 'AlloySolver'=21 'SMTSolver'=20 'ViatraSolver'=22 -'at'=42 -'config'=45 -'constraints'=40 -'cost'=41 -'debug'=59 +'config'=42 +'constraints'=39 +'cost'=40 +'debug'=56 'epackage'=26 -'excluding'=35 -'file'=29 -'folder'=38 +'excluding'=34 +'file'=28 +'folder'=37 'full'=19 -'generate'=56 +'generate'=53 'import'=25 -'int'=51 -'log'=60 -'log-level'=46 +'int'=48 +'log'=57 +'log-level'=43 'maximize'=12 -'memory'=48 -'metamodel'=37 +'memory'=45 +'metamodel'=36 'minimize'=11 -'models'=39 -'mtff'=43 -'node'=50 +'models'=38 +'node'=47 'none'=17 'normal'=18 -'number'=65 -'objectives'=44 -'output'=62 -'package'=34 -'partial-model'=57 -'real'=52 -'reliability'=28 -'runs'=66 -'runtime'=47 -'scope'=55 -'solver'=58 -'statistics'=61 -'string'=53 +'number'=62 +'objectives'=41 +'output'=59 +'package'=33 +'partial-model'=54 +'real'=49 +'runs'=63 +'runtime'=44 +'scope'=52 +'solver'=55 +'statistics'=58 +'string'=50 'viatra'=27 -'{'=31 -'}'=32 +'{'=30 +'}'=31 RULE_ANY_OTHER=10 RULE_ID=4 RULE_INT=5 @@ -114,6 +111,3 @@ T__60=60 T__61=61 T__62=62 T__63=63 -T__64=64 -T__65=65 -T__66=66 diff --git a/Application/hu.bme.mit.inf.dslreasoner.application.ide/src-gen/hu/bme/mit/inf/dslreasoner/application/ide/contentassist/antlr/internal/InternalApplicationConfigurationLexer.java b/Application/hu.bme.mit.inf.dslreasoner.application.ide/src-gen/hu/bme/mit/inf/dslreasoner/application/ide/contentassist/antlr/internal/InternalApplicationConfigurationLexer.java index 5105b180..7efc2eb5 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application.ide/src-gen/hu/bme/mit/inf/dslreasoner/application/ide/contentassist/antlr/internal/InternalApplicationConfigurationLexer.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application.ide/src-gen/hu/bme/mit/inf/dslreasoner/application/ide/contentassist/antlr/internal/InternalApplicationConfigurationLexer.java @@ -40,7 +40,6 @@ public class InternalApplicationConfigurationLexer extends Lexer { public static final int RULE_INT=5; public static final int T__29=29; public static final int T__22=22; - public static final int T__66=66; public static final int RULE_ML_COMMENT=7; public static final int T__23=23; public static final int T__24=24; @@ -48,9 +47,7 @@ public class InternalApplicationConfigurationLexer extends Lexer { public static final int T__62=62; public static final int T__63=63; public static final int T__20=20; - public static final int T__64=64; public static final int T__21=21; - public static final int T__65=65; public static final int RULE_STRING=6; public static final int RULE_SL_COMMENT=8; public static final int T__37=37; @@ -448,10 +445,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__28; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:28:7: ( 'reliability' ) - // InternalApplicationConfiguration.g:28:9: 'reliability' + // InternalApplicationConfiguration.g:28:7: ( 'file' ) + // InternalApplicationConfiguration.g:28:9: 'file' { - match("reliability"); + match("file"); } @@ -469,11 +466,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__29; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:29:7: ( 'file' ) - // InternalApplicationConfiguration.g:29:9: 'file' + // InternalApplicationConfiguration.g:29:7: ( '=' ) + // InternalApplicationConfiguration.g:29:9: '=' { - match("file"); - + match('='); } @@ -490,10 +486,10 @@ 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('{'); } @@ -510,10 +506,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('}'); } @@ -530,10 +526,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(','); } @@ -550,10 +546,11 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__33; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:33:7: ( ',' ) - // InternalApplicationConfiguration.g:33:9: ',' + // InternalApplicationConfiguration.g:33:7: ( 'package' ) + // InternalApplicationConfiguration.g:33:9: 'package' { - match(','); + match("package"); + } @@ -570,10 +567,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__34; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:34:7: ( 'package' ) - // InternalApplicationConfiguration.g:34:9: 'package' + // InternalApplicationConfiguration.g:34:7: ( 'excluding' ) + // InternalApplicationConfiguration.g:34:9: 'excluding' { - match("package"); + match("excluding"); } @@ -591,10 +588,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__35; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:35:7: ( 'excluding' ) - // InternalApplicationConfiguration.g:35:9: 'excluding' + // InternalApplicationConfiguration.g:35:7: ( '::' ) + // InternalApplicationConfiguration.g:35:9: '::' { - match("excluding"); + match("::"); } @@ -612,10 +609,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__36; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:36:7: ( '::' ) - // InternalApplicationConfiguration.g:36:9: '::' + // InternalApplicationConfiguration.g:36:7: ( 'metamodel' ) + // InternalApplicationConfiguration.g:36:9: 'metamodel' { - match("::"); + match("metamodel"); } @@ -633,10 +630,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__37; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:37:7: ( 'metamodel' ) - // InternalApplicationConfiguration.g:37:9: 'metamodel' + // InternalApplicationConfiguration.g:37:7: ( 'folder' ) + // InternalApplicationConfiguration.g:37:9: 'folder' { - match("metamodel"); + match("folder"); } @@ -654,10 +651,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__38; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:38:7: ( 'folder' ) - // InternalApplicationConfiguration.g:38:9: 'folder' + // InternalApplicationConfiguration.g:38:7: ( 'models' ) + // InternalApplicationConfiguration.g:38:9: 'models' { - match("folder"); + match("models"); } @@ -675,10 +672,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__39; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:39:7: ( 'models' ) - // InternalApplicationConfiguration.g:39:9: 'models' + // InternalApplicationConfiguration.g:39:7: ( 'constraints' ) + // InternalApplicationConfiguration.g:39:9: 'constraints' { - match("models"); + match("constraints"); } @@ -696,10 +693,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__40; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:40:7: ( 'constraints' ) - // InternalApplicationConfiguration.g:40:9: 'constraints' + // InternalApplicationConfiguration.g:40:7: ( 'cost' ) + // InternalApplicationConfiguration.g:40:9: 'cost' { - match("constraints"); + match("cost"); } @@ -717,10 +714,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__41; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:41:7: ( 'cost' ) - // InternalApplicationConfiguration.g:41:9: 'cost' + // InternalApplicationConfiguration.g:41:7: ( 'objectives' ) + // InternalApplicationConfiguration.g:41:9: 'objectives' { - match("cost"); + match("objectives"); } @@ -738,10 +735,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__42; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:42:7: ( 'at' ) - // InternalApplicationConfiguration.g:42:9: 'at' + // InternalApplicationConfiguration.g:42:7: ( 'config' ) + // InternalApplicationConfiguration.g:42:9: 'config' { - match("at"); + match("config"); } @@ -759,10 +756,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__43; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:43:7: ( 'mtff' ) - // InternalApplicationConfiguration.g:43:9: 'mtff' + // InternalApplicationConfiguration.g:43:7: ( 'log-level' ) + // InternalApplicationConfiguration.g:43:9: 'log-level' { - match("mtff"); + match("log-level"); } @@ -780,10 +777,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__44; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:44:7: ( 'objectives' ) - // InternalApplicationConfiguration.g:44:9: 'objectives' + // InternalApplicationConfiguration.g:44:7: ( 'runtime' ) + // InternalApplicationConfiguration.g:44:9: 'runtime' { - match("objectives"); + match("runtime"); } @@ -801,10 +798,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__45; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:45:7: ( 'config' ) - // InternalApplicationConfiguration.g:45:9: 'config' + // InternalApplicationConfiguration.g:45:7: ( 'memory' ) + // InternalApplicationConfiguration.g:45:9: 'memory' { - match("config"); + match("memory"); } @@ -822,11 +819,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__46; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:46:7: ( 'log-level' ) - // InternalApplicationConfiguration.g:46:9: 'log-level' + // InternalApplicationConfiguration.g:46:7: ( '#' ) + // InternalApplicationConfiguration.g:46:9: '#' { - match("log-level"); - + match('#'); } @@ -843,10 +839,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__47; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:47:7: ( 'runtime' ) - // InternalApplicationConfiguration.g:47:9: 'runtime' + // InternalApplicationConfiguration.g:47:7: ( 'node' ) + // InternalApplicationConfiguration.g:47:9: 'node' { - match("runtime"); + match("node"); } @@ -864,10 +860,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__48; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:48:7: ( 'memory' ) - // InternalApplicationConfiguration.g:48:9: 'memory' + // InternalApplicationConfiguration.g:48:7: ( 'int' ) + // InternalApplicationConfiguration.g:48:9: 'int' { - match("memory"); + match("int"); } @@ -885,10 +881,11 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__49; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:49:7: ( '#' ) - // InternalApplicationConfiguration.g:49:9: '#' + // InternalApplicationConfiguration.g:49:7: ( 'real' ) + // InternalApplicationConfiguration.g:49:9: 'real' { - match('#'); + match("real"); + } @@ -905,10 +902,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__50; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:50:7: ( 'node' ) - // InternalApplicationConfiguration.g:50:9: 'node' + // InternalApplicationConfiguration.g:50:7: ( 'string' ) + // InternalApplicationConfiguration.g:50:9: 'string' { - match("node"); + match("string"); } @@ -926,10 +923,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__51; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:51:7: ( 'int' ) - // InternalApplicationConfiguration.g:51:9: 'int' + // InternalApplicationConfiguration.g:51:7: ( '..' ) + // InternalApplicationConfiguration.g:51:9: '..' { - match("int"); + match(".."); } @@ -947,10 +944,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__52; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:52:7: ( 'real' ) - // InternalApplicationConfiguration.g:52:9: 'real' + // InternalApplicationConfiguration.g:52:7: ( 'scope' ) + // InternalApplicationConfiguration.g:52:9: 'scope' { - match("real"); + match("scope"); } @@ -968,10 +965,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__53; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:53:7: ( 'string' ) - // InternalApplicationConfiguration.g:53:9: 'string' + // InternalApplicationConfiguration.g:53:7: ( 'generate' ) + // InternalApplicationConfiguration.g:53:9: 'generate' { - match("string"); + match("generate"); } @@ -989,10 +986,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__54; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:54:7: ( '..' ) - // InternalApplicationConfiguration.g:54:9: '..' + // InternalApplicationConfiguration.g:54:7: ( 'partial-model' ) + // InternalApplicationConfiguration.g:54:9: 'partial-model' { - match(".."); + match("partial-model"); } @@ -1010,10 +1007,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__55; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:55:7: ( 'scope' ) - // InternalApplicationConfiguration.g:55:9: 'scope' + // InternalApplicationConfiguration.g:55:7: ( 'solver' ) + // InternalApplicationConfiguration.g:55:9: 'solver' { - match("scope"); + match("solver"); } @@ -1031,10 +1028,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__56; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:56:7: ( 'generate' ) - // InternalApplicationConfiguration.g:56:9: 'generate' + // InternalApplicationConfiguration.g:56:7: ( 'debug' ) + // InternalApplicationConfiguration.g:56:9: 'debug' { - match("generate"); + match("debug"); } @@ -1052,10 +1049,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__57; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:57:7: ( 'partial-model' ) - // InternalApplicationConfiguration.g:57:9: 'partial-model' + // InternalApplicationConfiguration.g:57:7: ( 'log' ) + // InternalApplicationConfiguration.g:57:9: 'log' { - match("partial-model"); + match("log"); } @@ -1073,10 +1070,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__58; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:58:7: ( 'solver' ) - // InternalApplicationConfiguration.g:58:9: 'solver' + // InternalApplicationConfiguration.g:58:7: ( 'statistics' ) + // InternalApplicationConfiguration.g:58:9: 'statistics' { - match("solver"); + match("statistics"); } @@ -1094,10 +1091,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__59; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:59:7: ( 'debug' ) - // InternalApplicationConfiguration.g:59:9: 'debug' + // InternalApplicationConfiguration.g:59:7: ( 'output' ) + // InternalApplicationConfiguration.g:59:9: 'output' { - match("debug"); + match("output"); } @@ -1115,10 +1112,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__60; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:60:7: ( 'log' ) - // InternalApplicationConfiguration.g:60:9: 'log' + // InternalApplicationConfiguration.g:60:7: ( '+=' ) + // InternalApplicationConfiguration.g:60:9: '+=' { - match("log"); + match("+="); } @@ -1136,11 +1133,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__61; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:61:7: ( 'statistics' ) - // InternalApplicationConfiguration.g:61:9: 'statistics' + // InternalApplicationConfiguration.g:61:7: ( '*' ) + // InternalApplicationConfiguration.g:61:9: '*' { - match("statistics"); - + match('*'); } @@ -1157,10 +1153,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__62; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:62:7: ( 'output' ) - // InternalApplicationConfiguration.g:62:9: 'output' + // InternalApplicationConfiguration.g:62:7: ( 'number' ) + // InternalApplicationConfiguration.g:62:9: 'number' { - match("output"); + match("number"); } @@ -1178,70 +1174,8 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__63; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:63:7: ( '+=' ) - // InternalApplicationConfiguration.g:63:9: '+=' - { - match("+="); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__63" - - // $ANTLR start "T__64" - public final void mT__64() throws RecognitionException { - try { - int _type = T__64; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:64:7: ( '*' ) - // InternalApplicationConfiguration.g:64:9: '*' - { - match('*'); - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__64" - - // $ANTLR start "T__65" - public final void mT__65() throws RecognitionException { - try { - int _type = T__65; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:65:7: ( 'number' ) - // InternalApplicationConfiguration.g:65:9: 'number' - { - match("number"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__65" - - // $ANTLR start "T__66" - public final void mT__66() throws RecognitionException { - try { - int _type = T__66; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:66:7: ( 'runs' ) - // InternalApplicationConfiguration.g:66:9: 'runs' + // InternalApplicationConfiguration.g:63:7: ( 'runs' ) + // InternalApplicationConfiguration.g:63:9: 'runs' { match("runs"); @@ -1254,17 +1188,17 @@ public class InternalApplicationConfigurationLexer extends Lexer { finally { } } - // $ANTLR end "T__66" + // $ANTLR end "T__63" // $ANTLR start "RULE_ID" public final void mRULE_ID() throws RecognitionException { try { int _type = RULE_ID; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:12508:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* ) - // InternalApplicationConfiguration.g:12508:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* + // InternalApplicationConfiguration.g:11845:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* ) + // InternalApplicationConfiguration.g:11845:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* { - // InternalApplicationConfiguration.g:12508:11: ( '^' )? + // InternalApplicationConfiguration.g:11845:11: ( '^' )? int alt1=2; int LA1_0 = input.LA(1); @@ -1273,7 +1207,7 @@ public class InternalApplicationConfigurationLexer extends Lexer { } switch (alt1) { case 1 : - // InternalApplicationConfiguration.g:12508:11: '^' + // InternalApplicationConfiguration.g:11845:11: '^' { match('^'); @@ -1291,7 +1225,7 @@ public class InternalApplicationConfigurationLexer extends Lexer { recover(mse); throw mse;} - // InternalApplicationConfiguration.g:12508:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* + // InternalApplicationConfiguration.g:11845:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* loop2: do { int alt2=2; @@ -1340,10 +1274,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = RULE_INT; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:12510:10: ( ( '0' .. '9' )+ ) - // InternalApplicationConfiguration.g:12510:12: ( '0' .. '9' )+ + // InternalApplicationConfiguration.g:11847:10: ( ( '0' .. '9' )+ ) + // InternalApplicationConfiguration.g:11847:12: ( '0' .. '9' )+ { - // InternalApplicationConfiguration.g:12510:12: ( '0' .. '9' )+ + // InternalApplicationConfiguration.g:11847:12: ( '0' .. '9' )+ int cnt3=0; loop3: do { @@ -1357,7 +1291,7 @@ public class InternalApplicationConfigurationLexer extends Lexer { switch (alt3) { case 1 : - // InternalApplicationConfiguration.g:12510:13: '0' .. '9' + // InternalApplicationConfiguration.g:11847:13: '0' .. '9' { matchRange('0','9'); @@ -1389,10 +1323,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = RULE_STRING; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:12512:13: ( ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) ) - // InternalApplicationConfiguration.g:12512:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) + // InternalApplicationConfiguration.g:11849:13: ( ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) ) + // InternalApplicationConfiguration.g:11849:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) { - // InternalApplicationConfiguration.g:12512:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) + // InternalApplicationConfiguration.g:11849:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) int alt6=2; int LA6_0 = input.LA(1); @@ -1410,10 +1344,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { } switch (alt6) { case 1 : - // InternalApplicationConfiguration.g:12512:16: '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' + // InternalApplicationConfiguration.g:11849:16: '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' { match('\"'); - // InternalApplicationConfiguration.g:12512:20: ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* + // InternalApplicationConfiguration.g:11849:20: ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* loop4: do { int alt4=3; @@ -1429,7 +1363,7 @@ public class InternalApplicationConfigurationLexer extends Lexer { switch (alt4) { case 1 : - // InternalApplicationConfiguration.g:12512:21: '\\\\' . + // InternalApplicationConfiguration.g:11849:21: '\\\\' . { match('\\'); matchAny(); @@ -1437,7 +1371,7 @@ public class InternalApplicationConfigurationLexer extends Lexer { } break; case 2 : - // InternalApplicationConfiguration.g:12512:28: ~ ( ( '\\\\' | '\"' ) ) + // InternalApplicationConfiguration.g:11849:28: ~ ( ( '\\\\' | '\"' ) ) { if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { input.consume(); @@ -1462,10 +1396,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { } break; case 2 : - // InternalApplicationConfiguration.g:12512:48: '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' + // InternalApplicationConfiguration.g:11849:48: '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' { match('\''); - // InternalApplicationConfiguration.g:12512:53: ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* + // InternalApplicationConfiguration.g:11849:53: ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* loop5: do { int alt5=3; @@ -1481,7 +1415,7 @@ public class InternalApplicationConfigurationLexer extends Lexer { switch (alt5) { case 1 : - // InternalApplicationConfiguration.g:12512:54: '\\\\' . + // InternalApplicationConfiguration.g:11849:54: '\\\\' . { match('\\'); matchAny(); @@ -1489,7 +1423,7 @@ public class InternalApplicationConfigurationLexer extends Lexer { } break; case 2 : - // InternalApplicationConfiguration.g:12512:61: ~ ( ( '\\\\' | '\\'' ) ) + // InternalApplicationConfiguration.g:11849:61: ~ ( ( '\\\\' | '\\'' ) ) { if ( (input.LA(1)>='\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { input.consume(); @@ -1532,12 +1466,12 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = RULE_ML_COMMENT; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:12514:17: ( '/*' ( options {greedy=false; } : . )* '*/' ) - // InternalApplicationConfiguration.g:12514:19: '/*' ( options {greedy=false; } : . )* '*/' + // InternalApplicationConfiguration.g:11851:17: ( '/*' ( options {greedy=false; } : . )* '*/' ) + // InternalApplicationConfiguration.g:11851:19: '/*' ( options {greedy=false; } : . )* '*/' { match("/*"); - // InternalApplicationConfiguration.g:12514:24: ( options {greedy=false; } : . )* + // InternalApplicationConfiguration.g:11851:24: ( options {greedy=false; } : . )* loop7: do { int alt7=2; @@ -1562,7 +1496,7 @@ public class InternalApplicationConfigurationLexer extends Lexer { switch (alt7) { case 1 : - // InternalApplicationConfiguration.g:12514:52: . + // InternalApplicationConfiguration.g:11851:52: . { matchAny(); @@ -1592,12 +1526,12 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = RULE_SL_COMMENT; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:12516:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? ) - // InternalApplicationConfiguration.g:12516:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? + // InternalApplicationConfiguration.g:11853:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? ) + // InternalApplicationConfiguration.g:11853:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? { match("//"); - // InternalApplicationConfiguration.g:12516:24: (~ ( ( '\\n' | '\\r' ) ) )* + // InternalApplicationConfiguration.g:11853:24: (~ ( ( '\\n' | '\\r' ) ) )* loop8: do { int alt8=2; @@ -1610,7 +1544,7 @@ public class InternalApplicationConfigurationLexer extends Lexer { switch (alt8) { case 1 : - // InternalApplicationConfiguration.g:12516:24: ~ ( ( '\\n' | '\\r' ) ) + // InternalApplicationConfiguration.g:11853: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(); @@ -1630,7 +1564,7 @@ public class InternalApplicationConfigurationLexer extends Lexer { } } while (true); - // InternalApplicationConfiguration.g:12516:40: ( ( '\\r' )? '\\n' )? + // InternalApplicationConfiguration.g:11853:40: ( ( '\\r' )? '\\n' )? int alt10=2; int LA10_0 = input.LA(1); @@ -1639,9 +1573,9 @@ public class InternalApplicationConfigurationLexer extends Lexer { } switch (alt10) { case 1 : - // InternalApplicationConfiguration.g:12516:41: ( '\\r' )? '\\n' + // InternalApplicationConfiguration.g:11853:41: ( '\\r' )? '\\n' { - // InternalApplicationConfiguration.g:12516:41: ( '\\r' )? + // InternalApplicationConfiguration.g:11853:41: ( '\\r' )? int alt9=2; int LA9_0 = input.LA(1); @@ -1650,7 +1584,7 @@ public class InternalApplicationConfigurationLexer extends Lexer { } switch (alt9) { case 1 : - // InternalApplicationConfiguration.g:12516:41: '\\r' + // InternalApplicationConfiguration.g:11853:41: '\\r' { match('\r'); @@ -1682,10 +1616,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = RULE_WS; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:12518:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ ) - // InternalApplicationConfiguration.g:12518:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ + // InternalApplicationConfiguration.g:11855:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ ) + // InternalApplicationConfiguration.g:11855:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ { - // InternalApplicationConfiguration.g:12518:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ + // InternalApplicationConfiguration.g:11855:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ int cnt11=0; loop11: do { @@ -1739,8 +1673,8 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = RULE_ANY_OTHER; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:12520:16: ( . ) - // InternalApplicationConfiguration.g:12520:18: . + // InternalApplicationConfiguration.g:11857:16: ( . ) + // InternalApplicationConfiguration.g:11857:18: . { matchAny(); @@ -1755,8 +1689,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 | T__49 | T__50 | T__51 | T__52 | T__53 | T__54 | T__55 | T__56 | T__57 | T__58 | T__59 | T__60 | T__61 | T__62 | T__63 | T__64 | T__65 | T__66 | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER ) - int alt12=63; + // 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 | T__51 | T__52 | T__53 | T__54 | T__55 | T__56 | T__57 | T__58 | T__59 | T__60 | T__61 | T__62 | T__63 | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER ) + int alt12=60; alt12 = dfa12.predict(input); switch (alt12) { case 1 : @@ -2131,70 +2065,49 @@ public class InternalApplicationConfigurationLexer extends Lexer { } break; case 54 : - // InternalApplicationConfiguration.g:1:328: T__64 - { - mT__64(); - - } - break; - case 55 : - // InternalApplicationConfiguration.g:1:334: T__65 - { - mT__65(); - - } - break; - case 56 : - // InternalApplicationConfiguration.g:1:340: T__66 - { - mT__66(); - - } - break; - case 57 : - // InternalApplicationConfiguration.g:1:346: RULE_ID + // InternalApplicationConfiguration.g:1:328: RULE_ID { mRULE_ID(); } break; - case 58 : - // InternalApplicationConfiguration.g:1:354: RULE_INT + case 55 : + // InternalApplicationConfiguration.g:1:336: RULE_INT { mRULE_INT(); } break; - case 59 : - // InternalApplicationConfiguration.g:1:363: RULE_STRING + case 56 : + // InternalApplicationConfiguration.g:1:345: RULE_STRING { mRULE_STRING(); } break; - case 60 : - // InternalApplicationConfiguration.g:1:375: RULE_ML_COMMENT + case 57 : + // InternalApplicationConfiguration.g:1:357: RULE_ML_COMMENT { mRULE_ML_COMMENT(); } break; - case 61 : - // InternalApplicationConfiguration.g:1:391: RULE_SL_COMMENT + case 58 : + // InternalApplicationConfiguration.g:1:373: RULE_SL_COMMENT { mRULE_SL_COMMENT(); } break; - case 62 : - // InternalApplicationConfiguration.g:1:407: RULE_WS + case 59 : + // InternalApplicationConfiguration.g:1:389: RULE_WS { mRULE_WS(); } break; - case 63 : - // InternalApplicationConfiguration.g:1:415: RULE_ANY_OTHER + case 60 : + // InternalApplicationConfiguration.g:1:397: RULE_ANY_OTHER { mRULE_ANY_OTHER(); @@ -2208,109 +2121,112 @@ public class InternalApplicationConfigurationLexer extends Lexer { protected DFA12 dfa12 = new DFA12(this); static final String DFA12_eotS = - "\1\uffff\1\54\1\56\1\60\5\54\1\72\1\uffff\4\54\4\uffff\1\54\1\46\4\54\1\uffff\3\54\1\46\1\uffff\1\46\2\uffff\3\46\2\uffff\5\54\5\uffff\10\54\3\uffff\7\54\4\uffff\1\54\1\uffff\1\54\1\167\3\54\1\uffff\5\54\7\uffff\21\54\1\u0092\12\54\1\uffff\2\54\1\u00a2\13\54\1\u00ae\1\u00af\1\54\1\u00b1\1\54\1\u00b3\1\u00b4\5\54\1\uffff\4\54\1\u00be\1\54\1\u00c0\4\54\1\u00c5\2\54\2\uffff\13\54\2\uffff\1\54\1\uffff\1\54\2\uffff\11\54\1\uffff\1\54\1\uffff\4\54\1\uffff\4\54\1\u00e7\2\54\1\u00ea\3\54\1\u00ee\1\u00ef\1\u00f0\1\u00f1\1\u00f2\3\54\1\u00f6\2\54\1\u00f9\5\54\1\u00ff\1\54\1\u0101\1\u0102\1\54\1\uffff\1\u0104\1\54\1\uffff\3\54\5\uffff\3\54\1\uffff\2\54\1\uffff\1\54\1\u010f\1\u0110\2\54\1\uffff\1\54\2\uffff\1\54\1\uffff\1\54\1\u0116\1\u0117\4\54\1\u011c\2\54\3\uffff\3\54\1\u0122\2\uffff\1\u0123\1\u0124\2\54\1\uffff\1\u0127\4\54\3\uffff\2\54\1\uffff\2\54\1\u0130\1\u0131\1\u0132\1\54\1\u0134\1\u0135\3\uffff\1\u0136\3\uffff"; + "\1\uffff\1\52\1\54\1\56\5\52\1\70\1\uffff\3\52\4\uffff\1\52\1\45\4\52\1\uffff\3\52\1\45\1\uffff\1\45\2\uffff\3\45\2\uffff\4\52\5\uffff\10\52\3\uffff\5\52\4\uffff\1\52\1\uffff\6\52\1\uffff\5\52\7\uffff\20\52\1\u008b\11\52\1\u0097\15\52\1\u00a6\1\52\1\u00a8\1\52\1\u00aa\1\u00ab\5\52\1\uffff\7\52\1\u00b8\2\52\2\uffff\1\52\1\u00bc\1\u00bd\13\52\1\uffff\1\52\1\uffff\1\52\2\uffff\14\52\1\uffff\3\52\2\uffff\2\52\1\u00dc\2\52\1\u00df\3\52\1\u00e3\1\u00e4\1\u00e5\1\u00e6\1\u00e7\3\52\1\u00eb\2\52\1\u00ee\3\52\1\u00f2\1\52\1\u00f4\1\52\1\u00f6\1\52\1\uffff\1\u00f8\1\52\1\uffff\3\52\5\uffff\3\52\1\uffff\2\52\1\uffff\1\u0102\2\52\1\uffff\1\52\1\uffff\1\u0106\1\uffff\1\52\1\uffff\1\52\1\u0109\1\u010a\4\52\1\u010f\1\52\2\uffff\2\52\1\uffff\1\52\1\u0114\2\uffff\1\u0115\1\u0116\2\52\1\uffff\1\u0119\3\52\3\uffff\2\52\1\uffff\1\52\1\u0120\1\u0121\1\u0122\1\52\1\u0124\3\uffff\1\u0125\2\uffff"; static final String DFA12_eofS = - "\u0137\uffff"; + "\u0126\uffff"; static final String DFA12_minS = - "\1\0\1\141\2\75\1\157\1\151\1\115\1\154\1\151\1\56\1\uffff\1\155\1\160\1\151\1\145\4\uffff\1\141\1\72\1\157\1\164\1\142\1\157\1\uffff\1\143\2\145\1\75\1\uffff\1\101\2\uffff\2\0\1\52\2\uffff\1\156\1\170\1\155\1\144\1\146\5\uffff\1\144\1\155\3\154\1\124\1\154\1\141\3\uffff\1\160\1\164\1\141\1\143\2\141\1\156\4\uffff\1\143\1\uffff\1\156\1\60\1\152\1\164\1\147\1\uffff\1\141\1\157\1\154\1\156\1\142\7\uffff\2\151\1\141\1\157\1\145\1\146\1\145\1\155\1\145\1\142\1\154\1\145\1\144\1\123\1\157\1\164\1\157\1\60\1\143\1\154\1\164\1\151\1\154\1\163\1\153\1\164\1\146\1\164\1\uffff\1\145\1\160\1\55\1\151\1\164\1\160\1\166\1\145\1\165\3\155\1\162\1\154\2\60\1\141\1\60\1\145\2\60\1\145\1\157\1\171\2\162\1\uffff\1\153\1\165\1\162\1\141\1\60\1\151\1\60\1\141\1\151\1\164\1\151\1\60\1\143\1\165\2\uffff\1\156\1\151\2\145\1\162\1\147\2\151\1\157\1\171\1\163\2\uffff\1\154\1\uffff\1\162\2\uffff\1\162\1\154\1\123\1\141\1\164\1\141\1\144\1\141\1\142\1\uffff\1\155\1\uffff\1\147\1\141\1\162\1\147\1\uffff\2\164\1\147\1\163\1\60\1\162\1\141\1\60\2\172\1\144\5\60\1\166\1\157\1\123\1\60\1\147\1\151\1\60\1\151\2\145\1\154\1\141\1\60\1\151\2\60\1\164\1\uffff\1\60\1\164\1\uffff\3\145\5\uffff\1\145\1\154\1\157\1\uffff\1\145\1\156\1\uffff\1\154\2\60\1\55\1\151\1\uffff\1\166\2\uffff\1\151\1\uffff\1\145\2\60\1\154\1\162\1\166\1\154\1\60\1\147\1\151\3\uffff\1\156\1\145\1\143\1\60\2\uffff\2\60\1\145\1\166\1\uffff\1\60\2\164\2\163\3\uffff\1\162\1\145\1\uffff\1\171\1\163\3\60\1\162\2\60\3\uffff\1\60\3\uffff"; + "\1\0\1\141\2\75\1\157\1\151\1\115\1\154\1\151\1\56\1\uffff\1\155\1\160\1\151\4\uffff\1\141\1\72\1\157\1\142\1\157\1\145\1\uffff\1\143\2\145\1\75\1\uffff\1\101\2\uffff\2\0\1\52\2\uffff\1\156\1\170\1\155\1\144\5\uffff\1\144\1\155\3\154\1\124\1\154\1\141\3\uffff\1\160\1\164\1\141\1\143\1\141\4\uffff\1\143\1\uffff\1\156\1\152\1\164\1\147\1\156\1\141\1\uffff\1\141\1\157\1\154\1\156\1\142\7\uffff\2\151\1\141\1\157\2\145\1\155\1\145\1\142\1\154\1\145\1\144\1\123\1\157\1\164\1\157\1\60\1\143\1\154\1\164\1\153\1\164\1\146\1\164\1\145\1\160\1\55\1\163\1\154\1\151\1\164\1\160\1\166\1\145\1\165\3\155\1\162\1\154\1\60\1\141\1\60\1\145\2\60\1\145\1\157\1\171\2\162\1\uffff\1\153\1\165\1\162\1\141\1\151\1\164\1\151\1\60\1\143\1\165\2\uffff\1\151\2\60\1\156\1\151\2\145\1\162\1\147\2\151\1\157\1\171\1\163\1\uffff\1\154\1\uffff\1\162\2\uffff\1\162\1\154\1\123\1\141\1\164\1\141\1\144\1\141\1\147\1\141\1\162\1\147\1\uffff\2\164\1\155\2\uffff\1\147\1\163\1\60\1\162\1\141\1\60\2\172\1\144\5\60\1\166\1\157\1\123\1\60\1\147\1\151\1\60\1\145\1\154\1\141\1\60\1\151\1\60\1\145\1\60\1\164\1\uffff\1\60\1\164\1\uffff\3\145\5\uffff\1\145\1\154\1\157\1\uffff\1\145\1\156\1\uffff\1\60\1\55\1\151\1\uffff\1\166\1\uffff\1\60\1\uffff\1\151\1\uffff\1\145\2\60\1\154\1\162\1\166\1\154\1\60\1\147\2\uffff\1\156\1\145\1\uffff\1\143\1\60\2\uffff\2\60\1\145\1\166\1\uffff\1\60\1\164\2\163\3\uffff\1\162\1\145\1\uffff\1\163\3\60\1\162\1\60\3\uffff\1\60\2\uffff"; static final String DFA12_maxS = - "\1\uffff\1\164\2\75\2\165\1\115\1\154\1\151\1\56\1\uffff\1\156\1\170\1\151\1\165\4\uffff\1\141\1\72\1\157\1\164\1\165\1\157\1\uffff\1\164\2\145\1\75\1\uffff\1\172\2\uffff\2\uffff\1\57\2\uffff\1\156\1\170\1\164\1\144\1\146\5\uffff\1\162\1\155\3\154\1\124\1\154\1\141\3\uffff\1\160\1\164\1\141\1\143\1\141\1\154\1\156\4\uffff\1\162\1\uffff\1\163\1\172\1\152\1\164\1\147\1\uffff\1\162\1\157\1\154\1\156\1\142\7\uffff\2\151\1\141\1\157\1\145\1\146\1\145\1\155\1\145\1\142\1\154\1\145\1\144\1\123\1\157\1\164\1\157\1\172\1\143\1\154\1\164\1\151\1\154\1\164\1\153\1\164\1\163\1\164\1\uffff\1\145\1\160\1\172\1\151\1\164\1\160\1\166\1\145\1\165\3\155\1\162\1\154\2\172\1\141\1\172\1\145\2\172\1\145\1\157\1\171\2\162\1\uffff\1\153\1\165\1\162\1\141\1\172\1\151\1\172\1\141\1\151\1\164\1\151\1\172\1\143\1\165\2\uffff\1\156\1\151\2\145\1\162\1\147\2\151\1\157\1\171\1\163\2\uffff\1\154\1\uffff\1\162\2\uffff\1\162\1\154\1\123\1\141\1\164\1\141\1\144\1\141\1\142\1\uffff\1\155\1\uffff\1\147\1\141\1\162\1\147\1\uffff\2\164\1\147\1\163\1\172\1\162\1\141\3\172\1\144\5\172\1\166\1\157\1\123\1\172\1\147\1\151\1\172\1\151\2\145\1\154\1\141\1\172\1\151\2\172\1\164\1\uffff\1\172\1\164\1\uffff\3\145\5\uffff\1\145\1\154\1\157\1\uffff\1\145\1\156\1\uffff\1\154\2\172\1\55\1\151\1\uffff\1\166\2\uffff\1\151\1\uffff\1\145\2\172\1\154\1\162\1\166\1\154\1\172\1\147\1\151\3\uffff\1\156\1\145\1\143\1\172\2\uffff\2\172\1\145\1\166\1\uffff\1\172\2\164\2\163\3\uffff\1\162\1\145\1\uffff\1\171\1\163\3\172\1\162\2\172\3\uffff\1\172\3\uffff"; + "\1\uffff\1\157\2\75\2\165\1\115\1\154\1\151\1\56\1\uffff\1\156\1\170\1\151\4\uffff\1\141\1\72\1\157\1\165\1\157\1\165\1\uffff\1\164\2\145\1\75\1\uffff\1\172\2\uffff\2\uffff\1\57\2\uffff\1\156\1\170\1\164\1\144\5\uffff\1\162\1\155\3\154\1\124\1\154\1\141\3\uffff\1\160\1\164\1\141\1\143\1\141\4\uffff\1\162\1\uffff\1\163\1\152\1\164\1\147\1\156\1\141\1\uffff\1\162\1\157\1\154\1\156\1\142\7\uffff\2\151\1\141\1\157\2\145\1\155\1\145\1\142\1\154\1\145\1\144\1\123\1\157\1\164\1\157\1\172\1\143\1\154\1\164\1\153\1\164\1\163\1\164\1\145\1\160\1\172\1\164\1\154\1\151\1\164\1\160\1\166\1\145\1\165\3\155\1\162\1\154\1\172\1\141\1\172\1\145\2\172\1\145\1\157\1\171\2\162\1\uffff\1\153\1\165\1\162\1\141\1\151\1\164\1\151\1\172\1\143\1\165\2\uffff\1\151\2\172\1\156\1\151\2\145\1\162\1\147\2\151\1\157\1\171\1\163\1\uffff\1\154\1\uffff\1\162\2\uffff\1\162\1\154\1\123\1\141\1\164\1\141\1\144\1\141\1\147\1\141\1\162\1\147\1\uffff\2\164\1\155\2\uffff\1\147\1\163\1\172\1\162\1\141\3\172\1\144\5\172\1\166\1\157\1\123\1\172\1\147\1\151\1\172\1\145\1\154\1\141\1\172\1\151\1\172\1\145\1\172\1\164\1\uffff\1\172\1\164\1\uffff\3\145\5\uffff\1\145\1\154\1\157\1\uffff\1\145\1\156\1\uffff\1\172\1\55\1\151\1\uffff\1\166\1\uffff\1\172\1\uffff\1\151\1\uffff\1\145\2\172\1\154\1\162\1\166\1\154\1\172\1\147\2\uffff\1\156\1\145\1\uffff\1\143\1\172\2\uffff\2\172\1\145\1\166\1\uffff\1\172\1\164\2\163\3\uffff\1\162\1\145\1\uffff\1\163\3\172\1\162\1\172\3\uffff\1\172\2\uffff"; static final String DFA12_acceptS = - "\12\uffff\1\16\4\uffff\1\24\1\25\1\26\1\27\6\uffff\1\47\4\uffff\1\66\1\uffff\1\71\1\72\3\uffff\1\76\1\77\5\uffff\1\71\1\5\1\3\1\6\1\4\10\uffff\1\54\1\15\1\16\7\uffff\1\24\1\25\1\26\1\27\1\uffff\1\32\5\uffff\1\47\5\uffff\1\65\1\66\1\72\1\73\1\74\1\75\1\76\34\uffff\1\40\32\uffff\1\51\16\uffff\1\44\1\62\13\uffff\1\41\1\7\1\uffff\1\50\1\uffff\1\11\1\23\11\uffff\1\52\1\uffff\1\70\4\uffff\1\37\41\uffff\1\55\2\uffff\1\61\3\uffff\1\46\1\35\1\10\1\67\1\34\3\uffff\1\17\2\uffff\1\21\5\uffff\1\43\1\uffff\1\64\1\53\1\uffff\1\60\12\uffff\1\45\1\30\1\57\4\uffff\1\1\1\2\4\uffff\1\20\5\uffff\1\56\1\33\1\12\2\uffff\1\31\10\uffff\1\42\1\63\1\13\1\uffff\1\22\1\36\1\14"; + "\12\uffff\1\16\3\uffff\1\23\1\24\1\25\1\26\6\uffff\1\44\4\uffff\1\63\1\uffff\1\66\1\67\3\uffff\1\73\1\74\4\uffff\1\66\1\5\1\3\1\6\1\4\10\uffff\1\51\1\15\1\16\5\uffff\1\23\1\24\1\25\1\26\1\uffff\1\31\6\uffff\1\44\5\uffff\1\62\1\63\1\67\1\70\1\71\1\72\1\73\63\uffff\1\46\12\uffff\1\41\1\57\16\uffff\1\7\1\uffff\1\45\1\uffff\1\11\1\22\14\uffff\1\36\3\uffff\1\65\1\47\36\uffff\1\52\2\uffff\1\56\3\uffff\1\43\1\34\1\10\1\64\1\33\3\uffff\1\17\2\uffff\1\21\3\uffff\1\40\1\uffff\1\61\1\uffff\1\50\1\uffff\1\55\11\uffff\1\27\1\54\2\uffff\1\42\2\uffff\1\1\1\2\4\uffff\1\20\4\uffff\1\53\1\32\1\12\2\uffff\1\30\6\uffff\1\37\1\60\1\13\1\uffff\1\35\1\14"; static final String DFA12_specialS = - "\1\1\41\uffff\1\0\1\2\u0113\uffff}>"; + "\1\0\40\uffff\1\1\1\2\u0103\uffff}>"; static final String[] DFA12_transitionS = { - "\11\46\2\45\2\46\1\45\22\46\1\45\1\46\1\42\1\31\3\46\1\43\2\46\1\36\1\35\1\22\1\12\1\11\1\44\12\41\1\24\1\46\1\2\1\17\1\3\2\46\1\7\21\40\1\6\2\40\1\10\4\40\3\46\1\37\1\40\1\46\1\26\1\40\1\25\1\34\1\14\1\5\1\33\1\40\1\13\2\40\1\30\1\1\1\4\1\27\1\23\1\40\1\16\1\32\2\40\1\15\4\40\1\20\1\46\1\21\uff82\46", - "\1\50\3\uffff\1\51\3\uffff\1\47\5\uffff\1\52\4\uffff\1\53", + "\11\45\2\44\2\45\1\44\22\45\1\44\1\45\1\41\1\30\3\45\1\42\2\45\1\35\1\34\1\21\1\12\1\11\1\43\12\40\1\23\1\45\1\2\1\16\1\3\2\45\1\7\21\37\1\6\2\37\1\10\4\37\3\45\1\36\1\37\1\45\2\37\1\24\1\33\1\14\1\5\1\32\1\37\1\13\2\37\1\26\1\1\1\4\1\25\1\22\1\37\1\27\1\31\2\37\1\15\4\37\1\17\1\45\1\20\uff82\45", + "\1\47\3\uffff\1\50\3\uffff\1\46\5\uffff\1\51", + "\1\53", "\1\55", - "\1\57", - "\1\61\5\uffff\1\62", - "\1\64\5\uffff\1\65\5\uffff\1\63", + "\1\57\5\uffff\1\60", + "\1\62\5\uffff\1\63\5\uffff\1\61", + "\1\64", + "\1\65", "\1\66", "\1\67", - "\1\70", - "\1\71", "", - "\1\74\1\75", - "\1\76\7\uffff\1\77", - "\1\100", - "\1\101\17\uffff\1\102", + "\1\72\1\73", + "\1\74\7\uffff\1\75", + "\1\76", "", "", "", "", - "\1\107", + "\1\103", + "\1\104", + "\1\105", + "\1\106\22\uffff\1\107", "\1\110", - "\1\111", - "\1\112", - "\1\113\22\uffff\1\114", - "\1\115", + "\1\112\17\uffff\1\111", "", - "\1\120\13\uffff\1\121\4\uffff\1\117", - "\1\122", - "\1\123", - "\1\124", + "\1\115\13\uffff\1\116\4\uffff\1\114", + "\1\117", + "\1\120", + "\1\121", "", - "\32\54\4\uffff\1\54\1\uffff\32\54", + "\32\52\4\uffff\1\52\1\uffff\32\52", "", "", - "\0\127", - "\0\127", - "\1\130\4\uffff\1\131", + "\0\124", + "\0\124", + "\1\125\4\uffff\1\126", "", "", - "\1\133", + "\1\130", + "\1\131", + "\1\133\6\uffff\1\132", "\1\134", - "\1\136\6\uffff\1\135", - "\1\137", - "\1\140", "", "", "", "", "", - "\1\143\11\uffff\1\141\3\uffff\1\142", + "\1\137\11\uffff\1\135\3\uffff\1\136", + "\1\140", + "\1\141", + "\1\142", + "\1\143", "\1\144", "\1\145", "\1\146", + "", + "", + "", "\1\147", "\1\150", "\1\151", "\1\152", - "", - "", - "", "\1\153", - "\1\154", - "\1\155", - "\1\156", - "\1\157", - "\1\161\12\uffff\1\160", - "\1\162", "", "", "", "", - "\1\163\16\uffff\1\164", + "\1\154\16\uffff\1\155", "", - "\1\165\4\uffff\1\166", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", + "\1\156\4\uffff\1\157", + "\1\160", + "\1\161", + "\1\162", + "\1\163", + "\1\164", + "", + "\1\166\20\uffff\1\165", + "\1\167", "\1\170", "\1\171", "\1\172", "", - "\1\174\20\uffff\1\173", - "\1\175", - "\1\176", - "\1\177", - "\1\u0080", - "", "", "", "", "", "", "", + "\1\173", + "\1\174", + "\1\175", + "\1\176", + "\1\177", + "\1\u0080", "\1\u0081", "\1\u0082", "\1\u0083", @@ -2321,71 +2237,74 @@ public class InternalApplicationConfigurationLexer extends Lexer { "\1\u0088", "\1\u0089", "\1\u008a", - "\1\u008b", + "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52", "\1\u008c", "\1\u008d", "\1\u008e", "\1\u008f", "\1\u0090", - "\1\u0091", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", + "\1\u0092\14\uffff\1\u0091", "\1\u0093", "\1\u0094", "\1\u0095", - "\1\u0096", - "\1\u0097", + "\1\u0096\2\uffff\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52", "\1\u0099\1\u0098", "\1\u009a", "\1\u009b", - "\1\u009d\14\uffff\1\u009c", + "\1\u009c", + "\1\u009d", "\1\u009e", - "", "\1\u009f", "\1\u00a0", - "\1\u00a1\2\uffff\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", + "\1\u00a1", + "\1\u00a2", "\1\u00a3", "\1\u00a4", "\1\u00a5", - "\1\u00a6", + "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52", "\1\u00a7", - "\1\u00a8", + "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52", "\1\u00a9", - "\1\u00aa", - "\1\u00ab", + "\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\u00ac", "\1\u00ad", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", + "\1\u00ae", + "\1\u00af", "\1\u00b0", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", + "", + "\1\u00b1", "\1\u00b2", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", + "\1\u00b3", + "\1\u00b4", "\1\u00b5", "\1\u00b6", "\1\u00b7", - "\1\u00b8", + "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52", "\1\u00b9", - "", "\1\u00ba", + "", + "", "\1\u00bb", - "\1\u00bc", - "\1\u00bd", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", + "\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\u00be", "\1\u00bf", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", + "\1\u00c0", "\1\u00c1", "\1\u00c2", "\1\u00c3", "\1\u00c4", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", + "\1\u00c5", "\1\u00c6", "\1\u00c7", - "", - "", "\1\u00c8", + "", "\1\u00c9", + "", "\1\u00ca", + "", + "", "\1\u00cb", "\1\u00cc", "\1\u00cd", @@ -2394,141 +2313,118 @@ public class InternalApplicationConfigurationLexer extends Lexer { "\1\u00d0", "\1\u00d1", "\1\u00d2", - "", - "", "\1\u00d3", - "", "\1\u00d4", - "", - "", "\1\u00d5", "\1\u00d6", + "", "\1\u00d7", "\1\u00d8", "\1\u00d9", + "", + "", "\1\u00da", "\1\u00db", - "\1\u00dc", + "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52", "\1\u00dd", - "", "\1\u00de", - "", - "\1\u00df", + "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52", "\1\u00e0", "\1\u00e1", "\1\u00e2", - "", - "\1\u00e3", - "\1\u00e4", - "\1\u00e5", - "\1\u00e6", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", + "\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", + "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52", "\1\u00e8", "\1\u00e9", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", - "\1\u00eb", + "\1\u00ea", + "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52", "\1\u00ec", "\1\u00ed", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", + "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52", + "\1\u00ef", + "\1\u00f0", + "\1\u00f1", + "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52", "\1\u00f3", - "\1\u00f4", + "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52", "\1\u00f5", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", + "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52", "\1\u00f7", - "\1\u00f8", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", + "", + "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52", + "\1\u00f9", + "", "\1\u00fa", "\1\u00fb", "\1\u00fc", + "", + "", + "", + "", + "", "\1\u00fd", "\1\u00fe", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", + "\1\u00ff", + "", "\1\u0100", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", + "\1\u0101", + "", + "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52", "\1\u0103", + "\1\u0104", "", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", "\1\u0105", "", - "\1\u0106", - "\1\u0107", - "\1\u0108", - "", - "", - "", + "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52", "", + "\1\u0107", "", - "\1\u0109", - "\1\u010a", + "\1\u0108", + "\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\u010b", - "", "\1\u010c", "\1\u010d", - "", "\1\u010e", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", + "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52", + "\1\u0110", + "", + "", "\1\u0111", "\1\u0112", "", "\1\u0113", + "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52", "", "", - "\1\u0114", - "", - "\1\u0115", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", + "\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\u0117", "\1\u0118", - "\1\u0119", + "", + "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52", "\1\u011a", "\1\u011b", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", - "\1\u011d", - "\1\u011e", - "", - "", - "", - "\1\u011f", - "\1\u0120", - "\1\u0121", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", - "", + "\1\u011c", "", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", - "\1\u0125", - "\1\u0126", "", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", - "\1\u0128", - "\1\u0129", - "\1\u012a", - "\1\u012b", "", + "\1\u011d", + "\1\u011e", "", - "", - "\1\u012c", - "\1\u012d", - "", - "\1\u012e", - "\1\u012f", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", - "\1\u0133", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", - "", + "\1\u011f", + "\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\u0123", + "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52", "", "", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", "", + "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52", "", "" }; @@ -2563,23 +2459,13 @@ 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 | T__49 | T__50 | T__51 | T__52 | T__53 | T__54 | T__55 | T__56 | T__57 | T__58 | T__59 | T__60 | T__61 | T__62 | T__63 | T__64 | T__65 | T__66 | 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 | T__51 | T__52 | T__53 | T__54 | T__55 | T__56 | T__57 | T__58 | T__59 | T__60 | T__61 | T__62 | T__63 | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER );"; } public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { IntStream input = _input; int _s = s; switch ( s ) { case 0 : - int LA12_34 = input.LA(1); - - s = -1; - if ( ((LA12_34>='\u0000' && LA12_34<='\uFFFF')) ) {s = 87;} - - else s = 38; - - if ( s>=0 ) return s; - break; - case 1 : int LA12_0 = input.LA(1); s = -1; @@ -2609,65 +2495,73 @@ public class InternalApplicationConfigurationLexer extends Lexer { else if ( (LA12_0=='v') ) {s = 13;} - else if ( (LA12_0=='r') ) {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==',') ) {s = 18;} + else if ( (LA12_0=='p') ) {s = 18;} - else if ( (LA12_0=='p') ) {s = 19;} + else if ( (LA12_0==':') ) {s = 19;} - else if ( (LA12_0==':') ) {s = 20;} + else if ( (LA12_0=='c') ) {s = 20;} - else if ( (LA12_0=='c') ) {s = 21;} + else if ( (LA12_0=='o') ) {s = 21;} - else if ( (LA12_0=='a') ) {s = 22;} + else if ( (LA12_0=='l') ) {s = 22;} - else if ( (LA12_0=='o') ) {s = 23;} + else if ( (LA12_0=='r') ) {s = 23;} - else if ( (LA12_0=='l') ) {s = 24;} + else if ( (LA12_0=='#') ) {s = 24;} - else if ( (LA12_0=='#') ) {s = 25;} + else if ( (LA12_0=='s') ) {s = 25;} - else if ( (LA12_0=='s') ) {s = 26;} + else if ( (LA12_0=='g') ) {s = 26;} - else if ( (LA12_0=='g') ) {s = 27;} + else if ( (LA12_0=='d') ) {s = 27;} - else if ( (LA12_0=='d') ) {s = 28;} + else if ( (LA12_0=='+') ) {s = 28;} - else if ( (LA12_0=='+') ) {s = 29;} + else if ( (LA12_0=='*') ) {s = 29;} - else if ( (LA12_0=='*') ) {s = 30;} + else if ( (LA12_0=='^') ) {s = 30;} - else if ( (LA12_0=='^') ) {s = 31;} + else if ( ((LA12_0>='B' && 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>='B' && LA12_0<='R')||(LA12_0>='T' && LA12_0<='U')||(LA12_0>='W' && LA12_0<='Z')||LA12_0=='_'||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 = 32;} + else if ( ((LA12_0>='0' && LA12_0<='9')) ) {s = 32;} - else if ( ((LA12_0>='0' && LA12_0<='9')) ) {s = 33;} + else if ( (LA12_0=='\"') ) {s = 33;} - else if ( (LA12_0=='\"') ) {s = 34;} + else if ( (LA12_0=='\'') ) {s = 34;} - else if ( (LA12_0=='\'') ) {s = 35;} + else if ( (LA12_0=='/') ) {s = 35;} - else if ( (LA12_0=='/') ) {s = 36;} + else if ( ((LA12_0>='\t' && LA12_0<='\n')||LA12_0=='\r'||LA12_0==' ') ) {s = 36;} - else if ( ((LA12_0>='\t' && LA12_0<='\n')||LA12_0=='\r'||LA12_0==' ') ) {s = 37;} + 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 = 37;} - 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 = 38;} + if ( s>=0 ) return s; + break; + case 1 : + int LA12_33 = input.LA(1); + + s = -1; + if ( ((LA12_33>='\u0000' && LA12_33<='\uFFFF')) ) {s = 84;} + + else s = 37; if ( s>=0 ) return s; break; case 2 : - int LA12_35 = input.LA(1); + int LA12_34 = input.LA(1); s = -1; - if ( ((LA12_35>='\u0000' && LA12_35<='\uFFFF')) ) {s = 87;} + if ( ((LA12_34>='\u0000' && LA12_34<='\uFFFF')) ) {s = 84;} - else s = 38; + else s = 37; if ( s>=0 ) return s; break; diff --git a/Application/hu.bme.mit.inf.dslreasoner.application.ide/src-gen/hu/bme/mit/inf/dslreasoner/application/ide/contentassist/antlr/internal/InternalApplicationConfigurationParser.java b/Application/hu.bme.mit.inf.dslreasoner.application.ide/src-gen/hu/bme/mit/inf/dslreasoner/application/ide/contentassist/antlr/internal/InternalApplicationConfigurationParser.java index f89f84dc..de7df21d 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application.ide/src-gen/hu/bme/mit/inf/dslreasoner/application/ide/contentassist/antlr/internal/InternalApplicationConfigurationParser.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application.ide/src-gen/hu/bme/mit/inf/dslreasoner/application/ide/contentassist/antlr/internal/InternalApplicationConfigurationParser.java @@ -22,7 +22,7 @@ import java.util.ArrayList; @SuppressWarnings("all") public class InternalApplicationConfigurationParser extends AbstractInternalContentAssistParser { public static final String[] tokenNames = new String[] { - "", "", "", "", "RULE_ID", "RULE_INT", "RULE_STRING", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "'minimize'", "'maximize'", "'<'", "'>'", "'<='", "'>='", "'none'", "'normal'", "'full'", "'SMTSolver'", "'AlloySolver'", "'ViatraSolver'", "'.'", "'-'", "'import'", "'epackage'", "'viatra'", "'reliability'", "'file'", "'='", "'{'", "'}'", "','", "'package'", "'excluding'", "'::'", "'metamodel'", "'folder'", "'models'", "'constraints'", "'cost'", "'at'", "'mtff'", "'objectives'", "'config'", "'log-level'", "'runtime'", "'memory'", "'#'", "'node'", "'int'", "'real'", "'string'", "'..'", "'scope'", "'generate'", "'partial-model'", "'solver'", "'debug'", "'log'", "'statistics'", "'output'", "'+='", "'*'", "'number'", "'runs'" + "", "", "", "", "RULE_ID", "RULE_INT", "RULE_STRING", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "'minimize'", "'maximize'", "'<'", "'>'", "'<='", "'>='", "'none'", "'normal'", "'full'", "'SMTSolver'", "'AlloySolver'", "'ViatraSolver'", "'.'", "'-'", "'import'", "'epackage'", "'viatra'", "'file'", "'='", "'{'", "'}'", "','", "'package'", "'excluding'", "'::'", "'metamodel'", "'folder'", "'models'", "'constraints'", "'cost'", "'objectives'", "'config'", "'log-level'", "'runtime'", "'memory'", "'#'", "'node'", "'int'", "'real'", "'string'", "'..'", "'scope'", "'generate'", "'partial-model'", "'solver'", "'debug'", "'log'", "'statistics'", "'output'", "'+='", "'*'", "'number'", "'runs'" }; public static final int T__50=50; public static final int T__19=19; @@ -52,7 +52,6 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont public static final int RULE_INT=5; public static final int T__29=29; public static final int T__22=22; - public static final int T__66=66; public static final int RULE_ML_COMMENT=7; public static final int T__23=23; public static final int T__24=24; @@ -60,9 +59,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont public static final int T__62=62; public static final int T__63=63; public static final int T__20=20; - public static final int T__64=64; public static final int T__21=21; - public static final int T__65=65; public static final int RULE_STRING=6; public static final int RULE_SL_COMMENT=8; public static final int T__37=37; @@ -740,89 +737,12 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR end "ruleViatraImport" - // $ANTLR start "entryRuleCftImport" - // InternalApplicationConfiguration.g:253:1: entryRuleCftImport : ruleCftImport EOF ; - public final void entryRuleCftImport() throws RecognitionException { - try { - // InternalApplicationConfiguration.g:254:1: ( ruleCftImport EOF ) - // InternalApplicationConfiguration.g:255:1: ruleCftImport EOF - { - before(grammarAccess.getCftImportRule()); - pushFollow(FOLLOW_1); - ruleCftImport(); - - state._fsp--; - - after(grammarAccess.getCftImportRule()); - match(input,EOF,FOLLOW_2); - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRuleCftImport" - - - // $ANTLR start "ruleCftImport" - // InternalApplicationConfiguration.g:262:1: ruleCftImport : ( ( rule__CftImport__Group__0 ) ) ; - public final void ruleCftImport() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:266:2: ( ( ( rule__CftImport__Group__0 ) ) ) - // InternalApplicationConfiguration.g:267:2: ( ( rule__CftImport__Group__0 ) ) - { - // InternalApplicationConfiguration.g:267:2: ( ( rule__CftImport__Group__0 ) ) - // InternalApplicationConfiguration.g:268:3: ( rule__CftImport__Group__0 ) - { - before(grammarAccess.getCftImportAccess().getGroup()); - // InternalApplicationConfiguration.g:269:3: ( rule__CftImport__Group__0 ) - // InternalApplicationConfiguration.g:269:4: rule__CftImport__Group__0 - { - pushFollow(FOLLOW_2); - rule__CftImport__Group__0(); - - state._fsp--; - - - } - - after(grammarAccess.getCftImportAccess().getGroup()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "ruleCftImport" - - // $ANTLR start "entryRuleDeclaration" - // InternalApplicationConfiguration.g:278:1: entryRuleDeclaration : ruleDeclaration EOF ; + // InternalApplicationConfiguration.g:253:1: entryRuleDeclaration : ruleDeclaration EOF ; public final void entryRuleDeclaration() throws RecognitionException { try { - // InternalApplicationConfiguration.g:279:1: ( ruleDeclaration EOF ) - // InternalApplicationConfiguration.g:280:1: ruleDeclaration EOF + // InternalApplicationConfiguration.g:254:1: ( ruleDeclaration EOF ) + // InternalApplicationConfiguration.g:255:1: ruleDeclaration EOF { before(grammarAccess.getDeclarationRule()); pushFollow(FOLLOW_1); @@ -848,21 +768,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "ruleDeclaration" - // InternalApplicationConfiguration.g:287:1: ruleDeclaration : ( ( rule__Declaration__Alternatives ) ) ; + // InternalApplicationConfiguration.g:262:1: ruleDeclaration : ( ( rule__Declaration__Alternatives ) ) ; public final void ruleDeclaration() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:291:2: ( ( ( rule__Declaration__Alternatives ) ) ) - // InternalApplicationConfiguration.g:292:2: ( ( rule__Declaration__Alternatives ) ) + // InternalApplicationConfiguration.g:266:2: ( ( ( rule__Declaration__Alternatives ) ) ) + // InternalApplicationConfiguration.g:267:2: ( ( rule__Declaration__Alternatives ) ) { - // InternalApplicationConfiguration.g:292:2: ( ( rule__Declaration__Alternatives ) ) - // InternalApplicationConfiguration.g:293:3: ( rule__Declaration__Alternatives ) + // InternalApplicationConfiguration.g:267:2: ( ( rule__Declaration__Alternatives ) ) + // InternalApplicationConfiguration.g:268:3: ( rule__Declaration__Alternatives ) { before(grammarAccess.getDeclarationAccess().getAlternatives()); - // InternalApplicationConfiguration.g:294:3: ( rule__Declaration__Alternatives ) - // InternalApplicationConfiguration.g:294:4: rule__Declaration__Alternatives + // InternalApplicationConfiguration.g:269:3: ( rule__Declaration__Alternatives ) + // InternalApplicationConfiguration.g:269:4: rule__Declaration__Alternatives { pushFollow(FOLLOW_2); rule__Declaration__Alternatives(); @@ -895,11 +815,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "entryRuleFileSpecification" - // InternalApplicationConfiguration.g:303:1: entryRuleFileSpecification : ruleFileSpecification EOF ; + // InternalApplicationConfiguration.g:278:1: entryRuleFileSpecification : ruleFileSpecification EOF ; public final void entryRuleFileSpecification() throws RecognitionException { try { - // InternalApplicationConfiguration.g:304:1: ( ruleFileSpecification EOF ) - // InternalApplicationConfiguration.g:305:1: ruleFileSpecification EOF + // InternalApplicationConfiguration.g:279:1: ( ruleFileSpecification EOF ) + // InternalApplicationConfiguration.g:280:1: ruleFileSpecification EOF { before(grammarAccess.getFileSpecificationRule()); pushFollow(FOLLOW_1); @@ -925,21 +845,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "ruleFileSpecification" - // InternalApplicationConfiguration.g:312:1: ruleFileSpecification : ( ( rule__FileSpecification__PathAssignment ) ) ; + // InternalApplicationConfiguration.g:287:1: ruleFileSpecification : ( ( rule__FileSpecification__PathAssignment ) ) ; public final void ruleFileSpecification() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:316:2: ( ( ( rule__FileSpecification__PathAssignment ) ) ) - // InternalApplicationConfiguration.g:317:2: ( ( rule__FileSpecification__PathAssignment ) ) + // InternalApplicationConfiguration.g:291:2: ( ( ( rule__FileSpecification__PathAssignment ) ) ) + // InternalApplicationConfiguration.g:292:2: ( ( rule__FileSpecification__PathAssignment ) ) { - // InternalApplicationConfiguration.g:317:2: ( ( rule__FileSpecification__PathAssignment ) ) - // InternalApplicationConfiguration.g:318:3: ( rule__FileSpecification__PathAssignment ) + // InternalApplicationConfiguration.g:292:2: ( ( rule__FileSpecification__PathAssignment ) ) + // InternalApplicationConfiguration.g:293:3: ( rule__FileSpecification__PathAssignment ) { before(grammarAccess.getFileSpecificationAccess().getPathAssignment()); - // InternalApplicationConfiguration.g:319:3: ( rule__FileSpecification__PathAssignment ) - // InternalApplicationConfiguration.g:319:4: rule__FileSpecification__PathAssignment + // InternalApplicationConfiguration.g:294:3: ( rule__FileSpecification__PathAssignment ) + // InternalApplicationConfiguration.g:294:4: rule__FileSpecification__PathAssignment { pushFollow(FOLLOW_2); rule__FileSpecification__PathAssignment(); @@ -972,11 +892,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "entryRuleFileDeclaration" - // InternalApplicationConfiguration.g:328:1: entryRuleFileDeclaration : ruleFileDeclaration EOF ; + // InternalApplicationConfiguration.g:303:1: entryRuleFileDeclaration : ruleFileDeclaration EOF ; public final void entryRuleFileDeclaration() throws RecognitionException { try { - // InternalApplicationConfiguration.g:329:1: ( ruleFileDeclaration EOF ) - // InternalApplicationConfiguration.g:330:1: ruleFileDeclaration EOF + // InternalApplicationConfiguration.g:304:1: ( ruleFileDeclaration EOF ) + // InternalApplicationConfiguration.g:305:1: ruleFileDeclaration EOF { before(grammarAccess.getFileDeclarationRule()); pushFollow(FOLLOW_1); @@ -1002,21 +922,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "ruleFileDeclaration" - // InternalApplicationConfiguration.g:337:1: ruleFileDeclaration : ( ( rule__FileDeclaration__Group__0 ) ) ; + // InternalApplicationConfiguration.g:312:1: ruleFileDeclaration : ( ( rule__FileDeclaration__Group__0 ) ) ; public final void ruleFileDeclaration() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:341:2: ( ( ( rule__FileDeclaration__Group__0 ) ) ) - // InternalApplicationConfiguration.g:342:2: ( ( rule__FileDeclaration__Group__0 ) ) + // InternalApplicationConfiguration.g:316:2: ( ( ( rule__FileDeclaration__Group__0 ) ) ) + // InternalApplicationConfiguration.g:317:2: ( ( rule__FileDeclaration__Group__0 ) ) { - // InternalApplicationConfiguration.g:342:2: ( ( rule__FileDeclaration__Group__0 ) ) - // InternalApplicationConfiguration.g:343:3: ( rule__FileDeclaration__Group__0 ) + // InternalApplicationConfiguration.g:317:2: ( ( rule__FileDeclaration__Group__0 ) ) + // InternalApplicationConfiguration.g:318:3: ( rule__FileDeclaration__Group__0 ) { before(grammarAccess.getFileDeclarationAccess().getGroup()); - // InternalApplicationConfiguration.g:344:3: ( rule__FileDeclaration__Group__0 ) - // InternalApplicationConfiguration.g:344:4: rule__FileDeclaration__Group__0 + // InternalApplicationConfiguration.g:319:3: ( rule__FileDeclaration__Group__0 ) + // InternalApplicationConfiguration.g:319:4: rule__FileDeclaration__Group__0 { pushFollow(FOLLOW_2); rule__FileDeclaration__Group__0(); @@ -1049,11 +969,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "entryRuleFileReference" - // InternalApplicationConfiguration.g:353:1: entryRuleFileReference : ruleFileReference EOF ; + // InternalApplicationConfiguration.g:328:1: entryRuleFileReference : ruleFileReference EOF ; public final void entryRuleFileReference() throws RecognitionException { try { - // InternalApplicationConfiguration.g:354:1: ( ruleFileReference EOF ) - // InternalApplicationConfiguration.g:355:1: ruleFileReference EOF + // InternalApplicationConfiguration.g:329:1: ( ruleFileReference EOF ) + // InternalApplicationConfiguration.g:330:1: ruleFileReference EOF { before(grammarAccess.getFileReferenceRule()); pushFollow(FOLLOW_1); @@ -1079,21 +999,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "ruleFileReference" - // InternalApplicationConfiguration.g:362:1: ruleFileReference : ( ( rule__FileReference__ReferredAssignment ) ) ; + // InternalApplicationConfiguration.g:337:1: ruleFileReference : ( ( rule__FileReference__ReferredAssignment ) ) ; public final void ruleFileReference() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:366:2: ( ( ( rule__FileReference__ReferredAssignment ) ) ) - // InternalApplicationConfiguration.g:367:2: ( ( rule__FileReference__ReferredAssignment ) ) + // InternalApplicationConfiguration.g:341:2: ( ( ( rule__FileReference__ReferredAssignment ) ) ) + // InternalApplicationConfiguration.g:342:2: ( ( rule__FileReference__ReferredAssignment ) ) { - // InternalApplicationConfiguration.g:367:2: ( ( rule__FileReference__ReferredAssignment ) ) - // InternalApplicationConfiguration.g:368:3: ( rule__FileReference__ReferredAssignment ) + // InternalApplicationConfiguration.g:342:2: ( ( rule__FileReference__ReferredAssignment ) ) + // InternalApplicationConfiguration.g:343:3: ( rule__FileReference__ReferredAssignment ) { before(grammarAccess.getFileReferenceAccess().getReferredAssignment()); - // InternalApplicationConfiguration.g:369:3: ( rule__FileReference__ReferredAssignment ) - // InternalApplicationConfiguration.g:369:4: rule__FileReference__ReferredAssignment + // InternalApplicationConfiguration.g:344:3: ( rule__FileReference__ReferredAssignment ) + // InternalApplicationConfiguration.g:344:4: rule__FileReference__ReferredAssignment { pushFollow(FOLLOW_2); rule__FileReference__ReferredAssignment(); @@ -1126,11 +1046,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "entryRuleFile" - // InternalApplicationConfiguration.g:378:1: entryRuleFile : ruleFile EOF ; + // InternalApplicationConfiguration.g:353:1: entryRuleFile : ruleFile EOF ; public final void entryRuleFile() throws RecognitionException { try { - // InternalApplicationConfiguration.g:379:1: ( ruleFile EOF ) - // InternalApplicationConfiguration.g:380:1: ruleFile EOF + // InternalApplicationConfiguration.g:354:1: ( ruleFile EOF ) + // InternalApplicationConfiguration.g:355:1: ruleFile EOF { before(grammarAccess.getFileRule()); pushFollow(FOLLOW_1); @@ -1156,21 +1076,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "ruleFile" - // InternalApplicationConfiguration.g:387:1: ruleFile : ( ( rule__File__Alternatives ) ) ; + // InternalApplicationConfiguration.g:362:1: ruleFile : ( ( rule__File__Alternatives ) ) ; public final void ruleFile() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:391:2: ( ( ( rule__File__Alternatives ) ) ) - // InternalApplicationConfiguration.g:392:2: ( ( rule__File__Alternatives ) ) + // InternalApplicationConfiguration.g:366:2: ( ( ( rule__File__Alternatives ) ) ) + // InternalApplicationConfiguration.g:367:2: ( ( rule__File__Alternatives ) ) { - // InternalApplicationConfiguration.g:392:2: ( ( rule__File__Alternatives ) ) - // InternalApplicationConfiguration.g:393:3: ( rule__File__Alternatives ) + // InternalApplicationConfiguration.g:367:2: ( ( rule__File__Alternatives ) ) + // InternalApplicationConfiguration.g:368:3: ( rule__File__Alternatives ) { before(grammarAccess.getFileAccess().getAlternatives()); - // InternalApplicationConfiguration.g:394:3: ( rule__File__Alternatives ) - // InternalApplicationConfiguration.g:394:4: rule__File__Alternatives + // InternalApplicationConfiguration.g:369:3: ( rule__File__Alternatives ) + // InternalApplicationConfiguration.g:369:4: rule__File__Alternatives { pushFollow(FOLLOW_2); rule__File__Alternatives(); @@ -1203,11 +1123,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "entryRuleMetamodelSpecification" - // InternalApplicationConfiguration.g:403:1: entryRuleMetamodelSpecification : ruleMetamodelSpecification EOF ; + // InternalApplicationConfiguration.g:378:1: entryRuleMetamodelSpecification : ruleMetamodelSpecification EOF ; public final void entryRuleMetamodelSpecification() throws RecognitionException { try { - // InternalApplicationConfiguration.g:404:1: ( ruleMetamodelSpecification EOF ) - // InternalApplicationConfiguration.g:405:1: ruleMetamodelSpecification EOF + // InternalApplicationConfiguration.g:379:1: ( ruleMetamodelSpecification EOF ) + // InternalApplicationConfiguration.g:380:1: ruleMetamodelSpecification EOF { before(grammarAccess.getMetamodelSpecificationRule()); pushFollow(FOLLOW_1); @@ -1233,21 +1153,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "ruleMetamodelSpecification" - // InternalApplicationConfiguration.g:412:1: ruleMetamodelSpecification : ( ( rule__MetamodelSpecification__Group__0 ) ) ; + // InternalApplicationConfiguration.g:387:1: ruleMetamodelSpecification : ( ( rule__MetamodelSpecification__Group__0 ) ) ; public final void ruleMetamodelSpecification() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:416:2: ( ( ( rule__MetamodelSpecification__Group__0 ) ) ) - // InternalApplicationConfiguration.g:417:2: ( ( rule__MetamodelSpecification__Group__0 ) ) + // InternalApplicationConfiguration.g:391:2: ( ( ( rule__MetamodelSpecification__Group__0 ) ) ) + // InternalApplicationConfiguration.g:392:2: ( ( rule__MetamodelSpecification__Group__0 ) ) { - // InternalApplicationConfiguration.g:417:2: ( ( rule__MetamodelSpecification__Group__0 ) ) - // InternalApplicationConfiguration.g:418:3: ( rule__MetamodelSpecification__Group__0 ) + // InternalApplicationConfiguration.g:392:2: ( ( rule__MetamodelSpecification__Group__0 ) ) + // InternalApplicationConfiguration.g:393:3: ( rule__MetamodelSpecification__Group__0 ) { before(grammarAccess.getMetamodelSpecificationAccess().getGroup()); - // InternalApplicationConfiguration.g:419:3: ( rule__MetamodelSpecification__Group__0 ) - // InternalApplicationConfiguration.g:419:4: rule__MetamodelSpecification__Group__0 + // InternalApplicationConfiguration.g:394:3: ( rule__MetamodelSpecification__Group__0 ) + // InternalApplicationConfiguration.g:394:4: rule__MetamodelSpecification__Group__0 { pushFollow(FOLLOW_2); rule__MetamodelSpecification__Group__0(); @@ -1280,11 +1200,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "entryRuleMetamodelEntry" - // InternalApplicationConfiguration.g:428:1: entryRuleMetamodelEntry : ruleMetamodelEntry EOF ; + // InternalApplicationConfiguration.g:403:1: entryRuleMetamodelEntry : ruleMetamodelEntry EOF ; public final void entryRuleMetamodelEntry() throws RecognitionException { try { - // InternalApplicationConfiguration.g:429:1: ( ruleMetamodelEntry EOF ) - // InternalApplicationConfiguration.g:430:1: ruleMetamodelEntry EOF + // InternalApplicationConfiguration.g:404:1: ( ruleMetamodelEntry EOF ) + // InternalApplicationConfiguration.g:405:1: ruleMetamodelEntry EOF { before(grammarAccess.getMetamodelEntryRule()); pushFollow(FOLLOW_1); @@ -1310,21 +1230,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "ruleMetamodelEntry" - // InternalApplicationConfiguration.g:437:1: ruleMetamodelEntry : ( ( rule__MetamodelEntry__Alternatives ) ) ; + // InternalApplicationConfiguration.g:412:1: ruleMetamodelEntry : ( ( rule__MetamodelEntry__Alternatives ) ) ; public final void ruleMetamodelEntry() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:441:2: ( ( ( rule__MetamodelEntry__Alternatives ) ) ) - // InternalApplicationConfiguration.g:442:2: ( ( rule__MetamodelEntry__Alternatives ) ) + // InternalApplicationConfiguration.g:416:2: ( ( ( rule__MetamodelEntry__Alternatives ) ) ) + // InternalApplicationConfiguration.g:417:2: ( ( rule__MetamodelEntry__Alternatives ) ) { - // InternalApplicationConfiguration.g:442:2: ( ( rule__MetamodelEntry__Alternatives ) ) - // InternalApplicationConfiguration.g:443:3: ( rule__MetamodelEntry__Alternatives ) + // InternalApplicationConfiguration.g:417:2: ( ( rule__MetamodelEntry__Alternatives ) ) + // InternalApplicationConfiguration.g:418:3: ( rule__MetamodelEntry__Alternatives ) { before(grammarAccess.getMetamodelEntryAccess().getAlternatives()); - // InternalApplicationConfiguration.g:444:3: ( rule__MetamodelEntry__Alternatives ) - // InternalApplicationConfiguration.g:444:4: rule__MetamodelEntry__Alternatives + // InternalApplicationConfiguration.g:419:3: ( rule__MetamodelEntry__Alternatives ) + // InternalApplicationConfiguration.g:419:4: rule__MetamodelEntry__Alternatives { pushFollow(FOLLOW_2); rule__MetamodelEntry__Alternatives(); @@ -1357,11 +1277,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "entryRuleAllPackageEntry" - // InternalApplicationConfiguration.g:453:1: entryRuleAllPackageEntry : ruleAllPackageEntry EOF ; + // InternalApplicationConfiguration.g:428:1: entryRuleAllPackageEntry : ruleAllPackageEntry EOF ; public final void entryRuleAllPackageEntry() throws RecognitionException { try { - // InternalApplicationConfiguration.g:454:1: ( ruleAllPackageEntry EOF ) - // InternalApplicationConfiguration.g:455:1: ruleAllPackageEntry EOF + // InternalApplicationConfiguration.g:429:1: ( ruleAllPackageEntry EOF ) + // InternalApplicationConfiguration.g:430:1: ruleAllPackageEntry EOF { before(grammarAccess.getAllPackageEntryRule()); pushFollow(FOLLOW_1); @@ -1387,21 +1307,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "ruleAllPackageEntry" - // InternalApplicationConfiguration.g:462:1: ruleAllPackageEntry : ( ( rule__AllPackageEntry__Group__0 ) ) ; + // InternalApplicationConfiguration.g:437:1: ruleAllPackageEntry : ( ( rule__AllPackageEntry__Group__0 ) ) ; public final void ruleAllPackageEntry() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:466:2: ( ( ( rule__AllPackageEntry__Group__0 ) ) ) - // InternalApplicationConfiguration.g:467:2: ( ( rule__AllPackageEntry__Group__0 ) ) + // InternalApplicationConfiguration.g:441:2: ( ( ( rule__AllPackageEntry__Group__0 ) ) ) + // InternalApplicationConfiguration.g:442:2: ( ( rule__AllPackageEntry__Group__0 ) ) { - // InternalApplicationConfiguration.g:467:2: ( ( rule__AllPackageEntry__Group__0 ) ) - // InternalApplicationConfiguration.g:468:3: ( rule__AllPackageEntry__Group__0 ) + // InternalApplicationConfiguration.g:442:2: ( ( rule__AllPackageEntry__Group__0 ) ) + // InternalApplicationConfiguration.g:443:3: ( rule__AllPackageEntry__Group__0 ) { before(grammarAccess.getAllPackageEntryAccess().getGroup()); - // InternalApplicationConfiguration.g:469:3: ( rule__AllPackageEntry__Group__0 ) - // InternalApplicationConfiguration.g:469:4: rule__AllPackageEntry__Group__0 + // InternalApplicationConfiguration.g:444:3: ( rule__AllPackageEntry__Group__0 ) + // InternalApplicationConfiguration.g:444:4: rule__AllPackageEntry__Group__0 { pushFollow(FOLLOW_2); rule__AllPackageEntry__Group__0(); @@ -1434,11 +1354,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "entryRuleMetamodelElement" - // InternalApplicationConfiguration.g:478:1: entryRuleMetamodelElement : ruleMetamodelElement EOF ; + // InternalApplicationConfiguration.g:453:1: entryRuleMetamodelElement : ruleMetamodelElement EOF ; public final void entryRuleMetamodelElement() throws RecognitionException { try { - // InternalApplicationConfiguration.g:479:1: ( ruleMetamodelElement EOF ) - // InternalApplicationConfiguration.g:480:1: ruleMetamodelElement EOF + // InternalApplicationConfiguration.g:454:1: ( ruleMetamodelElement EOF ) + // InternalApplicationConfiguration.g:455:1: ruleMetamodelElement EOF { before(grammarAccess.getMetamodelElementRule()); pushFollow(FOLLOW_1); @@ -1464,21 +1384,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "ruleMetamodelElement" - // InternalApplicationConfiguration.g:487:1: ruleMetamodelElement : ( ( rule__MetamodelElement__Group__0 ) ) ; + // InternalApplicationConfiguration.g:462:1: ruleMetamodelElement : ( ( rule__MetamodelElement__Group__0 ) ) ; public final void ruleMetamodelElement() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:491:2: ( ( ( rule__MetamodelElement__Group__0 ) ) ) - // InternalApplicationConfiguration.g:492:2: ( ( rule__MetamodelElement__Group__0 ) ) + // InternalApplicationConfiguration.g:466:2: ( ( ( rule__MetamodelElement__Group__0 ) ) ) + // InternalApplicationConfiguration.g:467:2: ( ( rule__MetamodelElement__Group__0 ) ) { - // InternalApplicationConfiguration.g:492:2: ( ( rule__MetamodelElement__Group__0 ) ) - // InternalApplicationConfiguration.g:493:3: ( rule__MetamodelElement__Group__0 ) + // InternalApplicationConfiguration.g:467:2: ( ( rule__MetamodelElement__Group__0 ) ) + // InternalApplicationConfiguration.g:468:3: ( rule__MetamodelElement__Group__0 ) { before(grammarAccess.getMetamodelElementAccess().getGroup()); - // InternalApplicationConfiguration.g:494:3: ( rule__MetamodelElement__Group__0 ) - // InternalApplicationConfiguration.g:494:4: rule__MetamodelElement__Group__0 + // InternalApplicationConfiguration.g:469:3: ( rule__MetamodelElement__Group__0 ) + // InternalApplicationConfiguration.g:469:4: rule__MetamodelElement__Group__0 { pushFollow(FOLLOW_2); rule__MetamodelElement__Group__0(); @@ -1511,11 +1431,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "entryRuleMetamodelDeclaration" - // InternalApplicationConfiguration.g:503:1: entryRuleMetamodelDeclaration : ruleMetamodelDeclaration EOF ; + // InternalApplicationConfiguration.g:478:1: entryRuleMetamodelDeclaration : ruleMetamodelDeclaration EOF ; public final void entryRuleMetamodelDeclaration() throws RecognitionException { try { - // InternalApplicationConfiguration.g:504:1: ( ruleMetamodelDeclaration EOF ) - // InternalApplicationConfiguration.g:505:1: ruleMetamodelDeclaration EOF + // InternalApplicationConfiguration.g:479:1: ( ruleMetamodelDeclaration EOF ) + // InternalApplicationConfiguration.g:480:1: ruleMetamodelDeclaration EOF { before(grammarAccess.getMetamodelDeclarationRule()); pushFollow(FOLLOW_1); @@ -1541,21 +1461,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "ruleMetamodelDeclaration" - // InternalApplicationConfiguration.g:512:1: ruleMetamodelDeclaration : ( ( rule__MetamodelDeclaration__Group__0 ) ) ; + // InternalApplicationConfiguration.g:487:1: ruleMetamodelDeclaration : ( ( rule__MetamodelDeclaration__Group__0 ) ) ; public final void ruleMetamodelDeclaration() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:516:2: ( ( ( rule__MetamodelDeclaration__Group__0 ) ) ) - // InternalApplicationConfiguration.g:517:2: ( ( rule__MetamodelDeclaration__Group__0 ) ) + // InternalApplicationConfiguration.g:491:2: ( ( ( rule__MetamodelDeclaration__Group__0 ) ) ) + // InternalApplicationConfiguration.g:492:2: ( ( rule__MetamodelDeclaration__Group__0 ) ) { - // InternalApplicationConfiguration.g:517:2: ( ( rule__MetamodelDeclaration__Group__0 ) ) - // InternalApplicationConfiguration.g:518:3: ( rule__MetamodelDeclaration__Group__0 ) + // InternalApplicationConfiguration.g:492:2: ( ( rule__MetamodelDeclaration__Group__0 ) ) + // InternalApplicationConfiguration.g:493:3: ( rule__MetamodelDeclaration__Group__0 ) { before(grammarAccess.getMetamodelDeclarationAccess().getGroup()); - // InternalApplicationConfiguration.g:519:3: ( rule__MetamodelDeclaration__Group__0 ) - // InternalApplicationConfiguration.g:519:4: rule__MetamodelDeclaration__Group__0 + // InternalApplicationConfiguration.g:494:3: ( rule__MetamodelDeclaration__Group__0 ) + // InternalApplicationConfiguration.g:494:4: rule__MetamodelDeclaration__Group__0 { pushFollow(FOLLOW_2); rule__MetamodelDeclaration__Group__0(); @@ -1588,11 +1508,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "entryRuleMetamodelReference" - // InternalApplicationConfiguration.g:528:1: entryRuleMetamodelReference : ruleMetamodelReference EOF ; + // InternalApplicationConfiguration.g:503:1: entryRuleMetamodelReference : ruleMetamodelReference EOF ; public final void entryRuleMetamodelReference() throws RecognitionException { try { - // InternalApplicationConfiguration.g:529:1: ( ruleMetamodelReference EOF ) - // InternalApplicationConfiguration.g:530:1: ruleMetamodelReference EOF + // InternalApplicationConfiguration.g:504:1: ( ruleMetamodelReference EOF ) + // InternalApplicationConfiguration.g:505:1: ruleMetamodelReference EOF { before(grammarAccess.getMetamodelReferenceRule()); pushFollow(FOLLOW_1); @@ -1618,21 +1538,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "ruleMetamodelReference" - // InternalApplicationConfiguration.g:537:1: ruleMetamodelReference : ( ( rule__MetamodelReference__ReferredAssignment ) ) ; + // InternalApplicationConfiguration.g:512:1: ruleMetamodelReference : ( ( rule__MetamodelReference__ReferredAssignment ) ) ; public final void ruleMetamodelReference() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:541:2: ( ( ( rule__MetamodelReference__ReferredAssignment ) ) ) - // InternalApplicationConfiguration.g:542:2: ( ( rule__MetamodelReference__ReferredAssignment ) ) + // InternalApplicationConfiguration.g:516:2: ( ( ( rule__MetamodelReference__ReferredAssignment ) ) ) + // InternalApplicationConfiguration.g:517:2: ( ( rule__MetamodelReference__ReferredAssignment ) ) { - // InternalApplicationConfiguration.g:542:2: ( ( rule__MetamodelReference__ReferredAssignment ) ) - // InternalApplicationConfiguration.g:543:3: ( rule__MetamodelReference__ReferredAssignment ) + // InternalApplicationConfiguration.g:517:2: ( ( rule__MetamodelReference__ReferredAssignment ) ) + // InternalApplicationConfiguration.g:518:3: ( rule__MetamodelReference__ReferredAssignment ) { before(grammarAccess.getMetamodelReferenceAccess().getReferredAssignment()); - // InternalApplicationConfiguration.g:544:3: ( rule__MetamodelReference__ReferredAssignment ) - // InternalApplicationConfiguration.g:544:4: rule__MetamodelReference__ReferredAssignment + // InternalApplicationConfiguration.g:519:3: ( rule__MetamodelReference__ReferredAssignment ) + // InternalApplicationConfiguration.g:519:4: rule__MetamodelReference__ReferredAssignment { pushFollow(FOLLOW_2); rule__MetamodelReference__ReferredAssignment(); @@ -1665,11 +1585,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "entryRuleMetamodel" - // InternalApplicationConfiguration.g:553:1: entryRuleMetamodel : ruleMetamodel EOF ; + // InternalApplicationConfiguration.g:528:1: entryRuleMetamodel : ruleMetamodel EOF ; public final void entryRuleMetamodel() throws RecognitionException { try { - // InternalApplicationConfiguration.g:554:1: ( ruleMetamodel EOF ) - // InternalApplicationConfiguration.g:555:1: ruleMetamodel EOF + // InternalApplicationConfiguration.g:529:1: ( ruleMetamodel EOF ) + // InternalApplicationConfiguration.g:530:1: ruleMetamodel EOF { before(grammarAccess.getMetamodelRule()); pushFollow(FOLLOW_1); @@ -1695,21 +1615,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "ruleMetamodel" - // InternalApplicationConfiguration.g:562:1: ruleMetamodel : ( ( rule__Metamodel__Alternatives ) ) ; + // InternalApplicationConfiguration.g:537:1: ruleMetamodel : ( ( rule__Metamodel__Alternatives ) ) ; public final void ruleMetamodel() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:566:2: ( ( ( rule__Metamodel__Alternatives ) ) ) - // InternalApplicationConfiguration.g:567:2: ( ( rule__Metamodel__Alternatives ) ) + // InternalApplicationConfiguration.g:541:2: ( ( ( rule__Metamodel__Alternatives ) ) ) + // InternalApplicationConfiguration.g:542:2: ( ( rule__Metamodel__Alternatives ) ) { - // InternalApplicationConfiguration.g:567:2: ( ( rule__Metamodel__Alternatives ) ) - // InternalApplicationConfiguration.g:568:3: ( rule__Metamodel__Alternatives ) + // InternalApplicationConfiguration.g:542:2: ( ( rule__Metamodel__Alternatives ) ) + // InternalApplicationConfiguration.g:543:3: ( rule__Metamodel__Alternatives ) { before(grammarAccess.getMetamodelAccess().getAlternatives()); - // InternalApplicationConfiguration.g:569:3: ( rule__Metamodel__Alternatives ) - // InternalApplicationConfiguration.g:569:4: rule__Metamodel__Alternatives + // InternalApplicationConfiguration.g:544:3: ( rule__Metamodel__Alternatives ) + // InternalApplicationConfiguration.g:544:4: rule__Metamodel__Alternatives { pushFollow(FOLLOW_2); rule__Metamodel__Alternatives(); @@ -1742,11 +1662,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "entryRulePartialModelSpecification" - // InternalApplicationConfiguration.g:578:1: entryRulePartialModelSpecification : rulePartialModelSpecification EOF ; + // InternalApplicationConfiguration.g:553:1: entryRulePartialModelSpecification : rulePartialModelSpecification EOF ; public final void entryRulePartialModelSpecification() throws RecognitionException { try { - // InternalApplicationConfiguration.g:579:1: ( rulePartialModelSpecification EOF ) - // InternalApplicationConfiguration.g:580:1: rulePartialModelSpecification EOF + // InternalApplicationConfiguration.g:554:1: ( rulePartialModelSpecification EOF ) + // InternalApplicationConfiguration.g:555:1: rulePartialModelSpecification EOF { before(grammarAccess.getPartialModelSpecificationRule()); pushFollow(FOLLOW_1); @@ -1772,21 +1692,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rulePartialModelSpecification" - // InternalApplicationConfiguration.g:587:1: rulePartialModelSpecification : ( ( rule__PartialModelSpecification__Group__0 ) ) ; + // InternalApplicationConfiguration.g:562:1: rulePartialModelSpecification : ( ( rule__PartialModelSpecification__Group__0 ) ) ; public final void rulePartialModelSpecification() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:591:2: ( ( ( rule__PartialModelSpecification__Group__0 ) ) ) - // InternalApplicationConfiguration.g:592:2: ( ( rule__PartialModelSpecification__Group__0 ) ) + // InternalApplicationConfiguration.g:566:2: ( ( ( rule__PartialModelSpecification__Group__0 ) ) ) + // InternalApplicationConfiguration.g:567:2: ( ( rule__PartialModelSpecification__Group__0 ) ) { - // InternalApplicationConfiguration.g:592:2: ( ( rule__PartialModelSpecification__Group__0 ) ) - // InternalApplicationConfiguration.g:593:3: ( rule__PartialModelSpecification__Group__0 ) + // InternalApplicationConfiguration.g:567:2: ( ( rule__PartialModelSpecification__Group__0 ) ) + // InternalApplicationConfiguration.g:568:3: ( rule__PartialModelSpecification__Group__0 ) { before(grammarAccess.getPartialModelSpecificationAccess().getGroup()); - // InternalApplicationConfiguration.g:594:3: ( rule__PartialModelSpecification__Group__0 ) - // InternalApplicationConfiguration.g:594:4: rule__PartialModelSpecification__Group__0 + // InternalApplicationConfiguration.g:569:3: ( rule__PartialModelSpecification__Group__0 ) + // InternalApplicationConfiguration.g:569:4: rule__PartialModelSpecification__Group__0 { pushFollow(FOLLOW_2); rule__PartialModelSpecification__Group__0(); @@ -1819,11 +1739,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "entryRulePartialModelEntry" - // InternalApplicationConfiguration.g:603:1: entryRulePartialModelEntry : rulePartialModelEntry EOF ; + // InternalApplicationConfiguration.g:578:1: entryRulePartialModelEntry : rulePartialModelEntry EOF ; public final void entryRulePartialModelEntry() throws RecognitionException { try { - // InternalApplicationConfiguration.g:604:1: ( rulePartialModelEntry EOF ) - // InternalApplicationConfiguration.g:605:1: rulePartialModelEntry EOF + // InternalApplicationConfiguration.g:579:1: ( rulePartialModelEntry EOF ) + // InternalApplicationConfiguration.g:580:1: rulePartialModelEntry EOF { before(grammarAccess.getPartialModelEntryRule()); pushFollow(FOLLOW_1); @@ -1849,21 +1769,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rulePartialModelEntry" - // InternalApplicationConfiguration.g:612:1: rulePartialModelEntry : ( ( rule__PartialModelEntry__Alternatives ) ) ; + // InternalApplicationConfiguration.g:587:1: rulePartialModelEntry : ( ( rule__PartialModelEntry__Alternatives ) ) ; public final void rulePartialModelEntry() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:616:2: ( ( ( rule__PartialModelEntry__Alternatives ) ) ) - // InternalApplicationConfiguration.g:617:2: ( ( rule__PartialModelEntry__Alternatives ) ) + // InternalApplicationConfiguration.g:591:2: ( ( ( rule__PartialModelEntry__Alternatives ) ) ) + // InternalApplicationConfiguration.g:592:2: ( ( rule__PartialModelEntry__Alternatives ) ) { - // InternalApplicationConfiguration.g:617:2: ( ( rule__PartialModelEntry__Alternatives ) ) - // InternalApplicationConfiguration.g:618:3: ( rule__PartialModelEntry__Alternatives ) + // InternalApplicationConfiguration.g:592:2: ( ( rule__PartialModelEntry__Alternatives ) ) + // InternalApplicationConfiguration.g:593:3: ( rule__PartialModelEntry__Alternatives ) { before(grammarAccess.getPartialModelEntryAccess().getAlternatives()); - // InternalApplicationConfiguration.g:619:3: ( rule__PartialModelEntry__Alternatives ) - // InternalApplicationConfiguration.g:619:4: rule__PartialModelEntry__Alternatives + // InternalApplicationConfiguration.g:594:3: ( rule__PartialModelEntry__Alternatives ) + // InternalApplicationConfiguration.g:594:4: rule__PartialModelEntry__Alternatives { pushFollow(FOLLOW_2); rule__PartialModelEntry__Alternatives(); @@ -1896,11 +1816,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "entryRuleModelEntry" - // InternalApplicationConfiguration.g:628:1: entryRuleModelEntry : ruleModelEntry EOF ; + // InternalApplicationConfiguration.g:603:1: entryRuleModelEntry : ruleModelEntry EOF ; public final void entryRuleModelEntry() throws RecognitionException { try { - // InternalApplicationConfiguration.g:629:1: ( ruleModelEntry EOF ) - // InternalApplicationConfiguration.g:630:1: ruleModelEntry EOF + // InternalApplicationConfiguration.g:604:1: ( ruleModelEntry EOF ) + // InternalApplicationConfiguration.g:605:1: ruleModelEntry EOF { before(grammarAccess.getModelEntryRule()); pushFollow(FOLLOW_1); @@ -1926,21 +1846,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "ruleModelEntry" - // InternalApplicationConfiguration.g:637:1: ruleModelEntry : ( ( rule__ModelEntry__PathAssignment ) ) ; + // InternalApplicationConfiguration.g:612:1: ruleModelEntry : ( ( rule__ModelEntry__PathAssignment ) ) ; public final void ruleModelEntry() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:641:2: ( ( ( rule__ModelEntry__PathAssignment ) ) ) - // InternalApplicationConfiguration.g:642:2: ( ( rule__ModelEntry__PathAssignment ) ) + // InternalApplicationConfiguration.g:616:2: ( ( ( rule__ModelEntry__PathAssignment ) ) ) + // InternalApplicationConfiguration.g:617:2: ( ( rule__ModelEntry__PathAssignment ) ) { - // InternalApplicationConfiguration.g:642:2: ( ( rule__ModelEntry__PathAssignment ) ) - // InternalApplicationConfiguration.g:643:3: ( rule__ModelEntry__PathAssignment ) + // InternalApplicationConfiguration.g:617:2: ( ( rule__ModelEntry__PathAssignment ) ) + // InternalApplicationConfiguration.g:618:3: ( rule__ModelEntry__PathAssignment ) { before(grammarAccess.getModelEntryAccess().getPathAssignment()); - // InternalApplicationConfiguration.g:644:3: ( rule__ModelEntry__PathAssignment ) - // InternalApplicationConfiguration.g:644:4: rule__ModelEntry__PathAssignment + // InternalApplicationConfiguration.g:619:3: ( rule__ModelEntry__PathAssignment ) + // InternalApplicationConfiguration.g:619:4: rule__ModelEntry__PathAssignment { pushFollow(FOLLOW_2); rule__ModelEntry__PathAssignment(); @@ -1973,11 +1893,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "entryRuleFolderEntry" - // InternalApplicationConfiguration.g:653:1: entryRuleFolderEntry : ruleFolderEntry EOF ; + // InternalApplicationConfiguration.g:628:1: entryRuleFolderEntry : ruleFolderEntry EOF ; public final void entryRuleFolderEntry() throws RecognitionException { try { - // InternalApplicationConfiguration.g:654:1: ( ruleFolderEntry EOF ) - // InternalApplicationConfiguration.g:655:1: ruleFolderEntry EOF + // InternalApplicationConfiguration.g:629:1: ( ruleFolderEntry EOF ) + // InternalApplicationConfiguration.g:630:1: ruleFolderEntry EOF { before(grammarAccess.getFolderEntryRule()); pushFollow(FOLLOW_1); @@ -2003,21 +1923,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "ruleFolderEntry" - // InternalApplicationConfiguration.g:662:1: ruleFolderEntry : ( ( rule__FolderEntry__Group__0 ) ) ; + // InternalApplicationConfiguration.g:637:1: ruleFolderEntry : ( ( rule__FolderEntry__Group__0 ) ) ; public final void ruleFolderEntry() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:666:2: ( ( ( rule__FolderEntry__Group__0 ) ) ) - // InternalApplicationConfiguration.g:667:2: ( ( rule__FolderEntry__Group__0 ) ) + // InternalApplicationConfiguration.g:641:2: ( ( ( rule__FolderEntry__Group__0 ) ) ) + // InternalApplicationConfiguration.g:642:2: ( ( rule__FolderEntry__Group__0 ) ) { - // InternalApplicationConfiguration.g:667:2: ( ( rule__FolderEntry__Group__0 ) ) - // InternalApplicationConfiguration.g:668:3: ( rule__FolderEntry__Group__0 ) + // InternalApplicationConfiguration.g:642:2: ( ( rule__FolderEntry__Group__0 ) ) + // InternalApplicationConfiguration.g:643:3: ( rule__FolderEntry__Group__0 ) { before(grammarAccess.getFolderEntryAccess().getGroup()); - // InternalApplicationConfiguration.g:669:3: ( rule__FolderEntry__Group__0 ) - // InternalApplicationConfiguration.g:669:4: rule__FolderEntry__Group__0 + // InternalApplicationConfiguration.g:644:3: ( rule__FolderEntry__Group__0 ) + // InternalApplicationConfiguration.g:644:4: rule__FolderEntry__Group__0 { pushFollow(FOLLOW_2); rule__FolderEntry__Group__0(); @@ -2050,11 +1970,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "entryRulePartialModelDeclaration" - // InternalApplicationConfiguration.g:678:1: entryRulePartialModelDeclaration : rulePartialModelDeclaration EOF ; + // InternalApplicationConfiguration.g:653:1: entryRulePartialModelDeclaration : rulePartialModelDeclaration EOF ; public final void entryRulePartialModelDeclaration() throws RecognitionException { try { - // InternalApplicationConfiguration.g:679:1: ( rulePartialModelDeclaration EOF ) - // InternalApplicationConfiguration.g:680:1: rulePartialModelDeclaration EOF + // InternalApplicationConfiguration.g:654:1: ( rulePartialModelDeclaration EOF ) + // InternalApplicationConfiguration.g:655:1: rulePartialModelDeclaration EOF { before(grammarAccess.getPartialModelDeclarationRule()); pushFollow(FOLLOW_1); @@ -2080,21 +2000,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rulePartialModelDeclaration" - // InternalApplicationConfiguration.g:687:1: rulePartialModelDeclaration : ( ( rule__PartialModelDeclaration__Group__0 ) ) ; + // InternalApplicationConfiguration.g:662:1: rulePartialModelDeclaration : ( ( rule__PartialModelDeclaration__Group__0 ) ) ; public final void rulePartialModelDeclaration() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:691:2: ( ( ( rule__PartialModelDeclaration__Group__0 ) ) ) - // InternalApplicationConfiguration.g:692:2: ( ( rule__PartialModelDeclaration__Group__0 ) ) + // InternalApplicationConfiguration.g:666:2: ( ( ( rule__PartialModelDeclaration__Group__0 ) ) ) + // InternalApplicationConfiguration.g:667:2: ( ( rule__PartialModelDeclaration__Group__0 ) ) { - // InternalApplicationConfiguration.g:692:2: ( ( rule__PartialModelDeclaration__Group__0 ) ) - // InternalApplicationConfiguration.g:693:3: ( rule__PartialModelDeclaration__Group__0 ) + // InternalApplicationConfiguration.g:667:2: ( ( rule__PartialModelDeclaration__Group__0 ) ) + // InternalApplicationConfiguration.g:668:3: ( rule__PartialModelDeclaration__Group__0 ) { before(grammarAccess.getPartialModelDeclarationAccess().getGroup()); - // InternalApplicationConfiguration.g:694:3: ( rule__PartialModelDeclaration__Group__0 ) - // InternalApplicationConfiguration.g:694:4: rule__PartialModelDeclaration__Group__0 + // InternalApplicationConfiguration.g:669:3: ( rule__PartialModelDeclaration__Group__0 ) + // InternalApplicationConfiguration.g:669:4: rule__PartialModelDeclaration__Group__0 { pushFollow(FOLLOW_2); rule__PartialModelDeclaration__Group__0(); @@ -2127,11 +2047,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "entryRulePartialModelReference" - // InternalApplicationConfiguration.g:703:1: entryRulePartialModelReference : rulePartialModelReference EOF ; + // InternalApplicationConfiguration.g:678:1: entryRulePartialModelReference : rulePartialModelReference EOF ; public final void entryRulePartialModelReference() throws RecognitionException { try { - // InternalApplicationConfiguration.g:704:1: ( rulePartialModelReference EOF ) - // InternalApplicationConfiguration.g:705:1: rulePartialModelReference EOF + // InternalApplicationConfiguration.g:679:1: ( rulePartialModelReference EOF ) + // InternalApplicationConfiguration.g:680:1: rulePartialModelReference EOF { before(grammarAccess.getPartialModelReferenceRule()); pushFollow(FOLLOW_1); @@ -2157,21 +2077,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rulePartialModelReference" - // InternalApplicationConfiguration.g:712:1: rulePartialModelReference : ( ( rule__PartialModelReference__ReferredAssignment ) ) ; + // InternalApplicationConfiguration.g:687:1: rulePartialModelReference : ( ( rule__PartialModelReference__ReferredAssignment ) ) ; public final void rulePartialModelReference() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:716:2: ( ( ( rule__PartialModelReference__ReferredAssignment ) ) ) - // InternalApplicationConfiguration.g:717:2: ( ( rule__PartialModelReference__ReferredAssignment ) ) + // InternalApplicationConfiguration.g:691:2: ( ( ( rule__PartialModelReference__ReferredAssignment ) ) ) + // InternalApplicationConfiguration.g:692:2: ( ( rule__PartialModelReference__ReferredAssignment ) ) { - // InternalApplicationConfiguration.g:717:2: ( ( rule__PartialModelReference__ReferredAssignment ) ) - // InternalApplicationConfiguration.g:718:3: ( rule__PartialModelReference__ReferredAssignment ) + // InternalApplicationConfiguration.g:692:2: ( ( rule__PartialModelReference__ReferredAssignment ) ) + // InternalApplicationConfiguration.g:693:3: ( rule__PartialModelReference__ReferredAssignment ) { before(grammarAccess.getPartialModelReferenceAccess().getReferredAssignment()); - // InternalApplicationConfiguration.g:719:3: ( rule__PartialModelReference__ReferredAssignment ) - // InternalApplicationConfiguration.g:719:4: rule__PartialModelReference__ReferredAssignment + // InternalApplicationConfiguration.g:694:3: ( rule__PartialModelReference__ReferredAssignment ) + // InternalApplicationConfiguration.g:694:4: rule__PartialModelReference__ReferredAssignment { pushFollow(FOLLOW_2); rule__PartialModelReference__ReferredAssignment(); @@ -2204,11 +2124,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "entryRulePartialModel" - // InternalApplicationConfiguration.g:728:1: entryRulePartialModel : rulePartialModel EOF ; + // InternalApplicationConfiguration.g:703:1: entryRulePartialModel : rulePartialModel EOF ; public final void entryRulePartialModel() throws RecognitionException { try { - // InternalApplicationConfiguration.g:729:1: ( rulePartialModel EOF ) - // InternalApplicationConfiguration.g:730:1: rulePartialModel EOF + // InternalApplicationConfiguration.g:704:1: ( rulePartialModel EOF ) + // InternalApplicationConfiguration.g:705:1: rulePartialModel EOF { before(grammarAccess.getPartialModelRule()); pushFollow(FOLLOW_1); @@ -2234,21 +2154,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rulePartialModel" - // InternalApplicationConfiguration.g:737:1: rulePartialModel : ( ( rule__PartialModel__Alternatives ) ) ; + // InternalApplicationConfiguration.g:712:1: rulePartialModel : ( ( rule__PartialModel__Alternatives ) ) ; public final void rulePartialModel() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:741:2: ( ( ( rule__PartialModel__Alternatives ) ) ) - // InternalApplicationConfiguration.g:742:2: ( ( rule__PartialModel__Alternatives ) ) + // InternalApplicationConfiguration.g:716:2: ( ( ( rule__PartialModel__Alternatives ) ) ) + // InternalApplicationConfiguration.g:717:2: ( ( rule__PartialModel__Alternatives ) ) { - // InternalApplicationConfiguration.g:742:2: ( ( rule__PartialModel__Alternatives ) ) - // InternalApplicationConfiguration.g:743:3: ( rule__PartialModel__Alternatives ) + // InternalApplicationConfiguration.g:717:2: ( ( rule__PartialModel__Alternatives ) ) + // InternalApplicationConfiguration.g:718:3: ( rule__PartialModel__Alternatives ) { before(grammarAccess.getPartialModelAccess().getAlternatives()); - // InternalApplicationConfiguration.g:744:3: ( rule__PartialModel__Alternatives ) - // InternalApplicationConfiguration.g:744:4: rule__PartialModel__Alternatives + // InternalApplicationConfiguration.g:719:3: ( rule__PartialModel__Alternatives ) + // InternalApplicationConfiguration.g:719:4: rule__PartialModel__Alternatives { pushFollow(FOLLOW_2); rule__PartialModel__Alternatives(); @@ -2281,11 +2201,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "entryRulePatternSpecification" - // InternalApplicationConfiguration.g:753:1: entryRulePatternSpecification : rulePatternSpecification EOF ; + // InternalApplicationConfiguration.g:728:1: entryRulePatternSpecification : rulePatternSpecification EOF ; public final void entryRulePatternSpecification() throws RecognitionException { try { - // InternalApplicationConfiguration.g:754:1: ( rulePatternSpecification EOF ) - // InternalApplicationConfiguration.g:755:1: rulePatternSpecification EOF + // InternalApplicationConfiguration.g:729:1: ( rulePatternSpecification EOF ) + // InternalApplicationConfiguration.g:730:1: rulePatternSpecification EOF { before(grammarAccess.getPatternSpecificationRule()); pushFollow(FOLLOW_1); @@ -2311,21 +2231,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rulePatternSpecification" - // InternalApplicationConfiguration.g:762:1: rulePatternSpecification : ( ( rule__PatternSpecification__Group__0 ) ) ; + // InternalApplicationConfiguration.g:737:1: rulePatternSpecification : ( ( rule__PatternSpecification__Group__0 ) ) ; public final void rulePatternSpecification() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:766:2: ( ( ( rule__PatternSpecification__Group__0 ) ) ) - // InternalApplicationConfiguration.g:767:2: ( ( rule__PatternSpecification__Group__0 ) ) + // InternalApplicationConfiguration.g:741:2: ( ( ( rule__PatternSpecification__Group__0 ) ) ) + // InternalApplicationConfiguration.g:742:2: ( ( rule__PatternSpecification__Group__0 ) ) { - // InternalApplicationConfiguration.g:767:2: ( ( rule__PatternSpecification__Group__0 ) ) - // InternalApplicationConfiguration.g:768:3: ( rule__PatternSpecification__Group__0 ) + // InternalApplicationConfiguration.g:742:2: ( ( rule__PatternSpecification__Group__0 ) ) + // InternalApplicationConfiguration.g:743:3: ( rule__PatternSpecification__Group__0 ) { before(grammarAccess.getPatternSpecificationAccess().getGroup()); - // InternalApplicationConfiguration.g:769:3: ( rule__PatternSpecification__Group__0 ) - // InternalApplicationConfiguration.g:769:4: rule__PatternSpecification__Group__0 + // InternalApplicationConfiguration.g:744:3: ( rule__PatternSpecification__Group__0 ) + // InternalApplicationConfiguration.g:744:4: rule__PatternSpecification__Group__0 { pushFollow(FOLLOW_2); rule__PatternSpecification__Group__0(); @@ -2358,11 +2278,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "entryRulePatternEntry" - // InternalApplicationConfiguration.g:778:1: entryRulePatternEntry : rulePatternEntry EOF ; + // InternalApplicationConfiguration.g:753:1: entryRulePatternEntry : rulePatternEntry EOF ; public final void entryRulePatternEntry() throws RecognitionException { try { - // InternalApplicationConfiguration.g:779:1: ( rulePatternEntry EOF ) - // InternalApplicationConfiguration.g:780:1: rulePatternEntry EOF + // InternalApplicationConfiguration.g:754:1: ( rulePatternEntry EOF ) + // InternalApplicationConfiguration.g:755:1: rulePatternEntry EOF { before(grammarAccess.getPatternEntryRule()); pushFollow(FOLLOW_1); @@ -2388,21 +2308,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rulePatternEntry" - // InternalApplicationConfiguration.g:787:1: rulePatternEntry : ( ( rule__PatternEntry__Alternatives ) ) ; + // InternalApplicationConfiguration.g:762:1: rulePatternEntry : ( ( rule__PatternEntry__Alternatives ) ) ; public final void rulePatternEntry() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:791:2: ( ( ( rule__PatternEntry__Alternatives ) ) ) - // InternalApplicationConfiguration.g:792:2: ( ( rule__PatternEntry__Alternatives ) ) + // InternalApplicationConfiguration.g:766:2: ( ( ( rule__PatternEntry__Alternatives ) ) ) + // InternalApplicationConfiguration.g:767:2: ( ( rule__PatternEntry__Alternatives ) ) { - // InternalApplicationConfiguration.g:792:2: ( ( rule__PatternEntry__Alternatives ) ) - // InternalApplicationConfiguration.g:793:3: ( rule__PatternEntry__Alternatives ) + // InternalApplicationConfiguration.g:767:2: ( ( rule__PatternEntry__Alternatives ) ) + // InternalApplicationConfiguration.g:768:3: ( rule__PatternEntry__Alternatives ) { before(grammarAccess.getPatternEntryAccess().getAlternatives()); - // InternalApplicationConfiguration.g:794:3: ( rule__PatternEntry__Alternatives ) - // InternalApplicationConfiguration.g:794:4: rule__PatternEntry__Alternatives + // InternalApplicationConfiguration.g:769:3: ( rule__PatternEntry__Alternatives ) + // InternalApplicationConfiguration.g:769:4: rule__PatternEntry__Alternatives { pushFollow(FOLLOW_2); rule__PatternEntry__Alternatives(); @@ -2435,11 +2355,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "entryRuleAllPatternEntry" - // InternalApplicationConfiguration.g:803:1: entryRuleAllPatternEntry : ruleAllPatternEntry EOF ; + // InternalApplicationConfiguration.g:778:1: entryRuleAllPatternEntry : ruleAllPatternEntry EOF ; public final void entryRuleAllPatternEntry() throws RecognitionException { try { - // InternalApplicationConfiguration.g:804:1: ( ruleAllPatternEntry EOF ) - // InternalApplicationConfiguration.g:805:1: ruleAllPatternEntry EOF + // InternalApplicationConfiguration.g:779:1: ( ruleAllPatternEntry EOF ) + // InternalApplicationConfiguration.g:780:1: ruleAllPatternEntry EOF { before(grammarAccess.getAllPatternEntryRule()); pushFollow(FOLLOW_1); @@ -2465,21 +2385,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "ruleAllPatternEntry" - // InternalApplicationConfiguration.g:812:1: ruleAllPatternEntry : ( ( rule__AllPatternEntry__Group__0 ) ) ; + // InternalApplicationConfiguration.g:787:1: ruleAllPatternEntry : ( ( rule__AllPatternEntry__Group__0 ) ) ; public final void ruleAllPatternEntry() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:816:2: ( ( ( rule__AllPatternEntry__Group__0 ) ) ) - // InternalApplicationConfiguration.g:817:2: ( ( rule__AllPatternEntry__Group__0 ) ) + // InternalApplicationConfiguration.g:791:2: ( ( ( rule__AllPatternEntry__Group__0 ) ) ) + // InternalApplicationConfiguration.g:792:2: ( ( rule__AllPatternEntry__Group__0 ) ) { - // InternalApplicationConfiguration.g:817:2: ( ( rule__AllPatternEntry__Group__0 ) ) - // InternalApplicationConfiguration.g:818:3: ( rule__AllPatternEntry__Group__0 ) + // InternalApplicationConfiguration.g:792:2: ( ( rule__AllPatternEntry__Group__0 ) ) + // InternalApplicationConfiguration.g:793:3: ( rule__AllPatternEntry__Group__0 ) { before(grammarAccess.getAllPatternEntryAccess().getGroup()); - // InternalApplicationConfiguration.g:819:3: ( rule__AllPatternEntry__Group__0 ) - // InternalApplicationConfiguration.g:819:4: rule__AllPatternEntry__Group__0 + // InternalApplicationConfiguration.g:794:3: ( rule__AllPatternEntry__Group__0 ) + // InternalApplicationConfiguration.g:794:4: rule__AllPatternEntry__Group__0 { pushFollow(FOLLOW_2); rule__AllPatternEntry__Group__0(); @@ -2512,11 +2432,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "entryRulePatternElement" - // InternalApplicationConfiguration.g:828:1: entryRulePatternElement : rulePatternElement EOF ; + // InternalApplicationConfiguration.g:803:1: entryRulePatternElement : rulePatternElement EOF ; public final void entryRulePatternElement() throws RecognitionException { try { - // InternalApplicationConfiguration.g:829:1: ( rulePatternElement EOF ) - // InternalApplicationConfiguration.g:830:1: rulePatternElement EOF + // InternalApplicationConfiguration.g:804:1: ( rulePatternElement EOF ) + // InternalApplicationConfiguration.g:805:1: rulePatternElement EOF { before(grammarAccess.getPatternElementRule()); pushFollow(FOLLOW_1); @@ -2542,21 +2462,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rulePatternElement" - // InternalApplicationConfiguration.g:837:1: rulePatternElement : ( ( rule__PatternElement__Group__0 ) ) ; + // InternalApplicationConfiguration.g:812:1: rulePatternElement : ( ( rule__PatternElement__Group__0 ) ) ; public final void rulePatternElement() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:841:2: ( ( ( rule__PatternElement__Group__0 ) ) ) - // InternalApplicationConfiguration.g:842:2: ( ( rule__PatternElement__Group__0 ) ) + // InternalApplicationConfiguration.g:816:2: ( ( ( rule__PatternElement__Group__0 ) ) ) + // InternalApplicationConfiguration.g:817:2: ( ( rule__PatternElement__Group__0 ) ) { - // InternalApplicationConfiguration.g:842:2: ( ( rule__PatternElement__Group__0 ) ) - // InternalApplicationConfiguration.g:843:3: ( rule__PatternElement__Group__0 ) + // InternalApplicationConfiguration.g:817:2: ( ( rule__PatternElement__Group__0 ) ) + // InternalApplicationConfiguration.g:818:3: ( rule__PatternElement__Group__0 ) { before(grammarAccess.getPatternElementAccess().getGroup()); - // InternalApplicationConfiguration.g:844:3: ( rule__PatternElement__Group__0 ) - // InternalApplicationConfiguration.g:844:4: rule__PatternElement__Group__0 + // InternalApplicationConfiguration.g:819:3: ( rule__PatternElement__Group__0 ) + // InternalApplicationConfiguration.g:819:4: rule__PatternElement__Group__0 { pushFollow(FOLLOW_2); rule__PatternElement__Group__0(); @@ -2589,11 +2509,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "entryRuleGraphPatternDeclaration" - // InternalApplicationConfiguration.g:853:1: entryRuleGraphPatternDeclaration : ruleGraphPatternDeclaration EOF ; + // InternalApplicationConfiguration.g:828:1: entryRuleGraphPatternDeclaration : ruleGraphPatternDeclaration EOF ; public final void entryRuleGraphPatternDeclaration() throws RecognitionException { try { - // InternalApplicationConfiguration.g:854:1: ( ruleGraphPatternDeclaration EOF ) - // InternalApplicationConfiguration.g:855:1: ruleGraphPatternDeclaration EOF + // InternalApplicationConfiguration.g:829:1: ( ruleGraphPatternDeclaration EOF ) + // InternalApplicationConfiguration.g:830:1: ruleGraphPatternDeclaration EOF { before(grammarAccess.getGraphPatternDeclarationRule()); pushFollow(FOLLOW_1); @@ -2619,21 +2539,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "ruleGraphPatternDeclaration" - // InternalApplicationConfiguration.g:862:1: ruleGraphPatternDeclaration : ( ( rule__GraphPatternDeclaration__Group__0 ) ) ; + // InternalApplicationConfiguration.g:837:1: ruleGraphPatternDeclaration : ( ( rule__GraphPatternDeclaration__Group__0 ) ) ; public final void ruleGraphPatternDeclaration() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:866:2: ( ( ( rule__GraphPatternDeclaration__Group__0 ) ) ) - // InternalApplicationConfiguration.g:867:2: ( ( rule__GraphPatternDeclaration__Group__0 ) ) + // InternalApplicationConfiguration.g:841:2: ( ( ( rule__GraphPatternDeclaration__Group__0 ) ) ) + // InternalApplicationConfiguration.g:842:2: ( ( rule__GraphPatternDeclaration__Group__0 ) ) { - // InternalApplicationConfiguration.g:867:2: ( ( rule__GraphPatternDeclaration__Group__0 ) ) - // InternalApplicationConfiguration.g:868:3: ( rule__GraphPatternDeclaration__Group__0 ) + // InternalApplicationConfiguration.g:842:2: ( ( rule__GraphPatternDeclaration__Group__0 ) ) + // InternalApplicationConfiguration.g:843:3: ( rule__GraphPatternDeclaration__Group__0 ) { before(grammarAccess.getGraphPatternDeclarationAccess().getGroup()); - // InternalApplicationConfiguration.g:869:3: ( rule__GraphPatternDeclaration__Group__0 ) - // InternalApplicationConfiguration.g:869:4: rule__GraphPatternDeclaration__Group__0 + // InternalApplicationConfiguration.g:844:3: ( rule__GraphPatternDeclaration__Group__0 ) + // InternalApplicationConfiguration.g:844:4: rule__GraphPatternDeclaration__Group__0 { pushFollow(FOLLOW_2); rule__GraphPatternDeclaration__Group__0(); @@ -2666,11 +2586,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "entryRuleGraphPatternReference" - // InternalApplicationConfiguration.g:878:1: entryRuleGraphPatternReference : ruleGraphPatternReference EOF ; + // InternalApplicationConfiguration.g:853:1: entryRuleGraphPatternReference : ruleGraphPatternReference EOF ; public final void entryRuleGraphPatternReference() throws RecognitionException { try { - // InternalApplicationConfiguration.g:879:1: ( ruleGraphPatternReference EOF ) - // InternalApplicationConfiguration.g:880:1: ruleGraphPatternReference EOF + // InternalApplicationConfiguration.g:854:1: ( ruleGraphPatternReference EOF ) + // InternalApplicationConfiguration.g:855:1: ruleGraphPatternReference EOF { before(grammarAccess.getGraphPatternReferenceRule()); pushFollow(FOLLOW_1); @@ -2696,21 +2616,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "ruleGraphPatternReference" - // InternalApplicationConfiguration.g:887:1: ruleGraphPatternReference : ( ( rule__GraphPatternReference__ReferredAssignment ) ) ; + // InternalApplicationConfiguration.g:862:1: ruleGraphPatternReference : ( ( rule__GraphPatternReference__ReferredAssignment ) ) ; public final void ruleGraphPatternReference() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:891:2: ( ( ( rule__GraphPatternReference__ReferredAssignment ) ) ) - // InternalApplicationConfiguration.g:892:2: ( ( rule__GraphPatternReference__ReferredAssignment ) ) + // InternalApplicationConfiguration.g:866:2: ( ( ( rule__GraphPatternReference__ReferredAssignment ) ) ) + // InternalApplicationConfiguration.g:867:2: ( ( rule__GraphPatternReference__ReferredAssignment ) ) { - // InternalApplicationConfiguration.g:892:2: ( ( rule__GraphPatternReference__ReferredAssignment ) ) - // InternalApplicationConfiguration.g:893:3: ( rule__GraphPatternReference__ReferredAssignment ) + // InternalApplicationConfiguration.g:867:2: ( ( rule__GraphPatternReference__ReferredAssignment ) ) + // InternalApplicationConfiguration.g:868:3: ( rule__GraphPatternReference__ReferredAssignment ) { before(grammarAccess.getGraphPatternReferenceAccess().getReferredAssignment()); - // InternalApplicationConfiguration.g:894:3: ( rule__GraphPatternReference__ReferredAssignment ) - // InternalApplicationConfiguration.g:894:4: rule__GraphPatternReference__ReferredAssignment + // InternalApplicationConfiguration.g:869:3: ( rule__GraphPatternReference__ReferredAssignment ) + // InternalApplicationConfiguration.g:869:4: rule__GraphPatternReference__ReferredAssignment { pushFollow(FOLLOW_2); rule__GraphPatternReference__ReferredAssignment(); @@ -2743,11 +2663,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "entryRuleGraphPattern" - // InternalApplicationConfiguration.g:903:1: entryRuleGraphPattern : ruleGraphPattern EOF ; + // InternalApplicationConfiguration.g:878:1: entryRuleGraphPattern : ruleGraphPattern EOF ; public final void entryRuleGraphPattern() throws RecognitionException { try { - // InternalApplicationConfiguration.g:904:1: ( ruleGraphPattern EOF ) - // InternalApplicationConfiguration.g:905:1: ruleGraphPattern EOF + // InternalApplicationConfiguration.g:879:1: ( ruleGraphPattern EOF ) + // InternalApplicationConfiguration.g:880:1: ruleGraphPattern EOF { before(grammarAccess.getGraphPatternRule()); pushFollow(FOLLOW_1); @@ -2773,21 +2693,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "ruleGraphPattern" - // InternalApplicationConfiguration.g:912:1: ruleGraphPattern : ( ( rule__GraphPattern__Alternatives ) ) ; + // InternalApplicationConfiguration.g:887:1: ruleGraphPattern : ( ( rule__GraphPattern__Alternatives ) ) ; public final void ruleGraphPattern() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:916:2: ( ( ( rule__GraphPattern__Alternatives ) ) ) - // InternalApplicationConfiguration.g:917:2: ( ( rule__GraphPattern__Alternatives ) ) + // InternalApplicationConfiguration.g:891:2: ( ( ( rule__GraphPattern__Alternatives ) ) ) + // InternalApplicationConfiguration.g:892:2: ( ( rule__GraphPattern__Alternatives ) ) { - // InternalApplicationConfiguration.g:917:2: ( ( rule__GraphPattern__Alternatives ) ) - // InternalApplicationConfiguration.g:918:3: ( rule__GraphPattern__Alternatives ) + // InternalApplicationConfiguration.g:892:2: ( ( rule__GraphPattern__Alternatives ) ) + // InternalApplicationConfiguration.g:893:3: ( rule__GraphPattern__Alternatives ) { before(grammarAccess.getGraphPatternAccess().getAlternatives()); - // InternalApplicationConfiguration.g:919:3: ( rule__GraphPattern__Alternatives ) - // InternalApplicationConfiguration.g:919:4: rule__GraphPattern__Alternatives + // InternalApplicationConfiguration.g:894:3: ( rule__GraphPattern__Alternatives ) + // InternalApplicationConfiguration.g:894:4: rule__GraphPattern__Alternatives { pushFollow(FOLLOW_2); rule__GraphPattern__Alternatives(); @@ -2820,11 +2740,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "entryRuleObjectiveSpecification" - // InternalApplicationConfiguration.g:928:1: entryRuleObjectiveSpecification : ruleObjectiveSpecification EOF ; + // InternalApplicationConfiguration.g:903:1: entryRuleObjectiveSpecification : ruleObjectiveSpecification EOF ; public final void entryRuleObjectiveSpecification() throws RecognitionException { try { - // InternalApplicationConfiguration.g:929:1: ( ruleObjectiveSpecification EOF ) - // InternalApplicationConfiguration.g:930:1: ruleObjectiveSpecification EOF + // InternalApplicationConfiguration.g:904:1: ( ruleObjectiveSpecification EOF ) + // InternalApplicationConfiguration.g:905:1: ruleObjectiveSpecification EOF { before(grammarAccess.getObjectiveSpecificationRule()); pushFollow(FOLLOW_1); @@ -2850,21 +2770,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "ruleObjectiveSpecification" - // InternalApplicationConfiguration.g:937:1: ruleObjectiveSpecification : ( ( rule__ObjectiveSpecification__Group__0 ) ) ; + // InternalApplicationConfiguration.g:912:1: ruleObjectiveSpecification : ( ( rule__ObjectiveSpecification__Group__0 ) ) ; public final void ruleObjectiveSpecification() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:941:2: ( ( ( rule__ObjectiveSpecification__Group__0 ) ) ) - // InternalApplicationConfiguration.g:942:2: ( ( rule__ObjectiveSpecification__Group__0 ) ) + // InternalApplicationConfiguration.g:916:2: ( ( ( rule__ObjectiveSpecification__Group__0 ) ) ) + // InternalApplicationConfiguration.g:917:2: ( ( rule__ObjectiveSpecification__Group__0 ) ) { - // InternalApplicationConfiguration.g:942:2: ( ( rule__ObjectiveSpecification__Group__0 ) ) - // InternalApplicationConfiguration.g:943:3: ( rule__ObjectiveSpecification__Group__0 ) + // InternalApplicationConfiguration.g:917:2: ( ( rule__ObjectiveSpecification__Group__0 ) ) + // InternalApplicationConfiguration.g:918:3: ( rule__ObjectiveSpecification__Group__0 ) { before(grammarAccess.getObjectiveSpecificationAccess().getGroup()); - // InternalApplicationConfiguration.g:944:3: ( rule__ObjectiveSpecification__Group__0 ) - // InternalApplicationConfiguration.g:944:4: rule__ObjectiveSpecification__Group__0 + // InternalApplicationConfiguration.g:919:3: ( rule__ObjectiveSpecification__Group__0 ) + // InternalApplicationConfiguration.g:919:4: rule__ObjectiveSpecification__Group__0 { pushFollow(FOLLOW_2); rule__ObjectiveSpecification__Group__0(); @@ -2897,11 +2817,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "entryRuleObjectiveEntry" - // InternalApplicationConfiguration.g:953:1: entryRuleObjectiveEntry : ruleObjectiveEntry EOF ; + // InternalApplicationConfiguration.g:928:1: entryRuleObjectiveEntry : ruleObjectiveEntry EOF ; public final void entryRuleObjectiveEntry() throws RecognitionException { try { - // InternalApplicationConfiguration.g:954:1: ( ruleObjectiveEntry EOF ) - // InternalApplicationConfiguration.g:955:1: ruleObjectiveEntry EOF + // InternalApplicationConfiguration.g:929:1: ( ruleObjectiveEntry EOF ) + // InternalApplicationConfiguration.g:930:1: ruleObjectiveEntry EOF { before(grammarAccess.getObjectiveEntryRule()); pushFollow(FOLLOW_1); @@ -2927,21 +2847,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "ruleObjectiveEntry" - // InternalApplicationConfiguration.g:962:1: ruleObjectiveEntry : ( ( rule__ObjectiveEntry__Alternatives ) ) ; + // InternalApplicationConfiguration.g:937:1: ruleObjectiveEntry : ( ( rule__ObjectiveEntry__Alternatives ) ) ; public final void ruleObjectiveEntry() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:966:2: ( ( ( rule__ObjectiveEntry__Alternatives ) ) ) - // InternalApplicationConfiguration.g:967:2: ( ( rule__ObjectiveEntry__Alternatives ) ) + // InternalApplicationConfiguration.g:941:2: ( ( ( rule__ObjectiveEntry__Alternatives ) ) ) + // InternalApplicationConfiguration.g:942:2: ( ( rule__ObjectiveEntry__Alternatives ) ) { - // InternalApplicationConfiguration.g:967:2: ( ( rule__ObjectiveEntry__Alternatives ) ) - // InternalApplicationConfiguration.g:968:3: ( rule__ObjectiveEntry__Alternatives ) + // InternalApplicationConfiguration.g:942:2: ( ( rule__ObjectiveEntry__Alternatives ) ) + // InternalApplicationConfiguration.g:943:3: ( rule__ObjectiveEntry__Alternatives ) { before(grammarAccess.getObjectiveEntryAccess().getAlternatives()); - // InternalApplicationConfiguration.g:969:3: ( rule__ObjectiveEntry__Alternatives ) - // InternalApplicationConfiguration.g:969:4: rule__ObjectiveEntry__Alternatives + // InternalApplicationConfiguration.g:944:3: ( rule__ObjectiveEntry__Alternatives ) + // InternalApplicationConfiguration.g:944:4: rule__ObjectiveEntry__Alternatives { pushFollow(FOLLOW_2); rule__ObjectiveEntry__Alternatives(); @@ -2974,11 +2894,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "entryRuleOptimizationEntry" - // InternalApplicationConfiguration.g:978:1: entryRuleOptimizationEntry : ruleOptimizationEntry EOF ; + // InternalApplicationConfiguration.g:953:1: entryRuleOptimizationEntry : ruleOptimizationEntry EOF ; public final void entryRuleOptimizationEntry() throws RecognitionException { try { - // InternalApplicationConfiguration.g:979:1: ( ruleOptimizationEntry EOF ) - // InternalApplicationConfiguration.g:980:1: ruleOptimizationEntry EOF + // InternalApplicationConfiguration.g:954:1: ( ruleOptimizationEntry EOF ) + // InternalApplicationConfiguration.g:955:1: ruleOptimizationEntry EOF { before(grammarAccess.getOptimizationEntryRule()); pushFollow(FOLLOW_1); @@ -3004,21 +2924,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "ruleOptimizationEntry" - // InternalApplicationConfiguration.g:987:1: ruleOptimizationEntry : ( ( rule__OptimizationEntry__Group__0 ) ) ; + // InternalApplicationConfiguration.g:962:1: ruleOptimizationEntry : ( ( rule__OptimizationEntry__Group__0 ) ) ; public final void ruleOptimizationEntry() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:991:2: ( ( ( rule__OptimizationEntry__Group__0 ) ) ) - // InternalApplicationConfiguration.g:992:2: ( ( rule__OptimizationEntry__Group__0 ) ) + // InternalApplicationConfiguration.g:966:2: ( ( ( rule__OptimizationEntry__Group__0 ) ) ) + // InternalApplicationConfiguration.g:967:2: ( ( rule__OptimizationEntry__Group__0 ) ) { - // InternalApplicationConfiguration.g:992:2: ( ( rule__OptimizationEntry__Group__0 ) ) - // InternalApplicationConfiguration.g:993:3: ( rule__OptimizationEntry__Group__0 ) + // InternalApplicationConfiguration.g:967:2: ( ( rule__OptimizationEntry__Group__0 ) ) + // InternalApplicationConfiguration.g:968:3: ( rule__OptimizationEntry__Group__0 ) { before(grammarAccess.getOptimizationEntryAccess().getGroup()); - // InternalApplicationConfiguration.g:994:3: ( rule__OptimizationEntry__Group__0 ) - // InternalApplicationConfiguration.g:994:4: rule__OptimizationEntry__Group__0 + // InternalApplicationConfiguration.g:969:3: ( rule__OptimizationEntry__Group__0 ) + // InternalApplicationConfiguration.g:969:4: rule__OptimizationEntry__Group__0 { pushFollow(FOLLOW_2); rule__OptimizationEntry__Group__0(); @@ -3051,11 +2971,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "entryRuleThresholdEntry" - // InternalApplicationConfiguration.g:1003:1: entryRuleThresholdEntry : ruleThresholdEntry EOF ; + // InternalApplicationConfiguration.g:978:1: entryRuleThresholdEntry : ruleThresholdEntry EOF ; public final void entryRuleThresholdEntry() throws RecognitionException { try { - // InternalApplicationConfiguration.g:1004:1: ( ruleThresholdEntry EOF ) - // InternalApplicationConfiguration.g:1005:1: ruleThresholdEntry EOF + // InternalApplicationConfiguration.g:979:1: ( ruleThresholdEntry EOF ) + // InternalApplicationConfiguration.g:980:1: ruleThresholdEntry EOF { before(grammarAccess.getThresholdEntryRule()); pushFollow(FOLLOW_1); @@ -3081,21 +3001,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "ruleThresholdEntry" - // InternalApplicationConfiguration.g:1012:1: ruleThresholdEntry : ( ( rule__ThresholdEntry__Group__0 ) ) ; + // InternalApplicationConfiguration.g:987:1: ruleThresholdEntry : ( ( rule__ThresholdEntry__Group__0 ) ) ; public final void ruleThresholdEntry() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:1016:2: ( ( ( rule__ThresholdEntry__Group__0 ) ) ) - // InternalApplicationConfiguration.g:1017:2: ( ( rule__ThresholdEntry__Group__0 ) ) + // InternalApplicationConfiguration.g:991:2: ( ( ( rule__ThresholdEntry__Group__0 ) ) ) + // InternalApplicationConfiguration.g:992:2: ( ( rule__ThresholdEntry__Group__0 ) ) { - // InternalApplicationConfiguration.g:1017:2: ( ( rule__ThresholdEntry__Group__0 ) ) - // InternalApplicationConfiguration.g:1018:3: ( rule__ThresholdEntry__Group__0 ) + // InternalApplicationConfiguration.g:992:2: ( ( rule__ThresholdEntry__Group__0 ) ) + // InternalApplicationConfiguration.g:993:3: ( rule__ThresholdEntry__Group__0 ) { before(grammarAccess.getThresholdEntryAccess().getGroup()); - // InternalApplicationConfiguration.g:1019:3: ( rule__ThresholdEntry__Group__0 ) - // InternalApplicationConfiguration.g:1019:4: rule__ThresholdEntry__Group__0 + // InternalApplicationConfiguration.g:994:3: ( rule__ThresholdEntry__Group__0 ) + // InternalApplicationConfiguration.g:994:4: rule__ThresholdEntry__Group__0 { pushFollow(FOLLOW_2); rule__ThresholdEntry__Group__0(); @@ -3128,11 +3048,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "entryRuleObjectiveFunction" - // InternalApplicationConfiguration.g:1028:1: entryRuleObjectiveFunction : ruleObjectiveFunction EOF ; + // InternalApplicationConfiguration.g:1003:1: entryRuleObjectiveFunction : ruleObjectiveFunction EOF ; public final void entryRuleObjectiveFunction() throws RecognitionException { try { - // InternalApplicationConfiguration.g:1029:1: ( ruleObjectiveFunction EOF ) - // InternalApplicationConfiguration.g:1030:1: ruleObjectiveFunction EOF + // InternalApplicationConfiguration.g:1004:1: ( ruleObjectiveFunction EOF ) + // InternalApplicationConfiguration.g:1005:1: ruleObjectiveFunction EOF { before(grammarAccess.getObjectiveFunctionRule()); pushFollow(FOLLOW_1); @@ -3158,31 +3078,25 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "ruleObjectiveFunction" - // InternalApplicationConfiguration.g:1037:1: ruleObjectiveFunction : ( ( rule__ObjectiveFunction__Alternatives ) ) ; + // InternalApplicationConfiguration.g:1012:1: ruleObjectiveFunction : ( ruleCostObjectiveFunction ) ; public final void ruleObjectiveFunction() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:1041:2: ( ( ( rule__ObjectiveFunction__Alternatives ) ) ) - // InternalApplicationConfiguration.g:1042:2: ( ( rule__ObjectiveFunction__Alternatives ) ) - { - // InternalApplicationConfiguration.g:1042:2: ( ( rule__ObjectiveFunction__Alternatives ) ) - // InternalApplicationConfiguration.g:1043:3: ( rule__ObjectiveFunction__Alternatives ) + // InternalApplicationConfiguration.g:1016:2: ( ( ruleCostObjectiveFunction ) ) + // InternalApplicationConfiguration.g:1017:2: ( ruleCostObjectiveFunction ) { - before(grammarAccess.getObjectiveFunctionAccess().getAlternatives()); - // InternalApplicationConfiguration.g:1044:3: ( rule__ObjectiveFunction__Alternatives ) - // InternalApplicationConfiguration.g:1044:4: rule__ObjectiveFunction__Alternatives + // InternalApplicationConfiguration.g:1017:2: ( ruleCostObjectiveFunction ) + // InternalApplicationConfiguration.g:1018:3: ruleCostObjectiveFunction { + before(grammarAccess.getObjectiveFunctionAccess().getCostObjectiveFunctionParserRuleCall()); pushFollow(FOLLOW_2); - rule__ObjectiveFunction__Alternatives(); + ruleCostObjectiveFunction(); state._fsp--; - - } - - after(grammarAccess.getObjectiveFunctionAccess().getAlternatives()); + after(grammarAccess.getObjectiveFunctionAccess().getCostObjectiveFunctionParserRuleCall()); } @@ -3205,11 +3119,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "entryRuleCostObjectiveFunction" - // InternalApplicationConfiguration.g:1053:1: entryRuleCostObjectiveFunction : ruleCostObjectiveFunction EOF ; + // InternalApplicationConfiguration.g:1028:1: entryRuleCostObjectiveFunction : ruleCostObjectiveFunction EOF ; public final void entryRuleCostObjectiveFunction() throws RecognitionException { try { - // InternalApplicationConfiguration.g:1054:1: ( ruleCostObjectiveFunction EOF ) - // InternalApplicationConfiguration.g:1055:1: ruleCostObjectiveFunction EOF + // InternalApplicationConfiguration.g:1029:1: ( ruleCostObjectiveFunction EOF ) + // InternalApplicationConfiguration.g:1030:1: ruleCostObjectiveFunction EOF { before(grammarAccess.getCostObjectiveFunctionRule()); pushFollow(FOLLOW_1); @@ -3235,21 +3149,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "ruleCostObjectiveFunction" - // InternalApplicationConfiguration.g:1062:1: ruleCostObjectiveFunction : ( ( rule__CostObjectiveFunction__Group__0 ) ) ; + // InternalApplicationConfiguration.g:1037:1: ruleCostObjectiveFunction : ( ( rule__CostObjectiveFunction__Group__0 ) ) ; public final void ruleCostObjectiveFunction() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:1066:2: ( ( ( rule__CostObjectiveFunction__Group__0 ) ) ) - // InternalApplicationConfiguration.g:1067:2: ( ( rule__CostObjectiveFunction__Group__0 ) ) + // InternalApplicationConfiguration.g:1041:2: ( ( ( rule__CostObjectiveFunction__Group__0 ) ) ) + // InternalApplicationConfiguration.g:1042:2: ( ( rule__CostObjectiveFunction__Group__0 ) ) { - // InternalApplicationConfiguration.g:1067:2: ( ( rule__CostObjectiveFunction__Group__0 ) ) - // InternalApplicationConfiguration.g:1068:3: ( rule__CostObjectiveFunction__Group__0 ) + // InternalApplicationConfiguration.g:1042:2: ( ( rule__CostObjectiveFunction__Group__0 ) ) + // InternalApplicationConfiguration.g:1043:3: ( rule__CostObjectiveFunction__Group__0 ) { before(grammarAccess.getCostObjectiveFunctionAccess().getGroup()); - // InternalApplicationConfiguration.g:1069:3: ( rule__CostObjectiveFunction__Group__0 ) - // InternalApplicationConfiguration.g:1069:4: rule__CostObjectiveFunction__Group__0 + // InternalApplicationConfiguration.g:1044:3: ( rule__CostObjectiveFunction__Group__0 ) + // InternalApplicationConfiguration.g:1044:4: rule__CostObjectiveFunction__Group__0 { pushFollow(FOLLOW_2); rule__CostObjectiveFunction__Group__0(); @@ -3282,11 +3196,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "entryRuleCostEntry" - // InternalApplicationConfiguration.g:1078:1: entryRuleCostEntry : ruleCostEntry EOF ; + // InternalApplicationConfiguration.g:1053:1: entryRuleCostEntry : ruleCostEntry EOF ; public final void entryRuleCostEntry() throws RecognitionException { try { - // InternalApplicationConfiguration.g:1079:1: ( ruleCostEntry EOF ) - // InternalApplicationConfiguration.g:1080:1: ruleCostEntry EOF + // InternalApplicationConfiguration.g:1054:1: ( ruleCostEntry EOF ) + // InternalApplicationConfiguration.g:1055:1: ruleCostEntry EOF { before(grammarAccess.getCostEntryRule()); pushFollow(FOLLOW_1); @@ -3312,21 +3226,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "ruleCostEntry" - // InternalApplicationConfiguration.g:1087:1: ruleCostEntry : ( ( rule__CostEntry__Group__0 ) ) ; + // InternalApplicationConfiguration.g:1062:1: ruleCostEntry : ( ( rule__CostEntry__Group__0 ) ) ; public final void ruleCostEntry() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:1091:2: ( ( ( rule__CostEntry__Group__0 ) ) ) - // InternalApplicationConfiguration.g:1092:2: ( ( rule__CostEntry__Group__0 ) ) + // InternalApplicationConfiguration.g:1066:2: ( ( ( rule__CostEntry__Group__0 ) ) ) + // InternalApplicationConfiguration.g:1067:2: ( ( rule__CostEntry__Group__0 ) ) { - // InternalApplicationConfiguration.g:1092:2: ( ( rule__CostEntry__Group__0 ) ) - // InternalApplicationConfiguration.g:1093:3: ( rule__CostEntry__Group__0 ) + // InternalApplicationConfiguration.g:1067:2: ( ( rule__CostEntry__Group__0 ) ) + // InternalApplicationConfiguration.g:1068:3: ( rule__CostEntry__Group__0 ) { before(grammarAccess.getCostEntryAccess().getGroup()); - // InternalApplicationConfiguration.g:1094:3: ( rule__CostEntry__Group__0 ) - // InternalApplicationConfiguration.g:1094:4: rule__CostEntry__Group__0 + // InternalApplicationConfiguration.g:1069:3: ( rule__CostEntry__Group__0 ) + // InternalApplicationConfiguration.g:1069:4: rule__CostEntry__Group__0 { pushFollow(FOLLOW_2); rule__CostEntry__Group__0(); @@ -3358,243 +3272,12 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR end "ruleCostEntry" - // $ANTLR start "entryRuleReliabilityObjectiveFunction" - // InternalApplicationConfiguration.g:1103:1: entryRuleReliabilityObjectiveFunction : ruleReliabilityObjectiveFunction EOF ; - public final void entryRuleReliabilityObjectiveFunction() throws RecognitionException { - try { - // InternalApplicationConfiguration.g:1104:1: ( ruleReliabilityObjectiveFunction EOF ) - // InternalApplicationConfiguration.g:1105:1: ruleReliabilityObjectiveFunction EOF - { - before(grammarAccess.getReliabilityObjectiveFunctionRule()); - pushFollow(FOLLOW_1); - ruleReliabilityObjectiveFunction(); - - state._fsp--; - - after(grammarAccess.getReliabilityObjectiveFunctionRule()); - match(input,EOF,FOLLOW_2); - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRuleReliabilityObjectiveFunction" - - - // $ANTLR start "ruleReliabilityObjectiveFunction" - // InternalApplicationConfiguration.g:1112:1: ruleReliabilityObjectiveFunction : ( ( rule__ReliabilityObjectiveFunction__Alternatives ) ) ; - public final void ruleReliabilityObjectiveFunction() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:1116:2: ( ( ( rule__ReliabilityObjectiveFunction__Alternatives ) ) ) - // InternalApplicationConfiguration.g:1117:2: ( ( rule__ReliabilityObjectiveFunction__Alternatives ) ) - { - // InternalApplicationConfiguration.g:1117:2: ( ( rule__ReliabilityObjectiveFunction__Alternatives ) ) - // InternalApplicationConfiguration.g:1118:3: ( rule__ReliabilityObjectiveFunction__Alternatives ) - { - before(grammarAccess.getReliabilityObjectiveFunctionAccess().getAlternatives()); - // InternalApplicationConfiguration.g:1119:3: ( rule__ReliabilityObjectiveFunction__Alternatives ) - // InternalApplicationConfiguration.g:1119:4: rule__ReliabilityObjectiveFunction__Alternatives - { - pushFollow(FOLLOW_2); - rule__ReliabilityObjectiveFunction__Alternatives(); - - state._fsp--; - - - } - - after(grammarAccess.getReliabilityObjectiveFunctionAccess().getAlternatives()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "ruleReliabilityObjectiveFunction" - - - // $ANTLR start "entryRuleReliabiltiyProbability" - // InternalApplicationConfiguration.g:1128:1: entryRuleReliabiltiyProbability : ruleReliabiltiyProbability EOF ; - public final void entryRuleReliabiltiyProbability() throws RecognitionException { - try { - // InternalApplicationConfiguration.g:1129:1: ( ruleReliabiltiyProbability EOF ) - // InternalApplicationConfiguration.g:1130:1: ruleReliabiltiyProbability EOF - { - before(grammarAccess.getReliabiltiyProbabilityRule()); - pushFollow(FOLLOW_1); - ruleReliabiltiyProbability(); - - state._fsp--; - - after(grammarAccess.getReliabiltiyProbabilityRule()); - match(input,EOF,FOLLOW_2); - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRuleReliabiltiyProbability" - - - // $ANTLR start "ruleReliabiltiyProbability" - // InternalApplicationConfiguration.g:1137:1: ruleReliabiltiyProbability : ( ( rule__ReliabiltiyProbability__Group__0 ) ) ; - public final void ruleReliabiltiyProbability() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:1141:2: ( ( ( rule__ReliabiltiyProbability__Group__0 ) ) ) - // InternalApplicationConfiguration.g:1142:2: ( ( rule__ReliabiltiyProbability__Group__0 ) ) - { - // InternalApplicationConfiguration.g:1142:2: ( ( rule__ReliabiltiyProbability__Group__0 ) ) - // InternalApplicationConfiguration.g:1143:3: ( rule__ReliabiltiyProbability__Group__0 ) - { - before(grammarAccess.getReliabiltiyProbabilityAccess().getGroup()); - // InternalApplicationConfiguration.g:1144:3: ( rule__ReliabiltiyProbability__Group__0 ) - // InternalApplicationConfiguration.g:1144:4: rule__ReliabiltiyProbability__Group__0 - { - pushFollow(FOLLOW_2); - rule__ReliabiltiyProbability__Group__0(); - - state._fsp--; - - - } - - after(grammarAccess.getReliabiltiyProbabilityAccess().getGroup()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "ruleReliabiltiyProbability" - - - // $ANTLR start "entryRuleMtff" - // InternalApplicationConfiguration.g:1153:1: entryRuleMtff : ruleMtff EOF ; - public final void entryRuleMtff() throws RecognitionException { - try { - // InternalApplicationConfiguration.g:1154:1: ( ruleMtff EOF ) - // InternalApplicationConfiguration.g:1155:1: ruleMtff EOF - { - before(grammarAccess.getMtffRule()); - pushFollow(FOLLOW_1); - ruleMtff(); - - state._fsp--; - - after(grammarAccess.getMtffRule()); - match(input,EOF,FOLLOW_2); - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRuleMtff" - - - // $ANTLR start "ruleMtff" - // InternalApplicationConfiguration.g:1162:1: ruleMtff : ( ( rule__Mtff__Group__0 ) ) ; - public final void ruleMtff() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:1166:2: ( ( ( rule__Mtff__Group__0 ) ) ) - // InternalApplicationConfiguration.g:1167:2: ( ( rule__Mtff__Group__0 ) ) - { - // InternalApplicationConfiguration.g:1167:2: ( ( rule__Mtff__Group__0 ) ) - // InternalApplicationConfiguration.g:1168:3: ( rule__Mtff__Group__0 ) - { - before(grammarAccess.getMtffAccess().getGroup()); - // InternalApplicationConfiguration.g:1169:3: ( rule__Mtff__Group__0 ) - // InternalApplicationConfiguration.g:1169:4: rule__Mtff__Group__0 - { - pushFollow(FOLLOW_2); - rule__Mtff__Group__0(); - - state._fsp--; - - - } - - after(grammarAccess.getMtffAccess().getGroup()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "ruleMtff" - - // $ANTLR start "entryRuleObjectiveDeclaration" - // InternalApplicationConfiguration.g:1178:1: entryRuleObjectiveDeclaration : ruleObjectiveDeclaration EOF ; + // InternalApplicationConfiguration.g:1078:1: entryRuleObjectiveDeclaration : ruleObjectiveDeclaration EOF ; public final void entryRuleObjectiveDeclaration() throws RecognitionException { try { - // InternalApplicationConfiguration.g:1179:1: ( ruleObjectiveDeclaration EOF ) - // InternalApplicationConfiguration.g:1180:1: ruleObjectiveDeclaration EOF + // InternalApplicationConfiguration.g:1079:1: ( ruleObjectiveDeclaration EOF ) + // InternalApplicationConfiguration.g:1080:1: ruleObjectiveDeclaration EOF { before(grammarAccess.getObjectiveDeclarationRule()); pushFollow(FOLLOW_1); @@ -3620,21 +3303,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "ruleObjectiveDeclaration" - // InternalApplicationConfiguration.g:1187:1: ruleObjectiveDeclaration : ( ( rule__ObjectiveDeclaration__Group__0 ) ) ; + // InternalApplicationConfiguration.g:1087:1: ruleObjectiveDeclaration : ( ( rule__ObjectiveDeclaration__Group__0 ) ) ; public final void ruleObjectiveDeclaration() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:1191:2: ( ( ( rule__ObjectiveDeclaration__Group__0 ) ) ) - // InternalApplicationConfiguration.g:1192:2: ( ( rule__ObjectiveDeclaration__Group__0 ) ) + // InternalApplicationConfiguration.g:1091:2: ( ( ( rule__ObjectiveDeclaration__Group__0 ) ) ) + // InternalApplicationConfiguration.g:1092:2: ( ( rule__ObjectiveDeclaration__Group__0 ) ) { - // InternalApplicationConfiguration.g:1192:2: ( ( rule__ObjectiveDeclaration__Group__0 ) ) - // InternalApplicationConfiguration.g:1193:3: ( rule__ObjectiveDeclaration__Group__0 ) + // InternalApplicationConfiguration.g:1092:2: ( ( rule__ObjectiveDeclaration__Group__0 ) ) + // InternalApplicationConfiguration.g:1093:3: ( rule__ObjectiveDeclaration__Group__0 ) { before(grammarAccess.getObjectiveDeclarationAccess().getGroup()); - // InternalApplicationConfiguration.g:1194:3: ( rule__ObjectiveDeclaration__Group__0 ) - // InternalApplicationConfiguration.g:1194:4: rule__ObjectiveDeclaration__Group__0 + // InternalApplicationConfiguration.g:1094:3: ( rule__ObjectiveDeclaration__Group__0 ) + // InternalApplicationConfiguration.g:1094:4: rule__ObjectiveDeclaration__Group__0 { pushFollow(FOLLOW_2); rule__ObjectiveDeclaration__Group__0(); @@ -3667,11 +3350,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "entryRuleObjectiveReference" - // InternalApplicationConfiguration.g:1203:1: entryRuleObjectiveReference : ruleObjectiveReference EOF ; + // InternalApplicationConfiguration.g:1103:1: entryRuleObjectiveReference : ruleObjectiveReference EOF ; public final void entryRuleObjectiveReference() throws RecognitionException { try { - // InternalApplicationConfiguration.g:1204:1: ( ruleObjectiveReference EOF ) - // InternalApplicationConfiguration.g:1205:1: ruleObjectiveReference EOF + // InternalApplicationConfiguration.g:1104:1: ( ruleObjectiveReference EOF ) + // InternalApplicationConfiguration.g:1105:1: ruleObjectiveReference EOF { before(grammarAccess.getObjectiveReferenceRule()); pushFollow(FOLLOW_1); @@ -3697,21 +3380,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "ruleObjectiveReference" - // InternalApplicationConfiguration.g:1212:1: ruleObjectiveReference : ( ( rule__ObjectiveReference__ReferredAssignment ) ) ; + // InternalApplicationConfiguration.g:1112:1: ruleObjectiveReference : ( ( rule__ObjectiveReference__ReferredAssignment ) ) ; public final void ruleObjectiveReference() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:1216:2: ( ( ( rule__ObjectiveReference__ReferredAssignment ) ) ) - // InternalApplicationConfiguration.g:1217:2: ( ( rule__ObjectiveReference__ReferredAssignment ) ) + // InternalApplicationConfiguration.g:1116:2: ( ( ( rule__ObjectiveReference__ReferredAssignment ) ) ) + // InternalApplicationConfiguration.g:1117:2: ( ( rule__ObjectiveReference__ReferredAssignment ) ) { - // InternalApplicationConfiguration.g:1217:2: ( ( rule__ObjectiveReference__ReferredAssignment ) ) - // InternalApplicationConfiguration.g:1218:3: ( rule__ObjectiveReference__ReferredAssignment ) + // InternalApplicationConfiguration.g:1117:2: ( ( rule__ObjectiveReference__ReferredAssignment ) ) + // InternalApplicationConfiguration.g:1118:3: ( rule__ObjectiveReference__ReferredAssignment ) { before(grammarAccess.getObjectiveReferenceAccess().getReferredAssignment()); - // InternalApplicationConfiguration.g:1219:3: ( rule__ObjectiveReference__ReferredAssignment ) - // InternalApplicationConfiguration.g:1219:4: rule__ObjectiveReference__ReferredAssignment + // InternalApplicationConfiguration.g:1119:3: ( rule__ObjectiveReference__ReferredAssignment ) + // InternalApplicationConfiguration.g:1119:4: rule__ObjectiveReference__ReferredAssignment { pushFollow(FOLLOW_2); rule__ObjectiveReference__ReferredAssignment(); @@ -3744,11 +3427,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "entryRuleObjective" - // InternalApplicationConfiguration.g:1228:1: entryRuleObjective : ruleObjective EOF ; + // InternalApplicationConfiguration.g:1128:1: entryRuleObjective : ruleObjective EOF ; public final void entryRuleObjective() throws RecognitionException { try { - // InternalApplicationConfiguration.g:1229:1: ( ruleObjective EOF ) - // InternalApplicationConfiguration.g:1230:1: ruleObjective EOF + // InternalApplicationConfiguration.g:1129:1: ( ruleObjective EOF ) + // InternalApplicationConfiguration.g:1130:1: ruleObjective EOF { before(grammarAccess.getObjectiveRule()); pushFollow(FOLLOW_1); @@ -3774,21 +3457,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "ruleObjective" - // InternalApplicationConfiguration.g:1237:1: ruleObjective : ( ( rule__Objective__Alternatives ) ) ; + // InternalApplicationConfiguration.g:1137:1: ruleObjective : ( ( rule__Objective__Alternatives ) ) ; public final void ruleObjective() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:1241:2: ( ( ( rule__Objective__Alternatives ) ) ) - // InternalApplicationConfiguration.g:1242:2: ( ( rule__Objective__Alternatives ) ) + // InternalApplicationConfiguration.g:1141:2: ( ( ( rule__Objective__Alternatives ) ) ) + // InternalApplicationConfiguration.g:1142:2: ( ( rule__Objective__Alternatives ) ) { - // InternalApplicationConfiguration.g:1242:2: ( ( rule__Objective__Alternatives ) ) - // InternalApplicationConfiguration.g:1243:3: ( rule__Objective__Alternatives ) + // InternalApplicationConfiguration.g:1142:2: ( ( rule__Objective__Alternatives ) ) + // InternalApplicationConfiguration.g:1143:3: ( rule__Objective__Alternatives ) { before(grammarAccess.getObjectiveAccess().getAlternatives()); - // InternalApplicationConfiguration.g:1244:3: ( rule__Objective__Alternatives ) - // InternalApplicationConfiguration.g:1244:4: rule__Objective__Alternatives + // InternalApplicationConfiguration.g:1144:3: ( rule__Objective__Alternatives ) + // InternalApplicationConfiguration.g:1144:4: rule__Objective__Alternatives { pushFollow(FOLLOW_2); rule__Objective__Alternatives(); @@ -3821,11 +3504,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "entryRuleConfigSpecification" - // InternalApplicationConfiguration.g:1253:1: entryRuleConfigSpecification : ruleConfigSpecification EOF ; + // InternalApplicationConfiguration.g:1153:1: entryRuleConfigSpecification : ruleConfigSpecification EOF ; public final void entryRuleConfigSpecification() throws RecognitionException { try { - // InternalApplicationConfiguration.g:1254:1: ( ruleConfigSpecification EOF ) - // InternalApplicationConfiguration.g:1255:1: ruleConfigSpecification EOF + // InternalApplicationConfiguration.g:1154:1: ( ruleConfigSpecification EOF ) + // InternalApplicationConfiguration.g:1155:1: ruleConfigSpecification EOF { before(grammarAccess.getConfigSpecificationRule()); pushFollow(FOLLOW_1); @@ -3851,21 +3534,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "ruleConfigSpecification" - // InternalApplicationConfiguration.g:1262:1: ruleConfigSpecification : ( ( rule__ConfigSpecification__Group__0 ) ) ; + // InternalApplicationConfiguration.g:1162:1: ruleConfigSpecification : ( ( rule__ConfigSpecification__Group__0 ) ) ; public final void ruleConfigSpecification() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:1266:2: ( ( ( rule__ConfigSpecification__Group__0 ) ) ) - // InternalApplicationConfiguration.g:1267:2: ( ( rule__ConfigSpecification__Group__0 ) ) + // InternalApplicationConfiguration.g:1166:2: ( ( ( rule__ConfigSpecification__Group__0 ) ) ) + // InternalApplicationConfiguration.g:1167:2: ( ( rule__ConfigSpecification__Group__0 ) ) { - // InternalApplicationConfiguration.g:1267:2: ( ( rule__ConfigSpecification__Group__0 ) ) - // InternalApplicationConfiguration.g:1268:3: ( rule__ConfigSpecification__Group__0 ) + // InternalApplicationConfiguration.g:1167:2: ( ( rule__ConfigSpecification__Group__0 ) ) + // InternalApplicationConfiguration.g:1168:3: ( rule__ConfigSpecification__Group__0 ) { before(grammarAccess.getConfigSpecificationAccess().getGroup()); - // InternalApplicationConfiguration.g:1269:3: ( rule__ConfigSpecification__Group__0 ) - // InternalApplicationConfiguration.g:1269:4: rule__ConfigSpecification__Group__0 + // InternalApplicationConfiguration.g:1169:3: ( rule__ConfigSpecification__Group__0 ) + // InternalApplicationConfiguration.g:1169:4: rule__ConfigSpecification__Group__0 { pushFollow(FOLLOW_2); rule__ConfigSpecification__Group__0(); @@ -3898,11 +3581,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "entryRuleConfigDeclaration" - // InternalApplicationConfiguration.g:1278:1: entryRuleConfigDeclaration : ruleConfigDeclaration EOF ; + // InternalApplicationConfiguration.g:1178:1: entryRuleConfigDeclaration : ruleConfigDeclaration EOF ; public final void entryRuleConfigDeclaration() throws RecognitionException { try { - // InternalApplicationConfiguration.g:1279:1: ( ruleConfigDeclaration EOF ) - // InternalApplicationConfiguration.g:1280:1: ruleConfigDeclaration EOF + // InternalApplicationConfiguration.g:1179:1: ( ruleConfigDeclaration EOF ) + // InternalApplicationConfiguration.g:1180:1: ruleConfigDeclaration EOF { before(grammarAccess.getConfigDeclarationRule()); pushFollow(FOLLOW_1); @@ -3928,21 +3611,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "ruleConfigDeclaration" - // InternalApplicationConfiguration.g:1287:1: ruleConfigDeclaration : ( ( rule__ConfigDeclaration__Group__0 ) ) ; + // InternalApplicationConfiguration.g:1187:1: ruleConfigDeclaration : ( ( rule__ConfigDeclaration__Group__0 ) ) ; public final void ruleConfigDeclaration() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:1291:2: ( ( ( rule__ConfigDeclaration__Group__0 ) ) ) - // InternalApplicationConfiguration.g:1292:2: ( ( rule__ConfigDeclaration__Group__0 ) ) + // InternalApplicationConfiguration.g:1191:2: ( ( ( rule__ConfigDeclaration__Group__0 ) ) ) + // InternalApplicationConfiguration.g:1192:2: ( ( rule__ConfigDeclaration__Group__0 ) ) { - // InternalApplicationConfiguration.g:1292:2: ( ( rule__ConfigDeclaration__Group__0 ) ) - // InternalApplicationConfiguration.g:1293:3: ( rule__ConfigDeclaration__Group__0 ) + // InternalApplicationConfiguration.g:1192:2: ( ( rule__ConfigDeclaration__Group__0 ) ) + // InternalApplicationConfiguration.g:1193:3: ( rule__ConfigDeclaration__Group__0 ) { before(grammarAccess.getConfigDeclarationAccess().getGroup()); - // InternalApplicationConfiguration.g:1294:3: ( rule__ConfigDeclaration__Group__0 ) - // InternalApplicationConfiguration.g:1294:4: rule__ConfigDeclaration__Group__0 + // InternalApplicationConfiguration.g:1194:3: ( rule__ConfigDeclaration__Group__0 ) + // InternalApplicationConfiguration.g:1194:4: rule__ConfigDeclaration__Group__0 { pushFollow(FOLLOW_2); rule__ConfigDeclaration__Group__0(); @@ -3975,11 +3658,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "entryRuleConfigEntry" - // InternalApplicationConfiguration.g:1303:1: entryRuleConfigEntry : ruleConfigEntry EOF ; + // InternalApplicationConfiguration.g:1203:1: entryRuleConfigEntry : ruleConfigEntry EOF ; public final void entryRuleConfigEntry() throws RecognitionException { try { - // InternalApplicationConfiguration.g:1304:1: ( ruleConfigEntry EOF ) - // InternalApplicationConfiguration.g:1305:1: ruleConfigEntry EOF + // InternalApplicationConfiguration.g:1204:1: ( ruleConfigEntry EOF ) + // InternalApplicationConfiguration.g:1205:1: ruleConfigEntry EOF { before(grammarAccess.getConfigEntryRule()); pushFollow(FOLLOW_1); @@ -4005,21 +3688,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "ruleConfigEntry" - // InternalApplicationConfiguration.g:1312:1: ruleConfigEntry : ( ( rule__ConfigEntry__Alternatives ) ) ; + // InternalApplicationConfiguration.g:1212:1: ruleConfigEntry : ( ( rule__ConfigEntry__Alternatives ) ) ; public final void ruleConfigEntry() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:1316:2: ( ( ( rule__ConfigEntry__Alternatives ) ) ) - // InternalApplicationConfiguration.g:1317:2: ( ( rule__ConfigEntry__Alternatives ) ) + // InternalApplicationConfiguration.g:1216:2: ( ( ( rule__ConfigEntry__Alternatives ) ) ) + // InternalApplicationConfiguration.g:1217:2: ( ( rule__ConfigEntry__Alternatives ) ) { - // InternalApplicationConfiguration.g:1317:2: ( ( rule__ConfigEntry__Alternatives ) ) - // InternalApplicationConfiguration.g:1318:3: ( rule__ConfigEntry__Alternatives ) + // InternalApplicationConfiguration.g:1217:2: ( ( rule__ConfigEntry__Alternatives ) ) + // InternalApplicationConfiguration.g:1218:3: ( rule__ConfigEntry__Alternatives ) { before(grammarAccess.getConfigEntryAccess().getAlternatives()); - // InternalApplicationConfiguration.g:1319:3: ( rule__ConfigEntry__Alternatives ) - // InternalApplicationConfiguration.g:1319:4: rule__ConfigEntry__Alternatives + // InternalApplicationConfiguration.g:1219:3: ( rule__ConfigEntry__Alternatives ) + // InternalApplicationConfiguration.g:1219:4: rule__ConfigEntry__Alternatives { pushFollow(FOLLOW_2); rule__ConfigEntry__Alternatives(); @@ -4052,11 +3735,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "entryRuleDocumentationEntry" - // InternalApplicationConfiguration.g:1328:1: entryRuleDocumentationEntry : ruleDocumentationEntry EOF ; + // InternalApplicationConfiguration.g:1228:1: entryRuleDocumentationEntry : ruleDocumentationEntry EOF ; public final void entryRuleDocumentationEntry() throws RecognitionException { try { - // InternalApplicationConfiguration.g:1329:1: ( ruleDocumentationEntry EOF ) - // InternalApplicationConfiguration.g:1330:1: ruleDocumentationEntry EOF + // InternalApplicationConfiguration.g:1229:1: ( ruleDocumentationEntry EOF ) + // InternalApplicationConfiguration.g:1230:1: ruleDocumentationEntry EOF { before(grammarAccess.getDocumentationEntryRule()); pushFollow(FOLLOW_1); @@ -4082,21 +3765,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "ruleDocumentationEntry" - // InternalApplicationConfiguration.g:1337:1: ruleDocumentationEntry : ( ( rule__DocumentationEntry__Group__0 ) ) ; + // InternalApplicationConfiguration.g:1237:1: ruleDocumentationEntry : ( ( rule__DocumentationEntry__Group__0 ) ) ; public final void ruleDocumentationEntry() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:1341:2: ( ( ( rule__DocumentationEntry__Group__0 ) ) ) - // InternalApplicationConfiguration.g:1342:2: ( ( rule__DocumentationEntry__Group__0 ) ) + // InternalApplicationConfiguration.g:1241:2: ( ( ( rule__DocumentationEntry__Group__0 ) ) ) + // InternalApplicationConfiguration.g:1242:2: ( ( rule__DocumentationEntry__Group__0 ) ) { - // InternalApplicationConfiguration.g:1342:2: ( ( rule__DocumentationEntry__Group__0 ) ) - // InternalApplicationConfiguration.g:1343:3: ( rule__DocumentationEntry__Group__0 ) + // InternalApplicationConfiguration.g:1242:2: ( ( rule__DocumentationEntry__Group__0 ) ) + // InternalApplicationConfiguration.g:1243:3: ( rule__DocumentationEntry__Group__0 ) { before(grammarAccess.getDocumentationEntryAccess().getGroup()); - // InternalApplicationConfiguration.g:1344:3: ( rule__DocumentationEntry__Group__0 ) - // InternalApplicationConfiguration.g:1344:4: rule__DocumentationEntry__Group__0 + // InternalApplicationConfiguration.g:1244:3: ( rule__DocumentationEntry__Group__0 ) + // InternalApplicationConfiguration.g:1244:4: rule__DocumentationEntry__Group__0 { pushFollow(FOLLOW_2); rule__DocumentationEntry__Group__0(); @@ -4129,11 +3812,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "entryRuleRuntimeEntry" - // InternalApplicationConfiguration.g:1353:1: entryRuleRuntimeEntry : ruleRuntimeEntry EOF ; + // InternalApplicationConfiguration.g:1253:1: entryRuleRuntimeEntry : ruleRuntimeEntry EOF ; public final void entryRuleRuntimeEntry() throws RecognitionException { try { - // InternalApplicationConfiguration.g:1354:1: ( ruleRuntimeEntry EOF ) - // InternalApplicationConfiguration.g:1355:1: ruleRuntimeEntry EOF + // InternalApplicationConfiguration.g:1254:1: ( ruleRuntimeEntry EOF ) + // InternalApplicationConfiguration.g:1255:1: ruleRuntimeEntry EOF { before(grammarAccess.getRuntimeEntryRule()); pushFollow(FOLLOW_1); @@ -4159,21 +3842,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "ruleRuntimeEntry" - // InternalApplicationConfiguration.g:1362:1: ruleRuntimeEntry : ( ( rule__RuntimeEntry__Group__0 ) ) ; + // InternalApplicationConfiguration.g:1262:1: ruleRuntimeEntry : ( ( rule__RuntimeEntry__Group__0 ) ) ; public final void ruleRuntimeEntry() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:1366:2: ( ( ( rule__RuntimeEntry__Group__0 ) ) ) - // InternalApplicationConfiguration.g:1367:2: ( ( rule__RuntimeEntry__Group__0 ) ) + // InternalApplicationConfiguration.g:1266:2: ( ( ( rule__RuntimeEntry__Group__0 ) ) ) + // InternalApplicationConfiguration.g:1267:2: ( ( rule__RuntimeEntry__Group__0 ) ) { - // InternalApplicationConfiguration.g:1367:2: ( ( rule__RuntimeEntry__Group__0 ) ) - // InternalApplicationConfiguration.g:1368:3: ( rule__RuntimeEntry__Group__0 ) + // InternalApplicationConfiguration.g:1267:2: ( ( rule__RuntimeEntry__Group__0 ) ) + // InternalApplicationConfiguration.g:1268:3: ( rule__RuntimeEntry__Group__0 ) { before(grammarAccess.getRuntimeEntryAccess().getGroup()); - // InternalApplicationConfiguration.g:1369:3: ( rule__RuntimeEntry__Group__0 ) - // InternalApplicationConfiguration.g:1369:4: rule__RuntimeEntry__Group__0 + // InternalApplicationConfiguration.g:1269:3: ( rule__RuntimeEntry__Group__0 ) + // InternalApplicationConfiguration.g:1269:4: rule__RuntimeEntry__Group__0 { pushFollow(FOLLOW_2); rule__RuntimeEntry__Group__0(); @@ -4206,11 +3889,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "entryRuleMemoryEntry" - // InternalApplicationConfiguration.g:1378:1: entryRuleMemoryEntry : ruleMemoryEntry EOF ; + // InternalApplicationConfiguration.g:1278:1: entryRuleMemoryEntry : ruleMemoryEntry EOF ; public final void entryRuleMemoryEntry() throws RecognitionException { try { - // InternalApplicationConfiguration.g:1379:1: ( ruleMemoryEntry EOF ) - // InternalApplicationConfiguration.g:1380:1: ruleMemoryEntry EOF + // InternalApplicationConfiguration.g:1279:1: ( ruleMemoryEntry EOF ) + // InternalApplicationConfiguration.g:1280:1: ruleMemoryEntry EOF { before(grammarAccess.getMemoryEntryRule()); pushFollow(FOLLOW_1); @@ -4236,21 +3919,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "ruleMemoryEntry" - // InternalApplicationConfiguration.g:1387:1: ruleMemoryEntry : ( ( rule__MemoryEntry__Group__0 ) ) ; + // InternalApplicationConfiguration.g:1287:1: ruleMemoryEntry : ( ( rule__MemoryEntry__Group__0 ) ) ; public final void ruleMemoryEntry() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:1391:2: ( ( ( rule__MemoryEntry__Group__0 ) ) ) - // InternalApplicationConfiguration.g:1392:2: ( ( rule__MemoryEntry__Group__0 ) ) + // InternalApplicationConfiguration.g:1291:2: ( ( ( rule__MemoryEntry__Group__0 ) ) ) + // InternalApplicationConfiguration.g:1292:2: ( ( rule__MemoryEntry__Group__0 ) ) { - // InternalApplicationConfiguration.g:1392:2: ( ( rule__MemoryEntry__Group__0 ) ) - // InternalApplicationConfiguration.g:1393:3: ( rule__MemoryEntry__Group__0 ) + // InternalApplicationConfiguration.g:1292:2: ( ( rule__MemoryEntry__Group__0 ) ) + // InternalApplicationConfiguration.g:1293:3: ( rule__MemoryEntry__Group__0 ) { before(grammarAccess.getMemoryEntryAccess().getGroup()); - // InternalApplicationConfiguration.g:1394:3: ( rule__MemoryEntry__Group__0 ) - // InternalApplicationConfiguration.g:1394:4: rule__MemoryEntry__Group__0 + // InternalApplicationConfiguration.g:1294:3: ( rule__MemoryEntry__Group__0 ) + // InternalApplicationConfiguration.g:1294:4: rule__MemoryEntry__Group__0 { pushFollow(FOLLOW_2); rule__MemoryEntry__Group__0(); @@ -4283,11 +3966,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "entryRuleCustomEntry" - // InternalApplicationConfiguration.g:1403:1: entryRuleCustomEntry : ruleCustomEntry EOF ; + // InternalApplicationConfiguration.g:1303:1: entryRuleCustomEntry : ruleCustomEntry EOF ; public final void entryRuleCustomEntry() throws RecognitionException { try { - // InternalApplicationConfiguration.g:1404:1: ( ruleCustomEntry EOF ) - // InternalApplicationConfiguration.g:1405:1: ruleCustomEntry EOF + // InternalApplicationConfiguration.g:1304:1: ( ruleCustomEntry EOF ) + // InternalApplicationConfiguration.g:1305:1: ruleCustomEntry EOF { before(grammarAccess.getCustomEntryRule()); pushFollow(FOLLOW_1); @@ -4313,21 +3996,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "ruleCustomEntry" - // InternalApplicationConfiguration.g:1412:1: ruleCustomEntry : ( ( rule__CustomEntry__Group__0 ) ) ; + // InternalApplicationConfiguration.g:1312:1: ruleCustomEntry : ( ( rule__CustomEntry__Group__0 ) ) ; public final void ruleCustomEntry() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:1416:2: ( ( ( rule__CustomEntry__Group__0 ) ) ) - // InternalApplicationConfiguration.g:1417:2: ( ( rule__CustomEntry__Group__0 ) ) + // InternalApplicationConfiguration.g:1316:2: ( ( ( rule__CustomEntry__Group__0 ) ) ) + // InternalApplicationConfiguration.g:1317:2: ( ( rule__CustomEntry__Group__0 ) ) { - // InternalApplicationConfiguration.g:1417:2: ( ( rule__CustomEntry__Group__0 ) ) - // InternalApplicationConfiguration.g:1418:3: ( rule__CustomEntry__Group__0 ) + // InternalApplicationConfiguration.g:1317:2: ( ( rule__CustomEntry__Group__0 ) ) + // InternalApplicationConfiguration.g:1318:3: ( rule__CustomEntry__Group__0 ) { before(grammarAccess.getCustomEntryAccess().getGroup()); - // InternalApplicationConfiguration.g:1419:3: ( rule__CustomEntry__Group__0 ) - // InternalApplicationConfiguration.g:1419:4: rule__CustomEntry__Group__0 + // InternalApplicationConfiguration.g:1319:3: ( rule__CustomEntry__Group__0 ) + // InternalApplicationConfiguration.g:1319:4: rule__CustomEntry__Group__0 { pushFollow(FOLLOW_2); rule__CustomEntry__Group__0(); @@ -4360,11 +4043,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "entryRuleConfigReference" - // InternalApplicationConfiguration.g:1428:1: entryRuleConfigReference : ruleConfigReference EOF ; + // InternalApplicationConfiguration.g:1328:1: entryRuleConfigReference : ruleConfigReference EOF ; public final void entryRuleConfigReference() throws RecognitionException { try { - // InternalApplicationConfiguration.g:1429:1: ( ruleConfigReference EOF ) - // InternalApplicationConfiguration.g:1430:1: ruleConfigReference EOF + // InternalApplicationConfiguration.g:1329:1: ( ruleConfigReference EOF ) + // InternalApplicationConfiguration.g:1330:1: ruleConfigReference EOF { before(grammarAccess.getConfigReferenceRule()); pushFollow(FOLLOW_1); @@ -4390,21 +4073,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "ruleConfigReference" - // InternalApplicationConfiguration.g:1437:1: ruleConfigReference : ( ( rule__ConfigReference__ConfigAssignment ) ) ; + // InternalApplicationConfiguration.g:1337:1: ruleConfigReference : ( ( rule__ConfigReference__ConfigAssignment ) ) ; public final void ruleConfigReference() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:1441:2: ( ( ( rule__ConfigReference__ConfigAssignment ) ) ) - // InternalApplicationConfiguration.g:1442:2: ( ( rule__ConfigReference__ConfigAssignment ) ) + // InternalApplicationConfiguration.g:1341:2: ( ( ( rule__ConfigReference__ConfigAssignment ) ) ) + // InternalApplicationConfiguration.g:1342:2: ( ( rule__ConfigReference__ConfigAssignment ) ) { - // InternalApplicationConfiguration.g:1442:2: ( ( rule__ConfigReference__ConfigAssignment ) ) - // InternalApplicationConfiguration.g:1443:3: ( rule__ConfigReference__ConfigAssignment ) + // InternalApplicationConfiguration.g:1342:2: ( ( rule__ConfigReference__ConfigAssignment ) ) + // InternalApplicationConfiguration.g:1343:3: ( rule__ConfigReference__ConfigAssignment ) { before(grammarAccess.getConfigReferenceAccess().getConfigAssignment()); - // InternalApplicationConfiguration.g:1444:3: ( rule__ConfigReference__ConfigAssignment ) - // InternalApplicationConfiguration.g:1444:4: rule__ConfigReference__ConfigAssignment + // InternalApplicationConfiguration.g:1344:3: ( rule__ConfigReference__ConfigAssignment ) + // InternalApplicationConfiguration.g:1344:4: rule__ConfigReference__ConfigAssignment { pushFollow(FOLLOW_2); rule__ConfigReference__ConfigAssignment(); @@ -4437,11 +4120,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "entryRuleConfig" - // InternalApplicationConfiguration.g:1453:1: entryRuleConfig : ruleConfig EOF ; + // InternalApplicationConfiguration.g:1353:1: entryRuleConfig : ruleConfig EOF ; public final void entryRuleConfig() throws RecognitionException { try { - // InternalApplicationConfiguration.g:1454:1: ( ruleConfig EOF ) - // InternalApplicationConfiguration.g:1455:1: ruleConfig EOF + // InternalApplicationConfiguration.g:1354:1: ( ruleConfig EOF ) + // InternalApplicationConfiguration.g:1355:1: ruleConfig EOF { before(grammarAccess.getConfigRule()); pushFollow(FOLLOW_1); @@ -4467,21 +4150,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "ruleConfig" - // InternalApplicationConfiguration.g:1462:1: ruleConfig : ( ( rule__Config__Alternatives ) ) ; + // InternalApplicationConfiguration.g:1362:1: ruleConfig : ( ( rule__Config__Alternatives ) ) ; public final void ruleConfig() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:1466:2: ( ( ( rule__Config__Alternatives ) ) ) - // InternalApplicationConfiguration.g:1467:2: ( ( rule__Config__Alternatives ) ) + // InternalApplicationConfiguration.g:1366:2: ( ( ( rule__Config__Alternatives ) ) ) + // InternalApplicationConfiguration.g:1367:2: ( ( rule__Config__Alternatives ) ) { - // InternalApplicationConfiguration.g:1467:2: ( ( rule__Config__Alternatives ) ) - // InternalApplicationConfiguration.g:1468:3: ( rule__Config__Alternatives ) + // InternalApplicationConfiguration.g:1367:2: ( ( rule__Config__Alternatives ) ) + // InternalApplicationConfiguration.g:1368:3: ( rule__Config__Alternatives ) { before(grammarAccess.getConfigAccess().getAlternatives()); - // InternalApplicationConfiguration.g:1469:3: ( rule__Config__Alternatives ) - // InternalApplicationConfiguration.g:1469:4: rule__Config__Alternatives + // InternalApplicationConfiguration.g:1369:3: ( rule__Config__Alternatives ) + // InternalApplicationConfiguration.g:1369:4: rule__Config__Alternatives { pushFollow(FOLLOW_2); rule__Config__Alternatives(); @@ -4514,11 +4197,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "entryRuleScopeSpecification" - // InternalApplicationConfiguration.g:1478:1: entryRuleScopeSpecification : ruleScopeSpecification EOF ; + // InternalApplicationConfiguration.g:1378:1: entryRuleScopeSpecification : ruleScopeSpecification EOF ; public final void entryRuleScopeSpecification() throws RecognitionException { try { - // InternalApplicationConfiguration.g:1479:1: ( ruleScopeSpecification EOF ) - // InternalApplicationConfiguration.g:1480:1: ruleScopeSpecification EOF + // InternalApplicationConfiguration.g:1379:1: ( ruleScopeSpecification EOF ) + // InternalApplicationConfiguration.g:1380:1: ruleScopeSpecification EOF { before(grammarAccess.getScopeSpecificationRule()); pushFollow(FOLLOW_1); @@ -4544,21 +4227,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "ruleScopeSpecification" - // InternalApplicationConfiguration.g:1487:1: ruleScopeSpecification : ( ( rule__ScopeSpecification__Group__0 ) ) ; + // InternalApplicationConfiguration.g:1387:1: ruleScopeSpecification : ( ( rule__ScopeSpecification__Group__0 ) ) ; public final void ruleScopeSpecification() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:1491:2: ( ( ( rule__ScopeSpecification__Group__0 ) ) ) - // InternalApplicationConfiguration.g:1492:2: ( ( rule__ScopeSpecification__Group__0 ) ) + // InternalApplicationConfiguration.g:1391:2: ( ( ( rule__ScopeSpecification__Group__0 ) ) ) + // InternalApplicationConfiguration.g:1392:2: ( ( rule__ScopeSpecification__Group__0 ) ) { - // InternalApplicationConfiguration.g:1492:2: ( ( rule__ScopeSpecification__Group__0 ) ) - // InternalApplicationConfiguration.g:1493:3: ( rule__ScopeSpecification__Group__0 ) + // InternalApplicationConfiguration.g:1392:2: ( ( rule__ScopeSpecification__Group__0 ) ) + // InternalApplicationConfiguration.g:1393:3: ( rule__ScopeSpecification__Group__0 ) { before(grammarAccess.getScopeSpecificationAccess().getGroup()); - // InternalApplicationConfiguration.g:1494:3: ( rule__ScopeSpecification__Group__0 ) - // InternalApplicationConfiguration.g:1494:4: rule__ScopeSpecification__Group__0 + // InternalApplicationConfiguration.g:1394:3: ( rule__ScopeSpecification__Group__0 ) + // InternalApplicationConfiguration.g:1394:4: rule__ScopeSpecification__Group__0 { pushFollow(FOLLOW_2); rule__ScopeSpecification__Group__0(); @@ -4591,11 +4274,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "entryRuleTypeScope" - // InternalApplicationConfiguration.g:1503:1: entryRuleTypeScope : ruleTypeScope EOF ; + // InternalApplicationConfiguration.g:1403:1: entryRuleTypeScope : ruleTypeScope EOF ; public final void entryRuleTypeScope() throws RecognitionException { try { - // InternalApplicationConfiguration.g:1504:1: ( ruleTypeScope EOF ) - // InternalApplicationConfiguration.g:1505:1: ruleTypeScope EOF + // InternalApplicationConfiguration.g:1404:1: ( ruleTypeScope EOF ) + // InternalApplicationConfiguration.g:1405:1: ruleTypeScope EOF { before(grammarAccess.getTypeScopeRule()); pushFollow(FOLLOW_1); @@ -4621,21 +4304,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "ruleTypeScope" - // InternalApplicationConfiguration.g:1512:1: ruleTypeScope : ( ( rule__TypeScope__Alternatives ) ) ; + // InternalApplicationConfiguration.g:1412:1: ruleTypeScope : ( ( rule__TypeScope__Alternatives ) ) ; public final void ruleTypeScope() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:1516:2: ( ( ( rule__TypeScope__Alternatives ) ) ) - // InternalApplicationConfiguration.g:1517:2: ( ( rule__TypeScope__Alternatives ) ) + // InternalApplicationConfiguration.g:1416:2: ( ( ( rule__TypeScope__Alternatives ) ) ) + // InternalApplicationConfiguration.g:1417:2: ( ( rule__TypeScope__Alternatives ) ) { - // InternalApplicationConfiguration.g:1517:2: ( ( rule__TypeScope__Alternatives ) ) - // InternalApplicationConfiguration.g:1518:3: ( rule__TypeScope__Alternatives ) + // InternalApplicationConfiguration.g:1417:2: ( ( rule__TypeScope__Alternatives ) ) + // InternalApplicationConfiguration.g:1418:3: ( rule__TypeScope__Alternatives ) { before(grammarAccess.getTypeScopeAccess().getAlternatives()); - // InternalApplicationConfiguration.g:1519:3: ( rule__TypeScope__Alternatives ) - // InternalApplicationConfiguration.g:1519:4: rule__TypeScope__Alternatives + // InternalApplicationConfiguration.g:1419:3: ( rule__TypeScope__Alternatives ) + // InternalApplicationConfiguration.g:1419:4: rule__TypeScope__Alternatives { pushFollow(FOLLOW_2); rule__TypeScope__Alternatives(); @@ -4668,11 +4351,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "entryRuleClassTypeScope" - // InternalApplicationConfiguration.g:1528:1: entryRuleClassTypeScope : ruleClassTypeScope EOF ; + // InternalApplicationConfiguration.g:1428:1: entryRuleClassTypeScope : ruleClassTypeScope EOF ; public final void entryRuleClassTypeScope() throws RecognitionException { try { - // InternalApplicationConfiguration.g:1529:1: ( ruleClassTypeScope EOF ) - // InternalApplicationConfiguration.g:1530:1: ruleClassTypeScope EOF + // InternalApplicationConfiguration.g:1429:1: ( ruleClassTypeScope EOF ) + // InternalApplicationConfiguration.g:1430:1: ruleClassTypeScope EOF { before(grammarAccess.getClassTypeScopeRule()); pushFollow(FOLLOW_1); @@ -4698,21 +4381,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "ruleClassTypeScope" - // InternalApplicationConfiguration.g:1537:1: ruleClassTypeScope : ( ( rule__ClassTypeScope__Group__0 ) ) ; + // InternalApplicationConfiguration.g:1437:1: ruleClassTypeScope : ( ( rule__ClassTypeScope__Group__0 ) ) ; public final void ruleClassTypeScope() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:1541:2: ( ( ( rule__ClassTypeScope__Group__0 ) ) ) - // InternalApplicationConfiguration.g:1542:2: ( ( rule__ClassTypeScope__Group__0 ) ) + // InternalApplicationConfiguration.g:1441:2: ( ( ( rule__ClassTypeScope__Group__0 ) ) ) + // InternalApplicationConfiguration.g:1442:2: ( ( rule__ClassTypeScope__Group__0 ) ) { - // InternalApplicationConfiguration.g:1542:2: ( ( rule__ClassTypeScope__Group__0 ) ) - // InternalApplicationConfiguration.g:1543:3: ( rule__ClassTypeScope__Group__0 ) + // InternalApplicationConfiguration.g:1442:2: ( ( rule__ClassTypeScope__Group__0 ) ) + // InternalApplicationConfiguration.g:1443:3: ( rule__ClassTypeScope__Group__0 ) { before(grammarAccess.getClassTypeScopeAccess().getGroup()); - // InternalApplicationConfiguration.g:1544:3: ( rule__ClassTypeScope__Group__0 ) - // InternalApplicationConfiguration.g:1544:4: rule__ClassTypeScope__Group__0 + // InternalApplicationConfiguration.g:1444:3: ( rule__ClassTypeScope__Group__0 ) + // InternalApplicationConfiguration.g:1444:4: rule__ClassTypeScope__Group__0 { pushFollow(FOLLOW_2); rule__ClassTypeScope__Group__0(); @@ -4745,11 +4428,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "entryRuleObjectTypeScope" - // InternalApplicationConfiguration.g:1553:1: entryRuleObjectTypeScope : ruleObjectTypeScope EOF ; + // InternalApplicationConfiguration.g:1453:1: entryRuleObjectTypeScope : ruleObjectTypeScope EOF ; public final void entryRuleObjectTypeScope() throws RecognitionException { try { - // InternalApplicationConfiguration.g:1554:1: ( ruleObjectTypeScope EOF ) - // InternalApplicationConfiguration.g:1555:1: ruleObjectTypeScope EOF + // InternalApplicationConfiguration.g:1454:1: ( ruleObjectTypeScope EOF ) + // InternalApplicationConfiguration.g:1455:1: ruleObjectTypeScope EOF { before(grammarAccess.getObjectTypeScopeRule()); pushFollow(FOLLOW_1); @@ -4775,21 +4458,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "ruleObjectTypeScope" - // InternalApplicationConfiguration.g:1562:1: ruleObjectTypeScope : ( ( rule__ObjectTypeScope__Group__0 ) ) ; + // InternalApplicationConfiguration.g:1462:1: ruleObjectTypeScope : ( ( rule__ObjectTypeScope__Group__0 ) ) ; public final void ruleObjectTypeScope() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:1566:2: ( ( ( rule__ObjectTypeScope__Group__0 ) ) ) - // InternalApplicationConfiguration.g:1567:2: ( ( rule__ObjectTypeScope__Group__0 ) ) + // InternalApplicationConfiguration.g:1466:2: ( ( ( rule__ObjectTypeScope__Group__0 ) ) ) + // InternalApplicationConfiguration.g:1467:2: ( ( rule__ObjectTypeScope__Group__0 ) ) { - // InternalApplicationConfiguration.g:1567:2: ( ( rule__ObjectTypeScope__Group__0 ) ) - // InternalApplicationConfiguration.g:1568:3: ( rule__ObjectTypeScope__Group__0 ) + // InternalApplicationConfiguration.g:1467:2: ( ( rule__ObjectTypeScope__Group__0 ) ) + // InternalApplicationConfiguration.g:1468:3: ( rule__ObjectTypeScope__Group__0 ) { before(grammarAccess.getObjectTypeScopeAccess().getGroup()); - // InternalApplicationConfiguration.g:1569:3: ( rule__ObjectTypeScope__Group__0 ) - // InternalApplicationConfiguration.g:1569:4: rule__ObjectTypeScope__Group__0 + // InternalApplicationConfiguration.g:1469:3: ( rule__ObjectTypeScope__Group__0 ) + // InternalApplicationConfiguration.g:1469:4: rule__ObjectTypeScope__Group__0 { pushFollow(FOLLOW_2); rule__ObjectTypeScope__Group__0(); @@ -4822,11 +4505,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "entryRuleIntegerTypeScope" - // InternalApplicationConfiguration.g:1578:1: entryRuleIntegerTypeScope : ruleIntegerTypeScope EOF ; + // InternalApplicationConfiguration.g:1478:1: entryRuleIntegerTypeScope : ruleIntegerTypeScope EOF ; public final void entryRuleIntegerTypeScope() throws RecognitionException { try { - // InternalApplicationConfiguration.g:1579:1: ( ruleIntegerTypeScope EOF ) - // InternalApplicationConfiguration.g:1580:1: ruleIntegerTypeScope EOF + // InternalApplicationConfiguration.g:1479:1: ( ruleIntegerTypeScope EOF ) + // InternalApplicationConfiguration.g:1480:1: ruleIntegerTypeScope EOF { before(grammarAccess.getIntegerTypeScopeRule()); pushFollow(FOLLOW_1); @@ -4852,21 +4535,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "ruleIntegerTypeScope" - // InternalApplicationConfiguration.g:1587:1: ruleIntegerTypeScope : ( ( rule__IntegerTypeScope__Group__0 ) ) ; + // InternalApplicationConfiguration.g:1487:1: ruleIntegerTypeScope : ( ( rule__IntegerTypeScope__Group__0 ) ) ; public final void ruleIntegerTypeScope() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:1591:2: ( ( ( rule__IntegerTypeScope__Group__0 ) ) ) - // InternalApplicationConfiguration.g:1592:2: ( ( rule__IntegerTypeScope__Group__0 ) ) + // InternalApplicationConfiguration.g:1491:2: ( ( ( rule__IntegerTypeScope__Group__0 ) ) ) + // InternalApplicationConfiguration.g:1492:2: ( ( rule__IntegerTypeScope__Group__0 ) ) { - // InternalApplicationConfiguration.g:1592:2: ( ( rule__IntegerTypeScope__Group__0 ) ) - // InternalApplicationConfiguration.g:1593:3: ( rule__IntegerTypeScope__Group__0 ) + // InternalApplicationConfiguration.g:1492:2: ( ( rule__IntegerTypeScope__Group__0 ) ) + // InternalApplicationConfiguration.g:1493:3: ( rule__IntegerTypeScope__Group__0 ) { before(grammarAccess.getIntegerTypeScopeAccess().getGroup()); - // InternalApplicationConfiguration.g:1594:3: ( rule__IntegerTypeScope__Group__0 ) - // InternalApplicationConfiguration.g:1594:4: rule__IntegerTypeScope__Group__0 + // InternalApplicationConfiguration.g:1494:3: ( rule__IntegerTypeScope__Group__0 ) + // InternalApplicationConfiguration.g:1494:4: rule__IntegerTypeScope__Group__0 { pushFollow(FOLLOW_2); rule__IntegerTypeScope__Group__0(); @@ -4899,11 +4582,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "entryRuleRealTypeScope" - // InternalApplicationConfiguration.g:1603:1: entryRuleRealTypeScope : ruleRealTypeScope EOF ; + // InternalApplicationConfiguration.g:1503:1: entryRuleRealTypeScope : ruleRealTypeScope EOF ; public final void entryRuleRealTypeScope() throws RecognitionException { try { - // InternalApplicationConfiguration.g:1604:1: ( ruleRealTypeScope EOF ) - // InternalApplicationConfiguration.g:1605:1: ruleRealTypeScope EOF + // InternalApplicationConfiguration.g:1504:1: ( ruleRealTypeScope EOF ) + // InternalApplicationConfiguration.g:1505:1: ruleRealTypeScope EOF { before(grammarAccess.getRealTypeScopeRule()); pushFollow(FOLLOW_1); @@ -4929,21 +4612,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "ruleRealTypeScope" - // InternalApplicationConfiguration.g:1612:1: ruleRealTypeScope : ( ( rule__RealTypeScope__Group__0 ) ) ; + // InternalApplicationConfiguration.g:1512:1: ruleRealTypeScope : ( ( rule__RealTypeScope__Group__0 ) ) ; public final void ruleRealTypeScope() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:1616:2: ( ( ( rule__RealTypeScope__Group__0 ) ) ) - // InternalApplicationConfiguration.g:1617:2: ( ( rule__RealTypeScope__Group__0 ) ) + // InternalApplicationConfiguration.g:1516:2: ( ( ( rule__RealTypeScope__Group__0 ) ) ) + // InternalApplicationConfiguration.g:1517:2: ( ( rule__RealTypeScope__Group__0 ) ) { - // InternalApplicationConfiguration.g:1617:2: ( ( rule__RealTypeScope__Group__0 ) ) - // InternalApplicationConfiguration.g:1618:3: ( rule__RealTypeScope__Group__0 ) + // InternalApplicationConfiguration.g:1517:2: ( ( rule__RealTypeScope__Group__0 ) ) + // InternalApplicationConfiguration.g:1518:3: ( rule__RealTypeScope__Group__0 ) { before(grammarAccess.getRealTypeScopeAccess().getGroup()); - // InternalApplicationConfiguration.g:1619:3: ( rule__RealTypeScope__Group__0 ) - // InternalApplicationConfiguration.g:1619:4: rule__RealTypeScope__Group__0 + // InternalApplicationConfiguration.g:1519:3: ( rule__RealTypeScope__Group__0 ) + // InternalApplicationConfiguration.g:1519:4: rule__RealTypeScope__Group__0 { pushFollow(FOLLOW_2); rule__RealTypeScope__Group__0(); @@ -4976,11 +4659,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "entryRuleStringTypeScope" - // InternalApplicationConfiguration.g:1628:1: entryRuleStringTypeScope : ruleStringTypeScope EOF ; + // InternalApplicationConfiguration.g:1528:1: entryRuleStringTypeScope : ruleStringTypeScope EOF ; public final void entryRuleStringTypeScope() throws RecognitionException { try { - // InternalApplicationConfiguration.g:1629:1: ( ruleStringTypeScope EOF ) - // InternalApplicationConfiguration.g:1630:1: ruleStringTypeScope EOF + // InternalApplicationConfiguration.g:1529:1: ( ruleStringTypeScope EOF ) + // InternalApplicationConfiguration.g:1530:1: ruleStringTypeScope EOF { before(grammarAccess.getStringTypeScopeRule()); pushFollow(FOLLOW_1); @@ -5006,21 +4689,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "ruleStringTypeScope" - // InternalApplicationConfiguration.g:1637:1: ruleStringTypeScope : ( ( rule__StringTypeScope__Group__0 ) ) ; + // InternalApplicationConfiguration.g:1537:1: ruleStringTypeScope : ( ( rule__StringTypeScope__Group__0 ) ) ; public final void ruleStringTypeScope() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:1641:2: ( ( ( rule__StringTypeScope__Group__0 ) ) ) - // InternalApplicationConfiguration.g:1642:2: ( ( rule__StringTypeScope__Group__0 ) ) + // InternalApplicationConfiguration.g:1541:2: ( ( ( rule__StringTypeScope__Group__0 ) ) ) + // InternalApplicationConfiguration.g:1542:2: ( ( rule__StringTypeScope__Group__0 ) ) { - // InternalApplicationConfiguration.g:1642:2: ( ( rule__StringTypeScope__Group__0 ) ) - // InternalApplicationConfiguration.g:1643:3: ( rule__StringTypeScope__Group__0 ) + // InternalApplicationConfiguration.g:1542:2: ( ( rule__StringTypeScope__Group__0 ) ) + // InternalApplicationConfiguration.g:1543:3: ( rule__StringTypeScope__Group__0 ) { before(grammarAccess.getStringTypeScopeAccess().getGroup()); - // InternalApplicationConfiguration.g:1644:3: ( rule__StringTypeScope__Group__0 ) - // InternalApplicationConfiguration.g:1644:4: rule__StringTypeScope__Group__0 + // InternalApplicationConfiguration.g:1544:3: ( rule__StringTypeScope__Group__0 ) + // InternalApplicationConfiguration.g:1544:4: rule__StringTypeScope__Group__0 { pushFollow(FOLLOW_2); rule__StringTypeScope__Group__0(); @@ -5053,11 +4736,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "entryRuleClassReference" - // InternalApplicationConfiguration.g:1653:1: entryRuleClassReference : ruleClassReference EOF ; + // InternalApplicationConfiguration.g:1553:1: entryRuleClassReference : ruleClassReference EOF ; public final void entryRuleClassReference() throws RecognitionException { try { - // InternalApplicationConfiguration.g:1654:1: ( ruleClassReference EOF ) - // InternalApplicationConfiguration.g:1655:1: ruleClassReference EOF + // InternalApplicationConfiguration.g:1554:1: ( ruleClassReference EOF ) + // InternalApplicationConfiguration.g:1555:1: ruleClassReference EOF { before(grammarAccess.getClassReferenceRule()); pushFollow(FOLLOW_1); @@ -5083,21 +4766,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "ruleClassReference" - // InternalApplicationConfiguration.g:1662:1: ruleClassReference : ( ( rule__ClassReference__Group__0 ) ) ; + // InternalApplicationConfiguration.g:1562:1: ruleClassReference : ( ( rule__ClassReference__Group__0 ) ) ; public final void ruleClassReference() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:1666:2: ( ( ( rule__ClassReference__Group__0 ) ) ) - // InternalApplicationConfiguration.g:1667:2: ( ( rule__ClassReference__Group__0 ) ) + // InternalApplicationConfiguration.g:1566:2: ( ( ( rule__ClassReference__Group__0 ) ) ) + // InternalApplicationConfiguration.g:1567:2: ( ( rule__ClassReference__Group__0 ) ) { - // InternalApplicationConfiguration.g:1667:2: ( ( rule__ClassReference__Group__0 ) ) - // InternalApplicationConfiguration.g:1668:3: ( rule__ClassReference__Group__0 ) + // InternalApplicationConfiguration.g:1567:2: ( ( rule__ClassReference__Group__0 ) ) + // InternalApplicationConfiguration.g:1568:3: ( rule__ClassReference__Group__0 ) { before(grammarAccess.getClassReferenceAccess().getGroup()); - // InternalApplicationConfiguration.g:1669:3: ( rule__ClassReference__Group__0 ) - // InternalApplicationConfiguration.g:1669:4: rule__ClassReference__Group__0 + // InternalApplicationConfiguration.g:1569:3: ( rule__ClassReference__Group__0 ) + // InternalApplicationConfiguration.g:1569:4: rule__ClassReference__Group__0 { pushFollow(FOLLOW_2); rule__ClassReference__Group__0(); @@ -5130,11 +4813,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "entryRuleObjectReference" - // InternalApplicationConfiguration.g:1678:1: entryRuleObjectReference : ruleObjectReference EOF ; + // InternalApplicationConfiguration.g:1578:1: entryRuleObjectReference : ruleObjectReference EOF ; public final void entryRuleObjectReference() throws RecognitionException { try { - // InternalApplicationConfiguration.g:1679:1: ( ruleObjectReference EOF ) - // InternalApplicationConfiguration.g:1680:1: ruleObjectReference EOF + // InternalApplicationConfiguration.g:1579:1: ( ruleObjectReference EOF ) + // InternalApplicationConfiguration.g:1580:1: ruleObjectReference EOF { before(grammarAccess.getObjectReferenceRule()); pushFollow(FOLLOW_1); @@ -5160,21 +4843,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "ruleObjectReference" - // InternalApplicationConfiguration.g:1687:1: ruleObjectReference : ( ( rule__ObjectReference__Group__0 ) ) ; + // InternalApplicationConfiguration.g:1587:1: ruleObjectReference : ( ( rule__ObjectReference__Group__0 ) ) ; public final void ruleObjectReference() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:1691:2: ( ( ( rule__ObjectReference__Group__0 ) ) ) - // InternalApplicationConfiguration.g:1692:2: ( ( rule__ObjectReference__Group__0 ) ) + // InternalApplicationConfiguration.g:1591:2: ( ( ( rule__ObjectReference__Group__0 ) ) ) + // InternalApplicationConfiguration.g:1592:2: ( ( rule__ObjectReference__Group__0 ) ) { - // InternalApplicationConfiguration.g:1692:2: ( ( rule__ObjectReference__Group__0 ) ) - // InternalApplicationConfiguration.g:1693:3: ( rule__ObjectReference__Group__0 ) + // InternalApplicationConfiguration.g:1592:2: ( ( rule__ObjectReference__Group__0 ) ) + // InternalApplicationConfiguration.g:1593:3: ( rule__ObjectReference__Group__0 ) { before(grammarAccess.getObjectReferenceAccess().getGroup()); - // InternalApplicationConfiguration.g:1694:3: ( rule__ObjectReference__Group__0 ) - // InternalApplicationConfiguration.g:1694:4: rule__ObjectReference__Group__0 + // InternalApplicationConfiguration.g:1594:3: ( rule__ObjectReference__Group__0 ) + // InternalApplicationConfiguration.g:1594:4: rule__ObjectReference__Group__0 { pushFollow(FOLLOW_2); rule__ObjectReference__Group__0(); @@ -5207,11 +4890,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "entryRuleIntegerReference" - // InternalApplicationConfiguration.g:1703:1: entryRuleIntegerReference : ruleIntegerReference EOF ; + // InternalApplicationConfiguration.g:1603:1: entryRuleIntegerReference : ruleIntegerReference EOF ; public final void entryRuleIntegerReference() throws RecognitionException { try { - // InternalApplicationConfiguration.g:1704:1: ( ruleIntegerReference EOF ) - // InternalApplicationConfiguration.g:1705:1: ruleIntegerReference EOF + // InternalApplicationConfiguration.g:1604:1: ( ruleIntegerReference EOF ) + // InternalApplicationConfiguration.g:1605:1: ruleIntegerReference EOF { before(grammarAccess.getIntegerReferenceRule()); pushFollow(FOLLOW_1); @@ -5237,21 +4920,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "ruleIntegerReference" - // InternalApplicationConfiguration.g:1712:1: ruleIntegerReference : ( ( rule__IntegerReference__Group__0 ) ) ; + // InternalApplicationConfiguration.g:1612:1: ruleIntegerReference : ( ( rule__IntegerReference__Group__0 ) ) ; public final void ruleIntegerReference() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:1716:2: ( ( ( rule__IntegerReference__Group__0 ) ) ) - // InternalApplicationConfiguration.g:1717:2: ( ( rule__IntegerReference__Group__0 ) ) + // InternalApplicationConfiguration.g:1616:2: ( ( ( rule__IntegerReference__Group__0 ) ) ) + // InternalApplicationConfiguration.g:1617:2: ( ( rule__IntegerReference__Group__0 ) ) { - // InternalApplicationConfiguration.g:1717:2: ( ( rule__IntegerReference__Group__0 ) ) - // InternalApplicationConfiguration.g:1718:3: ( rule__IntegerReference__Group__0 ) + // InternalApplicationConfiguration.g:1617:2: ( ( rule__IntegerReference__Group__0 ) ) + // InternalApplicationConfiguration.g:1618:3: ( rule__IntegerReference__Group__0 ) { before(grammarAccess.getIntegerReferenceAccess().getGroup()); - // InternalApplicationConfiguration.g:1719:3: ( rule__IntegerReference__Group__0 ) - // InternalApplicationConfiguration.g:1719:4: rule__IntegerReference__Group__0 + // InternalApplicationConfiguration.g:1619:3: ( rule__IntegerReference__Group__0 ) + // InternalApplicationConfiguration.g:1619:4: rule__IntegerReference__Group__0 { pushFollow(FOLLOW_2); rule__IntegerReference__Group__0(); @@ -5284,11 +4967,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "entryRuleRealReference" - // InternalApplicationConfiguration.g:1728:1: entryRuleRealReference : ruleRealReference EOF ; + // InternalApplicationConfiguration.g:1628:1: entryRuleRealReference : ruleRealReference EOF ; public final void entryRuleRealReference() throws RecognitionException { try { - // InternalApplicationConfiguration.g:1729:1: ( ruleRealReference EOF ) - // InternalApplicationConfiguration.g:1730:1: ruleRealReference EOF + // InternalApplicationConfiguration.g:1629:1: ( ruleRealReference EOF ) + // InternalApplicationConfiguration.g:1630:1: ruleRealReference EOF { before(grammarAccess.getRealReferenceRule()); pushFollow(FOLLOW_1); @@ -5314,21 +4997,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "ruleRealReference" - // InternalApplicationConfiguration.g:1737:1: ruleRealReference : ( ( rule__RealReference__Group__0 ) ) ; + // InternalApplicationConfiguration.g:1637:1: ruleRealReference : ( ( rule__RealReference__Group__0 ) ) ; public final void ruleRealReference() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:1741:2: ( ( ( rule__RealReference__Group__0 ) ) ) - // InternalApplicationConfiguration.g:1742:2: ( ( rule__RealReference__Group__0 ) ) + // InternalApplicationConfiguration.g:1641:2: ( ( ( rule__RealReference__Group__0 ) ) ) + // InternalApplicationConfiguration.g:1642:2: ( ( rule__RealReference__Group__0 ) ) { - // InternalApplicationConfiguration.g:1742:2: ( ( rule__RealReference__Group__0 ) ) - // InternalApplicationConfiguration.g:1743:3: ( rule__RealReference__Group__0 ) + // InternalApplicationConfiguration.g:1642:2: ( ( rule__RealReference__Group__0 ) ) + // InternalApplicationConfiguration.g:1643:3: ( rule__RealReference__Group__0 ) { before(grammarAccess.getRealReferenceAccess().getGroup()); - // InternalApplicationConfiguration.g:1744:3: ( rule__RealReference__Group__0 ) - // InternalApplicationConfiguration.g:1744:4: rule__RealReference__Group__0 + // InternalApplicationConfiguration.g:1644:3: ( rule__RealReference__Group__0 ) + // InternalApplicationConfiguration.g:1644:4: rule__RealReference__Group__0 { pushFollow(FOLLOW_2); rule__RealReference__Group__0(); @@ -5361,11 +5044,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "entryRuleStringReference" - // InternalApplicationConfiguration.g:1753:1: entryRuleStringReference : ruleStringReference EOF ; + // InternalApplicationConfiguration.g:1653:1: entryRuleStringReference : ruleStringReference EOF ; public final void entryRuleStringReference() throws RecognitionException { try { - // InternalApplicationConfiguration.g:1754:1: ( ruleStringReference EOF ) - // InternalApplicationConfiguration.g:1755:1: ruleStringReference EOF + // InternalApplicationConfiguration.g:1654:1: ( ruleStringReference EOF ) + // InternalApplicationConfiguration.g:1655:1: ruleStringReference EOF { before(grammarAccess.getStringReferenceRule()); pushFollow(FOLLOW_1); @@ -5391,21 +5074,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "ruleStringReference" - // InternalApplicationConfiguration.g:1762:1: ruleStringReference : ( ( rule__StringReference__Group__0 ) ) ; + // InternalApplicationConfiguration.g:1662:1: ruleStringReference : ( ( rule__StringReference__Group__0 ) ) ; public final void ruleStringReference() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:1766:2: ( ( ( rule__StringReference__Group__0 ) ) ) - // InternalApplicationConfiguration.g:1767:2: ( ( rule__StringReference__Group__0 ) ) + // InternalApplicationConfiguration.g:1666:2: ( ( ( rule__StringReference__Group__0 ) ) ) + // InternalApplicationConfiguration.g:1667:2: ( ( rule__StringReference__Group__0 ) ) { - // InternalApplicationConfiguration.g:1767:2: ( ( rule__StringReference__Group__0 ) ) - // InternalApplicationConfiguration.g:1768:3: ( rule__StringReference__Group__0 ) + // InternalApplicationConfiguration.g:1667:2: ( ( rule__StringReference__Group__0 ) ) + // InternalApplicationConfiguration.g:1668:3: ( rule__StringReference__Group__0 ) { before(grammarAccess.getStringReferenceAccess().getGroup()); - // InternalApplicationConfiguration.g:1769:3: ( rule__StringReference__Group__0 ) - // InternalApplicationConfiguration.g:1769:4: rule__StringReference__Group__0 + // InternalApplicationConfiguration.g:1669:3: ( rule__StringReference__Group__0 ) + // InternalApplicationConfiguration.g:1669:4: rule__StringReference__Group__0 { pushFollow(FOLLOW_2); rule__StringReference__Group__0(); @@ -5438,11 +5121,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "entryRuleExactNumber" - // InternalApplicationConfiguration.g:1778:1: entryRuleExactNumber : ruleExactNumber EOF ; + // InternalApplicationConfiguration.g:1678:1: entryRuleExactNumber : ruleExactNumber EOF ; public final void entryRuleExactNumber() throws RecognitionException { try { - // InternalApplicationConfiguration.g:1779:1: ( ruleExactNumber EOF ) - // InternalApplicationConfiguration.g:1780:1: ruleExactNumber EOF + // InternalApplicationConfiguration.g:1679:1: ( ruleExactNumber EOF ) + // InternalApplicationConfiguration.g:1680:1: ruleExactNumber EOF { before(grammarAccess.getExactNumberRule()); pushFollow(FOLLOW_1); @@ -5468,21 +5151,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "ruleExactNumber" - // InternalApplicationConfiguration.g:1787:1: ruleExactNumber : ( ( rule__ExactNumber__Alternatives ) ) ; + // InternalApplicationConfiguration.g:1687:1: ruleExactNumber : ( ( rule__ExactNumber__Alternatives ) ) ; public final void ruleExactNumber() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:1791:2: ( ( ( rule__ExactNumber__Alternatives ) ) ) - // InternalApplicationConfiguration.g:1792:2: ( ( rule__ExactNumber__Alternatives ) ) + // InternalApplicationConfiguration.g:1691:2: ( ( ( rule__ExactNumber__Alternatives ) ) ) + // InternalApplicationConfiguration.g:1692:2: ( ( rule__ExactNumber__Alternatives ) ) { - // InternalApplicationConfiguration.g:1792:2: ( ( rule__ExactNumber__Alternatives ) ) - // InternalApplicationConfiguration.g:1793:3: ( rule__ExactNumber__Alternatives ) + // InternalApplicationConfiguration.g:1692:2: ( ( rule__ExactNumber__Alternatives ) ) + // InternalApplicationConfiguration.g:1693:3: ( rule__ExactNumber__Alternatives ) { before(grammarAccess.getExactNumberAccess().getAlternatives()); - // InternalApplicationConfiguration.g:1794:3: ( rule__ExactNumber__Alternatives ) - // InternalApplicationConfiguration.g:1794:4: rule__ExactNumber__Alternatives + // InternalApplicationConfiguration.g:1694:3: ( rule__ExactNumber__Alternatives ) + // InternalApplicationConfiguration.g:1694:4: rule__ExactNumber__Alternatives { pushFollow(FOLLOW_2); rule__ExactNumber__Alternatives(); @@ -5515,11 +5198,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "entryRuleIntervallNumber" - // InternalApplicationConfiguration.g:1803:1: entryRuleIntervallNumber : ruleIntervallNumber EOF ; + // InternalApplicationConfiguration.g:1703:1: entryRuleIntervallNumber : ruleIntervallNumber EOF ; public final void entryRuleIntervallNumber() throws RecognitionException { try { - // InternalApplicationConfiguration.g:1804:1: ( ruleIntervallNumber EOF ) - // InternalApplicationConfiguration.g:1805:1: ruleIntervallNumber EOF + // InternalApplicationConfiguration.g:1704:1: ( ruleIntervallNumber EOF ) + // InternalApplicationConfiguration.g:1705:1: ruleIntervallNumber EOF { before(grammarAccess.getIntervallNumberRule()); pushFollow(FOLLOW_1); @@ -5545,21 +5228,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "ruleIntervallNumber" - // InternalApplicationConfiguration.g:1812:1: ruleIntervallNumber : ( ( rule__IntervallNumber__Group__0 ) ) ; + // InternalApplicationConfiguration.g:1712:1: ruleIntervallNumber : ( ( rule__IntervallNumber__Group__0 ) ) ; public final void ruleIntervallNumber() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:1816:2: ( ( ( rule__IntervallNumber__Group__0 ) ) ) - // InternalApplicationConfiguration.g:1817:2: ( ( rule__IntervallNumber__Group__0 ) ) + // InternalApplicationConfiguration.g:1716:2: ( ( ( rule__IntervallNumber__Group__0 ) ) ) + // InternalApplicationConfiguration.g:1717:2: ( ( rule__IntervallNumber__Group__0 ) ) { - // InternalApplicationConfiguration.g:1817:2: ( ( rule__IntervallNumber__Group__0 ) ) - // InternalApplicationConfiguration.g:1818:3: ( rule__IntervallNumber__Group__0 ) + // InternalApplicationConfiguration.g:1717:2: ( ( rule__IntervallNumber__Group__0 ) ) + // InternalApplicationConfiguration.g:1718:3: ( rule__IntervallNumber__Group__0 ) { before(grammarAccess.getIntervallNumberAccess().getGroup()); - // InternalApplicationConfiguration.g:1819:3: ( rule__IntervallNumber__Group__0 ) - // InternalApplicationConfiguration.g:1819:4: rule__IntervallNumber__Group__0 + // InternalApplicationConfiguration.g:1719:3: ( rule__IntervallNumber__Group__0 ) + // InternalApplicationConfiguration.g:1719:4: rule__IntervallNumber__Group__0 { pushFollow(FOLLOW_2); rule__IntervallNumber__Group__0(); @@ -5592,11 +5275,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "entryRuleIntEnumberation" - // InternalApplicationConfiguration.g:1828:1: entryRuleIntEnumberation : ruleIntEnumberation EOF ; + // InternalApplicationConfiguration.g:1728:1: entryRuleIntEnumberation : ruleIntEnumberation EOF ; public final void entryRuleIntEnumberation() throws RecognitionException { try { - // InternalApplicationConfiguration.g:1829:1: ( ruleIntEnumberation EOF ) - // InternalApplicationConfiguration.g:1830:1: ruleIntEnumberation EOF + // InternalApplicationConfiguration.g:1729:1: ( ruleIntEnumberation EOF ) + // InternalApplicationConfiguration.g:1730:1: ruleIntEnumberation EOF { before(grammarAccess.getIntEnumberationRule()); pushFollow(FOLLOW_1); @@ -5622,21 +5305,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "ruleIntEnumberation" - // InternalApplicationConfiguration.g:1837:1: ruleIntEnumberation : ( ( rule__IntEnumberation__Group__0 ) ) ; + // InternalApplicationConfiguration.g:1737:1: ruleIntEnumberation : ( ( rule__IntEnumberation__Group__0 ) ) ; public final void ruleIntEnumberation() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:1841:2: ( ( ( rule__IntEnumberation__Group__0 ) ) ) - // InternalApplicationConfiguration.g:1842:2: ( ( rule__IntEnumberation__Group__0 ) ) + // InternalApplicationConfiguration.g:1741:2: ( ( ( rule__IntEnumberation__Group__0 ) ) ) + // InternalApplicationConfiguration.g:1742:2: ( ( rule__IntEnumberation__Group__0 ) ) { - // InternalApplicationConfiguration.g:1842:2: ( ( rule__IntEnumberation__Group__0 ) ) - // InternalApplicationConfiguration.g:1843:3: ( rule__IntEnumberation__Group__0 ) + // InternalApplicationConfiguration.g:1742:2: ( ( rule__IntEnumberation__Group__0 ) ) + // InternalApplicationConfiguration.g:1743:3: ( rule__IntEnumberation__Group__0 ) { before(grammarAccess.getIntEnumberationAccess().getGroup()); - // InternalApplicationConfiguration.g:1844:3: ( rule__IntEnumberation__Group__0 ) - // InternalApplicationConfiguration.g:1844:4: rule__IntEnumberation__Group__0 + // InternalApplicationConfiguration.g:1744:3: ( rule__IntEnumberation__Group__0 ) + // InternalApplicationConfiguration.g:1744:4: rule__IntEnumberation__Group__0 { pushFollow(FOLLOW_2); rule__IntEnumberation__Group__0(); @@ -5669,11 +5352,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "entryRuleRealEnumeration" - // InternalApplicationConfiguration.g:1853:1: entryRuleRealEnumeration : ruleRealEnumeration EOF ; + // InternalApplicationConfiguration.g:1753:1: entryRuleRealEnumeration : ruleRealEnumeration EOF ; public final void entryRuleRealEnumeration() throws RecognitionException { try { - // InternalApplicationConfiguration.g:1854:1: ( ruleRealEnumeration EOF ) - // InternalApplicationConfiguration.g:1855:1: ruleRealEnumeration EOF + // InternalApplicationConfiguration.g:1754:1: ( ruleRealEnumeration EOF ) + // InternalApplicationConfiguration.g:1755:1: ruleRealEnumeration EOF { before(grammarAccess.getRealEnumerationRule()); pushFollow(FOLLOW_1); @@ -5699,21 +5382,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "ruleRealEnumeration" - // InternalApplicationConfiguration.g:1862:1: ruleRealEnumeration : ( ( rule__RealEnumeration__Group__0 ) ) ; + // InternalApplicationConfiguration.g:1762:1: ruleRealEnumeration : ( ( rule__RealEnumeration__Group__0 ) ) ; public final void ruleRealEnumeration() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:1866:2: ( ( ( rule__RealEnumeration__Group__0 ) ) ) - // InternalApplicationConfiguration.g:1867:2: ( ( rule__RealEnumeration__Group__0 ) ) + // InternalApplicationConfiguration.g:1766:2: ( ( ( rule__RealEnumeration__Group__0 ) ) ) + // InternalApplicationConfiguration.g:1767:2: ( ( rule__RealEnumeration__Group__0 ) ) { - // InternalApplicationConfiguration.g:1867:2: ( ( rule__RealEnumeration__Group__0 ) ) - // InternalApplicationConfiguration.g:1868:3: ( rule__RealEnumeration__Group__0 ) + // InternalApplicationConfiguration.g:1767:2: ( ( rule__RealEnumeration__Group__0 ) ) + // InternalApplicationConfiguration.g:1768:3: ( rule__RealEnumeration__Group__0 ) { before(grammarAccess.getRealEnumerationAccess().getGroup()); - // InternalApplicationConfiguration.g:1869:3: ( rule__RealEnumeration__Group__0 ) - // InternalApplicationConfiguration.g:1869:4: rule__RealEnumeration__Group__0 + // InternalApplicationConfiguration.g:1769:3: ( rule__RealEnumeration__Group__0 ) + // InternalApplicationConfiguration.g:1769:4: rule__RealEnumeration__Group__0 { pushFollow(FOLLOW_2); rule__RealEnumeration__Group__0(); @@ -5746,11 +5429,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "entryRuleStringEnumeration" - // InternalApplicationConfiguration.g:1878:1: entryRuleStringEnumeration : ruleStringEnumeration EOF ; + // InternalApplicationConfiguration.g:1778:1: entryRuleStringEnumeration : ruleStringEnumeration EOF ; public final void entryRuleStringEnumeration() throws RecognitionException { try { - // InternalApplicationConfiguration.g:1879:1: ( ruleStringEnumeration EOF ) - // InternalApplicationConfiguration.g:1880:1: ruleStringEnumeration EOF + // InternalApplicationConfiguration.g:1779:1: ( ruleStringEnumeration EOF ) + // InternalApplicationConfiguration.g:1780:1: ruleStringEnumeration EOF { before(grammarAccess.getStringEnumerationRule()); pushFollow(FOLLOW_1); @@ -5776,21 +5459,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "ruleStringEnumeration" - // InternalApplicationConfiguration.g:1887:1: ruleStringEnumeration : ( ( rule__StringEnumeration__Group__0 ) ) ; + // InternalApplicationConfiguration.g:1787:1: ruleStringEnumeration : ( ( rule__StringEnumeration__Group__0 ) ) ; public final void ruleStringEnumeration() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:1891:2: ( ( ( rule__StringEnumeration__Group__0 ) ) ) - // InternalApplicationConfiguration.g:1892:2: ( ( rule__StringEnumeration__Group__0 ) ) + // InternalApplicationConfiguration.g:1791:2: ( ( ( rule__StringEnumeration__Group__0 ) ) ) + // InternalApplicationConfiguration.g:1792:2: ( ( rule__StringEnumeration__Group__0 ) ) { - // InternalApplicationConfiguration.g:1892:2: ( ( rule__StringEnumeration__Group__0 ) ) - // InternalApplicationConfiguration.g:1893:3: ( rule__StringEnumeration__Group__0 ) + // InternalApplicationConfiguration.g:1792:2: ( ( rule__StringEnumeration__Group__0 ) ) + // InternalApplicationConfiguration.g:1793:3: ( rule__StringEnumeration__Group__0 ) { before(grammarAccess.getStringEnumerationAccess().getGroup()); - // InternalApplicationConfiguration.g:1894:3: ( rule__StringEnumeration__Group__0 ) - // InternalApplicationConfiguration.g:1894:4: rule__StringEnumeration__Group__0 + // InternalApplicationConfiguration.g:1794:3: ( rule__StringEnumeration__Group__0 ) + // InternalApplicationConfiguration.g:1794:4: rule__StringEnumeration__Group__0 { pushFollow(FOLLOW_2); rule__StringEnumeration__Group__0(); @@ -5823,11 +5506,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "entryRuleScopeDeclaration" - // InternalApplicationConfiguration.g:1903:1: entryRuleScopeDeclaration : ruleScopeDeclaration EOF ; + // InternalApplicationConfiguration.g:1803:1: entryRuleScopeDeclaration : ruleScopeDeclaration EOF ; public final void entryRuleScopeDeclaration() throws RecognitionException { try { - // InternalApplicationConfiguration.g:1904:1: ( ruleScopeDeclaration EOF ) - // InternalApplicationConfiguration.g:1905:1: ruleScopeDeclaration EOF + // InternalApplicationConfiguration.g:1804:1: ( ruleScopeDeclaration EOF ) + // InternalApplicationConfiguration.g:1805:1: ruleScopeDeclaration EOF { before(grammarAccess.getScopeDeclarationRule()); pushFollow(FOLLOW_1); @@ -5853,21 +5536,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "ruleScopeDeclaration" - // InternalApplicationConfiguration.g:1912:1: ruleScopeDeclaration : ( ( rule__ScopeDeclaration__Group__0 ) ) ; + // InternalApplicationConfiguration.g:1812:1: ruleScopeDeclaration : ( ( rule__ScopeDeclaration__Group__0 ) ) ; public final void ruleScopeDeclaration() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:1916:2: ( ( ( rule__ScopeDeclaration__Group__0 ) ) ) - // InternalApplicationConfiguration.g:1917:2: ( ( rule__ScopeDeclaration__Group__0 ) ) + // InternalApplicationConfiguration.g:1816:2: ( ( ( rule__ScopeDeclaration__Group__0 ) ) ) + // InternalApplicationConfiguration.g:1817:2: ( ( rule__ScopeDeclaration__Group__0 ) ) { - // InternalApplicationConfiguration.g:1917:2: ( ( rule__ScopeDeclaration__Group__0 ) ) - // InternalApplicationConfiguration.g:1918:3: ( rule__ScopeDeclaration__Group__0 ) + // InternalApplicationConfiguration.g:1817:2: ( ( rule__ScopeDeclaration__Group__0 ) ) + // InternalApplicationConfiguration.g:1818:3: ( rule__ScopeDeclaration__Group__0 ) { before(grammarAccess.getScopeDeclarationAccess().getGroup()); - // InternalApplicationConfiguration.g:1919:3: ( rule__ScopeDeclaration__Group__0 ) - // InternalApplicationConfiguration.g:1919:4: rule__ScopeDeclaration__Group__0 + // InternalApplicationConfiguration.g:1819:3: ( rule__ScopeDeclaration__Group__0 ) + // InternalApplicationConfiguration.g:1819:4: rule__ScopeDeclaration__Group__0 { pushFollow(FOLLOW_2); rule__ScopeDeclaration__Group__0(); @@ -5900,11 +5583,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "entryRuleScopeReference" - // InternalApplicationConfiguration.g:1928:1: entryRuleScopeReference : ruleScopeReference EOF ; + // InternalApplicationConfiguration.g:1828:1: entryRuleScopeReference : ruleScopeReference EOF ; public final void entryRuleScopeReference() throws RecognitionException { try { - // InternalApplicationConfiguration.g:1929:1: ( ruleScopeReference EOF ) - // InternalApplicationConfiguration.g:1930:1: ruleScopeReference EOF + // InternalApplicationConfiguration.g:1829:1: ( ruleScopeReference EOF ) + // InternalApplicationConfiguration.g:1830:1: ruleScopeReference EOF { before(grammarAccess.getScopeReferenceRule()); pushFollow(FOLLOW_1); @@ -5930,21 +5613,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "ruleScopeReference" - // InternalApplicationConfiguration.g:1937:1: ruleScopeReference : ( ( rule__ScopeReference__ReferredAssignment ) ) ; + // InternalApplicationConfiguration.g:1837:1: ruleScopeReference : ( ( rule__ScopeReference__ReferredAssignment ) ) ; public final void ruleScopeReference() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:1941:2: ( ( ( rule__ScopeReference__ReferredAssignment ) ) ) - // InternalApplicationConfiguration.g:1942:2: ( ( rule__ScopeReference__ReferredAssignment ) ) + // InternalApplicationConfiguration.g:1841:2: ( ( ( rule__ScopeReference__ReferredAssignment ) ) ) + // InternalApplicationConfiguration.g:1842:2: ( ( rule__ScopeReference__ReferredAssignment ) ) { - // InternalApplicationConfiguration.g:1942:2: ( ( rule__ScopeReference__ReferredAssignment ) ) - // InternalApplicationConfiguration.g:1943:3: ( rule__ScopeReference__ReferredAssignment ) + // InternalApplicationConfiguration.g:1842:2: ( ( rule__ScopeReference__ReferredAssignment ) ) + // InternalApplicationConfiguration.g:1843:3: ( rule__ScopeReference__ReferredAssignment ) { before(grammarAccess.getScopeReferenceAccess().getReferredAssignment()); - // InternalApplicationConfiguration.g:1944:3: ( rule__ScopeReference__ReferredAssignment ) - // InternalApplicationConfiguration.g:1944:4: rule__ScopeReference__ReferredAssignment + // InternalApplicationConfiguration.g:1844:3: ( rule__ScopeReference__ReferredAssignment ) + // InternalApplicationConfiguration.g:1844:4: rule__ScopeReference__ReferredAssignment { pushFollow(FOLLOW_2); rule__ScopeReference__ReferredAssignment(); @@ -5977,11 +5660,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "entryRuleScope" - // InternalApplicationConfiguration.g:1953:1: entryRuleScope : ruleScope EOF ; + // InternalApplicationConfiguration.g:1853:1: entryRuleScope : ruleScope EOF ; public final void entryRuleScope() throws RecognitionException { try { - // InternalApplicationConfiguration.g:1954:1: ( ruleScope EOF ) - // InternalApplicationConfiguration.g:1955:1: ruleScope EOF + // InternalApplicationConfiguration.g:1854:1: ( ruleScope EOF ) + // InternalApplicationConfiguration.g:1855:1: ruleScope EOF { before(grammarAccess.getScopeRule()); pushFollow(FOLLOW_1); @@ -6007,21 +5690,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "ruleScope" - // InternalApplicationConfiguration.g:1962:1: ruleScope : ( ( rule__Scope__Alternatives ) ) ; + // InternalApplicationConfiguration.g:1862:1: ruleScope : ( ( rule__Scope__Alternatives ) ) ; public final void ruleScope() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:1966:2: ( ( ( rule__Scope__Alternatives ) ) ) - // InternalApplicationConfiguration.g:1967:2: ( ( rule__Scope__Alternatives ) ) + // InternalApplicationConfiguration.g:1866:2: ( ( ( rule__Scope__Alternatives ) ) ) + // InternalApplicationConfiguration.g:1867:2: ( ( rule__Scope__Alternatives ) ) { - // InternalApplicationConfiguration.g:1967:2: ( ( rule__Scope__Alternatives ) ) - // InternalApplicationConfiguration.g:1968:3: ( rule__Scope__Alternatives ) + // InternalApplicationConfiguration.g:1867:2: ( ( rule__Scope__Alternatives ) ) + // InternalApplicationConfiguration.g:1868:3: ( rule__Scope__Alternatives ) { before(grammarAccess.getScopeAccess().getAlternatives()); - // InternalApplicationConfiguration.g:1969:3: ( rule__Scope__Alternatives ) - // InternalApplicationConfiguration.g:1969:4: rule__Scope__Alternatives + // InternalApplicationConfiguration.g:1869:3: ( rule__Scope__Alternatives ) + // InternalApplicationConfiguration.g:1869:4: rule__Scope__Alternatives { pushFollow(FOLLOW_2); rule__Scope__Alternatives(); @@ -6054,11 +5737,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "entryRuleTask" - // InternalApplicationConfiguration.g:1978:1: entryRuleTask : ruleTask EOF ; + // InternalApplicationConfiguration.g:1878:1: entryRuleTask : ruleTask EOF ; public final void entryRuleTask() throws RecognitionException { try { - // InternalApplicationConfiguration.g:1979:1: ( ruleTask EOF ) - // InternalApplicationConfiguration.g:1980:1: ruleTask EOF + // InternalApplicationConfiguration.g:1879:1: ( ruleTask EOF ) + // InternalApplicationConfiguration.g:1880:1: ruleTask EOF { before(grammarAccess.getTaskRule()); pushFollow(FOLLOW_1); @@ -6084,17 +5767,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "ruleTask" - // InternalApplicationConfiguration.g:1987:1: ruleTask : ( ruleGenerationTask ) ; + // InternalApplicationConfiguration.g:1887:1: ruleTask : ( ruleGenerationTask ) ; public final void ruleTask() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:1991:2: ( ( ruleGenerationTask ) ) - // InternalApplicationConfiguration.g:1992:2: ( ruleGenerationTask ) + // InternalApplicationConfiguration.g:1891:2: ( ( ruleGenerationTask ) ) + // InternalApplicationConfiguration.g:1892:2: ( ruleGenerationTask ) { - // InternalApplicationConfiguration.g:1992:2: ( ruleGenerationTask ) - // InternalApplicationConfiguration.g:1993:3: ruleGenerationTask + // InternalApplicationConfiguration.g:1892:2: ( ruleGenerationTask ) + // InternalApplicationConfiguration.g:1893:3: ruleGenerationTask { before(grammarAccess.getTaskAccess().getGenerationTaskParserRuleCall()); pushFollow(FOLLOW_2); @@ -6125,11 +5808,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "entryRuleGenerationTask" - // InternalApplicationConfiguration.g:2003:1: entryRuleGenerationTask : ruleGenerationTask EOF ; + // InternalApplicationConfiguration.g:1903:1: entryRuleGenerationTask : ruleGenerationTask EOF ; public final void entryRuleGenerationTask() throws RecognitionException { try { - // InternalApplicationConfiguration.g:2004:1: ( ruleGenerationTask EOF ) - // InternalApplicationConfiguration.g:2005:1: ruleGenerationTask EOF + // InternalApplicationConfiguration.g:1904:1: ( ruleGenerationTask EOF ) + // InternalApplicationConfiguration.g:1905:1: ruleGenerationTask EOF { before(grammarAccess.getGenerationTaskRule()); pushFollow(FOLLOW_1); @@ -6155,21 +5838,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "ruleGenerationTask" - // InternalApplicationConfiguration.g:2012:1: ruleGenerationTask : ( ( rule__GenerationTask__Group__0 ) ) ; + // InternalApplicationConfiguration.g:1912:1: ruleGenerationTask : ( ( rule__GenerationTask__Group__0 ) ) ; public final void ruleGenerationTask() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:2016:2: ( ( ( rule__GenerationTask__Group__0 ) ) ) - // InternalApplicationConfiguration.g:2017:2: ( ( rule__GenerationTask__Group__0 ) ) + // InternalApplicationConfiguration.g:1916:2: ( ( ( rule__GenerationTask__Group__0 ) ) ) + // InternalApplicationConfiguration.g:1917:2: ( ( rule__GenerationTask__Group__0 ) ) { - // InternalApplicationConfiguration.g:2017:2: ( ( rule__GenerationTask__Group__0 ) ) - // InternalApplicationConfiguration.g:2018:3: ( rule__GenerationTask__Group__0 ) + // InternalApplicationConfiguration.g:1917:2: ( ( rule__GenerationTask__Group__0 ) ) + // InternalApplicationConfiguration.g:1918:3: ( rule__GenerationTask__Group__0 ) { before(grammarAccess.getGenerationTaskAccess().getGroup()); - // InternalApplicationConfiguration.g:2019:3: ( rule__GenerationTask__Group__0 ) - // InternalApplicationConfiguration.g:2019:4: rule__GenerationTask__Group__0 + // InternalApplicationConfiguration.g:1919:3: ( rule__GenerationTask__Group__0 ) + // InternalApplicationConfiguration.g:1919:4: rule__GenerationTask__Group__0 { pushFollow(FOLLOW_2); rule__GenerationTask__Group__0(); @@ -6202,21 +5885,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "ruleOptimizationDirection" - // InternalApplicationConfiguration.g:2028:1: ruleOptimizationDirection : ( ( rule__OptimizationDirection__Alternatives ) ) ; + // InternalApplicationConfiguration.g:1928:1: ruleOptimizationDirection : ( ( rule__OptimizationDirection__Alternatives ) ) ; public final void ruleOptimizationDirection() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:2032:1: ( ( ( rule__OptimizationDirection__Alternatives ) ) ) - // InternalApplicationConfiguration.g:2033:2: ( ( rule__OptimizationDirection__Alternatives ) ) + // InternalApplicationConfiguration.g:1932:1: ( ( ( rule__OptimizationDirection__Alternatives ) ) ) + // InternalApplicationConfiguration.g:1933:2: ( ( rule__OptimizationDirection__Alternatives ) ) { - // InternalApplicationConfiguration.g:2033:2: ( ( rule__OptimizationDirection__Alternatives ) ) - // InternalApplicationConfiguration.g:2034:3: ( rule__OptimizationDirection__Alternatives ) + // InternalApplicationConfiguration.g:1933:2: ( ( rule__OptimizationDirection__Alternatives ) ) + // InternalApplicationConfiguration.g:1934:3: ( rule__OptimizationDirection__Alternatives ) { before(grammarAccess.getOptimizationDirectionAccess().getAlternatives()); - // InternalApplicationConfiguration.g:2035:3: ( rule__OptimizationDirection__Alternatives ) - // InternalApplicationConfiguration.g:2035:4: rule__OptimizationDirection__Alternatives + // InternalApplicationConfiguration.g:1935:3: ( rule__OptimizationDirection__Alternatives ) + // InternalApplicationConfiguration.g:1935:4: rule__OptimizationDirection__Alternatives { pushFollow(FOLLOW_2); rule__OptimizationDirection__Alternatives(); @@ -6249,21 +5932,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "ruleComparisonOperator" - // InternalApplicationConfiguration.g:2044:1: ruleComparisonOperator : ( ( rule__ComparisonOperator__Alternatives ) ) ; + // InternalApplicationConfiguration.g:1944:1: ruleComparisonOperator : ( ( rule__ComparisonOperator__Alternatives ) ) ; public final void ruleComparisonOperator() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:2048:1: ( ( ( rule__ComparisonOperator__Alternatives ) ) ) - // InternalApplicationConfiguration.g:2049:2: ( ( rule__ComparisonOperator__Alternatives ) ) + // InternalApplicationConfiguration.g:1948:1: ( ( ( rule__ComparisonOperator__Alternatives ) ) ) + // InternalApplicationConfiguration.g:1949:2: ( ( rule__ComparisonOperator__Alternatives ) ) { - // InternalApplicationConfiguration.g:2049:2: ( ( rule__ComparisonOperator__Alternatives ) ) - // InternalApplicationConfiguration.g:2050:3: ( rule__ComparisonOperator__Alternatives ) + // InternalApplicationConfiguration.g:1949:2: ( ( rule__ComparisonOperator__Alternatives ) ) + // InternalApplicationConfiguration.g:1950:3: ( rule__ComparisonOperator__Alternatives ) { before(grammarAccess.getComparisonOperatorAccess().getAlternatives()); - // InternalApplicationConfiguration.g:2051:3: ( rule__ComparisonOperator__Alternatives ) - // InternalApplicationConfiguration.g:2051:4: rule__ComparisonOperator__Alternatives + // InternalApplicationConfiguration.g:1951:3: ( rule__ComparisonOperator__Alternatives ) + // InternalApplicationConfiguration.g:1951:4: rule__ComparisonOperator__Alternatives { pushFollow(FOLLOW_2); rule__ComparisonOperator__Alternatives(); @@ -6296,21 +5979,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "ruleDocumentLevelSpecification" - // InternalApplicationConfiguration.g:2060:1: ruleDocumentLevelSpecification : ( ( rule__DocumentLevelSpecification__Alternatives ) ) ; + // InternalApplicationConfiguration.g:1960:1: ruleDocumentLevelSpecification : ( ( rule__DocumentLevelSpecification__Alternatives ) ) ; public final void ruleDocumentLevelSpecification() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:2064:1: ( ( ( rule__DocumentLevelSpecification__Alternatives ) ) ) - // InternalApplicationConfiguration.g:2065:2: ( ( rule__DocumentLevelSpecification__Alternatives ) ) + // InternalApplicationConfiguration.g:1964:1: ( ( ( rule__DocumentLevelSpecification__Alternatives ) ) ) + // InternalApplicationConfiguration.g:1965:2: ( ( rule__DocumentLevelSpecification__Alternatives ) ) { - // InternalApplicationConfiguration.g:2065:2: ( ( rule__DocumentLevelSpecification__Alternatives ) ) - // InternalApplicationConfiguration.g:2066:3: ( rule__DocumentLevelSpecification__Alternatives ) + // InternalApplicationConfiguration.g:1965:2: ( ( rule__DocumentLevelSpecification__Alternatives ) ) + // InternalApplicationConfiguration.g:1966:3: ( rule__DocumentLevelSpecification__Alternatives ) { before(grammarAccess.getDocumentLevelSpecificationAccess().getAlternatives()); - // InternalApplicationConfiguration.g:2067:3: ( rule__DocumentLevelSpecification__Alternatives ) - // InternalApplicationConfiguration.g:2067:4: rule__DocumentLevelSpecification__Alternatives + // InternalApplicationConfiguration.g:1967:3: ( rule__DocumentLevelSpecification__Alternatives ) + // InternalApplicationConfiguration.g:1967:4: rule__DocumentLevelSpecification__Alternatives { pushFollow(FOLLOW_2); rule__DocumentLevelSpecification__Alternatives(); @@ -6343,21 +6026,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "ruleSolver" - // InternalApplicationConfiguration.g:2076:1: ruleSolver : ( ( rule__Solver__Alternatives ) ) ; + // InternalApplicationConfiguration.g:1976:1: ruleSolver : ( ( rule__Solver__Alternatives ) ) ; public final void ruleSolver() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:2080:1: ( ( ( rule__Solver__Alternatives ) ) ) - // InternalApplicationConfiguration.g:2081:2: ( ( rule__Solver__Alternatives ) ) + // InternalApplicationConfiguration.g:1980:1: ( ( ( rule__Solver__Alternatives ) ) ) + // InternalApplicationConfiguration.g:1981:2: ( ( rule__Solver__Alternatives ) ) { - // InternalApplicationConfiguration.g:2081:2: ( ( rule__Solver__Alternatives ) ) - // InternalApplicationConfiguration.g:2082:3: ( rule__Solver__Alternatives ) + // InternalApplicationConfiguration.g:1981:2: ( ( rule__Solver__Alternatives ) ) + // InternalApplicationConfiguration.g:1982:3: ( rule__Solver__Alternatives ) { before(grammarAccess.getSolverAccess().getAlternatives()); - // InternalApplicationConfiguration.g:2083:3: ( rule__Solver__Alternatives ) - // InternalApplicationConfiguration.g:2083:4: rule__Solver__Alternatives + // InternalApplicationConfiguration.g:1983:3: ( rule__Solver__Alternatives ) + // InternalApplicationConfiguration.g:1983:4: rule__Solver__Alternatives { pushFollow(FOLLOW_2); rule__Solver__Alternatives(); @@ -6390,20 +6073,20 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__Command__Alternatives" - // InternalApplicationConfiguration.g:2091:1: rule__Command__Alternatives : ( ( ruleDeclaration ) | ( ruleTask ) ); + // InternalApplicationConfiguration.g:1991:1: rule__Command__Alternatives : ( ( ruleDeclaration ) | ( ruleTask ) ); public final void rule__Command__Alternatives() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:2095:1: ( ( ruleDeclaration ) | ( ruleTask ) ) + // InternalApplicationConfiguration.g:1995:1: ( ( ruleDeclaration ) | ( ruleTask ) ) int alt1=2; int LA1_0 = input.LA(1); - if ( (LA1_0==29||LA1_0==37||(LA1_0>=39 && LA1_0<=40)||(LA1_0>=44 && LA1_0<=45)||LA1_0==55) ) { + if ( (LA1_0==28||LA1_0==36||(LA1_0>=38 && LA1_0<=39)||(LA1_0>=41 && LA1_0<=42)||LA1_0==52) ) { alt1=1; } - else if ( (LA1_0==56) ) { + else if ( (LA1_0==53) ) { alt1=2; } else { @@ -6414,10 +6097,10 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } switch (alt1) { case 1 : - // InternalApplicationConfiguration.g:2096:2: ( ruleDeclaration ) + // InternalApplicationConfiguration.g:1996:2: ( ruleDeclaration ) { - // InternalApplicationConfiguration.g:2096:2: ( ruleDeclaration ) - // InternalApplicationConfiguration.g:2097:3: ruleDeclaration + // InternalApplicationConfiguration.g:1996:2: ( ruleDeclaration ) + // InternalApplicationConfiguration.g:1997:3: ruleDeclaration { before(grammarAccess.getCommandAccess().getDeclarationParserRuleCall_0()); pushFollow(FOLLOW_2); @@ -6433,10 +6116,10 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } break; case 2 : - // InternalApplicationConfiguration.g:2102:2: ( ruleTask ) + // InternalApplicationConfiguration.g:2002:2: ( ruleTask ) { - // InternalApplicationConfiguration.g:2102:2: ( ruleTask ) - // InternalApplicationConfiguration.g:2103:3: ruleTask + // InternalApplicationConfiguration.g:2002:2: ( ruleTask ) + // InternalApplicationConfiguration.g:2003:3: ruleTask { before(grammarAccess.getCommandAccess().getTaskParserRuleCall_1()); pushFollow(FOLLOW_2); @@ -6469,40 +6152,31 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__Import__Alternatives" - // InternalApplicationConfiguration.g:2112:1: rule__Import__Alternatives : ( ( ruleEPackageImport ) | ( ruleViatraImport ) | ( ruleCftImport ) ); + // InternalApplicationConfiguration.g:2012:1: rule__Import__Alternatives : ( ( ruleEPackageImport ) | ( ruleViatraImport ) ); public final void rule__Import__Alternatives() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:2116:1: ( ( ruleEPackageImport ) | ( ruleViatraImport ) | ( ruleCftImport ) ) - int alt2=3; + // InternalApplicationConfiguration.g:2016:1: ( ( ruleEPackageImport ) | ( ruleViatraImport ) ) + int alt2=2; int LA2_0 = input.LA(1); if ( (LA2_0==25) ) { - switch ( input.LA(2) ) { - case 27: - { - alt2=2; - } - break; - case 28: - { - alt2=3; - } - break; - case 26: - { + int LA2_1 = input.LA(2); + + if ( (LA2_1==26) ) { alt2=1; - } - break; - default: + } + else if ( (LA2_1==27) ) { + alt2=2; + } + else { NoViableAltException nvae = new NoViableAltException("", 2, 1, input); throw nvae; } - } else { NoViableAltException nvae = @@ -6512,10 +6186,10 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } switch (alt2) { case 1 : - // InternalApplicationConfiguration.g:2117:2: ( ruleEPackageImport ) + // InternalApplicationConfiguration.g:2017:2: ( ruleEPackageImport ) { - // InternalApplicationConfiguration.g:2117:2: ( ruleEPackageImport ) - // InternalApplicationConfiguration.g:2118:3: ruleEPackageImport + // InternalApplicationConfiguration.g:2017:2: ( ruleEPackageImport ) + // InternalApplicationConfiguration.g:2018:3: ruleEPackageImport { before(grammarAccess.getImportAccess().getEPackageImportParserRuleCall_0()); pushFollow(FOLLOW_2); @@ -6531,10 +6205,10 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } break; case 2 : - // InternalApplicationConfiguration.g:2123:2: ( ruleViatraImport ) + // InternalApplicationConfiguration.g:2023:2: ( ruleViatraImport ) { - // InternalApplicationConfiguration.g:2123:2: ( ruleViatraImport ) - // InternalApplicationConfiguration.g:2124:3: ruleViatraImport + // InternalApplicationConfiguration.g:2023:2: ( ruleViatraImport ) + // InternalApplicationConfiguration.g:2024:3: ruleViatraImport { before(grammarAccess.getImportAccess().getViatraImportParserRuleCall_1()); pushFollow(FOLLOW_2); @@ -6547,25 +6221,6 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } - } - break; - case 3 : - // InternalApplicationConfiguration.g:2129:2: ( ruleCftImport ) - { - // InternalApplicationConfiguration.g:2129:2: ( ruleCftImport ) - // InternalApplicationConfiguration.g:2130:3: ruleCftImport - { - before(grammarAccess.getImportAccess().getCftImportParserRuleCall_2()); - pushFollow(FOLLOW_2); - ruleCftImport(); - - state._fsp--; - - after(grammarAccess.getImportAccess().getCftImportParserRuleCall_2()); - - } - - } break; @@ -6586,46 +6241,46 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__Declaration__Alternatives" - // InternalApplicationConfiguration.g:2139:1: rule__Declaration__Alternatives : ( ( ruleFileDeclaration ) | ( ruleMetamodelDeclaration ) | ( rulePartialModelDeclaration ) | ( ruleGraphPatternDeclaration ) | ( ruleConfigDeclaration ) | ( ruleScopeDeclaration ) | ( ruleObjectiveDeclaration ) ); + // InternalApplicationConfiguration.g:2033:1: rule__Declaration__Alternatives : ( ( ruleFileDeclaration ) | ( ruleMetamodelDeclaration ) | ( rulePartialModelDeclaration ) | ( ruleGraphPatternDeclaration ) | ( ruleConfigDeclaration ) | ( ruleScopeDeclaration ) | ( ruleObjectiveDeclaration ) ); public final void rule__Declaration__Alternatives() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:2143:1: ( ( ruleFileDeclaration ) | ( ruleMetamodelDeclaration ) | ( rulePartialModelDeclaration ) | ( ruleGraphPatternDeclaration ) | ( ruleConfigDeclaration ) | ( ruleScopeDeclaration ) | ( ruleObjectiveDeclaration ) ) + // InternalApplicationConfiguration.g:2037:1: ( ( ruleFileDeclaration ) | ( ruleMetamodelDeclaration ) | ( rulePartialModelDeclaration ) | ( ruleGraphPatternDeclaration ) | ( ruleConfigDeclaration ) | ( ruleScopeDeclaration ) | ( ruleObjectiveDeclaration ) ) int alt3=7; switch ( input.LA(1) ) { - case 29: + case 28: { alt3=1; } break; - case 37: + case 36: { alt3=2; } break; - case 39: + case 38: { alt3=3; } break; - case 40: + case 39: { alt3=4; } break; - case 45: + case 42: { alt3=5; } break; - case 55: + case 52: { alt3=6; } break; - case 44: + case 41: { alt3=7; } @@ -6639,10 +6294,10 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont switch (alt3) { case 1 : - // InternalApplicationConfiguration.g:2144:2: ( ruleFileDeclaration ) + // InternalApplicationConfiguration.g:2038:2: ( ruleFileDeclaration ) { - // InternalApplicationConfiguration.g:2144:2: ( ruleFileDeclaration ) - // InternalApplicationConfiguration.g:2145:3: ruleFileDeclaration + // InternalApplicationConfiguration.g:2038:2: ( ruleFileDeclaration ) + // InternalApplicationConfiguration.g:2039:3: ruleFileDeclaration { before(grammarAccess.getDeclarationAccess().getFileDeclarationParserRuleCall_0()); pushFollow(FOLLOW_2); @@ -6658,10 +6313,10 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } break; case 2 : - // InternalApplicationConfiguration.g:2150:2: ( ruleMetamodelDeclaration ) + // InternalApplicationConfiguration.g:2044:2: ( ruleMetamodelDeclaration ) { - // InternalApplicationConfiguration.g:2150:2: ( ruleMetamodelDeclaration ) - // InternalApplicationConfiguration.g:2151:3: ruleMetamodelDeclaration + // InternalApplicationConfiguration.g:2044:2: ( ruleMetamodelDeclaration ) + // InternalApplicationConfiguration.g:2045:3: ruleMetamodelDeclaration { before(grammarAccess.getDeclarationAccess().getMetamodelDeclarationParserRuleCall_1()); pushFollow(FOLLOW_2); @@ -6677,10 +6332,10 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } break; case 3 : - // InternalApplicationConfiguration.g:2156:2: ( rulePartialModelDeclaration ) + // InternalApplicationConfiguration.g:2050:2: ( rulePartialModelDeclaration ) { - // InternalApplicationConfiguration.g:2156:2: ( rulePartialModelDeclaration ) - // InternalApplicationConfiguration.g:2157:3: rulePartialModelDeclaration + // InternalApplicationConfiguration.g:2050:2: ( rulePartialModelDeclaration ) + // InternalApplicationConfiguration.g:2051:3: rulePartialModelDeclaration { before(grammarAccess.getDeclarationAccess().getPartialModelDeclarationParserRuleCall_2()); pushFollow(FOLLOW_2); @@ -6696,10 +6351,10 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } break; case 4 : - // InternalApplicationConfiguration.g:2162:2: ( ruleGraphPatternDeclaration ) + // InternalApplicationConfiguration.g:2056:2: ( ruleGraphPatternDeclaration ) { - // InternalApplicationConfiguration.g:2162:2: ( ruleGraphPatternDeclaration ) - // InternalApplicationConfiguration.g:2163:3: ruleGraphPatternDeclaration + // InternalApplicationConfiguration.g:2056:2: ( ruleGraphPatternDeclaration ) + // InternalApplicationConfiguration.g:2057:3: ruleGraphPatternDeclaration { before(grammarAccess.getDeclarationAccess().getGraphPatternDeclarationParserRuleCall_3()); pushFollow(FOLLOW_2); @@ -6715,10 +6370,10 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } break; case 5 : - // InternalApplicationConfiguration.g:2168:2: ( ruleConfigDeclaration ) + // InternalApplicationConfiguration.g:2062:2: ( ruleConfigDeclaration ) { - // InternalApplicationConfiguration.g:2168:2: ( ruleConfigDeclaration ) - // InternalApplicationConfiguration.g:2169:3: ruleConfigDeclaration + // InternalApplicationConfiguration.g:2062:2: ( ruleConfigDeclaration ) + // InternalApplicationConfiguration.g:2063:3: ruleConfigDeclaration { before(grammarAccess.getDeclarationAccess().getConfigDeclarationParserRuleCall_4()); pushFollow(FOLLOW_2); @@ -6734,10 +6389,10 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } break; case 6 : - // InternalApplicationConfiguration.g:2174:2: ( ruleScopeDeclaration ) + // InternalApplicationConfiguration.g:2068:2: ( ruleScopeDeclaration ) { - // InternalApplicationConfiguration.g:2174:2: ( ruleScopeDeclaration ) - // InternalApplicationConfiguration.g:2175:3: ruleScopeDeclaration + // InternalApplicationConfiguration.g:2068:2: ( ruleScopeDeclaration ) + // InternalApplicationConfiguration.g:2069:3: ruleScopeDeclaration { before(grammarAccess.getDeclarationAccess().getScopeDeclarationParserRuleCall_5()); pushFollow(FOLLOW_2); @@ -6753,10 +6408,10 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } break; case 7 : - // InternalApplicationConfiguration.g:2180:2: ( ruleObjectiveDeclaration ) + // InternalApplicationConfiguration.g:2074:2: ( ruleObjectiveDeclaration ) { - // InternalApplicationConfiguration.g:2180:2: ( ruleObjectiveDeclaration ) - // InternalApplicationConfiguration.g:2181:3: ruleObjectiveDeclaration + // InternalApplicationConfiguration.g:2074:2: ( ruleObjectiveDeclaration ) + // InternalApplicationConfiguration.g:2075:3: ruleObjectiveDeclaration { before(grammarAccess.getDeclarationAccess().getObjectiveDeclarationParserRuleCall_6()); pushFollow(FOLLOW_2); @@ -6789,13 +6444,13 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__File__Alternatives" - // InternalApplicationConfiguration.g:2190:1: rule__File__Alternatives : ( ( ruleFileSpecification ) | ( ruleFileReference ) ); + // InternalApplicationConfiguration.g:2084:1: rule__File__Alternatives : ( ( ruleFileSpecification ) | ( ruleFileReference ) ); public final void rule__File__Alternatives() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:2194:1: ( ( ruleFileSpecification ) | ( ruleFileReference ) ) + // InternalApplicationConfiguration.g:2088:1: ( ( ruleFileSpecification ) | ( ruleFileReference ) ) int alt4=2; int LA4_0 = input.LA(1); @@ -6813,10 +6468,10 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } switch (alt4) { case 1 : - // InternalApplicationConfiguration.g:2195:2: ( ruleFileSpecification ) + // InternalApplicationConfiguration.g:2089:2: ( ruleFileSpecification ) { - // InternalApplicationConfiguration.g:2195:2: ( ruleFileSpecification ) - // InternalApplicationConfiguration.g:2196:3: ruleFileSpecification + // InternalApplicationConfiguration.g:2089:2: ( ruleFileSpecification ) + // InternalApplicationConfiguration.g:2090:3: ruleFileSpecification { before(grammarAccess.getFileAccess().getFileSpecificationParserRuleCall_0()); pushFollow(FOLLOW_2); @@ -6832,10 +6487,10 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } break; case 2 : - // InternalApplicationConfiguration.g:2201:2: ( ruleFileReference ) + // InternalApplicationConfiguration.g:2095:2: ( ruleFileReference ) { - // InternalApplicationConfiguration.g:2201:2: ( ruleFileReference ) - // InternalApplicationConfiguration.g:2202:3: ruleFileReference + // InternalApplicationConfiguration.g:2095:2: ( ruleFileReference ) + // InternalApplicationConfiguration.g:2096:3: ruleFileReference { before(grammarAccess.getFileAccess().getFileReferenceParserRuleCall_1()); pushFollow(FOLLOW_2); @@ -6868,20 +6523,20 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__MetamodelEntry__Alternatives" - // InternalApplicationConfiguration.g:2211:1: rule__MetamodelEntry__Alternatives : ( ( ruleMetamodelElement ) | ( ruleAllPackageEntry ) ); + // InternalApplicationConfiguration.g:2105:1: rule__MetamodelEntry__Alternatives : ( ( ruleMetamodelElement ) | ( ruleAllPackageEntry ) ); public final void rule__MetamodelEntry__Alternatives() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:2215:1: ( ( ruleMetamodelElement ) | ( ruleAllPackageEntry ) ) + // InternalApplicationConfiguration.g:2109:1: ( ( ruleMetamodelElement ) | ( ruleAllPackageEntry ) ) int alt5=2; int LA5_0 = input.LA(1); if ( (LA5_0==RULE_ID) ) { alt5=1; } - else if ( (LA5_0==34) ) { + else if ( (LA5_0==33) ) { alt5=2; } else { @@ -6892,10 +6547,10 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } switch (alt5) { case 1 : - // InternalApplicationConfiguration.g:2216:2: ( ruleMetamodelElement ) + // InternalApplicationConfiguration.g:2110:2: ( ruleMetamodelElement ) { - // InternalApplicationConfiguration.g:2216:2: ( ruleMetamodelElement ) - // InternalApplicationConfiguration.g:2217:3: ruleMetamodelElement + // InternalApplicationConfiguration.g:2110:2: ( ruleMetamodelElement ) + // InternalApplicationConfiguration.g:2111:3: ruleMetamodelElement { before(grammarAccess.getMetamodelEntryAccess().getMetamodelElementParserRuleCall_0()); pushFollow(FOLLOW_2); @@ -6911,10 +6566,10 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } break; case 2 : - // InternalApplicationConfiguration.g:2222:2: ( ruleAllPackageEntry ) + // InternalApplicationConfiguration.g:2116:2: ( ruleAllPackageEntry ) { - // InternalApplicationConfiguration.g:2222:2: ( ruleAllPackageEntry ) - // InternalApplicationConfiguration.g:2223:3: ruleAllPackageEntry + // InternalApplicationConfiguration.g:2116:2: ( ruleAllPackageEntry ) + // InternalApplicationConfiguration.g:2117:3: ruleAllPackageEntry { before(grammarAccess.getMetamodelEntryAccess().getAllPackageEntryParserRuleCall_1()); pushFollow(FOLLOW_2); @@ -6947,20 +6602,20 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__Metamodel__Alternatives" - // InternalApplicationConfiguration.g:2232:1: rule__Metamodel__Alternatives : ( ( ruleMetamodelReference ) | ( ruleMetamodelSpecification ) ); + // InternalApplicationConfiguration.g:2126:1: rule__Metamodel__Alternatives : ( ( ruleMetamodelReference ) | ( ruleMetamodelSpecification ) ); public final void rule__Metamodel__Alternatives() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:2236:1: ( ( ruleMetamodelReference ) | ( ruleMetamodelSpecification ) ) + // InternalApplicationConfiguration.g:2130:1: ( ( ruleMetamodelReference ) | ( ruleMetamodelSpecification ) ) int alt6=2; int LA6_0 = input.LA(1); if ( (LA6_0==RULE_ID) ) { alt6=1; } - else if ( (LA6_0==31) ) { + else if ( (LA6_0==30) ) { alt6=2; } else { @@ -6971,10 +6626,10 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } switch (alt6) { case 1 : - // InternalApplicationConfiguration.g:2237:2: ( ruleMetamodelReference ) + // InternalApplicationConfiguration.g:2131:2: ( ruleMetamodelReference ) { - // InternalApplicationConfiguration.g:2237:2: ( ruleMetamodelReference ) - // InternalApplicationConfiguration.g:2238:3: ruleMetamodelReference + // InternalApplicationConfiguration.g:2131:2: ( ruleMetamodelReference ) + // InternalApplicationConfiguration.g:2132:3: ruleMetamodelReference { before(grammarAccess.getMetamodelAccess().getMetamodelReferenceParserRuleCall_0()); pushFollow(FOLLOW_2); @@ -6990,10 +6645,10 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } break; case 2 : - // InternalApplicationConfiguration.g:2243:2: ( ruleMetamodelSpecification ) + // InternalApplicationConfiguration.g:2137:2: ( ruleMetamodelSpecification ) { - // InternalApplicationConfiguration.g:2243:2: ( ruleMetamodelSpecification ) - // InternalApplicationConfiguration.g:2244:3: ruleMetamodelSpecification + // InternalApplicationConfiguration.g:2137:2: ( ruleMetamodelSpecification ) + // InternalApplicationConfiguration.g:2138:3: ruleMetamodelSpecification { before(grammarAccess.getMetamodelAccess().getMetamodelSpecificationParserRuleCall_1()); pushFollow(FOLLOW_2); @@ -7026,20 +6681,20 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__PartialModelEntry__Alternatives" - // InternalApplicationConfiguration.g:2253:1: rule__PartialModelEntry__Alternatives : ( ( ruleModelEntry ) | ( ruleFolderEntry ) ); + // InternalApplicationConfiguration.g:2147:1: rule__PartialModelEntry__Alternatives : ( ( ruleModelEntry ) | ( ruleFolderEntry ) ); public final void rule__PartialModelEntry__Alternatives() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:2257:1: ( ( ruleModelEntry ) | ( ruleFolderEntry ) ) + // InternalApplicationConfiguration.g:2151:1: ( ( ruleModelEntry ) | ( ruleFolderEntry ) ) int alt7=2; int LA7_0 = input.LA(1); if ( (LA7_0==RULE_ID||LA7_0==RULE_STRING) ) { alt7=1; } - else if ( (LA7_0==38) ) { + else if ( (LA7_0==37) ) { alt7=2; } else { @@ -7050,10 +6705,10 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } switch (alt7) { case 1 : - // InternalApplicationConfiguration.g:2258:2: ( ruleModelEntry ) + // InternalApplicationConfiguration.g:2152:2: ( ruleModelEntry ) { - // InternalApplicationConfiguration.g:2258:2: ( ruleModelEntry ) - // InternalApplicationConfiguration.g:2259:3: ruleModelEntry + // InternalApplicationConfiguration.g:2152:2: ( ruleModelEntry ) + // InternalApplicationConfiguration.g:2153:3: ruleModelEntry { before(grammarAccess.getPartialModelEntryAccess().getModelEntryParserRuleCall_0()); pushFollow(FOLLOW_2); @@ -7069,10 +6724,10 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } break; case 2 : - // InternalApplicationConfiguration.g:2264:2: ( ruleFolderEntry ) + // InternalApplicationConfiguration.g:2158:2: ( ruleFolderEntry ) { - // InternalApplicationConfiguration.g:2264:2: ( ruleFolderEntry ) - // InternalApplicationConfiguration.g:2265:3: ruleFolderEntry + // InternalApplicationConfiguration.g:2158:2: ( ruleFolderEntry ) + // InternalApplicationConfiguration.g:2159:3: ruleFolderEntry { before(grammarAccess.getPartialModelEntryAccess().getFolderEntryParserRuleCall_1()); pushFollow(FOLLOW_2); @@ -7105,17 +6760,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__PartialModel__Alternatives" - // InternalApplicationConfiguration.g:2274:1: rule__PartialModel__Alternatives : ( ( rulePartialModelSpecification ) | ( rulePartialModelReference ) ); + // InternalApplicationConfiguration.g:2168:1: rule__PartialModel__Alternatives : ( ( rulePartialModelSpecification ) | ( rulePartialModelReference ) ); public final void rule__PartialModel__Alternatives() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:2278:1: ( ( rulePartialModelSpecification ) | ( rulePartialModelReference ) ) + // InternalApplicationConfiguration.g:2172:1: ( ( rulePartialModelSpecification ) | ( rulePartialModelReference ) ) int alt8=2; int LA8_0 = input.LA(1); - if ( (LA8_0==31) ) { + if ( (LA8_0==30) ) { alt8=1; } else if ( (LA8_0==RULE_ID) ) { @@ -7129,10 +6784,10 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } switch (alt8) { case 1 : - // InternalApplicationConfiguration.g:2279:2: ( rulePartialModelSpecification ) + // InternalApplicationConfiguration.g:2173:2: ( rulePartialModelSpecification ) { - // InternalApplicationConfiguration.g:2279:2: ( rulePartialModelSpecification ) - // InternalApplicationConfiguration.g:2280:3: rulePartialModelSpecification + // InternalApplicationConfiguration.g:2173:2: ( rulePartialModelSpecification ) + // InternalApplicationConfiguration.g:2174:3: rulePartialModelSpecification { before(grammarAccess.getPartialModelAccess().getPartialModelSpecificationParserRuleCall_0()); pushFollow(FOLLOW_2); @@ -7148,10 +6803,10 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } break; case 2 : - // InternalApplicationConfiguration.g:2285:2: ( rulePartialModelReference ) + // InternalApplicationConfiguration.g:2179:2: ( rulePartialModelReference ) { - // InternalApplicationConfiguration.g:2285:2: ( rulePartialModelReference ) - // InternalApplicationConfiguration.g:2286:3: rulePartialModelReference + // InternalApplicationConfiguration.g:2179:2: ( rulePartialModelReference ) + // InternalApplicationConfiguration.g:2180:3: rulePartialModelReference { before(grammarAccess.getPartialModelAccess().getPartialModelReferenceParserRuleCall_1()); pushFollow(FOLLOW_2); @@ -7184,20 +6839,20 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__PatternEntry__Alternatives" - // InternalApplicationConfiguration.g:2295:1: rule__PatternEntry__Alternatives : ( ( rulePatternElement ) | ( ruleAllPatternEntry ) ); + // InternalApplicationConfiguration.g:2189:1: rule__PatternEntry__Alternatives : ( ( rulePatternElement ) | ( ruleAllPatternEntry ) ); public final void rule__PatternEntry__Alternatives() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:2299:1: ( ( rulePatternElement ) | ( ruleAllPatternEntry ) ) + // InternalApplicationConfiguration.g:2193:1: ( ( rulePatternElement ) | ( ruleAllPatternEntry ) ) int alt9=2; int LA9_0 = input.LA(1); if ( (LA9_0==RULE_ID) ) { alt9=1; } - else if ( (LA9_0==34) ) { + else if ( (LA9_0==33) ) { alt9=2; } else { @@ -7208,10 +6863,10 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } switch (alt9) { case 1 : - // InternalApplicationConfiguration.g:2300:2: ( rulePatternElement ) + // InternalApplicationConfiguration.g:2194:2: ( rulePatternElement ) { - // InternalApplicationConfiguration.g:2300:2: ( rulePatternElement ) - // InternalApplicationConfiguration.g:2301:3: rulePatternElement + // InternalApplicationConfiguration.g:2194:2: ( rulePatternElement ) + // InternalApplicationConfiguration.g:2195:3: rulePatternElement { before(grammarAccess.getPatternEntryAccess().getPatternElementParserRuleCall_0()); pushFollow(FOLLOW_2); @@ -7227,10 +6882,10 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } break; case 2 : - // InternalApplicationConfiguration.g:2306:2: ( ruleAllPatternEntry ) + // InternalApplicationConfiguration.g:2200:2: ( ruleAllPatternEntry ) { - // InternalApplicationConfiguration.g:2306:2: ( ruleAllPatternEntry ) - // InternalApplicationConfiguration.g:2307:3: ruleAllPatternEntry + // InternalApplicationConfiguration.g:2200:2: ( ruleAllPatternEntry ) + // InternalApplicationConfiguration.g:2201:3: ruleAllPatternEntry { before(grammarAccess.getPatternEntryAccess().getAllPatternEntryParserRuleCall_1()); pushFollow(FOLLOW_2); @@ -7263,20 +6918,20 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GraphPattern__Alternatives" - // InternalApplicationConfiguration.g:2316:1: rule__GraphPattern__Alternatives : ( ( ruleGraphPatternReference ) | ( rulePatternSpecification ) ); + // InternalApplicationConfiguration.g:2210:1: rule__GraphPattern__Alternatives : ( ( ruleGraphPatternReference ) | ( rulePatternSpecification ) ); public final void rule__GraphPattern__Alternatives() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:2320:1: ( ( ruleGraphPatternReference ) | ( rulePatternSpecification ) ) + // InternalApplicationConfiguration.g:2214:1: ( ( ruleGraphPatternReference ) | ( rulePatternSpecification ) ) int alt10=2; int LA10_0 = input.LA(1); if ( (LA10_0==RULE_ID) ) { alt10=1; } - else if ( (LA10_0==31) ) { + else if ( (LA10_0==30) ) { alt10=2; } else { @@ -7287,10 +6942,10 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } switch (alt10) { case 1 : - // InternalApplicationConfiguration.g:2321:2: ( ruleGraphPatternReference ) + // InternalApplicationConfiguration.g:2215:2: ( ruleGraphPatternReference ) { - // InternalApplicationConfiguration.g:2321:2: ( ruleGraphPatternReference ) - // InternalApplicationConfiguration.g:2322:3: ruleGraphPatternReference + // InternalApplicationConfiguration.g:2215:2: ( ruleGraphPatternReference ) + // InternalApplicationConfiguration.g:2216:3: ruleGraphPatternReference { before(grammarAccess.getGraphPatternAccess().getGraphPatternReferenceParserRuleCall_0()); pushFollow(FOLLOW_2); @@ -7306,10 +6961,10 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } break; case 2 : - // InternalApplicationConfiguration.g:2327:2: ( rulePatternSpecification ) + // InternalApplicationConfiguration.g:2221:2: ( rulePatternSpecification ) { - // InternalApplicationConfiguration.g:2327:2: ( rulePatternSpecification ) - // InternalApplicationConfiguration.g:2328:3: rulePatternSpecification + // InternalApplicationConfiguration.g:2221:2: ( rulePatternSpecification ) + // InternalApplicationConfiguration.g:2222:3: rulePatternSpecification { before(grammarAccess.getGraphPatternAccess().getPatternSpecificationParserRuleCall_1()); pushFollow(FOLLOW_2); @@ -7342,20 +6997,20 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ObjectiveEntry__Alternatives" - // InternalApplicationConfiguration.g:2337:1: rule__ObjectiveEntry__Alternatives : ( ( ruleOptimizationEntry ) | ( ruleThresholdEntry ) ); + // InternalApplicationConfiguration.g:2231:1: rule__ObjectiveEntry__Alternatives : ( ( ruleOptimizationEntry ) | ( ruleThresholdEntry ) ); public final void rule__ObjectiveEntry__Alternatives() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:2341:1: ( ( ruleOptimizationEntry ) | ( ruleThresholdEntry ) ) + // InternalApplicationConfiguration.g:2235:1: ( ( ruleOptimizationEntry ) | ( ruleThresholdEntry ) ) int alt11=2; int LA11_0 = input.LA(1); if ( ((LA11_0>=11 && LA11_0<=12)) ) { alt11=1; } - else if ( (LA11_0==28||LA11_0==41||LA11_0==43) ) { + else if ( (LA11_0==40) ) { alt11=2; } else { @@ -7366,10 +7021,10 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } switch (alt11) { case 1 : - // InternalApplicationConfiguration.g:2342:2: ( ruleOptimizationEntry ) + // InternalApplicationConfiguration.g:2236:2: ( ruleOptimizationEntry ) { - // InternalApplicationConfiguration.g:2342:2: ( ruleOptimizationEntry ) - // InternalApplicationConfiguration.g:2343:3: ruleOptimizationEntry + // InternalApplicationConfiguration.g:2236:2: ( ruleOptimizationEntry ) + // InternalApplicationConfiguration.g:2237:3: ruleOptimizationEntry { before(grammarAccess.getObjectiveEntryAccess().getOptimizationEntryParserRuleCall_0()); pushFollow(FOLLOW_2); @@ -7385,10 +7040,10 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } break; case 2 : - // InternalApplicationConfiguration.g:2348:2: ( ruleThresholdEntry ) + // InternalApplicationConfiguration.g:2242:2: ( ruleThresholdEntry ) { - // InternalApplicationConfiguration.g:2348:2: ( ruleThresholdEntry ) - // InternalApplicationConfiguration.g:2349:3: ruleThresholdEntry + // InternalApplicationConfiguration.g:2242:2: ( ruleThresholdEntry ) + // InternalApplicationConfiguration.g:2243:3: ruleThresholdEntry { before(grammarAccess.getObjectiveEntryAccess().getThresholdEntryParserRuleCall_1()); pushFollow(FOLLOW_2); @@ -7420,21 +7075,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR end "rule__ObjectiveEntry__Alternatives" - // $ANTLR start "rule__ObjectiveFunction__Alternatives" - // InternalApplicationConfiguration.g:2358:1: rule__ObjectiveFunction__Alternatives : ( ( ruleCostObjectiveFunction ) | ( ruleReliabilityObjectiveFunction ) ); - public final void rule__ObjectiveFunction__Alternatives() throws RecognitionException { + // $ANTLR start "rule__Objective__Alternatives" + // InternalApplicationConfiguration.g:2252:1: rule__Objective__Alternatives : ( ( ruleObjectiveReference ) | ( ruleObjectiveSpecification ) ); + public final void rule__Objective__Alternatives() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:2362:1: ( ( ruleCostObjectiveFunction ) | ( ruleReliabilityObjectiveFunction ) ) + // InternalApplicationConfiguration.g:2256:1: ( ( ruleObjectiveReference ) | ( ruleObjectiveSpecification ) ) int alt12=2; int LA12_0 = input.LA(1); - if ( (LA12_0==41) ) { + if ( (LA12_0==RULE_ID) ) { alt12=1; } - else if ( (LA12_0==28||LA12_0==43) ) { + else if ( (LA12_0==30) ) { alt12=2; } else { @@ -7445,168 +7100,10 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } switch (alt12) { case 1 : - // InternalApplicationConfiguration.g:2363:2: ( ruleCostObjectiveFunction ) - { - // InternalApplicationConfiguration.g:2363:2: ( ruleCostObjectiveFunction ) - // InternalApplicationConfiguration.g:2364:3: ruleCostObjectiveFunction - { - before(grammarAccess.getObjectiveFunctionAccess().getCostObjectiveFunctionParserRuleCall_0()); - pushFollow(FOLLOW_2); - ruleCostObjectiveFunction(); - - state._fsp--; - - after(grammarAccess.getObjectiveFunctionAccess().getCostObjectiveFunctionParserRuleCall_0()); - - } - - - } - break; - case 2 : - // InternalApplicationConfiguration.g:2369:2: ( ruleReliabilityObjectiveFunction ) - { - // InternalApplicationConfiguration.g:2369:2: ( ruleReliabilityObjectiveFunction ) - // InternalApplicationConfiguration.g:2370:3: ruleReliabilityObjectiveFunction - { - before(grammarAccess.getObjectiveFunctionAccess().getReliabilityObjectiveFunctionParserRuleCall_1()); - pushFollow(FOLLOW_2); - ruleReliabilityObjectiveFunction(); - - state._fsp--; - - after(grammarAccess.getObjectiveFunctionAccess().getReliabilityObjectiveFunctionParserRuleCall_1()); - - } - - - } - break; - - } - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ObjectiveFunction__Alternatives" - - - // $ANTLR start "rule__ReliabilityObjectiveFunction__Alternatives" - // InternalApplicationConfiguration.g:2379:1: rule__ReliabilityObjectiveFunction__Alternatives : ( ( ruleReliabiltiyProbability ) | ( ruleMtff ) ); - public final void rule__ReliabilityObjectiveFunction__Alternatives() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:2383:1: ( ( ruleReliabiltiyProbability ) | ( ruleMtff ) ) - int alt13=2; - int LA13_0 = input.LA(1); - - if ( (LA13_0==28) ) { - alt13=1; - } - else if ( (LA13_0==43) ) { - alt13=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 13, 0, input); - - throw nvae; - } - switch (alt13) { - case 1 : - // InternalApplicationConfiguration.g:2384:2: ( ruleReliabiltiyProbability ) + // InternalApplicationConfiguration.g:2257:2: ( ruleObjectiveReference ) { - // InternalApplicationConfiguration.g:2384:2: ( ruleReliabiltiyProbability ) - // InternalApplicationConfiguration.g:2385:3: ruleReliabiltiyProbability - { - before(grammarAccess.getReliabilityObjectiveFunctionAccess().getReliabiltiyProbabilityParserRuleCall_0()); - pushFollow(FOLLOW_2); - ruleReliabiltiyProbability(); - - state._fsp--; - - after(grammarAccess.getReliabilityObjectiveFunctionAccess().getReliabiltiyProbabilityParserRuleCall_0()); - - } - - - } - break; - case 2 : - // InternalApplicationConfiguration.g:2390:2: ( ruleMtff ) - { - // InternalApplicationConfiguration.g:2390:2: ( ruleMtff ) - // InternalApplicationConfiguration.g:2391:3: ruleMtff - { - before(grammarAccess.getReliabilityObjectiveFunctionAccess().getMtffParserRuleCall_1()); - pushFollow(FOLLOW_2); - ruleMtff(); - - state._fsp--; - - after(grammarAccess.getReliabilityObjectiveFunctionAccess().getMtffParserRuleCall_1()); - - } - - - } - break; - - } - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ReliabilityObjectiveFunction__Alternatives" - - - // $ANTLR start "rule__Objective__Alternatives" - // InternalApplicationConfiguration.g:2400:1: rule__Objective__Alternatives : ( ( ruleObjectiveReference ) | ( ruleObjectiveSpecification ) ); - public final void rule__Objective__Alternatives() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:2404:1: ( ( ruleObjectiveReference ) | ( ruleObjectiveSpecification ) ) - int alt14=2; - int LA14_0 = input.LA(1); - - if ( (LA14_0==RULE_ID) ) { - alt14=1; - } - else if ( (LA14_0==31) ) { - alt14=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 14, 0, input); - - throw nvae; - } - switch (alt14) { - case 1 : - // InternalApplicationConfiguration.g:2405:2: ( ruleObjectiveReference ) - { - // InternalApplicationConfiguration.g:2405:2: ( ruleObjectiveReference ) - // InternalApplicationConfiguration.g:2406:3: ruleObjectiveReference + // InternalApplicationConfiguration.g:2257:2: ( ruleObjectiveReference ) + // InternalApplicationConfiguration.g:2258:3: ruleObjectiveReference { before(grammarAccess.getObjectiveAccess().getObjectiveReferenceParserRuleCall_0()); pushFollow(FOLLOW_2); @@ -7622,10 +7119,10 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } break; case 2 : - // InternalApplicationConfiguration.g:2411:2: ( ruleObjectiveSpecification ) + // InternalApplicationConfiguration.g:2263:2: ( ruleObjectiveSpecification ) { - // InternalApplicationConfiguration.g:2411:2: ( ruleObjectiveSpecification ) - // InternalApplicationConfiguration.g:2412:3: ruleObjectiveSpecification + // InternalApplicationConfiguration.g:2263:2: ( ruleObjectiveSpecification ) + // InternalApplicationConfiguration.g:2264:3: ruleObjectiveSpecification { before(grammarAccess.getObjectiveAccess().getObjectiveSpecificationParserRuleCall_1()); pushFollow(FOLLOW_2); @@ -7658,48 +7155,48 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ConfigEntry__Alternatives" - // InternalApplicationConfiguration.g:2421:1: rule__ConfigEntry__Alternatives : ( ( ruleDocumentationEntry ) | ( ruleRuntimeEntry ) | ( ruleMemoryEntry ) | ( ruleCustomEntry ) ); + // InternalApplicationConfiguration.g:2273:1: rule__ConfigEntry__Alternatives : ( ( ruleDocumentationEntry ) | ( ruleRuntimeEntry ) | ( ruleMemoryEntry ) | ( ruleCustomEntry ) ); public final void rule__ConfigEntry__Alternatives() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:2425:1: ( ( ruleDocumentationEntry ) | ( ruleRuntimeEntry ) | ( ruleMemoryEntry ) | ( ruleCustomEntry ) ) - int alt15=4; + // InternalApplicationConfiguration.g:2277:1: ( ( ruleDocumentationEntry ) | ( ruleRuntimeEntry ) | ( ruleMemoryEntry ) | ( ruleCustomEntry ) ) + int alt13=4; switch ( input.LA(1) ) { - case 46: + case 43: { - alt15=1; + alt13=1; } break; - case 47: + case 44: { - alt15=2; + alt13=2; } break; - case 48: + case 45: { - alt15=3; + alt13=3; } break; case RULE_STRING: { - alt15=4; + alt13=4; } break; default: NoViableAltException nvae = - new NoViableAltException("", 15, 0, input); + new NoViableAltException("", 13, 0, input); throw nvae; } - switch (alt15) { + switch (alt13) { case 1 : - // InternalApplicationConfiguration.g:2426:2: ( ruleDocumentationEntry ) + // InternalApplicationConfiguration.g:2278:2: ( ruleDocumentationEntry ) { - // InternalApplicationConfiguration.g:2426:2: ( ruleDocumentationEntry ) - // InternalApplicationConfiguration.g:2427:3: ruleDocumentationEntry + // InternalApplicationConfiguration.g:2278:2: ( ruleDocumentationEntry ) + // InternalApplicationConfiguration.g:2279:3: ruleDocumentationEntry { before(grammarAccess.getConfigEntryAccess().getDocumentationEntryParserRuleCall_0()); pushFollow(FOLLOW_2); @@ -7715,10 +7212,10 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } break; case 2 : - // InternalApplicationConfiguration.g:2432:2: ( ruleRuntimeEntry ) + // InternalApplicationConfiguration.g:2284:2: ( ruleRuntimeEntry ) { - // InternalApplicationConfiguration.g:2432:2: ( ruleRuntimeEntry ) - // InternalApplicationConfiguration.g:2433:3: ruleRuntimeEntry + // InternalApplicationConfiguration.g:2284:2: ( ruleRuntimeEntry ) + // InternalApplicationConfiguration.g:2285:3: ruleRuntimeEntry { before(grammarAccess.getConfigEntryAccess().getRuntimeEntryParserRuleCall_1()); pushFollow(FOLLOW_2); @@ -7734,10 +7231,10 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } break; case 3 : - // InternalApplicationConfiguration.g:2438:2: ( ruleMemoryEntry ) + // InternalApplicationConfiguration.g:2290:2: ( ruleMemoryEntry ) { - // InternalApplicationConfiguration.g:2438:2: ( ruleMemoryEntry ) - // InternalApplicationConfiguration.g:2439:3: ruleMemoryEntry + // InternalApplicationConfiguration.g:2290:2: ( ruleMemoryEntry ) + // InternalApplicationConfiguration.g:2291:3: ruleMemoryEntry { before(grammarAccess.getConfigEntryAccess().getMemoryEntryParserRuleCall_2()); pushFollow(FOLLOW_2); @@ -7753,10 +7250,10 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } break; case 4 : - // InternalApplicationConfiguration.g:2444:2: ( ruleCustomEntry ) + // InternalApplicationConfiguration.g:2296:2: ( ruleCustomEntry ) { - // InternalApplicationConfiguration.g:2444:2: ( ruleCustomEntry ) - // InternalApplicationConfiguration.g:2445:3: ruleCustomEntry + // InternalApplicationConfiguration.g:2296:2: ( ruleCustomEntry ) + // InternalApplicationConfiguration.g:2297:3: ruleCustomEntry { before(grammarAccess.getConfigEntryAccess().getCustomEntryParserRuleCall_3()); pushFollow(FOLLOW_2); @@ -7789,34 +7286,34 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__Config__Alternatives" - // InternalApplicationConfiguration.g:2454:1: rule__Config__Alternatives : ( ( ruleConfigSpecification ) | ( ruleConfigReference ) ); + // InternalApplicationConfiguration.g:2306:1: rule__Config__Alternatives : ( ( ruleConfigSpecification ) | ( ruleConfigReference ) ); public final void rule__Config__Alternatives() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:2458:1: ( ( ruleConfigSpecification ) | ( ruleConfigReference ) ) - int alt16=2; - int LA16_0 = input.LA(1); + // InternalApplicationConfiguration.g:2310:1: ( ( ruleConfigSpecification ) | ( ruleConfigReference ) ) + int alt14=2; + int LA14_0 = input.LA(1); - if ( (LA16_0==31) ) { - alt16=1; + if ( (LA14_0==30) ) { + alt14=1; } - else if ( (LA16_0==RULE_ID) ) { - alt16=2; + else if ( (LA14_0==RULE_ID) ) { + alt14=2; } else { NoViableAltException nvae = - new NoViableAltException("", 16, 0, input); + new NoViableAltException("", 14, 0, input); throw nvae; } - switch (alt16) { + switch (alt14) { case 1 : - // InternalApplicationConfiguration.g:2459:2: ( ruleConfigSpecification ) + // InternalApplicationConfiguration.g:2311:2: ( ruleConfigSpecification ) { - // InternalApplicationConfiguration.g:2459:2: ( ruleConfigSpecification ) - // InternalApplicationConfiguration.g:2460:3: ruleConfigSpecification + // InternalApplicationConfiguration.g:2311:2: ( ruleConfigSpecification ) + // InternalApplicationConfiguration.g:2312:3: ruleConfigSpecification { before(grammarAccess.getConfigAccess().getConfigSpecificationParserRuleCall_0()); pushFollow(FOLLOW_2); @@ -7832,10 +7329,10 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } break; case 2 : - // InternalApplicationConfiguration.g:2465:2: ( ruleConfigReference ) + // InternalApplicationConfiguration.g:2317:2: ( ruleConfigReference ) { - // InternalApplicationConfiguration.g:2465:2: ( ruleConfigReference ) - // InternalApplicationConfiguration.g:2466:3: ruleConfigReference + // InternalApplicationConfiguration.g:2317:2: ( ruleConfigReference ) + // InternalApplicationConfiguration.g:2318:3: ruleConfigReference { before(grammarAccess.getConfigAccess().getConfigReferenceParserRuleCall_1()); pushFollow(FOLLOW_2); @@ -7868,46 +7365,46 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__TypeScope__Alternatives" - // InternalApplicationConfiguration.g:2475:1: rule__TypeScope__Alternatives : ( ( ruleClassTypeScope ) | ( ruleObjectTypeScope ) | ( ruleIntegerTypeScope ) | ( ruleRealTypeScope ) | ( ruleStringTypeScope ) ); + // InternalApplicationConfiguration.g:2327:1: rule__TypeScope__Alternatives : ( ( ruleClassTypeScope ) | ( ruleObjectTypeScope ) | ( ruleIntegerTypeScope ) | ( ruleRealTypeScope ) | ( ruleStringTypeScope ) ); public final void rule__TypeScope__Alternatives() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:2479:1: ( ( ruleClassTypeScope ) | ( ruleObjectTypeScope ) | ( ruleIntegerTypeScope ) | ( ruleRealTypeScope ) | ( ruleStringTypeScope ) ) - int alt17=5; - int LA17_0 = input.LA(1); + // InternalApplicationConfiguration.g:2331:1: ( ( ruleClassTypeScope ) | ( ruleObjectTypeScope ) | ( ruleIntegerTypeScope ) | ( ruleRealTypeScope ) | ( ruleStringTypeScope ) ) + int alt15=5; + int LA15_0 = input.LA(1); - if ( (LA17_0==49) ) { + if ( (LA15_0==46) ) { switch ( input.LA(2) ) { - case 53: + case 48: { - alt17=5; + alt15=3; } break; - case 50: + case 49: { - alt17=2; + alt15=4; } break; - case 51: + case 13: { - alt17=3; + alt15=1; } break; - case 52: + case 50: { - alt17=4; + alt15=5; } break; - case 13: + case 47: { - alt17=1; + alt15=2; } break; default: NoViableAltException nvae = - new NoViableAltException("", 17, 1, input); + new NoViableAltException("", 15, 1, input); throw nvae; } @@ -7915,16 +7412,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } else { NoViableAltException nvae = - new NoViableAltException("", 17, 0, input); + new NoViableAltException("", 15, 0, input); throw nvae; } - switch (alt17) { + switch (alt15) { case 1 : - // InternalApplicationConfiguration.g:2480:2: ( ruleClassTypeScope ) + // InternalApplicationConfiguration.g:2332:2: ( ruleClassTypeScope ) { - // InternalApplicationConfiguration.g:2480:2: ( ruleClassTypeScope ) - // InternalApplicationConfiguration.g:2481:3: ruleClassTypeScope + // InternalApplicationConfiguration.g:2332:2: ( ruleClassTypeScope ) + // InternalApplicationConfiguration.g:2333:3: ruleClassTypeScope { before(grammarAccess.getTypeScopeAccess().getClassTypeScopeParserRuleCall_0()); pushFollow(FOLLOW_2); @@ -7940,10 +7437,10 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } break; case 2 : - // InternalApplicationConfiguration.g:2486:2: ( ruleObjectTypeScope ) + // InternalApplicationConfiguration.g:2338:2: ( ruleObjectTypeScope ) { - // InternalApplicationConfiguration.g:2486:2: ( ruleObjectTypeScope ) - // InternalApplicationConfiguration.g:2487:3: ruleObjectTypeScope + // InternalApplicationConfiguration.g:2338:2: ( ruleObjectTypeScope ) + // InternalApplicationConfiguration.g:2339:3: ruleObjectTypeScope { before(grammarAccess.getTypeScopeAccess().getObjectTypeScopeParserRuleCall_1()); pushFollow(FOLLOW_2); @@ -7959,10 +7456,10 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } break; case 3 : - // InternalApplicationConfiguration.g:2492:2: ( ruleIntegerTypeScope ) + // InternalApplicationConfiguration.g:2344:2: ( ruleIntegerTypeScope ) { - // InternalApplicationConfiguration.g:2492:2: ( ruleIntegerTypeScope ) - // InternalApplicationConfiguration.g:2493:3: ruleIntegerTypeScope + // InternalApplicationConfiguration.g:2344:2: ( ruleIntegerTypeScope ) + // InternalApplicationConfiguration.g:2345:3: ruleIntegerTypeScope { before(grammarAccess.getTypeScopeAccess().getIntegerTypeScopeParserRuleCall_2()); pushFollow(FOLLOW_2); @@ -7978,10 +7475,10 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } break; case 4 : - // InternalApplicationConfiguration.g:2498:2: ( ruleRealTypeScope ) + // InternalApplicationConfiguration.g:2350:2: ( ruleRealTypeScope ) { - // InternalApplicationConfiguration.g:2498:2: ( ruleRealTypeScope ) - // InternalApplicationConfiguration.g:2499:3: ruleRealTypeScope + // InternalApplicationConfiguration.g:2350:2: ( ruleRealTypeScope ) + // InternalApplicationConfiguration.g:2351:3: ruleRealTypeScope { before(grammarAccess.getTypeScopeAccess().getRealTypeScopeParserRuleCall_3()); pushFollow(FOLLOW_2); @@ -7997,10 +7494,10 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } break; case 5 : - // InternalApplicationConfiguration.g:2504:2: ( ruleStringTypeScope ) + // InternalApplicationConfiguration.g:2356:2: ( ruleStringTypeScope ) { - // InternalApplicationConfiguration.g:2504:2: ( ruleStringTypeScope ) - // InternalApplicationConfiguration.g:2505:3: ruleStringTypeScope + // InternalApplicationConfiguration.g:2356:2: ( ruleStringTypeScope ) + // InternalApplicationConfiguration.g:2357:3: ruleStringTypeScope { before(grammarAccess.getTypeScopeAccess().getStringTypeScopeParserRuleCall_4()); pushFollow(FOLLOW_2); @@ -8033,38 +7530,38 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ClassTypeScope__Alternatives_2" - // InternalApplicationConfiguration.g:2514:1: rule__ClassTypeScope__Alternatives_2 : ( ( ( rule__ClassTypeScope__SetsNewAssignment_2_0 ) ) | ( ( rule__ClassTypeScope__SetsSumAssignment_2_1 ) ) ); + // InternalApplicationConfiguration.g:2366:1: rule__ClassTypeScope__Alternatives_2 : ( ( ( rule__ClassTypeScope__SetsNewAssignment_2_0 ) ) | ( ( rule__ClassTypeScope__SetsSumAssignment_2_1 ) ) ); public final void rule__ClassTypeScope__Alternatives_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:2518:1: ( ( ( rule__ClassTypeScope__SetsNewAssignment_2_0 ) ) | ( ( rule__ClassTypeScope__SetsSumAssignment_2_1 ) ) ) - int alt18=2; - int LA18_0 = input.LA(1); + // InternalApplicationConfiguration.g:2370:1: ( ( ( rule__ClassTypeScope__SetsNewAssignment_2_0 ) ) | ( ( rule__ClassTypeScope__SetsSumAssignment_2_1 ) ) ) + int alt16=2; + int LA16_0 = input.LA(1); - if ( (LA18_0==63) ) { - alt18=1; + if ( (LA16_0==60) ) { + alt16=1; } - else if ( (LA18_0==30) ) { - alt18=2; + else if ( (LA16_0==29) ) { + alt16=2; } else { NoViableAltException nvae = - new NoViableAltException("", 18, 0, input); + new NoViableAltException("", 16, 0, input); throw nvae; } - switch (alt18) { + switch (alt16) { case 1 : - // InternalApplicationConfiguration.g:2519:2: ( ( rule__ClassTypeScope__SetsNewAssignment_2_0 ) ) + // InternalApplicationConfiguration.g:2371:2: ( ( rule__ClassTypeScope__SetsNewAssignment_2_0 ) ) { - // InternalApplicationConfiguration.g:2519:2: ( ( rule__ClassTypeScope__SetsNewAssignment_2_0 ) ) - // InternalApplicationConfiguration.g:2520:3: ( rule__ClassTypeScope__SetsNewAssignment_2_0 ) + // InternalApplicationConfiguration.g:2371:2: ( ( rule__ClassTypeScope__SetsNewAssignment_2_0 ) ) + // InternalApplicationConfiguration.g:2372:3: ( rule__ClassTypeScope__SetsNewAssignment_2_0 ) { before(grammarAccess.getClassTypeScopeAccess().getSetsNewAssignment_2_0()); - // InternalApplicationConfiguration.g:2521:3: ( rule__ClassTypeScope__SetsNewAssignment_2_0 ) - // InternalApplicationConfiguration.g:2521:4: rule__ClassTypeScope__SetsNewAssignment_2_0 + // InternalApplicationConfiguration.g:2373:3: ( rule__ClassTypeScope__SetsNewAssignment_2_0 ) + // InternalApplicationConfiguration.g:2373:4: rule__ClassTypeScope__SetsNewAssignment_2_0 { pushFollow(FOLLOW_2); rule__ClassTypeScope__SetsNewAssignment_2_0(); @@ -8082,14 +7579,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } break; case 2 : - // InternalApplicationConfiguration.g:2525:2: ( ( rule__ClassTypeScope__SetsSumAssignment_2_1 ) ) + // InternalApplicationConfiguration.g:2377:2: ( ( rule__ClassTypeScope__SetsSumAssignment_2_1 ) ) { - // InternalApplicationConfiguration.g:2525:2: ( ( rule__ClassTypeScope__SetsSumAssignment_2_1 ) ) - // InternalApplicationConfiguration.g:2526:3: ( rule__ClassTypeScope__SetsSumAssignment_2_1 ) + // InternalApplicationConfiguration.g:2377:2: ( ( rule__ClassTypeScope__SetsSumAssignment_2_1 ) ) + // InternalApplicationConfiguration.g:2378:3: ( rule__ClassTypeScope__SetsSumAssignment_2_1 ) { before(grammarAccess.getClassTypeScopeAccess().getSetsSumAssignment_2_1()); - // InternalApplicationConfiguration.g:2527:3: ( rule__ClassTypeScope__SetsSumAssignment_2_1 ) - // InternalApplicationConfiguration.g:2527:4: rule__ClassTypeScope__SetsSumAssignment_2_1 + // InternalApplicationConfiguration.g:2379:3: ( rule__ClassTypeScope__SetsSumAssignment_2_1 ) + // InternalApplicationConfiguration.g:2379:4: rule__ClassTypeScope__SetsSumAssignment_2_1 { pushFollow(FOLLOW_2); rule__ClassTypeScope__SetsSumAssignment_2_1(); @@ -8124,51 +7621,51 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ClassTypeScope__Alternatives_3" - // InternalApplicationConfiguration.g:2535:1: rule__ClassTypeScope__Alternatives_3 : ( ( ( rule__ClassTypeScope__NumberAssignment_3_0 ) ) | ( ( rule__ClassTypeScope__NumberAssignment_3_1 ) ) ); + // InternalApplicationConfiguration.g:2387:1: rule__ClassTypeScope__Alternatives_3 : ( ( ( rule__ClassTypeScope__NumberAssignment_3_0 ) ) | ( ( rule__ClassTypeScope__NumberAssignment_3_1 ) ) ); public final void rule__ClassTypeScope__Alternatives_3() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:2539:1: ( ( ( rule__ClassTypeScope__NumberAssignment_3_0 ) ) | ( ( rule__ClassTypeScope__NumberAssignment_3_1 ) ) ) - int alt19=2; - int LA19_0 = input.LA(1); + // InternalApplicationConfiguration.g:2391:1: ( ( ( rule__ClassTypeScope__NumberAssignment_3_0 ) ) | ( ( rule__ClassTypeScope__NumberAssignment_3_1 ) ) ) + int alt17=2; + int LA17_0 = input.LA(1); - if ( (LA19_0==RULE_INT) ) { - int LA19_1 = input.LA(2); + if ( (LA17_0==RULE_INT) ) { + int LA17_1 = input.LA(2); - if ( (LA19_1==54) ) { - alt19=2; + if ( (LA17_1==EOF||(LA17_1>=31 && LA17_1<=32)) ) { + alt17=1; } - else if ( (LA19_1==EOF||(LA19_1>=32 && LA19_1<=33)) ) { - alt19=1; + else if ( (LA17_1==51) ) { + alt17=2; } else { NoViableAltException nvae = - new NoViableAltException("", 19, 1, input); + new NoViableAltException("", 17, 1, input); throw nvae; } } - else if ( (LA19_0==64) ) { - alt19=1; + else if ( (LA17_0==61) ) { + alt17=1; } else { NoViableAltException nvae = - new NoViableAltException("", 19, 0, input); + new NoViableAltException("", 17, 0, input); throw nvae; } - switch (alt19) { + switch (alt17) { case 1 : - // InternalApplicationConfiguration.g:2540:2: ( ( rule__ClassTypeScope__NumberAssignment_3_0 ) ) + // InternalApplicationConfiguration.g:2392:2: ( ( rule__ClassTypeScope__NumberAssignment_3_0 ) ) { - // InternalApplicationConfiguration.g:2540:2: ( ( rule__ClassTypeScope__NumberAssignment_3_0 ) ) - // InternalApplicationConfiguration.g:2541:3: ( rule__ClassTypeScope__NumberAssignment_3_0 ) + // InternalApplicationConfiguration.g:2392:2: ( ( rule__ClassTypeScope__NumberAssignment_3_0 ) ) + // InternalApplicationConfiguration.g:2393:3: ( rule__ClassTypeScope__NumberAssignment_3_0 ) { before(grammarAccess.getClassTypeScopeAccess().getNumberAssignment_3_0()); - // InternalApplicationConfiguration.g:2542:3: ( rule__ClassTypeScope__NumberAssignment_3_0 ) - // InternalApplicationConfiguration.g:2542:4: rule__ClassTypeScope__NumberAssignment_3_0 + // InternalApplicationConfiguration.g:2394:3: ( rule__ClassTypeScope__NumberAssignment_3_0 ) + // InternalApplicationConfiguration.g:2394:4: rule__ClassTypeScope__NumberAssignment_3_0 { pushFollow(FOLLOW_2); rule__ClassTypeScope__NumberAssignment_3_0(); @@ -8186,14 +7683,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } break; case 2 : - // InternalApplicationConfiguration.g:2546:2: ( ( rule__ClassTypeScope__NumberAssignment_3_1 ) ) + // InternalApplicationConfiguration.g:2398:2: ( ( rule__ClassTypeScope__NumberAssignment_3_1 ) ) { - // InternalApplicationConfiguration.g:2546:2: ( ( rule__ClassTypeScope__NumberAssignment_3_1 ) ) - // InternalApplicationConfiguration.g:2547:3: ( rule__ClassTypeScope__NumberAssignment_3_1 ) + // InternalApplicationConfiguration.g:2398:2: ( ( rule__ClassTypeScope__NumberAssignment_3_1 ) ) + // InternalApplicationConfiguration.g:2399:3: ( rule__ClassTypeScope__NumberAssignment_3_1 ) { before(grammarAccess.getClassTypeScopeAccess().getNumberAssignment_3_1()); - // InternalApplicationConfiguration.g:2548:3: ( rule__ClassTypeScope__NumberAssignment_3_1 ) - // InternalApplicationConfiguration.g:2548:4: rule__ClassTypeScope__NumberAssignment_3_1 + // InternalApplicationConfiguration.g:2400:3: ( rule__ClassTypeScope__NumberAssignment_3_1 ) + // InternalApplicationConfiguration.g:2400:4: rule__ClassTypeScope__NumberAssignment_3_1 { pushFollow(FOLLOW_2); rule__ClassTypeScope__NumberAssignment_3_1(); @@ -8228,38 +7725,38 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ObjectTypeScope__Alternatives_2" - // InternalApplicationConfiguration.g:2556:1: rule__ObjectTypeScope__Alternatives_2 : ( ( ( rule__ObjectTypeScope__SetsNewAssignment_2_0 ) ) | ( ( rule__ObjectTypeScope__SetsSumAssignment_2_1 ) ) ); + // InternalApplicationConfiguration.g:2408:1: rule__ObjectTypeScope__Alternatives_2 : ( ( ( rule__ObjectTypeScope__SetsNewAssignment_2_0 ) ) | ( ( rule__ObjectTypeScope__SetsSumAssignment_2_1 ) ) ); public final void rule__ObjectTypeScope__Alternatives_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:2560:1: ( ( ( rule__ObjectTypeScope__SetsNewAssignment_2_0 ) ) | ( ( rule__ObjectTypeScope__SetsSumAssignment_2_1 ) ) ) - int alt20=2; - int LA20_0 = input.LA(1); + // InternalApplicationConfiguration.g:2412:1: ( ( ( rule__ObjectTypeScope__SetsNewAssignment_2_0 ) ) | ( ( rule__ObjectTypeScope__SetsSumAssignment_2_1 ) ) ) + int alt18=2; + int LA18_0 = input.LA(1); - if ( (LA20_0==63) ) { - alt20=1; + if ( (LA18_0==60) ) { + alt18=1; } - else if ( (LA20_0==30) ) { - alt20=2; + else if ( (LA18_0==29) ) { + alt18=2; } else { NoViableAltException nvae = - new NoViableAltException("", 20, 0, input); + new NoViableAltException("", 18, 0, input); throw nvae; } - switch (alt20) { + switch (alt18) { case 1 : - // InternalApplicationConfiguration.g:2561:2: ( ( rule__ObjectTypeScope__SetsNewAssignment_2_0 ) ) + // InternalApplicationConfiguration.g:2413:2: ( ( rule__ObjectTypeScope__SetsNewAssignment_2_0 ) ) { - // InternalApplicationConfiguration.g:2561:2: ( ( rule__ObjectTypeScope__SetsNewAssignment_2_0 ) ) - // InternalApplicationConfiguration.g:2562:3: ( rule__ObjectTypeScope__SetsNewAssignment_2_0 ) + // InternalApplicationConfiguration.g:2413:2: ( ( rule__ObjectTypeScope__SetsNewAssignment_2_0 ) ) + // InternalApplicationConfiguration.g:2414:3: ( rule__ObjectTypeScope__SetsNewAssignment_2_0 ) { before(grammarAccess.getObjectTypeScopeAccess().getSetsNewAssignment_2_0()); - // InternalApplicationConfiguration.g:2563:3: ( rule__ObjectTypeScope__SetsNewAssignment_2_0 ) - // InternalApplicationConfiguration.g:2563:4: rule__ObjectTypeScope__SetsNewAssignment_2_0 + // InternalApplicationConfiguration.g:2415:3: ( rule__ObjectTypeScope__SetsNewAssignment_2_0 ) + // InternalApplicationConfiguration.g:2415:4: rule__ObjectTypeScope__SetsNewAssignment_2_0 { pushFollow(FOLLOW_2); rule__ObjectTypeScope__SetsNewAssignment_2_0(); @@ -8277,14 +7774,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } break; case 2 : - // InternalApplicationConfiguration.g:2567:2: ( ( rule__ObjectTypeScope__SetsSumAssignment_2_1 ) ) + // InternalApplicationConfiguration.g:2419:2: ( ( rule__ObjectTypeScope__SetsSumAssignment_2_1 ) ) { - // InternalApplicationConfiguration.g:2567:2: ( ( rule__ObjectTypeScope__SetsSumAssignment_2_1 ) ) - // InternalApplicationConfiguration.g:2568:3: ( rule__ObjectTypeScope__SetsSumAssignment_2_1 ) + // InternalApplicationConfiguration.g:2419:2: ( ( rule__ObjectTypeScope__SetsSumAssignment_2_1 ) ) + // InternalApplicationConfiguration.g:2420:3: ( rule__ObjectTypeScope__SetsSumAssignment_2_1 ) { before(grammarAccess.getObjectTypeScopeAccess().getSetsSumAssignment_2_1()); - // InternalApplicationConfiguration.g:2569:3: ( rule__ObjectTypeScope__SetsSumAssignment_2_1 ) - // InternalApplicationConfiguration.g:2569:4: rule__ObjectTypeScope__SetsSumAssignment_2_1 + // InternalApplicationConfiguration.g:2421:3: ( rule__ObjectTypeScope__SetsSumAssignment_2_1 ) + // InternalApplicationConfiguration.g:2421:4: rule__ObjectTypeScope__SetsSumAssignment_2_1 { pushFollow(FOLLOW_2); rule__ObjectTypeScope__SetsSumAssignment_2_1(); @@ -8319,51 +7816,51 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ObjectTypeScope__Alternatives_3" - // InternalApplicationConfiguration.g:2577:1: rule__ObjectTypeScope__Alternatives_3 : ( ( ( rule__ObjectTypeScope__NumberAssignment_3_0 ) ) | ( ( rule__ObjectTypeScope__NumberAssignment_3_1 ) ) ); + // InternalApplicationConfiguration.g:2429:1: rule__ObjectTypeScope__Alternatives_3 : ( ( ( rule__ObjectTypeScope__NumberAssignment_3_0 ) ) | ( ( rule__ObjectTypeScope__NumberAssignment_3_1 ) ) ); public final void rule__ObjectTypeScope__Alternatives_3() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:2581:1: ( ( ( rule__ObjectTypeScope__NumberAssignment_3_0 ) ) | ( ( rule__ObjectTypeScope__NumberAssignment_3_1 ) ) ) - int alt21=2; - int LA21_0 = input.LA(1); + // InternalApplicationConfiguration.g:2433:1: ( ( ( rule__ObjectTypeScope__NumberAssignment_3_0 ) ) | ( ( rule__ObjectTypeScope__NumberAssignment_3_1 ) ) ) + int alt19=2; + int LA19_0 = input.LA(1); - if ( (LA21_0==RULE_INT) ) { - int LA21_1 = input.LA(2); + if ( (LA19_0==RULE_INT) ) { + int LA19_1 = input.LA(2); - if ( (LA21_1==54) ) { - alt21=2; + if ( (LA19_1==EOF||(LA19_1>=31 && LA19_1<=32)) ) { + alt19=1; } - else if ( (LA21_1==EOF||(LA21_1>=32 && LA21_1<=33)) ) { - alt21=1; + else if ( (LA19_1==51) ) { + alt19=2; } else { NoViableAltException nvae = - new NoViableAltException("", 21, 1, input); + new NoViableAltException("", 19, 1, input); throw nvae; } } - else if ( (LA21_0==64) ) { - alt21=1; + else if ( (LA19_0==61) ) { + alt19=1; } else { NoViableAltException nvae = - new NoViableAltException("", 21, 0, input); + new NoViableAltException("", 19, 0, input); throw nvae; } - switch (alt21) { + switch (alt19) { case 1 : - // InternalApplicationConfiguration.g:2582:2: ( ( rule__ObjectTypeScope__NumberAssignment_3_0 ) ) + // InternalApplicationConfiguration.g:2434:2: ( ( rule__ObjectTypeScope__NumberAssignment_3_0 ) ) { - // InternalApplicationConfiguration.g:2582:2: ( ( rule__ObjectTypeScope__NumberAssignment_3_0 ) ) - // InternalApplicationConfiguration.g:2583:3: ( rule__ObjectTypeScope__NumberAssignment_3_0 ) + // InternalApplicationConfiguration.g:2434:2: ( ( rule__ObjectTypeScope__NumberAssignment_3_0 ) ) + // InternalApplicationConfiguration.g:2435:3: ( rule__ObjectTypeScope__NumberAssignment_3_0 ) { before(grammarAccess.getObjectTypeScopeAccess().getNumberAssignment_3_0()); - // InternalApplicationConfiguration.g:2584:3: ( rule__ObjectTypeScope__NumberAssignment_3_0 ) - // InternalApplicationConfiguration.g:2584:4: rule__ObjectTypeScope__NumberAssignment_3_0 + // InternalApplicationConfiguration.g:2436:3: ( rule__ObjectTypeScope__NumberAssignment_3_0 ) + // InternalApplicationConfiguration.g:2436:4: rule__ObjectTypeScope__NumberAssignment_3_0 { pushFollow(FOLLOW_2); rule__ObjectTypeScope__NumberAssignment_3_0(); @@ -8381,14 +7878,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } break; case 2 : - // InternalApplicationConfiguration.g:2588:2: ( ( rule__ObjectTypeScope__NumberAssignment_3_1 ) ) + // InternalApplicationConfiguration.g:2440:2: ( ( rule__ObjectTypeScope__NumberAssignment_3_1 ) ) { - // InternalApplicationConfiguration.g:2588:2: ( ( rule__ObjectTypeScope__NumberAssignment_3_1 ) ) - // InternalApplicationConfiguration.g:2589:3: ( rule__ObjectTypeScope__NumberAssignment_3_1 ) + // InternalApplicationConfiguration.g:2440:2: ( ( rule__ObjectTypeScope__NumberAssignment_3_1 ) ) + // InternalApplicationConfiguration.g:2441:3: ( rule__ObjectTypeScope__NumberAssignment_3_1 ) { before(grammarAccess.getObjectTypeScopeAccess().getNumberAssignment_3_1()); - // InternalApplicationConfiguration.g:2590:3: ( rule__ObjectTypeScope__NumberAssignment_3_1 ) - // InternalApplicationConfiguration.g:2590:4: rule__ObjectTypeScope__NumberAssignment_3_1 + // InternalApplicationConfiguration.g:2442:3: ( rule__ObjectTypeScope__NumberAssignment_3_1 ) + // InternalApplicationConfiguration.g:2442:4: rule__ObjectTypeScope__NumberAssignment_3_1 { pushFollow(FOLLOW_2); rule__ObjectTypeScope__NumberAssignment_3_1(); @@ -8423,38 +7920,38 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__IntegerTypeScope__Alternatives_2" - // InternalApplicationConfiguration.g:2598:1: rule__IntegerTypeScope__Alternatives_2 : ( ( ( rule__IntegerTypeScope__SetsNewAssignment_2_0 ) ) | ( ( rule__IntegerTypeScope__SetsSumAssignment_2_1 ) ) ); + // InternalApplicationConfiguration.g:2450:1: rule__IntegerTypeScope__Alternatives_2 : ( ( ( rule__IntegerTypeScope__SetsNewAssignment_2_0 ) ) | ( ( rule__IntegerTypeScope__SetsSumAssignment_2_1 ) ) ); public final void rule__IntegerTypeScope__Alternatives_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:2602:1: ( ( ( rule__IntegerTypeScope__SetsNewAssignment_2_0 ) ) | ( ( rule__IntegerTypeScope__SetsSumAssignment_2_1 ) ) ) - int alt22=2; - int LA22_0 = input.LA(1); + // InternalApplicationConfiguration.g:2454:1: ( ( ( rule__IntegerTypeScope__SetsNewAssignment_2_0 ) ) | ( ( rule__IntegerTypeScope__SetsSumAssignment_2_1 ) ) ) + int alt20=2; + int LA20_0 = input.LA(1); - if ( (LA22_0==63) ) { - alt22=1; + if ( (LA20_0==60) ) { + alt20=1; } - else if ( (LA22_0==30) ) { - alt22=2; + else if ( (LA20_0==29) ) { + alt20=2; } else { NoViableAltException nvae = - new NoViableAltException("", 22, 0, input); + new NoViableAltException("", 20, 0, input); throw nvae; } - switch (alt22) { + switch (alt20) { case 1 : - // InternalApplicationConfiguration.g:2603:2: ( ( rule__IntegerTypeScope__SetsNewAssignment_2_0 ) ) + // InternalApplicationConfiguration.g:2455:2: ( ( rule__IntegerTypeScope__SetsNewAssignment_2_0 ) ) { - // InternalApplicationConfiguration.g:2603:2: ( ( rule__IntegerTypeScope__SetsNewAssignment_2_0 ) ) - // InternalApplicationConfiguration.g:2604:3: ( rule__IntegerTypeScope__SetsNewAssignment_2_0 ) + // InternalApplicationConfiguration.g:2455:2: ( ( rule__IntegerTypeScope__SetsNewAssignment_2_0 ) ) + // InternalApplicationConfiguration.g:2456:3: ( rule__IntegerTypeScope__SetsNewAssignment_2_0 ) { before(grammarAccess.getIntegerTypeScopeAccess().getSetsNewAssignment_2_0()); - // InternalApplicationConfiguration.g:2605:3: ( rule__IntegerTypeScope__SetsNewAssignment_2_0 ) - // InternalApplicationConfiguration.g:2605:4: rule__IntegerTypeScope__SetsNewAssignment_2_0 + // InternalApplicationConfiguration.g:2457:3: ( rule__IntegerTypeScope__SetsNewAssignment_2_0 ) + // InternalApplicationConfiguration.g:2457:4: rule__IntegerTypeScope__SetsNewAssignment_2_0 { pushFollow(FOLLOW_2); rule__IntegerTypeScope__SetsNewAssignment_2_0(); @@ -8472,14 +7969,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } break; case 2 : - // InternalApplicationConfiguration.g:2609:2: ( ( rule__IntegerTypeScope__SetsSumAssignment_2_1 ) ) + // InternalApplicationConfiguration.g:2461:2: ( ( rule__IntegerTypeScope__SetsSumAssignment_2_1 ) ) { - // InternalApplicationConfiguration.g:2609:2: ( ( rule__IntegerTypeScope__SetsSumAssignment_2_1 ) ) - // InternalApplicationConfiguration.g:2610:3: ( rule__IntegerTypeScope__SetsSumAssignment_2_1 ) + // InternalApplicationConfiguration.g:2461:2: ( ( rule__IntegerTypeScope__SetsSumAssignment_2_1 ) ) + // InternalApplicationConfiguration.g:2462:3: ( rule__IntegerTypeScope__SetsSumAssignment_2_1 ) { before(grammarAccess.getIntegerTypeScopeAccess().getSetsSumAssignment_2_1()); - // InternalApplicationConfiguration.g:2611:3: ( rule__IntegerTypeScope__SetsSumAssignment_2_1 ) - // InternalApplicationConfiguration.g:2611:4: rule__IntegerTypeScope__SetsSumAssignment_2_1 + // InternalApplicationConfiguration.g:2463:3: ( rule__IntegerTypeScope__SetsSumAssignment_2_1 ) + // InternalApplicationConfiguration.g:2463:4: rule__IntegerTypeScope__SetsSumAssignment_2_1 { pushFollow(FOLLOW_2); rule__IntegerTypeScope__SetsSumAssignment_2_1(); @@ -8514,60 +8011,60 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__IntegerTypeScope__Alternatives_3" - // InternalApplicationConfiguration.g:2619:1: rule__IntegerTypeScope__Alternatives_3 : ( ( ( rule__IntegerTypeScope__NumberAssignment_3_0 ) ) | ( ( rule__IntegerTypeScope__NumberAssignment_3_1 ) ) | ( ( rule__IntegerTypeScope__NumberAssignment_3_2 ) ) ); + // InternalApplicationConfiguration.g:2471:1: rule__IntegerTypeScope__Alternatives_3 : ( ( ( rule__IntegerTypeScope__NumberAssignment_3_0 ) ) | ( ( rule__IntegerTypeScope__NumberAssignment_3_1 ) ) | ( ( rule__IntegerTypeScope__NumberAssignment_3_2 ) ) ); public final void rule__IntegerTypeScope__Alternatives_3() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:2623:1: ( ( ( rule__IntegerTypeScope__NumberAssignment_3_0 ) ) | ( ( rule__IntegerTypeScope__NumberAssignment_3_1 ) ) | ( ( rule__IntegerTypeScope__NumberAssignment_3_2 ) ) ) - int alt23=3; + // InternalApplicationConfiguration.g:2475:1: ( ( ( rule__IntegerTypeScope__NumberAssignment_3_0 ) ) | ( ( rule__IntegerTypeScope__NumberAssignment_3_1 ) ) | ( ( rule__IntegerTypeScope__NumberAssignment_3_2 ) ) ) + int alt21=3; switch ( input.LA(1) ) { case RULE_INT: { - int LA23_1 = input.LA(2); + int LA21_1 = input.LA(2); - if ( (LA23_1==54) ) { - alt23=2; + if ( (LA21_1==51) ) { + alt21=2; } - else if ( (LA23_1==EOF||(LA23_1>=32 && LA23_1<=33)) ) { - alt23=1; + else if ( (LA21_1==EOF||(LA21_1>=31 && LA21_1<=32)) ) { + alt21=1; } else { NoViableAltException nvae = - new NoViableAltException("", 23, 1, input); + new NoViableAltException("", 21, 1, input); throw nvae; } } break; - case 64: + case 61: { - alt23=1; + alt21=1; } break; - case 31: + case 30: { - alt23=3; + alt21=3; } break; default: NoViableAltException nvae = - new NoViableAltException("", 23, 0, input); + new NoViableAltException("", 21, 0, input); throw nvae; } - switch (alt23) { + switch (alt21) { case 1 : - // InternalApplicationConfiguration.g:2624:2: ( ( rule__IntegerTypeScope__NumberAssignment_3_0 ) ) + // InternalApplicationConfiguration.g:2476:2: ( ( rule__IntegerTypeScope__NumberAssignment_3_0 ) ) { - // InternalApplicationConfiguration.g:2624:2: ( ( rule__IntegerTypeScope__NumberAssignment_3_0 ) ) - // InternalApplicationConfiguration.g:2625:3: ( rule__IntegerTypeScope__NumberAssignment_3_0 ) + // InternalApplicationConfiguration.g:2476:2: ( ( rule__IntegerTypeScope__NumberAssignment_3_0 ) ) + // InternalApplicationConfiguration.g:2477:3: ( rule__IntegerTypeScope__NumberAssignment_3_0 ) { before(grammarAccess.getIntegerTypeScopeAccess().getNumberAssignment_3_0()); - // InternalApplicationConfiguration.g:2626:3: ( rule__IntegerTypeScope__NumberAssignment_3_0 ) - // InternalApplicationConfiguration.g:2626:4: rule__IntegerTypeScope__NumberAssignment_3_0 + // InternalApplicationConfiguration.g:2478:3: ( rule__IntegerTypeScope__NumberAssignment_3_0 ) + // InternalApplicationConfiguration.g:2478:4: rule__IntegerTypeScope__NumberAssignment_3_0 { pushFollow(FOLLOW_2); rule__IntegerTypeScope__NumberAssignment_3_0(); @@ -8585,14 +8082,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } break; case 2 : - // InternalApplicationConfiguration.g:2630:2: ( ( rule__IntegerTypeScope__NumberAssignment_3_1 ) ) + // InternalApplicationConfiguration.g:2482:2: ( ( rule__IntegerTypeScope__NumberAssignment_3_1 ) ) { - // InternalApplicationConfiguration.g:2630:2: ( ( rule__IntegerTypeScope__NumberAssignment_3_1 ) ) - // InternalApplicationConfiguration.g:2631:3: ( rule__IntegerTypeScope__NumberAssignment_3_1 ) + // InternalApplicationConfiguration.g:2482:2: ( ( rule__IntegerTypeScope__NumberAssignment_3_1 ) ) + // InternalApplicationConfiguration.g:2483:3: ( rule__IntegerTypeScope__NumberAssignment_3_1 ) { before(grammarAccess.getIntegerTypeScopeAccess().getNumberAssignment_3_1()); - // InternalApplicationConfiguration.g:2632:3: ( rule__IntegerTypeScope__NumberAssignment_3_1 ) - // InternalApplicationConfiguration.g:2632:4: rule__IntegerTypeScope__NumberAssignment_3_1 + // InternalApplicationConfiguration.g:2484:3: ( rule__IntegerTypeScope__NumberAssignment_3_1 ) + // InternalApplicationConfiguration.g:2484:4: rule__IntegerTypeScope__NumberAssignment_3_1 { pushFollow(FOLLOW_2); rule__IntegerTypeScope__NumberAssignment_3_1(); @@ -8610,14 +8107,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } break; case 3 : - // InternalApplicationConfiguration.g:2636:2: ( ( rule__IntegerTypeScope__NumberAssignment_3_2 ) ) + // InternalApplicationConfiguration.g:2488:2: ( ( rule__IntegerTypeScope__NumberAssignment_3_2 ) ) { - // InternalApplicationConfiguration.g:2636:2: ( ( rule__IntegerTypeScope__NumberAssignment_3_2 ) ) - // InternalApplicationConfiguration.g:2637:3: ( rule__IntegerTypeScope__NumberAssignment_3_2 ) + // InternalApplicationConfiguration.g:2488:2: ( ( rule__IntegerTypeScope__NumberAssignment_3_2 ) ) + // InternalApplicationConfiguration.g:2489:3: ( rule__IntegerTypeScope__NumberAssignment_3_2 ) { before(grammarAccess.getIntegerTypeScopeAccess().getNumberAssignment_3_2()); - // InternalApplicationConfiguration.g:2638:3: ( rule__IntegerTypeScope__NumberAssignment_3_2 ) - // InternalApplicationConfiguration.g:2638:4: rule__IntegerTypeScope__NumberAssignment_3_2 + // InternalApplicationConfiguration.g:2490:3: ( rule__IntegerTypeScope__NumberAssignment_3_2 ) + // InternalApplicationConfiguration.g:2490:4: rule__IntegerTypeScope__NumberAssignment_3_2 { pushFollow(FOLLOW_2); rule__IntegerTypeScope__NumberAssignment_3_2(); @@ -8652,38 +8149,38 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__RealTypeScope__Alternatives_2" - // InternalApplicationConfiguration.g:2646:1: rule__RealTypeScope__Alternatives_2 : ( ( ( rule__RealTypeScope__SetsNewAssignment_2_0 ) ) | ( ( rule__RealTypeScope__SetsSumAssignment_2_1 ) ) ); + // InternalApplicationConfiguration.g:2498:1: rule__RealTypeScope__Alternatives_2 : ( ( ( rule__RealTypeScope__SetsNewAssignment_2_0 ) ) | ( ( rule__RealTypeScope__SetsSumAssignment_2_1 ) ) ); public final void rule__RealTypeScope__Alternatives_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:2650:1: ( ( ( rule__RealTypeScope__SetsNewAssignment_2_0 ) ) | ( ( rule__RealTypeScope__SetsSumAssignment_2_1 ) ) ) - int alt24=2; - int LA24_0 = input.LA(1); + // InternalApplicationConfiguration.g:2502:1: ( ( ( rule__RealTypeScope__SetsNewAssignment_2_0 ) ) | ( ( rule__RealTypeScope__SetsSumAssignment_2_1 ) ) ) + int alt22=2; + int LA22_0 = input.LA(1); - if ( (LA24_0==63) ) { - alt24=1; + if ( (LA22_0==60) ) { + alt22=1; } - else if ( (LA24_0==30) ) { - alt24=2; + else if ( (LA22_0==29) ) { + alt22=2; } else { NoViableAltException nvae = - new NoViableAltException("", 24, 0, input); + new NoViableAltException("", 22, 0, input); throw nvae; } - switch (alt24) { + switch (alt22) { case 1 : - // InternalApplicationConfiguration.g:2651:2: ( ( rule__RealTypeScope__SetsNewAssignment_2_0 ) ) + // InternalApplicationConfiguration.g:2503:2: ( ( rule__RealTypeScope__SetsNewAssignment_2_0 ) ) { - // InternalApplicationConfiguration.g:2651:2: ( ( rule__RealTypeScope__SetsNewAssignment_2_0 ) ) - // InternalApplicationConfiguration.g:2652:3: ( rule__RealTypeScope__SetsNewAssignment_2_0 ) + // InternalApplicationConfiguration.g:2503:2: ( ( rule__RealTypeScope__SetsNewAssignment_2_0 ) ) + // InternalApplicationConfiguration.g:2504:3: ( rule__RealTypeScope__SetsNewAssignment_2_0 ) { before(grammarAccess.getRealTypeScopeAccess().getSetsNewAssignment_2_0()); - // InternalApplicationConfiguration.g:2653:3: ( rule__RealTypeScope__SetsNewAssignment_2_0 ) - // InternalApplicationConfiguration.g:2653:4: rule__RealTypeScope__SetsNewAssignment_2_0 + // InternalApplicationConfiguration.g:2505:3: ( rule__RealTypeScope__SetsNewAssignment_2_0 ) + // InternalApplicationConfiguration.g:2505:4: rule__RealTypeScope__SetsNewAssignment_2_0 { pushFollow(FOLLOW_2); rule__RealTypeScope__SetsNewAssignment_2_0(); @@ -8701,14 +8198,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } break; case 2 : - // InternalApplicationConfiguration.g:2657:2: ( ( rule__RealTypeScope__SetsSumAssignment_2_1 ) ) + // InternalApplicationConfiguration.g:2509:2: ( ( rule__RealTypeScope__SetsSumAssignment_2_1 ) ) { - // InternalApplicationConfiguration.g:2657:2: ( ( rule__RealTypeScope__SetsSumAssignment_2_1 ) ) - // InternalApplicationConfiguration.g:2658:3: ( rule__RealTypeScope__SetsSumAssignment_2_1 ) + // InternalApplicationConfiguration.g:2509:2: ( ( rule__RealTypeScope__SetsSumAssignment_2_1 ) ) + // InternalApplicationConfiguration.g:2510:3: ( rule__RealTypeScope__SetsSumAssignment_2_1 ) { before(grammarAccess.getRealTypeScopeAccess().getSetsSumAssignment_2_1()); - // InternalApplicationConfiguration.g:2659:3: ( rule__RealTypeScope__SetsSumAssignment_2_1 ) - // InternalApplicationConfiguration.g:2659:4: rule__RealTypeScope__SetsSumAssignment_2_1 + // InternalApplicationConfiguration.g:2511:3: ( rule__RealTypeScope__SetsSumAssignment_2_1 ) + // InternalApplicationConfiguration.g:2511:4: rule__RealTypeScope__SetsSumAssignment_2_1 { pushFollow(FOLLOW_2); rule__RealTypeScope__SetsSumAssignment_2_1(); @@ -8743,60 +8240,60 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__RealTypeScope__Alternatives_3" - // InternalApplicationConfiguration.g:2667:1: rule__RealTypeScope__Alternatives_3 : ( ( ( rule__RealTypeScope__NumberAssignment_3_0 ) ) | ( ( rule__RealTypeScope__NumberAssignment_3_1 ) ) | ( ( rule__RealTypeScope__NumberAssignment_3_2 ) ) ); + // InternalApplicationConfiguration.g:2519:1: rule__RealTypeScope__Alternatives_3 : ( ( ( rule__RealTypeScope__NumberAssignment_3_0 ) ) | ( ( rule__RealTypeScope__NumberAssignment_3_1 ) ) | ( ( rule__RealTypeScope__NumberAssignment_3_2 ) ) ); public final void rule__RealTypeScope__Alternatives_3() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:2671:1: ( ( ( rule__RealTypeScope__NumberAssignment_3_0 ) ) | ( ( rule__RealTypeScope__NumberAssignment_3_1 ) ) | ( ( rule__RealTypeScope__NumberAssignment_3_2 ) ) ) - int alt25=3; + // InternalApplicationConfiguration.g:2523:1: ( ( ( rule__RealTypeScope__NumberAssignment_3_0 ) ) | ( ( rule__RealTypeScope__NumberAssignment_3_1 ) ) | ( ( rule__RealTypeScope__NumberAssignment_3_2 ) ) ) + int alt23=3; switch ( input.LA(1) ) { case RULE_INT: { - int LA25_1 = input.LA(2); + int LA23_1 = input.LA(2); - if ( (LA25_1==54) ) { - alt25=2; + if ( (LA23_1==EOF||(LA23_1>=31 && LA23_1<=32)) ) { + alt23=1; } - else if ( (LA25_1==EOF||(LA25_1>=32 && LA25_1<=33)) ) { - alt25=1; + else if ( (LA23_1==51) ) { + alt23=2; } else { NoViableAltException nvae = - new NoViableAltException("", 25, 1, input); + new NoViableAltException("", 23, 1, input); throw nvae; } } break; - case 64: + case 61: { - alt25=1; + alt23=1; } break; - case 31: + case 30: { - alt25=3; + alt23=3; } break; default: NoViableAltException nvae = - new NoViableAltException("", 25, 0, input); + new NoViableAltException("", 23, 0, input); throw nvae; } - switch (alt25) { + switch (alt23) { case 1 : - // InternalApplicationConfiguration.g:2672:2: ( ( rule__RealTypeScope__NumberAssignment_3_0 ) ) + // InternalApplicationConfiguration.g:2524:2: ( ( rule__RealTypeScope__NumberAssignment_3_0 ) ) { - // InternalApplicationConfiguration.g:2672:2: ( ( rule__RealTypeScope__NumberAssignment_3_0 ) ) - // InternalApplicationConfiguration.g:2673:3: ( rule__RealTypeScope__NumberAssignment_3_0 ) + // InternalApplicationConfiguration.g:2524:2: ( ( rule__RealTypeScope__NumberAssignment_3_0 ) ) + // InternalApplicationConfiguration.g:2525:3: ( rule__RealTypeScope__NumberAssignment_3_0 ) { before(grammarAccess.getRealTypeScopeAccess().getNumberAssignment_3_0()); - // InternalApplicationConfiguration.g:2674:3: ( rule__RealTypeScope__NumberAssignment_3_0 ) - // InternalApplicationConfiguration.g:2674:4: rule__RealTypeScope__NumberAssignment_3_0 + // InternalApplicationConfiguration.g:2526:3: ( rule__RealTypeScope__NumberAssignment_3_0 ) + // InternalApplicationConfiguration.g:2526:4: rule__RealTypeScope__NumberAssignment_3_0 { pushFollow(FOLLOW_2); rule__RealTypeScope__NumberAssignment_3_0(); @@ -8814,14 +8311,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } break; case 2 : - // InternalApplicationConfiguration.g:2678:2: ( ( rule__RealTypeScope__NumberAssignment_3_1 ) ) + // InternalApplicationConfiguration.g:2530:2: ( ( rule__RealTypeScope__NumberAssignment_3_1 ) ) { - // InternalApplicationConfiguration.g:2678:2: ( ( rule__RealTypeScope__NumberAssignment_3_1 ) ) - // InternalApplicationConfiguration.g:2679:3: ( rule__RealTypeScope__NumberAssignment_3_1 ) + // InternalApplicationConfiguration.g:2530:2: ( ( rule__RealTypeScope__NumberAssignment_3_1 ) ) + // InternalApplicationConfiguration.g:2531:3: ( rule__RealTypeScope__NumberAssignment_3_1 ) { before(grammarAccess.getRealTypeScopeAccess().getNumberAssignment_3_1()); - // InternalApplicationConfiguration.g:2680:3: ( rule__RealTypeScope__NumberAssignment_3_1 ) - // InternalApplicationConfiguration.g:2680:4: rule__RealTypeScope__NumberAssignment_3_1 + // InternalApplicationConfiguration.g:2532:3: ( rule__RealTypeScope__NumberAssignment_3_1 ) + // InternalApplicationConfiguration.g:2532:4: rule__RealTypeScope__NumberAssignment_3_1 { pushFollow(FOLLOW_2); rule__RealTypeScope__NumberAssignment_3_1(); @@ -8839,14 +8336,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } break; case 3 : - // InternalApplicationConfiguration.g:2684:2: ( ( rule__RealTypeScope__NumberAssignment_3_2 ) ) + // InternalApplicationConfiguration.g:2536:2: ( ( rule__RealTypeScope__NumberAssignment_3_2 ) ) { - // InternalApplicationConfiguration.g:2684:2: ( ( rule__RealTypeScope__NumberAssignment_3_2 ) ) - // InternalApplicationConfiguration.g:2685:3: ( rule__RealTypeScope__NumberAssignment_3_2 ) + // InternalApplicationConfiguration.g:2536:2: ( ( rule__RealTypeScope__NumberAssignment_3_2 ) ) + // InternalApplicationConfiguration.g:2537:3: ( rule__RealTypeScope__NumberAssignment_3_2 ) { before(grammarAccess.getRealTypeScopeAccess().getNumberAssignment_3_2()); - // InternalApplicationConfiguration.g:2686:3: ( rule__RealTypeScope__NumberAssignment_3_2 ) - // InternalApplicationConfiguration.g:2686:4: rule__RealTypeScope__NumberAssignment_3_2 + // InternalApplicationConfiguration.g:2538:3: ( rule__RealTypeScope__NumberAssignment_3_2 ) + // InternalApplicationConfiguration.g:2538:4: rule__RealTypeScope__NumberAssignment_3_2 { pushFollow(FOLLOW_2); rule__RealTypeScope__NumberAssignment_3_2(); @@ -8881,38 +8378,38 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__StringTypeScope__Alternatives_2" - // InternalApplicationConfiguration.g:2694:1: rule__StringTypeScope__Alternatives_2 : ( ( ( rule__StringTypeScope__SetsNewAssignment_2_0 ) ) | ( ( rule__StringTypeScope__SetsSumAssignment_2_1 ) ) ); + // InternalApplicationConfiguration.g:2546:1: rule__StringTypeScope__Alternatives_2 : ( ( ( rule__StringTypeScope__SetsNewAssignment_2_0 ) ) | ( ( rule__StringTypeScope__SetsSumAssignment_2_1 ) ) ); public final void rule__StringTypeScope__Alternatives_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:2698:1: ( ( ( rule__StringTypeScope__SetsNewAssignment_2_0 ) ) | ( ( rule__StringTypeScope__SetsSumAssignment_2_1 ) ) ) - int alt26=2; - int LA26_0 = input.LA(1); + // InternalApplicationConfiguration.g:2550:1: ( ( ( rule__StringTypeScope__SetsNewAssignment_2_0 ) ) | ( ( rule__StringTypeScope__SetsSumAssignment_2_1 ) ) ) + int alt24=2; + int LA24_0 = input.LA(1); - if ( (LA26_0==63) ) { - alt26=1; + if ( (LA24_0==60) ) { + alt24=1; } - else if ( (LA26_0==30) ) { - alt26=2; + else if ( (LA24_0==29) ) { + alt24=2; } else { NoViableAltException nvae = - new NoViableAltException("", 26, 0, input); + new NoViableAltException("", 24, 0, input); throw nvae; } - switch (alt26) { + switch (alt24) { case 1 : - // InternalApplicationConfiguration.g:2699:2: ( ( rule__StringTypeScope__SetsNewAssignment_2_0 ) ) + // InternalApplicationConfiguration.g:2551:2: ( ( rule__StringTypeScope__SetsNewAssignment_2_0 ) ) { - // InternalApplicationConfiguration.g:2699:2: ( ( rule__StringTypeScope__SetsNewAssignment_2_0 ) ) - // InternalApplicationConfiguration.g:2700:3: ( rule__StringTypeScope__SetsNewAssignment_2_0 ) + // InternalApplicationConfiguration.g:2551:2: ( ( rule__StringTypeScope__SetsNewAssignment_2_0 ) ) + // InternalApplicationConfiguration.g:2552:3: ( rule__StringTypeScope__SetsNewAssignment_2_0 ) { before(grammarAccess.getStringTypeScopeAccess().getSetsNewAssignment_2_0()); - // InternalApplicationConfiguration.g:2701:3: ( rule__StringTypeScope__SetsNewAssignment_2_0 ) - // InternalApplicationConfiguration.g:2701:4: rule__StringTypeScope__SetsNewAssignment_2_0 + // InternalApplicationConfiguration.g:2553:3: ( rule__StringTypeScope__SetsNewAssignment_2_0 ) + // InternalApplicationConfiguration.g:2553:4: rule__StringTypeScope__SetsNewAssignment_2_0 { pushFollow(FOLLOW_2); rule__StringTypeScope__SetsNewAssignment_2_0(); @@ -8930,14 +8427,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } break; case 2 : - // InternalApplicationConfiguration.g:2705:2: ( ( rule__StringTypeScope__SetsSumAssignment_2_1 ) ) + // InternalApplicationConfiguration.g:2557:2: ( ( rule__StringTypeScope__SetsSumAssignment_2_1 ) ) { - // InternalApplicationConfiguration.g:2705:2: ( ( rule__StringTypeScope__SetsSumAssignment_2_1 ) ) - // InternalApplicationConfiguration.g:2706:3: ( rule__StringTypeScope__SetsSumAssignment_2_1 ) + // InternalApplicationConfiguration.g:2557:2: ( ( rule__StringTypeScope__SetsSumAssignment_2_1 ) ) + // InternalApplicationConfiguration.g:2558:3: ( rule__StringTypeScope__SetsSumAssignment_2_1 ) { before(grammarAccess.getStringTypeScopeAccess().getSetsSumAssignment_2_1()); - // InternalApplicationConfiguration.g:2707:3: ( rule__StringTypeScope__SetsSumAssignment_2_1 ) - // InternalApplicationConfiguration.g:2707:4: rule__StringTypeScope__SetsSumAssignment_2_1 + // InternalApplicationConfiguration.g:2559:3: ( rule__StringTypeScope__SetsSumAssignment_2_1 ) + // InternalApplicationConfiguration.g:2559:4: rule__StringTypeScope__SetsSumAssignment_2_1 { pushFollow(FOLLOW_2); rule__StringTypeScope__SetsSumAssignment_2_1(); @@ -8972,60 +8469,60 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__StringTypeScope__Alternatives_3" - // InternalApplicationConfiguration.g:2715:1: rule__StringTypeScope__Alternatives_3 : ( ( ( rule__StringTypeScope__NumberAssignment_3_0 ) ) | ( ( rule__StringTypeScope__NumberAssignment_3_1 ) ) | ( ( rule__StringTypeScope__NumberAssignment_3_2 ) ) ); + // InternalApplicationConfiguration.g:2567:1: rule__StringTypeScope__Alternatives_3 : ( ( ( rule__StringTypeScope__NumberAssignment_3_0 ) ) | ( ( rule__StringTypeScope__NumberAssignment_3_1 ) ) | ( ( rule__StringTypeScope__NumberAssignment_3_2 ) ) ); public final void rule__StringTypeScope__Alternatives_3() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:2719:1: ( ( ( rule__StringTypeScope__NumberAssignment_3_0 ) ) | ( ( rule__StringTypeScope__NumberAssignment_3_1 ) ) | ( ( rule__StringTypeScope__NumberAssignment_3_2 ) ) ) - int alt27=3; + // InternalApplicationConfiguration.g:2571:1: ( ( ( rule__StringTypeScope__NumberAssignment_3_0 ) ) | ( ( rule__StringTypeScope__NumberAssignment_3_1 ) ) | ( ( rule__StringTypeScope__NumberAssignment_3_2 ) ) ) + int alt25=3; switch ( input.LA(1) ) { case RULE_INT: { - int LA27_1 = input.LA(2); + int LA25_1 = input.LA(2); - if ( (LA27_1==54) ) { - alt27=2; + if ( (LA25_1==EOF||(LA25_1>=31 && LA25_1<=32)) ) { + alt25=1; } - else if ( (LA27_1==EOF||(LA27_1>=32 && LA27_1<=33)) ) { - alt27=1; + else if ( (LA25_1==51) ) { + alt25=2; } else { NoViableAltException nvae = - new NoViableAltException("", 27, 1, input); + new NoViableAltException("", 25, 1, input); throw nvae; } } break; - case 64: + case 61: { - alt27=1; + alt25=1; } break; - case 31: + case 30: { - alt27=3; + alt25=3; } break; default: NoViableAltException nvae = - new NoViableAltException("", 27, 0, input); + new NoViableAltException("", 25, 0, input); throw nvae; } - switch (alt27) { + switch (alt25) { case 1 : - // InternalApplicationConfiguration.g:2720:2: ( ( rule__StringTypeScope__NumberAssignment_3_0 ) ) + // InternalApplicationConfiguration.g:2572:2: ( ( rule__StringTypeScope__NumberAssignment_3_0 ) ) { - // InternalApplicationConfiguration.g:2720:2: ( ( rule__StringTypeScope__NumberAssignment_3_0 ) ) - // InternalApplicationConfiguration.g:2721:3: ( rule__StringTypeScope__NumberAssignment_3_0 ) + // InternalApplicationConfiguration.g:2572:2: ( ( rule__StringTypeScope__NumberAssignment_3_0 ) ) + // InternalApplicationConfiguration.g:2573:3: ( rule__StringTypeScope__NumberAssignment_3_0 ) { before(grammarAccess.getStringTypeScopeAccess().getNumberAssignment_3_0()); - // InternalApplicationConfiguration.g:2722:3: ( rule__StringTypeScope__NumberAssignment_3_0 ) - // InternalApplicationConfiguration.g:2722:4: rule__StringTypeScope__NumberAssignment_3_0 + // InternalApplicationConfiguration.g:2574:3: ( rule__StringTypeScope__NumberAssignment_3_0 ) + // InternalApplicationConfiguration.g:2574:4: rule__StringTypeScope__NumberAssignment_3_0 { pushFollow(FOLLOW_2); rule__StringTypeScope__NumberAssignment_3_0(); @@ -9043,14 +8540,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } break; case 2 : - // InternalApplicationConfiguration.g:2726:2: ( ( rule__StringTypeScope__NumberAssignment_3_1 ) ) + // InternalApplicationConfiguration.g:2578:2: ( ( rule__StringTypeScope__NumberAssignment_3_1 ) ) { - // InternalApplicationConfiguration.g:2726:2: ( ( rule__StringTypeScope__NumberAssignment_3_1 ) ) - // InternalApplicationConfiguration.g:2727:3: ( rule__StringTypeScope__NumberAssignment_3_1 ) + // InternalApplicationConfiguration.g:2578:2: ( ( rule__StringTypeScope__NumberAssignment_3_1 ) ) + // InternalApplicationConfiguration.g:2579:3: ( rule__StringTypeScope__NumberAssignment_3_1 ) { before(grammarAccess.getStringTypeScopeAccess().getNumberAssignment_3_1()); - // InternalApplicationConfiguration.g:2728:3: ( rule__StringTypeScope__NumberAssignment_3_1 ) - // InternalApplicationConfiguration.g:2728:4: rule__StringTypeScope__NumberAssignment_3_1 + // InternalApplicationConfiguration.g:2580:3: ( rule__StringTypeScope__NumberAssignment_3_1 ) + // InternalApplicationConfiguration.g:2580:4: rule__StringTypeScope__NumberAssignment_3_1 { pushFollow(FOLLOW_2); rule__StringTypeScope__NumberAssignment_3_1(); @@ -9068,14 +8565,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } break; case 3 : - // InternalApplicationConfiguration.g:2732:2: ( ( rule__StringTypeScope__NumberAssignment_3_2 ) ) + // InternalApplicationConfiguration.g:2584:2: ( ( rule__StringTypeScope__NumberAssignment_3_2 ) ) { - // InternalApplicationConfiguration.g:2732:2: ( ( rule__StringTypeScope__NumberAssignment_3_2 ) ) - // InternalApplicationConfiguration.g:2733:3: ( rule__StringTypeScope__NumberAssignment_3_2 ) + // InternalApplicationConfiguration.g:2584:2: ( ( rule__StringTypeScope__NumberAssignment_3_2 ) ) + // InternalApplicationConfiguration.g:2585:3: ( rule__StringTypeScope__NumberAssignment_3_2 ) { before(grammarAccess.getStringTypeScopeAccess().getNumberAssignment_3_2()); - // InternalApplicationConfiguration.g:2734:3: ( rule__StringTypeScope__NumberAssignment_3_2 ) - // InternalApplicationConfiguration.g:2734:4: rule__StringTypeScope__NumberAssignment_3_2 + // InternalApplicationConfiguration.g:2586:3: ( rule__StringTypeScope__NumberAssignment_3_2 ) + // InternalApplicationConfiguration.g:2586:4: rule__StringTypeScope__NumberAssignment_3_2 { pushFollow(FOLLOW_2); rule__StringTypeScope__NumberAssignment_3_2(); @@ -9110,38 +8607,38 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ExactNumber__Alternatives" - // InternalApplicationConfiguration.g:2742:1: rule__ExactNumber__Alternatives : ( ( ( rule__ExactNumber__ExactNumberAssignment_0 ) ) | ( ( rule__ExactNumber__ExactUnlimitedAssignment_1 ) ) ); + // InternalApplicationConfiguration.g:2594:1: rule__ExactNumber__Alternatives : ( ( ( rule__ExactNumber__ExactNumberAssignment_0 ) ) | ( ( rule__ExactNumber__ExactUnlimitedAssignment_1 ) ) ); public final void rule__ExactNumber__Alternatives() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:2746:1: ( ( ( rule__ExactNumber__ExactNumberAssignment_0 ) ) | ( ( rule__ExactNumber__ExactUnlimitedAssignment_1 ) ) ) - int alt28=2; - int LA28_0 = input.LA(1); + // InternalApplicationConfiguration.g:2598:1: ( ( ( rule__ExactNumber__ExactNumberAssignment_0 ) ) | ( ( rule__ExactNumber__ExactUnlimitedAssignment_1 ) ) ) + int alt26=2; + int LA26_0 = input.LA(1); - if ( (LA28_0==RULE_INT) ) { - alt28=1; + if ( (LA26_0==RULE_INT) ) { + alt26=1; } - else if ( (LA28_0==64) ) { - alt28=2; + else if ( (LA26_0==61) ) { + alt26=2; } else { NoViableAltException nvae = - new NoViableAltException("", 28, 0, input); + new NoViableAltException("", 26, 0, input); throw nvae; } - switch (alt28) { + switch (alt26) { case 1 : - // InternalApplicationConfiguration.g:2747:2: ( ( rule__ExactNumber__ExactNumberAssignment_0 ) ) + // InternalApplicationConfiguration.g:2599:2: ( ( rule__ExactNumber__ExactNumberAssignment_0 ) ) { - // InternalApplicationConfiguration.g:2747:2: ( ( rule__ExactNumber__ExactNumberAssignment_0 ) ) - // InternalApplicationConfiguration.g:2748:3: ( rule__ExactNumber__ExactNumberAssignment_0 ) + // InternalApplicationConfiguration.g:2599:2: ( ( rule__ExactNumber__ExactNumberAssignment_0 ) ) + // InternalApplicationConfiguration.g:2600:3: ( rule__ExactNumber__ExactNumberAssignment_0 ) { before(grammarAccess.getExactNumberAccess().getExactNumberAssignment_0()); - // InternalApplicationConfiguration.g:2749:3: ( rule__ExactNumber__ExactNumberAssignment_0 ) - // InternalApplicationConfiguration.g:2749:4: rule__ExactNumber__ExactNumberAssignment_0 + // InternalApplicationConfiguration.g:2601:3: ( rule__ExactNumber__ExactNumberAssignment_0 ) + // InternalApplicationConfiguration.g:2601:4: rule__ExactNumber__ExactNumberAssignment_0 { pushFollow(FOLLOW_2); rule__ExactNumber__ExactNumberAssignment_0(); @@ -9159,14 +8656,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } break; case 2 : - // InternalApplicationConfiguration.g:2753:2: ( ( rule__ExactNumber__ExactUnlimitedAssignment_1 ) ) + // InternalApplicationConfiguration.g:2605:2: ( ( rule__ExactNumber__ExactUnlimitedAssignment_1 ) ) { - // InternalApplicationConfiguration.g:2753:2: ( ( rule__ExactNumber__ExactUnlimitedAssignment_1 ) ) - // InternalApplicationConfiguration.g:2754:3: ( rule__ExactNumber__ExactUnlimitedAssignment_1 ) + // InternalApplicationConfiguration.g:2605:2: ( ( rule__ExactNumber__ExactUnlimitedAssignment_1 ) ) + // InternalApplicationConfiguration.g:2606:3: ( rule__ExactNumber__ExactUnlimitedAssignment_1 ) { before(grammarAccess.getExactNumberAccess().getExactUnlimitedAssignment_1()); - // InternalApplicationConfiguration.g:2755:3: ( rule__ExactNumber__ExactUnlimitedAssignment_1 ) - // InternalApplicationConfiguration.g:2755:4: rule__ExactNumber__ExactUnlimitedAssignment_1 + // InternalApplicationConfiguration.g:2607:3: ( rule__ExactNumber__ExactUnlimitedAssignment_1 ) + // InternalApplicationConfiguration.g:2607:4: rule__ExactNumber__ExactUnlimitedAssignment_1 { pushFollow(FOLLOW_2); rule__ExactNumber__ExactUnlimitedAssignment_1(); @@ -9201,38 +8698,38 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__IntervallNumber__Alternatives_2" - // InternalApplicationConfiguration.g:2763:1: rule__IntervallNumber__Alternatives_2 : ( ( ( rule__IntervallNumber__MaxNumberAssignment_2_0 ) ) | ( ( rule__IntervallNumber__MaxUnlimitedAssignment_2_1 ) ) ); + // InternalApplicationConfiguration.g:2615:1: rule__IntervallNumber__Alternatives_2 : ( ( ( rule__IntervallNumber__MaxNumberAssignment_2_0 ) ) | ( ( rule__IntervallNumber__MaxUnlimitedAssignment_2_1 ) ) ); public final void rule__IntervallNumber__Alternatives_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:2767:1: ( ( ( rule__IntervallNumber__MaxNumberAssignment_2_0 ) ) | ( ( rule__IntervallNumber__MaxUnlimitedAssignment_2_1 ) ) ) - int alt29=2; - int LA29_0 = input.LA(1); + // InternalApplicationConfiguration.g:2619:1: ( ( ( rule__IntervallNumber__MaxNumberAssignment_2_0 ) ) | ( ( rule__IntervallNumber__MaxUnlimitedAssignment_2_1 ) ) ) + int alt27=2; + int LA27_0 = input.LA(1); - if ( (LA29_0==RULE_INT) ) { - alt29=1; + if ( (LA27_0==RULE_INT) ) { + alt27=1; } - else if ( (LA29_0==64) ) { - alt29=2; + else if ( (LA27_0==61) ) { + alt27=2; } else { NoViableAltException nvae = - new NoViableAltException("", 29, 0, input); + new NoViableAltException("", 27, 0, input); throw nvae; } - switch (alt29) { + switch (alt27) { case 1 : - // InternalApplicationConfiguration.g:2768:2: ( ( rule__IntervallNumber__MaxNumberAssignment_2_0 ) ) + // InternalApplicationConfiguration.g:2620:2: ( ( rule__IntervallNumber__MaxNumberAssignment_2_0 ) ) { - // InternalApplicationConfiguration.g:2768:2: ( ( rule__IntervallNumber__MaxNumberAssignment_2_0 ) ) - // InternalApplicationConfiguration.g:2769:3: ( rule__IntervallNumber__MaxNumberAssignment_2_0 ) + // InternalApplicationConfiguration.g:2620:2: ( ( rule__IntervallNumber__MaxNumberAssignment_2_0 ) ) + // InternalApplicationConfiguration.g:2621:3: ( rule__IntervallNumber__MaxNumberAssignment_2_0 ) { before(grammarAccess.getIntervallNumberAccess().getMaxNumberAssignment_2_0()); - // InternalApplicationConfiguration.g:2770:3: ( rule__IntervallNumber__MaxNumberAssignment_2_0 ) - // InternalApplicationConfiguration.g:2770:4: rule__IntervallNumber__MaxNumberAssignment_2_0 + // InternalApplicationConfiguration.g:2622:3: ( rule__IntervallNumber__MaxNumberAssignment_2_0 ) + // InternalApplicationConfiguration.g:2622:4: rule__IntervallNumber__MaxNumberAssignment_2_0 { pushFollow(FOLLOW_2); rule__IntervallNumber__MaxNumberAssignment_2_0(); @@ -9250,14 +8747,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } break; case 2 : - // InternalApplicationConfiguration.g:2774:2: ( ( rule__IntervallNumber__MaxUnlimitedAssignment_2_1 ) ) + // InternalApplicationConfiguration.g:2626:2: ( ( rule__IntervallNumber__MaxUnlimitedAssignment_2_1 ) ) { - // InternalApplicationConfiguration.g:2774:2: ( ( rule__IntervallNumber__MaxUnlimitedAssignment_2_1 ) ) - // InternalApplicationConfiguration.g:2775:3: ( rule__IntervallNumber__MaxUnlimitedAssignment_2_1 ) + // InternalApplicationConfiguration.g:2626:2: ( ( rule__IntervallNumber__MaxUnlimitedAssignment_2_1 ) ) + // InternalApplicationConfiguration.g:2627:3: ( rule__IntervallNumber__MaxUnlimitedAssignment_2_1 ) { before(grammarAccess.getIntervallNumberAccess().getMaxUnlimitedAssignment_2_1()); - // InternalApplicationConfiguration.g:2776:3: ( rule__IntervallNumber__MaxUnlimitedAssignment_2_1 ) - // InternalApplicationConfiguration.g:2776:4: rule__IntervallNumber__MaxUnlimitedAssignment_2_1 + // InternalApplicationConfiguration.g:2628:3: ( rule__IntervallNumber__MaxUnlimitedAssignment_2_1 ) + // InternalApplicationConfiguration.g:2628:4: rule__IntervallNumber__MaxUnlimitedAssignment_2_1 { pushFollow(FOLLOW_2); rule__IntervallNumber__MaxUnlimitedAssignment_2_1(); @@ -9292,34 +8789,34 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__Scope__Alternatives" - // InternalApplicationConfiguration.g:2784:1: rule__Scope__Alternatives : ( ( ruleScopeSpecification ) | ( ruleScopeReference ) ); + // InternalApplicationConfiguration.g:2636:1: rule__Scope__Alternatives : ( ( ruleScopeSpecification ) | ( ruleScopeReference ) ); public final void rule__Scope__Alternatives() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:2788:1: ( ( ruleScopeSpecification ) | ( ruleScopeReference ) ) - int alt30=2; - int LA30_0 = input.LA(1); + // InternalApplicationConfiguration.g:2640:1: ( ( ruleScopeSpecification ) | ( ruleScopeReference ) ) + int alt28=2; + int LA28_0 = input.LA(1); - if ( (LA30_0==31) ) { - alt30=1; + if ( (LA28_0==30) ) { + alt28=1; } - else if ( (LA30_0==RULE_ID) ) { - alt30=2; + else if ( (LA28_0==RULE_ID) ) { + alt28=2; } else { NoViableAltException nvae = - new NoViableAltException("", 30, 0, input); + new NoViableAltException("", 28, 0, input); throw nvae; } - switch (alt30) { + switch (alt28) { case 1 : - // InternalApplicationConfiguration.g:2789:2: ( ruleScopeSpecification ) + // InternalApplicationConfiguration.g:2641:2: ( ruleScopeSpecification ) { - // InternalApplicationConfiguration.g:2789:2: ( ruleScopeSpecification ) - // InternalApplicationConfiguration.g:2790:3: ruleScopeSpecification + // InternalApplicationConfiguration.g:2641:2: ( ruleScopeSpecification ) + // InternalApplicationConfiguration.g:2642:3: ruleScopeSpecification { before(grammarAccess.getScopeAccess().getScopeSpecificationParserRuleCall_0()); pushFollow(FOLLOW_2); @@ -9335,10 +8832,10 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } break; case 2 : - // InternalApplicationConfiguration.g:2795:2: ( ruleScopeReference ) + // InternalApplicationConfiguration.g:2647:2: ( ruleScopeReference ) { - // InternalApplicationConfiguration.g:2795:2: ( ruleScopeReference ) - // InternalApplicationConfiguration.g:2796:3: ruleScopeReference + // InternalApplicationConfiguration.g:2647:2: ( ruleScopeReference ) + // InternalApplicationConfiguration.g:2648:3: ruleScopeReference { before(grammarAccess.getScopeAccess().getScopeReferenceParserRuleCall_1()); pushFollow(FOLLOW_2); @@ -9371,38 +8868,38 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__OptimizationDirection__Alternatives" - // InternalApplicationConfiguration.g:2805:1: rule__OptimizationDirection__Alternatives : ( ( ( 'minimize' ) ) | ( ( 'maximize' ) ) ); + // InternalApplicationConfiguration.g:2657:1: rule__OptimizationDirection__Alternatives : ( ( ( 'minimize' ) ) | ( ( 'maximize' ) ) ); public final void rule__OptimizationDirection__Alternatives() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:2809:1: ( ( ( 'minimize' ) ) | ( ( 'maximize' ) ) ) - int alt31=2; - int LA31_0 = input.LA(1); + // InternalApplicationConfiguration.g:2661:1: ( ( ( 'minimize' ) ) | ( ( 'maximize' ) ) ) + int alt29=2; + int LA29_0 = input.LA(1); - if ( (LA31_0==11) ) { - alt31=1; + if ( (LA29_0==11) ) { + alt29=1; } - else if ( (LA31_0==12) ) { - alt31=2; + else if ( (LA29_0==12) ) { + alt29=2; } else { NoViableAltException nvae = - new NoViableAltException("", 31, 0, input); + new NoViableAltException("", 29, 0, input); throw nvae; } - switch (alt31) { + switch (alt29) { case 1 : - // InternalApplicationConfiguration.g:2810:2: ( ( 'minimize' ) ) + // InternalApplicationConfiguration.g:2662:2: ( ( 'minimize' ) ) { - // InternalApplicationConfiguration.g:2810:2: ( ( 'minimize' ) ) - // InternalApplicationConfiguration.g:2811:3: ( 'minimize' ) + // InternalApplicationConfiguration.g:2662:2: ( ( 'minimize' ) ) + // InternalApplicationConfiguration.g:2663:3: ( 'minimize' ) { before(grammarAccess.getOptimizationDirectionAccess().getMINIMIZEEnumLiteralDeclaration_0()); - // InternalApplicationConfiguration.g:2812:3: ( 'minimize' ) - // InternalApplicationConfiguration.g:2812:4: 'minimize' + // InternalApplicationConfiguration.g:2664:3: ( 'minimize' ) + // InternalApplicationConfiguration.g:2664:4: 'minimize' { match(input,11,FOLLOW_2); @@ -9416,14 +8913,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } break; case 2 : - // InternalApplicationConfiguration.g:2816:2: ( ( 'maximize' ) ) + // InternalApplicationConfiguration.g:2668:2: ( ( 'maximize' ) ) { - // InternalApplicationConfiguration.g:2816:2: ( ( 'maximize' ) ) - // InternalApplicationConfiguration.g:2817:3: ( 'maximize' ) + // InternalApplicationConfiguration.g:2668:2: ( ( 'maximize' ) ) + // InternalApplicationConfiguration.g:2669:3: ( 'maximize' ) { before(grammarAccess.getOptimizationDirectionAccess().getMAXIMIZEEnumLiteralDeclaration_1()); - // InternalApplicationConfiguration.g:2818:3: ( 'maximize' ) - // InternalApplicationConfiguration.g:2818:4: 'maximize' + // InternalApplicationConfiguration.g:2670:3: ( 'maximize' ) + // InternalApplicationConfiguration.g:2670:4: 'maximize' { match(input,12,FOLLOW_2); @@ -9454,52 +8951,52 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ComparisonOperator__Alternatives" - // InternalApplicationConfiguration.g:2826:1: rule__ComparisonOperator__Alternatives : ( ( ( '<' ) ) | ( ( '>' ) ) | ( ( '<=' ) ) | ( ( '>=' ) ) ); + // InternalApplicationConfiguration.g:2678:1: rule__ComparisonOperator__Alternatives : ( ( ( '<' ) ) | ( ( '>' ) ) | ( ( '<=' ) ) | ( ( '>=' ) ) ); public final void rule__ComparisonOperator__Alternatives() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:2830:1: ( ( ( '<' ) ) | ( ( '>' ) ) | ( ( '<=' ) ) | ( ( '>=' ) ) ) - int alt32=4; + // InternalApplicationConfiguration.g:2682:1: ( ( ( '<' ) ) | ( ( '>' ) ) | ( ( '<=' ) ) | ( ( '>=' ) ) ) + int alt30=4; switch ( input.LA(1) ) { case 13: { - alt32=1; + alt30=1; } break; case 14: { - alt32=2; + alt30=2; } break; case 15: { - alt32=3; + alt30=3; } break; case 16: { - alt32=4; + alt30=4; } break; default: NoViableAltException nvae = - new NoViableAltException("", 32, 0, input); + new NoViableAltException("", 30, 0, input); throw nvae; } - switch (alt32) { + switch (alt30) { case 1 : - // InternalApplicationConfiguration.g:2831:2: ( ( '<' ) ) + // InternalApplicationConfiguration.g:2683:2: ( ( '<' ) ) { - // InternalApplicationConfiguration.g:2831:2: ( ( '<' ) ) - // InternalApplicationConfiguration.g:2832:3: ( '<' ) + // InternalApplicationConfiguration.g:2683:2: ( ( '<' ) ) + // InternalApplicationConfiguration.g:2684:3: ( '<' ) { before(grammarAccess.getComparisonOperatorAccess().getLESSEnumLiteralDeclaration_0()); - // InternalApplicationConfiguration.g:2833:3: ( '<' ) - // InternalApplicationConfiguration.g:2833:4: '<' + // InternalApplicationConfiguration.g:2685:3: ( '<' ) + // InternalApplicationConfiguration.g:2685:4: '<' { match(input,13,FOLLOW_2); @@ -9513,14 +9010,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } break; case 2 : - // InternalApplicationConfiguration.g:2837:2: ( ( '>' ) ) + // InternalApplicationConfiguration.g:2689:2: ( ( '>' ) ) { - // InternalApplicationConfiguration.g:2837:2: ( ( '>' ) ) - // InternalApplicationConfiguration.g:2838:3: ( '>' ) + // InternalApplicationConfiguration.g:2689:2: ( ( '>' ) ) + // InternalApplicationConfiguration.g:2690:3: ( '>' ) { before(grammarAccess.getComparisonOperatorAccess().getGREATEREnumLiteralDeclaration_1()); - // InternalApplicationConfiguration.g:2839:3: ( '>' ) - // InternalApplicationConfiguration.g:2839:4: '>' + // InternalApplicationConfiguration.g:2691:3: ( '>' ) + // InternalApplicationConfiguration.g:2691:4: '>' { match(input,14,FOLLOW_2); @@ -9534,14 +9031,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } break; case 3 : - // InternalApplicationConfiguration.g:2843:2: ( ( '<=' ) ) + // InternalApplicationConfiguration.g:2695:2: ( ( '<=' ) ) { - // InternalApplicationConfiguration.g:2843:2: ( ( '<=' ) ) - // InternalApplicationConfiguration.g:2844:3: ( '<=' ) + // InternalApplicationConfiguration.g:2695:2: ( ( '<=' ) ) + // InternalApplicationConfiguration.g:2696:3: ( '<=' ) { before(grammarAccess.getComparisonOperatorAccess().getLESS_EQUALSEnumLiteralDeclaration_2()); - // InternalApplicationConfiguration.g:2845:3: ( '<=' ) - // InternalApplicationConfiguration.g:2845:4: '<=' + // InternalApplicationConfiguration.g:2697:3: ( '<=' ) + // InternalApplicationConfiguration.g:2697:4: '<=' { match(input,15,FOLLOW_2); @@ -9555,14 +9052,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } break; case 4 : - // InternalApplicationConfiguration.g:2849:2: ( ( '>=' ) ) + // InternalApplicationConfiguration.g:2701:2: ( ( '>=' ) ) { - // InternalApplicationConfiguration.g:2849:2: ( ( '>=' ) ) - // InternalApplicationConfiguration.g:2850:3: ( '>=' ) + // InternalApplicationConfiguration.g:2701:2: ( ( '>=' ) ) + // InternalApplicationConfiguration.g:2702:3: ( '>=' ) { before(grammarAccess.getComparisonOperatorAccess().getGREATER_EQUALSEnumLiteralDeclaration_3()); - // InternalApplicationConfiguration.g:2851:3: ( '>=' ) - // InternalApplicationConfiguration.g:2851:4: '>=' + // InternalApplicationConfiguration.g:2703:3: ( '>=' ) + // InternalApplicationConfiguration.g:2703:4: '>=' { match(input,16,FOLLOW_2); @@ -9593,47 +9090,47 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__DocumentLevelSpecification__Alternatives" - // InternalApplicationConfiguration.g:2859:1: rule__DocumentLevelSpecification__Alternatives : ( ( ( 'none' ) ) | ( ( 'normal' ) ) | ( ( 'full' ) ) ); + // InternalApplicationConfiguration.g:2711:1: rule__DocumentLevelSpecification__Alternatives : ( ( ( 'none' ) ) | ( ( 'normal' ) ) | ( ( 'full' ) ) ); public final void rule__DocumentLevelSpecification__Alternatives() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:2863:1: ( ( ( 'none' ) ) | ( ( 'normal' ) ) | ( ( 'full' ) ) ) - int alt33=3; + // InternalApplicationConfiguration.g:2715:1: ( ( ( 'none' ) ) | ( ( 'normal' ) ) | ( ( 'full' ) ) ) + int alt31=3; switch ( input.LA(1) ) { case 17: { - alt33=1; + alt31=1; } break; case 18: { - alt33=2; + alt31=2; } break; case 19: { - alt33=3; + alt31=3; } break; default: NoViableAltException nvae = - new NoViableAltException("", 33, 0, input); + new NoViableAltException("", 31, 0, input); throw nvae; } - switch (alt33) { + switch (alt31) { case 1 : - // InternalApplicationConfiguration.g:2864:2: ( ( 'none' ) ) + // InternalApplicationConfiguration.g:2716:2: ( ( 'none' ) ) { - // InternalApplicationConfiguration.g:2864:2: ( ( 'none' ) ) - // InternalApplicationConfiguration.g:2865:3: ( 'none' ) + // InternalApplicationConfiguration.g:2716:2: ( ( 'none' ) ) + // InternalApplicationConfiguration.g:2717:3: ( 'none' ) { before(grammarAccess.getDocumentLevelSpecificationAccess().getNoneEnumLiteralDeclaration_0()); - // InternalApplicationConfiguration.g:2866:3: ( 'none' ) - // InternalApplicationConfiguration.g:2866:4: 'none' + // InternalApplicationConfiguration.g:2718:3: ( 'none' ) + // InternalApplicationConfiguration.g:2718:4: 'none' { match(input,17,FOLLOW_2); @@ -9647,14 +9144,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } break; case 2 : - // InternalApplicationConfiguration.g:2870:2: ( ( 'normal' ) ) + // InternalApplicationConfiguration.g:2722:2: ( ( 'normal' ) ) { - // InternalApplicationConfiguration.g:2870:2: ( ( 'normal' ) ) - // InternalApplicationConfiguration.g:2871:3: ( 'normal' ) + // InternalApplicationConfiguration.g:2722:2: ( ( 'normal' ) ) + // InternalApplicationConfiguration.g:2723:3: ( 'normal' ) { before(grammarAccess.getDocumentLevelSpecificationAccess().getNormalEnumLiteralDeclaration_1()); - // InternalApplicationConfiguration.g:2872:3: ( 'normal' ) - // InternalApplicationConfiguration.g:2872:4: 'normal' + // InternalApplicationConfiguration.g:2724:3: ( 'normal' ) + // InternalApplicationConfiguration.g:2724:4: 'normal' { match(input,18,FOLLOW_2); @@ -9668,14 +9165,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } break; case 3 : - // InternalApplicationConfiguration.g:2876:2: ( ( 'full' ) ) + // InternalApplicationConfiguration.g:2728:2: ( ( 'full' ) ) { - // InternalApplicationConfiguration.g:2876:2: ( ( 'full' ) ) - // InternalApplicationConfiguration.g:2877:3: ( 'full' ) + // InternalApplicationConfiguration.g:2728:2: ( ( 'full' ) ) + // InternalApplicationConfiguration.g:2729:3: ( 'full' ) { before(grammarAccess.getDocumentLevelSpecificationAccess().getFullEnumLiteralDeclaration_2()); - // InternalApplicationConfiguration.g:2878:3: ( 'full' ) - // InternalApplicationConfiguration.g:2878:4: 'full' + // InternalApplicationConfiguration.g:2730:3: ( 'full' ) + // InternalApplicationConfiguration.g:2730:4: 'full' { match(input,19,FOLLOW_2); @@ -9706,47 +9203,47 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__Solver__Alternatives" - // InternalApplicationConfiguration.g:2886:1: rule__Solver__Alternatives : ( ( ( 'SMTSolver' ) ) | ( ( 'AlloySolver' ) ) | ( ( 'ViatraSolver' ) ) ); + // InternalApplicationConfiguration.g:2738:1: rule__Solver__Alternatives : ( ( ( 'SMTSolver' ) ) | ( ( 'AlloySolver' ) ) | ( ( 'ViatraSolver' ) ) ); public final void rule__Solver__Alternatives() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:2890:1: ( ( ( 'SMTSolver' ) ) | ( ( 'AlloySolver' ) ) | ( ( 'ViatraSolver' ) ) ) - int alt34=3; + // InternalApplicationConfiguration.g:2742:1: ( ( ( 'SMTSolver' ) ) | ( ( 'AlloySolver' ) ) | ( ( 'ViatraSolver' ) ) ) + int alt32=3; switch ( input.LA(1) ) { case 20: { - alt34=1; + alt32=1; } break; case 21: { - alt34=2; + alt32=2; } break; case 22: { - alt34=3; + alt32=3; } break; default: NoViableAltException nvae = - new NoViableAltException("", 34, 0, input); + new NoViableAltException("", 32, 0, input); throw nvae; } - switch (alt34) { + switch (alt32) { case 1 : - // InternalApplicationConfiguration.g:2891:2: ( ( 'SMTSolver' ) ) + // InternalApplicationConfiguration.g:2743:2: ( ( 'SMTSolver' ) ) { - // InternalApplicationConfiguration.g:2891:2: ( ( 'SMTSolver' ) ) - // InternalApplicationConfiguration.g:2892:3: ( 'SMTSolver' ) + // InternalApplicationConfiguration.g:2743:2: ( ( 'SMTSolver' ) ) + // InternalApplicationConfiguration.g:2744:3: ( 'SMTSolver' ) { before(grammarAccess.getSolverAccess().getSMTSolverEnumLiteralDeclaration_0()); - // InternalApplicationConfiguration.g:2893:3: ( 'SMTSolver' ) - // InternalApplicationConfiguration.g:2893:4: 'SMTSolver' + // InternalApplicationConfiguration.g:2745:3: ( 'SMTSolver' ) + // InternalApplicationConfiguration.g:2745:4: 'SMTSolver' { match(input,20,FOLLOW_2); @@ -9760,14 +9257,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } break; case 2 : - // InternalApplicationConfiguration.g:2897:2: ( ( 'AlloySolver' ) ) + // InternalApplicationConfiguration.g:2749:2: ( ( 'AlloySolver' ) ) { - // InternalApplicationConfiguration.g:2897:2: ( ( 'AlloySolver' ) ) - // InternalApplicationConfiguration.g:2898:3: ( 'AlloySolver' ) + // InternalApplicationConfiguration.g:2749:2: ( ( 'AlloySolver' ) ) + // InternalApplicationConfiguration.g:2750:3: ( 'AlloySolver' ) { before(grammarAccess.getSolverAccess().getAlloySolverEnumLiteralDeclaration_1()); - // InternalApplicationConfiguration.g:2899:3: ( 'AlloySolver' ) - // InternalApplicationConfiguration.g:2899:4: 'AlloySolver' + // InternalApplicationConfiguration.g:2751:3: ( 'AlloySolver' ) + // InternalApplicationConfiguration.g:2751:4: 'AlloySolver' { match(input,21,FOLLOW_2); @@ -9781,14 +9278,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } break; case 3 : - // InternalApplicationConfiguration.g:2903:2: ( ( 'ViatraSolver' ) ) + // InternalApplicationConfiguration.g:2755:2: ( ( 'ViatraSolver' ) ) { - // InternalApplicationConfiguration.g:2903:2: ( ( 'ViatraSolver' ) ) - // InternalApplicationConfiguration.g:2904:3: ( 'ViatraSolver' ) + // InternalApplicationConfiguration.g:2755:2: ( ( 'ViatraSolver' ) ) + // InternalApplicationConfiguration.g:2756:3: ( 'ViatraSolver' ) { before(grammarAccess.getSolverAccess().getViatraSolverEnumLiteralDeclaration_2()); - // InternalApplicationConfiguration.g:2905:3: ( 'ViatraSolver' ) - // InternalApplicationConfiguration.g:2905:4: 'ViatraSolver' + // InternalApplicationConfiguration.g:2757:3: ( 'ViatraSolver' ) + // InternalApplicationConfiguration.g:2757:4: 'ViatraSolver' { match(input,22,FOLLOW_2); @@ -9819,14 +9316,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ConfigurationScript__Group__0" - // InternalApplicationConfiguration.g:2913:1: rule__ConfigurationScript__Group__0 : rule__ConfigurationScript__Group__0__Impl rule__ConfigurationScript__Group__1 ; + // InternalApplicationConfiguration.g:2765:1: rule__ConfigurationScript__Group__0 : rule__ConfigurationScript__Group__0__Impl rule__ConfigurationScript__Group__1 ; public final void rule__ConfigurationScript__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:2917:1: ( rule__ConfigurationScript__Group__0__Impl rule__ConfigurationScript__Group__1 ) - // InternalApplicationConfiguration.g:2918:2: rule__ConfigurationScript__Group__0__Impl rule__ConfigurationScript__Group__1 + // InternalApplicationConfiguration.g:2769:1: ( rule__ConfigurationScript__Group__0__Impl rule__ConfigurationScript__Group__1 ) + // InternalApplicationConfiguration.g:2770:2: rule__ConfigurationScript__Group__0__Impl rule__ConfigurationScript__Group__1 { pushFollow(FOLLOW_3); rule__ConfigurationScript__Group__0__Impl(); @@ -9857,33 +9354,33 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ConfigurationScript__Group__0__Impl" - // InternalApplicationConfiguration.g:2925:1: rule__ConfigurationScript__Group__0__Impl : ( ( rule__ConfigurationScript__ImportsAssignment_0 )* ) ; + // InternalApplicationConfiguration.g:2777:1: rule__ConfigurationScript__Group__0__Impl : ( ( rule__ConfigurationScript__ImportsAssignment_0 )* ) ; public final void rule__ConfigurationScript__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:2929:1: ( ( ( rule__ConfigurationScript__ImportsAssignment_0 )* ) ) - // InternalApplicationConfiguration.g:2930:1: ( ( rule__ConfigurationScript__ImportsAssignment_0 )* ) + // InternalApplicationConfiguration.g:2781:1: ( ( ( rule__ConfigurationScript__ImportsAssignment_0 )* ) ) + // InternalApplicationConfiguration.g:2782:1: ( ( rule__ConfigurationScript__ImportsAssignment_0 )* ) { - // InternalApplicationConfiguration.g:2930:1: ( ( rule__ConfigurationScript__ImportsAssignment_0 )* ) - // InternalApplicationConfiguration.g:2931:2: ( rule__ConfigurationScript__ImportsAssignment_0 )* + // InternalApplicationConfiguration.g:2782:1: ( ( rule__ConfigurationScript__ImportsAssignment_0 )* ) + // InternalApplicationConfiguration.g:2783:2: ( rule__ConfigurationScript__ImportsAssignment_0 )* { before(grammarAccess.getConfigurationScriptAccess().getImportsAssignment_0()); - // InternalApplicationConfiguration.g:2932:2: ( rule__ConfigurationScript__ImportsAssignment_0 )* - loop35: + // InternalApplicationConfiguration.g:2784:2: ( rule__ConfigurationScript__ImportsAssignment_0 )* + loop33: do { - int alt35=2; - int LA35_0 = input.LA(1); + int alt33=2; + int LA33_0 = input.LA(1); - if ( (LA35_0==25) ) { - alt35=1; + if ( (LA33_0==25) ) { + alt33=1; } - switch (alt35) { + switch (alt33) { case 1 : - // InternalApplicationConfiguration.g:2932:3: rule__ConfigurationScript__ImportsAssignment_0 + // InternalApplicationConfiguration.g:2784:3: rule__ConfigurationScript__ImportsAssignment_0 { pushFollow(FOLLOW_4); rule__ConfigurationScript__ImportsAssignment_0(); @@ -9895,7 +9392,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont break; default : - break loop35; + break loop33; } } while (true); @@ -9922,14 +9419,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ConfigurationScript__Group__1" - // InternalApplicationConfiguration.g:2940:1: rule__ConfigurationScript__Group__1 : rule__ConfigurationScript__Group__1__Impl ; + // InternalApplicationConfiguration.g:2792:1: rule__ConfigurationScript__Group__1 : rule__ConfigurationScript__Group__1__Impl ; public final void rule__ConfigurationScript__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:2944:1: ( rule__ConfigurationScript__Group__1__Impl ) - // InternalApplicationConfiguration.g:2945:2: rule__ConfigurationScript__Group__1__Impl + // InternalApplicationConfiguration.g:2796:1: ( rule__ConfigurationScript__Group__1__Impl ) + // InternalApplicationConfiguration.g:2797:2: rule__ConfigurationScript__Group__1__Impl { pushFollow(FOLLOW_2); rule__ConfigurationScript__Group__1__Impl(); @@ -9955,33 +9452,33 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ConfigurationScript__Group__1__Impl" - // InternalApplicationConfiguration.g:2951:1: rule__ConfigurationScript__Group__1__Impl : ( ( rule__ConfigurationScript__CommandsAssignment_1 )* ) ; + // InternalApplicationConfiguration.g:2803:1: rule__ConfigurationScript__Group__1__Impl : ( ( rule__ConfigurationScript__CommandsAssignment_1 )* ) ; public final void rule__ConfigurationScript__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:2955:1: ( ( ( rule__ConfigurationScript__CommandsAssignment_1 )* ) ) - // InternalApplicationConfiguration.g:2956:1: ( ( rule__ConfigurationScript__CommandsAssignment_1 )* ) + // InternalApplicationConfiguration.g:2807:1: ( ( ( rule__ConfigurationScript__CommandsAssignment_1 )* ) ) + // InternalApplicationConfiguration.g:2808:1: ( ( rule__ConfigurationScript__CommandsAssignment_1 )* ) { - // InternalApplicationConfiguration.g:2956:1: ( ( rule__ConfigurationScript__CommandsAssignment_1 )* ) - // InternalApplicationConfiguration.g:2957:2: ( rule__ConfigurationScript__CommandsAssignment_1 )* + // InternalApplicationConfiguration.g:2808:1: ( ( rule__ConfigurationScript__CommandsAssignment_1 )* ) + // InternalApplicationConfiguration.g:2809:2: ( rule__ConfigurationScript__CommandsAssignment_1 )* { before(grammarAccess.getConfigurationScriptAccess().getCommandsAssignment_1()); - // InternalApplicationConfiguration.g:2958:2: ( rule__ConfigurationScript__CommandsAssignment_1 )* - loop36: + // InternalApplicationConfiguration.g:2810:2: ( rule__ConfigurationScript__CommandsAssignment_1 )* + loop34: do { - int alt36=2; - int LA36_0 = input.LA(1); + int alt34=2; + int LA34_0 = input.LA(1); - if ( (LA36_0==29||LA36_0==37||(LA36_0>=39 && LA36_0<=40)||(LA36_0>=44 && LA36_0<=45)||(LA36_0>=55 && LA36_0<=56)) ) { - alt36=1; + if ( (LA34_0==28||LA34_0==36||(LA34_0>=38 && LA34_0<=39)||(LA34_0>=41 && LA34_0<=42)||(LA34_0>=52 && LA34_0<=53)) ) { + alt34=1; } - switch (alt36) { + switch (alt34) { case 1 : - // InternalApplicationConfiguration.g:2958:3: rule__ConfigurationScript__CommandsAssignment_1 + // InternalApplicationConfiguration.g:2810:3: rule__ConfigurationScript__CommandsAssignment_1 { pushFollow(FOLLOW_5); rule__ConfigurationScript__CommandsAssignment_1(); @@ -9993,7 +9490,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont break; default : - break loop36; + break loop34; } } while (true); @@ -10020,14 +9517,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__QualifiedName__Group__0" - // InternalApplicationConfiguration.g:2967:1: rule__QualifiedName__Group__0 : rule__QualifiedName__Group__0__Impl rule__QualifiedName__Group__1 ; + // InternalApplicationConfiguration.g:2819:1: rule__QualifiedName__Group__0 : rule__QualifiedName__Group__0__Impl rule__QualifiedName__Group__1 ; public final void rule__QualifiedName__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:2971:1: ( rule__QualifiedName__Group__0__Impl rule__QualifiedName__Group__1 ) - // InternalApplicationConfiguration.g:2972:2: rule__QualifiedName__Group__0__Impl rule__QualifiedName__Group__1 + // InternalApplicationConfiguration.g:2823:1: ( rule__QualifiedName__Group__0__Impl rule__QualifiedName__Group__1 ) + // InternalApplicationConfiguration.g:2824:2: rule__QualifiedName__Group__0__Impl rule__QualifiedName__Group__1 { pushFollow(FOLLOW_6); rule__QualifiedName__Group__0__Impl(); @@ -10058,17 +9555,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__QualifiedName__Group__0__Impl" - // InternalApplicationConfiguration.g:2979:1: rule__QualifiedName__Group__0__Impl : ( RULE_ID ) ; + // InternalApplicationConfiguration.g:2831:1: rule__QualifiedName__Group__0__Impl : ( RULE_ID ) ; public final void rule__QualifiedName__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:2983:1: ( ( RULE_ID ) ) - // InternalApplicationConfiguration.g:2984:1: ( RULE_ID ) + // InternalApplicationConfiguration.g:2835:1: ( ( RULE_ID ) ) + // InternalApplicationConfiguration.g:2836:1: ( RULE_ID ) { - // InternalApplicationConfiguration.g:2984:1: ( RULE_ID ) - // InternalApplicationConfiguration.g:2985:2: RULE_ID + // InternalApplicationConfiguration.g:2836:1: ( RULE_ID ) + // InternalApplicationConfiguration.g:2837:2: RULE_ID { before(grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_0()); match(input,RULE_ID,FOLLOW_2); @@ -10095,14 +9592,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__QualifiedName__Group__1" - // InternalApplicationConfiguration.g:2994:1: rule__QualifiedName__Group__1 : rule__QualifiedName__Group__1__Impl ; + // InternalApplicationConfiguration.g:2846:1: rule__QualifiedName__Group__1 : rule__QualifiedName__Group__1__Impl ; public final void rule__QualifiedName__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:2998:1: ( rule__QualifiedName__Group__1__Impl ) - // InternalApplicationConfiguration.g:2999:2: rule__QualifiedName__Group__1__Impl + // InternalApplicationConfiguration.g:2850:1: ( rule__QualifiedName__Group__1__Impl ) + // InternalApplicationConfiguration.g:2851:2: rule__QualifiedName__Group__1__Impl { pushFollow(FOLLOW_2); rule__QualifiedName__Group__1__Impl(); @@ -10128,33 +9625,33 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__QualifiedName__Group__1__Impl" - // InternalApplicationConfiguration.g:3005:1: rule__QualifiedName__Group__1__Impl : ( ( rule__QualifiedName__Group_1__0 )* ) ; + // InternalApplicationConfiguration.g:2857:1: rule__QualifiedName__Group__1__Impl : ( ( rule__QualifiedName__Group_1__0 )* ) ; public final void rule__QualifiedName__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:3009:1: ( ( ( rule__QualifiedName__Group_1__0 )* ) ) - // InternalApplicationConfiguration.g:3010:1: ( ( rule__QualifiedName__Group_1__0 )* ) + // InternalApplicationConfiguration.g:2861:1: ( ( ( rule__QualifiedName__Group_1__0 )* ) ) + // InternalApplicationConfiguration.g:2862:1: ( ( rule__QualifiedName__Group_1__0 )* ) { - // InternalApplicationConfiguration.g:3010:1: ( ( rule__QualifiedName__Group_1__0 )* ) - // InternalApplicationConfiguration.g:3011:2: ( rule__QualifiedName__Group_1__0 )* + // InternalApplicationConfiguration.g:2862:1: ( ( rule__QualifiedName__Group_1__0 )* ) + // InternalApplicationConfiguration.g:2863:2: ( rule__QualifiedName__Group_1__0 )* { before(grammarAccess.getQualifiedNameAccess().getGroup_1()); - // InternalApplicationConfiguration.g:3012:2: ( rule__QualifiedName__Group_1__0 )* - loop37: + // InternalApplicationConfiguration.g:2864:2: ( rule__QualifiedName__Group_1__0 )* + loop35: do { - int alt37=2; - int LA37_0 = input.LA(1); + int alt35=2; + int LA35_0 = input.LA(1); - if ( (LA37_0==23) ) { - alt37=1; + if ( (LA35_0==23) ) { + alt35=1; } - switch (alt37) { + switch (alt35) { case 1 : - // InternalApplicationConfiguration.g:3012:3: rule__QualifiedName__Group_1__0 + // InternalApplicationConfiguration.g:2864:3: rule__QualifiedName__Group_1__0 { pushFollow(FOLLOW_7); rule__QualifiedName__Group_1__0(); @@ -10166,7 +9663,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont break; default : - break loop37; + break loop35; } } while (true); @@ -10193,14 +9690,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__QualifiedName__Group_1__0" - // InternalApplicationConfiguration.g:3021:1: rule__QualifiedName__Group_1__0 : rule__QualifiedName__Group_1__0__Impl rule__QualifiedName__Group_1__1 ; + // InternalApplicationConfiguration.g:2873:1: rule__QualifiedName__Group_1__0 : rule__QualifiedName__Group_1__0__Impl rule__QualifiedName__Group_1__1 ; public final void rule__QualifiedName__Group_1__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:3025:1: ( rule__QualifiedName__Group_1__0__Impl rule__QualifiedName__Group_1__1 ) - // InternalApplicationConfiguration.g:3026:2: rule__QualifiedName__Group_1__0__Impl rule__QualifiedName__Group_1__1 + // InternalApplicationConfiguration.g:2877:1: ( rule__QualifiedName__Group_1__0__Impl rule__QualifiedName__Group_1__1 ) + // InternalApplicationConfiguration.g:2878:2: rule__QualifiedName__Group_1__0__Impl rule__QualifiedName__Group_1__1 { pushFollow(FOLLOW_8); rule__QualifiedName__Group_1__0__Impl(); @@ -10231,17 +9728,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__QualifiedName__Group_1__0__Impl" - // InternalApplicationConfiguration.g:3033:1: rule__QualifiedName__Group_1__0__Impl : ( '.' ) ; + // InternalApplicationConfiguration.g:2885:1: rule__QualifiedName__Group_1__0__Impl : ( '.' ) ; public final void rule__QualifiedName__Group_1__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:3037:1: ( ( '.' ) ) - // InternalApplicationConfiguration.g:3038:1: ( '.' ) + // InternalApplicationConfiguration.g:2889:1: ( ( '.' ) ) + // InternalApplicationConfiguration.g:2890:1: ( '.' ) { - // InternalApplicationConfiguration.g:3038:1: ( '.' ) - // InternalApplicationConfiguration.g:3039:2: '.' + // InternalApplicationConfiguration.g:2890:1: ( '.' ) + // InternalApplicationConfiguration.g:2891:2: '.' { before(grammarAccess.getQualifiedNameAccess().getFullStopKeyword_1_0()); match(input,23,FOLLOW_2); @@ -10268,14 +9765,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__QualifiedName__Group_1__1" - // InternalApplicationConfiguration.g:3048:1: rule__QualifiedName__Group_1__1 : rule__QualifiedName__Group_1__1__Impl ; + // InternalApplicationConfiguration.g:2900:1: rule__QualifiedName__Group_1__1 : rule__QualifiedName__Group_1__1__Impl ; public final void rule__QualifiedName__Group_1__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:3052:1: ( rule__QualifiedName__Group_1__1__Impl ) - // InternalApplicationConfiguration.g:3053:2: rule__QualifiedName__Group_1__1__Impl + // InternalApplicationConfiguration.g:2904:1: ( rule__QualifiedName__Group_1__1__Impl ) + // InternalApplicationConfiguration.g:2905:2: rule__QualifiedName__Group_1__1__Impl { pushFollow(FOLLOW_2); rule__QualifiedName__Group_1__1__Impl(); @@ -10301,17 +9798,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__QualifiedName__Group_1__1__Impl" - // InternalApplicationConfiguration.g:3059:1: rule__QualifiedName__Group_1__1__Impl : ( RULE_ID ) ; + // InternalApplicationConfiguration.g:2911:1: rule__QualifiedName__Group_1__1__Impl : ( RULE_ID ) ; public final void rule__QualifiedName__Group_1__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:3063:1: ( ( RULE_ID ) ) - // InternalApplicationConfiguration.g:3064:1: ( RULE_ID ) + // InternalApplicationConfiguration.g:2915:1: ( ( RULE_ID ) ) + // InternalApplicationConfiguration.g:2916:1: ( RULE_ID ) { - // InternalApplicationConfiguration.g:3064:1: ( RULE_ID ) - // InternalApplicationConfiguration.g:3065:2: RULE_ID + // InternalApplicationConfiguration.g:2916:1: ( RULE_ID ) + // InternalApplicationConfiguration.g:2917:2: RULE_ID { before(grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_1_1()); match(input,RULE_ID,FOLLOW_2); @@ -10338,14 +9835,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__REALLiteral__Group__0" - // InternalApplicationConfiguration.g:3075:1: rule__REALLiteral__Group__0 : rule__REALLiteral__Group__0__Impl rule__REALLiteral__Group__1 ; + // InternalApplicationConfiguration.g:2927:1: rule__REALLiteral__Group__0 : rule__REALLiteral__Group__0__Impl rule__REALLiteral__Group__1 ; public final void rule__REALLiteral__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:3079:1: ( rule__REALLiteral__Group__0__Impl rule__REALLiteral__Group__1 ) - // InternalApplicationConfiguration.g:3080:2: rule__REALLiteral__Group__0__Impl rule__REALLiteral__Group__1 + // InternalApplicationConfiguration.g:2931:1: ( rule__REALLiteral__Group__0__Impl rule__REALLiteral__Group__1 ) + // InternalApplicationConfiguration.g:2932:2: rule__REALLiteral__Group__0__Impl rule__REALLiteral__Group__1 { pushFollow(FOLLOW_9); rule__REALLiteral__Group__0__Impl(); @@ -10376,29 +9873,29 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__REALLiteral__Group__0__Impl" - // InternalApplicationConfiguration.g:3087:1: rule__REALLiteral__Group__0__Impl : ( ( '-' )? ) ; + // InternalApplicationConfiguration.g:2939:1: rule__REALLiteral__Group__0__Impl : ( ( '-' )? ) ; public final void rule__REALLiteral__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:3091:1: ( ( ( '-' )? ) ) - // InternalApplicationConfiguration.g:3092:1: ( ( '-' )? ) + // InternalApplicationConfiguration.g:2943:1: ( ( ( '-' )? ) ) + // InternalApplicationConfiguration.g:2944:1: ( ( '-' )? ) { - // InternalApplicationConfiguration.g:3092:1: ( ( '-' )? ) - // InternalApplicationConfiguration.g:3093:2: ( '-' )? + // InternalApplicationConfiguration.g:2944:1: ( ( '-' )? ) + // InternalApplicationConfiguration.g:2945:2: ( '-' )? { before(grammarAccess.getREALLiteralAccess().getHyphenMinusKeyword_0()); - // InternalApplicationConfiguration.g:3094:2: ( '-' )? - int alt38=2; - int LA38_0 = input.LA(1); + // InternalApplicationConfiguration.g:2946:2: ( '-' )? + int alt36=2; + int LA36_0 = input.LA(1); - if ( (LA38_0==24) ) { - alt38=1; + if ( (LA36_0==24) ) { + alt36=1; } - switch (alt38) { + switch (alt36) { case 1 : - // InternalApplicationConfiguration.g:3094:3: '-' + // InternalApplicationConfiguration.g:2946:3: '-' { match(input,24,FOLLOW_2); @@ -10430,14 +9927,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__REALLiteral__Group__1" - // InternalApplicationConfiguration.g:3102:1: rule__REALLiteral__Group__1 : rule__REALLiteral__Group__1__Impl rule__REALLiteral__Group__2 ; + // InternalApplicationConfiguration.g:2954:1: rule__REALLiteral__Group__1 : rule__REALLiteral__Group__1__Impl rule__REALLiteral__Group__2 ; public final void rule__REALLiteral__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:3106:1: ( rule__REALLiteral__Group__1__Impl rule__REALLiteral__Group__2 ) - // InternalApplicationConfiguration.g:3107:2: rule__REALLiteral__Group__1__Impl rule__REALLiteral__Group__2 + // InternalApplicationConfiguration.g:2958:1: ( rule__REALLiteral__Group__1__Impl rule__REALLiteral__Group__2 ) + // InternalApplicationConfiguration.g:2959:2: rule__REALLiteral__Group__1__Impl rule__REALLiteral__Group__2 { pushFollow(FOLLOW_6); rule__REALLiteral__Group__1__Impl(); @@ -10468,17 +9965,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__REALLiteral__Group__1__Impl" - // InternalApplicationConfiguration.g:3114:1: rule__REALLiteral__Group__1__Impl : ( RULE_INT ) ; + // InternalApplicationConfiguration.g:2966:1: rule__REALLiteral__Group__1__Impl : ( RULE_INT ) ; public final void rule__REALLiteral__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:3118:1: ( ( RULE_INT ) ) - // InternalApplicationConfiguration.g:3119:1: ( RULE_INT ) + // InternalApplicationConfiguration.g:2970:1: ( ( RULE_INT ) ) + // InternalApplicationConfiguration.g:2971:1: ( RULE_INT ) { - // InternalApplicationConfiguration.g:3119:1: ( RULE_INT ) - // InternalApplicationConfiguration.g:3120:2: RULE_INT + // InternalApplicationConfiguration.g:2971:1: ( RULE_INT ) + // InternalApplicationConfiguration.g:2972:2: RULE_INT { before(grammarAccess.getREALLiteralAccess().getINTTerminalRuleCall_1()); match(input,RULE_INT,FOLLOW_2); @@ -10505,14 +10002,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__REALLiteral__Group__2" - // InternalApplicationConfiguration.g:3129:1: rule__REALLiteral__Group__2 : rule__REALLiteral__Group__2__Impl rule__REALLiteral__Group__3 ; + // InternalApplicationConfiguration.g:2981:1: rule__REALLiteral__Group__2 : rule__REALLiteral__Group__2__Impl rule__REALLiteral__Group__3 ; public final void rule__REALLiteral__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:3133:1: ( rule__REALLiteral__Group__2__Impl rule__REALLiteral__Group__3 ) - // InternalApplicationConfiguration.g:3134:2: rule__REALLiteral__Group__2__Impl rule__REALLiteral__Group__3 + // InternalApplicationConfiguration.g:2985:1: ( rule__REALLiteral__Group__2__Impl rule__REALLiteral__Group__3 ) + // InternalApplicationConfiguration.g:2986:2: rule__REALLiteral__Group__2__Impl rule__REALLiteral__Group__3 { pushFollow(FOLLOW_9); rule__REALLiteral__Group__2__Impl(); @@ -10543,17 +10040,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__REALLiteral__Group__2__Impl" - // InternalApplicationConfiguration.g:3141:1: rule__REALLiteral__Group__2__Impl : ( '.' ) ; + // InternalApplicationConfiguration.g:2993:1: rule__REALLiteral__Group__2__Impl : ( '.' ) ; public final void rule__REALLiteral__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:3145:1: ( ( '.' ) ) - // InternalApplicationConfiguration.g:3146:1: ( '.' ) + // InternalApplicationConfiguration.g:2997:1: ( ( '.' ) ) + // InternalApplicationConfiguration.g:2998:1: ( '.' ) { - // InternalApplicationConfiguration.g:3146:1: ( '.' ) - // InternalApplicationConfiguration.g:3147:2: '.' + // InternalApplicationConfiguration.g:2998:1: ( '.' ) + // InternalApplicationConfiguration.g:2999:2: '.' { before(grammarAccess.getREALLiteralAccess().getFullStopKeyword_2()); match(input,23,FOLLOW_2); @@ -10580,14 +10077,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__REALLiteral__Group__3" - // InternalApplicationConfiguration.g:3156:1: rule__REALLiteral__Group__3 : rule__REALLiteral__Group__3__Impl ; + // InternalApplicationConfiguration.g:3008:1: rule__REALLiteral__Group__3 : rule__REALLiteral__Group__3__Impl ; public final void rule__REALLiteral__Group__3() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:3160:1: ( rule__REALLiteral__Group__3__Impl ) - // InternalApplicationConfiguration.g:3161:2: rule__REALLiteral__Group__3__Impl + // InternalApplicationConfiguration.g:3012:1: ( rule__REALLiteral__Group__3__Impl ) + // InternalApplicationConfiguration.g:3013:2: rule__REALLiteral__Group__3__Impl { pushFollow(FOLLOW_2); rule__REALLiteral__Group__3__Impl(); @@ -10613,17 +10110,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__REALLiteral__Group__3__Impl" - // InternalApplicationConfiguration.g:3167:1: rule__REALLiteral__Group__3__Impl : ( RULE_INT ) ; + // InternalApplicationConfiguration.g:3019:1: rule__REALLiteral__Group__3__Impl : ( RULE_INT ) ; public final void rule__REALLiteral__Group__3__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:3171:1: ( ( RULE_INT ) ) - // InternalApplicationConfiguration.g:3172:1: ( RULE_INT ) + // InternalApplicationConfiguration.g:3023:1: ( ( RULE_INT ) ) + // InternalApplicationConfiguration.g:3024:1: ( RULE_INT ) { - // InternalApplicationConfiguration.g:3172:1: ( RULE_INT ) - // InternalApplicationConfiguration.g:3173:2: RULE_INT + // InternalApplicationConfiguration.g:3024:1: ( RULE_INT ) + // InternalApplicationConfiguration.g:3025:2: RULE_INT { before(grammarAccess.getREALLiteralAccess().getINTTerminalRuleCall_3()); match(input,RULE_INT,FOLLOW_2); @@ -10650,14 +10147,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__INTLiteral__Group__0" - // InternalApplicationConfiguration.g:3183:1: rule__INTLiteral__Group__0 : rule__INTLiteral__Group__0__Impl rule__INTLiteral__Group__1 ; + // InternalApplicationConfiguration.g:3035:1: rule__INTLiteral__Group__0 : rule__INTLiteral__Group__0__Impl rule__INTLiteral__Group__1 ; public final void rule__INTLiteral__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:3187:1: ( rule__INTLiteral__Group__0__Impl rule__INTLiteral__Group__1 ) - // InternalApplicationConfiguration.g:3188:2: rule__INTLiteral__Group__0__Impl rule__INTLiteral__Group__1 + // InternalApplicationConfiguration.g:3039:1: ( rule__INTLiteral__Group__0__Impl rule__INTLiteral__Group__1 ) + // InternalApplicationConfiguration.g:3040:2: rule__INTLiteral__Group__0__Impl rule__INTLiteral__Group__1 { pushFollow(FOLLOW_9); rule__INTLiteral__Group__0__Impl(); @@ -10688,29 +10185,29 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__INTLiteral__Group__0__Impl" - // InternalApplicationConfiguration.g:3195:1: rule__INTLiteral__Group__0__Impl : ( ( '-' )? ) ; + // InternalApplicationConfiguration.g:3047:1: rule__INTLiteral__Group__0__Impl : ( ( '-' )? ) ; public final void rule__INTLiteral__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:3199:1: ( ( ( '-' )? ) ) - // InternalApplicationConfiguration.g:3200:1: ( ( '-' )? ) + // InternalApplicationConfiguration.g:3051:1: ( ( ( '-' )? ) ) + // InternalApplicationConfiguration.g:3052:1: ( ( '-' )? ) { - // InternalApplicationConfiguration.g:3200:1: ( ( '-' )? ) - // InternalApplicationConfiguration.g:3201:2: ( '-' )? + // InternalApplicationConfiguration.g:3052:1: ( ( '-' )? ) + // InternalApplicationConfiguration.g:3053:2: ( '-' )? { before(grammarAccess.getINTLiteralAccess().getHyphenMinusKeyword_0()); - // InternalApplicationConfiguration.g:3202:2: ( '-' )? - int alt39=2; - int LA39_0 = input.LA(1); + // InternalApplicationConfiguration.g:3054:2: ( '-' )? + int alt37=2; + int LA37_0 = input.LA(1); - if ( (LA39_0==24) ) { - alt39=1; + if ( (LA37_0==24) ) { + alt37=1; } - switch (alt39) { + switch (alt37) { case 1 : - // InternalApplicationConfiguration.g:3202:3: '-' + // InternalApplicationConfiguration.g:3054:3: '-' { match(input,24,FOLLOW_2); @@ -10742,14 +10239,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__INTLiteral__Group__1" - // InternalApplicationConfiguration.g:3210:1: rule__INTLiteral__Group__1 : rule__INTLiteral__Group__1__Impl ; + // InternalApplicationConfiguration.g:3062:1: rule__INTLiteral__Group__1 : rule__INTLiteral__Group__1__Impl ; public final void rule__INTLiteral__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:3214:1: ( rule__INTLiteral__Group__1__Impl ) - // InternalApplicationConfiguration.g:3215:2: rule__INTLiteral__Group__1__Impl + // InternalApplicationConfiguration.g:3066:1: ( rule__INTLiteral__Group__1__Impl ) + // InternalApplicationConfiguration.g:3067:2: rule__INTLiteral__Group__1__Impl { pushFollow(FOLLOW_2); rule__INTLiteral__Group__1__Impl(); @@ -10775,17 +10272,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__INTLiteral__Group__1__Impl" - // InternalApplicationConfiguration.g:3221:1: rule__INTLiteral__Group__1__Impl : ( RULE_INT ) ; + // InternalApplicationConfiguration.g:3073:1: rule__INTLiteral__Group__1__Impl : ( RULE_INT ) ; public final void rule__INTLiteral__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:3225:1: ( ( RULE_INT ) ) - // InternalApplicationConfiguration.g:3226:1: ( RULE_INT ) + // InternalApplicationConfiguration.g:3077:1: ( ( RULE_INT ) ) + // InternalApplicationConfiguration.g:3078:1: ( RULE_INT ) { - // InternalApplicationConfiguration.g:3226:1: ( RULE_INT ) - // InternalApplicationConfiguration.g:3227:2: RULE_INT + // InternalApplicationConfiguration.g:3078:1: ( RULE_INT ) + // InternalApplicationConfiguration.g:3079:2: RULE_INT { before(grammarAccess.getINTLiteralAccess().getINTTerminalRuleCall_1()); match(input,RULE_INT,FOLLOW_2); @@ -10812,14 +10309,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__EPackageImport__Group__0" - // InternalApplicationConfiguration.g:3237:1: rule__EPackageImport__Group__0 : rule__EPackageImport__Group__0__Impl rule__EPackageImport__Group__1 ; + // InternalApplicationConfiguration.g:3089:1: rule__EPackageImport__Group__0 : rule__EPackageImport__Group__0__Impl rule__EPackageImport__Group__1 ; public final void rule__EPackageImport__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:3241:1: ( rule__EPackageImport__Group__0__Impl rule__EPackageImport__Group__1 ) - // InternalApplicationConfiguration.g:3242:2: rule__EPackageImport__Group__0__Impl rule__EPackageImport__Group__1 + // InternalApplicationConfiguration.g:3093:1: ( rule__EPackageImport__Group__0__Impl rule__EPackageImport__Group__1 ) + // InternalApplicationConfiguration.g:3094:2: rule__EPackageImport__Group__0__Impl rule__EPackageImport__Group__1 { pushFollow(FOLLOW_10); rule__EPackageImport__Group__0__Impl(); @@ -10850,17 +10347,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__EPackageImport__Group__0__Impl" - // InternalApplicationConfiguration.g:3249:1: rule__EPackageImport__Group__0__Impl : ( 'import' ) ; + // InternalApplicationConfiguration.g:3101:1: rule__EPackageImport__Group__0__Impl : ( 'import' ) ; public final void rule__EPackageImport__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:3253:1: ( ( 'import' ) ) - // InternalApplicationConfiguration.g:3254:1: ( 'import' ) + // InternalApplicationConfiguration.g:3105:1: ( ( 'import' ) ) + // InternalApplicationConfiguration.g:3106:1: ( 'import' ) { - // InternalApplicationConfiguration.g:3254:1: ( 'import' ) - // InternalApplicationConfiguration.g:3255:2: 'import' + // InternalApplicationConfiguration.g:3106:1: ( 'import' ) + // InternalApplicationConfiguration.g:3107:2: 'import' { before(grammarAccess.getEPackageImportAccess().getImportKeyword_0()); match(input,25,FOLLOW_2); @@ -10887,14 +10384,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__EPackageImport__Group__1" - // InternalApplicationConfiguration.g:3264:1: rule__EPackageImport__Group__1 : rule__EPackageImport__Group__1__Impl rule__EPackageImport__Group__2 ; + // InternalApplicationConfiguration.g:3116:1: rule__EPackageImport__Group__1 : rule__EPackageImport__Group__1__Impl rule__EPackageImport__Group__2 ; public final void rule__EPackageImport__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:3268:1: ( rule__EPackageImport__Group__1__Impl rule__EPackageImport__Group__2 ) - // InternalApplicationConfiguration.g:3269:2: rule__EPackageImport__Group__1__Impl rule__EPackageImport__Group__2 + // InternalApplicationConfiguration.g:3120:1: ( rule__EPackageImport__Group__1__Impl rule__EPackageImport__Group__2 ) + // InternalApplicationConfiguration.g:3121:2: rule__EPackageImport__Group__1__Impl rule__EPackageImport__Group__2 { pushFollow(FOLLOW_11); rule__EPackageImport__Group__1__Impl(); @@ -10925,17 +10422,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__EPackageImport__Group__1__Impl" - // InternalApplicationConfiguration.g:3276:1: rule__EPackageImport__Group__1__Impl : ( 'epackage' ) ; + // InternalApplicationConfiguration.g:3128:1: rule__EPackageImport__Group__1__Impl : ( 'epackage' ) ; public final void rule__EPackageImport__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:3280:1: ( ( 'epackage' ) ) - // InternalApplicationConfiguration.g:3281:1: ( 'epackage' ) + // InternalApplicationConfiguration.g:3132:1: ( ( 'epackage' ) ) + // InternalApplicationConfiguration.g:3133:1: ( 'epackage' ) { - // InternalApplicationConfiguration.g:3281:1: ( 'epackage' ) - // InternalApplicationConfiguration.g:3282:2: 'epackage' + // InternalApplicationConfiguration.g:3133:1: ( 'epackage' ) + // InternalApplicationConfiguration.g:3134:2: 'epackage' { before(grammarAccess.getEPackageImportAccess().getEpackageKeyword_1()); match(input,26,FOLLOW_2); @@ -10962,14 +10459,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__EPackageImport__Group__2" - // InternalApplicationConfiguration.g:3291:1: rule__EPackageImport__Group__2 : rule__EPackageImport__Group__2__Impl ; + // InternalApplicationConfiguration.g:3143:1: rule__EPackageImport__Group__2 : rule__EPackageImport__Group__2__Impl ; public final void rule__EPackageImport__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:3295:1: ( rule__EPackageImport__Group__2__Impl ) - // InternalApplicationConfiguration.g:3296:2: rule__EPackageImport__Group__2__Impl + // InternalApplicationConfiguration.g:3147:1: ( rule__EPackageImport__Group__2__Impl ) + // InternalApplicationConfiguration.g:3148:2: rule__EPackageImport__Group__2__Impl { pushFollow(FOLLOW_2); rule__EPackageImport__Group__2__Impl(); @@ -10995,21 +10492,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__EPackageImport__Group__2__Impl" - // InternalApplicationConfiguration.g:3302:1: rule__EPackageImport__Group__2__Impl : ( ( rule__EPackageImport__ImportedPackageAssignment_2 ) ) ; + // InternalApplicationConfiguration.g:3154:1: rule__EPackageImport__Group__2__Impl : ( ( rule__EPackageImport__ImportedPackageAssignment_2 ) ) ; public final void rule__EPackageImport__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:3306:1: ( ( ( rule__EPackageImport__ImportedPackageAssignment_2 ) ) ) - // InternalApplicationConfiguration.g:3307:1: ( ( rule__EPackageImport__ImportedPackageAssignment_2 ) ) + // InternalApplicationConfiguration.g:3158:1: ( ( ( rule__EPackageImport__ImportedPackageAssignment_2 ) ) ) + // InternalApplicationConfiguration.g:3159:1: ( ( rule__EPackageImport__ImportedPackageAssignment_2 ) ) { - // InternalApplicationConfiguration.g:3307:1: ( ( rule__EPackageImport__ImportedPackageAssignment_2 ) ) - // InternalApplicationConfiguration.g:3308:2: ( rule__EPackageImport__ImportedPackageAssignment_2 ) + // InternalApplicationConfiguration.g:3159:1: ( ( rule__EPackageImport__ImportedPackageAssignment_2 ) ) + // InternalApplicationConfiguration.g:3160:2: ( rule__EPackageImport__ImportedPackageAssignment_2 ) { before(grammarAccess.getEPackageImportAccess().getImportedPackageAssignment_2()); - // InternalApplicationConfiguration.g:3309:2: ( rule__EPackageImport__ImportedPackageAssignment_2 ) - // InternalApplicationConfiguration.g:3309:3: rule__EPackageImport__ImportedPackageAssignment_2 + // InternalApplicationConfiguration.g:3161:2: ( rule__EPackageImport__ImportedPackageAssignment_2 ) + // InternalApplicationConfiguration.g:3161:3: rule__EPackageImport__ImportedPackageAssignment_2 { pushFollow(FOLLOW_2); rule__EPackageImport__ImportedPackageAssignment_2(); @@ -11042,14 +10539,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ViatraImport__Group__0" - // InternalApplicationConfiguration.g:3318:1: rule__ViatraImport__Group__0 : rule__ViatraImport__Group__0__Impl rule__ViatraImport__Group__1 ; + // InternalApplicationConfiguration.g:3170:1: rule__ViatraImport__Group__0 : rule__ViatraImport__Group__0__Impl rule__ViatraImport__Group__1 ; public final void rule__ViatraImport__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:3322:1: ( rule__ViatraImport__Group__0__Impl rule__ViatraImport__Group__1 ) - // InternalApplicationConfiguration.g:3323:2: rule__ViatraImport__Group__0__Impl rule__ViatraImport__Group__1 + // InternalApplicationConfiguration.g:3174:1: ( rule__ViatraImport__Group__0__Impl rule__ViatraImport__Group__1 ) + // InternalApplicationConfiguration.g:3175:2: rule__ViatraImport__Group__0__Impl rule__ViatraImport__Group__1 { pushFollow(FOLLOW_12); rule__ViatraImport__Group__0__Impl(); @@ -11080,17 +10577,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ViatraImport__Group__0__Impl" - // InternalApplicationConfiguration.g:3330:1: rule__ViatraImport__Group__0__Impl : ( 'import' ) ; + // InternalApplicationConfiguration.g:3182:1: rule__ViatraImport__Group__0__Impl : ( 'import' ) ; public final void rule__ViatraImport__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:3334:1: ( ( 'import' ) ) - // InternalApplicationConfiguration.g:3335:1: ( 'import' ) + // InternalApplicationConfiguration.g:3186:1: ( ( 'import' ) ) + // InternalApplicationConfiguration.g:3187:1: ( 'import' ) { - // InternalApplicationConfiguration.g:3335:1: ( 'import' ) - // InternalApplicationConfiguration.g:3336:2: 'import' + // InternalApplicationConfiguration.g:3187:1: ( 'import' ) + // InternalApplicationConfiguration.g:3188:2: 'import' { before(grammarAccess.getViatraImportAccess().getImportKeyword_0()); match(input,25,FOLLOW_2); @@ -11117,14 +10614,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ViatraImport__Group__1" - // InternalApplicationConfiguration.g:3345:1: rule__ViatraImport__Group__1 : rule__ViatraImport__Group__1__Impl rule__ViatraImport__Group__2 ; + // InternalApplicationConfiguration.g:3197:1: rule__ViatraImport__Group__1 : rule__ViatraImport__Group__1__Impl rule__ViatraImport__Group__2 ; public final void rule__ViatraImport__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:3349:1: ( rule__ViatraImport__Group__1__Impl rule__ViatraImport__Group__2 ) - // InternalApplicationConfiguration.g:3350:2: rule__ViatraImport__Group__1__Impl rule__ViatraImport__Group__2 + // InternalApplicationConfiguration.g:3201:1: ( rule__ViatraImport__Group__1__Impl rule__ViatraImport__Group__2 ) + // InternalApplicationConfiguration.g:3202:2: rule__ViatraImport__Group__1__Impl rule__ViatraImport__Group__2 { pushFollow(FOLLOW_11); rule__ViatraImport__Group__1__Impl(); @@ -11155,17 +10652,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ViatraImport__Group__1__Impl" - // InternalApplicationConfiguration.g:3357:1: rule__ViatraImport__Group__1__Impl : ( 'viatra' ) ; + // InternalApplicationConfiguration.g:3209:1: rule__ViatraImport__Group__1__Impl : ( 'viatra' ) ; public final void rule__ViatraImport__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:3361:1: ( ( 'viatra' ) ) - // InternalApplicationConfiguration.g:3362:1: ( 'viatra' ) + // InternalApplicationConfiguration.g:3213:1: ( ( 'viatra' ) ) + // InternalApplicationConfiguration.g:3214:1: ( 'viatra' ) { - // InternalApplicationConfiguration.g:3362:1: ( 'viatra' ) - // InternalApplicationConfiguration.g:3363:2: 'viatra' + // InternalApplicationConfiguration.g:3214:1: ( 'viatra' ) + // InternalApplicationConfiguration.g:3215:2: 'viatra' { before(grammarAccess.getViatraImportAccess().getViatraKeyword_1()); match(input,27,FOLLOW_2); @@ -11192,14 +10689,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ViatraImport__Group__2" - // InternalApplicationConfiguration.g:3372:1: rule__ViatraImport__Group__2 : rule__ViatraImport__Group__2__Impl ; + // InternalApplicationConfiguration.g:3224:1: rule__ViatraImport__Group__2 : rule__ViatraImport__Group__2__Impl ; public final void rule__ViatraImport__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:3376:1: ( rule__ViatraImport__Group__2__Impl ) - // InternalApplicationConfiguration.g:3377:2: rule__ViatraImport__Group__2__Impl + // InternalApplicationConfiguration.g:3228:1: ( rule__ViatraImport__Group__2__Impl ) + // InternalApplicationConfiguration.g:3229:2: rule__ViatraImport__Group__2__Impl { pushFollow(FOLLOW_2); rule__ViatraImport__Group__2__Impl(); @@ -11225,21 +10722,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ViatraImport__Group__2__Impl" - // InternalApplicationConfiguration.g:3383:1: rule__ViatraImport__Group__2__Impl : ( ( rule__ViatraImport__ImportedViatraAssignment_2 ) ) ; + // InternalApplicationConfiguration.g:3235:1: rule__ViatraImport__Group__2__Impl : ( ( rule__ViatraImport__ImportedViatraAssignment_2 ) ) ; public final void rule__ViatraImport__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:3387:1: ( ( ( rule__ViatraImport__ImportedViatraAssignment_2 ) ) ) - // InternalApplicationConfiguration.g:3388:1: ( ( rule__ViatraImport__ImportedViatraAssignment_2 ) ) + // InternalApplicationConfiguration.g:3239:1: ( ( ( rule__ViatraImport__ImportedViatraAssignment_2 ) ) ) + // InternalApplicationConfiguration.g:3240:1: ( ( rule__ViatraImport__ImportedViatraAssignment_2 ) ) { - // InternalApplicationConfiguration.g:3388:1: ( ( rule__ViatraImport__ImportedViatraAssignment_2 ) ) - // InternalApplicationConfiguration.g:3389:2: ( rule__ViatraImport__ImportedViatraAssignment_2 ) + // InternalApplicationConfiguration.g:3240:1: ( ( rule__ViatraImport__ImportedViatraAssignment_2 ) ) + // InternalApplicationConfiguration.g:3241:2: ( rule__ViatraImport__ImportedViatraAssignment_2 ) { before(grammarAccess.getViatraImportAccess().getImportedViatraAssignment_2()); - // InternalApplicationConfiguration.g:3390:2: ( rule__ViatraImport__ImportedViatraAssignment_2 ) - // InternalApplicationConfiguration.g:3390:3: rule__ViatraImport__ImportedViatraAssignment_2 + // InternalApplicationConfiguration.g:3242:2: ( rule__ViatraImport__ImportedViatraAssignment_2 ) + // InternalApplicationConfiguration.g:3242:3: rule__ViatraImport__ImportedViatraAssignment_2 { pushFollow(FOLLOW_2); rule__ViatraImport__ImportedViatraAssignment_2(); @@ -11271,23 +10768,23 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR end "rule__ViatraImport__Group__2__Impl" - // $ANTLR start "rule__CftImport__Group__0" - // InternalApplicationConfiguration.g:3399:1: rule__CftImport__Group__0 : rule__CftImport__Group__0__Impl rule__CftImport__Group__1 ; - public final void rule__CftImport__Group__0() throws RecognitionException { + // $ANTLR start "rule__FileDeclaration__Group__0" + // InternalApplicationConfiguration.g:3251:1: rule__FileDeclaration__Group__0 : rule__FileDeclaration__Group__0__Impl rule__FileDeclaration__Group__1 ; + public final void rule__FileDeclaration__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:3403:1: ( rule__CftImport__Group__0__Impl rule__CftImport__Group__1 ) - // InternalApplicationConfiguration.g:3404:2: rule__CftImport__Group__0__Impl rule__CftImport__Group__1 + // InternalApplicationConfiguration.g:3255:1: ( rule__FileDeclaration__Group__0__Impl rule__FileDeclaration__Group__1 ) + // InternalApplicationConfiguration.g:3256:2: rule__FileDeclaration__Group__0__Impl rule__FileDeclaration__Group__1 { - pushFollow(FOLLOW_13); - rule__CftImport__Group__0__Impl(); + pushFollow(FOLLOW_8); + rule__FileDeclaration__Group__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__CftImport__Group__1(); + rule__FileDeclaration__Group__1(); state._fsp--; @@ -11306,25 +10803,25 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } return ; } - // $ANTLR end "rule__CftImport__Group__0" + // $ANTLR end "rule__FileDeclaration__Group__0" - // $ANTLR start "rule__CftImport__Group__0__Impl" - // InternalApplicationConfiguration.g:3411:1: rule__CftImport__Group__0__Impl : ( 'import' ) ; - public final void rule__CftImport__Group__0__Impl() throws RecognitionException { + // $ANTLR start "rule__FileDeclaration__Group__0__Impl" + // InternalApplicationConfiguration.g:3263:1: rule__FileDeclaration__Group__0__Impl : ( 'file' ) ; + public final void rule__FileDeclaration__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:3415:1: ( ( 'import' ) ) - // InternalApplicationConfiguration.g:3416:1: ( 'import' ) + // InternalApplicationConfiguration.g:3267:1: ( ( 'file' ) ) + // InternalApplicationConfiguration.g:3268:1: ( 'file' ) { - // InternalApplicationConfiguration.g:3416:1: ( 'import' ) - // InternalApplicationConfiguration.g:3417:2: 'import' + // InternalApplicationConfiguration.g:3268:1: ( 'file' ) + // InternalApplicationConfiguration.g:3269:2: 'file' { - before(grammarAccess.getCftImportAccess().getImportKeyword_0()); - match(input,25,FOLLOW_2); - after(grammarAccess.getCftImportAccess().getImportKeyword_0()); + before(grammarAccess.getFileDeclarationAccess().getFileKeyword_0()); + match(input,28,FOLLOW_2); + after(grammarAccess.getFileDeclarationAccess().getFileKeyword_0()); } @@ -11343,26 +10840,26 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } return ; } - // $ANTLR end "rule__CftImport__Group__0__Impl" + // $ANTLR end "rule__FileDeclaration__Group__0__Impl" - // $ANTLR start "rule__CftImport__Group__1" - // InternalApplicationConfiguration.g:3426:1: rule__CftImport__Group__1 : rule__CftImport__Group__1__Impl rule__CftImport__Group__2 ; - public final void rule__CftImport__Group__1() throws RecognitionException { + // $ANTLR start "rule__FileDeclaration__Group__1" + // InternalApplicationConfiguration.g:3278:1: rule__FileDeclaration__Group__1 : rule__FileDeclaration__Group__1__Impl rule__FileDeclaration__Group__2 ; + public final void rule__FileDeclaration__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:3430:1: ( rule__CftImport__Group__1__Impl rule__CftImport__Group__2 ) - // InternalApplicationConfiguration.g:3431:2: rule__CftImport__Group__1__Impl rule__CftImport__Group__2 + // InternalApplicationConfiguration.g:3282:1: ( rule__FileDeclaration__Group__1__Impl rule__FileDeclaration__Group__2 ) + // InternalApplicationConfiguration.g:3283:2: rule__FileDeclaration__Group__1__Impl rule__FileDeclaration__Group__2 { - pushFollow(FOLLOW_11); - rule__CftImport__Group__1__Impl(); + pushFollow(FOLLOW_13); + rule__FileDeclaration__Group__1__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__CftImport__Group__2(); + rule__FileDeclaration__Group__2(); state._fsp--; @@ -11381,25 +10878,35 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } return ; } - // $ANTLR end "rule__CftImport__Group__1" + // $ANTLR end "rule__FileDeclaration__Group__1" - // $ANTLR start "rule__CftImport__Group__1__Impl" - // InternalApplicationConfiguration.g:3438:1: rule__CftImport__Group__1__Impl : ( 'reliability' ) ; - public final void rule__CftImport__Group__1__Impl() throws RecognitionException { + // $ANTLR start "rule__FileDeclaration__Group__1__Impl" + // InternalApplicationConfiguration.g:3290:1: rule__FileDeclaration__Group__1__Impl : ( ( rule__FileDeclaration__NameAssignment_1 ) ) ; + public final void rule__FileDeclaration__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:3442:1: ( ( 'reliability' ) ) - // InternalApplicationConfiguration.g:3443:1: ( 'reliability' ) + // InternalApplicationConfiguration.g:3294:1: ( ( ( rule__FileDeclaration__NameAssignment_1 ) ) ) + // InternalApplicationConfiguration.g:3295:1: ( ( rule__FileDeclaration__NameAssignment_1 ) ) { - // InternalApplicationConfiguration.g:3443:1: ( 'reliability' ) - // InternalApplicationConfiguration.g:3444:2: 'reliability' + // InternalApplicationConfiguration.g:3295:1: ( ( rule__FileDeclaration__NameAssignment_1 ) ) + // InternalApplicationConfiguration.g:3296:2: ( rule__FileDeclaration__NameAssignment_1 ) { - before(grammarAccess.getCftImportAccess().getReliabilityKeyword_1()); - match(input,28,FOLLOW_2); - after(grammarAccess.getCftImportAccess().getReliabilityKeyword_1()); + before(grammarAccess.getFileDeclarationAccess().getNameAssignment_1()); + // InternalApplicationConfiguration.g:3297:2: ( rule__FileDeclaration__NameAssignment_1 ) + // InternalApplicationConfiguration.g:3297:3: rule__FileDeclaration__NameAssignment_1 + { + pushFollow(FOLLOW_2); + rule__FileDeclaration__NameAssignment_1(); + + state._fsp--; + + + } + + after(grammarAccess.getFileDeclarationAccess().getNameAssignment_1()); } @@ -11418,21 +10925,26 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } return ; } - // $ANTLR end "rule__CftImport__Group__1__Impl" + // $ANTLR end "rule__FileDeclaration__Group__1__Impl" - // $ANTLR start "rule__CftImport__Group__2" - // InternalApplicationConfiguration.g:3453:1: rule__CftImport__Group__2 : rule__CftImport__Group__2__Impl ; - public final void rule__CftImport__Group__2() throws RecognitionException { + // $ANTLR start "rule__FileDeclaration__Group__2" + // InternalApplicationConfiguration.g:3305:1: rule__FileDeclaration__Group__2 : rule__FileDeclaration__Group__2__Impl rule__FileDeclaration__Group__3 ; + public final void rule__FileDeclaration__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:3457:1: ( rule__CftImport__Group__2__Impl ) - // InternalApplicationConfiguration.g:3458:2: rule__CftImport__Group__2__Impl + // InternalApplicationConfiguration.g:3309:1: ( rule__FileDeclaration__Group__2__Impl rule__FileDeclaration__Group__3 ) + // InternalApplicationConfiguration.g:3310:2: rule__FileDeclaration__Group__2__Impl rule__FileDeclaration__Group__3 { + pushFollow(FOLLOW_11); + rule__FileDeclaration__Group__2__Impl(); + + state._fsp--; + pushFollow(FOLLOW_2); - rule__CftImport__Group__2__Impl(); + rule__FileDeclaration__Group__3(); state._fsp--; @@ -11451,35 +10963,25 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } return ; } - // $ANTLR end "rule__CftImport__Group__2" + // $ANTLR end "rule__FileDeclaration__Group__2" - // $ANTLR start "rule__CftImport__Group__2__Impl" - // InternalApplicationConfiguration.g:3464:1: rule__CftImport__Group__2__Impl : ( ( rule__CftImport__ImportedCftAssignment_2 ) ) ; - public final void rule__CftImport__Group__2__Impl() throws RecognitionException { + // $ANTLR start "rule__FileDeclaration__Group__2__Impl" + // InternalApplicationConfiguration.g:3317:1: rule__FileDeclaration__Group__2__Impl : ( '=' ) ; + public final void rule__FileDeclaration__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:3468:1: ( ( ( rule__CftImport__ImportedCftAssignment_2 ) ) ) - // InternalApplicationConfiguration.g:3469:1: ( ( rule__CftImport__ImportedCftAssignment_2 ) ) - { - // InternalApplicationConfiguration.g:3469:1: ( ( rule__CftImport__ImportedCftAssignment_2 ) ) - // InternalApplicationConfiguration.g:3470:2: ( rule__CftImport__ImportedCftAssignment_2 ) + // InternalApplicationConfiguration.g:3321:1: ( ( '=' ) ) + // InternalApplicationConfiguration.g:3322:1: ( '=' ) { - before(grammarAccess.getCftImportAccess().getImportedCftAssignment_2()); - // InternalApplicationConfiguration.g:3471:2: ( rule__CftImport__ImportedCftAssignment_2 ) - // InternalApplicationConfiguration.g:3471:3: rule__CftImport__ImportedCftAssignment_2 + // InternalApplicationConfiguration.g:3322:1: ( '=' ) + // InternalApplicationConfiguration.g:3323:2: '=' { - pushFollow(FOLLOW_2); - rule__CftImport__ImportedCftAssignment_2(); - - state._fsp--; - - - } - - after(grammarAccess.getCftImportAccess().getImportedCftAssignment_2()); + before(grammarAccess.getFileDeclarationAccess().getEqualsSignKeyword_2()); + match(input,29,FOLLOW_2); + after(grammarAccess.getFileDeclarationAccess().getEqualsSignKeyword_2()); } @@ -11498,26 +11000,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } return ; } - // $ANTLR end "rule__CftImport__Group__2__Impl" + // $ANTLR end "rule__FileDeclaration__Group__2__Impl" - // $ANTLR start "rule__FileDeclaration__Group__0" - // InternalApplicationConfiguration.g:3480:1: rule__FileDeclaration__Group__0 : rule__FileDeclaration__Group__0__Impl rule__FileDeclaration__Group__1 ; - public final void rule__FileDeclaration__Group__0() throws RecognitionException { + // $ANTLR start "rule__FileDeclaration__Group__3" + // InternalApplicationConfiguration.g:3332:1: rule__FileDeclaration__Group__3 : rule__FileDeclaration__Group__3__Impl ; + public final void rule__FileDeclaration__Group__3() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:3484:1: ( rule__FileDeclaration__Group__0__Impl rule__FileDeclaration__Group__1 ) - // InternalApplicationConfiguration.g:3485:2: rule__FileDeclaration__Group__0__Impl rule__FileDeclaration__Group__1 + // InternalApplicationConfiguration.g:3336:1: ( rule__FileDeclaration__Group__3__Impl ) + // InternalApplicationConfiguration.g:3337:2: rule__FileDeclaration__Group__3__Impl { - pushFollow(FOLLOW_8); - rule__FileDeclaration__Group__0__Impl(); - - state._fsp--; - pushFollow(FOLLOW_2); - rule__FileDeclaration__Group__1(); + rule__FileDeclaration__Group__3__Impl(); state._fsp--; @@ -11536,25 +11033,35 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } return ; } - // $ANTLR end "rule__FileDeclaration__Group__0" + // $ANTLR end "rule__FileDeclaration__Group__3" - // $ANTLR start "rule__FileDeclaration__Group__0__Impl" - // InternalApplicationConfiguration.g:3492:1: rule__FileDeclaration__Group__0__Impl : ( 'file' ) ; - public final void rule__FileDeclaration__Group__0__Impl() throws RecognitionException { + // $ANTLR start "rule__FileDeclaration__Group__3__Impl" + // InternalApplicationConfiguration.g:3343:1: rule__FileDeclaration__Group__3__Impl : ( ( rule__FileDeclaration__SpecificationAssignment_3 ) ) ; + public final void rule__FileDeclaration__Group__3__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:3496:1: ( ( 'file' ) ) - // InternalApplicationConfiguration.g:3497:1: ( 'file' ) + // InternalApplicationConfiguration.g:3347:1: ( ( ( rule__FileDeclaration__SpecificationAssignment_3 ) ) ) + // InternalApplicationConfiguration.g:3348:1: ( ( rule__FileDeclaration__SpecificationAssignment_3 ) ) { - // InternalApplicationConfiguration.g:3497:1: ( 'file' ) - // InternalApplicationConfiguration.g:3498:2: 'file' + // InternalApplicationConfiguration.g:3348:1: ( ( rule__FileDeclaration__SpecificationAssignment_3 ) ) + // InternalApplicationConfiguration.g:3349:2: ( rule__FileDeclaration__SpecificationAssignment_3 ) { - before(grammarAccess.getFileDeclarationAccess().getFileKeyword_0()); - match(input,29,FOLLOW_2); - after(grammarAccess.getFileDeclarationAccess().getFileKeyword_0()); + before(grammarAccess.getFileDeclarationAccess().getSpecificationAssignment_3()); + // InternalApplicationConfiguration.g:3350:2: ( rule__FileDeclaration__SpecificationAssignment_3 ) + // InternalApplicationConfiguration.g:3350:3: rule__FileDeclaration__SpecificationAssignment_3 + { + pushFollow(FOLLOW_2); + rule__FileDeclaration__SpecificationAssignment_3(); + + state._fsp--; + + + } + + after(grammarAccess.getFileDeclarationAccess().getSpecificationAssignment_3()); } @@ -11573,26 +11080,26 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } return ; } - // $ANTLR end "rule__FileDeclaration__Group__0__Impl" + // $ANTLR end "rule__FileDeclaration__Group__3__Impl" - // $ANTLR start "rule__FileDeclaration__Group__1" - // InternalApplicationConfiguration.g:3507:1: rule__FileDeclaration__Group__1 : rule__FileDeclaration__Group__1__Impl rule__FileDeclaration__Group__2 ; - public final void rule__FileDeclaration__Group__1() throws RecognitionException { + // $ANTLR start "rule__MetamodelSpecification__Group__0" + // InternalApplicationConfiguration.g:3359:1: rule__MetamodelSpecification__Group__0 : rule__MetamodelSpecification__Group__0__Impl rule__MetamodelSpecification__Group__1 ; + public final void rule__MetamodelSpecification__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:3511:1: ( rule__FileDeclaration__Group__1__Impl rule__FileDeclaration__Group__2 ) - // InternalApplicationConfiguration.g:3512:2: rule__FileDeclaration__Group__1__Impl rule__FileDeclaration__Group__2 + // InternalApplicationConfiguration.g:3363:1: ( rule__MetamodelSpecification__Group__0__Impl rule__MetamodelSpecification__Group__1 ) + // InternalApplicationConfiguration.g:3364:2: rule__MetamodelSpecification__Group__0__Impl rule__MetamodelSpecification__Group__1 { pushFollow(FOLLOW_14); - rule__FileDeclaration__Group__1__Impl(); + rule__MetamodelSpecification__Group__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__FileDeclaration__Group__2(); + rule__MetamodelSpecification__Group__1(); state._fsp--; @@ -11611,35 +11118,25 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } return ; } - // $ANTLR end "rule__FileDeclaration__Group__1" + // $ANTLR end "rule__MetamodelSpecification__Group__0" - // $ANTLR start "rule__FileDeclaration__Group__1__Impl" - // InternalApplicationConfiguration.g:3519:1: rule__FileDeclaration__Group__1__Impl : ( ( rule__FileDeclaration__NameAssignment_1 ) ) ; - public final void rule__FileDeclaration__Group__1__Impl() throws RecognitionException { + // $ANTLR start "rule__MetamodelSpecification__Group__0__Impl" + // InternalApplicationConfiguration.g:3371:1: rule__MetamodelSpecification__Group__0__Impl : ( '{' ) ; + public final void rule__MetamodelSpecification__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:3523:1: ( ( ( rule__FileDeclaration__NameAssignment_1 ) ) ) - // InternalApplicationConfiguration.g:3524:1: ( ( rule__FileDeclaration__NameAssignment_1 ) ) + // InternalApplicationConfiguration.g:3375:1: ( ( '{' ) ) + // InternalApplicationConfiguration.g:3376:1: ( '{' ) { - // InternalApplicationConfiguration.g:3524:1: ( ( rule__FileDeclaration__NameAssignment_1 ) ) - // InternalApplicationConfiguration.g:3525:2: ( rule__FileDeclaration__NameAssignment_1 ) - { - before(grammarAccess.getFileDeclarationAccess().getNameAssignment_1()); - // InternalApplicationConfiguration.g:3526:2: ( rule__FileDeclaration__NameAssignment_1 ) - // InternalApplicationConfiguration.g:3526:3: rule__FileDeclaration__NameAssignment_1 + // InternalApplicationConfiguration.g:3376:1: ( '{' ) + // InternalApplicationConfiguration.g:3377:2: '{' { - pushFollow(FOLLOW_2); - rule__FileDeclaration__NameAssignment_1(); - - state._fsp--; - - - } - - after(grammarAccess.getFileDeclarationAccess().getNameAssignment_1()); + before(grammarAccess.getMetamodelSpecificationAccess().getLeftCurlyBracketKeyword_0()); + match(input,30,FOLLOW_2); + after(grammarAccess.getMetamodelSpecificationAccess().getLeftCurlyBracketKeyword_0()); } @@ -11658,26 +11155,26 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } return ; } - // $ANTLR end "rule__FileDeclaration__Group__1__Impl" + // $ANTLR end "rule__MetamodelSpecification__Group__0__Impl" - // $ANTLR start "rule__FileDeclaration__Group__2" - // InternalApplicationConfiguration.g:3534:1: rule__FileDeclaration__Group__2 : rule__FileDeclaration__Group__2__Impl rule__FileDeclaration__Group__3 ; - public final void rule__FileDeclaration__Group__2() throws RecognitionException { + // $ANTLR start "rule__MetamodelSpecification__Group__1" + // InternalApplicationConfiguration.g:3386:1: rule__MetamodelSpecification__Group__1 : rule__MetamodelSpecification__Group__1__Impl rule__MetamodelSpecification__Group__2 ; + public final void rule__MetamodelSpecification__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:3538:1: ( rule__FileDeclaration__Group__2__Impl rule__FileDeclaration__Group__3 ) - // InternalApplicationConfiguration.g:3539:2: rule__FileDeclaration__Group__2__Impl rule__FileDeclaration__Group__3 + // InternalApplicationConfiguration.g:3390:1: ( rule__MetamodelSpecification__Group__1__Impl rule__MetamodelSpecification__Group__2 ) + // InternalApplicationConfiguration.g:3391:2: rule__MetamodelSpecification__Group__1__Impl rule__MetamodelSpecification__Group__2 { - pushFollow(FOLLOW_11); - rule__FileDeclaration__Group__2__Impl(); + pushFollow(FOLLOW_15); + rule__MetamodelSpecification__Group__1__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__FileDeclaration__Group__3(); + rule__MetamodelSpecification__Group__2(); state._fsp--; @@ -11696,255 +11193,25 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } return ; } - // $ANTLR end "rule__FileDeclaration__Group__2" + // $ANTLR end "rule__MetamodelSpecification__Group__1" - // $ANTLR start "rule__FileDeclaration__Group__2__Impl" - // InternalApplicationConfiguration.g:3546:1: rule__FileDeclaration__Group__2__Impl : ( '=' ) ; - public final void rule__FileDeclaration__Group__2__Impl() throws RecognitionException { + // $ANTLR start "rule__MetamodelSpecification__Group__1__Impl" + // InternalApplicationConfiguration.g:3398:1: rule__MetamodelSpecification__Group__1__Impl : ( ( rule__MetamodelSpecification__EntriesAssignment_1 ) ) ; + public final void rule__MetamodelSpecification__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:3550:1: ( ( '=' ) ) - // InternalApplicationConfiguration.g:3551:1: ( '=' ) + // InternalApplicationConfiguration.g:3402:1: ( ( ( rule__MetamodelSpecification__EntriesAssignment_1 ) ) ) + // InternalApplicationConfiguration.g:3403:1: ( ( rule__MetamodelSpecification__EntriesAssignment_1 ) ) { - // InternalApplicationConfiguration.g:3551:1: ( '=' ) - // InternalApplicationConfiguration.g:3552:2: '=' - { - before(grammarAccess.getFileDeclarationAccess().getEqualsSignKeyword_2()); - match(input,30,FOLLOW_2); - after(grammarAccess.getFileDeclarationAccess().getEqualsSignKeyword_2()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__FileDeclaration__Group__2__Impl" - - - // $ANTLR start "rule__FileDeclaration__Group__3" - // InternalApplicationConfiguration.g:3561:1: rule__FileDeclaration__Group__3 : rule__FileDeclaration__Group__3__Impl ; - public final void rule__FileDeclaration__Group__3() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:3565:1: ( rule__FileDeclaration__Group__3__Impl ) - // InternalApplicationConfiguration.g:3566:2: rule__FileDeclaration__Group__3__Impl - { - pushFollow(FOLLOW_2); - rule__FileDeclaration__Group__3__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__FileDeclaration__Group__3" - - - // $ANTLR start "rule__FileDeclaration__Group__3__Impl" - // InternalApplicationConfiguration.g:3572:1: rule__FileDeclaration__Group__3__Impl : ( ( rule__FileDeclaration__SpecificationAssignment_3 ) ) ; - public final void rule__FileDeclaration__Group__3__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:3576:1: ( ( ( rule__FileDeclaration__SpecificationAssignment_3 ) ) ) - // InternalApplicationConfiguration.g:3577:1: ( ( rule__FileDeclaration__SpecificationAssignment_3 ) ) - { - // InternalApplicationConfiguration.g:3577:1: ( ( rule__FileDeclaration__SpecificationAssignment_3 ) ) - // InternalApplicationConfiguration.g:3578:2: ( rule__FileDeclaration__SpecificationAssignment_3 ) - { - before(grammarAccess.getFileDeclarationAccess().getSpecificationAssignment_3()); - // InternalApplicationConfiguration.g:3579:2: ( rule__FileDeclaration__SpecificationAssignment_3 ) - // InternalApplicationConfiguration.g:3579:3: rule__FileDeclaration__SpecificationAssignment_3 - { - pushFollow(FOLLOW_2); - rule__FileDeclaration__SpecificationAssignment_3(); - - state._fsp--; - - - } - - after(grammarAccess.getFileDeclarationAccess().getSpecificationAssignment_3()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__FileDeclaration__Group__3__Impl" - - - // $ANTLR start "rule__MetamodelSpecification__Group__0" - // InternalApplicationConfiguration.g:3588:1: rule__MetamodelSpecification__Group__0 : rule__MetamodelSpecification__Group__0__Impl rule__MetamodelSpecification__Group__1 ; - public final void rule__MetamodelSpecification__Group__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:3592:1: ( rule__MetamodelSpecification__Group__0__Impl rule__MetamodelSpecification__Group__1 ) - // InternalApplicationConfiguration.g:3593:2: rule__MetamodelSpecification__Group__0__Impl rule__MetamodelSpecification__Group__1 - { - pushFollow(FOLLOW_15); - rule__MetamodelSpecification__Group__0__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__MetamodelSpecification__Group__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__MetamodelSpecification__Group__0" - - - // $ANTLR start "rule__MetamodelSpecification__Group__0__Impl" - // InternalApplicationConfiguration.g:3600:1: rule__MetamodelSpecification__Group__0__Impl : ( '{' ) ; - public final void rule__MetamodelSpecification__Group__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:3604:1: ( ( '{' ) ) - // InternalApplicationConfiguration.g:3605:1: ( '{' ) - { - // InternalApplicationConfiguration.g:3605:1: ( '{' ) - // InternalApplicationConfiguration.g:3606:2: '{' - { - before(grammarAccess.getMetamodelSpecificationAccess().getLeftCurlyBracketKeyword_0()); - match(input,31,FOLLOW_2); - after(grammarAccess.getMetamodelSpecificationAccess().getLeftCurlyBracketKeyword_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__MetamodelSpecification__Group__0__Impl" - - - // $ANTLR start "rule__MetamodelSpecification__Group__1" - // InternalApplicationConfiguration.g:3615:1: rule__MetamodelSpecification__Group__1 : rule__MetamodelSpecification__Group__1__Impl rule__MetamodelSpecification__Group__2 ; - public final void rule__MetamodelSpecification__Group__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:3619:1: ( rule__MetamodelSpecification__Group__1__Impl rule__MetamodelSpecification__Group__2 ) - // InternalApplicationConfiguration.g:3620:2: rule__MetamodelSpecification__Group__1__Impl rule__MetamodelSpecification__Group__2 - { - pushFollow(FOLLOW_16); - rule__MetamodelSpecification__Group__1__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__MetamodelSpecification__Group__2(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__MetamodelSpecification__Group__1" - - - // $ANTLR start "rule__MetamodelSpecification__Group__1__Impl" - // InternalApplicationConfiguration.g:3627:1: rule__MetamodelSpecification__Group__1__Impl : ( ( rule__MetamodelSpecification__EntriesAssignment_1 ) ) ; - public final void rule__MetamodelSpecification__Group__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:3631:1: ( ( ( rule__MetamodelSpecification__EntriesAssignment_1 ) ) ) - // InternalApplicationConfiguration.g:3632:1: ( ( rule__MetamodelSpecification__EntriesAssignment_1 ) ) - { - // InternalApplicationConfiguration.g:3632:1: ( ( rule__MetamodelSpecification__EntriesAssignment_1 ) ) - // InternalApplicationConfiguration.g:3633:2: ( rule__MetamodelSpecification__EntriesAssignment_1 ) + // InternalApplicationConfiguration.g:3403:1: ( ( rule__MetamodelSpecification__EntriesAssignment_1 ) ) + // InternalApplicationConfiguration.g:3404:2: ( rule__MetamodelSpecification__EntriesAssignment_1 ) { before(grammarAccess.getMetamodelSpecificationAccess().getEntriesAssignment_1()); - // InternalApplicationConfiguration.g:3634:2: ( rule__MetamodelSpecification__EntriesAssignment_1 ) - // InternalApplicationConfiguration.g:3634:3: rule__MetamodelSpecification__EntriesAssignment_1 + // InternalApplicationConfiguration.g:3405:2: ( rule__MetamodelSpecification__EntriesAssignment_1 ) + // InternalApplicationConfiguration.g:3405:3: rule__MetamodelSpecification__EntriesAssignment_1 { pushFollow(FOLLOW_2); rule__MetamodelSpecification__EntriesAssignment_1(); @@ -11977,16 +11244,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__MetamodelSpecification__Group__2" - // InternalApplicationConfiguration.g:3642:1: rule__MetamodelSpecification__Group__2 : rule__MetamodelSpecification__Group__2__Impl rule__MetamodelSpecification__Group__3 ; + // InternalApplicationConfiguration.g:3413:1: rule__MetamodelSpecification__Group__2 : rule__MetamodelSpecification__Group__2__Impl rule__MetamodelSpecification__Group__3 ; public final void rule__MetamodelSpecification__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:3646:1: ( rule__MetamodelSpecification__Group__2__Impl rule__MetamodelSpecification__Group__3 ) - // InternalApplicationConfiguration.g:3647:2: rule__MetamodelSpecification__Group__2__Impl rule__MetamodelSpecification__Group__3 + // InternalApplicationConfiguration.g:3417:1: ( rule__MetamodelSpecification__Group__2__Impl rule__MetamodelSpecification__Group__3 ) + // InternalApplicationConfiguration.g:3418:2: rule__MetamodelSpecification__Group__2__Impl rule__MetamodelSpecification__Group__3 { - pushFollow(FOLLOW_16); + pushFollow(FOLLOW_15); rule__MetamodelSpecification__Group__2__Impl(); state._fsp--; @@ -12015,35 +11282,35 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__MetamodelSpecification__Group__2__Impl" - // InternalApplicationConfiguration.g:3654:1: rule__MetamodelSpecification__Group__2__Impl : ( ( rule__MetamodelSpecification__Group_2__0 )* ) ; + // InternalApplicationConfiguration.g:3425:1: rule__MetamodelSpecification__Group__2__Impl : ( ( rule__MetamodelSpecification__Group_2__0 )* ) ; public final void rule__MetamodelSpecification__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:3658:1: ( ( ( rule__MetamodelSpecification__Group_2__0 )* ) ) - // InternalApplicationConfiguration.g:3659:1: ( ( rule__MetamodelSpecification__Group_2__0 )* ) + // InternalApplicationConfiguration.g:3429:1: ( ( ( rule__MetamodelSpecification__Group_2__0 )* ) ) + // InternalApplicationConfiguration.g:3430:1: ( ( rule__MetamodelSpecification__Group_2__0 )* ) { - // InternalApplicationConfiguration.g:3659:1: ( ( rule__MetamodelSpecification__Group_2__0 )* ) - // InternalApplicationConfiguration.g:3660:2: ( rule__MetamodelSpecification__Group_2__0 )* + // InternalApplicationConfiguration.g:3430:1: ( ( rule__MetamodelSpecification__Group_2__0 )* ) + // InternalApplicationConfiguration.g:3431:2: ( rule__MetamodelSpecification__Group_2__0 )* { before(grammarAccess.getMetamodelSpecificationAccess().getGroup_2()); - // InternalApplicationConfiguration.g:3661:2: ( rule__MetamodelSpecification__Group_2__0 )* - loop40: + // InternalApplicationConfiguration.g:3432:2: ( rule__MetamodelSpecification__Group_2__0 )* + loop38: do { - int alt40=2; - int LA40_0 = input.LA(1); + int alt38=2; + int LA38_0 = input.LA(1); - if ( (LA40_0==33) ) { - alt40=1; + if ( (LA38_0==32) ) { + alt38=1; } - switch (alt40) { + switch (alt38) { case 1 : - // InternalApplicationConfiguration.g:3661:3: rule__MetamodelSpecification__Group_2__0 + // InternalApplicationConfiguration.g:3432:3: rule__MetamodelSpecification__Group_2__0 { - pushFollow(FOLLOW_17); + pushFollow(FOLLOW_16); rule__MetamodelSpecification__Group_2__0(); state._fsp--; @@ -12053,7 +11320,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont break; default : - break loop40; + break loop38; } } while (true); @@ -12080,14 +11347,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__MetamodelSpecification__Group__3" - // InternalApplicationConfiguration.g:3669:1: rule__MetamodelSpecification__Group__3 : rule__MetamodelSpecification__Group__3__Impl ; + // InternalApplicationConfiguration.g:3440:1: rule__MetamodelSpecification__Group__3 : rule__MetamodelSpecification__Group__3__Impl ; public final void rule__MetamodelSpecification__Group__3() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:3673:1: ( rule__MetamodelSpecification__Group__3__Impl ) - // InternalApplicationConfiguration.g:3674:2: rule__MetamodelSpecification__Group__3__Impl + // InternalApplicationConfiguration.g:3444:1: ( rule__MetamodelSpecification__Group__3__Impl ) + // InternalApplicationConfiguration.g:3445:2: rule__MetamodelSpecification__Group__3__Impl { pushFollow(FOLLOW_2); rule__MetamodelSpecification__Group__3__Impl(); @@ -12113,20 +11380,20 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__MetamodelSpecification__Group__3__Impl" - // InternalApplicationConfiguration.g:3680:1: rule__MetamodelSpecification__Group__3__Impl : ( '}' ) ; + // InternalApplicationConfiguration.g:3451:1: rule__MetamodelSpecification__Group__3__Impl : ( '}' ) ; public final void rule__MetamodelSpecification__Group__3__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:3684:1: ( ( '}' ) ) - // InternalApplicationConfiguration.g:3685:1: ( '}' ) + // InternalApplicationConfiguration.g:3455:1: ( ( '}' ) ) + // InternalApplicationConfiguration.g:3456:1: ( '}' ) { - // InternalApplicationConfiguration.g:3685:1: ( '}' ) - // InternalApplicationConfiguration.g:3686:2: '}' + // InternalApplicationConfiguration.g:3456:1: ( '}' ) + // InternalApplicationConfiguration.g:3457:2: '}' { before(grammarAccess.getMetamodelSpecificationAccess().getRightCurlyBracketKeyword_3()); - match(input,32,FOLLOW_2); + match(input,31,FOLLOW_2); after(grammarAccess.getMetamodelSpecificationAccess().getRightCurlyBracketKeyword_3()); } @@ -12150,16 +11417,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__MetamodelSpecification__Group_2__0" - // InternalApplicationConfiguration.g:3696:1: rule__MetamodelSpecification__Group_2__0 : rule__MetamodelSpecification__Group_2__0__Impl rule__MetamodelSpecification__Group_2__1 ; + // InternalApplicationConfiguration.g:3467:1: rule__MetamodelSpecification__Group_2__0 : rule__MetamodelSpecification__Group_2__0__Impl rule__MetamodelSpecification__Group_2__1 ; public final void rule__MetamodelSpecification__Group_2__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:3700:1: ( rule__MetamodelSpecification__Group_2__0__Impl rule__MetamodelSpecification__Group_2__1 ) - // InternalApplicationConfiguration.g:3701:2: rule__MetamodelSpecification__Group_2__0__Impl rule__MetamodelSpecification__Group_2__1 + // InternalApplicationConfiguration.g:3471:1: ( rule__MetamodelSpecification__Group_2__0__Impl rule__MetamodelSpecification__Group_2__1 ) + // InternalApplicationConfiguration.g:3472:2: rule__MetamodelSpecification__Group_2__0__Impl rule__MetamodelSpecification__Group_2__1 { - pushFollow(FOLLOW_15); + pushFollow(FOLLOW_14); rule__MetamodelSpecification__Group_2__0__Impl(); state._fsp--; @@ -12188,20 +11455,20 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__MetamodelSpecification__Group_2__0__Impl" - // InternalApplicationConfiguration.g:3708:1: rule__MetamodelSpecification__Group_2__0__Impl : ( ',' ) ; + // InternalApplicationConfiguration.g:3479:1: rule__MetamodelSpecification__Group_2__0__Impl : ( ',' ) ; public final void rule__MetamodelSpecification__Group_2__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:3712:1: ( ( ',' ) ) - // InternalApplicationConfiguration.g:3713:1: ( ',' ) + // InternalApplicationConfiguration.g:3483:1: ( ( ',' ) ) + // InternalApplicationConfiguration.g:3484:1: ( ',' ) { - // InternalApplicationConfiguration.g:3713:1: ( ',' ) - // InternalApplicationConfiguration.g:3714:2: ',' + // InternalApplicationConfiguration.g:3484:1: ( ',' ) + // InternalApplicationConfiguration.g:3485:2: ',' { before(grammarAccess.getMetamodelSpecificationAccess().getCommaKeyword_2_0()); - match(input,33,FOLLOW_2); + match(input,32,FOLLOW_2); after(grammarAccess.getMetamodelSpecificationAccess().getCommaKeyword_2_0()); } @@ -12225,14 +11492,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__MetamodelSpecification__Group_2__1" - // InternalApplicationConfiguration.g:3723:1: rule__MetamodelSpecification__Group_2__1 : rule__MetamodelSpecification__Group_2__1__Impl ; + // InternalApplicationConfiguration.g:3494:1: rule__MetamodelSpecification__Group_2__1 : rule__MetamodelSpecification__Group_2__1__Impl ; public final void rule__MetamodelSpecification__Group_2__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:3727:1: ( rule__MetamodelSpecification__Group_2__1__Impl ) - // InternalApplicationConfiguration.g:3728:2: rule__MetamodelSpecification__Group_2__1__Impl + // InternalApplicationConfiguration.g:3498:1: ( rule__MetamodelSpecification__Group_2__1__Impl ) + // InternalApplicationConfiguration.g:3499:2: rule__MetamodelSpecification__Group_2__1__Impl { pushFollow(FOLLOW_2); rule__MetamodelSpecification__Group_2__1__Impl(); @@ -12258,21 +11525,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__MetamodelSpecification__Group_2__1__Impl" - // InternalApplicationConfiguration.g:3734:1: rule__MetamodelSpecification__Group_2__1__Impl : ( ( rule__MetamodelSpecification__EntriesAssignment_2_1 ) ) ; + // InternalApplicationConfiguration.g:3505:1: rule__MetamodelSpecification__Group_2__1__Impl : ( ( rule__MetamodelSpecification__EntriesAssignment_2_1 ) ) ; public final void rule__MetamodelSpecification__Group_2__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:3738:1: ( ( ( rule__MetamodelSpecification__EntriesAssignment_2_1 ) ) ) - // InternalApplicationConfiguration.g:3739:1: ( ( rule__MetamodelSpecification__EntriesAssignment_2_1 ) ) + // InternalApplicationConfiguration.g:3509:1: ( ( ( rule__MetamodelSpecification__EntriesAssignment_2_1 ) ) ) + // InternalApplicationConfiguration.g:3510:1: ( ( rule__MetamodelSpecification__EntriesAssignment_2_1 ) ) { - // InternalApplicationConfiguration.g:3739:1: ( ( rule__MetamodelSpecification__EntriesAssignment_2_1 ) ) - // InternalApplicationConfiguration.g:3740:2: ( rule__MetamodelSpecification__EntriesAssignment_2_1 ) + // InternalApplicationConfiguration.g:3510:1: ( ( rule__MetamodelSpecification__EntriesAssignment_2_1 ) ) + // InternalApplicationConfiguration.g:3511:2: ( rule__MetamodelSpecification__EntriesAssignment_2_1 ) { before(grammarAccess.getMetamodelSpecificationAccess().getEntriesAssignment_2_1()); - // InternalApplicationConfiguration.g:3741:2: ( rule__MetamodelSpecification__EntriesAssignment_2_1 ) - // InternalApplicationConfiguration.g:3741:3: rule__MetamodelSpecification__EntriesAssignment_2_1 + // InternalApplicationConfiguration.g:3512:2: ( rule__MetamodelSpecification__EntriesAssignment_2_1 ) + // InternalApplicationConfiguration.g:3512:3: rule__MetamodelSpecification__EntriesAssignment_2_1 { pushFollow(FOLLOW_2); rule__MetamodelSpecification__EntriesAssignment_2_1(); @@ -12305,14 +11572,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__AllPackageEntry__Group__0" - // InternalApplicationConfiguration.g:3750:1: rule__AllPackageEntry__Group__0 : rule__AllPackageEntry__Group__0__Impl rule__AllPackageEntry__Group__1 ; + // InternalApplicationConfiguration.g:3521:1: rule__AllPackageEntry__Group__0 : rule__AllPackageEntry__Group__0__Impl rule__AllPackageEntry__Group__1 ; public final void rule__AllPackageEntry__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:3754:1: ( rule__AllPackageEntry__Group__0__Impl rule__AllPackageEntry__Group__1 ) - // InternalApplicationConfiguration.g:3755:2: rule__AllPackageEntry__Group__0__Impl rule__AllPackageEntry__Group__1 + // InternalApplicationConfiguration.g:3525:1: ( rule__AllPackageEntry__Group__0__Impl rule__AllPackageEntry__Group__1 ) + // InternalApplicationConfiguration.g:3526:2: rule__AllPackageEntry__Group__0__Impl rule__AllPackageEntry__Group__1 { pushFollow(FOLLOW_8); rule__AllPackageEntry__Group__0__Impl(); @@ -12343,20 +11610,20 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__AllPackageEntry__Group__0__Impl" - // InternalApplicationConfiguration.g:3762:1: rule__AllPackageEntry__Group__0__Impl : ( 'package' ) ; + // InternalApplicationConfiguration.g:3533:1: rule__AllPackageEntry__Group__0__Impl : ( 'package' ) ; public final void rule__AllPackageEntry__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:3766:1: ( ( 'package' ) ) - // InternalApplicationConfiguration.g:3767:1: ( 'package' ) + // InternalApplicationConfiguration.g:3537:1: ( ( 'package' ) ) + // InternalApplicationConfiguration.g:3538:1: ( 'package' ) { - // InternalApplicationConfiguration.g:3767:1: ( 'package' ) - // InternalApplicationConfiguration.g:3768:2: 'package' + // InternalApplicationConfiguration.g:3538:1: ( 'package' ) + // InternalApplicationConfiguration.g:3539:2: 'package' { before(grammarAccess.getAllPackageEntryAccess().getPackageKeyword_0()); - match(input,34,FOLLOW_2); + match(input,33,FOLLOW_2); after(grammarAccess.getAllPackageEntryAccess().getPackageKeyword_0()); } @@ -12380,16 +11647,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__AllPackageEntry__Group__1" - // InternalApplicationConfiguration.g:3777:1: rule__AllPackageEntry__Group__1 : rule__AllPackageEntry__Group__1__Impl rule__AllPackageEntry__Group__2 ; + // InternalApplicationConfiguration.g:3548:1: rule__AllPackageEntry__Group__1 : rule__AllPackageEntry__Group__1__Impl rule__AllPackageEntry__Group__2 ; public final void rule__AllPackageEntry__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:3781:1: ( rule__AllPackageEntry__Group__1__Impl rule__AllPackageEntry__Group__2 ) - // InternalApplicationConfiguration.g:3782:2: rule__AllPackageEntry__Group__1__Impl rule__AllPackageEntry__Group__2 + // InternalApplicationConfiguration.g:3552:1: ( rule__AllPackageEntry__Group__1__Impl rule__AllPackageEntry__Group__2 ) + // InternalApplicationConfiguration.g:3553:2: rule__AllPackageEntry__Group__1__Impl rule__AllPackageEntry__Group__2 { - pushFollow(FOLLOW_18); + pushFollow(FOLLOW_17); rule__AllPackageEntry__Group__1__Impl(); state._fsp--; @@ -12418,21 +11685,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__AllPackageEntry__Group__1__Impl" - // InternalApplicationConfiguration.g:3789:1: rule__AllPackageEntry__Group__1__Impl : ( ( rule__AllPackageEntry__PackageAssignment_1 ) ) ; + // InternalApplicationConfiguration.g:3560:1: rule__AllPackageEntry__Group__1__Impl : ( ( rule__AllPackageEntry__PackageAssignment_1 ) ) ; public final void rule__AllPackageEntry__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:3793:1: ( ( ( rule__AllPackageEntry__PackageAssignment_1 ) ) ) - // InternalApplicationConfiguration.g:3794:1: ( ( rule__AllPackageEntry__PackageAssignment_1 ) ) + // InternalApplicationConfiguration.g:3564:1: ( ( ( rule__AllPackageEntry__PackageAssignment_1 ) ) ) + // InternalApplicationConfiguration.g:3565:1: ( ( rule__AllPackageEntry__PackageAssignment_1 ) ) { - // InternalApplicationConfiguration.g:3794:1: ( ( rule__AllPackageEntry__PackageAssignment_1 ) ) - // InternalApplicationConfiguration.g:3795:2: ( rule__AllPackageEntry__PackageAssignment_1 ) + // InternalApplicationConfiguration.g:3565:1: ( ( rule__AllPackageEntry__PackageAssignment_1 ) ) + // InternalApplicationConfiguration.g:3566:2: ( rule__AllPackageEntry__PackageAssignment_1 ) { before(grammarAccess.getAllPackageEntryAccess().getPackageAssignment_1()); - // InternalApplicationConfiguration.g:3796:2: ( rule__AllPackageEntry__PackageAssignment_1 ) - // InternalApplicationConfiguration.g:3796:3: rule__AllPackageEntry__PackageAssignment_1 + // InternalApplicationConfiguration.g:3567:2: ( rule__AllPackageEntry__PackageAssignment_1 ) + // InternalApplicationConfiguration.g:3567:3: rule__AllPackageEntry__PackageAssignment_1 { pushFollow(FOLLOW_2); rule__AllPackageEntry__PackageAssignment_1(); @@ -12465,14 +11732,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__AllPackageEntry__Group__2" - // InternalApplicationConfiguration.g:3804:1: rule__AllPackageEntry__Group__2 : rule__AllPackageEntry__Group__2__Impl ; + // InternalApplicationConfiguration.g:3575:1: rule__AllPackageEntry__Group__2 : rule__AllPackageEntry__Group__2__Impl ; public final void rule__AllPackageEntry__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:3808:1: ( rule__AllPackageEntry__Group__2__Impl ) - // InternalApplicationConfiguration.g:3809:2: rule__AllPackageEntry__Group__2__Impl + // InternalApplicationConfiguration.g:3579:1: ( rule__AllPackageEntry__Group__2__Impl ) + // InternalApplicationConfiguration.g:3580:2: rule__AllPackageEntry__Group__2__Impl { pushFollow(FOLLOW_2); rule__AllPackageEntry__Group__2__Impl(); @@ -12498,29 +11765,29 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__AllPackageEntry__Group__2__Impl" - // InternalApplicationConfiguration.g:3815:1: rule__AllPackageEntry__Group__2__Impl : ( ( rule__AllPackageEntry__Group_2__0 )? ) ; + // InternalApplicationConfiguration.g:3586:1: rule__AllPackageEntry__Group__2__Impl : ( ( rule__AllPackageEntry__Group_2__0 )? ) ; public final void rule__AllPackageEntry__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:3819:1: ( ( ( rule__AllPackageEntry__Group_2__0 )? ) ) - // InternalApplicationConfiguration.g:3820:1: ( ( rule__AllPackageEntry__Group_2__0 )? ) + // InternalApplicationConfiguration.g:3590:1: ( ( ( rule__AllPackageEntry__Group_2__0 )? ) ) + // InternalApplicationConfiguration.g:3591:1: ( ( rule__AllPackageEntry__Group_2__0 )? ) { - // InternalApplicationConfiguration.g:3820:1: ( ( rule__AllPackageEntry__Group_2__0 )? ) - // InternalApplicationConfiguration.g:3821:2: ( rule__AllPackageEntry__Group_2__0 )? + // InternalApplicationConfiguration.g:3591:1: ( ( rule__AllPackageEntry__Group_2__0 )? ) + // InternalApplicationConfiguration.g:3592:2: ( rule__AllPackageEntry__Group_2__0 )? { before(grammarAccess.getAllPackageEntryAccess().getGroup_2()); - // InternalApplicationConfiguration.g:3822:2: ( rule__AllPackageEntry__Group_2__0 )? - int alt41=2; - int LA41_0 = input.LA(1); + // InternalApplicationConfiguration.g:3593:2: ( rule__AllPackageEntry__Group_2__0 )? + int alt39=2; + int LA39_0 = input.LA(1); - if ( (LA41_0==35) ) { - alt41=1; + if ( (LA39_0==34) ) { + alt39=1; } - switch (alt41) { + switch (alt39) { case 1 : - // InternalApplicationConfiguration.g:3822:3: rule__AllPackageEntry__Group_2__0 + // InternalApplicationConfiguration.g:3593:3: rule__AllPackageEntry__Group_2__0 { pushFollow(FOLLOW_2); rule__AllPackageEntry__Group_2__0(); @@ -12556,16 +11823,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__AllPackageEntry__Group_2__0" - // InternalApplicationConfiguration.g:3831:1: rule__AllPackageEntry__Group_2__0 : rule__AllPackageEntry__Group_2__0__Impl rule__AllPackageEntry__Group_2__1 ; + // InternalApplicationConfiguration.g:3602:1: rule__AllPackageEntry__Group_2__0 : rule__AllPackageEntry__Group_2__0__Impl rule__AllPackageEntry__Group_2__1 ; public final void rule__AllPackageEntry__Group_2__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:3835:1: ( rule__AllPackageEntry__Group_2__0__Impl rule__AllPackageEntry__Group_2__1 ) - // InternalApplicationConfiguration.g:3836:2: rule__AllPackageEntry__Group_2__0__Impl rule__AllPackageEntry__Group_2__1 + // InternalApplicationConfiguration.g:3606:1: ( rule__AllPackageEntry__Group_2__0__Impl rule__AllPackageEntry__Group_2__1 ) + // InternalApplicationConfiguration.g:3607:2: rule__AllPackageEntry__Group_2__0__Impl rule__AllPackageEntry__Group_2__1 { - pushFollow(FOLLOW_19); + pushFollow(FOLLOW_18); rule__AllPackageEntry__Group_2__0__Impl(); state._fsp--; @@ -12594,20 +11861,20 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__AllPackageEntry__Group_2__0__Impl" - // InternalApplicationConfiguration.g:3843:1: rule__AllPackageEntry__Group_2__0__Impl : ( 'excluding' ) ; + // InternalApplicationConfiguration.g:3614:1: rule__AllPackageEntry__Group_2__0__Impl : ( 'excluding' ) ; public final void rule__AllPackageEntry__Group_2__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:3847:1: ( ( 'excluding' ) ) - // InternalApplicationConfiguration.g:3848:1: ( 'excluding' ) + // InternalApplicationConfiguration.g:3618:1: ( ( 'excluding' ) ) + // InternalApplicationConfiguration.g:3619:1: ( 'excluding' ) { - // InternalApplicationConfiguration.g:3848:1: ( 'excluding' ) - // InternalApplicationConfiguration.g:3849:2: 'excluding' + // InternalApplicationConfiguration.g:3619:1: ( 'excluding' ) + // InternalApplicationConfiguration.g:3620:2: 'excluding' { before(grammarAccess.getAllPackageEntryAccess().getExcludingKeyword_2_0()); - match(input,35,FOLLOW_2); + match(input,34,FOLLOW_2); after(grammarAccess.getAllPackageEntryAccess().getExcludingKeyword_2_0()); } @@ -12631,14 +11898,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__AllPackageEntry__Group_2__1" - // InternalApplicationConfiguration.g:3858:1: rule__AllPackageEntry__Group_2__1 : rule__AllPackageEntry__Group_2__1__Impl rule__AllPackageEntry__Group_2__2 ; + // InternalApplicationConfiguration.g:3629:1: rule__AllPackageEntry__Group_2__1 : rule__AllPackageEntry__Group_2__1__Impl rule__AllPackageEntry__Group_2__2 ; public final void rule__AllPackageEntry__Group_2__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:3862:1: ( rule__AllPackageEntry__Group_2__1__Impl rule__AllPackageEntry__Group_2__2 ) - // InternalApplicationConfiguration.g:3863:2: rule__AllPackageEntry__Group_2__1__Impl rule__AllPackageEntry__Group_2__2 + // InternalApplicationConfiguration.g:3633:1: ( rule__AllPackageEntry__Group_2__1__Impl rule__AllPackageEntry__Group_2__2 ) + // InternalApplicationConfiguration.g:3634:2: rule__AllPackageEntry__Group_2__1__Impl rule__AllPackageEntry__Group_2__2 { pushFollow(FOLLOW_8); rule__AllPackageEntry__Group_2__1__Impl(); @@ -12669,20 +11936,20 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__AllPackageEntry__Group_2__1__Impl" - // InternalApplicationConfiguration.g:3870:1: rule__AllPackageEntry__Group_2__1__Impl : ( '{' ) ; + // InternalApplicationConfiguration.g:3641:1: rule__AllPackageEntry__Group_2__1__Impl : ( '{' ) ; public final void rule__AllPackageEntry__Group_2__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:3874:1: ( ( '{' ) ) - // InternalApplicationConfiguration.g:3875:1: ( '{' ) + // InternalApplicationConfiguration.g:3645:1: ( ( '{' ) ) + // InternalApplicationConfiguration.g:3646:1: ( '{' ) { - // InternalApplicationConfiguration.g:3875:1: ( '{' ) - // InternalApplicationConfiguration.g:3876:2: '{' + // InternalApplicationConfiguration.g:3646:1: ( '{' ) + // InternalApplicationConfiguration.g:3647:2: '{' { before(grammarAccess.getAllPackageEntryAccess().getLeftCurlyBracketKeyword_2_1()); - match(input,31,FOLLOW_2); + match(input,30,FOLLOW_2); after(grammarAccess.getAllPackageEntryAccess().getLeftCurlyBracketKeyword_2_1()); } @@ -12706,16 +11973,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__AllPackageEntry__Group_2__2" - // InternalApplicationConfiguration.g:3885:1: rule__AllPackageEntry__Group_2__2 : rule__AllPackageEntry__Group_2__2__Impl rule__AllPackageEntry__Group_2__3 ; + // InternalApplicationConfiguration.g:3656:1: rule__AllPackageEntry__Group_2__2 : rule__AllPackageEntry__Group_2__2__Impl rule__AllPackageEntry__Group_2__3 ; public final void rule__AllPackageEntry__Group_2__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:3889:1: ( rule__AllPackageEntry__Group_2__2__Impl rule__AllPackageEntry__Group_2__3 ) - // InternalApplicationConfiguration.g:3890:2: rule__AllPackageEntry__Group_2__2__Impl rule__AllPackageEntry__Group_2__3 + // InternalApplicationConfiguration.g:3660:1: ( rule__AllPackageEntry__Group_2__2__Impl rule__AllPackageEntry__Group_2__3 ) + // InternalApplicationConfiguration.g:3661:2: rule__AllPackageEntry__Group_2__2__Impl rule__AllPackageEntry__Group_2__3 { - pushFollow(FOLLOW_16); + pushFollow(FOLLOW_15); rule__AllPackageEntry__Group_2__2__Impl(); state._fsp--; @@ -12744,21 +12011,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__AllPackageEntry__Group_2__2__Impl" - // InternalApplicationConfiguration.g:3897:1: rule__AllPackageEntry__Group_2__2__Impl : ( ( rule__AllPackageEntry__ExclusionAssignment_2_2 ) ) ; + // InternalApplicationConfiguration.g:3668:1: rule__AllPackageEntry__Group_2__2__Impl : ( ( rule__AllPackageEntry__ExclusionAssignment_2_2 ) ) ; public final void rule__AllPackageEntry__Group_2__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:3901:1: ( ( ( rule__AllPackageEntry__ExclusionAssignment_2_2 ) ) ) - // InternalApplicationConfiguration.g:3902:1: ( ( rule__AllPackageEntry__ExclusionAssignment_2_2 ) ) + // InternalApplicationConfiguration.g:3672:1: ( ( ( rule__AllPackageEntry__ExclusionAssignment_2_2 ) ) ) + // InternalApplicationConfiguration.g:3673:1: ( ( rule__AllPackageEntry__ExclusionAssignment_2_2 ) ) { - // InternalApplicationConfiguration.g:3902:1: ( ( rule__AllPackageEntry__ExclusionAssignment_2_2 ) ) - // InternalApplicationConfiguration.g:3903:2: ( rule__AllPackageEntry__ExclusionAssignment_2_2 ) + // InternalApplicationConfiguration.g:3673:1: ( ( rule__AllPackageEntry__ExclusionAssignment_2_2 ) ) + // InternalApplicationConfiguration.g:3674:2: ( rule__AllPackageEntry__ExclusionAssignment_2_2 ) { before(grammarAccess.getAllPackageEntryAccess().getExclusionAssignment_2_2()); - // InternalApplicationConfiguration.g:3904:2: ( rule__AllPackageEntry__ExclusionAssignment_2_2 ) - // InternalApplicationConfiguration.g:3904:3: rule__AllPackageEntry__ExclusionAssignment_2_2 + // InternalApplicationConfiguration.g:3675:2: ( rule__AllPackageEntry__ExclusionAssignment_2_2 ) + // InternalApplicationConfiguration.g:3675:3: rule__AllPackageEntry__ExclusionAssignment_2_2 { pushFollow(FOLLOW_2); rule__AllPackageEntry__ExclusionAssignment_2_2(); @@ -12791,16 +12058,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__AllPackageEntry__Group_2__3" - // InternalApplicationConfiguration.g:3912:1: rule__AllPackageEntry__Group_2__3 : rule__AllPackageEntry__Group_2__3__Impl rule__AllPackageEntry__Group_2__4 ; + // InternalApplicationConfiguration.g:3683:1: rule__AllPackageEntry__Group_2__3 : rule__AllPackageEntry__Group_2__3__Impl rule__AllPackageEntry__Group_2__4 ; public final void rule__AllPackageEntry__Group_2__3() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:3916:1: ( rule__AllPackageEntry__Group_2__3__Impl rule__AllPackageEntry__Group_2__4 ) - // InternalApplicationConfiguration.g:3917:2: rule__AllPackageEntry__Group_2__3__Impl rule__AllPackageEntry__Group_2__4 + // InternalApplicationConfiguration.g:3687:1: ( rule__AllPackageEntry__Group_2__3__Impl rule__AllPackageEntry__Group_2__4 ) + // InternalApplicationConfiguration.g:3688:2: rule__AllPackageEntry__Group_2__3__Impl rule__AllPackageEntry__Group_2__4 { - pushFollow(FOLLOW_16); + pushFollow(FOLLOW_15); rule__AllPackageEntry__Group_2__3__Impl(); state._fsp--; @@ -12829,35 +12096,35 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__AllPackageEntry__Group_2__3__Impl" - // InternalApplicationConfiguration.g:3924:1: rule__AllPackageEntry__Group_2__3__Impl : ( ( rule__AllPackageEntry__Group_2_3__0 )* ) ; + // InternalApplicationConfiguration.g:3695:1: rule__AllPackageEntry__Group_2__3__Impl : ( ( rule__AllPackageEntry__Group_2_3__0 )* ) ; public final void rule__AllPackageEntry__Group_2__3__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:3928:1: ( ( ( rule__AllPackageEntry__Group_2_3__0 )* ) ) - // InternalApplicationConfiguration.g:3929:1: ( ( rule__AllPackageEntry__Group_2_3__0 )* ) + // InternalApplicationConfiguration.g:3699:1: ( ( ( rule__AllPackageEntry__Group_2_3__0 )* ) ) + // InternalApplicationConfiguration.g:3700:1: ( ( rule__AllPackageEntry__Group_2_3__0 )* ) { - // InternalApplicationConfiguration.g:3929:1: ( ( rule__AllPackageEntry__Group_2_3__0 )* ) - // InternalApplicationConfiguration.g:3930:2: ( rule__AllPackageEntry__Group_2_3__0 )* + // InternalApplicationConfiguration.g:3700:1: ( ( rule__AllPackageEntry__Group_2_3__0 )* ) + // InternalApplicationConfiguration.g:3701:2: ( rule__AllPackageEntry__Group_2_3__0 )* { before(grammarAccess.getAllPackageEntryAccess().getGroup_2_3()); - // InternalApplicationConfiguration.g:3931:2: ( rule__AllPackageEntry__Group_2_3__0 )* - loop42: + // InternalApplicationConfiguration.g:3702:2: ( rule__AllPackageEntry__Group_2_3__0 )* + loop40: do { - int alt42=2; - int LA42_0 = input.LA(1); + int alt40=2; + int LA40_0 = input.LA(1); - if ( (LA42_0==33) ) { - alt42=1; + if ( (LA40_0==32) ) { + alt40=1; } - switch (alt42) { + switch (alt40) { case 1 : - // InternalApplicationConfiguration.g:3931:3: rule__AllPackageEntry__Group_2_3__0 + // InternalApplicationConfiguration.g:3702:3: rule__AllPackageEntry__Group_2_3__0 { - pushFollow(FOLLOW_17); + pushFollow(FOLLOW_16); rule__AllPackageEntry__Group_2_3__0(); state._fsp--; @@ -12867,7 +12134,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont break; default : - break loop42; + break loop40; } } while (true); @@ -12894,14 +12161,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__AllPackageEntry__Group_2__4" - // InternalApplicationConfiguration.g:3939:1: rule__AllPackageEntry__Group_2__4 : rule__AllPackageEntry__Group_2__4__Impl ; + // InternalApplicationConfiguration.g:3710:1: rule__AllPackageEntry__Group_2__4 : rule__AllPackageEntry__Group_2__4__Impl ; public final void rule__AllPackageEntry__Group_2__4() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:3943:1: ( rule__AllPackageEntry__Group_2__4__Impl ) - // InternalApplicationConfiguration.g:3944:2: rule__AllPackageEntry__Group_2__4__Impl + // InternalApplicationConfiguration.g:3714:1: ( rule__AllPackageEntry__Group_2__4__Impl ) + // InternalApplicationConfiguration.g:3715:2: rule__AllPackageEntry__Group_2__4__Impl { pushFollow(FOLLOW_2); rule__AllPackageEntry__Group_2__4__Impl(); @@ -12927,20 +12194,20 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__AllPackageEntry__Group_2__4__Impl" - // InternalApplicationConfiguration.g:3950:1: rule__AllPackageEntry__Group_2__4__Impl : ( '}' ) ; + // InternalApplicationConfiguration.g:3721:1: rule__AllPackageEntry__Group_2__4__Impl : ( '}' ) ; public final void rule__AllPackageEntry__Group_2__4__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:3954:1: ( ( '}' ) ) - // InternalApplicationConfiguration.g:3955:1: ( '}' ) + // InternalApplicationConfiguration.g:3725:1: ( ( '}' ) ) + // InternalApplicationConfiguration.g:3726:1: ( '}' ) { - // InternalApplicationConfiguration.g:3955:1: ( '}' ) - // InternalApplicationConfiguration.g:3956:2: '}' + // InternalApplicationConfiguration.g:3726:1: ( '}' ) + // InternalApplicationConfiguration.g:3727:2: '}' { before(grammarAccess.getAllPackageEntryAccess().getRightCurlyBracketKeyword_2_4()); - match(input,32,FOLLOW_2); + match(input,31,FOLLOW_2); after(grammarAccess.getAllPackageEntryAccess().getRightCurlyBracketKeyword_2_4()); } @@ -12964,14 +12231,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__AllPackageEntry__Group_2_3__0" - // InternalApplicationConfiguration.g:3966:1: rule__AllPackageEntry__Group_2_3__0 : rule__AllPackageEntry__Group_2_3__0__Impl rule__AllPackageEntry__Group_2_3__1 ; + // InternalApplicationConfiguration.g:3737:1: rule__AllPackageEntry__Group_2_3__0 : rule__AllPackageEntry__Group_2_3__0__Impl rule__AllPackageEntry__Group_2_3__1 ; public final void rule__AllPackageEntry__Group_2_3__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:3970:1: ( rule__AllPackageEntry__Group_2_3__0__Impl rule__AllPackageEntry__Group_2_3__1 ) - // InternalApplicationConfiguration.g:3971:2: rule__AllPackageEntry__Group_2_3__0__Impl rule__AllPackageEntry__Group_2_3__1 + // InternalApplicationConfiguration.g:3741:1: ( rule__AllPackageEntry__Group_2_3__0__Impl rule__AllPackageEntry__Group_2_3__1 ) + // InternalApplicationConfiguration.g:3742:2: rule__AllPackageEntry__Group_2_3__0__Impl rule__AllPackageEntry__Group_2_3__1 { pushFollow(FOLLOW_8); rule__AllPackageEntry__Group_2_3__0__Impl(); @@ -13002,20 +12269,20 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__AllPackageEntry__Group_2_3__0__Impl" - // InternalApplicationConfiguration.g:3978:1: rule__AllPackageEntry__Group_2_3__0__Impl : ( ',' ) ; + // InternalApplicationConfiguration.g:3749:1: rule__AllPackageEntry__Group_2_3__0__Impl : ( ',' ) ; public final void rule__AllPackageEntry__Group_2_3__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:3982:1: ( ( ',' ) ) - // InternalApplicationConfiguration.g:3983:1: ( ',' ) + // InternalApplicationConfiguration.g:3753:1: ( ( ',' ) ) + // InternalApplicationConfiguration.g:3754:1: ( ',' ) { - // InternalApplicationConfiguration.g:3983:1: ( ',' ) - // InternalApplicationConfiguration.g:3984:2: ',' + // InternalApplicationConfiguration.g:3754:1: ( ',' ) + // InternalApplicationConfiguration.g:3755:2: ',' { before(grammarAccess.getAllPackageEntryAccess().getCommaKeyword_2_3_0()); - match(input,33,FOLLOW_2); + match(input,32,FOLLOW_2); after(grammarAccess.getAllPackageEntryAccess().getCommaKeyword_2_3_0()); } @@ -13039,14 +12306,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__AllPackageEntry__Group_2_3__1" - // InternalApplicationConfiguration.g:3993:1: rule__AllPackageEntry__Group_2_3__1 : rule__AllPackageEntry__Group_2_3__1__Impl ; + // InternalApplicationConfiguration.g:3764:1: rule__AllPackageEntry__Group_2_3__1 : rule__AllPackageEntry__Group_2_3__1__Impl ; public final void rule__AllPackageEntry__Group_2_3__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:3997:1: ( rule__AllPackageEntry__Group_2_3__1__Impl ) - // InternalApplicationConfiguration.g:3998:2: rule__AllPackageEntry__Group_2_3__1__Impl + // InternalApplicationConfiguration.g:3768:1: ( rule__AllPackageEntry__Group_2_3__1__Impl ) + // InternalApplicationConfiguration.g:3769:2: rule__AllPackageEntry__Group_2_3__1__Impl { pushFollow(FOLLOW_2); rule__AllPackageEntry__Group_2_3__1__Impl(); @@ -13072,21 +12339,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__AllPackageEntry__Group_2_3__1__Impl" - // InternalApplicationConfiguration.g:4004:1: rule__AllPackageEntry__Group_2_3__1__Impl : ( ( rule__AllPackageEntry__ExclusionAssignment_2_3_1 ) ) ; + // InternalApplicationConfiguration.g:3775:1: rule__AllPackageEntry__Group_2_3__1__Impl : ( ( rule__AllPackageEntry__ExclusionAssignment_2_3_1 ) ) ; public final void rule__AllPackageEntry__Group_2_3__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4008:1: ( ( ( rule__AllPackageEntry__ExclusionAssignment_2_3_1 ) ) ) - // InternalApplicationConfiguration.g:4009:1: ( ( rule__AllPackageEntry__ExclusionAssignment_2_3_1 ) ) + // InternalApplicationConfiguration.g:3779:1: ( ( ( rule__AllPackageEntry__ExclusionAssignment_2_3_1 ) ) ) + // InternalApplicationConfiguration.g:3780:1: ( ( rule__AllPackageEntry__ExclusionAssignment_2_3_1 ) ) { - // InternalApplicationConfiguration.g:4009:1: ( ( rule__AllPackageEntry__ExclusionAssignment_2_3_1 ) ) - // InternalApplicationConfiguration.g:4010:2: ( rule__AllPackageEntry__ExclusionAssignment_2_3_1 ) + // InternalApplicationConfiguration.g:3780:1: ( ( rule__AllPackageEntry__ExclusionAssignment_2_3_1 ) ) + // InternalApplicationConfiguration.g:3781:2: ( rule__AllPackageEntry__ExclusionAssignment_2_3_1 ) { before(grammarAccess.getAllPackageEntryAccess().getExclusionAssignment_2_3_1()); - // InternalApplicationConfiguration.g:4011:2: ( rule__AllPackageEntry__ExclusionAssignment_2_3_1 ) - // InternalApplicationConfiguration.g:4011:3: rule__AllPackageEntry__ExclusionAssignment_2_3_1 + // InternalApplicationConfiguration.g:3782:2: ( rule__AllPackageEntry__ExclusionAssignment_2_3_1 ) + // InternalApplicationConfiguration.g:3782:3: rule__AllPackageEntry__ExclusionAssignment_2_3_1 { pushFollow(FOLLOW_2); rule__AllPackageEntry__ExclusionAssignment_2_3_1(); @@ -13119,14 +12386,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__MetamodelElement__Group__0" - // InternalApplicationConfiguration.g:4020:1: rule__MetamodelElement__Group__0 : rule__MetamodelElement__Group__0__Impl rule__MetamodelElement__Group__1 ; + // InternalApplicationConfiguration.g:3791:1: rule__MetamodelElement__Group__0 : rule__MetamodelElement__Group__0__Impl rule__MetamodelElement__Group__1 ; public final void rule__MetamodelElement__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4024:1: ( rule__MetamodelElement__Group__0__Impl rule__MetamodelElement__Group__1 ) - // InternalApplicationConfiguration.g:4025:2: rule__MetamodelElement__Group__0__Impl rule__MetamodelElement__Group__1 + // InternalApplicationConfiguration.g:3795:1: ( rule__MetamodelElement__Group__0__Impl rule__MetamodelElement__Group__1 ) + // InternalApplicationConfiguration.g:3796:2: rule__MetamodelElement__Group__0__Impl rule__MetamodelElement__Group__1 { pushFollow(FOLLOW_8); rule__MetamodelElement__Group__0__Impl(); @@ -13157,44 +12424,44 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__MetamodelElement__Group__0__Impl" - // InternalApplicationConfiguration.g:4032:1: rule__MetamodelElement__Group__0__Impl : ( ( rule__MetamodelElement__Group_0__0 )? ) ; + // InternalApplicationConfiguration.g:3803:1: rule__MetamodelElement__Group__0__Impl : ( ( rule__MetamodelElement__Group_0__0 )? ) ; public final void rule__MetamodelElement__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4036:1: ( ( ( rule__MetamodelElement__Group_0__0 )? ) ) - // InternalApplicationConfiguration.g:4037:1: ( ( rule__MetamodelElement__Group_0__0 )? ) + // InternalApplicationConfiguration.g:3807:1: ( ( ( rule__MetamodelElement__Group_0__0 )? ) ) + // InternalApplicationConfiguration.g:3808:1: ( ( rule__MetamodelElement__Group_0__0 )? ) { - // InternalApplicationConfiguration.g:4037:1: ( ( rule__MetamodelElement__Group_0__0 )? ) - // InternalApplicationConfiguration.g:4038:2: ( rule__MetamodelElement__Group_0__0 )? + // InternalApplicationConfiguration.g:3808:1: ( ( rule__MetamodelElement__Group_0__0 )? ) + // InternalApplicationConfiguration.g:3809:2: ( rule__MetamodelElement__Group_0__0 )? { before(grammarAccess.getMetamodelElementAccess().getGroup_0()); - // InternalApplicationConfiguration.g:4039:2: ( rule__MetamodelElement__Group_0__0 )? - int alt43=2; - int LA43_0 = input.LA(1); + // InternalApplicationConfiguration.g:3810:2: ( rule__MetamodelElement__Group_0__0 )? + int alt41=2; + int LA41_0 = input.LA(1); - if ( (LA43_0==RULE_ID) ) { - int LA43_1 = input.LA(2); + if ( (LA41_0==RULE_ID) ) { + int LA41_1 = input.LA(2); - if ( (LA43_1==23) ) { - int LA43_2 = input.LA(3); + if ( (LA41_1==23) ) { + int LA41_2 = input.LA(3); - if ( (LA43_2==RULE_ID) ) { - int LA43_5 = input.LA(4); + if ( (LA41_2==RULE_ID) ) { + int LA41_5 = input.LA(4); - if ( (LA43_5==23||LA43_5==36) ) { - alt43=1; + if ( (LA41_5==23||LA41_5==35) ) { + alt41=1; } } } - else if ( (LA43_1==36) ) { - alt43=1; + else if ( (LA41_1==35) ) { + alt41=1; } } - switch (alt43) { + switch (alt41) { case 1 : - // InternalApplicationConfiguration.g:4039:3: rule__MetamodelElement__Group_0__0 + // InternalApplicationConfiguration.g:3810:3: rule__MetamodelElement__Group_0__0 { pushFollow(FOLLOW_2); rule__MetamodelElement__Group_0__0(); @@ -13230,14 +12497,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__MetamodelElement__Group__1" - // InternalApplicationConfiguration.g:4047:1: rule__MetamodelElement__Group__1 : rule__MetamodelElement__Group__1__Impl rule__MetamodelElement__Group__2 ; + // InternalApplicationConfiguration.g:3818:1: rule__MetamodelElement__Group__1 : rule__MetamodelElement__Group__1__Impl rule__MetamodelElement__Group__2 ; public final void rule__MetamodelElement__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4051:1: ( rule__MetamodelElement__Group__1__Impl rule__MetamodelElement__Group__2 ) - // InternalApplicationConfiguration.g:4052:2: rule__MetamodelElement__Group__1__Impl rule__MetamodelElement__Group__2 + // InternalApplicationConfiguration.g:3822:1: ( rule__MetamodelElement__Group__1__Impl rule__MetamodelElement__Group__2 ) + // InternalApplicationConfiguration.g:3823:2: rule__MetamodelElement__Group__1__Impl rule__MetamodelElement__Group__2 { pushFollow(FOLLOW_6); rule__MetamodelElement__Group__1__Impl(); @@ -13268,21 +12535,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__MetamodelElement__Group__1__Impl" - // InternalApplicationConfiguration.g:4059:1: rule__MetamodelElement__Group__1__Impl : ( ( rule__MetamodelElement__ClassifierAssignment_1 ) ) ; + // InternalApplicationConfiguration.g:3830:1: rule__MetamodelElement__Group__1__Impl : ( ( rule__MetamodelElement__ClassifierAssignment_1 ) ) ; public final void rule__MetamodelElement__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4063:1: ( ( ( rule__MetamodelElement__ClassifierAssignment_1 ) ) ) - // InternalApplicationConfiguration.g:4064:1: ( ( rule__MetamodelElement__ClassifierAssignment_1 ) ) + // InternalApplicationConfiguration.g:3834:1: ( ( ( rule__MetamodelElement__ClassifierAssignment_1 ) ) ) + // InternalApplicationConfiguration.g:3835:1: ( ( rule__MetamodelElement__ClassifierAssignment_1 ) ) { - // InternalApplicationConfiguration.g:4064:1: ( ( rule__MetamodelElement__ClassifierAssignment_1 ) ) - // InternalApplicationConfiguration.g:4065:2: ( rule__MetamodelElement__ClassifierAssignment_1 ) + // InternalApplicationConfiguration.g:3835:1: ( ( rule__MetamodelElement__ClassifierAssignment_1 ) ) + // InternalApplicationConfiguration.g:3836:2: ( rule__MetamodelElement__ClassifierAssignment_1 ) { before(grammarAccess.getMetamodelElementAccess().getClassifierAssignment_1()); - // InternalApplicationConfiguration.g:4066:2: ( rule__MetamodelElement__ClassifierAssignment_1 ) - // InternalApplicationConfiguration.g:4066:3: rule__MetamodelElement__ClassifierAssignment_1 + // InternalApplicationConfiguration.g:3837:2: ( rule__MetamodelElement__ClassifierAssignment_1 ) + // InternalApplicationConfiguration.g:3837:3: rule__MetamodelElement__ClassifierAssignment_1 { pushFollow(FOLLOW_2); rule__MetamodelElement__ClassifierAssignment_1(); @@ -13315,14 +12582,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__MetamodelElement__Group__2" - // InternalApplicationConfiguration.g:4074:1: rule__MetamodelElement__Group__2 : rule__MetamodelElement__Group__2__Impl ; + // InternalApplicationConfiguration.g:3845:1: rule__MetamodelElement__Group__2 : rule__MetamodelElement__Group__2__Impl ; public final void rule__MetamodelElement__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4078:1: ( rule__MetamodelElement__Group__2__Impl ) - // InternalApplicationConfiguration.g:4079:2: rule__MetamodelElement__Group__2__Impl + // InternalApplicationConfiguration.g:3849:1: ( rule__MetamodelElement__Group__2__Impl ) + // InternalApplicationConfiguration.g:3850:2: rule__MetamodelElement__Group__2__Impl { pushFollow(FOLLOW_2); rule__MetamodelElement__Group__2__Impl(); @@ -13348,29 +12615,29 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__MetamodelElement__Group__2__Impl" - // InternalApplicationConfiguration.g:4085:1: rule__MetamodelElement__Group__2__Impl : ( ( rule__MetamodelElement__Group_2__0 )? ) ; + // InternalApplicationConfiguration.g:3856:1: rule__MetamodelElement__Group__2__Impl : ( ( rule__MetamodelElement__Group_2__0 )? ) ; public final void rule__MetamodelElement__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4089:1: ( ( ( rule__MetamodelElement__Group_2__0 )? ) ) - // InternalApplicationConfiguration.g:4090:1: ( ( rule__MetamodelElement__Group_2__0 )? ) + // InternalApplicationConfiguration.g:3860:1: ( ( ( rule__MetamodelElement__Group_2__0 )? ) ) + // InternalApplicationConfiguration.g:3861:1: ( ( rule__MetamodelElement__Group_2__0 )? ) { - // InternalApplicationConfiguration.g:4090:1: ( ( rule__MetamodelElement__Group_2__0 )? ) - // InternalApplicationConfiguration.g:4091:2: ( rule__MetamodelElement__Group_2__0 )? + // InternalApplicationConfiguration.g:3861:1: ( ( rule__MetamodelElement__Group_2__0 )? ) + // InternalApplicationConfiguration.g:3862:2: ( rule__MetamodelElement__Group_2__0 )? { before(grammarAccess.getMetamodelElementAccess().getGroup_2()); - // InternalApplicationConfiguration.g:4092:2: ( rule__MetamodelElement__Group_2__0 )? - int alt44=2; - int LA44_0 = input.LA(1); + // InternalApplicationConfiguration.g:3863:2: ( rule__MetamodelElement__Group_2__0 )? + int alt42=2; + int LA42_0 = input.LA(1); - if ( (LA44_0==23) ) { - alt44=1; + if ( (LA42_0==23) ) { + alt42=1; } - switch (alt44) { + switch (alt42) { case 1 : - // InternalApplicationConfiguration.g:4092:3: rule__MetamodelElement__Group_2__0 + // InternalApplicationConfiguration.g:3863:3: rule__MetamodelElement__Group_2__0 { pushFollow(FOLLOW_2); rule__MetamodelElement__Group_2__0(); @@ -13406,16 +12673,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__MetamodelElement__Group_0__0" - // InternalApplicationConfiguration.g:4101:1: rule__MetamodelElement__Group_0__0 : rule__MetamodelElement__Group_0__0__Impl rule__MetamodelElement__Group_0__1 ; + // InternalApplicationConfiguration.g:3872:1: rule__MetamodelElement__Group_0__0 : rule__MetamodelElement__Group_0__0__Impl rule__MetamodelElement__Group_0__1 ; public final void rule__MetamodelElement__Group_0__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4105:1: ( rule__MetamodelElement__Group_0__0__Impl rule__MetamodelElement__Group_0__1 ) - // InternalApplicationConfiguration.g:4106:2: rule__MetamodelElement__Group_0__0__Impl rule__MetamodelElement__Group_0__1 + // InternalApplicationConfiguration.g:3876:1: ( rule__MetamodelElement__Group_0__0__Impl rule__MetamodelElement__Group_0__1 ) + // InternalApplicationConfiguration.g:3877:2: rule__MetamodelElement__Group_0__0__Impl rule__MetamodelElement__Group_0__1 { - pushFollow(FOLLOW_20); + pushFollow(FOLLOW_19); rule__MetamodelElement__Group_0__0__Impl(); state._fsp--; @@ -13444,21 +12711,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__MetamodelElement__Group_0__0__Impl" - // InternalApplicationConfiguration.g:4113:1: rule__MetamodelElement__Group_0__0__Impl : ( ( rule__MetamodelElement__PackageAssignment_0_0 ) ) ; + // InternalApplicationConfiguration.g:3884:1: rule__MetamodelElement__Group_0__0__Impl : ( ( rule__MetamodelElement__PackageAssignment_0_0 ) ) ; public final void rule__MetamodelElement__Group_0__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4117:1: ( ( ( rule__MetamodelElement__PackageAssignment_0_0 ) ) ) - // InternalApplicationConfiguration.g:4118:1: ( ( rule__MetamodelElement__PackageAssignment_0_0 ) ) + // InternalApplicationConfiguration.g:3888:1: ( ( ( rule__MetamodelElement__PackageAssignment_0_0 ) ) ) + // InternalApplicationConfiguration.g:3889:1: ( ( rule__MetamodelElement__PackageAssignment_0_0 ) ) { - // InternalApplicationConfiguration.g:4118:1: ( ( rule__MetamodelElement__PackageAssignment_0_0 ) ) - // InternalApplicationConfiguration.g:4119:2: ( rule__MetamodelElement__PackageAssignment_0_0 ) + // InternalApplicationConfiguration.g:3889:1: ( ( rule__MetamodelElement__PackageAssignment_0_0 ) ) + // InternalApplicationConfiguration.g:3890:2: ( rule__MetamodelElement__PackageAssignment_0_0 ) { before(grammarAccess.getMetamodelElementAccess().getPackageAssignment_0_0()); - // InternalApplicationConfiguration.g:4120:2: ( rule__MetamodelElement__PackageAssignment_0_0 ) - // InternalApplicationConfiguration.g:4120:3: rule__MetamodelElement__PackageAssignment_0_0 + // InternalApplicationConfiguration.g:3891:2: ( rule__MetamodelElement__PackageAssignment_0_0 ) + // InternalApplicationConfiguration.g:3891:3: rule__MetamodelElement__PackageAssignment_0_0 { pushFollow(FOLLOW_2); rule__MetamodelElement__PackageAssignment_0_0(); @@ -13491,14 +12758,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__MetamodelElement__Group_0__1" - // InternalApplicationConfiguration.g:4128:1: rule__MetamodelElement__Group_0__1 : rule__MetamodelElement__Group_0__1__Impl ; + // InternalApplicationConfiguration.g:3899:1: rule__MetamodelElement__Group_0__1 : rule__MetamodelElement__Group_0__1__Impl ; public final void rule__MetamodelElement__Group_0__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4132:1: ( rule__MetamodelElement__Group_0__1__Impl ) - // InternalApplicationConfiguration.g:4133:2: rule__MetamodelElement__Group_0__1__Impl + // InternalApplicationConfiguration.g:3903:1: ( rule__MetamodelElement__Group_0__1__Impl ) + // InternalApplicationConfiguration.g:3904:2: rule__MetamodelElement__Group_0__1__Impl { pushFollow(FOLLOW_2); rule__MetamodelElement__Group_0__1__Impl(); @@ -13524,20 +12791,20 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__MetamodelElement__Group_0__1__Impl" - // InternalApplicationConfiguration.g:4139:1: rule__MetamodelElement__Group_0__1__Impl : ( '::' ) ; + // InternalApplicationConfiguration.g:3910:1: rule__MetamodelElement__Group_0__1__Impl : ( '::' ) ; public final void rule__MetamodelElement__Group_0__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4143:1: ( ( '::' ) ) - // InternalApplicationConfiguration.g:4144:1: ( '::' ) + // InternalApplicationConfiguration.g:3914:1: ( ( '::' ) ) + // InternalApplicationConfiguration.g:3915:1: ( '::' ) { - // InternalApplicationConfiguration.g:4144:1: ( '::' ) - // InternalApplicationConfiguration.g:4145:2: '::' + // InternalApplicationConfiguration.g:3915:1: ( '::' ) + // InternalApplicationConfiguration.g:3916:2: '::' { before(grammarAccess.getMetamodelElementAccess().getColonColonKeyword_0_1()); - match(input,36,FOLLOW_2); + match(input,35,FOLLOW_2); after(grammarAccess.getMetamodelElementAccess().getColonColonKeyword_0_1()); } @@ -13561,14 +12828,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__MetamodelElement__Group_2__0" - // InternalApplicationConfiguration.g:4155:1: rule__MetamodelElement__Group_2__0 : rule__MetamodelElement__Group_2__0__Impl rule__MetamodelElement__Group_2__1 ; + // InternalApplicationConfiguration.g:3926:1: rule__MetamodelElement__Group_2__0 : rule__MetamodelElement__Group_2__0__Impl rule__MetamodelElement__Group_2__1 ; public final void rule__MetamodelElement__Group_2__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4159:1: ( rule__MetamodelElement__Group_2__0__Impl rule__MetamodelElement__Group_2__1 ) - // InternalApplicationConfiguration.g:4160:2: rule__MetamodelElement__Group_2__0__Impl rule__MetamodelElement__Group_2__1 + // InternalApplicationConfiguration.g:3930:1: ( rule__MetamodelElement__Group_2__0__Impl rule__MetamodelElement__Group_2__1 ) + // InternalApplicationConfiguration.g:3931:2: rule__MetamodelElement__Group_2__0__Impl rule__MetamodelElement__Group_2__1 { pushFollow(FOLLOW_8); rule__MetamodelElement__Group_2__0__Impl(); @@ -13599,17 +12866,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__MetamodelElement__Group_2__0__Impl" - // InternalApplicationConfiguration.g:4167:1: rule__MetamodelElement__Group_2__0__Impl : ( '.' ) ; + // InternalApplicationConfiguration.g:3938:1: rule__MetamodelElement__Group_2__0__Impl : ( '.' ) ; public final void rule__MetamodelElement__Group_2__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4171:1: ( ( '.' ) ) - // InternalApplicationConfiguration.g:4172:1: ( '.' ) + // InternalApplicationConfiguration.g:3942:1: ( ( '.' ) ) + // InternalApplicationConfiguration.g:3943:1: ( '.' ) { - // InternalApplicationConfiguration.g:4172:1: ( '.' ) - // InternalApplicationConfiguration.g:4173:2: '.' + // InternalApplicationConfiguration.g:3943:1: ( '.' ) + // InternalApplicationConfiguration.g:3944:2: '.' { before(grammarAccess.getMetamodelElementAccess().getFullStopKeyword_2_0()); match(input,23,FOLLOW_2); @@ -13636,14 +12903,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__MetamodelElement__Group_2__1" - // InternalApplicationConfiguration.g:4182:1: rule__MetamodelElement__Group_2__1 : rule__MetamodelElement__Group_2__1__Impl ; + // InternalApplicationConfiguration.g:3953:1: rule__MetamodelElement__Group_2__1 : rule__MetamodelElement__Group_2__1__Impl ; public final void rule__MetamodelElement__Group_2__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4186:1: ( rule__MetamodelElement__Group_2__1__Impl ) - // InternalApplicationConfiguration.g:4187:2: rule__MetamodelElement__Group_2__1__Impl + // InternalApplicationConfiguration.g:3957:1: ( rule__MetamodelElement__Group_2__1__Impl ) + // InternalApplicationConfiguration.g:3958:2: rule__MetamodelElement__Group_2__1__Impl { pushFollow(FOLLOW_2); rule__MetamodelElement__Group_2__1__Impl(); @@ -13669,21 +12936,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__MetamodelElement__Group_2__1__Impl" - // InternalApplicationConfiguration.g:4193:1: rule__MetamodelElement__Group_2__1__Impl : ( ( rule__MetamodelElement__FeatureAssignment_2_1 ) ) ; + // InternalApplicationConfiguration.g:3964:1: rule__MetamodelElement__Group_2__1__Impl : ( ( rule__MetamodelElement__FeatureAssignment_2_1 ) ) ; public final void rule__MetamodelElement__Group_2__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4197:1: ( ( ( rule__MetamodelElement__FeatureAssignment_2_1 ) ) ) - // InternalApplicationConfiguration.g:4198:1: ( ( rule__MetamodelElement__FeatureAssignment_2_1 ) ) + // InternalApplicationConfiguration.g:3968:1: ( ( ( rule__MetamodelElement__FeatureAssignment_2_1 ) ) ) + // InternalApplicationConfiguration.g:3969:1: ( ( rule__MetamodelElement__FeatureAssignment_2_1 ) ) { - // InternalApplicationConfiguration.g:4198:1: ( ( rule__MetamodelElement__FeatureAssignment_2_1 ) ) - // InternalApplicationConfiguration.g:4199:2: ( rule__MetamodelElement__FeatureAssignment_2_1 ) + // InternalApplicationConfiguration.g:3969:1: ( ( rule__MetamodelElement__FeatureAssignment_2_1 ) ) + // InternalApplicationConfiguration.g:3970:2: ( rule__MetamodelElement__FeatureAssignment_2_1 ) { before(grammarAccess.getMetamodelElementAccess().getFeatureAssignment_2_1()); - // InternalApplicationConfiguration.g:4200:2: ( rule__MetamodelElement__FeatureAssignment_2_1 ) - // InternalApplicationConfiguration.g:4200:3: rule__MetamodelElement__FeatureAssignment_2_1 + // InternalApplicationConfiguration.g:3971:2: ( rule__MetamodelElement__FeatureAssignment_2_1 ) + // InternalApplicationConfiguration.g:3971:3: rule__MetamodelElement__FeatureAssignment_2_1 { pushFollow(FOLLOW_2); rule__MetamodelElement__FeatureAssignment_2_1(); @@ -13716,14 +12983,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__MetamodelDeclaration__Group__0" - // InternalApplicationConfiguration.g:4209:1: rule__MetamodelDeclaration__Group__0 : rule__MetamodelDeclaration__Group__0__Impl rule__MetamodelDeclaration__Group__1 ; + // InternalApplicationConfiguration.g:3980:1: rule__MetamodelDeclaration__Group__0 : rule__MetamodelDeclaration__Group__0__Impl rule__MetamodelDeclaration__Group__1 ; public final void rule__MetamodelDeclaration__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4213:1: ( rule__MetamodelDeclaration__Group__0__Impl rule__MetamodelDeclaration__Group__1 ) - // InternalApplicationConfiguration.g:4214:2: rule__MetamodelDeclaration__Group__0__Impl rule__MetamodelDeclaration__Group__1 + // InternalApplicationConfiguration.g:3984:1: ( rule__MetamodelDeclaration__Group__0__Impl rule__MetamodelDeclaration__Group__1 ) + // InternalApplicationConfiguration.g:3985:2: rule__MetamodelDeclaration__Group__0__Impl rule__MetamodelDeclaration__Group__1 { pushFollow(FOLLOW_8); rule__MetamodelDeclaration__Group__0__Impl(); @@ -13754,20 +13021,20 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__MetamodelDeclaration__Group__0__Impl" - // InternalApplicationConfiguration.g:4221:1: rule__MetamodelDeclaration__Group__0__Impl : ( 'metamodel' ) ; + // InternalApplicationConfiguration.g:3992:1: rule__MetamodelDeclaration__Group__0__Impl : ( 'metamodel' ) ; public final void rule__MetamodelDeclaration__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4225:1: ( ( 'metamodel' ) ) - // InternalApplicationConfiguration.g:4226:1: ( 'metamodel' ) + // InternalApplicationConfiguration.g:3996:1: ( ( 'metamodel' ) ) + // InternalApplicationConfiguration.g:3997:1: ( 'metamodel' ) { - // InternalApplicationConfiguration.g:4226:1: ( 'metamodel' ) - // InternalApplicationConfiguration.g:4227:2: 'metamodel' + // InternalApplicationConfiguration.g:3997:1: ( 'metamodel' ) + // InternalApplicationConfiguration.g:3998:2: 'metamodel' { before(grammarAccess.getMetamodelDeclarationAccess().getMetamodelKeyword_0()); - match(input,37,FOLLOW_2); + match(input,36,FOLLOW_2); after(grammarAccess.getMetamodelDeclarationAccess().getMetamodelKeyword_0()); } @@ -13791,16 +13058,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__MetamodelDeclaration__Group__1" - // InternalApplicationConfiguration.g:4236:1: rule__MetamodelDeclaration__Group__1 : rule__MetamodelDeclaration__Group__1__Impl rule__MetamodelDeclaration__Group__2 ; + // InternalApplicationConfiguration.g:4007:1: rule__MetamodelDeclaration__Group__1 : rule__MetamodelDeclaration__Group__1__Impl rule__MetamodelDeclaration__Group__2 ; public final void rule__MetamodelDeclaration__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4240:1: ( rule__MetamodelDeclaration__Group__1__Impl rule__MetamodelDeclaration__Group__2 ) - // InternalApplicationConfiguration.g:4241:2: rule__MetamodelDeclaration__Group__1__Impl rule__MetamodelDeclaration__Group__2 + // InternalApplicationConfiguration.g:4011:1: ( rule__MetamodelDeclaration__Group__1__Impl rule__MetamodelDeclaration__Group__2 ) + // InternalApplicationConfiguration.g:4012:2: rule__MetamodelDeclaration__Group__1__Impl rule__MetamodelDeclaration__Group__2 { - pushFollow(FOLLOW_19); + pushFollow(FOLLOW_18); rule__MetamodelDeclaration__Group__1__Impl(); state._fsp--; @@ -13829,21 +13096,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__MetamodelDeclaration__Group__1__Impl" - // InternalApplicationConfiguration.g:4248:1: rule__MetamodelDeclaration__Group__1__Impl : ( ( rule__MetamodelDeclaration__NameAssignment_1 ) ) ; + // InternalApplicationConfiguration.g:4019:1: rule__MetamodelDeclaration__Group__1__Impl : ( ( rule__MetamodelDeclaration__NameAssignment_1 ) ) ; public final void rule__MetamodelDeclaration__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4252:1: ( ( ( rule__MetamodelDeclaration__NameAssignment_1 ) ) ) - // InternalApplicationConfiguration.g:4253:1: ( ( rule__MetamodelDeclaration__NameAssignment_1 ) ) + // InternalApplicationConfiguration.g:4023:1: ( ( ( rule__MetamodelDeclaration__NameAssignment_1 ) ) ) + // InternalApplicationConfiguration.g:4024:1: ( ( rule__MetamodelDeclaration__NameAssignment_1 ) ) { - // InternalApplicationConfiguration.g:4253:1: ( ( rule__MetamodelDeclaration__NameAssignment_1 ) ) - // InternalApplicationConfiguration.g:4254:2: ( rule__MetamodelDeclaration__NameAssignment_1 ) + // InternalApplicationConfiguration.g:4024:1: ( ( rule__MetamodelDeclaration__NameAssignment_1 ) ) + // InternalApplicationConfiguration.g:4025:2: ( rule__MetamodelDeclaration__NameAssignment_1 ) { before(grammarAccess.getMetamodelDeclarationAccess().getNameAssignment_1()); - // InternalApplicationConfiguration.g:4255:2: ( rule__MetamodelDeclaration__NameAssignment_1 ) - // InternalApplicationConfiguration.g:4255:3: rule__MetamodelDeclaration__NameAssignment_1 + // InternalApplicationConfiguration.g:4026:2: ( rule__MetamodelDeclaration__NameAssignment_1 ) + // InternalApplicationConfiguration.g:4026:3: rule__MetamodelDeclaration__NameAssignment_1 { pushFollow(FOLLOW_2); rule__MetamodelDeclaration__NameAssignment_1(); @@ -13876,14 +13143,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__MetamodelDeclaration__Group__2" - // InternalApplicationConfiguration.g:4263:1: rule__MetamodelDeclaration__Group__2 : rule__MetamodelDeclaration__Group__2__Impl ; + // InternalApplicationConfiguration.g:4034:1: rule__MetamodelDeclaration__Group__2 : rule__MetamodelDeclaration__Group__2__Impl ; public final void rule__MetamodelDeclaration__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4267:1: ( rule__MetamodelDeclaration__Group__2__Impl ) - // InternalApplicationConfiguration.g:4268:2: rule__MetamodelDeclaration__Group__2__Impl + // InternalApplicationConfiguration.g:4038:1: ( rule__MetamodelDeclaration__Group__2__Impl ) + // InternalApplicationConfiguration.g:4039:2: rule__MetamodelDeclaration__Group__2__Impl { pushFollow(FOLLOW_2); rule__MetamodelDeclaration__Group__2__Impl(); @@ -13909,21 +13176,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__MetamodelDeclaration__Group__2__Impl" - // InternalApplicationConfiguration.g:4274:1: rule__MetamodelDeclaration__Group__2__Impl : ( ( rule__MetamodelDeclaration__SpecificationAssignment_2 ) ) ; + // InternalApplicationConfiguration.g:4045:1: rule__MetamodelDeclaration__Group__2__Impl : ( ( rule__MetamodelDeclaration__SpecificationAssignment_2 ) ) ; public final void rule__MetamodelDeclaration__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4278:1: ( ( ( rule__MetamodelDeclaration__SpecificationAssignment_2 ) ) ) - // InternalApplicationConfiguration.g:4279:1: ( ( rule__MetamodelDeclaration__SpecificationAssignment_2 ) ) + // InternalApplicationConfiguration.g:4049:1: ( ( ( rule__MetamodelDeclaration__SpecificationAssignment_2 ) ) ) + // InternalApplicationConfiguration.g:4050:1: ( ( rule__MetamodelDeclaration__SpecificationAssignment_2 ) ) { - // InternalApplicationConfiguration.g:4279:1: ( ( rule__MetamodelDeclaration__SpecificationAssignment_2 ) ) - // InternalApplicationConfiguration.g:4280:2: ( rule__MetamodelDeclaration__SpecificationAssignment_2 ) + // InternalApplicationConfiguration.g:4050:1: ( ( rule__MetamodelDeclaration__SpecificationAssignment_2 ) ) + // InternalApplicationConfiguration.g:4051:2: ( rule__MetamodelDeclaration__SpecificationAssignment_2 ) { before(grammarAccess.getMetamodelDeclarationAccess().getSpecificationAssignment_2()); - // InternalApplicationConfiguration.g:4281:2: ( rule__MetamodelDeclaration__SpecificationAssignment_2 ) - // InternalApplicationConfiguration.g:4281:3: rule__MetamodelDeclaration__SpecificationAssignment_2 + // InternalApplicationConfiguration.g:4052:2: ( rule__MetamodelDeclaration__SpecificationAssignment_2 ) + // InternalApplicationConfiguration.g:4052:3: rule__MetamodelDeclaration__SpecificationAssignment_2 { pushFollow(FOLLOW_2); rule__MetamodelDeclaration__SpecificationAssignment_2(); @@ -13956,16 +13223,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__PartialModelSpecification__Group__0" - // InternalApplicationConfiguration.g:4290:1: rule__PartialModelSpecification__Group__0 : rule__PartialModelSpecification__Group__0__Impl rule__PartialModelSpecification__Group__1 ; + // InternalApplicationConfiguration.g:4061:1: rule__PartialModelSpecification__Group__0 : rule__PartialModelSpecification__Group__0__Impl rule__PartialModelSpecification__Group__1 ; public final void rule__PartialModelSpecification__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4294:1: ( rule__PartialModelSpecification__Group__0__Impl rule__PartialModelSpecification__Group__1 ) - // InternalApplicationConfiguration.g:4295:2: rule__PartialModelSpecification__Group__0__Impl rule__PartialModelSpecification__Group__1 + // InternalApplicationConfiguration.g:4065:1: ( rule__PartialModelSpecification__Group__0__Impl rule__PartialModelSpecification__Group__1 ) + // InternalApplicationConfiguration.g:4066:2: rule__PartialModelSpecification__Group__0__Impl rule__PartialModelSpecification__Group__1 { - pushFollow(FOLLOW_21); + pushFollow(FOLLOW_20); rule__PartialModelSpecification__Group__0__Impl(); state._fsp--; @@ -13994,20 +13261,20 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__PartialModelSpecification__Group__0__Impl" - // InternalApplicationConfiguration.g:4302:1: rule__PartialModelSpecification__Group__0__Impl : ( '{' ) ; + // InternalApplicationConfiguration.g:4073:1: rule__PartialModelSpecification__Group__0__Impl : ( '{' ) ; public final void rule__PartialModelSpecification__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4306:1: ( ( '{' ) ) - // InternalApplicationConfiguration.g:4307:1: ( '{' ) + // InternalApplicationConfiguration.g:4077:1: ( ( '{' ) ) + // InternalApplicationConfiguration.g:4078:1: ( '{' ) { - // InternalApplicationConfiguration.g:4307:1: ( '{' ) - // InternalApplicationConfiguration.g:4308:2: '{' + // InternalApplicationConfiguration.g:4078:1: ( '{' ) + // InternalApplicationConfiguration.g:4079:2: '{' { before(grammarAccess.getPartialModelSpecificationAccess().getLeftCurlyBracketKeyword_0()); - match(input,31,FOLLOW_2); + match(input,30,FOLLOW_2); after(grammarAccess.getPartialModelSpecificationAccess().getLeftCurlyBracketKeyword_0()); } @@ -14031,16 +13298,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__PartialModelSpecification__Group__1" - // InternalApplicationConfiguration.g:4317:1: rule__PartialModelSpecification__Group__1 : rule__PartialModelSpecification__Group__1__Impl rule__PartialModelSpecification__Group__2 ; + // InternalApplicationConfiguration.g:4088:1: rule__PartialModelSpecification__Group__1 : rule__PartialModelSpecification__Group__1__Impl rule__PartialModelSpecification__Group__2 ; public final void rule__PartialModelSpecification__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4321:1: ( rule__PartialModelSpecification__Group__1__Impl rule__PartialModelSpecification__Group__2 ) - // InternalApplicationConfiguration.g:4322:2: rule__PartialModelSpecification__Group__1__Impl rule__PartialModelSpecification__Group__2 + // InternalApplicationConfiguration.g:4092:1: ( rule__PartialModelSpecification__Group__1__Impl rule__PartialModelSpecification__Group__2 ) + // InternalApplicationConfiguration.g:4093:2: rule__PartialModelSpecification__Group__1__Impl rule__PartialModelSpecification__Group__2 { - pushFollow(FOLLOW_16); + pushFollow(FOLLOW_15); rule__PartialModelSpecification__Group__1__Impl(); state._fsp--; @@ -14069,21 +13336,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__PartialModelSpecification__Group__1__Impl" - // InternalApplicationConfiguration.g:4329:1: rule__PartialModelSpecification__Group__1__Impl : ( ( rule__PartialModelSpecification__EntryAssignment_1 ) ) ; + // InternalApplicationConfiguration.g:4100:1: rule__PartialModelSpecification__Group__1__Impl : ( ( rule__PartialModelSpecification__EntryAssignment_1 ) ) ; public final void rule__PartialModelSpecification__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4333:1: ( ( ( rule__PartialModelSpecification__EntryAssignment_1 ) ) ) - // InternalApplicationConfiguration.g:4334:1: ( ( rule__PartialModelSpecification__EntryAssignment_1 ) ) + // InternalApplicationConfiguration.g:4104:1: ( ( ( rule__PartialModelSpecification__EntryAssignment_1 ) ) ) + // InternalApplicationConfiguration.g:4105:1: ( ( rule__PartialModelSpecification__EntryAssignment_1 ) ) { - // InternalApplicationConfiguration.g:4334:1: ( ( rule__PartialModelSpecification__EntryAssignment_1 ) ) - // InternalApplicationConfiguration.g:4335:2: ( rule__PartialModelSpecification__EntryAssignment_1 ) + // InternalApplicationConfiguration.g:4105:1: ( ( rule__PartialModelSpecification__EntryAssignment_1 ) ) + // InternalApplicationConfiguration.g:4106:2: ( rule__PartialModelSpecification__EntryAssignment_1 ) { before(grammarAccess.getPartialModelSpecificationAccess().getEntryAssignment_1()); - // InternalApplicationConfiguration.g:4336:2: ( rule__PartialModelSpecification__EntryAssignment_1 ) - // InternalApplicationConfiguration.g:4336:3: rule__PartialModelSpecification__EntryAssignment_1 + // InternalApplicationConfiguration.g:4107:2: ( rule__PartialModelSpecification__EntryAssignment_1 ) + // InternalApplicationConfiguration.g:4107:3: rule__PartialModelSpecification__EntryAssignment_1 { pushFollow(FOLLOW_2); rule__PartialModelSpecification__EntryAssignment_1(); @@ -14116,16 +13383,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__PartialModelSpecification__Group__2" - // InternalApplicationConfiguration.g:4344:1: rule__PartialModelSpecification__Group__2 : rule__PartialModelSpecification__Group__2__Impl rule__PartialModelSpecification__Group__3 ; + // InternalApplicationConfiguration.g:4115:1: rule__PartialModelSpecification__Group__2 : rule__PartialModelSpecification__Group__2__Impl rule__PartialModelSpecification__Group__3 ; public final void rule__PartialModelSpecification__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4348:1: ( rule__PartialModelSpecification__Group__2__Impl rule__PartialModelSpecification__Group__3 ) - // InternalApplicationConfiguration.g:4349:2: rule__PartialModelSpecification__Group__2__Impl rule__PartialModelSpecification__Group__3 + // InternalApplicationConfiguration.g:4119:1: ( rule__PartialModelSpecification__Group__2__Impl rule__PartialModelSpecification__Group__3 ) + // InternalApplicationConfiguration.g:4120:2: rule__PartialModelSpecification__Group__2__Impl rule__PartialModelSpecification__Group__3 { - pushFollow(FOLLOW_16); + pushFollow(FOLLOW_15); rule__PartialModelSpecification__Group__2__Impl(); state._fsp--; @@ -14154,29 +13421,29 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__PartialModelSpecification__Group__2__Impl" - // InternalApplicationConfiguration.g:4356:1: rule__PartialModelSpecification__Group__2__Impl : ( ( rule__PartialModelSpecification__Group_2__0 )? ) ; + // InternalApplicationConfiguration.g:4127:1: rule__PartialModelSpecification__Group__2__Impl : ( ( rule__PartialModelSpecification__Group_2__0 )? ) ; public final void rule__PartialModelSpecification__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4360:1: ( ( ( rule__PartialModelSpecification__Group_2__0 )? ) ) - // InternalApplicationConfiguration.g:4361:1: ( ( rule__PartialModelSpecification__Group_2__0 )? ) + // InternalApplicationConfiguration.g:4131:1: ( ( ( rule__PartialModelSpecification__Group_2__0 )? ) ) + // InternalApplicationConfiguration.g:4132:1: ( ( rule__PartialModelSpecification__Group_2__0 )? ) { - // InternalApplicationConfiguration.g:4361:1: ( ( rule__PartialModelSpecification__Group_2__0 )? ) - // InternalApplicationConfiguration.g:4362:2: ( rule__PartialModelSpecification__Group_2__0 )? + // InternalApplicationConfiguration.g:4132:1: ( ( rule__PartialModelSpecification__Group_2__0 )? ) + // InternalApplicationConfiguration.g:4133:2: ( rule__PartialModelSpecification__Group_2__0 )? { before(grammarAccess.getPartialModelSpecificationAccess().getGroup_2()); - // InternalApplicationConfiguration.g:4363:2: ( rule__PartialModelSpecification__Group_2__0 )? - int alt45=2; - int LA45_0 = input.LA(1); + // InternalApplicationConfiguration.g:4134:2: ( rule__PartialModelSpecification__Group_2__0 )? + int alt43=2; + int LA43_0 = input.LA(1); - if ( (LA45_0==33) ) { - alt45=1; + if ( (LA43_0==32) ) { + alt43=1; } - switch (alt45) { + switch (alt43) { case 1 : - // InternalApplicationConfiguration.g:4363:3: rule__PartialModelSpecification__Group_2__0 + // InternalApplicationConfiguration.g:4134:3: rule__PartialModelSpecification__Group_2__0 { pushFollow(FOLLOW_2); rule__PartialModelSpecification__Group_2__0(); @@ -14212,14 +13479,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__PartialModelSpecification__Group__3" - // InternalApplicationConfiguration.g:4371:1: rule__PartialModelSpecification__Group__3 : rule__PartialModelSpecification__Group__3__Impl ; + // InternalApplicationConfiguration.g:4142:1: rule__PartialModelSpecification__Group__3 : rule__PartialModelSpecification__Group__3__Impl ; public final void rule__PartialModelSpecification__Group__3() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4375:1: ( rule__PartialModelSpecification__Group__3__Impl ) - // InternalApplicationConfiguration.g:4376:2: rule__PartialModelSpecification__Group__3__Impl + // InternalApplicationConfiguration.g:4146:1: ( rule__PartialModelSpecification__Group__3__Impl ) + // InternalApplicationConfiguration.g:4147:2: rule__PartialModelSpecification__Group__3__Impl { pushFollow(FOLLOW_2); rule__PartialModelSpecification__Group__3__Impl(); @@ -14245,20 +13512,20 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__PartialModelSpecification__Group__3__Impl" - // InternalApplicationConfiguration.g:4382:1: rule__PartialModelSpecification__Group__3__Impl : ( '}' ) ; + // InternalApplicationConfiguration.g:4153:1: rule__PartialModelSpecification__Group__3__Impl : ( '}' ) ; public final void rule__PartialModelSpecification__Group__3__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4386:1: ( ( '}' ) ) - // InternalApplicationConfiguration.g:4387:1: ( '}' ) + // InternalApplicationConfiguration.g:4157:1: ( ( '}' ) ) + // InternalApplicationConfiguration.g:4158:1: ( '}' ) { - // InternalApplicationConfiguration.g:4387:1: ( '}' ) - // InternalApplicationConfiguration.g:4388:2: '}' + // InternalApplicationConfiguration.g:4158:1: ( '}' ) + // InternalApplicationConfiguration.g:4159:2: '}' { before(grammarAccess.getPartialModelSpecificationAccess().getRightCurlyBracketKeyword_3()); - match(input,32,FOLLOW_2); + match(input,31,FOLLOW_2); after(grammarAccess.getPartialModelSpecificationAccess().getRightCurlyBracketKeyword_3()); } @@ -14282,16 +13549,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__PartialModelSpecification__Group_2__0" - // InternalApplicationConfiguration.g:4398:1: rule__PartialModelSpecification__Group_2__0 : rule__PartialModelSpecification__Group_2__0__Impl rule__PartialModelSpecification__Group_2__1 ; + // InternalApplicationConfiguration.g:4169:1: rule__PartialModelSpecification__Group_2__0 : rule__PartialModelSpecification__Group_2__0__Impl rule__PartialModelSpecification__Group_2__1 ; public final void rule__PartialModelSpecification__Group_2__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4402:1: ( rule__PartialModelSpecification__Group_2__0__Impl rule__PartialModelSpecification__Group_2__1 ) - // InternalApplicationConfiguration.g:4403:2: rule__PartialModelSpecification__Group_2__0__Impl rule__PartialModelSpecification__Group_2__1 + // InternalApplicationConfiguration.g:4173:1: ( rule__PartialModelSpecification__Group_2__0__Impl rule__PartialModelSpecification__Group_2__1 ) + // InternalApplicationConfiguration.g:4174:2: rule__PartialModelSpecification__Group_2__0__Impl rule__PartialModelSpecification__Group_2__1 { - pushFollow(FOLLOW_21); + pushFollow(FOLLOW_20); rule__PartialModelSpecification__Group_2__0__Impl(); state._fsp--; @@ -14320,20 +13587,20 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__PartialModelSpecification__Group_2__0__Impl" - // InternalApplicationConfiguration.g:4410:1: rule__PartialModelSpecification__Group_2__0__Impl : ( ',' ) ; + // InternalApplicationConfiguration.g:4181:1: rule__PartialModelSpecification__Group_2__0__Impl : ( ',' ) ; public final void rule__PartialModelSpecification__Group_2__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4414:1: ( ( ',' ) ) - // InternalApplicationConfiguration.g:4415:1: ( ',' ) + // InternalApplicationConfiguration.g:4185:1: ( ( ',' ) ) + // InternalApplicationConfiguration.g:4186:1: ( ',' ) { - // InternalApplicationConfiguration.g:4415:1: ( ',' ) - // InternalApplicationConfiguration.g:4416:2: ',' + // InternalApplicationConfiguration.g:4186:1: ( ',' ) + // InternalApplicationConfiguration.g:4187:2: ',' { before(grammarAccess.getPartialModelSpecificationAccess().getCommaKeyword_2_0()); - match(input,33,FOLLOW_2); + match(input,32,FOLLOW_2); after(grammarAccess.getPartialModelSpecificationAccess().getCommaKeyword_2_0()); } @@ -14357,14 +13624,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__PartialModelSpecification__Group_2__1" - // InternalApplicationConfiguration.g:4425:1: rule__PartialModelSpecification__Group_2__1 : rule__PartialModelSpecification__Group_2__1__Impl ; + // InternalApplicationConfiguration.g:4196:1: rule__PartialModelSpecification__Group_2__1 : rule__PartialModelSpecification__Group_2__1__Impl ; public final void rule__PartialModelSpecification__Group_2__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4429:1: ( rule__PartialModelSpecification__Group_2__1__Impl ) - // InternalApplicationConfiguration.g:4430:2: rule__PartialModelSpecification__Group_2__1__Impl + // InternalApplicationConfiguration.g:4200:1: ( rule__PartialModelSpecification__Group_2__1__Impl ) + // InternalApplicationConfiguration.g:4201:2: rule__PartialModelSpecification__Group_2__1__Impl { pushFollow(FOLLOW_2); rule__PartialModelSpecification__Group_2__1__Impl(); @@ -14390,21 +13657,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__PartialModelSpecification__Group_2__1__Impl" - // InternalApplicationConfiguration.g:4436:1: rule__PartialModelSpecification__Group_2__1__Impl : ( ( rule__PartialModelSpecification__EntryAssignment_2_1 ) ) ; + // InternalApplicationConfiguration.g:4207:1: rule__PartialModelSpecification__Group_2__1__Impl : ( ( rule__PartialModelSpecification__EntryAssignment_2_1 ) ) ; public final void rule__PartialModelSpecification__Group_2__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4440:1: ( ( ( rule__PartialModelSpecification__EntryAssignment_2_1 ) ) ) - // InternalApplicationConfiguration.g:4441:1: ( ( rule__PartialModelSpecification__EntryAssignment_2_1 ) ) + // InternalApplicationConfiguration.g:4211:1: ( ( ( rule__PartialModelSpecification__EntryAssignment_2_1 ) ) ) + // InternalApplicationConfiguration.g:4212:1: ( ( rule__PartialModelSpecification__EntryAssignment_2_1 ) ) { - // InternalApplicationConfiguration.g:4441:1: ( ( rule__PartialModelSpecification__EntryAssignment_2_1 ) ) - // InternalApplicationConfiguration.g:4442:2: ( rule__PartialModelSpecification__EntryAssignment_2_1 ) + // InternalApplicationConfiguration.g:4212:1: ( ( rule__PartialModelSpecification__EntryAssignment_2_1 ) ) + // InternalApplicationConfiguration.g:4213:2: ( rule__PartialModelSpecification__EntryAssignment_2_1 ) { before(grammarAccess.getPartialModelSpecificationAccess().getEntryAssignment_2_1()); - // InternalApplicationConfiguration.g:4443:2: ( rule__PartialModelSpecification__EntryAssignment_2_1 ) - // InternalApplicationConfiguration.g:4443:3: rule__PartialModelSpecification__EntryAssignment_2_1 + // InternalApplicationConfiguration.g:4214:2: ( rule__PartialModelSpecification__EntryAssignment_2_1 ) + // InternalApplicationConfiguration.g:4214:3: rule__PartialModelSpecification__EntryAssignment_2_1 { pushFollow(FOLLOW_2); rule__PartialModelSpecification__EntryAssignment_2_1(); @@ -14437,16 +13704,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__FolderEntry__Group__0" - // InternalApplicationConfiguration.g:4452:1: rule__FolderEntry__Group__0 : rule__FolderEntry__Group__0__Impl rule__FolderEntry__Group__1 ; + // InternalApplicationConfiguration.g:4223:1: rule__FolderEntry__Group__0 : rule__FolderEntry__Group__0__Impl rule__FolderEntry__Group__1 ; public final void rule__FolderEntry__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4456:1: ( rule__FolderEntry__Group__0__Impl rule__FolderEntry__Group__1 ) - // InternalApplicationConfiguration.g:4457:2: rule__FolderEntry__Group__0__Impl rule__FolderEntry__Group__1 + // InternalApplicationConfiguration.g:4227:1: ( rule__FolderEntry__Group__0__Impl rule__FolderEntry__Group__1 ) + // InternalApplicationConfiguration.g:4228:2: rule__FolderEntry__Group__0__Impl rule__FolderEntry__Group__1 { - pushFollow(FOLLOW_22); + pushFollow(FOLLOW_21); rule__FolderEntry__Group__0__Impl(); state._fsp--; @@ -14475,20 +13742,20 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__FolderEntry__Group__0__Impl" - // InternalApplicationConfiguration.g:4464:1: rule__FolderEntry__Group__0__Impl : ( 'folder' ) ; + // InternalApplicationConfiguration.g:4235:1: rule__FolderEntry__Group__0__Impl : ( 'folder' ) ; public final void rule__FolderEntry__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4468:1: ( ( 'folder' ) ) - // InternalApplicationConfiguration.g:4469:1: ( 'folder' ) + // InternalApplicationConfiguration.g:4239:1: ( ( 'folder' ) ) + // InternalApplicationConfiguration.g:4240:1: ( 'folder' ) { - // InternalApplicationConfiguration.g:4469:1: ( 'folder' ) - // InternalApplicationConfiguration.g:4470:2: 'folder' + // InternalApplicationConfiguration.g:4240:1: ( 'folder' ) + // InternalApplicationConfiguration.g:4241:2: 'folder' { before(grammarAccess.getFolderEntryAccess().getFolderKeyword_0()); - match(input,38,FOLLOW_2); + match(input,37,FOLLOW_2); after(grammarAccess.getFolderEntryAccess().getFolderKeyword_0()); } @@ -14512,16 +13779,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__FolderEntry__Group__1" - // InternalApplicationConfiguration.g:4479:1: rule__FolderEntry__Group__1 : rule__FolderEntry__Group__1__Impl rule__FolderEntry__Group__2 ; + // InternalApplicationConfiguration.g:4250:1: rule__FolderEntry__Group__1 : rule__FolderEntry__Group__1__Impl rule__FolderEntry__Group__2 ; public final void rule__FolderEntry__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4483:1: ( rule__FolderEntry__Group__1__Impl rule__FolderEntry__Group__2 ) - // InternalApplicationConfiguration.g:4484:2: rule__FolderEntry__Group__1__Impl rule__FolderEntry__Group__2 + // InternalApplicationConfiguration.g:4254:1: ( rule__FolderEntry__Group__1__Impl rule__FolderEntry__Group__2 ) + // InternalApplicationConfiguration.g:4255:2: rule__FolderEntry__Group__1__Impl rule__FolderEntry__Group__2 { - pushFollow(FOLLOW_18); + pushFollow(FOLLOW_17); rule__FolderEntry__Group__1__Impl(); state._fsp--; @@ -14550,21 +13817,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__FolderEntry__Group__1__Impl" - // InternalApplicationConfiguration.g:4491:1: rule__FolderEntry__Group__1__Impl : ( ( rule__FolderEntry__PathAssignment_1 ) ) ; + // InternalApplicationConfiguration.g:4262:1: rule__FolderEntry__Group__1__Impl : ( ( rule__FolderEntry__PathAssignment_1 ) ) ; public final void rule__FolderEntry__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4495:1: ( ( ( rule__FolderEntry__PathAssignment_1 ) ) ) - // InternalApplicationConfiguration.g:4496:1: ( ( rule__FolderEntry__PathAssignment_1 ) ) + // InternalApplicationConfiguration.g:4266:1: ( ( ( rule__FolderEntry__PathAssignment_1 ) ) ) + // InternalApplicationConfiguration.g:4267:1: ( ( rule__FolderEntry__PathAssignment_1 ) ) { - // InternalApplicationConfiguration.g:4496:1: ( ( rule__FolderEntry__PathAssignment_1 ) ) - // InternalApplicationConfiguration.g:4497:2: ( rule__FolderEntry__PathAssignment_1 ) + // InternalApplicationConfiguration.g:4267:1: ( ( rule__FolderEntry__PathAssignment_1 ) ) + // InternalApplicationConfiguration.g:4268:2: ( rule__FolderEntry__PathAssignment_1 ) { before(grammarAccess.getFolderEntryAccess().getPathAssignment_1()); - // InternalApplicationConfiguration.g:4498:2: ( rule__FolderEntry__PathAssignment_1 ) - // InternalApplicationConfiguration.g:4498:3: rule__FolderEntry__PathAssignment_1 + // InternalApplicationConfiguration.g:4269:2: ( rule__FolderEntry__PathAssignment_1 ) + // InternalApplicationConfiguration.g:4269:3: rule__FolderEntry__PathAssignment_1 { pushFollow(FOLLOW_2); rule__FolderEntry__PathAssignment_1(); @@ -14597,14 +13864,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__FolderEntry__Group__2" - // InternalApplicationConfiguration.g:4506:1: rule__FolderEntry__Group__2 : rule__FolderEntry__Group__2__Impl ; + // InternalApplicationConfiguration.g:4277:1: rule__FolderEntry__Group__2 : rule__FolderEntry__Group__2__Impl ; public final void rule__FolderEntry__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4510:1: ( rule__FolderEntry__Group__2__Impl ) - // InternalApplicationConfiguration.g:4511:2: rule__FolderEntry__Group__2__Impl + // InternalApplicationConfiguration.g:4281:1: ( rule__FolderEntry__Group__2__Impl ) + // InternalApplicationConfiguration.g:4282:2: rule__FolderEntry__Group__2__Impl { pushFollow(FOLLOW_2); rule__FolderEntry__Group__2__Impl(); @@ -14630,29 +13897,29 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__FolderEntry__Group__2__Impl" - // InternalApplicationConfiguration.g:4517:1: rule__FolderEntry__Group__2__Impl : ( ( rule__FolderEntry__Group_2__0 )? ) ; + // InternalApplicationConfiguration.g:4288:1: rule__FolderEntry__Group__2__Impl : ( ( rule__FolderEntry__Group_2__0 )? ) ; public final void rule__FolderEntry__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4521:1: ( ( ( rule__FolderEntry__Group_2__0 )? ) ) - // InternalApplicationConfiguration.g:4522:1: ( ( rule__FolderEntry__Group_2__0 )? ) + // InternalApplicationConfiguration.g:4292:1: ( ( ( rule__FolderEntry__Group_2__0 )? ) ) + // InternalApplicationConfiguration.g:4293:1: ( ( rule__FolderEntry__Group_2__0 )? ) { - // InternalApplicationConfiguration.g:4522:1: ( ( rule__FolderEntry__Group_2__0 )? ) - // InternalApplicationConfiguration.g:4523:2: ( rule__FolderEntry__Group_2__0 )? + // InternalApplicationConfiguration.g:4293:1: ( ( rule__FolderEntry__Group_2__0 )? ) + // InternalApplicationConfiguration.g:4294:2: ( rule__FolderEntry__Group_2__0 )? { before(grammarAccess.getFolderEntryAccess().getGroup_2()); - // InternalApplicationConfiguration.g:4524:2: ( rule__FolderEntry__Group_2__0 )? - int alt46=2; - int LA46_0 = input.LA(1); + // InternalApplicationConfiguration.g:4295:2: ( rule__FolderEntry__Group_2__0 )? + int alt44=2; + int LA44_0 = input.LA(1); - if ( (LA46_0==35) ) { - alt46=1; + if ( (LA44_0==34) ) { + alt44=1; } - switch (alt46) { + switch (alt44) { case 1 : - // InternalApplicationConfiguration.g:4524:3: rule__FolderEntry__Group_2__0 + // InternalApplicationConfiguration.g:4295:3: rule__FolderEntry__Group_2__0 { pushFollow(FOLLOW_2); rule__FolderEntry__Group_2__0(); @@ -14688,16 +13955,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__FolderEntry__Group_2__0" - // InternalApplicationConfiguration.g:4533:1: rule__FolderEntry__Group_2__0 : rule__FolderEntry__Group_2__0__Impl rule__FolderEntry__Group_2__1 ; + // InternalApplicationConfiguration.g:4304:1: rule__FolderEntry__Group_2__0 : rule__FolderEntry__Group_2__0__Impl rule__FolderEntry__Group_2__1 ; public final void rule__FolderEntry__Group_2__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4537:1: ( rule__FolderEntry__Group_2__0__Impl rule__FolderEntry__Group_2__1 ) - // InternalApplicationConfiguration.g:4538:2: rule__FolderEntry__Group_2__0__Impl rule__FolderEntry__Group_2__1 + // InternalApplicationConfiguration.g:4308:1: ( rule__FolderEntry__Group_2__0__Impl rule__FolderEntry__Group_2__1 ) + // InternalApplicationConfiguration.g:4309:2: rule__FolderEntry__Group_2__0__Impl rule__FolderEntry__Group_2__1 { - pushFollow(FOLLOW_19); + pushFollow(FOLLOW_18); rule__FolderEntry__Group_2__0__Impl(); state._fsp--; @@ -14726,20 +13993,20 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__FolderEntry__Group_2__0__Impl" - // InternalApplicationConfiguration.g:4545:1: rule__FolderEntry__Group_2__0__Impl : ( 'excluding' ) ; + // InternalApplicationConfiguration.g:4316:1: rule__FolderEntry__Group_2__0__Impl : ( 'excluding' ) ; public final void rule__FolderEntry__Group_2__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4549:1: ( ( 'excluding' ) ) - // InternalApplicationConfiguration.g:4550:1: ( 'excluding' ) + // InternalApplicationConfiguration.g:4320:1: ( ( 'excluding' ) ) + // InternalApplicationConfiguration.g:4321:1: ( 'excluding' ) { - // InternalApplicationConfiguration.g:4550:1: ( 'excluding' ) - // InternalApplicationConfiguration.g:4551:2: 'excluding' + // InternalApplicationConfiguration.g:4321:1: ( 'excluding' ) + // InternalApplicationConfiguration.g:4322:2: 'excluding' { before(grammarAccess.getFolderEntryAccess().getExcludingKeyword_2_0()); - match(input,35,FOLLOW_2); + match(input,34,FOLLOW_2); after(grammarAccess.getFolderEntryAccess().getExcludingKeyword_2_0()); } @@ -14763,16 +14030,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__FolderEntry__Group_2__1" - // InternalApplicationConfiguration.g:4560:1: rule__FolderEntry__Group_2__1 : rule__FolderEntry__Group_2__1__Impl rule__FolderEntry__Group_2__2 ; + // InternalApplicationConfiguration.g:4331:1: rule__FolderEntry__Group_2__1 : rule__FolderEntry__Group_2__1__Impl rule__FolderEntry__Group_2__2 ; public final void rule__FolderEntry__Group_2__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4564:1: ( rule__FolderEntry__Group_2__1__Impl rule__FolderEntry__Group_2__2 ) - // InternalApplicationConfiguration.g:4565:2: rule__FolderEntry__Group_2__1__Impl rule__FolderEntry__Group_2__2 + // InternalApplicationConfiguration.g:4335:1: ( rule__FolderEntry__Group_2__1__Impl rule__FolderEntry__Group_2__2 ) + // InternalApplicationConfiguration.g:4336:2: rule__FolderEntry__Group_2__1__Impl rule__FolderEntry__Group_2__2 { - pushFollow(FOLLOW_22); + pushFollow(FOLLOW_21); rule__FolderEntry__Group_2__1__Impl(); state._fsp--; @@ -14801,20 +14068,20 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__FolderEntry__Group_2__1__Impl" - // InternalApplicationConfiguration.g:4572:1: rule__FolderEntry__Group_2__1__Impl : ( '{' ) ; + // InternalApplicationConfiguration.g:4343:1: rule__FolderEntry__Group_2__1__Impl : ( '{' ) ; public final void rule__FolderEntry__Group_2__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4576:1: ( ( '{' ) ) - // InternalApplicationConfiguration.g:4577:1: ( '{' ) + // InternalApplicationConfiguration.g:4347:1: ( ( '{' ) ) + // InternalApplicationConfiguration.g:4348:1: ( '{' ) { - // InternalApplicationConfiguration.g:4577:1: ( '{' ) - // InternalApplicationConfiguration.g:4578:2: '{' + // InternalApplicationConfiguration.g:4348:1: ( '{' ) + // InternalApplicationConfiguration.g:4349:2: '{' { before(grammarAccess.getFolderEntryAccess().getLeftCurlyBracketKeyword_2_1()); - match(input,31,FOLLOW_2); + match(input,30,FOLLOW_2); after(grammarAccess.getFolderEntryAccess().getLeftCurlyBracketKeyword_2_1()); } @@ -14838,16 +14105,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__FolderEntry__Group_2__2" - // InternalApplicationConfiguration.g:4587:1: rule__FolderEntry__Group_2__2 : rule__FolderEntry__Group_2__2__Impl rule__FolderEntry__Group_2__3 ; + // InternalApplicationConfiguration.g:4358:1: rule__FolderEntry__Group_2__2 : rule__FolderEntry__Group_2__2__Impl rule__FolderEntry__Group_2__3 ; public final void rule__FolderEntry__Group_2__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4591:1: ( rule__FolderEntry__Group_2__2__Impl rule__FolderEntry__Group_2__3 ) - // InternalApplicationConfiguration.g:4592:2: rule__FolderEntry__Group_2__2__Impl rule__FolderEntry__Group_2__3 + // InternalApplicationConfiguration.g:4362:1: ( rule__FolderEntry__Group_2__2__Impl rule__FolderEntry__Group_2__3 ) + // InternalApplicationConfiguration.g:4363:2: rule__FolderEntry__Group_2__2__Impl rule__FolderEntry__Group_2__3 { - pushFollow(FOLLOW_16); + pushFollow(FOLLOW_15); rule__FolderEntry__Group_2__2__Impl(); state._fsp--; @@ -14876,21 +14143,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__FolderEntry__Group_2__2__Impl" - // InternalApplicationConfiguration.g:4599:1: rule__FolderEntry__Group_2__2__Impl : ( ( rule__FolderEntry__ExclusionAssignment_2_2 ) ) ; + // InternalApplicationConfiguration.g:4370:1: rule__FolderEntry__Group_2__2__Impl : ( ( rule__FolderEntry__ExclusionAssignment_2_2 ) ) ; public final void rule__FolderEntry__Group_2__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4603:1: ( ( ( rule__FolderEntry__ExclusionAssignment_2_2 ) ) ) - // InternalApplicationConfiguration.g:4604:1: ( ( rule__FolderEntry__ExclusionAssignment_2_2 ) ) + // InternalApplicationConfiguration.g:4374:1: ( ( ( rule__FolderEntry__ExclusionAssignment_2_2 ) ) ) + // InternalApplicationConfiguration.g:4375:1: ( ( rule__FolderEntry__ExclusionAssignment_2_2 ) ) { - // InternalApplicationConfiguration.g:4604:1: ( ( rule__FolderEntry__ExclusionAssignment_2_2 ) ) - // InternalApplicationConfiguration.g:4605:2: ( rule__FolderEntry__ExclusionAssignment_2_2 ) + // InternalApplicationConfiguration.g:4375:1: ( ( rule__FolderEntry__ExclusionAssignment_2_2 ) ) + // InternalApplicationConfiguration.g:4376:2: ( rule__FolderEntry__ExclusionAssignment_2_2 ) { before(grammarAccess.getFolderEntryAccess().getExclusionAssignment_2_2()); - // InternalApplicationConfiguration.g:4606:2: ( rule__FolderEntry__ExclusionAssignment_2_2 ) - // InternalApplicationConfiguration.g:4606:3: rule__FolderEntry__ExclusionAssignment_2_2 + // InternalApplicationConfiguration.g:4377:2: ( rule__FolderEntry__ExclusionAssignment_2_2 ) + // InternalApplicationConfiguration.g:4377:3: rule__FolderEntry__ExclusionAssignment_2_2 { pushFollow(FOLLOW_2); rule__FolderEntry__ExclusionAssignment_2_2(); @@ -14923,16 +14190,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__FolderEntry__Group_2__3" - // InternalApplicationConfiguration.g:4614:1: rule__FolderEntry__Group_2__3 : rule__FolderEntry__Group_2__3__Impl rule__FolderEntry__Group_2__4 ; + // InternalApplicationConfiguration.g:4385:1: rule__FolderEntry__Group_2__3 : rule__FolderEntry__Group_2__3__Impl rule__FolderEntry__Group_2__4 ; public final void rule__FolderEntry__Group_2__3() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4618:1: ( rule__FolderEntry__Group_2__3__Impl rule__FolderEntry__Group_2__4 ) - // InternalApplicationConfiguration.g:4619:2: rule__FolderEntry__Group_2__3__Impl rule__FolderEntry__Group_2__4 + // InternalApplicationConfiguration.g:4389:1: ( rule__FolderEntry__Group_2__3__Impl rule__FolderEntry__Group_2__4 ) + // InternalApplicationConfiguration.g:4390:2: rule__FolderEntry__Group_2__3__Impl rule__FolderEntry__Group_2__4 { - pushFollow(FOLLOW_16); + pushFollow(FOLLOW_15); rule__FolderEntry__Group_2__3__Impl(); state._fsp--; @@ -14961,35 +14228,35 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__FolderEntry__Group_2__3__Impl" - // InternalApplicationConfiguration.g:4626:1: rule__FolderEntry__Group_2__3__Impl : ( ( rule__FolderEntry__Group_2_3__0 )* ) ; + // InternalApplicationConfiguration.g:4397:1: rule__FolderEntry__Group_2__3__Impl : ( ( rule__FolderEntry__Group_2_3__0 )* ) ; public final void rule__FolderEntry__Group_2__3__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4630:1: ( ( ( rule__FolderEntry__Group_2_3__0 )* ) ) - // InternalApplicationConfiguration.g:4631:1: ( ( rule__FolderEntry__Group_2_3__0 )* ) + // InternalApplicationConfiguration.g:4401:1: ( ( ( rule__FolderEntry__Group_2_3__0 )* ) ) + // InternalApplicationConfiguration.g:4402:1: ( ( rule__FolderEntry__Group_2_3__0 )* ) { - // InternalApplicationConfiguration.g:4631:1: ( ( rule__FolderEntry__Group_2_3__0 )* ) - // InternalApplicationConfiguration.g:4632:2: ( rule__FolderEntry__Group_2_3__0 )* + // InternalApplicationConfiguration.g:4402:1: ( ( rule__FolderEntry__Group_2_3__0 )* ) + // InternalApplicationConfiguration.g:4403:2: ( rule__FolderEntry__Group_2_3__0 )* { before(grammarAccess.getFolderEntryAccess().getGroup_2_3()); - // InternalApplicationConfiguration.g:4633:2: ( rule__FolderEntry__Group_2_3__0 )* - loop47: + // InternalApplicationConfiguration.g:4404:2: ( rule__FolderEntry__Group_2_3__0 )* + loop45: do { - int alt47=2; - int LA47_0 = input.LA(1); + int alt45=2; + int LA45_0 = input.LA(1); - if ( (LA47_0==33) ) { - alt47=1; + if ( (LA45_0==32) ) { + alt45=1; } - switch (alt47) { + switch (alt45) { case 1 : - // InternalApplicationConfiguration.g:4633:3: rule__FolderEntry__Group_2_3__0 + // InternalApplicationConfiguration.g:4404:3: rule__FolderEntry__Group_2_3__0 { - pushFollow(FOLLOW_17); + pushFollow(FOLLOW_16); rule__FolderEntry__Group_2_3__0(); state._fsp--; @@ -14999,7 +14266,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont break; default : - break loop47; + break loop45; } } while (true); @@ -15026,14 +14293,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__FolderEntry__Group_2__4" - // InternalApplicationConfiguration.g:4641:1: rule__FolderEntry__Group_2__4 : rule__FolderEntry__Group_2__4__Impl ; + // InternalApplicationConfiguration.g:4412:1: rule__FolderEntry__Group_2__4 : rule__FolderEntry__Group_2__4__Impl ; public final void rule__FolderEntry__Group_2__4() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4645:1: ( rule__FolderEntry__Group_2__4__Impl ) - // InternalApplicationConfiguration.g:4646:2: rule__FolderEntry__Group_2__4__Impl + // InternalApplicationConfiguration.g:4416:1: ( rule__FolderEntry__Group_2__4__Impl ) + // InternalApplicationConfiguration.g:4417:2: rule__FolderEntry__Group_2__4__Impl { pushFollow(FOLLOW_2); rule__FolderEntry__Group_2__4__Impl(); @@ -15059,20 +14326,20 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__FolderEntry__Group_2__4__Impl" - // InternalApplicationConfiguration.g:4652:1: rule__FolderEntry__Group_2__4__Impl : ( '}' ) ; + // InternalApplicationConfiguration.g:4423:1: rule__FolderEntry__Group_2__4__Impl : ( '}' ) ; public final void rule__FolderEntry__Group_2__4__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4656:1: ( ( '}' ) ) - // InternalApplicationConfiguration.g:4657:1: ( '}' ) + // InternalApplicationConfiguration.g:4427:1: ( ( '}' ) ) + // InternalApplicationConfiguration.g:4428:1: ( '}' ) { - // InternalApplicationConfiguration.g:4657:1: ( '}' ) - // InternalApplicationConfiguration.g:4658:2: '}' + // InternalApplicationConfiguration.g:4428:1: ( '}' ) + // InternalApplicationConfiguration.g:4429:2: '}' { before(grammarAccess.getFolderEntryAccess().getRightCurlyBracketKeyword_2_4()); - match(input,32,FOLLOW_2); + match(input,31,FOLLOW_2); after(grammarAccess.getFolderEntryAccess().getRightCurlyBracketKeyword_2_4()); } @@ -15096,16 +14363,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__FolderEntry__Group_2_3__0" - // InternalApplicationConfiguration.g:4668:1: rule__FolderEntry__Group_2_3__0 : rule__FolderEntry__Group_2_3__0__Impl rule__FolderEntry__Group_2_3__1 ; + // InternalApplicationConfiguration.g:4439:1: rule__FolderEntry__Group_2_3__0 : rule__FolderEntry__Group_2_3__0__Impl rule__FolderEntry__Group_2_3__1 ; public final void rule__FolderEntry__Group_2_3__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4672:1: ( rule__FolderEntry__Group_2_3__0__Impl rule__FolderEntry__Group_2_3__1 ) - // InternalApplicationConfiguration.g:4673:2: rule__FolderEntry__Group_2_3__0__Impl rule__FolderEntry__Group_2_3__1 + // InternalApplicationConfiguration.g:4443:1: ( rule__FolderEntry__Group_2_3__0__Impl rule__FolderEntry__Group_2_3__1 ) + // InternalApplicationConfiguration.g:4444:2: rule__FolderEntry__Group_2_3__0__Impl rule__FolderEntry__Group_2_3__1 { - pushFollow(FOLLOW_22); + pushFollow(FOLLOW_21); rule__FolderEntry__Group_2_3__0__Impl(); state._fsp--; @@ -15134,20 +14401,20 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__FolderEntry__Group_2_3__0__Impl" - // InternalApplicationConfiguration.g:4680:1: rule__FolderEntry__Group_2_3__0__Impl : ( ',' ) ; + // InternalApplicationConfiguration.g:4451:1: rule__FolderEntry__Group_2_3__0__Impl : ( ',' ) ; public final void rule__FolderEntry__Group_2_3__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4684:1: ( ( ',' ) ) - // InternalApplicationConfiguration.g:4685:1: ( ',' ) + // InternalApplicationConfiguration.g:4455:1: ( ( ',' ) ) + // InternalApplicationConfiguration.g:4456:1: ( ',' ) { - // InternalApplicationConfiguration.g:4685:1: ( ',' ) - // InternalApplicationConfiguration.g:4686:2: ',' + // InternalApplicationConfiguration.g:4456:1: ( ',' ) + // InternalApplicationConfiguration.g:4457:2: ',' { before(grammarAccess.getFolderEntryAccess().getCommaKeyword_2_3_0()); - match(input,33,FOLLOW_2); + match(input,32,FOLLOW_2); after(grammarAccess.getFolderEntryAccess().getCommaKeyword_2_3_0()); } @@ -15171,14 +14438,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__FolderEntry__Group_2_3__1" - // InternalApplicationConfiguration.g:4695:1: rule__FolderEntry__Group_2_3__1 : rule__FolderEntry__Group_2_3__1__Impl ; + // InternalApplicationConfiguration.g:4466:1: rule__FolderEntry__Group_2_3__1 : rule__FolderEntry__Group_2_3__1__Impl ; public final void rule__FolderEntry__Group_2_3__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4699:1: ( rule__FolderEntry__Group_2_3__1__Impl ) - // InternalApplicationConfiguration.g:4700:2: rule__FolderEntry__Group_2_3__1__Impl + // InternalApplicationConfiguration.g:4470:1: ( rule__FolderEntry__Group_2_3__1__Impl ) + // InternalApplicationConfiguration.g:4471:2: rule__FolderEntry__Group_2_3__1__Impl { pushFollow(FOLLOW_2); rule__FolderEntry__Group_2_3__1__Impl(); @@ -15204,21 +14471,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__FolderEntry__Group_2_3__1__Impl" - // InternalApplicationConfiguration.g:4706:1: rule__FolderEntry__Group_2_3__1__Impl : ( ( rule__FolderEntry__ExclusionAssignment_2_3_1 ) ) ; + // InternalApplicationConfiguration.g:4477:1: rule__FolderEntry__Group_2_3__1__Impl : ( ( rule__FolderEntry__ExclusionAssignment_2_3_1 ) ) ; public final void rule__FolderEntry__Group_2_3__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4710:1: ( ( ( rule__FolderEntry__ExclusionAssignment_2_3_1 ) ) ) - // InternalApplicationConfiguration.g:4711:1: ( ( rule__FolderEntry__ExclusionAssignment_2_3_1 ) ) + // InternalApplicationConfiguration.g:4481:1: ( ( ( rule__FolderEntry__ExclusionAssignment_2_3_1 ) ) ) + // InternalApplicationConfiguration.g:4482:1: ( ( rule__FolderEntry__ExclusionAssignment_2_3_1 ) ) { - // InternalApplicationConfiguration.g:4711:1: ( ( rule__FolderEntry__ExclusionAssignment_2_3_1 ) ) - // InternalApplicationConfiguration.g:4712:2: ( rule__FolderEntry__ExclusionAssignment_2_3_1 ) + // InternalApplicationConfiguration.g:4482:1: ( ( rule__FolderEntry__ExclusionAssignment_2_3_1 ) ) + // InternalApplicationConfiguration.g:4483:2: ( rule__FolderEntry__ExclusionAssignment_2_3_1 ) { before(grammarAccess.getFolderEntryAccess().getExclusionAssignment_2_3_1()); - // InternalApplicationConfiguration.g:4713:2: ( rule__FolderEntry__ExclusionAssignment_2_3_1 ) - // InternalApplicationConfiguration.g:4713:3: rule__FolderEntry__ExclusionAssignment_2_3_1 + // InternalApplicationConfiguration.g:4484:2: ( rule__FolderEntry__ExclusionAssignment_2_3_1 ) + // InternalApplicationConfiguration.g:4484:3: rule__FolderEntry__ExclusionAssignment_2_3_1 { pushFollow(FOLLOW_2); rule__FolderEntry__ExclusionAssignment_2_3_1(); @@ -15251,14 +14518,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__PartialModelDeclaration__Group__0" - // InternalApplicationConfiguration.g:4722:1: rule__PartialModelDeclaration__Group__0 : rule__PartialModelDeclaration__Group__0__Impl rule__PartialModelDeclaration__Group__1 ; + // InternalApplicationConfiguration.g:4493:1: rule__PartialModelDeclaration__Group__0 : rule__PartialModelDeclaration__Group__0__Impl rule__PartialModelDeclaration__Group__1 ; public final void rule__PartialModelDeclaration__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4726:1: ( rule__PartialModelDeclaration__Group__0__Impl rule__PartialModelDeclaration__Group__1 ) - // InternalApplicationConfiguration.g:4727:2: rule__PartialModelDeclaration__Group__0__Impl rule__PartialModelDeclaration__Group__1 + // InternalApplicationConfiguration.g:4497:1: ( rule__PartialModelDeclaration__Group__0__Impl rule__PartialModelDeclaration__Group__1 ) + // InternalApplicationConfiguration.g:4498:2: rule__PartialModelDeclaration__Group__0__Impl rule__PartialModelDeclaration__Group__1 { pushFollow(FOLLOW_8); rule__PartialModelDeclaration__Group__0__Impl(); @@ -15289,20 +14556,20 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__PartialModelDeclaration__Group__0__Impl" - // InternalApplicationConfiguration.g:4734:1: rule__PartialModelDeclaration__Group__0__Impl : ( 'models' ) ; + // InternalApplicationConfiguration.g:4505:1: rule__PartialModelDeclaration__Group__0__Impl : ( 'models' ) ; public final void rule__PartialModelDeclaration__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4738:1: ( ( 'models' ) ) - // InternalApplicationConfiguration.g:4739:1: ( 'models' ) + // InternalApplicationConfiguration.g:4509:1: ( ( 'models' ) ) + // InternalApplicationConfiguration.g:4510:1: ( 'models' ) { - // InternalApplicationConfiguration.g:4739:1: ( 'models' ) - // InternalApplicationConfiguration.g:4740:2: 'models' + // InternalApplicationConfiguration.g:4510:1: ( 'models' ) + // InternalApplicationConfiguration.g:4511:2: 'models' { before(grammarAccess.getPartialModelDeclarationAccess().getModelsKeyword_0()); - match(input,39,FOLLOW_2); + match(input,38,FOLLOW_2); after(grammarAccess.getPartialModelDeclarationAccess().getModelsKeyword_0()); } @@ -15326,16 +14593,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__PartialModelDeclaration__Group__1" - // InternalApplicationConfiguration.g:4749:1: rule__PartialModelDeclaration__Group__1 : rule__PartialModelDeclaration__Group__1__Impl rule__PartialModelDeclaration__Group__2 ; + // InternalApplicationConfiguration.g:4520:1: rule__PartialModelDeclaration__Group__1 : rule__PartialModelDeclaration__Group__1__Impl rule__PartialModelDeclaration__Group__2 ; public final void rule__PartialModelDeclaration__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4753:1: ( rule__PartialModelDeclaration__Group__1__Impl rule__PartialModelDeclaration__Group__2 ) - // InternalApplicationConfiguration.g:4754:2: rule__PartialModelDeclaration__Group__1__Impl rule__PartialModelDeclaration__Group__2 + // InternalApplicationConfiguration.g:4524:1: ( rule__PartialModelDeclaration__Group__1__Impl rule__PartialModelDeclaration__Group__2 ) + // InternalApplicationConfiguration.g:4525:2: rule__PartialModelDeclaration__Group__1__Impl rule__PartialModelDeclaration__Group__2 { - pushFollow(FOLLOW_19); + pushFollow(FOLLOW_18); rule__PartialModelDeclaration__Group__1__Impl(); state._fsp--; @@ -15364,21 +14631,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__PartialModelDeclaration__Group__1__Impl" - // InternalApplicationConfiguration.g:4761:1: rule__PartialModelDeclaration__Group__1__Impl : ( ( rule__PartialModelDeclaration__NameAssignment_1 ) ) ; + // InternalApplicationConfiguration.g:4532:1: rule__PartialModelDeclaration__Group__1__Impl : ( ( rule__PartialModelDeclaration__NameAssignment_1 ) ) ; public final void rule__PartialModelDeclaration__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4765:1: ( ( ( rule__PartialModelDeclaration__NameAssignment_1 ) ) ) - // InternalApplicationConfiguration.g:4766:1: ( ( rule__PartialModelDeclaration__NameAssignment_1 ) ) + // InternalApplicationConfiguration.g:4536:1: ( ( ( rule__PartialModelDeclaration__NameAssignment_1 ) ) ) + // InternalApplicationConfiguration.g:4537:1: ( ( rule__PartialModelDeclaration__NameAssignment_1 ) ) { - // InternalApplicationConfiguration.g:4766:1: ( ( rule__PartialModelDeclaration__NameAssignment_1 ) ) - // InternalApplicationConfiguration.g:4767:2: ( rule__PartialModelDeclaration__NameAssignment_1 ) + // InternalApplicationConfiguration.g:4537:1: ( ( rule__PartialModelDeclaration__NameAssignment_1 ) ) + // InternalApplicationConfiguration.g:4538:2: ( rule__PartialModelDeclaration__NameAssignment_1 ) { before(grammarAccess.getPartialModelDeclarationAccess().getNameAssignment_1()); - // InternalApplicationConfiguration.g:4768:2: ( rule__PartialModelDeclaration__NameAssignment_1 ) - // InternalApplicationConfiguration.g:4768:3: rule__PartialModelDeclaration__NameAssignment_1 + // InternalApplicationConfiguration.g:4539:2: ( rule__PartialModelDeclaration__NameAssignment_1 ) + // InternalApplicationConfiguration.g:4539:3: rule__PartialModelDeclaration__NameAssignment_1 { pushFollow(FOLLOW_2); rule__PartialModelDeclaration__NameAssignment_1(); @@ -15411,14 +14678,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__PartialModelDeclaration__Group__2" - // InternalApplicationConfiguration.g:4776:1: rule__PartialModelDeclaration__Group__2 : rule__PartialModelDeclaration__Group__2__Impl ; + // InternalApplicationConfiguration.g:4547:1: rule__PartialModelDeclaration__Group__2 : rule__PartialModelDeclaration__Group__2__Impl ; public final void rule__PartialModelDeclaration__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4780:1: ( rule__PartialModelDeclaration__Group__2__Impl ) - // InternalApplicationConfiguration.g:4781:2: rule__PartialModelDeclaration__Group__2__Impl + // InternalApplicationConfiguration.g:4551:1: ( rule__PartialModelDeclaration__Group__2__Impl ) + // InternalApplicationConfiguration.g:4552:2: rule__PartialModelDeclaration__Group__2__Impl { pushFollow(FOLLOW_2); rule__PartialModelDeclaration__Group__2__Impl(); @@ -15444,21 +14711,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__PartialModelDeclaration__Group__2__Impl" - // InternalApplicationConfiguration.g:4787:1: rule__PartialModelDeclaration__Group__2__Impl : ( ( rule__PartialModelDeclaration__SpecificationAssignment_2 ) ) ; + // InternalApplicationConfiguration.g:4558:1: rule__PartialModelDeclaration__Group__2__Impl : ( ( rule__PartialModelDeclaration__SpecificationAssignment_2 ) ) ; public final void rule__PartialModelDeclaration__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4791:1: ( ( ( rule__PartialModelDeclaration__SpecificationAssignment_2 ) ) ) - // InternalApplicationConfiguration.g:4792:1: ( ( rule__PartialModelDeclaration__SpecificationAssignment_2 ) ) + // InternalApplicationConfiguration.g:4562:1: ( ( ( rule__PartialModelDeclaration__SpecificationAssignment_2 ) ) ) + // InternalApplicationConfiguration.g:4563:1: ( ( rule__PartialModelDeclaration__SpecificationAssignment_2 ) ) { - // InternalApplicationConfiguration.g:4792:1: ( ( rule__PartialModelDeclaration__SpecificationAssignment_2 ) ) - // InternalApplicationConfiguration.g:4793:2: ( rule__PartialModelDeclaration__SpecificationAssignment_2 ) + // InternalApplicationConfiguration.g:4563:1: ( ( rule__PartialModelDeclaration__SpecificationAssignment_2 ) ) + // InternalApplicationConfiguration.g:4564:2: ( rule__PartialModelDeclaration__SpecificationAssignment_2 ) { before(grammarAccess.getPartialModelDeclarationAccess().getSpecificationAssignment_2()); - // InternalApplicationConfiguration.g:4794:2: ( rule__PartialModelDeclaration__SpecificationAssignment_2 ) - // InternalApplicationConfiguration.g:4794:3: rule__PartialModelDeclaration__SpecificationAssignment_2 + // InternalApplicationConfiguration.g:4565:2: ( rule__PartialModelDeclaration__SpecificationAssignment_2 ) + // InternalApplicationConfiguration.g:4565:3: rule__PartialModelDeclaration__SpecificationAssignment_2 { pushFollow(FOLLOW_2); rule__PartialModelDeclaration__SpecificationAssignment_2(); @@ -15491,16 +14758,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__PatternSpecification__Group__0" - // InternalApplicationConfiguration.g:4803:1: rule__PatternSpecification__Group__0 : rule__PatternSpecification__Group__0__Impl rule__PatternSpecification__Group__1 ; + // InternalApplicationConfiguration.g:4574:1: rule__PatternSpecification__Group__0 : rule__PatternSpecification__Group__0__Impl rule__PatternSpecification__Group__1 ; public final void rule__PatternSpecification__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4807:1: ( rule__PatternSpecification__Group__0__Impl rule__PatternSpecification__Group__1 ) - // InternalApplicationConfiguration.g:4808:2: rule__PatternSpecification__Group__0__Impl rule__PatternSpecification__Group__1 + // InternalApplicationConfiguration.g:4578:1: ( rule__PatternSpecification__Group__0__Impl rule__PatternSpecification__Group__1 ) + // InternalApplicationConfiguration.g:4579:2: rule__PatternSpecification__Group__0__Impl rule__PatternSpecification__Group__1 { - pushFollow(FOLLOW_15); + pushFollow(FOLLOW_14); rule__PatternSpecification__Group__0__Impl(); state._fsp--; @@ -15529,20 +14796,20 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__PatternSpecification__Group__0__Impl" - // InternalApplicationConfiguration.g:4815:1: rule__PatternSpecification__Group__0__Impl : ( '{' ) ; + // InternalApplicationConfiguration.g:4586:1: rule__PatternSpecification__Group__0__Impl : ( '{' ) ; public final void rule__PatternSpecification__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4819:1: ( ( '{' ) ) - // InternalApplicationConfiguration.g:4820:1: ( '{' ) + // InternalApplicationConfiguration.g:4590:1: ( ( '{' ) ) + // InternalApplicationConfiguration.g:4591:1: ( '{' ) { - // InternalApplicationConfiguration.g:4820:1: ( '{' ) - // InternalApplicationConfiguration.g:4821:2: '{' + // InternalApplicationConfiguration.g:4591:1: ( '{' ) + // InternalApplicationConfiguration.g:4592:2: '{' { before(grammarAccess.getPatternSpecificationAccess().getLeftCurlyBracketKeyword_0()); - match(input,31,FOLLOW_2); + match(input,30,FOLLOW_2); after(grammarAccess.getPatternSpecificationAccess().getLeftCurlyBracketKeyword_0()); } @@ -15566,16 +14833,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__PatternSpecification__Group__1" - // InternalApplicationConfiguration.g:4830:1: rule__PatternSpecification__Group__1 : rule__PatternSpecification__Group__1__Impl rule__PatternSpecification__Group__2 ; + // InternalApplicationConfiguration.g:4601:1: rule__PatternSpecification__Group__1 : rule__PatternSpecification__Group__1__Impl rule__PatternSpecification__Group__2 ; public final void rule__PatternSpecification__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4834:1: ( rule__PatternSpecification__Group__1__Impl rule__PatternSpecification__Group__2 ) - // InternalApplicationConfiguration.g:4835:2: rule__PatternSpecification__Group__1__Impl rule__PatternSpecification__Group__2 + // InternalApplicationConfiguration.g:4605:1: ( rule__PatternSpecification__Group__1__Impl rule__PatternSpecification__Group__2 ) + // InternalApplicationConfiguration.g:4606:2: rule__PatternSpecification__Group__1__Impl rule__PatternSpecification__Group__2 { - pushFollow(FOLLOW_16); + pushFollow(FOLLOW_15); rule__PatternSpecification__Group__1__Impl(); state._fsp--; @@ -15604,21 +14871,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__PatternSpecification__Group__1__Impl" - // InternalApplicationConfiguration.g:4842:1: rule__PatternSpecification__Group__1__Impl : ( ( rule__PatternSpecification__EntriesAssignment_1 ) ) ; + // InternalApplicationConfiguration.g:4613:1: rule__PatternSpecification__Group__1__Impl : ( ( rule__PatternSpecification__EntriesAssignment_1 ) ) ; public final void rule__PatternSpecification__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4846:1: ( ( ( rule__PatternSpecification__EntriesAssignment_1 ) ) ) - // InternalApplicationConfiguration.g:4847:1: ( ( rule__PatternSpecification__EntriesAssignment_1 ) ) + // InternalApplicationConfiguration.g:4617:1: ( ( ( rule__PatternSpecification__EntriesAssignment_1 ) ) ) + // InternalApplicationConfiguration.g:4618:1: ( ( rule__PatternSpecification__EntriesAssignment_1 ) ) { - // InternalApplicationConfiguration.g:4847:1: ( ( rule__PatternSpecification__EntriesAssignment_1 ) ) - // InternalApplicationConfiguration.g:4848:2: ( rule__PatternSpecification__EntriesAssignment_1 ) + // InternalApplicationConfiguration.g:4618:1: ( ( rule__PatternSpecification__EntriesAssignment_1 ) ) + // InternalApplicationConfiguration.g:4619:2: ( rule__PatternSpecification__EntriesAssignment_1 ) { before(grammarAccess.getPatternSpecificationAccess().getEntriesAssignment_1()); - // InternalApplicationConfiguration.g:4849:2: ( rule__PatternSpecification__EntriesAssignment_1 ) - // InternalApplicationConfiguration.g:4849:3: rule__PatternSpecification__EntriesAssignment_1 + // InternalApplicationConfiguration.g:4620:2: ( rule__PatternSpecification__EntriesAssignment_1 ) + // InternalApplicationConfiguration.g:4620:3: rule__PatternSpecification__EntriesAssignment_1 { pushFollow(FOLLOW_2); rule__PatternSpecification__EntriesAssignment_1(); @@ -15651,16 +14918,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__PatternSpecification__Group__2" - // InternalApplicationConfiguration.g:4857:1: rule__PatternSpecification__Group__2 : rule__PatternSpecification__Group__2__Impl rule__PatternSpecification__Group__3 ; + // InternalApplicationConfiguration.g:4628:1: rule__PatternSpecification__Group__2 : rule__PatternSpecification__Group__2__Impl rule__PatternSpecification__Group__3 ; public final void rule__PatternSpecification__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4861:1: ( rule__PatternSpecification__Group__2__Impl rule__PatternSpecification__Group__3 ) - // InternalApplicationConfiguration.g:4862:2: rule__PatternSpecification__Group__2__Impl rule__PatternSpecification__Group__3 + // InternalApplicationConfiguration.g:4632:1: ( rule__PatternSpecification__Group__2__Impl rule__PatternSpecification__Group__3 ) + // InternalApplicationConfiguration.g:4633:2: rule__PatternSpecification__Group__2__Impl rule__PatternSpecification__Group__3 { - pushFollow(FOLLOW_16); + pushFollow(FOLLOW_15); rule__PatternSpecification__Group__2__Impl(); state._fsp--; @@ -15689,35 +14956,35 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__PatternSpecification__Group__2__Impl" - // InternalApplicationConfiguration.g:4869:1: rule__PatternSpecification__Group__2__Impl : ( ( rule__PatternSpecification__Group_2__0 )* ) ; + // InternalApplicationConfiguration.g:4640:1: rule__PatternSpecification__Group__2__Impl : ( ( rule__PatternSpecification__Group_2__0 )* ) ; public final void rule__PatternSpecification__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4873:1: ( ( ( rule__PatternSpecification__Group_2__0 )* ) ) - // InternalApplicationConfiguration.g:4874:1: ( ( rule__PatternSpecification__Group_2__0 )* ) + // InternalApplicationConfiguration.g:4644:1: ( ( ( rule__PatternSpecification__Group_2__0 )* ) ) + // InternalApplicationConfiguration.g:4645:1: ( ( rule__PatternSpecification__Group_2__0 )* ) { - // InternalApplicationConfiguration.g:4874:1: ( ( rule__PatternSpecification__Group_2__0 )* ) - // InternalApplicationConfiguration.g:4875:2: ( rule__PatternSpecification__Group_2__0 )* + // InternalApplicationConfiguration.g:4645:1: ( ( rule__PatternSpecification__Group_2__0 )* ) + // InternalApplicationConfiguration.g:4646:2: ( rule__PatternSpecification__Group_2__0 )* { before(grammarAccess.getPatternSpecificationAccess().getGroup_2()); - // InternalApplicationConfiguration.g:4876:2: ( rule__PatternSpecification__Group_2__0 )* - loop48: + // InternalApplicationConfiguration.g:4647:2: ( rule__PatternSpecification__Group_2__0 )* + loop46: do { - int alt48=2; - int LA48_0 = input.LA(1); + int alt46=2; + int LA46_0 = input.LA(1); - if ( (LA48_0==33) ) { - alt48=1; + if ( (LA46_0==32) ) { + alt46=1; } - switch (alt48) { + switch (alt46) { case 1 : - // InternalApplicationConfiguration.g:4876:3: rule__PatternSpecification__Group_2__0 + // InternalApplicationConfiguration.g:4647:3: rule__PatternSpecification__Group_2__0 { - pushFollow(FOLLOW_17); + pushFollow(FOLLOW_16); rule__PatternSpecification__Group_2__0(); state._fsp--; @@ -15727,7 +14994,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont break; default : - break loop48; + break loop46; } } while (true); @@ -15754,14 +15021,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__PatternSpecification__Group__3" - // InternalApplicationConfiguration.g:4884:1: rule__PatternSpecification__Group__3 : rule__PatternSpecification__Group__3__Impl ; + // InternalApplicationConfiguration.g:4655:1: rule__PatternSpecification__Group__3 : rule__PatternSpecification__Group__3__Impl ; public final void rule__PatternSpecification__Group__3() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4888:1: ( rule__PatternSpecification__Group__3__Impl ) - // InternalApplicationConfiguration.g:4889:2: rule__PatternSpecification__Group__3__Impl + // InternalApplicationConfiguration.g:4659:1: ( rule__PatternSpecification__Group__3__Impl ) + // InternalApplicationConfiguration.g:4660:2: rule__PatternSpecification__Group__3__Impl { pushFollow(FOLLOW_2); rule__PatternSpecification__Group__3__Impl(); @@ -15787,20 +15054,20 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__PatternSpecification__Group__3__Impl" - // InternalApplicationConfiguration.g:4895:1: rule__PatternSpecification__Group__3__Impl : ( '}' ) ; + // InternalApplicationConfiguration.g:4666:1: rule__PatternSpecification__Group__3__Impl : ( '}' ) ; public final void rule__PatternSpecification__Group__3__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4899:1: ( ( '}' ) ) - // InternalApplicationConfiguration.g:4900:1: ( '}' ) + // InternalApplicationConfiguration.g:4670:1: ( ( '}' ) ) + // InternalApplicationConfiguration.g:4671:1: ( '}' ) { - // InternalApplicationConfiguration.g:4900:1: ( '}' ) - // InternalApplicationConfiguration.g:4901:2: '}' + // InternalApplicationConfiguration.g:4671:1: ( '}' ) + // InternalApplicationConfiguration.g:4672:2: '}' { before(grammarAccess.getPatternSpecificationAccess().getRightCurlyBracketKeyword_3()); - match(input,32,FOLLOW_2); + match(input,31,FOLLOW_2); after(grammarAccess.getPatternSpecificationAccess().getRightCurlyBracketKeyword_3()); } @@ -15824,16 +15091,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__PatternSpecification__Group_2__0" - // InternalApplicationConfiguration.g:4911:1: rule__PatternSpecification__Group_2__0 : rule__PatternSpecification__Group_2__0__Impl rule__PatternSpecification__Group_2__1 ; + // InternalApplicationConfiguration.g:4682:1: rule__PatternSpecification__Group_2__0 : rule__PatternSpecification__Group_2__0__Impl rule__PatternSpecification__Group_2__1 ; public final void rule__PatternSpecification__Group_2__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4915:1: ( rule__PatternSpecification__Group_2__0__Impl rule__PatternSpecification__Group_2__1 ) - // InternalApplicationConfiguration.g:4916:2: rule__PatternSpecification__Group_2__0__Impl rule__PatternSpecification__Group_2__1 + // InternalApplicationConfiguration.g:4686:1: ( rule__PatternSpecification__Group_2__0__Impl rule__PatternSpecification__Group_2__1 ) + // InternalApplicationConfiguration.g:4687:2: rule__PatternSpecification__Group_2__0__Impl rule__PatternSpecification__Group_2__1 { - pushFollow(FOLLOW_15); + pushFollow(FOLLOW_14); rule__PatternSpecification__Group_2__0__Impl(); state._fsp--; @@ -15862,20 +15129,20 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__PatternSpecification__Group_2__0__Impl" - // InternalApplicationConfiguration.g:4923:1: rule__PatternSpecification__Group_2__0__Impl : ( ',' ) ; + // InternalApplicationConfiguration.g:4694:1: rule__PatternSpecification__Group_2__0__Impl : ( ',' ) ; public final void rule__PatternSpecification__Group_2__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4927:1: ( ( ',' ) ) - // InternalApplicationConfiguration.g:4928:1: ( ',' ) + // InternalApplicationConfiguration.g:4698:1: ( ( ',' ) ) + // InternalApplicationConfiguration.g:4699:1: ( ',' ) { - // InternalApplicationConfiguration.g:4928:1: ( ',' ) - // InternalApplicationConfiguration.g:4929:2: ',' + // InternalApplicationConfiguration.g:4699:1: ( ',' ) + // InternalApplicationConfiguration.g:4700:2: ',' { before(grammarAccess.getPatternSpecificationAccess().getCommaKeyword_2_0()); - match(input,33,FOLLOW_2); + match(input,32,FOLLOW_2); after(grammarAccess.getPatternSpecificationAccess().getCommaKeyword_2_0()); } @@ -15899,14 +15166,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__PatternSpecification__Group_2__1" - // InternalApplicationConfiguration.g:4938:1: rule__PatternSpecification__Group_2__1 : rule__PatternSpecification__Group_2__1__Impl ; + // InternalApplicationConfiguration.g:4709:1: rule__PatternSpecification__Group_2__1 : rule__PatternSpecification__Group_2__1__Impl ; public final void rule__PatternSpecification__Group_2__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4942:1: ( rule__PatternSpecification__Group_2__1__Impl ) - // InternalApplicationConfiguration.g:4943:2: rule__PatternSpecification__Group_2__1__Impl + // InternalApplicationConfiguration.g:4713:1: ( rule__PatternSpecification__Group_2__1__Impl ) + // InternalApplicationConfiguration.g:4714:2: rule__PatternSpecification__Group_2__1__Impl { pushFollow(FOLLOW_2); rule__PatternSpecification__Group_2__1__Impl(); @@ -15932,21 +15199,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__PatternSpecification__Group_2__1__Impl" - // InternalApplicationConfiguration.g:4949:1: rule__PatternSpecification__Group_2__1__Impl : ( ( rule__PatternSpecification__EntriesAssignment_2_1 ) ) ; + // InternalApplicationConfiguration.g:4720:1: rule__PatternSpecification__Group_2__1__Impl : ( ( rule__PatternSpecification__EntriesAssignment_2_1 ) ) ; public final void rule__PatternSpecification__Group_2__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4953:1: ( ( ( rule__PatternSpecification__EntriesAssignment_2_1 ) ) ) - // InternalApplicationConfiguration.g:4954:1: ( ( rule__PatternSpecification__EntriesAssignment_2_1 ) ) + // InternalApplicationConfiguration.g:4724:1: ( ( ( rule__PatternSpecification__EntriesAssignment_2_1 ) ) ) + // InternalApplicationConfiguration.g:4725:1: ( ( rule__PatternSpecification__EntriesAssignment_2_1 ) ) { - // InternalApplicationConfiguration.g:4954:1: ( ( rule__PatternSpecification__EntriesAssignment_2_1 ) ) - // InternalApplicationConfiguration.g:4955:2: ( rule__PatternSpecification__EntriesAssignment_2_1 ) + // InternalApplicationConfiguration.g:4725:1: ( ( rule__PatternSpecification__EntriesAssignment_2_1 ) ) + // InternalApplicationConfiguration.g:4726:2: ( rule__PatternSpecification__EntriesAssignment_2_1 ) { before(grammarAccess.getPatternSpecificationAccess().getEntriesAssignment_2_1()); - // InternalApplicationConfiguration.g:4956:2: ( rule__PatternSpecification__EntriesAssignment_2_1 ) - // InternalApplicationConfiguration.g:4956:3: rule__PatternSpecification__EntriesAssignment_2_1 + // InternalApplicationConfiguration.g:4727:2: ( rule__PatternSpecification__EntriesAssignment_2_1 ) + // InternalApplicationConfiguration.g:4727:3: rule__PatternSpecification__EntriesAssignment_2_1 { pushFollow(FOLLOW_2); rule__PatternSpecification__EntriesAssignment_2_1(); @@ -15979,14 +15246,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__AllPatternEntry__Group__0" - // InternalApplicationConfiguration.g:4965:1: rule__AllPatternEntry__Group__0 : rule__AllPatternEntry__Group__0__Impl rule__AllPatternEntry__Group__1 ; + // InternalApplicationConfiguration.g:4736:1: rule__AllPatternEntry__Group__0 : rule__AllPatternEntry__Group__0__Impl rule__AllPatternEntry__Group__1 ; public final void rule__AllPatternEntry__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4969:1: ( rule__AllPatternEntry__Group__0__Impl rule__AllPatternEntry__Group__1 ) - // InternalApplicationConfiguration.g:4970:2: rule__AllPatternEntry__Group__0__Impl rule__AllPatternEntry__Group__1 + // InternalApplicationConfiguration.g:4740:1: ( rule__AllPatternEntry__Group__0__Impl rule__AllPatternEntry__Group__1 ) + // InternalApplicationConfiguration.g:4741:2: rule__AllPatternEntry__Group__0__Impl rule__AllPatternEntry__Group__1 { pushFollow(FOLLOW_8); rule__AllPatternEntry__Group__0__Impl(); @@ -16017,20 +15284,20 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__AllPatternEntry__Group__0__Impl" - // InternalApplicationConfiguration.g:4977:1: rule__AllPatternEntry__Group__0__Impl : ( 'package' ) ; + // InternalApplicationConfiguration.g:4748:1: rule__AllPatternEntry__Group__0__Impl : ( 'package' ) ; public final void rule__AllPatternEntry__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4981:1: ( ( 'package' ) ) - // InternalApplicationConfiguration.g:4982:1: ( 'package' ) + // InternalApplicationConfiguration.g:4752:1: ( ( 'package' ) ) + // InternalApplicationConfiguration.g:4753:1: ( 'package' ) { - // InternalApplicationConfiguration.g:4982:1: ( 'package' ) - // InternalApplicationConfiguration.g:4983:2: 'package' + // InternalApplicationConfiguration.g:4753:1: ( 'package' ) + // InternalApplicationConfiguration.g:4754:2: 'package' { before(grammarAccess.getAllPatternEntryAccess().getPackageKeyword_0()); - match(input,34,FOLLOW_2); + match(input,33,FOLLOW_2); after(grammarAccess.getAllPatternEntryAccess().getPackageKeyword_0()); } @@ -16054,16 +15321,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__AllPatternEntry__Group__1" - // InternalApplicationConfiguration.g:4992:1: rule__AllPatternEntry__Group__1 : rule__AllPatternEntry__Group__1__Impl rule__AllPatternEntry__Group__2 ; + // InternalApplicationConfiguration.g:4763:1: rule__AllPatternEntry__Group__1 : rule__AllPatternEntry__Group__1__Impl rule__AllPatternEntry__Group__2 ; public final void rule__AllPatternEntry__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:4996:1: ( rule__AllPatternEntry__Group__1__Impl rule__AllPatternEntry__Group__2 ) - // InternalApplicationConfiguration.g:4997:2: rule__AllPatternEntry__Group__1__Impl rule__AllPatternEntry__Group__2 + // InternalApplicationConfiguration.g:4767:1: ( rule__AllPatternEntry__Group__1__Impl rule__AllPatternEntry__Group__2 ) + // InternalApplicationConfiguration.g:4768:2: rule__AllPatternEntry__Group__1__Impl rule__AllPatternEntry__Group__2 { - pushFollow(FOLLOW_18); + pushFollow(FOLLOW_17); rule__AllPatternEntry__Group__1__Impl(); state._fsp--; @@ -16092,21 +15359,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__AllPatternEntry__Group__1__Impl" - // InternalApplicationConfiguration.g:5004:1: rule__AllPatternEntry__Group__1__Impl : ( ( rule__AllPatternEntry__PackageAssignment_1 ) ) ; + // InternalApplicationConfiguration.g:4775:1: rule__AllPatternEntry__Group__1__Impl : ( ( rule__AllPatternEntry__PackageAssignment_1 ) ) ; public final void rule__AllPatternEntry__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:5008:1: ( ( ( rule__AllPatternEntry__PackageAssignment_1 ) ) ) - // InternalApplicationConfiguration.g:5009:1: ( ( rule__AllPatternEntry__PackageAssignment_1 ) ) + // InternalApplicationConfiguration.g:4779:1: ( ( ( rule__AllPatternEntry__PackageAssignment_1 ) ) ) + // InternalApplicationConfiguration.g:4780:1: ( ( rule__AllPatternEntry__PackageAssignment_1 ) ) { - // InternalApplicationConfiguration.g:5009:1: ( ( rule__AllPatternEntry__PackageAssignment_1 ) ) - // InternalApplicationConfiguration.g:5010:2: ( rule__AllPatternEntry__PackageAssignment_1 ) + // InternalApplicationConfiguration.g:4780:1: ( ( rule__AllPatternEntry__PackageAssignment_1 ) ) + // InternalApplicationConfiguration.g:4781:2: ( rule__AllPatternEntry__PackageAssignment_1 ) { before(grammarAccess.getAllPatternEntryAccess().getPackageAssignment_1()); - // InternalApplicationConfiguration.g:5011:2: ( rule__AllPatternEntry__PackageAssignment_1 ) - // InternalApplicationConfiguration.g:5011:3: rule__AllPatternEntry__PackageAssignment_1 + // InternalApplicationConfiguration.g:4782:2: ( rule__AllPatternEntry__PackageAssignment_1 ) + // InternalApplicationConfiguration.g:4782:3: rule__AllPatternEntry__PackageAssignment_1 { pushFollow(FOLLOW_2); rule__AllPatternEntry__PackageAssignment_1(); @@ -16139,14 +15406,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__AllPatternEntry__Group__2" - // InternalApplicationConfiguration.g:5019:1: rule__AllPatternEntry__Group__2 : rule__AllPatternEntry__Group__2__Impl ; + // InternalApplicationConfiguration.g:4790:1: rule__AllPatternEntry__Group__2 : rule__AllPatternEntry__Group__2__Impl ; public final void rule__AllPatternEntry__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:5023:1: ( rule__AllPatternEntry__Group__2__Impl ) - // InternalApplicationConfiguration.g:5024:2: rule__AllPatternEntry__Group__2__Impl + // InternalApplicationConfiguration.g:4794:1: ( rule__AllPatternEntry__Group__2__Impl ) + // InternalApplicationConfiguration.g:4795:2: rule__AllPatternEntry__Group__2__Impl { pushFollow(FOLLOW_2); rule__AllPatternEntry__Group__2__Impl(); @@ -16172,29 +15439,29 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__AllPatternEntry__Group__2__Impl" - // InternalApplicationConfiguration.g:5030:1: rule__AllPatternEntry__Group__2__Impl : ( ( rule__AllPatternEntry__Group_2__0 )? ) ; + // InternalApplicationConfiguration.g:4801:1: rule__AllPatternEntry__Group__2__Impl : ( ( rule__AllPatternEntry__Group_2__0 )? ) ; public final void rule__AllPatternEntry__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:5034:1: ( ( ( rule__AllPatternEntry__Group_2__0 )? ) ) - // InternalApplicationConfiguration.g:5035:1: ( ( rule__AllPatternEntry__Group_2__0 )? ) + // InternalApplicationConfiguration.g:4805:1: ( ( ( rule__AllPatternEntry__Group_2__0 )? ) ) + // InternalApplicationConfiguration.g:4806:1: ( ( rule__AllPatternEntry__Group_2__0 )? ) { - // InternalApplicationConfiguration.g:5035:1: ( ( rule__AllPatternEntry__Group_2__0 )? ) - // InternalApplicationConfiguration.g:5036:2: ( rule__AllPatternEntry__Group_2__0 )? + // InternalApplicationConfiguration.g:4806:1: ( ( rule__AllPatternEntry__Group_2__0 )? ) + // InternalApplicationConfiguration.g:4807:2: ( rule__AllPatternEntry__Group_2__0 )? { before(grammarAccess.getAllPatternEntryAccess().getGroup_2()); - // InternalApplicationConfiguration.g:5037:2: ( rule__AllPatternEntry__Group_2__0 )? - int alt49=2; - int LA49_0 = input.LA(1); + // InternalApplicationConfiguration.g:4808:2: ( rule__AllPatternEntry__Group_2__0 )? + int alt47=2; + int LA47_0 = input.LA(1); - if ( (LA49_0==35) ) { - alt49=1; + if ( (LA47_0==34) ) { + alt47=1; } - switch (alt49) { + switch (alt47) { case 1 : - // InternalApplicationConfiguration.g:5037:3: rule__AllPatternEntry__Group_2__0 + // InternalApplicationConfiguration.g:4808:3: rule__AllPatternEntry__Group_2__0 { pushFollow(FOLLOW_2); rule__AllPatternEntry__Group_2__0(); @@ -16230,16 +15497,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__AllPatternEntry__Group_2__0" - // InternalApplicationConfiguration.g:5046:1: rule__AllPatternEntry__Group_2__0 : rule__AllPatternEntry__Group_2__0__Impl rule__AllPatternEntry__Group_2__1 ; + // InternalApplicationConfiguration.g:4817:1: rule__AllPatternEntry__Group_2__0 : rule__AllPatternEntry__Group_2__0__Impl rule__AllPatternEntry__Group_2__1 ; public final void rule__AllPatternEntry__Group_2__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:5050:1: ( rule__AllPatternEntry__Group_2__0__Impl rule__AllPatternEntry__Group_2__1 ) - // InternalApplicationConfiguration.g:5051:2: rule__AllPatternEntry__Group_2__0__Impl rule__AllPatternEntry__Group_2__1 + // InternalApplicationConfiguration.g:4821:1: ( rule__AllPatternEntry__Group_2__0__Impl rule__AllPatternEntry__Group_2__1 ) + // InternalApplicationConfiguration.g:4822:2: rule__AllPatternEntry__Group_2__0__Impl rule__AllPatternEntry__Group_2__1 { - pushFollow(FOLLOW_19); + pushFollow(FOLLOW_18); rule__AllPatternEntry__Group_2__0__Impl(); state._fsp--; @@ -16268,20 +15535,20 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__AllPatternEntry__Group_2__0__Impl" - // InternalApplicationConfiguration.g:5058:1: rule__AllPatternEntry__Group_2__0__Impl : ( 'excluding' ) ; + // InternalApplicationConfiguration.g:4829:1: rule__AllPatternEntry__Group_2__0__Impl : ( 'excluding' ) ; public final void rule__AllPatternEntry__Group_2__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:5062:1: ( ( 'excluding' ) ) - // InternalApplicationConfiguration.g:5063:1: ( 'excluding' ) + // InternalApplicationConfiguration.g:4833:1: ( ( 'excluding' ) ) + // InternalApplicationConfiguration.g:4834:1: ( 'excluding' ) { - // InternalApplicationConfiguration.g:5063:1: ( 'excluding' ) - // InternalApplicationConfiguration.g:5064:2: 'excluding' + // InternalApplicationConfiguration.g:4834:1: ( 'excluding' ) + // InternalApplicationConfiguration.g:4835:2: 'excluding' { before(grammarAccess.getAllPatternEntryAccess().getExcludingKeyword_2_0()); - match(input,35,FOLLOW_2); + match(input,34,FOLLOW_2); after(grammarAccess.getAllPatternEntryAccess().getExcludingKeyword_2_0()); } @@ -16305,14 +15572,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__AllPatternEntry__Group_2__1" - // InternalApplicationConfiguration.g:5073:1: rule__AllPatternEntry__Group_2__1 : rule__AllPatternEntry__Group_2__1__Impl rule__AllPatternEntry__Group_2__2 ; + // InternalApplicationConfiguration.g:4844:1: rule__AllPatternEntry__Group_2__1 : rule__AllPatternEntry__Group_2__1__Impl rule__AllPatternEntry__Group_2__2 ; public final void rule__AllPatternEntry__Group_2__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:5077:1: ( rule__AllPatternEntry__Group_2__1__Impl rule__AllPatternEntry__Group_2__2 ) - // InternalApplicationConfiguration.g:5078:2: rule__AllPatternEntry__Group_2__1__Impl rule__AllPatternEntry__Group_2__2 + // InternalApplicationConfiguration.g:4848:1: ( rule__AllPatternEntry__Group_2__1__Impl rule__AllPatternEntry__Group_2__2 ) + // InternalApplicationConfiguration.g:4849:2: rule__AllPatternEntry__Group_2__1__Impl rule__AllPatternEntry__Group_2__2 { pushFollow(FOLLOW_8); rule__AllPatternEntry__Group_2__1__Impl(); @@ -16343,20 +15610,20 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__AllPatternEntry__Group_2__1__Impl" - // InternalApplicationConfiguration.g:5085:1: rule__AllPatternEntry__Group_2__1__Impl : ( '{' ) ; + // InternalApplicationConfiguration.g:4856:1: rule__AllPatternEntry__Group_2__1__Impl : ( '{' ) ; public final void rule__AllPatternEntry__Group_2__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:5089:1: ( ( '{' ) ) - // InternalApplicationConfiguration.g:5090:1: ( '{' ) + // InternalApplicationConfiguration.g:4860:1: ( ( '{' ) ) + // InternalApplicationConfiguration.g:4861:1: ( '{' ) { - // InternalApplicationConfiguration.g:5090:1: ( '{' ) - // InternalApplicationConfiguration.g:5091:2: '{' + // InternalApplicationConfiguration.g:4861:1: ( '{' ) + // InternalApplicationConfiguration.g:4862:2: '{' { before(grammarAccess.getAllPatternEntryAccess().getLeftCurlyBracketKeyword_2_1()); - match(input,31,FOLLOW_2); + match(input,30,FOLLOW_2); after(grammarAccess.getAllPatternEntryAccess().getLeftCurlyBracketKeyword_2_1()); } @@ -16380,16 +15647,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__AllPatternEntry__Group_2__2" - // InternalApplicationConfiguration.g:5100:1: rule__AllPatternEntry__Group_2__2 : rule__AllPatternEntry__Group_2__2__Impl rule__AllPatternEntry__Group_2__3 ; + // InternalApplicationConfiguration.g:4871:1: rule__AllPatternEntry__Group_2__2 : rule__AllPatternEntry__Group_2__2__Impl rule__AllPatternEntry__Group_2__3 ; public final void rule__AllPatternEntry__Group_2__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:5104:1: ( rule__AllPatternEntry__Group_2__2__Impl rule__AllPatternEntry__Group_2__3 ) - // InternalApplicationConfiguration.g:5105:2: rule__AllPatternEntry__Group_2__2__Impl rule__AllPatternEntry__Group_2__3 + // InternalApplicationConfiguration.g:4875:1: ( rule__AllPatternEntry__Group_2__2__Impl rule__AllPatternEntry__Group_2__3 ) + // InternalApplicationConfiguration.g:4876:2: rule__AllPatternEntry__Group_2__2__Impl rule__AllPatternEntry__Group_2__3 { - pushFollow(FOLLOW_16); + pushFollow(FOLLOW_15); rule__AllPatternEntry__Group_2__2__Impl(); state._fsp--; @@ -16418,21 +15685,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__AllPatternEntry__Group_2__2__Impl" - // InternalApplicationConfiguration.g:5112:1: rule__AllPatternEntry__Group_2__2__Impl : ( ( rule__AllPatternEntry__ExclusuionAssignment_2_2 ) ) ; + // InternalApplicationConfiguration.g:4883:1: rule__AllPatternEntry__Group_2__2__Impl : ( ( rule__AllPatternEntry__ExclusuionAssignment_2_2 ) ) ; public final void rule__AllPatternEntry__Group_2__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:5116:1: ( ( ( rule__AllPatternEntry__ExclusuionAssignment_2_2 ) ) ) - // InternalApplicationConfiguration.g:5117:1: ( ( rule__AllPatternEntry__ExclusuionAssignment_2_2 ) ) + // InternalApplicationConfiguration.g:4887:1: ( ( ( rule__AllPatternEntry__ExclusuionAssignment_2_2 ) ) ) + // InternalApplicationConfiguration.g:4888:1: ( ( rule__AllPatternEntry__ExclusuionAssignment_2_2 ) ) { - // InternalApplicationConfiguration.g:5117:1: ( ( rule__AllPatternEntry__ExclusuionAssignment_2_2 ) ) - // InternalApplicationConfiguration.g:5118:2: ( rule__AllPatternEntry__ExclusuionAssignment_2_2 ) + // InternalApplicationConfiguration.g:4888:1: ( ( rule__AllPatternEntry__ExclusuionAssignment_2_2 ) ) + // InternalApplicationConfiguration.g:4889:2: ( rule__AllPatternEntry__ExclusuionAssignment_2_2 ) { before(grammarAccess.getAllPatternEntryAccess().getExclusuionAssignment_2_2()); - // InternalApplicationConfiguration.g:5119:2: ( rule__AllPatternEntry__ExclusuionAssignment_2_2 ) - // InternalApplicationConfiguration.g:5119:3: rule__AllPatternEntry__ExclusuionAssignment_2_2 + // InternalApplicationConfiguration.g:4890:2: ( rule__AllPatternEntry__ExclusuionAssignment_2_2 ) + // InternalApplicationConfiguration.g:4890:3: rule__AllPatternEntry__ExclusuionAssignment_2_2 { pushFollow(FOLLOW_2); rule__AllPatternEntry__ExclusuionAssignment_2_2(); @@ -16465,16 +15732,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__AllPatternEntry__Group_2__3" - // InternalApplicationConfiguration.g:5127:1: rule__AllPatternEntry__Group_2__3 : rule__AllPatternEntry__Group_2__3__Impl rule__AllPatternEntry__Group_2__4 ; + // InternalApplicationConfiguration.g:4898:1: rule__AllPatternEntry__Group_2__3 : rule__AllPatternEntry__Group_2__3__Impl rule__AllPatternEntry__Group_2__4 ; public final void rule__AllPatternEntry__Group_2__3() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:5131:1: ( rule__AllPatternEntry__Group_2__3__Impl rule__AllPatternEntry__Group_2__4 ) - // InternalApplicationConfiguration.g:5132:2: rule__AllPatternEntry__Group_2__3__Impl rule__AllPatternEntry__Group_2__4 + // InternalApplicationConfiguration.g:4902:1: ( rule__AllPatternEntry__Group_2__3__Impl rule__AllPatternEntry__Group_2__4 ) + // InternalApplicationConfiguration.g:4903:2: rule__AllPatternEntry__Group_2__3__Impl rule__AllPatternEntry__Group_2__4 { - pushFollow(FOLLOW_16); + pushFollow(FOLLOW_15); rule__AllPatternEntry__Group_2__3__Impl(); state._fsp--; @@ -16503,35 +15770,35 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__AllPatternEntry__Group_2__3__Impl" - // InternalApplicationConfiguration.g:5139:1: rule__AllPatternEntry__Group_2__3__Impl : ( ( rule__AllPatternEntry__Group_2_3__0 )* ) ; + // InternalApplicationConfiguration.g:4910:1: rule__AllPatternEntry__Group_2__3__Impl : ( ( rule__AllPatternEntry__Group_2_3__0 )* ) ; public final void rule__AllPatternEntry__Group_2__3__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:5143:1: ( ( ( rule__AllPatternEntry__Group_2_3__0 )* ) ) - // InternalApplicationConfiguration.g:5144:1: ( ( rule__AllPatternEntry__Group_2_3__0 )* ) + // InternalApplicationConfiguration.g:4914:1: ( ( ( rule__AllPatternEntry__Group_2_3__0 )* ) ) + // InternalApplicationConfiguration.g:4915:1: ( ( rule__AllPatternEntry__Group_2_3__0 )* ) { - // InternalApplicationConfiguration.g:5144:1: ( ( rule__AllPatternEntry__Group_2_3__0 )* ) - // InternalApplicationConfiguration.g:5145:2: ( rule__AllPatternEntry__Group_2_3__0 )* + // InternalApplicationConfiguration.g:4915:1: ( ( rule__AllPatternEntry__Group_2_3__0 )* ) + // InternalApplicationConfiguration.g:4916:2: ( rule__AllPatternEntry__Group_2_3__0 )* { before(grammarAccess.getAllPatternEntryAccess().getGroup_2_3()); - // InternalApplicationConfiguration.g:5146:2: ( rule__AllPatternEntry__Group_2_3__0 )* - loop50: + // InternalApplicationConfiguration.g:4917:2: ( rule__AllPatternEntry__Group_2_3__0 )* + loop48: do { - int alt50=2; - int LA50_0 = input.LA(1); + int alt48=2; + int LA48_0 = input.LA(1); - if ( (LA50_0==33) ) { - alt50=1; + if ( (LA48_0==32) ) { + alt48=1; } - switch (alt50) { + switch (alt48) { case 1 : - // InternalApplicationConfiguration.g:5146:3: rule__AllPatternEntry__Group_2_3__0 + // InternalApplicationConfiguration.g:4917:3: rule__AllPatternEntry__Group_2_3__0 { - pushFollow(FOLLOW_17); + pushFollow(FOLLOW_16); rule__AllPatternEntry__Group_2_3__0(); state._fsp--; @@ -16541,7 +15808,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont break; default : - break loop50; + break loop48; } } while (true); @@ -16568,14 +15835,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__AllPatternEntry__Group_2__4" - // InternalApplicationConfiguration.g:5154:1: rule__AllPatternEntry__Group_2__4 : rule__AllPatternEntry__Group_2__4__Impl ; + // InternalApplicationConfiguration.g:4925:1: rule__AllPatternEntry__Group_2__4 : rule__AllPatternEntry__Group_2__4__Impl ; public final void rule__AllPatternEntry__Group_2__4() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:5158:1: ( rule__AllPatternEntry__Group_2__4__Impl ) - // InternalApplicationConfiguration.g:5159:2: rule__AllPatternEntry__Group_2__4__Impl + // InternalApplicationConfiguration.g:4929:1: ( rule__AllPatternEntry__Group_2__4__Impl ) + // InternalApplicationConfiguration.g:4930:2: rule__AllPatternEntry__Group_2__4__Impl { pushFollow(FOLLOW_2); rule__AllPatternEntry__Group_2__4__Impl(); @@ -16601,20 +15868,20 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__AllPatternEntry__Group_2__4__Impl" - // InternalApplicationConfiguration.g:5165:1: rule__AllPatternEntry__Group_2__4__Impl : ( '}' ) ; + // InternalApplicationConfiguration.g:4936:1: rule__AllPatternEntry__Group_2__4__Impl : ( '}' ) ; public final void rule__AllPatternEntry__Group_2__4__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:5169:1: ( ( '}' ) ) - // InternalApplicationConfiguration.g:5170:1: ( '}' ) + // InternalApplicationConfiguration.g:4940:1: ( ( '}' ) ) + // InternalApplicationConfiguration.g:4941:1: ( '}' ) { - // InternalApplicationConfiguration.g:5170:1: ( '}' ) - // InternalApplicationConfiguration.g:5171:2: '}' + // InternalApplicationConfiguration.g:4941:1: ( '}' ) + // InternalApplicationConfiguration.g:4942:2: '}' { before(grammarAccess.getAllPatternEntryAccess().getRightCurlyBracketKeyword_2_4()); - match(input,32,FOLLOW_2); + match(input,31,FOLLOW_2); after(grammarAccess.getAllPatternEntryAccess().getRightCurlyBracketKeyword_2_4()); } @@ -16638,14 +15905,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__AllPatternEntry__Group_2_3__0" - // InternalApplicationConfiguration.g:5181:1: rule__AllPatternEntry__Group_2_3__0 : rule__AllPatternEntry__Group_2_3__0__Impl rule__AllPatternEntry__Group_2_3__1 ; + // InternalApplicationConfiguration.g:4952:1: rule__AllPatternEntry__Group_2_3__0 : rule__AllPatternEntry__Group_2_3__0__Impl rule__AllPatternEntry__Group_2_3__1 ; public final void rule__AllPatternEntry__Group_2_3__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:5185:1: ( rule__AllPatternEntry__Group_2_3__0__Impl rule__AllPatternEntry__Group_2_3__1 ) - // InternalApplicationConfiguration.g:5186:2: rule__AllPatternEntry__Group_2_3__0__Impl rule__AllPatternEntry__Group_2_3__1 + // InternalApplicationConfiguration.g:4956:1: ( rule__AllPatternEntry__Group_2_3__0__Impl rule__AllPatternEntry__Group_2_3__1 ) + // InternalApplicationConfiguration.g:4957:2: rule__AllPatternEntry__Group_2_3__0__Impl rule__AllPatternEntry__Group_2_3__1 { pushFollow(FOLLOW_8); rule__AllPatternEntry__Group_2_3__0__Impl(); @@ -16676,20 +15943,20 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__AllPatternEntry__Group_2_3__0__Impl" - // InternalApplicationConfiguration.g:5193:1: rule__AllPatternEntry__Group_2_3__0__Impl : ( ',' ) ; + // InternalApplicationConfiguration.g:4964:1: rule__AllPatternEntry__Group_2_3__0__Impl : ( ',' ) ; public final void rule__AllPatternEntry__Group_2_3__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:5197:1: ( ( ',' ) ) - // InternalApplicationConfiguration.g:5198:1: ( ',' ) + // InternalApplicationConfiguration.g:4968:1: ( ( ',' ) ) + // InternalApplicationConfiguration.g:4969:1: ( ',' ) { - // InternalApplicationConfiguration.g:5198:1: ( ',' ) - // InternalApplicationConfiguration.g:5199:2: ',' + // InternalApplicationConfiguration.g:4969:1: ( ',' ) + // InternalApplicationConfiguration.g:4970:2: ',' { before(grammarAccess.getAllPatternEntryAccess().getCommaKeyword_2_3_0()); - match(input,33,FOLLOW_2); + match(input,32,FOLLOW_2); after(grammarAccess.getAllPatternEntryAccess().getCommaKeyword_2_3_0()); } @@ -16713,14 +15980,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__AllPatternEntry__Group_2_3__1" - // InternalApplicationConfiguration.g:5208:1: rule__AllPatternEntry__Group_2_3__1 : rule__AllPatternEntry__Group_2_3__1__Impl ; + // InternalApplicationConfiguration.g:4979:1: rule__AllPatternEntry__Group_2_3__1 : rule__AllPatternEntry__Group_2_3__1__Impl ; public final void rule__AllPatternEntry__Group_2_3__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:5212:1: ( rule__AllPatternEntry__Group_2_3__1__Impl ) - // InternalApplicationConfiguration.g:5213:2: rule__AllPatternEntry__Group_2_3__1__Impl + // InternalApplicationConfiguration.g:4983:1: ( rule__AllPatternEntry__Group_2_3__1__Impl ) + // InternalApplicationConfiguration.g:4984:2: rule__AllPatternEntry__Group_2_3__1__Impl { pushFollow(FOLLOW_2); rule__AllPatternEntry__Group_2_3__1__Impl(); @@ -16746,21 +16013,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__AllPatternEntry__Group_2_3__1__Impl" - // InternalApplicationConfiguration.g:5219:1: rule__AllPatternEntry__Group_2_3__1__Impl : ( ( rule__AllPatternEntry__ExclusuionAssignment_2_3_1 ) ) ; + // InternalApplicationConfiguration.g:4990:1: rule__AllPatternEntry__Group_2_3__1__Impl : ( ( rule__AllPatternEntry__ExclusuionAssignment_2_3_1 ) ) ; public final void rule__AllPatternEntry__Group_2_3__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:5223:1: ( ( ( rule__AllPatternEntry__ExclusuionAssignment_2_3_1 ) ) ) - // InternalApplicationConfiguration.g:5224:1: ( ( rule__AllPatternEntry__ExclusuionAssignment_2_3_1 ) ) + // InternalApplicationConfiguration.g:4994:1: ( ( ( rule__AllPatternEntry__ExclusuionAssignment_2_3_1 ) ) ) + // InternalApplicationConfiguration.g:4995:1: ( ( rule__AllPatternEntry__ExclusuionAssignment_2_3_1 ) ) { - // InternalApplicationConfiguration.g:5224:1: ( ( rule__AllPatternEntry__ExclusuionAssignment_2_3_1 ) ) - // InternalApplicationConfiguration.g:5225:2: ( rule__AllPatternEntry__ExclusuionAssignment_2_3_1 ) + // InternalApplicationConfiguration.g:4995:1: ( ( rule__AllPatternEntry__ExclusuionAssignment_2_3_1 ) ) + // InternalApplicationConfiguration.g:4996:2: ( rule__AllPatternEntry__ExclusuionAssignment_2_3_1 ) { before(grammarAccess.getAllPatternEntryAccess().getExclusuionAssignment_2_3_1()); - // InternalApplicationConfiguration.g:5226:2: ( rule__AllPatternEntry__ExclusuionAssignment_2_3_1 ) - // InternalApplicationConfiguration.g:5226:3: rule__AllPatternEntry__ExclusuionAssignment_2_3_1 + // InternalApplicationConfiguration.g:4997:2: ( rule__AllPatternEntry__ExclusuionAssignment_2_3_1 ) + // InternalApplicationConfiguration.g:4997:3: rule__AllPatternEntry__ExclusuionAssignment_2_3_1 { pushFollow(FOLLOW_2); rule__AllPatternEntry__ExclusuionAssignment_2_3_1(); @@ -16793,14 +16060,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__PatternElement__Group__0" - // InternalApplicationConfiguration.g:5235:1: rule__PatternElement__Group__0 : rule__PatternElement__Group__0__Impl rule__PatternElement__Group__1 ; + // InternalApplicationConfiguration.g:5006:1: rule__PatternElement__Group__0 : rule__PatternElement__Group__0__Impl rule__PatternElement__Group__1 ; public final void rule__PatternElement__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:5239:1: ( rule__PatternElement__Group__0__Impl rule__PatternElement__Group__1 ) - // InternalApplicationConfiguration.g:5240:2: rule__PatternElement__Group__0__Impl rule__PatternElement__Group__1 + // InternalApplicationConfiguration.g:5010:1: ( rule__PatternElement__Group__0__Impl rule__PatternElement__Group__1 ) + // InternalApplicationConfiguration.g:5011:2: rule__PatternElement__Group__0__Impl rule__PatternElement__Group__1 { pushFollow(FOLLOW_8); rule__PatternElement__Group__0__Impl(); @@ -16831,33 +16098,33 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__PatternElement__Group__0__Impl" - // InternalApplicationConfiguration.g:5247:1: rule__PatternElement__Group__0__Impl : ( ( rule__PatternElement__Group_0__0 )? ) ; + // InternalApplicationConfiguration.g:5018:1: rule__PatternElement__Group__0__Impl : ( ( rule__PatternElement__Group_0__0 )? ) ; public final void rule__PatternElement__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:5251:1: ( ( ( rule__PatternElement__Group_0__0 )? ) ) - // InternalApplicationConfiguration.g:5252:1: ( ( rule__PatternElement__Group_0__0 )? ) + // InternalApplicationConfiguration.g:5022:1: ( ( ( rule__PatternElement__Group_0__0 )? ) ) + // InternalApplicationConfiguration.g:5023:1: ( ( rule__PatternElement__Group_0__0 )? ) { - // InternalApplicationConfiguration.g:5252:1: ( ( rule__PatternElement__Group_0__0 )? ) - // InternalApplicationConfiguration.g:5253:2: ( rule__PatternElement__Group_0__0 )? + // InternalApplicationConfiguration.g:5023:1: ( ( rule__PatternElement__Group_0__0 )? ) + // InternalApplicationConfiguration.g:5024:2: ( rule__PatternElement__Group_0__0 )? { before(grammarAccess.getPatternElementAccess().getGroup_0()); - // InternalApplicationConfiguration.g:5254:2: ( rule__PatternElement__Group_0__0 )? - int alt51=2; - int LA51_0 = input.LA(1); + // InternalApplicationConfiguration.g:5025:2: ( rule__PatternElement__Group_0__0 )? + int alt49=2; + int LA49_0 = input.LA(1); - if ( (LA51_0==RULE_ID) ) { - int LA51_1 = input.LA(2); + if ( (LA49_0==RULE_ID) ) { + int LA49_1 = input.LA(2); - if ( (LA51_1==23||LA51_1==36) ) { - alt51=1; + if ( (LA49_1==23||LA49_1==35) ) { + alt49=1; } } - switch (alt51) { + switch (alt49) { case 1 : - // InternalApplicationConfiguration.g:5254:3: rule__PatternElement__Group_0__0 + // InternalApplicationConfiguration.g:5025:3: rule__PatternElement__Group_0__0 { pushFollow(FOLLOW_2); rule__PatternElement__Group_0__0(); @@ -16893,14 +16160,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__PatternElement__Group__1" - // InternalApplicationConfiguration.g:5262:1: rule__PatternElement__Group__1 : rule__PatternElement__Group__1__Impl ; + // InternalApplicationConfiguration.g:5033:1: rule__PatternElement__Group__1 : rule__PatternElement__Group__1__Impl ; public final void rule__PatternElement__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:5266:1: ( rule__PatternElement__Group__1__Impl ) - // InternalApplicationConfiguration.g:5267:2: rule__PatternElement__Group__1__Impl + // InternalApplicationConfiguration.g:5037:1: ( rule__PatternElement__Group__1__Impl ) + // InternalApplicationConfiguration.g:5038:2: rule__PatternElement__Group__1__Impl { pushFollow(FOLLOW_2); rule__PatternElement__Group__1__Impl(); @@ -16926,21 +16193,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__PatternElement__Group__1__Impl" - // InternalApplicationConfiguration.g:5273:1: rule__PatternElement__Group__1__Impl : ( ( rule__PatternElement__PatternAssignment_1 ) ) ; + // InternalApplicationConfiguration.g:5044:1: rule__PatternElement__Group__1__Impl : ( ( rule__PatternElement__PatternAssignment_1 ) ) ; public final void rule__PatternElement__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:5277:1: ( ( ( rule__PatternElement__PatternAssignment_1 ) ) ) - // InternalApplicationConfiguration.g:5278:1: ( ( rule__PatternElement__PatternAssignment_1 ) ) + // InternalApplicationConfiguration.g:5048:1: ( ( ( rule__PatternElement__PatternAssignment_1 ) ) ) + // InternalApplicationConfiguration.g:5049:1: ( ( rule__PatternElement__PatternAssignment_1 ) ) { - // InternalApplicationConfiguration.g:5278:1: ( ( rule__PatternElement__PatternAssignment_1 ) ) - // InternalApplicationConfiguration.g:5279:2: ( rule__PatternElement__PatternAssignment_1 ) + // InternalApplicationConfiguration.g:5049:1: ( ( rule__PatternElement__PatternAssignment_1 ) ) + // InternalApplicationConfiguration.g:5050:2: ( rule__PatternElement__PatternAssignment_1 ) { before(grammarAccess.getPatternElementAccess().getPatternAssignment_1()); - // InternalApplicationConfiguration.g:5280:2: ( rule__PatternElement__PatternAssignment_1 ) - // InternalApplicationConfiguration.g:5280:3: rule__PatternElement__PatternAssignment_1 + // InternalApplicationConfiguration.g:5051:2: ( rule__PatternElement__PatternAssignment_1 ) + // InternalApplicationConfiguration.g:5051:3: rule__PatternElement__PatternAssignment_1 { pushFollow(FOLLOW_2); rule__PatternElement__PatternAssignment_1(); @@ -16973,16 +16240,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__PatternElement__Group_0__0" - // InternalApplicationConfiguration.g:5289:1: rule__PatternElement__Group_0__0 : rule__PatternElement__Group_0__0__Impl rule__PatternElement__Group_0__1 ; + // InternalApplicationConfiguration.g:5060:1: rule__PatternElement__Group_0__0 : rule__PatternElement__Group_0__0__Impl rule__PatternElement__Group_0__1 ; public final void rule__PatternElement__Group_0__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:5293:1: ( rule__PatternElement__Group_0__0__Impl rule__PatternElement__Group_0__1 ) - // InternalApplicationConfiguration.g:5294:2: rule__PatternElement__Group_0__0__Impl rule__PatternElement__Group_0__1 + // InternalApplicationConfiguration.g:5064:1: ( rule__PatternElement__Group_0__0__Impl rule__PatternElement__Group_0__1 ) + // InternalApplicationConfiguration.g:5065:2: rule__PatternElement__Group_0__0__Impl rule__PatternElement__Group_0__1 { - pushFollow(FOLLOW_20); + pushFollow(FOLLOW_19); rule__PatternElement__Group_0__0__Impl(); state._fsp--; @@ -17011,21 +16278,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__PatternElement__Group_0__0__Impl" - // InternalApplicationConfiguration.g:5301:1: rule__PatternElement__Group_0__0__Impl : ( ( rule__PatternElement__PackageAssignment_0_0 ) ) ; + // InternalApplicationConfiguration.g:5072:1: rule__PatternElement__Group_0__0__Impl : ( ( rule__PatternElement__PackageAssignment_0_0 ) ) ; public final void rule__PatternElement__Group_0__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:5305:1: ( ( ( rule__PatternElement__PackageAssignment_0_0 ) ) ) - // InternalApplicationConfiguration.g:5306:1: ( ( rule__PatternElement__PackageAssignment_0_0 ) ) + // InternalApplicationConfiguration.g:5076:1: ( ( ( rule__PatternElement__PackageAssignment_0_0 ) ) ) + // InternalApplicationConfiguration.g:5077:1: ( ( rule__PatternElement__PackageAssignment_0_0 ) ) { - // InternalApplicationConfiguration.g:5306:1: ( ( rule__PatternElement__PackageAssignment_0_0 ) ) - // InternalApplicationConfiguration.g:5307:2: ( rule__PatternElement__PackageAssignment_0_0 ) + // InternalApplicationConfiguration.g:5077:1: ( ( rule__PatternElement__PackageAssignment_0_0 ) ) + // InternalApplicationConfiguration.g:5078:2: ( rule__PatternElement__PackageAssignment_0_0 ) { before(grammarAccess.getPatternElementAccess().getPackageAssignment_0_0()); - // InternalApplicationConfiguration.g:5308:2: ( rule__PatternElement__PackageAssignment_0_0 ) - // InternalApplicationConfiguration.g:5308:3: rule__PatternElement__PackageAssignment_0_0 + // InternalApplicationConfiguration.g:5079:2: ( rule__PatternElement__PackageAssignment_0_0 ) + // InternalApplicationConfiguration.g:5079:3: rule__PatternElement__PackageAssignment_0_0 { pushFollow(FOLLOW_2); rule__PatternElement__PackageAssignment_0_0(); @@ -17058,14 +16325,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__PatternElement__Group_0__1" - // InternalApplicationConfiguration.g:5316:1: rule__PatternElement__Group_0__1 : rule__PatternElement__Group_0__1__Impl ; + // InternalApplicationConfiguration.g:5087:1: rule__PatternElement__Group_0__1 : rule__PatternElement__Group_0__1__Impl ; public final void rule__PatternElement__Group_0__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:5320:1: ( rule__PatternElement__Group_0__1__Impl ) - // InternalApplicationConfiguration.g:5321:2: rule__PatternElement__Group_0__1__Impl + // InternalApplicationConfiguration.g:5091:1: ( rule__PatternElement__Group_0__1__Impl ) + // InternalApplicationConfiguration.g:5092:2: rule__PatternElement__Group_0__1__Impl { pushFollow(FOLLOW_2); rule__PatternElement__Group_0__1__Impl(); @@ -17091,20 +16358,20 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__PatternElement__Group_0__1__Impl" - // InternalApplicationConfiguration.g:5327:1: rule__PatternElement__Group_0__1__Impl : ( '::' ) ; + // InternalApplicationConfiguration.g:5098:1: rule__PatternElement__Group_0__1__Impl : ( '::' ) ; public final void rule__PatternElement__Group_0__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:5331:1: ( ( '::' ) ) - // InternalApplicationConfiguration.g:5332:1: ( '::' ) + // InternalApplicationConfiguration.g:5102:1: ( ( '::' ) ) + // InternalApplicationConfiguration.g:5103:1: ( '::' ) { - // InternalApplicationConfiguration.g:5332:1: ( '::' ) - // InternalApplicationConfiguration.g:5333:2: '::' + // InternalApplicationConfiguration.g:5103:1: ( '::' ) + // InternalApplicationConfiguration.g:5104:2: '::' { before(grammarAccess.getPatternElementAccess().getColonColonKeyword_0_1()); - match(input,36,FOLLOW_2); + match(input,35,FOLLOW_2); after(grammarAccess.getPatternElementAccess().getColonColonKeyword_0_1()); } @@ -17128,14 +16395,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GraphPatternDeclaration__Group__0" - // InternalApplicationConfiguration.g:5343:1: rule__GraphPatternDeclaration__Group__0 : rule__GraphPatternDeclaration__Group__0__Impl rule__GraphPatternDeclaration__Group__1 ; + // InternalApplicationConfiguration.g:5114:1: rule__GraphPatternDeclaration__Group__0 : rule__GraphPatternDeclaration__Group__0__Impl rule__GraphPatternDeclaration__Group__1 ; public final void rule__GraphPatternDeclaration__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:5347:1: ( rule__GraphPatternDeclaration__Group__0__Impl rule__GraphPatternDeclaration__Group__1 ) - // InternalApplicationConfiguration.g:5348:2: rule__GraphPatternDeclaration__Group__0__Impl rule__GraphPatternDeclaration__Group__1 + // InternalApplicationConfiguration.g:5118:1: ( rule__GraphPatternDeclaration__Group__0__Impl rule__GraphPatternDeclaration__Group__1 ) + // InternalApplicationConfiguration.g:5119:2: rule__GraphPatternDeclaration__Group__0__Impl rule__GraphPatternDeclaration__Group__1 { pushFollow(FOLLOW_8); rule__GraphPatternDeclaration__Group__0__Impl(); @@ -17166,20 +16433,20 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GraphPatternDeclaration__Group__0__Impl" - // InternalApplicationConfiguration.g:5355:1: rule__GraphPatternDeclaration__Group__0__Impl : ( 'constraints' ) ; + // InternalApplicationConfiguration.g:5126:1: rule__GraphPatternDeclaration__Group__0__Impl : ( 'constraints' ) ; public final void rule__GraphPatternDeclaration__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:5359:1: ( ( 'constraints' ) ) - // InternalApplicationConfiguration.g:5360:1: ( 'constraints' ) + // InternalApplicationConfiguration.g:5130:1: ( ( 'constraints' ) ) + // InternalApplicationConfiguration.g:5131:1: ( 'constraints' ) { - // InternalApplicationConfiguration.g:5360:1: ( 'constraints' ) - // InternalApplicationConfiguration.g:5361:2: 'constraints' + // InternalApplicationConfiguration.g:5131:1: ( 'constraints' ) + // InternalApplicationConfiguration.g:5132:2: 'constraints' { before(grammarAccess.getGraphPatternDeclarationAccess().getConstraintsKeyword_0()); - match(input,40,FOLLOW_2); + match(input,39,FOLLOW_2); after(grammarAccess.getGraphPatternDeclarationAccess().getConstraintsKeyword_0()); } @@ -17203,16 +16470,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GraphPatternDeclaration__Group__1" - // InternalApplicationConfiguration.g:5370:1: rule__GraphPatternDeclaration__Group__1 : rule__GraphPatternDeclaration__Group__1__Impl rule__GraphPatternDeclaration__Group__2 ; + // InternalApplicationConfiguration.g:5141:1: rule__GraphPatternDeclaration__Group__1 : rule__GraphPatternDeclaration__Group__1__Impl rule__GraphPatternDeclaration__Group__2 ; public final void rule__GraphPatternDeclaration__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:5374:1: ( rule__GraphPatternDeclaration__Group__1__Impl rule__GraphPatternDeclaration__Group__2 ) - // InternalApplicationConfiguration.g:5375:2: rule__GraphPatternDeclaration__Group__1__Impl rule__GraphPatternDeclaration__Group__2 + // InternalApplicationConfiguration.g:5145:1: ( rule__GraphPatternDeclaration__Group__1__Impl rule__GraphPatternDeclaration__Group__2 ) + // InternalApplicationConfiguration.g:5146:2: rule__GraphPatternDeclaration__Group__1__Impl rule__GraphPatternDeclaration__Group__2 { - pushFollow(FOLLOW_19); + pushFollow(FOLLOW_18); rule__GraphPatternDeclaration__Group__1__Impl(); state._fsp--; @@ -17241,21 +16508,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GraphPatternDeclaration__Group__1__Impl" - // InternalApplicationConfiguration.g:5382:1: rule__GraphPatternDeclaration__Group__1__Impl : ( ( rule__GraphPatternDeclaration__NameAssignment_1 ) ) ; + // InternalApplicationConfiguration.g:5153:1: rule__GraphPatternDeclaration__Group__1__Impl : ( ( rule__GraphPatternDeclaration__NameAssignment_1 ) ) ; public final void rule__GraphPatternDeclaration__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:5386:1: ( ( ( rule__GraphPatternDeclaration__NameAssignment_1 ) ) ) - // InternalApplicationConfiguration.g:5387:1: ( ( rule__GraphPatternDeclaration__NameAssignment_1 ) ) + // InternalApplicationConfiguration.g:5157:1: ( ( ( rule__GraphPatternDeclaration__NameAssignment_1 ) ) ) + // InternalApplicationConfiguration.g:5158:1: ( ( rule__GraphPatternDeclaration__NameAssignment_1 ) ) { - // InternalApplicationConfiguration.g:5387:1: ( ( rule__GraphPatternDeclaration__NameAssignment_1 ) ) - // InternalApplicationConfiguration.g:5388:2: ( rule__GraphPatternDeclaration__NameAssignment_1 ) + // InternalApplicationConfiguration.g:5158:1: ( ( rule__GraphPatternDeclaration__NameAssignment_1 ) ) + // InternalApplicationConfiguration.g:5159:2: ( rule__GraphPatternDeclaration__NameAssignment_1 ) { before(grammarAccess.getGraphPatternDeclarationAccess().getNameAssignment_1()); - // InternalApplicationConfiguration.g:5389:2: ( rule__GraphPatternDeclaration__NameAssignment_1 ) - // InternalApplicationConfiguration.g:5389:3: rule__GraphPatternDeclaration__NameAssignment_1 + // InternalApplicationConfiguration.g:5160:2: ( rule__GraphPatternDeclaration__NameAssignment_1 ) + // InternalApplicationConfiguration.g:5160:3: rule__GraphPatternDeclaration__NameAssignment_1 { pushFollow(FOLLOW_2); rule__GraphPatternDeclaration__NameAssignment_1(); @@ -17288,14 +16555,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GraphPatternDeclaration__Group__2" - // InternalApplicationConfiguration.g:5397:1: rule__GraphPatternDeclaration__Group__2 : rule__GraphPatternDeclaration__Group__2__Impl ; + // InternalApplicationConfiguration.g:5168:1: rule__GraphPatternDeclaration__Group__2 : rule__GraphPatternDeclaration__Group__2__Impl ; public final void rule__GraphPatternDeclaration__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:5401:1: ( rule__GraphPatternDeclaration__Group__2__Impl ) - // InternalApplicationConfiguration.g:5402:2: rule__GraphPatternDeclaration__Group__2__Impl + // InternalApplicationConfiguration.g:5172:1: ( rule__GraphPatternDeclaration__Group__2__Impl ) + // InternalApplicationConfiguration.g:5173:2: rule__GraphPatternDeclaration__Group__2__Impl { pushFollow(FOLLOW_2); rule__GraphPatternDeclaration__Group__2__Impl(); @@ -17321,21 +16588,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GraphPatternDeclaration__Group__2__Impl" - // InternalApplicationConfiguration.g:5408:1: rule__GraphPatternDeclaration__Group__2__Impl : ( ( rule__GraphPatternDeclaration__SpecificationAssignment_2 ) ) ; + // InternalApplicationConfiguration.g:5179:1: rule__GraphPatternDeclaration__Group__2__Impl : ( ( rule__GraphPatternDeclaration__SpecificationAssignment_2 ) ) ; public final void rule__GraphPatternDeclaration__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:5412:1: ( ( ( rule__GraphPatternDeclaration__SpecificationAssignment_2 ) ) ) - // InternalApplicationConfiguration.g:5413:1: ( ( rule__GraphPatternDeclaration__SpecificationAssignment_2 ) ) + // InternalApplicationConfiguration.g:5183:1: ( ( ( rule__GraphPatternDeclaration__SpecificationAssignment_2 ) ) ) + // InternalApplicationConfiguration.g:5184:1: ( ( rule__GraphPatternDeclaration__SpecificationAssignment_2 ) ) { - // InternalApplicationConfiguration.g:5413:1: ( ( rule__GraphPatternDeclaration__SpecificationAssignment_2 ) ) - // InternalApplicationConfiguration.g:5414:2: ( rule__GraphPatternDeclaration__SpecificationAssignment_2 ) + // InternalApplicationConfiguration.g:5184:1: ( ( rule__GraphPatternDeclaration__SpecificationAssignment_2 ) ) + // InternalApplicationConfiguration.g:5185:2: ( rule__GraphPatternDeclaration__SpecificationAssignment_2 ) { before(grammarAccess.getGraphPatternDeclarationAccess().getSpecificationAssignment_2()); - // InternalApplicationConfiguration.g:5415:2: ( rule__GraphPatternDeclaration__SpecificationAssignment_2 ) - // InternalApplicationConfiguration.g:5415:3: rule__GraphPatternDeclaration__SpecificationAssignment_2 + // InternalApplicationConfiguration.g:5186:2: ( rule__GraphPatternDeclaration__SpecificationAssignment_2 ) + // InternalApplicationConfiguration.g:5186:3: rule__GraphPatternDeclaration__SpecificationAssignment_2 { pushFollow(FOLLOW_2); rule__GraphPatternDeclaration__SpecificationAssignment_2(); @@ -17368,16 +16635,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ObjectiveSpecification__Group__0" - // InternalApplicationConfiguration.g:5424:1: rule__ObjectiveSpecification__Group__0 : rule__ObjectiveSpecification__Group__0__Impl rule__ObjectiveSpecification__Group__1 ; + // InternalApplicationConfiguration.g:5195:1: rule__ObjectiveSpecification__Group__0 : rule__ObjectiveSpecification__Group__0__Impl rule__ObjectiveSpecification__Group__1 ; public final void rule__ObjectiveSpecification__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:5428:1: ( rule__ObjectiveSpecification__Group__0__Impl rule__ObjectiveSpecification__Group__1 ) - // InternalApplicationConfiguration.g:5429:2: rule__ObjectiveSpecification__Group__0__Impl rule__ObjectiveSpecification__Group__1 + // InternalApplicationConfiguration.g:5199:1: ( rule__ObjectiveSpecification__Group__0__Impl rule__ObjectiveSpecification__Group__1 ) + // InternalApplicationConfiguration.g:5200:2: rule__ObjectiveSpecification__Group__0__Impl rule__ObjectiveSpecification__Group__1 { - pushFollow(FOLLOW_23); + pushFollow(FOLLOW_22); rule__ObjectiveSpecification__Group__0__Impl(); state._fsp--; @@ -17406,20 +16673,20 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ObjectiveSpecification__Group__0__Impl" - // InternalApplicationConfiguration.g:5436:1: rule__ObjectiveSpecification__Group__0__Impl : ( '{' ) ; + // InternalApplicationConfiguration.g:5207:1: rule__ObjectiveSpecification__Group__0__Impl : ( '{' ) ; public final void rule__ObjectiveSpecification__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:5440:1: ( ( '{' ) ) - // InternalApplicationConfiguration.g:5441:1: ( '{' ) + // InternalApplicationConfiguration.g:5211:1: ( ( '{' ) ) + // InternalApplicationConfiguration.g:5212:1: ( '{' ) { - // InternalApplicationConfiguration.g:5441:1: ( '{' ) - // InternalApplicationConfiguration.g:5442:2: '{' + // InternalApplicationConfiguration.g:5212:1: ( '{' ) + // InternalApplicationConfiguration.g:5213:2: '{' { before(grammarAccess.getObjectiveSpecificationAccess().getLeftCurlyBracketKeyword_0()); - match(input,31,FOLLOW_2); + match(input,30,FOLLOW_2); after(grammarAccess.getObjectiveSpecificationAccess().getLeftCurlyBracketKeyword_0()); } @@ -17443,16 +16710,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ObjectiveSpecification__Group__1" - // InternalApplicationConfiguration.g:5451:1: rule__ObjectiveSpecification__Group__1 : rule__ObjectiveSpecification__Group__1__Impl rule__ObjectiveSpecification__Group__2 ; + // InternalApplicationConfiguration.g:5222:1: rule__ObjectiveSpecification__Group__1 : rule__ObjectiveSpecification__Group__1__Impl rule__ObjectiveSpecification__Group__2 ; public final void rule__ObjectiveSpecification__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:5455:1: ( rule__ObjectiveSpecification__Group__1__Impl rule__ObjectiveSpecification__Group__2 ) - // InternalApplicationConfiguration.g:5456:2: rule__ObjectiveSpecification__Group__1__Impl rule__ObjectiveSpecification__Group__2 + // InternalApplicationConfiguration.g:5226:1: ( rule__ObjectiveSpecification__Group__1__Impl rule__ObjectiveSpecification__Group__2 ) + // InternalApplicationConfiguration.g:5227:2: rule__ObjectiveSpecification__Group__1__Impl rule__ObjectiveSpecification__Group__2 { - pushFollow(FOLLOW_16); + pushFollow(FOLLOW_15); rule__ObjectiveSpecification__Group__1__Impl(); state._fsp--; @@ -17481,21 +16748,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ObjectiveSpecification__Group__1__Impl" - // InternalApplicationConfiguration.g:5463:1: rule__ObjectiveSpecification__Group__1__Impl : ( ( rule__ObjectiveSpecification__EntriesAssignment_1 ) ) ; + // InternalApplicationConfiguration.g:5234:1: rule__ObjectiveSpecification__Group__1__Impl : ( ( rule__ObjectiveSpecification__EntriesAssignment_1 ) ) ; public final void rule__ObjectiveSpecification__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:5467:1: ( ( ( rule__ObjectiveSpecification__EntriesAssignment_1 ) ) ) - // InternalApplicationConfiguration.g:5468:1: ( ( rule__ObjectiveSpecification__EntriesAssignment_1 ) ) + // InternalApplicationConfiguration.g:5238:1: ( ( ( rule__ObjectiveSpecification__EntriesAssignment_1 ) ) ) + // InternalApplicationConfiguration.g:5239:1: ( ( rule__ObjectiveSpecification__EntriesAssignment_1 ) ) { - // InternalApplicationConfiguration.g:5468:1: ( ( rule__ObjectiveSpecification__EntriesAssignment_1 ) ) - // InternalApplicationConfiguration.g:5469:2: ( rule__ObjectiveSpecification__EntriesAssignment_1 ) + // InternalApplicationConfiguration.g:5239:1: ( ( rule__ObjectiveSpecification__EntriesAssignment_1 ) ) + // InternalApplicationConfiguration.g:5240:2: ( rule__ObjectiveSpecification__EntriesAssignment_1 ) { before(grammarAccess.getObjectiveSpecificationAccess().getEntriesAssignment_1()); - // InternalApplicationConfiguration.g:5470:2: ( rule__ObjectiveSpecification__EntriesAssignment_1 ) - // InternalApplicationConfiguration.g:5470:3: rule__ObjectiveSpecification__EntriesAssignment_1 + // InternalApplicationConfiguration.g:5241:2: ( rule__ObjectiveSpecification__EntriesAssignment_1 ) + // InternalApplicationConfiguration.g:5241:3: rule__ObjectiveSpecification__EntriesAssignment_1 { pushFollow(FOLLOW_2); rule__ObjectiveSpecification__EntriesAssignment_1(); @@ -17528,16 +16795,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ObjectiveSpecification__Group__2" - // InternalApplicationConfiguration.g:5478:1: rule__ObjectiveSpecification__Group__2 : rule__ObjectiveSpecification__Group__2__Impl rule__ObjectiveSpecification__Group__3 ; + // InternalApplicationConfiguration.g:5249:1: rule__ObjectiveSpecification__Group__2 : rule__ObjectiveSpecification__Group__2__Impl rule__ObjectiveSpecification__Group__3 ; public final void rule__ObjectiveSpecification__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:5482:1: ( rule__ObjectiveSpecification__Group__2__Impl rule__ObjectiveSpecification__Group__3 ) - // InternalApplicationConfiguration.g:5483:2: rule__ObjectiveSpecification__Group__2__Impl rule__ObjectiveSpecification__Group__3 + // InternalApplicationConfiguration.g:5253:1: ( rule__ObjectiveSpecification__Group__2__Impl rule__ObjectiveSpecification__Group__3 ) + // InternalApplicationConfiguration.g:5254:2: rule__ObjectiveSpecification__Group__2__Impl rule__ObjectiveSpecification__Group__3 { - pushFollow(FOLLOW_16); + pushFollow(FOLLOW_15); rule__ObjectiveSpecification__Group__2__Impl(); state._fsp--; @@ -17566,35 +16833,35 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ObjectiveSpecification__Group__2__Impl" - // InternalApplicationConfiguration.g:5490:1: rule__ObjectiveSpecification__Group__2__Impl : ( ( rule__ObjectiveSpecification__Group_2__0 )* ) ; + // InternalApplicationConfiguration.g:5261:1: rule__ObjectiveSpecification__Group__2__Impl : ( ( rule__ObjectiveSpecification__Group_2__0 )* ) ; public final void rule__ObjectiveSpecification__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:5494:1: ( ( ( rule__ObjectiveSpecification__Group_2__0 )* ) ) - // InternalApplicationConfiguration.g:5495:1: ( ( rule__ObjectiveSpecification__Group_2__0 )* ) + // InternalApplicationConfiguration.g:5265:1: ( ( ( rule__ObjectiveSpecification__Group_2__0 )* ) ) + // InternalApplicationConfiguration.g:5266:1: ( ( rule__ObjectiveSpecification__Group_2__0 )* ) { - // InternalApplicationConfiguration.g:5495:1: ( ( rule__ObjectiveSpecification__Group_2__0 )* ) - // InternalApplicationConfiguration.g:5496:2: ( rule__ObjectiveSpecification__Group_2__0 )* + // InternalApplicationConfiguration.g:5266:1: ( ( rule__ObjectiveSpecification__Group_2__0 )* ) + // InternalApplicationConfiguration.g:5267:2: ( rule__ObjectiveSpecification__Group_2__0 )* { before(grammarAccess.getObjectiveSpecificationAccess().getGroup_2()); - // InternalApplicationConfiguration.g:5497:2: ( rule__ObjectiveSpecification__Group_2__0 )* - loop52: + // InternalApplicationConfiguration.g:5268:2: ( rule__ObjectiveSpecification__Group_2__0 )* + loop50: do { - int alt52=2; - int LA52_0 = input.LA(1); + int alt50=2; + int LA50_0 = input.LA(1); - if ( (LA52_0==33) ) { - alt52=1; + if ( (LA50_0==32) ) { + alt50=1; } - switch (alt52) { + switch (alt50) { case 1 : - // InternalApplicationConfiguration.g:5497:3: rule__ObjectiveSpecification__Group_2__0 + // InternalApplicationConfiguration.g:5268:3: rule__ObjectiveSpecification__Group_2__0 { - pushFollow(FOLLOW_17); + pushFollow(FOLLOW_16); rule__ObjectiveSpecification__Group_2__0(); state._fsp--; @@ -17604,7 +16871,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont break; default : - break loop52; + break loop50; } } while (true); @@ -17631,14 +16898,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ObjectiveSpecification__Group__3" - // InternalApplicationConfiguration.g:5505:1: rule__ObjectiveSpecification__Group__3 : rule__ObjectiveSpecification__Group__3__Impl ; + // InternalApplicationConfiguration.g:5276:1: rule__ObjectiveSpecification__Group__3 : rule__ObjectiveSpecification__Group__3__Impl ; public final void rule__ObjectiveSpecification__Group__3() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:5509:1: ( rule__ObjectiveSpecification__Group__3__Impl ) - // InternalApplicationConfiguration.g:5510:2: rule__ObjectiveSpecification__Group__3__Impl + // InternalApplicationConfiguration.g:5280:1: ( rule__ObjectiveSpecification__Group__3__Impl ) + // InternalApplicationConfiguration.g:5281:2: rule__ObjectiveSpecification__Group__3__Impl { pushFollow(FOLLOW_2); rule__ObjectiveSpecification__Group__3__Impl(); @@ -17664,20 +16931,20 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ObjectiveSpecification__Group__3__Impl" - // InternalApplicationConfiguration.g:5516:1: rule__ObjectiveSpecification__Group__3__Impl : ( '}' ) ; + // InternalApplicationConfiguration.g:5287:1: rule__ObjectiveSpecification__Group__3__Impl : ( '}' ) ; public final void rule__ObjectiveSpecification__Group__3__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:5520:1: ( ( '}' ) ) - // InternalApplicationConfiguration.g:5521:1: ( '}' ) + // InternalApplicationConfiguration.g:5291:1: ( ( '}' ) ) + // InternalApplicationConfiguration.g:5292:1: ( '}' ) { - // InternalApplicationConfiguration.g:5521:1: ( '}' ) - // InternalApplicationConfiguration.g:5522:2: '}' + // InternalApplicationConfiguration.g:5292:1: ( '}' ) + // InternalApplicationConfiguration.g:5293:2: '}' { before(grammarAccess.getObjectiveSpecificationAccess().getRightCurlyBracketKeyword_3()); - match(input,32,FOLLOW_2); + match(input,31,FOLLOW_2); after(grammarAccess.getObjectiveSpecificationAccess().getRightCurlyBracketKeyword_3()); } @@ -17701,16 +16968,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ObjectiveSpecification__Group_2__0" - // InternalApplicationConfiguration.g:5532:1: rule__ObjectiveSpecification__Group_2__0 : rule__ObjectiveSpecification__Group_2__0__Impl rule__ObjectiveSpecification__Group_2__1 ; + // InternalApplicationConfiguration.g:5303:1: rule__ObjectiveSpecification__Group_2__0 : rule__ObjectiveSpecification__Group_2__0__Impl rule__ObjectiveSpecification__Group_2__1 ; public final void rule__ObjectiveSpecification__Group_2__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:5536:1: ( rule__ObjectiveSpecification__Group_2__0__Impl rule__ObjectiveSpecification__Group_2__1 ) - // InternalApplicationConfiguration.g:5537:2: rule__ObjectiveSpecification__Group_2__0__Impl rule__ObjectiveSpecification__Group_2__1 + // InternalApplicationConfiguration.g:5307:1: ( rule__ObjectiveSpecification__Group_2__0__Impl rule__ObjectiveSpecification__Group_2__1 ) + // InternalApplicationConfiguration.g:5308:2: rule__ObjectiveSpecification__Group_2__0__Impl rule__ObjectiveSpecification__Group_2__1 { - pushFollow(FOLLOW_23); + pushFollow(FOLLOW_22); rule__ObjectiveSpecification__Group_2__0__Impl(); state._fsp--; @@ -17739,20 +17006,20 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ObjectiveSpecification__Group_2__0__Impl" - // InternalApplicationConfiguration.g:5544:1: rule__ObjectiveSpecification__Group_2__0__Impl : ( ',' ) ; + // InternalApplicationConfiguration.g:5315:1: rule__ObjectiveSpecification__Group_2__0__Impl : ( ',' ) ; public final void rule__ObjectiveSpecification__Group_2__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:5548:1: ( ( ',' ) ) - // InternalApplicationConfiguration.g:5549:1: ( ',' ) + // InternalApplicationConfiguration.g:5319:1: ( ( ',' ) ) + // InternalApplicationConfiguration.g:5320:1: ( ',' ) { - // InternalApplicationConfiguration.g:5549:1: ( ',' ) - // InternalApplicationConfiguration.g:5550:2: ',' + // InternalApplicationConfiguration.g:5320:1: ( ',' ) + // InternalApplicationConfiguration.g:5321:2: ',' { before(grammarAccess.getObjectiveSpecificationAccess().getCommaKeyword_2_0()); - match(input,33,FOLLOW_2); + match(input,32,FOLLOW_2); after(grammarAccess.getObjectiveSpecificationAccess().getCommaKeyword_2_0()); } @@ -17776,14 +17043,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ObjectiveSpecification__Group_2__1" - // InternalApplicationConfiguration.g:5559:1: rule__ObjectiveSpecification__Group_2__1 : rule__ObjectiveSpecification__Group_2__1__Impl ; + // InternalApplicationConfiguration.g:5330:1: rule__ObjectiveSpecification__Group_2__1 : rule__ObjectiveSpecification__Group_2__1__Impl ; public final void rule__ObjectiveSpecification__Group_2__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:5563:1: ( rule__ObjectiveSpecification__Group_2__1__Impl ) - // InternalApplicationConfiguration.g:5564:2: rule__ObjectiveSpecification__Group_2__1__Impl + // InternalApplicationConfiguration.g:5334:1: ( rule__ObjectiveSpecification__Group_2__1__Impl ) + // InternalApplicationConfiguration.g:5335:2: rule__ObjectiveSpecification__Group_2__1__Impl { pushFollow(FOLLOW_2); rule__ObjectiveSpecification__Group_2__1__Impl(); @@ -17809,21 +17076,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ObjectiveSpecification__Group_2__1__Impl" - // InternalApplicationConfiguration.g:5570:1: rule__ObjectiveSpecification__Group_2__1__Impl : ( ( rule__ObjectiveSpecification__EntriesAssignment_2_1 ) ) ; + // InternalApplicationConfiguration.g:5341:1: rule__ObjectiveSpecification__Group_2__1__Impl : ( ( rule__ObjectiveSpecification__EntriesAssignment_2_1 ) ) ; public final void rule__ObjectiveSpecification__Group_2__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:5574:1: ( ( ( rule__ObjectiveSpecification__EntriesAssignment_2_1 ) ) ) - // InternalApplicationConfiguration.g:5575:1: ( ( rule__ObjectiveSpecification__EntriesAssignment_2_1 ) ) + // InternalApplicationConfiguration.g:5345:1: ( ( ( rule__ObjectiveSpecification__EntriesAssignment_2_1 ) ) ) + // InternalApplicationConfiguration.g:5346:1: ( ( rule__ObjectiveSpecification__EntriesAssignment_2_1 ) ) { - // InternalApplicationConfiguration.g:5575:1: ( ( rule__ObjectiveSpecification__EntriesAssignment_2_1 ) ) - // InternalApplicationConfiguration.g:5576:2: ( rule__ObjectiveSpecification__EntriesAssignment_2_1 ) + // InternalApplicationConfiguration.g:5346:1: ( ( rule__ObjectiveSpecification__EntriesAssignment_2_1 ) ) + // InternalApplicationConfiguration.g:5347:2: ( rule__ObjectiveSpecification__EntriesAssignment_2_1 ) { before(grammarAccess.getObjectiveSpecificationAccess().getEntriesAssignment_2_1()); - // InternalApplicationConfiguration.g:5577:2: ( rule__ObjectiveSpecification__EntriesAssignment_2_1 ) - // InternalApplicationConfiguration.g:5577:3: rule__ObjectiveSpecification__EntriesAssignment_2_1 + // InternalApplicationConfiguration.g:5348:2: ( rule__ObjectiveSpecification__EntriesAssignment_2_1 ) + // InternalApplicationConfiguration.g:5348:3: rule__ObjectiveSpecification__EntriesAssignment_2_1 { pushFollow(FOLLOW_2); rule__ObjectiveSpecification__EntriesAssignment_2_1(); @@ -17856,16 +17123,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__OptimizationEntry__Group__0" - // InternalApplicationConfiguration.g:5586:1: rule__OptimizationEntry__Group__0 : rule__OptimizationEntry__Group__0__Impl rule__OptimizationEntry__Group__1 ; + // InternalApplicationConfiguration.g:5357:1: rule__OptimizationEntry__Group__0 : rule__OptimizationEntry__Group__0__Impl rule__OptimizationEntry__Group__1 ; public final void rule__OptimizationEntry__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:5590:1: ( rule__OptimizationEntry__Group__0__Impl rule__OptimizationEntry__Group__1 ) - // InternalApplicationConfiguration.g:5591:2: rule__OptimizationEntry__Group__0__Impl rule__OptimizationEntry__Group__1 + // InternalApplicationConfiguration.g:5361:1: ( rule__OptimizationEntry__Group__0__Impl rule__OptimizationEntry__Group__1 ) + // InternalApplicationConfiguration.g:5362:2: rule__OptimizationEntry__Group__0__Impl rule__OptimizationEntry__Group__1 { - pushFollow(FOLLOW_23); + pushFollow(FOLLOW_22); rule__OptimizationEntry__Group__0__Impl(); state._fsp--; @@ -17894,21 +17161,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__OptimizationEntry__Group__0__Impl" - // InternalApplicationConfiguration.g:5598:1: rule__OptimizationEntry__Group__0__Impl : ( ( rule__OptimizationEntry__DirectionAssignment_0 ) ) ; + // InternalApplicationConfiguration.g:5369:1: rule__OptimizationEntry__Group__0__Impl : ( ( rule__OptimizationEntry__DirectionAssignment_0 ) ) ; public final void rule__OptimizationEntry__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:5602:1: ( ( ( rule__OptimizationEntry__DirectionAssignment_0 ) ) ) - // InternalApplicationConfiguration.g:5603:1: ( ( rule__OptimizationEntry__DirectionAssignment_0 ) ) + // InternalApplicationConfiguration.g:5373:1: ( ( ( rule__OptimizationEntry__DirectionAssignment_0 ) ) ) + // InternalApplicationConfiguration.g:5374:1: ( ( rule__OptimizationEntry__DirectionAssignment_0 ) ) { - // InternalApplicationConfiguration.g:5603:1: ( ( rule__OptimizationEntry__DirectionAssignment_0 ) ) - // InternalApplicationConfiguration.g:5604:2: ( rule__OptimizationEntry__DirectionAssignment_0 ) + // InternalApplicationConfiguration.g:5374:1: ( ( rule__OptimizationEntry__DirectionAssignment_0 ) ) + // InternalApplicationConfiguration.g:5375:2: ( rule__OptimizationEntry__DirectionAssignment_0 ) { before(grammarAccess.getOptimizationEntryAccess().getDirectionAssignment_0()); - // InternalApplicationConfiguration.g:5605:2: ( rule__OptimizationEntry__DirectionAssignment_0 ) - // InternalApplicationConfiguration.g:5605:3: rule__OptimizationEntry__DirectionAssignment_0 + // InternalApplicationConfiguration.g:5376:2: ( rule__OptimizationEntry__DirectionAssignment_0 ) + // InternalApplicationConfiguration.g:5376:3: rule__OptimizationEntry__DirectionAssignment_0 { pushFollow(FOLLOW_2); rule__OptimizationEntry__DirectionAssignment_0(); @@ -17941,14 +17208,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__OptimizationEntry__Group__1" - // InternalApplicationConfiguration.g:5613:1: rule__OptimizationEntry__Group__1 : rule__OptimizationEntry__Group__1__Impl ; + // InternalApplicationConfiguration.g:5384:1: rule__OptimizationEntry__Group__1 : rule__OptimizationEntry__Group__1__Impl ; public final void rule__OptimizationEntry__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:5617:1: ( rule__OptimizationEntry__Group__1__Impl ) - // InternalApplicationConfiguration.g:5618:2: rule__OptimizationEntry__Group__1__Impl + // InternalApplicationConfiguration.g:5388:1: ( rule__OptimizationEntry__Group__1__Impl ) + // InternalApplicationConfiguration.g:5389:2: rule__OptimizationEntry__Group__1__Impl { pushFollow(FOLLOW_2); rule__OptimizationEntry__Group__1__Impl(); @@ -17974,21 +17241,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__OptimizationEntry__Group__1__Impl" - // InternalApplicationConfiguration.g:5624:1: rule__OptimizationEntry__Group__1__Impl : ( ( rule__OptimizationEntry__FunctionAssignment_1 ) ) ; + // InternalApplicationConfiguration.g:5395:1: rule__OptimizationEntry__Group__1__Impl : ( ( rule__OptimizationEntry__FunctionAssignment_1 ) ) ; public final void rule__OptimizationEntry__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:5628:1: ( ( ( rule__OptimizationEntry__FunctionAssignment_1 ) ) ) - // InternalApplicationConfiguration.g:5629:1: ( ( rule__OptimizationEntry__FunctionAssignment_1 ) ) + // InternalApplicationConfiguration.g:5399:1: ( ( ( rule__OptimizationEntry__FunctionAssignment_1 ) ) ) + // InternalApplicationConfiguration.g:5400:1: ( ( rule__OptimizationEntry__FunctionAssignment_1 ) ) { - // InternalApplicationConfiguration.g:5629:1: ( ( rule__OptimizationEntry__FunctionAssignment_1 ) ) - // InternalApplicationConfiguration.g:5630:2: ( rule__OptimizationEntry__FunctionAssignment_1 ) + // InternalApplicationConfiguration.g:5400:1: ( ( rule__OptimizationEntry__FunctionAssignment_1 ) ) + // InternalApplicationConfiguration.g:5401:2: ( rule__OptimizationEntry__FunctionAssignment_1 ) { before(grammarAccess.getOptimizationEntryAccess().getFunctionAssignment_1()); - // InternalApplicationConfiguration.g:5631:2: ( rule__OptimizationEntry__FunctionAssignment_1 ) - // InternalApplicationConfiguration.g:5631:3: rule__OptimizationEntry__FunctionAssignment_1 + // InternalApplicationConfiguration.g:5402:2: ( rule__OptimizationEntry__FunctionAssignment_1 ) + // InternalApplicationConfiguration.g:5402:3: rule__OptimizationEntry__FunctionAssignment_1 { pushFollow(FOLLOW_2); rule__OptimizationEntry__FunctionAssignment_1(); @@ -18021,16 +17288,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ThresholdEntry__Group__0" - // InternalApplicationConfiguration.g:5640:1: rule__ThresholdEntry__Group__0 : rule__ThresholdEntry__Group__0__Impl rule__ThresholdEntry__Group__1 ; + // InternalApplicationConfiguration.g:5411:1: rule__ThresholdEntry__Group__0 : rule__ThresholdEntry__Group__0__Impl rule__ThresholdEntry__Group__1 ; public final void rule__ThresholdEntry__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:5644:1: ( rule__ThresholdEntry__Group__0__Impl rule__ThresholdEntry__Group__1 ) - // InternalApplicationConfiguration.g:5645:2: rule__ThresholdEntry__Group__0__Impl rule__ThresholdEntry__Group__1 + // InternalApplicationConfiguration.g:5415:1: ( rule__ThresholdEntry__Group__0__Impl rule__ThresholdEntry__Group__1 ) + // InternalApplicationConfiguration.g:5416:2: rule__ThresholdEntry__Group__0__Impl rule__ThresholdEntry__Group__1 { - pushFollow(FOLLOW_24); + pushFollow(FOLLOW_23); rule__ThresholdEntry__Group__0__Impl(); state._fsp--; @@ -18059,21 +17326,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ThresholdEntry__Group__0__Impl" - // InternalApplicationConfiguration.g:5652:1: rule__ThresholdEntry__Group__0__Impl : ( ( rule__ThresholdEntry__FunctionAssignment_0 ) ) ; + // InternalApplicationConfiguration.g:5423:1: rule__ThresholdEntry__Group__0__Impl : ( ( rule__ThresholdEntry__FunctionAssignment_0 ) ) ; public final void rule__ThresholdEntry__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:5656:1: ( ( ( rule__ThresholdEntry__FunctionAssignment_0 ) ) ) - // InternalApplicationConfiguration.g:5657:1: ( ( rule__ThresholdEntry__FunctionAssignment_0 ) ) + // InternalApplicationConfiguration.g:5427:1: ( ( ( rule__ThresholdEntry__FunctionAssignment_0 ) ) ) + // InternalApplicationConfiguration.g:5428:1: ( ( rule__ThresholdEntry__FunctionAssignment_0 ) ) { - // InternalApplicationConfiguration.g:5657:1: ( ( rule__ThresholdEntry__FunctionAssignment_0 ) ) - // InternalApplicationConfiguration.g:5658:2: ( rule__ThresholdEntry__FunctionAssignment_0 ) + // InternalApplicationConfiguration.g:5428:1: ( ( rule__ThresholdEntry__FunctionAssignment_0 ) ) + // InternalApplicationConfiguration.g:5429:2: ( rule__ThresholdEntry__FunctionAssignment_0 ) { before(grammarAccess.getThresholdEntryAccess().getFunctionAssignment_0()); - // InternalApplicationConfiguration.g:5659:2: ( rule__ThresholdEntry__FunctionAssignment_0 ) - // InternalApplicationConfiguration.g:5659:3: rule__ThresholdEntry__FunctionAssignment_0 + // InternalApplicationConfiguration.g:5430:2: ( rule__ThresholdEntry__FunctionAssignment_0 ) + // InternalApplicationConfiguration.g:5430:3: rule__ThresholdEntry__FunctionAssignment_0 { pushFollow(FOLLOW_2); rule__ThresholdEntry__FunctionAssignment_0(); @@ -18106,16 +17373,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ThresholdEntry__Group__1" - // InternalApplicationConfiguration.g:5667:1: rule__ThresholdEntry__Group__1 : rule__ThresholdEntry__Group__1__Impl rule__ThresholdEntry__Group__2 ; + // InternalApplicationConfiguration.g:5438:1: rule__ThresholdEntry__Group__1 : rule__ThresholdEntry__Group__1__Impl rule__ThresholdEntry__Group__2 ; public final void rule__ThresholdEntry__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:5671:1: ( rule__ThresholdEntry__Group__1__Impl rule__ThresholdEntry__Group__2 ) - // InternalApplicationConfiguration.g:5672:2: rule__ThresholdEntry__Group__1__Impl rule__ThresholdEntry__Group__2 + // InternalApplicationConfiguration.g:5442:1: ( rule__ThresholdEntry__Group__1__Impl rule__ThresholdEntry__Group__2 ) + // InternalApplicationConfiguration.g:5443:2: rule__ThresholdEntry__Group__1__Impl rule__ThresholdEntry__Group__2 { - pushFollow(FOLLOW_25); + pushFollow(FOLLOW_24); rule__ThresholdEntry__Group__1__Impl(); state._fsp--; @@ -18144,21 +17411,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ThresholdEntry__Group__1__Impl" - // InternalApplicationConfiguration.g:5679:1: rule__ThresholdEntry__Group__1__Impl : ( ( rule__ThresholdEntry__OperatorAssignment_1 ) ) ; + // InternalApplicationConfiguration.g:5450:1: rule__ThresholdEntry__Group__1__Impl : ( ( rule__ThresholdEntry__OperatorAssignment_1 ) ) ; public final void rule__ThresholdEntry__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:5683:1: ( ( ( rule__ThresholdEntry__OperatorAssignment_1 ) ) ) - // InternalApplicationConfiguration.g:5684:1: ( ( rule__ThresholdEntry__OperatorAssignment_1 ) ) + // InternalApplicationConfiguration.g:5454:1: ( ( ( rule__ThresholdEntry__OperatorAssignment_1 ) ) ) + // InternalApplicationConfiguration.g:5455:1: ( ( rule__ThresholdEntry__OperatorAssignment_1 ) ) { - // InternalApplicationConfiguration.g:5684:1: ( ( rule__ThresholdEntry__OperatorAssignment_1 ) ) - // InternalApplicationConfiguration.g:5685:2: ( rule__ThresholdEntry__OperatorAssignment_1 ) + // InternalApplicationConfiguration.g:5455:1: ( ( rule__ThresholdEntry__OperatorAssignment_1 ) ) + // InternalApplicationConfiguration.g:5456:2: ( rule__ThresholdEntry__OperatorAssignment_1 ) { before(grammarAccess.getThresholdEntryAccess().getOperatorAssignment_1()); - // InternalApplicationConfiguration.g:5686:2: ( rule__ThresholdEntry__OperatorAssignment_1 ) - // InternalApplicationConfiguration.g:5686:3: rule__ThresholdEntry__OperatorAssignment_1 + // InternalApplicationConfiguration.g:5457:2: ( rule__ThresholdEntry__OperatorAssignment_1 ) + // InternalApplicationConfiguration.g:5457:3: rule__ThresholdEntry__OperatorAssignment_1 { pushFollow(FOLLOW_2); rule__ThresholdEntry__OperatorAssignment_1(); @@ -18191,14 +17458,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ThresholdEntry__Group__2" - // InternalApplicationConfiguration.g:5694:1: rule__ThresholdEntry__Group__2 : rule__ThresholdEntry__Group__2__Impl ; + // InternalApplicationConfiguration.g:5465:1: rule__ThresholdEntry__Group__2 : rule__ThresholdEntry__Group__2__Impl ; public final void rule__ThresholdEntry__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:5698:1: ( rule__ThresholdEntry__Group__2__Impl ) - // InternalApplicationConfiguration.g:5699:2: rule__ThresholdEntry__Group__2__Impl + // InternalApplicationConfiguration.g:5469:1: ( rule__ThresholdEntry__Group__2__Impl ) + // InternalApplicationConfiguration.g:5470:2: rule__ThresholdEntry__Group__2__Impl { pushFollow(FOLLOW_2); rule__ThresholdEntry__Group__2__Impl(); @@ -18224,21 +17491,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ThresholdEntry__Group__2__Impl" - // InternalApplicationConfiguration.g:5705:1: rule__ThresholdEntry__Group__2__Impl : ( ( rule__ThresholdEntry__ThresholdAssignment_2 ) ) ; + // InternalApplicationConfiguration.g:5476:1: rule__ThresholdEntry__Group__2__Impl : ( ( rule__ThresholdEntry__ThresholdAssignment_2 ) ) ; public final void rule__ThresholdEntry__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:5709:1: ( ( ( rule__ThresholdEntry__ThresholdAssignment_2 ) ) ) - // InternalApplicationConfiguration.g:5710:1: ( ( rule__ThresholdEntry__ThresholdAssignment_2 ) ) + // InternalApplicationConfiguration.g:5480:1: ( ( ( rule__ThresholdEntry__ThresholdAssignment_2 ) ) ) + // InternalApplicationConfiguration.g:5481:1: ( ( rule__ThresholdEntry__ThresholdAssignment_2 ) ) { - // InternalApplicationConfiguration.g:5710:1: ( ( rule__ThresholdEntry__ThresholdAssignment_2 ) ) - // InternalApplicationConfiguration.g:5711:2: ( rule__ThresholdEntry__ThresholdAssignment_2 ) + // InternalApplicationConfiguration.g:5481:1: ( ( rule__ThresholdEntry__ThresholdAssignment_2 ) ) + // InternalApplicationConfiguration.g:5482:2: ( rule__ThresholdEntry__ThresholdAssignment_2 ) { before(grammarAccess.getThresholdEntryAccess().getThresholdAssignment_2()); - // InternalApplicationConfiguration.g:5712:2: ( rule__ThresholdEntry__ThresholdAssignment_2 ) - // InternalApplicationConfiguration.g:5712:3: rule__ThresholdEntry__ThresholdAssignment_2 + // InternalApplicationConfiguration.g:5483:2: ( rule__ThresholdEntry__ThresholdAssignment_2 ) + // InternalApplicationConfiguration.g:5483:3: rule__ThresholdEntry__ThresholdAssignment_2 { pushFollow(FOLLOW_2); rule__ThresholdEntry__ThresholdAssignment_2(); @@ -18271,16 +17538,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__CostObjectiveFunction__Group__0" - // InternalApplicationConfiguration.g:5721:1: rule__CostObjectiveFunction__Group__0 : rule__CostObjectiveFunction__Group__0__Impl rule__CostObjectiveFunction__Group__1 ; + // InternalApplicationConfiguration.g:5492:1: rule__CostObjectiveFunction__Group__0 : rule__CostObjectiveFunction__Group__0__Impl rule__CostObjectiveFunction__Group__1 ; public final void rule__CostObjectiveFunction__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:5725:1: ( rule__CostObjectiveFunction__Group__0__Impl rule__CostObjectiveFunction__Group__1 ) - // InternalApplicationConfiguration.g:5726:2: rule__CostObjectiveFunction__Group__0__Impl rule__CostObjectiveFunction__Group__1 + // InternalApplicationConfiguration.g:5496:1: ( rule__CostObjectiveFunction__Group__0__Impl rule__CostObjectiveFunction__Group__1 ) + // InternalApplicationConfiguration.g:5497:2: rule__CostObjectiveFunction__Group__0__Impl rule__CostObjectiveFunction__Group__1 { - pushFollow(FOLLOW_19); + pushFollow(FOLLOW_18); rule__CostObjectiveFunction__Group__0__Impl(); state._fsp--; @@ -18309,20 +17576,20 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__CostObjectiveFunction__Group__0__Impl" - // InternalApplicationConfiguration.g:5733:1: rule__CostObjectiveFunction__Group__0__Impl : ( 'cost' ) ; + // InternalApplicationConfiguration.g:5504:1: rule__CostObjectiveFunction__Group__0__Impl : ( 'cost' ) ; public final void rule__CostObjectiveFunction__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:5737:1: ( ( 'cost' ) ) - // InternalApplicationConfiguration.g:5738:1: ( 'cost' ) + // InternalApplicationConfiguration.g:5508:1: ( ( 'cost' ) ) + // InternalApplicationConfiguration.g:5509:1: ( 'cost' ) { - // InternalApplicationConfiguration.g:5738:1: ( 'cost' ) - // InternalApplicationConfiguration.g:5739:2: 'cost' + // InternalApplicationConfiguration.g:5509:1: ( 'cost' ) + // InternalApplicationConfiguration.g:5510:2: 'cost' { before(grammarAccess.getCostObjectiveFunctionAccess().getCostKeyword_0()); - match(input,41,FOLLOW_2); + match(input,40,FOLLOW_2); after(grammarAccess.getCostObjectiveFunctionAccess().getCostKeyword_0()); } @@ -18346,14 +17613,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__CostObjectiveFunction__Group__1" - // InternalApplicationConfiguration.g:5748:1: rule__CostObjectiveFunction__Group__1 : rule__CostObjectiveFunction__Group__1__Impl rule__CostObjectiveFunction__Group__2 ; + // InternalApplicationConfiguration.g:5519:1: rule__CostObjectiveFunction__Group__1 : rule__CostObjectiveFunction__Group__1__Impl rule__CostObjectiveFunction__Group__2 ; public final void rule__CostObjectiveFunction__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:5752:1: ( rule__CostObjectiveFunction__Group__1__Impl rule__CostObjectiveFunction__Group__2 ) - // InternalApplicationConfiguration.g:5753:2: rule__CostObjectiveFunction__Group__1__Impl rule__CostObjectiveFunction__Group__2 + // InternalApplicationConfiguration.g:5523:1: ( rule__CostObjectiveFunction__Group__1__Impl rule__CostObjectiveFunction__Group__2 ) + // InternalApplicationConfiguration.g:5524:2: rule__CostObjectiveFunction__Group__1__Impl rule__CostObjectiveFunction__Group__2 { pushFollow(FOLLOW_8); rule__CostObjectiveFunction__Group__1__Impl(); @@ -18384,20 +17651,20 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__CostObjectiveFunction__Group__1__Impl" - // InternalApplicationConfiguration.g:5760:1: rule__CostObjectiveFunction__Group__1__Impl : ( '{' ) ; + // InternalApplicationConfiguration.g:5531:1: rule__CostObjectiveFunction__Group__1__Impl : ( '{' ) ; public final void rule__CostObjectiveFunction__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:5764:1: ( ( '{' ) ) - // InternalApplicationConfiguration.g:5765:1: ( '{' ) + // InternalApplicationConfiguration.g:5535:1: ( ( '{' ) ) + // InternalApplicationConfiguration.g:5536:1: ( '{' ) { - // InternalApplicationConfiguration.g:5765:1: ( '{' ) - // InternalApplicationConfiguration.g:5766:2: '{' + // InternalApplicationConfiguration.g:5536:1: ( '{' ) + // InternalApplicationConfiguration.g:5537:2: '{' { before(grammarAccess.getCostObjectiveFunctionAccess().getLeftCurlyBracketKeyword_1()); - match(input,31,FOLLOW_2); + match(input,30,FOLLOW_2); after(grammarAccess.getCostObjectiveFunctionAccess().getLeftCurlyBracketKeyword_1()); } @@ -18421,16 +17688,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__CostObjectiveFunction__Group__2" - // InternalApplicationConfiguration.g:5775:1: rule__CostObjectiveFunction__Group__2 : rule__CostObjectiveFunction__Group__2__Impl rule__CostObjectiveFunction__Group__3 ; + // InternalApplicationConfiguration.g:5546:1: rule__CostObjectiveFunction__Group__2 : rule__CostObjectiveFunction__Group__2__Impl rule__CostObjectiveFunction__Group__3 ; public final void rule__CostObjectiveFunction__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:5779:1: ( rule__CostObjectiveFunction__Group__2__Impl rule__CostObjectiveFunction__Group__3 ) - // InternalApplicationConfiguration.g:5780:2: rule__CostObjectiveFunction__Group__2__Impl rule__CostObjectiveFunction__Group__3 + // InternalApplicationConfiguration.g:5550:1: ( rule__CostObjectiveFunction__Group__2__Impl rule__CostObjectiveFunction__Group__3 ) + // InternalApplicationConfiguration.g:5551:2: rule__CostObjectiveFunction__Group__2__Impl rule__CostObjectiveFunction__Group__3 { - pushFollow(FOLLOW_16); + pushFollow(FOLLOW_15); rule__CostObjectiveFunction__Group__2__Impl(); state._fsp--; @@ -18459,21 +17726,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__CostObjectiveFunction__Group__2__Impl" - // InternalApplicationConfiguration.g:5787:1: rule__CostObjectiveFunction__Group__2__Impl : ( ( rule__CostObjectiveFunction__EntriesAssignment_2 ) ) ; + // InternalApplicationConfiguration.g:5558:1: rule__CostObjectiveFunction__Group__2__Impl : ( ( rule__CostObjectiveFunction__EntriesAssignment_2 ) ) ; public final void rule__CostObjectiveFunction__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:5791:1: ( ( ( rule__CostObjectiveFunction__EntriesAssignment_2 ) ) ) - // InternalApplicationConfiguration.g:5792:1: ( ( rule__CostObjectiveFunction__EntriesAssignment_2 ) ) + // InternalApplicationConfiguration.g:5562:1: ( ( ( rule__CostObjectiveFunction__EntriesAssignment_2 ) ) ) + // InternalApplicationConfiguration.g:5563:1: ( ( rule__CostObjectiveFunction__EntriesAssignment_2 ) ) { - // InternalApplicationConfiguration.g:5792:1: ( ( rule__CostObjectiveFunction__EntriesAssignment_2 ) ) - // InternalApplicationConfiguration.g:5793:2: ( rule__CostObjectiveFunction__EntriesAssignment_2 ) + // InternalApplicationConfiguration.g:5563:1: ( ( rule__CostObjectiveFunction__EntriesAssignment_2 ) ) + // InternalApplicationConfiguration.g:5564:2: ( rule__CostObjectiveFunction__EntriesAssignment_2 ) { before(grammarAccess.getCostObjectiveFunctionAccess().getEntriesAssignment_2()); - // InternalApplicationConfiguration.g:5794:2: ( rule__CostObjectiveFunction__EntriesAssignment_2 ) - // InternalApplicationConfiguration.g:5794:3: rule__CostObjectiveFunction__EntriesAssignment_2 + // InternalApplicationConfiguration.g:5565:2: ( rule__CostObjectiveFunction__EntriesAssignment_2 ) + // InternalApplicationConfiguration.g:5565:3: rule__CostObjectiveFunction__EntriesAssignment_2 { pushFollow(FOLLOW_2); rule__CostObjectiveFunction__EntriesAssignment_2(); @@ -18506,16 +17773,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__CostObjectiveFunction__Group__3" - // InternalApplicationConfiguration.g:5802:1: rule__CostObjectiveFunction__Group__3 : rule__CostObjectiveFunction__Group__3__Impl rule__CostObjectiveFunction__Group__4 ; + // InternalApplicationConfiguration.g:5573:1: rule__CostObjectiveFunction__Group__3 : rule__CostObjectiveFunction__Group__3__Impl rule__CostObjectiveFunction__Group__4 ; public final void rule__CostObjectiveFunction__Group__3() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:5806:1: ( rule__CostObjectiveFunction__Group__3__Impl rule__CostObjectiveFunction__Group__4 ) - // InternalApplicationConfiguration.g:5807:2: rule__CostObjectiveFunction__Group__3__Impl rule__CostObjectiveFunction__Group__4 + // InternalApplicationConfiguration.g:5577:1: ( rule__CostObjectiveFunction__Group__3__Impl rule__CostObjectiveFunction__Group__4 ) + // InternalApplicationConfiguration.g:5578:2: rule__CostObjectiveFunction__Group__3__Impl rule__CostObjectiveFunction__Group__4 { - pushFollow(FOLLOW_16); + pushFollow(FOLLOW_15); rule__CostObjectiveFunction__Group__3__Impl(); state._fsp--; @@ -18544,1014 +17811,49 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__CostObjectiveFunction__Group__3__Impl" - // InternalApplicationConfiguration.g:5814:1: rule__CostObjectiveFunction__Group__3__Impl : ( ( rule__CostObjectiveFunction__Group_3__0 )* ) ; + // InternalApplicationConfiguration.g:5585:1: rule__CostObjectiveFunction__Group__3__Impl : ( ( rule__CostObjectiveFunction__Group_3__0 )* ) ; public final void rule__CostObjectiveFunction__Group__3__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:5818:1: ( ( ( rule__CostObjectiveFunction__Group_3__0 )* ) ) - // InternalApplicationConfiguration.g:5819:1: ( ( rule__CostObjectiveFunction__Group_3__0 )* ) + // InternalApplicationConfiguration.g:5589:1: ( ( ( rule__CostObjectiveFunction__Group_3__0 )* ) ) + // InternalApplicationConfiguration.g:5590:1: ( ( rule__CostObjectiveFunction__Group_3__0 )* ) { - // InternalApplicationConfiguration.g:5819:1: ( ( rule__CostObjectiveFunction__Group_3__0 )* ) - // InternalApplicationConfiguration.g:5820:2: ( rule__CostObjectiveFunction__Group_3__0 )* + // InternalApplicationConfiguration.g:5590:1: ( ( rule__CostObjectiveFunction__Group_3__0 )* ) + // InternalApplicationConfiguration.g:5591:2: ( rule__CostObjectiveFunction__Group_3__0 )* { before(grammarAccess.getCostObjectiveFunctionAccess().getGroup_3()); - // InternalApplicationConfiguration.g:5821:2: ( rule__CostObjectiveFunction__Group_3__0 )* - loop53: + // InternalApplicationConfiguration.g:5592:2: ( rule__CostObjectiveFunction__Group_3__0 )* + loop51: do { - int alt53=2; - int LA53_0 = input.LA(1); - - if ( (LA53_0==33) ) { - alt53=1; - } - - - switch (alt53) { - case 1 : - // InternalApplicationConfiguration.g:5821:3: rule__CostObjectiveFunction__Group_3__0 - { - pushFollow(FOLLOW_17); - rule__CostObjectiveFunction__Group_3__0(); + int alt51=2; + int LA51_0 = input.LA(1); - state._fsp--; - - - } - break; - - default : - break loop53; + if ( (LA51_0==32) ) { + alt51=1; } - } while (true); - - after(grammarAccess.getCostObjectiveFunctionAccess().getGroup_3()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__CostObjectiveFunction__Group__3__Impl" - - - // $ANTLR start "rule__CostObjectiveFunction__Group__4" - // InternalApplicationConfiguration.g:5829:1: rule__CostObjectiveFunction__Group__4 : rule__CostObjectiveFunction__Group__4__Impl ; - public final void rule__CostObjectiveFunction__Group__4() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:5833:1: ( rule__CostObjectiveFunction__Group__4__Impl ) - // InternalApplicationConfiguration.g:5834:2: rule__CostObjectiveFunction__Group__4__Impl - { - pushFollow(FOLLOW_2); - rule__CostObjectiveFunction__Group__4__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__CostObjectiveFunction__Group__4" - - - // $ANTLR start "rule__CostObjectiveFunction__Group__4__Impl" - // InternalApplicationConfiguration.g:5840:1: rule__CostObjectiveFunction__Group__4__Impl : ( '}' ) ; - public final void rule__CostObjectiveFunction__Group__4__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:5844:1: ( ( '}' ) ) - // InternalApplicationConfiguration.g:5845:1: ( '}' ) - { - // InternalApplicationConfiguration.g:5845:1: ( '}' ) - // InternalApplicationConfiguration.g:5846:2: '}' - { - before(grammarAccess.getCostObjectiveFunctionAccess().getRightCurlyBracketKeyword_4()); - match(input,32,FOLLOW_2); - after(grammarAccess.getCostObjectiveFunctionAccess().getRightCurlyBracketKeyword_4()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - } - return ; - } - // $ANTLR end "rule__CostObjectiveFunction__Group__4__Impl" - - - // $ANTLR start "rule__CostObjectiveFunction__Group_3__0" - // InternalApplicationConfiguration.g:5856:1: rule__CostObjectiveFunction__Group_3__0 : rule__CostObjectiveFunction__Group_3__0__Impl rule__CostObjectiveFunction__Group_3__1 ; - public final void rule__CostObjectiveFunction__Group_3__0() throws RecognitionException { - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:5860:1: ( rule__CostObjectiveFunction__Group_3__0__Impl rule__CostObjectiveFunction__Group_3__1 ) - // InternalApplicationConfiguration.g:5861:2: rule__CostObjectiveFunction__Group_3__0__Impl rule__CostObjectiveFunction__Group_3__1 - { - pushFollow(FOLLOW_8); - rule__CostObjectiveFunction__Group_3__0__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__CostObjectiveFunction__Group_3__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__CostObjectiveFunction__Group_3__0" - - - // $ANTLR start "rule__CostObjectiveFunction__Group_3__0__Impl" - // InternalApplicationConfiguration.g:5868:1: rule__CostObjectiveFunction__Group_3__0__Impl : ( ',' ) ; - public final void rule__CostObjectiveFunction__Group_3__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:5872:1: ( ( ',' ) ) - // InternalApplicationConfiguration.g:5873:1: ( ',' ) - { - // InternalApplicationConfiguration.g:5873:1: ( ',' ) - // InternalApplicationConfiguration.g:5874:2: ',' - { - before(grammarAccess.getCostObjectiveFunctionAccess().getCommaKeyword_3_0()); - match(input,33,FOLLOW_2); - after(grammarAccess.getCostObjectiveFunctionAccess().getCommaKeyword_3_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__CostObjectiveFunction__Group_3__0__Impl" - - - // $ANTLR start "rule__CostObjectiveFunction__Group_3__1" - // InternalApplicationConfiguration.g:5883:1: rule__CostObjectiveFunction__Group_3__1 : rule__CostObjectiveFunction__Group_3__1__Impl ; - public final void rule__CostObjectiveFunction__Group_3__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:5887:1: ( rule__CostObjectiveFunction__Group_3__1__Impl ) - // InternalApplicationConfiguration.g:5888:2: rule__CostObjectiveFunction__Group_3__1__Impl - { - pushFollow(FOLLOW_2); - rule__CostObjectiveFunction__Group_3__1__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__CostObjectiveFunction__Group_3__1" - - - // $ANTLR start "rule__CostObjectiveFunction__Group_3__1__Impl" - // InternalApplicationConfiguration.g:5894:1: rule__CostObjectiveFunction__Group_3__1__Impl : ( ( rule__CostObjectiveFunction__EntriesAssignment_3_1 ) ) ; - public final void rule__CostObjectiveFunction__Group_3__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:5898:1: ( ( ( rule__CostObjectiveFunction__EntriesAssignment_3_1 ) ) ) - // InternalApplicationConfiguration.g:5899:1: ( ( rule__CostObjectiveFunction__EntriesAssignment_3_1 ) ) - { - // InternalApplicationConfiguration.g:5899:1: ( ( rule__CostObjectiveFunction__EntriesAssignment_3_1 ) ) - // InternalApplicationConfiguration.g:5900:2: ( rule__CostObjectiveFunction__EntriesAssignment_3_1 ) - { - before(grammarAccess.getCostObjectiveFunctionAccess().getEntriesAssignment_3_1()); - // InternalApplicationConfiguration.g:5901:2: ( rule__CostObjectiveFunction__EntriesAssignment_3_1 ) - // InternalApplicationConfiguration.g:5901:3: rule__CostObjectiveFunction__EntriesAssignment_3_1 - { - pushFollow(FOLLOW_2); - rule__CostObjectiveFunction__EntriesAssignment_3_1(); - - state._fsp--; - - - } - - after(grammarAccess.getCostObjectiveFunctionAccess().getEntriesAssignment_3_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__CostObjectiveFunction__Group_3__1__Impl" - - - // $ANTLR start "rule__CostEntry__Group__0" - // InternalApplicationConfiguration.g:5910:1: rule__CostEntry__Group__0 : rule__CostEntry__Group__0__Impl rule__CostEntry__Group__1 ; - public final void rule__CostEntry__Group__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:5914:1: ( rule__CostEntry__Group__0__Impl rule__CostEntry__Group__1 ) - // InternalApplicationConfiguration.g:5915:2: rule__CostEntry__Group__0__Impl rule__CostEntry__Group__1 - { - pushFollow(FOLLOW_14); - rule__CostEntry__Group__0__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__CostEntry__Group__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__CostEntry__Group__0" - - - // $ANTLR start "rule__CostEntry__Group__0__Impl" - // InternalApplicationConfiguration.g:5922:1: rule__CostEntry__Group__0__Impl : ( ( rule__CostEntry__PatternElementAssignment_0 ) ) ; - public final void rule__CostEntry__Group__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:5926:1: ( ( ( rule__CostEntry__PatternElementAssignment_0 ) ) ) - // InternalApplicationConfiguration.g:5927:1: ( ( rule__CostEntry__PatternElementAssignment_0 ) ) - { - // InternalApplicationConfiguration.g:5927:1: ( ( rule__CostEntry__PatternElementAssignment_0 ) ) - // InternalApplicationConfiguration.g:5928:2: ( rule__CostEntry__PatternElementAssignment_0 ) - { - before(grammarAccess.getCostEntryAccess().getPatternElementAssignment_0()); - // InternalApplicationConfiguration.g:5929:2: ( rule__CostEntry__PatternElementAssignment_0 ) - // InternalApplicationConfiguration.g:5929:3: rule__CostEntry__PatternElementAssignment_0 - { - pushFollow(FOLLOW_2); - rule__CostEntry__PatternElementAssignment_0(); - - state._fsp--; - - - } - - after(grammarAccess.getCostEntryAccess().getPatternElementAssignment_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__CostEntry__Group__0__Impl" - - - // $ANTLR start "rule__CostEntry__Group__1" - // InternalApplicationConfiguration.g:5937:1: rule__CostEntry__Group__1 : rule__CostEntry__Group__1__Impl rule__CostEntry__Group__2 ; - public final void rule__CostEntry__Group__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:5941:1: ( rule__CostEntry__Group__1__Impl rule__CostEntry__Group__2 ) - // InternalApplicationConfiguration.g:5942:2: rule__CostEntry__Group__1__Impl rule__CostEntry__Group__2 - { - pushFollow(FOLLOW_25); - rule__CostEntry__Group__1__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__CostEntry__Group__2(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__CostEntry__Group__1" - - - // $ANTLR start "rule__CostEntry__Group__1__Impl" - // InternalApplicationConfiguration.g:5949:1: rule__CostEntry__Group__1__Impl : ( '=' ) ; - public final void rule__CostEntry__Group__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:5953:1: ( ( '=' ) ) - // InternalApplicationConfiguration.g:5954:1: ( '=' ) - { - // InternalApplicationConfiguration.g:5954:1: ( '=' ) - // InternalApplicationConfiguration.g:5955:2: '=' - { - before(grammarAccess.getCostEntryAccess().getEqualsSignKeyword_1()); - match(input,30,FOLLOW_2); - after(grammarAccess.getCostEntryAccess().getEqualsSignKeyword_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__CostEntry__Group__1__Impl" - - - // $ANTLR start "rule__CostEntry__Group__2" - // InternalApplicationConfiguration.g:5964:1: rule__CostEntry__Group__2 : rule__CostEntry__Group__2__Impl ; - public final void rule__CostEntry__Group__2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:5968:1: ( rule__CostEntry__Group__2__Impl ) - // InternalApplicationConfiguration.g:5969:2: rule__CostEntry__Group__2__Impl - { - pushFollow(FOLLOW_2); - rule__CostEntry__Group__2__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__CostEntry__Group__2" - - - // $ANTLR start "rule__CostEntry__Group__2__Impl" - // InternalApplicationConfiguration.g:5975:1: rule__CostEntry__Group__2__Impl : ( ( rule__CostEntry__WeightAssignment_2 ) ) ; - public final void rule__CostEntry__Group__2__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:5979:1: ( ( ( rule__CostEntry__WeightAssignment_2 ) ) ) - // InternalApplicationConfiguration.g:5980:1: ( ( rule__CostEntry__WeightAssignment_2 ) ) - { - // InternalApplicationConfiguration.g:5980:1: ( ( rule__CostEntry__WeightAssignment_2 ) ) - // InternalApplicationConfiguration.g:5981:2: ( rule__CostEntry__WeightAssignment_2 ) - { - before(grammarAccess.getCostEntryAccess().getWeightAssignment_2()); - // InternalApplicationConfiguration.g:5982:2: ( rule__CostEntry__WeightAssignment_2 ) - // InternalApplicationConfiguration.g:5982:3: rule__CostEntry__WeightAssignment_2 - { - pushFollow(FOLLOW_2); - rule__CostEntry__WeightAssignment_2(); - - state._fsp--; - - - } - - after(grammarAccess.getCostEntryAccess().getWeightAssignment_2()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__CostEntry__Group__2__Impl" - - - // $ANTLR start "rule__ReliabiltiyProbability__Group__0" - // InternalApplicationConfiguration.g:5991:1: rule__ReliabiltiyProbability__Group__0 : rule__ReliabiltiyProbability__Group__0__Impl rule__ReliabiltiyProbability__Group__1 ; - public final void rule__ReliabiltiyProbability__Group__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:5995:1: ( rule__ReliabiltiyProbability__Group__0__Impl rule__ReliabiltiyProbability__Group__1 ) - // InternalApplicationConfiguration.g:5996:2: rule__ReliabiltiyProbability__Group__0__Impl rule__ReliabiltiyProbability__Group__1 - { - pushFollow(FOLLOW_8); - rule__ReliabiltiyProbability__Group__0__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__ReliabiltiyProbability__Group__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ReliabiltiyProbability__Group__0" - - - // $ANTLR start "rule__ReliabiltiyProbability__Group__0__Impl" - // InternalApplicationConfiguration.g:6003:1: rule__ReliabiltiyProbability__Group__0__Impl : ( 'reliability' ) ; - public final void rule__ReliabiltiyProbability__Group__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:6007:1: ( ( 'reliability' ) ) - // InternalApplicationConfiguration.g:6008:1: ( 'reliability' ) - { - // InternalApplicationConfiguration.g:6008:1: ( 'reliability' ) - // InternalApplicationConfiguration.g:6009:2: 'reliability' - { - before(grammarAccess.getReliabiltiyProbabilityAccess().getReliabilityKeyword_0()); - match(input,28,FOLLOW_2); - after(grammarAccess.getReliabiltiyProbabilityAccess().getReliabilityKeyword_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ReliabiltiyProbability__Group__0__Impl" - - - // $ANTLR start "rule__ReliabiltiyProbability__Group__1" - // InternalApplicationConfiguration.g:6018:1: rule__ReliabiltiyProbability__Group__1 : rule__ReliabiltiyProbability__Group__1__Impl rule__ReliabiltiyProbability__Group__2 ; - public final void rule__ReliabiltiyProbability__Group__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:6022:1: ( rule__ReliabiltiyProbability__Group__1__Impl rule__ReliabiltiyProbability__Group__2 ) - // InternalApplicationConfiguration.g:6023:2: rule__ReliabiltiyProbability__Group__1__Impl rule__ReliabiltiyProbability__Group__2 - { - pushFollow(FOLLOW_8); - rule__ReliabiltiyProbability__Group__1__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__ReliabiltiyProbability__Group__2(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ReliabiltiyProbability__Group__1" - - - // $ANTLR start "rule__ReliabiltiyProbability__Group__1__Impl" - // InternalApplicationConfiguration.g:6030:1: rule__ReliabiltiyProbability__Group__1__Impl : ( ( rule__ReliabiltiyProbability__Group_1__0 )? ) ; - public final void rule__ReliabiltiyProbability__Group__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:6034:1: ( ( ( rule__ReliabiltiyProbability__Group_1__0 )? ) ) - // InternalApplicationConfiguration.g:6035:1: ( ( rule__ReliabiltiyProbability__Group_1__0 )? ) - { - // InternalApplicationConfiguration.g:6035:1: ( ( rule__ReliabiltiyProbability__Group_1__0 )? ) - // InternalApplicationConfiguration.g:6036:2: ( rule__ReliabiltiyProbability__Group_1__0 )? - { - before(grammarAccess.getReliabiltiyProbabilityAccess().getGroup_1()); - // InternalApplicationConfiguration.g:6037:2: ( rule__ReliabiltiyProbability__Group_1__0 )? - int alt54=2; - int LA54_0 = input.LA(1); - - if ( (LA54_0==RULE_ID) ) { - int LA54_1 = input.LA(2); - - if ( (LA54_1==23||LA54_1==36) ) { - alt54=1; - } - } - switch (alt54) { - case 1 : - // InternalApplicationConfiguration.g:6037:3: rule__ReliabiltiyProbability__Group_1__0 - { - pushFollow(FOLLOW_2); - rule__ReliabiltiyProbability__Group_1__0(); - - state._fsp--; - - - } - break; - - } - - after(grammarAccess.getReliabiltiyProbabilityAccess().getGroup_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ReliabiltiyProbability__Group__1__Impl" - - - // $ANTLR start "rule__ReliabiltiyProbability__Group__2" - // InternalApplicationConfiguration.g:6045:1: rule__ReliabiltiyProbability__Group__2 : rule__ReliabiltiyProbability__Group__2__Impl rule__ReliabiltiyProbability__Group__3 ; - public final void rule__ReliabiltiyProbability__Group__2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:6049:1: ( rule__ReliabiltiyProbability__Group__2__Impl rule__ReliabiltiyProbability__Group__3 ) - // InternalApplicationConfiguration.g:6050:2: rule__ReliabiltiyProbability__Group__2__Impl rule__ReliabiltiyProbability__Group__3 - { - pushFollow(FOLLOW_26); - rule__ReliabiltiyProbability__Group__2__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__ReliabiltiyProbability__Group__3(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ReliabiltiyProbability__Group__2" - - - // $ANTLR start "rule__ReliabiltiyProbability__Group__2__Impl" - // InternalApplicationConfiguration.g:6057:1: rule__ReliabiltiyProbability__Group__2__Impl : ( ( rule__ReliabiltiyProbability__TransformationAssignment_2 ) ) ; - public final void rule__ReliabiltiyProbability__Group__2__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:6061:1: ( ( ( rule__ReliabiltiyProbability__TransformationAssignment_2 ) ) ) - // InternalApplicationConfiguration.g:6062:1: ( ( rule__ReliabiltiyProbability__TransformationAssignment_2 ) ) - { - // InternalApplicationConfiguration.g:6062:1: ( ( rule__ReliabiltiyProbability__TransformationAssignment_2 ) ) - // InternalApplicationConfiguration.g:6063:2: ( rule__ReliabiltiyProbability__TransformationAssignment_2 ) - { - before(grammarAccess.getReliabiltiyProbabilityAccess().getTransformationAssignment_2()); - // InternalApplicationConfiguration.g:6064:2: ( rule__ReliabiltiyProbability__TransformationAssignment_2 ) - // InternalApplicationConfiguration.g:6064:3: rule__ReliabiltiyProbability__TransformationAssignment_2 - { - pushFollow(FOLLOW_2); - rule__ReliabiltiyProbability__TransformationAssignment_2(); - - state._fsp--; - - - } - - after(grammarAccess.getReliabiltiyProbabilityAccess().getTransformationAssignment_2()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ReliabiltiyProbability__Group__2__Impl" - - - // $ANTLR start "rule__ReliabiltiyProbability__Group__3" - // InternalApplicationConfiguration.g:6072:1: rule__ReliabiltiyProbability__Group__3 : rule__ReliabiltiyProbability__Group__3__Impl rule__ReliabiltiyProbability__Group__4 ; - public final void rule__ReliabiltiyProbability__Group__3() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:6076:1: ( rule__ReliabiltiyProbability__Group__3__Impl rule__ReliabiltiyProbability__Group__4 ) - // InternalApplicationConfiguration.g:6077:2: rule__ReliabiltiyProbability__Group__3__Impl rule__ReliabiltiyProbability__Group__4 - { - pushFollow(FOLLOW_25); - rule__ReliabiltiyProbability__Group__3__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__ReliabiltiyProbability__Group__4(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ReliabiltiyProbability__Group__3" - - - // $ANTLR start "rule__ReliabiltiyProbability__Group__3__Impl" - // InternalApplicationConfiguration.g:6084:1: rule__ReliabiltiyProbability__Group__3__Impl : ( 'at' ) ; - public final void rule__ReliabiltiyProbability__Group__3__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:6088:1: ( ( 'at' ) ) - // InternalApplicationConfiguration.g:6089:1: ( 'at' ) - { - // InternalApplicationConfiguration.g:6089:1: ( 'at' ) - // InternalApplicationConfiguration.g:6090:2: 'at' - { - before(grammarAccess.getReliabiltiyProbabilityAccess().getAtKeyword_3()); - match(input,42,FOLLOW_2); - after(grammarAccess.getReliabiltiyProbabilityAccess().getAtKeyword_3()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ReliabiltiyProbability__Group__3__Impl" - - - // $ANTLR start "rule__ReliabiltiyProbability__Group__4" - // InternalApplicationConfiguration.g:6099:1: rule__ReliabiltiyProbability__Group__4 : rule__ReliabiltiyProbability__Group__4__Impl ; - public final void rule__ReliabiltiyProbability__Group__4() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:6103:1: ( rule__ReliabiltiyProbability__Group__4__Impl ) - // InternalApplicationConfiguration.g:6104:2: rule__ReliabiltiyProbability__Group__4__Impl - { - pushFollow(FOLLOW_2); - rule__ReliabiltiyProbability__Group__4__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ReliabiltiyProbability__Group__4" - - - // $ANTLR start "rule__ReliabiltiyProbability__Group__4__Impl" - // InternalApplicationConfiguration.g:6110:1: rule__ReliabiltiyProbability__Group__4__Impl : ( ( rule__ReliabiltiyProbability__TimeAssignment_4 ) ) ; - public final void rule__ReliabiltiyProbability__Group__4__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:6114:1: ( ( ( rule__ReliabiltiyProbability__TimeAssignment_4 ) ) ) - // InternalApplicationConfiguration.g:6115:1: ( ( rule__ReliabiltiyProbability__TimeAssignment_4 ) ) - { - // InternalApplicationConfiguration.g:6115:1: ( ( rule__ReliabiltiyProbability__TimeAssignment_4 ) ) - // InternalApplicationConfiguration.g:6116:2: ( rule__ReliabiltiyProbability__TimeAssignment_4 ) - { - before(grammarAccess.getReliabiltiyProbabilityAccess().getTimeAssignment_4()); - // InternalApplicationConfiguration.g:6117:2: ( rule__ReliabiltiyProbability__TimeAssignment_4 ) - // InternalApplicationConfiguration.g:6117:3: rule__ReliabiltiyProbability__TimeAssignment_4 - { - pushFollow(FOLLOW_2); - rule__ReliabiltiyProbability__TimeAssignment_4(); - - state._fsp--; - - - } - - after(grammarAccess.getReliabiltiyProbabilityAccess().getTimeAssignment_4()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ReliabiltiyProbability__Group__4__Impl" - - - // $ANTLR start "rule__ReliabiltiyProbability__Group_1__0" - // InternalApplicationConfiguration.g:6126:1: rule__ReliabiltiyProbability__Group_1__0 : rule__ReliabiltiyProbability__Group_1__0__Impl rule__ReliabiltiyProbability__Group_1__1 ; - public final void rule__ReliabiltiyProbability__Group_1__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:6130:1: ( rule__ReliabiltiyProbability__Group_1__0__Impl rule__ReliabiltiyProbability__Group_1__1 ) - // InternalApplicationConfiguration.g:6131:2: rule__ReliabiltiyProbability__Group_1__0__Impl rule__ReliabiltiyProbability__Group_1__1 - { - pushFollow(FOLLOW_20); - rule__ReliabiltiyProbability__Group_1__0__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__ReliabiltiyProbability__Group_1__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ReliabiltiyProbability__Group_1__0" - - - // $ANTLR start "rule__ReliabiltiyProbability__Group_1__0__Impl" - // InternalApplicationConfiguration.g:6138:1: rule__ReliabiltiyProbability__Group_1__0__Impl : ( ( rule__ReliabiltiyProbability__PackageAssignment_1_0 ) ) ; - public final void rule__ReliabiltiyProbability__Group_1__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:6142:1: ( ( ( rule__ReliabiltiyProbability__PackageAssignment_1_0 ) ) ) - // InternalApplicationConfiguration.g:6143:1: ( ( rule__ReliabiltiyProbability__PackageAssignment_1_0 ) ) - { - // InternalApplicationConfiguration.g:6143:1: ( ( rule__ReliabiltiyProbability__PackageAssignment_1_0 ) ) - // InternalApplicationConfiguration.g:6144:2: ( rule__ReliabiltiyProbability__PackageAssignment_1_0 ) - { - before(grammarAccess.getReliabiltiyProbabilityAccess().getPackageAssignment_1_0()); - // InternalApplicationConfiguration.g:6145:2: ( rule__ReliabiltiyProbability__PackageAssignment_1_0 ) - // InternalApplicationConfiguration.g:6145:3: rule__ReliabiltiyProbability__PackageAssignment_1_0 - { - pushFollow(FOLLOW_2); - rule__ReliabiltiyProbability__PackageAssignment_1_0(); + switch (alt51) { + case 1 : + // InternalApplicationConfiguration.g:5592:3: rule__CostObjectiveFunction__Group_3__0 + { + pushFollow(FOLLOW_16); + rule__CostObjectiveFunction__Group_3__0(); - state._fsp--; + state._fsp--; - } + } + break; - after(grammarAccess.getReliabiltiyProbabilityAccess().getPackageAssignment_1_0()); + default : + break loop51; + } + } while (true); + + after(grammarAccess.getCostObjectiveFunctionAccess().getGroup_3()); } @@ -19570,21 +17872,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } return ; } - // $ANTLR end "rule__ReliabiltiyProbability__Group_1__0__Impl" + // $ANTLR end "rule__CostObjectiveFunction__Group__3__Impl" - // $ANTLR start "rule__ReliabiltiyProbability__Group_1__1" - // InternalApplicationConfiguration.g:6153:1: rule__ReliabiltiyProbability__Group_1__1 : rule__ReliabiltiyProbability__Group_1__1__Impl ; - public final void rule__ReliabiltiyProbability__Group_1__1() throws RecognitionException { + // $ANTLR start "rule__CostObjectiveFunction__Group__4" + // InternalApplicationConfiguration.g:5600:1: rule__CostObjectiveFunction__Group__4 : rule__CostObjectiveFunction__Group__4__Impl ; + public final void rule__CostObjectiveFunction__Group__4() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:6157:1: ( rule__ReliabiltiyProbability__Group_1__1__Impl ) - // InternalApplicationConfiguration.g:6158:2: rule__ReliabiltiyProbability__Group_1__1__Impl + // InternalApplicationConfiguration.g:5604:1: ( rule__CostObjectiveFunction__Group__4__Impl ) + // InternalApplicationConfiguration.g:5605:2: rule__CostObjectiveFunction__Group__4__Impl { pushFollow(FOLLOW_2); - rule__ReliabiltiyProbability__Group_1__1__Impl(); + rule__CostObjectiveFunction__Group__4__Impl(); state._fsp--; @@ -19603,25 +17905,25 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } return ; } - // $ANTLR end "rule__ReliabiltiyProbability__Group_1__1" + // $ANTLR end "rule__CostObjectiveFunction__Group__4" - // $ANTLR start "rule__ReliabiltiyProbability__Group_1__1__Impl" - // InternalApplicationConfiguration.g:6164:1: rule__ReliabiltiyProbability__Group_1__1__Impl : ( '::' ) ; - public final void rule__ReliabiltiyProbability__Group_1__1__Impl() throws RecognitionException { + // $ANTLR start "rule__CostObjectiveFunction__Group__4__Impl" + // InternalApplicationConfiguration.g:5611:1: rule__CostObjectiveFunction__Group__4__Impl : ( '}' ) ; + public final void rule__CostObjectiveFunction__Group__4__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:6168:1: ( ( '::' ) ) - // InternalApplicationConfiguration.g:6169:1: ( '::' ) + // InternalApplicationConfiguration.g:5615:1: ( ( '}' ) ) + // InternalApplicationConfiguration.g:5616:1: ( '}' ) { - // InternalApplicationConfiguration.g:6169:1: ( '::' ) - // InternalApplicationConfiguration.g:6170:2: '::' + // InternalApplicationConfiguration.g:5616:1: ( '}' ) + // InternalApplicationConfiguration.g:5617:2: '}' { - before(grammarAccess.getReliabiltiyProbabilityAccess().getColonColonKeyword_1_1()); - match(input,36,FOLLOW_2); - after(grammarAccess.getReliabiltiyProbabilityAccess().getColonColonKeyword_1_1()); + before(grammarAccess.getCostObjectiveFunctionAccess().getRightCurlyBracketKeyword_4()); + match(input,31,FOLLOW_2); + after(grammarAccess.getCostObjectiveFunctionAccess().getRightCurlyBracketKeyword_4()); } @@ -19640,26 +17942,26 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } return ; } - // $ANTLR end "rule__ReliabiltiyProbability__Group_1__1__Impl" + // $ANTLR end "rule__CostObjectiveFunction__Group__4__Impl" - // $ANTLR start "rule__Mtff__Group__0" - // InternalApplicationConfiguration.g:6180:1: rule__Mtff__Group__0 : rule__Mtff__Group__0__Impl rule__Mtff__Group__1 ; - public final void rule__Mtff__Group__0() throws RecognitionException { + // $ANTLR start "rule__CostObjectiveFunction__Group_3__0" + // InternalApplicationConfiguration.g:5627:1: rule__CostObjectiveFunction__Group_3__0 : rule__CostObjectiveFunction__Group_3__0__Impl rule__CostObjectiveFunction__Group_3__1 ; + public final void rule__CostObjectiveFunction__Group_3__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:6184:1: ( rule__Mtff__Group__0__Impl rule__Mtff__Group__1 ) - // InternalApplicationConfiguration.g:6185:2: rule__Mtff__Group__0__Impl rule__Mtff__Group__1 + // InternalApplicationConfiguration.g:5631:1: ( rule__CostObjectiveFunction__Group_3__0__Impl rule__CostObjectiveFunction__Group_3__1 ) + // InternalApplicationConfiguration.g:5632:2: rule__CostObjectiveFunction__Group_3__0__Impl rule__CostObjectiveFunction__Group_3__1 { pushFollow(FOLLOW_8); - rule__Mtff__Group__0__Impl(); + rule__CostObjectiveFunction__Group_3__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__Mtff__Group__1(); + rule__CostObjectiveFunction__Group_3__1(); state._fsp--; @@ -19678,25 +17980,25 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } return ; } - // $ANTLR end "rule__Mtff__Group__0" + // $ANTLR end "rule__CostObjectiveFunction__Group_3__0" - // $ANTLR start "rule__Mtff__Group__0__Impl" - // InternalApplicationConfiguration.g:6192:1: rule__Mtff__Group__0__Impl : ( 'mtff' ) ; - public final void rule__Mtff__Group__0__Impl() throws RecognitionException { + // $ANTLR start "rule__CostObjectiveFunction__Group_3__0__Impl" + // InternalApplicationConfiguration.g:5639:1: rule__CostObjectiveFunction__Group_3__0__Impl : ( ',' ) ; + public final void rule__CostObjectiveFunction__Group_3__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:6196:1: ( ( 'mtff' ) ) - // InternalApplicationConfiguration.g:6197:1: ( 'mtff' ) + // InternalApplicationConfiguration.g:5643:1: ( ( ',' ) ) + // InternalApplicationConfiguration.g:5644:1: ( ',' ) { - // InternalApplicationConfiguration.g:6197:1: ( 'mtff' ) - // InternalApplicationConfiguration.g:6198:2: 'mtff' + // InternalApplicationConfiguration.g:5644:1: ( ',' ) + // InternalApplicationConfiguration.g:5645:2: ',' { - before(grammarAccess.getMtffAccess().getMtffKeyword_0()); - match(input,43,FOLLOW_2); - after(grammarAccess.getMtffAccess().getMtffKeyword_0()); + before(grammarAccess.getCostObjectiveFunctionAccess().getCommaKeyword_3_0()); + match(input,32,FOLLOW_2); + after(grammarAccess.getCostObjectiveFunctionAccess().getCommaKeyword_3_0()); } @@ -19715,26 +18017,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } return ; } - // $ANTLR end "rule__Mtff__Group__0__Impl" + // $ANTLR end "rule__CostObjectiveFunction__Group_3__0__Impl" - // $ANTLR start "rule__Mtff__Group__1" - // InternalApplicationConfiguration.g:6207:1: rule__Mtff__Group__1 : rule__Mtff__Group__1__Impl rule__Mtff__Group__2 ; - public final void rule__Mtff__Group__1() throws RecognitionException { + // $ANTLR start "rule__CostObjectiveFunction__Group_3__1" + // InternalApplicationConfiguration.g:5654:1: rule__CostObjectiveFunction__Group_3__1 : rule__CostObjectiveFunction__Group_3__1__Impl ; + public final void rule__CostObjectiveFunction__Group_3__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:6211:1: ( rule__Mtff__Group__1__Impl rule__Mtff__Group__2 ) - // InternalApplicationConfiguration.g:6212:2: rule__Mtff__Group__1__Impl rule__Mtff__Group__2 + // InternalApplicationConfiguration.g:5658:1: ( rule__CostObjectiveFunction__Group_3__1__Impl ) + // InternalApplicationConfiguration.g:5659:2: rule__CostObjectiveFunction__Group_3__1__Impl { - pushFollow(FOLLOW_8); - rule__Mtff__Group__1__Impl(); - - state._fsp--; - pushFollow(FOLLOW_2); - rule__Mtff__Group__2(); + rule__CostObjectiveFunction__Group_3__1__Impl(); state._fsp--; @@ -19753,50 +18050,35 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } return ; } - // $ANTLR end "rule__Mtff__Group__1" + // $ANTLR end "rule__CostObjectiveFunction__Group_3__1" - // $ANTLR start "rule__Mtff__Group__1__Impl" - // InternalApplicationConfiguration.g:6219:1: rule__Mtff__Group__1__Impl : ( ( rule__Mtff__Group_1__0 )? ) ; - public final void rule__Mtff__Group__1__Impl() throws RecognitionException { + // $ANTLR start "rule__CostObjectiveFunction__Group_3__1__Impl" + // InternalApplicationConfiguration.g:5665:1: rule__CostObjectiveFunction__Group_3__1__Impl : ( ( rule__CostObjectiveFunction__EntriesAssignment_3_1 ) ) ; + public final void rule__CostObjectiveFunction__Group_3__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:6223:1: ( ( ( rule__Mtff__Group_1__0 )? ) ) - // InternalApplicationConfiguration.g:6224:1: ( ( rule__Mtff__Group_1__0 )? ) + // InternalApplicationConfiguration.g:5669:1: ( ( ( rule__CostObjectiveFunction__EntriesAssignment_3_1 ) ) ) + // InternalApplicationConfiguration.g:5670:1: ( ( rule__CostObjectiveFunction__EntriesAssignment_3_1 ) ) { - // InternalApplicationConfiguration.g:6224:1: ( ( rule__Mtff__Group_1__0 )? ) - // InternalApplicationConfiguration.g:6225:2: ( rule__Mtff__Group_1__0 )? + // InternalApplicationConfiguration.g:5670:1: ( ( rule__CostObjectiveFunction__EntriesAssignment_3_1 ) ) + // InternalApplicationConfiguration.g:5671:2: ( rule__CostObjectiveFunction__EntriesAssignment_3_1 ) { - before(grammarAccess.getMtffAccess().getGroup_1()); - // InternalApplicationConfiguration.g:6226:2: ( rule__Mtff__Group_1__0 )? - int alt55=2; - int LA55_0 = input.LA(1); - - if ( (LA55_0==RULE_ID) ) { - int LA55_1 = input.LA(2); - - if ( (LA55_1==23||LA55_1==36) ) { - alt55=1; - } - } - switch (alt55) { - case 1 : - // InternalApplicationConfiguration.g:6226:3: rule__Mtff__Group_1__0 - { - pushFollow(FOLLOW_2); - rule__Mtff__Group_1__0(); - - state._fsp--; + before(grammarAccess.getCostObjectiveFunctionAccess().getEntriesAssignment_3_1()); + // InternalApplicationConfiguration.g:5672:2: ( rule__CostObjectiveFunction__EntriesAssignment_3_1 ) + // InternalApplicationConfiguration.g:5672:3: rule__CostObjectiveFunction__EntriesAssignment_3_1 + { + pushFollow(FOLLOW_2); + rule__CostObjectiveFunction__EntriesAssignment_3_1(); + state._fsp--; - } - break; } - after(grammarAccess.getMtffAccess().getGroup_1()); + after(grammarAccess.getCostObjectiveFunctionAccess().getEntriesAssignment_3_1()); } @@ -19815,21 +18097,26 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } return ; } - // $ANTLR end "rule__Mtff__Group__1__Impl" + // $ANTLR end "rule__CostObjectiveFunction__Group_3__1__Impl" - // $ANTLR start "rule__Mtff__Group__2" - // InternalApplicationConfiguration.g:6234:1: rule__Mtff__Group__2 : rule__Mtff__Group__2__Impl ; - public final void rule__Mtff__Group__2() throws RecognitionException { + // $ANTLR start "rule__CostEntry__Group__0" + // InternalApplicationConfiguration.g:5681:1: rule__CostEntry__Group__0 : rule__CostEntry__Group__0__Impl rule__CostEntry__Group__1 ; + public final void rule__CostEntry__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:6238:1: ( rule__Mtff__Group__2__Impl ) - // InternalApplicationConfiguration.g:6239:2: rule__Mtff__Group__2__Impl + // InternalApplicationConfiguration.g:5685:1: ( rule__CostEntry__Group__0__Impl rule__CostEntry__Group__1 ) + // InternalApplicationConfiguration.g:5686:2: rule__CostEntry__Group__0__Impl rule__CostEntry__Group__1 { + pushFollow(FOLLOW_13); + rule__CostEntry__Group__0__Impl(); + + state._fsp--; + pushFollow(FOLLOW_2); - rule__Mtff__Group__2__Impl(); + rule__CostEntry__Group__1(); state._fsp--; @@ -19848,35 +18135,35 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } return ; } - // $ANTLR end "rule__Mtff__Group__2" + // $ANTLR end "rule__CostEntry__Group__0" - // $ANTLR start "rule__Mtff__Group__2__Impl" - // InternalApplicationConfiguration.g:6245:1: rule__Mtff__Group__2__Impl : ( ( rule__Mtff__TransformationAssignment_2 ) ) ; - public final void rule__Mtff__Group__2__Impl() throws RecognitionException { + // $ANTLR start "rule__CostEntry__Group__0__Impl" + // InternalApplicationConfiguration.g:5693:1: rule__CostEntry__Group__0__Impl : ( ( rule__CostEntry__PatternElementAssignment_0 ) ) ; + public final void rule__CostEntry__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:6249:1: ( ( ( rule__Mtff__TransformationAssignment_2 ) ) ) - // InternalApplicationConfiguration.g:6250:1: ( ( rule__Mtff__TransformationAssignment_2 ) ) + // InternalApplicationConfiguration.g:5697:1: ( ( ( rule__CostEntry__PatternElementAssignment_0 ) ) ) + // InternalApplicationConfiguration.g:5698:1: ( ( rule__CostEntry__PatternElementAssignment_0 ) ) { - // InternalApplicationConfiguration.g:6250:1: ( ( rule__Mtff__TransformationAssignment_2 ) ) - // InternalApplicationConfiguration.g:6251:2: ( rule__Mtff__TransformationAssignment_2 ) + // InternalApplicationConfiguration.g:5698:1: ( ( rule__CostEntry__PatternElementAssignment_0 ) ) + // InternalApplicationConfiguration.g:5699:2: ( rule__CostEntry__PatternElementAssignment_0 ) { - before(grammarAccess.getMtffAccess().getTransformationAssignment_2()); - // InternalApplicationConfiguration.g:6252:2: ( rule__Mtff__TransformationAssignment_2 ) - // InternalApplicationConfiguration.g:6252:3: rule__Mtff__TransformationAssignment_2 + before(grammarAccess.getCostEntryAccess().getPatternElementAssignment_0()); + // InternalApplicationConfiguration.g:5700:2: ( rule__CostEntry__PatternElementAssignment_0 ) + // InternalApplicationConfiguration.g:5700:3: rule__CostEntry__PatternElementAssignment_0 { pushFollow(FOLLOW_2); - rule__Mtff__TransformationAssignment_2(); + rule__CostEntry__PatternElementAssignment_0(); state._fsp--; } - after(grammarAccess.getMtffAccess().getTransformationAssignment_2()); + after(grammarAccess.getCostEntryAccess().getPatternElementAssignment_0()); } @@ -19895,26 +18182,26 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } return ; } - // $ANTLR end "rule__Mtff__Group__2__Impl" + // $ANTLR end "rule__CostEntry__Group__0__Impl" - // $ANTLR start "rule__Mtff__Group_1__0" - // InternalApplicationConfiguration.g:6261:1: rule__Mtff__Group_1__0 : rule__Mtff__Group_1__0__Impl rule__Mtff__Group_1__1 ; - public final void rule__Mtff__Group_1__0() throws RecognitionException { + // $ANTLR start "rule__CostEntry__Group__1" + // InternalApplicationConfiguration.g:5708:1: rule__CostEntry__Group__1 : rule__CostEntry__Group__1__Impl rule__CostEntry__Group__2 ; + public final void rule__CostEntry__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:6265:1: ( rule__Mtff__Group_1__0__Impl rule__Mtff__Group_1__1 ) - // InternalApplicationConfiguration.g:6266:2: rule__Mtff__Group_1__0__Impl rule__Mtff__Group_1__1 + // InternalApplicationConfiguration.g:5712:1: ( rule__CostEntry__Group__1__Impl rule__CostEntry__Group__2 ) + // InternalApplicationConfiguration.g:5713:2: rule__CostEntry__Group__1__Impl rule__CostEntry__Group__2 { - pushFollow(FOLLOW_20); - rule__Mtff__Group_1__0__Impl(); + pushFollow(FOLLOW_24); + rule__CostEntry__Group__1__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__Mtff__Group_1__1(); + rule__CostEntry__Group__2(); state._fsp--; @@ -19933,35 +18220,25 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } return ; } - // $ANTLR end "rule__Mtff__Group_1__0" + // $ANTLR end "rule__CostEntry__Group__1" - // $ANTLR start "rule__Mtff__Group_1__0__Impl" - // InternalApplicationConfiguration.g:6273:1: rule__Mtff__Group_1__0__Impl : ( ( rule__Mtff__PackageAssignment_1_0 ) ) ; - public final void rule__Mtff__Group_1__0__Impl() throws RecognitionException { + // $ANTLR start "rule__CostEntry__Group__1__Impl" + // InternalApplicationConfiguration.g:5720:1: rule__CostEntry__Group__1__Impl : ( '=' ) ; + public final void rule__CostEntry__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:6277:1: ( ( ( rule__Mtff__PackageAssignment_1_0 ) ) ) - // InternalApplicationConfiguration.g:6278:1: ( ( rule__Mtff__PackageAssignment_1_0 ) ) + // InternalApplicationConfiguration.g:5724:1: ( ( '=' ) ) + // InternalApplicationConfiguration.g:5725:1: ( '=' ) { - // InternalApplicationConfiguration.g:6278:1: ( ( rule__Mtff__PackageAssignment_1_0 ) ) - // InternalApplicationConfiguration.g:6279:2: ( rule__Mtff__PackageAssignment_1_0 ) + // InternalApplicationConfiguration.g:5725:1: ( '=' ) + // InternalApplicationConfiguration.g:5726:2: '=' { - before(grammarAccess.getMtffAccess().getPackageAssignment_1_0()); - // InternalApplicationConfiguration.g:6280:2: ( rule__Mtff__PackageAssignment_1_0 ) - // InternalApplicationConfiguration.g:6280:3: rule__Mtff__PackageAssignment_1_0 - { - pushFollow(FOLLOW_2); - rule__Mtff__PackageAssignment_1_0(); - - state._fsp--; - - - } - - after(grammarAccess.getMtffAccess().getPackageAssignment_1_0()); + before(grammarAccess.getCostEntryAccess().getEqualsSignKeyword_1()); + match(input,29,FOLLOW_2); + after(grammarAccess.getCostEntryAccess().getEqualsSignKeyword_1()); } @@ -19980,21 +18257,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } return ; } - // $ANTLR end "rule__Mtff__Group_1__0__Impl" + // $ANTLR end "rule__CostEntry__Group__1__Impl" - // $ANTLR start "rule__Mtff__Group_1__1" - // InternalApplicationConfiguration.g:6288:1: rule__Mtff__Group_1__1 : rule__Mtff__Group_1__1__Impl ; - public final void rule__Mtff__Group_1__1() throws RecognitionException { + // $ANTLR start "rule__CostEntry__Group__2" + // InternalApplicationConfiguration.g:5735:1: rule__CostEntry__Group__2 : rule__CostEntry__Group__2__Impl ; + public final void rule__CostEntry__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:6292:1: ( rule__Mtff__Group_1__1__Impl ) - // InternalApplicationConfiguration.g:6293:2: rule__Mtff__Group_1__1__Impl + // InternalApplicationConfiguration.g:5739:1: ( rule__CostEntry__Group__2__Impl ) + // InternalApplicationConfiguration.g:5740:2: rule__CostEntry__Group__2__Impl { pushFollow(FOLLOW_2); - rule__Mtff__Group_1__1__Impl(); + rule__CostEntry__Group__2__Impl(); state._fsp--; @@ -20013,25 +18290,35 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } return ; } - // $ANTLR end "rule__Mtff__Group_1__1" + // $ANTLR end "rule__CostEntry__Group__2" - // $ANTLR start "rule__Mtff__Group_1__1__Impl" - // InternalApplicationConfiguration.g:6299:1: rule__Mtff__Group_1__1__Impl : ( '::' ) ; - public final void rule__Mtff__Group_1__1__Impl() throws RecognitionException { + // $ANTLR start "rule__CostEntry__Group__2__Impl" + // InternalApplicationConfiguration.g:5746:1: rule__CostEntry__Group__2__Impl : ( ( rule__CostEntry__WeightAssignment_2 ) ) ; + public final void rule__CostEntry__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:6303:1: ( ( '::' ) ) - // InternalApplicationConfiguration.g:6304:1: ( '::' ) + // InternalApplicationConfiguration.g:5750:1: ( ( ( rule__CostEntry__WeightAssignment_2 ) ) ) + // InternalApplicationConfiguration.g:5751:1: ( ( rule__CostEntry__WeightAssignment_2 ) ) { - // InternalApplicationConfiguration.g:6304:1: ( '::' ) - // InternalApplicationConfiguration.g:6305:2: '::' + // InternalApplicationConfiguration.g:5751:1: ( ( rule__CostEntry__WeightAssignment_2 ) ) + // InternalApplicationConfiguration.g:5752:2: ( rule__CostEntry__WeightAssignment_2 ) { - before(grammarAccess.getMtffAccess().getColonColonKeyword_1_1()); - match(input,36,FOLLOW_2); - after(grammarAccess.getMtffAccess().getColonColonKeyword_1_1()); + before(grammarAccess.getCostEntryAccess().getWeightAssignment_2()); + // InternalApplicationConfiguration.g:5753:2: ( rule__CostEntry__WeightAssignment_2 ) + // InternalApplicationConfiguration.g:5753:3: rule__CostEntry__WeightAssignment_2 + { + pushFollow(FOLLOW_2); + rule__CostEntry__WeightAssignment_2(); + + state._fsp--; + + + } + + after(grammarAccess.getCostEntryAccess().getWeightAssignment_2()); } @@ -20050,18 +18337,18 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } return ; } - // $ANTLR end "rule__Mtff__Group_1__1__Impl" + // $ANTLR end "rule__CostEntry__Group__2__Impl" // $ANTLR start "rule__ObjectiveDeclaration__Group__0" - // InternalApplicationConfiguration.g:6315:1: rule__ObjectiveDeclaration__Group__0 : rule__ObjectiveDeclaration__Group__0__Impl rule__ObjectiveDeclaration__Group__1 ; + // InternalApplicationConfiguration.g:5762:1: rule__ObjectiveDeclaration__Group__0 : rule__ObjectiveDeclaration__Group__0__Impl rule__ObjectiveDeclaration__Group__1 ; public final void rule__ObjectiveDeclaration__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:6319:1: ( rule__ObjectiveDeclaration__Group__0__Impl rule__ObjectiveDeclaration__Group__1 ) - // InternalApplicationConfiguration.g:6320:2: rule__ObjectiveDeclaration__Group__0__Impl rule__ObjectiveDeclaration__Group__1 + // InternalApplicationConfiguration.g:5766:1: ( rule__ObjectiveDeclaration__Group__0__Impl rule__ObjectiveDeclaration__Group__1 ) + // InternalApplicationConfiguration.g:5767:2: rule__ObjectiveDeclaration__Group__0__Impl rule__ObjectiveDeclaration__Group__1 { pushFollow(FOLLOW_8); rule__ObjectiveDeclaration__Group__0__Impl(); @@ -20092,20 +18379,20 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ObjectiveDeclaration__Group__0__Impl" - // InternalApplicationConfiguration.g:6327:1: rule__ObjectiveDeclaration__Group__0__Impl : ( 'objectives' ) ; + // InternalApplicationConfiguration.g:5774:1: rule__ObjectiveDeclaration__Group__0__Impl : ( 'objectives' ) ; public final void rule__ObjectiveDeclaration__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:6331:1: ( ( 'objectives' ) ) - // InternalApplicationConfiguration.g:6332:1: ( 'objectives' ) + // InternalApplicationConfiguration.g:5778:1: ( ( 'objectives' ) ) + // InternalApplicationConfiguration.g:5779:1: ( 'objectives' ) { - // InternalApplicationConfiguration.g:6332:1: ( 'objectives' ) - // InternalApplicationConfiguration.g:6333:2: 'objectives' + // InternalApplicationConfiguration.g:5779:1: ( 'objectives' ) + // InternalApplicationConfiguration.g:5780:2: 'objectives' { before(grammarAccess.getObjectiveDeclarationAccess().getObjectivesKeyword_0()); - match(input,44,FOLLOW_2); + match(input,41,FOLLOW_2); after(grammarAccess.getObjectiveDeclarationAccess().getObjectivesKeyword_0()); } @@ -20129,16 +18416,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ObjectiveDeclaration__Group__1" - // InternalApplicationConfiguration.g:6342:1: rule__ObjectiveDeclaration__Group__1 : rule__ObjectiveDeclaration__Group__1__Impl rule__ObjectiveDeclaration__Group__2 ; + // InternalApplicationConfiguration.g:5789:1: rule__ObjectiveDeclaration__Group__1 : rule__ObjectiveDeclaration__Group__1__Impl rule__ObjectiveDeclaration__Group__2 ; public final void rule__ObjectiveDeclaration__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:6346:1: ( rule__ObjectiveDeclaration__Group__1__Impl rule__ObjectiveDeclaration__Group__2 ) - // InternalApplicationConfiguration.g:6347:2: rule__ObjectiveDeclaration__Group__1__Impl rule__ObjectiveDeclaration__Group__2 + // InternalApplicationConfiguration.g:5793:1: ( rule__ObjectiveDeclaration__Group__1__Impl rule__ObjectiveDeclaration__Group__2 ) + // InternalApplicationConfiguration.g:5794:2: rule__ObjectiveDeclaration__Group__1__Impl rule__ObjectiveDeclaration__Group__2 { - pushFollow(FOLLOW_19); + pushFollow(FOLLOW_18); rule__ObjectiveDeclaration__Group__1__Impl(); state._fsp--; @@ -20167,21 +18454,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ObjectiveDeclaration__Group__1__Impl" - // InternalApplicationConfiguration.g:6354:1: rule__ObjectiveDeclaration__Group__1__Impl : ( ( rule__ObjectiveDeclaration__NameAssignment_1 ) ) ; + // InternalApplicationConfiguration.g:5801:1: rule__ObjectiveDeclaration__Group__1__Impl : ( ( rule__ObjectiveDeclaration__NameAssignment_1 ) ) ; public final void rule__ObjectiveDeclaration__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:6358:1: ( ( ( rule__ObjectiveDeclaration__NameAssignment_1 ) ) ) - // InternalApplicationConfiguration.g:6359:1: ( ( rule__ObjectiveDeclaration__NameAssignment_1 ) ) + // InternalApplicationConfiguration.g:5805:1: ( ( ( rule__ObjectiveDeclaration__NameAssignment_1 ) ) ) + // InternalApplicationConfiguration.g:5806:1: ( ( rule__ObjectiveDeclaration__NameAssignment_1 ) ) { - // InternalApplicationConfiguration.g:6359:1: ( ( rule__ObjectiveDeclaration__NameAssignment_1 ) ) - // InternalApplicationConfiguration.g:6360:2: ( rule__ObjectiveDeclaration__NameAssignment_1 ) + // InternalApplicationConfiguration.g:5806:1: ( ( rule__ObjectiveDeclaration__NameAssignment_1 ) ) + // InternalApplicationConfiguration.g:5807:2: ( rule__ObjectiveDeclaration__NameAssignment_1 ) { before(grammarAccess.getObjectiveDeclarationAccess().getNameAssignment_1()); - // InternalApplicationConfiguration.g:6361:2: ( rule__ObjectiveDeclaration__NameAssignment_1 ) - // InternalApplicationConfiguration.g:6361:3: rule__ObjectiveDeclaration__NameAssignment_1 + // InternalApplicationConfiguration.g:5808:2: ( rule__ObjectiveDeclaration__NameAssignment_1 ) + // InternalApplicationConfiguration.g:5808:3: rule__ObjectiveDeclaration__NameAssignment_1 { pushFollow(FOLLOW_2); rule__ObjectiveDeclaration__NameAssignment_1(); @@ -20214,14 +18501,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ObjectiveDeclaration__Group__2" - // InternalApplicationConfiguration.g:6369:1: rule__ObjectiveDeclaration__Group__2 : rule__ObjectiveDeclaration__Group__2__Impl ; + // InternalApplicationConfiguration.g:5816:1: rule__ObjectiveDeclaration__Group__2 : rule__ObjectiveDeclaration__Group__2__Impl ; public final void rule__ObjectiveDeclaration__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:6373:1: ( rule__ObjectiveDeclaration__Group__2__Impl ) - // InternalApplicationConfiguration.g:6374:2: rule__ObjectiveDeclaration__Group__2__Impl + // InternalApplicationConfiguration.g:5820:1: ( rule__ObjectiveDeclaration__Group__2__Impl ) + // InternalApplicationConfiguration.g:5821:2: rule__ObjectiveDeclaration__Group__2__Impl { pushFollow(FOLLOW_2); rule__ObjectiveDeclaration__Group__2__Impl(); @@ -20247,21 +18534,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ObjectiveDeclaration__Group__2__Impl" - // InternalApplicationConfiguration.g:6380:1: rule__ObjectiveDeclaration__Group__2__Impl : ( ( rule__ObjectiveDeclaration__SpecificationAssignment_2 ) ) ; + // InternalApplicationConfiguration.g:5827:1: rule__ObjectiveDeclaration__Group__2__Impl : ( ( rule__ObjectiveDeclaration__SpecificationAssignment_2 ) ) ; public final void rule__ObjectiveDeclaration__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:6384:1: ( ( ( rule__ObjectiveDeclaration__SpecificationAssignment_2 ) ) ) - // InternalApplicationConfiguration.g:6385:1: ( ( rule__ObjectiveDeclaration__SpecificationAssignment_2 ) ) + // InternalApplicationConfiguration.g:5831:1: ( ( ( rule__ObjectiveDeclaration__SpecificationAssignment_2 ) ) ) + // InternalApplicationConfiguration.g:5832:1: ( ( rule__ObjectiveDeclaration__SpecificationAssignment_2 ) ) { - // InternalApplicationConfiguration.g:6385:1: ( ( rule__ObjectiveDeclaration__SpecificationAssignment_2 ) ) - // InternalApplicationConfiguration.g:6386:2: ( rule__ObjectiveDeclaration__SpecificationAssignment_2 ) + // InternalApplicationConfiguration.g:5832:1: ( ( rule__ObjectiveDeclaration__SpecificationAssignment_2 ) ) + // InternalApplicationConfiguration.g:5833:2: ( rule__ObjectiveDeclaration__SpecificationAssignment_2 ) { before(grammarAccess.getObjectiveDeclarationAccess().getSpecificationAssignment_2()); - // InternalApplicationConfiguration.g:6387:2: ( rule__ObjectiveDeclaration__SpecificationAssignment_2 ) - // InternalApplicationConfiguration.g:6387:3: rule__ObjectiveDeclaration__SpecificationAssignment_2 + // InternalApplicationConfiguration.g:5834:2: ( rule__ObjectiveDeclaration__SpecificationAssignment_2 ) + // InternalApplicationConfiguration.g:5834:3: rule__ObjectiveDeclaration__SpecificationAssignment_2 { pushFollow(FOLLOW_2); rule__ObjectiveDeclaration__SpecificationAssignment_2(); @@ -20294,16 +18581,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ConfigSpecification__Group__0" - // InternalApplicationConfiguration.g:6396:1: rule__ConfigSpecification__Group__0 : rule__ConfigSpecification__Group__0__Impl rule__ConfigSpecification__Group__1 ; + // InternalApplicationConfiguration.g:5843:1: rule__ConfigSpecification__Group__0 : rule__ConfigSpecification__Group__0__Impl rule__ConfigSpecification__Group__1 ; public final void rule__ConfigSpecification__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:6400:1: ( rule__ConfigSpecification__Group__0__Impl rule__ConfigSpecification__Group__1 ) - // InternalApplicationConfiguration.g:6401:2: rule__ConfigSpecification__Group__0__Impl rule__ConfigSpecification__Group__1 + // InternalApplicationConfiguration.g:5847:1: ( rule__ConfigSpecification__Group__0__Impl rule__ConfigSpecification__Group__1 ) + // InternalApplicationConfiguration.g:5848:2: rule__ConfigSpecification__Group__0__Impl rule__ConfigSpecification__Group__1 { - pushFollow(FOLLOW_19); + pushFollow(FOLLOW_18); rule__ConfigSpecification__Group__0__Impl(); state._fsp--; @@ -20332,21 +18619,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ConfigSpecification__Group__0__Impl" - // InternalApplicationConfiguration.g:6408:1: rule__ConfigSpecification__Group__0__Impl : ( () ) ; + // InternalApplicationConfiguration.g:5855:1: rule__ConfigSpecification__Group__0__Impl : ( () ) ; public final void rule__ConfigSpecification__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:6412:1: ( ( () ) ) - // InternalApplicationConfiguration.g:6413:1: ( () ) + // InternalApplicationConfiguration.g:5859:1: ( ( () ) ) + // InternalApplicationConfiguration.g:5860:1: ( () ) { - // InternalApplicationConfiguration.g:6413:1: ( () ) - // InternalApplicationConfiguration.g:6414:2: () + // InternalApplicationConfiguration.g:5860:1: ( () ) + // InternalApplicationConfiguration.g:5861:2: () { before(grammarAccess.getConfigSpecificationAccess().getConfigSpecificationAction_0()); - // InternalApplicationConfiguration.g:6415:2: () - // InternalApplicationConfiguration.g:6415:3: + // InternalApplicationConfiguration.g:5862:2: () + // InternalApplicationConfiguration.g:5862:3: { } @@ -20369,16 +18656,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ConfigSpecification__Group__1" - // InternalApplicationConfiguration.g:6423:1: rule__ConfigSpecification__Group__1 : rule__ConfigSpecification__Group__1__Impl rule__ConfigSpecification__Group__2 ; + // InternalApplicationConfiguration.g:5870:1: rule__ConfigSpecification__Group__1 : rule__ConfigSpecification__Group__1__Impl rule__ConfigSpecification__Group__2 ; public final void rule__ConfigSpecification__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:6427:1: ( rule__ConfigSpecification__Group__1__Impl rule__ConfigSpecification__Group__2 ) - // InternalApplicationConfiguration.g:6428:2: rule__ConfigSpecification__Group__1__Impl rule__ConfigSpecification__Group__2 + // InternalApplicationConfiguration.g:5874:1: ( rule__ConfigSpecification__Group__1__Impl rule__ConfigSpecification__Group__2 ) + // InternalApplicationConfiguration.g:5875:2: rule__ConfigSpecification__Group__1__Impl rule__ConfigSpecification__Group__2 { - pushFollow(FOLLOW_27); + pushFollow(FOLLOW_25); rule__ConfigSpecification__Group__1__Impl(); state._fsp--; @@ -20407,20 +18694,20 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ConfigSpecification__Group__1__Impl" - // InternalApplicationConfiguration.g:6435:1: rule__ConfigSpecification__Group__1__Impl : ( '{' ) ; + // InternalApplicationConfiguration.g:5882:1: rule__ConfigSpecification__Group__1__Impl : ( '{' ) ; public final void rule__ConfigSpecification__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:6439:1: ( ( '{' ) ) - // InternalApplicationConfiguration.g:6440:1: ( '{' ) + // InternalApplicationConfiguration.g:5886:1: ( ( '{' ) ) + // InternalApplicationConfiguration.g:5887:1: ( '{' ) { - // InternalApplicationConfiguration.g:6440:1: ( '{' ) - // InternalApplicationConfiguration.g:6441:2: '{' + // InternalApplicationConfiguration.g:5887:1: ( '{' ) + // InternalApplicationConfiguration.g:5888:2: '{' { before(grammarAccess.getConfigSpecificationAccess().getLeftCurlyBracketKeyword_1()); - match(input,31,FOLLOW_2); + match(input,30,FOLLOW_2); after(grammarAccess.getConfigSpecificationAccess().getLeftCurlyBracketKeyword_1()); } @@ -20444,16 +18731,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ConfigSpecification__Group__2" - // InternalApplicationConfiguration.g:6450:1: rule__ConfigSpecification__Group__2 : rule__ConfigSpecification__Group__2__Impl rule__ConfigSpecification__Group__3 ; + // InternalApplicationConfiguration.g:5897:1: rule__ConfigSpecification__Group__2 : rule__ConfigSpecification__Group__2__Impl rule__ConfigSpecification__Group__3 ; public final void rule__ConfigSpecification__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:6454:1: ( rule__ConfigSpecification__Group__2__Impl rule__ConfigSpecification__Group__3 ) - // InternalApplicationConfiguration.g:6455:2: rule__ConfigSpecification__Group__2__Impl rule__ConfigSpecification__Group__3 + // InternalApplicationConfiguration.g:5901:1: ( rule__ConfigSpecification__Group__2__Impl rule__ConfigSpecification__Group__3 ) + // InternalApplicationConfiguration.g:5902:2: rule__ConfigSpecification__Group__2__Impl rule__ConfigSpecification__Group__3 { - pushFollow(FOLLOW_27); + pushFollow(FOLLOW_25); rule__ConfigSpecification__Group__2__Impl(); state._fsp--; @@ -20482,29 +18769,29 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ConfigSpecification__Group__2__Impl" - // InternalApplicationConfiguration.g:6462:1: rule__ConfigSpecification__Group__2__Impl : ( ( rule__ConfigSpecification__Group_2__0 )? ) ; + // InternalApplicationConfiguration.g:5909:1: rule__ConfigSpecification__Group__2__Impl : ( ( rule__ConfigSpecification__Group_2__0 )? ) ; public final void rule__ConfigSpecification__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:6466:1: ( ( ( rule__ConfigSpecification__Group_2__0 )? ) ) - // InternalApplicationConfiguration.g:6467:1: ( ( rule__ConfigSpecification__Group_2__0 )? ) + // InternalApplicationConfiguration.g:5913:1: ( ( ( rule__ConfigSpecification__Group_2__0 )? ) ) + // InternalApplicationConfiguration.g:5914:1: ( ( rule__ConfigSpecification__Group_2__0 )? ) { - // InternalApplicationConfiguration.g:6467:1: ( ( rule__ConfigSpecification__Group_2__0 )? ) - // InternalApplicationConfiguration.g:6468:2: ( rule__ConfigSpecification__Group_2__0 )? + // InternalApplicationConfiguration.g:5914:1: ( ( rule__ConfigSpecification__Group_2__0 )? ) + // InternalApplicationConfiguration.g:5915:2: ( rule__ConfigSpecification__Group_2__0 )? { before(grammarAccess.getConfigSpecificationAccess().getGroup_2()); - // InternalApplicationConfiguration.g:6469:2: ( rule__ConfigSpecification__Group_2__0 )? - int alt56=2; - int LA56_0 = input.LA(1); + // InternalApplicationConfiguration.g:5916:2: ( rule__ConfigSpecification__Group_2__0 )? + int alt52=2; + int LA52_0 = input.LA(1); - if ( (LA56_0==RULE_STRING||(LA56_0>=46 && LA56_0<=48)) ) { - alt56=1; + if ( (LA52_0==RULE_STRING||(LA52_0>=43 && LA52_0<=45)) ) { + alt52=1; } - switch (alt56) { + switch (alt52) { case 1 : - // InternalApplicationConfiguration.g:6469:3: rule__ConfigSpecification__Group_2__0 + // InternalApplicationConfiguration.g:5916:3: rule__ConfigSpecification__Group_2__0 { pushFollow(FOLLOW_2); rule__ConfigSpecification__Group_2__0(); @@ -20540,14 +18827,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ConfigSpecification__Group__3" - // InternalApplicationConfiguration.g:6477:1: rule__ConfigSpecification__Group__3 : rule__ConfigSpecification__Group__3__Impl ; + // InternalApplicationConfiguration.g:5924:1: rule__ConfigSpecification__Group__3 : rule__ConfigSpecification__Group__3__Impl ; public final void rule__ConfigSpecification__Group__3() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:6481:1: ( rule__ConfigSpecification__Group__3__Impl ) - // InternalApplicationConfiguration.g:6482:2: rule__ConfigSpecification__Group__3__Impl + // InternalApplicationConfiguration.g:5928:1: ( rule__ConfigSpecification__Group__3__Impl ) + // InternalApplicationConfiguration.g:5929:2: rule__ConfigSpecification__Group__3__Impl { pushFollow(FOLLOW_2); rule__ConfigSpecification__Group__3__Impl(); @@ -20573,20 +18860,20 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ConfigSpecification__Group__3__Impl" - // InternalApplicationConfiguration.g:6488:1: rule__ConfigSpecification__Group__3__Impl : ( '}' ) ; + // InternalApplicationConfiguration.g:5935:1: rule__ConfigSpecification__Group__3__Impl : ( '}' ) ; public final void rule__ConfigSpecification__Group__3__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:6492:1: ( ( '}' ) ) - // InternalApplicationConfiguration.g:6493:1: ( '}' ) + // InternalApplicationConfiguration.g:5939:1: ( ( '}' ) ) + // InternalApplicationConfiguration.g:5940:1: ( '}' ) { - // InternalApplicationConfiguration.g:6493:1: ( '}' ) - // InternalApplicationConfiguration.g:6494:2: '}' + // InternalApplicationConfiguration.g:5940:1: ( '}' ) + // InternalApplicationConfiguration.g:5941:2: '}' { before(grammarAccess.getConfigSpecificationAccess().getRightCurlyBracketKeyword_3()); - match(input,32,FOLLOW_2); + match(input,31,FOLLOW_2); after(grammarAccess.getConfigSpecificationAccess().getRightCurlyBracketKeyword_3()); } @@ -20610,16 +18897,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ConfigSpecification__Group_2__0" - // InternalApplicationConfiguration.g:6504:1: rule__ConfigSpecification__Group_2__0 : rule__ConfigSpecification__Group_2__0__Impl rule__ConfigSpecification__Group_2__1 ; + // InternalApplicationConfiguration.g:5951:1: rule__ConfigSpecification__Group_2__0 : rule__ConfigSpecification__Group_2__0__Impl rule__ConfigSpecification__Group_2__1 ; public final void rule__ConfigSpecification__Group_2__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:6508:1: ( rule__ConfigSpecification__Group_2__0__Impl rule__ConfigSpecification__Group_2__1 ) - // InternalApplicationConfiguration.g:6509:2: rule__ConfigSpecification__Group_2__0__Impl rule__ConfigSpecification__Group_2__1 + // InternalApplicationConfiguration.g:5955:1: ( rule__ConfigSpecification__Group_2__0__Impl rule__ConfigSpecification__Group_2__1 ) + // InternalApplicationConfiguration.g:5956:2: rule__ConfigSpecification__Group_2__0__Impl rule__ConfigSpecification__Group_2__1 { - pushFollow(FOLLOW_28); + pushFollow(FOLLOW_26); rule__ConfigSpecification__Group_2__0__Impl(); state._fsp--; @@ -20648,21 +18935,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ConfigSpecification__Group_2__0__Impl" - // InternalApplicationConfiguration.g:6516:1: rule__ConfigSpecification__Group_2__0__Impl : ( ( rule__ConfigSpecification__EntriesAssignment_2_0 ) ) ; + // InternalApplicationConfiguration.g:5963:1: rule__ConfigSpecification__Group_2__0__Impl : ( ( rule__ConfigSpecification__EntriesAssignment_2_0 ) ) ; public final void rule__ConfigSpecification__Group_2__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:6520:1: ( ( ( rule__ConfigSpecification__EntriesAssignment_2_0 ) ) ) - // InternalApplicationConfiguration.g:6521:1: ( ( rule__ConfigSpecification__EntriesAssignment_2_0 ) ) + // InternalApplicationConfiguration.g:5967:1: ( ( ( rule__ConfigSpecification__EntriesAssignment_2_0 ) ) ) + // InternalApplicationConfiguration.g:5968:1: ( ( rule__ConfigSpecification__EntriesAssignment_2_0 ) ) { - // InternalApplicationConfiguration.g:6521:1: ( ( rule__ConfigSpecification__EntriesAssignment_2_0 ) ) - // InternalApplicationConfiguration.g:6522:2: ( rule__ConfigSpecification__EntriesAssignment_2_0 ) + // InternalApplicationConfiguration.g:5968:1: ( ( rule__ConfigSpecification__EntriesAssignment_2_0 ) ) + // InternalApplicationConfiguration.g:5969:2: ( rule__ConfigSpecification__EntriesAssignment_2_0 ) { before(grammarAccess.getConfigSpecificationAccess().getEntriesAssignment_2_0()); - // InternalApplicationConfiguration.g:6523:2: ( rule__ConfigSpecification__EntriesAssignment_2_0 ) - // InternalApplicationConfiguration.g:6523:3: rule__ConfigSpecification__EntriesAssignment_2_0 + // InternalApplicationConfiguration.g:5970:2: ( rule__ConfigSpecification__EntriesAssignment_2_0 ) + // InternalApplicationConfiguration.g:5970:3: rule__ConfigSpecification__EntriesAssignment_2_0 { pushFollow(FOLLOW_2); rule__ConfigSpecification__EntriesAssignment_2_0(); @@ -20695,14 +18982,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ConfigSpecification__Group_2__1" - // InternalApplicationConfiguration.g:6531:1: rule__ConfigSpecification__Group_2__1 : rule__ConfigSpecification__Group_2__1__Impl ; + // InternalApplicationConfiguration.g:5978:1: rule__ConfigSpecification__Group_2__1 : rule__ConfigSpecification__Group_2__1__Impl ; public final void rule__ConfigSpecification__Group_2__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:6535:1: ( rule__ConfigSpecification__Group_2__1__Impl ) - // InternalApplicationConfiguration.g:6536:2: rule__ConfigSpecification__Group_2__1__Impl + // InternalApplicationConfiguration.g:5982:1: ( rule__ConfigSpecification__Group_2__1__Impl ) + // InternalApplicationConfiguration.g:5983:2: rule__ConfigSpecification__Group_2__1__Impl { pushFollow(FOLLOW_2); rule__ConfigSpecification__Group_2__1__Impl(); @@ -20728,35 +19015,35 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ConfigSpecification__Group_2__1__Impl" - // InternalApplicationConfiguration.g:6542:1: rule__ConfigSpecification__Group_2__1__Impl : ( ( rule__ConfigSpecification__Group_2_1__0 )* ) ; + // InternalApplicationConfiguration.g:5989:1: rule__ConfigSpecification__Group_2__1__Impl : ( ( rule__ConfigSpecification__Group_2_1__0 )* ) ; public final void rule__ConfigSpecification__Group_2__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:6546:1: ( ( ( rule__ConfigSpecification__Group_2_1__0 )* ) ) - // InternalApplicationConfiguration.g:6547:1: ( ( rule__ConfigSpecification__Group_2_1__0 )* ) + // InternalApplicationConfiguration.g:5993:1: ( ( ( rule__ConfigSpecification__Group_2_1__0 )* ) ) + // InternalApplicationConfiguration.g:5994:1: ( ( rule__ConfigSpecification__Group_2_1__0 )* ) { - // InternalApplicationConfiguration.g:6547:1: ( ( rule__ConfigSpecification__Group_2_1__0 )* ) - // InternalApplicationConfiguration.g:6548:2: ( rule__ConfigSpecification__Group_2_1__0 )* + // InternalApplicationConfiguration.g:5994:1: ( ( rule__ConfigSpecification__Group_2_1__0 )* ) + // InternalApplicationConfiguration.g:5995:2: ( rule__ConfigSpecification__Group_2_1__0 )* { before(grammarAccess.getConfigSpecificationAccess().getGroup_2_1()); - // InternalApplicationConfiguration.g:6549:2: ( rule__ConfigSpecification__Group_2_1__0 )* - loop57: + // InternalApplicationConfiguration.g:5996:2: ( rule__ConfigSpecification__Group_2_1__0 )* + loop53: do { - int alt57=2; - int LA57_0 = input.LA(1); + int alt53=2; + int LA53_0 = input.LA(1); - if ( (LA57_0==33) ) { - alt57=1; + if ( (LA53_0==32) ) { + alt53=1; } - switch (alt57) { + switch (alt53) { case 1 : - // InternalApplicationConfiguration.g:6549:3: rule__ConfigSpecification__Group_2_1__0 + // InternalApplicationConfiguration.g:5996:3: rule__ConfigSpecification__Group_2_1__0 { - pushFollow(FOLLOW_17); + pushFollow(FOLLOW_16); rule__ConfigSpecification__Group_2_1__0(); state._fsp--; @@ -20766,7 +19053,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont break; default : - break loop57; + break loop53; } } while (true); @@ -20793,16 +19080,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ConfigSpecification__Group_2_1__0" - // InternalApplicationConfiguration.g:6558:1: rule__ConfigSpecification__Group_2_1__0 : rule__ConfigSpecification__Group_2_1__0__Impl rule__ConfigSpecification__Group_2_1__1 ; + // InternalApplicationConfiguration.g:6005:1: rule__ConfigSpecification__Group_2_1__0 : rule__ConfigSpecification__Group_2_1__0__Impl rule__ConfigSpecification__Group_2_1__1 ; public final void rule__ConfigSpecification__Group_2_1__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:6562:1: ( rule__ConfigSpecification__Group_2_1__0__Impl rule__ConfigSpecification__Group_2_1__1 ) - // InternalApplicationConfiguration.g:6563:2: rule__ConfigSpecification__Group_2_1__0__Impl rule__ConfigSpecification__Group_2_1__1 + // InternalApplicationConfiguration.g:6009:1: ( rule__ConfigSpecification__Group_2_1__0__Impl rule__ConfigSpecification__Group_2_1__1 ) + // InternalApplicationConfiguration.g:6010:2: rule__ConfigSpecification__Group_2_1__0__Impl rule__ConfigSpecification__Group_2_1__1 { - pushFollow(FOLLOW_29); + pushFollow(FOLLOW_27); rule__ConfigSpecification__Group_2_1__0__Impl(); state._fsp--; @@ -20831,20 +19118,20 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ConfigSpecification__Group_2_1__0__Impl" - // InternalApplicationConfiguration.g:6570:1: rule__ConfigSpecification__Group_2_1__0__Impl : ( ',' ) ; + // InternalApplicationConfiguration.g:6017:1: rule__ConfigSpecification__Group_2_1__0__Impl : ( ',' ) ; public final void rule__ConfigSpecification__Group_2_1__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:6574:1: ( ( ',' ) ) - // InternalApplicationConfiguration.g:6575:1: ( ',' ) + // InternalApplicationConfiguration.g:6021:1: ( ( ',' ) ) + // InternalApplicationConfiguration.g:6022:1: ( ',' ) { - // InternalApplicationConfiguration.g:6575:1: ( ',' ) - // InternalApplicationConfiguration.g:6576:2: ',' + // InternalApplicationConfiguration.g:6022:1: ( ',' ) + // InternalApplicationConfiguration.g:6023:2: ',' { before(grammarAccess.getConfigSpecificationAccess().getCommaKeyword_2_1_0()); - match(input,33,FOLLOW_2); + match(input,32,FOLLOW_2); after(grammarAccess.getConfigSpecificationAccess().getCommaKeyword_2_1_0()); } @@ -20868,14 +19155,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ConfigSpecification__Group_2_1__1" - // InternalApplicationConfiguration.g:6585:1: rule__ConfigSpecification__Group_2_1__1 : rule__ConfigSpecification__Group_2_1__1__Impl ; + // InternalApplicationConfiguration.g:6032:1: rule__ConfigSpecification__Group_2_1__1 : rule__ConfigSpecification__Group_2_1__1__Impl ; public final void rule__ConfigSpecification__Group_2_1__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:6589:1: ( rule__ConfigSpecification__Group_2_1__1__Impl ) - // InternalApplicationConfiguration.g:6590:2: rule__ConfigSpecification__Group_2_1__1__Impl + // InternalApplicationConfiguration.g:6036:1: ( rule__ConfigSpecification__Group_2_1__1__Impl ) + // InternalApplicationConfiguration.g:6037:2: rule__ConfigSpecification__Group_2_1__1__Impl { pushFollow(FOLLOW_2); rule__ConfigSpecification__Group_2_1__1__Impl(); @@ -20901,21 +19188,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ConfigSpecification__Group_2_1__1__Impl" - // InternalApplicationConfiguration.g:6596:1: rule__ConfigSpecification__Group_2_1__1__Impl : ( ( rule__ConfigSpecification__EntriesAssignment_2_1_1 ) ) ; + // InternalApplicationConfiguration.g:6043:1: rule__ConfigSpecification__Group_2_1__1__Impl : ( ( rule__ConfigSpecification__EntriesAssignment_2_1_1 ) ) ; public final void rule__ConfigSpecification__Group_2_1__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:6600:1: ( ( ( rule__ConfigSpecification__EntriesAssignment_2_1_1 ) ) ) - // InternalApplicationConfiguration.g:6601:1: ( ( rule__ConfigSpecification__EntriesAssignment_2_1_1 ) ) + // InternalApplicationConfiguration.g:6047:1: ( ( ( rule__ConfigSpecification__EntriesAssignment_2_1_1 ) ) ) + // InternalApplicationConfiguration.g:6048:1: ( ( rule__ConfigSpecification__EntriesAssignment_2_1_1 ) ) { - // InternalApplicationConfiguration.g:6601:1: ( ( rule__ConfigSpecification__EntriesAssignment_2_1_1 ) ) - // InternalApplicationConfiguration.g:6602:2: ( rule__ConfigSpecification__EntriesAssignment_2_1_1 ) + // InternalApplicationConfiguration.g:6048:1: ( ( rule__ConfigSpecification__EntriesAssignment_2_1_1 ) ) + // InternalApplicationConfiguration.g:6049:2: ( rule__ConfigSpecification__EntriesAssignment_2_1_1 ) { before(grammarAccess.getConfigSpecificationAccess().getEntriesAssignment_2_1_1()); - // InternalApplicationConfiguration.g:6603:2: ( rule__ConfigSpecification__EntriesAssignment_2_1_1 ) - // InternalApplicationConfiguration.g:6603:3: rule__ConfigSpecification__EntriesAssignment_2_1_1 + // InternalApplicationConfiguration.g:6050:2: ( rule__ConfigSpecification__EntriesAssignment_2_1_1 ) + // InternalApplicationConfiguration.g:6050:3: rule__ConfigSpecification__EntriesAssignment_2_1_1 { pushFollow(FOLLOW_2); rule__ConfigSpecification__EntriesAssignment_2_1_1(); @@ -20948,14 +19235,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ConfigDeclaration__Group__0" - // InternalApplicationConfiguration.g:6612:1: rule__ConfigDeclaration__Group__0 : rule__ConfigDeclaration__Group__0__Impl rule__ConfigDeclaration__Group__1 ; + // InternalApplicationConfiguration.g:6059:1: rule__ConfigDeclaration__Group__0 : rule__ConfigDeclaration__Group__0__Impl rule__ConfigDeclaration__Group__1 ; public final void rule__ConfigDeclaration__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:6616:1: ( rule__ConfigDeclaration__Group__0__Impl rule__ConfigDeclaration__Group__1 ) - // InternalApplicationConfiguration.g:6617:2: rule__ConfigDeclaration__Group__0__Impl rule__ConfigDeclaration__Group__1 + // InternalApplicationConfiguration.g:6063:1: ( rule__ConfigDeclaration__Group__0__Impl rule__ConfigDeclaration__Group__1 ) + // InternalApplicationConfiguration.g:6064:2: rule__ConfigDeclaration__Group__0__Impl rule__ConfigDeclaration__Group__1 { pushFollow(FOLLOW_8); rule__ConfigDeclaration__Group__0__Impl(); @@ -20986,20 +19273,20 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ConfigDeclaration__Group__0__Impl" - // InternalApplicationConfiguration.g:6624:1: rule__ConfigDeclaration__Group__0__Impl : ( 'config' ) ; + // InternalApplicationConfiguration.g:6071:1: rule__ConfigDeclaration__Group__0__Impl : ( 'config' ) ; public final void rule__ConfigDeclaration__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:6628:1: ( ( 'config' ) ) - // InternalApplicationConfiguration.g:6629:1: ( 'config' ) + // InternalApplicationConfiguration.g:6075:1: ( ( 'config' ) ) + // InternalApplicationConfiguration.g:6076:1: ( 'config' ) { - // InternalApplicationConfiguration.g:6629:1: ( 'config' ) - // InternalApplicationConfiguration.g:6630:2: 'config' + // InternalApplicationConfiguration.g:6076:1: ( 'config' ) + // InternalApplicationConfiguration.g:6077:2: 'config' { before(grammarAccess.getConfigDeclarationAccess().getConfigKeyword_0()); - match(input,45,FOLLOW_2); + match(input,42,FOLLOW_2); after(grammarAccess.getConfigDeclarationAccess().getConfigKeyword_0()); } @@ -21023,16 +19310,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ConfigDeclaration__Group__1" - // InternalApplicationConfiguration.g:6639:1: rule__ConfigDeclaration__Group__1 : rule__ConfigDeclaration__Group__1__Impl rule__ConfigDeclaration__Group__2 ; + // InternalApplicationConfiguration.g:6086:1: rule__ConfigDeclaration__Group__1 : rule__ConfigDeclaration__Group__1__Impl rule__ConfigDeclaration__Group__2 ; public final void rule__ConfigDeclaration__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:6643:1: ( rule__ConfigDeclaration__Group__1__Impl rule__ConfigDeclaration__Group__2 ) - // InternalApplicationConfiguration.g:6644:2: rule__ConfigDeclaration__Group__1__Impl rule__ConfigDeclaration__Group__2 + // InternalApplicationConfiguration.g:6090:1: ( rule__ConfigDeclaration__Group__1__Impl rule__ConfigDeclaration__Group__2 ) + // InternalApplicationConfiguration.g:6091:2: rule__ConfigDeclaration__Group__1__Impl rule__ConfigDeclaration__Group__2 { - pushFollow(FOLLOW_19); + pushFollow(FOLLOW_18); rule__ConfigDeclaration__Group__1__Impl(); state._fsp--; @@ -21061,21 +19348,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ConfigDeclaration__Group__1__Impl" - // InternalApplicationConfiguration.g:6651:1: rule__ConfigDeclaration__Group__1__Impl : ( ( rule__ConfigDeclaration__NameAssignment_1 ) ) ; + // InternalApplicationConfiguration.g:6098:1: rule__ConfigDeclaration__Group__1__Impl : ( ( rule__ConfigDeclaration__NameAssignment_1 ) ) ; public final void rule__ConfigDeclaration__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:6655:1: ( ( ( rule__ConfigDeclaration__NameAssignment_1 ) ) ) - // InternalApplicationConfiguration.g:6656:1: ( ( rule__ConfigDeclaration__NameAssignment_1 ) ) + // InternalApplicationConfiguration.g:6102:1: ( ( ( rule__ConfigDeclaration__NameAssignment_1 ) ) ) + // InternalApplicationConfiguration.g:6103:1: ( ( rule__ConfigDeclaration__NameAssignment_1 ) ) { - // InternalApplicationConfiguration.g:6656:1: ( ( rule__ConfigDeclaration__NameAssignment_1 ) ) - // InternalApplicationConfiguration.g:6657:2: ( rule__ConfigDeclaration__NameAssignment_1 ) + // InternalApplicationConfiguration.g:6103:1: ( ( rule__ConfigDeclaration__NameAssignment_1 ) ) + // InternalApplicationConfiguration.g:6104:2: ( rule__ConfigDeclaration__NameAssignment_1 ) { before(grammarAccess.getConfigDeclarationAccess().getNameAssignment_1()); - // InternalApplicationConfiguration.g:6658:2: ( rule__ConfigDeclaration__NameAssignment_1 ) - // InternalApplicationConfiguration.g:6658:3: rule__ConfigDeclaration__NameAssignment_1 + // InternalApplicationConfiguration.g:6105:2: ( rule__ConfigDeclaration__NameAssignment_1 ) + // InternalApplicationConfiguration.g:6105:3: rule__ConfigDeclaration__NameAssignment_1 { pushFollow(FOLLOW_2); rule__ConfigDeclaration__NameAssignment_1(); @@ -21108,14 +19395,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ConfigDeclaration__Group__2" - // InternalApplicationConfiguration.g:6666:1: rule__ConfigDeclaration__Group__2 : rule__ConfigDeclaration__Group__2__Impl ; + // InternalApplicationConfiguration.g:6113:1: rule__ConfigDeclaration__Group__2 : rule__ConfigDeclaration__Group__2__Impl ; public final void rule__ConfigDeclaration__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:6670:1: ( rule__ConfigDeclaration__Group__2__Impl ) - // InternalApplicationConfiguration.g:6671:2: rule__ConfigDeclaration__Group__2__Impl + // InternalApplicationConfiguration.g:6117:1: ( rule__ConfigDeclaration__Group__2__Impl ) + // InternalApplicationConfiguration.g:6118:2: rule__ConfigDeclaration__Group__2__Impl { pushFollow(FOLLOW_2); rule__ConfigDeclaration__Group__2__Impl(); @@ -21141,21 +19428,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ConfigDeclaration__Group__2__Impl" - // InternalApplicationConfiguration.g:6677:1: rule__ConfigDeclaration__Group__2__Impl : ( ( rule__ConfigDeclaration__SpecificationAssignment_2 ) ) ; + // InternalApplicationConfiguration.g:6124:1: rule__ConfigDeclaration__Group__2__Impl : ( ( rule__ConfigDeclaration__SpecificationAssignment_2 ) ) ; public final void rule__ConfigDeclaration__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:6681:1: ( ( ( rule__ConfigDeclaration__SpecificationAssignment_2 ) ) ) - // InternalApplicationConfiguration.g:6682:1: ( ( rule__ConfigDeclaration__SpecificationAssignment_2 ) ) + // InternalApplicationConfiguration.g:6128:1: ( ( ( rule__ConfigDeclaration__SpecificationAssignment_2 ) ) ) + // InternalApplicationConfiguration.g:6129:1: ( ( rule__ConfigDeclaration__SpecificationAssignment_2 ) ) { - // InternalApplicationConfiguration.g:6682:1: ( ( rule__ConfigDeclaration__SpecificationAssignment_2 ) ) - // InternalApplicationConfiguration.g:6683:2: ( rule__ConfigDeclaration__SpecificationAssignment_2 ) + // InternalApplicationConfiguration.g:6129:1: ( ( rule__ConfigDeclaration__SpecificationAssignment_2 ) ) + // InternalApplicationConfiguration.g:6130:2: ( rule__ConfigDeclaration__SpecificationAssignment_2 ) { before(grammarAccess.getConfigDeclarationAccess().getSpecificationAssignment_2()); - // InternalApplicationConfiguration.g:6684:2: ( rule__ConfigDeclaration__SpecificationAssignment_2 ) - // InternalApplicationConfiguration.g:6684:3: rule__ConfigDeclaration__SpecificationAssignment_2 + // InternalApplicationConfiguration.g:6131:2: ( rule__ConfigDeclaration__SpecificationAssignment_2 ) + // InternalApplicationConfiguration.g:6131:3: rule__ConfigDeclaration__SpecificationAssignment_2 { pushFollow(FOLLOW_2); rule__ConfigDeclaration__SpecificationAssignment_2(); @@ -21188,16 +19475,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__DocumentationEntry__Group__0" - // InternalApplicationConfiguration.g:6693:1: rule__DocumentationEntry__Group__0 : rule__DocumentationEntry__Group__0__Impl rule__DocumentationEntry__Group__1 ; + // InternalApplicationConfiguration.g:6140:1: rule__DocumentationEntry__Group__0 : rule__DocumentationEntry__Group__0__Impl rule__DocumentationEntry__Group__1 ; public final void rule__DocumentationEntry__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:6697:1: ( rule__DocumentationEntry__Group__0__Impl rule__DocumentationEntry__Group__1 ) - // InternalApplicationConfiguration.g:6698:2: rule__DocumentationEntry__Group__0__Impl rule__DocumentationEntry__Group__1 + // InternalApplicationConfiguration.g:6144:1: ( rule__DocumentationEntry__Group__0__Impl rule__DocumentationEntry__Group__1 ) + // InternalApplicationConfiguration.g:6145:2: rule__DocumentationEntry__Group__0__Impl rule__DocumentationEntry__Group__1 { - pushFollow(FOLLOW_14); + pushFollow(FOLLOW_13); rule__DocumentationEntry__Group__0__Impl(); state._fsp--; @@ -21226,20 +19513,20 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__DocumentationEntry__Group__0__Impl" - // InternalApplicationConfiguration.g:6705:1: rule__DocumentationEntry__Group__0__Impl : ( 'log-level' ) ; + // InternalApplicationConfiguration.g:6152:1: rule__DocumentationEntry__Group__0__Impl : ( 'log-level' ) ; public final void rule__DocumentationEntry__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:6709:1: ( ( 'log-level' ) ) - // InternalApplicationConfiguration.g:6710:1: ( 'log-level' ) + // InternalApplicationConfiguration.g:6156:1: ( ( 'log-level' ) ) + // InternalApplicationConfiguration.g:6157:1: ( 'log-level' ) { - // InternalApplicationConfiguration.g:6710:1: ( 'log-level' ) - // InternalApplicationConfiguration.g:6711:2: 'log-level' + // InternalApplicationConfiguration.g:6157:1: ( 'log-level' ) + // InternalApplicationConfiguration.g:6158:2: 'log-level' { before(grammarAccess.getDocumentationEntryAccess().getLogLevelKeyword_0()); - match(input,46,FOLLOW_2); + match(input,43,FOLLOW_2); after(grammarAccess.getDocumentationEntryAccess().getLogLevelKeyword_0()); } @@ -21263,16 +19550,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__DocumentationEntry__Group__1" - // InternalApplicationConfiguration.g:6720:1: rule__DocumentationEntry__Group__1 : rule__DocumentationEntry__Group__1__Impl rule__DocumentationEntry__Group__2 ; + // InternalApplicationConfiguration.g:6167:1: rule__DocumentationEntry__Group__1 : rule__DocumentationEntry__Group__1__Impl rule__DocumentationEntry__Group__2 ; public final void rule__DocumentationEntry__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:6724:1: ( rule__DocumentationEntry__Group__1__Impl rule__DocumentationEntry__Group__2 ) - // InternalApplicationConfiguration.g:6725:2: rule__DocumentationEntry__Group__1__Impl rule__DocumentationEntry__Group__2 + // InternalApplicationConfiguration.g:6171:1: ( rule__DocumentationEntry__Group__1__Impl rule__DocumentationEntry__Group__2 ) + // InternalApplicationConfiguration.g:6172:2: rule__DocumentationEntry__Group__1__Impl rule__DocumentationEntry__Group__2 { - pushFollow(FOLLOW_30); + pushFollow(FOLLOW_28); rule__DocumentationEntry__Group__1__Impl(); state._fsp--; @@ -21301,20 +19588,20 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__DocumentationEntry__Group__1__Impl" - // InternalApplicationConfiguration.g:6732:1: rule__DocumentationEntry__Group__1__Impl : ( '=' ) ; + // InternalApplicationConfiguration.g:6179:1: rule__DocumentationEntry__Group__1__Impl : ( '=' ) ; public final void rule__DocumentationEntry__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:6736:1: ( ( '=' ) ) - // InternalApplicationConfiguration.g:6737:1: ( '=' ) + // InternalApplicationConfiguration.g:6183:1: ( ( '=' ) ) + // InternalApplicationConfiguration.g:6184:1: ( '=' ) { - // InternalApplicationConfiguration.g:6737:1: ( '=' ) - // InternalApplicationConfiguration.g:6738:2: '=' + // InternalApplicationConfiguration.g:6184:1: ( '=' ) + // InternalApplicationConfiguration.g:6185:2: '=' { before(grammarAccess.getDocumentationEntryAccess().getEqualsSignKeyword_1()); - match(input,30,FOLLOW_2); + match(input,29,FOLLOW_2); after(grammarAccess.getDocumentationEntryAccess().getEqualsSignKeyword_1()); } @@ -21338,14 +19625,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__DocumentationEntry__Group__2" - // InternalApplicationConfiguration.g:6747:1: rule__DocumentationEntry__Group__2 : rule__DocumentationEntry__Group__2__Impl ; + // InternalApplicationConfiguration.g:6194:1: rule__DocumentationEntry__Group__2 : rule__DocumentationEntry__Group__2__Impl ; public final void rule__DocumentationEntry__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:6751:1: ( rule__DocumentationEntry__Group__2__Impl ) - // InternalApplicationConfiguration.g:6752:2: rule__DocumentationEntry__Group__2__Impl + // InternalApplicationConfiguration.g:6198:1: ( rule__DocumentationEntry__Group__2__Impl ) + // InternalApplicationConfiguration.g:6199:2: rule__DocumentationEntry__Group__2__Impl { pushFollow(FOLLOW_2); rule__DocumentationEntry__Group__2__Impl(); @@ -21371,21 +19658,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__DocumentationEntry__Group__2__Impl" - // InternalApplicationConfiguration.g:6758:1: rule__DocumentationEntry__Group__2__Impl : ( ( rule__DocumentationEntry__LevelAssignment_2 ) ) ; + // InternalApplicationConfiguration.g:6205:1: rule__DocumentationEntry__Group__2__Impl : ( ( rule__DocumentationEntry__LevelAssignment_2 ) ) ; public final void rule__DocumentationEntry__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:6762:1: ( ( ( rule__DocumentationEntry__LevelAssignment_2 ) ) ) - // InternalApplicationConfiguration.g:6763:1: ( ( rule__DocumentationEntry__LevelAssignment_2 ) ) + // InternalApplicationConfiguration.g:6209:1: ( ( ( rule__DocumentationEntry__LevelAssignment_2 ) ) ) + // InternalApplicationConfiguration.g:6210:1: ( ( rule__DocumentationEntry__LevelAssignment_2 ) ) { - // InternalApplicationConfiguration.g:6763:1: ( ( rule__DocumentationEntry__LevelAssignment_2 ) ) - // InternalApplicationConfiguration.g:6764:2: ( rule__DocumentationEntry__LevelAssignment_2 ) + // InternalApplicationConfiguration.g:6210:1: ( ( rule__DocumentationEntry__LevelAssignment_2 ) ) + // InternalApplicationConfiguration.g:6211:2: ( rule__DocumentationEntry__LevelAssignment_2 ) { before(grammarAccess.getDocumentationEntryAccess().getLevelAssignment_2()); - // InternalApplicationConfiguration.g:6765:2: ( rule__DocumentationEntry__LevelAssignment_2 ) - // InternalApplicationConfiguration.g:6765:3: rule__DocumentationEntry__LevelAssignment_2 + // InternalApplicationConfiguration.g:6212:2: ( rule__DocumentationEntry__LevelAssignment_2 ) + // InternalApplicationConfiguration.g:6212:3: rule__DocumentationEntry__LevelAssignment_2 { pushFollow(FOLLOW_2); rule__DocumentationEntry__LevelAssignment_2(); @@ -21418,16 +19705,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__RuntimeEntry__Group__0" - // InternalApplicationConfiguration.g:6774:1: rule__RuntimeEntry__Group__0 : rule__RuntimeEntry__Group__0__Impl rule__RuntimeEntry__Group__1 ; + // InternalApplicationConfiguration.g:6221:1: rule__RuntimeEntry__Group__0 : rule__RuntimeEntry__Group__0__Impl rule__RuntimeEntry__Group__1 ; public final void rule__RuntimeEntry__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:6778:1: ( rule__RuntimeEntry__Group__0__Impl rule__RuntimeEntry__Group__1 ) - // InternalApplicationConfiguration.g:6779:2: rule__RuntimeEntry__Group__0__Impl rule__RuntimeEntry__Group__1 + // InternalApplicationConfiguration.g:6225:1: ( rule__RuntimeEntry__Group__0__Impl rule__RuntimeEntry__Group__1 ) + // InternalApplicationConfiguration.g:6226:2: rule__RuntimeEntry__Group__0__Impl rule__RuntimeEntry__Group__1 { - pushFollow(FOLLOW_14); + pushFollow(FOLLOW_13); rule__RuntimeEntry__Group__0__Impl(); state._fsp--; @@ -21456,20 +19743,20 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__RuntimeEntry__Group__0__Impl" - // InternalApplicationConfiguration.g:6786:1: rule__RuntimeEntry__Group__0__Impl : ( 'runtime' ) ; + // InternalApplicationConfiguration.g:6233:1: rule__RuntimeEntry__Group__0__Impl : ( 'runtime' ) ; public final void rule__RuntimeEntry__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:6790:1: ( ( 'runtime' ) ) - // InternalApplicationConfiguration.g:6791:1: ( 'runtime' ) + // InternalApplicationConfiguration.g:6237:1: ( ( 'runtime' ) ) + // InternalApplicationConfiguration.g:6238:1: ( 'runtime' ) { - // InternalApplicationConfiguration.g:6791:1: ( 'runtime' ) - // InternalApplicationConfiguration.g:6792:2: 'runtime' + // InternalApplicationConfiguration.g:6238:1: ( 'runtime' ) + // InternalApplicationConfiguration.g:6239:2: 'runtime' { before(grammarAccess.getRuntimeEntryAccess().getRuntimeKeyword_0()); - match(input,47,FOLLOW_2); + match(input,44,FOLLOW_2); after(grammarAccess.getRuntimeEntryAccess().getRuntimeKeyword_0()); } @@ -21493,14 +19780,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__RuntimeEntry__Group__1" - // InternalApplicationConfiguration.g:6801:1: rule__RuntimeEntry__Group__1 : rule__RuntimeEntry__Group__1__Impl rule__RuntimeEntry__Group__2 ; + // InternalApplicationConfiguration.g:6248:1: rule__RuntimeEntry__Group__1 : rule__RuntimeEntry__Group__1__Impl rule__RuntimeEntry__Group__2 ; public final void rule__RuntimeEntry__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:6805:1: ( rule__RuntimeEntry__Group__1__Impl rule__RuntimeEntry__Group__2 ) - // InternalApplicationConfiguration.g:6806:2: rule__RuntimeEntry__Group__1__Impl rule__RuntimeEntry__Group__2 + // InternalApplicationConfiguration.g:6252:1: ( rule__RuntimeEntry__Group__1__Impl rule__RuntimeEntry__Group__2 ) + // InternalApplicationConfiguration.g:6253:2: rule__RuntimeEntry__Group__1__Impl rule__RuntimeEntry__Group__2 { pushFollow(FOLLOW_9); rule__RuntimeEntry__Group__1__Impl(); @@ -21531,20 +19818,20 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__RuntimeEntry__Group__1__Impl" - // InternalApplicationConfiguration.g:6813:1: rule__RuntimeEntry__Group__1__Impl : ( '=' ) ; + // InternalApplicationConfiguration.g:6260:1: rule__RuntimeEntry__Group__1__Impl : ( '=' ) ; public final void rule__RuntimeEntry__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:6817:1: ( ( '=' ) ) - // InternalApplicationConfiguration.g:6818:1: ( '=' ) + // InternalApplicationConfiguration.g:6264:1: ( ( '=' ) ) + // InternalApplicationConfiguration.g:6265:1: ( '=' ) { - // InternalApplicationConfiguration.g:6818:1: ( '=' ) - // InternalApplicationConfiguration.g:6819:2: '=' + // InternalApplicationConfiguration.g:6265:1: ( '=' ) + // InternalApplicationConfiguration.g:6266:2: '=' { before(grammarAccess.getRuntimeEntryAccess().getEqualsSignKeyword_1()); - match(input,30,FOLLOW_2); + match(input,29,FOLLOW_2); after(grammarAccess.getRuntimeEntryAccess().getEqualsSignKeyword_1()); } @@ -21568,14 +19855,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__RuntimeEntry__Group__2" - // InternalApplicationConfiguration.g:6828:1: rule__RuntimeEntry__Group__2 : rule__RuntimeEntry__Group__2__Impl ; + // InternalApplicationConfiguration.g:6275:1: rule__RuntimeEntry__Group__2 : rule__RuntimeEntry__Group__2__Impl ; public final void rule__RuntimeEntry__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:6832:1: ( rule__RuntimeEntry__Group__2__Impl ) - // InternalApplicationConfiguration.g:6833:2: rule__RuntimeEntry__Group__2__Impl + // InternalApplicationConfiguration.g:6279:1: ( rule__RuntimeEntry__Group__2__Impl ) + // InternalApplicationConfiguration.g:6280:2: rule__RuntimeEntry__Group__2__Impl { pushFollow(FOLLOW_2); rule__RuntimeEntry__Group__2__Impl(); @@ -21601,21 +19888,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__RuntimeEntry__Group__2__Impl" - // InternalApplicationConfiguration.g:6839:1: rule__RuntimeEntry__Group__2__Impl : ( ( rule__RuntimeEntry__MillisecLimitAssignment_2 ) ) ; + // InternalApplicationConfiguration.g:6286:1: rule__RuntimeEntry__Group__2__Impl : ( ( rule__RuntimeEntry__MillisecLimitAssignment_2 ) ) ; public final void rule__RuntimeEntry__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:6843:1: ( ( ( rule__RuntimeEntry__MillisecLimitAssignment_2 ) ) ) - // InternalApplicationConfiguration.g:6844:1: ( ( rule__RuntimeEntry__MillisecLimitAssignment_2 ) ) + // InternalApplicationConfiguration.g:6290:1: ( ( ( rule__RuntimeEntry__MillisecLimitAssignment_2 ) ) ) + // InternalApplicationConfiguration.g:6291:1: ( ( rule__RuntimeEntry__MillisecLimitAssignment_2 ) ) { - // InternalApplicationConfiguration.g:6844:1: ( ( rule__RuntimeEntry__MillisecLimitAssignment_2 ) ) - // InternalApplicationConfiguration.g:6845:2: ( rule__RuntimeEntry__MillisecLimitAssignment_2 ) + // InternalApplicationConfiguration.g:6291:1: ( ( rule__RuntimeEntry__MillisecLimitAssignment_2 ) ) + // InternalApplicationConfiguration.g:6292:2: ( rule__RuntimeEntry__MillisecLimitAssignment_2 ) { before(grammarAccess.getRuntimeEntryAccess().getMillisecLimitAssignment_2()); - // InternalApplicationConfiguration.g:6846:2: ( rule__RuntimeEntry__MillisecLimitAssignment_2 ) - // InternalApplicationConfiguration.g:6846:3: rule__RuntimeEntry__MillisecLimitAssignment_2 + // InternalApplicationConfiguration.g:6293:2: ( rule__RuntimeEntry__MillisecLimitAssignment_2 ) + // InternalApplicationConfiguration.g:6293:3: rule__RuntimeEntry__MillisecLimitAssignment_2 { pushFollow(FOLLOW_2); rule__RuntimeEntry__MillisecLimitAssignment_2(); @@ -21648,16 +19935,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__MemoryEntry__Group__0" - // InternalApplicationConfiguration.g:6855:1: rule__MemoryEntry__Group__0 : rule__MemoryEntry__Group__0__Impl rule__MemoryEntry__Group__1 ; + // InternalApplicationConfiguration.g:6302:1: rule__MemoryEntry__Group__0 : rule__MemoryEntry__Group__0__Impl rule__MemoryEntry__Group__1 ; public final void rule__MemoryEntry__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:6859:1: ( rule__MemoryEntry__Group__0__Impl rule__MemoryEntry__Group__1 ) - // InternalApplicationConfiguration.g:6860:2: rule__MemoryEntry__Group__0__Impl rule__MemoryEntry__Group__1 + // InternalApplicationConfiguration.g:6306:1: ( rule__MemoryEntry__Group__0__Impl rule__MemoryEntry__Group__1 ) + // InternalApplicationConfiguration.g:6307:2: rule__MemoryEntry__Group__0__Impl rule__MemoryEntry__Group__1 { - pushFollow(FOLLOW_14); + pushFollow(FOLLOW_13); rule__MemoryEntry__Group__0__Impl(); state._fsp--; @@ -21686,20 +19973,20 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__MemoryEntry__Group__0__Impl" - // InternalApplicationConfiguration.g:6867:1: rule__MemoryEntry__Group__0__Impl : ( 'memory' ) ; + // InternalApplicationConfiguration.g:6314:1: rule__MemoryEntry__Group__0__Impl : ( 'memory' ) ; public final void rule__MemoryEntry__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:6871:1: ( ( 'memory' ) ) - // InternalApplicationConfiguration.g:6872:1: ( 'memory' ) + // InternalApplicationConfiguration.g:6318:1: ( ( 'memory' ) ) + // InternalApplicationConfiguration.g:6319:1: ( 'memory' ) { - // InternalApplicationConfiguration.g:6872:1: ( 'memory' ) - // InternalApplicationConfiguration.g:6873:2: 'memory' + // InternalApplicationConfiguration.g:6319:1: ( 'memory' ) + // InternalApplicationConfiguration.g:6320:2: 'memory' { before(grammarAccess.getMemoryEntryAccess().getMemoryKeyword_0()); - match(input,48,FOLLOW_2); + match(input,45,FOLLOW_2); after(grammarAccess.getMemoryEntryAccess().getMemoryKeyword_0()); } @@ -21723,14 +20010,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__MemoryEntry__Group__1" - // InternalApplicationConfiguration.g:6882:1: rule__MemoryEntry__Group__1 : rule__MemoryEntry__Group__1__Impl rule__MemoryEntry__Group__2 ; + // InternalApplicationConfiguration.g:6329:1: rule__MemoryEntry__Group__1 : rule__MemoryEntry__Group__1__Impl rule__MemoryEntry__Group__2 ; public final void rule__MemoryEntry__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:6886:1: ( rule__MemoryEntry__Group__1__Impl rule__MemoryEntry__Group__2 ) - // InternalApplicationConfiguration.g:6887:2: rule__MemoryEntry__Group__1__Impl rule__MemoryEntry__Group__2 + // InternalApplicationConfiguration.g:6333:1: ( rule__MemoryEntry__Group__1__Impl rule__MemoryEntry__Group__2 ) + // InternalApplicationConfiguration.g:6334:2: rule__MemoryEntry__Group__1__Impl rule__MemoryEntry__Group__2 { pushFollow(FOLLOW_9); rule__MemoryEntry__Group__1__Impl(); @@ -21761,20 +20048,20 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__MemoryEntry__Group__1__Impl" - // InternalApplicationConfiguration.g:6894:1: rule__MemoryEntry__Group__1__Impl : ( '=' ) ; + // InternalApplicationConfiguration.g:6341:1: rule__MemoryEntry__Group__1__Impl : ( '=' ) ; public final void rule__MemoryEntry__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:6898:1: ( ( '=' ) ) - // InternalApplicationConfiguration.g:6899:1: ( '=' ) + // InternalApplicationConfiguration.g:6345:1: ( ( '=' ) ) + // InternalApplicationConfiguration.g:6346:1: ( '=' ) { - // InternalApplicationConfiguration.g:6899:1: ( '=' ) - // InternalApplicationConfiguration.g:6900:2: '=' + // InternalApplicationConfiguration.g:6346:1: ( '=' ) + // InternalApplicationConfiguration.g:6347:2: '=' { before(grammarAccess.getMemoryEntryAccess().getEqualsSignKeyword_1()); - match(input,30,FOLLOW_2); + match(input,29,FOLLOW_2); after(grammarAccess.getMemoryEntryAccess().getEqualsSignKeyword_1()); } @@ -21798,14 +20085,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__MemoryEntry__Group__2" - // InternalApplicationConfiguration.g:6909:1: rule__MemoryEntry__Group__2 : rule__MemoryEntry__Group__2__Impl ; + // InternalApplicationConfiguration.g:6356:1: rule__MemoryEntry__Group__2 : rule__MemoryEntry__Group__2__Impl ; public final void rule__MemoryEntry__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:6913:1: ( rule__MemoryEntry__Group__2__Impl ) - // InternalApplicationConfiguration.g:6914:2: rule__MemoryEntry__Group__2__Impl + // InternalApplicationConfiguration.g:6360:1: ( rule__MemoryEntry__Group__2__Impl ) + // InternalApplicationConfiguration.g:6361:2: rule__MemoryEntry__Group__2__Impl { pushFollow(FOLLOW_2); rule__MemoryEntry__Group__2__Impl(); @@ -21831,21 +20118,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__MemoryEntry__Group__2__Impl" - // InternalApplicationConfiguration.g:6920:1: rule__MemoryEntry__Group__2__Impl : ( ( rule__MemoryEntry__MegabyteLimitAssignment_2 ) ) ; + // InternalApplicationConfiguration.g:6367:1: rule__MemoryEntry__Group__2__Impl : ( ( rule__MemoryEntry__MegabyteLimitAssignment_2 ) ) ; public final void rule__MemoryEntry__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:6924:1: ( ( ( rule__MemoryEntry__MegabyteLimitAssignment_2 ) ) ) - // InternalApplicationConfiguration.g:6925:1: ( ( rule__MemoryEntry__MegabyteLimitAssignment_2 ) ) + // InternalApplicationConfiguration.g:6371:1: ( ( ( rule__MemoryEntry__MegabyteLimitAssignment_2 ) ) ) + // InternalApplicationConfiguration.g:6372:1: ( ( rule__MemoryEntry__MegabyteLimitAssignment_2 ) ) { - // InternalApplicationConfiguration.g:6925:1: ( ( rule__MemoryEntry__MegabyteLimitAssignment_2 ) ) - // InternalApplicationConfiguration.g:6926:2: ( rule__MemoryEntry__MegabyteLimitAssignment_2 ) + // InternalApplicationConfiguration.g:6372:1: ( ( rule__MemoryEntry__MegabyteLimitAssignment_2 ) ) + // InternalApplicationConfiguration.g:6373:2: ( rule__MemoryEntry__MegabyteLimitAssignment_2 ) { before(grammarAccess.getMemoryEntryAccess().getMegabyteLimitAssignment_2()); - // InternalApplicationConfiguration.g:6927:2: ( rule__MemoryEntry__MegabyteLimitAssignment_2 ) - // InternalApplicationConfiguration.g:6927:3: rule__MemoryEntry__MegabyteLimitAssignment_2 + // InternalApplicationConfiguration.g:6374:2: ( rule__MemoryEntry__MegabyteLimitAssignment_2 ) + // InternalApplicationConfiguration.g:6374:3: rule__MemoryEntry__MegabyteLimitAssignment_2 { pushFollow(FOLLOW_2); rule__MemoryEntry__MegabyteLimitAssignment_2(); @@ -21878,16 +20165,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__CustomEntry__Group__0" - // InternalApplicationConfiguration.g:6936:1: rule__CustomEntry__Group__0 : rule__CustomEntry__Group__0__Impl rule__CustomEntry__Group__1 ; + // InternalApplicationConfiguration.g:6383:1: rule__CustomEntry__Group__0 : rule__CustomEntry__Group__0__Impl rule__CustomEntry__Group__1 ; public final void rule__CustomEntry__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:6940:1: ( rule__CustomEntry__Group__0__Impl rule__CustomEntry__Group__1 ) - // InternalApplicationConfiguration.g:6941:2: rule__CustomEntry__Group__0__Impl rule__CustomEntry__Group__1 + // InternalApplicationConfiguration.g:6387:1: ( rule__CustomEntry__Group__0__Impl rule__CustomEntry__Group__1 ) + // InternalApplicationConfiguration.g:6388:2: rule__CustomEntry__Group__0__Impl rule__CustomEntry__Group__1 { - pushFollow(FOLLOW_14); + pushFollow(FOLLOW_13); rule__CustomEntry__Group__0__Impl(); state._fsp--; @@ -21916,21 +20203,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__CustomEntry__Group__0__Impl" - // InternalApplicationConfiguration.g:6948:1: rule__CustomEntry__Group__0__Impl : ( ( rule__CustomEntry__KeyAssignment_0 ) ) ; + // InternalApplicationConfiguration.g:6395:1: rule__CustomEntry__Group__0__Impl : ( ( rule__CustomEntry__KeyAssignment_0 ) ) ; public final void rule__CustomEntry__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:6952:1: ( ( ( rule__CustomEntry__KeyAssignment_0 ) ) ) - // InternalApplicationConfiguration.g:6953:1: ( ( rule__CustomEntry__KeyAssignment_0 ) ) + // InternalApplicationConfiguration.g:6399:1: ( ( ( rule__CustomEntry__KeyAssignment_0 ) ) ) + // InternalApplicationConfiguration.g:6400:1: ( ( rule__CustomEntry__KeyAssignment_0 ) ) { - // InternalApplicationConfiguration.g:6953:1: ( ( rule__CustomEntry__KeyAssignment_0 ) ) - // InternalApplicationConfiguration.g:6954:2: ( rule__CustomEntry__KeyAssignment_0 ) + // InternalApplicationConfiguration.g:6400:1: ( ( rule__CustomEntry__KeyAssignment_0 ) ) + // InternalApplicationConfiguration.g:6401:2: ( rule__CustomEntry__KeyAssignment_0 ) { before(grammarAccess.getCustomEntryAccess().getKeyAssignment_0()); - // InternalApplicationConfiguration.g:6955:2: ( rule__CustomEntry__KeyAssignment_0 ) - // InternalApplicationConfiguration.g:6955:3: rule__CustomEntry__KeyAssignment_0 + // InternalApplicationConfiguration.g:6402:2: ( rule__CustomEntry__KeyAssignment_0 ) + // InternalApplicationConfiguration.g:6402:3: rule__CustomEntry__KeyAssignment_0 { pushFollow(FOLLOW_2); rule__CustomEntry__KeyAssignment_0(); @@ -21963,14 +20250,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__CustomEntry__Group__1" - // InternalApplicationConfiguration.g:6963:1: rule__CustomEntry__Group__1 : rule__CustomEntry__Group__1__Impl rule__CustomEntry__Group__2 ; + // InternalApplicationConfiguration.g:6410:1: rule__CustomEntry__Group__1 : rule__CustomEntry__Group__1__Impl rule__CustomEntry__Group__2 ; public final void rule__CustomEntry__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:6967:1: ( rule__CustomEntry__Group__1__Impl rule__CustomEntry__Group__2 ) - // InternalApplicationConfiguration.g:6968:2: rule__CustomEntry__Group__1__Impl rule__CustomEntry__Group__2 + // InternalApplicationConfiguration.g:6414:1: ( rule__CustomEntry__Group__1__Impl rule__CustomEntry__Group__2 ) + // InternalApplicationConfiguration.g:6415:2: rule__CustomEntry__Group__1__Impl rule__CustomEntry__Group__2 { pushFollow(FOLLOW_11); rule__CustomEntry__Group__1__Impl(); @@ -22001,20 +20288,20 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__CustomEntry__Group__1__Impl" - // InternalApplicationConfiguration.g:6975:1: rule__CustomEntry__Group__1__Impl : ( '=' ) ; + // InternalApplicationConfiguration.g:6422:1: rule__CustomEntry__Group__1__Impl : ( '=' ) ; public final void rule__CustomEntry__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:6979:1: ( ( '=' ) ) - // InternalApplicationConfiguration.g:6980:1: ( '=' ) + // InternalApplicationConfiguration.g:6426:1: ( ( '=' ) ) + // InternalApplicationConfiguration.g:6427:1: ( '=' ) { - // InternalApplicationConfiguration.g:6980:1: ( '=' ) - // InternalApplicationConfiguration.g:6981:2: '=' + // InternalApplicationConfiguration.g:6427:1: ( '=' ) + // InternalApplicationConfiguration.g:6428:2: '=' { before(grammarAccess.getCustomEntryAccess().getEqualsSignKeyword_1()); - match(input,30,FOLLOW_2); + match(input,29,FOLLOW_2); after(grammarAccess.getCustomEntryAccess().getEqualsSignKeyword_1()); } @@ -22038,14 +20325,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__CustomEntry__Group__2" - // InternalApplicationConfiguration.g:6990:1: rule__CustomEntry__Group__2 : rule__CustomEntry__Group__2__Impl ; + // InternalApplicationConfiguration.g:6437:1: rule__CustomEntry__Group__2 : rule__CustomEntry__Group__2__Impl ; public final void rule__CustomEntry__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:6994:1: ( rule__CustomEntry__Group__2__Impl ) - // InternalApplicationConfiguration.g:6995:2: rule__CustomEntry__Group__2__Impl + // InternalApplicationConfiguration.g:6441:1: ( rule__CustomEntry__Group__2__Impl ) + // InternalApplicationConfiguration.g:6442:2: rule__CustomEntry__Group__2__Impl { pushFollow(FOLLOW_2); rule__CustomEntry__Group__2__Impl(); @@ -22071,21 +20358,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__CustomEntry__Group__2__Impl" - // InternalApplicationConfiguration.g:7001:1: rule__CustomEntry__Group__2__Impl : ( ( rule__CustomEntry__ValueAssignment_2 ) ) ; + // InternalApplicationConfiguration.g:6448:1: rule__CustomEntry__Group__2__Impl : ( ( rule__CustomEntry__ValueAssignment_2 ) ) ; public final void rule__CustomEntry__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7005:1: ( ( ( rule__CustomEntry__ValueAssignment_2 ) ) ) - // InternalApplicationConfiguration.g:7006:1: ( ( rule__CustomEntry__ValueAssignment_2 ) ) + // InternalApplicationConfiguration.g:6452:1: ( ( ( rule__CustomEntry__ValueAssignment_2 ) ) ) + // InternalApplicationConfiguration.g:6453:1: ( ( rule__CustomEntry__ValueAssignment_2 ) ) { - // InternalApplicationConfiguration.g:7006:1: ( ( rule__CustomEntry__ValueAssignment_2 ) ) - // InternalApplicationConfiguration.g:7007:2: ( rule__CustomEntry__ValueAssignment_2 ) + // InternalApplicationConfiguration.g:6453:1: ( ( rule__CustomEntry__ValueAssignment_2 ) ) + // InternalApplicationConfiguration.g:6454:2: ( rule__CustomEntry__ValueAssignment_2 ) { before(grammarAccess.getCustomEntryAccess().getValueAssignment_2()); - // InternalApplicationConfiguration.g:7008:2: ( rule__CustomEntry__ValueAssignment_2 ) - // InternalApplicationConfiguration.g:7008:3: rule__CustomEntry__ValueAssignment_2 + // InternalApplicationConfiguration.g:6455:2: ( rule__CustomEntry__ValueAssignment_2 ) + // InternalApplicationConfiguration.g:6455:3: rule__CustomEntry__ValueAssignment_2 { pushFollow(FOLLOW_2); rule__CustomEntry__ValueAssignment_2(); @@ -22118,16 +20405,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ScopeSpecification__Group__0" - // InternalApplicationConfiguration.g:7017:1: rule__ScopeSpecification__Group__0 : rule__ScopeSpecification__Group__0__Impl rule__ScopeSpecification__Group__1 ; + // InternalApplicationConfiguration.g:6464:1: rule__ScopeSpecification__Group__0 : rule__ScopeSpecification__Group__0__Impl rule__ScopeSpecification__Group__1 ; public final void rule__ScopeSpecification__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7021:1: ( rule__ScopeSpecification__Group__0__Impl rule__ScopeSpecification__Group__1 ) - // InternalApplicationConfiguration.g:7022:2: rule__ScopeSpecification__Group__0__Impl rule__ScopeSpecification__Group__1 + // InternalApplicationConfiguration.g:6468:1: ( rule__ScopeSpecification__Group__0__Impl rule__ScopeSpecification__Group__1 ) + // InternalApplicationConfiguration.g:6469:2: rule__ScopeSpecification__Group__0__Impl rule__ScopeSpecification__Group__1 { - pushFollow(FOLLOW_19); + pushFollow(FOLLOW_18); rule__ScopeSpecification__Group__0__Impl(); state._fsp--; @@ -22156,21 +20443,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ScopeSpecification__Group__0__Impl" - // InternalApplicationConfiguration.g:7029:1: rule__ScopeSpecification__Group__0__Impl : ( () ) ; + // InternalApplicationConfiguration.g:6476:1: rule__ScopeSpecification__Group__0__Impl : ( () ) ; public final void rule__ScopeSpecification__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7033:1: ( ( () ) ) - // InternalApplicationConfiguration.g:7034:1: ( () ) + // InternalApplicationConfiguration.g:6480:1: ( ( () ) ) + // InternalApplicationConfiguration.g:6481:1: ( () ) { - // InternalApplicationConfiguration.g:7034:1: ( () ) - // InternalApplicationConfiguration.g:7035:2: () + // InternalApplicationConfiguration.g:6481:1: ( () ) + // InternalApplicationConfiguration.g:6482:2: () { before(grammarAccess.getScopeSpecificationAccess().getScopeSpecificationAction_0()); - // InternalApplicationConfiguration.g:7036:2: () - // InternalApplicationConfiguration.g:7036:3: + // InternalApplicationConfiguration.g:6483:2: () + // InternalApplicationConfiguration.g:6483:3: { } @@ -22193,16 +20480,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ScopeSpecification__Group__1" - // InternalApplicationConfiguration.g:7044:1: rule__ScopeSpecification__Group__1 : rule__ScopeSpecification__Group__1__Impl rule__ScopeSpecification__Group__2 ; + // InternalApplicationConfiguration.g:6491:1: rule__ScopeSpecification__Group__1 : rule__ScopeSpecification__Group__1__Impl rule__ScopeSpecification__Group__2 ; public final void rule__ScopeSpecification__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7048:1: ( rule__ScopeSpecification__Group__1__Impl rule__ScopeSpecification__Group__2 ) - // InternalApplicationConfiguration.g:7049:2: rule__ScopeSpecification__Group__1__Impl rule__ScopeSpecification__Group__2 + // InternalApplicationConfiguration.g:6495:1: ( rule__ScopeSpecification__Group__1__Impl rule__ScopeSpecification__Group__2 ) + // InternalApplicationConfiguration.g:6496:2: rule__ScopeSpecification__Group__1__Impl rule__ScopeSpecification__Group__2 { - pushFollow(FOLLOW_31); + pushFollow(FOLLOW_29); rule__ScopeSpecification__Group__1__Impl(); state._fsp--; @@ -22231,20 +20518,20 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ScopeSpecification__Group__1__Impl" - // InternalApplicationConfiguration.g:7056:1: rule__ScopeSpecification__Group__1__Impl : ( '{' ) ; + // InternalApplicationConfiguration.g:6503:1: rule__ScopeSpecification__Group__1__Impl : ( '{' ) ; public final void rule__ScopeSpecification__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7060:1: ( ( '{' ) ) - // InternalApplicationConfiguration.g:7061:1: ( '{' ) + // InternalApplicationConfiguration.g:6507:1: ( ( '{' ) ) + // InternalApplicationConfiguration.g:6508:1: ( '{' ) { - // InternalApplicationConfiguration.g:7061:1: ( '{' ) - // InternalApplicationConfiguration.g:7062:2: '{' + // InternalApplicationConfiguration.g:6508:1: ( '{' ) + // InternalApplicationConfiguration.g:6509:2: '{' { before(grammarAccess.getScopeSpecificationAccess().getLeftCurlyBracketKeyword_1()); - match(input,31,FOLLOW_2); + match(input,30,FOLLOW_2); after(grammarAccess.getScopeSpecificationAccess().getLeftCurlyBracketKeyword_1()); } @@ -22268,16 +20555,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ScopeSpecification__Group__2" - // InternalApplicationConfiguration.g:7071:1: rule__ScopeSpecification__Group__2 : rule__ScopeSpecification__Group__2__Impl rule__ScopeSpecification__Group__3 ; + // InternalApplicationConfiguration.g:6518:1: rule__ScopeSpecification__Group__2 : rule__ScopeSpecification__Group__2__Impl rule__ScopeSpecification__Group__3 ; public final void rule__ScopeSpecification__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7075:1: ( rule__ScopeSpecification__Group__2__Impl rule__ScopeSpecification__Group__3 ) - // InternalApplicationConfiguration.g:7076:2: rule__ScopeSpecification__Group__2__Impl rule__ScopeSpecification__Group__3 + // InternalApplicationConfiguration.g:6522:1: ( rule__ScopeSpecification__Group__2__Impl rule__ScopeSpecification__Group__3 ) + // InternalApplicationConfiguration.g:6523:2: rule__ScopeSpecification__Group__2__Impl rule__ScopeSpecification__Group__3 { - pushFollow(FOLLOW_31); + pushFollow(FOLLOW_29); rule__ScopeSpecification__Group__2__Impl(); state._fsp--; @@ -22306,29 +20593,29 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ScopeSpecification__Group__2__Impl" - // InternalApplicationConfiguration.g:7083:1: rule__ScopeSpecification__Group__2__Impl : ( ( rule__ScopeSpecification__Group_2__0 )? ) ; + // InternalApplicationConfiguration.g:6530:1: rule__ScopeSpecification__Group__2__Impl : ( ( rule__ScopeSpecification__Group_2__0 )? ) ; public final void rule__ScopeSpecification__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7087:1: ( ( ( rule__ScopeSpecification__Group_2__0 )? ) ) - // InternalApplicationConfiguration.g:7088:1: ( ( rule__ScopeSpecification__Group_2__0 )? ) + // InternalApplicationConfiguration.g:6534:1: ( ( ( rule__ScopeSpecification__Group_2__0 )? ) ) + // InternalApplicationConfiguration.g:6535:1: ( ( rule__ScopeSpecification__Group_2__0 )? ) { - // InternalApplicationConfiguration.g:7088:1: ( ( rule__ScopeSpecification__Group_2__0 )? ) - // InternalApplicationConfiguration.g:7089:2: ( rule__ScopeSpecification__Group_2__0 )? + // InternalApplicationConfiguration.g:6535:1: ( ( rule__ScopeSpecification__Group_2__0 )? ) + // InternalApplicationConfiguration.g:6536:2: ( rule__ScopeSpecification__Group_2__0 )? { before(grammarAccess.getScopeSpecificationAccess().getGroup_2()); - // InternalApplicationConfiguration.g:7090:2: ( rule__ScopeSpecification__Group_2__0 )? - int alt58=2; - int LA58_0 = input.LA(1); + // InternalApplicationConfiguration.g:6537:2: ( rule__ScopeSpecification__Group_2__0 )? + int alt54=2; + int LA54_0 = input.LA(1); - if ( (LA58_0==49) ) { - alt58=1; + if ( (LA54_0==46) ) { + alt54=1; } - switch (alt58) { + switch (alt54) { case 1 : - // InternalApplicationConfiguration.g:7090:3: rule__ScopeSpecification__Group_2__0 + // InternalApplicationConfiguration.g:6537:3: rule__ScopeSpecification__Group_2__0 { pushFollow(FOLLOW_2); rule__ScopeSpecification__Group_2__0(); @@ -22364,14 +20651,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ScopeSpecification__Group__3" - // InternalApplicationConfiguration.g:7098:1: rule__ScopeSpecification__Group__3 : rule__ScopeSpecification__Group__3__Impl ; + // InternalApplicationConfiguration.g:6545:1: rule__ScopeSpecification__Group__3 : rule__ScopeSpecification__Group__3__Impl ; public final void rule__ScopeSpecification__Group__3() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7102:1: ( rule__ScopeSpecification__Group__3__Impl ) - // InternalApplicationConfiguration.g:7103:2: rule__ScopeSpecification__Group__3__Impl + // InternalApplicationConfiguration.g:6549:1: ( rule__ScopeSpecification__Group__3__Impl ) + // InternalApplicationConfiguration.g:6550:2: rule__ScopeSpecification__Group__3__Impl { pushFollow(FOLLOW_2); rule__ScopeSpecification__Group__3__Impl(); @@ -22397,20 +20684,20 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ScopeSpecification__Group__3__Impl" - // InternalApplicationConfiguration.g:7109:1: rule__ScopeSpecification__Group__3__Impl : ( '}' ) ; + // InternalApplicationConfiguration.g:6556:1: rule__ScopeSpecification__Group__3__Impl : ( '}' ) ; public final void rule__ScopeSpecification__Group__3__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7113:1: ( ( '}' ) ) - // InternalApplicationConfiguration.g:7114:1: ( '}' ) + // InternalApplicationConfiguration.g:6560:1: ( ( '}' ) ) + // InternalApplicationConfiguration.g:6561:1: ( '}' ) { - // InternalApplicationConfiguration.g:7114:1: ( '}' ) - // InternalApplicationConfiguration.g:7115:2: '}' + // InternalApplicationConfiguration.g:6561:1: ( '}' ) + // InternalApplicationConfiguration.g:6562:2: '}' { before(grammarAccess.getScopeSpecificationAccess().getRightCurlyBracketKeyword_3()); - match(input,32,FOLLOW_2); + match(input,31,FOLLOW_2); after(grammarAccess.getScopeSpecificationAccess().getRightCurlyBracketKeyword_3()); } @@ -22434,16 +20721,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ScopeSpecification__Group_2__0" - // InternalApplicationConfiguration.g:7125:1: rule__ScopeSpecification__Group_2__0 : rule__ScopeSpecification__Group_2__0__Impl rule__ScopeSpecification__Group_2__1 ; + // InternalApplicationConfiguration.g:6572:1: rule__ScopeSpecification__Group_2__0 : rule__ScopeSpecification__Group_2__0__Impl rule__ScopeSpecification__Group_2__1 ; public final void rule__ScopeSpecification__Group_2__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7129:1: ( rule__ScopeSpecification__Group_2__0__Impl rule__ScopeSpecification__Group_2__1 ) - // InternalApplicationConfiguration.g:7130:2: rule__ScopeSpecification__Group_2__0__Impl rule__ScopeSpecification__Group_2__1 + // InternalApplicationConfiguration.g:6576:1: ( rule__ScopeSpecification__Group_2__0__Impl rule__ScopeSpecification__Group_2__1 ) + // InternalApplicationConfiguration.g:6577:2: rule__ScopeSpecification__Group_2__0__Impl rule__ScopeSpecification__Group_2__1 { - pushFollow(FOLLOW_28); + pushFollow(FOLLOW_26); rule__ScopeSpecification__Group_2__0__Impl(); state._fsp--; @@ -22472,21 +20759,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ScopeSpecification__Group_2__0__Impl" - // InternalApplicationConfiguration.g:7137:1: rule__ScopeSpecification__Group_2__0__Impl : ( ( rule__ScopeSpecification__ScopesAssignment_2_0 ) ) ; + // InternalApplicationConfiguration.g:6584:1: rule__ScopeSpecification__Group_2__0__Impl : ( ( rule__ScopeSpecification__ScopesAssignment_2_0 ) ) ; public final void rule__ScopeSpecification__Group_2__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7141:1: ( ( ( rule__ScopeSpecification__ScopesAssignment_2_0 ) ) ) - // InternalApplicationConfiguration.g:7142:1: ( ( rule__ScopeSpecification__ScopesAssignment_2_0 ) ) + // InternalApplicationConfiguration.g:6588:1: ( ( ( rule__ScopeSpecification__ScopesAssignment_2_0 ) ) ) + // InternalApplicationConfiguration.g:6589:1: ( ( rule__ScopeSpecification__ScopesAssignment_2_0 ) ) { - // InternalApplicationConfiguration.g:7142:1: ( ( rule__ScopeSpecification__ScopesAssignment_2_0 ) ) - // InternalApplicationConfiguration.g:7143:2: ( rule__ScopeSpecification__ScopesAssignment_2_0 ) + // InternalApplicationConfiguration.g:6589:1: ( ( rule__ScopeSpecification__ScopesAssignment_2_0 ) ) + // InternalApplicationConfiguration.g:6590:2: ( rule__ScopeSpecification__ScopesAssignment_2_0 ) { before(grammarAccess.getScopeSpecificationAccess().getScopesAssignment_2_0()); - // InternalApplicationConfiguration.g:7144:2: ( rule__ScopeSpecification__ScopesAssignment_2_0 ) - // InternalApplicationConfiguration.g:7144:3: rule__ScopeSpecification__ScopesAssignment_2_0 + // InternalApplicationConfiguration.g:6591:2: ( rule__ScopeSpecification__ScopesAssignment_2_0 ) + // InternalApplicationConfiguration.g:6591:3: rule__ScopeSpecification__ScopesAssignment_2_0 { pushFollow(FOLLOW_2); rule__ScopeSpecification__ScopesAssignment_2_0(); @@ -22519,14 +20806,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ScopeSpecification__Group_2__1" - // InternalApplicationConfiguration.g:7152:1: rule__ScopeSpecification__Group_2__1 : rule__ScopeSpecification__Group_2__1__Impl ; + // InternalApplicationConfiguration.g:6599:1: rule__ScopeSpecification__Group_2__1 : rule__ScopeSpecification__Group_2__1__Impl ; public final void rule__ScopeSpecification__Group_2__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7156:1: ( rule__ScopeSpecification__Group_2__1__Impl ) - // InternalApplicationConfiguration.g:7157:2: rule__ScopeSpecification__Group_2__1__Impl + // InternalApplicationConfiguration.g:6603:1: ( rule__ScopeSpecification__Group_2__1__Impl ) + // InternalApplicationConfiguration.g:6604:2: rule__ScopeSpecification__Group_2__1__Impl { pushFollow(FOLLOW_2); rule__ScopeSpecification__Group_2__1__Impl(); @@ -22552,35 +20839,35 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ScopeSpecification__Group_2__1__Impl" - // InternalApplicationConfiguration.g:7163:1: rule__ScopeSpecification__Group_2__1__Impl : ( ( rule__ScopeSpecification__Group_2_1__0 )* ) ; + // InternalApplicationConfiguration.g:6610:1: rule__ScopeSpecification__Group_2__1__Impl : ( ( rule__ScopeSpecification__Group_2_1__0 )* ) ; public final void rule__ScopeSpecification__Group_2__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7167:1: ( ( ( rule__ScopeSpecification__Group_2_1__0 )* ) ) - // InternalApplicationConfiguration.g:7168:1: ( ( rule__ScopeSpecification__Group_2_1__0 )* ) + // InternalApplicationConfiguration.g:6614:1: ( ( ( rule__ScopeSpecification__Group_2_1__0 )* ) ) + // InternalApplicationConfiguration.g:6615:1: ( ( rule__ScopeSpecification__Group_2_1__0 )* ) { - // InternalApplicationConfiguration.g:7168:1: ( ( rule__ScopeSpecification__Group_2_1__0 )* ) - // InternalApplicationConfiguration.g:7169:2: ( rule__ScopeSpecification__Group_2_1__0 )* + // InternalApplicationConfiguration.g:6615:1: ( ( rule__ScopeSpecification__Group_2_1__0 )* ) + // InternalApplicationConfiguration.g:6616:2: ( rule__ScopeSpecification__Group_2_1__0 )* { before(grammarAccess.getScopeSpecificationAccess().getGroup_2_1()); - // InternalApplicationConfiguration.g:7170:2: ( rule__ScopeSpecification__Group_2_1__0 )* - loop59: + // InternalApplicationConfiguration.g:6617:2: ( rule__ScopeSpecification__Group_2_1__0 )* + loop55: do { - int alt59=2; - int LA59_0 = input.LA(1); + int alt55=2; + int LA55_0 = input.LA(1); - if ( (LA59_0==33) ) { - alt59=1; + if ( (LA55_0==32) ) { + alt55=1; } - switch (alt59) { + switch (alt55) { case 1 : - // InternalApplicationConfiguration.g:7170:3: rule__ScopeSpecification__Group_2_1__0 + // InternalApplicationConfiguration.g:6617:3: rule__ScopeSpecification__Group_2_1__0 { - pushFollow(FOLLOW_17); + pushFollow(FOLLOW_16); rule__ScopeSpecification__Group_2_1__0(); state._fsp--; @@ -22590,7 +20877,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont break; default : - break loop59; + break loop55; } } while (true); @@ -22617,16 +20904,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ScopeSpecification__Group_2_1__0" - // InternalApplicationConfiguration.g:7179:1: rule__ScopeSpecification__Group_2_1__0 : rule__ScopeSpecification__Group_2_1__0__Impl rule__ScopeSpecification__Group_2_1__1 ; + // InternalApplicationConfiguration.g:6626:1: rule__ScopeSpecification__Group_2_1__0 : rule__ScopeSpecification__Group_2_1__0__Impl rule__ScopeSpecification__Group_2_1__1 ; public final void rule__ScopeSpecification__Group_2_1__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7183:1: ( rule__ScopeSpecification__Group_2_1__0__Impl rule__ScopeSpecification__Group_2_1__1 ) - // InternalApplicationConfiguration.g:7184:2: rule__ScopeSpecification__Group_2_1__0__Impl rule__ScopeSpecification__Group_2_1__1 + // InternalApplicationConfiguration.g:6630:1: ( rule__ScopeSpecification__Group_2_1__0__Impl rule__ScopeSpecification__Group_2_1__1 ) + // InternalApplicationConfiguration.g:6631:2: rule__ScopeSpecification__Group_2_1__0__Impl rule__ScopeSpecification__Group_2_1__1 { - pushFollow(FOLLOW_32); + pushFollow(FOLLOW_30); rule__ScopeSpecification__Group_2_1__0__Impl(); state._fsp--; @@ -22655,20 +20942,20 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ScopeSpecification__Group_2_1__0__Impl" - // InternalApplicationConfiguration.g:7191:1: rule__ScopeSpecification__Group_2_1__0__Impl : ( ',' ) ; + // InternalApplicationConfiguration.g:6638:1: rule__ScopeSpecification__Group_2_1__0__Impl : ( ',' ) ; public final void rule__ScopeSpecification__Group_2_1__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7195:1: ( ( ',' ) ) - // InternalApplicationConfiguration.g:7196:1: ( ',' ) + // InternalApplicationConfiguration.g:6642:1: ( ( ',' ) ) + // InternalApplicationConfiguration.g:6643:1: ( ',' ) { - // InternalApplicationConfiguration.g:7196:1: ( ',' ) - // InternalApplicationConfiguration.g:7197:2: ',' + // InternalApplicationConfiguration.g:6643:1: ( ',' ) + // InternalApplicationConfiguration.g:6644:2: ',' { before(grammarAccess.getScopeSpecificationAccess().getCommaKeyword_2_1_0()); - match(input,33,FOLLOW_2); + match(input,32,FOLLOW_2); after(grammarAccess.getScopeSpecificationAccess().getCommaKeyword_2_1_0()); } @@ -22692,14 +20979,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ScopeSpecification__Group_2_1__1" - // InternalApplicationConfiguration.g:7206:1: rule__ScopeSpecification__Group_2_1__1 : rule__ScopeSpecification__Group_2_1__1__Impl ; + // InternalApplicationConfiguration.g:6653:1: rule__ScopeSpecification__Group_2_1__1 : rule__ScopeSpecification__Group_2_1__1__Impl ; public final void rule__ScopeSpecification__Group_2_1__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7210:1: ( rule__ScopeSpecification__Group_2_1__1__Impl ) - // InternalApplicationConfiguration.g:7211:2: rule__ScopeSpecification__Group_2_1__1__Impl + // InternalApplicationConfiguration.g:6657:1: ( rule__ScopeSpecification__Group_2_1__1__Impl ) + // InternalApplicationConfiguration.g:6658:2: rule__ScopeSpecification__Group_2_1__1__Impl { pushFollow(FOLLOW_2); rule__ScopeSpecification__Group_2_1__1__Impl(); @@ -22725,21 +21012,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ScopeSpecification__Group_2_1__1__Impl" - // InternalApplicationConfiguration.g:7217:1: rule__ScopeSpecification__Group_2_1__1__Impl : ( ( rule__ScopeSpecification__ScopesAssignment_2_1_1 ) ) ; + // InternalApplicationConfiguration.g:6664:1: rule__ScopeSpecification__Group_2_1__1__Impl : ( ( rule__ScopeSpecification__ScopesAssignment_2_1_1 ) ) ; public final void rule__ScopeSpecification__Group_2_1__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7221:1: ( ( ( rule__ScopeSpecification__ScopesAssignment_2_1_1 ) ) ) - // InternalApplicationConfiguration.g:7222:1: ( ( rule__ScopeSpecification__ScopesAssignment_2_1_1 ) ) + // InternalApplicationConfiguration.g:6668:1: ( ( ( rule__ScopeSpecification__ScopesAssignment_2_1_1 ) ) ) + // InternalApplicationConfiguration.g:6669:1: ( ( rule__ScopeSpecification__ScopesAssignment_2_1_1 ) ) { - // InternalApplicationConfiguration.g:7222:1: ( ( rule__ScopeSpecification__ScopesAssignment_2_1_1 ) ) - // InternalApplicationConfiguration.g:7223:2: ( rule__ScopeSpecification__ScopesAssignment_2_1_1 ) + // InternalApplicationConfiguration.g:6669:1: ( ( rule__ScopeSpecification__ScopesAssignment_2_1_1 ) ) + // InternalApplicationConfiguration.g:6670:2: ( rule__ScopeSpecification__ScopesAssignment_2_1_1 ) { before(grammarAccess.getScopeSpecificationAccess().getScopesAssignment_2_1_1()); - // InternalApplicationConfiguration.g:7224:2: ( rule__ScopeSpecification__ScopesAssignment_2_1_1 ) - // InternalApplicationConfiguration.g:7224:3: rule__ScopeSpecification__ScopesAssignment_2_1_1 + // InternalApplicationConfiguration.g:6671:2: ( rule__ScopeSpecification__ScopesAssignment_2_1_1 ) + // InternalApplicationConfiguration.g:6671:3: rule__ScopeSpecification__ScopesAssignment_2_1_1 { pushFollow(FOLLOW_2); rule__ScopeSpecification__ScopesAssignment_2_1_1(); @@ -22772,16 +21059,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ClassTypeScope__Group__0" - // InternalApplicationConfiguration.g:7233:1: rule__ClassTypeScope__Group__0 : rule__ClassTypeScope__Group__0__Impl rule__ClassTypeScope__Group__1 ; + // InternalApplicationConfiguration.g:6680:1: rule__ClassTypeScope__Group__0 : rule__ClassTypeScope__Group__0__Impl rule__ClassTypeScope__Group__1 ; public final void rule__ClassTypeScope__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7237:1: ( rule__ClassTypeScope__Group__0__Impl rule__ClassTypeScope__Group__1 ) - // InternalApplicationConfiguration.g:7238:2: rule__ClassTypeScope__Group__0__Impl rule__ClassTypeScope__Group__1 + // InternalApplicationConfiguration.g:6684:1: ( rule__ClassTypeScope__Group__0__Impl rule__ClassTypeScope__Group__1 ) + // InternalApplicationConfiguration.g:6685:2: rule__ClassTypeScope__Group__0__Impl rule__ClassTypeScope__Group__1 { - pushFollow(FOLLOW_33); + pushFollow(FOLLOW_31); rule__ClassTypeScope__Group__0__Impl(); state._fsp--; @@ -22810,20 +21097,20 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ClassTypeScope__Group__0__Impl" - // InternalApplicationConfiguration.g:7245:1: rule__ClassTypeScope__Group__0__Impl : ( '#' ) ; + // InternalApplicationConfiguration.g:6692:1: rule__ClassTypeScope__Group__0__Impl : ( '#' ) ; public final void rule__ClassTypeScope__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7249:1: ( ( '#' ) ) - // InternalApplicationConfiguration.g:7250:1: ( '#' ) + // InternalApplicationConfiguration.g:6696:1: ( ( '#' ) ) + // InternalApplicationConfiguration.g:6697:1: ( '#' ) { - // InternalApplicationConfiguration.g:7250:1: ( '#' ) - // InternalApplicationConfiguration.g:7251:2: '#' + // InternalApplicationConfiguration.g:6697:1: ( '#' ) + // InternalApplicationConfiguration.g:6698:2: '#' { before(grammarAccess.getClassTypeScopeAccess().getNumberSignKeyword_0()); - match(input,49,FOLLOW_2); + match(input,46,FOLLOW_2); after(grammarAccess.getClassTypeScopeAccess().getNumberSignKeyword_0()); } @@ -22847,16 +21134,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ClassTypeScope__Group__1" - // InternalApplicationConfiguration.g:7260:1: rule__ClassTypeScope__Group__1 : rule__ClassTypeScope__Group__1__Impl rule__ClassTypeScope__Group__2 ; + // InternalApplicationConfiguration.g:6707:1: rule__ClassTypeScope__Group__1 : rule__ClassTypeScope__Group__1__Impl rule__ClassTypeScope__Group__2 ; public final void rule__ClassTypeScope__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7264:1: ( rule__ClassTypeScope__Group__1__Impl rule__ClassTypeScope__Group__2 ) - // InternalApplicationConfiguration.g:7265:2: rule__ClassTypeScope__Group__1__Impl rule__ClassTypeScope__Group__2 + // InternalApplicationConfiguration.g:6711:1: ( rule__ClassTypeScope__Group__1__Impl rule__ClassTypeScope__Group__2 ) + // InternalApplicationConfiguration.g:6712:2: rule__ClassTypeScope__Group__1__Impl rule__ClassTypeScope__Group__2 { - pushFollow(FOLLOW_34); + pushFollow(FOLLOW_32); rule__ClassTypeScope__Group__1__Impl(); state._fsp--; @@ -22885,21 +21172,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ClassTypeScope__Group__1__Impl" - // InternalApplicationConfiguration.g:7272:1: rule__ClassTypeScope__Group__1__Impl : ( ( rule__ClassTypeScope__TypeAssignment_1 ) ) ; + // InternalApplicationConfiguration.g:6719:1: rule__ClassTypeScope__Group__1__Impl : ( ( rule__ClassTypeScope__TypeAssignment_1 ) ) ; public final void rule__ClassTypeScope__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7276:1: ( ( ( rule__ClassTypeScope__TypeAssignment_1 ) ) ) - // InternalApplicationConfiguration.g:7277:1: ( ( rule__ClassTypeScope__TypeAssignment_1 ) ) + // InternalApplicationConfiguration.g:6723:1: ( ( ( rule__ClassTypeScope__TypeAssignment_1 ) ) ) + // InternalApplicationConfiguration.g:6724:1: ( ( rule__ClassTypeScope__TypeAssignment_1 ) ) { - // InternalApplicationConfiguration.g:7277:1: ( ( rule__ClassTypeScope__TypeAssignment_1 ) ) - // InternalApplicationConfiguration.g:7278:2: ( rule__ClassTypeScope__TypeAssignment_1 ) + // InternalApplicationConfiguration.g:6724:1: ( ( rule__ClassTypeScope__TypeAssignment_1 ) ) + // InternalApplicationConfiguration.g:6725:2: ( rule__ClassTypeScope__TypeAssignment_1 ) { before(grammarAccess.getClassTypeScopeAccess().getTypeAssignment_1()); - // InternalApplicationConfiguration.g:7279:2: ( rule__ClassTypeScope__TypeAssignment_1 ) - // InternalApplicationConfiguration.g:7279:3: rule__ClassTypeScope__TypeAssignment_1 + // InternalApplicationConfiguration.g:6726:2: ( rule__ClassTypeScope__TypeAssignment_1 ) + // InternalApplicationConfiguration.g:6726:3: rule__ClassTypeScope__TypeAssignment_1 { pushFollow(FOLLOW_2); rule__ClassTypeScope__TypeAssignment_1(); @@ -22932,16 +21219,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ClassTypeScope__Group__2" - // InternalApplicationConfiguration.g:7287:1: rule__ClassTypeScope__Group__2 : rule__ClassTypeScope__Group__2__Impl rule__ClassTypeScope__Group__3 ; + // InternalApplicationConfiguration.g:6734:1: rule__ClassTypeScope__Group__2 : rule__ClassTypeScope__Group__2__Impl rule__ClassTypeScope__Group__3 ; public final void rule__ClassTypeScope__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7291:1: ( rule__ClassTypeScope__Group__2__Impl rule__ClassTypeScope__Group__3 ) - // InternalApplicationConfiguration.g:7292:2: rule__ClassTypeScope__Group__2__Impl rule__ClassTypeScope__Group__3 + // InternalApplicationConfiguration.g:6738:1: ( rule__ClassTypeScope__Group__2__Impl rule__ClassTypeScope__Group__3 ) + // InternalApplicationConfiguration.g:6739:2: rule__ClassTypeScope__Group__2__Impl rule__ClassTypeScope__Group__3 { - pushFollow(FOLLOW_35); + pushFollow(FOLLOW_33); rule__ClassTypeScope__Group__2__Impl(); state._fsp--; @@ -22970,21 +21257,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ClassTypeScope__Group__2__Impl" - // InternalApplicationConfiguration.g:7299:1: rule__ClassTypeScope__Group__2__Impl : ( ( rule__ClassTypeScope__Alternatives_2 ) ) ; + // InternalApplicationConfiguration.g:6746:1: rule__ClassTypeScope__Group__2__Impl : ( ( rule__ClassTypeScope__Alternatives_2 ) ) ; public final void rule__ClassTypeScope__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7303:1: ( ( ( rule__ClassTypeScope__Alternatives_2 ) ) ) - // InternalApplicationConfiguration.g:7304:1: ( ( rule__ClassTypeScope__Alternatives_2 ) ) + // InternalApplicationConfiguration.g:6750:1: ( ( ( rule__ClassTypeScope__Alternatives_2 ) ) ) + // InternalApplicationConfiguration.g:6751:1: ( ( rule__ClassTypeScope__Alternatives_2 ) ) { - // InternalApplicationConfiguration.g:7304:1: ( ( rule__ClassTypeScope__Alternatives_2 ) ) - // InternalApplicationConfiguration.g:7305:2: ( rule__ClassTypeScope__Alternatives_2 ) + // InternalApplicationConfiguration.g:6751:1: ( ( rule__ClassTypeScope__Alternatives_2 ) ) + // InternalApplicationConfiguration.g:6752:2: ( rule__ClassTypeScope__Alternatives_2 ) { before(grammarAccess.getClassTypeScopeAccess().getAlternatives_2()); - // InternalApplicationConfiguration.g:7306:2: ( rule__ClassTypeScope__Alternatives_2 ) - // InternalApplicationConfiguration.g:7306:3: rule__ClassTypeScope__Alternatives_2 + // InternalApplicationConfiguration.g:6753:2: ( rule__ClassTypeScope__Alternatives_2 ) + // InternalApplicationConfiguration.g:6753:3: rule__ClassTypeScope__Alternatives_2 { pushFollow(FOLLOW_2); rule__ClassTypeScope__Alternatives_2(); @@ -23017,14 +21304,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ClassTypeScope__Group__3" - // InternalApplicationConfiguration.g:7314:1: rule__ClassTypeScope__Group__3 : rule__ClassTypeScope__Group__3__Impl ; + // InternalApplicationConfiguration.g:6761:1: rule__ClassTypeScope__Group__3 : rule__ClassTypeScope__Group__3__Impl ; public final void rule__ClassTypeScope__Group__3() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7318:1: ( rule__ClassTypeScope__Group__3__Impl ) - // InternalApplicationConfiguration.g:7319:2: rule__ClassTypeScope__Group__3__Impl + // InternalApplicationConfiguration.g:6765:1: ( rule__ClassTypeScope__Group__3__Impl ) + // InternalApplicationConfiguration.g:6766:2: rule__ClassTypeScope__Group__3__Impl { pushFollow(FOLLOW_2); rule__ClassTypeScope__Group__3__Impl(); @@ -23050,21 +21337,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ClassTypeScope__Group__3__Impl" - // InternalApplicationConfiguration.g:7325:1: rule__ClassTypeScope__Group__3__Impl : ( ( rule__ClassTypeScope__Alternatives_3 ) ) ; + // InternalApplicationConfiguration.g:6772:1: rule__ClassTypeScope__Group__3__Impl : ( ( rule__ClassTypeScope__Alternatives_3 ) ) ; public final void rule__ClassTypeScope__Group__3__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7329:1: ( ( ( rule__ClassTypeScope__Alternatives_3 ) ) ) - // InternalApplicationConfiguration.g:7330:1: ( ( rule__ClassTypeScope__Alternatives_3 ) ) + // InternalApplicationConfiguration.g:6776:1: ( ( ( rule__ClassTypeScope__Alternatives_3 ) ) ) + // InternalApplicationConfiguration.g:6777:1: ( ( rule__ClassTypeScope__Alternatives_3 ) ) { - // InternalApplicationConfiguration.g:7330:1: ( ( rule__ClassTypeScope__Alternatives_3 ) ) - // InternalApplicationConfiguration.g:7331:2: ( rule__ClassTypeScope__Alternatives_3 ) + // InternalApplicationConfiguration.g:6777:1: ( ( rule__ClassTypeScope__Alternatives_3 ) ) + // InternalApplicationConfiguration.g:6778:2: ( rule__ClassTypeScope__Alternatives_3 ) { before(grammarAccess.getClassTypeScopeAccess().getAlternatives_3()); - // InternalApplicationConfiguration.g:7332:2: ( rule__ClassTypeScope__Alternatives_3 ) - // InternalApplicationConfiguration.g:7332:3: rule__ClassTypeScope__Alternatives_3 + // InternalApplicationConfiguration.g:6779:2: ( rule__ClassTypeScope__Alternatives_3 ) + // InternalApplicationConfiguration.g:6779:3: rule__ClassTypeScope__Alternatives_3 { pushFollow(FOLLOW_2); rule__ClassTypeScope__Alternatives_3(); @@ -23097,16 +21384,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ObjectTypeScope__Group__0" - // InternalApplicationConfiguration.g:7341:1: rule__ObjectTypeScope__Group__0 : rule__ObjectTypeScope__Group__0__Impl rule__ObjectTypeScope__Group__1 ; + // InternalApplicationConfiguration.g:6788:1: rule__ObjectTypeScope__Group__0 : rule__ObjectTypeScope__Group__0__Impl rule__ObjectTypeScope__Group__1 ; public final void rule__ObjectTypeScope__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7345:1: ( rule__ObjectTypeScope__Group__0__Impl rule__ObjectTypeScope__Group__1 ) - // InternalApplicationConfiguration.g:7346:2: rule__ObjectTypeScope__Group__0__Impl rule__ObjectTypeScope__Group__1 + // InternalApplicationConfiguration.g:6792:1: ( rule__ObjectTypeScope__Group__0__Impl rule__ObjectTypeScope__Group__1 ) + // InternalApplicationConfiguration.g:6793:2: rule__ObjectTypeScope__Group__0__Impl rule__ObjectTypeScope__Group__1 { - pushFollow(FOLLOW_36); + pushFollow(FOLLOW_34); rule__ObjectTypeScope__Group__0__Impl(); state._fsp--; @@ -23135,20 +21422,20 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ObjectTypeScope__Group__0__Impl" - // InternalApplicationConfiguration.g:7353:1: rule__ObjectTypeScope__Group__0__Impl : ( '#' ) ; + // InternalApplicationConfiguration.g:6800:1: rule__ObjectTypeScope__Group__0__Impl : ( '#' ) ; public final void rule__ObjectTypeScope__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7357:1: ( ( '#' ) ) - // InternalApplicationConfiguration.g:7358:1: ( '#' ) + // InternalApplicationConfiguration.g:6804:1: ( ( '#' ) ) + // InternalApplicationConfiguration.g:6805:1: ( '#' ) { - // InternalApplicationConfiguration.g:7358:1: ( '#' ) - // InternalApplicationConfiguration.g:7359:2: '#' + // InternalApplicationConfiguration.g:6805:1: ( '#' ) + // InternalApplicationConfiguration.g:6806:2: '#' { before(grammarAccess.getObjectTypeScopeAccess().getNumberSignKeyword_0()); - match(input,49,FOLLOW_2); + match(input,46,FOLLOW_2); after(grammarAccess.getObjectTypeScopeAccess().getNumberSignKeyword_0()); } @@ -23172,16 +21459,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ObjectTypeScope__Group__1" - // InternalApplicationConfiguration.g:7368:1: rule__ObjectTypeScope__Group__1 : rule__ObjectTypeScope__Group__1__Impl rule__ObjectTypeScope__Group__2 ; + // InternalApplicationConfiguration.g:6815:1: rule__ObjectTypeScope__Group__1 : rule__ObjectTypeScope__Group__1__Impl rule__ObjectTypeScope__Group__2 ; public final void rule__ObjectTypeScope__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7372:1: ( rule__ObjectTypeScope__Group__1__Impl rule__ObjectTypeScope__Group__2 ) - // InternalApplicationConfiguration.g:7373:2: rule__ObjectTypeScope__Group__1__Impl rule__ObjectTypeScope__Group__2 + // InternalApplicationConfiguration.g:6819:1: ( rule__ObjectTypeScope__Group__1__Impl rule__ObjectTypeScope__Group__2 ) + // InternalApplicationConfiguration.g:6820:2: rule__ObjectTypeScope__Group__1__Impl rule__ObjectTypeScope__Group__2 { - pushFollow(FOLLOW_34); + pushFollow(FOLLOW_32); rule__ObjectTypeScope__Group__1__Impl(); state._fsp--; @@ -23210,21 +21497,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ObjectTypeScope__Group__1__Impl" - // InternalApplicationConfiguration.g:7380:1: rule__ObjectTypeScope__Group__1__Impl : ( ( rule__ObjectTypeScope__TypeAssignment_1 ) ) ; + // InternalApplicationConfiguration.g:6827:1: rule__ObjectTypeScope__Group__1__Impl : ( ( rule__ObjectTypeScope__TypeAssignment_1 ) ) ; public final void rule__ObjectTypeScope__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7384:1: ( ( ( rule__ObjectTypeScope__TypeAssignment_1 ) ) ) - // InternalApplicationConfiguration.g:7385:1: ( ( rule__ObjectTypeScope__TypeAssignment_1 ) ) + // InternalApplicationConfiguration.g:6831:1: ( ( ( rule__ObjectTypeScope__TypeAssignment_1 ) ) ) + // InternalApplicationConfiguration.g:6832:1: ( ( rule__ObjectTypeScope__TypeAssignment_1 ) ) { - // InternalApplicationConfiguration.g:7385:1: ( ( rule__ObjectTypeScope__TypeAssignment_1 ) ) - // InternalApplicationConfiguration.g:7386:2: ( rule__ObjectTypeScope__TypeAssignment_1 ) + // InternalApplicationConfiguration.g:6832:1: ( ( rule__ObjectTypeScope__TypeAssignment_1 ) ) + // InternalApplicationConfiguration.g:6833:2: ( rule__ObjectTypeScope__TypeAssignment_1 ) { before(grammarAccess.getObjectTypeScopeAccess().getTypeAssignment_1()); - // InternalApplicationConfiguration.g:7387:2: ( rule__ObjectTypeScope__TypeAssignment_1 ) - // InternalApplicationConfiguration.g:7387:3: rule__ObjectTypeScope__TypeAssignment_1 + // InternalApplicationConfiguration.g:6834:2: ( rule__ObjectTypeScope__TypeAssignment_1 ) + // InternalApplicationConfiguration.g:6834:3: rule__ObjectTypeScope__TypeAssignment_1 { pushFollow(FOLLOW_2); rule__ObjectTypeScope__TypeAssignment_1(); @@ -23257,16 +21544,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ObjectTypeScope__Group__2" - // InternalApplicationConfiguration.g:7395:1: rule__ObjectTypeScope__Group__2 : rule__ObjectTypeScope__Group__2__Impl rule__ObjectTypeScope__Group__3 ; + // InternalApplicationConfiguration.g:6842:1: rule__ObjectTypeScope__Group__2 : rule__ObjectTypeScope__Group__2__Impl rule__ObjectTypeScope__Group__3 ; public final void rule__ObjectTypeScope__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7399:1: ( rule__ObjectTypeScope__Group__2__Impl rule__ObjectTypeScope__Group__3 ) - // InternalApplicationConfiguration.g:7400:2: rule__ObjectTypeScope__Group__2__Impl rule__ObjectTypeScope__Group__3 + // InternalApplicationConfiguration.g:6846:1: ( rule__ObjectTypeScope__Group__2__Impl rule__ObjectTypeScope__Group__3 ) + // InternalApplicationConfiguration.g:6847:2: rule__ObjectTypeScope__Group__2__Impl rule__ObjectTypeScope__Group__3 { - pushFollow(FOLLOW_35); + pushFollow(FOLLOW_33); rule__ObjectTypeScope__Group__2__Impl(); state._fsp--; @@ -23295,21 +21582,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ObjectTypeScope__Group__2__Impl" - // InternalApplicationConfiguration.g:7407:1: rule__ObjectTypeScope__Group__2__Impl : ( ( rule__ObjectTypeScope__Alternatives_2 ) ) ; + // InternalApplicationConfiguration.g:6854:1: rule__ObjectTypeScope__Group__2__Impl : ( ( rule__ObjectTypeScope__Alternatives_2 ) ) ; public final void rule__ObjectTypeScope__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7411:1: ( ( ( rule__ObjectTypeScope__Alternatives_2 ) ) ) - // InternalApplicationConfiguration.g:7412:1: ( ( rule__ObjectTypeScope__Alternatives_2 ) ) + // InternalApplicationConfiguration.g:6858:1: ( ( ( rule__ObjectTypeScope__Alternatives_2 ) ) ) + // InternalApplicationConfiguration.g:6859:1: ( ( rule__ObjectTypeScope__Alternatives_2 ) ) { - // InternalApplicationConfiguration.g:7412:1: ( ( rule__ObjectTypeScope__Alternatives_2 ) ) - // InternalApplicationConfiguration.g:7413:2: ( rule__ObjectTypeScope__Alternatives_2 ) + // InternalApplicationConfiguration.g:6859:1: ( ( rule__ObjectTypeScope__Alternatives_2 ) ) + // InternalApplicationConfiguration.g:6860:2: ( rule__ObjectTypeScope__Alternatives_2 ) { before(grammarAccess.getObjectTypeScopeAccess().getAlternatives_2()); - // InternalApplicationConfiguration.g:7414:2: ( rule__ObjectTypeScope__Alternatives_2 ) - // InternalApplicationConfiguration.g:7414:3: rule__ObjectTypeScope__Alternatives_2 + // InternalApplicationConfiguration.g:6861:2: ( rule__ObjectTypeScope__Alternatives_2 ) + // InternalApplicationConfiguration.g:6861:3: rule__ObjectTypeScope__Alternatives_2 { pushFollow(FOLLOW_2); rule__ObjectTypeScope__Alternatives_2(); @@ -23342,14 +21629,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ObjectTypeScope__Group__3" - // InternalApplicationConfiguration.g:7422:1: rule__ObjectTypeScope__Group__3 : rule__ObjectTypeScope__Group__3__Impl ; + // InternalApplicationConfiguration.g:6869:1: rule__ObjectTypeScope__Group__3 : rule__ObjectTypeScope__Group__3__Impl ; public final void rule__ObjectTypeScope__Group__3() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7426:1: ( rule__ObjectTypeScope__Group__3__Impl ) - // InternalApplicationConfiguration.g:7427:2: rule__ObjectTypeScope__Group__3__Impl + // InternalApplicationConfiguration.g:6873:1: ( rule__ObjectTypeScope__Group__3__Impl ) + // InternalApplicationConfiguration.g:6874:2: rule__ObjectTypeScope__Group__3__Impl { pushFollow(FOLLOW_2); rule__ObjectTypeScope__Group__3__Impl(); @@ -23375,21 +21662,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ObjectTypeScope__Group__3__Impl" - // InternalApplicationConfiguration.g:7433:1: rule__ObjectTypeScope__Group__3__Impl : ( ( rule__ObjectTypeScope__Alternatives_3 ) ) ; + // InternalApplicationConfiguration.g:6880:1: rule__ObjectTypeScope__Group__3__Impl : ( ( rule__ObjectTypeScope__Alternatives_3 ) ) ; public final void rule__ObjectTypeScope__Group__3__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7437:1: ( ( ( rule__ObjectTypeScope__Alternatives_3 ) ) ) - // InternalApplicationConfiguration.g:7438:1: ( ( rule__ObjectTypeScope__Alternatives_3 ) ) + // InternalApplicationConfiguration.g:6884:1: ( ( ( rule__ObjectTypeScope__Alternatives_3 ) ) ) + // InternalApplicationConfiguration.g:6885:1: ( ( rule__ObjectTypeScope__Alternatives_3 ) ) { - // InternalApplicationConfiguration.g:7438:1: ( ( rule__ObjectTypeScope__Alternatives_3 ) ) - // InternalApplicationConfiguration.g:7439:2: ( rule__ObjectTypeScope__Alternatives_3 ) + // InternalApplicationConfiguration.g:6885:1: ( ( rule__ObjectTypeScope__Alternatives_3 ) ) + // InternalApplicationConfiguration.g:6886:2: ( rule__ObjectTypeScope__Alternatives_3 ) { before(grammarAccess.getObjectTypeScopeAccess().getAlternatives_3()); - // InternalApplicationConfiguration.g:7440:2: ( rule__ObjectTypeScope__Alternatives_3 ) - // InternalApplicationConfiguration.g:7440:3: rule__ObjectTypeScope__Alternatives_3 + // InternalApplicationConfiguration.g:6887:2: ( rule__ObjectTypeScope__Alternatives_3 ) + // InternalApplicationConfiguration.g:6887:3: rule__ObjectTypeScope__Alternatives_3 { pushFollow(FOLLOW_2); rule__ObjectTypeScope__Alternatives_3(); @@ -23422,16 +21709,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__IntegerTypeScope__Group__0" - // InternalApplicationConfiguration.g:7449:1: rule__IntegerTypeScope__Group__0 : rule__IntegerTypeScope__Group__0__Impl rule__IntegerTypeScope__Group__1 ; + // InternalApplicationConfiguration.g:6896:1: rule__IntegerTypeScope__Group__0 : rule__IntegerTypeScope__Group__0__Impl rule__IntegerTypeScope__Group__1 ; public final void rule__IntegerTypeScope__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7453:1: ( rule__IntegerTypeScope__Group__0__Impl rule__IntegerTypeScope__Group__1 ) - // InternalApplicationConfiguration.g:7454:2: rule__IntegerTypeScope__Group__0__Impl rule__IntegerTypeScope__Group__1 + // InternalApplicationConfiguration.g:6900:1: ( rule__IntegerTypeScope__Group__0__Impl rule__IntegerTypeScope__Group__1 ) + // InternalApplicationConfiguration.g:6901:2: rule__IntegerTypeScope__Group__0__Impl rule__IntegerTypeScope__Group__1 { - pushFollow(FOLLOW_37); + pushFollow(FOLLOW_35); rule__IntegerTypeScope__Group__0__Impl(); state._fsp--; @@ -23460,20 +21747,20 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__IntegerTypeScope__Group__0__Impl" - // InternalApplicationConfiguration.g:7461:1: rule__IntegerTypeScope__Group__0__Impl : ( '#' ) ; + // InternalApplicationConfiguration.g:6908:1: rule__IntegerTypeScope__Group__0__Impl : ( '#' ) ; public final void rule__IntegerTypeScope__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7465:1: ( ( '#' ) ) - // InternalApplicationConfiguration.g:7466:1: ( '#' ) + // InternalApplicationConfiguration.g:6912:1: ( ( '#' ) ) + // InternalApplicationConfiguration.g:6913:1: ( '#' ) { - // InternalApplicationConfiguration.g:7466:1: ( '#' ) - // InternalApplicationConfiguration.g:7467:2: '#' + // InternalApplicationConfiguration.g:6913:1: ( '#' ) + // InternalApplicationConfiguration.g:6914:2: '#' { before(grammarAccess.getIntegerTypeScopeAccess().getNumberSignKeyword_0()); - match(input,49,FOLLOW_2); + match(input,46,FOLLOW_2); after(grammarAccess.getIntegerTypeScopeAccess().getNumberSignKeyword_0()); } @@ -23497,16 +21784,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__IntegerTypeScope__Group__1" - // InternalApplicationConfiguration.g:7476:1: rule__IntegerTypeScope__Group__1 : rule__IntegerTypeScope__Group__1__Impl rule__IntegerTypeScope__Group__2 ; + // InternalApplicationConfiguration.g:6923:1: rule__IntegerTypeScope__Group__1 : rule__IntegerTypeScope__Group__1__Impl rule__IntegerTypeScope__Group__2 ; public final void rule__IntegerTypeScope__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7480:1: ( rule__IntegerTypeScope__Group__1__Impl rule__IntegerTypeScope__Group__2 ) - // InternalApplicationConfiguration.g:7481:2: rule__IntegerTypeScope__Group__1__Impl rule__IntegerTypeScope__Group__2 + // InternalApplicationConfiguration.g:6927:1: ( rule__IntegerTypeScope__Group__1__Impl rule__IntegerTypeScope__Group__2 ) + // InternalApplicationConfiguration.g:6928:2: rule__IntegerTypeScope__Group__1__Impl rule__IntegerTypeScope__Group__2 { - pushFollow(FOLLOW_34); + pushFollow(FOLLOW_32); rule__IntegerTypeScope__Group__1__Impl(); state._fsp--; @@ -23535,21 +21822,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__IntegerTypeScope__Group__1__Impl" - // InternalApplicationConfiguration.g:7488:1: rule__IntegerTypeScope__Group__1__Impl : ( ( rule__IntegerTypeScope__TypeAssignment_1 ) ) ; + // InternalApplicationConfiguration.g:6935:1: rule__IntegerTypeScope__Group__1__Impl : ( ( rule__IntegerTypeScope__TypeAssignment_1 ) ) ; public final void rule__IntegerTypeScope__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7492:1: ( ( ( rule__IntegerTypeScope__TypeAssignment_1 ) ) ) - // InternalApplicationConfiguration.g:7493:1: ( ( rule__IntegerTypeScope__TypeAssignment_1 ) ) + // InternalApplicationConfiguration.g:6939:1: ( ( ( rule__IntegerTypeScope__TypeAssignment_1 ) ) ) + // InternalApplicationConfiguration.g:6940:1: ( ( rule__IntegerTypeScope__TypeAssignment_1 ) ) { - // InternalApplicationConfiguration.g:7493:1: ( ( rule__IntegerTypeScope__TypeAssignment_1 ) ) - // InternalApplicationConfiguration.g:7494:2: ( rule__IntegerTypeScope__TypeAssignment_1 ) + // InternalApplicationConfiguration.g:6940:1: ( ( rule__IntegerTypeScope__TypeAssignment_1 ) ) + // InternalApplicationConfiguration.g:6941:2: ( rule__IntegerTypeScope__TypeAssignment_1 ) { before(grammarAccess.getIntegerTypeScopeAccess().getTypeAssignment_1()); - // InternalApplicationConfiguration.g:7495:2: ( rule__IntegerTypeScope__TypeAssignment_1 ) - // InternalApplicationConfiguration.g:7495:3: rule__IntegerTypeScope__TypeAssignment_1 + // InternalApplicationConfiguration.g:6942:2: ( rule__IntegerTypeScope__TypeAssignment_1 ) + // InternalApplicationConfiguration.g:6942:3: rule__IntegerTypeScope__TypeAssignment_1 { pushFollow(FOLLOW_2); rule__IntegerTypeScope__TypeAssignment_1(); @@ -23582,16 +21869,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__IntegerTypeScope__Group__2" - // InternalApplicationConfiguration.g:7503:1: rule__IntegerTypeScope__Group__2 : rule__IntegerTypeScope__Group__2__Impl rule__IntegerTypeScope__Group__3 ; + // InternalApplicationConfiguration.g:6950:1: rule__IntegerTypeScope__Group__2 : rule__IntegerTypeScope__Group__2__Impl rule__IntegerTypeScope__Group__3 ; public final void rule__IntegerTypeScope__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7507:1: ( rule__IntegerTypeScope__Group__2__Impl rule__IntegerTypeScope__Group__3 ) - // InternalApplicationConfiguration.g:7508:2: rule__IntegerTypeScope__Group__2__Impl rule__IntegerTypeScope__Group__3 + // InternalApplicationConfiguration.g:6954:1: ( rule__IntegerTypeScope__Group__2__Impl rule__IntegerTypeScope__Group__3 ) + // InternalApplicationConfiguration.g:6955:2: rule__IntegerTypeScope__Group__2__Impl rule__IntegerTypeScope__Group__3 { - pushFollow(FOLLOW_38); + pushFollow(FOLLOW_36); rule__IntegerTypeScope__Group__2__Impl(); state._fsp--; @@ -23620,21 +21907,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__IntegerTypeScope__Group__2__Impl" - // InternalApplicationConfiguration.g:7515:1: rule__IntegerTypeScope__Group__2__Impl : ( ( rule__IntegerTypeScope__Alternatives_2 ) ) ; + // InternalApplicationConfiguration.g:6962:1: rule__IntegerTypeScope__Group__2__Impl : ( ( rule__IntegerTypeScope__Alternatives_2 ) ) ; public final void rule__IntegerTypeScope__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7519:1: ( ( ( rule__IntegerTypeScope__Alternatives_2 ) ) ) - // InternalApplicationConfiguration.g:7520:1: ( ( rule__IntegerTypeScope__Alternatives_2 ) ) + // InternalApplicationConfiguration.g:6966:1: ( ( ( rule__IntegerTypeScope__Alternatives_2 ) ) ) + // InternalApplicationConfiguration.g:6967:1: ( ( rule__IntegerTypeScope__Alternatives_2 ) ) { - // InternalApplicationConfiguration.g:7520:1: ( ( rule__IntegerTypeScope__Alternatives_2 ) ) - // InternalApplicationConfiguration.g:7521:2: ( rule__IntegerTypeScope__Alternatives_2 ) + // InternalApplicationConfiguration.g:6967:1: ( ( rule__IntegerTypeScope__Alternatives_2 ) ) + // InternalApplicationConfiguration.g:6968:2: ( rule__IntegerTypeScope__Alternatives_2 ) { before(grammarAccess.getIntegerTypeScopeAccess().getAlternatives_2()); - // InternalApplicationConfiguration.g:7522:2: ( rule__IntegerTypeScope__Alternatives_2 ) - // InternalApplicationConfiguration.g:7522:3: rule__IntegerTypeScope__Alternatives_2 + // InternalApplicationConfiguration.g:6969:2: ( rule__IntegerTypeScope__Alternatives_2 ) + // InternalApplicationConfiguration.g:6969:3: rule__IntegerTypeScope__Alternatives_2 { pushFollow(FOLLOW_2); rule__IntegerTypeScope__Alternatives_2(); @@ -23667,14 +21954,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__IntegerTypeScope__Group__3" - // InternalApplicationConfiguration.g:7530:1: rule__IntegerTypeScope__Group__3 : rule__IntegerTypeScope__Group__3__Impl ; + // InternalApplicationConfiguration.g:6977:1: rule__IntegerTypeScope__Group__3 : rule__IntegerTypeScope__Group__3__Impl ; public final void rule__IntegerTypeScope__Group__3() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7534:1: ( rule__IntegerTypeScope__Group__3__Impl ) - // InternalApplicationConfiguration.g:7535:2: rule__IntegerTypeScope__Group__3__Impl + // InternalApplicationConfiguration.g:6981:1: ( rule__IntegerTypeScope__Group__3__Impl ) + // InternalApplicationConfiguration.g:6982:2: rule__IntegerTypeScope__Group__3__Impl { pushFollow(FOLLOW_2); rule__IntegerTypeScope__Group__3__Impl(); @@ -23700,21 +21987,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__IntegerTypeScope__Group__3__Impl" - // InternalApplicationConfiguration.g:7541:1: rule__IntegerTypeScope__Group__3__Impl : ( ( rule__IntegerTypeScope__Alternatives_3 ) ) ; + // InternalApplicationConfiguration.g:6988:1: rule__IntegerTypeScope__Group__3__Impl : ( ( rule__IntegerTypeScope__Alternatives_3 ) ) ; public final void rule__IntegerTypeScope__Group__3__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7545:1: ( ( ( rule__IntegerTypeScope__Alternatives_3 ) ) ) - // InternalApplicationConfiguration.g:7546:1: ( ( rule__IntegerTypeScope__Alternatives_3 ) ) + // InternalApplicationConfiguration.g:6992:1: ( ( ( rule__IntegerTypeScope__Alternatives_3 ) ) ) + // InternalApplicationConfiguration.g:6993:1: ( ( rule__IntegerTypeScope__Alternatives_3 ) ) { - // InternalApplicationConfiguration.g:7546:1: ( ( rule__IntegerTypeScope__Alternatives_3 ) ) - // InternalApplicationConfiguration.g:7547:2: ( rule__IntegerTypeScope__Alternatives_3 ) + // InternalApplicationConfiguration.g:6993:1: ( ( rule__IntegerTypeScope__Alternatives_3 ) ) + // InternalApplicationConfiguration.g:6994:2: ( rule__IntegerTypeScope__Alternatives_3 ) { before(grammarAccess.getIntegerTypeScopeAccess().getAlternatives_3()); - // InternalApplicationConfiguration.g:7548:2: ( rule__IntegerTypeScope__Alternatives_3 ) - // InternalApplicationConfiguration.g:7548:3: rule__IntegerTypeScope__Alternatives_3 + // InternalApplicationConfiguration.g:6995:2: ( rule__IntegerTypeScope__Alternatives_3 ) + // InternalApplicationConfiguration.g:6995:3: rule__IntegerTypeScope__Alternatives_3 { pushFollow(FOLLOW_2); rule__IntegerTypeScope__Alternatives_3(); @@ -23747,16 +22034,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__RealTypeScope__Group__0" - // InternalApplicationConfiguration.g:7557:1: rule__RealTypeScope__Group__0 : rule__RealTypeScope__Group__0__Impl rule__RealTypeScope__Group__1 ; + // InternalApplicationConfiguration.g:7004:1: rule__RealTypeScope__Group__0 : rule__RealTypeScope__Group__0__Impl rule__RealTypeScope__Group__1 ; public final void rule__RealTypeScope__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7561:1: ( rule__RealTypeScope__Group__0__Impl rule__RealTypeScope__Group__1 ) - // InternalApplicationConfiguration.g:7562:2: rule__RealTypeScope__Group__0__Impl rule__RealTypeScope__Group__1 + // InternalApplicationConfiguration.g:7008:1: ( rule__RealTypeScope__Group__0__Impl rule__RealTypeScope__Group__1 ) + // InternalApplicationConfiguration.g:7009:2: rule__RealTypeScope__Group__0__Impl rule__RealTypeScope__Group__1 { - pushFollow(FOLLOW_39); + pushFollow(FOLLOW_37); rule__RealTypeScope__Group__0__Impl(); state._fsp--; @@ -23785,20 +22072,20 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__RealTypeScope__Group__0__Impl" - // InternalApplicationConfiguration.g:7569:1: rule__RealTypeScope__Group__0__Impl : ( '#' ) ; + // InternalApplicationConfiguration.g:7016:1: rule__RealTypeScope__Group__0__Impl : ( '#' ) ; public final void rule__RealTypeScope__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7573:1: ( ( '#' ) ) - // InternalApplicationConfiguration.g:7574:1: ( '#' ) + // InternalApplicationConfiguration.g:7020:1: ( ( '#' ) ) + // InternalApplicationConfiguration.g:7021:1: ( '#' ) { - // InternalApplicationConfiguration.g:7574:1: ( '#' ) - // InternalApplicationConfiguration.g:7575:2: '#' + // InternalApplicationConfiguration.g:7021:1: ( '#' ) + // InternalApplicationConfiguration.g:7022:2: '#' { before(grammarAccess.getRealTypeScopeAccess().getNumberSignKeyword_0()); - match(input,49,FOLLOW_2); + match(input,46,FOLLOW_2); after(grammarAccess.getRealTypeScopeAccess().getNumberSignKeyword_0()); } @@ -23822,16 +22109,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__RealTypeScope__Group__1" - // InternalApplicationConfiguration.g:7584:1: rule__RealTypeScope__Group__1 : rule__RealTypeScope__Group__1__Impl rule__RealTypeScope__Group__2 ; + // InternalApplicationConfiguration.g:7031:1: rule__RealTypeScope__Group__1 : rule__RealTypeScope__Group__1__Impl rule__RealTypeScope__Group__2 ; public final void rule__RealTypeScope__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7588:1: ( rule__RealTypeScope__Group__1__Impl rule__RealTypeScope__Group__2 ) - // InternalApplicationConfiguration.g:7589:2: rule__RealTypeScope__Group__1__Impl rule__RealTypeScope__Group__2 + // InternalApplicationConfiguration.g:7035:1: ( rule__RealTypeScope__Group__1__Impl rule__RealTypeScope__Group__2 ) + // InternalApplicationConfiguration.g:7036:2: rule__RealTypeScope__Group__1__Impl rule__RealTypeScope__Group__2 { - pushFollow(FOLLOW_34); + pushFollow(FOLLOW_32); rule__RealTypeScope__Group__1__Impl(); state._fsp--; @@ -23860,21 +22147,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__RealTypeScope__Group__1__Impl" - // InternalApplicationConfiguration.g:7596:1: rule__RealTypeScope__Group__1__Impl : ( ( rule__RealTypeScope__TypeAssignment_1 ) ) ; + // InternalApplicationConfiguration.g:7043:1: rule__RealTypeScope__Group__1__Impl : ( ( rule__RealTypeScope__TypeAssignment_1 ) ) ; public final void rule__RealTypeScope__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7600:1: ( ( ( rule__RealTypeScope__TypeAssignment_1 ) ) ) - // InternalApplicationConfiguration.g:7601:1: ( ( rule__RealTypeScope__TypeAssignment_1 ) ) + // InternalApplicationConfiguration.g:7047:1: ( ( ( rule__RealTypeScope__TypeAssignment_1 ) ) ) + // InternalApplicationConfiguration.g:7048:1: ( ( rule__RealTypeScope__TypeAssignment_1 ) ) { - // InternalApplicationConfiguration.g:7601:1: ( ( rule__RealTypeScope__TypeAssignment_1 ) ) - // InternalApplicationConfiguration.g:7602:2: ( rule__RealTypeScope__TypeAssignment_1 ) + // InternalApplicationConfiguration.g:7048:1: ( ( rule__RealTypeScope__TypeAssignment_1 ) ) + // InternalApplicationConfiguration.g:7049:2: ( rule__RealTypeScope__TypeAssignment_1 ) { before(grammarAccess.getRealTypeScopeAccess().getTypeAssignment_1()); - // InternalApplicationConfiguration.g:7603:2: ( rule__RealTypeScope__TypeAssignment_1 ) - // InternalApplicationConfiguration.g:7603:3: rule__RealTypeScope__TypeAssignment_1 + // InternalApplicationConfiguration.g:7050:2: ( rule__RealTypeScope__TypeAssignment_1 ) + // InternalApplicationConfiguration.g:7050:3: rule__RealTypeScope__TypeAssignment_1 { pushFollow(FOLLOW_2); rule__RealTypeScope__TypeAssignment_1(); @@ -23907,16 +22194,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__RealTypeScope__Group__2" - // InternalApplicationConfiguration.g:7611:1: rule__RealTypeScope__Group__2 : rule__RealTypeScope__Group__2__Impl rule__RealTypeScope__Group__3 ; + // InternalApplicationConfiguration.g:7058:1: rule__RealTypeScope__Group__2 : rule__RealTypeScope__Group__2__Impl rule__RealTypeScope__Group__3 ; public final void rule__RealTypeScope__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7615:1: ( rule__RealTypeScope__Group__2__Impl rule__RealTypeScope__Group__3 ) - // InternalApplicationConfiguration.g:7616:2: rule__RealTypeScope__Group__2__Impl rule__RealTypeScope__Group__3 + // InternalApplicationConfiguration.g:7062:1: ( rule__RealTypeScope__Group__2__Impl rule__RealTypeScope__Group__3 ) + // InternalApplicationConfiguration.g:7063:2: rule__RealTypeScope__Group__2__Impl rule__RealTypeScope__Group__3 { - pushFollow(FOLLOW_38); + pushFollow(FOLLOW_36); rule__RealTypeScope__Group__2__Impl(); state._fsp--; @@ -23945,21 +22232,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__RealTypeScope__Group__2__Impl" - // InternalApplicationConfiguration.g:7623:1: rule__RealTypeScope__Group__2__Impl : ( ( rule__RealTypeScope__Alternatives_2 ) ) ; + // InternalApplicationConfiguration.g:7070:1: rule__RealTypeScope__Group__2__Impl : ( ( rule__RealTypeScope__Alternatives_2 ) ) ; public final void rule__RealTypeScope__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7627:1: ( ( ( rule__RealTypeScope__Alternatives_2 ) ) ) - // InternalApplicationConfiguration.g:7628:1: ( ( rule__RealTypeScope__Alternatives_2 ) ) + // InternalApplicationConfiguration.g:7074:1: ( ( ( rule__RealTypeScope__Alternatives_2 ) ) ) + // InternalApplicationConfiguration.g:7075:1: ( ( rule__RealTypeScope__Alternatives_2 ) ) { - // InternalApplicationConfiguration.g:7628:1: ( ( rule__RealTypeScope__Alternatives_2 ) ) - // InternalApplicationConfiguration.g:7629:2: ( rule__RealTypeScope__Alternatives_2 ) + // InternalApplicationConfiguration.g:7075:1: ( ( rule__RealTypeScope__Alternatives_2 ) ) + // InternalApplicationConfiguration.g:7076:2: ( rule__RealTypeScope__Alternatives_2 ) { before(grammarAccess.getRealTypeScopeAccess().getAlternatives_2()); - // InternalApplicationConfiguration.g:7630:2: ( rule__RealTypeScope__Alternatives_2 ) - // InternalApplicationConfiguration.g:7630:3: rule__RealTypeScope__Alternatives_2 + // InternalApplicationConfiguration.g:7077:2: ( rule__RealTypeScope__Alternatives_2 ) + // InternalApplicationConfiguration.g:7077:3: rule__RealTypeScope__Alternatives_2 { pushFollow(FOLLOW_2); rule__RealTypeScope__Alternatives_2(); @@ -23992,14 +22279,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__RealTypeScope__Group__3" - // InternalApplicationConfiguration.g:7638:1: rule__RealTypeScope__Group__3 : rule__RealTypeScope__Group__3__Impl ; + // InternalApplicationConfiguration.g:7085:1: rule__RealTypeScope__Group__3 : rule__RealTypeScope__Group__3__Impl ; public final void rule__RealTypeScope__Group__3() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7642:1: ( rule__RealTypeScope__Group__3__Impl ) - // InternalApplicationConfiguration.g:7643:2: rule__RealTypeScope__Group__3__Impl + // InternalApplicationConfiguration.g:7089:1: ( rule__RealTypeScope__Group__3__Impl ) + // InternalApplicationConfiguration.g:7090:2: rule__RealTypeScope__Group__3__Impl { pushFollow(FOLLOW_2); rule__RealTypeScope__Group__3__Impl(); @@ -24025,21 +22312,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__RealTypeScope__Group__3__Impl" - // InternalApplicationConfiguration.g:7649:1: rule__RealTypeScope__Group__3__Impl : ( ( rule__RealTypeScope__Alternatives_3 ) ) ; + // InternalApplicationConfiguration.g:7096:1: rule__RealTypeScope__Group__3__Impl : ( ( rule__RealTypeScope__Alternatives_3 ) ) ; public final void rule__RealTypeScope__Group__3__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7653:1: ( ( ( rule__RealTypeScope__Alternatives_3 ) ) ) - // InternalApplicationConfiguration.g:7654:1: ( ( rule__RealTypeScope__Alternatives_3 ) ) + // InternalApplicationConfiguration.g:7100:1: ( ( ( rule__RealTypeScope__Alternatives_3 ) ) ) + // InternalApplicationConfiguration.g:7101:1: ( ( rule__RealTypeScope__Alternatives_3 ) ) { - // InternalApplicationConfiguration.g:7654:1: ( ( rule__RealTypeScope__Alternatives_3 ) ) - // InternalApplicationConfiguration.g:7655:2: ( rule__RealTypeScope__Alternatives_3 ) + // InternalApplicationConfiguration.g:7101:1: ( ( rule__RealTypeScope__Alternatives_3 ) ) + // InternalApplicationConfiguration.g:7102:2: ( rule__RealTypeScope__Alternatives_3 ) { before(grammarAccess.getRealTypeScopeAccess().getAlternatives_3()); - // InternalApplicationConfiguration.g:7656:2: ( rule__RealTypeScope__Alternatives_3 ) - // InternalApplicationConfiguration.g:7656:3: rule__RealTypeScope__Alternatives_3 + // InternalApplicationConfiguration.g:7103:2: ( rule__RealTypeScope__Alternatives_3 ) + // InternalApplicationConfiguration.g:7103:3: rule__RealTypeScope__Alternatives_3 { pushFollow(FOLLOW_2); rule__RealTypeScope__Alternatives_3(); @@ -24072,16 +22359,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__StringTypeScope__Group__0" - // InternalApplicationConfiguration.g:7665:1: rule__StringTypeScope__Group__0 : rule__StringTypeScope__Group__0__Impl rule__StringTypeScope__Group__1 ; + // InternalApplicationConfiguration.g:7112:1: rule__StringTypeScope__Group__0 : rule__StringTypeScope__Group__0__Impl rule__StringTypeScope__Group__1 ; public final void rule__StringTypeScope__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7669:1: ( rule__StringTypeScope__Group__0__Impl rule__StringTypeScope__Group__1 ) - // InternalApplicationConfiguration.g:7670:2: rule__StringTypeScope__Group__0__Impl rule__StringTypeScope__Group__1 + // InternalApplicationConfiguration.g:7116:1: ( rule__StringTypeScope__Group__0__Impl rule__StringTypeScope__Group__1 ) + // InternalApplicationConfiguration.g:7117:2: rule__StringTypeScope__Group__0__Impl rule__StringTypeScope__Group__1 { - pushFollow(FOLLOW_40); + pushFollow(FOLLOW_38); rule__StringTypeScope__Group__0__Impl(); state._fsp--; @@ -24110,20 +22397,20 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__StringTypeScope__Group__0__Impl" - // InternalApplicationConfiguration.g:7677:1: rule__StringTypeScope__Group__0__Impl : ( '#' ) ; + // InternalApplicationConfiguration.g:7124:1: rule__StringTypeScope__Group__0__Impl : ( '#' ) ; public final void rule__StringTypeScope__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7681:1: ( ( '#' ) ) - // InternalApplicationConfiguration.g:7682:1: ( '#' ) + // InternalApplicationConfiguration.g:7128:1: ( ( '#' ) ) + // InternalApplicationConfiguration.g:7129:1: ( '#' ) { - // InternalApplicationConfiguration.g:7682:1: ( '#' ) - // InternalApplicationConfiguration.g:7683:2: '#' + // InternalApplicationConfiguration.g:7129:1: ( '#' ) + // InternalApplicationConfiguration.g:7130:2: '#' { before(grammarAccess.getStringTypeScopeAccess().getNumberSignKeyword_0()); - match(input,49,FOLLOW_2); + match(input,46,FOLLOW_2); after(grammarAccess.getStringTypeScopeAccess().getNumberSignKeyword_0()); } @@ -24147,16 +22434,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__StringTypeScope__Group__1" - // InternalApplicationConfiguration.g:7692:1: rule__StringTypeScope__Group__1 : rule__StringTypeScope__Group__1__Impl rule__StringTypeScope__Group__2 ; + // InternalApplicationConfiguration.g:7139:1: rule__StringTypeScope__Group__1 : rule__StringTypeScope__Group__1__Impl rule__StringTypeScope__Group__2 ; public final void rule__StringTypeScope__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7696:1: ( rule__StringTypeScope__Group__1__Impl rule__StringTypeScope__Group__2 ) - // InternalApplicationConfiguration.g:7697:2: rule__StringTypeScope__Group__1__Impl rule__StringTypeScope__Group__2 + // InternalApplicationConfiguration.g:7143:1: ( rule__StringTypeScope__Group__1__Impl rule__StringTypeScope__Group__2 ) + // InternalApplicationConfiguration.g:7144:2: rule__StringTypeScope__Group__1__Impl rule__StringTypeScope__Group__2 { - pushFollow(FOLLOW_34); + pushFollow(FOLLOW_32); rule__StringTypeScope__Group__1__Impl(); state._fsp--; @@ -24185,21 +22472,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__StringTypeScope__Group__1__Impl" - // InternalApplicationConfiguration.g:7704:1: rule__StringTypeScope__Group__1__Impl : ( ( rule__StringTypeScope__TypeAssignment_1 ) ) ; + // InternalApplicationConfiguration.g:7151:1: rule__StringTypeScope__Group__1__Impl : ( ( rule__StringTypeScope__TypeAssignment_1 ) ) ; public final void rule__StringTypeScope__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7708:1: ( ( ( rule__StringTypeScope__TypeAssignment_1 ) ) ) - // InternalApplicationConfiguration.g:7709:1: ( ( rule__StringTypeScope__TypeAssignment_1 ) ) + // InternalApplicationConfiguration.g:7155:1: ( ( ( rule__StringTypeScope__TypeAssignment_1 ) ) ) + // InternalApplicationConfiguration.g:7156:1: ( ( rule__StringTypeScope__TypeAssignment_1 ) ) { - // InternalApplicationConfiguration.g:7709:1: ( ( rule__StringTypeScope__TypeAssignment_1 ) ) - // InternalApplicationConfiguration.g:7710:2: ( rule__StringTypeScope__TypeAssignment_1 ) + // InternalApplicationConfiguration.g:7156:1: ( ( rule__StringTypeScope__TypeAssignment_1 ) ) + // InternalApplicationConfiguration.g:7157:2: ( rule__StringTypeScope__TypeAssignment_1 ) { before(grammarAccess.getStringTypeScopeAccess().getTypeAssignment_1()); - // InternalApplicationConfiguration.g:7711:2: ( rule__StringTypeScope__TypeAssignment_1 ) - // InternalApplicationConfiguration.g:7711:3: rule__StringTypeScope__TypeAssignment_1 + // InternalApplicationConfiguration.g:7158:2: ( rule__StringTypeScope__TypeAssignment_1 ) + // InternalApplicationConfiguration.g:7158:3: rule__StringTypeScope__TypeAssignment_1 { pushFollow(FOLLOW_2); rule__StringTypeScope__TypeAssignment_1(); @@ -24232,16 +22519,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__StringTypeScope__Group__2" - // InternalApplicationConfiguration.g:7719:1: rule__StringTypeScope__Group__2 : rule__StringTypeScope__Group__2__Impl rule__StringTypeScope__Group__3 ; + // InternalApplicationConfiguration.g:7166:1: rule__StringTypeScope__Group__2 : rule__StringTypeScope__Group__2__Impl rule__StringTypeScope__Group__3 ; public final void rule__StringTypeScope__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7723:1: ( rule__StringTypeScope__Group__2__Impl rule__StringTypeScope__Group__3 ) - // InternalApplicationConfiguration.g:7724:2: rule__StringTypeScope__Group__2__Impl rule__StringTypeScope__Group__3 + // InternalApplicationConfiguration.g:7170:1: ( rule__StringTypeScope__Group__2__Impl rule__StringTypeScope__Group__3 ) + // InternalApplicationConfiguration.g:7171:2: rule__StringTypeScope__Group__2__Impl rule__StringTypeScope__Group__3 { - pushFollow(FOLLOW_38); + pushFollow(FOLLOW_36); rule__StringTypeScope__Group__2__Impl(); state._fsp--; @@ -24270,21 +22557,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__StringTypeScope__Group__2__Impl" - // InternalApplicationConfiguration.g:7731:1: rule__StringTypeScope__Group__2__Impl : ( ( rule__StringTypeScope__Alternatives_2 ) ) ; + // InternalApplicationConfiguration.g:7178:1: rule__StringTypeScope__Group__2__Impl : ( ( rule__StringTypeScope__Alternatives_2 ) ) ; public final void rule__StringTypeScope__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7735:1: ( ( ( rule__StringTypeScope__Alternatives_2 ) ) ) - // InternalApplicationConfiguration.g:7736:1: ( ( rule__StringTypeScope__Alternatives_2 ) ) + // InternalApplicationConfiguration.g:7182:1: ( ( ( rule__StringTypeScope__Alternatives_2 ) ) ) + // InternalApplicationConfiguration.g:7183:1: ( ( rule__StringTypeScope__Alternatives_2 ) ) { - // InternalApplicationConfiguration.g:7736:1: ( ( rule__StringTypeScope__Alternatives_2 ) ) - // InternalApplicationConfiguration.g:7737:2: ( rule__StringTypeScope__Alternatives_2 ) + // InternalApplicationConfiguration.g:7183:1: ( ( rule__StringTypeScope__Alternatives_2 ) ) + // InternalApplicationConfiguration.g:7184:2: ( rule__StringTypeScope__Alternatives_2 ) { before(grammarAccess.getStringTypeScopeAccess().getAlternatives_2()); - // InternalApplicationConfiguration.g:7738:2: ( rule__StringTypeScope__Alternatives_2 ) - // InternalApplicationConfiguration.g:7738:3: rule__StringTypeScope__Alternatives_2 + // InternalApplicationConfiguration.g:7185:2: ( rule__StringTypeScope__Alternatives_2 ) + // InternalApplicationConfiguration.g:7185:3: rule__StringTypeScope__Alternatives_2 { pushFollow(FOLLOW_2); rule__StringTypeScope__Alternatives_2(); @@ -24317,14 +22604,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__StringTypeScope__Group__3" - // InternalApplicationConfiguration.g:7746:1: rule__StringTypeScope__Group__3 : rule__StringTypeScope__Group__3__Impl ; + // InternalApplicationConfiguration.g:7193:1: rule__StringTypeScope__Group__3 : rule__StringTypeScope__Group__3__Impl ; public final void rule__StringTypeScope__Group__3() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7750:1: ( rule__StringTypeScope__Group__3__Impl ) - // InternalApplicationConfiguration.g:7751:2: rule__StringTypeScope__Group__3__Impl + // InternalApplicationConfiguration.g:7197:1: ( rule__StringTypeScope__Group__3__Impl ) + // InternalApplicationConfiguration.g:7198:2: rule__StringTypeScope__Group__3__Impl { pushFollow(FOLLOW_2); rule__StringTypeScope__Group__3__Impl(); @@ -24350,21 +22637,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__StringTypeScope__Group__3__Impl" - // InternalApplicationConfiguration.g:7757:1: rule__StringTypeScope__Group__3__Impl : ( ( rule__StringTypeScope__Alternatives_3 ) ) ; + // InternalApplicationConfiguration.g:7204:1: rule__StringTypeScope__Group__3__Impl : ( ( rule__StringTypeScope__Alternatives_3 ) ) ; public final void rule__StringTypeScope__Group__3__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7761:1: ( ( ( rule__StringTypeScope__Alternatives_3 ) ) ) - // InternalApplicationConfiguration.g:7762:1: ( ( rule__StringTypeScope__Alternatives_3 ) ) + // InternalApplicationConfiguration.g:7208:1: ( ( ( rule__StringTypeScope__Alternatives_3 ) ) ) + // InternalApplicationConfiguration.g:7209:1: ( ( rule__StringTypeScope__Alternatives_3 ) ) { - // InternalApplicationConfiguration.g:7762:1: ( ( rule__StringTypeScope__Alternatives_3 ) ) - // InternalApplicationConfiguration.g:7763:2: ( rule__StringTypeScope__Alternatives_3 ) + // InternalApplicationConfiguration.g:7209:1: ( ( rule__StringTypeScope__Alternatives_3 ) ) + // InternalApplicationConfiguration.g:7210:2: ( rule__StringTypeScope__Alternatives_3 ) { before(grammarAccess.getStringTypeScopeAccess().getAlternatives_3()); - // InternalApplicationConfiguration.g:7764:2: ( rule__StringTypeScope__Alternatives_3 ) - // InternalApplicationConfiguration.g:7764:3: rule__StringTypeScope__Alternatives_3 + // InternalApplicationConfiguration.g:7211:2: ( rule__StringTypeScope__Alternatives_3 ) + // InternalApplicationConfiguration.g:7211:3: rule__StringTypeScope__Alternatives_3 { pushFollow(FOLLOW_2); rule__StringTypeScope__Alternatives_3(); @@ -24397,14 +22684,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ClassReference__Group__0" - // InternalApplicationConfiguration.g:7773:1: rule__ClassReference__Group__0 : rule__ClassReference__Group__0__Impl rule__ClassReference__Group__1 ; + // InternalApplicationConfiguration.g:7220:1: rule__ClassReference__Group__0 : rule__ClassReference__Group__0__Impl rule__ClassReference__Group__1 ; public final void rule__ClassReference__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7777:1: ( rule__ClassReference__Group__0__Impl rule__ClassReference__Group__1 ) - // InternalApplicationConfiguration.g:7778:2: rule__ClassReference__Group__0__Impl rule__ClassReference__Group__1 + // InternalApplicationConfiguration.g:7224:1: ( rule__ClassReference__Group__0__Impl rule__ClassReference__Group__1 ) + // InternalApplicationConfiguration.g:7225:2: rule__ClassReference__Group__0__Impl rule__ClassReference__Group__1 { pushFollow(FOLLOW_8); rule__ClassReference__Group__0__Impl(); @@ -24435,17 +22722,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ClassReference__Group__0__Impl" - // InternalApplicationConfiguration.g:7785:1: rule__ClassReference__Group__0__Impl : ( '<' ) ; + // InternalApplicationConfiguration.g:7232:1: rule__ClassReference__Group__0__Impl : ( '<' ) ; public final void rule__ClassReference__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7789:1: ( ( '<' ) ) - // InternalApplicationConfiguration.g:7790:1: ( '<' ) + // InternalApplicationConfiguration.g:7236:1: ( ( '<' ) ) + // InternalApplicationConfiguration.g:7237:1: ( '<' ) { - // InternalApplicationConfiguration.g:7790:1: ( '<' ) - // InternalApplicationConfiguration.g:7791:2: '<' + // InternalApplicationConfiguration.g:7237:1: ( '<' ) + // InternalApplicationConfiguration.g:7238:2: '<' { before(grammarAccess.getClassReferenceAccess().getLessThanSignKeyword_0()); match(input,13,FOLLOW_2); @@ -24472,16 +22759,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ClassReference__Group__1" - // InternalApplicationConfiguration.g:7800:1: rule__ClassReference__Group__1 : rule__ClassReference__Group__1__Impl rule__ClassReference__Group__2 ; + // InternalApplicationConfiguration.g:7247:1: rule__ClassReference__Group__1 : rule__ClassReference__Group__1__Impl rule__ClassReference__Group__2 ; public final void rule__ClassReference__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7804:1: ( rule__ClassReference__Group__1__Impl rule__ClassReference__Group__2 ) - // InternalApplicationConfiguration.g:7805:2: rule__ClassReference__Group__1__Impl rule__ClassReference__Group__2 + // InternalApplicationConfiguration.g:7251:1: ( rule__ClassReference__Group__1__Impl rule__ClassReference__Group__2 ) + // InternalApplicationConfiguration.g:7252:2: rule__ClassReference__Group__1__Impl rule__ClassReference__Group__2 { - pushFollow(FOLLOW_41); + pushFollow(FOLLOW_39); rule__ClassReference__Group__1__Impl(); state._fsp--; @@ -24510,21 +22797,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ClassReference__Group__1__Impl" - // InternalApplicationConfiguration.g:7812:1: rule__ClassReference__Group__1__Impl : ( ( rule__ClassReference__ElementAssignment_1 ) ) ; + // InternalApplicationConfiguration.g:7259:1: rule__ClassReference__Group__1__Impl : ( ( rule__ClassReference__ElementAssignment_1 ) ) ; public final void rule__ClassReference__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7816:1: ( ( ( rule__ClassReference__ElementAssignment_1 ) ) ) - // InternalApplicationConfiguration.g:7817:1: ( ( rule__ClassReference__ElementAssignment_1 ) ) + // InternalApplicationConfiguration.g:7263:1: ( ( ( rule__ClassReference__ElementAssignment_1 ) ) ) + // InternalApplicationConfiguration.g:7264:1: ( ( rule__ClassReference__ElementAssignment_1 ) ) { - // InternalApplicationConfiguration.g:7817:1: ( ( rule__ClassReference__ElementAssignment_1 ) ) - // InternalApplicationConfiguration.g:7818:2: ( rule__ClassReference__ElementAssignment_1 ) + // InternalApplicationConfiguration.g:7264:1: ( ( rule__ClassReference__ElementAssignment_1 ) ) + // InternalApplicationConfiguration.g:7265:2: ( rule__ClassReference__ElementAssignment_1 ) { before(grammarAccess.getClassReferenceAccess().getElementAssignment_1()); - // InternalApplicationConfiguration.g:7819:2: ( rule__ClassReference__ElementAssignment_1 ) - // InternalApplicationConfiguration.g:7819:3: rule__ClassReference__ElementAssignment_1 + // InternalApplicationConfiguration.g:7266:2: ( rule__ClassReference__ElementAssignment_1 ) + // InternalApplicationConfiguration.g:7266:3: rule__ClassReference__ElementAssignment_1 { pushFollow(FOLLOW_2); rule__ClassReference__ElementAssignment_1(); @@ -24557,14 +22844,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ClassReference__Group__2" - // InternalApplicationConfiguration.g:7827:1: rule__ClassReference__Group__2 : rule__ClassReference__Group__2__Impl ; + // InternalApplicationConfiguration.g:7274:1: rule__ClassReference__Group__2 : rule__ClassReference__Group__2__Impl ; public final void rule__ClassReference__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7831:1: ( rule__ClassReference__Group__2__Impl ) - // InternalApplicationConfiguration.g:7832:2: rule__ClassReference__Group__2__Impl + // InternalApplicationConfiguration.g:7278:1: ( rule__ClassReference__Group__2__Impl ) + // InternalApplicationConfiguration.g:7279:2: rule__ClassReference__Group__2__Impl { pushFollow(FOLLOW_2); rule__ClassReference__Group__2__Impl(); @@ -24590,17 +22877,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ClassReference__Group__2__Impl" - // InternalApplicationConfiguration.g:7838:1: rule__ClassReference__Group__2__Impl : ( '>' ) ; + // InternalApplicationConfiguration.g:7285:1: rule__ClassReference__Group__2__Impl : ( '>' ) ; public final void rule__ClassReference__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7842:1: ( ( '>' ) ) - // InternalApplicationConfiguration.g:7843:1: ( '>' ) + // InternalApplicationConfiguration.g:7289:1: ( ( '>' ) ) + // InternalApplicationConfiguration.g:7290:1: ( '>' ) { - // InternalApplicationConfiguration.g:7843:1: ( '>' ) - // InternalApplicationConfiguration.g:7844:2: '>' + // InternalApplicationConfiguration.g:7290:1: ( '>' ) + // InternalApplicationConfiguration.g:7291:2: '>' { before(grammarAccess.getClassReferenceAccess().getGreaterThanSignKeyword_2()); match(input,14,FOLLOW_2); @@ -24627,16 +22914,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ObjectReference__Group__0" - // InternalApplicationConfiguration.g:7854:1: rule__ObjectReference__Group__0 : rule__ObjectReference__Group__0__Impl rule__ObjectReference__Group__1 ; + // InternalApplicationConfiguration.g:7301:1: rule__ObjectReference__Group__0 : rule__ObjectReference__Group__0__Impl rule__ObjectReference__Group__1 ; public final void rule__ObjectReference__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7858:1: ( rule__ObjectReference__Group__0__Impl rule__ObjectReference__Group__1 ) - // InternalApplicationConfiguration.g:7859:2: rule__ObjectReference__Group__0__Impl rule__ObjectReference__Group__1 + // InternalApplicationConfiguration.g:7305:1: ( rule__ObjectReference__Group__0__Impl rule__ObjectReference__Group__1 ) + // InternalApplicationConfiguration.g:7306:2: rule__ObjectReference__Group__0__Impl rule__ObjectReference__Group__1 { - pushFollow(FOLLOW_36); + pushFollow(FOLLOW_34); rule__ObjectReference__Group__0__Impl(); state._fsp--; @@ -24665,21 +22952,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ObjectReference__Group__0__Impl" - // InternalApplicationConfiguration.g:7866:1: rule__ObjectReference__Group__0__Impl : ( () ) ; + // InternalApplicationConfiguration.g:7313:1: rule__ObjectReference__Group__0__Impl : ( () ) ; public final void rule__ObjectReference__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7870:1: ( ( () ) ) - // InternalApplicationConfiguration.g:7871:1: ( () ) + // InternalApplicationConfiguration.g:7317:1: ( ( () ) ) + // InternalApplicationConfiguration.g:7318:1: ( () ) { - // InternalApplicationConfiguration.g:7871:1: ( () ) - // InternalApplicationConfiguration.g:7872:2: () + // InternalApplicationConfiguration.g:7318:1: ( () ) + // InternalApplicationConfiguration.g:7319:2: () { before(grammarAccess.getObjectReferenceAccess().getObjectReferenceAction_0()); - // InternalApplicationConfiguration.g:7873:2: () - // InternalApplicationConfiguration.g:7873:3: + // InternalApplicationConfiguration.g:7320:2: () + // InternalApplicationConfiguration.g:7320:3: { } @@ -24702,14 +22989,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ObjectReference__Group__1" - // InternalApplicationConfiguration.g:7881:1: rule__ObjectReference__Group__1 : rule__ObjectReference__Group__1__Impl ; + // InternalApplicationConfiguration.g:7328:1: rule__ObjectReference__Group__1 : rule__ObjectReference__Group__1__Impl ; public final void rule__ObjectReference__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7885:1: ( rule__ObjectReference__Group__1__Impl ) - // InternalApplicationConfiguration.g:7886:2: rule__ObjectReference__Group__1__Impl + // InternalApplicationConfiguration.g:7332:1: ( rule__ObjectReference__Group__1__Impl ) + // InternalApplicationConfiguration.g:7333:2: rule__ObjectReference__Group__1__Impl { pushFollow(FOLLOW_2); rule__ObjectReference__Group__1__Impl(); @@ -24735,20 +23022,20 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ObjectReference__Group__1__Impl" - // InternalApplicationConfiguration.g:7892:1: rule__ObjectReference__Group__1__Impl : ( 'node' ) ; + // InternalApplicationConfiguration.g:7339:1: rule__ObjectReference__Group__1__Impl : ( 'node' ) ; public final void rule__ObjectReference__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7896:1: ( ( 'node' ) ) - // InternalApplicationConfiguration.g:7897:1: ( 'node' ) + // InternalApplicationConfiguration.g:7343:1: ( ( 'node' ) ) + // InternalApplicationConfiguration.g:7344:1: ( 'node' ) { - // InternalApplicationConfiguration.g:7897:1: ( 'node' ) - // InternalApplicationConfiguration.g:7898:2: 'node' + // InternalApplicationConfiguration.g:7344:1: ( 'node' ) + // InternalApplicationConfiguration.g:7345:2: 'node' { before(grammarAccess.getObjectReferenceAccess().getNodeKeyword_1()); - match(input,50,FOLLOW_2); + match(input,47,FOLLOW_2); after(grammarAccess.getObjectReferenceAccess().getNodeKeyword_1()); } @@ -24772,16 +23059,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__IntegerReference__Group__0" - // InternalApplicationConfiguration.g:7908:1: rule__IntegerReference__Group__0 : rule__IntegerReference__Group__0__Impl rule__IntegerReference__Group__1 ; + // InternalApplicationConfiguration.g:7355:1: rule__IntegerReference__Group__0 : rule__IntegerReference__Group__0__Impl rule__IntegerReference__Group__1 ; public final void rule__IntegerReference__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7912:1: ( rule__IntegerReference__Group__0__Impl rule__IntegerReference__Group__1 ) - // InternalApplicationConfiguration.g:7913:2: rule__IntegerReference__Group__0__Impl rule__IntegerReference__Group__1 + // InternalApplicationConfiguration.g:7359:1: ( rule__IntegerReference__Group__0__Impl rule__IntegerReference__Group__1 ) + // InternalApplicationConfiguration.g:7360:2: rule__IntegerReference__Group__0__Impl rule__IntegerReference__Group__1 { - pushFollow(FOLLOW_37); + pushFollow(FOLLOW_35); rule__IntegerReference__Group__0__Impl(); state._fsp--; @@ -24810,21 +23097,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__IntegerReference__Group__0__Impl" - // InternalApplicationConfiguration.g:7920:1: rule__IntegerReference__Group__0__Impl : ( () ) ; + // InternalApplicationConfiguration.g:7367:1: rule__IntegerReference__Group__0__Impl : ( () ) ; public final void rule__IntegerReference__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7924:1: ( ( () ) ) - // InternalApplicationConfiguration.g:7925:1: ( () ) + // InternalApplicationConfiguration.g:7371:1: ( ( () ) ) + // InternalApplicationConfiguration.g:7372:1: ( () ) { - // InternalApplicationConfiguration.g:7925:1: ( () ) - // InternalApplicationConfiguration.g:7926:2: () + // InternalApplicationConfiguration.g:7372:1: ( () ) + // InternalApplicationConfiguration.g:7373:2: () { before(grammarAccess.getIntegerReferenceAccess().getIntegerScopeAction_0()); - // InternalApplicationConfiguration.g:7927:2: () - // InternalApplicationConfiguration.g:7927:3: + // InternalApplicationConfiguration.g:7374:2: () + // InternalApplicationConfiguration.g:7374:3: { } @@ -24847,14 +23134,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__IntegerReference__Group__1" - // InternalApplicationConfiguration.g:7935:1: rule__IntegerReference__Group__1 : rule__IntegerReference__Group__1__Impl ; + // InternalApplicationConfiguration.g:7382:1: rule__IntegerReference__Group__1 : rule__IntegerReference__Group__1__Impl ; public final void rule__IntegerReference__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7939:1: ( rule__IntegerReference__Group__1__Impl ) - // InternalApplicationConfiguration.g:7940:2: rule__IntegerReference__Group__1__Impl + // InternalApplicationConfiguration.g:7386:1: ( rule__IntegerReference__Group__1__Impl ) + // InternalApplicationConfiguration.g:7387:2: rule__IntegerReference__Group__1__Impl { pushFollow(FOLLOW_2); rule__IntegerReference__Group__1__Impl(); @@ -24880,20 +23167,20 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__IntegerReference__Group__1__Impl" - // InternalApplicationConfiguration.g:7946:1: rule__IntegerReference__Group__1__Impl : ( 'int' ) ; + // InternalApplicationConfiguration.g:7393:1: rule__IntegerReference__Group__1__Impl : ( 'int' ) ; public final void rule__IntegerReference__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7950:1: ( ( 'int' ) ) - // InternalApplicationConfiguration.g:7951:1: ( 'int' ) + // InternalApplicationConfiguration.g:7397:1: ( ( 'int' ) ) + // InternalApplicationConfiguration.g:7398:1: ( 'int' ) { - // InternalApplicationConfiguration.g:7951:1: ( 'int' ) - // InternalApplicationConfiguration.g:7952:2: 'int' + // InternalApplicationConfiguration.g:7398:1: ( 'int' ) + // InternalApplicationConfiguration.g:7399:2: 'int' { before(grammarAccess.getIntegerReferenceAccess().getIntKeyword_1()); - match(input,51,FOLLOW_2); + match(input,48,FOLLOW_2); after(grammarAccess.getIntegerReferenceAccess().getIntKeyword_1()); } @@ -24917,16 +23204,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__RealReference__Group__0" - // InternalApplicationConfiguration.g:7962:1: rule__RealReference__Group__0 : rule__RealReference__Group__0__Impl rule__RealReference__Group__1 ; + // InternalApplicationConfiguration.g:7409:1: rule__RealReference__Group__0 : rule__RealReference__Group__0__Impl rule__RealReference__Group__1 ; public final void rule__RealReference__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7966:1: ( rule__RealReference__Group__0__Impl rule__RealReference__Group__1 ) - // InternalApplicationConfiguration.g:7967:2: rule__RealReference__Group__0__Impl rule__RealReference__Group__1 + // InternalApplicationConfiguration.g:7413:1: ( rule__RealReference__Group__0__Impl rule__RealReference__Group__1 ) + // InternalApplicationConfiguration.g:7414:2: rule__RealReference__Group__0__Impl rule__RealReference__Group__1 { - pushFollow(FOLLOW_39); + pushFollow(FOLLOW_37); rule__RealReference__Group__0__Impl(); state._fsp--; @@ -24955,21 +23242,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__RealReference__Group__0__Impl" - // InternalApplicationConfiguration.g:7974:1: rule__RealReference__Group__0__Impl : ( () ) ; + // InternalApplicationConfiguration.g:7421:1: rule__RealReference__Group__0__Impl : ( () ) ; public final void rule__RealReference__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7978:1: ( ( () ) ) - // InternalApplicationConfiguration.g:7979:1: ( () ) + // InternalApplicationConfiguration.g:7425:1: ( ( () ) ) + // InternalApplicationConfiguration.g:7426:1: ( () ) { - // InternalApplicationConfiguration.g:7979:1: ( () ) - // InternalApplicationConfiguration.g:7980:2: () + // InternalApplicationConfiguration.g:7426:1: ( () ) + // InternalApplicationConfiguration.g:7427:2: () { before(grammarAccess.getRealReferenceAccess().getRealScopeAction_0()); - // InternalApplicationConfiguration.g:7981:2: () - // InternalApplicationConfiguration.g:7981:3: + // InternalApplicationConfiguration.g:7428:2: () + // InternalApplicationConfiguration.g:7428:3: { } @@ -24992,14 +23279,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__RealReference__Group__1" - // InternalApplicationConfiguration.g:7989:1: rule__RealReference__Group__1 : rule__RealReference__Group__1__Impl ; + // InternalApplicationConfiguration.g:7436:1: rule__RealReference__Group__1 : rule__RealReference__Group__1__Impl ; public final void rule__RealReference__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:7993:1: ( rule__RealReference__Group__1__Impl ) - // InternalApplicationConfiguration.g:7994:2: rule__RealReference__Group__1__Impl + // InternalApplicationConfiguration.g:7440:1: ( rule__RealReference__Group__1__Impl ) + // InternalApplicationConfiguration.g:7441:2: rule__RealReference__Group__1__Impl { pushFollow(FOLLOW_2); rule__RealReference__Group__1__Impl(); @@ -25025,20 +23312,20 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__RealReference__Group__1__Impl" - // InternalApplicationConfiguration.g:8000:1: rule__RealReference__Group__1__Impl : ( 'real' ) ; + // InternalApplicationConfiguration.g:7447:1: rule__RealReference__Group__1__Impl : ( 'real' ) ; public final void rule__RealReference__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8004:1: ( ( 'real' ) ) - // InternalApplicationConfiguration.g:8005:1: ( 'real' ) + // InternalApplicationConfiguration.g:7451:1: ( ( 'real' ) ) + // InternalApplicationConfiguration.g:7452:1: ( 'real' ) { - // InternalApplicationConfiguration.g:8005:1: ( 'real' ) - // InternalApplicationConfiguration.g:8006:2: 'real' + // InternalApplicationConfiguration.g:7452:1: ( 'real' ) + // InternalApplicationConfiguration.g:7453:2: 'real' { before(grammarAccess.getRealReferenceAccess().getRealKeyword_1()); - match(input,52,FOLLOW_2); + match(input,49,FOLLOW_2); after(grammarAccess.getRealReferenceAccess().getRealKeyword_1()); } @@ -25062,16 +23349,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__StringReference__Group__0" - // InternalApplicationConfiguration.g:8016:1: rule__StringReference__Group__0 : rule__StringReference__Group__0__Impl rule__StringReference__Group__1 ; + // InternalApplicationConfiguration.g:7463:1: rule__StringReference__Group__0 : rule__StringReference__Group__0__Impl rule__StringReference__Group__1 ; public final void rule__StringReference__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8020:1: ( rule__StringReference__Group__0__Impl rule__StringReference__Group__1 ) - // InternalApplicationConfiguration.g:8021:2: rule__StringReference__Group__0__Impl rule__StringReference__Group__1 + // InternalApplicationConfiguration.g:7467:1: ( rule__StringReference__Group__0__Impl rule__StringReference__Group__1 ) + // InternalApplicationConfiguration.g:7468:2: rule__StringReference__Group__0__Impl rule__StringReference__Group__1 { - pushFollow(FOLLOW_40); + pushFollow(FOLLOW_38); rule__StringReference__Group__0__Impl(); state._fsp--; @@ -25100,21 +23387,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__StringReference__Group__0__Impl" - // InternalApplicationConfiguration.g:8028:1: rule__StringReference__Group__0__Impl : ( () ) ; + // InternalApplicationConfiguration.g:7475:1: rule__StringReference__Group__0__Impl : ( () ) ; public final void rule__StringReference__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8032:1: ( ( () ) ) - // InternalApplicationConfiguration.g:8033:1: ( () ) + // InternalApplicationConfiguration.g:7479:1: ( ( () ) ) + // InternalApplicationConfiguration.g:7480:1: ( () ) { - // InternalApplicationConfiguration.g:8033:1: ( () ) - // InternalApplicationConfiguration.g:8034:2: () + // InternalApplicationConfiguration.g:7480:1: ( () ) + // InternalApplicationConfiguration.g:7481:2: () { before(grammarAccess.getStringReferenceAccess().getStringScopeAction_0()); - // InternalApplicationConfiguration.g:8035:2: () - // InternalApplicationConfiguration.g:8035:3: + // InternalApplicationConfiguration.g:7482:2: () + // InternalApplicationConfiguration.g:7482:3: { } @@ -25137,14 +23424,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__StringReference__Group__1" - // InternalApplicationConfiguration.g:8043:1: rule__StringReference__Group__1 : rule__StringReference__Group__1__Impl ; + // InternalApplicationConfiguration.g:7490:1: rule__StringReference__Group__1 : rule__StringReference__Group__1__Impl ; public final void rule__StringReference__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8047:1: ( rule__StringReference__Group__1__Impl ) - // InternalApplicationConfiguration.g:8048:2: rule__StringReference__Group__1__Impl + // InternalApplicationConfiguration.g:7494:1: ( rule__StringReference__Group__1__Impl ) + // InternalApplicationConfiguration.g:7495:2: rule__StringReference__Group__1__Impl { pushFollow(FOLLOW_2); rule__StringReference__Group__1__Impl(); @@ -25170,20 +23457,20 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__StringReference__Group__1__Impl" - // InternalApplicationConfiguration.g:8054:1: rule__StringReference__Group__1__Impl : ( 'string' ) ; + // InternalApplicationConfiguration.g:7501:1: rule__StringReference__Group__1__Impl : ( 'string' ) ; public final void rule__StringReference__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8058:1: ( ( 'string' ) ) - // InternalApplicationConfiguration.g:8059:1: ( 'string' ) + // InternalApplicationConfiguration.g:7505:1: ( ( 'string' ) ) + // InternalApplicationConfiguration.g:7506:1: ( 'string' ) { - // InternalApplicationConfiguration.g:8059:1: ( 'string' ) - // InternalApplicationConfiguration.g:8060:2: 'string' + // InternalApplicationConfiguration.g:7506:1: ( 'string' ) + // InternalApplicationConfiguration.g:7507:2: 'string' { before(grammarAccess.getStringReferenceAccess().getStringKeyword_1()); - match(input,53,FOLLOW_2); + match(input,50,FOLLOW_2); after(grammarAccess.getStringReferenceAccess().getStringKeyword_1()); } @@ -25207,16 +23494,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__IntervallNumber__Group__0" - // InternalApplicationConfiguration.g:8070:1: rule__IntervallNumber__Group__0 : rule__IntervallNumber__Group__0__Impl rule__IntervallNumber__Group__1 ; + // InternalApplicationConfiguration.g:7517:1: rule__IntervallNumber__Group__0 : rule__IntervallNumber__Group__0__Impl rule__IntervallNumber__Group__1 ; public final void rule__IntervallNumber__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8074:1: ( rule__IntervallNumber__Group__0__Impl rule__IntervallNumber__Group__1 ) - // InternalApplicationConfiguration.g:8075:2: rule__IntervallNumber__Group__0__Impl rule__IntervallNumber__Group__1 + // InternalApplicationConfiguration.g:7521:1: ( rule__IntervallNumber__Group__0__Impl rule__IntervallNumber__Group__1 ) + // InternalApplicationConfiguration.g:7522:2: rule__IntervallNumber__Group__0__Impl rule__IntervallNumber__Group__1 { - pushFollow(FOLLOW_42); + pushFollow(FOLLOW_40); rule__IntervallNumber__Group__0__Impl(); state._fsp--; @@ -25245,21 +23532,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__IntervallNumber__Group__0__Impl" - // InternalApplicationConfiguration.g:8082:1: rule__IntervallNumber__Group__0__Impl : ( ( rule__IntervallNumber__MinAssignment_0 ) ) ; + // InternalApplicationConfiguration.g:7529:1: rule__IntervallNumber__Group__0__Impl : ( ( rule__IntervallNumber__MinAssignment_0 ) ) ; public final void rule__IntervallNumber__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8086:1: ( ( ( rule__IntervallNumber__MinAssignment_0 ) ) ) - // InternalApplicationConfiguration.g:8087:1: ( ( rule__IntervallNumber__MinAssignment_0 ) ) + // InternalApplicationConfiguration.g:7533:1: ( ( ( rule__IntervallNumber__MinAssignment_0 ) ) ) + // InternalApplicationConfiguration.g:7534:1: ( ( rule__IntervallNumber__MinAssignment_0 ) ) { - // InternalApplicationConfiguration.g:8087:1: ( ( rule__IntervallNumber__MinAssignment_0 ) ) - // InternalApplicationConfiguration.g:8088:2: ( rule__IntervallNumber__MinAssignment_0 ) + // InternalApplicationConfiguration.g:7534:1: ( ( rule__IntervallNumber__MinAssignment_0 ) ) + // InternalApplicationConfiguration.g:7535:2: ( rule__IntervallNumber__MinAssignment_0 ) { before(grammarAccess.getIntervallNumberAccess().getMinAssignment_0()); - // InternalApplicationConfiguration.g:8089:2: ( rule__IntervallNumber__MinAssignment_0 ) - // InternalApplicationConfiguration.g:8089:3: rule__IntervallNumber__MinAssignment_0 + // InternalApplicationConfiguration.g:7536:2: ( rule__IntervallNumber__MinAssignment_0 ) + // InternalApplicationConfiguration.g:7536:3: rule__IntervallNumber__MinAssignment_0 { pushFollow(FOLLOW_2); rule__IntervallNumber__MinAssignment_0(); @@ -25292,16 +23579,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__IntervallNumber__Group__1" - // InternalApplicationConfiguration.g:8097:1: rule__IntervallNumber__Group__1 : rule__IntervallNumber__Group__1__Impl rule__IntervallNumber__Group__2 ; + // InternalApplicationConfiguration.g:7544:1: rule__IntervallNumber__Group__1 : rule__IntervallNumber__Group__1__Impl rule__IntervallNumber__Group__2 ; public final void rule__IntervallNumber__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8101:1: ( rule__IntervallNumber__Group__1__Impl rule__IntervallNumber__Group__2 ) - // InternalApplicationConfiguration.g:8102:2: rule__IntervallNumber__Group__1__Impl rule__IntervallNumber__Group__2 + // InternalApplicationConfiguration.g:7548:1: ( rule__IntervallNumber__Group__1__Impl rule__IntervallNumber__Group__2 ) + // InternalApplicationConfiguration.g:7549:2: rule__IntervallNumber__Group__1__Impl rule__IntervallNumber__Group__2 { - pushFollow(FOLLOW_35); + pushFollow(FOLLOW_33); rule__IntervallNumber__Group__1__Impl(); state._fsp--; @@ -25330,20 +23617,20 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__IntervallNumber__Group__1__Impl" - // InternalApplicationConfiguration.g:8109:1: rule__IntervallNumber__Group__1__Impl : ( '..' ) ; + // InternalApplicationConfiguration.g:7556:1: rule__IntervallNumber__Group__1__Impl : ( '..' ) ; public final void rule__IntervallNumber__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8113:1: ( ( '..' ) ) - // InternalApplicationConfiguration.g:8114:1: ( '..' ) + // InternalApplicationConfiguration.g:7560:1: ( ( '..' ) ) + // InternalApplicationConfiguration.g:7561:1: ( '..' ) { - // InternalApplicationConfiguration.g:8114:1: ( '..' ) - // InternalApplicationConfiguration.g:8115:2: '..' + // InternalApplicationConfiguration.g:7561:1: ( '..' ) + // InternalApplicationConfiguration.g:7562:2: '..' { before(grammarAccess.getIntervallNumberAccess().getFullStopFullStopKeyword_1()); - match(input,54,FOLLOW_2); + match(input,51,FOLLOW_2); after(grammarAccess.getIntervallNumberAccess().getFullStopFullStopKeyword_1()); } @@ -25367,14 +23654,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__IntervallNumber__Group__2" - // InternalApplicationConfiguration.g:8124:1: rule__IntervallNumber__Group__2 : rule__IntervallNumber__Group__2__Impl ; + // InternalApplicationConfiguration.g:7571:1: rule__IntervallNumber__Group__2 : rule__IntervallNumber__Group__2__Impl ; public final void rule__IntervallNumber__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8128:1: ( rule__IntervallNumber__Group__2__Impl ) - // InternalApplicationConfiguration.g:8129:2: rule__IntervallNumber__Group__2__Impl + // InternalApplicationConfiguration.g:7575:1: ( rule__IntervallNumber__Group__2__Impl ) + // InternalApplicationConfiguration.g:7576:2: rule__IntervallNumber__Group__2__Impl { pushFollow(FOLLOW_2); rule__IntervallNumber__Group__2__Impl(); @@ -25400,21 +23687,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__IntervallNumber__Group__2__Impl" - // InternalApplicationConfiguration.g:8135:1: rule__IntervallNumber__Group__2__Impl : ( ( rule__IntervallNumber__Alternatives_2 ) ) ; + // InternalApplicationConfiguration.g:7582:1: rule__IntervallNumber__Group__2__Impl : ( ( rule__IntervallNumber__Alternatives_2 ) ) ; public final void rule__IntervallNumber__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8139:1: ( ( ( rule__IntervallNumber__Alternatives_2 ) ) ) - // InternalApplicationConfiguration.g:8140:1: ( ( rule__IntervallNumber__Alternatives_2 ) ) + // InternalApplicationConfiguration.g:7586:1: ( ( ( rule__IntervallNumber__Alternatives_2 ) ) ) + // InternalApplicationConfiguration.g:7587:1: ( ( rule__IntervallNumber__Alternatives_2 ) ) { - // InternalApplicationConfiguration.g:8140:1: ( ( rule__IntervallNumber__Alternatives_2 ) ) - // InternalApplicationConfiguration.g:8141:2: ( rule__IntervallNumber__Alternatives_2 ) + // InternalApplicationConfiguration.g:7587:1: ( ( rule__IntervallNumber__Alternatives_2 ) ) + // InternalApplicationConfiguration.g:7588:2: ( rule__IntervallNumber__Alternatives_2 ) { before(grammarAccess.getIntervallNumberAccess().getAlternatives_2()); - // InternalApplicationConfiguration.g:8142:2: ( rule__IntervallNumber__Alternatives_2 ) - // InternalApplicationConfiguration.g:8142:3: rule__IntervallNumber__Alternatives_2 + // InternalApplicationConfiguration.g:7589:2: ( rule__IntervallNumber__Alternatives_2 ) + // InternalApplicationConfiguration.g:7589:3: rule__IntervallNumber__Alternatives_2 { pushFollow(FOLLOW_2); rule__IntervallNumber__Alternatives_2(); @@ -25447,16 +23734,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__IntEnumberation__Group__0" - // InternalApplicationConfiguration.g:8151:1: rule__IntEnumberation__Group__0 : rule__IntEnumberation__Group__0__Impl rule__IntEnumberation__Group__1 ; + // InternalApplicationConfiguration.g:7598:1: rule__IntEnumberation__Group__0 : rule__IntEnumberation__Group__0__Impl rule__IntEnumberation__Group__1 ; public final void rule__IntEnumberation__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8155:1: ( rule__IntEnumberation__Group__0__Impl rule__IntEnumberation__Group__1 ) - // InternalApplicationConfiguration.g:8156:2: rule__IntEnumberation__Group__0__Impl rule__IntEnumberation__Group__1 + // InternalApplicationConfiguration.g:7602:1: ( rule__IntEnumberation__Group__0__Impl rule__IntEnumberation__Group__1 ) + // InternalApplicationConfiguration.g:7603:2: rule__IntEnumberation__Group__0__Impl rule__IntEnumberation__Group__1 { - pushFollow(FOLLOW_38); + pushFollow(FOLLOW_36); rule__IntEnumberation__Group__0__Impl(); state._fsp--; @@ -25485,21 +23772,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__IntEnumberation__Group__0__Impl" - // InternalApplicationConfiguration.g:8163:1: rule__IntEnumberation__Group__0__Impl : ( () ) ; + // InternalApplicationConfiguration.g:7610:1: rule__IntEnumberation__Group__0__Impl : ( () ) ; public final void rule__IntEnumberation__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8167:1: ( ( () ) ) - // InternalApplicationConfiguration.g:8168:1: ( () ) + // InternalApplicationConfiguration.g:7614:1: ( ( () ) ) + // InternalApplicationConfiguration.g:7615:1: ( () ) { - // InternalApplicationConfiguration.g:8168:1: ( () ) - // InternalApplicationConfiguration.g:8169:2: () + // InternalApplicationConfiguration.g:7615:1: ( () ) + // InternalApplicationConfiguration.g:7616:2: () { before(grammarAccess.getIntEnumberationAccess().getIntEnumberationAction_0()); - // InternalApplicationConfiguration.g:8170:2: () - // InternalApplicationConfiguration.g:8170:3: + // InternalApplicationConfiguration.g:7617:2: () + // InternalApplicationConfiguration.g:7617:3: { } @@ -25522,16 +23809,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__IntEnumberation__Group__1" - // InternalApplicationConfiguration.g:8178:1: rule__IntEnumberation__Group__1 : rule__IntEnumberation__Group__1__Impl rule__IntEnumberation__Group__2 ; + // InternalApplicationConfiguration.g:7625:1: rule__IntEnumberation__Group__1 : rule__IntEnumberation__Group__1__Impl rule__IntEnumberation__Group__2 ; public final void rule__IntEnumberation__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8182:1: ( rule__IntEnumberation__Group__1__Impl rule__IntEnumberation__Group__2 ) - // InternalApplicationConfiguration.g:8183:2: rule__IntEnumberation__Group__1__Impl rule__IntEnumberation__Group__2 + // InternalApplicationConfiguration.g:7629:1: ( rule__IntEnumberation__Group__1__Impl rule__IntEnumberation__Group__2 ) + // InternalApplicationConfiguration.g:7630:2: rule__IntEnumberation__Group__1__Impl rule__IntEnumberation__Group__2 { - pushFollow(FOLLOW_43); + pushFollow(FOLLOW_41); rule__IntEnumberation__Group__1__Impl(); state._fsp--; @@ -25560,20 +23847,20 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__IntEnumberation__Group__1__Impl" - // InternalApplicationConfiguration.g:8190:1: rule__IntEnumberation__Group__1__Impl : ( '{' ) ; + // InternalApplicationConfiguration.g:7637:1: rule__IntEnumberation__Group__1__Impl : ( '{' ) ; public final void rule__IntEnumberation__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8194:1: ( ( '{' ) ) - // InternalApplicationConfiguration.g:8195:1: ( '{' ) + // InternalApplicationConfiguration.g:7641:1: ( ( '{' ) ) + // InternalApplicationConfiguration.g:7642:1: ( '{' ) { - // InternalApplicationConfiguration.g:8195:1: ( '{' ) - // InternalApplicationConfiguration.g:8196:2: '{' + // InternalApplicationConfiguration.g:7642:1: ( '{' ) + // InternalApplicationConfiguration.g:7643:2: '{' { before(grammarAccess.getIntEnumberationAccess().getLeftCurlyBracketKeyword_1()); - match(input,31,FOLLOW_2); + match(input,30,FOLLOW_2); after(grammarAccess.getIntEnumberationAccess().getLeftCurlyBracketKeyword_1()); } @@ -25597,16 +23884,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__IntEnumberation__Group__2" - // InternalApplicationConfiguration.g:8205:1: rule__IntEnumberation__Group__2 : rule__IntEnumberation__Group__2__Impl rule__IntEnumberation__Group__3 ; + // InternalApplicationConfiguration.g:7652:1: rule__IntEnumberation__Group__2 : rule__IntEnumberation__Group__2__Impl rule__IntEnumberation__Group__3 ; public final void rule__IntEnumberation__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8209:1: ( rule__IntEnumberation__Group__2__Impl rule__IntEnumberation__Group__3 ) - // InternalApplicationConfiguration.g:8210:2: rule__IntEnumberation__Group__2__Impl rule__IntEnumberation__Group__3 + // InternalApplicationConfiguration.g:7656:1: ( rule__IntEnumberation__Group__2__Impl rule__IntEnumberation__Group__3 ) + // InternalApplicationConfiguration.g:7657:2: rule__IntEnumberation__Group__2__Impl rule__IntEnumberation__Group__3 { - pushFollow(FOLLOW_43); + pushFollow(FOLLOW_41); rule__IntEnumberation__Group__2__Impl(); state._fsp--; @@ -25635,29 +23922,29 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__IntEnumberation__Group__2__Impl" - // InternalApplicationConfiguration.g:8217:1: rule__IntEnumberation__Group__2__Impl : ( ( rule__IntEnumberation__Group_2__0 )? ) ; + // InternalApplicationConfiguration.g:7664:1: rule__IntEnumberation__Group__2__Impl : ( ( rule__IntEnumberation__Group_2__0 )? ) ; public final void rule__IntEnumberation__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8221:1: ( ( ( rule__IntEnumberation__Group_2__0 )? ) ) - // InternalApplicationConfiguration.g:8222:1: ( ( rule__IntEnumberation__Group_2__0 )? ) + // InternalApplicationConfiguration.g:7668:1: ( ( ( rule__IntEnumberation__Group_2__0 )? ) ) + // InternalApplicationConfiguration.g:7669:1: ( ( rule__IntEnumberation__Group_2__0 )? ) { - // InternalApplicationConfiguration.g:8222:1: ( ( rule__IntEnumberation__Group_2__0 )? ) - // InternalApplicationConfiguration.g:8223:2: ( rule__IntEnumberation__Group_2__0 )? + // InternalApplicationConfiguration.g:7669:1: ( ( rule__IntEnumberation__Group_2__0 )? ) + // InternalApplicationConfiguration.g:7670:2: ( rule__IntEnumberation__Group_2__0 )? { before(grammarAccess.getIntEnumberationAccess().getGroup_2()); - // InternalApplicationConfiguration.g:8224:2: ( rule__IntEnumberation__Group_2__0 )? - int alt60=2; - int LA60_0 = input.LA(1); + // InternalApplicationConfiguration.g:7671:2: ( rule__IntEnumberation__Group_2__0 )? + int alt56=2; + int LA56_0 = input.LA(1); - if ( (LA60_0==RULE_INT||LA60_0==24) ) { - alt60=1; + if ( (LA56_0==RULE_INT||LA56_0==24) ) { + alt56=1; } - switch (alt60) { + switch (alt56) { case 1 : - // InternalApplicationConfiguration.g:8224:3: rule__IntEnumberation__Group_2__0 + // InternalApplicationConfiguration.g:7671:3: rule__IntEnumberation__Group_2__0 { pushFollow(FOLLOW_2); rule__IntEnumberation__Group_2__0(); @@ -25693,14 +23980,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__IntEnumberation__Group__3" - // InternalApplicationConfiguration.g:8232:1: rule__IntEnumberation__Group__3 : rule__IntEnumberation__Group__3__Impl ; + // InternalApplicationConfiguration.g:7679:1: rule__IntEnumberation__Group__3 : rule__IntEnumberation__Group__3__Impl ; public final void rule__IntEnumberation__Group__3() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8236:1: ( rule__IntEnumberation__Group__3__Impl ) - // InternalApplicationConfiguration.g:8237:2: rule__IntEnumberation__Group__3__Impl + // InternalApplicationConfiguration.g:7683:1: ( rule__IntEnumberation__Group__3__Impl ) + // InternalApplicationConfiguration.g:7684:2: rule__IntEnumberation__Group__3__Impl { pushFollow(FOLLOW_2); rule__IntEnumberation__Group__3__Impl(); @@ -25726,20 +24013,20 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__IntEnumberation__Group__3__Impl" - // InternalApplicationConfiguration.g:8243:1: rule__IntEnumberation__Group__3__Impl : ( '}' ) ; + // InternalApplicationConfiguration.g:7690:1: rule__IntEnumberation__Group__3__Impl : ( '}' ) ; public final void rule__IntEnumberation__Group__3__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8247:1: ( ( '}' ) ) - // InternalApplicationConfiguration.g:8248:1: ( '}' ) + // InternalApplicationConfiguration.g:7694:1: ( ( '}' ) ) + // InternalApplicationConfiguration.g:7695:1: ( '}' ) { - // InternalApplicationConfiguration.g:8248:1: ( '}' ) - // InternalApplicationConfiguration.g:8249:2: '}' + // InternalApplicationConfiguration.g:7695:1: ( '}' ) + // InternalApplicationConfiguration.g:7696:2: '}' { before(grammarAccess.getIntEnumberationAccess().getRightCurlyBracketKeyword_3()); - match(input,32,FOLLOW_2); + match(input,31,FOLLOW_2); after(grammarAccess.getIntEnumberationAccess().getRightCurlyBracketKeyword_3()); } @@ -25763,16 +24050,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__IntEnumberation__Group_2__0" - // InternalApplicationConfiguration.g:8259:1: rule__IntEnumberation__Group_2__0 : rule__IntEnumberation__Group_2__0__Impl rule__IntEnumberation__Group_2__1 ; + // InternalApplicationConfiguration.g:7706:1: rule__IntEnumberation__Group_2__0 : rule__IntEnumberation__Group_2__0__Impl rule__IntEnumberation__Group_2__1 ; public final void rule__IntEnumberation__Group_2__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8263:1: ( rule__IntEnumberation__Group_2__0__Impl rule__IntEnumberation__Group_2__1 ) - // InternalApplicationConfiguration.g:8264:2: rule__IntEnumberation__Group_2__0__Impl rule__IntEnumberation__Group_2__1 + // InternalApplicationConfiguration.g:7710:1: ( rule__IntEnumberation__Group_2__0__Impl rule__IntEnumberation__Group_2__1 ) + // InternalApplicationConfiguration.g:7711:2: rule__IntEnumberation__Group_2__0__Impl rule__IntEnumberation__Group_2__1 { - pushFollow(FOLLOW_28); + pushFollow(FOLLOW_26); rule__IntEnumberation__Group_2__0__Impl(); state._fsp--; @@ -25801,21 +24088,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__IntEnumberation__Group_2__0__Impl" - // InternalApplicationConfiguration.g:8271:1: rule__IntEnumberation__Group_2__0__Impl : ( ( rule__IntEnumberation__EntryAssignment_2_0 ) ) ; + // InternalApplicationConfiguration.g:7718:1: rule__IntEnumberation__Group_2__0__Impl : ( ( rule__IntEnumberation__EntryAssignment_2_0 ) ) ; public final void rule__IntEnumberation__Group_2__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8275:1: ( ( ( rule__IntEnumberation__EntryAssignment_2_0 ) ) ) - // InternalApplicationConfiguration.g:8276:1: ( ( rule__IntEnumberation__EntryAssignment_2_0 ) ) + // InternalApplicationConfiguration.g:7722:1: ( ( ( rule__IntEnumberation__EntryAssignment_2_0 ) ) ) + // InternalApplicationConfiguration.g:7723:1: ( ( rule__IntEnumberation__EntryAssignment_2_0 ) ) { - // InternalApplicationConfiguration.g:8276:1: ( ( rule__IntEnumberation__EntryAssignment_2_0 ) ) - // InternalApplicationConfiguration.g:8277:2: ( rule__IntEnumberation__EntryAssignment_2_0 ) + // InternalApplicationConfiguration.g:7723:1: ( ( rule__IntEnumberation__EntryAssignment_2_0 ) ) + // InternalApplicationConfiguration.g:7724:2: ( rule__IntEnumberation__EntryAssignment_2_0 ) { before(grammarAccess.getIntEnumberationAccess().getEntryAssignment_2_0()); - // InternalApplicationConfiguration.g:8278:2: ( rule__IntEnumberation__EntryAssignment_2_0 ) - // InternalApplicationConfiguration.g:8278:3: rule__IntEnumberation__EntryAssignment_2_0 + // InternalApplicationConfiguration.g:7725:2: ( rule__IntEnumberation__EntryAssignment_2_0 ) + // InternalApplicationConfiguration.g:7725:3: rule__IntEnumberation__EntryAssignment_2_0 { pushFollow(FOLLOW_2); rule__IntEnumberation__EntryAssignment_2_0(); @@ -25848,14 +24135,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__IntEnumberation__Group_2__1" - // InternalApplicationConfiguration.g:8286:1: rule__IntEnumberation__Group_2__1 : rule__IntEnumberation__Group_2__1__Impl ; + // InternalApplicationConfiguration.g:7733:1: rule__IntEnumberation__Group_2__1 : rule__IntEnumberation__Group_2__1__Impl ; public final void rule__IntEnumberation__Group_2__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8290:1: ( rule__IntEnumberation__Group_2__1__Impl ) - // InternalApplicationConfiguration.g:8291:2: rule__IntEnumberation__Group_2__1__Impl + // InternalApplicationConfiguration.g:7737:1: ( rule__IntEnumberation__Group_2__1__Impl ) + // InternalApplicationConfiguration.g:7738:2: rule__IntEnumberation__Group_2__1__Impl { pushFollow(FOLLOW_2); rule__IntEnumberation__Group_2__1__Impl(); @@ -25881,35 +24168,35 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__IntEnumberation__Group_2__1__Impl" - // InternalApplicationConfiguration.g:8297:1: rule__IntEnumberation__Group_2__1__Impl : ( ( rule__IntEnumberation__Group_2_1__0 )* ) ; + // InternalApplicationConfiguration.g:7744:1: rule__IntEnumberation__Group_2__1__Impl : ( ( rule__IntEnumberation__Group_2_1__0 )* ) ; public final void rule__IntEnumberation__Group_2__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8301:1: ( ( ( rule__IntEnumberation__Group_2_1__0 )* ) ) - // InternalApplicationConfiguration.g:8302:1: ( ( rule__IntEnumberation__Group_2_1__0 )* ) + // InternalApplicationConfiguration.g:7748:1: ( ( ( rule__IntEnumberation__Group_2_1__0 )* ) ) + // InternalApplicationConfiguration.g:7749:1: ( ( rule__IntEnumberation__Group_2_1__0 )* ) { - // InternalApplicationConfiguration.g:8302:1: ( ( rule__IntEnumberation__Group_2_1__0 )* ) - // InternalApplicationConfiguration.g:8303:2: ( rule__IntEnumberation__Group_2_1__0 )* + // InternalApplicationConfiguration.g:7749:1: ( ( rule__IntEnumberation__Group_2_1__0 )* ) + // InternalApplicationConfiguration.g:7750:2: ( rule__IntEnumberation__Group_2_1__0 )* { before(grammarAccess.getIntEnumberationAccess().getGroup_2_1()); - // InternalApplicationConfiguration.g:8304:2: ( rule__IntEnumberation__Group_2_1__0 )* - loop61: + // InternalApplicationConfiguration.g:7751:2: ( rule__IntEnumberation__Group_2_1__0 )* + loop57: do { - int alt61=2; - int LA61_0 = input.LA(1); + int alt57=2; + int LA57_0 = input.LA(1); - if ( (LA61_0==33) ) { - alt61=1; + if ( (LA57_0==32) ) { + alt57=1; } - switch (alt61) { + switch (alt57) { case 1 : - // InternalApplicationConfiguration.g:8304:3: rule__IntEnumberation__Group_2_1__0 + // InternalApplicationConfiguration.g:7751:3: rule__IntEnumberation__Group_2_1__0 { - pushFollow(FOLLOW_17); + pushFollow(FOLLOW_16); rule__IntEnumberation__Group_2_1__0(); state._fsp--; @@ -25919,7 +24206,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont break; default : - break loop61; + break loop57; } } while (true); @@ -25946,16 +24233,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__IntEnumberation__Group_2_1__0" - // InternalApplicationConfiguration.g:8313:1: rule__IntEnumberation__Group_2_1__0 : rule__IntEnumberation__Group_2_1__0__Impl rule__IntEnumberation__Group_2_1__1 ; + // InternalApplicationConfiguration.g:7760:1: rule__IntEnumberation__Group_2_1__0 : rule__IntEnumberation__Group_2_1__0__Impl rule__IntEnumberation__Group_2_1__1 ; public final void rule__IntEnumberation__Group_2_1__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8317:1: ( rule__IntEnumberation__Group_2_1__0__Impl rule__IntEnumberation__Group_2_1__1 ) - // InternalApplicationConfiguration.g:8318:2: rule__IntEnumberation__Group_2_1__0__Impl rule__IntEnumberation__Group_2_1__1 + // InternalApplicationConfiguration.g:7764:1: ( rule__IntEnumberation__Group_2_1__0__Impl rule__IntEnumberation__Group_2_1__1 ) + // InternalApplicationConfiguration.g:7765:2: rule__IntEnumberation__Group_2_1__0__Impl rule__IntEnumberation__Group_2_1__1 { - pushFollow(FOLLOW_25); + pushFollow(FOLLOW_24); rule__IntEnumberation__Group_2_1__0__Impl(); state._fsp--; @@ -25984,20 +24271,20 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__IntEnumberation__Group_2_1__0__Impl" - // InternalApplicationConfiguration.g:8325:1: rule__IntEnumberation__Group_2_1__0__Impl : ( ',' ) ; + // InternalApplicationConfiguration.g:7772:1: rule__IntEnumberation__Group_2_1__0__Impl : ( ',' ) ; public final void rule__IntEnumberation__Group_2_1__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8329:1: ( ( ',' ) ) - // InternalApplicationConfiguration.g:8330:1: ( ',' ) + // InternalApplicationConfiguration.g:7776:1: ( ( ',' ) ) + // InternalApplicationConfiguration.g:7777:1: ( ',' ) { - // InternalApplicationConfiguration.g:8330:1: ( ',' ) - // InternalApplicationConfiguration.g:8331:2: ',' + // InternalApplicationConfiguration.g:7777:1: ( ',' ) + // InternalApplicationConfiguration.g:7778:2: ',' { before(grammarAccess.getIntEnumberationAccess().getCommaKeyword_2_1_0()); - match(input,33,FOLLOW_2); + match(input,32,FOLLOW_2); after(grammarAccess.getIntEnumberationAccess().getCommaKeyword_2_1_0()); } @@ -26021,14 +24308,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__IntEnumberation__Group_2_1__1" - // InternalApplicationConfiguration.g:8340:1: rule__IntEnumberation__Group_2_1__1 : rule__IntEnumberation__Group_2_1__1__Impl ; + // InternalApplicationConfiguration.g:7787:1: rule__IntEnumberation__Group_2_1__1 : rule__IntEnumberation__Group_2_1__1__Impl ; public final void rule__IntEnumberation__Group_2_1__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8344:1: ( rule__IntEnumberation__Group_2_1__1__Impl ) - // InternalApplicationConfiguration.g:8345:2: rule__IntEnumberation__Group_2_1__1__Impl + // InternalApplicationConfiguration.g:7791:1: ( rule__IntEnumberation__Group_2_1__1__Impl ) + // InternalApplicationConfiguration.g:7792:2: rule__IntEnumberation__Group_2_1__1__Impl { pushFollow(FOLLOW_2); rule__IntEnumberation__Group_2_1__1__Impl(); @@ -26054,21 +24341,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__IntEnumberation__Group_2_1__1__Impl" - // InternalApplicationConfiguration.g:8351:1: rule__IntEnumberation__Group_2_1__1__Impl : ( ( rule__IntEnumberation__EntryAssignment_2_1_1 ) ) ; + // InternalApplicationConfiguration.g:7798:1: rule__IntEnumberation__Group_2_1__1__Impl : ( ( rule__IntEnumberation__EntryAssignment_2_1_1 ) ) ; public final void rule__IntEnumberation__Group_2_1__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8355:1: ( ( ( rule__IntEnumberation__EntryAssignment_2_1_1 ) ) ) - // InternalApplicationConfiguration.g:8356:1: ( ( rule__IntEnumberation__EntryAssignment_2_1_1 ) ) + // InternalApplicationConfiguration.g:7802:1: ( ( ( rule__IntEnumberation__EntryAssignment_2_1_1 ) ) ) + // InternalApplicationConfiguration.g:7803:1: ( ( rule__IntEnumberation__EntryAssignment_2_1_1 ) ) { - // InternalApplicationConfiguration.g:8356:1: ( ( rule__IntEnumberation__EntryAssignment_2_1_1 ) ) - // InternalApplicationConfiguration.g:8357:2: ( rule__IntEnumberation__EntryAssignment_2_1_1 ) + // InternalApplicationConfiguration.g:7803:1: ( ( rule__IntEnumberation__EntryAssignment_2_1_1 ) ) + // InternalApplicationConfiguration.g:7804:2: ( rule__IntEnumberation__EntryAssignment_2_1_1 ) { before(grammarAccess.getIntEnumberationAccess().getEntryAssignment_2_1_1()); - // InternalApplicationConfiguration.g:8358:2: ( rule__IntEnumberation__EntryAssignment_2_1_1 ) - // InternalApplicationConfiguration.g:8358:3: rule__IntEnumberation__EntryAssignment_2_1_1 + // InternalApplicationConfiguration.g:7805:2: ( rule__IntEnumberation__EntryAssignment_2_1_1 ) + // InternalApplicationConfiguration.g:7805:3: rule__IntEnumberation__EntryAssignment_2_1_1 { pushFollow(FOLLOW_2); rule__IntEnumberation__EntryAssignment_2_1_1(); @@ -26101,16 +24388,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__RealEnumeration__Group__0" - // InternalApplicationConfiguration.g:8367:1: rule__RealEnumeration__Group__0 : rule__RealEnumeration__Group__0__Impl rule__RealEnumeration__Group__1 ; + // InternalApplicationConfiguration.g:7814:1: rule__RealEnumeration__Group__0 : rule__RealEnumeration__Group__0__Impl rule__RealEnumeration__Group__1 ; public final void rule__RealEnumeration__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8371:1: ( rule__RealEnumeration__Group__0__Impl rule__RealEnumeration__Group__1 ) - // InternalApplicationConfiguration.g:8372:2: rule__RealEnumeration__Group__0__Impl rule__RealEnumeration__Group__1 + // InternalApplicationConfiguration.g:7818:1: ( rule__RealEnumeration__Group__0__Impl rule__RealEnumeration__Group__1 ) + // InternalApplicationConfiguration.g:7819:2: rule__RealEnumeration__Group__0__Impl rule__RealEnumeration__Group__1 { - pushFollow(FOLLOW_38); + pushFollow(FOLLOW_36); rule__RealEnumeration__Group__0__Impl(); state._fsp--; @@ -26139,21 +24426,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__RealEnumeration__Group__0__Impl" - // InternalApplicationConfiguration.g:8379:1: rule__RealEnumeration__Group__0__Impl : ( () ) ; + // InternalApplicationConfiguration.g:7826:1: rule__RealEnumeration__Group__0__Impl : ( () ) ; public final void rule__RealEnumeration__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8383:1: ( ( () ) ) - // InternalApplicationConfiguration.g:8384:1: ( () ) + // InternalApplicationConfiguration.g:7830:1: ( ( () ) ) + // InternalApplicationConfiguration.g:7831:1: ( () ) { - // InternalApplicationConfiguration.g:8384:1: ( () ) - // InternalApplicationConfiguration.g:8385:2: () + // InternalApplicationConfiguration.g:7831:1: ( () ) + // InternalApplicationConfiguration.g:7832:2: () { before(grammarAccess.getRealEnumerationAccess().getRealEnumerationAction_0()); - // InternalApplicationConfiguration.g:8386:2: () - // InternalApplicationConfiguration.g:8386:3: + // InternalApplicationConfiguration.g:7833:2: () + // InternalApplicationConfiguration.g:7833:3: { } @@ -26176,16 +24463,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__RealEnumeration__Group__1" - // InternalApplicationConfiguration.g:8394:1: rule__RealEnumeration__Group__1 : rule__RealEnumeration__Group__1__Impl rule__RealEnumeration__Group__2 ; + // InternalApplicationConfiguration.g:7841:1: rule__RealEnumeration__Group__1 : rule__RealEnumeration__Group__1__Impl rule__RealEnumeration__Group__2 ; public final void rule__RealEnumeration__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8398:1: ( rule__RealEnumeration__Group__1__Impl rule__RealEnumeration__Group__2 ) - // InternalApplicationConfiguration.g:8399:2: rule__RealEnumeration__Group__1__Impl rule__RealEnumeration__Group__2 + // InternalApplicationConfiguration.g:7845:1: ( rule__RealEnumeration__Group__1__Impl rule__RealEnumeration__Group__2 ) + // InternalApplicationConfiguration.g:7846:2: rule__RealEnumeration__Group__1__Impl rule__RealEnumeration__Group__2 { - pushFollow(FOLLOW_43); + pushFollow(FOLLOW_41); rule__RealEnumeration__Group__1__Impl(); state._fsp--; @@ -26214,20 +24501,20 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__RealEnumeration__Group__1__Impl" - // InternalApplicationConfiguration.g:8406:1: rule__RealEnumeration__Group__1__Impl : ( '{' ) ; + // InternalApplicationConfiguration.g:7853:1: rule__RealEnumeration__Group__1__Impl : ( '{' ) ; public final void rule__RealEnumeration__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8410:1: ( ( '{' ) ) - // InternalApplicationConfiguration.g:8411:1: ( '{' ) + // InternalApplicationConfiguration.g:7857:1: ( ( '{' ) ) + // InternalApplicationConfiguration.g:7858:1: ( '{' ) { - // InternalApplicationConfiguration.g:8411:1: ( '{' ) - // InternalApplicationConfiguration.g:8412:2: '{' + // InternalApplicationConfiguration.g:7858:1: ( '{' ) + // InternalApplicationConfiguration.g:7859:2: '{' { before(grammarAccess.getRealEnumerationAccess().getLeftCurlyBracketKeyword_1()); - match(input,31,FOLLOW_2); + match(input,30,FOLLOW_2); after(grammarAccess.getRealEnumerationAccess().getLeftCurlyBracketKeyword_1()); } @@ -26251,16 +24538,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__RealEnumeration__Group__2" - // InternalApplicationConfiguration.g:8421:1: rule__RealEnumeration__Group__2 : rule__RealEnumeration__Group__2__Impl rule__RealEnumeration__Group__3 ; + // InternalApplicationConfiguration.g:7868:1: rule__RealEnumeration__Group__2 : rule__RealEnumeration__Group__2__Impl rule__RealEnumeration__Group__3 ; public final void rule__RealEnumeration__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8425:1: ( rule__RealEnumeration__Group__2__Impl rule__RealEnumeration__Group__3 ) - // InternalApplicationConfiguration.g:8426:2: rule__RealEnumeration__Group__2__Impl rule__RealEnumeration__Group__3 + // InternalApplicationConfiguration.g:7872:1: ( rule__RealEnumeration__Group__2__Impl rule__RealEnumeration__Group__3 ) + // InternalApplicationConfiguration.g:7873:2: rule__RealEnumeration__Group__2__Impl rule__RealEnumeration__Group__3 { - pushFollow(FOLLOW_43); + pushFollow(FOLLOW_41); rule__RealEnumeration__Group__2__Impl(); state._fsp--; @@ -26289,29 +24576,29 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__RealEnumeration__Group__2__Impl" - // InternalApplicationConfiguration.g:8433:1: rule__RealEnumeration__Group__2__Impl : ( ( rule__RealEnumeration__Group_2__0 )? ) ; + // InternalApplicationConfiguration.g:7880:1: rule__RealEnumeration__Group__2__Impl : ( ( rule__RealEnumeration__Group_2__0 )? ) ; public final void rule__RealEnumeration__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8437:1: ( ( ( rule__RealEnumeration__Group_2__0 )? ) ) - // InternalApplicationConfiguration.g:8438:1: ( ( rule__RealEnumeration__Group_2__0 )? ) + // InternalApplicationConfiguration.g:7884:1: ( ( ( rule__RealEnumeration__Group_2__0 )? ) ) + // InternalApplicationConfiguration.g:7885:1: ( ( rule__RealEnumeration__Group_2__0 )? ) { - // InternalApplicationConfiguration.g:8438:1: ( ( rule__RealEnumeration__Group_2__0 )? ) - // InternalApplicationConfiguration.g:8439:2: ( rule__RealEnumeration__Group_2__0 )? + // InternalApplicationConfiguration.g:7885:1: ( ( rule__RealEnumeration__Group_2__0 )? ) + // InternalApplicationConfiguration.g:7886:2: ( rule__RealEnumeration__Group_2__0 )? { before(grammarAccess.getRealEnumerationAccess().getGroup_2()); - // InternalApplicationConfiguration.g:8440:2: ( rule__RealEnumeration__Group_2__0 )? - int alt62=2; - int LA62_0 = input.LA(1); + // InternalApplicationConfiguration.g:7887:2: ( rule__RealEnumeration__Group_2__0 )? + int alt58=2; + int LA58_0 = input.LA(1); - if ( (LA62_0==RULE_INT||LA62_0==24) ) { - alt62=1; + if ( (LA58_0==RULE_INT||LA58_0==24) ) { + alt58=1; } - switch (alt62) { + switch (alt58) { case 1 : - // InternalApplicationConfiguration.g:8440:3: rule__RealEnumeration__Group_2__0 + // InternalApplicationConfiguration.g:7887:3: rule__RealEnumeration__Group_2__0 { pushFollow(FOLLOW_2); rule__RealEnumeration__Group_2__0(); @@ -26347,14 +24634,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__RealEnumeration__Group__3" - // InternalApplicationConfiguration.g:8448:1: rule__RealEnumeration__Group__3 : rule__RealEnumeration__Group__3__Impl ; + // InternalApplicationConfiguration.g:7895:1: rule__RealEnumeration__Group__3 : rule__RealEnumeration__Group__3__Impl ; public final void rule__RealEnumeration__Group__3() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8452:1: ( rule__RealEnumeration__Group__3__Impl ) - // InternalApplicationConfiguration.g:8453:2: rule__RealEnumeration__Group__3__Impl + // InternalApplicationConfiguration.g:7899:1: ( rule__RealEnumeration__Group__3__Impl ) + // InternalApplicationConfiguration.g:7900:2: rule__RealEnumeration__Group__3__Impl { pushFollow(FOLLOW_2); rule__RealEnumeration__Group__3__Impl(); @@ -26380,20 +24667,20 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__RealEnumeration__Group__3__Impl" - // InternalApplicationConfiguration.g:8459:1: rule__RealEnumeration__Group__3__Impl : ( '}' ) ; + // InternalApplicationConfiguration.g:7906:1: rule__RealEnumeration__Group__3__Impl : ( '}' ) ; public final void rule__RealEnumeration__Group__3__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8463:1: ( ( '}' ) ) - // InternalApplicationConfiguration.g:8464:1: ( '}' ) + // InternalApplicationConfiguration.g:7910:1: ( ( '}' ) ) + // InternalApplicationConfiguration.g:7911:1: ( '}' ) { - // InternalApplicationConfiguration.g:8464:1: ( '}' ) - // InternalApplicationConfiguration.g:8465:2: '}' + // InternalApplicationConfiguration.g:7911:1: ( '}' ) + // InternalApplicationConfiguration.g:7912:2: '}' { before(grammarAccess.getRealEnumerationAccess().getRightCurlyBracketKeyword_3()); - match(input,32,FOLLOW_2); + match(input,31,FOLLOW_2); after(grammarAccess.getRealEnumerationAccess().getRightCurlyBracketKeyword_3()); } @@ -26417,16 +24704,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__RealEnumeration__Group_2__0" - // InternalApplicationConfiguration.g:8475:1: rule__RealEnumeration__Group_2__0 : rule__RealEnumeration__Group_2__0__Impl rule__RealEnumeration__Group_2__1 ; + // InternalApplicationConfiguration.g:7922:1: rule__RealEnumeration__Group_2__0 : rule__RealEnumeration__Group_2__0__Impl rule__RealEnumeration__Group_2__1 ; public final void rule__RealEnumeration__Group_2__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8479:1: ( rule__RealEnumeration__Group_2__0__Impl rule__RealEnumeration__Group_2__1 ) - // InternalApplicationConfiguration.g:8480:2: rule__RealEnumeration__Group_2__0__Impl rule__RealEnumeration__Group_2__1 + // InternalApplicationConfiguration.g:7926:1: ( rule__RealEnumeration__Group_2__0__Impl rule__RealEnumeration__Group_2__1 ) + // InternalApplicationConfiguration.g:7927:2: rule__RealEnumeration__Group_2__0__Impl rule__RealEnumeration__Group_2__1 { - pushFollow(FOLLOW_28); + pushFollow(FOLLOW_26); rule__RealEnumeration__Group_2__0__Impl(); state._fsp--; @@ -26455,21 +24742,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__RealEnumeration__Group_2__0__Impl" - // InternalApplicationConfiguration.g:8487:1: rule__RealEnumeration__Group_2__0__Impl : ( ( rule__RealEnumeration__EntryAssignment_2_0 ) ) ; + // InternalApplicationConfiguration.g:7934:1: rule__RealEnumeration__Group_2__0__Impl : ( ( rule__RealEnumeration__EntryAssignment_2_0 ) ) ; public final void rule__RealEnumeration__Group_2__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8491:1: ( ( ( rule__RealEnumeration__EntryAssignment_2_0 ) ) ) - // InternalApplicationConfiguration.g:8492:1: ( ( rule__RealEnumeration__EntryAssignment_2_0 ) ) + // InternalApplicationConfiguration.g:7938:1: ( ( ( rule__RealEnumeration__EntryAssignment_2_0 ) ) ) + // InternalApplicationConfiguration.g:7939:1: ( ( rule__RealEnumeration__EntryAssignment_2_0 ) ) { - // InternalApplicationConfiguration.g:8492:1: ( ( rule__RealEnumeration__EntryAssignment_2_0 ) ) - // InternalApplicationConfiguration.g:8493:2: ( rule__RealEnumeration__EntryAssignment_2_0 ) + // InternalApplicationConfiguration.g:7939:1: ( ( rule__RealEnumeration__EntryAssignment_2_0 ) ) + // InternalApplicationConfiguration.g:7940:2: ( rule__RealEnumeration__EntryAssignment_2_0 ) { before(grammarAccess.getRealEnumerationAccess().getEntryAssignment_2_0()); - // InternalApplicationConfiguration.g:8494:2: ( rule__RealEnumeration__EntryAssignment_2_0 ) - // InternalApplicationConfiguration.g:8494:3: rule__RealEnumeration__EntryAssignment_2_0 + // InternalApplicationConfiguration.g:7941:2: ( rule__RealEnumeration__EntryAssignment_2_0 ) + // InternalApplicationConfiguration.g:7941:3: rule__RealEnumeration__EntryAssignment_2_0 { pushFollow(FOLLOW_2); rule__RealEnumeration__EntryAssignment_2_0(); @@ -26502,14 +24789,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__RealEnumeration__Group_2__1" - // InternalApplicationConfiguration.g:8502:1: rule__RealEnumeration__Group_2__1 : rule__RealEnumeration__Group_2__1__Impl ; + // InternalApplicationConfiguration.g:7949:1: rule__RealEnumeration__Group_2__1 : rule__RealEnumeration__Group_2__1__Impl ; public final void rule__RealEnumeration__Group_2__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8506:1: ( rule__RealEnumeration__Group_2__1__Impl ) - // InternalApplicationConfiguration.g:8507:2: rule__RealEnumeration__Group_2__1__Impl + // InternalApplicationConfiguration.g:7953:1: ( rule__RealEnumeration__Group_2__1__Impl ) + // InternalApplicationConfiguration.g:7954:2: rule__RealEnumeration__Group_2__1__Impl { pushFollow(FOLLOW_2); rule__RealEnumeration__Group_2__1__Impl(); @@ -26535,35 +24822,35 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__RealEnumeration__Group_2__1__Impl" - // InternalApplicationConfiguration.g:8513:1: rule__RealEnumeration__Group_2__1__Impl : ( ( rule__RealEnumeration__Group_2_1__0 )* ) ; + // InternalApplicationConfiguration.g:7960:1: rule__RealEnumeration__Group_2__1__Impl : ( ( rule__RealEnumeration__Group_2_1__0 )* ) ; public final void rule__RealEnumeration__Group_2__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8517:1: ( ( ( rule__RealEnumeration__Group_2_1__0 )* ) ) - // InternalApplicationConfiguration.g:8518:1: ( ( rule__RealEnumeration__Group_2_1__0 )* ) + // InternalApplicationConfiguration.g:7964:1: ( ( ( rule__RealEnumeration__Group_2_1__0 )* ) ) + // InternalApplicationConfiguration.g:7965:1: ( ( rule__RealEnumeration__Group_2_1__0 )* ) { - // InternalApplicationConfiguration.g:8518:1: ( ( rule__RealEnumeration__Group_2_1__0 )* ) - // InternalApplicationConfiguration.g:8519:2: ( rule__RealEnumeration__Group_2_1__0 )* + // InternalApplicationConfiguration.g:7965:1: ( ( rule__RealEnumeration__Group_2_1__0 )* ) + // InternalApplicationConfiguration.g:7966:2: ( rule__RealEnumeration__Group_2_1__0 )* { before(grammarAccess.getRealEnumerationAccess().getGroup_2_1()); - // InternalApplicationConfiguration.g:8520:2: ( rule__RealEnumeration__Group_2_1__0 )* - loop63: + // InternalApplicationConfiguration.g:7967:2: ( rule__RealEnumeration__Group_2_1__0 )* + loop59: do { - int alt63=2; - int LA63_0 = input.LA(1); + int alt59=2; + int LA59_0 = input.LA(1); - if ( (LA63_0==33) ) { - alt63=1; + if ( (LA59_0==32) ) { + alt59=1; } - switch (alt63) { + switch (alt59) { case 1 : - // InternalApplicationConfiguration.g:8520:3: rule__RealEnumeration__Group_2_1__0 + // InternalApplicationConfiguration.g:7967:3: rule__RealEnumeration__Group_2_1__0 { - pushFollow(FOLLOW_17); + pushFollow(FOLLOW_16); rule__RealEnumeration__Group_2_1__0(); state._fsp--; @@ -26573,7 +24860,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont break; default : - break loop63; + break loop59; } } while (true); @@ -26600,16 +24887,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__RealEnumeration__Group_2_1__0" - // InternalApplicationConfiguration.g:8529:1: rule__RealEnumeration__Group_2_1__0 : rule__RealEnumeration__Group_2_1__0__Impl rule__RealEnumeration__Group_2_1__1 ; + // InternalApplicationConfiguration.g:7976:1: rule__RealEnumeration__Group_2_1__0 : rule__RealEnumeration__Group_2_1__0__Impl rule__RealEnumeration__Group_2_1__1 ; public final void rule__RealEnumeration__Group_2_1__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8533:1: ( rule__RealEnumeration__Group_2_1__0__Impl rule__RealEnumeration__Group_2_1__1 ) - // InternalApplicationConfiguration.g:8534:2: rule__RealEnumeration__Group_2_1__0__Impl rule__RealEnumeration__Group_2_1__1 + // InternalApplicationConfiguration.g:7980:1: ( rule__RealEnumeration__Group_2_1__0__Impl rule__RealEnumeration__Group_2_1__1 ) + // InternalApplicationConfiguration.g:7981:2: rule__RealEnumeration__Group_2_1__0__Impl rule__RealEnumeration__Group_2_1__1 { - pushFollow(FOLLOW_25); + pushFollow(FOLLOW_24); rule__RealEnumeration__Group_2_1__0__Impl(); state._fsp--; @@ -26638,20 +24925,20 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__RealEnumeration__Group_2_1__0__Impl" - // InternalApplicationConfiguration.g:8541:1: rule__RealEnumeration__Group_2_1__0__Impl : ( ',' ) ; + // InternalApplicationConfiguration.g:7988:1: rule__RealEnumeration__Group_2_1__0__Impl : ( ',' ) ; public final void rule__RealEnumeration__Group_2_1__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8545:1: ( ( ',' ) ) - // InternalApplicationConfiguration.g:8546:1: ( ',' ) + // InternalApplicationConfiguration.g:7992:1: ( ( ',' ) ) + // InternalApplicationConfiguration.g:7993:1: ( ',' ) { - // InternalApplicationConfiguration.g:8546:1: ( ',' ) - // InternalApplicationConfiguration.g:8547:2: ',' + // InternalApplicationConfiguration.g:7993:1: ( ',' ) + // InternalApplicationConfiguration.g:7994:2: ',' { before(grammarAccess.getRealEnumerationAccess().getCommaKeyword_2_1_0()); - match(input,33,FOLLOW_2); + match(input,32,FOLLOW_2); after(grammarAccess.getRealEnumerationAccess().getCommaKeyword_2_1_0()); } @@ -26675,14 +24962,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__RealEnumeration__Group_2_1__1" - // InternalApplicationConfiguration.g:8556:1: rule__RealEnumeration__Group_2_1__1 : rule__RealEnumeration__Group_2_1__1__Impl ; + // InternalApplicationConfiguration.g:8003:1: rule__RealEnumeration__Group_2_1__1 : rule__RealEnumeration__Group_2_1__1__Impl ; public final void rule__RealEnumeration__Group_2_1__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8560:1: ( rule__RealEnumeration__Group_2_1__1__Impl ) - // InternalApplicationConfiguration.g:8561:2: rule__RealEnumeration__Group_2_1__1__Impl + // InternalApplicationConfiguration.g:8007:1: ( rule__RealEnumeration__Group_2_1__1__Impl ) + // InternalApplicationConfiguration.g:8008:2: rule__RealEnumeration__Group_2_1__1__Impl { pushFollow(FOLLOW_2); rule__RealEnumeration__Group_2_1__1__Impl(); @@ -26708,21 +24995,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__RealEnumeration__Group_2_1__1__Impl" - // InternalApplicationConfiguration.g:8567:1: rule__RealEnumeration__Group_2_1__1__Impl : ( ( rule__RealEnumeration__EntryAssignment_2_1_1 ) ) ; + // InternalApplicationConfiguration.g:8014:1: rule__RealEnumeration__Group_2_1__1__Impl : ( ( rule__RealEnumeration__EntryAssignment_2_1_1 ) ) ; public final void rule__RealEnumeration__Group_2_1__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8571:1: ( ( ( rule__RealEnumeration__EntryAssignment_2_1_1 ) ) ) - // InternalApplicationConfiguration.g:8572:1: ( ( rule__RealEnumeration__EntryAssignment_2_1_1 ) ) + // InternalApplicationConfiguration.g:8018:1: ( ( ( rule__RealEnumeration__EntryAssignment_2_1_1 ) ) ) + // InternalApplicationConfiguration.g:8019:1: ( ( rule__RealEnumeration__EntryAssignment_2_1_1 ) ) { - // InternalApplicationConfiguration.g:8572:1: ( ( rule__RealEnumeration__EntryAssignment_2_1_1 ) ) - // InternalApplicationConfiguration.g:8573:2: ( rule__RealEnumeration__EntryAssignment_2_1_1 ) + // InternalApplicationConfiguration.g:8019:1: ( ( rule__RealEnumeration__EntryAssignment_2_1_1 ) ) + // InternalApplicationConfiguration.g:8020:2: ( rule__RealEnumeration__EntryAssignment_2_1_1 ) { before(grammarAccess.getRealEnumerationAccess().getEntryAssignment_2_1_1()); - // InternalApplicationConfiguration.g:8574:2: ( rule__RealEnumeration__EntryAssignment_2_1_1 ) - // InternalApplicationConfiguration.g:8574:3: rule__RealEnumeration__EntryAssignment_2_1_1 + // InternalApplicationConfiguration.g:8021:2: ( rule__RealEnumeration__EntryAssignment_2_1_1 ) + // InternalApplicationConfiguration.g:8021:3: rule__RealEnumeration__EntryAssignment_2_1_1 { pushFollow(FOLLOW_2); rule__RealEnumeration__EntryAssignment_2_1_1(); @@ -26755,16 +25042,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__StringEnumeration__Group__0" - // InternalApplicationConfiguration.g:8583:1: rule__StringEnumeration__Group__0 : rule__StringEnumeration__Group__0__Impl rule__StringEnumeration__Group__1 ; + // InternalApplicationConfiguration.g:8030:1: rule__StringEnumeration__Group__0 : rule__StringEnumeration__Group__0__Impl rule__StringEnumeration__Group__1 ; public final void rule__StringEnumeration__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8587:1: ( rule__StringEnumeration__Group__0__Impl rule__StringEnumeration__Group__1 ) - // InternalApplicationConfiguration.g:8588:2: rule__StringEnumeration__Group__0__Impl rule__StringEnumeration__Group__1 + // InternalApplicationConfiguration.g:8034:1: ( rule__StringEnumeration__Group__0__Impl rule__StringEnumeration__Group__1 ) + // InternalApplicationConfiguration.g:8035:2: rule__StringEnumeration__Group__0__Impl rule__StringEnumeration__Group__1 { - pushFollow(FOLLOW_38); + pushFollow(FOLLOW_36); rule__StringEnumeration__Group__0__Impl(); state._fsp--; @@ -26793,21 +25080,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__StringEnumeration__Group__0__Impl" - // InternalApplicationConfiguration.g:8595:1: rule__StringEnumeration__Group__0__Impl : ( () ) ; + // InternalApplicationConfiguration.g:8042:1: rule__StringEnumeration__Group__0__Impl : ( () ) ; public final void rule__StringEnumeration__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8599:1: ( ( () ) ) - // InternalApplicationConfiguration.g:8600:1: ( () ) + // InternalApplicationConfiguration.g:8046:1: ( ( () ) ) + // InternalApplicationConfiguration.g:8047:1: ( () ) { - // InternalApplicationConfiguration.g:8600:1: ( () ) - // InternalApplicationConfiguration.g:8601:2: () + // InternalApplicationConfiguration.g:8047:1: ( () ) + // InternalApplicationConfiguration.g:8048:2: () { before(grammarAccess.getStringEnumerationAccess().getStringEnumerationAction_0()); - // InternalApplicationConfiguration.g:8602:2: () - // InternalApplicationConfiguration.g:8602:3: + // InternalApplicationConfiguration.g:8049:2: () + // InternalApplicationConfiguration.g:8049:3: { } @@ -26830,16 +25117,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__StringEnumeration__Group__1" - // InternalApplicationConfiguration.g:8610:1: rule__StringEnumeration__Group__1 : rule__StringEnumeration__Group__1__Impl rule__StringEnumeration__Group__2 ; + // InternalApplicationConfiguration.g:8057:1: rule__StringEnumeration__Group__1 : rule__StringEnumeration__Group__1__Impl rule__StringEnumeration__Group__2 ; public final void rule__StringEnumeration__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8614:1: ( rule__StringEnumeration__Group__1__Impl rule__StringEnumeration__Group__2 ) - // InternalApplicationConfiguration.g:8615:2: rule__StringEnumeration__Group__1__Impl rule__StringEnumeration__Group__2 + // InternalApplicationConfiguration.g:8061:1: ( rule__StringEnumeration__Group__1__Impl rule__StringEnumeration__Group__2 ) + // InternalApplicationConfiguration.g:8062:2: rule__StringEnumeration__Group__1__Impl rule__StringEnumeration__Group__2 { - pushFollow(FOLLOW_44); + pushFollow(FOLLOW_42); rule__StringEnumeration__Group__1__Impl(); state._fsp--; @@ -26868,20 +25155,20 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__StringEnumeration__Group__1__Impl" - // InternalApplicationConfiguration.g:8622:1: rule__StringEnumeration__Group__1__Impl : ( '{' ) ; + // InternalApplicationConfiguration.g:8069:1: rule__StringEnumeration__Group__1__Impl : ( '{' ) ; public final void rule__StringEnumeration__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8626:1: ( ( '{' ) ) - // InternalApplicationConfiguration.g:8627:1: ( '{' ) + // InternalApplicationConfiguration.g:8073:1: ( ( '{' ) ) + // InternalApplicationConfiguration.g:8074:1: ( '{' ) { - // InternalApplicationConfiguration.g:8627:1: ( '{' ) - // InternalApplicationConfiguration.g:8628:2: '{' + // InternalApplicationConfiguration.g:8074:1: ( '{' ) + // InternalApplicationConfiguration.g:8075:2: '{' { before(grammarAccess.getStringEnumerationAccess().getLeftCurlyBracketKeyword_1()); - match(input,31,FOLLOW_2); + match(input,30,FOLLOW_2); after(grammarAccess.getStringEnumerationAccess().getLeftCurlyBracketKeyword_1()); } @@ -26905,16 +25192,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__StringEnumeration__Group__2" - // InternalApplicationConfiguration.g:8637:1: rule__StringEnumeration__Group__2 : rule__StringEnumeration__Group__2__Impl rule__StringEnumeration__Group__3 ; + // InternalApplicationConfiguration.g:8084:1: rule__StringEnumeration__Group__2 : rule__StringEnumeration__Group__2__Impl rule__StringEnumeration__Group__3 ; public final void rule__StringEnumeration__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8641:1: ( rule__StringEnumeration__Group__2__Impl rule__StringEnumeration__Group__3 ) - // InternalApplicationConfiguration.g:8642:2: rule__StringEnumeration__Group__2__Impl rule__StringEnumeration__Group__3 + // InternalApplicationConfiguration.g:8088:1: ( rule__StringEnumeration__Group__2__Impl rule__StringEnumeration__Group__3 ) + // InternalApplicationConfiguration.g:8089:2: rule__StringEnumeration__Group__2__Impl rule__StringEnumeration__Group__3 { - pushFollow(FOLLOW_44); + pushFollow(FOLLOW_42); rule__StringEnumeration__Group__2__Impl(); state._fsp--; @@ -26943,29 +25230,29 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__StringEnumeration__Group__2__Impl" - // InternalApplicationConfiguration.g:8649:1: rule__StringEnumeration__Group__2__Impl : ( ( rule__StringEnumeration__Group_2__0 )? ) ; + // InternalApplicationConfiguration.g:8096:1: rule__StringEnumeration__Group__2__Impl : ( ( rule__StringEnumeration__Group_2__0 )? ) ; public final void rule__StringEnumeration__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8653:1: ( ( ( rule__StringEnumeration__Group_2__0 )? ) ) - // InternalApplicationConfiguration.g:8654:1: ( ( rule__StringEnumeration__Group_2__0 )? ) + // InternalApplicationConfiguration.g:8100:1: ( ( ( rule__StringEnumeration__Group_2__0 )? ) ) + // InternalApplicationConfiguration.g:8101:1: ( ( rule__StringEnumeration__Group_2__0 )? ) { - // InternalApplicationConfiguration.g:8654:1: ( ( rule__StringEnumeration__Group_2__0 )? ) - // InternalApplicationConfiguration.g:8655:2: ( rule__StringEnumeration__Group_2__0 )? + // InternalApplicationConfiguration.g:8101:1: ( ( rule__StringEnumeration__Group_2__0 )? ) + // InternalApplicationConfiguration.g:8102:2: ( rule__StringEnumeration__Group_2__0 )? { before(grammarAccess.getStringEnumerationAccess().getGroup_2()); - // InternalApplicationConfiguration.g:8656:2: ( rule__StringEnumeration__Group_2__0 )? - int alt64=2; - int LA64_0 = input.LA(1); + // InternalApplicationConfiguration.g:8103:2: ( rule__StringEnumeration__Group_2__0 )? + int alt60=2; + int LA60_0 = input.LA(1); - if ( (LA64_0==RULE_STRING) ) { - alt64=1; + if ( (LA60_0==RULE_STRING) ) { + alt60=1; } - switch (alt64) { + switch (alt60) { case 1 : - // InternalApplicationConfiguration.g:8656:3: rule__StringEnumeration__Group_2__0 + // InternalApplicationConfiguration.g:8103:3: rule__StringEnumeration__Group_2__0 { pushFollow(FOLLOW_2); rule__StringEnumeration__Group_2__0(); @@ -27001,14 +25288,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__StringEnumeration__Group__3" - // InternalApplicationConfiguration.g:8664:1: rule__StringEnumeration__Group__3 : rule__StringEnumeration__Group__3__Impl ; + // InternalApplicationConfiguration.g:8111:1: rule__StringEnumeration__Group__3 : rule__StringEnumeration__Group__3__Impl ; public final void rule__StringEnumeration__Group__3() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8668:1: ( rule__StringEnumeration__Group__3__Impl ) - // InternalApplicationConfiguration.g:8669:2: rule__StringEnumeration__Group__3__Impl + // InternalApplicationConfiguration.g:8115:1: ( rule__StringEnumeration__Group__3__Impl ) + // InternalApplicationConfiguration.g:8116:2: rule__StringEnumeration__Group__3__Impl { pushFollow(FOLLOW_2); rule__StringEnumeration__Group__3__Impl(); @@ -27034,20 +25321,20 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__StringEnumeration__Group__3__Impl" - // InternalApplicationConfiguration.g:8675:1: rule__StringEnumeration__Group__3__Impl : ( '}' ) ; + // InternalApplicationConfiguration.g:8122:1: rule__StringEnumeration__Group__3__Impl : ( '}' ) ; public final void rule__StringEnumeration__Group__3__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8679:1: ( ( '}' ) ) - // InternalApplicationConfiguration.g:8680:1: ( '}' ) + // InternalApplicationConfiguration.g:8126:1: ( ( '}' ) ) + // InternalApplicationConfiguration.g:8127:1: ( '}' ) { - // InternalApplicationConfiguration.g:8680:1: ( '}' ) - // InternalApplicationConfiguration.g:8681:2: '}' + // InternalApplicationConfiguration.g:8127:1: ( '}' ) + // InternalApplicationConfiguration.g:8128:2: '}' { before(grammarAccess.getStringEnumerationAccess().getRightCurlyBracketKeyword_3()); - match(input,32,FOLLOW_2); + match(input,31,FOLLOW_2); after(grammarAccess.getStringEnumerationAccess().getRightCurlyBracketKeyword_3()); } @@ -27071,16 +25358,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__StringEnumeration__Group_2__0" - // InternalApplicationConfiguration.g:8691:1: rule__StringEnumeration__Group_2__0 : rule__StringEnumeration__Group_2__0__Impl rule__StringEnumeration__Group_2__1 ; + // InternalApplicationConfiguration.g:8138:1: rule__StringEnumeration__Group_2__0 : rule__StringEnumeration__Group_2__0__Impl rule__StringEnumeration__Group_2__1 ; public final void rule__StringEnumeration__Group_2__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8695:1: ( rule__StringEnumeration__Group_2__0__Impl rule__StringEnumeration__Group_2__1 ) - // InternalApplicationConfiguration.g:8696:2: rule__StringEnumeration__Group_2__0__Impl rule__StringEnumeration__Group_2__1 + // InternalApplicationConfiguration.g:8142:1: ( rule__StringEnumeration__Group_2__0__Impl rule__StringEnumeration__Group_2__1 ) + // InternalApplicationConfiguration.g:8143:2: rule__StringEnumeration__Group_2__0__Impl rule__StringEnumeration__Group_2__1 { - pushFollow(FOLLOW_28); + pushFollow(FOLLOW_26); rule__StringEnumeration__Group_2__0__Impl(); state._fsp--; @@ -27109,21 +25396,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__StringEnumeration__Group_2__0__Impl" - // InternalApplicationConfiguration.g:8703:1: rule__StringEnumeration__Group_2__0__Impl : ( ( rule__StringEnumeration__EntryAssignment_2_0 ) ) ; + // InternalApplicationConfiguration.g:8150:1: rule__StringEnumeration__Group_2__0__Impl : ( ( rule__StringEnumeration__EntryAssignment_2_0 ) ) ; public final void rule__StringEnumeration__Group_2__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8707:1: ( ( ( rule__StringEnumeration__EntryAssignment_2_0 ) ) ) - // InternalApplicationConfiguration.g:8708:1: ( ( rule__StringEnumeration__EntryAssignment_2_0 ) ) + // InternalApplicationConfiguration.g:8154:1: ( ( ( rule__StringEnumeration__EntryAssignment_2_0 ) ) ) + // InternalApplicationConfiguration.g:8155:1: ( ( rule__StringEnumeration__EntryAssignment_2_0 ) ) { - // InternalApplicationConfiguration.g:8708:1: ( ( rule__StringEnumeration__EntryAssignment_2_0 ) ) - // InternalApplicationConfiguration.g:8709:2: ( rule__StringEnumeration__EntryAssignment_2_0 ) + // InternalApplicationConfiguration.g:8155:1: ( ( rule__StringEnumeration__EntryAssignment_2_0 ) ) + // InternalApplicationConfiguration.g:8156:2: ( rule__StringEnumeration__EntryAssignment_2_0 ) { before(grammarAccess.getStringEnumerationAccess().getEntryAssignment_2_0()); - // InternalApplicationConfiguration.g:8710:2: ( rule__StringEnumeration__EntryAssignment_2_0 ) - // InternalApplicationConfiguration.g:8710:3: rule__StringEnumeration__EntryAssignment_2_0 + // InternalApplicationConfiguration.g:8157:2: ( rule__StringEnumeration__EntryAssignment_2_0 ) + // InternalApplicationConfiguration.g:8157:3: rule__StringEnumeration__EntryAssignment_2_0 { pushFollow(FOLLOW_2); rule__StringEnumeration__EntryAssignment_2_0(); @@ -27156,14 +25443,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__StringEnumeration__Group_2__1" - // InternalApplicationConfiguration.g:8718:1: rule__StringEnumeration__Group_2__1 : rule__StringEnumeration__Group_2__1__Impl ; + // InternalApplicationConfiguration.g:8165:1: rule__StringEnumeration__Group_2__1 : rule__StringEnumeration__Group_2__1__Impl ; public final void rule__StringEnumeration__Group_2__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8722:1: ( rule__StringEnumeration__Group_2__1__Impl ) - // InternalApplicationConfiguration.g:8723:2: rule__StringEnumeration__Group_2__1__Impl + // InternalApplicationConfiguration.g:8169:1: ( rule__StringEnumeration__Group_2__1__Impl ) + // InternalApplicationConfiguration.g:8170:2: rule__StringEnumeration__Group_2__1__Impl { pushFollow(FOLLOW_2); rule__StringEnumeration__Group_2__1__Impl(); @@ -27189,35 +25476,35 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__StringEnumeration__Group_2__1__Impl" - // InternalApplicationConfiguration.g:8729:1: rule__StringEnumeration__Group_2__1__Impl : ( ( rule__StringEnumeration__Group_2_1__0 )* ) ; + // InternalApplicationConfiguration.g:8176:1: rule__StringEnumeration__Group_2__1__Impl : ( ( rule__StringEnumeration__Group_2_1__0 )* ) ; public final void rule__StringEnumeration__Group_2__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8733:1: ( ( ( rule__StringEnumeration__Group_2_1__0 )* ) ) - // InternalApplicationConfiguration.g:8734:1: ( ( rule__StringEnumeration__Group_2_1__0 )* ) + // InternalApplicationConfiguration.g:8180:1: ( ( ( rule__StringEnumeration__Group_2_1__0 )* ) ) + // InternalApplicationConfiguration.g:8181:1: ( ( rule__StringEnumeration__Group_2_1__0 )* ) { - // InternalApplicationConfiguration.g:8734:1: ( ( rule__StringEnumeration__Group_2_1__0 )* ) - // InternalApplicationConfiguration.g:8735:2: ( rule__StringEnumeration__Group_2_1__0 )* + // InternalApplicationConfiguration.g:8181:1: ( ( rule__StringEnumeration__Group_2_1__0 )* ) + // InternalApplicationConfiguration.g:8182:2: ( rule__StringEnumeration__Group_2_1__0 )* { before(grammarAccess.getStringEnumerationAccess().getGroup_2_1()); - // InternalApplicationConfiguration.g:8736:2: ( rule__StringEnumeration__Group_2_1__0 )* - loop65: + // InternalApplicationConfiguration.g:8183:2: ( rule__StringEnumeration__Group_2_1__0 )* + loop61: do { - int alt65=2; - int LA65_0 = input.LA(1); + int alt61=2; + int LA61_0 = input.LA(1); - if ( (LA65_0==33) ) { - alt65=1; + if ( (LA61_0==32) ) { + alt61=1; } - switch (alt65) { + switch (alt61) { case 1 : - // InternalApplicationConfiguration.g:8736:3: rule__StringEnumeration__Group_2_1__0 + // InternalApplicationConfiguration.g:8183:3: rule__StringEnumeration__Group_2_1__0 { - pushFollow(FOLLOW_17); + pushFollow(FOLLOW_16); rule__StringEnumeration__Group_2_1__0(); state._fsp--; @@ -27227,7 +25514,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont break; default : - break loop65; + break loop61; } } while (true); @@ -27254,14 +25541,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__StringEnumeration__Group_2_1__0" - // InternalApplicationConfiguration.g:8745:1: rule__StringEnumeration__Group_2_1__0 : rule__StringEnumeration__Group_2_1__0__Impl rule__StringEnumeration__Group_2_1__1 ; + // InternalApplicationConfiguration.g:8192:1: rule__StringEnumeration__Group_2_1__0 : rule__StringEnumeration__Group_2_1__0__Impl rule__StringEnumeration__Group_2_1__1 ; public final void rule__StringEnumeration__Group_2_1__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8749:1: ( rule__StringEnumeration__Group_2_1__0__Impl rule__StringEnumeration__Group_2_1__1 ) - // InternalApplicationConfiguration.g:8750:2: rule__StringEnumeration__Group_2_1__0__Impl rule__StringEnumeration__Group_2_1__1 + // InternalApplicationConfiguration.g:8196:1: ( rule__StringEnumeration__Group_2_1__0__Impl rule__StringEnumeration__Group_2_1__1 ) + // InternalApplicationConfiguration.g:8197:2: rule__StringEnumeration__Group_2_1__0__Impl rule__StringEnumeration__Group_2_1__1 { pushFollow(FOLLOW_11); rule__StringEnumeration__Group_2_1__0__Impl(); @@ -27292,20 +25579,20 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__StringEnumeration__Group_2_1__0__Impl" - // InternalApplicationConfiguration.g:8757:1: rule__StringEnumeration__Group_2_1__0__Impl : ( ',' ) ; + // InternalApplicationConfiguration.g:8204:1: rule__StringEnumeration__Group_2_1__0__Impl : ( ',' ) ; public final void rule__StringEnumeration__Group_2_1__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8761:1: ( ( ',' ) ) - // InternalApplicationConfiguration.g:8762:1: ( ',' ) + // InternalApplicationConfiguration.g:8208:1: ( ( ',' ) ) + // InternalApplicationConfiguration.g:8209:1: ( ',' ) { - // InternalApplicationConfiguration.g:8762:1: ( ',' ) - // InternalApplicationConfiguration.g:8763:2: ',' + // InternalApplicationConfiguration.g:8209:1: ( ',' ) + // InternalApplicationConfiguration.g:8210:2: ',' { before(grammarAccess.getStringEnumerationAccess().getCommaKeyword_2_1_0()); - match(input,33,FOLLOW_2); + match(input,32,FOLLOW_2); after(grammarAccess.getStringEnumerationAccess().getCommaKeyword_2_1_0()); } @@ -27329,14 +25616,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__StringEnumeration__Group_2_1__1" - // InternalApplicationConfiguration.g:8772:1: rule__StringEnumeration__Group_2_1__1 : rule__StringEnumeration__Group_2_1__1__Impl ; + // InternalApplicationConfiguration.g:8219:1: rule__StringEnumeration__Group_2_1__1 : rule__StringEnumeration__Group_2_1__1__Impl ; public final void rule__StringEnumeration__Group_2_1__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8776:1: ( rule__StringEnumeration__Group_2_1__1__Impl ) - // InternalApplicationConfiguration.g:8777:2: rule__StringEnumeration__Group_2_1__1__Impl + // InternalApplicationConfiguration.g:8223:1: ( rule__StringEnumeration__Group_2_1__1__Impl ) + // InternalApplicationConfiguration.g:8224:2: rule__StringEnumeration__Group_2_1__1__Impl { pushFollow(FOLLOW_2); rule__StringEnumeration__Group_2_1__1__Impl(); @@ -27362,21 +25649,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__StringEnumeration__Group_2_1__1__Impl" - // InternalApplicationConfiguration.g:8783:1: rule__StringEnumeration__Group_2_1__1__Impl : ( ( rule__StringEnumeration__EntryAssignment_2_1_1 ) ) ; + // InternalApplicationConfiguration.g:8230:1: rule__StringEnumeration__Group_2_1__1__Impl : ( ( rule__StringEnumeration__EntryAssignment_2_1_1 ) ) ; public final void rule__StringEnumeration__Group_2_1__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8787:1: ( ( ( rule__StringEnumeration__EntryAssignment_2_1_1 ) ) ) - // InternalApplicationConfiguration.g:8788:1: ( ( rule__StringEnumeration__EntryAssignment_2_1_1 ) ) + // InternalApplicationConfiguration.g:8234:1: ( ( ( rule__StringEnumeration__EntryAssignment_2_1_1 ) ) ) + // InternalApplicationConfiguration.g:8235:1: ( ( rule__StringEnumeration__EntryAssignment_2_1_1 ) ) { - // InternalApplicationConfiguration.g:8788:1: ( ( rule__StringEnumeration__EntryAssignment_2_1_1 ) ) - // InternalApplicationConfiguration.g:8789:2: ( rule__StringEnumeration__EntryAssignment_2_1_1 ) + // InternalApplicationConfiguration.g:8235:1: ( ( rule__StringEnumeration__EntryAssignment_2_1_1 ) ) + // InternalApplicationConfiguration.g:8236:2: ( rule__StringEnumeration__EntryAssignment_2_1_1 ) { before(grammarAccess.getStringEnumerationAccess().getEntryAssignment_2_1_1()); - // InternalApplicationConfiguration.g:8790:2: ( rule__StringEnumeration__EntryAssignment_2_1_1 ) - // InternalApplicationConfiguration.g:8790:3: rule__StringEnumeration__EntryAssignment_2_1_1 + // InternalApplicationConfiguration.g:8237:2: ( rule__StringEnumeration__EntryAssignment_2_1_1 ) + // InternalApplicationConfiguration.g:8237:3: rule__StringEnumeration__EntryAssignment_2_1_1 { pushFollow(FOLLOW_2); rule__StringEnumeration__EntryAssignment_2_1_1(); @@ -27409,14 +25696,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ScopeDeclaration__Group__0" - // InternalApplicationConfiguration.g:8799:1: rule__ScopeDeclaration__Group__0 : rule__ScopeDeclaration__Group__0__Impl rule__ScopeDeclaration__Group__1 ; + // InternalApplicationConfiguration.g:8246:1: rule__ScopeDeclaration__Group__0 : rule__ScopeDeclaration__Group__0__Impl rule__ScopeDeclaration__Group__1 ; public final void rule__ScopeDeclaration__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8803:1: ( rule__ScopeDeclaration__Group__0__Impl rule__ScopeDeclaration__Group__1 ) - // InternalApplicationConfiguration.g:8804:2: rule__ScopeDeclaration__Group__0__Impl rule__ScopeDeclaration__Group__1 + // InternalApplicationConfiguration.g:8250:1: ( rule__ScopeDeclaration__Group__0__Impl rule__ScopeDeclaration__Group__1 ) + // InternalApplicationConfiguration.g:8251:2: rule__ScopeDeclaration__Group__0__Impl rule__ScopeDeclaration__Group__1 { pushFollow(FOLLOW_8); rule__ScopeDeclaration__Group__0__Impl(); @@ -27447,20 +25734,20 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ScopeDeclaration__Group__0__Impl" - // InternalApplicationConfiguration.g:8811:1: rule__ScopeDeclaration__Group__0__Impl : ( 'scope' ) ; + // InternalApplicationConfiguration.g:8258:1: rule__ScopeDeclaration__Group__0__Impl : ( 'scope' ) ; public final void rule__ScopeDeclaration__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8815:1: ( ( 'scope' ) ) - // InternalApplicationConfiguration.g:8816:1: ( 'scope' ) + // InternalApplicationConfiguration.g:8262:1: ( ( 'scope' ) ) + // InternalApplicationConfiguration.g:8263:1: ( 'scope' ) { - // InternalApplicationConfiguration.g:8816:1: ( 'scope' ) - // InternalApplicationConfiguration.g:8817:2: 'scope' + // InternalApplicationConfiguration.g:8263:1: ( 'scope' ) + // InternalApplicationConfiguration.g:8264:2: 'scope' { before(grammarAccess.getScopeDeclarationAccess().getScopeKeyword_0()); - match(input,55,FOLLOW_2); + match(input,52,FOLLOW_2); after(grammarAccess.getScopeDeclarationAccess().getScopeKeyword_0()); } @@ -27484,16 +25771,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ScopeDeclaration__Group__1" - // InternalApplicationConfiguration.g:8826:1: rule__ScopeDeclaration__Group__1 : rule__ScopeDeclaration__Group__1__Impl rule__ScopeDeclaration__Group__2 ; + // InternalApplicationConfiguration.g:8273:1: rule__ScopeDeclaration__Group__1 : rule__ScopeDeclaration__Group__1__Impl rule__ScopeDeclaration__Group__2 ; public final void rule__ScopeDeclaration__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8830:1: ( rule__ScopeDeclaration__Group__1__Impl rule__ScopeDeclaration__Group__2 ) - // InternalApplicationConfiguration.g:8831:2: rule__ScopeDeclaration__Group__1__Impl rule__ScopeDeclaration__Group__2 + // InternalApplicationConfiguration.g:8277:1: ( rule__ScopeDeclaration__Group__1__Impl rule__ScopeDeclaration__Group__2 ) + // InternalApplicationConfiguration.g:8278:2: rule__ScopeDeclaration__Group__1__Impl rule__ScopeDeclaration__Group__2 { - pushFollow(FOLLOW_19); + pushFollow(FOLLOW_18); rule__ScopeDeclaration__Group__1__Impl(); state._fsp--; @@ -27522,21 +25809,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ScopeDeclaration__Group__1__Impl" - // InternalApplicationConfiguration.g:8838:1: rule__ScopeDeclaration__Group__1__Impl : ( ( rule__ScopeDeclaration__NameAssignment_1 ) ) ; + // InternalApplicationConfiguration.g:8285:1: rule__ScopeDeclaration__Group__1__Impl : ( ( rule__ScopeDeclaration__NameAssignment_1 ) ) ; public final void rule__ScopeDeclaration__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8842:1: ( ( ( rule__ScopeDeclaration__NameAssignment_1 ) ) ) - // InternalApplicationConfiguration.g:8843:1: ( ( rule__ScopeDeclaration__NameAssignment_1 ) ) + // InternalApplicationConfiguration.g:8289:1: ( ( ( rule__ScopeDeclaration__NameAssignment_1 ) ) ) + // InternalApplicationConfiguration.g:8290:1: ( ( rule__ScopeDeclaration__NameAssignment_1 ) ) { - // InternalApplicationConfiguration.g:8843:1: ( ( rule__ScopeDeclaration__NameAssignment_1 ) ) - // InternalApplicationConfiguration.g:8844:2: ( rule__ScopeDeclaration__NameAssignment_1 ) + // InternalApplicationConfiguration.g:8290:1: ( ( rule__ScopeDeclaration__NameAssignment_1 ) ) + // InternalApplicationConfiguration.g:8291:2: ( rule__ScopeDeclaration__NameAssignment_1 ) { before(grammarAccess.getScopeDeclarationAccess().getNameAssignment_1()); - // InternalApplicationConfiguration.g:8845:2: ( rule__ScopeDeclaration__NameAssignment_1 ) - // InternalApplicationConfiguration.g:8845:3: rule__ScopeDeclaration__NameAssignment_1 + // InternalApplicationConfiguration.g:8292:2: ( rule__ScopeDeclaration__NameAssignment_1 ) + // InternalApplicationConfiguration.g:8292:3: rule__ScopeDeclaration__NameAssignment_1 { pushFollow(FOLLOW_2); rule__ScopeDeclaration__NameAssignment_1(); @@ -27569,14 +25856,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ScopeDeclaration__Group__2" - // InternalApplicationConfiguration.g:8853:1: rule__ScopeDeclaration__Group__2 : rule__ScopeDeclaration__Group__2__Impl ; + // InternalApplicationConfiguration.g:8300:1: rule__ScopeDeclaration__Group__2 : rule__ScopeDeclaration__Group__2__Impl ; public final void rule__ScopeDeclaration__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8857:1: ( rule__ScopeDeclaration__Group__2__Impl ) - // InternalApplicationConfiguration.g:8858:2: rule__ScopeDeclaration__Group__2__Impl + // InternalApplicationConfiguration.g:8304:1: ( rule__ScopeDeclaration__Group__2__Impl ) + // InternalApplicationConfiguration.g:8305:2: rule__ScopeDeclaration__Group__2__Impl { pushFollow(FOLLOW_2); rule__ScopeDeclaration__Group__2__Impl(); @@ -27602,21 +25889,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ScopeDeclaration__Group__2__Impl" - // InternalApplicationConfiguration.g:8864:1: rule__ScopeDeclaration__Group__2__Impl : ( ( rule__ScopeDeclaration__SpecificationAssignment_2 ) ) ; + // InternalApplicationConfiguration.g:8311:1: rule__ScopeDeclaration__Group__2__Impl : ( ( rule__ScopeDeclaration__SpecificationAssignment_2 ) ) ; public final void rule__ScopeDeclaration__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8868:1: ( ( ( rule__ScopeDeclaration__SpecificationAssignment_2 ) ) ) - // InternalApplicationConfiguration.g:8869:1: ( ( rule__ScopeDeclaration__SpecificationAssignment_2 ) ) + // InternalApplicationConfiguration.g:8315:1: ( ( ( rule__ScopeDeclaration__SpecificationAssignment_2 ) ) ) + // InternalApplicationConfiguration.g:8316:1: ( ( rule__ScopeDeclaration__SpecificationAssignment_2 ) ) { - // InternalApplicationConfiguration.g:8869:1: ( ( rule__ScopeDeclaration__SpecificationAssignment_2 ) ) - // InternalApplicationConfiguration.g:8870:2: ( rule__ScopeDeclaration__SpecificationAssignment_2 ) + // InternalApplicationConfiguration.g:8316:1: ( ( rule__ScopeDeclaration__SpecificationAssignment_2 ) ) + // InternalApplicationConfiguration.g:8317:2: ( rule__ScopeDeclaration__SpecificationAssignment_2 ) { before(grammarAccess.getScopeDeclarationAccess().getSpecificationAssignment_2()); - // InternalApplicationConfiguration.g:8871:2: ( rule__ScopeDeclaration__SpecificationAssignment_2 ) - // InternalApplicationConfiguration.g:8871:3: rule__ScopeDeclaration__SpecificationAssignment_2 + // InternalApplicationConfiguration.g:8318:2: ( rule__ScopeDeclaration__SpecificationAssignment_2 ) + // InternalApplicationConfiguration.g:8318:3: rule__ScopeDeclaration__SpecificationAssignment_2 { pushFollow(FOLLOW_2); rule__ScopeDeclaration__SpecificationAssignment_2(); @@ -27649,16 +25936,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group__0" - // InternalApplicationConfiguration.g:8880:1: rule__GenerationTask__Group__0 : rule__GenerationTask__Group__0__Impl rule__GenerationTask__Group__1 ; + // InternalApplicationConfiguration.g:8327:1: rule__GenerationTask__Group__0 : rule__GenerationTask__Group__0__Impl rule__GenerationTask__Group__1 ; public final void rule__GenerationTask__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8884:1: ( rule__GenerationTask__Group__0__Impl rule__GenerationTask__Group__1 ) - // InternalApplicationConfiguration.g:8885:2: rule__GenerationTask__Group__0__Impl rule__GenerationTask__Group__1 + // InternalApplicationConfiguration.g:8331:1: ( rule__GenerationTask__Group__0__Impl rule__GenerationTask__Group__1 ) + // InternalApplicationConfiguration.g:8332:2: rule__GenerationTask__Group__0__Impl rule__GenerationTask__Group__1 { - pushFollow(FOLLOW_19); + pushFollow(FOLLOW_18); rule__GenerationTask__Group__0__Impl(); state._fsp--; @@ -27687,20 +25974,20 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group__0__Impl" - // InternalApplicationConfiguration.g:8892:1: rule__GenerationTask__Group__0__Impl : ( 'generate' ) ; + // InternalApplicationConfiguration.g:8339:1: rule__GenerationTask__Group__0__Impl : ( 'generate' ) ; public final void rule__GenerationTask__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8896:1: ( ( 'generate' ) ) - // InternalApplicationConfiguration.g:8897:1: ( 'generate' ) + // InternalApplicationConfiguration.g:8343:1: ( ( 'generate' ) ) + // InternalApplicationConfiguration.g:8344:1: ( 'generate' ) { - // InternalApplicationConfiguration.g:8897:1: ( 'generate' ) - // InternalApplicationConfiguration.g:8898:2: 'generate' + // InternalApplicationConfiguration.g:8344:1: ( 'generate' ) + // InternalApplicationConfiguration.g:8345:2: 'generate' { before(grammarAccess.getGenerationTaskAccess().getGenerateKeyword_0()); - match(input,56,FOLLOW_2); + match(input,53,FOLLOW_2); after(grammarAccess.getGenerationTaskAccess().getGenerateKeyword_0()); } @@ -27724,16 +26011,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group__1" - // InternalApplicationConfiguration.g:8907:1: rule__GenerationTask__Group__1 : rule__GenerationTask__Group__1__Impl rule__GenerationTask__Group__2 ; + // InternalApplicationConfiguration.g:8354:1: rule__GenerationTask__Group__1 : rule__GenerationTask__Group__1__Impl rule__GenerationTask__Group__2 ; public final void rule__GenerationTask__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8911:1: ( rule__GenerationTask__Group__1__Impl rule__GenerationTask__Group__2 ) - // InternalApplicationConfiguration.g:8912:2: rule__GenerationTask__Group__1__Impl rule__GenerationTask__Group__2 + // InternalApplicationConfiguration.g:8358:1: ( rule__GenerationTask__Group__1__Impl rule__GenerationTask__Group__2 ) + // InternalApplicationConfiguration.g:8359:2: rule__GenerationTask__Group__1__Impl rule__GenerationTask__Group__2 { - pushFollow(FOLLOW_19); + pushFollow(FOLLOW_18); rule__GenerationTask__Group__1__Impl(); state._fsp--; @@ -27762,21 +26049,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group__1__Impl" - // InternalApplicationConfiguration.g:8919:1: rule__GenerationTask__Group__1__Impl : ( () ) ; + // InternalApplicationConfiguration.g:8366:1: rule__GenerationTask__Group__1__Impl : ( () ) ; public final void rule__GenerationTask__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8923:1: ( ( () ) ) - // InternalApplicationConfiguration.g:8924:1: ( () ) + // InternalApplicationConfiguration.g:8370:1: ( ( () ) ) + // InternalApplicationConfiguration.g:8371:1: ( () ) { - // InternalApplicationConfiguration.g:8924:1: ( () ) - // InternalApplicationConfiguration.g:8925:2: () + // InternalApplicationConfiguration.g:8371:1: ( () ) + // InternalApplicationConfiguration.g:8372:2: () { before(grammarAccess.getGenerationTaskAccess().getGenerationTaskAction_1()); - // InternalApplicationConfiguration.g:8926:2: () - // InternalApplicationConfiguration.g:8926:3: + // InternalApplicationConfiguration.g:8373:2: () + // InternalApplicationConfiguration.g:8373:3: { } @@ -27799,16 +26086,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group__2" - // InternalApplicationConfiguration.g:8934:1: rule__GenerationTask__Group__2 : rule__GenerationTask__Group__2__Impl rule__GenerationTask__Group__3 ; + // InternalApplicationConfiguration.g:8381:1: rule__GenerationTask__Group__2 : rule__GenerationTask__Group__2__Impl rule__GenerationTask__Group__3 ; public final void rule__GenerationTask__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8938:1: ( rule__GenerationTask__Group__2__Impl rule__GenerationTask__Group__3 ) - // InternalApplicationConfiguration.g:8939:2: rule__GenerationTask__Group__2__Impl rule__GenerationTask__Group__3 + // InternalApplicationConfiguration.g:8385:1: ( rule__GenerationTask__Group__2__Impl rule__GenerationTask__Group__3 ) + // InternalApplicationConfiguration.g:8386:2: rule__GenerationTask__Group__2__Impl rule__GenerationTask__Group__3 { - pushFollow(FOLLOW_45); + pushFollow(FOLLOW_43); rule__GenerationTask__Group__2__Impl(); state._fsp--; @@ -27837,20 +26124,20 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group__2__Impl" - // InternalApplicationConfiguration.g:8946:1: rule__GenerationTask__Group__2__Impl : ( '{' ) ; + // InternalApplicationConfiguration.g:8393:1: rule__GenerationTask__Group__2__Impl : ( '{' ) ; public final void rule__GenerationTask__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8950:1: ( ( '{' ) ) - // InternalApplicationConfiguration.g:8951:1: ( '{' ) + // InternalApplicationConfiguration.g:8397:1: ( ( '{' ) ) + // InternalApplicationConfiguration.g:8398:1: ( '{' ) { - // InternalApplicationConfiguration.g:8951:1: ( '{' ) - // InternalApplicationConfiguration.g:8952:2: '{' + // InternalApplicationConfiguration.g:8398:1: ( '{' ) + // InternalApplicationConfiguration.g:8399:2: '{' { before(grammarAccess.getGenerationTaskAccess().getLeftCurlyBracketKeyword_2()); - match(input,31,FOLLOW_2); + match(input,30,FOLLOW_2); after(grammarAccess.getGenerationTaskAccess().getLeftCurlyBracketKeyword_2()); } @@ -27874,16 +26161,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group__3" - // InternalApplicationConfiguration.g:8961:1: rule__GenerationTask__Group__3 : rule__GenerationTask__Group__3__Impl rule__GenerationTask__Group__4 ; + // InternalApplicationConfiguration.g:8408:1: rule__GenerationTask__Group__3 : rule__GenerationTask__Group__3__Impl rule__GenerationTask__Group__4 ; public final void rule__GenerationTask__Group__3() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8965:1: ( rule__GenerationTask__Group__3__Impl rule__GenerationTask__Group__4 ) - // InternalApplicationConfiguration.g:8966:2: rule__GenerationTask__Group__3__Impl rule__GenerationTask__Group__4 + // InternalApplicationConfiguration.g:8412:1: ( rule__GenerationTask__Group__3__Impl rule__GenerationTask__Group__4 ) + // InternalApplicationConfiguration.g:8413:2: rule__GenerationTask__Group__3__Impl rule__GenerationTask__Group__4 { - pushFollow(FOLLOW_46); + pushFollow(FOLLOW_44); rule__GenerationTask__Group__3__Impl(); state._fsp--; @@ -27912,21 +26199,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group__3__Impl" - // InternalApplicationConfiguration.g:8973:1: rule__GenerationTask__Group__3__Impl : ( ( rule__GenerationTask__UnorderedGroup_3 ) ) ; + // InternalApplicationConfiguration.g:8420:1: rule__GenerationTask__Group__3__Impl : ( ( rule__GenerationTask__UnorderedGroup_3 ) ) ; public final void rule__GenerationTask__Group__3__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8977:1: ( ( ( rule__GenerationTask__UnorderedGroup_3 ) ) ) - // InternalApplicationConfiguration.g:8978:1: ( ( rule__GenerationTask__UnorderedGroup_3 ) ) + // InternalApplicationConfiguration.g:8424:1: ( ( ( rule__GenerationTask__UnorderedGroup_3 ) ) ) + // InternalApplicationConfiguration.g:8425:1: ( ( rule__GenerationTask__UnorderedGroup_3 ) ) { - // InternalApplicationConfiguration.g:8978:1: ( ( rule__GenerationTask__UnorderedGroup_3 ) ) - // InternalApplicationConfiguration.g:8979:2: ( rule__GenerationTask__UnorderedGroup_3 ) + // InternalApplicationConfiguration.g:8425:1: ( ( rule__GenerationTask__UnorderedGroup_3 ) ) + // InternalApplicationConfiguration.g:8426:2: ( rule__GenerationTask__UnorderedGroup_3 ) { before(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); - // InternalApplicationConfiguration.g:8980:2: ( rule__GenerationTask__UnorderedGroup_3 ) - // InternalApplicationConfiguration.g:8980:3: rule__GenerationTask__UnorderedGroup_3 + // InternalApplicationConfiguration.g:8427:2: ( rule__GenerationTask__UnorderedGroup_3 ) + // InternalApplicationConfiguration.g:8427:3: rule__GenerationTask__UnorderedGroup_3 { pushFollow(FOLLOW_2); rule__GenerationTask__UnorderedGroup_3(); @@ -27959,14 +26246,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group__4" - // InternalApplicationConfiguration.g:8988:1: rule__GenerationTask__Group__4 : rule__GenerationTask__Group__4__Impl ; + // InternalApplicationConfiguration.g:8435:1: rule__GenerationTask__Group__4 : rule__GenerationTask__Group__4__Impl ; public final void rule__GenerationTask__Group__4() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:8992:1: ( rule__GenerationTask__Group__4__Impl ) - // InternalApplicationConfiguration.g:8993:2: rule__GenerationTask__Group__4__Impl + // InternalApplicationConfiguration.g:8439:1: ( rule__GenerationTask__Group__4__Impl ) + // InternalApplicationConfiguration.g:8440:2: rule__GenerationTask__Group__4__Impl { pushFollow(FOLLOW_2); rule__GenerationTask__Group__4__Impl(); @@ -27992,20 +26279,20 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group__4__Impl" - // InternalApplicationConfiguration.g:8999:1: rule__GenerationTask__Group__4__Impl : ( '}' ) ; + // InternalApplicationConfiguration.g:8446:1: rule__GenerationTask__Group__4__Impl : ( '}' ) ; public final void rule__GenerationTask__Group__4__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:9003:1: ( ( '}' ) ) - // InternalApplicationConfiguration.g:9004:1: ( '}' ) + // InternalApplicationConfiguration.g:8450:1: ( ( '}' ) ) + // InternalApplicationConfiguration.g:8451:1: ( '}' ) { - // InternalApplicationConfiguration.g:9004:1: ( '}' ) - // InternalApplicationConfiguration.g:9005:2: '}' + // InternalApplicationConfiguration.g:8451:1: ( '}' ) + // InternalApplicationConfiguration.g:8452:2: '}' { before(grammarAccess.getGenerationTaskAccess().getRightCurlyBracketKeyword_4()); - match(input,32,FOLLOW_2); + match(input,31,FOLLOW_2); after(grammarAccess.getGenerationTaskAccess().getRightCurlyBracketKeyword_4()); } @@ -28029,16 +26316,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_0__0" - // InternalApplicationConfiguration.g:9015:1: rule__GenerationTask__Group_3_0__0 : rule__GenerationTask__Group_3_0__0__Impl rule__GenerationTask__Group_3_0__1 ; + // InternalApplicationConfiguration.g:8462:1: rule__GenerationTask__Group_3_0__0 : rule__GenerationTask__Group_3_0__0__Impl rule__GenerationTask__Group_3_0__1 ; public final void rule__GenerationTask__Group_3_0__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:9019:1: ( rule__GenerationTask__Group_3_0__0__Impl rule__GenerationTask__Group_3_0__1 ) - // InternalApplicationConfiguration.g:9020:2: rule__GenerationTask__Group_3_0__0__Impl rule__GenerationTask__Group_3_0__1 + // InternalApplicationConfiguration.g:8466:1: ( rule__GenerationTask__Group_3_0__0__Impl rule__GenerationTask__Group_3_0__1 ) + // InternalApplicationConfiguration.g:8467:2: rule__GenerationTask__Group_3_0__0__Impl rule__GenerationTask__Group_3_0__1 { - pushFollow(FOLLOW_14); + pushFollow(FOLLOW_13); rule__GenerationTask__Group_3_0__0__Impl(); state._fsp--; @@ -28067,20 +26354,20 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_0__0__Impl" - // InternalApplicationConfiguration.g:9027:1: rule__GenerationTask__Group_3_0__0__Impl : ( 'metamodel' ) ; + // InternalApplicationConfiguration.g:8474:1: rule__GenerationTask__Group_3_0__0__Impl : ( 'metamodel' ) ; public final void rule__GenerationTask__Group_3_0__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:9031:1: ( ( 'metamodel' ) ) - // InternalApplicationConfiguration.g:9032:1: ( 'metamodel' ) + // InternalApplicationConfiguration.g:8478:1: ( ( 'metamodel' ) ) + // InternalApplicationConfiguration.g:8479:1: ( 'metamodel' ) { - // InternalApplicationConfiguration.g:9032:1: ( 'metamodel' ) - // InternalApplicationConfiguration.g:9033:2: 'metamodel' + // InternalApplicationConfiguration.g:8479:1: ( 'metamodel' ) + // InternalApplicationConfiguration.g:8480:2: 'metamodel' { before(grammarAccess.getGenerationTaskAccess().getMetamodelKeyword_3_0_0()); - match(input,37,FOLLOW_2); + match(input,36,FOLLOW_2); after(grammarAccess.getGenerationTaskAccess().getMetamodelKeyword_3_0_0()); } @@ -28104,16 +26391,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_0__1" - // InternalApplicationConfiguration.g:9042:1: rule__GenerationTask__Group_3_0__1 : rule__GenerationTask__Group_3_0__1__Impl rule__GenerationTask__Group_3_0__2 ; + // InternalApplicationConfiguration.g:8489:1: rule__GenerationTask__Group_3_0__1 : rule__GenerationTask__Group_3_0__1__Impl rule__GenerationTask__Group_3_0__2 ; public final void rule__GenerationTask__Group_3_0__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:9046:1: ( rule__GenerationTask__Group_3_0__1__Impl rule__GenerationTask__Group_3_0__2 ) - // InternalApplicationConfiguration.g:9047:2: rule__GenerationTask__Group_3_0__1__Impl rule__GenerationTask__Group_3_0__2 + // InternalApplicationConfiguration.g:8493:1: ( rule__GenerationTask__Group_3_0__1__Impl rule__GenerationTask__Group_3_0__2 ) + // InternalApplicationConfiguration.g:8494:2: rule__GenerationTask__Group_3_0__1__Impl rule__GenerationTask__Group_3_0__2 { - pushFollow(FOLLOW_47); + pushFollow(FOLLOW_45); rule__GenerationTask__Group_3_0__1__Impl(); state._fsp--; @@ -28142,20 +26429,20 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_0__1__Impl" - // InternalApplicationConfiguration.g:9054:1: rule__GenerationTask__Group_3_0__1__Impl : ( '=' ) ; + // InternalApplicationConfiguration.g:8501:1: rule__GenerationTask__Group_3_0__1__Impl : ( '=' ) ; public final void rule__GenerationTask__Group_3_0__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:9058:1: ( ( '=' ) ) - // InternalApplicationConfiguration.g:9059:1: ( '=' ) + // InternalApplicationConfiguration.g:8505:1: ( ( '=' ) ) + // InternalApplicationConfiguration.g:8506:1: ( '=' ) { - // InternalApplicationConfiguration.g:9059:1: ( '=' ) - // InternalApplicationConfiguration.g:9060:2: '=' + // InternalApplicationConfiguration.g:8506:1: ( '=' ) + // InternalApplicationConfiguration.g:8507:2: '=' { before(grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_0_1()); - match(input,30,FOLLOW_2); + match(input,29,FOLLOW_2); after(grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_0_1()); } @@ -28179,14 +26466,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_0__2" - // InternalApplicationConfiguration.g:9069:1: rule__GenerationTask__Group_3_0__2 : rule__GenerationTask__Group_3_0__2__Impl ; + // InternalApplicationConfiguration.g:8516:1: rule__GenerationTask__Group_3_0__2 : rule__GenerationTask__Group_3_0__2__Impl ; public final void rule__GenerationTask__Group_3_0__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:9073:1: ( rule__GenerationTask__Group_3_0__2__Impl ) - // InternalApplicationConfiguration.g:9074:2: rule__GenerationTask__Group_3_0__2__Impl + // InternalApplicationConfiguration.g:8520:1: ( rule__GenerationTask__Group_3_0__2__Impl ) + // InternalApplicationConfiguration.g:8521:2: rule__GenerationTask__Group_3_0__2__Impl { pushFollow(FOLLOW_2); rule__GenerationTask__Group_3_0__2__Impl(); @@ -28212,21 +26499,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_0__2__Impl" - // InternalApplicationConfiguration.g:9080:1: rule__GenerationTask__Group_3_0__2__Impl : ( ( rule__GenerationTask__MetamodelAssignment_3_0_2 ) ) ; + // InternalApplicationConfiguration.g:8527:1: rule__GenerationTask__Group_3_0__2__Impl : ( ( rule__GenerationTask__MetamodelAssignment_3_0_2 ) ) ; public final void rule__GenerationTask__Group_3_0__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:9084:1: ( ( ( rule__GenerationTask__MetamodelAssignment_3_0_2 ) ) ) - // InternalApplicationConfiguration.g:9085:1: ( ( rule__GenerationTask__MetamodelAssignment_3_0_2 ) ) + // InternalApplicationConfiguration.g:8531:1: ( ( ( rule__GenerationTask__MetamodelAssignment_3_0_2 ) ) ) + // InternalApplicationConfiguration.g:8532:1: ( ( rule__GenerationTask__MetamodelAssignment_3_0_2 ) ) { - // InternalApplicationConfiguration.g:9085:1: ( ( rule__GenerationTask__MetamodelAssignment_3_0_2 ) ) - // InternalApplicationConfiguration.g:9086:2: ( rule__GenerationTask__MetamodelAssignment_3_0_2 ) + // InternalApplicationConfiguration.g:8532:1: ( ( rule__GenerationTask__MetamodelAssignment_3_0_2 ) ) + // InternalApplicationConfiguration.g:8533:2: ( rule__GenerationTask__MetamodelAssignment_3_0_2 ) { before(grammarAccess.getGenerationTaskAccess().getMetamodelAssignment_3_0_2()); - // InternalApplicationConfiguration.g:9087:2: ( rule__GenerationTask__MetamodelAssignment_3_0_2 ) - // InternalApplicationConfiguration.g:9087:3: rule__GenerationTask__MetamodelAssignment_3_0_2 + // InternalApplicationConfiguration.g:8534:2: ( rule__GenerationTask__MetamodelAssignment_3_0_2 ) + // InternalApplicationConfiguration.g:8534:3: rule__GenerationTask__MetamodelAssignment_3_0_2 { pushFollow(FOLLOW_2); rule__GenerationTask__MetamodelAssignment_3_0_2(); @@ -28259,16 +26546,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_1__0" - // InternalApplicationConfiguration.g:9096:1: rule__GenerationTask__Group_3_1__0 : rule__GenerationTask__Group_3_1__0__Impl rule__GenerationTask__Group_3_1__1 ; + // InternalApplicationConfiguration.g:8543:1: rule__GenerationTask__Group_3_1__0 : rule__GenerationTask__Group_3_1__0__Impl rule__GenerationTask__Group_3_1__1 ; public final void rule__GenerationTask__Group_3_1__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:9100:1: ( rule__GenerationTask__Group_3_1__0__Impl rule__GenerationTask__Group_3_1__1 ) - // InternalApplicationConfiguration.g:9101:2: rule__GenerationTask__Group_3_1__0__Impl rule__GenerationTask__Group_3_1__1 + // InternalApplicationConfiguration.g:8547:1: ( rule__GenerationTask__Group_3_1__0__Impl rule__GenerationTask__Group_3_1__1 ) + // InternalApplicationConfiguration.g:8548:2: rule__GenerationTask__Group_3_1__0__Impl rule__GenerationTask__Group_3_1__1 { - pushFollow(FOLLOW_14); + pushFollow(FOLLOW_13); rule__GenerationTask__Group_3_1__0__Impl(); state._fsp--; @@ -28297,20 +26584,20 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_1__0__Impl" - // InternalApplicationConfiguration.g:9108:1: rule__GenerationTask__Group_3_1__0__Impl : ( 'partial-model' ) ; + // InternalApplicationConfiguration.g:8555:1: rule__GenerationTask__Group_3_1__0__Impl : ( 'partial-model' ) ; public final void rule__GenerationTask__Group_3_1__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:9112:1: ( ( 'partial-model' ) ) - // InternalApplicationConfiguration.g:9113:1: ( 'partial-model' ) + // InternalApplicationConfiguration.g:8559:1: ( ( 'partial-model' ) ) + // InternalApplicationConfiguration.g:8560:1: ( 'partial-model' ) { - // InternalApplicationConfiguration.g:9113:1: ( 'partial-model' ) - // InternalApplicationConfiguration.g:9114:2: 'partial-model' + // InternalApplicationConfiguration.g:8560:1: ( 'partial-model' ) + // InternalApplicationConfiguration.g:8561:2: 'partial-model' { before(grammarAccess.getGenerationTaskAccess().getPartialModelKeyword_3_1_0()); - match(input,57,FOLLOW_2); + match(input,54,FOLLOW_2); after(grammarAccess.getGenerationTaskAccess().getPartialModelKeyword_3_1_0()); } @@ -28334,16 +26621,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_1__1" - // InternalApplicationConfiguration.g:9123:1: rule__GenerationTask__Group_3_1__1 : rule__GenerationTask__Group_3_1__1__Impl rule__GenerationTask__Group_3_1__2 ; + // InternalApplicationConfiguration.g:8570:1: rule__GenerationTask__Group_3_1__1 : rule__GenerationTask__Group_3_1__1__Impl rule__GenerationTask__Group_3_1__2 ; public final void rule__GenerationTask__Group_3_1__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:9127:1: ( rule__GenerationTask__Group_3_1__1__Impl rule__GenerationTask__Group_3_1__2 ) - // InternalApplicationConfiguration.g:9128:2: rule__GenerationTask__Group_3_1__1__Impl rule__GenerationTask__Group_3_1__2 + // InternalApplicationConfiguration.g:8574:1: ( rule__GenerationTask__Group_3_1__1__Impl rule__GenerationTask__Group_3_1__2 ) + // InternalApplicationConfiguration.g:8575:2: rule__GenerationTask__Group_3_1__1__Impl rule__GenerationTask__Group_3_1__2 { - pushFollow(FOLLOW_47); + pushFollow(FOLLOW_45); rule__GenerationTask__Group_3_1__1__Impl(); state._fsp--; @@ -28372,20 +26659,20 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_1__1__Impl" - // InternalApplicationConfiguration.g:9135:1: rule__GenerationTask__Group_3_1__1__Impl : ( '=' ) ; + // InternalApplicationConfiguration.g:8582:1: rule__GenerationTask__Group_3_1__1__Impl : ( '=' ) ; public final void rule__GenerationTask__Group_3_1__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:9139:1: ( ( '=' ) ) - // InternalApplicationConfiguration.g:9140:1: ( '=' ) + // InternalApplicationConfiguration.g:8586:1: ( ( '=' ) ) + // InternalApplicationConfiguration.g:8587:1: ( '=' ) { - // InternalApplicationConfiguration.g:9140:1: ( '=' ) - // InternalApplicationConfiguration.g:9141:2: '=' + // InternalApplicationConfiguration.g:8587:1: ( '=' ) + // InternalApplicationConfiguration.g:8588:2: '=' { before(grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_1_1()); - match(input,30,FOLLOW_2); + match(input,29,FOLLOW_2); after(grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_1_1()); } @@ -28409,14 +26696,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_1__2" - // InternalApplicationConfiguration.g:9150:1: rule__GenerationTask__Group_3_1__2 : rule__GenerationTask__Group_3_1__2__Impl ; + // InternalApplicationConfiguration.g:8597:1: rule__GenerationTask__Group_3_1__2 : rule__GenerationTask__Group_3_1__2__Impl ; public final void rule__GenerationTask__Group_3_1__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:9154:1: ( rule__GenerationTask__Group_3_1__2__Impl ) - // InternalApplicationConfiguration.g:9155:2: rule__GenerationTask__Group_3_1__2__Impl + // InternalApplicationConfiguration.g:8601:1: ( rule__GenerationTask__Group_3_1__2__Impl ) + // InternalApplicationConfiguration.g:8602:2: rule__GenerationTask__Group_3_1__2__Impl { pushFollow(FOLLOW_2); rule__GenerationTask__Group_3_1__2__Impl(); @@ -28442,21 +26729,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_1__2__Impl" - // InternalApplicationConfiguration.g:9161:1: rule__GenerationTask__Group_3_1__2__Impl : ( ( rule__GenerationTask__PartialModelAssignment_3_1_2 ) ) ; + // InternalApplicationConfiguration.g:8608:1: rule__GenerationTask__Group_3_1__2__Impl : ( ( rule__GenerationTask__PartialModelAssignment_3_1_2 ) ) ; public final void rule__GenerationTask__Group_3_1__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:9165:1: ( ( ( rule__GenerationTask__PartialModelAssignment_3_1_2 ) ) ) - // InternalApplicationConfiguration.g:9166:1: ( ( rule__GenerationTask__PartialModelAssignment_3_1_2 ) ) + // InternalApplicationConfiguration.g:8612:1: ( ( ( rule__GenerationTask__PartialModelAssignment_3_1_2 ) ) ) + // InternalApplicationConfiguration.g:8613:1: ( ( rule__GenerationTask__PartialModelAssignment_3_1_2 ) ) { - // InternalApplicationConfiguration.g:9166:1: ( ( rule__GenerationTask__PartialModelAssignment_3_1_2 ) ) - // InternalApplicationConfiguration.g:9167:2: ( rule__GenerationTask__PartialModelAssignment_3_1_2 ) + // InternalApplicationConfiguration.g:8613:1: ( ( rule__GenerationTask__PartialModelAssignment_3_1_2 ) ) + // InternalApplicationConfiguration.g:8614:2: ( rule__GenerationTask__PartialModelAssignment_3_1_2 ) { before(grammarAccess.getGenerationTaskAccess().getPartialModelAssignment_3_1_2()); - // InternalApplicationConfiguration.g:9168:2: ( rule__GenerationTask__PartialModelAssignment_3_1_2 ) - // InternalApplicationConfiguration.g:9168:3: rule__GenerationTask__PartialModelAssignment_3_1_2 + // InternalApplicationConfiguration.g:8615:2: ( rule__GenerationTask__PartialModelAssignment_3_1_2 ) + // InternalApplicationConfiguration.g:8615:3: rule__GenerationTask__PartialModelAssignment_3_1_2 { pushFollow(FOLLOW_2); rule__GenerationTask__PartialModelAssignment_3_1_2(); @@ -28489,16 +26776,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_2__0" - // InternalApplicationConfiguration.g:9177:1: rule__GenerationTask__Group_3_2__0 : rule__GenerationTask__Group_3_2__0__Impl rule__GenerationTask__Group_3_2__1 ; + // InternalApplicationConfiguration.g:8624:1: rule__GenerationTask__Group_3_2__0 : rule__GenerationTask__Group_3_2__0__Impl rule__GenerationTask__Group_3_2__1 ; public final void rule__GenerationTask__Group_3_2__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:9181:1: ( rule__GenerationTask__Group_3_2__0__Impl rule__GenerationTask__Group_3_2__1 ) - // InternalApplicationConfiguration.g:9182:2: rule__GenerationTask__Group_3_2__0__Impl rule__GenerationTask__Group_3_2__1 + // InternalApplicationConfiguration.g:8628:1: ( rule__GenerationTask__Group_3_2__0__Impl rule__GenerationTask__Group_3_2__1 ) + // InternalApplicationConfiguration.g:8629:2: rule__GenerationTask__Group_3_2__0__Impl rule__GenerationTask__Group_3_2__1 { - pushFollow(FOLLOW_14); + pushFollow(FOLLOW_13); rule__GenerationTask__Group_3_2__0__Impl(); state._fsp--; @@ -28527,20 +26814,20 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_2__0__Impl" - // InternalApplicationConfiguration.g:9189:1: rule__GenerationTask__Group_3_2__0__Impl : ( 'constraints' ) ; + // InternalApplicationConfiguration.g:8636:1: rule__GenerationTask__Group_3_2__0__Impl : ( 'constraints' ) ; public final void rule__GenerationTask__Group_3_2__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:9193:1: ( ( 'constraints' ) ) - // InternalApplicationConfiguration.g:9194:1: ( 'constraints' ) + // InternalApplicationConfiguration.g:8640:1: ( ( 'constraints' ) ) + // InternalApplicationConfiguration.g:8641:1: ( 'constraints' ) { - // InternalApplicationConfiguration.g:9194:1: ( 'constraints' ) - // InternalApplicationConfiguration.g:9195:2: 'constraints' + // InternalApplicationConfiguration.g:8641:1: ( 'constraints' ) + // InternalApplicationConfiguration.g:8642:2: 'constraints' { before(grammarAccess.getGenerationTaskAccess().getConstraintsKeyword_3_2_0()); - match(input,40,FOLLOW_2); + match(input,39,FOLLOW_2); after(grammarAccess.getGenerationTaskAccess().getConstraintsKeyword_3_2_0()); } @@ -28564,16 +26851,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_2__1" - // InternalApplicationConfiguration.g:9204:1: rule__GenerationTask__Group_3_2__1 : rule__GenerationTask__Group_3_2__1__Impl rule__GenerationTask__Group_3_2__2 ; + // InternalApplicationConfiguration.g:8651:1: rule__GenerationTask__Group_3_2__1 : rule__GenerationTask__Group_3_2__1__Impl rule__GenerationTask__Group_3_2__2 ; public final void rule__GenerationTask__Group_3_2__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:9208:1: ( rule__GenerationTask__Group_3_2__1__Impl rule__GenerationTask__Group_3_2__2 ) - // InternalApplicationConfiguration.g:9209:2: rule__GenerationTask__Group_3_2__1__Impl rule__GenerationTask__Group_3_2__2 + // InternalApplicationConfiguration.g:8655:1: ( rule__GenerationTask__Group_3_2__1__Impl rule__GenerationTask__Group_3_2__2 ) + // InternalApplicationConfiguration.g:8656:2: rule__GenerationTask__Group_3_2__1__Impl rule__GenerationTask__Group_3_2__2 { - pushFollow(FOLLOW_47); + pushFollow(FOLLOW_45); rule__GenerationTask__Group_3_2__1__Impl(); state._fsp--; @@ -28602,20 +26889,20 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_2__1__Impl" - // InternalApplicationConfiguration.g:9216:1: rule__GenerationTask__Group_3_2__1__Impl : ( '=' ) ; + // InternalApplicationConfiguration.g:8663:1: rule__GenerationTask__Group_3_2__1__Impl : ( '=' ) ; public final void rule__GenerationTask__Group_3_2__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:9220:1: ( ( '=' ) ) - // InternalApplicationConfiguration.g:9221:1: ( '=' ) + // InternalApplicationConfiguration.g:8667:1: ( ( '=' ) ) + // InternalApplicationConfiguration.g:8668:1: ( '=' ) { - // InternalApplicationConfiguration.g:9221:1: ( '=' ) - // InternalApplicationConfiguration.g:9222:2: '=' + // InternalApplicationConfiguration.g:8668:1: ( '=' ) + // InternalApplicationConfiguration.g:8669:2: '=' { before(grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_2_1()); - match(input,30,FOLLOW_2); + match(input,29,FOLLOW_2); after(grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_2_1()); } @@ -28639,14 +26926,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_2__2" - // InternalApplicationConfiguration.g:9231:1: rule__GenerationTask__Group_3_2__2 : rule__GenerationTask__Group_3_2__2__Impl ; + // InternalApplicationConfiguration.g:8678:1: rule__GenerationTask__Group_3_2__2 : rule__GenerationTask__Group_3_2__2__Impl ; public final void rule__GenerationTask__Group_3_2__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:9235:1: ( rule__GenerationTask__Group_3_2__2__Impl ) - // InternalApplicationConfiguration.g:9236:2: rule__GenerationTask__Group_3_2__2__Impl + // InternalApplicationConfiguration.g:8682:1: ( rule__GenerationTask__Group_3_2__2__Impl ) + // InternalApplicationConfiguration.g:8683:2: rule__GenerationTask__Group_3_2__2__Impl { pushFollow(FOLLOW_2); rule__GenerationTask__Group_3_2__2__Impl(); @@ -28672,21 +26959,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_2__2__Impl" - // InternalApplicationConfiguration.g:9242:1: rule__GenerationTask__Group_3_2__2__Impl : ( ( rule__GenerationTask__PatternsAssignment_3_2_2 ) ) ; + // InternalApplicationConfiguration.g:8689:1: rule__GenerationTask__Group_3_2__2__Impl : ( ( rule__GenerationTask__PatternsAssignment_3_2_2 ) ) ; public final void rule__GenerationTask__Group_3_2__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:9246:1: ( ( ( rule__GenerationTask__PatternsAssignment_3_2_2 ) ) ) - // InternalApplicationConfiguration.g:9247:1: ( ( rule__GenerationTask__PatternsAssignment_3_2_2 ) ) + // InternalApplicationConfiguration.g:8693:1: ( ( ( rule__GenerationTask__PatternsAssignment_3_2_2 ) ) ) + // InternalApplicationConfiguration.g:8694:1: ( ( rule__GenerationTask__PatternsAssignment_3_2_2 ) ) { - // InternalApplicationConfiguration.g:9247:1: ( ( rule__GenerationTask__PatternsAssignment_3_2_2 ) ) - // InternalApplicationConfiguration.g:9248:2: ( rule__GenerationTask__PatternsAssignment_3_2_2 ) + // InternalApplicationConfiguration.g:8694:1: ( ( rule__GenerationTask__PatternsAssignment_3_2_2 ) ) + // InternalApplicationConfiguration.g:8695:2: ( rule__GenerationTask__PatternsAssignment_3_2_2 ) { before(grammarAccess.getGenerationTaskAccess().getPatternsAssignment_3_2_2()); - // InternalApplicationConfiguration.g:9249:2: ( rule__GenerationTask__PatternsAssignment_3_2_2 ) - // InternalApplicationConfiguration.g:9249:3: rule__GenerationTask__PatternsAssignment_3_2_2 + // InternalApplicationConfiguration.g:8696:2: ( rule__GenerationTask__PatternsAssignment_3_2_2 ) + // InternalApplicationConfiguration.g:8696:3: rule__GenerationTask__PatternsAssignment_3_2_2 { pushFollow(FOLLOW_2); rule__GenerationTask__PatternsAssignment_3_2_2(); @@ -28719,16 +27006,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_3__0" - // InternalApplicationConfiguration.g:9258:1: rule__GenerationTask__Group_3_3__0 : rule__GenerationTask__Group_3_3__0__Impl rule__GenerationTask__Group_3_3__1 ; + // InternalApplicationConfiguration.g:8705:1: rule__GenerationTask__Group_3_3__0 : rule__GenerationTask__Group_3_3__0__Impl rule__GenerationTask__Group_3_3__1 ; public final void rule__GenerationTask__Group_3_3__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:9262:1: ( rule__GenerationTask__Group_3_3__0__Impl rule__GenerationTask__Group_3_3__1 ) - // InternalApplicationConfiguration.g:9263:2: rule__GenerationTask__Group_3_3__0__Impl rule__GenerationTask__Group_3_3__1 + // InternalApplicationConfiguration.g:8709:1: ( rule__GenerationTask__Group_3_3__0__Impl rule__GenerationTask__Group_3_3__1 ) + // InternalApplicationConfiguration.g:8710:2: rule__GenerationTask__Group_3_3__0__Impl rule__GenerationTask__Group_3_3__1 { - pushFollow(FOLLOW_14); + pushFollow(FOLLOW_13); rule__GenerationTask__Group_3_3__0__Impl(); state._fsp--; @@ -28757,20 +27044,20 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_3__0__Impl" - // InternalApplicationConfiguration.g:9270:1: rule__GenerationTask__Group_3_3__0__Impl : ( 'objectives' ) ; + // InternalApplicationConfiguration.g:8717:1: rule__GenerationTask__Group_3_3__0__Impl : ( 'objectives' ) ; public final void rule__GenerationTask__Group_3_3__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:9274:1: ( ( 'objectives' ) ) - // InternalApplicationConfiguration.g:9275:1: ( 'objectives' ) + // InternalApplicationConfiguration.g:8721:1: ( ( 'objectives' ) ) + // InternalApplicationConfiguration.g:8722:1: ( 'objectives' ) { - // InternalApplicationConfiguration.g:9275:1: ( 'objectives' ) - // InternalApplicationConfiguration.g:9276:2: 'objectives' + // InternalApplicationConfiguration.g:8722:1: ( 'objectives' ) + // InternalApplicationConfiguration.g:8723:2: 'objectives' { before(grammarAccess.getGenerationTaskAccess().getObjectivesKeyword_3_3_0()); - match(input,44,FOLLOW_2); + match(input,41,FOLLOW_2); after(grammarAccess.getGenerationTaskAccess().getObjectivesKeyword_3_3_0()); } @@ -28794,16 +27081,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_3__1" - // InternalApplicationConfiguration.g:9285:1: rule__GenerationTask__Group_3_3__1 : rule__GenerationTask__Group_3_3__1__Impl rule__GenerationTask__Group_3_3__2 ; + // InternalApplicationConfiguration.g:8732:1: rule__GenerationTask__Group_3_3__1 : rule__GenerationTask__Group_3_3__1__Impl rule__GenerationTask__Group_3_3__2 ; public final void rule__GenerationTask__Group_3_3__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:9289:1: ( rule__GenerationTask__Group_3_3__1__Impl rule__GenerationTask__Group_3_3__2 ) - // InternalApplicationConfiguration.g:9290:2: rule__GenerationTask__Group_3_3__1__Impl rule__GenerationTask__Group_3_3__2 + // InternalApplicationConfiguration.g:8736:1: ( rule__GenerationTask__Group_3_3__1__Impl rule__GenerationTask__Group_3_3__2 ) + // InternalApplicationConfiguration.g:8737:2: rule__GenerationTask__Group_3_3__1__Impl rule__GenerationTask__Group_3_3__2 { - pushFollow(FOLLOW_47); + pushFollow(FOLLOW_45); rule__GenerationTask__Group_3_3__1__Impl(); state._fsp--; @@ -28832,20 +27119,20 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_3__1__Impl" - // InternalApplicationConfiguration.g:9297:1: rule__GenerationTask__Group_3_3__1__Impl : ( '=' ) ; + // InternalApplicationConfiguration.g:8744:1: rule__GenerationTask__Group_3_3__1__Impl : ( '=' ) ; public final void rule__GenerationTask__Group_3_3__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:9301:1: ( ( '=' ) ) - // InternalApplicationConfiguration.g:9302:1: ( '=' ) + // InternalApplicationConfiguration.g:8748:1: ( ( '=' ) ) + // InternalApplicationConfiguration.g:8749:1: ( '=' ) { - // InternalApplicationConfiguration.g:9302:1: ( '=' ) - // InternalApplicationConfiguration.g:9303:2: '=' + // InternalApplicationConfiguration.g:8749:1: ( '=' ) + // InternalApplicationConfiguration.g:8750:2: '=' { before(grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_3_1()); - match(input,30,FOLLOW_2); + match(input,29,FOLLOW_2); after(grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_3_1()); } @@ -28869,14 +27156,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_3__2" - // InternalApplicationConfiguration.g:9312:1: rule__GenerationTask__Group_3_3__2 : rule__GenerationTask__Group_3_3__2__Impl ; + // InternalApplicationConfiguration.g:8759:1: rule__GenerationTask__Group_3_3__2 : rule__GenerationTask__Group_3_3__2__Impl ; public final void rule__GenerationTask__Group_3_3__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:9316:1: ( rule__GenerationTask__Group_3_3__2__Impl ) - // InternalApplicationConfiguration.g:9317:2: rule__GenerationTask__Group_3_3__2__Impl + // InternalApplicationConfiguration.g:8763:1: ( rule__GenerationTask__Group_3_3__2__Impl ) + // InternalApplicationConfiguration.g:8764:2: rule__GenerationTask__Group_3_3__2__Impl { pushFollow(FOLLOW_2); rule__GenerationTask__Group_3_3__2__Impl(); @@ -28902,21 +27189,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_3__2__Impl" - // InternalApplicationConfiguration.g:9323:1: rule__GenerationTask__Group_3_3__2__Impl : ( ( rule__GenerationTask__ObjectivesAssignment_3_3_2 ) ) ; + // InternalApplicationConfiguration.g:8770:1: rule__GenerationTask__Group_3_3__2__Impl : ( ( rule__GenerationTask__ObjectivesAssignment_3_3_2 ) ) ; public final void rule__GenerationTask__Group_3_3__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:9327:1: ( ( ( rule__GenerationTask__ObjectivesAssignment_3_3_2 ) ) ) - // InternalApplicationConfiguration.g:9328:1: ( ( rule__GenerationTask__ObjectivesAssignment_3_3_2 ) ) + // InternalApplicationConfiguration.g:8774:1: ( ( ( rule__GenerationTask__ObjectivesAssignment_3_3_2 ) ) ) + // InternalApplicationConfiguration.g:8775:1: ( ( rule__GenerationTask__ObjectivesAssignment_3_3_2 ) ) { - // InternalApplicationConfiguration.g:9328:1: ( ( rule__GenerationTask__ObjectivesAssignment_3_3_2 ) ) - // InternalApplicationConfiguration.g:9329:2: ( rule__GenerationTask__ObjectivesAssignment_3_3_2 ) + // InternalApplicationConfiguration.g:8775:1: ( ( rule__GenerationTask__ObjectivesAssignment_3_3_2 ) ) + // InternalApplicationConfiguration.g:8776:2: ( rule__GenerationTask__ObjectivesAssignment_3_3_2 ) { before(grammarAccess.getGenerationTaskAccess().getObjectivesAssignment_3_3_2()); - // InternalApplicationConfiguration.g:9330:2: ( rule__GenerationTask__ObjectivesAssignment_3_3_2 ) - // InternalApplicationConfiguration.g:9330:3: rule__GenerationTask__ObjectivesAssignment_3_3_2 + // InternalApplicationConfiguration.g:8777:2: ( rule__GenerationTask__ObjectivesAssignment_3_3_2 ) + // InternalApplicationConfiguration.g:8777:3: rule__GenerationTask__ObjectivesAssignment_3_3_2 { pushFollow(FOLLOW_2); rule__GenerationTask__ObjectivesAssignment_3_3_2(); @@ -28949,16 +27236,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_4__0" - // InternalApplicationConfiguration.g:9339:1: rule__GenerationTask__Group_3_4__0 : rule__GenerationTask__Group_3_4__0__Impl rule__GenerationTask__Group_3_4__1 ; + // InternalApplicationConfiguration.g:8786:1: rule__GenerationTask__Group_3_4__0 : rule__GenerationTask__Group_3_4__0__Impl rule__GenerationTask__Group_3_4__1 ; public final void rule__GenerationTask__Group_3_4__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:9343:1: ( rule__GenerationTask__Group_3_4__0__Impl rule__GenerationTask__Group_3_4__1 ) - // InternalApplicationConfiguration.g:9344:2: rule__GenerationTask__Group_3_4__0__Impl rule__GenerationTask__Group_3_4__1 + // InternalApplicationConfiguration.g:8790:1: ( rule__GenerationTask__Group_3_4__0__Impl rule__GenerationTask__Group_3_4__1 ) + // InternalApplicationConfiguration.g:8791:2: rule__GenerationTask__Group_3_4__0__Impl rule__GenerationTask__Group_3_4__1 { - pushFollow(FOLLOW_14); + pushFollow(FOLLOW_13); rule__GenerationTask__Group_3_4__0__Impl(); state._fsp--; @@ -28987,20 +27274,20 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_4__0__Impl" - // InternalApplicationConfiguration.g:9351:1: rule__GenerationTask__Group_3_4__0__Impl : ( 'scope' ) ; + // InternalApplicationConfiguration.g:8798:1: rule__GenerationTask__Group_3_4__0__Impl : ( 'scope' ) ; public final void rule__GenerationTask__Group_3_4__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:9355:1: ( ( 'scope' ) ) - // InternalApplicationConfiguration.g:9356:1: ( 'scope' ) + // InternalApplicationConfiguration.g:8802:1: ( ( 'scope' ) ) + // InternalApplicationConfiguration.g:8803:1: ( 'scope' ) { - // InternalApplicationConfiguration.g:9356:1: ( 'scope' ) - // InternalApplicationConfiguration.g:9357:2: 'scope' + // InternalApplicationConfiguration.g:8803:1: ( 'scope' ) + // InternalApplicationConfiguration.g:8804:2: 'scope' { before(grammarAccess.getGenerationTaskAccess().getScopeKeyword_3_4_0()); - match(input,55,FOLLOW_2); + match(input,52,FOLLOW_2); after(grammarAccess.getGenerationTaskAccess().getScopeKeyword_3_4_0()); } @@ -29024,16 +27311,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_4__1" - // InternalApplicationConfiguration.g:9366:1: rule__GenerationTask__Group_3_4__1 : rule__GenerationTask__Group_3_4__1__Impl rule__GenerationTask__Group_3_4__2 ; + // InternalApplicationConfiguration.g:8813:1: rule__GenerationTask__Group_3_4__1 : rule__GenerationTask__Group_3_4__1__Impl rule__GenerationTask__Group_3_4__2 ; public final void rule__GenerationTask__Group_3_4__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:9370:1: ( rule__GenerationTask__Group_3_4__1__Impl rule__GenerationTask__Group_3_4__2 ) - // InternalApplicationConfiguration.g:9371:2: rule__GenerationTask__Group_3_4__1__Impl rule__GenerationTask__Group_3_4__2 + // InternalApplicationConfiguration.g:8817:1: ( rule__GenerationTask__Group_3_4__1__Impl rule__GenerationTask__Group_3_4__2 ) + // InternalApplicationConfiguration.g:8818:2: rule__GenerationTask__Group_3_4__1__Impl rule__GenerationTask__Group_3_4__2 { - pushFollow(FOLLOW_47); + pushFollow(FOLLOW_45); rule__GenerationTask__Group_3_4__1__Impl(); state._fsp--; @@ -29062,20 +27349,20 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_4__1__Impl" - // InternalApplicationConfiguration.g:9378:1: rule__GenerationTask__Group_3_4__1__Impl : ( '=' ) ; + // InternalApplicationConfiguration.g:8825:1: rule__GenerationTask__Group_3_4__1__Impl : ( '=' ) ; public final void rule__GenerationTask__Group_3_4__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:9382:1: ( ( '=' ) ) - // InternalApplicationConfiguration.g:9383:1: ( '=' ) + // InternalApplicationConfiguration.g:8829:1: ( ( '=' ) ) + // InternalApplicationConfiguration.g:8830:1: ( '=' ) { - // InternalApplicationConfiguration.g:9383:1: ( '=' ) - // InternalApplicationConfiguration.g:9384:2: '=' + // InternalApplicationConfiguration.g:8830:1: ( '=' ) + // InternalApplicationConfiguration.g:8831:2: '=' { before(grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_4_1()); - match(input,30,FOLLOW_2); + match(input,29,FOLLOW_2); after(grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_4_1()); } @@ -29099,14 +27386,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_4__2" - // InternalApplicationConfiguration.g:9393:1: rule__GenerationTask__Group_3_4__2 : rule__GenerationTask__Group_3_4__2__Impl ; + // InternalApplicationConfiguration.g:8840:1: rule__GenerationTask__Group_3_4__2 : rule__GenerationTask__Group_3_4__2__Impl ; public final void rule__GenerationTask__Group_3_4__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:9397:1: ( rule__GenerationTask__Group_3_4__2__Impl ) - // InternalApplicationConfiguration.g:9398:2: rule__GenerationTask__Group_3_4__2__Impl + // InternalApplicationConfiguration.g:8844:1: ( rule__GenerationTask__Group_3_4__2__Impl ) + // InternalApplicationConfiguration.g:8845:2: rule__GenerationTask__Group_3_4__2__Impl { pushFollow(FOLLOW_2); rule__GenerationTask__Group_3_4__2__Impl(); @@ -29132,21 +27419,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_4__2__Impl" - // InternalApplicationConfiguration.g:9404:1: rule__GenerationTask__Group_3_4__2__Impl : ( ( rule__GenerationTask__ScopeAssignment_3_4_2 ) ) ; + // InternalApplicationConfiguration.g:8851:1: rule__GenerationTask__Group_3_4__2__Impl : ( ( rule__GenerationTask__ScopeAssignment_3_4_2 ) ) ; public final void rule__GenerationTask__Group_3_4__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:9408:1: ( ( ( rule__GenerationTask__ScopeAssignment_3_4_2 ) ) ) - // InternalApplicationConfiguration.g:9409:1: ( ( rule__GenerationTask__ScopeAssignment_3_4_2 ) ) + // InternalApplicationConfiguration.g:8855:1: ( ( ( rule__GenerationTask__ScopeAssignment_3_4_2 ) ) ) + // InternalApplicationConfiguration.g:8856:1: ( ( rule__GenerationTask__ScopeAssignment_3_4_2 ) ) { - // InternalApplicationConfiguration.g:9409:1: ( ( rule__GenerationTask__ScopeAssignment_3_4_2 ) ) - // InternalApplicationConfiguration.g:9410:2: ( rule__GenerationTask__ScopeAssignment_3_4_2 ) + // InternalApplicationConfiguration.g:8856:1: ( ( rule__GenerationTask__ScopeAssignment_3_4_2 ) ) + // InternalApplicationConfiguration.g:8857:2: ( rule__GenerationTask__ScopeAssignment_3_4_2 ) { before(grammarAccess.getGenerationTaskAccess().getScopeAssignment_3_4_2()); - // InternalApplicationConfiguration.g:9411:2: ( rule__GenerationTask__ScopeAssignment_3_4_2 ) - // InternalApplicationConfiguration.g:9411:3: rule__GenerationTask__ScopeAssignment_3_4_2 + // InternalApplicationConfiguration.g:8858:2: ( rule__GenerationTask__ScopeAssignment_3_4_2 ) + // InternalApplicationConfiguration.g:8858:3: rule__GenerationTask__ScopeAssignment_3_4_2 { pushFollow(FOLLOW_2); rule__GenerationTask__ScopeAssignment_3_4_2(); @@ -29179,16 +27466,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_5__0" - // InternalApplicationConfiguration.g:9420:1: rule__GenerationTask__Group_3_5__0 : rule__GenerationTask__Group_3_5__0__Impl rule__GenerationTask__Group_3_5__1 ; + // InternalApplicationConfiguration.g:8867:1: rule__GenerationTask__Group_3_5__0 : rule__GenerationTask__Group_3_5__0__Impl rule__GenerationTask__Group_3_5__1 ; public final void rule__GenerationTask__Group_3_5__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:9424:1: ( rule__GenerationTask__Group_3_5__0__Impl rule__GenerationTask__Group_3_5__1 ) - // InternalApplicationConfiguration.g:9425:2: rule__GenerationTask__Group_3_5__0__Impl rule__GenerationTask__Group_3_5__1 + // InternalApplicationConfiguration.g:8871:1: ( rule__GenerationTask__Group_3_5__0__Impl rule__GenerationTask__Group_3_5__1 ) + // InternalApplicationConfiguration.g:8872:2: rule__GenerationTask__Group_3_5__0__Impl rule__GenerationTask__Group_3_5__1 { - pushFollow(FOLLOW_14); + pushFollow(FOLLOW_13); rule__GenerationTask__Group_3_5__0__Impl(); state._fsp--; @@ -29217,21 +27504,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_5__0__Impl" - // InternalApplicationConfiguration.g:9432:1: rule__GenerationTask__Group_3_5__0__Impl : ( ( rule__GenerationTask__NumberSpecifiedAssignment_3_5_0 ) ) ; + // InternalApplicationConfiguration.g:8879:1: rule__GenerationTask__Group_3_5__0__Impl : ( ( rule__GenerationTask__NumberSpecifiedAssignment_3_5_0 ) ) ; public final void rule__GenerationTask__Group_3_5__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:9436:1: ( ( ( rule__GenerationTask__NumberSpecifiedAssignment_3_5_0 ) ) ) - // InternalApplicationConfiguration.g:9437:1: ( ( rule__GenerationTask__NumberSpecifiedAssignment_3_5_0 ) ) + // InternalApplicationConfiguration.g:8883:1: ( ( ( rule__GenerationTask__NumberSpecifiedAssignment_3_5_0 ) ) ) + // InternalApplicationConfiguration.g:8884:1: ( ( rule__GenerationTask__NumberSpecifiedAssignment_3_5_0 ) ) { - // InternalApplicationConfiguration.g:9437:1: ( ( rule__GenerationTask__NumberSpecifiedAssignment_3_5_0 ) ) - // InternalApplicationConfiguration.g:9438:2: ( rule__GenerationTask__NumberSpecifiedAssignment_3_5_0 ) + // InternalApplicationConfiguration.g:8884:1: ( ( rule__GenerationTask__NumberSpecifiedAssignment_3_5_0 ) ) + // InternalApplicationConfiguration.g:8885:2: ( rule__GenerationTask__NumberSpecifiedAssignment_3_5_0 ) { before(grammarAccess.getGenerationTaskAccess().getNumberSpecifiedAssignment_3_5_0()); - // InternalApplicationConfiguration.g:9439:2: ( rule__GenerationTask__NumberSpecifiedAssignment_3_5_0 ) - // InternalApplicationConfiguration.g:9439:3: rule__GenerationTask__NumberSpecifiedAssignment_3_5_0 + // InternalApplicationConfiguration.g:8886:2: ( rule__GenerationTask__NumberSpecifiedAssignment_3_5_0 ) + // InternalApplicationConfiguration.g:8886:3: rule__GenerationTask__NumberSpecifiedAssignment_3_5_0 { pushFollow(FOLLOW_2); rule__GenerationTask__NumberSpecifiedAssignment_3_5_0(); @@ -29264,14 +27551,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_5__1" - // InternalApplicationConfiguration.g:9447:1: rule__GenerationTask__Group_3_5__1 : rule__GenerationTask__Group_3_5__1__Impl rule__GenerationTask__Group_3_5__2 ; + // InternalApplicationConfiguration.g:8894:1: rule__GenerationTask__Group_3_5__1 : rule__GenerationTask__Group_3_5__1__Impl rule__GenerationTask__Group_3_5__2 ; public final void rule__GenerationTask__Group_3_5__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:9451:1: ( rule__GenerationTask__Group_3_5__1__Impl rule__GenerationTask__Group_3_5__2 ) - // InternalApplicationConfiguration.g:9452:2: rule__GenerationTask__Group_3_5__1__Impl rule__GenerationTask__Group_3_5__2 + // InternalApplicationConfiguration.g:8898:1: ( rule__GenerationTask__Group_3_5__1__Impl rule__GenerationTask__Group_3_5__2 ) + // InternalApplicationConfiguration.g:8899:2: rule__GenerationTask__Group_3_5__1__Impl rule__GenerationTask__Group_3_5__2 { pushFollow(FOLLOW_9); rule__GenerationTask__Group_3_5__1__Impl(); @@ -29302,20 +27589,20 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_5__1__Impl" - // InternalApplicationConfiguration.g:9459:1: rule__GenerationTask__Group_3_5__1__Impl : ( '=' ) ; + // InternalApplicationConfiguration.g:8906:1: rule__GenerationTask__Group_3_5__1__Impl : ( '=' ) ; public final void rule__GenerationTask__Group_3_5__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:9463:1: ( ( '=' ) ) - // InternalApplicationConfiguration.g:9464:1: ( '=' ) + // InternalApplicationConfiguration.g:8910:1: ( ( '=' ) ) + // InternalApplicationConfiguration.g:8911:1: ( '=' ) { - // InternalApplicationConfiguration.g:9464:1: ( '=' ) - // InternalApplicationConfiguration.g:9465:2: '=' + // InternalApplicationConfiguration.g:8911:1: ( '=' ) + // InternalApplicationConfiguration.g:8912:2: '=' { before(grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_5_1()); - match(input,30,FOLLOW_2); + match(input,29,FOLLOW_2); after(grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_5_1()); } @@ -29339,14 +27626,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_5__2" - // InternalApplicationConfiguration.g:9474:1: rule__GenerationTask__Group_3_5__2 : rule__GenerationTask__Group_3_5__2__Impl ; + // InternalApplicationConfiguration.g:8921:1: rule__GenerationTask__Group_3_5__2 : rule__GenerationTask__Group_3_5__2__Impl ; public final void rule__GenerationTask__Group_3_5__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:9478:1: ( rule__GenerationTask__Group_3_5__2__Impl ) - // InternalApplicationConfiguration.g:9479:2: rule__GenerationTask__Group_3_5__2__Impl + // InternalApplicationConfiguration.g:8925:1: ( rule__GenerationTask__Group_3_5__2__Impl ) + // InternalApplicationConfiguration.g:8926:2: rule__GenerationTask__Group_3_5__2__Impl { pushFollow(FOLLOW_2); rule__GenerationTask__Group_3_5__2__Impl(); @@ -29372,21 +27659,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_5__2__Impl" - // InternalApplicationConfiguration.g:9485:1: rule__GenerationTask__Group_3_5__2__Impl : ( ( rule__GenerationTask__NumberAssignment_3_5_2 ) ) ; + // InternalApplicationConfiguration.g:8932:1: rule__GenerationTask__Group_3_5__2__Impl : ( ( rule__GenerationTask__NumberAssignment_3_5_2 ) ) ; public final void rule__GenerationTask__Group_3_5__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:9489:1: ( ( ( rule__GenerationTask__NumberAssignment_3_5_2 ) ) ) - // InternalApplicationConfiguration.g:9490:1: ( ( rule__GenerationTask__NumberAssignment_3_5_2 ) ) + // InternalApplicationConfiguration.g:8936:1: ( ( ( rule__GenerationTask__NumberAssignment_3_5_2 ) ) ) + // InternalApplicationConfiguration.g:8937:1: ( ( rule__GenerationTask__NumberAssignment_3_5_2 ) ) { - // InternalApplicationConfiguration.g:9490:1: ( ( rule__GenerationTask__NumberAssignment_3_5_2 ) ) - // InternalApplicationConfiguration.g:9491:2: ( rule__GenerationTask__NumberAssignment_3_5_2 ) + // InternalApplicationConfiguration.g:8937:1: ( ( rule__GenerationTask__NumberAssignment_3_5_2 ) ) + // InternalApplicationConfiguration.g:8938:2: ( rule__GenerationTask__NumberAssignment_3_5_2 ) { before(grammarAccess.getGenerationTaskAccess().getNumberAssignment_3_5_2()); - // InternalApplicationConfiguration.g:9492:2: ( rule__GenerationTask__NumberAssignment_3_5_2 ) - // InternalApplicationConfiguration.g:9492:3: rule__GenerationTask__NumberAssignment_3_5_2 + // InternalApplicationConfiguration.g:8939:2: ( rule__GenerationTask__NumberAssignment_3_5_2 ) + // InternalApplicationConfiguration.g:8939:3: rule__GenerationTask__NumberAssignment_3_5_2 { pushFollow(FOLLOW_2); rule__GenerationTask__NumberAssignment_3_5_2(); @@ -29419,16 +27706,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_6__0" - // InternalApplicationConfiguration.g:9501:1: rule__GenerationTask__Group_3_6__0 : rule__GenerationTask__Group_3_6__0__Impl rule__GenerationTask__Group_3_6__1 ; + // InternalApplicationConfiguration.g:8948:1: rule__GenerationTask__Group_3_6__0 : rule__GenerationTask__Group_3_6__0__Impl rule__GenerationTask__Group_3_6__1 ; public final void rule__GenerationTask__Group_3_6__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:9505:1: ( rule__GenerationTask__Group_3_6__0__Impl rule__GenerationTask__Group_3_6__1 ) - // InternalApplicationConfiguration.g:9506:2: rule__GenerationTask__Group_3_6__0__Impl rule__GenerationTask__Group_3_6__1 + // InternalApplicationConfiguration.g:8952:1: ( rule__GenerationTask__Group_3_6__0__Impl rule__GenerationTask__Group_3_6__1 ) + // InternalApplicationConfiguration.g:8953:2: rule__GenerationTask__Group_3_6__0__Impl rule__GenerationTask__Group_3_6__1 { - pushFollow(FOLLOW_14); + pushFollow(FOLLOW_13); rule__GenerationTask__Group_3_6__0__Impl(); state._fsp--; @@ -29457,21 +27744,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_6__0__Impl" - // InternalApplicationConfiguration.g:9513:1: rule__GenerationTask__Group_3_6__0__Impl : ( ( rule__GenerationTask__RunSpecifiedAssignment_3_6_0 ) ) ; + // InternalApplicationConfiguration.g:8960:1: rule__GenerationTask__Group_3_6__0__Impl : ( ( rule__GenerationTask__RunSpecifiedAssignment_3_6_0 ) ) ; public final void rule__GenerationTask__Group_3_6__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:9517:1: ( ( ( rule__GenerationTask__RunSpecifiedAssignment_3_6_0 ) ) ) - // InternalApplicationConfiguration.g:9518:1: ( ( rule__GenerationTask__RunSpecifiedAssignment_3_6_0 ) ) + // InternalApplicationConfiguration.g:8964:1: ( ( ( rule__GenerationTask__RunSpecifiedAssignment_3_6_0 ) ) ) + // InternalApplicationConfiguration.g:8965:1: ( ( rule__GenerationTask__RunSpecifiedAssignment_3_6_0 ) ) { - // InternalApplicationConfiguration.g:9518:1: ( ( rule__GenerationTask__RunSpecifiedAssignment_3_6_0 ) ) - // InternalApplicationConfiguration.g:9519:2: ( rule__GenerationTask__RunSpecifiedAssignment_3_6_0 ) + // InternalApplicationConfiguration.g:8965:1: ( ( rule__GenerationTask__RunSpecifiedAssignment_3_6_0 ) ) + // InternalApplicationConfiguration.g:8966:2: ( rule__GenerationTask__RunSpecifiedAssignment_3_6_0 ) { before(grammarAccess.getGenerationTaskAccess().getRunSpecifiedAssignment_3_6_0()); - // InternalApplicationConfiguration.g:9520:2: ( rule__GenerationTask__RunSpecifiedAssignment_3_6_0 ) - // InternalApplicationConfiguration.g:9520:3: rule__GenerationTask__RunSpecifiedAssignment_3_6_0 + // InternalApplicationConfiguration.g:8967:2: ( rule__GenerationTask__RunSpecifiedAssignment_3_6_0 ) + // InternalApplicationConfiguration.g:8967:3: rule__GenerationTask__RunSpecifiedAssignment_3_6_0 { pushFollow(FOLLOW_2); rule__GenerationTask__RunSpecifiedAssignment_3_6_0(); @@ -29504,14 +27791,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_6__1" - // InternalApplicationConfiguration.g:9528:1: rule__GenerationTask__Group_3_6__1 : rule__GenerationTask__Group_3_6__1__Impl rule__GenerationTask__Group_3_6__2 ; + // InternalApplicationConfiguration.g:8975:1: rule__GenerationTask__Group_3_6__1 : rule__GenerationTask__Group_3_6__1__Impl rule__GenerationTask__Group_3_6__2 ; public final void rule__GenerationTask__Group_3_6__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:9532:1: ( rule__GenerationTask__Group_3_6__1__Impl rule__GenerationTask__Group_3_6__2 ) - // InternalApplicationConfiguration.g:9533:2: rule__GenerationTask__Group_3_6__1__Impl rule__GenerationTask__Group_3_6__2 + // InternalApplicationConfiguration.g:8979:1: ( rule__GenerationTask__Group_3_6__1__Impl rule__GenerationTask__Group_3_6__2 ) + // InternalApplicationConfiguration.g:8980:2: rule__GenerationTask__Group_3_6__1__Impl rule__GenerationTask__Group_3_6__2 { pushFollow(FOLLOW_9); rule__GenerationTask__Group_3_6__1__Impl(); @@ -29542,20 +27829,20 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_6__1__Impl" - // InternalApplicationConfiguration.g:9540:1: rule__GenerationTask__Group_3_6__1__Impl : ( '=' ) ; + // InternalApplicationConfiguration.g:8987:1: rule__GenerationTask__Group_3_6__1__Impl : ( '=' ) ; public final void rule__GenerationTask__Group_3_6__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:9544:1: ( ( '=' ) ) - // InternalApplicationConfiguration.g:9545:1: ( '=' ) + // InternalApplicationConfiguration.g:8991:1: ( ( '=' ) ) + // InternalApplicationConfiguration.g:8992:1: ( '=' ) { - // InternalApplicationConfiguration.g:9545:1: ( '=' ) - // InternalApplicationConfiguration.g:9546:2: '=' + // InternalApplicationConfiguration.g:8992:1: ( '=' ) + // InternalApplicationConfiguration.g:8993:2: '=' { before(grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_6_1()); - match(input,30,FOLLOW_2); + match(input,29,FOLLOW_2); after(grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_6_1()); } @@ -29579,14 +27866,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_6__2" - // InternalApplicationConfiguration.g:9555:1: rule__GenerationTask__Group_3_6__2 : rule__GenerationTask__Group_3_6__2__Impl ; + // InternalApplicationConfiguration.g:9002:1: rule__GenerationTask__Group_3_6__2 : rule__GenerationTask__Group_3_6__2__Impl ; public final void rule__GenerationTask__Group_3_6__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:9559:1: ( rule__GenerationTask__Group_3_6__2__Impl ) - // InternalApplicationConfiguration.g:9560:2: rule__GenerationTask__Group_3_6__2__Impl + // InternalApplicationConfiguration.g:9006:1: ( rule__GenerationTask__Group_3_6__2__Impl ) + // InternalApplicationConfiguration.g:9007:2: rule__GenerationTask__Group_3_6__2__Impl { pushFollow(FOLLOW_2); rule__GenerationTask__Group_3_6__2__Impl(); @@ -29612,21 +27899,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_6__2__Impl" - // InternalApplicationConfiguration.g:9566:1: rule__GenerationTask__Group_3_6__2__Impl : ( ( rule__GenerationTask__RunsAssignment_3_6_2 ) ) ; + // InternalApplicationConfiguration.g:9013:1: rule__GenerationTask__Group_3_6__2__Impl : ( ( rule__GenerationTask__RunsAssignment_3_6_2 ) ) ; public final void rule__GenerationTask__Group_3_6__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:9570:1: ( ( ( rule__GenerationTask__RunsAssignment_3_6_2 ) ) ) - // InternalApplicationConfiguration.g:9571:1: ( ( rule__GenerationTask__RunsAssignment_3_6_2 ) ) + // InternalApplicationConfiguration.g:9017:1: ( ( ( rule__GenerationTask__RunsAssignment_3_6_2 ) ) ) + // InternalApplicationConfiguration.g:9018:1: ( ( rule__GenerationTask__RunsAssignment_3_6_2 ) ) { - // InternalApplicationConfiguration.g:9571:1: ( ( rule__GenerationTask__RunsAssignment_3_6_2 ) ) - // InternalApplicationConfiguration.g:9572:2: ( rule__GenerationTask__RunsAssignment_3_6_2 ) + // InternalApplicationConfiguration.g:9018:1: ( ( rule__GenerationTask__RunsAssignment_3_6_2 ) ) + // InternalApplicationConfiguration.g:9019:2: ( rule__GenerationTask__RunsAssignment_3_6_2 ) { before(grammarAccess.getGenerationTaskAccess().getRunsAssignment_3_6_2()); - // InternalApplicationConfiguration.g:9573:2: ( rule__GenerationTask__RunsAssignment_3_6_2 ) - // InternalApplicationConfiguration.g:9573:3: rule__GenerationTask__RunsAssignment_3_6_2 + // InternalApplicationConfiguration.g:9020:2: ( rule__GenerationTask__RunsAssignment_3_6_2 ) + // InternalApplicationConfiguration.g:9020:3: rule__GenerationTask__RunsAssignment_3_6_2 { pushFollow(FOLLOW_2); rule__GenerationTask__RunsAssignment_3_6_2(); @@ -29659,16 +27946,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_7__0" - // InternalApplicationConfiguration.g:9582:1: rule__GenerationTask__Group_3_7__0 : rule__GenerationTask__Group_3_7__0__Impl rule__GenerationTask__Group_3_7__1 ; + // InternalApplicationConfiguration.g:9029:1: rule__GenerationTask__Group_3_7__0 : rule__GenerationTask__Group_3_7__0__Impl rule__GenerationTask__Group_3_7__1 ; public final void rule__GenerationTask__Group_3_7__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:9586:1: ( rule__GenerationTask__Group_3_7__0__Impl rule__GenerationTask__Group_3_7__1 ) - // InternalApplicationConfiguration.g:9587:2: rule__GenerationTask__Group_3_7__0__Impl rule__GenerationTask__Group_3_7__1 + // InternalApplicationConfiguration.g:9033:1: ( rule__GenerationTask__Group_3_7__0__Impl rule__GenerationTask__Group_3_7__1 ) + // InternalApplicationConfiguration.g:9034:2: rule__GenerationTask__Group_3_7__0__Impl rule__GenerationTask__Group_3_7__1 { - pushFollow(FOLLOW_14); + pushFollow(FOLLOW_13); rule__GenerationTask__Group_3_7__0__Impl(); state._fsp--; @@ -29697,20 +27984,20 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_7__0__Impl" - // InternalApplicationConfiguration.g:9594:1: rule__GenerationTask__Group_3_7__0__Impl : ( 'solver' ) ; + // InternalApplicationConfiguration.g:9041:1: rule__GenerationTask__Group_3_7__0__Impl : ( 'solver' ) ; public final void rule__GenerationTask__Group_3_7__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:9598:1: ( ( 'solver' ) ) - // InternalApplicationConfiguration.g:9599:1: ( 'solver' ) + // InternalApplicationConfiguration.g:9045:1: ( ( 'solver' ) ) + // InternalApplicationConfiguration.g:9046:1: ( 'solver' ) { - // InternalApplicationConfiguration.g:9599:1: ( 'solver' ) - // InternalApplicationConfiguration.g:9600:2: 'solver' + // InternalApplicationConfiguration.g:9046:1: ( 'solver' ) + // InternalApplicationConfiguration.g:9047:2: 'solver' { before(grammarAccess.getGenerationTaskAccess().getSolverKeyword_3_7_0()); - match(input,58,FOLLOW_2); + match(input,55,FOLLOW_2); after(grammarAccess.getGenerationTaskAccess().getSolverKeyword_3_7_0()); } @@ -29734,16 +28021,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_7__1" - // InternalApplicationConfiguration.g:9609:1: rule__GenerationTask__Group_3_7__1 : rule__GenerationTask__Group_3_7__1__Impl rule__GenerationTask__Group_3_7__2 ; + // InternalApplicationConfiguration.g:9056:1: rule__GenerationTask__Group_3_7__1 : rule__GenerationTask__Group_3_7__1__Impl rule__GenerationTask__Group_3_7__2 ; public final void rule__GenerationTask__Group_3_7__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:9613:1: ( rule__GenerationTask__Group_3_7__1__Impl rule__GenerationTask__Group_3_7__2 ) - // InternalApplicationConfiguration.g:9614:2: rule__GenerationTask__Group_3_7__1__Impl rule__GenerationTask__Group_3_7__2 + // InternalApplicationConfiguration.g:9060:1: ( rule__GenerationTask__Group_3_7__1__Impl rule__GenerationTask__Group_3_7__2 ) + // InternalApplicationConfiguration.g:9061:2: rule__GenerationTask__Group_3_7__1__Impl rule__GenerationTask__Group_3_7__2 { - pushFollow(FOLLOW_48); + pushFollow(FOLLOW_46); rule__GenerationTask__Group_3_7__1__Impl(); state._fsp--; @@ -29772,20 +28059,20 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_7__1__Impl" - // InternalApplicationConfiguration.g:9621:1: rule__GenerationTask__Group_3_7__1__Impl : ( '=' ) ; + // InternalApplicationConfiguration.g:9068:1: rule__GenerationTask__Group_3_7__1__Impl : ( '=' ) ; public final void rule__GenerationTask__Group_3_7__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:9625:1: ( ( '=' ) ) - // InternalApplicationConfiguration.g:9626:1: ( '=' ) + // InternalApplicationConfiguration.g:9072:1: ( ( '=' ) ) + // InternalApplicationConfiguration.g:9073:1: ( '=' ) { - // InternalApplicationConfiguration.g:9626:1: ( '=' ) - // InternalApplicationConfiguration.g:9627:2: '=' + // InternalApplicationConfiguration.g:9073:1: ( '=' ) + // InternalApplicationConfiguration.g:9074:2: '=' { before(grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_7_1()); - match(input,30,FOLLOW_2); + match(input,29,FOLLOW_2); after(grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_7_1()); } @@ -29809,14 +28096,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_7__2" - // InternalApplicationConfiguration.g:9636:1: rule__GenerationTask__Group_3_7__2 : rule__GenerationTask__Group_3_7__2__Impl ; + // InternalApplicationConfiguration.g:9083:1: rule__GenerationTask__Group_3_7__2 : rule__GenerationTask__Group_3_7__2__Impl ; public final void rule__GenerationTask__Group_3_7__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:9640:1: ( rule__GenerationTask__Group_3_7__2__Impl ) - // InternalApplicationConfiguration.g:9641:2: rule__GenerationTask__Group_3_7__2__Impl + // InternalApplicationConfiguration.g:9087:1: ( rule__GenerationTask__Group_3_7__2__Impl ) + // InternalApplicationConfiguration.g:9088:2: rule__GenerationTask__Group_3_7__2__Impl { pushFollow(FOLLOW_2); rule__GenerationTask__Group_3_7__2__Impl(); @@ -29842,21 +28129,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_7__2__Impl" - // InternalApplicationConfiguration.g:9647:1: rule__GenerationTask__Group_3_7__2__Impl : ( ( rule__GenerationTask__SolverAssignment_3_7_2 ) ) ; + // InternalApplicationConfiguration.g:9094:1: rule__GenerationTask__Group_3_7__2__Impl : ( ( rule__GenerationTask__SolverAssignment_3_7_2 ) ) ; public final void rule__GenerationTask__Group_3_7__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:9651:1: ( ( ( rule__GenerationTask__SolverAssignment_3_7_2 ) ) ) - // InternalApplicationConfiguration.g:9652:1: ( ( rule__GenerationTask__SolverAssignment_3_7_2 ) ) + // InternalApplicationConfiguration.g:9098:1: ( ( ( rule__GenerationTask__SolverAssignment_3_7_2 ) ) ) + // InternalApplicationConfiguration.g:9099:1: ( ( rule__GenerationTask__SolverAssignment_3_7_2 ) ) { - // InternalApplicationConfiguration.g:9652:1: ( ( rule__GenerationTask__SolverAssignment_3_7_2 ) ) - // InternalApplicationConfiguration.g:9653:2: ( rule__GenerationTask__SolverAssignment_3_7_2 ) + // InternalApplicationConfiguration.g:9099:1: ( ( rule__GenerationTask__SolverAssignment_3_7_2 ) ) + // InternalApplicationConfiguration.g:9100:2: ( rule__GenerationTask__SolverAssignment_3_7_2 ) { before(grammarAccess.getGenerationTaskAccess().getSolverAssignment_3_7_2()); - // InternalApplicationConfiguration.g:9654:2: ( rule__GenerationTask__SolverAssignment_3_7_2 ) - // InternalApplicationConfiguration.g:9654:3: rule__GenerationTask__SolverAssignment_3_7_2 + // InternalApplicationConfiguration.g:9101:2: ( rule__GenerationTask__SolverAssignment_3_7_2 ) + // InternalApplicationConfiguration.g:9101:3: rule__GenerationTask__SolverAssignment_3_7_2 { pushFollow(FOLLOW_2); rule__GenerationTask__SolverAssignment_3_7_2(); @@ -29889,16 +28176,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_8__0" - // InternalApplicationConfiguration.g:9663:1: rule__GenerationTask__Group_3_8__0 : rule__GenerationTask__Group_3_8__0__Impl rule__GenerationTask__Group_3_8__1 ; + // InternalApplicationConfiguration.g:9110:1: rule__GenerationTask__Group_3_8__0 : rule__GenerationTask__Group_3_8__0__Impl rule__GenerationTask__Group_3_8__1 ; public final void rule__GenerationTask__Group_3_8__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:9667:1: ( rule__GenerationTask__Group_3_8__0__Impl rule__GenerationTask__Group_3_8__1 ) - // InternalApplicationConfiguration.g:9668:2: rule__GenerationTask__Group_3_8__0__Impl rule__GenerationTask__Group_3_8__1 + // InternalApplicationConfiguration.g:9114:1: ( rule__GenerationTask__Group_3_8__0__Impl rule__GenerationTask__Group_3_8__1 ) + // InternalApplicationConfiguration.g:9115:2: rule__GenerationTask__Group_3_8__0__Impl rule__GenerationTask__Group_3_8__1 { - pushFollow(FOLLOW_14); + pushFollow(FOLLOW_13); rule__GenerationTask__Group_3_8__0__Impl(); state._fsp--; @@ -29927,20 +28214,20 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_8__0__Impl" - // InternalApplicationConfiguration.g:9675:1: rule__GenerationTask__Group_3_8__0__Impl : ( 'config' ) ; + // InternalApplicationConfiguration.g:9122:1: rule__GenerationTask__Group_3_8__0__Impl : ( 'config' ) ; public final void rule__GenerationTask__Group_3_8__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:9679:1: ( ( 'config' ) ) - // InternalApplicationConfiguration.g:9680:1: ( 'config' ) + // InternalApplicationConfiguration.g:9126:1: ( ( 'config' ) ) + // InternalApplicationConfiguration.g:9127:1: ( 'config' ) { - // InternalApplicationConfiguration.g:9680:1: ( 'config' ) - // InternalApplicationConfiguration.g:9681:2: 'config' + // InternalApplicationConfiguration.g:9127:1: ( 'config' ) + // InternalApplicationConfiguration.g:9128:2: 'config' { before(grammarAccess.getGenerationTaskAccess().getConfigKeyword_3_8_0()); - match(input,45,FOLLOW_2); + match(input,42,FOLLOW_2); after(grammarAccess.getGenerationTaskAccess().getConfigKeyword_3_8_0()); } @@ -29964,16 +28251,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_8__1" - // InternalApplicationConfiguration.g:9690:1: rule__GenerationTask__Group_3_8__1 : rule__GenerationTask__Group_3_8__1__Impl rule__GenerationTask__Group_3_8__2 ; + // InternalApplicationConfiguration.g:9137:1: rule__GenerationTask__Group_3_8__1 : rule__GenerationTask__Group_3_8__1__Impl rule__GenerationTask__Group_3_8__2 ; public final void rule__GenerationTask__Group_3_8__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:9694:1: ( rule__GenerationTask__Group_3_8__1__Impl rule__GenerationTask__Group_3_8__2 ) - // InternalApplicationConfiguration.g:9695:2: rule__GenerationTask__Group_3_8__1__Impl rule__GenerationTask__Group_3_8__2 + // InternalApplicationConfiguration.g:9141:1: ( rule__GenerationTask__Group_3_8__1__Impl rule__GenerationTask__Group_3_8__2 ) + // InternalApplicationConfiguration.g:9142:2: rule__GenerationTask__Group_3_8__1__Impl rule__GenerationTask__Group_3_8__2 { - pushFollow(FOLLOW_47); + pushFollow(FOLLOW_45); rule__GenerationTask__Group_3_8__1__Impl(); state._fsp--; @@ -30002,20 +28289,20 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_8__1__Impl" - // InternalApplicationConfiguration.g:9702:1: rule__GenerationTask__Group_3_8__1__Impl : ( '=' ) ; + // InternalApplicationConfiguration.g:9149:1: rule__GenerationTask__Group_3_8__1__Impl : ( '=' ) ; public final void rule__GenerationTask__Group_3_8__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:9706:1: ( ( '=' ) ) - // InternalApplicationConfiguration.g:9707:1: ( '=' ) + // InternalApplicationConfiguration.g:9153:1: ( ( '=' ) ) + // InternalApplicationConfiguration.g:9154:1: ( '=' ) { - // InternalApplicationConfiguration.g:9707:1: ( '=' ) - // InternalApplicationConfiguration.g:9708:2: '=' + // InternalApplicationConfiguration.g:9154:1: ( '=' ) + // InternalApplicationConfiguration.g:9155:2: '=' { before(grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_8_1()); - match(input,30,FOLLOW_2); + match(input,29,FOLLOW_2); after(grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_8_1()); } @@ -30039,14 +28326,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_8__2" - // InternalApplicationConfiguration.g:9717:1: rule__GenerationTask__Group_3_8__2 : rule__GenerationTask__Group_3_8__2__Impl ; + // InternalApplicationConfiguration.g:9164:1: rule__GenerationTask__Group_3_8__2 : rule__GenerationTask__Group_3_8__2__Impl ; public final void rule__GenerationTask__Group_3_8__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:9721:1: ( rule__GenerationTask__Group_3_8__2__Impl ) - // InternalApplicationConfiguration.g:9722:2: rule__GenerationTask__Group_3_8__2__Impl + // InternalApplicationConfiguration.g:9168:1: ( rule__GenerationTask__Group_3_8__2__Impl ) + // InternalApplicationConfiguration.g:9169:2: rule__GenerationTask__Group_3_8__2__Impl { pushFollow(FOLLOW_2); rule__GenerationTask__Group_3_8__2__Impl(); @@ -30072,21 +28359,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_8__2__Impl" - // InternalApplicationConfiguration.g:9728:1: rule__GenerationTask__Group_3_8__2__Impl : ( ( rule__GenerationTask__ConfigAssignment_3_8_2 ) ) ; + // InternalApplicationConfiguration.g:9175:1: rule__GenerationTask__Group_3_8__2__Impl : ( ( rule__GenerationTask__ConfigAssignment_3_8_2 ) ) ; public final void rule__GenerationTask__Group_3_8__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:9732:1: ( ( ( rule__GenerationTask__ConfigAssignment_3_8_2 ) ) ) - // InternalApplicationConfiguration.g:9733:1: ( ( rule__GenerationTask__ConfigAssignment_3_8_2 ) ) + // InternalApplicationConfiguration.g:9179:1: ( ( ( rule__GenerationTask__ConfigAssignment_3_8_2 ) ) ) + // InternalApplicationConfiguration.g:9180:1: ( ( rule__GenerationTask__ConfigAssignment_3_8_2 ) ) { - // InternalApplicationConfiguration.g:9733:1: ( ( rule__GenerationTask__ConfigAssignment_3_8_2 ) ) - // InternalApplicationConfiguration.g:9734:2: ( rule__GenerationTask__ConfigAssignment_3_8_2 ) + // InternalApplicationConfiguration.g:9180:1: ( ( rule__GenerationTask__ConfigAssignment_3_8_2 ) ) + // InternalApplicationConfiguration.g:9181:2: ( rule__GenerationTask__ConfigAssignment_3_8_2 ) { before(grammarAccess.getGenerationTaskAccess().getConfigAssignment_3_8_2()); - // InternalApplicationConfiguration.g:9735:2: ( rule__GenerationTask__ConfigAssignment_3_8_2 ) - // InternalApplicationConfiguration.g:9735:3: rule__GenerationTask__ConfigAssignment_3_8_2 + // InternalApplicationConfiguration.g:9182:2: ( rule__GenerationTask__ConfigAssignment_3_8_2 ) + // InternalApplicationConfiguration.g:9182:3: rule__GenerationTask__ConfigAssignment_3_8_2 { pushFollow(FOLLOW_2); rule__GenerationTask__ConfigAssignment_3_8_2(); @@ -30119,16 +28406,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_9__0" - // InternalApplicationConfiguration.g:9744:1: rule__GenerationTask__Group_3_9__0 : rule__GenerationTask__Group_3_9__0__Impl rule__GenerationTask__Group_3_9__1 ; + // InternalApplicationConfiguration.g:9191:1: rule__GenerationTask__Group_3_9__0 : rule__GenerationTask__Group_3_9__0__Impl rule__GenerationTask__Group_3_9__1 ; public final void rule__GenerationTask__Group_3_9__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:9748:1: ( rule__GenerationTask__Group_3_9__0__Impl rule__GenerationTask__Group_3_9__1 ) - // InternalApplicationConfiguration.g:9749:2: rule__GenerationTask__Group_3_9__0__Impl rule__GenerationTask__Group_3_9__1 + // InternalApplicationConfiguration.g:9195:1: ( rule__GenerationTask__Group_3_9__0__Impl rule__GenerationTask__Group_3_9__1 ) + // InternalApplicationConfiguration.g:9196:2: rule__GenerationTask__Group_3_9__0__Impl rule__GenerationTask__Group_3_9__1 { - pushFollow(FOLLOW_14); + pushFollow(FOLLOW_13); rule__GenerationTask__Group_3_9__0__Impl(); state._fsp--; @@ -30157,20 +28444,20 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_9__0__Impl" - // InternalApplicationConfiguration.g:9756:1: rule__GenerationTask__Group_3_9__0__Impl : ( 'debug' ) ; + // InternalApplicationConfiguration.g:9203:1: rule__GenerationTask__Group_3_9__0__Impl : ( 'debug' ) ; public final void rule__GenerationTask__Group_3_9__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:9760:1: ( ( 'debug' ) ) - // InternalApplicationConfiguration.g:9761:1: ( 'debug' ) + // InternalApplicationConfiguration.g:9207:1: ( ( 'debug' ) ) + // InternalApplicationConfiguration.g:9208:1: ( 'debug' ) { - // InternalApplicationConfiguration.g:9761:1: ( 'debug' ) - // InternalApplicationConfiguration.g:9762:2: 'debug' + // InternalApplicationConfiguration.g:9208:1: ( 'debug' ) + // InternalApplicationConfiguration.g:9209:2: 'debug' { before(grammarAccess.getGenerationTaskAccess().getDebugKeyword_3_9_0()); - match(input,59,FOLLOW_2); + match(input,56,FOLLOW_2); after(grammarAccess.getGenerationTaskAccess().getDebugKeyword_3_9_0()); } @@ -30194,16 +28481,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_9__1" - // InternalApplicationConfiguration.g:9771:1: rule__GenerationTask__Group_3_9__1 : rule__GenerationTask__Group_3_9__1__Impl rule__GenerationTask__Group_3_9__2 ; + // InternalApplicationConfiguration.g:9218:1: rule__GenerationTask__Group_3_9__1 : rule__GenerationTask__Group_3_9__1__Impl rule__GenerationTask__Group_3_9__2 ; public final void rule__GenerationTask__Group_3_9__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:9775:1: ( rule__GenerationTask__Group_3_9__1__Impl rule__GenerationTask__Group_3_9__2 ) - // InternalApplicationConfiguration.g:9776:2: rule__GenerationTask__Group_3_9__1__Impl rule__GenerationTask__Group_3_9__2 + // InternalApplicationConfiguration.g:9222:1: ( rule__GenerationTask__Group_3_9__1__Impl rule__GenerationTask__Group_3_9__2 ) + // InternalApplicationConfiguration.g:9223:2: rule__GenerationTask__Group_3_9__1__Impl rule__GenerationTask__Group_3_9__2 { - pushFollow(FOLLOW_22); + pushFollow(FOLLOW_21); rule__GenerationTask__Group_3_9__1__Impl(); state._fsp--; @@ -30232,20 +28519,20 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_9__1__Impl" - // InternalApplicationConfiguration.g:9783:1: rule__GenerationTask__Group_3_9__1__Impl : ( '=' ) ; + // InternalApplicationConfiguration.g:9230:1: rule__GenerationTask__Group_3_9__1__Impl : ( '=' ) ; public final void rule__GenerationTask__Group_3_9__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:9787:1: ( ( '=' ) ) - // InternalApplicationConfiguration.g:9788:1: ( '=' ) + // InternalApplicationConfiguration.g:9234:1: ( ( '=' ) ) + // InternalApplicationConfiguration.g:9235:1: ( '=' ) { - // InternalApplicationConfiguration.g:9788:1: ( '=' ) - // InternalApplicationConfiguration.g:9789:2: '=' + // InternalApplicationConfiguration.g:9235:1: ( '=' ) + // InternalApplicationConfiguration.g:9236:2: '=' { before(grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_9_1()); - match(input,30,FOLLOW_2); + match(input,29,FOLLOW_2); after(grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_9_1()); } @@ -30269,14 +28556,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_9__2" - // InternalApplicationConfiguration.g:9798:1: rule__GenerationTask__Group_3_9__2 : rule__GenerationTask__Group_3_9__2__Impl ; + // InternalApplicationConfiguration.g:9245:1: rule__GenerationTask__Group_3_9__2 : rule__GenerationTask__Group_3_9__2__Impl ; public final void rule__GenerationTask__Group_3_9__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:9802:1: ( rule__GenerationTask__Group_3_9__2__Impl ) - // InternalApplicationConfiguration.g:9803:2: rule__GenerationTask__Group_3_9__2__Impl + // InternalApplicationConfiguration.g:9249:1: ( rule__GenerationTask__Group_3_9__2__Impl ) + // InternalApplicationConfiguration.g:9250:2: rule__GenerationTask__Group_3_9__2__Impl { pushFollow(FOLLOW_2); rule__GenerationTask__Group_3_9__2__Impl(); @@ -30302,21 +28589,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_9__2__Impl" - // InternalApplicationConfiguration.g:9809:1: rule__GenerationTask__Group_3_9__2__Impl : ( ( rule__GenerationTask__DebugFolderAssignment_3_9_2 ) ) ; + // InternalApplicationConfiguration.g:9256:1: rule__GenerationTask__Group_3_9__2__Impl : ( ( rule__GenerationTask__DebugFolderAssignment_3_9_2 ) ) ; public final void rule__GenerationTask__Group_3_9__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:9813:1: ( ( ( rule__GenerationTask__DebugFolderAssignment_3_9_2 ) ) ) - // InternalApplicationConfiguration.g:9814:1: ( ( rule__GenerationTask__DebugFolderAssignment_3_9_2 ) ) + // InternalApplicationConfiguration.g:9260:1: ( ( ( rule__GenerationTask__DebugFolderAssignment_3_9_2 ) ) ) + // InternalApplicationConfiguration.g:9261:1: ( ( rule__GenerationTask__DebugFolderAssignment_3_9_2 ) ) { - // InternalApplicationConfiguration.g:9814:1: ( ( rule__GenerationTask__DebugFolderAssignment_3_9_2 ) ) - // InternalApplicationConfiguration.g:9815:2: ( rule__GenerationTask__DebugFolderAssignment_3_9_2 ) + // InternalApplicationConfiguration.g:9261:1: ( ( rule__GenerationTask__DebugFolderAssignment_3_9_2 ) ) + // InternalApplicationConfiguration.g:9262:2: ( rule__GenerationTask__DebugFolderAssignment_3_9_2 ) { before(grammarAccess.getGenerationTaskAccess().getDebugFolderAssignment_3_9_2()); - // InternalApplicationConfiguration.g:9816:2: ( rule__GenerationTask__DebugFolderAssignment_3_9_2 ) - // InternalApplicationConfiguration.g:9816:3: rule__GenerationTask__DebugFolderAssignment_3_9_2 + // InternalApplicationConfiguration.g:9263:2: ( rule__GenerationTask__DebugFolderAssignment_3_9_2 ) + // InternalApplicationConfiguration.g:9263:3: rule__GenerationTask__DebugFolderAssignment_3_9_2 { pushFollow(FOLLOW_2); rule__GenerationTask__DebugFolderAssignment_3_9_2(); @@ -30349,16 +28636,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_10__0" - // InternalApplicationConfiguration.g:9825:1: rule__GenerationTask__Group_3_10__0 : rule__GenerationTask__Group_3_10__0__Impl rule__GenerationTask__Group_3_10__1 ; + // InternalApplicationConfiguration.g:9272:1: rule__GenerationTask__Group_3_10__0 : rule__GenerationTask__Group_3_10__0__Impl rule__GenerationTask__Group_3_10__1 ; public final void rule__GenerationTask__Group_3_10__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:9829:1: ( rule__GenerationTask__Group_3_10__0__Impl rule__GenerationTask__Group_3_10__1 ) - // InternalApplicationConfiguration.g:9830:2: rule__GenerationTask__Group_3_10__0__Impl rule__GenerationTask__Group_3_10__1 + // InternalApplicationConfiguration.g:9276:1: ( rule__GenerationTask__Group_3_10__0__Impl rule__GenerationTask__Group_3_10__1 ) + // InternalApplicationConfiguration.g:9277:2: rule__GenerationTask__Group_3_10__0__Impl rule__GenerationTask__Group_3_10__1 { - pushFollow(FOLLOW_14); + pushFollow(FOLLOW_13); rule__GenerationTask__Group_3_10__0__Impl(); state._fsp--; @@ -30387,20 +28674,20 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_10__0__Impl" - // InternalApplicationConfiguration.g:9837:1: rule__GenerationTask__Group_3_10__0__Impl : ( 'log' ) ; + // InternalApplicationConfiguration.g:9284:1: rule__GenerationTask__Group_3_10__0__Impl : ( 'log' ) ; public final void rule__GenerationTask__Group_3_10__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:9841:1: ( ( 'log' ) ) - // InternalApplicationConfiguration.g:9842:1: ( 'log' ) + // InternalApplicationConfiguration.g:9288:1: ( ( 'log' ) ) + // InternalApplicationConfiguration.g:9289:1: ( 'log' ) { - // InternalApplicationConfiguration.g:9842:1: ( 'log' ) - // InternalApplicationConfiguration.g:9843:2: 'log' + // InternalApplicationConfiguration.g:9289:1: ( 'log' ) + // InternalApplicationConfiguration.g:9290:2: 'log' { before(grammarAccess.getGenerationTaskAccess().getLogKeyword_3_10_0()); - match(input,60,FOLLOW_2); + match(input,57,FOLLOW_2); after(grammarAccess.getGenerationTaskAccess().getLogKeyword_3_10_0()); } @@ -30424,16 +28711,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_10__1" - // InternalApplicationConfiguration.g:9852:1: rule__GenerationTask__Group_3_10__1 : rule__GenerationTask__Group_3_10__1__Impl rule__GenerationTask__Group_3_10__2 ; + // InternalApplicationConfiguration.g:9299:1: rule__GenerationTask__Group_3_10__1 : rule__GenerationTask__Group_3_10__1__Impl rule__GenerationTask__Group_3_10__2 ; public final void rule__GenerationTask__Group_3_10__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:9856:1: ( rule__GenerationTask__Group_3_10__1__Impl rule__GenerationTask__Group_3_10__2 ) - // InternalApplicationConfiguration.g:9857:2: rule__GenerationTask__Group_3_10__1__Impl rule__GenerationTask__Group_3_10__2 + // InternalApplicationConfiguration.g:9303:1: ( rule__GenerationTask__Group_3_10__1__Impl rule__GenerationTask__Group_3_10__2 ) + // InternalApplicationConfiguration.g:9304:2: rule__GenerationTask__Group_3_10__1__Impl rule__GenerationTask__Group_3_10__2 { - pushFollow(FOLLOW_22); + pushFollow(FOLLOW_21); rule__GenerationTask__Group_3_10__1__Impl(); state._fsp--; @@ -30462,20 +28749,20 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_10__1__Impl" - // InternalApplicationConfiguration.g:9864:1: rule__GenerationTask__Group_3_10__1__Impl : ( '=' ) ; + // InternalApplicationConfiguration.g:9311:1: rule__GenerationTask__Group_3_10__1__Impl : ( '=' ) ; public final void rule__GenerationTask__Group_3_10__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:9868:1: ( ( '=' ) ) - // InternalApplicationConfiguration.g:9869:1: ( '=' ) + // InternalApplicationConfiguration.g:9315:1: ( ( '=' ) ) + // InternalApplicationConfiguration.g:9316:1: ( '=' ) { - // InternalApplicationConfiguration.g:9869:1: ( '=' ) - // InternalApplicationConfiguration.g:9870:2: '=' + // InternalApplicationConfiguration.g:9316:1: ( '=' ) + // InternalApplicationConfiguration.g:9317:2: '=' { before(grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_10_1()); - match(input,30,FOLLOW_2); + match(input,29,FOLLOW_2); after(grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_10_1()); } @@ -30499,14 +28786,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_10__2" - // InternalApplicationConfiguration.g:9879:1: rule__GenerationTask__Group_3_10__2 : rule__GenerationTask__Group_3_10__2__Impl ; + // InternalApplicationConfiguration.g:9326:1: rule__GenerationTask__Group_3_10__2 : rule__GenerationTask__Group_3_10__2__Impl ; public final void rule__GenerationTask__Group_3_10__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:9883:1: ( rule__GenerationTask__Group_3_10__2__Impl ) - // InternalApplicationConfiguration.g:9884:2: rule__GenerationTask__Group_3_10__2__Impl + // InternalApplicationConfiguration.g:9330:1: ( rule__GenerationTask__Group_3_10__2__Impl ) + // InternalApplicationConfiguration.g:9331:2: rule__GenerationTask__Group_3_10__2__Impl { pushFollow(FOLLOW_2); rule__GenerationTask__Group_3_10__2__Impl(); @@ -30532,21 +28819,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_10__2__Impl" - // InternalApplicationConfiguration.g:9890:1: rule__GenerationTask__Group_3_10__2__Impl : ( ( rule__GenerationTask__TargetLogFileAssignment_3_10_2 ) ) ; + // InternalApplicationConfiguration.g:9337:1: rule__GenerationTask__Group_3_10__2__Impl : ( ( rule__GenerationTask__TargetLogFileAssignment_3_10_2 ) ) ; public final void rule__GenerationTask__Group_3_10__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:9894:1: ( ( ( rule__GenerationTask__TargetLogFileAssignment_3_10_2 ) ) ) - // InternalApplicationConfiguration.g:9895:1: ( ( rule__GenerationTask__TargetLogFileAssignment_3_10_2 ) ) + // InternalApplicationConfiguration.g:9341:1: ( ( ( rule__GenerationTask__TargetLogFileAssignment_3_10_2 ) ) ) + // InternalApplicationConfiguration.g:9342:1: ( ( rule__GenerationTask__TargetLogFileAssignment_3_10_2 ) ) { - // InternalApplicationConfiguration.g:9895:1: ( ( rule__GenerationTask__TargetLogFileAssignment_3_10_2 ) ) - // InternalApplicationConfiguration.g:9896:2: ( rule__GenerationTask__TargetLogFileAssignment_3_10_2 ) + // InternalApplicationConfiguration.g:9342:1: ( ( rule__GenerationTask__TargetLogFileAssignment_3_10_2 ) ) + // InternalApplicationConfiguration.g:9343:2: ( rule__GenerationTask__TargetLogFileAssignment_3_10_2 ) { before(grammarAccess.getGenerationTaskAccess().getTargetLogFileAssignment_3_10_2()); - // InternalApplicationConfiguration.g:9897:2: ( rule__GenerationTask__TargetLogFileAssignment_3_10_2 ) - // InternalApplicationConfiguration.g:9897:3: rule__GenerationTask__TargetLogFileAssignment_3_10_2 + // InternalApplicationConfiguration.g:9344:2: ( rule__GenerationTask__TargetLogFileAssignment_3_10_2 ) + // InternalApplicationConfiguration.g:9344:3: rule__GenerationTask__TargetLogFileAssignment_3_10_2 { pushFollow(FOLLOW_2); rule__GenerationTask__TargetLogFileAssignment_3_10_2(); @@ -30579,16 +28866,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_11__0" - // InternalApplicationConfiguration.g:9906:1: rule__GenerationTask__Group_3_11__0 : rule__GenerationTask__Group_3_11__0__Impl rule__GenerationTask__Group_3_11__1 ; + // InternalApplicationConfiguration.g:9353:1: rule__GenerationTask__Group_3_11__0 : rule__GenerationTask__Group_3_11__0__Impl rule__GenerationTask__Group_3_11__1 ; public final void rule__GenerationTask__Group_3_11__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:9910:1: ( rule__GenerationTask__Group_3_11__0__Impl rule__GenerationTask__Group_3_11__1 ) - // InternalApplicationConfiguration.g:9911:2: rule__GenerationTask__Group_3_11__0__Impl rule__GenerationTask__Group_3_11__1 + // InternalApplicationConfiguration.g:9357:1: ( rule__GenerationTask__Group_3_11__0__Impl rule__GenerationTask__Group_3_11__1 ) + // InternalApplicationConfiguration.g:9358:2: rule__GenerationTask__Group_3_11__0__Impl rule__GenerationTask__Group_3_11__1 { - pushFollow(FOLLOW_14); + pushFollow(FOLLOW_13); rule__GenerationTask__Group_3_11__0__Impl(); state._fsp--; @@ -30617,20 +28904,20 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_11__0__Impl" - // InternalApplicationConfiguration.g:9918:1: rule__GenerationTask__Group_3_11__0__Impl : ( 'statistics' ) ; + // InternalApplicationConfiguration.g:9365:1: rule__GenerationTask__Group_3_11__0__Impl : ( 'statistics' ) ; public final void rule__GenerationTask__Group_3_11__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:9922:1: ( ( 'statistics' ) ) - // InternalApplicationConfiguration.g:9923:1: ( 'statistics' ) + // InternalApplicationConfiguration.g:9369:1: ( ( 'statistics' ) ) + // InternalApplicationConfiguration.g:9370:1: ( 'statistics' ) { - // InternalApplicationConfiguration.g:9923:1: ( 'statistics' ) - // InternalApplicationConfiguration.g:9924:2: 'statistics' + // InternalApplicationConfiguration.g:9370:1: ( 'statistics' ) + // InternalApplicationConfiguration.g:9371:2: 'statistics' { before(grammarAccess.getGenerationTaskAccess().getStatisticsKeyword_3_11_0()); - match(input,61,FOLLOW_2); + match(input,58,FOLLOW_2); after(grammarAccess.getGenerationTaskAccess().getStatisticsKeyword_3_11_0()); } @@ -30654,16 +28941,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_11__1" - // InternalApplicationConfiguration.g:9933:1: rule__GenerationTask__Group_3_11__1 : rule__GenerationTask__Group_3_11__1__Impl rule__GenerationTask__Group_3_11__2 ; + // InternalApplicationConfiguration.g:9380:1: rule__GenerationTask__Group_3_11__1 : rule__GenerationTask__Group_3_11__1__Impl rule__GenerationTask__Group_3_11__2 ; public final void rule__GenerationTask__Group_3_11__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:9937:1: ( rule__GenerationTask__Group_3_11__1__Impl rule__GenerationTask__Group_3_11__2 ) - // InternalApplicationConfiguration.g:9938:2: rule__GenerationTask__Group_3_11__1__Impl rule__GenerationTask__Group_3_11__2 + // InternalApplicationConfiguration.g:9384:1: ( rule__GenerationTask__Group_3_11__1__Impl rule__GenerationTask__Group_3_11__2 ) + // InternalApplicationConfiguration.g:9385:2: rule__GenerationTask__Group_3_11__1__Impl rule__GenerationTask__Group_3_11__2 { - pushFollow(FOLLOW_22); + pushFollow(FOLLOW_21); rule__GenerationTask__Group_3_11__1__Impl(); state._fsp--; @@ -30692,20 +28979,20 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_11__1__Impl" - // InternalApplicationConfiguration.g:9945:1: rule__GenerationTask__Group_3_11__1__Impl : ( '=' ) ; + // InternalApplicationConfiguration.g:9392:1: rule__GenerationTask__Group_3_11__1__Impl : ( '=' ) ; public final void rule__GenerationTask__Group_3_11__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:9949:1: ( ( '=' ) ) - // InternalApplicationConfiguration.g:9950:1: ( '=' ) + // InternalApplicationConfiguration.g:9396:1: ( ( '=' ) ) + // InternalApplicationConfiguration.g:9397:1: ( '=' ) { - // InternalApplicationConfiguration.g:9950:1: ( '=' ) - // InternalApplicationConfiguration.g:9951:2: '=' + // InternalApplicationConfiguration.g:9397:1: ( '=' ) + // InternalApplicationConfiguration.g:9398:2: '=' { before(grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_11_1()); - match(input,30,FOLLOW_2); + match(input,29,FOLLOW_2); after(grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_11_1()); } @@ -30729,14 +29016,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_11__2" - // InternalApplicationConfiguration.g:9960:1: rule__GenerationTask__Group_3_11__2 : rule__GenerationTask__Group_3_11__2__Impl ; + // InternalApplicationConfiguration.g:9407:1: rule__GenerationTask__Group_3_11__2 : rule__GenerationTask__Group_3_11__2__Impl ; public final void rule__GenerationTask__Group_3_11__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:9964:1: ( rule__GenerationTask__Group_3_11__2__Impl ) - // InternalApplicationConfiguration.g:9965:2: rule__GenerationTask__Group_3_11__2__Impl + // InternalApplicationConfiguration.g:9411:1: ( rule__GenerationTask__Group_3_11__2__Impl ) + // InternalApplicationConfiguration.g:9412:2: rule__GenerationTask__Group_3_11__2__Impl { pushFollow(FOLLOW_2); rule__GenerationTask__Group_3_11__2__Impl(); @@ -30762,21 +29049,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_11__2__Impl" - // InternalApplicationConfiguration.g:9971:1: rule__GenerationTask__Group_3_11__2__Impl : ( ( rule__GenerationTask__TargetStatisticsFileAssignment_3_11_2 ) ) ; + // InternalApplicationConfiguration.g:9418:1: rule__GenerationTask__Group_3_11__2__Impl : ( ( rule__GenerationTask__TargetStatisticsFileAssignment_3_11_2 ) ) ; public final void rule__GenerationTask__Group_3_11__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:9975:1: ( ( ( rule__GenerationTask__TargetStatisticsFileAssignment_3_11_2 ) ) ) - // InternalApplicationConfiguration.g:9976:1: ( ( rule__GenerationTask__TargetStatisticsFileAssignment_3_11_2 ) ) + // InternalApplicationConfiguration.g:9422:1: ( ( ( rule__GenerationTask__TargetStatisticsFileAssignment_3_11_2 ) ) ) + // InternalApplicationConfiguration.g:9423:1: ( ( rule__GenerationTask__TargetStatisticsFileAssignment_3_11_2 ) ) { - // InternalApplicationConfiguration.g:9976:1: ( ( rule__GenerationTask__TargetStatisticsFileAssignment_3_11_2 ) ) - // InternalApplicationConfiguration.g:9977:2: ( rule__GenerationTask__TargetStatisticsFileAssignment_3_11_2 ) + // InternalApplicationConfiguration.g:9423:1: ( ( rule__GenerationTask__TargetStatisticsFileAssignment_3_11_2 ) ) + // InternalApplicationConfiguration.g:9424:2: ( rule__GenerationTask__TargetStatisticsFileAssignment_3_11_2 ) { before(grammarAccess.getGenerationTaskAccess().getTargetStatisticsFileAssignment_3_11_2()); - // InternalApplicationConfiguration.g:9978:2: ( rule__GenerationTask__TargetStatisticsFileAssignment_3_11_2 ) - // InternalApplicationConfiguration.g:9978:3: rule__GenerationTask__TargetStatisticsFileAssignment_3_11_2 + // InternalApplicationConfiguration.g:9425:2: ( rule__GenerationTask__TargetStatisticsFileAssignment_3_11_2 ) + // InternalApplicationConfiguration.g:9425:3: rule__GenerationTask__TargetStatisticsFileAssignment_3_11_2 { pushFollow(FOLLOW_2); rule__GenerationTask__TargetStatisticsFileAssignment_3_11_2(); @@ -30809,16 +29096,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_12__0" - // InternalApplicationConfiguration.g:9987:1: rule__GenerationTask__Group_3_12__0 : rule__GenerationTask__Group_3_12__0__Impl rule__GenerationTask__Group_3_12__1 ; + // InternalApplicationConfiguration.g:9434:1: rule__GenerationTask__Group_3_12__0 : rule__GenerationTask__Group_3_12__0__Impl rule__GenerationTask__Group_3_12__1 ; public final void rule__GenerationTask__Group_3_12__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:9991:1: ( rule__GenerationTask__Group_3_12__0__Impl rule__GenerationTask__Group_3_12__1 ) - // InternalApplicationConfiguration.g:9992:2: rule__GenerationTask__Group_3_12__0__Impl rule__GenerationTask__Group_3_12__1 + // InternalApplicationConfiguration.g:9438:1: ( rule__GenerationTask__Group_3_12__0__Impl rule__GenerationTask__Group_3_12__1 ) + // InternalApplicationConfiguration.g:9439:2: rule__GenerationTask__Group_3_12__0__Impl rule__GenerationTask__Group_3_12__1 { - pushFollow(FOLLOW_14); + pushFollow(FOLLOW_13); rule__GenerationTask__Group_3_12__0__Impl(); state._fsp--; @@ -30847,20 +29134,20 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_12__0__Impl" - // InternalApplicationConfiguration.g:9999:1: rule__GenerationTask__Group_3_12__0__Impl : ( 'output' ) ; + // InternalApplicationConfiguration.g:9446:1: rule__GenerationTask__Group_3_12__0__Impl : ( 'output' ) ; public final void rule__GenerationTask__Group_3_12__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:10003:1: ( ( 'output' ) ) - // InternalApplicationConfiguration.g:10004:1: ( 'output' ) + // InternalApplicationConfiguration.g:9450:1: ( ( 'output' ) ) + // InternalApplicationConfiguration.g:9451:1: ( 'output' ) { - // InternalApplicationConfiguration.g:10004:1: ( 'output' ) - // InternalApplicationConfiguration.g:10005:2: 'output' + // InternalApplicationConfiguration.g:9451:1: ( 'output' ) + // InternalApplicationConfiguration.g:9452:2: 'output' { before(grammarAccess.getGenerationTaskAccess().getOutputKeyword_3_12_0()); - match(input,62,FOLLOW_2); + match(input,59,FOLLOW_2); after(grammarAccess.getGenerationTaskAccess().getOutputKeyword_3_12_0()); } @@ -30884,16 +29171,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_12__1" - // InternalApplicationConfiguration.g:10014:1: rule__GenerationTask__Group_3_12__1 : rule__GenerationTask__Group_3_12__1__Impl rule__GenerationTask__Group_3_12__2 ; + // InternalApplicationConfiguration.g:9461:1: rule__GenerationTask__Group_3_12__1 : rule__GenerationTask__Group_3_12__1__Impl rule__GenerationTask__Group_3_12__2 ; public final void rule__GenerationTask__Group_3_12__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:10018:1: ( rule__GenerationTask__Group_3_12__1__Impl rule__GenerationTask__Group_3_12__2 ) - // InternalApplicationConfiguration.g:10019:2: rule__GenerationTask__Group_3_12__1__Impl rule__GenerationTask__Group_3_12__2 + // InternalApplicationConfiguration.g:9465:1: ( rule__GenerationTask__Group_3_12__1__Impl rule__GenerationTask__Group_3_12__2 ) + // InternalApplicationConfiguration.g:9466:2: rule__GenerationTask__Group_3_12__1__Impl rule__GenerationTask__Group_3_12__2 { - pushFollow(FOLLOW_22); + pushFollow(FOLLOW_21); rule__GenerationTask__Group_3_12__1__Impl(); state._fsp--; @@ -30922,20 +29209,20 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_12__1__Impl" - // InternalApplicationConfiguration.g:10026:1: rule__GenerationTask__Group_3_12__1__Impl : ( '=' ) ; + // InternalApplicationConfiguration.g:9473:1: rule__GenerationTask__Group_3_12__1__Impl : ( '=' ) ; public final void rule__GenerationTask__Group_3_12__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:10030:1: ( ( '=' ) ) - // InternalApplicationConfiguration.g:10031:1: ( '=' ) + // InternalApplicationConfiguration.g:9477:1: ( ( '=' ) ) + // InternalApplicationConfiguration.g:9478:1: ( '=' ) { - // InternalApplicationConfiguration.g:10031:1: ( '=' ) - // InternalApplicationConfiguration.g:10032:2: '=' + // InternalApplicationConfiguration.g:9478:1: ( '=' ) + // InternalApplicationConfiguration.g:9479:2: '=' { before(grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_12_1()); - match(input,30,FOLLOW_2); + match(input,29,FOLLOW_2); after(grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_12_1()); } @@ -30959,14 +29246,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_12__2" - // InternalApplicationConfiguration.g:10041:1: rule__GenerationTask__Group_3_12__2 : rule__GenerationTask__Group_3_12__2__Impl ; + // InternalApplicationConfiguration.g:9488:1: rule__GenerationTask__Group_3_12__2 : rule__GenerationTask__Group_3_12__2__Impl ; public final void rule__GenerationTask__Group_3_12__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:10045:1: ( rule__GenerationTask__Group_3_12__2__Impl ) - // InternalApplicationConfiguration.g:10046:2: rule__GenerationTask__Group_3_12__2__Impl + // InternalApplicationConfiguration.g:9492:1: ( rule__GenerationTask__Group_3_12__2__Impl ) + // InternalApplicationConfiguration.g:9493:2: rule__GenerationTask__Group_3_12__2__Impl { pushFollow(FOLLOW_2); rule__GenerationTask__Group_3_12__2__Impl(); @@ -30992,21 +29279,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__Group_3_12__2__Impl" - // InternalApplicationConfiguration.g:10052:1: rule__GenerationTask__Group_3_12__2__Impl : ( ( rule__GenerationTask__TagetFolderAssignment_3_12_2 ) ) ; + // InternalApplicationConfiguration.g:9499:1: rule__GenerationTask__Group_3_12__2__Impl : ( ( rule__GenerationTask__TagetFolderAssignment_3_12_2 ) ) ; public final void rule__GenerationTask__Group_3_12__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:10056:1: ( ( ( rule__GenerationTask__TagetFolderAssignment_3_12_2 ) ) ) - // InternalApplicationConfiguration.g:10057:1: ( ( rule__GenerationTask__TagetFolderAssignment_3_12_2 ) ) + // InternalApplicationConfiguration.g:9503:1: ( ( ( rule__GenerationTask__TagetFolderAssignment_3_12_2 ) ) ) + // InternalApplicationConfiguration.g:9504:1: ( ( rule__GenerationTask__TagetFolderAssignment_3_12_2 ) ) { - // InternalApplicationConfiguration.g:10057:1: ( ( rule__GenerationTask__TagetFolderAssignment_3_12_2 ) ) - // InternalApplicationConfiguration.g:10058:2: ( rule__GenerationTask__TagetFolderAssignment_3_12_2 ) + // InternalApplicationConfiguration.g:9504:1: ( ( rule__GenerationTask__TagetFolderAssignment_3_12_2 ) ) + // InternalApplicationConfiguration.g:9505:2: ( rule__GenerationTask__TagetFolderAssignment_3_12_2 ) { before(grammarAccess.getGenerationTaskAccess().getTagetFolderAssignment_3_12_2()); - // InternalApplicationConfiguration.g:10059:2: ( rule__GenerationTask__TagetFolderAssignment_3_12_2 ) - // InternalApplicationConfiguration.g:10059:3: rule__GenerationTask__TagetFolderAssignment_3_12_2 + // InternalApplicationConfiguration.g:9506:2: ( rule__GenerationTask__TagetFolderAssignment_3_12_2 ) + // InternalApplicationConfiguration.g:9506:3: rule__GenerationTask__TagetFolderAssignment_3_12_2 { pushFollow(FOLLOW_2); rule__GenerationTask__TagetFolderAssignment_3_12_2(); @@ -31039,22 +29326,22 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__UnorderedGroup_3" - // InternalApplicationConfiguration.g:10068:1: rule__GenerationTask__UnorderedGroup_3 : ( rule__GenerationTask__UnorderedGroup_3__0 )? ; + // InternalApplicationConfiguration.g:9515:1: rule__GenerationTask__UnorderedGroup_3 : ( rule__GenerationTask__UnorderedGroup_3__0 )? ; public final void rule__GenerationTask__UnorderedGroup_3() throws RecognitionException { int stackSize = keepStackSize(); getUnorderedGroupHelper().enter(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); try { - // InternalApplicationConfiguration.g:10073:1: ( ( rule__GenerationTask__UnorderedGroup_3__0 )? ) - // InternalApplicationConfiguration.g:10074:2: ( rule__GenerationTask__UnorderedGroup_3__0 )? + // InternalApplicationConfiguration.g:9520:1: ( ( rule__GenerationTask__UnorderedGroup_3__0 )? ) + // InternalApplicationConfiguration.g:9521:2: ( rule__GenerationTask__UnorderedGroup_3__0 )? { - // InternalApplicationConfiguration.g:10074:2: ( rule__GenerationTask__UnorderedGroup_3__0 )? - int alt66=2; - alt66 = dfa66.predict(input); - switch (alt66) { + // InternalApplicationConfiguration.g:9521:2: ( rule__GenerationTask__UnorderedGroup_3__0 )? + int alt62=2; + alt62 = dfa62.predict(input); + switch (alt62) { case 1 : - // InternalApplicationConfiguration.g:10074:2: rule__GenerationTask__UnorderedGroup_3__0 + // InternalApplicationConfiguration.g:9521:2: rule__GenerationTask__UnorderedGroup_3__0 { pushFollow(FOLLOW_2); rule__GenerationTask__UnorderedGroup_3__0(); @@ -31087,31 +29374,31 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__UnorderedGroup_3__Impl" - // InternalApplicationConfiguration.g:10082:1: rule__GenerationTask__UnorderedGroup_3__Impl : ( ({...}? => ( ( ( rule__GenerationTask__Group_3_0__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_1__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_2__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_3__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_4__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_5__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_6__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_7__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_8__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_9__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_10__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_11__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_12__0 ) ) ) ) ) ; + // InternalApplicationConfiguration.g:9529:1: rule__GenerationTask__UnorderedGroup_3__Impl : ( ({...}? => ( ( ( rule__GenerationTask__Group_3_0__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_1__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_2__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_3__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_4__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_5__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_6__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_7__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_8__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_9__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_10__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_11__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_12__0 ) ) ) ) ) ; public final void rule__GenerationTask__UnorderedGroup_3__Impl() throws RecognitionException { int stackSize = keepStackSize(); boolean selected = false; try { - // InternalApplicationConfiguration.g:10087:1: ( ( ({...}? => ( ( ( rule__GenerationTask__Group_3_0__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_1__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_2__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_3__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_4__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_5__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_6__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_7__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_8__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_9__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_10__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_11__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_12__0 ) ) ) ) ) ) - // InternalApplicationConfiguration.g:10088:3: ( ({...}? => ( ( ( rule__GenerationTask__Group_3_0__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_1__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_2__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_3__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_4__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_5__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_6__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_7__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_8__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_9__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_10__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_11__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_12__0 ) ) ) ) ) + // InternalApplicationConfiguration.g:9534:1: ( ( ({...}? => ( ( ( rule__GenerationTask__Group_3_0__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_1__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_2__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_3__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_4__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_5__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_6__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_7__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_8__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_9__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_10__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_11__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_12__0 ) ) ) ) ) ) + // InternalApplicationConfiguration.g:9535:3: ( ({...}? => ( ( ( rule__GenerationTask__Group_3_0__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_1__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_2__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_3__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_4__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_5__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_6__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_7__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_8__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_9__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_10__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_11__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_12__0 ) ) ) ) ) { - // InternalApplicationConfiguration.g:10088:3: ( ({...}? => ( ( ( rule__GenerationTask__Group_3_0__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_1__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_2__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_3__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_4__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_5__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_6__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_7__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_8__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_9__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_10__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_11__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_12__0 ) ) ) ) ) - int alt67=13; - alt67 = dfa67.predict(input); - switch (alt67) { + // InternalApplicationConfiguration.g:9535:3: ( ({...}? => ( ( ( rule__GenerationTask__Group_3_0__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_1__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_2__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_3__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_4__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_5__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_6__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_7__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_8__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_9__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_10__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_11__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_12__0 ) ) ) ) ) + int alt63=13; + alt63 = dfa63.predict(input); + switch (alt63) { case 1 : - // InternalApplicationConfiguration.g:10089:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_0__0 ) ) ) ) + // InternalApplicationConfiguration.g:9536:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_0__0 ) ) ) ) { - // InternalApplicationConfiguration.g:10089:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_0__0 ) ) ) ) - // InternalApplicationConfiguration.g:10090:4: {...}? => ( ( ( rule__GenerationTask__Group_3_0__0 ) ) ) + // InternalApplicationConfiguration.g:9536:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_0__0 ) ) ) ) + // InternalApplicationConfiguration.g:9537:4: {...}? => ( ( ( rule__GenerationTask__Group_3_0__0 ) ) ) { if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0) ) { throw new FailedPredicateException(input, "rule__GenerationTask__UnorderedGroup_3__Impl", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0)"); } - // InternalApplicationConfiguration.g:10090:110: ( ( ( rule__GenerationTask__Group_3_0__0 ) ) ) - // InternalApplicationConfiguration.g:10091:5: ( ( rule__GenerationTask__Group_3_0__0 ) ) + // InternalApplicationConfiguration.g:9537:110: ( ( ( rule__GenerationTask__Group_3_0__0 ) ) ) + // InternalApplicationConfiguration.g:9538:5: ( ( rule__GenerationTask__Group_3_0__0 ) ) { getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0); @@ -31119,12 +29406,12 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont selected = true; - // InternalApplicationConfiguration.g:10097:5: ( ( rule__GenerationTask__Group_3_0__0 ) ) - // InternalApplicationConfiguration.g:10098:6: ( rule__GenerationTask__Group_3_0__0 ) + // InternalApplicationConfiguration.g:9544:5: ( ( rule__GenerationTask__Group_3_0__0 ) ) + // InternalApplicationConfiguration.g:9545:6: ( rule__GenerationTask__Group_3_0__0 ) { before(grammarAccess.getGenerationTaskAccess().getGroup_3_0()); - // InternalApplicationConfiguration.g:10099:6: ( rule__GenerationTask__Group_3_0__0 ) - // InternalApplicationConfiguration.g:10099:7: rule__GenerationTask__Group_3_0__0 + // InternalApplicationConfiguration.g:9546:6: ( rule__GenerationTask__Group_3_0__0 ) + // InternalApplicationConfiguration.g:9546:7: rule__GenerationTask__Group_3_0__0 { pushFollow(FOLLOW_2); rule__GenerationTask__Group_3_0__0(); @@ -31148,16 +29435,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } break; case 2 : - // InternalApplicationConfiguration.g:10104:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_1__0 ) ) ) ) + // InternalApplicationConfiguration.g:9551:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_1__0 ) ) ) ) { - // InternalApplicationConfiguration.g:10104:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_1__0 ) ) ) ) - // InternalApplicationConfiguration.g:10105:4: {...}? => ( ( ( rule__GenerationTask__Group_3_1__0 ) ) ) + // InternalApplicationConfiguration.g:9551:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_1__0 ) ) ) ) + // InternalApplicationConfiguration.g:9552:4: {...}? => ( ( ( rule__GenerationTask__Group_3_1__0 ) ) ) { if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1) ) { throw new FailedPredicateException(input, "rule__GenerationTask__UnorderedGroup_3__Impl", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1)"); } - // InternalApplicationConfiguration.g:10105:110: ( ( ( rule__GenerationTask__Group_3_1__0 ) ) ) - // InternalApplicationConfiguration.g:10106:5: ( ( rule__GenerationTask__Group_3_1__0 ) ) + // InternalApplicationConfiguration.g:9552:110: ( ( ( rule__GenerationTask__Group_3_1__0 ) ) ) + // InternalApplicationConfiguration.g:9553:5: ( ( rule__GenerationTask__Group_3_1__0 ) ) { getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1); @@ -31165,12 +29452,12 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont selected = true; - // InternalApplicationConfiguration.g:10112:5: ( ( rule__GenerationTask__Group_3_1__0 ) ) - // InternalApplicationConfiguration.g:10113:6: ( rule__GenerationTask__Group_3_1__0 ) + // InternalApplicationConfiguration.g:9559:5: ( ( rule__GenerationTask__Group_3_1__0 ) ) + // InternalApplicationConfiguration.g:9560:6: ( rule__GenerationTask__Group_3_1__0 ) { before(grammarAccess.getGenerationTaskAccess().getGroup_3_1()); - // InternalApplicationConfiguration.g:10114:6: ( rule__GenerationTask__Group_3_1__0 ) - // InternalApplicationConfiguration.g:10114:7: rule__GenerationTask__Group_3_1__0 + // InternalApplicationConfiguration.g:9561:6: ( rule__GenerationTask__Group_3_1__0 ) + // InternalApplicationConfiguration.g:9561:7: rule__GenerationTask__Group_3_1__0 { pushFollow(FOLLOW_2); rule__GenerationTask__Group_3_1__0(); @@ -31194,16 +29481,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } break; case 3 : - // InternalApplicationConfiguration.g:10119:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_2__0 ) ) ) ) + // InternalApplicationConfiguration.g:9566:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_2__0 ) ) ) ) { - // InternalApplicationConfiguration.g:10119:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_2__0 ) ) ) ) - // InternalApplicationConfiguration.g:10120:4: {...}? => ( ( ( rule__GenerationTask__Group_3_2__0 ) ) ) + // InternalApplicationConfiguration.g:9566:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_2__0 ) ) ) ) + // InternalApplicationConfiguration.g:9567:4: {...}? => ( ( ( rule__GenerationTask__Group_3_2__0 ) ) ) { if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2) ) { throw new FailedPredicateException(input, "rule__GenerationTask__UnorderedGroup_3__Impl", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2)"); } - // InternalApplicationConfiguration.g:10120:110: ( ( ( rule__GenerationTask__Group_3_2__0 ) ) ) - // InternalApplicationConfiguration.g:10121:5: ( ( rule__GenerationTask__Group_3_2__0 ) ) + // InternalApplicationConfiguration.g:9567:110: ( ( ( rule__GenerationTask__Group_3_2__0 ) ) ) + // InternalApplicationConfiguration.g:9568:5: ( ( rule__GenerationTask__Group_3_2__0 ) ) { getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2); @@ -31211,12 +29498,12 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont selected = true; - // InternalApplicationConfiguration.g:10127:5: ( ( rule__GenerationTask__Group_3_2__0 ) ) - // InternalApplicationConfiguration.g:10128:6: ( rule__GenerationTask__Group_3_2__0 ) + // InternalApplicationConfiguration.g:9574:5: ( ( rule__GenerationTask__Group_3_2__0 ) ) + // InternalApplicationConfiguration.g:9575:6: ( rule__GenerationTask__Group_3_2__0 ) { before(grammarAccess.getGenerationTaskAccess().getGroup_3_2()); - // InternalApplicationConfiguration.g:10129:6: ( rule__GenerationTask__Group_3_2__0 ) - // InternalApplicationConfiguration.g:10129:7: rule__GenerationTask__Group_3_2__0 + // InternalApplicationConfiguration.g:9576:6: ( rule__GenerationTask__Group_3_2__0 ) + // InternalApplicationConfiguration.g:9576:7: rule__GenerationTask__Group_3_2__0 { pushFollow(FOLLOW_2); rule__GenerationTask__Group_3_2__0(); @@ -31240,16 +29527,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } break; case 4 : - // InternalApplicationConfiguration.g:10134:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_3__0 ) ) ) ) + // InternalApplicationConfiguration.g:9581:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_3__0 ) ) ) ) { - // InternalApplicationConfiguration.g:10134:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_3__0 ) ) ) ) - // InternalApplicationConfiguration.g:10135:4: {...}? => ( ( ( rule__GenerationTask__Group_3_3__0 ) ) ) + // InternalApplicationConfiguration.g:9581:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_3__0 ) ) ) ) + // InternalApplicationConfiguration.g:9582:4: {...}? => ( ( ( rule__GenerationTask__Group_3_3__0 ) ) ) { if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3) ) { throw new FailedPredicateException(input, "rule__GenerationTask__UnorderedGroup_3__Impl", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3)"); } - // InternalApplicationConfiguration.g:10135:110: ( ( ( rule__GenerationTask__Group_3_3__0 ) ) ) - // InternalApplicationConfiguration.g:10136:5: ( ( rule__GenerationTask__Group_3_3__0 ) ) + // InternalApplicationConfiguration.g:9582:110: ( ( ( rule__GenerationTask__Group_3_3__0 ) ) ) + // InternalApplicationConfiguration.g:9583:5: ( ( rule__GenerationTask__Group_3_3__0 ) ) { getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3); @@ -31257,12 +29544,12 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont selected = true; - // InternalApplicationConfiguration.g:10142:5: ( ( rule__GenerationTask__Group_3_3__0 ) ) - // InternalApplicationConfiguration.g:10143:6: ( rule__GenerationTask__Group_3_3__0 ) + // InternalApplicationConfiguration.g:9589:5: ( ( rule__GenerationTask__Group_3_3__0 ) ) + // InternalApplicationConfiguration.g:9590:6: ( rule__GenerationTask__Group_3_3__0 ) { before(grammarAccess.getGenerationTaskAccess().getGroup_3_3()); - // InternalApplicationConfiguration.g:10144:6: ( rule__GenerationTask__Group_3_3__0 ) - // InternalApplicationConfiguration.g:10144:7: rule__GenerationTask__Group_3_3__0 + // InternalApplicationConfiguration.g:9591:6: ( rule__GenerationTask__Group_3_3__0 ) + // InternalApplicationConfiguration.g:9591:7: rule__GenerationTask__Group_3_3__0 { pushFollow(FOLLOW_2); rule__GenerationTask__Group_3_3__0(); @@ -31286,16 +29573,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } break; case 5 : - // InternalApplicationConfiguration.g:10149:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_4__0 ) ) ) ) + // InternalApplicationConfiguration.g:9596:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_4__0 ) ) ) ) { - // InternalApplicationConfiguration.g:10149:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_4__0 ) ) ) ) - // InternalApplicationConfiguration.g:10150:4: {...}? => ( ( ( rule__GenerationTask__Group_3_4__0 ) ) ) + // InternalApplicationConfiguration.g:9596:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_4__0 ) ) ) ) + // InternalApplicationConfiguration.g:9597:4: {...}? => ( ( ( rule__GenerationTask__Group_3_4__0 ) ) ) { if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4) ) { throw new FailedPredicateException(input, "rule__GenerationTask__UnorderedGroup_3__Impl", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4)"); } - // InternalApplicationConfiguration.g:10150:110: ( ( ( rule__GenerationTask__Group_3_4__0 ) ) ) - // InternalApplicationConfiguration.g:10151:5: ( ( rule__GenerationTask__Group_3_4__0 ) ) + // InternalApplicationConfiguration.g:9597:110: ( ( ( rule__GenerationTask__Group_3_4__0 ) ) ) + // InternalApplicationConfiguration.g:9598:5: ( ( rule__GenerationTask__Group_3_4__0 ) ) { getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4); @@ -31303,12 +29590,12 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont selected = true; - // InternalApplicationConfiguration.g:10157:5: ( ( rule__GenerationTask__Group_3_4__0 ) ) - // InternalApplicationConfiguration.g:10158:6: ( rule__GenerationTask__Group_3_4__0 ) + // InternalApplicationConfiguration.g:9604:5: ( ( rule__GenerationTask__Group_3_4__0 ) ) + // InternalApplicationConfiguration.g:9605:6: ( rule__GenerationTask__Group_3_4__0 ) { before(grammarAccess.getGenerationTaskAccess().getGroup_3_4()); - // InternalApplicationConfiguration.g:10159:6: ( rule__GenerationTask__Group_3_4__0 ) - // InternalApplicationConfiguration.g:10159:7: rule__GenerationTask__Group_3_4__0 + // InternalApplicationConfiguration.g:9606:6: ( rule__GenerationTask__Group_3_4__0 ) + // InternalApplicationConfiguration.g:9606:7: rule__GenerationTask__Group_3_4__0 { pushFollow(FOLLOW_2); rule__GenerationTask__Group_3_4__0(); @@ -31332,16 +29619,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } break; case 6 : - // InternalApplicationConfiguration.g:10164:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_5__0 ) ) ) ) + // InternalApplicationConfiguration.g:9611:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_5__0 ) ) ) ) { - // InternalApplicationConfiguration.g:10164:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_5__0 ) ) ) ) - // InternalApplicationConfiguration.g:10165:4: {...}? => ( ( ( rule__GenerationTask__Group_3_5__0 ) ) ) + // InternalApplicationConfiguration.g:9611:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_5__0 ) ) ) ) + // InternalApplicationConfiguration.g:9612:4: {...}? => ( ( ( rule__GenerationTask__Group_3_5__0 ) ) ) { if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5) ) { throw new FailedPredicateException(input, "rule__GenerationTask__UnorderedGroup_3__Impl", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5)"); } - // InternalApplicationConfiguration.g:10165:110: ( ( ( rule__GenerationTask__Group_3_5__0 ) ) ) - // InternalApplicationConfiguration.g:10166:5: ( ( rule__GenerationTask__Group_3_5__0 ) ) + // InternalApplicationConfiguration.g:9612:110: ( ( ( rule__GenerationTask__Group_3_5__0 ) ) ) + // InternalApplicationConfiguration.g:9613:5: ( ( rule__GenerationTask__Group_3_5__0 ) ) { getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5); @@ -31349,12 +29636,12 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont selected = true; - // InternalApplicationConfiguration.g:10172:5: ( ( rule__GenerationTask__Group_3_5__0 ) ) - // InternalApplicationConfiguration.g:10173:6: ( rule__GenerationTask__Group_3_5__0 ) + // InternalApplicationConfiguration.g:9619:5: ( ( rule__GenerationTask__Group_3_5__0 ) ) + // InternalApplicationConfiguration.g:9620:6: ( rule__GenerationTask__Group_3_5__0 ) { before(grammarAccess.getGenerationTaskAccess().getGroup_3_5()); - // InternalApplicationConfiguration.g:10174:6: ( rule__GenerationTask__Group_3_5__0 ) - // InternalApplicationConfiguration.g:10174:7: rule__GenerationTask__Group_3_5__0 + // InternalApplicationConfiguration.g:9621:6: ( rule__GenerationTask__Group_3_5__0 ) + // InternalApplicationConfiguration.g:9621:7: rule__GenerationTask__Group_3_5__0 { pushFollow(FOLLOW_2); rule__GenerationTask__Group_3_5__0(); @@ -31378,16 +29665,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } break; case 7 : - // InternalApplicationConfiguration.g:10179:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_6__0 ) ) ) ) + // InternalApplicationConfiguration.g:9626:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_6__0 ) ) ) ) { - // InternalApplicationConfiguration.g:10179:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_6__0 ) ) ) ) - // InternalApplicationConfiguration.g:10180:4: {...}? => ( ( ( rule__GenerationTask__Group_3_6__0 ) ) ) + // InternalApplicationConfiguration.g:9626:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_6__0 ) ) ) ) + // InternalApplicationConfiguration.g:9627:4: {...}? => ( ( ( rule__GenerationTask__Group_3_6__0 ) ) ) { if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6) ) { throw new FailedPredicateException(input, "rule__GenerationTask__UnorderedGroup_3__Impl", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6)"); } - // InternalApplicationConfiguration.g:10180:110: ( ( ( rule__GenerationTask__Group_3_6__0 ) ) ) - // InternalApplicationConfiguration.g:10181:5: ( ( rule__GenerationTask__Group_3_6__0 ) ) + // InternalApplicationConfiguration.g:9627:110: ( ( ( rule__GenerationTask__Group_3_6__0 ) ) ) + // InternalApplicationConfiguration.g:9628:5: ( ( rule__GenerationTask__Group_3_6__0 ) ) { getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6); @@ -31395,12 +29682,12 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont selected = true; - // InternalApplicationConfiguration.g:10187:5: ( ( rule__GenerationTask__Group_3_6__0 ) ) - // InternalApplicationConfiguration.g:10188:6: ( rule__GenerationTask__Group_3_6__0 ) + // InternalApplicationConfiguration.g:9634:5: ( ( rule__GenerationTask__Group_3_6__0 ) ) + // InternalApplicationConfiguration.g:9635:6: ( rule__GenerationTask__Group_3_6__0 ) { before(grammarAccess.getGenerationTaskAccess().getGroup_3_6()); - // InternalApplicationConfiguration.g:10189:6: ( rule__GenerationTask__Group_3_6__0 ) - // InternalApplicationConfiguration.g:10189:7: rule__GenerationTask__Group_3_6__0 + // InternalApplicationConfiguration.g:9636:6: ( rule__GenerationTask__Group_3_6__0 ) + // InternalApplicationConfiguration.g:9636:7: rule__GenerationTask__Group_3_6__0 { pushFollow(FOLLOW_2); rule__GenerationTask__Group_3_6__0(); @@ -31424,16 +29711,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } break; case 8 : - // InternalApplicationConfiguration.g:10194:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_7__0 ) ) ) ) + // InternalApplicationConfiguration.g:9641:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_7__0 ) ) ) ) { - // InternalApplicationConfiguration.g:10194:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_7__0 ) ) ) ) - // InternalApplicationConfiguration.g:10195:4: {...}? => ( ( ( rule__GenerationTask__Group_3_7__0 ) ) ) + // InternalApplicationConfiguration.g:9641:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_7__0 ) ) ) ) + // InternalApplicationConfiguration.g:9642:4: {...}? => ( ( ( rule__GenerationTask__Group_3_7__0 ) ) ) { if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7) ) { throw new FailedPredicateException(input, "rule__GenerationTask__UnorderedGroup_3__Impl", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7)"); } - // InternalApplicationConfiguration.g:10195:110: ( ( ( rule__GenerationTask__Group_3_7__0 ) ) ) - // InternalApplicationConfiguration.g:10196:5: ( ( rule__GenerationTask__Group_3_7__0 ) ) + // InternalApplicationConfiguration.g:9642:110: ( ( ( rule__GenerationTask__Group_3_7__0 ) ) ) + // InternalApplicationConfiguration.g:9643:5: ( ( rule__GenerationTask__Group_3_7__0 ) ) { getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7); @@ -31441,12 +29728,12 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont selected = true; - // InternalApplicationConfiguration.g:10202:5: ( ( rule__GenerationTask__Group_3_7__0 ) ) - // InternalApplicationConfiguration.g:10203:6: ( rule__GenerationTask__Group_3_7__0 ) + // InternalApplicationConfiguration.g:9649:5: ( ( rule__GenerationTask__Group_3_7__0 ) ) + // InternalApplicationConfiguration.g:9650:6: ( rule__GenerationTask__Group_3_7__0 ) { before(grammarAccess.getGenerationTaskAccess().getGroup_3_7()); - // InternalApplicationConfiguration.g:10204:6: ( rule__GenerationTask__Group_3_7__0 ) - // InternalApplicationConfiguration.g:10204:7: rule__GenerationTask__Group_3_7__0 + // InternalApplicationConfiguration.g:9651:6: ( rule__GenerationTask__Group_3_7__0 ) + // InternalApplicationConfiguration.g:9651:7: rule__GenerationTask__Group_3_7__0 { pushFollow(FOLLOW_2); rule__GenerationTask__Group_3_7__0(); @@ -31470,16 +29757,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } break; case 9 : - // InternalApplicationConfiguration.g:10209:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_8__0 ) ) ) ) + // InternalApplicationConfiguration.g:9656:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_8__0 ) ) ) ) { - // InternalApplicationConfiguration.g:10209:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_8__0 ) ) ) ) - // InternalApplicationConfiguration.g:10210:4: {...}? => ( ( ( rule__GenerationTask__Group_3_8__0 ) ) ) + // InternalApplicationConfiguration.g:9656:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_8__0 ) ) ) ) + // InternalApplicationConfiguration.g:9657:4: {...}? => ( ( ( rule__GenerationTask__Group_3_8__0 ) ) ) { if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8) ) { throw new FailedPredicateException(input, "rule__GenerationTask__UnorderedGroup_3__Impl", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8)"); } - // InternalApplicationConfiguration.g:10210:110: ( ( ( rule__GenerationTask__Group_3_8__0 ) ) ) - // InternalApplicationConfiguration.g:10211:5: ( ( rule__GenerationTask__Group_3_8__0 ) ) + // InternalApplicationConfiguration.g:9657:110: ( ( ( rule__GenerationTask__Group_3_8__0 ) ) ) + // InternalApplicationConfiguration.g:9658:5: ( ( rule__GenerationTask__Group_3_8__0 ) ) { getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8); @@ -31487,12 +29774,12 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont selected = true; - // InternalApplicationConfiguration.g:10217:5: ( ( rule__GenerationTask__Group_3_8__0 ) ) - // InternalApplicationConfiguration.g:10218:6: ( rule__GenerationTask__Group_3_8__0 ) + // InternalApplicationConfiguration.g:9664:5: ( ( rule__GenerationTask__Group_3_8__0 ) ) + // InternalApplicationConfiguration.g:9665:6: ( rule__GenerationTask__Group_3_8__0 ) { before(grammarAccess.getGenerationTaskAccess().getGroup_3_8()); - // InternalApplicationConfiguration.g:10219:6: ( rule__GenerationTask__Group_3_8__0 ) - // InternalApplicationConfiguration.g:10219:7: rule__GenerationTask__Group_3_8__0 + // InternalApplicationConfiguration.g:9666:6: ( rule__GenerationTask__Group_3_8__0 ) + // InternalApplicationConfiguration.g:9666:7: rule__GenerationTask__Group_3_8__0 { pushFollow(FOLLOW_2); rule__GenerationTask__Group_3_8__0(); @@ -31516,16 +29803,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } break; case 10 : - // InternalApplicationConfiguration.g:10224:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_9__0 ) ) ) ) + // InternalApplicationConfiguration.g:9671:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_9__0 ) ) ) ) { - // InternalApplicationConfiguration.g:10224:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_9__0 ) ) ) ) - // InternalApplicationConfiguration.g:10225:4: {...}? => ( ( ( rule__GenerationTask__Group_3_9__0 ) ) ) + // InternalApplicationConfiguration.g:9671:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_9__0 ) ) ) ) + // InternalApplicationConfiguration.g:9672:4: {...}? => ( ( ( rule__GenerationTask__Group_3_9__0 ) ) ) { if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9) ) { throw new FailedPredicateException(input, "rule__GenerationTask__UnorderedGroup_3__Impl", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9)"); } - // InternalApplicationConfiguration.g:10225:110: ( ( ( rule__GenerationTask__Group_3_9__0 ) ) ) - // InternalApplicationConfiguration.g:10226:5: ( ( rule__GenerationTask__Group_3_9__0 ) ) + // InternalApplicationConfiguration.g:9672:110: ( ( ( rule__GenerationTask__Group_3_9__0 ) ) ) + // InternalApplicationConfiguration.g:9673:5: ( ( rule__GenerationTask__Group_3_9__0 ) ) { getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9); @@ -31533,12 +29820,12 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont selected = true; - // InternalApplicationConfiguration.g:10232:5: ( ( rule__GenerationTask__Group_3_9__0 ) ) - // InternalApplicationConfiguration.g:10233:6: ( rule__GenerationTask__Group_3_9__0 ) + // InternalApplicationConfiguration.g:9679:5: ( ( rule__GenerationTask__Group_3_9__0 ) ) + // InternalApplicationConfiguration.g:9680:6: ( rule__GenerationTask__Group_3_9__0 ) { before(grammarAccess.getGenerationTaskAccess().getGroup_3_9()); - // InternalApplicationConfiguration.g:10234:6: ( rule__GenerationTask__Group_3_9__0 ) - // InternalApplicationConfiguration.g:10234:7: rule__GenerationTask__Group_3_9__0 + // InternalApplicationConfiguration.g:9681:6: ( rule__GenerationTask__Group_3_9__0 ) + // InternalApplicationConfiguration.g:9681:7: rule__GenerationTask__Group_3_9__0 { pushFollow(FOLLOW_2); rule__GenerationTask__Group_3_9__0(); @@ -31562,16 +29849,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } break; case 11 : - // InternalApplicationConfiguration.g:10239:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_10__0 ) ) ) ) + // InternalApplicationConfiguration.g:9686:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_10__0 ) ) ) ) { - // InternalApplicationConfiguration.g:10239:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_10__0 ) ) ) ) - // InternalApplicationConfiguration.g:10240:4: {...}? => ( ( ( rule__GenerationTask__Group_3_10__0 ) ) ) + // InternalApplicationConfiguration.g:9686:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_10__0 ) ) ) ) + // InternalApplicationConfiguration.g:9687:4: {...}? => ( ( ( rule__GenerationTask__Group_3_10__0 ) ) ) { if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10) ) { throw new FailedPredicateException(input, "rule__GenerationTask__UnorderedGroup_3__Impl", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10)"); } - // InternalApplicationConfiguration.g:10240:111: ( ( ( rule__GenerationTask__Group_3_10__0 ) ) ) - // InternalApplicationConfiguration.g:10241:5: ( ( rule__GenerationTask__Group_3_10__0 ) ) + // InternalApplicationConfiguration.g:9687:111: ( ( ( rule__GenerationTask__Group_3_10__0 ) ) ) + // InternalApplicationConfiguration.g:9688:5: ( ( rule__GenerationTask__Group_3_10__0 ) ) { getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10); @@ -31579,12 +29866,12 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont selected = true; - // InternalApplicationConfiguration.g:10247:5: ( ( rule__GenerationTask__Group_3_10__0 ) ) - // InternalApplicationConfiguration.g:10248:6: ( rule__GenerationTask__Group_3_10__0 ) + // InternalApplicationConfiguration.g:9694:5: ( ( rule__GenerationTask__Group_3_10__0 ) ) + // InternalApplicationConfiguration.g:9695:6: ( rule__GenerationTask__Group_3_10__0 ) { before(grammarAccess.getGenerationTaskAccess().getGroup_3_10()); - // InternalApplicationConfiguration.g:10249:6: ( rule__GenerationTask__Group_3_10__0 ) - // InternalApplicationConfiguration.g:10249:7: rule__GenerationTask__Group_3_10__0 + // InternalApplicationConfiguration.g:9696:6: ( rule__GenerationTask__Group_3_10__0 ) + // InternalApplicationConfiguration.g:9696:7: rule__GenerationTask__Group_3_10__0 { pushFollow(FOLLOW_2); rule__GenerationTask__Group_3_10__0(); @@ -31608,16 +29895,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } break; case 12 : - // InternalApplicationConfiguration.g:10254:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_11__0 ) ) ) ) + // InternalApplicationConfiguration.g:9701:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_11__0 ) ) ) ) { - // InternalApplicationConfiguration.g:10254:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_11__0 ) ) ) ) - // InternalApplicationConfiguration.g:10255:4: {...}? => ( ( ( rule__GenerationTask__Group_3_11__0 ) ) ) + // InternalApplicationConfiguration.g:9701:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_11__0 ) ) ) ) + // InternalApplicationConfiguration.g:9702:4: {...}? => ( ( ( rule__GenerationTask__Group_3_11__0 ) ) ) { if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11) ) { throw new FailedPredicateException(input, "rule__GenerationTask__UnorderedGroup_3__Impl", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11)"); } - // InternalApplicationConfiguration.g:10255:111: ( ( ( rule__GenerationTask__Group_3_11__0 ) ) ) - // InternalApplicationConfiguration.g:10256:5: ( ( rule__GenerationTask__Group_3_11__0 ) ) + // InternalApplicationConfiguration.g:9702:111: ( ( ( rule__GenerationTask__Group_3_11__0 ) ) ) + // InternalApplicationConfiguration.g:9703:5: ( ( rule__GenerationTask__Group_3_11__0 ) ) { getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11); @@ -31625,12 +29912,12 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont selected = true; - // InternalApplicationConfiguration.g:10262:5: ( ( rule__GenerationTask__Group_3_11__0 ) ) - // InternalApplicationConfiguration.g:10263:6: ( rule__GenerationTask__Group_3_11__0 ) + // InternalApplicationConfiguration.g:9709:5: ( ( rule__GenerationTask__Group_3_11__0 ) ) + // InternalApplicationConfiguration.g:9710:6: ( rule__GenerationTask__Group_3_11__0 ) { before(grammarAccess.getGenerationTaskAccess().getGroup_3_11()); - // InternalApplicationConfiguration.g:10264:6: ( rule__GenerationTask__Group_3_11__0 ) - // InternalApplicationConfiguration.g:10264:7: rule__GenerationTask__Group_3_11__0 + // InternalApplicationConfiguration.g:9711:6: ( rule__GenerationTask__Group_3_11__0 ) + // InternalApplicationConfiguration.g:9711:7: rule__GenerationTask__Group_3_11__0 { pushFollow(FOLLOW_2); rule__GenerationTask__Group_3_11__0(); @@ -31654,16 +29941,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } break; case 13 : - // InternalApplicationConfiguration.g:10269:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_12__0 ) ) ) ) + // InternalApplicationConfiguration.g:9716:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_12__0 ) ) ) ) { - // InternalApplicationConfiguration.g:10269:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_12__0 ) ) ) ) - // InternalApplicationConfiguration.g:10270:4: {...}? => ( ( ( rule__GenerationTask__Group_3_12__0 ) ) ) + // InternalApplicationConfiguration.g:9716:3: ({...}? => ( ( ( rule__GenerationTask__Group_3_12__0 ) ) ) ) + // InternalApplicationConfiguration.g:9717:4: {...}? => ( ( ( rule__GenerationTask__Group_3_12__0 ) ) ) { if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 12) ) { throw new FailedPredicateException(input, "rule__GenerationTask__UnorderedGroup_3__Impl", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 12)"); } - // InternalApplicationConfiguration.g:10270:111: ( ( ( rule__GenerationTask__Group_3_12__0 ) ) ) - // InternalApplicationConfiguration.g:10271:5: ( ( rule__GenerationTask__Group_3_12__0 ) ) + // InternalApplicationConfiguration.g:9717:111: ( ( ( rule__GenerationTask__Group_3_12__0 ) ) ) + // InternalApplicationConfiguration.g:9718:5: ( ( rule__GenerationTask__Group_3_12__0 ) ) { getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 12); @@ -31671,12 +29958,12 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont selected = true; - // InternalApplicationConfiguration.g:10277:5: ( ( rule__GenerationTask__Group_3_12__0 ) ) - // InternalApplicationConfiguration.g:10278:6: ( rule__GenerationTask__Group_3_12__0 ) + // InternalApplicationConfiguration.g:9724:5: ( ( rule__GenerationTask__Group_3_12__0 ) ) + // InternalApplicationConfiguration.g:9725:6: ( rule__GenerationTask__Group_3_12__0 ) { before(grammarAccess.getGenerationTaskAccess().getGroup_3_12()); - // InternalApplicationConfiguration.g:10279:6: ( rule__GenerationTask__Group_3_12__0 ) - // InternalApplicationConfiguration.g:10279:7: rule__GenerationTask__Group_3_12__0 + // InternalApplicationConfiguration.g:9726:6: ( rule__GenerationTask__Group_3_12__0 ) + // InternalApplicationConfiguration.g:9726:7: rule__GenerationTask__Group_3_12__0 { pushFollow(FOLLOW_2); rule__GenerationTask__Group_3_12__0(); @@ -31723,26 +30010,26 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__UnorderedGroup_3__0" - // InternalApplicationConfiguration.g:10292:1: rule__GenerationTask__UnorderedGroup_3__0 : rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__1 )? ; + // InternalApplicationConfiguration.g:9739:1: rule__GenerationTask__UnorderedGroup_3__0 : rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__1 )? ; public final void rule__GenerationTask__UnorderedGroup_3__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:10296:1: ( rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__1 )? ) - // InternalApplicationConfiguration.g:10297:2: rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__1 )? + // InternalApplicationConfiguration.g:9743:1: ( rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__1 )? ) + // InternalApplicationConfiguration.g:9744:2: rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__1 )? { - pushFollow(FOLLOW_49); + pushFollow(FOLLOW_47); rule__GenerationTask__UnorderedGroup_3__Impl(); state._fsp--; - // InternalApplicationConfiguration.g:10298:2: ( rule__GenerationTask__UnorderedGroup_3__1 )? - int alt68=2; - alt68 = dfa68.predict(input); - switch (alt68) { + // InternalApplicationConfiguration.g:9745:2: ( rule__GenerationTask__UnorderedGroup_3__1 )? + int alt64=2; + alt64 = dfa64.predict(input); + switch (alt64) { case 1 : - // InternalApplicationConfiguration.g:10298:2: rule__GenerationTask__UnorderedGroup_3__1 + // InternalApplicationConfiguration.g:9745:2: rule__GenerationTask__UnorderedGroup_3__1 { pushFollow(FOLLOW_2); rule__GenerationTask__UnorderedGroup_3__1(); @@ -31774,26 +30061,26 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__UnorderedGroup_3__1" - // InternalApplicationConfiguration.g:10304:1: rule__GenerationTask__UnorderedGroup_3__1 : rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__2 )? ; + // InternalApplicationConfiguration.g:9751:1: rule__GenerationTask__UnorderedGroup_3__1 : rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__2 )? ; public final void rule__GenerationTask__UnorderedGroup_3__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:10308:1: ( rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__2 )? ) - // InternalApplicationConfiguration.g:10309:2: rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__2 )? + // InternalApplicationConfiguration.g:9755:1: ( rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__2 )? ) + // InternalApplicationConfiguration.g:9756:2: rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__2 )? { - pushFollow(FOLLOW_49); + pushFollow(FOLLOW_47); rule__GenerationTask__UnorderedGroup_3__Impl(); state._fsp--; - // InternalApplicationConfiguration.g:10310:2: ( rule__GenerationTask__UnorderedGroup_3__2 )? - int alt69=2; - alt69 = dfa69.predict(input); - switch (alt69) { + // InternalApplicationConfiguration.g:9757:2: ( rule__GenerationTask__UnorderedGroup_3__2 )? + int alt65=2; + alt65 = dfa65.predict(input); + switch (alt65) { case 1 : - // InternalApplicationConfiguration.g:10310:2: rule__GenerationTask__UnorderedGroup_3__2 + // InternalApplicationConfiguration.g:9757:2: rule__GenerationTask__UnorderedGroup_3__2 { pushFollow(FOLLOW_2); rule__GenerationTask__UnorderedGroup_3__2(); @@ -31825,26 +30112,26 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__UnorderedGroup_3__2" - // InternalApplicationConfiguration.g:10316:1: rule__GenerationTask__UnorderedGroup_3__2 : rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__3 )? ; + // InternalApplicationConfiguration.g:9763:1: rule__GenerationTask__UnorderedGroup_3__2 : rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__3 )? ; public final void rule__GenerationTask__UnorderedGroup_3__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:10320:1: ( rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__3 )? ) - // InternalApplicationConfiguration.g:10321:2: rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__3 )? + // InternalApplicationConfiguration.g:9767:1: ( rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__3 )? ) + // InternalApplicationConfiguration.g:9768:2: rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__3 )? { - pushFollow(FOLLOW_49); + pushFollow(FOLLOW_47); rule__GenerationTask__UnorderedGroup_3__Impl(); state._fsp--; - // InternalApplicationConfiguration.g:10322:2: ( rule__GenerationTask__UnorderedGroup_3__3 )? - int alt70=2; - alt70 = dfa70.predict(input); - switch (alt70) { + // InternalApplicationConfiguration.g:9769:2: ( rule__GenerationTask__UnorderedGroup_3__3 )? + int alt66=2; + alt66 = dfa66.predict(input); + switch (alt66) { case 1 : - // InternalApplicationConfiguration.g:10322:2: rule__GenerationTask__UnorderedGroup_3__3 + // InternalApplicationConfiguration.g:9769:2: rule__GenerationTask__UnorderedGroup_3__3 { pushFollow(FOLLOW_2); rule__GenerationTask__UnorderedGroup_3__3(); @@ -31876,26 +30163,26 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__UnorderedGroup_3__3" - // InternalApplicationConfiguration.g:10328:1: rule__GenerationTask__UnorderedGroup_3__3 : rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__4 )? ; + // InternalApplicationConfiguration.g:9775:1: rule__GenerationTask__UnorderedGroup_3__3 : rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__4 )? ; public final void rule__GenerationTask__UnorderedGroup_3__3() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:10332:1: ( rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__4 )? ) - // InternalApplicationConfiguration.g:10333:2: rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__4 )? + // InternalApplicationConfiguration.g:9779:1: ( rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__4 )? ) + // InternalApplicationConfiguration.g:9780:2: rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__4 )? { - pushFollow(FOLLOW_49); + pushFollow(FOLLOW_47); rule__GenerationTask__UnorderedGroup_3__Impl(); state._fsp--; - // InternalApplicationConfiguration.g:10334:2: ( rule__GenerationTask__UnorderedGroup_3__4 )? - int alt71=2; - alt71 = dfa71.predict(input); - switch (alt71) { + // InternalApplicationConfiguration.g:9781:2: ( rule__GenerationTask__UnorderedGroup_3__4 )? + int alt67=2; + alt67 = dfa67.predict(input); + switch (alt67) { case 1 : - // InternalApplicationConfiguration.g:10334:2: rule__GenerationTask__UnorderedGroup_3__4 + // InternalApplicationConfiguration.g:9781:2: rule__GenerationTask__UnorderedGroup_3__4 { pushFollow(FOLLOW_2); rule__GenerationTask__UnorderedGroup_3__4(); @@ -31927,26 +30214,26 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__UnorderedGroup_3__4" - // InternalApplicationConfiguration.g:10340:1: rule__GenerationTask__UnorderedGroup_3__4 : rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__5 )? ; + // InternalApplicationConfiguration.g:9787:1: rule__GenerationTask__UnorderedGroup_3__4 : rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__5 )? ; public final void rule__GenerationTask__UnorderedGroup_3__4() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:10344:1: ( rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__5 )? ) - // InternalApplicationConfiguration.g:10345:2: rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__5 )? + // InternalApplicationConfiguration.g:9791:1: ( rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__5 )? ) + // InternalApplicationConfiguration.g:9792:2: rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__5 )? { - pushFollow(FOLLOW_49); + pushFollow(FOLLOW_47); rule__GenerationTask__UnorderedGroup_3__Impl(); state._fsp--; - // InternalApplicationConfiguration.g:10346:2: ( rule__GenerationTask__UnorderedGroup_3__5 )? - int alt72=2; - alt72 = dfa72.predict(input); - switch (alt72) { + // InternalApplicationConfiguration.g:9793:2: ( rule__GenerationTask__UnorderedGroup_3__5 )? + int alt68=2; + alt68 = dfa68.predict(input); + switch (alt68) { case 1 : - // InternalApplicationConfiguration.g:10346:2: rule__GenerationTask__UnorderedGroup_3__5 + // InternalApplicationConfiguration.g:9793:2: rule__GenerationTask__UnorderedGroup_3__5 { pushFollow(FOLLOW_2); rule__GenerationTask__UnorderedGroup_3__5(); @@ -31978,26 +30265,26 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__UnorderedGroup_3__5" - // InternalApplicationConfiguration.g:10352:1: rule__GenerationTask__UnorderedGroup_3__5 : rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__6 )? ; + // InternalApplicationConfiguration.g:9799:1: rule__GenerationTask__UnorderedGroup_3__5 : rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__6 )? ; public final void rule__GenerationTask__UnorderedGroup_3__5() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:10356:1: ( rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__6 )? ) - // InternalApplicationConfiguration.g:10357:2: rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__6 )? + // InternalApplicationConfiguration.g:9803:1: ( rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__6 )? ) + // InternalApplicationConfiguration.g:9804:2: rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__6 )? { - pushFollow(FOLLOW_49); + pushFollow(FOLLOW_47); rule__GenerationTask__UnorderedGroup_3__Impl(); state._fsp--; - // InternalApplicationConfiguration.g:10358:2: ( rule__GenerationTask__UnorderedGroup_3__6 )? - int alt73=2; - alt73 = dfa73.predict(input); - switch (alt73) { + // InternalApplicationConfiguration.g:9805:2: ( rule__GenerationTask__UnorderedGroup_3__6 )? + int alt69=2; + alt69 = dfa69.predict(input); + switch (alt69) { case 1 : - // InternalApplicationConfiguration.g:10358:2: rule__GenerationTask__UnorderedGroup_3__6 + // InternalApplicationConfiguration.g:9805:2: rule__GenerationTask__UnorderedGroup_3__6 { pushFollow(FOLLOW_2); rule__GenerationTask__UnorderedGroup_3__6(); @@ -32029,26 +30316,26 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__UnorderedGroup_3__6" - // InternalApplicationConfiguration.g:10364:1: rule__GenerationTask__UnorderedGroup_3__6 : rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__7 )? ; + // InternalApplicationConfiguration.g:9811:1: rule__GenerationTask__UnorderedGroup_3__6 : rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__7 )? ; public final void rule__GenerationTask__UnorderedGroup_3__6() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:10368:1: ( rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__7 )? ) - // InternalApplicationConfiguration.g:10369:2: rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__7 )? + // InternalApplicationConfiguration.g:9815:1: ( rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__7 )? ) + // InternalApplicationConfiguration.g:9816:2: rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__7 )? { - pushFollow(FOLLOW_49); + pushFollow(FOLLOW_47); rule__GenerationTask__UnorderedGroup_3__Impl(); state._fsp--; - // InternalApplicationConfiguration.g:10370:2: ( rule__GenerationTask__UnorderedGroup_3__7 )? - int alt74=2; - alt74 = dfa74.predict(input); - switch (alt74) { + // InternalApplicationConfiguration.g:9817:2: ( rule__GenerationTask__UnorderedGroup_3__7 )? + int alt70=2; + alt70 = dfa70.predict(input); + switch (alt70) { case 1 : - // InternalApplicationConfiguration.g:10370:2: rule__GenerationTask__UnorderedGroup_3__7 + // InternalApplicationConfiguration.g:9817:2: rule__GenerationTask__UnorderedGroup_3__7 { pushFollow(FOLLOW_2); rule__GenerationTask__UnorderedGroup_3__7(); @@ -32080,26 +30367,26 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__UnorderedGroup_3__7" - // InternalApplicationConfiguration.g:10376:1: rule__GenerationTask__UnorderedGroup_3__7 : rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__8 )? ; + // InternalApplicationConfiguration.g:9823:1: rule__GenerationTask__UnorderedGroup_3__7 : rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__8 )? ; public final void rule__GenerationTask__UnorderedGroup_3__7() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:10380:1: ( rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__8 )? ) - // InternalApplicationConfiguration.g:10381:2: rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__8 )? + // InternalApplicationConfiguration.g:9827:1: ( rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__8 )? ) + // InternalApplicationConfiguration.g:9828:2: rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__8 )? { - pushFollow(FOLLOW_49); + pushFollow(FOLLOW_47); rule__GenerationTask__UnorderedGroup_3__Impl(); state._fsp--; - // InternalApplicationConfiguration.g:10382:2: ( rule__GenerationTask__UnorderedGroup_3__8 )? - int alt75=2; - alt75 = dfa75.predict(input); - switch (alt75) { + // InternalApplicationConfiguration.g:9829:2: ( rule__GenerationTask__UnorderedGroup_3__8 )? + int alt71=2; + alt71 = dfa71.predict(input); + switch (alt71) { case 1 : - // InternalApplicationConfiguration.g:10382:2: rule__GenerationTask__UnorderedGroup_3__8 + // InternalApplicationConfiguration.g:9829:2: rule__GenerationTask__UnorderedGroup_3__8 { pushFollow(FOLLOW_2); rule__GenerationTask__UnorderedGroup_3__8(); @@ -32131,26 +30418,26 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__UnorderedGroup_3__8" - // InternalApplicationConfiguration.g:10388:1: rule__GenerationTask__UnorderedGroup_3__8 : rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__9 )? ; + // InternalApplicationConfiguration.g:9835:1: rule__GenerationTask__UnorderedGroup_3__8 : rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__9 )? ; public final void rule__GenerationTask__UnorderedGroup_3__8() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:10392:1: ( rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__9 )? ) - // InternalApplicationConfiguration.g:10393:2: rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__9 )? + // InternalApplicationConfiguration.g:9839:1: ( rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__9 )? ) + // InternalApplicationConfiguration.g:9840:2: rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__9 )? { - pushFollow(FOLLOW_49); + pushFollow(FOLLOW_47); rule__GenerationTask__UnorderedGroup_3__Impl(); state._fsp--; - // InternalApplicationConfiguration.g:10394:2: ( rule__GenerationTask__UnorderedGroup_3__9 )? - int alt76=2; - alt76 = dfa76.predict(input); - switch (alt76) { + // InternalApplicationConfiguration.g:9841:2: ( rule__GenerationTask__UnorderedGroup_3__9 )? + int alt72=2; + alt72 = dfa72.predict(input); + switch (alt72) { case 1 : - // InternalApplicationConfiguration.g:10394:2: rule__GenerationTask__UnorderedGroup_3__9 + // InternalApplicationConfiguration.g:9841:2: rule__GenerationTask__UnorderedGroup_3__9 { pushFollow(FOLLOW_2); rule__GenerationTask__UnorderedGroup_3__9(); @@ -32182,26 +30469,26 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__UnorderedGroup_3__9" - // InternalApplicationConfiguration.g:10400:1: rule__GenerationTask__UnorderedGroup_3__9 : rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__10 )? ; + // InternalApplicationConfiguration.g:9847:1: rule__GenerationTask__UnorderedGroup_3__9 : rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__10 )? ; public final void rule__GenerationTask__UnorderedGroup_3__9() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:10404:1: ( rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__10 )? ) - // InternalApplicationConfiguration.g:10405:2: rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__10 )? + // InternalApplicationConfiguration.g:9851:1: ( rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__10 )? ) + // InternalApplicationConfiguration.g:9852:2: rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__10 )? { - pushFollow(FOLLOW_49); + pushFollow(FOLLOW_47); rule__GenerationTask__UnorderedGroup_3__Impl(); state._fsp--; - // InternalApplicationConfiguration.g:10406:2: ( rule__GenerationTask__UnorderedGroup_3__10 )? - int alt77=2; - alt77 = dfa77.predict(input); - switch (alt77) { + // InternalApplicationConfiguration.g:9853:2: ( rule__GenerationTask__UnorderedGroup_3__10 )? + int alt73=2; + alt73 = dfa73.predict(input); + switch (alt73) { case 1 : - // InternalApplicationConfiguration.g:10406:2: rule__GenerationTask__UnorderedGroup_3__10 + // InternalApplicationConfiguration.g:9853:2: rule__GenerationTask__UnorderedGroup_3__10 { pushFollow(FOLLOW_2); rule__GenerationTask__UnorderedGroup_3__10(); @@ -32233,26 +30520,26 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__UnorderedGroup_3__10" - // InternalApplicationConfiguration.g:10412:1: rule__GenerationTask__UnorderedGroup_3__10 : rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__11 )? ; + // InternalApplicationConfiguration.g:9859:1: rule__GenerationTask__UnorderedGroup_3__10 : rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__11 )? ; public final void rule__GenerationTask__UnorderedGroup_3__10() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:10416:1: ( rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__11 )? ) - // InternalApplicationConfiguration.g:10417:2: rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__11 )? + // InternalApplicationConfiguration.g:9863:1: ( rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__11 )? ) + // InternalApplicationConfiguration.g:9864:2: rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__11 )? { - pushFollow(FOLLOW_49); + pushFollow(FOLLOW_47); rule__GenerationTask__UnorderedGroup_3__Impl(); state._fsp--; - // InternalApplicationConfiguration.g:10418:2: ( rule__GenerationTask__UnorderedGroup_3__11 )? - int alt78=2; - alt78 = dfa78.predict(input); - switch (alt78) { + // InternalApplicationConfiguration.g:9865:2: ( rule__GenerationTask__UnorderedGroup_3__11 )? + int alt74=2; + alt74 = dfa74.predict(input); + switch (alt74) { case 1 : - // InternalApplicationConfiguration.g:10418:2: rule__GenerationTask__UnorderedGroup_3__11 + // InternalApplicationConfiguration.g:9865:2: rule__GenerationTask__UnorderedGroup_3__11 { pushFollow(FOLLOW_2); rule__GenerationTask__UnorderedGroup_3__11(); @@ -32284,26 +30571,26 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__UnorderedGroup_3__11" - // InternalApplicationConfiguration.g:10424:1: rule__GenerationTask__UnorderedGroup_3__11 : rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__12 )? ; + // InternalApplicationConfiguration.g:9871:1: rule__GenerationTask__UnorderedGroup_3__11 : rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__12 )? ; public final void rule__GenerationTask__UnorderedGroup_3__11() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:10428:1: ( rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__12 )? ) - // InternalApplicationConfiguration.g:10429:2: rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__12 )? + // InternalApplicationConfiguration.g:9875:1: ( rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__12 )? ) + // InternalApplicationConfiguration.g:9876:2: rule__GenerationTask__UnorderedGroup_3__Impl ( rule__GenerationTask__UnorderedGroup_3__12 )? { - pushFollow(FOLLOW_49); + pushFollow(FOLLOW_47); rule__GenerationTask__UnorderedGroup_3__Impl(); state._fsp--; - // InternalApplicationConfiguration.g:10430:2: ( rule__GenerationTask__UnorderedGroup_3__12 )? - int alt79=2; - alt79 = dfa79.predict(input); - switch (alt79) { + // InternalApplicationConfiguration.g:9877:2: ( rule__GenerationTask__UnorderedGroup_3__12 )? + int alt75=2; + alt75 = dfa75.predict(input); + switch (alt75) { case 1 : - // InternalApplicationConfiguration.g:10430:2: rule__GenerationTask__UnorderedGroup_3__12 + // InternalApplicationConfiguration.g:9877:2: rule__GenerationTask__UnorderedGroup_3__12 { pushFollow(FOLLOW_2); rule__GenerationTask__UnorderedGroup_3__12(); @@ -32335,14 +30622,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__UnorderedGroup_3__12" - // InternalApplicationConfiguration.g:10436:1: rule__GenerationTask__UnorderedGroup_3__12 : rule__GenerationTask__UnorderedGroup_3__Impl ; + // InternalApplicationConfiguration.g:9883:1: rule__GenerationTask__UnorderedGroup_3__12 : rule__GenerationTask__UnorderedGroup_3__Impl ; public final void rule__GenerationTask__UnorderedGroup_3__12() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:10440:1: ( rule__GenerationTask__UnorderedGroup_3__Impl ) - // InternalApplicationConfiguration.g:10441:2: rule__GenerationTask__UnorderedGroup_3__Impl + // InternalApplicationConfiguration.g:9887:1: ( rule__GenerationTask__UnorderedGroup_3__Impl ) + // InternalApplicationConfiguration.g:9888:2: rule__GenerationTask__UnorderedGroup_3__Impl { pushFollow(FOLLOW_2); rule__GenerationTask__UnorderedGroup_3__Impl(); @@ -32368,17 +30655,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ConfigurationScript__ImportsAssignment_0" - // InternalApplicationConfiguration.g:10448:1: rule__ConfigurationScript__ImportsAssignment_0 : ( ruleImport ) ; + // InternalApplicationConfiguration.g:9895:1: rule__ConfigurationScript__ImportsAssignment_0 : ( ruleImport ) ; public final void rule__ConfigurationScript__ImportsAssignment_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:10452:1: ( ( ruleImport ) ) - // InternalApplicationConfiguration.g:10453:2: ( ruleImport ) + // InternalApplicationConfiguration.g:9899:1: ( ( ruleImport ) ) + // InternalApplicationConfiguration.g:9900:2: ( ruleImport ) { - // InternalApplicationConfiguration.g:10453:2: ( ruleImport ) - // InternalApplicationConfiguration.g:10454:3: ruleImport + // InternalApplicationConfiguration.g:9900:2: ( ruleImport ) + // InternalApplicationConfiguration.g:9901:3: ruleImport { before(grammarAccess.getConfigurationScriptAccess().getImportsImportParserRuleCall_0_0()); pushFollow(FOLLOW_2); @@ -32409,17 +30696,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ConfigurationScript__CommandsAssignment_1" - // InternalApplicationConfiguration.g:10463:1: rule__ConfigurationScript__CommandsAssignment_1 : ( ruleCommand ) ; + // InternalApplicationConfiguration.g:9910:1: rule__ConfigurationScript__CommandsAssignment_1 : ( ruleCommand ) ; public final void rule__ConfigurationScript__CommandsAssignment_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:10467:1: ( ( ruleCommand ) ) - // InternalApplicationConfiguration.g:10468:2: ( ruleCommand ) + // InternalApplicationConfiguration.g:9914:1: ( ( ruleCommand ) ) + // InternalApplicationConfiguration.g:9915:2: ( ruleCommand ) { - // InternalApplicationConfiguration.g:10468:2: ( ruleCommand ) - // InternalApplicationConfiguration.g:10469:3: ruleCommand + // InternalApplicationConfiguration.g:9915:2: ( ruleCommand ) + // InternalApplicationConfiguration.g:9916:3: ruleCommand { before(grammarAccess.getConfigurationScriptAccess().getCommandsCommandParserRuleCall_1_0()); pushFollow(FOLLOW_2); @@ -32450,21 +30737,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__EPackageImport__ImportedPackageAssignment_2" - // InternalApplicationConfiguration.g:10478:1: rule__EPackageImport__ImportedPackageAssignment_2 : ( ( RULE_STRING ) ) ; + // InternalApplicationConfiguration.g:9925:1: rule__EPackageImport__ImportedPackageAssignment_2 : ( ( RULE_STRING ) ) ; public final void rule__EPackageImport__ImportedPackageAssignment_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:10482:1: ( ( ( RULE_STRING ) ) ) - // InternalApplicationConfiguration.g:10483:2: ( ( RULE_STRING ) ) + // InternalApplicationConfiguration.g:9929:1: ( ( ( RULE_STRING ) ) ) + // InternalApplicationConfiguration.g:9930:2: ( ( RULE_STRING ) ) { - // InternalApplicationConfiguration.g:10483:2: ( ( RULE_STRING ) ) - // InternalApplicationConfiguration.g:10484:3: ( RULE_STRING ) + // InternalApplicationConfiguration.g:9930:2: ( ( RULE_STRING ) ) + // InternalApplicationConfiguration.g:9931:3: ( RULE_STRING ) { before(grammarAccess.getEPackageImportAccess().getImportedPackageEPackageCrossReference_2_0()); - // InternalApplicationConfiguration.g:10485:3: ( RULE_STRING ) - // InternalApplicationConfiguration.g:10486:4: RULE_STRING + // InternalApplicationConfiguration.g:9932:3: ( RULE_STRING ) + // InternalApplicationConfiguration.g:9933:4: RULE_STRING { before(grammarAccess.getEPackageImportAccess().getImportedPackageEPackageSTRINGTerminalRuleCall_2_0_1()); match(input,RULE_STRING,FOLLOW_2); @@ -32495,21 +30782,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ViatraImport__ImportedViatraAssignment_2" - // InternalApplicationConfiguration.g:10497:1: rule__ViatraImport__ImportedViatraAssignment_2 : ( ( RULE_STRING ) ) ; + // InternalApplicationConfiguration.g:9944:1: rule__ViatraImport__ImportedViatraAssignment_2 : ( ( RULE_STRING ) ) ; public final void rule__ViatraImport__ImportedViatraAssignment_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:10501:1: ( ( ( RULE_STRING ) ) ) - // InternalApplicationConfiguration.g:10502:2: ( ( RULE_STRING ) ) + // InternalApplicationConfiguration.g:9948:1: ( ( ( RULE_STRING ) ) ) + // InternalApplicationConfiguration.g:9949:2: ( ( RULE_STRING ) ) { - // InternalApplicationConfiguration.g:10502:2: ( ( RULE_STRING ) ) - // InternalApplicationConfiguration.g:10503:3: ( RULE_STRING ) + // InternalApplicationConfiguration.g:9949:2: ( ( RULE_STRING ) ) + // InternalApplicationConfiguration.g:9950:3: ( RULE_STRING ) { before(grammarAccess.getViatraImportAccess().getImportedViatraPatternModelCrossReference_2_0()); - // InternalApplicationConfiguration.g:10504:3: ( RULE_STRING ) - // InternalApplicationConfiguration.g:10505:4: RULE_STRING + // InternalApplicationConfiguration.g:9951:3: ( RULE_STRING ) + // InternalApplicationConfiguration.g:9952:4: RULE_STRING { before(grammarAccess.getViatraImportAccess().getImportedViatraPatternModelSTRINGTerminalRuleCall_2_0_1()); match(input,RULE_STRING,FOLLOW_2); @@ -32539,63 +30826,18 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR end "rule__ViatraImport__ImportedViatraAssignment_2" - // $ANTLR start "rule__CftImport__ImportedCftAssignment_2" - // InternalApplicationConfiguration.g:10516:1: rule__CftImport__ImportedCftAssignment_2 : ( ( RULE_STRING ) ) ; - public final void rule__CftImport__ImportedCftAssignment_2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:10520:1: ( ( ( RULE_STRING ) ) ) - // InternalApplicationConfiguration.g:10521:2: ( ( RULE_STRING ) ) - { - // InternalApplicationConfiguration.g:10521:2: ( ( RULE_STRING ) ) - // InternalApplicationConfiguration.g:10522:3: ( RULE_STRING ) - { - before(grammarAccess.getCftImportAccess().getImportedCftCftModelCrossReference_2_0()); - // InternalApplicationConfiguration.g:10523:3: ( RULE_STRING ) - // InternalApplicationConfiguration.g:10524:4: RULE_STRING - { - before(grammarAccess.getCftImportAccess().getImportedCftCftModelSTRINGTerminalRuleCall_2_0_1()); - match(input,RULE_STRING,FOLLOW_2); - after(grammarAccess.getCftImportAccess().getImportedCftCftModelSTRINGTerminalRuleCall_2_0_1()); - - } - - after(grammarAccess.getCftImportAccess().getImportedCftCftModelCrossReference_2_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__CftImport__ImportedCftAssignment_2" - - // $ANTLR start "rule__FileSpecification__PathAssignment" - // InternalApplicationConfiguration.g:10535:1: rule__FileSpecification__PathAssignment : ( RULE_STRING ) ; + // InternalApplicationConfiguration.g:9963:1: rule__FileSpecification__PathAssignment : ( RULE_STRING ) ; public final void rule__FileSpecification__PathAssignment() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:10539:1: ( ( RULE_STRING ) ) - // InternalApplicationConfiguration.g:10540:2: ( RULE_STRING ) + // InternalApplicationConfiguration.g:9967:1: ( ( RULE_STRING ) ) + // InternalApplicationConfiguration.g:9968:2: ( RULE_STRING ) { - // InternalApplicationConfiguration.g:10540:2: ( RULE_STRING ) - // InternalApplicationConfiguration.g:10541:3: RULE_STRING + // InternalApplicationConfiguration.g:9968:2: ( RULE_STRING ) + // InternalApplicationConfiguration.g:9969:3: RULE_STRING { before(grammarAccess.getFileSpecificationAccess().getPathSTRINGTerminalRuleCall_0()); match(input,RULE_STRING,FOLLOW_2); @@ -32622,17 +30864,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__FileDeclaration__NameAssignment_1" - // InternalApplicationConfiguration.g:10550:1: rule__FileDeclaration__NameAssignment_1 : ( RULE_ID ) ; + // InternalApplicationConfiguration.g:9978:1: rule__FileDeclaration__NameAssignment_1 : ( RULE_ID ) ; public final void rule__FileDeclaration__NameAssignment_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:10554:1: ( ( RULE_ID ) ) - // InternalApplicationConfiguration.g:10555:2: ( RULE_ID ) + // InternalApplicationConfiguration.g:9982:1: ( ( RULE_ID ) ) + // InternalApplicationConfiguration.g:9983:2: ( RULE_ID ) { - // InternalApplicationConfiguration.g:10555:2: ( RULE_ID ) - // InternalApplicationConfiguration.g:10556:3: RULE_ID + // InternalApplicationConfiguration.g:9983:2: ( RULE_ID ) + // InternalApplicationConfiguration.g:9984:3: RULE_ID { before(grammarAccess.getFileDeclarationAccess().getNameIDTerminalRuleCall_1_0()); match(input,RULE_ID,FOLLOW_2); @@ -32659,17 +30901,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__FileDeclaration__SpecificationAssignment_3" - // InternalApplicationConfiguration.g:10565:1: rule__FileDeclaration__SpecificationAssignment_3 : ( ruleFileSpecification ) ; + // InternalApplicationConfiguration.g:9993:1: rule__FileDeclaration__SpecificationAssignment_3 : ( ruleFileSpecification ) ; public final void rule__FileDeclaration__SpecificationAssignment_3() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:10569:1: ( ( ruleFileSpecification ) ) - // InternalApplicationConfiguration.g:10570:2: ( ruleFileSpecification ) + // InternalApplicationConfiguration.g:9997:1: ( ( ruleFileSpecification ) ) + // InternalApplicationConfiguration.g:9998:2: ( ruleFileSpecification ) { - // InternalApplicationConfiguration.g:10570:2: ( ruleFileSpecification ) - // InternalApplicationConfiguration.g:10571:3: ruleFileSpecification + // InternalApplicationConfiguration.g:9998:2: ( ruleFileSpecification ) + // InternalApplicationConfiguration.g:9999:3: ruleFileSpecification { before(grammarAccess.getFileDeclarationAccess().getSpecificationFileSpecificationParserRuleCall_3_0()); pushFollow(FOLLOW_2); @@ -32700,21 +30942,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__FileReference__ReferredAssignment" - // InternalApplicationConfiguration.g:10580:1: rule__FileReference__ReferredAssignment : ( ( RULE_ID ) ) ; + // InternalApplicationConfiguration.g:10008:1: rule__FileReference__ReferredAssignment : ( ( RULE_ID ) ) ; public final void rule__FileReference__ReferredAssignment() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:10584:1: ( ( ( RULE_ID ) ) ) - // InternalApplicationConfiguration.g:10585:2: ( ( RULE_ID ) ) + // InternalApplicationConfiguration.g:10012:1: ( ( ( RULE_ID ) ) ) + // InternalApplicationConfiguration.g:10013:2: ( ( RULE_ID ) ) { - // InternalApplicationConfiguration.g:10585:2: ( ( RULE_ID ) ) - // InternalApplicationConfiguration.g:10586:3: ( RULE_ID ) + // InternalApplicationConfiguration.g:10013:2: ( ( RULE_ID ) ) + // InternalApplicationConfiguration.g:10014:3: ( RULE_ID ) { before(grammarAccess.getFileReferenceAccess().getReferredFileDeclarationCrossReference_0()); - // InternalApplicationConfiguration.g:10587:3: ( RULE_ID ) - // InternalApplicationConfiguration.g:10588:4: RULE_ID + // InternalApplicationConfiguration.g:10015:3: ( RULE_ID ) + // InternalApplicationConfiguration.g:10016:4: RULE_ID { before(grammarAccess.getFileReferenceAccess().getReferredFileDeclarationIDTerminalRuleCall_0_1()); match(input,RULE_ID,FOLLOW_2); @@ -32745,17 +30987,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__MetamodelSpecification__EntriesAssignment_1" - // InternalApplicationConfiguration.g:10599:1: rule__MetamodelSpecification__EntriesAssignment_1 : ( ruleMetamodelEntry ) ; + // InternalApplicationConfiguration.g:10027:1: rule__MetamodelSpecification__EntriesAssignment_1 : ( ruleMetamodelEntry ) ; public final void rule__MetamodelSpecification__EntriesAssignment_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:10603:1: ( ( ruleMetamodelEntry ) ) - // InternalApplicationConfiguration.g:10604:2: ( ruleMetamodelEntry ) + // InternalApplicationConfiguration.g:10031:1: ( ( ruleMetamodelEntry ) ) + // InternalApplicationConfiguration.g:10032:2: ( ruleMetamodelEntry ) { - // InternalApplicationConfiguration.g:10604:2: ( ruleMetamodelEntry ) - // InternalApplicationConfiguration.g:10605:3: ruleMetamodelEntry + // InternalApplicationConfiguration.g:10032:2: ( ruleMetamodelEntry ) + // InternalApplicationConfiguration.g:10033:3: ruleMetamodelEntry { before(grammarAccess.getMetamodelSpecificationAccess().getEntriesMetamodelEntryParserRuleCall_1_0()); pushFollow(FOLLOW_2); @@ -32786,17 +31028,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__MetamodelSpecification__EntriesAssignment_2_1" - // InternalApplicationConfiguration.g:10614:1: rule__MetamodelSpecification__EntriesAssignment_2_1 : ( ruleMetamodelEntry ) ; + // InternalApplicationConfiguration.g:10042:1: rule__MetamodelSpecification__EntriesAssignment_2_1 : ( ruleMetamodelEntry ) ; public final void rule__MetamodelSpecification__EntriesAssignment_2_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:10618:1: ( ( ruleMetamodelEntry ) ) - // InternalApplicationConfiguration.g:10619:2: ( ruleMetamodelEntry ) + // InternalApplicationConfiguration.g:10046:1: ( ( ruleMetamodelEntry ) ) + // InternalApplicationConfiguration.g:10047:2: ( ruleMetamodelEntry ) { - // InternalApplicationConfiguration.g:10619:2: ( ruleMetamodelEntry ) - // InternalApplicationConfiguration.g:10620:3: ruleMetamodelEntry + // InternalApplicationConfiguration.g:10047:2: ( ruleMetamodelEntry ) + // InternalApplicationConfiguration.g:10048:3: ruleMetamodelEntry { before(grammarAccess.getMetamodelSpecificationAccess().getEntriesMetamodelEntryParserRuleCall_2_1_0()); pushFollow(FOLLOW_2); @@ -32827,21 +31069,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__AllPackageEntry__PackageAssignment_1" - // InternalApplicationConfiguration.g:10629:1: rule__AllPackageEntry__PackageAssignment_1 : ( ( ruleQualifiedName ) ) ; + // InternalApplicationConfiguration.g:10057:1: rule__AllPackageEntry__PackageAssignment_1 : ( ( ruleQualifiedName ) ) ; public final void rule__AllPackageEntry__PackageAssignment_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:10633:1: ( ( ( ruleQualifiedName ) ) ) - // InternalApplicationConfiguration.g:10634:2: ( ( ruleQualifiedName ) ) + // InternalApplicationConfiguration.g:10061:1: ( ( ( ruleQualifiedName ) ) ) + // InternalApplicationConfiguration.g:10062:2: ( ( ruleQualifiedName ) ) { - // InternalApplicationConfiguration.g:10634:2: ( ( ruleQualifiedName ) ) - // InternalApplicationConfiguration.g:10635:3: ( ruleQualifiedName ) + // InternalApplicationConfiguration.g:10062:2: ( ( ruleQualifiedName ) ) + // InternalApplicationConfiguration.g:10063:3: ( ruleQualifiedName ) { before(grammarAccess.getAllPackageEntryAccess().getPackageEPackageCrossReference_1_0()); - // InternalApplicationConfiguration.g:10636:3: ( ruleQualifiedName ) - // InternalApplicationConfiguration.g:10637:4: ruleQualifiedName + // InternalApplicationConfiguration.g:10064:3: ( ruleQualifiedName ) + // InternalApplicationConfiguration.g:10065:4: ruleQualifiedName { before(grammarAccess.getAllPackageEntryAccess().getPackageEPackageQualifiedNameParserRuleCall_1_0_1()); pushFollow(FOLLOW_2); @@ -32876,17 +31118,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__AllPackageEntry__ExclusionAssignment_2_2" - // InternalApplicationConfiguration.g:10648:1: rule__AllPackageEntry__ExclusionAssignment_2_2 : ( ruleMetamodelElement ) ; + // InternalApplicationConfiguration.g:10076:1: rule__AllPackageEntry__ExclusionAssignment_2_2 : ( ruleMetamodelElement ) ; public final void rule__AllPackageEntry__ExclusionAssignment_2_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:10652:1: ( ( ruleMetamodelElement ) ) - // InternalApplicationConfiguration.g:10653:2: ( ruleMetamodelElement ) + // InternalApplicationConfiguration.g:10080:1: ( ( ruleMetamodelElement ) ) + // InternalApplicationConfiguration.g:10081:2: ( ruleMetamodelElement ) { - // InternalApplicationConfiguration.g:10653:2: ( ruleMetamodelElement ) - // InternalApplicationConfiguration.g:10654:3: ruleMetamodelElement + // InternalApplicationConfiguration.g:10081:2: ( ruleMetamodelElement ) + // InternalApplicationConfiguration.g:10082:3: ruleMetamodelElement { before(grammarAccess.getAllPackageEntryAccess().getExclusionMetamodelElementParserRuleCall_2_2_0()); pushFollow(FOLLOW_2); @@ -32917,17 +31159,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__AllPackageEntry__ExclusionAssignment_2_3_1" - // InternalApplicationConfiguration.g:10663:1: rule__AllPackageEntry__ExclusionAssignment_2_3_1 : ( ruleMetamodelElement ) ; + // InternalApplicationConfiguration.g:10091:1: rule__AllPackageEntry__ExclusionAssignment_2_3_1 : ( ruleMetamodelElement ) ; public final void rule__AllPackageEntry__ExclusionAssignment_2_3_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:10667:1: ( ( ruleMetamodelElement ) ) - // InternalApplicationConfiguration.g:10668:2: ( ruleMetamodelElement ) + // InternalApplicationConfiguration.g:10095:1: ( ( ruleMetamodelElement ) ) + // InternalApplicationConfiguration.g:10096:2: ( ruleMetamodelElement ) { - // InternalApplicationConfiguration.g:10668:2: ( ruleMetamodelElement ) - // InternalApplicationConfiguration.g:10669:3: ruleMetamodelElement + // InternalApplicationConfiguration.g:10096:2: ( ruleMetamodelElement ) + // InternalApplicationConfiguration.g:10097:3: ruleMetamodelElement { before(grammarAccess.getAllPackageEntryAccess().getExclusionMetamodelElementParserRuleCall_2_3_1_0()); pushFollow(FOLLOW_2); @@ -32958,21 +31200,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__MetamodelElement__PackageAssignment_0_0" - // InternalApplicationConfiguration.g:10678:1: rule__MetamodelElement__PackageAssignment_0_0 : ( ( ruleQualifiedName ) ) ; + // InternalApplicationConfiguration.g:10106:1: rule__MetamodelElement__PackageAssignment_0_0 : ( ( ruleQualifiedName ) ) ; public final void rule__MetamodelElement__PackageAssignment_0_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:10682:1: ( ( ( ruleQualifiedName ) ) ) - // InternalApplicationConfiguration.g:10683:2: ( ( ruleQualifiedName ) ) + // InternalApplicationConfiguration.g:10110:1: ( ( ( ruleQualifiedName ) ) ) + // InternalApplicationConfiguration.g:10111:2: ( ( ruleQualifiedName ) ) { - // InternalApplicationConfiguration.g:10683:2: ( ( ruleQualifiedName ) ) - // InternalApplicationConfiguration.g:10684:3: ( ruleQualifiedName ) + // InternalApplicationConfiguration.g:10111:2: ( ( ruleQualifiedName ) ) + // InternalApplicationConfiguration.g:10112:3: ( ruleQualifiedName ) { before(grammarAccess.getMetamodelElementAccess().getPackageEPackageCrossReference_0_0_0()); - // InternalApplicationConfiguration.g:10685:3: ( ruleQualifiedName ) - // InternalApplicationConfiguration.g:10686:4: ruleQualifiedName + // InternalApplicationConfiguration.g:10113:3: ( ruleQualifiedName ) + // InternalApplicationConfiguration.g:10114:4: ruleQualifiedName { before(grammarAccess.getMetamodelElementAccess().getPackageEPackageQualifiedNameParserRuleCall_0_0_0_1()); pushFollow(FOLLOW_2); @@ -33007,21 +31249,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__MetamodelElement__ClassifierAssignment_1" - // InternalApplicationConfiguration.g:10697:1: rule__MetamodelElement__ClassifierAssignment_1 : ( ( RULE_ID ) ) ; + // InternalApplicationConfiguration.g:10125:1: rule__MetamodelElement__ClassifierAssignment_1 : ( ( RULE_ID ) ) ; public final void rule__MetamodelElement__ClassifierAssignment_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:10701:1: ( ( ( RULE_ID ) ) ) - // InternalApplicationConfiguration.g:10702:2: ( ( RULE_ID ) ) + // InternalApplicationConfiguration.g:10129:1: ( ( ( RULE_ID ) ) ) + // InternalApplicationConfiguration.g:10130:2: ( ( RULE_ID ) ) { - // InternalApplicationConfiguration.g:10702:2: ( ( RULE_ID ) ) - // InternalApplicationConfiguration.g:10703:3: ( RULE_ID ) + // InternalApplicationConfiguration.g:10130:2: ( ( RULE_ID ) ) + // InternalApplicationConfiguration.g:10131:3: ( RULE_ID ) { before(grammarAccess.getMetamodelElementAccess().getClassifierEClassifierCrossReference_1_0()); - // InternalApplicationConfiguration.g:10704:3: ( RULE_ID ) - // InternalApplicationConfiguration.g:10705:4: RULE_ID + // InternalApplicationConfiguration.g:10132:3: ( RULE_ID ) + // InternalApplicationConfiguration.g:10133:4: RULE_ID { before(grammarAccess.getMetamodelElementAccess().getClassifierEClassifierIDTerminalRuleCall_1_0_1()); match(input,RULE_ID,FOLLOW_2); @@ -33052,21 +31294,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__MetamodelElement__FeatureAssignment_2_1" - // InternalApplicationConfiguration.g:10716:1: rule__MetamodelElement__FeatureAssignment_2_1 : ( ( RULE_ID ) ) ; + // InternalApplicationConfiguration.g:10144:1: rule__MetamodelElement__FeatureAssignment_2_1 : ( ( RULE_ID ) ) ; public final void rule__MetamodelElement__FeatureAssignment_2_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:10720:1: ( ( ( RULE_ID ) ) ) - // InternalApplicationConfiguration.g:10721:2: ( ( RULE_ID ) ) + // InternalApplicationConfiguration.g:10148:1: ( ( ( RULE_ID ) ) ) + // InternalApplicationConfiguration.g:10149:2: ( ( RULE_ID ) ) { - // InternalApplicationConfiguration.g:10721:2: ( ( RULE_ID ) ) - // InternalApplicationConfiguration.g:10722:3: ( RULE_ID ) + // InternalApplicationConfiguration.g:10149:2: ( ( RULE_ID ) ) + // InternalApplicationConfiguration.g:10150:3: ( RULE_ID ) { before(grammarAccess.getMetamodelElementAccess().getFeatureENamedElementCrossReference_2_1_0()); - // InternalApplicationConfiguration.g:10723:3: ( RULE_ID ) - // InternalApplicationConfiguration.g:10724:4: RULE_ID + // InternalApplicationConfiguration.g:10151:3: ( RULE_ID ) + // InternalApplicationConfiguration.g:10152:4: RULE_ID { before(grammarAccess.getMetamodelElementAccess().getFeatureENamedElementIDTerminalRuleCall_2_1_0_1()); match(input,RULE_ID,FOLLOW_2); @@ -33097,17 +31339,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__MetamodelDeclaration__NameAssignment_1" - // InternalApplicationConfiguration.g:10735:1: rule__MetamodelDeclaration__NameAssignment_1 : ( RULE_ID ) ; + // InternalApplicationConfiguration.g:10163:1: rule__MetamodelDeclaration__NameAssignment_1 : ( RULE_ID ) ; public final void rule__MetamodelDeclaration__NameAssignment_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:10739:1: ( ( RULE_ID ) ) - // InternalApplicationConfiguration.g:10740:2: ( RULE_ID ) + // InternalApplicationConfiguration.g:10167:1: ( ( RULE_ID ) ) + // InternalApplicationConfiguration.g:10168:2: ( RULE_ID ) { - // InternalApplicationConfiguration.g:10740:2: ( RULE_ID ) - // InternalApplicationConfiguration.g:10741:3: RULE_ID + // InternalApplicationConfiguration.g:10168:2: ( RULE_ID ) + // InternalApplicationConfiguration.g:10169:3: RULE_ID { before(grammarAccess.getMetamodelDeclarationAccess().getNameIDTerminalRuleCall_1_0()); match(input,RULE_ID,FOLLOW_2); @@ -33134,17 +31376,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__MetamodelDeclaration__SpecificationAssignment_2" - // InternalApplicationConfiguration.g:10750:1: rule__MetamodelDeclaration__SpecificationAssignment_2 : ( ruleMetamodelSpecification ) ; + // InternalApplicationConfiguration.g:10178:1: rule__MetamodelDeclaration__SpecificationAssignment_2 : ( ruleMetamodelSpecification ) ; public final void rule__MetamodelDeclaration__SpecificationAssignment_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:10754:1: ( ( ruleMetamodelSpecification ) ) - // InternalApplicationConfiguration.g:10755:2: ( ruleMetamodelSpecification ) + // InternalApplicationConfiguration.g:10182:1: ( ( ruleMetamodelSpecification ) ) + // InternalApplicationConfiguration.g:10183:2: ( ruleMetamodelSpecification ) { - // InternalApplicationConfiguration.g:10755:2: ( ruleMetamodelSpecification ) - // InternalApplicationConfiguration.g:10756:3: ruleMetamodelSpecification + // InternalApplicationConfiguration.g:10183:2: ( ruleMetamodelSpecification ) + // InternalApplicationConfiguration.g:10184:3: ruleMetamodelSpecification { before(grammarAccess.getMetamodelDeclarationAccess().getSpecificationMetamodelSpecificationParserRuleCall_2_0()); pushFollow(FOLLOW_2); @@ -33175,21 +31417,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__MetamodelReference__ReferredAssignment" - // InternalApplicationConfiguration.g:10765:1: rule__MetamodelReference__ReferredAssignment : ( ( RULE_ID ) ) ; + // InternalApplicationConfiguration.g:10193:1: rule__MetamodelReference__ReferredAssignment : ( ( RULE_ID ) ) ; public final void rule__MetamodelReference__ReferredAssignment() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:10769:1: ( ( ( RULE_ID ) ) ) - // InternalApplicationConfiguration.g:10770:2: ( ( RULE_ID ) ) + // InternalApplicationConfiguration.g:10197:1: ( ( ( RULE_ID ) ) ) + // InternalApplicationConfiguration.g:10198:2: ( ( RULE_ID ) ) { - // InternalApplicationConfiguration.g:10770:2: ( ( RULE_ID ) ) - // InternalApplicationConfiguration.g:10771:3: ( RULE_ID ) + // InternalApplicationConfiguration.g:10198:2: ( ( RULE_ID ) ) + // InternalApplicationConfiguration.g:10199:3: ( RULE_ID ) { before(grammarAccess.getMetamodelReferenceAccess().getReferredMetamodelDeclarationCrossReference_0()); - // InternalApplicationConfiguration.g:10772:3: ( RULE_ID ) - // InternalApplicationConfiguration.g:10773:4: RULE_ID + // InternalApplicationConfiguration.g:10200:3: ( RULE_ID ) + // InternalApplicationConfiguration.g:10201:4: RULE_ID { before(grammarAccess.getMetamodelReferenceAccess().getReferredMetamodelDeclarationIDTerminalRuleCall_0_1()); match(input,RULE_ID,FOLLOW_2); @@ -33220,17 +31462,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__PartialModelSpecification__EntryAssignment_1" - // InternalApplicationConfiguration.g:10784:1: rule__PartialModelSpecification__EntryAssignment_1 : ( rulePartialModelEntry ) ; + // InternalApplicationConfiguration.g:10212:1: rule__PartialModelSpecification__EntryAssignment_1 : ( rulePartialModelEntry ) ; public final void rule__PartialModelSpecification__EntryAssignment_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:10788:1: ( ( rulePartialModelEntry ) ) - // InternalApplicationConfiguration.g:10789:2: ( rulePartialModelEntry ) + // InternalApplicationConfiguration.g:10216:1: ( ( rulePartialModelEntry ) ) + // InternalApplicationConfiguration.g:10217:2: ( rulePartialModelEntry ) { - // InternalApplicationConfiguration.g:10789:2: ( rulePartialModelEntry ) - // InternalApplicationConfiguration.g:10790:3: rulePartialModelEntry + // InternalApplicationConfiguration.g:10217:2: ( rulePartialModelEntry ) + // InternalApplicationConfiguration.g:10218:3: rulePartialModelEntry { before(grammarAccess.getPartialModelSpecificationAccess().getEntryPartialModelEntryParserRuleCall_1_0()); pushFollow(FOLLOW_2); @@ -33261,17 +31503,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__PartialModelSpecification__EntryAssignment_2_1" - // InternalApplicationConfiguration.g:10799:1: rule__PartialModelSpecification__EntryAssignment_2_1 : ( rulePartialModelEntry ) ; + // InternalApplicationConfiguration.g:10227:1: rule__PartialModelSpecification__EntryAssignment_2_1 : ( rulePartialModelEntry ) ; public final void rule__PartialModelSpecification__EntryAssignment_2_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:10803:1: ( ( rulePartialModelEntry ) ) - // InternalApplicationConfiguration.g:10804:2: ( rulePartialModelEntry ) + // InternalApplicationConfiguration.g:10231:1: ( ( rulePartialModelEntry ) ) + // InternalApplicationConfiguration.g:10232:2: ( rulePartialModelEntry ) { - // InternalApplicationConfiguration.g:10804:2: ( rulePartialModelEntry ) - // InternalApplicationConfiguration.g:10805:3: rulePartialModelEntry + // InternalApplicationConfiguration.g:10232:2: ( rulePartialModelEntry ) + // InternalApplicationConfiguration.g:10233:3: rulePartialModelEntry { before(grammarAccess.getPartialModelSpecificationAccess().getEntryPartialModelEntryParserRuleCall_2_1_0()); pushFollow(FOLLOW_2); @@ -33302,17 +31544,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ModelEntry__PathAssignment" - // InternalApplicationConfiguration.g:10814:1: rule__ModelEntry__PathAssignment : ( ruleFile ) ; + // InternalApplicationConfiguration.g:10242:1: rule__ModelEntry__PathAssignment : ( ruleFile ) ; public final void rule__ModelEntry__PathAssignment() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:10818:1: ( ( ruleFile ) ) - // InternalApplicationConfiguration.g:10819:2: ( ruleFile ) + // InternalApplicationConfiguration.g:10246:1: ( ( ruleFile ) ) + // InternalApplicationConfiguration.g:10247:2: ( ruleFile ) { - // InternalApplicationConfiguration.g:10819:2: ( ruleFile ) - // InternalApplicationConfiguration.g:10820:3: ruleFile + // InternalApplicationConfiguration.g:10247:2: ( ruleFile ) + // InternalApplicationConfiguration.g:10248:3: ruleFile { before(grammarAccess.getModelEntryAccess().getPathFileParserRuleCall_0()); pushFollow(FOLLOW_2); @@ -33343,17 +31585,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__FolderEntry__PathAssignment_1" - // InternalApplicationConfiguration.g:10829:1: rule__FolderEntry__PathAssignment_1 : ( ruleFile ) ; + // InternalApplicationConfiguration.g:10257:1: rule__FolderEntry__PathAssignment_1 : ( ruleFile ) ; public final void rule__FolderEntry__PathAssignment_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:10833:1: ( ( ruleFile ) ) - // InternalApplicationConfiguration.g:10834:2: ( ruleFile ) + // InternalApplicationConfiguration.g:10261:1: ( ( ruleFile ) ) + // InternalApplicationConfiguration.g:10262:2: ( ruleFile ) { - // InternalApplicationConfiguration.g:10834:2: ( ruleFile ) - // InternalApplicationConfiguration.g:10835:3: ruleFile + // InternalApplicationConfiguration.g:10262:2: ( ruleFile ) + // InternalApplicationConfiguration.g:10263:3: ruleFile { before(grammarAccess.getFolderEntryAccess().getPathFileParserRuleCall_1_0()); pushFollow(FOLLOW_2); @@ -33384,17 +31626,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__FolderEntry__ExclusionAssignment_2_2" - // InternalApplicationConfiguration.g:10844:1: rule__FolderEntry__ExclusionAssignment_2_2 : ( ruleModelEntry ) ; + // InternalApplicationConfiguration.g:10272:1: rule__FolderEntry__ExclusionAssignment_2_2 : ( ruleModelEntry ) ; public final void rule__FolderEntry__ExclusionAssignment_2_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:10848:1: ( ( ruleModelEntry ) ) - // InternalApplicationConfiguration.g:10849:2: ( ruleModelEntry ) + // InternalApplicationConfiguration.g:10276:1: ( ( ruleModelEntry ) ) + // InternalApplicationConfiguration.g:10277:2: ( ruleModelEntry ) { - // InternalApplicationConfiguration.g:10849:2: ( ruleModelEntry ) - // InternalApplicationConfiguration.g:10850:3: ruleModelEntry + // InternalApplicationConfiguration.g:10277:2: ( ruleModelEntry ) + // InternalApplicationConfiguration.g:10278:3: ruleModelEntry { before(grammarAccess.getFolderEntryAccess().getExclusionModelEntryParserRuleCall_2_2_0()); pushFollow(FOLLOW_2); @@ -33425,17 +31667,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__FolderEntry__ExclusionAssignment_2_3_1" - // InternalApplicationConfiguration.g:10859:1: rule__FolderEntry__ExclusionAssignment_2_3_1 : ( ruleModelEntry ) ; + // InternalApplicationConfiguration.g:10287:1: rule__FolderEntry__ExclusionAssignment_2_3_1 : ( ruleModelEntry ) ; public final void rule__FolderEntry__ExclusionAssignment_2_3_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:10863:1: ( ( ruleModelEntry ) ) - // InternalApplicationConfiguration.g:10864:2: ( ruleModelEntry ) + // InternalApplicationConfiguration.g:10291:1: ( ( ruleModelEntry ) ) + // InternalApplicationConfiguration.g:10292:2: ( ruleModelEntry ) { - // InternalApplicationConfiguration.g:10864:2: ( ruleModelEntry ) - // InternalApplicationConfiguration.g:10865:3: ruleModelEntry + // InternalApplicationConfiguration.g:10292:2: ( ruleModelEntry ) + // InternalApplicationConfiguration.g:10293:3: ruleModelEntry { before(grammarAccess.getFolderEntryAccess().getExclusionModelEntryParserRuleCall_2_3_1_0()); pushFollow(FOLLOW_2); @@ -33466,17 +31708,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__PartialModelDeclaration__NameAssignment_1" - // InternalApplicationConfiguration.g:10874:1: rule__PartialModelDeclaration__NameAssignment_1 : ( RULE_ID ) ; + // InternalApplicationConfiguration.g:10302:1: rule__PartialModelDeclaration__NameAssignment_1 : ( RULE_ID ) ; public final void rule__PartialModelDeclaration__NameAssignment_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:10878:1: ( ( RULE_ID ) ) - // InternalApplicationConfiguration.g:10879:2: ( RULE_ID ) + // InternalApplicationConfiguration.g:10306:1: ( ( RULE_ID ) ) + // InternalApplicationConfiguration.g:10307:2: ( RULE_ID ) { - // InternalApplicationConfiguration.g:10879:2: ( RULE_ID ) - // InternalApplicationConfiguration.g:10880:3: RULE_ID + // InternalApplicationConfiguration.g:10307:2: ( RULE_ID ) + // InternalApplicationConfiguration.g:10308:3: RULE_ID { before(grammarAccess.getPartialModelDeclarationAccess().getNameIDTerminalRuleCall_1_0()); match(input,RULE_ID,FOLLOW_2); @@ -33503,17 +31745,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__PartialModelDeclaration__SpecificationAssignment_2" - // InternalApplicationConfiguration.g:10889:1: rule__PartialModelDeclaration__SpecificationAssignment_2 : ( rulePartialModelSpecification ) ; + // InternalApplicationConfiguration.g:10317:1: rule__PartialModelDeclaration__SpecificationAssignment_2 : ( rulePartialModelSpecification ) ; public final void rule__PartialModelDeclaration__SpecificationAssignment_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:10893:1: ( ( rulePartialModelSpecification ) ) - // InternalApplicationConfiguration.g:10894:2: ( rulePartialModelSpecification ) + // InternalApplicationConfiguration.g:10321:1: ( ( rulePartialModelSpecification ) ) + // InternalApplicationConfiguration.g:10322:2: ( rulePartialModelSpecification ) { - // InternalApplicationConfiguration.g:10894:2: ( rulePartialModelSpecification ) - // InternalApplicationConfiguration.g:10895:3: rulePartialModelSpecification + // InternalApplicationConfiguration.g:10322:2: ( rulePartialModelSpecification ) + // InternalApplicationConfiguration.g:10323:3: rulePartialModelSpecification { before(grammarAccess.getPartialModelDeclarationAccess().getSpecificationPartialModelSpecificationParserRuleCall_2_0()); pushFollow(FOLLOW_2); @@ -33544,21 +31786,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__PartialModelReference__ReferredAssignment" - // InternalApplicationConfiguration.g:10904:1: rule__PartialModelReference__ReferredAssignment : ( ( RULE_ID ) ) ; + // InternalApplicationConfiguration.g:10332:1: rule__PartialModelReference__ReferredAssignment : ( ( RULE_ID ) ) ; public final void rule__PartialModelReference__ReferredAssignment() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:10908:1: ( ( ( RULE_ID ) ) ) - // InternalApplicationConfiguration.g:10909:2: ( ( RULE_ID ) ) + // InternalApplicationConfiguration.g:10336:1: ( ( ( RULE_ID ) ) ) + // InternalApplicationConfiguration.g:10337:2: ( ( RULE_ID ) ) { - // InternalApplicationConfiguration.g:10909:2: ( ( RULE_ID ) ) - // InternalApplicationConfiguration.g:10910:3: ( RULE_ID ) + // InternalApplicationConfiguration.g:10337:2: ( ( RULE_ID ) ) + // InternalApplicationConfiguration.g:10338:3: ( RULE_ID ) { before(grammarAccess.getPartialModelReferenceAccess().getReferredPartialModelDeclarationCrossReference_0()); - // InternalApplicationConfiguration.g:10911:3: ( RULE_ID ) - // InternalApplicationConfiguration.g:10912:4: RULE_ID + // InternalApplicationConfiguration.g:10339:3: ( RULE_ID ) + // InternalApplicationConfiguration.g:10340:4: RULE_ID { before(grammarAccess.getPartialModelReferenceAccess().getReferredPartialModelDeclarationIDTerminalRuleCall_0_1()); match(input,RULE_ID,FOLLOW_2); @@ -33589,17 +31831,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__PatternSpecification__EntriesAssignment_1" - // InternalApplicationConfiguration.g:10923:1: rule__PatternSpecification__EntriesAssignment_1 : ( rulePatternEntry ) ; + // InternalApplicationConfiguration.g:10351:1: rule__PatternSpecification__EntriesAssignment_1 : ( rulePatternEntry ) ; public final void rule__PatternSpecification__EntriesAssignment_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:10927:1: ( ( rulePatternEntry ) ) - // InternalApplicationConfiguration.g:10928:2: ( rulePatternEntry ) + // InternalApplicationConfiguration.g:10355:1: ( ( rulePatternEntry ) ) + // InternalApplicationConfiguration.g:10356:2: ( rulePatternEntry ) { - // InternalApplicationConfiguration.g:10928:2: ( rulePatternEntry ) - // InternalApplicationConfiguration.g:10929:3: rulePatternEntry + // InternalApplicationConfiguration.g:10356:2: ( rulePatternEntry ) + // InternalApplicationConfiguration.g:10357:3: rulePatternEntry { before(grammarAccess.getPatternSpecificationAccess().getEntriesPatternEntryParserRuleCall_1_0()); pushFollow(FOLLOW_2); @@ -33630,17 +31872,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__PatternSpecification__EntriesAssignment_2_1" - // InternalApplicationConfiguration.g:10938:1: rule__PatternSpecification__EntriesAssignment_2_1 : ( rulePatternEntry ) ; + // InternalApplicationConfiguration.g:10366:1: rule__PatternSpecification__EntriesAssignment_2_1 : ( rulePatternEntry ) ; public final void rule__PatternSpecification__EntriesAssignment_2_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:10942:1: ( ( rulePatternEntry ) ) - // InternalApplicationConfiguration.g:10943:2: ( rulePatternEntry ) + // InternalApplicationConfiguration.g:10370:1: ( ( rulePatternEntry ) ) + // InternalApplicationConfiguration.g:10371:2: ( rulePatternEntry ) { - // InternalApplicationConfiguration.g:10943:2: ( rulePatternEntry ) - // InternalApplicationConfiguration.g:10944:3: rulePatternEntry + // InternalApplicationConfiguration.g:10371:2: ( rulePatternEntry ) + // InternalApplicationConfiguration.g:10372:3: rulePatternEntry { before(grammarAccess.getPatternSpecificationAccess().getEntriesPatternEntryParserRuleCall_2_1_0()); pushFollow(FOLLOW_2); @@ -33671,21 +31913,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__AllPatternEntry__PackageAssignment_1" - // InternalApplicationConfiguration.g:10953:1: rule__AllPatternEntry__PackageAssignment_1 : ( ( ruleQualifiedName ) ) ; + // InternalApplicationConfiguration.g:10381:1: rule__AllPatternEntry__PackageAssignment_1 : ( ( ruleQualifiedName ) ) ; public final void rule__AllPatternEntry__PackageAssignment_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:10957:1: ( ( ( ruleQualifiedName ) ) ) - // InternalApplicationConfiguration.g:10958:2: ( ( ruleQualifiedName ) ) + // InternalApplicationConfiguration.g:10385:1: ( ( ( ruleQualifiedName ) ) ) + // InternalApplicationConfiguration.g:10386:2: ( ( ruleQualifiedName ) ) { - // InternalApplicationConfiguration.g:10958:2: ( ( ruleQualifiedName ) ) - // InternalApplicationConfiguration.g:10959:3: ( ruleQualifiedName ) + // InternalApplicationConfiguration.g:10386:2: ( ( ruleQualifiedName ) ) + // InternalApplicationConfiguration.g:10387:3: ( ruleQualifiedName ) { before(grammarAccess.getAllPatternEntryAccess().getPackagePatternModelCrossReference_1_0()); - // InternalApplicationConfiguration.g:10960:3: ( ruleQualifiedName ) - // InternalApplicationConfiguration.g:10961:4: ruleQualifiedName + // InternalApplicationConfiguration.g:10388:3: ( ruleQualifiedName ) + // InternalApplicationConfiguration.g:10389:4: ruleQualifiedName { before(grammarAccess.getAllPatternEntryAccess().getPackagePatternModelQualifiedNameParserRuleCall_1_0_1()); pushFollow(FOLLOW_2); @@ -33720,17 +31962,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__AllPatternEntry__ExclusuionAssignment_2_2" - // InternalApplicationConfiguration.g:10972:1: rule__AllPatternEntry__ExclusuionAssignment_2_2 : ( rulePatternElement ) ; + // InternalApplicationConfiguration.g:10400:1: rule__AllPatternEntry__ExclusuionAssignment_2_2 : ( rulePatternElement ) ; public final void rule__AllPatternEntry__ExclusuionAssignment_2_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:10976:1: ( ( rulePatternElement ) ) - // InternalApplicationConfiguration.g:10977:2: ( rulePatternElement ) + // InternalApplicationConfiguration.g:10404:1: ( ( rulePatternElement ) ) + // InternalApplicationConfiguration.g:10405:2: ( rulePatternElement ) { - // InternalApplicationConfiguration.g:10977:2: ( rulePatternElement ) - // InternalApplicationConfiguration.g:10978:3: rulePatternElement + // InternalApplicationConfiguration.g:10405:2: ( rulePatternElement ) + // InternalApplicationConfiguration.g:10406:3: rulePatternElement { before(grammarAccess.getAllPatternEntryAccess().getExclusuionPatternElementParserRuleCall_2_2_0()); pushFollow(FOLLOW_2); @@ -33761,17 +32003,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__AllPatternEntry__ExclusuionAssignment_2_3_1" - // InternalApplicationConfiguration.g:10987:1: rule__AllPatternEntry__ExclusuionAssignment_2_3_1 : ( rulePatternElement ) ; + // InternalApplicationConfiguration.g:10415:1: rule__AllPatternEntry__ExclusuionAssignment_2_3_1 : ( rulePatternElement ) ; public final void rule__AllPatternEntry__ExclusuionAssignment_2_3_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:10991:1: ( ( rulePatternElement ) ) - // InternalApplicationConfiguration.g:10992:2: ( rulePatternElement ) + // InternalApplicationConfiguration.g:10419:1: ( ( rulePatternElement ) ) + // InternalApplicationConfiguration.g:10420:2: ( rulePatternElement ) { - // InternalApplicationConfiguration.g:10992:2: ( rulePatternElement ) - // InternalApplicationConfiguration.g:10993:3: rulePatternElement + // InternalApplicationConfiguration.g:10420:2: ( rulePatternElement ) + // InternalApplicationConfiguration.g:10421:3: rulePatternElement { before(grammarAccess.getAllPatternEntryAccess().getExclusuionPatternElementParserRuleCall_2_3_1_0()); pushFollow(FOLLOW_2); @@ -33802,21 +32044,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__PatternElement__PackageAssignment_0_0" - // InternalApplicationConfiguration.g:11002:1: rule__PatternElement__PackageAssignment_0_0 : ( ( ruleQualifiedName ) ) ; + // InternalApplicationConfiguration.g:10430:1: rule__PatternElement__PackageAssignment_0_0 : ( ( ruleQualifiedName ) ) ; public final void rule__PatternElement__PackageAssignment_0_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:11006:1: ( ( ( ruleQualifiedName ) ) ) - // InternalApplicationConfiguration.g:11007:2: ( ( ruleQualifiedName ) ) + // InternalApplicationConfiguration.g:10434:1: ( ( ( ruleQualifiedName ) ) ) + // InternalApplicationConfiguration.g:10435:2: ( ( ruleQualifiedName ) ) { - // InternalApplicationConfiguration.g:11007:2: ( ( ruleQualifiedName ) ) - // InternalApplicationConfiguration.g:11008:3: ( ruleQualifiedName ) + // InternalApplicationConfiguration.g:10435:2: ( ( ruleQualifiedName ) ) + // InternalApplicationConfiguration.g:10436:3: ( ruleQualifiedName ) { before(grammarAccess.getPatternElementAccess().getPackagePatternModelCrossReference_0_0_0()); - // InternalApplicationConfiguration.g:11009:3: ( ruleQualifiedName ) - // InternalApplicationConfiguration.g:11010:4: ruleQualifiedName + // InternalApplicationConfiguration.g:10437:3: ( ruleQualifiedName ) + // InternalApplicationConfiguration.g:10438:4: ruleQualifiedName { before(grammarAccess.getPatternElementAccess().getPackagePatternModelQualifiedNameParserRuleCall_0_0_0_1()); pushFollow(FOLLOW_2); @@ -33851,21 +32093,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__PatternElement__PatternAssignment_1" - // InternalApplicationConfiguration.g:11021:1: rule__PatternElement__PatternAssignment_1 : ( ( RULE_ID ) ) ; + // InternalApplicationConfiguration.g:10449:1: rule__PatternElement__PatternAssignment_1 : ( ( RULE_ID ) ) ; public final void rule__PatternElement__PatternAssignment_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:11025:1: ( ( ( RULE_ID ) ) ) - // InternalApplicationConfiguration.g:11026:2: ( ( RULE_ID ) ) + // InternalApplicationConfiguration.g:10453:1: ( ( ( RULE_ID ) ) ) + // InternalApplicationConfiguration.g:10454:2: ( ( RULE_ID ) ) { - // InternalApplicationConfiguration.g:11026:2: ( ( RULE_ID ) ) - // InternalApplicationConfiguration.g:11027:3: ( RULE_ID ) + // InternalApplicationConfiguration.g:10454:2: ( ( RULE_ID ) ) + // InternalApplicationConfiguration.g:10455:3: ( RULE_ID ) { before(grammarAccess.getPatternElementAccess().getPatternPatternCrossReference_1_0()); - // InternalApplicationConfiguration.g:11028:3: ( RULE_ID ) - // InternalApplicationConfiguration.g:11029:4: RULE_ID + // InternalApplicationConfiguration.g:10456:3: ( RULE_ID ) + // InternalApplicationConfiguration.g:10457:4: RULE_ID { before(grammarAccess.getPatternElementAccess().getPatternPatternIDTerminalRuleCall_1_0_1()); match(input,RULE_ID,FOLLOW_2); @@ -33896,17 +32138,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GraphPatternDeclaration__NameAssignment_1" - // InternalApplicationConfiguration.g:11040:1: rule__GraphPatternDeclaration__NameAssignment_1 : ( RULE_ID ) ; + // InternalApplicationConfiguration.g:10468:1: rule__GraphPatternDeclaration__NameAssignment_1 : ( RULE_ID ) ; public final void rule__GraphPatternDeclaration__NameAssignment_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:11044:1: ( ( RULE_ID ) ) - // InternalApplicationConfiguration.g:11045:2: ( RULE_ID ) + // InternalApplicationConfiguration.g:10472:1: ( ( RULE_ID ) ) + // InternalApplicationConfiguration.g:10473:2: ( RULE_ID ) { - // InternalApplicationConfiguration.g:11045:2: ( RULE_ID ) - // InternalApplicationConfiguration.g:11046:3: RULE_ID + // InternalApplicationConfiguration.g:10473:2: ( RULE_ID ) + // InternalApplicationConfiguration.g:10474:3: RULE_ID { before(grammarAccess.getGraphPatternDeclarationAccess().getNameIDTerminalRuleCall_1_0()); match(input,RULE_ID,FOLLOW_2); @@ -33933,17 +32175,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GraphPatternDeclaration__SpecificationAssignment_2" - // InternalApplicationConfiguration.g:11055:1: rule__GraphPatternDeclaration__SpecificationAssignment_2 : ( rulePatternSpecification ) ; + // InternalApplicationConfiguration.g:10483:1: rule__GraphPatternDeclaration__SpecificationAssignment_2 : ( rulePatternSpecification ) ; public final void rule__GraphPatternDeclaration__SpecificationAssignment_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:11059:1: ( ( rulePatternSpecification ) ) - // InternalApplicationConfiguration.g:11060:2: ( rulePatternSpecification ) + // InternalApplicationConfiguration.g:10487:1: ( ( rulePatternSpecification ) ) + // InternalApplicationConfiguration.g:10488:2: ( rulePatternSpecification ) { - // InternalApplicationConfiguration.g:11060:2: ( rulePatternSpecification ) - // InternalApplicationConfiguration.g:11061:3: rulePatternSpecification + // InternalApplicationConfiguration.g:10488:2: ( rulePatternSpecification ) + // InternalApplicationConfiguration.g:10489:3: rulePatternSpecification { before(grammarAccess.getGraphPatternDeclarationAccess().getSpecificationPatternSpecificationParserRuleCall_2_0()); pushFollow(FOLLOW_2); @@ -33974,21 +32216,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GraphPatternReference__ReferredAssignment" - // InternalApplicationConfiguration.g:11070:1: rule__GraphPatternReference__ReferredAssignment : ( ( RULE_ID ) ) ; + // InternalApplicationConfiguration.g:10498:1: rule__GraphPatternReference__ReferredAssignment : ( ( RULE_ID ) ) ; public final void rule__GraphPatternReference__ReferredAssignment() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:11074:1: ( ( ( RULE_ID ) ) ) - // InternalApplicationConfiguration.g:11075:2: ( ( RULE_ID ) ) + // InternalApplicationConfiguration.g:10502:1: ( ( ( RULE_ID ) ) ) + // InternalApplicationConfiguration.g:10503:2: ( ( RULE_ID ) ) { - // InternalApplicationConfiguration.g:11075:2: ( ( RULE_ID ) ) - // InternalApplicationConfiguration.g:11076:3: ( RULE_ID ) + // InternalApplicationConfiguration.g:10503:2: ( ( RULE_ID ) ) + // InternalApplicationConfiguration.g:10504:3: ( RULE_ID ) { before(grammarAccess.getGraphPatternReferenceAccess().getReferredGraphPatternDeclarationCrossReference_0()); - // InternalApplicationConfiguration.g:11077:3: ( RULE_ID ) - // InternalApplicationConfiguration.g:11078:4: RULE_ID + // InternalApplicationConfiguration.g:10505:3: ( RULE_ID ) + // InternalApplicationConfiguration.g:10506:4: RULE_ID { before(grammarAccess.getGraphPatternReferenceAccess().getReferredGraphPatternDeclarationIDTerminalRuleCall_0_1()); match(input,RULE_ID,FOLLOW_2); @@ -34019,17 +32261,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ObjectiveSpecification__EntriesAssignment_1" - // InternalApplicationConfiguration.g:11089:1: rule__ObjectiveSpecification__EntriesAssignment_1 : ( ruleObjectiveEntry ) ; + // InternalApplicationConfiguration.g:10517:1: rule__ObjectiveSpecification__EntriesAssignment_1 : ( ruleObjectiveEntry ) ; public final void rule__ObjectiveSpecification__EntriesAssignment_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:11093:1: ( ( ruleObjectiveEntry ) ) - // InternalApplicationConfiguration.g:11094:2: ( ruleObjectiveEntry ) + // InternalApplicationConfiguration.g:10521:1: ( ( ruleObjectiveEntry ) ) + // InternalApplicationConfiguration.g:10522:2: ( ruleObjectiveEntry ) { - // InternalApplicationConfiguration.g:11094:2: ( ruleObjectiveEntry ) - // InternalApplicationConfiguration.g:11095:3: ruleObjectiveEntry + // InternalApplicationConfiguration.g:10522:2: ( ruleObjectiveEntry ) + // InternalApplicationConfiguration.g:10523:3: ruleObjectiveEntry { before(grammarAccess.getObjectiveSpecificationAccess().getEntriesObjectiveEntryParserRuleCall_1_0()); pushFollow(FOLLOW_2); @@ -34060,17 +32302,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ObjectiveSpecification__EntriesAssignment_2_1" - // InternalApplicationConfiguration.g:11104:1: rule__ObjectiveSpecification__EntriesAssignment_2_1 : ( ruleObjectiveEntry ) ; + // InternalApplicationConfiguration.g:10532:1: rule__ObjectiveSpecification__EntriesAssignment_2_1 : ( ruleObjectiveEntry ) ; public final void rule__ObjectiveSpecification__EntriesAssignment_2_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:11108:1: ( ( ruleObjectiveEntry ) ) - // InternalApplicationConfiguration.g:11109:2: ( ruleObjectiveEntry ) + // InternalApplicationConfiguration.g:10536:1: ( ( ruleObjectiveEntry ) ) + // InternalApplicationConfiguration.g:10537:2: ( ruleObjectiveEntry ) { - // InternalApplicationConfiguration.g:11109:2: ( ruleObjectiveEntry ) - // InternalApplicationConfiguration.g:11110:3: ruleObjectiveEntry + // InternalApplicationConfiguration.g:10537:2: ( ruleObjectiveEntry ) + // InternalApplicationConfiguration.g:10538:3: ruleObjectiveEntry { before(grammarAccess.getObjectiveSpecificationAccess().getEntriesObjectiveEntryParserRuleCall_2_1_0()); pushFollow(FOLLOW_2); @@ -34101,230 +32343,25 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__OptimizationEntry__DirectionAssignment_0" - // InternalApplicationConfiguration.g:11119:1: rule__OptimizationEntry__DirectionAssignment_0 : ( ruleOptimizationDirection ) ; + // InternalApplicationConfiguration.g:10547:1: rule__OptimizationEntry__DirectionAssignment_0 : ( ruleOptimizationDirection ) ; public final void rule__OptimizationEntry__DirectionAssignment_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:11123:1: ( ( ruleOptimizationDirection ) ) - // InternalApplicationConfiguration.g:11124:2: ( ruleOptimizationDirection ) + // InternalApplicationConfiguration.g:10551:1: ( ( ruleOptimizationDirection ) ) + // InternalApplicationConfiguration.g:10552:2: ( ruleOptimizationDirection ) { - // InternalApplicationConfiguration.g:11124:2: ( ruleOptimizationDirection ) - // InternalApplicationConfiguration.g:11125:3: ruleOptimizationDirection + // InternalApplicationConfiguration.g:10552:2: ( ruleOptimizationDirection ) + // InternalApplicationConfiguration.g:10553:3: ruleOptimizationDirection { before(grammarAccess.getOptimizationEntryAccess().getDirectionOptimizationDirectionEnumRuleCall_0_0()); pushFollow(FOLLOW_2); - ruleOptimizationDirection(); - - state._fsp--; - - after(grammarAccess.getOptimizationEntryAccess().getDirectionOptimizationDirectionEnumRuleCall_0_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__OptimizationEntry__DirectionAssignment_0" - - - // $ANTLR start "rule__OptimizationEntry__FunctionAssignment_1" - // InternalApplicationConfiguration.g:11134:1: rule__OptimizationEntry__FunctionAssignment_1 : ( ruleObjectiveFunction ) ; - public final void rule__OptimizationEntry__FunctionAssignment_1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:11138:1: ( ( ruleObjectiveFunction ) ) - // InternalApplicationConfiguration.g:11139:2: ( ruleObjectiveFunction ) - { - // InternalApplicationConfiguration.g:11139:2: ( ruleObjectiveFunction ) - // InternalApplicationConfiguration.g:11140:3: ruleObjectiveFunction - { - before(grammarAccess.getOptimizationEntryAccess().getFunctionObjectiveFunctionParserRuleCall_1_0()); - pushFollow(FOLLOW_2); - ruleObjectiveFunction(); - - state._fsp--; - - after(grammarAccess.getOptimizationEntryAccess().getFunctionObjectiveFunctionParserRuleCall_1_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__OptimizationEntry__FunctionAssignment_1" - - - // $ANTLR start "rule__ThresholdEntry__FunctionAssignment_0" - // InternalApplicationConfiguration.g:11149:1: rule__ThresholdEntry__FunctionAssignment_0 : ( ruleObjectiveFunction ) ; - public final void rule__ThresholdEntry__FunctionAssignment_0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:11153:1: ( ( ruleObjectiveFunction ) ) - // InternalApplicationConfiguration.g:11154:2: ( ruleObjectiveFunction ) - { - // InternalApplicationConfiguration.g:11154:2: ( ruleObjectiveFunction ) - // InternalApplicationConfiguration.g:11155:3: ruleObjectiveFunction - { - before(grammarAccess.getThresholdEntryAccess().getFunctionObjectiveFunctionParserRuleCall_0_0()); - pushFollow(FOLLOW_2); - ruleObjectiveFunction(); - - state._fsp--; - - after(grammarAccess.getThresholdEntryAccess().getFunctionObjectiveFunctionParserRuleCall_0_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ThresholdEntry__FunctionAssignment_0" - - - // $ANTLR start "rule__ThresholdEntry__OperatorAssignment_1" - // InternalApplicationConfiguration.g:11164:1: rule__ThresholdEntry__OperatorAssignment_1 : ( ruleComparisonOperator ) ; - public final void rule__ThresholdEntry__OperatorAssignment_1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:11168:1: ( ( ruleComparisonOperator ) ) - // InternalApplicationConfiguration.g:11169:2: ( ruleComparisonOperator ) - { - // InternalApplicationConfiguration.g:11169:2: ( ruleComparisonOperator ) - // InternalApplicationConfiguration.g:11170:3: ruleComparisonOperator - { - before(grammarAccess.getThresholdEntryAccess().getOperatorComparisonOperatorEnumRuleCall_1_0()); - pushFollow(FOLLOW_2); - ruleComparisonOperator(); - - state._fsp--; - - after(grammarAccess.getThresholdEntryAccess().getOperatorComparisonOperatorEnumRuleCall_1_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ThresholdEntry__OperatorAssignment_1" - - - // $ANTLR start "rule__ThresholdEntry__ThresholdAssignment_2" - // InternalApplicationConfiguration.g:11179:1: rule__ThresholdEntry__ThresholdAssignment_2 : ( ruleREALLiteral ) ; - public final void rule__ThresholdEntry__ThresholdAssignment_2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:11183:1: ( ( ruleREALLiteral ) ) - // InternalApplicationConfiguration.g:11184:2: ( ruleREALLiteral ) - { - // InternalApplicationConfiguration.g:11184:2: ( ruleREALLiteral ) - // InternalApplicationConfiguration.g:11185:3: ruleREALLiteral - { - before(grammarAccess.getThresholdEntryAccess().getThresholdREALLiteralParserRuleCall_2_0()); - pushFollow(FOLLOW_2); - ruleREALLiteral(); - - state._fsp--; - - after(grammarAccess.getThresholdEntryAccess().getThresholdREALLiteralParserRuleCall_2_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ThresholdEntry__ThresholdAssignment_2" - - - // $ANTLR start "rule__CostObjectiveFunction__EntriesAssignment_2" - // InternalApplicationConfiguration.g:11194:1: rule__CostObjectiveFunction__EntriesAssignment_2 : ( ruleCostEntry ) ; - public final void rule__CostObjectiveFunction__EntriesAssignment_2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalApplicationConfiguration.g:11198:1: ( ( ruleCostEntry ) ) - // InternalApplicationConfiguration.g:11199:2: ( ruleCostEntry ) - { - // InternalApplicationConfiguration.g:11199:2: ( ruleCostEntry ) - // InternalApplicationConfiguration.g:11200:3: ruleCostEntry - { - before(grammarAccess.getCostObjectiveFunctionAccess().getEntriesCostEntryParserRuleCall_2_0()); - pushFollow(FOLLOW_2); - ruleCostEntry(); + ruleOptimizationDirection(); state._fsp--; - after(grammarAccess.getCostObjectiveFunctionAccess().getEntriesCostEntryParserRuleCall_2_0()); + after(grammarAccess.getOptimizationEntryAccess().getDirectionOptimizationDirectionEnumRuleCall_0_0()); } @@ -34343,29 +32380,29 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } return ; } - // $ANTLR end "rule__CostObjectiveFunction__EntriesAssignment_2" + // $ANTLR end "rule__OptimizationEntry__DirectionAssignment_0" - // $ANTLR start "rule__CostObjectiveFunction__EntriesAssignment_3_1" - // InternalApplicationConfiguration.g:11209:1: rule__CostObjectiveFunction__EntriesAssignment_3_1 : ( ruleCostEntry ) ; - public final void rule__CostObjectiveFunction__EntriesAssignment_3_1() throws RecognitionException { + // $ANTLR start "rule__OptimizationEntry__FunctionAssignment_1" + // InternalApplicationConfiguration.g:10562:1: rule__OptimizationEntry__FunctionAssignment_1 : ( ruleObjectiveFunction ) ; + public final void rule__OptimizationEntry__FunctionAssignment_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:11213:1: ( ( ruleCostEntry ) ) - // InternalApplicationConfiguration.g:11214:2: ( ruleCostEntry ) + // InternalApplicationConfiguration.g:10566:1: ( ( ruleObjectiveFunction ) ) + // InternalApplicationConfiguration.g:10567:2: ( ruleObjectiveFunction ) { - // InternalApplicationConfiguration.g:11214:2: ( ruleCostEntry ) - // InternalApplicationConfiguration.g:11215:3: ruleCostEntry + // InternalApplicationConfiguration.g:10567:2: ( ruleObjectiveFunction ) + // InternalApplicationConfiguration.g:10568:3: ruleObjectiveFunction { - before(grammarAccess.getCostObjectiveFunctionAccess().getEntriesCostEntryParserRuleCall_3_1_0()); + before(grammarAccess.getOptimizationEntryAccess().getFunctionObjectiveFunctionParserRuleCall_1_0()); pushFollow(FOLLOW_2); - ruleCostEntry(); + ruleObjectiveFunction(); state._fsp--; - after(grammarAccess.getCostObjectiveFunctionAccess().getEntriesCostEntryParserRuleCall_3_1_0()); + after(grammarAccess.getOptimizationEntryAccess().getFunctionObjectiveFunctionParserRuleCall_1_0()); } @@ -34384,29 +32421,29 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } return ; } - // $ANTLR end "rule__CostObjectiveFunction__EntriesAssignment_3_1" + // $ANTLR end "rule__OptimizationEntry__FunctionAssignment_1" - // $ANTLR start "rule__CostEntry__PatternElementAssignment_0" - // InternalApplicationConfiguration.g:11224:1: rule__CostEntry__PatternElementAssignment_0 : ( rulePatternElement ) ; - public final void rule__CostEntry__PatternElementAssignment_0() throws RecognitionException { + // $ANTLR start "rule__ThresholdEntry__FunctionAssignment_0" + // InternalApplicationConfiguration.g:10577:1: rule__ThresholdEntry__FunctionAssignment_0 : ( ruleObjectiveFunction ) ; + public final void rule__ThresholdEntry__FunctionAssignment_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:11228:1: ( ( rulePatternElement ) ) - // InternalApplicationConfiguration.g:11229:2: ( rulePatternElement ) + // InternalApplicationConfiguration.g:10581:1: ( ( ruleObjectiveFunction ) ) + // InternalApplicationConfiguration.g:10582:2: ( ruleObjectiveFunction ) { - // InternalApplicationConfiguration.g:11229:2: ( rulePatternElement ) - // InternalApplicationConfiguration.g:11230:3: rulePatternElement + // InternalApplicationConfiguration.g:10582:2: ( ruleObjectiveFunction ) + // InternalApplicationConfiguration.g:10583:3: ruleObjectiveFunction { - before(grammarAccess.getCostEntryAccess().getPatternElementPatternElementParserRuleCall_0_0()); + before(grammarAccess.getThresholdEntryAccess().getFunctionObjectiveFunctionParserRuleCall_0_0()); pushFollow(FOLLOW_2); - rulePatternElement(); + ruleObjectiveFunction(); state._fsp--; - after(grammarAccess.getCostEntryAccess().getPatternElementPatternElementParserRuleCall_0_0()); + after(grammarAccess.getThresholdEntryAccess().getFunctionObjectiveFunctionParserRuleCall_0_0()); } @@ -34425,29 +32462,29 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } return ; } - // $ANTLR end "rule__CostEntry__PatternElementAssignment_0" + // $ANTLR end "rule__ThresholdEntry__FunctionAssignment_0" - // $ANTLR start "rule__CostEntry__WeightAssignment_2" - // InternalApplicationConfiguration.g:11239:1: rule__CostEntry__WeightAssignment_2 : ( ruleINTLiteral ) ; - public final void rule__CostEntry__WeightAssignment_2() throws RecognitionException { + // $ANTLR start "rule__ThresholdEntry__OperatorAssignment_1" + // InternalApplicationConfiguration.g:10592:1: rule__ThresholdEntry__OperatorAssignment_1 : ( ruleComparisonOperator ) ; + public final void rule__ThresholdEntry__OperatorAssignment_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:11243:1: ( ( ruleINTLiteral ) ) - // InternalApplicationConfiguration.g:11244:2: ( ruleINTLiteral ) + // InternalApplicationConfiguration.g:10596:1: ( ( ruleComparisonOperator ) ) + // InternalApplicationConfiguration.g:10597:2: ( ruleComparisonOperator ) { - // InternalApplicationConfiguration.g:11244:2: ( ruleINTLiteral ) - // InternalApplicationConfiguration.g:11245:3: ruleINTLiteral + // InternalApplicationConfiguration.g:10597:2: ( ruleComparisonOperator ) + // InternalApplicationConfiguration.g:10598:3: ruleComparisonOperator { - before(grammarAccess.getCostEntryAccess().getWeightINTLiteralParserRuleCall_2_0()); + before(grammarAccess.getThresholdEntryAccess().getOperatorComparisonOperatorEnumRuleCall_1_0()); pushFollow(FOLLOW_2); - ruleINTLiteral(); + ruleComparisonOperator(); state._fsp--; - after(grammarAccess.getCostEntryAccess().getWeightINTLiteralParserRuleCall_2_0()); + after(grammarAccess.getThresholdEntryAccess().getOperatorComparisonOperatorEnumRuleCall_1_0()); } @@ -34466,37 +32503,29 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } return ; } - // $ANTLR end "rule__CostEntry__WeightAssignment_2" + // $ANTLR end "rule__ThresholdEntry__OperatorAssignment_1" - // $ANTLR start "rule__ReliabiltiyProbability__PackageAssignment_1_0" - // InternalApplicationConfiguration.g:11254:1: rule__ReliabiltiyProbability__PackageAssignment_1_0 : ( ( ruleQualifiedName ) ) ; - public final void rule__ReliabiltiyProbability__PackageAssignment_1_0() throws RecognitionException { + // $ANTLR start "rule__ThresholdEntry__ThresholdAssignment_2" + // InternalApplicationConfiguration.g:10607:1: rule__ThresholdEntry__ThresholdAssignment_2 : ( ruleREALLiteral ) ; + public final void rule__ThresholdEntry__ThresholdAssignment_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:11258:1: ( ( ( ruleQualifiedName ) ) ) - // InternalApplicationConfiguration.g:11259:2: ( ( ruleQualifiedName ) ) - { - // InternalApplicationConfiguration.g:11259:2: ( ( ruleQualifiedName ) ) - // InternalApplicationConfiguration.g:11260:3: ( ruleQualifiedName ) + // InternalApplicationConfiguration.g:10611:1: ( ( ruleREALLiteral ) ) + // InternalApplicationConfiguration.g:10612:2: ( ruleREALLiteral ) { - before(grammarAccess.getReliabiltiyProbabilityAccess().getPackageCftModelCrossReference_1_0_0()); - // InternalApplicationConfiguration.g:11261:3: ( ruleQualifiedName ) - // InternalApplicationConfiguration.g:11262:4: ruleQualifiedName + // InternalApplicationConfiguration.g:10612:2: ( ruleREALLiteral ) + // InternalApplicationConfiguration.g:10613:3: ruleREALLiteral { - before(grammarAccess.getReliabiltiyProbabilityAccess().getPackageCftModelQualifiedNameParserRuleCall_1_0_0_1()); + before(grammarAccess.getThresholdEntryAccess().getThresholdREALLiteralParserRuleCall_2_0()); pushFollow(FOLLOW_2); - ruleQualifiedName(); + ruleREALLiteral(); state._fsp--; - after(grammarAccess.getReliabiltiyProbabilityAccess().getPackageCftModelQualifiedNameParserRuleCall_1_0_0_1()); - - } - - after(grammarAccess.getReliabiltiyProbabilityAccess().getPackageCftModelCrossReference_1_0_0()); + after(grammarAccess.getThresholdEntryAccess().getThresholdREALLiteralParserRuleCall_2_0()); } @@ -34515,33 +32544,29 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } return ; } - // $ANTLR end "rule__ReliabiltiyProbability__PackageAssignment_1_0" + // $ANTLR end "rule__ThresholdEntry__ThresholdAssignment_2" - // $ANTLR start "rule__ReliabiltiyProbability__TransformationAssignment_2" - // InternalApplicationConfiguration.g:11273:1: rule__ReliabiltiyProbability__TransformationAssignment_2 : ( ( RULE_ID ) ) ; - public final void rule__ReliabiltiyProbability__TransformationAssignment_2() throws RecognitionException { + // $ANTLR start "rule__CostObjectiveFunction__EntriesAssignment_2" + // InternalApplicationConfiguration.g:10622:1: rule__CostObjectiveFunction__EntriesAssignment_2 : ( ruleCostEntry ) ; + public final void rule__CostObjectiveFunction__EntriesAssignment_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:11277:1: ( ( ( RULE_ID ) ) ) - // InternalApplicationConfiguration.g:11278:2: ( ( RULE_ID ) ) + // InternalApplicationConfiguration.g:10626:1: ( ( ruleCostEntry ) ) + // InternalApplicationConfiguration.g:10627:2: ( ruleCostEntry ) { - // InternalApplicationConfiguration.g:11278:2: ( ( RULE_ID ) ) - // InternalApplicationConfiguration.g:11279:3: ( RULE_ID ) + // InternalApplicationConfiguration.g:10627:2: ( ruleCostEntry ) + // InternalApplicationConfiguration.g:10628:3: ruleCostEntry { - before(grammarAccess.getReliabiltiyProbabilityAccess().getTransformationTransformationDefinitionCrossReference_2_0()); - // InternalApplicationConfiguration.g:11280:3: ( RULE_ID ) - // InternalApplicationConfiguration.g:11281:4: RULE_ID - { - before(grammarAccess.getReliabiltiyProbabilityAccess().getTransformationTransformationDefinitionIDTerminalRuleCall_2_0_1()); - match(input,RULE_ID,FOLLOW_2); - after(grammarAccess.getReliabiltiyProbabilityAccess().getTransformationTransformationDefinitionIDTerminalRuleCall_2_0_1()); + before(grammarAccess.getCostObjectiveFunctionAccess().getEntriesCostEntryParserRuleCall_2_0()); + pushFollow(FOLLOW_2); + ruleCostEntry(); - } + state._fsp--; - after(grammarAccess.getReliabiltiyProbabilityAccess().getTransformationTransformationDefinitionCrossReference_2_0()); + after(grammarAccess.getCostObjectiveFunctionAccess().getEntriesCostEntryParserRuleCall_2_0()); } @@ -34560,29 +32585,29 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } return ; } - // $ANTLR end "rule__ReliabiltiyProbability__TransformationAssignment_2" + // $ANTLR end "rule__CostObjectiveFunction__EntriesAssignment_2" - // $ANTLR start "rule__ReliabiltiyProbability__TimeAssignment_4" - // InternalApplicationConfiguration.g:11292:1: rule__ReliabiltiyProbability__TimeAssignment_4 : ( ruleREALLiteral ) ; - public final void rule__ReliabiltiyProbability__TimeAssignment_4() throws RecognitionException { + // $ANTLR start "rule__CostObjectiveFunction__EntriesAssignment_3_1" + // InternalApplicationConfiguration.g:10637:1: rule__CostObjectiveFunction__EntriesAssignment_3_1 : ( ruleCostEntry ) ; + public final void rule__CostObjectiveFunction__EntriesAssignment_3_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:11296:1: ( ( ruleREALLiteral ) ) - // InternalApplicationConfiguration.g:11297:2: ( ruleREALLiteral ) + // InternalApplicationConfiguration.g:10641:1: ( ( ruleCostEntry ) ) + // InternalApplicationConfiguration.g:10642:2: ( ruleCostEntry ) { - // InternalApplicationConfiguration.g:11297:2: ( ruleREALLiteral ) - // InternalApplicationConfiguration.g:11298:3: ruleREALLiteral + // InternalApplicationConfiguration.g:10642:2: ( ruleCostEntry ) + // InternalApplicationConfiguration.g:10643:3: ruleCostEntry { - before(grammarAccess.getReliabiltiyProbabilityAccess().getTimeREALLiteralParserRuleCall_4_0()); + before(grammarAccess.getCostObjectiveFunctionAccess().getEntriesCostEntryParserRuleCall_3_1_0()); pushFollow(FOLLOW_2); - ruleREALLiteral(); + ruleCostEntry(); state._fsp--; - after(grammarAccess.getReliabiltiyProbabilityAccess().getTimeREALLiteralParserRuleCall_4_0()); + after(grammarAccess.getCostObjectiveFunctionAccess().getEntriesCostEntryParserRuleCall_3_1_0()); } @@ -34601,37 +32626,29 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } return ; } - // $ANTLR end "rule__ReliabiltiyProbability__TimeAssignment_4" + // $ANTLR end "rule__CostObjectiveFunction__EntriesAssignment_3_1" - // $ANTLR start "rule__Mtff__PackageAssignment_1_0" - // InternalApplicationConfiguration.g:11307:1: rule__Mtff__PackageAssignment_1_0 : ( ( ruleQualifiedName ) ) ; - public final void rule__Mtff__PackageAssignment_1_0() throws RecognitionException { + // $ANTLR start "rule__CostEntry__PatternElementAssignment_0" + // InternalApplicationConfiguration.g:10652:1: rule__CostEntry__PatternElementAssignment_0 : ( rulePatternElement ) ; + public final void rule__CostEntry__PatternElementAssignment_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:11311:1: ( ( ( ruleQualifiedName ) ) ) - // InternalApplicationConfiguration.g:11312:2: ( ( ruleQualifiedName ) ) + // InternalApplicationConfiguration.g:10656:1: ( ( rulePatternElement ) ) + // InternalApplicationConfiguration.g:10657:2: ( rulePatternElement ) { - // InternalApplicationConfiguration.g:11312:2: ( ( ruleQualifiedName ) ) - // InternalApplicationConfiguration.g:11313:3: ( ruleQualifiedName ) + // InternalApplicationConfiguration.g:10657:2: ( rulePatternElement ) + // InternalApplicationConfiguration.g:10658:3: rulePatternElement { - before(grammarAccess.getMtffAccess().getPackageCftModelCrossReference_1_0_0()); - // InternalApplicationConfiguration.g:11314:3: ( ruleQualifiedName ) - // InternalApplicationConfiguration.g:11315:4: ruleQualifiedName - { - before(grammarAccess.getMtffAccess().getPackageCftModelQualifiedNameParserRuleCall_1_0_0_1()); + before(grammarAccess.getCostEntryAccess().getPatternElementPatternElementParserRuleCall_0_0()); pushFollow(FOLLOW_2); - ruleQualifiedName(); + rulePatternElement(); state._fsp--; - after(grammarAccess.getMtffAccess().getPackageCftModelQualifiedNameParserRuleCall_1_0_0_1()); - - } - - after(grammarAccess.getMtffAccess().getPackageCftModelCrossReference_1_0_0()); + after(grammarAccess.getCostEntryAccess().getPatternElementPatternElementParserRuleCall_0_0()); } @@ -34650,33 +32667,29 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } return ; } - // $ANTLR end "rule__Mtff__PackageAssignment_1_0" + // $ANTLR end "rule__CostEntry__PatternElementAssignment_0" - // $ANTLR start "rule__Mtff__TransformationAssignment_2" - // InternalApplicationConfiguration.g:11326:1: rule__Mtff__TransformationAssignment_2 : ( ( RULE_ID ) ) ; - public final void rule__Mtff__TransformationAssignment_2() throws RecognitionException { + // $ANTLR start "rule__CostEntry__WeightAssignment_2" + // InternalApplicationConfiguration.g:10667:1: rule__CostEntry__WeightAssignment_2 : ( ruleINTLiteral ) ; + public final void rule__CostEntry__WeightAssignment_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:11330:1: ( ( ( RULE_ID ) ) ) - // InternalApplicationConfiguration.g:11331:2: ( ( RULE_ID ) ) - { - // InternalApplicationConfiguration.g:11331:2: ( ( RULE_ID ) ) - // InternalApplicationConfiguration.g:11332:3: ( RULE_ID ) + // InternalApplicationConfiguration.g:10671:1: ( ( ruleINTLiteral ) ) + // InternalApplicationConfiguration.g:10672:2: ( ruleINTLiteral ) { - before(grammarAccess.getMtffAccess().getTransformationTransformationDefinitionCrossReference_2_0()); - // InternalApplicationConfiguration.g:11333:3: ( RULE_ID ) - // InternalApplicationConfiguration.g:11334:4: RULE_ID + // InternalApplicationConfiguration.g:10672:2: ( ruleINTLiteral ) + // InternalApplicationConfiguration.g:10673:3: ruleINTLiteral { - before(grammarAccess.getMtffAccess().getTransformationTransformationDefinitionIDTerminalRuleCall_2_0_1()); - match(input,RULE_ID,FOLLOW_2); - after(grammarAccess.getMtffAccess().getTransformationTransformationDefinitionIDTerminalRuleCall_2_0_1()); + before(grammarAccess.getCostEntryAccess().getWeightINTLiteralParserRuleCall_2_0()); + pushFollow(FOLLOW_2); + ruleINTLiteral(); - } + state._fsp--; - after(grammarAccess.getMtffAccess().getTransformationTransformationDefinitionCrossReference_2_0()); + after(grammarAccess.getCostEntryAccess().getWeightINTLiteralParserRuleCall_2_0()); } @@ -34695,21 +32708,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont } return ; } - // $ANTLR end "rule__Mtff__TransformationAssignment_2" + // $ANTLR end "rule__CostEntry__WeightAssignment_2" // $ANTLR start "rule__ObjectiveDeclaration__NameAssignment_1" - // InternalApplicationConfiguration.g:11345:1: rule__ObjectiveDeclaration__NameAssignment_1 : ( RULE_ID ) ; + // InternalApplicationConfiguration.g:10682:1: rule__ObjectiveDeclaration__NameAssignment_1 : ( RULE_ID ) ; public final void rule__ObjectiveDeclaration__NameAssignment_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:11349:1: ( ( RULE_ID ) ) - // InternalApplicationConfiguration.g:11350:2: ( RULE_ID ) + // InternalApplicationConfiguration.g:10686:1: ( ( RULE_ID ) ) + // InternalApplicationConfiguration.g:10687:2: ( RULE_ID ) { - // InternalApplicationConfiguration.g:11350:2: ( RULE_ID ) - // InternalApplicationConfiguration.g:11351:3: RULE_ID + // InternalApplicationConfiguration.g:10687:2: ( RULE_ID ) + // InternalApplicationConfiguration.g:10688:3: RULE_ID { before(grammarAccess.getObjectiveDeclarationAccess().getNameIDTerminalRuleCall_1_0()); match(input,RULE_ID,FOLLOW_2); @@ -34736,17 +32749,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ObjectiveDeclaration__SpecificationAssignment_2" - // InternalApplicationConfiguration.g:11360:1: rule__ObjectiveDeclaration__SpecificationAssignment_2 : ( ruleObjectiveSpecification ) ; + // InternalApplicationConfiguration.g:10697:1: rule__ObjectiveDeclaration__SpecificationAssignment_2 : ( ruleObjectiveSpecification ) ; public final void rule__ObjectiveDeclaration__SpecificationAssignment_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:11364:1: ( ( ruleObjectiveSpecification ) ) - // InternalApplicationConfiguration.g:11365:2: ( ruleObjectiveSpecification ) + // InternalApplicationConfiguration.g:10701:1: ( ( ruleObjectiveSpecification ) ) + // InternalApplicationConfiguration.g:10702:2: ( ruleObjectiveSpecification ) { - // InternalApplicationConfiguration.g:11365:2: ( ruleObjectiveSpecification ) - // InternalApplicationConfiguration.g:11366:3: ruleObjectiveSpecification + // InternalApplicationConfiguration.g:10702:2: ( ruleObjectiveSpecification ) + // InternalApplicationConfiguration.g:10703:3: ruleObjectiveSpecification { before(grammarAccess.getObjectiveDeclarationAccess().getSpecificationObjectiveSpecificationParserRuleCall_2_0()); pushFollow(FOLLOW_2); @@ -34777,21 +32790,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ObjectiveReference__ReferredAssignment" - // InternalApplicationConfiguration.g:11375:1: rule__ObjectiveReference__ReferredAssignment : ( ( RULE_ID ) ) ; + // InternalApplicationConfiguration.g:10712:1: rule__ObjectiveReference__ReferredAssignment : ( ( RULE_ID ) ) ; public final void rule__ObjectiveReference__ReferredAssignment() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:11379:1: ( ( ( RULE_ID ) ) ) - // InternalApplicationConfiguration.g:11380:2: ( ( RULE_ID ) ) + // InternalApplicationConfiguration.g:10716:1: ( ( ( RULE_ID ) ) ) + // InternalApplicationConfiguration.g:10717:2: ( ( RULE_ID ) ) { - // InternalApplicationConfiguration.g:11380:2: ( ( RULE_ID ) ) - // InternalApplicationConfiguration.g:11381:3: ( RULE_ID ) + // InternalApplicationConfiguration.g:10717:2: ( ( RULE_ID ) ) + // InternalApplicationConfiguration.g:10718:3: ( RULE_ID ) { before(grammarAccess.getObjectiveReferenceAccess().getReferredObjectiveDeclarationCrossReference_0()); - // InternalApplicationConfiguration.g:11382:3: ( RULE_ID ) - // InternalApplicationConfiguration.g:11383:4: RULE_ID + // InternalApplicationConfiguration.g:10719:3: ( RULE_ID ) + // InternalApplicationConfiguration.g:10720:4: RULE_ID { before(grammarAccess.getObjectiveReferenceAccess().getReferredObjectiveDeclarationIDTerminalRuleCall_0_1()); match(input,RULE_ID,FOLLOW_2); @@ -34822,17 +32835,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ConfigSpecification__EntriesAssignment_2_0" - // InternalApplicationConfiguration.g:11394:1: rule__ConfigSpecification__EntriesAssignment_2_0 : ( ruleConfigEntry ) ; + // InternalApplicationConfiguration.g:10731:1: rule__ConfigSpecification__EntriesAssignment_2_0 : ( ruleConfigEntry ) ; public final void rule__ConfigSpecification__EntriesAssignment_2_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:11398:1: ( ( ruleConfigEntry ) ) - // InternalApplicationConfiguration.g:11399:2: ( ruleConfigEntry ) + // InternalApplicationConfiguration.g:10735:1: ( ( ruleConfigEntry ) ) + // InternalApplicationConfiguration.g:10736:2: ( ruleConfigEntry ) { - // InternalApplicationConfiguration.g:11399:2: ( ruleConfigEntry ) - // InternalApplicationConfiguration.g:11400:3: ruleConfigEntry + // InternalApplicationConfiguration.g:10736:2: ( ruleConfigEntry ) + // InternalApplicationConfiguration.g:10737:3: ruleConfigEntry { before(grammarAccess.getConfigSpecificationAccess().getEntriesConfigEntryParserRuleCall_2_0_0()); pushFollow(FOLLOW_2); @@ -34863,17 +32876,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ConfigSpecification__EntriesAssignment_2_1_1" - // InternalApplicationConfiguration.g:11409:1: rule__ConfigSpecification__EntriesAssignment_2_1_1 : ( ruleConfigEntry ) ; + // InternalApplicationConfiguration.g:10746:1: rule__ConfigSpecification__EntriesAssignment_2_1_1 : ( ruleConfigEntry ) ; public final void rule__ConfigSpecification__EntriesAssignment_2_1_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:11413:1: ( ( ruleConfigEntry ) ) - // InternalApplicationConfiguration.g:11414:2: ( ruleConfigEntry ) + // InternalApplicationConfiguration.g:10750:1: ( ( ruleConfigEntry ) ) + // InternalApplicationConfiguration.g:10751:2: ( ruleConfigEntry ) { - // InternalApplicationConfiguration.g:11414:2: ( ruleConfigEntry ) - // InternalApplicationConfiguration.g:11415:3: ruleConfigEntry + // InternalApplicationConfiguration.g:10751:2: ( ruleConfigEntry ) + // InternalApplicationConfiguration.g:10752:3: ruleConfigEntry { before(grammarAccess.getConfigSpecificationAccess().getEntriesConfigEntryParserRuleCall_2_1_1_0()); pushFollow(FOLLOW_2); @@ -34904,17 +32917,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ConfigDeclaration__NameAssignment_1" - // InternalApplicationConfiguration.g:11424:1: rule__ConfigDeclaration__NameAssignment_1 : ( RULE_ID ) ; + // InternalApplicationConfiguration.g:10761:1: rule__ConfigDeclaration__NameAssignment_1 : ( RULE_ID ) ; public final void rule__ConfigDeclaration__NameAssignment_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:11428:1: ( ( RULE_ID ) ) - // InternalApplicationConfiguration.g:11429:2: ( RULE_ID ) + // InternalApplicationConfiguration.g:10765:1: ( ( RULE_ID ) ) + // InternalApplicationConfiguration.g:10766:2: ( RULE_ID ) { - // InternalApplicationConfiguration.g:11429:2: ( RULE_ID ) - // InternalApplicationConfiguration.g:11430:3: RULE_ID + // InternalApplicationConfiguration.g:10766:2: ( RULE_ID ) + // InternalApplicationConfiguration.g:10767:3: RULE_ID { before(grammarAccess.getConfigDeclarationAccess().getNameIDTerminalRuleCall_1_0()); match(input,RULE_ID,FOLLOW_2); @@ -34941,17 +32954,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ConfigDeclaration__SpecificationAssignment_2" - // InternalApplicationConfiguration.g:11439:1: rule__ConfigDeclaration__SpecificationAssignment_2 : ( ruleConfigSpecification ) ; + // InternalApplicationConfiguration.g:10776:1: rule__ConfigDeclaration__SpecificationAssignment_2 : ( ruleConfigSpecification ) ; public final void rule__ConfigDeclaration__SpecificationAssignment_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:11443:1: ( ( ruleConfigSpecification ) ) - // InternalApplicationConfiguration.g:11444:2: ( ruleConfigSpecification ) + // InternalApplicationConfiguration.g:10780:1: ( ( ruleConfigSpecification ) ) + // InternalApplicationConfiguration.g:10781:2: ( ruleConfigSpecification ) { - // InternalApplicationConfiguration.g:11444:2: ( ruleConfigSpecification ) - // InternalApplicationConfiguration.g:11445:3: ruleConfigSpecification + // InternalApplicationConfiguration.g:10781:2: ( ruleConfigSpecification ) + // InternalApplicationConfiguration.g:10782:3: ruleConfigSpecification { before(grammarAccess.getConfigDeclarationAccess().getSpecificationConfigSpecificationParserRuleCall_2_0()); pushFollow(FOLLOW_2); @@ -34982,17 +32995,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__DocumentationEntry__LevelAssignment_2" - // InternalApplicationConfiguration.g:11454:1: rule__DocumentationEntry__LevelAssignment_2 : ( ruleDocumentLevelSpecification ) ; + // InternalApplicationConfiguration.g:10791:1: rule__DocumentationEntry__LevelAssignment_2 : ( ruleDocumentLevelSpecification ) ; public final void rule__DocumentationEntry__LevelAssignment_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:11458:1: ( ( ruleDocumentLevelSpecification ) ) - // InternalApplicationConfiguration.g:11459:2: ( ruleDocumentLevelSpecification ) + // InternalApplicationConfiguration.g:10795:1: ( ( ruleDocumentLevelSpecification ) ) + // InternalApplicationConfiguration.g:10796:2: ( ruleDocumentLevelSpecification ) { - // InternalApplicationConfiguration.g:11459:2: ( ruleDocumentLevelSpecification ) - // InternalApplicationConfiguration.g:11460:3: ruleDocumentLevelSpecification + // InternalApplicationConfiguration.g:10796:2: ( ruleDocumentLevelSpecification ) + // InternalApplicationConfiguration.g:10797:3: ruleDocumentLevelSpecification { before(grammarAccess.getDocumentationEntryAccess().getLevelDocumentLevelSpecificationEnumRuleCall_2_0()); pushFollow(FOLLOW_2); @@ -35023,17 +33036,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__RuntimeEntry__MillisecLimitAssignment_2" - // InternalApplicationConfiguration.g:11469:1: rule__RuntimeEntry__MillisecLimitAssignment_2 : ( RULE_INT ) ; + // InternalApplicationConfiguration.g:10806:1: rule__RuntimeEntry__MillisecLimitAssignment_2 : ( RULE_INT ) ; public final void rule__RuntimeEntry__MillisecLimitAssignment_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:11473:1: ( ( RULE_INT ) ) - // InternalApplicationConfiguration.g:11474:2: ( RULE_INT ) + // InternalApplicationConfiguration.g:10810:1: ( ( RULE_INT ) ) + // InternalApplicationConfiguration.g:10811:2: ( RULE_INT ) { - // InternalApplicationConfiguration.g:11474:2: ( RULE_INT ) - // InternalApplicationConfiguration.g:11475:3: RULE_INT + // InternalApplicationConfiguration.g:10811:2: ( RULE_INT ) + // InternalApplicationConfiguration.g:10812:3: RULE_INT { before(grammarAccess.getRuntimeEntryAccess().getMillisecLimitINTTerminalRuleCall_2_0()); match(input,RULE_INT,FOLLOW_2); @@ -35060,17 +33073,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__MemoryEntry__MegabyteLimitAssignment_2" - // InternalApplicationConfiguration.g:11484:1: rule__MemoryEntry__MegabyteLimitAssignment_2 : ( RULE_INT ) ; + // InternalApplicationConfiguration.g:10821:1: rule__MemoryEntry__MegabyteLimitAssignment_2 : ( RULE_INT ) ; public final void rule__MemoryEntry__MegabyteLimitAssignment_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:11488:1: ( ( RULE_INT ) ) - // InternalApplicationConfiguration.g:11489:2: ( RULE_INT ) + // InternalApplicationConfiguration.g:10825:1: ( ( RULE_INT ) ) + // InternalApplicationConfiguration.g:10826:2: ( RULE_INT ) { - // InternalApplicationConfiguration.g:11489:2: ( RULE_INT ) - // InternalApplicationConfiguration.g:11490:3: RULE_INT + // InternalApplicationConfiguration.g:10826:2: ( RULE_INT ) + // InternalApplicationConfiguration.g:10827:3: RULE_INT { before(grammarAccess.getMemoryEntryAccess().getMegabyteLimitINTTerminalRuleCall_2_0()); match(input,RULE_INT,FOLLOW_2); @@ -35097,17 +33110,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__CustomEntry__KeyAssignment_0" - // InternalApplicationConfiguration.g:11499:1: rule__CustomEntry__KeyAssignment_0 : ( RULE_STRING ) ; + // InternalApplicationConfiguration.g:10836:1: rule__CustomEntry__KeyAssignment_0 : ( RULE_STRING ) ; public final void rule__CustomEntry__KeyAssignment_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:11503:1: ( ( RULE_STRING ) ) - // InternalApplicationConfiguration.g:11504:2: ( RULE_STRING ) + // InternalApplicationConfiguration.g:10840:1: ( ( RULE_STRING ) ) + // InternalApplicationConfiguration.g:10841:2: ( RULE_STRING ) { - // InternalApplicationConfiguration.g:11504:2: ( RULE_STRING ) - // InternalApplicationConfiguration.g:11505:3: RULE_STRING + // InternalApplicationConfiguration.g:10841:2: ( RULE_STRING ) + // InternalApplicationConfiguration.g:10842:3: RULE_STRING { before(grammarAccess.getCustomEntryAccess().getKeySTRINGTerminalRuleCall_0_0()); match(input,RULE_STRING,FOLLOW_2); @@ -35134,17 +33147,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__CustomEntry__ValueAssignment_2" - // InternalApplicationConfiguration.g:11514:1: rule__CustomEntry__ValueAssignment_2 : ( RULE_STRING ) ; + // InternalApplicationConfiguration.g:10851:1: rule__CustomEntry__ValueAssignment_2 : ( RULE_STRING ) ; public final void rule__CustomEntry__ValueAssignment_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:11518:1: ( ( RULE_STRING ) ) - // InternalApplicationConfiguration.g:11519:2: ( RULE_STRING ) + // InternalApplicationConfiguration.g:10855:1: ( ( RULE_STRING ) ) + // InternalApplicationConfiguration.g:10856:2: ( RULE_STRING ) { - // InternalApplicationConfiguration.g:11519:2: ( RULE_STRING ) - // InternalApplicationConfiguration.g:11520:3: RULE_STRING + // InternalApplicationConfiguration.g:10856:2: ( RULE_STRING ) + // InternalApplicationConfiguration.g:10857:3: RULE_STRING { before(grammarAccess.getCustomEntryAccess().getValueSTRINGTerminalRuleCall_2_0()); match(input,RULE_STRING,FOLLOW_2); @@ -35171,21 +33184,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ConfigReference__ConfigAssignment" - // InternalApplicationConfiguration.g:11529:1: rule__ConfigReference__ConfigAssignment : ( ( RULE_ID ) ) ; + // InternalApplicationConfiguration.g:10866:1: rule__ConfigReference__ConfigAssignment : ( ( RULE_ID ) ) ; public final void rule__ConfigReference__ConfigAssignment() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:11533:1: ( ( ( RULE_ID ) ) ) - // InternalApplicationConfiguration.g:11534:2: ( ( RULE_ID ) ) + // InternalApplicationConfiguration.g:10870:1: ( ( ( RULE_ID ) ) ) + // InternalApplicationConfiguration.g:10871:2: ( ( RULE_ID ) ) { - // InternalApplicationConfiguration.g:11534:2: ( ( RULE_ID ) ) - // InternalApplicationConfiguration.g:11535:3: ( RULE_ID ) + // InternalApplicationConfiguration.g:10871:2: ( ( RULE_ID ) ) + // InternalApplicationConfiguration.g:10872:3: ( RULE_ID ) { before(grammarAccess.getConfigReferenceAccess().getConfigConfigDeclarationCrossReference_0()); - // InternalApplicationConfiguration.g:11536:3: ( RULE_ID ) - // InternalApplicationConfiguration.g:11537:4: RULE_ID + // InternalApplicationConfiguration.g:10873:3: ( RULE_ID ) + // InternalApplicationConfiguration.g:10874:4: RULE_ID { before(grammarAccess.getConfigReferenceAccess().getConfigConfigDeclarationIDTerminalRuleCall_0_1()); match(input,RULE_ID,FOLLOW_2); @@ -35216,17 +33229,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ScopeSpecification__ScopesAssignment_2_0" - // InternalApplicationConfiguration.g:11548:1: rule__ScopeSpecification__ScopesAssignment_2_0 : ( ruleTypeScope ) ; + // InternalApplicationConfiguration.g:10885:1: rule__ScopeSpecification__ScopesAssignment_2_0 : ( ruleTypeScope ) ; public final void rule__ScopeSpecification__ScopesAssignment_2_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:11552:1: ( ( ruleTypeScope ) ) - // InternalApplicationConfiguration.g:11553:2: ( ruleTypeScope ) + // InternalApplicationConfiguration.g:10889:1: ( ( ruleTypeScope ) ) + // InternalApplicationConfiguration.g:10890:2: ( ruleTypeScope ) { - // InternalApplicationConfiguration.g:11553:2: ( ruleTypeScope ) - // InternalApplicationConfiguration.g:11554:3: ruleTypeScope + // InternalApplicationConfiguration.g:10890:2: ( ruleTypeScope ) + // InternalApplicationConfiguration.g:10891:3: ruleTypeScope { before(grammarAccess.getScopeSpecificationAccess().getScopesTypeScopeParserRuleCall_2_0_0()); pushFollow(FOLLOW_2); @@ -35257,17 +33270,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ScopeSpecification__ScopesAssignment_2_1_1" - // InternalApplicationConfiguration.g:11563:1: rule__ScopeSpecification__ScopesAssignment_2_1_1 : ( ruleTypeScope ) ; + // InternalApplicationConfiguration.g:10900:1: rule__ScopeSpecification__ScopesAssignment_2_1_1 : ( ruleTypeScope ) ; public final void rule__ScopeSpecification__ScopesAssignment_2_1_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:11567:1: ( ( ruleTypeScope ) ) - // InternalApplicationConfiguration.g:11568:2: ( ruleTypeScope ) + // InternalApplicationConfiguration.g:10904:1: ( ( ruleTypeScope ) ) + // InternalApplicationConfiguration.g:10905:2: ( ruleTypeScope ) { - // InternalApplicationConfiguration.g:11568:2: ( ruleTypeScope ) - // InternalApplicationConfiguration.g:11569:3: ruleTypeScope + // InternalApplicationConfiguration.g:10905:2: ( ruleTypeScope ) + // InternalApplicationConfiguration.g:10906:3: ruleTypeScope { before(grammarAccess.getScopeSpecificationAccess().getScopesTypeScopeParserRuleCall_2_1_1_0()); pushFollow(FOLLOW_2); @@ -35298,17 +33311,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ClassTypeScope__TypeAssignment_1" - // InternalApplicationConfiguration.g:11578:1: rule__ClassTypeScope__TypeAssignment_1 : ( ruleClassReference ) ; + // InternalApplicationConfiguration.g:10915:1: rule__ClassTypeScope__TypeAssignment_1 : ( ruleClassReference ) ; public final void rule__ClassTypeScope__TypeAssignment_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:11582:1: ( ( ruleClassReference ) ) - // InternalApplicationConfiguration.g:11583:2: ( ruleClassReference ) + // InternalApplicationConfiguration.g:10919:1: ( ( ruleClassReference ) ) + // InternalApplicationConfiguration.g:10920:2: ( ruleClassReference ) { - // InternalApplicationConfiguration.g:11583:2: ( ruleClassReference ) - // InternalApplicationConfiguration.g:11584:3: ruleClassReference + // InternalApplicationConfiguration.g:10920:2: ( ruleClassReference ) + // InternalApplicationConfiguration.g:10921:3: ruleClassReference { before(grammarAccess.getClassTypeScopeAccess().getTypeClassReferenceParserRuleCall_1_0()); pushFollow(FOLLOW_2); @@ -35339,24 +33352,24 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ClassTypeScope__SetsNewAssignment_2_0" - // InternalApplicationConfiguration.g:11593:1: rule__ClassTypeScope__SetsNewAssignment_2_0 : ( ( '+=' ) ) ; + // InternalApplicationConfiguration.g:10930:1: rule__ClassTypeScope__SetsNewAssignment_2_0 : ( ( '+=' ) ) ; public final void rule__ClassTypeScope__SetsNewAssignment_2_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:11597:1: ( ( ( '+=' ) ) ) - // InternalApplicationConfiguration.g:11598:2: ( ( '+=' ) ) + // InternalApplicationConfiguration.g:10934:1: ( ( ( '+=' ) ) ) + // InternalApplicationConfiguration.g:10935:2: ( ( '+=' ) ) { - // InternalApplicationConfiguration.g:11598:2: ( ( '+=' ) ) - // InternalApplicationConfiguration.g:11599:3: ( '+=' ) + // InternalApplicationConfiguration.g:10935:2: ( ( '+=' ) ) + // InternalApplicationConfiguration.g:10936:3: ( '+=' ) { before(grammarAccess.getClassTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); - // InternalApplicationConfiguration.g:11600:3: ( '+=' ) - // InternalApplicationConfiguration.g:11601:4: '+=' + // InternalApplicationConfiguration.g:10937:3: ( '+=' ) + // InternalApplicationConfiguration.g:10938:4: '+=' { before(grammarAccess.getClassTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); - match(input,63,FOLLOW_2); + match(input,60,FOLLOW_2); after(grammarAccess.getClassTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); } @@ -35384,24 +33397,24 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ClassTypeScope__SetsSumAssignment_2_1" - // InternalApplicationConfiguration.g:11612:1: rule__ClassTypeScope__SetsSumAssignment_2_1 : ( ( '=' ) ) ; + // InternalApplicationConfiguration.g:10949:1: rule__ClassTypeScope__SetsSumAssignment_2_1 : ( ( '=' ) ) ; public final void rule__ClassTypeScope__SetsSumAssignment_2_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:11616:1: ( ( ( '=' ) ) ) - // InternalApplicationConfiguration.g:11617:2: ( ( '=' ) ) + // InternalApplicationConfiguration.g:10953:1: ( ( ( '=' ) ) ) + // InternalApplicationConfiguration.g:10954:2: ( ( '=' ) ) { - // InternalApplicationConfiguration.g:11617:2: ( ( '=' ) ) - // InternalApplicationConfiguration.g:11618:3: ( '=' ) + // InternalApplicationConfiguration.g:10954:2: ( ( '=' ) ) + // InternalApplicationConfiguration.g:10955:3: ( '=' ) { before(grammarAccess.getClassTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); - // InternalApplicationConfiguration.g:11619:3: ( '=' ) - // InternalApplicationConfiguration.g:11620:4: '=' + // InternalApplicationConfiguration.g:10956:3: ( '=' ) + // InternalApplicationConfiguration.g:10957:4: '=' { before(grammarAccess.getClassTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); - match(input,30,FOLLOW_2); + match(input,29,FOLLOW_2); after(grammarAccess.getClassTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); } @@ -35429,17 +33442,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ClassTypeScope__NumberAssignment_3_0" - // InternalApplicationConfiguration.g:11631:1: rule__ClassTypeScope__NumberAssignment_3_0 : ( ruleExactNumber ) ; + // InternalApplicationConfiguration.g:10968:1: rule__ClassTypeScope__NumberAssignment_3_0 : ( ruleExactNumber ) ; public final void rule__ClassTypeScope__NumberAssignment_3_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:11635:1: ( ( ruleExactNumber ) ) - // InternalApplicationConfiguration.g:11636:2: ( ruleExactNumber ) + // InternalApplicationConfiguration.g:10972:1: ( ( ruleExactNumber ) ) + // InternalApplicationConfiguration.g:10973:2: ( ruleExactNumber ) { - // InternalApplicationConfiguration.g:11636:2: ( ruleExactNumber ) - // InternalApplicationConfiguration.g:11637:3: ruleExactNumber + // InternalApplicationConfiguration.g:10973:2: ( ruleExactNumber ) + // InternalApplicationConfiguration.g:10974:3: ruleExactNumber { before(grammarAccess.getClassTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0()); pushFollow(FOLLOW_2); @@ -35470,17 +33483,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ClassTypeScope__NumberAssignment_3_1" - // InternalApplicationConfiguration.g:11646:1: rule__ClassTypeScope__NumberAssignment_3_1 : ( ruleIntervallNumber ) ; + // InternalApplicationConfiguration.g:10983:1: rule__ClassTypeScope__NumberAssignment_3_1 : ( ruleIntervallNumber ) ; public final void rule__ClassTypeScope__NumberAssignment_3_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:11650:1: ( ( ruleIntervallNumber ) ) - // InternalApplicationConfiguration.g:11651:2: ( ruleIntervallNumber ) + // InternalApplicationConfiguration.g:10987:1: ( ( ruleIntervallNumber ) ) + // InternalApplicationConfiguration.g:10988:2: ( ruleIntervallNumber ) { - // InternalApplicationConfiguration.g:11651:2: ( ruleIntervallNumber ) - // InternalApplicationConfiguration.g:11652:3: ruleIntervallNumber + // InternalApplicationConfiguration.g:10988:2: ( ruleIntervallNumber ) + // InternalApplicationConfiguration.g:10989:3: ruleIntervallNumber { before(grammarAccess.getClassTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0()); pushFollow(FOLLOW_2); @@ -35511,17 +33524,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ObjectTypeScope__TypeAssignment_1" - // InternalApplicationConfiguration.g:11661:1: rule__ObjectTypeScope__TypeAssignment_1 : ( ruleObjectReference ) ; + // InternalApplicationConfiguration.g:10998:1: rule__ObjectTypeScope__TypeAssignment_1 : ( ruleObjectReference ) ; public final void rule__ObjectTypeScope__TypeAssignment_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:11665:1: ( ( ruleObjectReference ) ) - // InternalApplicationConfiguration.g:11666:2: ( ruleObjectReference ) + // InternalApplicationConfiguration.g:11002:1: ( ( ruleObjectReference ) ) + // InternalApplicationConfiguration.g:11003:2: ( ruleObjectReference ) { - // InternalApplicationConfiguration.g:11666:2: ( ruleObjectReference ) - // InternalApplicationConfiguration.g:11667:3: ruleObjectReference + // InternalApplicationConfiguration.g:11003:2: ( ruleObjectReference ) + // InternalApplicationConfiguration.g:11004:3: ruleObjectReference { before(grammarAccess.getObjectTypeScopeAccess().getTypeObjectReferenceParserRuleCall_1_0()); pushFollow(FOLLOW_2); @@ -35552,24 +33565,24 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ObjectTypeScope__SetsNewAssignment_2_0" - // InternalApplicationConfiguration.g:11676:1: rule__ObjectTypeScope__SetsNewAssignment_2_0 : ( ( '+=' ) ) ; + // InternalApplicationConfiguration.g:11013:1: rule__ObjectTypeScope__SetsNewAssignment_2_0 : ( ( '+=' ) ) ; public final void rule__ObjectTypeScope__SetsNewAssignment_2_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:11680:1: ( ( ( '+=' ) ) ) - // InternalApplicationConfiguration.g:11681:2: ( ( '+=' ) ) + // InternalApplicationConfiguration.g:11017:1: ( ( ( '+=' ) ) ) + // InternalApplicationConfiguration.g:11018:2: ( ( '+=' ) ) { - // InternalApplicationConfiguration.g:11681:2: ( ( '+=' ) ) - // InternalApplicationConfiguration.g:11682:3: ( '+=' ) + // InternalApplicationConfiguration.g:11018:2: ( ( '+=' ) ) + // InternalApplicationConfiguration.g:11019:3: ( '+=' ) { before(grammarAccess.getObjectTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); - // InternalApplicationConfiguration.g:11683:3: ( '+=' ) - // InternalApplicationConfiguration.g:11684:4: '+=' + // InternalApplicationConfiguration.g:11020:3: ( '+=' ) + // InternalApplicationConfiguration.g:11021:4: '+=' { before(grammarAccess.getObjectTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); - match(input,63,FOLLOW_2); + match(input,60,FOLLOW_2); after(grammarAccess.getObjectTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); } @@ -35597,24 +33610,24 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ObjectTypeScope__SetsSumAssignment_2_1" - // InternalApplicationConfiguration.g:11695:1: rule__ObjectTypeScope__SetsSumAssignment_2_1 : ( ( '=' ) ) ; + // InternalApplicationConfiguration.g:11032:1: rule__ObjectTypeScope__SetsSumAssignment_2_1 : ( ( '=' ) ) ; public final void rule__ObjectTypeScope__SetsSumAssignment_2_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:11699:1: ( ( ( '=' ) ) ) - // InternalApplicationConfiguration.g:11700:2: ( ( '=' ) ) + // InternalApplicationConfiguration.g:11036:1: ( ( ( '=' ) ) ) + // InternalApplicationConfiguration.g:11037:2: ( ( '=' ) ) { - // InternalApplicationConfiguration.g:11700:2: ( ( '=' ) ) - // InternalApplicationConfiguration.g:11701:3: ( '=' ) + // InternalApplicationConfiguration.g:11037:2: ( ( '=' ) ) + // InternalApplicationConfiguration.g:11038:3: ( '=' ) { before(grammarAccess.getObjectTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); - // InternalApplicationConfiguration.g:11702:3: ( '=' ) - // InternalApplicationConfiguration.g:11703:4: '=' + // InternalApplicationConfiguration.g:11039:3: ( '=' ) + // InternalApplicationConfiguration.g:11040:4: '=' { before(grammarAccess.getObjectTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); - match(input,30,FOLLOW_2); + match(input,29,FOLLOW_2); after(grammarAccess.getObjectTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); } @@ -35642,17 +33655,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ObjectTypeScope__NumberAssignment_3_0" - // InternalApplicationConfiguration.g:11714:1: rule__ObjectTypeScope__NumberAssignment_3_0 : ( ruleExactNumber ) ; + // InternalApplicationConfiguration.g:11051:1: rule__ObjectTypeScope__NumberAssignment_3_0 : ( ruleExactNumber ) ; public final void rule__ObjectTypeScope__NumberAssignment_3_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:11718:1: ( ( ruleExactNumber ) ) - // InternalApplicationConfiguration.g:11719:2: ( ruleExactNumber ) + // InternalApplicationConfiguration.g:11055:1: ( ( ruleExactNumber ) ) + // InternalApplicationConfiguration.g:11056:2: ( ruleExactNumber ) { - // InternalApplicationConfiguration.g:11719:2: ( ruleExactNumber ) - // InternalApplicationConfiguration.g:11720:3: ruleExactNumber + // InternalApplicationConfiguration.g:11056:2: ( ruleExactNumber ) + // InternalApplicationConfiguration.g:11057:3: ruleExactNumber { before(grammarAccess.getObjectTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0()); pushFollow(FOLLOW_2); @@ -35683,17 +33696,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ObjectTypeScope__NumberAssignment_3_1" - // InternalApplicationConfiguration.g:11729:1: rule__ObjectTypeScope__NumberAssignment_3_1 : ( ruleIntervallNumber ) ; + // InternalApplicationConfiguration.g:11066:1: rule__ObjectTypeScope__NumberAssignment_3_1 : ( ruleIntervallNumber ) ; public final void rule__ObjectTypeScope__NumberAssignment_3_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:11733:1: ( ( ruleIntervallNumber ) ) - // InternalApplicationConfiguration.g:11734:2: ( ruleIntervallNumber ) + // InternalApplicationConfiguration.g:11070:1: ( ( ruleIntervallNumber ) ) + // InternalApplicationConfiguration.g:11071:2: ( ruleIntervallNumber ) { - // InternalApplicationConfiguration.g:11734:2: ( ruleIntervallNumber ) - // InternalApplicationConfiguration.g:11735:3: ruleIntervallNumber + // InternalApplicationConfiguration.g:11071:2: ( ruleIntervallNumber ) + // InternalApplicationConfiguration.g:11072:3: ruleIntervallNumber { before(grammarAccess.getObjectTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0()); pushFollow(FOLLOW_2); @@ -35724,17 +33737,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__IntegerTypeScope__TypeAssignment_1" - // InternalApplicationConfiguration.g:11744:1: rule__IntegerTypeScope__TypeAssignment_1 : ( ruleIntegerReference ) ; + // InternalApplicationConfiguration.g:11081:1: rule__IntegerTypeScope__TypeAssignment_1 : ( ruleIntegerReference ) ; public final void rule__IntegerTypeScope__TypeAssignment_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:11748:1: ( ( ruleIntegerReference ) ) - // InternalApplicationConfiguration.g:11749:2: ( ruleIntegerReference ) + // InternalApplicationConfiguration.g:11085:1: ( ( ruleIntegerReference ) ) + // InternalApplicationConfiguration.g:11086:2: ( ruleIntegerReference ) { - // InternalApplicationConfiguration.g:11749:2: ( ruleIntegerReference ) - // InternalApplicationConfiguration.g:11750:3: ruleIntegerReference + // InternalApplicationConfiguration.g:11086:2: ( ruleIntegerReference ) + // InternalApplicationConfiguration.g:11087:3: ruleIntegerReference { before(grammarAccess.getIntegerTypeScopeAccess().getTypeIntegerReferenceParserRuleCall_1_0()); pushFollow(FOLLOW_2); @@ -35765,24 +33778,24 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__IntegerTypeScope__SetsNewAssignment_2_0" - // InternalApplicationConfiguration.g:11759:1: rule__IntegerTypeScope__SetsNewAssignment_2_0 : ( ( '+=' ) ) ; + // InternalApplicationConfiguration.g:11096:1: rule__IntegerTypeScope__SetsNewAssignment_2_0 : ( ( '+=' ) ) ; public final void rule__IntegerTypeScope__SetsNewAssignment_2_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:11763:1: ( ( ( '+=' ) ) ) - // InternalApplicationConfiguration.g:11764:2: ( ( '+=' ) ) + // InternalApplicationConfiguration.g:11100:1: ( ( ( '+=' ) ) ) + // InternalApplicationConfiguration.g:11101:2: ( ( '+=' ) ) { - // InternalApplicationConfiguration.g:11764:2: ( ( '+=' ) ) - // InternalApplicationConfiguration.g:11765:3: ( '+=' ) + // InternalApplicationConfiguration.g:11101:2: ( ( '+=' ) ) + // InternalApplicationConfiguration.g:11102:3: ( '+=' ) { before(grammarAccess.getIntegerTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); - // InternalApplicationConfiguration.g:11766:3: ( '+=' ) - // InternalApplicationConfiguration.g:11767:4: '+=' + // InternalApplicationConfiguration.g:11103:3: ( '+=' ) + // InternalApplicationConfiguration.g:11104:4: '+=' { before(grammarAccess.getIntegerTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); - match(input,63,FOLLOW_2); + match(input,60,FOLLOW_2); after(grammarAccess.getIntegerTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); } @@ -35810,24 +33823,24 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__IntegerTypeScope__SetsSumAssignment_2_1" - // InternalApplicationConfiguration.g:11778:1: rule__IntegerTypeScope__SetsSumAssignment_2_1 : ( ( '=' ) ) ; + // InternalApplicationConfiguration.g:11115:1: rule__IntegerTypeScope__SetsSumAssignment_2_1 : ( ( '=' ) ) ; public final void rule__IntegerTypeScope__SetsSumAssignment_2_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:11782:1: ( ( ( '=' ) ) ) - // InternalApplicationConfiguration.g:11783:2: ( ( '=' ) ) + // InternalApplicationConfiguration.g:11119:1: ( ( ( '=' ) ) ) + // InternalApplicationConfiguration.g:11120:2: ( ( '=' ) ) { - // InternalApplicationConfiguration.g:11783:2: ( ( '=' ) ) - // InternalApplicationConfiguration.g:11784:3: ( '=' ) + // InternalApplicationConfiguration.g:11120:2: ( ( '=' ) ) + // InternalApplicationConfiguration.g:11121:3: ( '=' ) { before(grammarAccess.getIntegerTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); - // InternalApplicationConfiguration.g:11785:3: ( '=' ) - // InternalApplicationConfiguration.g:11786:4: '=' + // InternalApplicationConfiguration.g:11122:3: ( '=' ) + // InternalApplicationConfiguration.g:11123:4: '=' { before(grammarAccess.getIntegerTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); - match(input,30,FOLLOW_2); + match(input,29,FOLLOW_2); after(grammarAccess.getIntegerTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); } @@ -35855,17 +33868,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__IntegerTypeScope__NumberAssignment_3_0" - // InternalApplicationConfiguration.g:11797:1: rule__IntegerTypeScope__NumberAssignment_3_0 : ( ruleExactNumber ) ; + // InternalApplicationConfiguration.g:11134:1: rule__IntegerTypeScope__NumberAssignment_3_0 : ( ruleExactNumber ) ; public final void rule__IntegerTypeScope__NumberAssignment_3_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:11801:1: ( ( ruleExactNumber ) ) - // InternalApplicationConfiguration.g:11802:2: ( ruleExactNumber ) + // InternalApplicationConfiguration.g:11138:1: ( ( ruleExactNumber ) ) + // InternalApplicationConfiguration.g:11139:2: ( ruleExactNumber ) { - // InternalApplicationConfiguration.g:11802:2: ( ruleExactNumber ) - // InternalApplicationConfiguration.g:11803:3: ruleExactNumber + // InternalApplicationConfiguration.g:11139:2: ( ruleExactNumber ) + // InternalApplicationConfiguration.g:11140:3: ruleExactNumber { before(grammarAccess.getIntegerTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0()); pushFollow(FOLLOW_2); @@ -35896,17 +33909,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__IntegerTypeScope__NumberAssignment_3_1" - // InternalApplicationConfiguration.g:11812:1: rule__IntegerTypeScope__NumberAssignment_3_1 : ( ruleIntervallNumber ) ; + // InternalApplicationConfiguration.g:11149:1: rule__IntegerTypeScope__NumberAssignment_3_1 : ( ruleIntervallNumber ) ; public final void rule__IntegerTypeScope__NumberAssignment_3_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:11816:1: ( ( ruleIntervallNumber ) ) - // InternalApplicationConfiguration.g:11817:2: ( ruleIntervallNumber ) + // InternalApplicationConfiguration.g:11153:1: ( ( ruleIntervallNumber ) ) + // InternalApplicationConfiguration.g:11154:2: ( ruleIntervallNumber ) { - // InternalApplicationConfiguration.g:11817:2: ( ruleIntervallNumber ) - // InternalApplicationConfiguration.g:11818:3: ruleIntervallNumber + // InternalApplicationConfiguration.g:11154:2: ( ruleIntervallNumber ) + // InternalApplicationConfiguration.g:11155:3: ruleIntervallNumber { before(grammarAccess.getIntegerTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0()); pushFollow(FOLLOW_2); @@ -35937,17 +33950,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__IntegerTypeScope__NumberAssignment_3_2" - // InternalApplicationConfiguration.g:11827:1: rule__IntegerTypeScope__NumberAssignment_3_2 : ( ruleIntEnumberation ) ; + // InternalApplicationConfiguration.g:11164:1: rule__IntegerTypeScope__NumberAssignment_3_2 : ( ruleIntEnumberation ) ; public final void rule__IntegerTypeScope__NumberAssignment_3_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:11831:1: ( ( ruleIntEnumberation ) ) - // InternalApplicationConfiguration.g:11832:2: ( ruleIntEnumberation ) + // InternalApplicationConfiguration.g:11168:1: ( ( ruleIntEnumberation ) ) + // InternalApplicationConfiguration.g:11169:2: ( ruleIntEnumberation ) { - // InternalApplicationConfiguration.g:11832:2: ( ruleIntEnumberation ) - // InternalApplicationConfiguration.g:11833:3: ruleIntEnumberation + // InternalApplicationConfiguration.g:11169:2: ( ruleIntEnumberation ) + // InternalApplicationConfiguration.g:11170:3: ruleIntEnumberation { before(grammarAccess.getIntegerTypeScopeAccess().getNumberIntEnumberationParserRuleCall_3_2_0()); pushFollow(FOLLOW_2); @@ -35978,17 +33991,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__RealTypeScope__TypeAssignment_1" - // InternalApplicationConfiguration.g:11842:1: rule__RealTypeScope__TypeAssignment_1 : ( ruleRealReference ) ; + // InternalApplicationConfiguration.g:11179:1: rule__RealTypeScope__TypeAssignment_1 : ( ruleRealReference ) ; public final void rule__RealTypeScope__TypeAssignment_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:11846:1: ( ( ruleRealReference ) ) - // InternalApplicationConfiguration.g:11847:2: ( ruleRealReference ) + // InternalApplicationConfiguration.g:11183:1: ( ( ruleRealReference ) ) + // InternalApplicationConfiguration.g:11184:2: ( ruleRealReference ) { - // InternalApplicationConfiguration.g:11847:2: ( ruleRealReference ) - // InternalApplicationConfiguration.g:11848:3: ruleRealReference + // InternalApplicationConfiguration.g:11184:2: ( ruleRealReference ) + // InternalApplicationConfiguration.g:11185:3: ruleRealReference { before(grammarAccess.getRealTypeScopeAccess().getTypeRealReferenceParserRuleCall_1_0()); pushFollow(FOLLOW_2); @@ -36019,24 +34032,24 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__RealTypeScope__SetsNewAssignment_2_0" - // InternalApplicationConfiguration.g:11857:1: rule__RealTypeScope__SetsNewAssignment_2_0 : ( ( '+=' ) ) ; + // InternalApplicationConfiguration.g:11194:1: rule__RealTypeScope__SetsNewAssignment_2_0 : ( ( '+=' ) ) ; public final void rule__RealTypeScope__SetsNewAssignment_2_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:11861:1: ( ( ( '+=' ) ) ) - // InternalApplicationConfiguration.g:11862:2: ( ( '+=' ) ) + // InternalApplicationConfiguration.g:11198:1: ( ( ( '+=' ) ) ) + // InternalApplicationConfiguration.g:11199:2: ( ( '+=' ) ) { - // InternalApplicationConfiguration.g:11862:2: ( ( '+=' ) ) - // InternalApplicationConfiguration.g:11863:3: ( '+=' ) + // InternalApplicationConfiguration.g:11199:2: ( ( '+=' ) ) + // InternalApplicationConfiguration.g:11200:3: ( '+=' ) { before(grammarAccess.getRealTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); - // InternalApplicationConfiguration.g:11864:3: ( '+=' ) - // InternalApplicationConfiguration.g:11865:4: '+=' + // InternalApplicationConfiguration.g:11201:3: ( '+=' ) + // InternalApplicationConfiguration.g:11202:4: '+=' { before(grammarAccess.getRealTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); - match(input,63,FOLLOW_2); + match(input,60,FOLLOW_2); after(grammarAccess.getRealTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); } @@ -36064,24 +34077,24 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__RealTypeScope__SetsSumAssignment_2_1" - // InternalApplicationConfiguration.g:11876:1: rule__RealTypeScope__SetsSumAssignment_2_1 : ( ( '=' ) ) ; + // InternalApplicationConfiguration.g:11213:1: rule__RealTypeScope__SetsSumAssignment_2_1 : ( ( '=' ) ) ; public final void rule__RealTypeScope__SetsSumAssignment_2_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:11880:1: ( ( ( '=' ) ) ) - // InternalApplicationConfiguration.g:11881:2: ( ( '=' ) ) + // InternalApplicationConfiguration.g:11217:1: ( ( ( '=' ) ) ) + // InternalApplicationConfiguration.g:11218:2: ( ( '=' ) ) { - // InternalApplicationConfiguration.g:11881:2: ( ( '=' ) ) - // InternalApplicationConfiguration.g:11882:3: ( '=' ) + // InternalApplicationConfiguration.g:11218:2: ( ( '=' ) ) + // InternalApplicationConfiguration.g:11219:3: ( '=' ) { before(grammarAccess.getRealTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); - // InternalApplicationConfiguration.g:11883:3: ( '=' ) - // InternalApplicationConfiguration.g:11884:4: '=' + // InternalApplicationConfiguration.g:11220:3: ( '=' ) + // InternalApplicationConfiguration.g:11221:4: '=' { before(grammarAccess.getRealTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); - match(input,30,FOLLOW_2); + match(input,29,FOLLOW_2); after(grammarAccess.getRealTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); } @@ -36109,17 +34122,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__RealTypeScope__NumberAssignment_3_0" - // InternalApplicationConfiguration.g:11895:1: rule__RealTypeScope__NumberAssignment_3_0 : ( ruleExactNumber ) ; + // InternalApplicationConfiguration.g:11232:1: rule__RealTypeScope__NumberAssignment_3_0 : ( ruleExactNumber ) ; public final void rule__RealTypeScope__NumberAssignment_3_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:11899:1: ( ( ruleExactNumber ) ) - // InternalApplicationConfiguration.g:11900:2: ( ruleExactNumber ) + // InternalApplicationConfiguration.g:11236:1: ( ( ruleExactNumber ) ) + // InternalApplicationConfiguration.g:11237:2: ( ruleExactNumber ) { - // InternalApplicationConfiguration.g:11900:2: ( ruleExactNumber ) - // InternalApplicationConfiguration.g:11901:3: ruleExactNumber + // InternalApplicationConfiguration.g:11237:2: ( ruleExactNumber ) + // InternalApplicationConfiguration.g:11238:3: ruleExactNumber { before(grammarAccess.getRealTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0()); pushFollow(FOLLOW_2); @@ -36150,17 +34163,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__RealTypeScope__NumberAssignment_3_1" - // InternalApplicationConfiguration.g:11910:1: rule__RealTypeScope__NumberAssignment_3_1 : ( ruleIntervallNumber ) ; + // InternalApplicationConfiguration.g:11247:1: rule__RealTypeScope__NumberAssignment_3_1 : ( ruleIntervallNumber ) ; public final void rule__RealTypeScope__NumberAssignment_3_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:11914:1: ( ( ruleIntervallNumber ) ) - // InternalApplicationConfiguration.g:11915:2: ( ruleIntervallNumber ) + // InternalApplicationConfiguration.g:11251:1: ( ( ruleIntervallNumber ) ) + // InternalApplicationConfiguration.g:11252:2: ( ruleIntervallNumber ) { - // InternalApplicationConfiguration.g:11915:2: ( ruleIntervallNumber ) - // InternalApplicationConfiguration.g:11916:3: ruleIntervallNumber + // InternalApplicationConfiguration.g:11252:2: ( ruleIntervallNumber ) + // InternalApplicationConfiguration.g:11253:3: ruleIntervallNumber { before(grammarAccess.getRealTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0()); pushFollow(FOLLOW_2); @@ -36191,17 +34204,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__RealTypeScope__NumberAssignment_3_2" - // InternalApplicationConfiguration.g:11925:1: rule__RealTypeScope__NumberAssignment_3_2 : ( ruleRealEnumeration ) ; + // InternalApplicationConfiguration.g:11262:1: rule__RealTypeScope__NumberAssignment_3_2 : ( ruleRealEnumeration ) ; public final void rule__RealTypeScope__NumberAssignment_3_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:11929:1: ( ( ruleRealEnumeration ) ) - // InternalApplicationConfiguration.g:11930:2: ( ruleRealEnumeration ) + // InternalApplicationConfiguration.g:11266:1: ( ( ruleRealEnumeration ) ) + // InternalApplicationConfiguration.g:11267:2: ( ruleRealEnumeration ) { - // InternalApplicationConfiguration.g:11930:2: ( ruleRealEnumeration ) - // InternalApplicationConfiguration.g:11931:3: ruleRealEnumeration + // InternalApplicationConfiguration.g:11267:2: ( ruleRealEnumeration ) + // InternalApplicationConfiguration.g:11268:3: ruleRealEnumeration { before(grammarAccess.getRealTypeScopeAccess().getNumberRealEnumerationParserRuleCall_3_2_0()); pushFollow(FOLLOW_2); @@ -36232,17 +34245,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__StringTypeScope__TypeAssignment_1" - // InternalApplicationConfiguration.g:11940:1: rule__StringTypeScope__TypeAssignment_1 : ( ruleStringReference ) ; + // InternalApplicationConfiguration.g:11277:1: rule__StringTypeScope__TypeAssignment_1 : ( ruleStringReference ) ; public final void rule__StringTypeScope__TypeAssignment_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:11944:1: ( ( ruleStringReference ) ) - // InternalApplicationConfiguration.g:11945:2: ( ruleStringReference ) + // InternalApplicationConfiguration.g:11281:1: ( ( ruleStringReference ) ) + // InternalApplicationConfiguration.g:11282:2: ( ruleStringReference ) { - // InternalApplicationConfiguration.g:11945:2: ( ruleStringReference ) - // InternalApplicationConfiguration.g:11946:3: ruleStringReference + // InternalApplicationConfiguration.g:11282:2: ( ruleStringReference ) + // InternalApplicationConfiguration.g:11283:3: ruleStringReference { before(grammarAccess.getStringTypeScopeAccess().getTypeStringReferenceParserRuleCall_1_0()); pushFollow(FOLLOW_2); @@ -36273,24 +34286,24 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__StringTypeScope__SetsNewAssignment_2_0" - // InternalApplicationConfiguration.g:11955:1: rule__StringTypeScope__SetsNewAssignment_2_0 : ( ( '+=' ) ) ; + // InternalApplicationConfiguration.g:11292:1: rule__StringTypeScope__SetsNewAssignment_2_0 : ( ( '+=' ) ) ; public final void rule__StringTypeScope__SetsNewAssignment_2_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:11959:1: ( ( ( '+=' ) ) ) - // InternalApplicationConfiguration.g:11960:2: ( ( '+=' ) ) + // InternalApplicationConfiguration.g:11296:1: ( ( ( '+=' ) ) ) + // InternalApplicationConfiguration.g:11297:2: ( ( '+=' ) ) { - // InternalApplicationConfiguration.g:11960:2: ( ( '+=' ) ) - // InternalApplicationConfiguration.g:11961:3: ( '+=' ) + // InternalApplicationConfiguration.g:11297:2: ( ( '+=' ) ) + // InternalApplicationConfiguration.g:11298:3: ( '+=' ) { before(grammarAccess.getStringTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); - // InternalApplicationConfiguration.g:11962:3: ( '+=' ) - // InternalApplicationConfiguration.g:11963:4: '+=' + // InternalApplicationConfiguration.g:11299:3: ( '+=' ) + // InternalApplicationConfiguration.g:11300:4: '+=' { before(grammarAccess.getStringTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); - match(input,63,FOLLOW_2); + match(input,60,FOLLOW_2); after(grammarAccess.getStringTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); } @@ -36318,24 +34331,24 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__StringTypeScope__SetsSumAssignment_2_1" - // InternalApplicationConfiguration.g:11974:1: rule__StringTypeScope__SetsSumAssignment_2_1 : ( ( '=' ) ) ; + // InternalApplicationConfiguration.g:11311:1: rule__StringTypeScope__SetsSumAssignment_2_1 : ( ( '=' ) ) ; public final void rule__StringTypeScope__SetsSumAssignment_2_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:11978:1: ( ( ( '=' ) ) ) - // InternalApplicationConfiguration.g:11979:2: ( ( '=' ) ) + // InternalApplicationConfiguration.g:11315:1: ( ( ( '=' ) ) ) + // InternalApplicationConfiguration.g:11316:2: ( ( '=' ) ) { - // InternalApplicationConfiguration.g:11979:2: ( ( '=' ) ) - // InternalApplicationConfiguration.g:11980:3: ( '=' ) + // InternalApplicationConfiguration.g:11316:2: ( ( '=' ) ) + // InternalApplicationConfiguration.g:11317:3: ( '=' ) { before(grammarAccess.getStringTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); - // InternalApplicationConfiguration.g:11981:3: ( '=' ) - // InternalApplicationConfiguration.g:11982:4: '=' + // InternalApplicationConfiguration.g:11318:3: ( '=' ) + // InternalApplicationConfiguration.g:11319:4: '=' { before(grammarAccess.getStringTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); - match(input,30,FOLLOW_2); + match(input,29,FOLLOW_2); after(grammarAccess.getStringTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); } @@ -36363,17 +34376,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__StringTypeScope__NumberAssignment_3_0" - // InternalApplicationConfiguration.g:11993:1: rule__StringTypeScope__NumberAssignment_3_0 : ( ruleExactNumber ) ; + // InternalApplicationConfiguration.g:11330:1: rule__StringTypeScope__NumberAssignment_3_0 : ( ruleExactNumber ) ; public final void rule__StringTypeScope__NumberAssignment_3_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:11997:1: ( ( ruleExactNumber ) ) - // InternalApplicationConfiguration.g:11998:2: ( ruleExactNumber ) + // InternalApplicationConfiguration.g:11334:1: ( ( ruleExactNumber ) ) + // InternalApplicationConfiguration.g:11335:2: ( ruleExactNumber ) { - // InternalApplicationConfiguration.g:11998:2: ( ruleExactNumber ) - // InternalApplicationConfiguration.g:11999:3: ruleExactNumber + // InternalApplicationConfiguration.g:11335:2: ( ruleExactNumber ) + // InternalApplicationConfiguration.g:11336:3: ruleExactNumber { before(grammarAccess.getStringTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0()); pushFollow(FOLLOW_2); @@ -36404,17 +34417,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__StringTypeScope__NumberAssignment_3_1" - // InternalApplicationConfiguration.g:12008:1: rule__StringTypeScope__NumberAssignment_3_1 : ( ruleIntervallNumber ) ; + // InternalApplicationConfiguration.g:11345:1: rule__StringTypeScope__NumberAssignment_3_1 : ( ruleIntervallNumber ) ; public final void rule__StringTypeScope__NumberAssignment_3_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:12012:1: ( ( ruleIntervallNumber ) ) - // InternalApplicationConfiguration.g:12013:2: ( ruleIntervallNumber ) + // InternalApplicationConfiguration.g:11349:1: ( ( ruleIntervallNumber ) ) + // InternalApplicationConfiguration.g:11350:2: ( ruleIntervallNumber ) { - // InternalApplicationConfiguration.g:12013:2: ( ruleIntervallNumber ) - // InternalApplicationConfiguration.g:12014:3: ruleIntervallNumber + // InternalApplicationConfiguration.g:11350:2: ( ruleIntervallNumber ) + // InternalApplicationConfiguration.g:11351:3: ruleIntervallNumber { before(grammarAccess.getStringTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0()); pushFollow(FOLLOW_2); @@ -36445,17 +34458,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__StringTypeScope__NumberAssignment_3_2" - // InternalApplicationConfiguration.g:12023:1: rule__StringTypeScope__NumberAssignment_3_2 : ( ruleStringEnumeration ) ; + // InternalApplicationConfiguration.g:11360:1: rule__StringTypeScope__NumberAssignment_3_2 : ( ruleStringEnumeration ) ; public final void rule__StringTypeScope__NumberAssignment_3_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:12027:1: ( ( ruleStringEnumeration ) ) - // InternalApplicationConfiguration.g:12028:2: ( ruleStringEnumeration ) + // InternalApplicationConfiguration.g:11364:1: ( ( ruleStringEnumeration ) ) + // InternalApplicationConfiguration.g:11365:2: ( ruleStringEnumeration ) { - // InternalApplicationConfiguration.g:12028:2: ( ruleStringEnumeration ) - // InternalApplicationConfiguration.g:12029:3: ruleStringEnumeration + // InternalApplicationConfiguration.g:11365:2: ( ruleStringEnumeration ) + // InternalApplicationConfiguration.g:11366:3: ruleStringEnumeration { before(grammarAccess.getStringTypeScopeAccess().getNumberStringEnumerationParserRuleCall_3_2_0()); pushFollow(FOLLOW_2); @@ -36486,17 +34499,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ClassReference__ElementAssignment_1" - // InternalApplicationConfiguration.g:12038:1: rule__ClassReference__ElementAssignment_1 : ( ruleMetamodelElement ) ; + // InternalApplicationConfiguration.g:11375:1: rule__ClassReference__ElementAssignment_1 : ( ruleMetamodelElement ) ; public final void rule__ClassReference__ElementAssignment_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:12042:1: ( ( ruleMetamodelElement ) ) - // InternalApplicationConfiguration.g:12043:2: ( ruleMetamodelElement ) + // InternalApplicationConfiguration.g:11379:1: ( ( ruleMetamodelElement ) ) + // InternalApplicationConfiguration.g:11380:2: ( ruleMetamodelElement ) { - // InternalApplicationConfiguration.g:12043:2: ( ruleMetamodelElement ) - // InternalApplicationConfiguration.g:12044:3: ruleMetamodelElement + // InternalApplicationConfiguration.g:11380:2: ( ruleMetamodelElement ) + // InternalApplicationConfiguration.g:11381:3: ruleMetamodelElement { before(grammarAccess.getClassReferenceAccess().getElementMetamodelElementParserRuleCall_1_0()); pushFollow(FOLLOW_2); @@ -36527,17 +34540,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ExactNumber__ExactNumberAssignment_0" - // InternalApplicationConfiguration.g:12053:1: rule__ExactNumber__ExactNumberAssignment_0 : ( RULE_INT ) ; + // InternalApplicationConfiguration.g:11390:1: rule__ExactNumber__ExactNumberAssignment_0 : ( RULE_INT ) ; public final void rule__ExactNumber__ExactNumberAssignment_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:12057:1: ( ( RULE_INT ) ) - // InternalApplicationConfiguration.g:12058:2: ( RULE_INT ) + // InternalApplicationConfiguration.g:11394:1: ( ( RULE_INT ) ) + // InternalApplicationConfiguration.g:11395:2: ( RULE_INT ) { - // InternalApplicationConfiguration.g:12058:2: ( RULE_INT ) - // InternalApplicationConfiguration.g:12059:3: RULE_INT + // InternalApplicationConfiguration.g:11395:2: ( RULE_INT ) + // InternalApplicationConfiguration.g:11396:3: RULE_INT { before(grammarAccess.getExactNumberAccess().getExactNumberINTTerminalRuleCall_0_0()); match(input,RULE_INT,FOLLOW_2); @@ -36564,24 +34577,24 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ExactNumber__ExactUnlimitedAssignment_1" - // InternalApplicationConfiguration.g:12068:1: rule__ExactNumber__ExactUnlimitedAssignment_1 : ( ( '*' ) ) ; + // InternalApplicationConfiguration.g:11405:1: rule__ExactNumber__ExactUnlimitedAssignment_1 : ( ( '*' ) ) ; public final void rule__ExactNumber__ExactUnlimitedAssignment_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:12072:1: ( ( ( '*' ) ) ) - // InternalApplicationConfiguration.g:12073:2: ( ( '*' ) ) + // InternalApplicationConfiguration.g:11409:1: ( ( ( '*' ) ) ) + // InternalApplicationConfiguration.g:11410:2: ( ( '*' ) ) { - // InternalApplicationConfiguration.g:12073:2: ( ( '*' ) ) - // InternalApplicationConfiguration.g:12074:3: ( '*' ) + // InternalApplicationConfiguration.g:11410:2: ( ( '*' ) ) + // InternalApplicationConfiguration.g:11411:3: ( '*' ) { before(grammarAccess.getExactNumberAccess().getExactUnlimitedAsteriskKeyword_1_0()); - // InternalApplicationConfiguration.g:12075:3: ( '*' ) - // InternalApplicationConfiguration.g:12076:4: '*' + // InternalApplicationConfiguration.g:11412:3: ( '*' ) + // InternalApplicationConfiguration.g:11413:4: '*' { before(grammarAccess.getExactNumberAccess().getExactUnlimitedAsteriskKeyword_1_0()); - match(input,64,FOLLOW_2); + match(input,61,FOLLOW_2); after(grammarAccess.getExactNumberAccess().getExactUnlimitedAsteriskKeyword_1_0()); } @@ -36609,17 +34622,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__IntervallNumber__MinAssignment_0" - // InternalApplicationConfiguration.g:12087:1: rule__IntervallNumber__MinAssignment_0 : ( RULE_INT ) ; + // InternalApplicationConfiguration.g:11424:1: rule__IntervallNumber__MinAssignment_0 : ( RULE_INT ) ; public final void rule__IntervallNumber__MinAssignment_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:12091:1: ( ( RULE_INT ) ) - // InternalApplicationConfiguration.g:12092:2: ( RULE_INT ) + // InternalApplicationConfiguration.g:11428:1: ( ( RULE_INT ) ) + // InternalApplicationConfiguration.g:11429:2: ( RULE_INT ) { - // InternalApplicationConfiguration.g:12092:2: ( RULE_INT ) - // InternalApplicationConfiguration.g:12093:3: RULE_INT + // InternalApplicationConfiguration.g:11429:2: ( RULE_INT ) + // InternalApplicationConfiguration.g:11430:3: RULE_INT { before(grammarAccess.getIntervallNumberAccess().getMinINTTerminalRuleCall_0_0()); match(input,RULE_INT,FOLLOW_2); @@ -36646,17 +34659,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__IntervallNumber__MaxNumberAssignment_2_0" - // InternalApplicationConfiguration.g:12102:1: rule__IntervallNumber__MaxNumberAssignment_2_0 : ( RULE_INT ) ; + // InternalApplicationConfiguration.g:11439:1: rule__IntervallNumber__MaxNumberAssignment_2_0 : ( RULE_INT ) ; public final void rule__IntervallNumber__MaxNumberAssignment_2_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:12106:1: ( ( RULE_INT ) ) - // InternalApplicationConfiguration.g:12107:2: ( RULE_INT ) + // InternalApplicationConfiguration.g:11443:1: ( ( RULE_INT ) ) + // InternalApplicationConfiguration.g:11444:2: ( RULE_INT ) { - // InternalApplicationConfiguration.g:12107:2: ( RULE_INT ) - // InternalApplicationConfiguration.g:12108:3: RULE_INT + // InternalApplicationConfiguration.g:11444:2: ( RULE_INT ) + // InternalApplicationConfiguration.g:11445:3: RULE_INT { before(grammarAccess.getIntervallNumberAccess().getMaxNumberINTTerminalRuleCall_2_0_0()); match(input,RULE_INT,FOLLOW_2); @@ -36683,24 +34696,24 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__IntervallNumber__MaxUnlimitedAssignment_2_1" - // InternalApplicationConfiguration.g:12117:1: rule__IntervallNumber__MaxUnlimitedAssignment_2_1 : ( ( '*' ) ) ; + // InternalApplicationConfiguration.g:11454:1: rule__IntervallNumber__MaxUnlimitedAssignment_2_1 : ( ( '*' ) ) ; public final void rule__IntervallNumber__MaxUnlimitedAssignment_2_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:12121:1: ( ( ( '*' ) ) ) - // InternalApplicationConfiguration.g:12122:2: ( ( '*' ) ) + // InternalApplicationConfiguration.g:11458:1: ( ( ( '*' ) ) ) + // InternalApplicationConfiguration.g:11459:2: ( ( '*' ) ) { - // InternalApplicationConfiguration.g:12122:2: ( ( '*' ) ) - // InternalApplicationConfiguration.g:12123:3: ( '*' ) + // InternalApplicationConfiguration.g:11459:2: ( ( '*' ) ) + // InternalApplicationConfiguration.g:11460:3: ( '*' ) { before(grammarAccess.getIntervallNumberAccess().getMaxUnlimitedAsteriskKeyword_2_1_0()); - // InternalApplicationConfiguration.g:12124:3: ( '*' ) - // InternalApplicationConfiguration.g:12125:4: '*' + // InternalApplicationConfiguration.g:11461:3: ( '*' ) + // InternalApplicationConfiguration.g:11462:4: '*' { before(grammarAccess.getIntervallNumberAccess().getMaxUnlimitedAsteriskKeyword_2_1_0()); - match(input,64,FOLLOW_2); + match(input,61,FOLLOW_2); after(grammarAccess.getIntervallNumberAccess().getMaxUnlimitedAsteriskKeyword_2_1_0()); } @@ -36728,17 +34741,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__IntEnumberation__EntryAssignment_2_0" - // InternalApplicationConfiguration.g:12136:1: rule__IntEnumberation__EntryAssignment_2_0 : ( ruleINTLiteral ) ; + // InternalApplicationConfiguration.g:11473:1: rule__IntEnumberation__EntryAssignment_2_0 : ( ruleINTLiteral ) ; public final void rule__IntEnumberation__EntryAssignment_2_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:12140:1: ( ( ruleINTLiteral ) ) - // InternalApplicationConfiguration.g:12141:2: ( ruleINTLiteral ) + // InternalApplicationConfiguration.g:11477:1: ( ( ruleINTLiteral ) ) + // InternalApplicationConfiguration.g:11478:2: ( ruleINTLiteral ) { - // InternalApplicationConfiguration.g:12141:2: ( ruleINTLiteral ) - // InternalApplicationConfiguration.g:12142:3: ruleINTLiteral + // InternalApplicationConfiguration.g:11478:2: ( ruleINTLiteral ) + // InternalApplicationConfiguration.g:11479:3: ruleINTLiteral { before(grammarAccess.getIntEnumberationAccess().getEntryINTLiteralParserRuleCall_2_0_0()); pushFollow(FOLLOW_2); @@ -36769,17 +34782,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__IntEnumberation__EntryAssignment_2_1_1" - // InternalApplicationConfiguration.g:12151:1: rule__IntEnumberation__EntryAssignment_2_1_1 : ( ruleINTLiteral ) ; + // InternalApplicationConfiguration.g:11488:1: rule__IntEnumberation__EntryAssignment_2_1_1 : ( ruleINTLiteral ) ; public final void rule__IntEnumberation__EntryAssignment_2_1_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:12155:1: ( ( ruleINTLiteral ) ) - // InternalApplicationConfiguration.g:12156:2: ( ruleINTLiteral ) + // InternalApplicationConfiguration.g:11492:1: ( ( ruleINTLiteral ) ) + // InternalApplicationConfiguration.g:11493:2: ( ruleINTLiteral ) { - // InternalApplicationConfiguration.g:12156:2: ( ruleINTLiteral ) - // InternalApplicationConfiguration.g:12157:3: ruleINTLiteral + // InternalApplicationConfiguration.g:11493:2: ( ruleINTLiteral ) + // InternalApplicationConfiguration.g:11494:3: ruleINTLiteral { before(grammarAccess.getIntEnumberationAccess().getEntryINTLiteralParserRuleCall_2_1_1_0()); pushFollow(FOLLOW_2); @@ -36810,17 +34823,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__RealEnumeration__EntryAssignment_2_0" - // InternalApplicationConfiguration.g:12166:1: rule__RealEnumeration__EntryAssignment_2_0 : ( ruleREALLiteral ) ; + // InternalApplicationConfiguration.g:11503:1: rule__RealEnumeration__EntryAssignment_2_0 : ( ruleREALLiteral ) ; public final void rule__RealEnumeration__EntryAssignment_2_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:12170:1: ( ( ruleREALLiteral ) ) - // InternalApplicationConfiguration.g:12171:2: ( ruleREALLiteral ) + // InternalApplicationConfiguration.g:11507:1: ( ( ruleREALLiteral ) ) + // InternalApplicationConfiguration.g:11508:2: ( ruleREALLiteral ) { - // InternalApplicationConfiguration.g:12171:2: ( ruleREALLiteral ) - // InternalApplicationConfiguration.g:12172:3: ruleREALLiteral + // InternalApplicationConfiguration.g:11508:2: ( ruleREALLiteral ) + // InternalApplicationConfiguration.g:11509:3: ruleREALLiteral { before(grammarAccess.getRealEnumerationAccess().getEntryREALLiteralParserRuleCall_2_0_0()); pushFollow(FOLLOW_2); @@ -36851,17 +34864,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__RealEnumeration__EntryAssignment_2_1_1" - // InternalApplicationConfiguration.g:12181:1: rule__RealEnumeration__EntryAssignment_2_1_1 : ( ruleREALLiteral ) ; + // InternalApplicationConfiguration.g:11518:1: rule__RealEnumeration__EntryAssignment_2_1_1 : ( ruleREALLiteral ) ; public final void rule__RealEnumeration__EntryAssignment_2_1_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:12185:1: ( ( ruleREALLiteral ) ) - // InternalApplicationConfiguration.g:12186:2: ( ruleREALLiteral ) + // InternalApplicationConfiguration.g:11522:1: ( ( ruleREALLiteral ) ) + // InternalApplicationConfiguration.g:11523:2: ( ruleREALLiteral ) { - // InternalApplicationConfiguration.g:12186:2: ( ruleREALLiteral ) - // InternalApplicationConfiguration.g:12187:3: ruleREALLiteral + // InternalApplicationConfiguration.g:11523:2: ( ruleREALLiteral ) + // InternalApplicationConfiguration.g:11524:3: ruleREALLiteral { before(grammarAccess.getRealEnumerationAccess().getEntryREALLiteralParserRuleCall_2_1_1_0()); pushFollow(FOLLOW_2); @@ -36892,17 +34905,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__StringEnumeration__EntryAssignment_2_0" - // InternalApplicationConfiguration.g:12196:1: rule__StringEnumeration__EntryAssignment_2_0 : ( RULE_STRING ) ; + // InternalApplicationConfiguration.g:11533:1: rule__StringEnumeration__EntryAssignment_2_0 : ( RULE_STRING ) ; public final void rule__StringEnumeration__EntryAssignment_2_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:12200:1: ( ( RULE_STRING ) ) - // InternalApplicationConfiguration.g:12201:2: ( RULE_STRING ) + // InternalApplicationConfiguration.g:11537:1: ( ( RULE_STRING ) ) + // InternalApplicationConfiguration.g:11538:2: ( RULE_STRING ) { - // InternalApplicationConfiguration.g:12201:2: ( RULE_STRING ) - // InternalApplicationConfiguration.g:12202:3: RULE_STRING + // InternalApplicationConfiguration.g:11538:2: ( RULE_STRING ) + // InternalApplicationConfiguration.g:11539:3: RULE_STRING { before(grammarAccess.getStringEnumerationAccess().getEntrySTRINGTerminalRuleCall_2_0_0()); match(input,RULE_STRING,FOLLOW_2); @@ -36929,17 +34942,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__StringEnumeration__EntryAssignment_2_1_1" - // InternalApplicationConfiguration.g:12211:1: rule__StringEnumeration__EntryAssignment_2_1_1 : ( RULE_STRING ) ; + // InternalApplicationConfiguration.g:11548:1: rule__StringEnumeration__EntryAssignment_2_1_1 : ( RULE_STRING ) ; public final void rule__StringEnumeration__EntryAssignment_2_1_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:12215:1: ( ( RULE_STRING ) ) - // InternalApplicationConfiguration.g:12216:2: ( RULE_STRING ) + // InternalApplicationConfiguration.g:11552:1: ( ( RULE_STRING ) ) + // InternalApplicationConfiguration.g:11553:2: ( RULE_STRING ) { - // InternalApplicationConfiguration.g:12216:2: ( RULE_STRING ) - // InternalApplicationConfiguration.g:12217:3: RULE_STRING + // InternalApplicationConfiguration.g:11553:2: ( RULE_STRING ) + // InternalApplicationConfiguration.g:11554:3: RULE_STRING { before(grammarAccess.getStringEnumerationAccess().getEntrySTRINGTerminalRuleCall_2_1_1_0()); match(input,RULE_STRING,FOLLOW_2); @@ -36966,17 +34979,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ScopeDeclaration__NameAssignment_1" - // InternalApplicationConfiguration.g:12226:1: rule__ScopeDeclaration__NameAssignment_1 : ( RULE_ID ) ; + // InternalApplicationConfiguration.g:11563:1: rule__ScopeDeclaration__NameAssignment_1 : ( RULE_ID ) ; public final void rule__ScopeDeclaration__NameAssignment_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:12230:1: ( ( RULE_ID ) ) - // InternalApplicationConfiguration.g:12231:2: ( RULE_ID ) + // InternalApplicationConfiguration.g:11567:1: ( ( RULE_ID ) ) + // InternalApplicationConfiguration.g:11568:2: ( RULE_ID ) { - // InternalApplicationConfiguration.g:12231:2: ( RULE_ID ) - // InternalApplicationConfiguration.g:12232:3: RULE_ID + // InternalApplicationConfiguration.g:11568:2: ( RULE_ID ) + // InternalApplicationConfiguration.g:11569:3: RULE_ID { before(grammarAccess.getScopeDeclarationAccess().getNameIDTerminalRuleCall_1_0()); match(input,RULE_ID,FOLLOW_2); @@ -37003,17 +35016,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ScopeDeclaration__SpecificationAssignment_2" - // InternalApplicationConfiguration.g:12241:1: rule__ScopeDeclaration__SpecificationAssignment_2 : ( ruleScopeSpecification ) ; + // InternalApplicationConfiguration.g:11578:1: rule__ScopeDeclaration__SpecificationAssignment_2 : ( ruleScopeSpecification ) ; public final void rule__ScopeDeclaration__SpecificationAssignment_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:12245:1: ( ( ruleScopeSpecification ) ) - // InternalApplicationConfiguration.g:12246:2: ( ruleScopeSpecification ) + // InternalApplicationConfiguration.g:11582:1: ( ( ruleScopeSpecification ) ) + // InternalApplicationConfiguration.g:11583:2: ( ruleScopeSpecification ) { - // InternalApplicationConfiguration.g:12246:2: ( ruleScopeSpecification ) - // InternalApplicationConfiguration.g:12247:3: ruleScopeSpecification + // InternalApplicationConfiguration.g:11583:2: ( ruleScopeSpecification ) + // InternalApplicationConfiguration.g:11584:3: ruleScopeSpecification { before(grammarAccess.getScopeDeclarationAccess().getSpecificationScopeSpecificationParserRuleCall_2_0()); pushFollow(FOLLOW_2); @@ -37044,21 +35057,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__ScopeReference__ReferredAssignment" - // InternalApplicationConfiguration.g:12256:1: rule__ScopeReference__ReferredAssignment : ( ( RULE_ID ) ) ; + // InternalApplicationConfiguration.g:11593:1: rule__ScopeReference__ReferredAssignment : ( ( RULE_ID ) ) ; public final void rule__ScopeReference__ReferredAssignment() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:12260:1: ( ( ( RULE_ID ) ) ) - // InternalApplicationConfiguration.g:12261:2: ( ( RULE_ID ) ) + // InternalApplicationConfiguration.g:11597:1: ( ( ( RULE_ID ) ) ) + // InternalApplicationConfiguration.g:11598:2: ( ( RULE_ID ) ) { - // InternalApplicationConfiguration.g:12261:2: ( ( RULE_ID ) ) - // InternalApplicationConfiguration.g:12262:3: ( RULE_ID ) + // InternalApplicationConfiguration.g:11598:2: ( ( RULE_ID ) ) + // InternalApplicationConfiguration.g:11599:3: ( RULE_ID ) { before(grammarAccess.getScopeReferenceAccess().getReferredScopeDeclarationCrossReference_0()); - // InternalApplicationConfiguration.g:12263:3: ( RULE_ID ) - // InternalApplicationConfiguration.g:12264:4: RULE_ID + // InternalApplicationConfiguration.g:11600:3: ( RULE_ID ) + // InternalApplicationConfiguration.g:11601:4: RULE_ID { before(grammarAccess.getScopeReferenceAccess().getReferredScopeDeclarationIDTerminalRuleCall_0_1()); match(input,RULE_ID,FOLLOW_2); @@ -37089,17 +35102,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__MetamodelAssignment_3_0_2" - // InternalApplicationConfiguration.g:12275:1: rule__GenerationTask__MetamodelAssignment_3_0_2 : ( ruleMetamodel ) ; + // InternalApplicationConfiguration.g:11612:1: rule__GenerationTask__MetamodelAssignment_3_0_2 : ( ruleMetamodel ) ; public final void rule__GenerationTask__MetamodelAssignment_3_0_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:12279:1: ( ( ruleMetamodel ) ) - // InternalApplicationConfiguration.g:12280:2: ( ruleMetamodel ) + // InternalApplicationConfiguration.g:11616:1: ( ( ruleMetamodel ) ) + // InternalApplicationConfiguration.g:11617:2: ( ruleMetamodel ) { - // InternalApplicationConfiguration.g:12280:2: ( ruleMetamodel ) - // InternalApplicationConfiguration.g:12281:3: ruleMetamodel + // InternalApplicationConfiguration.g:11617:2: ( ruleMetamodel ) + // InternalApplicationConfiguration.g:11618:3: ruleMetamodel { before(grammarAccess.getGenerationTaskAccess().getMetamodelMetamodelParserRuleCall_3_0_2_0()); pushFollow(FOLLOW_2); @@ -37130,17 +35143,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__PartialModelAssignment_3_1_2" - // InternalApplicationConfiguration.g:12290:1: rule__GenerationTask__PartialModelAssignment_3_1_2 : ( rulePartialModel ) ; + // InternalApplicationConfiguration.g:11627:1: rule__GenerationTask__PartialModelAssignment_3_1_2 : ( rulePartialModel ) ; public final void rule__GenerationTask__PartialModelAssignment_3_1_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:12294:1: ( ( rulePartialModel ) ) - // InternalApplicationConfiguration.g:12295:2: ( rulePartialModel ) + // InternalApplicationConfiguration.g:11631:1: ( ( rulePartialModel ) ) + // InternalApplicationConfiguration.g:11632:2: ( rulePartialModel ) { - // InternalApplicationConfiguration.g:12295:2: ( rulePartialModel ) - // InternalApplicationConfiguration.g:12296:3: rulePartialModel + // InternalApplicationConfiguration.g:11632:2: ( rulePartialModel ) + // InternalApplicationConfiguration.g:11633:3: rulePartialModel { before(grammarAccess.getGenerationTaskAccess().getPartialModelPartialModelParserRuleCall_3_1_2_0()); pushFollow(FOLLOW_2); @@ -37171,17 +35184,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__PatternsAssignment_3_2_2" - // InternalApplicationConfiguration.g:12305:1: rule__GenerationTask__PatternsAssignment_3_2_2 : ( ruleGraphPattern ) ; + // InternalApplicationConfiguration.g:11642:1: rule__GenerationTask__PatternsAssignment_3_2_2 : ( ruleGraphPattern ) ; public final void rule__GenerationTask__PatternsAssignment_3_2_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:12309:1: ( ( ruleGraphPattern ) ) - // InternalApplicationConfiguration.g:12310:2: ( ruleGraphPattern ) + // InternalApplicationConfiguration.g:11646:1: ( ( ruleGraphPattern ) ) + // InternalApplicationConfiguration.g:11647:2: ( ruleGraphPattern ) { - // InternalApplicationConfiguration.g:12310:2: ( ruleGraphPattern ) - // InternalApplicationConfiguration.g:12311:3: ruleGraphPattern + // InternalApplicationConfiguration.g:11647:2: ( ruleGraphPattern ) + // InternalApplicationConfiguration.g:11648:3: ruleGraphPattern { before(grammarAccess.getGenerationTaskAccess().getPatternsGraphPatternParserRuleCall_3_2_2_0()); pushFollow(FOLLOW_2); @@ -37212,17 +35225,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__ObjectivesAssignment_3_3_2" - // InternalApplicationConfiguration.g:12320:1: rule__GenerationTask__ObjectivesAssignment_3_3_2 : ( ruleObjective ) ; + // InternalApplicationConfiguration.g:11657:1: rule__GenerationTask__ObjectivesAssignment_3_3_2 : ( ruleObjective ) ; public final void rule__GenerationTask__ObjectivesAssignment_3_3_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:12324:1: ( ( ruleObjective ) ) - // InternalApplicationConfiguration.g:12325:2: ( ruleObjective ) + // InternalApplicationConfiguration.g:11661:1: ( ( ruleObjective ) ) + // InternalApplicationConfiguration.g:11662:2: ( ruleObjective ) { - // InternalApplicationConfiguration.g:12325:2: ( ruleObjective ) - // InternalApplicationConfiguration.g:12326:3: ruleObjective + // InternalApplicationConfiguration.g:11662:2: ( ruleObjective ) + // InternalApplicationConfiguration.g:11663:3: ruleObjective { before(grammarAccess.getGenerationTaskAccess().getObjectivesObjectiveParserRuleCall_3_3_2_0()); pushFollow(FOLLOW_2); @@ -37253,17 +35266,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__ScopeAssignment_3_4_2" - // InternalApplicationConfiguration.g:12335:1: rule__GenerationTask__ScopeAssignment_3_4_2 : ( ruleScope ) ; + // InternalApplicationConfiguration.g:11672:1: rule__GenerationTask__ScopeAssignment_3_4_2 : ( ruleScope ) ; public final void rule__GenerationTask__ScopeAssignment_3_4_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:12339:1: ( ( ruleScope ) ) - // InternalApplicationConfiguration.g:12340:2: ( ruleScope ) + // InternalApplicationConfiguration.g:11676:1: ( ( ruleScope ) ) + // InternalApplicationConfiguration.g:11677:2: ( ruleScope ) { - // InternalApplicationConfiguration.g:12340:2: ( ruleScope ) - // InternalApplicationConfiguration.g:12341:3: ruleScope + // InternalApplicationConfiguration.g:11677:2: ( ruleScope ) + // InternalApplicationConfiguration.g:11678:3: ruleScope { before(grammarAccess.getGenerationTaskAccess().getScopeScopeParserRuleCall_3_4_2_0()); pushFollow(FOLLOW_2); @@ -37294,24 +35307,24 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__NumberSpecifiedAssignment_3_5_0" - // InternalApplicationConfiguration.g:12350:1: rule__GenerationTask__NumberSpecifiedAssignment_3_5_0 : ( ( 'number' ) ) ; + // InternalApplicationConfiguration.g:11687:1: rule__GenerationTask__NumberSpecifiedAssignment_3_5_0 : ( ( 'number' ) ) ; public final void rule__GenerationTask__NumberSpecifiedAssignment_3_5_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:12354:1: ( ( ( 'number' ) ) ) - // InternalApplicationConfiguration.g:12355:2: ( ( 'number' ) ) + // InternalApplicationConfiguration.g:11691:1: ( ( ( 'number' ) ) ) + // InternalApplicationConfiguration.g:11692:2: ( ( 'number' ) ) { - // InternalApplicationConfiguration.g:12355:2: ( ( 'number' ) ) - // InternalApplicationConfiguration.g:12356:3: ( 'number' ) + // InternalApplicationConfiguration.g:11692:2: ( ( 'number' ) ) + // InternalApplicationConfiguration.g:11693:3: ( 'number' ) { before(grammarAccess.getGenerationTaskAccess().getNumberSpecifiedNumberKeyword_3_5_0_0()); - // InternalApplicationConfiguration.g:12357:3: ( 'number' ) - // InternalApplicationConfiguration.g:12358:4: 'number' + // InternalApplicationConfiguration.g:11694:3: ( 'number' ) + // InternalApplicationConfiguration.g:11695:4: 'number' { before(grammarAccess.getGenerationTaskAccess().getNumberSpecifiedNumberKeyword_3_5_0_0()); - match(input,65,FOLLOW_2); + match(input,62,FOLLOW_2); after(grammarAccess.getGenerationTaskAccess().getNumberSpecifiedNumberKeyword_3_5_0_0()); } @@ -37339,17 +35352,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__NumberAssignment_3_5_2" - // InternalApplicationConfiguration.g:12369:1: rule__GenerationTask__NumberAssignment_3_5_2 : ( RULE_INT ) ; + // InternalApplicationConfiguration.g:11706:1: rule__GenerationTask__NumberAssignment_3_5_2 : ( RULE_INT ) ; public final void rule__GenerationTask__NumberAssignment_3_5_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:12373:1: ( ( RULE_INT ) ) - // InternalApplicationConfiguration.g:12374:2: ( RULE_INT ) + // InternalApplicationConfiguration.g:11710:1: ( ( RULE_INT ) ) + // InternalApplicationConfiguration.g:11711:2: ( RULE_INT ) { - // InternalApplicationConfiguration.g:12374:2: ( RULE_INT ) - // InternalApplicationConfiguration.g:12375:3: RULE_INT + // InternalApplicationConfiguration.g:11711:2: ( RULE_INT ) + // InternalApplicationConfiguration.g:11712:3: RULE_INT { before(grammarAccess.getGenerationTaskAccess().getNumberINTTerminalRuleCall_3_5_2_0()); match(input,RULE_INT,FOLLOW_2); @@ -37376,24 +35389,24 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__RunSpecifiedAssignment_3_6_0" - // InternalApplicationConfiguration.g:12384:1: rule__GenerationTask__RunSpecifiedAssignment_3_6_0 : ( ( 'runs' ) ) ; + // InternalApplicationConfiguration.g:11721:1: rule__GenerationTask__RunSpecifiedAssignment_3_6_0 : ( ( 'runs' ) ) ; public final void rule__GenerationTask__RunSpecifiedAssignment_3_6_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:12388:1: ( ( ( 'runs' ) ) ) - // InternalApplicationConfiguration.g:12389:2: ( ( 'runs' ) ) + // InternalApplicationConfiguration.g:11725:1: ( ( ( 'runs' ) ) ) + // InternalApplicationConfiguration.g:11726:2: ( ( 'runs' ) ) { - // InternalApplicationConfiguration.g:12389:2: ( ( 'runs' ) ) - // InternalApplicationConfiguration.g:12390:3: ( 'runs' ) + // InternalApplicationConfiguration.g:11726:2: ( ( 'runs' ) ) + // InternalApplicationConfiguration.g:11727:3: ( 'runs' ) { before(grammarAccess.getGenerationTaskAccess().getRunSpecifiedRunsKeyword_3_6_0_0()); - // InternalApplicationConfiguration.g:12391:3: ( 'runs' ) - // InternalApplicationConfiguration.g:12392:4: 'runs' + // InternalApplicationConfiguration.g:11728:3: ( 'runs' ) + // InternalApplicationConfiguration.g:11729:4: 'runs' { before(grammarAccess.getGenerationTaskAccess().getRunSpecifiedRunsKeyword_3_6_0_0()); - match(input,66,FOLLOW_2); + match(input,63,FOLLOW_2); after(grammarAccess.getGenerationTaskAccess().getRunSpecifiedRunsKeyword_3_6_0_0()); } @@ -37421,17 +35434,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__RunsAssignment_3_6_2" - // InternalApplicationConfiguration.g:12403:1: rule__GenerationTask__RunsAssignment_3_6_2 : ( RULE_INT ) ; + // InternalApplicationConfiguration.g:11740:1: rule__GenerationTask__RunsAssignment_3_6_2 : ( RULE_INT ) ; public final void rule__GenerationTask__RunsAssignment_3_6_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:12407:1: ( ( RULE_INT ) ) - // InternalApplicationConfiguration.g:12408:2: ( RULE_INT ) + // InternalApplicationConfiguration.g:11744:1: ( ( RULE_INT ) ) + // InternalApplicationConfiguration.g:11745:2: ( RULE_INT ) { - // InternalApplicationConfiguration.g:12408:2: ( RULE_INT ) - // InternalApplicationConfiguration.g:12409:3: RULE_INT + // InternalApplicationConfiguration.g:11745:2: ( RULE_INT ) + // InternalApplicationConfiguration.g:11746:3: RULE_INT { before(grammarAccess.getGenerationTaskAccess().getRunsINTTerminalRuleCall_3_6_2_0()); match(input,RULE_INT,FOLLOW_2); @@ -37458,17 +35471,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__SolverAssignment_3_7_2" - // InternalApplicationConfiguration.g:12418:1: rule__GenerationTask__SolverAssignment_3_7_2 : ( ruleSolver ) ; + // InternalApplicationConfiguration.g:11755:1: rule__GenerationTask__SolverAssignment_3_7_2 : ( ruleSolver ) ; public final void rule__GenerationTask__SolverAssignment_3_7_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:12422:1: ( ( ruleSolver ) ) - // InternalApplicationConfiguration.g:12423:2: ( ruleSolver ) + // InternalApplicationConfiguration.g:11759:1: ( ( ruleSolver ) ) + // InternalApplicationConfiguration.g:11760:2: ( ruleSolver ) { - // InternalApplicationConfiguration.g:12423:2: ( ruleSolver ) - // InternalApplicationConfiguration.g:12424:3: ruleSolver + // InternalApplicationConfiguration.g:11760:2: ( ruleSolver ) + // InternalApplicationConfiguration.g:11761:3: ruleSolver { before(grammarAccess.getGenerationTaskAccess().getSolverSolverEnumRuleCall_3_7_2_0()); pushFollow(FOLLOW_2); @@ -37499,17 +35512,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__ConfigAssignment_3_8_2" - // InternalApplicationConfiguration.g:12433:1: rule__GenerationTask__ConfigAssignment_3_8_2 : ( ruleConfig ) ; + // InternalApplicationConfiguration.g:11770:1: rule__GenerationTask__ConfigAssignment_3_8_2 : ( ruleConfig ) ; public final void rule__GenerationTask__ConfigAssignment_3_8_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:12437:1: ( ( ruleConfig ) ) - // InternalApplicationConfiguration.g:12438:2: ( ruleConfig ) + // InternalApplicationConfiguration.g:11774:1: ( ( ruleConfig ) ) + // InternalApplicationConfiguration.g:11775:2: ( ruleConfig ) { - // InternalApplicationConfiguration.g:12438:2: ( ruleConfig ) - // InternalApplicationConfiguration.g:12439:3: ruleConfig + // InternalApplicationConfiguration.g:11775:2: ( ruleConfig ) + // InternalApplicationConfiguration.g:11776:3: ruleConfig { before(grammarAccess.getGenerationTaskAccess().getConfigConfigParserRuleCall_3_8_2_0()); pushFollow(FOLLOW_2); @@ -37540,17 +35553,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__DebugFolderAssignment_3_9_2" - // InternalApplicationConfiguration.g:12448:1: rule__GenerationTask__DebugFolderAssignment_3_9_2 : ( ruleFile ) ; + // InternalApplicationConfiguration.g:11785:1: rule__GenerationTask__DebugFolderAssignment_3_9_2 : ( ruleFile ) ; public final void rule__GenerationTask__DebugFolderAssignment_3_9_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:12452:1: ( ( ruleFile ) ) - // InternalApplicationConfiguration.g:12453:2: ( ruleFile ) + // InternalApplicationConfiguration.g:11789:1: ( ( ruleFile ) ) + // InternalApplicationConfiguration.g:11790:2: ( ruleFile ) { - // InternalApplicationConfiguration.g:12453:2: ( ruleFile ) - // InternalApplicationConfiguration.g:12454:3: ruleFile + // InternalApplicationConfiguration.g:11790:2: ( ruleFile ) + // InternalApplicationConfiguration.g:11791:3: ruleFile { before(grammarAccess.getGenerationTaskAccess().getDebugFolderFileParserRuleCall_3_9_2_0()); pushFollow(FOLLOW_2); @@ -37581,17 +35594,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__TargetLogFileAssignment_3_10_2" - // InternalApplicationConfiguration.g:12463:1: rule__GenerationTask__TargetLogFileAssignment_3_10_2 : ( ruleFile ) ; + // InternalApplicationConfiguration.g:11800:1: rule__GenerationTask__TargetLogFileAssignment_3_10_2 : ( ruleFile ) ; public final void rule__GenerationTask__TargetLogFileAssignment_3_10_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:12467:1: ( ( ruleFile ) ) - // InternalApplicationConfiguration.g:12468:2: ( ruleFile ) + // InternalApplicationConfiguration.g:11804:1: ( ( ruleFile ) ) + // InternalApplicationConfiguration.g:11805:2: ( ruleFile ) { - // InternalApplicationConfiguration.g:12468:2: ( ruleFile ) - // InternalApplicationConfiguration.g:12469:3: ruleFile + // InternalApplicationConfiguration.g:11805:2: ( ruleFile ) + // InternalApplicationConfiguration.g:11806:3: ruleFile { before(grammarAccess.getGenerationTaskAccess().getTargetLogFileFileParserRuleCall_3_10_2_0()); pushFollow(FOLLOW_2); @@ -37622,17 +35635,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__TargetStatisticsFileAssignment_3_11_2" - // InternalApplicationConfiguration.g:12478:1: rule__GenerationTask__TargetStatisticsFileAssignment_3_11_2 : ( ruleFile ) ; + // InternalApplicationConfiguration.g:11815:1: rule__GenerationTask__TargetStatisticsFileAssignment_3_11_2 : ( ruleFile ) ; public final void rule__GenerationTask__TargetStatisticsFileAssignment_3_11_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:12482:1: ( ( ruleFile ) ) - // InternalApplicationConfiguration.g:12483:2: ( ruleFile ) + // InternalApplicationConfiguration.g:11819:1: ( ( ruleFile ) ) + // InternalApplicationConfiguration.g:11820:2: ( ruleFile ) { - // InternalApplicationConfiguration.g:12483:2: ( ruleFile ) - // InternalApplicationConfiguration.g:12484:3: ruleFile + // InternalApplicationConfiguration.g:11820:2: ( ruleFile ) + // InternalApplicationConfiguration.g:11821:3: ruleFile { before(grammarAccess.getGenerationTaskAccess().getTargetStatisticsFileFileParserRuleCall_3_11_2_0()); pushFollow(FOLLOW_2); @@ -37663,17 +35676,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // $ANTLR start "rule__GenerationTask__TagetFolderAssignment_3_12_2" - // InternalApplicationConfiguration.g:12493:1: rule__GenerationTask__TagetFolderAssignment_3_12_2 : ( ruleFile ) ; + // InternalApplicationConfiguration.g:11830:1: rule__GenerationTask__TagetFolderAssignment_3_12_2 : ( ruleFile ) ; public final void rule__GenerationTask__TagetFolderAssignment_3_12_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalApplicationConfiguration.g:12497:1: ( ( ruleFile ) ) - // InternalApplicationConfiguration.g:12498:2: ( ruleFile ) + // InternalApplicationConfiguration.g:11834:1: ( ( ruleFile ) ) + // InternalApplicationConfiguration.g:11835:2: ( ruleFile ) { - // InternalApplicationConfiguration.g:12498:2: ( ruleFile ) - // InternalApplicationConfiguration.g:12499:3: ruleFile + // InternalApplicationConfiguration.g:11835:2: ( ruleFile ) + // InternalApplicationConfiguration.g:11836:3: ruleFile { before(grammarAccess.getGenerationTaskAccess().getTagetFolderFileParserRuleCall_3_12_2_0()); pushFollow(FOLLOW_2); @@ -37705,6 +35718,10 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont // Delegated rules + protected DFA62 dfa62 = new DFA62(this); + protected DFA63 dfa63 = new DFA63(this); + protected DFA64 dfa64 = new DFA64(this); + protected DFA65 dfa65 = new DFA65(this); protected DFA66 dfa66 = new DFA66(this); protected DFA67 dfa67 = new DFA67(this); protected DFA68 dfa68 = new DFA68(this); @@ -37715,17 +35732,13 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont protected DFA73 dfa73 = new DFA73(this); protected DFA74 dfa74 = new DFA74(this); protected DFA75 dfa75 = new DFA75(this); - protected DFA76 dfa76 = new DFA76(this); - protected DFA77 dfa77 = new DFA77(this); - protected DFA78 dfa78 = new DFA78(this); - protected DFA79 dfa79 = new DFA79(this); static final String dfa_1s = "\17\uffff"; - static final String dfa_2s = "\1\40\16\uffff"; - static final String dfa_3s = "\1\102\16\uffff"; + static final String dfa_2s = "\1\37\16\uffff"; + static final String dfa_3s = "\1\77\16\uffff"; static final String dfa_4s = "\1\uffff\15\1\1\2"; static final String dfa_5s = "\1\0\16\uffff}>"; static final String[] dfa_6s = { - "\1\16\4\uffff\1\1\2\uffff\1\3\3\uffff\1\4\1\11\11\uffff\1\5\1\uffff\1\2\1\10\1\12\1\13\1\14\1\15\2\uffff\1\6\1\7", + "\1\16\4\uffff\1\1\2\uffff\1\3\1\uffff\1\4\1\11\11\uffff\1\5\1\uffff\1\2\1\10\1\12\1\13\1\14\1\15\2\uffff\1\6\1\7", "", "", "", @@ -37749,11 +35762,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont static final short[] dfa_5 = DFA.unpackEncodedString(dfa_5s); static final short[][] dfa_6 = unpackEncodedStringArray(dfa_6s); - class DFA66 extends DFA { + class DFA62 extends DFA { - public DFA66(BaseRecognizer recognizer) { + public DFA62(BaseRecognizer recognizer) { this.recognizer = recognizer; - this.decisionNumber = 66; + this.decisionNumber = 62; this.eot = dfa_1; this.eof = dfa_1; this.min = dfa_2; @@ -37763,65 +35776,65 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont this.transition = dfa_6; } public String getDescription() { - return "10074:2: ( rule__GenerationTask__UnorderedGroup_3__0 )?"; + return "9521:2: ( rule__GenerationTask__UnorderedGroup_3__0 )?"; } public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { TokenStream input = (TokenStream)_input; int _s = s; switch ( s ) { case 0 : - int LA66_0 = input.LA(1); + int LA62_0 = input.LA(1); - int index66_0 = input.index(); + int index62_0 = input.index(); input.rewind(); s = -1; - if ( LA66_0 == 37 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0) ) {s = 1;} + if ( LA62_0 == 36 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0) ) {s = 1;} - else if ( LA66_0 == 57 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1) ) {s = 2;} + else if ( LA62_0 == 54 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1) ) {s = 2;} - else if ( LA66_0 == 40 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2) ) {s = 3;} + else if ( LA62_0 == 39 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2) ) {s = 3;} - else if ( LA66_0 == 44 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3) ) {s = 4;} + else if ( LA62_0 == 41 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3) ) {s = 4;} - else if ( LA66_0 == 55 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4) ) {s = 5;} + else if ( LA62_0 == 52 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4) ) {s = 5;} - else if ( LA66_0 == 65 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5) ) {s = 6;} + else if ( LA62_0 == 62 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5) ) {s = 6;} - else if ( LA66_0 == 66 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6) ) {s = 7;} + else if ( LA62_0 == 63 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6) ) {s = 7;} - else if ( LA66_0 == 58 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7) ) {s = 8;} + else if ( LA62_0 == 55 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7) ) {s = 8;} - else if ( LA66_0 == 45 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8) ) {s = 9;} + else if ( LA62_0 == 42 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8) ) {s = 9;} - else if ( LA66_0 == 59 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9) ) {s = 10;} + else if ( LA62_0 == 56 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9) ) {s = 10;} - else if ( LA66_0 == 60 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10) ) {s = 11;} + else if ( LA62_0 == 57 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10) ) {s = 11;} - else if ( LA66_0 == 61 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11) ) {s = 12;} + else if ( LA62_0 == 58 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11) ) {s = 12;} - else if ( LA66_0 == 62 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 12) ) {s = 13;} + else if ( LA62_0 == 59 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 12) ) {s = 13;} - else if ( (LA66_0==32) ) {s = 14;} + else if ( (LA62_0==31) ) {s = 14;} - input.seek(index66_0); + input.seek(index62_0); if ( s>=0 ) return s; break; } NoViableAltException nvae = - new NoViableAltException(getDescription(), 66, _s, input); + new NoViableAltException(getDescription(), 62, _s, input); error(nvae); throw nvae; } } static final String dfa_7s = "\16\uffff"; - static final String dfa_8s = "\1\45\15\uffff"; - static final String dfa_9s = "\1\102\15\uffff"; + static final String dfa_8s = "\1\44\15\uffff"; + static final String dfa_9s = "\1\77\15\uffff"; static final String dfa_10s = "\1\uffff\1\1\1\2\1\3\1\4\1\5\1\6\1\7\1\10\1\11\1\12\1\13\1\14\1\15"; static final String dfa_11s = "\1\0\15\uffff}>"; static final String[] dfa_12s = { - "\1\1\2\uffff\1\3\3\uffff\1\4\1\11\11\uffff\1\5\1\uffff\1\2\1\10\1\12\1\13\1\14\1\15\2\uffff\1\6\1\7", + "\1\1\2\uffff\1\3\1\uffff\1\4\1\11\11\uffff\1\5\1\uffff\1\2\1\10\1\12\1\13\1\14\1\15\2\uffff\1\6\1\7", "", "", "", @@ -37844,11 +35857,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont static final short[] dfa_11 = DFA.unpackEncodedString(dfa_11s); static final short[][] dfa_12 = unpackEncodedStringArray(dfa_12s); - class DFA67 extends DFA { + class DFA63 extends DFA { - public DFA67(BaseRecognizer recognizer) { + public DFA63(BaseRecognizer recognizer) { this.recognizer = recognizer; - this.decisionNumber = 67; + this.decisionNumber = 63; this.eot = dfa_7; this.eof = dfa_7; this.min = dfa_8; @@ -37858,62 +35871,62 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont this.transition = dfa_12; } public String getDescription() { - return "10088:3: ( ({...}? => ( ( ( rule__GenerationTask__Group_3_0__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_1__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_2__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_3__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_4__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_5__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_6__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_7__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_8__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_9__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_10__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_11__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_12__0 ) ) ) ) )"; + return "9535:3: ( ({...}? => ( ( ( rule__GenerationTask__Group_3_0__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_1__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_2__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_3__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_4__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_5__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_6__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_7__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_8__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_9__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_10__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_11__0 ) ) ) ) | ({...}? => ( ( ( rule__GenerationTask__Group_3_12__0 ) ) ) ) )"; } public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { TokenStream input = (TokenStream)_input; int _s = s; switch ( s ) { case 0 : - int LA67_0 = input.LA(1); + int LA63_0 = input.LA(1); - int index67_0 = input.index(); + int index63_0 = input.index(); input.rewind(); s = -1; - if ( LA67_0 == 37 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0) ) {s = 1;} + if ( LA63_0 == 36 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0) ) {s = 1;} - else if ( LA67_0 == 57 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1) ) {s = 2;} + else if ( LA63_0 == 54 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1) ) {s = 2;} - else if ( LA67_0 == 40 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2) ) {s = 3;} + else if ( LA63_0 == 39 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2) ) {s = 3;} - else if ( LA67_0 == 44 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3) ) {s = 4;} + else if ( LA63_0 == 41 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3) ) {s = 4;} - else if ( LA67_0 == 55 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4) ) {s = 5;} + else if ( LA63_0 == 52 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4) ) {s = 5;} - else if ( LA67_0 == 65 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5) ) {s = 6;} + else if ( LA63_0 == 62 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5) ) {s = 6;} - else if ( LA67_0 == 66 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6) ) {s = 7;} + else if ( LA63_0 == 63 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6) ) {s = 7;} - else if ( LA67_0 == 58 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7) ) {s = 8;} + else if ( LA63_0 == 55 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7) ) {s = 8;} - else if ( LA67_0 == 45 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8) ) {s = 9;} + else if ( LA63_0 == 42 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8) ) {s = 9;} - else if ( LA67_0 == 59 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9) ) {s = 10;} + else if ( LA63_0 == 56 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9) ) {s = 10;} - else if ( LA67_0 == 60 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10) ) {s = 11;} + else if ( LA63_0 == 57 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10) ) {s = 11;} - else if ( LA67_0 == 61 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11) ) {s = 12;} + else if ( LA63_0 == 58 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11) ) {s = 12;} - else if ( LA67_0 == 62 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 12) ) {s = 13;} + else if ( LA63_0 == 59 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 12) ) {s = 13;} - input.seek(index67_0); + input.seek(index63_0); if ( s>=0 ) return s; break; } NoViableAltException nvae = - new NoViableAltException(getDescription(), 67, _s, input); + new NoViableAltException(getDescription(), 63, _s, input); error(nvae); throw nvae; } } - class DFA68 extends DFA { + class DFA64 extends DFA { - public DFA68(BaseRecognizer recognizer) { + public DFA64(BaseRecognizer recognizer) { this.recognizer = recognizer; - this.decisionNumber = 68; + this.decisionNumber = 64; this.eot = dfa_1; this.eof = dfa_1; this.min = dfa_2; @@ -37923,64 +35936,64 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont this.transition = dfa_6; } public String getDescription() { - return "10298:2: ( rule__GenerationTask__UnorderedGroup_3__1 )?"; + return "9745:2: ( rule__GenerationTask__UnorderedGroup_3__1 )?"; } public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { TokenStream input = (TokenStream)_input; int _s = s; switch ( s ) { case 0 : - int LA68_0 = input.LA(1); + int LA64_0 = input.LA(1); - int index68_0 = input.index(); + int index64_0 = input.index(); input.rewind(); s = -1; - if ( LA68_0 == 37 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0) ) {s = 1;} + if ( LA64_0 == 36 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0) ) {s = 1;} - else if ( LA68_0 == 57 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1) ) {s = 2;} + else if ( LA64_0 == 54 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1) ) {s = 2;} - else if ( LA68_0 == 40 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2) ) {s = 3;} + else if ( LA64_0 == 39 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2) ) {s = 3;} - else if ( LA68_0 == 44 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3) ) {s = 4;} + else if ( LA64_0 == 41 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3) ) {s = 4;} - else if ( LA68_0 == 55 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4) ) {s = 5;} + else if ( LA64_0 == 52 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4) ) {s = 5;} - else if ( LA68_0 == 65 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5) ) {s = 6;} + else if ( LA64_0 == 62 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5) ) {s = 6;} - else if ( LA68_0 == 66 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6) ) {s = 7;} + else if ( LA64_0 == 63 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6) ) {s = 7;} - else if ( LA68_0 == 58 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7) ) {s = 8;} + else if ( LA64_0 == 55 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7) ) {s = 8;} - else if ( LA68_0 == 45 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8) ) {s = 9;} + else if ( LA64_0 == 42 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8) ) {s = 9;} - else if ( LA68_0 == 59 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9) ) {s = 10;} + else if ( LA64_0 == 56 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9) ) {s = 10;} - else if ( LA68_0 == 60 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10) ) {s = 11;} + else if ( LA64_0 == 57 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10) ) {s = 11;} - else if ( LA68_0 == 61 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11) ) {s = 12;} + else if ( LA64_0 == 58 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11) ) {s = 12;} - else if ( LA68_0 == 62 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 12) ) {s = 13;} + else if ( LA64_0 == 59 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 12) ) {s = 13;} - else if ( (LA68_0==32) ) {s = 14;} + else if ( (LA64_0==31) ) {s = 14;} - input.seek(index68_0); + input.seek(index64_0); if ( s>=0 ) return s; break; } NoViableAltException nvae = - new NoViableAltException(getDescription(), 68, _s, input); + new NoViableAltException(getDescription(), 64, _s, input); error(nvae); throw nvae; } } - class DFA69 extends DFA { + class DFA65 extends DFA { - public DFA69(BaseRecognizer recognizer) { + public DFA65(BaseRecognizer recognizer) { this.recognizer = recognizer; - this.decisionNumber = 69; + this.decisionNumber = 65; this.eot = dfa_1; this.eof = dfa_1; this.min = dfa_2; @@ -37990,64 +36003,64 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont this.transition = dfa_6; } public String getDescription() { - return "10310:2: ( rule__GenerationTask__UnorderedGroup_3__2 )?"; + return "9757:2: ( rule__GenerationTask__UnorderedGroup_3__2 )?"; } public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { TokenStream input = (TokenStream)_input; int _s = s; switch ( s ) { case 0 : - int LA69_0 = input.LA(1); + int LA65_0 = input.LA(1); - int index69_0 = input.index(); + int index65_0 = input.index(); input.rewind(); s = -1; - if ( LA69_0 == 37 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0) ) {s = 1;} + if ( LA65_0 == 36 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0) ) {s = 1;} - else if ( LA69_0 == 57 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1) ) {s = 2;} + else if ( LA65_0 == 54 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1) ) {s = 2;} - else if ( LA69_0 == 40 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2) ) {s = 3;} + else if ( LA65_0 == 39 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2) ) {s = 3;} - else if ( LA69_0 == 44 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3) ) {s = 4;} + else if ( LA65_0 == 41 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3) ) {s = 4;} - else if ( LA69_0 == 55 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4) ) {s = 5;} + else if ( LA65_0 == 52 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4) ) {s = 5;} - else if ( LA69_0 == 65 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5) ) {s = 6;} + else if ( LA65_0 == 62 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5) ) {s = 6;} - else if ( LA69_0 == 66 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6) ) {s = 7;} + else if ( LA65_0 == 63 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6) ) {s = 7;} - else if ( LA69_0 == 58 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7) ) {s = 8;} + else if ( LA65_0 == 55 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7) ) {s = 8;} - else if ( LA69_0 == 45 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8) ) {s = 9;} + else if ( LA65_0 == 42 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8) ) {s = 9;} - else if ( LA69_0 == 59 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9) ) {s = 10;} + else if ( LA65_0 == 56 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9) ) {s = 10;} - else if ( LA69_0 == 60 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10) ) {s = 11;} + else if ( LA65_0 == 57 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10) ) {s = 11;} - else if ( LA69_0 == 61 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11) ) {s = 12;} + else if ( LA65_0 == 58 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11) ) {s = 12;} - else if ( LA69_0 == 62 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 12) ) {s = 13;} + else if ( LA65_0 == 59 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 12) ) {s = 13;} - else if ( (LA69_0==32) ) {s = 14;} + else if ( (LA65_0==31) ) {s = 14;} - input.seek(index69_0); + input.seek(index65_0); if ( s>=0 ) return s; break; } NoViableAltException nvae = - new NoViableAltException(getDescription(), 69, _s, input); + new NoViableAltException(getDescription(), 65, _s, input); error(nvae); throw nvae; } } - class DFA70 extends DFA { + class DFA66 extends DFA { - public DFA70(BaseRecognizer recognizer) { + public DFA66(BaseRecognizer recognizer) { this.recognizer = recognizer; - this.decisionNumber = 70; + this.decisionNumber = 66; this.eot = dfa_1; this.eof = dfa_1; this.min = dfa_2; @@ -38057,64 +36070,64 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont this.transition = dfa_6; } public String getDescription() { - return "10322:2: ( rule__GenerationTask__UnorderedGroup_3__3 )?"; + return "9769:2: ( rule__GenerationTask__UnorderedGroup_3__3 )?"; } public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { TokenStream input = (TokenStream)_input; int _s = s; switch ( s ) { case 0 : - int LA70_0 = input.LA(1); + int LA66_0 = input.LA(1); - int index70_0 = input.index(); + int index66_0 = input.index(); input.rewind(); s = -1; - if ( LA70_0 == 37 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0) ) {s = 1;} + if ( LA66_0 == 36 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0) ) {s = 1;} - else if ( LA70_0 == 57 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1) ) {s = 2;} + else if ( LA66_0 == 54 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1) ) {s = 2;} - else if ( LA70_0 == 40 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2) ) {s = 3;} + else if ( LA66_0 == 39 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2) ) {s = 3;} - else if ( LA70_0 == 44 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3) ) {s = 4;} + else if ( LA66_0 == 41 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3) ) {s = 4;} - else if ( LA70_0 == 55 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4) ) {s = 5;} + else if ( LA66_0 == 52 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4) ) {s = 5;} - else if ( LA70_0 == 65 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5) ) {s = 6;} + else if ( LA66_0 == 62 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5) ) {s = 6;} - else if ( LA70_0 == 66 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6) ) {s = 7;} + else if ( LA66_0 == 63 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6) ) {s = 7;} - else if ( LA70_0 == 58 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7) ) {s = 8;} + else if ( LA66_0 == 55 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7) ) {s = 8;} - else if ( LA70_0 == 45 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8) ) {s = 9;} + else if ( LA66_0 == 42 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8) ) {s = 9;} - else if ( LA70_0 == 59 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9) ) {s = 10;} + else if ( LA66_0 == 56 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9) ) {s = 10;} - else if ( LA70_0 == 60 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10) ) {s = 11;} + else if ( LA66_0 == 57 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10) ) {s = 11;} - else if ( LA70_0 == 61 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11) ) {s = 12;} + else if ( LA66_0 == 58 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11) ) {s = 12;} - else if ( LA70_0 == 62 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 12) ) {s = 13;} + else if ( LA66_0 == 59 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 12) ) {s = 13;} - else if ( (LA70_0==32) ) {s = 14;} + else if ( (LA66_0==31) ) {s = 14;} - input.seek(index70_0); + input.seek(index66_0); if ( s>=0 ) return s; break; } NoViableAltException nvae = - new NoViableAltException(getDescription(), 70, _s, input); + new NoViableAltException(getDescription(), 66, _s, input); error(nvae); throw nvae; } } - class DFA71 extends DFA { + class DFA67 extends DFA { - public DFA71(BaseRecognizer recognizer) { + public DFA67(BaseRecognizer recognizer) { this.recognizer = recognizer; - this.decisionNumber = 71; + this.decisionNumber = 67; this.eot = dfa_1; this.eof = dfa_1; this.min = dfa_2; @@ -38124,64 +36137,64 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont this.transition = dfa_6; } public String getDescription() { - return "10334:2: ( rule__GenerationTask__UnorderedGroup_3__4 )?"; + return "9781:2: ( rule__GenerationTask__UnorderedGroup_3__4 )?"; } public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { TokenStream input = (TokenStream)_input; int _s = s; switch ( s ) { case 0 : - int LA71_0 = input.LA(1); + int LA67_0 = input.LA(1); - int index71_0 = input.index(); + int index67_0 = input.index(); input.rewind(); s = -1; - if ( LA71_0 == 37 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0) ) {s = 1;} + if ( LA67_0 == 36 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0) ) {s = 1;} - else if ( LA71_0 == 57 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1) ) {s = 2;} + else if ( LA67_0 == 54 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1) ) {s = 2;} - else if ( LA71_0 == 40 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2) ) {s = 3;} + else if ( LA67_0 == 39 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2) ) {s = 3;} - else if ( LA71_0 == 44 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3) ) {s = 4;} + else if ( LA67_0 == 41 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3) ) {s = 4;} - else if ( LA71_0 == 55 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4) ) {s = 5;} + else if ( LA67_0 == 52 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4) ) {s = 5;} - else if ( LA71_0 == 65 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5) ) {s = 6;} + else if ( LA67_0 == 62 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5) ) {s = 6;} - else if ( LA71_0 == 66 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6) ) {s = 7;} + else if ( LA67_0 == 63 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6) ) {s = 7;} - else if ( LA71_0 == 58 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7) ) {s = 8;} + else if ( LA67_0 == 55 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7) ) {s = 8;} - else if ( LA71_0 == 45 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8) ) {s = 9;} + else if ( LA67_0 == 42 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8) ) {s = 9;} - else if ( LA71_0 == 59 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9) ) {s = 10;} + else if ( LA67_0 == 56 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9) ) {s = 10;} - else if ( LA71_0 == 60 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10) ) {s = 11;} + else if ( LA67_0 == 57 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10) ) {s = 11;} - else if ( LA71_0 == 61 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11) ) {s = 12;} + else if ( LA67_0 == 58 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11) ) {s = 12;} - else if ( LA71_0 == 62 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 12) ) {s = 13;} + else if ( LA67_0 == 59 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 12) ) {s = 13;} - else if ( (LA71_0==32) ) {s = 14;} + else if ( (LA67_0==31) ) {s = 14;} - input.seek(index71_0); + input.seek(index67_0); if ( s>=0 ) return s; break; } NoViableAltException nvae = - new NoViableAltException(getDescription(), 71, _s, input); + new NoViableAltException(getDescription(), 67, _s, input); error(nvae); throw nvae; } } - class DFA72 extends DFA { + class DFA68 extends DFA { - public DFA72(BaseRecognizer recognizer) { + public DFA68(BaseRecognizer recognizer) { this.recognizer = recognizer; - this.decisionNumber = 72; + this.decisionNumber = 68; this.eot = dfa_1; this.eof = dfa_1; this.min = dfa_2; @@ -38191,64 +36204,64 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont this.transition = dfa_6; } public String getDescription() { - return "10346:2: ( rule__GenerationTask__UnorderedGroup_3__5 )?"; + return "9793:2: ( rule__GenerationTask__UnorderedGroup_3__5 )?"; } public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { TokenStream input = (TokenStream)_input; int _s = s; switch ( s ) { case 0 : - int LA72_0 = input.LA(1); + int LA68_0 = input.LA(1); - int index72_0 = input.index(); + int index68_0 = input.index(); input.rewind(); s = -1; - if ( LA72_0 == 37 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0) ) {s = 1;} + if ( LA68_0 == 36 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0) ) {s = 1;} - else if ( LA72_0 == 57 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1) ) {s = 2;} + else if ( LA68_0 == 54 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1) ) {s = 2;} - else if ( LA72_0 == 40 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2) ) {s = 3;} + else if ( LA68_0 == 39 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2) ) {s = 3;} - else if ( LA72_0 == 44 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3) ) {s = 4;} + else if ( LA68_0 == 41 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3) ) {s = 4;} - else if ( LA72_0 == 55 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4) ) {s = 5;} + else if ( LA68_0 == 52 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4) ) {s = 5;} - else if ( LA72_0 == 65 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5) ) {s = 6;} + else if ( LA68_0 == 62 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5) ) {s = 6;} - else if ( LA72_0 == 66 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6) ) {s = 7;} + else if ( LA68_0 == 63 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6) ) {s = 7;} - else if ( LA72_0 == 58 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7) ) {s = 8;} + else if ( LA68_0 == 55 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7) ) {s = 8;} - else if ( LA72_0 == 45 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8) ) {s = 9;} + else if ( LA68_0 == 42 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8) ) {s = 9;} - else if ( LA72_0 == 59 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9) ) {s = 10;} + else if ( LA68_0 == 56 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9) ) {s = 10;} - else if ( LA72_0 == 60 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10) ) {s = 11;} + else if ( LA68_0 == 57 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10) ) {s = 11;} - else if ( LA72_0 == 61 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11) ) {s = 12;} + else if ( LA68_0 == 58 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11) ) {s = 12;} - else if ( LA72_0 == 62 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 12) ) {s = 13;} + else if ( LA68_0 == 59 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 12) ) {s = 13;} - else if ( (LA72_0==32) ) {s = 14;} + else if ( (LA68_0==31) ) {s = 14;} - input.seek(index72_0); + input.seek(index68_0); if ( s>=0 ) return s; break; } NoViableAltException nvae = - new NoViableAltException(getDescription(), 72, _s, input); + new NoViableAltException(getDescription(), 68, _s, input); error(nvae); throw nvae; } } - class DFA73 extends DFA { + class DFA69 extends DFA { - public DFA73(BaseRecognizer recognizer) { + public DFA69(BaseRecognizer recognizer) { this.recognizer = recognizer; - this.decisionNumber = 73; + this.decisionNumber = 69; this.eot = dfa_1; this.eof = dfa_1; this.min = dfa_2; @@ -38258,64 +36271,64 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont this.transition = dfa_6; } public String getDescription() { - return "10358:2: ( rule__GenerationTask__UnorderedGroup_3__6 )?"; + return "9805:2: ( rule__GenerationTask__UnorderedGroup_3__6 )?"; } public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { TokenStream input = (TokenStream)_input; int _s = s; switch ( s ) { case 0 : - int LA73_0 = input.LA(1); + int LA69_0 = input.LA(1); - int index73_0 = input.index(); + int index69_0 = input.index(); input.rewind(); s = -1; - if ( LA73_0 == 37 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0) ) {s = 1;} + if ( LA69_0 == 36 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0) ) {s = 1;} - else if ( LA73_0 == 57 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1) ) {s = 2;} + else if ( LA69_0 == 54 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1) ) {s = 2;} - else if ( LA73_0 == 40 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2) ) {s = 3;} + else if ( LA69_0 == 39 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2) ) {s = 3;} - else if ( LA73_0 == 44 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3) ) {s = 4;} + else if ( LA69_0 == 41 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3) ) {s = 4;} - else if ( LA73_0 == 55 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4) ) {s = 5;} + else if ( LA69_0 == 52 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4) ) {s = 5;} - else if ( LA73_0 == 65 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5) ) {s = 6;} + else if ( LA69_0 == 62 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5) ) {s = 6;} - else if ( LA73_0 == 66 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6) ) {s = 7;} + else if ( LA69_0 == 63 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6) ) {s = 7;} - else if ( LA73_0 == 58 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7) ) {s = 8;} + else if ( LA69_0 == 55 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7) ) {s = 8;} - else if ( LA73_0 == 45 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8) ) {s = 9;} + else if ( LA69_0 == 42 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8) ) {s = 9;} - else if ( LA73_0 == 59 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9) ) {s = 10;} + else if ( LA69_0 == 56 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9) ) {s = 10;} - else if ( LA73_0 == 60 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10) ) {s = 11;} + else if ( LA69_0 == 57 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10) ) {s = 11;} - else if ( LA73_0 == 61 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11) ) {s = 12;} + else if ( LA69_0 == 58 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11) ) {s = 12;} - else if ( LA73_0 == 62 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 12) ) {s = 13;} + else if ( LA69_0 == 59 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 12) ) {s = 13;} - else if ( (LA73_0==32) ) {s = 14;} + else if ( (LA69_0==31) ) {s = 14;} - input.seek(index73_0); + input.seek(index69_0); if ( s>=0 ) return s; break; } NoViableAltException nvae = - new NoViableAltException(getDescription(), 73, _s, input); + new NoViableAltException(getDescription(), 69, _s, input); error(nvae); throw nvae; } } - class DFA74 extends DFA { + class DFA70 extends DFA { - public DFA74(BaseRecognizer recognizer) { + public DFA70(BaseRecognizer recognizer) { this.recognizer = recognizer; - this.decisionNumber = 74; + this.decisionNumber = 70; this.eot = dfa_1; this.eof = dfa_1; this.min = dfa_2; @@ -38325,64 +36338,64 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont this.transition = dfa_6; } public String getDescription() { - return "10370:2: ( rule__GenerationTask__UnorderedGroup_3__7 )?"; + return "9817:2: ( rule__GenerationTask__UnorderedGroup_3__7 )?"; } public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { TokenStream input = (TokenStream)_input; int _s = s; switch ( s ) { case 0 : - int LA74_0 = input.LA(1); + int LA70_0 = input.LA(1); - int index74_0 = input.index(); + int index70_0 = input.index(); input.rewind(); s = -1; - if ( LA74_0 == 37 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0) ) {s = 1;} + if ( LA70_0 == 36 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0) ) {s = 1;} - else if ( LA74_0 == 57 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1) ) {s = 2;} + else if ( LA70_0 == 54 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1) ) {s = 2;} - else if ( LA74_0 == 40 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2) ) {s = 3;} + else if ( LA70_0 == 39 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2) ) {s = 3;} - else if ( LA74_0 == 44 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3) ) {s = 4;} + else if ( LA70_0 == 41 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3) ) {s = 4;} - else if ( LA74_0 == 55 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4) ) {s = 5;} + else if ( LA70_0 == 52 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4) ) {s = 5;} - else if ( LA74_0 == 65 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5) ) {s = 6;} + else if ( LA70_0 == 62 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5) ) {s = 6;} - else if ( LA74_0 == 66 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6) ) {s = 7;} + else if ( LA70_0 == 63 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6) ) {s = 7;} - else if ( LA74_0 == 58 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7) ) {s = 8;} + else if ( LA70_0 == 55 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7) ) {s = 8;} - else if ( LA74_0 == 45 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8) ) {s = 9;} + else if ( LA70_0 == 42 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8) ) {s = 9;} - else if ( LA74_0 == 59 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9) ) {s = 10;} + else if ( LA70_0 == 56 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9) ) {s = 10;} - else if ( LA74_0 == 60 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10) ) {s = 11;} + else if ( LA70_0 == 57 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10) ) {s = 11;} - else if ( LA74_0 == 61 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11) ) {s = 12;} + else if ( LA70_0 == 58 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11) ) {s = 12;} - else if ( LA74_0 == 62 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 12) ) {s = 13;} + else if ( LA70_0 == 59 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 12) ) {s = 13;} - else if ( (LA74_0==32) ) {s = 14;} + else if ( (LA70_0==31) ) {s = 14;} - input.seek(index74_0); + input.seek(index70_0); if ( s>=0 ) return s; break; } NoViableAltException nvae = - new NoViableAltException(getDescription(), 74, _s, input); + new NoViableAltException(getDescription(), 70, _s, input); error(nvae); throw nvae; } } - class DFA75 extends DFA { + class DFA71 extends DFA { - public DFA75(BaseRecognizer recognizer) { + public DFA71(BaseRecognizer recognizer) { this.recognizer = recognizer; - this.decisionNumber = 75; + this.decisionNumber = 71; this.eot = dfa_1; this.eof = dfa_1; this.min = dfa_2; @@ -38392,64 +36405,64 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont this.transition = dfa_6; } public String getDescription() { - return "10382:2: ( rule__GenerationTask__UnorderedGroup_3__8 )?"; + return "9829:2: ( rule__GenerationTask__UnorderedGroup_3__8 )?"; } public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { TokenStream input = (TokenStream)_input; int _s = s; switch ( s ) { case 0 : - int LA75_0 = input.LA(1); + int LA71_0 = input.LA(1); - int index75_0 = input.index(); + int index71_0 = input.index(); input.rewind(); s = -1; - if ( LA75_0 == 37 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0) ) {s = 1;} + if ( LA71_0 == 36 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0) ) {s = 1;} - else if ( LA75_0 == 57 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1) ) {s = 2;} + else if ( LA71_0 == 54 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1) ) {s = 2;} - else if ( LA75_0 == 40 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2) ) {s = 3;} + else if ( LA71_0 == 39 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2) ) {s = 3;} - else if ( LA75_0 == 44 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3) ) {s = 4;} + else if ( LA71_0 == 41 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3) ) {s = 4;} - else if ( LA75_0 == 55 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4) ) {s = 5;} + else if ( LA71_0 == 52 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4) ) {s = 5;} - else if ( LA75_0 == 65 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5) ) {s = 6;} + else if ( LA71_0 == 62 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5) ) {s = 6;} - else if ( LA75_0 == 66 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6) ) {s = 7;} + else if ( LA71_0 == 63 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6) ) {s = 7;} - else if ( LA75_0 == 58 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7) ) {s = 8;} + else if ( LA71_0 == 55 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7) ) {s = 8;} - else if ( LA75_0 == 45 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8) ) {s = 9;} + else if ( LA71_0 == 42 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8) ) {s = 9;} - else if ( LA75_0 == 59 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9) ) {s = 10;} + else if ( LA71_0 == 56 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9) ) {s = 10;} - else if ( LA75_0 == 60 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10) ) {s = 11;} + else if ( LA71_0 == 57 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10) ) {s = 11;} - else if ( LA75_0 == 61 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11) ) {s = 12;} + else if ( LA71_0 == 58 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11) ) {s = 12;} - else if ( LA75_0 == 62 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 12) ) {s = 13;} + else if ( LA71_0 == 59 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 12) ) {s = 13;} - else if ( (LA75_0==32) ) {s = 14;} + else if ( (LA71_0==31) ) {s = 14;} - input.seek(index75_0); + input.seek(index71_0); if ( s>=0 ) return s; break; } NoViableAltException nvae = - new NoViableAltException(getDescription(), 75, _s, input); + new NoViableAltException(getDescription(), 71, _s, input); error(nvae); throw nvae; } } - class DFA76 extends DFA { + class DFA72 extends DFA { - public DFA76(BaseRecognizer recognizer) { + public DFA72(BaseRecognizer recognizer) { this.recognizer = recognizer; - this.decisionNumber = 76; + this.decisionNumber = 72; this.eot = dfa_1; this.eof = dfa_1; this.min = dfa_2; @@ -38459,64 +36472,64 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont this.transition = dfa_6; } public String getDescription() { - return "10394:2: ( rule__GenerationTask__UnorderedGroup_3__9 )?"; + return "9841:2: ( rule__GenerationTask__UnorderedGroup_3__9 )?"; } public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { TokenStream input = (TokenStream)_input; int _s = s; switch ( s ) { case 0 : - int LA76_0 = input.LA(1); + int LA72_0 = input.LA(1); - int index76_0 = input.index(); + int index72_0 = input.index(); input.rewind(); s = -1; - if ( LA76_0 == 37 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0) ) {s = 1;} + if ( LA72_0 == 36 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0) ) {s = 1;} - else if ( LA76_0 == 57 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1) ) {s = 2;} + else if ( LA72_0 == 54 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1) ) {s = 2;} - else if ( LA76_0 == 40 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2) ) {s = 3;} + else if ( LA72_0 == 39 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2) ) {s = 3;} - else if ( LA76_0 == 44 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3) ) {s = 4;} + else if ( LA72_0 == 41 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3) ) {s = 4;} - else if ( LA76_0 == 55 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4) ) {s = 5;} + else if ( LA72_0 == 52 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4) ) {s = 5;} - else if ( LA76_0 == 65 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5) ) {s = 6;} + else if ( LA72_0 == 62 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5) ) {s = 6;} - else if ( LA76_0 == 66 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6) ) {s = 7;} + else if ( LA72_0 == 63 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6) ) {s = 7;} - else if ( LA76_0 == 58 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7) ) {s = 8;} + else if ( LA72_0 == 55 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7) ) {s = 8;} - else if ( LA76_0 == 45 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8) ) {s = 9;} + else if ( LA72_0 == 42 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8) ) {s = 9;} - else if ( LA76_0 == 59 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9) ) {s = 10;} + else if ( LA72_0 == 56 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9) ) {s = 10;} - else if ( LA76_0 == 60 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10) ) {s = 11;} + else if ( LA72_0 == 57 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10) ) {s = 11;} - else if ( LA76_0 == 61 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11) ) {s = 12;} + else if ( LA72_0 == 58 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11) ) {s = 12;} - else if ( LA76_0 == 62 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 12) ) {s = 13;} + else if ( LA72_0 == 59 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 12) ) {s = 13;} - else if ( (LA76_0==32) ) {s = 14;} + else if ( (LA72_0==31) ) {s = 14;} - input.seek(index76_0); + input.seek(index72_0); if ( s>=0 ) return s; break; } NoViableAltException nvae = - new NoViableAltException(getDescription(), 76, _s, input); + new NoViableAltException(getDescription(), 72, _s, input); error(nvae); throw nvae; } } - class DFA77 extends DFA { + class DFA73 extends DFA { - public DFA77(BaseRecognizer recognizer) { + public DFA73(BaseRecognizer recognizer) { this.recognizer = recognizer; - this.decisionNumber = 77; + this.decisionNumber = 73; this.eot = dfa_1; this.eof = dfa_1; this.min = dfa_2; @@ -38526,64 +36539,64 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont this.transition = dfa_6; } public String getDescription() { - return "10406:2: ( rule__GenerationTask__UnorderedGroup_3__10 )?"; + return "9853:2: ( rule__GenerationTask__UnorderedGroup_3__10 )?"; } public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { TokenStream input = (TokenStream)_input; int _s = s; switch ( s ) { case 0 : - int LA77_0 = input.LA(1); + int LA73_0 = input.LA(1); - int index77_0 = input.index(); + int index73_0 = input.index(); input.rewind(); s = -1; - if ( LA77_0 == 37 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0) ) {s = 1;} + if ( LA73_0 == 36 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0) ) {s = 1;} - else if ( LA77_0 == 57 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1) ) {s = 2;} + else if ( LA73_0 == 54 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1) ) {s = 2;} - else if ( LA77_0 == 40 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2) ) {s = 3;} + else if ( LA73_0 == 39 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2) ) {s = 3;} - else if ( LA77_0 == 44 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3) ) {s = 4;} + else if ( LA73_0 == 41 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3) ) {s = 4;} - else if ( LA77_0 == 55 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4) ) {s = 5;} + else if ( LA73_0 == 52 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4) ) {s = 5;} - else if ( LA77_0 == 65 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5) ) {s = 6;} + else if ( LA73_0 == 62 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5) ) {s = 6;} - else if ( LA77_0 == 66 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6) ) {s = 7;} + else if ( LA73_0 == 63 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6) ) {s = 7;} - else if ( LA77_0 == 58 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7) ) {s = 8;} + else if ( LA73_0 == 55 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7) ) {s = 8;} - else if ( LA77_0 == 45 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8) ) {s = 9;} + else if ( LA73_0 == 42 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8) ) {s = 9;} - else if ( LA77_0 == 59 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9) ) {s = 10;} + else if ( LA73_0 == 56 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9) ) {s = 10;} - else if ( LA77_0 == 60 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10) ) {s = 11;} + else if ( LA73_0 == 57 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10) ) {s = 11;} - else if ( LA77_0 == 61 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11) ) {s = 12;} + else if ( LA73_0 == 58 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11) ) {s = 12;} - else if ( LA77_0 == 62 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 12) ) {s = 13;} + else if ( LA73_0 == 59 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 12) ) {s = 13;} - else if ( (LA77_0==32) ) {s = 14;} + else if ( (LA73_0==31) ) {s = 14;} - input.seek(index77_0); + input.seek(index73_0); if ( s>=0 ) return s; break; } NoViableAltException nvae = - new NoViableAltException(getDescription(), 77, _s, input); + new NoViableAltException(getDescription(), 73, _s, input); error(nvae); throw nvae; } } - class DFA78 extends DFA { + class DFA74 extends DFA { - public DFA78(BaseRecognizer recognizer) { + public DFA74(BaseRecognizer recognizer) { this.recognizer = recognizer; - this.decisionNumber = 78; + this.decisionNumber = 74; this.eot = dfa_1; this.eof = dfa_1; this.min = dfa_2; @@ -38593,64 +36606,64 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont this.transition = dfa_6; } public String getDescription() { - return "10418:2: ( rule__GenerationTask__UnorderedGroup_3__11 )?"; + return "9865:2: ( rule__GenerationTask__UnorderedGroup_3__11 )?"; } public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { TokenStream input = (TokenStream)_input; int _s = s; switch ( s ) { case 0 : - int LA78_0 = input.LA(1); + int LA74_0 = input.LA(1); - int index78_0 = input.index(); + int index74_0 = input.index(); input.rewind(); s = -1; - if ( LA78_0 == 37 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0) ) {s = 1;} + if ( LA74_0 == 36 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0) ) {s = 1;} - else if ( LA78_0 == 57 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1) ) {s = 2;} + else if ( LA74_0 == 54 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1) ) {s = 2;} - else if ( LA78_0 == 40 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2) ) {s = 3;} + else if ( LA74_0 == 39 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2) ) {s = 3;} - else if ( LA78_0 == 44 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3) ) {s = 4;} + else if ( LA74_0 == 41 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3) ) {s = 4;} - else if ( LA78_0 == 55 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4) ) {s = 5;} + else if ( LA74_0 == 52 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4) ) {s = 5;} - else if ( LA78_0 == 65 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5) ) {s = 6;} + else if ( LA74_0 == 62 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5) ) {s = 6;} - else if ( LA78_0 == 66 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6) ) {s = 7;} + else if ( LA74_0 == 63 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6) ) {s = 7;} - else if ( LA78_0 == 58 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7) ) {s = 8;} + else if ( LA74_0 == 55 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7) ) {s = 8;} - else if ( LA78_0 == 45 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8) ) {s = 9;} + else if ( LA74_0 == 42 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8) ) {s = 9;} - else if ( LA78_0 == 59 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9) ) {s = 10;} + else if ( LA74_0 == 56 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9) ) {s = 10;} - else if ( LA78_0 == 60 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10) ) {s = 11;} + else if ( LA74_0 == 57 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10) ) {s = 11;} - else if ( LA78_0 == 61 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11) ) {s = 12;} + else if ( LA74_0 == 58 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11) ) {s = 12;} - else if ( LA78_0 == 62 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 12) ) {s = 13;} + else if ( LA74_0 == 59 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 12) ) {s = 13;} - else if ( (LA78_0==32) ) {s = 14;} + else if ( (LA74_0==31) ) {s = 14;} - input.seek(index78_0); + input.seek(index74_0); if ( s>=0 ) return s; break; } NoViableAltException nvae = - new NoViableAltException(getDescription(), 78, _s, input); + new NoViableAltException(getDescription(), 74, _s, input); error(nvae); throw nvae; } } - class DFA79 extends DFA { + class DFA75 extends DFA { - public DFA79(BaseRecognizer recognizer) { + public DFA75(BaseRecognizer recognizer) { this.recognizer = recognizer; - this.decisionNumber = 79; + this.decisionNumber = 75; this.eot = dfa_1; this.eof = dfa_1; this.min = dfa_2; @@ -38660,54 +36673,54 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont this.transition = dfa_6; } public String getDescription() { - return "10430:2: ( rule__GenerationTask__UnorderedGroup_3__12 )?"; + return "9877:2: ( rule__GenerationTask__UnorderedGroup_3__12 )?"; } public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { TokenStream input = (TokenStream)_input; int _s = s; switch ( s ) { case 0 : - int LA79_0 = input.LA(1); + int LA75_0 = input.LA(1); - int index79_0 = input.index(); + int index75_0 = input.index(); input.rewind(); s = -1; - if ( LA79_0 == 37 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0) ) {s = 1;} + if ( LA75_0 == 36 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0) ) {s = 1;} - else if ( LA79_0 == 57 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1) ) {s = 2;} + else if ( LA75_0 == 54 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1) ) {s = 2;} - else if ( LA79_0 == 40 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2) ) {s = 3;} + else if ( LA75_0 == 39 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2) ) {s = 3;} - else if ( LA79_0 == 44 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3) ) {s = 4;} + else if ( LA75_0 == 41 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3) ) {s = 4;} - else if ( LA79_0 == 55 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4) ) {s = 5;} + else if ( LA75_0 == 52 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4) ) {s = 5;} - else if ( LA79_0 == 65 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5) ) {s = 6;} + else if ( LA75_0 == 62 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5) ) {s = 6;} - else if ( LA79_0 == 66 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6) ) {s = 7;} + else if ( LA75_0 == 63 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6) ) {s = 7;} - else if ( LA79_0 == 58 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7) ) {s = 8;} + else if ( LA75_0 == 55 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7) ) {s = 8;} - else if ( LA79_0 == 45 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8) ) {s = 9;} + else if ( LA75_0 == 42 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8) ) {s = 9;} - else if ( LA79_0 == 59 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9) ) {s = 10;} + else if ( LA75_0 == 56 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9) ) {s = 10;} - else if ( LA79_0 == 60 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10) ) {s = 11;} + else if ( LA75_0 == 57 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10) ) {s = 11;} - else if ( LA79_0 == 61 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11) ) {s = 12;} + else if ( LA75_0 == 58 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11) ) {s = 12;} - else if ( LA79_0 == 62 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 12) ) {s = 13;} + else if ( LA75_0 == 59 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 12) ) {s = 13;} - else if ( (LA79_0==32) ) {s = 14;} + else if ( (LA75_0==31) ) {s = 14;} - input.seek(index79_0); + input.seek(index75_0); if ( s>=0 ) return s; break; } NoViableAltException nvae = - new NoViableAltException(getDescription(), 79, _s, input); + new NoViableAltException(getDescription(), 75, _s, input); error(nvae); throw nvae; } @@ -38716,9 +36729,9 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont 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[]{0x018031A020000000L}); + public static final BitSet FOLLOW_3 = new BitSet(new long[]{0x003006D010000000L}); public static final BitSet FOLLOW_4 = new BitSet(new long[]{0x0000000002000002L}); - public static final BitSet FOLLOW_5 = new BitSet(new long[]{0x018031A020000002L}); + public static final BitSet FOLLOW_5 = new BitSet(new long[]{0x003006D010000002L}); public static final BitSet FOLLOW_6 = new BitSet(new long[]{0x0000000000800000L}); public static final BitSet FOLLOW_7 = new BitSet(new long[]{0x0000000000800002L}); public static final BitSet FOLLOW_8 = new BitSet(new long[]{0x0000000000000010L}); @@ -38726,42 +36739,40 @@ public class InternalApplicationConfigurationParser extends AbstractInternalCont public static final BitSet FOLLOW_10 = new BitSet(new long[]{0x0000000004000000L}); public static final BitSet FOLLOW_11 = new BitSet(new long[]{0x0000000000000040L}); public static final BitSet FOLLOW_12 = new BitSet(new long[]{0x0000000008000000L}); - public static final BitSet FOLLOW_13 = new BitSet(new long[]{0x0000000010000000L}); - public static final BitSet FOLLOW_14 = new BitSet(new long[]{0x0000000040000000L}); - public static final BitSet FOLLOW_15 = new BitSet(new long[]{0x0000000400000010L}); - public static final BitSet FOLLOW_16 = new BitSet(new long[]{0x0000000300000000L}); - public static final BitSet FOLLOW_17 = new BitSet(new long[]{0x0000000200000002L}); - public static final BitSet FOLLOW_18 = new BitSet(new long[]{0x0000000800000000L}); - public static final BitSet FOLLOW_19 = new BitSet(new long[]{0x0000000080000000L}); - public static final BitSet FOLLOW_20 = new BitSet(new long[]{0x0000001000000000L}); - public static final BitSet FOLLOW_21 = new BitSet(new long[]{0x0000004000000050L}); - public static final BitSet FOLLOW_22 = new BitSet(new long[]{0x0000000000000050L}); - public static final BitSet FOLLOW_23 = new BitSet(new long[]{0x00000A0010001800L}); - public static final BitSet FOLLOW_24 = new BitSet(new long[]{0x000000000001E000L}); - public static final BitSet FOLLOW_25 = new BitSet(new long[]{0x0000000001000020L}); - public static final BitSet FOLLOW_26 = new BitSet(new long[]{0x0000040000000000L}); - public static final BitSet FOLLOW_27 = new BitSet(new long[]{0x0001C00100000040L}); - public static final BitSet FOLLOW_28 = new BitSet(new long[]{0x0000000200000000L}); - public static final BitSet FOLLOW_29 = new BitSet(new long[]{0x0001C00000000040L}); - public static final BitSet FOLLOW_30 = new BitSet(new long[]{0x00000000000E0000L}); - public static final BitSet FOLLOW_31 = new BitSet(new long[]{0x0002000100000000L}); - public static final BitSet FOLLOW_32 = new BitSet(new long[]{0x0002000000000000L}); - public static final BitSet FOLLOW_33 = new BitSet(new long[]{0x0000000000002000L}); - public static final BitSet FOLLOW_34 = new BitSet(new long[]{0x8000000040000000L}); - public static final BitSet FOLLOW_35 = new BitSet(new long[]{0x0000000000000020L,0x0000000000000001L}); - public static final BitSet FOLLOW_36 = new BitSet(new long[]{0x0004000000000000L}); - public static final BitSet FOLLOW_37 = new BitSet(new long[]{0x0008000000000000L}); - public static final BitSet FOLLOW_38 = new BitSet(new long[]{0x0000000080000020L,0x0000000000000001L}); - public static final BitSet FOLLOW_39 = new BitSet(new long[]{0x0010000000000000L}); - public static final BitSet FOLLOW_40 = new BitSet(new long[]{0x0020000000000000L}); - public static final BitSet FOLLOW_41 = new BitSet(new long[]{0x0000000000004000L}); - public static final BitSet FOLLOW_42 = new BitSet(new long[]{0x0040000000000000L}); - public static final BitSet FOLLOW_43 = new BitSet(new long[]{0x0000000101000020L}); - public static final BitSet FOLLOW_44 = new BitSet(new long[]{0x0000000100000040L}); - public static final BitSet FOLLOW_45 = new BitSet(new long[]{0x7E80312000000000L,0x0000000000000006L}); - public static final BitSet FOLLOW_46 = new BitSet(new long[]{0x0000000100000000L}); - public static final BitSet FOLLOW_47 = new BitSet(new long[]{0x0000000080000010L}); - public static final BitSet FOLLOW_48 = new BitSet(new long[]{0x0000000000700000L}); - public static final BitSet FOLLOW_49 = new BitSet(new long[]{0x7E80312000000002L,0x0000000000000006L}); + public static final BitSet FOLLOW_13 = new BitSet(new long[]{0x0000000020000000L}); + public static final BitSet FOLLOW_14 = new BitSet(new long[]{0x0000000200000010L}); + public static final BitSet FOLLOW_15 = new BitSet(new long[]{0x0000000180000000L}); + public static final BitSet FOLLOW_16 = new BitSet(new long[]{0x0000000100000002L}); + public static final BitSet FOLLOW_17 = new BitSet(new long[]{0x0000000400000000L}); + public static final BitSet FOLLOW_18 = new BitSet(new long[]{0x0000000040000000L}); + public static final BitSet FOLLOW_19 = new BitSet(new long[]{0x0000000800000000L}); + public static final BitSet FOLLOW_20 = new BitSet(new long[]{0x0000002000000050L}); + public static final BitSet FOLLOW_21 = new BitSet(new long[]{0x0000000000000050L}); + public static final BitSet FOLLOW_22 = new BitSet(new long[]{0x0000010000001800L}); + public static final BitSet FOLLOW_23 = new BitSet(new long[]{0x000000000001E000L}); + public static final BitSet FOLLOW_24 = new BitSet(new long[]{0x0000000001000020L}); + public static final BitSet FOLLOW_25 = new BitSet(new long[]{0x0000380080000040L}); + public static final BitSet FOLLOW_26 = new BitSet(new long[]{0x0000000100000000L}); + public static final BitSet FOLLOW_27 = new BitSet(new long[]{0x0000380000000040L}); + public static final BitSet FOLLOW_28 = new BitSet(new long[]{0x00000000000E0000L}); + public static final BitSet FOLLOW_29 = new BitSet(new long[]{0x0000400080000000L}); + public static final BitSet FOLLOW_30 = new BitSet(new long[]{0x0000400000000000L}); + public static final BitSet FOLLOW_31 = new BitSet(new long[]{0x0000000000002000L}); + public static final BitSet FOLLOW_32 = new BitSet(new long[]{0x1000000020000000L}); + public static final BitSet FOLLOW_33 = new BitSet(new long[]{0x2000000000000020L}); + public static final BitSet FOLLOW_34 = new BitSet(new long[]{0x0000800000000000L}); + public static final BitSet FOLLOW_35 = new BitSet(new long[]{0x0001000000000000L}); + public static final BitSet FOLLOW_36 = new BitSet(new long[]{0x2000000040000020L}); + public static final BitSet FOLLOW_37 = new BitSet(new long[]{0x0002000000000000L}); + public static final BitSet FOLLOW_38 = new BitSet(new long[]{0x0004000000000000L}); + public static final BitSet FOLLOW_39 = new BitSet(new long[]{0x0000000000004000L}); + public static final BitSet FOLLOW_40 = new BitSet(new long[]{0x0008000000000000L}); + public static final BitSet FOLLOW_41 = new BitSet(new long[]{0x0000000081000020L}); + public static final BitSet FOLLOW_42 = new BitSet(new long[]{0x0000000080000040L}); + public static final BitSet FOLLOW_43 = new BitSet(new long[]{0xCFD0069000000000L}); + public static final BitSet FOLLOW_44 = new BitSet(new long[]{0x0000000080000000L}); + public static final BitSet FOLLOW_45 = new BitSet(new long[]{0x0000000040000010L}); + public static final BitSet FOLLOW_46 = new BitSet(new long[]{0x0000000000700000L}); + public static final BitSet FOLLOW_47 = new BitSet(new long[]{0xCFD0069000000002L}); } diff --git a/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeModule.xtendbin b/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeModule.xtendbin index ba53fa44..069bd953 100644 Binary files a/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeModule.xtendbin and b/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeModule.xtendbin differ diff --git a/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeSetup.xtendbin b/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeSetup.xtendbin index 81608794..624846d6 100644 Binary files a/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeSetup.xtendbin and b/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeSetup.xtendbin differ diff --git a/Application/hu.bme.mit.inf.dslreasoner.application.ui/src-gen/hu/bme/mit/inf/dslreasoner/application/ui/AbstractApplicationConfigurationUiModule.java b/Application/hu.bme.mit.inf.dslreasoner.application.ui/src-gen/hu/bme/mit/inf/dslreasoner/application/ui/AbstractApplicationConfigurationUiModule.java index 44f44a1f..2a28262e 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application.ui/src-gen/hu/bme/mit/inf/dslreasoner/application/ui/AbstractApplicationConfigurationUiModule.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application.ui/src-gen/hu/bme/mit/inf/dslreasoner/application/ui/AbstractApplicationConfigurationUiModule.java @@ -1,5 +1,5 @@ /* - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.ui; diff --git a/Application/hu.bme.mit.inf.dslreasoner.application.ui/src-gen/hu/bme/mit/inf/dslreasoner/application/ui/ApplicationConfigurationExecutableExtensionFactory.java b/Application/hu.bme.mit.inf.dslreasoner.application.ui/src-gen/hu/bme/mit/inf/dslreasoner/application/ui/ApplicationConfigurationExecutableExtensionFactory.java index 2dde976b..826260aa 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application.ui/src-gen/hu/bme/mit/inf/dslreasoner/application/ui/ApplicationConfigurationExecutableExtensionFactory.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application.ui/src-gen/hu/bme/mit/inf/dslreasoner/application/ui/ApplicationConfigurationExecutableExtensionFactory.java @@ -1,5 +1,5 @@ /* - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.ui; diff --git a/Application/hu.bme.mit.inf.dslreasoner.application.ui/src-gen/hu/bme/mit/inf/dslreasoner/application/ui/contentassist/AbstractApplicationConfigurationProposalProvider.java b/Application/hu.bme.mit.inf.dslreasoner.application.ui/src-gen/hu/bme/mit/inf/dslreasoner/application/ui/contentassist/AbstractApplicationConfigurationProposalProvider.java index a5479dd5..f27ddf0e 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application.ui/src-gen/hu/bme/mit/inf/dslreasoner/application/ui/contentassist/AbstractApplicationConfigurationProposalProvider.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application.ui/src-gen/hu/bme/mit/inf/dslreasoner/application/ui/contentassist/AbstractApplicationConfigurationProposalProvider.java @@ -1,5 +1,5 @@ /* - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.ui.contentassist; @@ -30,9 +30,6 @@ public abstract class AbstractApplicationConfigurationProposalProvider extends T public void completeViatraImport_ImportedViatra(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); } - public void completeCftImport_ImportedCft(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); - } public void completeFileSpecification_Path(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); } @@ -144,21 +141,6 @@ public abstract class AbstractApplicationConfigurationProposalProvider extends T public void completeCostEntry_Weight(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); } - public void completeReliabiltiyProbability_Package(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); - } - public void completeReliabiltiyProbability_Transformation(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); - } - public void completeReliabiltiyProbability_Time(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); - } - public void completeMtff_Package(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); - } - public void completeMtff_Transformation(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); - } public void completeObjectiveDeclaration_Name(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); } @@ -364,9 +346,6 @@ public abstract class AbstractApplicationConfigurationProposalProvider extends T public void complete_ViatraImport(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { // subclasses may override } - public void complete_CftImport(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } public void complete_Declaration(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { // subclasses may override } @@ -472,15 +451,6 @@ public abstract class AbstractApplicationConfigurationProposalProvider extends T public void complete_CostEntry(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { // subclasses may override } - public void complete_ReliabilityObjectiveFunction(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void complete_ReliabiltiyProbability(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void complete_Mtff(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } public void complete_ObjectiveDeclaration(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { // subclasses may override } diff --git a/Application/hu.bme.mit.inf.dslreasoner.application.ui/src-gen/hu/bme/mit/inf/dslreasoner/application/ui/internal/ApplicationActivator.java b/Application/hu.bme.mit.inf.dslreasoner.application.ui/src-gen/hu/bme/mit/inf/dslreasoner/application/ui/internal/ApplicationActivator.java index 19b0c5b8..cba78f27 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application.ui/src-gen/hu/bme/mit/inf/dslreasoner/application/ui/internal/ApplicationActivator.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application.ui/src-gen/hu/bme/mit/inf/dslreasoner/application/ui/internal/ApplicationActivator.java @@ -1,5 +1,5 @@ /* - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.ui.internal; diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/Eclipse Application.launch b/Application/hu.bme.mit.inf.dslreasoner.application/Eclipse Application.launch index 6ae04e4c..07eb0292 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/Eclipse Application.launch +++ b/Application/hu.bme.mit.inf.dslreasoner.application/Eclipse Application.launch @@ -13,7 +13,7 @@ - + @@ -25,8 +25,8 @@ - - + + diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/META-INF/MANIFEST.MF b/Application/hu.bme.mit.inf.dslreasoner.application/META-INF/MANIFEST.MF index 27caa768..c24df78c 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/META-INF/MANIFEST.MF +++ b/Application/hu.bme.mit.inf.dslreasoner.application/META-INF/MANIFEST.MF @@ -31,8 +31,7 @@ Require-Bundle: org.eclipse.xtext, org.eclipse.core.runtime;bundle-version="3.12.0", org.eclipse.viatra.query.runtime.rete;bundle-version="2.0.0", org.eclipse.viatra.query.runtime.localsearch;bundle-version="2.0.0", - org.eclipse.collections;bundle-version="9.2.0", - hu.bme.mit.inf.dslreasoner.faulttree.components + org.eclipse.collections;bundle-version="9.2.0" Bundle-RequiredExecutionEnvironment: JavaSE-1.8 Export-Package: hu.bme.mit.inf.dslreasoner.application, hu.bme.mit.inf.dslreasoner.application.applicationConfiguration, 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 629d8670..3334cd5a 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 @@ -16,9 +16,6 @@ - - - @@ -133,14 +130,6 @@ 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 bc5df821..5b693635 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 @@ -1,9 +1,9 @@ + complianceLevel="6.0" copyrightFields="false" runtimeVersion="2.17" usedGenPackages="platform:/resource/org.eclipse.emf.ecore/model/Ecore.genmodel#//ecore platform:/resource/org.eclipse.viatra.query.patternlanguage.emf/model/PatternLanguage.genmodel#//vql"> @@ -38,9 +38,6 @@ - - - @@ -131,14 +128,6 @@ - - - - - - - - diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/AbstractApplicationConfigurationRuntimeModule.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/AbstractApplicationConfigurationRuntimeModule.java index 377c65c4..6e09fa13 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/AbstractApplicationConfigurationRuntimeModule.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/AbstractApplicationConfigurationRuntimeModule.java @@ -1,5 +1,5 @@ /* - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application; 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 0e8b2926..c0038140 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/ApplicationConfigurationStandaloneSetupGenerated.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/ApplicationConfigurationStandaloneSetupGenerated.java index 93f0f35a..10d5e160 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/ApplicationConfigurationStandaloneSetupGenerated.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/ApplicationConfigurationStandaloneSetupGenerated.java @@ -1,5 +1,5 @@ /* - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application; diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/AllPackageEntry.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/AllPackageEntry.java index dabd5db8..8101cf52 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/AllPackageEntry.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/AllPackageEntry.java @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; @@ -27,10 +27,6 @@ public interface AllPackageEntry extends MetamodelEntry * Returns the value of the 'Exclusion' containment reference list. * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelElement}. * - *

    - * 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#getAllPackageEntry_Exclusion() 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 index 5270dea1..d597e92f 100644 --- 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 @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; @@ -27,10 +27,6 @@ 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() diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ApplicationConfigurationFactory.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ApplicationConfigurationFactory.java index 9cdab637..3bd6d326 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ApplicationConfigurationFactory.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ApplicationConfigurationFactory.java @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; @@ -68,15 +68,6 @@ public interface ApplicationConfigurationFactory extends EFactory */ ViatraImport createViatraImport(); - /** - * Returns a new object of class 'Cft Import'. - * - * - * @return a new object of class 'Cft Import'. - * @generated - */ - CftImport createCftImport(); - /** * Returns a new object of class 'Declaration'. * @@ -374,33 +365,6 @@ public interface ApplicationConfigurationFactory extends EFactory */ CostEntry createCostEntry(); - /** - * Returns a new object of class 'Reliability Objective Function'. - * - * - * @return a new object of class 'Reliability Objective Function'. - * @generated - */ - ReliabilityObjectiveFunction createReliabilityObjectiveFunction(); - - /** - * Returns a new object of class 'Reliabiltiy Probability'. - * - * - * @return a new object of class 'Reliabiltiy Probability'. - * @generated - */ - ReliabiltiyProbability createReliabiltiyProbability(); - - /** - * Returns a new object of class 'Mtff'. - * - * - * @return a new object of class 'Mtff'. - * @generated - */ - Mtff createMtff(); - /** * Returns a new object of class 'Objective Declaration'. * 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 7fc2dcec..72dc244a 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 @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; @@ -189,34 +189,6 @@ public interface ApplicationConfigurationPackage extends EPackage */ int VIATRA_IMPORT_FEATURE_COUNT = IMPORT_FEATURE_COUNT + 1; - /** - * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.CftImportImpl Cft Import}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.CftImportImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getCftImport() - * @generated - */ - int CFT_IMPORT = 5; - - /** - * The feature id for the 'Imported Cft' reference. - * - * - * @generated - * @ordered - */ - int CFT_IMPORT__IMPORTED_CFT = IMPORT_FEATURE_COUNT + 0; - - /** - * The number of structural features of the 'Cft Import' class. - * - * - * @generated - * @ordered - */ - int CFT_IMPORT_FEATURE_COUNT = IMPORT_FEATURE_COUNT + 1; - /** * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.DeclarationImpl Declaration}' class. * @@ -225,7 +197,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getDeclaration() * @generated */ - int DECLARATION = 6; + int DECLARATION = 5; /** * The feature id for the 'Name' attribute. @@ -253,7 +225,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getFile() * @generated */ - int FILE = 10; + int FILE = 9; /** * The number of structural features of the 'File' class. @@ -272,7 +244,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getFileSpecification() * @generated */ - int FILE_SPECIFICATION = 7; + int FILE_SPECIFICATION = 6; /** * The feature id for the 'Path' attribute. @@ -300,7 +272,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getFileDeclaration() * @generated */ - int FILE_DECLARATION = 8; + int FILE_DECLARATION = 7; /** * The feature id for the 'Name' attribute. @@ -337,7 +309,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getFileReference() * @generated */ - int FILE_REFERENCE = 9; + int FILE_REFERENCE = 8; /** * The feature id for the 'Referred' reference. @@ -365,7 +337,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getMetamodel() * @generated */ - int METAMODEL = 17; + int METAMODEL = 16; /** * The number of structural features of the 'Metamodel' class. @@ -384,7 +356,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getMetamodelSpecification() * @generated */ - int METAMODEL_SPECIFICATION = 11; + int METAMODEL_SPECIFICATION = 10; /** * The feature id for the 'Entries' containment reference list. @@ -412,7 +384,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getMetamodelEntry() * @generated */ - int METAMODEL_ENTRY = 12; + int METAMODEL_ENTRY = 11; /** * The feature id for the 'Package' reference. @@ -440,7 +412,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getAllPackageEntry() * @generated */ - int ALL_PACKAGE_ENTRY = 13; + int ALL_PACKAGE_ENTRY = 12; /** * The feature id for the 'Package' reference. @@ -477,7 +449,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getMetamodelElement() * @generated */ - int METAMODEL_ELEMENT = 14; + int METAMODEL_ELEMENT = 13; /** * The feature id for the 'Package' reference. @@ -523,7 +495,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getMetamodelDeclaration() * @generated */ - int METAMODEL_DECLARATION = 15; + int METAMODEL_DECLARATION = 14; /** * The feature id for the 'Name' attribute. @@ -560,7 +532,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getMetamodelReference() * @generated */ - int METAMODEL_REFERENCE = 16; + int METAMODEL_REFERENCE = 15; /** * The feature id for the 'Referred' reference. @@ -588,7 +560,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getPartialModel() * @generated */ - int PARTIAL_MODEL = 24; + int PARTIAL_MODEL = 23; /** * The number of structural features of the 'Partial Model' class. @@ -607,7 +579,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getPartialModelSpecification() * @generated */ - int PARTIAL_MODEL_SPECIFICATION = 18; + int PARTIAL_MODEL_SPECIFICATION = 17; /** * The feature id for the 'Entry' containment reference list. @@ -635,7 +607,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getPartialModelEntry() * @generated */ - int PARTIAL_MODEL_ENTRY = 19; + int PARTIAL_MODEL_ENTRY = 18; /** * The feature id for the 'Path' containment reference. @@ -663,7 +635,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getModelEntry() * @generated */ - int MODEL_ENTRY = 20; + int MODEL_ENTRY = 19; /** * The feature id for the 'Path' containment reference. @@ -691,7 +663,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getFolderEntry() * @generated */ - int FOLDER_ENTRY = 21; + int FOLDER_ENTRY = 20; /** * The feature id for the 'Path' containment reference. @@ -728,7 +700,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getPartialModelDeclaration() * @generated */ - int PARTIAL_MODEL_DECLARATION = 22; + int PARTIAL_MODEL_DECLARATION = 21; /** * The feature id for the 'Name' attribute. @@ -765,7 +737,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getPartialModelReference() * @generated */ - int PARTIAL_MODEL_REFERENCE = 23; + int PARTIAL_MODEL_REFERENCE = 22; /** * The feature id for the 'Referred' reference. @@ -793,7 +765,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getGraphPattern() * @generated */ - int GRAPH_PATTERN = 31; + int GRAPH_PATTERN = 30; /** * The number of structural features of the 'Graph Pattern' class. @@ -812,7 +784,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getPatternSpecification() * @generated */ - int PATTERN_SPECIFICATION = 25; + int PATTERN_SPECIFICATION = 24; /** * The feature id for the 'Entries' containment reference list. @@ -840,7 +812,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getPatternEntry() * @generated */ - int PATTERN_ENTRY = 26; + int PATTERN_ENTRY = 25; /** * The feature id for the 'Package' reference. @@ -868,7 +840,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getAllPatternEntry() * @generated */ - int ALL_PATTERN_ENTRY = 27; + int ALL_PATTERN_ENTRY = 26; /** * The feature id for the 'Package' reference. @@ -905,7 +877,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getPatternElement() * @generated */ - int PATTERN_ELEMENT = 28; + int PATTERN_ELEMENT = 27; /** * The feature id for the 'Package' reference. @@ -942,7 +914,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getGraphPatternDeclaration() * @generated */ - int GRAPH_PATTERN_DECLARATION = 29; + int GRAPH_PATTERN_DECLARATION = 28; /** * The feature id for the 'Name' attribute. @@ -979,7 +951,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getGraphPatternReference() * @generated */ - int GRAPH_PATTERN_REFERENCE = 30; + int GRAPH_PATTERN_REFERENCE = 29; /** * The feature id for the 'Referred' reference. @@ -1007,7 +979,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getObjective() * @generated */ - int OBJECTIVE = 44; + int OBJECTIVE = 40; /** * The number of structural features of the 'Objective' class. @@ -1026,7 +998,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getObjectiveSpecification() * @generated */ - int OBJECTIVE_SPECIFICATION = 32; + int OBJECTIVE_SPECIFICATION = 31; /** * The feature id for the 'Entries' containment reference list. @@ -1054,7 +1026,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getObjectiveEntry() * @generated */ - int OBJECTIVE_ENTRY = 33; + int OBJECTIVE_ENTRY = 32; /** * The feature id for the 'Function' containment reference. @@ -1082,7 +1054,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getOptimizationEntry() * @generated */ - int OPTIMIZATION_ENTRY = 34; + int OPTIMIZATION_ENTRY = 33; /** * The feature id for the 'Function' containment reference. @@ -1119,7 +1091,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getThresholdEntry() * @generated */ - int THRESHOLD_ENTRY = 35; + int THRESHOLD_ENTRY = 34; /** * The feature id for the 'Function' containment reference. @@ -1165,7 +1137,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getObjectiveFunction() * @generated */ - int OBJECTIVE_FUNCTION = 36; + int OBJECTIVE_FUNCTION = 35; /** * The number of structural features of the 'Objective Function' class. @@ -1184,7 +1156,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getCostObjectiveFunction() * @generated */ - int COST_OBJECTIVE_FUNCTION = 37; + int COST_OBJECTIVE_FUNCTION = 36; /** * The feature id for the 'Entries' containment reference list. @@ -1212,7 +1184,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getCostEntry() * @generated */ - int COST_ENTRY = 38; + int COST_ENTRY = 37; /** * The feature id for the 'Pattern Element' containment reference. @@ -1241,126 +1213,6 @@ public interface ApplicationConfigurationPackage extends EPackage */ int COST_ENTRY_FEATURE_COUNT = 2; - /** - * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ReliabilityObjectiveFunctionImpl Reliability Objective Function}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ReliabilityObjectiveFunctionImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getReliabilityObjectiveFunction() - * @generated - */ - int RELIABILITY_OBJECTIVE_FUNCTION = 39; - - /** - * The feature id for the 'Package' reference. - * - * - * @generated - * @ordered - */ - int RELIABILITY_OBJECTIVE_FUNCTION__PACKAGE = OBJECTIVE_FUNCTION_FEATURE_COUNT + 0; - - /** - * The feature id for the 'Transformation' reference. - * - * - * @generated - * @ordered - */ - int RELIABILITY_OBJECTIVE_FUNCTION__TRANSFORMATION = OBJECTIVE_FUNCTION_FEATURE_COUNT + 1; - - /** - * The number of structural features of the 'Reliability Objective Function' class. - * - * - * @generated - * @ordered - */ - int RELIABILITY_OBJECTIVE_FUNCTION_FEATURE_COUNT = OBJECTIVE_FUNCTION_FEATURE_COUNT + 2; - - /** - * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ReliabiltiyProbabilityImpl Reliabiltiy Probability}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ReliabiltiyProbabilityImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getReliabiltiyProbability() - * @generated - */ - int RELIABILTIY_PROBABILITY = 40; - - /** - * The feature id for the 'Package' reference. - * - * - * @generated - * @ordered - */ - int RELIABILTIY_PROBABILITY__PACKAGE = RELIABILITY_OBJECTIVE_FUNCTION__PACKAGE; - - /** - * The feature id for the 'Transformation' reference. - * - * - * @generated - * @ordered - */ - int RELIABILTIY_PROBABILITY__TRANSFORMATION = RELIABILITY_OBJECTIVE_FUNCTION__TRANSFORMATION; - - /** - * The feature id for the 'Time' attribute. - * - * - * @generated - * @ordered - */ - int RELIABILTIY_PROBABILITY__TIME = RELIABILITY_OBJECTIVE_FUNCTION_FEATURE_COUNT + 0; - - /** - * The number of structural features of the 'Reliabiltiy Probability' class. - * - * - * @generated - * @ordered - */ - int RELIABILTIY_PROBABILITY_FEATURE_COUNT = RELIABILITY_OBJECTIVE_FUNCTION_FEATURE_COUNT + 1; - - /** - * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MtffImpl Mtff}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MtffImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getMtff() - * @generated - */ - int MTFF = 41; - - /** - * The feature id for the 'Package' reference. - * - * - * @generated - * @ordered - */ - int MTFF__PACKAGE = RELIABILITY_OBJECTIVE_FUNCTION__PACKAGE; - - /** - * The feature id for the 'Transformation' reference. - * - * - * @generated - * @ordered - */ - int MTFF__TRANSFORMATION = RELIABILITY_OBJECTIVE_FUNCTION__TRANSFORMATION; - - /** - * The number of structural features of the 'Mtff' class. - * - * - * @generated - * @ordered - */ - int MTFF_FEATURE_COUNT = RELIABILITY_OBJECTIVE_FUNCTION_FEATURE_COUNT + 0; - /** * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ObjectiveDeclarationImpl Objective Declaration}' class. * @@ -1369,7 +1221,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getObjectiveDeclaration() * @generated */ - int OBJECTIVE_DECLARATION = 42; + int OBJECTIVE_DECLARATION = 38; /** * The feature id for the 'Name' attribute. @@ -1406,7 +1258,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getObjectiveReference() * @generated */ - int OBJECTIVE_REFERENCE = 43; + int OBJECTIVE_REFERENCE = 39; /** * The feature id for the 'Referred' reference. @@ -1434,7 +1286,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getConfig() * @generated */ - int CONFIG = 53; + int CONFIG = 49; /** * The number of structural features of the 'Config' class. @@ -1453,7 +1305,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getConfigSpecification() * @generated */ - int CONFIG_SPECIFICATION = 45; + int CONFIG_SPECIFICATION = 41; /** * The feature id for the 'Entries' containment reference list. @@ -1481,7 +1333,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getConfigDeclaration() * @generated */ - int CONFIG_DECLARATION = 46; + int CONFIG_DECLARATION = 42; /** * The feature id for the 'Name' attribute. @@ -1518,7 +1370,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getConfigEntry() * @generated */ - int CONFIG_ENTRY = 47; + int CONFIG_ENTRY = 43; /** * The number of structural features of the 'Config Entry' class. @@ -1537,7 +1389,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getDocumentationEntry() * @generated */ - int DOCUMENTATION_ENTRY = 48; + int DOCUMENTATION_ENTRY = 44; /** * The feature id for the 'Level' attribute. @@ -1565,7 +1417,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getRuntimeEntry() * @generated */ - int RUNTIME_ENTRY = 49; + int RUNTIME_ENTRY = 45; /** * The feature id for the 'Millisec Limit' attribute. @@ -1593,7 +1445,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getMemoryEntry() * @generated */ - int MEMORY_ENTRY = 50; + int MEMORY_ENTRY = 46; /** * The feature id for the 'Megabyte Limit' attribute. @@ -1621,7 +1473,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getCustomEntry() * @generated */ - int CUSTOM_ENTRY = 51; + int CUSTOM_ENTRY = 47; /** * The feature id for the 'Key' attribute. @@ -1658,7 +1510,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getConfigReference() * @generated */ - int CONFIG_REFERENCE = 52; + int CONFIG_REFERENCE = 48; /** * The feature id for the 'Config' reference. @@ -1686,7 +1538,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getScope() * @generated */ - int SCOPE = 75; + int SCOPE = 71; /** * The number of structural features of the 'Scope' class. @@ -1705,7 +1557,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getScopeSpecification() * @generated */ - int SCOPE_SPECIFICATION = 54; + int SCOPE_SPECIFICATION = 50; /** * The feature id for the 'Scopes' containment reference list. @@ -1733,7 +1585,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getTypeScope() * @generated */ - int TYPE_SCOPE = 55; + int TYPE_SCOPE = 51; /** * The feature id for the 'Sets New' attribute. @@ -1779,7 +1631,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getClassTypeScope() * @generated */ - int CLASS_TYPE_SCOPE = 56; + int CLASS_TYPE_SCOPE = 52; /** * The feature id for the 'Sets New' attribute. @@ -1834,7 +1686,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getObjectTypeScope() * @generated */ - int OBJECT_TYPE_SCOPE = 57; + int OBJECT_TYPE_SCOPE = 53; /** * The feature id for the 'Sets New' attribute. @@ -1889,7 +1741,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getIntegerTypeScope() * @generated */ - int INTEGER_TYPE_SCOPE = 58; + int INTEGER_TYPE_SCOPE = 54; /** * The feature id for the 'Sets New' attribute. @@ -1944,7 +1796,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getRealTypeScope() * @generated */ - int REAL_TYPE_SCOPE = 59; + int REAL_TYPE_SCOPE = 55; /** * The feature id for the 'Sets New' attribute. @@ -1999,7 +1851,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getStringTypeScope() * @generated */ - int STRING_TYPE_SCOPE = 60; + int STRING_TYPE_SCOPE = 56; /** * The feature id for the 'Sets New' attribute. @@ -2054,7 +1906,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getTypeReference() * @generated */ - int TYPE_REFERENCE = 61; + int TYPE_REFERENCE = 57; /** * The number of structural features of the 'Type Reference' class. @@ -2073,7 +1925,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getClassReference() * @generated */ - int CLASS_REFERENCE = 62; + int CLASS_REFERENCE = 58; /** * The feature id for the 'Element' containment reference. @@ -2101,7 +1953,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getObjectReference() * @generated */ - int OBJECT_REFERENCE = 63; + int OBJECT_REFERENCE = 59; /** * The number of structural features of the 'Object Reference' class. @@ -2120,7 +1972,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getIntegerReference() * @generated */ - int INTEGER_REFERENCE = 64; + int INTEGER_REFERENCE = 60; /** * The number of structural features of the 'Integer Reference' class. @@ -2139,7 +1991,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getRealReference() * @generated */ - int REAL_REFERENCE = 65; + int REAL_REFERENCE = 61; /** * The number of structural features of the 'Real Reference' class. @@ -2158,7 +2010,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getStringReference() * @generated */ - int STRING_REFERENCE = 66; + int STRING_REFERENCE = 62; /** * The number of structural features of the 'String Reference' class. @@ -2177,7 +2029,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getNumberSpecification() * @generated */ - int NUMBER_SPECIFICATION = 67; + int NUMBER_SPECIFICATION = 63; /** * The number of structural features of the 'Number Specification' class. @@ -2196,7 +2048,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getExactNumber() * @generated */ - int EXACT_NUMBER = 68; + int EXACT_NUMBER = 64; /** * The feature id for the 'Exact Number' attribute. @@ -2233,7 +2085,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getIntervallNumber() * @generated */ - int INTERVALL_NUMBER = 69; + int INTERVALL_NUMBER = 65; /** * The feature id for the 'Min' attribute. @@ -2279,7 +2131,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getIntEnumberation() * @generated */ - int INT_ENUMBERATION = 70; + int INT_ENUMBERATION = 66; /** * The feature id for the 'Entry' attribute list. @@ -2307,7 +2159,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getRealEnumeration() * @generated */ - int REAL_ENUMERATION = 71; + int REAL_ENUMERATION = 67; /** * The feature id for the 'Entry' attribute list. @@ -2335,7 +2187,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getStringEnumeration() * @generated */ - int STRING_ENUMERATION = 72; + int STRING_ENUMERATION = 68; /** * The feature id for the 'Entry' attribute list. @@ -2363,7 +2215,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getScopeDeclaration() * @generated */ - int SCOPE_DECLARATION = 73; + int SCOPE_DECLARATION = 69; /** * The feature id for the 'Name' attribute. @@ -2400,7 +2252,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getScopeReference() * @generated */ - int SCOPE_REFERENCE = 74; + int SCOPE_REFERENCE = 70; /** * The feature id for the 'Referred' reference. @@ -2428,7 +2280,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getTask() * @generated */ - int TASK = 76; + int TASK = 72; /** * The number of structural features of the 'Task' class. @@ -2447,7 +2299,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getGenerationTask() * @generated */ - int GENERATION_TASK = 77; + int GENERATION_TASK = 73; /** * The feature id for the 'Metamodel' containment reference. @@ -2601,7 +2453,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getIntegerScope() * @generated */ - int INTEGER_SCOPE = 78; + int INTEGER_SCOPE = 74; /** * The number of structural features of the 'Integer Scope' class. @@ -2620,7 +2472,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getRealScope() * @generated */ - int REAL_SCOPE = 79; + int REAL_SCOPE = 75; /** * The number of structural features of the 'Real Scope' class. @@ -2639,7 +2491,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getStringScope() * @generated */ - int STRING_SCOPE = 80; + int STRING_SCOPE = 76; /** * The number of structural features of the 'String Scope' class. @@ -2658,7 +2510,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getOptimizationDirection() * @generated */ - int OPTIMIZATION_DIRECTION = 81; + int OPTIMIZATION_DIRECTION = 77; /** * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ComparisonOperator Comparison Operator}' enum. @@ -2668,7 +2520,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getComparisonOperator() * @generated */ - int COMPARISON_OPERATOR = 82; + int COMPARISON_OPERATOR = 78; /** * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.DocumentLevelSpecification Document Level Specification}' enum. @@ -2678,7 +2530,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getDocumentLevelSpecification() * @generated */ - int DOCUMENT_LEVEL_SPECIFICATION = 83; + int DOCUMENT_LEVEL_SPECIFICATION = 79; /** * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Solver Solver}' enum. @@ -2688,7 +2540,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getSolver() * @generated */ - int SOLVER = 84; + int SOLVER = 80; /** @@ -2785,27 +2637,6 @@ public interface ApplicationConfigurationPackage extends EPackage */ EReference getViatraImport_ImportedViatra(); - /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.CftImport Cft Import}'. - * - * - * @return the meta object for class 'Cft Import'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.CftImport - * @generated - */ - EClass getCftImport(); - - /** - * Returns the meta object for the reference '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.CftImport#getImportedCft Imported Cft}'. - * - * - * @return the meta object for the reference 'Imported Cft'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.CftImport#getImportedCft() - * @see #getCftImport() - * @generated - */ - EReference getCftImport_ImportedCft(); - /** * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Declaration Declaration}'. * @@ -3466,69 +3297,6 @@ public interface ApplicationConfigurationPackage extends EPackage */ EAttribute getCostEntry_Weight(); - /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ReliabilityObjectiveFunction Reliability Objective Function}'. - * - * - * @return the meta object for class 'Reliability Objective Function'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ReliabilityObjectiveFunction - * @generated - */ - EClass getReliabilityObjectiveFunction(); - - /** - * Returns the meta object for the reference '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ReliabilityObjectiveFunction#getPackage Package}'. - * - * - * @return the meta object for the reference 'Package'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ReliabilityObjectiveFunction#getPackage() - * @see #getReliabilityObjectiveFunction() - * @generated - */ - EReference getReliabilityObjectiveFunction_Package(); - - /** - * Returns the meta object for the reference '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ReliabilityObjectiveFunction#getTransformation Transformation}'. - * - * - * @return the meta object for the reference 'Transformation'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ReliabilityObjectiveFunction#getTransformation() - * @see #getReliabilityObjectiveFunction() - * @generated - */ - EReference getReliabilityObjectiveFunction_Transformation(); - - /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ReliabiltiyProbability Reliabiltiy Probability}'. - * - * - * @return the meta object for class 'Reliabiltiy Probability'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ReliabiltiyProbability - * @generated - */ - EClass getReliabiltiyProbability(); - - /** - * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ReliabiltiyProbability#getTime Time}'. - * - * - * @return the meta object for the attribute 'Time'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ReliabiltiyProbability#getTime() - * @see #getReliabiltiyProbability() - * @generated - */ - EAttribute getReliabiltiyProbability_Time(); - - /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Mtff Mtff}'. - * - * - * @return the meta object for class 'Mtff'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Mtff - * @generated - */ - EClass getMtff(); - /** * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ObjectiveDeclaration Objective Declaration}'. * @@ -4559,24 +4327,6 @@ public interface ApplicationConfigurationPackage extends EPackage */ EReference VIATRA_IMPORT__IMPORTED_VIATRA = eINSTANCE.getViatraImport_ImportedViatra(); - /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.CftImportImpl Cft Import}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.CftImportImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getCftImport() - * @generated - */ - EClass CFT_IMPORT = eINSTANCE.getCftImport(); - - /** - * The meta object literal for the 'Imported Cft' reference feature. - * - * - * @generated - */ - EReference CFT_IMPORT__IMPORTED_CFT = eINSTANCE.getCftImport_ImportedCft(); - /** * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.DeclarationImpl Declaration}' class. * @@ -5147,60 +4897,6 @@ public interface ApplicationConfigurationPackage extends EPackage */ EAttribute COST_ENTRY__WEIGHT = eINSTANCE.getCostEntry_Weight(); - /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ReliabilityObjectiveFunctionImpl Reliability Objective Function}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ReliabilityObjectiveFunctionImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getReliabilityObjectiveFunction() - * @generated - */ - EClass RELIABILITY_OBJECTIVE_FUNCTION = eINSTANCE.getReliabilityObjectiveFunction(); - - /** - * The meta object literal for the 'Package' reference feature. - * - * - * @generated - */ - EReference RELIABILITY_OBJECTIVE_FUNCTION__PACKAGE = eINSTANCE.getReliabilityObjectiveFunction_Package(); - - /** - * The meta object literal for the 'Transformation' reference feature. - * - * - * @generated - */ - EReference RELIABILITY_OBJECTIVE_FUNCTION__TRANSFORMATION = eINSTANCE.getReliabilityObjectiveFunction_Transformation(); - - /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ReliabiltiyProbabilityImpl Reliabiltiy Probability}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ReliabiltiyProbabilityImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getReliabiltiyProbability() - * @generated - */ - EClass RELIABILTIY_PROBABILITY = eINSTANCE.getReliabiltiyProbability(); - - /** - * The meta object literal for the 'Time' attribute feature. - * - * - * @generated - */ - EAttribute RELIABILTIY_PROBABILITY__TIME = eINSTANCE.getReliabiltiyProbability_Time(); - - /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MtffImpl Mtff}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MtffImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getMtff() - * @generated - */ - EClass MTFF = eINSTANCE.getMtff(); - /** * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ObjectiveDeclarationImpl Objective Declaration}' class. * diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/CftImport.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/CftImport.java deleted file mode 100644 index d0786961..00000000 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/CftImport.java +++ /dev/null @@ -1,52 +0,0 @@ -/** - * generated by Xtext 2.16.0 - */ -package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; - -import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftModel; - -/** - * - * A representation of the model object 'Cft Import'. - * - * - *

    - * The following features are supported: - *

    - *
      - *
    • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.CftImport#getImportedCft Imported Cft}
    • - *
    - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getCftImport() - * @model - * @generated - */ -public interface CftImport extends Import -{ - /** - * Returns the value of the 'Imported Cft' reference. - * - *

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

    - * - * @return the value of the 'Imported Cft' reference. - * @see #setImportedCft(CftModel) - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getCftImport_ImportedCft() - * @model - * @generated - */ - CftModel getImportedCft(); - - /** - * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.CftImport#getImportedCft Imported Cft}' reference. - * - * - * @param value the new value of the 'Imported Cft' reference. - * @see #getImportedCft() - * @generated - */ - void setImportedCft(CftModel value); - -} // CftImport 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 index f4ec06f0..46de07fa 100644 --- 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 @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; @@ -25,10 +25,6 @@ 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) diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ClassTypeScope.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ClassTypeScope.java index bd0b0e85..ca63c6f4 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ClassTypeScope.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ClassTypeScope.java @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; @@ -25,10 +25,6 @@ public interface ClassTypeScope extends TypeScope /** * 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(ClassReference) diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/Command.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/Command.java index 38d158df..be36addc 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/Command.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/Command.java @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ComparisonOperator.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ComparisonOperator.java index bee7c6e7..7a9a47d3 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ComparisonOperator.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ComparisonOperator.java @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; @@ -63,10 +63,6 @@ public enum ComparisonOperator implements Enumerator /** * The 'LESS' literal value. * - *

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

    * * @see #LESS * @model literal="<" @@ -78,10 +74,6 @@ public enum ComparisonOperator implements Enumerator /** * The 'GREATER' literal value. * - *

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

    * * @see #GREATER * @model literal=">" @@ -93,10 +85,6 @@ public enum ComparisonOperator implements Enumerator /** * The 'LESS EQUALS' literal value. * - *

    - * If the meaning of 'LESS EQUALS' literal object isn't clear, - * there really should be more of a description here... - *

    * * @see #LESS_EQUALS * @model literal="<=" @@ -108,10 +96,6 @@ public enum ComparisonOperator implements Enumerator /** * The 'GREATER EQUALS' literal value. * - *

    - * If the meaning of 'GREATER EQUALS' literal object isn't clear, - * there really should be more of a description here... - *

    * * @see #GREATER_EQUALS * @model literal=">=" 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 index 7b7f7509..80ac314f 100644 --- 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 @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; 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 index f4e83e1c..5d5e78c5 100644 --- 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 @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; @@ -25,10 +25,6 @@ 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) 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 index 9c3485bb..acd925f9 100644 --- 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 @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; 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 index b24bfd95..0367cc53 100644 --- 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 @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; @@ -25,10 +25,6 @@ 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) 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 index 2bc28898..ecf9f2a6 100644 --- 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 @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; @@ -27,10 +27,6 @@ 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() diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ConfigurationScript.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ConfigurationScript.java index b76f8a4f..14e0410d 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ConfigurationScript.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ConfigurationScript.java @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; @@ -30,10 +30,6 @@ public interface ConfigurationScript extends EObject * Returns the value of the 'Imports' containment reference list. * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Import}. * - *

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

    * * @return the value of the 'Imports' containment reference list. * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getConfigurationScript_Imports() @@ -46,10 +42,6 @@ public interface ConfigurationScript extends EObject * Returns the value of the 'Commands' containment reference list. * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Command}. * - *

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

    * * @return the value of the 'Commands' containment reference list. * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getConfigurationScript_Commands() diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/CostEntry.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/CostEntry.java index 6f9580ed..ca2565e3 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/CostEntry.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/CostEntry.java @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; @@ -27,10 +27,6 @@ public interface CostEntry extends EObject /** * Returns the value of the 'Pattern Element' containment reference. * - *

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

    * * @return the value of the 'Pattern Element' containment reference. * @see #setPatternElement(PatternElement) @@ -53,10 +49,6 @@ public interface CostEntry extends EObject /** * Returns the value of the 'Weight' attribute. * - *

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

    * * @return the value of the 'Weight' attribute. * @see #setWeight(int) diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/CostObjectiveFunction.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/CostObjectiveFunction.java index 041d8a04..6b62ff57 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/CostObjectiveFunction.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/CostObjectiveFunction.java @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; @@ -27,10 +27,6 @@ public interface CostObjectiveFunction extends ObjectiveFunction * Returns the value of the 'Entries' containment reference list. * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.CostEntry}. * - *

    - * 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#getCostObjectiveFunction_Entries() diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/CustomEntry.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/CustomEntry.java index d61ca6b9..27bc4e57 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/CustomEntry.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/CustomEntry.java @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; @@ -26,10 +26,6 @@ public interface CustomEntry extends ConfigEntry /** * 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) @@ -52,10 +48,6 @@ public interface CustomEntry extends ConfigEntry /** * 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) diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/Declaration.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/Declaration.java index 883ae250..2f97cdd2 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/Declaration.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/Declaration.java @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; @@ -25,10 +25,6 @@ public interface Declaration extends Command /** * Returns the value of the 'Name' attribute. * - *

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

    * * @return the value of the 'Name' attribute. * @see #setName(String) diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/DocumentLevelSpecification.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/DocumentLevelSpecification.java index fc0d1e8f..50e428a3 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/DocumentLevelSpecification.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/DocumentLevelSpecification.java @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; @@ -53,10 +53,6 @@ public enum DocumentLevelSpecification implements Enumerator /** * The 'None' literal value. * - *

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

    * * @see #NONE * @model name="none" @@ -68,10 +64,6 @@ public enum DocumentLevelSpecification implements Enumerator /** * The 'Normal' literal value. * - *

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

    * * @see #NORMAL * @model name="normal" @@ -83,10 +75,6 @@ public enum DocumentLevelSpecification implements Enumerator /** * The 'Full' literal value. * - *

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

    * * @see #FULL * @model name="full" diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/DocumentationEntry.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/DocumentationEntry.java index 599e3c03..4c33f644 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/DocumentationEntry.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/DocumentationEntry.java @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; @@ -26,10 +26,6 @@ public interface DocumentationEntry extends ConfigEntry * Returns the value of the 'Level' attribute. * The literals are from the enumeration {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.DocumentLevelSpecification}. * - *

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

    * * @return the value of the 'Level' attribute. * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.DocumentLevelSpecification diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/EPackageImport.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/EPackageImport.java index 9fe288d0..68af93fe 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/EPackageImport.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/EPackageImport.java @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; @@ -26,10 +26,6 @@ public interface EPackageImport extends Import /** * Returns the value of the 'Imported Package' reference. * - *

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

    * * @return the value of the 'Imported Package' reference. * @see #setImportedPackage(EPackage) diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ExactNumber.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ExactNumber.java index a818f6ef..0628d1e9 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ExactNumber.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ExactNumber.java @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; @@ -26,10 +26,6 @@ public interface ExactNumber extends NumberSpecification /** * Returns the value of the 'Exact Number' attribute. * - *

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

    * * @return the value of the 'Exact Number' attribute. * @see #setExactNumber(int) @@ -52,10 +48,6 @@ public interface ExactNumber extends NumberSpecification /** * Returns the value of the 'Exact Unlimited' attribute. * - *

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

    * * @return the value of the 'Exact Unlimited' attribute. * @see #setExactUnlimited(boolean) 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 index 6ac543e9..1b2f4246 100644 --- 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 @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; 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 index 266a5f3a..5e7c6cd5 100644 --- 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 @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; @@ -25,10 +25,6 @@ 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) 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 index 4263c762..e5c74e77 100644 --- 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 @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; @@ -25,10 +25,6 @@ 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) 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 index afcce59f..12764f93 100644 --- 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 @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; @@ -25,10 +25,6 @@ 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) 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 index 6d784b76..df4b0fab 100644 --- 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 @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; @@ -27,10 +27,6 @@ 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() 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 index b61d9907..ac9ba220 100644 --- 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 @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; @@ -39,10 +39,6 @@ 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) @@ -65,10 +61,6 @@ public interface GenerationTask extends Task /** * 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) @@ -91,10 +83,6 @@ public interface GenerationTask extends Task /** * 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) @@ -117,10 +105,6 @@ public interface GenerationTask extends Task /** * Returns the value of the 'Objectives' containment reference. * - *

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

    * * @return the value of the 'Objectives' containment reference. * @see #setObjectives(Objective) @@ -143,10 +127,6 @@ public interface GenerationTask extends Task /** * 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) @@ -169,10 +149,6 @@ public interface GenerationTask extends Task /** * Returns the value of the 'Number Specified' attribute. * - *

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

    * * @return the value of the 'Number Specified' attribute. * @see #setNumberSpecified(boolean) @@ -195,10 +171,6 @@ public interface GenerationTask extends Task /** * 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) @@ -221,10 +193,6 @@ public interface GenerationTask extends Task /** * Returns the value of the 'Run Specified' attribute. * - *

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

    * * @return the value of the 'Run Specified' attribute. * @see #setRunSpecified(boolean) @@ -247,10 +215,6 @@ public interface GenerationTask extends Task /** * 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) @@ -274,10 +238,6 @@ public interface GenerationTask extends Task * 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 @@ -302,10 +262,6 @@ public interface GenerationTask extends Task /** * 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) @@ -328,10 +284,6 @@ public interface GenerationTask extends Task /** * 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) @@ -354,10 +306,6 @@ public interface GenerationTask extends Task /** * 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) @@ -380,10 +328,6 @@ public interface GenerationTask extends Task /** * 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) @@ -406,10 +350,6 @@ public interface GenerationTask extends Task /** * 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) 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 index db01f2ce..d0ca4966 100644 --- 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 @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; 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 index 38bea9b2..c328e729 100644 --- 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 @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; @@ -25,10 +25,6 @@ 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) 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 index a52300a9..be8e405f 100644 --- 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 @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; @@ -25,10 +25,6 @@ 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) diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/Import.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/Import.java index efdb814f..63002849 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/Import.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/Import.java @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/IntEnumberation.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/IntEnumberation.java index 0af738f7..ffcce0a9 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/IntEnumberation.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/IntEnumberation.java @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; @@ -27,10 +27,6 @@ public interface IntEnumberation extends NumberSpecification * Returns the value of the 'Entry' attribute list. * The list contents are of type {@link java.lang.Integer}. * - *

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

    * * @return the value of the 'Entry' attribute list. * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getIntEnumberation_Entry() 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 index 5f102472..59298e95 100644 --- 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 @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; 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 index 048beac9..e31cb726 100644 --- 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 @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/IntegerTypeScope.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/IntegerTypeScope.java index 7528c942..f0393922 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/IntegerTypeScope.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/IntegerTypeScope.java @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; @@ -25,10 +25,6 @@ public interface IntegerTypeScope extends TypeScope /** * 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(IntegerReference) diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/IntervallNumber.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/IntervallNumber.java index 99434542..b1b3314f 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/IntervallNumber.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/IntervallNumber.java @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; @@ -27,10 +27,6 @@ public interface IntervallNumber extends NumberSpecification /** * 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) @@ -53,10 +49,6 @@ public interface IntervallNumber extends NumberSpecification /** * Returns the value of the 'Max Number' attribute. * - *

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

    * * @return the value of the 'Max Number' attribute. * @see #setMaxNumber(int) @@ -79,10 +71,6 @@ public interface IntervallNumber extends NumberSpecification /** * 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) diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/MemoryEntry.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/MemoryEntry.java index 48122822..52dcccbe 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/MemoryEntry.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/MemoryEntry.java @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; @@ -25,10 +25,6 @@ public interface MemoryEntry extends ConfigEntry /** * Returns the value of the 'Megabyte Limit' attribute. * - *

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

    * * @return the value of the 'Megabyte Limit' attribute. * @see #setMegabyteLimit(int) diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/Metamodel.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/Metamodel.java index 2d58c5de..63ccf2a4 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/Metamodel.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/Metamodel.java @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/MetamodelDeclaration.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/MetamodelDeclaration.java index e05a306e..0335c505 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/MetamodelDeclaration.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/MetamodelDeclaration.java @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; @@ -25,10 +25,6 @@ public interface MetamodelDeclaration 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(MetamodelSpecification) diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/MetamodelElement.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/MetamodelElement.java index d6ed6425..0a1f10c2 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/MetamodelElement.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/MetamodelElement.java @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; @@ -28,10 +28,6 @@ public interface MetamodelElement extends MetamodelEntry /** * Returns the value of the 'Classifier' reference. * - *

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

    * * @return the value of the 'Classifier' reference. * @see #setClassifier(EClassifier) @@ -54,10 +50,6 @@ public interface MetamodelElement extends MetamodelEntry /** * Returns the value of the 'Feature' reference. * - *

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

    * * @return the value of the 'Feature' reference. * @see #setFeature(ENamedElement) diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/MetamodelEntry.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/MetamodelEntry.java index 9a5e146e..3c271742 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/MetamodelEntry.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/MetamodelEntry.java @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; @@ -27,10 +27,6 @@ public interface MetamodelEntry 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(EPackage) diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/MetamodelReference.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/MetamodelReference.java index b28de27a..b0a9efc9 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/MetamodelReference.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/MetamodelReference.java @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; @@ -25,10 +25,6 @@ public interface MetamodelReference extends Metamodel /** * 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(MetamodelDeclaration) diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/MetamodelSpecification.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/MetamodelSpecification.java index b268bdff..40336e2c 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/MetamodelSpecification.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/MetamodelSpecification.java @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; @@ -27,10 +27,6 @@ public interface MetamodelSpecification extends Metamodel * Returns the value of the 'Entries' containment reference list. * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelEntry}. * - *

    - * 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#getMetamodelSpecification_Entries() 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 index 374e57c7..01a2e684 100644 --- 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 @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/Mtff.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/Mtff.java deleted file mode 100644 index 7206fa95..00000000 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/Mtff.java +++ /dev/null @@ -1,19 +0,0 @@ -/** - * generated by Xtext 2.16.0 - */ -package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; - - -/** - * - * A representation of the model object 'Mtff'. - * - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getMtff() - * @model - * @generated - */ -public interface Mtff extends ReliabilityObjectiveFunction -{ -} // Mtff diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/NumberSpecification.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/NumberSpecification.java index f8b29030..848e61f4 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/NumberSpecification.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/NumberSpecification.java @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; 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 index c5571c57..80628724 100644 --- 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 @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ObjectTypeScope.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ObjectTypeScope.java index 2f4fa8cc..868e68a0 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ObjectTypeScope.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ObjectTypeScope.java @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; @@ -25,10 +25,6 @@ public interface ObjectTypeScope extends TypeScope /** * 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(ObjectReference) diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/Objective.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/Objective.java index 9c58cf51..44b1f24e 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/Objective.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/Objective.java @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ObjectiveDeclaration.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ObjectiveDeclaration.java index 858896a8..6228e3f1 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ObjectiveDeclaration.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ObjectiveDeclaration.java @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; @@ -25,10 +25,6 @@ public interface ObjectiveDeclaration 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(ObjectiveSpecification) diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ObjectiveEntry.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ObjectiveEntry.java index f341b4cc..2f3406d1 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ObjectiveEntry.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ObjectiveEntry.java @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; @@ -26,10 +26,6 @@ public interface ObjectiveEntry extends EObject /** * Returns the value of the 'Function' containment reference. * - *

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

    * * @return the value of the 'Function' containment reference. * @see #setFunction(ObjectiveFunction) diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ObjectiveFunction.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ObjectiveFunction.java index d1617f69..312129b3 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ObjectiveFunction.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ObjectiveFunction.java @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ObjectiveReference.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ObjectiveReference.java index ed9a2f83..debfcfd8 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ObjectiveReference.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ObjectiveReference.java @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; @@ -25,10 +25,6 @@ public interface ObjectiveReference extends Objective /** * 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(ObjectiveDeclaration) diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ObjectiveSpecification.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ObjectiveSpecification.java index a812cf5c..6eb297cd 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ObjectiveSpecification.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ObjectiveSpecification.java @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; @@ -27,10 +27,6 @@ public interface ObjectiveSpecification extends Objective * Returns the value of the 'Entries' containment reference list. * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ObjectiveEntry}. * - *

    - * 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#getObjectiveSpecification_Entries() diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/OptimizationDirection.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/OptimizationDirection.java index 57068cb5..ca0ac9de 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/OptimizationDirection.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/OptimizationDirection.java @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; @@ -43,10 +43,6 @@ public enum OptimizationDirection implements Enumerator /** * The 'MINIMIZE' literal value. * - *

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

    * * @see #MINIMIZE * @model literal="minimize" @@ -58,10 +54,6 @@ public enum OptimizationDirection implements Enumerator /** * The 'MAXIMIZE' literal value. * - *

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

    * * @see #MAXIMIZE * @model literal="maximize" diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/OptimizationEntry.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/OptimizationEntry.java index 620ad50d..37f26633 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/OptimizationEntry.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/OptimizationEntry.java @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; @@ -26,10 +26,6 @@ public interface OptimizationEntry extends ObjectiveEntry * Returns the value of the 'Direction' attribute. * The literals are from the enumeration {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.OptimizationDirection}. * - *

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

    * * @return the value of the 'Direction' attribute. * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.OptimizationDirection 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 index ee7347db..02c75ebe 100644 --- 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 @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; 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 index 462813f5..dc67a0ca 100644 --- 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 @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; @@ -25,10 +25,6 @@ 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) 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 index d6ba400f..4dd548c8 100644 --- 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 @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; @@ -26,10 +26,6 @@ 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) 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 index 63e110d7..8fdd3414 100644 --- 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 @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; @@ -25,10 +25,6 @@ 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) 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 index fb54fb79..bea790ba 100644 --- 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 @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; @@ -27,10 +27,6 @@ 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() 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 index 8733deba..3460c009 100644 --- 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 @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; @@ -26,10 +26,6 @@ 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) 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 index 9a11ebcb..1f337644 100644 --- 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 @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; @@ -28,10 +28,6 @@ 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) 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 index 98499d06..05dfcb33 100644 --- 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 @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; @@ -27,10 +27,6 @@ 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() diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/RealEnumeration.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/RealEnumeration.java index 4653d704..5b6bbef7 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/RealEnumeration.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/RealEnumeration.java @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; @@ -29,10 +29,6 @@ public interface RealEnumeration extends NumberSpecification * Returns the value of the 'Entry' attribute list. * The list contents are of type {@link java.math.BigDecimal}. * - *

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

    * * @return the value of the 'Entry' attribute list. * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getRealEnumeration_Entry() 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 index 55f3eff8..8da7e2f9 100644 --- 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 @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; 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 index e24bf15d..c801bdbc 100644 --- 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 @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/RealTypeScope.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/RealTypeScope.java index e51d5e3a..946452c5 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/RealTypeScope.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/RealTypeScope.java @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; @@ -25,10 +25,6 @@ public interface RealTypeScope extends TypeScope /** * 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(RealReference) diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ReliabilityObjectiveFunction.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ReliabilityObjectiveFunction.java deleted file mode 100644 index 0b7a34bd..00000000 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ReliabilityObjectiveFunction.java +++ /dev/null @@ -1,80 +0,0 @@ -/** - * generated by Xtext 2.16.0 - */ -package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; - -import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftModel; -import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.TransformationDefinition; - -/** - * - * A representation of the model object 'Reliability Objective Function'. - * - * - *

    - * The following features are supported: - *

    - *
      - *
    • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ReliabilityObjectiveFunction#getPackage Package}
    • - *
    • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ReliabilityObjectiveFunction#getTransformation Transformation}
    • - *
    - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getReliabilityObjectiveFunction() - * @model - * @generated - */ -public interface ReliabilityObjectiveFunction extends ObjectiveFunction -{ - /** - * 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(CftModel) - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getReliabilityObjectiveFunction_Package() - * @model - * @generated - */ - CftModel getPackage(); - - /** - * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ReliabilityObjectiveFunction#getPackage Package}' reference. - * - * - * @param value the new value of the 'Package' reference. - * @see #getPackage() - * @generated - */ - void setPackage(CftModel value); - - /** - * Returns the value of the 'Transformation' reference. - * - *

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

    - * - * @return the value of the 'Transformation' reference. - * @see #setTransformation(TransformationDefinition) - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getReliabilityObjectiveFunction_Transformation() - * @model - * @generated - */ - TransformationDefinition getTransformation(); - - /** - * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ReliabilityObjectiveFunction#getTransformation Transformation}' reference. - * - * - * @param value the new value of the 'Transformation' reference. - * @see #getTransformation() - * @generated - */ - void setTransformation(TransformationDefinition value); - -} // ReliabilityObjectiveFunction diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ReliabiltiyProbability.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ReliabiltiyProbability.java deleted file mode 100644 index 42c895ec..00000000 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ReliabiltiyProbability.java +++ /dev/null @@ -1,52 +0,0 @@ -/** - * generated by Xtext 2.16.0 - */ -package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; - -import java.math.BigDecimal; - -/** - * - * A representation of the model object 'Reliabiltiy Probability'. - * - * - *

    - * The following features are supported: - *

    - *
      - *
    • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ReliabiltiyProbability#getTime Time}
    • - *
    - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getReliabiltiyProbability() - * @model - * @generated - */ -public interface ReliabiltiyProbability extends ReliabilityObjectiveFunction -{ - /** - * Returns the value of the 'Time' attribute. - * - *

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

    - * - * @return the value of the 'Time' attribute. - * @see #setTime(BigDecimal) - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getReliabiltiyProbability_Time() - * @model - * @generated - */ - BigDecimal getTime(); - - /** - * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ReliabiltiyProbability#getTime Time}' attribute. - * - * - * @param value the new value of the 'Time' attribute. - * @see #getTime() - * @generated - */ - void setTime(BigDecimal value); - -} // ReliabiltiyProbability diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/RuntimeEntry.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/RuntimeEntry.java index fc847a8a..96386943 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/RuntimeEntry.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/RuntimeEntry.java @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; @@ -25,10 +25,6 @@ public interface RuntimeEntry extends ConfigEntry /** * Returns the value of the 'Millisec Limit' attribute. * - *

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

    * * @return the value of the 'Millisec Limit' attribute. * @see #setMillisecLimit(int) 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 index ba2fafef..8ae0eac9 100644 --- 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 @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; 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 index 03f012b6..8caa47ce 100644 --- 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 @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; @@ -25,10 +25,6 @@ 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) 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 index 585eec5b..cdeaea7d 100644 --- 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 @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; @@ -25,10 +25,6 @@ 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) 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 index 69931c62..d37fa099 100644 --- 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 @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; @@ -27,10 +27,6 @@ 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() 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 index 9bd03568..b61e6832 100644 --- 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 @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; @@ -53,10 +53,6 @@ public enum Solver implements Enumerator /** * 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" @@ -68,10 +64,6 @@ public enum Solver implements Enumerator /** * 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" @@ -83,10 +75,6 @@ public enum Solver implements Enumerator /** * 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" diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/StringEnumeration.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/StringEnumeration.java index cc0ac732..df0119cb 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/StringEnumeration.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/StringEnumeration.java @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; @@ -27,10 +27,6 @@ public interface StringEnumeration extends NumberSpecification * Returns the value of the 'Entry' attribute list. * The list contents are of type {@link java.lang.String}. * - *

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

    * * @return the value of the 'Entry' attribute list. * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getStringEnumeration_Entry() 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 index 88e27a11..f9dbb308 100644 --- 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 @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; 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 index fadc32a1..10c9b8c1 100644 --- 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 @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/StringTypeScope.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/StringTypeScope.java index 6f60ac3b..2264ce44 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/StringTypeScope.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/StringTypeScope.java @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; @@ -25,10 +25,6 @@ public interface StringTypeScope extends TypeScope /** * 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(StringReference) 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 index 82708c1b..9df32d82 100644 --- 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 @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ThresholdEntry.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ThresholdEntry.java index 1f90715e..d521b872 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ThresholdEntry.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ThresholdEntry.java @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; @@ -28,10 +28,6 @@ public interface ThresholdEntry extends ObjectiveEntry * Returns the value of the 'Operator' attribute. * The literals are from the enumeration {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ComparisonOperator}. * - *

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

    * * @return the value of the 'Operator' attribute. * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ComparisonOperator @@ -56,10 +52,6 @@ public interface ThresholdEntry extends ObjectiveEntry /** * Returns the value of the 'Threshold' attribute. * - *

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

    * * @return the value of the 'Threshold' attribute. * @see #setThreshold(BigDecimal) 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 index e98baba7..82499145 100644 --- 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 @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; 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 index 0fd2f53a..5e133c80 100644 --- 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 @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; @@ -28,10 +28,6 @@ public interface TypeScope extends EObject /** * 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) @@ -54,10 +50,6 @@ public interface TypeScope extends EObject /** * 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) @@ -80,10 +72,6 @@ public interface TypeScope extends EObject /** * Returns the value of the 'Number' containment reference. * - *

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

    * * @return the value of the 'Number' containment reference. * @see #setNumber(NumberSpecification) diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ViatraImport.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ViatraImport.java index 59d46690..26a440d7 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ViatraImport.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ViatraImport.java @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; @@ -26,10 +26,6 @@ public interface ViatraImport extends Import /** * Returns the value of the 'Imported Viatra' reference. * - *

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

    * * @return the value of the 'Imported Viatra' reference. * @see #setImportedViatra(PatternModel) diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/AllPackageEntryImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/AllPackageEntryImpl.java index 1778e18f..6dcaabda 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/AllPackageEntryImpl.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/AllPackageEntryImpl.java @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; 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 index a5f19b8b..69529bad 100644 --- 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 @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ApplicationConfigurationFactoryImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ApplicationConfigurationFactoryImpl.java index 77ff05e8..dbd717e5 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ApplicationConfigurationFactoryImpl.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ApplicationConfigurationFactoryImpl.java @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; @@ -71,7 +71,6 @@ public class ApplicationConfigurationFactoryImpl extends EFactoryImpl implements case ApplicationConfigurationPackage.IMPORT: return createImport(); case ApplicationConfigurationPackage.EPACKAGE_IMPORT: return createEPackageImport(); case ApplicationConfigurationPackage.VIATRA_IMPORT: return createViatraImport(); - case ApplicationConfigurationPackage.CFT_IMPORT: return createCftImport(); case ApplicationConfigurationPackage.DECLARATION: return createDeclaration(); case ApplicationConfigurationPackage.FILE_SPECIFICATION: return createFileSpecification(); case ApplicationConfigurationPackage.FILE_DECLARATION: return createFileDeclaration(); @@ -105,9 +104,6 @@ public class ApplicationConfigurationFactoryImpl extends EFactoryImpl implements case ApplicationConfigurationPackage.OBJECTIVE_FUNCTION: return createObjectiveFunction(); case ApplicationConfigurationPackage.COST_OBJECTIVE_FUNCTION: return createCostObjectiveFunction(); case ApplicationConfigurationPackage.COST_ENTRY: return createCostEntry(); - case ApplicationConfigurationPackage.RELIABILITY_OBJECTIVE_FUNCTION: return createReliabilityObjectiveFunction(); - case ApplicationConfigurationPackage.RELIABILTIY_PROBABILITY: return createReliabiltiyProbability(); - case ApplicationConfigurationPackage.MTFF: return createMtff(); case ApplicationConfigurationPackage.OBJECTIVE_DECLARATION: return createObjectiveDeclaration(); case ApplicationConfigurationPackage.OBJECTIVE_REFERENCE: return createObjectiveReference(); case ApplicationConfigurationPackage.OBJECTIVE: return createObjective(); @@ -258,18 +254,6 @@ public class ApplicationConfigurationFactoryImpl extends EFactoryImpl implements return viatraImport; } - /** - * - * - * @generated - */ - @Override - public CftImport createCftImport() - { - CftImportImpl cftImport = new CftImportImpl(); - return cftImport; - } - /** * * @@ -666,42 +650,6 @@ public class ApplicationConfigurationFactoryImpl extends EFactoryImpl implements return costEntry; } - /** - * - * - * @generated - */ - @Override - public ReliabilityObjectiveFunction createReliabilityObjectiveFunction() - { - ReliabilityObjectiveFunctionImpl reliabilityObjectiveFunction = new ReliabilityObjectiveFunctionImpl(); - return reliabilityObjectiveFunction; - } - - /** - * - * - * @generated - */ - @Override - public ReliabiltiyProbability createReliabiltiyProbability() - { - ReliabiltiyProbabilityImpl reliabiltiyProbability = new ReliabiltiyProbabilityImpl(); - return reliabiltiyProbability; - } - - /** - * - * - * @generated - */ - @Override - public Mtff createMtff() - { - MtffImpl mtff = new MtffImpl(); - return mtff; - } - /** * * 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 7f2bee5b..42ac7d67 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 @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; @@ -7,7 +7,6 @@ import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.AllPackag import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.AllPatternEntry; import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationFactory; import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage; -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.CftImport; import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ClassReference; import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ClassTypeScope; import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Command; @@ -49,7 +48,6 @@ import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Metamodel import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelReference; import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelSpecification; import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ModelEntry; -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Mtff; import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.NumberSpecification; import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ObjectReference; import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ObjectTypeScope; @@ -73,8 +71,6 @@ import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RealEnume import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RealReference; import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RealScope; import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RealTypeScope; -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ReliabilityObjectiveFunction; -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ReliabiltiyProbability; import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RuntimeEntry; import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Scope; import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ScopeDeclaration; @@ -91,12 +87,6 @@ import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeRefer import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeScope; import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ViatraImport; -import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage; - -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage; - -import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtPackage; - import org.eclipse.emf.ecore.EAttribute; import org.eclipse.emf.ecore.EClass; import org.eclipse.emf.ecore.EEnum; @@ -157,13 +147,6 @@ public class ApplicationConfigurationPackageImpl extends EPackageImpl implements */ private EClass viatraImportEClass = null; - /** - * - * - * @generated - */ - private EClass cftImportEClass = null; - /** * * @@ -395,27 +378,6 @@ public class ApplicationConfigurationPackageImpl extends EPackageImpl implements */ private EClass costEntryEClass = null; - /** - * - * - * @generated - */ - private EClass reliabilityObjectiveFunctionEClass = null; - - /** - * - * - * @generated - */ - private EClass reliabiltiyProbabilityEClass = null; - - /** - * - * - * @generated - */ - private EClass mtffEClass = null; - /** * * @@ -767,14 +729,11 @@ public class ApplicationConfigurationPackageImpl extends EPackageImpl implements isInited = true; // Initialize simple dependencies - CftLanguagePackage.eINSTANCE.eClass(); EcorePackage.eINSTANCE.eClass(); PatternLanguagePackage.eINSTANCE.eClass(); - CftPackage.eINSTANCE.eClass(); XtypePackage.eINSTANCE.eClass(); TypesPackage.eINSTANCE.eClass(); XbasePackage.eINSTANCE.eClass(); - FtPackage.eINSTANCE.eClass(); // Create package meta-data objects theApplicationConfigurationPackage.createPackageContents(); @@ -889,28 +848,6 @@ public class ApplicationConfigurationPackageImpl extends EPackageImpl implements return (EReference)viatraImportEClass.getEStructuralFeatures().get(0); } - /** - * - * - * @generated - */ - @Override - public EClass getCftImport() - { - return cftImportEClass; - } - - /** - * - * - * @generated - */ - @Override - public EReference getCftImport_ImportedCft() - { - return (EReference)cftImportEClass.getEStructuralFeatures().get(0); - } - /** * * @@ -1604,72 +1541,6 @@ public class ApplicationConfigurationPackageImpl extends EPackageImpl implements return (EAttribute)costEntryEClass.getEStructuralFeatures().get(1); } - /** - * - * - * @generated - */ - @Override - public EClass getReliabilityObjectiveFunction() - { - return reliabilityObjectiveFunctionEClass; - } - - /** - * - * - * @generated - */ - @Override - public EReference getReliabilityObjectiveFunction_Package() - { - return (EReference)reliabilityObjectiveFunctionEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EReference getReliabilityObjectiveFunction_Transformation() - { - return (EReference)reliabilityObjectiveFunctionEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - @Override - public EClass getReliabiltiyProbability() - { - return reliabiltiyProbabilityEClass; - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getReliabiltiyProbability_Time() - { - return (EAttribute)reliabiltiyProbabilityEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EClass getMtff() - { - return mtffEClass; - } - /** * * @@ -2683,9 +2554,6 @@ public class ApplicationConfigurationPackageImpl extends EPackageImpl implements viatraImportEClass = createEClass(VIATRA_IMPORT); createEReference(viatraImportEClass, VIATRA_IMPORT__IMPORTED_VIATRA); - cftImportEClass = createEClass(CFT_IMPORT); - createEReference(cftImportEClass, CFT_IMPORT__IMPORTED_CFT); - declarationEClass = createEClass(DECLARATION); createEAttribute(declarationEClass, DECLARATION__NAME); @@ -2782,15 +2650,6 @@ public class ApplicationConfigurationPackageImpl extends EPackageImpl implements createEReference(costEntryEClass, COST_ENTRY__PATTERN_ELEMENT); createEAttribute(costEntryEClass, COST_ENTRY__WEIGHT); - reliabilityObjectiveFunctionEClass = createEClass(RELIABILITY_OBJECTIVE_FUNCTION); - createEReference(reliabilityObjectiveFunctionEClass, RELIABILITY_OBJECTIVE_FUNCTION__PACKAGE); - createEReference(reliabilityObjectiveFunctionEClass, RELIABILITY_OBJECTIVE_FUNCTION__TRANSFORMATION); - - reliabiltiyProbabilityEClass = createEClass(RELIABILTIY_PROBABILITY); - createEAttribute(reliabiltiyProbabilityEClass, RELIABILTIY_PROBABILITY__TIME); - - mtffEClass = createEClass(MTFF); - objectiveDeclarationEClass = createEClass(OBJECTIVE_DECLARATION); createEReference(objectiveDeclarationEClass, OBJECTIVE_DECLARATION__SPECIFICATION); @@ -2948,7 +2807,6 @@ public class ApplicationConfigurationPackageImpl extends EPackageImpl implements // Obtain other dependent packages EcorePackage theEcorePackage = (EcorePackage)EPackage.Registry.INSTANCE.getEPackage(EcorePackage.eNS_URI); PatternLanguagePackage thePatternLanguagePackage = (PatternLanguagePackage)EPackage.Registry.INSTANCE.getEPackage(PatternLanguagePackage.eNS_URI); - CftLanguagePackage theCftLanguagePackage = (CftLanguagePackage)EPackage.Registry.INSTANCE.getEPackage(CftLanguagePackage.eNS_URI); // Create type parameters @@ -2957,7 +2815,6 @@ public class ApplicationConfigurationPackageImpl extends EPackageImpl implements // Add supertypes to classes ePackageImportEClass.getESuperTypes().add(this.getImport()); viatraImportEClass.getESuperTypes().add(this.getImport()); - cftImportEClass.getESuperTypes().add(this.getImport()); declarationEClass.getESuperTypes().add(this.getCommand()); fileSpecificationEClass.getESuperTypes().add(this.getFile()); fileDeclarationEClass.getESuperTypes().add(this.getDeclaration()); @@ -2981,9 +2838,6 @@ public class ApplicationConfigurationPackageImpl extends EPackageImpl implements optimizationEntryEClass.getESuperTypes().add(this.getObjectiveEntry()); thresholdEntryEClass.getESuperTypes().add(this.getObjectiveEntry()); costObjectiveFunctionEClass.getESuperTypes().add(this.getObjectiveFunction()); - reliabilityObjectiveFunctionEClass.getESuperTypes().add(this.getObjectiveFunction()); - reliabiltiyProbabilityEClass.getESuperTypes().add(this.getReliabilityObjectiveFunction()); - mtffEClass.getESuperTypes().add(this.getReliabilityObjectiveFunction()); objectiveDeclarationEClass.getESuperTypes().add(this.getDeclaration()); objectiveReferenceEClass.getESuperTypes().add(this.getObjective()); configSpecificationEClass.getESuperTypes().add(this.getConfig()); @@ -3032,9 +2886,6 @@ public class ApplicationConfigurationPackageImpl extends EPackageImpl implements initEClass(viatraImportEClass, ViatraImport.class, "ViatraImport", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEReference(getViatraImport_ImportedViatra(), thePatternLanguagePackage.getPatternModel(), null, "importedViatra", null, 0, 1, ViatraImport.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEClass(cftImportEClass, CftImport.class, "CftImport", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getCftImport_ImportedCft(), theCftLanguagePackage.getCftModel(), null, "importedCft", null, 0, 1, CftImport.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEClass(declarationEClass, Declaration.class, "Declaration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEAttribute(getDeclaration_Name(), theEcorePackage.getEString(), "name", null, 0, 1, Declaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); @@ -3131,15 +2982,6 @@ public class ApplicationConfigurationPackageImpl extends EPackageImpl implements initEReference(getCostEntry_PatternElement(), this.getPatternElement(), null, "patternElement", null, 0, 1, CostEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getCostEntry_Weight(), theEcorePackage.getEInt(), "weight", null, 0, 1, CostEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEClass(reliabilityObjectiveFunctionEClass, ReliabilityObjectiveFunction.class, "ReliabilityObjectiveFunction", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getReliabilityObjectiveFunction_Package(), theCftLanguagePackage.getCftModel(), null, "package", null, 0, 1, ReliabilityObjectiveFunction.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getReliabilityObjectiveFunction_Transformation(), theCftLanguagePackage.getTransformationDefinition(), null, "transformation", null, 0, 1, ReliabilityObjectiveFunction.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(reliabiltiyProbabilityEClass, ReliabiltiyProbability.class, "ReliabiltiyProbability", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getReliabiltiyProbability_Time(), theEcorePackage.getEBigDecimal(), "time", null, 0, 1, ReliabiltiyProbability.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(mtffEClass, Mtff.class, "Mtff", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEClass(objectiveDeclarationEClass, ObjectiveDeclaration.class, "ObjectiveDeclaration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEReference(getObjectiveDeclaration_Specification(), this.getObjectiveSpecification(), null, "specification", null, 0, 1, ObjectiveDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/CftImportImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/CftImportImpl.java deleted file mode 100644 index 35a0ecf1..00000000 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/CftImportImpl.java +++ /dev/null @@ -1,176 +0,0 @@ -/** - * generated by Xtext 2.16.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.CftImport; - -import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftModel; - -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 'Cft Import'. - * - *

    - * The following features are implemented: - *

    - *
      - *
    • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.CftImportImpl#getImportedCft Imported Cft}
    • - *
    - * - * @generated - */ -public class CftImportImpl extends ImportImpl implements CftImport -{ - /** - * The cached value of the '{@link #getImportedCft() Imported Cft}' reference. - * - * - * @see #getImportedCft() - * @generated - * @ordered - */ - protected CftModel importedCft; - - /** - * - * - * @generated - */ - protected CftImportImpl() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return ApplicationConfigurationPackage.Literals.CFT_IMPORT; - } - - /** - * - * - * @generated - */ - @Override - public CftModel getImportedCft() - { - if (importedCft != null && importedCft.eIsProxy()) - { - InternalEObject oldImportedCft = (InternalEObject)importedCft; - importedCft = (CftModel)eResolveProxy(oldImportedCft); - if (importedCft != oldImportedCft) - { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, ApplicationConfigurationPackage.CFT_IMPORT__IMPORTED_CFT, oldImportedCft, importedCft)); - } - } - return importedCft; - } - - /** - * - * - * @generated - */ - public CftModel basicGetImportedCft() - { - return importedCft; - } - - /** - * - * - * @generated - */ - @Override - public void setImportedCft(CftModel newImportedCft) - { - CftModel oldImportedCft = importedCft; - importedCft = newImportedCft; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.CFT_IMPORT__IMPORTED_CFT, oldImportedCft, importedCft)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case ApplicationConfigurationPackage.CFT_IMPORT__IMPORTED_CFT: - if (resolve) return getImportedCft(); - return basicGetImportedCft(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case ApplicationConfigurationPackage.CFT_IMPORT__IMPORTED_CFT: - setImportedCft((CftModel)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case ApplicationConfigurationPackage.CFT_IMPORT__IMPORTED_CFT: - setImportedCft((CftModel)null); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case ApplicationConfigurationPackage.CFT_IMPORT__IMPORTED_CFT: - return importedCft != null; - } - return super.eIsSet(featureID); - } - -} //CftImportImpl 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 index c494d41d..58f60975 100644 --- 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 @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ClassTypeScopeImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ClassTypeScopeImpl.java index 6bcb3cc4..a208a95e 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ClassTypeScopeImpl.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ClassTypeScopeImpl.java @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/CommandImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/CommandImpl.java index 7548406e..a0346069 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/CommandImpl.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/CommandImpl.java @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; 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 index 3fd099db..4db2615e 100644 --- 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 @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; 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 index 09144917..d0d9bc9a 100644 --- 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 @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; 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 index cc2982f7..7cb48be6 100644 --- 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 @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; 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 index ee829926..4ee8cab8 100644 --- 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 @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; 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 index c5426c35..f419e451 100644 --- 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 @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ConfigurationScriptImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ConfigurationScriptImpl.java index c147407d..0b220913 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ConfigurationScriptImpl.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ConfigurationScriptImpl.java @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/CostEntryImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/CostEntryImpl.java index 892df6f5..623b03d0 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/CostEntryImpl.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/CostEntryImpl.java @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/CostObjectiveFunctionImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/CostObjectiveFunctionImpl.java index bdabbb69..b053191d 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/CostObjectiveFunctionImpl.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/CostObjectiveFunctionImpl.java @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/CustomEntryImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/CustomEntryImpl.java index 45c4d4ea..8814ff7c 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/CustomEntryImpl.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/CustomEntryImpl.java @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/DeclarationImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/DeclarationImpl.java index 28f8f9ae..8ce91ebb 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/DeclarationImpl.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/DeclarationImpl.java @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/DocumentationEntryImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/DocumentationEntryImpl.java index d5a10833..8db0b730 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/DocumentationEntryImpl.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/DocumentationEntryImpl.java @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/EPackageImportImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/EPackageImportImpl.java index b7416c44..bb56f86a 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/EPackageImportImpl.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/EPackageImportImpl.java @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ExactNumberImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ExactNumberImpl.java index 359ad5b9..4a4e9d81 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ExactNumberImpl.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ExactNumberImpl.java @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; 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 index 511a24d5..012f50f8 100644 --- 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 @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; 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 index a79ce222..7771bbe6 100644 --- 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 @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; 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 index 72c8946c..fd63024f 100644 --- 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 @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; 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 index e6f123e1..e1dece10 100644 --- 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 @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; 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 index dbaad93e..d45a3dad 100644 --- 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 @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; 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 index c9fe167f..31353783 100644 --- 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 @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; 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 index a6268299..2ffdfcf3 100644 --- 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 @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; 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 index 33778d68..38cadbab 100644 --- 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 @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; 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 index 235dd069..31c486e2 100644 --- 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 @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ImportImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ImportImpl.java index 83165b02..1b24fa75 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ImportImpl.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ImportImpl.java @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/IntEnumberationImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/IntEnumberationImpl.java index 27427fc4..4636e5fb 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/IntEnumberationImpl.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/IntEnumberationImpl.java @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; 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 index 894c5af8..e8169503 100644 --- 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 @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; 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 index 65a1d572..951796dc 100644 --- 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 @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/IntegerTypeScopeImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/IntegerTypeScopeImpl.java index 61428e72..9ba86185 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/IntegerTypeScopeImpl.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/IntegerTypeScopeImpl.java @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/IntervallNumberImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/IntervallNumberImpl.java index ad784f8e..b39f4692 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/IntervallNumberImpl.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/IntervallNumberImpl.java @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/MemoryEntryImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/MemoryEntryImpl.java index 5c76cad2..d7341660 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/MemoryEntryImpl.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/MemoryEntryImpl.java @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/MetamodelDeclarationImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/MetamodelDeclarationImpl.java index bfa1ebee..710bd870 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/MetamodelDeclarationImpl.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/MetamodelDeclarationImpl.java @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/MetamodelElementImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/MetamodelElementImpl.java index 08591722..08488bf2 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/MetamodelElementImpl.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/MetamodelElementImpl.java @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/MetamodelEntryImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/MetamodelEntryImpl.java index b3eb49a1..b4b04991 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/MetamodelEntryImpl.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/MetamodelEntryImpl.java @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/MetamodelImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/MetamodelImpl.java index 899e1c19..c6a78baf 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/MetamodelImpl.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/MetamodelImpl.java @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/MetamodelReferenceImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/MetamodelReferenceImpl.java index 2e69e24b..4b9ee2d3 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/MetamodelReferenceImpl.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/MetamodelReferenceImpl.java @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/MetamodelSpecificationImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/MetamodelSpecificationImpl.java index f8aaae1c..d6704d3d 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/MetamodelSpecificationImpl.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/MetamodelSpecificationImpl.java @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; 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 index c7f2b6ec..820cfd60 100644 --- 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 @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/MtffImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/MtffImpl.java deleted file mode 100644 index aeeacd58..00000000 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/MtffImpl.java +++ /dev/null @@ -1,41 +0,0 @@ -/** - * generated by Xtext 2.16.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.Mtff; - -import org.eclipse.emf.ecore.EClass; - -/** - * - * An implementation of the model object 'Mtff'. - * - * - * @generated - */ -public class MtffImpl extends ReliabilityObjectiveFunctionImpl implements Mtff -{ - /** - * - * - * @generated - */ - protected MtffImpl() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return ApplicationConfigurationPackage.Literals.MTFF; - } - -} //MtffImpl diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/NumberSpecificationImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/NumberSpecificationImpl.java index 853bb539..496bce22 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/NumberSpecificationImpl.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/NumberSpecificationImpl.java @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; 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 index a61feb62..90b0c966 100644 --- 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 @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ObjectTypeScopeImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ObjectTypeScopeImpl.java index 7aa64823..8ff52439 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ObjectTypeScopeImpl.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ObjectTypeScopeImpl.java @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ObjectiveDeclarationImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ObjectiveDeclarationImpl.java index b705144c..06621785 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ObjectiveDeclarationImpl.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ObjectiveDeclarationImpl.java @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ObjectiveEntryImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ObjectiveEntryImpl.java index 4e339a15..ee5fd956 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ObjectiveEntryImpl.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ObjectiveEntryImpl.java @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ObjectiveFunctionImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ObjectiveFunctionImpl.java index 33f252be..b9530465 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ObjectiveFunctionImpl.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ObjectiveFunctionImpl.java @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ObjectiveImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ObjectiveImpl.java index 2307f88a..084f9e9f 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ObjectiveImpl.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ObjectiveImpl.java @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ObjectiveReferenceImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ObjectiveReferenceImpl.java index e207ef22..dcd79e1d 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ObjectiveReferenceImpl.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ObjectiveReferenceImpl.java @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ObjectiveSpecificationImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ObjectiveSpecificationImpl.java index 2ae968a1..9270a2cf 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ObjectiveSpecificationImpl.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ObjectiveSpecificationImpl.java @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/OptimizationEntryImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/OptimizationEntryImpl.java index a4561862..a7ad5928 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/OptimizationEntryImpl.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/OptimizationEntryImpl.java @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; 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 index ce69472e..5503dc77 100644 --- 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 @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; 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 index 3bcaec12..c481e1b7 100644 --- 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 @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; 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 index b50d6698..5cba4ed5 100644 --- 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 @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; 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 index 4384b273..cbfd5c70 100644 --- 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 @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; 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 index 79c1c236..bb797cbf 100644 --- 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 @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; 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 index b39866b8..ae9bb0c4 100644 --- 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 @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; 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 index 56fa0313..af9bfb78 100644 --- 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 @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; 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 index eb1be0e0..15f85a92 100644 --- 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 @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/RealEnumerationImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/RealEnumerationImpl.java index a14762a6..a0b114c2 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/RealEnumerationImpl.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/RealEnumerationImpl.java @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; 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 index 9f879728..80921cb3 100644 --- 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 @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; 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 index b7efecba..780293af 100644 --- 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 @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/RealTypeScopeImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/RealTypeScopeImpl.java index 5c39a98e..53870133 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/RealTypeScopeImpl.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/RealTypeScopeImpl.java @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ReliabilityObjectiveFunctionImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ReliabilityObjectiveFunctionImpl.java deleted file mode 100644 index d0008224..00000000 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ReliabilityObjectiveFunctionImpl.java +++ /dev/null @@ -1,244 +0,0 @@ -/** - * generated by Xtext 2.16.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.ReliabilityObjectiveFunction; - -import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftModel; -import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.TransformationDefinition; - -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 'Reliability Objective Function'. - * - *

    - * The following features are implemented: - *

    - *
      - *
    • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ReliabilityObjectiveFunctionImpl#getPackage Package}
    • - *
    • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ReliabilityObjectiveFunctionImpl#getTransformation Transformation}
    • - *
    - * - * @generated - */ -public class ReliabilityObjectiveFunctionImpl extends ObjectiveFunctionImpl implements ReliabilityObjectiveFunction -{ - /** - * The cached value of the '{@link #getPackage() Package}' reference. - * - * - * @see #getPackage() - * @generated - * @ordered - */ - protected CftModel package_; - - /** - * The cached value of the '{@link #getTransformation() Transformation}' reference. - * - * - * @see #getTransformation() - * @generated - * @ordered - */ - protected TransformationDefinition transformation; - - /** - * - * - * @generated - */ - protected ReliabilityObjectiveFunctionImpl() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return ApplicationConfigurationPackage.Literals.RELIABILITY_OBJECTIVE_FUNCTION; - } - - /** - * - * - * @generated - */ - @Override - public CftModel getPackage() - { - if (package_ != null && package_.eIsProxy()) - { - InternalEObject oldPackage = (InternalEObject)package_; - package_ = (CftModel)eResolveProxy(oldPackage); - if (package_ != oldPackage) - { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, ApplicationConfigurationPackage.RELIABILITY_OBJECTIVE_FUNCTION__PACKAGE, oldPackage, package_)); - } - } - return package_; - } - - /** - * - * - * @generated - */ - public CftModel basicGetPackage() - { - return package_; - } - - /** - * - * - * @generated - */ - @Override - public void setPackage(CftModel newPackage) - { - CftModel oldPackage = package_; - package_ = newPackage; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.RELIABILITY_OBJECTIVE_FUNCTION__PACKAGE, oldPackage, package_)); - } - - /** - * - * - * @generated - */ - @Override - public TransformationDefinition getTransformation() - { - if (transformation != null && transformation.eIsProxy()) - { - InternalEObject oldTransformation = (InternalEObject)transformation; - transformation = (TransformationDefinition)eResolveProxy(oldTransformation); - if (transformation != oldTransformation) - { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, ApplicationConfigurationPackage.RELIABILITY_OBJECTIVE_FUNCTION__TRANSFORMATION, oldTransformation, transformation)); - } - } - return transformation; - } - - /** - * - * - * @generated - */ - public TransformationDefinition basicGetTransformation() - { - return transformation; - } - - /** - * - * - * @generated - */ - @Override - public void setTransformation(TransformationDefinition newTransformation) - { - TransformationDefinition oldTransformation = transformation; - transformation = newTransformation; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.RELIABILITY_OBJECTIVE_FUNCTION__TRANSFORMATION, oldTransformation, transformation)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case ApplicationConfigurationPackage.RELIABILITY_OBJECTIVE_FUNCTION__PACKAGE: - if (resolve) return getPackage(); - return basicGetPackage(); - case ApplicationConfigurationPackage.RELIABILITY_OBJECTIVE_FUNCTION__TRANSFORMATION: - if (resolve) return getTransformation(); - return basicGetTransformation(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case ApplicationConfigurationPackage.RELIABILITY_OBJECTIVE_FUNCTION__PACKAGE: - setPackage((CftModel)newValue); - return; - case ApplicationConfigurationPackage.RELIABILITY_OBJECTIVE_FUNCTION__TRANSFORMATION: - setTransformation((TransformationDefinition)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case ApplicationConfigurationPackage.RELIABILITY_OBJECTIVE_FUNCTION__PACKAGE: - setPackage((CftModel)null); - return; - case ApplicationConfigurationPackage.RELIABILITY_OBJECTIVE_FUNCTION__TRANSFORMATION: - setTransformation((TransformationDefinition)null); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case ApplicationConfigurationPackage.RELIABILITY_OBJECTIVE_FUNCTION__PACKAGE: - return package_ != null; - case ApplicationConfigurationPackage.RELIABILITY_OBJECTIVE_FUNCTION__TRANSFORMATION: - return transformation != null; - } - return super.eIsSet(featureID); - } - -} //ReliabilityObjectiveFunctionImpl diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ReliabiltiyProbabilityImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ReliabiltiyProbabilityImpl.java deleted file mode 100644 index b1940e3d..00000000 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ReliabiltiyProbabilityImpl.java +++ /dev/null @@ -1,181 +0,0 @@ -/** - * generated by Xtext 2.16.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.ReliabiltiyProbability; - -import java.math.BigDecimal; - -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 'Reliabiltiy Probability'. - * - *

    - * The following features are implemented: - *

    - *
      - *
    • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ReliabiltiyProbabilityImpl#getTime Time}
    • - *
    - * - * @generated - */ -public class ReliabiltiyProbabilityImpl extends ReliabilityObjectiveFunctionImpl implements ReliabiltiyProbability -{ - /** - * The default value of the '{@link #getTime() Time}' attribute. - * - * - * @see #getTime() - * @generated - * @ordered - */ - protected static final BigDecimal TIME_EDEFAULT = null; - - /** - * The cached value of the '{@link #getTime() Time}' attribute. - * - * - * @see #getTime() - * @generated - * @ordered - */ - protected BigDecimal time = TIME_EDEFAULT; - - /** - * - * - * @generated - */ - protected ReliabiltiyProbabilityImpl() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return ApplicationConfigurationPackage.Literals.RELIABILTIY_PROBABILITY; - } - - /** - * - * - * @generated - */ - @Override - public BigDecimal getTime() - { - return time; - } - - /** - * - * - * @generated - */ - @Override - public void setTime(BigDecimal newTime) - { - BigDecimal oldTime = time; - time = newTime; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.RELIABILTIY_PROBABILITY__TIME, oldTime, time)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case ApplicationConfigurationPackage.RELIABILTIY_PROBABILITY__TIME: - return getTime(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case ApplicationConfigurationPackage.RELIABILTIY_PROBABILITY__TIME: - setTime((BigDecimal)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case ApplicationConfigurationPackage.RELIABILTIY_PROBABILITY__TIME: - setTime(TIME_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case ApplicationConfigurationPackage.RELIABILTIY_PROBABILITY__TIME: - return TIME_EDEFAULT == null ? time != null : !TIME_EDEFAULT.equals(time); - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() - { - if (eIsProxy()) return super.toString(); - - StringBuilder result = new StringBuilder(super.toString()); - result.append(" (time: "); - result.append(time); - result.append(')'); - return result.toString(); - } - -} //ReliabiltiyProbabilityImpl diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/RuntimeEntryImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/RuntimeEntryImpl.java index c6e4f885..00281016 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/RuntimeEntryImpl.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/RuntimeEntryImpl.java @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; 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 index 030d1600..85d6a2da 100644 --- 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 @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; 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 index ddc4299e..81d452c3 100644 --- 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 @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; 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 index 81ae4f11..c348d0b2 100644 --- 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 @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; 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 index bfa4fb1a..e209ebed 100644 --- 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 @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/StringEnumerationImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/StringEnumerationImpl.java index fcd8bb08..7c7dc643 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/StringEnumerationImpl.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/StringEnumerationImpl.java @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; 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 index 40e468b1..56505279 100644 --- 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 @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; 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 index 536f3016..4fa60644 100644 --- 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 @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/StringTypeScopeImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/StringTypeScopeImpl.java index 4d038c34..952f066e 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/StringTypeScopeImpl.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/StringTypeScopeImpl.java @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; 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 index b3f25f96..34ec9582 100644 --- 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 @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ThresholdEntryImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ThresholdEntryImpl.java index 1ba04522..d14e159e 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ThresholdEntryImpl.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ThresholdEntryImpl.java @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; 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 index fbf8925a..f43e29db 100644 --- 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 @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; 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 index 789be159..ff63979f 100644 --- 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 @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ViatraImportImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ViatraImportImpl.java index 2b0bd086..520e6200 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ViatraImportImpl.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ViatraImportImpl.java @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/util/ApplicationConfigurationAdapterFactory.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/util/ApplicationConfigurationAdapterFactory.java index 96e7a6a6..42391fef 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/util/ApplicationConfigurationAdapterFactory.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/util/ApplicationConfigurationAdapterFactory.java @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.util; @@ -101,11 +101,6 @@ public class ApplicationConfigurationAdapterFactory extends AdapterFactoryImpl return createViatraImportAdapter(); } @Override - public Adapter caseCftImport(CftImport object) - { - return createCftImportAdapter(); - } - @Override public Adapter caseDeclaration(Declaration object) { return createDeclarationAdapter(); @@ -271,21 +266,6 @@ public class ApplicationConfigurationAdapterFactory extends AdapterFactoryImpl return createCostEntryAdapter(); } @Override - public Adapter caseReliabilityObjectiveFunction(ReliabilityObjectiveFunction object) - { - return createReliabilityObjectiveFunctionAdapter(); - } - @Override - public Adapter caseReliabiltiyProbability(ReliabiltiyProbability object) - { - return createReliabiltiyProbabilityAdapter(); - } - @Override - public Adapter caseMtff(Mtff object) - { - return createMtffAdapter(); - } - @Override public Adapter caseObjectiveDeclaration(ObjectiveDeclaration object) { return createObjectiveDeclarationAdapter(); @@ -577,21 +557,6 @@ public class ApplicationConfigurationAdapterFactory extends AdapterFactoryImpl return null; } - /** - * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.CftImport Cft Import}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.CftImport - * @generated - */ - public Adapter createCftImportAdapter() - { - return null; - } - /** * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Declaration Declaration}'. * @@ -1087,51 +1052,6 @@ public class ApplicationConfigurationAdapterFactory extends AdapterFactoryImpl return null; } - /** - * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ReliabilityObjectiveFunction Reliability Objective Function}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ReliabilityObjectiveFunction - * @generated - */ - public Adapter createReliabilityObjectiveFunctionAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ReliabiltiyProbability Reliabiltiy Probability}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ReliabiltiyProbability - * @generated - */ - public Adapter createReliabiltiyProbabilityAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Mtff Mtff}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Mtff - * @generated - */ - public Adapter createMtffAdapter() - { - return null; - } - /** * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ObjectiveDeclaration Objective Declaration}'. * diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/util/ApplicationConfigurationSwitch.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/util/ApplicationConfigurationSwitch.java index d5b57a80..f1c51a3c 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/util/ApplicationConfigurationSwitch.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/util/ApplicationConfigurationSwitch.java @@ -1,5 +1,5 @@ /** - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.util; @@ -110,14 +110,6 @@ public class ApplicationConfigurationSwitch extends Switch if (result == null) result = defaultCase(theEObject); return result; } - case ApplicationConfigurationPackage.CFT_IMPORT: - { - CftImport cftImport = (CftImport)theEObject; - T result = caseCftImport(cftImport); - if (result == null) result = caseImport(cftImport); - if (result == null) result = defaultCase(theEObject); - return result; - } case ApplicationConfigurationPackage.DECLARATION: { Declaration declaration = (Declaration)theEObject; @@ -376,32 +368,6 @@ public class ApplicationConfigurationSwitch extends Switch if (result == null) result = defaultCase(theEObject); return result; } - case ApplicationConfigurationPackage.RELIABILITY_OBJECTIVE_FUNCTION: - { - ReliabilityObjectiveFunction reliabilityObjectiveFunction = (ReliabilityObjectiveFunction)theEObject; - T result = caseReliabilityObjectiveFunction(reliabilityObjectiveFunction); - if (result == null) result = caseObjectiveFunction(reliabilityObjectiveFunction); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ApplicationConfigurationPackage.RELIABILTIY_PROBABILITY: - { - ReliabiltiyProbability reliabiltiyProbability = (ReliabiltiyProbability)theEObject; - T result = caseReliabiltiyProbability(reliabiltiyProbability); - if (result == null) result = caseReliabilityObjectiveFunction(reliabiltiyProbability); - if (result == null) result = caseObjectiveFunction(reliabiltiyProbability); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ApplicationConfigurationPackage.MTFF: - { - Mtff mtff = (Mtff)theEObject; - T result = caseMtff(mtff); - if (result == null) result = caseReliabilityObjectiveFunction(mtff); - if (result == null) result = caseObjectiveFunction(mtff); - if (result == null) result = defaultCase(theEObject); - return result; - } case ApplicationConfigurationPackage.OBJECTIVE_DECLARATION: { ObjectiveDeclaration objectiveDeclaration = (ObjectiveDeclaration)theEObject; @@ -798,22 +764,6 @@ public class ApplicationConfigurationSwitch extends Switch return null; } - /** - * Returns the result of interpreting the object as an instance of 'Cft Import'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Cft Import'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseCftImport(CftImport object) - { - return null; - } - /** * Returns the result of interpreting the object as an instance of 'Declaration'. * @@ -1342,54 +1292,6 @@ public class ApplicationConfigurationSwitch extends Switch return null; } - /** - * Returns the result of interpreting the object as an instance of 'Reliability Objective Function'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Reliability Objective Function'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseReliabilityObjectiveFunction(ReliabilityObjectiveFunction object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Reliabiltiy Probability'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Reliabiltiy Probability'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseReliabiltiyProbability(ReliabiltiyProbability object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Mtff'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Mtff'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseMtff(Mtff object) - { - return null; - } - /** * Returns the result of interpreting the object as an instance of 'Objective Declaration'. * diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/ApplicationConfigurationAntlrTokenFileProvider.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/ApplicationConfigurationAntlrTokenFileProvider.java index baeaefcf..d95b909a 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/ApplicationConfigurationAntlrTokenFileProvider.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/ApplicationConfigurationAntlrTokenFileProvider.java @@ -1,5 +1,5 @@ /* - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.parser.antlr; diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/ApplicationConfigurationParser.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/ApplicationConfigurationParser.java index c1ed7d02..5f91dc77 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/ApplicationConfigurationParser.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/ApplicationConfigurationParser.java @@ -1,5 +1,5 @@ /* - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.parser.antlr; 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 a79a6430..533714b5 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 @@ -1,5 +1,5 @@ /* - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ grammar InternalApplicationConfiguration; @@ -305,15 +305,6 @@ ruleImport returns [EObject current=null] $current = $this_ViatraImport_1.current; afterParserOrEnumRuleCall(); } - | - { - newCompositeNode(grammarAccess.getImportAccess().getCftImportParserRuleCall_2()); - } - this_CftImport_2=ruleCftImport - { - $current = $this_CftImport_2.current; - afterParserOrEnumRuleCall(); - } ) ; @@ -397,46 +388,6 @@ ruleViatraImport returns [EObject current=null] ) ; -// Entry rule entryRuleCftImport -entryRuleCftImport returns [EObject current=null]: - { newCompositeNode(grammarAccess.getCftImportRule()); } - iv_ruleCftImport=ruleCftImport - { $current=$iv_ruleCftImport.current; } - EOF; - -// Rule CftImport -ruleCftImport returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - otherlv_0='import' - { - newLeafNode(otherlv_0, grammarAccess.getCftImportAccess().getImportKeyword_0()); - } - otherlv_1='reliability' - { - newLeafNode(otherlv_1, grammarAccess.getCftImportAccess().getReliabilityKeyword_1()); - } - ( - ( - { - if ($current==null) { - $current = createModelElement(grammarAccess.getCftImportRule()); - } - } - otherlv_2=RULE_STRING - { - newLeafNode(otherlv_2, grammarAccess.getCftImportAccess().getImportedCftCftModelCrossReference_2_0()); - } - ) - ) - ) -; - // Entry rule entryRuleDeclaration entryRuleDeclaration returns [EObject current=null]: { newCompositeNode(grammarAccess.getDeclarationRule()); } @@ -2094,25 +2045,14 @@ ruleObjectiveFunction returns [EObject current=null] @after { leaveRule(); }: - ( - { - newCompositeNode(grammarAccess.getObjectiveFunctionAccess().getCostObjectiveFunctionParserRuleCall_0()); - } - this_CostObjectiveFunction_0=ruleCostObjectiveFunction - { - $current = $this_CostObjectiveFunction_0.current; - afterParserOrEnumRuleCall(); - } - | - { - newCompositeNode(grammarAccess.getObjectiveFunctionAccess().getReliabilityObjectiveFunctionParserRuleCall_1()); - } - this_ReliabilityObjectiveFunction_1=ruleReliabilityObjectiveFunction - { - $current = $this_ReliabilityObjectiveFunction_1.current; - afterParserOrEnumRuleCall(); - } - ) + { + newCompositeNode(grammarAccess.getObjectiveFunctionAccess().getCostObjectiveFunctionParserRuleCall()); + } + this_CostObjectiveFunction_0=ruleCostObjectiveFunction + { + $current = $this_CostObjectiveFunction_0.current; + afterParserOrEnumRuleCall(); + } ; // Entry rule entryRuleCostObjectiveFunction @@ -2251,181 +2191,6 @@ ruleCostEntry returns [EObject current=null] ) ; -// Entry rule entryRuleReliabilityObjectiveFunction -entryRuleReliabilityObjectiveFunction returns [EObject current=null]: - { newCompositeNode(grammarAccess.getReliabilityObjectiveFunctionRule()); } - iv_ruleReliabilityObjectiveFunction=ruleReliabilityObjectiveFunction - { $current=$iv_ruleReliabilityObjectiveFunction.current; } - EOF; - -// Rule ReliabilityObjectiveFunction -ruleReliabilityObjectiveFunction returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - { - newCompositeNode(grammarAccess.getReliabilityObjectiveFunctionAccess().getReliabiltiyProbabilityParserRuleCall_0()); - } - this_ReliabiltiyProbability_0=ruleReliabiltiyProbability - { - $current = $this_ReliabiltiyProbability_0.current; - afterParserOrEnumRuleCall(); - } - | - { - newCompositeNode(grammarAccess.getReliabilityObjectiveFunctionAccess().getMtffParserRuleCall_1()); - } - this_Mtff_1=ruleMtff - { - $current = $this_Mtff_1.current; - afterParserOrEnumRuleCall(); - } - ) -; - -// Entry rule entryRuleReliabiltiyProbability -entryRuleReliabiltiyProbability returns [EObject current=null]: - { newCompositeNode(grammarAccess.getReliabiltiyProbabilityRule()); } - iv_ruleReliabiltiyProbability=ruleReliabiltiyProbability - { $current=$iv_ruleReliabiltiyProbability.current; } - EOF; - -// Rule ReliabiltiyProbability -ruleReliabiltiyProbability returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - otherlv_0='reliability' - { - newLeafNode(otherlv_0, grammarAccess.getReliabiltiyProbabilityAccess().getReliabilityKeyword_0()); - } - ( - ( - ( - { - if ($current==null) { - $current = createModelElement(grammarAccess.getReliabiltiyProbabilityRule()); - } - } - { - newCompositeNode(grammarAccess.getReliabiltiyProbabilityAccess().getPackageCftModelCrossReference_1_0_0()); - } - ruleQualifiedName - { - afterParserOrEnumRuleCall(); - } - ) - ) - otherlv_2='::' - { - newLeafNode(otherlv_2, grammarAccess.getReliabiltiyProbabilityAccess().getColonColonKeyword_1_1()); - } - )? - ( - ( - { - if ($current==null) { - $current = createModelElement(grammarAccess.getReliabiltiyProbabilityRule()); - } - } - otherlv_3=RULE_ID - { - newLeafNode(otherlv_3, grammarAccess.getReliabiltiyProbabilityAccess().getTransformationTransformationDefinitionCrossReference_2_0()); - } - ) - ) - otherlv_4='at' - { - newLeafNode(otherlv_4, grammarAccess.getReliabiltiyProbabilityAccess().getAtKeyword_3()); - } - ( - ( - { - newCompositeNode(grammarAccess.getReliabiltiyProbabilityAccess().getTimeREALLiteralParserRuleCall_4_0()); - } - lv_time_5_0=ruleREALLiteral - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getReliabiltiyProbabilityRule()); - } - set( - $current, - "time", - lv_time_5_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.REALLiteral"); - afterParserOrEnumRuleCall(); - } - ) - ) - ) -; - -// Entry rule entryRuleMtff -entryRuleMtff returns [EObject current=null]: - { newCompositeNode(grammarAccess.getMtffRule()); } - iv_ruleMtff=ruleMtff - { $current=$iv_ruleMtff.current; } - EOF; - -// Rule Mtff -ruleMtff returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - otherlv_0='mtff' - { - newLeafNode(otherlv_0, grammarAccess.getMtffAccess().getMtffKeyword_0()); - } - ( - ( - ( - { - if ($current==null) { - $current = createModelElement(grammarAccess.getMtffRule()); - } - } - { - newCompositeNode(grammarAccess.getMtffAccess().getPackageCftModelCrossReference_1_0_0()); - } - ruleQualifiedName - { - afterParserOrEnumRuleCall(); - } - ) - ) - otherlv_2='::' - { - newLeafNode(otherlv_2, grammarAccess.getMtffAccess().getColonColonKeyword_1_1()); - } - )? - ( - ( - { - if ($current==null) { - $current = createModelElement(grammarAccess.getMtffRule()); - } - } - otherlv_3=RULE_ID - { - newLeafNode(otherlv_3, grammarAccess.getMtffAccess().getTransformationTransformationDefinitionCrossReference_2_0()); - } - ) - ) - ) -; - // Entry rule entryRuleObjectiveDeclaration entryRuleObjectiveDeclaration returns [EObject current=null]: { newCompositeNode(grammarAccess.getObjectiveDeclarationRule()); } 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 9d99c5c3..84404119 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,59 +1,56 @@ -'#'=37 -'*'=45 -'+='=38 -','=20 +'#'=34 +'*'=42 +'+='=35 +','=19 '-'=12 '.'=11 -'..'=46 -'::'=24 -'<'=39 -'<='=59 -'='=18 -'>'=40 -'>='=60 -'AlloySolver'=65 -'SMTSolver'=64 -'ViatraSolver'=66 -'at'=30 -'config'=33 -'constraints'=28 -'cost'=29 -'debug'=53 +'..'=43 +'::'=23 +'<'=36 +'<='=56 +'='=17 +'>'=37 +'>='=57 +'AlloySolver'=62 +'SMTSolver'=61 +'ViatraSolver'=63 +'config'=30 +'constraints'=27 +'cost'=28 +'debug'=50 'epackage'=14 -'excluding'=23 -'file'=17 -'folder'=26 -'full'=63 -'generate'=48 +'excluding'=22 +'file'=16 +'folder'=25 +'full'=60 +'generate'=45 'import'=13 -'int'=42 -'log'=54 -'log-level'=34 -'maximize'=58 -'memory'=36 -'metamodel'=25 -'minimize'=57 -'models'=27 -'mtff'=31 -'node'=41 -'none'=61 -'normal'=62 -'number'=50 -'objectives'=32 -'output'=56 -'package'=22 -'partial-model'=49 -'real'=43 -'reliability'=16 -'runs'=51 -'runtime'=35 -'scope'=47 -'solver'=52 -'statistics'=55 -'string'=44 +'int'=39 +'log'=51 +'log-level'=31 +'maximize'=55 +'memory'=33 +'metamodel'=24 +'minimize'=54 +'models'=26 +'node'=38 +'none'=58 +'normal'=59 +'number'=47 +'objectives'=29 +'output'=53 +'package'=21 +'partial-model'=46 +'real'=40 +'runs'=48 +'runtime'=32 +'scope'=44 +'solver'=49 +'statistics'=52 +'string'=41 'viatra'=15 -'{'=19 -'}'=21 +'{'=18 +'}'=20 RULE_ANY_OTHER=10 RULE_ID=4 RULE_INT=5 @@ -114,6 +111,3 @@ T__60=60 T__61=61 T__62=62 T__63=63 -T__64=64 -T__65=65 -T__66=66 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 d8c31116..da879d2a 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 @@ -40,7 +40,6 @@ public class InternalApplicationConfigurationLexer extends Lexer { public static final int RULE_INT=5; public static final int T__29=29; public static final int T__22=22; - public static final int T__66=66; public static final int RULE_ML_COMMENT=7; public static final int T__23=23; public static final int T__24=24; @@ -48,9 +47,7 @@ public class InternalApplicationConfigurationLexer extends Lexer { public static final int T__62=62; public static final int T__63=63; public static final int T__20=20; - public static final int T__64=64; public static final int T__21=21; - public static final int T__65=65; public static final int RULE_STRING=6; public static final int RULE_SL_COMMENT=8; public static final int T__37=37; @@ -198,10 +195,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__16; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:16:7: ( 'reliability' ) - // InternalApplicationConfiguration.g:16:9: 'reliability' + // InternalApplicationConfiguration.g:16:7: ( 'file' ) + // InternalApplicationConfiguration.g:16:9: 'file' { - match("reliability"); + match("file"); } @@ -219,11 +216,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__17; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:17:7: ( 'file' ) - // InternalApplicationConfiguration.g:17:9: 'file' + // InternalApplicationConfiguration.g:17:7: ( '=' ) + // InternalApplicationConfiguration.g:17:9: '=' { - match("file"); - + match('='); } @@ -240,10 +236,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__18; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:18:7: ( '=' ) - // InternalApplicationConfiguration.g:18:9: '=' + // InternalApplicationConfiguration.g:18:7: ( '{' ) + // InternalApplicationConfiguration.g:18:9: '{' { - match('='); + match('{'); } @@ -260,10 +256,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__19; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:19:7: ( '{' ) - // InternalApplicationConfiguration.g:19:9: '{' + // InternalApplicationConfiguration.g:19:7: ( ',' ) + // InternalApplicationConfiguration.g:19:9: ',' { - match('{'); + match(','); } @@ -280,10 +276,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__20; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:20:7: ( ',' ) - // InternalApplicationConfiguration.g:20:9: ',' + // InternalApplicationConfiguration.g:20:7: ( '}' ) + // InternalApplicationConfiguration.g:20:9: '}' { - match(','); + match('}'); } @@ -300,10 +296,11 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__21; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:21:7: ( '}' ) - // InternalApplicationConfiguration.g:21:9: '}' + // InternalApplicationConfiguration.g:21:7: ( 'package' ) + // InternalApplicationConfiguration.g:21:9: 'package' { - match('}'); + match("package"); + } @@ -320,10 +317,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__22; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:22:7: ( 'package' ) - // InternalApplicationConfiguration.g:22:9: 'package' + // InternalApplicationConfiguration.g:22:7: ( 'excluding' ) + // InternalApplicationConfiguration.g:22:9: 'excluding' { - match("package"); + match("excluding"); } @@ -341,10 +338,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__23; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:23:7: ( 'excluding' ) - // InternalApplicationConfiguration.g:23:9: 'excluding' + // InternalApplicationConfiguration.g:23:7: ( '::' ) + // InternalApplicationConfiguration.g:23:9: '::' { - match("excluding"); + match("::"); } @@ -362,10 +359,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__24; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:24:7: ( '::' ) - // InternalApplicationConfiguration.g:24:9: '::' + // InternalApplicationConfiguration.g:24:7: ( 'metamodel' ) + // InternalApplicationConfiguration.g:24:9: 'metamodel' { - match("::"); + match("metamodel"); } @@ -383,10 +380,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__25; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:25:7: ( 'metamodel' ) - // InternalApplicationConfiguration.g:25:9: 'metamodel' + // InternalApplicationConfiguration.g:25:7: ( 'folder' ) + // InternalApplicationConfiguration.g:25:9: 'folder' { - match("metamodel"); + match("folder"); } @@ -404,10 +401,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__26; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:26:7: ( 'folder' ) - // InternalApplicationConfiguration.g:26:9: 'folder' + // InternalApplicationConfiguration.g:26:7: ( 'models' ) + // InternalApplicationConfiguration.g:26:9: 'models' { - match("folder"); + match("models"); } @@ -425,10 +422,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__27; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:27:7: ( 'models' ) - // InternalApplicationConfiguration.g:27:9: 'models' + // InternalApplicationConfiguration.g:27:7: ( 'constraints' ) + // InternalApplicationConfiguration.g:27:9: 'constraints' { - match("models"); + match("constraints"); } @@ -446,10 +443,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__28; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:28:7: ( 'constraints' ) - // InternalApplicationConfiguration.g:28:9: 'constraints' + // InternalApplicationConfiguration.g:28:7: ( 'cost' ) + // InternalApplicationConfiguration.g:28:9: 'cost' { - match("constraints"); + match("cost"); } @@ -467,10 +464,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__29; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:29:7: ( 'cost' ) - // InternalApplicationConfiguration.g:29:9: 'cost' + // InternalApplicationConfiguration.g:29:7: ( 'objectives' ) + // InternalApplicationConfiguration.g:29:9: 'objectives' { - match("cost"); + match("objectives"); } @@ -488,10 +485,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__30; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:30:7: ( 'at' ) - // InternalApplicationConfiguration.g:30:9: 'at' + // InternalApplicationConfiguration.g:30:7: ( 'config' ) + // InternalApplicationConfiguration.g:30:9: 'config' { - match("at"); + match("config"); } @@ -509,10 +506,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__31; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:31:7: ( 'mtff' ) - // InternalApplicationConfiguration.g:31:9: 'mtff' + // InternalApplicationConfiguration.g:31:7: ( 'log-level' ) + // InternalApplicationConfiguration.g:31:9: 'log-level' { - match("mtff"); + match("log-level"); } @@ -530,10 +527,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__32; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:32:7: ( 'objectives' ) - // InternalApplicationConfiguration.g:32:9: 'objectives' + // InternalApplicationConfiguration.g:32:7: ( 'runtime' ) + // InternalApplicationConfiguration.g:32:9: 'runtime' { - match("objectives"); + match("runtime"); } @@ -551,10 +548,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__33; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:33:7: ( 'config' ) - // InternalApplicationConfiguration.g:33:9: 'config' + // InternalApplicationConfiguration.g:33:7: ( 'memory' ) + // InternalApplicationConfiguration.g:33:9: 'memory' { - match("config"); + match("memory"); } @@ -572,11 +569,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__34; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:34:7: ( 'log-level' ) - // InternalApplicationConfiguration.g:34:9: 'log-level' + // InternalApplicationConfiguration.g:34:7: ( '#' ) + // InternalApplicationConfiguration.g:34:9: '#' { - match("log-level"); - + match('#'); } @@ -593,10 +589,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__35; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:35:7: ( 'runtime' ) - // InternalApplicationConfiguration.g:35:9: 'runtime' + // InternalApplicationConfiguration.g:35:7: ( '+=' ) + // InternalApplicationConfiguration.g:35:9: '+=' { - match("runtime"); + match("+="); } @@ -614,11 +610,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__36; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:36:7: ( 'memory' ) - // InternalApplicationConfiguration.g:36:9: 'memory' + // InternalApplicationConfiguration.g:36:7: ( '<' ) + // InternalApplicationConfiguration.g:36:9: '<' { - match("memory"); - + match('<'); } @@ -635,10 +630,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__37; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:37:7: ( '#' ) - // InternalApplicationConfiguration.g:37:9: '#' + // InternalApplicationConfiguration.g:37:7: ( '>' ) + // InternalApplicationConfiguration.g:37:9: '>' { - match('#'); + match('>'); } @@ -655,10 +650,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__38; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:38:7: ( '+=' ) - // InternalApplicationConfiguration.g:38:9: '+=' + // InternalApplicationConfiguration.g:38:7: ( 'node' ) + // InternalApplicationConfiguration.g:38:9: 'node' { - match("+="); + match("node"); } @@ -676,10 +671,11 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__39; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:39:7: ( '<' ) - // InternalApplicationConfiguration.g:39:9: '<' + // InternalApplicationConfiguration.g:39:7: ( 'int' ) + // InternalApplicationConfiguration.g:39:9: 'int' { - match('<'); + match("int"); + } @@ -696,10 +692,11 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__40; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:40:7: ( '>' ) - // InternalApplicationConfiguration.g:40:9: '>' + // InternalApplicationConfiguration.g:40:7: ( 'real' ) + // InternalApplicationConfiguration.g:40:9: 'real' { - match('>'); + match("real"); + } @@ -716,10 +713,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__41; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:41:7: ( 'node' ) - // InternalApplicationConfiguration.g:41:9: 'node' + // InternalApplicationConfiguration.g:41:7: ( 'string' ) + // InternalApplicationConfiguration.g:41:9: 'string' { - match("node"); + match("string"); } @@ -737,11 +734,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__42; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:42:7: ( 'int' ) - // InternalApplicationConfiguration.g:42:9: 'int' + // InternalApplicationConfiguration.g:42:7: ( '*' ) + // InternalApplicationConfiguration.g:42:9: '*' { - match("int"); - + match('*'); } @@ -758,10 +754,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__43; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:43:7: ( 'real' ) - // InternalApplicationConfiguration.g:43:9: 'real' + // InternalApplicationConfiguration.g:43:7: ( '..' ) + // InternalApplicationConfiguration.g:43:9: '..' { - match("real"); + match(".."); } @@ -779,10 +775,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__44; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:44:7: ( 'string' ) - // InternalApplicationConfiguration.g:44:9: 'string' + // InternalApplicationConfiguration.g:44:7: ( 'scope' ) + // InternalApplicationConfiguration.g:44:9: 'scope' { - match("string"); + match("scope"); } @@ -800,10 +796,11 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__45; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:45:7: ( '*' ) - // InternalApplicationConfiguration.g:45:9: '*' + // InternalApplicationConfiguration.g:45:7: ( 'generate' ) + // InternalApplicationConfiguration.g:45:9: 'generate' { - match('*'); + match("generate"); + } @@ -820,10 +817,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__46; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:46:7: ( '..' ) - // InternalApplicationConfiguration.g:46:9: '..' + // InternalApplicationConfiguration.g:46:7: ( 'partial-model' ) + // InternalApplicationConfiguration.g:46:9: 'partial-model' { - match(".."); + match("partial-model"); } @@ -841,10 +838,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__47; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:47:7: ( 'scope' ) - // InternalApplicationConfiguration.g:47:9: 'scope' + // InternalApplicationConfiguration.g:47:7: ( 'number' ) + // InternalApplicationConfiguration.g:47:9: 'number' { - match("scope"); + match("number"); } @@ -862,10 +859,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__48; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:48:7: ( 'generate' ) - // InternalApplicationConfiguration.g:48:9: 'generate' + // InternalApplicationConfiguration.g:48:7: ( 'runs' ) + // InternalApplicationConfiguration.g:48:9: 'runs' { - match("generate"); + match("runs"); } @@ -883,10 +880,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__49; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:49:7: ( 'partial-model' ) - // InternalApplicationConfiguration.g:49:9: 'partial-model' + // InternalApplicationConfiguration.g:49:7: ( 'solver' ) + // InternalApplicationConfiguration.g:49:9: 'solver' { - match("partial-model"); + match("solver"); } @@ -904,10 +901,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__50; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:50:7: ( 'number' ) - // InternalApplicationConfiguration.g:50:9: 'number' + // InternalApplicationConfiguration.g:50:7: ( 'debug' ) + // InternalApplicationConfiguration.g:50:9: 'debug' { - match("number"); + match("debug"); } @@ -925,10 +922,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__51; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:51:7: ( 'runs' ) - // InternalApplicationConfiguration.g:51:9: 'runs' + // InternalApplicationConfiguration.g:51:7: ( 'log' ) + // InternalApplicationConfiguration.g:51:9: 'log' { - match("runs"); + match("log"); } @@ -946,10 +943,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__52; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:52:7: ( 'solver' ) - // InternalApplicationConfiguration.g:52:9: 'solver' + // InternalApplicationConfiguration.g:52:7: ( 'statistics' ) + // InternalApplicationConfiguration.g:52:9: 'statistics' { - match("solver"); + match("statistics"); } @@ -967,10 +964,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__53; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:53:7: ( 'debug' ) - // InternalApplicationConfiguration.g:53:9: 'debug' + // InternalApplicationConfiguration.g:53:7: ( 'output' ) + // InternalApplicationConfiguration.g:53:9: 'output' { - match("debug"); + match("output"); } @@ -988,10 +985,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__54; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:54:7: ( 'log' ) - // InternalApplicationConfiguration.g:54:9: 'log' + // InternalApplicationConfiguration.g:54:7: ( 'minimize' ) + // InternalApplicationConfiguration.g:54:9: 'minimize' { - match("log"); + match("minimize"); } @@ -1009,10 +1006,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__55; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:55:7: ( 'statistics' ) - // InternalApplicationConfiguration.g:55:9: 'statistics' + // InternalApplicationConfiguration.g:55:7: ( 'maximize' ) + // InternalApplicationConfiguration.g:55:9: 'maximize' { - match("statistics"); + match("maximize"); } @@ -1030,10 +1027,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__56; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:56:7: ( 'output' ) - // InternalApplicationConfiguration.g:56:9: 'output' + // InternalApplicationConfiguration.g:56:7: ( '<=' ) + // InternalApplicationConfiguration.g:56:9: '<=' { - match("output"); + match("<="); } @@ -1051,10 +1048,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__57; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:57:7: ( 'minimize' ) - // InternalApplicationConfiguration.g:57:9: 'minimize' + // InternalApplicationConfiguration.g:57:7: ( '>=' ) + // InternalApplicationConfiguration.g:57:9: '>=' { - match("minimize"); + match(">="); } @@ -1072,10 +1069,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__58; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:58:7: ( 'maximize' ) - // InternalApplicationConfiguration.g:58:9: 'maximize' + // InternalApplicationConfiguration.g:58:7: ( 'none' ) + // InternalApplicationConfiguration.g:58:9: 'none' { - match("maximize"); + match("none"); } @@ -1093,10 +1090,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__59; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:59:7: ( '<=' ) - // InternalApplicationConfiguration.g:59:9: '<=' + // InternalApplicationConfiguration.g:59:7: ( 'normal' ) + // InternalApplicationConfiguration.g:59:9: 'normal' { - match("<="); + match("normal"); } @@ -1114,10 +1111,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__60; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:60:7: ( '>=' ) - // InternalApplicationConfiguration.g:60:9: '>=' + // InternalApplicationConfiguration.g:60:7: ( 'full' ) + // InternalApplicationConfiguration.g:60:9: 'full' { - match(">="); + match("full"); } @@ -1135,10 +1132,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__61; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:61:7: ( 'none' ) - // InternalApplicationConfiguration.g:61:9: 'none' + // InternalApplicationConfiguration.g:61:7: ( 'SMTSolver' ) + // InternalApplicationConfiguration.g:61:9: 'SMTSolver' { - match("none"); + match("SMTSolver"); } @@ -1156,10 +1153,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__62; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:62:7: ( 'normal' ) - // InternalApplicationConfiguration.g:62:9: 'normal' + // InternalApplicationConfiguration.g:62:7: ( 'AlloySolver' ) + // InternalApplicationConfiguration.g:62:9: 'AlloySolver' { - match("normal"); + match("AlloySolver"); } @@ -1177,71 +1174,8 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__63; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:63:7: ( 'full' ) - // InternalApplicationConfiguration.g:63:9: 'full' - { - match("full"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__63" - - // $ANTLR start "T__64" - public final void mT__64() throws RecognitionException { - try { - int _type = T__64; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:64:7: ( 'SMTSolver' ) - // InternalApplicationConfiguration.g:64:9: 'SMTSolver' - { - match("SMTSolver"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__64" - - // $ANTLR start "T__65" - public final void mT__65() throws RecognitionException { - try { - int _type = T__65; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:65:7: ( 'AlloySolver' ) - // InternalApplicationConfiguration.g:65:9: 'AlloySolver' - { - match("AlloySolver"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__65" - - // $ANTLR start "T__66" - public final void mT__66() throws RecognitionException { - try { - int _type = T__66; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:66:7: ( 'ViatraSolver' ) - // InternalApplicationConfiguration.g:66:9: 'ViatraSolver' + // InternalApplicationConfiguration.g:63:7: ( 'ViatraSolver' ) + // InternalApplicationConfiguration.g:63:9: 'ViatraSolver' { match("ViatraSolver"); @@ -1254,17 +1188,17 @@ public class InternalApplicationConfigurationLexer extends Lexer { finally { } } - // $ANTLR end "T__66" + // $ANTLR end "T__63" // $ANTLR start "RULE_ID" public final void mRULE_ID() throws RecognitionException { try { int _type = RULE_ID; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:5170:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* ) - // InternalApplicationConfiguration.g:5170:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* + // InternalApplicationConfiguration.g:4935:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* ) + // InternalApplicationConfiguration.g:4935:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* { - // InternalApplicationConfiguration.g:5170:11: ( '^' )? + // InternalApplicationConfiguration.g:4935:11: ( '^' )? int alt1=2; int LA1_0 = input.LA(1); @@ -1273,7 +1207,7 @@ public class InternalApplicationConfigurationLexer extends Lexer { } switch (alt1) { case 1 : - // InternalApplicationConfiguration.g:5170:11: '^' + // InternalApplicationConfiguration.g:4935:11: '^' { match('^'); @@ -1291,7 +1225,7 @@ public class InternalApplicationConfigurationLexer extends Lexer { recover(mse); throw mse;} - // InternalApplicationConfiguration.g:5170:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* + // InternalApplicationConfiguration.g:4935:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* loop2: do { int alt2=2; @@ -1340,10 +1274,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = RULE_INT; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:5172:10: ( ( '0' .. '9' )+ ) - // InternalApplicationConfiguration.g:5172:12: ( '0' .. '9' )+ + // InternalApplicationConfiguration.g:4937:10: ( ( '0' .. '9' )+ ) + // InternalApplicationConfiguration.g:4937:12: ( '0' .. '9' )+ { - // InternalApplicationConfiguration.g:5172:12: ( '0' .. '9' )+ + // InternalApplicationConfiguration.g:4937:12: ( '0' .. '9' )+ int cnt3=0; loop3: do { @@ -1357,7 +1291,7 @@ public class InternalApplicationConfigurationLexer extends Lexer { switch (alt3) { case 1 : - // InternalApplicationConfiguration.g:5172:13: '0' .. '9' + // InternalApplicationConfiguration.g:4937:13: '0' .. '9' { matchRange('0','9'); @@ -1389,10 +1323,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = RULE_STRING; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:5174:13: ( ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) ) - // InternalApplicationConfiguration.g:5174:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) + // InternalApplicationConfiguration.g:4939:13: ( ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) ) + // InternalApplicationConfiguration.g:4939:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) { - // InternalApplicationConfiguration.g:5174:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) + // InternalApplicationConfiguration.g:4939:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) int alt6=2; int LA6_0 = input.LA(1); @@ -1410,10 +1344,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { } switch (alt6) { case 1 : - // InternalApplicationConfiguration.g:5174:16: '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' + // InternalApplicationConfiguration.g:4939:16: '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' { match('\"'); - // InternalApplicationConfiguration.g:5174:20: ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* + // InternalApplicationConfiguration.g:4939:20: ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* loop4: do { int alt4=3; @@ -1429,7 +1363,7 @@ public class InternalApplicationConfigurationLexer extends Lexer { switch (alt4) { case 1 : - // InternalApplicationConfiguration.g:5174:21: '\\\\' . + // InternalApplicationConfiguration.g:4939:21: '\\\\' . { match('\\'); matchAny(); @@ -1437,7 +1371,7 @@ public class InternalApplicationConfigurationLexer extends Lexer { } break; case 2 : - // InternalApplicationConfiguration.g:5174:28: ~ ( ( '\\\\' | '\"' ) ) + // InternalApplicationConfiguration.g:4939:28: ~ ( ( '\\\\' | '\"' ) ) { if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { input.consume(); @@ -1462,10 +1396,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { } break; case 2 : - // InternalApplicationConfiguration.g:5174:48: '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' + // InternalApplicationConfiguration.g:4939:48: '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' { match('\''); - // InternalApplicationConfiguration.g:5174:53: ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* + // InternalApplicationConfiguration.g:4939:53: ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* loop5: do { int alt5=3; @@ -1481,7 +1415,7 @@ public class InternalApplicationConfigurationLexer extends Lexer { switch (alt5) { case 1 : - // InternalApplicationConfiguration.g:5174:54: '\\\\' . + // InternalApplicationConfiguration.g:4939:54: '\\\\' . { match('\\'); matchAny(); @@ -1489,7 +1423,7 @@ public class InternalApplicationConfigurationLexer extends Lexer { } break; case 2 : - // InternalApplicationConfiguration.g:5174:61: ~ ( ( '\\\\' | '\\'' ) ) + // InternalApplicationConfiguration.g:4939:61: ~ ( ( '\\\\' | '\\'' ) ) { if ( (input.LA(1)>='\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { input.consume(); @@ -1532,12 +1466,12 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = RULE_ML_COMMENT; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:5176:17: ( '/*' ( options {greedy=false; } : . )* '*/' ) - // InternalApplicationConfiguration.g:5176:19: '/*' ( options {greedy=false; } : . )* '*/' + // InternalApplicationConfiguration.g:4941:17: ( '/*' ( options {greedy=false; } : . )* '*/' ) + // InternalApplicationConfiguration.g:4941:19: '/*' ( options {greedy=false; } : . )* '*/' { match("/*"); - // InternalApplicationConfiguration.g:5176:24: ( options {greedy=false; } : . )* + // InternalApplicationConfiguration.g:4941:24: ( options {greedy=false; } : . )* loop7: do { int alt7=2; @@ -1562,7 +1496,7 @@ public class InternalApplicationConfigurationLexer extends Lexer { switch (alt7) { case 1 : - // InternalApplicationConfiguration.g:5176:52: . + // InternalApplicationConfiguration.g:4941:52: . { matchAny(); @@ -1592,12 +1526,12 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = RULE_SL_COMMENT; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:5178:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? ) - // InternalApplicationConfiguration.g:5178:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? + // InternalApplicationConfiguration.g:4943:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? ) + // InternalApplicationConfiguration.g:4943:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? { match("//"); - // InternalApplicationConfiguration.g:5178:24: (~ ( ( '\\n' | '\\r' ) ) )* + // InternalApplicationConfiguration.g:4943:24: (~ ( ( '\\n' | '\\r' ) ) )* loop8: do { int alt8=2; @@ -1610,7 +1544,7 @@ public class InternalApplicationConfigurationLexer extends Lexer { switch (alt8) { case 1 : - // InternalApplicationConfiguration.g:5178:24: ~ ( ( '\\n' | '\\r' ) ) + // InternalApplicationConfiguration.g:4943: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(); @@ -1630,7 +1564,7 @@ public class InternalApplicationConfigurationLexer extends Lexer { } } while (true); - // InternalApplicationConfiguration.g:5178:40: ( ( '\\r' )? '\\n' )? + // InternalApplicationConfiguration.g:4943:40: ( ( '\\r' )? '\\n' )? int alt10=2; int LA10_0 = input.LA(1); @@ -1639,9 +1573,9 @@ public class InternalApplicationConfigurationLexer extends Lexer { } switch (alt10) { case 1 : - // InternalApplicationConfiguration.g:5178:41: ( '\\r' )? '\\n' + // InternalApplicationConfiguration.g:4943:41: ( '\\r' )? '\\n' { - // InternalApplicationConfiguration.g:5178:41: ( '\\r' )? + // InternalApplicationConfiguration.g:4943:41: ( '\\r' )? int alt9=2; int LA9_0 = input.LA(1); @@ -1650,7 +1584,7 @@ public class InternalApplicationConfigurationLexer extends Lexer { } switch (alt9) { case 1 : - // InternalApplicationConfiguration.g:5178:41: '\\r' + // InternalApplicationConfiguration.g:4943:41: '\\r' { match('\r'); @@ -1682,10 +1616,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = RULE_WS; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:5180:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ ) - // InternalApplicationConfiguration.g:5180:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ + // InternalApplicationConfiguration.g:4945:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ ) + // InternalApplicationConfiguration.g:4945:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ { - // InternalApplicationConfiguration.g:5180:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ + // InternalApplicationConfiguration.g:4945:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ int cnt11=0; loop11: do { @@ -1739,8 +1673,8 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = RULE_ANY_OTHER; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:5182:16: ( . ) - // InternalApplicationConfiguration.g:5182:18: . + // InternalApplicationConfiguration.g:4947:16: ( . ) + // InternalApplicationConfiguration.g:4947:18: . { matchAny(); @@ -1755,8 +1689,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 | T__49 | T__50 | T__51 | T__52 | T__53 | T__54 | T__55 | T__56 | T__57 | T__58 | T__59 | T__60 | T__61 | T__62 | T__63 | T__64 | T__65 | T__66 | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER ) - int alt12=63; + // 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 | T__51 | T__52 | T__53 | T__54 | T__55 | T__56 | T__57 | T__58 | T__59 | T__60 | T__61 | T__62 | T__63 | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER ) + int alt12=60; alt12 = dfa12.predict(input); switch (alt12) { case 1 : @@ -2131,70 +2065,49 @@ public class InternalApplicationConfigurationLexer extends Lexer { } break; case 54 : - // InternalApplicationConfiguration.g:1:328: T__64 - { - mT__64(); - - } - break; - case 55 : - // InternalApplicationConfiguration.g:1:334: T__65 - { - mT__65(); - - } - break; - case 56 : - // InternalApplicationConfiguration.g:1:340: T__66 - { - mT__66(); - - } - break; - case 57 : - // InternalApplicationConfiguration.g:1:346: RULE_ID + // InternalApplicationConfiguration.g:1:328: RULE_ID { mRULE_ID(); } break; - case 58 : - // InternalApplicationConfiguration.g:1:354: RULE_INT + case 55 : + // InternalApplicationConfiguration.g:1:336: RULE_INT { mRULE_INT(); } break; - case 59 : - // InternalApplicationConfiguration.g:1:363: RULE_STRING + case 56 : + // InternalApplicationConfiguration.g:1:345: RULE_STRING { mRULE_STRING(); } break; - case 60 : - // InternalApplicationConfiguration.g:1:375: RULE_ML_COMMENT + case 57 : + // InternalApplicationConfiguration.g:1:357: RULE_ML_COMMENT { mRULE_ML_COMMENT(); } break; - case 61 : - // InternalApplicationConfiguration.g:1:391: RULE_SL_COMMENT + case 58 : + // InternalApplicationConfiguration.g:1:373: RULE_SL_COMMENT { mRULE_SL_COMMENT(); } break; - case 62 : - // InternalApplicationConfiguration.g:1:407: RULE_WS + case 59 : + // InternalApplicationConfiguration.g:1:389: RULE_WS { mRULE_WS(); } break; - case 63 : - // InternalApplicationConfiguration.g:1:415: RULE_ANY_OTHER + case 60 : + // InternalApplicationConfiguration.g:1:397: RULE_ANY_OTHER { mRULE_ANY_OTHER(); @@ -2208,182 +2121,186 @@ public class InternalApplicationConfigurationLexer extends Lexer { protected DFA12 dfa12 = new DFA12(this); static final String DFA12_eotS = - "\1\uffff\1\50\1\uffff\5\54\4\uffff\1\54\1\46\5\54\1\uffff\1\46\1\110\1\112\2\54\1\uffff\5\54\1\46\2\uffff\3\46\5\uffff\2\54\1\uffff\10\54\4\uffff\1\54\1\uffff\6\54\1\160\3\54\6\uffff\5\54\1\uffff\5\54\5\uffff\1\54\1\u0082\23\54\1\uffff\2\54\1\u009b\16\54\1\uffff\4\54\1\u00ae\1\54\1\u00b0\1\u00b1\1\54\1\u00b3\5\54\1\u00b9\4\54\1\u00be\2\54\2\uffff\1\u00c1\1\u00c2\20\54\1\uffff\1\54\2\uffff\1\54\1\uffff\5\54\1\uffff\4\54\1\uffff\2\54\2\uffff\4\54\1\u00e4\2\54\1\u00e7\3\54\1\u00eb\2\54\1\u00ee\2\54\1\u00f1\3\54\1\u00f5\1\u00f6\3\54\1\u00fa\1\54\1\u00fc\1\u00fd\1\u00fe\1\u00ff\1\54\1\uffff\1\u0101\1\54\1\uffff\3\54\1\uffff\2\54\1\uffff\1\54\1\u0109\1\uffff\1\u010a\2\54\2\uffff\3\54\1\uffff\1\54\4\uffff\1\54\1\uffff\4\54\1\u0116\2\54\3\uffff\1\54\1\u011a\1\u011b\3\54\1\u011f\3\54\1\uffff\1\u0123\1\54\1\u0125\2\uffff\3\54\1\uffff\1\u0129\2\54\1\uffff\1\54\1\uffff\1\54\1\u012e\1\u012f\1\uffff\2\54\1\u0132\1\u0133\2\uffff\1\u0134\1\54\3\uffff\1\u0136\1\uffff"; + "\1\uffff\1\47\1\uffff\4\53\4\uffff\1\53\1\45\5\53\1\uffff\1\45\1\105\1\107\2\53\1\uffff\5\53\1\45\2\uffff\3\45\5\uffff\2\53\1\uffff\6\53\4\uffff\1\53\1\uffff\12\53\6\uffff\5\53\1\uffff\5\53\5\uffff\1\53\1\174\21\53\1\u0090\20\53\1\uffff\3\53\1\u00a5\1\53\1\u00a7\11\53\1\u00b1\2\53\2\uffff\1\53\1\u00b5\1\u00b6\1\u00b7\1\u00b8\17\53\1\uffff\1\53\1\uffff\11\53\1\uffff\3\53\4\uffff\4\53\1\u00d9\2\53\1\u00dc\3\53\1\u00e0\2\53\1\u00e3\1\u00e4\3\53\1\u00e8\1\u00e9\3\53\1\u00ed\1\53\1\u00ef\1\53\1\u00f1\1\u00f2\1\u00f3\1\53\1\uffff\1\u00f5\1\53\1\uffff\3\53\1\uffff\2\53\2\uffff\1\u00fc\2\53\2\uffff\3\53\1\uffff\1\53\1\uffff\1\u0103\3\uffff\1\53\1\uffff\4\53\1\u0109\1\53\2\uffff\1\53\1\u010c\1\u010d\2\53\1\uffff\1\53\1\u0111\3\53\1\uffff\1\u0115\1\u0116\2\uffff\3\53\1\uffff\1\u011a\2\53\2\uffff\1\53\1\u011e\1\u011f\1\uffff\2\53\1\u0122\2\uffff\1\u0123\1\53\2\uffff\1\u0125\1\uffff"; static final String DFA12_eofS = - "\u0137\uffff"; + "\u0126\uffff"; static final String DFA12_minS = - "\1\0\1\56\1\uffff\1\155\1\160\1\151\1\145\1\151\4\uffff\1\141\1\72\1\141\1\157\1\164\1\142\1\157\1\uffff\3\75\1\157\1\143\1\uffff\2\145\1\115\1\154\1\151\1\101\2\uffff\2\0\1\52\5\uffff\1\160\1\164\1\uffff\1\141\1\143\2\141\1\156\3\154\4\uffff\1\143\1\uffff\1\155\1\144\1\146\1\156\1\170\1\156\1\60\1\152\1\164\1\147\6\uffff\1\144\1\155\1\141\1\157\1\154\1\uffff\1\156\1\142\1\124\1\154\1\141\5\uffff\1\157\1\60\1\143\1\154\1\164\1\151\1\154\1\163\1\145\1\144\1\154\1\153\1\164\1\141\1\157\1\145\1\146\2\151\1\146\1\164\1\uffff\1\145\1\160\1\55\2\145\1\155\1\142\1\151\1\164\1\160\1\166\1\145\1\165\1\123\1\157\1\164\1\162\1\uffff\1\153\1\165\1\162\1\141\1\60\1\151\2\60\1\145\1\60\1\141\1\151\1\155\1\162\1\154\1\60\2\155\1\164\1\151\1\60\1\143\1\165\2\uffff\2\60\1\141\1\145\1\156\1\151\2\145\1\162\1\147\1\157\1\171\1\162\1\164\1\141\1\144\1\141\1\142\1\uffff\1\155\2\uffff\1\162\1\uffff\1\147\1\141\1\157\1\171\1\163\1\uffff\2\151\1\162\1\147\1\uffff\2\164\2\uffff\1\154\1\162\1\147\1\163\1\60\1\162\1\141\1\60\1\154\1\123\1\141\1\60\1\147\1\151\1\60\1\151\1\145\1\60\1\145\1\154\1\144\2\60\2\172\1\141\1\60\1\151\4\60\1\164\1\uffff\1\60\1\164\1\uffff\1\166\1\157\1\123\1\uffff\1\145\1\156\1\uffff\1\154\1\60\1\uffff\1\60\1\55\1\145\2\uffff\2\145\1\151\1\uffff\1\166\4\uffff\1\151\1\uffff\2\145\1\154\1\157\1\60\1\147\1\151\3\uffff\1\154\2\60\1\156\1\145\1\143\1\60\1\162\1\166\1\154\1\uffff\1\60\1\164\1\60\2\uffff\1\164\2\163\1\uffff\1\60\1\145\1\166\1\uffff\1\171\1\uffff\1\163\2\60\1\uffff\1\162\1\145\2\60\2\uffff\1\60\1\162\3\uffff\1\60\1\uffff"; + "\1\0\1\56\1\uffff\1\155\1\160\2\151\4\uffff\1\141\1\72\1\141\1\157\1\142\1\157\1\145\1\uffff\3\75\1\157\1\143\1\uffff\2\145\1\115\1\154\1\151\1\101\2\uffff\2\0\1\52\5\uffff\1\160\1\164\1\uffff\1\141\1\143\1\141\3\154\4\uffff\1\143\1\uffff\1\155\1\144\1\156\1\170\1\156\1\152\1\164\1\147\1\156\1\141\6\uffff\1\144\1\155\1\141\1\157\1\154\1\uffff\1\156\1\142\1\124\1\154\1\141\5\uffff\1\157\1\60\1\143\1\154\1\164\1\145\1\144\1\154\1\153\1\164\1\141\1\157\1\145\2\151\1\146\1\164\1\145\1\160\1\55\1\163\1\154\2\145\1\155\1\142\1\151\1\164\1\160\1\166\1\145\1\165\1\123\1\157\1\164\1\162\1\uffff\1\153\1\165\1\162\1\60\1\145\1\60\1\141\1\151\1\155\1\162\1\154\2\155\1\164\1\151\1\60\1\143\1\165\2\uffff\1\151\4\60\1\141\1\145\1\156\1\151\2\145\1\162\1\147\1\157\1\171\1\162\1\164\1\141\1\144\1\141\1\uffff\1\162\1\uffff\1\147\1\141\1\157\1\171\1\163\2\151\1\162\1\147\1\uffff\2\164\1\155\4\uffff\1\154\1\162\1\147\1\163\1\60\1\162\1\141\1\60\1\154\1\123\1\141\1\60\1\147\1\151\2\60\1\145\1\154\1\144\2\60\2\172\1\141\1\60\1\151\1\60\1\145\3\60\1\164\1\uffff\1\60\1\164\1\uffff\1\166\1\157\1\123\1\uffff\1\145\1\156\2\uffff\1\60\1\55\1\145\2\uffff\2\145\1\151\1\uffff\1\166\1\uffff\1\60\3\uffff\1\151\1\uffff\2\145\1\154\1\157\1\60\1\147\2\uffff\1\154\2\60\1\156\1\145\1\uffff\1\143\1\60\1\162\1\166\1\154\1\uffff\2\60\2\uffff\1\164\2\163\1\uffff\1\60\1\145\1\166\2\uffff\1\163\2\60\1\uffff\1\162\1\145\1\60\2\uffff\1\60\1\162\2\uffff\1\60\1\uffff"; static final String DFA12_maxS = - "\1\uffff\1\56\1\uffff\1\156\1\170\1\151\2\165\4\uffff\1\141\1\72\1\164\1\157\1\164\1\165\1\157\1\uffff\3\75\1\165\1\164\1\uffff\2\145\1\115\1\154\1\151\1\172\2\uffff\2\uffff\1\57\5\uffff\1\160\1\164\1\uffff\1\141\1\143\1\141\1\154\1\156\3\154\4\uffff\1\162\1\uffff\1\164\1\144\1\146\1\156\1\170\1\163\1\172\1\152\1\164\1\147\6\uffff\1\162\1\155\1\162\1\157\1\154\1\uffff\1\156\1\142\1\124\1\154\1\141\5\uffff\1\157\1\172\1\143\1\154\1\164\1\151\1\154\1\164\1\145\1\144\1\154\1\153\1\164\1\141\1\157\1\145\1\146\2\151\1\163\1\164\1\uffff\1\145\1\160\1\172\2\145\1\155\1\142\1\151\1\164\1\160\1\166\1\145\1\165\1\123\1\157\1\164\1\162\1\uffff\1\153\1\165\1\162\1\141\1\172\1\151\2\172\1\145\1\172\1\141\1\151\1\155\1\162\1\154\1\172\2\155\1\164\1\151\1\172\1\143\1\165\2\uffff\2\172\1\141\1\145\1\156\1\151\2\145\1\162\1\147\1\157\1\171\1\162\1\164\1\141\1\144\1\141\1\142\1\uffff\1\155\2\uffff\1\162\1\uffff\1\147\1\141\1\157\1\171\1\163\1\uffff\2\151\1\162\1\147\1\uffff\2\164\2\uffff\1\154\1\162\1\147\1\163\1\172\1\162\1\141\1\172\1\154\1\123\1\141\1\172\1\147\1\151\1\172\1\151\1\145\1\172\1\145\1\154\1\144\4\172\1\141\1\172\1\151\4\172\1\164\1\uffff\1\172\1\164\1\uffff\1\166\1\157\1\123\1\uffff\1\145\1\156\1\uffff\1\154\1\172\1\uffff\1\172\1\55\1\145\2\uffff\2\145\1\151\1\uffff\1\166\4\uffff\1\151\1\uffff\2\145\1\154\1\157\1\172\1\147\1\151\3\uffff\1\154\2\172\1\156\1\145\1\143\1\172\1\162\1\166\1\154\1\uffff\1\172\1\164\1\172\2\uffff\1\164\2\163\1\uffff\1\172\1\145\1\166\1\uffff\1\171\1\uffff\1\163\2\172\1\uffff\1\162\1\145\2\172\2\uffff\1\172\1\162\3\uffff\1\172\1\uffff"; + "\1\uffff\1\56\1\uffff\1\156\1\170\1\151\1\165\4\uffff\1\141\1\72\2\157\1\165\1\157\1\165\1\uffff\3\75\1\165\1\164\1\uffff\2\145\1\115\1\154\1\151\1\172\2\uffff\2\uffff\1\57\5\uffff\1\160\1\164\1\uffff\1\141\1\143\1\141\3\154\4\uffff\1\162\1\uffff\1\164\1\144\1\156\1\170\1\163\1\152\1\164\1\147\1\156\1\141\6\uffff\1\162\1\155\1\162\1\157\1\154\1\uffff\1\156\1\142\1\124\1\154\1\141\5\uffff\1\157\1\172\1\143\1\154\1\164\1\145\1\144\1\154\1\153\1\164\1\141\1\157\1\145\2\151\1\163\1\164\1\145\1\160\1\172\1\164\1\154\2\145\1\155\1\142\1\151\1\164\1\160\1\166\1\145\1\165\1\123\1\157\1\164\1\162\1\uffff\1\153\1\165\1\162\1\172\1\145\1\172\1\141\1\151\1\155\1\162\1\154\2\155\1\164\1\151\1\172\1\143\1\165\2\uffff\1\151\4\172\1\141\1\145\1\156\1\151\2\145\1\162\1\147\1\157\1\171\1\162\1\164\1\141\1\144\1\141\1\uffff\1\162\1\uffff\1\147\1\141\1\157\1\171\1\163\2\151\1\162\1\147\1\uffff\2\164\1\155\4\uffff\1\154\1\162\1\147\1\163\1\172\1\162\1\141\1\172\1\154\1\123\1\141\1\172\1\147\1\151\2\172\1\145\1\154\1\144\4\172\1\141\1\172\1\151\1\172\1\145\3\172\1\164\1\uffff\1\172\1\164\1\uffff\1\166\1\157\1\123\1\uffff\1\145\1\156\2\uffff\1\172\1\55\1\145\2\uffff\2\145\1\151\1\uffff\1\166\1\uffff\1\172\3\uffff\1\151\1\uffff\2\145\1\154\1\157\1\172\1\147\2\uffff\1\154\2\172\1\156\1\145\1\uffff\1\143\1\172\1\162\1\166\1\154\1\uffff\2\172\2\uffff\1\164\2\163\1\uffff\1\172\1\145\1\166\2\uffff\1\163\2\172\1\uffff\1\162\1\145\1\172\2\uffff\1\172\1\162\2\uffff\1\172\1\uffff"; static final String DFA12_acceptS = - "\2\uffff\1\2\5\uffff\1\10\1\11\1\12\1\13\7\uffff\1\33\5\uffff\1\43\6\uffff\1\71\1\72\3\uffff\1\76\1\77\1\44\1\1\1\2\2\uffff\1\71\10\uffff\1\10\1\11\1\12\1\13\1\uffff\1\16\12\uffff\1\33\1\34\1\61\1\35\1\62\1\36\5\uffff\1\43\5\uffff\1\72\1\73\1\74\1\75\1\76\25\uffff\1\24\21\uffff\1\40\27\uffff\1\30\1\54\22\uffff\1\41\1\uffff\1\51\1\7\1\uffff\1\65\5\uffff\1\25\4\uffff\1\23\2\uffff\1\37\1\63\41\uffff\1\45\2\uffff\1\53\3\uffff\1\3\2\uffff\1\5\2\uffff\1\20\3\uffff\1\32\1\21\3\uffff\1\27\1\uffff\1\56\1\64\1\50\1\42\1\uffff\1\52\7\uffff\1\31\1\14\1\47\12\uffff\1\4\3\uffff\1\57\1\60\3\uffff\1\46\3\uffff\1\15\1\uffff\1\17\3\uffff\1\66\4\uffff\1\26\1\55\2\uffff\1\6\1\22\1\67\1\uffff\1\70"; + "\2\uffff\1\2\4\uffff\1\7\1\10\1\11\1\12\7\uffff\1\30\5\uffff\1\40\6\uffff\1\66\1\67\3\uffff\1\73\1\74\1\41\1\1\1\2\2\uffff\1\66\6\uffff\1\7\1\10\1\11\1\12\1\uffff\1\15\12\uffff\1\30\1\31\1\56\1\32\1\57\1\33\5\uffff\1\40\5\uffff\1\67\1\70\1\71\1\72\1\73\44\uffff\1\35\22\uffff\1\25\1\51\24\uffff\1\6\1\uffff\1\62\11\uffff\1\22\3\uffff\1\46\1\36\1\34\1\60\40\uffff\1\42\2\uffff\1\50\3\uffff\1\3\2\uffff\1\5\1\17\3\uffff\1\27\1\20\3\uffff\1\24\1\uffff\1\53\1\uffff\1\61\1\45\1\37\1\uffff\1\47\6\uffff\1\13\1\44\5\uffff\1\26\5\uffff\1\4\2\uffff\1\54\1\55\3\uffff\1\43\3\uffff\1\14\1\16\3\uffff\1\63\3\uffff\1\23\1\52\2\uffff\1\21\1\64\1\uffff\1\65"; static final String DFA12_specialS = - "\1\1\41\uffff\1\0\1\2\u0113\uffff}>"; + "\1\0\40\uffff\1\1\1\2\u0103\uffff}>"; static final String[] DFA12_transitionS = { - "\11\46\2\45\2\46\1\45\22\46\1\45\1\46\1\42\1\23\3\46\1\43\2\46\1\31\1\24\1\12\1\2\1\1\1\44\12\41\1\15\1\46\1\25\1\10\1\26\2\46\1\35\21\40\1\34\2\40\1\36\4\40\3\46\1\37\1\40\1\46\1\20\1\40\1\17\1\33\1\4\1\7\1\32\1\40\1\3\2\40\1\22\1\16\1\27\1\21\1\14\1\40\1\6\1\30\2\40\1\5\4\40\1\11\1\46\1\13\uff82\46", - "\1\47", + "\11\45\2\44\2\45\1\44\22\45\1\44\1\45\1\41\1\22\3\45\1\42\2\45\1\30\1\23\1\11\1\2\1\1\1\43\12\40\1\14\1\45\1\24\1\7\1\25\2\45\1\34\21\37\1\33\2\37\1\35\4\37\3\45\1\36\1\37\1\45\2\37\1\16\1\32\1\4\1\6\1\31\1\37\1\3\2\37\1\20\1\15\1\26\1\17\1\13\1\37\1\21\1\27\2\37\1\5\4\37\1\10\1\45\1\12\uff82\45", + "\1\46", "", - "\1\52\1\53", - "\1\55\7\uffff\1\56", - "\1\57", - "\1\60\17\uffff\1\61", - "\1\62\5\uffff\1\63\5\uffff\1\64", + "\1\51\1\52", + "\1\54\7\uffff\1\55", + "\1\56", + "\1\57\5\uffff\1\60\5\uffff\1\61", "", "", "", "", - "\1\71", - "\1\72", - "\1\77\3\uffff\1\73\3\uffff\1\76\5\uffff\1\74\4\uffff\1\75", - "\1\100", - "\1\101", - "\1\102\22\uffff\1\103", - "\1\104", + "\1\66", + "\1\67", + "\1\73\3\uffff\1\70\3\uffff\1\72\5\uffff\1\71", + "\1\74", + "\1\75\22\uffff\1\76", + "\1\77", + "\1\101\17\uffff\1\100", "", + "\1\103", + "\1\104", "\1\106", - "\1\107", - "\1\111", - "\1\113\5\uffff\1\114", - "\1\116\13\uffff\1\117\4\uffff\1\115", + "\1\110\5\uffff\1\111", + "\1\113\13\uffff\1\114\4\uffff\1\112", "", + "\1\116", + "\1\117", + "\1\120", "\1\121", "\1\122", - "\1\123", - "\1\124", - "\1\125", - "\32\54\4\uffff\1\54\1\uffff\32\54", + "\32\53\4\uffff\1\53\1\uffff\32\53", "", "", - "\0\127", - "\0\127", - "\1\130\4\uffff\1\131", + "\0\124", + "\0\124", + "\1\125\4\uffff\1\126", "", "", "", "", "", + "\1\130", + "\1\131", + "", + "\1\132", "\1\133", "\1\134", - "", "\1\135", "\1\136", "\1\137", - "\1\141\12\uffff\1\140", - "\1\142", - "\1\143", - "\1\144", - "\1\145", "", "", "", "", - "\1\146\16\uffff\1\147", + "\1\140\16\uffff\1\141", "", - "\1\151\6\uffff\1\150", + "\1\143\6\uffff\1\142", + "\1\144", + "\1\145", + "\1\146", + "\1\147\4\uffff\1\150", + "\1\151", "\1\152", "\1\153", "\1\154", "\1\155", - "\1\156\4\uffff\1\157", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", - "\1\161", - "\1\162", - "\1\163", "", "", "", "", "", "", - "\1\164\11\uffff\1\165\3\uffff\1\166", + "\1\156\11\uffff\1\157\3\uffff\1\160", + "\1\161", + "\1\163\20\uffff\1\162", + "\1\164", + "\1\165", + "", + "\1\166", "\1\167", - "\1\171\20\uffff\1\170", + "\1\170", + "\1\171", "\1\172", - "\1\173", - "", - "\1\174", - "\1\175", - "\1\176", - "\1\177", - "\1\u0080", "", "", "", "", "", + "\1\173", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\1\175", + "\1\176", + "\1\177", + "\1\u0080", "\1\u0081", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", + "\1\u0082", "\1\u0083", "\1\u0084", "\1\u0085", "\1\u0086", "\1\u0087", - "\1\u0089\1\u0088", - "\1\u008a", - "\1\u008b", + "\1\u0088", + "\1\u0089", + "\1\u008b\14\uffff\1\u008a", "\1\u008c", "\1\u008d", "\1\u008e", - "\1\u008f", - "\1\u0090", - "\1\u0091", - "\1\u0092", + "\1\u008f\2\uffff\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\1\u0092\1\u0091", "\1\u0093", "\1\u0094", - "\1\u0096\14\uffff\1\u0095", + "\1\u0095", + "\1\u0096", "\1\u0097", - "", "\1\u0098", "\1\u0099", - "\1\u009a\2\uffff\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", + "\1\u009a", + "\1\u009b", "\1\u009c", "\1\u009d", "\1\u009e", "\1\u009f", "\1\u00a0", "\1\u00a1", + "", "\1\u00a2", "\1\u00a3", "\1\u00a4", - "\1\u00a5", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", "\1\u00a6", - "\1\u00a7", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", "\1\u00a8", "\1\u00a9", - "", "\1\u00aa", "\1\u00ab", "\1\u00ac", "\1\u00ad", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", + "\1\u00ae", "\1\u00af", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", + "\1\u00b0", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", "\1\u00b2", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", + "\1\u00b3", + "", + "", "\1\u00b4", - "\1\u00b5", - "\1\u00b6", - "\1\u00b7", - "\1\u00b8", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\1\u00b9", "\1\u00ba", "\1\u00bb", "\1\u00bc", "\1\u00bd", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", + "\1\u00be", "\1\u00bf", "\1\u00c0", - "", - "", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", + "\1\u00c1", + "\1\u00c2", "\1\u00c3", "\1\u00c4", "\1\u00c5", "\1\u00c6", "\1\u00c7", + "", "\1\u00c8", + "", "\1\u00c9", "\1\u00ca", "\1\u00cb", @@ -2393,143 +2310,122 @@ public class InternalApplicationConfigurationLexer extends Lexer { "\1\u00cf", "\1\u00d0", "\1\u00d1", - "\1\u00d2", "", + "\1\u00d2", "\1\u00d3", + "\1\u00d4", + "", "", "", - "\1\u00d4", "", "\1\u00d5", "\1\u00d6", "\1\u00d7", "\1\u00d8", - "\1\u00d9", - "", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", "\1\u00da", "\1\u00db", - "\1\u00dc", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", "\1\u00dd", - "", "\1\u00de", "\1\u00df", - "", - "", - "\1\u00e0", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", "\1\u00e1", "\1\u00e2", - "\1\u00e3", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", "\1\u00e5", "\1\u00e6", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", - "\1\u00e8", - "\1\u00e9", + "\1\u00e7", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", "\1\u00ea", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", + "\1\u00eb", "\1\u00ec", - "\1\u00ed", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", - "\1\u00ef", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\1\u00ee", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", "\1\u00f0", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", - "\1\u00f2", - "\1\u00f3", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", "\1\u00f4", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", + "", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\1\u00f6", + "", "\1\u00f7", "\1\u00f8", "\1\u00f9", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", + "", + "\1\u00fa", "\1\u00fb", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", + "", + "", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\1\u00fd", + "\1\u00fe", + "", + "", + "\1\u00ff", "\1\u0100", + "\1\u0101", "", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", "\1\u0102", "", - "\1\u0103", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "", + "", + "", "\1\u0104", - "\1\u0105", "", + "\1\u0105", "\1\u0106", "\1\u0107", - "", "\1\u0108", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", - "", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", - "\1\u010b", - "\1\u010c", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\1\u010a", "", "", - "\1\u010d", + "\1\u010b", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", "\1\u010e", "\1\u010f", "", "\1\u0110", - "", - "", - "", - "", - "\1\u0111", - "", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", "\1\u0112", "\1\u0113", "\1\u0114", - "\1\u0115", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", - "\1\u0117", - "\1\u0118", "", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", "", "", + "\1\u0117", + "\1\u0118", "\1\u0119", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", - "\1\u011c", - "\1\u011d", - "\1\u011e", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", - "\1\u0120", - "\1\u0121", - "\1\u0122", "", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", - "\1\u0124", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", - "", - "", - "\1\u0126", - "\1\u0127", - "\1\u0128", - "", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", - "\1\u012a", - "\1\u012b", - "", - "\1\u012c", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\1\u011b", + "\1\u011c", "", - "\1\u012d", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", "", - "\1\u0130", - "\1\u0131", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", + "\1\u011d", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", "", + "\1\u0120", + "\1\u0121", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", "", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", - "\1\u0135", "", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\1\u0124", "", "", - "\12\54\7\uffff\32\54\4\uffff\1\54\1\uffff\32\54", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", "" }; @@ -2563,23 +2459,13 @@ 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 | T__49 | T__50 | T__51 | T__52 | T__53 | T__54 | T__55 | T__56 | T__57 | T__58 | T__59 | T__60 | T__61 | T__62 | T__63 | T__64 | T__65 | T__66 | 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 | T__51 | T__52 | T__53 | T__54 | T__55 | T__56 | T__57 | T__58 | T__59 | T__60 | T__61 | T__62 | T__63 | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER );"; } public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { IntStream input = _input; int _s = s; switch ( s ) { case 0 : - int LA12_34 = input.LA(1); - - s = -1; - if ( ((LA12_34>='\u0000' && LA12_34<='\uFFFF')) ) {s = 87;} - - else s = 38; - - if ( s>=0 ) return s; - break; - case 1 : int LA12_0 = input.LA(1); s = -1; @@ -2593,81 +2479,89 @@ public class InternalApplicationConfigurationLexer extends Lexer { else if ( (LA12_0=='v') ) {s = 5;} - else if ( (LA12_0=='r') ) {s = 6;} + else if ( (LA12_0=='f') ) {s = 6;} + + else if ( (LA12_0=='=') ) {s = 7;} - else if ( (LA12_0=='f') ) {s = 7;} + else if ( (LA12_0=='{') ) {s = 8;} - else if ( (LA12_0=='=') ) {s = 8;} + else if ( (LA12_0==',') ) {s = 9;} - else if ( (LA12_0=='{') ) {s = 9;} + else if ( (LA12_0=='}') ) {s = 10;} - else if ( (LA12_0==',') ) {s = 10;} + else if ( (LA12_0=='p') ) {s = 11;} - else if ( (LA12_0=='}') ) {s = 11;} + else if ( (LA12_0==':') ) {s = 12;} - else if ( (LA12_0=='p') ) {s = 12;} + else if ( (LA12_0=='m') ) {s = 13;} - else if ( (LA12_0==':') ) {s = 13;} + else if ( (LA12_0=='c') ) {s = 14;} - else if ( (LA12_0=='m') ) {s = 14;} + else if ( (LA12_0=='o') ) {s = 15;} - else if ( (LA12_0=='c') ) {s = 15;} + else if ( (LA12_0=='l') ) {s = 16;} - else if ( (LA12_0=='a') ) {s = 16;} + else if ( (LA12_0=='r') ) {s = 17;} - else if ( (LA12_0=='o') ) {s = 17;} + else if ( (LA12_0=='#') ) {s = 18;} - else if ( (LA12_0=='l') ) {s = 18;} + else if ( (LA12_0=='+') ) {s = 19;} - else if ( (LA12_0=='#') ) {s = 19;} + else if ( (LA12_0=='<') ) {s = 20;} - else if ( (LA12_0=='+') ) {s = 20;} + else if ( (LA12_0=='>') ) {s = 21;} - else if ( (LA12_0=='<') ) {s = 21;} + else if ( (LA12_0=='n') ) {s = 22;} - else if ( (LA12_0=='>') ) {s = 22;} + else if ( (LA12_0=='s') ) {s = 23;} - else if ( (LA12_0=='n') ) {s = 23;} + else if ( (LA12_0=='*') ) {s = 24;} - else if ( (LA12_0=='s') ) {s = 24;} + else if ( (LA12_0=='g') ) {s = 25;} - else if ( (LA12_0=='*') ) {s = 25;} + else if ( (LA12_0=='d') ) {s = 26;} - else if ( (LA12_0=='g') ) {s = 26;} + else if ( (LA12_0=='S') ) {s = 27;} - else if ( (LA12_0=='d') ) {s = 27;} + else if ( (LA12_0=='A') ) {s = 28;} - else if ( (LA12_0=='S') ) {s = 28;} + else if ( (LA12_0=='V') ) {s = 29;} - else if ( (LA12_0=='A') ) {s = 29;} + else if ( (LA12_0=='^') ) {s = 30;} - else if ( (LA12_0=='V') ) {s = 30;} + else if ( ((LA12_0>='B' && 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 = 31;} + else if ( ((LA12_0>='0' && LA12_0<='9')) ) {s = 32;} - else if ( ((LA12_0>='B' && LA12_0<='R')||(LA12_0>='T' && LA12_0<='U')||(LA12_0>='W' && LA12_0<='Z')||LA12_0=='_'||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 = 32;} + else if ( (LA12_0=='\"') ) {s = 33;} - else if ( ((LA12_0>='0' && LA12_0<='9')) ) {s = 33;} + else if ( (LA12_0=='\'') ) {s = 34;} - else if ( (LA12_0=='\"') ) {s = 34;} + else if ( (LA12_0=='/') ) {s = 35;} - else if ( (LA12_0=='\'') ) {s = 35;} + else if ( ((LA12_0>='\t' && LA12_0<='\n')||LA12_0=='\r'||LA12_0==' ') ) {s = 36;} - else if ( (LA12_0=='/') ) {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<='\uFFFF')) ) {s = 37;} + + if ( s>=0 ) return s; + break; + case 1 : + int LA12_33 = input.LA(1); - else if ( ((LA12_0>='\t' && LA12_0<='\n')||LA12_0=='\r'||LA12_0==' ') ) {s = 37;} + s = -1; + if ( ((LA12_33>='\u0000' && LA12_33<='\uFFFF')) ) {s = 84;} - 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 = 38;} + else s = 37; if ( s>=0 ) return s; break; case 2 : - int LA12_35 = input.LA(1); + int LA12_34 = input.LA(1); s = -1; - if ( ((LA12_35>='\u0000' && LA12_35<='\uFFFF')) ) {s = 87;} + if ( ((LA12_34>='\u0000' && LA12_34<='\uFFFF')) ) {s = 84;} - else s = 38; + else 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 0584e2d5..717b4c46 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 @@ -22,7 +22,7 @@ import java.util.ArrayList; @SuppressWarnings("all") public class InternalApplicationConfigurationParser extends AbstractInternalAntlrParser { public static final String[] tokenNames = new String[] { - "", "", "", "", "RULE_ID", "RULE_INT", "RULE_STRING", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "'.'", "'-'", "'import'", "'epackage'", "'viatra'", "'reliability'", "'file'", "'='", "'{'", "','", "'}'", "'package'", "'excluding'", "'::'", "'metamodel'", "'folder'", "'models'", "'constraints'", "'cost'", "'at'", "'mtff'", "'objectives'", "'config'", "'log-level'", "'runtime'", "'memory'", "'#'", "'+='", "'<'", "'>'", "'node'", "'int'", "'real'", "'string'", "'*'", "'..'", "'scope'", "'generate'", "'partial-model'", "'number'", "'runs'", "'solver'", "'debug'", "'log'", "'statistics'", "'output'", "'minimize'", "'maximize'", "'<='", "'>='", "'none'", "'normal'", "'full'", "'SMTSolver'", "'AlloySolver'", "'ViatraSolver'" + "", "", "", "", "RULE_ID", "RULE_INT", "RULE_STRING", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "'.'", "'-'", "'import'", "'epackage'", "'viatra'", "'file'", "'='", "'{'", "','", "'}'", "'package'", "'excluding'", "'::'", "'metamodel'", "'folder'", "'models'", "'constraints'", "'cost'", "'objectives'", "'config'", "'log-level'", "'runtime'", "'memory'", "'#'", "'+='", "'<'", "'>'", "'node'", "'int'", "'real'", "'string'", "'*'", "'..'", "'scope'", "'generate'", "'partial-model'", "'number'", "'runs'", "'solver'", "'debug'", "'log'", "'statistics'", "'output'", "'minimize'", "'maximize'", "'<='", "'>='", "'none'", "'normal'", "'full'", "'SMTSolver'", "'AlloySolver'", "'ViatraSolver'" }; public static final int T__50=50; public static final int T__19=19; @@ -52,7 +52,6 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl public static final int RULE_INT=5; public static final int T__29=29; public static final int T__22=22; - public static final int T__66=66; public static final int RULE_ML_COMMENT=7; public static final int T__23=23; public static final int T__24=24; @@ -60,9 +59,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl public static final int T__62=62; public static final int T__63=63; public static final int T__20=20; - public static final int T__64=64; public static final int T__21=21; - public static final int T__65=65; public static final int RULE_STRING=6; public static final int RULE_SL_COMMENT=8; public static final int T__37=37; @@ -239,7 +236,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl int alt2=2; int LA2_0 = input.LA(1); - if ( (LA2_0==17||LA2_0==25||(LA2_0>=27 && LA2_0<=28)||(LA2_0>=32 && LA2_0<=33)||(LA2_0>=47 && LA2_0<=48)) ) { + if ( (LA2_0==16||LA2_0==24||(LA2_0>=26 && LA2_0<=27)||(LA2_0>=29 && LA2_0<=30)||(LA2_0>=44 && LA2_0<=45)) ) { alt2=1; } @@ -361,10 +358,10 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl int alt3=2; int LA3_0 = input.LA(1); - if ( (LA3_0==17||LA3_0==25||(LA3_0>=27 && LA3_0<=28)||(LA3_0>=32 && LA3_0<=33)||LA3_0==47) ) { + if ( (LA3_0==16||LA3_0==24||(LA3_0>=26 && LA3_0<=27)||(LA3_0>=29 && LA3_0<=30)||LA3_0==44) ) { alt3=1; } - else if ( (LA3_0==48) ) { + else if ( (LA3_0==45) ) { alt3=2; } else { @@ -812,7 +809,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleImport" - // InternalApplicationConfiguration.g:283:1: ruleImport returns [EObject current=null] : (this_EPackageImport_0= ruleEPackageImport | this_ViatraImport_1= ruleViatraImport | this_CftImport_2= ruleCftImport ) ; + // InternalApplicationConfiguration.g:283:1: ruleImport returns [EObject current=null] : (this_EPackageImport_0= ruleEPackageImport | this_ViatraImport_1= ruleViatraImport ) ; public final EObject ruleImport() throws RecognitionException { EObject current = null; @@ -820,44 +817,33 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl EObject this_ViatraImport_1 = null; - EObject this_CftImport_2 = null; - enterRule(); try { - // InternalApplicationConfiguration.g:289:2: ( (this_EPackageImport_0= ruleEPackageImport | this_ViatraImport_1= ruleViatraImport | this_CftImport_2= ruleCftImport ) ) - // InternalApplicationConfiguration.g:290:2: (this_EPackageImport_0= ruleEPackageImport | this_ViatraImport_1= ruleViatraImport | this_CftImport_2= ruleCftImport ) + // InternalApplicationConfiguration.g:289:2: ( (this_EPackageImport_0= ruleEPackageImport | this_ViatraImport_1= ruleViatraImport ) ) + // InternalApplicationConfiguration.g:290:2: (this_EPackageImport_0= ruleEPackageImport | this_ViatraImport_1= ruleViatraImport ) { - // InternalApplicationConfiguration.g:290:2: (this_EPackageImport_0= ruleEPackageImport | this_ViatraImport_1= ruleViatraImport | this_CftImport_2= ruleCftImport ) - int alt7=3; + // InternalApplicationConfiguration.g:290:2: (this_EPackageImport_0= ruleEPackageImport | this_ViatraImport_1= ruleViatraImport ) + int alt7=2; int LA7_0 = input.LA(1); if ( (LA7_0==13) ) { - switch ( input.LA(2) ) { - case 14: - { + int LA7_1 = input.LA(2); + + if ( (LA7_1==14) ) { alt7=1; - } - break; - case 15: - { + } + else if ( (LA7_1==15) ) { alt7=2; - } - break; - case 16: - { - alt7=3; - } - break; - default: + } + else { NoViableAltException nvae = new NoViableAltException("", 7, 1, input); throw nvae; } - } else { NoViableAltException nvae = @@ -900,24 +886,6 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl afterParserOrEnumRuleCall(); - } - break; - case 3 : - // InternalApplicationConfiguration.g:309:3: this_CftImport_2= ruleCftImport - { - - newCompositeNode(grammarAccess.getImportAccess().getCftImportParserRuleCall_2()); - - pushFollow(FOLLOW_2); - this_CftImport_2=ruleCftImport(); - - state._fsp--; - - - current = this_CftImport_2; - afterParserOrEnumRuleCall(); - - } break; @@ -943,7 +911,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleEPackageImport" - // InternalApplicationConfiguration.g:321:1: entryRuleEPackageImport returns [EObject current=null] : iv_ruleEPackageImport= ruleEPackageImport EOF ; + // InternalApplicationConfiguration.g:312:1: entryRuleEPackageImport returns [EObject current=null] : iv_ruleEPackageImport= ruleEPackageImport EOF ; public final EObject entryRuleEPackageImport() throws RecognitionException { EObject current = null; @@ -951,8 +919,8 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:321:55: (iv_ruleEPackageImport= ruleEPackageImport EOF ) - // InternalApplicationConfiguration.g:322:2: iv_ruleEPackageImport= ruleEPackageImport EOF + // InternalApplicationConfiguration.g:312:55: (iv_ruleEPackageImport= ruleEPackageImport EOF ) + // InternalApplicationConfiguration.g:313:2: iv_ruleEPackageImport= ruleEPackageImport EOF { newCompositeNode(grammarAccess.getEPackageImportRule()); pushFollow(FOLLOW_1); @@ -979,7 +947,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleEPackageImport" - // InternalApplicationConfiguration.g:328:1: ruleEPackageImport returns [EObject current=null] : (otherlv_0= 'import' otherlv_1= 'epackage' ( (otherlv_2= RULE_STRING ) ) ) ; + // InternalApplicationConfiguration.g:319:1: ruleEPackageImport returns [EObject current=null] : (otherlv_0= 'import' otherlv_1= 'epackage' ( (otherlv_2= RULE_STRING ) ) ) ; public final EObject ruleEPackageImport() throws RecognitionException { EObject current = null; @@ -991,11 +959,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:334:2: ( (otherlv_0= 'import' otherlv_1= 'epackage' ( (otherlv_2= RULE_STRING ) ) ) ) - // InternalApplicationConfiguration.g:335:2: (otherlv_0= 'import' otherlv_1= 'epackage' ( (otherlv_2= RULE_STRING ) ) ) + // InternalApplicationConfiguration.g:325:2: ( (otherlv_0= 'import' otherlv_1= 'epackage' ( (otherlv_2= RULE_STRING ) ) ) ) + // InternalApplicationConfiguration.g:326:2: (otherlv_0= 'import' otherlv_1= 'epackage' ( (otherlv_2= RULE_STRING ) ) ) { - // InternalApplicationConfiguration.g:335:2: (otherlv_0= 'import' otherlv_1= 'epackage' ( (otherlv_2= RULE_STRING ) ) ) - // InternalApplicationConfiguration.g:336:3: otherlv_0= 'import' otherlv_1= 'epackage' ( (otherlv_2= RULE_STRING ) ) + // InternalApplicationConfiguration.g:326:2: (otherlv_0= 'import' otherlv_1= 'epackage' ( (otherlv_2= RULE_STRING ) ) ) + // InternalApplicationConfiguration.g:327:3: otherlv_0= 'import' otherlv_1= 'epackage' ( (otherlv_2= RULE_STRING ) ) { otherlv_0=(Token)match(input,13,FOLLOW_9); @@ -1005,11 +973,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl newLeafNode(otherlv_1, grammarAccess.getEPackageImportAccess().getEpackageKeyword_1()); - // InternalApplicationConfiguration.g:344:3: ( (otherlv_2= RULE_STRING ) ) - // InternalApplicationConfiguration.g:345:4: (otherlv_2= RULE_STRING ) + // InternalApplicationConfiguration.g:335:3: ( (otherlv_2= RULE_STRING ) ) + // InternalApplicationConfiguration.g:336:4: (otherlv_2= RULE_STRING ) { - // InternalApplicationConfiguration.g:345:4: (otherlv_2= RULE_STRING ) - // InternalApplicationConfiguration.g:346:5: otherlv_2= RULE_STRING + // InternalApplicationConfiguration.g:336:4: (otherlv_2= RULE_STRING ) + // InternalApplicationConfiguration.g:337:5: otherlv_2= RULE_STRING { if (current==null) { @@ -1049,7 +1017,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleViatraImport" - // InternalApplicationConfiguration.g:361:1: entryRuleViatraImport returns [EObject current=null] : iv_ruleViatraImport= ruleViatraImport EOF ; + // InternalApplicationConfiguration.g:352:1: entryRuleViatraImport returns [EObject current=null] : iv_ruleViatraImport= ruleViatraImport EOF ; public final EObject entryRuleViatraImport() throws RecognitionException { EObject current = null; @@ -1057,8 +1025,8 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:361:53: (iv_ruleViatraImport= ruleViatraImport EOF ) - // InternalApplicationConfiguration.g:362:2: iv_ruleViatraImport= ruleViatraImport EOF + // InternalApplicationConfiguration.g:352:53: (iv_ruleViatraImport= ruleViatraImport EOF ) + // InternalApplicationConfiguration.g:353:2: iv_ruleViatraImport= ruleViatraImport EOF { newCompositeNode(grammarAccess.getViatraImportRule()); pushFollow(FOLLOW_1); @@ -1085,7 +1053,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleViatraImport" - // InternalApplicationConfiguration.g:368:1: ruleViatraImport returns [EObject current=null] : (otherlv_0= 'import' otherlv_1= 'viatra' ( (otherlv_2= RULE_STRING ) ) ) ; + // InternalApplicationConfiguration.g:359:1: ruleViatraImport returns [EObject current=null] : (otherlv_0= 'import' otherlv_1= 'viatra' ( (otherlv_2= RULE_STRING ) ) ) ; public final EObject ruleViatraImport() throws RecognitionException { EObject current = null; @@ -1097,11 +1065,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:374:2: ( (otherlv_0= 'import' otherlv_1= 'viatra' ( (otherlv_2= RULE_STRING ) ) ) ) - // InternalApplicationConfiguration.g:375:2: (otherlv_0= 'import' otherlv_1= 'viatra' ( (otherlv_2= RULE_STRING ) ) ) + // InternalApplicationConfiguration.g:365:2: ( (otherlv_0= 'import' otherlv_1= 'viatra' ( (otherlv_2= RULE_STRING ) ) ) ) + // InternalApplicationConfiguration.g:366:2: (otherlv_0= 'import' otherlv_1= 'viatra' ( (otherlv_2= RULE_STRING ) ) ) { - // InternalApplicationConfiguration.g:375:2: (otherlv_0= 'import' otherlv_1= 'viatra' ( (otherlv_2= RULE_STRING ) ) ) - // InternalApplicationConfiguration.g:376:3: otherlv_0= 'import' otherlv_1= 'viatra' ( (otherlv_2= RULE_STRING ) ) + // InternalApplicationConfiguration.g:366:2: (otherlv_0= 'import' otherlv_1= 'viatra' ( (otherlv_2= RULE_STRING ) ) ) + // InternalApplicationConfiguration.g:367:3: otherlv_0= 'import' otherlv_1= 'viatra' ( (otherlv_2= RULE_STRING ) ) { otherlv_0=(Token)match(input,13,FOLLOW_11); @@ -1111,11 +1079,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl newLeafNode(otherlv_1, grammarAccess.getViatraImportAccess().getViatraKeyword_1()); - // InternalApplicationConfiguration.g:384:3: ( (otherlv_2= RULE_STRING ) ) - // InternalApplicationConfiguration.g:385:4: (otherlv_2= RULE_STRING ) + // InternalApplicationConfiguration.g:375:3: ( (otherlv_2= RULE_STRING ) ) + // InternalApplicationConfiguration.g:376:4: (otherlv_2= RULE_STRING ) { - // InternalApplicationConfiguration.g:385:4: (otherlv_2= RULE_STRING ) - // InternalApplicationConfiguration.g:386:5: otherlv_2= RULE_STRING + // InternalApplicationConfiguration.g:376:4: (otherlv_2= RULE_STRING ) + // InternalApplicationConfiguration.g:377:5: otherlv_2= RULE_STRING { if (current==null) { @@ -1154,114 +1122,8 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR end "ruleViatraImport" - // $ANTLR start "entryRuleCftImport" - // InternalApplicationConfiguration.g:401:1: entryRuleCftImport returns [EObject current=null] : iv_ruleCftImport= ruleCftImport EOF ; - public final EObject entryRuleCftImport() throws RecognitionException { - EObject current = null; - - EObject iv_ruleCftImport = null; - - - try { - // InternalApplicationConfiguration.g:401:50: (iv_ruleCftImport= ruleCftImport EOF ) - // InternalApplicationConfiguration.g:402:2: iv_ruleCftImport= ruleCftImport EOF - { - newCompositeNode(grammarAccess.getCftImportRule()); - pushFollow(FOLLOW_1); - iv_ruleCftImport=ruleCftImport(); - - state._fsp--; - - current =iv_ruleCftImport; - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleCftImport" - - - // $ANTLR start "ruleCftImport" - // InternalApplicationConfiguration.g:408:1: ruleCftImport returns [EObject current=null] : (otherlv_0= 'import' otherlv_1= 'reliability' ( (otherlv_2= RULE_STRING ) ) ) ; - public final EObject ruleCftImport() throws RecognitionException { - EObject current = null; - - Token otherlv_0=null; - Token otherlv_1=null; - Token otherlv_2=null; - - - enterRule(); - - try { - // InternalApplicationConfiguration.g:414:2: ( (otherlv_0= 'import' otherlv_1= 'reliability' ( (otherlv_2= RULE_STRING ) ) ) ) - // InternalApplicationConfiguration.g:415:2: (otherlv_0= 'import' otherlv_1= 'reliability' ( (otherlv_2= RULE_STRING ) ) ) - { - // InternalApplicationConfiguration.g:415:2: (otherlv_0= 'import' otherlv_1= 'reliability' ( (otherlv_2= RULE_STRING ) ) ) - // InternalApplicationConfiguration.g:416:3: otherlv_0= 'import' otherlv_1= 'reliability' ( (otherlv_2= RULE_STRING ) ) - { - otherlv_0=(Token)match(input,13,FOLLOW_12); - - newLeafNode(otherlv_0, grammarAccess.getCftImportAccess().getImportKeyword_0()); - - otherlv_1=(Token)match(input,16,FOLLOW_10); - - newLeafNode(otherlv_1, grammarAccess.getCftImportAccess().getReliabilityKeyword_1()); - - // InternalApplicationConfiguration.g:424:3: ( (otherlv_2= RULE_STRING ) ) - // InternalApplicationConfiguration.g:425:4: (otherlv_2= RULE_STRING ) - { - // InternalApplicationConfiguration.g:425:4: (otherlv_2= RULE_STRING ) - // InternalApplicationConfiguration.g:426:5: otherlv_2= RULE_STRING - { - - if (current==null) { - current = createModelElement(grammarAccess.getCftImportRule()); - } - - otherlv_2=(Token)match(input,RULE_STRING,FOLLOW_2); - - newLeafNode(otherlv_2, grammarAccess.getCftImportAccess().getImportedCftCftModelCrossReference_2_0()); - - - } - - - } - - - } - - - } - - - leaveRule(); - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleCftImport" - - // $ANTLR start "entryRuleDeclaration" - // InternalApplicationConfiguration.g:441:1: entryRuleDeclaration returns [EObject current=null] : iv_ruleDeclaration= ruleDeclaration EOF ; + // InternalApplicationConfiguration.g:392:1: entryRuleDeclaration returns [EObject current=null] : iv_ruleDeclaration= ruleDeclaration EOF ; public final EObject entryRuleDeclaration() throws RecognitionException { EObject current = null; @@ -1269,8 +1131,8 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:441:52: (iv_ruleDeclaration= ruleDeclaration EOF ) - // InternalApplicationConfiguration.g:442:2: iv_ruleDeclaration= ruleDeclaration EOF + // InternalApplicationConfiguration.g:392:52: (iv_ruleDeclaration= ruleDeclaration EOF ) + // InternalApplicationConfiguration.g:393:2: iv_ruleDeclaration= ruleDeclaration EOF { newCompositeNode(grammarAccess.getDeclarationRule()); pushFollow(FOLLOW_1); @@ -1297,7 +1159,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleDeclaration" - // InternalApplicationConfiguration.g:448:1: ruleDeclaration returns [EObject current=null] : (this_FileDeclaration_0= ruleFileDeclaration | this_MetamodelDeclaration_1= ruleMetamodelDeclaration | this_PartialModelDeclaration_2= rulePartialModelDeclaration | this_GraphPatternDeclaration_3= ruleGraphPatternDeclaration | this_ConfigDeclaration_4= ruleConfigDeclaration | this_ScopeDeclaration_5= ruleScopeDeclaration | this_ObjectiveDeclaration_6= ruleObjectiveDeclaration ) ; + // InternalApplicationConfiguration.g:399:1: ruleDeclaration returns [EObject current=null] : (this_FileDeclaration_0= ruleFileDeclaration | this_MetamodelDeclaration_1= ruleMetamodelDeclaration | this_PartialModelDeclaration_2= rulePartialModelDeclaration | this_GraphPatternDeclaration_3= ruleGraphPatternDeclaration | this_ConfigDeclaration_4= ruleConfigDeclaration | this_ScopeDeclaration_5= ruleScopeDeclaration | this_ObjectiveDeclaration_6= ruleObjectiveDeclaration ) ; public final EObject ruleDeclaration() throws RecognitionException { EObject current = null; @@ -1320,43 +1182,43 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:454:2: ( (this_FileDeclaration_0= ruleFileDeclaration | this_MetamodelDeclaration_1= ruleMetamodelDeclaration | this_PartialModelDeclaration_2= rulePartialModelDeclaration | this_GraphPatternDeclaration_3= ruleGraphPatternDeclaration | this_ConfigDeclaration_4= ruleConfigDeclaration | this_ScopeDeclaration_5= ruleScopeDeclaration | this_ObjectiveDeclaration_6= ruleObjectiveDeclaration ) ) - // InternalApplicationConfiguration.g:455:2: (this_FileDeclaration_0= ruleFileDeclaration | this_MetamodelDeclaration_1= ruleMetamodelDeclaration | this_PartialModelDeclaration_2= rulePartialModelDeclaration | this_GraphPatternDeclaration_3= ruleGraphPatternDeclaration | this_ConfigDeclaration_4= ruleConfigDeclaration | this_ScopeDeclaration_5= ruleScopeDeclaration | this_ObjectiveDeclaration_6= ruleObjectiveDeclaration ) + // InternalApplicationConfiguration.g:405:2: ( (this_FileDeclaration_0= ruleFileDeclaration | this_MetamodelDeclaration_1= ruleMetamodelDeclaration | this_PartialModelDeclaration_2= rulePartialModelDeclaration | this_GraphPatternDeclaration_3= ruleGraphPatternDeclaration | this_ConfigDeclaration_4= ruleConfigDeclaration | this_ScopeDeclaration_5= ruleScopeDeclaration | this_ObjectiveDeclaration_6= ruleObjectiveDeclaration ) ) + // InternalApplicationConfiguration.g:406:2: (this_FileDeclaration_0= ruleFileDeclaration | this_MetamodelDeclaration_1= ruleMetamodelDeclaration | this_PartialModelDeclaration_2= rulePartialModelDeclaration | this_GraphPatternDeclaration_3= ruleGraphPatternDeclaration | this_ConfigDeclaration_4= ruleConfigDeclaration | this_ScopeDeclaration_5= ruleScopeDeclaration | this_ObjectiveDeclaration_6= ruleObjectiveDeclaration ) { - // InternalApplicationConfiguration.g:455:2: (this_FileDeclaration_0= ruleFileDeclaration | this_MetamodelDeclaration_1= ruleMetamodelDeclaration | this_PartialModelDeclaration_2= rulePartialModelDeclaration | this_GraphPatternDeclaration_3= ruleGraphPatternDeclaration | this_ConfigDeclaration_4= ruleConfigDeclaration | this_ScopeDeclaration_5= ruleScopeDeclaration | this_ObjectiveDeclaration_6= ruleObjectiveDeclaration ) + // InternalApplicationConfiguration.g:406:2: (this_FileDeclaration_0= ruleFileDeclaration | this_MetamodelDeclaration_1= ruleMetamodelDeclaration | this_PartialModelDeclaration_2= rulePartialModelDeclaration | this_GraphPatternDeclaration_3= ruleGraphPatternDeclaration | this_ConfigDeclaration_4= ruleConfigDeclaration | this_ScopeDeclaration_5= ruleScopeDeclaration | this_ObjectiveDeclaration_6= ruleObjectiveDeclaration ) int alt8=7; switch ( input.LA(1) ) { - case 17: + case 16: { alt8=1; } break; - case 25: + case 24: { alt8=2; } break; - case 27: + case 26: { alt8=3; } break; - case 28: + case 27: { alt8=4; } break; - case 33: + case 30: { alt8=5; } break; - case 47: + case 44: { alt8=6; } break; - case 32: + case 29: { alt8=7; } @@ -1370,7 +1232,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl switch (alt8) { case 1 : - // InternalApplicationConfiguration.g:456:3: this_FileDeclaration_0= ruleFileDeclaration + // InternalApplicationConfiguration.g:407:3: this_FileDeclaration_0= ruleFileDeclaration { newCompositeNode(grammarAccess.getDeclarationAccess().getFileDeclarationParserRuleCall_0()); @@ -1388,7 +1250,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } break; case 2 : - // InternalApplicationConfiguration.g:465:3: this_MetamodelDeclaration_1= ruleMetamodelDeclaration + // InternalApplicationConfiguration.g:416:3: this_MetamodelDeclaration_1= ruleMetamodelDeclaration { newCompositeNode(grammarAccess.getDeclarationAccess().getMetamodelDeclarationParserRuleCall_1()); @@ -1406,7 +1268,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } break; case 3 : - // InternalApplicationConfiguration.g:474:3: this_PartialModelDeclaration_2= rulePartialModelDeclaration + // InternalApplicationConfiguration.g:425:3: this_PartialModelDeclaration_2= rulePartialModelDeclaration { newCompositeNode(grammarAccess.getDeclarationAccess().getPartialModelDeclarationParserRuleCall_2()); @@ -1424,7 +1286,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } break; case 4 : - // InternalApplicationConfiguration.g:483:3: this_GraphPatternDeclaration_3= ruleGraphPatternDeclaration + // InternalApplicationConfiguration.g:434:3: this_GraphPatternDeclaration_3= ruleGraphPatternDeclaration { newCompositeNode(grammarAccess.getDeclarationAccess().getGraphPatternDeclarationParserRuleCall_3()); @@ -1442,7 +1304,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } break; case 5 : - // InternalApplicationConfiguration.g:492:3: this_ConfigDeclaration_4= ruleConfigDeclaration + // InternalApplicationConfiguration.g:443:3: this_ConfigDeclaration_4= ruleConfigDeclaration { newCompositeNode(grammarAccess.getDeclarationAccess().getConfigDeclarationParserRuleCall_4()); @@ -1460,7 +1322,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } break; case 6 : - // InternalApplicationConfiguration.g:501:3: this_ScopeDeclaration_5= ruleScopeDeclaration + // InternalApplicationConfiguration.g:452:3: this_ScopeDeclaration_5= ruleScopeDeclaration { newCompositeNode(grammarAccess.getDeclarationAccess().getScopeDeclarationParserRuleCall_5()); @@ -1478,7 +1340,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } break; case 7 : - // InternalApplicationConfiguration.g:510:3: this_ObjectiveDeclaration_6= ruleObjectiveDeclaration + // InternalApplicationConfiguration.g:461:3: this_ObjectiveDeclaration_6= ruleObjectiveDeclaration { newCompositeNode(grammarAccess.getDeclarationAccess().getObjectiveDeclarationParserRuleCall_6()); @@ -1518,7 +1380,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleFileSpecification" - // InternalApplicationConfiguration.g:522:1: entryRuleFileSpecification returns [EObject current=null] : iv_ruleFileSpecification= ruleFileSpecification EOF ; + // InternalApplicationConfiguration.g:473:1: entryRuleFileSpecification returns [EObject current=null] : iv_ruleFileSpecification= ruleFileSpecification EOF ; public final EObject entryRuleFileSpecification() throws RecognitionException { EObject current = null; @@ -1526,8 +1388,8 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:522:58: (iv_ruleFileSpecification= ruleFileSpecification EOF ) - // InternalApplicationConfiguration.g:523:2: iv_ruleFileSpecification= ruleFileSpecification EOF + // InternalApplicationConfiguration.g:473:58: (iv_ruleFileSpecification= ruleFileSpecification EOF ) + // InternalApplicationConfiguration.g:474:2: iv_ruleFileSpecification= ruleFileSpecification EOF { newCompositeNode(grammarAccess.getFileSpecificationRule()); pushFollow(FOLLOW_1); @@ -1554,7 +1416,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleFileSpecification" - // InternalApplicationConfiguration.g:529:1: ruleFileSpecification returns [EObject current=null] : ( (lv_path_0_0= RULE_STRING ) ) ; + // InternalApplicationConfiguration.g:480:1: ruleFileSpecification returns [EObject current=null] : ( (lv_path_0_0= RULE_STRING ) ) ; public final EObject ruleFileSpecification() throws RecognitionException { EObject current = null; @@ -1564,14 +1426,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:535:2: ( ( (lv_path_0_0= RULE_STRING ) ) ) - // InternalApplicationConfiguration.g:536:2: ( (lv_path_0_0= RULE_STRING ) ) + // InternalApplicationConfiguration.g:486:2: ( ( (lv_path_0_0= RULE_STRING ) ) ) + // InternalApplicationConfiguration.g:487:2: ( (lv_path_0_0= RULE_STRING ) ) { - // InternalApplicationConfiguration.g:536:2: ( (lv_path_0_0= RULE_STRING ) ) - // InternalApplicationConfiguration.g:537:3: (lv_path_0_0= RULE_STRING ) + // InternalApplicationConfiguration.g:487:2: ( (lv_path_0_0= RULE_STRING ) ) + // InternalApplicationConfiguration.g:488:3: (lv_path_0_0= RULE_STRING ) { - // InternalApplicationConfiguration.g:537:3: (lv_path_0_0= RULE_STRING ) - // InternalApplicationConfiguration.g:538:4: lv_path_0_0= RULE_STRING + // InternalApplicationConfiguration.g:488:3: (lv_path_0_0= RULE_STRING ) + // InternalApplicationConfiguration.g:489:4: lv_path_0_0= RULE_STRING { lv_path_0_0=(Token)match(input,RULE_STRING,FOLLOW_2); @@ -1613,7 +1475,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleFileDeclaration" - // InternalApplicationConfiguration.g:557:1: entryRuleFileDeclaration returns [EObject current=null] : iv_ruleFileDeclaration= ruleFileDeclaration EOF ; + // InternalApplicationConfiguration.g:508:1: entryRuleFileDeclaration returns [EObject current=null] : iv_ruleFileDeclaration= ruleFileDeclaration EOF ; public final EObject entryRuleFileDeclaration() throws RecognitionException { EObject current = null; @@ -1621,8 +1483,8 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:557:56: (iv_ruleFileDeclaration= ruleFileDeclaration EOF ) - // InternalApplicationConfiguration.g:558:2: iv_ruleFileDeclaration= ruleFileDeclaration EOF + // InternalApplicationConfiguration.g:508:56: (iv_ruleFileDeclaration= ruleFileDeclaration EOF ) + // InternalApplicationConfiguration.g:509:2: iv_ruleFileDeclaration= ruleFileDeclaration EOF { newCompositeNode(grammarAccess.getFileDeclarationRule()); pushFollow(FOLLOW_1); @@ -1649,7 +1511,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleFileDeclaration" - // InternalApplicationConfiguration.g:564:1: ruleFileDeclaration returns [EObject current=null] : (otherlv_0= 'file' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '=' ( (lv_specification_3_0= ruleFileSpecification ) ) ) ; + // InternalApplicationConfiguration.g:515:1: ruleFileDeclaration returns [EObject current=null] : (otherlv_0= 'file' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '=' ( (lv_specification_3_0= ruleFileSpecification ) ) ) ; public final EObject ruleFileDeclaration() throws RecognitionException { EObject current = null; @@ -1663,23 +1525,23 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:570:2: ( (otherlv_0= 'file' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '=' ( (lv_specification_3_0= ruleFileSpecification ) ) ) ) - // InternalApplicationConfiguration.g:571:2: (otherlv_0= 'file' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '=' ( (lv_specification_3_0= ruleFileSpecification ) ) ) + // InternalApplicationConfiguration.g:521:2: ( (otherlv_0= 'file' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '=' ( (lv_specification_3_0= ruleFileSpecification ) ) ) ) + // InternalApplicationConfiguration.g:522:2: (otherlv_0= 'file' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '=' ( (lv_specification_3_0= ruleFileSpecification ) ) ) { - // InternalApplicationConfiguration.g:571:2: (otherlv_0= 'file' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '=' ( (lv_specification_3_0= ruleFileSpecification ) ) ) - // InternalApplicationConfiguration.g:572:3: otherlv_0= 'file' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '=' ( (lv_specification_3_0= ruleFileSpecification ) ) + // InternalApplicationConfiguration.g:522:2: (otherlv_0= 'file' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '=' ( (lv_specification_3_0= ruleFileSpecification ) ) ) + // InternalApplicationConfiguration.g:523:3: otherlv_0= 'file' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '=' ( (lv_specification_3_0= ruleFileSpecification ) ) { - otherlv_0=(Token)match(input,17,FOLLOW_6); + otherlv_0=(Token)match(input,16,FOLLOW_6); newLeafNode(otherlv_0, grammarAccess.getFileDeclarationAccess().getFileKeyword_0()); - // InternalApplicationConfiguration.g:576:3: ( (lv_name_1_0= RULE_ID ) ) - // InternalApplicationConfiguration.g:577:4: (lv_name_1_0= RULE_ID ) + // InternalApplicationConfiguration.g:527:3: ( (lv_name_1_0= RULE_ID ) ) + // InternalApplicationConfiguration.g:528:4: (lv_name_1_0= RULE_ID ) { - // InternalApplicationConfiguration.g:577:4: (lv_name_1_0= RULE_ID ) - // InternalApplicationConfiguration.g:578:5: lv_name_1_0= RULE_ID + // InternalApplicationConfiguration.g:528:4: (lv_name_1_0= RULE_ID ) + // InternalApplicationConfiguration.g:529:5: lv_name_1_0= RULE_ID { - lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_13); + lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_12); newLeafNode(lv_name_1_0, grammarAccess.getFileDeclarationAccess().getNameIDTerminalRuleCall_1_0()); @@ -1699,15 +1561,15 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - otherlv_2=(Token)match(input,18,FOLLOW_10); + otherlv_2=(Token)match(input,17,FOLLOW_10); newLeafNode(otherlv_2, grammarAccess.getFileDeclarationAccess().getEqualsSignKeyword_2()); - // InternalApplicationConfiguration.g:598:3: ( (lv_specification_3_0= ruleFileSpecification ) ) - // InternalApplicationConfiguration.g:599:4: (lv_specification_3_0= ruleFileSpecification ) + // InternalApplicationConfiguration.g:549:3: ( (lv_specification_3_0= ruleFileSpecification ) ) + // InternalApplicationConfiguration.g:550:4: (lv_specification_3_0= ruleFileSpecification ) { - // InternalApplicationConfiguration.g:599:4: (lv_specification_3_0= ruleFileSpecification ) - // InternalApplicationConfiguration.g:600:5: lv_specification_3_0= ruleFileSpecification + // InternalApplicationConfiguration.g:550:4: (lv_specification_3_0= ruleFileSpecification ) + // InternalApplicationConfiguration.g:551:5: lv_specification_3_0= ruleFileSpecification { newCompositeNode(grammarAccess.getFileDeclarationAccess().getSpecificationFileSpecificationParserRuleCall_3_0()); @@ -1757,7 +1619,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleFileReference" - // InternalApplicationConfiguration.g:621:1: entryRuleFileReference returns [EObject current=null] : iv_ruleFileReference= ruleFileReference EOF ; + // InternalApplicationConfiguration.g:572:1: entryRuleFileReference returns [EObject current=null] : iv_ruleFileReference= ruleFileReference EOF ; public final EObject entryRuleFileReference() throws RecognitionException { EObject current = null; @@ -1765,8 +1627,8 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:621:54: (iv_ruleFileReference= ruleFileReference EOF ) - // InternalApplicationConfiguration.g:622:2: iv_ruleFileReference= ruleFileReference EOF + // InternalApplicationConfiguration.g:572:54: (iv_ruleFileReference= ruleFileReference EOF ) + // InternalApplicationConfiguration.g:573:2: iv_ruleFileReference= ruleFileReference EOF { newCompositeNode(grammarAccess.getFileReferenceRule()); pushFollow(FOLLOW_1); @@ -1793,7 +1655,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleFileReference" - // InternalApplicationConfiguration.g:628:1: ruleFileReference returns [EObject current=null] : ( (otherlv_0= RULE_ID ) ) ; + // InternalApplicationConfiguration.g:579:1: ruleFileReference returns [EObject current=null] : ( (otherlv_0= RULE_ID ) ) ; public final EObject ruleFileReference() throws RecognitionException { EObject current = null; @@ -1803,14 +1665,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:634:2: ( ( (otherlv_0= RULE_ID ) ) ) - // InternalApplicationConfiguration.g:635:2: ( (otherlv_0= RULE_ID ) ) + // InternalApplicationConfiguration.g:585:2: ( ( (otherlv_0= RULE_ID ) ) ) + // InternalApplicationConfiguration.g:586:2: ( (otherlv_0= RULE_ID ) ) { - // InternalApplicationConfiguration.g:635:2: ( (otherlv_0= RULE_ID ) ) - // InternalApplicationConfiguration.g:636:3: (otherlv_0= RULE_ID ) + // InternalApplicationConfiguration.g:586:2: ( (otherlv_0= RULE_ID ) ) + // InternalApplicationConfiguration.g:587:3: (otherlv_0= RULE_ID ) { - // InternalApplicationConfiguration.g:636:3: (otherlv_0= RULE_ID ) - // InternalApplicationConfiguration.g:637:4: otherlv_0= RULE_ID + // InternalApplicationConfiguration.g:587:3: (otherlv_0= RULE_ID ) + // InternalApplicationConfiguration.g:588:4: otherlv_0= RULE_ID { if (current==null) { @@ -1847,7 +1709,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleFile" - // InternalApplicationConfiguration.g:651:1: entryRuleFile returns [EObject current=null] : iv_ruleFile= ruleFile EOF ; + // InternalApplicationConfiguration.g:602:1: entryRuleFile returns [EObject current=null] : iv_ruleFile= ruleFile EOF ; public final EObject entryRuleFile() throws RecognitionException { EObject current = null; @@ -1855,8 +1717,8 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:651:45: (iv_ruleFile= ruleFile EOF ) - // InternalApplicationConfiguration.g:652:2: iv_ruleFile= ruleFile EOF + // InternalApplicationConfiguration.g:602:45: (iv_ruleFile= ruleFile EOF ) + // InternalApplicationConfiguration.g:603:2: iv_ruleFile= ruleFile EOF { newCompositeNode(grammarAccess.getFileRule()); pushFollow(FOLLOW_1); @@ -1883,7 +1745,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleFile" - // InternalApplicationConfiguration.g:658:1: ruleFile returns [EObject current=null] : (this_FileSpecification_0= ruleFileSpecification | this_FileReference_1= ruleFileReference ) ; + // InternalApplicationConfiguration.g:609:1: ruleFile returns [EObject current=null] : (this_FileSpecification_0= ruleFileSpecification | this_FileReference_1= ruleFileReference ) ; public final EObject ruleFile() throws RecognitionException { EObject current = null; @@ -1896,10 +1758,10 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:664:2: ( (this_FileSpecification_0= ruleFileSpecification | this_FileReference_1= ruleFileReference ) ) - // InternalApplicationConfiguration.g:665:2: (this_FileSpecification_0= ruleFileSpecification | this_FileReference_1= ruleFileReference ) + // InternalApplicationConfiguration.g:615:2: ( (this_FileSpecification_0= ruleFileSpecification | this_FileReference_1= ruleFileReference ) ) + // InternalApplicationConfiguration.g:616:2: (this_FileSpecification_0= ruleFileSpecification | this_FileReference_1= ruleFileReference ) { - // InternalApplicationConfiguration.g:665:2: (this_FileSpecification_0= ruleFileSpecification | this_FileReference_1= ruleFileReference ) + // InternalApplicationConfiguration.g:616:2: (this_FileSpecification_0= ruleFileSpecification | this_FileReference_1= ruleFileReference ) int alt9=2; int LA9_0 = input.LA(1); @@ -1917,7 +1779,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } switch (alt9) { case 1 : - // InternalApplicationConfiguration.g:666:3: this_FileSpecification_0= ruleFileSpecification + // InternalApplicationConfiguration.g:617:3: this_FileSpecification_0= ruleFileSpecification { newCompositeNode(grammarAccess.getFileAccess().getFileSpecificationParserRuleCall_0()); @@ -1935,7 +1797,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } break; case 2 : - // InternalApplicationConfiguration.g:675:3: this_FileReference_1= ruleFileReference + // InternalApplicationConfiguration.g:626:3: this_FileReference_1= ruleFileReference { newCompositeNode(grammarAccess.getFileAccess().getFileReferenceParserRuleCall_1()); @@ -1975,7 +1837,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleMetamodelSpecification" - // InternalApplicationConfiguration.g:687:1: entryRuleMetamodelSpecification returns [EObject current=null] : iv_ruleMetamodelSpecification= ruleMetamodelSpecification EOF ; + // InternalApplicationConfiguration.g:638:1: entryRuleMetamodelSpecification returns [EObject current=null] : iv_ruleMetamodelSpecification= ruleMetamodelSpecification EOF ; public final EObject entryRuleMetamodelSpecification() throws RecognitionException { EObject current = null; @@ -1983,8 +1845,8 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:687:63: (iv_ruleMetamodelSpecification= ruleMetamodelSpecification EOF ) - // InternalApplicationConfiguration.g:688:2: iv_ruleMetamodelSpecification= ruleMetamodelSpecification EOF + // InternalApplicationConfiguration.g:638:63: (iv_ruleMetamodelSpecification= ruleMetamodelSpecification EOF ) + // InternalApplicationConfiguration.g:639:2: iv_ruleMetamodelSpecification= ruleMetamodelSpecification EOF { newCompositeNode(grammarAccess.getMetamodelSpecificationRule()); pushFollow(FOLLOW_1); @@ -2011,7 +1873,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleMetamodelSpecification" - // InternalApplicationConfiguration.g:694:1: ruleMetamodelSpecification returns [EObject current=null] : (otherlv_0= '{' ( (lv_entries_1_0= ruleMetamodelEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) ) )* otherlv_4= '}' ) ; + // InternalApplicationConfiguration.g:645:1: ruleMetamodelSpecification returns [EObject current=null] : (otherlv_0= '{' ( (lv_entries_1_0= ruleMetamodelEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) ) )* otherlv_4= '}' ) ; public final EObject ruleMetamodelSpecification() throws RecognitionException { EObject current = null; @@ -2027,26 +1889,26 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:700:2: ( (otherlv_0= '{' ( (lv_entries_1_0= ruleMetamodelEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) ) )* otherlv_4= '}' ) ) - // InternalApplicationConfiguration.g:701:2: (otherlv_0= '{' ( (lv_entries_1_0= ruleMetamodelEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) ) )* otherlv_4= '}' ) + // InternalApplicationConfiguration.g:651:2: ( (otherlv_0= '{' ( (lv_entries_1_0= ruleMetamodelEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) ) )* otherlv_4= '}' ) ) + // InternalApplicationConfiguration.g:652:2: (otherlv_0= '{' ( (lv_entries_1_0= ruleMetamodelEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) ) )* otherlv_4= '}' ) { - // InternalApplicationConfiguration.g:701:2: (otherlv_0= '{' ( (lv_entries_1_0= ruleMetamodelEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) ) )* otherlv_4= '}' ) - // InternalApplicationConfiguration.g:702:3: otherlv_0= '{' ( (lv_entries_1_0= ruleMetamodelEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) ) )* otherlv_4= '}' + // InternalApplicationConfiguration.g:652:2: (otherlv_0= '{' ( (lv_entries_1_0= ruleMetamodelEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) ) )* otherlv_4= '}' ) + // InternalApplicationConfiguration.g:653:3: otherlv_0= '{' ( (lv_entries_1_0= ruleMetamodelEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) ) )* otherlv_4= '}' { - otherlv_0=(Token)match(input,19,FOLLOW_14); + otherlv_0=(Token)match(input,18,FOLLOW_13); newLeafNode(otherlv_0, grammarAccess.getMetamodelSpecificationAccess().getLeftCurlyBracketKeyword_0()); - // InternalApplicationConfiguration.g:706:3: ( (lv_entries_1_0= ruleMetamodelEntry ) ) - // InternalApplicationConfiguration.g:707:4: (lv_entries_1_0= ruleMetamodelEntry ) + // InternalApplicationConfiguration.g:657:3: ( (lv_entries_1_0= ruleMetamodelEntry ) ) + // InternalApplicationConfiguration.g:658:4: (lv_entries_1_0= ruleMetamodelEntry ) { - // InternalApplicationConfiguration.g:707:4: (lv_entries_1_0= ruleMetamodelEntry ) - // InternalApplicationConfiguration.g:708:5: lv_entries_1_0= ruleMetamodelEntry + // InternalApplicationConfiguration.g:658:4: (lv_entries_1_0= ruleMetamodelEntry ) + // InternalApplicationConfiguration.g:659:5: lv_entries_1_0= ruleMetamodelEntry { newCompositeNode(grammarAccess.getMetamodelSpecificationAccess().getEntriesMetamodelEntryParserRuleCall_1_0()); - pushFollow(FOLLOW_15); + pushFollow(FOLLOW_14); lv_entries_1_0=ruleMetamodelEntry(); state._fsp--; @@ -2068,35 +1930,35 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - // InternalApplicationConfiguration.g:725:3: (otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) ) )* + // InternalApplicationConfiguration.g:676:3: (otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) ) )* loop10: do { int alt10=2; int LA10_0 = input.LA(1); - if ( (LA10_0==20) ) { + if ( (LA10_0==19) ) { alt10=1; } switch (alt10) { case 1 : - // InternalApplicationConfiguration.g:726:4: otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) ) + // InternalApplicationConfiguration.g:677:4: otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) ) { - otherlv_2=(Token)match(input,20,FOLLOW_14); + otherlv_2=(Token)match(input,19,FOLLOW_13); newLeafNode(otherlv_2, grammarAccess.getMetamodelSpecificationAccess().getCommaKeyword_2_0()); - // InternalApplicationConfiguration.g:730:4: ( (lv_entries_3_0= ruleMetamodelEntry ) ) - // InternalApplicationConfiguration.g:731:5: (lv_entries_3_0= ruleMetamodelEntry ) + // InternalApplicationConfiguration.g:681:4: ( (lv_entries_3_0= ruleMetamodelEntry ) ) + // InternalApplicationConfiguration.g:682:5: (lv_entries_3_0= ruleMetamodelEntry ) { - // InternalApplicationConfiguration.g:731:5: (lv_entries_3_0= ruleMetamodelEntry ) - // InternalApplicationConfiguration.g:732:6: lv_entries_3_0= ruleMetamodelEntry + // InternalApplicationConfiguration.g:682:5: (lv_entries_3_0= ruleMetamodelEntry ) + // InternalApplicationConfiguration.g:683:6: lv_entries_3_0= ruleMetamodelEntry { newCompositeNode(grammarAccess.getMetamodelSpecificationAccess().getEntriesMetamodelEntryParserRuleCall_2_1_0()); - pushFollow(FOLLOW_15); + pushFollow(FOLLOW_14); lv_entries_3_0=ruleMetamodelEntry(); state._fsp--; @@ -2127,7 +1989,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } } while (true); - otherlv_4=(Token)match(input,21,FOLLOW_2); + otherlv_4=(Token)match(input,20,FOLLOW_2); newLeafNode(otherlv_4, grammarAccess.getMetamodelSpecificationAccess().getRightCurlyBracketKeyword_3()); @@ -2154,7 +2016,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleMetamodelEntry" - // InternalApplicationConfiguration.g:758:1: entryRuleMetamodelEntry returns [EObject current=null] : iv_ruleMetamodelEntry= ruleMetamodelEntry EOF ; + // InternalApplicationConfiguration.g:709:1: entryRuleMetamodelEntry returns [EObject current=null] : iv_ruleMetamodelEntry= ruleMetamodelEntry EOF ; public final EObject entryRuleMetamodelEntry() throws RecognitionException { EObject current = null; @@ -2162,8 +2024,8 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:758:55: (iv_ruleMetamodelEntry= ruleMetamodelEntry EOF ) - // InternalApplicationConfiguration.g:759:2: iv_ruleMetamodelEntry= ruleMetamodelEntry EOF + // InternalApplicationConfiguration.g:709:55: (iv_ruleMetamodelEntry= ruleMetamodelEntry EOF ) + // InternalApplicationConfiguration.g:710:2: iv_ruleMetamodelEntry= ruleMetamodelEntry EOF { newCompositeNode(grammarAccess.getMetamodelEntryRule()); pushFollow(FOLLOW_1); @@ -2190,7 +2052,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleMetamodelEntry" - // InternalApplicationConfiguration.g:765:1: ruleMetamodelEntry returns [EObject current=null] : (this_MetamodelElement_0= ruleMetamodelElement | this_AllPackageEntry_1= ruleAllPackageEntry ) ; + // InternalApplicationConfiguration.g:716:1: ruleMetamodelEntry returns [EObject current=null] : (this_MetamodelElement_0= ruleMetamodelElement | this_AllPackageEntry_1= ruleAllPackageEntry ) ; public final EObject ruleMetamodelEntry() throws RecognitionException { EObject current = null; @@ -2203,17 +2065,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:771:2: ( (this_MetamodelElement_0= ruleMetamodelElement | this_AllPackageEntry_1= ruleAllPackageEntry ) ) - // InternalApplicationConfiguration.g:772:2: (this_MetamodelElement_0= ruleMetamodelElement | this_AllPackageEntry_1= ruleAllPackageEntry ) + // InternalApplicationConfiguration.g:722:2: ( (this_MetamodelElement_0= ruleMetamodelElement | this_AllPackageEntry_1= ruleAllPackageEntry ) ) + // InternalApplicationConfiguration.g:723:2: (this_MetamodelElement_0= ruleMetamodelElement | this_AllPackageEntry_1= ruleAllPackageEntry ) { - // InternalApplicationConfiguration.g:772:2: (this_MetamodelElement_0= ruleMetamodelElement | this_AllPackageEntry_1= ruleAllPackageEntry ) + // InternalApplicationConfiguration.g:723:2: (this_MetamodelElement_0= ruleMetamodelElement | this_AllPackageEntry_1= ruleAllPackageEntry ) int alt11=2; int LA11_0 = input.LA(1); if ( (LA11_0==RULE_ID) ) { alt11=1; } - else if ( (LA11_0==22) ) { + else if ( (LA11_0==21) ) { alt11=2; } else { @@ -2224,7 +2086,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } switch (alt11) { case 1 : - // InternalApplicationConfiguration.g:773:3: this_MetamodelElement_0= ruleMetamodelElement + // InternalApplicationConfiguration.g:724:3: this_MetamodelElement_0= ruleMetamodelElement { newCompositeNode(grammarAccess.getMetamodelEntryAccess().getMetamodelElementParserRuleCall_0()); @@ -2242,7 +2104,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } break; case 2 : - // InternalApplicationConfiguration.g:782:3: this_AllPackageEntry_1= ruleAllPackageEntry + // InternalApplicationConfiguration.g:733:3: this_AllPackageEntry_1= ruleAllPackageEntry { newCompositeNode(grammarAccess.getMetamodelEntryAccess().getAllPackageEntryParserRuleCall_1()); @@ -2282,7 +2144,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleAllPackageEntry" - // InternalApplicationConfiguration.g:794:1: entryRuleAllPackageEntry returns [EObject current=null] : iv_ruleAllPackageEntry= ruleAllPackageEntry EOF ; + // InternalApplicationConfiguration.g:745:1: entryRuleAllPackageEntry returns [EObject current=null] : iv_ruleAllPackageEntry= ruleAllPackageEntry EOF ; public final EObject entryRuleAllPackageEntry() throws RecognitionException { EObject current = null; @@ -2290,8 +2152,8 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:794:56: (iv_ruleAllPackageEntry= ruleAllPackageEntry EOF ) - // InternalApplicationConfiguration.g:795:2: iv_ruleAllPackageEntry= ruleAllPackageEntry EOF + // InternalApplicationConfiguration.g:745:56: (iv_ruleAllPackageEntry= ruleAllPackageEntry EOF ) + // InternalApplicationConfiguration.g:746:2: iv_ruleAllPackageEntry= ruleAllPackageEntry EOF { newCompositeNode(grammarAccess.getAllPackageEntryRule()); pushFollow(FOLLOW_1); @@ -2318,7 +2180,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleAllPackageEntry" - // InternalApplicationConfiguration.g:801:1: ruleAllPackageEntry returns [EObject current=null] : (otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleMetamodelElement ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )* otherlv_7= '}' )? ) ; + // InternalApplicationConfiguration.g:752:1: ruleAllPackageEntry returns [EObject current=null] : (otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleMetamodelElement ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )* otherlv_7= '}' )? ) ; public final EObject ruleAllPackageEntry() throws RecognitionException { EObject current = null; @@ -2336,21 +2198,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:807:2: ( (otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleMetamodelElement ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )* otherlv_7= '}' )? ) ) - // InternalApplicationConfiguration.g:808:2: (otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleMetamodelElement ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )* otherlv_7= '}' )? ) + // InternalApplicationConfiguration.g:758:2: ( (otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleMetamodelElement ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )* otherlv_7= '}' )? ) ) + // InternalApplicationConfiguration.g:759:2: (otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleMetamodelElement ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )* otherlv_7= '}' )? ) { - // InternalApplicationConfiguration.g:808:2: (otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleMetamodelElement ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )* otherlv_7= '}' )? ) - // InternalApplicationConfiguration.g:809:3: otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleMetamodelElement ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )* otherlv_7= '}' )? + // InternalApplicationConfiguration.g:759:2: (otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleMetamodelElement ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )* otherlv_7= '}' )? ) + // InternalApplicationConfiguration.g:760:3: otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleMetamodelElement ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )* otherlv_7= '}' )? { - otherlv_0=(Token)match(input,22,FOLLOW_6); + otherlv_0=(Token)match(input,21,FOLLOW_6); newLeafNode(otherlv_0, grammarAccess.getAllPackageEntryAccess().getPackageKeyword_0()); - // InternalApplicationConfiguration.g:813:3: ( ( ruleQualifiedName ) ) - // InternalApplicationConfiguration.g:814:4: ( ruleQualifiedName ) + // InternalApplicationConfiguration.g:764:3: ( ( ruleQualifiedName ) ) + // InternalApplicationConfiguration.g:765:4: ( ruleQualifiedName ) { - // InternalApplicationConfiguration.g:814:4: ( ruleQualifiedName ) - // InternalApplicationConfiguration.g:815:5: ruleQualifiedName + // InternalApplicationConfiguration.g:765:4: ( ruleQualifiedName ) + // InternalApplicationConfiguration.g:766:5: ruleQualifiedName { if (current==null) { @@ -2360,7 +2222,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl newCompositeNode(grammarAccess.getAllPackageEntryAccess().getPackageEPackageCrossReference_1_0()); - pushFollow(FOLLOW_16); + pushFollow(FOLLOW_15); ruleQualifiedName(); state._fsp--; @@ -2374,35 +2236,35 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - // InternalApplicationConfiguration.g:829:3: (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleMetamodelElement ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )* otherlv_7= '}' )? + // InternalApplicationConfiguration.g:780:3: (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleMetamodelElement ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )* otherlv_7= '}' )? int alt13=2; int LA13_0 = input.LA(1); - if ( (LA13_0==23) ) { + if ( (LA13_0==22) ) { alt13=1; } switch (alt13) { case 1 : - // InternalApplicationConfiguration.g:830:4: otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleMetamodelElement ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )* otherlv_7= '}' + // InternalApplicationConfiguration.g:781:4: otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleMetamodelElement ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )* otherlv_7= '}' { - otherlv_2=(Token)match(input,23,FOLLOW_17); + otherlv_2=(Token)match(input,22,FOLLOW_16); newLeafNode(otherlv_2, grammarAccess.getAllPackageEntryAccess().getExcludingKeyword_2_0()); - otherlv_3=(Token)match(input,19,FOLLOW_6); + otherlv_3=(Token)match(input,18,FOLLOW_6); newLeafNode(otherlv_3, grammarAccess.getAllPackageEntryAccess().getLeftCurlyBracketKeyword_2_1()); - // InternalApplicationConfiguration.g:838:4: ( (lv_exclusion_4_0= ruleMetamodelElement ) ) - // InternalApplicationConfiguration.g:839:5: (lv_exclusion_4_0= ruleMetamodelElement ) + // InternalApplicationConfiguration.g:789:4: ( (lv_exclusion_4_0= ruleMetamodelElement ) ) + // InternalApplicationConfiguration.g:790:5: (lv_exclusion_4_0= ruleMetamodelElement ) { - // InternalApplicationConfiguration.g:839:5: (lv_exclusion_4_0= ruleMetamodelElement ) - // InternalApplicationConfiguration.g:840:6: lv_exclusion_4_0= ruleMetamodelElement + // InternalApplicationConfiguration.g:790:5: (lv_exclusion_4_0= ruleMetamodelElement ) + // InternalApplicationConfiguration.g:791:6: lv_exclusion_4_0= ruleMetamodelElement { newCompositeNode(grammarAccess.getAllPackageEntryAccess().getExclusionMetamodelElementParserRuleCall_2_2_0()); - pushFollow(FOLLOW_15); + pushFollow(FOLLOW_14); lv_exclusion_4_0=ruleMetamodelElement(); state._fsp--; @@ -2424,35 +2286,35 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - // InternalApplicationConfiguration.g:857:4: (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )* + // InternalApplicationConfiguration.g:808:4: (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )* loop12: do { int alt12=2; int LA12_0 = input.LA(1); - if ( (LA12_0==20) ) { + if ( (LA12_0==19) ) { alt12=1; } switch (alt12) { case 1 : - // InternalApplicationConfiguration.g:858:5: otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) + // InternalApplicationConfiguration.g:809:5: otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) { - otherlv_5=(Token)match(input,20,FOLLOW_6); + otherlv_5=(Token)match(input,19,FOLLOW_6); newLeafNode(otherlv_5, grammarAccess.getAllPackageEntryAccess().getCommaKeyword_2_3_0()); - // InternalApplicationConfiguration.g:862:5: ( (lv_exclusion_6_0= ruleMetamodelElement ) ) - // InternalApplicationConfiguration.g:863:6: (lv_exclusion_6_0= ruleMetamodelElement ) + // InternalApplicationConfiguration.g:813:5: ( (lv_exclusion_6_0= ruleMetamodelElement ) ) + // InternalApplicationConfiguration.g:814:6: (lv_exclusion_6_0= ruleMetamodelElement ) { - // InternalApplicationConfiguration.g:863:6: (lv_exclusion_6_0= ruleMetamodelElement ) - // InternalApplicationConfiguration.g:864:7: lv_exclusion_6_0= ruleMetamodelElement + // InternalApplicationConfiguration.g:814:6: (lv_exclusion_6_0= ruleMetamodelElement ) + // InternalApplicationConfiguration.g:815:7: lv_exclusion_6_0= ruleMetamodelElement { newCompositeNode(grammarAccess.getAllPackageEntryAccess().getExclusionMetamodelElementParserRuleCall_2_3_1_0()); - pushFollow(FOLLOW_15); + pushFollow(FOLLOW_14); lv_exclusion_6_0=ruleMetamodelElement(); state._fsp--; @@ -2483,7 +2345,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } } while (true); - otherlv_7=(Token)match(input,21,FOLLOW_2); + otherlv_7=(Token)match(input,20,FOLLOW_2); newLeafNode(otherlv_7, grammarAccess.getAllPackageEntryAccess().getRightCurlyBracketKeyword_2_4()); @@ -2516,7 +2378,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleMetamodelElement" - // InternalApplicationConfiguration.g:891:1: entryRuleMetamodelElement returns [EObject current=null] : iv_ruleMetamodelElement= ruleMetamodelElement EOF ; + // InternalApplicationConfiguration.g:842:1: entryRuleMetamodelElement returns [EObject current=null] : iv_ruleMetamodelElement= ruleMetamodelElement EOF ; public final EObject entryRuleMetamodelElement() throws RecognitionException { EObject current = null; @@ -2524,8 +2386,8 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:891:57: (iv_ruleMetamodelElement= ruleMetamodelElement EOF ) - // InternalApplicationConfiguration.g:892:2: iv_ruleMetamodelElement= ruleMetamodelElement EOF + // InternalApplicationConfiguration.g:842:57: (iv_ruleMetamodelElement= ruleMetamodelElement EOF ) + // InternalApplicationConfiguration.g:843:2: iv_ruleMetamodelElement= ruleMetamodelElement EOF { newCompositeNode(grammarAccess.getMetamodelElementRule()); pushFollow(FOLLOW_1); @@ -2552,7 +2414,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleMetamodelElement" - // InternalApplicationConfiguration.g:898:1: ruleMetamodelElement returns [EObject current=null] : ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) (otherlv_3= '.' ( (otherlv_4= RULE_ID ) ) )? ) ; + // InternalApplicationConfiguration.g:849:1: ruleMetamodelElement returns [EObject current=null] : ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) (otherlv_3= '.' ( (otherlv_4= RULE_ID ) ) )? ) ; public final EObject ruleMetamodelElement() throws RecognitionException { EObject current = null; @@ -2565,13 +2427,13 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:904:2: ( ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) (otherlv_3= '.' ( (otherlv_4= RULE_ID ) ) )? ) ) - // InternalApplicationConfiguration.g:905:2: ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) (otherlv_3= '.' ( (otherlv_4= RULE_ID ) ) )? ) + // InternalApplicationConfiguration.g:855:2: ( ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) (otherlv_3= '.' ( (otherlv_4= RULE_ID ) ) )? ) ) + // InternalApplicationConfiguration.g:856:2: ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) (otherlv_3= '.' ( (otherlv_4= RULE_ID ) ) )? ) { - // InternalApplicationConfiguration.g:905:2: ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) (otherlv_3= '.' ( (otherlv_4= RULE_ID ) ) )? ) - // InternalApplicationConfiguration.g:906:3: ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) (otherlv_3= '.' ( (otherlv_4= RULE_ID ) ) )? + // InternalApplicationConfiguration.g:856:2: ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) (otherlv_3= '.' ( (otherlv_4= RULE_ID ) ) )? ) + // InternalApplicationConfiguration.g:857:3: ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) (otherlv_3= '.' ( (otherlv_4= RULE_ID ) ) )? { - // InternalApplicationConfiguration.g:906:3: ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? + // InternalApplicationConfiguration.g:857:3: ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? int alt14=2; int LA14_0 = input.LA(1); @@ -2584,24 +2446,24 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl if ( (LA14_2==RULE_ID) ) { int LA14_5 = input.LA(4); - if ( (LA14_5==11||LA14_5==24) ) { + if ( (LA14_5==11||LA14_5==23) ) { alt14=1; } } } - else if ( (LA14_1==24) ) { + else if ( (LA14_1==23) ) { alt14=1; } } switch (alt14) { case 1 : - // InternalApplicationConfiguration.g:907:4: ( ( ruleQualifiedName ) ) otherlv_1= '::' + // InternalApplicationConfiguration.g:858:4: ( ( ruleQualifiedName ) ) otherlv_1= '::' { - // InternalApplicationConfiguration.g:907:4: ( ( ruleQualifiedName ) ) - // InternalApplicationConfiguration.g:908:5: ( ruleQualifiedName ) + // InternalApplicationConfiguration.g:858:4: ( ( ruleQualifiedName ) ) + // InternalApplicationConfiguration.g:859:5: ( ruleQualifiedName ) { - // InternalApplicationConfiguration.g:908:5: ( ruleQualifiedName ) - // InternalApplicationConfiguration.g:909:6: ruleQualifiedName + // InternalApplicationConfiguration.g:859:5: ( ruleQualifiedName ) + // InternalApplicationConfiguration.g:860:6: ruleQualifiedName { if (current==null) { @@ -2611,7 +2473,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl newCompositeNode(grammarAccess.getMetamodelElementAccess().getPackageEPackageCrossReference_0_0_0()); - pushFollow(FOLLOW_18); + pushFollow(FOLLOW_17); ruleQualifiedName(); state._fsp--; @@ -2625,7 +2487,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - otherlv_1=(Token)match(input,24,FOLLOW_6); + otherlv_1=(Token)match(input,23,FOLLOW_6); newLeafNode(otherlv_1, grammarAccess.getMetamodelElementAccess().getColonColonKeyword_0_1()); @@ -2635,11 +2497,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - // InternalApplicationConfiguration.g:928:3: ( (otherlv_2= RULE_ID ) ) - // InternalApplicationConfiguration.g:929:4: (otherlv_2= RULE_ID ) + // InternalApplicationConfiguration.g:879:3: ( (otherlv_2= RULE_ID ) ) + // InternalApplicationConfiguration.g:880:4: (otherlv_2= RULE_ID ) { - // InternalApplicationConfiguration.g:929:4: (otherlv_2= RULE_ID ) - // InternalApplicationConfiguration.g:930:5: otherlv_2= RULE_ID + // InternalApplicationConfiguration.g:880:4: (otherlv_2= RULE_ID ) + // InternalApplicationConfiguration.g:881:5: otherlv_2= RULE_ID { if (current==null) { @@ -2656,7 +2518,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - // InternalApplicationConfiguration.g:941:3: (otherlv_3= '.' ( (otherlv_4= RULE_ID ) ) )? + // InternalApplicationConfiguration.g:892:3: (otherlv_3= '.' ( (otherlv_4= RULE_ID ) ) )? int alt15=2; int LA15_0 = input.LA(1); @@ -2665,17 +2527,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } switch (alt15) { case 1 : - // InternalApplicationConfiguration.g:942:4: otherlv_3= '.' ( (otherlv_4= RULE_ID ) ) + // InternalApplicationConfiguration.g:893:4: otherlv_3= '.' ( (otherlv_4= RULE_ID ) ) { otherlv_3=(Token)match(input,11,FOLLOW_6); newLeafNode(otherlv_3, grammarAccess.getMetamodelElementAccess().getFullStopKeyword_2_0()); - // InternalApplicationConfiguration.g:946:4: ( (otherlv_4= RULE_ID ) ) - // InternalApplicationConfiguration.g:947:5: (otherlv_4= RULE_ID ) + // InternalApplicationConfiguration.g:897:4: ( (otherlv_4= RULE_ID ) ) + // InternalApplicationConfiguration.g:898:5: (otherlv_4= RULE_ID ) { - // InternalApplicationConfiguration.g:947:5: (otherlv_4= RULE_ID ) - // InternalApplicationConfiguration.g:948:6: otherlv_4= RULE_ID + // InternalApplicationConfiguration.g:898:5: (otherlv_4= RULE_ID ) + // InternalApplicationConfiguration.g:899:6: otherlv_4= RULE_ID { if (current==null) { @@ -2721,7 +2583,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleMetamodelDeclaration" - // InternalApplicationConfiguration.g:964:1: entryRuleMetamodelDeclaration returns [EObject current=null] : iv_ruleMetamodelDeclaration= ruleMetamodelDeclaration EOF ; + // InternalApplicationConfiguration.g:915:1: entryRuleMetamodelDeclaration returns [EObject current=null] : iv_ruleMetamodelDeclaration= ruleMetamodelDeclaration EOF ; public final EObject entryRuleMetamodelDeclaration() throws RecognitionException { EObject current = null; @@ -2729,8 +2591,8 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:964:61: (iv_ruleMetamodelDeclaration= ruleMetamodelDeclaration EOF ) - // InternalApplicationConfiguration.g:965:2: iv_ruleMetamodelDeclaration= ruleMetamodelDeclaration EOF + // InternalApplicationConfiguration.g:915:61: (iv_ruleMetamodelDeclaration= ruleMetamodelDeclaration EOF ) + // InternalApplicationConfiguration.g:916:2: iv_ruleMetamodelDeclaration= ruleMetamodelDeclaration EOF { newCompositeNode(grammarAccess.getMetamodelDeclarationRule()); pushFollow(FOLLOW_1); @@ -2757,7 +2619,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleMetamodelDeclaration" - // InternalApplicationConfiguration.g:971:1: ruleMetamodelDeclaration returns [EObject current=null] : (otherlv_0= 'metamodel' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleMetamodelSpecification ) ) ) ; + // InternalApplicationConfiguration.g:922:1: ruleMetamodelDeclaration returns [EObject current=null] : (otherlv_0= 'metamodel' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleMetamodelSpecification ) ) ) ; public final EObject ruleMetamodelDeclaration() throws RecognitionException { EObject current = null; @@ -2770,23 +2632,23 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:977:2: ( (otherlv_0= 'metamodel' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleMetamodelSpecification ) ) ) ) - // InternalApplicationConfiguration.g:978:2: (otherlv_0= 'metamodel' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleMetamodelSpecification ) ) ) + // InternalApplicationConfiguration.g:928:2: ( (otherlv_0= 'metamodel' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleMetamodelSpecification ) ) ) ) + // InternalApplicationConfiguration.g:929:2: (otherlv_0= 'metamodel' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleMetamodelSpecification ) ) ) { - // InternalApplicationConfiguration.g:978:2: (otherlv_0= 'metamodel' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleMetamodelSpecification ) ) ) - // InternalApplicationConfiguration.g:979:3: otherlv_0= 'metamodel' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleMetamodelSpecification ) ) + // InternalApplicationConfiguration.g:929:2: (otherlv_0= 'metamodel' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleMetamodelSpecification ) ) ) + // InternalApplicationConfiguration.g:930:3: otherlv_0= 'metamodel' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleMetamodelSpecification ) ) { - otherlv_0=(Token)match(input,25,FOLLOW_6); + otherlv_0=(Token)match(input,24,FOLLOW_6); newLeafNode(otherlv_0, grammarAccess.getMetamodelDeclarationAccess().getMetamodelKeyword_0()); - // InternalApplicationConfiguration.g:983:3: ( (lv_name_1_0= RULE_ID ) ) - // InternalApplicationConfiguration.g:984:4: (lv_name_1_0= RULE_ID ) + // InternalApplicationConfiguration.g:934:3: ( (lv_name_1_0= RULE_ID ) ) + // InternalApplicationConfiguration.g:935:4: (lv_name_1_0= RULE_ID ) { - // InternalApplicationConfiguration.g:984:4: (lv_name_1_0= RULE_ID ) - // InternalApplicationConfiguration.g:985:5: lv_name_1_0= RULE_ID + // InternalApplicationConfiguration.g:935:4: (lv_name_1_0= RULE_ID ) + // InternalApplicationConfiguration.g:936:5: lv_name_1_0= RULE_ID { - lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_17); + lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_16); newLeafNode(lv_name_1_0, grammarAccess.getMetamodelDeclarationAccess().getNameIDTerminalRuleCall_1_0()); @@ -2806,11 +2668,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - // InternalApplicationConfiguration.g:1001:3: ( (lv_specification_2_0= ruleMetamodelSpecification ) ) - // InternalApplicationConfiguration.g:1002:4: (lv_specification_2_0= ruleMetamodelSpecification ) + // InternalApplicationConfiguration.g:952:3: ( (lv_specification_2_0= ruleMetamodelSpecification ) ) + // InternalApplicationConfiguration.g:953:4: (lv_specification_2_0= ruleMetamodelSpecification ) { - // InternalApplicationConfiguration.g:1002:4: (lv_specification_2_0= ruleMetamodelSpecification ) - // InternalApplicationConfiguration.g:1003:5: lv_specification_2_0= ruleMetamodelSpecification + // InternalApplicationConfiguration.g:953:4: (lv_specification_2_0= ruleMetamodelSpecification ) + // InternalApplicationConfiguration.g:954:5: lv_specification_2_0= ruleMetamodelSpecification { newCompositeNode(grammarAccess.getMetamodelDeclarationAccess().getSpecificationMetamodelSpecificationParserRuleCall_2_0()); @@ -2860,7 +2722,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleMetamodelReference" - // InternalApplicationConfiguration.g:1024:1: entryRuleMetamodelReference returns [EObject current=null] : iv_ruleMetamodelReference= ruleMetamodelReference EOF ; + // InternalApplicationConfiguration.g:975:1: entryRuleMetamodelReference returns [EObject current=null] : iv_ruleMetamodelReference= ruleMetamodelReference EOF ; public final EObject entryRuleMetamodelReference() throws RecognitionException { EObject current = null; @@ -2868,8 +2730,8 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:1024:59: (iv_ruleMetamodelReference= ruleMetamodelReference EOF ) - // InternalApplicationConfiguration.g:1025:2: iv_ruleMetamodelReference= ruleMetamodelReference EOF + // InternalApplicationConfiguration.g:975:59: (iv_ruleMetamodelReference= ruleMetamodelReference EOF ) + // InternalApplicationConfiguration.g:976:2: iv_ruleMetamodelReference= ruleMetamodelReference EOF { newCompositeNode(grammarAccess.getMetamodelReferenceRule()); pushFollow(FOLLOW_1); @@ -2896,7 +2758,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleMetamodelReference" - // InternalApplicationConfiguration.g:1031:1: ruleMetamodelReference returns [EObject current=null] : ( (otherlv_0= RULE_ID ) ) ; + // InternalApplicationConfiguration.g:982:1: ruleMetamodelReference returns [EObject current=null] : ( (otherlv_0= RULE_ID ) ) ; public final EObject ruleMetamodelReference() throws RecognitionException { EObject current = null; @@ -2906,14 +2768,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:1037:2: ( ( (otherlv_0= RULE_ID ) ) ) - // InternalApplicationConfiguration.g:1038:2: ( (otherlv_0= RULE_ID ) ) + // InternalApplicationConfiguration.g:988:2: ( ( (otherlv_0= RULE_ID ) ) ) + // InternalApplicationConfiguration.g:989:2: ( (otherlv_0= RULE_ID ) ) { - // InternalApplicationConfiguration.g:1038:2: ( (otherlv_0= RULE_ID ) ) - // InternalApplicationConfiguration.g:1039:3: (otherlv_0= RULE_ID ) + // InternalApplicationConfiguration.g:989:2: ( (otherlv_0= RULE_ID ) ) + // InternalApplicationConfiguration.g:990:3: (otherlv_0= RULE_ID ) { - // InternalApplicationConfiguration.g:1039:3: (otherlv_0= RULE_ID ) - // InternalApplicationConfiguration.g:1040:4: otherlv_0= RULE_ID + // InternalApplicationConfiguration.g:990:3: (otherlv_0= RULE_ID ) + // InternalApplicationConfiguration.g:991:4: otherlv_0= RULE_ID { if (current==null) { @@ -2950,7 +2812,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleMetamodel" - // InternalApplicationConfiguration.g:1054:1: entryRuleMetamodel returns [EObject current=null] : iv_ruleMetamodel= ruleMetamodel EOF ; + // InternalApplicationConfiguration.g:1005:1: entryRuleMetamodel returns [EObject current=null] : iv_ruleMetamodel= ruleMetamodel EOF ; public final EObject entryRuleMetamodel() throws RecognitionException { EObject current = null; @@ -2958,8 +2820,8 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:1054:50: (iv_ruleMetamodel= ruleMetamodel EOF ) - // InternalApplicationConfiguration.g:1055:2: iv_ruleMetamodel= ruleMetamodel EOF + // InternalApplicationConfiguration.g:1005:50: (iv_ruleMetamodel= ruleMetamodel EOF ) + // InternalApplicationConfiguration.g:1006:2: iv_ruleMetamodel= ruleMetamodel EOF { newCompositeNode(grammarAccess.getMetamodelRule()); pushFollow(FOLLOW_1); @@ -2986,7 +2848,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleMetamodel" - // InternalApplicationConfiguration.g:1061:1: ruleMetamodel returns [EObject current=null] : (this_MetamodelReference_0= ruleMetamodelReference | this_MetamodelSpecification_1= ruleMetamodelSpecification ) ; + // InternalApplicationConfiguration.g:1012:1: ruleMetamodel returns [EObject current=null] : (this_MetamodelReference_0= ruleMetamodelReference | this_MetamodelSpecification_1= ruleMetamodelSpecification ) ; public final EObject ruleMetamodel() throws RecognitionException { EObject current = null; @@ -2999,17 +2861,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:1067:2: ( (this_MetamodelReference_0= ruleMetamodelReference | this_MetamodelSpecification_1= ruleMetamodelSpecification ) ) - // InternalApplicationConfiguration.g:1068:2: (this_MetamodelReference_0= ruleMetamodelReference | this_MetamodelSpecification_1= ruleMetamodelSpecification ) + // InternalApplicationConfiguration.g:1018:2: ( (this_MetamodelReference_0= ruleMetamodelReference | this_MetamodelSpecification_1= ruleMetamodelSpecification ) ) + // InternalApplicationConfiguration.g:1019:2: (this_MetamodelReference_0= ruleMetamodelReference | this_MetamodelSpecification_1= ruleMetamodelSpecification ) { - // InternalApplicationConfiguration.g:1068:2: (this_MetamodelReference_0= ruleMetamodelReference | this_MetamodelSpecification_1= ruleMetamodelSpecification ) + // InternalApplicationConfiguration.g:1019:2: (this_MetamodelReference_0= ruleMetamodelReference | this_MetamodelSpecification_1= ruleMetamodelSpecification ) int alt16=2; int LA16_0 = input.LA(1); if ( (LA16_0==RULE_ID) ) { alt16=1; } - else if ( (LA16_0==19) ) { + else if ( (LA16_0==18) ) { alt16=2; } else { @@ -3020,7 +2882,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } switch (alt16) { case 1 : - // InternalApplicationConfiguration.g:1069:3: this_MetamodelReference_0= ruleMetamodelReference + // InternalApplicationConfiguration.g:1020:3: this_MetamodelReference_0= ruleMetamodelReference { newCompositeNode(grammarAccess.getMetamodelAccess().getMetamodelReferenceParserRuleCall_0()); @@ -3038,7 +2900,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } break; case 2 : - // InternalApplicationConfiguration.g:1078:3: this_MetamodelSpecification_1= ruleMetamodelSpecification + // InternalApplicationConfiguration.g:1029:3: this_MetamodelSpecification_1= ruleMetamodelSpecification { newCompositeNode(grammarAccess.getMetamodelAccess().getMetamodelSpecificationParserRuleCall_1()); @@ -3078,7 +2940,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRulePartialModelSpecification" - // InternalApplicationConfiguration.g:1090:1: entryRulePartialModelSpecification returns [EObject current=null] : iv_rulePartialModelSpecification= rulePartialModelSpecification EOF ; + // InternalApplicationConfiguration.g:1041:1: entryRulePartialModelSpecification returns [EObject current=null] : iv_rulePartialModelSpecification= rulePartialModelSpecification EOF ; public final EObject entryRulePartialModelSpecification() throws RecognitionException { EObject current = null; @@ -3086,8 +2948,8 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:1090:66: (iv_rulePartialModelSpecification= rulePartialModelSpecification EOF ) - // InternalApplicationConfiguration.g:1091:2: iv_rulePartialModelSpecification= rulePartialModelSpecification EOF + // InternalApplicationConfiguration.g:1041:66: (iv_rulePartialModelSpecification= rulePartialModelSpecification EOF ) + // InternalApplicationConfiguration.g:1042:2: iv_rulePartialModelSpecification= rulePartialModelSpecification EOF { newCompositeNode(grammarAccess.getPartialModelSpecificationRule()); pushFollow(FOLLOW_1); @@ -3114,7 +2976,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "rulePartialModelSpecification" - // InternalApplicationConfiguration.g:1097:1: rulePartialModelSpecification returns [EObject current=null] : (otherlv_0= '{' ( (lv_entry_1_0= rulePartialModelEntry ) ) (otherlv_2= ',' ( (lv_entry_3_0= rulePartialModelEntry ) ) )? otherlv_4= '}' ) ; + // InternalApplicationConfiguration.g:1048:1: rulePartialModelSpecification returns [EObject current=null] : (otherlv_0= '{' ( (lv_entry_1_0= rulePartialModelEntry ) ) (otherlv_2= ',' ( (lv_entry_3_0= rulePartialModelEntry ) ) )? otherlv_4= '}' ) ; public final EObject rulePartialModelSpecification() throws RecognitionException { EObject current = null; @@ -3130,26 +2992,26 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:1103:2: ( (otherlv_0= '{' ( (lv_entry_1_0= rulePartialModelEntry ) ) (otherlv_2= ',' ( (lv_entry_3_0= rulePartialModelEntry ) ) )? otherlv_4= '}' ) ) - // InternalApplicationConfiguration.g:1104:2: (otherlv_0= '{' ( (lv_entry_1_0= rulePartialModelEntry ) ) (otherlv_2= ',' ( (lv_entry_3_0= rulePartialModelEntry ) ) )? otherlv_4= '}' ) + // InternalApplicationConfiguration.g:1054:2: ( (otherlv_0= '{' ( (lv_entry_1_0= rulePartialModelEntry ) ) (otherlv_2= ',' ( (lv_entry_3_0= rulePartialModelEntry ) ) )? otherlv_4= '}' ) ) + // InternalApplicationConfiguration.g:1055:2: (otherlv_0= '{' ( (lv_entry_1_0= rulePartialModelEntry ) ) (otherlv_2= ',' ( (lv_entry_3_0= rulePartialModelEntry ) ) )? otherlv_4= '}' ) { - // InternalApplicationConfiguration.g:1104:2: (otherlv_0= '{' ( (lv_entry_1_0= rulePartialModelEntry ) ) (otherlv_2= ',' ( (lv_entry_3_0= rulePartialModelEntry ) ) )? otherlv_4= '}' ) - // InternalApplicationConfiguration.g:1105:3: otherlv_0= '{' ( (lv_entry_1_0= rulePartialModelEntry ) ) (otherlv_2= ',' ( (lv_entry_3_0= rulePartialModelEntry ) ) )? otherlv_4= '}' + // InternalApplicationConfiguration.g:1055:2: (otherlv_0= '{' ( (lv_entry_1_0= rulePartialModelEntry ) ) (otherlv_2= ',' ( (lv_entry_3_0= rulePartialModelEntry ) ) )? otherlv_4= '}' ) + // InternalApplicationConfiguration.g:1056:3: otherlv_0= '{' ( (lv_entry_1_0= rulePartialModelEntry ) ) (otherlv_2= ',' ( (lv_entry_3_0= rulePartialModelEntry ) ) )? otherlv_4= '}' { - otherlv_0=(Token)match(input,19,FOLLOW_19); + otherlv_0=(Token)match(input,18,FOLLOW_18); newLeafNode(otherlv_0, grammarAccess.getPartialModelSpecificationAccess().getLeftCurlyBracketKeyword_0()); - // InternalApplicationConfiguration.g:1109:3: ( (lv_entry_1_0= rulePartialModelEntry ) ) - // InternalApplicationConfiguration.g:1110:4: (lv_entry_1_0= rulePartialModelEntry ) + // InternalApplicationConfiguration.g:1060:3: ( (lv_entry_1_0= rulePartialModelEntry ) ) + // InternalApplicationConfiguration.g:1061:4: (lv_entry_1_0= rulePartialModelEntry ) { - // InternalApplicationConfiguration.g:1110:4: (lv_entry_1_0= rulePartialModelEntry ) - // InternalApplicationConfiguration.g:1111:5: lv_entry_1_0= rulePartialModelEntry + // InternalApplicationConfiguration.g:1061:4: (lv_entry_1_0= rulePartialModelEntry ) + // InternalApplicationConfiguration.g:1062:5: lv_entry_1_0= rulePartialModelEntry { newCompositeNode(grammarAccess.getPartialModelSpecificationAccess().getEntryPartialModelEntryParserRuleCall_1_0()); - pushFollow(FOLLOW_15); + pushFollow(FOLLOW_14); lv_entry_1_0=rulePartialModelEntry(); state._fsp--; @@ -3171,31 +3033,31 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - // InternalApplicationConfiguration.g:1128:3: (otherlv_2= ',' ( (lv_entry_3_0= rulePartialModelEntry ) ) )? + // InternalApplicationConfiguration.g:1079:3: (otherlv_2= ',' ( (lv_entry_3_0= rulePartialModelEntry ) ) )? int alt17=2; int LA17_0 = input.LA(1); - if ( (LA17_0==20) ) { + if ( (LA17_0==19) ) { alt17=1; } switch (alt17) { case 1 : - // InternalApplicationConfiguration.g:1129:4: otherlv_2= ',' ( (lv_entry_3_0= rulePartialModelEntry ) ) + // InternalApplicationConfiguration.g:1080:4: otherlv_2= ',' ( (lv_entry_3_0= rulePartialModelEntry ) ) { - otherlv_2=(Token)match(input,20,FOLLOW_19); + otherlv_2=(Token)match(input,19,FOLLOW_18); newLeafNode(otherlv_2, grammarAccess.getPartialModelSpecificationAccess().getCommaKeyword_2_0()); - // InternalApplicationConfiguration.g:1133:4: ( (lv_entry_3_0= rulePartialModelEntry ) ) - // InternalApplicationConfiguration.g:1134:5: (lv_entry_3_0= rulePartialModelEntry ) + // InternalApplicationConfiguration.g:1084:4: ( (lv_entry_3_0= rulePartialModelEntry ) ) + // InternalApplicationConfiguration.g:1085:5: (lv_entry_3_0= rulePartialModelEntry ) { - // InternalApplicationConfiguration.g:1134:5: (lv_entry_3_0= rulePartialModelEntry ) - // InternalApplicationConfiguration.g:1135:6: lv_entry_3_0= rulePartialModelEntry + // InternalApplicationConfiguration.g:1085:5: (lv_entry_3_0= rulePartialModelEntry ) + // InternalApplicationConfiguration.g:1086:6: lv_entry_3_0= rulePartialModelEntry { newCompositeNode(grammarAccess.getPartialModelSpecificationAccess().getEntryPartialModelEntryParserRuleCall_2_1_0()); - pushFollow(FOLLOW_20); + pushFollow(FOLLOW_19); lv_entry_3_0=rulePartialModelEntry(); state._fsp--; @@ -3223,7 +3085,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - otherlv_4=(Token)match(input,21,FOLLOW_2); + otherlv_4=(Token)match(input,20,FOLLOW_2); newLeafNode(otherlv_4, grammarAccess.getPartialModelSpecificationAccess().getRightCurlyBracketKeyword_3()); @@ -3250,7 +3112,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRulePartialModelEntry" - // InternalApplicationConfiguration.g:1161:1: entryRulePartialModelEntry returns [EObject current=null] : iv_rulePartialModelEntry= rulePartialModelEntry EOF ; + // InternalApplicationConfiguration.g:1112:1: entryRulePartialModelEntry returns [EObject current=null] : iv_rulePartialModelEntry= rulePartialModelEntry EOF ; public final EObject entryRulePartialModelEntry() throws RecognitionException { EObject current = null; @@ -3258,8 +3120,8 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:1161:58: (iv_rulePartialModelEntry= rulePartialModelEntry EOF ) - // InternalApplicationConfiguration.g:1162:2: iv_rulePartialModelEntry= rulePartialModelEntry EOF + // InternalApplicationConfiguration.g:1112:58: (iv_rulePartialModelEntry= rulePartialModelEntry EOF ) + // InternalApplicationConfiguration.g:1113:2: iv_rulePartialModelEntry= rulePartialModelEntry EOF { newCompositeNode(grammarAccess.getPartialModelEntryRule()); pushFollow(FOLLOW_1); @@ -3286,7 +3148,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "rulePartialModelEntry" - // InternalApplicationConfiguration.g:1168:1: rulePartialModelEntry returns [EObject current=null] : (this_ModelEntry_0= ruleModelEntry | this_FolderEntry_1= ruleFolderEntry ) ; + // InternalApplicationConfiguration.g:1119:1: rulePartialModelEntry returns [EObject current=null] : (this_ModelEntry_0= ruleModelEntry | this_FolderEntry_1= ruleFolderEntry ) ; public final EObject rulePartialModelEntry() throws RecognitionException { EObject current = null; @@ -3299,17 +3161,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:1174:2: ( (this_ModelEntry_0= ruleModelEntry | this_FolderEntry_1= ruleFolderEntry ) ) - // InternalApplicationConfiguration.g:1175:2: (this_ModelEntry_0= ruleModelEntry | this_FolderEntry_1= ruleFolderEntry ) + // InternalApplicationConfiguration.g:1125:2: ( (this_ModelEntry_0= ruleModelEntry | this_FolderEntry_1= ruleFolderEntry ) ) + // InternalApplicationConfiguration.g:1126:2: (this_ModelEntry_0= ruleModelEntry | this_FolderEntry_1= ruleFolderEntry ) { - // InternalApplicationConfiguration.g:1175:2: (this_ModelEntry_0= ruleModelEntry | this_FolderEntry_1= ruleFolderEntry ) + // InternalApplicationConfiguration.g:1126:2: (this_ModelEntry_0= ruleModelEntry | this_FolderEntry_1= ruleFolderEntry ) int alt18=2; int LA18_0 = input.LA(1); if ( (LA18_0==RULE_ID||LA18_0==RULE_STRING) ) { alt18=1; } - else if ( (LA18_0==26) ) { + else if ( (LA18_0==25) ) { alt18=2; } else { @@ -3320,7 +3182,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } switch (alt18) { case 1 : - // InternalApplicationConfiguration.g:1176:3: this_ModelEntry_0= ruleModelEntry + // InternalApplicationConfiguration.g:1127:3: this_ModelEntry_0= ruleModelEntry { newCompositeNode(grammarAccess.getPartialModelEntryAccess().getModelEntryParserRuleCall_0()); @@ -3338,7 +3200,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } break; case 2 : - // InternalApplicationConfiguration.g:1185:3: this_FolderEntry_1= ruleFolderEntry + // InternalApplicationConfiguration.g:1136:3: this_FolderEntry_1= ruleFolderEntry { newCompositeNode(grammarAccess.getPartialModelEntryAccess().getFolderEntryParserRuleCall_1()); @@ -3378,7 +3240,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleModelEntry" - // InternalApplicationConfiguration.g:1197:1: entryRuleModelEntry returns [EObject current=null] : iv_ruleModelEntry= ruleModelEntry EOF ; + // InternalApplicationConfiguration.g:1148:1: entryRuleModelEntry returns [EObject current=null] : iv_ruleModelEntry= ruleModelEntry EOF ; public final EObject entryRuleModelEntry() throws RecognitionException { EObject current = null; @@ -3386,8 +3248,8 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:1197:51: (iv_ruleModelEntry= ruleModelEntry EOF ) - // InternalApplicationConfiguration.g:1198:2: iv_ruleModelEntry= ruleModelEntry EOF + // InternalApplicationConfiguration.g:1148:51: (iv_ruleModelEntry= ruleModelEntry EOF ) + // InternalApplicationConfiguration.g:1149:2: iv_ruleModelEntry= ruleModelEntry EOF { newCompositeNode(grammarAccess.getModelEntryRule()); pushFollow(FOLLOW_1); @@ -3414,7 +3276,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleModelEntry" - // InternalApplicationConfiguration.g:1204:1: ruleModelEntry returns [EObject current=null] : ( (lv_path_0_0= ruleFile ) ) ; + // InternalApplicationConfiguration.g:1155:1: ruleModelEntry returns [EObject current=null] : ( (lv_path_0_0= ruleFile ) ) ; public final EObject ruleModelEntry() throws RecognitionException { EObject current = null; @@ -3425,14 +3287,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:1210:2: ( ( (lv_path_0_0= ruleFile ) ) ) - // InternalApplicationConfiguration.g:1211:2: ( (lv_path_0_0= ruleFile ) ) + // InternalApplicationConfiguration.g:1161:2: ( ( (lv_path_0_0= ruleFile ) ) ) + // InternalApplicationConfiguration.g:1162:2: ( (lv_path_0_0= ruleFile ) ) { - // InternalApplicationConfiguration.g:1211:2: ( (lv_path_0_0= ruleFile ) ) - // InternalApplicationConfiguration.g:1212:3: (lv_path_0_0= ruleFile ) + // InternalApplicationConfiguration.g:1162:2: ( (lv_path_0_0= ruleFile ) ) + // InternalApplicationConfiguration.g:1163:3: (lv_path_0_0= ruleFile ) { - // InternalApplicationConfiguration.g:1212:3: (lv_path_0_0= ruleFile ) - // InternalApplicationConfiguration.g:1213:4: lv_path_0_0= ruleFile + // InternalApplicationConfiguration.g:1163:3: (lv_path_0_0= ruleFile ) + // InternalApplicationConfiguration.g:1164:4: lv_path_0_0= ruleFile { newCompositeNode(grammarAccess.getModelEntryAccess().getPathFileParserRuleCall_0()); @@ -3479,7 +3341,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleFolderEntry" - // InternalApplicationConfiguration.g:1233:1: entryRuleFolderEntry returns [EObject current=null] : iv_ruleFolderEntry= ruleFolderEntry EOF ; + // InternalApplicationConfiguration.g:1184:1: entryRuleFolderEntry returns [EObject current=null] : iv_ruleFolderEntry= ruleFolderEntry EOF ; public final EObject entryRuleFolderEntry() throws RecognitionException { EObject current = null; @@ -3487,8 +3349,8 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:1233:52: (iv_ruleFolderEntry= ruleFolderEntry EOF ) - // InternalApplicationConfiguration.g:1234:2: iv_ruleFolderEntry= ruleFolderEntry EOF + // InternalApplicationConfiguration.g:1184:52: (iv_ruleFolderEntry= ruleFolderEntry EOF ) + // InternalApplicationConfiguration.g:1185:2: iv_ruleFolderEntry= ruleFolderEntry EOF { newCompositeNode(grammarAccess.getFolderEntryRule()); pushFollow(FOLLOW_1); @@ -3515,7 +3377,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleFolderEntry" - // InternalApplicationConfiguration.g:1240:1: ruleFolderEntry returns [EObject current=null] : (otherlv_0= 'folder' ( (lv_path_1_0= ruleFile ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleModelEntry ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) )* otherlv_7= '}' )? ) ; + // InternalApplicationConfiguration.g:1191:1: ruleFolderEntry returns [EObject current=null] : (otherlv_0= 'folder' ( (lv_path_1_0= ruleFile ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleModelEntry ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) )* otherlv_7= '}' )? ) ; public final EObject ruleFolderEntry() throws RecognitionException { EObject current = null; @@ -3535,26 +3397,26 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:1246:2: ( (otherlv_0= 'folder' ( (lv_path_1_0= ruleFile ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleModelEntry ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) )* otherlv_7= '}' )? ) ) - // InternalApplicationConfiguration.g:1247:2: (otherlv_0= 'folder' ( (lv_path_1_0= ruleFile ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleModelEntry ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) )* otherlv_7= '}' )? ) + // InternalApplicationConfiguration.g:1197:2: ( (otherlv_0= 'folder' ( (lv_path_1_0= ruleFile ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleModelEntry ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) )* otherlv_7= '}' )? ) ) + // InternalApplicationConfiguration.g:1198:2: (otherlv_0= 'folder' ( (lv_path_1_0= ruleFile ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleModelEntry ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) )* otherlv_7= '}' )? ) { - // InternalApplicationConfiguration.g:1247:2: (otherlv_0= 'folder' ( (lv_path_1_0= ruleFile ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleModelEntry ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) )* otherlv_7= '}' )? ) - // InternalApplicationConfiguration.g:1248:3: otherlv_0= 'folder' ( (lv_path_1_0= ruleFile ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleModelEntry ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) )* otherlv_7= '}' )? + // InternalApplicationConfiguration.g:1198:2: (otherlv_0= 'folder' ( (lv_path_1_0= ruleFile ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleModelEntry ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) )* otherlv_7= '}' )? ) + // InternalApplicationConfiguration.g:1199:3: otherlv_0= 'folder' ( (lv_path_1_0= ruleFile ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleModelEntry ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) )* otherlv_7= '}' )? { - otherlv_0=(Token)match(input,26,FOLLOW_21); + otherlv_0=(Token)match(input,25,FOLLOW_20); newLeafNode(otherlv_0, grammarAccess.getFolderEntryAccess().getFolderKeyword_0()); - // InternalApplicationConfiguration.g:1252:3: ( (lv_path_1_0= ruleFile ) ) - // InternalApplicationConfiguration.g:1253:4: (lv_path_1_0= ruleFile ) + // InternalApplicationConfiguration.g:1203:3: ( (lv_path_1_0= ruleFile ) ) + // InternalApplicationConfiguration.g:1204:4: (lv_path_1_0= ruleFile ) { - // InternalApplicationConfiguration.g:1253:4: (lv_path_1_0= ruleFile ) - // InternalApplicationConfiguration.g:1254:5: lv_path_1_0= ruleFile + // InternalApplicationConfiguration.g:1204:4: (lv_path_1_0= ruleFile ) + // InternalApplicationConfiguration.g:1205:5: lv_path_1_0= ruleFile { newCompositeNode(grammarAccess.getFolderEntryAccess().getPathFileParserRuleCall_1_0()); - pushFollow(FOLLOW_16); + pushFollow(FOLLOW_15); lv_path_1_0=ruleFile(); state._fsp--; @@ -3576,35 +3438,35 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - // InternalApplicationConfiguration.g:1271:3: (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleModelEntry ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) )* otherlv_7= '}' )? + // InternalApplicationConfiguration.g:1222:3: (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleModelEntry ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) )* otherlv_7= '}' )? int alt20=2; int LA20_0 = input.LA(1); - if ( (LA20_0==23) ) { + if ( (LA20_0==22) ) { alt20=1; } switch (alt20) { case 1 : - // InternalApplicationConfiguration.g:1272:4: otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleModelEntry ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) )* otherlv_7= '}' + // InternalApplicationConfiguration.g:1223:4: otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleModelEntry ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) )* otherlv_7= '}' { - otherlv_2=(Token)match(input,23,FOLLOW_17); + otherlv_2=(Token)match(input,22,FOLLOW_16); newLeafNode(otherlv_2, grammarAccess.getFolderEntryAccess().getExcludingKeyword_2_0()); - otherlv_3=(Token)match(input,19,FOLLOW_21); + otherlv_3=(Token)match(input,18,FOLLOW_20); newLeafNode(otherlv_3, grammarAccess.getFolderEntryAccess().getLeftCurlyBracketKeyword_2_1()); - // InternalApplicationConfiguration.g:1280:4: ( (lv_exclusion_4_0= ruleModelEntry ) ) - // InternalApplicationConfiguration.g:1281:5: (lv_exclusion_4_0= ruleModelEntry ) + // InternalApplicationConfiguration.g:1231:4: ( (lv_exclusion_4_0= ruleModelEntry ) ) + // InternalApplicationConfiguration.g:1232:5: (lv_exclusion_4_0= ruleModelEntry ) { - // InternalApplicationConfiguration.g:1281:5: (lv_exclusion_4_0= ruleModelEntry ) - // InternalApplicationConfiguration.g:1282:6: lv_exclusion_4_0= ruleModelEntry + // InternalApplicationConfiguration.g:1232:5: (lv_exclusion_4_0= ruleModelEntry ) + // InternalApplicationConfiguration.g:1233:6: lv_exclusion_4_0= ruleModelEntry { newCompositeNode(grammarAccess.getFolderEntryAccess().getExclusionModelEntryParserRuleCall_2_2_0()); - pushFollow(FOLLOW_15); + pushFollow(FOLLOW_14); lv_exclusion_4_0=ruleModelEntry(); state._fsp--; @@ -3626,35 +3488,35 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - // InternalApplicationConfiguration.g:1299:4: (otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) )* + // InternalApplicationConfiguration.g:1250:4: (otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) )* loop19: do { int alt19=2; int LA19_0 = input.LA(1); - if ( (LA19_0==20) ) { + if ( (LA19_0==19) ) { alt19=1; } switch (alt19) { case 1 : - // InternalApplicationConfiguration.g:1300:5: otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) + // InternalApplicationConfiguration.g:1251:5: otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) { - otherlv_5=(Token)match(input,20,FOLLOW_21); + otherlv_5=(Token)match(input,19,FOLLOW_20); newLeafNode(otherlv_5, grammarAccess.getFolderEntryAccess().getCommaKeyword_2_3_0()); - // InternalApplicationConfiguration.g:1304:5: ( (lv_exclusion_6_0= ruleModelEntry ) ) - // InternalApplicationConfiguration.g:1305:6: (lv_exclusion_6_0= ruleModelEntry ) + // InternalApplicationConfiguration.g:1255:5: ( (lv_exclusion_6_0= ruleModelEntry ) ) + // InternalApplicationConfiguration.g:1256:6: (lv_exclusion_6_0= ruleModelEntry ) { - // InternalApplicationConfiguration.g:1305:6: (lv_exclusion_6_0= ruleModelEntry ) - // InternalApplicationConfiguration.g:1306:7: lv_exclusion_6_0= ruleModelEntry + // InternalApplicationConfiguration.g:1256:6: (lv_exclusion_6_0= ruleModelEntry ) + // InternalApplicationConfiguration.g:1257:7: lv_exclusion_6_0= ruleModelEntry { newCompositeNode(grammarAccess.getFolderEntryAccess().getExclusionModelEntryParserRuleCall_2_3_1_0()); - pushFollow(FOLLOW_15); + pushFollow(FOLLOW_14); lv_exclusion_6_0=ruleModelEntry(); state._fsp--; @@ -3685,7 +3547,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } } while (true); - otherlv_7=(Token)match(input,21,FOLLOW_2); + otherlv_7=(Token)match(input,20,FOLLOW_2); newLeafNode(otherlv_7, grammarAccess.getFolderEntryAccess().getRightCurlyBracketKeyword_2_4()); @@ -3718,7 +3580,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRulePartialModelDeclaration" - // InternalApplicationConfiguration.g:1333:1: entryRulePartialModelDeclaration returns [EObject current=null] : iv_rulePartialModelDeclaration= rulePartialModelDeclaration EOF ; + // InternalApplicationConfiguration.g:1284:1: entryRulePartialModelDeclaration returns [EObject current=null] : iv_rulePartialModelDeclaration= rulePartialModelDeclaration EOF ; public final EObject entryRulePartialModelDeclaration() throws RecognitionException { EObject current = null; @@ -3726,8 +3588,8 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:1333:64: (iv_rulePartialModelDeclaration= rulePartialModelDeclaration EOF ) - // InternalApplicationConfiguration.g:1334:2: iv_rulePartialModelDeclaration= rulePartialModelDeclaration EOF + // InternalApplicationConfiguration.g:1284:64: (iv_rulePartialModelDeclaration= rulePartialModelDeclaration EOF ) + // InternalApplicationConfiguration.g:1285:2: iv_rulePartialModelDeclaration= rulePartialModelDeclaration EOF { newCompositeNode(grammarAccess.getPartialModelDeclarationRule()); pushFollow(FOLLOW_1); @@ -3754,7 +3616,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "rulePartialModelDeclaration" - // InternalApplicationConfiguration.g:1340:1: rulePartialModelDeclaration returns [EObject current=null] : (otherlv_0= 'models' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePartialModelSpecification ) ) ) ; + // InternalApplicationConfiguration.g:1291: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; @@ -3767,23 +3629,23 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:1346:2: ( (otherlv_0= 'models' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePartialModelSpecification ) ) ) ) - // InternalApplicationConfiguration.g:1347:2: (otherlv_0= 'models' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePartialModelSpecification ) ) ) + // InternalApplicationConfiguration.g:1297:2: ( (otherlv_0= 'models' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePartialModelSpecification ) ) ) ) + // InternalApplicationConfiguration.g:1298:2: (otherlv_0= 'models' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePartialModelSpecification ) ) ) { - // InternalApplicationConfiguration.g:1347:2: (otherlv_0= 'models' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePartialModelSpecification ) ) ) - // InternalApplicationConfiguration.g:1348:3: otherlv_0= 'models' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePartialModelSpecification ) ) + // InternalApplicationConfiguration.g:1298:2: (otherlv_0= 'models' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePartialModelSpecification ) ) ) + // InternalApplicationConfiguration.g:1299:3: otherlv_0= 'models' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePartialModelSpecification ) ) { - otherlv_0=(Token)match(input,27,FOLLOW_6); + otherlv_0=(Token)match(input,26,FOLLOW_6); newLeafNode(otherlv_0, grammarAccess.getPartialModelDeclarationAccess().getModelsKeyword_0()); - // InternalApplicationConfiguration.g:1352:3: ( (lv_name_1_0= RULE_ID ) ) - // InternalApplicationConfiguration.g:1353:4: (lv_name_1_0= RULE_ID ) + // InternalApplicationConfiguration.g:1303:3: ( (lv_name_1_0= RULE_ID ) ) + // InternalApplicationConfiguration.g:1304:4: (lv_name_1_0= RULE_ID ) { - // InternalApplicationConfiguration.g:1353:4: (lv_name_1_0= RULE_ID ) - // InternalApplicationConfiguration.g:1354:5: lv_name_1_0= RULE_ID + // InternalApplicationConfiguration.g:1304:4: (lv_name_1_0= RULE_ID ) + // InternalApplicationConfiguration.g:1305:5: lv_name_1_0= RULE_ID { - lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_17); + lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_16); newLeafNode(lv_name_1_0, grammarAccess.getPartialModelDeclarationAccess().getNameIDTerminalRuleCall_1_0()); @@ -3803,11 +3665,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - // InternalApplicationConfiguration.g:1370:3: ( (lv_specification_2_0= rulePartialModelSpecification ) ) - // InternalApplicationConfiguration.g:1371:4: (lv_specification_2_0= rulePartialModelSpecification ) + // InternalApplicationConfiguration.g:1321:3: ( (lv_specification_2_0= rulePartialModelSpecification ) ) + // InternalApplicationConfiguration.g:1322:4: (lv_specification_2_0= rulePartialModelSpecification ) { - // InternalApplicationConfiguration.g:1371:4: (lv_specification_2_0= rulePartialModelSpecification ) - // InternalApplicationConfiguration.g:1372:5: lv_specification_2_0= rulePartialModelSpecification + // InternalApplicationConfiguration.g:1322:4: (lv_specification_2_0= rulePartialModelSpecification ) + // InternalApplicationConfiguration.g:1323:5: lv_specification_2_0= rulePartialModelSpecification { newCompositeNode(grammarAccess.getPartialModelDeclarationAccess().getSpecificationPartialModelSpecificationParserRuleCall_2_0()); @@ -3857,7 +3719,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRulePartialModelReference" - // InternalApplicationConfiguration.g:1393:1: entryRulePartialModelReference returns [EObject current=null] : iv_rulePartialModelReference= rulePartialModelReference EOF ; + // InternalApplicationConfiguration.g:1344:1: entryRulePartialModelReference returns [EObject current=null] : iv_rulePartialModelReference= rulePartialModelReference EOF ; public final EObject entryRulePartialModelReference() throws RecognitionException { EObject current = null; @@ -3865,8 +3727,8 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:1393:62: (iv_rulePartialModelReference= rulePartialModelReference EOF ) - // InternalApplicationConfiguration.g:1394:2: iv_rulePartialModelReference= rulePartialModelReference EOF + // InternalApplicationConfiguration.g:1344:62: (iv_rulePartialModelReference= rulePartialModelReference EOF ) + // InternalApplicationConfiguration.g:1345:2: iv_rulePartialModelReference= rulePartialModelReference EOF { newCompositeNode(grammarAccess.getPartialModelReferenceRule()); pushFollow(FOLLOW_1); @@ -3893,7 +3755,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "rulePartialModelReference" - // InternalApplicationConfiguration.g:1400:1: rulePartialModelReference returns [EObject current=null] : ( (otherlv_0= RULE_ID ) ) ; + // InternalApplicationConfiguration.g:1351:1: rulePartialModelReference returns [EObject current=null] : ( (otherlv_0= RULE_ID ) ) ; public final EObject rulePartialModelReference() throws RecognitionException { EObject current = null; @@ -3903,14 +3765,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:1406:2: ( ( (otherlv_0= RULE_ID ) ) ) - // InternalApplicationConfiguration.g:1407:2: ( (otherlv_0= RULE_ID ) ) + // InternalApplicationConfiguration.g:1357:2: ( ( (otherlv_0= RULE_ID ) ) ) + // InternalApplicationConfiguration.g:1358:2: ( (otherlv_0= RULE_ID ) ) { - // InternalApplicationConfiguration.g:1407:2: ( (otherlv_0= RULE_ID ) ) - // InternalApplicationConfiguration.g:1408:3: (otherlv_0= RULE_ID ) + // InternalApplicationConfiguration.g:1358:2: ( (otherlv_0= RULE_ID ) ) + // InternalApplicationConfiguration.g:1359:3: (otherlv_0= RULE_ID ) { - // InternalApplicationConfiguration.g:1408:3: (otherlv_0= RULE_ID ) - // InternalApplicationConfiguration.g:1409:4: otherlv_0= RULE_ID + // InternalApplicationConfiguration.g:1359:3: (otherlv_0= RULE_ID ) + // InternalApplicationConfiguration.g:1360:4: otherlv_0= RULE_ID { if (current==null) { @@ -3947,7 +3809,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRulePartialModel" - // InternalApplicationConfiguration.g:1423:1: entryRulePartialModel returns [EObject current=null] : iv_rulePartialModel= rulePartialModel EOF ; + // InternalApplicationConfiguration.g:1374:1: entryRulePartialModel returns [EObject current=null] : iv_rulePartialModel= rulePartialModel EOF ; public final EObject entryRulePartialModel() throws RecognitionException { EObject current = null; @@ -3955,8 +3817,8 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:1423:53: (iv_rulePartialModel= rulePartialModel EOF ) - // InternalApplicationConfiguration.g:1424:2: iv_rulePartialModel= rulePartialModel EOF + // InternalApplicationConfiguration.g:1374:53: (iv_rulePartialModel= rulePartialModel EOF ) + // InternalApplicationConfiguration.g:1375:2: iv_rulePartialModel= rulePartialModel EOF { newCompositeNode(grammarAccess.getPartialModelRule()); pushFollow(FOLLOW_1); @@ -3983,7 +3845,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "rulePartialModel" - // InternalApplicationConfiguration.g:1430:1: rulePartialModel returns [EObject current=null] : (this_PartialModelSpecification_0= rulePartialModelSpecification | this_PartialModelReference_1= rulePartialModelReference ) ; + // InternalApplicationConfiguration.g:1381:1: rulePartialModel returns [EObject current=null] : (this_PartialModelSpecification_0= rulePartialModelSpecification | this_PartialModelReference_1= rulePartialModelReference ) ; public final EObject rulePartialModel() throws RecognitionException { EObject current = null; @@ -3996,14 +3858,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:1436:2: ( (this_PartialModelSpecification_0= rulePartialModelSpecification | this_PartialModelReference_1= rulePartialModelReference ) ) - // InternalApplicationConfiguration.g:1437:2: (this_PartialModelSpecification_0= rulePartialModelSpecification | this_PartialModelReference_1= rulePartialModelReference ) + // InternalApplicationConfiguration.g:1387:2: ( (this_PartialModelSpecification_0= rulePartialModelSpecification | this_PartialModelReference_1= rulePartialModelReference ) ) + // InternalApplicationConfiguration.g:1388:2: (this_PartialModelSpecification_0= rulePartialModelSpecification | this_PartialModelReference_1= rulePartialModelReference ) { - // InternalApplicationConfiguration.g:1437:2: (this_PartialModelSpecification_0= rulePartialModelSpecification | this_PartialModelReference_1= rulePartialModelReference ) + // InternalApplicationConfiguration.g:1388:2: (this_PartialModelSpecification_0= rulePartialModelSpecification | this_PartialModelReference_1= rulePartialModelReference ) int alt21=2; int LA21_0 = input.LA(1); - if ( (LA21_0==19) ) { + if ( (LA21_0==18) ) { alt21=1; } else if ( (LA21_0==RULE_ID) ) { @@ -4017,7 +3879,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } switch (alt21) { case 1 : - // InternalApplicationConfiguration.g:1438:3: this_PartialModelSpecification_0= rulePartialModelSpecification + // InternalApplicationConfiguration.g:1389:3: this_PartialModelSpecification_0= rulePartialModelSpecification { newCompositeNode(grammarAccess.getPartialModelAccess().getPartialModelSpecificationParserRuleCall_0()); @@ -4035,7 +3897,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } break; case 2 : - // InternalApplicationConfiguration.g:1447:3: this_PartialModelReference_1= rulePartialModelReference + // InternalApplicationConfiguration.g:1398:3: this_PartialModelReference_1= rulePartialModelReference { newCompositeNode(grammarAccess.getPartialModelAccess().getPartialModelReferenceParserRuleCall_1()); @@ -4075,7 +3937,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRulePatternSpecification" - // InternalApplicationConfiguration.g:1459:1: entryRulePatternSpecification returns [EObject current=null] : iv_rulePatternSpecification= rulePatternSpecification EOF ; + // InternalApplicationConfiguration.g:1410:1: entryRulePatternSpecification returns [EObject current=null] : iv_rulePatternSpecification= rulePatternSpecification EOF ; public final EObject entryRulePatternSpecification() throws RecognitionException { EObject current = null; @@ -4083,8 +3945,8 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:1459:61: (iv_rulePatternSpecification= rulePatternSpecification EOF ) - // InternalApplicationConfiguration.g:1460:2: iv_rulePatternSpecification= rulePatternSpecification EOF + // InternalApplicationConfiguration.g:1410:61: (iv_rulePatternSpecification= rulePatternSpecification EOF ) + // InternalApplicationConfiguration.g:1411:2: iv_rulePatternSpecification= rulePatternSpecification EOF { newCompositeNode(grammarAccess.getPatternSpecificationRule()); pushFollow(FOLLOW_1); @@ -4111,7 +3973,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "rulePatternSpecification" - // InternalApplicationConfiguration.g:1466:1: rulePatternSpecification returns [EObject current=null] : (otherlv_0= '{' ( (lv_entries_1_0= rulePatternEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= rulePatternEntry ) ) )* otherlv_4= '}' ) ; + // InternalApplicationConfiguration.g:1417:1: rulePatternSpecification returns [EObject current=null] : (otherlv_0= '{' ( (lv_entries_1_0= rulePatternEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= rulePatternEntry ) ) )* otherlv_4= '}' ) ; public final EObject rulePatternSpecification() throws RecognitionException { EObject current = null; @@ -4127,26 +3989,26 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:1472:2: ( (otherlv_0= '{' ( (lv_entries_1_0= rulePatternEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= rulePatternEntry ) ) )* otherlv_4= '}' ) ) - // InternalApplicationConfiguration.g:1473:2: (otherlv_0= '{' ( (lv_entries_1_0= rulePatternEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= rulePatternEntry ) ) )* otherlv_4= '}' ) + // InternalApplicationConfiguration.g:1423:2: ( (otherlv_0= '{' ( (lv_entries_1_0= rulePatternEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= rulePatternEntry ) ) )* otherlv_4= '}' ) ) + // InternalApplicationConfiguration.g:1424:2: (otherlv_0= '{' ( (lv_entries_1_0= rulePatternEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= rulePatternEntry ) ) )* otherlv_4= '}' ) { - // InternalApplicationConfiguration.g:1473:2: (otherlv_0= '{' ( (lv_entries_1_0= rulePatternEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= rulePatternEntry ) ) )* otherlv_4= '}' ) - // InternalApplicationConfiguration.g:1474:3: otherlv_0= '{' ( (lv_entries_1_0= rulePatternEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= rulePatternEntry ) ) )* otherlv_4= '}' + // InternalApplicationConfiguration.g:1424:2: (otherlv_0= '{' ( (lv_entries_1_0= rulePatternEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= rulePatternEntry ) ) )* otherlv_4= '}' ) + // InternalApplicationConfiguration.g:1425:3: otherlv_0= '{' ( (lv_entries_1_0= rulePatternEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= rulePatternEntry ) ) )* otherlv_4= '}' { - otherlv_0=(Token)match(input,19,FOLLOW_14); + otherlv_0=(Token)match(input,18,FOLLOW_13); newLeafNode(otherlv_0, grammarAccess.getPatternSpecificationAccess().getLeftCurlyBracketKeyword_0()); - // InternalApplicationConfiguration.g:1478:3: ( (lv_entries_1_0= rulePatternEntry ) ) - // InternalApplicationConfiguration.g:1479:4: (lv_entries_1_0= rulePatternEntry ) + // InternalApplicationConfiguration.g:1429:3: ( (lv_entries_1_0= rulePatternEntry ) ) + // InternalApplicationConfiguration.g:1430:4: (lv_entries_1_0= rulePatternEntry ) { - // InternalApplicationConfiguration.g:1479:4: (lv_entries_1_0= rulePatternEntry ) - // InternalApplicationConfiguration.g:1480:5: lv_entries_1_0= rulePatternEntry + // InternalApplicationConfiguration.g:1430:4: (lv_entries_1_0= rulePatternEntry ) + // InternalApplicationConfiguration.g:1431:5: lv_entries_1_0= rulePatternEntry { newCompositeNode(grammarAccess.getPatternSpecificationAccess().getEntriesPatternEntryParserRuleCall_1_0()); - pushFollow(FOLLOW_15); + pushFollow(FOLLOW_14); lv_entries_1_0=rulePatternEntry(); state._fsp--; @@ -4168,35 +4030,35 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - // InternalApplicationConfiguration.g:1497:3: (otherlv_2= ',' ( (lv_entries_3_0= rulePatternEntry ) ) )* + // InternalApplicationConfiguration.g:1448:3: (otherlv_2= ',' ( (lv_entries_3_0= rulePatternEntry ) ) )* loop22: do { int alt22=2; int LA22_0 = input.LA(1); - if ( (LA22_0==20) ) { + if ( (LA22_0==19) ) { alt22=1; } switch (alt22) { case 1 : - // InternalApplicationConfiguration.g:1498:4: otherlv_2= ',' ( (lv_entries_3_0= rulePatternEntry ) ) + // InternalApplicationConfiguration.g:1449:4: otherlv_2= ',' ( (lv_entries_3_0= rulePatternEntry ) ) { - otherlv_2=(Token)match(input,20,FOLLOW_14); + otherlv_2=(Token)match(input,19,FOLLOW_13); newLeafNode(otherlv_2, grammarAccess.getPatternSpecificationAccess().getCommaKeyword_2_0()); - // InternalApplicationConfiguration.g:1502:4: ( (lv_entries_3_0= rulePatternEntry ) ) - // InternalApplicationConfiguration.g:1503:5: (lv_entries_3_0= rulePatternEntry ) + // InternalApplicationConfiguration.g:1453:4: ( (lv_entries_3_0= rulePatternEntry ) ) + // InternalApplicationConfiguration.g:1454:5: (lv_entries_3_0= rulePatternEntry ) { - // InternalApplicationConfiguration.g:1503:5: (lv_entries_3_0= rulePatternEntry ) - // InternalApplicationConfiguration.g:1504:6: lv_entries_3_0= rulePatternEntry + // InternalApplicationConfiguration.g:1454:5: (lv_entries_3_0= rulePatternEntry ) + // InternalApplicationConfiguration.g:1455:6: lv_entries_3_0= rulePatternEntry { newCompositeNode(grammarAccess.getPatternSpecificationAccess().getEntriesPatternEntryParserRuleCall_2_1_0()); - pushFollow(FOLLOW_15); + pushFollow(FOLLOW_14); lv_entries_3_0=rulePatternEntry(); state._fsp--; @@ -4227,7 +4089,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } } while (true); - otherlv_4=(Token)match(input,21,FOLLOW_2); + otherlv_4=(Token)match(input,20,FOLLOW_2); newLeafNode(otherlv_4, grammarAccess.getPatternSpecificationAccess().getRightCurlyBracketKeyword_3()); @@ -4254,7 +4116,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRulePatternEntry" - // InternalApplicationConfiguration.g:1530:1: entryRulePatternEntry returns [EObject current=null] : iv_rulePatternEntry= rulePatternEntry EOF ; + // InternalApplicationConfiguration.g:1481:1: entryRulePatternEntry returns [EObject current=null] : iv_rulePatternEntry= rulePatternEntry EOF ; public final EObject entryRulePatternEntry() throws RecognitionException { EObject current = null; @@ -4262,8 +4124,8 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:1530:53: (iv_rulePatternEntry= rulePatternEntry EOF ) - // InternalApplicationConfiguration.g:1531:2: iv_rulePatternEntry= rulePatternEntry EOF + // InternalApplicationConfiguration.g:1481:53: (iv_rulePatternEntry= rulePatternEntry EOF ) + // InternalApplicationConfiguration.g:1482:2: iv_rulePatternEntry= rulePatternEntry EOF { newCompositeNode(grammarAccess.getPatternEntryRule()); pushFollow(FOLLOW_1); @@ -4290,7 +4152,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "rulePatternEntry" - // InternalApplicationConfiguration.g:1537:1: rulePatternEntry returns [EObject current=null] : (this_PatternElement_0= rulePatternElement | this_AllPatternEntry_1= ruleAllPatternEntry ) ; + // InternalApplicationConfiguration.g:1488:1: rulePatternEntry returns [EObject current=null] : (this_PatternElement_0= rulePatternElement | this_AllPatternEntry_1= ruleAllPatternEntry ) ; public final EObject rulePatternEntry() throws RecognitionException { EObject current = null; @@ -4303,17 +4165,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:1543:2: ( (this_PatternElement_0= rulePatternElement | this_AllPatternEntry_1= ruleAllPatternEntry ) ) - // InternalApplicationConfiguration.g:1544:2: (this_PatternElement_0= rulePatternElement | this_AllPatternEntry_1= ruleAllPatternEntry ) + // InternalApplicationConfiguration.g:1494:2: ( (this_PatternElement_0= rulePatternElement | this_AllPatternEntry_1= ruleAllPatternEntry ) ) + // InternalApplicationConfiguration.g:1495:2: (this_PatternElement_0= rulePatternElement | this_AllPatternEntry_1= ruleAllPatternEntry ) { - // InternalApplicationConfiguration.g:1544:2: (this_PatternElement_0= rulePatternElement | this_AllPatternEntry_1= ruleAllPatternEntry ) + // InternalApplicationConfiguration.g:1495:2: (this_PatternElement_0= rulePatternElement | this_AllPatternEntry_1= ruleAllPatternEntry ) int alt23=2; int LA23_0 = input.LA(1); if ( (LA23_0==RULE_ID) ) { alt23=1; } - else if ( (LA23_0==22) ) { + else if ( (LA23_0==21) ) { alt23=2; } else { @@ -4324,7 +4186,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } switch (alt23) { case 1 : - // InternalApplicationConfiguration.g:1545:3: this_PatternElement_0= rulePatternElement + // InternalApplicationConfiguration.g:1496:3: this_PatternElement_0= rulePatternElement { newCompositeNode(grammarAccess.getPatternEntryAccess().getPatternElementParserRuleCall_0()); @@ -4342,7 +4204,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } break; case 2 : - // InternalApplicationConfiguration.g:1554:3: this_AllPatternEntry_1= ruleAllPatternEntry + // InternalApplicationConfiguration.g:1505:3: this_AllPatternEntry_1= ruleAllPatternEntry { newCompositeNode(grammarAccess.getPatternEntryAccess().getAllPatternEntryParserRuleCall_1()); @@ -4382,7 +4244,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleAllPatternEntry" - // InternalApplicationConfiguration.g:1566:1: entryRuleAllPatternEntry returns [EObject current=null] : iv_ruleAllPatternEntry= ruleAllPatternEntry EOF ; + // InternalApplicationConfiguration.g:1517:1: entryRuleAllPatternEntry returns [EObject current=null] : iv_ruleAllPatternEntry= ruleAllPatternEntry EOF ; public final EObject entryRuleAllPatternEntry() throws RecognitionException { EObject current = null; @@ -4390,8 +4252,8 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:1566:56: (iv_ruleAllPatternEntry= ruleAllPatternEntry EOF ) - // InternalApplicationConfiguration.g:1567:2: iv_ruleAllPatternEntry= ruleAllPatternEntry EOF + // InternalApplicationConfiguration.g:1517:56: (iv_ruleAllPatternEntry= ruleAllPatternEntry EOF ) + // InternalApplicationConfiguration.g:1518:2: iv_ruleAllPatternEntry= ruleAllPatternEntry EOF { newCompositeNode(grammarAccess.getAllPatternEntryRule()); pushFollow(FOLLOW_1); @@ -4418,7 +4280,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleAllPatternEntry" - // InternalApplicationConfiguration.g:1573:1: ruleAllPatternEntry returns [EObject current=null] : (otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusuion_4_0= rulePatternElement ) ) (otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) )* otherlv_7= '}' )? ) ; + // InternalApplicationConfiguration.g:1524:1: ruleAllPatternEntry returns [EObject current=null] : (otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusuion_4_0= rulePatternElement ) ) (otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) )* otherlv_7= '}' )? ) ; public final EObject ruleAllPatternEntry() throws RecognitionException { EObject current = null; @@ -4436,21 +4298,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:1579:2: ( (otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusuion_4_0= rulePatternElement ) ) (otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) )* otherlv_7= '}' )? ) ) - // InternalApplicationConfiguration.g:1580:2: (otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusuion_4_0= rulePatternElement ) ) (otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) )* otherlv_7= '}' )? ) + // InternalApplicationConfiguration.g:1530:2: ( (otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusuion_4_0= rulePatternElement ) ) (otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) )* otherlv_7= '}' )? ) ) + // InternalApplicationConfiguration.g:1531:2: (otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusuion_4_0= rulePatternElement ) ) (otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) )* otherlv_7= '}' )? ) { - // InternalApplicationConfiguration.g:1580:2: (otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusuion_4_0= rulePatternElement ) ) (otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) )* otherlv_7= '}' )? ) - // InternalApplicationConfiguration.g:1581:3: otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusuion_4_0= rulePatternElement ) ) (otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) )* otherlv_7= '}' )? + // InternalApplicationConfiguration.g:1531:2: (otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusuion_4_0= rulePatternElement ) ) (otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) )* otherlv_7= '}' )? ) + // InternalApplicationConfiguration.g:1532:3: otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusuion_4_0= rulePatternElement ) ) (otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) )* otherlv_7= '}' )? { - otherlv_0=(Token)match(input,22,FOLLOW_6); + otherlv_0=(Token)match(input,21,FOLLOW_6); newLeafNode(otherlv_0, grammarAccess.getAllPatternEntryAccess().getPackageKeyword_0()); - // InternalApplicationConfiguration.g:1585:3: ( ( ruleQualifiedName ) ) - // InternalApplicationConfiguration.g:1586:4: ( ruleQualifiedName ) + // InternalApplicationConfiguration.g:1536:3: ( ( ruleQualifiedName ) ) + // InternalApplicationConfiguration.g:1537:4: ( ruleQualifiedName ) { - // InternalApplicationConfiguration.g:1586:4: ( ruleQualifiedName ) - // InternalApplicationConfiguration.g:1587:5: ruleQualifiedName + // InternalApplicationConfiguration.g:1537:4: ( ruleQualifiedName ) + // InternalApplicationConfiguration.g:1538:5: ruleQualifiedName { if (current==null) { @@ -4460,7 +4322,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl newCompositeNode(grammarAccess.getAllPatternEntryAccess().getPackagePatternModelCrossReference_1_0()); - pushFollow(FOLLOW_16); + pushFollow(FOLLOW_15); ruleQualifiedName(); state._fsp--; @@ -4474,35 +4336,35 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - // InternalApplicationConfiguration.g:1601:3: (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusuion_4_0= rulePatternElement ) ) (otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) )* otherlv_7= '}' )? + // InternalApplicationConfiguration.g:1552:3: (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusuion_4_0= rulePatternElement ) ) (otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) )* otherlv_7= '}' )? int alt25=2; int LA25_0 = input.LA(1); - if ( (LA25_0==23) ) { + if ( (LA25_0==22) ) { alt25=1; } switch (alt25) { case 1 : - // InternalApplicationConfiguration.g:1602:4: otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusuion_4_0= rulePatternElement ) ) (otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) )* otherlv_7= '}' + // InternalApplicationConfiguration.g:1553:4: otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusuion_4_0= rulePatternElement ) ) (otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) )* otherlv_7= '}' { - otherlv_2=(Token)match(input,23,FOLLOW_17); + otherlv_2=(Token)match(input,22,FOLLOW_16); newLeafNode(otherlv_2, grammarAccess.getAllPatternEntryAccess().getExcludingKeyword_2_0()); - otherlv_3=(Token)match(input,19,FOLLOW_6); + otherlv_3=(Token)match(input,18,FOLLOW_6); newLeafNode(otherlv_3, grammarAccess.getAllPatternEntryAccess().getLeftCurlyBracketKeyword_2_1()); - // InternalApplicationConfiguration.g:1610:4: ( (lv_exclusuion_4_0= rulePatternElement ) ) - // InternalApplicationConfiguration.g:1611:5: (lv_exclusuion_4_0= rulePatternElement ) + // InternalApplicationConfiguration.g:1561:4: ( (lv_exclusuion_4_0= rulePatternElement ) ) + // InternalApplicationConfiguration.g:1562:5: (lv_exclusuion_4_0= rulePatternElement ) { - // InternalApplicationConfiguration.g:1611:5: (lv_exclusuion_4_0= rulePatternElement ) - // InternalApplicationConfiguration.g:1612:6: lv_exclusuion_4_0= rulePatternElement + // InternalApplicationConfiguration.g:1562:5: (lv_exclusuion_4_0= rulePatternElement ) + // InternalApplicationConfiguration.g:1563:6: lv_exclusuion_4_0= rulePatternElement { newCompositeNode(grammarAccess.getAllPatternEntryAccess().getExclusuionPatternElementParserRuleCall_2_2_0()); - pushFollow(FOLLOW_15); + pushFollow(FOLLOW_14); lv_exclusuion_4_0=rulePatternElement(); state._fsp--; @@ -4524,35 +4386,35 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - // InternalApplicationConfiguration.g:1629:4: (otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) )* + // InternalApplicationConfiguration.g:1580:4: (otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) )* loop24: do { int alt24=2; int LA24_0 = input.LA(1); - if ( (LA24_0==20) ) { + if ( (LA24_0==19) ) { alt24=1; } switch (alt24) { case 1 : - // InternalApplicationConfiguration.g:1630:5: otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) + // InternalApplicationConfiguration.g:1581:5: otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) { - otherlv_5=(Token)match(input,20,FOLLOW_6); + otherlv_5=(Token)match(input,19,FOLLOW_6); newLeafNode(otherlv_5, grammarAccess.getAllPatternEntryAccess().getCommaKeyword_2_3_0()); - // InternalApplicationConfiguration.g:1634:5: ( (lv_exclusuion_6_0= rulePatternElement ) ) - // InternalApplicationConfiguration.g:1635:6: (lv_exclusuion_6_0= rulePatternElement ) + // InternalApplicationConfiguration.g:1585:5: ( (lv_exclusuion_6_0= rulePatternElement ) ) + // InternalApplicationConfiguration.g:1586:6: (lv_exclusuion_6_0= rulePatternElement ) { - // InternalApplicationConfiguration.g:1635:6: (lv_exclusuion_6_0= rulePatternElement ) - // InternalApplicationConfiguration.g:1636:7: lv_exclusuion_6_0= rulePatternElement + // InternalApplicationConfiguration.g:1586:6: (lv_exclusuion_6_0= rulePatternElement ) + // InternalApplicationConfiguration.g:1587:7: lv_exclusuion_6_0= rulePatternElement { newCompositeNode(grammarAccess.getAllPatternEntryAccess().getExclusuionPatternElementParserRuleCall_2_3_1_0()); - pushFollow(FOLLOW_15); + pushFollow(FOLLOW_14); lv_exclusuion_6_0=rulePatternElement(); state._fsp--; @@ -4583,7 +4445,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } } while (true); - otherlv_7=(Token)match(input,21,FOLLOW_2); + otherlv_7=(Token)match(input,20,FOLLOW_2); newLeafNode(otherlv_7, grammarAccess.getAllPatternEntryAccess().getRightCurlyBracketKeyword_2_4()); @@ -4616,7 +4478,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRulePatternElement" - // InternalApplicationConfiguration.g:1663:1: entryRulePatternElement returns [EObject current=null] : iv_rulePatternElement= rulePatternElement EOF ; + // InternalApplicationConfiguration.g:1614:1: entryRulePatternElement returns [EObject current=null] : iv_rulePatternElement= rulePatternElement EOF ; public final EObject entryRulePatternElement() throws RecognitionException { EObject current = null; @@ -4624,8 +4486,8 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:1663:55: (iv_rulePatternElement= rulePatternElement EOF ) - // InternalApplicationConfiguration.g:1664:2: iv_rulePatternElement= rulePatternElement EOF + // InternalApplicationConfiguration.g:1614:55: (iv_rulePatternElement= rulePatternElement EOF ) + // InternalApplicationConfiguration.g:1615:2: iv_rulePatternElement= rulePatternElement EOF { newCompositeNode(grammarAccess.getPatternElementRule()); pushFollow(FOLLOW_1); @@ -4652,7 +4514,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "rulePatternElement" - // InternalApplicationConfiguration.g:1670:1: rulePatternElement returns [EObject current=null] : ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) ) ; + // InternalApplicationConfiguration.g:1621:1: rulePatternElement returns [EObject current=null] : ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) ) ; public final EObject rulePatternElement() throws RecognitionException { EObject current = null; @@ -4663,32 +4525,32 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:1676:2: ( ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) ) ) - // InternalApplicationConfiguration.g:1677:2: ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) ) + // InternalApplicationConfiguration.g:1627:2: ( ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) ) ) + // InternalApplicationConfiguration.g:1628:2: ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) ) { - // InternalApplicationConfiguration.g:1677:2: ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) ) - // InternalApplicationConfiguration.g:1678:3: ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) + // InternalApplicationConfiguration.g:1628:2: ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) ) + // InternalApplicationConfiguration.g:1629:3: ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) { - // InternalApplicationConfiguration.g:1678:3: ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? + // InternalApplicationConfiguration.g:1629:3: ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? int alt26=2; int LA26_0 = input.LA(1); if ( (LA26_0==RULE_ID) ) { int LA26_1 = input.LA(2); - if ( (LA26_1==11||LA26_1==24) ) { + if ( (LA26_1==11||LA26_1==23) ) { alt26=1; } } switch (alt26) { case 1 : - // InternalApplicationConfiguration.g:1679:4: ( ( ruleQualifiedName ) ) otherlv_1= '::' + // InternalApplicationConfiguration.g:1630:4: ( ( ruleQualifiedName ) ) otherlv_1= '::' { - // InternalApplicationConfiguration.g:1679:4: ( ( ruleQualifiedName ) ) - // InternalApplicationConfiguration.g:1680:5: ( ruleQualifiedName ) + // InternalApplicationConfiguration.g:1630:4: ( ( ruleQualifiedName ) ) + // InternalApplicationConfiguration.g:1631:5: ( ruleQualifiedName ) { - // InternalApplicationConfiguration.g:1680:5: ( ruleQualifiedName ) - // InternalApplicationConfiguration.g:1681:6: ruleQualifiedName + // InternalApplicationConfiguration.g:1631:5: ( ruleQualifiedName ) + // InternalApplicationConfiguration.g:1632:6: ruleQualifiedName { if (current==null) { @@ -4698,7 +4560,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl newCompositeNode(grammarAccess.getPatternElementAccess().getPackagePatternModelCrossReference_0_0_0()); - pushFollow(FOLLOW_18); + pushFollow(FOLLOW_17); ruleQualifiedName(); state._fsp--; @@ -4712,7 +4574,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - otherlv_1=(Token)match(input,24,FOLLOW_6); + otherlv_1=(Token)match(input,23,FOLLOW_6); newLeafNode(otherlv_1, grammarAccess.getPatternElementAccess().getColonColonKeyword_0_1()); @@ -4722,11 +4584,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - // InternalApplicationConfiguration.g:1700:3: ( (otherlv_2= RULE_ID ) ) - // InternalApplicationConfiguration.g:1701:4: (otherlv_2= RULE_ID ) + // InternalApplicationConfiguration.g:1651:3: ( (otherlv_2= RULE_ID ) ) + // InternalApplicationConfiguration.g:1652:4: (otherlv_2= RULE_ID ) { - // InternalApplicationConfiguration.g:1701:4: (otherlv_2= RULE_ID ) - // InternalApplicationConfiguration.g:1702:5: otherlv_2= RULE_ID + // InternalApplicationConfiguration.g:1652:4: (otherlv_2= RULE_ID ) + // InternalApplicationConfiguration.g:1653:5: otherlv_2= RULE_ID { if (current==null) { @@ -4766,7 +4628,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleGraphPatternDeclaration" - // InternalApplicationConfiguration.g:1717:1: entryRuleGraphPatternDeclaration returns [EObject current=null] : iv_ruleGraphPatternDeclaration= ruleGraphPatternDeclaration EOF ; + // InternalApplicationConfiguration.g:1668:1: entryRuleGraphPatternDeclaration returns [EObject current=null] : iv_ruleGraphPatternDeclaration= ruleGraphPatternDeclaration EOF ; public final EObject entryRuleGraphPatternDeclaration() throws RecognitionException { EObject current = null; @@ -4774,8 +4636,8 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:1717:64: (iv_ruleGraphPatternDeclaration= ruleGraphPatternDeclaration EOF ) - // InternalApplicationConfiguration.g:1718:2: iv_ruleGraphPatternDeclaration= ruleGraphPatternDeclaration EOF + // InternalApplicationConfiguration.g:1668:64: (iv_ruleGraphPatternDeclaration= ruleGraphPatternDeclaration EOF ) + // InternalApplicationConfiguration.g:1669:2: iv_ruleGraphPatternDeclaration= ruleGraphPatternDeclaration EOF { newCompositeNode(grammarAccess.getGraphPatternDeclarationRule()); pushFollow(FOLLOW_1); @@ -4802,7 +4664,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleGraphPatternDeclaration" - // InternalApplicationConfiguration.g:1724:1: ruleGraphPatternDeclaration returns [EObject current=null] : (otherlv_0= 'constraints' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePatternSpecification ) ) ) ; + // InternalApplicationConfiguration.g:1675:1: ruleGraphPatternDeclaration returns [EObject current=null] : (otherlv_0= 'constraints' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePatternSpecification ) ) ) ; public final EObject ruleGraphPatternDeclaration() throws RecognitionException { EObject current = null; @@ -4815,23 +4677,23 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:1730:2: ( (otherlv_0= 'constraints' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePatternSpecification ) ) ) ) - // InternalApplicationConfiguration.g:1731:2: (otherlv_0= 'constraints' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePatternSpecification ) ) ) + // InternalApplicationConfiguration.g:1681:2: ( (otherlv_0= 'constraints' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePatternSpecification ) ) ) ) + // InternalApplicationConfiguration.g:1682:2: (otherlv_0= 'constraints' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePatternSpecification ) ) ) { - // InternalApplicationConfiguration.g:1731:2: (otherlv_0= 'constraints' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePatternSpecification ) ) ) - // InternalApplicationConfiguration.g:1732:3: otherlv_0= 'constraints' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePatternSpecification ) ) + // InternalApplicationConfiguration.g:1682:2: (otherlv_0= 'constraints' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePatternSpecification ) ) ) + // InternalApplicationConfiguration.g:1683:3: otherlv_0= 'constraints' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePatternSpecification ) ) { - otherlv_0=(Token)match(input,28,FOLLOW_6); + otherlv_0=(Token)match(input,27,FOLLOW_6); newLeafNode(otherlv_0, grammarAccess.getGraphPatternDeclarationAccess().getConstraintsKeyword_0()); - // InternalApplicationConfiguration.g:1736:3: ( (lv_name_1_0= RULE_ID ) ) - // InternalApplicationConfiguration.g:1737:4: (lv_name_1_0= RULE_ID ) + // InternalApplicationConfiguration.g:1687:3: ( (lv_name_1_0= RULE_ID ) ) + // InternalApplicationConfiguration.g:1688:4: (lv_name_1_0= RULE_ID ) { - // InternalApplicationConfiguration.g:1737:4: (lv_name_1_0= RULE_ID ) - // InternalApplicationConfiguration.g:1738:5: lv_name_1_0= RULE_ID + // InternalApplicationConfiguration.g:1688:4: (lv_name_1_0= RULE_ID ) + // InternalApplicationConfiguration.g:1689:5: lv_name_1_0= RULE_ID { - lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_17); + lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_16); newLeafNode(lv_name_1_0, grammarAccess.getGraphPatternDeclarationAccess().getNameIDTerminalRuleCall_1_0()); @@ -4851,11 +4713,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - // InternalApplicationConfiguration.g:1754:3: ( (lv_specification_2_0= rulePatternSpecification ) ) - // InternalApplicationConfiguration.g:1755:4: (lv_specification_2_0= rulePatternSpecification ) + // InternalApplicationConfiguration.g:1705:3: ( (lv_specification_2_0= rulePatternSpecification ) ) + // InternalApplicationConfiguration.g:1706:4: (lv_specification_2_0= rulePatternSpecification ) { - // InternalApplicationConfiguration.g:1755:4: (lv_specification_2_0= rulePatternSpecification ) - // InternalApplicationConfiguration.g:1756:5: lv_specification_2_0= rulePatternSpecification + // InternalApplicationConfiguration.g:1706:4: (lv_specification_2_0= rulePatternSpecification ) + // InternalApplicationConfiguration.g:1707:5: lv_specification_2_0= rulePatternSpecification { newCompositeNode(grammarAccess.getGraphPatternDeclarationAccess().getSpecificationPatternSpecificationParserRuleCall_2_0()); @@ -4905,7 +4767,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleGraphPatternReference" - // InternalApplicationConfiguration.g:1777:1: entryRuleGraphPatternReference returns [EObject current=null] : iv_ruleGraphPatternReference= ruleGraphPatternReference EOF ; + // InternalApplicationConfiguration.g:1728:1: entryRuleGraphPatternReference returns [EObject current=null] : iv_ruleGraphPatternReference= ruleGraphPatternReference EOF ; public final EObject entryRuleGraphPatternReference() throws RecognitionException { EObject current = null; @@ -4913,8 +4775,8 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:1777:62: (iv_ruleGraphPatternReference= ruleGraphPatternReference EOF ) - // InternalApplicationConfiguration.g:1778:2: iv_ruleGraphPatternReference= ruleGraphPatternReference EOF + // InternalApplicationConfiguration.g:1728:62: (iv_ruleGraphPatternReference= ruleGraphPatternReference EOF ) + // InternalApplicationConfiguration.g:1729:2: iv_ruleGraphPatternReference= ruleGraphPatternReference EOF { newCompositeNode(grammarAccess.getGraphPatternReferenceRule()); pushFollow(FOLLOW_1); @@ -4941,7 +4803,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleGraphPatternReference" - // InternalApplicationConfiguration.g:1784:1: ruleGraphPatternReference returns [EObject current=null] : ( (otherlv_0= RULE_ID ) ) ; + // InternalApplicationConfiguration.g:1735:1: ruleGraphPatternReference returns [EObject current=null] : ( (otherlv_0= RULE_ID ) ) ; public final EObject ruleGraphPatternReference() throws RecognitionException { EObject current = null; @@ -4951,14 +4813,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:1790:2: ( ( (otherlv_0= RULE_ID ) ) ) - // InternalApplicationConfiguration.g:1791:2: ( (otherlv_0= RULE_ID ) ) + // InternalApplicationConfiguration.g:1741:2: ( ( (otherlv_0= RULE_ID ) ) ) + // InternalApplicationConfiguration.g:1742:2: ( (otherlv_0= RULE_ID ) ) { - // InternalApplicationConfiguration.g:1791:2: ( (otherlv_0= RULE_ID ) ) - // InternalApplicationConfiguration.g:1792:3: (otherlv_0= RULE_ID ) + // InternalApplicationConfiguration.g:1742:2: ( (otherlv_0= RULE_ID ) ) + // InternalApplicationConfiguration.g:1743:3: (otherlv_0= RULE_ID ) { - // InternalApplicationConfiguration.g:1792:3: (otherlv_0= RULE_ID ) - // InternalApplicationConfiguration.g:1793:4: otherlv_0= RULE_ID + // InternalApplicationConfiguration.g:1743:3: (otherlv_0= RULE_ID ) + // InternalApplicationConfiguration.g:1744:4: otherlv_0= RULE_ID { if (current==null) { @@ -4995,7 +4857,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleGraphPattern" - // InternalApplicationConfiguration.g:1807:1: entryRuleGraphPattern returns [EObject current=null] : iv_ruleGraphPattern= ruleGraphPattern EOF ; + // InternalApplicationConfiguration.g:1758:1: entryRuleGraphPattern returns [EObject current=null] : iv_ruleGraphPattern= ruleGraphPattern EOF ; public final EObject entryRuleGraphPattern() throws RecognitionException { EObject current = null; @@ -5003,8 +4865,8 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:1807:53: (iv_ruleGraphPattern= ruleGraphPattern EOF ) - // InternalApplicationConfiguration.g:1808:2: iv_ruleGraphPattern= ruleGraphPattern EOF + // InternalApplicationConfiguration.g:1758:53: (iv_ruleGraphPattern= ruleGraphPattern EOF ) + // InternalApplicationConfiguration.g:1759:2: iv_ruleGraphPattern= ruleGraphPattern EOF { newCompositeNode(grammarAccess.getGraphPatternRule()); pushFollow(FOLLOW_1); @@ -5031,7 +4893,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleGraphPattern" - // InternalApplicationConfiguration.g:1814:1: ruleGraphPattern returns [EObject current=null] : (this_GraphPatternReference_0= ruleGraphPatternReference | this_PatternSpecification_1= rulePatternSpecification ) ; + // InternalApplicationConfiguration.g:1765:1: ruleGraphPattern returns [EObject current=null] : (this_GraphPatternReference_0= ruleGraphPatternReference | this_PatternSpecification_1= rulePatternSpecification ) ; public final EObject ruleGraphPattern() throws RecognitionException { EObject current = null; @@ -5044,17 +4906,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:1820:2: ( (this_GraphPatternReference_0= ruleGraphPatternReference | this_PatternSpecification_1= rulePatternSpecification ) ) - // InternalApplicationConfiguration.g:1821:2: (this_GraphPatternReference_0= ruleGraphPatternReference | this_PatternSpecification_1= rulePatternSpecification ) + // InternalApplicationConfiguration.g:1771:2: ( (this_GraphPatternReference_0= ruleGraphPatternReference | this_PatternSpecification_1= rulePatternSpecification ) ) + // InternalApplicationConfiguration.g:1772:2: (this_GraphPatternReference_0= ruleGraphPatternReference | this_PatternSpecification_1= rulePatternSpecification ) { - // InternalApplicationConfiguration.g:1821:2: (this_GraphPatternReference_0= ruleGraphPatternReference | this_PatternSpecification_1= rulePatternSpecification ) + // InternalApplicationConfiguration.g:1772:2: (this_GraphPatternReference_0= ruleGraphPatternReference | this_PatternSpecification_1= rulePatternSpecification ) int alt27=2; int LA27_0 = input.LA(1); if ( (LA27_0==RULE_ID) ) { alt27=1; } - else if ( (LA27_0==19) ) { + else if ( (LA27_0==18) ) { alt27=2; } else { @@ -5065,7 +4927,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } switch (alt27) { case 1 : - // InternalApplicationConfiguration.g:1822:3: this_GraphPatternReference_0= ruleGraphPatternReference + // InternalApplicationConfiguration.g:1773:3: this_GraphPatternReference_0= ruleGraphPatternReference { newCompositeNode(grammarAccess.getGraphPatternAccess().getGraphPatternReferenceParserRuleCall_0()); @@ -5083,7 +4945,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } break; case 2 : - // InternalApplicationConfiguration.g:1831:3: this_PatternSpecification_1= rulePatternSpecification + // InternalApplicationConfiguration.g:1782:3: this_PatternSpecification_1= rulePatternSpecification { newCompositeNode(grammarAccess.getGraphPatternAccess().getPatternSpecificationParserRuleCall_1()); @@ -5123,7 +4985,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleObjectiveSpecification" - // InternalApplicationConfiguration.g:1843:1: entryRuleObjectiveSpecification returns [EObject current=null] : iv_ruleObjectiveSpecification= ruleObjectiveSpecification EOF ; + // InternalApplicationConfiguration.g:1794:1: entryRuleObjectiveSpecification returns [EObject current=null] : iv_ruleObjectiveSpecification= ruleObjectiveSpecification EOF ; public final EObject entryRuleObjectiveSpecification() throws RecognitionException { EObject current = null; @@ -5131,8 +4993,8 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:1843:63: (iv_ruleObjectiveSpecification= ruleObjectiveSpecification EOF ) - // InternalApplicationConfiguration.g:1844:2: iv_ruleObjectiveSpecification= ruleObjectiveSpecification EOF + // InternalApplicationConfiguration.g:1794:63: (iv_ruleObjectiveSpecification= ruleObjectiveSpecification EOF ) + // InternalApplicationConfiguration.g:1795:2: iv_ruleObjectiveSpecification= ruleObjectiveSpecification EOF { newCompositeNode(grammarAccess.getObjectiveSpecificationRule()); pushFollow(FOLLOW_1); @@ -5159,7 +5021,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleObjectiveSpecification" - // InternalApplicationConfiguration.g:1850:1: ruleObjectiveSpecification returns [EObject current=null] : (otherlv_0= '{' ( (lv_entries_1_0= ruleObjectiveEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= ruleObjectiveEntry ) ) )* otherlv_4= '}' ) ; + // InternalApplicationConfiguration.g:1801:1: ruleObjectiveSpecification returns [EObject current=null] : (otherlv_0= '{' ( (lv_entries_1_0= ruleObjectiveEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= ruleObjectiveEntry ) ) )* otherlv_4= '}' ) ; public final EObject ruleObjectiveSpecification() throws RecognitionException { EObject current = null; @@ -5175,26 +5037,26 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:1856:2: ( (otherlv_0= '{' ( (lv_entries_1_0= ruleObjectiveEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= ruleObjectiveEntry ) ) )* otherlv_4= '}' ) ) - // InternalApplicationConfiguration.g:1857:2: (otherlv_0= '{' ( (lv_entries_1_0= ruleObjectiveEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= ruleObjectiveEntry ) ) )* otherlv_4= '}' ) + // InternalApplicationConfiguration.g:1807:2: ( (otherlv_0= '{' ( (lv_entries_1_0= ruleObjectiveEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= ruleObjectiveEntry ) ) )* otherlv_4= '}' ) ) + // InternalApplicationConfiguration.g:1808:2: (otherlv_0= '{' ( (lv_entries_1_0= ruleObjectiveEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= ruleObjectiveEntry ) ) )* otherlv_4= '}' ) { - // InternalApplicationConfiguration.g:1857:2: (otherlv_0= '{' ( (lv_entries_1_0= ruleObjectiveEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= ruleObjectiveEntry ) ) )* otherlv_4= '}' ) - // InternalApplicationConfiguration.g:1858:3: otherlv_0= '{' ( (lv_entries_1_0= ruleObjectiveEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= ruleObjectiveEntry ) ) )* otherlv_4= '}' + // InternalApplicationConfiguration.g:1808:2: (otherlv_0= '{' ( (lv_entries_1_0= ruleObjectiveEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= ruleObjectiveEntry ) ) )* otherlv_4= '}' ) + // InternalApplicationConfiguration.g:1809:3: otherlv_0= '{' ( (lv_entries_1_0= ruleObjectiveEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= ruleObjectiveEntry ) ) )* otherlv_4= '}' { - otherlv_0=(Token)match(input,19,FOLLOW_22); + otherlv_0=(Token)match(input,18,FOLLOW_21); newLeafNode(otherlv_0, grammarAccess.getObjectiveSpecificationAccess().getLeftCurlyBracketKeyword_0()); - // InternalApplicationConfiguration.g:1862:3: ( (lv_entries_1_0= ruleObjectiveEntry ) ) - // InternalApplicationConfiguration.g:1863:4: (lv_entries_1_0= ruleObjectiveEntry ) + // InternalApplicationConfiguration.g:1813:3: ( (lv_entries_1_0= ruleObjectiveEntry ) ) + // InternalApplicationConfiguration.g:1814:4: (lv_entries_1_0= ruleObjectiveEntry ) { - // InternalApplicationConfiguration.g:1863:4: (lv_entries_1_0= ruleObjectiveEntry ) - // InternalApplicationConfiguration.g:1864:5: lv_entries_1_0= ruleObjectiveEntry + // InternalApplicationConfiguration.g:1814:4: (lv_entries_1_0= ruleObjectiveEntry ) + // InternalApplicationConfiguration.g:1815:5: lv_entries_1_0= ruleObjectiveEntry { newCompositeNode(grammarAccess.getObjectiveSpecificationAccess().getEntriesObjectiveEntryParserRuleCall_1_0()); - pushFollow(FOLLOW_15); + pushFollow(FOLLOW_14); lv_entries_1_0=ruleObjectiveEntry(); state._fsp--; @@ -5216,35 +5078,35 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - // InternalApplicationConfiguration.g:1881:3: (otherlv_2= ',' ( (lv_entries_3_0= ruleObjectiveEntry ) ) )* + // InternalApplicationConfiguration.g:1832:3: (otherlv_2= ',' ( (lv_entries_3_0= ruleObjectiveEntry ) ) )* loop28: do { int alt28=2; int LA28_0 = input.LA(1); - if ( (LA28_0==20) ) { + if ( (LA28_0==19) ) { alt28=1; } switch (alt28) { case 1 : - // InternalApplicationConfiguration.g:1882:4: otherlv_2= ',' ( (lv_entries_3_0= ruleObjectiveEntry ) ) + // InternalApplicationConfiguration.g:1833:4: otherlv_2= ',' ( (lv_entries_3_0= ruleObjectiveEntry ) ) { - otherlv_2=(Token)match(input,20,FOLLOW_22); + otherlv_2=(Token)match(input,19,FOLLOW_21); newLeafNode(otherlv_2, grammarAccess.getObjectiveSpecificationAccess().getCommaKeyword_2_0()); - // InternalApplicationConfiguration.g:1886:4: ( (lv_entries_3_0= ruleObjectiveEntry ) ) - // InternalApplicationConfiguration.g:1887:5: (lv_entries_3_0= ruleObjectiveEntry ) + // InternalApplicationConfiguration.g:1837:4: ( (lv_entries_3_0= ruleObjectiveEntry ) ) + // InternalApplicationConfiguration.g:1838:5: (lv_entries_3_0= ruleObjectiveEntry ) { - // InternalApplicationConfiguration.g:1887:5: (lv_entries_3_0= ruleObjectiveEntry ) - // InternalApplicationConfiguration.g:1888:6: lv_entries_3_0= ruleObjectiveEntry + // InternalApplicationConfiguration.g:1838:5: (lv_entries_3_0= ruleObjectiveEntry ) + // InternalApplicationConfiguration.g:1839:6: lv_entries_3_0= ruleObjectiveEntry { newCompositeNode(grammarAccess.getObjectiveSpecificationAccess().getEntriesObjectiveEntryParserRuleCall_2_1_0()); - pushFollow(FOLLOW_15); + pushFollow(FOLLOW_14); lv_entries_3_0=ruleObjectiveEntry(); state._fsp--; @@ -5275,7 +5137,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } } while (true); - otherlv_4=(Token)match(input,21,FOLLOW_2); + otherlv_4=(Token)match(input,20,FOLLOW_2); newLeafNode(otherlv_4, grammarAccess.getObjectiveSpecificationAccess().getRightCurlyBracketKeyword_3()); @@ -5302,7 +5164,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleObjectiveEntry" - // InternalApplicationConfiguration.g:1914:1: entryRuleObjectiveEntry returns [EObject current=null] : iv_ruleObjectiveEntry= ruleObjectiveEntry EOF ; + // InternalApplicationConfiguration.g:1865:1: entryRuleObjectiveEntry returns [EObject current=null] : iv_ruleObjectiveEntry= ruleObjectiveEntry EOF ; public final EObject entryRuleObjectiveEntry() throws RecognitionException { EObject current = null; @@ -5310,8 +5172,8 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:1914:55: (iv_ruleObjectiveEntry= ruleObjectiveEntry EOF ) - // InternalApplicationConfiguration.g:1915:2: iv_ruleObjectiveEntry= ruleObjectiveEntry EOF + // InternalApplicationConfiguration.g:1865:55: (iv_ruleObjectiveEntry= ruleObjectiveEntry EOF ) + // InternalApplicationConfiguration.g:1866:2: iv_ruleObjectiveEntry= ruleObjectiveEntry EOF { newCompositeNode(grammarAccess.getObjectiveEntryRule()); pushFollow(FOLLOW_1); @@ -5338,7 +5200,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleObjectiveEntry" - // InternalApplicationConfiguration.g:1921:1: ruleObjectiveEntry returns [EObject current=null] : (this_OptimizationEntry_0= ruleOptimizationEntry | this_ThresholdEntry_1= ruleThresholdEntry ) ; + // InternalApplicationConfiguration.g:1872:1: ruleObjectiveEntry returns [EObject current=null] : (this_OptimizationEntry_0= ruleOptimizationEntry | this_ThresholdEntry_1= ruleThresholdEntry ) ; public final EObject ruleObjectiveEntry() throws RecognitionException { EObject current = null; @@ -5351,17 +5213,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:1927:2: ( (this_OptimizationEntry_0= ruleOptimizationEntry | this_ThresholdEntry_1= ruleThresholdEntry ) ) - // InternalApplicationConfiguration.g:1928:2: (this_OptimizationEntry_0= ruleOptimizationEntry | this_ThresholdEntry_1= ruleThresholdEntry ) + // InternalApplicationConfiguration.g:1878:2: ( (this_OptimizationEntry_0= ruleOptimizationEntry | this_ThresholdEntry_1= ruleThresholdEntry ) ) + // InternalApplicationConfiguration.g:1879:2: (this_OptimizationEntry_0= ruleOptimizationEntry | this_ThresholdEntry_1= ruleThresholdEntry ) { - // InternalApplicationConfiguration.g:1928:2: (this_OptimizationEntry_0= ruleOptimizationEntry | this_ThresholdEntry_1= ruleThresholdEntry ) + // InternalApplicationConfiguration.g:1879:2: (this_OptimizationEntry_0= ruleOptimizationEntry | this_ThresholdEntry_1= ruleThresholdEntry ) int alt29=2; int LA29_0 = input.LA(1); - if ( ((LA29_0>=57 && LA29_0<=58)) ) { + if ( ((LA29_0>=54 && LA29_0<=55)) ) { alt29=1; } - else if ( (LA29_0==16||LA29_0==29||LA29_0==31) ) { + else if ( (LA29_0==28) ) { alt29=2; } else { @@ -5372,7 +5234,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } switch (alt29) { case 1 : - // InternalApplicationConfiguration.g:1929:3: this_OptimizationEntry_0= ruleOptimizationEntry + // InternalApplicationConfiguration.g:1880:3: this_OptimizationEntry_0= ruleOptimizationEntry { newCompositeNode(grammarAccess.getObjectiveEntryAccess().getOptimizationEntryParserRuleCall_0()); @@ -5390,7 +5252,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } break; case 2 : - // InternalApplicationConfiguration.g:1938:3: this_ThresholdEntry_1= ruleThresholdEntry + // InternalApplicationConfiguration.g:1889:3: this_ThresholdEntry_1= ruleThresholdEntry { newCompositeNode(grammarAccess.getObjectiveEntryAccess().getThresholdEntryParserRuleCall_1()); @@ -5430,7 +5292,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleOptimizationEntry" - // InternalApplicationConfiguration.g:1950:1: entryRuleOptimizationEntry returns [EObject current=null] : iv_ruleOptimizationEntry= ruleOptimizationEntry EOF ; + // InternalApplicationConfiguration.g:1901:1: entryRuleOptimizationEntry returns [EObject current=null] : iv_ruleOptimizationEntry= ruleOptimizationEntry EOF ; public final EObject entryRuleOptimizationEntry() throws RecognitionException { EObject current = null; @@ -5438,8 +5300,8 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:1950:58: (iv_ruleOptimizationEntry= ruleOptimizationEntry EOF ) - // InternalApplicationConfiguration.g:1951:2: iv_ruleOptimizationEntry= ruleOptimizationEntry EOF + // InternalApplicationConfiguration.g:1901:58: (iv_ruleOptimizationEntry= ruleOptimizationEntry EOF ) + // InternalApplicationConfiguration.g:1902:2: iv_ruleOptimizationEntry= ruleOptimizationEntry EOF { newCompositeNode(grammarAccess.getOptimizationEntryRule()); pushFollow(FOLLOW_1); @@ -5466,7 +5328,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleOptimizationEntry" - // InternalApplicationConfiguration.g:1957:1: ruleOptimizationEntry returns [EObject current=null] : ( ( (lv_direction_0_0= ruleOptimizationDirection ) ) ( (lv_function_1_0= ruleObjectiveFunction ) ) ) ; + // InternalApplicationConfiguration.g:1908:1: ruleOptimizationEntry returns [EObject current=null] : ( ( (lv_direction_0_0= ruleOptimizationDirection ) ) ( (lv_function_1_0= ruleObjectiveFunction ) ) ) ; public final EObject ruleOptimizationEntry() throws RecognitionException { EObject current = null; @@ -5479,22 +5341,22 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:1963:2: ( ( ( (lv_direction_0_0= ruleOptimizationDirection ) ) ( (lv_function_1_0= ruleObjectiveFunction ) ) ) ) - // InternalApplicationConfiguration.g:1964:2: ( ( (lv_direction_0_0= ruleOptimizationDirection ) ) ( (lv_function_1_0= ruleObjectiveFunction ) ) ) + // InternalApplicationConfiguration.g:1914:2: ( ( ( (lv_direction_0_0= ruleOptimizationDirection ) ) ( (lv_function_1_0= ruleObjectiveFunction ) ) ) ) + // InternalApplicationConfiguration.g:1915:2: ( ( (lv_direction_0_0= ruleOptimizationDirection ) ) ( (lv_function_1_0= ruleObjectiveFunction ) ) ) { - // InternalApplicationConfiguration.g:1964:2: ( ( (lv_direction_0_0= ruleOptimizationDirection ) ) ( (lv_function_1_0= ruleObjectiveFunction ) ) ) - // InternalApplicationConfiguration.g:1965:3: ( (lv_direction_0_0= ruleOptimizationDirection ) ) ( (lv_function_1_0= ruleObjectiveFunction ) ) + // InternalApplicationConfiguration.g:1915:2: ( ( (lv_direction_0_0= ruleOptimizationDirection ) ) ( (lv_function_1_0= ruleObjectiveFunction ) ) ) + // InternalApplicationConfiguration.g:1916:3: ( (lv_direction_0_0= ruleOptimizationDirection ) ) ( (lv_function_1_0= ruleObjectiveFunction ) ) { - // InternalApplicationConfiguration.g:1965:3: ( (lv_direction_0_0= ruleOptimizationDirection ) ) - // InternalApplicationConfiguration.g:1966:4: (lv_direction_0_0= ruleOptimizationDirection ) + // InternalApplicationConfiguration.g:1916:3: ( (lv_direction_0_0= ruleOptimizationDirection ) ) + // InternalApplicationConfiguration.g:1917:4: (lv_direction_0_0= ruleOptimizationDirection ) { - // InternalApplicationConfiguration.g:1966:4: (lv_direction_0_0= ruleOptimizationDirection ) - // InternalApplicationConfiguration.g:1967:5: lv_direction_0_0= ruleOptimizationDirection + // InternalApplicationConfiguration.g:1917:4: (lv_direction_0_0= ruleOptimizationDirection ) + // InternalApplicationConfiguration.g:1918:5: lv_direction_0_0= ruleOptimizationDirection { newCompositeNode(grammarAccess.getOptimizationEntryAccess().getDirectionOptimizationDirectionEnumRuleCall_0_0()); - pushFollow(FOLLOW_22); + pushFollow(FOLLOW_21); lv_direction_0_0=ruleOptimizationDirection(); state._fsp--; @@ -5516,11 +5378,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - // InternalApplicationConfiguration.g:1984:3: ( (lv_function_1_0= ruleObjectiveFunction ) ) - // InternalApplicationConfiguration.g:1985:4: (lv_function_1_0= ruleObjectiveFunction ) + // InternalApplicationConfiguration.g:1935:3: ( (lv_function_1_0= ruleObjectiveFunction ) ) + // InternalApplicationConfiguration.g:1936:4: (lv_function_1_0= ruleObjectiveFunction ) { - // InternalApplicationConfiguration.g:1985:4: (lv_function_1_0= ruleObjectiveFunction ) - // InternalApplicationConfiguration.g:1986:5: lv_function_1_0= ruleObjectiveFunction + // InternalApplicationConfiguration.g:1936:4: (lv_function_1_0= ruleObjectiveFunction ) + // InternalApplicationConfiguration.g:1937:5: lv_function_1_0= ruleObjectiveFunction { newCompositeNode(grammarAccess.getOptimizationEntryAccess().getFunctionObjectiveFunctionParserRuleCall_1_0()); @@ -5570,7 +5432,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleThresholdEntry" - // InternalApplicationConfiguration.g:2007:1: entryRuleThresholdEntry returns [EObject current=null] : iv_ruleThresholdEntry= ruleThresholdEntry EOF ; + // InternalApplicationConfiguration.g:1958:1: entryRuleThresholdEntry returns [EObject current=null] : iv_ruleThresholdEntry= ruleThresholdEntry EOF ; public final EObject entryRuleThresholdEntry() throws RecognitionException { EObject current = null; @@ -5578,8 +5440,8 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:2007:55: (iv_ruleThresholdEntry= ruleThresholdEntry EOF ) - // InternalApplicationConfiguration.g:2008:2: iv_ruleThresholdEntry= ruleThresholdEntry EOF + // InternalApplicationConfiguration.g:1958:55: (iv_ruleThresholdEntry= ruleThresholdEntry EOF ) + // InternalApplicationConfiguration.g:1959:2: iv_ruleThresholdEntry= ruleThresholdEntry EOF { newCompositeNode(grammarAccess.getThresholdEntryRule()); pushFollow(FOLLOW_1); @@ -5606,7 +5468,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleThresholdEntry" - // InternalApplicationConfiguration.g:2014:1: ruleThresholdEntry returns [EObject current=null] : ( ( (lv_function_0_0= ruleObjectiveFunction ) ) ( (lv_operator_1_0= ruleComparisonOperator ) ) ( (lv_threshold_2_0= ruleREALLiteral ) ) ) ; + // InternalApplicationConfiguration.g:1965:1: ruleThresholdEntry returns [EObject current=null] : ( ( (lv_function_0_0= ruleObjectiveFunction ) ) ( (lv_operator_1_0= ruleComparisonOperator ) ) ( (lv_threshold_2_0= ruleREALLiteral ) ) ) ; public final EObject ruleThresholdEntry() throws RecognitionException { EObject current = null; @@ -5621,22 +5483,22 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:2020:2: ( ( ( (lv_function_0_0= ruleObjectiveFunction ) ) ( (lv_operator_1_0= ruleComparisonOperator ) ) ( (lv_threshold_2_0= ruleREALLiteral ) ) ) ) - // InternalApplicationConfiguration.g:2021:2: ( ( (lv_function_0_0= ruleObjectiveFunction ) ) ( (lv_operator_1_0= ruleComparisonOperator ) ) ( (lv_threshold_2_0= ruleREALLiteral ) ) ) + // InternalApplicationConfiguration.g:1971:2: ( ( ( (lv_function_0_0= ruleObjectiveFunction ) ) ( (lv_operator_1_0= ruleComparisonOperator ) ) ( (lv_threshold_2_0= ruleREALLiteral ) ) ) ) + // InternalApplicationConfiguration.g:1972:2: ( ( (lv_function_0_0= ruleObjectiveFunction ) ) ( (lv_operator_1_0= ruleComparisonOperator ) ) ( (lv_threshold_2_0= ruleREALLiteral ) ) ) { - // InternalApplicationConfiguration.g:2021:2: ( ( (lv_function_0_0= ruleObjectiveFunction ) ) ( (lv_operator_1_0= ruleComparisonOperator ) ) ( (lv_threshold_2_0= ruleREALLiteral ) ) ) - // InternalApplicationConfiguration.g:2022:3: ( (lv_function_0_0= ruleObjectiveFunction ) ) ( (lv_operator_1_0= ruleComparisonOperator ) ) ( (lv_threshold_2_0= ruleREALLiteral ) ) + // InternalApplicationConfiguration.g:1972:2: ( ( (lv_function_0_0= ruleObjectiveFunction ) ) ( (lv_operator_1_0= ruleComparisonOperator ) ) ( (lv_threshold_2_0= ruleREALLiteral ) ) ) + // InternalApplicationConfiguration.g:1973:3: ( (lv_function_0_0= ruleObjectiveFunction ) ) ( (lv_operator_1_0= ruleComparisonOperator ) ) ( (lv_threshold_2_0= ruleREALLiteral ) ) { - // InternalApplicationConfiguration.g:2022:3: ( (lv_function_0_0= ruleObjectiveFunction ) ) - // InternalApplicationConfiguration.g:2023:4: (lv_function_0_0= ruleObjectiveFunction ) + // InternalApplicationConfiguration.g:1973:3: ( (lv_function_0_0= ruleObjectiveFunction ) ) + // InternalApplicationConfiguration.g:1974:4: (lv_function_0_0= ruleObjectiveFunction ) { - // InternalApplicationConfiguration.g:2023:4: (lv_function_0_0= ruleObjectiveFunction ) - // InternalApplicationConfiguration.g:2024:5: lv_function_0_0= ruleObjectiveFunction + // InternalApplicationConfiguration.g:1974:4: (lv_function_0_0= ruleObjectiveFunction ) + // InternalApplicationConfiguration.g:1975:5: lv_function_0_0= ruleObjectiveFunction { newCompositeNode(grammarAccess.getThresholdEntryAccess().getFunctionObjectiveFunctionParserRuleCall_0_0()); - pushFollow(FOLLOW_23); + pushFollow(FOLLOW_22); lv_function_0_0=ruleObjectiveFunction(); state._fsp--; @@ -5658,16 +5520,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - // InternalApplicationConfiguration.g:2041:3: ( (lv_operator_1_0= ruleComparisonOperator ) ) - // InternalApplicationConfiguration.g:2042:4: (lv_operator_1_0= ruleComparisonOperator ) + // InternalApplicationConfiguration.g:1992:3: ( (lv_operator_1_0= ruleComparisonOperator ) ) + // InternalApplicationConfiguration.g:1993:4: (lv_operator_1_0= ruleComparisonOperator ) { - // InternalApplicationConfiguration.g:2042:4: (lv_operator_1_0= ruleComparisonOperator ) - // InternalApplicationConfiguration.g:2043:5: lv_operator_1_0= ruleComparisonOperator + // InternalApplicationConfiguration.g:1993:4: (lv_operator_1_0= ruleComparisonOperator ) + // InternalApplicationConfiguration.g:1994:5: lv_operator_1_0= ruleComparisonOperator { newCompositeNode(grammarAccess.getThresholdEntryAccess().getOperatorComparisonOperatorEnumRuleCall_1_0()); - pushFollow(FOLLOW_24); + pushFollow(FOLLOW_23); lv_operator_1_0=ruleComparisonOperator(); state._fsp--; @@ -5689,11 +5551,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - // InternalApplicationConfiguration.g:2060:3: ( (lv_threshold_2_0= ruleREALLiteral ) ) - // InternalApplicationConfiguration.g:2061:4: (lv_threshold_2_0= ruleREALLiteral ) + // InternalApplicationConfiguration.g:2011:3: ( (lv_threshold_2_0= ruleREALLiteral ) ) + // InternalApplicationConfiguration.g:2012:4: (lv_threshold_2_0= ruleREALLiteral ) { - // InternalApplicationConfiguration.g:2061:4: (lv_threshold_2_0= ruleREALLiteral ) - // InternalApplicationConfiguration.g:2062:5: lv_threshold_2_0= ruleREALLiteral + // InternalApplicationConfiguration.g:2012:4: (lv_threshold_2_0= ruleREALLiteral ) + // InternalApplicationConfiguration.g:2013:5: lv_threshold_2_0= ruleREALLiteral { newCompositeNode(grammarAccess.getThresholdEntryAccess().getThresholdREALLiteralParserRuleCall_2_0()); @@ -5743,7 +5605,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleObjectiveFunction" - // InternalApplicationConfiguration.g:2083:1: entryRuleObjectiveFunction returns [EObject current=null] : iv_ruleObjectiveFunction= ruleObjectiveFunction EOF ; + // InternalApplicationConfiguration.g:2034:1: entryRuleObjectiveFunction returns [EObject current=null] : iv_ruleObjectiveFunction= ruleObjectiveFunction EOF ; public final EObject entryRuleObjectiveFunction() throws RecognitionException { EObject current = null; @@ -5751,8 +5613,8 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:2083:58: (iv_ruleObjectiveFunction= ruleObjectiveFunction EOF ) - // InternalApplicationConfiguration.g:2084:2: iv_ruleObjectiveFunction= ruleObjectiveFunction EOF + // InternalApplicationConfiguration.g:2034:58: (iv_ruleObjectiveFunction= ruleObjectiveFunction EOF ) + // InternalApplicationConfiguration.g:2035:2: iv_ruleObjectiveFunction= ruleObjectiveFunction EOF { newCompositeNode(grammarAccess.getObjectiveFunctionRule()); pushFollow(FOLLOW_1); @@ -5779,78 +5641,32 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleObjectiveFunction" - // InternalApplicationConfiguration.g:2090:1: ruleObjectiveFunction returns [EObject current=null] : (this_CostObjectiveFunction_0= ruleCostObjectiveFunction | this_ReliabilityObjectiveFunction_1= ruleReliabilityObjectiveFunction ) ; + // InternalApplicationConfiguration.g:2041:1: ruleObjectiveFunction returns [EObject current=null] : this_CostObjectiveFunction_0= ruleCostObjectiveFunction ; public final EObject ruleObjectiveFunction() throws RecognitionException { EObject current = null; EObject this_CostObjectiveFunction_0 = null; - EObject this_ReliabilityObjectiveFunction_1 = null; - enterRule(); try { - // InternalApplicationConfiguration.g:2096:2: ( (this_CostObjectiveFunction_0= ruleCostObjectiveFunction | this_ReliabilityObjectiveFunction_1= ruleReliabilityObjectiveFunction ) ) - // InternalApplicationConfiguration.g:2097:2: (this_CostObjectiveFunction_0= ruleCostObjectiveFunction | this_ReliabilityObjectiveFunction_1= ruleReliabilityObjectiveFunction ) + // InternalApplicationConfiguration.g:2047:2: (this_CostObjectiveFunction_0= ruleCostObjectiveFunction ) + // InternalApplicationConfiguration.g:2048:2: this_CostObjectiveFunction_0= ruleCostObjectiveFunction { - // InternalApplicationConfiguration.g:2097:2: (this_CostObjectiveFunction_0= ruleCostObjectiveFunction | this_ReliabilityObjectiveFunction_1= ruleReliabilityObjectiveFunction ) - int alt30=2; - int LA30_0 = input.LA(1); - if ( (LA30_0==29) ) { - alt30=1; - } - else if ( (LA30_0==16||LA30_0==31) ) { - alt30=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 30, 0, input); - - throw nvae; - } - switch (alt30) { - case 1 : - // InternalApplicationConfiguration.g:2098:3: this_CostObjectiveFunction_0= ruleCostObjectiveFunction - { - - newCompositeNode(grammarAccess.getObjectiveFunctionAccess().getCostObjectiveFunctionParserRuleCall_0()); - - pushFollow(FOLLOW_2); - this_CostObjectiveFunction_0=ruleCostObjectiveFunction(); - - state._fsp--; - - - current = this_CostObjectiveFunction_0; - afterParserOrEnumRuleCall(); - - - } - break; - case 2 : - // InternalApplicationConfiguration.g:2107:3: this_ReliabilityObjectiveFunction_1= ruleReliabilityObjectiveFunction - { - - newCompositeNode(grammarAccess.getObjectiveFunctionAccess().getReliabilityObjectiveFunctionParserRuleCall_1()); - - pushFollow(FOLLOW_2); - this_ReliabilityObjectiveFunction_1=ruleReliabilityObjectiveFunction(); - - state._fsp--; - - - current = this_ReliabilityObjectiveFunction_1; - afterParserOrEnumRuleCall(); - + newCompositeNode(grammarAccess.getObjectiveFunctionAccess().getCostObjectiveFunctionParserRuleCall()); + + pushFollow(FOLLOW_2); + this_CostObjectiveFunction_0=ruleCostObjectiveFunction(); - } - break; + state._fsp--; - } + current = this_CostObjectiveFunction_0; + afterParserOrEnumRuleCall(); + } @@ -5871,7 +5687,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleCostObjectiveFunction" - // InternalApplicationConfiguration.g:2119:1: entryRuleCostObjectiveFunction returns [EObject current=null] : iv_ruleCostObjectiveFunction= ruleCostObjectiveFunction EOF ; + // InternalApplicationConfiguration.g:2059:1: entryRuleCostObjectiveFunction returns [EObject current=null] : iv_ruleCostObjectiveFunction= ruleCostObjectiveFunction EOF ; public final EObject entryRuleCostObjectiveFunction() throws RecognitionException { EObject current = null; @@ -5879,8 +5695,8 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:2119:62: (iv_ruleCostObjectiveFunction= ruleCostObjectiveFunction EOF ) - // InternalApplicationConfiguration.g:2120:2: iv_ruleCostObjectiveFunction= ruleCostObjectiveFunction EOF + // InternalApplicationConfiguration.g:2059:62: (iv_ruleCostObjectiveFunction= ruleCostObjectiveFunction EOF ) + // InternalApplicationConfiguration.g:2060:2: iv_ruleCostObjectiveFunction= ruleCostObjectiveFunction EOF { newCompositeNode(grammarAccess.getCostObjectiveFunctionRule()); pushFollow(FOLLOW_1); @@ -5907,7 +5723,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleCostObjectiveFunction" - // InternalApplicationConfiguration.g:2126:1: ruleCostObjectiveFunction returns [EObject current=null] : (otherlv_0= 'cost' otherlv_1= '{' ( (lv_entries_2_0= ruleCostEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleCostEntry ) ) )* otherlv_5= '}' ) ; + // InternalApplicationConfiguration.g:2066:1: ruleCostObjectiveFunction returns [EObject current=null] : (otherlv_0= 'cost' otherlv_1= '{' ( (lv_entries_2_0= ruleCostEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleCostEntry ) ) )* otherlv_5= '}' ) ; public final EObject ruleCostObjectiveFunction() throws RecognitionException { EObject current = null; @@ -5924,30 +5740,30 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:2132:2: ( (otherlv_0= 'cost' otherlv_1= '{' ( (lv_entries_2_0= ruleCostEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleCostEntry ) ) )* otherlv_5= '}' ) ) - // InternalApplicationConfiguration.g:2133:2: (otherlv_0= 'cost' otherlv_1= '{' ( (lv_entries_2_0= ruleCostEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleCostEntry ) ) )* otherlv_5= '}' ) + // InternalApplicationConfiguration.g:2072:2: ( (otherlv_0= 'cost' otherlv_1= '{' ( (lv_entries_2_0= ruleCostEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleCostEntry ) ) )* otherlv_5= '}' ) ) + // InternalApplicationConfiguration.g:2073:2: (otherlv_0= 'cost' otherlv_1= '{' ( (lv_entries_2_0= ruleCostEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleCostEntry ) ) )* otherlv_5= '}' ) { - // InternalApplicationConfiguration.g:2133:2: (otherlv_0= 'cost' otherlv_1= '{' ( (lv_entries_2_0= ruleCostEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleCostEntry ) ) )* otherlv_5= '}' ) - // InternalApplicationConfiguration.g:2134:3: otherlv_0= 'cost' otherlv_1= '{' ( (lv_entries_2_0= ruleCostEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleCostEntry ) ) )* otherlv_5= '}' + // InternalApplicationConfiguration.g:2073:2: (otherlv_0= 'cost' otherlv_1= '{' ( (lv_entries_2_0= ruleCostEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleCostEntry ) ) )* otherlv_5= '}' ) + // InternalApplicationConfiguration.g:2074:3: otherlv_0= 'cost' otherlv_1= '{' ( (lv_entries_2_0= ruleCostEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleCostEntry ) ) )* otherlv_5= '}' { - otherlv_0=(Token)match(input,29,FOLLOW_17); + otherlv_0=(Token)match(input,28,FOLLOW_16); newLeafNode(otherlv_0, grammarAccess.getCostObjectiveFunctionAccess().getCostKeyword_0()); - otherlv_1=(Token)match(input,19,FOLLOW_6); + otherlv_1=(Token)match(input,18,FOLLOW_6); newLeafNode(otherlv_1, grammarAccess.getCostObjectiveFunctionAccess().getLeftCurlyBracketKeyword_1()); - // InternalApplicationConfiguration.g:2142:3: ( (lv_entries_2_0= ruleCostEntry ) ) - // InternalApplicationConfiguration.g:2143:4: (lv_entries_2_0= ruleCostEntry ) + // InternalApplicationConfiguration.g:2082:3: ( (lv_entries_2_0= ruleCostEntry ) ) + // InternalApplicationConfiguration.g:2083:4: (lv_entries_2_0= ruleCostEntry ) { - // InternalApplicationConfiguration.g:2143:4: (lv_entries_2_0= ruleCostEntry ) - // InternalApplicationConfiguration.g:2144:5: lv_entries_2_0= ruleCostEntry + // InternalApplicationConfiguration.g:2083:4: (lv_entries_2_0= ruleCostEntry ) + // InternalApplicationConfiguration.g:2084:5: lv_entries_2_0= ruleCostEntry { newCompositeNode(grammarAccess.getCostObjectiveFunctionAccess().getEntriesCostEntryParserRuleCall_2_0()); - pushFollow(FOLLOW_15); + pushFollow(FOLLOW_14); lv_entries_2_0=ruleCostEntry(); state._fsp--; @@ -5969,35 +5785,35 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - // InternalApplicationConfiguration.g:2161:3: (otherlv_3= ',' ( (lv_entries_4_0= ruleCostEntry ) ) )* - loop31: + // InternalApplicationConfiguration.g:2101:3: (otherlv_3= ',' ( (lv_entries_4_0= ruleCostEntry ) ) )* + loop30: do { - int alt31=2; - int LA31_0 = input.LA(1); + int alt30=2; + int LA30_0 = input.LA(1); - if ( (LA31_0==20) ) { - alt31=1; + if ( (LA30_0==19) ) { + alt30=1; } - switch (alt31) { + switch (alt30) { case 1 : - // InternalApplicationConfiguration.g:2162:4: otherlv_3= ',' ( (lv_entries_4_0= ruleCostEntry ) ) + // InternalApplicationConfiguration.g:2102:4: otherlv_3= ',' ( (lv_entries_4_0= ruleCostEntry ) ) { - otherlv_3=(Token)match(input,20,FOLLOW_6); + otherlv_3=(Token)match(input,19,FOLLOW_6); newLeafNode(otherlv_3, grammarAccess.getCostObjectiveFunctionAccess().getCommaKeyword_3_0()); - // InternalApplicationConfiguration.g:2166:4: ( (lv_entries_4_0= ruleCostEntry ) ) - // InternalApplicationConfiguration.g:2167:5: (lv_entries_4_0= ruleCostEntry ) + // InternalApplicationConfiguration.g:2106:4: ( (lv_entries_4_0= ruleCostEntry ) ) + // InternalApplicationConfiguration.g:2107:5: (lv_entries_4_0= ruleCostEntry ) { - // InternalApplicationConfiguration.g:2167:5: (lv_entries_4_0= ruleCostEntry ) - // InternalApplicationConfiguration.g:2168:6: lv_entries_4_0= ruleCostEntry + // InternalApplicationConfiguration.g:2107:5: (lv_entries_4_0= ruleCostEntry ) + // InternalApplicationConfiguration.g:2108:6: lv_entries_4_0= ruleCostEntry { newCompositeNode(grammarAccess.getCostObjectiveFunctionAccess().getEntriesCostEntryParserRuleCall_3_1_0()); - pushFollow(FOLLOW_15); + pushFollow(FOLLOW_14); lv_entries_4_0=ruleCostEntry(); state._fsp--; @@ -6024,11 +5840,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl break; default : - break loop31; + break loop30; } } while (true); - otherlv_5=(Token)match(input,21,FOLLOW_2); + otherlv_5=(Token)match(input,20,FOLLOW_2); newLeafNode(otherlv_5, grammarAccess.getCostObjectiveFunctionAccess().getRightCurlyBracketKeyword_4()); @@ -6055,7 +5871,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleCostEntry" - // InternalApplicationConfiguration.g:2194:1: entryRuleCostEntry returns [EObject current=null] : iv_ruleCostEntry= ruleCostEntry EOF ; + // InternalApplicationConfiguration.g:2134:1: entryRuleCostEntry returns [EObject current=null] : iv_ruleCostEntry= ruleCostEntry EOF ; public final EObject entryRuleCostEntry() throws RecognitionException { EObject current = null; @@ -6063,8 +5879,8 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:2194:50: (iv_ruleCostEntry= ruleCostEntry EOF ) - // InternalApplicationConfiguration.g:2195:2: iv_ruleCostEntry= ruleCostEntry EOF + // InternalApplicationConfiguration.g:2134:50: (iv_ruleCostEntry= ruleCostEntry EOF ) + // InternalApplicationConfiguration.g:2135:2: iv_ruleCostEntry= ruleCostEntry EOF { newCompositeNode(grammarAccess.getCostEntryRule()); pushFollow(FOLLOW_1); @@ -6091,7 +5907,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleCostEntry" - // InternalApplicationConfiguration.g:2201:1: ruleCostEntry returns [EObject current=null] : ( ( (lv_patternElement_0_0= rulePatternElement ) ) otherlv_1= '=' ( (lv_weight_2_0= ruleINTLiteral ) ) ) ; + // InternalApplicationConfiguration.g:2141:1: ruleCostEntry returns [EObject current=null] : ( ( (lv_patternElement_0_0= rulePatternElement ) ) otherlv_1= '=' ( (lv_weight_2_0= ruleINTLiteral ) ) ) ; public final EObject ruleCostEntry() throws RecognitionException { EObject current = null; @@ -6105,22 +5921,22 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:2207:2: ( ( ( (lv_patternElement_0_0= rulePatternElement ) ) otherlv_1= '=' ( (lv_weight_2_0= ruleINTLiteral ) ) ) ) - // InternalApplicationConfiguration.g:2208:2: ( ( (lv_patternElement_0_0= rulePatternElement ) ) otherlv_1= '=' ( (lv_weight_2_0= ruleINTLiteral ) ) ) + // InternalApplicationConfiguration.g:2147:2: ( ( ( (lv_patternElement_0_0= rulePatternElement ) ) otherlv_1= '=' ( (lv_weight_2_0= ruleINTLiteral ) ) ) ) + // InternalApplicationConfiguration.g:2148:2: ( ( (lv_patternElement_0_0= rulePatternElement ) ) otherlv_1= '=' ( (lv_weight_2_0= ruleINTLiteral ) ) ) { - // InternalApplicationConfiguration.g:2208:2: ( ( (lv_patternElement_0_0= rulePatternElement ) ) otherlv_1= '=' ( (lv_weight_2_0= ruleINTLiteral ) ) ) - // InternalApplicationConfiguration.g:2209:3: ( (lv_patternElement_0_0= rulePatternElement ) ) otherlv_1= '=' ( (lv_weight_2_0= ruleINTLiteral ) ) + // InternalApplicationConfiguration.g:2148:2: ( ( (lv_patternElement_0_0= rulePatternElement ) ) otherlv_1= '=' ( (lv_weight_2_0= ruleINTLiteral ) ) ) + // InternalApplicationConfiguration.g:2149:3: ( (lv_patternElement_0_0= rulePatternElement ) ) otherlv_1= '=' ( (lv_weight_2_0= ruleINTLiteral ) ) { - // InternalApplicationConfiguration.g:2209:3: ( (lv_patternElement_0_0= rulePatternElement ) ) - // InternalApplicationConfiguration.g:2210:4: (lv_patternElement_0_0= rulePatternElement ) + // InternalApplicationConfiguration.g:2149:3: ( (lv_patternElement_0_0= rulePatternElement ) ) + // InternalApplicationConfiguration.g:2150:4: (lv_patternElement_0_0= rulePatternElement ) { - // InternalApplicationConfiguration.g:2210:4: (lv_patternElement_0_0= rulePatternElement ) - // InternalApplicationConfiguration.g:2211:5: lv_patternElement_0_0= rulePatternElement + // InternalApplicationConfiguration.g:2150:4: (lv_patternElement_0_0= rulePatternElement ) + // InternalApplicationConfiguration.g:2151:5: lv_patternElement_0_0= rulePatternElement { newCompositeNode(grammarAccess.getCostEntryAccess().getPatternElementPatternElementParserRuleCall_0_0()); - pushFollow(FOLLOW_13); + pushFollow(FOLLOW_12); lv_patternElement_0_0=rulePatternElement(); state._fsp--; @@ -6142,510 +5958,34 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - otherlv_1=(Token)match(input,18,FOLLOW_24); + otherlv_1=(Token)match(input,17,FOLLOW_23); newLeafNode(otherlv_1, grammarAccess.getCostEntryAccess().getEqualsSignKeyword_1()); - // InternalApplicationConfiguration.g:2232:3: ( (lv_weight_2_0= ruleINTLiteral ) ) - // InternalApplicationConfiguration.g:2233:4: (lv_weight_2_0= ruleINTLiteral ) + // InternalApplicationConfiguration.g:2172:3: ( (lv_weight_2_0= ruleINTLiteral ) ) + // InternalApplicationConfiguration.g:2173:4: (lv_weight_2_0= ruleINTLiteral ) { - // InternalApplicationConfiguration.g:2233:4: (lv_weight_2_0= ruleINTLiteral ) - // InternalApplicationConfiguration.g:2234:5: lv_weight_2_0= ruleINTLiteral + // InternalApplicationConfiguration.g:2173:4: (lv_weight_2_0= ruleINTLiteral ) + // InternalApplicationConfiguration.g:2174:5: lv_weight_2_0= ruleINTLiteral { newCompositeNode(grammarAccess.getCostEntryAccess().getWeightINTLiteralParserRuleCall_2_0()); pushFollow(FOLLOW_2); - lv_weight_2_0=ruleINTLiteral(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getCostEntryRule()); - } - set( - current, - "weight", - lv_weight_2_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.INTLiteral"); - afterParserOrEnumRuleCall(); - - - } - - - } - - - } - - - } - - - leaveRule(); - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleCostEntry" - - - // $ANTLR start "entryRuleReliabilityObjectiveFunction" - // InternalApplicationConfiguration.g:2255:1: entryRuleReliabilityObjectiveFunction returns [EObject current=null] : iv_ruleReliabilityObjectiveFunction= ruleReliabilityObjectiveFunction EOF ; - public final EObject entryRuleReliabilityObjectiveFunction() throws RecognitionException { - EObject current = null; - - EObject iv_ruleReliabilityObjectiveFunction = null; - - - try { - // InternalApplicationConfiguration.g:2255:69: (iv_ruleReliabilityObjectiveFunction= ruleReliabilityObjectiveFunction EOF ) - // InternalApplicationConfiguration.g:2256:2: iv_ruleReliabilityObjectiveFunction= ruleReliabilityObjectiveFunction EOF - { - newCompositeNode(grammarAccess.getReliabilityObjectiveFunctionRule()); - pushFollow(FOLLOW_1); - iv_ruleReliabilityObjectiveFunction=ruleReliabilityObjectiveFunction(); - - state._fsp--; - - current =iv_ruleReliabilityObjectiveFunction; - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleReliabilityObjectiveFunction" - - - // $ANTLR start "ruleReliabilityObjectiveFunction" - // InternalApplicationConfiguration.g:2262:1: ruleReliabilityObjectiveFunction returns [EObject current=null] : (this_ReliabiltiyProbability_0= ruleReliabiltiyProbability | this_Mtff_1= ruleMtff ) ; - public final EObject ruleReliabilityObjectiveFunction() throws RecognitionException { - EObject current = null; - - EObject this_ReliabiltiyProbability_0 = null; - - EObject this_Mtff_1 = null; - - - - enterRule(); - - try { - // InternalApplicationConfiguration.g:2268:2: ( (this_ReliabiltiyProbability_0= ruleReliabiltiyProbability | this_Mtff_1= ruleMtff ) ) - // InternalApplicationConfiguration.g:2269:2: (this_ReliabiltiyProbability_0= ruleReliabiltiyProbability | this_Mtff_1= ruleMtff ) - { - // InternalApplicationConfiguration.g:2269:2: (this_ReliabiltiyProbability_0= ruleReliabiltiyProbability | this_Mtff_1= ruleMtff ) - int alt32=2; - int LA32_0 = input.LA(1); - - if ( (LA32_0==16) ) { - alt32=1; - } - else if ( (LA32_0==31) ) { - alt32=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 32, 0, input); - - throw nvae; - } - switch (alt32) { - case 1 : - // InternalApplicationConfiguration.g:2270:3: this_ReliabiltiyProbability_0= ruleReliabiltiyProbability - { - - newCompositeNode(grammarAccess.getReliabilityObjectiveFunctionAccess().getReliabiltiyProbabilityParserRuleCall_0()); - - pushFollow(FOLLOW_2); - this_ReliabiltiyProbability_0=ruleReliabiltiyProbability(); - - state._fsp--; - - - current = this_ReliabiltiyProbability_0; - afterParserOrEnumRuleCall(); - - - } - break; - case 2 : - // InternalApplicationConfiguration.g:2279:3: this_Mtff_1= ruleMtff - { - - newCompositeNode(grammarAccess.getReliabilityObjectiveFunctionAccess().getMtffParserRuleCall_1()); - - pushFollow(FOLLOW_2); - this_Mtff_1=ruleMtff(); - - state._fsp--; - - - current = this_Mtff_1; - afterParserOrEnumRuleCall(); - - - } - break; - - } - - - } - - - leaveRule(); - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleReliabilityObjectiveFunction" - - - // $ANTLR start "entryRuleReliabiltiyProbability" - // InternalApplicationConfiguration.g:2291:1: entryRuleReliabiltiyProbability returns [EObject current=null] : iv_ruleReliabiltiyProbability= ruleReliabiltiyProbability EOF ; - public final EObject entryRuleReliabiltiyProbability() throws RecognitionException { - EObject current = null; - - EObject iv_ruleReliabiltiyProbability = null; - - - try { - // InternalApplicationConfiguration.g:2291:63: (iv_ruleReliabiltiyProbability= ruleReliabiltiyProbability EOF ) - // InternalApplicationConfiguration.g:2292:2: iv_ruleReliabiltiyProbability= ruleReliabiltiyProbability EOF - { - newCompositeNode(grammarAccess.getReliabiltiyProbabilityRule()); - pushFollow(FOLLOW_1); - iv_ruleReliabiltiyProbability=ruleReliabiltiyProbability(); - - state._fsp--; - - current =iv_ruleReliabiltiyProbability; - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleReliabiltiyProbability" - - - // $ANTLR start "ruleReliabiltiyProbability" - // InternalApplicationConfiguration.g:2298:1: ruleReliabiltiyProbability returns [EObject current=null] : (otherlv_0= 'reliability' ( ( ( ruleQualifiedName ) ) otherlv_2= '::' )? ( (otherlv_3= RULE_ID ) ) otherlv_4= 'at' ( (lv_time_5_0= ruleREALLiteral ) ) ) ; - public final EObject ruleReliabiltiyProbability() throws RecognitionException { - EObject current = null; - - Token otherlv_0=null; - Token otherlv_2=null; - Token otherlv_3=null; - Token otherlv_4=null; - AntlrDatatypeRuleToken lv_time_5_0 = null; - - - - enterRule(); - - try { - // InternalApplicationConfiguration.g:2304:2: ( (otherlv_0= 'reliability' ( ( ( ruleQualifiedName ) ) otherlv_2= '::' )? ( (otherlv_3= RULE_ID ) ) otherlv_4= 'at' ( (lv_time_5_0= ruleREALLiteral ) ) ) ) - // InternalApplicationConfiguration.g:2305:2: (otherlv_0= 'reliability' ( ( ( ruleQualifiedName ) ) otherlv_2= '::' )? ( (otherlv_3= RULE_ID ) ) otherlv_4= 'at' ( (lv_time_5_0= ruleREALLiteral ) ) ) - { - // InternalApplicationConfiguration.g:2305:2: (otherlv_0= 'reliability' ( ( ( ruleQualifiedName ) ) otherlv_2= '::' )? ( (otherlv_3= RULE_ID ) ) otherlv_4= 'at' ( (lv_time_5_0= ruleREALLiteral ) ) ) - // InternalApplicationConfiguration.g:2306:3: otherlv_0= 'reliability' ( ( ( ruleQualifiedName ) ) otherlv_2= '::' )? ( (otherlv_3= RULE_ID ) ) otherlv_4= 'at' ( (lv_time_5_0= ruleREALLiteral ) ) - { - otherlv_0=(Token)match(input,16,FOLLOW_6); - - newLeafNode(otherlv_0, grammarAccess.getReliabiltiyProbabilityAccess().getReliabilityKeyword_0()); - - // InternalApplicationConfiguration.g:2310:3: ( ( ( ruleQualifiedName ) ) otherlv_2= '::' )? - int alt33=2; - int LA33_0 = input.LA(1); - - if ( (LA33_0==RULE_ID) ) { - int LA33_1 = input.LA(2); - - if ( (LA33_1==11||LA33_1==24) ) { - alt33=1; - } - } - switch (alt33) { - case 1 : - // InternalApplicationConfiguration.g:2311:4: ( ( ruleQualifiedName ) ) otherlv_2= '::' - { - // InternalApplicationConfiguration.g:2311:4: ( ( ruleQualifiedName ) ) - // InternalApplicationConfiguration.g:2312:5: ( ruleQualifiedName ) - { - // InternalApplicationConfiguration.g:2312:5: ( ruleQualifiedName ) - // InternalApplicationConfiguration.g:2313:6: ruleQualifiedName - { - - if (current==null) { - current = createModelElement(grammarAccess.getReliabiltiyProbabilityRule()); - } - - - newCompositeNode(grammarAccess.getReliabiltiyProbabilityAccess().getPackageCftModelCrossReference_1_0_0()); - - pushFollow(FOLLOW_18); - ruleQualifiedName(); - - state._fsp--; - - - afterParserOrEnumRuleCall(); - - - } - - - } - - otherlv_2=(Token)match(input,24,FOLLOW_6); - - newLeafNode(otherlv_2, grammarAccess.getReliabiltiyProbabilityAccess().getColonColonKeyword_1_1()); - - - } - break; - - } - - // InternalApplicationConfiguration.g:2332:3: ( (otherlv_3= RULE_ID ) ) - // InternalApplicationConfiguration.g:2333:4: (otherlv_3= RULE_ID ) - { - // InternalApplicationConfiguration.g:2333:4: (otherlv_3= RULE_ID ) - // InternalApplicationConfiguration.g:2334:5: otherlv_3= RULE_ID - { - - if (current==null) { - current = createModelElement(grammarAccess.getReliabiltiyProbabilityRule()); - } - - otherlv_3=(Token)match(input,RULE_ID,FOLLOW_25); - - newLeafNode(otherlv_3, grammarAccess.getReliabiltiyProbabilityAccess().getTransformationTransformationDefinitionCrossReference_2_0()); - - - } - - - } - - otherlv_4=(Token)match(input,30,FOLLOW_24); - - newLeafNode(otherlv_4, grammarAccess.getReliabiltiyProbabilityAccess().getAtKeyword_3()); - - // InternalApplicationConfiguration.g:2349:3: ( (lv_time_5_0= ruleREALLiteral ) ) - // InternalApplicationConfiguration.g:2350:4: (lv_time_5_0= ruleREALLiteral ) - { - // InternalApplicationConfiguration.g:2350:4: (lv_time_5_0= ruleREALLiteral ) - // InternalApplicationConfiguration.g:2351:5: lv_time_5_0= ruleREALLiteral - { - - newCompositeNode(grammarAccess.getReliabiltiyProbabilityAccess().getTimeREALLiteralParserRuleCall_4_0()); - - pushFollow(FOLLOW_2); - lv_time_5_0=ruleREALLiteral(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getReliabiltiyProbabilityRule()); - } - set( - current, - "time", - lv_time_5_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.REALLiteral"); - afterParserOrEnumRuleCall(); - - - } - - - } - - - } - - - } - - - leaveRule(); - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleReliabiltiyProbability" - - - // $ANTLR start "entryRuleMtff" - // InternalApplicationConfiguration.g:2372:1: entryRuleMtff returns [EObject current=null] : iv_ruleMtff= ruleMtff EOF ; - public final EObject entryRuleMtff() throws RecognitionException { - EObject current = null; - - EObject iv_ruleMtff = null; - - - try { - // InternalApplicationConfiguration.g:2372:45: (iv_ruleMtff= ruleMtff EOF ) - // InternalApplicationConfiguration.g:2373:2: iv_ruleMtff= ruleMtff EOF - { - newCompositeNode(grammarAccess.getMtffRule()); - pushFollow(FOLLOW_1); - iv_ruleMtff=ruleMtff(); - - state._fsp--; - - current =iv_ruleMtff; - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleMtff" - - - // $ANTLR start "ruleMtff" - // InternalApplicationConfiguration.g:2379:1: ruleMtff returns [EObject current=null] : (otherlv_0= 'mtff' ( ( ( ruleQualifiedName ) ) otherlv_2= '::' )? ( (otherlv_3= RULE_ID ) ) ) ; - public final EObject ruleMtff() throws RecognitionException { - EObject current = null; - - Token otherlv_0=null; - Token otherlv_2=null; - Token otherlv_3=null; - - - enterRule(); - - try { - // InternalApplicationConfiguration.g:2385:2: ( (otherlv_0= 'mtff' ( ( ( ruleQualifiedName ) ) otherlv_2= '::' )? ( (otherlv_3= RULE_ID ) ) ) ) - // InternalApplicationConfiguration.g:2386:2: (otherlv_0= 'mtff' ( ( ( ruleQualifiedName ) ) otherlv_2= '::' )? ( (otherlv_3= RULE_ID ) ) ) - { - // InternalApplicationConfiguration.g:2386:2: (otherlv_0= 'mtff' ( ( ( ruleQualifiedName ) ) otherlv_2= '::' )? ( (otherlv_3= RULE_ID ) ) ) - // InternalApplicationConfiguration.g:2387:3: otherlv_0= 'mtff' ( ( ( ruleQualifiedName ) ) otherlv_2= '::' )? ( (otherlv_3= RULE_ID ) ) - { - otherlv_0=(Token)match(input,31,FOLLOW_6); - - newLeafNode(otherlv_0, grammarAccess.getMtffAccess().getMtffKeyword_0()); - - // InternalApplicationConfiguration.g:2391:3: ( ( ( ruleQualifiedName ) ) otherlv_2= '::' )? - int alt34=2; - int LA34_0 = input.LA(1); - - if ( (LA34_0==RULE_ID) ) { - int LA34_1 = input.LA(2); - - if ( (LA34_1==11||LA34_1==24) ) { - alt34=1; - } - } - switch (alt34) { - case 1 : - // InternalApplicationConfiguration.g:2392:4: ( ( ruleQualifiedName ) ) otherlv_2= '::' - { - // InternalApplicationConfiguration.g:2392:4: ( ( ruleQualifiedName ) ) - // InternalApplicationConfiguration.g:2393:5: ( ruleQualifiedName ) - { - // InternalApplicationConfiguration.g:2393:5: ( ruleQualifiedName ) - // InternalApplicationConfiguration.g:2394:6: ruleQualifiedName - { - - if (current==null) { - current = createModelElement(grammarAccess.getMtffRule()); - } - - - newCompositeNode(grammarAccess.getMtffAccess().getPackageCftModelCrossReference_1_0_0()); - - pushFollow(FOLLOW_18); - ruleQualifiedName(); - - state._fsp--; - - - afterParserOrEnumRuleCall(); - - - } - - - } - - otherlv_2=(Token)match(input,24,FOLLOW_6); - - newLeafNode(otherlv_2, grammarAccess.getMtffAccess().getColonColonKeyword_1_1()); - - - } - break; + lv_weight_2_0=ruleINTLiteral(); - } + state._fsp--; - // InternalApplicationConfiguration.g:2413:3: ( (otherlv_3= RULE_ID ) ) - // InternalApplicationConfiguration.g:2414:4: (otherlv_3= RULE_ID ) - { - // InternalApplicationConfiguration.g:2414:4: (otherlv_3= RULE_ID ) - // InternalApplicationConfiguration.g:2415:5: otherlv_3= RULE_ID - { if (current==null) { - current = createModelElement(grammarAccess.getMtffRule()); + current = createModelElementForParent(grammarAccess.getCostEntryRule()); } - - otherlv_3=(Token)match(input,RULE_ID,FOLLOW_2); - - newLeafNode(otherlv_3, grammarAccess.getMtffAccess().getTransformationTransformationDefinitionCrossReference_2_0()); + set( + current, + "weight", + lv_weight_2_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.INTLiteral"); + afterParserOrEnumRuleCall(); } @@ -6672,11 +6012,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } return current; } - // $ANTLR end "ruleMtff" + // $ANTLR end "ruleCostEntry" // $ANTLR start "entryRuleObjectiveDeclaration" - // InternalApplicationConfiguration.g:2430:1: entryRuleObjectiveDeclaration returns [EObject current=null] : iv_ruleObjectiveDeclaration= ruleObjectiveDeclaration EOF ; + // InternalApplicationConfiguration.g:2195:1: entryRuleObjectiveDeclaration returns [EObject current=null] : iv_ruleObjectiveDeclaration= ruleObjectiveDeclaration EOF ; public final EObject entryRuleObjectiveDeclaration() throws RecognitionException { EObject current = null; @@ -6684,8 +6024,8 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:2430:61: (iv_ruleObjectiveDeclaration= ruleObjectiveDeclaration EOF ) - // InternalApplicationConfiguration.g:2431:2: iv_ruleObjectiveDeclaration= ruleObjectiveDeclaration EOF + // InternalApplicationConfiguration.g:2195:61: (iv_ruleObjectiveDeclaration= ruleObjectiveDeclaration EOF ) + // InternalApplicationConfiguration.g:2196:2: iv_ruleObjectiveDeclaration= ruleObjectiveDeclaration EOF { newCompositeNode(grammarAccess.getObjectiveDeclarationRule()); pushFollow(FOLLOW_1); @@ -6712,7 +6052,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleObjectiveDeclaration" - // InternalApplicationConfiguration.g:2437:1: ruleObjectiveDeclaration returns [EObject current=null] : (otherlv_0= 'objectives' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleObjectiveSpecification ) ) ) ; + // InternalApplicationConfiguration.g:2202:1: ruleObjectiveDeclaration returns [EObject current=null] : (otherlv_0= 'objectives' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleObjectiveSpecification ) ) ) ; public final EObject ruleObjectiveDeclaration() throws RecognitionException { EObject current = null; @@ -6725,23 +6065,23 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:2443:2: ( (otherlv_0= 'objectives' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleObjectiveSpecification ) ) ) ) - // InternalApplicationConfiguration.g:2444:2: (otherlv_0= 'objectives' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleObjectiveSpecification ) ) ) + // InternalApplicationConfiguration.g:2208:2: ( (otherlv_0= 'objectives' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleObjectiveSpecification ) ) ) ) + // InternalApplicationConfiguration.g:2209:2: (otherlv_0= 'objectives' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleObjectiveSpecification ) ) ) { - // InternalApplicationConfiguration.g:2444:2: (otherlv_0= 'objectives' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleObjectiveSpecification ) ) ) - // InternalApplicationConfiguration.g:2445:3: otherlv_0= 'objectives' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleObjectiveSpecification ) ) + // InternalApplicationConfiguration.g:2209:2: (otherlv_0= 'objectives' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleObjectiveSpecification ) ) ) + // InternalApplicationConfiguration.g:2210:3: otherlv_0= 'objectives' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleObjectiveSpecification ) ) { - otherlv_0=(Token)match(input,32,FOLLOW_6); + otherlv_0=(Token)match(input,29,FOLLOW_6); newLeafNode(otherlv_0, grammarAccess.getObjectiveDeclarationAccess().getObjectivesKeyword_0()); - // InternalApplicationConfiguration.g:2449:3: ( (lv_name_1_0= RULE_ID ) ) - // InternalApplicationConfiguration.g:2450:4: (lv_name_1_0= RULE_ID ) + // InternalApplicationConfiguration.g:2214:3: ( (lv_name_1_0= RULE_ID ) ) + // InternalApplicationConfiguration.g:2215:4: (lv_name_1_0= RULE_ID ) { - // InternalApplicationConfiguration.g:2450:4: (lv_name_1_0= RULE_ID ) - // InternalApplicationConfiguration.g:2451:5: lv_name_1_0= RULE_ID + // InternalApplicationConfiguration.g:2215:4: (lv_name_1_0= RULE_ID ) + // InternalApplicationConfiguration.g:2216:5: lv_name_1_0= RULE_ID { - lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_17); + lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_16); newLeafNode(lv_name_1_0, grammarAccess.getObjectiveDeclarationAccess().getNameIDTerminalRuleCall_1_0()); @@ -6761,11 +6101,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - // InternalApplicationConfiguration.g:2467:3: ( (lv_specification_2_0= ruleObjectiveSpecification ) ) - // InternalApplicationConfiguration.g:2468:4: (lv_specification_2_0= ruleObjectiveSpecification ) + // InternalApplicationConfiguration.g:2232:3: ( (lv_specification_2_0= ruleObjectiveSpecification ) ) + // InternalApplicationConfiguration.g:2233:4: (lv_specification_2_0= ruleObjectiveSpecification ) { - // InternalApplicationConfiguration.g:2468:4: (lv_specification_2_0= ruleObjectiveSpecification ) - // InternalApplicationConfiguration.g:2469:5: lv_specification_2_0= ruleObjectiveSpecification + // InternalApplicationConfiguration.g:2233:4: (lv_specification_2_0= ruleObjectiveSpecification ) + // InternalApplicationConfiguration.g:2234:5: lv_specification_2_0= ruleObjectiveSpecification { newCompositeNode(grammarAccess.getObjectiveDeclarationAccess().getSpecificationObjectiveSpecificationParserRuleCall_2_0()); @@ -6815,7 +6155,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleObjectiveReference" - // InternalApplicationConfiguration.g:2490:1: entryRuleObjectiveReference returns [EObject current=null] : iv_ruleObjectiveReference= ruleObjectiveReference EOF ; + // InternalApplicationConfiguration.g:2255:1: entryRuleObjectiveReference returns [EObject current=null] : iv_ruleObjectiveReference= ruleObjectiveReference EOF ; public final EObject entryRuleObjectiveReference() throws RecognitionException { EObject current = null; @@ -6823,8 +6163,8 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:2490:59: (iv_ruleObjectiveReference= ruleObjectiveReference EOF ) - // InternalApplicationConfiguration.g:2491:2: iv_ruleObjectiveReference= ruleObjectiveReference EOF + // InternalApplicationConfiguration.g:2255:59: (iv_ruleObjectiveReference= ruleObjectiveReference EOF ) + // InternalApplicationConfiguration.g:2256:2: iv_ruleObjectiveReference= ruleObjectiveReference EOF { newCompositeNode(grammarAccess.getObjectiveReferenceRule()); pushFollow(FOLLOW_1); @@ -6851,7 +6191,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleObjectiveReference" - // InternalApplicationConfiguration.g:2497:1: ruleObjectiveReference returns [EObject current=null] : ( (otherlv_0= RULE_ID ) ) ; + // InternalApplicationConfiguration.g:2262:1: ruleObjectiveReference returns [EObject current=null] : ( (otherlv_0= RULE_ID ) ) ; public final EObject ruleObjectiveReference() throws RecognitionException { EObject current = null; @@ -6861,14 +6201,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:2503:2: ( ( (otherlv_0= RULE_ID ) ) ) - // InternalApplicationConfiguration.g:2504:2: ( (otherlv_0= RULE_ID ) ) + // InternalApplicationConfiguration.g:2268:2: ( ( (otherlv_0= RULE_ID ) ) ) + // InternalApplicationConfiguration.g:2269:2: ( (otherlv_0= RULE_ID ) ) { - // InternalApplicationConfiguration.g:2504:2: ( (otherlv_0= RULE_ID ) ) - // InternalApplicationConfiguration.g:2505:3: (otherlv_0= RULE_ID ) + // InternalApplicationConfiguration.g:2269:2: ( (otherlv_0= RULE_ID ) ) + // InternalApplicationConfiguration.g:2270:3: (otherlv_0= RULE_ID ) { - // InternalApplicationConfiguration.g:2505:3: (otherlv_0= RULE_ID ) - // InternalApplicationConfiguration.g:2506:4: otherlv_0= RULE_ID + // InternalApplicationConfiguration.g:2270:3: (otherlv_0= RULE_ID ) + // InternalApplicationConfiguration.g:2271:4: otherlv_0= RULE_ID { if (current==null) { @@ -6905,7 +6245,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleObjective" - // InternalApplicationConfiguration.g:2520:1: entryRuleObjective returns [EObject current=null] : iv_ruleObjective= ruleObjective EOF ; + // InternalApplicationConfiguration.g:2285:1: entryRuleObjective returns [EObject current=null] : iv_ruleObjective= ruleObjective EOF ; public final EObject entryRuleObjective() throws RecognitionException { EObject current = null; @@ -6913,8 +6253,8 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:2520:50: (iv_ruleObjective= ruleObjective EOF ) - // InternalApplicationConfiguration.g:2521:2: iv_ruleObjective= ruleObjective EOF + // InternalApplicationConfiguration.g:2285:50: (iv_ruleObjective= ruleObjective EOF ) + // InternalApplicationConfiguration.g:2286:2: iv_ruleObjective= ruleObjective EOF { newCompositeNode(grammarAccess.getObjectiveRule()); pushFollow(FOLLOW_1); @@ -6941,7 +6281,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleObjective" - // InternalApplicationConfiguration.g:2527:1: ruleObjective returns [EObject current=null] : (this_ObjectiveReference_0= ruleObjectiveReference | this_ObjectiveSpecification_1= ruleObjectiveSpecification ) ; + // InternalApplicationConfiguration.g:2292:1: ruleObjective returns [EObject current=null] : (this_ObjectiveReference_0= ruleObjectiveReference | this_ObjectiveSpecification_1= ruleObjectiveSpecification ) ; public final EObject ruleObjective() throws RecognitionException { EObject current = null; @@ -6954,28 +6294,28 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:2533:2: ( (this_ObjectiveReference_0= ruleObjectiveReference | this_ObjectiveSpecification_1= ruleObjectiveSpecification ) ) - // InternalApplicationConfiguration.g:2534:2: (this_ObjectiveReference_0= ruleObjectiveReference | this_ObjectiveSpecification_1= ruleObjectiveSpecification ) + // InternalApplicationConfiguration.g:2298:2: ( (this_ObjectiveReference_0= ruleObjectiveReference | this_ObjectiveSpecification_1= ruleObjectiveSpecification ) ) + // InternalApplicationConfiguration.g:2299:2: (this_ObjectiveReference_0= ruleObjectiveReference | this_ObjectiveSpecification_1= ruleObjectiveSpecification ) { - // InternalApplicationConfiguration.g:2534:2: (this_ObjectiveReference_0= ruleObjectiveReference | this_ObjectiveSpecification_1= ruleObjectiveSpecification ) - int alt35=2; - int LA35_0 = input.LA(1); + // InternalApplicationConfiguration.g:2299:2: (this_ObjectiveReference_0= ruleObjectiveReference | this_ObjectiveSpecification_1= ruleObjectiveSpecification ) + int alt31=2; + int LA31_0 = input.LA(1); - if ( (LA35_0==RULE_ID) ) { - alt35=1; + if ( (LA31_0==RULE_ID) ) { + alt31=1; } - else if ( (LA35_0==19) ) { - alt35=2; + else if ( (LA31_0==18) ) { + alt31=2; } else { NoViableAltException nvae = - new NoViableAltException("", 35, 0, input); + new NoViableAltException("", 31, 0, input); throw nvae; } - switch (alt35) { + switch (alt31) { case 1 : - // InternalApplicationConfiguration.g:2535:3: this_ObjectiveReference_0= ruleObjectiveReference + // InternalApplicationConfiguration.g:2300:3: this_ObjectiveReference_0= ruleObjectiveReference { newCompositeNode(grammarAccess.getObjectiveAccess().getObjectiveReferenceParserRuleCall_0()); @@ -6993,7 +6333,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } break; case 2 : - // InternalApplicationConfiguration.g:2544:3: this_ObjectiveSpecification_1= ruleObjectiveSpecification + // InternalApplicationConfiguration.g:2309:3: this_ObjectiveSpecification_1= ruleObjectiveSpecification { newCompositeNode(grammarAccess.getObjectiveAccess().getObjectiveSpecificationParserRuleCall_1()); @@ -7033,7 +6373,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleConfigSpecification" - // InternalApplicationConfiguration.g:2556:1: entryRuleConfigSpecification returns [EObject current=null] : iv_ruleConfigSpecification= ruleConfigSpecification EOF ; + // InternalApplicationConfiguration.g:2321:1: entryRuleConfigSpecification returns [EObject current=null] : iv_ruleConfigSpecification= ruleConfigSpecification EOF ; public final EObject entryRuleConfigSpecification() throws RecognitionException { EObject current = null; @@ -7041,8 +6381,8 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:2556:60: (iv_ruleConfigSpecification= ruleConfigSpecification EOF ) - // InternalApplicationConfiguration.g:2557:2: iv_ruleConfigSpecification= ruleConfigSpecification EOF + // InternalApplicationConfiguration.g:2321:60: (iv_ruleConfigSpecification= ruleConfigSpecification EOF ) + // InternalApplicationConfiguration.g:2322:2: iv_ruleConfigSpecification= ruleConfigSpecification EOF { newCompositeNode(grammarAccess.getConfigSpecificationRule()); pushFollow(FOLLOW_1); @@ -7069,7 +6409,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleConfigSpecification" - // InternalApplicationConfiguration.g:2563:1: ruleConfigSpecification returns [EObject current=null] : ( () otherlv_1= '{' ( ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* )? otherlv_5= '}' ) ; + // InternalApplicationConfiguration.g:2328:1: ruleConfigSpecification returns [EObject current=null] : ( () otherlv_1= '{' ( ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* )? otherlv_5= '}' ) ; public final EObject ruleConfigSpecification() throws RecognitionException { EObject current = null; @@ -7085,14 +6425,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:2569:2: ( ( () otherlv_1= '{' ( ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* )? otherlv_5= '}' ) ) - // InternalApplicationConfiguration.g:2570:2: ( () otherlv_1= '{' ( ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* )? otherlv_5= '}' ) + // InternalApplicationConfiguration.g:2334:2: ( ( () otherlv_1= '{' ( ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* )? otherlv_5= '}' ) ) + // InternalApplicationConfiguration.g:2335:2: ( () otherlv_1= '{' ( ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* )? otherlv_5= '}' ) { - // InternalApplicationConfiguration.g:2570:2: ( () otherlv_1= '{' ( ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* )? otherlv_5= '}' ) - // InternalApplicationConfiguration.g:2571:3: () otherlv_1= '{' ( ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* )? otherlv_5= '}' + // InternalApplicationConfiguration.g:2335:2: ( () otherlv_1= '{' ( ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* )? otherlv_5= '}' ) + // InternalApplicationConfiguration.g:2336:3: () otherlv_1= '{' ( ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* )? otherlv_5= '}' { - // InternalApplicationConfiguration.g:2571:3: () - // InternalApplicationConfiguration.g:2572:4: + // InternalApplicationConfiguration.g:2336:3: () + // InternalApplicationConfiguration.g:2337:4: { current = forceCreateModelElement( @@ -7102,31 +6442,31 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - otherlv_1=(Token)match(input,19,FOLLOW_26); + otherlv_1=(Token)match(input,18,FOLLOW_24); newLeafNode(otherlv_1, grammarAccess.getConfigSpecificationAccess().getLeftCurlyBracketKeyword_1()); - // InternalApplicationConfiguration.g:2582:3: ( ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* )? - int alt37=2; - int LA37_0 = input.LA(1); + // InternalApplicationConfiguration.g:2347:3: ( ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* )? + int alt33=2; + int LA33_0 = input.LA(1); - if ( (LA37_0==RULE_STRING||(LA37_0>=34 && LA37_0<=36)) ) { - alt37=1; + if ( (LA33_0==RULE_STRING||(LA33_0>=31 && LA33_0<=33)) ) { + alt33=1; } - switch (alt37) { + switch (alt33) { case 1 : - // InternalApplicationConfiguration.g:2583:4: ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* + // InternalApplicationConfiguration.g:2348:4: ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* { - // InternalApplicationConfiguration.g:2583:4: ( (lv_entries_2_0= ruleConfigEntry ) ) - // InternalApplicationConfiguration.g:2584:5: (lv_entries_2_0= ruleConfigEntry ) + // InternalApplicationConfiguration.g:2348:4: ( (lv_entries_2_0= ruleConfigEntry ) ) + // InternalApplicationConfiguration.g:2349:5: (lv_entries_2_0= ruleConfigEntry ) { - // InternalApplicationConfiguration.g:2584:5: (lv_entries_2_0= ruleConfigEntry ) - // InternalApplicationConfiguration.g:2585:6: lv_entries_2_0= ruleConfigEntry + // InternalApplicationConfiguration.g:2349:5: (lv_entries_2_0= ruleConfigEntry ) + // InternalApplicationConfiguration.g:2350:6: lv_entries_2_0= ruleConfigEntry { newCompositeNode(grammarAccess.getConfigSpecificationAccess().getEntriesConfigEntryParserRuleCall_2_0_0()); - pushFollow(FOLLOW_15); + pushFollow(FOLLOW_14); lv_entries_2_0=ruleConfigEntry(); state._fsp--; @@ -7148,35 +6488,35 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - // InternalApplicationConfiguration.g:2602:4: (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* - loop36: + // InternalApplicationConfiguration.g:2367:4: (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* + loop32: do { - int alt36=2; - int LA36_0 = input.LA(1); + int alt32=2; + int LA32_0 = input.LA(1); - if ( (LA36_0==20) ) { - alt36=1; + if ( (LA32_0==19) ) { + alt32=1; } - switch (alt36) { + switch (alt32) { case 1 : - // InternalApplicationConfiguration.g:2603:5: otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) + // InternalApplicationConfiguration.g:2368:5: otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) { - otherlv_3=(Token)match(input,20,FOLLOW_27); + otherlv_3=(Token)match(input,19,FOLLOW_25); newLeafNode(otherlv_3, grammarAccess.getConfigSpecificationAccess().getCommaKeyword_2_1_0()); - // InternalApplicationConfiguration.g:2607:5: ( (lv_entries_4_0= ruleConfigEntry ) ) - // InternalApplicationConfiguration.g:2608:6: (lv_entries_4_0= ruleConfigEntry ) + // InternalApplicationConfiguration.g:2372:5: ( (lv_entries_4_0= ruleConfigEntry ) ) + // InternalApplicationConfiguration.g:2373:6: (lv_entries_4_0= ruleConfigEntry ) { - // InternalApplicationConfiguration.g:2608:6: (lv_entries_4_0= ruleConfigEntry ) - // InternalApplicationConfiguration.g:2609:7: lv_entries_4_0= ruleConfigEntry + // InternalApplicationConfiguration.g:2373:6: (lv_entries_4_0= ruleConfigEntry ) + // InternalApplicationConfiguration.g:2374:7: lv_entries_4_0= ruleConfigEntry { newCompositeNode(grammarAccess.getConfigSpecificationAccess().getEntriesConfigEntryParserRuleCall_2_1_1_0()); - pushFollow(FOLLOW_15); + pushFollow(FOLLOW_14); lv_entries_4_0=ruleConfigEntry(); state._fsp--; @@ -7203,7 +6543,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl break; default : - break loop36; + break loop32; } } while (true); @@ -7213,7 +6553,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - otherlv_5=(Token)match(input,21,FOLLOW_2); + otherlv_5=(Token)match(input,20,FOLLOW_2); newLeafNode(otherlv_5, grammarAccess.getConfigSpecificationAccess().getRightCurlyBracketKeyword_3()); @@ -7240,7 +6580,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleConfigDeclaration" - // InternalApplicationConfiguration.g:2636:1: entryRuleConfigDeclaration returns [EObject current=null] : iv_ruleConfigDeclaration= ruleConfigDeclaration EOF ; + // InternalApplicationConfiguration.g:2401:1: entryRuleConfigDeclaration returns [EObject current=null] : iv_ruleConfigDeclaration= ruleConfigDeclaration EOF ; public final EObject entryRuleConfigDeclaration() throws RecognitionException { EObject current = null; @@ -7248,8 +6588,8 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:2636:58: (iv_ruleConfigDeclaration= ruleConfigDeclaration EOF ) - // InternalApplicationConfiguration.g:2637:2: iv_ruleConfigDeclaration= ruleConfigDeclaration EOF + // InternalApplicationConfiguration.g:2401:58: (iv_ruleConfigDeclaration= ruleConfigDeclaration EOF ) + // InternalApplicationConfiguration.g:2402:2: iv_ruleConfigDeclaration= ruleConfigDeclaration EOF { newCompositeNode(grammarAccess.getConfigDeclarationRule()); pushFollow(FOLLOW_1); @@ -7276,7 +6616,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleConfigDeclaration" - // InternalApplicationConfiguration.g:2643:1: ruleConfigDeclaration returns [EObject current=null] : (otherlv_0= 'config' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleConfigSpecification ) ) ) ; + // InternalApplicationConfiguration.g:2408:1: ruleConfigDeclaration returns [EObject current=null] : (otherlv_0= 'config' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleConfigSpecification ) ) ) ; public final EObject ruleConfigDeclaration() throws RecognitionException { EObject current = null; @@ -7289,23 +6629,23 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:2649:2: ( (otherlv_0= 'config' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleConfigSpecification ) ) ) ) - // InternalApplicationConfiguration.g:2650:2: (otherlv_0= 'config' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleConfigSpecification ) ) ) + // InternalApplicationConfiguration.g:2414:2: ( (otherlv_0= 'config' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleConfigSpecification ) ) ) ) + // InternalApplicationConfiguration.g:2415:2: (otherlv_0= 'config' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleConfigSpecification ) ) ) { - // InternalApplicationConfiguration.g:2650:2: (otherlv_0= 'config' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleConfigSpecification ) ) ) - // InternalApplicationConfiguration.g:2651:3: otherlv_0= 'config' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleConfigSpecification ) ) + // InternalApplicationConfiguration.g:2415:2: (otherlv_0= 'config' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleConfigSpecification ) ) ) + // InternalApplicationConfiguration.g:2416:3: otherlv_0= 'config' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleConfigSpecification ) ) { - otherlv_0=(Token)match(input,33,FOLLOW_6); + otherlv_0=(Token)match(input,30,FOLLOW_6); newLeafNode(otherlv_0, grammarAccess.getConfigDeclarationAccess().getConfigKeyword_0()); - // InternalApplicationConfiguration.g:2655:3: ( (lv_name_1_0= RULE_ID ) ) - // InternalApplicationConfiguration.g:2656:4: (lv_name_1_0= RULE_ID ) + // InternalApplicationConfiguration.g:2420:3: ( (lv_name_1_0= RULE_ID ) ) + // InternalApplicationConfiguration.g:2421:4: (lv_name_1_0= RULE_ID ) { - // InternalApplicationConfiguration.g:2656:4: (lv_name_1_0= RULE_ID ) - // InternalApplicationConfiguration.g:2657:5: lv_name_1_0= RULE_ID + // InternalApplicationConfiguration.g:2421:4: (lv_name_1_0= RULE_ID ) + // InternalApplicationConfiguration.g:2422:5: lv_name_1_0= RULE_ID { - lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_17); + lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_16); newLeafNode(lv_name_1_0, grammarAccess.getConfigDeclarationAccess().getNameIDTerminalRuleCall_1_0()); @@ -7325,11 +6665,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - // InternalApplicationConfiguration.g:2673:3: ( (lv_specification_2_0= ruleConfigSpecification ) ) - // InternalApplicationConfiguration.g:2674:4: (lv_specification_2_0= ruleConfigSpecification ) + // InternalApplicationConfiguration.g:2438:3: ( (lv_specification_2_0= ruleConfigSpecification ) ) + // InternalApplicationConfiguration.g:2439:4: (lv_specification_2_0= ruleConfigSpecification ) { - // InternalApplicationConfiguration.g:2674:4: (lv_specification_2_0= ruleConfigSpecification ) - // InternalApplicationConfiguration.g:2675:5: lv_specification_2_0= ruleConfigSpecification + // InternalApplicationConfiguration.g:2439:4: (lv_specification_2_0= ruleConfigSpecification ) + // InternalApplicationConfiguration.g:2440:5: lv_specification_2_0= ruleConfigSpecification { newCompositeNode(grammarAccess.getConfigDeclarationAccess().getSpecificationConfigSpecificationParserRuleCall_2_0()); @@ -7379,7 +6719,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleConfigEntry" - // InternalApplicationConfiguration.g:2696:1: entryRuleConfigEntry returns [EObject current=null] : iv_ruleConfigEntry= ruleConfigEntry EOF ; + // InternalApplicationConfiguration.g:2461:1: entryRuleConfigEntry returns [EObject current=null] : iv_ruleConfigEntry= ruleConfigEntry EOF ; public final EObject entryRuleConfigEntry() throws RecognitionException { EObject current = null; @@ -7387,8 +6727,8 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:2696:52: (iv_ruleConfigEntry= ruleConfigEntry EOF ) - // InternalApplicationConfiguration.g:2697:2: iv_ruleConfigEntry= ruleConfigEntry EOF + // InternalApplicationConfiguration.g:2461:52: (iv_ruleConfigEntry= ruleConfigEntry EOF ) + // InternalApplicationConfiguration.g:2462:2: iv_ruleConfigEntry= ruleConfigEntry EOF { newCompositeNode(grammarAccess.getConfigEntryRule()); pushFollow(FOLLOW_1); @@ -7415,7 +6755,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleConfigEntry" - // InternalApplicationConfiguration.g:2703:1: ruleConfigEntry returns [EObject current=null] : (this_DocumentationEntry_0= ruleDocumentationEntry | this_RuntimeEntry_1= ruleRuntimeEntry | this_MemoryEntry_2= ruleMemoryEntry | this_CustomEntry_3= ruleCustomEntry ) ; + // InternalApplicationConfiguration.g:2468:1: ruleConfigEntry returns [EObject current=null] : (this_DocumentationEntry_0= ruleDocumentationEntry | this_RuntimeEntry_1= ruleRuntimeEntry | this_MemoryEntry_2= ruleMemoryEntry | this_CustomEntry_3= ruleCustomEntry ) ; public final EObject ruleConfigEntry() throws RecognitionException { EObject current = null; @@ -7432,42 +6772,42 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:2709:2: ( (this_DocumentationEntry_0= ruleDocumentationEntry | this_RuntimeEntry_1= ruleRuntimeEntry | this_MemoryEntry_2= ruleMemoryEntry | this_CustomEntry_3= ruleCustomEntry ) ) - // InternalApplicationConfiguration.g:2710:2: (this_DocumentationEntry_0= ruleDocumentationEntry | this_RuntimeEntry_1= ruleRuntimeEntry | this_MemoryEntry_2= ruleMemoryEntry | this_CustomEntry_3= ruleCustomEntry ) + // InternalApplicationConfiguration.g:2474:2: ( (this_DocumentationEntry_0= ruleDocumentationEntry | this_RuntimeEntry_1= ruleRuntimeEntry | this_MemoryEntry_2= ruleMemoryEntry | this_CustomEntry_3= ruleCustomEntry ) ) + // InternalApplicationConfiguration.g:2475:2: (this_DocumentationEntry_0= ruleDocumentationEntry | this_RuntimeEntry_1= ruleRuntimeEntry | this_MemoryEntry_2= ruleMemoryEntry | this_CustomEntry_3= ruleCustomEntry ) { - // InternalApplicationConfiguration.g:2710:2: (this_DocumentationEntry_0= ruleDocumentationEntry | this_RuntimeEntry_1= ruleRuntimeEntry | this_MemoryEntry_2= ruleMemoryEntry | this_CustomEntry_3= ruleCustomEntry ) - int alt38=4; + // InternalApplicationConfiguration.g:2475:2: (this_DocumentationEntry_0= ruleDocumentationEntry | this_RuntimeEntry_1= ruleRuntimeEntry | this_MemoryEntry_2= ruleMemoryEntry | this_CustomEntry_3= ruleCustomEntry ) + int alt34=4; switch ( input.LA(1) ) { - case 34: + case 31: { - alt38=1; + alt34=1; } break; - case 35: + case 32: { - alt38=2; + alt34=2; } break; - case 36: + case 33: { - alt38=3; + alt34=3; } break; case RULE_STRING: { - alt38=4; + alt34=4; } break; default: NoViableAltException nvae = - new NoViableAltException("", 38, 0, input); + new NoViableAltException("", 34, 0, input); throw nvae; } - switch (alt38) { + switch (alt34) { case 1 : - // InternalApplicationConfiguration.g:2711:3: this_DocumentationEntry_0= ruleDocumentationEntry + // InternalApplicationConfiguration.g:2476:3: this_DocumentationEntry_0= ruleDocumentationEntry { newCompositeNode(grammarAccess.getConfigEntryAccess().getDocumentationEntryParserRuleCall_0()); @@ -7485,7 +6825,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } break; case 2 : - // InternalApplicationConfiguration.g:2720:3: this_RuntimeEntry_1= ruleRuntimeEntry + // InternalApplicationConfiguration.g:2485:3: this_RuntimeEntry_1= ruleRuntimeEntry { newCompositeNode(grammarAccess.getConfigEntryAccess().getRuntimeEntryParserRuleCall_1()); @@ -7503,7 +6843,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } break; case 3 : - // InternalApplicationConfiguration.g:2729:3: this_MemoryEntry_2= ruleMemoryEntry + // InternalApplicationConfiguration.g:2494:3: this_MemoryEntry_2= ruleMemoryEntry { newCompositeNode(grammarAccess.getConfigEntryAccess().getMemoryEntryParserRuleCall_2()); @@ -7521,7 +6861,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } break; case 4 : - // InternalApplicationConfiguration.g:2738:3: this_CustomEntry_3= ruleCustomEntry + // InternalApplicationConfiguration.g:2503:3: this_CustomEntry_3= ruleCustomEntry { newCompositeNode(grammarAccess.getConfigEntryAccess().getCustomEntryParserRuleCall_3()); @@ -7561,7 +6901,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleDocumentationEntry" - // InternalApplicationConfiguration.g:2750:1: entryRuleDocumentationEntry returns [EObject current=null] : iv_ruleDocumentationEntry= ruleDocumentationEntry EOF ; + // InternalApplicationConfiguration.g:2515:1: entryRuleDocumentationEntry returns [EObject current=null] : iv_ruleDocumentationEntry= ruleDocumentationEntry EOF ; public final EObject entryRuleDocumentationEntry() throws RecognitionException { EObject current = null; @@ -7569,8 +6909,8 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:2750:59: (iv_ruleDocumentationEntry= ruleDocumentationEntry EOF ) - // InternalApplicationConfiguration.g:2751:2: iv_ruleDocumentationEntry= ruleDocumentationEntry EOF + // InternalApplicationConfiguration.g:2515:59: (iv_ruleDocumentationEntry= ruleDocumentationEntry EOF ) + // InternalApplicationConfiguration.g:2516:2: iv_ruleDocumentationEntry= ruleDocumentationEntry EOF { newCompositeNode(grammarAccess.getDocumentationEntryRule()); pushFollow(FOLLOW_1); @@ -7597,7 +6937,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleDocumentationEntry" - // InternalApplicationConfiguration.g:2757:1: ruleDocumentationEntry returns [EObject current=null] : (otherlv_0= 'log-level' otherlv_1= '=' ( (lv_level_2_0= ruleDocumentLevelSpecification ) ) ) ; + // InternalApplicationConfiguration.g:2522:1: ruleDocumentationEntry returns [EObject current=null] : (otherlv_0= 'log-level' otherlv_1= '=' ( (lv_level_2_0= ruleDocumentLevelSpecification ) ) ) ; public final EObject ruleDocumentationEntry() throws RecognitionException { EObject current = null; @@ -7610,25 +6950,25 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:2763:2: ( (otherlv_0= 'log-level' otherlv_1= '=' ( (lv_level_2_0= ruleDocumentLevelSpecification ) ) ) ) - // InternalApplicationConfiguration.g:2764:2: (otherlv_0= 'log-level' otherlv_1= '=' ( (lv_level_2_0= ruleDocumentLevelSpecification ) ) ) + // InternalApplicationConfiguration.g:2528:2: ( (otherlv_0= 'log-level' otherlv_1= '=' ( (lv_level_2_0= ruleDocumentLevelSpecification ) ) ) ) + // InternalApplicationConfiguration.g:2529:2: (otherlv_0= 'log-level' otherlv_1= '=' ( (lv_level_2_0= ruleDocumentLevelSpecification ) ) ) { - // InternalApplicationConfiguration.g:2764:2: (otherlv_0= 'log-level' otherlv_1= '=' ( (lv_level_2_0= ruleDocumentLevelSpecification ) ) ) - // InternalApplicationConfiguration.g:2765:3: otherlv_0= 'log-level' otherlv_1= '=' ( (lv_level_2_0= ruleDocumentLevelSpecification ) ) + // InternalApplicationConfiguration.g:2529:2: (otherlv_0= 'log-level' otherlv_1= '=' ( (lv_level_2_0= ruleDocumentLevelSpecification ) ) ) + // InternalApplicationConfiguration.g:2530:3: otherlv_0= 'log-level' otherlv_1= '=' ( (lv_level_2_0= ruleDocumentLevelSpecification ) ) { - otherlv_0=(Token)match(input,34,FOLLOW_13); + otherlv_0=(Token)match(input,31,FOLLOW_12); newLeafNode(otherlv_0, grammarAccess.getDocumentationEntryAccess().getLogLevelKeyword_0()); - otherlv_1=(Token)match(input,18,FOLLOW_28); + otherlv_1=(Token)match(input,17,FOLLOW_26); newLeafNode(otherlv_1, grammarAccess.getDocumentationEntryAccess().getEqualsSignKeyword_1()); - // InternalApplicationConfiguration.g:2773:3: ( (lv_level_2_0= ruleDocumentLevelSpecification ) ) - // InternalApplicationConfiguration.g:2774:4: (lv_level_2_0= ruleDocumentLevelSpecification ) + // InternalApplicationConfiguration.g:2538:3: ( (lv_level_2_0= ruleDocumentLevelSpecification ) ) + // InternalApplicationConfiguration.g:2539:4: (lv_level_2_0= ruleDocumentLevelSpecification ) { - // InternalApplicationConfiguration.g:2774:4: (lv_level_2_0= ruleDocumentLevelSpecification ) - // InternalApplicationConfiguration.g:2775:5: lv_level_2_0= ruleDocumentLevelSpecification + // InternalApplicationConfiguration.g:2539:4: (lv_level_2_0= ruleDocumentLevelSpecification ) + // InternalApplicationConfiguration.g:2540:5: lv_level_2_0= ruleDocumentLevelSpecification { newCompositeNode(grammarAccess.getDocumentationEntryAccess().getLevelDocumentLevelSpecificationEnumRuleCall_2_0()); @@ -7678,7 +7018,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleRuntimeEntry" - // InternalApplicationConfiguration.g:2796:1: entryRuleRuntimeEntry returns [EObject current=null] : iv_ruleRuntimeEntry= ruleRuntimeEntry EOF ; + // InternalApplicationConfiguration.g:2561:1: entryRuleRuntimeEntry returns [EObject current=null] : iv_ruleRuntimeEntry= ruleRuntimeEntry EOF ; public final EObject entryRuleRuntimeEntry() throws RecognitionException { EObject current = null; @@ -7686,8 +7026,8 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:2796:53: (iv_ruleRuntimeEntry= ruleRuntimeEntry EOF ) - // InternalApplicationConfiguration.g:2797:2: iv_ruleRuntimeEntry= ruleRuntimeEntry EOF + // InternalApplicationConfiguration.g:2561:53: (iv_ruleRuntimeEntry= ruleRuntimeEntry EOF ) + // InternalApplicationConfiguration.g:2562:2: iv_ruleRuntimeEntry= ruleRuntimeEntry EOF { newCompositeNode(grammarAccess.getRuntimeEntryRule()); pushFollow(FOLLOW_1); @@ -7714,7 +7054,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleRuntimeEntry" - // InternalApplicationConfiguration.g:2803:1: ruleRuntimeEntry returns [EObject current=null] : (otherlv_0= 'runtime' otherlv_1= '=' ( (lv_millisecLimit_2_0= RULE_INT ) ) ) ; + // InternalApplicationConfiguration.g:2568:1: ruleRuntimeEntry returns [EObject current=null] : (otherlv_0= 'runtime' otherlv_1= '=' ( (lv_millisecLimit_2_0= RULE_INT ) ) ) ; public final EObject ruleRuntimeEntry() throws RecognitionException { EObject current = null; @@ -7726,25 +7066,25 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:2809:2: ( (otherlv_0= 'runtime' otherlv_1= '=' ( (lv_millisecLimit_2_0= RULE_INT ) ) ) ) - // InternalApplicationConfiguration.g:2810:2: (otherlv_0= 'runtime' otherlv_1= '=' ( (lv_millisecLimit_2_0= RULE_INT ) ) ) + // InternalApplicationConfiguration.g:2574:2: ( (otherlv_0= 'runtime' otherlv_1= '=' ( (lv_millisecLimit_2_0= RULE_INT ) ) ) ) + // InternalApplicationConfiguration.g:2575:2: (otherlv_0= 'runtime' otherlv_1= '=' ( (lv_millisecLimit_2_0= RULE_INT ) ) ) { - // InternalApplicationConfiguration.g:2810:2: (otherlv_0= 'runtime' otherlv_1= '=' ( (lv_millisecLimit_2_0= RULE_INT ) ) ) - // InternalApplicationConfiguration.g:2811:3: otherlv_0= 'runtime' otherlv_1= '=' ( (lv_millisecLimit_2_0= RULE_INT ) ) + // InternalApplicationConfiguration.g:2575:2: (otherlv_0= 'runtime' otherlv_1= '=' ( (lv_millisecLimit_2_0= RULE_INT ) ) ) + // InternalApplicationConfiguration.g:2576:3: otherlv_0= 'runtime' otherlv_1= '=' ( (lv_millisecLimit_2_0= RULE_INT ) ) { - otherlv_0=(Token)match(input,35,FOLLOW_13); + otherlv_0=(Token)match(input,32,FOLLOW_12); newLeafNode(otherlv_0, grammarAccess.getRuntimeEntryAccess().getRuntimeKeyword_0()); - otherlv_1=(Token)match(input,18,FOLLOW_7); + otherlv_1=(Token)match(input,17,FOLLOW_7); newLeafNode(otherlv_1, grammarAccess.getRuntimeEntryAccess().getEqualsSignKeyword_1()); - // InternalApplicationConfiguration.g:2819:3: ( (lv_millisecLimit_2_0= RULE_INT ) ) - // InternalApplicationConfiguration.g:2820:4: (lv_millisecLimit_2_0= RULE_INT ) + // InternalApplicationConfiguration.g:2584:3: ( (lv_millisecLimit_2_0= RULE_INT ) ) + // InternalApplicationConfiguration.g:2585:4: (lv_millisecLimit_2_0= RULE_INT ) { - // InternalApplicationConfiguration.g:2820:4: (lv_millisecLimit_2_0= RULE_INT ) - // InternalApplicationConfiguration.g:2821:5: lv_millisecLimit_2_0= RULE_INT + // InternalApplicationConfiguration.g:2585:4: (lv_millisecLimit_2_0= RULE_INT ) + // InternalApplicationConfiguration.g:2586:5: lv_millisecLimit_2_0= RULE_INT { lv_millisecLimit_2_0=(Token)match(input,RULE_INT,FOLLOW_2); @@ -7789,7 +7129,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleMemoryEntry" - // InternalApplicationConfiguration.g:2841:1: entryRuleMemoryEntry returns [EObject current=null] : iv_ruleMemoryEntry= ruleMemoryEntry EOF ; + // InternalApplicationConfiguration.g:2606:1: entryRuleMemoryEntry returns [EObject current=null] : iv_ruleMemoryEntry= ruleMemoryEntry EOF ; public final EObject entryRuleMemoryEntry() throws RecognitionException { EObject current = null; @@ -7797,8 +7137,8 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:2841:52: (iv_ruleMemoryEntry= ruleMemoryEntry EOF ) - // InternalApplicationConfiguration.g:2842:2: iv_ruleMemoryEntry= ruleMemoryEntry EOF + // InternalApplicationConfiguration.g:2606:52: (iv_ruleMemoryEntry= ruleMemoryEntry EOF ) + // InternalApplicationConfiguration.g:2607:2: iv_ruleMemoryEntry= ruleMemoryEntry EOF { newCompositeNode(grammarAccess.getMemoryEntryRule()); pushFollow(FOLLOW_1); @@ -7825,7 +7165,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleMemoryEntry" - // InternalApplicationConfiguration.g:2848:1: ruleMemoryEntry returns [EObject current=null] : (otherlv_0= 'memory' otherlv_1= '=' ( (lv_megabyteLimit_2_0= RULE_INT ) ) ) ; + // InternalApplicationConfiguration.g:2613:1: ruleMemoryEntry returns [EObject current=null] : (otherlv_0= 'memory' otherlv_1= '=' ( (lv_megabyteLimit_2_0= RULE_INT ) ) ) ; public final EObject ruleMemoryEntry() throws RecognitionException { EObject current = null; @@ -7837,25 +7177,25 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:2854:2: ( (otherlv_0= 'memory' otherlv_1= '=' ( (lv_megabyteLimit_2_0= RULE_INT ) ) ) ) - // InternalApplicationConfiguration.g:2855:2: (otherlv_0= 'memory' otherlv_1= '=' ( (lv_megabyteLimit_2_0= RULE_INT ) ) ) + // InternalApplicationConfiguration.g:2619:2: ( (otherlv_0= 'memory' otherlv_1= '=' ( (lv_megabyteLimit_2_0= RULE_INT ) ) ) ) + // InternalApplicationConfiguration.g:2620:2: (otherlv_0= 'memory' otherlv_1= '=' ( (lv_megabyteLimit_2_0= RULE_INT ) ) ) { - // InternalApplicationConfiguration.g:2855:2: (otherlv_0= 'memory' otherlv_1= '=' ( (lv_megabyteLimit_2_0= RULE_INT ) ) ) - // InternalApplicationConfiguration.g:2856:3: otherlv_0= 'memory' otherlv_1= '=' ( (lv_megabyteLimit_2_0= RULE_INT ) ) + // InternalApplicationConfiguration.g:2620:2: (otherlv_0= 'memory' otherlv_1= '=' ( (lv_megabyteLimit_2_0= RULE_INT ) ) ) + // InternalApplicationConfiguration.g:2621:3: otherlv_0= 'memory' otherlv_1= '=' ( (lv_megabyteLimit_2_0= RULE_INT ) ) { - otherlv_0=(Token)match(input,36,FOLLOW_13); + otherlv_0=(Token)match(input,33,FOLLOW_12); newLeafNode(otherlv_0, grammarAccess.getMemoryEntryAccess().getMemoryKeyword_0()); - otherlv_1=(Token)match(input,18,FOLLOW_7); + otherlv_1=(Token)match(input,17,FOLLOW_7); newLeafNode(otherlv_1, grammarAccess.getMemoryEntryAccess().getEqualsSignKeyword_1()); - // InternalApplicationConfiguration.g:2864:3: ( (lv_megabyteLimit_2_0= RULE_INT ) ) - // InternalApplicationConfiguration.g:2865:4: (lv_megabyteLimit_2_0= RULE_INT ) + // InternalApplicationConfiguration.g:2629:3: ( (lv_megabyteLimit_2_0= RULE_INT ) ) + // InternalApplicationConfiguration.g:2630:4: (lv_megabyteLimit_2_0= RULE_INT ) { - // InternalApplicationConfiguration.g:2865:4: (lv_megabyteLimit_2_0= RULE_INT ) - // InternalApplicationConfiguration.g:2866:5: lv_megabyteLimit_2_0= RULE_INT + // InternalApplicationConfiguration.g:2630:4: (lv_megabyteLimit_2_0= RULE_INT ) + // InternalApplicationConfiguration.g:2631:5: lv_megabyteLimit_2_0= RULE_INT { lv_megabyteLimit_2_0=(Token)match(input,RULE_INT,FOLLOW_2); @@ -7900,7 +7240,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleCustomEntry" - // InternalApplicationConfiguration.g:2886:1: entryRuleCustomEntry returns [EObject current=null] : iv_ruleCustomEntry= ruleCustomEntry EOF ; + // InternalApplicationConfiguration.g:2651:1: entryRuleCustomEntry returns [EObject current=null] : iv_ruleCustomEntry= ruleCustomEntry EOF ; public final EObject entryRuleCustomEntry() throws RecognitionException { EObject current = null; @@ -7908,8 +7248,8 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:2886:52: (iv_ruleCustomEntry= ruleCustomEntry EOF ) - // InternalApplicationConfiguration.g:2887:2: iv_ruleCustomEntry= ruleCustomEntry EOF + // InternalApplicationConfiguration.g:2651:52: (iv_ruleCustomEntry= ruleCustomEntry EOF ) + // InternalApplicationConfiguration.g:2652:2: iv_ruleCustomEntry= ruleCustomEntry EOF { newCompositeNode(grammarAccess.getCustomEntryRule()); pushFollow(FOLLOW_1); @@ -7936,7 +7276,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleCustomEntry" - // InternalApplicationConfiguration.g:2893:1: ruleCustomEntry returns [EObject current=null] : ( ( (lv_key_0_0= RULE_STRING ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STRING ) ) ) ; + // InternalApplicationConfiguration.g:2658:1: ruleCustomEntry returns [EObject current=null] : ( ( (lv_key_0_0= RULE_STRING ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STRING ) ) ) ; public final EObject ruleCustomEntry() throws RecognitionException { EObject current = null; @@ -7948,19 +7288,19 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:2899:2: ( ( ( (lv_key_0_0= RULE_STRING ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STRING ) ) ) ) - // InternalApplicationConfiguration.g:2900:2: ( ( (lv_key_0_0= RULE_STRING ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STRING ) ) ) + // InternalApplicationConfiguration.g:2664:2: ( ( ( (lv_key_0_0= RULE_STRING ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STRING ) ) ) ) + // InternalApplicationConfiguration.g:2665:2: ( ( (lv_key_0_0= RULE_STRING ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STRING ) ) ) { - // InternalApplicationConfiguration.g:2900:2: ( ( (lv_key_0_0= RULE_STRING ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STRING ) ) ) - // InternalApplicationConfiguration.g:2901:3: ( (lv_key_0_0= RULE_STRING ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STRING ) ) + // InternalApplicationConfiguration.g:2665:2: ( ( (lv_key_0_0= RULE_STRING ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STRING ) ) ) + // InternalApplicationConfiguration.g:2666:3: ( (lv_key_0_0= RULE_STRING ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STRING ) ) { - // InternalApplicationConfiguration.g:2901:3: ( (lv_key_0_0= RULE_STRING ) ) - // InternalApplicationConfiguration.g:2902:4: (lv_key_0_0= RULE_STRING ) + // InternalApplicationConfiguration.g:2666:3: ( (lv_key_0_0= RULE_STRING ) ) + // InternalApplicationConfiguration.g:2667:4: (lv_key_0_0= RULE_STRING ) { - // InternalApplicationConfiguration.g:2902:4: (lv_key_0_0= RULE_STRING ) - // InternalApplicationConfiguration.g:2903:5: lv_key_0_0= RULE_STRING + // InternalApplicationConfiguration.g:2667:4: (lv_key_0_0= RULE_STRING ) + // InternalApplicationConfiguration.g:2668:5: lv_key_0_0= RULE_STRING { - lv_key_0_0=(Token)match(input,RULE_STRING,FOLLOW_13); + lv_key_0_0=(Token)match(input,RULE_STRING,FOLLOW_12); newLeafNode(lv_key_0_0, grammarAccess.getCustomEntryAccess().getKeySTRINGTerminalRuleCall_0_0()); @@ -7980,15 +7320,15 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - otherlv_1=(Token)match(input,18,FOLLOW_10); + otherlv_1=(Token)match(input,17,FOLLOW_10); newLeafNode(otherlv_1, grammarAccess.getCustomEntryAccess().getEqualsSignKeyword_1()); - // InternalApplicationConfiguration.g:2923:3: ( (lv_value_2_0= RULE_STRING ) ) - // InternalApplicationConfiguration.g:2924:4: (lv_value_2_0= RULE_STRING ) + // InternalApplicationConfiguration.g:2688:3: ( (lv_value_2_0= RULE_STRING ) ) + // InternalApplicationConfiguration.g:2689:4: (lv_value_2_0= RULE_STRING ) { - // InternalApplicationConfiguration.g:2924:4: (lv_value_2_0= RULE_STRING ) - // InternalApplicationConfiguration.g:2925:5: lv_value_2_0= RULE_STRING + // InternalApplicationConfiguration.g:2689:4: (lv_value_2_0= RULE_STRING ) + // InternalApplicationConfiguration.g:2690:5: lv_value_2_0= RULE_STRING { lv_value_2_0=(Token)match(input,RULE_STRING,FOLLOW_2); @@ -8033,7 +7373,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleConfigReference" - // InternalApplicationConfiguration.g:2945:1: entryRuleConfigReference returns [EObject current=null] : iv_ruleConfigReference= ruleConfigReference EOF ; + // InternalApplicationConfiguration.g:2710:1: entryRuleConfigReference returns [EObject current=null] : iv_ruleConfigReference= ruleConfigReference EOF ; public final EObject entryRuleConfigReference() throws RecognitionException { EObject current = null; @@ -8041,8 +7381,8 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:2945:56: (iv_ruleConfigReference= ruleConfigReference EOF ) - // InternalApplicationConfiguration.g:2946:2: iv_ruleConfigReference= ruleConfigReference EOF + // InternalApplicationConfiguration.g:2710:56: (iv_ruleConfigReference= ruleConfigReference EOF ) + // InternalApplicationConfiguration.g:2711:2: iv_ruleConfigReference= ruleConfigReference EOF { newCompositeNode(grammarAccess.getConfigReferenceRule()); pushFollow(FOLLOW_1); @@ -8069,7 +7409,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleConfigReference" - // InternalApplicationConfiguration.g:2952:1: ruleConfigReference returns [EObject current=null] : ( (otherlv_0= RULE_ID ) ) ; + // InternalApplicationConfiguration.g:2717:1: ruleConfigReference returns [EObject current=null] : ( (otherlv_0= RULE_ID ) ) ; public final EObject ruleConfigReference() throws RecognitionException { EObject current = null; @@ -8079,14 +7419,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:2958:2: ( ( (otherlv_0= RULE_ID ) ) ) - // InternalApplicationConfiguration.g:2959:2: ( (otherlv_0= RULE_ID ) ) + // InternalApplicationConfiguration.g:2723:2: ( ( (otherlv_0= RULE_ID ) ) ) + // InternalApplicationConfiguration.g:2724:2: ( (otherlv_0= RULE_ID ) ) { - // InternalApplicationConfiguration.g:2959:2: ( (otherlv_0= RULE_ID ) ) - // InternalApplicationConfiguration.g:2960:3: (otherlv_0= RULE_ID ) + // InternalApplicationConfiguration.g:2724:2: ( (otherlv_0= RULE_ID ) ) + // InternalApplicationConfiguration.g:2725:3: (otherlv_0= RULE_ID ) { - // InternalApplicationConfiguration.g:2960:3: (otherlv_0= RULE_ID ) - // InternalApplicationConfiguration.g:2961:4: otherlv_0= RULE_ID + // InternalApplicationConfiguration.g:2725:3: (otherlv_0= RULE_ID ) + // InternalApplicationConfiguration.g:2726:4: otherlv_0= RULE_ID { if (current==null) { @@ -8123,7 +7463,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleConfig" - // InternalApplicationConfiguration.g:2975:1: entryRuleConfig returns [EObject current=null] : iv_ruleConfig= ruleConfig EOF ; + // InternalApplicationConfiguration.g:2740:1: entryRuleConfig returns [EObject current=null] : iv_ruleConfig= ruleConfig EOF ; public final EObject entryRuleConfig() throws RecognitionException { EObject current = null; @@ -8131,8 +7471,8 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:2975:47: (iv_ruleConfig= ruleConfig EOF ) - // InternalApplicationConfiguration.g:2976:2: iv_ruleConfig= ruleConfig EOF + // InternalApplicationConfiguration.g:2740:47: (iv_ruleConfig= ruleConfig EOF ) + // InternalApplicationConfiguration.g:2741:2: iv_ruleConfig= ruleConfig EOF { newCompositeNode(grammarAccess.getConfigRule()); pushFollow(FOLLOW_1); @@ -8159,7 +7499,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleConfig" - // InternalApplicationConfiguration.g:2982:1: ruleConfig returns [EObject current=null] : (this_ConfigSpecification_0= ruleConfigSpecification | this_ConfigReference_1= ruleConfigReference ) ; + // InternalApplicationConfiguration.g:2747:1: ruleConfig returns [EObject current=null] : (this_ConfigSpecification_0= ruleConfigSpecification | this_ConfigReference_1= ruleConfigReference ) ; public final EObject ruleConfig() throws RecognitionException { EObject current = null; @@ -8172,28 +7512,28 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:2988:2: ( (this_ConfigSpecification_0= ruleConfigSpecification | this_ConfigReference_1= ruleConfigReference ) ) - // InternalApplicationConfiguration.g:2989:2: (this_ConfigSpecification_0= ruleConfigSpecification | this_ConfigReference_1= ruleConfigReference ) + // InternalApplicationConfiguration.g:2753:2: ( (this_ConfigSpecification_0= ruleConfigSpecification | this_ConfigReference_1= ruleConfigReference ) ) + // InternalApplicationConfiguration.g:2754:2: (this_ConfigSpecification_0= ruleConfigSpecification | this_ConfigReference_1= ruleConfigReference ) { - // InternalApplicationConfiguration.g:2989:2: (this_ConfigSpecification_0= ruleConfigSpecification | this_ConfigReference_1= ruleConfigReference ) - int alt39=2; - int LA39_0 = input.LA(1); + // InternalApplicationConfiguration.g:2754:2: (this_ConfigSpecification_0= ruleConfigSpecification | this_ConfigReference_1= ruleConfigReference ) + int alt35=2; + int LA35_0 = input.LA(1); - if ( (LA39_0==19) ) { - alt39=1; + if ( (LA35_0==18) ) { + alt35=1; } - else if ( (LA39_0==RULE_ID) ) { - alt39=2; + else if ( (LA35_0==RULE_ID) ) { + alt35=2; } else { NoViableAltException nvae = - new NoViableAltException("", 39, 0, input); + new NoViableAltException("", 35, 0, input); throw nvae; } - switch (alt39) { + switch (alt35) { case 1 : - // InternalApplicationConfiguration.g:2990:3: this_ConfigSpecification_0= ruleConfigSpecification + // InternalApplicationConfiguration.g:2755:3: this_ConfigSpecification_0= ruleConfigSpecification { newCompositeNode(grammarAccess.getConfigAccess().getConfigSpecificationParserRuleCall_0()); @@ -8211,7 +7551,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } break; case 2 : - // InternalApplicationConfiguration.g:2999:3: this_ConfigReference_1= ruleConfigReference + // InternalApplicationConfiguration.g:2764:3: this_ConfigReference_1= ruleConfigReference { newCompositeNode(grammarAccess.getConfigAccess().getConfigReferenceParserRuleCall_1()); @@ -8251,7 +7591,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleScopeSpecification" - // InternalApplicationConfiguration.g:3011:1: entryRuleScopeSpecification returns [EObject current=null] : iv_ruleScopeSpecification= ruleScopeSpecification EOF ; + // InternalApplicationConfiguration.g:2776:1: entryRuleScopeSpecification returns [EObject current=null] : iv_ruleScopeSpecification= ruleScopeSpecification EOF ; public final EObject entryRuleScopeSpecification() throws RecognitionException { EObject current = null; @@ -8259,8 +7599,8 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:3011:59: (iv_ruleScopeSpecification= ruleScopeSpecification EOF ) - // InternalApplicationConfiguration.g:3012:2: iv_ruleScopeSpecification= ruleScopeSpecification EOF + // InternalApplicationConfiguration.g:2776:59: (iv_ruleScopeSpecification= ruleScopeSpecification EOF ) + // InternalApplicationConfiguration.g:2777:2: iv_ruleScopeSpecification= ruleScopeSpecification EOF { newCompositeNode(grammarAccess.getScopeSpecificationRule()); pushFollow(FOLLOW_1); @@ -8287,7 +7627,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleScopeSpecification" - // InternalApplicationConfiguration.g:3018:1: ruleScopeSpecification returns [EObject current=null] : ( () otherlv_1= '{' ( ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* )? otherlv_5= '}' ) ; + // InternalApplicationConfiguration.g:2783:1: ruleScopeSpecification returns [EObject current=null] : ( () otherlv_1= '{' ( ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* )? otherlv_5= '}' ) ; public final EObject ruleScopeSpecification() throws RecognitionException { EObject current = null; @@ -8303,14 +7643,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:3024:2: ( ( () otherlv_1= '{' ( ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* )? otherlv_5= '}' ) ) - // InternalApplicationConfiguration.g:3025:2: ( () otherlv_1= '{' ( ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* )? otherlv_5= '}' ) + // InternalApplicationConfiguration.g:2789:2: ( ( () otherlv_1= '{' ( ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* )? otherlv_5= '}' ) ) + // InternalApplicationConfiguration.g:2790:2: ( () otherlv_1= '{' ( ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* )? otherlv_5= '}' ) { - // InternalApplicationConfiguration.g:3025:2: ( () otherlv_1= '{' ( ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* )? otherlv_5= '}' ) - // InternalApplicationConfiguration.g:3026:3: () otherlv_1= '{' ( ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* )? otherlv_5= '}' + // InternalApplicationConfiguration.g:2790:2: ( () otherlv_1= '{' ( ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* )? otherlv_5= '}' ) + // InternalApplicationConfiguration.g:2791:3: () otherlv_1= '{' ( ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* )? otherlv_5= '}' { - // InternalApplicationConfiguration.g:3026:3: () - // InternalApplicationConfiguration.g:3027:4: + // InternalApplicationConfiguration.g:2791:3: () + // InternalApplicationConfiguration.g:2792:4: { current = forceCreateModelElement( @@ -8320,31 +7660,31 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - otherlv_1=(Token)match(input,19,FOLLOW_29); + otherlv_1=(Token)match(input,18,FOLLOW_27); newLeafNode(otherlv_1, grammarAccess.getScopeSpecificationAccess().getLeftCurlyBracketKeyword_1()); - // InternalApplicationConfiguration.g:3037:3: ( ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* )? - int alt41=2; - int LA41_0 = input.LA(1); + // InternalApplicationConfiguration.g:2802:3: ( ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* )? + int alt37=2; + int LA37_0 = input.LA(1); - if ( (LA41_0==37) ) { - alt41=1; + if ( (LA37_0==34) ) { + alt37=1; } - switch (alt41) { + switch (alt37) { case 1 : - // InternalApplicationConfiguration.g:3038:4: ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* + // InternalApplicationConfiguration.g:2803:4: ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* { - // InternalApplicationConfiguration.g:3038:4: ( (lv_scopes_2_0= ruleTypeScope ) ) - // InternalApplicationConfiguration.g:3039:5: (lv_scopes_2_0= ruleTypeScope ) + // InternalApplicationConfiguration.g:2803:4: ( (lv_scopes_2_0= ruleTypeScope ) ) + // InternalApplicationConfiguration.g:2804:5: (lv_scopes_2_0= ruleTypeScope ) { - // InternalApplicationConfiguration.g:3039:5: (lv_scopes_2_0= ruleTypeScope ) - // InternalApplicationConfiguration.g:3040:6: lv_scopes_2_0= ruleTypeScope + // InternalApplicationConfiguration.g:2804:5: (lv_scopes_2_0= ruleTypeScope ) + // InternalApplicationConfiguration.g:2805:6: lv_scopes_2_0= ruleTypeScope { newCompositeNode(grammarAccess.getScopeSpecificationAccess().getScopesTypeScopeParserRuleCall_2_0_0()); - pushFollow(FOLLOW_15); + pushFollow(FOLLOW_14); lv_scopes_2_0=ruleTypeScope(); state._fsp--; @@ -8366,35 +7706,35 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - // InternalApplicationConfiguration.g:3057:4: (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* - loop40: + // InternalApplicationConfiguration.g:2822:4: (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* + loop36: do { - int alt40=2; - int LA40_0 = input.LA(1); + int alt36=2; + int LA36_0 = input.LA(1); - if ( (LA40_0==20) ) { - alt40=1; + if ( (LA36_0==19) ) { + alt36=1; } - switch (alt40) { + switch (alt36) { case 1 : - // InternalApplicationConfiguration.g:3058:5: otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) + // InternalApplicationConfiguration.g:2823:5: otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) { - otherlv_3=(Token)match(input,20,FOLLOW_30); + otherlv_3=(Token)match(input,19,FOLLOW_28); newLeafNode(otherlv_3, grammarAccess.getScopeSpecificationAccess().getCommaKeyword_2_1_0()); - // InternalApplicationConfiguration.g:3062:5: ( (lv_scopes_4_0= ruleTypeScope ) ) - // InternalApplicationConfiguration.g:3063:6: (lv_scopes_4_0= ruleTypeScope ) + // InternalApplicationConfiguration.g:2827:5: ( (lv_scopes_4_0= ruleTypeScope ) ) + // InternalApplicationConfiguration.g:2828:6: (lv_scopes_4_0= ruleTypeScope ) { - // InternalApplicationConfiguration.g:3063:6: (lv_scopes_4_0= ruleTypeScope ) - // InternalApplicationConfiguration.g:3064:7: lv_scopes_4_0= ruleTypeScope + // InternalApplicationConfiguration.g:2828:6: (lv_scopes_4_0= ruleTypeScope ) + // InternalApplicationConfiguration.g:2829:7: lv_scopes_4_0= ruleTypeScope { newCompositeNode(grammarAccess.getScopeSpecificationAccess().getScopesTypeScopeParserRuleCall_2_1_1_0()); - pushFollow(FOLLOW_15); + pushFollow(FOLLOW_14); lv_scopes_4_0=ruleTypeScope(); state._fsp--; @@ -8421,7 +7761,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl break; default : - break loop40; + break loop36; } } while (true); @@ -8431,7 +7771,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - otherlv_5=(Token)match(input,21,FOLLOW_2); + otherlv_5=(Token)match(input,20,FOLLOW_2); newLeafNode(otherlv_5, grammarAccess.getScopeSpecificationAccess().getRightCurlyBracketKeyword_3()); @@ -8458,7 +7798,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleTypeScope" - // InternalApplicationConfiguration.g:3091:1: entryRuleTypeScope returns [EObject current=null] : iv_ruleTypeScope= ruleTypeScope EOF ; + // InternalApplicationConfiguration.g:2856:1: entryRuleTypeScope returns [EObject current=null] : iv_ruleTypeScope= ruleTypeScope EOF ; public final EObject entryRuleTypeScope() throws RecognitionException { EObject current = null; @@ -8466,8 +7806,8 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:3091:50: (iv_ruleTypeScope= ruleTypeScope EOF ) - // InternalApplicationConfiguration.g:3092:2: iv_ruleTypeScope= ruleTypeScope EOF + // InternalApplicationConfiguration.g:2856:50: (iv_ruleTypeScope= ruleTypeScope EOF ) + // InternalApplicationConfiguration.g:2857:2: iv_ruleTypeScope= ruleTypeScope EOF { newCompositeNode(grammarAccess.getTypeScopeRule()); pushFollow(FOLLOW_1); @@ -8494,7 +7834,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleTypeScope" - // InternalApplicationConfiguration.g:3098:1: ruleTypeScope returns [EObject current=null] : (this_ClassTypeScope_0= ruleClassTypeScope | this_ObjectTypeScope_1= ruleObjectTypeScope | this_IntegerTypeScope_2= ruleIntegerTypeScope | this_RealTypeScope_3= ruleRealTypeScope | this_StringTypeScope_4= ruleStringTypeScope ) ; + // InternalApplicationConfiguration.g:2863:1: ruleTypeScope returns [EObject current=null] : (this_ClassTypeScope_0= ruleClassTypeScope | this_ObjectTypeScope_1= ruleObjectTypeScope | this_IntegerTypeScope_2= ruleIntegerTypeScope | this_RealTypeScope_3= ruleRealTypeScope | this_StringTypeScope_4= ruleStringTypeScope ) ; public final EObject ruleTypeScope() throws RecognitionException { EObject current = null; @@ -8513,43 +7853,43 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:3104:2: ( (this_ClassTypeScope_0= ruleClassTypeScope | this_ObjectTypeScope_1= ruleObjectTypeScope | this_IntegerTypeScope_2= ruleIntegerTypeScope | this_RealTypeScope_3= ruleRealTypeScope | this_StringTypeScope_4= ruleStringTypeScope ) ) - // InternalApplicationConfiguration.g:3105:2: (this_ClassTypeScope_0= ruleClassTypeScope | this_ObjectTypeScope_1= ruleObjectTypeScope | this_IntegerTypeScope_2= ruleIntegerTypeScope | this_RealTypeScope_3= ruleRealTypeScope | this_StringTypeScope_4= ruleStringTypeScope ) + // InternalApplicationConfiguration.g:2869:2: ( (this_ClassTypeScope_0= ruleClassTypeScope | this_ObjectTypeScope_1= ruleObjectTypeScope | this_IntegerTypeScope_2= ruleIntegerTypeScope | this_RealTypeScope_3= ruleRealTypeScope | this_StringTypeScope_4= ruleStringTypeScope ) ) + // InternalApplicationConfiguration.g:2870:2: (this_ClassTypeScope_0= ruleClassTypeScope | this_ObjectTypeScope_1= ruleObjectTypeScope | this_IntegerTypeScope_2= ruleIntegerTypeScope | this_RealTypeScope_3= ruleRealTypeScope | this_StringTypeScope_4= ruleStringTypeScope ) { - // InternalApplicationConfiguration.g:3105:2: (this_ClassTypeScope_0= ruleClassTypeScope | this_ObjectTypeScope_1= ruleObjectTypeScope | this_IntegerTypeScope_2= ruleIntegerTypeScope | this_RealTypeScope_3= ruleRealTypeScope | this_StringTypeScope_4= ruleStringTypeScope ) - int alt42=5; - int LA42_0 = input.LA(1); + // InternalApplicationConfiguration.g:2870:2: (this_ClassTypeScope_0= ruleClassTypeScope | this_ObjectTypeScope_1= ruleObjectTypeScope | this_IntegerTypeScope_2= ruleIntegerTypeScope | this_RealTypeScope_3= ruleRealTypeScope | this_StringTypeScope_4= ruleStringTypeScope ) + int alt38=5; + int LA38_0 = input.LA(1); - if ( (LA42_0==37) ) { + if ( (LA38_0==34) ) { switch ( input.LA(2) ) { case 39: { - alt42=1; + alt38=3; } break; - case 41: + case 40: { - alt42=2; + alt38=4; } break; - case 42: + case 41: { - alt42=3; + alt38=5; } break; - case 43: + case 36: { - alt42=4; + alt38=1; } break; - case 44: + case 38: { - alt42=5; + alt38=2; } break; default: NoViableAltException nvae = - new NoViableAltException("", 42, 1, input); + new NoViableAltException("", 38, 1, input); throw nvae; } @@ -8557,13 +7897,13 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } else { NoViableAltException nvae = - new NoViableAltException("", 42, 0, input); + new NoViableAltException("", 38, 0, input); throw nvae; } - switch (alt42) { + switch (alt38) { case 1 : - // InternalApplicationConfiguration.g:3106:3: this_ClassTypeScope_0= ruleClassTypeScope + // InternalApplicationConfiguration.g:2871:3: this_ClassTypeScope_0= ruleClassTypeScope { newCompositeNode(grammarAccess.getTypeScopeAccess().getClassTypeScopeParserRuleCall_0()); @@ -8581,7 +7921,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } break; case 2 : - // InternalApplicationConfiguration.g:3115:3: this_ObjectTypeScope_1= ruleObjectTypeScope + // InternalApplicationConfiguration.g:2880:3: this_ObjectTypeScope_1= ruleObjectTypeScope { newCompositeNode(grammarAccess.getTypeScopeAccess().getObjectTypeScopeParserRuleCall_1()); @@ -8599,7 +7939,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } break; case 3 : - // InternalApplicationConfiguration.g:3124:3: this_IntegerTypeScope_2= ruleIntegerTypeScope + // InternalApplicationConfiguration.g:2889:3: this_IntegerTypeScope_2= ruleIntegerTypeScope { newCompositeNode(grammarAccess.getTypeScopeAccess().getIntegerTypeScopeParserRuleCall_2()); @@ -8617,7 +7957,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } break; case 4 : - // InternalApplicationConfiguration.g:3133:3: this_RealTypeScope_3= ruleRealTypeScope + // InternalApplicationConfiguration.g:2898:3: this_RealTypeScope_3= ruleRealTypeScope { newCompositeNode(grammarAccess.getTypeScopeAccess().getRealTypeScopeParserRuleCall_3()); @@ -8635,7 +7975,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } break; case 5 : - // InternalApplicationConfiguration.g:3142:3: this_StringTypeScope_4= ruleStringTypeScope + // InternalApplicationConfiguration.g:2907:3: this_StringTypeScope_4= ruleStringTypeScope { newCompositeNode(grammarAccess.getTypeScopeAccess().getStringTypeScopeParserRuleCall_4()); @@ -8675,7 +8015,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleClassTypeScope" - // InternalApplicationConfiguration.g:3154:1: entryRuleClassTypeScope returns [EObject current=null] : iv_ruleClassTypeScope= ruleClassTypeScope EOF ; + // InternalApplicationConfiguration.g:2919:1: entryRuleClassTypeScope returns [EObject current=null] : iv_ruleClassTypeScope= ruleClassTypeScope EOF ; public final EObject entryRuleClassTypeScope() throws RecognitionException { EObject current = null; @@ -8683,8 +8023,8 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:3154:55: (iv_ruleClassTypeScope= ruleClassTypeScope EOF ) - // InternalApplicationConfiguration.g:3155:2: iv_ruleClassTypeScope= ruleClassTypeScope EOF + // InternalApplicationConfiguration.g:2919:55: (iv_ruleClassTypeScope= ruleClassTypeScope EOF ) + // InternalApplicationConfiguration.g:2920:2: iv_ruleClassTypeScope= ruleClassTypeScope EOF { newCompositeNode(grammarAccess.getClassTypeScopeRule()); pushFollow(FOLLOW_1); @@ -8711,7 +8051,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleClassTypeScope" - // InternalApplicationConfiguration.g:3161:1: ruleClassTypeScope returns [EObject current=null] : (otherlv_0= '#' ( (lv_type_1_0= ruleClassReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) ) ; + // InternalApplicationConfiguration.g:2926:1: ruleClassTypeScope returns [EObject current=null] : (otherlv_0= '#' ( (lv_type_1_0= ruleClassReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) ) ; public final EObject ruleClassTypeScope() throws RecognitionException { EObject current = null; @@ -8729,26 +8069,26 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:3167:2: ( (otherlv_0= '#' ( (lv_type_1_0= ruleClassReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) ) ) - // InternalApplicationConfiguration.g:3168:2: (otherlv_0= '#' ( (lv_type_1_0= ruleClassReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) ) + // InternalApplicationConfiguration.g:2932:2: ( (otherlv_0= '#' ( (lv_type_1_0= ruleClassReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) ) ) + // InternalApplicationConfiguration.g:2933:2: (otherlv_0= '#' ( (lv_type_1_0= ruleClassReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) ) { - // InternalApplicationConfiguration.g:3168:2: (otherlv_0= '#' ( (lv_type_1_0= ruleClassReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) ) - // InternalApplicationConfiguration.g:3169:3: otherlv_0= '#' ( (lv_type_1_0= ruleClassReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) + // InternalApplicationConfiguration.g:2933:2: (otherlv_0= '#' ( (lv_type_1_0= ruleClassReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) ) + // InternalApplicationConfiguration.g:2934:3: otherlv_0= '#' ( (lv_type_1_0= ruleClassReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) { - otherlv_0=(Token)match(input,37,FOLLOW_31); + otherlv_0=(Token)match(input,34,FOLLOW_29); newLeafNode(otherlv_0, grammarAccess.getClassTypeScopeAccess().getNumberSignKeyword_0()); - // InternalApplicationConfiguration.g:3173:3: ( (lv_type_1_0= ruleClassReference ) ) - // InternalApplicationConfiguration.g:3174:4: (lv_type_1_0= ruleClassReference ) + // InternalApplicationConfiguration.g:2938:3: ( (lv_type_1_0= ruleClassReference ) ) + // InternalApplicationConfiguration.g:2939:4: (lv_type_1_0= ruleClassReference ) { - // InternalApplicationConfiguration.g:3174:4: (lv_type_1_0= ruleClassReference ) - // InternalApplicationConfiguration.g:3175:5: lv_type_1_0= ruleClassReference + // InternalApplicationConfiguration.g:2939:4: (lv_type_1_0= ruleClassReference ) + // InternalApplicationConfiguration.g:2940:5: lv_type_1_0= ruleClassReference { newCompositeNode(grammarAccess.getClassTypeScopeAccess().getTypeClassReferenceParserRuleCall_1_0()); - pushFollow(FOLLOW_32); + pushFollow(FOLLOW_30); lv_type_1_0=ruleClassReference(); state._fsp--; @@ -8770,33 +8110,33 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - // InternalApplicationConfiguration.g:3192:3: ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) - int alt43=2; - int LA43_0 = input.LA(1); + // InternalApplicationConfiguration.g:2957:3: ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) + int alt39=2; + int LA39_0 = input.LA(1); - if ( (LA43_0==38) ) { - alt43=1; + if ( (LA39_0==35) ) { + alt39=1; } - else if ( (LA43_0==18) ) { - alt43=2; + else if ( (LA39_0==17) ) { + alt39=2; } else { NoViableAltException nvae = - new NoViableAltException("", 43, 0, input); + new NoViableAltException("", 39, 0, input); throw nvae; } - switch (alt43) { + switch (alt39) { case 1 : - // InternalApplicationConfiguration.g:3193:4: ( (lv_setsNew_2_0= '+=' ) ) + // InternalApplicationConfiguration.g:2958:4: ( (lv_setsNew_2_0= '+=' ) ) { - // InternalApplicationConfiguration.g:3193:4: ( (lv_setsNew_2_0= '+=' ) ) - // InternalApplicationConfiguration.g:3194:5: (lv_setsNew_2_0= '+=' ) + // InternalApplicationConfiguration.g:2958:4: ( (lv_setsNew_2_0= '+=' ) ) + // InternalApplicationConfiguration.g:2959:5: (lv_setsNew_2_0= '+=' ) { - // InternalApplicationConfiguration.g:3194:5: (lv_setsNew_2_0= '+=' ) - // InternalApplicationConfiguration.g:3195:6: lv_setsNew_2_0= '+=' + // InternalApplicationConfiguration.g:2959:5: (lv_setsNew_2_0= '+=' ) + // InternalApplicationConfiguration.g:2960:6: lv_setsNew_2_0= '+=' { - lv_setsNew_2_0=(Token)match(input,38,FOLLOW_33); + lv_setsNew_2_0=(Token)match(input,35,FOLLOW_31); newLeafNode(lv_setsNew_2_0, grammarAccess.getClassTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); @@ -8816,15 +8156,15 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } break; case 2 : - // InternalApplicationConfiguration.g:3208:4: ( (lv_setsSum_3_0= '=' ) ) + // InternalApplicationConfiguration.g:2973:4: ( (lv_setsSum_3_0= '=' ) ) { - // InternalApplicationConfiguration.g:3208:4: ( (lv_setsSum_3_0= '=' ) ) - // InternalApplicationConfiguration.g:3209:5: (lv_setsSum_3_0= '=' ) + // InternalApplicationConfiguration.g:2973:4: ( (lv_setsSum_3_0= '=' ) ) + // InternalApplicationConfiguration.g:2974:5: (lv_setsSum_3_0= '=' ) { - // InternalApplicationConfiguration.g:3209:5: (lv_setsSum_3_0= '=' ) - // InternalApplicationConfiguration.g:3210:6: lv_setsSum_3_0= '=' + // InternalApplicationConfiguration.g:2974:5: (lv_setsSum_3_0= '=' ) + // InternalApplicationConfiguration.g:2975:6: lv_setsSum_3_0= '=' { - lv_setsSum_3_0=(Token)match(input,18,FOLLOW_33); + lv_setsSum_3_0=(Token)match(input,17,FOLLOW_31); newLeafNode(lv_setsSum_3_0, grammarAccess.getClassTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); @@ -8846,44 +8186,44 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - // InternalApplicationConfiguration.g:3223:3: ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) - int alt44=2; - int LA44_0 = input.LA(1); + // InternalApplicationConfiguration.g:2988:3: ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) + int alt40=2; + int LA40_0 = input.LA(1); - if ( (LA44_0==RULE_INT) ) { - int LA44_1 = input.LA(2); + if ( (LA40_0==RULE_INT) ) { + int LA40_1 = input.LA(2); - if ( (LA44_1==EOF||(LA44_1>=20 && LA44_1<=21)) ) { - alt44=1; + if ( (LA40_1==EOF||(LA40_1>=19 && LA40_1<=20)) ) { + alt40=1; } - else if ( (LA44_1==46) ) { - alt44=2; + else if ( (LA40_1==43) ) { + alt40=2; } else { NoViableAltException nvae = - new NoViableAltException("", 44, 1, input); + new NoViableAltException("", 40, 1, input); throw nvae; } } - else if ( (LA44_0==45) ) { - alt44=1; + else if ( (LA40_0==42) ) { + alt40=1; } else { NoViableAltException nvae = - new NoViableAltException("", 44, 0, input); + new NoViableAltException("", 40, 0, input); throw nvae; } - switch (alt44) { + switch (alt40) { case 1 : - // InternalApplicationConfiguration.g:3224:4: ( (lv_number_4_0= ruleExactNumber ) ) + // InternalApplicationConfiguration.g:2989:4: ( (lv_number_4_0= ruleExactNumber ) ) { - // InternalApplicationConfiguration.g:3224:4: ( (lv_number_4_0= ruleExactNumber ) ) - // InternalApplicationConfiguration.g:3225:5: (lv_number_4_0= ruleExactNumber ) + // InternalApplicationConfiguration.g:2989:4: ( (lv_number_4_0= ruleExactNumber ) ) + // InternalApplicationConfiguration.g:2990:5: (lv_number_4_0= ruleExactNumber ) { - // InternalApplicationConfiguration.g:3225:5: (lv_number_4_0= ruleExactNumber ) - // InternalApplicationConfiguration.g:3226:6: lv_number_4_0= ruleExactNumber + // InternalApplicationConfiguration.g:2990:5: (lv_number_4_0= ruleExactNumber ) + // InternalApplicationConfiguration.g:2991:6: lv_number_4_0= ruleExactNumber { newCompositeNode(grammarAccess.getClassTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0()); @@ -8914,13 +8254,13 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } break; case 2 : - // InternalApplicationConfiguration.g:3244:4: ( (lv_number_5_0= ruleIntervallNumber ) ) + // InternalApplicationConfiguration.g:3009:4: ( (lv_number_5_0= ruleIntervallNumber ) ) { - // InternalApplicationConfiguration.g:3244:4: ( (lv_number_5_0= ruleIntervallNumber ) ) - // InternalApplicationConfiguration.g:3245:5: (lv_number_5_0= ruleIntervallNumber ) + // InternalApplicationConfiguration.g:3009:4: ( (lv_number_5_0= ruleIntervallNumber ) ) + // InternalApplicationConfiguration.g:3010:5: (lv_number_5_0= ruleIntervallNumber ) { - // InternalApplicationConfiguration.g:3245:5: (lv_number_5_0= ruleIntervallNumber ) - // InternalApplicationConfiguration.g:3246:6: lv_number_5_0= ruleIntervallNumber + // InternalApplicationConfiguration.g:3010:5: (lv_number_5_0= ruleIntervallNumber ) + // InternalApplicationConfiguration.g:3011:6: lv_number_5_0= ruleIntervallNumber { newCompositeNode(grammarAccess.getClassTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0()); @@ -8976,7 +8316,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleObjectTypeScope" - // InternalApplicationConfiguration.g:3268:1: entryRuleObjectTypeScope returns [EObject current=null] : iv_ruleObjectTypeScope= ruleObjectTypeScope EOF ; + // InternalApplicationConfiguration.g:3033:1: entryRuleObjectTypeScope returns [EObject current=null] : iv_ruleObjectTypeScope= ruleObjectTypeScope EOF ; public final EObject entryRuleObjectTypeScope() throws RecognitionException { EObject current = null; @@ -8984,8 +8324,8 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:3268:56: (iv_ruleObjectTypeScope= ruleObjectTypeScope EOF ) - // InternalApplicationConfiguration.g:3269:2: iv_ruleObjectTypeScope= ruleObjectTypeScope EOF + // InternalApplicationConfiguration.g:3033:56: (iv_ruleObjectTypeScope= ruleObjectTypeScope EOF ) + // InternalApplicationConfiguration.g:3034:2: iv_ruleObjectTypeScope= ruleObjectTypeScope EOF { newCompositeNode(grammarAccess.getObjectTypeScopeRule()); pushFollow(FOLLOW_1); @@ -9012,7 +8352,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleObjectTypeScope" - // InternalApplicationConfiguration.g:3275:1: ruleObjectTypeScope returns [EObject current=null] : (otherlv_0= '#' ( (lv_type_1_0= ruleObjectReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) ) ; + // InternalApplicationConfiguration.g:3040:1: ruleObjectTypeScope returns [EObject current=null] : (otherlv_0= '#' ( (lv_type_1_0= ruleObjectReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) ) ; public final EObject ruleObjectTypeScope() throws RecognitionException { EObject current = null; @@ -9030,26 +8370,26 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:3281:2: ( (otherlv_0= '#' ( (lv_type_1_0= ruleObjectReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) ) ) - // InternalApplicationConfiguration.g:3282:2: (otherlv_0= '#' ( (lv_type_1_0= ruleObjectReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) ) + // InternalApplicationConfiguration.g:3046:2: ( (otherlv_0= '#' ( (lv_type_1_0= ruleObjectReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) ) ) + // InternalApplicationConfiguration.g:3047:2: (otherlv_0= '#' ( (lv_type_1_0= ruleObjectReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) ) { - // InternalApplicationConfiguration.g:3282:2: (otherlv_0= '#' ( (lv_type_1_0= ruleObjectReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) ) - // InternalApplicationConfiguration.g:3283:3: otherlv_0= '#' ( (lv_type_1_0= ruleObjectReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) + // InternalApplicationConfiguration.g:3047:2: (otherlv_0= '#' ( (lv_type_1_0= ruleObjectReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) ) + // InternalApplicationConfiguration.g:3048:3: otherlv_0= '#' ( (lv_type_1_0= ruleObjectReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) { - otherlv_0=(Token)match(input,37,FOLLOW_34); + otherlv_0=(Token)match(input,34,FOLLOW_32); newLeafNode(otherlv_0, grammarAccess.getObjectTypeScopeAccess().getNumberSignKeyword_0()); - // InternalApplicationConfiguration.g:3287:3: ( (lv_type_1_0= ruleObjectReference ) ) - // InternalApplicationConfiguration.g:3288:4: (lv_type_1_0= ruleObjectReference ) + // InternalApplicationConfiguration.g:3052:3: ( (lv_type_1_0= ruleObjectReference ) ) + // InternalApplicationConfiguration.g:3053:4: (lv_type_1_0= ruleObjectReference ) { - // InternalApplicationConfiguration.g:3288:4: (lv_type_1_0= ruleObjectReference ) - // InternalApplicationConfiguration.g:3289:5: lv_type_1_0= ruleObjectReference + // InternalApplicationConfiguration.g:3053:4: (lv_type_1_0= ruleObjectReference ) + // InternalApplicationConfiguration.g:3054:5: lv_type_1_0= ruleObjectReference { newCompositeNode(grammarAccess.getObjectTypeScopeAccess().getTypeObjectReferenceParserRuleCall_1_0()); - pushFollow(FOLLOW_32); + pushFollow(FOLLOW_30); lv_type_1_0=ruleObjectReference(); state._fsp--; @@ -9071,33 +8411,33 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - // InternalApplicationConfiguration.g:3306:3: ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) - int alt45=2; - int LA45_0 = input.LA(1); + // InternalApplicationConfiguration.g:3071:3: ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) + int alt41=2; + int LA41_0 = input.LA(1); - if ( (LA45_0==38) ) { - alt45=1; + if ( (LA41_0==35) ) { + alt41=1; } - else if ( (LA45_0==18) ) { - alt45=2; + else if ( (LA41_0==17) ) { + alt41=2; } else { NoViableAltException nvae = - new NoViableAltException("", 45, 0, input); + new NoViableAltException("", 41, 0, input); throw nvae; } - switch (alt45) { + switch (alt41) { case 1 : - // InternalApplicationConfiguration.g:3307:4: ( (lv_setsNew_2_0= '+=' ) ) + // InternalApplicationConfiguration.g:3072:4: ( (lv_setsNew_2_0= '+=' ) ) { - // InternalApplicationConfiguration.g:3307:4: ( (lv_setsNew_2_0= '+=' ) ) - // InternalApplicationConfiguration.g:3308:5: (lv_setsNew_2_0= '+=' ) + // InternalApplicationConfiguration.g:3072:4: ( (lv_setsNew_2_0= '+=' ) ) + // InternalApplicationConfiguration.g:3073:5: (lv_setsNew_2_0= '+=' ) { - // InternalApplicationConfiguration.g:3308:5: (lv_setsNew_2_0= '+=' ) - // InternalApplicationConfiguration.g:3309:6: lv_setsNew_2_0= '+=' + // InternalApplicationConfiguration.g:3073:5: (lv_setsNew_2_0= '+=' ) + // InternalApplicationConfiguration.g:3074:6: lv_setsNew_2_0= '+=' { - lv_setsNew_2_0=(Token)match(input,38,FOLLOW_33); + lv_setsNew_2_0=(Token)match(input,35,FOLLOW_31); newLeafNode(lv_setsNew_2_0, grammarAccess.getObjectTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); @@ -9117,15 +8457,15 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } break; case 2 : - // InternalApplicationConfiguration.g:3322:4: ( (lv_setsSum_3_0= '=' ) ) + // InternalApplicationConfiguration.g:3087:4: ( (lv_setsSum_3_0= '=' ) ) { - // InternalApplicationConfiguration.g:3322:4: ( (lv_setsSum_3_0= '=' ) ) - // InternalApplicationConfiguration.g:3323:5: (lv_setsSum_3_0= '=' ) + // InternalApplicationConfiguration.g:3087:4: ( (lv_setsSum_3_0= '=' ) ) + // InternalApplicationConfiguration.g:3088:5: (lv_setsSum_3_0= '=' ) { - // InternalApplicationConfiguration.g:3323:5: (lv_setsSum_3_0= '=' ) - // InternalApplicationConfiguration.g:3324:6: lv_setsSum_3_0= '=' + // InternalApplicationConfiguration.g:3088:5: (lv_setsSum_3_0= '=' ) + // InternalApplicationConfiguration.g:3089:6: lv_setsSum_3_0= '=' { - lv_setsSum_3_0=(Token)match(input,18,FOLLOW_33); + lv_setsSum_3_0=(Token)match(input,17,FOLLOW_31); newLeafNode(lv_setsSum_3_0, grammarAccess.getObjectTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); @@ -9147,44 +8487,44 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - // InternalApplicationConfiguration.g:3337:3: ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) - int alt46=2; - int LA46_0 = input.LA(1); + // InternalApplicationConfiguration.g:3102:3: ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) + int alt42=2; + int LA42_0 = input.LA(1); - if ( (LA46_0==RULE_INT) ) { - int LA46_1 = input.LA(2); + if ( (LA42_0==RULE_INT) ) { + int LA42_1 = input.LA(2); - if ( (LA46_1==EOF||(LA46_1>=20 && LA46_1<=21)) ) { - alt46=1; + if ( (LA42_1==EOF||(LA42_1>=19 && LA42_1<=20)) ) { + alt42=1; } - else if ( (LA46_1==46) ) { - alt46=2; + else if ( (LA42_1==43) ) { + alt42=2; } else { NoViableAltException nvae = - new NoViableAltException("", 46, 1, input); + new NoViableAltException("", 42, 1, input); throw nvae; } } - else if ( (LA46_0==45) ) { - alt46=1; + else if ( (LA42_0==42) ) { + alt42=1; } else { NoViableAltException nvae = - new NoViableAltException("", 46, 0, input); + new NoViableAltException("", 42, 0, input); throw nvae; } - switch (alt46) { + switch (alt42) { case 1 : - // InternalApplicationConfiguration.g:3338:4: ( (lv_number_4_0= ruleExactNumber ) ) + // InternalApplicationConfiguration.g:3103:4: ( (lv_number_4_0= ruleExactNumber ) ) { - // InternalApplicationConfiguration.g:3338:4: ( (lv_number_4_0= ruleExactNumber ) ) - // InternalApplicationConfiguration.g:3339:5: (lv_number_4_0= ruleExactNumber ) + // InternalApplicationConfiguration.g:3103:4: ( (lv_number_4_0= ruleExactNumber ) ) + // InternalApplicationConfiguration.g:3104:5: (lv_number_4_0= ruleExactNumber ) { - // InternalApplicationConfiguration.g:3339:5: (lv_number_4_0= ruleExactNumber ) - // InternalApplicationConfiguration.g:3340:6: lv_number_4_0= ruleExactNumber + // InternalApplicationConfiguration.g:3104:5: (lv_number_4_0= ruleExactNumber ) + // InternalApplicationConfiguration.g:3105:6: lv_number_4_0= ruleExactNumber { newCompositeNode(grammarAccess.getObjectTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0()); @@ -9215,13 +8555,13 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } break; case 2 : - // InternalApplicationConfiguration.g:3358:4: ( (lv_number_5_0= ruleIntervallNumber ) ) + // InternalApplicationConfiguration.g:3123:4: ( (lv_number_5_0= ruleIntervallNumber ) ) { - // InternalApplicationConfiguration.g:3358:4: ( (lv_number_5_0= ruleIntervallNumber ) ) - // InternalApplicationConfiguration.g:3359:5: (lv_number_5_0= ruleIntervallNumber ) + // InternalApplicationConfiguration.g:3123:4: ( (lv_number_5_0= ruleIntervallNumber ) ) + // InternalApplicationConfiguration.g:3124:5: (lv_number_5_0= ruleIntervallNumber ) { - // InternalApplicationConfiguration.g:3359:5: (lv_number_5_0= ruleIntervallNumber ) - // InternalApplicationConfiguration.g:3360:6: lv_number_5_0= ruleIntervallNumber + // InternalApplicationConfiguration.g:3124:5: (lv_number_5_0= ruleIntervallNumber ) + // InternalApplicationConfiguration.g:3125:6: lv_number_5_0= ruleIntervallNumber { newCompositeNode(grammarAccess.getObjectTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0()); @@ -9277,7 +8617,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleIntegerTypeScope" - // InternalApplicationConfiguration.g:3382:1: entryRuleIntegerTypeScope returns [EObject current=null] : iv_ruleIntegerTypeScope= ruleIntegerTypeScope EOF ; + // InternalApplicationConfiguration.g:3147:1: entryRuleIntegerTypeScope returns [EObject current=null] : iv_ruleIntegerTypeScope= ruleIntegerTypeScope EOF ; public final EObject entryRuleIntegerTypeScope() throws RecognitionException { EObject current = null; @@ -9285,8 +8625,8 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:3382:57: (iv_ruleIntegerTypeScope= ruleIntegerTypeScope EOF ) - // InternalApplicationConfiguration.g:3383:2: iv_ruleIntegerTypeScope= ruleIntegerTypeScope EOF + // InternalApplicationConfiguration.g:3147:57: (iv_ruleIntegerTypeScope= ruleIntegerTypeScope EOF ) + // InternalApplicationConfiguration.g:3148:2: iv_ruleIntegerTypeScope= ruleIntegerTypeScope EOF { newCompositeNode(grammarAccess.getIntegerTypeScopeRule()); pushFollow(FOLLOW_1); @@ -9313,7 +8653,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleIntegerTypeScope" - // InternalApplicationConfiguration.g:3389:1: ruleIntegerTypeScope returns [EObject current=null] : (otherlv_0= '#' ( (lv_type_1_0= ruleIntegerReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleIntEnumberation ) ) ) ) ; + // InternalApplicationConfiguration.g:3154:1: ruleIntegerTypeScope returns [EObject current=null] : (otherlv_0= '#' ( (lv_type_1_0= ruleIntegerReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleIntEnumberation ) ) ) ) ; public final EObject ruleIntegerTypeScope() throws RecognitionException { EObject current = null; @@ -9333,26 +8673,26 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:3395:2: ( (otherlv_0= '#' ( (lv_type_1_0= ruleIntegerReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleIntEnumberation ) ) ) ) ) - // InternalApplicationConfiguration.g:3396:2: (otherlv_0= '#' ( (lv_type_1_0= ruleIntegerReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleIntEnumberation ) ) ) ) + // InternalApplicationConfiguration.g:3160:2: ( (otherlv_0= '#' ( (lv_type_1_0= ruleIntegerReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleIntEnumberation ) ) ) ) ) + // InternalApplicationConfiguration.g:3161:2: (otherlv_0= '#' ( (lv_type_1_0= ruleIntegerReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleIntEnumberation ) ) ) ) { - // InternalApplicationConfiguration.g:3396:2: (otherlv_0= '#' ( (lv_type_1_0= ruleIntegerReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleIntEnumberation ) ) ) ) - // InternalApplicationConfiguration.g:3397:3: otherlv_0= '#' ( (lv_type_1_0= ruleIntegerReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleIntEnumberation ) ) ) + // InternalApplicationConfiguration.g:3161:2: (otherlv_0= '#' ( (lv_type_1_0= ruleIntegerReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleIntEnumberation ) ) ) ) + // InternalApplicationConfiguration.g:3162:3: otherlv_0= '#' ( (lv_type_1_0= ruleIntegerReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleIntEnumberation ) ) ) { - otherlv_0=(Token)match(input,37,FOLLOW_35); + otherlv_0=(Token)match(input,34,FOLLOW_33); newLeafNode(otherlv_0, grammarAccess.getIntegerTypeScopeAccess().getNumberSignKeyword_0()); - // InternalApplicationConfiguration.g:3401:3: ( (lv_type_1_0= ruleIntegerReference ) ) - // InternalApplicationConfiguration.g:3402:4: (lv_type_1_0= ruleIntegerReference ) + // InternalApplicationConfiguration.g:3166:3: ( (lv_type_1_0= ruleIntegerReference ) ) + // InternalApplicationConfiguration.g:3167:4: (lv_type_1_0= ruleIntegerReference ) { - // InternalApplicationConfiguration.g:3402:4: (lv_type_1_0= ruleIntegerReference ) - // InternalApplicationConfiguration.g:3403:5: lv_type_1_0= ruleIntegerReference + // InternalApplicationConfiguration.g:3167:4: (lv_type_1_0= ruleIntegerReference ) + // InternalApplicationConfiguration.g:3168:5: lv_type_1_0= ruleIntegerReference { newCompositeNode(grammarAccess.getIntegerTypeScopeAccess().getTypeIntegerReferenceParserRuleCall_1_0()); - pushFollow(FOLLOW_32); + pushFollow(FOLLOW_30); lv_type_1_0=ruleIntegerReference(); state._fsp--; @@ -9374,33 +8714,33 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - // InternalApplicationConfiguration.g:3420:3: ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) - int alt47=2; - int LA47_0 = input.LA(1); + // InternalApplicationConfiguration.g:3185:3: ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) + int alt43=2; + int LA43_0 = input.LA(1); - if ( (LA47_0==38) ) { - alt47=1; + if ( (LA43_0==35) ) { + alt43=1; } - else if ( (LA47_0==18) ) { - alt47=2; + else if ( (LA43_0==17) ) { + alt43=2; } else { NoViableAltException nvae = - new NoViableAltException("", 47, 0, input); + new NoViableAltException("", 43, 0, input); throw nvae; } - switch (alt47) { + switch (alt43) { case 1 : - // InternalApplicationConfiguration.g:3421:4: ( (lv_setsNew_2_0= '+=' ) ) + // InternalApplicationConfiguration.g:3186:4: ( (lv_setsNew_2_0= '+=' ) ) { - // InternalApplicationConfiguration.g:3421:4: ( (lv_setsNew_2_0= '+=' ) ) - // InternalApplicationConfiguration.g:3422:5: (lv_setsNew_2_0= '+=' ) + // InternalApplicationConfiguration.g:3186:4: ( (lv_setsNew_2_0= '+=' ) ) + // InternalApplicationConfiguration.g:3187:5: (lv_setsNew_2_0= '+=' ) { - // InternalApplicationConfiguration.g:3422:5: (lv_setsNew_2_0= '+=' ) - // InternalApplicationConfiguration.g:3423:6: lv_setsNew_2_0= '+=' + // InternalApplicationConfiguration.g:3187:5: (lv_setsNew_2_0= '+=' ) + // InternalApplicationConfiguration.g:3188:6: lv_setsNew_2_0= '+=' { - lv_setsNew_2_0=(Token)match(input,38,FOLLOW_36); + lv_setsNew_2_0=(Token)match(input,35,FOLLOW_34); newLeafNode(lv_setsNew_2_0, grammarAccess.getIntegerTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); @@ -9420,15 +8760,15 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } break; case 2 : - // InternalApplicationConfiguration.g:3436:4: ( (lv_setsSum_3_0= '=' ) ) + // InternalApplicationConfiguration.g:3201:4: ( (lv_setsSum_3_0= '=' ) ) { - // InternalApplicationConfiguration.g:3436:4: ( (lv_setsSum_3_0= '=' ) ) - // InternalApplicationConfiguration.g:3437:5: (lv_setsSum_3_0= '=' ) + // InternalApplicationConfiguration.g:3201:4: ( (lv_setsSum_3_0= '=' ) ) + // InternalApplicationConfiguration.g:3202:5: (lv_setsSum_3_0= '=' ) { - // InternalApplicationConfiguration.g:3437:5: (lv_setsSum_3_0= '=' ) - // InternalApplicationConfiguration.g:3438:6: lv_setsSum_3_0= '=' + // InternalApplicationConfiguration.g:3202:5: (lv_setsSum_3_0= '=' ) + // InternalApplicationConfiguration.g:3203:6: lv_setsSum_3_0= '=' { - lv_setsSum_3_0=(Token)match(input,18,FOLLOW_36); + lv_setsSum_3_0=(Token)match(input,17,FOLLOW_34); newLeafNode(lv_setsSum_3_0, grammarAccess.getIntegerTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); @@ -9450,53 +8790,53 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - // InternalApplicationConfiguration.g:3451:3: ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleIntEnumberation ) ) ) - int alt48=3; + // InternalApplicationConfiguration.g:3216:3: ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleIntEnumberation ) ) ) + int alt44=3; switch ( input.LA(1) ) { case RULE_INT: { - int LA48_1 = input.LA(2); + int LA44_1 = input.LA(2); - if ( (LA48_1==EOF||(LA48_1>=20 && LA48_1<=21)) ) { - alt48=1; + if ( (LA44_1==EOF||(LA44_1>=19 && LA44_1<=20)) ) { + alt44=1; } - else if ( (LA48_1==46) ) { - alt48=2; + else if ( (LA44_1==43) ) { + alt44=2; } else { NoViableAltException nvae = - new NoViableAltException("", 48, 1, input); + new NoViableAltException("", 44, 1, input); throw nvae; } } break; - case 45: + case 42: { - alt48=1; + alt44=1; } break; - case 19: + case 18: { - alt48=3; + alt44=3; } break; default: NoViableAltException nvae = - new NoViableAltException("", 48, 0, input); + new NoViableAltException("", 44, 0, input); throw nvae; } - switch (alt48) { + switch (alt44) { case 1 : - // InternalApplicationConfiguration.g:3452:4: ( (lv_number_4_0= ruleExactNumber ) ) + // InternalApplicationConfiguration.g:3217:4: ( (lv_number_4_0= ruleExactNumber ) ) { - // InternalApplicationConfiguration.g:3452:4: ( (lv_number_4_0= ruleExactNumber ) ) - // InternalApplicationConfiguration.g:3453:5: (lv_number_4_0= ruleExactNumber ) + // InternalApplicationConfiguration.g:3217:4: ( (lv_number_4_0= ruleExactNumber ) ) + // InternalApplicationConfiguration.g:3218:5: (lv_number_4_0= ruleExactNumber ) { - // InternalApplicationConfiguration.g:3453:5: (lv_number_4_0= ruleExactNumber ) - // InternalApplicationConfiguration.g:3454:6: lv_number_4_0= ruleExactNumber + // InternalApplicationConfiguration.g:3218:5: (lv_number_4_0= ruleExactNumber ) + // InternalApplicationConfiguration.g:3219:6: lv_number_4_0= ruleExactNumber { newCompositeNode(grammarAccess.getIntegerTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0()); @@ -9527,13 +8867,13 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } break; case 2 : - // InternalApplicationConfiguration.g:3472:4: ( (lv_number_5_0= ruleIntervallNumber ) ) + // InternalApplicationConfiguration.g:3237:4: ( (lv_number_5_0= ruleIntervallNumber ) ) { - // InternalApplicationConfiguration.g:3472:4: ( (lv_number_5_0= ruleIntervallNumber ) ) - // InternalApplicationConfiguration.g:3473:5: (lv_number_5_0= ruleIntervallNumber ) + // InternalApplicationConfiguration.g:3237:4: ( (lv_number_5_0= ruleIntervallNumber ) ) + // InternalApplicationConfiguration.g:3238:5: (lv_number_5_0= ruleIntervallNumber ) { - // InternalApplicationConfiguration.g:3473:5: (lv_number_5_0= ruleIntervallNumber ) - // InternalApplicationConfiguration.g:3474:6: lv_number_5_0= ruleIntervallNumber + // InternalApplicationConfiguration.g:3238:5: (lv_number_5_0= ruleIntervallNumber ) + // InternalApplicationConfiguration.g:3239:6: lv_number_5_0= ruleIntervallNumber { newCompositeNode(grammarAccess.getIntegerTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0()); @@ -9564,13 +8904,13 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } break; case 3 : - // InternalApplicationConfiguration.g:3492:4: ( (lv_number_6_0= ruleIntEnumberation ) ) + // InternalApplicationConfiguration.g:3257:4: ( (lv_number_6_0= ruleIntEnumberation ) ) { - // InternalApplicationConfiguration.g:3492:4: ( (lv_number_6_0= ruleIntEnumberation ) ) - // InternalApplicationConfiguration.g:3493:5: (lv_number_6_0= ruleIntEnumberation ) + // InternalApplicationConfiguration.g:3257:4: ( (lv_number_6_0= ruleIntEnumberation ) ) + // InternalApplicationConfiguration.g:3258:5: (lv_number_6_0= ruleIntEnumberation ) { - // InternalApplicationConfiguration.g:3493:5: (lv_number_6_0= ruleIntEnumberation ) - // InternalApplicationConfiguration.g:3494:6: lv_number_6_0= ruleIntEnumberation + // InternalApplicationConfiguration.g:3258:5: (lv_number_6_0= ruleIntEnumberation ) + // InternalApplicationConfiguration.g:3259:6: lv_number_6_0= ruleIntEnumberation { newCompositeNode(grammarAccess.getIntegerTypeScopeAccess().getNumberIntEnumberationParserRuleCall_3_2_0()); @@ -9626,7 +8966,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleRealTypeScope" - // InternalApplicationConfiguration.g:3516:1: entryRuleRealTypeScope returns [EObject current=null] : iv_ruleRealTypeScope= ruleRealTypeScope EOF ; + // InternalApplicationConfiguration.g:3281:1: entryRuleRealTypeScope returns [EObject current=null] : iv_ruleRealTypeScope= ruleRealTypeScope EOF ; public final EObject entryRuleRealTypeScope() throws RecognitionException { EObject current = null; @@ -9634,8 +8974,8 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:3516:54: (iv_ruleRealTypeScope= ruleRealTypeScope EOF ) - // InternalApplicationConfiguration.g:3517:2: iv_ruleRealTypeScope= ruleRealTypeScope EOF + // InternalApplicationConfiguration.g:3281:54: (iv_ruleRealTypeScope= ruleRealTypeScope EOF ) + // InternalApplicationConfiguration.g:3282:2: iv_ruleRealTypeScope= ruleRealTypeScope EOF { newCompositeNode(grammarAccess.getRealTypeScopeRule()); pushFollow(FOLLOW_1); @@ -9662,7 +9002,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleRealTypeScope" - // InternalApplicationConfiguration.g:3523:1: ruleRealTypeScope returns [EObject current=null] : (otherlv_0= '#' ( (lv_type_1_0= ruleRealReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleRealEnumeration ) ) ) ) ; + // InternalApplicationConfiguration.g:3288:1: ruleRealTypeScope returns [EObject current=null] : (otherlv_0= '#' ( (lv_type_1_0= ruleRealReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleRealEnumeration ) ) ) ) ; public final EObject ruleRealTypeScope() throws RecognitionException { EObject current = null; @@ -9682,26 +9022,26 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:3529:2: ( (otherlv_0= '#' ( (lv_type_1_0= ruleRealReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleRealEnumeration ) ) ) ) ) - // InternalApplicationConfiguration.g:3530:2: (otherlv_0= '#' ( (lv_type_1_0= ruleRealReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleRealEnumeration ) ) ) ) + // InternalApplicationConfiguration.g:3294:2: ( (otherlv_0= '#' ( (lv_type_1_0= ruleRealReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleRealEnumeration ) ) ) ) ) + // InternalApplicationConfiguration.g:3295:2: (otherlv_0= '#' ( (lv_type_1_0= ruleRealReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleRealEnumeration ) ) ) ) { - // InternalApplicationConfiguration.g:3530:2: (otherlv_0= '#' ( (lv_type_1_0= ruleRealReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleRealEnumeration ) ) ) ) - // InternalApplicationConfiguration.g:3531:3: otherlv_0= '#' ( (lv_type_1_0= ruleRealReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleRealEnumeration ) ) ) + // InternalApplicationConfiguration.g:3295:2: (otherlv_0= '#' ( (lv_type_1_0= ruleRealReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleRealEnumeration ) ) ) ) + // InternalApplicationConfiguration.g:3296:3: otherlv_0= '#' ( (lv_type_1_0= ruleRealReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleRealEnumeration ) ) ) { - otherlv_0=(Token)match(input,37,FOLLOW_37); + otherlv_0=(Token)match(input,34,FOLLOW_35); newLeafNode(otherlv_0, grammarAccess.getRealTypeScopeAccess().getNumberSignKeyword_0()); - // InternalApplicationConfiguration.g:3535:3: ( (lv_type_1_0= ruleRealReference ) ) - // InternalApplicationConfiguration.g:3536:4: (lv_type_1_0= ruleRealReference ) + // InternalApplicationConfiguration.g:3300:3: ( (lv_type_1_0= ruleRealReference ) ) + // InternalApplicationConfiguration.g:3301:4: (lv_type_1_0= ruleRealReference ) { - // InternalApplicationConfiguration.g:3536:4: (lv_type_1_0= ruleRealReference ) - // InternalApplicationConfiguration.g:3537:5: lv_type_1_0= ruleRealReference + // InternalApplicationConfiguration.g:3301:4: (lv_type_1_0= ruleRealReference ) + // InternalApplicationConfiguration.g:3302:5: lv_type_1_0= ruleRealReference { newCompositeNode(grammarAccess.getRealTypeScopeAccess().getTypeRealReferenceParserRuleCall_1_0()); - pushFollow(FOLLOW_32); + pushFollow(FOLLOW_30); lv_type_1_0=ruleRealReference(); state._fsp--; @@ -9723,33 +9063,33 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - // InternalApplicationConfiguration.g:3554:3: ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) - int alt49=2; - int LA49_0 = input.LA(1); + // InternalApplicationConfiguration.g:3319:3: ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) + int alt45=2; + int LA45_0 = input.LA(1); - if ( (LA49_0==38) ) { - alt49=1; + if ( (LA45_0==35) ) { + alt45=1; } - else if ( (LA49_0==18) ) { - alt49=2; + else if ( (LA45_0==17) ) { + alt45=2; } else { NoViableAltException nvae = - new NoViableAltException("", 49, 0, input); + new NoViableAltException("", 45, 0, input); throw nvae; } - switch (alt49) { + switch (alt45) { case 1 : - // InternalApplicationConfiguration.g:3555:4: ( (lv_setsNew_2_0= '+=' ) ) + // InternalApplicationConfiguration.g:3320:4: ( (lv_setsNew_2_0= '+=' ) ) { - // InternalApplicationConfiguration.g:3555:4: ( (lv_setsNew_2_0= '+=' ) ) - // InternalApplicationConfiguration.g:3556:5: (lv_setsNew_2_0= '+=' ) + // InternalApplicationConfiguration.g:3320:4: ( (lv_setsNew_2_0= '+=' ) ) + // InternalApplicationConfiguration.g:3321:5: (lv_setsNew_2_0= '+=' ) { - // InternalApplicationConfiguration.g:3556:5: (lv_setsNew_2_0= '+=' ) - // InternalApplicationConfiguration.g:3557:6: lv_setsNew_2_0= '+=' + // InternalApplicationConfiguration.g:3321:5: (lv_setsNew_2_0= '+=' ) + // InternalApplicationConfiguration.g:3322:6: lv_setsNew_2_0= '+=' { - lv_setsNew_2_0=(Token)match(input,38,FOLLOW_36); + lv_setsNew_2_0=(Token)match(input,35,FOLLOW_34); newLeafNode(lv_setsNew_2_0, grammarAccess.getRealTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); @@ -9769,15 +9109,15 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } break; case 2 : - // InternalApplicationConfiguration.g:3570:4: ( (lv_setsSum_3_0= '=' ) ) + // InternalApplicationConfiguration.g:3335:4: ( (lv_setsSum_3_0= '=' ) ) { - // InternalApplicationConfiguration.g:3570:4: ( (lv_setsSum_3_0= '=' ) ) - // InternalApplicationConfiguration.g:3571:5: (lv_setsSum_3_0= '=' ) + // InternalApplicationConfiguration.g:3335:4: ( (lv_setsSum_3_0= '=' ) ) + // InternalApplicationConfiguration.g:3336:5: (lv_setsSum_3_0= '=' ) { - // InternalApplicationConfiguration.g:3571:5: (lv_setsSum_3_0= '=' ) - // InternalApplicationConfiguration.g:3572:6: lv_setsSum_3_0= '=' + // InternalApplicationConfiguration.g:3336:5: (lv_setsSum_3_0= '=' ) + // InternalApplicationConfiguration.g:3337:6: lv_setsSum_3_0= '=' { - lv_setsSum_3_0=(Token)match(input,18,FOLLOW_36); + lv_setsSum_3_0=(Token)match(input,17,FOLLOW_34); newLeafNode(lv_setsSum_3_0, grammarAccess.getRealTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); @@ -9799,53 +9139,53 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - // InternalApplicationConfiguration.g:3585:3: ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleRealEnumeration ) ) ) - int alt50=3; + // InternalApplicationConfiguration.g:3350:3: ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleRealEnumeration ) ) ) + int alt46=3; switch ( input.LA(1) ) { case RULE_INT: { - int LA50_1 = input.LA(2); + int LA46_1 = input.LA(2); - if ( (LA50_1==46) ) { - alt50=2; + if ( (LA46_1==43) ) { + alt46=2; } - else if ( (LA50_1==EOF||(LA50_1>=20 && LA50_1<=21)) ) { - alt50=1; + else if ( (LA46_1==EOF||(LA46_1>=19 && LA46_1<=20)) ) { + alt46=1; } else { NoViableAltException nvae = - new NoViableAltException("", 50, 1, input); + new NoViableAltException("", 46, 1, input); throw nvae; } } break; - case 45: + case 42: { - alt50=1; + alt46=1; } break; - case 19: + case 18: { - alt50=3; + alt46=3; } break; default: NoViableAltException nvae = - new NoViableAltException("", 50, 0, input); + new NoViableAltException("", 46, 0, input); throw nvae; } - switch (alt50) { + switch (alt46) { case 1 : - // InternalApplicationConfiguration.g:3586:4: ( (lv_number_4_0= ruleExactNumber ) ) + // InternalApplicationConfiguration.g:3351:4: ( (lv_number_4_0= ruleExactNumber ) ) { - // InternalApplicationConfiguration.g:3586:4: ( (lv_number_4_0= ruleExactNumber ) ) - // InternalApplicationConfiguration.g:3587:5: (lv_number_4_0= ruleExactNumber ) + // InternalApplicationConfiguration.g:3351:4: ( (lv_number_4_0= ruleExactNumber ) ) + // InternalApplicationConfiguration.g:3352:5: (lv_number_4_0= ruleExactNumber ) { - // InternalApplicationConfiguration.g:3587:5: (lv_number_4_0= ruleExactNumber ) - // InternalApplicationConfiguration.g:3588:6: lv_number_4_0= ruleExactNumber + // InternalApplicationConfiguration.g:3352:5: (lv_number_4_0= ruleExactNumber ) + // InternalApplicationConfiguration.g:3353:6: lv_number_4_0= ruleExactNumber { newCompositeNode(grammarAccess.getRealTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0()); @@ -9876,13 +9216,13 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } break; case 2 : - // InternalApplicationConfiguration.g:3606:4: ( (lv_number_5_0= ruleIntervallNumber ) ) + // InternalApplicationConfiguration.g:3371:4: ( (lv_number_5_0= ruleIntervallNumber ) ) { - // InternalApplicationConfiguration.g:3606:4: ( (lv_number_5_0= ruleIntervallNumber ) ) - // InternalApplicationConfiguration.g:3607:5: (lv_number_5_0= ruleIntervallNumber ) + // InternalApplicationConfiguration.g:3371:4: ( (lv_number_5_0= ruleIntervallNumber ) ) + // InternalApplicationConfiguration.g:3372:5: (lv_number_5_0= ruleIntervallNumber ) { - // InternalApplicationConfiguration.g:3607:5: (lv_number_5_0= ruleIntervallNumber ) - // InternalApplicationConfiguration.g:3608:6: lv_number_5_0= ruleIntervallNumber + // InternalApplicationConfiguration.g:3372:5: (lv_number_5_0= ruleIntervallNumber ) + // InternalApplicationConfiguration.g:3373:6: lv_number_5_0= ruleIntervallNumber { newCompositeNode(grammarAccess.getRealTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0()); @@ -9913,13 +9253,13 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } break; case 3 : - // InternalApplicationConfiguration.g:3626:4: ( (lv_number_6_0= ruleRealEnumeration ) ) + // InternalApplicationConfiguration.g:3391:4: ( (lv_number_6_0= ruleRealEnumeration ) ) { - // InternalApplicationConfiguration.g:3626:4: ( (lv_number_6_0= ruleRealEnumeration ) ) - // InternalApplicationConfiguration.g:3627:5: (lv_number_6_0= ruleRealEnumeration ) + // InternalApplicationConfiguration.g:3391:4: ( (lv_number_6_0= ruleRealEnumeration ) ) + // InternalApplicationConfiguration.g:3392:5: (lv_number_6_0= ruleRealEnumeration ) { - // InternalApplicationConfiguration.g:3627:5: (lv_number_6_0= ruleRealEnumeration ) - // InternalApplicationConfiguration.g:3628:6: lv_number_6_0= ruleRealEnumeration + // InternalApplicationConfiguration.g:3392:5: (lv_number_6_0= ruleRealEnumeration ) + // InternalApplicationConfiguration.g:3393:6: lv_number_6_0= ruleRealEnumeration { newCompositeNode(grammarAccess.getRealTypeScopeAccess().getNumberRealEnumerationParserRuleCall_3_2_0()); @@ -9975,7 +9315,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleStringTypeScope" - // InternalApplicationConfiguration.g:3650:1: entryRuleStringTypeScope returns [EObject current=null] : iv_ruleStringTypeScope= ruleStringTypeScope EOF ; + // InternalApplicationConfiguration.g:3415:1: entryRuleStringTypeScope returns [EObject current=null] : iv_ruleStringTypeScope= ruleStringTypeScope EOF ; public final EObject entryRuleStringTypeScope() throws RecognitionException { EObject current = null; @@ -9983,8 +9323,8 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:3650:56: (iv_ruleStringTypeScope= ruleStringTypeScope EOF ) - // InternalApplicationConfiguration.g:3651:2: iv_ruleStringTypeScope= ruleStringTypeScope EOF + // InternalApplicationConfiguration.g:3415:56: (iv_ruleStringTypeScope= ruleStringTypeScope EOF ) + // InternalApplicationConfiguration.g:3416:2: iv_ruleStringTypeScope= ruleStringTypeScope EOF { newCompositeNode(grammarAccess.getStringTypeScopeRule()); pushFollow(FOLLOW_1); @@ -10011,7 +9351,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleStringTypeScope" - // InternalApplicationConfiguration.g:3657:1: ruleStringTypeScope returns [EObject current=null] : (otherlv_0= '#' ( (lv_type_1_0= ruleStringReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleStringEnumeration ) ) ) ) ; + // InternalApplicationConfiguration.g:3422:1: ruleStringTypeScope returns [EObject current=null] : (otherlv_0= '#' ( (lv_type_1_0= ruleStringReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleStringEnumeration ) ) ) ) ; public final EObject ruleStringTypeScope() throws RecognitionException { EObject current = null; @@ -10031,26 +9371,26 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:3663:2: ( (otherlv_0= '#' ( (lv_type_1_0= ruleStringReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleStringEnumeration ) ) ) ) ) - // InternalApplicationConfiguration.g:3664:2: (otherlv_0= '#' ( (lv_type_1_0= ruleStringReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleStringEnumeration ) ) ) ) + // InternalApplicationConfiguration.g:3428:2: ( (otherlv_0= '#' ( (lv_type_1_0= ruleStringReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleStringEnumeration ) ) ) ) ) + // InternalApplicationConfiguration.g:3429:2: (otherlv_0= '#' ( (lv_type_1_0= ruleStringReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleStringEnumeration ) ) ) ) { - // InternalApplicationConfiguration.g:3664:2: (otherlv_0= '#' ( (lv_type_1_0= ruleStringReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleStringEnumeration ) ) ) ) - // InternalApplicationConfiguration.g:3665:3: otherlv_0= '#' ( (lv_type_1_0= ruleStringReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleStringEnumeration ) ) ) + // InternalApplicationConfiguration.g:3429:2: (otherlv_0= '#' ( (lv_type_1_0= ruleStringReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleStringEnumeration ) ) ) ) + // InternalApplicationConfiguration.g:3430:3: otherlv_0= '#' ( (lv_type_1_0= ruleStringReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleStringEnumeration ) ) ) { - otherlv_0=(Token)match(input,37,FOLLOW_38); + otherlv_0=(Token)match(input,34,FOLLOW_36); newLeafNode(otherlv_0, grammarAccess.getStringTypeScopeAccess().getNumberSignKeyword_0()); - // InternalApplicationConfiguration.g:3669:3: ( (lv_type_1_0= ruleStringReference ) ) - // InternalApplicationConfiguration.g:3670:4: (lv_type_1_0= ruleStringReference ) + // InternalApplicationConfiguration.g:3434:3: ( (lv_type_1_0= ruleStringReference ) ) + // InternalApplicationConfiguration.g:3435:4: (lv_type_1_0= ruleStringReference ) { - // InternalApplicationConfiguration.g:3670:4: (lv_type_1_0= ruleStringReference ) - // InternalApplicationConfiguration.g:3671:5: lv_type_1_0= ruleStringReference + // InternalApplicationConfiguration.g:3435:4: (lv_type_1_0= ruleStringReference ) + // InternalApplicationConfiguration.g:3436:5: lv_type_1_0= ruleStringReference { newCompositeNode(grammarAccess.getStringTypeScopeAccess().getTypeStringReferenceParserRuleCall_1_0()); - pushFollow(FOLLOW_32); + pushFollow(FOLLOW_30); lv_type_1_0=ruleStringReference(); state._fsp--; @@ -10072,33 +9412,33 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - // InternalApplicationConfiguration.g:3688:3: ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) - int alt51=2; - int LA51_0 = input.LA(1); + // InternalApplicationConfiguration.g:3453:3: ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) + int alt47=2; + int LA47_0 = input.LA(1); - if ( (LA51_0==38) ) { - alt51=1; + if ( (LA47_0==35) ) { + alt47=1; } - else if ( (LA51_0==18) ) { - alt51=2; + else if ( (LA47_0==17) ) { + alt47=2; } else { NoViableAltException nvae = - new NoViableAltException("", 51, 0, input); + new NoViableAltException("", 47, 0, input); throw nvae; } - switch (alt51) { + switch (alt47) { case 1 : - // InternalApplicationConfiguration.g:3689:4: ( (lv_setsNew_2_0= '+=' ) ) + // InternalApplicationConfiguration.g:3454:4: ( (lv_setsNew_2_0= '+=' ) ) { - // InternalApplicationConfiguration.g:3689:4: ( (lv_setsNew_2_0= '+=' ) ) - // InternalApplicationConfiguration.g:3690:5: (lv_setsNew_2_0= '+=' ) + // InternalApplicationConfiguration.g:3454:4: ( (lv_setsNew_2_0= '+=' ) ) + // InternalApplicationConfiguration.g:3455:5: (lv_setsNew_2_0= '+=' ) { - // InternalApplicationConfiguration.g:3690:5: (lv_setsNew_2_0= '+=' ) - // InternalApplicationConfiguration.g:3691:6: lv_setsNew_2_0= '+=' + // InternalApplicationConfiguration.g:3455:5: (lv_setsNew_2_0= '+=' ) + // InternalApplicationConfiguration.g:3456:6: lv_setsNew_2_0= '+=' { - lv_setsNew_2_0=(Token)match(input,38,FOLLOW_36); + lv_setsNew_2_0=(Token)match(input,35,FOLLOW_34); newLeafNode(lv_setsNew_2_0, grammarAccess.getStringTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); @@ -10118,15 +9458,15 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } break; case 2 : - // InternalApplicationConfiguration.g:3704:4: ( (lv_setsSum_3_0= '=' ) ) + // InternalApplicationConfiguration.g:3469:4: ( (lv_setsSum_3_0= '=' ) ) { - // InternalApplicationConfiguration.g:3704:4: ( (lv_setsSum_3_0= '=' ) ) - // InternalApplicationConfiguration.g:3705:5: (lv_setsSum_3_0= '=' ) + // InternalApplicationConfiguration.g:3469:4: ( (lv_setsSum_3_0= '=' ) ) + // InternalApplicationConfiguration.g:3470:5: (lv_setsSum_3_0= '=' ) { - // InternalApplicationConfiguration.g:3705:5: (lv_setsSum_3_0= '=' ) - // InternalApplicationConfiguration.g:3706:6: lv_setsSum_3_0= '=' + // InternalApplicationConfiguration.g:3470:5: (lv_setsSum_3_0= '=' ) + // InternalApplicationConfiguration.g:3471:6: lv_setsSum_3_0= '=' { - lv_setsSum_3_0=(Token)match(input,18,FOLLOW_36); + lv_setsSum_3_0=(Token)match(input,17,FOLLOW_34); newLeafNode(lv_setsSum_3_0, grammarAccess.getStringTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); @@ -10148,53 +9488,53 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - // InternalApplicationConfiguration.g:3719:3: ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleStringEnumeration ) ) ) - int alt52=3; + // InternalApplicationConfiguration.g:3484:3: ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleStringEnumeration ) ) ) + int alt48=3; switch ( input.LA(1) ) { case RULE_INT: { - int LA52_1 = input.LA(2); + int LA48_1 = input.LA(2); - if ( (LA52_1==EOF||(LA52_1>=20 && LA52_1<=21)) ) { - alt52=1; + if ( (LA48_1==EOF||(LA48_1>=19 && LA48_1<=20)) ) { + alt48=1; } - else if ( (LA52_1==46) ) { - alt52=2; + else if ( (LA48_1==43) ) { + alt48=2; } else { NoViableAltException nvae = - new NoViableAltException("", 52, 1, input); + new NoViableAltException("", 48, 1, input); throw nvae; } } break; - case 45: + case 42: { - alt52=1; + alt48=1; } break; - case 19: + case 18: { - alt52=3; + alt48=3; } break; default: NoViableAltException nvae = - new NoViableAltException("", 52, 0, input); + new NoViableAltException("", 48, 0, input); throw nvae; } - switch (alt52) { + switch (alt48) { case 1 : - // InternalApplicationConfiguration.g:3720:4: ( (lv_number_4_0= ruleExactNumber ) ) + // InternalApplicationConfiguration.g:3485:4: ( (lv_number_4_0= ruleExactNumber ) ) { - // InternalApplicationConfiguration.g:3720:4: ( (lv_number_4_0= ruleExactNumber ) ) - // InternalApplicationConfiguration.g:3721:5: (lv_number_4_0= ruleExactNumber ) + // InternalApplicationConfiguration.g:3485:4: ( (lv_number_4_0= ruleExactNumber ) ) + // InternalApplicationConfiguration.g:3486:5: (lv_number_4_0= ruleExactNumber ) { - // InternalApplicationConfiguration.g:3721:5: (lv_number_4_0= ruleExactNumber ) - // InternalApplicationConfiguration.g:3722:6: lv_number_4_0= ruleExactNumber + // InternalApplicationConfiguration.g:3486:5: (lv_number_4_0= ruleExactNumber ) + // InternalApplicationConfiguration.g:3487:6: lv_number_4_0= ruleExactNumber { newCompositeNode(grammarAccess.getStringTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0()); @@ -10225,13 +9565,13 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } break; case 2 : - // InternalApplicationConfiguration.g:3740:4: ( (lv_number_5_0= ruleIntervallNumber ) ) + // InternalApplicationConfiguration.g:3505:4: ( (lv_number_5_0= ruleIntervallNumber ) ) { - // InternalApplicationConfiguration.g:3740:4: ( (lv_number_5_0= ruleIntervallNumber ) ) - // InternalApplicationConfiguration.g:3741:5: (lv_number_5_0= ruleIntervallNumber ) + // InternalApplicationConfiguration.g:3505:4: ( (lv_number_5_0= ruleIntervallNumber ) ) + // InternalApplicationConfiguration.g:3506:5: (lv_number_5_0= ruleIntervallNumber ) { - // InternalApplicationConfiguration.g:3741:5: (lv_number_5_0= ruleIntervallNumber ) - // InternalApplicationConfiguration.g:3742:6: lv_number_5_0= ruleIntervallNumber + // InternalApplicationConfiguration.g:3506:5: (lv_number_5_0= ruleIntervallNumber ) + // InternalApplicationConfiguration.g:3507:6: lv_number_5_0= ruleIntervallNumber { newCompositeNode(grammarAccess.getStringTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0()); @@ -10262,13 +9602,13 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } break; case 3 : - // InternalApplicationConfiguration.g:3760:4: ( (lv_number_6_0= ruleStringEnumeration ) ) + // InternalApplicationConfiguration.g:3525:4: ( (lv_number_6_0= ruleStringEnumeration ) ) { - // InternalApplicationConfiguration.g:3760:4: ( (lv_number_6_0= ruleStringEnumeration ) ) - // InternalApplicationConfiguration.g:3761:5: (lv_number_6_0= ruleStringEnumeration ) + // InternalApplicationConfiguration.g:3525:4: ( (lv_number_6_0= ruleStringEnumeration ) ) + // InternalApplicationConfiguration.g:3526:5: (lv_number_6_0= ruleStringEnumeration ) { - // InternalApplicationConfiguration.g:3761:5: (lv_number_6_0= ruleStringEnumeration ) - // InternalApplicationConfiguration.g:3762:6: lv_number_6_0= ruleStringEnumeration + // InternalApplicationConfiguration.g:3526:5: (lv_number_6_0= ruleStringEnumeration ) + // InternalApplicationConfiguration.g:3527:6: lv_number_6_0= ruleStringEnumeration { newCompositeNode(grammarAccess.getStringTypeScopeAccess().getNumberStringEnumerationParserRuleCall_3_2_0()); @@ -10324,7 +9664,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleClassReference" - // InternalApplicationConfiguration.g:3784:1: entryRuleClassReference returns [EObject current=null] : iv_ruleClassReference= ruleClassReference EOF ; + // InternalApplicationConfiguration.g:3549:1: entryRuleClassReference returns [EObject current=null] : iv_ruleClassReference= ruleClassReference EOF ; public final EObject entryRuleClassReference() throws RecognitionException { EObject current = null; @@ -10332,8 +9672,8 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:3784:55: (iv_ruleClassReference= ruleClassReference EOF ) - // InternalApplicationConfiguration.g:3785:2: iv_ruleClassReference= ruleClassReference EOF + // InternalApplicationConfiguration.g:3549:55: (iv_ruleClassReference= ruleClassReference EOF ) + // InternalApplicationConfiguration.g:3550:2: iv_ruleClassReference= ruleClassReference EOF { newCompositeNode(grammarAccess.getClassReferenceRule()); pushFollow(FOLLOW_1); @@ -10360,7 +9700,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleClassReference" - // InternalApplicationConfiguration.g:3791:1: ruleClassReference returns [EObject current=null] : (otherlv_0= '<' ( (lv_element_1_0= ruleMetamodelElement ) ) otherlv_2= '>' ) ; + // InternalApplicationConfiguration.g:3556:1: ruleClassReference returns [EObject current=null] : (otherlv_0= '<' ( (lv_element_1_0= ruleMetamodelElement ) ) otherlv_2= '>' ) ; public final EObject ruleClassReference() throws RecognitionException { EObject current = null; @@ -10373,26 +9713,26 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:3797:2: ( (otherlv_0= '<' ( (lv_element_1_0= ruleMetamodelElement ) ) otherlv_2= '>' ) ) - // InternalApplicationConfiguration.g:3798:2: (otherlv_0= '<' ( (lv_element_1_0= ruleMetamodelElement ) ) otherlv_2= '>' ) + // InternalApplicationConfiguration.g:3562:2: ( (otherlv_0= '<' ( (lv_element_1_0= ruleMetamodelElement ) ) otherlv_2= '>' ) ) + // InternalApplicationConfiguration.g:3563:2: (otherlv_0= '<' ( (lv_element_1_0= ruleMetamodelElement ) ) otherlv_2= '>' ) { - // InternalApplicationConfiguration.g:3798:2: (otherlv_0= '<' ( (lv_element_1_0= ruleMetamodelElement ) ) otherlv_2= '>' ) - // InternalApplicationConfiguration.g:3799:3: otherlv_0= '<' ( (lv_element_1_0= ruleMetamodelElement ) ) otherlv_2= '>' + // InternalApplicationConfiguration.g:3563:2: (otherlv_0= '<' ( (lv_element_1_0= ruleMetamodelElement ) ) otherlv_2= '>' ) + // InternalApplicationConfiguration.g:3564:3: otherlv_0= '<' ( (lv_element_1_0= ruleMetamodelElement ) ) otherlv_2= '>' { - otherlv_0=(Token)match(input,39,FOLLOW_6); + otherlv_0=(Token)match(input,36,FOLLOW_6); newLeafNode(otherlv_0, grammarAccess.getClassReferenceAccess().getLessThanSignKeyword_0()); - // InternalApplicationConfiguration.g:3803:3: ( (lv_element_1_0= ruleMetamodelElement ) ) - // InternalApplicationConfiguration.g:3804:4: (lv_element_1_0= ruleMetamodelElement ) + // InternalApplicationConfiguration.g:3568:3: ( (lv_element_1_0= ruleMetamodelElement ) ) + // InternalApplicationConfiguration.g:3569:4: (lv_element_1_0= ruleMetamodelElement ) { - // InternalApplicationConfiguration.g:3804:4: (lv_element_1_0= ruleMetamodelElement ) - // InternalApplicationConfiguration.g:3805:5: lv_element_1_0= ruleMetamodelElement + // InternalApplicationConfiguration.g:3569:4: (lv_element_1_0= ruleMetamodelElement ) + // InternalApplicationConfiguration.g:3570:5: lv_element_1_0= ruleMetamodelElement { newCompositeNode(grammarAccess.getClassReferenceAccess().getElementMetamodelElementParserRuleCall_1_0()); - pushFollow(FOLLOW_39); + pushFollow(FOLLOW_37); lv_element_1_0=ruleMetamodelElement(); state._fsp--; @@ -10414,7 +9754,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - otherlv_2=(Token)match(input,40,FOLLOW_2); + otherlv_2=(Token)match(input,37,FOLLOW_2); newLeafNode(otherlv_2, grammarAccess.getClassReferenceAccess().getGreaterThanSignKeyword_2()); @@ -10441,7 +9781,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleObjectReference" - // InternalApplicationConfiguration.g:3830:1: entryRuleObjectReference returns [EObject current=null] : iv_ruleObjectReference= ruleObjectReference EOF ; + // InternalApplicationConfiguration.g:3595:1: entryRuleObjectReference returns [EObject current=null] : iv_ruleObjectReference= ruleObjectReference EOF ; public final EObject entryRuleObjectReference() throws RecognitionException { EObject current = null; @@ -10449,8 +9789,8 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:3830:56: (iv_ruleObjectReference= ruleObjectReference EOF ) - // InternalApplicationConfiguration.g:3831:2: iv_ruleObjectReference= ruleObjectReference EOF + // InternalApplicationConfiguration.g:3595:56: (iv_ruleObjectReference= ruleObjectReference EOF ) + // InternalApplicationConfiguration.g:3596:2: iv_ruleObjectReference= ruleObjectReference EOF { newCompositeNode(grammarAccess.getObjectReferenceRule()); pushFollow(FOLLOW_1); @@ -10477,7 +9817,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleObjectReference" - // InternalApplicationConfiguration.g:3837:1: ruleObjectReference returns [EObject current=null] : ( () otherlv_1= 'node' ) ; + // InternalApplicationConfiguration.g:3602:1: ruleObjectReference returns [EObject current=null] : ( () otherlv_1= 'node' ) ; public final EObject ruleObjectReference() throws RecognitionException { EObject current = null; @@ -10487,14 +9827,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:3843:2: ( ( () otherlv_1= 'node' ) ) - // InternalApplicationConfiguration.g:3844:2: ( () otherlv_1= 'node' ) + // InternalApplicationConfiguration.g:3608:2: ( ( () otherlv_1= 'node' ) ) + // InternalApplicationConfiguration.g:3609:2: ( () otherlv_1= 'node' ) { - // InternalApplicationConfiguration.g:3844:2: ( () otherlv_1= 'node' ) - // InternalApplicationConfiguration.g:3845:3: () otherlv_1= 'node' + // InternalApplicationConfiguration.g:3609:2: ( () otherlv_1= 'node' ) + // InternalApplicationConfiguration.g:3610:3: () otherlv_1= 'node' { - // InternalApplicationConfiguration.g:3845:3: () - // InternalApplicationConfiguration.g:3846:4: + // InternalApplicationConfiguration.g:3610:3: () + // InternalApplicationConfiguration.g:3611:4: { current = forceCreateModelElement( @@ -10504,7 +9844,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - otherlv_1=(Token)match(input,41,FOLLOW_2); + otherlv_1=(Token)match(input,38,FOLLOW_2); newLeafNode(otherlv_1, grammarAccess.getObjectReferenceAccess().getNodeKeyword_1()); @@ -10531,7 +9871,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleIntegerReference" - // InternalApplicationConfiguration.g:3860:1: entryRuleIntegerReference returns [EObject current=null] : iv_ruleIntegerReference= ruleIntegerReference EOF ; + // InternalApplicationConfiguration.g:3625:1: entryRuleIntegerReference returns [EObject current=null] : iv_ruleIntegerReference= ruleIntegerReference EOF ; public final EObject entryRuleIntegerReference() throws RecognitionException { EObject current = null; @@ -10539,8 +9879,8 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:3860:57: (iv_ruleIntegerReference= ruleIntegerReference EOF ) - // InternalApplicationConfiguration.g:3861:2: iv_ruleIntegerReference= ruleIntegerReference EOF + // InternalApplicationConfiguration.g:3625:57: (iv_ruleIntegerReference= ruleIntegerReference EOF ) + // InternalApplicationConfiguration.g:3626:2: iv_ruleIntegerReference= ruleIntegerReference EOF { newCompositeNode(grammarAccess.getIntegerReferenceRule()); pushFollow(FOLLOW_1); @@ -10567,7 +9907,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleIntegerReference" - // InternalApplicationConfiguration.g:3867:1: ruleIntegerReference returns [EObject current=null] : ( () otherlv_1= 'int' ) ; + // InternalApplicationConfiguration.g:3632:1: ruleIntegerReference returns [EObject current=null] : ( () otherlv_1= 'int' ) ; public final EObject ruleIntegerReference() throws RecognitionException { EObject current = null; @@ -10577,14 +9917,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:3873:2: ( ( () otherlv_1= 'int' ) ) - // InternalApplicationConfiguration.g:3874:2: ( () otherlv_1= 'int' ) + // InternalApplicationConfiguration.g:3638:2: ( ( () otherlv_1= 'int' ) ) + // InternalApplicationConfiguration.g:3639:2: ( () otherlv_1= 'int' ) { - // InternalApplicationConfiguration.g:3874:2: ( () otherlv_1= 'int' ) - // InternalApplicationConfiguration.g:3875:3: () otherlv_1= 'int' + // InternalApplicationConfiguration.g:3639:2: ( () otherlv_1= 'int' ) + // InternalApplicationConfiguration.g:3640:3: () otherlv_1= 'int' { - // InternalApplicationConfiguration.g:3875:3: () - // InternalApplicationConfiguration.g:3876:4: + // InternalApplicationConfiguration.g:3640:3: () + // InternalApplicationConfiguration.g:3641:4: { current = forceCreateModelElement( @@ -10594,7 +9934,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - otherlv_1=(Token)match(input,42,FOLLOW_2); + otherlv_1=(Token)match(input,39,FOLLOW_2); newLeafNode(otherlv_1, grammarAccess.getIntegerReferenceAccess().getIntKeyword_1()); @@ -10621,7 +9961,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleRealReference" - // InternalApplicationConfiguration.g:3890:1: entryRuleRealReference returns [EObject current=null] : iv_ruleRealReference= ruleRealReference EOF ; + // InternalApplicationConfiguration.g:3655:1: entryRuleRealReference returns [EObject current=null] : iv_ruleRealReference= ruleRealReference EOF ; public final EObject entryRuleRealReference() throws RecognitionException { EObject current = null; @@ -10629,8 +9969,8 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:3890:54: (iv_ruleRealReference= ruleRealReference EOF ) - // InternalApplicationConfiguration.g:3891:2: iv_ruleRealReference= ruleRealReference EOF + // InternalApplicationConfiguration.g:3655:54: (iv_ruleRealReference= ruleRealReference EOF ) + // InternalApplicationConfiguration.g:3656:2: iv_ruleRealReference= ruleRealReference EOF { newCompositeNode(grammarAccess.getRealReferenceRule()); pushFollow(FOLLOW_1); @@ -10657,7 +9997,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleRealReference" - // InternalApplicationConfiguration.g:3897:1: ruleRealReference returns [EObject current=null] : ( () otherlv_1= 'real' ) ; + // InternalApplicationConfiguration.g:3662:1: ruleRealReference returns [EObject current=null] : ( () otherlv_1= 'real' ) ; public final EObject ruleRealReference() throws RecognitionException { EObject current = null; @@ -10667,14 +10007,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:3903:2: ( ( () otherlv_1= 'real' ) ) - // InternalApplicationConfiguration.g:3904:2: ( () otherlv_1= 'real' ) + // InternalApplicationConfiguration.g:3668:2: ( ( () otherlv_1= 'real' ) ) + // InternalApplicationConfiguration.g:3669:2: ( () otherlv_1= 'real' ) { - // InternalApplicationConfiguration.g:3904:2: ( () otherlv_1= 'real' ) - // InternalApplicationConfiguration.g:3905:3: () otherlv_1= 'real' + // InternalApplicationConfiguration.g:3669:2: ( () otherlv_1= 'real' ) + // InternalApplicationConfiguration.g:3670:3: () otherlv_1= 'real' { - // InternalApplicationConfiguration.g:3905:3: () - // InternalApplicationConfiguration.g:3906:4: + // InternalApplicationConfiguration.g:3670:3: () + // InternalApplicationConfiguration.g:3671:4: { current = forceCreateModelElement( @@ -10684,7 +10024,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - otherlv_1=(Token)match(input,43,FOLLOW_2); + otherlv_1=(Token)match(input,40,FOLLOW_2); newLeafNode(otherlv_1, grammarAccess.getRealReferenceAccess().getRealKeyword_1()); @@ -10711,7 +10051,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleStringReference" - // InternalApplicationConfiguration.g:3920:1: entryRuleStringReference returns [EObject current=null] : iv_ruleStringReference= ruleStringReference EOF ; + // InternalApplicationConfiguration.g:3685:1: entryRuleStringReference returns [EObject current=null] : iv_ruleStringReference= ruleStringReference EOF ; public final EObject entryRuleStringReference() throws RecognitionException { EObject current = null; @@ -10719,8 +10059,8 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:3920:56: (iv_ruleStringReference= ruleStringReference EOF ) - // InternalApplicationConfiguration.g:3921:2: iv_ruleStringReference= ruleStringReference EOF + // InternalApplicationConfiguration.g:3685:56: (iv_ruleStringReference= ruleStringReference EOF ) + // InternalApplicationConfiguration.g:3686:2: iv_ruleStringReference= ruleStringReference EOF { newCompositeNode(grammarAccess.getStringReferenceRule()); pushFollow(FOLLOW_1); @@ -10747,7 +10087,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleStringReference" - // InternalApplicationConfiguration.g:3927:1: ruleStringReference returns [EObject current=null] : ( () otherlv_1= 'string' ) ; + // InternalApplicationConfiguration.g:3692:1: ruleStringReference returns [EObject current=null] : ( () otherlv_1= 'string' ) ; public final EObject ruleStringReference() throws RecognitionException { EObject current = null; @@ -10757,14 +10097,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:3933:2: ( ( () otherlv_1= 'string' ) ) - // InternalApplicationConfiguration.g:3934:2: ( () otherlv_1= 'string' ) + // InternalApplicationConfiguration.g:3698:2: ( ( () otherlv_1= 'string' ) ) + // InternalApplicationConfiguration.g:3699:2: ( () otherlv_1= 'string' ) { - // InternalApplicationConfiguration.g:3934:2: ( () otherlv_1= 'string' ) - // InternalApplicationConfiguration.g:3935:3: () otherlv_1= 'string' + // InternalApplicationConfiguration.g:3699:2: ( () otherlv_1= 'string' ) + // InternalApplicationConfiguration.g:3700:3: () otherlv_1= 'string' { - // InternalApplicationConfiguration.g:3935:3: () - // InternalApplicationConfiguration.g:3936:4: + // InternalApplicationConfiguration.g:3700:3: () + // InternalApplicationConfiguration.g:3701:4: { current = forceCreateModelElement( @@ -10774,7 +10114,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - otherlv_1=(Token)match(input,44,FOLLOW_2); + otherlv_1=(Token)match(input,41,FOLLOW_2); newLeafNode(otherlv_1, grammarAccess.getStringReferenceAccess().getStringKeyword_1()); @@ -10801,7 +10141,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleExactNumber" - // InternalApplicationConfiguration.g:3950:1: entryRuleExactNumber returns [EObject current=null] : iv_ruleExactNumber= ruleExactNumber EOF ; + // InternalApplicationConfiguration.g:3715:1: entryRuleExactNumber returns [EObject current=null] : iv_ruleExactNumber= ruleExactNumber EOF ; public final EObject entryRuleExactNumber() throws RecognitionException { EObject current = null; @@ -10809,8 +10149,8 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:3950:52: (iv_ruleExactNumber= ruleExactNumber EOF ) - // InternalApplicationConfiguration.g:3951:2: iv_ruleExactNumber= ruleExactNumber EOF + // InternalApplicationConfiguration.g:3715:52: (iv_ruleExactNumber= ruleExactNumber EOF ) + // InternalApplicationConfiguration.g:3716:2: iv_ruleExactNumber= ruleExactNumber EOF { newCompositeNode(grammarAccess.getExactNumberRule()); pushFollow(FOLLOW_1); @@ -10837,7 +10177,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleExactNumber" - // InternalApplicationConfiguration.g:3957:1: ruleExactNumber returns [EObject current=null] : ( ( (lv_exactNumber_0_0= RULE_INT ) ) | ( (lv_exactUnlimited_1_0= '*' ) ) ) ; + // InternalApplicationConfiguration.g:3722:1: ruleExactNumber returns [EObject current=null] : ( ( (lv_exactNumber_0_0= RULE_INT ) ) | ( (lv_exactUnlimited_1_0= '*' ) ) ) ; public final EObject ruleExactNumber() throws RecognitionException { EObject current = null; @@ -10848,34 +10188,34 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:3963:2: ( ( ( (lv_exactNumber_0_0= RULE_INT ) ) | ( (lv_exactUnlimited_1_0= '*' ) ) ) ) - // InternalApplicationConfiguration.g:3964:2: ( ( (lv_exactNumber_0_0= RULE_INT ) ) | ( (lv_exactUnlimited_1_0= '*' ) ) ) + // InternalApplicationConfiguration.g:3728:2: ( ( ( (lv_exactNumber_0_0= RULE_INT ) ) | ( (lv_exactUnlimited_1_0= '*' ) ) ) ) + // InternalApplicationConfiguration.g:3729:2: ( ( (lv_exactNumber_0_0= RULE_INT ) ) | ( (lv_exactUnlimited_1_0= '*' ) ) ) { - // InternalApplicationConfiguration.g:3964:2: ( ( (lv_exactNumber_0_0= RULE_INT ) ) | ( (lv_exactUnlimited_1_0= '*' ) ) ) - int alt53=2; - int LA53_0 = input.LA(1); + // InternalApplicationConfiguration.g:3729:2: ( ( (lv_exactNumber_0_0= RULE_INT ) ) | ( (lv_exactUnlimited_1_0= '*' ) ) ) + int alt49=2; + int LA49_0 = input.LA(1); - if ( (LA53_0==RULE_INT) ) { - alt53=1; + if ( (LA49_0==RULE_INT) ) { + alt49=1; } - else if ( (LA53_0==45) ) { - alt53=2; + else if ( (LA49_0==42) ) { + alt49=2; } else { NoViableAltException nvae = - new NoViableAltException("", 53, 0, input); + new NoViableAltException("", 49, 0, input); throw nvae; } - switch (alt53) { + switch (alt49) { case 1 : - // InternalApplicationConfiguration.g:3965:3: ( (lv_exactNumber_0_0= RULE_INT ) ) + // InternalApplicationConfiguration.g:3730:3: ( (lv_exactNumber_0_0= RULE_INT ) ) { - // InternalApplicationConfiguration.g:3965:3: ( (lv_exactNumber_0_0= RULE_INT ) ) - // InternalApplicationConfiguration.g:3966:4: (lv_exactNumber_0_0= RULE_INT ) + // InternalApplicationConfiguration.g:3730:3: ( (lv_exactNumber_0_0= RULE_INT ) ) + // InternalApplicationConfiguration.g:3731:4: (lv_exactNumber_0_0= RULE_INT ) { - // InternalApplicationConfiguration.g:3966:4: (lv_exactNumber_0_0= RULE_INT ) - // InternalApplicationConfiguration.g:3967:5: lv_exactNumber_0_0= RULE_INT + // InternalApplicationConfiguration.g:3731:4: (lv_exactNumber_0_0= RULE_INT ) + // InternalApplicationConfiguration.g:3732:5: lv_exactNumber_0_0= RULE_INT { lv_exactNumber_0_0=(Token)match(input,RULE_INT,FOLLOW_2); @@ -10901,15 +10241,15 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } break; case 2 : - // InternalApplicationConfiguration.g:3984:3: ( (lv_exactUnlimited_1_0= '*' ) ) + // InternalApplicationConfiguration.g:3749:3: ( (lv_exactUnlimited_1_0= '*' ) ) { - // InternalApplicationConfiguration.g:3984:3: ( (lv_exactUnlimited_1_0= '*' ) ) - // InternalApplicationConfiguration.g:3985:4: (lv_exactUnlimited_1_0= '*' ) + // InternalApplicationConfiguration.g:3749:3: ( (lv_exactUnlimited_1_0= '*' ) ) + // InternalApplicationConfiguration.g:3750:4: (lv_exactUnlimited_1_0= '*' ) { - // InternalApplicationConfiguration.g:3985:4: (lv_exactUnlimited_1_0= '*' ) - // InternalApplicationConfiguration.g:3986:5: lv_exactUnlimited_1_0= '*' + // InternalApplicationConfiguration.g:3750:4: (lv_exactUnlimited_1_0= '*' ) + // InternalApplicationConfiguration.g:3751:5: lv_exactUnlimited_1_0= '*' { - lv_exactUnlimited_1_0=(Token)match(input,45,FOLLOW_2); + lv_exactUnlimited_1_0=(Token)match(input,42,FOLLOW_2); newLeafNode(lv_exactUnlimited_1_0, grammarAccess.getExactNumberAccess().getExactUnlimitedAsteriskKeyword_1_0()); @@ -10951,7 +10291,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleIntervallNumber" - // InternalApplicationConfiguration.g:4002:1: entryRuleIntervallNumber returns [EObject current=null] : iv_ruleIntervallNumber= ruleIntervallNumber EOF ; + // InternalApplicationConfiguration.g:3767:1: entryRuleIntervallNumber returns [EObject current=null] : iv_ruleIntervallNumber= ruleIntervallNumber EOF ; public final EObject entryRuleIntervallNumber() throws RecognitionException { EObject current = null; @@ -10959,8 +10299,8 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:4002:56: (iv_ruleIntervallNumber= ruleIntervallNumber EOF ) - // InternalApplicationConfiguration.g:4003:2: iv_ruleIntervallNumber= ruleIntervallNumber EOF + // InternalApplicationConfiguration.g:3767:56: (iv_ruleIntervallNumber= ruleIntervallNumber EOF ) + // InternalApplicationConfiguration.g:3768:2: iv_ruleIntervallNumber= ruleIntervallNumber EOF { newCompositeNode(grammarAccess.getIntervallNumberRule()); pushFollow(FOLLOW_1); @@ -10987,7 +10327,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleIntervallNumber" - // InternalApplicationConfiguration.g:4009:1: ruleIntervallNumber returns [EObject current=null] : ( ( (lv_min_0_0= RULE_INT ) ) otherlv_1= '..' ( ( (lv_maxNumber_2_0= RULE_INT ) ) | ( (lv_maxUnlimited_3_0= '*' ) ) ) ) ; + // InternalApplicationConfiguration.g:3774:1: ruleIntervallNumber returns [EObject current=null] : ( ( (lv_min_0_0= RULE_INT ) ) otherlv_1= '..' ( ( (lv_maxNumber_2_0= RULE_INT ) ) | ( (lv_maxUnlimited_3_0= '*' ) ) ) ) ; public final EObject ruleIntervallNumber() throws RecognitionException { EObject current = null; @@ -11000,19 +10340,19 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:4015:2: ( ( ( (lv_min_0_0= RULE_INT ) ) otherlv_1= '..' ( ( (lv_maxNumber_2_0= RULE_INT ) ) | ( (lv_maxUnlimited_3_0= '*' ) ) ) ) ) - // InternalApplicationConfiguration.g:4016:2: ( ( (lv_min_0_0= RULE_INT ) ) otherlv_1= '..' ( ( (lv_maxNumber_2_0= RULE_INT ) ) | ( (lv_maxUnlimited_3_0= '*' ) ) ) ) + // InternalApplicationConfiguration.g:3780:2: ( ( ( (lv_min_0_0= RULE_INT ) ) otherlv_1= '..' ( ( (lv_maxNumber_2_0= RULE_INT ) ) | ( (lv_maxUnlimited_3_0= '*' ) ) ) ) ) + // InternalApplicationConfiguration.g:3781:2: ( ( (lv_min_0_0= RULE_INT ) ) otherlv_1= '..' ( ( (lv_maxNumber_2_0= RULE_INT ) ) | ( (lv_maxUnlimited_3_0= '*' ) ) ) ) { - // InternalApplicationConfiguration.g:4016:2: ( ( (lv_min_0_0= RULE_INT ) ) otherlv_1= '..' ( ( (lv_maxNumber_2_0= RULE_INT ) ) | ( (lv_maxUnlimited_3_0= '*' ) ) ) ) - // InternalApplicationConfiguration.g:4017:3: ( (lv_min_0_0= RULE_INT ) ) otherlv_1= '..' ( ( (lv_maxNumber_2_0= RULE_INT ) ) | ( (lv_maxUnlimited_3_0= '*' ) ) ) + // InternalApplicationConfiguration.g:3781:2: ( ( (lv_min_0_0= RULE_INT ) ) otherlv_1= '..' ( ( (lv_maxNumber_2_0= RULE_INT ) ) | ( (lv_maxUnlimited_3_0= '*' ) ) ) ) + // InternalApplicationConfiguration.g:3782:3: ( (lv_min_0_0= RULE_INT ) ) otherlv_1= '..' ( ( (lv_maxNumber_2_0= RULE_INT ) ) | ( (lv_maxUnlimited_3_0= '*' ) ) ) { - // InternalApplicationConfiguration.g:4017:3: ( (lv_min_0_0= RULE_INT ) ) - // InternalApplicationConfiguration.g:4018:4: (lv_min_0_0= RULE_INT ) + // InternalApplicationConfiguration.g:3782:3: ( (lv_min_0_0= RULE_INT ) ) + // InternalApplicationConfiguration.g:3783:4: (lv_min_0_0= RULE_INT ) { - // InternalApplicationConfiguration.g:4018:4: (lv_min_0_0= RULE_INT ) - // InternalApplicationConfiguration.g:4019:5: lv_min_0_0= RULE_INT + // InternalApplicationConfiguration.g:3783:4: (lv_min_0_0= RULE_INT ) + // InternalApplicationConfiguration.g:3784:5: lv_min_0_0= RULE_INT { - lv_min_0_0=(Token)match(input,RULE_INT,FOLLOW_40); + lv_min_0_0=(Token)match(input,RULE_INT,FOLLOW_38); newLeafNode(lv_min_0_0, grammarAccess.getIntervallNumberAccess().getMinINTTerminalRuleCall_0_0()); @@ -11032,35 +10372,35 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - otherlv_1=(Token)match(input,46,FOLLOW_33); + otherlv_1=(Token)match(input,43,FOLLOW_31); newLeafNode(otherlv_1, grammarAccess.getIntervallNumberAccess().getFullStopFullStopKeyword_1()); - // InternalApplicationConfiguration.g:4039:3: ( ( (lv_maxNumber_2_0= RULE_INT ) ) | ( (lv_maxUnlimited_3_0= '*' ) ) ) - int alt54=2; - int LA54_0 = input.LA(1); + // InternalApplicationConfiguration.g:3804:3: ( ( (lv_maxNumber_2_0= RULE_INT ) ) | ( (lv_maxUnlimited_3_0= '*' ) ) ) + int alt50=2; + int LA50_0 = input.LA(1); - if ( (LA54_0==RULE_INT) ) { - alt54=1; + if ( (LA50_0==RULE_INT) ) { + alt50=1; } - else if ( (LA54_0==45) ) { - alt54=2; + else if ( (LA50_0==42) ) { + alt50=2; } else { NoViableAltException nvae = - new NoViableAltException("", 54, 0, input); + new NoViableAltException("", 50, 0, input); throw nvae; } - switch (alt54) { + switch (alt50) { case 1 : - // InternalApplicationConfiguration.g:4040:4: ( (lv_maxNumber_2_0= RULE_INT ) ) + // InternalApplicationConfiguration.g:3805:4: ( (lv_maxNumber_2_0= RULE_INT ) ) { - // InternalApplicationConfiguration.g:4040:4: ( (lv_maxNumber_2_0= RULE_INT ) ) - // InternalApplicationConfiguration.g:4041:5: (lv_maxNumber_2_0= RULE_INT ) + // InternalApplicationConfiguration.g:3805:4: ( (lv_maxNumber_2_0= RULE_INT ) ) + // InternalApplicationConfiguration.g:3806:5: (lv_maxNumber_2_0= RULE_INT ) { - // InternalApplicationConfiguration.g:4041:5: (lv_maxNumber_2_0= RULE_INT ) - // InternalApplicationConfiguration.g:4042:6: lv_maxNumber_2_0= RULE_INT + // InternalApplicationConfiguration.g:3806:5: (lv_maxNumber_2_0= RULE_INT ) + // InternalApplicationConfiguration.g:3807:6: lv_maxNumber_2_0= RULE_INT { lv_maxNumber_2_0=(Token)match(input,RULE_INT,FOLLOW_2); @@ -11086,15 +10426,15 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } break; case 2 : - // InternalApplicationConfiguration.g:4059:4: ( (lv_maxUnlimited_3_0= '*' ) ) + // InternalApplicationConfiguration.g:3824:4: ( (lv_maxUnlimited_3_0= '*' ) ) { - // InternalApplicationConfiguration.g:4059:4: ( (lv_maxUnlimited_3_0= '*' ) ) - // InternalApplicationConfiguration.g:4060:5: (lv_maxUnlimited_3_0= '*' ) + // InternalApplicationConfiguration.g:3824:4: ( (lv_maxUnlimited_3_0= '*' ) ) + // InternalApplicationConfiguration.g:3825:5: (lv_maxUnlimited_3_0= '*' ) { - // InternalApplicationConfiguration.g:4060:5: (lv_maxUnlimited_3_0= '*' ) - // InternalApplicationConfiguration.g:4061:6: lv_maxUnlimited_3_0= '*' + // InternalApplicationConfiguration.g:3825:5: (lv_maxUnlimited_3_0= '*' ) + // InternalApplicationConfiguration.g:3826:6: lv_maxUnlimited_3_0= '*' { - lv_maxUnlimited_3_0=(Token)match(input,45,FOLLOW_2); + lv_maxUnlimited_3_0=(Token)match(input,42,FOLLOW_2); newLeafNode(lv_maxUnlimited_3_0, grammarAccess.getIntervallNumberAccess().getMaxUnlimitedAsteriskKeyword_2_1_0()); @@ -11139,7 +10479,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleIntEnumberation" - // InternalApplicationConfiguration.g:4078:1: entryRuleIntEnumberation returns [EObject current=null] : iv_ruleIntEnumberation= ruleIntEnumberation EOF ; + // InternalApplicationConfiguration.g:3843:1: entryRuleIntEnumberation returns [EObject current=null] : iv_ruleIntEnumberation= ruleIntEnumberation EOF ; public final EObject entryRuleIntEnumberation() throws RecognitionException { EObject current = null; @@ -11147,8 +10487,8 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:4078:56: (iv_ruleIntEnumberation= ruleIntEnumberation EOF ) - // InternalApplicationConfiguration.g:4079:2: iv_ruleIntEnumberation= ruleIntEnumberation EOF + // InternalApplicationConfiguration.g:3843:56: (iv_ruleIntEnumberation= ruleIntEnumberation EOF ) + // InternalApplicationConfiguration.g:3844:2: iv_ruleIntEnumberation= ruleIntEnumberation EOF { newCompositeNode(grammarAccess.getIntEnumberationRule()); pushFollow(FOLLOW_1); @@ -11175,7 +10515,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleIntEnumberation" - // InternalApplicationConfiguration.g:4085:1: ruleIntEnumberation returns [EObject current=null] : ( () otherlv_1= '{' ( ( (lv_entry_2_0= ruleINTLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) )* )? otherlv_5= '}' ) ; + // InternalApplicationConfiguration.g:3850:1: ruleIntEnumberation returns [EObject current=null] : ( () otherlv_1= '{' ( ( (lv_entry_2_0= ruleINTLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) )* )? otherlv_5= '}' ) ; public final EObject ruleIntEnumberation() throws RecognitionException { EObject current = null; @@ -11191,14 +10531,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:4091:2: ( ( () otherlv_1= '{' ( ( (lv_entry_2_0= ruleINTLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) )* )? otherlv_5= '}' ) ) - // InternalApplicationConfiguration.g:4092:2: ( () otherlv_1= '{' ( ( (lv_entry_2_0= ruleINTLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) )* )? otherlv_5= '}' ) + // InternalApplicationConfiguration.g:3856:2: ( ( () otherlv_1= '{' ( ( (lv_entry_2_0= ruleINTLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) )* )? otherlv_5= '}' ) ) + // InternalApplicationConfiguration.g:3857:2: ( () otherlv_1= '{' ( ( (lv_entry_2_0= ruleINTLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) )* )? otherlv_5= '}' ) { - // InternalApplicationConfiguration.g:4092:2: ( () otherlv_1= '{' ( ( (lv_entry_2_0= ruleINTLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) )* )? otherlv_5= '}' ) - // InternalApplicationConfiguration.g:4093:3: () otherlv_1= '{' ( ( (lv_entry_2_0= ruleINTLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) )* )? otherlv_5= '}' + // InternalApplicationConfiguration.g:3857:2: ( () otherlv_1= '{' ( ( (lv_entry_2_0= ruleINTLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) )* )? otherlv_5= '}' ) + // InternalApplicationConfiguration.g:3858:3: () otherlv_1= '{' ( ( (lv_entry_2_0= ruleINTLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) )* )? otherlv_5= '}' { - // InternalApplicationConfiguration.g:4093:3: () - // InternalApplicationConfiguration.g:4094:4: + // InternalApplicationConfiguration.g:3858:3: () + // InternalApplicationConfiguration.g:3859:4: { current = forceCreateModelElement( @@ -11208,31 +10548,31 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - otherlv_1=(Token)match(input,19,FOLLOW_41); + otherlv_1=(Token)match(input,18,FOLLOW_39); newLeafNode(otherlv_1, grammarAccess.getIntEnumberationAccess().getLeftCurlyBracketKeyword_1()); - // InternalApplicationConfiguration.g:4104:3: ( ( (lv_entry_2_0= ruleINTLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) )* )? - int alt56=2; - int LA56_0 = input.LA(1); + // InternalApplicationConfiguration.g:3869:3: ( ( (lv_entry_2_0= ruleINTLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) )* )? + int alt52=2; + int LA52_0 = input.LA(1); - if ( (LA56_0==RULE_INT||LA56_0==12) ) { - alt56=1; + if ( (LA52_0==RULE_INT||LA52_0==12) ) { + alt52=1; } - switch (alt56) { + switch (alt52) { case 1 : - // InternalApplicationConfiguration.g:4105:4: ( (lv_entry_2_0= ruleINTLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) )* + // InternalApplicationConfiguration.g:3870:4: ( (lv_entry_2_0= ruleINTLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) )* { - // InternalApplicationConfiguration.g:4105:4: ( (lv_entry_2_0= ruleINTLiteral ) ) - // InternalApplicationConfiguration.g:4106:5: (lv_entry_2_0= ruleINTLiteral ) + // InternalApplicationConfiguration.g:3870:4: ( (lv_entry_2_0= ruleINTLiteral ) ) + // InternalApplicationConfiguration.g:3871:5: (lv_entry_2_0= ruleINTLiteral ) { - // InternalApplicationConfiguration.g:4106:5: (lv_entry_2_0= ruleINTLiteral ) - // InternalApplicationConfiguration.g:4107:6: lv_entry_2_0= ruleINTLiteral + // InternalApplicationConfiguration.g:3871:5: (lv_entry_2_0= ruleINTLiteral ) + // InternalApplicationConfiguration.g:3872:6: lv_entry_2_0= ruleINTLiteral { newCompositeNode(grammarAccess.getIntEnumberationAccess().getEntryINTLiteralParserRuleCall_2_0_0()); - pushFollow(FOLLOW_15); + pushFollow(FOLLOW_14); lv_entry_2_0=ruleINTLiteral(); state._fsp--; @@ -11254,35 +10594,35 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - // InternalApplicationConfiguration.g:4124:4: (otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) )* - loop55: + // InternalApplicationConfiguration.g:3889:4: (otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) )* + loop51: do { - int alt55=2; - int LA55_0 = input.LA(1); + int alt51=2; + int LA51_0 = input.LA(1); - if ( (LA55_0==20) ) { - alt55=1; + if ( (LA51_0==19) ) { + alt51=1; } - switch (alt55) { + switch (alt51) { case 1 : - // InternalApplicationConfiguration.g:4125:5: otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) + // InternalApplicationConfiguration.g:3890:5: otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) { - otherlv_3=(Token)match(input,20,FOLLOW_24); + otherlv_3=(Token)match(input,19,FOLLOW_23); newLeafNode(otherlv_3, grammarAccess.getIntEnumberationAccess().getCommaKeyword_2_1_0()); - // InternalApplicationConfiguration.g:4129:5: ( (lv_entry_4_0= ruleINTLiteral ) ) - // InternalApplicationConfiguration.g:4130:6: (lv_entry_4_0= ruleINTLiteral ) + // InternalApplicationConfiguration.g:3894:5: ( (lv_entry_4_0= ruleINTLiteral ) ) + // InternalApplicationConfiguration.g:3895:6: (lv_entry_4_0= ruleINTLiteral ) { - // InternalApplicationConfiguration.g:4130:6: (lv_entry_4_0= ruleINTLiteral ) - // InternalApplicationConfiguration.g:4131:7: lv_entry_4_0= ruleINTLiteral + // InternalApplicationConfiguration.g:3895:6: (lv_entry_4_0= ruleINTLiteral ) + // InternalApplicationConfiguration.g:3896:7: lv_entry_4_0= ruleINTLiteral { newCompositeNode(grammarAccess.getIntEnumberationAccess().getEntryINTLiteralParserRuleCall_2_1_1_0()); - pushFollow(FOLLOW_15); + pushFollow(FOLLOW_14); lv_entry_4_0=ruleINTLiteral(); state._fsp--; @@ -11309,7 +10649,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl break; default : - break loop55; + break loop51; } } while (true); @@ -11319,7 +10659,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - otherlv_5=(Token)match(input,21,FOLLOW_2); + otherlv_5=(Token)match(input,20,FOLLOW_2); newLeafNode(otherlv_5, grammarAccess.getIntEnumberationAccess().getRightCurlyBracketKeyword_3()); @@ -11346,7 +10686,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleRealEnumeration" - // InternalApplicationConfiguration.g:4158:1: entryRuleRealEnumeration returns [EObject current=null] : iv_ruleRealEnumeration= ruleRealEnumeration EOF ; + // InternalApplicationConfiguration.g:3923:1: entryRuleRealEnumeration returns [EObject current=null] : iv_ruleRealEnumeration= ruleRealEnumeration EOF ; public final EObject entryRuleRealEnumeration() throws RecognitionException { EObject current = null; @@ -11354,8 +10694,8 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:4158:56: (iv_ruleRealEnumeration= ruleRealEnumeration EOF ) - // InternalApplicationConfiguration.g:4159:2: iv_ruleRealEnumeration= ruleRealEnumeration EOF + // InternalApplicationConfiguration.g:3923:56: (iv_ruleRealEnumeration= ruleRealEnumeration EOF ) + // InternalApplicationConfiguration.g:3924:2: iv_ruleRealEnumeration= ruleRealEnumeration EOF { newCompositeNode(grammarAccess.getRealEnumerationRule()); pushFollow(FOLLOW_1); @@ -11382,7 +10722,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleRealEnumeration" - // InternalApplicationConfiguration.g:4165:1: ruleRealEnumeration returns [EObject current=null] : ( () otherlv_1= '{' ( ( (lv_entry_2_0= ruleREALLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) ) )* )? otherlv_5= '}' ) ; + // InternalApplicationConfiguration.g:3930:1: ruleRealEnumeration returns [EObject current=null] : ( () otherlv_1= '{' ( ( (lv_entry_2_0= ruleREALLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) ) )* )? otherlv_5= '}' ) ; public final EObject ruleRealEnumeration() throws RecognitionException { EObject current = null; @@ -11398,14 +10738,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:4171:2: ( ( () otherlv_1= '{' ( ( (lv_entry_2_0= ruleREALLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) ) )* )? otherlv_5= '}' ) ) - // InternalApplicationConfiguration.g:4172:2: ( () otherlv_1= '{' ( ( (lv_entry_2_0= ruleREALLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) ) )* )? otherlv_5= '}' ) + // InternalApplicationConfiguration.g:3936:2: ( ( () otherlv_1= '{' ( ( (lv_entry_2_0= ruleREALLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) ) )* )? otherlv_5= '}' ) ) + // InternalApplicationConfiguration.g:3937:2: ( () otherlv_1= '{' ( ( (lv_entry_2_0= ruleREALLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) ) )* )? otherlv_5= '}' ) { - // InternalApplicationConfiguration.g:4172:2: ( () otherlv_1= '{' ( ( (lv_entry_2_0= ruleREALLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) ) )* )? otherlv_5= '}' ) - // InternalApplicationConfiguration.g:4173:3: () otherlv_1= '{' ( ( (lv_entry_2_0= ruleREALLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) ) )* )? otherlv_5= '}' + // InternalApplicationConfiguration.g:3937:2: ( () otherlv_1= '{' ( ( (lv_entry_2_0= ruleREALLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) ) )* )? otherlv_5= '}' ) + // InternalApplicationConfiguration.g:3938:3: () otherlv_1= '{' ( ( (lv_entry_2_0= ruleREALLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) ) )* )? otherlv_5= '}' { - // InternalApplicationConfiguration.g:4173:3: () - // InternalApplicationConfiguration.g:4174:4: + // InternalApplicationConfiguration.g:3938:3: () + // InternalApplicationConfiguration.g:3939:4: { current = forceCreateModelElement( @@ -11415,31 +10755,31 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - otherlv_1=(Token)match(input,19,FOLLOW_41); + otherlv_1=(Token)match(input,18,FOLLOW_39); newLeafNode(otherlv_1, grammarAccess.getRealEnumerationAccess().getLeftCurlyBracketKeyword_1()); - // InternalApplicationConfiguration.g:4184:3: ( ( (lv_entry_2_0= ruleREALLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) ) )* )? - int alt58=2; - int LA58_0 = input.LA(1); + // InternalApplicationConfiguration.g:3949:3: ( ( (lv_entry_2_0= ruleREALLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) ) )* )? + int alt54=2; + int LA54_0 = input.LA(1); - if ( (LA58_0==RULE_INT||LA58_0==12) ) { - alt58=1; + if ( (LA54_0==RULE_INT||LA54_0==12) ) { + alt54=1; } - switch (alt58) { + switch (alt54) { case 1 : - // InternalApplicationConfiguration.g:4185:4: ( (lv_entry_2_0= ruleREALLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) ) )* + // InternalApplicationConfiguration.g:3950:4: ( (lv_entry_2_0= ruleREALLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) ) )* { - // InternalApplicationConfiguration.g:4185:4: ( (lv_entry_2_0= ruleREALLiteral ) ) - // InternalApplicationConfiguration.g:4186:5: (lv_entry_2_0= ruleREALLiteral ) + // InternalApplicationConfiguration.g:3950:4: ( (lv_entry_2_0= ruleREALLiteral ) ) + // InternalApplicationConfiguration.g:3951:5: (lv_entry_2_0= ruleREALLiteral ) { - // InternalApplicationConfiguration.g:4186:5: (lv_entry_2_0= ruleREALLiteral ) - // InternalApplicationConfiguration.g:4187:6: lv_entry_2_0= ruleREALLiteral + // InternalApplicationConfiguration.g:3951:5: (lv_entry_2_0= ruleREALLiteral ) + // InternalApplicationConfiguration.g:3952:6: lv_entry_2_0= ruleREALLiteral { newCompositeNode(grammarAccess.getRealEnumerationAccess().getEntryREALLiteralParserRuleCall_2_0_0()); - pushFollow(FOLLOW_15); + pushFollow(FOLLOW_14); lv_entry_2_0=ruleREALLiteral(); state._fsp--; @@ -11461,35 +10801,35 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - // InternalApplicationConfiguration.g:4204:4: (otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) ) )* - loop57: + // InternalApplicationConfiguration.g:3969:4: (otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) ) )* + loop53: do { - int alt57=2; - int LA57_0 = input.LA(1); + int alt53=2; + int LA53_0 = input.LA(1); - if ( (LA57_0==20) ) { - alt57=1; + if ( (LA53_0==19) ) { + alt53=1; } - switch (alt57) { + switch (alt53) { case 1 : - // InternalApplicationConfiguration.g:4205:5: otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) ) + // InternalApplicationConfiguration.g:3970:5: otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) ) { - otherlv_3=(Token)match(input,20,FOLLOW_24); + otherlv_3=(Token)match(input,19,FOLLOW_23); newLeafNode(otherlv_3, grammarAccess.getRealEnumerationAccess().getCommaKeyword_2_1_0()); - // InternalApplicationConfiguration.g:4209:5: ( (lv_entry_4_0= ruleREALLiteral ) ) - // InternalApplicationConfiguration.g:4210:6: (lv_entry_4_0= ruleREALLiteral ) + // InternalApplicationConfiguration.g:3974:5: ( (lv_entry_4_0= ruleREALLiteral ) ) + // InternalApplicationConfiguration.g:3975:6: (lv_entry_4_0= ruleREALLiteral ) { - // InternalApplicationConfiguration.g:4210:6: (lv_entry_4_0= ruleREALLiteral ) - // InternalApplicationConfiguration.g:4211:7: lv_entry_4_0= ruleREALLiteral + // InternalApplicationConfiguration.g:3975:6: (lv_entry_4_0= ruleREALLiteral ) + // InternalApplicationConfiguration.g:3976:7: lv_entry_4_0= ruleREALLiteral { newCompositeNode(grammarAccess.getRealEnumerationAccess().getEntryREALLiteralParserRuleCall_2_1_1_0()); - pushFollow(FOLLOW_15); + pushFollow(FOLLOW_14); lv_entry_4_0=ruleREALLiteral(); state._fsp--; @@ -11516,7 +10856,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl break; default : - break loop57; + break loop53; } } while (true); @@ -11526,7 +10866,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - otherlv_5=(Token)match(input,21,FOLLOW_2); + otherlv_5=(Token)match(input,20,FOLLOW_2); newLeafNode(otherlv_5, grammarAccess.getRealEnumerationAccess().getRightCurlyBracketKeyword_3()); @@ -11553,7 +10893,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleStringEnumeration" - // InternalApplicationConfiguration.g:4238:1: entryRuleStringEnumeration returns [EObject current=null] : iv_ruleStringEnumeration= ruleStringEnumeration EOF ; + // InternalApplicationConfiguration.g:4003:1: entryRuleStringEnumeration returns [EObject current=null] : iv_ruleStringEnumeration= ruleStringEnumeration EOF ; public final EObject entryRuleStringEnumeration() throws RecognitionException { EObject current = null; @@ -11561,8 +10901,8 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:4238:58: (iv_ruleStringEnumeration= ruleStringEnumeration EOF ) - // InternalApplicationConfiguration.g:4239:2: iv_ruleStringEnumeration= ruleStringEnumeration EOF + // InternalApplicationConfiguration.g:4003:58: (iv_ruleStringEnumeration= ruleStringEnumeration EOF ) + // InternalApplicationConfiguration.g:4004:2: iv_ruleStringEnumeration= ruleStringEnumeration EOF { newCompositeNode(grammarAccess.getStringEnumerationRule()); pushFollow(FOLLOW_1); @@ -11589,7 +10929,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleStringEnumeration" - // InternalApplicationConfiguration.g:4245:1: ruleStringEnumeration returns [EObject current=null] : ( () otherlv_1= '{' ( ( (lv_entry_2_0= RULE_STRING ) ) (otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) ) )* )? otherlv_5= '}' ) ; + // InternalApplicationConfiguration.g:4010:1: ruleStringEnumeration returns [EObject current=null] : ( () otherlv_1= '{' ( ( (lv_entry_2_0= RULE_STRING ) ) (otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) ) )* )? otherlv_5= '}' ) ; public final EObject ruleStringEnumeration() throws RecognitionException { EObject current = null; @@ -11603,14 +10943,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:4251:2: ( ( () otherlv_1= '{' ( ( (lv_entry_2_0= RULE_STRING ) ) (otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) ) )* )? otherlv_5= '}' ) ) - // InternalApplicationConfiguration.g:4252:2: ( () otherlv_1= '{' ( ( (lv_entry_2_0= RULE_STRING ) ) (otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) ) )* )? otherlv_5= '}' ) + // InternalApplicationConfiguration.g:4016:2: ( ( () otherlv_1= '{' ( ( (lv_entry_2_0= RULE_STRING ) ) (otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) ) )* )? otherlv_5= '}' ) ) + // InternalApplicationConfiguration.g:4017:2: ( () otherlv_1= '{' ( ( (lv_entry_2_0= RULE_STRING ) ) (otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) ) )* )? otherlv_5= '}' ) { - // InternalApplicationConfiguration.g:4252:2: ( () otherlv_1= '{' ( ( (lv_entry_2_0= RULE_STRING ) ) (otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) ) )* )? otherlv_5= '}' ) - // InternalApplicationConfiguration.g:4253:3: () otherlv_1= '{' ( ( (lv_entry_2_0= RULE_STRING ) ) (otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) ) )* )? otherlv_5= '}' + // InternalApplicationConfiguration.g:4017:2: ( () otherlv_1= '{' ( ( (lv_entry_2_0= RULE_STRING ) ) (otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) ) )* )? otherlv_5= '}' ) + // InternalApplicationConfiguration.g:4018:3: () otherlv_1= '{' ( ( (lv_entry_2_0= RULE_STRING ) ) (otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) ) )* )? otherlv_5= '}' { - // InternalApplicationConfiguration.g:4253:3: () - // InternalApplicationConfiguration.g:4254:4: + // InternalApplicationConfiguration.g:4018:3: () + // InternalApplicationConfiguration.g:4019:4: { current = forceCreateModelElement( @@ -11620,28 +10960,28 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - otherlv_1=(Token)match(input,19,FOLLOW_42); + otherlv_1=(Token)match(input,18,FOLLOW_40); newLeafNode(otherlv_1, grammarAccess.getStringEnumerationAccess().getLeftCurlyBracketKeyword_1()); - // InternalApplicationConfiguration.g:4264:3: ( ( (lv_entry_2_0= RULE_STRING ) ) (otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) ) )* )? - int alt60=2; - int LA60_0 = input.LA(1); + // InternalApplicationConfiguration.g:4029:3: ( ( (lv_entry_2_0= RULE_STRING ) ) (otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) ) )* )? + int alt56=2; + int LA56_0 = input.LA(1); - if ( (LA60_0==RULE_STRING) ) { - alt60=1; + if ( (LA56_0==RULE_STRING) ) { + alt56=1; } - switch (alt60) { + switch (alt56) { case 1 : - // InternalApplicationConfiguration.g:4265:4: ( (lv_entry_2_0= RULE_STRING ) ) (otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) ) )* + // InternalApplicationConfiguration.g:4030:4: ( (lv_entry_2_0= RULE_STRING ) ) (otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) ) )* { - // InternalApplicationConfiguration.g:4265:4: ( (lv_entry_2_0= RULE_STRING ) ) - // InternalApplicationConfiguration.g:4266:5: (lv_entry_2_0= RULE_STRING ) + // InternalApplicationConfiguration.g:4030:4: ( (lv_entry_2_0= RULE_STRING ) ) + // InternalApplicationConfiguration.g:4031:5: (lv_entry_2_0= RULE_STRING ) { - // InternalApplicationConfiguration.g:4266:5: (lv_entry_2_0= RULE_STRING ) - // InternalApplicationConfiguration.g:4267:6: lv_entry_2_0= RULE_STRING + // InternalApplicationConfiguration.g:4031:5: (lv_entry_2_0= RULE_STRING ) + // InternalApplicationConfiguration.g:4032:6: lv_entry_2_0= RULE_STRING { - lv_entry_2_0=(Token)match(input,RULE_STRING,FOLLOW_15); + lv_entry_2_0=(Token)match(input,RULE_STRING,FOLLOW_14); newLeafNode(lv_entry_2_0, grammarAccess.getStringEnumerationAccess().getEntrySTRINGTerminalRuleCall_2_0_0()); @@ -11661,32 +11001,32 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - // InternalApplicationConfiguration.g:4283:4: (otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) ) )* - loop59: + // InternalApplicationConfiguration.g:4048:4: (otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) ) )* + loop55: do { - int alt59=2; - int LA59_0 = input.LA(1); + int alt55=2; + int LA55_0 = input.LA(1); - if ( (LA59_0==20) ) { - alt59=1; + if ( (LA55_0==19) ) { + alt55=1; } - switch (alt59) { + switch (alt55) { case 1 : - // InternalApplicationConfiguration.g:4284:5: otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) ) + // InternalApplicationConfiguration.g:4049:5: otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) ) { - otherlv_3=(Token)match(input,20,FOLLOW_10); + otherlv_3=(Token)match(input,19,FOLLOW_10); newLeafNode(otherlv_3, grammarAccess.getStringEnumerationAccess().getCommaKeyword_2_1_0()); - // InternalApplicationConfiguration.g:4288:5: ( (lv_entry_4_0= RULE_STRING ) ) - // InternalApplicationConfiguration.g:4289:6: (lv_entry_4_0= RULE_STRING ) + // InternalApplicationConfiguration.g:4053:5: ( (lv_entry_4_0= RULE_STRING ) ) + // InternalApplicationConfiguration.g:4054:6: (lv_entry_4_0= RULE_STRING ) { - // InternalApplicationConfiguration.g:4289:6: (lv_entry_4_0= RULE_STRING ) - // InternalApplicationConfiguration.g:4290:7: lv_entry_4_0= RULE_STRING + // InternalApplicationConfiguration.g:4054:6: (lv_entry_4_0= RULE_STRING ) + // InternalApplicationConfiguration.g:4055:7: lv_entry_4_0= RULE_STRING { - lv_entry_4_0=(Token)match(input,RULE_STRING,FOLLOW_15); + lv_entry_4_0=(Token)match(input,RULE_STRING,FOLLOW_14); newLeafNode(lv_entry_4_0, grammarAccess.getStringEnumerationAccess().getEntrySTRINGTerminalRuleCall_2_1_1_0()); @@ -11711,7 +11051,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl break; default : - break loop59; + break loop55; } } while (true); @@ -11721,7 +11061,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - otherlv_5=(Token)match(input,21,FOLLOW_2); + otherlv_5=(Token)match(input,20,FOLLOW_2); newLeafNode(otherlv_5, grammarAccess.getStringEnumerationAccess().getRightCurlyBracketKeyword_3()); @@ -11748,7 +11088,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleScopeDeclaration" - // InternalApplicationConfiguration.g:4316:1: entryRuleScopeDeclaration returns [EObject current=null] : iv_ruleScopeDeclaration= ruleScopeDeclaration EOF ; + // InternalApplicationConfiguration.g:4081:1: entryRuleScopeDeclaration returns [EObject current=null] : iv_ruleScopeDeclaration= ruleScopeDeclaration EOF ; public final EObject entryRuleScopeDeclaration() throws RecognitionException { EObject current = null; @@ -11756,8 +11096,8 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:4316:57: (iv_ruleScopeDeclaration= ruleScopeDeclaration EOF ) - // InternalApplicationConfiguration.g:4317:2: iv_ruleScopeDeclaration= ruleScopeDeclaration EOF + // InternalApplicationConfiguration.g:4081:57: (iv_ruleScopeDeclaration= ruleScopeDeclaration EOF ) + // InternalApplicationConfiguration.g:4082:2: iv_ruleScopeDeclaration= ruleScopeDeclaration EOF { newCompositeNode(grammarAccess.getScopeDeclarationRule()); pushFollow(FOLLOW_1); @@ -11784,7 +11124,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleScopeDeclaration" - // InternalApplicationConfiguration.g:4323:1: ruleScopeDeclaration returns [EObject current=null] : (otherlv_0= 'scope' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleScopeSpecification ) ) ) ; + // InternalApplicationConfiguration.g:4088: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; @@ -11797,23 +11137,23 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:4329:2: ( (otherlv_0= 'scope' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleScopeSpecification ) ) ) ) - // InternalApplicationConfiguration.g:4330:2: (otherlv_0= 'scope' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleScopeSpecification ) ) ) + // InternalApplicationConfiguration.g:4094:2: ( (otherlv_0= 'scope' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleScopeSpecification ) ) ) ) + // InternalApplicationConfiguration.g:4095:2: (otherlv_0= 'scope' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleScopeSpecification ) ) ) { - // InternalApplicationConfiguration.g:4330:2: (otherlv_0= 'scope' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleScopeSpecification ) ) ) - // InternalApplicationConfiguration.g:4331:3: otherlv_0= 'scope' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleScopeSpecification ) ) + // InternalApplicationConfiguration.g:4095:2: (otherlv_0= 'scope' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleScopeSpecification ) ) ) + // InternalApplicationConfiguration.g:4096:3: otherlv_0= 'scope' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleScopeSpecification ) ) { - otherlv_0=(Token)match(input,47,FOLLOW_6); + otherlv_0=(Token)match(input,44,FOLLOW_6); newLeafNode(otherlv_0, grammarAccess.getScopeDeclarationAccess().getScopeKeyword_0()); - // InternalApplicationConfiguration.g:4335:3: ( (lv_name_1_0= RULE_ID ) ) - // InternalApplicationConfiguration.g:4336:4: (lv_name_1_0= RULE_ID ) + // InternalApplicationConfiguration.g:4100:3: ( (lv_name_1_0= RULE_ID ) ) + // InternalApplicationConfiguration.g:4101:4: (lv_name_1_0= RULE_ID ) { - // InternalApplicationConfiguration.g:4336:4: (lv_name_1_0= RULE_ID ) - // InternalApplicationConfiguration.g:4337:5: lv_name_1_0= RULE_ID + // InternalApplicationConfiguration.g:4101:4: (lv_name_1_0= RULE_ID ) + // InternalApplicationConfiguration.g:4102:5: lv_name_1_0= RULE_ID { - lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_17); + lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_16); newLeafNode(lv_name_1_0, grammarAccess.getScopeDeclarationAccess().getNameIDTerminalRuleCall_1_0()); @@ -11833,11 +11173,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - // InternalApplicationConfiguration.g:4353:3: ( (lv_specification_2_0= ruleScopeSpecification ) ) - // InternalApplicationConfiguration.g:4354:4: (lv_specification_2_0= ruleScopeSpecification ) + // InternalApplicationConfiguration.g:4118:3: ( (lv_specification_2_0= ruleScopeSpecification ) ) + // InternalApplicationConfiguration.g:4119:4: (lv_specification_2_0= ruleScopeSpecification ) { - // InternalApplicationConfiguration.g:4354:4: (lv_specification_2_0= ruleScopeSpecification ) - // InternalApplicationConfiguration.g:4355:5: lv_specification_2_0= ruleScopeSpecification + // InternalApplicationConfiguration.g:4119:4: (lv_specification_2_0= ruleScopeSpecification ) + // InternalApplicationConfiguration.g:4120:5: lv_specification_2_0= ruleScopeSpecification { newCompositeNode(grammarAccess.getScopeDeclarationAccess().getSpecificationScopeSpecificationParserRuleCall_2_0()); @@ -11887,7 +11227,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleScopeReference" - // InternalApplicationConfiguration.g:4376:1: entryRuleScopeReference returns [EObject current=null] : iv_ruleScopeReference= ruleScopeReference EOF ; + // InternalApplicationConfiguration.g:4141:1: entryRuleScopeReference returns [EObject current=null] : iv_ruleScopeReference= ruleScopeReference EOF ; public final EObject entryRuleScopeReference() throws RecognitionException { EObject current = null; @@ -11895,8 +11235,8 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:4376:55: (iv_ruleScopeReference= ruleScopeReference EOF ) - // InternalApplicationConfiguration.g:4377:2: iv_ruleScopeReference= ruleScopeReference EOF + // InternalApplicationConfiguration.g:4141:55: (iv_ruleScopeReference= ruleScopeReference EOF ) + // InternalApplicationConfiguration.g:4142:2: iv_ruleScopeReference= ruleScopeReference EOF { newCompositeNode(grammarAccess.getScopeReferenceRule()); pushFollow(FOLLOW_1); @@ -11923,7 +11263,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleScopeReference" - // InternalApplicationConfiguration.g:4383:1: ruleScopeReference returns [EObject current=null] : ( (otherlv_0= RULE_ID ) ) ; + // InternalApplicationConfiguration.g:4148:1: ruleScopeReference returns [EObject current=null] : ( (otherlv_0= RULE_ID ) ) ; public final EObject ruleScopeReference() throws RecognitionException { EObject current = null; @@ -11933,14 +11273,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:4389:2: ( ( (otherlv_0= RULE_ID ) ) ) - // InternalApplicationConfiguration.g:4390:2: ( (otherlv_0= RULE_ID ) ) + // InternalApplicationConfiguration.g:4154:2: ( ( (otherlv_0= RULE_ID ) ) ) + // InternalApplicationConfiguration.g:4155:2: ( (otherlv_0= RULE_ID ) ) { - // InternalApplicationConfiguration.g:4390:2: ( (otherlv_0= RULE_ID ) ) - // InternalApplicationConfiguration.g:4391:3: (otherlv_0= RULE_ID ) + // InternalApplicationConfiguration.g:4155:2: ( (otherlv_0= RULE_ID ) ) + // InternalApplicationConfiguration.g:4156:3: (otherlv_0= RULE_ID ) { - // InternalApplicationConfiguration.g:4391:3: (otherlv_0= RULE_ID ) - // InternalApplicationConfiguration.g:4392:4: otherlv_0= RULE_ID + // InternalApplicationConfiguration.g:4156:3: (otherlv_0= RULE_ID ) + // InternalApplicationConfiguration.g:4157:4: otherlv_0= RULE_ID { if (current==null) { @@ -11977,7 +11317,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleScope" - // InternalApplicationConfiguration.g:4406:1: entryRuleScope returns [EObject current=null] : iv_ruleScope= ruleScope EOF ; + // InternalApplicationConfiguration.g:4171:1: entryRuleScope returns [EObject current=null] : iv_ruleScope= ruleScope EOF ; public final EObject entryRuleScope() throws RecognitionException { EObject current = null; @@ -11985,8 +11325,8 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:4406:46: (iv_ruleScope= ruleScope EOF ) - // InternalApplicationConfiguration.g:4407:2: iv_ruleScope= ruleScope EOF + // InternalApplicationConfiguration.g:4171:46: (iv_ruleScope= ruleScope EOF ) + // InternalApplicationConfiguration.g:4172:2: iv_ruleScope= ruleScope EOF { newCompositeNode(grammarAccess.getScopeRule()); pushFollow(FOLLOW_1); @@ -12013,7 +11353,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleScope" - // InternalApplicationConfiguration.g:4413:1: ruleScope returns [EObject current=null] : (this_ScopeSpecification_0= ruleScopeSpecification | this_ScopeReference_1= ruleScopeReference ) ; + // InternalApplicationConfiguration.g:4178:1: ruleScope returns [EObject current=null] : (this_ScopeSpecification_0= ruleScopeSpecification | this_ScopeReference_1= ruleScopeReference ) ; public final EObject ruleScope() throws RecognitionException { EObject current = null; @@ -12026,28 +11366,28 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:4419:2: ( (this_ScopeSpecification_0= ruleScopeSpecification | this_ScopeReference_1= ruleScopeReference ) ) - // InternalApplicationConfiguration.g:4420:2: (this_ScopeSpecification_0= ruleScopeSpecification | this_ScopeReference_1= ruleScopeReference ) + // InternalApplicationConfiguration.g:4184:2: ( (this_ScopeSpecification_0= ruleScopeSpecification | this_ScopeReference_1= ruleScopeReference ) ) + // InternalApplicationConfiguration.g:4185:2: (this_ScopeSpecification_0= ruleScopeSpecification | this_ScopeReference_1= ruleScopeReference ) { - // InternalApplicationConfiguration.g:4420:2: (this_ScopeSpecification_0= ruleScopeSpecification | this_ScopeReference_1= ruleScopeReference ) - int alt61=2; - int LA61_0 = input.LA(1); + // InternalApplicationConfiguration.g:4185:2: (this_ScopeSpecification_0= ruleScopeSpecification | this_ScopeReference_1= ruleScopeReference ) + int alt57=2; + int LA57_0 = input.LA(1); - if ( (LA61_0==19) ) { - alt61=1; + if ( (LA57_0==18) ) { + alt57=1; } - else if ( (LA61_0==RULE_ID) ) { - alt61=2; + else if ( (LA57_0==RULE_ID) ) { + alt57=2; } else { NoViableAltException nvae = - new NoViableAltException("", 61, 0, input); + new NoViableAltException("", 57, 0, input); throw nvae; } - switch (alt61) { + switch (alt57) { case 1 : - // InternalApplicationConfiguration.g:4421:3: this_ScopeSpecification_0= ruleScopeSpecification + // InternalApplicationConfiguration.g:4186:3: this_ScopeSpecification_0= ruleScopeSpecification { newCompositeNode(grammarAccess.getScopeAccess().getScopeSpecificationParserRuleCall_0()); @@ -12065,7 +11405,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } break; case 2 : - // InternalApplicationConfiguration.g:4430:3: this_ScopeReference_1= ruleScopeReference + // InternalApplicationConfiguration.g:4195:3: this_ScopeReference_1= ruleScopeReference { newCompositeNode(grammarAccess.getScopeAccess().getScopeReferenceParserRuleCall_1()); @@ -12105,7 +11445,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleTask" - // InternalApplicationConfiguration.g:4442:1: entryRuleTask returns [EObject current=null] : iv_ruleTask= ruleTask EOF ; + // InternalApplicationConfiguration.g:4207:1: entryRuleTask returns [EObject current=null] : iv_ruleTask= ruleTask EOF ; public final EObject entryRuleTask() throws RecognitionException { EObject current = null; @@ -12113,8 +11453,8 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:4442:45: (iv_ruleTask= ruleTask EOF ) - // InternalApplicationConfiguration.g:4443:2: iv_ruleTask= ruleTask EOF + // InternalApplicationConfiguration.g:4207:45: (iv_ruleTask= ruleTask EOF ) + // InternalApplicationConfiguration.g:4208:2: iv_ruleTask= ruleTask EOF { newCompositeNode(grammarAccess.getTaskRule()); pushFollow(FOLLOW_1); @@ -12141,7 +11481,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleTask" - // InternalApplicationConfiguration.g:4449:1: ruleTask returns [EObject current=null] : this_GenerationTask_0= ruleGenerationTask ; + // InternalApplicationConfiguration.g:4214:1: ruleTask returns [EObject current=null] : this_GenerationTask_0= ruleGenerationTask ; public final EObject ruleTask() throws RecognitionException { EObject current = null; @@ -12152,8 +11492,8 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:4455:2: (this_GenerationTask_0= ruleGenerationTask ) - // InternalApplicationConfiguration.g:4456:2: this_GenerationTask_0= ruleGenerationTask + // InternalApplicationConfiguration.g:4220:2: (this_GenerationTask_0= ruleGenerationTask ) + // InternalApplicationConfiguration.g:4221:2: this_GenerationTask_0= ruleGenerationTask { newCompositeNode(grammarAccess.getTaskAccess().getGenerationTaskParserRuleCall()); @@ -12187,7 +11527,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleGenerationTask" - // InternalApplicationConfiguration.g:4467:1: entryRuleGenerationTask returns [EObject current=null] : iv_ruleGenerationTask= ruleGenerationTask EOF ; + // InternalApplicationConfiguration.g:4232:1: entryRuleGenerationTask returns [EObject current=null] : iv_ruleGenerationTask= ruleGenerationTask EOF ; public final EObject entryRuleGenerationTask() throws RecognitionException { EObject current = null; @@ -12195,8 +11535,8 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:4467:55: (iv_ruleGenerationTask= ruleGenerationTask EOF ) - // InternalApplicationConfiguration.g:4468:2: iv_ruleGenerationTask= ruleGenerationTask EOF + // InternalApplicationConfiguration.g:4232:55: (iv_ruleGenerationTask= ruleGenerationTask EOF ) + // InternalApplicationConfiguration.g:4233:2: iv_ruleGenerationTask= ruleGenerationTask EOF { newCompositeNode(grammarAccess.getGenerationTaskRule()); pushFollow(FOLLOW_1); @@ -12223,7 +11563,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleGenerationTask" - // InternalApplicationConfiguration.g:4474: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= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (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= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) ) )* ) ) ) otherlv_43= '}' ) ; + // InternalApplicationConfiguration.g:4239: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= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (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= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) ) )* ) ) ) otherlv_43= '}' ) ; public final EObject ruleGenerationTask() throws RecognitionException { EObject current = null; @@ -12285,18 +11625,18 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:4480: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= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (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= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) ) )* ) ) ) otherlv_43= '}' ) ) - // InternalApplicationConfiguration.g:4481: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= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (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= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) ) )* ) ) ) otherlv_43= '}' ) + // InternalApplicationConfiguration.g:4245: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= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (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= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) ) )* ) ) ) otherlv_43= '}' ) ) + // InternalApplicationConfiguration.g:4246: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= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (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= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) ) )* ) ) ) otherlv_43= '}' ) { - // InternalApplicationConfiguration.g:4481: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= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (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= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) ) )* ) ) ) otherlv_43= '}' ) - // InternalApplicationConfiguration.g:4482: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= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (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= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) ) )* ) ) ) otherlv_43= '}' + // InternalApplicationConfiguration.g:4246: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= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (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= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) ) )* ) ) ) otherlv_43= '}' ) + // InternalApplicationConfiguration.g:4247: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= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (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= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) ) )* ) ) ) otherlv_43= '}' { - otherlv_0=(Token)match(input,48,FOLLOW_17); + otherlv_0=(Token)match(input,45,FOLLOW_16); newLeafNode(otherlv_0, grammarAccess.getGenerationTaskAccess().getGenerateKeyword_0()); - // InternalApplicationConfiguration.g:4486:3: () - // InternalApplicationConfiguration.g:4487:4: + // InternalApplicationConfiguration.g:4251:3: () + // InternalApplicationConfiguration.g:4252:4: { current = forceCreateModelElement( @@ -12306,70 +11646,70 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - otherlv_2=(Token)match(input,19,FOLLOW_43); + otherlv_2=(Token)match(input,18,FOLLOW_41); newLeafNode(otherlv_2, grammarAccess.getGenerationTaskAccess().getLeftCurlyBracketKeyword_2()); - // InternalApplicationConfiguration.g:4497:3: ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (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= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) ) )* ) ) ) - // InternalApplicationConfiguration.g:4498:4: ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (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= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) ) )* ) ) + // InternalApplicationConfiguration.g:4262:3: ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (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= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) ) )* ) ) ) + // InternalApplicationConfiguration.g:4263:4: ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (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= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) ) )* ) ) { - // InternalApplicationConfiguration.g:4498:4: ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (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= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) ) )* ) ) - // InternalApplicationConfiguration.g:4499:5: ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (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= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) ) )* ) + // InternalApplicationConfiguration.g:4263:4: ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (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= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) ) )* ) ) + // InternalApplicationConfiguration.g:4264:5: ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (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= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) ) )* ) { getUnorderedGroupHelper().enter(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); - // InternalApplicationConfiguration.g:4502:5: ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (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= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) ) )* ) - // InternalApplicationConfiguration.g:4503:6: ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (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= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) ) )* + // InternalApplicationConfiguration.g:4267:5: ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (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= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) ) )* ) + // InternalApplicationConfiguration.g:4268:6: ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (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= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) ) )* { - // InternalApplicationConfiguration.g:4503:6: ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (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= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) ) )* - loop62: + // InternalApplicationConfiguration.g:4268:6: ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (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= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) ) )* + loop58: do { - int alt62=14; - alt62 = dfa62.predict(input); - switch (alt62) { + int alt58=14; + alt58 = dfa58.predict(input); + switch (alt58) { case 1 : - // InternalApplicationConfiguration.g:4504:4: ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) + // InternalApplicationConfiguration.g:4269:4: ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) { - // InternalApplicationConfiguration.g:4504:4: ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) - // InternalApplicationConfiguration.g:4505:5: {...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) + // InternalApplicationConfiguration.g:4269:4: ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) + // InternalApplicationConfiguration.g:4270:5: {...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) { if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0) ) { throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0)"); } - // InternalApplicationConfiguration.g:4505:111: ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) - // InternalApplicationConfiguration.g:4506:6: ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) + // InternalApplicationConfiguration.g:4270:111: ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) + // InternalApplicationConfiguration.g:4271:6: ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) { getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0); - // InternalApplicationConfiguration.g:4509:9: ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) - // InternalApplicationConfiguration.g:4509:10: {...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) + // InternalApplicationConfiguration.g:4274:9: ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) + // InternalApplicationConfiguration.g:4274:10: {...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) { if ( !((true)) ) { throw new FailedPredicateException(input, "ruleGenerationTask", "true"); } - // InternalApplicationConfiguration.g:4509:19: (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) - // InternalApplicationConfiguration.g:4509:20: otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) + // InternalApplicationConfiguration.g:4274:19: (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) + // InternalApplicationConfiguration.g:4274:20: otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) { - otherlv_4=(Token)match(input,25,FOLLOW_13); + otherlv_4=(Token)match(input,24,FOLLOW_12); newLeafNode(otherlv_4, grammarAccess.getGenerationTaskAccess().getMetamodelKeyword_3_0_0()); - otherlv_5=(Token)match(input,18,FOLLOW_44); + otherlv_5=(Token)match(input,17,FOLLOW_42); newLeafNode(otherlv_5, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_0_1()); - // InternalApplicationConfiguration.g:4517:9: ( (lv_metamodel_6_0= ruleMetamodel ) ) - // InternalApplicationConfiguration.g:4518:10: (lv_metamodel_6_0= ruleMetamodel ) + // InternalApplicationConfiguration.g:4282:9: ( (lv_metamodel_6_0= ruleMetamodel ) ) + // InternalApplicationConfiguration.g:4283:10: (lv_metamodel_6_0= ruleMetamodel ) { - // InternalApplicationConfiguration.g:4518:10: (lv_metamodel_6_0= ruleMetamodel ) - // InternalApplicationConfiguration.g:4519:11: lv_metamodel_6_0= ruleMetamodel + // InternalApplicationConfiguration.g:4283:10: (lv_metamodel_6_0= ruleMetamodel ) + // InternalApplicationConfiguration.g:4284:11: lv_metamodel_6_0= ruleMetamodel { newCompositeNode(grammarAccess.getGenerationTaskAccess().getMetamodelMetamodelParserRuleCall_3_0_2_0()); - pushFollow(FOLLOW_43); + pushFollow(FOLLOW_41); lv_metamodel_6_0=ruleMetamodel(); state._fsp--; @@ -12410,47 +11750,47 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } break; case 2 : - // InternalApplicationConfiguration.g:4542:4: ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) + // InternalApplicationConfiguration.g:4307:4: ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) { - // InternalApplicationConfiguration.g:4542:4: ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) - // InternalApplicationConfiguration.g:4543:5: {...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) + // InternalApplicationConfiguration.g:4307:4: ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) + // InternalApplicationConfiguration.g:4308:5: {...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) { if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1) ) { throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1)"); } - // InternalApplicationConfiguration.g:4543:111: ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) - // InternalApplicationConfiguration.g:4544:6: ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) + // InternalApplicationConfiguration.g:4308:111: ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) + // InternalApplicationConfiguration.g:4309:6: ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) { getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1); - // InternalApplicationConfiguration.g:4547:9: ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) - // InternalApplicationConfiguration.g:4547:10: {...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) + // InternalApplicationConfiguration.g:4312:9: ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) + // InternalApplicationConfiguration.g:4312:10: {...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) { if ( !((true)) ) { throw new FailedPredicateException(input, "ruleGenerationTask", "true"); } - // InternalApplicationConfiguration.g:4547:19: (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) - // InternalApplicationConfiguration.g:4547:20: otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) + // InternalApplicationConfiguration.g:4312:19: (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) + // InternalApplicationConfiguration.g:4312:20: otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) { - otherlv_7=(Token)match(input,49,FOLLOW_13); + otherlv_7=(Token)match(input,46,FOLLOW_12); newLeafNode(otherlv_7, grammarAccess.getGenerationTaskAccess().getPartialModelKeyword_3_1_0()); - otherlv_8=(Token)match(input,18,FOLLOW_44); + otherlv_8=(Token)match(input,17,FOLLOW_42); newLeafNode(otherlv_8, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_1_1()); - // InternalApplicationConfiguration.g:4555:9: ( (lv_partialModel_9_0= rulePartialModel ) ) - // InternalApplicationConfiguration.g:4556:10: (lv_partialModel_9_0= rulePartialModel ) + // InternalApplicationConfiguration.g:4320:9: ( (lv_partialModel_9_0= rulePartialModel ) ) + // InternalApplicationConfiguration.g:4321:10: (lv_partialModel_9_0= rulePartialModel ) { - // InternalApplicationConfiguration.g:4556:10: (lv_partialModel_9_0= rulePartialModel ) - // InternalApplicationConfiguration.g:4557:11: lv_partialModel_9_0= rulePartialModel + // InternalApplicationConfiguration.g:4321:10: (lv_partialModel_9_0= rulePartialModel ) + // InternalApplicationConfiguration.g:4322:11: lv_partialModel_9_0= rulePartialModel { newCompositeNode(grammarAccess.getGenerationTaskAccess().getPartialModelPartialModelParserRuleCall_3_1_2_0()); - pushFollow(FOLLOW_43); + pushFollow(FOLLOW_41); lv_partialModel_9_0=rulePartialModel(); state._fsp--; @@ -12491,47 +11831,47 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } break; case 3 : - // InternalApplicationConfiguration.g:4580:4: ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) + // InternalApplicationConfiguration.g:4345:4: ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) { - // InternalApplicationConfiguration.g:4580:4: ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) - // InternalApplicationConfiguration.g:4581:5: {...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) + // InternalApplicationConfiguration.g:4345:4: ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) + // InternalApplicationConfiguration.g:4346:5: {...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) { if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2) ) { throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2)"); } - // InternalApplicationConfiguration.g:4581:111: ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) - // InternalApplicationConfiguration.g:4582:6: ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) + // InternalApplicationConfiguration.g:4346:111: ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) + // InternalApplicationConfiguration.g:4347:6: ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) { getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2); - // InternalApplicationConfiguration.g:4585:9: ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) - // InternalApplicationConfiguration.g:4585:10: {...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) + // InternalApplicationConfiguration.g:4350:9: ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) + // InternalApplicationConfiguration.g:4350:10: {...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) { if ( !((true)) ) { throw new FailedPredicateException(input, "ruleGenerationTask", "true"); } - // InternalApplicationConfiguration.g:4585:19: (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) - // InternalApplicationConfiguration.g:4585:20: otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) + // InternalApplicationConfiguration.g:4350:19: (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) + // InternalApplicationConfiguration.g:4350:20: otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) { - otherlv_10=(Token)match(input,28,FOLLOW_13); + otherlv_10=(Token)match(input,27,FOLLOW_12); newLeafNode(otherlv_10, grammarAccess.getGenerationTaskAccess().getConstraintsKeyword_3_2_0()); - otherlv_11=(Token)match(input,18,FOLLOW_44); + otherlv_11=(Token)match(input,17,FOLLOW_42); newLeafNode(otherlv_11, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_2_1()); - // InternalApplicationConfiguration.g:4593:9: ( (lv_patterns_12_0= ruleGraphPattern ) ) - // InternalApplicationConfiguration.g:4594:10: (lv_patterns_12_0= ruleGraphPattern ) + // InternalApplicationConfiguration.g:4358:9: ( (lv_patterns_12_0= ruleGraphPattern ) ) + // InternalApplicationConfiguration.g:4359:10: (lv_patterns_12_0= ruleGraphPattern ) { - // InternalApplicationConfiguration.g:4594:10: (lv_patterns_12_0= ruleGraphPattern ) - // InternalApplicationConfiguration.g:4595:11: lv_patterns_12_0= ruleGraphPattern + // InternalApplicationConfiguration.g:4359:10: (lv_patterns_12_0= ruleGraphPattern ) + // InternalApplicationConfiguration.g:4360:11: lv_patterns_12_0= ruleGraphPattern { newCompositeNode(grammarAccess.getGenerationTaskAccess().getPatternsGraphPatternParserRuleCall_3_2_2_0()); - pushFollow(FOLLOW_43); + pushFollow(FOLLOW_41); lv_patterns_12_0=ruleGraphPattern(); state._fsp--; @@ -12572,47 +11912,47 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } break; case 4 : - // InternalApplicationConfiguration.g:4618:4: ({...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) ) + // InternalApplicationConfiguration.g:4383:4: ({...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) ) { - // InternalApplicationConfiguration.g:4618:4: ({...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) ) - // InternalApplicationConfiguration.g:4619:5: {...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) + // InternalApplicationConfiguration.g:4383:4: ({...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) ) + // InternalApplicationConfiguration.g:4384:5: {...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) { if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3) ) { throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3)"); } - // InternalApplicationConfiguration.g:4619:111: ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) - // InternalApplicationConfiguration.g:4620:6: ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) + // InternalApplicationConfiguration.g:4384:111: ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) + // InternalApplicationConfiguration.g:4385:6: ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) { getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3); - // InternalApplicationConfiguration.g:4623:9: ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) - // InternalApplicationConfiguration.g:4623:10: {...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) + // InternalApplicationConfiguration.g:4388:9: ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) + // InternalApplicationConfiguration.g:4388:10: {...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) { if ( !((true)) ) { throw new FailedPredicateException(input, "ruleGenerationTask", "true"); } - // InternalApplicationConfiguration.g:4623:19: (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) - // InternalApplicationConfiguration.g:4623:20: otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) + // InternalApplicationConfiguration.g:4388:19: (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) + // InternalApplicationConfiguration.g:4388:20: otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) { - otherlv_13=(Token)match(input,32,FOLLOW_13); + otherlv_13=(Token)match(input,29,FOLLOW_12); newLeafNode(otherlv_13, grammarAccess.getGenerationTaskAccess().getObjectivesKeyword_3_3_0()); - otherlv_14=(Token)match(input,18,FOLLOW_44); + otherlv_14=(Token)match(input,17,FOLLOW_42); newLeafNode(otherlv_14, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_3_1()); - // InternalApplicationConfiguration.g:4631:9: ( (lv_objectives_15_0= ruleObjective ) ) - // InternalApplicationConfiguration.g:4632:10: (lv_objectives_15_0= ruleObjective ) + // InternalApplicationConfiguration.g:4396:9: ( (lv_objectives_15_0= ruleObjective ) ) + // InternalApplicationConfiguration.g:4397:10: (lv_objectives_15_0= ruleObjective ) { - // InternalApplicationConfiguration.g:4632:10: (lv_objectives_15_0= ruleObjective ) - // InternalApplicationConfiguration.g:4633:11: lv_objectives_15_0= ruleObjective + // InternalApplicationConfiguration.g:4397:10: (lv_objectives_15_0= ruleObjective ) + // InternalApplicationConfiguration.g:4398:11: lv_objectives_15_0= ruleObjective { newCompositeNode(grammarAccess.getGenerationTaskAccess().getObjectivesObjectiveParserRuleCall_3_3_2_0()); - pushFollow(FOLLOW_43); + pushFollow(FOLLOW_41); lv_objectives_15_0=ruleObjective(); state._fsp--; @@ -12653,47 +11993,47 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } break; case 5 : - // InternalApplicationConfiguration.g:4656:4: ({...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) ) + // InternalApplicationConfiguration.g:4421:4: ({...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) ) { - // InternalApplicationConfiguration.g:4656:4: ({...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) ) - // InternalApplicationConfiguration.g:4657:5: {...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) + // InternalApplicationConfiguration.g:4421:4: ({...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) ) + // InternalApplicationConfiguration.g:4422:5: {...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) { if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4) ) { throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4)"); } - // InternalApplicationConfiguration.g:4657:111: ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) - // InternalApplicationConfiguration.g:4658:6: ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) + // InternalApplicationConfiguration.g:4422:111: ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) + // InternalApplicationConfiguration.g:4423:6: ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) { getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4); - // InternalApplicationConfiguration.g:4661:9: ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) - // InternalApplicationConfiguration.g:4661:10: {...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) + // InternalApplicationConfiguration.g:4426:9: ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) + // InternalApplicationConfiguration.g:4426:10: {...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) { if ( !((true)) ) { throw new FailedPredicateException(input, "ruleGenerationTask", "true"); } - // InternalApplicationConfiguration.g:4661:19: (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) - // InternalApplicationConfiguration.g:4661:20: otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) + // InternalApplicationConfiguration.g:4426:19: (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) + // InternalApplicationConfiguration.g:4426:20: otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) { - otherlv_16=(Token)match(input,47,FOLLOW_13); + otherlv_16=(Token)match(input,44,FOLLOW_12); newLeafNode(otherlv_16, grammarAccess.getGenerationTaskAccess().getScopeKeyword_3_4_0()); - otherlv_17=(Token)match(input,18,FOLLOW_44); + otherlv_17=(Token)match(input,17,FOLLOW_42); newLeafNode(otherlv_17, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_4_1()); - // InternalApplicationConfiguration.g:4669:9: ( (lv_scope_18_0= ruleScope ) ) - // InternalApplicationConfiguration.g:4670:10: (lv_scope_18_0= ruleScope ) + // InternalApplicationConfiguration.g:4434:9: ( (lv_scope_18_0= ruleScope ) ) + // InternalApplicationConfiguration.g:4435:10: (lv_scope_18_0= ruleScope ) { - // InternalApplicationConfiguration.g:4670:10: (lv_scope_18_0= ruleScope ) - // InternalApplicationConfiguration.g:4671:11: lv_scope_18_0= ruleScope + // InternalApplicationConfiguration.g:4435:10: (lv_scope_18_0= ruleScope ) + // InternalApplicationConfiguration.g:4436:11: lv_scope_18_0= ruleScope { newCompositeNode(grammarAccess.getGenerationTaskAccess().getScopeScopeParserRuleCall_3_4_2_0()); - pushFollow(FOLLOW_43); + pushFollow(FOLLOW_41); lv_scope_18_0=ruleScope(); state._fsp--; @@ -12734,36 +12074,36 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } break; case 6 : - // InternalApplicationConfiguration.g:4694:4: ({...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) ) + // InternalApplicationConfiguration.g:4459:4: ({...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) ) { - // InternalApplicationConfiguration.g:4694:4: ({...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) ) - // InternalApplicationConfiguration.g:4695:5: {...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) + // InternalApplicationConfiguration.g:4459:4: ({...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) ) + // InternalApplicationConfiguration.g:4460:5: {...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) { if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5) ) { throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5)"); } - // InternalApplicationConfiguration.g:4695:111: ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) - // InternalApplicationConfiguration.g:4696:6: ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) + // InternalApplicationConfiguration.g:4460:111: ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) + // InternalApplicationConfiguration.g:4461:6: ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) { getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5); - // InternalApplicationConfiguration.g:4699:9: ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) - // InternalApplicationConfiguration.g:4699:10: {...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) + // InternalApplicationConfiguration.g:4464:9: ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) + // InternalApplicationConfiguration.g:4464:10: {...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) { if ( !((true)) ) { throw new FailedPredicateException(input, "ruleGenerationTask", "true"); } - // InternalApplicationConfiguration.g:4699:19: ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) - // InternalApplicationConfiguration.g:4699:20: ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) + // InternalApplicationConfiguration.g:4464:19: ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) + // InternalApplicationConfiguration.g:4464:20: ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) { - // InternalApplicationConfiguration.g:4699:20: ( (lv_numberSpecified_19_0= 'number' ) ) - // InternalApplicationConfiguration.g:4700:10: (lv_numberSpecified_19_0= 'number' ) + // InternalApplicationConfiguration.g:4464:20: ( (lv_numberSpecified_19_0= 'number' ) ) + // InternalApplicationConfiguration.g:4465:10: (lv_numberSpecified_19_0= 'number' ) { - // InternalApplicationConfiguration.g:4700:10: (lv_numberSpecified_19_0= 'number' ) - // InternalApplicationConfiguration.g:4701:11: lv_numberSpecified_19_0= 'number' + // InternalApplicationConfiguration.g:4465:10: (lv_numberSpecified_19_0= 'number' ) + // InternalApplicationConfiguration.g:4466:11: lv_numberSpecified_19_0= 'number' { - lv_numberSpecified_19_0=(Token)match(input,50,FOLLOW_13); + lv_numberSpecified_19_0=(Token)match(input,47,FOLLOW_12); newLeafNode(lv_numberSpecified_19_0, grammarAccess.getGenerationTaskAccess().getNumberSpecifiedNumberKeyword_3_5_0_0()); @@ -12779,17 +12119,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - otherlv_20=(Token)match(input,18,FOLLOW_7); + otherlv_20=(Token)match(input,17,FOLLOW_7); newLeafNode(otherlv_20, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_5_1()); - // InternalApplicationConfiguration.g:4717:9: ( (lv_number_21_0= RULE_INT ) ) - // InternalApplicationConfiguration.g:4718:10: (lv_number_21_0= RULE_INT ) + // InternalApplicationConfiguration.g:4482:9: ( (lv_number_21_0= RULE_INT ) ) + // InternalApplicationConfiguration.g:4483:10: (lv_number_21_0= RULE_INT ) { - // InternalApplicationConfiguration.g:4718:10: (lv_number_21_0= RULE_INT ) - // InternalApplicationConfiguration.g:4719:11: lv_number_21_0= RULE_INT + // InternalApplicationConfiguration.g:4483:10: (lv_number_21_0= RULE_INT ) + // InternalApplicationConfiguration.g:4484:11: lv_number_21_0= RULE_INT { - lv_number_21_0=(Token)match(input,RULE_INT,FOLLOW_43); + lv_number_21_0=(Token)match(input,RULE_INT,FOLLOW_41); newLeafNode(lv_number_21_0, grammarAccess.getGenerationTaskAccess().getNumberINTTerminalRuleCall_3_5_2_0()); @@ -12828,36 +12168,36 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } break; case 7 : - // InternalApplicationConfiguration.g:4741:4: ({...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) ) + // InternalApplicationConfiguration.g:4506:4: ({...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) ) { - // InternalApplicationConfiguration.g:4741:4: ({...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) ) - // InternalApplicationConfiguration.g:4742:5: {...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) + // InternalApplicationConfiguration.g:4506:4: ({...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) ) + // InternalApplicationConfiguration.g:4507:5: {...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) { if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6) ) { throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6)"); } - // InternalApplicationConfiguration.g:4742:111: ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) - // InternalApplicationConfiguration.g:4743:6: ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) + // InternalApplicationConfiguration.g:4507:111: ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) + // InternalApplicationConfiguration.g:4508:6: ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) { getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6); - // InternalApplicationConfiguration.g:4746:9: ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) - // InternalApplicationConfiguration.g:4746:10: {...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) + // InternalApplicationConfiguration.g:4511:9: ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) + // InternalApplicationConfiguration.g:4511:10: {...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) { if ( !((true)) ) { throw new FailedPredicateException(input, "ruleGenerationTask", "true"); } - // InternalApplicationConfiguration.g:4746:19: ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) - // InternalApplicationConfiguration.g:4746:20: ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) + // InternalApplicationConfiguration.g:4511:19: ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) + // InternalApplicationConfiguration.g:4511:20: ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) { - // InternalApplicationConfiguration.g:4746:20: ( (lv_runSpecified_22_0= 'runs' ) ) - // InternalApplicationConfiguration.g:4747:10: (lv_runSpecified_22_0= 'runs' ) + // InternalApplicationConfiguration.g:4511:20: ( (lv_runSpecified_22_0= 'runs' ) ) + // InternalApplicationConfiguration.g:4512:10: (lv_runSpecified_22_0= 'runs' ) { - // InternalApplicationConfiguration.g:4747:10: (lv_runSpecified_22_0= 'runs' ) - // InternalApplicationConfiguration.g:4748:11: lv_runSpecified_22_0= 'runs' + // InternalApplicationConfiguration.g:4512:10: (lv_runSpecified_22_0= 'runs' ) + // InternalApplicationConfiguration.g:4513:11: lv_runSpecified_22_0= 'runs' { - lv_runSpecified_22_0=(Token)match(input,51,FOLLOW_13); + lv_runSpecified_22_0=(Token)match(input,48,FOLLOW_12); newLeafNode(lv_runSpecified_22_0, grammarAccess.getGenerationTaskAccess().getRunSpecifiedRunsKeyword_3_6_0_0()); @@ -12873,17 +12213,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - otherlv_23=(Token)match(input,18,FOLLOW_7); + otherlv_23=(Token)match(input,17,FOLLOW_7); newLeafNode(otherlv_23, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_6_1()); - // InternalApplicationConfiguration.g:4764:9: ( (lv_runs_24_0= RULE_INT ) ) - // InternalApplicationConfiguration.g:4765:10: (lv_runs_24_0= RULE_INT ) + // InternalApplicationConfiguration.g:4529:9: ( (lv_runs_24_0= RULE_INT ) ) + // InternalApplicationConfiguration.g:4530:10: (lv_runs_24_0= RULE_INT ) { - // InternalApplicationConfiguration.g:4765:10: (lv_runs_24_0= RULE_INT ) - // InternalApplicationConfiguration.g:4766:11: lv_runs_24_0= RULE_INT + // InternalApplicationConfiguration.g:4530:10: (lv_runs_24_0= RULE_INT ) + // InternalApplicationConfiguration.g:4531:11: lv_runs_24_0= RULE_INT { - lv_runs_24_0=(Token)match(input,RULE_INT,FOLLOW_43); + lv_runs_24_0=(Token)match(input,RULE_INT,FOLLOW_41); newLeafNode(lv_runs_24_0, grammarAccess.getGenerationTaskAccess().getRunsINTTerminalRuleCall_3_6_2_0()); @@ -12922,47 +12262,47 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } break; case 8 : - // InternalApplicationConfiguration.g:4788:4: ({...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) ) + // InternalApplicationConfiguration.g:4553:4: ({...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) ) { - // InternalApplicationConfiguration.g:4788:4: ({...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) ) - // InternalApplicationConfiguration.g:4789:5: {...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) + // InternalApplicationConfiguration.g:4553:4: ({...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) ) + // InternalApplicationConfiguration.g:4554:5: {...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) { if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7) ) { throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7)"); } - // InternalApplicationConfiguration.g:4789:111: ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) - // InternalApplicationConfiguration.g:4790:6: ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) + // InternalApplicationConfiguration.g:4554:111: ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) + // InternalApplicationConfiguration.g:4555:6: ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) { getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7); - // InternalApplicationConfiguration.g:4793:9: ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) - // InternalApplicationConfiguration.g:4793:10: {...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) + // InternalApplicationConfiguration.g:4558:9: ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) + // InternalApplicationConfiguration.g:4558:10: {...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) { if ( !((true)) ) { throw new FailedPredicateException(input, "ruleGenerationTask", "true"); } - // InternalApplicationConfiguration.g:4793:19: (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) - // InternalApplicationConfiguration.g:4793:20: otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) + // InternalApplicationConfiguration.g:4558:19: (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) + // InternalApplicationConfiguration.g:4558:20: otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) { - otherlv_25=(Token)match(input,52,FOLLOW_13); + otherlv_25=(Token)match(input,49,FOLLOW_12); newLeafNode(otherlv_25, grammarAccess.getGenerationTaskAccess().getSolverKeyword_3_7_0()); - otherlv_26=(Token)match(input,18,FOLLOW_45); + otherlv_26=(Token)match(input,17,FOLLOW_43); newLeafNode(otherlv_26, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_7_1()); - // InternalApplicationConfiguration.g:4801:9: ( (lv_solver_27_0= ruleSolver ) ) - // InternalApplicationConfiguration.g:4802:10: (lv_solver_27_0= ruleSolver ) + // InternalApplicationConfiguration.g:4566:9: ( (lv_solver_27_0= ruleSolver ) ) + // InternalApplicationConfiguration.g:4567:10: (lv_solver_27_0= ruleSolver ) { - // InternalApplicationConfiguration.g:4802:10: (lv_solver_27_0= ruleSolver ) - // InternalApplicationConfiguration.g:4803:11: lv_solver_27_0= ruleSolver + // InternalApplicationConfiguration.g:4567:10: (lv_solver_27_0= ruleSolver ) + // InternalApplicationConfiguration.g:4568:11: lv_solver_27_0= ruleSolver { newCompositeNode(grammarAccess.getGenerationTaskAccess().getSolverSolverEnumRuleCall_3_7_2_0()); - pushFollow(FOLLOW_43); + pushFollow(FOLLOW_41); lv_solver_27_0=ruleSolver(); state._fsp--; @@ -13003,47 +12343,47 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } break; case 9 : - // InternalApplicationConfiguration.g:4826:4: ({...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) ) + // InternalApplicationConfiguration.g:4591:4: ({...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) ) { - // InternalApplicationConfiguration.g:4826:4: ({...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) ) - // InternalApplicationConfiguration.g:4827:5: {...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) + // InternalApplicationConfiguration.g:4591:4: ({...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) ) + // InternalApplicationConfiguration.g:4592:5: {...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) { if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8) ) { throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8)"); } - // InternalApplicationConfiguration.g:4827:111: ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) - // InternalApplicationConfiguration.g:4828:6: ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) + // InternalApplicationConfiguration.g:4592:111: ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) + // InternalApplicationConfiguration.g:4593:6: ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) { getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8); - // InternalApplicationConfiguration.g:4831:9: ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) - // InternalApplicationConfiguration.g:4831:10: {...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) + // InternalApplicationConfiguration.g:4596:9: ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) + // InternalApplicationConfiguration.g:4596:10: {...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) { if ( !((true)) ) { throw new FailedPredicateException(input, "ruleGenerationTask", "true"); } - // InternalApplicationConfiguration.g:4831:19: (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) - // InternalApplicationConfiguration.g:4831:20: otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) + // InternalApplicationConfiguration.g:4596:19: (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) + // InternalApplicationConfiguration.g:4596:20: otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) { - otherlv_28=(Token)match(input,33,FOLLOW_13); + otherlv_28=(Token)match(input,30,FOLLOW_12); newLeafNode(otherlv_28, grammarAccess.getGenerationTaskAccess().getConfigKeyword_3_8_0()); - otherlv_29=(Token)match(input,18,FOLLOW_44); + otherlv_29=(Token)match(input,17,FOLLOW_42); newLeafNode(otherlv_29, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_8_1()); - // InternalApplicationConfiguration.g:4839:9: ( (lv_config_30_0= ruleConfig ) ) - // InternalApplicationConfiguration.g:4840:10: (lv_config_30_0= ruleConfig ) + // InternalApplicationConfiguration.g:4604:9: ( (lv_config_30_0= ruleConfig ) ) + // InternalApplicationConfiguration.g:4605:10: (lv_config_30_0= ruleConfig ) { - // InternalApplicationConfiguration.g:4840:10: (lv_config_30_0= ruleConfig ) - // InternalApplicationConfiguration.g:4841:11: lv_config_30_0= ruleConfig + // InternalApplicationConfiguration.g:4605:10: (lv_config_30_0= ruleConfig ) + // InternalApplicationConfiguration.g:4606:11: lv_config_30_0= ruleConfig { newCompositeNode(grammarAccess.getGenerationTaskAccess().getConfigConfigParserRuleCall_3_8_2_0()); - pushFollow(FOLLOW_43); + pushFollow(FOLLOW_41); lv_config_30_0=ruleConfig(); state._fsp--; @@ -13084,47 +12424,47 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } break; case 10 : - // InternalApplicationConfiguration.g:4864:4: ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) ) + // InternalApplicationConfiguration.g:4629:4: ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) ) { - // InternalApplicationConfiguration.g:4864:4: ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) ) - // InternalApplicationConfiguration.g:4865:5: {...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) + // InternalApplicationConfiguration.g:4629:4: ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) ) + // InternalApplicationConfiguration.g:4630:5: {...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) { if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9) ) { throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9)"); } - // InternalApplicationConfiguration.g:4865:111: ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) - // InternalApplicationConfiguration.g:4866:6: ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) + // InternalApplicationConfiguration.g:4630:111: ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) + // InternalApplicationConfiguration.g:4631:6: ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) { getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9); - // InternalApplicationConfiguration.g:4869:9: ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) - // InternalApplicationConfiguration.g:4869:10: {...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) + // InternalApplicationConfiguration.g:4634:9: ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) + // InternalApplicationConfiguration.g:4634:10: {...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) { if ( !((true)) ) { throw new FailedPredicateException(input, "ruleGenerationTask", "true"); } - // InternalApplicationConfiguration.g:4869:19: (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) - // InternalApplicationConfiguration.g:4869:20: otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) + // InternalApplicationConfiguration.g:4634:19: (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) + // InternalApplicationConfiguration.g:4634:20: otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) { - otherlv_31=(Token)match(input,53,FOLLOW_13); + otherlv_31=(Token)match(input,50,FOLLOW_12); newLeafNode(otherlv_31, grammarAccess.getGenerationTaskAccess().getDebugKeyword_3_9_0()); - otherlv_32=(Token)match(input,18,FOLLOW_21); + otherlv_32=(Token)match(input,17,FOLLOW_20); newLeafNode(otherlv_32, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_9_1()); - // InternalApplicationConfiguration.g:4877:9: ( (lv_debugFolder_33_0= ruleFile ) ) - // InternalApplicationConfiguration.g:4878:10: (lv_debugFolder_33_0= ruleFile ) + // InternalApplicationConfiguration.g:4642:9: ( (lv_debugFolder_33_0= ruleFile ) ) + // InternalApplicationConfiguration.g:4643:10: (lv_debugFolder_33_0= ruleFile ) { - // InternalApplicationConfiguration.g:4878:10: (lv_debugFolder_33_0= ruleFile ) - // InternalApplicationConfiguration.g:4879:11: lv_debugFolder_33_0= ruleFile + // InternalApplicationConfiguration.g:4643:10: (lv_debugFolder_33_0= ruleFile ) + // InternalApplicationConfiguration.g:4644:11: lv_debugFolder_33_0= ruleFile { newCompositeNode(grammarAccess.getGenerationTaskAccess().getDebugFolderFileParserRuleCall_3_9_2_0()); - pushFollow(FOLLOW_43); + pushFollow(FOLLOW_41); lv_debugFolder_33_0=ruleFile(); state._fsp--; @@ -13165,47 +12505,47 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } break; case 11 : - // InternalApplicationConfiguration.g:4902:4: ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) ) + // InternalApplicationConfiguration.g:4667:4: ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) ) { - // InternalApplicationConfiguration.g:4902:4: ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) ) - // InternalApplicationConfiguration.g:4903:5: {...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) + // InternalApplicationConfiguration.g:4667:4: ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) ) + // InternalApplicationConfiguration.g:4668:5: {...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) { if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10) ) { throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10)"); } - // InternalApplicationConfiguration.g:4903:112: ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) - // InternalApplicationConfiguration.g:4904:6: ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) + // InternalApplicationConfiguration.g:4668:112: ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) + // InternalApplicationConfiguration.g:4669:6: ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) { getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10); - // InternalApplicationConfiguration.g:4907:9: ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) - // InternalApplicationConfiguration.g:4907:10: {...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) + // InternalApplicationConfiguration.g:4672:9: ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) + // InternalApplicationConfiguration.g:4672:10: {...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) { if ( !((true)) ) { throw new FailedPredicateException(input, "ruleGenerationTask", "true"); } - // InternalApplicationConfiguration.g:4907:19: (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) - // InternalApplicationConfiguration.g:4907:20: otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) + // InternalApplicationConfiguration.g:4672:19: (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) + // InternalApplicationConfiguration.g:4672:20: otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) { - otherlv_34=(Token)match(input,54,FOLLOW_13); + otherlv_34=(Token)match(input,51,FOLLOW_12); newLeafNode(otherlv_34, grammarAccess.getGenerationTaskAccess().getLogKeyword_3_10_0()); - otherlv_35=(Token)match(input,18,FOLLOW_21); + otherlv_35=(Token)match(input,17,FOLLOW_20); newLeafNode(otherlv_35, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_10_1()); - // InternalApplicationConfiguration.g:4915:9: ( (lv_targetLogFile_36_0= ruleFile ) ) - // InternalApplicationConfiguration.g:4916:10: (lv_targetLogFile_36_0= ruleFile ) + // InternalApplicationConfiguration.g:4680:9: ( (lv_targetLogFile_36_0= ruleFile ) ) + // InternalApplicationConfiguration.g:4681:10: (lv_targetLogFile_36_0= ruleFile ) { - // InternalApplicationConfiguration.g:4916:10: (lv_targetLogFile_36_0= ruleFile ) - // InternalApplicationConfiguration.g:4917:11: lv_targetLogFile_36_0= ruleFile + // InternalApplicationConfiguration.g:4681:10: (lv_targetLogFile_36_0= ruleFile ) + // InternalApplicationConfiguration.g:4682:11: lv_targetLogFile_36_0= ruleFile { newCompositeNode(grammarAccess.getGenerationTaskAccess().getTargetLogFileFileParserRuleCall_3_10_2_0()); - pushFollow(FOLLOW_43); + pushFollow(FOLLOW_41); lv_targetLogFile_36_0=ruleFile(); state._fsp--; @@ -13246,47 +12586,47 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } break; case 12 : - // InternalApplicationConfiguration.g:4940:4: ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) ) + // InternalApplicationConfiguration.g:4705:4: ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) ) { - // InternalApplicationConfiguration.g:4940:4: ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) ) - // InternalApplicationConfiguration.g:4941:5: {...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) + // InternalApplicationConfiguration.g:4705:4: ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) ) + // InternalApplicationConfiguration.g:4706:5: {...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) { if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11) ) { throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11)"); } - // InternalApplicationConfiguration.g:4941:112: ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) - // InternalApplicationConfiguration.g:4942:6: ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) + // InternalApplicationConfiguration.g:4706:112: ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) + // InternalApplicationConfiguration.g:4707:6: ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) { getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11); - // InternalApplicationConfiguration.g:4945:9: ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) - // InternalApplicationConfiguration.g:4945:10: {...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) + // InternalApplicationConfiguration.g:4710:9: ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) + // InternalApplicationConfiguration.g:4710:10: {...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) { if ( !((true)) ) { throw new FailedPredicateException(input, "ruleGenerationTask", "true"); } - // InternalApplicationConfiguration.g:4945:19: (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) - // InternalApplicationConfiguration.g:4945:20: otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) + // InternalApplicationConfiguration.g:4710:19: (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) + // InternalApplicationConfiguration.g:4710:20: otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) { - otherlv_37=(Token)match(input,55,FOLLOW_13); + otherlv_37=(Token)match(input,52,FOLLOW_12); newLeafNode(otherlv_37, grammarAccess.getGenerationTaskAccess().getStatisticsKeyword_3_11_0()); - otherlv_38=(Token)match(input,18,FOLLOW_21); + otherlv_38=(Token)match(input,17,FOLLOW_20); newLeafNode(otherlv_38, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_11_1()); - // InternalApplicationConfiguration.g:4953:9: ( (lv_targetStatisticsFile_39_0= ruleFile ) ) - // InternalApplicationConfiguration.g:4954:10: (lv_targetStatisticsFile_39_0= ruleFile ) + // InternalApplicationConfiguration.g:4718:9: ( (lv_targetStatisticsFile_39_0= ruleFile ) ) + // InternalApplicationConfiguration.g:4719:10: (lv_targetStatisticsFile_39_0= ruleFile ) { - // InternalApplicationConfiguration.g:4954:10: (lv_targetStatisticsFile_39_0= ruleFile ) - // InternalApplicationConfiguration.g:4955:11: lv_targetStatisticsFile_39_0= ruleFile + // InternalApplicationConfiguration.g:4719:10: (lv_targetStatisticsFile_39_0= ruleFile ) + // InternalApplicationConfiguration.g:4720:11: lv_targetStatisticsFile_39_0= ruleFile { newCompositeNode(grammarAccess.getGenerationTaskAccess().getTargetStatisticsFileFileParserRuleCall_3_11_2_0()); - pushFollow(FOLLOW_43); + pushFollow(FOLLOW_41); lv_targetStatisticsFile_39_0=ruleFile(); state._fsp--; @@ -13327,47 +12667,47 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } break; case 13 : - // InternalApplicationConfiguration.g:4978:4: ({...}? => ( ({...}? => (otherlv_40= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) ) + // InternalApplicationConfiguration.g:4743:4: ({...}? => ( ({...}? => (otherlv_40= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) ) { - // InternalApplicationConfiguration.g:4978:4: ({...}? => ( ({...}? => (otherlv_40= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) ) - // InternalApplicationConfiguration.g:4979:5: {...}? => ( ({...}? => (otherlv_40= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) + // InternalApplicationConfiguration.g:4743:4: ({...}? => ( ({...}? => (otherlv_40= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) ) + // InternalApplicationConfiguration.g:4744:5: {...}? => ( ({...}? => (otherlv_40= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) { if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 12) ) { throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 12)"); } - // InternalApplicationConfiguration.g:4979:112: ( ({...}? => (otherlv_40= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) - // InternalApplicationConfiguration.g:4980:6: ({...}? => (otherlv_40= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) + // InternalApplicationConfiguration.g:4744:112: ( ({...}? => (otherlv_40= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) + // InternalApplicationConfiguration.g:4745:6: ({...}? => (otherlv_40= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) { getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 12); - // InternalApplicationConfiguration.g:4983:9: ({...}? => (otherlv_40= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) - // InternalApplicationConfiguration.g:4983:10: {...}? => (otherlv_40= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) + // InternalApplicationConfiguration.g:4748:9: ({...}? => (otherlv_40= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) + // InternalApplicationConfiguration.g:4748:10: {...}? => (otherlv_40= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) { if ( !((true)) ) { throw new FailedPredicateException(input, "ruleGenerationTask", "true"); } - // InternalApplicationConfiguration.g:4983:19: (otherlv_40= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) - // InternalApplicationConfiguration.g:4983:20: otherlv_40= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) + // InternalApplicationConfiguration.g:4748:19: (otherlv_40= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) + // InternalApplicationConfiguration.g:4748:20: otherlv_40= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) { - otherlv_40=(Token)match(input,56,FOLLOW_13); + otherlv_40=(Token)match(input,53,FOLLOW_12); newLeafNode(otherlv_40, grammarAccess.getGenerationTaskAccess().getOutputKeyword_3_12_0()); - otherlv_41=(Token)match(input,18,FOLLOW_21); + otherlv_41=(Token)match(input,17,FOLLOW_20); newLeafNode(otherlv_41, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_12_1()); - // InternalApplicationConfiguration.g:4991:9: ( (lv_tagetFolder_42_0= ruleFile ) ) - // InternalApplicationConfiguration.g:4992:10: (lv_tagetFolder_42_0= ruleFile ) + // InternalApplicationConfiguration.g:4756:9: ( (lv_tagetFolder_42_0= ruleFile ) ) + // InternalApplicationConfiguration.g:4757:10: (lv_tagetFolder_42_0= ruleFile ) { - // InternalApplicationConfiguration.g:4992:10: (lv_tagetFolder_42_0= ruleFile ) - // InternalApplicationConfiguration.g:4993:11: lv_tagetFolder_42_0= ruleFile + // InternalApplicationConfiguration.g:4757:10: (lv_tagetFolder_42_0= ruleFile ) + // InternalApplicationConfiguration.g:4758:11: lv_tagetFolder_42_0= ruleFile { newCompositeNode(grammarAccess.getGenerationTaskAccess().getTagetFolderFileParserRuleCall_3_12_2_0()); - pushFollow(FOLLOW_43); + pushFollow(FOLLOW_41); lv_tagetFolder_42_0=ruleFile(); state._fsp--; @@ -13409,7 +12749,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl break; default : - break loop62; + break loop58; } } while (true); @@ -13425,7 +12765,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - otherlv_43=(Token)match(input,21,FOLLOW_2); + otherlv_43=(Token)match(input,20,FOLLOW_2); newLeafNode(otherlv_43, grammarAccess.getGenerationTaskAccess().getRightCurlyBracketKeyword_4()); @@ -13452,7 +12792,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleOptimizationDirection" - // InternalApplicationConfiguration.g:5031:1: ruleOptimizationDirection returns [Enumerator current=null] : ( (enumLiteral_0= 'minimize' ) | (enumLiteral_1= 'maximize' ) ) ; + // InternalApplicationConfiguration.g:4796:1: ruleOptimizationDirection returns [Enumerator current=null] : ( (enumLiteral_0= 'minimize' ) | (enumLiteral_1= 'maximize' ) ) ; public final Enumerator ruleOptimizationDirection() throws RecognitionException { Enumerator current = null; @@ -13463,33 +12803,33 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:5037:2: ( ( (enumLiteral_0= 'minimize' ) | (enumLiteral_1= 'maximize' ) ) ) - // InternalApplicationConfiguration.g:5038:2: ( (enumLiteral_0= 'minimize' ) | (enumLiteral_1= 'maximize' ) ) + // InternalApplicationConfiguration.g:4802:2: ( ( (enumLiteral_0= 'minimize' ) | (enumLiteral_1= 'maximize' ) ) ) + // InternalApplicationConfiguration.g:4803:2: ( (enumLiteral_0= 'minimize' ) | (enumLiteral_1= 'maximize' ) ) { - // InternalApplicationConfiguration.g:5038:2: ( (enumLiteral_0= 'minimize' ) | (enumLiteral_1= 'maximize' ) ) - int alt63=2; - int LA63_0 = input.LA(1); + // InternalApplicationConfiguration.g:4803:2: ( (enumLiteral_0= 'minimize' ) | (enumLiteral_1= 'maximize' ) ) + int alt59=2; + int LA59_0 = input.LA(1); - if ( (LA63_0==57) ) { - alt63=1; + if ( (LA59_0==54) ) { + alt59=1; } - else if ( (LA63_0==58) ) { - alt63=2; + else if ( (LA59_0==55) ) { + alt59=2; } else { NoViableAltException nvae = - new NoViableAltException("", 63, 0, input); + new NoViableAltException("", 59, 0, input); throw nvae; } - switch (alt63) { + switch (alt59) { case 1 : - // InternalApplicationConfiguration.g:5039:3: (enumLiteral_0= 'minimize' ) + // InternalApplicationConfiguration.g:4804:3: (enumLiteral_0= 'minimize' ) { - // InternalApplicationConfiguration.g:5039:3: (enumLiteral_0= 'minimize' ) - // InternalApplicationConfiguration.g:5040:4: enumLiteral_0= 'minimize' + // InternalApplicationConfiguration.g:4804:3: (enumLiteral_0= 'minimize' ) + // InternalApplicationConfiguration.g:4805:4: enumLiteral_0= 'minimize' { - enumLiteral_0=(Token)match(input,57,FOLLOW_2); + enumLiteral_0=(Token)match(input,54,FOLLOW_2); current = grammarAccess.getOptimizationDirectionAccess().getMINIMIZEEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); newLeafNode(enumLiteral_0, grammarAccess.getOptimizationDirectionAccess().getMINIMIZEEnumLiteralDeclaration_0()); @@ -13501,12 +12841,12 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } break; case 2 : - // InternalApplicationConfiguration.g:5047:3: (enumLiteral_1= 'maximize' ) + // InternalApplicationConfiguration.g:4812:3: (enumLiteral_1= 'maximize' ) { - // InternalApplicationConfiguration.g:5047:3: (enumLiteral_1= 'maximize' ) - // InternalApplicationConfiguration.g:5048:4: enumLiteral_1= 'maximize' + // InternalApplicationConfiguration.g:4812:3: (enumLiteral_1= 'maximize' ) + // InternalApplicationConfiguration.g:4813:4: enumLiteral_1= 'maximize' { - enumLiteral_1=(Token)match(input,58,FOLLOW_2); + enumLiteral_1=(Token)match(input,55,FOLLOW_2); current = grammarAccess.getOptimizationDirectionAccess().getMAXIMIZEEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); newLeafNode(enumLiteral_1, grammarAccess.getOptimizationDirectionAccess().getMAXIMIZEEnumLiteralDeclaration_1()); @@ -13540,7 +12880,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleComparisonOperator" - // InternalApplicationConfiguration.g:5058:1: ruleComparisonOperator returns [Enumerator current=null] : ( (enumLiteral_0= '<' ) | (enumLiteral_1= '>' ) | (enumLiteral_2= '<=' ) | (enumLiteral_3= '>=' ) ) ; + // InternalApplicationConfiguration.g:4823:1: ruleComparisonOperator returns [Enumerator current=null] : ( (enumLiteral_0= '<' ) | (enumLiteral_1= '>' ) | (enumLiteral_2= '<=' ) | (enumLiteral_3= '>=' ) ) ; public final Enumerator ruleComparisonOperator() throws RecognitionException { Enumerator current = null; @@ -13553,47 +12893,47 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:5064:2: ( ( (enumLiteral_0= '<' ) | (enumLiteral_1= '>' ) | (enumLiteral_2= '<=' ) | (enumLiteral_3= '>=' ) ) ) - // InternalApplicationConfiguration.g:5065:2: ( (enumLiteral_0= '<' ) | (enumLiteral_1= '>' ) | (enumLiteral_2= '<=' ) | (enumLiteral_3= '>=' ) ) + // InternalApplicationConfiguration.g:4829:2: ( ( (enumLiteral_0= '<' ) | (enumLiteral_1= '>' ) | (enumLiteral_2= '<=' ) | (enumLiteral_3= '>=' ) ) ) + // InternalApplicationConfiguration.g:4830:2: ( (enumLiteral_0= '<' ) | (enumLiteral_1= '>' ) | (enumLiteral_2= '<=' ) | (enumLiteral_3= '>=' ) ) { - // InternalApplicationConfiguration.g:5065:2: ( (enumLiteral_0= '<' ) | (enumLiteral_1= '>' ) | (enumLiteral_2= '<=' ) | (enumLiteral_3= '>=' ) ) - int alt64=4; + // InternalApplicationConfiguration.g:4830:2: ( (enumLiteral_0= '<' ) | (enumLiteral_1= '>' ) | (enumLiteral_2= '<=' ) | (enumLiteral_3= '>=' ) ) + int alt60=4; switch ( input.LA(1) ) { - case 39: + case 36: { - alt64=1; + alt60=1; } break; - case 40: + case 37: { - alt64=2; + alt60=2; } break; - case 59: + case 56: { - alt64=3; + alt60=3; } break; - case 60: + case 57: { - alt64=4; + alt60=4; } break; default: NoViableAltException nvae = - new NoViableAltException("", 64, 0, input); + new NoViableAltException("", 60, 0, input); throw nvae; } - switch (alt64) { + switch (alt60) { case 1 : - // InternalApplicationConfiguration.g:5066:3: (enumLiteral_0= '<' ) + // InternalApplicationConfiguration.g:4831:3: (enumLiteral_0= '<' ) { - // InternalApplicationConfiguration.g:5066:3: (enumLiteral_0= '<' ) - // InternalApplicationConfiguration.g:5067:4: enumLiteral_0= '<' + // InternalApplicationConfiguration.g:4831:3: (enumLiteral_0= '<' ) + // InternalApplicationConfiguration.g:4832:4: enumLiteral_0= '<' { - enumLiteral_0=(Token)match(input,39,FOLLOW_2); + enumLiteral_0=(Token)match(input,36,FOLLOW_2); current = grammarAccess.getComparisonOperatorAccess().getLESSEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); newLeafNode(enumLiteral_0, grammarAccess.getComparisonOperatorAccess().getLESSEnumLiteralDeclaration_0()); @@ -13605,12 +12945,12 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } break; case 2 : - // InternalApplicationConfiguration.g:5074:3: (enumLiteral_1= '>' ) + // InternalApplicationConfiguration.g:4839:3: (enumLiteral_1= '>' ) { - // InternalApplicationConfiguration.g:5074:3: (enumLiteral_1= '>' ) - // InternalApplicationConfiguration.g:5075:4: enumLiteral_1= '>' + // InternalApplicationConfiguration.g:4839:3: (enumLiteral_1= '>' ) + // InternalApplicationConfiguration.g:4840:4: enumLiteral_1= '>' { - enumLiteral_1=(Token)match(input,40,FOLLOW_2); + enumLiteral_1=(Token)match(input,37,FOLLOW_2); current = grammarAccess.getComparisonOperatorAccess().getGREATEREnumLiteralDeclaration_1().getEnumLiteral().getInstance(); newLeafNode(enumLiteral_1, grammarAccess.getComparisonOperatorAccess().getGREATEREnumLiteralDeclaration_1()); @@ -13622,12 +12962,12 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } break; case 3 : - // InternalApplicationConfiguration.g:5082:3: (enumLiteral_2= '<=' ) + // InternalApplicationConfiguration.g:4847:3: (enumLiteral_2= '<=' ) { - // InternalApplicationConfiguration.g:5082:3: (enumLiteral_2= '<=' ) - // InternalApplicationConfiguration.g:5083:4: enumLiteral_2= '<=' + // InternalApplicationConfiguration.g:4847:3: (enumLiteral_2= '<=' ) + // InternalApplicationConfiguration.g:4848:4: enumLiteral_2= '<=' { - enumLiteral_2=(Token)match(input,59,FOLLOW_2); + enumLiteral_2=(Token)match(input,56,FOLLOW_2); current = grammarAccess.getComparisonOperatorAccess().getLESS_EQUALSEnumLiteralDeclaration_2().getEnumLiteral().getInstance(); newLeafNode(enumLiteral_2, grammarAccess.getComparisonOperatorAccess().getLESS_EQUALSEnumLiteralDeclaration_2()); @@ -13639,12 +12979,12 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } break; case 4 : - // InternalApplicationConfiguration.g:5090:3: (enumLiteral_3= '>=' ) + // InternalApplicationConfiguration.g:4855:3: (enumLiteral_3= '>=' ) { - // InternalApplicationConfiguration.g:5090:3: (enumLiteral_3= '>=' ) - // InternalApplicationConfiguration.g:5091:4: enumLiteral_3= '>=' + // InternalApplicationConfiguration.g:4855:3: (enumLiteral_3= '>=' ) + // InternalApplicationConfiguration.g:4856:4: enumLiteral_3= '>=' { - enumLiteral_3=(Token)match(input,60,FOLLOW_2); + enumLiteral_3=(Token)match(input,57,FOLLOW_2); current = grammarAccess.getComparisonOperatorAccess().getGREATER_EQUALSEnumLiteralDeclaration_3().getEnumLiteral().getInstance(); newLeafNode(enumLiteral_3, grammarAccess.getComparisonOperatorAccess().getGREATER_EQUALSEnumLiteralDeclaration_3()); @@ -13678,7 +13018,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleDocumentLevelSpecification" - // InternalApplicationConfiguration.g:5101:1: ruleDocumentLevelSpecification returns [Enumerator current=null] : ( (enumLiteral_0= 'none' ) | (enumLiteral_1= 'normal' ) | (enumLiteral_2= 'full' ) ) ; + // InternalApplicationConfiguration.g:4866:1: ruleDocumentLevelSpecification returns [Enumerator current=null] : ( (enumLiteral_0= 'none' ) | (enumLiteral_1= 'normal' ) | (enumLiteral_2= 'full' ) ) ; public final Enumerator ruleDocumentLevelSpecification() throws RecognitionException { Enumerator current = null; @@ -13690,42 +13030,42 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:5107:2: ( ( (enumLiteral_0= 'none' ) | (enumLiteral_1= 'normal' ) | (enumLiteral_2= 'full' ) ) ) - // InternalApplicationConfiguration.g:5108:2: ( (enumLiteral_0= 'none' ) | (enumLiteral_1= 'normal' ) | (enumLiteral_2= 'full' ) ) + // InternalApplicationConfiguration.g:4872:2: ( ( (enumLiteral_0= 'none' ) | (enumLiteral_1= 'normal' ) | (enumLiteral_2= 'full' ) ) ) + // InternalApplicationConfiguration.g:4873:2: ( (enumLiteral_0= 'none' ) | (enumLiteral_1= 'normal' ) | (enumLiteral_2= 'full' ) ) { - // InternalApplicationConfiguration.g:5108:2: ( (enumLiteral_0= 'none' ) | (enumLiteral_1= 'normal' ) | (enumLiteral_2= 'full' ) ) - int alt65=3; + // InternalApplicationConfiguration.g:4873:2: ( (enumLiteral_0= 'none' ) | (enumLiteral_1= 'normal' ) | (enumLiteral_2= 'full' ) ) + int alt61=3; switch ( input.LA(1) ) { - case 61: + case 58: { - alt65=1; + alt61=1; } break; - case 62: + case 59: { - alt65=2; + alt61=2; } break; - case 63: + case 60: { - alt65=3; + alt61=3; } break; default: NoViableAltException nvae = - new NoViableAltException("", 65, 0, input); + new NoViableAltException("", 61, 0, input); throw nvae; } - switch (alt65) { + switch (alt61) { case 1 : - // InternalApplicationConfiguration.g:5109:3: (enumLiteral_0= 'none' ) + // InternalApplicationConfiguration.g:4874:3: (enumLiteral_0= 'none' ) { - // InternalApplicationConfiguration.g:5109:3: (enumLiteral_0= 'none' ) - // InternalApplicationConfiguration.g:5110:4: enumLiteral_0= 'none' + // InternalApplicationConfiguration.g:4874:3: (enumLiteral_0= 'none' ) + // InternalApplicationConfiguration.g:4875:4: enumLiteral_0= 'none' { - enumLiteral_0=(Token)match(input,61,FOLLOW_2); + enumLiteral_0=(Token)match(input,58,FOLLOW_2); current = grammarAccess.getDocumentLevelSpecificationAccess().getNoneEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); newLeafNode(enumLiteral_0, grammarAccess.getDocumentLevelSpecificationAccess().getNoneEnumLiteralDeclaration_0()); @@ -13737,12 +13077,12 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } break; case 2 : - // InternalApplicationConfiguration.g:5117:3: (enumLiteral_1= 'normal' ) + // InternalApplicationConfiguration.g:4882:3: (enumLiteral_1= 'normal' ) { - // InternalApplicationConfiguration.g:5117:3: (enumLiteral_1= 'normal' ) - // InternalApplicationConfiguration.g:5118:4: enumLiteral_1= 'normal' + // InternalApplicationConfiguration.g:4882:3: (enumLiteral_1= 'normal' ) + // InternalApplicationConfiguration.g:4883:4: enumLiteral_1= 'normal' { - enumLiteral_1=(Token)match(input,62,FOLLOW_2); + enumLiteral_1=(Token)match(input,59,FOLLOW_2); current = grammarAccess.getDocumentLevelSpecificationAccess().getNormalEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); newLeafNode(enumLiteral_1, grammarAccess.getDocumentLevelSpecificationAccess().getNormalEnumLiteralDeclaration_1()); @@ -13754,12 +13094,12 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } break; case 3 : - // InternalApplicationConfiguration.g:5125:3: (enumLiteral_2= 'full' ) + // InternalApplicationConfiguration.g:4890:3: (enumLiteral_2= 'full' ) { - // InternalApplicationConfiguration.g:5125:3: (enumLiteral_2= 'full' ) - // InternalApplicationConfiguration.g:5126:4: enumLiteral_2= 'full' + // InternalApplicationConfiguration.g:4890:3: (enumLiteral_2= 'full' ) + // InternalApplicationConfiguration.g:4891:4: enumLiteral_2= 'full' { - enumLiteral_2=(Token)match(input,63,FOLLOW_2); + enumLiteral_2=(Token)match(input,60,FOLLOW_2); current = grammarAccess.getDocumentLevelSpecificationAccess().getFullEnumLiteralDeclaration_2().getEnumLiteral().getInstance(); newLeafNode(enumLiteral_2, grammarAccess.getDocumentLevelSpecificationAccess().getFullEnumLiteralDeclaration_2()); @@ -13793,7 +13133,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleSolver" - // InternalApplicationConfiguration.g:5136:1: ruleSolver returns [Enumerator current=null] : ( (enumLiteral_0= 'SMTSolver' ) | (enumLiteral_1= 'AlloySolver' ) | (enumLiteral_2= 'ViatraSolver' ) ) ; + // InternalApplicationConfiguration.g:4901:1: ruleSolver returns [Enumerator current=null] : ( (enumLiteral_0= 'SMTSolver' ) | (enumLiteral_1= 'AlloySolver' ) | (enumLiteral_2= 'ViatraSolver' ) ) ; public final Enumerator ruleSolver() throws RecognitionException { Enumerator current = null; @@ -13805,42 +13145,42 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:5142:2: ( ( (enumLiteral_0= 'SMTSolver' ) | (enumLiteral_1= 'AlloySolver' ) | (enumLiteral_2= 'ViatraSolver' ) ) ) - // InternalApplicationConfiguration.g:5143:2: ( (enumLiteral_0= 'SMTSolver' ) | (enumLiteral_1= 'AlloySolver' ) | (enumLiteral_2= 'ViatraSolver' ) ) + // InternalApplicationConfiguration.g:4907:2: ( ( (enumLiteral_0= 'SMTSolver' ) | (enumLiteral_1= 'AlloySolver' ) | (enumLiteral_2= 'ViatraSolver' ) ) ) + // InternalApplicationConfiguration.g:4908:2: ( (enumLiteral_0= 'SMTSolver' ) | (enumLiteral_1= 'AlloySolver' ) | (enumLiteral_2= 'ViatraSolver' ) ) { - // InternalApplicationConfiguration.g:5143:2: ( (enumLiteral_0= 'SMTSolver' ) | (enumLiteral_1= 'AlloySolver' ) | (enumLiteral_2= 'ViatraSolver' ) ) - int alt66=3; + // InternalApplicationConfiguration.g:4908:2: ( (enumLiteral_0= 'SMTSolver' ) | (enumLiteral_1= 'AlloySolver' ) | (enumLiteral_2= 'ViatraSolver' ) ) + int alt62=3; switch ( input.LA(1) ) { - case 64: + case 61: { - alt66=1; + alt62=1; } break; - case 65: + case 62: { - alt66=2; + alt62=2; } break; - case 66: + case 63: { - alt66=3; + alt62=3; } break; default: NoViableAltException nvae = - new NoViableAltException("", 66, 0, input); + new NoViableAltException("", 62, 0, input); throw nvae; } - switch (alt66) { + switch (alt62) { case 1 : - // InternalApplicationConfiguration.g:5144:3: (enumLiteral_0= 'SMTSolver' ) + // InternalApplicationConfiguration.g:4909:3: (enumLiteral_0= 'SMTSolver' ) { - // InternalApplicationConfiguration.g:5144:3: (enumLiteral_0= 'SMTSolver' ) - // InternalApplicationConfiguration.g:5145:4: enumLiteral_0= 'SMTSolver' + // InternalApplicationConfiguration.g:4909:3: (enumLiteral_0= 'SMTSolver' ) + // InternalApplicationConfiguration.g:4910:4: enumLiteral_0= 'SMTSolver' { - enumLiteral_0=(Token)match(input,64,FOLLOW_2); + enumLiteral_0=(Token)match(input,61,FOLLOW_2); current = grammarAccess.getSolverAccess().getSMTSolverEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); newLeafNode(enumLiteral_0, grammarAccess.getSolverAccess().getSMTSolverEnumLiteralDeclaration_0()); @@ -13852,12 +13192,12 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } break; case 2 : - // InternalApplicationConfiguration.g:5152:3: (enumLiteral_1= 'AlloySolver' ) + // InternalApplicationConfiguration.g:4917:3: (enumLiteral_1= 'AlloySolver' ) { - // InternalApplicationConfiguration.g:5152:3: (enumLiteral_1= 'AlloySolver' ) - // InternalApplicationConfiguration.g:5153:4: enumLiteral_1= 'AlloySolver' + // InternalApplicationConfiguration.g:4917:3: (enumLiteral_1= 'AlloySolver' ) + // InternalApplicationConfiguration.g:4918:4: enumLiteral_1= 'AlloySolver' { - enumLiteral_1=(Token)match(input,65,FOLLOW_2); + enumLiteral_1=(Token)match(input,62,FOLLOW_2); current = grammarAccess.getSolverAccess().getAlloySolverEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); newLeafNode(enumLiteral_1, grammarAccess.getSolverAccess().getAlloySolverEnumLiteralDeclaration_1()); @@ -13869,12 +13209,12 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } break; case 3 : - // InternalApplicationConfiguration.g:5160:3: (enumLiteral_2= 'ViatraSolver' ) + // InternalApplicationConfiguration.g:4925:3: (enumLiteral_2= 'ViatraSolver' ) { - // InternalApplicationConfiguration.g:5160:3: (enumLiteral_2= 'ViatraSolver' ) - // InternalApplicationConfiguration.g:5161:4: enumLiteral_2= 'ViatraSolver' + // InternalApplicationConfiguration.g:4925:3: (enumLiteral_2= 'ViatraSolver' ) + // InternalApplicationConfiguration.g:4926:4: enumLiteral_2= 'ViatraSolver' { - enumLiteral_2=(Token)match(input,66,FOLLOW_2); + enumLiteral_2=(Token)match(input,63,FOLLOW_2); current = grammarAccess.getSolverAccess().getViatraSolverEnumLiteralDeclaration_2().getEnumLiteral().getInstance(); newLeafNode(enumLiteral_2, grammarAccess.getSolverAccess().getViatraSolverEnumLiteralDeclaration_2()); @@ -13909,14 +13249,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // Delegated rules - protected DFA62 dfa62 = new DFA62(this); + protected DFA58 dfa58 = new DFA58(this); static final String dfa_1s = "\17\uffff"; - static final String dfa_2s = "\1\25\16\uffff"; - static final String dfa_3s = "\1\70\16\uffff"; + static final String dfa_2s = "\1\24\16\uffff"; + static final String dfa_3s = "\1\65\16\uffff"; static final String dfa_4s = "\1\uffff\1\16\1\1\1\2\1\3\1\4\1\5\1\6\1\7\1\10\1\11\1\12\1\13\1\14\1\15"; static final String dfa_5s = "\1\0\16\uffff}>"; static final String[] dfa_6s = { - "\1\1\3\uffff\1\2\2\uffff\1\4\3\uffff\1\5\1\12\15\uffff\1\6\1\uffff\1\3\1\7\1\10\1\11\1\13\1\14\1\15\1\16", + "\1\1\3\uffff\1\2\2\uffff\1\4\1\uffff\1\5\1\12\15\uffff\1\6\1\uffff\1\3\1\7\1\10\1\11\1\13\1\14\1\15\1\16", "", "", "", @@ -13940,11 +13280,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl static final short[] dfa_5 = DFA.unpackEncodedString(dfa_5s); static final short[][] dfa_6 = unpackEncodedStringArray(dfa_6s); - class DFA62 extends DFA { + class DFA58 extends DFA { - public DFA62(BaseRecognizer recognizer) { + public DFA58(BaseRecognizer recognizer) { this.recognizer = recognizer; - this.decisionNumber = 62; + this.decisionNumber = 58; this.eot = dfa_1; this.eof = dfa_1; this.min = dfa_2; @@ -13954,54 +13294,54 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl this.transition = dfa_6; } public String getDescription() { - return "()* loopback of 4503:6: ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (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= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) ) )*"; + return "()* loopback of 4268:6: ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (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= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) ) )*"; } public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { TokenStream input = (TokenStream)_input; int _s = s; switch ( s ) { case 0 : - int LA62_0 = input.LA(1); + int LA58_0 = input.LA(1); - int index62_0 = input.index(); + int index58_0 = input.index(); input.rewind(); s = -1; - if ( (LA62_0==21) ) {s = 1;} + if ( (LA58_0==20) ) {s = 1;} - else if ( LA62_0 == 25 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0) ) {s = 2;} + else if ( LA58_0 == 24 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0) ) {s = 2;} - else if ( LA62_0 == 49 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1) ) {s = 3;} + else if ( LA58_0 == 46 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1) ) {s = 3;} - else if ( LA62_0 == 28 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2) ) {s = 4;} + else if ( LA58_0 == 27 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2) ) {s = 4;} - else if ( LA62_0 == 32 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3) ) {s = 5;} + else if ( LA58_0 == 29 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3) ) {s = 5;} - else if ( LA62_0 == 47 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4) ) {s = 6;} + else if ( LA58_0 == 44 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4) ) {s = 6;} - else if ( LA62_0 == 50 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5) ) {s = 7;} + else if ( LA58_0 == 47 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5) ) {s = 7;} - else if ( LA62_0 == 51 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6) ) {s = 8;} + else if ( LA58_0 == 48 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6) ) {s = 8;} - else if ( LA62_0 == 52 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7) ) {s = 9;} + else if ( LA58_0 == 49 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7) ) {s = 9;} - else if ( LA62_0 == 33 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8) ) {s = 10;} + else if ( LA58_0 == 30 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8) ) {s = 10;} - else if ( LA62_0 == 53 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9) ) {s = 11;} + else if ( LA58_0 == 50 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9) ) {s = 11;} - else if ( LA62_0 == 54 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10) ) {s = 12;} + else if ( LA58_0 == 51 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10) ) {s = 12;} - else if ( LA62_0 == 55 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11) ) {s = 13;} + else if ( LA58_0 == 52 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11) ) {s = 13;} - else if ( LA62_0 == 56 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 12) ) {s = 14;} + else if ( LA58_0 == 53 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 12) ) {s = 14;} - input.seek(index62_0); + input.seek(index58_0); if ( s>=0 ) return s; break; } NoViableAltException nvae = - new NoViableAltException(getDescription(), 62, _s, input); + new NoViableAltException(getDescription(), 58, _s, input); error(nvae); throw nvae; } @@ -14010,8 +13350,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[]{0x000180031A022002L}); - public static final BitSet FOLLOW_4 = new BitSet(new long[]{0x000180031A020002L}); + public static final BitSet FOLLOW_3 = new BitSet(new long[]{0x000030006D012002L}); + public static final BitSet FOLLOW_4 = new BitSet(new long[]{0x000030006D010002L}); 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[]{0x0000000000000020L}); @@ -14019,39 +13359,37 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl public static final BitSet FOLLOW_9 = new BitSet(new long[]{0x0000000000004000L}); public static final BitSet FOLLOW_10 = new BitSet(new long[]{0x0000000000000040L}); public static final BitSet FOLLOW_11 = new BitSet(new long[]{0x0000000000008000L}); - public static final BitSet FOLLOW_12 = new BitSet(new long[]{0x0000000000010000L}); - public static final BitSet FOLLOW_13 = new BitSet(new long[]{0x0000000000040000L}); - public static final BitSet FOLLOW_14 = new BitSet(new long[]{0x0000000000400010L}); - public static final BitSet FOLLOW_15 = new BitSet(new long[]{0x0000000000300000L}); - public static final BitSet FOLLOW_16 = new BitSet(new long[]{0x0000000000800002L}); - public static final BitSet FOLLOW_17 = new BitSet(new long[]{0x0000000000080000L}); - public static final BitSet FOLLOW_18 = new BitSet(new long[]{0x0000000001000000L}); - public static final BitSet FOLLOW_19 = new BitSet(new long[]{0x0000000004000050L}); - public static final BitSet FOLLOW_20 = new BitSet(new long[]{0x0000000000200000L}); - public static final BitSet FOLLOW_21 = new BitSet(new long[]{0x0000000000000050L}); - public static final BitSet FOLLOW_22 = new BitSet(new long[]{0x06000000A0010000L}); - public static final BitSet FOLLOW_23 = new BitSet(new long[]{0x1800018000000000L}); - public static final BitSet FOLLOW_24 = new BitSet(new long[]{0x0000000000001020L}); - public static final BitSet FOLLOW_25 = new BitSet(new long[]{0x0000000040000000L}); - public static final BitSet FOLLOW_26 = new BitSet(new long[]{0x0000001C00200040L}); - public static final BitSet FOLLOW_27 = new BitSet(new long[]{0x0000001C00000040L}); - public static final BitSet FOLLOW_28 = new BitSet(new long[]{0xE000000000000000L}); - public static final BitSet FOLLOW_29 = new BitSet(new long[]{0x0000002000200000L}); - public static final BitSet FOLLOW_30 = new BitSet(new long[]{0x0000002000000000L}); - public static final BitSet FOLLOW_31 = new BitSet(new long[]{0x0000008000000000L}); - public static final BitSet FOLLOW_32 = new BitSet(new long[]{0x0000004000040000L}); - public static final BitSet FOLLOW_33 = new BitSet(new long[]{0x0000200000000020L}); - public static final BitSet FOLLOW_34 = new BitSet(new long[]{0x0000020000000000L}); - public static final BitSet FOLLOW_35 = new BitSet(new long[]{0x0000040000000000L}); - public static final BitSet FOLLOW_36 = new BitSet(new long[]{0x0000200000080020L}); - public static final BitSet FOLLOW_37 = new BitSet(new long[]{0x0000080000000000L}); - public static final BitSet FOLLOW_38 = new BitSet(new long[]{0x0000100000000000L}); - public static final BitSet FOLLOW_39 = new BitSet(new long[]{0x0000010000000000L}); - public static final BitSet FOLLOW_40 = new BitSet(new long[]{0x0000400000000000L}); - public static final BitSet FOLLOW_41 = new BitSet(new long[]{0x0000000000201020L}); - public static final BitSet FOLLOW_42 = new BitSet(new long[]{0x0000000000200040L}); - public static final BitSet FOLLOW_43 = new BitSet(new long[]{0x01FE800312200000L}); - public static final BitSet FOLLOW_44 = new BitSet(new long[]{0x0000000000080010L}); - public static final BitSet FOLLOW_45 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000007L}); + public static final BitSet FOLLOW_12 = new BitSet(new long[]{0x0000000000020000L}); + public static final BitSet FOLLOW_13 = new BitSet(new long[]{0x0000000000200010L}); + public static final BitSet FOLLOW_14 = new BitSet(new long[]{0x0000000000180000L}); + public static final BitSet FOLLOW_15 = new BitSet(new long[]{0x0000000000400002L}); + public static final BitSet FOLLOW_16 = new BitSet(new long[]{0x0000000000040000L}); + public static final BitSet FOLLOW_17 = new BitSet(new long[]{0x0000000000800000L}); + public static final BitSet FOLLOW_18 = new BitSet(new long[]{0x0000000002000050L}); + public static final BitSet FOLLOW_19 = new BitSet(new long[]{0x0000000000100000L}); + public static final BitSet FOLLOW_20 = new BitSet(new long[]{0x0000000000000050L}); + public static final BitSet FOLLOW_21 = new BitSet(new long[]{0x00C0000010000000L}); + public static final BitSet FOLLOW_22 = new BitSet(new long[]{0x0300003000000000L}); + public static final BitSet FOLLOW_23 = new BitSet(new long[]{0x0000000000001020L}); + public static final BitSet FOLLOW_24 = new BitSet(new long[]{0x0000000380100040L}); + public static final BitSet FOLLOW_25 = new BitSet(new long[]{0x0000000380000040L}); + public static final BitSet FOLLOW_26 = new BitSet(new long[]{0x1C00000000000000L}); + public static final BitSet FOLLOW_27 = new BitSet(new long[]{0x0000000400100000L}); + public static final BitSet FOLLOW_28 = new BitSet(new long[]{0x0000000400000000L}); + public static final BitSet FOLLOW_29 = new BitSet(new long[]{0x0000001000000000L}); + public static final BitSet FOLLOW_30 = new BitSet(new long[]{0x0000000800020000L}); + public static final BitSet FOLLOW_31 = new BitSet(new long[]{0x0000040000000020L}); + public static final BitSet FOLLOW_32 = new BitSet(new long[]{0x0000004000000000L}); + public static final BitSet FOLLOW_33 = new BitSet(new long[]{0x0000008000000000L}); + public static final BitSet FOLLOW_34 = new BitSet(new long[]{0x0000040000040020L}); + public static final BitSet FOLLOW_35 = new BitSet(new long[]{0x0000010000000000L}); + public static final BitSet FOLLOW_36 = new BitSet(new long[]{0x0000020000000000L}); + public static final BitSet FOLLOW_37 = new BitSet(new long[]{0x0000002000000000L}); + public static final BitSet FOLLOW_38 = new BitSet(new long[]{0x0000080000000000L}); + public static final BitSet FOLLOW_39 = new BitSet(new long[]{0x0000000000101020L}); + public static final BitSet FOLLOW_40 = new BitSet(new long[]{0x0000000000100040L}); + public static final BitSet FOLLOW_41 = new BitSet(new long[]{0x003FD00069100000L}); + public static final BitSet FOLLOW_42 = new BitSet(new long[]{0x0000000000040010L}); + public static final BitSet FOLLOW_43 = new BitSet(new long[]{0xE000000000000000L}); } diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/scoping/AbstractApplicationConfigurationScopeProvider.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/scoping/AbstractApplicationConfigurationScopeProvider.java index d272d910..97f677cf 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/scoping/AbstractApplicationConfigurationScopeProvider.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/scoping/AbstractApplicationConfigurationScopeProvider.java @@ -1,5 +1,5 @@ /* - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.scoping; 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 cf267de9..5d8c86ea 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 @@ -1,5 +1,5 @@ /* - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.serializer; @@ -7,7 +7,6 @@ import com.google.inject.Inject; import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.AllPackageEntry; import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.AllPatternEntry; import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage; -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.CftImport; import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ClassReference; import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ClassTypeScope; import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigDeclaration; @@ -37,7 +36,6 @@ import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Metamodel import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelReference; import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelSpecification; import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ModelEntry; -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Mtff; import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ObjectReference; import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ObjectTypeScope; import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ObjectiveDeclaration; @@ -52,7 +50,6 @@ import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PatternSp import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RealEnumeration; import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RealScope; import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RealTypeScope; -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ReliabiltiyProbability; import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RuntimeEntry; import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ScopeDeclaration; import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ScopeReference; @@ -94,9 +91,6 @@ public class ApplicationConfigurationSemanticSequencer extends AbstractDelegatin case ApplicationConfigurationPackage.ALL_PATTERN_ENTRY: sequence_AllPatternEntry(context, (AllPatternEntry) semanticObject); return; - case ApplicationConfigurationPackage.CFT_IMPORT: - sequence_CftImport(context, (CftImport) semanticObject); - return; case ApplicationConfigurationPackage.CLASS_REFERENCE: sequence_ClassReference(context, (ClassReference) semanticObject); return; @@ -184,9 +178,6 @@ public class ApplicationConfigurationSemanticSequencer extends AbstractDelegatin case ApplicationConfigurationPackage.MODEL_ENTRY: sequence_ModelEntry(context, (ModelEntry) semanticObject); return; - case ApplicationConfigurationPackage.MTFF: - sequence_Mtff(context, (Mtff) semanticObject); - return; case ApplicationConfigurationPackage.OBJECT_REFERENCE: sequence_ObjectReference(context, (ObjectReference) semanticObject); return; @@ -229,9 +220,6 @@ public class ApplicationConfigurationSemanticSequencer extends AbstractDelegatin case ApplicationConfigurationPackage.REAL_TYPE_SCOPE: sequence_RealTypeScope(context, (RealTypeScope) semanticObject); return; - case ApplicationConfigurationPackage.RELIABILTIY_PROBABILITY: - sequence_ReliabiltiyProbability(context, (ReliabiltiyProbability) semanticObject); - return; case ApplicationConfigurationPackage.RUNTIME_ENTRY: sequence_RuntimeEntry(context, (RuntimeEntry) semanticObject); return; @@ -290,25 +278,6 @@ public class ApplicationConfigurationSemanticSequencer extends AbstractDelegatin } - /** - * Contexts: - * Import returns CftImport - * CftImport returns CftImport - * - * Constraint: - * importedCft=[CftModel|STRING] - */ - protected void sequence_CftImport(ISerializationContext context, CftImport semanticObject) { - if (errorAcceptor != null) { - if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.CFT_IMPORT__IMPORTED_CFT) == ValueTransient.YES) - errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.CFT_IMPORT__IMPORTED_CFT)); - } - SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); - feeder.accept(grammarAccess.getCftImportAccess().getImportedCftCftModelSTRINGTerminalRuleCall_2_0_1(), semanticObject.eGet(ApplicationConfigurationPackage.Literals.CFT_IMPORT__IMPORTED_CFT, false)); - feeder.finish(); - } - - /** * Contexts: * TypeReference returns ClassReference @@ -610,8 +579,8 @@ public class ApplicationConfigurationSemanticSequencer extends AbstractDelegatin * targetStatisticsFile=File | * tagetFolder=File * )? - * (runSpecified?='runs' runs=INT)? - * (numberSpecified?='number' number=INT)? + * (numberSpecified?='number' number=INT)? + * (runSpecified?='runs' runs=INT)? * )+ */ protected void sequence_GenerationTask(ISerializationContext context, GenerationTask semanticObject) { @@ -819,20 +788,6 @@ public class ApplicationConfigurationSemanticSequencer extends AbstractDelegatin } - /** - * Contexts: - * ObjectiveFunction returns Mtff - * ReliabilityObjectiveFunction returns Mtff - * Mtff returns Mtff - * - * Constraint: - * (package=[CftModel|QualifiedName]? transformation=[TransformationDefinition|ID]) - */ - protected void sequence_Mtff(ISerializationContext context, Mtff semanticObject) { - genericSequencer.createSequence(context, semanticObject); - } - - /** * Contexts: * TypeReference returns ObjectReference @@ -1056,20 +1011,6 @@ public class ApplicationConfigurationSemanticSequencer extends AbstractDelegatin } - /** - * Contexts: - * ObjectiveFunction returns ReliabiltiyProbability - * ReliabilityObjectiveFunction returns ReliabiltiyProbability - * ReliabiltiyProbability returns ReliabiltiyProbability - * - * Constraint: - * (package=[CftModel|QualifiedName]? transformation=[TransformationDefinition|ID] time=REALLiteral) - */ - protected void sequence_ReliabiltiyProbability(ISerializationContext context, ReliabiltiyProbability semanticObject) { - genericSequencer.createSequence(context, semanticObject); - } - - /** * Contexts: * ConfigEntry returns RuntimeEntry diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/serializer/ApplicationConfigurationSyntacticSequencer.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/serializer/ApplicationConfigurationSyntacticSequencer.java index 21893ee6..e5ab8088 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/serializer/ApplicationConfigurationSyntacticSequencer.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/serializer/ApplicationConfigurationSyntacticSequencer.java @@ -1,5 +1,5 @@ /* - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.serializer; 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 213203b4..5b5de2bf 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 @@ -1,5 +1,5 @@ /* - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.services; @@ -153,16 +153,15 @@ public class ApplicationConfigurationGrammarAccess extends AbstractGrammarElemen private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); private final RuleCall cEPackageImportParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); private final RuleCall cViatraImportParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); - private final RuleCall cCftImportParserRuleCall_2 = (RuleCall)cAlternatives.eContents().get(2); ///////////////////////////////////////////////////// //// Imports ///////////////////////////////////////////////////// //Import: - // EPackageImport | ViatraImport | CftImport; + // EPackageImport | ViatraImport; @Override public ParserRule getRule() { return rule; } - //EPackageImport | ViatraImport | CftImport + //EPackageImport | ViatraImport public Alternatives getAlternatives() { return cAlternatives; } //EPackageImport @@ -170,9 +169,6 @@ public class ApplicationConfigurationGrammarAccess extends AbstractGrammarElemen //ViatraImport public RuleCall getViatraImportParserRuleCall_1() { return cViatraImportParserRuleCall_1; } - - //CftImport - public RuleCall getCftImportParserRuleCall_2() { return cCftImportParserRuleCall_2; } } public class EPackageImportElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.EPackageImport"); @@ -236,37 +232,6 @@ public class ApplicationConfigurationGrammarAccess extends AbstractGrammarElemen //STRING public RuleCall getImportedViatraPatternModelSTRINGTerminalRuleCall_2_0_1() { return cImportedViatraPatternModelSTRINGTerminalRuleCall_2_0_1; } } - public class CftImportElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.CftImport"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final Keyword cImportKeyword_0 = (Keyword)cGroup.eContents().get(0); - private final Keyword cReliabilityKeyword_1 = (Keyword)cGroup.eContents().get(1); - private final Assignment cImportedCftAssignment_2 = (Assignment)cGroup.eContents().get(2); - private final CrossReference cImportedCftCftModelCrossReference_2_0 = (CrossReference)cImportedCftAssignment_2.eContents().get(0); - private final RuleCall cImportedCftCftModelSTRINGTerminalRuleCall_2_0_1 = (RuleCall)cImportedCftCftModelCrossReference_2_0.eContents().get(1); - - //CftImport: - // "import" "reliability" importedCft=[cftLanguage::CftModel|STRING]; - @Override public ParserRule getRule() { return rule; } - - //"import" "reliability" importedCft=[cftLanguage::CftModel|STRING] - public Group getGroup() { return cGroup; } - - //"import" - public Keyword getImportKeyword_0() { return cImportKeyword_0; } - - //"reliability" - public Keyword getReliabilityKeyword_1() { return cReliabilityKeyword_1; } - - //importedCft=[cftLanguage::CftModel|STRING] - public Assignment getImportedCftAssignment_2() { return cImportedCftAssignment_2; } - - //[cftLanguage::CftModel|STRING] - public CrossReference getImportedCftCftModelCrossReference_2_0() { return cImportedCftCftModelCrossReference_2_0; } - - //STRING - public RuleCall getImportedCftCftModelSTRINGTerminalRuleCall_2_0_1() { return cImportedCftCftModelSTRINGTerminalRuleCall_2_0_1; } - } public class DeclarationElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Declaration"); private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); @@ -559,7 +524,8 @@ public class ApplicationConfigurationGrammarAccess extends AbstractGrammarElemen private final RuleCall cFeatureENamedElementIDTerminalRuleCall_2_1_0_1 = (RuleCall)cFeatureENamedElementCrossReference_2_1_0.eContents().get(1); //MetamodelElement: - // (package=[ecore::EPackage|QualifiedName] '::')? classifier=[ecore::EClassifier] ('.' feature=[ecore::ENamedElement])?; + // (package=[ecore::EPackage|QualifiedName] '::')? classifier=[ecore::EClassifier] ('.' + // feature=[ecore::ENamedElement])?; @Override public ParserRule getRule() { return rule; } //(package=[ecore::EPackage|QualifiedName] '::')? classifier=[ecore::EClassifier] ('.' feature=[ecore::ENamedElement])? @@ -1260,22 +1226,14 @@ public class ApplicationConfigurationGrammarAccess extends AbstractGrammarElemen } public class ObjectiveFunctionElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ObjectiveFunction"); - private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); - private final RuleCall cCostObjectiveFunctionParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); - private final RuleCall cReliabilityObjectiveFunctionParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); + private final RuleCall cCostObjectiveFunctionParserRuleCall = (RuleCall)rule.eContents().get(1); //ObjectiveFunction: - // CostObjectiveFunction | ReliabilityObjectiveFunction; + // CostObjectiveFunction; @Override public ParserRule getRule() { return rule; } - //CostObjectiveFunction | ReliabilityObjectiveFunction - public Alternatives getAlternatives() { return cAlternatives; } - //CostObjectiveFunction - public RuleCall getCostObjectiveFunctionParserRuleCall_0() { return cCostObjectiveFunctionParserRuleCall_0; } - - //ReliabilityObjectiveFunction - public RuleCall getReliabilityObjectiveFunctionParserRuleCall_1() { return cReliabilityObjectiveFunctionParserRuleCall_1; } + public RuleCall getCostObjectiveFunctionParserRuleCall() { return cCostObjectiveFunctionParserRuleCall; } } public class CostObjectiveFunctionElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.CostObjectiveFunction"); @@ -1355,134 +1313,6 @@ public class ApplicationConfigurationGrammarAccess extends AbstractGrammarElemen //INTLiteral public RuleCall getWeightINTLiteralParserRuleCall_2_0() { return cWeightINTLiteralParserRuleCall_2_0; } } - public class ReliabilityObjectiveFunctionElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ReliabilityObjectiveFunction"); - private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); - private final RuleCall cReliabiltiyProbabilityParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); - private final RuleCall cMtffParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); - - //ReliabilityObjectiveFunction: - // ReliabiltiyProbability | Mtff; - @Override public ParserRule getRule() { return rule; } - - //ReliabiltiyProbability | Mtff - public Alternatives getAlternatives() { return cAlternatives; } - - //ReliabiltiyProbability - public RuleCall getReliabiltiyProbabilityParserRuleCall_0() { return cReliabiltiyProbabilityParserRuleCall_0; } - - //Mtff - public RuleCall getMtffParserRuleCall_1() { return cMtffParserRuleCall_1; } - } - public class ReliabiltiyProbabilityElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ReliabiltiyProbability"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final Keyword cReliabilityKeyword_0 = (Keyword)cGroup.eContents().get(0); - private final Group cGroup_1 = (Group)cGroup.eContents().get(1); - private final Assignment cPackageAssignment_1_0 = (Assignment)cGroup_1.eContents().get(0); - private final CrossReference cPackageCftModelCrossReference_1_0_0 = (CrossReference)cPackageAssignment_1_0.eContents().get(0); - private final RuleCall cPackageCftModelQualifiedNameParserRuleCall_1_0_0_1 = (RuleCall)cPackageCftModelCrossReference_1_0_0.eContents().get(1); - private final Keyword cColonColonKeyword_1_1 = (Keyword)cGroup_1.eContents().get(1); - private final Assignment cTransformationAssignment_2 = (Assignment)cGroup.eContents().get(2); - private final CrossReference cTransformationTransformationDefinitionCrossReference_2_0 = (CrossReference)cTransformationAssignment_2.eContents().get(0); - private final RuleCall cTransformationTransformationDefinitionIDTerminalRuleCall_2_0_1 = (RuleCall)cTransformationTransformationDefinitionCrossReference_2_0.eContents().get(1); - private final Keyword cAtKeyword_3 = (Keyword)cGroup.eContents().get(3); - private final Assignment cTimeAssignment_4 = (Assignment)cGroup.eContents().get(4); - private final RuleCall cTimeREALLiteralParserRuleCall_4_0 = (RuleCall)cTimeAssignment_4.eContents().get(0); - - //ReliabiltiyProbability: - // 'reliability' (package=[cftLanguage::CftModel|QualifiedName] '::')? - // transformation=[cftLanguage::TransformationDefinition] - // 'at' time=REALLiteral; - @Override public ParserRule getRule() { return rule; } - - //'reliability' (package=[cftLanguage::CftModel|QualifiedName] '::')? - //transformation=[cftLanguage::TransformationDefinition] 'at' time=REALLiteral - public Group getGroup() { return cGroup; } - - //'reliability' - public Keyword getReliabilityKeyword_0() { return cReliabilityKeyword_0; } - - //(package=[cftLanguage::CftModel|QualifiedName] '::')? - public Group getGroup_1() { return cGroup_1; } - - //package=[cftLanguage::CftModel|QualifiedName] - public Assignment getPackageAssignment_1_0() { return cPackageAssignment_1_0; } - - //[cftLanguage::CftModel|QualifiedName] - public CrossReference getPackageCftModelCrossReference_1_0_0() { return cPackageCftModelCrossReference_1_0_0; } - - //QualifiedName - public RuleCall getPackageCftModelQualifiedNameParserRuleCall_1_0_0_1() { return cPackageCftModelQualifiedNameParserRuleCall_1_0_0_1; } - - //'::' - public Keyword getColonColonKeyword_1_1() { return cColonColonKeyword_1_1; } - - //transformation=[cftLanguage::TransformationDefinition] - public Assignment getTransformationAssignment_2() { return cTransformationAssignment_2; } - - //[cftLanguage::TransformationDefinition] - public CrossReference getTransformationTransformationDefinitionCrossReference_2_0() { return cTransformationTransformationDefinitionCrossReference_2_0; } - - //ID - public RuleCall getTransformationTransformationDefinitionIDTerminalRuleCall_2_0_1() { return cTransformationTransformationDefinitionIDTerminalRuleCall_2_0_1; } - - //'at' - public Keyword getAtKeyword_3() { return cAtKeyword_3; } - - //time=REALLiteral - public Assignment getTimeAssignment_4() { return cTimeAssignment_4; } - - //REALLiteral - public RuleCall getTimeREALLiteralParserRuleCall_4_0() { return cTimeREALLiteralParserRuleCall_4_0; } - } - public class MtffElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Mtff"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final Keyword cMtffKeyword_0 = (Keyword)cGroup.eContents().get(0); - private final Group cGroup_1 = (Group)cGroup.eContents().get(1); - private final Assignment cPackageAssignment_1_0 = (Assignment)cGroup_1.eContents().get(0); - private final CrossReference cPackageCftModelCrossReference_1_0_0 = (CrossReference)cPackageAssignment_1_0.eContents().get(0); - private final RuleCall cPackageCftModelQualifiedNameParserRuleCall_1_0_0_1 = (RuleCall)cPackageCftModelCrossReference_1_0_0.eContents().get(1); - private final Keyword cColonColonKeyword_1_1 = (Keyword)cGroup_1.eContents().get(1); - private final Assignment cTransformationAssignment_2 = (Assignment)cGroup.eContents().get(2); - private final CrossReference cTransformationTransformationDefinitionCrossReference_2_0 = (CrossReference)cTransformationAssignment_2.eContents().get(0); - private final RuleCall cTransformationTransformationDefinitionIDTerminalRuleCall_2_0_1 = (RuleCall)cTransformationTransformationDefinitionCrossReference_2_0.eContents().get(1); - - //Mtff: - // 'mtff' (package=[cftLanguage::CftModel|QualifiedName] '::')? transformation=[cftLanguage::TransformationDefinition]; - @Override public ParserRule getRule() { return rule; } - - //'mtff' (package=[cftLanguage::CftModel|QualifiedName] '::')? transformation=[cftLanguage::TransformationDefinition] - public Group getGroup() { return cGroup; } - - //'mtff' - public Keyword getMtffKeyword_0() { return cMtffKeyword_0; } - - //(package=[cftLanguage::CftModel|QualifiedName] '::')? - public Group getGroup_1() { return cGroup_1; } - - //package=[cftLanguage::CftModel|QualifiedName] - public Assignment getPackageAssignment_1_0() { return cPackageAssignment_1_0; } - - //[cftLanguage::CftModel|QualifiedName] - public CrossReference getPackageCftModelCrossReference_1_0_0() { return cPackageCftModelCrossReference_1_0_0; } - - //QualifiedName - public RuleCall getPackageCftModelQualifiedNameParserRuleCall_1_0_0_1() { return cPackageCftModelQualifiedNameParserRuleCall_1_0_0_1; } - - //'::' - public Keyword getColonColonKeyword_1_1() { return cColonColonKeyword_1_1; } - - //transformation=[cftLanguage::TransformationDefinition] - public Assignment getTransformationAssignment_2() { return cTransformationAssignment_2; } - - //[cftLanguage::TransformationDefinition] - public CrossReference getTransformationTransformationDefinitionCrossReference_2_0() { return cTransformationTransformationDefinitionCrossReference_2_0; } - - //ID - public RuleCall getTransformationTransformationDefinitionIDTerminalRuleCall_2_0_1() { return cTransformationTransformationDefinitionIDTerminalRuleCall_2_0_1; } - } public class ObjectiveDeclarationElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ObjectiveDeclaration"); private final Group cGroup = (Group)rule.eContents().get(1); @@ -3172,7 +3002,6 @@ public class ApplicationConfigurationGrammarAccess extends AbstractGrammarElemen private final ImportElements pImport; private final EPackageImportElements pEPackageImport; private final ViatraImportElements pViatraImport; - private final CftImportElements pCftImport; private final DeclarationElements pDeclaration; private final FileSpecificationElements pFileSpecification; private final FileDeclarationElements pFileDeclaration; @@ -3208,9 +3037,6 @@ public class ApplicationConfigurationGrammarAccess extends AbstractGrammarElemen private final ObjectiveFunctionElements pObjectiveFunction; private final CostObjectiveFunctionElements pCostObjectiveFunction; private final CostEntryElements pCostEntry; - private final ReliabilityObjectiveFunctionElements pReliabilityObjectiveFunction; - private final ReliabiltiyProbabilityElements pReliabiltiyProbability; - private final MtffElements pMtff; private final ObjectiveDeclarationElements pObjectiveDeclaration; private final ObjectiveReferenceElements pObjectiveReference; private final ObjectiveElements pObjective; @@ -3267,7 +3093,6 @@ public class ApplicationConfigurationGrammarAccess extends AbstractGrammarElemen this.pImport = new ImportElements(); this.pEPackageImport = new EPackageImportElements(); this.pViatraImport = new ViatraImportElements(); - this.pCftImport = new CftImportElements(); this.pDeclaration = new DeclarationElements(); this.pFileSpecification = new FileSpecificationElements(); this.pFileDeclaration = new FileDeclarationElements(); @@ -3303,9 +3128,6 @@ public class ApplicationConfigurationGrammarAccess extends AbstractGrammarElemen this.pObjectiveFunction = new ObjectiveFunctionElements(); this.pCostObjectiveFunction = new CostObjectiveFunctionElements(); this.pCostEntry = new CostEntryElements(); - this.pReliabilityObjectiveFunction = new ReliabilityObjectiveFunctionElements(); - this.pReliabiltiyProbability = new ReliabiltiyProbabilityElements(); - this.pMtff = new MtffElements(); this.pObjectiveDeclaration = new ObjectiveDeclarationElements(); this.pObjectiveReference = new ObjectiveReferenceElements(); this.pObjective = new ObjectiveElements(); @@ -3428,7 +3250,7 @@ public class ApplicationConfigurationGrammarAccess extends AbstractGrammarElemen //// Imports ///////////////////////////////////////////////////// //Import: - // EPackageImport | ViatraImport | CftImport; + // EPackageImport | ViatraImport; public ImportElements getImportAccess() { return pImport; } @@ -3457,16 +3279,6 @@ public class ApplicationConfigurationGrammarAccess extends AbstractGrammarElemen return getViatraImportAccess().getRule(); } - //CftImport: - // "import" "reliability" importedCft=[cftLanguage::CftModel|STRING]; - public CftImportElements getCftImportAccess() { - return pCftImport; - } - - public ParserRule getCftImportRule() { - return getCftImportAccess().getRule(); - } - ///////////////////////////////////////////////////// //// Declaration ///////////////////////////////////////////////////// @@ -3564,7 +3376,8 @@ public class ApplicationConfigurationGrammarAccess extends AbstractGrammarElemen } //MetamodelElement: - // (package=[ecore::EPackage|QualifiedName] '::')? classifier=[ecore::EClassifier] ('.' feature=[ecore::ENamedElement])?; + // (package=[ecore::EPackage|QualifiedName] '::')? classifier=[ecore::EClassifier] ('.' + // feature=[ecore::ENamedElement])?; public MetamodelElementElements getMetamodelElementAccess() { return pMetamodelElement; } @@ -3814,7 +3627,7 @@ public class ApplicationConfigurationGrammarAccess extends AbstractGrammarElemen } //ObjectiveFunction: - // CostObjectiveFunction | ReliabilityObjectiveFunction; + // CostObjectiveFunction; public ObjectiveFunctionElements getObjectiveFunctionAccess() { return pObjectiveFunction; } @@ -3843,38 +3656,6 @@ public class ApplicationConfigurationGrammarAccess extends AbstractGrammarElemen return getCostEntryAccess().getRule(); } - //ReliabilityObjectiveFunction: - // ReliabiltiyProbability | Mtff; - public ReliabilityObjectiveFunctionElements getReliabilityObjectiveFunctionAccess() { - return pReliabilityObjectiveFunction; - } - - public ParserRule getReliabilityObjectiveFunctionRule() { - return getReliabilityObjectiveFunctionAccess().getRule(); - } - - //ReliabiltiyProbability: - // 'reliability' (package=[cftLanguage::CftModel|QualifiedName] '::')? - // transformation=[cftLanguage::TransformationDefinition] - // 'at' time=REALLiteral; - public ReliabiltiyProbabilityElements getReliabiltiyProbabilityAccess() { - return pReliabiltiyProbability; - } - - public ParserRule getReliabiltiyProbabilityRule() { - return getReliabiltiyProbabilityAccess().getRule(); - } - - //Mtff: - // 'mtff' (package=[cftLanguage::CftModel|QualifiedName] '::')? transformation=[cftLanguage::TransformationDefinition]; - public MtffElements getMtffAccess() { - return pMtff; - } - - public ParserRule getMtffRule() { - return getMtffAccess().getRule(); - } - //ObjectiveDeclaration: // 'objectives' name=ID specification=ObjectiveSpecification; public ObjectiveDeclarationElements getObjectiveDeclarationAccess() { diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/validation/AbstractApplicationConfigurationValidator.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/validation/AbstractApplicationConfigurationValidator.java index 455e82ed..803654f4 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/validation/AbstractApplicationConfigurationValidator.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/validation/AbstractApplicationConfigurationValidator.java @@ -1,5 +1,5 @@ /* - * generated by Xtext 2.16.0 + * generated by Xtext 2.17.0 */ package hu.bme.mit.inf.dslreasoner.application.validation; 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 be1ac662..537989f7 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 @@ -2,7 +2,6 @@ grammar hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration with org import "http://www.eclipse.org/emf/2002/Ecore" as ecore import "http://www.eclipse.org/viatra/query/patternlanguage/emf/PatternLanguage" as viatra -import "http://www.bme.hu/mit/inf/dslreasoner/faulttree/components/CftLanguage" as cftLanguage generate applicationConfiguration "http://www.bme.hu/mit/inf/dslreasoner/application/ApplicationConfiguration" ConfigurationScript: @@ -25,16 +24,13 @@ INTLiteral returns ecore::EInt: // Imports /////////////////////////////////////////////////// Import: - EPackageImport | ViatraImport | CftImport; + EPackageImport | ViatraImport; EPackageImport: "import" "epackage" importedPackage=[ecore::EPackage|STRING]; ViatraImport: "import" "viatra" importedViatra=[viatra::PatternModel|STRING]; - -CftImport: - "import" "reliability" importedCft=[cftLanguage::CftModel|STRING]; /////////////////////////////////////////////////// // Declaration @@ -160,7 +156,7 @@ ThresholdEntry: function=ObjectiveFunction operator=ComparisonOperator threshold=REALLiteral; ObjectiveFunction: - CostObjectiveFunction | ReliabilityObjectiveFunction; + CostObjectiveFunction; CostObjectiveFunction: 'cost' '{' entries+=CostEntry (',' entries+=CostEntry)* '}'; @@ -168,17 +164,6 @@ CostObjectiveFunction: CostEntry: patternElement=PatternElement '=' weight=INTLiteral; -ReliabilityObjectiveFunction: - ReliabiltiyProbability | Mtff; - -ReliabiltiyProbability: - 'reliability' (package=[cftLanguage::CftModel|QualifiedName] '::')? - transformation=[cftLanguage::TransformationDefinition] - 'at' time=REALLiteral; - -Mtff: - 'mtff' (package=[cftLanguage::CftModel|QualifiedName] '::')? transformation=[cftLanguage::TransformationDefinition]; - ObjectiveDeclaration: 'objectives' name=ID specification=ObjectiveSpecification; diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/GenerateApplicationConfiguration.mwe2 b/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/GenerateApplicationConfiguration.mwe2 index 3983cd10..13cc78a8 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/GenerateApplicationConfiguration.mwe2 +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/GenerateApplicationConfiguration.mwe2 @@ -31,7 +31,6 @@ Workflow { name = "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration" referencedResource = "platform:/resource/org.eclipse.emf.ecore/model/Ecore.genmodel" referencedResource = "platform:/resource/org.eclipse.viatra.query.patternlanguage.emf/model/PatternLanguage.genmodel" - referencedResource = "platform:/resource/hu.bme.mit.inf.dslreasoner.faulttree.components/model/generated/CftLanguage.genmodel" fileExtensions = "vsconfig" serializer = { generateStub = false diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/linking/ApplicationConfigurationLinkingService.xtend b/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/linking/ApplicationConfigurationLinkingService.xtend index ec79ac89..fafba1d7 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/linking/ApplicationConfigurationLinkingService.xtend +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/linking/ApplicationConfigurationLinkingService.xtend @@ -2,13 +2,9 @@ package hu.bme.mit.inf.dslreasoner.application.linking import com.google.inject.Inject import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.CftImport -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigurationScript import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.EPackageImport -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PatternEntry import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ViatraImport import java.util.Collections -import java.util.List import java.util.Optional import org.eclipse.emf.common.util.URI import org.eclipse.emf.ecore.EObject @@ -17,7 +13,6 @@ import org.eclipse.emf.ecore.EReference import org.eclipse.emf.ecore.resource.Resource import org.eclipse.emf.ecore.resource.ResourceSet import org.eclipse.viatra.query.patternlanguage.emf.scoping.IMetamodelProvider -import org.eclipse.xtext.EcoreUtil2 import org.eclipse.xtext.conversion.IValueConverterService import org.eclipse.xtext.conversion.ValueConverterException import org.eclipse.xtext.linking.impl.DefaultLinkingService @@ -39,10 +34,6 @@ class ApplicationConfigurationLinkingService extends DefaultLinkingService { if (ref == viatraImport_ImportedViatra) { return getViatra(context, node) } - } else if (context instanceof CftImport) { - if (ref == cftImport_ImportedCft) { - return getCftModel(context, node) - } } return super.getLinkedObjects(context, ref, node) } @@ -113,8 +104,4 @@ class ApplicationConfigurationLinkingService extends DefaultLinkingService { Optional.empty } } - - private def getCftModel(CftImport context, INode node) { - getByUri(context, cftImport_ImportedCft, node) - } } diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/scoping/ApplicationConfigurationScopeProvider.xtend b/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/scoping/ApplicationConfigurationScopeProvider.xtend index 4daf9831..e5db9893 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/scoping/ApplicationConfigurationScopeProvider.xtend +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/scoping/ApplicationConfigurationScopeProvider.xtend @@ -4,15 +4,12 @@ package hu.bme.mit.inf.dslreasoner.application.scoping import com.google.inject.Inject -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.CftImport import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigurationScript import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.EPackageImport import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelElement import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelEntry import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PatternEntry -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ReliabilityObjectiveFunction import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ViatraImport -import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftModel import org.eclipse.emf.ecore.EClass import org.eclipse.emf.ecore.EEnum import org.eclipse.emf.ecore.EObject @@ -47,10 +44,6 @@ class ApplicationConfigurationScopeProvider extends AbstractApplicationConfigura getViatraPackageScope(context, reference, document) case PATTERN_ELEMENT__PATTERN: getViatraPatternScope(context, document) - case RELIABILITY_OBJECTIVE_FUNCTION__PACKAGE: - getCftPackageScope(context, reference, document) - case RELIABILITY_OBJECTIVE_FUNCTION__TRANSFORMATION: - getCftTransformationScope(context, document) default: super.getScope(context, reference) } @@ -72,14 +65,6 @@ class ApplicationConfigurationScopeProvider extends AbstractApplicationConfigura document.allViatraPackages.map[patterns].flatten } - private def getAllCftPackages(ConfigurationScript document) { - document.imports.filter(CftImport).map[importedCft].filterNull - } - - private def getAllCftTransformations(ConfigurationScript document) { - document.allCftPackages.map[transformationDefinitions].flatten - } - private def getEPackageScope(ConfigurationScript document) { Scopes.scopeFor(document.allEPackages) } @@ -126,23 +111,6 @@ class ApplicationConfigurationScopeProvider extends AbstractApplicationConfigura } Scopes.scopeFor(patterns) } - - private def getCftPackageScope(EObject context, EReference reference, ConfigurationScript document) { - val cftModelNameConverter = [ CftModel cftModel | - toQualifiedNameOrNull(cftModel.packageName) - ] - Scopes.scopeFor(document.allCftPackages, cftModelNameConverter, super.getScope(context, reference)) - } - - private def getCftTransformationScope(EObject context, ConfigurationScript document) { - val transformations = switch (context) { - ReliabilityObjectiveFunction case context.package !== null: - context.package.transformationDefinitions - default: - document.allCftTransformations - } - Scopes.scopeFor(transformations) - } private def toQualifiedNameOrNull(String packageName) { if (packageName === null) { diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/.classpath b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/.classpath deleted file mode 100644 index 9081d4f7..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/.classpath +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/.gitignore b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/.gitignore deleted file mode 100644 index ae3c1726..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/.gitignore +++ /dev/null @@ -1 +0,0 @@ -/bin/ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/.project b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/.project deleted file mode 100644 index 7e994188..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/.project +++ /dev/null @@ -1,34 +0,0 @@ - - - hu.bme.mit.inf.dslreasoner.faulttree.components.ide - - - - - - org.eclipse.xtext.ui.shared.xtextBuilder - - - - - org.eclipse.jdt.core.javabuilder - - - - - org.eclipse.pde.ManifestBuilder - - - - - org.eclipse.pde.SchemaBuilder - - - - - - org.eclipse.xtext.ui.shared.xtextNature - org.eclipse.jdt.core.javanature - org.eclipse.pde.PluginNature - - diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/.settings/org.eclipse.core.resources.prefs b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/.settings/org.eclipse.core.resources.prefs deleted file mode 100644 index 99f26c02..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/.settings/org.eclipse.core.resources.prefs +++ /dev/null @@ -1,2 +0,0 @@ -eclipse.preferences.version=1 -encoding/=UTF-8 diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/.settings/org.eclipse.jdt.core.prefs b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/.settings/org.eclipse.jdt.core.prefs deleted file mode 100644 index 0c68a61d..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/.settings/org.eclipse.jdt.core.prefs +++ /dev/null @@ -1,7 +0,0 @@ -eclipse.preferences.version=1 -org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled -org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8 -org.eclipse.jdt.core.compiler.compliance=1.8 -org.eclipse.jdt.core.compiler.problem.assertIdentifier=error -org.eclipse.jdt.core.compiler.problem.enumIdentifier=error -org.eclipse.jdt.core.compiler.source=1.8 diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/META-INF/MANIFEST.MF b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/META-INF/MANIFEST.MF deleted file mode 100644 index 15d6a9f9..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/META-INF/MANIFEST.MF +++ /dev/null @@ -1,15 +0,0 @@ -Manifest-Version: 1.0 -Automatic-Module-Name: hu.bme.mit.inf.dslreasoner.faulttree.components.ide -Bundle-ManifestVersion: 2 -Bundle-Name: hu.bme.mit.inf.dslreasoner.faulttree.components.ide -Bundle-Vendor: My Company -Bundle-Version: 1.0.0.qualifier -Bundle-SymbolicName: hu.bme.mit.inf.dslreasoner.faulttree.components.ide; singleton:=true -Bundle-ActivationPolicy: lazy -Require-Bundle: hu.bme.mit.inf.dslreasoner.faulttree.components, - org.eclipse.xtext.ide, - org.eclipse.xtext.xbase.ide, - org.antlr.runtime;bundle-version="[3.2.0,3.2.1)" -Bundle-RequiredExecutionEnvironment: JavaSE-1.8 -Export-Package: hu.bme.mit.inf.dslreasoner.faulttree.components.ide.contentassist.antlr, - hu.bme.mit.inf.dslreasoner.faulttree.components.ide.contentassist.antlr.internal diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/build.properties b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/build.properties deleted file mode 100644 index 5c6bbf99..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/build.properties +++ /dev/null @@ -1,6 +0,0 @@ -source.. = src/,\ - src-gen/,\ - xtend-gen/ -bin.includes = .,\ - META-INF/ -bin.excludes = **/*.xtend diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/src-gen/META-INF/services/org.eclipse.xtext.ISetup b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/src-gen/META-INF/services/org.eclipse.xtext.ISetup deleted file mode 100644 index 73a0041c..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/src-gen/META-INF/services/org.eclipse.xtext.ISetup +++ /dev/null @@ -1 +0,0 @@ -hu.bme.mit.inf.dslreasoner.faulttree.components.ide.CftLanguageIdeSetup diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/AbstractCftLanguageIdeModule.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/AbstractCftLanguageIdeModule.java deleted file mode 100644 index f17cf7d5..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/AbstractCftLanguageIdeModule.java +++ /dev/null @@ -1,60 +0,0 @@ -/* - * generated by Xtext 2.16.0 - */ -package hu.bme.mit.inf.dslreasoner.faulttree.components.ide; - -import com.google.inject.Binder; -import com.google.inject.name.Names; -import hu.bme.mit.inf.dslreasoner.faulttree.components.ide.contentassist.antlr.CftLanguageParser; -import hu.bme.mit.inf.dslreasoner.faulttree.components.ide.contentassist.antlr.internal.InternalCftLanguageLexer; -import org.eclipse.xtext.ide.DefaultIdeModule; -import org.eclipse.xtext.ide.LexerIdeBindings; -import org.eclipse.xtext.ide.editor.contentassist.FQNPrefixMatcher; -import org.eclipse.xtext.ide.editor.contentassist.IPrefixMatcher; -import org.eclipse.xtext.ide.editor.contentassist.IProposalConflictHelper; -import org.eclipse.xtext.ide.editor.contentassist.antlr.AntlrProposalConflictHelper; -import org.eclipse.xtext.ide.editor.contentassist.antlr.IContentAssistParser; -import org.eclipse.xtext.ide.editor.contentassist.antlr.internal.Lexer; -import org.eclipse.xtext.ide.refactoring.IRenameStrategy2; -import org.eclipse.xtext.ide.server.rename.IRenameService; -import org.eclipse.xtext.ide.server.rename.RenameService; - -/** - * Manual modifications go to {@link CftLanguageIdeModule}. - */ -@SuppressWarnings("all") -public abstract class AbstractCftLanguageIdeModule extends DefaultIdeModule { - - // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 - public void configureContentAssistLexer(Binder binder) { - binder.bind(Lexer.class) - .annotatedWith(Names.named(LexerIdeBindings.CONTENT_ASSIST)) - .to(InternalCftLanguageLexer.class); - } - - // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 - public Class bindIContentAssistParser() { - return CftLanguageParser.class; - } - - // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 - public Class bindIProposalConflictHelper() { - return AntlrProposalConflictHelper.class; - } - - // contributed by org.eclipse.xtext.xtext.generator.exporting.QualifiedNamesFragment2 - public Class bindIPrefixMatcher() { - return FQNPrefixMatcher.class; - } - - // contributed by org.eclipse.xtext.xtext.generator.ui.refactoring.RefactorElementNameFragment2 - public Class bindIRenameService() { - return RenameService.class; - } - - // contributed by org.eclipse.xtext.xtext.generator.ui.refactoring.RefactorElementNameFragment2 - public Class bindIRenameStrategy2() { - return IRenameStrategy2.DefaultImpl.class; - } - -} diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/contentassist/antlr/CftLanguageParser.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/contentassist/antlr/CftLanguageParser.java deleted file mode 100644 index b524557f..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/contentassist/antlr/CftLanguageParser.java +++ /dev/null @@ -1,159 +0,0 @@ -/* - * generated by Xtext 2.16.0 - */ -package hu.bme.mit.inf.dslreasoner.faulttree.components.ide.contentassist.antlr; - -import com.google.common.collect.ImmutableMap; -import com.google.inject.Inject; -import com.google.inject.Singleton; -import hu.bme.mit.inf.dslreasoner.faulttree.components.ide.contentassist.antlr.internal.InternalCftLanguageParser; -import hu.bme.mit.inf.dslreasoner.faulttree.components.services.CftLanguageGrammarAccess; -import java.util.Map; -import org.eclipse.xtext.AbstractElement; -import org.eclipse.xtext.ide.editor.contentassist.antlr.AbstractContentAssistParser; - -public class CftLanguageParser extends AbstractContentAssistParser { - - @Singleton - public static final class NameMappings { - - private final Map mappings; - - @Inject - public NameMappings(CftLanguageGrammarAccess grammarAccess) { - ImmutableMap.Builder builder = ImmutableMap.builder(); - init(builder, grammarAccess); - this.mappings = builder.build(); - } - - public String getRuleName(AbstractElement element) { - return mappings.get(element); - } - - private static void init(ImmutableMap.Builder builder, CftLanguageGrammarAccess grammarAccess) { - builder.put(grammarAccess.getCftModelAccess().getAlternatives_4(), "rule__CftModel__Alternatives_4"); - builder.put(grammarAccess.getEventDefinitionAccess().getAlternatives(), "rule__EventDefinition__Alternatives"); - builder.put(grammarAccess.getDistributionAccess().getAlternatives(), "rule__Distribution__Alternatives"); - builder.put(grammarAccess.getGateDefinitionAccess().getAlternatives(), "rule__GateDefinition__Alternatives"); - builder.put(grammarAccess.getKOfMGateDefinitionAccess().getAlternatives_2(), "rule__KOfMGateDefinition__Alternatives_2"); - builder.put(grammarAccess.getMappingDefinitionAccess().getAlternatives_8_1_0(), "rule__MappingDefinition__Alternatives_8_1_0"); - builder.put(grammarAccess.getVariableAccess().getAlternatives(), "rule__Variable__Alternatives"); - builder.put(grammarAccess.getAssignmentAccess().getAlternatives_1(), "rule__Assignment__Alternatives_1"); - builder.put(grammarAccess.getValidIdAccess().getAlternatives(), "rule__ValidId__Alternatives"); - builder.put(grammarAccess.getDoubleAccess().getAlternatives(), "rule__Double__Alternatives"); - builder.put(grammarAccess.getCftModelAccess().getGroup(), "rule__CftModel__Group__0"); - builder.put(grammarAccess.getImportDeclarationAccess().getGroup(), "rule__ImportDeclaration__Group__0"); - builder.put(grammarAccess.getComponentDefinitionAccess().getGroup(), "rule__ComponentDefinition__Group__0"); - builder.put(grammarAccess.getComponentDefinitionAccess().getGroup_3_0(), "rule__ComponentDefinition__Group_3_0__0"); - builder.put(grammarAccess.getComponentDefinitionAccess().getGroup_3_1(), "rule__ComponentDefinition__Group_3_1__0"); - builder.put(grammarAccess.getComponentDefinitionAccess().getGroup_4(), "rule__ComponentDefinition__Group_4__0"); - builder.put(grammarAccess.getInputEventAccess().getGroup(), "rule__InputEvent__Group__0"); - builder.put(grammarAccess.getBasicEventDefinitionAccess().getGroup(), "rule__BasicEventDefinition__Group__0"); - builder.put(grammarAccess.getConstantDistributionAccess().getGroup(), "rule__ConstantDistribution__Group__0"); - builder.put(grammarAccess.getExponentialDistributionAccess().getGroup(), "rule__ExponentialDistribution__Group__0"); - builder.put(grammarAccess.getAndGateDefinitionAccess().getGroup(), "rule__AndGateDefinition__Group__0"); - builder.put(grammarAccess.getOrGateDefinitionAccess().getGroup(), "rule__OrGateDefinition__Group__0"); - builder.put(grammarAccess.getKOfMGateDefinitionAccess().getGroup(), "rule__KOfMGateDefinition__Group__0"); - builder.put(grammarAccess.getKOfMGateDefinitionAccess().getGroup_2_0(), "rule__KOfMGateDefinition__Group_2_0__0"); - builder.put(grammarAccess.getTransformationDefinitionAccess().getGroup(), "rule__TransformationDefinition__Group__0"); - builder.put(grammarAccess.getMappingDefinitionAccess().getGroup(), "rule__MappingDefinition__Group__0"); - builder.put(grammarAccess.getMappingDefinitionAccess().getGroup_5(), "rule__MappingDefinition__Group_5__0"); - builder.put(grammarAccess.getMappingDefinitionAccess().getGroup_8(), "rule__MappingDefinition__Group_8__0"); - builder.put(grammarAccess.getMappingDefinitionAccess().getGroup_8_1(), "rule__MappingDefinition__Group_8_1__0"); - builder.put(grammarAccess.getLookupDefinitionAccess().getGroup(), "rule__LookupDefinition__Group__0"); - builder.put(grammarAccess.getLookupDefinitionAccess().getGroup_4(), "rule__LookupDefinition__Group_4__0"); - builder.put(grammarAccess.getAssignmentAccess().getGroup(), "rule__Assignment__Group__0"); - builder.put(grammarAccess.getEventReferenceAccess().getGroup(), "rule__EventReference__Group__0"); - builder.put(grammarAccess.getComponentInstanceAccess().getGroup(), "rule__ComponentInstance__Group__0"); - builder.put(grammarAccess.getQualifiedNameAccess().getGroup(), "rule__QualifiedName__Group__0"); - builder.put(grammarAccess.getQualifiedNameAccess().getGroup_1(), "rule__QualifiedName__Group_1__0"); - builder.put(grammarAccess.getQualifiedNameWithWildcardAccess().getGroup(), "rule__QualifiedNameWithWildcard__Group__0"); - builder.put(grammarAccess.getQualifiedNameWithWildcardAccess().getGroup_1(), "rule__QualifiedNameWithWildcard__Group_1__0"); - builder.put(grammarAccess.getCftModelAccess().getPackageNameAssignment_1(), "rule__CftModel__PackageNameAssignment_1"); - builder.put(grammarAccess.getCftModelAccess().getImportsAssignment_3(), "rule__CftModel__ImportsAssignment_3"); - builder.put(grammarAccess.getCftModelAccess().getComponentDefinitionsAssignment_4_0(), "rule__CftModel__ComponentDefinitionsAssignment_4_0"); - builder.put(grammarAccess.getCftModelAccess().getTransformationDefinitionsAssignment_4_1(), "rule__CftModel__TransformationDefinitionsAssignment_4_1"); - builder.put(grammarAccess.getImportDeclarationAccess().getImportedNamespaceAssignment_1(), "rule__ImportDeclaration__ImportedNamespaceAssignment_1"); - builder.put(grammarAccess.getComponentDefinitionAccess().getNameAssignment_1(), "rule__ComponentDefinition__NameAssignment_1"); - builder.put(grammarAccess.getComponentDefinitionAccess().getInputEventsAssignment_3_0_1(), "rule__ComponentDefinition__InputEventsAssignment_3_0_1"); - builder.put(grammarAccess.getComponentDefinitionAccess().getOutputEventsAssignment_3_1_1(), "rule__ComponentDefinition__OutputEventsAssignment_3_1_1"); - builder.put(grammarAccess.getComponentDefinitionAccess().getEventDefinitionsAssignment_4_0(), "rule__ComponentDefinition__EventDefinitionsAssignment_4_0"); - builder.put(grammarAccess.getInputEventAccess().getNameAssignment_0(), "rule__InputEvent__NameAssignment_0"); - builder.put(grammarAccess.getInputEventAccess().getMultipleAssignment_1(), "rule__InputEvent__MultipleAssignment_1"); - builder.put(grammarAccess.getBasicEventDefinitionAccess().getNameAssignment_0(), "rule__BasicEventDefinition__NameAssignment_0"); - builder.put(grammarAccess.getBasicEventDefinitionAccess().getDistributionAssignment_1(), "rule__BasicEventDefinition__DistributionAssignment_1"); - builder.put(grammarAccess.getConstantDistributionAccess().getPAssignment_2(), "rule__ConstantDistribution__PAssignment_2"); - builder.put(grammarAccess.getExponentialDistributionAccess().getLambdaAssignment_2(), "rule__ExponentialDistribution__LambdaAssignment_2"); - builder.put(grammarAccess.getAndGateDefinitionAccess().getNameAssignment_0(), "rule__AndGateDefinition__NameAssignment_0"); - builder.put(grammarAccess.getAndGateDefinitionAccess().getInputEventsAssignment_2(), "rule__AndGateDefinition__InputEventsAssignment_2"); - builder.put(grammarAccess.getOrGateDefinitionAccess().getNameAssignment_0(), "rule__OrGateDefinition__NameAssignment_0"); - builder.put(grammarAccess.getOrGateDefinitionAccess().getInputEventsAssignment_2(), "rule__OrGateDefinition__InputEventsAssignment_2"); - builder.put(grammarAccess.getKOfMGateDefinitionAccess().getNameAssignment_0(), "rule__KOfMGateDefinition__NameAssignment_0"); - builder.put(grammarAccess.getKOfMGateDefinitionAccess().getKAssignment_1(), "rule__KOfMGateDefinition__KAssignment_1"); - builder.put(grammarAccess.getKOfMGateDefinitionAccess().getMAssignment_2_0_1(), "rule__KOfMGateDefinition__MAssignment_2_0_1"); - builder.put(grammarAccess.getKOfMGateDefinitionAccess().getMAssignment_2_1(), "rule__KOfMGateDefinition__MAssignment_2_1"); - builder.put(grammarAccess.getKOfMGateDefinitionAccess().getInputEventsAssignment_3(), "rule__KOfMGateDefinition__InputEventsAssignment_3"); - builder.put(grammarAccess.getTransformationDefinitionAccess().getNameAssignment_1(), "rule__TransformationDefinition__NameAssignment_1"); - builder.put(grammarAccess.getTransformationDefinitionAccess().getMappingDefinitionsAssignment_3(), "rule__TransformationDefinition__MappingDefinitionsAssignment_3"); - builder.put(grammarAccess.getMappingDefinitionAccess().getTopLevelAssignment_0(), "rule__MappingDefinition__TopLevelAssignment_0"); - builder.put(grammarAccess.getMappingDefinitionAccess().getPatternAssignment_2(), "rule__MappingDefinition__PatternAssignment_2"); - builder.put(grammarAccess.getMappingDefinitionAccess().getParametersAssignment_4(), "rule__MappingDefinition__ParametersAssignment_4"); - builder.put(grammarAccess.getMappingDefinitionAccess().getParametersAssignment_5_1(), "rule__MappingDefinition__ParametersAssignment_5_1"); - builder.put(grammarAccess.getMappingDefinitionAccess().getComponentInstanceAssignment_7(), "rule__MappingDefinition__ComponentInstanceAssignment_7"); - builder.put(grammarAccess.getMappingDefinitionAccess().getLookupDefinitionsAssignment_8_1_0_0(), "rule__MappingDefinition__LookupDefinitionsAssignment_8_1_0_0"); - builder.put(grammarAccess.getMappingDefinitionAccess().getAssignmentsAssignment_8_1_0_1(), "rule__MappingDefinition__AssignmentsAssignment_8_1_0_1"); - builder.put(grammarAccess.getMappingParameterAccess().getNameAssignment(), "rule__MappingParameter__NameAssignment"); - builder.put(grammarAccess.getLookupDefinitionAccess().getMappingAssignment_1(), "rule__LookupDefinition__MappingAssignment_1"); - builder.put(grammarAccess.getLookupDefinitionAccess().getArgumentsAssignment_3(), "rule__LookupDefinition__ArgumentsAssignment_3"); - builder.put(grammarAccess.getLookupDefinitionAccess().getArgumentsAssignment_4_1(), "rule__LookupDefinition__ArgumentsAssignment_4_1"); - builder.put(grammarAccess.getLookupDefinitionAccess().getNameAssignment_7(), "rule__LookupDefinition__NameAssignment_7"); - builder.put(grammarAccess.getAssignmentAccess().getInputAssignment_0(), "rule__Assignment__InputAssignment_0"); - builder.put(grammarAccess.getAssignmentAccess().getMultipleAssignment_1_0(), "rule__Assignment__MultipleAssignment_1_0"); - builder.put(grammarAccess.getAssignmentAccess().getOutputAssignment_2(), "rule__Assignment__OutputAssignment_2"); - builder.put(grammarAccess.getEventReferenceAccess().getComponentAssignment_0(), "rule__EventReference__ComponentAssignment_0"); - builder.put(grammarAccess.getEventReferenceAccess().getEventAssignment_2(), "rule__EventReference__EventAssignment_2"); - builder.put(grammarAccess.getComponentInstanceAccess().getComponentTypeAssignment_1(), "rule__ComponentInstance__ComponentTypeAssignment_1"); - builder.put(grammarAccess.getComponentInstanceAccess().getNameAssignment_2(), "rule__ComponentInstance__NameAssignment_2"); - builder.put(grammarAccess.getComponentDefinitionAccess().getUnorderedGroup_3(), "rule__ComponentDefinition__UnorderedGroup_3"); - } - } - - @Inject - private NameMappings nameMappings; - - @Inject - private CftLanguageGrammarAccess grammarAccess; - - @Override - protected InternalCftLanguageParser createParser() { - InternalCftLanguageParser result = new InternalCftLanguageParser(null); - result.setGrammarAccess(grammarAccess); - return result; - } - - @Override - protected String getRuleName(AbstractElement element) { - return nameMappings.getRuleName(element); - } - - @Override - protected String[] getInitialHiddenTokens() { - return new String[] { "RULE_WS", "RULE_ML_COMMENT", "RULE_SL_COMMENT" }; - } - - public CftLanguageGrammarAccess getGrammarAccess() { - return this.grammarAccess; - } - - public void setGrammarAccess(CftLanguageGrammarAccess grammarAccess) { - this.grammarAccess = grammarAccess; - } - - public NameMappings getNameMappings() { - return nameMappings; - } - - public void setNameMappings(NameMappings nameMappings) { - this.nameMappings = nameMappings; - } -} diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/contentassist/antlr/PartialCftLanguageContentAssistParser.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/contentassist/antlr/PartialCftLanguageContentAssistParser.java deleted file mode 100644 index 11f5a864..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/contentassist/antlr/PartialCftLanguageContentAssistParser.java +++ /dev/null @@ -1,34 +0,0 @@ -/* - * generated by Xtext 2.16.0 - */ -package hu.bme.mit.inf.dslreasoner.faulttree.components.ide.contentassist.antlr; - -import java.util.Collection; -import java.util.Collections; -import org.eclipse.xtext.AbstractRule; -import org.eclipse.xtext.ide.editor.contentassist.antlr.FollowElement; -import org.eclipse.xtext.ide.editor.contentassist.antlr.internal.AbstractInternalContentAssistParser; -import org.eclipse.xtext.ide.editor.partialEditing.IPartialEditingContentAssistParser; -import org.eclipse.xtext.util.PolymorphicDispatcher; - -public class PartialCftLanguageContentAssistParser extends CftLanguageParser implements IPartialEditingContentAssistParser { - - private AbstractRule rule; - - @Override - public void initializeFor(AbstractRule rule) { - this.rule = rule; - } - - @Override - protected Collection getFollowElements(AbstractInternalContentAssistParser parser) { - if (rule == null || rule.eIsProxy()) - return Collections.emptyList(); - String methodName = "entryRule" + rule.getName(); - PolymorphicDispatcher> dispatcher = - new PolymorphicDispatcher>(methodName, 0, 0, Collections.singletonList(parser)); - dispatcher.invoke(); - return parser.getFollowElements(); - } - -} diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/contentassist/antlr/internal/InternalCftLanguage.g b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/contentassist/antlr/internal/InternalCftLanguage.g deleted file mode 100644 index 6ccf7334..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/contentassist/antlr/internal/InternalCftLanguage.g +++ /dev/null @@ -1,4161 +0,0 @@ -/* - * generated by Xtext 2.16.0 - */ -grammar InternalCftLanguage; - -options { - superClass=AbstractInternalContentAssistParser; -} - -@lexer::header { -package hu.bme.mit.inf.dslreasoner.faulttree.components.ide.contentassist.antlr.internal; - -// Hack: Use our own Lexer superclass by means of import. -// Currently there is no other way to specify the superclass for the lexer. -import org.eclipse.xtext.ide.editor.contentassist.antlr.internal.Lexer; -} - -@parser::header { -package hu.bme.mit.inf.dslreasoner.faulttree.components.ide.contentassist.antlr.internal; - -import java.io.InputStream; -import org.eclipse.xtext.*; -import org.eclipse.xtext.parser.*; -import org.eclipse.xtext.parser.impl.*; -import org.eclipse.emf.ecore.util.EcoreUtil; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.xtext.parser.antlr.XtextTokenStream; -import org.eclipse.xtext.parser.antlr.XtextTokenStream.HiddenTokens; -import org.eclipse.xtext.ide.editor.contentassist.antlr.internal.AbstractInternalContentAssistParser; -import org.eclipse.xtext.ide.editor.contentassist.antlr.internal.DFA; -import hu.bme.mit.inf.dslreasoner.faulttree.components.services.CftLanguageGrammarAccess; - -} -@parser::members { - private CftLanguageGrammarAccess grammarAccess; - - public void setGrammarAccess(CftLanguageGrammarAccess grammarAccess) { - this.grammarAccess = grammarAccess; - } - - @Override - protected Grammar getGrammar() { - return grammarAccess.getGrammar(); - } - - @Override - protected String getValueForTokenName(String tokenName) { - return tokenName; - } -} - -// Entry rule entryRuleCftModel -entryRuleCftModel -: -{ before(grammarAccess.getCftModelRule()); } - ruleCftModel -{ after(grammarAccess.getCftModelRule()); } - EOF -; - -// Rule CftModel -ruleCftModel - @init { - int stackSize = keepStackSize(); - } - : - ( - { before(grammarAccess.getCftModelAccess().getGroup()); } - (rule__CftModel__Group__0) - { after(grammarAccess.getCftModelAccess().getGroup()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -// Entry rule entryRuleImportDeclaration -entryRuleImportDeclaration -: -{ before(grammarAccess.getImportDeclarationRule()); } - ruleImportDeclaration -{ after(grammarAccess.getImportDeclarationRule()); } - EOF -; - -// Rule ImportDeclaration -ruleImportDeclaration - @init { - int stackSize = keepStackSize(); - } - : - ( - { before(grammarAccess.getImportDeclarationAccess().getGroup()); } - (rule__ImportDeclaration__Group__0) - { after(grammarAccess.getImportDeclarationAccess().getGroup()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -// Entry rule entryRuleComponentDefinition -entryRuleComponentDefinition -: -{ before(grammarAccess.getComponentDefinitionRule()); } - ruleComponentDefinition -{ after(grammarAccess.getComponentDefinitionRule()); } - EOF -; - -// Rule ComponentDefinition -ruleComponentDefinition - @init { - int stackSize = keepStackSize(); - } - : - ( - { before(grammarAccess.getComponentDefinitionAccess().getGroup()); } - (rule__ComponentDefinition__Group__0) - { after(grammarAccess.getComponentDefinitionAccess().getGroup()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -// Entry rule entryRuleInputEvent -entryRuleInputEvent -: -{ before(grammarAccess.getInputEventRule()); } - ruleInputEvent -{ after(grammarAccess.getInputEventRule()); } - EOF -; - -// Rule InputEvent -ruleInputEvent - @init { - int stackSize = keepStackSize(); - } - : - ( - { before(grammarAccess.getInputEventAccess().getGroup()); } - (rule__InputEvent__Group__0) - { after(grammarAccess.getInputEventAccess().getGroup()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -// Entry rule entryRuleEventDefinition -entryRuleEventDefinition -: -{ before(grammarAccess.getEventDefinitionRule()); } - ruleEventDefinition -{ after(grammarAccess.getEventDefinitionRule()); } - EOF -; - -// Rule EventDefinition -ruleEventDefinition - @init { - int stackSize = keepStackSize(); - } - : - ( - { before(grammarAccess.getEventDefinitionAccess().getAlternatives()); } - (rule__EventDefinition__Alternatives) - { after(grammarAccess.getEventDefinitionAccess().getAlternatives()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -// Entry rule entryRuleBasicEventDefinition -entryRuleBasicEventDefinition -: -{ before(grammarAccess.getBasicEventDefinitionRule()); } - ruleBasicEventDefinition -{ after(grammarAccess.getBasicEventDefinitionRule()); } - EOF -; - -// Rule BasicEventDefinition -ruleBasicEventDefinition - @init { - int stackSize = keepStackSize(); - } - : - ( - { before(grammarAccess.getBasicEventDefinitionAccess().getGroup()); } - (rule__BasicEventDefinition__Group__0) - { after(grammarAccess.getBasicEventDefinitionAccess().getGroup()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -// Entry rule entryRuleDistribution -entryRuleDistribution -: -{ before(grammarAccess.getDistributionRule()); } - ruleDistribution -{ after(grammarAccess.getDistributionRule()); } - EOF -; - -// Rule Distribution -ruleDistribution - @init { - int stackSize = keepStackSize(); - } - : - ( - { before(grammarAccess.getDistributionAccess().getAlternatives()); } - (rule__Distribution__Alternatives) - { after(grammarAccess.getDistributionAccess().getAlternatives()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -// Entry rule entryRuleConstantDistribution -entryRuleConstantDistribution -: -{ before(grammarAccess.getConstantDistributionRule()); } - ruleConstantDistribution -{ after(grammarAccess.getConstantDistributionRule()); } - EOF -; - -// Rule ConstantDistribution -ruleConstantDistribution - @init { - int stackSize = keepStackSize(); - } - : - ( - { before(grammarAccess.getConstantDistributionAccess().getGroup()); } - (rule__ConstantDistribution__Group__0) - { after(grammarAccess.getConstantDistributionAccess().getGroup()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -// Entry rule entryRuleExponentialDistribution -entryRuleExponentialDistribution -: -{ before(grammarAccess.getExponentialDistributionRule()); } - ruleExponentialDistribution -{ after(grammarAccess.getExponentialDistributionRule()); } - EOF -; - -// Rule ExponentialDistribution -ruleExponentialDistribution - @init { - int stackSize = keepStackSize(); - } - : - ( - { before(grammarAccess.getExponentialDistributionAccess().getGroup()); } - (rule__ExponentialDistribution__Group__0) - { after(grammarAccess.getExponentialDistributionAccess().getGroup()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -// Entry rule entryRuleGateDefinition -entryRuleGateDefinition -: -{ before(grammarAccess.getGateDefinitionRule()); } - ruleGateDefinition -{ after(grammarAccess.getGateDefinitionRule()); } - EOF -; - -// Rule GateDefinition -ruleGateDefinition - @init { - int stackSize = keepStackSize(); - } - : - ( - { before(grammarAccess.getGateDefinitionAccess().getAlternatives()); } - (rule__GateDefinition__Alternatives) - { after(grammarAccess.getGateDefinitionAccess().getAlternatives()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -// Entry rule entryRuleAndGateDefinition -entryRuleAndGateDefinition -: -{ before(grammarAccess.getAndGateDefinitionRule()); } - ruleAndGateDefinition -{ after(grammarAccess.getAndGateDefinitionRule()); } - EOF -; - -// Rule AndGateDefinition -ruleAndGateDefinition - @init { - int stackSize = keepStackSize(); - } - : - ( - { before(grammarAccess.getAndGateDefinitionAccess().getGroup()); } - (rule__AndGateDefinition__Group__0) - { after(grammarAccess.getAndGateDefinitionAccess().getGroup()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -// Entry rule entryRuleOrGateDefinition -entryRuleOrGateDefinition -: -{ before(grammarAccess.getOrGateDefinitionRule()); } - ruleOrGateDefinition -{ after(grammarAccess.getOrGateDefinitionRule()); } - EOF -; - -// Rule OrGateDefinition -ruleOrGateDefinition - @init { - int stackSize = keepStackSize(); - } - : - ( - { before(grammarAccess.getOrGateDefinitionAccess().getGroup()); } - (rule__OrGateDefinition__Group__0) - { after(grammarAccess.getOrGateDefinitionAccess().getGroup()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -// Entry rule entryRuleKOfMGateDefinition -entryRuleKOfMGateDefinition -: -{ before(grammarAccess.getKOfMGateDefinitionRule()); } - ruleKOfMGateDefinition -{ after(grammarAccess.getKOfMGateDefinitionRule()); } - EOF -; - -// Rule KOfMGateDefinition -ruleKOfMGateDefinition - @init { - int stackSize = keepStackSize(); - } - : - ( - { before(grammarAccess.getKOfMGateDefinitionAccess().getGroup()); } - (rule__KOfMGateDefinition__Group__0) - { after(grammarAccess.getKOfMGateDefinitionAccess().getGroup()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -// Entry rule entryRuleTransformationDefinition -entryRuleTransformationDefinition -: -{ before(grammarAccess.getTransformationDefinitionRule()); } - ruleTransformationDefinition -{ after(grammarAccess.getTransformationDefinitionRule()); } - EOF -; - -// Rule TransformationDefinition -ruleTransformationDefinition - @init { - int stackSize = keepStackSize(); - } - : - ( - { before(grammarAccess.getTransformationDefinitionAccess().getGroup()); } - (rule__TransformationDefinition__Group__0) - { after(grammarAccess.getTransformationDefinitionAccess().getGroup()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -// Entry rule entryRuleMappingDefinition -entryRuleMappingDefinition -: -{ before(grammarAccess.getMappingDefinitionRule()); } - ruleMappingDefinition -{ after(grammarAccess.getMappingDefinitionRule()); } - EOF -; - -// Rule MappingDefinition -ruleMappingDefinition - @init { - int stackSize = keepStackSize(); - } - : - ( - { before(grammarAccess.getMappingDefinitionAccess().getGroup()); } - (rule__MappingDefinition__Group__0) - { after(grammarAccess.getMappingDefinitionAccess().getGroup()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -// Entry rule entryRuleMappingParameter -entryRuleMappingParameter -: -{ before(grammarAccess.getMappingParameterRule()); } - ruleMappingParameter -{ after(grammarAccess.getMappingParameterRule()); } - EOF -; - -// Rule MappingParameter -ruleMappingParameter - @init { - int stackSize = keepStackSize(); - } - : - ( - { before(grammarAccess.getMappingParameterAccess().getNameAssignment()); } - (rule__MappingParameter__NameAssignment) - { after(grammarAccess.getMappingParameterAccess().getNameAssignment()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -// Entry rule entryRuleLookupDefinition -entryRuleLookupDefinition -: -{ before(grammarAccess.getLookupDefinitionRule()); } - ruleLookupDefinition -{ after(grammarAccess.getLookupDefinitionRule()); } - EOF -; - -// Rule LookupDefinition -ruleLookupDefinition - @init { - int stackSize = keepStackSize(); - } - : - ( - { before(grammarAccess.getLookupDefinitionAccess().getGroup()); } - (rule__LookupDefinition__Group__0) - { after(grammarAccess.getLookupDefinitionAccess().getGroup()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -// Entry rule entryRuleAssignment -entryRuleAssignment -: -{ before(grammarAccess.getAssignmentRule()); } - ruleAssignment -{ after(grammarAccess.getAssignmentRule()); } - EOF -; - -// Rule Assignment -ruleAssignment - @init { - int stackSize = keepStackSize(); - } - : - ( - { before(grammarAccess.getAssignmentAccess().getGroup()); } - (rule__Assignment__Group__0) - { after(grammarAccess.getAssignmentAccess().getGroup()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -// Entry rule entryRuleEventReference -entryRuleEventReference -: -{ before(grammarAccess.getEventReferenceRule()); } - ruleEventReference -{ after(grammarAccess.getEventReferenceRule()); } - EOF -; - -// Rule EventReference -ruleEventReference - @init { - int stackSize = keepStackSize(); - } - : - ( - { before(grammarAccess.getEventReferenceAccess().getGroup()); } - (rule__EventReference__Group__0) - { after(grammarAccess.getEventReferenceAccess().getGroup()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -// Entry rule entryRuleComponentInstance -entryRuleComponentInstance -: -{ before(grammarAccess.getComponentInstanceRule()); } - ruleComponentInstance -{ after(grammarAccess.getComponentInstanceRule()); } - EOF -; - -// Rule ComponentInstance -ruleComponentInstance - @init { - int stackSize = keepStackSize(); - } - : - ( - { before(grammarAccess.getComponentInstanceAccess().getGroup()); } - (rule__ComponentInstance__Group__0) - { after(grammarAccess.getComponentInstanceAccess().getGroup()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -// Entry rule entryRuleQualifiedName -entryRuleQualifiedName -: -{ before(grammarAccess.getQualifiedNameRule()); } - ruleQualifiedName -{ after(grammarAccess.getQualifiedNameRule()); } - EOF -; - -// Rule QualifiedName -ruleQualifiedName - @init { - int stackSize = keepStackSize(); - } - : - ( - { before(grammarAccess.getQualifiedNameAccess().getGroup()); } - (rule__QualifiedName__Group__0) - { after(grammarAccess.getQualifiedNameAccess().getGroup()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -// Entry rule entryRuleQualifiedNameWithWildcard -entryRuleQualifiedNameWithWildcard -: -{ before(grammarAccess.getQualifiedNameWithWildcardRule()); } - ruleQualifiedNameWithWildcard -{ after(grammarAccess.getQualifiedNameWithWildcardRule()); } - EOF -; - -// Rule QualifiedNameWithWildcard -ruleQualifiedNameWithWildcard - @init { - int stackSize = keepStackSize(); - } - : - ( - { before(grammarAccess.getQualifiedNameWithWildcardAccess().getGroup()); } - (rule__QualifiedNameWithWildcard__Group__0) - { after(grammarAccess.getQualifiedNameWithWildcardAccess().getGroup()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -// Entry rule entryRuleValidId -entryRuleValidId -: -{ before(grammarAccess.getValidIdRule()); } - ruleValidId -{ after(grammarAccess.getValidIdRule()); } - EOF -; - -// Rule ValidId -ruleValidId - @init { - int stackSize = keepStackSize(); - } - : - ( - { before(grammarAccess.getValidIdAccess().getAlternatives()); } - (rule__ValidId__Alternatives) - { after(grammarAccess.getValidIdAccess().getAlternatives()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -// Entry rule entryRuleDouble -entryRuleDouble -: -{ before(grammarAccess.getDoubleRule()); } - ruleDouble -{ after(grammarAccess.getDoubleRule()); } - EOF -; - -// Rule Double -ruleDouble - @init { - int stackSize = keepStackSize(); - } - : - ( - { before(grammarAccess.getDoubleAccess().getAlternatives()); } - (rule__Double__Alternatives) - { after(grammarAccess.getDoubleAccess().getAlternatives()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__CftModel__Alternatives_4 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getCftModelAccess().getComponentDefinitionsAssignment_4_0()); } - (rule__CftModel__ComponentDefinitionsAssignment_4_0) - { after(grammarAccess.getCftModelAccess().getComponentDefinitionsAssignment_4_0()); } - ) - | - ( - { before(grammarAccess.getCftModelAccess().getTransformationDefinitionsAssignment_4_1()); } - (rule__CftModel__TransformationDefinitionsAssignment_4_1) - { after(grammarAccess.getCftModelAccess().getTransformationDefinitionsAssignment_4_1()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__EventDefinition__Alternatives - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getEventDefinitionAccess().getBasicEventDefinitionParserRuleCall_0()); } - ruleBasicEventDefinition - { after(grammarAccess.getEventDefinitionAccess().getBasicEventDefinitionParserRuleCall_0()); } - ) - | - ( - { before(grammarAccess.getEventDefinitionAccess().getGateDefinitionParserRuleCall_1()); } - ruleGateDefinition - { after(grammarAccess.getEventDefinitionAccess().getGateDefinitionParserRuleCall_1()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__Distribution__Alternatives - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getDistributionAccess().getConstantDistributionParserRuleCall_0()); } - ruleConstantDistribution - { after(grammarAccess.getDistributionAccess().getConstantDistributionParserRuleCall_0()); } - ) - | - ( - { before(grammarAccess.getDistributionAccess().getExponentialDistributionParserRuleCall_1()); } - ruleExponentialDistribution - { after(grammarAccess.getDistributionAccess().getExponentialDistributionParserRuleCall_1()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__GateDefinition__Alternatives - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getGateDefinitionAccess().getAndGateDefinitionParserRuleCall_0()); } - ruleAndGateDefinition - { after(grammarAccess.getGateDefinitionAccess().getAndGateDefinitionParserRuleCall_0()); } - ) - | - ( - { before(grammarAccess.getGateDefinitionAccess().getOrGateDefinitionParserRuleCall_1()); } - ruleOrGateDefinition - { after(grammarAccess.getGateDefinitionAccess().getOrGateDefinitionParserRuleCall_1()); } - ) - | - ( - { before(grammarAccess.getGateDefinitionAccess().getKOfMGateDefinitionParserRuleCall_2()); } - ruleKOfMGateDefinition - { after(grammarAccess.getGateDefinitionAccess().getKOfMGateDefinitionParserRuleCall_2()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__KOfMGateDefinition__Alternatives_2 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getKOfMGateDefinitionAccess().getGroup_2_0()); } - (rule__KOfMGateDefinition__Group_2_0__0) - { after(grammarAccess.getKOfMGateDefinitionAccess().getGroup_2_0()); } - ) - | - ( - { before(grammarAccess.getKOfMGateDefinitionAccess().getMAssignment_2_1()); } - (rule__KOfMGateDefinition__MAssignment_2_1) - { after(grammarAccess.getKOfMGateDefinitionAccess().getMAssignment_2_1()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__MappingDefinition__Alternatives_8_1_0 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getMappingDefinitionAccess().getLookupDefinitionsAssignment_8_1_0_0()); } - (rule__MappingDefinition__LookupDefinitionsAssignment_8_1_0_0) - { after(grammarAccess.getMappingDefinitionAccess().getLookupDefinitionsAssignment_8_1_0_0()); } - ) - | - ( - { before(grammarAccess.getMappingDefinitionAccess().getAssignmentsAssignment_8_1_0_1()); } - (rule__MappingDefinition__AssignmentsAssignment_8_1_0_1) - { after(grammarAccess.getMappingDefinitionAccess().getAssignmentsAssignment_8_1_0_1()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__Assignment__Alternatives_1 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getAssignmentAccess().getMultipleAssignment_1_0()); } - (rule__Assignment__MultipleAssignment_1_0) - { after(grammarAccess.getAssignmentAccess().getMultipleAssignment_1_0()); } - ) - | - ( - { before(grammarAccess.getAssignmentAccess().getColonEqualsSignKeyword_1_1()); } - ':=' - { after(grammarAccess.getAssignmentAccess().getColonEqualsSignKeyword_1_1()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__ValidId__Alternatives - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getValidIdAccess().getIDTerminalRuleCall_0()); } - RULE_ID - { after(grammarAccess.getValidIdAccess().getIDTerminalRuleCall_0()); } - ) - | - ( - { before(grammarAccess.getValidIdAccess().getOF_INTTerminalRuleCall_1()); } - RULE_OF_INT - { after(grammarAccess.getValidIdAccess().getOF_INTTerminalRuleCall_1()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__Double__Alternatives - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getDoubleAccess().getINTTerminalRuleCall_0()); } - RULE_INT - { after(grammarAccess.getDoubleAccess().getINTTerminalRuleCall_0()); } - ) - | - ( - { before(grammarAccess.getDoubleAccess().getT_DOUBLETerminalRuleCall_1()); } - RULE_T_DOUBLE - { after(grammarAccess.getDoubleAccess().getT_DOUBLETerminalRuleCall_1()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__CftModel__Group__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__CftModel__Group__0__Impl - rule__CftModel__Group__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__CftModel__Group__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getCftModelAccess().getPackageKeyword_0()); } - 'package' - { after(grammarAccess.getCftModelAccess().getPackageKeyword_0()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__CftModel__Group__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__CftModel__Group__1__Impl - rule__CftModel__Group__2 -; -finally { - restoreStackSize(stackSize); -} - -rule__CftModel__Group__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getCftModelAccess().getPackageNameAssignment_1()); } - (rule__CftModel__PackageNameAssignment_1) - { after(grammarAccess.getCftModelAccess().getPackageNameAssignment_1()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__CftModel__Group__2 - @init { - int stackSize = keepStackSize(); - } -: - rule__CftModel__Group__2__Impl - rule__CftModel__Group__3 -; -finally { - restoreStackSize(stackSize); -} - -rule__CftModel__Group__2__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getCftModelAccess().getSemicolonKeyword_2()); } - (';')? - { after(grammarAccess.getCftModelAccess().getSemicolonKeyword_2()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__CftModel__Group__3 - @init { - int stackSize = keepStackSize(); - } -: - rule__CftModel__Group__3__Impl - rule__CftModel__Group__4 -; -finally { - restoreStackSize(stackSize); -} - -rule__CftModel__Group__3__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getCftModelAccess().getImportsAssignment_3()); } - (rule__CftModel__ImportsAssignment_3)* - { after(grammarAccess.getCftModelAccess().getImportsAssignment_3()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__CftModel__Group__4 - @init { - int stackSize = keepStackSize(); - } -: - rule__CftModel__Group__4__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__CftModel__Group__4__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getCftModelAccess().getAlternatives_4()); } - (rule__CftModel__Alternatives_4)* - { after(grammarAccess.getCftModelAccess().getAlternatives_4()); } -) -; -finally { - restoreStackSize(stackSize); -} - - -rule__ImportDeclaration__Group__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__ImportDeclaration__Group__0__Impl - rule__ImportDeclaration__Group__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__ImportDeclaration__Group__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getImportDeclarationAccess().getImportKeyword_0()); } - 'import' - { after(grammarAccess.getImportDeclarationAccess().getImportKeyword_0()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__ImportDeclaration__Group__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__ImportDeclaration__Group__1__Impl - rule__ImportDeclaration__Group__2 -; -finally { - restoreStackSize(stackSize); -} - -rule__ImportDeclaration__Group__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getImportDeclarationAccess().getImportedNamespaceAssignment_1()); } - (rule__ImportDeclaration__ImportedNamespaceAssignment_1) - { after(grammarAccess.getImportDeclarationAccess().getImportedNamespaceAssignment_1()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__ImportDeclaration__Group__2 - @init { - int stackSize = keepStackSize(); - } -: - rule__ImportDeclaration__Group__2__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__ImportDeclaration__Group__2__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getImportDeclarationAccess().getSemicolonKeyword_2()); } - (';')? - { after(grammarAccess.getImportDeclarationAccess().getSemicolonKeyword_2()); } -) -; -finally { - restoreStackSize(stackSize); -} - - -rule__ComponentDefinition__Group__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__ComponentDefinition__Group__0__Impl - rule__ComponentDefinition__Group__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__ComponentDefinition__Group__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getComponentDefinitionAccess().getCftKeyword_0()); } - 'cft' - { after(grammarAccess.getComponentDefinitionAccess().getCftKeyword_0()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__ComponentDefinition__Group__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__ComponentDefinition__Group__1__Impl - rule__ComponentDefinition__Group__2 -; -finally { - restoreStackSize(stackSize); -} - -rule__ComponentDefinition__Group__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getComponentDefinitionAccess().getNameAssignment_1()); } - (rule__ComponentDefinition__NameAssignment_1) - { after(grammarAccess.getComponentDefinitionAccess().getNameAssignment_1()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__ComponentDefinition__Group__2 - @init { - int stackSize = keepStackSize(); - } -: - rule__ComponentDefinition__Group__2__Impl - rule__ComponentDefinition__Group__3 -; -finally { - restoreStackSize(stackSize); -} - -rule__ComponentDefinition__Group__2__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getComponentDefinitionAccess().getLeftCurlyBracketKeyword_2()); } - '{' - { after(grammarAccess.getComponentDefinitionAccess().getLeftCurlyBracketKeyword_2()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__ComponentDefinition__Group__3 - @init { - int stackSize = keepStackSize(); - } -: - rule__ComponentDefinition__Group__3__Impl - rule__ComponentDefinition__Group__4 -; -finally { - restoreStackSize(stackSize); -} - -rule__ComponentDefinition__Group__3__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getComponentDefinitionAccess().getUnorderedGroup_3()); } - (rule__ComponentDefinition__UnorderedGroup_3) - { after(grammarAccess.getComponentDefinitionAccess().getUnorderedGroup_3()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__ComponentDefinition__Group__4 - @init { - int stackSize = keepStackSize(); - } -: - rule__ComponentDefinition__Group__4__Impl - rule__ComponentDefinition__Group__5 -; -finally { - restoreStackSize(stackSize); -} - -rule__ComponentDefinition__Group__4__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getComponentDefinitionAccess().getGroup_4()); } - (rule__ComponentDefinition__Group_4__0)* - { after(grammarAccess.getComponentDefinitionAccess().getGroup_4()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__ComponentDefinition__Group__5 - @init { - int stackSize = keepStackSize(); - } -: - rule__ComponentDefinition__Group__5__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__ComponentDefinition__Group__5__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getComponentDefinitionAccess().getRightCurlyBracketKeyword_5()); } - '}' - { after(grammarAccess.getComponentDefinitionAccess().getRightCurlyBracketKeyword_5()); } -) -; -finally { - restoreStackSize(stackSize); -} - - -rule__ComponentDefinition__Group_3_0__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__ComponentDefinition__Group_3_0__0__Impl - rule__ComponentDefinition__Group_3_0__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__ComponentDefinition__Group_3_0__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getComponentDefinitionAccess().getInKeyword_3_0_0()); } - 'in' - { after(grammarAccess.getComponentDefinitionAccess().getInKeyword_3_0_0()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__ComponentDefinition__Group_3_0__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__ComponentDefinition__Group_3_0__1__Impl - rule__ComponentDefinition__Group_3_0__2 -; -finally { - restoreStackSize(stackSize); -} - -rule__ComponentDefinition__Group_3_0__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getComponentDefinitionAccess().getInputEventsAssignment_3_0_1()); } - (rule__ComponentDefinition__InputEventsAssignment_3_0_1)* - { after(grammarAccess.getComponentDefinitionAccess().getInputEventsAssignment_3_0_1()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__ComponentDefinition__Group_3_0__2 - @init { - int stackSize = keepStackSize(); - } -: - rule__ComponentDefinition__Group_3_0__2__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__ComponentDefinition__Group_3_0__2__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_3_0_2()); } - ';' - { after(grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_3_0_2()); } -) -; -finally { - restoreStackSize(stackSize); -} - - -rule__ComponentDefinition__Group_3_1__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__ComponentDefinition__Group_3_1__0__Impl - rule__ComponentDefinition__Group_3_1__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__ComponentDefinition__Group_3_1__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getComponentDefinitionAccess().getOutKeyword_3_1_0()); } - 'out' - { after(grammarAccess.getComponentDefinitionAccess().getOutKeyword_3_1_0()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__ComponentDefinition__Group_3_1__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__ComponentDefinition__Group_3_1__1__Impl - rule__ComponentDefinition__Group_3_1__2 -; -finally { - restoreStackSize(stackSize); -} - -rule__ComponentDefinition__Group_3_1__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getComponentDefinitionAccess().getOutputEventsAssignment_3_1_1()); } - (rule__ComponentDefinition__OutputEventsAssignment_3_1_1)* - { after(grammarAccess.getComponentDefinitionAccess().getOutputEventsAssignment_3_1_1()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__ComponentDefinition__Group_3_1__2 - @init { - int stackSize = keepStackSize(); - } -: - rule__ComponentDefinition__Group_3_1__2__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__ComponentDefinition__Group_3_1__2__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_3_1_2()); } - ';' - { after(grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_3_1_2()); } -) -; -finally { - restoreStackSize(stackSize); -} - - -rule__ComponentDefinition__Group_4__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__ComponentDefinition__Group_4__0__Impl - rule__ComponentDefinition__Group_4__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__ComponentDefinition__Group_4__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getComponentDefinitionAccess().getEventDefinitionsAssignment_4_0()); } - (rule__ComponentDefinition__EventDefinitionsAssignment_4_0) - { after(grammarAccess.getComponentDefinitionAccess().getEventDefinitionsAssignment_4_0()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__ComponentDefinition__Group_4__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__ComponentDefinition__Group_4__1__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__ComponentDefinition__Group_4__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_4_1()); } - ';' - { after(grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_4_1()); } -) -; -finally { - restoreStackSize(stackSize); -} - - -rule__InputEvent__Group__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__InputEvent__Group__0__Impl - rule__InputEvent__Group__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__InputEvent__Group__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getInputEventAccess().getNameAssignment_0()); } - (rule__InputEvent__NameAssignment_0) - { after(grammarAccess.getInputEventAccess().getNameAssignment_0()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__InputEvent__Group__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__InputEvent__Group__1__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__InputEvent__Group__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getInputEventAccess().getMultipleAssignment_1()); } - (rule__InputEvent__MultipleAssignment_1)? - { after(grammarAccess.getInputEventAccess().getMultipleAssignment_1()); } -) -; -finally { - restoreStackSize(stackSize); -} - - -rule__BasicEventDefinition__Group__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__BasicEventDefinition__Group__0__Impl - rule__BasicEventDefinition__Group__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__BasicEventDefinition__Group__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getBasicEventDefinitionAccess().getNameAssignment_0()); } - (rule__BasicEventDefinition__NameAssignment_0) - { after(grammarAccess.getBasicEventDefinitionAccess().getNameAssignment_0()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__BasicEventDefinition__Group__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__BasicEventDefinition__Group__1__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__BasicEventDefinition__Group__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getBasicEventDefinitionAccess().getDistributionAssignment_1()); } - (rule__BasicEventDefinition__DistributionAssignment_1) - { after(grammarAccess.getBasicEventDefinitionAccess().getDistributionAssignment_1()); } -) -; -finally { - restoreStackSize(stackSize); -} - - -rule__ConstantDistribution__Group__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__ConstantDistribution__Group__0__Impl - rule__ConstantDistribution__Group__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__ConstantDistribution__Group__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getConstantDistributionAccess().getProbKeyword_0()); } - 'prob' - { after(grammarAccess.getConstantDistributionAccess().getProbKeyword_0()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__ConstantDistribution__Group__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__ConstantDistribution__Group__1__Impl - rule__ConstantDistribution__Group__2 -; -finally { - restoreStackSize(stackSize); -} - -rule__ConstantDistribution__Group__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getConstantDistributionAccess().getEqualsSignKeyword_1()); } - '=' - { after(grammarAccess.getConstantDistributionAccess().getEqualsSignKeyword_1()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__ConstantDistribution__Group__2 - @init { - int stackSize = keepStackSize(); - } -: - rule__ConstantDistribution__Group__2__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__ConstantDistribution__Group__2__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getConstantDistributionAccess().getPAssignment_2()); } - (rule__ConstantDistribution__PAssignment_2) - { after(grammarAccess.getConstantDistributionAccess().getPAssignment_2()); } -) -; -finally { - restoreStackSize(stackSize); -} - - -rule__ExponentialDistribution__Group__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__ExponentialDistribution__Group__0__Impl - rule__ExponentialDistribution__Group__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__ExponentialDistribution__Group__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getExponentialDistributionAccess().getLambdaKeyword_0()); } - 'lambda' - { after(grammarAccess.getExponentialDistributionAccess().getLambdaKeyword_0()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__ExponentialDistribution__Group__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__ExponentialDistribution__Group__1__Impl - rule__ExponentialDistribution__Group__2 -; -finally { - restoreStackSize(stackSize); -} - -rule__ExponentialDistribution__Group__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getExponentialDistributionAccess().getEqualsSignKeyword_1()); } - '=' - { after(grammarAccess.getExponentialDistributionAccess().getEqualsSignKeyword_1()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__ExponentialDistribution__Group__2 - @init { - int stackSize = keepStackSize(); - } -: - rule__ExponentialDistribution__Group__2__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__ExponentialDistribution__Group__2__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getExponentialDistributionAccess().getLambdaAssignment_2()); } - (rule__ExponentialDistribution__LambdaAssignment_2) - { after(grammarAccess.getExponentialDistributionAccess().getLambdaAssignment_2()); } -) -; -finally { - restoreStackSize(stackSize); -} - - -rule__AndGateDefinition__Group__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__AndGateDefinition__Group__0__Impl - rule__AndGateDefinition__Group__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__AndGateDefinition__Group__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getAndGateDefinitionAccess().getNameAssignment_0()); } - (rule__AndGateDefinition__NameAssignment_0) - { after(grammarAccess.getAndGateDefinitionAccess().getNameAssignment_0()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__AndGateDefinition__Group__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__AndGateDefinition__Group__1__Impl - rule__AndGateDefinition__Group__2 -; -finally { - restoreStackSize(stackSize); -} - -rule__AndGateDefinition__Group__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getAndGateDefinitionAccess().getAndKeyword_1()); } - 'and' - { after(grammarAccess.getAndGateDefinitionAccess().getAndKeyword_1()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__AndGateDefinition__Group__2 - @init { - int stackSize = keepStackSize(); - } -: - rule__AndGateDefinition__Group__2__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__AndGateDefinition__Group__2__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getAndGateDefinitionAccess().getInputEventsAssignment_2()); } - (rule__AndGateDefinition__InputEventsAssignment_2)* - { after(grammarAccess.getAndGateDefinitionAccess().getInputEventsAssignment_2()); } -) -; -finally { - restoreStackSize(stackSize); -} - - -rule__OrGateDefinition__Group__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__OrGateDefinition__Group__0__Impl - rule__OrGateDefinition__Group__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__OrGateDefinition__Group__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getOrGateDefinitionAccess().getNameAssignment_0()); } - (rule__OrGateDefinition__NameAssignment_0) - { after(grammarAccess.getOrGateDefinitionAccess().getNameAssignment_0()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__OrGateDefinition__Group__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__OrGateDefinition__Group__1__Impl - rule__OrGateDefinition__Group__2 -; -finally { - restoreStackSize(stackSize); -} - -rule__OrGateDefinition__Group__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getOrGateDefinitionAccess().getOrKeyword_1()); } - 'or' - { after(grammarAccess.getOrGateDefinitionAccess().getOrKeyword_1()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__OrGateDefinition__Group__2 - @init { - int stackSize = keepStackSize(); - } -: - rule__OrGateDefinition__Group__2__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__OrGateDefinition__Group__2__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getOrGateDefinitionAccess().getInputEventsAssignment_2()); } - (rule__OrGateDefinition__InputEventsAssignment_2)* - { after(grammarAccess.getOrGateDefinitionAccess().getInputEventsAssignment_2()); } -) -; -finally { - restoreStackSize(stackSize); -} - - -rule__KOfMGateDefinition__Group__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__KOfMGateDefinition__Group__0__Impl - rule__KOfMGateDefinition__Group__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__KOfMGateDefinition__Group__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getKOfMGateDefinitionAccess().getNameAssignment_0()); } - (rule__KOfMGateDefinition__NameAssignment_0) - { after(grammarAccess.getKOfMGateDefinitionAccess().getNameAssignment_0()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__KOfMGateDefinition__Group__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__KOfMGateDefinition__Group__1__Impl - rule__KOfMGateDefinition__Group__2 -; -finally { - restoreStackSize(stackSize); -} - -rule__KOfMGateDefinition__Group__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getKOfMGateDefinitionAccess().getKAssignment_1()); } - (rule__KOfMGateDefinition__KAssignment_1) - { after(grammarAccess.getKOfMGateDefinitionAccess().getKAssignment_1()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__KOfMGateDefinition__Group__2 - @init { - int stackSize = keepStackSize(); - } -: - rule__KOfMGateDefinition__Group__2__Impl - rule__KOfMGateDefinition__Group__3 -; -finally { - restoreStackSize(stackSize); -} - -rule__KOfMGateDefinition__Group__2__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getKOfMGateDefinitionAccess().getAlternatives_2()); } - (rule__KOfMGateDefinition__Alternatives_2) - { after(grammarAccess.getKOfMGateDefinitionAccess().getAlternatives_2()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__KOfMGateDefinition__Group__3 - @init { - int stackSize = keepStackSize(); - } -: - rule__KOfMGateDefinition__Group__3__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__KOfMGateDefinition__Group__3__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getKOfMGateDefinitionAccess().getInputEventsAssignment_3()); } - (rule__KOfMGateDefinition__InputEventsAssignment_3)* - { after(grammarAccess.getKOfMGateDefinitionAccess().getInputEventsAssignment_3()); } -) -; -finally { - restoreStackSize(stackSize); -} - - -rule__KOfMGateDefinition__Group_2_0__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__KOfMGateDefinition__Group_2_0__0__Impl - rule__KOfMGateDefinition__Group_2_0__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__KOfMGateDefinition__Group_2_0__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getKOfMGateDefinitionAccess().getOfKeyword_2_0_0()); } - 'of' - { after(grammarAccess.getKOfMGateDefinitionAccess().getOfKeyword_2_0_0()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__KOfMGateDefinition__Group_2_0__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__KOfMGateDefinition__Group_2_0__1__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__KOfMGateDefinition__Group_2_0__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getKOfMGateDefinitionAccess().getMAssignment_2_0_1()); } - (rule__KOfMGateDefinition__MAssignment_2_0_1) - { after(grammarAccess.getKOfMGateDefinitionAccess().getMAssignment_2_0_1()); } -) -; -finally { - restoreStackSize(stackSize); -} - - -rule__TransformationDefinition__Group__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__TransformationDefinition__Group__0__Impl - rule__TransformationDefinition__Group__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__TransformationDefinition__Group__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getTransformationDefinitionAccess().getTransformationKeyword_0()); } - 'transformation' - { after(grammarAccess.getTransformationDefinitionAccess().getTransformationKeyword_0()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__TransformationDefinition__Group__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__TransformationDefinition__Group__1__Impl - rule__TransformationDefinition__Group__2 -; -finally { - restoreStackSize(stackSize); -} - -rule__TransformationDefinition__Group__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getTransformationDefinitionAccess().getNameAssignment_1()); } - (rule__TransformationDefinition__NameAssignment_1) - { after(grammarAccess.getTransformationDefinitionAccess().getNameAssignment_1()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__TransformationDefinition__Group__2 - @init { - int stackSize = keepStackSize(); - } -: - rule__TransformationDefinition__Group__2__Impl - rule__TransformationDefinition__Group__3 -; -finally { - restoreStackSize(stackSize); -} - -rule__TransformationDefinition__Group__2__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getTransformationDefinitionAccess().getLeftCurlyBracketKeyword_2()); } - '{' - { after(grammarAccess.getTransformationDefinitionAccess().getLeftCurlyBracketKeyword_2()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__TransformationDefinition__Group__3 - @init { - int stackSize = keepStackSize(); - } -: - rule__TransformationDefinition__Group__3__Impl - rule__TransformationDefinition__Group__4 -; -finally { - restoreStackSize(stackSize); -} - -rule__TransformationDefinition__Group__3__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getTransformationDefinitionAccess().getMappingDefinitionsAssignment_3()); } - (rule__TransformationDefinition__MappingDefinitionsAssignment_3)* - { after(grammarAccess.getTransformationDefinitionAccess().getMappingDefinitionsAssignment_3()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__TransformationDefinition__Group__4 - @init { - int stackSize = keepStackSize(); - } -: - rule__TransformationDefinition__Group__4__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__TransformationDefinition__Group__4__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getTransformationDefinitionAccess().getRightCurlyBracketKeyword_4()); } - '}' - { after(grammarAccess.getTransformationDefinitionAccess().getRightCurlyBracketKeyword_4()); } -) -; -finally { - restoreStackSize(stackSize); -} - - -rule__MappingDefinition__Group__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__MappingDefinition__Group__0__Impl - rule__MappingDefinition__Group__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__MappingDefinition__Group__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getMappingDefinitionAccess().getTopLevelAssignment_0()); } - (rule__MappingDefinition__TopLevelAssignment_0)? - { after(grammarAccess.getMappingDefinitionAccess().getTopLevelAssignment_0()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__MappingDefinition__Group__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__MappingDefinition__Group__1__Impl - rule__MappingDefinition__Group__2 -; -finally { - restoreStackSize(stackSize); -} - -rule__MappingDefinition__Group__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getMappingDefinitionAccess().getMappingKeyword_1()); } - 'mapping' - { after(grammarAccess.getMappingDefinitionAccess().getMappingKeyword_1()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__MappingDefinition__Group__2 - @init { - int stackSize = keepStackSize(); - } -: - rule__MappingDefinition__Group__2__Impl - rule__MappingDefinition__Group__3 -; -finally { - restoreStackSize(stackSize); -} - -rule__MappingDefinition__Group__2__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getMappingDefinitionAccess().getPatternAssignment_2()); } - (rule__MappingDefinition__PatternAssignment_2) - { after(grammarAccess.getMappingDefinitionAccess().getPatternAssignment_2()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__MappingDefinition__Group__3 - @init { - int stackSize = keepStackSize(); - } -: - rule__MappingDefinition__Group__3__Impl - rule__MappingDefinition__Group__4 -; -finally { - restoreStackSize(stackSize); -} - -rule__MappingDefinition__Group__3__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getMappingDefinitionAccess().getLeftParenthesisKeyword_3()); } - '(' - { after(grammarAccess.getMappingDefinitionAccess().getLeftParenthesisKeyword_3()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__MappingDefinition__Group__4 - @init { - int stackSize = keepStackSize(); - } -: - rule__MappingDefinition__Group__4__Impl - rule__MappingDefinition__Group__5 -; -finally { - restoreStackSize(stackSize); -} - -rule__MappingDefinition__Group__4__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getMappingDefinitionAccess().getParametersAssignment_4()); } - (rule__MappingDefinition__ParametersAssignment_4) - { after(grammarAccess.getMappingDefinitionAccess().getParametersAssignment_4()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__MappingDefinition__Group__5 - @init { - int stackSize = keepStackSize(); - } -: - rule__MappingDefinition__Group__5__Impl - rule__MappingDefinition__Group__6 -; -finally { - restoreStackSize(stackSize); -} - -rule__MappingDefinition__Group__5__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getMappingDefinitionAccess().getGroup_5()); } - (rule__MappingDefinition__Group_5__0)* - { after(grammarAccess.getMappingDefinitionAccess().getGroup_5()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__MappingDefinition__Group__6 - @init { - int stackSize = keepStackSize(); - } -: - rule__MappingDefinition__Group__6__Impl - rule__MappingDefinition__Group__7 -; -finally { - restoreStackSize(stackSize); -} - -rule__MappingDefinition__Group__6__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getMappingDefinitionAccess().getRightParenthesisKeyword_6()); } - ')' - { after(grammarAccess.getMappingDefinitionAccess().getRightParenthesisKeyword_6()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__MappingDefinition__Group__7 - @init { - int stackSize = keepStackSize(); - } -: - rule__MappingDefinition__Group__7__Impl - rule__MappingDefinition__Group__8 -; -finally { - restoreStackSize(stackSize); -} - -rule__MappingDefinition__Group__7__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getMappingDefinitionAccess().getComponentInstanceAssignment_7()); } - (rule__MappingDefinition__ComponentInstanceAssignment_7)? - { after(grammarAccess.getMappingDefinitionAccess().getComponentInstanceAssignment_7()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__MappingDefinition__Group__8 - @init { - int stackSize = keepStackSize(); - } -: - rule__MappingDefinition__Group__8__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__MappingDefinition__Group__8__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getMappingDefinitionAccess().getGroup_8()); } - (rule__MappingDefinition__Group_8__0)? - { after(grammarAccess.getMappingDefinitionAccess().getGroup_8()); } -) -; -finally { - restoreStackSize(stackSize); -} - - -rule__MappingDefinition__Group_5__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__MappingDefinition__Group_5__0__Impl - rule__MappingDefinition__Group_5__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__MappingDefinition__Group_5__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getMappingDefinitionAccess().getCommaKeyword_5_0()); } - ',' - { after(grammarAccess.getMappingDefinitionAccess().getCommaKeyword_5_0()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__MappingDefinition__Group_5__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__MappingDefinition__Group_5__1__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__MappingDefinition__Group_5__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getMappingDefinitionAccess().getParametersAssignment_5_1()); } - (rule__MappingDefinition__ParametersAssignment_5_1) - { after(grammarAccess.getMappingDefinitionAccess().getParametersAssignment_5_1()); } -) -; -finally { - restoreStackSize(stackSize); -} - - -rule__MappingDefinition__Group_8__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__MappingDefinition__Group_8__0__Impl - rule__MappingDefinition__Group_8__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__MappingDefinition__Group_8__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getMappingDefinitionAccess().getLeftCurlyBracketKeyword_8_0()); } - '{' - { after(grammarAccess.getMappingDefinitionAccess().getLeftCurlyBracketKeyword_8_0()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__MappingDefinition__Group_8__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__MappingDefinition__Group_8__1__Impl - rule__MappingDefinition__Group_8__2 -; -finally { - restoreStackSize(stackSize); -} - -rule__MappingDefinition__Group_8__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getMappingDefinitionAccess().getGroup_8_1()); } - (rule__MappingDefinition__Group_8_1__0)* - { after(grammarAccess.getMappingDefinitionAccess().getGroup_8_1()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__MappingDefinition__Group_8__2 - @init { - int stackSize = keepStackSize(); - } -: - rule__MappingDefinition__Group_8__2__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__MappingDefinition__Group_8__2__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getMappingDefinitionAccess().getRightCurlyBracketKeyword_8_2()); } - '}' - { after(grammarAccess.getMappingDefinitionAccess().getRightCurlyBracketKeyword_8_2()); } -) -; -finally { - restoreStackSize(stackSize); -} - - -rule__MappingDefinition__Group_8_1__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__MappingDefinition__Group_8_1__0__Impl - rule__MappingDefinition__Group_8_1__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__MappingDefinition__Group_8_1__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getMappingDefinitionAccess().getAlternatives_8_1_0()); } - (rule__MappingDefinition__Alternatives_8_1_0) - { after(grammarAccess.getMappingDefinitionAccess().getAlternatives_8_1_0()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__MappingDefinition__Group_8_1__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__MappingDefinition__Group_8_1__1__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__MappingDefinition__Group_8_1__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getMappingDefinitionAccess().getSemicolonKeyword_8_1_1()); } - ';' - { after(grammarAccess.getMappingDefinitionAccess().getSemicolonKeyword_8_1_1()); } -) -; -finally { - restoreStackSize(stackSize); -} - - -rule__LookupDefinition__Group__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__LookupDefinition__Group__0__Impl - rule__LookupDefinition__Group__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__LookupDefinition__Group__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getLookupDefinitionAccess().getLookupKeyword_0()); } - 'lookup' - { after(grammarAccess.getLookupDefinitionAccess().getLookupKeyword_0()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__LookupDefinition__Group__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__LookupDefinition__Group__1__Impl - rule__LookupDefinition__Group__2 -; -finally { - restoreStackSize(stackSize); -} - -rule__LookupDefinition__Group__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getLookupDefinitionAccess().getMappingAssignment_1()); } - (rule__LookupDefinition__MappingAssignment_1) - { after(grammarAccess.getLookupDefinitionAccess().getMappingAssignment_1()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__LookupDefinition__Group__2 - @init { - int stackSize = keepStackSize(); - } -: - rule__LookupDefinition__Group__2__Impl - rule__LookupDefinition__Group__3 -; -finally { - restoreStackSize(stackSize); -} - -rule__LookupDefinition__Group__2__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getLookupDefinitionAccess().getLeftParenthesisKeyword_2()); } - '(' - { after(grammarAccess.getLookupDefinitionAccess().getLeftParenthesisKeyword_2()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__LookupDefinition__Group__3 - @init { - int stackSize = keepStackSize(); - } -: - rule__LookupDefinition__Group__3__Impl - rule__LookupDefinition__Group__4 -; -finally { - restoreStackSize(stackSize); -} - -rule__LookupDefinition__Group__3__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getLookupDefinitionAccess().getArgumentsAssignment_3()); } - (rule__LookupDefinition__ArgumentsAssignment_3) - { after(grammarAccess.getLookupDefinitionAccess().getArgumentsAssignment_3()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__LookupDefinition__Group__4 - @init { - int stackSize = keepStackSize(); - } -: - rule__LookupDefinition__Group__4__Impl - rule__LookupDefinition__Group__5 -; -finally { - restoreStackSize(stackSize); -} - -rule__LookupDefinition__Group__4__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getLookupDefinitionAccess().getGroup_4()); } - (rule__LookupDefinition__Group_4__0)* - { after(grammarAccess.getLookupDefinitionAccess().getGroup_4()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__LookupDefinition__Group__5 - @init { - int stackSize = keepStackSize(); - } -: - rule__LookupDefinition__Group__5__Impl - rule__LookupDefinition__Group__6 -; -finally { - restoreStackSize(stackSize); -} - -rule__LookupDefinition__Group__5__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getLookupDefinitionAccess().getRightParenthesisKeyword_5()); } - ')' - { after(grammarAccess.getLookupDefinitionAccess().getRightParenthesisKeyword_5()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__LookupDefinition__Group__6 - @init { - int stackSize = keepStackSize(); - } -: - rule__LookupDefinition__Group__6__Impl - rule__LookupDefinition__Group__7 -; -finally { - restoreStackSize(stackSize); -} - -rule__LookupDefinition__Group__6__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getLookupDefinitionAccess().getAsKeyword_6()); } - 'as' - { after(grammarAccess.getLookupDefinitionAccess().getAsKeyword_6()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__LookupDefinition__Group__7 - @init { - int stackSize = keepStackSize(); - } -: - rule__LookupDefinition__Group__7__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__LookupDefinition__Group__7__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getLookupDefinitionAccess().getNameAssignment_7()); } - (rule__LookupDefinition__NameAssignment_7) - { after(grammarAccess.getLookupDefinitionAccess().getNameAssignment_7()); } -) -; -finally { - restoreStackSize(stackSize); -} - - -rule__LookupDefinition__Group_4__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__LookupDefinition__Group_4__0__Impl - rule__LookupDefinition__Group_4__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__LookupDefinition__Group_4__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getLookupDefinitionAccess().getCommaKeyword_4_0()); } - ',' - { after(grammarAccess.getLookupDefinitionAccess().getCommaKeyword_4_0()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__LookupDefinition__Group_4__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__LookupDefinition__Group_4__1__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__LookupDefinition__Group_4__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getLookupDefinitionAccess().getArgumentsAssignment_4_1()); } - (rule__LookupDefinition__ArgumentsAssignment_4_1) - { after(grammarAccess.getLookupDefinitionAccess().getArgumentsAssignment_4_1()); } -) -; -finally { - restoreStackSize(stackSize); -} - - -rule__Assignment__Group__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__Assignment__Group__0__Impl - rule__Assignment__Group__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__Assignment__Group__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getAssignmentAccess().getInputAssignment_0()); } - (rule__Assignment__InputAssignment_0) - { after(grammarAccess.getAssignmentAccess().getInputAssignment_0()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__Assignment__Group__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__Assignment__Group__1__Impl - rule__Assignment__Group__2 -; -finally { - restoreStackSize(stackSize); -} - -rule__Assignment__Group__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getAssignmentAccess().getAlternatives_1()); } - (rule__Assignment__Alternatives_1) - { after(grammarAccess.getAssignmentAccess().getAlternatives_1()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__Assignment__Group__2 - @init { - int stackSize = keepStackSize(); - } -: - rule__Assignment__Group__2__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__Assignment__Group__2__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getAssignmentAccess().getOutputAssignment_2()); } - (rule__Assignment__OutputAssignment_2) - { after(grammarAccess.getAssignmentAccess().getOutputAssignment_2()); } -) -; -finally { - restoreStackSize(stackSize); -} - - -rule__EventReference__Group__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__EventReference__Group__0__Impl - rule__EventReference__Group__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__EventReference__Group__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getEventReferenceAccess().getComponentAssignment_0()); } - (rule__EventReference__ComponentAssignment_0) - { after(grammarAccess.getEventReferenceAccess().getComponentAssignment_0()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__EventReference__Group__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__EventReference__Group__1__Impl - rule__EventReference__Group__2 -; -finally { - restoreStackSize(stackSize); -} - -rule__EventReference__Group__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getEventReferenceAccess().getFullStopKeyword_1()); } - '.' - { after(grammarAccess.getEventReferenceAccess().getFullStopKeyword_1()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__EventReference__Group__2 - @init { - int stackSize = keepStackSize(); - } -: - rule__EventReference__Group__2__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__EventReference__Group__2__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getEventReferenceAccess().getEventAssignment_2()); } - (rule__EventReference__EventAssignment_2) - { after(grammarAccess.getEventReferenceAccess().getEventAssignment_2()); } -) -; -finally { - restoreStackSize(stackSize); -} - - -rule__ComponentInstance__Group__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__ComponentInstance__Group__0__Impl - rule__ComponentInstance__Group__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__ComponentInstance__Group__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getComponentInstanceAccess().getEqualsSignGreaterThanSignKeyword_0()); } - '=>' - { after(grammarAccess.getComponentInstanceAccess().getEqualsSignGreaterThanSignKeyword_0()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__ComponentInstance__Group__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__ComponentInstance__Group__1__Impl - rule__ComponentInstance__Group__2 -; -finally { - restoreStackSize(stackSize); -} - -rule__ComponentInstance__Group__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getComponentInstanceAccess().getComponentTypeAssignment_1()); } - (rule__ComponentInstance__ComponentTypeAssignment_1) - { after(grammarAccess.getComponentInstanceAccess().getComponentTypeAssignment_1()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__ComponentInstance__Group__2 - @init { - int stackSize = keepStackSize(); - } -: - rule__ComponentInstance__Group__2__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__ComponentInstance__Group__2__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getComponentInstanceAccess().getNameAssignment_2()); } - (rule__ComponentInstance__NameAssignment_2)? - { after(grammarAccess.getComponentInstanceAccess().getNameAssignment_2()); } -) -; -finally { - restoreStackSize(stackSize); -} - - -rule__QualifiedName__Group__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__QualifiedName__Group__0__Impl - rule__QualifiedName__Group__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__QualifiedName__Group__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getQualifiedNameAccess().getValidIdParserRuleCall_0()); } - ruleValidId - { after(grammarAccess.getQualifiedNameAccess().getValidIdParserRuleCall_0()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__QualifiedName__Group__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__QualifiedName__Group__1__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__QualifiedName__Group__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getQualifiedNameAccess().getGroup_1()); } - (rule__QualifiedName__Group_1__0)* - { after(grammarAccess.getQualifiedNameAccess().getGroup_1()); } -) -; -finally { - restoreStackSize(stackSize); -} - - -rule__QualifiedName__Group_1__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__QualifiedName__Group_1__0__Impl - rule__QualifiedName__Group_1__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__QualifiedName__Group_1__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getQualifiedNameAccess().getFullStopKeyword_1_0()); } - '.' - { after(grammarAccess.getQualifiedNameAccess().getFullStopKeyword_1_0()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__QualifiedName__Group_1__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__QualifiedName__Group_1__1__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__QualifiedName__Group_1__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getQualifiedNameAccess().getValidIdParserRuleCall_1_1()); } - ruleValidId - { after(grammarAccess.getQualifiedNameAccess().getValidIdParserRuleCall_1_1()); } -) -; -finally { - restoreStackSize(stackSize); -} - - -rule__QualifiedNameWithWildcard__Group__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__QualifiedNameWithWildcard__Group__0__Impl - rule__QualifiedNameWithWildcard__Group__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__QualifiedNameWithWildcard__Group__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getQualifiedNameWithWildcardAccess().getQualifiedNameParserRuleCall_0()); } - ruleQualifiedName - { after(grammarAccess.getQualifiedNameWithWildcardAccess().getQualifiedNameParserRuleCall_0()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__QualifiedNameWithWildcard__Group__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__QualifiedNameWithWildcard__Group__1__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__QualifiedNameWithWildcard__Group__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getQualifiedNameWithWildcardAccess().getGroup_1()); } - (rule__QualifiedNameWithWildcard__Group_1__0)? - { after(grammarAccess.getQualifiedNameWithWildcardAccess().getGroup_1()); } -) -; -finally { - restoreStackSize(stackSize); -} - - -rule__QualifiedNameWithWildcard__Group_1__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__QualifiedNameWithWildcard__Group_1__0__Impl - rule__QualifiedNameWithWildcard__Group_1__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__QualifiedNameWithWildcard__Group_1__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getQualifiedNameWithWildcardAccess().getFullStopKeyword_1_0()); } - '.' - { after(grammarAccess.getQualifiedNameWithWildcardAccess().getFullStopKeyword_1_0()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__QualifiedNameWithWildcard__Group_1__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__QualifiedNameWithWildcard__Group_1__1__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__QualifiedNameWithWildcard__Group_1__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getQualifiedNameWithWildcardAccess().getAsteriskKeyword_1_1()); } - '*' - { after(grammarAccess.getQualifiedNameWithWildcardAccess().getAsteriskKeyword_1_1()); } -) -; -finally { - restoreStackSize(stackSize); -} - - -rule__ComponentDefinition__UnorderedGroup_3 - @init { - int stackSize = keepStackSize(); - getUnorderedGroupHelper().enter(grammarAccess.getComponentDefinitionAccess().getUnorderedGroup_3()); - } -: - rule__ComponentDefinition__UnorderedGroup_3__0 - ? -; -finally { - getUnorderedGroupHelper().leave(grammarAccess.getComponentDefinitionAccess().getUnorderedGroup_3()); - restoreStackSize(stackSize); -} - -rule__ComponentDefinition__UnorderedGroup_3__Impl - @init { - int stackSize = keepStackSize(); - boolean selected = false; - } -: - ( - ( - {getUnorderedGroupHelper().canSelect(grammarAccess.getComponentDefinitionAccess().getUnorderedGroup_3(), 0)}?=>( - { - getUnorderedGroupHelper().select(grammarAccess.getComponentDefinitionAccess().getUnorderedGroup_3(), 0); - } - { - selected = true; - } - ( - { before(grammarAccess.getComponentDefinitionAccess().getGroup_3_0()); } - (rule__ComponentDefinition__Group_3_0__0) - { after(grammarAccess.getComponentDefinitionAccess().getGroup_3_0()); } - ) - ) - )| - ( - {getUnorderedGroupHelper().canSelect(grammarAccess.getComponentDefinitionAccess().getUnorderedGroup_3(), 1)}?=>( - { - getUnorderedGroupHelper().select(grammarAccess.getComponentDefinitionAccess().getUnorderedGroup_3(), 1); - } - { - selected = true; - } - ( - { before(grammarAccess.getComponentDefinitionAccess().getGroup_3_1()); } - (rule__ComponentDefinition__Group_3_1__0) - { after(grammarAccess.getComponentDefinitionAccess().getGroup_3_1()); } - ) - ) - ) - ) -; -finally { - if (selected) - getUnorderedGroupHelper().returnFromSelection(grammarAccess.getComponentDefinitionAccess().getUnorderedGroup_3()); - restoreStackSize(stackSize); -} - -rule__ComponentDefinition__UnorderedGroup_3__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__ComponentDefinition__UnorderedGroup_3__Impl - rule__ComponentDefinition__UnorderedGroup_3__1? -; -finally { - restoreStackSize(stackSize); -} - -rule__ComponentDefinition__UnorderedGroup_3__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__ComponentDefinition__UnorderedGroup_3__Impl -; -finally { - restoreStackSize(stackSize); -} - - -rule__CftModel__PackageNameAssignment_1 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getCftModelAccess().getPackageNameQualifiedNameParserRuleCall_1_0()); } - ruleQualifiedName - { after(grammarAccess.getCftModelAccess().getPackageNameQualifiedNameParserRuleCall_1_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__CftModel__ImportsAssignment_3 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getCftModelAccess().getImportsImportDeclarationParserRuleCall_3_0()); } - ruleImportDeclaration - { after(grammarAccess.getCftModelAccess().getImportsImportDeclarationParserRuleCall_3_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__CftModel__ComponentDefinitionsAssignment_4_0 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getCftModelAccess().getComponentDefinitionsComponentDefinitionParserRuleCall_4_0_0()); } - ruleComponentDefinition - { after(grammarAccess.getCftModelAccess().getComponentDefinitionsComponentDefinitionParserRuleCall_4_0_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__CftModel__TransformationDefinitionsAssignment_4_1 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getCftModelAccess().getTransformationDefinitionsTransformationDefinitionParserRuleCall_4_1_0()); } - ruleTransformationDefinition - { after(grammarAccess.getCftModelAccess().getTransformationDefinitionsTransformationDefinitionParserRuleCall_4_1_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__ImportDeclaration__ImportedNamespaceAssignment_1 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getImportDeclarationAccess().getImportedNamespaceQualifiedNameWithWildcardParserRuleCall_1_0()); } - ruleQualifiedNameWithWildcard - { after(grammarAccess.getImportDeclarationAccess().getImportedNamespaceQualifiedNameWithWildcardParserRuleCall_1_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__ComponentDefinition__NameAssignment_1 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getComponentDefinitionAccess().getNameValidIdParserRuleCall_1_0()); } - ruleValidId - { after(grammarAccess.getComponentDefinitionAccess().getNameValidIdParserRuleCall_1_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__ComponentDefinition__InputEventsAssignment_3_0_1 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getComponentDefinitionAccess().getInputEventsInputEventParserRuleCall_3_0_1_0()); } - ruleInputEvent - { after(grammarAccess.getComponentDefinitionAccess().getInputEventsInputEventParserRuleCall_3_0_1_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__ComponentDefinition__OutputEventsAssignment_3_1_1 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getComponentDefinitionAccess().getOutputEventsEventDeclarationCrossReference_3_1_1_0()); } - ( - { before(grammarAccess.getComponentDefinitionAccess().getOutputEventsEventDeclarationValidIdParserRuleCall_3_1_1_0_1()); } - ruleValidId - { after(grammarAccess.getComponentDefinitionAccess().getOutputEventsEventDeclarationValidIdParserRuleCall_3_1_1_0_1()); } - ) - { after(grammarAccess.getComponentDefinitionAccess().getOutputEventsEventDeclarationCrossReference_3_1_1_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__ComponentDefinition__EventDefinitionsAssignment_4_0 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getComponentDefinitionAccess().getEventDefinitionsEventDefinitionParserRuleCall_4_0_0()); } - ruleEventDefinition - { after(grammarAccess.getComponentDefinitionAccess().getEventDefinitionsEventDefinitionParserRuleCall_4_0_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__InputEvent__NameAssignment_0 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getInputEventAccess().getNameValidIdParserRuleCall_0_0()); } - ruleValidId - { after(grammarAccess.getInputEventAccess().getNameValidIdParserRuleCall_0_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__InputEvent__MultipleAssignment_1 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getInputEventAccess().getMultipleLeftSquareBracketRightSquareBracketKeyword_1_0()); } - ( - { before(grammarAccess.getInputEventAccess().getMultipleLeftSquareBracketRightSquareBracketKeyword_1_0()); } - '[]' - { after(grammarAccess.getInputEventAccess().getMultipleLeftSquareBracketRightSquareBracketKeyword_1_0()); } - ) - { after(grammarAccess.getInputEventAccess().getMultipleLeftSquareBracketRightSquareBracketKeyword_1_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__BasicEventDefinition__NameAssignment_0 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getBasicEventDefinitionAccess().getNameValidIdParserRuleCall_0_0()); } - ruleValidId - { after(grammarAccess.getBasicEventDefinitionAccess().getNameValidIdParserRuleCall_0_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__BasicEventDefinition__DistributionAssignment_1 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getBasicEventDefinitionAccess().getDistributionDistributionParserRuleCall_1_0()); } - ruleDistribution - { after(grammarAccess.getBasicEventDefinitionAccess().getDistributionDistributionParserRuleCall_1_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__ConstantDistribution__PAssignment_2 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getConstantDistributionAccess().getPDoubleParserRuleCall_2_0()); } - ruleDouble - { after(grammarAccess.getConstantDistributionAccess().getPDoubleParserRuleCall_2_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__ExponentialDistribution__LambdaAssignment_2 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getExponentialDistributionAccess().getLambdaDoubleParserRuleCall_2_0()); } - ruleDouble - { after(grammarAccess.getExponentialDistributionAccess().getLambdaDoubleParserRuleCall_2_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__AndGateDefinition__NameAssignment_0 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getAndGateDefinitionAccess().getNameValidIdParserRuleCall_0_0()); } - ruleValidId - { after(grammarAccess.getAndGateDefinitionAccess().getNameValidIdParserRuleCall_0_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__AndGateDefinition__InputEventsAssignment_2 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getAndGateDefinitionAccess().getInputEventsEventDeclarationCrossReference_2_0()); } - ( - { before(grammarAccess.getAndGateDefinitionAccess().getInputEventsEventDeclarationValidIdParserRuleCall_2_0_1()); } - ruleValidId - { after(grammarAccess.getAndGateDefinitionAccess().getInputEventsEventDeclarationValidIdParserRuleCall_2_0_1()); } - ) - { after(grammarAccess.getAndGateDefinitionAccess().getInputEventsEventDeclarationCrossReference_2_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__OrGateDefinition__NameAssignment_0 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getOrGateDefinitionAccess().getNameValidIdParserRuleCall_0_0()); } - ruleValidId - { after(grammarAccess.getOrGateDefinitionAccess().getNameValidIdParserRuleCall_0_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__OrGateDefinition__InputEventsAssignment_2 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getOrGateDefinitionAccess().getInputEventsEventDeclarationCrossReference_2_0()); } - ( - { before(grammarAccess.getOrGateDefinitionAccess().getInputEventsEventDeclarationValidIdParserRuleCall_2_0_1()); } - ruleValidId - { after(grammarAccess.getOrGateDefinitionAccess().getInputEventsEventDeclarationValidIdParserRuleCall_2_0_1()); } - ) - { after(grammarAccess.getOrGateDefinitionAccess().getInputEventsEventDeclarationCrossReference_2_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__KOfMGateDefinition__NameAssignment_0 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getKOfMGateDefinitionAccess().getNameValidIdParserRuleCall_0_0()); } - ruleValidId - { after(grammarAccess.getKOfMGateDefinitionAccess().getNameValidIdParserRuleCall_0_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__KOfMGateDefinition__KAssignment_1 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getKOfMGateDefinitionAccess().getKINTTerminalRuleCall_1_0()); } - RULE_INT - { after(grammarAccess.getKOfMGateDefinitionAccess().getKINTTerminalRuleCall_1_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__KOfMGateDefinition__MAssignment_2_0_1 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getKOfMGateDefinitionAccess().getMINTTerminalRuleCall_2_0_1_0()); } - RULE_INT - { after(grammarAccess.getKOfMGateDefinitionAccess().getMINTTerminalRuleCall_2_0_1_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__KOfMGateDefinition__MAssignment_2_1 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getKOfMGateDefinitionAccess().getMOF_INTTerminalRuleCall_2_1_0()); } - RULE_OF_INT - { after(grammarAccess.getKOfMGateDefinitionAccess().getMOF_INTTerminalRuleCall_2_1_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__KOfMGateDefinition__InputEventsAssignment_3 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getKOfMGateDefinitionAccess().getInputEventsEventDeclarationCrossReference_3_0()); } - ( - { before(grammarAccess.getKOfMGateDefinitionAccess().getInputEventsEventDeclarationValidIdParserRuleCall_3_0_1()); } - ruleValidId - { after(grammarAccess.getKOfMGateDefinitionAccess().getInputEventsEventDeclarationValidIdParserRuleCall_3_0_1()); } - ) - { after(grammarAccess.getKOfMGateDefinitionAccess().getInputEventsEventDeclarationCrossReference_3_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__TransformationDefinition__NameAssignment_1 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getTransformationDefinitionAccess().getNameValidIdParserRuleCall_1_0()); } - ruleValidId - { after(grammarAccess.getTransformationDefinitionAccess().getNameValidIdParserRuleCall_1_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__TransformationDefinition__MappingDefinitionsAssignment_3 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getTransformationDefinitionAccess().getMappingDefinitionsMappingDefinitionParserRuleCall_3_0()); } - ruleMappingDefinition - { after(grammarAccess.getTransformationDefinitionAccess().getMappingDefinitionsMappingDefinitionParserRuleCall_3_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__MappingDefinition__TopLevelAssignment_0 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getMappingDefinitionAccess().getTopLevelToplevelKeyword_0_0()); } - ( - { before(grammarAccess.getMappingDefinitionAccess().getTopLevelToplevelKeyword_0_0()); } - 'toplevel' - { after(grammarAccess.getMappingDefinitionAccess().getTopLevelToplevelKeyword_0_0()); } - ) - { after(grammarAccess.getMappingDefinitionAccess().getTopLevelToplevelKeyword_0_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__MappingDefinition__PatternAssignment_2 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getMappingDefinitionAccess().getPatternPatternCrossReference_2_0()); } - ( - { before(grammarAccess.getMappingDefinitionAccess().getPatternPatternQualifiedNameParserRuleCall_2_0_1()); } - ruleQualifiedName - { after(grammarAccess.getMappingDefinitionAccess().getPatternPatternQualifiedNameParserRuleCall_2_0_1()); } - ) - { after(grammarAccess.getMappingDefinitionAccess().getPatternPatternCrossReference_2_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__MappingDefinition__ParametersAssignment_4 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getMappingDefinitionAccess().getParametersMappingParameterParserRuleCall_4_0()); } - ruleMappingParameter - { after(grammarAccess.getMappingDefinitionAccess().getParametersMappingParameterParserRuleCall_4_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__MappingDefinition__ParametersAssignment_5_1 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getMappingDefinitionAccess().getParametersMappingParameterParserRuleCall_5_1_0()); } - ruleMappingParameter - { after(grammarAccess.getMappingDefinitionAccess().getParametersMappingParameterParserRuleCall_5_1_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__MappingDefinition__ComponentInstanceAssignment_7 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getMappingDefinitionAccess().getComponentInstanceComponentInstanceParserRuleCall_7_0()); } - ruleComponentInstance - { after(grammarAccess.getMappingDefinitionAccess().getComponentInstanceComponentInstanceParserRuleCall_7_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__MappingDefinition__LookupDefinitionsAssignment_8_1_0_0 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getMappingDefinitionAccess().getLookupDefinitionsLookupDefinitionParserRuleCall_8_1_0_0_0()); } - ruleLookupDefinition - { after(grammarAccess.getMappingDefinitionAccess().getLookupDefinitionsLookupDefinitionParserRuleCall_8_1_0_0_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__MappingDefinition__AssignmentsAssignment_8_1_0_1 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getMappingDefinitionAccess().getAssignmentsAssignmentParserRuleCall_8_1_0_1_0()); } - ruleAssignment - { after(grammarAccess.getMappingDefinitionAccess().getAssignmentsAssignmentParserRuleCall_8_1_0_1_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__MappingParameter__NameAssignment - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getMappingParameterAccess().getNameValidIdParserRuleCall_0()); } - ruleValidId - { after(grammarAccess.getMappingParameterAccess().getNameValidIdParserRuleCall_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__LookupDefinition__MappingAssignment_1 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getLookupDefinitionAccess().getMappingMappingDefinitionCrossReference_1_0()); } - ( - { before(grammarAccess.getLookupDefinitionAccess().getMappingMappingDefinitionQualifiedNameParserRuleCall_1_0_1()); } - ruleQualifiedName - { after(grammarAccess.getLookupDefinitionAccess().getMappingMappingDefinitionQualifiedNameParserRuleCall_1_0_1()); } - ) - { after(grammarAccess.getLookupDefinitionAccess().getMappingMappingDefinitionCrossReference_1_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__LookupDefinition__ArgumentsAssignment_3 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getLookupDefinitionAccess().getArgumentsMappingParameterCrossReference_3_0()); } - ( - { before(grammarAccess.getLookupDefinitionAccess().getArgumentsMappingParameterValidIdParserRuleCall_3_0_1()); } - ruleValidId - { after(grammarAccess.getLookupDefinitionAccess().getArgumentsMappingParameterValidIdParserRuleCall_3_0_1()); } - ) - { after(grammarAccess.getLookupDefinitionAccess().getArgumentsMappingParameterCrossReference_3_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__LookupDefinition__ArgumentsAssignment_4_1 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getLookupDefinitionAccess().getArgumentsMappingParameterCrossReference_4_1_0()); } - ( - { before(grammarAccess.getLookupDefinitionAccess().getArgumentsMappingParameterValidIdParserRuleCall_4_1_0_1()); } - ruleValidId - { after(grammarAccess.getLookupDefinitionAccess().getArgumentsMappingParameterValidIdParserRuleCall_4_1_0_1()); } - ) - { after(grammarAccess.getLookupDefinitionAccess().getArgumentsMappingParameterCrossReference_4_1_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__LookupDefinition__NameAssignment_7 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getLookupDefinitionAccess().getNameValidIdParserRuleCall_7_0()); } - ruleValidId - { after(grammarAccess.getLookupDefinitionAccess().getNameValidIdParserRuleCall_7_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__Assignment__InputAssignment_0 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getAssignmentAccess().getInputEventReferenceParserRuleCall_0_0()); } - ruleEventReference - { after(grammarAccess.getAssignmentAccess().getInputEventReferenceParserRuleCall_0_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__Assignment__MultipleAssignment_1_0 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getAssignmentAccess().getMultiplePlusSignEqualsSignKeyword_1_0_0()); } - ( - { before(grammarAccess.getAssignmentAccess().getMultiplePlusSignEqualsSignKeyword_1_0_0()); } - '+=' - { after(grammarAccess.getAssignmentAccess().getMultiplePlusSignEqualsSignKeyword_1_0_0()); } - ) - { after(grammarAccess.getAssignmentAccess().getMultiplePlusSignEqualsSignKeyword_1_0_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__Assignment__OutputAssignment_2 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getAssignmentAccess().getOutputEventReferenceParserRuleCall_2_0()); } - ruleEventReference - { after(grammarAccess.getAssignmentAccess().getOutputEventReferenceParserRuleCall_2_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__EventReference__ComponentAssignment_0 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getEventReferenceAccess().getComponentVariableCrossReference_0_0()); } - ( - { before(grammarAccess.getEventReferenceAccess().getComponentVariableValidIdParserRuleCall_0_0_1()); } - ruleValidId - { after(grammarAccess.getEventReferenceAccess().getComponentVariableValidIdParserRuleCall_0_0_1()); } - ) - { after(grammarAccess.getEventReferenceAccess().getComponentVariableCrossReference_0_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__EventReference__EventAssignment_2 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getEventReferenceAccess().getEventEventDeclarationCrossReference_2_0()); } - ( - { before(grammarAccess.getEventReferenceAccess().getEventEventDeclarationValidIdParserRuleCall_2_0_1()); } - ruleValidId - { after(grammarAccess.getEventReferenceAccess().getEventEventDeclarationValidIdParserRuleCall_2_0_1()); } - ) - { after(grammarAccess.getEventReferenceAccess().getEventEventDeclarationCrossReference_2_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__ComponentInstance__ComponentTypeAssignment_1 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getComponentInstanceAccess().getComponentTypeComponentDefinitionCrossReference_1_0()); } - ( - { before(grammarAccess.getComponentInstanceAccess().getComponentTypeComponentDefinitionQualifiedNameParserRuleCall_1_0_1()); } - ruleQualifiedName - { after(grammarAccess.getComponentInstanceAccess().getComponentTypeComponentDefinitionQualifiedNameParserRuleCall_1_0_1()); } - ) - { after(grammarAccess.getComponentInstanceAccess().getComponentTypeComponentDefinitionCrossReference_1_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__ComponentInstance__NameAssignment_2 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getComponentInstanceAccess().getNameValidIdParserRuleCall_2_0()); } - ruleValidId - { after(grammarAccess.getComponentInstanceAccess().getNameValidIdParserRuleCall_2_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -RULE_OF_INT : 'o' 'f' ('0'..'9')+; - -RULE_T_DOUBLE : ('0'..'9')+ ('.' ('0'..'9')+|('.' ('0'..'9')+)? ('e'|'E') ('+'|'-')? ('0'..'9')+); - -RULE_ID : '^'? ('a'..'z'|'A'..'Z'|'_') ('a'..'z'|'A'..'Z'|'_'|'0'..'9')*; - -RULE_INT : ('0'..'9')+; - -RULE_STRING : ('"' ('\\' .|~(('\\'|'"')))* '"'|'\'' ('\\' .|~(('\\'|'\'')))* '\''); - -RULE_ML_COMMENT : '/*' ( options {greedy=false;} : . )*'*/'; - -RULE_SL_COMMENT : '//' ~(('\n'|'\r'))* ('\r'? '\n')?; - -RULE_WS : (' '|'\t'|'\r'|'\n')+; - -RULE_ANY_OTHER : .; diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/contentassist/antlr/internal/InternalCftLanguage.tokens b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/contentassist/antlr/internal/InternalCftLanguage.tokens deleted file mode 100644 index 76556942..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/contentassist/antlr/internal/InternalCftLanguage.tokens +++ /dev/null @@ -1,65 +0,0 @@ -'('=30 -')'=31 -'*'=37 -'+='=40 -','=32 -'.'=35 -':='=13 -';'=15 -'='=23 -'=>'=36 -'[]'=38 -'and'=25 -'as'=34 -'cft'=17 -'import'=16 -'in'=20 -'lambda'=24 -'lookup'=33 -'mapping'=29 -'of'=27 -'or'=26 -'out'=21 -'package'=14 -'prob'=22 -'toplevel'=39 -'transformation'=28 -'{'=18 -'}'=19 -RULE_ANY_OTHER=12 -RULE_ID=4 -RULE_INT=6 -RULE_ML_COMMENT=9 -RULE_OF_INT=5 -RULE_SL_COMMENT=10 -RULE_STRING=8 -RULE_T_DOUBLE=7 -RULE_WS=11 -T__13=13 -T__14=14 -T__15=15 -T__16=16 -T__17=17 -T__18=18 -T__19=19 -T__20=20 -T__21=21 -T__22=22 -T__23=23 -T__24=24 -T__25=25 -T__26=26 -T__27=27 -T__28=28 -T__29=29 -T__30=30 -T__31=31 -T__32=32 -T__33=33 -T__34=34 -T__35=35 -T__36=36 -T__37=37 -T__38=38 -T__39=39 -T__40=40 diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/contentassist/antlr/internal/InternalCftLanguageLexer.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/contentassist/antlr/internal/InternalCftLanguageLexer.java deleted file mode 100644 index 6a06d1ec..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/contentassist/antlr/internal/InternalCftLanguageLexer.java +++ /dev/null @@ -1,2001 +0,0 @@ -package hu.bme.mit.inf.dslreasoner.faulttree.components.ide.contentassist.antlr.internal; - -// Hack: Use our own Lexer superclass by means of import. -// Currently there is no other way to specify the superclass for the lexer. -import org.eclipse.xtext.ide.editor.contentassist.antlr.internal.Lexer; - - -import org.antlr.runtime.*; -import java.util.Stack; -import java.util.List; -import java.util.ArrayList; - -@SuppressWarnings("all") -public class InternalCftLanguageLexer extends Lexer { - public static final int RULE_STRING=8; - public static final int RULE_SL_COMMENT=10; - public static final int T__19=19; - public static final int T__15=15; - public static final int T__37=37; - public static final int T__16=16; - public static final int T__38=38; - public static final int T__17=17; - public static final int T__39=39; - public static final int T__18=18; - public static final int T__33=33; - public static final int T__34=34; - public static final int RULE_T_DOUBLE=7; - public static final int T__13=13; - public static final int T__35=35; - public static final int T__14=14; - public static final int T__36=36; - public static final int EOF=-1; - public static final int T__30=30; - public static final int T__31=31; - public static final int T__32=32; - public static final int RULE_OF_INT=5; - public static final int RULE_ID=4; - public static final int RULE_WS=11; - public static final int RULE_ANY_OTHER=12; - public static final int T__26=26; - public static final int T__27=27; - public static final int T__28=28; - public static final int RULE_INT=6; - public static final int T__29=29; - public static final int T__22=22; - public static final int RULE_ML_COMMENT=9; - public static final int T__23=23; - public static final int T__24=24; - public static final int T__25=25; - public static final int T__40=40; - public static final int T__20=20; - public static final int T__21=21; - - // delegates - // delegators - - public InternalCftLanguageLexer() {;} - public InternalCftLanguageLexer(CharStream input) { - this(input, new RecognizerSharedState()); - } - public InternalCftLanguageLexer(CharStream input, RecognizerSharedState state) { - super(input,state); - - } - public String getGrammarFileName() { return "InternalCftLanguage.g"; } - - // $ANTLR start "T__13" - public final void mT__13() throws RecognitionException { - try { - int _type = T__13; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalCftLanguage.g:11:7: ( ':=' ) - // InternalCftLanguage.g:11:9: ':=' - { - match(":="); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__13" - - // $ANTLR start "T__14" - public final void mT__14() throws RecognitionException { - try { - int _type = T__14; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalCftLanguage.g:12:7: ( 'package' ) - // InternalCftLanguage.g:12:9: 'package' - { - match("package"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__14" - - // $ANTLR start "T__15" - public final void mT__15() throws RecognitionException { - try { - int _type = T__15; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalCftLanguage.g:13:7: ( ';' ) - // InternalCftLanguage.g:13:9: ';' - { - match(';'); - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__15" - - // $ANTLR start "T__16" - public final void mT__16() throws RecognitionException { - try { - int _type = T__16; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalCftLanguage.g:14:7: ( 'import' ) - // InternalCftLanguage.g:14:9: 'import' - { - match("import"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__16" - - // $ANTLR start "T__17" - public final void mT__17() throws RecognitionException { - try { - int _type = T__17; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalCftLanguage.g:15:7: ( 'cft' ) - // InternalCftLanguage.g:15:9: 'cft' - { - match("cft"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__17" - - // $ANTLR start "T__18" - public final void mT__18() throws RecognitionException { - try { - int _type = T__18; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalCftLanguage.g:16:7: ( '{' ) - // InternalCftLanguage.g:16:9: '{' - { - match('{'); - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__18" - - // $ANTLR start "T__19" - public final void mT__19() throws RecognitionException { - try { - int _type = T__19; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalCftLanguage.g:17:7: ( '}' ) - // InternalCftLanguage.g:17:9: '}' - { - match('}'); - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__19" - - // $ANTLR start "T__20" - public final void mT__20() throws RecognitionException { - try { - int _type = T__20; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalCftLanguage.g:18:7: ( 'in' ) - // InternalCftLanguage.g:18:9: 'in' - { - match("in"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__20" - - // $ANTLR start "T__21" - public final void mT__21() throws RecognitionException { - try { - int _type = T__21; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalCftLanguage.g:19:7: ( 'out' ) - // InternalCftLanguage.g:19:9: 'out' - { - match("out"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__21" - - // $ANTLR start "T__22" - public final void mT__22() throws RecognitionException { - try { - int _type = T__22; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalCftLanguage.g:20:7: ( 'prob' ) - // InternalCftLanguage.g:20:9: 'prob' - { - match("prob"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__22" - - // $ANTLR start "T__23" - public final void mT__23() throws RecognitionException { - try { - int _type = T__23; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalCftLanguage.g:21:7: ( '=' ) - // InternalCftLanguage.g:21:9: '=' - { - match('='); - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__23" - - // $ANTLR start "T__24" - public final void mT__24() throws RecognitionException { - try { - int _type = T__24; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalCftLanguage.g:22:7: ( 'lambda' ) - // InternalCftLanguage.g:22:9: 'lambda' - { - match("lambda"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__24" - - // $ANTLR start "T__25" - public final void mT__25() throws RecognitionException { - try { - int _type = T__25; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalCftLanguage.g:23:7: ( 'and' ) - // InternalCftLanguage.g:23:9: 'and' - { - match("and"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__25" - - // $ANTLR start "T__26" - public final void mT__26() throws RecognitionException { - try { - int _type = T__26; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalCftLanguage.g:24:7: ( 'or' ) - // InternalCftLanguage.g:24:9: 'or' - { - match("or"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__26" - - // $ANTLR start "T__27" - public final void mT__27() throws RecognitionException { - try { - int _type = T__27; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalCftLanguage.g:25:7: ( 'of' ) - // InternalCftLanguage.g:25:9: 'of' - { - match("of"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__27" - - // $ANTLR start "T__28" - public final void mT__28() throws RecognitionException { - try { - int _type = T__28; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalCftLanguage.g:26:7: ( 'transformation' ) - // InternalCftLanguage.g:26:9: 'transformation' - { - match("transformation"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__28" - - // $ANTLR start "T__29" - public final void mT__29() throws RecognitionException { - try { - int _type = T__29; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalCftLanguage.g:27:7: ( 'mapping' ) - // InternalCftLanguage.g:27:9: 'mapping' - { - match("mapping"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__29" - - // $ANTLR start "T__30" - public final void mT__30() throws RecognitionException { - try { - int _type = T__30; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalCftLanguage.g:28:7: ( '(' ) - // InternalCftLanguage.g:28:9: '(' - { - match('('); - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__30" - - // $ANTLR start "T__31" - public final void mT__31() throws RecognitionException { - try { - int _type = T__31; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalCftLanguage.g:29:7: ( ')' ) - // InternalCftLanguage.g:29:9: ')' - { - match(')'); - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__31" - - // $ANTLR start "T__32" - public final void mT__32() throws RecognitionException { - try { - int _type = T__32; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalCftLanguage.g:30:7: ( ',' ) - // InternalCftLanguage.g:30:9: ',' - { - match(','); - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__32" - - // $ANTLR start "T__33" - public final void mT__33() throws RecognitionException { - try { - int _type = T__33; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalCftLanguage.g:31:7: ( 'lookup' ) - // InternalCftLanguage.g:31:9: 'lookup' - { - match("lookup"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__33" - - // $ANTLR start "T__34" - public final void mT__34() throws RecognitionException { - try { - int _type = T__34; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalCftLanguage.g:32:7: ( 'as' ) - // InternalCftLanguage.g:32:9: 'as' - { - match("as"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__34" - - // $ANTLR start "T__35" - public final void mT__35() throws RecognitionException { - try { - int _type = T__35; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalCftLanguage.g:33:7: ( '.' ) - // InternalCftLanguage.g:33:9: '.' - { - match('.'); - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__35" - - // $ANTLR start "T__36" - public final void mT__36() throws RecognitionException { - try { - int _type = T__36; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalCftLanguage.g:34:7: ( '=>' ) - // InternalCftLanguage.g:34:9: '=>' - { - match("=>"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__36" - - // $ANTLR start "T__37" - public final void mT__37() throws RecognitionException { - try { - int _type = T__37; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalCftLanguage.g:35:7: ( '*' ) - // InternalCftLanguage.g:35:9: '*' - { - match('*'); - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__37" - - // $ANTLR start "T__38" - public final void mT__38() throws RecognitionException { - try { - int _type = T__38; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalCftLanguage.g:36:7: ( '[]' ) - // InternalCftLanguage.g:36:9: '[]' - { - match("[]"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__38" - - // $ANTLR start "T__39" - public final void mT__39() throws RecognitionException { - try { - int _type = T__39; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalCftLanguage.g:37:7: ( 'toplevel' ) - // InternalCftLanguage.g:37:9: 'toplevel' - { - match("toplevel"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__39" - - // $ANTLR start "T__40" - public final void mT__40() throws RecognitionException { - try { - int _type = T__40; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalCftLanguage.g:38:7: ( '+=' ) - // InternalCftLanguage.g:38:9: '+=' - { - match("+="); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__40" - - // $ANTLR start "RULE_OF_INT" - public final void mRULE_OF_INT() throws RecognitionException { - try { - int _type = RULE_OF_INT; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalCftLanguage.g:4145:13: ( 'o' 'f' ( '0' .. '9' )+ ) - // InternalCftLanguage.g:4145:15: 'o' 'f' ( '0' .. '9' )+ - { - match('o'); - match('f'); - // InternalCftLanguage.g:4145:23: ( '0' .. '9' )+ - int cnt1=0; - loop1: - do { - int alt1=2; - int LA1_0 = input.LA(1); - - if ( ((LA1_0>='0' && LA1_0<='9')) ) { - alt1=1; - } - - - switch (alt1) { - case 1 : - // InternalCftLanguage.g:4145:24: '0' .. '9' - { - matchRange('0','9'); - - } - break; - - default : - if ( cnt1 >= 1 ) break loop1; - EarlyExitException eee = - new EarlyExitException(1, input); - throw eee; - } - cnt1++; - } while (true); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "RULE_OF_INT" - - // $ANTLR start "RULE_T_DOUBLE" - public final void mRULE_T_DOUBLE() throws RecognitionException { - try { - int _type = RULE_T_DOUBLE; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalCftLanguage.g:4147:15: ( ( '0' .. '9' )+ ( '.' ( '0' .. '9' )+ | ( '.' ( '0' .. '9' )+ )? ( 'e' | 'E' ) ( '+' | '-' )? ( '0' .. '9' )+ ) ) - // InternalCftLanguage.g:4147:17: ( '0' .. '9' )+ ( '.' ( '0' .. '9' )+ | ( '.' ( '0' .. '9' )+ )? ( 'e' | 'E' ) ( '+' | '-' )? ( '0' .. '9' )+ ) - { - // InternalCftLanguage.g:4147:17: ( '0' .. '9' )+ - int cnt2=0; - loop2: - do { - int alt2=2; - int LA2_0 = input.LA(1); - - if ( ((LA2_0>='0' && LA2_0<='9')) ) { - alt2=1; - } - - - switch (alt2) { - case 1 : - // InternalCftLanguage.g:4147:18: '0' .. '9' - { - matchRange('0','9'); - - } - break; - - default : - if ( cnt2 >= 1 ) break loop2; - EarlyExitException eee = - new EarlyExitException(2, input); - throw eee; - } - cnt2++; - } while (true); - - // InternalCftLanguage.g:4147:29: ( '.' ( '0' .. '9' )+ | ( '.' ( '0' .. '9' )+ )? ( 'e' | 'E' ) ( '+' | '-' )? ( '0' .. '9' )+ ) - int alt8=2; - alt8 = dfa8.predict(input); - switch (alt8) { - case 1 : - // InternalCftLanguage.g:4147:30: '.' ( '0' .. '9' )+ - { - match('.'); - // InternalCftLanguage.g:4147:34: ( '0' .. '9' )+ - int cnt3=0; - loop3: - do { - int alt3=2; - int LA3_0 = input.LA(1); - - if ( ((LA3_0>='0' && LA3_0<='9')) ) { - alt3=1; - } - - - switch (alt3) { - case 1 : - // InternalCftLanguage.g:4147:35: '0' .. '9' - { - matchRange('0','9'); - - } - break; - - default : - if ( cnt3 >= 1 ) break loop3; - EarlyExitException eee = - new EarlyExitException(3, input); - throw eee; - } - cnt3++; - } while (true); - - - } - break; - case 2 : - // InternalCftLanguage.g:4147:46: ( '.' ( '0' .. '9' )+ )? ( 'e' | 'E' ) ( '+' | '-' )? ( '0' .. '9' )+ - { - // InternalCftLanguage.g:4147:46: ( '.' ( '0' .. '9' )+ )? - int alt5=2; - int LA5_0 = input.LA(1); - - if ( (LA5_0=='.') ) { - alt5=1; - } - switch (alt5) { - case 1 : - // InternalCftLanguage.g:4147:47: '.' ( '0' .. '9' )+ - { - match('.'); - // InternalCftLanguage.g:4147:51: ( '0' .. '9' )+ - int cnt4=0; - loop4: - do { - int alt4=2; - int LA4_0 = input.LA(1); - - if ( ((LA4_0>='0' && LA4_0<='9')) ) { - alt4=1; - } - - - switch (alt4) { - case 1 : - // InternalCftLanguage.g:4147:52: '0' .. '9' - { - matchRange('0','9'); - - } - break; - - default : - if ( cnt4 >= 1 ) break loop4; - EarlyExitException eee = - new EarlyExitException(4, input); - throw eee; - } - cnt4++; - } while (true); - - - } - break; - - } - - if ( input.LA(1)=='E'||input.LA(1)=='e' ) { - input.consume(); - - } - else { - MismatchedSetException mse = new MismatchedSetException(null,input); - recover(mse); - throw mse;} - - // InternalCftLanguage.g:4147:75: ( '+' | '-' )? - int alt6=2; - int LA6_0 = input.LA(1); - - if ( (LA6_0=='+'||LA6_0=='-') ) { - alt6=1; - } - switch (alt6) { - case 1 : - // InternalCftLanguage.g: - { - if ( input.LA(1)=='+'||input.LA(1)=='-' ) { - input.consume(); - - } - else { - MismatchedSetException mse = new MismatchedSetException(null,input); - recover(mse); - throw mse;} - - - } - break; - - } - - // InternalCftLanguage.g:4147:86: ( '0' .. '9' )+ - int cnt7=0; - loop7: - do { - int alt7=2; - int LA7_0 = input.LA(1); - - if ( ((LA7_0>='0' && LA7_0<='9')) ) { - alt7=1; - } - - - switch (alt7) { - case 1 : - // InternalCftLanguage.g:4147:87: '0' .. '9' - { - matchRange('0','9'); - - } - break; - - default : - if ( cnt7 >= 1 ) break loop7; - EarlyExitException eee = - new EarlyExitException(7, input); - throw eee; - } - cnt7++; - } while (true); - - - } - break; - - } - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "RULE_T_DOUBLE" - - // $ANTLR start "RULE_ID" - public final void mRULE_ID() throws RecognitionException { - try { - int _type = RULE_ID; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalCftLanguage.g:4149:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* ) - // InternalCftLanguage.g:4149:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* - { - // InternalCftLanguage.g:4149:11: ( '^' )? - int alt9=2; - int LA9_0 = input.LA(1); - - if ( (LA9_0=='^') ) { - alt9=1; - } - switch (alt9) { - case 1 : - // InternalCftLanguage.g:4149:11: '^' - { - match('^'); - - } - break; - - } - - if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) { - input.consume(); - - } - else { - MismatchedSetException mse = new MismatchedSetException(null,input); - recover(mse); - throw mse;} - - // InternalCftLanguage.g:4149:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* - loop10: - do { - int alt10=2; - int LA10_0 = input.LA(1); - - if ( ((LA10_0>='0' && LA10_0<='9')||(LA10_0>='A' && LA10_0<='Z')||LA10_0=='_'||(LA10_0>='a' && LA10_0<='z')) ) { - alt10=1; - } - - - switch (alt10) { - case 1 : - // InternalCftLanguage.g: - { - if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) { - input.consume(); - - } - else { - MismatchedSetException mse = new MismatchedSetException(null,input); - recover(mse); - throw mse;} - - - } - break; - - default : - break loop10; - } - } while (true); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "RULE_ID" - - // $ANTLR start "RULE_INT" - public final void mRULE_INT() throws RecognitionException { - try { - int _type = RULE_INT; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalCftLanguage.g:4151:10: ( ( '0' .. '9' )+ ) - // InternalCftLanguage.g:4151:12: ( '0' .. '9' )+ - { - // InternalCftLanguage.g:4151:12: ( '0' .. '9' )+ - int cnt11=0; - loop11: - do { - int alt11=2; - int LA11_0 = input.LA(1); - - if ( ((LA11_0>='0' && LA11_0<='9')) ) { - alt11=1; - } - - - switch (alt11) { - case 1 : - // InternalCftLanguage.g:4151:13: '0' .. '9' - { - matchRange('0','9'); - - } - break; - - default : - if ( cnt11 >= 1 ) break loop11; - EarlyExitException eee = - new EarlyExitException(11, input); - throw eee; - } - cnt11++; - } while (true); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "RULE_INT" - - // $ANTLR start "RULE_STRING" - public final void mRULE_STRING() throws RecognitionException { - try { - int _type = RULE_STRING; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalCftLanguage.g:4153:13: ( ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) ) - // InternalCftLanguage.g:4153:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) - { - // InternalCftLanguage.g:4153:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) - int alt14=2; - int LA14_0 = input.LA(1); - - if ( (LA14_0=='\"') ) { - alt14=1; - } - else if ( (LA14_0=='\'') ) { - alt14=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 14, 0, input); - - throw nvae; - } - switch (alt14) { - case 1 : - // InternalCftLanguage.g:4153:16: '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' - { - match('\"'); - // InternalCftLanguage.g:4153:20: ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* - loop12: - do { - int alt12=3; - int LA12_0 = input.LA(1); - - if ( (LA12_0=='\\') ) { - alt12=1; - } - else if ( ((LA12_0>='\u0000' && LA12_0<='!')||(LA12_0>='#' && LA12_0<='[')||(LA12_0>=']' && LA12_0<='\uFFFF')) ) { - alt12=2; - } - - - switch (alt12) { - case 1 : - // InternalCftLanguage.g:4153:21: '\\\\' . - { - match('\\'); - matchAny(); - - } - break; - case 2 : - // InternalCftLanguage.g:4153:28: ~ ( ( '\\\\' | '\"' ) ) - { - if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { - input.consume(); - - } - else { - MismatchedSetException mse = new MismatchedSetException(null,input); - recover(mse); - throw mse;} - - - } - break; - - default : - break loop12; - } - } while (true); - - match('\"'); - - } - break; - case 2 : - // InternalCftLanguage.g:4153:48: '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' - { - match('\''); - // InternalCftLanguage.g:4153:53: ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* - loop13: - do { - int alt13=3; - int LA13_0 = input.LA(1); - - if ( (LA13_0=='\\') ) { - alt13=1; - } - else if ( ((LA13_0>='\u0000' && LA13_0<='&')||(LA13_0>='(' && LA13_0<='[')||(LA13_0>=']' && LA13_0<='\uFFFF')) ) { - alt13=2; - } - - - switch (alt13) { - case 1 : - // InternalCftLanguage.g:4153:54: '\\\\' . - { - match('\\'); - matchAny(); - - } - break; - case 2 : - // InternalCftLanguage.g:4153:61: ~ ( ( '\\\\' | '\\'' ) ) - { - if ( (input.LA(1)>='\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { - input.consume(); - - } - else { - MismatchedSetException mse = new MismatchedSetException(null,input); - recover(mse); - throw mse;} - - - } - break; - - default : - break loop13; - } - } while (true); - - match('\''); - - } - break; - - } - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "RULE_STRING" - - // $ANTLR start "RULE_ML_COMMENT" - public final void mRULE_ML_COMMENT() throws RecognitionException { - try { - int _type = RULE_ML_COMMENT; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalCftLanguage.g:4155:17: ( '/*' ( options {greedy=false; } : . )* '*/' ) - // InternalCftLanguage.g:4155:19: '/*' ( options {greedy=false; } : . )* '*/' - { - match("/*"); - - // InternalCftLanguage.g:4155:24: ( options {greedy=false; } : . )* - loop15: - do { - int alt15=2; - int LA15_0 = input.LA(1); - - if ( (LA15_0=='*') ) { - int LA15_1 = input.LA(2); - - if ( (LA15_1=='/') ) { - alt15=2; - } - else if ( ((LA15_1>='\u0000' && LA15_1<='.')||(LA15_1>='0' && LA15_1<='\uFFFF')) ) { - alt15=1; - } - - - } - else if ( ((LA15_0>='\u0000' && LA15_0<=')')||(LA15_0>='+' && LA15_0<='\uFFFF')) ) { - alt15=1; - } - - - switch (alt15) { - case 1 : - // InternalCftLanguage.g:4155:52: . - { - matchAny(); - - } - break; - - default : - break loop15; - } - } while (true); - - match("*/"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "RULE_ML_COMMENT" - - // $ANTLR start "RULE_SL_COMMENT" - public final void mRULE_SL_COMMENT() throws RecognitionException { - try { - int _type = RULE_SL_COMMENT; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalCftLanguage.g:4157:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? ) - // InternalCftLanguage.g:4157:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? - { - match("//"); - - // InternalCftLanguage.g:4157:24: (~ ( ( '\\n' | '\\r' ) ) )* - loop16: - do { - int alt16=2; - int LA16_0 = input.LA(1); - - if ( ((LA16_0>='\u0000' && LA16_0<='\t')||(LA16_0>='\u000B' && LA16_0<='\f')||(LA16_0>='\u000E' && LA16_0<='\uFFFF')) ) { - alt16=1; - } - - - switch (alt16) { - case 1 : - // InternalCftLanguage.g:4157:24: ~ ( ( '\\n' | '\\r' ) ) - { - if ( (input.LA(1)>='\u0000' && input.LA(1)<='\t')||(input.LA(1)>='\u000B' && input.LA(1)<='\f')||(input.LA(1)>='\u000E' && input.LA(1)<='\uFFFF') ) { - input.consume(); - - } - else { - MismatchedSetException mse = new MismatchedSetException(null,input); - recover(mse); - throw mse;} - - - } - break; - - default : - break loop16; - } - } while (true); - - // InternalCftLanguage.g:4157:40: ( ( '\\r' )? '\\n' )? - int alt18=2; - int LA18_0 = input.LA(1); - - if ( (LA18_0=='\n'||LA18_0=='\r') ) { - alt18=1; - } - switch (alt18) { - case 1 : - // InternalCftLanguage.g:4157:41: ( '\\r' )? '\\n' - { - // InternalCftLanguage.g:4157:41: ( '\\r' )? - int alt17=2; - int LA17_0 = input.LA(1); - - if ( (LA17_0=='\r') ) { - alt17=1; - } - switch (alt17) { - case 1 : - // InternalCftLanguage.g:4157:41: '\\r' - { - match('\r'); - - } - break; - - } - - match('\n'); - - } - break; - - } - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "RULE_SL_COMMENT" - - // $ANTLR start "RULE_WS" - public final void mRULE_WS() throws RecognitionException { - try { - int _type = RULE_WS; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalCftLanguage.g:4159:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ ) - // InternalCftLanguage.g:4159:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ - { - // InternalCftLanguage.g:4159:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ - int cnt19=0; - loop19: - do { - int alt19=2; - int LA19_0 = input.LA(1); - - if ( ((LA19_0>='\t' && LA19_0<='\n')||LA19_0=='\r'||LA19_0==' ') ) { - alt19=1; - } - - - switch (alt19) { - case 1 : - // InternalCftLanguage.g: - { - if ( (input.LA(1)>='\t' && input.LA(1)<='\n')||input.LA(1)=='\r'||input.LA(1)==' ' ) { - input.consume(); - - } - else { - MismatchedSetException mse = new MismatchedSetException(null,input); - recover(mse); - throw mse;} - - - } - break; - - default : - if ( cnt19 >= 1 ) break loop19; - EarlyExitException eee = - new EarlyExitException(19, input); - throw eee; - } - cnt19++; - } while (true); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "RULE_WS" - - // $ANTLR start "RULE_ANY_OTHER" - public final void mRULE_ANY_OTHER() throws RecognitionException { - try { - int _type = RULE_ANY_OTHER; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalCftLanguage.g:4161:16: ( . ) - // InternalCftLanguage.g:4161:18: . - { - matchAny(); - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "RULE_ANY_OTHER" - - public void mTokens() throws RecognitionException { - // InternalCftLanguage.g:1:8: ( 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 | RULE_OF_INT | RULE_T_DOUBLE | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER ) - int alt20=37; - alt20 = dfa20.predict(input); - switch (alt20) { - case 1 : - // InternalCftLanguage.g:1:10: T__13 - { - mT__13(); - - } - break; - case 2 : - // InternalCftLanguage.g:1:16: T__14 - { - mT__14(); - - } - break; - case 3 : - // InternalCftLanguage.g:1:22: T__15 - { - mT__15(); - - } - break; - case 4 : - // InternalCftLanguage.g:1:28: T__16 - { - mT__16(); - - } - break; - case 5 : - // InternalCftLanguage.g:1:34: T__17 - { - mT__17(); - - } - break; - case 6 : - // InternalCftLanguage.g:1:40: T__18 - { - mT__18(); - - } - break; - case 7 : - // InternalCftLanguage.g:1:46: T__19 - { - mT__19(); - - } - break; - case 8 : - // InternalCftLanguage.g:1:52: T__20 - { - mT__20(); - - } - break; - case 9 : - // InternalCftLanguage.g:1:58: T__21 - { - mT__21(); - - } - break; - case 10 : - // InternalCftLanguage.g:1:64: T__22 - { - mT__22(); - - } - break; - case 11 : - // InternalCftLanguage.g:1:70: T__23 - { - mT__23(); - - } - break; - case 12 : - // InternalCftLanguage.g:1:76: T__24 - { - mT__24(); - - } - break; - case 13 : - // InternalCftLanguage.g:1:82: T__25 - { - mT__25(); - - } - break; - case 14 : - // InternalCftLanguage.g:1:88: T__26 - { - mT__26(); - - } - break; - case 15 : - // InternalCftLanguage.g:1:94: T__27 - { - mT__27(); - - } - break; - case 16 : - // InternalCftLanguage.g:1:100: T__28 - { - mT__28(); - - } - break; - case 17 : - // InternalCftLanguage.g:1:106: T__29 - { - mT__29(); - - } - break; - case 18 : - // InternalCftLanguage.g:1:112: T__30 - { - mT__30(); - - } - break; - case 19 : - // InternalCftLanguage.g:1:118: T__31 - { - mT__31(); - - } - break; - case 20 : - // InternalCftLanguage.g:1:124: T__32 - { - mT__32(); - - } - break; - case 21 : - // InternalCftLanguage.g:1:130: T__33 - { - mT__33(); - - } - break; - case 22 : - // InternalCftLanguage.g:1:136: T__34 - { - mT__34(); - - } - break; - case 23 : - // InternalCftLanguage.g:1:142: T__35 - { - mT__35(); - - } - break; - case 24 : - // InternalCftLanguage.g:1:148: T__36 - { - mT__36(); - - } - break; - case 25 : - // InternalCftLanguage.g:1:154: T__37 - { - mT__37(); - - } - break; - case 26 : - // InternalCftLanguage.g:1:160: T__38 - { - mT__38(); - - } - break; - case 27 : - // InternalCftLanguage.g:1:166: T__39 - { - mT__39(); - - } - break; - case 28 : - // InternalCftLanguage.g:1:172: T__40 - { - mT__40(); - - } - break; - case 29 : - // InternalCftLanguage.g:1:178: RULE_OF_INT - { - mRULE_OF_INT(); - - } - break; - case 30 : - // InternalCftLanguage.g:1:190: RULE_T_DOUBLE - { - mRULE_T_DOUBLE(); - - } - break; - case 31 : - // InternalCftLanguage.g:1:204: RULE_ID - { - mRULE_ID(); - - } - break; - case 32 : - // InternalCftLanguage.g:1:212: RULE_INT - { - mRULE_INT(); - - } - break; - case 33 : - // InternalCftLanguage.g:1:221: RULE_STRING - { - mRULE_STRING(); - - } - break; - case 34 : - // InternalCftLanguage.g:1:233: RULE_ML_COMMENT - { - mRULE_ML_COMMENT(); - - } - break; - case 35 : - // InternalCftLanguage.g:1:249: RULE_SL_COMMENT - { - mRULE_SL_COMMENT(); - - } - break; - case 36 : - // InternalCftLanguage.g:1:265: RULE_WS - { - mRULE_WS(); - - } - break; - case 37 : - // InternalCftLanguage.g:1:273: RULE_ANY_OTHER - { - mRULE_ANY_OTHER(); - - } - break; - - } - - } - - - protected DFA8 dfa8 = new DFA8(this); - protected DFA20 dfa20 = new DFA20(this); - static final String DFA8_eotS = - "\3\uffff\1\4\1\uffff"; - static final String DFA8_eofS = - "\5\uffff"; - static final String DFA8_minS = - "\1\56\1\60\1\uffff\1\60\1\uffff"; - static final String DFA8_maxS = - "\1\145\1\71\1\uffff\1\145\1\uffff"; - static final String DFA8_acceptS = - "\2\uffff\1\2\1\uffff\1\1"; - static final String DFA8_specialS = - "\5\uffff}>"; - static final String[] DFA8_transitionS = { - "\1\1\26\uffff\1\2\37\uffff\1\2", - "\12\3", - "", - "\12\3\13\uffff\1\2\37\uffff\1\2", - "" - }; - - static final short[] DFA8_eot = DFA.unpackEncodedString(DFA8_eotS); - static final short[] DFA8_eof = DFA.unpackEncodedString(DFA8_eofS); - static final char[] DFA8_min = DFA.unpackEncodedStringToUnsignedChars(DFA8_minS); - static final char[] DFA8_max = DFA.unpackEncodedStringToUnsignedChars(DFA8_maxS); - static final short[] DFA8_accept = DFA.unpackEncodedString(DFA8_acceptS); - static final short[] DFA8_special = DFA.unpackEncodedString(DFA8_specialS); - static final short[][] DFA8_transition; - - static { - int numStates = DFA8_transitionS.length; - DFA8_transition = new short[numStates][]; - for (int i=0; i"; - static final String[] DFA20_transitionS = { - "\11\34\2\33\2\34\1\33\22\34\1\33\1\34\1\30\4\34\1\31\1\16\1\17\1\22\1\24\1\20\1\34\1\21\1\32\12\25\1\1\1\3\1\34\1\11\3\34\32\27\1\23\2\34\1\26\1\27\1\34\1\13\1\27\1\5\5\27\1\4\2\27\1\12\1\15\1\27\1\10\1\2\3\27\1\14\6\27\1\6\1\34\1\7\uff82\34", - "\1\35", - "\1\36\20\uffff\1\37", - "", - "\1\42\1\43", - "\1\44", - "", - "", - "\1\51\13\uffff\1\50\2\uffff\1\47", - "\1\52", - "\1\54\15\uffff\1\55", - "\1\56\4\uffff\1\57", - "\1\61\2\uffff\1\60", - "\1\62", - "", - "", - "", - "", - "", - "\1\70", - "\1\71", - "\1\72\1\uffff\12\73\13\uffff\1\72\37\uffff\1\72", - "\32\40\4\uffff\1\40\1\uffff\32\40", - "", - "\0\75", - "\0\75", - "\1\76\4\uffff\1\77", - "", - "", - "", - "\1\101", - "\1\102", - "", - "", - "\1\103", - "\12\40\7\uffff\32\40\4\uffff\1\40\1\uffff\32\40", - "\1\105", - "", - "", - "\1\106", - "\12\40\7\uffff\32\40\4\uffff\1\40\1\uffff\32\40", - "\12\111\7\uffff\32\40\4\uffff\1\40\1\uffff\32\40", - "", - "", - "\1\112", - "\1\113", - "\1\114", - "\12\40\7\uffff\32\40\4\uffff\1\40\1\uffff\32\40", - "\1\116", - "\1\117", - "\1\120", - "", - "", - "", - "", - "", - "", - "", - "", - "\1\72\1\uffff\12\73\13\uffff\1\72\37\uffff\1\72", - "", - "", - "", - "", - "", - "\1\121", - "\1\122", - "\1\123", - "", - "\12\40\7\uffff\32\40\4\uffff\1\40\1\uffff\32\40", - "\12\40\7\uffff\32\40\4\uffff\1\40\1\uffff\32\40", - "", - "", - "\12\111\7\uffff\32\40\4\uffff\1\40\1\uffff\32\40", - "\1\127", - "\1\130", - "\12\40\7\uffff\32\40\4\uffff\1\40\1\uffff\32\40", - "", - "\1\132", - "\1\133", - "\1\134", - "\1\135", - "\12\40\7\uffff\32\40\4\uffff\1\40\1\uffff\32\40", - "\1\137", - "", - "", - "", - "\1\140", - "\1\141", - "", - "\1\142", - "\1\143", - "\1\144", - "\1\145", - "", - "\1\146", - "\1\147", - "\1\150", - "\1\151", - "\1\152", - "\1\153", - "\1\154", - "\12\40\7\uffff\32\40\4\uffff\1\40\1\uffff\32\40", - "\12\40\7\uffff\32\40\4\uffff\1\40\1\uffff\32\40", - "\12\40\7\uffff\32\40\4\uffff\1\40\1\uffff\32\40", - "\1\160", - "\1\161", - "\1\162", - "\12\40\7\uffff\32\40\4\uffff\1\40\1\uffff\32\40", - "", - "", - "", - "\1\164", - "\1\165", - "\12\40\7\uffff\32\40\4\uffff\1\40\1\uffff\32\40", - "", - "\1\167", - "\12\40\7\uffff\32\40\4\uffff\1\40\1\uffff\32\40", - "", - "\1\171", - "", - "\1\172", - "\1\173", - "\1\174", - "\1\175", - "\12\40\7\uffff\32\40\4\uffff\1\40\1\uffff\32\40", - "" - }; - - static final short[] DFA20_eot = DFA.unpackEncodedString(DFA20_eotS); - static final short[] DFA20_eof = DFA.unpackEncodedString(DFA20_eofS); - static final char[] DFA20_min = DFA.unpackEncodedStringToUnsignedChars(DFA20_minS); - static final char[] DFA20_max = DFA.unpackEncodedStringToUnsignedChars(DFA20_maxS); - static final short[] DFA20_accept = DFA.unpackEncodedString(DFA20_acceptS); - static final short[] DFA20_special = DFA.unpackEncodedString(DFA20_specialS); - static final short[][] DFA20_transition; - - static { - int numStates = DFA20_transitionS.length; - DFA20_transition = new short[numStates][]; - for (int i=0; i='0' && LA20_0<='9')) ) {s = 21;} - - else if ( (LA20_0=='^') ) {s = 22;} - - else if ( ((LA20_0>='A' && LA20_0<='Z')||LA20_0=='_'||LA20_0=='b'||(LA20_0>='d' && LA20_0<='h')||(LA20_0>='j' && LA20_0<='k')||LA20_0=='n'||(LA20_0>='q' && LA20_0<='s')||(LA20_0>='u' && LA20_0<='z')) ) {s = 23;} - - else if ( (LA20_0=='\"') ) {s = 24;} - - else if ( (LA20_0=='\'') ) {s = 25;} - - else if ( (LA20_0=='/') ) {s = 26;} - - else if ( ((LA20_0>='\t' && LA20_0<='\n')||LA20_0=='\r'||LA20_0==' ') ) {s = 27;} - - else if ( ((LA20_0>='\u0000' && LA20_0<='\b')||(LA20_0>='\u000B' && LA20_0<='\f')||(LA20_0>='\u000E' && LA20_0<='\u001F')||LA20_0=='!'||(LA20_0>='#' && LA20_0<='&')||LA20_0=='-'||LA20_0=='<'||(LA20_0>='>' && LA20_0<='@')||(LA20_0>='\\' && LA20_0<=']')||LA20_0=='`'||LA20_0=='|'||(LA20_0>='~' && LA20_0<='\uFFFF')) ) {s = 28;} - - if ( s>=0 ) return s; - break; - case 1 : - int LA20_25 = input.LA(1); - - s = -1; - if ( ((LA20_25>='\u0000' && LA20_25<='\uFFFF')) ) {s = 61;} - - else s = 28; - - if ( s>=0 ) return s; - break; - case 2 : - int LA20_24 = input.LA(1); - - s = -1; - if ( ((LA20_24>='\u0000' && LA20_24<='\uFFFF')) ) {s = 61;} - - else s = 28; - - if ( s>=0 ) return s; - break; - } - NoViableAltException nvae = - new NoViableAltException(getDescription(), 20, _s, input); - error(nvae); - throw nvae; - } - } - - -} \ No newline at end of file diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/contentassist/antlr/internal/InternalCftLanguageParser.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/contentassist/antlr/internal/InternalCftLanguageParser.java deleted file mode 100644 index df83084b..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/contentassist/antlr/internal/InternalCftLanguageParser.java +++ /dev/null @@ -1,12646 +0,0 @@ -package hu.bme.mit.inf.dslreasoner.faulttree.components.ide.contentassist.antlr.internal; - -import java.io.InputStream; -import org.eclipse.xtext.*; -import org.eclipse.xtext.parser.*; -import org.eclipse.xtext.parser.impl.*; -import org.eclipse.emf.ecore.util.EcoreUtil; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.xtext.parser.antlr.XtextTokenStream; -import org.eclipse.xtext.parser.antlr.XtextTokenStream.HiddenTokens; -import org.eclipse.xtext.ide.editor.contentassist.antlr.internal.AbstractInternalContentAssistParser; -import org.eclipse.xtext.ide.editor.contentassist.antlr.internal.DFA; -import hu.bme.mit.inf.dslreasoner.faulttree.components.services.CftLanguageGrammarAccess; - - - -import org.antlr.runtime.*; -import java.util.Stack; -import java.util.List; -import java.util.ArrayList; - -@SuppressWarnings("all") -public class InternalCftLanguageParser extends AbstractInternalContentAssistParser { - public static final String[] tokenNames = new String[] { - "", "", "", "", "RULE_ID", "RULE_OF_INT", "RULE_INT", "RULE_T_DOUBLE", "RULE_STRING", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "':='", "'package'", "';'", "'import'", "'cft'", "'{'", "'}'", "'in'", "'out'", "'prob'", "'='", "'lambda'", "'and'", "'or'", "'of'", "'transformation'", "'mapping'", "'('", "')'", "','", "'lookup'", "'as'", "'.'", "'=>'", "'*'", "'[]'", "'toplevel'", "'+='" - }; - public static final int RULE_STRING=8; - public static final int RULE_SL_COMMENT=10; - public static final int T__19=19; - public static final int T__15=15; - public static final int T__37=37; - public static final int T__16=16; - public static final int T__38=38; - public static final int T__17=17; - public static final int T__39=39; - public static final int T__18=18; - public static final int T__33=33; - public static final int T__34=34; - public static final int RULE_T_DOUBLE=7; - public static final int T__13=13; - public static final int T__35=35; - public static final int T__14=14; - public static final int T__36=36; - public static final int EOF=-1; - public static final int T__30=30; - public static final int T__31=31; - public static final int T__32=32; - public static final int RULE_OF_INT=5; - public static final int RULE_ID=4; - public static final int RULE_WS=11; - public static final int RULE_ANY_OTHER=12; - public static final int T__26=26; - public static final int T__27=27; - public static final int T__28=28; - public static final int RULE_INT=6; - public static final int T__29=29; - public static final int T__22=22; - public static final int RULE_ML_COMMENT=9; - public static final int T__23=23; - public static final int T__24=24; - public static final int T__25=25; - public static final int T__40=40; - public static final int T__20=20; - public static final int T__21=21; - - // delegates - // delegators - - - public InternalCftLanguageParser(TokenStream input) { - this(input, new RecognizerSharedState()); - } - public InternalCftLanguageParser(TokenStream input, RecognizerSharedState state) { - super(input, state); - - } - - - public String[] getTokenNames() { return InternalCftLanguageParser.tokenNames; } - public String getGrammarFileName() { return "InternalCftLanguage.g"; } - - - private CftLanguageGrammarAccess grammarAccess; - - public void setGrammarAccess(CftLanguageGrammarAccess grammarAccess) { - this.grammarAccess = grammarAccess; - } - - @Override - protected Grammar getGrammar() { - return grammarAccess.getGrammar(); - } - - @Override - protected String getValueForTokenName(String tokenName) { - return tokenName; - } - - - - // $ANTLR start "entryRuleCftModel" - // InternalCftLanguage.g:53:1: entryRuleCftModel : ruleCftModel EOF ; - public final void entryRuleCftModel() throws RecognitionException { - try { - // InternalCftLanguage.g:54:1: ( ruleCftModel EOF ) - // InternalCftLanguage.g:55:1: ruleCftModel EOF - { - before(grammarAccess.getCftModelRule()); - pushFollow(FOLLOW_1); - ruleCftModel(); - - state._fsp--; - - after(grammarAccess.getCftModelRule()); - match(input,EOF,FOLLOW_2); - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRuleCftModel" - - - // $ANTLR start "ruleCftModel" - // InternalCftLanguage.g:62:1: ruleCftModel : ( ( rule__CftModel__Group__0 ) ) ; - public final void ruleCftModel() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:66:2: ( ( ( rule__CftModel__Group__0 ) ) ) - // InternalCftLanguage.g:67:2: ( ( rule__CftModel__Group__0 ) ) - { - // InternalCftLanguage.g:67:2: ( ( rule__CftModel__Group__0 ) ) - // InternalCftLanguage.g:68:3: ( rule__CftModel__Group__0 ) - { - before(grammarAccess.getCftModelAccess().getGroup()); - // InternalCftLanguage.g:69:3: ( rule__CftModel__Group__0 ) - // InternalCftLanguage.g:69:4: rule__CftModel__Group__0 - { - pushFollow(FOLLOW_2); - rule__CftModel__Group__0(); - - state._fsp--; - - - } - - after(grammarAccess.getCftModelAccess().getGroup()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "ruleCftModel" - - - // $ANTLR start "entryRuleImportDeclaration" - // InternalCftLanguage.g:78:1: entryRuleImportDeclaration : ruleImportDeclaration EOF ; - public final void entryRuleImportDeclaration() throws RecognitionException { - try { - // InternalCftLanguage.g:79:1: ( ruleImportDeclaration EOF ) - // InternalCftLanguage.g:80:1: ruleImportDeclaration EOF - { - before(grammarAccess.getImportDeclarationRule()); - pushFollow(FOLLOW_1); - ruleImportDeclaration(); - - state._fsp--; - - after(grammarAccess.getImportDeclarationRule()); - match(input,EOF,FOLLOW_2); - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRuleImportDeclaration" - - - // $ANTLR start "ruleImportDeclaration" - // InternalCftLanguage.g:87:1: ruleImportDeclaration : ( ( rule__ImportDeclaration__Group__0 ) ) ; - public final void ruleImportDeclaration() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:91:2: ( ( ( rule__ImportDeclaration__Group__0 ) ) ) - // InternalCftLanguage.g:92:2: ( ( rule__ImportDeclaration__Group__0 ) ) - { - // InternalCftLanguage.g:92:2: ( ( rule__ImportDeclaration__Group__0 ) ) - // InternalCftLanguage.g:93:3: ( rule__ImportDeclaration__Group__0 ) - { - before(grammarAccess.getImportDeclarationAccess().getGroup()); - // InternalCftLanguage.g:94:3: ( rule__ImportDeclaration__Group__0 ) - // InternalCftLanguage.g:94:4: rule__ImportDeclaration__Group__0 - { - pushFollow(FOLLOW_2); - rule__ImportDeclaration__Group__0(); - - state._fsp--; - - - } - - after(grammarAccess.getImportDeclarationAccess().getGroup()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "ruleImportDeclaration" - - - // $ANTLR start "entryRuleComponentDefinition" - // InternalCftLanguage.g:103:1: entryRuleComponentDefinition : ruleComponentDefinition EOF ; - public final void entryRuleComponentDefinition() throws RecognitionException { - try { - // InternalCftLanguage.g:104:1: ( ruleComponentDefinition EOF ) - // InternalCftLanguage.g:105:1: ruleComponentDefinition EOF - { - before(grammarAccess.getComponentDefinitionRule()); - pushFollow(FOLLOW_1); - ruleComponentDefinition(); - - state._fsp--; - - after(grammarAccess.getComponentDefinitionRule()); - match(input,EOF,FOLLOW_2); - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRuleComponentDefinition" - - - // $ANTLR start "ruleComponentDefinition" - // InternalCftLanguage.g:112:1: ruleComponentDefinition : ( ( rule__ComponentDefinition__Group__0 ) ) ; - public final void ruleComponentDefinition() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:116:2: ( ( ( rule__ComponentDefinition__Group__0 ) ) ) - // InternalCftLanguage.g:117:2: ( ( rule__ComponentDefinition__Group__0 ) ) - { - // InternalCftLanguage.g:117:2: ( ( rule__ComponentDefinition__Group__0 ) ) - // InternalCftLanguage.g:118:3: ( rule__ComponentDefinition__Group__0 ) - { - before(grammarAccess.getComponentDefinitionAccess().getGroup()); - // InternalCftLanguage.g:119:3: ( rule__ComponentDefinition__Group__0 ) - // InternalCftLanguage.g:119:4: rule__ComponentDefinition__Group__0 - { - pushFollow(FOLLOW_2); - rule__ComponentDefinition__Group__0(); - - state._fsp--; - - - } - - after(grammarAccess.getComponentDefinitionAccess().getGroup()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "ruleComponentDefinition" - - - // $ANTLR start "entryRuleInputEvent" - // InternalCftLanguage.g:128:1: entryRuleInputEvent : ruleInputEvent EOF ; - public final void entryRuleInputEvent() throws RecognitionException { - try { - // InternalCftLanguage.g:129:1: ( ruleInputEvent EOF ) - // InternalCftLanguage.g:130:1: ruleInputEvent EOF - { - before(grammarAccess.getInputEventRule()); - pushFollow(FOLLOW_1); - ruleInputEvent(); - - state._fsp--; - - after(grammarAccess.getInputEventRule()); - match(input,EOF,FOLLOW_2); - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRuleInputEvent" - - - // $ANTLR start "ruleInputEvent" - // InternalCftLanguage.g:137:1: ruleInputEvent : ( ( rule__InputEvent__Group__0 ) ) ; - public final void ruleInputEvent() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:141:2: ( ( ( rule__InputEvent__Group__0 ) ) ) - // InternalCftLanguage.g:142:2: ( ( rule__InputEvent__Group__0 ) ) - { - // InternalCftLanguage.g:142:2: ( ( rule__InputEvent__Group__0 ) ) - // InternalCftLanguage.g:143:3: ( rule__InputEvent__Group__0 ) - { - before(grammarAccess.getInputEventAccess().getGroup()); - // InternalCftLanguage.g:144:3: ( rule__InputEvent__Group__0 ) - // InternalCftLanguage.g:144:4: rule__InputEvent__Group__0 - { - pushFollow(FOLLOW_2); - rule__InputEvent__Group__0(); - - state._fsp--; - - - } - - after(grammarAccess.getInputEventAccess().getGroup()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "ruleInputEvent" - - - // $ANTLR start "entryRuleEventDefinition" - // InternalCftLanguage.g:153:1: entryRuleEventDefinition : ruleEventDefinition EOF ; - public final void entryRuleEventDefinition() throws RecognitionException { - try { - // InternalCftLanguage.g:154:1: ( ruleEventDefinition EOF ) - // InternalCftLanguage.g:155:1: ruleEventDefinition EOF - { - before(grammarAccess.getEventDefinitionRule()); - pushFollow(FOLLOW_1); - ruleEventDefinition(); - - state._fsp--; - - after(grammarAccess.getEventDefinitionRule()); - match(input,EOF,FOLLOW_2); - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRuleEventDefinition" - - - // $ANTLR start "ruleEventDefinition" - // InternalCftLanguage.g:162:1: ruleEventDefinition : ( ( rule__EventDefinition__Alternatives ) ) ; - public final void ruleEventDefinition() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:166:2: ( ( ( rule__EventDefinition__Alternatives ) ) ) - // InternalCftLanguage.g:167:2: ( ( rule__EventDefinition__Alternatives ) ) - { - // InternalCftLanguage.g:167:2: ( ( rule__EventDefinition__Alternatives ) ) - // InternalCftLanguage.g:168:3: ( rule__EventDefinition__Alternatives ) - { - before(grammarAccess.getEventDefinitionAccess().getAlternatives()); - // InternalCftLanguage.g:169:3: ( rule__EventDefinition__Alternatives ) - // InternalCftLanguage.g:169:4: rule__EventDefinition__Alternatives - { - pushFollow(FOLLOW_2); - rule__EventDefinition__Alternatives(); - - state._fsp--; - - - } - - after(grammarAccess.getEventDefinitionAccess().getAlternatives()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "ruleEventDefinition" - - - // $ANTLR start "entryRuleBasicEventDefinition" - // InternalCftLanguage.g:178:1: entryRuleBasicEventDefinition : ruleBasicEventDefinition EOF ; - public final void entryRuleBasicEventDefinition() throws RecognitionException { - try { - // InternalCftLanguage.g:179:1: ( ruleBasicEventDefinition EOF ) - // InternalCftLanguage.g:180:1: ruleBasicEventDefinition EOF - { - before(grammarAccess.getBasicEventDefinitionRule()); - pushFollow(FOLLOW_1); - ruleBasicEventDefinition(); - - state._fsp--; - - after(grammarAccess.getBasicEventDefinitionRule()); - match(input,EOF,FOLLOW_2); - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRuleBasicEventDefinition" - - - // $ANTLR start "ruleBasicEventDefinition" - // InternalCftLanguage.g:187:1: ruleBasicEventDefinition : ( ( rule__BasicEventDefinition__Group__0 ) ) ; - public final void ruleBasicEventDefinition() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:191:2: ( ( ( rule__BasicEventDefinition__Group__0 ) ) ) - // InternalCftLanguage.g:192:2: ( ( rule__BasicEventDefinition__Group__0 ) ) - { - // InternalCftLanguage.g:192:2: ( ( rule__BasicEventDefinition__Group__0 ) ) - // InternalCftLanguage.g:193:3: ( rule__BasicEventDefinition__Group__0 ) - { - before(grammarAccess.getBasicEventDefinitionAccess().getGroup()); - // InternalCftLanguage.g:194:3: ( rule__BasicEventDefinition__Group__0 ) - // InternalCftLanguage.g:194:4: rule__BasicEventDefinition__Group__0 - { - pushFollow(FOLLOW_2); - rule__BasicEventDefinition__Group__0(); - - state._fsp--; - - - } - - after(grammarAccess.getBasicEventDefinitionAccess().getGroup()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "ruleBasicEventDefinition" - - - // $ANTLR start "entryRuleDistribution" - // InternalCftLanguage.g:203:1: entryRuleDistribution : ruleDistribution EOF ; - public final void entryRuleDistribution() throws RecognitionException { - try { - // InternalCftLanguage.g:204:1: ( ruleDistribution EOF ) - // InternalCftLanguage.g:205:1: ruleDistribution EOF - { - before(grammarAccess.getDistributionRule()); - pushFollow(FOLLOW_1); - ruleDistribution(); - - state._fsp--; - - after(grammarAccess.getDistributionRule()); - match(input,EOF,FOLLOW_2); - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRuleDistribution" - - - // $ANTLR start "ruleDistribution" - // InternalCftLanguage.g:212:1: ruleDistribution : ( ( rule__Distribution__Alternatives ) ) ; - public final void ruleDistribution() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:216:2: ( ( ( rule__Distribution__Alternatives ) ) ) - // InternalCftLanguage.g:217:2: ( ( rule__Distribution__Alternatives ) ) - { - // InternalCftLanguage.g:217:2: ( ( rule__Distribution__Alternatives ) ) - // InternalCftLanguage.g:218:3: ( rule__Distribution__Alternatives ) - { - before(grammarAccess.getDistributionAccess().getAlternatives()); - // InternalCftLanguage.g:219:3: ( rule__Distribution__Alternatives ) - // InternalCftLanguage.g:219:4: rule__Distribution__Alternatives - { - pushFollow(FOLLOW_2); - rule__Distribution__Alternatives(); - - state._fsp--; - - - } - - after(grammarAccess.getDistributionAccess().getAlternatives()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "ruleDistribution" - - - // $ANTLR start "entryRuleConstantDistribution" - // InternalCftLanguage.g:228:1: entryRuleConstantDistribution : ruleConstantDistribution EOF ; - public final void entryRuleConstantDistribution() throws RecognitionException { - try { - // InternalCftLanguage.g:229:1: ( ruleConstantDistribution EOF ) - // InternalCftLanguage.g:230:1: ruleConstantDistribution EOF - { - before(grammarAccess.getConstantDistributionRule()); - pushFollow(FOLLOW_1); - ruleConstantDistribution(); - - state._fsp--; - - after(grammarAccess.getConstantDistributionRule()); - match(input,EOF,FOLLOW_2); - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRuleConstantDistribution" - - - // $ANTLR start "ruleConstantDistribution" - // InternalCftLanguage.g:237:1: ruleConstantDistribution : ( ( rule__ConstantDistribution__Group__0 ) ) ; - public final void ruleConstantDistribution() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:241:2: ( ( ( rule__ConstantDistribution__Group__0 ) ) ) - // InternalCftLanguage.g:242:2: ( ( rule__ConstantDistribution__Group__0 ) ) - { - // InternalCftLanguage.g:242:2: ( ( rule__ConstantDistribution__Group__0 ) ) - // InternalCftLanguage.g:243:3: ( rule__ConstantDistribution__Group__0 ) - { - before(grammarAccess.getConstantDistributionAccess().getGroup()); - // InternalCftLanguage.g:244:3: ( rule__ConstantDistribution__Group__0 ) - // InternalCftLanguage.g:244:4: rule__ConstantDistribution__Group__0 - { - pushFollow(FOLLOW_2); - rule__ConstantDistribution__Group__0(); - - state._fsp--; - - - } - - after(grammarAccess.getConstantDistributionAccess().getGroup()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "ruleConstantDistribution" - - - // $ANTLR start "entryRuleExponentialDistribution" - // InternalCftLanguage.g:253:1: entryRuleExponentialDistribution : ruleExponentialDistribution EOF ; - public final void entryRuleExponentialDistribution() throws RecognitionException { - try { - // InternalCftLanguage.g:254:1: ( ruleExponentialDistribution EOF ) - // InternalCftLanguage.g:255:1: ruleExponentialDistribution EOF - { - before(grammarAccess.getExponentialDistributionRule()); - pushFollow(FOLLOW_1); - ruleExponentialDistribution(); - - state._fsp--; - - after(grammarAccess.getExponentialDistributionRule()); - match(input,EOF,FOLLOW_2); - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRuleExponentialDistribution" - - - // $ANTLR start "ruleExponentialDistribution" - // InternalCftLanguage.g:262:1: ruleExponentialDistribution : ( ( rule__ExponentialDistribution__Group__0 ) ) ; - public final void ruleExponentialDistribution() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:266:2: ( ( ( rule__ExponentialDistribution__Group__0 ) ) ) - // InternalCftLanguage.g:267:2: ( ( rule__ExponentialDistribution__Group__0 ) ) - { - // InternalCftLanguage.g:267:2: ( ( rule__ExponentialDistribution__Group__0 ) ) - // InternalCftLanguage.g:268:3: ( rule__ExponentialDistribution__Group__0 ) - { - before(grammarAccess.getExponentialDistributionAccess().getGroup()); - // InternalCftLanguage.g:269:3: ( rule__ExponentialDistribution__Group__0 ) - // InternalCftLanguage.g:269:4: rule__ExponentialDistribution__Group__0 - { - pushFollow(FOLLOW_2); - rule__ExponentialDistribution__Group__0(); - - state._fsp--; - - - } - - after(grammarAccess.getExponentialDistributionAccess().getGroup()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "ruleExponentialDistribution" - - - // $ANTLR start "entryRuleGateDefinition" - // InternalCftLanguage.g:278:1: entryRuleGateDefinition : ruleGateDefinition EOF ; - public final void entryRuleGateDefinition() throws RecognitionException { - try { - // InternalCftLanguage.g:279:1: ( ruleGateDefinition EOF ) - // InternalCftLanguage.g:280:1: ruleGateDefinition EOF - { - before(grammarAccess.getGateDefinitionRule()); - pushFollow(FOLLOW_1); - ruleGateDefinition(); - - state._fsp--; - - after(grammarAccess.getGateDefinitionRule()); - match(input,EOF,FOLLOW_2); - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRuleGateDefinition" - - - // $ANTLR start "ruleGateDefinition" - // InternalCftLanguage.g:287:1: ruleGateDefinition : ( ( rule__GateDefinition__Alternatives ) ) ; - public final void ruleGateDefinition() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:291:2: ( ( ( rule__GateDefinition__Alternatives ) ) ) - // InternalCftLanguage.g:292:2: ( ( rule__GateDefinition__Alternatives ) ) - { - // InternalCftLanguage.g:292:2: ( ( rule__GateDefinition__Alternatives ) ) - // InternalCftLanguage.g:293:3: ( rule__GateDefinition__Alternatives ) - { - before(grammarAccess.getGateDefinitionAccess().getAlternatives()); - // InternalCftLanguage.g:294:3: ( rule__GateDefinition__Alternatives ) - // InternalCftLanguage.g:294:4: rule__GateDefinition__Alternatives - { - pushFollow(FOLLOW_2); - rule__GateDefinition__Alternatives(); - - state._fsp--; - - - } - - after(grammarAccess.getGateDefinitionAccess().getAlternatives()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "ruleGateDefinition" - - - // $ANTLR start "entryRuleAndGateDefinition" - // InternalCftLanguage.g:303:1: entryRuleAndGateDefinition : ruleAndGateDefinition EOF ; - public final void entryRuleAndGateDefinition() throws RecognitionException { - try { - // InternalCftLanguage.g:304:1: ( ruleAndGateDefinition EOF ) - // InternalCftLanguage.g:305:1: ruleAndGateDefinition EOF - { - before(grammarAccess.getAndGateDefinitionRule()); - pushFollow(FOLLOW_1); - ruleAndGateDefinition(); - - state._fsp--; - - after(grammarAccess.getAndGateDefinitionRule()); - match(input,EOF,FOLLOW_2); - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRuleAndGateDefinition" - - - // $ANTLR start "ruleAndGateDefinition" - // InternalCftLanguage.g:312:1: ruleAndGateDefinition : ( ( rule__AndGateDefinition__Group__0 ) ) ; - public final void ruleAndGateDefinition() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:316:2: ( ( ( rule__AndGateDefinition__Group__0 ) ) ) - // InternalCftLanguage.g:317:2: ( ( rule__AndGateDefinition__Group__0 ) ) - { - // InternalCftLanguage.g:317:2: ( ( rule__AndGateDefinition__Group__0 ) ) - // InternalCftLanguage.g:318:3: ( rule__AndGateDefinition__Group__0 ) - { - before(grammarAccess.getAndGateDefinitionAccess().getGroup()); - // InternalCftLanguage.g:319:3: ( rule__AndGateDefinition__Group__0 ) - // InternalCftLanguage.g:319:4: rule__AndGateDefinition__Group__0 - { - pushFollow(FOLLOW_2); - rule__AndGateDefinition__Group__0(); - - state._fsp--; - - - } - - after(grammarAccess.getAndGateDefinitionAccess().getGroup()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "ruleAndGateDefinition" - - - // $ANTLR start "entryRuleOrGateDefinition" - // InternalCftLanguage.g:328:1: entryRuleOrGateDefinition : ruleOrGateDefinition EOF ; - public final void entryRuleOrGateDefinition() throws RecognitionException { - try { - // InternalCftLanguage.g:329:1: ( ruleOrGateDefinition EOF ) - // InternalCftLanguage.g:330:1: ruleOrGateDefinition EOF - { - before(grammarAccess.getOrGateDefinitionRule()); - pushFollow(FOLLOW_1); - ruleOrGateDefinition(); - - state._fsp--; - - after(grammarAccess.getOrGateDefinitionRule()); - match(input,EOF,FOLLOW_2); - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRuleOrGateDefinition" - - - // $ANTLR start "ruleOrGateDefinition" - // InternalCftLanguage.g:337:1: ruleOrGateDefinition : ( ( rule__OrGateDefinition__Group__0 ) ) ; - public final void ruleOrGateDefinition() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:341:2: ( ( ( rule__OrGateDefinition__Group__0 ) ) ) - // InternalCftLanguage.g:342:2: ( ( rule__OrGateDefinition__Group__0 ) ) - { - // InternalCftLanguage.g:342:2: ( ( rule__OrGateDefinition__Group__0 ) ) - // InternalCftLanguage.g:343:3: ( rule__OrGateDefinition__Group__0 ) - { - before(grammarAccess.getOrGateDefinitionAccess().getGroup()); - // InternalCftLanguage.g:344:3: ( rule__OrGateDefinition__Group__0 ) - // InternalCftLanguage.g:344:4: rule__OrGateDefinition__Group__0 - { - pushFollow(FOLLOW_2); - rule__OrGateDefinition__Group__0(); - - state._fsp--; - - - } - - after(grammarAccess.getOrGateDefinitionAccess().getGroup()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "ruleOrGateDefinition" - - - // $ANTLR start "entryRuleKOfMGateDefinition" - // InternalCftLanguage.g:353:1: entryRuleKOfMGateDefinition : ruleKOfMGateDefinition EOF ; - public final void entryRuleKOfMGateDefinition() throws RecognitionException { - try { - // InternalCftLanguage.g:354:1: ( ruleKOfMGateDefinition EOF ) - // InternalCftLanguage.g:355:1: ruleKOfMGateDefinition EOF - { - before(grammarAccess.getKOfMGateDefinitionRule()); - pushFollow(FOLLOW_1); - ruleKOfMGateDefinition(); - - state._fsp--; - - after(grammarAccess.getKOfMGateDefinitionRule()); - match(input,EOF,FOLLOW_2); - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRuleKOfMGateDefinition" - - - // $ANTLR start "ruleKOfMGateDefinition" - // InternalCftLanguage.g:362:1: ruleKOfMGateDefinition : ( ( rule__KOfMGateDefinition__Group__0 ) ) ; - public final void ruleKOfMGateDefinition() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:366:2: ( ( ( rule__KOfMGateDefinition__Group__0 ) ) ) - // InternalCftLanguage.g:367:2: ( ( rule__KOfMGateDefinition__Group__0 ) ) - { - // InternalCftLanguage.g:367:2: ( ( rule__KOfMGateDefinition__Group__0 ) ) - // InternalCftLanguage.g:368:3: ( rule__KOfMGateDefinition__Group__0 ) - { - before(grammarAccess.getKOfMGateDefinitionAccess().getGroup()); - // InternalCftLanguage.g:369:3: ( rule__KOfMGateDefinition__Group__0 ) - // InternalCftLanguage.g:369:4: rule__KOfMGateDefinition__Group__0 - { - pushFollow(FOLLOW_2); - rule__KOfMGateDefinition__Group__0(); - - state._fsp--; - - - } - - after(grammarAccess.getKOfMGateDefinitionAccess().getGroup()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "ruleKOfMGateDefinition" - - - // $ANTLR start "entryRuleTransformationDefinition" - // InternalCftLanguage.g:378:1: entryRuleTransformationDefinition : ruleTransformationDefinition EOF ; - public final void entryRuleTransformationDefinition() throws RecognitionException { - try { - // InternalCftLanguage.g:379:1: ( ruleTransformationDefinition EOF ) - // InternalCftLanguage.g:380:1: ruleTransformationDefinition EOF - { - before(grammarAccess.getTransformationDefinitionRule()); - pushFollow(FOLLOW_1); - ruleTransformationDefinition(); - - state._fsp--; - - after(grammarAccess.getTransformationDefinitionRule()); - match(input,EOF,FOLLOW_2); - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRuleTransformationDefinition" - - - // $ANTLR start "ruleTransformationDefinition" - // InternalCftLanguage.g:387:1: ruleTransformationDefinition : ( ( rule__TransformationDefinition__Group__0 ) ) ; - public final void ruleTransformationDefinition() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:391:2: ( ( ( rule__TransformationDefinition__Group__0 ) ) ) - // InternalCftLanguage.g:392:2: ( ( rule__TransformationDefinition__Group__0 ) ) - { - // InternalCftLanguage.g:392:2: ( ( rule__TransformationDefinition__Group__0 ) ) - // InternalCftLanguage.g:393:3: ( rule__TransformationDefinition__Group__0 ) - { - before(grammarAccess.getTransformationDefinitionAccess().getGroup()); - // InternalCftLanguage.g:394:3: ( rule__TransformationDefinition__Group__0 ) - // InternalCftLanguage.g:394:4: rule__TransformationDefinition__Group__0 - { - pushFollow(FOLLOW_2); - rule__TransformationDefinition__Group__0(); - - state._fsp--; - - - } - - after(grammarAccess.getTransformationDefinitionAccess().getGroup()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "ruleTransformationDefinition" - - - // $ANTLR start "entryRuleMappingDefinition" - // InternalCftLanguage.g:403:1: entryRuleMappingDefinition : ruleMappingDefinition EOF ; - public final void entryRuleMappingDefinition() throws RecognitionException { - try { - // InternalCftLanguage.g:404:1: ( ruleMappingDefinition EOF ) - // InternalCftLanguage.g:405:1: ruleMappingDefinition EOF - { - before(grammarAccess.getMappingDefinitionRule()); - pushFollow(FOLLOW_1); - ruleMappingDefinition(); - - state._fsp--; - - after(grammarAccess.getMappingDefinitionRule()); - match(input,EOF,FOLLOW_2); - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRuleMappingDefinition" - - - // $ANTLR start "ruleMappingDefinition" - // InternalCftLanguage.g:412:1: ruleMappingDefinition : ( ( rule__MappingDefinition__Group__0 ) ) ; - public final void ruleMappingDefinition() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:416:2: ( ( ( rule__MappingDefinition__Group__0 ) ) ) - // InternalCftLanguage.g:417:2: ( ( rule__MappingDefinition__Group__0 ) ) - { - // InternalCftLanguage.g:417:2: ( ( rule__MappingDefinition__Group__0 ) ) - // InternalCftLanguage.g:418:3: ( rule__MappingDefinition__Group__0 ) - { - before(grammarAccess.getMappingDefinitionAccess().getGroup()); - // InternalCftLanguage.g:419:3: ( rule__MappingDefinition__Group__0 ) - // InternalCftLanguage.g:419:4: rule__MappingDefinition__Group__0 - { - pushFollow(FOLLOW_2); - rule__MappingDefinition__Group__0(); - - state._fsp--; - - - } - - after(grammarAccess.getMappingDefinitionAccess().getGroup()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "ruleMappingDefinition" - - - // $ANTLR start "entryRuleMappingParameter" - // InternalCftLanguage.g:428:1: entryRuleMappingParameter : ruleMappingParameter EOF ; - public final void entryRuleMappingParameter() throws RecognitionException { - try { - // InternalCftLanguage.g:429:1: ( ruleMappingParameter EOF ) - // InternalCftLanguage.g:430:1: ruleMappingParameter EOF - { - before(grammarAccess.getMappingParameterRule()); - pushFollow(FOLLOW_1); - ruleMappingParameter(); - - state._fsp--; - - after(grammarAccess.getMappingParameterRule()); - match(input,EOF,FOLLOW_2); - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRuleMappingParameter" - - - // $ANTLR start "ruleMappingParameter" - // InternalCftLanguage.g:437:1: ruleMappingParameter : ( ( rule__MappingParameter__NameAssignment ) ) ; - public final void ruleMappingParameter() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:441:2: ( ( ( rule__MappingParameter__NameAssignment ) ) ) - // InternalCftLanguage.g:442:2: ( ( rule__MappingParameter__NameAssignment ) ) - { - // InternalCftLanguage.g:442:2: ( ( rule__MappingParameter__NameAssignment ) ) - // InternalCftLanguage.g:443:3: ( rule__MappingParameter__NameAssignment ) - { - before(grammarAccess.getMappingParameterAccess().getNameAssignment()); - // InternalCftLanguage.g:444:3: ( rule__MappingParameter__NameAssignment ) - // InternalCftLanguage.g:444:4: rule__MappingParameter__NameAssignment - { - pushFollow(FOLLOW_2); - rule__MappingParameter__NameAssignment(); - - state._fsp--; - - - } - - after(grammarAccess.getMappingParameterAccess().getNameAssignment()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "ruleMappingParameter" - - - // $ANTLR start "entryRuleLookupDefinition" - // InternalCftLanguage.g:453:1: entryRuleLookupDefinition : ruleLookupDefinition EOF ; - public final void entryRuleLookupDefinition() throws RecognitionException { - try { - // InternalCftLanguage.g:454:1: ( ruleLookupDefinition EOF ) - // InternalCftLanguage.g:455:1: ruleLookupDefinition EOF - { - before(grammarAccess.getLookupDefinitionRule()); - pushFollow(FOLLOW_1); - ruleLookupDefinition(); - - state._fsp--; - - after(grammarAccess.getLookupDefinitionRule()); - match(input,EOF,FOLLOW_2); - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRuleLookupDefinition" - - - // $ANTLR start "ruleLookupDefinition" - // InternalCftLanguage.g:462:1: ruleLookupDefinition : ( ( rule__LookupDefinition__Group__0 ) ) ; - public final void ruleLookupDefinition() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:466:2: ( ( ( rule__LookupDefinition__Group__0 ) ) ) - // InternalCftLanguage.g:467:2: ( ( rule__LookupDefinition__Group__0 ) ) - { - // InternalCftLanguage.g:467:2: ( ( rule__LookupDefinition__Group__0 ) ) - // InternalCftLanguage.g:468:3: ( rule__LookupDefinition__Group__0 ) - { - before(grammarAccess.getLookupDefinitionAccess().getGroup()); - // InternalCftLanguage.g:469:3: ( rule__LookupDefinition__Group__0 ) - // InternalCftLanguage.g:469:4: rule__LookupDefinition__Group__0 - { - pushFollow(FOLLOW_2); - rule__LookupDefinition__Group__0(); - - state._fsp--; - - - } - - after(grammarAccess.getLookupDefinitionAccess().getGroup()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "ruleLookupDefinition" - - - // $ANTLR start "entryRuleAssignment" - // InternalCftLanguage.g:478:1: entryRuleAssignment : ruleAssignment EOF ; - public final void entryRuleAssignment() throws RecognitionException { - try { - // InternalCftLanguage.g:479:1: ( ruleAssignment EOF ) - // InternalCftLanguage.g:480:1: ruleAssignment EOF - { - before(grammarAccess.getAssignmentRule()); - pushFollow(FOLLOW_1); - ruleAssignment(); - - state._fsp--; - - after(grammarAccess.getAssignmentRule()); - match(input,EOF,FOLLOW_2); - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRuleAssignment" - - - // $ANTLR start "ruleAssignment" - // InternalCftLanguage.g:487:1: ruleAssignment : ( ( rule__Assignment__Group__0 ) ) ; - public final void ruleAssignment() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:491:2: ( ( ( rule__Assignment__Group__0 ) ) ) - // InternalCftLanguage.g:492:2: ( ( rule__Assignment__Group__0 ) ) - { - // InternalCftLanguage.g:492:2: ( ( rule__Assignment__Group__0 ) ) - // InternalCftLanguage.g:493:3: ( rule__Assignment__Group__0 ) - { - before(grammarAccess.getAssignmentAccess().getGroup()); - // InternalCftLanguage.g:494:3: ( rule__Assignment__Group__0 ) - // InternalCftLanguage.g:494:4: rule__Assignment__Group__0 - { - pushFollow(FOLLOW_2); - rule__Assignment__Group__0(); - - state._fsp--; - - - } - - after(grammarAccess.getAssignmentAccess().getGroup()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "ruleAssignment" - - - // $ANTLR start "entryRuleEventReference" - // InternalCftLanguage.g:503:1: entryRuleEventReference : ruleEventReference EOF ; - public final void entryRuleEventReference() throws RecognitionException { - try { - // InternalCftLanguage.g:504:1: ( ruleEventReference EOF ) - // InternalCftLanguage.g:505:1: ruleEventReference EOF - { - before(grammarAccess.getEventReferenceRule()); - pushFollow(FOLLOW_1); - ruleEventReference(); - - state._fsp--; - - after(grammarAccess.getEventReferenceRule()); - match(input,EOF,FOLLOW_2); - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRuleEventReference" - - - // $ANTLR start "ruleEventReference" - // InternalCftLanguage.g:512:1: ruleEventReference : ( ( rule__EventReference__Group__0 ) ) ; - public final void ruleEventReference() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:516:2: ( ( ( rule__EventReference__Group__0 ) ) ) - // InternalCftLanguage.g:517:2: ( ( rule__EventReference__Group__0 ) ) - { - // InternalCftLanguage.g:517:2: ( ( rule__EventReference__Group__0 ) ) - // InternalCftLanguage.g:518:3: ( rule__EventReference__Group__0 ) - { - before(grammarAccess.getEventReferenceAccess().getGroup()); - // InternalCftLanguage.g:519:3: ( rule__EventReference__Group__0 ) - // InternalCftLanguage.g:519:4: rule__EventReference__Group__0 - { - pushFollow(FOLLOW_2); - rule__EventReference__Group__0(); - - state._fsp--; - - - } - - after(grammarAccess.getEventReferenceAccess().getGroup()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "ruleEventReference" - - - // $ANTLR start "entryRuleComponentInstance" - // InternalCftLanguage.g:528:1: entryRuleComponentInstance : ruleComponentInstance EOF ; - public final void entryRuleComponentInstance() throws RecognitionException { - try { - // InternalCftLanguage.g:529:1: ( ruleComponentInstance EOF ) - // InternalCftLanguage.g:530:1: ruleComponentInstance EOF - { - before(grammarAccess.getComponentInstanceRule()); - pushFollow(FOLLOW_1); - ruleComponentInstance(); - - state._fsp--; - - after(grammarAccess.getComponentInstanceRule()); - match(input,EOF,FOLLOW_2); - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRuleComponentInstance" - - - // $ANTLR start "ruleComponentInstance" - // InternalCftLanguage.g:537:1: ruleComponentInstance : ( ( rule__ComponentInstance__Group__0 ) ) ; - public final void ruleComponentInstance() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:541:2: ( ( ( rule__ComponentInstance__Group__0 ) ) ) - // InternalCftLanguage.g:542:2: ( ( rule__ComponentInstance__Group__0 ) ) - { - // InternalCftLanguage.g:542:2: ( ( rule__ComponentInstance__Group__0 ) ) - // InternalCftLanguage.g:543:3: ( rule__ComponentInstance__Group__0 ) - { - before(grammarAccess.getComponentInstanceAccess().getGroup()); - // InternalCftLanguage.g:544:3: ( rule__ComponentInstance__Group__0 ) - // InternalCftLanguage.g:544:4: rule__ComponentInstance__Group__0 - { - pushFollow(FOLLOW_2); - rule__ComponentInstance__Group__0(); - - state._fsp--; - - - } - - after(grammarAccess.getComponentInstanceAccess().getGroup()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "ruleComponentInstance" - - - // $ANTLR start "entryRuleQualifiedName" - // InternalCftLanguage.g:553:1: entryRuleQualifiedName : ruleQualifiedName EOF ; - public final void entryRuleQualifiedName() throws RecognitionException { - try { - // InternalCftLanguage.g:554:1: ( ruleQualifiedName EOF ) - // InternalCftLanguage.g:555:1: ruleQualifiedName EOF - { - before(grammarAccess.getQualifiedNameRule()); - pushFollow(FOLLOW_1); - ruleQualifiedName(); - - state._fsp--; - - after(grammarAccess.getQualifiedNameRule()); - match(input,EOF,FOLLOW_2); - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRuleQualifiedName" - - - // $ANTLR start "ruleQualifiedName" - // InternalCftLanguage.g:562:1: ruleQualifiedName : ( ( rule__QualifiedName__Group__0 ) ) ; - public final void ruleQualifiedName() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:566:2: ( ( ( rule__QualifiedName__Group__0 ) ) ) - // InternalCftLanguage.g:567:2: ( ( rule__QualifiedName__Group__0 ) ) - { - // InternalCftLanguage.g:567:2: ( ( rule__QualifiedName__Group__0 ) ) - // InternalCftLanguage.g:568:3: ( rule__QualifiedName__Group__0 ) - { - before(grammarAccess.getQualifiedNameAccess().getGroup()); - // InternalCftLanguage.g:569:3: ( rule__QualifiedName__Group__0 ) - // InternalCftLanguage.g:569:4: rule__QualifiedName__Group__0 - { - pushFollow(FOLLOW_2); - rule__QualifiedName__Group__0(); - - state._fsp--; - - - } - - after(grammarAccess.getQualifiedNameAccess().getGroup()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "ruleQualifiedName" - - - // $ANTLR start "entryRuleQualifiedNameWithWildcard" - // InternalCftLanguage.g:578:1: entryRuleQualifiedNameWithWildcard : ruleQualifiedNameWithWildcard EOF ; - public final void entryRuleQualifiedNameWithWildcard() throws RecognitionException { - try { - // InternalCftLanguage.g:579:1: ( ruleQualifiedNameWithWildcard EOF ) - // InternalCftLanguage.g:580:1: ruleQualifiedNameWithWildcard EOF - { - before(grammarAccess.getQualifiedNameWithWildcardRule()); - pushFollow(FOLLOW_1); - ruleQualifiedNameWithWildcard(); - - state._fsp--; - - after(grammarAccess.getQualifiedNameWithWildcardRule()); - match(input,EOF,FOLLOW_2); - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRuleQualifiedNameWithWildcard" - - - // $ANTLR start "ruleQualifiedNameWithWildcard" - // InternalCftLanguage.g:587:1: ruleQualifiedNameWithWildcard : ( ( rule__QualifiedNameWithWildcard__Group__0 ) ) ; - public final void ruleQualifiedNameWithWildcard() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:591:2: ( ( ( rule__QualifiedNameWithWildcard__Group__0 ) ) ) - // InternalCftLanguage.g:592:2: ( ( rule__QualifiedNameWithWildcard__Group__0 ) ) - { - // InternalCftLanguage.g:592:2: ( ( rule__QualifiedNameWithWildcard__Group__0 ) ) - // InternalCftLanguage.g:593:3: ( rule__QualifiedNameWithWildcard__Group__0 ) - { - before(grammarAccess.getQualifiedNameWithWildcardAccess().getGroup()); - // InternalCftLanguage.g:594:3: ( rule__QualifiedNameWithWildcard__Group__0 ) - // InternalCftLanguage.g:594:4: rule__QualifiedNameWithWildcard__Group__0 - { - pushFollow(FOLLOW_2); - rule__QualifiedNameWithWildcard__Group__0(); - - state._fsp--; - - - } - - after(grammarAccess.getQualifiedNameWithWildcardAccess().getGroup()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "ruleQualifiedNameWithWildcard" - - - // $ANTLR start "entryRuleValidId" - // InternalCftLanguage.g:603:1: entryRuleValidId : ruleValidId EOF ; - public final void entryRuleValidId() throws RecognitionException { - try { - // InternalCftLanguage.g:604:1: ( ruleValidId EOF ) - // InternalCftLanguage.g:605:1: ruleValidId EOF - { - before(grammarAccess.getValidIdRule()); - pushFollow(FOLLOW_1); - ruleValidId(); - - state._fsp--; - - after(grammarAccess.getValidIdRule()); - match(input,EOF,FOLLOW_2); - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRuleValidId" - - - // $ANTLR start "ruleValidId" - // InternalCftLanguage.g:612:1: ruleValidId : ( ( rule__ValidId__Alternatives ) ) ; - public final void ruleValidId() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:616:2: ( ( ( rule__ValidId__Alternatives ) ) ) - // InternalCftLanguage.g:617:2: ( ( rule__ValidId__Alternatives ) ) - { - // InternalCftLanguage.g:617:2: ( ( rule__ValidId__Alternatives ) ) - // InternalCftLanguage.g:618:3: ( rule__ValidId__Alternatives ) - { - before(grammarAccess.getValidIdAccess().getAlternatives()); - // InternalCftLanguage.g:619:3: ( rule__ValidId__Alternatives ) - // InternalCftLanguage.g:619:4: rule__ValidId__Alternatives - { - pushFollow(FOLLOW_2); - rule__ValidId__Alternatives(); - - state._fsp--; - - - } - - after(grammarAccess.getValidIdAccess().getAlternatives()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "ruleValidId" - - - // $ANTLR start "entryRuleDouble" - // InternalCftLanguage.g:628:1: entryRuleDouble : ruleDouble EOF ; - public final void entryRuleDouble() throws RecognitionException { - try { - // InternalCftLanguage.g:629:1: ( ruleDouble EOF ) - // InternalCftLanguage.g:630:1: ruleDouble EOF - { - before(grammarAccess.getDoubleRule()); - pushFollow(FOLLOW_1); - ruleDouble(); - - state._fsp--; - - after(grammarAccess.getDoubleRule()); - match(input,EOF,FOLLOW_2); - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRuleDouble" - - - // $ANTLR start "ruleDouble" - // InternalCftLanguage.g:637:1: ruleDouble : ( ( rule__Double__Alternatives ) ) ; - public final void ruleDouble() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:641:2: ( ( ( rule__Double__Alternatives ) ) ) - // InternalCftLanguage.g:642:2: ( ( rule__Double__Alternatives ) ) - { - // InternalCftLanguage.g:642:2: ( ( rule__Double__Alternatives ) ) - // InternalCftLanguage.g:643:3: ( rule__Double__Alternatives ) - { - before(grammarAccess.getDoubleAccess().getAlternatives()); - // InternalCftLanguage.g:644:3: ( rule__Double__Alternatives ) - // InternalCftLanguage.g:644:4: rule__Double__Alternatives - { - pushFollow(FOLLOW_2); - rule__Double__Alternatives(); - - state._fsp--; - - - } - - after(grammarAccess.getDoubleAccess().getAlternatives()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "ruleDouble" - - - // $ANTLR start "rule__CftModel__Alternatives_4" - // InternalCftLanguage.g:652:1: rule__CftModel__Alternatives_4 : ( ( ( rule__CftModel__ComponentDefinitionsAssignment_4_0 ) ) | ( ( rule__CftModel__TransformationDefinitionsAssignment_4_1 ) ) ); - public final void rule__CftModel__Alternatives_4() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:656:1: ( ( ( rule__CftModel__ComponentDefinitionsAssignment_4_0 ) ) | ( ( rule__CftModel__TransformationDefinitionsAssignment_4_1 ) ) ) - int alt1=2; - int LA1_0 = input.LA(1); - - if ( (LA1_0==17) ) { - alt1=1; - } - else if ( (LA1_0==28) ) { - alt1=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 1, 0, input); - - throw nvae; - } - switch (alt1) { - case 1 : - // InternalCftLanguage.g:657:2: ( ( rule__CftModel__ComponentDefinitionsAssignment_4_0 ) ) - { - // InternalCftLanguage.g:657:2: ( ( rule__CftModel__ComponentDefinitionsAssignment_4_0 ) ) - // InternalCftLanguage.g:658:3: ( rule__CftModel__ComponentDefinitionsAssignment_4_0 ) - { - before(grammarAccess.getCftModelAccess().getComponentDefinitionsAssignment_4_0()); - // InternalCftLanguage.g:659:3: ( rule__CftModel__ComponentDefinitionsAssignment_4_0 ) - // InternalCftLanguage.g:659:4: rule__CftModel__ComponentDefinitionsAssignment_4_0 - { - pushFollow(FOLLOW_2); - rule__CftModel__ComponentDefinitionsAssignment_4_0(); - - state._fsp--; - - - } - - after(grammarAccess.getCftModelAccess().getComponentDefinitionsAssignment_4_0()); - - } - - - } - break; - case 2 : - // InternalCftLanguage.g:663:2: ( ( rule__CftModel__TransformationDefinitionsAssignment_4_1 ) ) - { - // InternalCftLanguage.g:663:2: ( ( rule__CftModel__TransformationDefinitionsAssignment_4_1 ) ) - // InternalCftLanguage.g:664:3: ( rule__CftModel__TransformationDefinitionsAssignment_4_1 ) - { - before(grammarAccess.getCftModelAccess().getTransformationDefinitionsAssignment_4_1()); - // InternalCftLanguage.g:665:3: ( rule__CftModel__TransformationDefinitionsAssignment_4_1 ) - // InternalCftLanguage.g:665:4: rule__CftModel__TransformationDefinitionsAssignment_4_1 - { - pushFollow(FOLLOW_2); - rule__CftModel__TransformationDefinitionsAssignment_4_1(); - - state._fsp--; - - - } - - after(grammarAccess.getCftModelAccess().getTransformationDefinitionsAssignment_4_1()); - - } - - - } - break; - - } - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__CftModel__Alternatives_4" - - - // $ANTLR start "rule__EventDefinition__Alternatives" - // InternalCftLanguage.g:673:1: rule__EventDefinition__Alternatives : ( ( ruleBasicEventDefinition ) | ( ruleGateDefinition ) ); - public final void rule__EventDefinition__Alternatives() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:677:1: ( ( ruleBasicEventDefinition ) | ( ruleGateDefinition ) ) - int alt2=2; - int LA2_0 = input.LA(1); - - if ( (LA2_0==RULE_ID) ) { - int LA2_1 = input.LA(2); - - if ( (LA2_1==RULE_INT||(LA2_1>=25 && LA2_1<=26)) ) { - alt2=2; - } - else if ( (LA2_1==22||LA2_1==24) ) { - alt2=1; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 2, 1, input); - - throw nvae; - } - } - else if ( (LA2_0==RULE_OF_INT) ) { - int LA2_2 = input.LA(2); - - if ( (LA2_2==22||LA2_2==24) ) { - alt2=1; - } - else if ( (LA2_2==RULE_INT||(LA2_2>=25 && LA2_2<=26)) ) { - alt2=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 2, 2, input); - - throw nvae; - } - } - else { - NoViableAltException nvae = - new NoViableAltException("", 2, 0, input); - - throw nvae; - } - switch (alt2) { - case 1 : - // InternalCftLanguage.g:678:2: ( ruleBasicEventDefinition ) - { - // InternalCftLanguage.g:678:2: ( ruleBasicEventDefinition ) - // InternalCftLanguage.g:679:3: ruleBasicEventDefinition - { - before(grammarAccess.getEventDefinitionAccess().getBasicEventDefinitionParserRuleCall_0()); - pushFollow(FOLLOW_2); - ruleBasicEventDefinition(); - - state._fsp--; - - after(grammarAccess.getEventDefinitionAccess().getBasicEventDefinitionParserRuleCall_0()); - - } - - - } - break; - case 2 : - // InternalCftLanguage.g:684:2: ( ruleGateDefinition ) - { - // InternalCftLanguage.g:684:2: ( ruleGateDefinition ) - // InternalCftLanguage.g:685:3: ruleGateDefinition - { - before(grammarAccess.getEventDefinitionAccess().getGateDefinitionParserRuleCall_1()); - pushFollow(FOLLOW_2); - ruleGateDefinition(); - - state._fsp--; - - after(grammarAccess.getEventDefinitionAccess().getGateDefinitionParserRuleCall_1()); - - } - - - } - break; - - } - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__EventDefinition__Alternatives" - - - // $ANTLR start "rule__Distribution__Alternatives" - // InternalCftLanguage.g:694:1: rule__Distribution__Alternatives : ( ( ruleConstantDistribution ) | ( ruleExponentialDistribution ) ); - public final void rule__Distribution__Alternatives() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:698:1: ( ( ruleConstantDistribution ) | ( ruleExponentialDistribution ) ) - int alt3=2; - int LA3_0 = input.LA(1); - - if ( (LA3_0==22) ) { - alt3=1; - } - else if ( (LA3_0==24) ) { - alt3=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 3, 0, input); - - throw nvae; - } - switch (alt3) { - case 1 : - // InternalCftLanguage.g:699:2: ( ruleConstantDistribution ) - { - // InternalCftLanguage.g:699:2: ( ruleConstantDistribution ) - // InternalCftLanguage.g:700:3: ruleConstantDistribution - { - before(grammarAccess.getDistributionAccess().getConstantDistributionParserRuleCall_0()); - pushFollow(FOLLOW_2); - ruleConstantDistribution(); - - state._fsp--; - - after(grammarAccess.getDistributionAccess().getConstantDistributionParserRuleCall_0()); - - } - - - } - break; - case 2 : - // InternalCftLanguage.g:705:2: ( ruleExponentialDistribution ) - { - // InternalCftLanguage.g:705:2: ( ruleExponentialDistribution ) - // InternalCftLanguage.g:706:3: ruleExponentialDistribution - { - before(grammarAccess.getDistributionAccess().getExponentialDistributionParserRuleCall_1()); - pushFollow(FOLLOW_2); - ruleExponentialDistribution(); - - state._fsp--; - - after(grammarAccess.getDistributionAccess().getExponentialDistributionParserRuleCall_1()); - - } - - - } - break; - - } - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Distribution__Alternatives" - - - // $ANTLR start "rule__GateDefinition__Alternatives" - // InternalCftLanguage.g:715:1: rule__GateDefinition__Alternatives : ( ( ruleAndGateDefinition ) | ( ruleOrGateDefinition ) | ( ruleKOfMGateDefinition ) ); - public final void rule__GateDefinition__Alternatives() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:719:1: ( ( ruleAndGateDefinition ) | ( ruleOrGateDefinition ) | ( ruleKOfMGateDefinition ) ) - int alt4=3; - int LA4_0 = input.LA(1); - - if ( (LA4_0==RULE_ID) ) { - switch ( input.LA(2) ) { - case 26: - { - alt4=2; - } - break; - case RULE_INT: - { - alt4=3; - } - break; - case 25: - { - alt4=1; - } - break; - default: - NoViableAltException nvae = - new NoViableAltException("", 4, 1, input); - - throw nvae; - } - - } - else if ( (LA4_0==RULE_OF_INT) ) { - switch ( input.LA(2) ) { - case RULE_INT: - { - alt4=3; - } - break; - case 25: - { - alt4=1; - } - break; - case 26: - { - alt4=2; - } - break; - default: - NoViableAltException nvae = - new NoViableAltException("", 4, 2, input); - - throw nvae; - } - - } - else { - NoViableAltException nvae = - new NoViableAltException("", 4, 0, input); - - throw nvae; - } - switch (alt4) { - case 1 : - // InternalCftLanguage.g:720:2: ( ruleAndGateDefinition ) - { - // InternalCftLanguage.g:720:2: ( ruleAndGateDefinition ) - // InternalCftLanguage.g:721:3: ruleAndGateDefinition - { - before(grammarAccess.getGateDefinitionAccess().getAndGateDefinitionParserRuleCall_0()); - pushFollow(FOLLOW_2); - ruleAndGateDefinition(); - - state._fsp--; - - after(grammarAccess.getGateDefinitionAccess().getAndGateDefinitionParserRuleCall_0()); - - } - - - } - break; - case 2 : - // InternalCftLanguage.g:726:2: ( ruleOrGateDefinition ) - { - // InternalCftLanguage.g:726:2: ( ruleOrGateDefinition ) - // InternalCftLanguage.g:727:3: ruleOrGateDefinition - { - before(grammarAccess.getGateDefinitionAccess().getOrGateDefinitionParserRuleCall_1()); - pushFollow(FOLLOW_2); - ruleOrGateDefinition(); - - state._fsp--; - - after(grammarAccess.getGateDefinitionAccess().getOrGateDefinitionParserRuleCall_1()); - - } - - - } - break; - case 3 : - // InternalCftLanguage.g:732:2: ( ruleKOfMGateDefinition ) - { - // InternalCftLanguage.g:732:2: ( ruleKOfMGateDefinition ) - // InternalCftLanguage.g:733:3: ruleKOfMGateDefinition - { - before(grammarAccess.getGateDefinitionAccess().getKOfMGateDefinitionParserRuleCall_2()); - pushFollow(FOLLOW_2); - ruleKOfMGateDefinition(); - - state._fsp--; - - after(grammarAccess.getGateDefinitionAccess().getKOfMGateDefinitionParserRuleCall_2()); - - } - - - } - break; - - } - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__GateDefinition__Alternatives" - - - // $ANTLR start "rule__KOfMGateDefinition__Alternatives_2" - // InternalCftLanguage.g:742:1: rule__KOfMGateDefinition__Alternatives_2 : ( ( ( rule__KOfMGateDefinition__Group_2_0__0 ) ) | ( ( rule__KOfMGateDefinition__MAssignment_2_1 ) ) ); - public final void rule__KOfMGateDefinition__Alternatives_2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:746:1: ( ( ( rule__KOfMGateDefinition__Group_2_0__0 ) ) | ( ( rule__KOfMGateDefinition__MAssignment_2_1 ) ) ) - int alt5=2; - int LA5_0 = input.LA(1); - - if ( (LA5_0==27) ) { - alt5=1; - } - else if ( (LA5_0==RULE_OF_INT) ) { - alt5=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 5, 0, input); - - throw nvae; - } - switch (alt5) { - case 1 : - // InternalCftLanguage.g:747:2: ( ( rule__KOfMGateDefinition__Group_2_0__0 ) ) - { - // InternalCftLanguage.g:747:2: ( ( rule__KOfMGateDefinition__Group_2_0__0 ) ) - // InternalCftLanguage.g:748:3: ( rule__KOfMGateDefinition__Group_2_0__0 ) - { - before(grammarAccess.getKOfMGateDefinitionAccess().getGroup_2_0()); - // InternalCftLanguage.g:749:3: ( rule__KOfMGateDefinition__Group_2_0__0 ) - // InternalCftLanguage.g:749:4: rule__KOfMGateDefinition__Group_2_0__0 - { - pushFollow(FOLLOW_2); - rule__KOfMGateDefinition__Group_2_0__0(); - - state._fsp--; - - - } - - after(grammarAccess.getKOfMGateDefinitionAccess().getGroup_2_0()); - - } - - - } - break; - case 2 : - // InternalCftLanguage.g:753:2: ( ( rule__KOfMGateDefinition__MAssignment_2_1 ) ) - { - // InternalCftLanguage.g:753:2: ( ( rule__KOfMGateDefinition__MAssignment_2_1 ) ) - // InternalCftLanguage.g:754:3: ( rule__KOfMGateDefinition__MAssignment_2_1 ) - { - before(grammarAccess.getKOfMGateDefinitionAccess().getMAssignment_2_1()); - // InternalCftLanguage.g:755:3: ( rule__KOfMGateDefinition__MAssignment_2_1 ) - // InternalCftLanguage.g:755:4: rule__KOfMGateDefinition__MAssignment_2_1 - { - pushFollow(FOLLOW_2); - rule__KOfMGateDefinition__MAssignment_2_1(); - - state._fsp--; - - - } - - after(grammarAccess.getKOfMGateDefinitionAccess().getMAssignment_2_1()); - - } - - - } - break; - - } - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__KOfMGateDefinition__Alternatives_2" - - - // $ANTLR start "rule__MappingDefinition__Alternatives_8_1_0" - // InternalCftLanguage.g:763:1: rule__MappingDefinition__Alternatives_8_1_0 : ( ( ( rule__MappingDefinition__LookupDefinitionsAssignment_8_1_0_0 ) ) | ( ( rule__MappingDefinition__AssignmentsAssignment_8_1_0_1 ) ) ); - public final void rule__MappingDefinition__Alternatives_8_1_0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:767:1: ( ( ( rule__MappingDefinition__LookupDefinitionsAssignment_8_1_0_0 ) ) | ( ( rule__MappingDefinition__AssignmentsAssignment_8_1_0_1 ) ) ) - int alt6=2; - int LA6_0 = input.LA(1); - - if ( (LA6_0==33) ) { - alt6=1; - } - else if ( ((LA6_0>=RULE_ID && LA6_0<=RULE_OF_INT)) ) { - alt6=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 6, 0, input); - - throw nvae; - } - switch (alt6) { - case 1 : - // InternalCftLanguage.g:768:2: ( ( rule__MappingDefinition__LookupDefinitionsAssignment_8_1_0_0 ) ) - { - // InternalCftLanguage.g:768:2: ( ( rule__MappingDefinition__LookupDefinitionsAssignment_8_1_0_0 ) ) - // InternalCftLanguage.g:769:3: ( rule__MappingDefinition__LookupDefinitionsAssignment_8_1_0_0 ) - { - before(grammarAccess.getMappingDefinitionAccess().getLookupDefinitionsAssignment_8_1_0_0()); - // InternalCftLanguage.g:770:3: ( rule__MappingDefinition__LookupDefinitionsAssignment_8_1_0_0 ) - // InternalCftLanguage.g:770:4: rule__MappingDefinition__LookupDefinitionsAssignment_8_1_0_0 - { - pushFollow(FOLLOW_2); - rule__MappingDefinition__LookupDefinitionsAssignment_8_1_0_0(); - - state._fsp--; - - - } - - after(grammarAccess.getMappingDefinitionAccess().getLookupDefinitionsAssignment_8_1_0_0()); - - } - - - } - break; - case 2 : - // InternalCftLanguage.g:774:2: ( ( rule__MappingDefinition__AssignmentsAssignment_8_1_0_1 ) ) - { - // InternalCftLanguage.g:774:2: ( ( rule__MappingDefinition__AssignmentsAssignment_8_1_0_1 ) ) - // InternalCftLanguage.g:775:3: ( rule__MappingDefinition__AssignmentsAssignment_8_1_0_1 ) - { - before(grammarAccess.getMappingDefinitionAccess().getAssignmentsAssignment_8_1_0_1()); - // InternalCftLanguage.g:776:3: ( rule__MappingDefinition__AssignmentsAssignment_8_1_0_1 ) - // InternalCftLanguage.g:776:4: rule__MappingDefinition__AssignmentsAssignment_8_1_0_1 - { - pushFollow(FOLLOW_2); - rule__MappingDefinition__AssignmentsAssignment_8_1_0_1(); - - state._fsp--; - - - } - - after(grammarAccess.getMappingDefinitionAccess().getAssignmentsAssignment_8_1_0_1()); - - } - - - } - break; - - } - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__MappingDefinition__Alternatives_8_1_0" - - - // $ANTLR start "rule__Assignment__Alternatives_1" - // InternalCftLanguage.g:784:1: rule__Assignment__Alternatives_1 : ( ( ( rule__Assignment__MultipleAssignment_1_0 ) ) | ( ':=' ) ); - public final void rule__Assignment__Alternatives_1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:788:1: ( ( ( rule__Assignment__MultipleAssignment_1_0 ) ) | ( ':=' ) ) - int alt7=2; - int LA7_0 = input.LA(1); - - if ( (LA7_0==40) ) { - alt7=1; - } - else if ( (LA7_0==13) ) { - alt7=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 7, 0, input); - - throw nvae; - } - switch (alt7) { - case 1 : - // InternalCftLanguage.g:789:2: ( ( rule__Assignment__MultipleAssignment_1_0 ) ) - { - // InternalCftLanguage.g:789:2: ( ( rule__Assignment__MultipleAssignment_1_0 ) ) - // InternalCftLanguage.g:790:3: ( rule__Assignment__MultipleAssignment_1_0 ) - { - before(grammarAccess.getAssignmentAccess().getMultipleAssignment_1_0()); - // InternalCftLanguage.g:791:3: ( rule__Assignment__MultipleAssignment_1_0 ) - // InternalCftLanguage.g:791:4: rule__Assignment__MultipleAssignment_1_0 - { - pushFollow(FOLLOW_2); - rule__Assignment__MultipleAssignment_1_0(); - - state._fsp--; - - - } - - after(grammarAccess.getAssignmentAccess().getMultipleAssignment_1_0()); - - } - - - } - break; - case 2 : - // InternalCftLanguage.g:795:2: ( ':=' ) - { - // InternalCftLanguage.g:795:2: ( ':=' ) - // InternalCftLanguage.g:796:3: ':=' - { - before(grammarAccess.getAssignmentAccess().getColonEqualsSignKeyword_1_1()); - match(input,13,FOLLOW_2); - after(grammarAccess.getAssignmentAccess().getColonEqualsSignKeyword_1_1()); - - } - - - } - break; - - } - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Assignment__Alternatives_1" - - - // $ANTLR start "rule__ValidId__Alternatives" - // InternalCftLanguage.g:805:1: rule__ValidId__Alternatives : ( ( RULE_ID ) | ( RULE_OF_INT ) ); - public final void rule__ValidId__Alternatives() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:809:1: ( ( RULE_ID ) | ( RULE_OF_INT ) ) - int alt8=2; - int LA8_0 = input.LA(1); - - if ( (LA8_0==RULE_ID) ) { - alt8=1; - } - else if ( (LA8_0==RULE_OF_INT) ) { - alt8=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 8, 0, input); - - throw nvae; - } - switch (alt8) { - case 1 : - // InternalCftLanguage.g:810:2: ( RULE_ID ) - { - // InternalCftLanguage.g:810:2: ( RULE_ID ) - // InternalCftLanguage.g:811:3: RULE_ID - { - before(grammarAccess.getValidIdAccess().getIDTerminalRuleCall_0()); - match(input,RULE_ID,FOLLOW_2); - after(grammarAccess.getValidIdAccess().getIDTerminalRuleCall_0()); - - } - - - } - break; - case 2 : - // InternalCftLanguage.g:816:2: ( RULE_OF_INT ) - { - // InternalCftLanguage.g:816:2: ( RULE_OF_INT ) - // InternalCftLanguage.g:817:3: RULE_OF_INT - { - before(grammarAccess.getValidIdAccess().getOF_INTTerminalRuleCall_1()); - match(input,RULE_OF_INT,FOLLOW_2); - after(grammarAccess.getValidIdAccess().getOF_INTTerminalRuleCall_1()); - - } - - - } - break; - - } - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ValidId__Alternatives" - - - // $ANTLR start "rule__Double__Alternatives" - // InternalCftLanguage.g:826:1: rule__Double__Alternatives : ( ( RULE_INT ) | ( RULE_T_DOUBLE ) ); - public final void rule__Double__Alternatives() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:830:1: ( ( RULE_INT ) | ( RULE_T_DOUBLE ) ) - int alt9=2; - int LA9_0 = input.LA(1); - - if ( (LA9_0==RULE_INT) ) { - alt9=1; - } - else if ( (LA9_0==RULE_T_DOUBLE) ) { - alt9=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 9, 0, input); - - throw nvae; - } - switch (alt9) { - case 1 : - // InternalCftLanguage.g:831:2: ( RULE_INT ) - { - // InternalCftLanguage.g:831:2: ( RULE_INT ) - // InternalCftLanguage.g:832:3: RULE_INT - { - before(grammarAccess.getDoubleAccess().getINTTerminalRuleCall_0()); - match(input,RULE_INT,FOLLOW_2); - after(grammarAccess.getDoubleAccess().getINTTerminalRuleCall_0()); - - } - - - } - break; - case 2 : - // InternalCftLanguage.g:837:2: ( RULE_T_DOUBLE ) - { - // InternalCftLanguage.g:837:2: ( RULE_T_DOUBLE ) - // InternalCftLanguage.g:838:3: RULE_T_DOUBLE - { - before(grammarAccess.getDoubleAccess().getT_DOUBLETerminalRuleCall_1()); - match(input,RULE_T_DOUBLE,FOLLOW_2); - after(grammarAccess.getDoubleAccess().getT_DOUBLETerminalRuleCall_1()); - - } - - - } - break; - - } - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Double__Alternatives" - - - // $ANTLR start "rule__CftModel__Group__0" - // InternalCftLanguage.g:847:1: rule__CftModel__Group__0 : rule__CftModel__Group__0__Impl rule__CftModel__Group__1 ; - public final void rule__CftModel__Group__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:851:1: ( rule__CftModel__Group__0__Impl rule__CftModel__Group__1 ) - // InternalCftLanguage.g:852:2: rule__CftModel__Group__0__Impl rule__CftModel__Group__1 - { - pushFollow(FOLLOW_3); - rule__CftModel__Group__0__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__CftModel__Group__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__CftModel__Group__0" - - - // $ANTLR start "rule__CftModel__Group__0__Impl" - // InternalCftLanguage.g:859:1: rule__CftModel__Group__0__Impl : ( 'package' ) ; - public final void rule__CftModel__Group__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:863:1: ( ( 'package' ) ) - // InternalCftLanguage.g:864:1: ( 'package' ) - { - // InternalCftLanguage.g:864:1: ( 'package' ) - // InternalCftLanguage.g:865:2: 'package' - { - before(grammarAccess.getCftModelAccess().getPackageKeyword_0()); - match(input,14,FOLLOW_2); - after(grammarAccess.getCftModelAccess().getPackageKeyword_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__CftModel__Group__0__Impl" - - - // $ANTLR start "rule__CftModel__Group__1" - // InternalCftLanguage.g:874:1: rule__CftModel__Group__1 : rule__CftModel__Group__1__Impl rule__CftModel__Group__2 ; - public final void rule__CftModel__Group__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:878:1: ( rule__CftModel__Group__1__Impl rule__CftModel__Group__2 ) - // InternalCftLanguage.g:879:2: rule__CftModel__Group__1__Impl rule__CftModel__Group__2 - { - pushFollow(FOLLOW_4); - rule__CftModel__Group__1__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__CftModel__Group__2(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__CftModel__Group__1" - - - // $ANTLR start "rule__CftModel__Group__1__Impl" - // InternalCftLanguage.g:886:1: rule__CftModel__Group__1__Impl : ( ( rule__CftModel__PackageNameAssignment_1 ) ) ; - public final void rule__CftModel__Group__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:890:1: ( ( ( rule__CftModel__PackageNameAssignment_1 ) ) ) - // InternalCftLanguage.g:891:1: ( ( rule__CftModel__PackageNameAssignment_1 ) ) - { - // InternalCftLanguage.g:891:1: ( ( rule__CftModel__PackageNameAssignment_1 ) ) - // InternalCftLanguage.g:892:2: ( rule__CftModel__PackageNameAssignment_1 ) - { - before(grammarAccess.getCftModelAccess().getPackageNameAssignment_1()); - // InternalCftLanguage.g:893:2: ( rule__CftModel__PackageNameAssignment_1 ) - // InternalCftLanguage.g:893:3: rule__CftModel__PackageNameAssignment_1 - { - pushFollow(FOLLOW_2); - rule__CftModel__PackageNameAssignment_1(); - - state._fsp--; - - - } - - after(grammarAccess.getCftModelAccess().getPackageNameAssignment_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__CftModel__Group__1__Impl" - - - // $ANTLR start "rule__CftModel__Group__2" - // InternalCftLanguage.g:901:1: rule__CftModel__Group__2 : rule__CftModel__Group__2__Impl rule__CftModel__Group__3 ; - public final void rule__CftModel__Group__2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:905:1: ( rule__CftModel__Group__2__Impl rule__CftModel__Group__3 ) - // InternalCftLanguage.g:906:2: rule__CftModel__Group__2__Impl rule__CftModel__Group__3 - { - pushFollow(FOLLOW_4); - rule__CftModel__Group__2__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__CftModel__Group__3(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__CftModel__Group__2" - - - // $ANTLR start "rule__CftModel__Group__2__Impl" - // InternalCftLanguage.g:913:1: rule__CftModel__Group__2__Impl : ( ( ';' )? ) ; - public final void rule__CftModel__Group__2__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:917:1: ( ( ( ';' )? ) ) - // InternalCftLanguage.g:918:1: ( ( ';' )? ) - { - // InternalCftLanguage.g:918:1: ( ( ';' )? ) - // InternalCftLanguage.g:919:2: ( ';' )? - { - before(grammarAccess.getCftModelAccess().getSemicolonKeyword_2()); - // InternalCftLanguage.g:920:2: ( ';' )? - int alt10=2; - int LA10_0 = input.LA(1); - - if ( (LA10_0==15) ) { - alt10=1; - } - switch (alt10) { - case 1 : - // InternalCftLanguage.g:920:3: ';' - { - match(input,15,FOLLOW_2); - - } - break; - - } - - after(grammarAccess.getCftModelAccess().getSemicolonKeyword_2()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__CftModel__Group__2__Impl" - - - // $ANTLR start "rule__CftModel__Group__3" - // InternalCftLanguage.g:928:1: rule__CftModel__Group__3 : rule__CftModel__Group__3__Impl rule__CftModel__Group__4 ; - public final void rule__CftModel__Group__3() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:932:1: ( rule__CftModel__Group__3__Impl rule__CftModel__Group__4 ) - // InternalCftLanguage.g:933:2: rule__CftModel__Group__3__Impl rule__CftModel__Group__4 - { - pushFollow(FOLLOW_4); - rule__CftModel__Group__3__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__CftModel__Group__4(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__CftModel__Group__3" - - - // $ANTLR start "rule__CftModel__Group__3__Impl" - // InternalCftLanguage.g:940:1: rule__CftModel__Group__3__Impl : ( ( rule__CftModel__ImportsAssignment_3 )* ) ; - public final void rule__CftModel__Group__3__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:944:1: ( ( ( rule__CftModel__ImportsAssignment_3 )* ) ) - // InternalCftLanguage.g:945:1: ( ( rule__CftModel__ImportsAssignment_3 )* ) - { - // InternalCftLanguage.g:945:1: ( ( rule__CftModel__ImportsAssignment_3 )* ) - // InternalCftLanguage.g:946:2: ( rule__CftModel__ImportsAssignment_3 )* - { - before(grammarAccess.getCftModelAccess().getImportsAssignment_3()); - // InternalCftLanguage.g:947:2: ( rule__CftModel__ImportsAssignment_3 )* - loop11: - do { - int alt11=2; - int LA11_0 = input.LA(1); - - if ( (LA11_0==16) ) { - alt11=1; - } - - - switch (alt11) { - case 1 : - // InternalCftLanguage.g:947:3: rule__CftModel__ImportsAssignment_3 - { - pushFollow(FOLLOW_5); - rule__CftModel__ImportsAssignment_3(); - - state._fsp--; - - - } - break; - - default : - break loop11; - } - } while (true); - - after(grammarAccess.getCftModelAccess().getImportsAssignment_3()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__CftModel__Group__3__Impl" - - - // $ANTLR start "rule__CftModel__Group__4" - // InternalCftLanguage.g:955:1: rule__CftModel__Group__4 : rule__CftModel__Group__4__Impl ; - public final void rule__CftModel__Group__4() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:959:1: ( rule__CftModel__Group__4__Impl ) - // InternalCftLanguage.g:960:2: rule__CftModel__Group__4__Impl - { - pushFollow(FOLLOW_2); - rule__CftModel__Group__4__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__CftModel__Group__4" - - - // $ANTLR start "rule__CftModel__Group__4__Impl" - // InternalCftLanguage.g:966:1: rule__CftModel__Group__4__Impl : ( ( rule__CftModel__Alternatives_4 )* ) ; - public final void rule__CftModel__Group__4__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:970:1: ( ( ( rule__CftModel__Alternatives_4 )* ) ) - // InternalCftLanguage.g:971:1: ( ( rule__CftModel__Alternatives_4 )* ) - { - // InternalCftLanguage.g:971:1: ( ( rule__CftModel__Alternatives_4 )* ) - // InternalCftLanguage.g:972:2: ( rule__CftModel__Alternatives_4 )* - { - before(grammarAccess.getCftModelAccess().getAlternatives_4()); - // InternalCftLanguage.g:973:2: ( rule__CftModel__Alternatives_4 )* - loop12: - do { - int alt12=2; - int LA12_0 = input.LA(1); - - if ( (LA12_0==17||LA12_0==28) ) { - alt12=1; - } - - - switch (alt12) { - case 1 : - // InternalCftLanguage.g:973:3: rule__CftModel__Alternatives_4 - { - pushFollow(FOLLOW_6); - rule__CftModel__Alternatives_4(); - - state._fsp--; - - - } - break; - - default : - break loop12; - } - } while (true); - - after(grammarAccess.getCftModelAccess().getAlternatives_4()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__CftModel__Group__4__Impl" - - - // $ANTLR start "rule__ImportDeclaration__Group__0" - // InternalCftLanguage.g:982:1: rule__ImportDeclaration__Group__0 : rule__ImportDeclaration__Group__0__Impl rule__ImportDeclaration__Group__1 ; - public final void rule__ImportDeclaration__Group__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:986:1: ( rule__ImportDeclaration__Group__0__Impl rule__ImportDeclaration__Group__1 ) - // InternalCftLanguage.g:987:2: rule__ImportDeclaration__Group__0__Impl rule__ImportDeclaration__Group__1 - { - pushFollow(FOLLOW_3); - rule__ImportDeclaration__Group__0__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__ImportDeclaration__Group__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ImportDeclaration__Group__0" - - - // $ANTLR start "rule__ImportDeclaration__Group__0__Impl" - // InternalCftLanguage.g:994:1: rule__ImportDeclaration__Group__0__Impl : ( 'import' ) ; - public final void rule__ImportDeclaration__Group__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:998:1: ( ( 'import' ) ) - // InternalCftLanguage.g:999:1: ( 'import' ) - { - // InternalCftLanguage.g:999:1: ( 'import' ) - // InternalCftLanguage.g:1000:2: 'import' - { - before(grammarAccess.getImportDeclarationAccess().getImportKeyword_0()); - match(input,16,FOLLOW_2); - after(grammarAccess.getImportDeclarationAccess().getImportKeyword_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ImportDeclaration__Group__0__Impl" - - - // $ANTLR start "rule__ImportDeclaration__Group__1" - // InternalCftLanguage.g:1009:1: rule__ImportDeclaration__Group__1 : rule__ImportDeclaration__Group__1__Impl rule__ImportDeclaration__Group__2 ; - public final void rule__ImportDeclaration__Group__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:1013:1: ( rule__ImportDeclaration__Group__1__Impl rule__ImportDeclaration__Group__2 ) - // InternalCftLanguage.g:1014:2: rule__ImportDeclaration__Group__1__Impl rule__ImportDeclaration__Group__2 - { - pushFollow(FOLLOW_7); - rule__ImportDeclaration__Group__1__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__ImportDeclaration__Group__2(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ImportDeclaration__Group__1" - - - // $ANTLR start "rule__ImportDeclaration__Group__1__Impl" - // InternalCftLanguage.g:1021:1: rule__ImportDeclaration__Group__1__Impl : ( ( rule__ImportDeclaration__ImportedNamespaceAssignment_1 ) ) ; - public final void rule__ImportDeclaration__Group__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:1025:1: ( ( ( rule__ImportDeclaration__ImportedNamespaceAssignment_1 ) ) ) - // InternalCftLanguage.g:1026:1: ( ( rule__ImportDeclaration__ImportedNamespaceAssignment_1 ) ) - { - // InternalCftLanguage.g:1026:1: ( ( rule__ImportDeclaration__ImportedNamespaceAssignment_1 ) ) - // InternalCftLanguage.g:1027:2: ( rule__ImportDeclaration__ImportedNamespaceAssignment_1 ) - { - before(grammarAccess.getImportDeclarationAccess().getImportedNamespaceAssignment_1()); - // InternalCftLanguage.g:1028:2: ( rule__ImportDeclaration__ImportedNamespaceAssignment_1 ) - // InternalCftLanguage.g:1028:3: rule__ImportDeclaration__ImportedNamespaceAssignment_1 - { - pushFollow(FOLLOW_2); - rule__ImportDeclaration__ImportedNamespaceAssignment_1(); - - state._fsp--; - - - } - - after(grammarAccess.getImportDeclarationAccess().getImportedNamespaceAssignment_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ImportDeclaration__Group__1__Impl" - - - // $ANTLR start "rule__ImportDeclaration__Group__2" - // InternalCftLanguage.g:1036:1: rule__ImportDeclaration__Group__2 : rule__ImportDeclaration__Group__2__Impl ; - public final void rule__ImportDeclaration__Group__2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:1040:1: ( rule__ImportDeclaration__Group__2__Impl ) - // InternalCftLanguage.g:1041:2: rule__ImportDeclaration__Group__2__Impl - { - pushFollow(FOLLOW_2); - rule__ImportDeclaration__Group__2__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ImportDeclaration__Group__2" - - - // $ANTLR start "rule__ImportDeclaration__Group__2__Impl" - // InternalCftLanguage.g:1047:1: rule__ImportDeclaration__Group__2__Impl : ( ( ';' )? ) ; - public final void rule__ImportDeclaration__Group__2__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:1051:1: ( ( ( ';' )? ) ) - // InternalCftLanguage.g:1052:1: ( ( ';' )? ) - { - // InternalCftLanguage.g:1052:1: ( ( ';' )? ) - // InternalCftLanguage.g:1053:2: ( ';' )? - { - before(grammarAccess.getImportDeclarationAccess().getSemicolonKeyword_2()); - // InternalCftLanguage.g:1054:2: ( ';' )? - int alt13=2; - int LA13_0 = input.LA(1); - - if ( (LA13_0==15) ) { - alt13=1; - } - switch (alt13) { - case 1 : - // InternalCftLanguage.g:1054:3: ';' - { - match(input,15,FOLLOW_2); - - } - break; - - } - - after(grammarAccess.getImportDeclarationAccess().getSemicolonKeyword_2()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ImportDeclaration__Group__2__Impl" - - - // $ANTLR start "rule__ComponentDefinition__Group__0" - // InternalCftLanguage.g:1063:1: rule__ComponentDefinition__Group__0 : rule__ComponentDefinition__Group__0__Impl rule__ComponentDefinition__Group__1 ; - public final void rule__ComponentDefinition__Group__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:1067:1: ( rule__ComponentDefinition__Group__0__Impl rule__ComponentDefinition__Group__1 ) - // InternalCftLanguage.g:1068:2: rule__ComponentDefinition__Group__0__Impl rule__ComponentDefinition__Group__1 - { - pushFollow(FOLLOW_3); - rule__ComponentDefinition__Group__0__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__ComponentDefinition__Group__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ComponentDefinition__Group__0" - - - // $ANTLR start "rule__ComponentDefinition__Group__0__Impl" - // InternalCftLanguage.g:1075:1: rule__ComponentDefinition__Group__0__Impl : ( 'cft' ) ; - public final void rule__ComponentDefinition__Group__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:1079:1: ( ( 'cft' ) ) - // InternalCftLanguage.g:1080:1: ( 'cft' ) - { - // InternalCftLanguage.g:1080:1: ( 'cft' ) - // InternalCftLanguage.g:1081:2: 'cft' - { - before(grammarAccess.getComponentDefinitionAccess().getCftKeyword_0()); - match(input,17,FOLLOW_2); - after(grammarAccess.getComponentDefinitionAccess().getCftKeyword_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ComponentDefinition__Group__0__Impl" - - - // $ANTLR start "rule__ComponentDefinition__Group__1" - // InternalCftLanguage.g:1090:1: rule__ComponentDefinition__Group__1 : rule__ComponentDefinition__Group__1__Impl rule__ComponentDefinition__Group__2 ; - public final void rule__ComponentDefinition__Group__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:1094:1: ( rule__ComponentDefinition__Group__1__Impl rule__ComponentDefinition__Group__2 ) - // InternalCftLanguage.g:1095:2: rule__ComponentDefinition__Group__1__Impl rule__ComponentDefinition__Group__2 - { - pushFollow(FOLLOW_8); - rule__ComponentDefinition__Group__1__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__ComponentDefinition__Group__2(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ComponentDefinition__Group__1" - - - // $ANTLR start "rule__ComponentDefinition__Group__1__Impl" - // InternalCftLanguage.g:1102:1: rule__ComponentDefinition__Group__1__Impl : ( ( rule__ComponentDefinition__NameAssignment_1 ) ) ; - public final void rule__ComponentDefinition__Group__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:1106:1: ( ( ( rule__ComponentDefinition__NameAssignment_1 ) ) ) - // InternalCftLanguage.g:1107:1: ( ( rule__ComponentDefinition__NameAssignment_1 ) ) - { - // InternalCftLanguage.g:1107:1: ( ( rule__ComponentDefinition__NameAssignment_1 ) ) - // InternalCftLanguage.g:1108:2: ( rule__ComponentDefinition__NameAssignment_1 ) - { - before(grammarAccess.getComponentDefinitionAccess().getNameAssignment_1()); - // InternalCftLanguage.g:1109:2: ( rule__ComponentDefinition__NameAssignment_1 ) - // InternalCftLanguage.g:1109:3: rule__ComponentDefinition__NameAssignment_1 - { - pushFollow(FOLLOW_2); - rule__ComponentDefinition__NameAssignment_1(); - - state._fsp--; - - - } - - after(grammarAccess.getComponentDefinitionAccess().getNameAssignment_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ComponentDefinition__Group__1__Impl" - - - // $ANTLR start "rule__ComponentDefinition__Group__2" - // InternalCftLanguage.g:1117:1: rule__ComponentDefinition__Group__2 : rule__ComponentDefinition__Group__2__Impl rule__ComponentDefinition__Group__3 ; - public final void rule__ComponentDefinition__Group__2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:1121:1: ( rule__ComponentDefinition__Group__2__Impl rule__ComponentDefinition__Group__3 ) - // InternalCftLanguage.g:1122:2: rule__ComponentDefinition__Group__2__Impl rule__ComponentDefinition__Group__3 - { - pushFollow(FOLLOW_9); - rule__ComponentDefinition__Group__2__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__ComponentDefinition__Group__3(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ComponentDefinition__Group__2" - - - // $ANTLR start "rule__ComponentDefinition__Group__2__Impl" - // InternalCftLanguage.g:1129:1: rule__ComponentDefinition__Group__2__Impl : ( '{' ) ; - public final void rule__ComponentDefinition__Group__2__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:1133:1: ( ( '{' ) ) - // InternalCftLanguage.g:1134:1: ( '{' ) - { - // InternalCftLanguage.g:1134:1: ( '{' ) - // InternalCftLanguage.g:1135:2: '{' - { - before(grammarAccess.getComponentDefinitionAccess().getLeftCurlyBracketKeyword_2()); - match(input,18,FOLLOW_2); - after(grammarAccess.getComponentDefinitionAccess().getLeftCurlyBracketKeyword_2()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ComponentDefinition__Group__2__Impl" - - - // $ANTLR start "rule__ComponentDefinition__Group__3" - // InternalCftLanguage.g:1144:1: rule__ComponentDefinition__Group__3 : rule__ComponentDefinition__Group__3__Impl rule__ComponentDefinition__Group__4 ; - public final void rule__ComponentDefinition__Group__3() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:1148:1: ( rule__ComponentDefinition__Group__3__Impl rule__ComponentDefinition__Group__4 ) - // InternalCftLanguage.g:1149:2: rule__ComponentDefinition__Group__3__Impl rule__ComponentDefinition__Group__4 - { - pushFollow(FOLLOW_10); - rule__ComponentDefinition__Group__3__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__ComponentDefinition__Group__4(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ComponentDefinition__Group__3" - - - // $ANTLR start "rule__ComponentDefinition__Group__3__Impl" - // InternalCftLanguage.g:1156:1: rule__ComponentDefinition__Group__3__Impl : ( ( rule__ComponentDefinition__UnorderedGroup_3 ) ) ; - public final void rule__ComponentDefinition__Group__3__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:1160:1: ( ( ( rule__ComponentDefinition__UnorderedGroup_3 ) ) ) - // InternalCftLanguage.g:1161:1: ( ( rule__ComponentDefinition__UnorderedGroup_3 ) ) - { - // InternalCftLanguage.g:1161:1: ( ( rule__ComponentDefinition__UnorderedGroup_3 ) ) - // InternalCftLanguage.g:1162:2: ( rule__ComponentDefinition__UnorderedGroup_3 ) - { - before(grammarAccess.getComponentDefinitionAccess().getUnorderedGroup_3()); - // InternalCftLanguage.g:1163:2: ( rule__ComponentDefinition__UnorderedGroup_3 ) - // InternalCftLanguage.g:1163:3: rule__ComponentDefinition__UnorderedGroup_3 - { - pushFollow(FOLLOW_2); - rule__ComponentDefinition__UnorderedGroup_3(); - - state._fsp--; - - - } - - after(grammarAccess.getComponentDefinitionAccess().getUnorderedGroup_3()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ComponentDefinition__Group__3__Impl" - - - // $ANTLR start "rule__ComponentDefinition__Group__4" - // InternalCftLanguage.g:1171:1: rule__ComponentDefinition__Group__4 : rule__ComponentDefinition__Group__4__Impl rule__ComponentDefinition__Group__5 ; - public final void rule__ComponentDefinition__Group__4() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:1175:1: ( rule__ComponentDefinition__Group__4__Impl rule__ComponentDefinition__Group__5 ) - // InternalCftLanguage.g:1176:2: rule__ComponentDefinition__Group__4__Impl rule__ComponentDefinition__Group__5 - { - pushFollow(FOLLOW_10); - rule__ComponentDefinition__Group__4__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__ComponentDefinition__Group__5(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ComponentDefinition__Group__4" - - - // $ANTLR start "rule__ComponentDefinition__Group__4__Impl" - // InternalCftLanguage.g:1183:1: rule__ComponentDefinition__Group__4__Impl : ( ( rule__ComponentDefinition__Group_4__0 )* ) ; - public final void rule__ComponentDefinition__Group__4__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:1187:1: ( ( ( rule__ComponentDefinition__Group_4__0 )* ) ) - // InternalCftLanguage.g:1188:1: ( ( rule__ComponentDefinition__Group_4__0 )* ) - { - // InternalCftLanguage.g:1188:1: ( ( rule__ComponentDefinition__Group_4__0 )* ) - // InternalCftLanguage.g:1189:2: ( rule__ComponentDefinition__Group_4__0 )* - { - before(grammarAccess.getComponentDefinitionAccess().getGroup_4()); - // InternalCftLanguage.g:1190:2: ( rule__ComponentDefinition__Group_4__0 )* - loop14: - do { - int alt14=2; - int LA14_0 = input.LA(1); - - if ( ((LA14_0>=RULE_ID && LA14_0<=RULE_OF_INT)) ) { - alt14=1; - } - - - switch (alt14) { - case 1 : - // InternalCftLanguage.g:1190:3: rule__ComponentDefinition__Group_4__0 - { - pushFollow(FOLLOW_11); - rule__ComponentDefinition__Group_4__0(); - - state._fsp--; - - - } - break; - - default : - break loop14; - } - } while (true); - - after(grammarAccess.getComponentDefinitionAccess().getGroup_4()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ComponentDefinition__Group__4__Impl" - - - // $ANTLR start "rule__ComponentDefinition__Group__5" - // InternalCftLanguage.g:1198:1: rule__ComponentDefinition__Group__5 : rule__ComponentDefinition__Group__5__Impl ; - public final void rule__ComponentDefinition__Group__5() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:1202:1: ( rule__ComponentDefinition__Group__5__Impl ) - // InternalCftLanguage.g:1203:2: rule__ComponentDefinition__Group__5__Impl - { - pushFollow(FOLLOW_2); - rule__ComponentDefinition__Group__5__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ComponentDefinition__Group__5" - - - // $ANTLR start "rule__ComponentDefinition__Group__5__Impl" - // InternalCftLanguage.g:1209:1: rule__ComponentDefinition__Group__5__Impl : ( '}' ) ; - public final void rule__ComponentDefinition__Group__5__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:1213:1: ( ( '}' ) ) - // InternalCftLanguage.g:1214:1: ( '}' ) - { - // InternalCftLanguage.g:1214:1: ( '}' ) - // InternalCftLanguage.g:1215:2: '}' - { - before(grammarAccess.getComponentDefinitionAccess().getRightCurlyBracketKeyword_5()); - match(input,19,FOLLOW_2); - after(grammarAccess.getComponentDefinitionAccess().getRightCurlyBracketKeyword_5()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ComponentDefinition__Group__5__Impl" - - - // $ANTLR start "rule__ComponentDefinition__Group_3_0__0" - // InternalCftLanguage.g:1225:1: rule__ComponentDefinition__Group_3_0__0 : rule__ComponentDefinition__Group_3_0__0__Impl rule__ComponentDefinition__Group_3_0__1 ; - public final void rule__ComponentDefinition__Group_3_0__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:1229:1: ( rule__ComponentDefinition__Group_3_0__0__Impl rule__ComponentDefinition__Group_3_0__1 ) - // InternalCftLanguage.g:1230:2: rule__ComponentDefinition__Group_3_0__0__Impl rule__ComponentDefinition__Group_3_0__1 - { - pushFollow(FOLLOW_12); - rule__ComponentDefinition__Group_3_0__0__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__ComponentDefinition__Group_3_0__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ComponentDefinition__Group_3_0__0" - - - // $ANTLR start "rule__ComponentDefinition__Group_3_0__0__Impl" - // InternalCftLanguage.g:1237:1: rule__ComponentDefinition__Group_3_0__0__Impl : ( 'in' ) ; - public final void rule__ComponentDefinition__Group_3_0__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:1241:1: ( ( 'in' ) ) - // InternalCftLanguage.g:1242:1: ( 'in' ) - { - // InternalCftLanguage.g:1242:1: ( 'in' ) - // InternalCftLanguage.g:1243:2: 'in' - { - before(grammarAccess.getComponentDefinitionAccess().getInKeyword_3_0_0()); - match(input,20,FOLLOW_2); - after(grammarAccess.getComponentDefinitionAccess().getInKeyword_3_0_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ComponentDefinition__Group_3_0__0__Impl" - - - // $ANTLR start "rule__ComponentDefinition__Group_3_0__1" - // InternalCftLanguage.g:1252:1: rule__ComponentDefinition__Group_3_0__1 : rule__ComponentDefinition__Group_3_0__1__Impl rule__ComponentDefinition__Group_3_0__2 ; - public final void rule__ComponentDefinition__Group_3_0__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:1256:1: ( rule__ComponentDefinition__Group_3_0__1__Impl rule__ComponentDefinition__Group_3_0__2 ) - // InternalCftLanguage.g:1257:2: rule__ComponentDefinition__Group_3_0__1__Impl rule__ComponentDefinition__Group_3_0__2 - { - pushFollow(FOLLOW_12); - rule__ComponentDefinition__Group_3_0__1__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__ComponentDefinition__Group_3_0__2(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ComponentDefinition__Group_3_0__1" - - - // $ANTLR start "rule__ComponentDefinition__Group_3_0__1__Impl" - // InternalCftLanguage.g:1264:1: rule__ComponentDefinition__Group_3_0__1__Impl : ( ( rule__ComponentDefinition__InputEventsAssignment_3_0_1 )* ) ; - public final void rule__ComponentDefinition__Group_3_0__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:1268:1: ( ( ( rule__ComponentDefinition__InputEventsAssignment_3_0_1 )* ) ) - // InternalCftLanguage.g:1269:1: ( ( rule__ComponentDefinition__InputEventsAssignment_3_0_1 )* ) - { - // InternalCftLanguage.g:1269:1: ( ( rule__ComponentDefinition__InputEventsAssignment_3_0_1 )* ) - // InternalCftLanguage.g:1270:2: ( rule__ComponentDefinition__InputEventsAssignment_3_0_1 )* - { - before(grammarAccess.getComponentDefinitionAccess().getInputEventsAssignment_3_0_1()); - // InternalCftLanguage.g:1271:2: ( rule__ComponentDefinition__InputEventsAssignment_3_0_1 )* - loop15: - do { - int alt15=2; - int LA15_0 = input.LA(1); - - if ( ((LA15_0>=RULE_ID && LA15_0<=RULE_OF_INT)) ) { - alt15=1; - } - - - switch (alt15) { - case 1 : - // InternalCftLanguage.g:1271:3: rule__ComponentDefinition__InputEventsAssignment_3_0_1 - { - pushFollow(FOLLOW_11); - rule__ComponentDefinition__InputEventsAssignment_3_0_1(); - - state._fsp--; - - - } - break; - - default : - break loop15; - } - } while (true); - - after(grammarAccess.getComponentDefinitionAccess().getInputEventsAssignment_3_0_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ComponentDefinition__Group_3_0__1__Impl" - - - // $ANTLR start "rule__ComponentDefinition__Group_3_0__2" - // InternalCftLanguage.g:1279:1: rule__ComponentDefinition__Group_3_0__2 : rule__ComponentDefinition__Group_3_0__2__Impl ; - public final void rule__ComponentDefinition__Group_3_0__2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:1283:1: ( rule__ComponentDefinition__Group_3_0__2__Impl ) - // InternalCftLanguage.g:1284:2: rule__ComponentDefinition__Group_3_0__2__Impl - { - pushFollow(FOLLOW_2); - rule__ComponentDefinition__Group_3_0__2__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ComponentDefinition__Group_3_0__2" - - - // $ANTLR start "rule__ComponentDefinition__Group_3_0__2__Impl" - // InternalCftLanguage.g:1290:1: rule__ComponentDefinition__Group_3_0__2__Impl : ( ';' ) ; - public final void rule__ComponentDefinition__Group_3_0__2__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:1294:1: ( ( ';' ) ) - // InternalCftLanguage.g:1295:1: ( ';' ) - { - // InternalCftLanguage.g:1295:1: ( ';' ) - // InternalCftLanguage.g:1296:2: ';' - { - before(grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_3_0_2()); - match(input,15,FOLLOW_2); - after(grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_3_0_2()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ComponentDefinition__Group_3_0__2__Impl" - - - // $ANTLR start "rule__ComponentDefinition__Group_3_1__0" - // InternalCftLanguage.g:1306:1: rule__ComponentDefinition__Group_3_1__0 : rule__ComponentDefinition__Group_3_1__0__Impl rule__ComponentDefinition__Group_3_1__1 ; - public final void rule__ComponentDefinition__Group_3_1__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:1310:1: ( rule__ComponentDefinition__Group_3_1__0__Impl rule__ComponentDefinition__Group_3_1__1 ) - // InternalCftLanguage.g:1311:2: rule__ComponentDefinition__Group_3_1__0__Impl rule__ComponentDefinition__Group_3_1__1 - { - pushFollow(FOLLOW_12); - rule__ComponentDefinition__Group_3_1__0__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__ComponentDefinition__Group_3_1__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ComponentDefinition__Group_3_1__0" - - - // $ANTLR start "rule__ComponentDefinition__Group_3_1__0__Impl" - // InternalCftLanguage.g:1318:1: rule__ComponentDefinition__Group_3_1__0__Impl : ( 'out' ) ; - public final void rule__ComponentDefinition__Group_3_1__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:1322:1: ( ( 'out' ) ) - // InternalCftLanguage.g:1323:1: ( 'out' ) - { - // InternalCftLanguage.g:1323:1: ( 'out' ) - // InternalCftLanguage.g:1324:2: 'out' - { - before(grammarAccess.getComponentDefinitionAccess().getOutKeyword_3_1_0()); - match(input,21,FOLLOW_2); - after(grammarAccess.getComponentDefinitionAccess().getOutKeyword_3_1_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ComponentDefinition__Group_3_1__0__Impl" - - - // $ANTLR start "rule__ComponentDefinition__Group_3_1__1" - // InternalCftLanguage.g:1333:1: rule__ComponentDefinition__Group_3_1__1 : rule__ComponentDefinition__Group_3_1__1__Impl rule__ComponentDefinition__Group_3_1__2 ; - public final void rule__ComponentDefinition__Group_3_1__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:1337:1: ( rule__ComponentDefinition__Group_3_1__1__Impl rule__ComponentDefinition__Group_3_1__2 ) - // InternalCftLanguage.g:1338:2: rule__ComponentDefinition__Group_3_1__1__Impl rule__ComponentDefinition__Group_3_1__2 - { - pushFollow(FOLLOW_12); - rule__ComponentDefinition__Group_3_1__1__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__ComponentDefinition__Group_3_1__2(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ComponentDefinition__Group_3_1__1" - - - // $ANTLR start "rule__ComponentDefinition__Group_3_1__1__Impl" - // InternalCftLanguage.g:1345:1: rule__ComponentDefinition__Group_3_1__1__Impl : ( ( rule__ComponentDefinition__OutputEventsAssignment_3_1_1 )* ) ; - public final void rule__ComponentDefinition__Group_3_1__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:1349:1: ( ( ( rule__ComponentDefinition__OutputEventsAssignment_3_1_1 )* ) ) - // InternalCftLanguage.g:1350:1: ( ( rule__ComponentDefinition__OutputEventsAssignment_3_1_1 )* ) - { - // InternalCftLanguage.g:1350:1: ( ( rule__ComponentDefinition__OutputEventsAssignment_3_1_1 )* ) - // InternalCftLanguage.g:1351:2: ( rule__ComponentDefinition__OutputEventsAssignment_3_1_1 )* - { - before(grammarAccess.getComponentDefinitionAccess().getOutputEventsAssignment_3_1_1()); - // InternalCftLanguage.g:1352:2: ( rule__ComponentDefinition__OutputEventsAssignment_3_1_1 )* - loop16: - do { - int alt16=2; - int LA16_0 = input.LA(1); - - if ( ((LA16_0>=RULE_ID && LA16_0<=RULE_OF_INT)) ) { - alt16=1; - } - - - switch (alt16) { - case 1 : - // InternalCftLanguage.g:1352:3: rule__ComponentDefinition__OutputEventsAssignment_3_1_1 - { - pushFollow(FOLLOW_11); - rule__ComponentDefinition__OutputEventsAssignment_3_1_1(); - - state._fsp--; - - - } - break; - - default : - break loop16; - } - } while (true); - - after(grammarAccess.getComponentDefinitionAccess().getOutputEventsAssignment_3_1_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ComponentDefinition__Group_3_1__1__Impl" - - - // $ANTLR start "rule__ComponentDefinition__Group_3_1__2" - // InternalCftLanguage.g:1360:1: rule__ComponentDefinition__Group_3_1__2 : rule__ComponentDefinition__Group_3_1__2__Impl ; - public final void rule__ComponentDefinition__Group_3_1__2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:1364:1: ( rule__ComponentDefinition__Group_3_1__2__Impl ) - // InternalCftLanguage.g:1365:2: rule__ComponentDefinition__Group_3_1__2__Impl - { - pushFollow(FOLLOW_2); - rule__ComponentDefinition__Group_3_1__2__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ComponentDefinition__Group_3_1__2" - - - // $ANTLR start "rule__ComponentDefinition__Group_3_1__2__Impl" - // InternalCftLanguage.g:1371:1: rule__ComponentDefinition__Group_3_1__2__Impl : ( ';' ) ; - public final void rule__ComponentDefinition__Group_3_1__2__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:1375:1: ( ( ';' ) ) - // InternalCftLanguage.g:1376:1: ( ';' ) - { - // InternalCftLanguage.g:1376:1: ( ';' ) - // InternalCftLanguage.g:1377:2: ';' - { - before(grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_3_1_2()); - match(input,15,FOLLOW_2); - after(grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_3_1_2()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ComponentDefinition__Group_3_1__2__Impl" - - - // $ANTLR start "rule__ComponentDefinition__Group_4__0" - // InternalCftLanguage.g:1387:1: rule__ComponentDefinition__Group_4__0 : rule__ComponentDefinition__Group_4__0__Impl rule__ComponentDefinition__Group_4__1 ; - public final void rule__ComponentDefinition__Group_4__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:1391:1: ( rule__ComponentDefinition__Group_4__0__Impl rule__ComponentDefinition__Group_4__1 ) - // InternalCftLanguage.g:1392:2: rule__ComponentDefinition__Group_4__0__Impl rule__ComponentDefinition__Group_4__1 - { - pushFollow(FOLLOW_7); - rule__ComponentDefinition__Group_4__0__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__ComponentDefinition__Group_4__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ComponentDefinition__Group_4__0" - - - // $ANTLR start "rule__ComponentDefinition__Group_4__0__Impl" - // InternalCftLanguage.g:1399:1: rule__ComponentDefinition__Group_4__0__Impl : ( ( rule__ComponentDefinition__EventDefinitionsAssignment_4_0 ) ) ; - public final void rule__ComponentDefinition__Group_4__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:1403:1: ( ( ( rule__ComponentDefinition__EventDefinitionsAssignment_4_0 ) ) ) - // InternalCftLanguage.g:1404:1: ( ( rule__ComponentDefinition__EventDefinitionsAssignment_4_0 ) ) - { - // InternalCftLanguage.g:1404:1: ( ( rule__ComponentDefinition__EventDefinitionsAssignment_4_0 ) ) - // InternalCftLanguage.g:1405:2: ( rule__ComponentDefinition__EventDefinitionsAssignment_4_0 ) - { - before(grammarAccess.getComponentDefinitionAccess().getEventDefinitionsAssignment_4_0()); - // InternalCftLanguage.g:1406:2: ( rule__ComponentDefinition__EventDefinitionsAssignment_4_0 ) - // InternalCftLanguage.g:1406:3: rule__ComponentDefinition__EventDefinitionsAssignment_4_0 - { - pushFollow(FOLLOW_2); - rule__ComponentDefinition__EventDefinitionsAssignment_4_0(); - - state._fsp--; - - - } - - after(grammarAccess.getComponentDefinitionAccess().getEventDefinitionsAssignment_4_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ComponentDefinition__Group_4__0__Impl" - - - // $ANTLR start "rule__ComponentDefinition__Group_4__1" - // InternalCftLanguage.g:1414:1: rule__ComponentDefinition__Group_4__1 : rule__ComponentDefinition__Group_4__1__Impl ; - public final void rule__ComponentDefinition__Group_4__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:1418:1: ( rule__ComponentDefinition__Group_4__1__Impl ) - // InternalCftLanguage.g:1419:2: rule__ComponentDefinition__Group_4__1__Impl - { - pushFollow(FOLLOW_2); - rule__ComponentDefinition__Group_4__1__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ComponentDefinition__Group_4__1" - - - // $ANTLR start "rule__ComponentDefinition__Group_4__1__Impl" - // InternalCftLanguage.g:1425:1: rule__ComponentDefinition__Group_4__1__Impl : ( ';' ) ; - public final void rule__ComponentDefinition__Group_4__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:1429:1: ( ( ';' ) ) - // InternalCftLanguage.g:1430:1: ( ';' ) - { - // InternalCftLanguage.g:1430:1: ( ';' ) - // InternalCftLanguage.g:1431:2: ';' - { - before(grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_4_1()); - match(input,15,FOLLOW_2); - after(grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_4_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ComponentDefinition__Group_4__1__Impl" - - - // $ANTLR start "rule__InputEvent__Group__0" - // InternalCftLanguage.g:1441:1: rule__InputEvent__Group__0 : rule__InputEvent__Group__0__Impl rule__InputEvent__Group__1 ; - public final void rule__InputEvent__Group__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:1445:1: ( rule__InputEvent__Group__0__Impl rule__InputEvent__Group__1 ) - // InternalCftLanguage.g:1446:2: rule__InputEvent__Group__0__Impl rule__InputEvent__Group__1 - { - pushFollow(FOLLOW_13); - rule__InputEvent__Group__0__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__InputEvent__Group__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__InputEvent__Group__0" - - - // $ANTLR start "rule__InputEvent__Group__0__Impl" - // InternalCftLanguage.g:1453:1: rule__InputEvent__Group__0__Impl : ( ( rule__InputEvent__NameAssignment_0 ) ) ; - public final void rule__InputEvent__Group__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:1457:1: ( ( ( rule__InputEvent__NameAssignment_0 ) ) ) - // InternalCftLanguage.g:1458:1: ( ( rule__InputEvent__NameAssignment_0 ) ) - { - // InternalCftLanguage.g:1458:1: ( ( rule__InputEvent__NameAssignment_0 ) ) - // InternalCftLanguage.g:1459:2: ( rule__InputEvent__NameAssignment_0 ) - { - before(grammarAccess.getInputEventAccess().getNameAssignment_0()); - // InternalCftLanguage.g:1460:2: ( rule__InputEvent__NameAssignment_0 ) - // InternalCftLanguage.g:1460:3: rule__InputEvent__NameAssignment_0 - { - pushFollow(FOLLOW_2); - rule__InputEvent__NameAssignment_0(); - - state._fsp--; - - - } - - after(grammarAccess.getInputEventAccess().getNameAssignment_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__InputEvent__Group__0__Impl" - - - // $ANTLR start "rule__InputEvent__Group__1" - // InternalCftLanguage.g:1468:1: rule__InputEvent__Group__1 : rule__InputEvent__Group__1__Impl ; - public final void rule__InputEvent__Group__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:1472:1: ( rule__InputEvent__Group__1__Impl ) - // InternalCftLanguage.g:1473:2: rule__InputEvent__Group__1__Impl - { - pushFollow(FOLLOW_2); - rule__InputEvent__Group__1__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__InputEvent__Group__1" - - - // $ANTLR start "rule__InputEvent__Group__1__Impl" - // InternalCftLanguage.g:1479:1: rule__InputEvent__Group__1__Impl : ( ( rule__InputEvent__MultipleAssignment_1 )? ) ; - public final void rule__InputEvent__Group__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:1483:1: ( ( ( rule__InputEvent__MultipleAssignment_1 )? ) ) - // InternalCftLanguage.g:1484:1: ( ( rule__InputEvent__MultipleAssignment_1 )? ) - { - // InternalCftLanguage.g:1484:1: ( ( rule__InputEvent__MultipleAssignment_1 )? ) - // InternalCftLanguage.g:1485:2: ( rule__InputEvent__MultipleAssignment_1 )? - { - before(grammarAccess.getInputEventAccess().getMultipleAssignment_1()); - // InternalCftLanguage.g:1486:2: ( rule__InputEvent__MultipleAssignment_1 )? - int alt17=2; - int LA17_0 = input.LA(1); - - if ( (LA17_0==38) ) { - alt17=1; - } - switch (alt17) { - case 1 : - // InternalCftLanguage.g:1486:3: rule__InputEvent__MultipleAssignment_1 - { - pushFollow(FOLLOW_2); - rule__InputEvent__MultipleAssignment_1(); - - state._fsp--; - - - } - break; - - } - - after(grammarAccess.getInputEventAccess().getMultipleAssignment_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__InputEvent__Group__1__Impl" - - - // $ANTLR start "rule__BasicEventDefinition__Group__0" - // InternalCftLanguage.g:1495:1: rule__BasicEventDefinition__Group__0 : rule__BasicEventDefinition__Group__0__Impl rule__BasicEventDefinition__Group__1 ; - public final void rule__BasicEventDefinition__Group__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:1499:1: ( rule__BasicEventDefinition__Group__0__Impl rule__BasicEventDefinition__Group__1 ) - // InternalCftLanguage.g:1500:2: rule__BasicEventDefinition__Group__0__Impl rule__BasicEventDefinition__Group__1 - { - pushFollow(FOLLOW_14); - rule__BasicEventDefinition__Group__0__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__BasicEventDefinition__Group__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__BasicEventDefinition__Group__0" - - - // $ANTLR start "rule__BasicEventDefinition__Group__0__Impl" - // InternalCftLanguage.g:1507:1: rule__BasicEventDefinition__Group__0__Impl : ( ( rule__BasicEventDefinition__NameAssignment_0 ) ) ; - public final void rule__BasicEventDefinition__Group__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:1511:1: ( ( ( rule__BasicEventDefinition__NameAssignment_0 ) ) ) - // InternalCftLanguage.g:1512:1: ( ( rule__BasicEventDefinition__NameAssignment_0 ) ) - { - // InternalCftLanguage.g:1512:1: ( ( rule__BasicEventDefinition__NameAssignment_0 ) ) - // InternalCftLanguage.g:1513:2: ( rule__BasicEventDefinition__NameAssignment_0 ) - { - before(grammarAccess.getBasicEventDefinitionAccess().getNameAssignment_0()); - // InternalCftLanguage.g:1514:2: ( rule__BasicEventDefinition__NameAssignment_0 ) - // InternalCftLanguage.g:1514:3: rule__BasicEventDefinition__NameAssignment_0 - { - pushFollow(FOLLOW_2); - rule__BasicEventDefinition__NameAssignment_0(); - - state._fsp--; - - - } - - after(grammarAccess.getBasicEventDefinitionAccess().getNameAssignment_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__BasicEventDefinition__Group__0__Impl" - - - // $ANTLR start "rule__BasicEventDefinition__Group__1" - // InternalCftLanguage.g:1522:1: rule__BasicEventDefinition__Group__1 : rule__BasicEventDefinition__Group__1__Impl ; - public final void rule__BasicEventDefinition__Group__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:1526:1: ( rule__BasicEventDefinition__Group__1__Impl ) - // InternalCftLanguage.g:1527:2: rule__BasicEventDefinition__Group__1__Impl - { - pushFollow(FOLLOW_2); - rule__BasicEventDefinition__Group__1__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__BasicEventDefinition__Group__1" - - - // $ANTLR start "rule__BasicEventDefinition__Group__1__Impl" - // InternalCftLanguage.g:1533:1: rule__BasicEventDefinition__Group__1__Impl : ( ( rule__BasicEventDefinition__DistributionAssignment_1 ) ) ; - public final void rule__BasicEventDefinition__Group__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:1537:1: ( ( ( rule__BasicEventDefinition__DistributionAssignment_1 ) ) ) - // InternalCftLanguage.g:1538:1: ( ( rule__BasicEventDefinition__DistributionAssignment_1 ) ) - { - // InternalCftLanguage.g:1538:1: ( ( rule__BasicEventDefinition__DistributionAssignment_1 ) ) - // InternalCftLanguage.g:1539:2: ( rule__BasicEventDefinition__DistributionAssignment_1 ) - { - before(grammarAccess.getBasicEventDefinitionAccess().getDistributionAssignment_1()); - // InternalCftLanguage.g:1540:2: ( rule__BasicEventDefinition__DistributionAssignment_1 ) - // InternalCftLanguage.g:1540:3: rule__BasicEventDefinition__DistributionAssignment_1 - { - pushFollow(FOLLOW_2); - rule__BasicEventDefinition__DistributionAssignment_1(); - - state._fsp--; - - - } - - after(grammarAccess.getBasicEventDefinitionAccess().getDistributionAssignment_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__BasicEventDefinition__Group__1__Impl" - - - // $ANTLR start "rule__ConstantDistribution__Group__0" - // InternalCftLanguage.g:1549:1: rule__ConstantDistribution__Group__0 : rule__ConstantDistribution__Group__0__Impl rule__ConstantDistribution__Group__1 ; - public final void rule__ConstantDistribution__Group__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:1553:1: ( rule__ConstantDistribution__Group__0__Impl rule__ConstantDistribution__Group__1 ) - // InternalCftLanguage.g:1554:2: rule__ConstantDistribution__Group__0__Impl rule__ConstantDistribution__Group__1 - { - pushFollow(FOLLOW_15); - rule__ConstantDistribution__Group__0__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__ConstantDistribution__Group__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ConstantDistribution__Group__0" - - - // $ANTLR start "rule__ConstantDistribution__Group__0__Impl" - // InternalCftLanguage.g:1561:1: rule__ConstantDistribution__Group__0__Impl : ( 'prob' ) ; - public final void rule__ConstantDistribution__Group__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:1565:1: ( ( 'prob' ) ) - // InternalCftLanguage.g:1566:1: ( 'prob' ) - { - // InternalCftLanguage.g:1566:1: ( 'prob' ) - // InternalCftLanguage.g:1567:2: 'prob' - { - before(grammarAccess.getConstantDistributionAccess().getProbKeyword_0()); - match(input,22,FOLLOW_2); - after(grammarAccess.getConstantDistributionAccess().getProbKeyword_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ConstantDistribution__Group__0__Impl" - - - // $ANTLR start "rule__ConstantDistribution__Group__1" - // InternalCftLanguage.g:1576:1: rule__ConstantDistribution__Group__1 : rule__ConstantDistribution__Group__1__Impl rule__ConstantDistribution__Group__2 ; - public final void rule__ConstantDistribution__Group__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:1580:1: ( rule__ConstantDistribution__Group__1__Impl rule__ConstantDistribution__Group__2 ) - // InternalCftLanguage.g:1581:2: rule__ConstantDistribution__Group__1__Impl rule__ConstantDistribution__Group__2 - { - pushFollow(FOLLOW_16); - rule__ConstantDistribution__Group__1__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__ConstantDistribution__Group__2(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ConstantDistribution__Group__1" - - - // $ANTLR start "rule__ConstantDistribution__Group__1__Impl" - // InternalCftLanguage.g:1588:1: rule__ConstantDistribution__Group__1__Impl : ( '=' ) ; - public final void rule__ConstantDistribution__Group__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:1592:1: ( ( '=' ) ) - // InternalCftLanguage.g:1593:1: ( '=' ) - { - // InternalCftLanguage.g:1593:1: ( '=' ) - // InternalCftLanguage.g:1594:2: '=' - { - before(grammarAccess.getConstantDistributionAccess().getEqualsSignKeyword_1()); - match(input,23,FOLLOW_2); - after(grammarAccess.getConstantDistributionAccess().getEqualsSignKeyword_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ConstantDistribution__Group__1__Impl" - - - // $ANTLR start "rule__ConstantDistribution__Group__2" - // InternalCftLanguage.g:1603:1: rule__ConstantDistribution__Group__2 : rule__ConstantDistribution__Group__2__Impl ; - public final void rule__ConstantDistribution__Group__2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:1607:1: ( rule__ConstantDistribution__Group__2__Impl ) - // InternalCftLanguage.g:1608:2: rule__ConstantDistribution__Group__2__Impl - { - pushFollow(FOLLOW_2); - rule__ConstantDistribution__Group__2__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ConstantDistribution__Group__2" - - - // $ANTLR start "rule__ConstantDistribution__Group__2__Impl" - // InternalCftLanguage.g:1614:1: rule__ConstantDistribution__Group__2__Impl : ( ( rule__ConstantDistribution__PAssignment_2 ) ) ; - public final void rule__ConstantDistribution__Group__2__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:1618:1: ( ( ( rule__ConstantDistribution__PAssignment_2 ) ) ) - // InternalCftLanguage.g:1619:1: ( ( rule__ConstantDistribution__PAssignment_2 ) ) - { - // InternalCftLanguage.g:1619:1: ( ( rule__ConstantDistribution__PAssignment_2 ) ) - // InternalCftLanguage.g:1620:2: ( rule__ConstantDistribution__PAssignment_2 ) - { - before(grammarAccess.getConstantDistributionAccess().getPAssignment_2()); - // InternalCftLanguage.g:1621:2: ( rule__ConstantDistribution__PAssignment_2 ) - // InternalCftLanguage.g:1621:3: rule__ConstantDistribution__PAssignment_2 - { - pushFollow(FOLLOW_2); - rule__ConstantDistribution__PAssignment_2(); - - state._fsp--; - - - } - - after(grammarAccess.getConstantDistributionAccess().getPAssignment_2()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ConstantDistribution__Group__2__Impl" - - - // $ANTLR start "rule__ExponentialDistribution__Group__0" - // InternalCftLanguage.g:1630:1: rule__ExponentialDistribution__Group__0 : rule__ExponentialDistribution__Group__0__Impl rule__ExponentialDistribution__Group__1 ; - public final void rule__ExponentialDistribution__Group__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:1634:1: ( rule__ExponentialDistribution__Group__0__Impl rule__ExponentialDistribution__Group__1 ) - // InternalCftLanguage.g:1635:2: rule__ExponentialDistribution__Group__0__Impl rule__ExponentialDistribution__Group__1 - { - pushFollow(FOLLOW_15); - rule__ExponentialDistribution__Group__0__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__ExponentialDistribution__Group__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ExponentialDistribution__Group__0" - - - // $ANTLR start "rule__ExponentialDistribution__Group__0__Impl" - // InternalCftLanguage.g:1642:1: rule__ExponentialDistribution__Group__0__Impl : ( 'lambda' ) ; - public final void rule__ExponentialDistribution__Group__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:1646:1: ( ( 'lambda' ) ) - // InternalCftLanguage.g:1647:1: ( 'lambda' ) - { - // InternalCftLanguage.g:1647:1: ( 'lambda' ) - // InternalCftLanguage.g:1648:2: 'lambda' - { - before(grammarAccess.getExponentialDistributionAccess().getLambdaKeyword_0()); - match(input,24,FOLLOW_2); - after(grammarAccess.getExponentialDistributionAccess().getLambdaKeyword_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ExponentialDistribution__Group__0__Impl" - - - // $ANTLR start "rule__ExponentialDistribution__Group__1" - // InternalCftLanguage.g:1657:1: rule__ExponentialDistribution__Group__1 : rule__ExponentialDistribution__Group__1__Impl rule__ExponentialDistribution__Group__2 ; - public final void rule__ExponentialDistribution__Group__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:1661:1: ( rule__ExponentialDistribution__Group__1__Impl rule__ExponentialDistribution__Group__2 ) - // InternalCftLanguage.g:1662:2: rule__ExponentialDistribution__Group__1__Impl rule__ExponentialDistribution__Group__2 - { - pushFollow(FOLLOW_16); - rule__ExponentialDistribution__Group__1__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__ExponentialDistribution__Group__2(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ExponentialDistribution__Group__1" - - - // $ANTLR start "rule__ExponentialDistribution__Group__1__Impl" - // InternalCftLanguage.g:1669:1: rule__ExponentialDistribution__Group__1__Impl : ( '=' ) ; - public final void rule__ExponentialDistribution__Group__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:1673:1: ( ( '=' ) ) - // InternalCftLanguage.g:1674:1: ( '=' ) - { - // InternalCftLanguage.g:1674:1: ( '=' ) - // InternalCftLanguage.g:1675:2: '=' - { - before(grammarAccess.getExponentialDistributionAccess().getEqualsSignKeyword_1()); - match(input,23,FOLLOW_2); - after(grammarAccess.getExponentialDistributionAccess().getEqualsSignKeyword_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ExponentialDistribution__Group__1__Impl" - - - // $ANTLR start "rule__ExponentialDistribution__Group__2" - // InternalCftLanguage.g:1684:1: rule__ExponentialDistribution__Group__2 : rule__ExponentialDistribution__Group__2__Impl ; - public final void rule__ExponentialDistribution__Group__2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:1688:1: ( rule__ExponentialDistribution__Group__2__Impl ) - // InternalCftLanguage.g:1689:2: rule__ExponentialDistribution__Group__2__Impl - { - pushFollow(FOLLOW_2); - rule__ExponentialDistribution__Group__2__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ExponentialDistribution__Group__2" - - - // $ANTLR start "rule__ExponentialDistribution__Group__2__Impl" - // InternalCftLanguage.g:1695:1: rule__ExponentialDistribution__Group__2__Impl : ( ( rule__ExponentialDistribution__LambdaAssignment_2 ) ) ; - public final void rule__ExponentialDistribution__Group__2__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:1699:1: ( ( ( rule__ExponentialDistribution__LambdaAssignment_2 ) ) ) - // InternalCftLanguage.g:1700:1: ( ( rule__ExponentialDistribution__LambdaAssignment_2 ) ) - { - // InternalCftLanguage.g:1700:1: ( ( rule__ExponentialDistribution__LambdaAssignment_2 ) ) - // InternalCftLanguage.g:1701:2: ( rule__ExponentialDistribution__LambdaAssignment_2 ) - { - before(grammarAccess.getExponentialDistributionAccess().getLambdaAssignment_2()); - // InternalCftLanguage.g:1702:2: ( rule__ExponentialDistribution__LambdaAssignment_2 ) - // InternalCftLanguage.g:1702:3: rule__ExponentialDistribution__LambdaAssignment_2 - { - pushFollow(FOLLOW_2); - rule__ExponentialDistribution__LambdaAssignment_2(); - - state._fsp--; - - - } - - after(grammarAccess.getExponentialDistributionAccess().getLambdaAssignment_2()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ExponentialDistribution__Group__2__Impl" - - - // $ANTLR start "rule__AndGateDefinition__Group__0" - // InternalCftLanguage.g:1711:1: rule__AndGateDefinition__Group__0 : rule__AndGateDefinition__Group__0__Impl rule__AndGateDefinition__Group__1 ; - public final void rule__AndGateDefinition__Group__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:1715:1: ( rule__AndGateDefinition__Group__0__Impl rule__AndGateDefinition__Group__1 ) - // InternalCftLanguage.g:1716:2: rule__AndGateDefinition__Group__0__Impl rule__AndGateDefinition__Group__1 - { - pushFollow(FOLLOW_17); - rule__AndGateDefinition__Group__0__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__AndGateDefinition__Group__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__AndGateDefinition__Group__0" - - - // $ANTLR start "rule__AndGateDefinition__Group__0__Impl" - // InternalCftLanguage.g:1723:1: rule__AndGateDefinition__Group__0__Impl : ( ( rule__AndGateDefinition__NameAssignment_0 ) ) ; - public final void rule__AndGateDefinition__Group__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:1727:1: ( ( ( rule__AndGateDefinition__NameAssignment_0 ) ) ) - // InternalCftLanguage.g:1728:1: ( ( rule__AndGateDefinition__NameAssignment_0 ) ) - { - // InternalCftLanguage.g:1728:1: ( ( rule__AndGateDefinition__NameAssignment_0 ) ) - // InternalCftLanguage.g:1729:2: ( rule__AndGateDefinition__NameAssignment_0 ) - { - before(grammarAccess.getAndGateDefinitionAccess().getNameAssignment_0()); - // InternalCftLanguage.g:1730:2: ( rule__AndGateDefinition__NameAssignment_0 ) - // InternalCftLanguage.g:1730:3: rule__AndGateDefinition__NameAssignment_0 - { - pushFollow(FOLLOW_2); - rule__AndGateDefinition__NameAssignment_0(); - - state._fsp--; - - - } - - after(grammarAccess.getAndGateDefinitionAccess().getNameAssignment_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__AndGateDefinition__Group__0__Impl" - - - // $ANTLR start "rule__AndGateDefinition__Group__1" - // InternalCftLanguage.g:1738:1: rule__AndGateDefinition__Group__1 : rule__AndGateDefinition__Group__1__Impl rule__AndGateDefinition__Group__2 ; - public final void rule__AndGateDefinition__Group__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:1742:1: ( rule__AndGateDefinition__Group__1__Impl rule__AndGateDefinition__Group__2 ) - // InternalCftLanguage.g:1743:2: rule__AndGateDefinition__Group__1__Impl rule__AndGateDefinition__Group__2 - { - pushFollow(FOLLOW_3); - rule__AndGateDefinition__Group__1__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__AndGateDefinition__Group__2(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__AndGateDefinition__Group__1" - - - // $ANTLR start "rule__AndGateDefinition__Group__1__Impl" - // InternalCftLanguage.g:1750:1: rule__AndGateDefinition__Group__1__Impl : ( 'and' ) ; - public final void rule__AndGateDefinition__Group__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:1754:1: ( ( 'and' ) ) - // InternalCftLanguage.g:1755:1: ( 'and' ) - { - // InternalCftLanguage.g:1755:1: ( 'and' ) - // InternalCftLanguage.g:1756:2: 'and' - { - before(grammarAccess.getAndGateDefinitionAccess().getAndKeyword_1()); - match(input,25,FOLLOW_2); - after(grammarAccess.getAndGateDefinitionAccess().getAndKeyword_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__AndGateDefinition__Group__1__Impl" - - - // $ANTLR start "rule__AndGateDefinition__Group__2" - // InternalCftLanguage.g:1765:1: rule__AndGateDefinition__Group__2 : rule__AndGateDefinition__Group__2__Impl ; - public final void rule__AndGateDefinition__Group__2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:1769:1: ( rule__AndGateDefinition__Group__2__Impl ) - // InternalCftLanguage.g:1770:2: rule__AndGateDefinition__Group__2__Impl - { - pushFollow(FOLLOW_2); - rule__AndGateDefinition__Group__2__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__AndGateDefinition__Group__2" - - - // $ANTLR start "rule__AndGateDefinition__Group__2__Impl" - // InternalCftLanguage.g:1776:1: rule__AndGateDefinition__Group__2__Impl : ( ( rule__AndGateDefinition__InputEventsAssignment_2 )* ) ; - public final void rule__AndGateDefinition__Group__2__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:1780:1: ( ( ( rule__AndGateDefinition__InputEventsAssignment_2 )* ) ) - // InternalCftLanguage.g:1781:1: ( ( rule__AndGateDefinition__InputEventsAssignment_2 )* ) - { - // InternalCftLanguage.g:1781:1: ( ( rule__AndGateDefinition__InputEventsAssignment_2 )* ) - // InternalCftLanguage.g:1782:2: ( rule__AndGateDefinition__InputEventsAssignment_2 )* - { - before(grammarAccess.getAndGateDefinitionAccess().getInputEventsAssignment_2()); - // InternalCftLanguage.g:1783:2: ( rule__AndGateDefinition__InputEventsAssignment_2 )* - loop18: - do { - int alt18=2; - int LA18_0 = input.LA(1); - - if ( ((LA18_0>=RULE_ID && LA18_0<=RULE_OF_INT)) ) { - alt18=1; - } - - - switch (alt18) { - case 1 : - // InternalCftLanguage.g:1783:3: rule__AndGateDefinition__InputEventsAssignment_2 - { - pushFollow(FOLLOW_11); - rule__AndGateDefinition__InputEventsAssignment_2(); - - state._fsp--; - - - } - break; - - default : - break loop18; - } - } while (true); - - after(grammarAccess.getAndGateDefinitionAccess().getInputEventsAssignment_2()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__AndGateDefinition__Group__2__Impl" - - - // $ANTLR start "rule__OrGateDefinition__Group__0" - // InternalCftLanguage.g:1792:1: rule__OrGateDefinition__Group__0 : rule__OrGateDefinition__Group__0__Impl rule__OrGateDefinition__Group__1 ; - public final void rule__OrGateDefinition__Group__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:1796:1: ( rule__OrGateDefinition__Group__0__Impl rule__OrGateDefinition__Group__1 ) - // InternalCftLanguage.g:1797:2: rule__OrGateDefinition__Group__0__Impl rule__OrGateDefinition__Group__1 - { - pushFollow(FOLLOW_18); - rule__OrGateDefinition__Group__0__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__OrGateDefinition__Group__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__OrGateDefinition__Group__0" - - - // $ANTLR start "rule__OrGateDefinition__Group__0__Impl" - // InternalCftLanguage.g:1804:1: rule__OrGateDefinition__Group__0__Impl : ( ( rule__OrGateDefinition__NameAssignment_0 ) ) ; - public final void rule__OrGateDefinition__Group__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:1808:1: ( ( ( rule__OrGateDefinition__NameAssignment_0 ) ) ) - // InternalCftLanguage.g:1809:1: ( ( rule__OrGateDefinition__NameAssignment_0 ) ) - { - // InternalCftLanguage.g:1809:1: ( ( rule__OrGateDefinition__NameAssignment_0 ) ) - // InternalCftLanguage.g:1810:2: ( rule__OrGateDefinition__NameAssignment_0 ) - { - before(grammarAccess.getOrGateDefinitionAccess().getNameAssignment_0()); - // InternalCftLanguage.g:1811:2: ( rule__OrGateDefinition__NameAssignment_0 ) - // InternalCftLanguage.g:1811:3: rule__OrGateDefinition__NameAssignment_0 - { - pushFollow(FOLLOW_2); - rule__OrGateDefinition__NameAssignment_0(); - - state._fsp--; - - - } - - after(grammarAccess.getOrGateDefinitionAccess().getNameAssignment_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__OrGateDefinition__Group__0__Impl" - - - // $ANTLR start "rule__OrGateDefinition__Group__1" - // InternalCftLanguage.g:1819:1: rule__OrGateDefinition__Group__1 : rule__OrGateDefinition__Group__1__Impl rule__OrGateDefinition__Group__2 ; - public final void rule__OrGateDefinition__Group__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:1823:1: ( rule__OrGateDefinition__Group__1__Impl rule__OrGateDefinition__Group__2 ) - // InternalCftLanguage.g:1824:2: rule__OrGateDefinition__Group__1__Impl rule__OrGateDefinition__Group__2 - { - pushFollow(FOLLOW_3); - rule__OrGateDefinition__Group__1__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__OrGateDefinition__Group__2(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__OrGateDefinition__Group__1" - - - // $ANTLR start "rule__OrGateDefinition__Group__1__Impl" - // InternalCftLanguage.g:1831:1: rule__OrGateDefinition__Group__1__Impl : ( 'or' ) ; - public final void rule__OrGateDefinition__Group__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:1835:1: ( ( 'or' ) ) - // InternalCftLanguage.g:1836:1: ( 'or' ) - { - // InternalCftLanguage.g:1836:1: ( 'or' ) - // InternalCftLanguage.g:1837:2: 'or' - { - before(grammarAccess.getOrGateDefinitionAccess().getOrKeyword_1()); - match(input,26,FOLLOW_2); - after(grammarAccess.getOrGateDefinitionAccess().getOrKeyword_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__OrGateDefinition__Group__1__Impl" - - - // $ANTLR start "rule__OrGateDefinition__Group__2" - // InternalCftLanguage.g:1846:1: rule__OrGateDefinition__Group__2 : rule__OrGateDefinition__Group__2__Impl ; - public final void rule__OrGateDefinition__Group__2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:1850:1: ( rule__OrGateDefinition__Group__2__Impl ) - // InternalCftLanguage.g:1851:2: rule__OrGateDefinition__Group__2__Impl - { - pushFollow(FOLLOW_2); - rule__OrGateDefinition__Group__2__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__OrGateDefinition__Group__2" - - - // $ANTLR start "rule__OrGateDefinition__Group__2__Impl" - // InternalCftLanguage.g:1857:1: rule__OrGateDefinition__Group__2__Impl : ( ( rule__OrGateDefinition__InputEventsAssignment_2 )* ) ; - public final void rule__OrGateDefinition__Group__2__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:1861:1: ( ( ( rule__OrGateDefinition__InputEventsAssignment_2 )* ) ) - // InternalCftLanguage.g:1862:1: ( ( rule__OrGateDefinition__InputEventsAssignment_2 )* ) - { - // InternalCftLanguage.g:1862:1: ( ( rule__OrGateDefinition__InputEventsAssignment_2 )* ) - // InternalCftLanguage.g:1863:2: ( rule__OrGateDefinition__InputEventsAssignment_2 )* - { - before(grammarAccess.getOrGateDefinitionAccess().getInputEventsAssignment_2()); - // InternalCftLanguage.g:1864:2: ( rule__OrGateDefinition__InputEventsAssignment_2 )* - loop19: - do { - int alt19=2; - int LA19_0 = input.LA(1); - - if ( ((LA19_0>=RULE_ID && LA19_0<=RULE_OF_INT)) ) { - alt19=1; - } - - - switch (alt19) { - case 1 : - // InternalCftLanguage.g:1864:3: rule__OrGateDefinition__InputEventsAssignment_2 - { - pushFollow(FOLLOW_11); - rule__OrGateDefinition__InputEventsAssignment_2(); - - state._fsp--; - - - } - break; - - default : - break loop19; - } - } while (true); - - after(grammarAccess.getOrGateDefinitionAccess().getInputEventsAssignment_2()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__OrGateDefinition__Group__2__Impl" - - - // $ANTLR start "rule__KOfMGateDefinition__Group__0" - // InternalCftLanguage.g:1873:1: rule__KOfMGateDefinition__Group__0 : rule__KOfMGateDefinition__Group__0__Impl rule__KOfMGateDefinition__Group__1 ; - public final void rule__KOfMGateDefinition__Group__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:1877:1: ( rule__KOfMGateDefinition__Group__0__Impl rule__KOfMGateDefinition__Group__1 ) - // InternalCftLanguage.g:1878:2: rule__KOfMGateDefinition__Group__0__Impl rule__KOfMGateDefinition__Group__1 - { - pushFollow(FOLLOW_19); - rule__KOfMGateDefinition__Group__0__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__KOfMGateDefinition__Group__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__KOfMGateDefinition__Group__0" - - - // $ANTLR start "rule__KOfMGateDefinition__Group__0__Impl" - // InternalCftLanguage.g:1885:1: rule__KOfMGateDefinition__Group__0__Impl : ( ( rule__KOfMGateDefinition__NameAssignment_0 ) ) ; - public final void rule__KOfMGateDefinition__Group__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:1889:1: ( ( ( rule__KOfMGateDefinition__NameAssignment_0 ) ) ) - // InternalCftLanguage.g:1890:1: ( ( rule__KOfMGateDefinition__NameAssignment_0 ) ) - { - // InternalCftLanguage.g:1890:1: ( ( rule__KOfMGateDefinition__NameAssignment_0 ) ) - // InternalCftLanguage.g:1891:2: ( rule__KOfMGateDefinition__NameAssignment_0 ) - { - before(grammarAccess.getKOfMGateDefinitionAccess().getNameAssignment_0()); - // InternalCftLanguage.g:1892:2: ( rule__KOfMGateDefinition__NameAssignment_0 ) - // InternalCftLanguage.g:1892:3: rule__KOfMGateDefinition__NameAssignment_0 - { - pushFollow(FOLLOW_2); - rule__KOfMGateDefinition__NameAssignment_0(); - - state._fsp--; - - - } - - after(grammarAccess.getKOfMGateDefinitionAccess().getNameAssignment_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__KOfMGateDefinition__Group__0__Impl" - - - // $ANTLR start "rule__KOfMGateDefinition__Group__1" - // InternalCftLanguage.g:1900:1: rule__KOfMGateDefinition__Group__1 : rule__KOfMGateDefinition__Group__1__Impl rule__KOfMGateDefinition__Group__2 ; - public final void rule__KOfMGateDefinition__Group__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:1904:1: ( rule__KOfMGateDefinition__Group__1__Impl rule__KOfMGateDefinition__Group__2 ) - // InternalCftLanguage.g:1905:2: rule__KOfMGateDefinition__Group__1__Impl rule__KOfMGateDefinition__Group__2 - { - pushFollow(FOLLOW_20); - rule__KOfMGateDefinition__Group__1__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__KOfMGateDefinition__Group__2(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__KOfMGateDefinition__Group__1" - - - // $ANTLR start "rule__KOfMGateDefinition__Group__1__Impl" - // InternalCftLanguage.g:1912:1: rule__KOfMGateDefinition__Group__1__Impl : ( ( rule__KOfMGateDefinition__KAssignment_1 ) ) ; - public final void rule__KOfMGateDefinition__Group__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:1916:1: ( ( ( rule__KOfMGateDefinition__KAssignment_1 ) ) ) - // InternalCftLanguage.g:1917:1: ( ( rule__KOfMGateDefinition__KAssignment_1 ) ) - { - // InternalCftLanguage.g:1917:1: ( ( rule__KOfMGateDefinition__KAssignment_1 ) ) - // InternalCftLanguage.g:1918:2: ( rule__KOfMGateDefinition__KAssignment_1 ) - { - before(grammarAccess.getKOfMGateDefinitionAccess().getKAssignment_1()); - // InternalCftLanguage.g:1919:2: ( rule__KOfMGateDefinition__KAssignment_1 ) - // InternalCftLanguage.g:1919:3: rule__KOfMGateDefinition__KAssignment_1 - { - pushFollow(FOLLOW_2); - rule__KOfMGateDefinition__KAssignment_1(); - - state._fsp--; - - - } - - after(grammarAccess.getKOfMGateDefinitionAccess().getKAssignment_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__KOfMGateDefinition__Group__1__Impl" - - - // $ANTLR start "rule__KOfMGateDefinition__Group__2" - // InternalCftLanguage.g:1927:1: rule__KOfMGateDefinition__Group__2 : rule__KOfMGateDefinition__Group__2__Impl rule__KOfMGateDefinition__Group__3 ; - public final void rule__KOfMGateDefinition__Group__2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:1931:1: ( rule__KOfMGateDefinition__Group__2__Impl rule__KOfMGateDefinition__Group__3 ) - // InternalCftLanguage.g:1932:2: rule__KOfMGateDefinition__Group__2__Impl rule__KOfMGateDefinition__Group__3 - { - pushFollow(FOLLOW_3); - rule__KOfMGateDefinition__Group__2__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__KOfMGateDefinition__Group__3(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__KOfMGateDefinition__Group__2" - - - // $ANTLR start "rule__KOfMGateDefinition__Group__2__Impl" - // InternalCftLanguage.g:1939:1: rule__KOfMGateDefinition__Group__2__Impl : ( ( rule__KOfMGateDefinition__Alternatives_2 ) ) ; - public final void rule__KOfMGateDefinition__Group__2__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:1943:1: ( ( ( rule__KOfMGateDefinition__Alternatives_2 ) ) ) - // InternalCftLanguage.g:1944:1: ( ( rule__KOfMGateDefinition__Alternatives_2 ) ) - { - // InternalCftLanguage.g:1944:1: ( ( rule__KOfMGateDefinition__Alternatives_2 ) ) - // InternalCftLanguage.g:1945:2: ( rule__KOfMGateDefinition__Alternatives_2 ) - { - before(grammarAccess.getKOfMGateDefinitionAccess().getAlternatives_2()); - // InternalCftLanguage.g:1946:2: ( rule__KOfMGateDefinition__Alternatives_2 ) - // InternalCftLanguage.g:1946:3: rule__KOfMGateDefinition__Alternatives_2 - { - pushFollow(FOLLOW_2); - rule__KOfMGateDefinition__Alternatives_2(); - - state._fsp--; - - - } - - after(grammarAccess.getKOfMGateDefinitionAccess().getAlternatives_2()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__KOfMGateDefinition__Group__2__Impl" - - - // $ANTLR start "rule__KOfMGateDefinition__Group__3" - // InternalCftLanguage.g:1954:1: rule__KOfMGateDefinition__Group__3 : rule__KOfMGateDefinition__Group__3__Impl ; - public final void rule__KOfMGateDefinition__Group__3() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:1958:1: ( rule__KOfMGateDefinition__Group__3__Impl ) - // InternalCftLanguage.g:1959:2: rule__KOfMGateDefinition__Group__3__Impl - { - pushFollow(FOLLOW_2); - rule__KOfMGateDefinition__Group__3__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__KOfMGateDefinition__Group__3" - - - // $ANTLR start "rule__KOfMGateDefinition__Group__3__Impl" - // InternalCftLanguage.g:1965:1: rule__KOfMGateDefinition__Group__3__Impl : ( ( rule__KOfMGateDefinition__InputEventsAssignment_3 )* ) ; - public final void rule__KOfMGateDefinition__Group__3__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:1969:1: ( ( ( rule__KOfMGateDefinition__InputEventsAssignment_3 )* ) ) - // InternalCftLanguage.g:1970:1: ( ( rule__KOfMGateDefinition__InputEventsAssignment_3 )* ) - { - // InternalCftLanguage.g:1970:1: ( ( rule__KOfMGateDefinition__InputEventsAssignment_3 )* ) - // InternalCftLanguage.g:1971:2: ( rule__KOfMGateDefinition__InputEventsAssignment_3 )* - { - before(grammarAccess.getKOfMGateDefinitionAccess().getInputEventsAssignment_3()); - // InternalCftLanguage.g:1972:2: ( rule__KOfMGateDefinition__InputEventsAssignment_3 )* - loop20: - do { - int alt20=2; - int LA20_0 = input.LA(1); - - if ( ((LA20_0>=RULE_ID && LA20_0<=RULE_OF_INT)) ) { - alt20=1; - } - - - switch (alt20) { - case 1 : - // InternalCftLanguage.g:1972:3: rule__KOfMGateDefinition__InputEventsAssignment_3 - { - pushFollow(FOLLOW_11); - rule__KOfMGateDefinition__InputEventsAssignment_3(); - - state._fsp--; - - - } - break; - - default : - break loop20; - } - } while (true); - - after(grammarAccess.getKOfMGateDefinitionAccess().getInputEventsAssignment_3()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__KOfMGateDefinition__Group__3__Impl" - - - // $ANTLR start "rule__KOfMGateDefinition__Group_2_0__0" - // InternalCftLanguage.g:1981:1: rule__KOfMGateDefinition__Group_2_0__0 : rule__KOfMGateDefinition__Group_2_0__0__Impl rule__KOfMGateDefinition__Group_2_0__1 ; - public final void rule__KOfMGateDefinition__Group_2_0__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:1985:1: ( rule__KOfMGateDefinition__Group_2_0__0__Impl rule__KOfMGateDefinition__Group_2_0__1 ) - // InternalCftLanguage.g:1986:2: rule__KOfMGateDefinition__Group_2_0__0__Impl rule__KOfMGateDefinition__Group_2_0__1 - { - pushFollow(FOLLOW_19); - rule__KOfMGateDefinition__Group_2_0__0__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__KOfMGateDefinition__Group_2_0__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__KOfMGateDefinition__Group_2_0__0" - - - // $ANTLR start "rule__KOfMGateDefinition__Group_2_0__0__Impl" - // InternalCftLanguage.g:1993:1: rule__KOfMGateDefinition__Group_2_0__0__Impl : ( 'of' ) ; - public final void rule__KOfMGateDefinition__Group_2_0__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:1997:1: ( ( 'of' ) ) - // InternalCftLanguage.g:1998:1: ( 'of' ) - { - // InternalCftLanguage.g:1998:1: ( 'of' ) - // InternalCftLanguage.g:1999:2: 'of' - { - before(grammarAccess.getKOfMGateDefinitionAccess().getOfKeyword_2_0_0()); - match(input,27,FOLLOW_2); - after(grammarAccess.getKOfMGateDefinitionAccess().getOfKeyword_2_0_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__KOfMGateDefinition__Group_2_0__0__Impl" - - - // $ANTLR start "rule__KOfMGateDefinition__Group_2_0__1" - // InternalCftLanguage.g:2008:1: rule__KOfMGateDefinition__Group_2_0__1 : rule__KOfMGateDefinition__Group_2_0__1__Impl ; - public final void rule__KOfMGateDefinition__Group_2_0__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:2012:1: ( rule__KOfMGateDefinition__Group_2_0__1__Impl ) - // InternalCftLanguage.g:2013:2: rule__KOfMGateDefinition__Group_2_0__1__Impl - { - pushFollow(FOLLOW_2); - rule__KOfMGateDefinition__Group_2_0__1__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__KOfMGateDefinition__Group_2_0__1" - - - // $ANTLR start "rule__KOfMGateDefinition__Group_2_0__1__Impl" - // InternalCftLanguage.g:2019:1: rule__KOfMGateDefinition__Group_2_0__1__Impl : ( ( rule__KOfMGateDefinition__MAssignment_2_0_1 ) ) ; - public final void rule__KOfMGateDefinition__Group_2_0__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:2023:1: ( ( ( rule__KOfMGateDefinition__MAssignment_2_0_1 ) ) ) - // InternalCftLanguage.g:2024:1: ( ( rule__KOfMGateDefinition__MAssignment_2_0_1 ) ) - { - // InternalCftLanguage.g:2024:1: ( ( rule__KOfMGateDefinition__MAssignment_2_0_1 ) ) - // InternalCftLanguage.g:2025:2: ( rule__KOfMGateDefinition__MAssignment_2_0_1 ) - { - before(grammarAccess.getKOfMGateDefinitionAccess().getMAssignment_2_0_1()); - // InternalCftLanguage.g:2026:2: ( rule__KOfMGateDefinition__MAssignment_2_0_1 ) - // InternalCftLanguage.g:2026:3: rule__KOfMGateDefinition__MAssignment_2_0_1 - { - pushFollow(FOLLOW_2); - rule__KOfMGateDefinition__MAssignment_2_0_1(); - - state._fsp--; - - - } - - after(grammarAccess.getKOfMGateDefinitionAccess().getMAssignment_2_0_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__KOfMGateDefinition__Group_2_0__1__Impl" - - - // $ANTLR start "rule__TransformationDefinition__Group__0" - // InternalCftLanguage.g:2035:1: rule__TransformationDefinition__Group__0 : rule__TransformationDefinition__Group__0__Impl rule__TransformationDefinition__Group__1 ; - public final void rule__TransformationDefinition__Group__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:2039:1: ( rule__TransformationDefinition__Group__0__Impl rule__TransformationDefinition__Group__1 ) - // InternalCftLanguage.g:2040:2: rule__TransformationDefinition__Group__0__Impl rule__TransformationDefinition__Group__1 - { - pushFollow(FOLLOW_3); - rule__TransformationDefinition__Group__0__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__TransformationDefinition__Group__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__TransformationDefinition__Group__0" - - - // $ANTLR start "rule__TransformationDefinition__Group__0__Impl" - // InternalCftLanguage.g:2047:1: rule__TransformationDefinition__Group__0__Impl : ( 'transformation' ) ; - public final void rule__TransformationDefinition__Group__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:2051:1: ( ( 'transformation' ) ) - // InternalCftLanguage.g:2052:1: ( 'transformation' ) - { - // InternalCftLanguage.g:2052:1: ( 'transformation' ) - // InternalCftLanguage.g:2053:2: 'transformation' - { - before(grammarAccess.getTransformationDefinitionAccess().getTransformationKeyword_0()); - match(input,28,FOLLOW_2); - after(grammarAccess.getTransformationDefinitionAccess().getTransformationKeyword_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__TransformationDefinition__Group__0__Impl" - - - // $ANTLR start "rule__TransformationDefinition__Group__1" - // InternalCftLanguage.g:2062:1: rule__TransformationDefinition__Group__1 : rule__TransformationDefinition__Group__1__Impl rule__TransformationDefinition__Group__2 ; - public final void rule__TransformationDefinition__Group__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:2066:1: ( rule__TransformationDefinition__Group__1__Impl rule__TransformationDefinition__Group__2 ) - // InternalCftLanguage.g:2067:2: rule__TransformationDefinition__Group__1__Impl rule__TransformationDefinition__Group__2 - { - pushFollow(FOLLOW_8); - rule__TransformationDefinition__Group__1__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__TransformationDefinition__Group__2(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__TransformationDefinition__Group__1" - - - // $ANTLR start "rule__TransformationDefinition__Group__1__Impl" - // InternalCftLanguage.g:2074:1: rule__TransformationDefinition__Group__1__Impl : ( ( rule__TransformationDefinition__NameAssignment_1 ) ) ; - public final void rule__TransformationDefinition__Group__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:2078:1: ( ( ( rule__TransformationDefinition__NameAssignment_1 ) ) ) - // InternalCftLanguage.g:2079:1: ( ( rule__TransformationDefinition__NameAssignment_1 ) ) - { - // InternalCftLanguage.g:2079:1: ( ( rule__TransformationDefinition__NameAssignment_1 ) ) - // InternalCftLanguage.g:2080:2: ( rule__TransformationDefinition__NameAssignment_1 ) - { - before(grammarAccess.getTransformationDefinitionAccess().getNameAssignment_1()); - // InternalCftLanguage.g:2081:2: ( rule__TransformationDefinition__NameAssignment_1 ) - // InternalCftLanguage.g:2081:3: rule__TransformationDefinition__NameAssignment_1 - { - pushFollow(FOLLOW_2); - rule__TransformationDefinition__NameAssignment_1(); - - state._fsp--; - - - } - - after(grammarAccess.getTransformationDefinitionAccess().getNameAssignment_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__TransformationDefinition__Group__1__Impl" - - - // $ANTLR start "rule__TransformationDefinition__Group__2" - // InternalCftLanguage.g:2089:1: rule__TransformationDefinition__Group__2 : rule__TransformationDefinition__Group__2__Impl rule__TransformationDefinition__Group__3 ; - public final void rule__TransformationDefinition__Group__2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:2093:1: ( rule__TransformationDefinition__Group__2__Impl rule__TransformationDefinition__Group__3 ) - // InternalCftLanguage.g:2094:2: rule__TransformationDefinition__Group__2__Impl rule__TransformationDefinition__Group__3 - { - pushFollow(FOLLOW_21); - rule__TransformationDefinition__Group__2__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__TransformationDefinition__Group__3(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__TransformationDefinition__Group__2" - - - // $ANTLR start "rule__TransformationDefinition__Group__2__Impl" - // InternalCftLanguage.g:2101:1: rule__TransformationDefinition__Group__2__Impl : ( '{' ) ; - public final void rule__TransformationDefinition__Group__2__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:2105:1: ( ( '{' ) ) - // InternalCftLanguage.g:2106:1: ( '{' ) - { - // InternalCftLanguage.g:2106:1: ( '{' ) - // InternalCftLanguage.g:2107:2: '{' - { - before(grammarAccess.getTransformationDefinitionAccess().getLeftCurlyBracketKeyword_2()); - match(input,18,FOLLOW_2); - after(grammarAccess.getTransformationDefinitionAccess().getLeftCurlyBracketKeyword_2()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__TransformationDefinition__Group__2__Impl" - - - // $ANTLR start "rule__TransformationDefinition__Group__3" - // InternalCftLanguage.g:2116:1: rule__TransformationDefinition__Group__3 : rule__TransformationDefinition__Group__3__Impl rule__TransformationDefinition__Group__4 ; - public final void rule__TransformationDefinition__Group__3() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:2120:1: ( rule__TransformationDefinition__Group__3__Impl rule__TransformationDefinition__Group__4 ) - // InternalCftLanguage.g:2121:2: rule__TransformationDefinition__Group__3__Impl rule__TransformationDefinition__Group__4 - { - pushFollow(FOLLOW_21); - rule__TransformationDefinition__Group__3__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__TransformationDefinition__Group__4(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__TransformationDefinition__Group__3" - - - // $ANTLR start "rule__TransformationDefinition__Group__3__Impl" - // InternalCftLanguage.g:2128:1: rule__TransformationDefinition__Group__3__Impl : ( ( rule__TransformationDefinition__MappingDefinitionsAssignment_3 )* ) ; - public final void rule__TransformationDefinition__Group__3__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:2132:1: ( ( ( rule__TransformationDefinition__MappingDefinitionsAssignment_3 )* ) ) - // InternalCftLanguage.g:2133:1: ( ( rule__TransformationDefinition__MappingDefinitionsAssignment_3 )* ) - { - // InternalCftLanguage.g:2133:1: ( ( rule__TransformationDefinition__MappingDefinitionsAssignment_3 )* ) - // InternalCftLanguage.g:2134:2: ( rule__TransformationDefinition__MappingDefinitionsAssignment_3 )* - { - before(grammarAccess.getTransformationDefinitionAccess().getMappingDefinitionsAssignment_3()); - // InternalCftLanguage.g:2135:2: ( rule__TransformationDefinition__MappingDefinitionsAssignment_3 )* - loop21: - do { - int alt21=2; - int LA21_0 = input.LA(1); - - if ( (LA21_0==29||LA21_0==39) ) { - alt21=1; - } - - - switch (alt21) { - case 1 : - // InternalCftLanguage.g:2135:3: rule__TransformationDefinition__MappingDefinitionsAssignment_3 - { - pushFollow(FOLLOW_22); - rule__TransformationDefinition__MappingDefinitionsAssignment_3(); - - state._fsp--; - - - } - break; - - default : - break loop21; - } - } while (true); - - after(grammarAccess.getTransformationDefinitionAccess().getMappingDefinitionsAssignment_3()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__TransformationDefinition__Group__3__Impl" - - - // $ANTLR start "rule__TransformationDefinition__Group__4" - // InternalCftLanguage.g:2143:1: rule__TransformationDefinition__Group__4 : rule__TransformationDefinition__Group__4__Impl ; - public final void rule__TransformationDefinition__Group__4() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:2147:1: ( rule__TransformationDefinition__Group__4__Impl ) - // InternalCftLanguage.g:2148:2: rule__TransformationDefinition__Group__4__Impl - { - pushFollow(FOLLOW_2); - rule__TransformationDefinition__Group__4__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__TransformationDefinition__Group__4" - - - // $ANTLR start "rule__TransformationDefinition__Group__4__Impl" - // InternalCftLanguage.g:2154:1: rule__TransformationDefinition__Group__4__Impl : ( '}' ) ; - public final void rule__TransformationDefinition__Group__4__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:2158:1: ( ( '}' ) ) - // InternalCftLanguage.g:2159:1: ( '}' ) - { - // InternalCftLanguage.g:2159:1: ( '}' ) - // InternalCftLanguage.g:2160:2: '}' - { - before(grammarAccess.getTransformationDefinitionAccess().getRightCurlyBracketKeyword_4()); - match(input,19,FOLLOW_2); - after(grammarAccess.getTransformationDefinitionAccess().getRightCurlyBracketKeyword_4()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__TransformationDefinition__Group__4__Impl" - - - // $ANTLR start "rule__MappingDefinition__Group__0" - // InternalCftLanguage.g:2170:1: rule__MappingDefinition__Group__0 : rule__MappingDefinition__Group__0__Impl rule__MappingDefinition__Group__1 ; - public final void rule__MappingDefinition__Group__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:2174:1: ( rule__MappingDefinition__Group__0__Impl rule__MappingDefinition__Group__1 ) - // InternalCftLanguage.g:2175:2: rule__MappingDefinition__Group__0__Impl rule__MappingDefinition__Group__1 - { - pushFollow(FOLLOW_23); - rule__MappingDefinition__Group__0__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__MappingDefinition__Group__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__MappingDefinition__Group__0" - - - // $ANTLR start "rule__MappingDefinition__Group__0__Impl" - // InternalCftLanguage.g:2182:1: rule__MappingDefinition__Group__0__Impl : ( ( rule__MappingDefinition__TopLevelAssignment_0 )? ) ; - public final void rule__MappingDefinition__Group__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:2186:1: ( ( ( rule__MappingDefinition__TopLevelAssignment_0 )? ) ) - // InternalCftLanguage.g:2187:1: ( ( rule__MappingDefinition__TopLevelAssignment_0 )? ) - { - // InternalCftLanguage.g:2187:1: ( ( rule__MappingDefinition__TopLevelAssignment_0 )? ) - // InternalCftLanguage.g:2188:2: ( rule__MappingDefinition__TopLevelAssignment_0 )? - { - before(grammarAccess.getMappingDefinitionAccess().getTopLevelAssignment_0()); - // InternalCftLanguage.g:2189:2: ( rule__MappingDefinition__TopLevelAssignment_0 )? - int alt22=2; - int LA22_0 = input.LA(1); - - if ( (LA22_0==39) ) { - alt22=1; - } - switch (alt22) { - case 1 : - // InternalCftLanguage.g:2189:3: rule__MappingDefinition__TopLevelAssignment_0 - { - pushFollow(FOLLOW_2); - rule__MappingDefinition__TopLevelAssignment_0(); - - state._fsp--; - - - } - break; - - } - - after(grammarAccess.getMappingDefinitionAccess().getTopLevelAssignment_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__MappingDefinition__Group__0__Impl" - - - // $ANTLR start "rule__MappingDefinition__Group__1" - // InternalCftLanguage.g:2197:1: rule__MappingDefinition__Group__1 : rule__MappingDefinition__Group__1__Impl rule__MappingDefinition__Group__2 ; - public final void rule__MappingDefinition__Group__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:2201:1: ( rule__MappingDefinition__Group__1__Impl rule__MappingDefinition__Group__2 ) - // InternalCftLanguage.g:2202:2: rule__MappingDefinition__Group__1__Impl rule__MappingDefinition__Group__2 - { - pushFollow(FOLLOW_3); - rule__MappingDefinition__Group__1__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__MappingDefinition__Group__2(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__MappingDefinition__Group__1" - - - // $ANTLR start "rule__MappingDefinition__Group__1__Impl" - // InternalCftLanguage.g:2209:1: rule__MappingDefinition__Group__1__Impl : ( 'mapping' ) ; - public final void rule__MappingDefinition__Group__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:2213:1: ( ( 'mapping' ) ) - // InternalCftLanguage.g:2214:1: ( 'mapping' ) - { - // InternalCftLanguage.g:2214:1: ( 'mapping' ) - // InternalCftLanguage.g:2215:2: 'mapping' - { - before(grammarAccess.getMappingDefinitionAccess().getMappingKeyword_1()); - match(input,29,FOLLOW_2); - after(grammarAccess.getMappingDefinitionAccess().getMappingKeyword_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__MappingDefinition__Group__1__Impl" - - - // $ANTLR start "rule__MappingDefinition__Group__2" - // InternalCftLanguage.g:2224:1: rule__MappingDefinition__Group__2 : rule__MappingDefinition__Group__2__Impl rule__MappingDefinition__Group__3 ; - public final void rule__MappingDefinition__Group__2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:2228:1: ( rule__MappingDefinition__Group__2__Impl rule__MappingDefinition__Group__3 ) - // InternalCftLanguage.g:2229:2: rule__MappingDefinition__Group__2__Impl rule__MappingDefinition__Group__3 - { - pushFollow(FOLLOW_24); - rule__MappingDefinition__Group__2__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__MappingDefinition__Group__3(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__MappingDefinition__Group__2" - - - // $ANTLR start "rule__MappingDefinition__Group__2__Impl" - // InternalCftLanguage.g:2236:1: rule__MappingDefinition__Group__2__Impl : ( ( rule__MappingDefinition__PatternAssignment_2 ) ) ; - public final void rule__MappingDefinition__Group__2__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:2240:1: ( ( ( rule__MappingDefinition__PatternAssignment_2 ) ) ) - // InternalCftLanguage.g:2241:1: ( ( rule__MappingDefinition__PatternAssignment_2 ) ) - { - // InternalCftLanguage.g:2241:1: ( ( rule__MappingDefinition__PatternAssignment_2 ) ) - // InternalCftLanguage.g:2242:2: ( rule__MappingDefinition__PatternAssignment_2 ) - { - before(grammarAccess.getMappingDefinitionAccess().getPatternAssignment_2()); - // InternalCftLanguage.g:2243:2: ( rule__MappingDefinition__PatternAssignment_2 ) - // InternalCftLanguage.g:2243:3: rule__MappingDefinition__PatternAssignment_2 - { - pushFollow(FOLLOW_2); - rule__MappingDefinition__PatternAssignment_2(); - - state._fsp--; - - - } - - after(grammarAccess.getMappingDefinitionAccess().getPatternAssignment_2()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__MappingDefinition__Group__2__Impl" - - - // $ANTLR start "rule__MappingDefinition__Group__3" - // InternalCftLanguage.g:2251:1: rule__MappingDefinition__Group__3 : rule__MappingDefinition__Group__3__Impl rule__MappingDefinition__Group__4 ; - public final void rule__MappingDefinition__Group__3() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:2255:1: ( rule__MappingDefinition__Group__3__Impl rule__MappingDefinition__Group__4 ) - // InternalCftLanguage.g:2256:2: rule__MappingDefinition__Group__3__Impl rule__MappingDefinition__Group__4 - { - pushFollow(FOLLOW_3); - rule__MappingDefinition__Group__3__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__MappingDefinition__Group__4(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__MappingDefinition__Group__3" - - - // $ANTLR start "rule__MappingDefinition__Group__3__Impl" - // InternalCftLanguage.g:2263:1: rule__MappingDefinition__Group__3__Impl : ( '(' ) ; - public final void rule__MappingDefinition__Group__3__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:2267:1: ( ( '(' ) ) - // InternalCftLanguage.g:2268:1: ( '(' ) - { - // InternalCftLanguage.g:2268:1: ( '(' ) - // InternalCftLanguage.g:2269:2: '(' - { - before(grammarAccess.getMappingDefinitionAccess().getLeftParenthesisKeyword_3()); - match(input,30,FOLLOW_2); - after(grammarAccess.getMappingDefinitionAccess().getLeftParenthesisKeyword_3()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__MappingDefinition__Group__3__Impl" - - - // $ANTLR start "rule__MappingDefinition__Group__4" - // InternalCftLanguage.g:2278:1: rule__MappingDefinition__Group__4 : rule__MappingDefinition__Group__4__Impl rule__MappingDefinition__Group__5 ; - public final void rule__MappingDefinition__Group__4() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:2282:1: ( rule__MappingDefinition__Group__4__Impl rule__MappingDefinition__Group__5 ) - // InternalCftLanguage.g:2283:2: rule__MappingDefinition__Group__4__Impl rule__MappingDefinition__Group__5 - { - pushFollow(FOLLOW_25); - rule__MappingDefinition__Group__4__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__MappingDefinition__Group__5(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__MappingDefinition__Group__4" - - - // $ANTLR start "rule__MappingDefinition__Group__4__Impl" - // InternalCftLanguage.g:2290:1: rule__MappingDefinition__Group__4__Impl : ( ( rule__MappingDefinition__ParametersAssignment_4 ) ) ; - public final void rule__MappingDefinition__Group__4__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:2294:1: ( ( ( rule__MappingDefinition__ParametersAssignment_4 ) ) ) - // InternalCftLanguage.g:2295:1: ( ( rule__MappingDefinition__ParametersAssignment_4 ) ) - { - // InternalCftLanguage.g:2295:1: ( ( rule__MappingDefinition__ParametersAssignment_4 ) ) - // InternalCftLanguage.g:2296:2: ( rule__MappingDefinition__ParametersAssignment_4 ) - { - before(grammarAccess.getMappingDefinitionAccess().getParametersAssignment_4()); - // InternalCftLanguage.g:2297:2: ( rule__MappingDefinition__ParametersAssignment_4 ) - // InternalCftLanguage.g:2297:3: rule__MappingDefinition__ParametersAssignment_4 - { - pushFollow(FOLLOW_2); - rule__MappingDefinition__ParametersAssignment_4(); - - state._fsp--; - - - } - - after(grammarAccess.getMappingDefinitionAccess().getParametersAssignment_4()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__MappingDefinition__Group__4__Impl" - - - // $ANTLR start "rule__MappingDefinition__Group__5" - // InternalCftLanguage.g:2305:1: rule__MappingDefinition__Group__5 : rule__MappingDefinition__Group__5__Impl rule__MappingDefinition__Group__6 ; - public final void rule__MappingDefinition__Group__5() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:2309:1: ( rule__MappingDefinition__Group__5__Impl rule__MappingDefinition__Group__6 ) - // InternalCftLanguage.g:2310:2: rule__MappingDefinition__Group__5__Impl rule__MappingDefinition__Group__6 - { - pushFollow(FOLLOW_25); - rule__MappingDefinition__Group__5__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__MappingDefinition__Group__6(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__MappingDefinition__Group__5" - - - // $ANTLR start "rule__MappingDefinition__Group__5__Impl" - // InternalCftLanguage.g:2317:1: rule__MappingDefinition__Group__5__Impl : ( ( rule__MappingDefinition__Group_5__0 )* ) ; - public final void rule__MappingDefinition__Group__5__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:2321:1: ( ( ( rule__MappingDefinition__Group_5__0 )* ) ) - // InternalCftLanguage.g:2322:1: ( ( rule__MappingDefinition__Group_5__0 )* ) - { - // InternalCftLanguage.g:2322:1: ( ( rule__MappingDefinition__Group_5__0 )* ) - // InternalCftLanguage.g:2323:2: ( rule__MappingDefinition__Group_5__0 )* - { - before(grammarAccess.getMappingDefinitionAccess().getGroup_5()); - // InternalCftLanguage.g:2324:2: ( rule__MappingDefinition__Group_5__0 )* - loop23: - do { - int alt23=2; - int LA23_0 = input.LA(1); - - if ( (LA23_0==32) ) { - alt23=1; - } - - - switch (alt23) { - case 1 : - // InternalCftLanguage.g:2324:3: rule__MappingDefinition__Group_5__0 - { - pushFollow(FOLLOW_26); - rule__MappingDefinition__Group_5__0(); - - state._fsp--; - - - } - break; - - default : - break loop23; - } - } while (true); - - after(grammarAccess.getMappingDefinitionAccess().getGroup_5()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__MappingDefinition__Group__5__Impl" - - - // $ANTLR start "rule__MappingDefinition__Group__6" - // InternalCftLanguage.g:2332:1: rule__MappingDefinition__Group__6 : rule__MappingDefinition__Group__6__Impl rule__MappingDefinition__Group__7 ; - public final void rule__MappingDefinition__Group__6() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:2336:1: ( rule__MappingDefinition__Group__6__Impl rule__MappingDefinition__Group__7 ) - // InternalCftLanguage.g:2337:2: rule__MappingDefinition__Group__6__Impl rule__MappingDefinition__Group__7 - { - pushFollow(FOLLOW_27); - rule__MappingDefinition__Group__6__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__MappingDefinition__Group__7(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__MappingDefinition__Group__6" - - - // $ANTLR start "rule__MappingDefinition__Group__6__Impl" - // InternalCftLanguage.g:2344:1: rule__MappingDefinition__Group__6__Impl : ( ')' ) ; - public final void rule__MappingDefinition__Group__6__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:2348:1: ( ( ')' ) ) - // InternalCftLanguage.g:2349:1: ( ')' ) - { - // InternalCftLanguage.g:2349:1: ( ')' ) - // InternalCftLanguage.g:2350:2: ')' - { - before(grammarAccess.getMappingDefinitionAccess().getRightParenthesisKeyword_6()); - match(input,31,FOLLOW_2); - after(grammarAccess.getMappingDefinitionAccess().getRightParenthesisKeyword_6()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__MappingDefinition__Group__6__Impl" - - - // $ANTLR start "rule__MappingDefinition__Group__7" - // InternalCftLanguage.g:2359:1: rule__MappingDefinition__Group__7 : rule__MappingDefinition__Group__7__Impl rule__MappingDefinition__Group__8 ; - public final void rule__MappingDefinition__Group__7() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:2363:1: ( rule__MappingDefinition__Group__7__Impl rule__MappingDefinition__Group__8 ) - // InternalCftLanguage.g:2364:2: rule__MappingDefinition__Group__7__Impl rule__MappingDefinition__Group__8 - { - pushFollow(FOLLOW_27); - rule__MappingDefinition__Group__7__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__MappingDefinition__Group__8(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__MappingDefinition__Group__7" - - - // $ANTLR start "rule__MappingDefinition__Group__7__Impl" - // InternalCftLanguage.g:2371:1: rule__MappingDefinition__Group__7__Impl : ( ( rule__MappingDefinition__ComponentInstanceAssignment_7 )? ) ; - public final void rule__MappingDefinition__Group__7__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:2375:1: ( ( ( rule__MappingDefinition__ComponentInstanceAssignment_7 )? ) ) - // InternalCftLanguage.g:2376:1: ( ( rule__MappingDefinition__ComponentInstanceAssignment_7 )? ) - { - // InternalCftLanguage.g:2376:1: ( ( rule__MappingDefinition__ComponentInstanceAssignment_7 )? ) - // InternalCftLanguage.g:2377:2: ( rule__MappingDefinition__ComponentInstanceAssignment_7 )? - { - before(grammarAccess.getMappingDefinitionAccess().getComponentInstanceAssignment_7()); - // InternalCftLanguage.g:2378:2: ( rule__MappingDefinition__ComponentInstanceAssignment_7 )? - int alt24=2; - int LA24_0 = input.LA(1); - - if ( (LA24_0==36) ) { - alt24=1; - } - switch (alt24) { - case 1 : - // InternalCftLanguage.g:2378:3: rule__MappingDefinition__ComponentInstanceAssignment_7 - { - pushFollow(FOLLOW_2); - rule__MappingDefinition__ComponentInstanceAssignment_7(); - - state._fsp--; - - - } - break; - - } - - after(grammarAccess.getMappingDefinitionAccess().getComponentInstanceAssignment_7()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__MappingDefinition__Group__7__Impl" - - - // $ANTLR start "rule__MappingDefinition__Group__8" - // InternalCftLanguage.g:2386:1: rule__MappingDefinition__Group__8 : rule__MappingDefinition__Group__8__Impl ; - public final void rule__MappingDefinition__Group__8() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:2390:1: ( rule__MappingDefinition__Group__8__Impl ) - // InternalCftLanguage.g:2391:2: rule__MappingDefinition__Group__8__Impl - { - pushFollow(FOLLOW_2); - rule__MappingDefinition__Group__8__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__MappingDefinition__Group__8" - - - // $ANTLR start "rule__MappingDefinition__Group__8__Impl" - // InternalCftLanguage.g:2397:1: rule__MappingDefinition__Group__8__Impl : ( ( rule__MappingDefinition__Group_8__0 )? ) ; - public final void rule__MappingDefinition__Group__8__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:2401:1: ( ( ( rule__MappingDefinition__Group_8__0 )? ) ) - // InternalCftLanguage.g:2402:1: ( ( rule__MappingDefinition__Group_8__0 )? ) - { - // InternalCftLanguage.g:2402:1: ( ( rule__MappingDefinition__Group_8__0 )? ) - // InternalCftLanguage.g:2403:2: ( rule__MappingDefinition__Group_8__0 )? - { - before(grammarAccess.getMappingDefinitionAccess().getGroup_8()); - // InternalCftLanguage.g:2404:2: ( rule__MappingDefinition__Group_8__0 )? - int alt25=2; - int LA25_0 = input.LA(1); - - if ( (LA25_0==18) ) { - alt25=1; - } - switch (alt25) { - case 1 : - // InternalCftLanguage.g:2404:3: rule__MappingDefinition__Group_8__0 - { - pushFollow(FOLLOW_2); - rule__MappingDefinition__Group_8__0(); - - state._fsp--; - - - } - break; - - } - - after(grammarAccess.getMappingDefinitionAccess().getGroup_8()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__MappingDefinition__Group__8__Impl" - - - // $ANTLR start "rule__MappingDefinition__Group_5__0" - // InternalCftLanguage.g:2413:1: rule__MappingDefinition__Group_5__0 : rule__MappingDefinition__Group_5__0__Impl rule__MappingDefinition__Group_5__1 ; - public final void rule__MappingDefinition__Group_5__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:2417:1: ( rule__MappingDefinition__Group_5__0__Impl rule__MappingDefinition__Group_5__1 ) - // InternalCftLanguage.g:2418:2: rule__MappingDefinition__Group_5__0__Impl rule__MappingDefinition__Group_5__1 - { - pushFollow(FOLLOW_3); - rule__MappingDefinition__Group_5__0__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__MappingDefinition__Group_5__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__MappingDefinition__Group_5__0" - - - // $ANTLR start "rule__MappingDefinition__Group_5__0__Impl" - // InternalCftLanguage.g:2425:1: rule__MappingDefinition__Group_5__0__Impl : ( ',' ) ; - public final void rule__MappingDefinition__Group_5__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:2429:1: ( ( ',' ) ) - // InternalCftLanguage.g:2430:1: ( ',' ) - { - // InternalCftLanguage.g:2430:1: ( ',' ) - // InternalCftLanguage.g:2431:2: ',' - { - before(grammarAccess.getMappingDefinitionAccess().getCommaKeyword_5_0()); - match(input,32,FOLLOW_2); - after(grammarAccess.getMappingDefinitionAccess().getCommaKeyword_5_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__MappingDefinition__Group_5__0__Impl" - - - // $ANTLR start "rule__MappingDefinition__Group_5__1" - // InternalCftLanguage.g:2440:1: rule__MappingDefinition__Group_5__1 : rule__MappingDefinition__Group_5__1__Impl ; - public final void rule__MappingDefinition__Group_5__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:2444:1: ( rule__MappingDefinition__Group_5__1__Impl ) - // InternalCftLanguage.g:2445:2: rule__MappingDefinition__Group_5__1__Impl - { - pushFollow(FOLLOW_2); - rule__MappingDefinition__Group_5__1__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__MappingDefinition__Group_5__1" - - - // $ANTLR start "rule__MappingDefinition__Group_5__1__Impl" - // InternalCftLanguage.g:2451:1: rule__MappingDefinition__Group_5__1__Impl : ( ( rule__MappingDefinition__ParametersAssignment_5_1 ) ) ; - public final void rule__MappingDefinition__Group_5__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:2455:1: ( ( ( rule__MappingDefinition__ParametersAssignment_5_1 ) ) ) - // InternalCftLanguage.g:2456:1: ( ( rule__MappingDefinition__ParametersAssignment_5_1 ) ) - { - // InternalCftLanguage.g:2456:1: ( ( rule__MappingDefinition__ParametersAssignment_5_1 ) ) - // InternalCftLanguage.g:2457:2: ( rule__MappingDefinition__ParametersAssignment_5_1 ) - { - before(grammarAccess.getMappingDefinitionAccess().getParametersAssignment_5_1()); - // InternalCftLanguage.g:2458:2: ( rule__MappingDefinition__ParametersAssignment_5_1 ) - // InternalCftLanguage.g:2458:3: rule__MappingDefinition__ParametersAssignment_5_1 - { - pushFollow(FOLLOW_2); - rule__MappingDefinition__ParametersAssignment_5_1(); - - state._fsp--; - - - } - - after(grammarAccess.getMappingDefinitionAccess().getParametersAssignment_5_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__MappingDefinition__Group_5__1__Impl" - - - // $ANTLR start "rule__MappingDefinition__Group_8__0" - // InternalCftLanguage.g:2467:1: rule__MappingDefinition__Group_8__0 : rule__MappingDefinition__Group_8__0__Impl rule__MappingDefinition__Group_8__1 ; - public final void rule__MappingDefinition__Group_8__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:2471:1: ( rule__MappingDefinition__Group_8__0__Impl rule__MappingDefinition__Group_8__1 ) - // InternalCftLanguage.g:2472:2: rule__MappingDefinition__Group_8__0__Impl rule__MappingDefinition__Group_8__1 - { - pushFollow(FOLLOW_28); - rule__MappingDefinition__Group_8__0__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__MappingDefinition__Group_8__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__MappingDefinition__Group_8__0" - - - // $ANTLR start "rule__MappingDefinition__Group_8__0__Impl" - // InternalCftLanguage.g:2479:1: rule__MappingDefinition__Group_8__0__Impl : ( '{' ) ; - public final void rule__MappingDefinition__Group_8__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:2483:1: ( ( '{' ) ) - // InternalCftLanguage.g:2484:1: ( '{' ) - { - // InternalCftLanguage.g:2484:1: ( '{' ) - // InternalCftLanguage.g:2485:2: '{' - { - before(grammarAccess.getMappingDefinitionAccess().getLeftCurlyBracketKeyword_8_0()); - match(input,18,FOLLOW_2); - after(grammarAccess.getMappingDefinitionAccess().getLeftCurlyBracketKeyword_8_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__MappingDefinition__Group_8__0__Impl" - - - // $ANTLR start "rule__MappingDefinition__Group_8__1" - // InternalCftLanguage.g:2494:1: rule__MappingDefinition__Group_8__1 : rule__MappingDefinition__Group_8__1__Impl rule__MappingDefinition__Group_8__2 ; - public final void rule__MappingDefinition__Group_8__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:2498:1: ( rule__MappingDefinition__Group_8__1__Impl rule__MappingDefinition__Group_8__2 ) - // InternalCftLanguage.g:2499:2: rule__MappingDefinition__Group_8__1__Impl rule__MappingDefinition__Group_8__2 - { - pushFollow(FOLLOW_28); - rule__MappingDefinition__Group_8__1__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__MappingDefinition__Group_8__2(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__MappingDefinition__Group_8__1" - - - // $ANTLR start "rule__MappingDefinition__Group_8__1__Impl" - // InternalCftLanguage.g:2506:1: rule__MappingDefinition__Group_8__1__Impl : ( ( rule__MappingDefinition__Group_8_1__0 )* ) ; - public final void rule__MappingDefinition__Group_8__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:2510:1: ( ( ( rule__MappingDefinition__Group_8_1__0 )* ) ) - // InternalCftLanguage.g:2511:1: ( ( rule__MappingDefinition__Group_8_1__0 )* ) - { - // InternalCftLanguage.g:2511:1: ( ( rule__MappingDefinition__Group_8_1__0 )* ) - // InternalCftLanguage.g:2512:2: ( rule__MappingDefinition__Group_8_1__0 )* - { - before(grammarAccess.getMappingDefinitionAccess().getGroup_8_1()); - // InternalCftLanguage.g:2513:2: ( rule__MappingDefinition__Group_8_1__0 )* - loop26: - do { - int alt26=2; - int LA26_0 = input.LA(1); - - if ( ((LA26_0>=RULE_ID && LA26_0<=RULE_OF_INT)||LA26_0==33) ) { - alt26=1; - } - - - switch (alt26) { - case 1 : - // InternalCftLanguage.g:2513:3: rule__MappingDefinition__Group_8_1__0 - { - pushFollow(FOLLOW_29); - rule__MappingDefinition__Group_8_1__0(); - - state._fsp--; - - - } - break; - - default : - break loop26; - } - } while (true); - - after(grammarAccess.getMappingDefinitionAccess().getGroup_8_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__MappingDefinition__Group_8__1__Impl" - - - // $ANTLR start "rule__MappingDefinition__Group_8__2" - // InternalCftLanguage.g:2521:1: rule__MappingDefinition__Group_8__2 : rule__MappingDefinition__Group_8__2__Impl ; - public final void rule__MappingDefinition__Group_8__2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:2525:1: ( rule__MappingDefinition__Group_8__2__Impl ) - // InternalCftLanguage.g:2526:2: rule__MappingDefinition__Group_8__2__Impl - { - pushFollow(FOLLOW_2); - rule__MappingDefinition__Group_8__2__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__MappingDefinition__Group_8__2" - - - // $ANTLR start "rule__MappingDefinition__Group_8__2__Impl" - // InternalCftLanguage.g:2532:1: rule__MappingDefinition__Group_8__2__Impl : ( '}' ) ; - public final void rule__MappingDefinition__Group_8__2__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:2536:1: ( ( '}' ) ) - // InternalCftLanguage.g:2537:1: ( '}' ) - { - // InternalCftLanguage.g:2537:1: ( '}' ) - // InternalCftLanguage.g:2538:2: '}' - { - before(grammarAccess.getMappingDefinitionAccess().getRightCurlyBracketKeyword_8_2()); - match(input,19,FOLLOW_2); - after(grammarAccess.getMappingDefinitionAccess().getRightCurlyBracketKeyword_8_2()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__MappingDefinition__Group_8__2__Impl" - - - // $ANTLR start "rule__MappingDefinition__Group_8_1__0" - // InternalCftLanguage.g:2548:1: rule__MappingDefinition__Group_8_1__0 : rule__MappingDefinition__Group_8_1__0__Impl rule__MappingDefinition__Group_8_1__1 ; - public final void rule__MappingDefinition__Group_8_1__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:2552:1: ( rule__MappingDefinition__Group_8_1__0__Impl rule__MappingDefinition__Group_8_1__1 ) - // InternalCftLanguage.g:2553:2: rule__MappingDefinition__Group_8_1__0__Impl rule__MappingDefinition__Group_8_1__1 - { - pushFollow(FOLLOW_7); - rule__MappingDefinition__Group_8_1__0__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__MappingDefinition__Group_8_1__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__MappingDefinition__Group_8_1__0" - - - // $ANTLR start "rule__MappingDefinition__Group_8_1__0__Impl" - // InternalCftLanguage.g:2560:1: rule__MappingDefinition__Group_8_1__0__Impl : ( ( rule__MappingDefinition__Alternatives_8_1_0 ) ) ; - public final void rule__MappingDefinition__Group_8_1__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:2564:1: ( ( ( rule__MappingDefinition__Alternatives_8_1_0 ) ) ) - // InternalCftLanguage.g:2565:1: ( ( rule__MappingDefinition__Alternatives_8_1_0 ) ) - { - // InternalCftLanguage.g:2565:1: ( ( rule__MappingDefinition__Alternatives_8_1_0 ) ) - // InternalCftLanguage.g:2566:2: ( rule__MappingDefinition__Alternatives_8_1_0 ) - { - before(grammarAccess.getMappingDefinitionAccess().getAlternatives_8_1_0()); - // InternalCftLanguage.g:2567:2: ( rule__MappingDefinition__Alternatives_8_1_0 ) - // InternalCftLanguage.g:2567:3: rule__MappingDefinition__Alternatives_8_1_0 - { - pushFollow(FOLLOW_2); - rule__MappingDefinition__Alternatives_8_1_0(); - - state._fsp--; - - - } - - after(grammarAccess.getMappingDefinitionAccess().getAlternatives_8_1_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__MappingDefinition__Group_8_1__0__Impl" - - - // $ANTLR start "rule__MappingDefinition__Group_8_1__1" - // InternalCftLanguage.g:2575:1: rule__MappingDefinition__Group_8_1__1 : rule__MappingDefinition__Group_8_1__1__Impl ; - public final void rule__MappingDefinition__Group_8_1__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:2579:1: ( rule__MappingDefinition__Group_8_1__1__Impl ) - // InternalCftLanguage.g:2580:2: rule__MappingDefinition__Group_8_1__1__Impl - { - pushFollow(FOLLOW_2); - rule__MappingDefinition__Group_8_1__1__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__MappingDefinition__Group_8_1__1" - - - // $ANTLR start "rule__MappingDefinition__Group_8_1__1__Impl" - // InternalCftLanguage.g:2586:1: rule__MappingDefinition__Group_8_1__1__Impl : ( ';' ) ; - public final void rule__MappingDefinition__Group_8_1__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:2590:1: ( ( ';' ) ) - // InternalCftLanguage.g:2591:1: ( ';' ) - { - // InternalCftLanguage.g:2591:1: ( ';' ) - // InternalCftLanguage.g:2592:2: ';' - { - before(grammarAccess.getMappingDefinitionAccess().getSemicolonKeyword_8_1_1()); - match(input,15,FOLLOW_2); - after(grammarAccess.getMappingDefinitionAccess().getSemicolonKeyword_8_1_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__MappingDefinition__Group_8_1__1__Impl" - - - // $ANTLR start "rule__LookupDefinition__Group__0" - // InternalCftLanguage.g:2602:1: rule__LookupDefinition__Group__0 : rule__LookupDefinition__Group__0__Impl rule__LookupDefinition__Group__1 ; - public final void rule__LookupDefinition__Group__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:2606:1: ( rule__LookupDefinition__Group__0__Impl rule__LookupDefinition__Group__1 ) - // InternalCftLanguage.g:2607:2: rule__LookupDefinition__Group__0__Impl rule__LookupDefinition__Group__1 - { - pushFollow(FOLLOW_3); - rule__LookupDefinition__Group__0__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__LookupDefinition__Group__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__LookupDefinition__Group__0" - - - // $ANTLR start "rule__LookupDefinition__Group__0__Impl" - // InternalCftLanguage.g:2614:1: rule__LookupDefinition__Group__0__Impl : ( 'lookup' ) ; - public final void rule__LookupDefinition__Group__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:2618:1: ( ( 'lookup' ) ) - // InternalCftLanguage.g:2619:1: ( 'lookup' ) - { - // InternalCftLanguage.g:2619:1: ( 'lookup' ) - // InternalCftLanguage.g:2620:2: 'lookup' - { - before(grammarAccess.getLookupDefinitionAccess().getLookupKeyword_0()); - match(input,33,FOLLOW_2); - after(grammarAccess.getLookupDefinitionAccess().getLookupKeyword_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__LookupDefinition__Group__0__Impl" - - - // $ANTLR start "rule__LookupDefinition__Group__1" - // InternalCftLanguage.g:2629:1: rule__LookupDefinition__Group__1 : rule__LookupDefinition__Group__1__Impl rule__LookupDefinition__Group__2 ; - public final void rule__LookupDefinition__Group__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:2633:1: ( rule__LookupDefinition__Group__1__Impl rule__LookupDefinition__Group__2 ) - // InternalCftLanguage.g:2634:2: rule__LookupDefinition__Group__1__Impl rule__LookupDefinition__Group__2 - { - pushFollow(FOLLOW_24); - rule__LookupDefinition__Group__1__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__LookupDefinition__Group__2(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__LookupDefinition__Group__1" - - - // $ANTLR start "rule__LookupDefinition__Group__1__Impl" - // InternalCftLanguage.g:2641:1: rule__LookupDefinition__Group__1__Impl : ( ( rule__LookupDefinition__MappingAssignment_1 ) ) ; - public final void rule__LookupDefinition__Group__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:2645:1: ( ( ( rule__LookupDefinition__MappingAssignment_1 ) ) ) - // InternalCftLanguage.g:2646:1: ( ( rule__LookupDefinition__MappingAssignment_1 ) ) - { - // InternalCftLanguage.g:2646:1: ( ( rule__LookupDefinition__MappingAssignment_1 ) ) - // InternalCftLanguage.g:2647:2: ( rule__LookupDefinition__MappingAssignment_1 ) - { - before(grammarAccess.getLookupDefinitionAccess().getMappingAssignment_1()); - // InternalCftLanguage.g:2648:2: ( rule__LookupDefinition__MappingAssignment_1 ) - // InternalCftLanguage.g:2648:3: rule__LookupDefinition__MappingAssignment_1 - { - pushFollow(FOLLOW_2); - rule__LookupDefinition__MappingAssignment_1(); - - state._fsp--; - - - } - - after(grammarAccess.getLookupDefinitionAccess().getMappingAssignment_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__LookupDefinition__Group__1__Impl" - - - // $ANTLR start "rule__LookupDefinition__Group__2" - // InternalCftLanguage.g:2656:1: rule__LookupDefinition__Group__2 : rule__LookupDefinition__Group__2__Impl rule__LookupDefinition__Group__3 ; - public final void rule__LookupDefinition__Group__2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:2660:1: ( rule__LookupDefinition__Group__2__Impl rule__LookupDefinition__Group__3 ) - // InternalCftLanguage.g:2661:2: rule__LookupDefinition__Group__2__Impl rule__LookupDefinition__Group__3 - { - pushFollow(FOLLOW_3); - rule__LookupDefinition__Group__2__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__LookupDefinition__Group__3(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__LookupDefinition__Group__2" - - - // $ANTLR start "rule__LookupDefinition__Group__2__Impl" - // InternalCftLanguage.g:2668:1: rule__LookupDefinition__Group__2__Impl : ( '(' ) ; - public final void rule__LookupDefinition__Group__2__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:2672:1: ( ( '(' ) ) - // InternalCftLanguage.g:2673:1: ( '(' ) - { - // InternalCftLanguage.g:2673:1: ( '(' ) - // InternalCftLanguage.g:2674:2: '(' - { - before(grammarAccess.getLookupDefinitionAccess().getLeftParenthesisKeyword_2()); - match(input,30,FOLLOW_2); - after(grammarAccess.getLookupDefinitionAccess().getLeftParenthesisKeyword_2()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__LookupDefinition__Group__2__Impl" - - - // $ANTLR start "rule__LookupDefinition__Group__3" - // InternalCftLanguage.g:2683:1: rule__LookupDefinition__Group__3 : rule__LookupDefinition__Group__3__Impl rule__LookupDefinition__Group__4 ; - public final void rule__LookupDefinition__Group__3() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:2687:1: ( rule__LookupDefinition__Group__3__Impl rule__LookupDefinition__Group__4 ) - // InternalCftLanguage.g:2688:2: rule__LookupDefinition__Group__3__Impl rule__LookupDefinition__Group__4 - { - pushFollow(FOLLOW_25); - rule__LookupDefinition__Group__3__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__LookupDefinition__Group__4(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__LookupDefinition__Group__3" - - - // $ANTLR start "rule__LookupDefinition__Group__3__Impl" - // InternalCftLanguage.g:2695:1: rule__LookupDefinition__Group__3__Impl : ( ( rule__LookupDefinition__ArgumentsAssignment_3 ) ) ; - public final void rule__LookupDefinition__Group__3__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:2699:1: ( ( ( rule__LookupDefinition__ArgumentsAssignment_3 ) ) ) - // InternalCftLanguage.g:2700:1: ( ( rule__LookupDefinition__ArgumentsAssignment_3 ) ) - { - // InternalCftLanguage.g:2700:1: ( ( rule__LookupDefinition__ArgumentsAssignment_3 ) ) - // InternalCftLanguage.g:2701:2: ( rule__LookupDefinition__ArgumentsAssignment_3 ) - { - before(grammarAccess.getLookupDefinitionAccess().getArgumentsAssignment_3()); - // InternalCftLanguage.g:2702:2: ( rule__LookupDefinition__ArgumentsAssignment_3 ) - // InternalCftLanguage.g:2702:3: rule__LookupDefinition__ArgumentsAssignment_3 - { - pushFollow(FOLLOW_2); - rule__LookupDefinition__ArgumentsAssignment_3(); - - state._fsp--; - - - } - - after(grammarAccess.getLookupDefinitionAccess().getArgumentsAssignment_3()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__LookupDefinition__Group__3__Impl" - - - // $ANTLR start "rule__LookupDefinition__Group__4" - // InternalCftLanguage.g:2710:1: rule__LookupDefinition__Group__4 : rule__LookupDefinition__Group__4__Impl rule__LookupDefinition__Group__5 ; - public final void rule__LookupDefinition__Group__4() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:2714:1: ( rule__LookupDefinition__Group__4__Impl rule__LookupDefinition__Group__5 ) - // InternalCftLanguage.g:2715:2: rule__LookupDefinition__Group__4__Impl rule__LookupDefinition__Group__5 - { - pushFollow(FOLLOW_25); - rule__LookupDefinition__Group__4__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__LookupDefinition__Group__5(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__LookupDefinition__Group__4" - - - // $ANTLR start "rule__LookupDefinition__Group__4__Impl" - // InternalCftLanguage.g:2722:1: rule__LookupDefinition__Group__4__Impl : ( ( rule__LookupDefinition__Group_4__0 )* ) ; - public final void rule__LookupDefinition__Group__4__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:2726:1: ( ( ( rule__LookupDefinition__Group_4__0 )* ) ) - // InternalCftLanguage.g:2727:1: ( ( rule__LookupDefinition__Group_4__0 )* ) - { - // InternalCftLanguage.g:2727:1: ( ( rule__LookupDefinition__Group_4__0 )* ) - // InternalCftLanguage.g:2728:2: ( rule__LookupDefinition__Group_4__0 )* - { - before(grammarAccess.getLookupDefinitionAccess().getGroup_4()); - // InternalCftLanguage.g:2729:2: ( rule__LookupDefinition__Group_4__0 )* - loop27: - do { - int alt27=2; - int LA27_0 = input.LA(1); - - if ( (LA27_0==32) ) { - alt27=1; - } - - - switch (alt27) { - case 1 : - // InternalCftLanguage.g:2729:3: rule__LookupDefinition__Group_4__0 - { - pushFollow(FOLLOW_26); - rule__LookupDefinition__Group_4__0(); - - state._fsp--; - - - } - break; - - default : - break loop27; - } - } while (true); - - after(grammarAccess.getLookupDefinitionAccess().getGroup_4()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__LookupDefinition__Group__4__Impl" - - - // $ANTLR start "rule__LookupDefinition__Group__5" - // InternalCftLanguage.g:2737:1: rule__LookupDefinition__Group__5 : rule__LookupDefinition__Group__5__Impl rule__LookupDefinition__Group__6 ; - public final void rule__LookupDefinition__Group__5() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:2741:1: ( rule__LookupDefinition__Group__5__Impl rule__LookupDefinition__Group__6 ) - // InternalCftLanguage.g:2742:2: rule__LookupDefinition__Group__5__Impl rule__LookupDefinition__Group__6 - { - pushFollow(FOLLOW_30); - rule__LookupDefinition__Group__5__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__LookupDefinition__Group__6(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__LookupDefinition__Group__5" - - - // $ANTLR start "rule__LookupDefinition__Group__5__Impl" - // InternalCftLanguage.g:2749:1: rule__LookupDefinition__Group__5__Impl : ( ')' ) ; - public final void rule__LookupDefinition__Group__5__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:2753:1: ( ( ')' ) ) - // InternalCftLanguage.g:2754:1: ( ')' ) - { - // InternalCftLanguage.g:2754:1: ( ')' ) - // InternalCftLanguage.g:2755:2: ')' - { - before(grammarAccess.getLookupDefinitionAccess().getRightParenthesisKeyword_5()); - match(input,31,FOLLOW_2); - after(grammarAccess.getLookupDefinitionAccess().getRightParenthesisKeyword_5()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__LookupDefinition__Group__5__Impl" - - - // $ANTLR start "rule__LookupDefinition__Group__6" - // InternalCftLanguage.g:2764:1: rule__LookupDefinition__Group__6 : rule__LookupDefinition__Group__6__Impl rule__LookupDefinition__Group__7 ; - public final void rule__LookupDefinition__Group__6() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:2768:1: ( rule__LookupDefinition__Group__6__Impl rule__LookupDefinition__Group__7 ) - // InternalCftLanguage.g:2769:2: rule__LookupDefinition__Group__6__Impl rule__LookupDefinition__Group__7 - { - pushFollow(FOLLOW_3); - rule__LookupDefinition__Group__6__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__LookupDefinition__Group__7(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__LookupDefinition__Group__6" - - - // $ANTLR start "rule__LookupDefinition__Group__6__Impl" - // InternalCftLanguage.g:2776:1: rule__LookupDefinition__Group__6__Impl : ( 'as' ) ; - public final void rule__LookupDefinition__Group__6__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:2780:1: ( ( 'as' ) ) - // InternalCftLanguage.g:2781:1: ( 'as' ) - { - // InternalCftLanguage.g:2781:1: ( 'as' ) - // InternalCftLanguage.g:2782:2: 'as' - { - before(grammarAccess.getLookupDefinitionAccess().getAsKeyword_6()); - match(input,34,FOLLOW_2); - after(grammarAccess.getLookupDefinitionAccess().getAsKeyword_6()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__LookupDefinition__Group__6__Impl" - - - // $ANTLR start "rule__LookupDefinition__Group__7" - // InternalCftLanguage.g:2791:1: rule__LookupDefinition__Group__7 : rule__LookupDefinition__Group__7__Impl ; - public final void rule__LookupDefinition__Group__7() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:2795:1: ( rule__LookupDefinition__Group__7__Impl ) - // InternalCftLanguage.g:2796:2: rule__LookupDefinition__Group__7__Impl - { - pushFollow(FOLLOW_2); - rule__LookupDefinition__Group__7__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__LookupDefinition__Group__7" - - - // $ANTLR start "rule__LookupDefinition__Group__7__Impl" - // InternalCftLanguage.g:2802:1: rule__LookupDefinition__Group__7__Impl : ( ( rule__LookupDefinition__NameAssignment_7 ) ) ; - public final void rule__LookupDefinition__Group__7__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:2806:1: ( ( ( rule__LookupDefinition__NameAssignment_7 ) ) ) - // InternalCftLanguage.g:2807:1: ( ( rule__LookupDefinition__NameAssignment_7 ) ) - { - // InternalCftLanguage.g:2807:1: ( ( rule__LookupDefinition__NameAssignment_7 ) ) - // InternalCftLanguage.g:2808:2: ( rule__LookupDefinition__NameAssignment_7 ) - { - before(grammarAccess.getLookupDefinitionAccess().getNameAssignment_7()); - // InternalCftLanguage.g:2809:2: ( rule__LookupDefinition__NameAssignment_7 ) - // InternalCftLanguage.g:2809:3: rule__LookupDefinition__NameAssignment_7 - { - pushFollow(FOLLOW_2); - rule__LookupDefinition__NameAssignment_7(); - - state._fsp--; - - - } - - after(grammarAccess.getLookupDefinitionAccess().getNameAssignment_7()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__LookupDefinition__Group__7__Impl" - - - // $ANTLR start "rule__LookupDefinition__Group_4__0" - // InternalCftLanguage.g:2818:1: rule__LookupDefinition__Group_4__0 : rule__LookupDefinition__Group_4__0__Impl rule__LookupDefinition__Group_4__1 ; - public final void rule__LookupDefinition__Group_4__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:2822:1: ( rule__LookupDefinition__Group_4__0__Impl rule__LookupDefinition__Group_4__1 ) - // InternalCftLanguage.g:2823:2: rule__LookupDefinition__Group_4__0__Impl rule__LookupDefinition__Group_4__1 - { - pushFollow(FOLLOW_3); - rule__LookupDefinition__Group_4__0__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__LookupDefinition__Group_4__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__LookupDefinition__Group_4__0" - - - // $ANTLR start "rule__LookupDefinition__Group_4__0__Impl" - // InternalCftLanguage.g:2830:1: rule__LookupDefinition__Group_4__0__Impl : ( ',' ) ; - public final void rule__LookupDefinition__Group_4__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:2834:1: ( ( ',' ) ) - // InternalCftLanguage.g:2835:1: ( ',' ) - { - // InternalCftLanguage.g:2835:1: ( ',' ) - // InternalCftLanguage.g:2836:2: ',' - { - before(grammarAccess.getLookupDefinitionAccess().getCommaKeyword_4_0()); - match(input,32,FOLLOW_2); - after(grammarAccess.getLookupDefinitionAccess().getCommaKeyword_4_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__LookupDefinition__Group_4__0__Impl" - - - // $ANTLR start "rule__LookupDefinition__Group_4__1" - // InternalCftLanguage.g:2845:1: rule__LookupDefinition__Group_4__1 : rule__LookupDefinition__Group_4__1__Impl ; - public final void rule__LookupDefinition__Group_4__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:2849:1: ( rule__LookupDefinition__Group_4__1__Impl ) - // InternalCftLanguage.g:2850:2: rule__LookupDefinition__Group_4__1__Impl - { - pushFollow(FOLLOW_2); - rule__LookupDefinition__Group_4__1__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__LookupDefinition__Group_4__1" - - - // $ANTLR start "rule__LookupDefinition__Group_4__1__Impl" - // InternalCftLanguage.g:2856:1: rule__LookupDefinition__Group_4__1__Impl : ( ( rule__LookupDefinition__ArgumentsAssignment_4_1 ) ) ; - public final void rule__LookupDefinition__Group_4__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:2860:1: ( ( ( rule__LookupDefinition__ArgumentsAssignment_4_1 ) ) ) - // InternalCftLanguage.g:2861:1: ( ( rule__LookupDefinition__ArgumentsAssignment_4_1 ) ) - { - // InternalCftLanguage.g:2861:1: ( ( rule__LookupDefinition__ArgumentsAssignment_4_1 ) ) - // InternalCftLanguage.g:2862:2: ( rule__LookupDefinition__ArgumentsAssignment_4_1 ) - { - before(grammarAccess.getLookupDefinitionAccess().getArgumentsAssignment_4_1()); - // InternalCftLanguage.g:2863:2: ( rule__LookupDefinition__ArgumentsAssignment_4_1 ) - // InternalCftLanguage.g:2863:3: rule__LookupDefinition__ArgumentsAssignment_4_1 - { - pushFollow(FOLLOW_2); - rule__LookupDefinition__ArgumentsAssignment_4_1(); - - state._fsp--; - - - } - - after(grammarAccess.getLookupDefinitionAccess().getArgumentsAssignment_4_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__LookupDefinition__Group_4__1__Impl" - - - // $ANTLR start "rule__Assignment__Group__0" - // InternalCftLanguage.g:2872:1: rule__Assignment__Group__0 : rule__Assignment__Group__0__Impl rule__Assignment__Group__1 ; - public final void rule__Assignment__Group__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:2876:1: ( rule__Assignment__Group__0__Impl rule__Assignment__Group__1 ) - // InternalCftLanguage.g:2877:2: rule__Assignment__Group__0__Impl rule__Assignment__Group__1 - { - pushFollow(FOLLOW_31); - rule__Assignment__Group__0__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__Assignment__Group__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Assignment__Group__0" - - - // $ANTLR start "rule__Assignment__Group__0__Impl" - // InternalCftLanguage.g:2884:1: rule__Assignment__Group__0__Impl : ( ( rule__Assignment__InputAssignment_0 ) ) ; - public final void rule__Assignment__Group__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:2888:1: ( ( ( rule__Assignment__InputAssignment_0 ) ) ) - // InternalCftLanguage.g:2889:1: ( ( rule__Assignment__InputAssignment_0 ) ) - { - // InternalCftLanguage.g:2889:1: ( ( rule__Assignment__InputAssignment_0 ) ) - // InternalCftLanguage.g:2890:2: ( rule__Assignment__InputAssignment_0 ) - { - before(grammarAccess.getAssignmentAccess().getInputAssignment_0()); - // InternalCftLanguage.g:2891:2: ( rule__Assignment__InputAssignment_0 ) - // InternalCftLanguage.g:2891:3: rule__Assignment__InputAssignment_0 - { - pushFollow(FOLLOW_2); - rule__Assignment__InputAssignment_0(); - - state._fsp--; - - - } - - after(grammarAccess.getAssignmentAccess().getInputAssignment_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Assignment__Group__0__Impl" - - - // $ANTLR start "rule__Assignment__Group__1" - // InternalCftLanguage.g:2899:1: rule__Assignment__Group__1 : rule__Assignment__Group__1__Impl rule__Assignment__Group__2 ; - public final void rule__Assignment__Group__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:2903:1: ( rule__Assignment__Group__1__Impl rule__Assignment__Group__2 ) - // InternalCftLanguage.g:2904:2: rule__Assignment__Group__1__Impl rule__Assignment__Group__2 - { - pushFollow(FOLLOW_32); - rule__Assignment__Group__1__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__Assignment__Group__2(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Assignment__Group__1" - - - // $ANTLR start "rule__Assignment__Group__1__Impl" - // InternalCftLanguage.g:2911:1: rule__Assignment__Group__1__Impl : ( ( rule__Assignment__Alternatives_1 ) ) ; - public final void rule__Assignment__Group__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:2915:1: ( ( ( rule__Assignment__Alternatives_1 ) ) ) - // InternalCftLanguage.g:2916:1: ( ( rule__Assignment__Alternatives_1 ) ) - { - // InternalCftLanguage.g:2916:1: ( ( rule__Assignment__Alternatives_1 ) ) - // InternalCftLanguage.g:2917:2: ( rule__Assignment__Alternatives_1 ) - { - before(grammarAccess.getAssignmentAccess().getAlternatives_1()); - // InternalCftLanguage.g:2918:2: ( rule__Assignment__Alternatives_1 ) - // InternalCftLanguage.g:2918:3: rule__Assignment__Alternatives_1 - { - pushFollow(FOLLOW_2); - rule__Assignment__Alternatives_1(); - - state._fsp--; - - - } - - after(grammarAccess.getAssignmentAccess().getAlternatives_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Assignment__Group__1__Impl" - - - // $ANTLR start "rule__Assignment__Group__2" - // InternalCftLanguage.g:2926:1: rule__Assignment__Group__2 : rule__Assignment__Group__2__Impl ; - public final void rule__Assignment__Group__2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:2930:1: ( rule__Assignment__Group__2__Impl ) - // InternalCftLanguage.g:2931:2: rule__Assignment__Group__2__Impl - { - pushFollow(FOLLOW_2); - rule__Assignment__Group__2__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Assignment__Group__2" - - - // $ANTLR start "rule__Assignment__Group__2__Impl" - // InternalCftLanguage.g:2937:1: rule__Assignment__Group__2__Impl : ( ( rule__Assignment__OutputAssignment_2 ) ) ; - public final void rule__Assignment__Group__2__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:2941:1: ( ( ( rule__Assignment__OutputAssignment_2 ) ) ) - // InternalCftLanguage.g:2942:1: ( ( rule__Assignment__OutputAssignment_2 ) ) - { - // InternalCftLanguage.g:2942:1: ( ( rule__Assignment__OutputAssignment_2 ) ) - // InternalCftLanguage.g:2943:2: ( rule__Assignment__OutputAssignment_2 ) - { - before(grammarAccess.getAssignmentAccess().getOutputAssignment_2()); - // InternalCftLanguage.g:2944:2: ( rule__Assignment__OutputAssignment_2 ) - // InternalCftLanguage.g:2944:3: rule__Assignment__OutputAssignment_2 - { - pushFollow(FOLLOW_2); - rule__Assignment__OutputAssignment_2(); - - state._fsp--; - - - } - - after(grammarAccess.getAssignmentAccess().getOutputAssignment_2()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Assignment__Group__2__Impl" - - - // $ANTLR start "rule__EventReference__Group__0" - // InternalCftLanguage.g:2953:1: rule__EventReference__Group__0 : rule__EventReference__Group__0__Impl rule__EventReference__Group__1 ; - public final void rule__EventReference__Group__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:2957:1: ( rule__EventReference__Group__0__Impl rule__EventReference__Group__1 ) - // InternalCftLanguage.g:2958:2: rule__EventReference__Group__0__Impl rule__EventReference__Group__1 - { - pushFollow(FOLLOW_33); - rule__EventReference__Group__0__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__EventReference__Group__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__EventReference__Group__0" - - - // $ANTLR start "rule__EventReference__Group__0__Impl" - // InternalCftLanguage.g:2965:1: rule__EventReference__Group__0__Impl : ( ( rule__EventReference__ComponentAssignment_0 ) ) ; - public final void rule__EventReference__Group__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:2969:1: ( ( ( rule__EventReference__ComponentAssignment_0 ) ) ) - // InternalCftLanguage.g:2970:1: ( ( rule__EventReference__ComponentAssignment_0 ) ) - { - // InternalCftLanguage.g:2970:1: ( ( rule__EventReference__ComponentAssignment_0 ) ) - // InternalCftLanguage.g:2971:2: ( rule__EventReference__ComponentAssignment_0 ) - { - before(grammarAccess.getEventReferenceAccess().getComponentAssignment_0()); - // InternalCftLanguage.g:2972:2: ( rule__EventReference__ComponentAssignment_0 ) - // InternalCftLanguage.g:2972:3: rule__EventReference__ComponentAssignment_0 - { - pushFollow(FOLLOW_2); - rule__EventReference__ComponentAssignment_0(); - - state._fsp--; - - - } - - after(grammarAccess.getEventReferenceAccess().getComponentAssignment_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__EventReference__Group__0__Impl" - - - // $ANTLR start "rule__EventReference__Group__1" - // InternalCftLanguage.g:2980:1: rule__EventReference__Group__1 : rule__EventReference__Group__1__Impl rule__EventReference__Group__2 ; - public final void rule__EventReference__Group__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:2984:1: ( rule__EventReference__Group__1__Impl rule__EventReference__Group__2 ) - // InternalCftLanguage.g:2985:2: rule__EventReference__Group__1__Impl rule__EventReference__Group__2 - { - pushFollow(FOLLOW_3); - rule__EventReference__Group__1__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__EventReference__Group__2(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__EventReference__Group__1" - - - // $ANTLR start "rule__EventReference__Group__1__Impl" - // InternalCftLanguage.g:2992:1: rule__EventReference__Group__1__Impl : ( '.' ) ; - public final void rule__EventReference__Group__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:2996:1: ( ( '.' ) ) - // InternalCftLanguage.g:2997:1: ( '.' ) - { - // InternalCftLanguage.g:2997:1: ( '.' ) - // InternalCftLanguage.g:2998:2: '.' - { - before(grammarAccess.getEventReferenceAccess().getFullStopKeyword_1()); - match(input,35,FOLLOW_2); - after(grammarAccess.getEventReferenceAccess().getFullStopKeyword_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__EventReference__Group__1__Impl" - - - // $ANTLR start "rule__EventReference__Group__2" - // InternalCftLanguage.g:3007:1: rule__EventReference__Group__2 : rule__EventReference__Group__2__Impl ; - public final void rule__EventReference__Group__2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:3011:1: ( rule__EventReference__Group__2__Impl ) - // InternalCftLanguage.g:3012:2: rule__EventReference__Group__2__Impl - { - pushFollow(FOLLOW_2); - rule__EventReference__Group__2__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__EventReference__Group__2" - - - // $ANTLR start "rule__EventReference__Group__2__Impl" - // InternalCftLanguage.g:3018:1: rule__EventReference__Group__2__Impl : ( ( rule__EventReference__EventAssignment_2 ) ) ; - public final void rule__EventReference__Group__2__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:3022:1: ( ( ( rule__EventReference__EventAssignment_2 ) ) ) - // InternalCftLanguage.g:3023:1: ( ( rule__EventReference__EventAssignment_2 ) ) - { - // InternalCftLanguage.g:3023:1: ( ( rule__EventReference__EventAssignment_2 ) ) - // InternalCftLanguage.g:3024:2: ( rule__EventReference__EventAssignment_2 ) - { - before(grammarAccess.getEventReferenceAccess().getEventAssignment_2()); - // InternalCftLanguage.g:3025:2: ( rule__EventReference__EventAssignment_2 ) - // InternalCftLanguage.g:3025:3: rule__EventReference__EventAssignment_2 - { - pushFollow(FOLLOW_2); - rule__EventReference__EventAssignment_2(); - - state._fsp--; - - - } - - after(grammarAccess.getEventReferenceAccess().getEventAssignment_2()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__EventReference__Group__2__Impl" - - - // $ANTLR start "rule__ComponentInstance__Group__0" - // InternalCftLanguage.g:3034:1: rule__ComponentInstance__Group__0 : rule__ComponentInstance__Group__0__Impl rule__ComponentInstance__Group__1 ; - public final void rule__ComponentInstance__Group__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:3038:1: ( rule__ComponentInstance__Group__0__Impl rule__ComponentInstance__Group__1 ) - // InternalCftLanguage.g:3039:2: rule__ComponentInstance__Group__0__Impl rule__ComponentInstance__Group__1 - { - pushFollow(FOLLOW_3); - rule__ComponentInstance__Group__0__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__ComponentInstance__Group__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ComponentInstance__Group__0" - - - // $ANTLR start "rule__ComponentInstance__Group__0__Impl" - // InternalCftLanguage.g:3046:1: rule__ComponentInstance__Group__0__Impl : ( '=>' ) ; - public final void rule__ComponentInstance__Group__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:3050:1: ( ( '=>' ) ) - // InternalCftLanguage.g:3051:1: ( '=>' ) - { - // InternalCftLanguage.g:3051:1: ( '=>' ) - // InternalCftLanguage.g:3052:2: '=>' - { - before(grammarAccess.getComponentInstanceAccess().getEqualsSignGreaterThanSignKeyword_0()); - match(input,36,FOLLOW_2); - after(grammarAccess.getComponentInstanceAccess().getEqualsSignGreaterThanSignKeyword_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ComponentInstance__Group__0__Impl" - - - // $ANTLR start "rule__ComponentInstance__Group__1" - // InternalCftLanguage.g:3061:1: rule__ComponentInstance__Group__1 : rule__ComponentInstance__Group__1__Impl rule__ComponentInstance__Group__2 ; - public final void rule__ComponentInstance__Group__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:3065:1: ( rule__ComponentInstance__Group__1__Impl rule__ComponentInstance__Group__2 ) - // InternalCftLanguage.g:3066:2: rule__ComponentInstance__Group__1__Impl rule__ComponentInstance__Group__2 - { - pushFollow(FOLLOW_3); - rule__ComponentInstance__Group__1__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__ComponentInstance__Group__2(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ComponentInstance__Group__1" - - - // $ANTLR start "rule__ComponentInstance__Group__1__Impl" - // InternalCftLanguage.g:3073:1: rule__ComponentInstance__Group__1__Impl : ( ( rule__ComponentInstance__ComponentTypeAssignment_1 ) ) ; - public final void rule__ComponentInstance__Group__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:3077:1: ( ( ( rule__ComponentInstance__ComponentTypeAssignment_1 ) ) ) - // InternalCftLanguage.g:3078:1: ( ( rule__ComponentInstance__ComponentTypeAssignment_1 ) ) - { - // InternalCftLanguage.g:3078:1: ( ( rule__ComponentInstance__ComponentTypeAssignment_1 ) ) - // InternalCftLanguage.g:3079:2: ( rule__ComponentInstance__ComponentTypeAssignment_1 ) - { - before(grammarAccess.getComponentInstanceAccess().getComponentTypeAssignment_1()); - // InternalCftLanguage.g:3080:2: ( rule__ComponentInstance__ComponentTypeAssignment_1 ) - // InternalCftLanguage.g:3080:3: rule__ComponentInstance__ComponentTypeAssignment_1 - { - pushFollow(FOLLOW_2); - rule__ComponentInstance__ComponentTypeAssignment_1(); - - state._fsp--; - - - } - - after(grammarAccess.getComponentInstanceAccess().getComponentTypeAssignment_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ComponentInstance__Group__1__Impl" - - - // $ANTLR start "rule__ComponentInstance__Group__2" - // InternalCftLanguage.g:3088:1: rule__ComponentInstance__Group__2 : rule__ComponentInstance__Group__2__Impl ; - public final void rule__ComponentInstance__Group__2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:3092:1: ( rule__ComponentInstance__Group__2__Impl ) - // InternalCftLanguage.g:3093:2: rule__ComponentInstance__Group__2__Impl - { - pushFollow(FOLLOW_2); - rule__ComponentInstance__Group__2__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ComponentInstance__Group__2" - - - // $ANTLR start "rule__ComponentInstance__Group__2__Impl" - // InternalCftLanguage.g:3099:1: rule__ComponentInstance__Group__2__Impl : ( ( rule__ComponentInstance__NameAssignment_2 )? ) ; - public final void rule__ComponentInstance__Group__2__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:3103:1: ( ( ( rule__ComponentInstance__NameAssignment_2 )? ) ) - // InternalCftLanguage.g:3104:1: ( ( rule__ComponentInstance__NameAssignment_2 )? ) - { - // InternalCftLanguage.g:3104:1: ( ( rule__ComponentInstance__NameAssignment_2 )? ) - // InternalCftLanguage.g:3105:2: ( rule__ComponentInstance__NameAssignment_2 )? - { - before(grammarAccess.getComponentInstanceAccess().getNameAssignment_2()); - // InternalCftLanguage.g:3106:2: ( rule__ComponentInstance__NameAssignment_2 )? - int alt28=2; - int LA28_0 = input.LA(1); - - if ( ((LA28_0>=RULE_ID && LA28_0<=RULE_OF_INT)) ) { - alt28=1; - } - switch (alt28) { - case 1 : - // InternalCftLanguage.g:3106:3: rule__ComponentInstance__NameAssignment_2 - { - pushFollow(FOLLOW_2); - rule__ComponentInstance__NameAssignment_2(); - - state._fsp--; - - - } - break; - - } - - after(grammarAccess.getComponentInstanceAccess().getNameAssignment_2()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ComponentInstance__Group__2__Impl" - - - // $ANTLR start "rule__QualifiedName__Group__0" - // InternalCftLanguage.g:3115:1: rule__QualifiedName__Group__0 : rule__QualifiedName__Group__0__Impl rule__QualifiedName__Group__1 ; - public final void rule__QualifiedName__Group__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:3119:1: ( rule__QualifiedName__Group__0__Impl rule__QualifiedName__Group__1 ) - // InternalCftLanguage.g:3120:2: rule__QualifiedName__Group__0__Impl rule__QualifiedName__Group__1 - { - pushFollow(FOLLOW_33); - rule__QualifiedName__Group__0__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__QualifiedName__Group__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__QualifiedName__Group__0" - - - // $ANTLR start "rule__QualifiedName__Group__0__Impl" - // InternalCftLanguage.g:3127:1: rule__QualifiedName__Group__0__Impl : ( ruleValidId ) ; - public final void rule__QualifiedName__Group__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:3131:1: ( ( ruleValidId ) ) - // InternalCftLanguage.g:3132:1: ( ruleValidId ) - { - // InternalCftLanguage.g:3132:1: ( ruleValidId ) - // InternalCftLanguage.g:3133:2: ruleValidId - { - before(grammarAccess.getQualifiedNameAccess().getValidIdParserRuleCall_0()); - pushFollow(FOLLOW_2); - ruleValidId(); - - state._fsp--; - - after(grammarAccess.getQualifiedNameAccess().getValidIdParserRuleCall_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__QualifiedName__Group__0__Impl" - - - // $ANTLR start "rule__QualifiedName__Group__1" - // InternalCftLanguage.g:3142:1: rule__QualifiedName__Group__1 : rule__QualifiedName__Group__1__Impl ; - public final void rule__QualifiedName__Group__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:3146:1: ( rule__QualifiedName__Group__1__Impl ) - // InternalCftLanguage.g:3147:2: rule__QualifiedName__Group__1__Impl - { - pushFollow(FOLLOW_2); - rule__QualifiedName__Group__1__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__QualifiedName__Group__1" - - - // $ANTLR start "rule__QualifiedName__Group__1__Impl" - // InternalCftLanguage.g:3153:1: rule__QualifiedName__Group__1__Impl : ( ( rule__QualifiedName__Group_1__0 )* ) ; - public final void rule__QualifiedName__Group__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:3157:1: ( ( ( rule__QualifiedName__Group_1__0 )* ) ) - // InternalCftLanguage.g:3158:1: ( ( rule__QualifiedName__Group_1__0 )* ) - { - // InternalCftLanguage.g:3158:1: ( ( rule__QualifiedName__Group_1__0 )* ) - // InternalCftLanguage.g:3159:2: ( rule__QualifiedName__Group_1__0 )* - { - before(grammarAccess.getQualifiedNameAccess().getGroup_1()); - // InternalCftLanguage.g:3160:2: ( rule__QualifiedName__Group_1__0 )* - loop29: - do { - int alt29=2; - int LA29_0 = input.LA(1); - - if ( (LA29_0==35) ) { - int LA29_2 = input.LA(2); - - if ( ((LA29_2>=RULE_ID && LA29_2<=RULE_OF_INT)) ) { - alt29=1; - } - - - } - - - switch (alt29) { - case 1 : - // InternalCftLanguage.g:3160:3: rule__QualifiedName__Group_1__0 - { - pushFollow(FOLLOW_34); - rule__QualifiedName__Group_1__0(); - - state._fsp--; - - - } - break; - - default : - break loop29; - } - } while (true); - - after(grammarAccess.getQualifiedNameAccess().getGroup_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__QualifiedName__Group__1__Impl" - - - // $ANTLR start "rule__QualifiedName__Group_1__0" - // InternalCftLanguage.g:3169:1: rule__QualifiedName__Group_1__0 : rule__QualifiedName__Group_1__0__Impl rule__QualifiedName__Group_1__1 ; - public final void rule__QualifiedName__Group_1__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:3173:1: ( rule__QualifiedName__Group_1__0__Impl rule__QualifiedName__Group_1__1 ) - // InternalCftLanguage.g:3174:2: rule__QualifiedName__Group_1__0__Impl rule__QualifiedName__Group_1__1 - { - pushFollow(FOLLOW_3); - rule__QualifiedName__Group_1__0__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__QualifiedName__Group_1__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__QualifiedName__Group_1__0" - - - // $ANTLR start "rule__QualifiedName__Group_1__0__Impl" - // InternalCftLanguage.g:3181:1: rule__QualifiedName__Group_1__0__Impl : ( '.' ) ; - public final void rule__QualifiedName__Group_1__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:3185:1: ( ( '.' ) ) - // InternalCftLanguage.g:3186:1: ( '.' ) - { - // InternalCftLanguage.g:3186:1: ( '.' ) - // InternalCftLanguage.g:3187:2: '.' - { - before(grammarAccess.getQualifiedNameAccess().getFullStopKeyword_1_0()); - match(input,35,FOLLOW_2); - after(grammarAccess.getQualifiedNameAccess().getFullStopKeyword_1_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__QualifiedName__Group_1__0__Impl" - - - // $ANTLR start "rule__QualifiedName__Group_1__1" - // InternalCftLanguage.g:3196:1: rule__QualifiedName__Group_1__1 : rule__QualifiedName__Group_1__1__Impl ; - public final void rule__QualifiedName__Group_1__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:3200:1: ( rule__QualifiedName__Group_1__1__Impl ) - // InternalCftLanguage.g:3201:2: rule__QualifiedName__Group_1__1__Impl - { - pushFollow(FOLLOW_2); - rule__QualifiedName__Group_1__1__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__QualifiedName__Group_1__1" - - - // $ANTLR start "rule__QualifiedName__Group_1__1__Impl" - // InternalCftLanguage.g:3207:1: rule__QualifiedName__Group_1__1__Impl : ( ruleValidId ) ; - public final void rule__QualifiedName__Group_1__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:3211:1: ( ( ruleValidId ) ) - // InternalCftLanguage.g:3212:1: ( ruleValidId ) - { - // InternalCftLanguage.g:3212:1: ( ruleValidId ) - // InternalCftLanguage.g:3213:2: ruleValidId - { - before(grammarAccess.getQualifiedNameAccess().getValidIdParserRuleCall_1_1()); - pushFollow(FOLLOW_2); - ruleValidId(); - - state._fsp--; - - after(grammarAccess.getQualifiedNameAccess().getValidIdParserRuleCall_1_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__QualifiedName__Group_1__1__Impl" - - - // $ANTLR start "rule__QualifiedNameWithWildcard__Group__0" - // InternalCftLanguage.g:3223:1: rule__QualifiedNameWithWildcard__Group__0 : rule__QualifiedNameWithWildcard__Group__0__Impl rule__QualifiedNameWithWildcard__Group__1 ; - public final void rule__QualifiedNameWithWildcard__Group__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:3227:1: ( rule__QualifiedNameWithWildcard__Group__0__Impl rule__QualifiedNameWithWildcard__Group__1 ) - // InternalCftLanguage.g:3228:2: rule__QualifiedNameWithWildcard__Group__0__Impl rule__QualifiedNameWithWildcard__Group__1 - { - pushFollow(FOLLOW_33); - rule__QualifiedNameWithWildcard__Group__0__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__QualifiedNameWithWildcard__Group__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__QualifiedNameWithWildcard__Group__0" - - - // $ANTLR start "rule__QualifiedNameWithWildcard__Group__0__Impl" - // InternalCftLanguage.g:3235:1: rule__QualifiedNameWithWildcard__Group__0__Impl : ( ruleQualifiedName ) ; - public final void rule__QualifiedNameWithWildcard__Group__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:3239:1: ( ( ruleQualifiedName ) ) - // InternalCftLanguage.g:3240:1: ( ruleQualifiedName ) - { - // InternalCftLanguage.g:3240:1: ( ruleQualifiedName ) - // InternalCftLanguage.g:3241:2: ruleQualifiedName - { - before(grammarAccess.getQualifiedNameWithWildcardAccess().getQualifiedNameParserRuleCall_0()); - pushFollow(FOLLOW_2); - ruleQualifiedName(); - - state._fsp--; - - after(grammarAccess.getQualifiedNameWithWildcardAccess().getQualifiedNameParserRuleCall_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__QualifiedNameWithWildcard__Group__0__Impl" - - - // $ANTLR start "rule__QualifiedNameWithWildcard__Group__1" - // InternalCftLanguage.g:3250:1: rule__QualifiedNameWithWildcard__Group__1 : rule__QualifiedNameWithWildcard__Group__1__Impl ; - public final void rule__QualifiedNameWithWildcard__Group__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:3254:1: ( rule__QualifiedNameWithWildcard__Group__1__Impl ) - // InternalCftLanguage.g:3255:2: rule__QualifiedNameWithWildcard__Group__1__Impl - { - pushFollow(FOLLOW_2); - rule__QualifiedNameWithWildcard__Group__1__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__QualifiedNameWithWildcard__Group__1" - - - // $ANTLR start "rule__QualifiedNameWithWildcard__Group__1__Impl" - // InternalCftLanguage.g:3261:1: rule__QualifiedNameWithWildcard__Group__1__Impl : ( ( rule__QualifiedNameWithWildcard__Group_1__0 )? ) ; - public final void rule__QualifiedNameWithWildcard__Group__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:3265:1: ( ( ( rule__QualifiedNameWithWildcard__Group_1__0 )? ) ) - // InternalCftLanguage.g:3266:1: ( ( rule__QualifiedNameWithWildcard__Group_1__0 )? ) - { - // InternalCftLanguage.g:3266:1: ( ( rule__QualifiedNameWithWildcard__Group_1__0 )? ) - // InternalCftLanguage.g:3267:2: ( rule__QualifiedNameWithWildcard__Group_1__0 )? - { - before(grammarAccess.getQualifiedNameWithWildcardAccess().getGroup_1()); - // InternalCftLanguage.g:3268:2: ( rule__QualifiedNameWithWildcard__Group_1__0 )? - int alt30=2; - int LA30_0 = input.LA(1); - - if ( (LA30_0==35) ) { - alt30=1; - } - switch (alt30) { - case 1 : - // InternalCftLanguage.g:3268:3: rule__QualifiedNameWithWildcard__Group_1__0 - { - pushFollow(FOLLOW_2); - rule__QualifiedNameWithWildcard__Group_1__0(); - - state._fsp--; - - - } - break; - - } - - after(grammarAccess.getQualifiedNameWithWildcardAccess().getGroup_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__QualifiedNameWithWildcard__Group__1__Impl" - - - // $ANTLR start "rule__QualifiedNameWithWildcard__Group_1__0" - // InternalCftLanguage.g:3277:1: rule__QualifiedNameWithWildcard__Group_1__0 : rule__QualifiedNameWithWildcard__Group_1__0__Impl rule__QualifiedNameWithWildcard__Group_1__1 ; - public final void rule__QualifiedNameWithWildcard__Group_1__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:3281:1: ( rule__QualifiedNameWithWildcard__Group_1__0__Impl rule__QualifiedNameWithWildcard__Group_1__1 ) - // InternalCftLanguage.g:3282:2: rule__QualifiedNameWithWildcard__Group_1__0__Impl rule__QualifiedNameWithWildcard__Group_1__1 - { - pushFollow(FOLLOW_35); - rule__QualifiedNameWithWildcard__Group_1__0__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__QualifiedNameWithWildcard__Group_1__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__QualifiedNameWithWildcard__Group_1__0" - - - // $ANTLR start "rule__QualifiedNameWithWildcard__Group_1__0__Impl" - // InternalCftLanguage.g:3289:1: rule__QualifiedNameWithWildcard__Group_1__0__Impl : ( '.' ) ; - public final void rule__QualifiedNameWithWildcard__Group_1__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:3293:1: ( ( '.' ) ) - // InternalCftLanguage.g:3294:1: ( '.' ) - { - // InternalCftLanguage.g:3294:1: ( '.' ) - // InternalCftLanguage.g:3295:2: '.' - { - before(grammarAccess.getQualifiedNameWithWildcardAccess().getFullStopKeyword_1_0()); - match(input,35,FOLLOW_2); - after(grammarAccess.getQualifiedNameWithWildcardAccess().getFullStopKeyword_1_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__QualifiedNameWithWildcard__Group_1__0__Impl" - - - // $ANTLR start "rule__QualifiedNameWithWildcard__Group_1__1" - // InternalCftLanguage.g:3304:1: rule__QualifiedNameWithWildcard__Group_1__1 : rule__QualifiedNameWithWildcard__Group_1__1__Impl ; - public final void rule__QualifiedNameWithWildcard__Group_1__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:3308:1: ( rule__QualifiedNameWithWildcard__Group_1__1__Impl ) - // InternalCftLanguage.g:3309:2: rule__QualifiedNameWithWildcard__Group_1__1__Impl - { - pushFollow(FOLLOW_2); - rule__QualifiedNameWithWildcard__Group_1__1__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__QualifiedNameWithWildcard__Group_1__1" - - - // $ANTLR start "rule__QualifiedNameWithWildcard__Group_1__1__Impl" - // InternalCftLanguage.g:3315:1: rule__QualifiedNameWithWildcard__Group_1__1__Impl : ( '*' ) ; - public final void rule__QualifiedNameWithWildcard__Group_1__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:3319:1: ( ( '*' ) ) - // InternalCftLanguage.g:3320:1: ( '*' ) - { - // InternalCftLanguage.g:3320:1: ( '*' ) - // InternalCftLanguage.g:3321:2: '*' - { - before(grammarAccess.getQualifiedNameWithWildcardAccess().getAsteriskKeyword_1_1()); - match(input,37,FOLLOW_2); - after(grammarAccess.getQualifiedNameWithWildcardAccess().getAsteriskKeyword_1_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__QualifiedNameWithWildcard__Group_1__1__Impl" - - - // $ANTLR start "rule__ComponentDefinition__UnorderedGroup_3" - // InternalCftLanguage.g:3331:1: rule__ComponentDefinition__UnorderedGroup_3 : ( rule__ComponentDefinition__UnorderedGroup_3__0 )? ; - public final void rule__ComponentDefinition__UnorderedGroup_3() throws RecognitionException { - - int stackSize = keepStackSize(); - getUnorderedGroupHelper().enter(grammarAccess.getComponentDefinitionAccess().getUnorderedGroup_3()); - - try { - // InternalCftLanguage.g:3336:1: ( ( rule__ComponentDefinition__UnorderedGroup_3__0 )? ) - // InternalCftLanguage.g:3337:2: ( rule__ComponentDefinition__UnorderedGroup_3__0 )? - { - // InternalCftLanguage.g:3337:2: ( rule__ComponentDefinition__UnorderedGroup_3__0 )? - int alt31=2; - int LA31_0 = input.LA(1); - - if ( LA31_0 == 20 && getUnorderedGroupHelper().canSelect(grammarAccess.getComponentDefinitionAccess().getUnorderedGroup_3(), 0) ) { - alt31=1; - } - else if ( LA31_0 == 21 && getUnorderedGroupHelper().canSelect(grammarAccess.getComponentDefinitionAccess().getUnorderedGroup_3(), 1) ) { - alt31=1; - } - switch (alt31) { - case 1 : - // InternalCftLanguage.g:3337:2: rule__ComponentDefinition__UnorderedGroup_3__0 - { - pushFollow(FOLLOW_2); - rule__ComponentDefinition__UnorderedGroup_3__0(); - - state._fsp--; - - - } - break; - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - getUnorderedGroupHelper().leave(grammarAccess.getComponentDefinitionAccess().getUnorderedGroup_3()); - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ComponentDefinition__UnorderedGroup_3" - - - // $ANTLR start "rule__ComponentDefinition__UnorderedGroup_3__Impl" - // InternalCftLanguage.g:3345:1: rule__ComponentDefinition__UnorderedGroup_3__Impl : ( ({...}? => ( ( ( rule__ComponentDefinition__Group_3_0__0 ) ) ) ) | ({...}? => ( ( ( rule__ComponentDefinition__Group_3_1__0 ) ) ) ) ) ; - public final void rule__ComponentDefinition__UnorderedGroup_3__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - boolean selected = false; - - try { - // InternalCftLanguage.g:3350:1: ( ( ({...}? => ( ( ( rule__ComponentDefinition__Group_3_0__0 ) ) ) ) | ({...}? => ( ( ( rule__ComponentDefinition__Group_3_1__0 ) ) ) ) ) ) - // InternalCftLanguage.g:3351:3: ( ({...}? => ( ( ( rule__ComponentDefinition__Group_3_0__0 ) ) ) ) | ({...}? => ( ( ( rule__ComponentDefinition__Group_3_1__0 ) ) ) ) ) - { - // InternalCftLanguage.g:3351:3: ( ({...}? => ( ( ( rule__ComponentDefinition__Group_3_0__0 ) ) ) ) | ({...}? => ( ( ( rule__ComponentDefinition__Group_3_1__0 ) ) ) ) ) - int alt32=2; - int LA32_0 = input.LA(1); - - if ( LA32_0 == 20 && getUnorderedGroupHelper().canSelect(grammarAccess.getComponentDefinitionAccess().getUnorderedGroup_3(), 0) ) { - alt32=1; - } - else if ( LA32_0 == 21 && getUnorderedGroupHelper().canSelect(grammarAccess.getComponentDefinitionAccess().getUnorderedGroup_3(), 1) ) { - alt32=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 32, 0, input); - - throw nvae; - } - switch (alt32) { - case 1 : - // InternalCftLanguage.g:3352:3: ({...}? => ( ( ( rule__ComponentDefinition__Group_3_0__0 ) ) ) ) - { - // InternalCftLanguage.g:3352:3: ({...}? => ( ( ( rule__ComponentDefinition__Group_3_0__0 ) ) ) ) - // InternalCftLanguage.g:3353:4: {...}? => ( ( ( rule__ComponentDefinition__Group_3_0__0 ) ) ) - { - if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getComponentDefinitionAccess().getUnorderedGroup_3(), 0) ) { - throw new FailedPredicateException(input, "rule__ComponentDefinition__UnorderedGroup_3__Impl", "getUnorderedGroupHelper().canSelect(grammarAccess.getComponentDefinitionAccess().getUnorderedGroup_3(), 0)"); - } - // InternalCftLanguage.g:3353:115: ( ( ( rule__ComponentDefinition__Group_3_0__0 ) ) ) - // InternalCftLanguage.g:3354:5: ( ( rule__ComponentDefinition__Group_3_0__0 ) ) - { - - getUnorderedGroupHelper().select(grammarAccess.getComponentDefinitionAccess().getUnorderedGroup_3(), 0); - - - selected = true; - - // InternalCftLanguage.g:3360:5: ( ( rule__ComponentDefinition__Group_3_0__0 ) ) - // InternalCftLanguage.g:3361:6: ( rule__ComponentDefinition__Group_3_0__0 ) - { - before(grammarAccess.getComponentDefinitionAccess().getGroup_3_0()); - // InternalCftLanguage.g:3362:6: ( rule__ComponentDefinition__Group_3_0__0 ) - // InternalCftLanguage.g:3362:7: rule__ComponentDefinition__Group_3_0__0 - { - pushFollow(FOLLOW_2); - rule__ComponentDefinition__Group_3_0__0(); - - state._fsp--; - - - } - - after(grammarAccess.getComponentDefinitionAccess().getGroup_3_0()); - - } - - - } - - - } - - - } - break; - case 2 : - // InternalCftLanguage.g:3367:3: ({...}? => ( ( ( rule__ComponentDefinition__Group_3_1__0 ) ) ) ) - { - // InternalCftLanguage.g:3367:3: ({...}? => ( ( ( rule__ComponentDefinition__Group_3_1__0 ) ) ) ) - // InternalCftLanguage.g:3368:4: {...}? => ( ( ( rule__ComponentDefinition__Group_3_1__0 ) ) ) - { - if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getComponentDefinitionAccess().getUnorderedGroup_3(), 1) ) { - throw new FailedPredicateException(input, "rule__ComponentDefinition__UnorderedGroup_3__Impl", "getUnorderedGroupHelper().canSelect(grammarAccess.getComponentDefinitionAccess().getUnorderedGroup_3(), 1)"); - } - // InternalCftLanguage.g:3368:115: ( ( ( rule__ComponentDefinition__Group_3_1__0 ) ) ) - // InternalCftLanguage.g:3369:5: ( ( rule__ComponentDefinition__Group_3_1__0 ) ) - { - - getUnorderedGroupHelper().select(grammarAccess.getComponentDefinitionAccess().getUnorderedGroup_3(), 1); - - - selected = true; - - // InternalCftLanguage.g:3375:5: ( ( rule__ComponentDefinition__Group_3_1__0 ) ) - // InternalCftLanguage.g:3376:6: ( rule__ComponentDefinition__Group_3_1__0 ) - { - before(grammarAccess.getComponentDefinitionAccess().getGroup_3_1()); - // InternalCftLanguage.g:3377:6: ( rule__ComponentDefinition__Group_3_1__0 ) - // InternalCftLanguage.g:3377:7: rule__ComponentDefinition__Group_3_1__0 - { - pushFollow(FOLLOW_2); - rule__ComponentDefinition__Group_3_1__0(); - - state._fsp--; - - - } - - after(grammarAccess.getComponentDefinitionAccess().getGroup_3_1()); - - } - - - } - - - } - - - } - break; - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - if (selected) - getUnorderedGroupHelper().returnFromSelection(grammarAccess.getComponentDefinitionAccess().getUnorderedGroup_3()); - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ComponentDefinition__UnorderedGroup_3__Impl" - - - // $ANTLR start "rule__ComponentDefinition__UnorderedGroup_3__0" - // InternalCftLanguage.g:3390:1: rule__ComponentDefinition__UnorderedGroup_3__0 : rule__ComponentDefinition__UnorderedGroup_3__Impl ( rule__ComponentDefinition__UnorderedGroup_3__1 )? ; - public final void rule__ComponentDefinition__UnorderedGroup_3__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:3394:1: ( rule__ComponentDefinition__UnorderedGroup_3__Impl ( rule__ComponentDefinition__UnorderedGroup_3__1 )? ) - // InternalCftLanguage.g:3395:2: rule__ComponentDefinition__UnorderedGroup_3__Impl ( rule__ComponentDefinition__UnorderedGroup_3__1 )? - { - pushFollow(FOLLOW_36); - rule__ComponentDefinition__UnorderedGroup_3__Impl(); - - state._fsp--; - - // InternalCftLanguage.g:3396:2: ( rule__ComponentDefinition__UnorderedGroup_3__1 )? - int alt33=2; - int LA33_0 = input.LA(1); - - if ( LA33_0 == 20 && getUnorderedGroupHelper().canSelect(grammarAccess.getComponentDefinitionAccess().getUnorderedGroup_3(), 0) ) { - alt33=1; - } - else if ( LA33_0 == 21 && getUnorderedGroupHelper().canSelect(grammarAccess.getComponentDefinitionAccess().getUnorderedGroup_3(), 1) ) { - alt33=1; - } - switch (alt33) { - case 1 : - // InternalCftLanguage.g:3396:2: rule__ComponentDefinition__UnorderedGroup_3__1 - { - pushFollow(FOLLOW_2); - rule__ComponentDefinition__UnorderedGroup_3__1(); - - state._fsp--; - - - } - break; - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ComponentDefinition__UnorderedGroup_3__0" - - - // $ANTLR start "rule__ComponentDefinition__UnorderedGroup_3__1" - // InternalCftLanguage.g:3402:1: rule__ComponentDefinition__UnorderedGroup_3__1 : rule__ComponentDefinition__UnorderedGroup_3__Impl ; - public final void rule__ComponentDefinition__UnorderedGroup_3__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:3406:1: ( rule__ComponentDefinition__UnorderedGroup_3__Impl ) - // InternalCftLanguage.g:3407:2: rule__ComponentDefinition__UnorderedGroup_3__Impl - { - pushFollow(FOLLOW_2); - rule__ComponentDefinition__UnorderedGroup_3__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ComponentDefinition__UnorderedGroup_3__1" - - - // $ANTLR start "rule__CftModel__PackageNameAssignment_1" - // InternalCftLanguage.g:3414:1: rule__CftModel__PackageNameAssignment_1 : ( ruleQualifiedName ) ; - public final void rule__CftModel__PackageNameAssignment_1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:3418:1: ( ( ruleQualifiedName ) ) - // InternalCftLanguage.g:3419:2: ( ruleQualifiedName ) - { - // InternalCftLanguage.g:3419:2: ( ruleQualifiedName ) - // InternalCftLanguage.g:3420:3: ruleQualifiedName - { - before(grammarAccess.getCftModelAccess().getPackageNameQualifiedNameParserRuleCall_1_0()); - pushFollow(FOLLOW_2); - ruleQualifiedName(); - - state._fsp--; - - after(grammarAccess.getCftModelAccess().getPackageNameQualifiedNameParserRuleCall_1_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__CftModel__PackageNameAssignment_1" - - - // $ANTLR start "rule__CftModel__ImportsAssignment_3" - // InternalCftLanguage.g:3429:1: rule__CftModel__ImportsAssignment_3 : ( ruleImportDeclaration ) ; - public final void rule__CftModel__ImportsAssignment_3() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:3433:1: ( ( ruleImportDeclaration ) ) - // InternalCftLanguage.g:3434:2: ( ruleImportDeclaration ) - { - // InternalCftLanguage.g:3434:2: ( ruleImportDeclaration ) - // InternalCftLanguage.g:3435:3: ruleImportDeclaration - { - before(grammarAccess.getCftModelAccess().getImportsImportDeclarationParserRuleCall_3_0()); - pushFollow(FOLLOW_2); - ruleImportDeclaration(); - - state._fsp--; - - after(grammarAccess.getCftModelAccess().getImportsImportDeclarationParserRuleCall_3_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__CftModel__ImportsAssignment_3" - - - // $ANTLR start "rule__CftModel__ComponentDefinitionsAssignment_4_0" - // InternalCftLanguage.g:3444:1: rule__CftModel__ComponentDefinitionsAssignment_4_0 : ( ruleComponentDefinition ) ; - public final void rule__CftModel__ComponentDefinitionsAssignment_4_0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:3448:1: ( ( ruleComponentDefinition ) ) - // InternalCftLanguage.g:3449:2: ( ruleComponentDefinition ) - { - // InternalCftLanguage.g:3449:2: ( ruleComponentDefinition ) - // InternalCftLanguage.g:3450:3: ruleComponentDefinition - { - before(grammarAccess.getCftModelAccess().getComponentDefinitionsComponentDefinitionParserRuleCall_4_0_0()); - pushFollow(FOLLOW_2); - ruleComponentDefinition(); - - state._fsp--; - - after(grammarAccess.getCftModelAccess().getComponentDefinitionsComponentDefinitionParserRuleCall_4_0_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__CftModel__ComponentDefinitionsAssignment_4_0" - - - // $ANTLR start "rule__CftModel__TransformationDefinitionsAssignment_4_1" - // InternalCftLanguage.g:3459:1: rule__CftModel__TransformationDefinitionsAssignment_4_1 : ( ruleTransformationDefinition ) ; - public final void rule__CftModel__TransformationDefinitionsAssignment_4_1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:3463:1: ( ( ruleTransformationDefinition ) ) - // InternalCftLanguage.g:3464:2: ( ruleTransformationDefinition ) - { - // InternalCftLanguage.g:3464:2: ( ruleTransformationDefinition ) - // InternalCftLanguage.g:3465:3: ruleTransformationDefinition - { - before(grammarAccess.getCftModelAccess().getTransformationDefinitionsTransformationDefinitionParserRuleCall_4_1_0()); - pushFollow(FOLLOW_2); - ruleTransformationDefinition(); - - state._fsp--; - - after(grammarAccess.getCftModelAccess().getTransformationDefinitionsTransformationDefinitionParserRuleCall_4_1_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__CftModel__TransformationDefinitionsAssignment_4_1" - - - // $ANTLR start "rule__ImportDeclaration__ImportedNamespaceAssignment_1" - // InternalCftLanguage.g:3474:1: rule__ImportDeclaration__ImportedNamespaceAssignment_1 : ( ruleQualifiedNameWithWildcard ) ; - public final void rule__ImportDeclaration__ImportedNamespaceAssignment_1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:3478:1: ( ( ruleQualifiedNameWithWildcard ) ) - // InternalCftLanguage.g:3479:2: ( ruleQualifiedNameWithWildcard ) - { - // InternalCftLanguage.g:3479:2: ( ruleQualifiedNameWithWildcard ) - // InternalCftLanguage.g:3480:3: ruleQualifiedNameWithWildcard - { - before(grammarAccess.getImportDeclarationAccess().getImportedNamespaceQualifiedNameWithWildcardParserRuleCall_1_0()); - pushFollow(FOLLOW_2); - ruleQualifiedNameWithWildcard(); - - state._fsp--; - - after(grammarAccess.getImportDeclarationAccess().getImportedNamespaceQualifiedNameWithWildcardParserRuleCall_1_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ImportDeclaration__ImportedNamespaceAssignment_1" - - - // $ANTLR start "rule__ComponentDefinition__NameAssignment_1" - // InternalCftLanguage.g:3489:1: rule__ComponentDefinition__NameAssignment_1 : ( ruleValidId ) ; - public final void rule__ComponentDefinition__NameAssignment_1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:3493:1: ( ( ruleValidId ) ) - // InternalCftLanguage.g:3494:2: ( ruleValidId ) - { - // InternalCftLanguage.g:3494:2: ( ruleValidId ) - // InternalCftLanguage.g:3495:3: ruleValidId - { - before(grammarAccess.getComponentDefinitionAccess().getNameValidIdParserRuleCall_1_0()); - pushFollow(FOLLOW_2); - ruleValidId(); - - state._fsp--; - - after(grammarAccess.getComponentDefinitionAccess().getNameValidIdParserRuleCall_1_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ComponentDefinition__NameAssignment_1" - - - // $ANTLR start "rule__ComponentDefinition__InputEventsAssignment_3_0_1" - // InternalCftLanguage.g:3504:1: rule__ComponentDefinition__InputEventsAssignment_3_0_1 : ( ruleInputEvent ) ; - public final void rule__ComponentDefinition__InputEventsAssignment_3_0_1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:3508:1: ( ( ruleInputEvent ) ) - // InternalCftLanguage.g:3509:2: ( ruleInputEvent ) - { - // InternalCftLanguage.g:3509:2: ( ruleInputEvent ) - // InternalCftLanguage.g:3510:3: ruleInputEvent - { - before(grammarAccess.getComponentDefinitionAccess().getInputEventsInputEventParserRuleCall_3_0_1_0()); - pushFollow(FOLLOW_2); - ruleInputEvent(); - - state._fsp--; - - after(grammarAccess.getComponentDefinitionAccess().getInputEventsInputEventParserRuleCall_3_0_1_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ComponentDefinition__InputEventsAssignment_3_0_1" - - - // $ANTLR start "rule__ComponentDefinition__OutputEventsAssignment_3_1_1" - // InternalCftLanguage.g:3519:1: rule__ComponentDefinition__OutputEventsAssignment_3_1_1 : ( ( ruleValidId ) ) ; - public final void rule__ComponentDefinition__OutputEventsAssignment_3_1_1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:3523:1: ( ( ( ruleValidId ) ) ) - // InternalCftLanguage.g:3524:2: ( ( ruleValidId ) ) - { - // InternalCftLanguage.g:3524:2: ( ( ruleValidId ) ) - // InternalCftLanguage.g:3525:3: ( ruleValidId ) - { - before(grammarAccess.getComponentDefinitionAccess().getOutputEventsEventDeclarationCrossReference_3_1_1_0()); - // InternalCftLanguage.g:3526:3: ( ruleValidId ) - // InternalCftLanguage.g:3527:4: ruleValidId - { - before(grammarAccess.getComponentDefinitionAccess().getOutputEventsEventDeclarationValidIdParserRuleCall_3_1_1_0_1()); - pushFollow(FOLLOW_2); - ruleValidId(); - - state._fsp--; - - after(grammarAccess.getComponentDefinitionAccess().getOutputEventsEventDeclarationValidIdParserRuleCall_3_1_1_0_1()); - - } - - after(grammarAccess.getComponentDefinitionAccess().getOutputEventsEventDeclarationCrossReference_3_1_1_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ComponentDefinition__OutputEventsAssignment_3_1_1" - - - // $ANTLR start "rule__ComponentDefinition__EventDefinitionsAssignment_4_0" - // InternalCftLanguage.g:3538:1: rule__ComponentDefinition__EventDefinitionsAssignment_4_0 : ( ruleEventDefinition ) ; - public final void rule__ComponentDefinition__EventDefinitionsAssignment_4_0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:3542:1: ( ( ruleEventDefinition ) ) - // InternalCftLanguage.g:3543:2: ( ruleEventDefinition ) - { - // InternalCftLanguage.g:3543:2: ( ruleEventDefinition ) - // InternalCftLanguage.g:3544:3: ruleEventDefinition - { - before(grammarAccess.getComponentDefinitionAccess().getEventDefinitionsEventDefinitionParserRuleCall_4_0_0()); - pushFollow(FOLLOW_2); - ruleEventDefinition(); - - state._fsp--; - - after(grammarAccess.getComponentDefinitionAccess().getEventDefinitionsEventDefinitionParserRuleCall_4_0_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ComponentDefinition__EventDefinitionsAssignment_4_0" - - - // $ANTLR start "rule__InputEvent__NameAssignment_0" - // InternalCftLanguage.g:3553:1: rule__InputEvent__NameAssignment_0 : ( ruleValidId ) ; - public final void rule__InputEvent__NameAssignment_0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:3557:1: ( ( ruleValidId ) ) - // InternalCftLanguage.g:3558:2: ( ruleValidId ) - { - // InternalCftLanguage.g:3558:2: ( ruleValidId ) - // InternalCftLanguage.g:3559:3: ruleValidId - { - before(grammarAccess.getInputEventAccess().getNameValidIdParserRuleCall_0_0()); - pushFollow(FOLLOW_2); - ruleValidId(); - - state._fsp--; - - after(grammarAccess.getInputEventAccess().getNameValidIdParserRuleCall_0_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__InputEvent__NameAssignment_0" - - - // $ANTLR start "rule__InputEvent__MultipleAssignment_1" - // InternalCftLanguage.g:3568:1: rule__InputEvent__MultipleAssignment_1 : ( ( '[]' ) ) ; - public final void rule__InputEvent__MultipleAssignment_1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:3572:1: ( ( ( '[]' ) ) ) - // InternalCftLanguage.g:3573:2: ( ( '[]' ) ) - { - // InternalCftLanguage.g:3573:2: ( ( '[]' ) ) - // InternalCftLanguage.g:3574:3: ( '[]' ) - { - before(grammarAccess.getInputEventAccess().getMultipleLeftSquareBracketRightSquareBracketKeyword_1_0()); - // InternalCftLanguage.g:3575:3: ( '[]' ) - // InternalCftLanguage.g:3576:4: '[]' - { - before(grammarAccess.getInputEventAccess().getMultipleLeftSquareBracketRightSquareBracketKeyword_1_0()); - match(input,38,FOLLOW_2); - after(grammarAccess.getInputEventAccess().getMultipleLeftSquareBracketRightSquareBracketKeyword_1_0()); - - } - - after(grammarAccess.getInputEventAccess().getMultipleLeftSquareBracketRightSquareBracketKeyword_1_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__InputEvent__MultipleAssignment_1" - - - // $ANTLR start "rule__BasicEventDefinition__NameAssignment_0" - // InternalCftLanguage.g:3587:1: rule__BasicEventDefinition__NameAssignment_0 : ( ruleValidId ) ; - public final void rule__BasicEventDefinition__NameAssignment_0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:3591:1: ( ( ruleValidId ) ) - // InternalCftLanguage.g:3592:2: ( ruleValidId ) - { - // InternalCftLanguage.g:3592:2: ( ruleValidId ) - // InternalCftLanguage.g:3593:3: ruleValidId - { - before(grammarAccess.getBasicEventDefinitionAccess().getNameValidIdParserRuleCall_0_0()); - pushFollow(FOLLOW_2); - ruleValidId(); - - state._fsp--; - - after(grammarAccess.getBasicEventDefinitionAccess().getNameValidIdParserRuleCall_0_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__BasicEventDefinition__NameAssignment_0" - - - // $ANTLR start "rule__BasicEventDefinition__DistributionAssignment_1" - // InternalCftLanguage.g:3602:1: rule__BasicEventDefinition__DistributionAssignment_1 : ( ruleDistribution ) ; - public final void rule__BasicEventDefinition__DistributionAssignment_1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:3606:1: ( ( ruleDistribution ) ) - // InternalCftLanguage.g:3607:2: ( ruleDistribution ) - { - // InternalCftLanguage.g:3607:2: ( ruleDistribution ) - // InternalCftLanguage.g:3608:3: ruleDistribution - { - before(grammarAccess.getBasicEventDefinitionAccess().getDistributionDistributionParserRuleCall_1_0()); - pushFollow(FOLLOW_2); - ruleDistribution(); - - state._fsp--; - - after(grammarAccess.getBasicEventDefinitionAccess().getDistributionDistributionParserRuleCall_1_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__BasicEventDefinition__DistributionAssignment_1" - - - // $ANTLR start "rule__ConstantDistribution__PAssignment_2" - // InternalCftLanguage.g:3617:1: rule__ConstantDistribution__PAssignment_2 : ( ruleDouble ) ; - public final void rule__ConstantDistribution__PAssignment_2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:3621:1: ( ( ruleDouble ) ) - // InternalCftLanguage.g:3622:2: ( ruleDouble ) - { - // InternalCftLanguage.g:3622:2: ( ruleDouble ) - // InternalCftLanguage.g:3623:3: ruleDouble - { - before(grammarAccess.getConstantDistributionAccess().getPDoubleParserRuleCall_2_0()); - pushFollow(FOLLOW_2); - ruleDouble(); - - state._fsp--; - - after(grammarAccess.getConstantDistributionAccess().getPDoubleParserRuleCall_2_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ConstantDistribution__PAssignment_2" - - - // $ANTLR start "rule__ExponentialDistribution__LambdaAssignment_2" - // InternalCftLanguage.g:3632:1: rule__ExponentialDistribution__LambdaAssignment_2 : ( ruleDouble ) ; - public final void rule__ExponentialDistribution__LambdaAssignment_2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:3636:1: ( ( ruleDouble ) ) - // InternalCftLanguage.g:3637:2: ( ruleDouble ) - { - // InternalCftLanguage.g:3637:2: ( ruleDouble ) - // InternalCftLanguage.g:3638:3: ruleDouble - { - before(grammarAccess.getExponentialDistributionAccess().getLambdaDoubleParserRuleCall_2_0()); - pushFollow(FOLLOW_2); - ruleDouble(); - - state._fsp--; - - after(grammarAccess.getExponentialDistributionAccess().getLambdaDoubleParserRuleCall_2_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ExponentialDistribution__LambdaAssignment_2" - - - // $ANTLR start "rule__AndGateDefinition__NameAssignment_0" - // InternalCftLanguage.g:3647:1: rule__AndGateDefinition__NameAssignment_0 : ( ruleValidId ) ; - public final void rule__AndGateDefinition__NameAssignment_0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:3651:1: ( ( ruleValidId ) ) - // InternalCftLanguage.g:3652:2: ( ruleValidId ) - { - // InternalCftLanguage.g:3652:2: ( ruleValidId ) - // InternalCftLanguage.g:3653:3: ruleValidId - { - before(grammarAccess.getAndGateDefinitionAccess().getNameValidIdParserRuleCall_0_0()); - pushFollow(FOLLOW_2); - ruleValidId(); - - state._fsp--; - - after(grammarAccess.getAndGateDefinitionAccess().getNameValidIdParserRuleCall_0_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__AndGateDefinition__NameAssignment_0" - - - // $ANTLR start "rule__AndGateDefinition__InputEventsAssignment_2" - // InternalCftLanguage.g:3662:1: rule__AndGateDefinition__InputEventsAssignment_2 : ( ( ruleValidId ) ) ; - public final void rule__AndGateDefinition__InputEventsAssignment_2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:3666:1: ( ( ( ruleValidId ) ) ) - // InternalCftLanguage.g:3667:2: ( ( ruleValidId ) ) - { - // InternalCftLanguage.g:3667:2: ( ( ruleValidId ) ) - // InternalCftLanguage.g:3668:3: ( ruleValidId ) - { - before(grammarAccess.getAndGateDefinitionAccess().getInputEventsEventDeclarationCrossReference_2_0()); - // InternalCftLanguage.g:3669:3: ( ruleValidId ) - // InternalCftLanguage.g:3670:4: ruleValidId - { - before(grammarAccess.getAndGateDefinitionAccess().getInputEventsEventDeclarationValidIdParserRuleCall_2_0_1()); - pushFollow(FOLLOW_2); - ruleValidId(); - - state._fsp--; - - after(grammarAccess.getAndGateDefinitionAccess().getInputEventsEventDeclarationValidIdParserRuleCall_2_0_1()); - - } - - after(grammarAccess.getAndGateDefinitionAccess().getInputEventsEventDeclarationCrossReference_2_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__AndGateDefinition__InputEventsAssignment_2" - - - // $ANTLR start "rule__OrGateDefinition__NameAssignment_0" - // InternalCftLanguage.g:3681:1: rule__OrGateDefinition__NameAssignment_0 : ( ruleValidId ) ; - public final void rule__OrGateDefinition__NameAssignment_0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:3685:1: ( ( ruleValidId ) ) - // InternalCftLanguage.g:3686:2: ( ruleValidId ) - { - // InternalCftLanguage.g:3686:2: ( ruleValidId ) - // InternalCftLanguage.g:3687:3: ruleValidId - { - before(grammarAccess.getOrGateDefinitionAccess().getNameValidIdParserRuleCall_0_0()); - pushFollow(FOLLOW_2); - ruleValidId(); - - state._fsp--; - - after(grammarAccess.getOrGateDefinitionAccess().getNameValidIdParserRuleCall_0_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__OrGateDefinition__NameAssignment_0" - - - // $ANTLR start "rule__OrGateDefinition__InputEventsAssignment_2" - // InternalCftLanguage.g:3696:1: rule__OrGateDefinition__InputEventsAssignment_2 : ( ( ruleValidId ) ) ; - public final void rule__OrGateDefinition__InputEventsAssignment_2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:3700:1: ( ( ( ruleValidId ) ) ) - // InternalCftLanguage.g:3701:2: ( ( ruleValidId ) ) - { - // InternalCftLanguage.g:3701:2: ( ( ruleValidId ) ) - // InternalCftLanguage.g:3702:3: ( ruleValidId ) - { - before(grammarAccess.getOrGateDefinitionAccess().getInputEventsEventDeclarationCrossReference_2_0()); - // InternalCftLanguage.g:3703:3: ( ruleValidId ) - // InternalCftLanguage.g:3704:4: ruleValidId - { - before(grammarAccess.getOrGateDefinitionAccess().getInputEventsEventDeclarationValidIdParserRuleCall_2_0_1()); - pushFollow(FOLLOW_2); - ruleValidId(); - - state._fsp--; - - after(grammarAccess.getOrGateDefinitionAccess().getInputEventsEventDeclarationValidIdParserRuleCall_2_0_1()); - - } - - after(grammarAccess.getOrGateDefinitionAccess().getInputEventsEventDeclarationCrossReference_2_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__OrGateDefinition__InputEventsAssignment_2" - - - // $ANTLR start "rule__KOfMGateDefinition__NameAssignment_0" - // InternalCftLanguage.g:3715:1: rule__KOfMGateDefinition__NameAssignment_0 : ( ruleValidId ) ; - public final void rule__KOfMGateDefinition__NameAssignment_0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:3719:1: ( ( ruleValidId ) ) - // InternalCftLanguage.g:3720:2: ( ruleValidId ) - { - // InternalCftLanguage.g:3720:2: ( ruleValidId ) - // InternalCftLanguage.g:3721:3: ruleValidId - { - before(grammarAccess.getKOfMGateDefinitionAccess().getNameValidIdParserRuleCall_0_0()); - pushFollow(FOLLOW_2); - ruleValidId(); - - state._fsp--; - - after(grammarAccess.getKOfMGateDefinitionAccess().getNameValidIdParserRuleCall_0_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__KOfMGateDefinition__NameAssignment_0" - - - // $ANTLR start "rule__KOfMGateDefinition__KAssignment_1" - // InternalCftLanguage.g:3730:1: rule__KOfMGateDefinition__KAssignment_1 : ( RULE_INT ) ; - public final void rule__KOfMGateDefinition__KAssignment_1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:3734:1: ( ( RULE_INT ) ) - // InternalCftLanguage.g:3735:2: ( RULE_INT ) - { - // InternalCftLanguage.g:3735:2: ( RULE_INT ) - // InternalCftLanguage.g:3736:3: RULE_INT - { - before(grammarAccess.getKOfMGateDefinitionAccess().getKINTTerminalRuleCall_1_0()); - match(input,RULE_INT,FOLLOW_2); - after(grammarAccess.getKOfMGateDefinitionAccess().getKINTTerminalRuleCall_1_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__KOfMGateDefinition__KAssignment_1" - - - // $ANTLR start "rule__KOfMGateDefinition__MAssignment_2_0_1" - // InternalCftLanguage.g:3745:1: rule__KOfMGateDefinition__MAssignment_2_0_1 : ( RULE_INT ) ; - public final void rule__KOfMGateDefinition__MAssignment_2_0_1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:3749:1: ( ( RULE_INT ) ) - // InternalCftLanguage.g:3750:2: ( RULE_INT ) - { - // InternalCftLanguage.g:3750:2: ( RULE_INT ) - // InternalCftLanguage.g:3751:3: RULE_INT - { - before(grammarAccess.getKOfMGateDefinitionAccess().getMINTTerminalRuleCall_2_0_1_0()); - match(input,RULE_INT,FOLLOW_2); - after(grammarAccess.getKOfMGateDefinitionAccess().getMINTTerminalRuleCall_2_0_1_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__KOfMGateDefinition__MAssignment_2_0_1" - - - // $ANTLR start "rule__KOfMGateDefinition__MAssignment_2_1" - // InternalCftLanguage.g:3760:1: rule__KOfMGateDefinition__MAssignment_2_1 : ( RULE_OF_INT ) ; - public final void rule__KOfMGateDefinition__MAssignment_2_1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:3764:1: ( ( RULE_OF_INT ) ) - // InternalCftLanguage.g:3765:2: ( RULE_OF_INT ) - { - // InternalCftLanguage.g:3765:2: ( RULE_OF_INT ) - // InternalCftLanguage.g:3766:3: RULE_OF_INT - { - before(grammarAccess.getKOfMGateDefinitionAccess().getMOF_INTTerminalRuleCall_2_1_0()); - match(input,RULE_OF_INT,FOLLOW_2); - after(grammarAccess.getKOfMGateDefinitionAccess().getMOF_INTTerminalRuleCall_2_1_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__KOfMGateDefinition__MAssignment_2_1" - - - // $ANTLR start "rule__KOfMGateDefinition__InputEventsAssignment_3" - // InternalCftLanguage.g:3775:1: rule__KOfMGateDefinition__InputEventsAssignment_3 : ( ( ruleValidId ) ) ; - public final void rule__KOfMGateDefinition__InputEventsAssignment_3() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:3779:1: ( ( ( ruleValidId ) ) ) - // InternalCftLanguage.g:3780:2: ( ( ruleValidId ) ) - { - // InternalCftLanguage.g:3780:2: ( ( ruleValidId ) ) - // InternalCftLanguage.g:3781:3: ( ruleValidId ) - { - before(grammarAccess.getKOfMGateDefinitionAccess().getInputEventsEventDeclarationCrossReference_3_0()); - // InternalCftLanguage.g:3782:3: ( ruleValidId ) - // InternalCftLanguage.g:3783:4: ruleValidId - { - before(grammarAccess.getKOfMGateDefinitionAccess().getInputEventsEventDeclarationValidIdParserRuleCall_3_0_1()); - pushFollow(FOLLOW_2); - ruleValidId(); - - state._fsp--; - - after(grammarAccess.getKOfMGateDefinitionAccess().getInputEventsEventDeclarationValidIdParserRuleCall_3_0_1()); - - } - - after(grammarAccess.getKOfMGateDefinitionAccess().getInputEventsEventDeclarationCrossReference_3_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__KOfMGateDefinition__InputEventsAssignment_3" - - - // $ANTLR start "rule__TransformationDefinition__NameAssignment_1" - // InternalCftLanguage.g:3794:1: rule__TransformationDefinition__NameAssignment_1 : ( ruleValidId ) ; - public final void rule__TransformationDefinition__NameAssignment_1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:3798:1: ( ( ruleValidId ) ) - // InternalCftLanguage.g:3799:2: ( ruleValidId ) - { - // InternalCftLanguage.g:3799:2: ( ruleValidId ) - // InternalCftLanguage.g:3800:3: ruleValidId - { - before(grammarAccess.getTransformationDefinitionAccess().getNameValidIdParserRuleCall_1_0()); - pushFollow(FOLLOW_2); - ruleValidId(); - - state._fsp--; - - after(grammarAccess.getTransformationDefinitionAccess().getNameValidIdParserRuleCall_1_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__TransformationDefinition__NameAssignment_1" - - - // $ANTLR start "rule__TransformationDefinition__MappingDefinitionsAssignment_3" - // InternalCftLanguage.g:3809:1: rule__TransformationDefinition__MappingDefinitionsAssignment_3 : ( ruleMappingDefinition ) ; - public final void rule__TransformationDefinition__MappingDefinitionsAssignment_3() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:3813:1: ( ( ruleMappingDefinition ) ) - // InternalCftLanguage.g:3814:2: ( ruleMappingDefinition ) - { - // InternalCftLanguage.g:3814:2: ( ruleMappingDefinition ) - // InternalCftLanguage.g:3815:3: ruleMappingDefinition - { - before(grammarAccess.getTransformationDefinitionAccess().getMappingDefinitionsMappingDefinitionParserRuleCall_3_0()); - pushFollow(FOLLOW_2); - ruleMappingDefinition(); - - state._fsp--; - - after(grammarAccess.getTransformationDefinitionAccess().getMappingDefinitionsMappingDefinitionParserRuleCall_3_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__TransformationDefinition__MappingDefinitionsAssignment_3" - - - // $ANTLR start "rule__MappingDefinition__TopLevelAssignment_0" - // InternalCftLanguage.g:3824:1: rule__MappingDefinition__TopLevelAssignment_0 : ( ( 'toplevel' ) ) ; - public final void rule__MappingDefinition__TopLevelAssignment_0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:3828:1: ( ( ( 'toplevel' ) ) ) - // InternalCftLanguage.g:3829:2: ( ( 'toplevel' ) ) - { - // InternalCftLanguage.g:3829:2: ( ( 'toplevel' ) ) - // InternalCftLanguage.g:3830:3: ( 'toplevel' ) - { - before(grammarAccess.getMappingDefinitionAccess().getTopLevelToplevelKeyword_0_0()); - // InternalCftLanguage.g:3831:3: ( 'toplevel' ) - // InternalCftLanguage.g:3832:4: 'toplevel' - { - before(grammarAccess.getMappingDefinitionAccess().getTopLevelToplevelKeyword_0_0()); - match(input,39,FOLLOW_2); - after(grammarAccess.getMappingDefinitionAccess().getTopLevelToplevelKeyword_0_0()); - - } - - after(grammarAccess.getMappingDefinitionAccess().getTopLevelToplevelKeyword_0_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__MappingDefinition__TopLevelAssignment_0" - - - // $ANTLR start "rule__MappingDefinition__PatternAssignment_2" - // InternalCftLanguage.g:3843:1: rule__MappingDefinition__PatternAssignment_2 : ( ( ruleQualifiedName ) ) ; - public final void rule__MappingDefinition__PatternAssignment_2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:3847:1: ( ( ( ruleQualifiedName ) ) ) - // InternalCftLanguage.g:3848:2: ( ( ruleQualifiedName ) ) - { - // InternalCftLanguage.g:3848:2: ( ( ruleQualifiedName ) ) - // InternalCftLanguage.g:3849:3: ( ruleQualifiedName ) - { - before(grammarAccess.getMappingDefinitionAccess().getPatternPatternCrossReference_2_0()); - // InternalCftLanguage.g:3850:3: ( ruleQualifiedName ) - // InternalCftLanguage.g:3851:4: ruleQualifiedName - { - before(grammarAccess.getMappingDefinitionAccess().getPatternPatternQualifiedNameParserRuleCall_2_0_1()); - pushFollow(FOLLOW_2); - ruleQualifiedName(); - - state._fsp--; - - after(grammarAccess.getMappingDefinitionAccess().getPatternPatternQualifiedNameParserRuleCall_2_0_1()); - - } - - after(grammarAccess.getMappingDefinitionAccess().getPatternPatternCrossReference_2_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__MappingDefinition__PatternAssignment_2" - - - // $ANTLR start "rule__MappingDefinition__ParametersAssignment_4" - // InternalCftLanguage.g:3862:1: rule__MappingDefinition__ParametersAssignment_4 : ( ruleMappingParameter ) ; - public final void rule__MappingDefinition__ParametersAssignment_4() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:3866:1: ( ( ruleMappingParameter ) ) - // InternalCftLanguage.g:3867:2: ( ruleMappingParameter ) - { - // InternalCftLanguage.g:3867:2: ( ruleMappingParameter ) - // InternalCftLanguage.g:3868:3: ruleMappingParameter - { - before(grammarAccess.getMappingDefinitionAccess().getParametersMappingParameterParserRuleCall_4_0()); - pushFollow(FOLLOW_2); - ruleMappingParameter(); - - state._fsp--; - - after(grammarAccess.getMappingDefinitionAccess().getParametersMappingParameterParserRuleCall_4_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__MappingDefinition__ParametersAssignment_4" - - - // $ANTLR start "rule__MappingDefinition__ParametersAssignment_5_1" - // InternalCftLanguage.g:3877:1: rule__MappingDefinition__ParametersAssignment_5_1 : ( ruleMappingParameter ) ; - public final void rule__MappingDefinition__ParametersAssignment_5_1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:3881:1: ( ( ruleMappingParameter ) ) - // InternalCftLanguage.g:3882:2: ( ruleMappingParameter ) - { - // InternalCftLanguage.g:3882:2: ( ruleMappingParameter ) - // InternalCftLanguage.g:3883:3: ruleMappingParameter - { - before(grammarAccess.getMappingDefinitionAccess().getParametersMappingParameterParserRuleCall_5_1_0()); - pushFollow(FOLLOW_2); - ruleMappingParameter(); - - state._fsp--; - - after(grammarAccess.getMappingDefinitionAccess().getParametersMappingParameterParserRuleCall_5_1_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__MappingDefinition__ParametersAssignment_5_1" - - - // $ANTLR start "rule__MappingDefinition__ComponentInstanceAssignment_7" - // InternalCftLanguage.g:3892:1: rule__MappingDefinition__ComponentInstanceAssignment_7 : ( ruleComponentInstance ) ; - public final void rule__MappingDefinition__ComponentInstanceAssignment_7() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:3896:1: ( ( ruleComponentInstance ) ) - // InternalCftLanguage.g:3897:2: ( ruleComponentInstance ) - { - // InternalCftLanguage.g:3897:2: ( ruleComponentInstance ) - // InternalCftLanguage.g:3898:3: ruleComponentInstance - { - before(grammarAccess.getMappingDefinitionAccess().getComponentInstanceComponentInstanceParserRuleCall_7_0()); - pushFollow(FOLLOW_2); - ruleComponentInstance(); - - state._fsp--; - - after(grammarAccess.getMappingDefinitionAccess().getComponentInstanceComponentInstanceParserRuleCall_7_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__MappingDefinition__ComponentInstanceAssignment_7" - - - // $ANTLR start "rule__MappingDefinition__LookupDefinitionsAssignment_8_1_0_0" - // InternalCftLanguage.g:3907:1: rule__MappingDefinition__LookupDefinitionsAssignment_8_1_0_0 : ( ruleLookupDefinition ) ; - public final void rule__MappingDefinition__LookupDefinitionsAssignment_8_1_0_0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:3911:1: ( ( ruleLookupDefinition ) ) - // InternalCftLanguage.g:3912:2: ( ruleLookupDefinition ) - { - // InternalCftLanguage.g:3912:2: ( ruleLookupDefinition ) - // InternalCftLanguage.g:3913:3: ruleLookupDefinition - { - before(grammarAccess.getMappingDefinitionAccess().getLookupDefinitionsLookupDefinitionParserRuleCall_8_1_0_0_0()); - pushFollow(FOLLOW_2); - ruleLookupDefinition(); - - state._fsp--; - - after(grammarAccess.getMappingDefinitionAccess().getLookupDefinitionsLookupDefinitionParserRuleCall_8_1_0_0_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__MappingDefinition__LookupDefinitionsAssignment_8_1_0_0" - - - // $ANTLR start "rule__MappingDefinition__AssignmentsAssignment_8_1_0_1" - // InternalCftLanguage.g:3922:1: rule__MappingDefinition__AssignmentsAssignment_8_1_0_1 : ( ruleAssignment ) ; - public final void rule__MappingDefinition__AssignmentsAssignment_8_1_0_1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:3926:1: ( ( ruleAssignment ) ) - // InternalCftLanguage.g:3927:2: ( ruleAssignment ) - { - // InternalCftLanguage.g:3927:2: ( ruleAssignment ) - // InternalCftLanguage.g:3928:3: ruleAssignment - { - before(grammarAccess.getMappingDefinitionAccess().getAssignmentsAssignmentParserRuleCall_8_1_0_1_0()); - pushFollow(FOLLOW_2); - ruleAssignment(); - - state._fsp--; - - after(grammarAccess.getMappingDefinitionAccess().getAssignmentsAssignmentParserRuleCall_8_1_0_1_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__MappingDefinition__AssignmentsAssignment_8_1_0_1" - - - // $ANTLR start "rule__MappingParameter__NameAssignment" - // InternalCftLanguage.g:3937:1: rule__MappingParameter__NameAssignment : ( ruleValidId ) ; - public final void rule__MappingParameter__NameAssignment() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:3941:1: ( ( ruleValidId ) ) - // InternalCftLanguage.g:3942:2: ( ruleValidId ) - { - // InternalCftLanguage.g:3942:2: ( ruleValidId ) - // InternalCftLanguage.g:3943:3: ruleValidId - { - before(grammarAccess.getMappingParameterAccess().getNameValidIdParserRuleCall_0()); - pushFollow(FOLLOW_2); - ruleValidId(); - - state._fsp--; - - after(grammarAccess.getMappingParameterAccess().getNameValidIdParserRuleCall_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__MappingParameter__NameAssignment" - - - // $ANTLR start "rule__LookupDefinition__MappingAssignment_1" - // InternalCftLanguage.g:3952:1: rule__LookupDefinition__MappingAssignment_1 : ( ( ruleQualifiedName ) ) ; - public final void rule__LookupDefinition__MappingAssignment_1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:3956:1: ( ( ( ruleQualifiedName ) ) ) - // InternalCftLanguage.g:3957:2: ( ( ruleQualifiedName ) ) - { - // InternalCftLanguage.g:3957:2: ( ( ruleQualifiedName ) ) - // InternalCftLanguage.g:3958:3: ( ruleQualifiedName ) - { - before(grammarAccess.getLookupDefinitionAccess().getMappingMappingDefinitionCrossReference_1_0()); - // InternalCftLanguage.g:3959:3: ( ruleQualifiedName ) - // InternalCftLanguage.g:3960:4: ruleQualifiedName - { - before(grammarAccess.getLookupDefinitionAccess().getMappingMappingDefinitionQualifiedNameParserRuleCall_1_0_1()); - pushFollow(FOLLOW_2); - ruleQualifiedName(); - - state._fsp--; - - after(grammarAccess.getLookupDefinitionAccess().getMappingMappingDefinitionQualifiedNameParserRuleCall_1_0_1()); - - } - - after(grammarAccess.getLookupDefinitionAccess().getMappingMappingDefinitionCrossReference_1_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__LookupDefinition__MappingAssignment_1" - - - // $ANTLR start "rule__LookupDefinition__ArgumentsAssignment_3" - // InternalCftLanguage.g:3971:1: rule__LookupDefinition__ArgumentsAssignment_3 : ( ( ruleValidId ) ) ; - public final void rule__LookupDefinition__ArgumentsAssignment_3() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:3975:1: ( ( ( ruleValidId ) ) ) - // InternalCftLanguage.g:3976:2: ( ( ruleValidId ) ) - { - // InternalCftLanguage.g:3976:2: ( ( ruleValidId ) ) - // InternalCftLanguage.g:3977:3: ( ruleValidId ) - { - before(grammarAccess.getLookupDefinitionAccess().getArgumentsMappingParameterCrossReference_3_0()); - // InternalCftLanguage.g:3978:3: ( ruleValidId ) - // InternalCftLanguage.g:3979:4: ruleValidId - { - before(grammarAccess.getLookupDefinitionAccess().getArgumentsMappingParameterValidIdParserRuleCall_3_0_1()); - pushFollow(FOLLOW_2); - ruleValidId(); - - state._fsp--; - - after(grammarAccess.getLookupDefinitionAccess().getArgumentsMappingParameterValidIdParserRuleCall_3_0_1()); - - } - - after(grammarAccess.getLookupDefinitionAccess().getArgumentsMappingParameterCrossReference_3_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__LookupDefinition__ArgumentsAssignment_3" - - - // $ANTLR start "rule__LookupDefinition__ArgumentsAssignment_4_1" - // InternalCftLanguage.g:3990:1: rule__LookupDefinition__ArgumentsAssignment_4_1 : ( ( ruleValidId ) ) ; - public final void rule__LookupDefinition__ArgumentsAssignment_4_1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:3994:1: ( ( ( ruleValidId ) ) ) - // InternalCftLanguage.g:3995:2: ( ( ruleValidId ) ) - { - // InternalCftLanguage.g:3995:2: ( ( ruleValidId ) ) - // InternalCftLanguage.g:3996:3: ( ruleValidId ) - { - before(grammarAccess.getLookupDefinitionAccess().getArgumentsMappingParameterCrossReference_4_1_0()); - // InternalCftLanguage.g:3997:3: ( ruleValidId ) - // InternalCftLanguage.g:3998:4: ruleValidId - { - before(grammarAccess.getLookupDefinitionAccess().getArgumentsMappingParameterValidIdParserRuleCall_4_1_0_1()); - pushFollow(FOLLOW_2); - ruleValidId(); - - state._fsp--; - - after(grammarAccess.getLookupDefinitionAccess().getArgumentsMappingParameterValidIdParserRuleCall_4_1_0_1()); - - } - - after(grammarAccess.getLookupDefinitionAccess().getArgumentsMappingParameterCrossReference_4_1_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__LookupDefinition__ArgumentsAssignment_4_1" - - - // $ANTLR start "rule__LookupDefinition__NameAssignment_7" - // InternalCftLanguage.g:4009:1: rule__LookupDefinition__NameAssignment_7 : ( ruleValidId ) ; - public final void rule__LookupDefinition__NameAssignment_7() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:4013:1: ( ( ruleValidId ) ) - // InternalCftLanguage.g:4014:2: ( ruleValidId ) - { - // InternalCftLanguage.g:4014:2: ( ruleValidId ) - // InternalCftLanguage.g:4015:3: ruleValidId - { - before(grammarAccess.getLookupDefinitionAccess().getNameValidIdParserRuleCall_7_0()); - pushFollow(FOLLOW_2); - ruleValidId(); - - state._fsp--; - - after(grammarAccess.getLookupDefinitionAccess().getNameValidIdParserRuleCall_7_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__LookupDefinition__NameAssignment_7" - - - // $ANTLR start "rule__Assignment__InputAssignment_0" - // InternalCftLanguage.g:4024:1: rule__Assignment__InputAssignment_0 : ( ruleEventReference ) ; - public final void rule__Assignment__InputAssignment_0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:4028:1: ( ( ruleEventReference ) ) - // InternalCftLanguage.g:4029:2: ( ruleEventReference ) - { - // InternalCftLanguage.g:4029:2: ( ruleEventReference ) - // InternalCftLanguage.g:4030:3: ruleEventReference - { - before(grammarAccess.getAssignmentAccess().getInputEventReferenceParserRuleCall_0_0()); - pushFollow(FOLLOW_2); - ruleEventReference(); - - state._fsp--; - - after(grammarAccess.getAssignmentAccess().getInputEventReferenceParserRuleCall_0_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Assignment__InputAssignment_0" - - - // $ANTLR start "rule__Assignment__MultipleAssignment_1_0" - // InternalCftLanguage.g:4039:1: rule__Assignment__MultipleAssignment_1_0 : ( ( '+=' ) ) ; - public final void rule__Assignment__MultipleAssignment_1_0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:4043:1: ( ( ( '+=' ) ) ) - // InternalCftLanguage.g:4044:2: ( ( '+=' ) ) - { - // InternalCftLanguage.g:4044:2: ( ( '+=' ) ) - // InternalCftLanguage.g:4045:3: ( '+=' ) - { - before(grammarAccess.getAssignmentAccess().getMultiplePlusSignEqualsSignKeyword_1_0_0()); - // InternalCftLanguage.g:4046:3: ( '+=' ) - // InternalCftLanguage.g:4047:4: '+=' - { - before(grammarAccess.getAssignmentAccess().getMultiplePlusSignEqualsSignKeyword_1_0_0()); - match(input,40,FOLLOW_2); - after(grammarAccess.getAssignmentAccess().getMultiplePlusSignEqualsSignKeyword_1_0_0()); - - } - - after(grammarAccess.getAssignmentAccess().getMultiplePlusSignEqualsSignKeyword_1_0_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Assignment__MultipleAssignment_1_0" - - - // $ANTLR start "rule__Assignment__OutputAssignment_2" - // InternalCftLanguage.g:4058:1: rule__Assignment__OutputAssignment_2 : ( ruleEventReference ) ; - public final void rule__Assignment__OutputAssignment_2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:4062:1: ( ( ruleEventReference ) ) - // InternalCftLanguage.g:4063:2: ( ruleEventReference ) - { - // InternalCftLanguage.g:4063:2: ( ruleEventReference ) - // InternalCftLanguage.g:4064:3: ruleEventReference - { - before(grammarAccess.getAssignmentAccess().getOutputEventReferenceParserRuleCall_2_0()); - pushFollow(FOLLOW_2); - ruleEventReference(); - - state._fsp--; - - after(grammarAccess.getAssignmentAccess().getOutputEventReferenceParserRuleCall_2_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Assignment__OutputAssignment_2" - - - // $ANTLR start "rule__EventReference__ComponentAssignment_0" - // InternalCftLanguage.g:4073:1: rule__EventReference__ComponentAssignment_0 : ( ( ruleValidId ) ) ; - public final void rule__EventReference__ComponentAssignment_0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:4077:1: ( ( ( ruleValidId ) ) ) - // InternalCftLanguage.g:4078:2: ( ( ruleValidId ) ) - { - // InternalCftLanguage.g:4078:2: ( ( ruleValidId ) ) - // InternalCftLanguage.g:4079:3: ( ruleValidId ) - { - before(grammarAccess.getEventReferenceAccess().getComponentVariableCrossReference_0_0()); - // InternalCftLanguage.g:4080:3: ( ruleValidId ) - // InternalCftLanguage.g:4081:4: ruleValidId - { - before(grammarAccess.getEventReferenceAccess().getComponentVariableValidIdParserRuleCall_0_0_1()); - pushFollow(FOLLOW_2); - ruleValidId(); - - state._fsp--; - - after(grammarAccess.getEventReferenceAccess().getComponentVariableValidIdParserRuleCall_0_0_1()); - - } - - after(grammarAccess.getEventReferenceAccess().getComponentVariableCrossReference_0_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__EventReference__ComponentAssignment_0" - - - // $ANTLR start "rule__EventReference__EventAssignment_2" - // InternalCftLanguage.g:4092:1: rule__EventReference__EventAssignment_2 : ( ( ruleValidId ) ) ; - public final void rule__EventReference__EventAssignment_2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:4096:1: ( ( ( ruleValidId ) ) ) - // InternalCftLanguage.g:4097:2: ( ( ruleValidId ) ) - { - // InternalCftLanguage.g:4097:2: ( ( ruleValidId ) ) - // InternalCftLanguage.g:4098:3: ( ruleValidId ) - { - before(grammarAccess.getEventReferenceAccess().getEventEventDeclarationCrossReference_2_0()); - // InternalCftLanguage.g:4099:3: ( ruleValidId ) - // InternalCftLanguage.g:4100:4: ruleValidId - { - before(grammarAccess.getEventReferenceAccess().getEventEventDeclarationValidIdParserRuleCall_2_0_1()); - pushFollow(FOLLOW_2); - ruleValidId(); - - state._fsp--; - - after(grammarAccess.getEventReferenceAccess().getEventEventDeclarationValidIdParserRuleCall_2_0_1()); - - } - - after(grammarAccess.getEventReferenceAccess().getEventEventDeclarationCrossReference_2_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__EventReference__EventAssignment_2" - - - // $ANTLR start "rule__ComponentInstance__ComponentTypeAssignment_1" - // InternalCftLanguage.g:4111:1: rule__ComponentInstance__ComponentTypeAssignment_1 : ( ( ruleQualifiedName ) ) ; - public final void rule__ComponentInstance__ComponentTypeAssignment_1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:4115:1: ( ( ( ruleQualifiedName ) ) ) - // InternalCftLanguage.g:4116:2: ( ( ruleQualifiedName ) ) - { - // InternalCftLanguage.g:4116:2: ( ( ruleQualifiedName ) ) - // InternalCftLanguage.g:4117:3: ( ruleQualifiedName ) - { - before(grammarAccess.getComponentInstanceAccess().getComponentTypeComponentDefinitionCrossReference_1_0()); - // InternalCftLanguage.g:4118:3: ( ruleQualifiedName ) - // InternalCftLanguage.g:4119:4: ruleQualifiedName - { - before(grammarAccess.getComponentInstanceAccess().getComponentTypeComponentDefinitionQualifiedNameParserRuleCall_1_0_1()); - pushFollow(FOLLOW_2); - ruleQualifiedName(); - - state._fsp--; - - after(grammarAccess.getComponentInstanceAccess().getComponentTypeComponentDefinitionQualifiedNameParserRuleCall_1_0_1()); - - } - - after(grammarAccess.getComponentInstanceAccess().getComponentTypeComponentDefinitionCrossReference_1_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ComponentInstance__ComponentTypeAssignment_1" - - - // $ANTLR start "rule__ComponentInstance__NameAssignment_2" - // InternalCftLanguage.g:4130:1: rule__ComponentInstance__NameAssignment_2 : ( ruleValidId ) ; - public final void rule__ComponentInstance__NameAssignment_2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalCftLanguage.g:4134:1: ( ( ruleValidId ) ) - // InternalCftLanguage.g:4135:2: ( ruleValidId ) - { - // InternalCftLanguage.g:4135:2: ( ruleValidId ) - // InternalCftLanguage.g:4136:3: ruleValidId - { - before(grammarAccess.getComponentInstanceAccess().getNameValidIdParserRuleCall_2_0()); - pushFollow(FOLLOW_2); - ruleValidId(); - - state._fsp--; - - after(grammarAccess.getComponentInstanceAccess().getNameValidIdParserRuleCall_2_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ComponentInstance__NameAssignment_2" - - // Delegated rules - - - - - public static final BitSet FOLLOW_1 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_2 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_3 = new BitSet(new long[]{0x0000000000000030L}); - public static final BitSet FOLLOW_4 = new BitSet(new long[]{0x0000000010038000L}); - public static final BitSet FOLLOW_5 = new BitSet(new long[]{0x0000000000010002L}); - public static final BitSet FOLLOW_6 = new BitSet(new long[]{0x0000000010020002L}); - public static final BitSet FOLLOW_7 = new BitSet(new long[]{0x0000000000008000L}); - public static final BitSet FOLLOW_8 = new BitSet(new long[]{0x0000000000040000L}); - public static final BitSet FOLLOW_9 = new BitSet(new long[]{0x0000000000300000L}); - public static final BitSet FOLLOW_10 = new BitSet(new long[]{0x0000000000080030L}); - public static final BitSet FOLLOW_11 = new BitSet(new long[]{0x0000000000000032L}); - public static final BitSet FOLLOW_12 = new BitSet(new long[]{0x0000000000008030L}); - public static final BitSet FOLLOW_13 = new BitSet(new long[]{0x0000004000000000L}); - public static final BitSet FOLLOW_14 = new BitSet(new long[]{0x0000000001400000L}); - public static final BitSet FOLLOW_15 = new BitSet(new long[]{0x0000000000800000L}); - public static final BitSet FOLLOW_16 = new BitSet(new long[]{0x00000000000000C0L}); - public static final BitSet FOLLOW_17 = new BitSet(new long[]{0x0000000002000000L}); - public static final BitSet FOLLOW_18 = new BitSet(new long[]{0x0000000004000000L}); - public static final BitSet FOLLOW_19 = new BitSet(new long[]{0x0000000000000040L}); - public static final BitSet FOLLOW_20 = new BitSet(new long[]{0x0000000008000020L}); - public static final BitSet FOLLOW_21 = new BitSet(new long[]{0x0000008020080000L}); - public static final BitSet FOLLOW_22 = new BitSet(new long[]{0x0000008020000002L}); - public static final BitSet FOLLOW_23 = new BitSet(new long[]{0x0000008020000000L}); - public static final BitSet FOLLOW_24 = new BitSet(new long[]{0x0000000040000000L}); - public static final BitSet FOLLOW_25 = new BitSet(new long[]{0x0000000180000000L}); - public static final BitSet FOLLOW_26 = new BitSet(new long[]{0x0000000100000002L}); - public static final BitSet FOLLOW_27 = new BitSet(new long[]{0x0000001000040000L}); - public static final BitSet FOLLOW_28 = new BitSet(new long[]{0x0000000200080030L}); - public static final BitSet FOLLOW_29 = new BitSet(new long[]{0x0000000200000032L}); - public static final BitSet FOLLOW_30 = new BitSet(new long[]{0x0000000400000000L}); - public static final BitSet FOLLOW_31 = new BitSet(new long[]{0x0000010000002000L}); - public static final BitSet FOLLOW_32 = new BitSet(new long[]{0x0000000200000030L}); - public static final BitSet FOLLOW_33 = new BitSet(new long[]{0x0000000800000000L}); - public static final BitSet FOLLOW_34 = new BitSet(new long[]{0x0000000800000002L}); - public static final BitSet FOLLOW_35 = new BitSet(new long[]{0x0000002000000000L}); - public static final BitSet FOLLOW_36 = new BitSet(new long[]{0x0000000000300002L}); - -} diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/src/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/CftLanguageIdeModule.xtend b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/src/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/CftLanguageIdeModule.xtend deleted file mode 100644 index 1717a3c0..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/src/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/CftLanguageIdeModule.xtend +++ /dev/null @@ -1,11 +0,0 @@ -/* - * generated by Xtext 2.16.0 - */ -package hu.bme.mit.inf.dslreasoner.faulttree.components.ide - - -/** - * Use this class to register ide components. - */ -class CftLanguageIdeModule extends AbstractCftLanguageIdeModule { -} diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/src/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/CftLanguageIdeSetup.xtend b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/src/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/CftLanguageIdeSetup.xtend deleted file mode 100644 index af8d87a5..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/src/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/CftLanguageIdeSetup.xtend +++ /dev/null @@ -1,20 +0,0 @@ -/* - * generated by Xtext 2.16.0 - */ -package hu.bme.mit.inf.dslreasoner.faulttree.components.ide - -import com.google.inject.Guice -import hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguageRuntimeModule -import hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguageStandaloneSetup -import org.eclipse.xtext.util.Modules2 - -/** - * Initialization support for running Xtext languages as language servers. - */ -class CftLanguageIdeSetup extends CftLanguageStandaloneSetup { - - override createInjector() { - Guice.createInjector(Modules2.mixin(new CftLanguageRuntimeModule, new CftLanguageIdeModule)) - } - -} diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/.CftLanguageIdeModule.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/.CftLanguageIdeModule.xtendbin deleted file mode 100644 index 2c3fb067..00000000 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/.CftLanguageIdeModule.xtendbin and /dev/null differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/.CftLanguageIdeSetup.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/.CftLanguageIdeSetup.xtendbin deleted file mode 100644 index dd1a46c1..00000000 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/.CftLanguageIdeSetup.xtendbin and /dev/null differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/.gitignore b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/.gitignore deleted file mode 100644 index e3c287dd..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/.gitignore +++ /dev/null @@ -1,6 +0,0 @@ -/.CftLanguageIdeModule.java._trace -/.CftLanguageIdeSetup.java._trace -/.CftLanguageIdeModule.xtendbin -/.CftLanguageIdeSetup.xtendbin -/CftLanguageIdeModule.java -/CftLanguageIdeSetup.java diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/CftLanguageIdeModule.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/CftLanguageIdeModule.java deleted file mode 100644 index cdedc92a..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/CftLanguageIdeModule.java +++ /dev/null @@ -1,13 +0,0 @@ -/** - * generated by Xtext 2.16.0 - */ -package hu.bme.mit.inf.dslreasoner.faulttree.components.ide; - -import hu.bme.mit.inf.dslreasoner.faulttree.components.ide.AbstractCftLanguageIdeModule; - -/** - * Use this class to register ide components. - */ -@SuppressWarnings("all") -public class CftLanguageIdeModule extends AbstractCftLanguageIdeModule { -} diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/CftLanguageIdeSetup.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/CftLanguageIdeSetup.java deleted file mode 100644 index f07010fc..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/CftLanguageIdeSetup.java +++ /dev/null @@ -1,24 +0,0 @@ -/** - * generated by Xtext 2.16.0 - */ -package hu.bme.mit.inf.dslreasoner.faulttree.components.ide; - -import com.google.inject.Guice; -import com.google.inject.Injector; -import hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguageRuntimeModule; -import hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguageStandaloneSetup; -import hu.bme.mit.inf.dslreasoner.faulttree.components.ide.CftLanguageIdeModule; -import org.eclipse.xtext.util.Modules2; - -/** - * Initialization support for running Xtext languages as language servers. - */ -@SuppressWarnings("all") -public class CftLanguageIdeSetup extends CftLanguageStandaloneSetup { - @Override - public Injector createInjector() { - CftLanguageRuntimeModule _cftLanguageRuntimeModule = new CftLanguageRuntimeModule(); - CftLanguageIdeModule _cftLanguageIdeModule = new CftLanguageIdeModule(); - return Guice.createInjector(Modules2.mixin(_cftLanguageRuntimeModule, _cftLanguageIdeModule)); - } -} diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/.classpath b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/.classpath deleted file mode 100644 index 9081d4f7..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/.classpath +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/.gitignore b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/.gitignore deleted file mode 100644 index ae3c1726..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/.gitignore +++ /dev/null @@ -1 +0,0 @@ -/bin/ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/.project b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/.project deleted file mode 100644 index ff20123a..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/.project +++ /dev/null @@ -1,34 +0,0 @@ - - - hu.bme.mit.inf.dslreasoner.faulttree.components.ui - - - - - - org.eclipse.xtext.ui.shared.xtextBuilder - - - - - org.eclipse.jdt.core.javabuilder - - - - - org.eclipse.pde.ManifestBuilder - - - - - org.eclipse.pde.SchemaBuilder - - - - - - org.eclipse.xtext.ui.shared.xtextNature - org.eclipse.jdt.core.javanature - org.eclipse.pde.PluginNature - - diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/.settings/org.eclipse.core.resources.prefs b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/.settings/org.eclipse.core.resources.prefs deleted file mode 100644 index 99f26c02..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/.settings/org.eclipse.core.resources.prefs +++ /dev/null @@ -1,2 +0,0 @@ -eclipse.preferences.version=1 -encoding/=UTF-8 diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/.settings/org.eclipse.jdt.core.prefs b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/.settings/org.eclipse.jdt.core.prefs deleted file mode 100644 index 0c68a61d..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/.settings/org.eclipse.jdt.core.prefs +++ /dev/null @@ -1,7 +0,0 @@ -eclipse.preferences.version=1 -org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled -org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8 -org.eclipse.jdt.core.compiler.compliance=1.8 -org.eclipse.jdt.core.compiler.problem.assertIdentifier=error -org.eclipse.jdt.core.compiler.problem.enumIdentifier=error -org.eclipse.jdt.core.compiler.source=1.8 diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/META-INF/MANIFEST.MF b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/META-INF/MANIFEST.MF deleted file mode 100644 index 0b82fe96..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/META-INF/MANIFEST.MF +++ /dev/null @@ -1,26 +0,0 @@ -Manifest-Version: 1.0 -Automatic-Module-Name: hu.bme.mit.inf.dslreasoner.faulttree.components.ui -Bundle-ManifestVersion: 2 -Bundle-Name: hu.bme.mit.inf.dslreasoner.faulttree.components.ui -Bundle-Vendor: My Company -Bundle-Version: 1.0.0.qualifier -Bundle-SymbolicName: hu.bme.mit.inf.dslreasoner.faulttree.components.ui; singleton:=true -Bundle-ActivationPolicy: lazy -Require-Bundle: hu.bme.mit.inf.dslreasoner.faulttree.components, - hu.bme.mit.inf.dslreasoner.faulttree.components.ide, - org.eclipse.xtext.ui, - org.eclipse.xtext.ui.shared, - org.eclipse.xtext.ui.codetemplates.ui, - org.eclipse.ui.editors;bundle-version="3.5.0", - org.eclipse.ui.ide;bundle-version="3.5.0", - org.eclipse.ui, - org.eclipse.compare, - org.eclipse.xtext.builder, - org.eclipse.xtext.xbase.lib;bundle-version="2.14.0", - org.eclipse.xtend.lib;bundle-version="2.14.0";resolution:=optional -Import-Package: org.apache.log4j -Bundle-RequiredExecutionEnvironment: JavaSE-1.8 -Export-Package: hu.bme.mit.inf.dslreasoner.faulttree.components.ui.internal, - hu.bme.mit.inf.dslreasoner.faulttree.components.ui.quickfix, - hu.bme.mit.inf.dslreasoner.faulttree.components.ui.contentassist -Bundle-Activator: hu.bme.mit.inf.dslreasoner.faulttree.components.ui.internal.ComponentsActivator diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/build.properties b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/build.properties deleted file mode 100644 index 323f56c5..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/build.properties +++ /dev/null @@ -1,7 +0,0 @@ -source.. = src/,\ - src-gen/,\ - xtend-gen/ -bin.includes = .,\ - META-INF/,\ - plugin.xml -bin.excludes = **/*.xtend diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/plugin.xml b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/plugin.xml deleted file mode 100644 index afad4516..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/plugin.xml +++ /dev/null @@ -1,434 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/AbstractCftLanguageUiModule.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/AbstractCftLanguageUiModule.java deleted file mode 100644 index ba2f3d51..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/AbstractCftLanguageUiModule.java +++ /dev/null @@ -1,293 +0,0 @@ -/* - * generated by Xtext 2.16.0 - */ -package hu.bme.mit.inf.dslreasoner.faulttree.components.ui; - -import com.google.inject.Binder; -import com.google.inject.Provider; -import com.google.inject.name.Names; -import hu.bme.mit.inf.dslreasoner.faulttree.components.ide.contentassist.antlr.CftLanguageParser; -import hu.bme.mit.inf.dslreasoner.faulttree.components.ide.contentassist.antlr.PartialCftLanguageContentAssistParser; -import hu.bme.mit.inf.dslreasoner.faulttree.components.ide.contentassist.antlr.internal.InternalCftLanguageLexer; -import hu.bme.mit.inf.dslreasoner.faulttree.components.ui.contentassist.CftLanguageProposalProvider; -import hu.bme.mit.inf.dslreasoner.faulttree.components.ui.labeling.CftLanguageDescriptionLabelProvider; -import hu.bme.mit.inf.dslreasoner.faulttree.components.ui.labeling.CftLanguageLabelProvider; -import hu.bme.mit.inf.dslreasoner.faulttree.components.ui.outline.CftLanguageOutlineTreeProvider; -import hu.bme.mit.inf.dslreasoner.faulttree.components.ui.quickfix.CftLanguageQuickfixProvider; -import hu.bme.mit.inf.dslreasoner.faulttree.components.validation.CftLanguageValidatorConfigurationBlock; -import org.eclipse.compare.IViewerCreator; -import org.eclipse.core.resources.IWorkspaceRoot; -import org.eclipse.core.resources.ResourcesPlugin; -import org.eclipse.jface.viewers.ILabelProvider; -import org.eclipse.ui.plugin.AbstractUIPlugin; -import org.eclipse.xtext.builder.BuilderParticipant; -import org.eclipse.xtext.builder.EclipseOutputConfigurationProvider; -import org.eclipse.xtext.builder.IXtextBuilderParticipant; -import org.eclipse.xtext.builder.builderState.IBuilderState; -import org.eclipse.xtext.builder.clustering.CurrentDescriptions; -import org.eclipse.xtext.builder.impl.PersistentDataAwareDirtyResource; -import org.eclipse.xtext.builder.nature.NatureAddingEditorCallback; -import org.eclipse.xtext.builder.preferences.BuilderPreferenceAccess; -import org.eclipse.xtext.generator.IContextualOutputConfigurationProvider; -import org.eclipse.xtext.ide.LexerIdeBindings; -import org.eclipse.xtext.ide.editor.contentassist.antlr.IContentAssistParser; -import org.eclipse.xtext.ide.editor.contentassist.antlr.internal.Lexer; -import org.eclipse.xtext.ide.editor.partialEditing.IPartialEditingContentAssistParser; -import org.eclipse.xtext.parser.antlr.AntlrTokenDefProvider; -import org.eclipse.xtext.parser.antlr.ITokenDefProvider; -import org.eclipse.xtext.parser.antlr.LexerProvider; -import org.eclipse.xtext.resource.IResourceDescriptions; -import org.eclipse.xtext.resource.containers.IAllContainersState; -import org.eclipse.xtext.resource.impl.ResourceDescriptionsProvider; -import org.eclipse.xtext.service.SingletonBinding; -import org.eclipse.xtext.ui.DefaultUiModule; -import org.eclipse.xtext.ui.UIBindings; -import org.eclipse.xtext.ui.codetemplates.ui.AccessibleCodetemplatesActivator; -import org.eclipse.xtext.ui.codetemplates.ui.partialEditing.IPartialEditingContentAssistContextFactory; -import org.eclipse.xtext.ui.codetemplates.ui.partialEditing.PartialEditingContentAssistContextFactory; -import org.eclipse.xtext.ui.codetemplates.ui.preferences.AdvancedTemplatesPreferencePage; -import org.eclipse.xtext.ui.codetemplates.ui.preferences.TemplatesLanguageConfiguration; -import org.eclipse.xtext.ui.codetemplates.ui.registry.LanguageRegistrar; -import org.eclipse.xtext.ui.codetemplates.ui.registry.LanguageRegistry; -import org.eclipse.xtext.ui.compare.DefaultViewerCreator; -import org.eclipse.xtext.ui.editor.DocumentBasedDirtyResource; -import org.eclipse.xtext.ui.editor.IXtextEditorCallback; -import org.eclipse.xtext.ui.editor.contentassist.ContentAssistContext; -import org.eclipse.xtext.ui.editor.contentassist.FQNPrefixMatcher; -import org.eclipse.xtext.ui.editor.contentassist.IContentProposalProvider; -import org.eclipse.xtext.ui.editor.contentassist.IProposalConflictHelper; -import org.eclipse.xtext.ui.editor.contentassist.PrefixMatcher; -import org.eclipse.xtext.ui.editor.contentassist.antlr.AntlrProposalConflictHelper; -import org.eclipse.xtext.ui.editor.contentassist.antlr.DelegatingContentAssistContextFactory; -import org.eclipse.xtext.ui.editor.outline.IOutlineTreeProvider; -import org.eclipse.xtext.ui.editor.outline.impl.IOutlineTreeStructureProvider; -import org.eclipse.xtext.ui.editor.preferences.IPreferenceStoreInitializer; -import org.eclipse.xtext.ui.editor.quickfix.IssueResolutionProvider; -import org.eclipse.xtext.ui.editor.templates.XtextTemplatePreferencePage; -import org.eclipse.xtext.ui.refactoring.IDependentElementsCalculator; -import org.eclipse.xtext.ui.refactoring.IReferenceUpdater; -import org.eclipse.xtext.ui.refactoring.IRenameRefactoringProvider; -import org.eclipse.xtext.ui.refactoring.IRenameStrategy; -import org.eclipse.xtext.ui.refactoring.impl.DefaultDependentElementsCalculator; -import org.eclipse.xtext.ui.refactoring.impl.DefaultReferenceUpdater; -import org.eclipse.xtext.ui.refactoring.impl.DefaultRenameRefactoringProvider; -import org.eclipse.xtext.ui.refactoring.impl.DefaultRenameStrategy; -import org.eclipse.xtext.ui.refactoring.ui.DefaultRenameSupport; -import org.eclipse.xtext.ui.refactoring.ui.IRenameSupport; -import org.eclipse.xtext.ui.refactoring.ui.RefactoringPreferences; -import org.eclipse.xtext.ui.resource.ResourceServiceDescriptionLabelProvider; -import org.eclipse.xtext.ui.shared.Access; -import org.eclipse.xtext.ui.validation.AbstractValidatorConfigurationBlock; - -/** - * Manual modifications go to {@link CftLanguageUiModule}. - */ -@SuppressWarnings("all") -public abstract class AbstractCftLanguageUiModule extends DefaultUiModule { - - public AbstractCftLanguageUiModule(AbstractUIPlugin plugin) { - super(plugin); - } - - // contributed by org.eclipse.xtext.xtext.generator.ImplicitFragment - public Provider provideIAllContainersState() { - return Access.getJavaProjectsState(); - } - - // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 - public Class bindIProposalConflictHelper() { - return AntlrProposalConflictHelper.class; - } - - // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 - public void configureContentAssistLexer(Binder binder) { - binder.bind(Lexer.class) - .annotatedWith(Names.named(LexerIdeBindings.CONTENT_ASSIST)) - .to(InternalCftLanguageLexer.class); - } - - // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 - public void configureHighlightingLexer(Binder binder) { - binder.bind(org.eclipse.xtext.parser.antlr.Lexer.class) - .annotatedWith(Names.named(LexerIdeBindings.HIGHLIGHTING)) - .to(hu.bme.mit.inf.dslreasoner.faulttree.components.parser.antlr.internal.InternalCftLanguageLexer.class); - } - - // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 - public void configureHighlightingTokenDefProvider(Binder binder) { - binder.bind(ITokenDefProvider.class) - .annotatedWith(Names.named(LexerIdeBindings.HIGHLIGHTING)) - .to(AntlrTokenDefProvider.class); - } - - // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 - public Class bindContentAssistContext$Factory() { - return DelegatingContentAssistContextFactory.class; - } - - // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 - public Class bindIContentAssistParser() { - return CftLanguageParser.class; - } - - // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 - public void configureContentAssistLexerProvider(Binder binder) { - binder.bind(InternalCftLanguageLexer.class).toProvider(LexerProvider.create(InternalCftLanguageLexer.class)); - } - - // contributed by org.eclipse.xtext.xtext.generator.validation.ValidatorFragment2 - public Class bindAbstractValidatorConfigurationBlock() { - return CftLanguageValidatorConfigurationBlock.class; - } - - // contributed by org.eclipse.xtext.xtext.generator.exporting.QualifiedNamesFragment2 - public Class bindPrefixMatcher() { - return FQNPrefixMatcher.class; - } - - // contributed by org.eclipse.xtext.xtext.generator.exporting.QualifiedNamesFragment2 - public Class bindIDependentElementsCalculator() { - return DefaultDependentElementsCalculator.class; - } - - // contributed by org.eclipse.xtext.xtext.generator.builder.BuilderIntegrationFragment2 - public void configureIResourceDescriptionsBuilderScope(Binder binder) { - binder.bind(IResourceDescriptions.class).annotatedWith(Names.named(ResourceDescriptionsProvider.NAMED_BUILDER_SCOPE)).to(CurrentDescriptions.ResourceSetAware.class); - } - - // contributed by org.eclipse.xtext.xtext.generator.builder.BuilderIntegrationFragment2 - public Class bindIXtextEditorCallback() { - return NatureAddingEditorCallback.class; - } - - // contributed by org.eclipse.xtext.xtext.generator.builder.BuilderIntegrationFragment2 - public Class bindIContextualOutputConfigurationProvider() { - return EclipseOutputConfigurationProvider.class; - } - - // contributed by org.eclipse.xtext.xtext.generator.builder.BuilderIntegrationFragment2 - public void configureIResourceDescriptionsPersisted(Binder binder) { - binder.bind(IResourceDescriptions.class).annotatedWith(Names.named(ResourceDescriptionsProvider.PERSISTED_DESCRIPTIONS)).to(IBuilderState.class); - } - - // contributed by org.eclipse.xtext.xtext.generator.builder.BuilderIntegrationFragment2 - public Class bindDocumentBasedDirtyResource() { - return PersistentDataAwareDirtyResource.class; - } - - // contributed by org.eclipse.xtext.xtext.generator.generator.GeneratorFragment2 - public Class bindIXtextBuilderParticipant() { - return BuilderParticipant.class; - } - - // contributed by org.eclipse.xtext.xtext.generator.generator.GeneratorFragment2 - public IWorkspaceRoot bindIWorkspaceRootToInstance() { - return ResourcesPlugin.getWorkspace().getRoot(); - } - - // contributed by org.eclipse.xtext.xtext.generator.generator.GeneratorFragment2 - public void configureBuilderPreferenceStoreInitializer(Binder binder) { - binder.bind(IPreferenceStoreInitializer.class) - .annotatedWith(Names.named("builderPreferenceInitializer")) - .to(BuilderPreferenceAccess.Initializer.class); - } - - // contributed by org.eclipse.xtext.xtext.generator.ui.labeling.LabelProviderFragment2 - public Class bindILabelProvider() { - return CftLanguageLabelProvider.class; - } - - // contributed by org.eclipse.xtext.xtext.generator.ui.labeling.LabelProviderFragment2 - public void configureResourceUIServiceLabelProvider(Binder binder) { - binder.bind(ILabelProvider.class).annotatedWith(ResourceServiceDescriptionLabelProvider.class).to(CftLanguageDescriptionLabelProvider.class); - } - - // contributed by org.eclipse.xtext.xtext.generator.ui.outline.OutlineTreeProviderFragment2 - public Class bindIOutlineTreeProvider() { - return CftLanguageOutlineTreeProvider.class; - } - - // contributed by org.eclipse.xtext.xtext.generator.ui.outline.OutlineTreeProviderFragment2 - public Class bindIOutlineTreeStructureProvider() { - return CftLanguageOutlineTreeProvider.class; - } - - // contributed by org.eclipse.xtext.xtext.generator.ui.quickfix.QuickfixProviderFragment2 - public Class bindIssueResolutionProvider() { - return CftLanguageQuickfixProvider.class; - } - - // contributed by org.eclipse.xtext.xtext.generator.ui.contentAssist.ContentAssistFragment2 - public Class bindIContentProposalProvider() { - return CftLanguageProposalProvider.class; - } - - // contributed by org.eclipse.xtext.xtext.generator.ui.refactoring.RefactorElementNameFragment2 - public void configureIPreferenceStoreInitializer(Binder binder) { - binder.bind(IPreferenceStoreInitializer.class) - .annotatedWith(Names.named("RefactoringPreferences")) - .to(RefactoringPreferences.Initializer.class); - } - - // contributed by org.eclipse.xtext.xtext.generator.ui.refactoring.RefactorElementNameFragment2 - public Class bindIRenameStrategy() { - return DefaultRenameStrategy.class; - } - - // contributed by org.eclipse.xtext.xtext.generator.ui.refactoring.RefactorElementNameFragment2 - public Class bindIReferenceUpdater() { - return DefaultReferenceUpdater.class; - } - - // contributed by org.eclipse.xtext.xtext.generator.ui.refactoring.RefactorElementNameFragment2 - public Class bindIRenameRefactoringProvider() { - return DefaultRenameRefactoringProvider.class; - } - - // contributed by org.eclipse.xtext.xtext.generator.ui.refactoring.RefactorElementNameFragment2 - public Class bindIRenameSupport$Factory() { - return DefaultRenameSupport.Factory.class; - } - - // contributed by org.eclipse.xtext.xtext.generator.ui.templates.CodetemplatesGeneratorFragment2 - public Provider provideTemplatesLanguageConfiguration() { - return AccessibleCodetemplatesActivator.getTemplatesLanguageConfigurationProvider(); - } - - // contributed by org.eclipse.xtext.xtext.generator.ui.templates.CodetemplatesGeneratorFragment2 - public Provider provideLanguageRegistry() { - return AccessibleCodetemplatesActivator.getLanguageRegistry(); - } - - // contributed by org.eclipse.xtext.xtext.generator.ui.templates.CodetemplatesGeneratorFragment2 - @SingletonBinding(eager=true) - public Class bindLanguageRegistrar() { - return LanguageRegistrar.class; - } - - // contributed by org.eclipse.xtext.xtext.generator.ui.templates.CodetemplatesGeneratorFragment2 - public Class bindXtextTemplatePreferencePage() { - return AdvancedTemplatesPreferencePage.class; - } - - // contributed by org.eclipse.xtext.xtext.generator.ui.templates.CodetemplatesGeneratorFragment2 - public Class bindIPartialEditingContentAssistParser() { - return PartialCftLanguageContentAssistParser.class; - } - - // contributed by org.eclipse.xtext.xtext.generator.ui.templates.CodetemplatesGeneratorFragment2 - public Class bindIPartialEditingContentAssistContextFactory() { - return PartialEditingContentAssistContextFactory.class; - } - - // contributed by org.eclipse.xtext.xtext.generator.ui.compare.CompareFragment2 - public Class bindIViewerCreator() { - return DefaultViewerCreator.class; - } - - // contributed by org.eclipse.xtext.xtext.generator.ui.compare.CompareFragment2 - public void configureCompareViewerTitle(Binder binder) { - binder.bind(String.class).annotatedWith(Names.named(UIBindings.COMPARE_VIEWER_TITLE)).toInstance("CftLanguage Compare"); - } - -} diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/CftLanguageExecutableExtensionFactory.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/CftLanguageExecutableExtensionFactory.java deleted file mode 100644 index cf453a4f..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/CftLanguageExecutableExtensionFactory.java +++ /dev/null @@ -1,29 +0,0 @@ -/* - * generated by Xtext 2.16.0 - */ -package hu.bme.mit.inf.dslreasoner.faulttree.components.ui; - -import com.google.inject.Injector; -import hu.bme.mit.inf.dslreasoner.faulttree.components.ui.internal.ComponentsActivator; -import org.eclipse.core.runtime.Platform; -import org.eclipse.xtext.ui.guice.AbstractGuiceAwareExecutableExtensionFactory; -import org.osgi.framework.Bundle; - -/** - * This class was generated. Customizations should only happen in a newly - * introduced subclass. - */ -public class CftLanguageExecutableExtensionFactory extends AbstractGuiceAwareExecutableExtensionFactory { - - @Override - protected Bundle getBundle() { - return Platform.getBundle(ComponentsActivator.PLUGIN_ID); - } - - @Override - protected Injector getInjector() { - ComponentsActivator activator = ComponentsActivator.getInstance(); - return activator != null ? activator.getInjector(ComponentsActivator.HU_BME_MIT_INF_DSLREASONER_FAULTTREE_COMPONENTS_CFTLANGUAGE) : null; - } - -} diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/contentassist/AbstractCftLanguageProposalProvider.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/contentassist/AbstractCftLanguageProposalProvider.java deleted file mode 100644 index 7d5c8f8e..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/contentassist/AbstractCftLanguageProposalProvider.java +++ /dev/null @@ -1,229 +0,0 @@ -/* - * generated by Xtext 2.16.0 - */ -package hu.bme.mit.inf.dslreasoner.faulttree.components.ui.contentassist; - -import org.eclipse.emf.ecore.EObject; -import org.eclipse.xtext.Assignment; -import org.eclipse.xtext.CrossReference; -import org.eclipse.xtext.RuleCall; -import org.eclipse.xtext.common.ui.contentassist.TerminalsProposalProvider; -import org.eclipse.xtext.ui.editor.contentassist.ContentAssistContext; -import org.eclipse.xtext.ui.editor.contentassist.ICompletionProposalAcceptor; - -/** - * Represents a generated, default implementation of superclass {@link TerminalsProposalProvider}. - * Methods are dynamically dispatched on the first parameter, i.e., you can override them - * with a more concrete subtype. - */ -public abstract class AbstractCftLanguageProposalProvider extends TerminalsProposalProvider { - - public void completeCftModel_PackageName(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); - } - public void completeCftModel_Imports(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); - } - public void completeCftModel_ComponentDefinitions(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); - } - public void completeCftModel_TransformationDefinitions(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); - } - public void completeImportDeclaration_ImportedNamespace(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); - } - public void completeComponentDefinition_Name(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); - } - public void completeComponentDefinition_InputEvents(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); - } - public void completeComponentDefinition_OutputEvents(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); - } - public void completeComponentDefinition_EventDefinitions(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); - } - public void completeInputEvent_Name(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); - } - public void completeInputEvent_Multiple(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void completeBasicEventDefinition_Name(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); - } - public void completeBasicEventDefinition_Distribution(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); - } - public void completeConstantDistribution_P(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); - } - public void completeExponentialDistribution_Lambda(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); - } - public void completeAndGateDefinition_Name(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); - } - public void completeAndGateDefinition_InputEvents(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); - } - public void completeOrGateDefinition_Name(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); - } - public void completeOrGateDefinition_InputEvents(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); - } - public void completeKOfMGateDefinition_Name(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); - } - public void completeKOfMGateDefinition_K(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); - } - public void completeKOfMGateDefinition_M(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); - } - public void completeKOfMGateDefinition_InputEvents(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); - } - public void completeTransformationDefinition_Name(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); - } - public void completeTransformationDefinition_MappingDefinitions(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); - } - public void completeMappingDefinition_TopLevel(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void completeMappingDefinition_Pattern(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); - } - public void completeMappingDefinition_Parameters(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); - } - public void completeMappingDefinition_ComponentInstance(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); - } - public void completeMappingDefinition_LookupDefinitions(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); - } - public void completeMappingDefinition_Assignments(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); - } - public void completeMappingParameter_Name(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); - } - public void completeLookupDefinition_Mapping(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); - } - public void completeLookupDefinition_Arguments(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); - } - public void completeLookupDefinition_Name(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); - } - public void completeAssignment_Input(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); - } - public void completeAssignment_Multiple(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void completeAssignment_Output(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); - } - public void completeEventReference_Component(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); - } - public void completeEventReference_Event(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); - } - public void completeComponentInstance_ComponentType(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); - } - public void completeComponentInstance_Name(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); - } - - public void complete_CftModel(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void complete_ImportDeclaration(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void complete_ComponentDefinition(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void complete_InputEvent(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void complete_EventDefinition(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void complete_BasicEventDefinition(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void complete_Distribution(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void complete_ConstantDistribution(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void complete_ExponentialDistribution(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void complete_GateDefinition(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void complete_AndGateDefinition(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void complete_OrGateDefinition(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void complete_KOfMGateDefinition(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void complete_TransformationDefinition(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void complete_MappingDefinition(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void complete_MappingParameter(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void complete_LookupDefinition(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void complete_Variable(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void complete_Assignment(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void complete_EventReference(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void complete_ComponentInstance(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void complete_QualifiedName(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void complete_QualifiedNameWithWildcard(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void complete_ValidId(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void complete_Double(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void complete_OF_INT(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void complete_T_DOUBLE(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } -} diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/internal/ComponentsActivator.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/internal/ComponentsActivator.java deleted file mode 100644 index 3b4702dd..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/internal/ComponentsActivator.java +++ /dev/null @@ -1,94 +0,0 @@ -/* - * generated by Xtext 2.16.0 - */ -package hu.bme.mit.inf.dslreasoner.faulttree.components.ui.internal; - -import com.google.common.collect.Maps; -import com.google.inject.Guice; -import com.google.inject.Injector; -import hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguageRuntimeModule; -import hu.bme.mit.inf.dslreasoner.faulttree.components.ui.CftLanguageUiModule; -import java.util.Collections; -import java.util.Map; -import org.apache.log4j.Logger; -import org.eclipse.ui.plugin.AbstractUIPlugin; -import org.eclipse.xtext.ui.shared.SharedStateModule; -import org.eclipse.xtext.util.Modules2; -import org.osgi.framework.BundleContext; - -/** - * This class was generated. Customizations should only happen in a newly - * introduced subclass. - */ -public class ComponentsActivator extends AbstractUIPlugin { - - public static final String PLUGIN_ID = "hu.bme.mit.inf.dslreasoner.faulttree.components.ui"; - public static final String HU_BME_MIT_INF_DSLREASONER_FAULTTREE_COMPONENTS_CFTLANGUAGE = "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage"; - - private static final Logger logger = Logger.getLogger(ComponentsActivator.class); - - private static ComponentsActivator INSTANCE; - - private Map injectors = Collections.synchronizedMap(Maps. newHashMapWithExpectedSize(1)); - - @Override - public void start(BundleContext context) throws Exception { - super.start(context); - INSTANCE = this; - } - - @Override - public void stop(BundleContext context) throws Exception { - injectors.clear(); - INSTANCE = null; - super.stop(context); - } - - public static ComponentsActivator getInstance() { - return INSTANCE; - } - - public Injector getInjector(String language) { - synchronized (injectors) { - Injector injector = injectors.get(language); - if (injector == null) { - injectors.put(language, injector = createInjector(language)); - } - return injector; - } - } - - protected Injector createInjector(String language) { - try { - com.google.inject.Module runtimeModule = getRuntimeModule(language); - com.google.inject.Module sharedStateModule = getSharedStateModule(); - com.google.inject.Module uiModule = getUiModule(language); - com.google.inject.Module mergedModule = Modules2.mixin(runtimeModule, sharedStateModule, uiModule); - return Guice.createInjector(mergedModule); - } catch (Exception e) { - logger.error("Failed to create injector for " + language); - logger.error(e.getMessage(), e); - throw new RuntimeException("Failed to create injector for " + language, e); - } - } - - protected com.google.inject.Module getRuntimeModule(String grammar) { - if (HU_BME_MIT_INF_DSLREASONER_FAULTTREE_COMPONENTS_CFTLANGUAGE.equals(grammar)) { - return new CftLanguageRuntimeModule(); - } - throw new IllegalArgumentException(grammar); - } - - protected com.google.inject.Module getUiModule(String grammar) { - if (HU_BME_MIT_INF_DSLREASONER_FAULTTREE_COMPONENTS_CFTLANGUAGE.equals(grammar)) { - return new CftLanguageUiModule(this); - } - throw new IllegalArgumentException(grammar); - } - - protected com.google.inject.Module getSharedStateModule() { - return new SharedStateModule(); - } - - -} diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/validation/CftLanguageValidatorConfigurationBlock.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/validation/CftLanguageValidatorConfigurationBlock.java deleted file mode 100644 index 151699a2..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/validation/CftLanguageValidatorConfigurationBlock.java +++ /dev/null @@ -1,35 +0,0 @@ -/* - * generated by Xtext 2.16.0 - */ -package hu.bme.mit.inf.dslreasoner.faulttree.components.validation; - -import org.eclipse.jface.dialogs.IDialogSettings; -import org.eclipse.swt.widgets.Composite; -import org.eclipse.xtext.ui.validation.AbstractValidatorConfigurationBlock; - -@SuppressWarnings("restriction") -public class CftLanguageValidatorConfigurationBlock extends AbstractValidatorConfigurationBlock { - - protected static final String SETTINGS_SECTION_NAME = "CftLanguage"; - - @Override - protected void fillSettingsPage(Composite composite, int nColumns, int defaultIndent) { - addComboBox(CftLanguageConfigurableIssueCodesProvider.DEPRECATED_MODEL_PART, "Deprecated Model Part", composite, defaultIndent); - } - - @Override - public void dispose() { - storeSectionExpansionStates(getDialogSettings()); - super.dispose(); - } - - @Override - protected IDialogSettings getDialogSettings() { - IDialogSettings dialogSettings = super.getDialogSettings(); - IDialogSettings section = dialogSettings.getSection(SETTINGS_SECTION_NAME); - if (section == null) { - return dialogSettings.addNewSection(SETTINGS_SECTION_NAME); - } - return section; - } -} diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/src/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/CftLanguageUiModule.xtend b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/src/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/CftLanguageUiModule.xtend deleted file mode 100644 index 6558d759..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/src/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/CftLanguageUiModule.xtend +++ /dev/null @@ -1,24 +0,0 @@ -/* - * generated by Xtext 2.16.0 - */ -package hu.bme.mit.inf.dslreasoner.faulttree.components.ui - -import hu.bme.mit.inf.dslreasoner.faulttree.components.ui.syntaxcoloring.CftLanguageSemanticHighlightingCalculator -import hu.bme.mit.inf.dslreasoner.faulttree.components.ui.syntaxcoloring.CftLanguageTokenToAttributeIdMapper -import org.eclipse.xtend.lib.annotations.FinalFieldsConstructor -import org.eclipse.xtext.ide.editor.syntaxcoloring.AbstractAntlrTokenToAttributeIdMapper -import org.eclipse.xtext.ide.editor.syntaxcoloring.ISemanticHighlightingCalculator - -/** - * Use this class to register components to be used within the Eclipse IDE. - */ -@FinalFieldsConstructor -class CftLanguageUiModule extends AbstractCftLanguageUiModule { - def Class bindAbstractAntlrTokenToAttributeIdMapper() { - CftLanguageTokenToAttributeIdMapper - } - - def Class bindISemanticHighlightingCalculator() { - CftLanguageSemanticHighlightingCalculator - } -} diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/src/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/contentassist/CftLanguageProposalProvider.xtend b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/src/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/contentassist/CftLanguageProposalProvider.xtend deleted file mode 100644 index 2d173d73..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/src/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/contentassist/CftLanguageProposalProvider.xtend +++ /dev/null @@ -1,12 +0,0 @@ -/* - * generated by Xtext 2.16.0 - */ -package hu.bme.mit.inf.dslreasoner.faulttree.components.ui.contentassist - - -/** - * See https://www.eclipse.org/Xtext/documentation/304_ide_concepts.html#content-assist - * on how to customize the content assistant. - */ -class CftLanguageProposalProvider extends AbstractCftLanguageProposalProvider { -} diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/src/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/labeling/CftLanguageDescriptionLabelProvider.xtend b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/src/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/labeling/CftLanguageDescriptionLabelProvider.xtend deleted file mode 100644 index 17a734e1..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/src/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/labeling/CftLanguageDescriptionLabelProvider.xtend +++ /dev/null @@ -1,24 +0,0 @@ -/* - * generated by Xtext 2.16.0 - */ -package hu.bme.mit.inf.dslreasoner.faulttree.components.ui.labeling - -import org.eclipse.xtext.ui.label.DefaultDescriptionLabelProvider - -/** - * Provides labels for IEObjectDescriptions and IResourceDescriptions. - * - * See https://www.eclipse.org/Xtext/documentation/304_ide_concepts.html#label-provider - */ -class CftLanguageDescriptionLabelProvider extends DefaultDescriptionLabelProvider { - - // Labels and icons can be computed like this: - -// override text(IEObjectDescription ele) { -// ele.name.toString -// } -// -// override image(IEObjectDescription ele) { -// ele.EClass.name + '.gif' -// } -} diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/src/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/labeling/CftLanguageLabelProvider.xtend b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/src/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/labeling/CftLanguageLabelProvider.xtend deleted file mode 100644 index f111c553..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/src/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/labeling/CftLanguageLabelProvider.xtend +++ /dev/null @@ -1,26 +0,0 @@ -/* - * generated by Xtext 2.16.0 - */ -package hu.bme.mit.inf.dslreasoner.faulttree.components.ui.labeling - -import com.google.inject.Inject -import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingDefinition -import org.eclipse.emf.edit.ui.provider.AdapterFactoryLabelProvider -import org.eclipse.xtext.ui.label.DefaultEObjectLabelProvider - -/** - * Provides labels for EObjects. - * - * See https://www.eclipse.org/Xtext/documentation/304_ide_concepts.html#label-provider - */ -class CftLanguageLabelProvider extends DefaultEObjectLabelProvider { - - @Inject - new(AdapterFactoryLabelProvider delegate) { - super(delegate); - } - - def text(MappingDefinition mappingDefinition) { - mappingDefinition.pattern?.name - } -} diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/src/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/outline/CftLanguageOutlineTreeProvider.xtend b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/src/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/outline/CftLanguageOutlineTreeProvider.xtend deleted file mode 100644 index 3a75a639..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/src/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/outline/CftLanguageOutlineTreeProvider.xtend +++ /dev/null @@ -1,23 +0,0 @@ -/* - * generated by Xtext 2.16.0 - */ -package hu.bme.mit.inf.dslreasoner.faulttree.components.ui.outline - -import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingDefinition -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.EventDefinition -import org.eclipse.xtext.ui.editor.outline.impl.DefaultOutlineTreeProvider - -/** - * Customization of the default outline structure. - * - * See https://www.eclipse.org/Xtext/documentation/310_eclipse_support.html#outline - */ -class CftLanguageOutlineTreeProvider extends DefaultOutlineTreeProvider { - def _isLeaf(EventDefinition eventDefinition) { - true - } - - def _isLeaf(MappingDefinition mappingDefinition) { - true - } -} diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/src/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/quickfix/CftLanguageQuickfixProvider.xtend b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/src/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/quickfix/CftLanguageQuickfixProvider.xtend deleted file mode 100644 index 4ca09e2b..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/src/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/quickfix/CftLanguageQuickfixProvider.xtend +++ /dev/null @@ -1,24 +0,0 @@ -/* - * generated by Xtext 2.16.0 - */ -package hu.bme.mit.inf.dslreasoner.faulttree.components.ui.quickfix - -import org.eclipse.xtext.ui.editor.quickfix.DefaultQuickfixProvider - -/** - * Custom quickfixes. - * - * See https://www.eclipse.org/Xtext/documentation/310_eclipse_support.html#quick-fixes - */ -class CftLanguageQuickfixProvider extends DefaultQuickfixProvider { - -// @Fix(CftLanguageValidator.INVALID_NAME) -// def capitalizeName(Issue issue, IssueResolutionAcceptor acceptor) { -// acceptor.accept(issue, 'Capitalize name', 'Capitalize the name.', 'upcase.png') [ -// context | -// val xtextDocument = context.xtextDocument -// val firstLetter = xtextDocument.get(issue.offset, 1) -// xtextDocument.replace(issue.offset, 1, firstLetter.toUpperCase) -// ] -// } -} diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/src/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/syntaxcoloring/CftLanguageSemanticHighlightingCalculator.xtend b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/src/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/syntaxcoloring/CftLanguageSemanticHighlightingCalculator.xtend deleted file mode 100644 index 47c9ebdf..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/src/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/syntaxcoloring/CftLanguageSemanticHighlightingCalculator.xtend +++ /dev/null @@ -1,24 +0,0 @@ -package hu.bme.mit.inf.dslreasoner.faulttree.components.ui.syntaxcoloring - -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.KOfMGateDefinition -import org.eclipse.emf.ecore.EObject -import org.eclipse.xtext.ide.editor.syntaxcoloring.DefaultSemanticHighlightingCalculator -import org.eclipse.xtext.ide.editor.syntaxcoloring.IHighlightedPositionAcceptor -import org.eclipse.xtext.util.CancelIndicator - -import static hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage.Literals.* -import static org.eclipse.xtext.ui.editor.syntaxcoloring.DefaultHighlightingConfiguration.* - -class CftLanguageSemanticHighlightingCalculator extends DefaultSemanticHighlightingCalculator { - protected dispatch def highlightElement(KOfMGateDefinition gate, IHighlightedPositionAcceptor acceptor, - CancelIndicator cancelIndicator) { - acceptor.highlightFeature(gate, KOF_MGATE_DEFINITION__K, KEYWORD_ID) - acceptor.highlightFeature(gate, KOF_MGATE_DEFINITION__M, KEYWORD_ID) - false - } - - protected dispatch def highlightElement(EObject eObject, IHighlightedPositionAcceptor acceptor, - CancelIndicator cancelIndicator) { - super.highlightElement(eObject, acceptor, cancelIndicator) - } -} diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/src/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/syntaxcoloring/CftLanguageTokenToAttributeIdMapper.xtend b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/src/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/syntaxcoloring/CftLanguageTokenToAttributeIdMapper.xtend deleted file mode 100644 index 4656d0a0..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/src/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/syntaxcoloring/CftLanguageTokenToAttributeIdMapper.xtend +++ /dev/null @@ -1,15 +0,0 @@ -package hu.bme.mit.inf.dslreasoner.faulttree.components.ui.syntaxcoloring - -import org.eclipse.xtext.ide.editor.syntaxcoloring.DefaultAntlrTokenToAttributeIdMapper -import org.eclipse.xtext.ide.editor.syntaxcoloring.HighlightingStyles - -class CftLanguageTokenToAttributeIdMapper extends DefaultAntlrTokenToAttributeIdMapper { - override protected calculateId(String tokenName, int tokenType) { - switch (tokenName) { - case "RULE_T_DOUBLE": - HighlightingStyles.NUMBER_ID - default: - super.calculateId(tokenName, tokenType) - } - } -} \ No newline at end of file diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/.CftLanguageUiModule.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/.CftLanguageUiModule.xtendbin deleted file mode 100644 index 1694059d..00000000 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/.CftLanguageUiModule.xtendbin and /dev/null differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/.gitignore b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/.gitignore deleted file mode 100644 index 725f385c..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -/.CftLanguageUiModule.java._trace -/.CftLanguageUiModule.xtendbin -/CftLanguageUiModule.java diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/CftLanguageUiModule.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/CftLanguageUiModule.java deleted file mode 100644 index be796ba2..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/CftLanguageUiModule.java +++ /dev/null @@ -1,31 +0,0 @@ -/** - * generated by Xtext 2.16.0 - */ -package hu.bme.mit.inf.dslreasoner.faulttree.components.ui; - -import hu.bme.mit.inf.dslreasoner.faulttree.components.ui.AbstractCftLanguageUiModule; -import hu.bme.mit.inf.dslreasoner.faulttree.components.ui.syntaxcoloring.CftLanguageSemanticHighlightingCalculator; -import hu.bme.mit.inf.dslreasoner.faulttree.components.ui.syntaxcoloring.CftLanguageTokenToAttributeIdMapper; -import org.eclipse.ui.plugin.AbstractUIPlugin; -import org.eclipse.xtend.lib.annotations.FinalFieldsConstructor; -import org.eclipse.xtext.ide.editor.syntaxcoloring.AbstractAntlrTokenToAttributeIdMapper; -import org.eclipse.xtext.ide.editor.syntaxcoloring.ISemanticHighlightingCalculator; - -/** - * Use this class to register components to be used within the Eclipse IDE. - */ -@FinalFieldsConstructor -@SuppressWarnings("all") -public class CftLanguageUiModule extends AbstractCftLanguageUiModule { - public Class bindAbstractAntlrTokenToAttributeIdMapper() { - return CftLanguageTokenToAttributeIdMapper.class; - } - - public Class bindISemanticHighlightingCalculator() { - return CftLanguageSemanticHighlightingCalculator.class; - } - - public CftLanguageUiModule(final AbstractUIPlugin plugin) { - super(plugin); - } -} diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/contentassist/.CftLanguageProposalProvider.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/contentassist/.CftLanguageProposalProvider.xtendbin deleted file mode 100644 index e89abd97..00000000 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/contentassist/.CftLanguageProposalProvider.xtendbin and /dev/null differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/contentassist/.gitignore b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/contentassist/.gitignore deleted file mode 100644 index be23301b..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/contentassist/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -/.CftLanguageProposalProvider.java._trace -/.CftLanguageProposalProvider.xtendbin -/CftLanguageProposalProvider.java diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/contentassist/CftLanguageProposalProvider.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/contentassist/CftLanguageProposalProvider.java deleted file mode 100644 index 0d61f5be..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/contentassist/CftLanguageProposalProvider.java +++ /dev/null @@ -1,14 +0,0 @@ -/** - * generated by Xtext 2.16.0 - */ -package hu.bme.mit.inf.dslreasoner.faulttree.components.ui.contentassist; - -import hu.bme.mit.inf.dslreasoner.faulttree.components.ui.contentassist.AbstractCftLanguageProposalProvider; - -/** - * See https://www.eclipse.org/Xtext/documentation/304_ide_concepts.html#content-assist - * on how to customize the content assistant. - */ -@SuppressWarnings("all") -public class CftLanguageProposalProvider extends AbstractCftLanguageProposalProvider { -} diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/labeling/.CftLanguageDescriptionLabelProvider.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/labeling/.CftLanguageDescriptionLabelProvider.xtendbin deleted file mode 100644 index c2485146..00000000 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/labeling/.CftLanguageDescriptionLabelProvider.xtendbin and /dev/null differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/labeling/.CftLanguageLabelProvider.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/labeling/.CftLanguageLabelProvider.xtendbin deleted file mode 100644 index cdef3946..00000000 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/labeling/.CftLanguageLabelProvider.xtendbin and /dev/null differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/labeling/.gitignore b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/labeling/.gitignore deleted file mode 100644 index c75af38b..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/labeling/.gitignore +++ /dev/null @@ -1,6 +0,0 @@ -/.CftLanguageDescriptionLabelProvider.java._trace -/.CftLanguageLabelProvider.java._trace -/.CftLanguageDescriptionLabelProvider.xtendbin -/.CftLanguageLabelProvider.xtendbin -/CftLanguageDescriptionLabelProvider.java -/CftLanguageLabelProvider.java diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/labeling/CftLanguageDescriptionLabelProvider.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/labeling/CftLanguageDescriptionLabelProvider.java deleted file mode 100644 index f38d3fb5..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/labeling/CftLanguageDescriptionLabelProvider.java +++ /dev/null @@ -1,15 +0,0 @@ -/** - * generated by Xtext 2.16.0 - */ -package hu.bme.mit.inf.dslreasoner.faulttree.components.ui.labeling; - -import org.eclipse.xtext.ui.label.DefaultDescriptionLabelProvider; - -/** - * Provides labels for IEObjectDescriptions and IResourceDescriptions. - * - * See https://www.eclipse.org/Xtext/documentation/304_ide_concepts.html#label-provider - */ -@SuppressWarnings("all") -public class CftLanguageDescriptionLabelProvider extends DefaultDescriptionLabelProvider { -} diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/labeling/CftLanguageLabelProvider.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/labeling/CftLanguageLabelProvider.java deleted file mode 100644 index 103bb114..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/labeling/CftLanguageLabelProvider.java +++ /dev/null @@ -1,32 +0,0 @@ -/** - * generated by Xtext 2.16.0 - */ -package hu.bme.mit.inf.dslreasoner.faulttree.components.ui.labeling; - -import com.google.inject.Inject; -import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingDefinition; -import org.eclipse.emf.edit.ui.provider.AdapterFactoryLabelProvider; -import org.eclipse.viatra.query.patternlanguage.emf.vql.Pattern; -import org.eclipse.xtext.ui.label.DefaultEObjectLabelProvider; - -/** - * Provides labels for EObjects. - * - * See https://www.eclipse.org/Xtext/documentation/304_ide_concepts.html#label-provider - */ -@SuppressWarnings("all") -public class CftLanguageLabelProvider extends DefaultEObjectLabelProvider { - @Inject - public CftLanguageLabelProvider(final AdapterFactoryLabelProvider delegate) { - super(delegate); - } - - public String text(final MappingDefinition mappingDefinition) { - Pattern _pattern = mappingDefinition.getPattern(); - String _name = null; - if (_pattern!=null) { - _name=_pattern.getName(); - } - return _name; - } -} diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/outline/.CftLanguageOutlineTreeProvider.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/outline/.CftLanguageOutlineTreeProvider.xtendbin deleted file mode 100644 index 04b65373..00000000 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/outline/.CftLanguageOutlineTreeProvider.xtendbin and /dev/null differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/outline/.gitignore b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/outline/.gitignore deleted file mode 100644 index 61ad3c3f..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/outline/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -/.CftLanguageOutlineTreeProvider.java._trace -/.CftLanguageOutlineTreeProvider.xtendbin -/CftLanguageOutlineTreeProvider.java diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/outline/CftLanguageOutlineTreeProvider.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/outline/CftLanguageOutlineTreeProvider.java deleted file mode 100644 index b8da3d93..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/outline/CftLanguageOutlineTreeProvider.java +++ /dev/null @@ -1,24 +0,0 @@ -/** - * generated by Xtext 2.16.0 - */ -package hu.bme.mit.inf.dslreasoner.faulttree.components.ui.outline; - -import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingDefinition; -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.EventDefinition; -import org.eclipse.xtext.ui.editor.outline.impl.DefaultOutlineTreeProvider; - -/** - * Customization of the default outline structure. - * - * See https://www.eclipse.org/Xtext/documentation/310_eclipse_support.html#outline - */ -@SuppressWarnings("all") -public class CftLanguageOutlineTreeProvider extends DefaultOutlineTreeProvider { - public boolean _isLeaf(final EventDefinition eventDefinition) { - return true; - } - - public boolean _isLeaf(final MappingDefinition mappingDefinition) { - return true; - } -} diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/quickfix/.CftLanguageQuickfixProvider.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/quickfix/.CftLanguageQuickfixProvider.xtendbin deleted file mode 100644 index 13419ed3..00000000 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/quickfix/.CftLanguageQuickfixProvider.xtendbin and /dev/null differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/quickfix/.gitignore b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/quickfix/.gitignore deleted file mode 100644 index e9319b3b..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/quickfix/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -/.CftLanguageQuickfixProvider.java._trace -/.CftLanguageQuickfixProvider.xtendbin -/CftLanguageQuickfixProvider.java diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/quickfix/CftLanguageQuickfixProvider.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/quickfix/CftLanguageQuickfixProvider.java deleted file mode 100644 index 361a00ca..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/quickfix/CftLanguageQuickfixProvider.java +++ /dev/null @@ -1,15 +0,0 @@ -/** - * generated by Xtext 2.16.0 - */ -package hu.bme.mit.inf.dslreasoner.faulttree.components.ui.quickfix; - -import org.eclipse.xtext.ui.editor.quickfix.DefaultQuickfixProvider; - -/** - * Custom quickfixes. - * - * See https://www.eclipse.org/Xtext/documentation/310_eclipse_support.html#quick-fixes - */ -@SuppressWarnings("all") -public class CftLanguageQuickfixProvider extends DefaultQuickfixProvider { -} diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/syntaxcoloring/.CftLanguageSemanticHighlightingCalculator.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/syntaxcoloring/.CftLanguageSemanticHighlightingCalculator.xtendbin deleted file mode 100644 index 42bf1c75..00000000 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/syntaxcoloring/.CftLanguageSemanticHighlightingCalculator.xtendbin and /dev/null differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/syntaxcoloring/.CftLanguageTokenToAttributeIdMapper.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/syntaxcoloring/.CftLanguageTokenToAttributeIdMapper.xtendbin deleted file mode 100644 index 09c27dfe..00000000 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/syntaxcoloring/.CftLanguageTokenToAttributeIdMapper.xtendbin and /dev/null differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/syntaxcoloring/.gitignore b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/syntaxcoloring/.gitignore deleted file mode 100644 index e1b01d74..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/syntaxcoloring/.gitignore +++ /dev/null @@ -1,6 +0,0 @@ -/.CftLanguageSemanticHighlightingCalculator.java._trace -/.CftLanguageTokenToAttributeIdMapper.java._trace -/.CftLanguageSemanticHighlightingCalculator.xtendbin -/.CftLanguageTokenToAttributeIdMapper.xtendbin -/CftLanguageSemanticHighlightingCalculator.java -/CftLanguageTokenToAttributeIdMapper.java diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/syntaxcoloring/CftLanguageSemanticHighlightingCalculator.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/syntaxcoloring/CftLanguageSemanticHighlightingCalculator.java deleted file mode 100644 index 268faba3..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/syntaxcoloring/CftLanguageSemanticHighlightingCalculator.java +++ /dev/null @@ -1,38 +0,0 @@ -package hu.bme.mit.inf.dslreasoner.faulttree.components.ui.syntaxcoloring; - -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage; -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.KOfMGateDefinition; -import java.util.Arrays; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.xtext.ide.editor.syntaxcoloring.DefaultSemanticHighlightingCalculator; -import org.eclipse.xtext.ide.editor.syntaxcoloring.IHighlightedPositionAcceptor; -import org.eclipse.xtext.ui.editor.syntaxcoloring.DefaultHighlightingConfiguration; -import org.eclipse.xtext.util.CancelIndicator; - -@SuppressWarnings("all") -public class CftLanguageSemanticHighlightingCalculator extends DefaultSemanticHighlightingCalculator { - protected boolean _highlightElement(final KOfMGateDefinition gate, final IHighlightedPositionAcceptor acceptor, final CancelIndicator cancelIndicator) { - boolean _xblockexpression = false; - { - this.highlightFeature(acceptor, gate, CftPackage.Literals.KOF_MGATE_DEFINITION__K, DefaultHighlightingConfiguration.KEYWORD_ID); - this.highlightFeature(acceptor, gate, CftPackage.Literals.KOF_MGATE_DEFINITION__M, DefaultHighlightingConfiguration.KEYWORD_ID); - _xblockexpression = false; - } - return _xblockexpression; - } - - protected boolean _highlightElement(final EObject eObject, final IHighlightedPositionAcceptor acceptor, final CancelIndicator cancelIndicator) { - return super.highlightElement(eObject, acceptor, cancelIndicator); - } - - protected boolean highlightElement(final EObject gate, final IHighlightedPositionAcceptor acceptor, final CancelIndicator cancelIndicator) { - if (gate instanceof KOfMGateDefinition) { - return _highlightElement((KOfMGateDefinition)gate, acceptor, cancelIndicator); - } else if (gate != null) { - return _highlightElement(gate, acceptor, cancelIndicator); - } else { - throw new IllegalArgumentException("Unhandled parameter types: " + - Arrays.asList(gate, acceptor, cancelIndicator).toString()); - } - } -} diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/syntaxcoloring/CftLanguageTokenToAttributeIdMapper.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/syntaxcoloring/CftLanguageTokenToAttributeIdMapper.java deleted file mode 100644 index 9ad4afda..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/syntaxcoloring/CftLanguageTokenToAttributeIdMapper.java +++ /dev/null @@ -1,25 +0,0 @@ -package hu.bme.mit.inf.dslreasoner.faulttree.components.ui.syntaxcoloring; - -import org.eclipse.xtext.ide.editor.syntaxcoloring.DefaultAntlrTokenToAttributeIdMapper; -import org.eclipse.xtext.ide.editor.syntaxcoloring.HighlightingStyles; - -@SuppressWarnings("all") -public class CftLanguageTokenToAttributeIdMapper extends DefaultAntlrTokenToAttributeIdMapper { - @Override - protected String calculateId(final String tokenName, final int tokenType) { - String _switchResult = null; - if (tokenName != null) { - switch (tokenName) { - case "RULE_T_DOUBLE": - _switchResult = HighlightingStyles.NUMBER_ID; - break; - default: - _switchResult = super.calculateId(tokenName, tokenType); - break; - } - } else { - _switchResult = super.calculateId(tokenName, tokenType); - } - return _switchResult; - } -} diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/.classpath b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/.classpath deleted file mode 100644 index 9081d4f7..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/.classpath +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/.gitignore b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/.gitignore deleted file mode 100644 index ae3c1726..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/.gitignore +++ /dev/null @@ -1 +0,0 @@ -/bin/ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/.launch/Generate CftLanguage (cft) Language Infrastructure.launch b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/.launch/Generate CftLanguage (cft) Language Infrastructure.launch deleted file mode 100644 index 25217aa6..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/.launch/Generate CftLanguage (cft) Language Infrastructure.launch +++ /dev/null @@ -1,18 +0,0 @@ - - - - - - - - - - - - - - - - - - diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/.project b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/.project deleted file mode 100644 index eb054def..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/.project +++ /dev/null @@ -1,34 +0,0 @@ - - - hu.bme.mit.inf.dslreasoner.faulttree.components - - - - - - org.eclipse.xtext.ui.shared.xtextBuilder - - - - - org.eclipse.jdt.core.javabuilder - - - - - org.eclipse.pde.ManifestBuilder - - - - - org.eclipse.pde.SchemaBuilder - - - - - - org.eclipse.xtext.ui.shared.xtextNature - org.eclipse.jdt.core.javanature - org.eclipse.pde.PluginNature - - diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/.settings/org.eclipse.core.resources.prefs b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/.settings/org.eclipse.core.resources.prefs deleted file mode 100644 index 99f26c02..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/.settings/org.eclipse.core.resources.prefs +++ /dev/null @@ -1,2 +0,0 @@ -eclipse.preferences.version=1 -encoding/=UTF-8 diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/.settings/org.eclipse.jdt.core.prefs b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/.settings/org.eclipse.jdt.core.prefs deleted file mode 100644 index 0c68a61d..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/.settings/org.eclipse.jdt.core.prefs +++ /dev/null @@ -1,7 +0,0 @@ -eclipse.preferences.version=1 -org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled -org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8 -org.eclipse.jdt.core.compiler.compliance=1.8 -org.eclipse.jdt.core.compiler.problem.assertIdentifier=error -org.eclipse.jdt.core.compiler.problem.enumIdentifier=error -org.eclipse.jdt.core.compiler.source=1.8 diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/META-INF/MANIFEST.MF b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/META-INF/MANIFEST.MF deleted file mode 100644 index 8511add4..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/META-INF/MANIFEST.MF +++ /dev/null @@ -1,32 +0,0 @@ -Manifest-Version: 1.0 -Automatic-Module-Name: hu.bme.mit.inf.dslreasoner.faulttree.components -Bundle-ManifestVersion: 2 -Bundle-Name: hu.bme.mit.inf.dslreasoner.faulttree.components -Bundle-Vendor: My Company -Bundle-Version: 1.0.0.qualifier -Bundle-SymbolicName: hu.bme.mit.inf.dslreasoner.faulttree.components; singleton:=true -Bundle-ActivationPolicy: lazy -Require-Bundle: org.eclipse.xtext, - org.eclipse.xtext.xbase, - org.eclipse.equinox.common;bundle-version="3.5.0", - org.eclipse.emf.ecore, - org.eclipse.xtext.xbase.lib;bundle-version="2.14.0", - org.eclipse.xtext.util, - org.eclipse.emf.common, - org.eclipse.xtend.lib;bundle-version="2.14.0", - org.antlr.runtime;bundle-version="[3.2.0,3.2.1)", - org.eclipse.viatra.query.patternlanguage.emf;visibility:=reexport, - hu.bme.mit.inf.dslreasoner.faulttree.model;visibility:=reexport -Bundle-RequiredExecutionEnvironment: JavaSE-1.8 -Export-Package: hu.bme.mit.inf.dslreasoner.faulttree.components, - hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage, - hu.bme.mit.inf.dslreasoner.faulttree.components.serializer, - hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.util, - hu.bme.mit.inf.dslreasoner.faulttree.components.scoping, - hu.bme.mit.inf.dslreasoner.faulttree.components.parser.antlr.internal, - hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl, - hu.bme.mit.inf.dslreasoner.faulttree.components.generator, - hu.bme.mit.inf.dslreasoner.faulttree.components.validation, - hu.bme.mit.inf.dslreasoner.faulttree.components.parser.antlr, - hu.bme.mit.inf.dslreasoner.faulttree.components.services -Import-Package: org.apache.log4j diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/build.properties b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/build.properties deleted file mode 100644 index 18d540bf..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/build.properties +++ /dev/null @@ -1,20 +0,0 @@ -source.. = src/,\ - src-gen/,\ - xtend-gen/ -bin.includes = model/generated/,\ - .,\ - META-INF/,\ - plugin.xml -bin.excludes = **/*.mwe2,\ - **/*.xtend -additional.bundles = org.eclipse.xtext.xbase,\ - org.eclipse.xtext.common.types,\ - org.eclipse.xtext.xtext.generator,\ - org.eclipse.emf.codegen.ecore,\ - org.eclipse.emf.mwe.utils,\ - org.eclipse.emf.mwe2.launch,\ - org.eclipse.emf.mwe2.lib,\ - org.objectweb.asm,\ - org.apache.commons.logging,\ - org.apache.log4j,\ - com.ibm.icu diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/model/generated/CftLanguage.ecore b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/model/generated/CftLanguage.ecore deleted file mode 100644 index ecfaa84b..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/model/generated/CftLanguage.ecore +++ /dev/null @@ -1,60 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/model/generated/CftLanguage.genmodel b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/model/generated/CftLanguage.genmodel deleted file mode 100644 index 1b857035..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/model/generated/CftLanguage.genmodel +++ /dev/null @@ -1,53 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/plugin.xml b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/plugin.xml deleted file mode 100644 index 698af7de..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/plugin.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/AbstractCftLanguageRuntimeModule.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/AbstractCftLanguageRuntimeModule.java deleted file mode 100644 index bdec0d5b..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/AbstractCftLanguageRuntimeModule.java +++ /dev/null @@ -1,208 +0,0 @@ -/* - * generated by Xtext 2.16.0 - */ -package hu.bme.mit.inf.dslreasoner.faulttree.components; - -import com.google.inject.Binder; -import com.google.inject.Provider; -import com.google.inject.name.Names; -import hu.bme.mit.inf.dslreasoner.faulttree.components.generator.CftLanguageGenerator; -import hu.bme.mit.inf.dslreasoner.faulttree.components.parser.antlr.CftLanguageAntlrTokenFileProvider; -import hu.bme.mit.inf.dslreasoner.faulttree.components.parser.antlr.CftLanguageParser; -import hu.bme.mit.inf.dslreasoner.faulttree.components.parser.antlr.internal.InternalCftLanguageLexer; -import hu.bme.mit.inf.dslreasoner.faulttree.components.scoping.CftLanguageScopeProvider; -import hu.bme.mit.inf.dslreasoner.faulttree.components.serializer.CftLanguageSemanticSequencer; -import hu.bme.mit.inf.dslreasoner.faulttree.components.serializer.CftLanguageSyntacticSequencer; -import hu.bme.mit.inf.dslreasoner.faulttree.components.services.CftLanguageGrammarAccess; -import hu.bme.mit.inf.dslreasoner.faulttree.components.validation.CftLanguageConfigurableIssueCodesProvider; -import hu.bme.mit.inf.dslreasoner.faulttree.components.validation.CftLanguageValidator; -import java.util.Properties; -import org.eclipse.xtext.Constants; -import org.eclipse.xtext.IGrammarAccess; -import org.eclipse.xtext.generator.IGenerator2; -import org.eclipse.xtext.naming.DefaultDeclarativeQualifiedNameProvider; -import org.eclipse.xtext.naming.IQualifiedNameProvider; -import org.eclipse.xtext.parser.IParser; -import org.eclipse.xtext.parser.ITokenToStringConverter; -import org.eclipse.xtext.parser.antlr.AntlrTokenDefProvider; -import org.eclipse.xtext.parser.antlr.AntlrTokenToStringConverter; -import org.eclipse.xtext.parser.antlr.IAntlrTokenFileProvider; -import org.eclipse.xtext.parser.antlr.ITokenDefProvider; -import org.eclipse.xtext.parser.antlr.IUnorderedGroupHelper; -import org.eclipse.xtext.parser.antlr.Lexer; -import org.eclipse.xtext.parser.antlr.LexerBindings; -import org.eclipse.xtext.parser.antlr.LexerProvider; -import org.eclipse.xtext.parser.antlr.UnorderedGroupHelper; -import org.eclipse.xtext.resource.IContainer; -import org.eclipse.xtext.resource.IResourceDescriptions; -import org.eclipse.xtext.resource.containers.IAllContainersState; -import org.eclipse.xtext.resource.containers.ResourceSetBasedAllContainersStateProvider; -import org.eclipse.xtext.resource.containers.StateBasedContainerManager; -import org.eclipse.xtext.resource.impl.ResourceDescriptionsProvider; -import org.eclipse.xtext.resource.impl.ResourceSetBasedResourceDescriptions; -import org.eclipse.xtext.scoping.IGlobalScopeProvider; -import org.eclipse.xtext.scoping.IScopeProvider; -import org.eclipse.xtext.scoping.IgnoreCaseLinking; -import org.eclipse.xtext.scoping.impl.AbstractDeclarativeScopeProvider; -import org.eclipse.xtext.scoping.impl.DefaultGlobalScopeProvider; -import org.eclipse.xtext.scoping.impl.ImportedNamespaceAwareLocalScopeProvider; -import org.eclipse.xtext.serializer.ISerializer; -import org.eclipse.xtext.serializer.impl.Serializer; -import org.eclipse.xtext.serializer.sequencer.ISemanticSequencer; -import org.eclipse.xtext.serializer.sequencer.ISyntacticSequencer; -import org.eclipse.xtext.service.DefaultRuntimeModule; -import org.eclipse.xtext.service.SingletonBinding; -import org.eclipse.xtext.validation.ConfigurableIssueCodesProvider; - -/** - * Manual modifications go to {@link CftLanguageRuntimeModule}. - */ -@SuppressWarnings("all") -public abstract class AbstractCftLanguageRuntimeModule extends DefaultRuntimeModule { - - protected Properties properties = null; - - @Override - public void configure(Binder binder) { - properties = tryBindProperties(binder, "hu/bme/mit/inf/dslreasoner/faulttree/components/CftLanguage.properties"); - super.configure(binder); - } - - public void configureLanguageName(Binder binder) { - binder.bind(String.class).annotatedWith(Names.named(Constants.LANGUAGE_NAME)).toInstance("hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage"); - } - - public void configureFileExtensions(Binder binder) { - if (properties == null || properties.getProperty(Constants.FILE_EXTENSIONS) == null) - binder.bind(String.class).annotatedWith(Names.named(Constants.FILE_EXTENSIONS)).toInstance("cft"); - } - - // contributed by org.eclipse.xtext.xtext.generator.grammarAccess.GrammarAccessFragment2 - public ClassLoader bindClassLoaderToInstance() { - return getClass().getClassLoader(); - } - - // contributed by org.eclipse.xtext.xtext.generator.grammarAccess.GrammarAccessFragment2 - public Class bindIGrammarAccess() { - return CftLanguageGrammarAccess.class; - } - - // contributed by org.eclipse.xtext.xtext.generator.serializer.SerializerFragment2 - public Class bindISemanticSequencer() { - return CftLanguageSemanticSequencer.class; - } - - // contributed by org.eclipse.xtext.xtext.generator.serializer.SerializerFragment2 - public Class bindISyntacticSequencer() { - return CftLanguageSyntacticSequencer.class; - } - - // contributed by org.eclipse.xtext.xtext.generator.serializer.SerializerFragment2 - public Class bindISerializer() { - return Serializer.class; - } - - // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 - public Class bindIParser() { - return CftLanguageParser.class; - } - - // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 - public Class bindITokenToStringConverter() { - return AntlrTokenToStringConverter.class; - } - - // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 - public Class bindIAntlrTokenFileProvider() { - return CftLanguageAntlrTokenFileProvider.class; - } - - // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 - public Class bindLexer() { - return InternalCftLanguageLexer.class; - } - - // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 - public Class bindITokenDefProvider() { - return AntlrTokenDefProvider.class; - } - - // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 - public Provider provideInternalCftLanguageLexer() { - return LexerProvider.create(InternalCftLanguageLexer.class); - } - - // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 - public void configureRuntimeLexer(Binder binder) { - binder.bind(Lexer.class) - .annotatedWith(Names.named(LexerBindings.RUNTIME)) - .to(InternalCftLanguageLexer.class); - } - - // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 - public Class bindIUnorderedGroupHelper() { - return UnorderedGroupHelper.class; - } - - // contributed by org.eclipse.xtext.xtext.generator.validation.ValidatorFragment2 - @SingletonBinding(eager=true) - public Class bindCftLanguageValidator() { - return CftLanguageValidator.class; - } - - // contributed by org.eclipse.xtext.xtext.generator.validation.ValidatorFragment2 - public Class bindConfigurableIssueCodesProvider() { - return CftLanguageConfigurableIssueCodesProvider.class; - } - - // contributed by org.eclipse.xtext.xtext.generator.scoping.ImportNamespacesScopingFragment2 - public Class bindIScopeProvider() { - return CftLanguageScopeProvider.class; - } - - // contributed by org.eclipse.xtext.xtext.generator.scoping.ImportNamespacesScopingFragment2 - public void configureIScopeProviderDelegate(Binder binder) { - binder.bind(IScopeProvider.class).annotatedWith(Names.named(AbstractDeclarativeScopeProvider.NAMED_DELEGATE)).to(ImportedNamespaceAwareLocalScopeProvider.class); - } - - // contributed by org.eclipse.xtext.xtext.generator.scoping.ImportNamespacesScopingFragment2 - public Class bindIGlobalScopeProvider() { - return DefaultGlobalScopeProvider.class; - } - - // contributed by org.eclipse.xtext.xtext.generator.scoping.ImportNamespacesScopingFragment2 - public void configureIgnoreCaseLinking(Binder binder) { - binder.bindConstant().annotatedWith(IgnoreCaseLinking.class).to(false); - } - - // contributed by org.eclipse.xtext.xtext.generator.exporting.QualifiedNamesFragment2 - public Class bindIQualifiedNameProvider() { - return DefaultDeclarativeQualifiedNameProvider.class; - } - - // contributed by org.eclipse.xtext.xtext.generator.builder.BuilderIntegrationFragment2 - public Class bindIContainer$Manager() { - return StateBasedContainerManager.class; - } - - // contributed by org.eclipse.xtext.xtext.generator.builder.BuilderIntegrationFragment2 - public Class bindIAllContainersState$Provider() { - return ResourceSetBasedAllContainersStateProvider.class; - } - - // contributed by org.eclipse.xtext.xtext.generator.builder.BuilderIntegrationFragment2 - public void configureIResourceDescriptions(Binder binder) { - binder.bind(IResourceDescriptions.class).to(ResourceSetBasedResourceDescriptions.class); - } - - // contributed by org.eclipse.xtext.xtext.generator.builder.BuilderIntegrationFragment2 - public void configureIResourceDescriptionsPersisted(Binder binder) { - binder.bind(IResourceDescriptions.class).annotatedWith(Names.named(ResourceDescriptionsProvider.PERSISTED_DESCRIPTIONS)).to(ResourceSetBasedResourceDescriptions.class); - } - - // contributed by org.eclipse.xtext.xtext.generator.generator.GeneratorFragment2 - public Class bindIGenerator2() { - return CftLanguageGenerator.class; - } - -} diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/CftLanguage.xtextbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/CftLanguage.xtextbin deleted file mode 100644 index eb879e93..00000000 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/CftLanguage.xtextbin and /dev/null differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/CftLanguageStandaloneSetupGenerated.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/CftLanguageStandaloneSetupGenerated.java deleted file mode 100644 index 75f38b14..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/CftLanguageStandaloneSetupGenerated.java +++ /dev/null @@ -1,42 +0,0 @@ -/* - * generated by Xtext 2.16.0 - */ -package hu.bme.mit.inf.dslreasoner.faulttree.components; - -import com.google.inject.Guice; -import com.google.inject.Injector; -import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage; -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.emf.ecore.resource.Resource; -import org.eclipse.xtext.ISetup; -import org.eclipse.xtext.common.TerminalsStandaloneSetup; -import org.eclipse.xtext.resource.IResourceFactory; -import org.eclipse.xtext.resource.IResourceServiceProvider; - -@SuppressWarnings("all") -public class CftLanguageStandaloneSetupGenerated implements ISetup { - - @Override - public Injector createInjectorAndDoEMFRegistration() { - TerminalsStandaloneSetup.doSetup(); - - Injector injector = createInjector(); - register(injector); - return injector; - } - - public Injector createInjector() { - return Guice.createInjector(new CftLanguageRuntimeModule()); - } - - public void register(Injector injector) { - if (!EPackage.Registry.INSTANCE.containsKey("http://www.bme.hu/mit/inf/dslreasoner/faulttree/components/CftLanguage")) { - EPackage.Registry.INSTANCE.put("http://www.bme.hu/mit/inf/dslreasoner/faulttree/components/CftLanguage", CftLanguagePackage.eINSTANCE); - } - IResourceFactory resourceFactory = injector.getInstance(IResourceFactory.class); - IResourceServiceProvider serviceProvider = injector.getInstance(IResourceServiceProvider.class); - - Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap().put("cft", resourceFactory); - IResourceServiceProvider.Registry.INSTANCE.getExtensionToFactoryMap().put("cft", serviceProvider); - } -} diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/Assignment.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/Assignment.java deleted file mode 100644 index 13c9d6c2..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/Assignment.java +++ /dev/null @@ -1,106 +0,0 @@ -/** - * generated by Xtext 2.16.0 - */ -package hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage; - -import org.eclipse.emf.ecore.EObject; - -/** - * - * A representation of the model object 'Assignment'. - * - * - *

    - * The following features are supported: - *

    - *
      - *
    • {@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.Assignment#getInput Input}
    • - *
    • {@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.Assignment#isMultiple Multiple}
    • - *
    • {@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.Assignment#getOutput Output}
    • - *
    - * - * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage#getAssignment() - * @model - * @generated - */ -public interface Assignment extends EObject -{ - /** - * Returns the value of the 'Input' containment reference. - * - *

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

    - * - * @return the value of the 'Input' containment reference. - * @see #setInput(EventReference) - * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage#getAssignment_Input() - * @model containment="true" - * @generated - */ - EventReference getInput(); - - /** - * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.Assignment#getInput Input}' containment reference. - * - * - * @param value the new value of the 'Input' containment reference. - * @see #getInput() - * @generated - */ - void setInput(EventReference value); - - /** - * Returns the value of the 'Multiple' attribute. - * - *

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

    - * - * @return the value of the 'Multiple' attribute. - * @see #setMultiple(boolean) - * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage#getAssignment_Multiple() - * @model - * @generated - */ - boolean isMultiple(); - - /** - * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.Assignment#isMultiple Multiple}' attribute. - * - * - * @param value the new value of the 'Multiple' attribute. - * @see #isMultiple() - * @generated - */ - void setMultiple(boolean value); - - /** - * Returns the value of the 'Output' containment reference. - * - *

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

    - * - * @return the value of the 'Output' containment reference. - * @see #setOutput(EventReference) - * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage#getAssignment_Output() - * @model containment="true" - * @generated - */ - EventReference getOutput(); - - /** - * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.Assignment#getOutput Output}' containment reference. - * - * - * @param value the new value of the 'Output' containment reference. - * @see #getOutput() - * @generated - */ - void setOutput(EventReference value); - -} // Assignment diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/CftLanguageFactory.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/CftLanguageFactory.java deleted file mode 100644 index 3420d578..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/CftLanguageFactory.java +++ /dev/null @@ -1,125 +0,0 @@ -/** - * generated by Xtext 2.16.0 - */ -package hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage; - -import org.eclipse.emf.ecore.EFactory; - -/** - * - * The Factory for the model. - * It provides a create method for each non-abstract class of the model. - * - * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage - * @generated - */ -public interface CftLanguageFactory extends EFactory -{ - /** - * The singleton instance of the factory. - * - * - * @generated - */ - CftLanguageFactory eINSTANCE = hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.CftLanguageFactoryImpl.init(); - - /** - * Returns a new object of class 'Cft Model'. - * - * - * @return a new object of class 'Cft Model'. - * @generated - */ - CftModel createCftModel(); - - /** - * Returns a new object of class 'Import Declaration'. - * - * - * @return a new object of class 'Import Declaration'. - * @generated - */ - ImportDeclaration createImportDeclaration(); - - /** - * Returns a new object of class 'Transformation Definition'. - * - * - * @return a new object of class 'Transformation Definition'. - * @generated - */ - TransformationDefinition createTransformationDefinition(); - - /** - * Returns a new object of class 'Mapping Definition'. - * - * - * @return a new object of class 'Mapping Definition'. - * @generated - */ - MappingDefinition createMappingDefinition(); - - /** - * Returns a new object of class 'Mapping Parameter'. - * - * - * @return a new object of class 'Mapping Parameter'. - * @generated - */ - MappingParameter createMappingParameter(); - - /** - * Returns a new object of class 'Lookup Definition'. - * - * - * @return a new object of class 'Lookup Definition'. - * @generated - */ - LookupDefinition createLookupDefinition(); - - /** - * Returns a new object of class 'Variable'. - * - * - * @return a new object of class 'Variable'. - * @generated - */ - Variable createVariable(); - - /** - * Returns a new object of class 'Assignment'. - * - * - * @return a new object of class 'Assignment'. - * @generated - */ - Assignment createAssignment(); - - /** - * Returns a new object of class 'Event Reference'. - * - * - * @return a new object of class 'Event Reference'. - * @generated - */ - EventReference createEventReference(); - - /** - * Returns a new object of class 'Component Instance'. - * - * - * @return a new object of class 'Component Instance'. - * @generated - */ - ComponentInstance createComponentInstance(); - - /** - * Returns the package supported by this factory. - * - * - * @return the package supported by this factory. - * @generated - */ - CftLanguagePackage getCftLanguagePackage(); - -} //CftLanguageFactory diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/CftLanguagePackage.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/CftLanguagePackage.java deleted file mode 100644 index 7aab46c2..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/CftLanguagePackage.java +++ /dev/null @@ -1,1138 +0,0 @@ -/** - * generated by Xtext 2.16.0 - */ -package hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage; - -import org.eclipse.emf.ecore.EAttribute; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.emf.ecore.EReference; - -/** - * - * The Package for the model. - * It contains accessors for the meta objects to represent - *
      - *
    • each class,
    • - *
    • each feature of each class,
    • - *
    • each enum,
    • - *
    • and each data type
    • - *
    - * - * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguageFactory - * @model kind="package" - * @generated - */ -public interface CftLanguagePackage extends EPackage -{ - /** - * The package name. - * - * - * @generated - */ - String eNAME = "cftLanguage"; - - /** - * The package namespace URI. - * - * - * @generated - */ - String eNS_URI = "http://www.bme.hu/mit/inf/dslreasoner/faulttree/components/CftLanguage"; - - /** - * The package namespace name. - * - * - * @generated - */ - String eNS_PREFIX = "cftLanguage"; - - /** - * The singleton instance of the package. - * - * - * @generated - */ - CftLanguagePackage eINSTANCE = hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.CftLanguagePackageImpl.init(); - - /** - * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.CftModelImpl Cft Model}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.CftModelImpl - * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.CftLanguagePackageImpl#getCftModel() - * @generated - */ - int CFT_MODEL = 0; - - /** - * The feature id for the 'Package Name' attribute. - * - * - * @generated - * @ordered - */ - int CFT_MODEL__PACKAGE_NAME = 0; - - /** - * The feature id for the 'Imports' containment reference list. - * - * - * @generated - * @ordered - */ - int CFT_MODEL__IMPORTS = 1; - - /** - * The feature id for the 'Component Definitions' containment reference list. - * - * - * @generated - * @ordered - */ - int CFT_MODEL__COMPONENT_DEFINITIONS = 2; - - /** - * The feature id for the 'Transformation Definitions' containment reference list. - * - * - * @generated - * @ordered - */ - int CFT_MODEL__TRANSFORMATION_DEFINITIONS = 3; - - /** - * The number of structural features of the 'Cft Model' class. - * - * - * @generated - * @ordered - */ - int CFT_MODEL_FEATURE_COUNT = 4; - - /** - * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.ImportDeclarationImpl Import Declaration}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.ImportDeclarationImpl - * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.CftLanguagePackageImpl#getImportDeclaration() - * @generated - */ - int IMPORT_DECLARATION = 1; - - /** - * The feature id for the 'Imported Namespace' attribute. - * - * - * @generated - * @ordered - */ - int IMPORT_DECLARATION__IMPORTED_NAMESPACE = 0; - - /** - * The number of structural features of the 'Import Declaration' class. - * - * - * @generated - * @ordered - */ - int IMPORT_DECLARATION_FEATURE_COUNT = 1; - - /** - * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.TransformationDefinitionImpl Transformation Definition}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.TransformationDefinitionImpl - * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.CftLanguagePackageImpl#getTransformationDefinition() - * @generated - */ - int TRANSFORMATION_DEFINITION = 2; - - /** - * The feature id for the 'Name' attribute. - * - * - * @generated - * @ordered - */ - int TRANSFORMATION_DEFINITION__NAME = 0; - - /** - * The feature id for the 'Mapping Definitions' containment reference list. - * - * - * @generated - * @ordered - */ - int TRANSFORMATION_DEFINITION__MAPPING_DEFINITIONS = 1; - - /** - * The number of structural features of the 'Transformation Definition' class. - * - * - * @generated - * @ordered - */ - int TRANSFORMATION_DEFINITION_FEATURE_COUNT = 2; - - /** - * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.MappingDefinitionImpl Mapping Definition}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.MappingDefinitionImpl - * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.CftLanguagePackageImpl#getMappingDefinition() - * @generated - */ - int MAPPING_DEFINITION = 3; - - /** - * The feature id for the 'Top Level' attribute. - * - * - * @generated - * @ordered - */ - int MAPPING_DEFINITION__TOP_LEVEL = 0; - - /** - * The feature id for the 'Pattern' reference. - * - * - * @generated - * @ordered - */ - int MAPPING_DEFINITION__PATTERN = 1; - - /** - * The feature id for the 'Parameters' containment reference list. - * - * - * @generated - * @ordered - */ - int MAPPING_DEFINITION__PARAMETERS = 2; - - /** - * The feature id for the 'Component Instance' containment reference. - * - * - * @generated - * @ordered - */ - int MAPPING_DEFINITION__COMPONENT_INSTANCE = 3; - - /** - * The feature id for the 'Lookup Definitions' containment reference list. - * - * - * @generated - * @ordered - */ - int MAPPING_DEFINITION__LOOKUP_DEFINITIONS = 4; - - /** - * The feature id for the 'Assignments' containment reference list. - * - * - * @generated - * @ordered - */ - int MAPPING_DEFINITION__ASSIGNMENTS = 5; - - /** - * The number of structural features of the 'Mapping Definition' class. - * - * - * @generated - * @ordered - */ - int MAPPING_DEFINITION_FEATURE_COUNT = 6; - - /** - * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.MappingParameterImpl Mapping Parameter}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.MappingParameterImpl - * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.CftLanguagePackageImpl#getMappingParameter() - * @generated - */ - int MAPPING_PARAMETER = 4; - - /** - * The feature id for the 'Name' attribute. - * - * - * @generated - * @ordered - */ - int MAPPING_PARAMETER__NAME = 0; - - /** - * The number of structural features of the 'Mapping Parameter' class. - * - * - * @generated - * @ordered - */ - int MAPPING_PARAMETER_FEATURE_COUNT = 1; - - /** - * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.VariableImpl Variable}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.VariableImpl - * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.CftLanguagePackageImpl#getVariable() - * @generated - */ - int VARIABLE = 6; - - /** - * The feature id for the 'Name' attribute. - * - * - * @generated - * @ordered - */ - int VARIABLE__NAME = 0; - - /** - * The number of structural features of the 'Variable' class. - * - * - * @generated - * @ordered - */ - int VARIABLE_FEATURE_COUNT = 1; - - /** - * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.LookupDefinitionImpl Lookup Definition}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.LookupDefinitionImpl - * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.CftLanguagePackageImpl#getLookupDefinition() - * @generated - */ - int LOOKUP_DEFINITION = 5; - - /** - * The feature id for the 'Name' attribute. - * - * - * @generated - * @ordered - */ - int LOOKUP_DEFINITION__NAME = VARIABLE__NAME; - - /** - * The feature id for the 'Mapping' reference. - * - * - * @generated - * @ordered - */ - int LOOKUP_DEFINITION__MAPPING = VARIABLE_FEATURE_COUNT + 0; - - /** - * The feature id for the 'Arguments' reference list. - * - * - * @generated - * @ordered - */ - int LOOKUP_DEFINITION__ARGUMENTS = VARIABLE_FEATURE_COUNT + 1; - - /** - * The number of structural features of the 'Lookup Definition' class. - * - * - * @generated - * @ordered - */ - int LOOKUP_DEFINITION_FEATURE_COUNT = VARIABLE_FEATURE_COUNT + 2; - - /** - * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.AssignmentImpl Assignment}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.AssignmentImpl - * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.CftLanguagePackageImpl#getAssignment() - * @generated - */ - int ASSIGNMENT = 7; - - /** - * The feature id for the 'Input' containment reference. - * - * - * @generated - * @ordered - */ - int ASSIGNMENT__INPUT = 0; - - /** - * The feature id for the 'Multiple' attribute. - * - * - * @generated - * @ordered - */ - int ASSIGNMENT__MULTIPLE = 1; - - /** - * The feature id for the 'Output' containment reference. - * - * - * @generated - * @ordered - */ - int ASSIGNMENT__OUTPUT = 2; - - /** - * The number of structural features of the 'Assignment' class. - * - * - * @generated - * @ordered - */ - int ASSIGNMENT_FEATURE_COUNT = 3; - - /** - * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.EventReferenceImpl Event Reference}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.EventReferenceImpl - * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.CftLanguagePackageImpl#getEventReference() - * @generated - */ - int EVENT_REFERENCE = 8; - - /** - * The feature id for the 'Component' reference. - * - * - * @generated - * @ordered - */ - int EVENT_REFERENCE__COMPONENT = 0; - - /** - * The feature id for the 'Event' reference. - * - * - * @generated - * @ordered - */ - int EVENT_REFERENCE__EVENT = 1; - - /** - * The number of structural features of the 'Event Reference' class. - * - * - * @generated - * @ordered - */ - int EVENT_REFERENCE_FEATURE_COUNT = 2; - - /** - * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.ComponentInstanceImpl Component Instance}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.ComponentInstanceImpl - * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.CftLanguagePackageImpl#getComponentInstance() - * @generated - */ - int COMPONENT_INSTANCE = 9; - - /** - * The feature id for the 'Name' attribute. - * - * - * @generated - * @ordered - */ - int COMPONENT_INSTANCE__NAME = VARIABLE__NAME; - - /** - * The feature id for the 'Component Type' reference. - * - * - * @generated - * @ordered - */ - int COMPONENT_INSTANCE__COMPONENT_TYPE = VARIABLE_FEATURE_COUNT + 0; - - /** - * The number of structural features of the 'Component Instance' class. - * - * - * @generated - * @ordered - */ - int COMPONENT_INSTANCE_FEATURE_COUNT = VARIABLE_FEATURE_COUNT + 1; - - - /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftModel Cft Model}'. - * - * - * @return the meta object for class 'Cft Model'. - * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftModel - * @generated - */ - EClass getCftModel(); - - /** - * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftModel#getPackageName Package Name}'. - * - * - * @return the meta object for the attribute 'Package Name'. - * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftModel#getPackageName() - * @see #getCftModel() - * @generated - */ - EAttribute getCftModel_PackageName(); - - /** - * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftModel#getImports Imports}'. - * - * - * @return the meta object for the containment reference list 'Imports'. - * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftModel#getImports() - * @see #getCftModel() - * @generated - */ - EReference getCftModel_Imports(); - - /** - * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftModel#getComponentDefinitions Component Definitions}'. - * - * - * @return the meta object for the containment reference list 'Component Definitions'. - * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftModel#getComponentDefinitions() - * @see #getCftModel() - * @generated - */ - EReference getCftModel_ComponentDefinitions(); - - /** - * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftModel#getTransformationDefinitions Transformation Definitions}'. - * - * - * @return the meta object for the containment reference list 'Transformation Definitions'. - * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftModel#getTransformationDefinitions() - * @see #getCftModel() - * @generated - */ - EReference getCftModel_TransformationDefinitions(); - - /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.ImportDeclaration Import Declaration}'. - * - * - * @return the meta object for class 'Import Declaration'. - * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.ImportDeclaration - * @generated - */ - EClass getImportDeclaration(); - - /** - * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.ImportDeclaration#getImportedNamespace Imported Namespace}'. - * - * - * @return the meta object for the attribute 'Imported Namespace'. - * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.ImportDeclaration#getImportedNamespace() - * @see #getImportDeclaration() - * @generated - */ - EAttribute getImportDeclaration_ImportedNamespace(); - - /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.TransformationDefinition Transformation Definition}'. - * - * - * @return the meta object for class 'Transformation Definition'. - * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.TransformationDefinition - * @generated - */ - EClass getTransformationDefinition(); - - /** - * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.TransformationDefinition#getName Name}'. - * - * - * @return the meta object for the attribute 'Name'. - * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.TransformationDefinition#getName() - * @see #getTransformationDefinition() - * @generated - */ - EAttribute getTransformationDefinition_Name(); - - /** - * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.TransformationDefinition#getMappingDefinitions Mapping Definitions}'. - * - * - * @return the meta object for the containment reference list 'Mapping Definitions'. - * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.TransformationDefinition#getMappingDefinitions() - * @see #getTransformationDefinition() - * @generated - */ - EReference getTransformationDefinition_MappingDefinitions(); - - /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingDefinition Mapping Definition}'. - * - * - * @return the meta object for class 'Mapping Definition'. - * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingDefinition - * @generated - */ - EClass getMappingDefinition(); - - /** - * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingDefinition#isTopLevel Top Level}'. - * - * - * @return the meta object for the attribute 'Top Level'. - * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingDefinition#isTopLevel() - * @see #getMappingDefinition() - * @generated - */ - EAttribute getMappingDefinition_TopLevel(); - - /** - * Returns the meta object for the reference '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingDefinition#getPattern Pattern}'. - * - * - * @return the meta object for the reference 'Pattern'. - * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingDefinition#getPattern() - * @see #getMappingDefinition() - * @generated - */ - EReference getMappingDefinition_Pattern(); - - /** - * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingDefinition#getParameters Parameters}'. - * - * - * @return the meta object for the containment reference list 'Parameters'. - * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingDefinition#getParameters() - * @see #getMappingDefinition() - * @generated - */ - EReference getMappingDefinition_Parameters(); - - /** - * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingDefinition#getComponentInstance Component Instance}'. - * - * - * @return the meta object for the containment reference 'Component Instance'. - * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingDefinition#getComponentInstance() - * @see #getMappingDefinition() - * @generated - */ - EReference getMappingDefinition_ComponentInstance(); - - /** - * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingDefinition#getLookupDefinitions Lookup Definitions}'. - * - * - * @return the meta object for the containment reference list 'Lookup Definitions'. - * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingDefinition#getLookupDefinitions() - * @see #getMappingDefinition() - * @generated - */ - EReference getMappingDefinition_LookupDefinitions(); - - /** - * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingDefinition#getAssignments Assignments}'. - * - * - * @return the meta object for the containment reference list 'Assignments'. - * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingDefinition#getAssignments() - * @see #getMappingDefinition() - * @generated - */ - EReference getMappingDefinition_Assignments(); - - /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingParameter Mapping Parameter}'. - * - * - * @return the meta object for class 'Mapping Parameter'. - * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingParameter - * @generated - */ - EClass getMappingParameter(); - - /** - * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingParameter#getName Name}'. - * - * - * @return the meta object for the attribute 'Name'. - * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingParameter#getName() - * @see #getMappingParameter() - * @generated - */ - EAttribute getMappingParameter_Name(); - - /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.LookupDefinition Lookup Definition}'. - * - * - * @return the meta object for class 'Lookup Definition'. - * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.LookupDefinition - * @generated - */ - EClass getLookupDefinition(); - - /** - * Returns the meta object for the reference '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.LookupDefinition#getMapping Mapping}'. - * - * - * @return the meta object for the reference 'Mapping'. - * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.LookupDefinition#getMapping() - * @see #getLookupDefinition() - * @generated - */ - EReference getLookupDefinition_Mapping(); - - /** - * Returns the meta object for the reference list '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.LookupDefinition#getArguments Arguments}'. - * - * - * @return the meta object for the reference list 'Arguments'. - * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.LookupDefinition#getArguments() - * @see #getLookupDefinition() - * @generated - */ - EReference getLookupDefinition_Arguments(); - - /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.Variable Variable}'. - * - * - * @return the meta object for class 'Variable'. - * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.Variable - * @generated - */ - EClass getVariable(); - - /** - * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.Variable#getName Name}'. - * - * - * @return the meta object for the attribute 'Name'. - * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.Variable#getName() - * @see #getVariable() - * @generated - */ - EAttribute getVariable_Name(); - - /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.Assignment Assignment}'. - * - * - * @return the meta object for class 'Assignment'. - * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.Assignment - * @generated - */ - EClass getAssignment(); - - /** - * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.Assignment#getInput Input}'. - * - * - * @return the meta object for the containment reference 'Input'. - * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.Assignment#getInput() - * @see #getAssignment() - * @generated - */ - EReference getAssignment_Input(); - - /** - * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.Assignment#isMultiple Multiple}'. - * - * - * @return the meta object for the attribute 'Multiple'. - * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.Assignment#isMultiple() - * @see #getAssignment() - * @generated - */ - EAttribute getAssignment_Multiple(); - - /** - * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.Assignment#getOutput Output}'. - * - * - * @return the meta object for the containment reference 'Output'. - * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.Assignment#getOutput() - * @see #getAssignment() - * @generated - */ - EReference getAssignment_Output(); - - /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.EventReference Event Reference}'. - * - * - * @return the meta object for class 'Event Reference'. - * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.EventReference - * @generated - */ - EClass getEventReference(); - - /** - * Returns the meta object for the reference '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.EventReference#getComponent Component}'. - * - * - * @return the meta object for the reference 'Component'. - * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.EventReference#getComponent() - * @see #getEventReference() - * @generated - */ - EReference getEventReference_Component(); - - /** - * Returns the meta object for the reference '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.EventReference#getEvent Event}'. - * - * - * @return the meta object for the reference 'Event'. - * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.EventReference#getEvent() - * @see #getEventReference() - * @generated - */ - EReference getEventReference_Event(); - - /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.ComponentInstance Component Instance}'. - * - * - * @return the meta object for class 'Component Instance'. - * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.ComponentInstance - * @generated - */ - EClass getComponentInstance(); - - /** - * Returns the meta object for the reference '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.ComponentInstance#getComponentType Component Type}'. - * - * - * @return the meta object for the reference 'Component Type'. - * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.ComponentInstance#getComponentType() - * @see #getComponentInstance() - * @generated - */ - EReference getComponentInstance_ComponentType(); - - /** - * Returns the factory that creates the instances of the model. - * - * - * @return the factory that creates the instances of the model. - * @generated - */ - CftLanguageFactory getCftLanguageFactory(); - - /** - * - * Defines literals for the meta objects that represent - *
      - *
    • each class,
    • - *
    • each feature of each class,
    • - *
    • each enum,
    • - *
    • and each data type
    • - *
    - * - * @generated - */ - interface Literals - { - /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.CftModelImpl Cft Model}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.CftModelImpl - * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.CftLanguagePackageImpl#getCftModel() - * @generated - */ - EClass CFT_MODEL = eINSTANCE.getCftModel(); - - /** - * The meta object literal for the 'Package Name' attribute feature. - * - * - * @generated - */ - EAttribute CFT_MODEL__PACKAGE_NAME = eINSTANCE.getCftModel_PackageName(); - - /** - * The meta object literal for the 'Imports' containment reference list feature. - * - * - * @generated - */ - EReference CFT_MODEL__IMPORTS = eINSTANCE.getCftModel_Imports(); - - /** - * The meta object literal for the 'Component Definitions' containment reference list feature. - * - * - * @generated - */ - EReference CFT_MODEL__COMPONENT_DEFINITIONS = eINSTANCE.getCftModel_ComponentDefinitions(); - - /** - * The meta object literal for the 'Transformation Definitions' containment reference list feature. - * - * - * @generated - */ - EReference CFT_MODEL__TRANSFORMATION_DEFINITIONS = eINSTANCE.getCftModel_TransformationDefinitions(); - - /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.ImportDeclarationImpl Import Declaration}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.ImportDeclarationImpl - * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.CftLanguagePackageImpl#getImportDeclaration() - * @generated - */ - EClass IMPORT_DECLARATION = eINSTANCE.getImportDeclaration(); - - /** - * The meta object literal for the 'Imported Namespace' attribute feature. - * - * - * @generated - */ - EAttribute IMPORT_DECLARATION__IMPORTED_NAMESPACE = eINSTANCE.getImportDeclaration_ImportedNamespace(); - - /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.TransformationDefinitionImpl Transformation Definition}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.TransformationDefinitionImpl - * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.CftLanguagePackageImpl#getTransformationDefinition() - * @generated - */ - EClass TRANSFORMATION_DEFINITION = eINSTANCE.getTransformationDefinition(); - - /** - * The meta object literal for the 'Name' attribute feature. - * - * - * @generated - */ - EAttribute TRANSFORMATION_DEFINITION__NAME = eINSTANCE.getTransformationDefinition_Name(); - - /** - * The meta object literal for the 'Mapping Definitions' containment reference list feature. - * - * - * @generated - */ - EReference TRANSFORMATION_DEFINITION__MAPPING_DEFINITIONS = eINSTANCE.getTransformationDefinition_MappingDefinitions(); - - /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.MappingDefinitionImpl Mapping Definition}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.MappingDefinitionImpl - * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.CftLanguagePackageImpl#getMappingDefinition() - * @generated - */ - EClass MAPPING_DEFINITION = eINSTANCE.getMappingDefinition(); - - /** - * The meta object literal for the 'Top Level' attribute feature. - * - * - * @generated - */ - EAttribute MAPPING_DEFINITION__TOP_LEVEL = eINSTANCE.getMappingDefinition_TopLevel(); - - /** - * The meta object literal for the 'Pattern' reference feature. - * - * - * @generated - */ - EReference MAPPING_DEFINITION__PATTERN = eINSTANCE.getMappingDefinition_Pattern(); - - /** - * The meta object literal for the 'Parameters' containment reference list feature. - * - * - * @generated - */ - EReference MAPPING_DEFINITION__PARAMETERS = eINSTANCE.getMappingDefinition_Parameters(); - - /** - * The meta object literal for the 'Component Instance' containment reference feature. - * - * - * @generated - */ - EReference MAPPING_DEFINITION__COMPONENT_INSTANCE = eINSTANCE.getMappingDefinition_ComponentInstance(); - - /** - * The meta object literal for the 'Lookup Definitions' containment reference list feature. - * - * - * @generated - */ - EReference MAPPING_DEFINITION__LOOKUP_DEFINITIONS = eINSTANCE.getMappingDefinition_LookupDefinitions(); - - /** - * The meta object literal for the 'Assignments' containment reference list feature. - * - * - * @generated - */ - EReference MAPPING_DEFINITION__ASSIGNMENTS = eINSTANCE.getMappingDefinition_Assignments(); - - /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.MappingParameterImpl Mapping Parameter}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.MappingParameterImpl - * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.CftLanguagePackageImpl#getMappingParameter() - * @generated - */ - EClass MAPPING_PARAMETER = eINSTANCE.getMappingParameter(); - - /** - * The meta object literal for the 'Name' attribute feature. - * - * - * @generated - */ - EAttribute MAPPING_PARAMETER__NAME = eINSTANCE.getMappingParameter_Name(); - - /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.LookupDefinitionImpl Lookup Definition}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.LookupDefinitionImpl - * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.CftLanguagePackageImpl#getLookupDefinition() - * @generated - */ - EClass LOOKUP_DEFINITION = eINSTANCE.getLookupDefinition(); - - /** - * The meta object literal for the 'Mapping' reference feature. - * - * - * @generated - */ - EReference LOOKUP_DEFINITION__MAPPING = eINSTANCE.getLookupDefinition_Mapping(); - - /** - * The meta object literal for the 'Arguments' reference list feature. - * - * - * @generated - */ - EReference LOOKUP_DEFINITION__ARGUMENTS = eINSTANCE.getLookupDefinition_Arguments(); - - /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.VariableImpl Variable}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.VariableImpl - * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.CftLanguagePackageImpl#getVariable() - * @generated - */ - EClass VARIABLE = eINSTANCE.getVariable(); - - /** - * The meta object literal for the 'Name' attribute feature. - * - * - * @generated - */ - EAttribute VARIABLE__NAME = eINSTANCE.getVariable_Name(); - - /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.AssignmentImpl Assignment}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.AssignmentImpl - * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.CftLanguagePackageImpl#getAssignment() - * @generated - */ - EClass ASSIGNMENT = eINSTANCE.getAssignment(); - - /** - * The meta object literal for the 'Input' containment reference feature. - * - * - * @generated - */ - EReference ASSIGNMENT__INPUT = eINSTANCE.getAssignment_Input(); - - /** - * The meta object literal for the 'Multiple' attribute feature. - * - * - * @generated - */ - EAttribute ASSIGNMENT__MULTIPLE = eINSTANCE.getAssignment_Multiple(); - - /** - * The meta object literal for the 'Output' containment reference feature. - * - * - * @generated - */ - EReference ASSIGNMENT__OUTPUT = eINSTANCE.getAssignment_Output(); - - /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.EventReferenceImpl Event Reference}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.EventReferenceImpl - * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.CftLanguagePackageImpl#getEventReference() - * @generated - */ - EClass EVENT_REFERENCE = eINSTANCE.getEventReference(); - - /** - * The meta object literal for the 'Component' reference feature. - * - * - * @generated - */ - EReference EVENT_REFERENCE__COMPONENT = eINSTANCE.getEventReference_Component(); - - /** - * The meta object literal for the 'Event' reference feature. - * - * - * @generated - */ - EReference EVENT_REFERENCE__EVENT = eINSTANCE.getEventReference_Event(); - - /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.ComponentInstanceImpl Component Instance}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.ComponentInstanceImpl - * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.CftLanguagePackageImpl#getComponentInstance() - * @generated - */ - EClass COMPONENT_INSTANCE = eINSTANCE.getComponentInstance(); - - /** - * The meta object literal for the 'Component Type' reference feature. - * - * - * @generated - */ - EReference COMPONENT_INSTANCE__COMPONENT_TYPE = eINSTANCE.getComponentInstance_ComponentType(); - - } - -} //CftLanguagePackage diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/CftModel.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/CftModel.java deleted file mode 100644 index 0b384084..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/CftModel.java +++ /dev/null @@ -1,107 +0,0 @@ -/** - * generated by Xtext 2.16.0 - */ -package hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage; - -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentDefinition; - -import org.eclipse.emf.common.util.EList; - -import org.eclipse.emf.ecore.EObject; - -/** - * - * A representation of the model object 'Cft Model'. - * - * - *

    - * The following features are supported: - *

    - *
      - *
    • {@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftModel#getPackageName Package Name}
    • - *
    • {@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftModel#getImports Imports}
    • - *
    • {@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftModel#getComponentDefinitions Component Definitions}
    • - *
    • {@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftModel#getTransformationDefinitions Transformation Definitions}
    • - *
    - * - * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage#getCftModel() - * @model - * @generated - */ -public interface CftModel extends EObject -{ - /** - * Returns the value of the 'Package Name' attribute. - * - *

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

    - * - * @return the value of the 'Package Name' attribute. - * @see #setPackageName(String) - * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage#getCftModel_PackageName() - * @model - * @generated - */ - String getPackageName(); - - /** - * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftModel#getPackageName Package Name}' attribute. - * - * - * @param value the new value of the 'Package Name' attribute. - * @see #getPackageName() - * @generated - */ - void setPackageName(String value); - - /** - * Returns the value of the 'Imports' containment reference list. - * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.ImportDeclaration}. - * - *

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

    - * - * @return the value of the 'Imports' containment reference list. - * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage#getCftModel_Imports() - * @model containment="true" - * @generated - */ - EList getImports(); - - /** - * Returns the value of the 'Component Definitions' containment reference list. - * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentDefinition}. - * - *

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

    - * - * @return the value of the 'Component Definitions' containment reference list. - * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage#getCftModel_ComponentDefinitions() - * @model containment="true" - * @generated - */ - EList getComponentDefinitions(); - - /** - * Returns the value of the 'Transformation Definitions' containment reference list. - * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.TransformationDefinition}. - * - *

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

    - * - * @return the value of the 'Transformation Definitions' containment reference list. - * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage#getCftModel_TransformationDefinitions() - * @model containment="true" - * @generated - */ - EList getTransformationDefinitions(); - -} // CftModel diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/ComponentInstance.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/ComponentInstance.java deleted file mode 100644 index 0c80849d..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/ComponentInstance.java +++ /dev/null @@ -1,52 +0,0 @@ -/** - * generated by Xtext 2.16.0 - */ -package hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage; - -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentDefinition; - -/** - * - * A representation of the model object 'Component Instance'. - * - * - *

    - * The following features are supported: - *

    - *
      - *
    • {@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.ComponentInstance#getComponentType Component Type}
    • - *
    - * - * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage#getComponentInstance() - * @model - * @generated - */ -public interface ComponentInstance extends Variable -{ - /** - * Returns the value of the 'Component Type' reference. - * - *

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

    - * - * @return the value of the 'Component Type' reference. - * @see #setComponentType(ComponentDefinition) - * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage#getComponentInstance_ComponentType() - * @model - * @generated - */ - ComponentDefinition getComponentType(); - - /** - * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.ComponentInstance#getComponentType Component Type}' reference. - * - * - * @param value the new value of the 'Component Type' reference. - * @see #getComponentType() - * @generated - */ - void setComponentType(ComponentDefinition value); - -} // ComponentInstance diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/EventReference.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/EventReference.java deleted file mode 100644 index bf7b7263..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/EventReference.java +++ /dev/null @@ -1,81 +0,0 @@ -/** - * generated by Xtext 2.16.0 - */ -package hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage; - -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.EventDeclaration; - -import org.eclipse.emf.ecore.EObject; - -/** - * - * A representation of the model object 'Event Reference'. - * - * - *

    - * The following features are supported: - *

    - *
      - *
    • {@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.EventReference#getComponent Component}
    • - *
    • {@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.EventReference#getEvent Event}
    • - *
    - * - * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage#getEventReference() - * @model - * @generated - */ -public interface EventReference extends EObject -{ - /** - * Returns the value of the 'Component' reference. - * - *

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

    - * - * @return the value of the 'Component' reference. - * @see #setComponent(Variable) - * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage#getEventReference_Component() - * @model - * @generated - */ - Variable getComponent(); - - /** - * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.EventReference#getComponent Component}' reference. - * - * - * @param value the new value of the 'Component' reference. - * @see #getComponent() - * @generated - */ - void setComponent(Variable value); - - /** - * Returns the value of the 'Event' reference. - * - *

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

    - * - * @return the value of the 'Event' reference. - * @see #setEvent(EventDeclaration) - * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage#getEventReference_Event() - * @model - * @generated - */ - EventDeclaration getEvent(); - - /** - * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.EventReference#getEvent Event}' reference. - * - * - * @param value the new value of the 'Event' reference. - * @see #getEvent() - * @generated - */ - void setEvent(EventDeclaration value); - -} // EventReference diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/ImportDeclaration.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/ImportDeclaration.java deleted file mode 100644 index bcb36395..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/ImportDeclaration.java +++ /dev/null @@ -1,52 +0,0 @@ -/** - * generated by Xtext 2.16.0 - */ -package hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage; - -import org.eclipse.emf.ecore.EObject; - -/** - * - * A representation of the model object 'Import Declaration'. - * - * - *

    - * The following features are supported: - *

    - *
      - *
    • {@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.ImportDeclaration#getImportedNamespace Imported Namespace}
    • - *
    - * - * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage#getImportDeclaration() - * @model - * @generated - */ -public interface ImportDeclaration extends EObject -{ - /** - * Returns the value of the 'Imported Namespace' attribute. - * - *

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

    - * - * @return the value of the 'Imported Namespace' attribute. - * @see #setImportedNamespace(String) - * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage#getImportDeclaration_ImportedNamespace() - * @model - * @generated - */ - String getImportedNamespace(); - - /** - * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.ImportDeclaration#getImportedNamespace Imported Namespace}' attribute. - * - * - * @param value the new value of the 'Imported Namespace' attribute. - * @see #getImportedNamespace() - * @generated - */ - void setImportedNamespace(String value); - -} // ImportDeclaration diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/LookupDefinition.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/LookupDefinition.java deleted file mode 100644 index f0ad3519..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/LookupDefinition.java +++ /dev/null @@ -1,69 +0,0 @@ -/** - * generated by Xtext 2.16.0 - */ -package hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage; - -import org.eclipse.emf.common.util.EList; - -/** - * - * A representation of the model object 'Lookup Definition'. - * - * - *

    - * The following features are supported: - *

    - *
      - *
    • {@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.LookupDefinition#getMapping Mapping}
    • - *
    • {@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.LookupDefinition#getArguments Arguments}
    • - *
    - * - * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage#getLookupDefinition() - * @model - * @generated - */ -public interface LookupDefinition extends Variable -{ - /** - * Returns the value of the 'Mapping' reference. - * - *

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

    - * - * @return the value of the 'Mapping' reference. - * @see #setMapping(MappingDefinition) - * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage#getLookupDefinition_Mapping() - * @model - * @generated - */ - MappingDefinition getMapping(); - - /** - * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.LookupDefinition#getMapping Mapping}' reference. - * - * - * @param value the new value of the 'Mapping' reference. - * @see #getMapping() - * @generated - */ - void setMapping(MappingDefinition value); - - /** - * Returns the value of the 'Arguments' reference list. - * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingParameter}. - * - *

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

    - * - * @return the value of the 'Arguments' reference list. - * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage#getLookupDefinition_Arguments() - * @model - * @generated - */ - EList getArguments(); - -} // LookupDefinition diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/MappingDefinition.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/MappingDefinition.java deleted file mode 100644 index 14c539b4..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/MappingDefinition.java +++ /dev/null @@ -1,161 +0,0 @@ -/** - * generated by Xtext 2.16.0 - */ -package hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage; - -import org.eclipse.emf.common.util.EList; - -import org.eclipse.emf.ecore.EObject; - -import org.eclipse.viatra.query.patternlanguage.emf.vql.Pattern; - -/** - * - * A representation of the model object 'Mapping Definition'. - * - * - *

    - * The following features are supported: - *

    - *
      - *
    • {@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingDefinition#isTopLevel Top Level}
    • - *
    • {@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingDefinition#getPattern Pattern}
    • - *
    • {@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingDefinition#getParameters Parameters}
    • - *
    • {@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingDefinition#getComponentInstance Component Instance}
    • - *
    • {@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingDefinition#getLookupDefinitions Lookup Definitions}
    • - *
    • {@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingDefinition#getAssignments Assignments}
    • - *
    - * - * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage#getMappingDefinition() - * @model - * @generated - */ -public interface MappingDefinition extends EObject -{ - /** - * Returns the value of the 'Top Level' attribute. - * - *

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

    - * - * @return the value of the 'Top Level' attribute. - * @see #setTopLevel(boolean) - * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage#getMappingDefinition_TopLevel() - * @model - * @generated - */ - boolean isTopLevel(); - - /** - * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingDefinition#isTopLevel Top Level}' attribute. - * - * - * @param value the new value of the 'Top Level' attribute. - * @see #isTopLevel() - * @generated - */ - void setTopLevel(boolean value); - - /** - * 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.faulttree.components.cftLanguage.CftLanguagePackage#getMappingDefinition_Pattern() - * @model - * @generated - */ - Pattern getPattern(); - - /** - * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingDefinition#getPattern Pattern}' reference. - * - * - * @param value the new value of the 'Pattern' reference. - * @see #getPattern() - * @generated - */ - void setPattern(Pattern value); - - /** - * Returns the value of the 'Parameters' containment reference list. - * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingParameter}. - * - *

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

    - * - * @return the value of the 'Parameters' containment reference list. - * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage#getMappingDefinition_Parameters() - * @model containment="true" - * @generated - */ - EList getParameters(); - - /** - * Returns the value of the 'Component Instance' containment reference. - * - *

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

    - * - * @return the value of the 'Component Instance' containment reference. - * @see #setComponentInstance(ComponentInstance) - * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage#getMappingDefinition_ComponentInstance() - * @model containment="true" - * @generated - */ - ComponentInstance getComponentInstance(); - - /** - * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingDefinition#getComponentInstance Component Instance}' containment reference. - * - * - * @param value the new value of the 'Component Instance' containment reference. - * @see #getComponentInstance() - * @generated - */ - void setComponentInstance(ComponentInstance value); - - /** - * Returns the value of the 'Lookup Definitions' containment reference list. - * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.LookupDefinition}. - * - *

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

    - * - * @return the value of the 'Lookup Definitions' containment reference list. - * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage#getMappingDefinition_LookupDefinitions() - * @model containment="true" - * @generated - */ - EList getLookupDefinitions(); - - /** - * Returns the value of the 'Assignments' containment reference list. - * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.Assignment}. - * - *

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

    - * - * @return the value of the 'Assignments' containment reference list. - * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage#getMappingDefinition_Assignments() - * @model containment="true" - * @generated - */ - EList getAssignments(); - -} // MappingDefinition diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/MappingParameter.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/MappingParameter.java deleted file mode 100644 index 5fc3c006..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/MappingParameter.java +++ /dev/null @@ -1,52 +0,0 @@ -/** - * generated by Xtext 2.16.0 - */ -package hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage; - -import org.eclipse.emf.ecore.EObject; - -/** - * - * A representation of the model object 'Mapping Parameter'. - * - * - *

    - * The following features are supported: - *

    - *
      - *
    • {@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingParameter#getName Name}
    • - *
    - * - * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage#getMappingParameter() - * @model - * @generated - */ -public interface MappingParameter extends EObject -{ - /** - * Returns the value of the 'Name' attribute. - * - *

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

    - * - * @return the value of the 'Name' attribute. - * @see #setName(String) - * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage#getMappingParameter_Name() - * @model - * @generated - */ - String getName(); - - /** - * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingParameter#getName Name}' attribute. - * - * - * @param value the new value of the 'Name' attribute. - * @see #getName() - * @generated - */ - void setName(String value); - -} // MappingParameter diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/TransformationDefinition.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/TransformationDefinition.java deleted file mode 100644 index 1412e725..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/TransformationDefinition.java +++ /dev/null @@ -1,71 +0,0 @@ -/** - * generated by Xtext 2.16.0 - */ -package hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage; - -import org.eclipse.emf.common.util.EList; - -import org.eclipse.emf.ecore.EObject; - -/** - * - * A representation of the model object 'Transformation Definition'. - * - * - *

    - * The following features are supported: - *

    - *
      - *
    • {@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.TransformationDefinition#getName Name}
    • - *
    • {@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.TransformationDefinition#getMappingDefinitions Mapping Definitions}
    • - *
    - * - * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage#getTransformationDefinition() - * @model - * @generated - */ -public interface TransformationDefinition extends EObject -{ - /** - * Returns the value of the 'Name' attribute. - * - *

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

    - * - * @return the value of the 'Name' attribute. - * @see #setName(String) - * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage#getTransformationDefinition_Name() - * @model - * @generated - */ - String getName(); - - /** - * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.TransformationDefinition#getName Name}' attribute. - * - * - * @param value the new value of the 'Name' attribute. - * @see #getName() - * @generated - */ - void setName(String value); - - /** - * Returns the value of the 'Mapping Definitions' containment reference list. - * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingDefinition}. - * - *

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

    - * - * @return the value of the 'Mapping Definitions' containment reference list. - * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage#getTransformationDefinition_MappingDefinitions() - * @model containment="true" - * @generated - */ - EList getMappingDefinitions(); - -} // TransformationDefinition diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/Variable.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/Variable.java deleted file mode 100644 index d49749da..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/Variable.java +++ /dev/null @@ -1,52 +0,0 @@ -/** - * generated by Xtext 2.16.0 - */ -package hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage; - -import org.eclipse.emf.ecore.EObject; - -/** - * - * A representation of the model object 'Variable'. - * - * - *

    - * The following features are supported: - *

    - *
      - *
    • {@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.Variable#getName Name}
    • - *
    - * - * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage#getVariable() - * @model - * @generated - */ -public interface Variable extends EObject -{ - /** - * Returns the value of the 'Name' attribute. - * - *

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

    - * - * @return the value of the 'Name' attribute. - * @see #setName(String) - * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage#getVariable_Name() - * @model - * @generated - */ - String getName(); - - /** - * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.Variable#getName Name}' attribute. - * - * - * @param value the new value of the 'Name' attribute. - * @see #getName() - * @generated - */ - void setName(String value); - -} // Variable diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/impl/AssignmentImpl.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/impl/AssignmentImpl.java deleted file mode 100644 index 0b37cdbb..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/impl/AssignmentImpl.java +++ /dev/null @@ -1,343 +0,0 @@ -/** - * generated by Xtext 2.16.0 - */ -package hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl; - -import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.Assignment; -import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage; -import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.EventReference; - -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 'Assignment'. - * - *

    - * The following features are implemented: - *

    - *
      - *
    • {@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.AssignmentImpl#getInput Input}
    • - *
    • {@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.AssignmentImpl#isMultiple Multiple}
    • - *
    • {@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.AssignmentImpl#getOutput Output}
    • - *
    - * - * @generated - */ -public class AssignmentImpl extends MinimalEObjectImpl.Container implements Assignment -{ - /** - * The cached value of the '{@link #getInput() Input}' containment reference. - * - * - * @see #getInput() - * @generated - * @ordered - */ - protected EventReference input; - - /** - * The default value of the '{@link #isMultiple() Multiple}' attribute. - * - * - * @see #isMultiple() - * @generated - * @ordered - */ - protected static final boolean MULTIPLE_EDEFAULT = false; - - /** - * The cached value of the '{@link #isMultiple() Multiple}' attribute. - * - * - * @see #isMultiple() - * @generated - * @ordered - */ - protected boolean multiple = MULTIPLE_EDEFAULT; - - /** - * The cached value of the '{@link #getOutput() Output}' containment reference. - * - * - * @see #getOutput() - * @generated - * @ordered - */ - protected EventReference output; - - /** - * - * - * @generated - */ - protected AssignmentImpl() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return CftLanguagePackage.Literals.ASSIGNMENT; - } - - /** - * - * - * @generated - */ - @Override - public EventReference getInput() - { - return input; - } - - /** - * - * - * @generated - */ - public NotificationChain basicSetInput(EventReference newInput, NotificationChain msgs) - { - EventReference oldInput = input; - input = newInput; - if (eNotificationRequired()) - { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, CftLanguagePackage.ASSIGNMENT__INPUT, oldInput, newInput); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * - * - * @generated - */ - @Override - public void setInput(EventReference newInput) - { - if (newInput != input) - { - NotificationChain msgs = null; - if (input != null) - msgs = ((InternalEObject)input).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - CftLanguagePackage.ASSIGNMENT__INPUT, null, msgs); - if (newInput != null) - msgs = ((InternalEObject)newInput).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - CftLanguagePackage.ASSIGNMENT__INPUT, null, msgs); - msgs = basicSetInput(newInput, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, CftLanguagePackage.ASSIGNMENT__INPUT, newInput, newInput)); - } - - /** - * - * - * @generated - */ - @Override - public boolean isMultiple() - { - return multiple; - } - - /** - * - * - * @generated - */ - @Override - public void setMultiple(boolean newMultiple) - { - boolean oldMultiple = multiple; - multiple = newMultiple; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, CftLanguagePackage.ASSIGNMENT__MULTIPLE, oldMultiple, multiple)); - } - - /** - * - * - * @generated - */ - @Override - public EventReference getOutput() - { - return output; - } - - /** - * - * - * @generated - */ - public NotificationChain basicSetOutput(EventReference newOutput, NotificationChain msgs) - { - EventReference oldOutput = output; - output = newOutput; - if (eNotificationRequired()) - { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, CftLanguagePackage.ASSIGNMENT__OUTPUT, oldOutput, newOutput); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * - * - * @generated - */ - @Override - public void setOutput(EventReference newOutput) - { - if (newOutput != output) - { - NotificationChain msgs = null; - if (output != null) - msgs = ((InternalEObject)output).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - CftLanguagePackage.ASSIGNMENT__OUTPUT, null, msgs); - if (newOutput != null) - msgs = ((InternalEObject)newOutput).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - CftLanguagePackage.ASSIGNMENT__OUTPUT, null, msgs); - msgs = basicSetOutput(newOutput, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, CftLanguagePackage.ASSIGNMENT__OUTPUT, newOutput, newOutput)); - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) - { - switch (featureID) - { - case CftLanguagePackage.ASSIGNMENT__INPUT: - return basicSetInput(null, msgs); - case CftLanguagePackage.ASSIGNMENT__OUTPUT: - return basicSetOutput(null, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case CftLanguagePackage.ASSIGNMENT__INPUT: - return getInput(); - case CftLanguagePackage.ASSIGNMENT__MULTIPLE: - return isMultiple(); - case CftLanguagePackage.ASSIGNMENT__OUTPUT: - return getOutput(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case CftLanguagePackage.ASSIGNMENT__INPUT: - setInput((EventReference)newValue); - return; - case CftLanguagePackage.ASSIGNMENT__MULTIPLE: - setMultiple((Boolean)newValue); - return; - case CftLanguagePackage.ASSIGNMENT__OUTPUT: - setOutput((EventReference)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case CftLanguagePackage.ASSIGNMENT__INPUT: - setInput((EventReference)null); - return; - case CftLanguagePackage.ASSIGNMENT__MULTIPLE: - setMultiple(MULTIPLE_EDEFAULT); - return; - case CftLanguagePackage.ASSIGNMENT__OUTPUT: - setOutput((EventReference)null); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case CftLanguagePackage.ASSIGNMENT__INPUT: - return input != null; - case CftLanguagePackage.ASSIGNMENT__MULTIPLE: - return multiple != MULTIPLE_EDEFAULT; - case CftLanguagePackage.ASSIGNMENT__OUTPUT: - return output != null; - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() - { - if (eIsProxy()) return super.toString(); - - StringBuilder result = new StringBuilder(super.toString()); - result.append(" (multiple: "); - result.append(multiple); - result.append(')'); - return result.toString(); - } - -} //AssignmentImpl diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/impl/CftLanguageFactoryImpl.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/impl/CftLanguageFactoryImpl.java deleted file mode 100644 index db604384..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/impl/CftLanguageFactoryImpl.java +++ /dev/null @@ -1,226 +0,0 @@ -/** - * generated by Xtext 2.16.0 - */ -package hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl; - -import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.*; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.EPackage; - -import org.eclipse.emf.ecore.impl.EFactoryImpl; - -import org.eclipse.emf.ecore.plugin.EcorePlugin; - -/** - * - * An implementation of the model Factory. - * - * @generated - */ -public class CftLanguageFactoryImpl extends EFactoryImpl implements CftLanguageFactory -{ - /** - * Creates the default factory implementation. - * - * - * @generated - */ - public static CftLanguageFactory init() - { - try - { - CftLanguageFactory theCftLanguageFactory = (CftLanguageFactory)EPackage.Registry.INSTANCE.getEFactory(CftLanguagePackage.eNS_URI); - if (theCftLanguageFactory != null) - { - return theCftLanguageFactory; - } - } - catch (Exception exception) - { - EcorePlugin.INSTANCE.log(exception); - } - return new CftLanguageFactoryImpl(); - } - - /** - * Creates an instance of the factory. - * - * - * @generated - */ - public CftLanguageFactoryImpl() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - public EObject create(EClass eClass) - { - switch (eClass.getClassifierID()) - { - case CftLanguagePackage.CFT_MODEL: return createCftModel(); - case CftLanguagePackage.IMPORT_DECLARATION: return createImportDeclaration(); - case CftLanguagePackage.TRANSFORMATION_DEFINITION: return createTransformationDefinition(); - case CftLanguagePackage.MAPPING_DEFINITION: return createMappingDefinition(); - case CftLanguagePackage.MAPPING_PARAMETER: return createMappingParameter(); - case CftLanguagePackage.LOOKUP_DEFINITION: return createLookupDefinition(); - case CftLanguagePackage.VARIABLE: return createVariable(); - case CftLanguagePackage.ASSIGNMENT: return createAssignment(); - case CftLanguagePackage.EVENT_REFERENCE: return createEventReference(); - case CftLanguagePackage.COMPONENT_INSTANCE: return createComponentInstance(); - default: - throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); - } - } - - /** - * - * - * @generated - */ - @Override - public CftModel createCftModel() - { - CftModelImpl cftModel = new CftModelImpl(); - return cftModel; - } - - /** - * - * - * @generated - */ - @Override - public ImportDeclaration createImportDeclaration() - { - ImportDeclarationImpl importDeclaration = new ImportDeclarationImpl(); - return importDeclaration; - } - - /** - * - * - * @generated - */ - @Override - public TransformationDefinition createTransformationDefinition() - { - TransformationDefinitionImpl transformationDefinition = new TransformationDefinitionImpl(); - return transformationDefinition; - } - - /** - * - * - * @generated - */ - @Override - public MappingDefinition createMappingDefinition() - { - MappingDefinitionImpl mappingDefinition = new MappingDefinitionImpl(); - return mappingDefinition; - } - - /** - * - * - * @generated - */ - @Override - public MappingParameter createMappingParameter() - { - MappingParameterImpl mappingParameter = new MappingParameterImpl(); - return mappingParameter; - } - - /** - * - * - * @generated - */ - @Override - public LookupDefinition createLookupDefinition() - { - LookupDefinitionImpl lookupDefinition = new LookupDefinitionImpl(); - return lookupDefinition; - } - - /** - * - * - * @generated - */ - @Override - public Variable createVariable() - { - VariableImpl variable = new VariableImpl(); - return variable; - } - - /** - * - * - * @generated - */ - @Override - public Assignment createAssignment() - { - AssignmentImpl assignment = new AssignmentImpl(); - return assignment; - } - - /** - * - * - * @generated - */ - @Override - public EventReference createEventReference() - { - EventReferenceImpl eventReference = new EventReferenceImpl(); - return eventReference; - } - - /** - * - * - * @generated - */ - @Override - public ComponentInstance createComponentInstance() - { - ComponentInstanceImpl componentInstance = new ComponentInstanceImpl(); - return componentInstance; - } - - /** - * - * - * @generated - */ - @Override - public CftLanguagePackage getCftLanguagePackage() - { - return (CftLanguagePackage)getEPackage(); - } - - /** - * - * - * @deprecated - * @generated - */ - @Deprecated - public static CftLanguagePackage getPackage() - { - return CftLanguagePackage.eINSTANCE; - } - -} //CftLanguageFactoryImpl diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/impl/CftLanguagePackageImpl.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/impl/CftLanguagePackageImpl.java deleted file mode 100644 index d4e06dde..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/impl/CftLanguagePackageImpl.java +++ /dev/null @@ -1,712 +0,0 @@ -/** - * generated by Xtext 2.16.0 - */ -package hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl; - -import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.Assignment; -import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguageFactory; -import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage; -import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftModel; -import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.ComponentInstance; -import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.EventReference; -import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.ImportDeclaration; -import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.LookupDefinition; -import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingDefinition; -import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingParameter; -import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.TransformationDefinition; -import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.Variable; - -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage; - -import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtPackage; - -import org.eclipse.emf.ecore.EAttribute; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.emf.ecore.EReference; -import org.eclipse.emf.ecore.EcorePackage; - -import org.eclipse.emf.ecore.impl.EPackageImpl; - -import org.eclipse.viatra.query.patternlanguage.emf.vql.PatternLanguagePackage; - -import org.eclipse.xtext.common.types.TypesPackage; - -import org.eclipse.xtext.xbase.XbasePackage; - -import org.eclipse.xtext.xtype.XtypePackage; - -/** - * - * An implementation of the model Package. - * - * @generated - */ -public class CftLanguagePackageImpl extends EPackageImpl implements CftLanguagePackage -{ - /** - * - * - * @generated - */ - private EClass cftModelEClass = null; - - /** - * - * - * @generated - */ - private EClass importDeclarationEClass = null; - - /** - * - * - * @generated - */ - private EClass transformationDefinitionEClass = null; - - /** - * - * - * @generated - */ - private EClass mappingDefinitionEClass = null; - - /** - * - * - * @generated - */ - private EClass mappingParameterEClass = null; - - /** - * - * - * @generated - */ - private EClass lookupDefinitionEClass = null; - - /** - * - * - * @generated - */ - private EClass variableEClass = null; - - /** - * - * - * @generated - */ - private EClass assignmentEClass = null; - - /** - * - * - * @generated - */ - private EClass eventReferenceEClass = null; - - /** - * - * - * @generated - */ - private EClass componentInstanceEClass = null; - - /** - * Creates an instance of the model Package, registered with - * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package - * package URI value. - *

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

    This method is used to initialize {@link CftLanguagePackage#eINSTANCE} when that field is accessed. - * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. - * - * - * @see #eNS_URI - * @see #createPackageContents() - * @see #initializePackageContents() - * @generated - */ - public static CftLanguagePackage init() - { - if (isInited) return (CftLanguagePackage)EPackage.Registry.INSTANCE.getEPackage(CftLanguagePackage.eNS_URI); - - // Obtain or create and register package - Object registeredCftLanguagePackage = EPackage.Registry.INSTANCE.get(eNS_URI); - CftLanguagePackageImpl theCftLanguagePackage = registeredCftLanguagePackage instanceof CftLanguagePackageImpl ? (CftLanguagePackageImpl)registeredCftLanguagePackage : new CftLanguagePackageImpl(); - - isInited = true; - - // Initialize simple dependencies - CftPackage.eINSTANCE.eClass(); - EcorePackage.eINSTANCE.eClass(); - PatternLanguagePackage.eINSTANCE.eClass(); - FtPackage.eINSTANCE.eClass(); - XtypePackage.eINSTANCE.eClass(); - TypesPackage.eINSTANCE.eClass(); - XbasePackage.eINSTANCE.eClass(); - - // Create package meta-data objects - theCftLanguagePackage.createPackageContents(); - - // Initialize created meta-data - theCftLanguagePackage.initializePackageContents(); - - // Mark meta-data to indicate it can't be changed - theCftLanguagePackage.freeze(); - - // Update the registry and return the package - EPackage.Registry.INSTANCE.put(CftLanguagePackage.eNS_URI, theCftLanguagePackage); - return theCftLanguagePackage; - } - - /** - * - * - * @generated - */ - @Override - public EClass getCftModel() - { - return cftModelEClass; - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getCftModel_PackageName() - { - return (EAttribute)cftModelEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EReference getCftModel_Imports() - { - return (EReference)cftModelEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - @Override - public EReference getCftModel_ComponentDefinitions() - { - return (EReference)cftModelEClass.getEStructuralFeatures().get(2); - } - - /** - * - * - * @generated - */ - @Override - public EReference getCftModel_TransformationDefinitions() - { - return (EReference)cftModelEClass.getEStructuralFeatures().get(3); - } - - /** - * - * - * @generated - */ - @Override - public EClass getImportDeclaration() - { - return importDeclarationEClass; - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getImportDeclaration_ImportedNamespace() - { - return (EAttribute)importDeclarationEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EClass getTransformationDefinition() - { - return transformationDefinitionEClass; - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getTransformationDefinition_Name() - { - return (EAttribute)transformationDefinitionEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EReference getTransformationDefinition_MappingDefinitions() - { - return (EReference)transformationDefinitionEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - @Override - public EClass getMappingDefinition() - { - return mappingDefinitionEClass; - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getMappingDefinition_TopLevel() - { - return (EAttribute)mappingDefinitionEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EReference getMappingDefinition_Pattern() - { - return (EReference)mappingDefinitionEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - @Override - public EReference getMappingDefinition_Parameters() - { - return (EReference)mappingDefinitionEClass.getEStructuralFeatures().get(2); - } - - /** - * - * - * @generated - */ - @Override - public EReference getMappingDefinition_ComponentInstance() - { - return (EReference)mappingDefinitionEClass.getEStructuralFeatures().get(3); - } - - /** - * - * - * @generated - */ - @Override - public EReference getMappingDefinition_LookupDefinitions() - { - return (EReference)mappingDefinitionEClass.getEStructuralFeatures().get(4); - } - - /** - * - * - * @generated - */ - @Override - public EReference getMappingDefinition_Assignments() - { - return (EReference)mappingDefinitionEClass.getEStructuralFeatures().get(5); - } - - /** - * - * - * @generated - */ - @Override - public EClass getMappingParameter() - { - return mappingParameterEClass; - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getMappingParameter_Name() - { - return (EAttribute)mappingParameterEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EClass getLookupDefinition() - { - return lookupDefinitionEClass; - } - - /** - * - * - * @generated - */ - @Override - public EReference getLookupDefinition_Mapping() - { - return (EReference)lookupDefinitionEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EReference getLookupDefinition_Arguments() - { - return (EReference)lookupDefinitionEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - @Override - public EClass getVariable() - { - return variableEClass; - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getVariable_Name() - { - return (EAttribute)variableEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EClass getAssignment() - { - return assignmentEClass; - } - - /** - * - * - * @generated - */ - @Override - public EReference getAssignment_Input() - { - return (EReference)assignmentEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getAssignment_Multiple() - { - return (EAttribute)assignmentEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - @Override - public EReference getAssignment_Output() - { - return (EReference)assignmentEClass.getEStructuralFeatures().get(2); - } - - /** - * - * - * @generated - */ - @Override - public EClass getEventReference() - { - return eventReferenceEClass; - } - - /** - * - * - * @generated - */ - @Override - public EReference getEventReference_Component() - { - return (EReference)eventReferenceEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EReference getEventReference_Event() - { - return (EReference)eventReferenceEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - @Override - public EClass getComponentInstance() - { - return componentInstanceEClass; - } - - /** - * - * - * @generated - */ - @Override - public EReference getComponentInstance_ComponentType() - { - return (EReference)componentInstanceEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public CftLanguageFactory getCftLanguageFactory() - { - return (CftLanguageFactory)getEFactoryInstance(); - } - - /** - * - * - * @generated - */ - private boolean isCreated = false; - - /** - * Creates the meta-model objects for the package. This method is - * guarded to have no affect on any invocation but its first. - * - * - * @generated - */ - public void createPackageContents() - { - if (isCreated) return; - isCreated = true; - - // Create classes and their features - cftModelEClass = createEClass(CFT_MODEL); - createEAttribute(cftModelEClass, CFT_MODEL__PACKAGE_NAME); - createEReference(cftModelEClass, CFT_MODEL__IMPORTS); - createEReference(cftModelEClass, CFT_MODEL__COMPONENT_DEFINITIONS); - createEReference(cftModelEClass, CFT_MODEL__TRANSFORMATION_DEFINITIONS); - - importDeclarationEClass = createEClass(IMPORT_DECLARATION); - createEAttribute(importDeclarationEClass, IMPORT_DECLARATION__IMPORTED_NAMESPACE); - - transformationDefinitionEClass = createEClass(TRANSFORMATION_DEFINITION); - createEAttribute(transformationDefinitionEClass, TRANSFORMATION_DEFINITION__NAME); - createEReference(transformationDefinitionEClass, TRANSFORMATION_DEFINITION__MAPPING_DEFINITIONS); - - mappingDefinitionEClass = createEClass(MAPPING_DEFINITION); - createEAttribute(mappingDefinitionEClass, MAPPING_DEFINITION__TOP_LEVEL); - createEReference(mappingDefinitionEClass, MAPPING_DEFINITION__PATTERN); - createEReference(mappingDefinitionEClass, MAPPING_DEFINITION__PARAMETERS); - createEReference(mappingDefinitionEClass, MAPPING_DEFINITION__COMPONENT_INSTANCE); - createEReference(mappingDefinitionEClass, MAPPING_DEFINITION__LOOKUP_DEFINITIONS); - createEReference(mappingDefinitionEClass, MAPPING_DEFINITION__ASSIGNMENTS); - - mappingParameterEClass = createEClass(MAPPING_PARAMETER); - createEAttribute(mappingParameterEClass, MAPPING_PARAMETER__NAME); - - lookupDefinitionEClass = createEClass(LOOKUP_DEFINITION); - createEReference(lookupDefinitionEClass, LOOKUP_DEFINITION__MAPPING); - createEReference(lookupDefinitionEClass, LOOKUP_DEFINITION__ARGUMENTS); - - variableEClass = createEClass(VARIABLE); - createEAttribute(variableEClass, VARIABLE__NAME); - - assignmentEClass = createEClass(ASSIGNMENT); - createEReference(assignmentEClass, ASSIGNMENT__INPUT); - createEAttribute(assignmentEClass, ASSIGNMENT__MULTIPLE); - createEReference(assignmentEClass, ASSIGNMENT__OUTPUT); - - eventReferenceEClass = createEClass(EVENT_REFERENCE); - createEReference(eventReferenceEClass, EVENT_REFERENCE__COMPONENT); - createEReference(eventReferenceEClass, EVENT_REFERENCE__EVENT); - - componentInstanceEClass = createEClass(COMPONENT_INSTANCE); - createEReference(componentInstanceEClass, COMPONENT_INSTANCE__COMPONENT_TYPE); - } - - /** - * - * - * @generated - */ - private boolean isInitialized = false; - - /** - * Complete the initialization of the package and its meta-model. This - * method is guarded to have no affect on any invocation but its first. - * - * - * @generated - */ - public void initializePackageContents() - { - if (isInitialized) return; - isInitialized = true; - - // Initialize package - setName(eNAME); - setNsPrefix(eNS_PREFIX); - setNsURI(eNS_URI); - - // Obtain other dependent packages - EcorePackage theEcorePackage = (EcorePackage)EPackage.Registry.INSTANCE.getEPackage(EcorePackage.eNS_URI); - CftPackage theCftPackage = (CftPackage)EPackage.Registry.INSTANCE.getEPackage(CftPackage.eNS_URI); - PatternLanguagePackage thePatternLanguagePackage = (PatternLanguagePackage)EPackage.Registry.INSTANCE.getEPackage(PatternLanguagePackage.eNS_URI); - - // Create type parameters - - // Set bounds for type parameters - - // Add supertypes to classes - lookupDefinitionEClass.getESuperTypes().add(this.getVariable()); - componentInstanceEClass.getESuperTypes().add(this.getVariable()); - - // Initialize classes and features; add operations and parameters - initEClass(cftModelEClass, CftModel.class, "CftModel", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getCftModel_PackageName(), theEcorePackage.getEString(), "packageName", null, 0, 1, CftModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getCftModel_Imports(), this.getImportDeclaration(), null, "imports", null, 0, -1, CftModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getCftModel_ComponentDefinitions(), theCftPackage.getComponentDefinition(), null, "componentDefinitions", null, 0, -1, CftModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getCftModel_TransformationDefinitions(), this.getTransformationDefinition(), null, "transformationDefinitions", null, 0, -1, CftModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(importDeclarationEClass, ImportDeclaration.class, "ImportDeclaration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getImportDeclaration_ImportedNamespace(), theEcorePackage.getEString(), "importedNamespace", null, 0, 1, ImportDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(transformationDefinitionEClass, TransformationDefinition.class, "TransformationDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getTransformationDefinition_Name(), theEcorePackage.getEString(), "name", null, 0, 1, TransformationDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getTransformationDefinition_MappingDefinitions(), this.getMappingDefinition(), null, "mappingDefinitions", null, 0, -1, TransformationDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(mappingDefinitionEClass, MappingDefinition.class, "MappingDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getMappingDefinition_TopLevel(), theEcorePackage.getEBoolean(), "topLevel", null, 0, 1, MappingDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getMappingDefinition_Pattern(), thePatternLanguagePackage.getPattern(), null, "pattern", null, 0, 1, MappingDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getMappingDefinition_Parameters(), this.getMappingParameter(), null, "parameters", null, 0, -1, MappingDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getMappingDefinition_ComponentInstance(), this.getComponentInstance(), null, "componentInstance", null, 0, 1, MappingDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getMappingDefinition_LookupDefinitions(), this.getLookupDefinition(), null, "lookupDefinitions", null, 0, -1, MappingDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getMappingDefinition_Assignments(), this.getAssignment(), null, "assignments", null, 0, -1, MappingDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(mappingParameterEClass, MappingParameter.class, "MappingParameter", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getMappingParameter_Name(), theEcorePackage.getEString(), "name", null, 0, 1, MappingParameter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(lookupDefinitionEClass, LookupDefinition.class, "LookupDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getLookupDefinition_Mapping(), this.getMappingDefinition(), null, "mapping", null, 0, 1, LookupDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getLookupDefinition_Arguments(), this.getMappingParameter(), null, "arguments", null, 0, -1, LookupDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(variableEClass, Variable.class, "Variable", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getVariable_Name(), theEcorePackage.getEString(), "name", null, 0, 1, Variable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(assignmentEClass, Assignment.class, "Assignment", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getAssignment_Input(), this.getEventReference(), null, "input", null, 0, 1, Assignment.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getAssignment_Multiple(), theEcorePackage.getEBoolean(), "multiple", null, 0, 1, Assignment.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getAssignment_Output(), this.getEventReference(), null, "output", null, 0, 1, Assignment.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(eventReferenceEClass, EventReference.class, "EventReference", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getEventReference_Component(), this.getVariable(), null, "component", null, 0, 1, EventReference.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getEventReference_Event(), theCftPackage.getEventDeclaration(), null, "event", null, 0, 1, EventReference.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(componentInstanceEClass, ComponentInstance.class, "ComponentInstance", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getComponentInstance_ComponentType(), theCftPackage.getComponentDefinition(), null, "componentType", null, 0, 1, ComponentInstance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - // Create resource - createResource(eNS_URI); - } - -} //CftLanguagePackageImpl diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/impl/CftModelImpl.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/impl/CftModelImpl.java deleted file mode 100644 index 1a5a8c16..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/impl/CftModelImpl.java +++ /dev/null @@ -1,325 +0,0 @@ -/** - * generated by Xtext 2.16.0 - */ -package hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl; - -import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage; -import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftModel; -import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.ImportDeclaration; -import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.TransformationDefinition; - -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentDefinition; - -import java.util.Collection; - -import org.eclipse.emf.common.notify.Notification; -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.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; - -import org.eclipse.emf.ecore.util.EObjectContainmentEList; -import org.eclipse.emf.ecore.util.InternalEList; - -/** - * - * An implementation of the model object 'Cft Model'. - * - *

    - * The following features are implemented: - *

    - *
      - *
    • {@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.CftModelImpl#getPackageName Package Name}
    • - *
    • {@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.CftModelImpl#getImports Imports}
    • - *
    • {@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.CftModelImpl#getComponentDefinitions Component Definitions}
    • - *
    • {@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.CftModelImpl#getTransformationDefinitions Transformation Definitions}
    • - *
    - * - * @generated - */ -public class CftModelImpl extends MinimalEObjectImpl.Container implements CftModel -{ - /** - * The default value of the '{@link #getPackageName() Package Name}' attribute. - * - * - * @see #getPackageName() - * @generated - * @ordered - */ - protected static final String PACKAGE_NAME_EDEFAULT = null; - - /** - * The cached value of the '{@link #getPackageName() Package Name}' attribute. - * - * - * @see #getPackageName() - * @generated - * @ordered - */ - protected String packageName = PACKAGE_NAME_EDEFAULT; - - /** - * The cached value of the '{@link #getImports() Imports}' containment reference list. - * - * - * @see #getImports() - * @generated - * @ordered - */ - protected EList imports; - - /** - * The cached value of the '{@link #getComponentDefinitions() Component Definitions}' containment reference list. - * - * - * @see #getComponentDefinitions() - * @generated - * @ordered - */ - protected EList componentDefinitions; - - /** - * The cached value of the '{@link #getTransformationDefinitions() Transformation Definitions}' containment reference list. - * - * - * @see #getTransformationDefinitions() - * @generated - * @ordered - */ - protected EList transformationDefinitions; - - /** - * - * - * @generated - */ - protected CftModelImpl() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return CftLanguagePackage.Literals.CFT_MODEL; - } - - /** - * - * - * @generated - */ - @Override - public String getPackageName() - { - return packageName; - } - - /** - * - * - * @generated - */ - @Override - public void setPackageName(String newPackageName) - { - String oldPackageName = packageName; - packageName = newPackageName; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, CftLanguagePackage.CFT_MODEL__PACKAGE_NAME, oldPackageName, packageName)); - } - - /** - * - * - * @generated - */ - @Override - public EList getImports() - { - if (imports == null) - { - imports = new EObjectContainmentEList(ImportDeclaration.class, this, CftLanguagePackage.CFT_MODEL__IMPORTS); - } - return imports; - } - - /** - * - * - * @generated - */ - @Override - public EList getComponentDefinitions() - { - if (componentDefinitions == null) - { - componentDefinitions = new EObjectContainmentEList(ComponentDefinition.class, this, CftLanguagePackage.CFT_MODEL__COMPONENT_DEFINITIONS); - } - return componentDefinitions; - } - - /** - * - * - * @generated - */ - @Override - public EList getTransformationDefinitions() - { - if (transformationDefinitions == null) - { - transformationDefinitions = new EObjectContainmentEList(TransformationDefinition.class, this, CftLanguagePackage.CFT_MODEL__TRANSFORMATION_DEFINITIONS); - } - return transformationDefinitions; - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) - { - switch (featureID) - { - case CftLanguagePackage.CFT_MODEL__IMPORTS: - return ((InternalEList)getImports()).basicRemove(otherEnd, msgs); - case CftLanguagePackage.CFT_MODEL__COMPONENT_DEFINITIONS: - return ((InternalEList)getComponentDefinitions()).basicRemove(otherEnd, msgs); - case CftLanguagePackage.CFT_MODEL__TRANSFORMATION_DEFINITIONS: - return ((InternalEList)getTransformationDefinitions()).basicRemove(otherEnd, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case CftLanguagePackage.CFT_MODEL__PACKAGE_NAME: - return getPackageName(); - case CftLanguagePackage.CFT_MODEL__IMPORTS: - return getImports(); - case CftLanguagePackage.CFT_MODEL__COMPONENT_DEFINITIONS: - return getComponentDefinitions(); - case CftLanguagePackage.CFT_MODEL__TRANSFORMATION_DEFINITIONS: - return getTransformationDefinitions(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case CftLanguagePackage.CFT_MODEL__PACKAGE_NAME: - setPackageName((String)newValue); - return; - case CftLanguagePackage.CFT_MODEL__IMPORTS: - getImports().clear(); - getImports().addAll((Collection)newValue); - return; - case CftLanguagePackage.CFT_MODEL__COMPONENT_DEFINITIONS: - getComponentDefinitions().clear(); - getComponentDefinitions().addAll((Collection)newValue); - return; - case CftLanguagePackage.CFT_MODEL__TRANSFORMATION_DEFINITIONS: - getTransformationDefinitions().clear(); - getTransformationDefinitions().addAll((Collection)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case CftLanguagePackage.CFT_MODEL__PACKAGE_NAME: - setPackageName(PACKAGE_NAME_EDEFAULT); - return; - case CftLanguagePackage.CFT_MODEL__IMPORTS: - getImports().clear(); - return; - case CftLanguagePackage.CFT_MODEL__COMPONENT_DEFINITIONS: - getComponentDefinitions().clear(); - return; - case CftLanguagePackage.CFT_MODEL__TRANSFORMATION_DEFINITIONS: - getTransformationDefinitions().clear(); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case CftLanguagePackage.CFT_MODEL__PACKAGE_NAME: - return PACKAGE_NAME_EDEFAULT == null ? packageName != null : !PACKAGE_NAME_EDEFAULT.equals(packageName); - case CftLanguagePackage.CFT_MODEL__IMPORTS: - return imports != null && !imports.isEmpty(); - case CftLanguagePackage.CFT_MODEL__COMPONENT_DEFINITIONS: - return componentDefinitions != null && !componentDefinitions.isEmpty(); - case CftLanguagePackage.CFT_MODEL__TRANSFORMATION_DEFINITIONS: - return transformationDefinitions != null && !transformationDefinitions.isEmpty(); - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() - { - if (eIsProxy()) return super.toString(); - - StringBuilder result = new StringBuilder(super.toString()); - result.append(" (packageName: "); - result.append(packageName); - result.append(')'); - return result.toString(); - } - -} //CftModelImpl diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/impl/ComponentInstanceImpl.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/impl/ComponentInstanceImpl.java deleted file mode 100644 index d1c22199..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/impl/ComponentInstanceImpl.java +++ /dev/null @@ -1,176 +0,0 @@ -/** - * generated by Xtext 2.16.0 - */ -package hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl; - -import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage; -import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.ComponentInstance; - -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentDefinition; - -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 'Component Instance'. - * - *

    - * The following features are implemented: - *

    - *
      - *
    • {@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.ComponentInstanceImpl#getComponentType Component Type}
    • - *
    - * - * @generated - */ -public class ComponentInstanceImpl extends VariableImpl implements ComponentInstance -{ - /** - * The cached value of the '{@link #getComponentType() Component Type}' reference. - * - * - * @see #getComponentType() - * @generated - * @ordered - */ - protected ComponentDefinition componentType; - - /** - * - * - * @generated - */ - protected ComponentInstanceImpl() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return CftLanguagePackage.Literals.COMPONENT_INSTANCE; - } - - /** - * - * - * @generated - */ - @Override - public ComponentDefinition getComponentType() - { - if (componentType != null && componentType.eIsProxy()) - { - InternalEObject oldComponentType = (InternalEObject)componentType; - componentType = (ComponentDefinition)eResolveProxy(oldComponentType); - if (componentType != oldComponentType) - { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, CftLanguagePackage.COMPONENT_INSTANCE__COMPONENT_TYPE, oldComponentType, componentType)); - } - } - return componentType; - } - - /** - * - * - * @generated - */ - public ComponentDefinition basicGetComponentType() - { - return componentType; - } - - /** - * - * - * @generated - */ - @Override - public void setComponentType(ComponentDefinition newComponentType) - { - ComponentDefinition oldComponentType = componentType; - componentType = newComponentType; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, CftLanguagePackage.COMPONENT_INSTANCE__COMPONENT_TYPE, oldComponentType, componentType)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case CftLanguagePackage.COMPONENT_INSTANCE__COMPONENT_TYPE: - if (resolve) return getComponentType(); - return basicGetComponentType(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case CftLanguagePackage.COMPONENT_INSTANCE__COMPONENT_TYPE: - setComponentType((ComponentDefinition)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case CftLanguagePackage.COMPONENT_INSTANCE__COMPONENT_TYPE: - setComponentType((ComponentDefinition)null); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case CftLanguagePackage.COMPONENT_INSTANCE__COMPONENT_TYPE: - return componentType != null; - } - return super.eIsSet(featureID); - } - -} //ComponentInstanceImpl diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/impl/EventReferenceImpl.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/impl/EventReferenceImpl.java deleted file mode 100644 index 2f4835a3..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/impl/EventReferenceImpl.java +++ /dev/null @@ -1,245 +0,0 @@ -/** - * generated by Xtext 2.16.0 - */ -package hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl; - -import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage; -import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.EventReference; -import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.Variable; - -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.EventDeclaration; - -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; - -/** - * - * An implementation of the model object 'Event Reference'. - * - *

    - * The following features are implemented: - *

    - *
      - *
    • {@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.EventReferenceImpl#getComponent Component}
    • - *
    • {@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.EventReferenceImpl#getEvent Event}
    • - *
    - * - * @generated - */ -public class EventReferenceImpl extends MinimalEObjectImpl.Container implements EventReference -{ - /** - * The cached value of the '{@link #getComponent() Component}' reference. - * - * - * @see #getComponent() - * @generated - * @ordered - */ - protected Variable component; - - /** - * The cached value of the '{@link #getEvent() Event}' reference. - * - * - * @see #getEvent() - * @generated - * @ordered - */ - protected EventDeclaration event; - - /** - * - * - * @generated - */ - protected EventReferenceImpl() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return CftLanguagePackage.Literals.EVENT_REFERENCE; - } - - /** - * - * - * @generated - */ - @Override - public Variable getComponent() - { - if (component != null && component.eIsProxy()) - { - InternalEObject oldComponent = (InternalEObject)component; - component = (Variable)eResolveProxy(oldComponent); - if (component != oldComponent) - { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, CftLanguagePackage.EVENT_REFERENCE__COMPONENT, oldComponent, component)); - } - } - return component; - } - - /** - * - * - * @generated - */ - public Variable basicGetComponent() - { - return component; - } - - /** - * - * - * @generated - */ - @Override - public void setComponent(Variable newComponent) - { - Variable oldComponent = component; - component = newComponent; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, CftLanguagePackage.EVENT_REFERENCE__COMPONENT, oldComponent, component)); - } - - /** - * - * - * @generated - */ - @Override - public EventDeclaration getEvent() - { - if (event != null && event.eIsProxy()) - { - InternalEObject oldEvent = (InternalEObject)event; - event = (EventDeclaration)eResolveProxy(oldEvent); - if (event != oldEvent) - { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, CftLanguagePackage.EVENT_REFERENCE__EVENT, oldEvent, event)); - } - } - return event; - } - - /** - * - * - * @generated - */ - public EventDeclaration basicGetEvent() - { - return event; - } - - /** - * - * - * @generated - */ - @Override - public void setEvent(EventDeclaration newEvent) - { - EventDeclaration oldEvent = event; - event = newEvent; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, CftLanguagePackage.EVENT_REFERENCE__EVENT, oldEvent, event)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case CftLanguagePackage.EVENT_REFERENCE__COMPONENT: - if (resolve) return getComponent(); - return basicGetComponent(); - case CftLanguagePackage.EVENT_REFERENCE__EVENT: - if (resolve) return getEvent(); - return basicGetEvent(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case CftLanguagePackage.EVENT_REFERENCE__COMPONENT: - setComponent((Variable)newValue); - return; - case CftLanguagePackage.EVENT_REFERENCE__EVENT: - setEvent((EventDeclaration)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case CftLanguagePackage.EVENT_REFERENCE__COMPONENT: - setComponent((Variable)null); - return; - case CftLanguagePackage.EVENT_REFERENCE__EVENT: - setEvent((EventDeclaration)null); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case CftLanguagePackage.EVENT_REFERENCE__COMPONENT: - return component != null; - case CftLanguagePackage.EVENT_REFERENCE__EVENT: - return event != null; - } - return super.eIsSet(featureID); - } - -} //EventReferenceImpl diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/impl/ImportDeclarationImpl.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/impl/ImportDeclarationImpl.java deleted file mode 100644 index f4e45535..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/impl/ImportDeclarationImpl.java +++ /dev/null @@ -1,180 +0,0 @@ -/** - * generated by Xtext 2.16.0 - */ -package hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl; - -import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage; -import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.ImportDeclaration; - -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 'Import Declaration'. - * - *

    - * The following features are implemented: - *

    - *
      - *
    • {@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.ImportDeclarationImpl#getImportedNamespace Imported Namespace}
    • - *
    - * - * @generated - */ -public class ImportDeclarationImpl extends MinimalEObjectImpl.Container implements ImportDeclaration -{ - /** - * The default value of the '{@link #getImportedNamespace() Imported Namespace}' attribute. - * - * - * @see #getImportedNamespace() - * @generated - * @ordered - */ - protected static final String IMPORTED_NAMESPACE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getImportedNamespace() Imported Namespace}' attribute. - * - * - * @see #getImportedNamespace() - * @generated - * @ordered - */ - protected String importedNamespace = IMPORTED_NAMESPACE_EDEFAULT; - - /** - * - * - * @generated - */ - protected ImportDeclarationImpl() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return CftLanguagePackage.Literals.IMPORT_DECLARATION; - } - - /** - * - * - * @generated - */ - @Override - public String getImportedNamespace() - { - return importedNamespace; - } - - /** - * - * - * @generated - */ - @Override - public void setImportedNamespace(String newImportedNamespace) - { - String oldImportedNamespace = importedNamespace; - importedNamespace = newImportedNamespace; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, CftLanguagePackage.IMPORT_DECLARATION__IMPORTED_NAMESPACE, oldImportedNamespace, importedNamespace)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case CftLanguagePackage.IMPORT_DECLARATION__IMPORTED_NAMESPACE: - return getImportedNamespace(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case CftLanguagePackage.IMPORT_DECLARATION__IMPORTED_NAMESPACE: - setImportedNamespace((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case CftLanguagePackage.IMPORT_DECLARATION__IMPORTED_NAMESPACE: - setImportedNamespace(IMPORTED_NAMESPACE_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case CftLanguagePackage.IMPORT_DECLARATION__IMPORTED_NAMESPACE: - return IMPORTED_NAMESPACE_EDEFAULT == null ? importedNamespace != null : !IMPORTED_NAMESPACE_EDEFAULT.equals(importedNamespace); - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() - { - if (eIsProxy()) return super.toString(); - - StringBuilder result = new StringBuilder(super.toString()); - result.append(" (importedNamespace: "); - result.append(importedNamespace); - result.append(')'); - return result.toString(); - } - -} //ImportDeclarationImpl diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/impl/LookupDefinitionImpl.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/impl/LookupDefinitionImpl.java deleted file mode 100644 index f4877855..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/impl/LookupDefinitionImpl.java +++ /dev/null @@ -1,220 +0,0 @@ -/** - * generated by Xtext 2.16.0 - */ -package hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl; - -import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage; -import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.LookupDefinition; -import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingDefinition; -import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingParameter; - -import java.util.Collection; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.common.util.EList; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -import org.eclipse.emf.ecore.util.EObjectResolvingEList; - -/** - * - * An implementation of the model object 'Lookup Definition'. - * - *

    - * The following features are implemented: - *

    - *
      - *
    • {@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.LookupDefinitionImpl#getMapping Mapping}
    • - *
    • {@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.LookupDefinitionImpl#getArguments Arguments}
    • - *
    - * - * @generated - */ -public class LookupDefinitionImpl extends VariableImpl implements LookupDefinition -{ - /** - * The cached value of the '{@link #getMapping() Mapping}' reference. - * - * - * @see #getMapping() - * @generated - * @ordered - */ - protected MappingDefinition mapping; - - /** - * The cached value of the '{@link #getArguments() Arguments}' reference list. - * - * - * @see #getArguments() - * @generated - * @ordered - */ - protected EList arguments; - - /** - * - * - * @generated - */ - protected LookupDefinitionImpl() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return CftLanguagePackage.Literals.LOOKUP_DEFINITION; - } - - /** - * - * - * @generated - */ - @Override - public MappingDefinition getMapping() - { - if (mapping != null && mapping.eIsProxy()) - { - InternalEObject oldMapping = (InternalEObject)mapping; - mapping = (MappingDefinition)eResolveProxy(oldMapping); - if (mapping != oldMapping) - { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, CftLanguagePackage.LOOKUP_DEFINITION__MAPPING, oldMapping, mapping)); - } - } - return mapping; - } - - /** - * - * - * @generated - */ - public MappingDefinition basicGetMapping() - { - return mapping; - } - - /** - * - * - * @generated - */ - @Override - public void setMapping(MappingDefinition newMapping) - { - MappingDefinition oldMapping = mapping; - mapping = newMapping; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, CftLanguagePackage.LOOKUP_DEFINITION__MAPPING, oldMapping, mapping)); - } - - /** - * - * - * @generated - */ - @Override - public EList getArguments() - { - if (arguments == null) - { - arguments = new EObjectResolvingEList(MappingParameter.class, this, CftLanguagePackage.LOOKUP_DEFINITION__ARGUMENTS); - } - return arguments; - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case CftLanguagePackage.LOOKUP_DEFINITION__MAPPING: - if (resolve) return getMapping(); - return basicGetMapping(); - case CftLanguagePackage.LOOKUP_DEFINITION__ARGUMENTS: - return getArguments(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case CftLanguagePackage.LOOKUP_DEFINITION__MAPPING: - setMapping((MappingDefinition)newValue); - return; - case CftLanguagePackage.LOOKUP_DEFINITION__ARGUMENTS: - getArguments().clear(); - getArguments().addAll((Collection)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case CftLanguagePackage.LOOKUP_DEFINITION__MAPPING: - setMapping((MappingDefinition)null); - return; - case CftLanguagePackage.LOOKUP_DEFINITION__ARGUMENTS: - getArguments().clear(); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case CftLanguagePackage.LOOKUP_DEFINITION__MAPPING: - return mapping != null; - case CftLanguagePackage.LOOKUP_DEFINITION__ARGUMENTS: - return arguments != null && !arguments.isEmpty(); - } - return super.eIsSet(featureID); - } - -} //LookupDefinitionImpl diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/impl/MappingDefinitionImpl.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/impl/MappingDefinitionImpl.java deleted file mode 100644 index d92dd935..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/impl/MappingDefinitionImpl.java +++ /dev/null @@ -1,467 +0,0 @@ -/** - * generated by Xtext 2.16.0 - */ -package hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl; - -import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.Assignment; -import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage; -import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.ComponentInstance; -import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.LookupDefinition; -import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingDefinition; -import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingParameter; - -import java.util.Collection; - -import org.eclipse.emf.common.notify.Notification; -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.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; - -import org.eclipse.emf.ecore.util.EObjectContainmentEList; -import org.eclipse.emf.ecore.util.InternalEList; - -import org.eclipse.viatra.query.patternlanguage.emf.vql.Pattern; - -/** - * - * An implementation of the model object 'Mapping Definition'. - * - *

    - * The following features are implemented: - *

    - *
      - *
    • {@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.MappingDefinitionImpl#isTopLevel Top Level}
    • - *
    • {@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.MappingDefinitionImpl#getPattern Pattern}
    • - *
    • {@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.MappingDefinitionImpl#getParameters Parameters}
    • - *
    • {@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.MappingDefinitionImpl#getComponentInstance Component Instance}
    • - *
    • {@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.MappingDefinitionImpl#getLookupDefinitions Lookup Definitions}
    • - *
    • {@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.MappingDefinitionImpl#getAssignments Assignments}
    • - *
    - * - * @generated - */ -public class MappingDefinitionImpl extends MinimalEObjectImpl.Container implements MappingDefinition -{ - /** - * The default value of the '{@link #isTopLevel() Top Level}' attribute. - * - * - * @see #isTopLevel() - * @generated - * @ordered - */ - protected static final boolean TOP_LEVEL_EDEFAULT = false; - - /** - * The cached value of the '{@link #isTopLevel() Top Level}' attribute. - * - * - * @see #isTopLevel() - * @generated - * @ordered - */ - protected boolean topLevel = TOP_LEVEL_EDEFAULT; - - /** - * The cached value of the '{@link #getPattern() Pattern}' reference. - * - * - * @see #getPattern() - * @generated - * @ordered - */ - protected Pattern pattern; - - /** - * The cached value of the '{@link #getParameters() Parameters}' containment reference list. - * - * - * @see #getParameters() - * @generated - * @ordered - */ - protected EList parameters; - - /** - * The cached value of the '{@link #getComponentInstance() Component Instance}' containment reference. - * - * - * @see #getComponentInstance() - * @generated - * @ordered - */ - protected ComponentInstance componentInstance; - - /** - * The cached value of the '{@link #getLookupDefinitions() Lookup Definitions}' containment reference list. - * - * - * @see #getLookupDefinitions() - * @generated - * @ordered - */ - protected EList lookupDefinitions; - - /** - * The cached value of the '{@link #getAssignments() Assignments}' containment reference list. - * - * - * @see #getAssignments() - * @generated - * @ordered - */ - protected EList assignments; - - /** - * - * - * @generated - */ - protected MappingDefinitionImpl() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return CftLanguagePackage.Literals.MAPPING_DEFINITION; - } - - /** - * - * - * @generated - */ - @Override - public boolean isTopLevel() - { - return topLevel; - } - - /** - * - * - * @generated - */ - @Override - public void setTopLevel(boolean newTopLevel) - { - boolean oldTopLevel = topLevel; - topLevel = newTopLevel; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, CftLanguagePackage.MAPPING_DEFINITION__TOP_LEVEL, oldTopLevel, topLevel)); - } - - /** - * - * - * @generated - */ - @Override - 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, CftLanguagePackage.MAPPING_DEFINITION__PATTERN, oldPattern, pattern)); - } - } - return pattern; - } - - /** - * - * - * @generated - */ - public Pattern basicGetPattern() - { - return pattern; - } - - /** - * - * - * @generated - */ - @Override - public void setPattern(Pattern newPattern) - { - Pattern oldPattern = pattern; - pattern = newPattern; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, CftLanguagePackage.MAPPING_DEFINITION__PATTERN, oldPattern, pattern)); - } - - /** - * - * - * @generated - */ - @Override - public EList getParameters() - { - if (parameters == null) - { - parameters = new EObjectContainmentEList(MappingParameter.class, this, CftLanguagePackage.MAPPING_DEFINITION__PARAMETERS); - } - return parameters; - } - - /** - * - * - * @generated - */ - @Override - public ComponentInstance getComponentInstance() - { - return componentInstance; - } - - /** - * - * - * @generated - */ - public NotificationChain basicSetComponentInstance(ComponentInstance newComponentInstance, NotificationChain msgs) - { - ComponentInstance oldComponentInstance = componentInstance; - componentInstance = newComponentInstance; - if (eNotificationRequired()) - { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, CftLanguagePackage.MAPPING_DEFINITION__COMPONENT_INSTANCE, oldComponentInstance, newComponentInstance); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * - * - * @generated - */ - @Override - public void setComponentInstance(ComponentInstance newComponentInstance) - { - if (newComponentInstance != componentInstance) - { - NotificationChain msgs = null; - if (componentInstance != null) - msgs = ((InternalEObject)componentInstance).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - CftLanguagePackage.MAPPING_DEFINITION__COMPONENT_INSTANCE, null, msgs); - if (newComponentInstance != null) - msgs = ((InternalEObject)newComponentInstance).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - CftLanguagePackage.MAPPING_DEFINITION__COMPONENT_INSTANCE, null, msgs); - msgs = basicSetComponentInstance(newComponentInstance, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, CftLanguagePackage.MAPPING_DEFINITION__COMPONENT_INSTANCE, newComponentInstance, newComponentInstance)); - } - - /** - * - * - * @generated - */ - @Override - public EList getLookupDefinitions() - { - if (lookupDefinitions == null) - { - lookupDefinitions = new EObjectContainmentEList(LookupDefinition.class, this, CftLanguagePackage.MAPPING_DEFINITION__LOOKUP_DEFINITIONS); - } - return lookupDefinitions; - } - - /** - * - * - * @generated - */ - @Override - public EList getAssignments() - { - if (assignments == null) - { - assignments = new EObjectContainmentEList(Assignment.class, this, CftLanguagePackage.MAPPING_DEFINITION__ASSIGNMENTS); - } - return assignments; - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) - { - switch (featureID) - { - case CftLanguagePackage.MAPPING_DEFINITION__PARAMETERS: - return ((InternalEList)getParameters()).basicRemove(otherEnd, msgs); - case CftLanguagePackage.MAPPING_DEFINITION__COMPONENT_INSTANCE: - return basicSetComponentInstance(null, msgs); - case CftLanguagePackage.MAPPING_DEFINITION__LOOKUP_DEFINITIONS: - return ((InternalEList)getLookupDefinitions()).basicRemove(otherEnd, msgs); - case CftLanguagePackage.MAPPING_DEFINITION__ASSIGNMENTS: - return ((InternalEList)getAssignments()).basicRemove(otherEnd, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case CftLanguagePackage.MAPPING_DEFINITION__TOP_LEVEL: - return isTopLevel(); - case CftLanguagePackage.MAPPING_DEFINITION__PATTERN: - if (resolve) return getPattern(); - return basicGetPattern(); - case CftLanguagePackage.MAPPING_DEFINITION__PARAMETERS: - return getParameters(); - case CftLanguagePackage.MAPPING_DEFINITION__COMPONENT_INSTANCE: - return getComponentInstance(); - case CftLanguagePackage.MAPPING_DEFINITION__LOOKUP_DEFINITIONS: - return getLookupDefinitions(); - case CftLanguagePackage.MAPPING_DEFINITION__ASSIGNMENTS: - return getAssignments(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case CftLanguagePackage.MAPPING_DEFINITION__TOP_LEVEL: - setTopLevel((Boolean)newValue); - return; - case CftLanguagePackage.MAPPING_DEFINITION__PATTERN: - setPattern((Pattern)newValue); - return; - case CftLanguagePackage.MAPPING_DEFINITION__PARAMETERS: - getParameters().clear(); - getParameters().addAll((Collection)newValue); - return; - case CftLanguagePackage.MAPPING_DEFINITION__COMPONENT_INSTANCE: - setComponentInstance((ComponentInstance)newValue); - return; - case CftLanguagePackage.MAPPING_DEFINITION__LOOKUP_DEFINITIONS: - getLookupDefinitions().clear(); - getLookupDefinitions().addAll((Collection)newValue); - return; - case CftLanguagePackage.MAPPING_DEFINITION__ASSIGNMENTS: - getAssignments().clear(); - getAssignments().addAll((Collection)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case CftLanguagePackage.MAPPING_DEFINITION__TOP_LEVEL: - setTopLevel(TOP_LEVEL_EDEFAULT); - return; - case CftLanguagePackage.MAPPING_DEFINITION__PATTERN: - setPattern((Pattern)null); - return; - case CftLanguagePackage.MAPPING_DEFINITION__PARAMETERS: - getParameters().clear(); - return; - case CftLanguagePackage.MAPPING_DEFINITION__COMPONENT_INSTANCE: - setComponentInstance((ComponentInstance)null); - return; - case CftLanguagePackage.MAPPING_DEFINITION__LOOKUP_DEFINITIONS: - getLookupDefinitions().clear(); - return; - case CftLanguagePackage.MAPPING_DEFINITION__ASSIGNMENTS: - getAssignments().clear(); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case CftLanguagePackage.MAPPING_DEFINITION__TOP_LEVEL: - return topLevel != TOP_LEVEL_EDEFAULT; - case CftLanguagePackage.MAPPING_DEFINITION__PATTERN: - return pattern != null; - case CftLanguagePackage.MAPPING_DEFINITION__PARAMETERS: - return parameters != null && !parameters.isEmpty(); - case CftLanguagePackage.MAPPING_DEFINITION__COMPONENT_INSTANCE: - return componentInstance != null; - case CftLanguagePackage.MAPPING_DEFINITION__LOOKUP_DEFINITIONS: - return lookupDefinitions != null && !lookupDefinitions.isEmpty(); - case CftLanguagePackage.MAPPING_DEFINITION__ASSIGNMENTS: - return assignments != null && !assignments.isEmpty(); - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() - { - if (eIsProxy()) return super.toString(); - - StringBuilder result = new StringBuilder(super.toString()); - result.append(" (topLevel: "); - result.append(topLevel); - result.append(')'); - return result.toString(); - } - -} //MappingDefinitionImpl diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/impl/MappingParameterImpl.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/impl/MappingParameterImpl.java deleted file mode 100644 index 9d0ee701..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/impl/MappingParameterImpl.java +++ /dev/null @@ -1,180 +0,0 @@ -/** - * generated by Xtext 2.16.0 - */ -package hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl; - -import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage; -import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingParameter; - -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 'Mapping Parameter'. - * - *

    - * The following features are implemented: - *

    - *
      - *
    • {@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.MappingParameterImpl#getName Name}
    • - *
    - * - * @generated - */ -public class MappingParameterImpl extends MinimalEObjectImpl.Container implements MappingParameter -{ - /** - * The default value of the '{@link #getName() Name}' attribute. - * - * - * @see #getName() - * @generated - * @ordered - */ - protected static final String NAME_EDEFAULT = null; - - /** - * The cached value of the '{@link #getName() Name}' attribute. - * - * - * @see #getName() - * @generated - * @ordered - */ - protected String name = NAME_EDEFAULT; - - /** - * - * - * @generated - */ - protected MappingParameterImpl() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return CftLanguagePackage.Literals.MAPPING_PARAMETER; - } - - /** - * - * - * @generated - */ - @Override - public String getName() - { - return name; - } - - /** - * - * - * @generated - */ - @Override - public void setName(String newName) - { - String oldName = name; - name = newName; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, CftLanguagePackage.MAPPING_PARAMETER__NAME, oldName, name)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case CftLanguagePackage.MAPPING_PARAMETER__NAME: - return getName(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case CftLanguagePackage.MAPPING_PARAMETER__NAME: - setName((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case CftLanguagePackage.MAPPING_PARAMETER__NAME: - setName(NAME_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case CftLanguagePackage.MAPPING_PARAMETER__NAME: - return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() - { - if (eIsProxy()) return super.toString(); - - StringBuilder result = new StringBuilder(super.toString()); - result.append(" (name: "); - result.append(name); - result.append(')'); - return result.toString(); - } - -} //MappingParameterImpl diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/impl/TransformationDefinitionImpl.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/impl/TransformationDefinitionImpl.java deleted file mode 100644 index 89e89b0f..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/impl/TransformationDefinitionImpl.java +++ /dev/null @@ -1,244 +0,0 @@ -/** - * generated by Xtext 2.16.0 - */ -package hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl; - -import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage; -import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingDefinition; -import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.TransformationDefinition; - -import java.util.Collection; - -import org.eclipse.emf.common.notify.Notification; -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.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; - -import org.eclipse.emf.ecore.util.EObjectContainmentEList; -import org.eclipse.emf.ecore.util.InternalEList; - -/** - * - * An implementation of the model object 'Transformation Definition'. - * - *

    - * The following features are implemented: - *

    - *
      - *
    • {@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.TransformationDefinitionImpl#getName Name}
    • - *
    • {@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.TransformationDefinitionImpl#getMappingDefinitions Mapping Definitions}
    • - *
    - * - * @generated - */ -public class TransformationDefinitionImpl extends MinimalEObjectImpl.Container implements TransformationDefinition -{ - /** - * The default value of the '{@link #getName() Name}' attribute. - * - * - * @see #getName() - * @generated - * @ordered - */ - protected static final String NAME_EDEFAULT = null; - - /** - * The cached value of the '{@link #getName() Name}' attribute. - * - * - * @see #getName() - * @generated - * @ordered - */ - protected String name = NAME_EDEFAULT; - - /** - * The cached value of the '{@link #getMappingDefinitions() Mapping Definitions}' containment reference list. - * - * - * @see #getMappingDefinitions() - * @generated - * @ordered - */ - protected EList mappingDefinitions; - - /** - * - * - * @generated - */ - protected TransformationDefinitionImpl() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return CftLanguagePackage.Literals.TRANSFORMATION_DEFINITION; - } - - /** - * - * - * @generated - */ - @Override - public String getName() - { - return name; - } - - /** - * - * - * @generated - */ - @Override - public void setName(String newName) - { - String oldName = name; - name = newName; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, CftLanguagePackage.TRANSFORMATION_DEFINITION__NAME, oldName, name)); - } - - /** - * - * - * @generated - */ - @Override - public EList getMappingDefinitions() - { - if (mappingDefinitions == null) - { - mappingDefinitions = new EObjectContainmentEList(MappingDefinition.class, this, CftLanguagePackage.TRANSFORMATION_DEFINITION__MAPPING_DEFINITIONS); - } - return mappingDefinitions; - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) - { - switch (featureID) - { - case CftLanguagePackage.TRANSFORMATION_DEFINITION__MAPPING_DEFINITIONS: - return ((InternalEList)getMappingDefinitions()).basicRemove(otherEnd, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case CftLanguagePackage.TRANSFORMATION_DEFINITION__NAME: - return getName(); - case CftLanguagePackage.TRANSFORMATION_DEFINITION__MAPPING_DEFINITIONS: - return getMappingDefinitions(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case CftLanguagePackage.TRANSFORMATION_DEFINITION__NAME: - setName((String)newValue); - return; - case CftLanguagePackage.TRANSFORMATION_DEFINITION__MAPPING_DEFINITIONS: - getMappingDefinitions().clear(); - getMappingDefinitions().addAll((Collection)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case CftLanguagePackage.TRANSFORMATION_DEFINITION__NAME: - setName(NAME_EDEFAULT); - return; - case CftLanguagePackage.TRANSFORMATION_DEFINITION__MAPPING_DEFINITIONS: - getMappingDefinitions().clear(); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case CftLanguagePackage.TRANSFORMATION_DEFINITION__NAME: - return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); - case CftLanguagePackage.TRANSFORMATION_DEFINITION__MAPPING_DEFINITIONS: - return mappingDefinitions != null && !mappingDefinitions.isEmpty(); - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() - { - if (eIsProxy()) return super.toString(); - - StringBuilder result = new StringBuilder(super.toString()); - result.append(" (name: "); - result.append(name); - result.append(')'); - return result.toString(); - } - -} //TransformationDefinitionImpl diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/impl/VariableImpl.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/impl/VariableImpl.java deleted file mode 100644 index 3c7d1ccb..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/impl/VariableImpl.java +++ /dev/null @@ -1,180 +0,0 @@ -/** - * generated by Xtext 2.16.0 - */ -package hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl; - -import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage; -import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.Variable; - -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 'Variable'. - * - *

    - * The following features are implemented: - *

    - *
      - *
    • {@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.VariableImpl#getName Name}
    • - *
    - * - * @generated - */ -public class VariableImpl extends MinimalEObjectImpl.Container implements Variable -{ - /** - * The default value of the '{@link #getName() Name}' attribute. - * - * - * @see #getName() - * @generated - * @ordered - */ - protected static final String NAME_EDEFAULT = null; - - /** - * The cached value of the '{@link #getName() Name}' attribute. - * - * - * @see #getName() - * @generated - * @ordered - */ - protected String name = NAME_EDEFAULT; - - /** - * - * - * @generated - */ - protected VariableImpl() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return CftLanguagePackage.Literals.VARIABLE; - } - - /** - * - * - * @generated - */ - @Override - public String getName() - { - return name; - } - - /** - * - * - * @generated - */ - @Override - public void setName(String newName) - { - String oldName = name; - name = newName; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, CftLanguagePackage.VARIABLE__NAME, oldName, name)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case CftLanguagePackage.VARIABLE__NAME: - return getName(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case CftLanguagePackage.VARIABLE__NAME: - setName((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case CftLanguagePackage.VARIABLE__NAME: - setName(NAME_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case CftLanguagePackage.VARIABLE__NAME: - return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() - { - if (eIsProxy()) return super.toString(); - - StringBuilder result = new StringBuilder(super.toString()); - result.append(" (name: "); - result.append(name); - result.append(')'); - return result.toString(); - } - -} //VariableImpl diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/util/CftLanguageAdapterFactory.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/util/CftLanguageAdapterFactory.java deleted file mode 100644 index 99fa656d..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/util/CftLanguageAdapterFactory.java +++ /dev/null @@ -1,313 +0,0 @@ -/** - * generated by Xtext 2.16.0 - */ -package hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.util; - -import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.*; - -import org.eclipse.emf.common.notify.Adapter; -import org.eclipse.emf.common.notify.Notifier; - -import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl; - -import org.eclipse.emf.ecore.EObject; - -/** - * - * The Adapter Factory for the model. - * It provides an adapter createXXX method for each class of the model. - * - * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage - * @generated - */ -public class CftLanguageAdapterFactory extends AdapterFactoryImpl -{ - /** - * The cached model package. - * - * - * @generated - */ - protected static CftLanguagePackage modelPackage; - - /** - * Creates an instance of the adapter factory. - * - * - * @generated - */ - public CftLanguageAdapterFactory() - { - if (modelPackage == null) - { - modelPackage = CftLanguagePackage.eINSTANCE; - } - } - - /** - * Returns whether this factory is applicable for the type of the object. - * - * This implementation returns true if the object is either the model's package or is an instance object of the model. - * - * @return whether this factory is applicable for the type of the object. - * @generated - */ - @Override - public boolean isFactoryForType(Object object) - { - if (object == modelPackage) - { - return true; - } - if (object instanceof EObject) - { - return ((EObject)object).eClass().getEPackage() == modelPackage; - } - return false; - } - - /** - * The switch that delegates to the createXXX methods. - * - * - * @generated - */ - protected CftLanguageSwitch modelSwitch = - new CftLanguageSwitch() - { - @Override - public Adapter caseCftModel(CftModel object) - { - return createCftModelAdapter(); - } - @Override - public Adapter caseImportDeclaration(ImportDeclaration object) - { - return createImportDeclarationAdapter(); - } - @Override - public Adapter caseTransformationDefinition(TransformationDefinition object) - { - return createTransformationDefinitionAdapter(); - } - @Override - public Adapter caseMappingDefinition(MappingDefinition object) - { - return createMappingDefinitionAdapter(); - } - @Override - public Adapter caseMappingParameter(MappingParameter object) - { - return createMappingParameterAdapter(); - } - @Override - public Adapter caseLookupDefinition(LookupDefinition object) - { - return createLookupDefinitionAdapter(); - } - @Override - public Adapter caseVariable(Variable object) - { - return createVariableAdapter(); - } - @Override - public Adapter caseAssignment(Assignment object) - { - return createAssignmentAdapter(); - } - @Override - public Adapter caseEventReference(EventReference object) - { - return createEventReferenceAdapter(); - } - @Override - public Adapter caseComponentInstance(ComponentInstance object) - { - return createComponentInstanceAdapter(); - } - @Override - public Adapter defaultCase(EObject object) - { - return createEObjectAdapter(); - } - }; - - /** - * Creates an adapter for the target. - * - * - * @param target the object to adapt. - * @return the adapter for the target. - * @generated - */ - @Override - public Adapter createAdapter(Notifier target) - { - return modelSwitch.doSwitch((EObject)target); - } - - - /** - * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftModel Cft Model}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftModel - * @generated - */ - public Adapter createCftModelAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.ImportDeclaration Import Declaration}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.ImportDeclaration - * @generated - */ - public Adapter createImportDeclarationAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.TransformationDefinition Transformation Definition}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.TransformationDefinition - * @generated - */ - public Adapter createTransformationDefinitionAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingDefinition Mapping Definition}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingDefinition - * @generated - */ - public Adapter createMappingDefinitionAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingParameter Mapping Parameter}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingParameter - * @generated - */ - public Adapter createMappingParameterAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.LookupDefinition Lookup Definition}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.LookupDefinition - * @generated - */ - public Adapter createLookupDefinitionAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.Variable Variable}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.Variable - * @generated - */ - public Adapter createVariableAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.Assignment Assignment}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.Assignment - * @generated - */ - public Adapter createAssignmentAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.EventReference Event Reference}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.EventReference - * @generated - */ - public Adapter createEventReferenceAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.ComponentInstance Component Instance}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.ComponentInstance - * @generated - */ - public Adapter createComponentInstanceAdapter() - { - return null; - } - - /** - * Creates a new adapter for the default case. - * - * This default implementation returns null. - * - * @return the new adapter. - * @generated - */ - public Adapter createEObjectAdapter() - { - return null; - } - -} //CftLanguageAdapterFactory diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/util/CftLanguageSwitch.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/util/CftLanguageSwitch.java deleted file mode 100644 index b3de106b..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/cftLanguage/util/CftLanguageSwitch.java +++ /dev/null @@ -1,329 +0,0 @@ -/** - * generated by Xtext 2.16.0 - */ -package hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.util; - -import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.*; - -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.EPackage; - -import org.eclipse.emf.ecore.util.Switch; - -/** - * - * The Switch for the model's inheritance hierarchy. - * It supports the call {@link #doSwitch(EObject) doSwitch(object)} - * to invoke the caseXXX method for each class of the model, - * starting with the actual class of the object - * and proceeding up the inheritance hierarchy - * until a non-null result is returned, - * which is the result of the switch. - * - * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage - * @generated - */ -public class CftLanguageSwitch extends Switch -{ - /** - * The cached model package - * - * - * @generated - */ - protected static CftLanguagePackage modelPackage; - - /** - * Creates an instance of the switch. - * - * - * @generated - */ - public CftLanguageSwitch() - { - if (modelPackage == null) - { - modelPackage = CftLanguagePackage.eINSTANCE; - } - } - - /** - * Checks whether this is a switch for the given package. - * - * - * @param ePackage the package in question. - * @return whether this is a switch for the given package. - * @generated - */ - @Override - protected boolean isSwitchFor(EPackage ePackage) - { - return ePackage == modelPackage; - } - - /** - * Calls caseXXX for each class of the model until one returns a non null result; it yields that result. - * - * - * @return the first non-null result returned by a caseXXX call. - * @generated - */ - @Override - protected T doSwitch(int classifierID, EObject theEObject) - { - switch (classifierID) - { - case CftLanguagePackage.CFT_MODEL: - { - CftModel cftModel = (CftModel)theEObject; - T result = caseCftModel(cftModel); - if (result == null) result = defaultCase(theEObject); - return result; - } - case CftLanguagePackage.IMPORT_DECLARATION: - { - ImportDeclaration importDeclaration = (ImportDeclaration)theEObject; - T result = caseImportDeclaration(importDeclaration); - if (result == null) result = defaultCase(theEObject); - return result; - } - case CftLanguagePackage.TRANSFORMATION_DEFINITION: - { - TransformationDefinition transformationDefinition = (TransformationDefinition)theEObject; - T result = caseTransformationDefinition(transformationDefinition); - if (result == null) result = defaultCase(theEObject); - return result; - } - case CftLanguagePackage.MAPPING_DEFINITION: - { - MappingDefinition mappingDefinition = (MappingDefinition)theEObject; - T result = caseMappingDefinition(mappingDefinition); - if (result == null) result = defaultCase(theEObject); - return result; - } - case CftLanguagePackage.MAPPING_PARAMETER: - { - MappingParameter mappingParameter = (MappingParameter)theEObject; - T result = caseMappingParameter(mappingParameter); - if (result == null) result = defaultCase(theEObject); - return result; - } - case CftLanguagePackage.LOOKUP_DEFINITION: - { - LookupDefinition lookupDefinition = (LookupDefinition)theEObject; - T result = caseLookupDefinition(lookupDefinition); - if (result == null) result = caseVariable(lookupDefinition); - if (result == null) result = defaultCase(theEObject); - return result; - } - case CftLanguagePackage.VARIABLE: - { - Variable variable = (Variable)theEObject; - T result = caseVariable(variable); - if (result == null) result = defaultCase(theEObject); - return result; - } - case CftLanguagePackage.ASSIGNMENT: - { - Assignment assignment = (Assignment)theEObject; - T result = caseAssignment(assignment); - if (result == null) result = defaultCase(theEObject); - return result; - } - case CftLanguagePackage.EVENT_REFERENCE: - { - EventReference eventReference = (EventReference)theEObject; - T result = caseEventReference(eventReference); - if (result == null) result = defaultCase(theEObject); - return result; - } - case CftLanguagePackage.COMPONENT_INSTANCE: - { - ComponentInstance componentInstance = (ComponentInstance)theEObject; - T result = caseComponentInstance(componentInstance); - if (result == null) result = caseVariable(componentInstance); - if (result == null) result = defaultCase(theEObject); - return result; - } - default: return defaultCase(theEObject); - } - } - - /** - * Returns the result of interpreting the object as an instance of 'Cft Model'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Cft Model'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseCftModel(CftModel object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Import Declaration'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Import Declaration'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseImportDeclaration(ImportDeclaration object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Transformation Definition'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Transformation Definition'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseTransformationDefinition(TransformationDefinition object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Mapping Definition'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Mapping Definition'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseMappingDefinition(MappingDefinition object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Mapping Parameter'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Mapping Parameter'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseMappingParameter(MappingParameter object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Lookup Definition'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Lookup Definition'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseLookupDefinition(LookupDefinition object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Variable'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Variable'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseVariable(Variable object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Assignment'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Assignment'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseAssignment(Assignment object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Event Reference'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Event Reference'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseEventReference(EventReference object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Component Instance'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Component Instance'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseComponentInstance(ComponentInstance object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'EObject'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch, but this is the last case anyway. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'EObject'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) - * @generated - */ - @Override - public T defaultCase(EObject object) - { - return null; - } - -} //CftLanguageSwitch diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/parser/antlr/CftLanguageAntlrTokenFileProvider.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/parser/antlr/CftLanguageAntlrTokenFileProvider.java deleted file mode 100644 index 14a64042..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/parser/antlr/CftLanguageAntlrTokenFileProvider.java +++ /dev/null @@ -1,16 +0,0 @@ -/* - * generated by Xtext 2.16.0 - */ -package hu.bme.mit.inf.dslreasoner.faulttree.components.parser.antlr; - -import java.io.InputStream; -import org.eclipse.xtext.parser.antlr.IAntlrTokenFileProvider; - -public class CftLanguageAntlrTokenFileProvider implements IAntlrTokenFileProvider { - - @Override - public InputStream getAntlrTokenFile() { - ClassLoader classLoader = getClass().getClassLoader(); - return classLoader.getResourceAsStream("hu/bme/mit/inf/dslreasoner/faulttree/components/parser/antlr/internal/InternalCftLanguage.tokens"); - } -} diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/parser/antlr/CftLanguageParser.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/parser/antlr/CftLanguageParser.java deleted file mode 100644 index 602ea50d..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/parser/antlr/CftLanguageParser.java +++ /dev/null @@ -1,40 +0,0 @@ -/* - * generated by Xtext 2.16.0 - */ -package hu.bme.mit.inf.dslreasoner.faulttree.components.parser.antlr; - -import com.google.inject.Inject; -import hu.bme.mit.inf.dslreasoner.faulttree.components.parser.antlr.internal.InternalCftLanguageParser; -import hu.bme.mit.inf.dslreasoner.faulttree.components.services.CftLanguageGrammarAccess; -import org.eclipse.xtext.parser.antlr.AbstractAntlrParser; -import org.eclipse.xtext.parser.antlr.XtextTokenStream; - -public class CftLanguageParser extends AbstractAntlrParser { - - @Inject - private CftLanguageGrammarAccess grammarAccess; - - @Override - protected void setInitialHiddenTokens(XtextTokenStream tokenStream) { - tokenStream.setInitialHiddenTokens("RULE_WS", "RULE_ML_COMMENT", "RULE_SL_COMMENT"); - } - - - @Override - protected InternalCftLanguageParser createParser(XtextTokenStream stream) { - return new InternalCftLanguageParser(stream, getGrammarAccess()); - } - - @Override - protected String getDefaultRuleName() { - return "CftModel"; - } - - public CftLanguageGrammarAccess getGrammarAccess() { - return this.grammarAccess; - } - - public void setGrammarAccess(CftLanguageGrammarAccess grammarAccess) { - this.grammarAccess = grammarAccess; - } -} diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/parser/antlr/internal/InternalCftLanguage.g b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/parser/antlr/internal/InternalCftLanguage.g deleted file mode 100644 index 51479ad3..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/parser/antlr/internal/InternalCftLanguage.g +++ /dev/null @@ -1,1688 +0,0 @@ -/* - * generated by Xtext 2.16.0 - */ -grammar InternalCftLanguage; - -options { - superClass=AbstractInternalAntlrParser; -} - -@lexer::header { -package hu.bme.mit.inf.dslreasoner.faulttree.components.parser.antlr.internal; - -// Hack: Use our own Lexer superclass by means of import. -// Currently there is no other way to specify the superclass for the lexer. -import org.eclipse.xtext.parser.antlr.Lexer; -} - -@parser::header { -package hu.bme.mit.inf.dslreasoner.faulttree.components.parser.antlr.internal; - -import org.eclipse.xtext.*; -import org.eclipse.xtext.parser.*; -import org.eclipse.xtext.parser.impl.*; -import org.eclipse.emf.ecore.util.EcoreUtil; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.xtext.parser.antlr.AbstractInternalAntlrParser; -import org.eclipse.xtext.parser.antlr.XtextTokenStream; -import org.eclipse.xtext.parser.antlr.XtextTokenStream.HiddenTokens; -import org.eclipse.xtext.parser.antlr.AntlrDatatypeRuleToken; -import hu.bme.mit.inf.dslreasoner.faulttree.components.services.CftLanguageGrammarAccess; - -} - -@parser::members { - - private CftLanguageGrammarAccess grammarAccess; - - public InternalCftLanguageParser(TokenStream input, CftLanguageGrammarAccess grammarAccess) { - this(input); - this.grammarAccess = grammarAccess; - registerRules(grammarAccess.getGrammar()); - } - - @Override - protected String getFirstRuleName() { - return "CftModel"; - } - - @Override - protected CftLanguageGrammarAccess getGrammarAccess() { - return grammarAccess; - } - -} - -@rulecatch { - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } -} - -// Entry rule entryRuleCftModel -entryRuleCftModel returns [EObject current=null]: - { newCompositeNode(grammarAccess.getCftModelRule()); } - iv_ruleCftModel=ruleCftModel - { $current=$iv_ruleCftModel.current; } - EOF; - -// Rule CftModel -ruleCftModel returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - otherlv_0='package' - { - newLeafNode(otherlv_0, grammarAccess.getCftModelAccess().getPackageKeyword_0()); - } - ( - ( - { - newCompositeNode(grammarAccess.getCftModelAccess().getPackageNameQualifiedNameParserRuleCall_1_0()); - } - lv_packageName_1_0=ruleQualifiedName - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getCftModelRule()); - } - set( - $current, - "packageName", - lv_packageName_1_0, - "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.QualifiedName"); - afterParserOrEnumRuleCall(); - } - ) - ) - ( - otherlv_2=';' - { - newLeafNode(otherlv_2, grammarAccess.getCftModelAccess().getSemicolonKeyword_2()); - } - )? - ( - ( - { - newCompositeNode(grammarAccess.getCftModelAccess().getImportsImportDeclarationParserRuleCall_3_0()); - } - lv_imports_3_0=ruleImportDeclaration - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getCftModelRule()); - } - add( - $current, - "imports", - lv_imports_3_0, - "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.ImportDeclaration"); - afterParserOrEnumRuleCall(); - } - ) - )* - ( - ( - ( - { - newCompositeNode(grammarAccess.getCftModelAccess().getComponentDefinitionsComponentDefinitionParserRuleCall_4_0_0()); - } - lv_componentDefinitions_4_0=ruleComponentDefinition - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getCftModelRule()); - } - add( - $current, - "componentDefinitions", - lv_componentDefinitions_4_0, - "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.ComponentDefinition"); - afterParserOrEnumRuleCall(); - } - ) - ) - | - ( - ( - { - newCompositeNode(grammarAccess.getCftModelAccess().getTransformationDefinitionsTransformationDefinitionParserRuleCall_4_1_0()); - } - lv_transformationDefinitions_5_0=ruleTransformationDefinition - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getCftModelRule()); - } - add( - $current, - "transformationDefinitions", - lv_transformationDefinitions_5_0, - "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.TransformationDefinition"); - afterParserOrEnumRuleCall(); - } - ) - ) - )* - ) -; - -// Entry rule entryRuleImportDeclaration -entryRuleImportDeclaration returns [EObject current=null]: - { newCompositeNode(grammarAccess.getImportDeclarationRule()); } - iv_ruleImportDeclaration=ruleImportDeclaration - { $current=$iv_ruleImportDeclaration.current; } - EOF; - -// Rule ImportDeclaration -ruleImportDeclaration returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - otherlv_0='import' - { - newLeafNode(otherlv_0, grammarAccess.getImportDeclarationAccess().getImportKeyword_0()); - } - ( - ( - { - newCompositeNode(grammarAccess.getImportDeclarationAccess().getImportedNamespaceQualifiedNameWithWildcardParserRuleCall_1_0()); - } - lv_importedNamespace_1_0=ruleQualifiedNameWithWildcard - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getImportDeclarationRule()); - } - set( - $current, - "importedNamespace", - lv_importedNamespace_1_0, - "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.QualifiedNameWithWildcard"); - afterParserOrEnumRuleCall(); - } - ) - ) - ( - otherlv_2=';' - { - newLeafNode(otherlv_2, grammarAccess.getImportDeclarationAccess().getSemicolonKeyword_2()); - } - )? - ) -; - -// Entry rule entryRuleComponentDefinition -entryRuleComponentDefinition returns [EObject current=null]: - { newCompositeNode(grammarAccess.getComponentDefinitionRule()); } - iv_ruleComponentDefinition=ruleComponentDefinition - { $current=$iv_ruleComponentDefinition.current; } - EOF; - -// Rule ComponentDefinition -ruleComponentDefinition returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - otherlv_0='cft' - { - newLeafNode(otherlv_0, grammarAccess.getComponentDefinitionAccess().getCftKeyword_0()); - } - ( - ( - { - newCompositeNode(grammarAccess.getComponentDefinitionAccess().getNameValidIdParserRuleCall_1_0()); - } - lv_name_1_0=ruleValidId - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getComponentDefinitionRule()); - } - set( - $current, - "name", - lv_name_1_0, - "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.ValidId"); - afterParserOrEnumRuleCall(); - } - ) - ) - otherlv_2='{' - { - newLeafNode(otherlv_2, grammarAccess.getComponentDefinitionAccess().getLeftCurlyBracketKeyword_2()); - } - ( - ( - { - getUnorderedGroupHelper().enter(grammarAccess.getComponentDefinitionAccess().getUnorderedGroup_3()); - } - ( - ( - ( - {getUnorderedGroupHelper().canSelect(grammarAccess.getComponentDefinitionAccess().getUnorderedGroup_3(), 0)}?=>( - { - getUnorderedGroupHelper().select(grammarAccess.getComponentDefinitionAccess().getUnorderedGroup_3(), 0); - } - ({true}?=>(otherlv_4='in' - { - newLeafNode(otherlv_4, grammarAccess.getComponentDefinitionAccess().getInKeyword_3_0_0()); - } - ( - ( - { - newCompositeNode(grammarAccess.getComponentDefinitionAccess().getInputEventsInputEventParserRuleCall_3_0_1_0()); - } - lv_inputEvents_5_0=ruleInputEvent - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getComponentDefinitionRule()); - } - add( - $current, - "inputEvents", - lv_inputEvents_5_0, - "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.InputEvent"); - afterParserOrEnumRuleCall(); - } - ) - )* - otherlv_6=';' - { - newLeafNode(otherlv_6, grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_3_0_2()); - } - )) - { - getUnorderedGroupHelper().returnFromSelection(grammarAccess.getComponentDefinitionAccess().getUnorderedGroup_3()); - } - ) - )| - ( - {getUnorderedGroupHelper().canSelect(grammarAccess.getComponentDefinitionAccess().getUnorderedGroup_3(), 1)}?=>( - { - getUnorderedGroupHelper().select(grammarAccess.getComponentDefinitionAccess().getUnorderedGroup_3(), 1); - } - ({true}?=>(otherlv_7='out' - { - newLeafNode(otherlv_7, grammarAccess.getComponentDefinitionAccess().getOutKeyword_3_1_0()); - } - ( - ( - { - if ($current==null) { - $current = createModelElement(grammarAccess.getComponentDefinitionRule()); - } - } - { - newCompositeNode(grammarAccess.getComponentDefinitionAccess().getOutputEventsEventDeclarationCrossReference_3_1_1_0()); - } - ruleValidId - { - afterParserOrEnumRuleCall(); - } - ) - )* - otherlv_9=';' - { - newLeafNode(otherlv_9, grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_3_1_2()); - } - )) - { - getUnorderedGroupHelper().returnFromSelection(grammarAccess.getComponentDefinitionAccess().getUnorderedGroup_3()); - } - ) - ) - )* - ) - ) - { - getUnorderedGroupHelper().leave(grammarAccess.getComponentDefinitionAccess().getUnorderedGroup_3()); - } - ) - ( - ( - ( - { - newCompositeNode(grammarAccess.getComponentDefinitionAccess().getEventDefinitionsEventDefinitionParserRuleCall_4_0_0()); - } - lv_eventDefinitions_10_0=ruleEventDefinition - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getComponentDefinitionRule()); - } - add( - $current, - "eventDefinitions", - lv_eventDefinitions_10_0, - "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.EventDefinition"); - afterParserOrEnumRuleCall(); - } - ) - ) - otherlv_11=';' - { - newLeafNode(otherlv_11, grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_4_1()); - } - )* - otherlv_12='}' - { - newLeafNode(otherlv_12, grammarAccess.getComponentDefinitionAccess().getRightCurlyBracketKeyword_5()); - } - ) -; - -// Entry rule entryRuleInputEvent -entryRuleInputEvent returns [EObject current=null]: - { newCompositeNode(grammarAccess.getInputEventRule()); } - iv_ruleInputEvent=ruleInputEvent - { $current=$iv_ruleInputEvent.current; } - EOF; - -// Rule InputEvent -ruleInputEvent returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - ( - ( - { - newCompositeNode(grammarAccess.getInputEventAccess().getNameValidIdParserRuleCall_0_0()); - } - lv_name_0_0=ruleValidId - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getInputEventRule()); - } - set( - $current, - "name", - lv_name_0_0, - "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.ValidId"); - afterParserOrEnumRuleCall(); - } - ) - ) - ( - ( - lv_multiple_1_0='[]' - { - newLeafNode(lv_multiple_1_0, grammarAccess.getInputEventAccess().getMultipleLeftSquareBracketRightSquareBracketKeyword_1_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getInputEventRule()); - } - setWithLastConsumed($current, "multiple", true, "[]"); - } - ) - )? - ) -; - -// Entry rule entryRuleEventDefinition -entryRuleEventDefinition returns [EObject current=null]: - { newCompositeNode(grammarAccess.getEventDefinitionRule()); } - iv_ruleEventDefinition=ruleEventDefinition - { $current=$iv_ruleEventDefinition.current; } - EOF; - -// Rule EventDefinition -ruleEventDefinition returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - { - newCompositeNode(grammarAccess.getEventDefinitionAccess().getBasicEventDefinitionParserRuleCall_0()); - } - this_BasicEventDefinition_0=ruleBasicEventDefinition - { - $current = $this_BasicEventDefinition_0.current; - afterParserOrEnumRuleCall(); - } - | - { - newCompositeNode(grammarAccess.getEventDefinitionAccess().getGateDefinitionParserRuleCall_1()); - } - this_GateDefinition_1=ruleGateDefinition - { - $current = $this_GateDefinition_1.current; - afterParserOrEnumRuleCall(); - } - ) -; - -// Entry rule entryRuleBasicEventDefinition -entryRuleBasicEventDefinition returns [EObject current=null]: - { newCompositeNode(grammarAccess.getBasicEventDefinitionRule()); } - iv_ruleBasicEventDefinition=ruleBasicEventDefinition - { $current=$iv_ruleBasicEventDefinition.current; } - EOF; - -// Rule BasicEventDefinition -ruleBasicEventDefinition returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - ( - ( - { - newCompositeNode(grammarAccess.getBasicEventDefinitionAccess().getNameValidIdParserRuleCall_0_0()); - } - lv_name_0_0=ruleValidId - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getBasicEventDefinitionRule()); - } - set( - $current, - "name", - lv_name_0_0, - "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.ValidId"); - afterParserOrEnumRuleCall(); - } - ) - ) - ( - ( - { - newCompositeNode(grammarAccess.getBasicEventDefinitionAccess().getDistributionDistributionParserRuleCall_1_0()); - } - lv_distribution_1_0=ruleDistribution - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getBasicEventDefinitionRule()); - } - set( - $current, - "distribution", - lv_distribution_1_0, - "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.Distribution"); - afterParserOrEnumRuleCall(); - } - ) - ) - ) -; - -// Entry rule entryRuleDistribution -entryRuleDistribution returns [EObject current=null]: - { newCompositeNode(grammarAccess.getDistributionRule()); } - iv_ruleDistribution=ruleDistribution - { $current=$iv_ruleDistribution.current; } - EOF; - -// Rule Distribution -ruleDistribution returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - { - newCompositeNode(grammarAccess.getDistributionAccess().getConstantDistributionParserRuleCall_0()); - } - this_ConstantDistribution_0=ruleConstantDistribution - { - $current = $this_ConstantDistribution_0.current; - afterParserOrEnumRuleCall(); - } - | - { - newCompositeNode(grammarAccess.getDistributionAccess().getExponentialDistributionParserRuleCall_1()); - } - this_ExponentialDistribution_1=ruleExponentialDistribution - { - $current = $this_ExponentialDistribution_1.current; - afterParserOrEnumRuleCall(); - } - ) -; - -// Entry rule entryRuleConstantDistribution -entryRuleConstantDistribution returns [EObject current=null]: - { newCompositeNode(grammarAccess.getConstantDistributionRule()); } - iv_ruleConstantDistribution=ruleConstantDistribution - { $current=$iv_ruleConstantDistribution.current; } - EOF; - -// Rule ConstantDistribution -ruleConstantDistribution returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - otherlv_0='prob' - { - newLeafNode(otherlv_0, grammarAccess.getConstantDistributionAccess().getProbKeyword_0()); - } - otherlv_1='=' - { - newLeafNode(otherlv_1, grammarAccess.getConstantDistributionAccess().getEqualsSignKeyword_1()); - } - ( - ( - { - newCompositeNode(grammarAccess.getConstantDistributionAccess().getPDoubleParserRuleCall_2_0()); - } - lv_p_2_0=ruleDouble - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getConstantDistributionRule()); - } - set( - $current, - "p", - lv_p_2_0, - "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.Double"); - afterParserOrEnumRuleCall(); - } - ) - ) - ) -; - -// Entry rule entryRuleExponentialDistribution -entryRuleExponentialDistribution returns [EObject current=null]: - { newCompositeNode(grammarAccess.getExponentialDistributionRule()); } - iv_ruleExponentialDistribution=ruleExponentialDistribution - { $current=$iv_ruleExponentialDistribution.current; } - EOF; - -// Rule ExponentialDistribution -ruleExponentialDistribution returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - otherlv_0='lambda' - { - newLeafNode(otherlv_0, grammarAccess.getExponentialDistributionAccess().getLambdaKeyword_0()); - } - otherlv_1='=' - { - newLeafNode(otherlv_1, grammarAccess.getExponentialDistributionAccess().getEqualsSignKeyword_1()); - } - ( - ( - { - newCompositeNode(grammarAccess.getExponentialDistributionAccess().getLambdaDoubleParserRuleCall_2_0()); - } - lv_lambda_2_0=ruleDouble - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getExponentialDistributionRule()); - } - set( - $current, - "lambda", - lv_lambda_2_0, - "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.Double"); - afterParserOrEnumRuleCall(); - } - ) - ) - ) -; - -// Entry rule entryRuleGateDefinition -entryRuleGateDefinition returns [EObject current=null]: - { newCompositeNode(grammarAccess.getGateDefinitionRule()); } - iv_ruleGateDefinition=ruleGateDefinition - { $current=$iv_ruleGateDefinition.current; } - EOF; - -// Rule GateDefinition -ruleGateDefinition returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - { - newCompositeNode(grammarAccess.getGateDefinitionAccess().getAndGateDefinitionParserRuleCall_0()); - } - this_AndGateDefinition_0=ruleAndGateDefinition - { - $current = $this_AndGateDefinition_0.current; - afterParserOrEnumRuleCall(); - } - | - { - newCompositeNode(grammarAccess.getGateDefinitionAccess().getOrGateDefinitionParserRuleCall_1()); - } - this_OrGateDefinition_1=ruleOrGateDefinition - { - $current = $this_OrGateDefinition_1.current; - afterParserOrEnumRuleCall(); - } - | - { - newCompositeNode(grammarAccess.getGateDefinitionAccess().getKOfMGateDefinitionParserRuleCall_2()); - } - this_KOfMGateDefinition_2=ruleKOfMGateDefinition - { - $current = $this_KOfMGateDefinition_2.current; - afterParserOrEnumRuleCall(); - } - ) -; - -// Entry rule entryRuleAndGateDefinition -entryRuleAndGateDefinition returns [EObject current=null]: - { newCompositeNode(grammarAccess.getAndGateDefinitionRule()); } - iv_ruleAndGateDefinition=ruleAndGateDefinition - { $current=$iv_ruleAndGateDefinition.current; } - EOF; - -// Rule AndGateDefinition -ruleAndGateDefinition returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - ( - ( - { - newCompositeNode(grammarAccess.getAndGateDefinitionAccess().getNameValidIdParserRuleCall_0_0()); - } - lv_name_0_0=ruleValidId - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getAndGateDefinitionRule()); - } - set( - $current, - "name", - lv_name_0_0, - "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.ValidId"); - afterParserOrEnumRuleCall(); - } - ) - ) - otherlv_1='and' - { - newLeafNode(otherlv_1, grammarAccess.getAndGateDefinitionAccess().getAndKeyword_1()); - } - ( - ( - { - if ($current==null) { - $current = createModelElement(grammarAccess.getAndGateDefinitionRule()); - } - } - { - newCompositeNode(grammarAccess.getAndGateDefinitionAccess().getInputEventsEventDeclarationCrossReference_2_0()); - } - ruleValidId - { - afterParserOrEnumRuleCall(); - } - ) - )* - ) -; - -// Entry rule entryRuleOrGateDefinition -entryRuleOrGateDefinition returns [EObject current=null]: - { newCompositeNode(grammarAccess.getOrGateDefinitionRule()); } - iv_ruleOrGateDefinition=ruleOrGateDefinition - { $current=$iv_ruleOrGateDefinition.current; } - EOF; - -// Rule OrGateDefinition -ruleOrGateDefinition returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - ( - ( - { - newCompositeNode(grammarAccess.getOrGateDefinitionAccess().getNameValidIdParserRuleCall_0_0()); - } - lv_name_0_0=ruleValidId - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getOrGateDefinitionRule()); - } - set( - $current, - "name", - lv_name_0_0, - "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.ValidId"); - afterParserOrEnumRuleCall(); - } - ) - ) - otherlv_1='or' - { - newLeafNode(otherlv_1, grammarAccess.getOrGateDefinitionAccess().getOrKeyword_1()); - } - ( - ( - { - if ($current==null) { - $current = createModelElement(grammarAccess.getOrGateDefinitionRule()); - } - } - { - newCompositeNode(grammarAccess.getOrGateDefinitionAccess().getInputEventsEventDeclarationCrossReference_2_0()); - } - ruleValidId - { - afterParserOrEnumRuleCall(); - } - ) - )* - ) -; - -// Entry rule entryRuleKOfMGateDefinition -entryRuleKOfMGateDefinition returns [EObject current=null]: - { newCompositeNode(grammarAccess.getKOfMGateDefinitionRule()); } - iv_ruleKOfMGateDefinition=ruleKOfMGateDefinition - { $current=$iv_ruleKOfMGateDefinition.current; } - EOF; - -// Rule KOfMGateDefinition -ruleKOfMGateDefinition returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - ( - ( - { - newCompositeNode(grammarAccess.getKOfMGateDefinitionAccess().getNameValidIdParserRuleCall_0_0()); - } - lv_name_0_0=ruleValidId - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getKOfMGateDefinitionRule()); - } - set( - $current, - "name", - lv_name_0_0, - "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.ValidId"); - afterParserOrEnumRuleCall(); - } - ) - ) - ( - ( - lv_k_1_0=RULE_INT - { - newLeafNode(lv_k_1_0, grammarAccess.getKOfMGateDefinitionAccess().getKINTTerminalRuleCall_1_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getKOfMGateDefinitionRule()); - } - setWithLastConsumed( - $current, - "k", - lv_k_1_0, - "org.eclipse.xtext.common.Terminals.INT"); - } - ) - ) - ( - ( - otherlv_2='of' - { - newLeafNode(otherlv_2, grammarAccess.getKOfMGateDefinitionAccess().getOfKeyword_2_0_0()); - } - ( - ( - lv_m_3_0=RULE_INT - { - newLeafNode(lv_m_3_0, grammarAccess.getKOfMGateDefinitionAccess().getMINTTerminalRuleCall_2_0_1_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getKOfMGateDefinitionRule()); - } - setWithLastConsumed( - $current, - "m", - lv_m_3_0, - "org.eclipse.xtext.common.Terminals.INT"); - } - ) - ) - ) - | - ( - ( - lv_m_4_0=RULE_OF_INT - { - newLeafNode(lv_m_4_0, grammarAccess.getKOfMGateDefinitionAccess().getMOF_INTTerminalRuleCall_2_1_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getKOfMGateDefinitionRule()); - } - setWithLastConsumed( - $current, - "m", - lv_m_4_0, - "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.OF_INT"); - } - ) - ) - ) - ( - ( - { - if ($current==null) { - $current = createModelElement(grammarAccess.getKOfMGateDefinitionRule()); - } - } - { - newCompositeNode(grammarAccess.getKOfMGateDefinitionAccess().getInputEventsEventDeclarationCrossReference_3_0()); - } - ruleValidId - { - afterParserOrEnumRuleCall(); - } - ) - )* - ) -; - -// Entry rule entryRuleTransformationDefinition -entryRuleTransformationDefinition returns [EObject current=null]: - { newCompositeNode(grammarAccess.getTransformationDefinitionRule()); } - iv_ruleTransformationDefinition=ruleTransformationDefinition - { $current=$iv_ruleTransformationDefinition.current; } - EOF; - -// Rule TransformationDefinition -ruleTransformationDefinition returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - otherlv_0='transformation' - { - newLeafNode(otherlv_0, grammarAccess.getTransformationDefinitionAccess().getTransformationKeyword_0()); - } - ( - ( - { - newCompositeNode(grammarAccess.getTransformationDefinitionAccess().getNameValidIdParserRuleCall_1_0()); - } - lv_name_1_0=ruleValidId - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getTransformationDefinitionRule()); - } - set( - $current, - "name", - lv_name_1_0, - "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.ValidId"); - afterParserOrEnumRuleCall(); - } - ) - ) - otherlv_2='{' - { - newLeafNode(otherlv_2, grammarAccess.getTransformationDefinitionAccess().getLeftCurlyBracketKeyword_2()); - } - ( - ( - { - newCompositeNode(grammarAccess.getTransformationDefinitionAccess().getMappingDefinitionsMappingDefinitionParserRuleCall_3_0()); - } - lv_mappingDefinitions_3_0=ruleMappingDefinition - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getTransformationDefinitionRule()); - } - add( - $current, - "mappingDefinitions", - lv_mappingDefinitions_3_0, - "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.MappingDefinition"); - afterParserOrEnumRuleCall(); - } - ) - )* - otherlv_4='}' - { - newLeafNode(otherlv_4, grammarAccess.getTransformationDefinitionAccess().getRightCurlyBracketKeyword_4()); - } - ) -; - -// Entry rule entryRuleMappingDefinition -entryRuleMappingDefinition returns [EObject current=null]: - { newCompositeNode(grammarAccess.getMappingDefinitionRule()); } - iv_ruleMappingDefinition=ruleMappingDefinition - { $current=$iv_ruleMappingDefinition.current; } - EOF; - -// Rule MappingDefinition -ruleMappingDefinition returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - ( - ( - lv_topLevel_0_0='toplevel' - { - newLeafNode(lv_topLevel_0_0, grammarAccess.getMappingDefinitionAccess().getTopLevelToplevelKeyword_0_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getMappingDefinitionRule()); - } - setWithLastConsumed($current, "topLevel", true, "toplevel"); - } - ) - )? - otherlv_1='mapping' - { - newLeafNode(otherlv_1, grammarAccess.getMappingDefinitionAccess().getMappingKeyword_1()); - } - ( - ( - { - if ($current==null) { - $current = createModelElement(grammarAccess.getMappingDefinitionRule()); - } - } - { - newCompositeNode(grammarAccess.getMappingDefinitionAccess().getPatternPatternCrossReference_2_0()); - } - ruleQualifiedName - { - afterParserOrEnumRuleCall(); - } - ) - ) - otherlv_3='(' - { - newLeafNode(otherlv_3, grammarAccess.getMappingDefinitionAccess().getLeftParenthesisKeyword_3()); - } - ( - ( - { - newCompositeNode(grammarAccess.getMappingDefinitionAccess().getParametersMappingParameterParserRuleCall_4_0()); - } - lv_parameters_4_0=ruleMappingParameter - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getMappingDefinitionRule()); - } - add( - $current, - "parameters", - lv_parameters_4_0, - "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.MappingParameter"); - afterParserOrEnumRuleCall(); - } - ) - ) - ( - otherlv_5=',' - { - newLeafNode(otherlv_5, grammarAccess.getMappingDefinitionAccess().getCommaKeyword_5_0()); - } - ( - ( - { - newCompositeNode(grammarAccess.getMappingDefinitionAccess().getParametersMappingParameterParserRuleCall_5_1_0()); - } - lv_parameters_6_0=ruleMappingParameter - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getMappingDefinitionRule()); - } - add( - $current, - "parameters", - lv_parameters_6_0, - "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.MappingParameter"); - afterParserOrEnumRuleCall(); - } - ) - ) - )* - otherlv_7=')' - { - newLeafNode(otherlv_7, grammarAccess.getMappingDefinitionAccess().getRightParenthesisKeyword_6()); - } - ( - ( - { - newCompositeNode(grammarAccess.getMappingDefinitionAccess().getComponentInstanceComponentInstanceParserRuleCall_7_0()); - } - lv_componentInstance_8_0=ruleComponentInstance - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getMappingDefinitionRule()); - } - set( - $current, - "componentInstance", - lv_componentInstance_8_0, - "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.ComponentInstance"); - afterParserOrEnumRuleCall(); - } - ) - )? - ( - otherlv_9='{' - { - newLeafNode(otherlv_9, grammarAccess.getMappingDefinitionAccess().getLeftCurlyBracketKeyword_8_0()); - } - ( - ( - ( - ( - { - newCompositeNode(grammarAccess.getMappingDefinitionAccess().getLookupDefinitionsLookupDefinitionParserRuleCall_8_1_0_0_0()); - } - lv_lookupDefinitions_10_0=ruleLookupDefinition - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getMappingDefinitionRule()); - } - add( - $current, - "lookupDefinitions", - lv_lookupDefinitions_10_0, - "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.LookupDefinition"); - afterParserOrEnumRuleCall(); - } - ) - ) - | - ( - ( - { - newCompositeNode(grammarAccess.getMappingDefinitionAccess().getAssignmentsAssignmentParserRuleCall_8_1_0_1_0()); - } - lv_assignments_11_0=ruleAssignment - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getMappingDefinitionRule()); - } - add( - $current, - "assignments", - lv_assignments_11_0, - "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.Assignment"); - afterParserOrEnumRuleCall(); - } - ) - ) - ) - otherlv_12=';' - { - newLeafNode(otherlv_12, grammarAccess.getMappingDefinitionAccess().getSemicolonKeyword_8_1_1()); - } - )* - otherlv_13='}' - { - newLeafNode(otherlv_13, grammarAccess.getMappingDefinitionAccess().getRightCurlyBracketKeyword_8_2()); - } - )? - ) -; - -// Entry rule entryRuleMappingParameter -entryRuleMappingParameter returns [EObject current=null]: - { newCompositeNode(grammarAccess.getMappingParameterRule()); } - iv_ruleMappingParameter=ruleMappingParameter - { $current=$iv_ruleMappingParameter.current; } - EOF; - -// Rule MappingParameter -ruleMappingParameter returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - ( - { - newCompositeNode(grammarAccess.getMappingParameterAccess().getNameValidIdParserRuleCall_0()); - } - lv_name_0_0=ruleValidId - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getMappingParameterRule()); - } - set( - $current, - "name", - lv_name_0_0, - "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.ValidId"); - afterParserOrEnumRuleCall(); - } - ) - ) -; - -// Entry rule entryRuleLookupDefinition -entryRuleLookupDefinition returns [EObject current=null]: - { newCompositeNode(grammarAccess.getLookupDefinitionRule()); } - iv_ruleLookupDefinition=ruleLookupDefinition - { $current=$iv_ruleLookupDefinition.current; } - EOF; - -// Rule LookupDefinition -ruleLookupDefinition returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - otherlv_0='lookup' - { - newLeafNode(otherlv_0, grammarAccess.getLookupDefinitionAccess().getLookupKeyword_0()); - } - ( - ( - { - if ($current==null) { - $current = createModelElement(grammarAccess.getLookupDefinitionRule()); - } - } - { - newCompositeNode(grammarAccess.getLookupDefinitionAccess().getMappingMappingDefinitionCrossReference_1_0()); - } - ruleQualifiedName - { - afterParserOrEnumRuleCall(); - } - ) - ) - otherlv_2='(' - { - newLeafNode(otherlv_2, grammarAccess.getLookupDefinitionAccess().getLeftParenthesisKeyword_2()); - } - ( - ( - { - if ($current==null) { - $current = createModelElement(grammarAccess.getLookupDefinitionRule()); - } - } - { - newCompositeNode(grammarAccess.getLookupDefinitionAccess().getArgumentsMappingParameterCrossReference_3_0()); - } - ruleValidId - { - afterParserOrEnumRuleCall(); - } - ) - ) - ( - otherlv_4=',' - { - newLeafNode(otherlv_4, grammarAccess.getLookupDefinitionAccess().getCommaKeyword_4_0()); - } - ( - ( - { - if ($current==null) { - $current = createModelElement(grammarAccess.getLookupDefinitionRule()); - } - } - { - newCompositeNode(grammarAccess.getLookupDefinitionAccess().getArgumentsMappingParameterCrossReference_4_1_0()); - } - ruleValidId - { - afterParserOrEnumRuleCall(); - } - ) - ) - )* - otherlv_6=')' - { - newLeafNode(otherlv_6, grammarAccess.getLookupDefinitionAccess().getRightParenthesisKeyword_5()); - } - otherlv_7='as' - { - newLeafNode(otherlv_7, grammarAccess.getLookupDefinitionAccess().getAsKeyword_6()); - } - ( - ( - { - newCompositeNode(grammarAccess.getLookupDefinitionAccess().getNameValidIdParserRuleCall_7_0()); - } - lv_name_8_0=ruleValidId - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getLookupDefinitionRule()); - } - set( - $current, - "name", - lv_name_8_0, - "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.ValidId"); - afterParserOrEnumRuleCall(); - } - ) - ) - ) -; - -// Entry rule entryRuleAssignment -entryRuleAssignment returns [EObject current=null]: - { newCompositeNode(grammarAccess.getAssignmentRule()); } - iv_ruleAssignment=ruleAssignment - { $current=$iv_ruleAssignment.current; } - EOF; - -// Rule Assignment -ruleAssignment returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - ( - ( - { - newCompositeNode(grammarAccess.getAssignmentAccess().getInputEventReferenceParserRuleCall_0_0()); - } - lv_input_0_0=ruleEventReference - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getAssignmentRule()); - } - set( - $current, - "input", - lv_input_0_0, - "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.EventReference"); - afterParserOrEnumRuleCall(); - } - ) - ) - ( - ( - ( - lv_multiple_1_0='+=' - { - newLeafNode(lv_multiple_1_0, grammarAccess.getAssignmentAccess().getMultiplePlusSignEqualsSignKeyword_1_0_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getAssignmentRule()); - } - setWithLastConsumed($current, "multiple", true, "+="); - } - ) - ) - | - otherlv_2=':=' - { - newLeafNode(otherlv_2, grammarAccess.getAssignmentAccess().getColonEqualsSignKeyword_1_1()); - } - ) - ( - ( - { - newCompositeNode(grammarAccess.getAssignmentAccess().getOutputEventReferenceParserRuleCall_2_0()); - } - lv_output_3_0=ruleEventReference - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getAssignmentRule()); - } - set( - $current, - "output", - lv_output_3_0, - "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.EventReference"); - afterParserOrEnumRuleCall(); - } - ) - ) - ) -; - -// Entry rule entryRuleEventReference -entryRuleEventReference returns [EObject current=null]: - { newCompositeNode(grammarAccess.getEventReferenceRule()); } - iv_ruleEventReference=ruleEventReference - { $current=$iv_ruleEventReference.current; } - EOF; - -// Rule EventReference -ruleEventReference returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - ( - ( - { - if ($current==null) { - $current = createModelElement(grammarAccess.getEventReferenceRule()); - } - } - { - newCompositeNode(grammarAccess.getEventReferenceAccess().getComponentVariableCrossReference_0_0()); - } - ruleValidId - { - afterParserOrEnumRuleCall(); - } - ) - ) - otherlv_1='.' - { - newLeafNode(otherlv_1, grammarAccess.getEventReferenceAccess().getFullStopKeyword_1()); - } - ( - ( - { - if ($current==null) { - $current = createModelElement(grammarAccess.getEventReferenceRule()); - } - } - { - newCompositeNode(grammarAccess.getEventReferenceAccess().getEventEventDeclarationCrossReference_2_0()); - } - ruleValidId - { - afterParserOrEnumRuleCall(); - } - ) - ) - ) -; - -// Entry rule entryRuleComponentInstance -entryRuleComponentInstance returns [EObject current=null]: - { newCompositeNode(grammarAccess.getComponentInstanceRule()); } - iv_ruleComponentInstance=ruleComponentInstance - { $current=$iv_ruleComponentInstance.current; } - EOF; - -// Rule ComponentInstance -ruleComponentInstance returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - otherlv_0='=>' - { - newLeafNode(otherlv_0, grammarAccess.getComponentInstanceAccess().getEqualsSignGreaterThanSignKeyword_0()); - } - ( - ( - { - if ($current==null) { - $current = createModelElement(grammarAccess.getComponentInstanceRule()); - } - } - { - newCompositeNode(grammarAccess.getComponentInstanceAccess().getComponentTypeComponentDefinitionCrossReference_1_0()); - } - ruleQualifiedName - { - afterParserOrEnumRuleCall(); - } - ) - ) - ( - ( - { - newCompositeNode(grammarAccess.getComponentInstanceAccess().getNameValidIdParserRuleCall_2_0()); - } - lv_name_2_0=ruleValidId - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getComponentInstanceRule()); - } - set( - $current, - "name", - lv_name_2_0, - "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.ValidId"); - afterParserOrEnumRuleCall(); - } - ) - )? - ) -; - -// Entry rule entryRuleQualifiedName -entryRuleQualifiedName returns [String current=null]: - { newCompositeNode(grammarAccess.getQualifiedNameRule()); } - iv_ruleQualifiedName=ruleQualifiedName - { $current=$iv_ruleQualifiedName.current.getText(); } - EOF; - -// Rule QualifiedName -ruleQualifiedName returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - { - newCompositeNode(grammarAccess.getQualifiedNameAccess().getValidIdParserRuleCall_0()); - } - this_ValidId_0=ruleValidId - { - $current.merge(this_ValidId_0); - } - { - afterParserOrEnumRuleCall(); - } - ( - kw='.' - { - $current.merge(kw); - newLeafNode(kw, grammarAccess.getQualifiedNameAccess().getFullStopKeyword_1_0()); - } - { - newCompositeNode(grammarAccess.getQualifiedNameAccess().getValidIdParserRuleCall_1_1()); - } - this_ValidId_2=ruleValidId - { - $current.merge(this_ValidId_2); - } - { - afterParserOrEnumRuleCall(); - } - )* - ) -; - -// Entry rule entryRuleQualifiedNameWithWildcard -entryRuleQualifiedNameWithWildcard returns [String current=null]: - { newCompositeNode(grammarAccess.getQualifiedNameWithWildcardRule()); } - iv_ruleQualifiedNameWithWildcard=ruleQualifiedNameWithWildcard - { $current=$iv_ruleQualifiedNameWithWildcard.current.getText(); } - EOF; - -// Rule QualifiedNameWithWildcard -ruleQualifiedNameWithWildcard returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - { - newCompositeNode(grammarAccess.getQualifiedNameWithWildcardAccess().getQualifiedNameParserRuleCall_0()); - } - this_QualifiedName_0=ruleQualifiedName - { - $current.merge(this_QualifiedName_0); - } - { - afterParserOrEnumRuleCall(); - } - ( - kw='.' - { - $current.merge(kw); - newLeafNode(kw, grammarAccess.getQualifiedNameWithWildcardAccess().getFullStopKeyword_1_0()); - } - kw='*' - { - $current.merge(kw); - newLeafNode(kw, grammarAccess.getQualifiedNameWithWildcardAccess().getAsteriskKeyword_1_1()); - } - )? - ) -; - -// Entry rule entryRuleValidId -entryRuleValidId returns [String current=null]: - { newCompositeNode(grammarAccess.getValidIdRule()); } - iv_ruleValidId=ruleValidId - { $current=$iv_ruleValidId.current.getText(); } - EOF; - -// Rule ValidId -ruleValidId returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - this_ID_0=RULE_ID - { - $current.merge(this_ID_0); - } - { - newLeafNode(this_ID_0, grammarAccess.getValidIdAccess().getIDTerminalRuleCall_0()); - } - | - this_OF_INT_1=RULE_OF_INT - { - $current.merge(this_OF_INT_1); - } - { - newLeafNode(this_OF_INT_1, grammarAccess.getValidIdAccess().getOF_INTTerminalRuleCall_1()); - } - ) -; - -// Entry rule entryRuleDouble -entryRuleDouble returns [String current=null]: - { newCompositeNode(grammarAccess.getDoubleRule()); } - iv_ruleDouble=ruleDouble - { $current=$iv_ruleDouble.current.getText(); } - EOF; - -// Rule Double -ruleDouble returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - this_INT_0=RULE_INT - { - $current.merge(this_INT_0); - } - { - newLeafNode(this_INT_0, grammarAccess.getDoubleAccess().getINTTerminalRuleCall_0()); - } - | - this_T_DOUBLE_1=RULE_T_DOUBLE - { - $current.merge(this_T_DOUBLE_1); - } - { - newLeafNode(this_T_DOUBLE_1, grammarAccess.getDoubleAccess().getT_DOUBLETerminalRuleCall_1()); - } - ) -; - -RULE_OF_INT : 'o' 'f' ('0'..'9')+; - -RULE_T_DOUBLE : ('0'..'9')+ ('.' ('0'..'9')+|('.' ('0'..'9')+)? ('e'|'E') ('+'|'-')? ('0'..'9')+); - -RULE_ID : '^'? ('a'..'z'|'A'..'Z'|'_') ('a'..'z'|'A'..'Z'|'_'|'0'..'9')*; - -RULE_INT : ('0'..'9')+; - -RULE_STRING : ('"' ('\\' .|~(('\\'|'"')))* '"'|'\'' ('\\' .|~(('\\'|'\'')))* '\''); - -RULE_ML_COMMENT : '/*' ( options {greedy=false;} : . )*'*/'; - -RULE_SL_COMMENT : '//' ~(('\n'|'\r'))* ('\r'? '\n')?; - -RULE_WS : (' '|'\t'|'\r'|'\n')+; - -RULE_ANY_OTHER : .; diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/parser/antlr/internal/InternalCftLanguage.tokens b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/parser/antlr/internal/InternalCftLanguage.tokens deleted file mode 100644 index 24a3b0ab..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/parser/antlr/internal/InternalCftLanguage.tokens +++ /dev/null @@ -1,65 +0,0 @@ -'('=31 -')'=33 -'*'=40 -'+='=36 -','=32 -'.'=38 -':='=37 -';'=14 -'='=23 -'=>'=39 -'[]'=21 -'and'=25 -'as'=35 -'cft'=16 -'import'=15 -'in'=18 -'lambda'=24 -'lookup'=34 -'mapping'=30 -'of'=27 -'or'=26 -'out'=19 -'package'=13 -'prob'=22 -'toplevel'=29 -'transformation'=28 -'{'=17 -'}'=20 -RULE_ANY_OTHER=12 -RULE_ID=6 -RULE_INT=4 -RULE_ML_COMMENT=9 -RULE_OF_INT=5 -RULE_SL_COMMENT=10 -RULE_STRING=8 -RULE_T_DOUBLE=7 -RULE_WS=11 -T__13=13 -T__14=14 -T__15=15 -T__16=16 -T__17=17 -T__18=18 -T__19=19 -T__20=20 -T__21=21 -T__22=22 -T__23=23 -T__24=24 -T__25=25 -T__26=26 -T__27=27 -T__28=28 -T__29=29 -T__30=30 -T__31=31 -T__32=32 -T__33=33 -T__34=34 -T__35=35 -T__36=36 -T__37=37 -T__38=38 -T__39=39 -T__40=40 diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/parser/antlr/internal/InternalCftLanguageLexer.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/parser/antlr/internal/InternalCftLanguageLexer.java deleted file mode 100644 index c15c826a..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/parser/antlr/internal/InternalCftLanguageLexer.java +++ /dev/null @@ -1,2001 +0,0 @@ -package hu.bme.mit.inf.dslreasoner.faulttree.components.parser.antlr.internal; - -// Hack: Use our own Lexer superclass by means of import. -// Currently there is no other way to specify the superclass for the lexer. -import org.eclipse.xtext.parser.antlr.Lexer; - - -import org.antlr.runtime.*; -import java.util.Stack; -import java.util.List; -import java.util.ArrayList; - -@SuppressWarnings("all") -public class InternalCftLanguageLexer extends Lexer { - public static final int RULE_STRING=8; - public static final int RULE_SL_COMMENT=10; - public static final int T__19=19; - public static final int T__15=15; - public static final int T__37=37; - public static final int T__16=16; - public static final int T__38=38; - public static final int T__17=17; - public static final int T__39=39; - public static final int T__18=18; - public static final int T__33=33; - public static final int T__34=34; - public static final int RULE_T_DOUBLE=7; - public static final int T__13=13; - public static final int T__35=35; - public static final int T__14=14; - public static final int T__36=36; - public static final int EOF=-1; - public static final int T__30=30; - public static final int T__31=31; - public static final int T__32=32; - public static final int RULE_OF_INT=5; - public static final int RULE_ID=6; - public static final int RULE_WS=11; - public static final int RULE_ANY_OTHER=12; - public static final int T__26=26; - public static final int T__27=27; - public static final int T__28=28; - public static final int RULE_INT=4; - public static final int T__29=29; - public static final int T__22=22; - public static final int RULE_ML_COMMENT=9; - public static final int T__23=23; - public static final int T__24=24; - public static final int T__25=25; - public static final int T__40=40; - public static final int T__20=20; - public static final int T__21=21; - - // delegates - // delegators - - public InternalCftLanguageLexer() {;} - public InternalCftLanguageLexer(CharStream input) { - this(input, new RecognizerSharedState()); - } - public InternalCftLanguageLexer(CharStream input, RecognizerSharedState state) { - super(input,state); - - } - public String getGrammarFileName() { return "InternalCftLanguage.g"; } - - // $ANTLR start "T__13" - public final void mT__13() throws RecognitionException { - try { - int _type = T__13; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalCftLanguage.g:11:7: ( 'package' ) - // InternalCftLanguage.g:11:9: 'package' - { - match("package"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__13" - - // $ANTLR start "T__14" - public final void mT__14() throws RecognitionException { - try { - int _type = T__14; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalCftLanguage.g:12:7: ( ';' ) - // InternalCftLanguage.g:12:9: ';' - { - match(';'); - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__14" - - // $ANTLR start "T__15" - public final void mT__15() throws RecognitionException { - try { - int _type = T__15; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalCftLanguage.g:13:7: ( 'import' ) - // InternalCftLanguage.g:13:9: 'import' - { - match("import"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__15" - - // $ANTLR start "T__16" - public final void mT__16() throws RecognitionException { - try { - int _type = T__16; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalCftLanguage.g:14:7: ( 'cft' ) - // InternalCftLanguage.g:14:9: 'cft' - { - match("cft"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__16" - - // $ANTLR start "T__17" - public final void mT__17() throws RecognitionException { - try { - int _type = T__17; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalCftLanguage.g:15:7: ( '{' ) - // InternalCftLanguage.g:15:9: '{' - { - match('{'); - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__17" - - // $ANTLR start "T__18" - public final void mT__18() throws RecognitionException { - try { - int _type = T__18; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalCftLanguage.g:16:7: ( 'in' ) - // InternalCftLanguage.g:16:9: 'in' - { - match("in"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__18" - - // $ANTLR start "T__19" - public final void mT__19() throws RecognitionException { - try { - int _type = T__19; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalCftLanguage.g:17:7: ( 'out' ) - // InternalCftLanguage.g:17:9: 'out' - { - match("out"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__19" - - // $ANTLR start "T__20" - public final void mT__20() throws RecognitionException { - try { - int _type = T__20; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalCftLanguage.g:18:7: ( '}' ) - // InternalCftLanguage.g:18:9: '}' - { - match('}'); - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__20" - - // $ANTLR start "T__21" - public final void mT__21() throws RecognitionException { - try { - int _type = T__21; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalCftLanguage.g:19:7: ( '[]' ) - // InternalCftLanguage.g:19:9: '[]' - { - match("[]"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__21" - - // $ANTLR start "T__22" - public final void mT__22() throws RecognitionException { - try { - int _type = T__22; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalCftLanguage.g:20:7: ( 'prob' ) - // InternalCftLanguage.g:20:9: 'prob' - { - match("prob"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__22" - - // $ANTLR start "T__23" - public final void mT__23() throws RecognitionException { - try { - int _type = T__23; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalCftLanguage.g:21:7: ( '=' ) - // InternalCftLanguage.g:21:9: '=' - { - match('='); - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__23" - - // $ANTLR start "T__24" - public final void mT__24() throws RecognitionException { - try { - int _type = T__24; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalCftLanguage.g:22:7: ( 'lambda' ) - // InternalCftLanguage.g:22:9: 'lambda' - { - match("lambda"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__24" - - // $ANTLR start "T__25" - public final void mT__25() throws RecognitionException { - try { - int _type = T__25; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalCftLanguage.g:23:7: ( 'and' ) - // InternalCftLanguage.g:23:9: 'and' - { - match("and"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__25" - - // $ANTLR start "T__26" - public final void mT__26() throws RecognitionException { - try { - int _type = T__26; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalCftLanguage.g:24:7: ( 'or' ) - // InternalCftLanguage.g:24:9: 'or' - { - match("or"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__26" - - // $ANTLR start "T__27" - public final void mT__27() throws RecognitionException { - try { - int _type = T__27; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalCftLanguage.g:25:7: ( 'of' ) - // InternalCftLanguage.g:25:9: 'of' - { - match("of"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__27" - - // $ANTLR start "T__28" - public final void mT__28() throws RecognitionException { - try { - int _type = T__28; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalCftLanguage.g:26:7: ( 'transformation' ) - // InternalCftLanguage.g:26:9: 'transformation' - { - match("transformation"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__28" - - // $ANTLR start "T__29" - public final void mT__29() throws RecognitionException { - try { - int _type = T__29; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalCftLanguage.g:27:7: ( 'toplevel' ) - // InternalCftLanguage.g:27:9: 'toplevel' - { - match("toplevel"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__29" - - // $ANTLR start "T__30" - public final void mT__30() throws RecognitionException { - try { - int _type = T__30; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalCftLanguage.g:28:7: ( 'mapping' ) - // InternalCftLanguage.g:28:9: 'mapping' - { - match("mapping"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__30" - - // $ANTLR start "T__31" - public final void mT__31() throws RecognitionException { - try { - int _type = T__31; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalCftLanguage.g:29:7: ( '(' ) - // InternalCftLanguage.g:29:9: '(' - { - match('('); - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__31" - - // $ANTLR start "T__32" - public final void mT__32() throws RecognitionException { - try { - int _type = T__32; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalCftLanguage.g:30:7: ( ',' ) - // InternalCftLanguage.g:30:9: ',' - { - match(','); - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__32" - - // $ANTLR start "T__33" - public final void mT__33() throws RecognitionException { - try { - int _type = T__33; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalCftLanguage.g:31:7: ( ')' ) - // InternalCftLanguage.g:31:9: ')' - { - match(')'); - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__33" - - // $ANTLR start "T__34" - public final void mT__34() throws RecognitionException { - try { - int _type = T__34; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalCftLanguage.g:32:7: ( 'lookup' ) - // InternalCftLanguage.g:32:9: 'lookup' - { - match("lookup"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__34" - - // $ANTLR start "T__35" - public final void mT__35() throws RecognitionException { - try { - int _type = T__35; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalCftLanguage.g:33:7: ( 'as' ) - // InternalCftLanguage.g:33:9: 'as' - { - match("as"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__35" - - // $ANTLR start "T__36" - public final void mT__36() throws RecognitionException { - try { - int _type = T__36; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalCftLanguage.g:34:7: ( '+=' ) - // InternalCftLanguage.g:34:9: '+=' - { - match("+="); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__36" - - // $ANTLR start "T__37" - public final void mT__37() throws RecognitionException { - try { - int _type = T__37; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalCftLanguage.g:35:7: ( ':=' ) - // InternalCftLanguage.g:35:9: ':=' - { - match(":="); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__37" - - // $ANTLR start "T__38" - public final void mT__38() throws RecognitionException { - try { - int _type = T__38; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalCftLanguage.g:36:7: ( '.' ) - // InternalCftLanguage.g:36:9: '.' - { - match('.'); - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__38" - - // $ANTLR start "T__39" - public final void mT__39() throws RecognitionException { - try { - int _type = T__39; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalCftLanguage.g:37:7: ( '=>' ) - // InternalCftLanguage.g:37:9: '=>' - { - match("=>"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__39" - - // $ANTLR start "T__40" - public final void mT__40() throws RecognitionException { - try { - int _type = T__40; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalCftLanguage.g:38:7: ( '*' ) - // InternalCftLanguage.g:38:9: '*' - { - match('*'); - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__40" - - // $ANTLR start "RULE_OF_INT" - public final void mRULE_OF_INT() throws RecognitionException { - try { - int _type = RULE_OF_INT; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalCftLanguage.g:1672:13: ( 'o' 'f' ( '0' .. '9' )+ ) - // InternalCftLanguage.g:1672:15: 'o' 'f' ( '0' .. '9' )+ - { - match('o'); - match('f'); - // InternalCftLanguage.g:1672:23: ( '0' .. '9' )+ - int cnt1=0; - loop1: - do { - int alt1=2; - int LA1_0 = input.LA(1); - - if ( ((LA1_0>='0' && LA1_0<='9')) ) { - alt1=1; - } - - - switch (alt1) { - case 1 : - // InternalCftLanguage.g:1672:24: '0' .. '9' - { - matchRange('0','9'); - - } - break; - - default : - if ( cnt1 >= 1 ) break loop1; - EarlyExitException eee = - new EarlyExitException(1, input); - throw eee; - } - cnt1++; - } while (true); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "RULE_OF_INT" - - // $ANTLR start "RULE_T_DOUBLE" - public final void mRULE_T_DOUBLE() throws RecognitionException { - try { - int _type = RULE_T_DOUBLE; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalCftLanguage.g:1674:15: ( ( '0' .. '9' )+ ( '.' ( '0' .. '9' )+ | ( '.' ( '0' .. '9' )+ )? ( 'e' | 'E' ) ( '+' | '-' )? ( '0' .. '9' )+ ) ) - // InternalCftLanguage.g:1674:17: ( '0' .. '9' )+ ( '.' ( '0' .. '9' )+ | ( '.' ( '0' .. '9' )+ )? ( 'e' | 'E' ) ( '+' | '-' )? ( '0' .. '9' )+ ) - { - // InternalCftLanguage.g:1674:17: ( '0' .. '9' )+ - int cnt2=0; - loop2: - do { - int alt2=2; - int LA2_0 = input.LA(1); - - if ( ((LA2_0>='0' && LA2_0<='9')) ) { - alt2=1; - } - - - switch (alt2) { - case 1 : - // InternalCftLanguage.g:1674:18: '0' .. '9' - { - matchRange('0','9'); - - } - break; - - default : - if ( cnt2 >= 1 ) break loop2; - EarlyExitException eee = - new EarlyExitException(2, input); - throw eee; - } - cnt2++; - } while (true); - - // InternalCftLanguage.g:1674:29: ( '.' ( '0' .. '9' )+ | ( '.' ( '0' .. '9' )+ )? ( 'e' | 'E' ) ( '+' | '-' )? ( '0' .. '9' )+ ) - int alt8=2; - alt8 = dfa8.predict(input); - switch (alt8) { - case 1 : - // InternalCftLanguage.g:1674:30: '.' ( '0' .. '9' )+ - { - match('.'); - // InternalCftLanguage.g:1674:34: ( '0' .. '9' )+ - int cnt3=0; - loop3: - do { - int alt3=2; - int LA3_0 = input.LA(1); - - if ( ((LA3_0>='0' && LA3_0<='9')) ) { - alt3=1; - } - - - switch (alt3) { - case 1 : - // InternalCftLanguage.g:1674:35: '0' .. '9' - { - matchRange('0','9'); - - } - break; - - default : - if ( cnt3 >= 1 ) break loop3; - EarlyExitException eee = - new EarlyExitException(3, input); - throw eee; - } - cnt3++; - } while (true); - - - } - break; - case 2 : - // InternalCftLanguage.g:1674:46: ( '.' ( '0' .. '9' )+ )? ( 'e' | 'E' ) ( '+' | '-' )? ( '0' .. '9' )+ - { - // InternalCftLanguage.g:1674:46: ( '.' ( '0' .. '9' )+ )? - int alt5=2; - int LA5_0 = input.LA(1); - - if ( (LA5_0=='.') ) { - alt5=1; - } - switch (alt5) { - case 1 : - // InternalCftLanguage.g:1674:47: '.' ( '0' .. '9' )+ - { - match('.'); - // InternalCftLanguage.g:1674:51: ( '0' .. '9' )+ - int cnt4=0; - loop4: - do { - int alt4=2; - int LA4_0 = input.LA(1); - - if ( ((LA4_0>='0' && LA4_0<='9')) ) { - alt4=1; - } - - - switch (alt4) { - case 1 : - // InternalCftLanguage.g:1674:52: '0' .. '9' - { - matchRange('0','9'); - - } - break; - - default : - if ( cnt4 >= 1 ) break loop4; - EarlyExitException eee = - new EarlyExitException(4, input); - throw eee; - } - cnt4++; - } while (true); - - - } - break; - - } - - if ( input.LA(1)=='E'||input.LA(1)=='e' ) { - input.consume(); - - } - else { - MismatchedSetException mse = new MismatchedSetException(null,input); - recover(mse); - throw mse;} - - // InternalCftLanguage.g:1674:75: ( '+' | '-' )? - int alt6=2; - int LA6_0 = input.LA(1); - - if ( (LA6_0=='+'||LA6_0=='-') ) { - alt6=1; - } - switch (alt6) { - case 1 : - // InternalCftLanguage.g: - { - if ( input.LA(1)=='+'||input.LA(1)=='-' ) { - input.consume(); - - } - else { - MismatchedSetException mse = new MismatchedSetException(null,input); - recover(mse); - throw mse;} - - - } - break; - - } - - // InternalCftLanguage.g:1674:86: ( '0' .. '9' )+ - int cnt7=0; - loop7: - do { - int alt7=2; - int LA7_0 = input.LA(1); - - if ( ((LA7_0>='0' && LA7_0<='9')) ) { - alt7=1; - } - - - switch (alt7) { - case 1 : - // InternalCftLanguage.g:1674:87: '0' .. '9' - { - matchRange('0','9'); - - } - break; - - default : - if ( cnt7 >= 1 ) break loop7; - EarlyExitException eee = - new EarlyExitException(7, input); - throw eee; - } - cnt7++; - } while (true); - - - } - break; - - } - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "RULE_T_DOUBLE" - - // $ANTLR start "RULE_ID" - public final void mRULE_ID() throws RecognitionException { - try { - int _type = RULE_ID; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalCftLanguage.g:1676:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* ) - // InternalCftLanguage.g:1676:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* - { - // InternalCftLanguage.g:1676:11: ( '^' )? - int alt9=2; - int LA9_0 = input.LA(1); - - if ( (LA9_0=='^') ) { - alt9=1; - } - switch (alt9) { - case 1 : - // InternalCftLanguage.g:1676:11: '^' - { - match('^'); - - } - break; - - } - - if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) { - input.consume(); - - } - else { - MismatchedSetException mse = new MismatchedSetException(null,input); - recover(mse); - throw mse;} - - // InternalCftLanguage.g:1676:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* - loop10: - do { - int alt10=2; - int LA10_0 = input.LA(1); - - if ( ((LA10_0>='0' && LA10_0<='9')||(LA10_0>='A' && LA10_0<='Z')||LA10_0=='_'||(LA10_0>='a' && LA10_0<='z')) ) { - alt10=1; - } - - - switch (alt10) { - case 1 : - // InternalCftLanguage.g: - { - if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) { - input.consume(); - - } - else { - MismatchedSetException mse = new MismatchedSetException(null,input); - recover(mse); - throw mse;} - - - } - break; - - default : - break loop10; - } - } while (true); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "RULE_ID" - - // $ANTLR start "RULE_INT" - public final void mRULE_INT() throws RecognitionException { - try { - int _type = RULE_INT; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalCftLanguage.g:1678:10: ( ( '0' .. '9' )+ ) - // InternalCftLanguage.g:1678:12: ( '0' .. '9' )+ - { - // InternalCftLanguage.g:1678:12: ( '0' .. '9' )+ - int cnt11=0; - loop11: - do { - int alt11=2; - int LA11_0 = input.LA(1); - - if ( ((LA11_0>='0' && LA11_0<='9')) ) { - alt11=1; - } - - - switch (alt11) { - case 1 : - // InternalCftLanguage.g:1678:13: '0' .. '9' - { - matchRange('0','9'); - - } - break; - - default : - if ( cnt11 >= 1 ) break loop11; - EarlyExitException eee = - new EarlyExitException(11, input); - throw eee; - } - cnt11++; - } while (true); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "RULE_INT" - - // $ANTLR start "RULE_STRING" - public final void mRULE_STRING() throws RecognitionException { - try { - int _type = RULE_STRING; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalCftLanguage.g:1680:13: ( ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) ) - // InternalCftLanguage.g:1680:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) - { - // InternalCftLanguage.g:1680:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) - int alt14=2; - int LA14_0 = input.LA(1); - - if ( (LA14_0=='\"') ) { - alt14=1; - } - else if ( (LA14_0=='\'') ) { - alt14=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 14, 0, input); - - throw nvae; - } - switch (alt14) { - case 1 : - // InternalCftLanguage.g:1680:16: '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' - { - match('\"'); - // InternalCftLanguage.g:1680:20: ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* - loop12: - do { - int alt12=3; - int LA12_0 = input.LA(1); - - if ( (LA12_0=='\\') ) { - alt12=1; - } - else if ( ((LA12_0>='\u0000' && LA12_0<='!')||(LA12_0>='#' && LA12_0<='[')||(LA12_0>=']' && LA12_0<='\uFFFF')) ) { - alt12=2; - } - - - switch (alt12) { - case 1 : - // InternalCftLanguage.g:1680:21: '\\\\' . - { - match('\\'); - matchAny(); - - } - break; - case 2 : - // InternalCftLanguage.g:1680:28: ~ ( ( '\\\\' | '\"' ) ) - { - if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { - input.consume(); - - } - else { - MismatchedSetException mse = new MismatchedSetException(null,input); - recover(mse); - throw mse;} - - - } - break; - - default : - break loop12; - } - } while (true); - - match('\"'); - - } - break; - case 2 : - // InternalCftLanguage.g:1680:48: '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' - { - match('\''); - // InternalCftLanguage.g:1680:53: ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* - loop13: - do { - int alt13=3; - int LA13_0 = input.LA(1); - - if ( (LA13_0=='\\') ) { - alt13=1; - } - else if ( ((LA13_0>='\u0000' && LA13_0<='&')||(LA13_0>='(' && LA13_0<='[')||(LA13_0>=']' && LA13_0<='\uFFFF')) ) { - alt13=2; - } - - - switch (alt13) { - case 1 : - // InternalCftLanguage.g:1680:54: '\\\\' . - { - match('\\'); - matchAny(); - - } - break; - case 2 : - // InternalCftLanguage.g:1680:61: ~ ( ( '\\\\' | '\\'' ) ) - { - if ( (input.LA(1)>='\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { - input.consume(); - - } - else { - MismatchedSetException mse = new MismatchedSetException(null,input); - recover(mse); - throw mse;} - - - } - break; - - default : - break loop13; - } - } while (true); - - match('\''); - - } - break; - - } - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "RULE_STRING" - - // $ANTLR start "RULE_ML_COMMENT" - public final void mRULE_ML_COMMENT() throws RecognitionException { - try { - int _type = RULE_ML_COMMENT; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalCftLanguage.g:1682:17: ( '/*' ( options {greedy=false; } : . )* '*/' ) - // InternalCftLanguage.g:1682:19: '/*' ( options {greedy=false; } : . )* '*/' - { - match("/*"); - - // InternalCftLanguage.g:1682:24: ( options {greedy=false; } : . )* - loop15: - do { - int alt15=2; - int LA15_0 = input.LA(1); - - if ( (LA15_0=='*') ) { - int LA15_1 = input.LA(2); - - if ( (LA15_1=='/') ) { - alt15=2; - } - else if ( ((LA15_1>='\u0000' && LA15_1<='.')||(LA15_1>='0' && LA15_1<='\uFFFF')) ) { - alt15=1; - } - - - } - else if ( ((LA15_0>='\u0000' && LA15_0<=')')||(LA15_0>='+' && LA15_0<='\uFFFF')) ) { - alt15=1; - } - - - switch (alt15) { - case 1 : - // InternalCftLanguage.g:1682:52: . - { - matchAny(); - - } - break; - - default : - break loop15; - } - } while (true); - - match("*/"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "RULE_ML_COMMENT" - - // $ANTLR start "RULE_SL_COMMENT" - public final void mRULE_SL_COMMENT() throws RecognitionException { - try { - int _type = RULE_SL_COMMENT; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalCftLanguage.g:1684:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? ) - // InternalCftLanguage.g:1684:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? - { - match("//"); - - // InternalCftLanguage.g:1684:24: (~ ( ( '\\n' | '\\r' ) ) )* - loop16: - do { - int alt16=2; - int LA16_0 = input.LA(1); - - if ( ((LA16_0>='\u0000' && LA16_0<='\t')||(LA16_0>='\u000B' && LA16_0<='\f')||(LA16_0>='\u000E' && LA16_0<='\uFFFF')) ) { - alt16=1; - } - - - switch (alt16) { - case 1 : - // InternalCftLanguage.g:1684:24: ~ ( ( '\\n' | '\\r' ) ) - { - if ( (input.LA(1)>='\u0000' && input.LA(1)<='\t')||(input.LA(1)>='\u000B' && input.LA(1)<='\f')||(input.LA(1)>='\u000E' && input.LA(1)<='\uFFFF') ) { - input.consume(); - - } - else { - MismatchedSetException mse = new MismatchedSetException(null,input); - recover(mse); - throw mse;} - - - } - break; - - default : - break loop16; - } - } while (true); - - // InternalCftLanguage.g:1684:40: ( ( '\\r' )? '\\n' )? - int alt18=2; - int LA18_0 = input.LA(1); - - if ( (LA18_0=='\n'||LA18_0=='\r') ) { - alt18=1; - } - switch (alt18) { - case 1 : - // InternalCftLanguage.g:1684:41: ( '\\r' )? '\\n' - { - // InternalCftLanguage.g:1684:41: ( '\\r' )? - int alt17=2; - int LA17_0 = input.LA(1); - - if ( (LA17_0=='\r') ) { - alt17=1; - } - switch (alt17) { - case 1 : - // InternalCftLanguage.g:1684:41: '\\r' - { - match('\r'); - - } - break; - - } - - match('\n'); - - } - break; - - } - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "RULE_SL_COMMENT" - - // $ANTLR start "RULE_WS" - public final void mRULE_WS() throws RecognitionException { - try { - int _type = RULE_WS; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalCftLanguage.g:1686:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ ) - // InternalCftLanguage.g:1686:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ - { - // InternalCftLanguage.g:1686:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ - int cnt19=0; - loop19: - do { - int alt19=2; - int LA19_0 = input.LA(1); - - if ( ((LA19_0>='\t' && LA19_0<='\n')||LA19_0=='\r'||LA19_0==' ') ) { - alt19=1; - } - - - switch (alt19) { - case 1 : - // InternalCftLanguage.g: - { - if ( (input.LA(1)>='\t' && input.LA(1)<='\n')||input.LA(1)=='\r'||input.LA(1)==' ' ) { - input.consume(); - - } - else { - MismatchedSetException mse = new MismatchedSetException(null,input); - recover(mse); - throw mse;} - - - } - break; - - default : - if ( cnt19 >= 1 ) break loop19; - EarlyExitException eee = - new EarlyExitException(19, input); - throw eee; - } - cnt19++; - } while (true); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "RULE_WS" - - // $ANTLR start "RULE_ANY_OTHER" - public final void mRULE_ANY_OTHER() throws RecognitionException { - try { - int _type = RULE_ANY_OTHER; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalCftLanguage.g:1688:16: ( . ) - // InternalCftLanguage.g:1688:18: . - { - matchAny(); - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "RULE_ANY_OTHER" - - public void mTokens() throws RecognitionException { - // InternalCftLanguage.g:1:8: ( 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 | RULE_OF_INT | RULE_T_DOUBLE | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER ) - int alt20=37; - alt20 = dfa20.predict(input); - switch (alt20) { - case 1 : - // InternalCftLanguage.g:1:10: T__13 - { - mT__13(); - - } - break; - case 2 : - // InternalCftLanguage.g:1:16: T__14 - { - mT__14(); - - } - break; - case 3 : - // InternalCftLanguage.g:1:22: T__15 - { - mT__15(); - - } - break; - case 4 : - // InternalCftLanguage.g:1:28: T__16 - { - mT__16(); - - } - break; - case 5 : - // InternalCftLanguage.g:1:34: T__17 - { - mT__17(); - - } - break; - case 6 : - // InternalCftLanguage.g:1:40: T__18 - { - mT__18(); - - } - break; - case 7 : - // InternalCftLanguage.g:1:46: T__19 - { - mT__19(); - - } - break; - case 8 : - // InternalCftLanguage.g:1:52: T__20 - { - mT__20(); - - } - break; - case 9 : - // InternalCftLanguage.g:1:58: T__21 - { - mT__21(); - - } - break; - case 10 : - // InternalCftLanguage.g:1:64: T__22 - { - mT__22(); - - } - break; - case 11 : - // InternalCftLanguage.g:1:70: T__23 - { - mT__23(); - - } - break; - case 12 : - // InternalCftLanguage.g:1:76: T__24 - { - mT__24(); - - } - break; - case 13 : - // InternalCftLanguage.g:1:82: T__25 - { - mT__25(); - - } - break; - case 14 : - // InternalCftLanguage.g:1:88: T__26 - { - mT__26(); - - } - break; - case 15 : - // InternalCftLanguage.g:1:94: T__27 - { - mT__27(); - - } - break; - case 16 : - // InternalCftLanguage.g:1:100: T__28 - { - mT__28(); - - } - break; - case 17 : - // InternalCftLanguage.g:1:106: T__29 - { - mT__29(); - - } - break; - case 18 : - // InternalCftLanguage.g:1:112: T__30 - { - mT__30(); - - } - break; - case 19 : - // InternalCftLanguage.g:1:118: T__31 - { - mT__31(); - - } - break; - case 20 : - // InternalCftLanguage.g:1:124: T__32 - { - mT__32(); - - } - break; - case 21 : - // InternalCftLanguage.g:1:130: T__33 - { - mT__33(); - - } - break; - case 22 : - // InternalCftLanguage.g:1:136: T__34 - { - mT__34(); - - } - break; - case 23 : - // InternalCftLanguage.g:1:142: T__35 - { - mT__35(); - - } - break; - case 24 : - // InternalCftLanguage.g:1:148: T__36 - { - mT__36(); - - } - break; - case 25 : - // InternalCftLanguage.g:1:154: T__37 - { - mT__37(); - - } - break; - case 26 : - // InternalCftLanguage.g:1:160: T__38 - { - mT__38(); - - } - break; - case 27 : - // InternalCftLanguage.g:1:166: T__39 - { - mT__39(); - - } - break; - case 28 : - // InternalCftLanguage.g:1:172: T__40 - { - mT__40(); - - } - break; - case 29 : - // InternalCftLanguage.g:1:178: RULE_OF_INT - { - mRULE_OF_INT(); - - } - break; - case 30 : - // InternalCftLanguage.g:1:190: RULE_T_DOUBLE - { - mRULE_T_DOUBLE(); - - } - break; - case 31 : - // InternalCftLanguage.g:1:204: RULE_ID - { - mRULE_ID(); - - } - break; - case 32 : - // InternalCftLanguage.g:1:212: RULE_INT - { - mRULE_INT(); - - } - break; - case 33 : - // InternalCftLanguage.g:1:221: RULE_STRING - { - mRULE_STRING(); - - } - break; - case 34 : - // InternalCftLanguage.g:1:233: RULE_ML_COMMENT - { - mRULE_ML_COMMENT(); - - } - break; - case 35 : - // InternalCftLanguage.g:1:249: RULE_SL_COMMENT - { - mRULE_SL_COMMENT(); - - } - break; - case 36 : - // InternalCftLanguage.g:1:265: RULE_WS - { - mRULE_WS(); - - } - break; - case 37 : - // InternalCftLanguage.g:1:273: RULE_ANY_OTHER - { - mRULE_ANY_OTHER(); - - } - break; - - } - - } - - - protected DFA8 dfa8 = new DFA8(this); - protected DFA20 dfa20 = new DFA20(this); - static final String DFA8_eotS = - "\3\uffff\1\4\1\uffff"; - static final String DFA8_eofS = - "\5\uffff"; - static final String DFA8_minS = - "\1\56\1\60\1\uffff\1\60\1\uffff"; - static final String DFA8_maxS = - "\1\145\1\71\1\uffff\1\145\1\uffff"; - static final String DFA8_acceptS = - "\2\uffff\1\2\1\uffff\1\1"; - static final String DFA8_specialS = - "\5\uffff}>"; - static final String[] DFA8_transitionS = { - "\1\1\26\uffff\1\2\37\uffff\1\2", - "\12\3", - "", - "\12\3\13\uffff\1\2\37\uffff\1\2", - "" - }; - - static final short[] DFA8_eot = DFA.unpackEncodedString(DFA8_eotS); - static final short[] DFA8_eof = DFA.unpackEncodedString(DFA8_eofS); - static final char[] DFA8_min = DFA.unpackEncodedStringToUnsignedChars(DFA8_minS); - static final char[] DFA8_max = DFA.unpackEncodedStringToUnsignedChars(DFA8_maxS); - static final short[] DFA8_accept = DFA.unpackEncodedString(DFA8_acceptS); - static final short[] DFA8_special = DFA.unpackEncodedString(DFA8_specialS); - static final short[][] DFA8_transition; - - static { - int numStates = DFA8_transitionS.length; - DFA8_transition = new short[numStates][]; - for (int i=0; i"; - static final String[] DFA20_transitionS = { - "\11\34\2\33\2\34\1\33\22\34\1\33\1\34\1\30\4\34\1\31\1\16\1\20\1\24\1\21\1\17\1\34\1\23\1\32\12\25\1\22\1\2\1\34\1\11\3\34\32\27\1\10\2\34\1\26\1\27\1\34\1\13\1\27\1\4\5\27\1\3\2\27\1\12\1\15\1\27\1\6\1\1\3\27\1\14\6\27\1\5\1\34\1\7\uff82\34", - "\1\35\20\uffff\1\36", - "", - "\1\41\1\42", - "\1\43", - "", - "\1\47\13\uffff\1\46\2\uffff\1\45", - "", - "\1\51", - "\1\52", - "\1\54\15\uffff\1\55", - "\1\56\4\uffff\1\57", - "\1\61\2\uffff\1\60", - "\1\62", - "", - "", - "", - "\1\66", - "\1\67", - "", - "", - "\1\72\1\uffff\12\73\13\uffff\1\72\37\uffff\1\72", - "\32\37\4\uffff\1\37\1\uffff\32\37", - "", - "\0\75", - "\0\75", - "\1\76\4\uffff\1\77", - "", - "", - "\1\101", - "\1\102", - "", - "", - "\1\103", - "\12\37\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37", - "\1\105", - "", - "\1\106", - "\12\37\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37", - "\12\111\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37", - "", - "", - "", - "", - "\1\112", - "\1\113", - "\1\114", - "\12\37\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37", - "\1\116", - "\1\117", - "\1\120", - "", - "", - "", - "", - "", - "", - "", - "", - "\1\72\1\uffff\12\73\13\uffff\1\72\37\uffff\1\72", - "", - "", - "", - "", - "", - "\1\121", - "\1\122", - "\1\123", - "", - "\12\37\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37", - "\12\37\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37", - "", - "", - "\12\111\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37", - "\1\127", - "\1\130", - "\12\37\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37", - "", - "\1\132", - "\1\133", - "\1\134", - "\1\135", - "\12\37\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37", - "\1\137", - "", - "", - "", - "\1\140", - "\1\141", - "", - "\1\142", - "\1\143", - "\1\144", - "\1\145", - "", - "\1\146", - "\1\147", - "\1\150", - "\1\151", - "\1\152", - "\1\153", - "\1\154", - "\12\37\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37", - "\12\37\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37", - "\12\37\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37", - "\1\160", - "\1\161", - "\1\162", - "\12\37\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37", - "", - "", - "", - "\1\164", - "\1\165", - "\12\37\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37", - "", - "\1\167", - "\12\37\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37", - "", - "\1\171", - "", - "\1\172", - "\1\173", - "\1\174", - "\1\175", - "\12\37\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37", - "" - }; - - static final short[] DFA20_eot = DFA.unpackEncodedString(DFA20_eotS); - static final short[] DFA20_eof = DFA.unpackEncodedString(DFA20_eofS); - static final char[] DFA20_min = DFA.unpackEncodedStringToUnsignedChars(DFA20_minS); - static final char[] DFA20_max = DFA.unpackEncodedStringToUnsignedChars(DFA20_maxS); - static final short[] DFA20_accept = DFA.unpackEncodedString(DFA20_acceptS); - static final short[] DFA20_special = DFA.unpackEncodedString(DFA20_specialS); - static final short[][] DFA20_transition; - - static { - int numStates = DFA20_transitionS.length; - DFA20_transition = new short[numStates][]; - for (int i=0; i='\u0000' && LA20_25<='\uFFFF')) ) {s = 61;} - - else s = 28; - - if ( s>=0 ) return s; - break; - case 1 : - int LA20_0 = input.LA(1); - - s = -1; - if ( (LA20_0=='p') ) {s = 1;} - - else if ( (LA20_0==';') ) {s = 2;} - - else if ( (LA20_0=='i') ) {s = 3;} - - else if ( (LA20_0=='c') ) {s = 4;} - - else if ( (LA20_0=='{') ) {s = 5;} - - else if ( (LA20_0=='o') ) {s = 6;} - - else if ( (LA20_0=='}') ) {s = 7;} - - else if ( (LA20_0=='[') ) {s = 8;} - - else if ( (LA20_0=='=') ) {s = 9;} - - else if ( (LA20_0=='l') ) {s = 10;} - - else if ( (LA20_0=='a') ) {s = 11;} - - else if ( (LA20_0=='t') ) {s = 12;} - - else if ( (LA20_0=='m') ) {s = 13;} - - else if ( (LA20_0=='(') ) {s = 14;} - - else if ( (LA20_0==',') ) {s = 15;} - - else if ( (LA20_0==')') ) {s = 16;} - - else if ( (LA20_0=='+') ) {s = 17;} - - else if ( (LA20_0==':') ) {s = 18;} - - else if ( (LA20_0=='.') ) {s = 19;} - - else if ( (LA20_0=='*') ) {s = 20;} - - else if ( ((LA20_0>='0' && LA20_0<='9')) ) {s = 21;} - - else if ( (LA20_0=='^') ) {s = 22;} - - else if ( ((LA20_0>='A' && LA20_0<='Z')||LA20_0=='_'||LA20_0=='b'||(LA20_0>='d' && LA20_0<='h')||(LA20_0>='j' && LA20_0<='k')||LA20_0=='n'||(LA20_0>='q' && LA20_0<='s')||(LA20_0>='u' && LA20_0<='z')) ) {s = 23;} - - else if ( (LA20_0=='\"') ) {s = 24;} - - else if ( (LA20_0=='\'') ) {s = 25;} - - else if ( (LA20_0=='/') ) {s = 26;} - - else if ( ((LA20_0>='\t' && LA20_0<='\n')||LA20_0=='\r'||LA20_0==' ') ) {s = 27;} - - else if ( ((LA20_0>='\u0000' && LA20_0<='\b')||(LA20_0>='\u000B' && LA20_0<='\f')||(LA20_0>='\u000E' && LA20_0<='\u001F')||LA20_0=='!'||(LA20_0>='#' && LA20_0<='&')||LA20_0=='-'||LA20_0=='<'||(LA20_0>='>' && LA20_0<='@')||(LA20_0>='\\' && LA20_0<=']')||LA20_0=='`'||LA20_0=='|'||(LA20_0>='~' && LA20_0<='\uFFFF')) ) {s = 28;} - - if ( s>=0 ) return s; - break; - case 2 : - int LA20_24 = input.LA(1); - - s = -1; - if ( ((LA20_24>='\u0000' && LA20_24<='\uFFFF')) ) {s = 61;} - - else s = 28; - - if ( s>=0 ) return s; - break; - } - NoViableAltException nvae = - new NoViableAltException(getDescription(), 20, _s, input); - error(nvae); - throw nvae; - } - } - - -} \ No newline at end of file diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/parser/antlr/internal/InternalCftLanguageParser.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/parser/antlr/internal/InternalCftLanguageParser.java deleted file mode 100644 index 0da9c0f1..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/parser/antlr/internal/InternalCftLanguageParser.java +++ /dev/null @@ -1,4509 +0,0 @@ -package hu.bme.mit.inf.dslreasoner.faulttree.components.parser.antlr.internal; - -import org.eclipse.xtext.*; -import org.eclipse.xtext.parser.*; -import org.eclipse.xtext.parser.impl.*; -import org.eclipse.emf.ecore.util.EcoreUtil; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.xtext.parser.antlr.AbstractInternalAntlrParser; -import org.eclipse.xtext.parser.antlr.XtextTokenStream; -import org.eclipse.xtext.parser.antlr.XtextTokenStream.HiddenTokens; -import org.eclipse.xtext.parser.antlr.AntlrDatatypeRuleToken; -import hu.bme.mit.inf.dslreasoner.faulttree.components.services.CftLanguageGrammarAccess; - - - -import org.antlr.runtime.*; -import java.util.Stack; -import java.util.List; -import java.util.ArrayList; - -@SuppressWarnings("all") -public class InternalCftLanguageParser extends AbstractInternalAntlrParser { - public static final String[] tokenNames = new String[] { - "", "", "", "", "RULE_INT", "RULE_OF_INT", "RULE_ID", "RULE_T_DOUBLE", "RULE_STRING", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "'package'", "';'", "'import'", "'cft'", "'{'", "'in'", "'out'", "'}'", "'[]'", "'prob'", "'='", "'lambda'", "'and'", "'or'", "'of'", "'transformation'", "'toplevel'", "'mapping'", "'('", "','", "')'", "'lookup'", "'as'", "'+='", "':='", "'.'", "'=>'", "'*'" - }; - public static final int RULE_STRING=8; - public static final int RULE_SL_COMMENT=10; - public static final int T__19=19; - public static final int T__15=15; - public static final int T__37=37; - public static final int T__16=16; - public static final int T__38=38; - public static final int T__17=17; - public static final int T__39=39; - public static final int T__18=18; - public static final int T__33=33; - public static final int T__34=34; - public static final int RULE_T_DOUBLE=7; - public static final int T__13=13; - public static final int T__35=35; - public static final int T__14=14; - public static final int T__36=36; - public static final int EOF=-1; - public static final int T__30=30; - public static final int T__31=31; - public static final int T__32=32; - public static final int RULE_OF_INT=5; - public static final int RULE_ID=6; - public static final int RULE_WS=11; - public static final int RULE_ANY_OTHER=12; - public static final int T__26=26; - public static final int T__27=27; - public static final int T__28=28; - public static final int RULE_INT=4; - public static final int T__29=29; - public static final int T__22=22; - public static final int RULE_ML_COMMENT=9; - public static final int T__23=23; - public static final int T__24=24; - public static final int T__25=25; - public static final int T__40=40; - public static final int T__20=20; - public static final int T__21=21; - - // delegates - // delegators - - - public InternalCftLanguageParser(TokenStream input) { - this(input, new RecognizerSharedState()); - } - public InternalCftLanguageParser(TokenStream input, RecognizerSharedState state) { - super(input, state); - - } - - - public String[] getTokenNames() { return InternalCftLanguageParser.tokenNames; } - public String getGrammarFileName() { return "InternalCftLanguage.g"; } - - - - private CftLanguageGrammarAccess grammarAccess; - - public InternalCftLanguageParser(TokenStream input, CftLanguageGrammarAccess grammarAccess) { - this(input); - this.grammarAccess = grammarAccess; - registerRules(grammarAccess.getGrammar()); - } - - @Override - protected String getFirstRuleName() { - return "CftModel"; - } - - @Override - protected CftLanguageGrammarAccess getGrammarAccess() { - return grammarAccess; - } - - - - - // $ANTLR start "entryRuleCftModel" - // InternalCftLanguage.g:64:1: entryRuleCftModel returns [EObject current=null] : iv_ruleCftModel= ruleCftModel EOF ; - public final EObject entryRuleCftModel() throws RecognitionException { - EObject current = null; - - EObject iv_ruleCftModel = null; - - - try { - // InternalCftLanguage.g:64:49: (iv_ruleCftModel= ruleCftModel EOF ) - // InternalCftLanguage.g:65:2: iv_ruleCftModel= ruleCftModel EOF - { - newCompositeNode(grammarAccess.getCftModelRule()); - pushFollow(FOLLOW_1); - iv_ruleCftModel=ruleCftModel(); - - state._fsp--; - - current =iv_ruleCftModel; - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleCftModel" - - - // $ANTLR start "ruleCftModel" - // InternalCftLanguage.g:71:1: ruleCftModel returns [EObject current=null] : (otherlv_0= 'package' ( (lv_packageName_1_0= ruleQualifiedName ) ) (otherlv_2= ';' )? ( (lv_imports_3_0= ruleImportDeclaration ) )* ( ( (lv_componentDefinitions_4_0= ruleComponentDefinition ) ) | ( (lv_transformationDefinitions_5_0= ruleTransformationDefinition ) ) )* ) ; - public final EObject ruleCftModel() throws RecognitionException { - EObject current = null; - - Token otherlv_0=null; - Token otherlv_2=null; - AntlrDatatypeRuleToken lv_packageName_1_0 = null; - - EObject lv_imports_3_0 = null; - - EObject lv_componentDefinitions_4_0 = null; - - EObject lv_transformationDefinitions_5_0 = null; - - - - enterRule(); - - try { - // InternalCftLanguage.g:77:2: ( (otherlv_0= 'package' ( (lv_packageName_1_0= ruleQualifiedName ) ) (otherlv_2= ';' )? ( (lv_imports_3_0= ruleImportDeclaration ) )* ( ( (lv_componentDefinitions_4_0= ruleComponentDefinition ) ) | ( (lv_transformationDefinitions_5_0= ruleTransformationDefinition ) ) )* ) ) - // InternalCftLanguage.g:78:2: (otherlv_0= 'package' ( (lv_packageName_1_0= ruleQualifiedName ) ) (otherlv_2= ';' )? ( (lv_imports_3_0= ruleImportDeclaration ) )* ( ( (lv_componentDefinitions_4_0= ruleComponentDefinition ) ) | ( (lv_transformationDefinitions_5_0= ruleTransformationDefinition ) ) )* ) - { - // InternalCftLanguage.g:78:2: (otherlv_0= 'package' ( (lv_packageName_1_0= ruleQualifiedName ) ) (otherlv_2= ';' )? ( (lv_imports_3_0= ruleImportDeclaration ) )* ( ( (lv_componentDefinitions_4_0= ruleComponentDefinition ) ) | ( (lv_transformationDefinitions_5_0= ruleTransformationDefinition ) ) )* ) - // InternalCftLanguage.g:79:3: otherlv_0= 'package' ( (lv_packageName_1_0= ruleQualifiedName ) ) (otherlv_2= ';' )? ( (lv_imports_3_0= ruleImportDeclaration ) )* ( ( (lv_componentDefinitions_4_0= ruleComponentDefinition ) ) | ( (lv_transformationDefinitions_5_0= ruleTransformationDefinition ) ) )* - { - otherlv_0=(Token)match(input,13,FOLLOW_3); - - newLeafNode(otherlv_0, grammarAccess.getCftModelAccess().getPackageKeyword_0()); - - // InternalCftLanguage.g:83:3: ( (lv_packageName_1_0= ruleQualifiedName ) ) - // InternalCftLanguage.g:84:4: (lv_packageName_1_0= ruleQualifiedName ) - { - // InternalCftLanguage.g:84:4: (lv_packageName_1_0= ruleQualifiedName ) - // InternalCftLanguage.g:85:5: lv_packageName_1_0= ruleQualifiedName - { - - newCompositeNode(grammarAccess.getCftModelAccess().getPackageNameQualifiedNameParserRuleCall_1_0()); - - pushFollow(FOLLOW_4); - lv_packageName_1_0=ruleQualifiedName(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getCftModelRule()); - } - set( - current, - "packageName", - lv_packageName_1_0, - "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.QualifiedName"); - afterParserOrEnumRuleCall(); - - - } - - - } - - // InternalCftLanguage.g:102:3: (otherlv_2= ';' )? - int alt1=2; - int LA1_0 = input.LA(1); - - if ( (LA1_0==14) ) { - alt1=1; - } - switch (alt1) { - case 1 : - // InternalCftLanguage.g:103:4: otherlv_2= ';' - { - otherlv_2=(Token)match(input,14,FOLLOW_5); - - newLeafNode(otherlv_2, grammarAccess.getCftModelAccess().getSemicolonKeyword_2()); - - - } - break; - - } - - // InternalCftLanguage.g:108:3: ( (lv_imports_3_0= ruleImportDeclaration ) )* - loop2: - do { - int alt2=2; - int LA2_0 = input.LA(1); - - if ( (LA2_0==15) ) { - alt2=1; - } - - - switch (alt2) { - case 1 : - // InternalCftLanguage.g:109:4: (lv_imports_3_0= ruleImportDeclaration ) - { - // InternalCftLanguage.g:109:4: (lv_imports_3_0= ruleImportDeclaration ) - // InternalCftLanguage.g:110:5: lv_imports_3_0= ruleImportDeclaration - { - - newCompositeNode(grammarAccess.getCftModelAccess().getImportsImportDeclarationParserRuleCall_3_0()); - - pushFollow(FOLLOW_5); - lv_imports_3_0=ruleImportDeclaration(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getCftModelRule()); - } - add( - current, - "imports", - lv_imports_3_0, - "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.ImportDeclaration"); - afterParserOrEnumRuleCall(); - - - } - - - } - break; - - default : - break loop2; - } - } while (true); - - // InternalCftLanguage.g:127:3: ( ( (lv_componentDefinitions_4_0= ruleComponentDefinition ) ) | ( (lv_transformationDefinitions_5_0= ruleTransformationDefinition ) ) )* - loop3: - do { - int alt3=3; - int LA3_0 = input.LA(1); - - if ( (LA3_0==16) ) { - alt3=1; - } - else if ( (LA3_0==28) ) { - alt3=2; - } - - - switch (alt3) { - case 1 : - // InternalCftLanguage.g:128:4: ( (lv_componentDefinitions_4_0= ruleComponentDefinition ) ) - { - // InternalCftLanguage.g:128:4: ( (lv_componentDefinitions_4_0= ruleComponentDefinition ) ) - // InternalCftLanguage.g:129:5: (lv_componentDefinitions_4_0= ruleComponentDefinition ) - { - // InternalCftLanguage.g:129:5: (lv_componentDefinitions_4_0= ruleComponentDefinition ) - // InternalCftLanguage.g:130:6: lv_componentDefinitions_4_0= ruleComponentDefinition - { - - newCompositeNode(grammarAccess.getCftModelAccess().getComponentDefinitionsComponentDefinitionParserRuleCall_4_0_0()); - - pushFollow(FOLLOW_6); - lv_componentDefinitions_4_0=ruleComponentDefinition(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getCftModelRule()); - } - add( - current, - "componentDefinitions", - lv_componentDefinitions_4_0, - "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.ComponentDefinition"); - afterParserOrEnumRuleCall(); - - - } - - - } - - - } - break; - case 2 : - // InternalCftLanguage.g:148:4: ( (lv_transformationDefinitions_5_0= ruleTransformationDefinition ) ) - { - // InternalCftLanguage.g:148:4: ( (lv_transformationDefinitions_5_0= ruleTransformationDefinition ) ) - // InternalCftLanguage.g:149:5: (lv_transformationDefinitions_5_0= ruleTransformationDefinition ) - { - // InternalCftLanguage.g:149:5: (lv_transformationDefinitions_5_0= ruleTransformationDefinition ) - // InternalCftLanguage.g:150:6: lv_transformationDefinitions_5_0= ruleTransformationDefinition - { - - newCompositeNode(grammarAccess.getCftModelAccess().getTransformationDefinitionsTransformationDefinitionParserRuleCall_4_1_0()); - - pushFollow(FOLLOW_6); - lv_transformationDefinitions_5_0=ruleTransformationDefinition(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getCftModelRule()); - } - add( - current, - "transformationDefinitions", - lv_transformationDefinitions_5_0, - "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.TransformationDefinition"); - afterParserOrEnumRuleCall(); - - - } - - - } - - - } - break; - - default : - break loop3; - } - } while (true); - - - } - - - } - - - leaveRule(); - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleCftModel" - - - // $ANTLR start "entryRuleImportDeclaration" - // InternalCftLanguage.g:172:1: entryRuleImportDeclaration returns [EObject current=null] : iv_ruleImportDeclaration= ruleImportDeclaration EOF ; - public final EObject entryRuleImportDeclaration() throws RecognitionException { - EObject current = null; - - EObject iv_ruleImportDeclaration = null; - - - try { - // InternalCftLanguage.g:172:58: (iv_ruleImportDeclaration= ruleImportDeclaration EOF ) - // InternalCftLanguage.g:173:2: iv_ruleImportDeclaration= ruleImportDeclaration EOF - { - newCompositeNode(grammarAccess.getImportDeclarationRule()); - pushFollow(FOLLOW_1); - iv_ruleImportDeclaration=ruleImportDeclaration(); - - state._fsp--; - - current =iv_ruleImportDeclaration; - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleImportDeclaration" - - - // $ANTLR start "ruleImportDeclaration" - // InternalCftLanguage.g:179:1: ruleImportDeclaration returns [EObject current=null] : (otherlv_0= 'import' ( (lv_importedNamespace_1_0= ruleQualifiedNameWithWildcard ) ) (otherlv_2= ';' )? ) ; - public final EObject ruleImportDeclaration() throws RecognitionException { - EObject current = null; - - Token otherlv_0=null; - Token otherlv_2=null; - AntlrDatatypeRuleToken lv_importedNamespace_1_0 = null; - - - - enterRule(); - - try { - // InternalCftLanguage.g:185:2: ( (otherlv_0= 'import' ( (lv_importedNamespace_1_0= ruleQualifiedNameWithWildcard ) ) (otherlv_2= ';' )? ) ) - // InternalCftLanguage.g:186:2: (otherlv_0= 'import' ( (lv_importedNamespace_1_0= ruleQualifiedNameWithWildcard ) ) (otherlv_2= ';' )? ) - { - // InternalCftLanguage.g:186:2: (otherlv_0= 'import' ( (lv_importedNamespace_1_0= ruleQualifiedNameWithWildcard ) ) (otherlv_2= ';' )? ) - // InternalCftLanguage.g:187:3: otherlv_0= 'import' ( (lv_importedNamespace_1_0= ruleQualifiedNameWithWildcard ) ) (otherlv_2= ';' )? - { - otherlv_0=(Token)match(input,15,FOLLOW_3); - - newLeafNode(otherlv_0, grammarAccess.getImportDeclarationAccess().getImportKeyword_0()); - - // InternalCftLanguage.g:191:3: ( (lv_importedNamespace_1_0= ruleQualifiedNameWithWildcard ) ) - // InternalCftLanguage.g:192:4: (lv_importedNamespace_1_0= ruleQualifiedNameWithWildcard ) - { - // InternalCftLanguage.g:192:4: (lv_importedNamespace_1_0= ruleQualifiedNameWithWildcard ) - // InternalCftLanguage.g:193:5: lv_importedNamespace_1_0= ruleQualifiedNameWithWildcard - { - - newCompositeNode(grammarAccess.getImportDeclarationAccess().getImportedNamespaceQualifiedNameWithWildcardParserRuleCall_1_0()); - - pushFollow(FOLLOW_7); - lv_importedNamespace_1_0=ruleQualifiedNameWithWildcard(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getImportDeclarationRule()); - } - set( - current, - "importedNamespace", - lv_importedNamespace_1_0, - "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.QualifiedNameWithWildcard"); - afterParserOrEnumRuleCall(); - - - } - - - } - - // InternalCftLanguage.g:210:3: (otherlv_2= ';' )? - int alt4=2; - int LA4_0 = input.LA(1); - - if ( (LA4_0==14) ) { - alt4=1; - } - switch (alt4) { - case 1 : - // InternalCftLanguage.g:211:4: otherlv_2= ';' - { - otherlv_2=(Token)match(input,14,FOLLOW_2); - - newLeafNode(otherlv_2, grammarAccess.getImportDeclarationAccess().getSemicolonKeyword_2()); - - - } - break; - - } - - - } - - - } - - - leaveRule(); - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleImportDeclaration" - - - // $ANTLR start "entryRuleComponentDefinition" - // InternalCftLanguage.g:220:1: entryRuleComponentDefinition returns [EObject current=null] : iv_ruleComponentDefinition= ruleComponentDefinition EOF ; - public final EObject entryRuleComponentDefinition() throws RecognitionException { - EObject current = null; - - EObject iv_ruleComponentDefinition = null; - - - try { - // InternalCftLanguage.g:220:60: (iv_ruleComponentDefinition= ruleComponentDefinition EOF ) - // InternalCftLanguage.g:221:2: iv_ruleComponentDefinition= ruleComponentDefinition EOF - { - newCompositeNode(grammarAccess.getComponentDefinitionRule()); - pushFollow(FOLLOW_1); - iv_ruleComponentDefinition=ruleComponentDefinition(); - - state._fsp--; - - current =iv_ruleComponentDefinition; - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleComponentDefinition" - - - // $ANTLR start "ruleComponentDefinition" - // InternalCftLanguage.g:227:1: ruleComponentDefinition returns [EObject current=null] : (otherlv_0= 'cft' ( (lv_name_1_0= ruleValidId ) ) otherlv_2= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'in' ( (lv_inputEvents_5_0= ruleInputEvent ) )* otherlv_6= ';' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'out' ( ( ruleValidId ) )* otherlv_9= ';' ) ) ) ) )* ) ) ) ( ( (lv_eventDefinitions_10_0= ruleEventDefinition ) ) otherlv_11= ';' )* otherlv_12= '}' ) ; - public final EObject ruleComponentDefinition() throws RecognitionException { - EObject current = null; - - Token otherlv_0=null; - Token otherlv_2=null; - Token otherlv_4=null; - Token otherlv_6=null; - Token otherlv_7=null; - Token otherlv_9=null; - Token otherlv_11=null; - Token otherlv_12=null; - AntlrDatatypeRuleToken lv_name_1_0 = null; - - EObject lv_inputEvents_5_0 = null; - - EObject lv_eventDefinitions_10_0 = null; - - - - enterRule(); - - try { - // InternalCftLanguage.g:233:2: ( (otherlv_0= 'cft' ( (lv_name_1_0= ruleValidId ) ) otherlv_2= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'in' ( (lv_inputEvents_5_0= ruleInputEvent ) )* otherlv_6= ';' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'out' ( ( ruleValidId ) )* otherlv_9= ';' ) ) ) ) )* ) ) ) ( ( (lv_eventDefinitions_10_0= ruleEventDefinition ) ) otherlv_11= ';' )* otherlv_12= '}' ) ) - // InternalCftLanguage.g:234:2: (otherlv_0= 'cft' ( (lv_name_1_0= ruleValidId ) ) otherlv_2= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'in' ( (lv_inputEvents_5_0= ruleInputEvent ) )* otherlv_6= ';' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'out' ( ( ruleValidId ) )* otherlv_9= ';' ) ) ) ) )* ) ) ) ( ( (lv_eventDefinitions_10_0= ruleEventDefinition ) ) otherlv_11= ';' )* otherlv_12= '}' ) - { - // InternalCftLanguage.g:234:2: (otherlv_0= 'cft' ( (lv_name_1_0= ruleValidId ) ) otherlv_2= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'in' ( (lv_inputEvents_5_0= ruleInputEvent ) )* otherlv_6= ';' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'out' ( ( ruleValidId ) )* otherlv_9= ';' ) ) ) ) )* ) ) ) ( ( (lv_eventDefinitions_10_0= ruleEventDefinition ) ) otherlv_11= ';' )* otherlv_12= '}' ) - // InternalCftLanguage.g:235:3: otherlv_0= 'cft' ( (lv_name_1_0= ruleValidId ) ) otherlv_2= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'in' ( (lv_inputEvents_5_0= ruleInputEvent ) )* otherlv_6= ';' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'out' ( ( ruleValidId ) )* otherlv_9= ';' ) ) ) ) )* ) ) ) ( ( (lv_eventDefinitions_10_0= ruleEventDefinition ) ) otherlv_11= ';' )* otherlv_12= '}' - { - otherlv_0=(Token)match(input,16,FOLLOW_3); - - newLeafNode(otherlv_0, grammarAccess.getComponentDefinitionAccess().getCftKeyword_0()); - - // InternalCftLanguage.g:239:3: ( (lv_name_1_0= ruleValidId ) ) - // InternalCftLanguage.g:240:4: (lv_name_1_0= ruleValidId ) - { - // InternalCftLanguage.g:240:4: (lv_name_1_0= ruleValidId ) - // InternalCftLanguage.g:241:5: lv_name_1_0= ruleValidId - { - - newCompositeNode(grammarAccess.getComponentDefinitionAccess().getNameValidIdParserRuleCall_1_0()); - - pushFollow(FOLLOW_8); - lv_name_1_0=ruleValidId(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getComponentDefinitionRule()); - } - set( - current, - "name", - lv_name_1_0, - "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.ValidId"); - afterParserOrEnumRuleCall(); - - - } - - - } - - otherlv_2=(Token)match(input,17,FOLLOW_9); - - newLeafNode(otherlv_2, grammarAccess.getComponentDefinitionAccess().getLeftCurlyBracketKeyword_2()); - - // InternalCftLanguage.g:262:3: ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'in' ( (lv_inputEvents_5_0= ruleInputEvent ) )* otherlv_6= ';' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'out' ( ( ruleValidId ) )* otherlv_9= ';' ) ) ) ) )* ) ) ) - // InternalCftLanguage.g:263:4: ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'in' ( (lv_inputEvents_5_0= ruleInputEvent ) )* otherlv_6= ';' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'out' ( ( ruleValidId ) )* otherlv_9= ';' ) ) ) ) )* ) ) - { - // InternalCftLanguage.g:263:4: ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'in' ( (lv_inputEvents_5_0= ruleInputEvent ) )* otherlv_6= ';' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'out' ( ( ruleValidId ) )* otherlv_9= ';' ) ) ) ) )* ) ) - // InternalCftLanguage.g:264:5: ( ( ({...}? => ( ({...}? => (otherlv_4= 'in' ( (lv_inputEvents_5_0= ruleInputEvent ) )* otherlv_6= ';' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'out' ( ( ruleValidId ) )* otherlv_9= ';' ) ) ) ) )* ) - { - - getUnorderedGroupHelper().enter(grammarAccess.getComponentDefinitionAccess().getUnorderedGroup_3()); - - // InternalCftLanguage.g:267:5: ( ( ({...}? => ( ({...}? => (otherlv_4= 'in' ( (lv_inputEvents_5_0= ruleInputEvent ) )* otherlv_6= ';' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'out' ( ( ruleValidId ) )* otherlv_9= ';' ) ) ) ) )* ) - // InternalCftLanguage.g:268:6: ( ({...}? => ( ({...}? => (otherlv_4= 'in' ( (lv_inputEvents_5_0= ruleInputEvent ) )* otherlv_6= ';' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'out' ( ( ruleValidId ) )* otherlv_9= ';' ) ) ) ) )* - { - // InternalCftLanguage.g:268:6: ( ({...}? => ( ({...}? => (otherlv_4= 'in' ( (lv_inputEvents_5_0= ruleInputEvent ) )* otherlv_6= ';' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'out' ( ( ruleValidId ) )* otherlv_9= ';' ) ) ) ) )* - loop7: - do { - int alt7=3; - int LA7_0 = input.LA(1); - - if ( LA7_0 == 18 && getUnorderedGroupHelper().canSelect(grammarAccess.getComponentDefinitionAccess().getUnorderedGroup_3(), 0) ) { - alt7=1; - } - else if ( LA7_0 == 19 && getUnorderedGroupHelper().canSelect(grammarAccess.getComponentDefinitionAccess().getUnorderedGroup_3(), 1) ) { - alt7=2; - } - - - switch (alt7) { - case 1 : - // InternalCftLanguage.g:269:4: ({...}? => ( ({...}? => (otherlv_4= 'in' ( (lv_inputEvents_5_0= ruleInputEvent ) )* otherlv_6= ';' ) ) ) ) - { - // InternalCftLanguage.g:269:4: ({...}? => ( ({...}? => (otherlv_4= 'in' ( (lv_inputEvents_5_0= ruleInputEvent ) )* otherlv_6= ';' ) ) ) ) - // InternalCftLanguage.g:270:5: {...}? => ( ({...}? => (otherlv_4= 'in' ( (lv_inputEvents_5_0= ruleInputEvent ) )* otherlv_6= ';' ) ) ) - { - if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getComponentDefinitionAccess().getUnorderedGroup_3(), 0) ) { - throw new FailedPredicateException(input, "ruleComponentDefinition", "getUnorderedGroupHelper().canSelect(grammarAccess.getComponentDefinitionAccess().getUnorderedGroup_3(), 0)"); - } - // InternalCftLanguage.g:270:116: ( ({...}? => (otherlv_4= 'in' ( (lv_inputEvents_5_0= ruleInputEvent ) )* otherlv_6= ';' ) ) ) - // InternalCftLanguage.g:271:6: ({...}? => (otherlv_4= 'in' ( (lv_inputEvents_5_0= ruleInputEvent ) )* otherlv_6= ';' ) ) - { - - getUnorderedGroupHelper().select(grammarAccess.getComponentDefinitionAccess().getUnorderedGroup_3(), 0); - - // InternalCftLanguage.g:274:9: ({...}? => (otherlv_4= 'in' ( (lv_inputEvents_5_0= ruleInputEvent ) )* otherlv_6= ';' ) ) - // InternalCftLanguage.g:274:10: {...}? => (otherlv_4= 'in' ( (lv_inputEvents_5_0= ruleInputEvent ) )* otherlv_6= ';' ) - { - if ( !((true)) ) { - throw new FailedPredicateException(input, "ruleComponentDefinition", "true"); - } - // InternalCftLanguage.g:274:19: (otherlv_4= 'in' ( (lv_inputEvents_5_0= ruleInputEvent ) )* otherlv_6= ';' ) - // InternalCftLanguage.g:274:20: otherlv_4= 'in' ( (lv_inputEvents_5_0= ruleInputEvent ) )* otherlv_6= ';' - { - otherlv_4=(Token)match(input,18,FOLLOW_10); - - newLeafNode(otherlv_4, grammarAccess.getComponentDefinitionAccess().getInKeyword_3_0_0()); - - // InternalCftLanguage.g:278:9: ( (lv_inputEvents_5_0= ruleInputEvent ) )* - loop5: - do { - int alt5=2; - int LA5_0 = input.LA(1); - - if ( ((LA5_0>=RULE_OF_INT && LA5_0<=RULE_ID)) ) { - alt5=1; - } - - - switch (alt5) { - case 1 : - // InternalCftLanguage.g:279:10: (lv_inputEvents_5_0= ruleInputEvent ) - { - // InternalCftLanguage.g:279:10: (lv_inputEvents_5_0= ruleInputEvent ) - // InternalCftLanguage.g:280:11: lv_inputEvents_5_0= ruleInputEvent - { - - newCompositeNode(grammarAccess.getComponentDefinitionAccess().getInputEventsInputEventParserRuleCall_3_0_1_0()); - - pushFollow(FOLLOW_10); - lv_inputEvents_5_0=ruleInputEvent(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getComponentDefinitionRule()); - } - add( - current, - "inputEvents", - lv_inputEvents_5_0, - "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.InputEvent"); - afterParserOrEnumRuleCall(); - - - } - - - } - break; - - default : - break loop5; - } - } while (true); - - otherlv_6=(Token)match(input,14,FOLLOW_9); - - newLeafNode(otherlv_6, grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_3_0_2()); - - - } - - - } - - - getUnorderedGroupHelper().returnFromSelection(grammarAccess.getComponentDefinitionAccess().getUnorderedGroup_3()); - - - } - - - } - - - } - break; - case 2 : - // InternalCftLanguage.g:307:4: ({...}? => ( ({...}? => (otherlv_7= 'out' ( ( ruleValidId ) )* otherlv_9= ';' ) ) ) ) - { - // InternalCftLanguage.g:307:4: ({...}? => ( ({...}? => (otherlv_7= 'out' ( ( ruleValidId ) )* otherlv_9= ';' ) ) ) ) - // InternalCftLanguage.g:308:5: {...}? => ( ({...}? => (otherlv_7= 'out' ( ( ruleValidId ) )* otherlv_9= ';' ) ) ) - { - if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getComponentDefinitionAccess().getUnorderedGroup_3(), 1) ) { - throw new FailedPredicateException(input, "ruleComponentDefinition", "getUnorderedGroupHelper().canSelect(grammarAccess.getComponentDefinitionAccess().getUnorderedGroup_3(), 1)"); - } - // InternalCftLanguage.g:308:116: ( ({...}? => (otherlv_7= 'out' ( ( ruleValidId ) )* otherlv_9= ';' ) ) ) - // InternalCftLanguage.g:309:6: ({...}? => (otherlv_7= 'out' ( ( ruleValidId ) )* otherlv_9= ';' ) ) - { - - getUnorderedGroupHelper().select(grammarAccess.getComponentDefinitionAccess().getUnorderedGroup_3(), 1); - - // InternalCftLanguage.g:312:9: ({...}? => (otherlv_7= 'out' ( ( ruleValidId ) )* otherlv_9= ';' ) ) - // InternalCftLanguage.g:312:10: {...}? => (otherlv_7= 'out' ( ( ruleValidId ) )* otherlv_9= ';' ) - { - if ( !((true)) ) { - throw new FailedPredicateException(input, "ruleComponentDefinition", "true"); - } - // InternalCftLanguage.g:312:19: (otherlv_7= 'out' ( ( ruleValidId ) )* otherlv_9= ';' ) - // InternalCftLanguage.g:312:20: otherlv_7= 'out' ( ( ruleValidId ) )* otherlv_9= ';' - { - otherlv_7=(Token)match(input,19,FOLLOW_10); - - newLeafNode(otherlv_7, grammarAccess.getComponentDefinitionAccess().getOutKeyword_3_1_0()); - - // InternalCftLanguage.g:316:9: ( ( ruleValidId ) )* - loop6: - do { - int alt6=2; - int LA6_0 = input.LA(1); - - if ( ((LA6_0>=RULE_OF_INT && LA6_0<=RULE_ID)) ) { - alt6=1; - } - - - switch (alt6) { - case 1 : - // InternalCftLanguage.g:317:10: ( ruleValidId ) - { - // InternalCftLanguage.g:317:10: ( ruleValidId ) - // InternalCftLanguage.g:318:11: ruleValidId - { - - if (current==null) { - current = createModelElement(grammarAccess.getComponentDefinitionRule()); - } - - - newCompositeNode(grammarAccess.getComponentDefinitionAccess().getOutputEventsEventDeclarationCrossReference_3_1_1_0()); - - pushFollow(FOLLOW_10); - ruleValidId(); - - state._fsp--; - - - afterParserOrEnumRuleCall(); - - - } - - - } - break; - - default : - break loop6; - } - } while (true); - - otherlv_9=(Token)match(input,14,FOLLOW_9); - - newLeafNode(otherlv_9, grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_3_1_2()); - - - } - - - } - - - getUnorderedGroupHelper().returnFromSelection(grammarAccess.getComponentDefinitionAccess().getUnorderedGroup_3()); - - - } - - - } - - - } - break; - - default : - break loop7; - } - } while (true); - - - } - - - } - - - getUnorderedGroupHelper().leave(grammarAccess.getComponentDefinitionAccess().getUnorderedGroup_3()); - - - } - - // InternalCftLanguage.g:349:3: ( ( (lv_eventDefinitions_10_0= ruleEventDefinition ) ) otherlv_11= ';' )* - loop8: - do { - int alt8=2; - int LA8_0 = input.LA(1); - - if ( ((LA8_0>=RULE_OF_INT && LA8_0<=RULE_ID)) ) { - alt8=1; - } - - - switch (alt8) { - case 1 : - // InternalCftLanguage.g:350:4: ( (lv_eventDefinitions_10_0= ruleEventDefinition ) ) otherlv_11= ';' - { - // InternalCftLanguage.g:350:4: ( (lv_eventDefinitions_10_0= ruleEventDefinition ) ) - // InternalCftLanguage.g:351:5: (lv_eventDefinitions_10_0= ruleEventDefinition ) - { - // InternalCftLanguage.g:351:5: (lv_eventDefinitions_10_0= ruleEventDefinition ) - // InternalCftLanguage.g:352:6: lv_eventDefinitions_10_0= ruleEventDefinition - { - - newCompositeNode(grammarAccess.getComponentDefinitionAccess().getEventDefinitionsEventDefinitionParserRuleCall_4_0_0()); - - pushFollow(FOLLOW_11); - lv_eventDefinitions_10_0=ruleEventDefinition(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getComponentDefinitionRule()); - } - add( - current, - "eventDefinitions", - lv_eventDefinitions_10_0, - "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.EventDefinition"); - afterParserOrEnumRuleCall(); - - - } - - - } - - otherlv_11=(Token)match(input,14,FOLLOW_12); - - newLeafNode(otherlv_11, grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_4_1()); - - - } - break; - - default : - break loop8; - } - } while (true); - - otherlv_12=(Token)match(input,20,FOLLOW_2); - - newLeafNode(otherlv_12, grammarAccess.getComponentDefinitionAccess().getRightCurlyBracketKeyword_5()); - - - } - - - } - - - leaveRule(); - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleComponentDefinition" - - - // $ANTLR start "entryRuleInputEvent" - // InternalCftLanguage.g:382:1: entryRuleInputEvent returns [EObject current=null] : iv_ruleInputEvent= ruleInputEvent EOF ; - public final EObject entryRuleInputEvent() throws RecognitionException { - EObject current = null; - - EObject iv_ruleInputEvent = null; - - - try { - // InternalCftLanguage.g:382:51: (iv_ruleInputEvent= ruleInputEvent EOF ) - // InternalCftLanguage.g:383:2: iv_ruleInputEvent= ruleInputEvent EOF - { - newCompositeNode(grammarAccess.getInputEventRule()); - pushFollow(FOLLOW_1); - iv_ruleInputEvent=ruleInputEvent(); - - state._fsp--; - - current =iv_ruleInputEvent; - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleInputEvent" - - - // $ANTLR start "ruleInputEvent" - // InternalCftLanguage.g:389:1: ruleInputEvent returns [EObject current=null] : ( ( (lv_name_0_0= ruleValidId ) ) ( (lv_multiple_1_0= '[]' ) )? ) ; - public final EObject ruleInputEvent() throws RecognitionException { - EObject current = null; - - Token lv_multiple_1_0=null; - AntlrDatatypeRuleToken lv_name_0_0 = null; - - - - enterRule(); - - try { - // InternalCftLanguage.g:395:2: ( ( ( (lv_name_0_0= ruleValidId ) ) ( (lv_multiple_1_0= '[]' ) )? ) ) - // InternalCftLanguage.g:396:2: ( ( (lv_name_0_0= ruleValidId ) ) ( (lv_multiple_1_0= '[]' ) )? ) - { - // InternalCftLanguage.g:396:2: ( ( (lv_name_0_0= ruleValidId ) ) ( (lv_multiple_1_0= '[]' ) )? ) - // InternalCftLanguage.g:397:3: ( (lv_name_0_0= ruleValidId ) ) ( (lv_multiple_1_0= '[]' ) )? - { - // InternalCftLanguage.g:397:3: ( (lv_name_0_0= ruleValidId ) ) - // InternalCftLanguage.g:398:4: (lv_name_0_0= ruleValidId ) - { - // InternalCftLanguage.g:398:4: (lv_name_0_0= ruleValidId ) - // InternalCftLanguage.g:399:5: lv_name_0_0= ruleValidId - { - - newCompositeNode(grammarAccess.getInputEventAccess().getNameValidIdParserRuleCall_0_0()); - - pushFollow(FOLLOW_13); - lv_name_0_0=ruleValidId(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getInputEventRule()); - } - set( - current, - "name", - lv_name_0_0, - "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.ValidId"); - afterParserOrEnumRuleCall(); - - - } - - - } - - // InternalCftLanguage.g:416:3: ( (lv_multiple_1_0= '[]' ) )? - int alt9=2; - int LA9_0 = input.LA(1); - - if ( (LA9_0==21) ) { - alt9=1; - } - switch (alt9) { - case 1 : - // InternalCftLanguage.g:417:4: (lv_multiple_1_0= '[]' ) - { - // InternalCftLanguage.g:417:4: (lv_multiple_1_0= '[]' ) - // InternalCftLanguage.g:418:5: lv_multiple_1_0= '[]' - { - lv_multiple_1_0=(Token)match(input,21,FOLLOW_2); - - newLeafNode(lv_multiple_1_0, grammarAccess.getInputEventAccess().getMultipleLeftSquareBracketRightSquareBracketKeyword_1_0()); - - - if (current==null) { - current = createModelElement(grammarAccess.getInputEventRule()); - } - setWithLastConsumed(current, "multiple", true, "[]"); - - - } - - - } - break; - - } - - - } - - - } - - - leaveRule(); - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleInputEvent" - - - // $ANTLR start "entryRuleEventDefinition" - // InternalCftLanguage.g:434:1: entryRuleEventDefinition returns [EObject current=null] : iv_ruleEventDefinition= ruleEventDefinition EOF ; - public final EObject entryRuleEventDefinition() throws RecognitionException { - EObject current = null; - - EObject iv_ruleEventDefinition = null; - - - try { - // InternalCftLanguage.g:434:56: (iv_ruleEventDefinition= ruleEventDefinition EOF ) - // InternalCftLanguage.g:435:2: iv_ruleEventDefinition= ruleEventDefinition EOF - { - newCompositeNode(grammarAccess.getEventDefinitionRule()); - pushFollow(FOLLOW_1); - iv_ruleEventDefinition=ruleEventDefinition(); - - state._fsp--; - - current =iv_ruleEventDefinition; - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleEventDefinition" - - - // $ANTLR start "ruleEventDefinition" - // InternalCftLanguage.g:441:1: ruleEventDefinition returns [EObject current=null] : (this_BasicEventDefinition_0= ruleBasicEventDefinition | this_GateDefinition_1= ruleGateDefinition ) ; - public final EObject ruleEventDefinition() throws RecognitionException { - EObject current = null; - - EObject this_BasicEventDefinition_0 = null; - - EObject this_GateDefinition_1 = null; - - - - enterRule(); - - try { - // InternalCftLanguage.g:447:2: ( (this_BasicEventDefinition_0= ruleBasicEventDefinition | this_GateDefinition_1= ruleGateDefinition ) ) - // InternalCftLanguage.g:448:2: (this_BasicEventDefinition_0= ruleBasicEventDefinition | this_GateDefinition_1= ruleGateDefinition ) - { - // InternalCftLanguage.g:448:2: (this_BasicEventDefinition_0= ruleBasicEventDefinition | this_GateDefinition_1= ruleGateDefinition ) - int alt10=2; - int LA10_0 = input.LA(1); - - if ( (LA10_0==RULE_ID) ) { - int LA10_1 = input.LA(2); - - if ( (LA10_1==RULE_INT||(LA10_1>=25 && LA10_1<=26)) ) { - alt10=2; - } - else if ( (LA10_1==22||LA10_1==24) ) { - alt10=1; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 10, 1, input); - - throw nvae; - } - } - else if ( (LA10_0==RULE_OF_INT) ) { - int LA10_2 = input.LA(2); - - if ( (LA10_2==22||LA10_2==24) ) { - alt10=1; - } - else if ( (LA10_2==RULE_INT||(LA10_2>=25 && LA10_2<=26)) ) { - alt10=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 10, 2, input); - - throw nvae; - } - } - else { - NoViableAltException nvae = - new NoViableAltException("", 10, 0, input); - - throw nvae; - } - switch (alt10) { - case 1 : - // InternalCftLanguage.g:449:3: this_BasicEventDefinition_0= ruleBasicEventDefinition - { - - newCompositeNode(grammarAccess.getEventDefinitionAccess().getBasicEventDefinitionParserRuleCall_0()); - - pushFollow(FOLLOW_2); - this_BasicEventDefinition_0=ruleBasicEventDefinition(); - - state._fsp--; - - - current = this_BasicEventDefinition_0; - afterParserOrEnumRuleCall(); - - - } - break; - case 2 : - // InternalCftLanguage.g:458:3: this_GateDefinition_1= ruleGateDefinition - { - - newCompositeNode(grammarAccess.getEventDefinitionAccess().getGateDefinitionParserRuleCall_1()); - - pushFollow(FOLLOW_2); - this_GateDefinition_1=ruleGateDefinition(); - - state._fsp--; - - - current = this_GateDefinition_1; - afterParserOrEnumRuleCall(); - - - } - break; - - } - - - } - - - leaveRule(); - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleEventDefinition" - - - // $ANTLR start "entryRuleBasicEventDefinition" - // InternalCftLanguage.g:470:1: entryRuleBasicEventDefinition returns [EObject current=null] : iv_ruleBasicEventDefinition= ruleBasicEventDefinition EOF ; - public final EObject entryRuleBasicEventDefinition() throws RecognitionException { - EObject current = null; - - EObject iv_ruleBasicEventDefinition = null; - - - try { - // InternalCftLanguage.g:470:61: (iv_ruleBasicEventDefinition= ruleBasicEventDefinition EOF ) - // InternalCftLanguage.g:471:2: iv_ruleBasicEventDefinition= ruleBasicEventDefinition EOF - { - newCompositeNode(grammarAccess.getBasicEventDefinitionRule()); - pushFollow(FOLLOW_1); - iv_ruleBasicEventDefinition=ruleBasicEventDefinition(); - - state._fsp--; - - current =iv_ruleBasicEventDefinition; - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleBasicEventDefinition" - - - // $ANTLR start "ruleBasicEventDefinition" - // InternalCftLanguage.g:477:1: ruleBasicEventDefinition returns [EObject current=null] : ( ( (lv_name_0_0= ruleValidId ) ) ( (lv_distribution_1_0= ruleDistribution ) ) ) ; - public final EObject ruleBasicEventDefinition() throws RecognitionException { - EObject current = null; - - AntlrDatatypeRuleToken lv_name_0_0 = null; - - EObject lv_distribution_1_0 = null; - - - - enterRule(); - - try { - // InternalCftLanguage.g:483:2: ( ( ( (lv_name_0_0= ruleValidId ) ) ( (lv_distribution_1_0= ruleDistribution ) ) ) ) - // InternalCftLanguage.g:484:2: ( ( (lv_name_0_0= ruleValidId ) ) ( (lv_distribution_1_0= ruleDistribution ) ) ) - { - // InternalCftLanguage.g:484:2: ( ( (lv_name_0_0= ruleValidId ) ) ( (lv_distribution_1_0= ruleDistribution ) ) ) - // InternalCftLanguage.g:485:3: ( (lv_name_0_0= ruleValidId ) ) ( (lv_distribution_1_0= ruleDistribution ) ) - { - // InternalCftLanguage.g:485:3: ( (lv_name_0_0= ruleValidId ) ) - // InternalCftLanguage.g:486:4: (lv_name_0_0= ruleValidId ) - { - // InternalCftLanguage.g:486:4: (lv_name_0_0= ruleValidId ) - // InternalCftLanguage.g:487:5: lv_name_0_0= ruleValidId - { - - newCompositeNode(grammarAccess.getBasicEventDefinitionAccess().getNameValidIdParserRuleCall_0_0()); - - pushFollow(FOLLOW_14); - lv_name_0_0=ruleValidId(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getBasicEventDefinitionRule()); - } - set( - current, - "name", - lv_name_0_0, - "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.ValidId"); - afterParserOrEnumRuleCall(); - - - } - - - } - - // InternalCftLanguage.g:504:3: ( (lv_distribution_1_0= ruleDistribution ) ) - // InternalCftLanguage.g:505:4: (lv_distribution_1_0= ruleDistribution ) - { - // InternalCftLanguage.g:505:4: (lv_distribution_1_0= ruleDistribution ) - // InternalCftLanguage.g:506:5: lv_distribution_1_0= ruleDistribution - { - - newCompositeNode(grammarAccess.getBasicEventDefinitionAccess().getDistributionDistributionParserRuleCall_1_0()); - - pushFollow(FOLLOW_2); - lv_distribution_1_0=ruleDistribution(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getBasicEventDefinitionRule()); - } - set( - current, - "distribution", - lv_distribution_1_0, - "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.Distribution"); - afterParserOrEnumRuleCall(); - - - } - - - } - - - } - - - } - - - leaveRule(); - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleBasicEventDefinition" - - - // $ANTLR start "entryRuleDistribution" - // InternalCftLanguage.g:527:1: entryRuleDistribution returns [EObject current=null] : iv_ruleDistribution= ruleDistribution EOF ; - public final EObject entryRuleDistribution() throws RecognitionException { - EObject current = null; - - EObject iv_ruleDistribution = null; - - - try { - // InternalCftLanguage.g:527:53: (iv_ruleDistribution= ruleDistribution EOF ) - // InternalCftLanguage.g:528:2: iv_ruleDistribution= ruleDistribution EOF - { - newCompositeNode(grammarAccess.getDistributionRule()); - pushFollow(FOLLOW_1); - iv_ruleDistribution=ruleDistribution(); - - state._fsp--; - - current =iv_ruleDistribution; - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleDistribution" - - - // $ANTLR start "ruleDistribution" - // InternalCftLanguage.g:534:1: ruleDistribution returns [EObject current=null] : (this_ConstantDistribution_0= ruleConstantDistribution | this_ExponentialDistribution_1= ruleExponentialDistribution ) ; - public final EObject ruleDistribution() throws RecognitionException { - EObject current = null; - - EObject this_ConstantDistribution_0 = null; - - EObject this_ExponentialDistribution_1 = null; - - - - enterRule(); - - try { - // InternalCftLanguage.g:540:2: ( (this_ConstantDistribution_0= ruleConstantDistribution | this_ExponentialDistribution_1= ruleExponentialDistribution ) ) - // InternalCftLanguage.g:541:2: (this_ConstantDistribution_0= ruleConstantDistribution | this_ExponentialDistribution_1= ruleExponentialDistribution ) - { - // InternalCftLanguage.g:541:2: (this_ConstantDistribution_0= ruleConstantDistribution | this_ExponentialDistribution_1= ruleExponentialDistribution ) - int alt11=2; - int LA11_0 = input.LA(1); - - if ( (LA11_0==22) ) { - alt11=1; - } - else if ( (LA11_0==24) ) { - alt11=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 11, 0, input); - - throw nvae; - } - switch (alt11) { - case 1 : - // InternalCftLanguage.g:542:3: this_ConstantDistribution_0= ruleConstantDistribution - { - - newCompositeNode(grammarAccess.getDistributionAccess().getConstantDistributionParserRuleCall_0()); - - pushFollow(FOLLOW_2); - this_ConstantDistribution_0=ruleConstantDistribution(); - - state._fsp--; - - - current = this_ConstantDistribution_0; - afterParserOrEnumRuleCall(); - - - } - break; - case 2 : - // InternalCftLanguage.g:551:3: this_ExponentialDistribution_1= ruleExponentialDistribution - { - - newCompositeNode(grammarAccess.getDistributionAccess().getExponentialDistributionParserRuleCall_1()); - - pushFollow(FOLLOW_2); - this_ExponentialDistribution_1=ruleExponentialDistribution(); - - state._fsp--; - - - current = this_ExponentialDistribution_1; - afterParserOrEnumRuleCall(); - - - } - break; - - } - - - } - - - leaveRule(); - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleDistribution" - - - // $ANTLR start "entryRuleConstantDistribution" - // InternalCftLanguage.g:563:1: entryRuleConstantDistribution returns [EObject current=null] : iv_ruleConstantDistribution= ruleConstantDistribution EOF ; - public final EObject entryRuleConstantDistribution() throws RecognitionException { - EObject current = null; - - EObject iv_ruleConstantDistribution = null; - - - try { - // InternalCftLanguage.g:563:61: (iv_ruleConstantDistribution= ruleConstantDistribution EOF ) - // InternalCftLanguage.g:564:2: iv_ruleConstantDistribution= ruleConstantDistribution EOF - { - newCompositeNode(grammarAccess.getConstantDistributionRule()); - pushFollow(FOLLOW_1); - iv_ruleConstantDistribution=ruleConstantDistribution(); - - state._fsp--; - - current =iv_ruleConstantDistribution; - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleConstantDistribution" - - - // $ANTLR start "ruleConstantDistribution" - // InternalCftLanguage.g:570:1: ruleConstantDistribution returns [EObject current=null] : (otherlv_0= 'prob' otherlv_1= '=' ( (lv_p_2_0= ruleDouble ) ) ) ; - public final EObject ruleConstantDistribution() throws RecognitionException { - EObject current = null; - - Token otherlv_0=null; - Token otherlv_1=null; - AntlrDatatypeRuleToken lv_p_2_0 = null; - - - - enterRule(); - - try { - // InternalCftLanguage.g:576:2: ( (otherlv_0= 'prob' otherlv_1= '=' ( (lv_p_2_0= ruleDouble ) ) ) ) - // InternalCftLanguage.g:577:2: (otherlv_0= 'prob' otherlv_1= '=' ( (lv_p_2_0= ruleDouble ) ) ) - { - // InternalCftLanguage.g:577:2: (otherlv_0= 'prob' otherlv_1= '=' ( (lv_p_2_0= ruleDouble ) ) ) - // InternalCftLanguage.g:578:3: otherlv_0= 'prob' otherlv_1= '=' ( (lv_p_2_0= ruleDouble ) ) - { - otherlv_0=(Token)match(input,22,FOLLOW_15); - - newLeafNode(otherlv_0, grammarAccess.getConstantDistributionAccess().getProbKeyword_0()); - - otherlv_1=(Token)match(input,23,FOLLOW_16); - - newLeafNode(otherlv_1, grammarAccess.getConstantDistributionAccess().getEqualsSignKeyword_1()); - - // InternalCftLanguage.g:586:3: ( (lv_p_2_0= ruleDouble ) ) - // InternalCftLanguage.g:587:4: (lv_p_2_0= ruleDouble ) - { - // InternalCftLanguage.g:587:4: (lv_p_2_0= ruleDouble ) - // InternalCftLanguage.g:588:5: lv_p_2_0= ruleDouble - { - - newCompositeNode(grammarAccess.getConstantDistributionAccess().getPDoubleParserRuleCall_2_0()); - - pushFollow(FOLLOW_2); - lv_p_2_0=ruleDouble(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getConstantDistributionRule()); - } - set( - current, - "p", - lv_p_2_0, - "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.Double"); - afterParserOrEnumRuleCall(); - - - } - - - } - - - } - - - } - - - leaveRule(); - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleConstantDistribution" - - - // $ANTLR start "entryRuleExponentialDistribution" - // InternalCftLanguage.g:609:1: entryRuleExponentialDistribution returns [EObject current=null] : iv_ruleExponentialDistribution= ruleExponentialDistribution EOF ; - public final EObject entryRuleExponentialDistribution() throws RecognitionException { - EObject current = null; - - EObject iv_ruleExponentialDistribution = null; - - - try { - // InternalCftLanguage.g:609:64: (iv_ruleExponentialDistribution= ruleExponentialDistribution EOF ) - // InternalCftLanguage.g:610:2: iv_ruleExponentialDistribution= ruleExponentialDistribution EOF - { - newCompositeNode(grammarAccess.getExponentialDistributionRule()); - pushFollow(FOLLOW_1); - iv_ruleExponentialDistribution=ruleExponentialDistribution(); - - state._fsp--; - - current =iv_ruleExponentialDistribution; - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleExponentialDistribution" - - - // $ANTLR start "ruleExponentialDistribution" - // InternalCftLanguage.g:616:1: ruleExponentialDistribution returns [EObject current=null] : (otherlv_0= 'lambda' otherlv_1= '=' ( (lv_lambda_2_0= ruleDouble ) ) ) ; - public final EObject ruleExponentialDistribution() throws RecognitionException { - EObject current = null; - - Token otherlv_0=null; - Token otherlv_1=null; - AntlrDatatypeRuleToken lv_lambda_2_0 = null; - - - - enterRule(); - - try { - // InternalCftLanguage.g:622:2: ( (otherlv_0= 'lambda' otherlv_1= '=' ( (lv_lambda_2_0= ruleDouble ) ) ) ) - // InternalCftLanguage.g:623:2: (otherlv_0= 'lambda' otherlv_1= '=' ( (lv_lambda_2_0= ruleDouble ) ) ) - { - // InternalCftLanguage.g:623:2: (otherlv_0= 'lambda' otherlv_1= '=' ( (lv_lambda_2_0= ruleDouble ) ) ) - // InternalCftLanguage.g:624:3: otherlv_0= 'lambda' otherlv_1= '=' ( (lv_lambda_2_0= ruleDouble ) ) - { - otherlv_0=(Token)match(input,24,FOLLOW_15); - - newLeafNode(otherlv_0, grammarAccess.getExponentialDistributionAccess().getLambdaKeyword_0()); - - otherlv_1=(Token)match(input,23,FOLLOW_16); - - newLeafNode(otherlv_1, grammarAccess.getExponentialDistributionAccess().getEqualsSignKeyword_1()); - - // InternalCftLanguage.g:632:3: ( (lv_lambda_2_0= ruleDouble ) ) - // InternalCftLanguage.g:633:4: (lv_lambda_2_0= ruleDouble ) - { - // InternalCftLanguage.g:633:4: (lv_lambda_2_0= ruleDouble ) - // InternalCftLanguage.g:634:5: lv_lambda_2_0= ruleDouble - { - - newCompositeNode(grammarAccess.getExponentialDistributionAccess().getLambdaDoubleParserRuleCall_2_0()); - - pushFollow(FOLLOW_2); - lv_lambda_2_0=ruleDouble(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getExponentialDistributionRule()); - } - set( - current, - "lambda", - lv_lambda_2_0, - "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.Double"); - afterParserOrEnumRuleCall(); - - - } - - - } - - - } - - - } - - - leaveRule(); - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleExponentialDistribution" - - - // $ANTLR start "entryRuleGateDefinition" - // InternalCftLanguage.g:655:1: entryRuleGateDefinition returns [EObject current=null] : iv_ruleGateDefinition= ruleGateDefinition EOF ; - public final EObject entryRuleGateDefinition() throws RecognitionException { - EObject current = null; - - EObject iv_ruleGateDefinition = null; - - - try { - // InternalCftLanguage.g:655:55: (iv_ruleGateDefinition= ruleGateDefinition EOF ) - // InternalCftLanguage.g:656:2: iv_ruleGateDefinition= ruleGateDefinition EOF - { - newCompositeNode(grammarAccess.getGateDefinitionRule()); - pushFollow(FOLLOW_1); - iv_ruleGateDefinition=ruleGateDefinition(); - - state._fsp--; - - current =iv_ruleGateDefinition; - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleGateDefinition" - - - // $ANTLR start "ruleGateDefinition" - // InternalCftLanguage.g:662:1: ruleGateDefinition returns [EObject current=null] : (this_AndGateDefinition_0= ruleAndGateDefinition | this_OrGateDefinition_1= ruleOrGateDefinition | this_KOfMGateDefinition_2= ruleKOfMGateDefinition ) ; - public final EObject ruleGateDefinition() throws RecognitionException { - EObject current = null; - - EObject this_AndGateDefinition_0 = null; - - EObject this_OrGateDefinition_1 = null; - - EObject this_KOfMGateDefinition_2 = null; - - - - enterRule(); - - try { - // InternalCftLanguage.g:668:2: ( (this_AndGateDefinition_0= ruleAndGateDefinition | this_OrGateDefinition_1= ruleOrGateDefinition | this_KOfMGateDefinition_2= ruleKOfMGateDefinition ) ) - // InternalCftLanguage.g:669:2: (this_AndGateDefinition_0= ruleAndGateDefinition | this_OrGateDefinition_1= ruleOrGateDefinition | this_KOfMGateDefinition_2= ruleKOfMGateDefinition ) - { - // InternalCftLanguage.g:669:2: (this_AndGateDefinition_0= ruleAndGateDefinition | this_OrGateDefinition_1= ruleOrGateDefinition | this_KOfMGateDefinition_2= ruleKOfMGateDefinition ) - int alt12=3; - int LA12_0 = input.LA(1); - - if ( (LA12_0==RULE_ID) ) { - switch ( input.LA(2) ) { - case RULE_INT: - { - alt12=3; - } - break; - case 26: - { - alt12=2; - } - break; - case 25: - { - alt12=1; - } - break; - default: - NoViableAltException nvae = - new NoViableAltException("", 12, 1, input); - - throw nvae; - } - - } - else if ( (LA12_0==RULE_OF_INT) ) { - switch ( input.LA(2) ) { - case RULE_INT: - { - alt12=3; - } - break; - case 26: - { - alt12=2; - } - break; - case 25: - { - alt12=1; - } - break; - default: - NoViableAltException nvae = - new NoViableAltException("", 12, 2, input); - - throw nvae; - } - - } - else { - NoViableAltException nvae = - new NoViableAltException("", 12, 0, input); - - throw nvae; - } - switch (alt12) { - case 1 : - // InternalCftLanguage.g:670:3: this_AndGateDefinition_0= ruleAndGateDefinition - { - - newCompositeNode(grammarAccess.getGateDefinitionAccess().getAndGateDefinitionParserRuleCall_0()); - - pushFollow(FOLLOW_2); - this_AndGateDefinition_0=ruleAndGateDefinition(); - - state._fsp--; - - - current = this_AndGateDefinition_0; - afterParserOrEnumRuleCall(); - - - } - break; - case 2 : - // InternalCftLanguage.g:679:3: this_OrGateDefinition_1= ruleOrGateDefinition - { - - newCompositeNode(grammarAccess.getGateDefinitionAccess().getOrGateDefinitionParserRuleCall_1()); - - pushFollow(FOLLOW_2); - this_OrGateDefinition_1=ruleOrGateDefinition(); - - state._fsp--; - - - current = this_OrGateDefinition_1; - afterParserOrEnumRuleCall(); - - - } - break; - case 3 : - // InternalCftLanguage.g:688:3: this_KOfMGateDefinition_2= ruleKOfMGateDefinition - { - - newCompositeNode(grammarAccess.getGateDefinitionAccess().getKOfMGateDefinitionParserRuleCall_2()); - - pushFollow(FOLLOW_2); - this_KOfMGateDefinition_2=ruleKOfMGateDefinition(); - - state._fsp--; - - - current = this_KOfMGateDefinition_2; - afterParserOrEnumRuleCall(); - - - } - break; - - } - - - } - - - leaveRule(); - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleGateDefinition" - - - // $ANTLR start "entryRuleAndGateDefinition" - // InternalCftLanguage.g:700:1: entryRuleAndGateDefinition returns [EObject current=null] : iv_ruleAndGateDefinition= ruleAndGateDefinition EOF ; - public final EObject entryRuleAndGateDefinition() throws RecognitionException { - EObject current = null; - - EObject iv_ruleAndGateDefinition = null; - - - try { - // InternalCftLanguage.g:700:58: (iv_ruleAndGateDefinition= ruleAndGateDefinition EOF ) - // InternalCftLanguage.g:701:2: iv_ruleAndGateDefinition= ruleAndGateDefinition EOF - { - newCompositeNode(grammarAccess.getAndGateDefinitionRule()); - pushFollow(FOLLOW_1); - iv_ruleAndGateDefinition=ruleAndGateDefinition(); - - state._fsp--; - - current =iv_ruleAndGateDefinition; - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleAndGateDefinition" - - - // $ANTLR start "ruleAndGateDefinition" - // InternalCftLanguage.g:707:1: ruleAndGateDefinition returns [EObject current=null] : ( ( (lv_name_0_0= ruleValidId ) ) otherlv_1= 'and' ( ( ruleValidId ) )* ) ; - public final EObject ruleAndGateDefinition() throws RecognitionException { - EObject current = null; - - Token otherlv_1=null; - AntlrDatatypeRuleToken lv_name_0_0 = null; - - - - enterRule(); - - try { - // InternalCftLanguage.g:713:2: ( ( ( (lv_name_0_0= ruleValidId ) ) otherlv_1= 'and' ( ( ruleValidId ) )* ) ) - // InternalCftLanguage.g:714:2: ( ( (lv_name_0_0= ruleValidId ) ) otherlv_1= 'and' ( ( ruleValidId ) )* ) - { - // InternalCftLanguage.g:714:2: ( ( (lv_name_0_0= ruleValidId ) ) otherlv_1= 'and' ( ( ruleValidId ) )* ) - // InternalCftLanguage.g:715:3: ( (lv_name_0_0= ruleValidId ) ) otherlv_1= 'and' ( ( ruleValidId ) )* - { - // InternalCftLanguage.g:715:3: ( (lv_name_0_0= ruleValidId ) ) - // InternalCftLanguage.g:716:4: (lv_name_0_0= ruleValidId ) - { - // InternalCftLanguage.g:716:4: (lv_name_0_0= ruleValidId ) - // InternalCftLanguage.g:717:5: lv_name_0_0= ruleValidId - { - - newCompositeNode(grammarAccess.getAndGateDefinitionAccess().getNameValidIdParserRuleCall_0_0()); - - pushFollow(FOLLOW_17); - lv_name_0_0=ruleValidId(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getAndGateDefinitionRule()); - } - set( - current, - "name", - lv_name_0_0, - "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.ValidId"); - afterParserOrEnumRuleCall(); - - - } - - - } - - otherlv_1=(Token)match(input,25,FOLLOW_18); - - newLeafNode(otherlv_1, grammarAccess.getAndGateDefinitionAccess().getAndKeyword_1()); - - // InternalCftLanguage.g:738:3: ( ( ruleValidId ) )* - loop13: - do { - int alt13=2; - int LA13_0 = input.LA(1); - - if ( ((LA13_0>=RULE_OF_INT && LA13_0<=RULE_ID)) ) { - alt13=1; - } - - - switch (alt13) { - case 1 : - // InternalCftLanguage.g:739:4: ( ruleValidId ) - { - // InternalCftLanguage.g:739:4: ( ruleValidId ) - // InternalCftLanguage.g:740:5: ruleValidId - { - - if (current==null) { - current = createModelElement(grammarAccess.getAndGateDefinitionRule()); - } - - - newCompositeNode(grammarAccess.getAndGateDefinitionAccess().getInputEventsEventDeclarationCrossReference_2_0()); - - pushFollow(FOLLOW_18); - ruleValidId(); - - state._fsp--; - - - afterParserOrEnumRuleCall(); - - - } - - - } - break; - - default : - break loop13; - } - } while (true); - - - } - - - } - - - leaveRule(); - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleAndGateDefinition" - - - // $ANTLR start "entryRuleOrGateDefinition" - // InternalCftLanguage.g:758:1: entryRuleOrGateDefinition returns [EObject current=null] : iv_ruleOrGateDefinition= ruleOrGateDefinition EOF ; - public final EObject entryRuleOrGateDefinition() throws RecognitionException { - EObject current = null; - - EObject iv_ruleOrGateDefinition = null; - - - try { - // InternalCftLanguage.g:758:57: (iv_ruleOrGateDefinition= ruleOrGateDefinition EOF ) - // InternalCftLanguage.g:759:2: iv_ruleOrGateDefinition= ruleOrGateDefinition EOF - { - newCompositeNode(grammarAccess.getOrGateDefinitionRule()); - pushFollow(FOLLOW_1); - iv_ruleOrGateDefinition=ruleOrGateDefinition(); - - state._fsp--; - - current =iv_ruleOrGateDefinition; - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleOrGateDefinition" - - - // $ANTLR start "ruleOrGateDefinition" - // InternalCftLanguage.g:765:1: ruleOrGateDefinition returns [EObject current=null] : ( ( (lv_name_0_0= ruleValidId ) ) otherlv_1= 'or' ( ( ruleValidId ) )* ) ; - public final EObject ruleOrGateDefinition() throws RecognitionException { - EObject current = null; - - Token otherlv_1=null; - AntlrDatatypeRuleToken lv_name_0_0 = null; - - - - enterRule(); - - try { - // InternalCftLanguage.g:771:2: ( ( ( (lv_name_0_0= ruleValidId ) ) otherlv_1= 'or' ( ( ruleValidId ) )* ) ) - // InternalCftLanguage.g:772:2: ( ( (lv_name_0_0= ruleValidId ) ) otherlv_1= 'or' ( ( ruleValidId ) )* ) - { - // InternalCftLanguage.g:772:2: ( ( (lv_name_0_0= ruleValidId ) ) otherlv_1= 'or' ( ( ruleValidId ) )* ) - // InternalCftLanguage.g:773:3: ( (lv_name_0_0= ruleValidId ) ) otherlv_1= 'or' ( ( ruleValidId ) )* - { - // InternalCftLanguage.g:773:3: ( (lv_name_0_0= ruleValidId ) ) - // InternalCftLanguage.g:774:4: (lv_name_0_0= ruleValidId ) - { - // InternalCftLanguage.g:774:4: (lv_name_0_0= ruleValidId ) - // InternalCftLanguage.g:775:5: lv_name_0_0= ruleValidId - { - - newCompositeNode(grammarAccess.getOrGateDefinitionAccess().getNameValidIdParserRuleCall_0_0()); - - pushFollow(FOLLOW_19); - lv_name_0_0=ruleValidId(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getOrGateDefinitionRule()); - } - set( - current, - "name", - lv_name_0_0, - "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.ValidId"); - afterParserOrEnumRuleCall(); - - - } - - - } - - otherlv_1=(Token)match(input,26,FOLLOW_18); - - newLeafNode(otherlv_1, grammarAccess.getOrGateDefinitionAccess().getOrKeyword_1()); - - // InternalCftLanguage.g:796:3: ( ( ruleValidId ) )* - loop14: - do { - int alt14=2; - int LA14_0 = input.LA(1); - - if ( ((LA14_0>=RULE_OF_INT && LA14_0<=RULE_ID)) ) { - alt14=1; - } - - - switch (alt14) { - case 1 : - // InternalCftLanguage.g:797:4: ( ruleValidId ) - { - // InternalCftLanguage.g:797:4: ( ruleValidId ) - // InternalCftLanguage.g:798:5: ruleValidId - { - - if (current==null) { - current = createModelElement(grammarAccess.getOrGateDefinitionRule()); - } - - - newCompositeNode(grammarAccess.getOrGateDefinitionAccess().getInputEventsEventDeclarationCrossReference_2_0()); - - pushFollow(FOLLOW_18); - ruleValidId(); - - state._fsp--; - - - afterParserOrEnumRuleCall(); - - - } - - - } - break; - - default : - break loop14; - } - } while (true); - - - } - - - } - - - leaveRule(); - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleOrGateDefinition" - - - // $ANTLR start "entryRuleKOfMGateDefinition" - // InternalCftLanguage.g:816:1: entryRuleKOfMGateDefinition returns [EObject current=null] : iv_ruleKOfMGateDefinition= ruleKOfMGateDefinition EOF ; - public final EObject entryRuleKOfMGateDefinition() throws RecognitionException { - EObject current = null; - - EObject iv_ruleKOfMGateDefinition = null; - - - try { - // InternalCftLanguage.g:816:59: (iv_ruleKOfMGateDefinition= ruleKOfMGateDefinition EOF ) - // InternalCftLanguage.g:817:2: iv_ruleKOfMGateDefinition= ruleKOfMGateDefinition EOF - { - newCompositeNode(grammarAccess.getKOfMGateDefinitionRule()); - pushFollow(FOLLOW_1); - iv_ruleKOfMGateDefinition=ruleKOfMGateDefinition(); - - state._fsp--; - - current =iv_ruleKOfMGateDefinition; - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleKOfMGateDefinition" - - - // $ANTLR start "ruleKOfMGateDefinition" - // InternalCftLanguage.g:823:1: ruleKOfMGateDefinition returns [EObject current=null] : ( ( (lv_name_0_0= ruleValidId ) ) ( (lv_k_1_0= RULE_INT ) ) ( (otherlv_2= 'of' ( (lv_m_3_0= RULE_INT ) ) ) | ( (lv_m_4_0= RULE_OF_INT ) ) ) ( ( ruleValidId ) )* ) ; - public final EObject ruleKOfMGateDefinition() throws RecognitionException { - EObject current = null; - - Token lv_k_1_0=null; - Token otherlv_2=null; - Token lv_m_3_0=null; - Token lv_m_4_0=null; - AntlrDatatypeRuleToken lv_name_0_0 = null; - - - - enterRule(); - - try { - // InternalCftLanguage.g:829:2: ( ( ( (lv_name_0_0= ruleValidId ) ) ( (lv_k_1_0= RULE_INT ) ) ( (otherlv_2= 'of' ( (lv_m_3_0= RULE_INT ) ) ) | ( (lv_m_4_0= RULE_OF_INT ) ) ) ( ( ruleValidId ) )* ) ) - // InternalCftLanguage.g:830:2: ( ( (lv_name_0_0= ruleValidId ) ) ( (lv_k_1_0= RULE_INT ) ) ( (otherlv_2= 'of' ( (lv_m_3_0= RULE_INT ) ) ) | ( (lv_m_4_0= RULE_OF_INT ) ) ) ( ( ruleValidId ) )* ) - { - // InternalCftLanguage.g:830:2: ( ( (lv_name_0_0= ruleValidId ) ) ( (lv_k_1_0= RULE_INT ) ) ( (otherlv_2= 'of' ( (lv_m_3_0= RULE_INT ) ) ) | ( (lv_m_4_0= RULE_OF_INT ) ) ) ( ( ruleValidId ) )* ) - // InternalCftLanguage.g:831:3: ( (lv_name_0_0= ruleValidId ) ) ( (lv_k_1_0= RULE_INT ) ) ( (otherlv_2= 'of' ( (lv_m_3_0= RULE_INT ) ) ) | ( (lv_m_4_0= RULE_OF_INT ) ) ) ( ( ruleValidId ) )* - { - // InternalCftLanguage.g:831:3: ( (lv_name_0_0= ruleValidId ) ) - // InternalCftLanguage.g:832:4: (lv_name_0_0= ruleValidId ) - { - // InternalCftLanguage.g:832:4: (lv_name_0_0= ruleValidId ) - // InternalCftLanguage.g:833:5: lv_name_0_0= ruleValidId - { - - newCompositeNode(grammarAccess.getKOfMGateDefinitionAccess().getNameValidIdParserRuleCall_0_0()); - - pushFollow(FOLLOW_20); - lv_name_0_0=ruleValidId(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getKOfMGateDefinitionRule()); - } - set( - current, - "name", - lv_name_0_0, - "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.ValidId"); - afterParserOrEnumRuleCall(); - - - } - - - } - - // InternalCftLanguage.g:850:3: ( (lv_k_1_0= RULE_INT ) ) - // InternalCftLanguage.g:851:4: (lv_k_1_0= RULE_INT ) - { - // InternalCftLanguage.g:851:4: (lv_k_1_0= RULE_INT ) - // InternalCftLanguage.g:852:5: lv_k_1_0= RULE_INT - { - lv_k_1_0=(Token)match(input,RULE_INT,FOLLOW_21); - - newLeafNode(lv_k_1_0, grammarAccess.getKOfMGateDefinitionAccess().getKINTTerminalRuleCall_1_0()); - - - if (current==null) { - current = createModelElement(grammarAccess.getKOfMGateDefinitionRule()); - } - setWithLastConsumed( - current, - "k", - lv_k_1_0, - "org.eclipse.xtext.common.Terminals.INT"); - - - } - - - } - - // InternalCftLanguage.g:868:3: ( (otherlv_2= 'of' ( (lv_m_3_0= RULE_INT ) ) ) | ( (lv_m_4_0= RULE_OF_INT ) ) ) - int alt15=2; - int LA15_0 = input.LA(1); - - if ( (LA15_0==27) ) { - alt15=1; - } - else if ( (LA15_0==RULE_OF_INT) ) { - alt15=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 15, 0, input); - - throw nvae; - } - switch (alt15) { - case 1 : - // InternalCftLanguage.g:869:4: (otherlv_2= 'of' ( (lv_m_3_0= RULE_INT ) ) ) - { - // InternalCftLanguage.g:869:4: (otherlv_2= 'of' ( (lv_m_3_0= RULE_INT ) ) ) - // InternalCftLanguage.g:870:5: otherlv_2= 'of' ( (lv_m_3_0= RULE_INT ) ) - { - otherlv_2=(Token)match(input,27,FOLLOW_20); - - newLeafNode(otherlv_2, grammarAccess.getKOfMGateDefinitionAccess().getOfKeyword_2_0_0()); - - // InternalCftLanguage.g:874:5: ( (lv_m_3_0= RULE_INT ) ) - // InternalCftLanguage.g:875:6: (lv_m_3_0= RULE_INT ) - { - // InternalCftLanguage.g:875:6: (lv_m_3_0= RULE_INT ) - // InternalCftLanguage.g:876:7: lv_m_3_0= RULE_INT - { - lv_m_3_0=(Token)match(input,RULE_INT,FOLLOW_18); - - newLeafNode(lv_m_3_0, grammarAccess.getKOfMGateDefinitionAccess().getMINTTerminalRuleCall_2_0_1_0()); - - - if (current==null) { - current = createModelElement(grammarAccess.getKOfMGateDefinitionRule()); - } - setWithLastConsumed( - current, - "m", - lv_m_3_0, - "org.eclipse.xtext.common.Terminals.INT"); - - - } - - - } - - - } - - - } - break; - case 2 : - // InternalCftLanguage.g:894:4: ( (lv_m_4_0= RULE_OF_INT ) ) - { - // InternalCftLanguage.g:894:4: ( (lv_m_4_0= RULE_OF_INT ) ) - // InternalCftLanguage.g:895:5: (lv_m_4_0= RULE_OF_INT ) - { - // InternalCftLanguage.g:895:5: (lv_m_4_0= RULE_OF_INT ) - // InternalCftLanguage.g:896:6: lv_m_4_0= RULE_OF_INT - { - lv_m_4_0=(Token)match(input,RULE_OF_INT,FOLLOW_18); - - newLeafNode(lv_m_4_0, grammarAccess.getKOfMGateDefinitionAccess().getMOF_INTTerminalRuleCall_2_1_0()); - - - if (current==null) { - current = createModelElement(grammarAccess.getKOfMGateDefinitionRule()); - } - setWithLastConsumed( - current, - "m", - lv_m_4_0, - "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.OF_INT"); - - - } - - - } - - - } - break; - - } - - // InternalCftLanguage.g:913:3: ( ( ruleValidId ) )* - loop16: - do { - int alt16=2; - int LA16_0 = input.LA(1); - - if ( ((LA16_0>=RULE_OF_INT && LA16_0<=RULE_ID)) ) { - alt16=1; - } - - - switch (alt16) { - case 1 : - // InternalCftLanguage.g:914:4: ( ruleValidId ) - { - // InternalCftLanguage.g:914:4: ( ruleValidId ) - // InternalCftLanguage.g:915:5: ruleValidId - { - - if (current==null) { - current = createModelElement(grammarAccess.getKOfMGateDefinitionRule()); - } - - - newCompositeNode(grammarAccess.getKOfMGateDefinitionAccess().getInputEventsEventDeclarationCrossReference_3_0()); - - pushFollow(FOLLOW_18); - ruleValidId(); - - state._fsp--; - - - afterParserOrEnumRuleCall(); - - - } - - - } - break; - - default : - break loop16; - } - } while (true); - - - } - - - } - - - leaveRule(); - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleKOfMGateDefinition" - - - // $ANTLR start "entryRuleTransformationDefinition" - // InternalCftLanguage.g:933:1: entryRuleTransformationDefinition returns [EObject current=null] : iv_ruleTransformationDefinition= ruleTransformationDefinition EOF ; - public final EObject entryRuleTransformationDefinition() throws RecognitionException { - EObject current = null; - - EObject iv_ruleTransformationDefinition = null; - - - try { - // InternalCftLanguage.g:933:65: (iv_ruleTransformationDefinition= ruleTransformationDefinition EOF ) - // InternalCftLanguage.g:934:2: iv_ruleTransformationDefinition= ruleTransformationDefinition EOF - { - newCompositeNode(grammarAccess.getTransformationDefinitionRule()); - pushFollow(FOLLOW_1); - iv_ruleTransformationDefinition=ruleTransformationDefinition(); - - state._fsp--; - - current =iv_ruleTransformationDefinition; - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleTransformationDefinition" - - - // $ANTLR start "ruleTransformationDefinition" - // InternalCftLanguage.g:940:1: ruleTransformationDefinition returns [EObject current=null] : (otherlv_0= 'transformation' ( (lv_name_1_0= ruleValidId ) ) otherlv_2= '{' ( (lv_mappingDefinitions_3_0= ruleMappingDefinition ) )* otherlv_4= '}' ) ; - public final EObject ruleTransformationDefinition() throws RecognitionException { - EObject current = null; - - Token otherlv_0=null; - Token otherlv_2=null; - Token otherlv_4=null; - AntlrDatatypeRuleToken lv_name_1_0 = null; - - EObject lv_mappingDefinitions_3_0 = null; - - - - enterRule(); - - try { - // InternalCftLanguage.g:946:2: ( (otherlv_0= 'transformation' ( (lv_name_1_0= ruleValidId ) ) otherlv_2= '{' ( (lv_mappingDefinitions_3_0= ruleMappingDefinition ) )* otherlv_4= '}' ) ) - // InternalCftLanguage.g:947:2: (otherlv_0= 'transformation' ( (lv_name_1_0= ruleValidId ) ) otherlv_2= '{' ( (lv_mappingDefinitions_3_0= ruleMappingDefinition ) )* otherlv_4= '}' ) - { - // InternalCftLanguage.g:947:2: (otherlv_0= 'transformation' ( (lv_name_1_0= ruleValidId ) ) otherlv_2= '{' ( (lv_mappingDefinitions_3_0= ruleMappingDefinition ) )* otherlv_4= '}' ) - // InternalCftLanguage.g:948:3: otherlv_0= 'transformation' ( (lv_name_1_0= ruleValidId ) ) otherlv_2= '{' ( (lv_mappingDefinitions_3_0= ruleMappingDefinition ) )* otherlv_4= '}' - { - otherlv_0=(Token)match(input,28,FOLLOW_3); - - newLeafNode(otherlv_0, grammarAccess.getTransformationDefinitionAccess().getTransformationKeyword_0()); - - // InternalCftLanguage.g:952:3: ( (lv_name_1_0= ruleValidId ) ) - // InternalCftLanguage.g:953:4: (lv_name_1_0= ruleValidId ) - { - // InternalCftLanguage.g:953:4: (lv_name_1_0= ruleValidId ) - // InternalCftLanguage.g:954:5: lv_name_1_0= ruleValidId - { - - newCompositeNode(grammarAccess.getTransformationDefinitionAccess().getNameValidIdParserRuleCall_1_0()); - - pushFollow(FOLLOW_8); - lv_name_1_0=ruleValidId(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getTransformationDefinitionRule()); - } - set( - current, - "name", - lv_name_1_0, - "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.ValidId"); - afterParserOrEnumRuleCall(); - - - } - - - } - - otherlv_2=(Token)match(input,17,FOLLOW_22); - - newLeafNode(otherlv_2, grammarAccess.getTransformationDefinitionAccess().getLeftCurlyBracketKeyword_2()); - - // InternalCftLanguage.g:975:3: ( (lv_mappingDefinitions_3_0= ruleMappingDefinition ) )* - loop17: - do { - int alt17=2; - int LA17_0 = input.LA(1); - - if ( ((LA17_0>=29 && LA17_0<=30)) ) { - alt17=1; - } - - - switch (alt17) { - case 1 : - // InternalCftLanguage.g:976:4: (lv_mappingDefinitions_3_0= ruleMappingDefinition ) - { - // InternalCftLanguage.g:976:4: (lv_mappingDefinitions_3_0= ruleMappingDefinition ) - // InternalCftLanguage.g:977:5: lv_mappingDefinitions_3_0= ruleMappingDefinition - { - - newCompositeNode(grammarAccess.getTransformationDefinitionAccess().getMappingDefinitionsMappingDefinitionParserRuleCall_3_0()); - - pushFollow(FOLLOW_22); - lv_mappingDefinitions_3_0=ruleMappingDefinition(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getTransformationDefinitionRule()); - } - add( - current, - "mappingDefinitions", - lv_mappingDefinitions_3_0, - "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.MappingDefinition"); - afterParserOrEnumRuleCall(); - - - } - - - } - break; - - default : - break loop17; - } - } while (true); - - otherlv_4=(Token)match(input,20,FOLLOW_2); - - newLeafNode(otherlv_4, grammarAccess.getTransformationDefinitionAccess().getRightCurlyBracketKeyword_4()); - - - } - - - } - - - leaveRule(); - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleTransformationDefinition" - - - // $ANTLR start "entryRuleMappingDefinition" - // InternalCftLanguage.g:1002:1: entryRuleMappingDefinition returns [EObject current=null] : iv_ruleMappingDefinition= ruleMappingDefinition EOF ; - public final EObject entryRuleMappingDefinition() throws RecognitionException { - EObject current = null; - - EObject iv_ruleMappingDefinition = null; - - - try { - // InternalCftLanguage.g:1002:58: (iv_ruleMappingDefinition= ruleMappingDefinition EOF ) - // InternalCftLanguage.g:1003:2: iv_ruleMappingDefinition= ruleMappingDefinition EOF - { - newCompositeNode(grammarAccess.getMappingDefinitionRule()); - pushFollow(FOLLOW_1); - iv_ruleMappingDefinition=ruleMappingDefinition(); - - state._fsp--; - - current =iv_ruleMappingDefinition; - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleMappingDefinition" - - - // $ANTLR start "ruleMappingDefinition" - // InternalCftLanguage.g:1009:1: ruleMappingDefinition returns [EObject current=null] : ( ( (lv_topLevel_0_0= 'toplevel' ) )? otherlv_1= 'mapping' ( ( ruleQualifiedName ) ) otherlv_3= '(' ( (lv_parameters_4_0= ruleMappingParameter ) ) (otherlv_5= ',' ( (lv_parameters_6_0= ruleMappingParameter ) ) )* otherlv_7= ')' ( (lv_componentInstance_8_0= ruleComponentInstance ) )? (otherlv_9= '{' ( ( ( (lv_lookupDefinitions_10_0= ruleLookupDefinition ) ) | ( (lv_assignments_11_0= ruleAssignment ) ) ) otherlv_12= ';' )* otherlv_13= '}' )? ) ; - public final EObject ruleMappingDefinition() throws RecognitionException { - EObject current = null; - - Token lv_topLevel_0_0=null; - Token otherlv_1=null; - Token otherlv_3=null; - Token otherlv_5=null; - Token otherlv_7=null; - Token otherlv_9=null; - Token otherlv_12=null; - Token otherlv_13=null; - EObject lv_parameters_4_0 = null; - - EObject lv_parameters_6_0 = null; - - EObject lv_componentInstance_8_0 = null; - - EObject lv_lookupDefinitions_10_0 = null; - - EObject lv_assignments_11_0 = null; - - - - enterRule(); - - try { - // InternalCftLanguage.g:1015:2: ( ( ( (lv_topLevel_0_0= 'toplevel' ) )? otherlv_1= 'mapping' ( ( ruleQualifiedName ) ) otherlv_3= '(' ( (lv_parameters_4_0= ruleMappingParameter ) ) (otherlv_5= ',' ( (lv_parameters_6_0= ruleMappingParameter ) ) )* otherlv_7= ')' ( (lv_componentInstance_8_0= ruleComponentInstance ) )? (otherlv_9= '{' ( ( ( (lv_lookupDefinitions_10_0= ruleLookupDefinition ) ) | ( (lv_assignments_11_0= ruleAssignment ) ) ) otherlv_12= ';' )* otherlv_13= '}' )? ) ) - // InternalCftLanguage.g:1016:2: ( ( (lv_topLevel_0_0= 'toplevel' ) )? otherlv_1= 'mapping' ( ( ruleQualifiedName ) ) otherlv_3= '(' ( (lv_parameters_4_0= ruleMappingParameter ) ) (otherlv_5= ',' ( (lv_parameters_6_0= ruleMappingParameter ) ) )* otherlv_7= ')' ( (lv_componentInstance_8_0= ruleComponentInstance ) )? (otherlv_9= '{' ( ( ( (lv_lookupDefinitions_10_0= ruleLookupDefinition ) ) | ( (lv_assignments_11_0= ruleAssignment ) ) ) otherlv_12= ';' )* otherlv_13= '}' )? ) - { - // InternalCftLanguage.g:1016:2: ( ( (lv_topLevel_0_0= 'toplevel' ) )? otherlv_1= 'mapping' ( ( ruleQualifiedName ) ) otherlv_3= '(' ( (lv_parameters_4_0= ruleMappingParameter ) ) (otherlv_5= ',' ( (lv_parameters_6_0= ruleMappingParameter ) ) )* otherlv_7= ')' ( (lv_componentInstance_8_0= ruleComponentInstance ) )? (otherlv_9= '{' ( ( ( (lv_lookupDefinitions_10_0= ruleLookupDefinition ) ) | ( (lv_assignments_11_0= ruleAssignment ) ) ) otherlv_12= ';' )* otherlv_13= '}' )? ) - // InternalCftLanguage.g:1017:3: ( (lv_topLevel_0_0= 'toplevel' ) )? otherlv_1= 'mapping' ( ( ruleQualifiedName ) ) otherlv_3= '(' ( (lv_parameters_4_0= ruleMappingParameter ) ) (otherlv_5= ',' ( (lv_parameters_6_0= ruleMappingParameter ) ) )* otherlv_7= ')' ( (lv_componentInstance_8_0= ruleComponentInstance ) )? (otherlv_9= '{' ( ( ( (lv_lookupDefinitions_10_0= ruleLookupDefinition ) ) | ( (lv_assignments_11_0= ruleAssignment ) ) ) otherlv_12= ';' )* otherlv_13= '}' )? - { - // InternalCftLanguage.g:1017:3: ( (lv_topLevel_0_0= 'toplevel' ) )? - int alt18=2; - int LA18_0 = input.LA(1); - - if ( (LA18_0==29) ) { - alt18=1; - } - switch (alt18) { - case 1 : - // InternalCftLanguage.g:1018:4: (lv_topLevel_0_0= 'toplevel' ) - { - // InternalCftLanguage.g:1018:4: (lv_topLevel_0_0= 'toplevel' ) - // InternalCftLanguage.g:1019:5: lv_topLevel_0_0= 'toplevel' - { - lv_topLevel_0_0=(Token)match(input,29,FOLLOW_23); - - newLeafNode(lv_topLevel_0_0, grammarAccess.getMappingDefinitionAccess().getTopLevelToplevelKeyword_0_0()); - - - if (current==null) { - current = createModelElement(grammarAccess.getMappingDefinitionRule()); - } - setWithLastConsumed(current, "topLevel", true, "toplevel"); - - - } - - - } - break; - - } - - otherlv_1=(Token)match(input,30,FOLLOW_3); - - newLeafNode(otherlv_1, grammarAccess.getMappingDefinitionAccess().getMappingKeyword_1()); - - // InternalCftLanguage.g:1035:3: ( ( ruleQualifiedName ) ) - // InternalCftLanguage.g:1036:4: ( ruleQualifiedName ) - { - // InternalCftLanguage.g:1036:4: ( ruleQualifiedName ) - // InternalCftLanguage.g:1037:5: ruleQualifiedName - { - - if (current==null) { - current = createModelElement(grammarAccess.getMappingDefinitionRule()); - } - - - newCompositeNode(grammarAccess.getMappingDefinitionAccess().getPatternPatternCrossReference_2_0()); - - pushFollow(FOLLOW_24); - ruleQualifiedName(); - - state._fsp--; - - - afterParserOrEnumRuleCall(); - - - } - - - } - - otherlv_3=(Token)match(input,31,FOLLOW_3); - - newLeafNode(otherlv_3, grammarAccess.getMappingDefinitionAccess().getLeftParenthesisKeyword_3()); - - // InternalCftLanguage.g:1055:3: ( (lv_parameters_4_0= ruleMappingParameter ) ) - // InternalCftLanguage.g:1056:4: (lv_parameters_4_0= ruleMappingParameter ) - { - // InternalCftLanguage.g:1056:4: (lv_parameters_4_0= ruleMappingParameter ) - // InternalCftLanguage.g:1057:5: lv_parameters_4_0= ruleMappingParameter - { - - newCompositeNode(grammarAccess.getMappingDefinitionAccess().getParametersMappingParameterParserRuleCall_4_0()); - - pushFollow(FOLLOW_25); - lv_parameters_4_0=ruleMappingParameter(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getMappingDefinitionRule()); - } - add( - current, - "parameters", - lv_parameters_4_0, - "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.MappingParameter"); - afterParserOrEnumRuleCall(); - - - } - - - } - - // InternalCftLanguage.g:1074:3: (otherlv_5= ',' ( (lv_parameters_6_0= ruleMappingParameter ) ) )* - loop19: - do { - int alt19=2; - int LA19_0 = input.LA(1); - - if ( (LA19_0==32) ) { - alt19=1; - } - - - switch (alt19) { - case 1 : - // InternalCftLanguage.g:1075:4: otherlv_5= ',' ( (lv_parameters_6_0= ruleMappingParameter ) ) - { - otherlv_5=(Token)match(input,32,FOLLOW_3); - - newLeafNode(otherlv_5, grammarAccess.getMappingDefinitionAccess().getCommaKeyword_5_0()); - - // InternalCftLanguage.g:1079:4: ( (lv_parameters_6_0= ruleMappingParameter ) ) - // InternalCftLanguage.g:1080:5: (lv_parameters_6_0= ruleMappingParameter ) - { - // InternalCftLanguage.g:1080:5: (lv_parameters_6_0= ruleMappingParameter ) - // InternalCftLanguage.g:1081:6: lv_parameters_6_0= ruleMappingParameter - { - - newCompositeNode(grammarAccess.getMappingDefinitionAccess().getParametersMappingParameterParserRuleCall_5_1_0()); - - pushFollow(FOLLOW_25); - lv_parameters_6_0=ruleMappingParameter(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getMappingDefinitionRule()); - } - add( - current, - "parameters", - lv_parameters_6_0, - "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.MappingParameter"); - afterParserOrEnumRuleCall(); - - - } - - - } - - - } - break; - - default : - break loop19; - } - } while (true); - - otherlv_7=(Token)match(input,33,FOLLOW_26); - - newLeafNode(otherlv_7, grammarAccess.getMappingDefinitionAccess().getRightParenthesisKeyword_6()); - - // InternalCftLanguage.g:1103:3: ( (lv_componentInstance_8_0= ruleComponentInstance ) )? - int alt20=2; - int LA20_0 = input.LA(1); - - if ( (LA20_0==39) ) { - alt20=1; - } - switch (alt20) { - case 1 : - // InternalCftLanguage.g:1104:4: (lv_componentInstance_8_0= ruleComponentInstance ) - { - // InternalCftLanguage.g:1104:4: (lv_componentInstance_8_0= ruleComponentInstance ) - // InternalCftLanguage.g:1105:5: lv_componentInstance_8_0= ruleComponentInstance - { - - newCompositeNode(grammarAccess.getMappingDefinitionAccess().getComponentInstanceComponentInstanceParserRuleCall_7_0()); - - pushFollow(FOLLOW_27); - lv_componentInstance_8_0=ruleComponentInstance(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getMappingDefinitionRule()); - } - set( - current, - "componentInstance", - lv_componentInstance_8_0, - "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.ComponentInstance"); - afterParserOrEnumRuleCall(); - - - } - - - } - break; - - } - - // InternalCftLanguage.g:1122:3: (otherlv_9= '{' ( ( ( (lv_lookupDefinitions_10_0= ruleLookupDefinition ) ) | ( (lv_assignments_11_0= ruleAssignment ) ) ) otherlv_12= ';' )* otherlv_13= '}' )? - int alt23=2; - int LA23_0 = input.LA(1); - - if ( (LA23_0==17) ) { - alt23=1; - } - switch (alt23) { - case 1 : - // InternalCftLanguage.g:1123:4: otherlv_9= '{' ( ( ( (lv_lookupDefinitions_10_0= ruleLookupDefinition ) ) | ( (lv_assignments_11_0= ruleAssignment ) ) ) otherlv_12= ';' )* otherlv_13= '}' - { - otherlv_9=(Token)match(input,17,FOLLOW_28); - - newLeafNode(otherlv_9, grammarAccess.getMappingDefinitionAccess().getLeftCurlyBracketKeyword_8_0()); - - // InternalCftLanguage.g:1127:4: ( ( ( (lv_lookupDefinitions_10_0= ruleLookupDefinition ) ) | ( (lv_assignments_11_0= ruleAssignment ) ) ) otherlv_12= ';' )* - loop22: - do { - int alt22=2; - int LA22_0 = input.LA(1); - - if ( ((LA22_0>=RULE_OF_INT && LA22_0<=RULE_ID)||LA22_0==34) ) { - alt22=1; - } - - - switch (alt22) { - case 1 : - // InternalCftLanguage.g:1128:5: ( ( (lv_lookupDefinitions_10_0= ruleLookupDefinition ) ) | ( (lv_assignments_11_0= ruleAssignment ) ) ) otherlv_12= ';' - { - // InternalCftLanguage.g:1128:5: ( ( (lv_lookupDefinitions_10_0= ruleLookupDefinition ) ) | ( (lv_assignments_11_0= ruleAssignment ) ) ) - int alt21=2; - int LA21_0 = input.LA(1); - - if ( (LA21_0==34) ) { - alt21=1; - } - else if ( ((LA21_0>=RULE_OF_INT && LA21_0<=RULE_ID)) ) { - alt21=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 21, 0, input); - - throw nvae; - } - switch (alt21) { - case 1 : - // InternalCftLanguage.g:1129:6: ( (lv_lookupDefinitions_10_0= ruleLookupDefinition ) ) - { - // InternalCftLanguage.g:1129:6: ( (lv_lookupDefinitions_10_0= ruleLookupDefinition ) ) - // InternalCftLanguage.g:1130:7: (lv_lookupDefinitions_10_0= ruleLookupDefinition ) - { - // InternalCftLanguage.g:1130:7: (lv_lookupDefinitions_10_0= ruleLookupDefinition ) - // InternalCftLanguage.g:1131:8: lv_lookupDefinitions_10_0= ruleLookupDefinition - { - - newCompositeNode(grammarAccess.getMappingDefinitionAccess().getLookupDefinitionsLookupDefinitionParserRuleCall_8_1_0_0_0()); - - pushFollow(FOLLOW_11); - lv_lookupDefinitions_10_0=ruleLookupDefinition(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getMappingDefinitionRule()); - } - add( - current, - "lookupDefinitions", - lv_lookupDefinitions_10_0, - "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.LookupDefinition"); - afterParserOrEnumRuleCall(); - - - } - - - } - - - } - break; - case 2 : - // InternalCftLanguage.g:1149:6: ( (lv_assignments_11_0= ruleAssignment ) ) - { - // InternalCftLanguage.g:1149:6: ( (lv_assignments_11_0= ruleAssignment ) ) - // InternalCftLanguage.g:1150:7: (lv_assignments_11_0= ruleAssignment ) - { - // InternalCftLanguage.g:1150:7: (lv_assignments_11_0= ruleAssignment ) - // InternalCftLanguage.g:1151:8: lv_assignments_11_0= ruleAssignment - { - - newCompositeNode(grammarAccess.getMappingDefinitionAccess().getAssignmentsAssignmentParserRuleCall_8_1_0_1_0()); - - pushFollow(FOLLOW_11); - lv_assignments_11_0=ruleAssignment(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getMappingDefinitionRule()); - } - add( - current, - "assignments", - lv_assignments_11_0, - "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.Assignment"); - afterParserOrEnumRuleCall(); - - - } - - - } - - - } - break; - - } - - otherlv_12=(Token)match(input,14,FOLLOW_28); - - newLeafNode(otherlv_12, grammarAccess.getMappingDefinitionAccess().getSemicolonKeyword_8_1_1()); - - - } - break; - - default : - break loop22; - } - } while (true); - - otherlv_13=(Token)match(input,20,FOLLOW_2); - - newLeafNode(otherlv_13, grammarAccess.getMappingDefinitionAccess().getRightCurlyBracketKeyword_8_2()); - - - } - break; - - } - - - } - - - } - - - leaveRule(); - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleMappingDefinition" - - - // $ANTLR start "entryRuleMappingParameter" - // InternalCftLanguage.g:1183:1: entryRuleMappingParameter returns [EObject current=null] : iv_ruleMappingParameter= ruleMappingParameter EOF ; - public final EObject entryRuleMappingParameter() throws RecognitionException { - EObject current = null; - - EObject iv_ruleMappingParameter = null; - - - try { - // InternalCftLanguage.g:1183:57: (iv_ruleMappingParameter= ruleMappingParameter EOF ) - // InternalCftLanguage.g:1184:2: iv_ruleMappingParameter= ruleMappingParameter EOF - { - newCompositeNode(grammarAccess.getMappingParameterRule()); - pushFollow(FOLLOW_1); - iv_ruleMappingParameter=ruleMappingParameter(); - - state._fsp--; - - current =iv_ruleMappingParameter; - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleMappingParameter" - - - // $ANTLR start "ruleMappingParameter" - // InternalCftLanguage.g:1190:1: ruleMappingParameter returns [EObject current=null] : ( (lv_name_0_0= ruleValidId ) ) ; - public final EObject ruleMappingParameter() throws RecognitionException { - EObject current = null; - - AntlrDatatypeRuleToken lv_name_0_0 = null; - - - - enterRule(); - - try { - // InternalCftLanguage.g:1196:2: ( ( (lv_name_0_0= ruleValidId ) ) ) - // InternalCftLanguage.g:1197:2: ( (lv_name_0_0= ruleValidId ) ) - { - // InternalCftLanguage.g:1197:2: ( (lv_name_0_0= ruleValidId ) ) - // InternalCftLanguage.g:1198:3: (lv_name_0_0= ruleValidId ) - { - // InternalCftLanguage.g:1198:3: (lv_name_0_0= ruleValidId ) - // InternalCftLanguage.g:1199:4: lv_name_0_0= ruleValidId - { - - newCompositeNode(grammarAccess.getMappingParameterAccess().getNameValidIdParserRuleCall_0()); - - pushFollow(FOLLOW_2); - lv_name_0_0=ruleValidId(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getMappingParameterRule()); - } - set( - current, - "name", - lv_name_0_0, - "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.ValidId"); - afterParserOrEnumRuleCall(); - - - } - - - } - - - } - - - leaveRule(); - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleMappingParameter" - - - // $ANTLR start "entryRuleLookupDefinition" - // InternalCftLanguage.g:1219:1: entryRuleLookupDefinition returns [EObject current=null] : iv_ruleLookupDefinition= ruleLookupDefinition EOF ; - public final EObject entryRuleLookupDefinition() throws RecognitionException { - EObject current = null; - - EObject iv_ruleLookupDefinition = null; - - - try { - // InternalCftLanguage.g:1219:57: (iv_ruleLookupDefinition= ruleLookupDefinition EOF ) - // InternalCftLanguage.g:1220:2: iv_ruleLookupDefinition= ruleLookupDefinition EOF - { - newCompositeNode(grammarAccess.getLookupDefinitionRule()); - pushFollow(FOLLOW_1); - iv_ruleLookupDefinition=ruleLookupDefinition(); - - state._fsp--; - - current =iv_ruleLookupDefinition; - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleLookupDefinition" - - - // $ANTLR start "ruleLookupDefinition" - // InternalCftLanguage.g:1226:1: ruleLookupDefinition returns [EObject current=null] : (otherlv_0= 'lookup' ( ( ruleQualifiedName ) ) otherlv_2= '(' ( ( ruleValidId ) ) (otherlv_4= ',' ( ( ruleValidId ) ) )* otherlv_6= ')' otherlv_7= 'as' ( (lv_name_8_0= ruleValidId ) ) ) ; - public final EObject ruleLookupDefinition() throws RecognitionException { - EObject current = null; - - Token otherlv_0=null; - Token otherlv_2=null; - Token otherlv_4=null; - Token otherlv_6=null; - Token otherlv_7=null; - AntlrDatatypeRuleToken lv_name_8_0 = null; - - - - enterRule(); - - try { - // InternalCftLanguage.g:1232:2: ( (otherlv_0= 'lookup' ( ( ruleQualifiedName ) ) otherlv_2= '(' ( ( ruleValidId ) ) (otherlv_4= ',' ( ( ruleValidId ) ) )* otherlv_6= ')' otherlv_7= 'as' ( (lv_name_8_0= ruleValidId ) ) ) ) - // InternalCftLanguage.g:1233:2: (otherlv_0= 'lookup' ( ( ruleQualifiedName ) ) otherlv_2= '(' ( ( ruleValidId ) ) (otherlv_4= ',' ( ( ruleValidId ) ) )* otherlv_6= ')' otherlv_7= 'as' ( (lv_name_8_0= ruleValidId ) ) ) - { - // InternalCftLanguage.g:1233:2: (otherlv_0= 'lookup' ( ( ruleQualifiedName ) ) otherlv_2= '(' ( ( ruleValidId ) ) (otherlv_4= ',' ( ( ruleValidId ) ) )* otherlv_6= ')' otherlv_7= 'as' ( (lv_name_8_0= ruleValidId ) ) ) - // InternalCftLanguage.g:1234:3: otherlv_0= 'lookup' ( ( ruleQualifiedName ) ) otherlv_2= '(' ( ( ruleValidId ) ) (otherlv_4= ',' ( ( ruleValidId ) ) )* otherlv_6= ')' otherlv_7= 'as' ( (lv_name_8_0= ruleValidId ) ) - { - otherlv_0=(Token)match(input,34,FOLLOW_3); - - newLeafNode(otherlv_0, grammarAccess.getLookupDefinitionAccess().getLookupKeyword_0()); - - // InternalCftLanguage.g:1238:3: ( ( ruleQualifiedName ) ) - // InternalCftLanguage.g:1239:4: ( ruleQualifiedName ) - { - // InternalCftLanguage.g:1239:4: ( ruleQualifiedName ) - // InternalCftLanguage.g:1240:5: ruleQualifiedName - { - - if (current==null) { - current = createModelElement(grammarAccess.getLookupDefinitionRule()); - } - - - newCompositeNode(grammarAccess.getLookupDefinitionAccess().getMappingMappingDefinitionCrossReference_1_0()); - - pushFollow(FOLLOW_24); - ruleQualifiedName(); - - state._fsp--; - - - afterParserOrEnumRuleCall(); - - - } - - - } - - otherlv_2=(Token)match(input,31,FOLLOW_3); - - newLeafNode(otherlv_2, grammarAccess.getLookupDefinitionAccess().getLeftParenthesisKeyword_2()); - - // InternalCftLanguage.g:1258:3: ( ( ruleValidId ) ) - // InternalCftLanguage.g:1259:4: ( ruleValidId ) - { - // InternalCftLanguage.g:1259:4: ( ruleValidId ) - // InternalCftLanguage.g:1260:5: ruleValidId - { - - if (current==null) { - current = createModelElement(grammarAccess.getLookupDefinitionRule()); - } - - - newCompositeNode(grammarAccess.getLookupDefinitionAccess().getArgumentsMappingParameterCrossReference_3_0()); - - pushFollow(FOLLOW_25); - ruleValidId(); - - state._fsp--; - - - afterParserOrEnumRuleCall(); - - - } - - - } - - // InternalCftLanguage.g:1274:3: (otherlv_4= ',' ( ( ruleValidId ) ) )* - loop24: - do { - int alt24=2; - int LA24_0 = input.LA(1); - - if ( (LA24_0==32) ) { - alt24=1; - } - - - switch (alt24) { - case 1 : - // InternalCftLanguage.g:1275:4: otherlv_4= ',' ( ( ruleValidId ) ) - { - otherlv_4=(Token)match(input,32,FOLLOW_3); - - newLeafNode(otherlv_4, grammarAccess.getLookupDefinitionAccess().getCommaKeyword_4_0()); - - // InternalCftLanguage.g:1279:4: ( ( ruleValidId ) ) - // InternalCftLanguage.g:1280:5: ( ruleValidId ) - { - // InternalCftLanguage.g:1280:5: ( ruleValidId ) - // InternalCftLanguage.g:1281:6: ruleValidId - { - - if (current==null) { - current = createModelElement(grammarAccess.getLookupDefinitionRule()); - } - - - newCompositeNode(grammarAccess.getLookupDefinitionAccess().getArgumentsMappingParameterCrossReference_4_1_0()); - - pushFollow(FOLLOW_25); - ruleValidId(); - - state._fsp--; - - - afterParserOrEnumRuleCall(); - - - } - - - } - - - } - break; - - default : - break loop24; - } - } while (true); - - otherlv_6=(Token)match(input,33,FOLLOW_29); - - newLeafNode(otherlv_6, grammarAccess.getLookupDefinitionAccess().getRightParenthesisKeyword_5()); - - otherlv_7=(Token)match(input,35,FOLLOW_3); - - newLeafNode(otherlv_7, grammarAccess.getLookupDefinitionAccess().getAsKeyword_6()); - - // InternalCftLanguage.g:1304:3: ( (lv_name_8_0= ruleValidId ) ) - // InternalCftLanguage.g:1305:4: (lv_name_8_0= ruleValidId ) - { - // InternalCftLanguage.g:1305:4: (lv_name_8_0= ruleValidId ) - // InternalCftLanguage.g:1306:5: lv_name_8_0= ruleValidId - { - - newCompositeNode(grammarAccess.getLookupDefinitionAccess().getNameValidIdParserRuleCall_7_0()); - - pushFollow(FOLLOW_2); - lv_name_8_0=ruleValidId(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getLookupDefinitionRule()); - } - set( - current, - "name", - lv_name_8_0, - "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.ValidId"); - afterParserOrEnumRuleCall(); - - - } - - - } - - - } - - - } - - - leaveRule(); - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleLookupDefinition" - - - // $ANTLR start "entryRuleAssignment" - // InternalCftLanguage.g:1327:1: entryRuleAssignment returns [EObject current=null] : iv_ruleAssignment= ruleAssignment EOF ; - public final EObject entryRuleAssignment() throws RecognitionException { - EObject current = null; - - EObject iv_ruleAssignment = null; - - - try { - // InternalCftLanguage.g:1327:51: (iv_ruleAssignment= ruleAssignment EOF ) - // InternalCftLanguage.g:1328:2: iv_ruleAssignment= ruleAssignment EOF - { - newCompositeNode(grammarAccess.getAssignmentRule()); - pushFollow(FOLLOW_1); - iv_ruleAssignment=ruleAssignment(); - - state._fsp--; - - current =iv_ruleAssignment; - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleAssignment" - - - // $ANTLR start "ruleAssignment" - // InternalCftLanguage.g:1334:1: ruleAssignment returns [EObject current=null] : ( ( (lv_input_0_0= ruleEventReference ) ) ( ( (lv_multiple_1_0= '+=' ) ) | otherlv_2= ':=' ) ( (lv_output_3_0= ruleEventReference ) ) ) ; - public final EObject ruleAssignment() throws RecognitionException { - EObject current = null; - - Token lv_multiple_1_0=null; - Token otherlv_2=null; - EObject lv_input_0_0 = null; - - EObject lv_output_3_0 = null; - - - - enterRule(); - - try { - // InternalCftLanguage.g:1340:2: ( ( ( (lv_input_0_0= ruleEventReference ) ) ( ( (lv_multiple_1_0= '+=' ) ) | otherlv_2= ':=' ) ( (lv_output_3_0= ruleEventReference ) ) ) ) - // InternalCftLanguage.g:1341:2: ( ( (lv_input_0_0= ruleEventReference ) ) ( ( (lv_multiple_1_0= '+=' ) ) | otherlv_2= ':=' ) ( (lv_output_3_0= ruleEventReference ) ) ) - { - // InternalCftLanguage.g:1341:2: ( ( (lv_input_0_0= ruleEventReference ) ) ( ( (lv_multiple_1_0= '+=' ) ) | otherlv_2= ':=' ) ( (lv_output_3_0= ruleEventReference ) ) ) - // InternalCftLanguage.g:1342:3: ( (lv_input_0_0= ruleEventReference ) ) ( ( (lv_multiple_1_0= '+=' ) ) | otherlv_2= ':=' ) ( (lv_output_3_0= ruleEventReference ) ) - { - // InternalCftLanguage.g:1342:3: ( (lv_input_0_0= ruleEventReference ) ) - // InternalCftLanguage.g:1343:4: (lv_input_0_0= ruleEventReference ) - { - // InternalCftLanguage.g:1343:4: (lv_input_0_0= ruleEventReference ) - // InternalCftLanguage.g:1344:5: lv_input_0_0= ruleEventReference - { - - newCompositeNode(grammarAccess.getAssignmentAccess().getInputEventReferenceParserRuleCall_0_0()); - - pushFollow(FOLLOW_30); - lv_input_0_0=ruleEventReference(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getAssignmentRule()); - } - set( - current, - "input", - lv_input_0_0, - "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.EventReference"); - afterParserOrEnumRuleCall(); - - - } - - - } - - // InternalCftLanguage.g:1361:3: ( ( (lv_multiple_1_0= '+=' ) ) | otherlv_2= ':=' ) - int alt25=2; - int LA25_0 = input.LA(1); - - if ( (LA25_0==36) ) { - alt25=1; - } - else if ( (LA25_0==37) ) { - alt25=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 25, 0, input); - - throw nvae; - } - switch (alt25) { - case 1 : - // InternalCftLanguage.g:1362:4: ( (lv_multiple_1_0= '+=' ) ) - { - // InternalCftLanguage.g:1362:4: ( (lv_multiple_1_0= '+=' ) ) - // InternalCftLanguage.g:1363:5: (lv_multiple_1_0= '+=' ) - { - // InternalCftLanguage.g:1363:5: (lv_multiple_1_0= '+=' ) - // InternalCftLanguage.g:1364:6: lv_multiple_1_0= '+=' - { - lv_multiple_1_0=(Token)match(input,36,FOLLOW_31); - - newLeafNode(lv_multiple_1_0, grammarAccess.getAssignmentAccess().getMultiplePlusSignEqualsSignKeyword_1_0_0()); - - - if (current==null) { - current = createModelElement(grammarAccess.getAssignmentRule()); - } - setWithLastConsumed(current, "multiple", true, "+="); - - - } - - - } - - - } - break; - case 2 : - // InternalCftLanguage.g:1377:4: otherlv_2= ':=' - { - otherlv_2=(Token)match(input,37,FOLLOW_31); - - newLeafNode(otherlv_2, grammarAccess.getAssignmentAccess().getColonEqualsSignKeyword_1_1()); - - - } - break; - - } - - // InternalCftLanguage.g:1382:3: ( (lv_output_3_0= ruleEventReference ) ) - // InternalCftLanguage.g:1383:4: (lv_output_3_0= ruleEventReference ) - { - // InternalCftLanguage.g:1383:4: (lv_output_3_0= ruleEventReference ) - // InternalCftLanguage.g:1384:5: lv_output_3_0= ruleEventReference - { - - newCompositeNode(grammarAccess.getAssignmentAccess().getOutputEventReferenceParserRuleCall_2_0()); - - pushFollow(FOLLOW_2); - lv_output_3_0=ruleEventReference(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getAssignmentRule()); - } - set( - current, - "output", - lv_output_3_0, - "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.EventReference"); - afterParserOrEnumRuleCall(); - - - } - - - } - - - } - - - } - - - leaveRule(); - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleAssignment" - - - // $ANTLR start "entryRuleEventReference" - // InternalCftLanguage.g:1405:1: entryRuleEventReference returns [EObject current=null] : iv_ruleEventReference= ruleEventReference EOF ; - public final EObject entryRuleEventReference() throws RecognitionException { - EObject current = null; - - EObject iv_ruleEventReference = null; - - - try { - // InternalCftLanguage.g:1405:55: (iv_ruleEventReference= ruleEventReference EOF ) - // InternalCftLanguage.g:1406:2: iv_ruleEventReference= ruleEventReference EOF - { - newCompositeNode(grammarAccess.getEventReferenceRule()); - pushFollow(FOLLOW_1); - iv_ruleEventReference=ruleEventReference(); - - state._fsp--; - - current =iv_ruleEventReference; - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleEventReference" - - - // $ANTLR start "ruleEventReference" - // InternalCftLanguage.g:1412:1: ruleEventReference returns [EObject current=null] : ( ( ( ruleValidId ) ) otherlv_1= '.' ( ( ruleValidId ) ) ) ; - public final EObject ruleEventReference() throws RecognitionException { - EObject current = null; - - Token otherlv_1=null; - - - enterRule(); - - try { - // InternalCftLanguage.g:1418:2: ( ( ( ( ruleValidId ) ) otherlv_1= '.' ( ( ruleValidId ) ) ) ) - // InternalCftLanguage.g:1419:2: ( ( ( ruleValidId ) ) otherlv_1= '.' ( ( ruleValidId ) ) ) - { - // InternalCftLanguage.g:1419:2: ( ( ( ruleValidId ) ) otherlv_1= '.' ( ( ruleValidId ) ) ) - // InternalCftLanguage.g:1420:3: ( ( ruleValidId ) ) otherlv_1= '.' ( ( ruleValidId ) ) - { - // InternalCftLanguage.g:1420:3: ( ( ruleValidId ) ) - // InternalCftLanguage.g:1421:4: ( ruleValidId ) - { - // InternalCftLanguage.g:1421:4: ( ruleValidId ) - // InternalCftLanguage.g:1422:5: ruleValidId - { - - if (current==null) { - current = createModelElement(grammarAccess.getEventReferenceRule()); - } - - - newCompositeNode(grammarAccess.getEventReferenceAccess().getComponentVariableCrossReference_0_0()); - - pushFollow(FOLLOW_32); - ruleValidId(); - - state._fsp--; - - - afterParserOrEnumRuleCall(); - - - } - - - } - - otherlv_1=(Token)match(input,38,FOLLOW_3); - - newLeafNode(otherlv_1, grammarAccess.getEventReferenceAccess().getFullStopKeyword_1()); - - // InternalCftLanguage.g:1440:3: ( ( ruleValidId ) ) - // InternalCftLanguage.g:1441:4: ( ruleValidId ) - { - // InternalCftLanguage.g:1441:4: ( ruleValidId ) - // InternalCftLanguage.g:1442:5: ruleValidId - { - - if (current==null) { - current = createModelElement(grammarAccess.getEventReferenceRule()); - } - - - newCompositeNode(grammarAccess.getEventReferenceAccess().getEventEventDeclarationCrossReference_2_0()); - - pushFollow(FOLLOW_2); - ruleValidId(); - - state._fsp--; - - - afterParserOrEnumRuleCall(); - - - } - - - } - - - } - - - } - - - leaveRule(); - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleEventReference" - - - // $ANTLR start "entryRuleComponentInstance" - // InternalCftLanguage.g:1460:1: entryRuleComponentInstance returns [EObject current=null] : iv_ruleComponentInstance= ruleComponentInstance EOF ; - public final EObject entryRuleComponentInstance() throws RecognitionException { - EObject current = null; - - EObject iv_ruleComponentInstance = null; - - - try { - // InternalCftLanguage.g:1460:58: (iv_ruleComponentInstance= ruleComponentInstance EOF ) - // InternalCftLanguage.g:1461:2: iv_ruleComponentInstance= ruleComponentInstance EOF - { - newCompositeNode(grammarAccess.getComponentInstanceRule()); - pushFollow(FOLLOW_1); - iv_ruleComponentInstance=ruleComponentInstance(); - - state._fsp--; - - current =iv_ruleComponentInstance; - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleComponentInstance" - - - // $ANTLR start "ruleComponentInstance" - // InternalCftLanguage.g:1467:1: ruleComponentInstance returns [EObject current=null] : (otherlv_0= '=>' ( ( ruleQualifiedName ) ) ( (lv_name_2_0= ruleValidId ) )? ) ; - public final EObject ruleComponentInstance() throws RecognitionException { - EObject current = null; - - Token otherlv_0=null; - AntlrDatatypeRuleToken lv_name_2_0 = null; - - - - enterRule(); - - try { - // InternalCftLanguage.g:1473:2: ( (otherlv_0= '=>' ( ( ruleQualifiedName ) ) ( (lv_name_2_0= ruleValidId ) )? ) ) - // InternalCftLanguage.g:1474:2: (otherlv_0= '=>' ( ( ruleQualifiedName ) ) ( (lv_name_2_0= ruleValidId ) )? ) - { - // InternalCftLanguage.g:1474:2: (otherlv_0= '=>' ( ( ruleQualifiedName ) ) ( (lv_name_2_0= ruleValidId ) )? ) - // InternalCftLanguage.g:1475:3: otherlv_0= '=>' ( ( ruleQualifiedName ) ) ( (lv_name_2_0= ruleValidId ) )? - { - otherlv_0=(Token)match(input,39,FOLLOW_3); - - newLeafNode(otherlv_0, grammarAccess.getComponentInstanceAccess().getEqualsSignGreaterThanSignKeyword_0()); - - // InternalCftLanguage.g:1479:3: ( ( ruleQualifiedName ) ) - // InternalCftLanguage.g:1480:4: ( ruleQualifiedName ) - { - // InternalCftLanguage.g:1480:4: ( ruleQualifiedName ) - // InternalCftLanguage.g:1481:5: ruleQualifiedName - { - - if (current==null) { - current = createModelElement(grammarAccess.getComponentInstanceRule()); - } - - - newCompositeNode(grammarAccess.getComponentInstanceAccess().getComponentTypeComponentDefinitionCrossReference_1_0()); - - pushFollow(FOLLOW_18); - ruleQualifiedName(); - - state._fsp--; - - - afterParserOrEnumRuleCall(); - - - } - - - } - - // InternalCftLanguage.g:1495:3: ( (lv_name_2_0= ruleValidId ) )? - int alt26=2; - int LA26_0 = input.LA(1); - - if ( ((LA26_0>=RULE_OF_INT && LA26_0<=RULE_ID)) ) { - alt26=1; - } - switch (alt26) { - case 1 : - // InternalCftLanguage.g:1496:4: (lv_name_2_0= ruleValidId ) - { - // InternalCftLanguage.g:1496:4: (lv_name_2_0= ruleValidId ) - // InternalCftLanguage.g:1497:5: lv_name_2_0= ruleValidId - { - - newCompositeNode(grammarAccess.getComponentInstanceAccess().getNameValidIdParserRuleCall_2_0()); - - pushFollow(FOLLOW_2); - lv_name_2_0=ruleValidId(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getComponentInstanceRule()); - } - set( - current, - "name", - lv_name_2_0, - "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.ValidId"); - afterParserOrEnumRuleCall(); - - - } - - - } - break; - - } - - - } - - - } - - - leaveRule(); - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleComponentInstance" - - - // $ANTLR start "entryRuleQualifiedName" - // InternalCftLanguage.g:1518:1: entryRuleQualifiedName returns [String current=null] : iv_ruleQualifiedName= ruleQualifiedName EOF ; - public final String entryRuleQualifiedName() throws RecognitionException { - String current = null; - - AntlrDatatypeRuleToken iv_ruleQualifiedName = null; - - - try { - // InternalCftLanguage.g:1518:53: (iv_ruleQualifiedName= ruleQualifiedName EOF ) - // InternalCftLanguage.g:1519:2: iv_ruleQualifiedName= ruleQualifiedName EOF - { - newCompositeNode(grammarAccess.getQualifiedNameRule()); - pushFollow(FOLLOW_1); - iv_ruleQualifiedName=ruleQualifiedName(); - - state._fsp--; - - current =iv_ruleQualifiedName.getText(); - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleQualifiedName" - - - // $ANTLR start "ruleQualifiedName" - // InternalCftLanguage.g:1525:1: ruleQualifiedName returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_ValidId_0= ruleValidId (kw= '.' this_ValidId_2= ruleValidId )* ) ; - public final AntlrDatatypeRuleToken ruleQualifiedName() throws RecognitionException { - AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); - - Token kw=null; - AntlrDatatypeRuleToken this_ValidId_0 = null; - - AntlrDatatypeRuleToken this_ValidId_2 = null; - - - - enterRule(); - - try { - // InternalCftLanguage.g:1531:2: ( (this_ValidId_0= ruleValidId (kw= '.' this_ValidId_2= ruleValidId )* ) ) - // InternalCftLanguage.g:1532:2: (this_ValidId_0= ruleValidId (kw= '.' this_ValidId_2= ruleValidId )* ) - { - // InternalCftLanguage.g:1532:2: (this_ValidId_0= ruleValidId (kw= '.' this_ValidId_2= ruleValidId )* ) - // InternalCftLanguage.g:1533:3: this_ValidId_0= ruleValidId (kw= '.' this_ValidId_2= ruleValidId )* - { - - newCompositeNode(grammarAccess.getQualifiedNameAccess().getValidIdParserRuleCall_0()); - - pushFollow(FOLLOW_33); - this_ValidId_0=ruleValidId(); - - state._fsp--; - - - current.merge(this_ValidId_0); - - - afterParserOrEnumRuleCall(); - - // InternalCftLanguage.g:1543:3: (kw= '.' this_ValidId_2= ruleValidId )* - loop27: - do { - int alt27=2; - int LA27_0 = input.LA(1); - - if ( (LA27_0==38) ) { - int LA27_2 = input.LA(2); - - if ( ((LA27_2>=RULE_OF_INT && LA27_2<=RULE_ID)) ) { - alt27=1; - } - - - } - - - switch (alt27) { - case 1 : - // InternalCftLanguage.g:1544:4: kw= '.' this_ValidId_2= ruleValidId - { - kw=(Token)match(input,38,FOLLOW_3); - - current.merge(kw); - newLeafNode(kw, grammarAccess.getQualifiedNameAccess().getFullStopKeyword_1_0()); - - - newCompositeNode(grammarAccess.getQualifiedNameAccess().getValidIdParserRuleCall_1_1()); - - pushFollow(FOLLOW_33); - this_ValidId_2=ruleValidId(); - - state._fsp--; - - - current.merge(this_ValidId_2); - - - afterParserOrEnumRuleCall(); - - - } - break; - - default : - break loop27; - } - } while (true); - - - } - - - } - - - leaveRule(); - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleQualifiedName" - - - // $ANTLR start "entryRuleQualifiedNameWithWildcard" - // InternalCftLanguage.g:1564:1: entryRuleQualifiedNameWithWildcard returns [String current=null] : iv_ruleQualifiedNameWithWildcard= ruleQualifiedNameWithWildcard EOF ; - public final String entryRuleQualifiedNameWithWildcard() throws RecognitionException { - String current = null; - - AntlrDatatypeRuleToken iv_ruleQualifiedNameWithWildcard = null; - - - try { - // InternalCftLanguage.g:1564:65: (iv_ruleQualifiedNameWithWildcard= ruleQualifiedNameWithWildcard EOF ) - // InternalCftLanguage.g:1565:2: iv_ruleQualifiedNameWithWildcard= ruleQualifiedNameWithWildcard EOF - { - newCompositeNode(grammarAccess.getQualifiedNameWithWildcardRule()); - pushFollow(FOLLOW_1); - iv_ruleQualifiedNameWithWildcard=ruleQualifiedNameWithWildcard(); - - state._fsp--; - - current =iv_ruleQualifiedNameWithWildcard.getText(); - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleQualifiedNameWithWildcard" - - - // $ANTLR start "ruleQualifiedNameWithWildcard" - // InternalCftLanguage.g:1571:1: ruleQualifiedNameWithWildcard returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_QualifiedName_0= ruleQualifiedName (kw= '.' kw= '*' )? ) ; - public final AntlrDatatypeRuleToken ruleQualifiedNameWithWildcard() throws RecognitionException { - AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); - - Token kw=null; - AntlrDatatypeRuleToken this_QualifiedName_0 = null; - - - - enterRule(); - - try { - // InternalCftLanguage.g:1577:2: ( (this_QualifiedName_0= ruleQualifiedName (kw= '.' kw= '*' )? ) ) - // InternalCftLanguage.g:1578:2: (this_QualifiedName_0= ruleQualifiedName (kw= '.' kw= '*' )? ) - { - // InternalCftLanguage.g:1578:2: (this_QualifiedName_0= ruleQualifiedName (kw= '.' kw= '*' )? ) - // InternalCftLanguage.g:1579:3: this_QualifiedName_0= ruleQualifiedName (kw= '.' kw= '*' )? - { - - newCompositeNode(grammarAccess.getQualifiedNameWithWildcardAccess().getQualifiedNameParserRuleCall_0()); - - pushFollow(FOLLOW_33); - this_QualifiedName_0=ruleQualifiedName(); - - state._fsp--; - - - current.merge(this_QualifiedName_0); - - - afterParserOrEnumRuleCall(); - - // InternalCftLanguage.g:1589:3: (kw= '.' kw= '*' )? - int alt28=2; - int LA28_0 = input.LA(1); - - if ( (LA28_0==38) ) { - alt28=1; - } - switch (alt28) { - case 1 : - // InternalCftLanguage.g:1590:4: kw= '.' kw= '*' - { - kw=(Token)match(input,38,FOLLOW_34); - - current.merge(kw); - newLeafNode(kw, grammarAccess.getQualifiedNameWithWildcardAccess().getFullStopKeyword_1_0()); - - kw=(Token)match(input,40,FOLLOW_2); - - current.merge(kw); - newLeafNode(kw, grammarAccess.getQualifiedNameWithWildcardAccess().getAsteriskKeyword_1_1()); - - - } - break; - - } - - - } - - - } - - - leaveRule(); - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleQualifiedNameWithWildcard" - - - // $ANTLR start "entryRuleValidId" - // InternalCftLanguage.g:1605:1: entryRuleValidId returns [String current=null] : iv_ruleValidId= ruleValidId EOF ; - public final String entryRuleValidId() throws RecognitionException { - String current = null; - - AntlrDatatypeRuleToken iv_ruleValidId = null; - - - try { - // InternalCftLanguage.g:1605:47: (iv_ruleValidId= ruleValidId EOF ) - // InternalCftLanguage.g:1606:2: iv_ruleValidId= ruleValidId EOF - { - newCompositeNode(grammarAccess.getValidIdRule()); - pushFollow(FOLLOW_1); - iv_ruleValidId=ruleValidId(); - - state._fsp--; - - current =iv_ruleValidId.getText(); - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleValidId" - - - // $ANTLR start "ruleValidId" - // InternalCftLanguage.g:1612:1: ruleValidId returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_ID_0= RULE_ID | this_OF_INT_1= RULE_OF_INT ) ; - public final AntlrDatatypeRuleToken ruleValidId() throws RecognitionException { - AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); - - Token this_ID_0=null; - Token this_OF_INT_1=null; - - - enterRule(); - - try { - // InternalCftLanguage.g:1618:2: ( (this_ID_0= RULE_ID | this_OF_INT_1= RULE_OF_INT ) ) - // InternalCftLanguage.g:1619:2: (this_ID_0= RULE_ID | this_OF_INT_1= RULE_OF_INT ) - { - // InternalCftLanguage.g:1619:2: (this_ID_0= RULE_ID | this_OF_INT_1= RULE_OF_INT ) - int alt29=2; - int LA29_0 = input.LA(1); - - if ( (LA29_0==RULE_ID) ) { - alt29=1; - } - else if ( (LA29_0==RULE_OF_INT) ) { - alt29=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 29, 0, input); - - throw nvae; - } - switch (alt29) { - case 1 : - // InternalCftLanguage.g:1620:3: this_ID_0= RULE_ID - { - this_ID_0=(Token)match(input,RULE_ID,FOLLOW_2); - - current.merge(this_ID_0); - - - newLeafNode(this_ID_0, grammarAccess.getValidIdAccess().getIDTerminalRuleCall_0()); - - - } - break; - case 2 : - // InternalCftLanguage.g:1628:3: this_OF_INT_1= RULE_OF_INT - { - this_OF_INT_1=(Token)match(input,RULE_OF_INT,FOLLOW_2); - - current.merge(this_OF_INT_1); - - - newLeafNode(this_OF_INT_1, grammarAccess.getValidIdAccess().getOF_INTTerminalRuleCall_1()); - - - } - break; - - } - - - } - - - leaveRule(); - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleValidId" - - - // $ANTLR start "entryRuleDouble" - // InternalCftLanguage.g:1639:1: entryRuleDouble returns [String current=null] : iv_ruleDouble= ruleDouble EOF ; - public final String entryRuleDouble() throws RecognitionException { - String current = null; - - AntlrDatatypeRuleToken iv_ruleDouble = null; - - - try { - // InternalCftLanguage.g:1639:46: (iv_ruleDouble= ruleDouble EOF ) - // InternalCftLanguage.g:1640:2: iv_ruleDouble= ruleDouble EOF - { - newCompositeNode(grammarAccess.getDoubleRule()); - pushFollow(FOLLOW_1); - iv_ruleDouble=ruleDouble(); - - state._fsp--; - - current =iv_ruleDouble.getText(); - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleDouble" - - - // $ANTLR start "ruleDouble" - // InternalCftLanguage.g:1646:1: ruleDouble returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_INT_0= RULE_INT | this_T_DOUBLE_1= RULE_T_DOUBLE ) ; - public final AntlrDatatypeRuleToken ruleDouble() throws RecognitionException { - AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); - - Token this_INT_0=null; - Token this_T_DOUBLE_1=null; - - - enterRule(); - - try { - // InternalCftLanguage.g:1652:2: ( (this_INT_0= RULE_INT | this_T_DOUBLE_1= RULE_T_DOUBLE ) ) - // InternalCftLanguage.g:1653:2: (this_INT_0= RULE_INT | this_T_DOUBLE_1= RULE_T_DOUBLE ) - { - // InternalCftLanguage.g:1653:2: (this_INT_0= RULE_INT | this_T_DOUBLE_1= RULE_T_DOUBLE ) - int alt30=2; - int LA30_0 = input.LA(1); - - if ( (LA30_0==RULE_INT) ) { - alt30=1; - } - else if ( (LA30_0==RULE_T_DOUBLE) ) { - alt30=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 30, 0, input); - - throw nvae; - } - switch (alt30) { - case 1 : - // InternalCftLanguage.g:1654:3: this_INT_0= RULE_INT - { - this_INT_0=(Token)match(input,RULE_INT,FOLLOW_2); - - current.merge(this_INT_0); - - - newLeafNode(this_INT_0, grammarAccess.getDoubleAccess().getINTTerminalRuleCall_0()); - - - } - break; - case 2 : - // InternalCftLanguage.g:1662:3: this_T_DOUBLE_1= RULE_T_DOUBLE - { - this_T_DOUBLE_1=(Token)match(input,RULE_T_DOUBLE,FOLLOW_2); - - current.merge(this_T_DOUBLE_1); - - - newLeafNode(this_T_DOUBLE_1, grammarAccess.getDoubleAccess().getT_DOUBLETerminalRuleCall_1()); - - - } - break; - - } - - - } - - - leaveRule(); - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleDouble" - - // Delegated rules - - - - - public static final BitSet FOLLOW_1 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_2 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_3 = new BitSet(new long[]{0x0000000000000060L}); - public static final BitSet FOLLOW_4 = new BitSet(new long[]{0x000000001001C002L}); - public static final BitSet FOLLOW_5 = new BitSet(new long[]{0x0000000010018002L}); - public static final BitSet FOLLOW_6 = new BitSet(new long[]{0x0000000010010002L}); - public static final BitSet FOLLOW_7 = new BitSet(new long[]{0x0000000000004002L}); - public static final BitSet FOLLOW_8 = new BitSet(new long[]{0x0000000000020000L}); - public static final BitSet FOLLOW_9 = new BitSet(new long[]{0x00000000001C0060L}); - public static final BitSet FOLLOW_10 = new BitSet(new long[]{0x0000000000004060L}); - public static final BitSet FOLLOW_11 = new BitSet(new long[]{0x0000000000004000L}); - public static final BitSet FOLLOW_12 = new BitSet(new long[]{0x0000000000100060L}); - public static final BitSet FOLLOW_13 = new BitSet(new long[]{0x0000000000200002L}); - public static final BitSet FOLLOW_14 = new BitSet(new long[]{0x0000000001400000L}); - public static final BitSet FOLLOW_15 = new BitSet(new long[]{0x0000000000800000L}); - public static final BitSet FOLLOW_16 = new BitSet(new long[]{0x0000000000000090L}); - public static final BitSet FOLLOW_17 = new BitSet(new long[]{0x0000000002000000L}); - public static final BitSet FOLLOW_18 = new BitSet(new long[]{0x0000000000000062L}); - public static final BitSet FOLLOW_19 = new BitSet(new long[]{0x0000000004000000L}); - public static final BitSet FOLLOW_20 = new BitSet(new long[]{0x0000000000000010L}); - public static final BitSet FOLLOW_21 = new BitSet(new long[]{0x0000000008000020L}); - public static final BitSet FOLLOW_22 = new BitSet(new long[]{0x0000000060100000L}); - public static final BitSet FOLLOW_23 = new BitSet(new long[]{0x0000000040000000L}); - public static final BitSet FOLLOW_24 = new BitSet(new long[]{0x0000000080000000L}); - public static final BitSet FOLLOW_25 = new BitSet(new long[]{0x0000000300000000L}); - public static final BitSet FOLLOW_26 = new BitSet(new long[]{0x0000008000020002L}); - public static final BitSet FOLLOW_27 = new BitSet(new long[]{0x0000000000020002L}); - public static final BitSet FOLLOW_28 = new BitSet(new long[]{0x0000000400100060L}); - public static final BitSet FOLLOW_29 = new BitSet(new long[]{0x0000000800000000L}); - public static final BitSet FOLLOW_30 = new BitSet(new long[]{0x0000003000000000L}); - public static final BitSet FOLLOW_31 = new BitSet(new long[]{0x0000000400000060L}); - public static final BitSet FOLLOW_32 = new BitSet(new long[]{0x0000004000000000L}); - public static final BitSet FOLLOW_33 = new BitSet(new long[]{0x0000004000000002L}); - public static final BitSet FOLLOW_34 = new BitSet(new long[]{0x0000010000000000L}); - -} diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/scoping/AbstractCftLanguageScopeProvider.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/scoping/AbstractCftLanguageScopeProvider.java deleted file mode 100644 index def0ebe9..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/scoping/AbstractCftLanguageScopeProvider.java +++ /dev/null @@ -1,9 +0,0 @@ -/* - * generated by Xtext 2.16.0 - */ -package hu.bme.mit.inf.dslreasoner.faulttree.components.scoping; - -import org.eclipse.xtext.scoping.impl.DelegatingScopeProvider; - -public abstract class AbstractCftLanguageScopeProvider extends DelegatingScopeProvider { -} diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/serializer/CftLanguageSemanticSequencer.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/serializer/CftLanguageSemanticSequencer.java deleted file mode 100644 index fe329903..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/serializer/CftLanguageSemanticSequencer.java +++ /dev/null @@ -1,383 +0,0 @@ -/* - * generated by Xtext 2.16.0 - */ -package hu.bme.mit.inf.dslreasoner.faulttree.components.serializer; - -import com.google.inject.Inject; -import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.Assignment; -import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage; -import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftModel; -import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.ComponentInstance; -import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.EventReference; -import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.ImportDeclaration; -import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.LookupDefinition; -import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingDefinition; -import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingParameter; -import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.TransformationDefinition; -import hu.bme.mit.inf.dslreasoner.faulttree.components.services.CftLanguageGrammarAccess; -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.AndGateDefinition; -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.BasicEventDefinition; -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage; -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentDefinition; -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.InputEvent; -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.KOfMGateDefinition; -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.OrGateDefinition; -import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ConstantDistribution; -import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ExponentialDistribution; -import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtPackage; -import java.util.Set; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.xtext.Action; -import org.eclipse.xtext.Parameter; -import org.eclipse.xtext.ParserRule; -import org.eclipse.xtext.serializer.ISerializationContext; -import org.eclipse.xtext.serializer.acceptor.SequenceFeeder; -import org.eclipse.xtext.serializer.sequencer.AbstractDelegatingSemanticSequencer; -import org.eclipse.xtext.serializer.sequencer.ITransientValueService.ValueTransient; - -@SuppressWarnings("all") -public class CftLanguageSemanticSequencer extends AbstractDelegatingSemanticSequencer { - - @Inject - private CftLanguageGrammarAccess grammarAccess; - - @Override - public void sequence(ISerializationContext context, EObject semanticObject) { - EPackage epackage = semanticObject.eClass().getEPackage(); - ParserRule rule = context.getParserRule(); - Action action = context.getAssignedAction(); - Set parameters = context.getEnabledBooleanParameters(); - if (epackage == CftPackage.eINSTANCE) - switch (semanticObject.eClass().getClassifierID()) { - case CftPackage.AND_GATE_DEFINITION: - sequence_AndGateDefinition(context, (AndGateDefinition) semanticObject); - return; - case CftPackage.BASIC_EVENT_DEFINITION: - sequence_BasicEventDefinition(context, (BasicEventDefinition) semanticObject); - return; - case CftPackage.COMPONENT_DEFINITION: - sequence_ComponentDefinition(context, (ComponentDefinition) semanticObject); - return; - case CftPackage.INPUT_EVENT: - sequence_InputEvent(context, (InputEvent) semanticObject); - return; - case CftPackage.KOF_MGATE_DEFINITION: - sequence_KOfMGateDefinition(context, (KOfMGateDefinition) semanticObject); - return; - case CftPackage.OR_GATE_DEFINITION: - sequence_OrGateDefinition(context, (OrGateDefinition) semanticObject); - return; - } - else if (epackage == CftLanguagePackage.eINSTANCE) - switch (semanticObject.eClass().getClassifierID()) { - case CftLanguagePackage.ASSIGNMENT: - sequence_Assignment(context, (Assignment) semanticObject); - return; - case CftLanguagePackage.CFT_MODEL: - sequence_CftModel(context, (CftModel) semanticObject); - return; - case CftLanguagePackage.COMPONENT_INSTANCE: - sequence_ComponentInstance(context, (ComponentInstance) semanticObject); - return; - case CftLanguagePackage.EVENT_REFERENCE: - sequence_EventReference(context, (EventReference) semanticObject); - return; - case CftLanguagePackage.IMPORT_DECLARATION: - sequence_ImportDeclaration(context, (ImportDeclaration) semanticObject); - return; - case CftLanguagePackage.LOOKUP_DEFINITION: - sequence_LookupDefinition(context, (LookupDefinition) semanticObject); - return; - case CftLanguagePackage.MAPPING_DEFINITION: - sequence_MappingDefinition(context, (MappingDefinition) semanticObject); - return; - case CftLanguagePackage.MAPPING_PARAMETER: - sequence_MappingParameter(context, (MappingParameter) semanticObject); - return; - case CftLanguagePackage.TRANSFORMATION_DEFINITION: - sequence_TransformationDefinition(context, (TransformationDefinition) semanticObject); - return; - } - else if (epackage == FtPackage.eINSTANCE) - switch (semanticObject.eClass().getClassifierID()) { - case FtPackage.CONSTANT_DISTRIBUTION: - sequence_ConstantDistribution(context, (ConstantDistribution) semanticObject); - return; - case FtPackage.EXPONENTIAL_DISTRIBUTION: - sequence_ExponentialDistribution(context, (ExponentialDistribution) semanticObject); - return; - } - if (errorAcceptor != null) - errorAcceptor.accept(diagnosticProvider.createInvalidContextOrTypeDiagnostic(semanticObject, context)); - } - - /** - * Contexts: - * EventDefinition returns AndGateDefinition - * GateDefinition returns AndGateDefinition - * AndGateDefinition returns AndGateDefinition - * - * Constraint: - * (name=ValidId inputEvents+=[EventDeclaration|ValidId]*) - */ - protected void sequence_AndGateDefinition(ISerializationContext context, AndGateDefinition semanticObject) { - genericSequencer.createSequence(context, semanticObject); - } - - - /** - * Contexts: - * Assignment returns Assignment - * - * Constraint: - * (input=EventReference multiple?='+='? output=EventReference) - */ - protected void sequence_Assignment(ISerializationContext context, Assignment semanticObject) { - genericSequencer.createSequence(context, semanticObject); - } - - - /** - * Contexts: - * EventDefinition returns BasicEventDefinition - * BasicEventDefinition returns BasicEventDefinition - * - * Constraint: - * (name=ValidId distribution=Distribution) - */ - protected void sequence_BasicEventDefinition(ISerializationContext context, BasicEventDefinition semanticObject) { - if (errorAcceptor != null) { - if (transientValues.isValueTransient(semanticObject, CftPackage.Literals.EVENT_DECLARATION__NAME) == ValueTransient.YES) - errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, CftPackage.Literals.EVENT_DECLARATION__NAME)); - if (transientValues.isValueTransient(semanticObject, CftPackage.Literals.BASIC_EVENT_DEFINITION__DISTRIBUTION) == ValueTransient.YES) - errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, CftPackage.Literals.BASIC_EVENT_DEFINITION__DISTRIBUTION)); - } - SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); - feeder.accept(grammarAccess.getBasicEventDefinitionAccess().getNameValidIdParserRuleCall_0_0(), semanticObject.getName()); - feeder.accept(grammarAccess.getBasicEventDefinitionAccess().getDistributionDistributionParserRuleCall_1_0(), semanticObject.getDistribution()); - feeder.finish(); - } - - - /** - * Contexts: - * CftModel returns CftModel - * - * Constraint: - * ( - * packageName=QualifiedName - * imports+=ImportDeclaration* - * (componentDefinitions+=ComponentDefinition | transformationDefinitions+=TransformationDefinition)* - * ) - */ - protected void sequence_CftModel(ISerializationContext context, CftModel semanticObject) { - genericSequencer.createSequence(context, semanticObject); - } - - - /** - * Contexts: - * ComponentDefinition returns ComponentDefinition - * - * Constraint: - * (name=ValidId (inputEvents+=InputEvent | outputEvents+=[EventDeclaration|ValidId])* eventDefinitions+=EventDefinition*) - */ - protected void sequence_ComponentDefinition(ISerializationContext context, ComponentDefinition semanticObject) { - genericSequencer.createSequence(context, semanticObject); - } - - - /** - * Contexts: - * Variable returns ComponentInstance - * ComponentInstance returns ComponentInstance - * - * Constraint: - * (componentType=[ComponentDefinition|QualifiedName] name=ValidId?) - */ - protected void sequence_ComponentInstance(ISerializationContext context, ComponentInstance semanticObject) { - genericSequencer.createSequence(context, semanticObject); - } - - - /** - * Contexts: - * Distribution returns ConstantDistribution - * ConstantDistribution returns ConstantDistribution - * - * Constraint: - * p=Double - */ - protected void sequence_ConstantDistribution(ISerializationContext context, ConstantDistribution semanticObject) { - if (errorAcceptor != null) { - if (transientValues.isValueTransient(semanticObject, FtPackage.Literals.CONSTANT_DISTRIBUTION__P) == ValueTransient.YES) - errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, FtPackage.Literals.CONSTANT_DISTRIBUTION__P)); - } - SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); - feeder.accept(grammarAccess.getConstantDistributionAccess().getPDoubleParserRuleCall_2_0(), semanticObject.getP()); - feeder.finish(); - } - - - /** - * Contexts: - * EventReference returns EventReference - * - * Constraint: - * (component=[Variable|ValidId] event=[EventDeclaration|ValidId]) - */ - protected void sequence_EventReference(ISerializationContext context, EventReference semanticObject) { - if (errorAcceptor != null) { - if (transientValues.isValueTransient(semanticObject, CftLanguagePackage.Literals.EVENT_REFERENCE__COMPONENT) == ValueTransient.YES) - errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, CftLanguagePackage.Literals.EVENT_REFERENCE__COMPONENT)); - if (transientValues.isValueTransient(semanticObject, CftLanguagePackage.Literals.EVENT_REFERENCE__EVENT) == ValueTransient.YES) - errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, CftLanguagePackage.Literals.EVENT_REFERENCE__EVENT)); - } - SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); - feeder.accept(grammarAccess.getEventReferenceAccess().getComponentVariableValidIdParserRuleCall_0_0_1(), semanticObject.eGet(CftLanguagePackage.Literals.EVENT_REFERENCE__COMPONENT, false)); - feeder.accept(grammarAccess.getEventReferenceAccess().getEventEventDeclarationValidIdParserRuleCall_2_0_1(), semanticObject.eGet(CftLanguagePackage.Literals.EVENT_REFERENCE__EVENT, false)); - feeder.finish(); - } - - - /** - * Contexts: - * Distribution returns ExponentialDistribution - * ExponentialDistribution returns ExponentialDistribution - * - * Constraint: - * lambda=Double - */ - protected void sequence_ExponentialDistribution(ISerializationContext context, ExponentialDistribution semanticObject) { - if (errorAcceptor != null) { - if (transientValues.isValueTransient(semanticObject, FtPackage.Literals.EXPONENTIAL_DISTRIBUTION__LAMBDA) == ValueTransient.YES) - errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, FtPackage.Literals.EXPONENTIAL_DISTRIBUTION__LAMBDA)); - } - SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); - feeder.accept(grammarAccess.getExponentialDistributionAccess().getLambdaDoubleParserRuleCall_2_0(), semanticObject.getLambda()); - feeder.finish(); - } - - - /** - * Contexts: - * ImportDeclaration returns ImportDeclaration - * - * Constraint: - * importedNamespace=QualifiedNameWithWildcard - */ - protected void sequence_ImportDeclaration(ISerializationContext context, ImportDeclaration semanticObject) { - if (errorAcceptor != null) { - if (transientValues.isValueTransient(semanticObject, CftLanguagePackage.Literals.IMPORT_DECLARATION__IMPORTED_NAMESPACE) == ValueTransient.YES) - errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, CftLanguagePackage.Literals.IMPORT_DECLARATION__IMPORTED_NAMESPACE)); - } - SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); - feeder.accept(grammarAccess.getImportDeclarationAccess().getImportedNamespaceQualifiedNameWithWildcardParserRuleCall_1_0(), semanticObject.getImportedNamespace()); - feeder.finish(); - } - - - /** - * Contexts: - * InputEvent returns InputEvent - * - * Constraint: - * (name=ValidId multiple?='[]'?) - */ - protected void sequence_InputEvent(ISerializationContext context, InputEvent semanticObject) { - genericSequencer.createSequence(context, semanticObject); - } - - - /** - * Contexts: - * EventDefinition returns KOfMGateDefinition - * GateDefinition returns KOfMGateDefinition - * KOfMGateDefinition returns KOfMGateDefinition - * - * Constraint: - * (name=ValidId k=INT (m=INT | m=OF_INT) inputEvents+=[EventDeclaration|ValidId]*) - */ - protected void sequence_KOfMGateDefinition(ISerializationContext context, KOfMGateDefinition semanticObject) { - genericSequencer.createSequence(context, semanticObject); - } - - - /** - * Contexts: - * LookupDefinition returns LookupDefinition - * Variable returns LookupDefinition - * - * Constraint: - * (mapping=[MappingDefinition|QualifiedName] arguments+=[MappingParameter|ValidId] arguments+=[MappingParameter|ValidId]* name=ValidId) - */ - protected void sequence_LookupDefinition(ISerializationContext context, LookupDefinition semanticObject) { - genericSequencer.createSequence(context, semanticObject); - } - - - /** - * Contexts: - * MappingDefinition returns MappingDefinition - * - * Constraint: - * ( - * topLevel?='toplevel'? - * pattern=[Pattern|QualifiedName] - * parameters+=MappingParameter - * parameters+=MappingParameter* - * componentInstance=ComponentInstance? - * (lookupDefinitions+=LookupDefinition | assignments+=Assignment)* - * ) - */ - protected void sequence_MappingDefinition(ISerializationContext context, MappingDefinition semanticObject) { - genericSequencer.createSequence(context, semanticObject); - } - - - /** - * Contexts: - * MappingParameter returns MappingParameter - * - * Constraint: - * name=ValidId - */ - protected void sequence_MappingParameter(ISerializationContext context, MappingParameter semanticObject) { - if (errorAcceptor != null) { - if (transientValues.isValueTransient(semanticObject, CftLanguagePackage.Literals.MAPPING_PARAMETER__NAME) == ValueTransient.YES) - errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, CftLanguagePackage.Literals.MAPPING_PARAMETER__NAME)); - } - SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); - feeder.accept(grammarAccess.getMappingParameterAccess().getNameValidIdParserRuleCall_0(), semanticObject.getName()); - feeder.finish(); - } - - - /** - * Contexts: - * EventDefinition returns OrGateDefinition - * GateDefinition returns OrGateDefinition - * OrGateDefinition returns OrGateDefinition - * - * Constraint: - * (name=ValidId inputEvents+=[EventDeclaration|ValidId]*) - */ - protected void sequence_OrGateDefinition(ISerializationContext context, OrGateDefinition semanticObject) { - genericSequencer.createSequence(context, semanticObject); - } - - - /** - * Contexts: - * TransformationDefinition returns TransformationDefinition - * - * Constraint: - * (name=ValidId mappingDefinitions+=MappingDefinition*) - */ - protected void sequence_TransformationDefinition(ISerializationContext context, TransformationDefinition semanticObject) { - genericSequencer.createSequence(context, semanticObject); - } - - -} diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/serializer/CftLanguageSyntacticSequencer.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/serializer/CftLanguageSyntacticSequencer.java deleted file mode 100644 index 62a80a00..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/serializer/CftLanguageSyntacticSequencer.java +++ /dev/null @@ -1,242 +0,0 @@ -/* - * generated by Xtext 2.16.0 - */ -package hu.bme.mit.inf.dslreasoner.faulttree.components.serializer; - -import com.google.inject.Inject; -import hu.bme.mit.inf.dslreasoner.faulttree.components.services.CftLanguageGrammarAccess; -import java.util.List; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.xtext.IGrammarAccess; -import org.eclipse.xtext.RuleCall; -import org.eclipse.xtext.nodemodel.INode; -import org.eclipse.xtext.serializer.analysis.GrammarAlias.AbstractElementAlias; -import org.eclipse.xtext.serializer.analysis.GrammarAlias.AlternativeAlias; -import org.eclipse.xtext.serializer.analysis.GrammarAlias.GroupAlias; -import org.eclipse.xtext.serializer.analysis.GrammarAlias.TokenAlias; -import org.eclipse.xtext.serializer.analysis.ISyntacticSequencerPDAProvider.ISynNavigable; -import org.eclipse.xtext.serializer.analysis.ISyntacticSequencerPDAProvider.ISynTransition; -import org.eclipse.xtext.serializer.sequencer.AbstractSyntacticSequencer; - -@SuppressWarnings("all") -public class CftLanguageSyntacticSequencer extends AbstractSyntacticSequencer { - - protected CftLanguageGrammarAccess grammarAccess; - protected AbstractElementAlias match_CftModel_SemicolonKeyword_2_q; - protected AbstractElementAlias match_ComponentDefinition___InKeyword_3_0_0_SemicolonKeyword_3_0_2___OutKeyword_3_1_0_SemicolonKeyword_3_1_2__a__a; - protected AbstractElementAlias match_ComponentDefinition___InKeyword_3_0_0_SemicolonKeyword_3_0_2__a; - protected AbstractElementAlias match_ComponentDefinition___OutKeyword_3_1_0_SemicolonKeyword_3_1_2___InKeyword_3_0_0_SemicolonKeyword_3_0_2__a__a; - protected AbstractElementAlias match_ComponentDefinition___OutKeyword_3_1_0_SemicolonKeyword_3_1_2__a; - protected AbstractElementAlias match_ComponentDefinition___SemicolonKeyword_3_0_2___OutKeyword_3_1_0_SemicolonKeyword_3_1_2__a_InKeyword_3_0_0__a; - protected AbstractElementAlias match_ComponentDefinition___SemicolonKeyword_3_1_2___InKeyword_3_0_0_SemicolonKeyword_3_0_2__a_OutKeyword_3_1_0__a; - protected AbstractElementAlias match_ComponentDefinition_____InKeyword_3_0_0_SemicolonKeyword_3_0_2___or___OutKeyword_3_1_0_SemicolonKeyword_3_1_2____a; - protected AbstractElementAlias match_ComponentDefinition_____InKeyword_3_0_0_SemicolonKeyword_3_0_2__q___InKeyword_3_0_0_SemicolonKeyword_3_0_2_OutKeyword_3_1_0_SemicolonKeyword_3_1_2__q__p; - protected AbstractElementAlias match_ComponentDefinition_____OutKeyword_3_1_0_SemicolonKeyword_3_1_2__q___OutKeyword_3_1_0_SemicolonKeyword_3_1_2_InKeyword_3_0_0_SemicolonKeyword_3_0_2__q__p; - protected AbstractElementAlias match_ImportDeclaration_SemicolonKeyword_2_q; - protected AbstractElementAlias match_MappingDefinition___LeftCurlyBracketKeyword_8_0_RightCurlyBracketKeyword_8_2__q; - - @Inject - protected void init(IGrammarAccess access) { - grammarAccess = (CftLanguageGrammarAccess) access; - match_CftModel_SemicolonKeyword_2_q = new TokenAlias(false, true, grammarAccess.getCftModelAccess().getSemicolonKeyword_2()); - match_ComponentDefinition___InKeyword_3_0_0_SemicolonKeyword_3_0_2___OutKeyword_3_1_0_SemicolonKeyword_3_1_2__a__a = new GroupAlias(true, true, new TokenAlias(false, false, grammarAccess.getComponentDefinitionAccess().getInKeyword_3_0_0()), new TokenAlias(false, false, grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_3_0_2()), new GroupAlias(true, true, new TokenAlias(false, false, grammarAccess.getComponentDefinitionAccess().getOutKeyword_3_1_0()), new TokenAlias(false, false, grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_3_1_2()))); - match_ComponentDefinition___InKeyword_3_0_0_SemicolonKeyword_3_0_2__a = new GroupAlias(true, true, new TokenAlias(false, false, grammarAccess.getComponentDefinitionAccess().getInKeyword_3_0_0()), new TokenAlias(false, false, grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_3_0_2())); - match_ComponentDefinition___OutKeyword_3_1_0_SemicolonKeyword_3_1_2___InKeyword_3_0_0_SemicolonKeyword_3_0_2__a__a = new GroupAlias(true, true, new TokenAlias(false, false, grammarAccess.getComponentDefinitionAccess().getOutKeyword_3_1_0()), new TokenAlias(false, false, grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_3_1_2()), new GroupAlias(true, true, new TokenAlias(false, false, grammarAccess.getComponentDefinitionAccess().getInKeyword_3_0_0()), new TokenAlias(false, false, grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_3_0_2()))); - match_ComponentDefinition___OutKeyword_3_1_0_SemicolonKeyword_3_1_2__a = new GroupAlias(true, true, new TokenAlias(false, false, grammarAccess.getComponentDefinitionAccess().getOutKeyword_3_1_0()), new TokenAlias(false, false, grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_3_1_2())); - match_ComponentDefinition___SemicolonKeyword_3_0_2___OutKeyword_3_1_0_SemicolonKeyword_3_1_2__a_InKeyword_3_0_0__a = new GroupAlias(true, true, new TokenAlias(false, false, grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_3_0_2()), new GroupAlias(true, true, new TokenAlias(false, false, grammarAccess.getComponentDefinitionAccess().getOutKeyword_3_1_0()), new TokenAlias(false, false, grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_3_1_2())), new TokenAlias(false, false, grammarAccess.getComponentDefinitionAccess().getInKeyword_3_0_0())); - match_ComponentDefinition___SemicolonKeyword_3_1_2___InKeyword_3_0_0_SemicolonKeyword_3_0_2__a_OutKeyword_3_1_0__a = new GroupAlias(true, true, new TokenAlias(false, false, grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_3_1_2()), new GroupAlias(true, true, new TokenAlias(false, false, grammarAccess.getComponentDefinitionAccess().getInKeyword_3_0_0()), new TokenAlias(false, false, grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_3_0_2())), new TokenAlias(false, false, grammarAccess.getComponentDefinitionAccess().getOutKeyword_3_1_0())); - match_ComponentDefinition_____InKeyword_3_0_0_SemicolonKeyword_3_0_2___or___OutKeyword_3_1_0_SemicolonKeyword_3_1_2____a = new AlternativeAlias(true, true, new GroupAlias(false, false, new TokenAlias(false, false, grammarAccess.getComponentDefinitionAccess().getInKeyword_3_0_0()), new TokenAlias(false, false, grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_3_0_2())), new GroupAlias(false, false, new TokenAlias(false, false, grammarAccess.getComponentDefinitionAccess().getOutKeyword_3_1_0()), new TokenAlias(false, false, grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_3_1_2()))); - match_ComponentDefinition_____InKeyword_3_0_0_SemicolonKeyword_3_0_2__q___InKeyword_3_0_0_SemicolonKeyword_3_0_2_OutKeyword_3_1_0_SemicolonKeyword_3_1_2__q__p = new GroupAlias(true, false, new GroupAlias(false, true, new TokenAlias(false, false, grammarAccess.getComponentDefinitionAccess().getInKeyword_3_0_0()), new TokenAlias(false, false, grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_3_0_2())), new GroupAlias(false, true, new TokenAlias(false, false, grammarAccess.getComponentDefinitionAccess().getInKeyword_3_0_0()), new TokenAlias(false, false, grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_3_0_2()), new TokenAlias(false, false, grammarAccess.getComponentDefinitionAccess().getOutKeyword_3_1_0()), new TokenAlias(false, false, grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_3_1_2()))); - match_ComponentDefinition_____OutKeyword_3_1_0_SemicolonKeyword_3_1_2__q___OutKeyword_3_1_0_SemicolonKeyword_3_1_2_InKeyword_3_0_0_SemicolonKeyword_3_0_2__q__p = new GroupAlias(true, false, new GroupAlias(false, true, new TokenAlias(false, false, grammarAccess.getComponentDefinitionAccess().getOutKeyword_3_1_0()), new TokenAlias(false, false, grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_3_1_2())), new GroupAlias(false, true, new TokenAlias(false, false, grammarAccess.getComponentDefinitionAccess().getOutKeyword_3_1_0()), new TokenAlias(false, false, grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_3_1_2()), new TokenAlias(false, false, grammarAccess.getComponentDefinitionAccess().getInKeyword_3_0_0()), new TokenAlias(false, false, grammarAccess.getComponentDefinitionAccess().getSemicolonKeyword_3_0_2()))); - match_ImportDeclaration_SemicolonKeyword_2_q = new TokenAlias(false, true, grammarAccess.getImportDeclarationAccess().getSemicolonKeyword_2()); - match_MappingDefinition___LeftCurlyBracketKeyword_8_0_RightCurlyBracketKeyword_8_2__q = new GroupAlias(false, true, new TokenAlias(false, false, grammarAccess.getMappingDefinitionAccess().getLeftCurlyBracketKeyword_8_0()), new TokenAlias(false, false, grammarAccess.getMappingDefinitionAccess().getRightCurlyBracketKeyword_8_2())); - } - - @Override - protected String getUnassignedRuleCallToken(EObject semanticObject, RuleCall ruleCall, INode node) { - return ""; - } - - - @Override - protected void emitUnassignedTokens(EObject semanticObject, ISynTransition transition, INode fromNode, INode toNode) { - if (transition.getAmbiguousSyntaxes().isEmpty()) return; - List transitionNodes = collectNodes(fromNode, toNode); - for (AbstractElementAlias syntax : transition.getAmbiguousSyntaxes()) { - List syntaxNodes = getNodesFor(transitionNodes, syntax); - if (match_CftModel_SemicolonKeyword_2_q.equals(syntax)) - emit_CftModel_SemicolonKeyword_2_q(semanticObject, getLastNavigableState(), syntaxNodes); - else if (match_ComponentDefinition___InKeyword_3_0_0_SemicolonKeyword_3_0_2___OutKeyword_3_1_0_SemicolonKeyword_3_1_2__a__a.equals(syntax)) - emit_ComponentDefinition___InKeyword_3_0_0_SemicolonKeyword_3_0_2___OutKeyword_3_1_0_SemicolonKeyword_3_1_2__a__a(semanticObject, getLastNavigableState(), syntaxNodes); - else if (match_ComponentDefinition___InKeyword_3_0_0_SemicolonKeyword_3_0_2__a.equals(syntax)) - emit_ComponentDefinition___InKeyword_3_0_0_SemicolonKeyword_3_0_2__a(semanticObject, getLastNavigableState(), syntaxNodes); - else if (match_ComponentDefinition___OutKeyword_3_1_0_SemicolonKeyword_3_1_2___InKeyword_3_0_0_SemicolonKeyword_3_0_2__a__a.equals(syntax)) - emit_ComponentDefinition___OutKeyword_3_1_0_SemicolonKeyword_3_1_2___InKeyword_3_0_0_SemicolonKeyword_3_0_2__a__a(semanticObject, getLastNavigableState(), syntaxNodes); - else if (match_ComponentDefinition___OutKeyword_3_1_0_SemicolonKeyword_3_1_2__a.equals(syntax)) - emit_ComponentDefinition___OutKeyword_3_1_0_SemicolonKeyword_3_1_2__a(semanticObject, getLastNavigableState(), syntaxNodes); - else if (match_ComponentDefinition___SemicolonKeyword_3_0_2___OutKeyword_3_1_0_SemicolonKeyword_3_1_2__a_InKeyword_3_0_0__a.equals(syntax)) - emit_ComponentDefinition___SemicolonKeyword_3_0_2___OutKeyword_3_1_0_SemicolonKeyword_3_1_2__a_InKeyword_3_0_0__a(semanticObject, getLastNavigableState(), syntaxNodes); - else if (match_ComponentDefinition___SemicolonKeyword_3_1_2___InKeyword_3_0_0_SemicolonKeyword_3_0_2__a_OutKeyword_3_1_0__a.equals(syntax)) - emit_ComponentDefinition___SemicolonKeyword_3_1_2___InKeyword_3_0_0_SemicolonKeyword_3_0_2__a_OutKeyword_3_1_0__a(semanticObject, getLastNavigableState(), syntaxNodes); - else if (match_ComponentDefinition_____InKeyword_3_0_0_SemicolonKeyword_3_0_2___or___OutKeyword_3_1_0_SemicolonKeyword_3_1_2____a.equals(syntax)) - emit_ComponentDefinition_____InKeyword_3_0_0_SemicolonKeyword_3_0_2___or___OutKeyword_3_1_0_SemicolonKeyword_3_1_2____a(semanticObject, getLastNavigableState(), syntaxNodes); - else if (match_ComponentDefinition_____InKeyword_3_0_0_SemicolonKeyword_3_0_2__q___InKeyword_3_0_0_SemicolonKeyword_3_0_2_OutKeyword_3_1_0_SemicolonKeyword_3_1_2__q__p.equals(syntax)) - emit_ComponentDefinition_____InKeyword_3_0_0_SemicolonKeyword_3_0_2__q___InKeyword_3_0_0_SemicolonKeyword_3_0_2_OutKeyword_3_1_0_SemicolonKeyword_3_1_2__q__p(semanticObject, getLastNavigableState(), syntaxNodes); - else if (match_ComponentDefinition_____OutKeyword_3_1_0_SemicolonKeyword_3_1_2__q___OutKeyword_3_1_0_SemicolonKeyword_3_1_2_InKeyword_3_0_0_SemicolonKeyword_3_0_2__q__p.equals(syntax)) - emit_ComponentDefinition_____OutKeyword_3_1_0_SemicolonKeyword_3_1_2__q___OutKeyword_3_1_0_SemicolonKeyword_3_1_2_InKeyword_3_0_0_SemicolonKeyword_3_0_2__q__p(semanticObject, getLastNavigableState(), syntaxNodes); - else if (match_ImportDeclaration_SemicolonKeyword_2_q.equals(syntax)) - emit_ImportDeclaration_SemicolonKeyword_2_q(semanticObject, getLastNavigableState(), syntaxNodes); - else if (match_MappingDefinition___LeftCurlyBracketKeyword_8_0_RightCurlyBracketKeyword_8_2__q.equals(syntax)) - emit_MappingDefinition___LeftCurlyBracketKeyword_8_0_RightCurlyBracketKeyword_8_2__q(semanticObject, getLastNavigableState(), syntaxNodes); - else acceptNodes(getLastNavigableState(), syntaxNodes); - } - } - - /** - * Ambiguous syntax: - * ';'? - * - * This ambiguous syntax occurs at: - * packageName=QualifiedName (ambiguity) (rule end) - * packageName=QualifiedName (ambiguity) componentDefinitions+=ComponentDefinition - * packageName=QualifiedName (ambiguity) imports+=ImportDeclaration - * packageName=QualifiedName (ambiguity) transformationDefinitions+=TransformationDefinition - */ - protected void emit_CftModel_SemicolonKeyword_2_q(EObject semanticObject, ISynNavigable transition, List nodes) { - acceptNodes(transition, nodes); - } - - /** - * Ambiguous syntax: - * ('in' ';' ('out' ';')*)* - * - * This ambiguous syntax occurs at: - * inputEvents+=InputEvent ';' ('out' ';')* (ambiguity) '}' (rule end) - * inputEvents+=InputEvent ';' ('out' ';')* (ambiguity) eventDefinitions+=EventDefinition - */ - protected void emit_ComponentDefinition___InKeyword_3_0_0_SemicolonKeyword_3_0_2___OutKeyword_3_1_0_SemicolonKeyword_3_1_2__a__a(EObject semanticObject, ISynNavigable transition, List nodes) { - acceptNodes(transition, nodes); - } - - /** - * Ambiguous syntax: - * ('in' ';')* - * - * This ambiguous syntax occurs at: - * inputEvents+=InputEvent ';' (ambiguity) (('out' ';')? ('out' ';' 'in' ';')?)+ 'out' outputEvents+=[EventDeclaration|ValidId] - * name=ValidId '{' (ambiguity) 'out' (';' (ambiguity) 'out')* outputEvents+=[EventDeclaration|ValidId] - * outputEvents+=[EventDeclaration|ValidId] ';' (ambiguity) ('out' ';' (ambiguity))* '}' (rule end) - * outputEvents+=[EventDeclaration|ValidId] ';' (ambiguity) ('out' ';' (ambiguity))* eventDefinitions+=EventDefinition - */ - protected void emit_ComponentDefinition___InKeyword_3_0_0_SemicolonKeyword_3_0_2__a(EObject semanticObject, ISynNavigable transition, List nodes) { - acceptNodes(transition, nodes); - } - - /** - * Ambiguous syntax: - * ('out' ';' ('in' ';')*)* - * - * This ambiguous syntax occurs at: - * outputEvents+=[EventDeclaration|ValidId] ';' ('in' ';')* (ambiguity) '}' (rule end) - * outputEvents+=[EventDeclaration|ValidId] ';' ('in' ';')* (ambiguity) eventDefinitions+=EventDefinition - */ - protected void emit_ComponentDefinition___OutKeyword_3_1_0_SemicolonKeyword_3_1_2___InKeyword_3_0_0_SemicolonKeyword_3_0_2__a__a(EObject semanticObject, ISynNavigable transition, List nodes) { - acceptNodes(transition, nodes); - } - - /** - * Ambiguous syntax: - * ('out' ';')* - * - * This ambiguous syntax occurs at: - * inputEvents+=InputEvent ';' (ambiguity) ('in' ';' (ambiguity))* '}' (rule end) - * inputEvents+=InputEvent ';' (ambiguity) ('in' ';' (ambiguity))* eventDefinitions+=EventDefinition - * name=ValidId '{' (ambiguity) 'in' (';' (ambiguity) 'in')* inputEvents+=InputEvent - * outputEvents+=[EventDeclaration|ValidId] ';' (ambiguity) (('in' ';')? ('in' ';' 'out' ';')?)+ 'in' inputEvents+=InputEvent - */ - protected void emit_ComponentDefinition___OutKeyword_3_1_0_SemicolonKeyword_3_1_2__a(EObject semanticObject, ISynNavigable transition, List nodes) { - acceptNodes(transition, nodes); - } - - /** - * Ambiguous syntax: - * (';' ('out' ';')* 'in')* - * - * This ambiguous syntax occurs at: - * inputEvents+=InputEvent (ambiguity) inputEvents+=InputEvent - * name=ValidId '{' ('out' ';')* 'in' (ambiguity) inputEvents+=InputEvent - */ - protected void emit_ComponentDefinition___SemicolonKeyword_3_0_2___OutKeyword_3_1_0_SemicolonKeyword_3_1_2__a_InKeyword_3_0_0__a(EObject semanticObject, ISynNavigable transition, List nodes) { - acceptNodes(transition, nodes); - } - - /** - * Ambiguous syntax: - * (';' ('in' ';')* 'out')* - * - * This ambiguous syntax occurs at: - * name=ValidId '{' ('in' ';')* 'out' (ambiguity) outputEvents+=[EventDeclaration|ValidId] - * outputEvents+=[EventDeclaration|ValidId] (ambiguity) outputEvents+=[EventDeclaration|ValidId] - */ - protected void emit_ComponentDefinition___SemicolonKeyword_3_1_2___InKeyword_3_0_0_SemicolonKeyword_3_0_2__a_OutKeyword_3_1_0__a(EObject semanticObject, ISynNavigable transition, List nodes) { - acceptNodes(transition, nodes); - } - - /** - * Ambiguous syntax: - * (('in' ';') | ('out' ';'))* - * - * This ambiguous syntax occurs at: - * name=ValidId '{' (ambiguity) '}' (rule end) - * name=ValidId '{' (ambiguity) eventDefinitions+=EventDefinition - */ - protected void emit_ComponentDefinition_____InKeyword_3_0_0_SemicolonKeyword_3_0_2___or___OutKeyword_3_1_0_SemicolonKeyword_3_1_2____a(EObject semanticObject, ISynNavigable transition, List nodes) { - acceptNodes(transition, nodes); - } - - /** - * Ambiguous syntax: - * (('in' ';')? ('in' ';' 'out' ';')?)+ - * - * This ambiguous syntax occurs at: - * outputEvents+=[EventDeclaration|ValidId] ';' ('out' ';')* (ambiguity) 'in' inputEvents+=InputEvent - */ - protected void emit_ComponentDefinition_____InKeyword_3_0_0_SemicolonKeyword_3_0_2__q___InKeyword_3_0_0_SemicolonKeyword_3_0_2_OutKeyword_3_1_0_SemicolonKeyword_3_1_2__q__p(EObject semanticObject, ISynNavigable transition, List nodes) { - acceptNodes(transition, nodes); - } - - /** - * Ambiguous syntax: - * (('out' ';')? ('out' ';' 'in' ';')?)+ - * - * This ambiguous syntax occurs at: - * inputEvents+=InputEvent ';' ('in' ';')* (ambiguity) 'out' outputEvents+=[EventDeclaration|ValidId] - */ - protected void emit_ComponentDefinition_____OutKeyword_3_1_0_SemicolonKeyword_3_1_2__q___OutKeyword_3_1_0_SemicolonKeyword_3_1_2_InKeyword_3_0_0_SemicolonKeyword_3_0_2__q__p(EObject semanticObject, ISynNavigable transition, List nodes) { - acceptNodes(transition, nodes); - } - - /** - * Ambiguous syntax: - * ';'? - * - * This ambiguous syntax occurs at: - * importedNamespace=QualifiedNameWithWildcard (ambiguity) (rule end) - */ - protected void emit_ImportDeclaration_SemicolonKeyword_2_q(EObject semanticObject, ISynNavigable transition, List nodes) { - acceptNodes(transition, nodes); - } - - /** - * Ambiguous syntax: - * ('{' '}')? - * - * This ambiguous syntax occurs at: - * componentInstance=ComponentInstance (ambiguity) (rule end) - * parameters+=MappingParameter ')' (ambiguity) (rule end) - */ - protected void emit_MappingDefinition___LeftCurlyBracketKeyword_8_0_RightCurlyBracketKeyword_8_2__q(EObject semanticObject, ISynNavigable transition, List nodes) { - acceptNodes(transition, nodes); - } - -} diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/services/CftLanguageGrammarAccess.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/services/CftLanguageGrammarAccess.java deleted file mode 100644 index 2b9632b7..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/services/CftLanguageGrammarAccess.java +++ /dev/null @@ -1,1412 +0,0 @@ -/* - * generated by Xtext 2.16.0 - */ -package hu.bme.mit.inf.dslreasoner.faulttree.components.services; - -import com.google.inject.Inject; -import com.google.inject.Singleton; -import java.util.List; -import org.eclipse.xtext.Alternatives; -import org.eclipse.xtext.Assignment; -import org.eclipse.xtext.CrossReference; -import org.eclipse.xtext.Grammar; -import org.eclipse.xtext.GrammarUtil; -import org.eclipse.xtext.Group; -import org.eclipse.xtext.Keyword; -import org.eclipse.xtext.ParserRule; -import org.eclipse.xtext.RuleCall; -import org.eclipse.xtext.TerminalRule; -import org.eclipse.xtext.UnorderedGroup; -import org.eclipse.xtext.common.services.TerminalsGrammarAccess; -import org.eclipse.xtext.service.AbstractElementFinder.AbstractGrammarElementFinder; -import org.eclipse.xtext.service.GrammarProvider; - -@Singleton -public class CftLanguageGrammarAccess extends AbstractGrammarElementFinder { - - public class CftModelElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.CftModel"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final Keyword cPackageKeyword_0 = (Keyword)cGroup.eContents().get(0); - private final Assignment cPackageNameAssignment_1 = (Assignment)cGroup.eContents().get(1); - private final RuleCall cPackageNameQualifiedNameParserRuleCall_1_0 = (RuleCall)cPackageNameAssignment_1.eContents().get(0); - private final Keyword cSemicolonKeyword_2 = (Keyword)cGroup.eContents().get(2); - private final Assignment cImportsAssignment_3 = (Assignment)cGroup.eContents().get(3); - private final RuleCall cImportsImportDeclarationParserRuleCall_3_0 = (RuleCall)cImportsAssignment_3.eContents().get(0); - private final Alternatives cAlternatives_4 = (Alternatives)cGroup.eContents().get(4); - private final Assignment cComponentDefinitionsAssignment_4_0 = (Assignment)cAlternatives_4.eContents().get(0); - private final RuleCall cComponentDefinitionsComponentDefinitionParserRuleCall_4_0_0 = (RuleCall)cComponentDefinitionsAssignment_4_0.eContents().get(0); - private final Assignment cTransformationDefinitionsAssignment_4_1 = (Assignment)cAlternatives_4.eContents().get(1); - private final RuleCall cTransformationDefinitionsTransformationDefinitionParserRuleCall_4_1_0 = (RuleCall)cTransformationDefinitionsAssignment_4_1.eContents().get(0); - - //CftModel: - // "package" packageName=QualifiedName ";"? - // imports+=ImportDeclaration* (componentDefinitions+=ComponentDefinition | - // transformationDefinitions+=TransformationDefinition)*; - @Override public ParserRule getRule() { return rule; } - - //"package" packageName=QualifiedName ";"? imports+=ImportDeclaration* (componentDefinitions+=ComponentDefinition | - //transformationDefinitions+=TransformationDefinition)* - public Group getGroup() { return cGroup; } - - //"package" - public Keyword getPackageKeyword_0() { return cPackageKeyword_0; } - - //packageName=QualifiedName - public Assignment getPackageNameAssignment_1() { return cPackageNameAssignment_1; } - - //QualifiedName - public RuleCall getPackageNameQualifiedNameParserRuleCall_1_0() { return cPackageNameQualifiedNameParserRuleCall_1_0; } - - //";"? - public Keyword getSemicolonKeyword_2() { return cSemicolonKeyword_2; } - - //imports+=ImportDeclaration* - public Assignment getImportsAssignment_3() { return cImportsAssignment_3; } - - //ImportDeclaration - public RuleCall getImportsImportDeclarationParserRuleCall_3_0() { return cImportsImportDeclarationParserRuleCall_3_0; } - - //(componentDefinitions+=ComponentDefinition | transformationDefinitions+=TransformationDefinition)* - public Alternatives getAlternatives_4() { return cAlternatives_4; } - - //componentDefinitions+=ComponentDefinition - public Assignment getComponentDefinitionsAssignment_4_0() { return cComponentDefinitionsAssignment_4_0; } - - //ComponentDefinition - public RuleCall getComponentDefinitionsComponentDefinitionParserRuleCall_4_0_0() { return cComponentDefinitionsComponentDefinitionParserRuleCall_4_0_0; } - - //transformationDefinitions+=TransformationDefinition - public Assignment getTransformationDefinitionsAssignment_4_1() { return cTransformationDefinitionsAssignment_4_1; } - - //TransformationDefinition - public RuleCall getTransformationDefinitionsTransformationDefinitionParserRuleCall_4_1_0() { return cTransformationDefinitionsTransformationDefinitionParserRuleCall_4_1_0; } - } - public class ImportDeclarationElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.ImportDeclaration"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final Keyword cImportKeyword_0 = (Keyword)cGroup.eContents().get(0); - private final Assignment cImportedNamespaceAssignment_1 = (Assignment)cGroup.eContents().get(1); - private final RuleCall cImportedNamespaceQualifiedNameWithWildcardParserRuleCall_1_0 = (RuleCall)cImportedNamespaceAssignment_1.eContents().get(0); - private final Keyword cSemicolonKeyword_2 = (Keyword)cGroup.eContents().get(2); - - //ImportDeclaration: - // "import" importedNamespace=QualifiedNameWithWildcard ";"?; - @Override public ParserRule getRule() { return rule; } - - //"import" importedNamespace=QualifiedNameWithWildcard ";"? - public Group getGroup() { return cGroup; } - - //"import" - public Keyword getImportKeyword_0() { return cImportKeyword_0; } - - //importedNamespace=QualifiedNameWithWildcard - public Assignment getImportedNamespaceAssignment_1() { return cImportedNamespaceAssignment_1; } - - //QualifiedNameWithWildcard - public RuleCall getImportedNamespaceQualifiedNameWithWildcardParserRuleCall_1_0() { return cImportedNamespaceQualifiedNameWithWildcardParserRuleCall_1_0; } - - //";"? - public Keyword getSemicolonKeyword_2() { return cSemicolonKeyword_2; } - } - public class ComponentDefinitionElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.ComponentDefinition"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final Keyword cCftKeyword_0 = (Keyword)cGroup.eContents().get(0); - private final Assignment cNameAssignment_1 = (Assignment)cGroup.eContents().get(1); - private final RuleCall cNameValidIdParserRuleCall_1_0 = (RuleCall)cNameAssignment_1.eContents().get(0); - private final Keyword cLeftCurlyBracketKeyword_2 = (Keyword)cGroup.eContents().get(2); - private final UnorderedGroup cUnorderedGroup_3 = (UnorderedGroup)cGroup.eContents().get(3); - private final Group cGroup_3_0 = (Group)cUnorderedGroup_3.eContents().get(0); - private final Keyword cInKeyword_3_0_0 = (Keyword)cGroup_3_0.eContents().get(0); - private final Assignment cInputEventsAssignment_3_0_1 = (Assignment)cGroup_3_0.eContents().get(1); - private final RuleCall cInputEventsInputEventParserRuleCall_3_0_1_0 = (RuleCall)cInputEventsAssignment_3_0_1.eContents().get(0); - private final Keyword cSemicolonKeyword_3_0_2 = (Keyword)cGroup_3_0.eContents().get(2); - private final Group cGroup_3_1 = (Group)cUnorderedGroup_3.eContents().get(1); - private final Keyword cOutKeyword_3_1_0 = (Keyword)cGroup_3_1.eContents().get(0); - private final Assignment cOutputEventsAssignment_3_1_1 = (Assignment)cGroup_3_1.eContents().get(1); - private final CrossReference cOutputEventsEventDeclarationCrossReference_3_1_1_0 = (CrossReference)cOutputEventsAssignment_3_1_1.eContents().get(0); - private final RuleCall cOutputEventsEventDeclarationValidIdParserRuleCall_3_1_1_0_1 = (RuleCall)cOutputEventsEventDeclarationCrossReference_3_1_1_0.eContents().get(1); - private final Keyword cSemicolonKeyword_3_1_2 = (Keyword)cGroup_3_1.eContents().get(2); - private final Group cGroup_4 = (Group)cGroup.eContents().get(4); - private final Assignment cEventDefinitionsAssignment_4_0 = (Assignment)cGroup_4.eContents().get(0); - private final RuleCall cEventDefinitionsEventDefinitionParserRuleCall_4_0_0 = (RuleCall)cEventDefinitionsAssignment_4_0.eContents().get(0); - private final Keyword cSemicolonKeyword_4_1 = (Keyword)cGroup_4.eContents().get(1); - private final Keyword cRightCurlyBracketKeyword_5 = (Keyword)cGroup.eContents().get(5); - - //ComponentDefinition cft::ComponentDefinition: - // "cft" name=ValidId "{" (("in" inputEvents+=InputEvent* ";")? & ("out" outputEvents+=[cft::EventDeclaration|ValidId]* - // ";")?) (eventDefinitions+=EventDefinition ";")* - // "}"; - @Override public ParserRule getRule() { return rule; } - - //"cft" name=ValidId "{" (("in" inputEvents+=InputEvent* ";")? & ("out" outputEvents+=[cft::EventDeclaration|ValidId]* - //";")?) (eventDefinitions+=EventDefinition ";")* "}" - public Group getGroup() { return cGroup; } - - //"cft" - public Keyword getCftKeyword_0() { return cCftKeyword_0; } - - //name=ValidId - public Assignment getNameAssignment_1() { return cNameAssignment_1; } - - //ValidId - public RuleCall getNameValidIdParserRuleCall_1_0() { return cNameValidIdParserRuleCall_1_0; } - - //"{" - public Keyword getLeftCurlyBracketKeyword_2() { return cLeftCurlyBracketKeyword_2; } - - //("in" inputEvents+=InputEvent* ";")? & ("out" outputEvents+=[cft::EventDeclaration|ValidId]* ";")? - public UnorderedGroup getUnorderedGroup_3() { return cUnorderedGroup_3; } - - //("in" inputEvents+=InputEvent* ";")? - public Group getGroup_3_0() { return cGroup_3_0; } - - //"in" - public Keyword getInKeyword_3_0_0() { return cInKeyword_3_0_0; } - - //inputEvents+=InputEvent* - public Assignment getInputEventsAssignment_3_0_1() { return cInputEventsAssignment_3_0_1; } - - //InputEvent - public RuleCall getInputEventsInputEventParserRuleCall_3_0_1_0() { return cInputEventsInputEventParserRuleCall_3_0_1_0; } - - //";" - public Keyword getSemicolonKeyword_3_0_2() { return cSemicolonKeyword_3_0_2; } - - //("out" outputEvents+=[cft::EventDeclaration|ValidId]* ";")? - public Group getGroup_3_1() { return cGroup_3_1; } - - //"out" - public Keyword getOutKeyword_3_1_0() { return cOutKeyword_3_1_0; } - - //outputEvents+=[cft::EventDeclaration|ValidId]* - public Assignment getOutputEventsAssignment_3_1_1() { return cOutputEventsAssignment_3_1_1; } - - //[cft::EventDeclaration|ValidId] - public CrossReference getOutputEventsEventDeclarationCrossReference_3_1_1_0() { return cOutputEventsEventDeclarationCrossReference_3_1_1_0; } - - //ValidId - public RuleCall getOutputEventsEventDeclarationValidIdParserRuleCall_3_1_1_0_1() { return cOutputEventsEventDeclarationValidIdParserRuleCall_3_1_1_0_1; } - - //";" - public Keyword getSemicolonKeyword_3_1_2() { return cSemicolonKeyword_3_1_2; } - - //(eventDefinitions+=EventDefinition ";")* - public Group getGroup_4() { return cGroup_4; } - - //eventDefinitions+=EventDefinition - public Assignment getEventDefinitionsAssignment_4_0() { return cEventDefinitionsAssignment_4_0; } - - //EventDefinition - public RuleCall getEventDefinitionsEventDefinitionParserRuleCall_4_0_0() { return cEventDefinitionsEventDefinitionParserRuleCall_4_0_0; } - - //";" - public Keyword getSemicolonKeyword_4_1() { return cSemicolonKeyword_4_1; } - - //"}" - public Keyword getRightCurlyBracketKeyword_5() { return cRightCurlyBracketKeyword_5; } - } - public class InputEventElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.InputEvent"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final Assignment cNameAssignment_0 = (Assignment)cGroup.eContents().get(0); - private final RuleCall cNameValidIdParserRuleCall_0_0 = (RuleCall)cNameAssignment_0.eContents().get(0); - private final Assignment cMultipleAssignment_1 = (Assignment)cGroup.eContents().get(1); - private final Keyword cMultipleLeftSquareBracketRightSquareBracketKeyword_1_0 = (Keyword)cMultipleAssignment_1.eContents().get(0); - - //InputEvent cft::InputEvent: - // name=ValidId multiple?="[]"?; - @Override public ParserRule getRule() { return rule; } - - //name=ValidId multiple?="[]"? - public Group getGroup() { return cGroup; } - - //name=ValidId - public Assignment getNameAssignment_0() { return cNameAssignment_0; } - - //ValidId - public RuleCall getNameValidIdParserRuleCall_0_0() { return cNameValidIdParserRuleCall_0_0; } - - //multiple?="[]"? - public Assignment getMultipleAssignment_1() { return cMultipleAssignment_1; } - - //"[]" - public Keyword getMultipleLeftSquareBracketRightSquareBracketKeyword_1_0() { return cMultipleLeftSquareBracketRightSquareBracketKeyword_1_0; } - } - public class EventDefinitionElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.EventDefinition"); - private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); - private final RuleCall cBasicEventDefinitionParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); - private final RuleCall cGateDefinitionParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); - - //EventDefinition cft::EventDefinition: - // BasicEventDefinition | GateDefinition; - @Override public ParserRule getRule() { return rule; } - - //BasicEventDefinition | GateDefinition - public Alternatives getAlternatives() { return cAlternatives; } - - //BasicEventDefinition - public RuleCall getBasicEventDefinitionParserRuleCall_0() { return cBasicEventDefinitionParserRuleCall_0; } - - //GateDefinition - public RuleCall getGateDefinitionParserRuleCall_1() { return cGateDefinitionParserRuleCall_1; } - } - public class BasicEventDefinitionElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.BasicEventDefinition"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final Assignment cNameAssignment_0 = (Assignment)cGroup.eContents().get(0); - private final RuleCall cNameValidIdParserRuleCall_0_0 = (RuleCall)cNameAssignment_0.eContents().get(0); - private final Assignment cDistributionAssignment_1 = (Assignment)cGroup.eContents().get(1); - private final RuleCall cDistributionDistributionParserRuleCall_1_0 = (RuleCall)cDistributionAssignment_1.eContents().get(0); - - //BasicEventDefinition cft::BasicEventDefinition: - // name=ValidId distribution=Distribution; - @Override public ParserRule getRule() { return rule; } - - //name=ValidId distribution=Distribution - public Group getGroup() { return cGroup; } - - //name=ValidId - public Assignment getNameAssignment_0() { return cNameAssignment_0; } - - //ValidId - public RuleCall getNameValidIdParserRuleCall_0_0() { return cNameValidIdParserRuleCall_0_0; } - - //distribution=Distribution - public Assignment getDistributionAssignment_1() { return cDistributionAssignment_1; } - - //Distribution - public RuleCall getDistributionDistributionParserRuleCall_1_0() { return cDistributionDistributionParserRuleCall_1_0; } - } - public class DistributionElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.Distribution"); - private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); - private final RuleCall cConstantDistributionParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); - private final RuleCall cExponentialDistributionParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); - - //Distribution ft::Distribution: - // ConstantDistribution | ExponentialDistribution; - @Override public ParserRule getRule() { return rule; } - - //ConstantDistribution | ExponentialDistribution - public Alternatives getAlternatives() { return cAlternatives; } - - //ConstantDistribution - public RuleCall getConstantDistributionParserRuleCall_0() { return cConstantDistributionParserRuleCall_0; } - - //ExponentialDistribution - public RuleCall getExponentialDistributionParserRuleCall_1() { return cExponentialDistributionParserRuleCall_1; } - } - public class ConstantDistributionElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.ConstantDistribution"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final Keyword cProbKeyword_0 = (Keyword)cGroup.eContents().get(0); - private final Keyword cEqualsSignKeyword_1 = (Keyword)cGroup.eContents().get(1); - private final Assignment cPAssignment_2 = (Assignment)cGroup.eContents().get(2); - private final RuleCall cPDoubleParserRuleCall_2_0 = (RuleCall)cPAssignment_2.eContents().get(0); - - //ConstantDistribution ft::ConstantDistribution: - // "prob" "=" p=Double; - @Override public ParserRule getRule() { return rule; } - - //"prob" "=" p=Double - public Group getGroup() { return cGroup; } - - //"prob" - public Keyword getProbKeyword_0() { return cProbKeyword_0; } - - //"=" - public Keyword getEqualsSignKeyword_1() { return cEqualsSignKeyword_1; } - - //p=Double - public Assignment getPAssignment_2() { return cPAssignment_2; } - - //Double - public RuleCall getPDoubleParserRuleCall_2_0() { return cPDoubleParserRuleCall_2_0; } - } - public class ExponentialDistributionElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.ExponentialDistribution"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final Keyword cLambdaKeyword_0 = (Keyword)cGroup.eContents().get(0); - private final Keyword cEqualsSignKeyword_1 = (Keyword)cGroup.eContents().get(1); - private final Assignment cLambdaAssignment_2 = (Assignment)cGroup.eContents().get(2); - private final RuleCall cLambdaDoubleParserRuleCall_2_0 = (RuleCall)cLambdaAssignment_2.eContents().get(0); - - //ExponentialDistribution ft::ExponentialDistribution: - // "lambda" "=" lambda=Double; - @Override public ParserRule getRule() { return rule; } - - //"lambda" "=" lambda=Double - public Group getGroup() { return cGroup; } - - //"lambda" - public Keyword getLambdaKeyword_0() { return cLambdaKeyword_0; } - - //"=" - public Keyword getEqualsSignKeyword_1() { return cEqualsSignKeyword_1; } - - //lambda=Double - public Assignment getLambdaAssignment_2() { return cLambdaAssignment_2; } - - //Double - public RuleCall getLambdaDoubleParserRuleCall_2_0() { return cLambdaDoubleParserRuleCall_2_0; } - } - public class GateDefinitionElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.GateDefinition"); - private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); - private final RuleCall cAndGateDefinitionParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); - private final RuleCall cOrGateDefinitionParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); - private final RuleCall cKOfMGateDefinitionParserRuleCall_2 = (RuleCall)cAlternatives.eContents().get(2); - - //GateDefinition cft::GateDefinition: - // AndGateDefinition | OrGateDefinition | KOfMGateDefinition; - @Override public ParserRule getRule() { return rule; } - - //AndGateDefinition | OrGateDefinition | KOfMGateDefinition - public Alternatives getAlternatives() { return cAlternatives; } - - //AndGateDefinition - public RuleCall getAndGateDefinitionParserRuleCall_0() { return cAndGateDefinitionParserRuleCall_0; } - - //OrGateDefinition - public RuleCall getOrGateDefinitionParserRuleCall_1() { return cOrGateDefinitionParserRuleCall_1; } - - //KOfMGateDefinition - public RuleCall getKOfMGateDefinitionParserRuleCall_2() { return cKOfMGateDefinitionParserRuleCall_2; } - } - public class AndGateDefinitionElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.AndGateDefinition"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final Assignment cNameAssignment_0 = (Assignment)cGroup.eContents().get(0); - private final RuleCall cNameValidIdParserRuleCall_0_0 = (RuleCall)cNameAssignment_0.eContents().get(0); - private final Keyword cAndKeyword_1 = (Keyword)cGroup.eContents().get(1); - private final Assignment cInputEventsAssignment_2 = (Assignment)cGroup.eContents().get(2); - private final CrossReference cInputEventsEventDeclarationCrossReference_2_0 = (CrossReference)cInputEventsAssignment_2.eContents().get(0); - private final RuleCall cInputEventsEventDeclarationValidIdParserRuleCall_2_0_1 = (RuleCall)cInputEventsEventDeclarationCrossReference_2_0.eContents().get(1); - - //AndGateDefinition cft::AndGateDefinition: - // name=ValidId "and" inputEvents+=[cft::EventDeclaration|ValidId]*; - @Override public ParserRule getRule() { return rule; } - - //name=ValidId "and" inputEvents+=[cft::EventDeclaration|ValidId]* - public Group getGroup() { return cGroup; } - - //name=ValidId - public Assignment getNameAssignment_0() { return cNameAssignment_0; } - - //ValidId - public RuleCall getNameValidIdParserRuleCall_0_0() { return cNameValidIdParserRuleCall_0_0; } - - //"and" - public Keyword getAndKeyword_1() { return cAndKeyword_1; } - - //inputEvents+=[cft::EventDeclaration|ValidId]* - public Assignment getInputEventsAssignment_2() { return cInputEventsAssignment_2; } - - //[cft::EventDeclaration|ValidId] - public CrossReference getInputEventsEventDeclarationCrossReference_2_0() { return cInputEventsEventDeclarationCrossReference_2_0; } - - //ValidId - public RuleCall getInputEventsEventDeclarationValidIdParserRuleCall_2_0_1() { return cInputEventsEventDeclarationValidIdParserRuleCall_2_0_1; } - } - public class OrGateDefinitionElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.OrGateDefinition"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final Assignment cNameAssignment_0 = (Assignment)cGroup.eContents().get(0); - private final RuleCall cNameValidIdParserRuleCall_0_0 = (RuleCall)cNameAssignment_0.eContents().get(0); - private final Keyword cOrKeyword_1 = (Keyword)cGroup.eContents().get(1); - private final Assignment cInputEventsAssignment_2 = (Assignment)cGroup.eContents().get(2); - private final CrossReference cInputEventsEventDeclarationCrossReference_2_0 = (CrossReference)cInputEventsAssignment_2.eContents().get(0); - private final RuleCall cInputEventsEventDeclarationValidIdParserRuleCall_2_0_1 = (RuleCall)cInputEventsEventDeclarationCrossReference_2_0.eContents().get(1); - - //OrGateDefinition cft::OrGateDefinition: - // name=ValidId "or" inputEvents+=[cft::EventDeclaration|ValidId]*; - @Override public ParserRule getRule() { return rule; } - - //name=ValidId "or" inputEvents+=[cft::EventDeclaration|ValidId]* - public Group getGroup() { return cGroup; } - - //name=ValidId - public Assignment getNameAssignment_0() { return cNameAssignment_0; } - - //ValidId - public RuleCall getNameValidIdParserRuleCall_0_0() { return cNameValidIdParserRuleCall_0_0; } - - //"or" - public Keyword getOrKeyword_1() { return cOrKeyword_1; } - - //inputEvents+=[cft::EventDeclaration|ValidId]* - public Assignment getInputEventsAssignment_2() { return cInputEventsAssignment_2; } - - //[cft::EventDeclaration|ValidId] - public CrossReference getInputEventsEventDeclarationCrossReference_2_0() { return cInputEventsEventDeclarationCrossReference_2_0; } - - //ValidId - public RuleCall getInputEventsEventDeclarationValidIdParserRuleCall_2_0_1() { return cInputEventsEventDeclarationValidIdParserRuleCall_2_0_1; } - } - public class KOfMGateDefinitionElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.KOfMGateDefinition"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final Assignment cNameAssignment_0 = (Assignment)cGroup.eContents().get(0); - private final RuleCall cNameValidIdParserRuleCall_0_0 = (RuleCall)cNameAssignment_0.eContents().get(0); - private final Assignment cKAssignment_1 = (Assignment)cGroup.eContents().get(1); - private final RuleCall cKINTTerminalRuleCall_1_0 = (RuleCall)cKAssignment_1.eContents().get(0); - private final Alternatives cAlternatives_2 = (Alternatives)cGroup.eContents().get(2); - private final Group cGroup_2_0 = (Group)cAlternatives_2.eContents().get(0); - private final Keyword cOfKeyword_2_0_0 = (Keyword)cGroup_2_0.eContents().get(0); - private final Assignment cMAssignment_2_0_1 = (Assignment)cGroup_2_0.eContents().get(1); - private final RuleCall cMINTTerminalRuleCall_2_0_1_0 = (RuleCall)cMAssignment_2_0_1.eContents().get(0); - private final Assignment cMAssignment_2_1 = (Assignment)cAlternatives_2.eContents().get(1); - private final RuleCall cMOF_INTTerminalRuleCall_2_1_0 = (RuleCall)cMAssignment_2_1.eContents().get(0); - private final Assignment cInputEventsAssignment_3 = (Assignment)cGroup.eContents().get(3); - private final CrossReference cInputEventsEventDeclarationCrossReference_3_0 = (CrossReference)cInputEventsAssignment_3.eContents().get(0); - private final RuleCall cInputEventsEventDeclarationValidIdParserRuleCall_3_0_1 = (RuleCall)cInputEventsEventDeclarationCrossReference_3_0.eContents().get(1); - - //KOfMGateDefinition cft::KOfMGateDefinition: - // name=ValidId k=INT ("of" m=INT | m=OF_INT) inputEvents+=[cft::EventDeclaration|ValidId]*; - @Override public ParserRule getRule() { return rule; } - - //name=ValidId k=INT ("of" m=INT | m=OF_INT) inputEvents+=[cft::EventDeclaration|ValidId]* - public Group getGroup() { return cGroup; } - - //name=ValidId - public Assignment getNameAssignment_0() { return cNameAssignment_0; } - - //ValidId - public RuleCall getNameValidIdParserRuleCall_0_0() { return cNameValidIdParserRuleCall_0_0; } - - //k=INT - public Assignment getKAssignment_1() { return cKAssignment_1; } - - //INT - public RuleCall getKINTTerminalRuleCall_1_0() { return cKINTTerminalRuleCall_1_0; } - - //"of" m=INT | m=OF_INT - public Alternatives getAlternatives_2() { return cAlternatives_2; } - - //"of" m=INT - public Group getGroup_2_0() { return cGroup_2_0; } - - //"of" - public Keyword getOfKeyword_2_0_0() { return cOfKeyword_2_0_0; } - - //m=INT - public Assignment getMAssignment_2_0_1() { return cMAssignment_2_0_1; } - - //INT - public RuleCall getMINTTerminalRuleCall_2_0_1_0() { return cMINTTerminalRuleCall_2_0_1_0; } - - //m=OF_INT - public Assignment getMAssignment_2_1() { return cMAssignment_2_1; } - - //OF_INT - public RuleCall getMOF_INTTerminalRuleCall_2_1_0() { return cMOF_INTTerminalRuleCall_2_1_0; } - - //inputEvents+=[cft::EventDeclaration|ValidId]* - public Assignment getInputEventsAssignment_3() { return cInputEventsAssignment_3; } - - //[cft::EventDeclaration|ValidId] - public CrossReference getInputEventsEventDeclarationCrossReference_3_0() { return cInputEventsEventDeclarationCrossReference_3_0; } - - //ValidId - public RuleCall getInputEventsEventDeclarationValidIdParserRuleCall_3_0_1() { return cInputEventsEventDeclarationValidIdParserRuleCall_3_0_1; } - } - public class TransformationDefinitionElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.TransformationDefinition"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final Keyword cTransformationKeyword_0 = (Keyword)cGroup.eContents().get(0); - private final Assignment cNameAssignment_1 = (Assignment)cGroup.eContents().get(1); - private final RuleCall cNameValidIdParserRuleCall_1_0 = (RuleCall)cNameAssignment_1.eContents().get(0); - private final Keyword cLeftCurlyBracketKeyword_2 = (Keyword)cGroup.eContents().get(2); - private final Assignment cMappingDefinitionsAssignment_3 = (Assignment)cGroup.eContents().get(3); - private final RuleCall cMappingDefinitionsMappingDefinitionParserRuleCall_3_0 = (RuleCall)cMappingDefinitionsAssignment_3.eContents().get(0); - private final Keyword cRightCurlyBracketKeyword_4 = (Keyword)cGroup.eContents().get(4); - - //TransformationDefinition: - // "transformation" name=ValidId "{" - // mappingDefinitions+=MappingDefinition* - // "}"; - @Override public ParserRule getRule() { return rule; } - - //"transformation" name=ValidId "{" mappingDefinitions+=MappingDefinition* "}" - public Group getGroup() { return cGroup; } - - //"transformation" - public Keyword getTransformationKeyword_0() { return cTransformationKeyword_0; } - - //name=ValidId - public Assignment getNameAssignment_1() { return cNameAssignment_1; } - - //ValidId - public RuleCall getNameValidIdParserRuleCall_1_0() { return cNameValidIdParserRuleCall_1_0; } - - //"{" - public Keyword getLeftCurlyBracketKeyword_2() { return cLeftCurlyBracketKeyword_2; } - - //mappingDefinitions+=MappingDefinition* - public Assignment getMappingDefinitionsAssignment_3() { return cMappingDefinitionsAssignment_3; } - - //MappingDefinition - public RuleCall getMappingDefinitionsMappingDefinitionParserRuleCall_3_0() { return cMappingDefinitionsMappingDefinitionParserRuleCall_3_0; } - - //"}" - public Keyword getRightCurlyBracketKeyword_4() { return cRightCurlyBracketKeyword_4; } - } - public class MappingDefinitionElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.MappingDefinition"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final Assignment cTopLevelAssignment_0 = (Assignment)cGroup.eContents().get(0); - private final Keyword cTopLevelToplevelKeyword_0_0 = (Keyword)cTopLevelAssignment_0.eContents().get(0); - private final Keyword cMappingKeyword_1 = (Keyword)cGroup.eContents().get(1); - private final Assignment cPatternAssignment_2 = (Assignment)cGroup.eContents().get(2); - private final CrossReference cPatternPatternCrossReference_2_0 = (CrossReference)cPatternAssignment_2.eContents().get(0); - private final RuleCall cPatternPatternQualifiedNameParserRuleCall_2_0_1 = (RuleCall)cPatternPatternCrossReference_2_0.eContents().get(1); - private final Keyword cLeftParenthesisKeyword_3 = (Keyword)cGroup.eContents().get(3); - private final Assignment cParametersAssignment_4 = (Assignment)cGroup.eContents().get(4); - private final RuleCall cParametersMappingParameterParserRuleCall_4_0 = (RuleCall)cParametersAssignment_4.eContents().get(0); - private final Group cGroup_5 = (Group)cGroup.eContents().get(5); - private final Keyword cCommaKeyword_5_0 = (Keyword)cGroup_5.eContents().get(0); - private final Assignment cParametersAssignment_5_1 = (Assignment)cGroup_5.eContents().get(1); - private final RuleCall cParametersMappingParameterParserRuleCall_5_1_0 = (RuleCall)cParametersAssignment_5_1.eContents().get(0); - private final Keyword cRightParenthesisKeyword_6 = (Keyword)cGroup.eContents().get(6); - private final Assignment cComponentInstanceAssignment_7 = (Assignment)cGroup.eContents().get(7); - private final RuleCall cComponentInstanceComponentInstanceParserRuleCall_7_0 = (RuleCall)cComponentInstanceAssignment_7.eContents().get(0); - private final Group cGroup_8 = (Group)cGroup.eContents().get(8); - private final Keyword cLeftCurlyBracketKeyword_8_0 = (Keyword)cGroup_8.eContents().get(0); - private final Group cGroup_8_1 = (Group)cGroup_8.eContents().get(1); - private final Alternatives cAlternatives_8_1_0 = (Alternatives)cGroup_8_1.eContents().get(0); - private final Assignment cLookupDefinitionsAssignment_8_1_0_0 = (Assignment)cAlternatives_8_1_0.eContents().get(0); - private final RuleCall cLookupDefinitionsLookupDefinitionParserRuleCall_8_1_0_0_0 = (RuleCall)cLookupDefinitionsAssignment_8_1_0_0.eContents().get(0); - private final Assignment cAssignmentsAssignment_8_1_0_1 = (Assignment)cAlternatives_8_1_0.eContents().get(1); - private final RuleCall cAssignmentsAssignmentParserRuleCall_8_1_0_1_0 = (RuleCall)cAssignmentsAssignment_8_1_0_1.eContents().get(0); - private final Keyword cSemicolonKeyword_8_1_1 = (Keyword)cGroup_8_1.eContents().get(1); - private final Keyword cRightCurlyBracketKeyword_8_2 = (Keyword)cGroup_8.eContents().get(2); - - //MappingDefinition: - // topLevel?="toplevel"? "mapping" pattern=[vql::Pattern|QualifiedName] - // "(" parameters+=MappingParameter ("," parameters+=MappingParameter)* ")" - // componentInstance=ComponentInstance? ("{" ((lookupDefinitions+=LookupDefinition | assignments+=Assignment) ";")* - // "}")?; - @Override public ParserRule getRule() { return rule; } - - //topLevel?="toplevel"? "mapping" pattern=[vql::Pattern|QualifiedName] "(" parameters+=MappingParameter ("," - //parameters+=MappingParameter)* ")" componentInstance=ComponentInstance? ("{" ((lookupDefinitions+=LookupDefinition | - //assignments+=Assignment) ";")* "}")? - public Group getGroup() { return cGroup; } - - //topLevel?="toplevel"? - public Assignment getTopLevelAssignment_0() { return cTopLevelAssignment_0; } - - //"toplevel" - public Keyword getTopLevelToplevelKeyword_0_0() { return cTopLevelToplevelKeyword_0_0; } - - //"mapping" - public Keyword getMappingKeyword_1() { return cMappingKeyword_1; } - - //pattern=[vql::Pattern|QualifiedName] - public Assignment getPatternAssignment_2() { return cPatternAssignment_2; } - - //[vql::Pattern|QualifiedName] - public CrossReference getPatternPatternCrossReference_2_0() { return cPatternPatternCrossReference_2_0; } - - //QualifiedName - public RuleCall getPatternPatternQualifiedNameParserRuleCall_2_0_1() { return cPatternPatternQualifiedNameParserRuleCall_2_0_1; } - - //"(" - public Keyword getLeftParenthesisKeyword_3() { return cLeftParenthesisKeyword_3; } - - //parameters+=MappingParameter - public Assignment getParametersAssignment_4() { return cParametersAssignment_4; } - - //MappingParameter - public RuleCall getParametersMappingParameterParserRuleCall_4_0() { return cParametersMappingParameterParserRuleCall_4_0; } - - //("," parameters+=MappingParameter)* - public Group getGroup_5() { return cGroup_5; } - - //"," - public Keyword getCommaKeyword_5_0() { return cCommaKeyword_5_0; } - - //parameters+=MappingParameter - public Assignment getParametersAssignment_5_1() { return cParametersAssignment_5_1; } - - //MappingParameter - public RuleCall getParametersMappingParameterParserRuleCall_5_1_0() { return cParametersMappingParameterParserRuleCall_5_1_0; } - - //")" - public Keyword getRightParenthesisKeyword_6() { return cRightParenthesisKeyword_6; } - - //componentInstance=ComponentInstance? - public Assignment getComponentInstanceAssignment_7() { return cComponentInstanceAssignment_7; } - - //ComponentInstance - public RuleCall getComponentInstanceComponentInstanceParserRuleCall_7_0() { return cComponentInstanceComponentInstanceParserRuleCall_7_0; } - - //("{" ((lookupDefinitions+=LookupDefinition | assignments+=Assignment) ";")* "}")? - public Group getGroup_8() { return cGroup_8; } - - //"{" - public Keyword getLeftCurlyBracketKeyword_8_0() { return cLeftCurlyBracketKeyword_8_0; } - - //((lookupDefinitions+=LookupDefinition | assignments+=Assignment) ";")* - public Group getGroup_8_1() { return cGroup_8_1; } - - //lookupDefinitions+=LookupDefinition | assignments+=Assignment - public Alternatives getAlternatives_8_1_0() { return cAlternatives_8_1_0; } - - //lookupDefinitions+=LookupDefinition - public Assignment getLookupDefinitionsAssignment_8_1_0_0() { return cLookupDefinitionsAssignment_8_1_0_0; } - - //LookupDefinition - public RuleCall getLookupDefinitionsLookupDefinitionParserRuleCall_8_1_0_0_0() { return cLookupDefinitionsLookupDefinitionParserRuleCall_8_1_0_0_0; } - - //assignments+=Assignment - public Assignment getAssignmentsAssignment_8_1_0_1() { return cAssignmentsAssignment_8_1_0_1; } - - //Assignment - public RuleCall getAssignmentsAssignmentParserRuleCall_8_1_0_1_0() { return cAssignmentsAssignmentParserRuleCall_8_1_0_1_0; } - - //";" - public Keyword getSemicolonKeyword_8_1_1() { return cSemicolonKeyword_8_1_1; } - - //"}" - public Keyword getRightCurlyBracketKeyword_8_2() { return cRightCurlyBracketKeyword_8_2; } - } - public class MappingParameterElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.MappingParameter"); - private final Assignment cNameAssignment = (Assignment)rule.eContents().get(1); - private final RuleCall cNameValidIdParserRuleCall_0 = (RuleCall)cNameAssignment.eContents().get(0); - - //MappingParameter: - // name=ValidId; - @Override public ParserRule getRule() { return rule; } - - //name=ValidId - public Assignment getNameAssignment() { return cNameAssignment; } - - //ValidId - public RuleCall getNameValidIdParserRuleCall_0() { return cNameValidIdParserRuleCall_0; } - } - public class LookupDefinitionElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.LookupDefinition"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final Keyword cLookupKeyword_0 = (Keyword)cGroup.eContents().get(0); - private final Assignment cMappingAssignment_1 = (Assignment)cGroup.eContents().get(1); - private final CrossReference cMappingMappingDefinitionCrossReference_1_0 = (CrossReference)cMappingAssignment_1.eContents().get(0); - private final RuleCall cMappingMappingDefinitionQualifiedNameParserRuleCall_1_0_1 = (RuleCall)cMappingMappingDefinitionCrossReference_1_0.eContents().get(1); - private final Keyword cLeftParenthesisKeyword_2 = (Keyword)cGroup.eContents().get(2); - private final Assignment cArgumentsAssignment_3 = (Assignment)cGroup.eContents().get(3); - private final CrossReference cArgumentsMappingParameterCrossReference_3_0 = (CrossReference)cArgumentsAssignment_3.eContents().get(0); - private final RuleCall cArgumentsMappingParameterValidIdParserRuleCall_3_0_1 = (RuleCall)cArgumentsMappingParameterCrossReference_3_0.eContents().get(1); - private final Group cGroup_4 = (Group)cGroup.eContents().get(4); - private final Keyword cCommaKeyword_4_0 = (Keyword)cGroup_4.eContents().get(0); - private final Assignment cArgumentsAssignment_4_1 = (Assignment)cGroup_4.eContents().get(1); - private final CrossReference cArgumentsMappingParameterCrossReference_4_1_0 = (CrossReference)cArgumentsAssignment_4_1.eContents().get(0); - private final RuleCall cArgumentsMappingParameterValidIdParserRuleCall_4_1_0_1 = (RuleCall)cArgumentsMappingParameterCrossReference_4_1_0.eContents().get(1); - private final Keyword cRightParenthesisKeyword_5 = (Keyword)cGroup.eContents().get(5); - private final Keyword cAsKeyword_6 = (Keyword)cGroup.eContents().get(6); - private final Assignment cNameAssignment_7 = (Assignment)cGroup.eContents().get(7); - private final RuleCall cNameValidIdParserRuleCall_7_0 = (RuleCall)cNameAssignment_7.eContents().get(0); - - //LookupDefinition: - // "lookup" mapping=[MappingDefinition|QualifiedName] - // "(" arguments+=[MappingParameter|ValidId] ("," arguments+=[MappingParameter|ValidId])* ")" - // "as" name=ValidId; - @Override public ParserRule getRule() { return rule; } - - //"lookup" mapping=[MappingDefinition|QualifiedName] "(" arguments+=[MappingParameter|ValidId] ("," - //arguments+=[MappingParameter|ValidId])* ")" "as" name=ValidId - public Group getGroup() { return cGroup; } - - //"lookup" - public Keyword getLookupKeyword_0() { return cLookupKeyword_0; } - - //mapping=[MappingDefinition|QualifiedName] - public Assignment getMappingAssignment_1() { return cMappingAssignment_1; } - - //[MappingDefinition|QualifiedName] - public CrossReference getMappingMappingDefinitionCrossReference_1_0() { return cMappingMappingDefinitionCrossReference_1_0; } - - //QualifiedName - public RuleCall getMappingMappingDefinitionQualifiedNameParserRuleCall_1_0_1() { return cMappingMappingDefinitionQualifiedNameParserRuleCall_1_0_1; } - - //"(" - public Keyword getLeftParenthesisKeyword_2() { return cLeftParenthesisKeyword_2; } - - //arguments+=[MappingParameter|ValidId] - public Assignment getArgumentsAssignment_3() { return cArgumentsAssignment_3; } - - //[MappingParameter|ValidId] - public CrossReference getArgumentsMappingParameterCrossReference_3_0() { return cArgumentsMappingParameterCrossReference_3_0; } - - //ValidId - public RuleCall getArgumentsMappingParameterValidIdParserRuleCall_3_0_1() { return cArgumentsMappingParameterValidIdParserRuleCall_3_0_1; } - - //("," arguments+=[MappingParameter|ValidId])* - public Group getGroup_4() { return cGroup_4; } - - //"," - public Keyword getCommaKeyword_4_0() { return cCommaKeyword_4_0; } - - //arguments+=[MappingParameter|ValidId] - public Assignment getArgumentsAssignment_4_1() { return cArgumentsAssignment_4_1; } - - //[MappingParameter|ValidId] - public CrossReference getArgumentsMappingParameterCrossReference_4_1_0() { return cArgumentsMappingParameterCrossReference_4_1_0; } - - //ValidId - public RuleCall getArgumentsMappingParameterValidIdParserRuleCall_4_1_0_1() { return cArgumentsMappingParameterValidIdParserRuleCall_4_1_0_1; } - - //")" - public Keyword getRightParenthesisKeyword_5() { return cRightParenthesisKeyword_5; } - - //"as" - public Keyword getAsKeyword_6() { return cAsKeyword_6; } - - //name=ValidId - public Assignment getNameAssignment_7() { return cNameAssignment_7; } - - //ValidId - public RuleCall getNameValidIdParserRuleCall_7_0() { return cNameValidIdParserRuleCall_7_0; } - } - public class VariableElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.Variable"); - private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); - private final RuleCall cComponentInstanceParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); - private final RuleCall cLookupDefinitionParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); - - //Variable: - // ComponentInstance | LookupDefinition; - @Override public ParserRule getRule() { return rule; } - - //ComponentInstance | LookupDefinition - public Alternatives getAlternatives() { return cAlternatives; } - - //ComponentInstance - public RuleCall getComponentInstanceParserRuleCall_0() { return cComponentInstanceParserRuleCall_0; } - - //LookupDefinition - public RuleCall getLookupDefinitionParserRuleCall_1() { return cLookupDefinitionParserRuleCall_1; } - } - public class AssignmentElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.Assignment"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final Assignment cInputAssignment_0 = (Assignment)cGroup.eContents().get(0); - private final RuleCall cInputEventReferenceParserRuleCall_0_0 = (RuleCall)cInputAssignment_0.eContents().get(0); - private final Alternatives cAlternatives_1 = (Alternatives)cGroup.eContents().get(1); - private final Assignment cMultipleAssignment_1_0 = (Assignment)cAlternatives_1.eContents().get(0); - private final Keyword cMultiplePlusSignEqualsSignKeyword_1_0_0 = (Keyword)cMultipleAssignment_1_0.eContents().get(0); - private final Keyword cColonEqualsSignKeyword_1_1 = (Keyword)cAlternatives_1.eContents().get(1); - private final Assignment cOutputAssignment_2 = (Assignment)cGroup.eContents().get(2); - private final RuleCall cOutputEventReferenceParserRuleCall_2_0 = (RuleCall)cOutputAssignment_2.eContents().get(0); - - //Assignment: - // input=EventReference (multiple?="+=" | ":=") output=EventReference; - @Override public ParserRule getRule() { return rule; } - - //input=EventReference (multiple?="+=" | ":=") output=EventReference - public Group getGroup() { return cGroup; } - - //input=EventReference - public Assignment getInputAssignment_0() { return cInputAssignment_0; } - - //EventReference - public RuleCall getInputEventReferenceParserRuleCall_0_0() { return cInputEventReferenceParserRuleCall_0_0; } - - //multiple?="+=" | ":=" - public Alternatives getAlternatives_1() { return cAlternatives_1; } - - //multiple?="+=" - public Assignment getMultipleAssignment_1_0() { return cMultipleAssignment_1_0; } - - //"+=" - public Keyword getMultiplePlusSignEqualsSignKeyword_1_0_0() { return cMultiplePlusSignEqualsSignKeyword_1_0_0; } - - //":=" - public Keyword getColonEqualsSignKeyword_1_1() { return cColonEqualsSignKeyword_1_1; } - - //output=EventReference - public Assignment getOutputAssignment_2() { return cOutputAssignment_2; } - - //EventReference - public RuleCall getOutputEventReferenceParserRuleCall_2_0() { return cOutputEventReferenceParserRuleCall_2_0; } - } - public class EventReferenceElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.EventReference"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final Assignment cComponentAssignment_0 = (Assignment)cGroup.eContents().get(0); - private final CrossReference cComponentVariableCrossReference_0_0 = (CrossReference)cComponentAssignment_0.eContents().get(0); - private final RuleCall cComponentVariableValidIdParserRuleCall_0_0_1 = (RuleCall)cComponentVariableCrossReference_0_0.eContents().get(1); - private final Keyword cFullStopKeyword_1 = (Keyword)cGroup.eContents().get(1); - private final Assignment cEventAssignment_2 = (Assignment)cGroup.eContents().get(2); - private final CrossReference cEventEventDeclarationCrossReference_2_0 = (CrossReference)cEventAssignment_2.eContents().get(0); - private final RuleCall cEventEventDeclarationValidIdParserRuleCall_2_0_1 = (RuleCall)cEventEventDeclarationCrossReference_2_0.eContents().get(1); - - //EventReference: - // component=[Variable|ValidId] "." event=[cft::EventDeclaration|ValidId]; - @Override public ParserRule getRule() { return rule; } - - //component=[Variable|ValidId] "." event=[cft::EventDeclaration|ValidId] - public Group getGroup() { return cGroup; } - - //component=[Variable|ValidId] - public Assignment getComponentAssignment_0() { return cComponentAssignment_0; } - - //[Variable|ValidId] - public CrossReference getComponentVariableCrossReference_0_0() { return cComponentVariableCrossReference_0_0; } - - //ValidId - public RuleCall getComponentVariableValidIdParserRuleCall_0_0_1() { return cComponentVariableValidIdParserRuleCall_0_0_1; } - - //"." - public Keyword getFullStopKeyword_1() { return cFullStopKeyword_1; } - - //event=[cft::EventDeclaration|ValidId] - public Assignment getEventAssignment_2() { return cEventAssignment_2; } - - //[cft::EventDeclaration|ValidId] - public CrossReference getEventEventDeclarationCrossReference_2_0() { return cEventEventDeclarationCrossReference_2_0; } - - //ValidId - public RuleCall getEventEventDeclarationValidIdParserRuleCall_2_0_1() { return cEventEventDeclarationValidIdParserRuleCall_2_0_1; } - } - public class ComponentInstanceElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.ComponentInstance"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final Keyword cEqualsSignGreaterThanSignKeyword_0 = (Keyword)cGroup.eContents().get(0); - private final Assignment cComponentTypeAssignment_1 = (Assignment)cGroup.eContents().get(1); - private final CrossReference cComponentTypeComponentDefinitionCrossReference_1_0 = (CrossReference)cComponentTypeAssignment_1.eContents().get(0); - private final RuleCall cComponentTypeComponentDefinitionQualifiedNameParserRuleCall_1_0_1 = (RuleCall)cComponentTypeComponentDefinitionCrossReference_1_0.eContents().get(1); - private final Assignment cNameAssignment_2 = (Assignment)cGroup.eContents().get(2); - private final RuleCall cNameValidIdParserRuleCall_2_0 = (RuleCall)cNameAssignment_2.eContents().get(0); - - //ComponentInstance: - // "=>" componentType=[cft::ComponentDefinition|QualifiedName] name=ValidId?; - @Override public ParserRule getRule() { return rule; } - - //"=>" componentType=[cft::ComponentDefinition|QualifiedName] name=ValidId? - public Group getGroup() { return cGroup; } - - //"=>" - public Keyword getEqualsSignGreaterThanSignKeyword_0() { return cEqualsSignGreaterThanSignKeyword_0; } - - //componentType=[cft::ComponentDefinition|QualifiedName] - public Assignment getComponentTypeAssignment_1() { return cComponentTypeAssignment_1; } - - //[cft::ComponentDefinition|QualifiedName] - public CrossReference getComponentTypeComponentDefinitionCrossReference_1_0() { return cComponentTypeComponentDefinitionCrossReference_1_0; } - - //QualifiedName - public RuleCall getComponentTypeComponentDefinitionQualifiedNameParserRuleCall_1_0_1() { return cComponentTypeComponentDefinitionQualifiedNameParserRuleCall_1_0_1; } - - //name=ValidId? - public Assignment getNameAssignment_2() { return cNameAssignment_2; } - - //ValidId - public RuleCall getNameValidIdParserRuleCall_2_0() { return cNameValidIdParserRuleCall_2_0; } - } - public class QualifiedNameElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.QualifiedName"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final RuleCall cValidIdParserRuleCall_0 = (RuleCall)cGroup.eContents().get(0); - private final Group cGroup_1 = (Group)cGroup.eContents().get(1); - private final Keyword cFullStopKeyword_1_0 = (Keyword)cGroup_1.eContents().get(0); - private final RuleCall cValidIdParserRuleCall_1_1 = (RuleCall)cGroup_1.eContents().get(1); - - //QualifiedName: - // ValidId ("." ValidId)*; - @Override public ParserRule getRule() { return rule; } - - //ValidId ("." ValidId)* - public Group getGroup() { return cGroup; } - - //ValidId - public RuleCall getValidIdParserRuleCall_0() { return cValidIdParserRuleCall_0; } - - //("." ValidId)* - public Group getGroup_1() { return cGroup_1; } - - //"." - public Keyword getFullStopKeyword_1_0() { return cFullStopKeyword_1_0; } - - //ValidId - public RuleCall getValidIdParserRuleCall_1_1() { return cValidIdParserRuleCall_1_1; } - } - public class QualifiedNameWithWildcardElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.QualifiedNameWithWildcard"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final RuleCall cQualifiedNameParserRuleCall_0 = (RuleCall)cGroup.eContents().get(0); - private final Group cGroup_1 = (Group)cGroup.eContents().get(1); - private final Keyword cFullStopKeyword_1_0 = (Keyword)cGroup_1.eContents().get(0); - private final Keyword cAsteriskKeyword_1_1 = (Keyword)cGroup_1.eContents().get(1); - - //QualifiedNameWithWildcard: - // QualifiedName ("." "*")?; - @Override public ParserRule getRule() { return rule; } - - //QualifiedName ("." "*")? - public Group getGroup() { return cGroup; } - - //QualifiedName - public RuleCall getQualifiedNameParserRuleCall_0() { return cQualifiedNameParserRuleCall_0; } - - //("." "*")? - public Group getGroup_1() { return cGroup_1; } - - //"." - public Keyword getFullStopKeyword_1_0() { return cFullStopKeyword_1_0; } - - //"*" - public Keyword getAsteriskKeyword_1_1() { return cAsteriskKeyword_1_1; } - } - public class ValidIdElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.ValidId"); - private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); - private final RuleCall cIDTerminalRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); - private final RuleCall cOF_INTTerminalRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); - - //ValidId: - // ID | OF_INT; - @Override public ParserRule getRule() { return rule; } - - //ID | OF_INT - public Alternatives getAlternatives() { return cAlternatives; } - - //ID - public RuleCall getIDTerminalRuleCall_0() { return cIDTerminalRuleCall_0; } - - //OF_INT - public RuleCall getOF_INTTerminalRuleCall_1() { return cOF_INTTerminalRuleCall_1; } - } - public class DoubleElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.Double"); - private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); - private final RuleCall cINTTerminalRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); - private final RuleCall cT_DOUBLETerminalRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); - - //Double ecore::EDouble: - // INT | T_DOUBLE; - @Override public ParserRule getRule() { return rule; } - - //INT | T_DOUBLE - public Alternatives getAlternatives() { return cAlternatives; } - - //INT - public RuleCall getINTTerminalRuleCall_0() { return cINTTerminalRuleCall_0; } - - //T_DOUBLE - public RuleCall getT_DOUBLETerminalRuleCall_1() { return cT_DOUBLETerminalRuleCall_1; } - } - - - private final CftModelElements pCftModel; - private final ImportDeclarationElements pImportDeclaration; - private final ComponentDefinitionElements pComponentDefinition; - private final InputEventElements pInputEvent; - private final EventDefinitionElements pEventDefinition; - private final BasicEventDefinitionElements pBasicEventDefinition; - private final DistributionElements pDistribution; - private final ConstantDistributionElements pConstantDistribution; - private final ExponentialDistributionElements pExponentialDistribution; - private final GateDefinitionElements pGateDefinition; - private final AndGateDefinitionElements pAndGateDefinition; - private final OrGateDefinitionElements pOrGateDefinition; - private final KOfMGateDefinitionElements pKOfMGateDefinition; - private final TransformationDefinitionElements pTransformationDefinition; - private final MappingDefinitionElements pMappingDefinition; - private final MappingParameterElements pMappingParameter; - private final LookupDefinitionElements pLookupDefinition; - private final VariableElements pVariable; - private final AssignmentElements pAssignment; - private final EventReferenceElements pEventReference; - private final ComponentInstanceElements pComponentInstance; - private final QualifiedNameElements pQualifiedName; - private final QualifiedNameWithWildcardElements pQualifiedNameWithWildcard; - private final ValidIdElements pValidId; - private final DoubleElements pDouble; - private final TerminalRule tOF_INT; - private final TerminalRule tT_DOUBLE; - - private final Grammar grammar; - - private final TerminalsGrammarAccess gaTerminals; - - @Inject - public CftLanguageGrammarAccess(GrammarProvider grammarProvider, - TerminalsGrammarAccess gaTerminals) { - this.grammar = internalFindGrammar(grammarProvider); - this.gaTerminals = gaTerminals; - this.pCftModel = new CftModelElements(); - this.pImportDeclaration = new ImportDeclarationElements(); - this.pComponentDefinition = new ComponentDefinitionElements(); - this.pInputEvent = new InputEventElements(); - this.pEventDefinition = new EventDefinitionElements(); - this.pBasicEventDefinition = new BasicEventDefinitionElements(); - this.pDistribution = new DistributionElements(); - this.pConstantDistribution = new ConstantDistributionElements(); - this.pExponentialDistribution = new ExponentialDistributionElements(); - this.pGateDefinition = new GateDefinitionElements(); - this.pAndGateDefinition = new AndGateDefinitionElements(); - this.pOrGateDefinition = new OrGateDefinitionElements(); - this.pKOfMGateDefinition = new KOfMGateDefinitionElements(); - this.pTransformationDefinition = new TransformationDefinitionElements(); - this.pMappingDefinition = new MappingDefinitionElements(); - this.pMappingParameter = new MappingParameterElements(); - this.pLookupDefinition = new LookupDefinitionElements(); - this.pVariable = new VariableElements(); - this.pAssignment = new AssignmentElements(); - this.pEventReference = new EventReferenceElements(); - this.pComponentInstance = new ComponentInstanceElements(); - this.pQualifiedName = new QualifiedNameElements(); - this.pQualifiedNameWithWildcard = new QualifiedNameWithWildcardElements(); - this.pValidId = new ValidIdElements(); - this.pDouble = new DoubleElements(); - this.tOF_INT = (TerminalRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.OF_INT"); - this.tT_DOUBLE = (TerminalRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.T_DOUBLE"); - } - - protected Grammar internalFindGrammar(GrammarProvider grammarProvider) { - Grammar grammar = grammarProvider.getGrammar(this); - while (grammar != null) { - if ("hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage".equals(grammar.getName())) { - return grammar; - } - List grammars = grammar.getUsedGrammars(); - if (!grammars.isEmpty()) { - grammar = grammars.iterator().next(); - } else { - return null; - } - } - return grammar; - } - - @Override - public Grammar getGrammar() { - return grammar; - } - - - public TerminalsGrammarAccess getTerminalsGrammarAccess() { - return gaTerminals; - } - - - //CftModel: - // "package" packageName=QualifiedName ";"? - // imports+=ImportDeclaration* (componentDefinitions+=ComponentDefinition | - // transformationDefinitions+=TransformationDefinition)*; - public CftModelElements getCftModelAccess() { - return pCftModel; - } - - public ParserRule getCftModelRule() { - return getCftModelAccess().getRule(); - } - - //ImportDeclaration: - // "import" importedNamespace=QualifiedNameWithWildcard ";"?; - public ImportDeclarationElements getImportDeclarationAccess() { - return pImportDeclaration; - } - - public ParserRule getImportDeclarationRule() { - return getImportDeclarationAccess().getRule(); - } - - //ComponentDefinition cft::ComponentDefinition: - // "cft" name=ValidId "{" (("in" inputEvents+=InputEvent* ";")? & ("out" outputEvents+=[cft::EventDeclaration|ValidId]* - // ";")?) (eventDefinitions+=EventDefinition ";")* - // "}"; - public ComponentDefinitionElements getComponentDefinitionAccess() { - return pComponentDefinition; - } - - public ParserRule getComponentDefinitionRule() { - return getComponentDefinitionAccess().getRule(); - } - - //InputEvent cft::InputEvent: - // name=ValidId multiple?="[]"?; - public InputEventElements getInputEventAccess() { - return pInputEvent; - } - - public ParserRule getInputEventRule() { - return getInputEventAccess().getRule(); - } - - //EventDefinition cft::EventDefinition: - // BasicEventDefinition | GateDefinition; - public EventDefinitionElements getEventDefinitionAccess() { - return pEventDefinition; - } - - public ParserRule getEventDefinitionRule() { - return getEventDefinitionAccess().getRule(); - } - - //BasicEventDefinition cft::BasicEventDefinition: - // name=ValidId distribution=Distribution; - public BasicEventDefinitionElements getBasicEventDefinitionAccess() { - return pBasicEventDefinition; - } - - public ParserRule getBasicEventDefinitionRule() { - return getBasicEventDefinitionAccess().getRule(); - } - - //Distribution ft::Distribution: - // ConstantDistribution | ExponentialDistribution; - public DistributionElements getDistributionAccess() { - return pDistribution; - } - - public ParserRule getDistributionRule() { - return getDistributionAccess().getRule(); - } - - //ConstantDistribution ft::ConstantDistribution: - // "prob" "=" p=Double; - public ConstantDistributionElements getConstantDistributionAccess() { - return pConstantDistribution; - } - - public ParserRule getConstantDistributionRule() { - return getConstantDistributionAccess().getRule(); - } - - //ExponentialDistribution ft::ExponentialDistribution: - // "lambda" "=" lambda=Double; - public ExponentialDistributionElements getExponentialDistributionAccess() { - return pExponentialDistribution; - } - - public ParserRule getExponentialDistributionRule() { - return getExponentialDistributionAccess().getRule(); - } - - //GateDefinition cft::GateDefinition: - // AndGateDefinition | OrGateDefinition | KOfMGateDefinition; - public GateDefinitionElements getGateDefinitionAccess() { - return pGateDefinition; - } - - public ParserRule getGateDefinitionRule() { - return getGateDefinitionAccess().getRule(); - } - - //AndGateDefinition cft::AndGateDefinition: - // name=ValidId "and" inputEvents+=[cft::EventDeclaration|ValidId]*; - public AndGateDefinitionElements getAndGateDefinitionAccess() { - return pAndGateDefinition; - } - - public ParserRule getAndGateDefinitionRule() { - return getAndGateDefinitionAccess().getRule(); - } - - //OrGateDefinition cft::OrGateDefinition: - // name=ValidId "or" inputEvents+=[cft::EventDeclaration|ValidId]*; - public OrGateDefinitionElements getOrGateDefinitionAccess() { - return pOrGateDefinition; - } - - public ParserRule getOrGateDefinitionRule() { - return getOrGateDefinitionAccess().getRule(); - } - - //KOfMGateDefinition cft::KOfMGateDefinition: - // name=ValidId k=INT ("of" m=INT | m=OF_INT) inputEvents+=[cft::EventDeclaration|ValidId]*; - public KOfMGateDefinitionElements getKOfMGateDefinitionAccess() { - return pKOfMGateDefinition; - } - - public ParserRule getKOfMGateDefinitionRule() { - return getKOfMGateDefinitionAccess().getRule(); - } - - //TransformationDefinition: - // "transformation" name=ValidId "{" - // mappingDefinitions+=MappingDefinition* - // "}"; - public TransformationDefinitionElements getTransformationDefinitionAccess() { - return pTransformationDefinition; - } - - public ParserRule getTransformationDefinitionRule() { - return getTransformationDefinitionAccess().getRule(); - } - - //MappingDefinition: - // topLevel?="toplevel"? "mapping" pattern=[vql::Pattern|QualifiedName] - // "(" parameters+=MappingParameter ("," parameters+=MappingParameter)* ")" - // componentInstance=ComponentInstance? ("{" ((lookupDefinitions+=LookupDefinition | assignments+=Assignment) ";")* - // "}")?; - public MappingDefinitionElements getMappingDefinitionAccess() { - return pMappingDefinition; - } - - public ParserRule getMappingDefinitionRule() { - return getMappingDefinitionAccess().getRule(); - } - - //MappingParameter: - // name=ValidId; - public MappingParameterElements getMappingParameterAccess() { - return pMappingParameter; - } - - public ParserRule getMappingParameterRule() { - return getMappingParameterAccess().getRule(); - } - - //LookupDefinition: - // "lookup" mapping=[MappingDefinition|QualifiedName] - // "(" arguments+=[MappingParameter|ValidId] ("," arguments+=[MappingParameter|ValidId])* ")" - // "as" name=ValidId; - public LookupDefinitionElements getLookupDefinitionAccess() { - return pLookupDefinition; - } - - public ParserRule getLookupDefinitionRule() { - return getLookupDefinitionAccess().getRule(); - } - - //Variable: - // ComponentInstance | LookupDefinition; - public VariableElements getVariableAccess() { - return pVariable; - } - - public ParserRule getVariableRule() { - return getVariableAccess().getRule(); - } - - //Assignment: - // input=EventReference (multiple?="+=" | ":=") output=EventReference; - public AssignmentElements getAssignmentAccess() { - return pAssignment; - } - - public ParserRule getAssignmentRule() { - return getAssignmentAccess().getRule(); - } - - //EventReference: - // component=[Variable|ValidId] "." event=[cft::EventDeclaration|ValidId]; - public EventReferenceElements getEventReferenceAccess() { - return pEventReference; - } - - public ParserRule getEventReferenceRule() { - return getEventReferenceAccess().getRule(); - } - - //ComponentInstance: - // "=>" componentType=[cft::ComponentDefinition|QualifiedName] name=ValidId?; - public ComponentInstanceElements getComponentInstanceAccess() { - return pComponentInstance; - } - - public ParserRule getComponentInstanceRule() { - return getComponentInstanceAccess().getRule(); - } - - //QualifiedName: - // ValidId ("." ValidId)*; - public QualifiedNameElements getQualifiedNameAccess() { - return pQualifiedName; - } - - public ParserRule getQualifiedNameRule() { - return getQualifiedNameAccess().getRule(); - } - - //QualifiedNameWithWildcard: - // QualifiedName ("." "*")?; - public QualifiedNameWithWildcardElements getQualifiedNameWithWildcardAccess() { - return pQualifiedNameWithWildcard; - } - - public ParserRule getQualifiedNameWithWildcardRule() { - return getQualifiedNameWithWildcardAccess().getRule(); - } - - //ValidId: - // ID | OF_INT; - public ValidIdElements getValidIdAccess() { - return pValidId; - } - - public ParserRule getValidIdRule() { - return getValidIdAccess().getRule(); - } - - //Double ecore::EDouble: - // INT | T_DOUBLE; - public DoubleElements getDoubleAccess() { - return pDouble; - } - - public ParserRule getDoubleRule() { - return getDoubleAccess().getRule(); - } - - //terminal OF_INT returns ecore::EInt: - // "o" "f" '0'..'9'+; - public TerminalRule getOF_INTRule() { - return tOF_INT; - } - - //terminal T_DOUBLE: - // '0'..'9'+ ("." '0'..'9'+ | ("." '0'..'9'+)? ("e" | "E") ("+" | "-")? '0'..'9'+); - public TerminalRule getT_DOUBLERule() { - return tT_DOUBLE; - } - - //terminal ID: - // '^'? ('a'..'z' | 'A'..'Z' | '_') ('a'..'z' | 'A'..'Z' | '_' | '0'..'9')*; - public TerminalRule getIDRule() { - return gaTerminals.getIDRule(); - } - - //terminal INT returns ecore::EInt: - // '0'..'9'+; - public TerminalRule getINTRule() { - return gaTerminals.getINTRule(); - } - - //terminal STRING: - // '"' ('\\' . | !('\\' | '"'))* '"' | - // "'" ('\\' . | !('\\' | "'"))* "'"; - public TerminalRule getSTRINGRule() { - return gaTerminals.getSTRINGRule(); - } - - //terminal ML_COMMENT: - // '/*'->'*/'; - public TerminalRule getML_COMMENTRule() { - return gaTerminals.getML_COMMENTRule(); - } - - //terminal SL_COMMENT: - // '//' !('\n' | '\r')* ('\r'? '\n')?; - public TerminalRule getSL_COMMENTRule() { - return gaTerminals.getSL_COMMENTRule(); - } - - //terminal WS: - // ' ' | '\t' | '\r' | '\n'+; - public TerminalRule getWSRule() { - return gaTerminals.getWSRule(); - } - - //terminal ANY_OTHER: - // .; - public TerminalRule getANY_OTHERRule() { - return gaTerminals.getANY_OTHERRule(); - } -} diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/validation/AbstractCftLanguageValidator.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/validation/AbstractCftLanguageValidator.java deleted file mode 100644 index 1c5dbdee..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/validation/AbstractCftLanguageValidator.java +++ /dev/null @@ -1,21 +0,0 @@ -/* - * generated by Xtext 2.16.0 - */ -package hu.bme.mit.inf.dslreasoner.faulttree.components.validation; - -import java.util.ArrayList; -import java.util.List; -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.xtext.validation.AbstractDeclarativeValidator; - -public abstract class AbstractCftLanguageValidator extends AbstractDeclarativeValidator { - - @Override - protected List getEPackages() { - List result = new ArrayList(); - result.add(hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage.eINSTANCE); - result.add(EPackage.Registry.INSTANCE.getEPackage("http://www.bme.hu/mit/inf/dslreasoner/faulttree/model/cft")); - result.add(EPackage.Registry.INSTANCE.getEPackage("http://www.bme.hu/mit/inf/dslreasoner/faulttree/model/ft")); - return result; - } -} diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/validation/CftLanguageConfigurableIssueCodesProvider.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/validation/CftLanguageConfigurableIssueCodesProvider.java deleted file mode 100644 index 642dcb1d..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/validation/CftLanguageConfigurableIssueCodesProvider.java +++ /dev/null @@ -1,22 +0,0 @@ -/* - * generated by Xtext 2.16.0 - */ -package hu.bme.mit.inf.dslreasoner.faulttree.components.validation; - -import org.eclipse.xtext.preferences.PreferenceKey; -import org.eclipse.xtext.util.IAcceptor; -import org.eclipse.xtext.validation.ConfigurableIssueCodesProvider; -import org.eclipse.xtext.validation.SeverityConverter; - -@SuppressWarnings("restriction") -public class CftLanguageConfigurableIssueCodesProvider extends ConfigurableIssueCodesProvider { - protected static final String ISSUE_CODE_PREFIX = "hu.bme.mit.inf.dslreasoner.faulttree.components."; - - public static final String DEPRECATED_MODEL_PART = ISSUE_CODE_PREFIX + "deprecatedModelPart"; - - @Override - protected void initialize(IAcceptor acceptor) { - super.initialize(acceptor); - acceptor.accept(create(DEPRECATED_MODEL_PART, SeverityConverter.SEVERITY_WARNING)); - } -} diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src/hu/bme/mit/inf/dslreasoner/faulttree/components/CftLanguage.xtext b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src/hu/bme/mit/inf/dslreasoner/faulttree/components/CftLanguage.xtext deleted file mode 100644 index ab053f67..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src/hu/bme/mit/inf/dslreasoner/faulttree/components/CftLanguage.xtext +++ /dev/null @@ -1,101 +0,0 @@ -grammar hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage with org.eclipse.xtext.common.Terminals - -import "http://www.eclipse.org/emf/2002/Ecore" as ecore -import "http://www.eclipse.org/viatra/query/patternlanguage/emf/PatternLanguage" as vql -import "http://www.bme.hu/mit/inf/dslreasoner/faulttree/model/ft" as ft -import "http://www.bme.hu/mit/inf/dslreasoner/faulttree/model/cft" as cft -generate cftLanguage "http://www.bme.hu/mit/inf/dslreasoner/faulttree/components/CftLanguage" - -CftModel: - "package" packageName=QualifiedName ";"? - imports+=ImportDeclaration* - (componentDefinitions+=ComponentDefinition | transformationDefinitions+=TransformationDefinition)*; - -ImportDeclaration: - "import" importedNamespace=QualifiedNameWithWildcard ";"?; - -ComponentDefinition returns cft::ComponentDefinition: - "cft" name=ValidId "{" - (("in" inputEvents+=InputEvent* ";")? & ("out" outputEvents+=[cft::EventDeclaration|ValidId]* ";")?) - (eventDefinitions+=EventDefinition ";")* - "}"; - -InputEvent returns cft::InputEvent: - name=ValidId multiple?="[]"?; - -EventDefinition returns cft::EventDefinition: - BasicEventDefinition | GateDefinition; - -BasicEventDefinition returns cft::BasicEventDefinition: - name=ValidId distribution=Distribution; - -Distribution returns ft::Distribution: - ConstantDistribution | ExponentialDistribution; - -ConstantDistribution returns ft::ConstantDistribution: - "prob" "=" p=Double; - -ExponentialDistribution returns ft::ExponentialDistribution: - "lambda" "=" lambda=Double; - -GateDefinition returns cft::GateDefinition: - AndGateDefinition | OrGateDefinition | KOfMGateDefinition; - -AndGateDefinition returns cft::AndGateDefinition: - name=ValidId "and" inputEvents+=[cft::EventDeclaration|ValidId]*; - -OrGateDefinition returns cft::OrGateDefinition: - name=ValidId "or" inputEvents+=[cft::EventDeclaration|ValidId]*; - -KOfMGateDefinition returns cft::KOfMGateDefinition: - name=ValidId k=INT ("of" m=INT | m=OF_INT) inputEvents+=[cft::EventDeclaration|ValidId]*; - -TransformationDefinition: - "transformation" name=ValidId "{" - mappingDefinitions+=MappingDefinition* - "}"; - -MappingDefinition: - topLevel?="toplevel"? "mapping" pattern=[vql::Pattern|QualifiedName] - "(" parameters+=MappingParameter ("," parameters+=MappingParameter)* ")" - (componentInstance=ComponentInstance)? ("{" - ((lookupDefinitions+=LookupDefinition | assignments+=Assignment) ";")* - "}")?; - -MappingParameter: - name=ValidId; - -LookupDefinition: - "lookup" mapping=[MappingDefinition|QualifiedName] - "(" arguments+=[MappingParameter|ValidId] ("," arguments+=[MappingParameter|ValidId])* ")" - "as" name=ValidId; - -Variable: - ComponentInstance | LookupDefinition; - -Assignment: - input=EventReference (multiple?="+=" | ":=") output=EventReference; - -EventReference: - component=[Variable|ValidId] "." event=[cft::EventDeclaration|ValidId]; - -ComponentInstance: - "=>" componentType=[cft::ComponentDefinition|QualifiedName] name=ValidId?; - -QualifiedName returns ecore::EString: - ValidId ("." ValidId)*; - -QualifiedNameWithWildcard returns ecore::EString: - QualifiedName ("." "*")?; - -ValidId: - ID | OF_INT; - -Double returns ecore::EDouble: - INT | T_DOUBLE; - -terminal OF_INT returns ecore::EInt: - "o" "f" ('0'..'9')+; - -terminal T_DOUBLE: - ('0'..'9')+ ("." ('0'..'9')+ | ("." ('0'..'9')+)? ("e" | "E") ("+" | "-")? ('0'..'9')+); diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src/hu/bme/mit/inf/dslreasoner/faulttree/components/CftLanguageRuntimeModule.xtend b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src/hu/bme/mit/inf/dslreasoner/faulttree/components/CftLanguageRuntimeModule.xtend deleted file mode 100644 index fe5965fa..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src/hu/bme/mit/inf/dslreasoner/faulttree/components/CftLanguageRuntimeModule.xtend +++ /dev/null @@ -1,37 +0,0 @@ -/* - * generated by Xtext 2.16.0 - */ -package hu.bme.mit.inf.dslreasoner.faulttree.components - -import com.google.inject.Binder -import com.google.inject.name.Names -import hu.bme.mit.inf.dslreasoner.faulttree.components.conversion.CftLanguageValueConverterService -import hu.bme.mit.inf.dslreasoner.faulttree.components.naming.CftLanguageQualifiedNameProvider -import hu.bme.mit.inf.dslreasoner.faulttree.components.scoping.CftLanguageImportedNamespaceAwareLocalScopeProvider -import org.eclipse.xtext.scoping.IScopeProvider -import org.eclipse.xtext.scoping.impl.AbstractDeclarativeScopeProvider -import org.eclipse.xtext.scoping.impl.DefaultGlobalScopeProvider - -/** - * Use this class to register components to be used at runtime / without the Equinox extension registry. - */ -class CftLanguageRuntimeModule extends AbstractCftLanguageRuntimeModule { - - override bindIGlobalScopeProvider() { - DefaultGlobalScopeProvider - } - - override configureIScopeProviderDelegate(Binder binder) { - binder.bind(IScopeProvider).annotatedWith(Names.named(AbstractDeclarativeScopeProvider.NAMED_DELEGATE)).to( - CftLanguageImportedNamespaceAwareLocalScopeProvider) - } - - - override bindIQualifiedNameProvider() { - CftLanguageQualifiedNameProvider - } - - override bindIValueConverterService() { - CftLanguageValueConverterService - } -} diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src/hu/bme/mit/inf/dslreasoner/faulttree/components/CftLanguageStandaloneSetup.xtend b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src/hu/bme/mit/inf/dslreasoner/faulttree/components/CftLanguageStandaloneSetup.xtend deleted file mode 100644 index 7ec57980..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src/hu/bme/mit/inf/dslreasoner/faulttree/components/CftLanguageStandaloneSetup.xtend +++ /dev/null @@ -1,15 +0,0 @@ -/* - * generated by Xtext 2.16.0 - */ -package hu.bme.mit.inf.dslreasoner.faulttree.components - - -/** - * Initialization support for running Xtext languages without Equinox extension registry. - */ -class CftLanguageStandaloneSetup extends CftLanguageStandaloneSetupGenerated { - - def static void doSetup() { - new CftLanguageStandaloneSetup().createInjectorAndDoEMFRegistration() - } -} diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src/hu/bme/mit/inf/dslreasoner/faulttree/components/GenerateCftLanguage.mwe2 b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src/hu/bme/mit/inf/dslreasoner/faulttree/components/GenerateCftLanguage.mwe2 deleted file mode 100644 index 89efbb05..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src/hu/bme/mit/inf/dslreasoner/faulttree/components/GenerateCftLanguage.mwe2 +++ /dev/null @@ -1,48 +0,0 @@ -module hu.bme.mit.inf.dslreasoner.faulttree.components.GenerateCftLanguage - -import org.eclipse.xtext.xtext.generator.* -import org.eclipse.xtext.xtext.generator.model.project.* - -var rootPath = ".." - -Workflow { - - component = XtextGenerator { - configuration = { - project = StandardProjectConfig { - baseName = "hu.bme.mit.inf.dslreasoner.faulttree.components" - rootPath = rootPath - eclipsePlugin = { - enabled = true - } - createEclipseMetaData = true - } - code = { - encoding = "UTF-8" - lineDelimiter = "\n" - fileHeader = "/*\n * generated by Xtext \${version}\n */" - } - } - language = StandardLanguage { - name = "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage" - fileExtensions = "cft" - - referencedResource = "platform:/resource/org.eclipse.emf.ecore/model/Ecore.genmodel" - referencedResource = "platform:/resource/org.eclipse.viatra.query.patternlanguage.emf/model/PatternLanguage.genmodel" - referencedResource = "platform:/resource/hu.bme.mit.inf.dslreasoner.faulttree.model/model/ft.genmodel" - referencedResource = "platform:/resource/hu.bme.mit.inf.dslreasoner.faulttree.model/model/cft.genmodel" - - serializer = { - generateStub = false - } - validator = { - // composedCheck = "org.eclipse.xtext.validation.NamesAreUniqueValidator" - // Generates checks for @Deprecated grammar annotations, an IssueProvider and a corresponding PropertyPage - generateDeprecationValidation = true - } - junitSupport = { - junitVersion = "5" - } - } - } -} diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src/hu/bme/mit/inf/dslreasoner/faulttree/components/conversion/CftLanguageValueConverterService.xtend b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src/hu/bme/mit/inf/dslreasoner/faulttree/components/conversion/CftLanguageValueConverterService.xtend deleted file mode 100644 index 974e0df4..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src/hu/bme/mit/inf/dslreasoner/faulttree/components/conversion/CftLanguageValueConverterService.xtend +++ /dev/null @@ -1,15 +0,0 @@ -package hu.bme.mit.inf.dslreasoner.faulttree.components.conversion - -import com.google.inject.Inject -import org.eclipse.xtext.common.services.DefaultTerminalConverters -import org.eclipse.xtext.conversion.IValueConverter -import org.eclipse.xtext.conversion.ValueConverter - -class CftLanguageValueConverterService extends DefaultTerminalConverters { - @Inject OF_INTValueConverter ofIntValueConverter - - @ValueConverter(rule="OF_INT") - def IValueConverter OF_INT() { - ofIntValueConverter - } -} diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src/hu/bme/mit/inf/dslreasoner/faulttree/components/conversion/OF_INTValueConverter.xtend b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src/hu/bme/mit/inf/dslreasoner/faulttree/components/conversion/OF_INTValueConverter.xtend deleted file mode 100644 index ba3d39e6..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src/hu/bme/mit/inf/dslreasoner/faulttree/components/conversion/OF_INTValueConverter.xtend +++ /dev/null @@ -1,35 +0,0 @@ -package hu.bme.mit.inf.dslreasoner.faulttree.components.conversion - -import org.eclipse.xtext.conversion.ValueConverterException -import org.eclipse.xtext.conversion.impl.AbstractLexerBasedConverter -import org.eclipse.xtext.nodemodel.INode - -class OF_INTValueConverter extends AbstractLexerBasedConverter { - static val PREFIX = "of" - - override toValue(String string, INode node) throws ValueConverterException { - if (string === null) { - return null - } - if (string.length < PREFIX.length || string.substring(0, PREFIX.length) != PREFIX) { - throw new ValueConverterException("'" + string + "' must start with the characters 'of'.", node, null); - } - try { - val intValue = Integer.parseInt(string.substring(PREFIX.length), 10) - Integer.valueOf(intValue) - } catch (NumberFormatException e) { - throw new ValueConverterException("Couldn't convert '" + string + "' to an int value.", node, e); - } - } - - override protected toEscapedString(Integer value) { - PREFIX + value - } - - override protected assertValidValue(Integer value) { - super.assertValidValue(value) - if (value < 0) { - throw new ValueConverterException(getRuleName() + " may not be negative.", null, null); - } - } -} diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src/hu/bme/mit/inf/dslreasoner/faulttree/components/generator/CftLanguageGenerator.xtend b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src/hu/bme/mit/inf/dslreasoner/faulttree/components/generator/CftLanguageGenerator.xtend deleted file mode 100644 index d7ebace4..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src/hu/bme/mit/inf/dslreasoner/faulttree/components/generator/CftLanguageGenerator.xtend +++ /dev/null @@ -1,25 +0,0 @@ -/* - * generated by Xtext 2.16.0 - */ -package hu.bme.mit.inf.dslreasoner.faulttree.components.generator - -import org.eclipse.emf.ecore.resource.Resource -import org.eclipse.xtext.generator.AbstractGenerator -import org.eclipse.xtext.generator.IFileSystemAccess2 -import org.eclipse.xtext.generator.IGeneratorContext - -/** - * Generates code from your model files on save. - * - * See https://www.eclipse.org/Xtext/documentation/303_runtime_concepts.html#code-generation - */ -class CftLanguageGenerator extends AbstractGenerator { - - override void doGenerate(Resource resource, IFileSystemAccess2 fsa, IGeneratorContext context) { -// fsa.generateFile('greetings.txt', 'People to greet: ' + -// resource.allContents -// .filter(Greeting) -// .map[name] -// .join(', ')) - } -} diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src/hu/bme/mit/inf/dslreasoner/faulttree/components/naming/CftLanguageQualifiedNameProvider.xtend b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src/hu/bme/mit/inf/dslreasoner/faulttree/components/naming/CftLanguageQualifiedNameProvider.xtend deleted file mode 100644 index db89ebf9..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src/hu/bme/mit/inf/dslreasoner/faulttree/components/naming/CftLanguageQualifiedNameProvider.xtend +++ /dev/null @@ -1,27 +0,0 @@ -package hu.bme.mit.inf.dslreasoner.faulttree.components.naming - -import com.google.inject.Inject -import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.TransformationDefinition -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentDefinition -import org.eclipse.emf.ecore.EObject -import org.eclipse.xtext.naming.DefaultDeclarativeQualifiedNameProvider - -class CftLanguageQualifiedNameProvider extends DefaultDeclarativeQualifiedNameProvider { - @Inject PackageNameProvider packageNameProvider - - def qualifiedName(ComponentDefinition componentDefinition) { - computePackageQualifiedName(componentDefinition, componentDefinition.name) - } - - def qualifiedName(TransformationDefinition transformationDefinition) { - computePackageQualifiedName(transformationDefinition, transformationDefinition.name) - } - - private def computePackageQualifiedName(EObject eObj, String name) { - if (name === null) { - return null - } - val packageQualifier = packageNameProvider.getPackageName(eObj) - packageQualifier.append(name) - } -} diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src/hu/bme/mit/inf/dslreasoner/faulttree/components/naming/PackageNameProvider.xtend b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src/hu/bme/mit/inf/dslreasoner/faulttree/components/naming/PackageNameProvider.xtend deleted file mode 100644 index a05c8138..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src/hu/bme/mit/inf/dslreasoner/faulttree/components/naming/PackageNameProvider.xtend +++ /dev/null @@ -1,30 +0,0 @@ -package hu.bme.mit.inf.dslreasoner.faulttree.components.naming - -import com.google.inject.Inject -import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftModel -import org.eclipse.emf.ecore.EObject -import org.eclipse.xtend.lib.annotations.FinalFieldsConstructor -import org.eclipse.xtext.EcoreUtil2 -import org.eclipse.xtext.naming.IQualifiedNameConverter -import org.eclipse.xtext.naming.QualifiedName - -class PackageNameProvider { - val IQualifiedNameConverter qualifiedNameConverter - - @FinalFieldsConstructor - @Inject - new() { - } - - def getPackageName(EObject eObj) { - if (eObj === null) { - return QualifiedName.EMPTY - } - val pacakgeName = EcoreUtil2.getContainerOfType(eObj, CftModel)?.packageName - if (pacakgeName.isNullOrEmpty) { - QualifiedName.EMPTY - } else { - qualifiedNameConverter.toQualifiedName(pacakgeName) - } - } -} diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src/hu/bme/mit/inf/dslreasoner/faulttree/components/scoping/CftLanguageImportedNamespaceAwareLocalScopeProvider.xtend b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src/hu/bme/mit/inf/dslreasoner/faulttree/components/scoping/CftLanguageImportedNamespaceAwareLocalScopeProvider.xtend deleted file mode 100644 index 39a6e5a5..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src/hu/bme/mit/inf/dslreasoner/faulttree/components/scoping/CftLanguageImportedNamespaceAwareLocalScopeProvider.xtend +++ /dev/null @@ -1,45 +0,0 @@ -package hu.bme.mit.inf.dslreasoner.faulttree.components.scoping - -import com.google.inject.Inject -import com.google.inject.Singleton -import hu.bme.mit.inf.dslreasoner.faulttree.components.naming.PackageNameProvider -import org.eclipse.emf.ecore.EObject -import org.eclipse.emf.ecore.EReference -import org.eclipse.xtext.naming.IQualifiedNameConverter -import org.eclipse.xtext.naming.IQualifiedNameProvider -import org.eclipse.xtext.scoping.ICaseInsensitivityHelper -import org.eclipse.xtext.scoping.IGlobalScopeProvider -import org.eclipse.xtext.scoping.IScope -import org.eclipse.xtext.scoping.impl.ImportedNamespaceAwareLocalScopeProvider - -@Singleton -class CftLanguageImportedNamespaceAwareLocalScopeProvider extends ImportedNamespaceAwareLocalScopeProvider { - @Inject PackageNameProvider packageNameProvider - - @Inject - new() { - } - - new(IGlobalScopeProvider globalScopeProvider, IQualifiedNameProvider qualifiedNameProvider, - IQualifiedNameConverter qualifiedNameConverter, ICaseInsensitivityHelper caseInsensitivityHelper) { - super(globalScopeProvider, qualifiedNameProvider, qualifiedNameConverter, caseInsensitivityHelper) - packageNameProvider = new PackageNameProvider(qualifiedNameConverter) - } - - override protected internalGetImportedNamespaceResolvers(EObject context, boolean ignoreCase) { - val resolvers = super.internalGetImportedNamespaceResolvers(context, ignoreCase) - val packageName = packageNameProvider.getPackageName(context) - if (!packageName.empty) { - val packageNormalizer = doCreateImportNormalizer(packageName, true, ignoreCase) - resolvers.add(0, packageNormalizer) - } - resolvers - } - - def createImportNormalizedScope(IScope elements, EObject context, EReference reference) { - val ignoreCase = isIgnoreCase(reference) - val type = reference.EReferenceType - val namespaceResolvers = getImportedNamespaceResolvers(context, ignoreCase) - createImportScope(elements, namespaceResolvers, null, type, ignoreCase) - } -} diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src/hu/bme/mit/inf/dslreasoner/faulttree/components/scoping/CftLanguageScopeProvider.xtend b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src/hu/bme/mit/inf/dslreasoner/faulttree/components/scoping/CftLanguageScopeProvider.xtend deleted file mode 100644 index f295f116..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src/hu/bme/mit/inf/dslreasoner/faulttree/components/scoping/CftLanguageScopeProvider.xtend +++ /dev/null @@ -1,147 +0,0 @@ -/* - * generated by Xtext 2.16.0 - */ -package hu.bme.mit.inf.dslreasoner.faulttree.components.scoping - -import com.google.common.collect.Lists -import com.google.inject.Inject -import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.ComponentInstance -import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.EventReference -import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.LookupDefinition -import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingDefinition -import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.TransformationDefinition -import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.Variable -import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.MappingDefinitionImpl -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentDefinition -import org.eclipse.emf.common.notify.Notifier -import org.eclipse.emf.ecore.EObject -import org.eclipse.emf.ecore.EReference -import org.eclipse.xtext.EcoreUtil2 -import org.eclipse.xtext.resource.EObjectDescription -import org.eclipse.xtext.resource.IResourceDescriptions -import org.eclipse.xtext.resource.IResourceDescriptionsProvider -import org.eclipse.xtext.scoping.IScope -import org.eclipse.xtext.scoping.Scopes -import org.eclipse.xtext.scoping.impl.SimpleScope - -import static hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage.Literals.* - -/** - * This class contains custom scoping description. - * - * See https://www.eclipse.org/Xtext/documentation/303_runtime_concepts.html#scoping - * on how and when to use it. - */ -class CftLanguageScopeProvider extends AbstractCftLanguageScopeProvider { - public static val SINGLETON_VARIABLE_PREFIX = "_" - - @Inject IResourceDescriptionsProvider resourceDescriptionsProvider - @Inject CftLanguageImportedNamespaceAwareLocalScopeProvider importedNamespaceProvider - - override getScope(EObject context, EReference reference) { - switch (reference) { - case LOOKUP_DEFINITION__MAPPING: - getRuleDefinitionsScope(context, reference) - case LOOKUP_DEFINITION__ARGUMENTS: - getMappingParametersScope(context) - case EVENT_REFERENCE__COMPONENT: - getComponentInstancesScope(context) - case EVENT_REFERENCE__EVENT: - getEventDeclarationsScope(context) - default: - super.getScope(context, reference) - } - } - - protected def getRuleDefinitionsScope(EObject context, EReference referece) { - val transformationDefinition = EcoreUtil2.getContainerOfType(context, TransformationDefinition) - if (transformationDefinition === null) { - return IScope.NULLSCOPE - } - val resourceDescriptions = getResourceDescriptions(transformationDefinition) - val mappingDefinitionDescriptions = toMappingDefinitionDescriptions(resourceDescriptions, - transformationDefinition.mappingDefinitions) - val ruleDefinitionsScope = new SimpleScope(IScope.NULLSCOPE, mappingDefinitionDescriptions) - importedNamespaceProvider.createImportNormalizedScope(ruleDefinitionsScope, context, referece) - } - - protected def toMappingDefinitionDescriptions(IResourceDescriptions resourceDescriptions, - Iterable ruleDefinitions) { - val mappingDefinitionDescriptions = Lists.newArrayListWithExpectedSize(ruleDefinitions.size) - for (ruleDefinition : ruleDefinitions) { - val pattern = ruleDefinition.safelyGetPattern - if (pattern !== null) { - val patternName = resourceDescriptions.getExportedObjectsByObject(pattern).head?.qualifiedName - if (patternName !== null) { - mappingDefinitionDescriptions += EObjectDescription.create(patternName, ruleDefinition) - } - } - - } - mappingDefinitionDescriptions - } - - private def safelyGetPattern(MappingDefinition mappingDefinition) { - switch (mappingDefinition) { - MappingDefinitionImpl: mappingDefinition.basicGetPattern - case null: null - default: mappingDefinition.pattern - } - } - - private def getResourceDescriptions(Notifier notifier) { - val resourceSet = EcoreUtil2.getResourceSet(notifier) - if (resourceSet === null) { - new IResourceDescriptions.NullImpl - } else { - resourceDescriptionsProvider.getResourceDescriptions(resourceSet) - } - } - - protected def getMappingParametersScope(EObject context) { - val mappingDefinition = EcoreUtil2.getContainerOfType(context, MappingDefinition) - if (mappingDefinition === null) { - return IScope.NULLSCOPE - } - val variables = mappingDefinition.parameters.filter [ - !name.startsWith(SINGLETON_VARIABLE_PREFIX) - ] - Scopes.scopeFor(variables) - } - - protected def getComponentInstancesScope(EObject context) { - val mappingDefinition = EcoreUtil2.getContainerOfType(context, MappingDefinition) - if (mappingDefinition === null) { - return IScope.NULLSCOPE - } - val componentInstances = newArrayList - componentInstances.addAll(mappingDefinition.lookupDefinitions) - if (mappingDefinition.componentInstance !== null) { - componentInstances += mappingDefinition.componentInstance - } - Scopes.scopeFor(componentInstances) - } - - protected def getEventDeclarationsScope(EObject context) { - val variable = EcoreUtil2.getContainerOfType(context, EventReference)?.component - val events = switch (variable) { - ComponentInstance: - variable.componentType?.allEventDeclarations - LookupDefinition: - variable.mapping?.componentInstance?.componentType?.allEventDeclarations - default: - null - } - if (events === null) { - return IScope.NULLSCOPE - } - Scopes.scopeFor(events) - } - - private def getAllEventDeclarations(ComponentDefinition componentDefinition) { - val eventDeclarations = newArrayList - eventDeclarations.addAll(componentDefinition.inputEvents) - eventDeclarations.addAll(componentDefinition.eventDefinitions) - eventDeclarations - } -} diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src/hu/bme/mit/inf/dslreasoner/faulttree/components/validation/CftLanguageValidator.xtend b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src/hu/bme/mit/inf/dslreasoner/faulttree/components/validation/CftLanguageValidator.xtend deleted file mode 100644 index f1da10bb..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src/hu/bme/mit/inf/dslreasoner/faulttree/components/validation/CftLanguageValidator.xtend +++ /dev/null @@ -1,25 +0,0 @@ -/* - * generated by Xtext 2.16.0 - */ -package hu.bme.mit.inf.dslreasoner.faulttree.components.validation - - -/** - * This class contains custom validation rules. - * - * See https://www.eclipse.org/Xtext/documentation/303_runtime_concepts.html#validation - */ -class CftLanguageValidator extends AbstractCftLanguageValidator { - -// public static val INVALID_NAME = 'invalidName' -// -// @Check -// def checkGreetingStartsWithCapital(Greeting greeting) { -// if (!Character.isUpperCase(greeting.name.charAt(0))) { -// warning('Name should start with a capital', -// CftLanguagePackage.Literals.GREETING__NAME, -// INVALID_NAME) -// } -// } - -} diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/.CftLanguageRuntimeModule.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/.CftLanguageRuntimeModule.xtendbin deleted file mode 100644 index 25c11260..00000000 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/.CftLanguageRuntimeModule.xtendbin and /dev/null differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/.CftLanguageStandaloneSetup.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/.CftLanguageStandaloneSetup.xtendbin deleted file mode 100644 index 7a10919f..00000000 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/.CftLanguageStandaloneSetup.xtendbin and /dev/null differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/.gitignore b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/.gitignore deleted file mode 100644 index a5028502..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/.gitignore +++ /dev/null @@ -1,6 +0,0 @@ -/.CftLanguageRuntimeModule.java._trace -/.CftLanguageStandaloneSetup.java._trace -/.CftLanguageRuntimeModule.xtendbin -/.CftLanguageStandaloneSetup.xtendbin -/CftLanguageRuntimeModule.java -/CftLanguageStandaloneSetup.java diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/CftLanguageRuntimeModule.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/CftLanguageRuntimeModule.java deleted file mode 100644 index e798e394..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/CftLanguageRuntimeModule.java +++ /dev/null @@ -1,44 +0,0 @@ -/** - * generated by Xtext 2.16.0 - */ -package hu.bme.mit.inf.dslreasoner.faulttree.components; - -import com.google.inject.Binder; -import com.google.inject.name.Names; -import hu.bme.mit.inf.dslreasoner.faulttree.components.AbstractCftLanguageRuntimeModule; -import hu.bme.mit.inf.dslreasoner.faulttree.components.conversion.CftLanguageValueConverterService; -import hu.bme.mit.inf.dslreasoner.faulttree.components.naming.CftLanguageQualifiedNameProvider; -import hu.bme.mit.inf.dslreasoner.faulttree.components.scoping.CftLanguageImportedNamespaceAwareLocalScopeProvider; -import org.eclipse.xtext.conversion.IValueConverterService; -import org.eclipse.xtext.naming.IQualifiedNameProvider; -import org.eclipse.xtext.scoping.IGlobalScopeProvider; -import org.eclipse.xtext.scoping.IScopeProvider; -import org.eclipse.xtext.scoping.impl.AbstractDeclarativeScopeProvider; -import org.eclipse.xtext.scoping.impl.DefaultGlobalScopeProvider; - -/** - * Use this class to register components to be used at runtime / without the Equinox extension registry. - */ -@SuppressWarnings("all") -public class CftLanguageRuntimeModule extends AbstractCftLanguageRuntimeModule { - @Override - public Class bindIGlobalScopeProvider() { - return DefaultGlobalScopeProvider.class; - } - - @Override - public void configureIScopeProviderDelegate(final Binder binder) { - binder.bind(IScopeProvider.class).annotatedWith(Names.named(AbstractDeclarativeScopeProvider.NAMED_DELEGATE)).to( - CftLanguageImportedNamespaceAwareLocalScopeProvider.class); - } - - @Override - public Class bindIQualifiedNameProvider() { - return CftLanguageQualifiedNameProvider.class; - } - - @Override - public Class bindIValueConverterService() { - return CftLanguageValueConverterService.class; - } -} diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/CftLanguageStandaloneSetup.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/CftLanguageStandaloneSetup.java deleted file mode 100644 index 3eed418e..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/CftLanguageStandaloneSetup.java +++ /dev/null @@ -1,16 +0,0 @@ -/** - * generated by Xtext 2.16.0 - */ -package hu.bme.mit.inf.dslreasoner.faulttree.components; - -import hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguageStandaloneSetupGenerated; - -/** - * Initialization support for running Xtext languages without Equinox extension registry. - */ -@SuppressWarnings("all") -public class CftLanguageStandaloneSetup extends CftLanguageStandaloneSetupGenerated { - public static void doSetup() { - new CftLanguageStandaloneSetup().createInjectorAndDoEMFRegistration(); - } -} diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/conversion/.CftLanguageValueConverterService.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/conversion/.CftLanguageValueConverterService.xtendbin deleted file mode 100644 index f4a74d7b..00000000 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/conversion/.CftLanguageValueConverterService.xtendbin and /dev/null differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/conversion/.OF_INTValueConverter.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/conversion/.OF_INTValueConverter.xtendbin deleted file mode 100644 index 8d4c818e..00000000 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/conversion/.OF_INTValueConverter.xtendbin and /dev/null differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/conversion/.gitignore b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/conversion/.gitignore deleted file mode 100644 index 0a42ffb4..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/conversion/.gitignore +++ /dev/null @@ -1,6 +0,0 @@ -/.OF_INTValueConverter.java._trace -/.CftLanguageValueConverterService.java._trace -/.CftLanguageValueConverterService.xtendbin -/.OF_INTValueConverter.xtendbin -/CftLanguageValueConverterService.java -/OF_INTValueConverter.java diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/conversion/CftLanguageValueConverterService.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/conversion/CftLanguageValueConverterService.java deleted file mode 100644 index f14362c9..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/conversion/CftLanguageValueConverterService.java +++ /dev/null @@ -1,18 +0,0 @@ -package hu.bme.mit.inf.dslreasoner.faulttree.components.conversion; - -import com.google.inject.Inject; -import hu.bme.mit.inf.dslreasoner.faulttree.components.conversion.OF_INTValueConverter; -import org.eclipse.xtext.common.services.DefaultTerminalConverters; -import org.eclipse.xtext.conversion.IValueConverter; -import org.eclipse.xtext.conversion.ValueConverter; - -@SuppressWarnings("all") -public class CftLanguageValueConverterService extends DefaultTerminalConverters { - @Inject - private OF_INTValueConverter ofIntValueConverter; - - @ValueConverter(rule = "OF_INT") - public IValueConverter OF_INT() { - return this.ofIntValueConverter; - } -} diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/conversion/OF_INTValueConverter.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/conversion/OF_INTValueConverter.java deleted file mode 100644 index 0fd2375e..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/conversion/OF_INTValueConverter.java +++ /dev/null @@ -1,58 +0,0 @@ -package hu.bme.mit.inf.dslreasoner.faulttree.components.conversion; - -import com.google.common.base.Objects; -import org.eclipse.xtext.conversion.ValueConverterException; -import org.eclipse.xtext.conversion.impl.AbstractLexerBasedConverter; -import org.eclipse.xtext.nodemodel.INode; -import org.eclipse.xtext.xbase.lib.Exceptions; - -@SuppressWarnings("all") -public class OF_INTValueConverter extends AbstractLexerBasedConverter { - private static final String PREFIX = "of"; - - @Override - public Integer toValue(final String string, final INode node) throws ValueConverterException { - Integer _xblockexpression = null; - { - if ((string == null)) { - return null; - } - if (((string.length() < OF_INTValueConverter.PREFIX.length()) || (!Objects.equal(string.substring(0, OF_INTValueConverter.PREFIX.length()), OF_INTValueConverter.PREFIX)))) { - throw new ValueConverterException((("\'" + string) + "\' must start with the characters \'of\'."), node, null); - } - Integer _xtrycatchfinallyexpression = null; - try { - Integer _xblockexpression_1 = null; - { - final int intValue = Integer.parseInt(string.substring(OF_INTValueConverter.PREFIX.length()), 10); - _xblockexpression_1 = Integer.valueOf(intValue); - } - _xtrycatchfinallyexpression = _xblockexpression_1; - } catch (final Throwable _t) { - if (_t instanceof NumberFormatException) { - final NumberFormatException e = (NumberFormatException)_t; - throw new ValueConverterException((("Couldn\'t convert \'" + string) + "\' to an int value."), node, e); - } else { - throw Exceptions.sneakyThrow(_t); - } - } - _xblockexpression = _xtrycatchfinallyexpression; - } - return _xblockexpression; - } - - @Override - protected String toEscapedString(final Integer value) { - return (OF_INTValueConverter.PREFIX + value); - } - - @Override - protected void assertValidValue(final Integer value) { - super.assertValidValue(value); - if (((value).intValue() < 0)) { - String _ruleName = this.getRuleName(); - String _plus = (_ruleName + " may not be negative."); - throw new ValueConverterException(_plus, null, null); - } - } -} diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/generator/.CftLanguageGenerator.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/generator/.CftLanguageGenerator.xtendbin deleted file mode 100644 index 79e0e382..00000000 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/generator/.CftLanguageGenerator.xtendbin and /dev/null differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/generator/.gitignore b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/generator/.gitignore deleted file mode 100644 index 943ab682..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/generator/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -/.CftLanguageGenerator.java._trace -/.CftLanguageGenerator.xtendbin -/CftLanguageGenerator.java diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/generator/CftLanguageGenerator.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/generator/CftLanguageGenerator.java deleted file mode 100644 index 8dddfb2e..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/generator/CftLanguageGenerator.java +++ /dev/null @@ -1,21 +0,0 @@ -/** - * generated by Xtext 2.16.0 - */ -package hu.bme.mit.inf.dslreasoner.faulttree.components.generator; - -import org.eclipse.emf.ecore.resource.Resource; -import org.eclipse.xtext.generator.AbstractGenerator; -import org.eclipse.xtext.generator.IFileSystemAccess2; -import org.eclipse.xtext.generator.IGeneratorContext; - -/** - * Generates code from your model files on save. - * - * See https://www.eclipse.org/Xtext/documentation/303_runtime_concepts.html#code-generation - */ -@SuppressWarnings("all") -public class CftLanguageGenerator extends AbstractGenerator { - @Override - public void doGenerate(final Resource resource, final IFileSystemAccess2 fsa, final IGeneratorContext context) { - } -} diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/naming/.CftLanguageQualifiedNameProvider.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/naming/.CftLanguageQualifiedNameProvider.xtendbin deleted file mode 100644 index 51f5e2fe..00000000 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/naming/.CftLanguageQualifiedNameProvider.xtendbin and /dev/null differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/naming/.PackageNameProvider.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/naming/.PackageNameProvider.xtendbin deleted file mode 100644 index cf8f603b..00000000 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/naming/.PackageNameProvider.xtendbin and /dev/null differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/naming/.gitignore b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/naming/.gitignore deleted file mode 100644 index bb9e8b92..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/naming/.gitignore +++ /dev/null @@ -1,6 +0,0 @@ -/.CftLanguageQualifiedNameProvider.java._trace -/.PackageNameProvider.java._trace -/.CftLanguageQualifiedNameProvider.xtendbin -/.PackageNameProvider.xtendbin -/CftLanguageQualifiedNameProvider.java -/PackageNameProvider.java diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/naming/CftLanguageQualifiedNameProvider.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/naming/CftLanguageQualifiedNameProvider.java deleted file mode 100644 index 24ebaccb..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/naming/CftLanguageQualifiedNameProvider.java +++ /dev/null @@ -1,35 +0,0 @@ -package hu.bme.mit.inf.dslreasoner.faulttree.components.naming; - -import com.google.inject.Inject; -import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.TransformationDefinition; -import hu.bme.mit.inf.dslreasoner.faulttree.components.naming.PackageNameProvider; -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentDefinition; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.xtext.naming.DefaultDeclarativeQualifiedNameProvider; -import org.eclipse.xtext.naming.QualifiedName; - -@SuppressWarnings("all") -public class CftLanguageQualifiedNameProvider extends DefaultDeclarativeQualifiedNameProvider { - @Inject - private PackageNameProvider packageNameProvider; - - public QualifiedName qualifiedName(final ComponentDefinition componentDefinition) { - return this.computePackageQualifiedName(componentDefinition, componentDefinition.getName()); - } - - public QualifiedName qualifiedName(final TransformationDefinition transformationDefinition) { - return this.computePackageQualifiedName(transformationDefinition, transformationDefinition.getName()); - } - - private QualifiedName computePackageQualifiedName(final EObject eObj, final String name) { - QualifiedName _xblockexpression = null; - { - if ((name == null)) { - return null; - } - final QualifiedName packageQualifier = this.packageNameProvider.getPackageName(eObj); - _xblockexpression = packageQualifier.append(name); - } - return _xblockexpression; - } -} diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/naming/PackageNameProvider.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/naming/PackageNameProvider.java deleted file mode 100644 index 5841dc75..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/naming/PackageNameProvider.java +++ /dev/null @@ -1,46 +0,0 @@ -package hu.bme.mit.inf.dslreasoner.faulttree.components.naming; - -import com.google.inject.Inject; -import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftModel; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.xtend.lib.annotations.FinalFieldsConstructor; -import org.eclipse.xtext.EcoreUtil2; -import org.eclipse.xtext.naming.IQualifiedNameConverter; -import org.eclipse.xtext.naming.QualifiedName; -import org.eclipse.xtext.xbase.lib.StringExtensions; - -@SuppressWarnings("all") -public class PackageNameProvider { - private final IQualifiedNameConverter qualifiedNameConverter; - - @FinalFieldsConstructor - @Inject - public PackageNameProvider(final IQualifiedNameConverter qualifiedNameConverter) { - super(); - this.qualifiedNameConverter = qualifiedNameConverter; - } - - public QualifiedName getPackageName(final EObject eObj) { - QualifiedName _xblockexpression = null; - { - if ((eObj == null)) { - return QualifiedName.EMPTY; - } - CftModel _containerOfType = EcoreUtil2.getContainerOfType(eObj, CftModel.class); - String _packageName = null; - if (_containerOfType!=null) { - _packageName=_containerOfType.getPackageName(); - } - final String pacakgeName = _packageName; - QualifiedName _xifexpression = null; - boolean _isNullOrEmpty = StringExtensions.isNullOrEmpty(pacakgeName); - if (_isNullOrEmpty) { - _xifexpression = QualifiedName.EMPTY; - } else { - _xifexpression = this.qualifiedNameConverter.toQualifiedName(pacakgeName); - } - _xblockexpression = _xifexpression; - } - return _xblockexpression; - } -} diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/scoping/.CftLanguageImportedNamespaceAwareLocalScopeProvider.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/scoping/.CftLanguageImportedNamespaceAwareLocalScopeProvider.xtendbin deleted file mode 100644 index 116d5bc1..00000000 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/scoping/.CftLanguageImportedNamespaceAwareLocalScopeProvider.xtendbin and /dev/null differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/scoping/.CftLanguageScopeProvider.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/scoping/.CftLanguageScopeProvider.xtendbin deleted file mode 100644 index 7a6eb47e..00000000 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/scoping/.CftLanguageScopeProvider.xtendbin and /dev/null differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/scoping/.gitignore b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/scoping/.gitignore deleted file mode 100644 index e0a335bd..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/scoping/.gitignore +++ /dev/null @@ -1,8 +0,0 @@ -/.CftLanguageScopeProvider.java._trace -/.CftLanguageImportedNamespaceAwareScopeProvider.java._trace -/.CftLanguageImportedNamespaceAwareScopeLocalProvider.java._trace -/.CftLanguageImportedNamespaceAwareLocalScopeProvider.java._trace -/.CftLanguageImportedNamespaceAwareLocalScopeProvider.xtendbin -/.CftLanguageScopeProvider.xtendbin -/CftLanguageImportedNamespaceAwareLocalScopeProvider.java -/CftLanguageScopeProvider.java diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/scoping/CftLanguageImportedNamespaceAwareLocalScopeProvider.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/scoping/CftLanguageImportedNamespaceAwareLocalScopeProvider.java deleted file mode 100644 index d90fe787..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/scoping/CftLanguageImportedNamespaceAwareLocalScopeProvider.java +++ /dev/null @@ -1,63 +0,0 @@ -package hu.bme.mit.inf.dslreasoner.faulttree.components.scoping; - -import com.google.inject.Inject; -import com.google.inject.Singleton; -import hu.bme.mit.inf.dslreasoner.faulttree.components.naming.PackageNameProvider; -import java.util.List; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.EReference; -import org.eclipse.xtext.naming.IQualifiedNameConverter; -import org.eclipse.xtext.naming.IQualifiedNameProvider; -import org.eclipse.xtext.naming.QualifiedName; -import org.eclipse.xtext.scoping.ICaseInsensitivityHelper; -import org.eclipse.xtext.scoping.IGlobalScopeProvider; -import org.eclipse.xtext.scoping.IScope; -import org.eclipse.xtext.scoping.impl.ImportNormalizer; -import org.eclipse.xtext.scoping.impl.ImportScope; -import org.eclipse.xtext.scoping.impl.ImportedNamespaceAwareLocalScopeProvider; - -@Singleton -@SuppressWarnings("all") -public class CftLanguageImportedNamespaceAwareLocalScopeProvider extends ImportedNamespaceAwareLocalScopeProvider { - @Inject - private PackageNameProvider packageNameProvider; - - @Inject - public CftLanguageImportedNamespaceAwareLocalScopeProvider() { - } - - public CftLanguageImportedNamespaceAwareLocalScopeProvider(final IGlobalScopeProvider globalScopeProvider, final IQualifiedNameProvider qualifiedNameProvider, final IQualifiedNameConverter qualifiedNameConverter, final ICaseInsensitivityHelper caseInsensitivityHelper) { - super(globalScopeProvider, qualifiedNameProvider, qualifiedNameConverter, caseInsensitivityHelper); - PackageNameProvider _packageNameProvider = new PackageNameProvider(qualifiedNameConverter); - this.packageNameProvider = _packageNameProvider; - } - - @Override - protected List internalGetImportedNamespaceResolvers(final EObject context, final boolean ignoreCase) { - List _xblockexpression = null; - { - final List resolvers = super.internalGetImportedNamespaceResolvers(context, ignoreCase); - final QualifiedName packageName = this.packageNameProvider.getPackageName(context); - boolean _isEmpty = packageName.isEmpty(); - boolean _not = (!_isEmpty); - if (_not) { - final ImportNormalizer packageNormalizer = this.doCreateImportNormalizer(packageName, true, ignoreCase); - resolvers.add(0, packageNormalizer); - } - _xblockexpression = resolvers; - } - return _xblockexpression; - } - - public ImportScope createImportNormalizedScope(final IScope elements, final EObject context, final EReference reference) { - ImportScope _xblockexpression = null; - { - final boolean ignoreCase = this.isIgnoreCase(reference); - final EClass type = reference.getEReferenceType(); - final List namespaceResolvers = this.getImportedNamespaceResolvers(context, ignoreCase); - _xblockexpression = this.createImportScope(elements, namespaceResolvers, null, type, ignoreCase); - } - return _xblockexpression; - } -} diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/scoping/CftLanguageScopeProvider.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/scoping/CftLanguageScopeProvider.java deleted file mode 100644 index 8d452f2a..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/scoping/CftLanguageScopeProvider.java +++ /dev/null @@ -1,264 +0,0 @@ -/** - * generated by Xtext 2.16.0 - */ -package hu.bme.mit.inf.dslreasoner.faulttree.components.scoping; - -import com.google.common.base.Objects; -import com.google.common.collect.Lists; -import com.google.inject.Inject; -import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage; -import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.ComponentInstance; -import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.EventReference; -import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.LookupDefinition; -import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingDefinition; -import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingParameter; -import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.TransformationDefinition; -import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.Variable; -import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl.MappingDefinitionImpl; -import hu.bme.mit.inf.dslreasoner.faulttree.components.scoping.AbstractCftLanguageScopeProvider; -import hu.bme.mit.inf.dslreasoner.faulttree.components.scoping.CftLanguageImportedNamespaceAwareLocalScopeProvider; -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentDefinition; -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.EventDeclaration; -import java.util.ArrayList; -import org.eclipse.emf.common.notify.Notifier; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.EReference; -import org.eclipse.emf.ecore.resource.ResourceSet; -import org.eclipse.viatra.query.patternlanguage.emf.vql.Pattern; -import org.eclipse.xtext.EcoreUtil2; -import org.eclipse.xtext.naming.QualifiedName; -import org.eclipse.xtext.resource.EObjectDescription; -import org.eclipse.xtext.resource.IEObjectDescription; -import org.eclipse.xtext.resource.IResourceDescriptions; -import org.eclipse.xtext.resource.IResourceDescriptionsProvider; -import org.eclipse.xtext.scoping.IScope; -import org.eclipse.xtext.scoping.Scopes; -import org.eclipse.xtext.scoping.impl.ImportScope; -import org.eclipse.xtext.scoping.impl.SimpleScope; -import org.eclipse.xtext.xbase.lib.CollectionLiterals; -import org.eclipse.xtext.xbase.lib.Functions.Function1; -import org.eclipse.xtext.xbase.lib.IterableExtensions; - -/** - * This class contains custom scoping description. - * - * See https://www.eclipse.org/Xtext/documentation/303_runtime_concepts.html#scoping - * on how and when to use it. - */ -@SuppressWarnings("all") -public class CftLanguageScopeProvider extends AbstractCftLanguageScopeProvider { - public static final String SINGLETON_VARIABLE_PREFIX = "_"; - - @Inject - private IResourceDescriptionsProvider resourceDescriptionsProvider; - - @Inject - private CftLanguageImportedNamespaceAwareLocalScopeProvider importedNamespaceProvider; - - @Override - public IScope getScope(final EObject context, final EReference reference) { - IScope _switchResult = null; - boolean _matched = false; - if (Objects.equal(reference, CftLanguagePackage.Literals.LOOKUP_DEFINITION__MAPPING)) { - _matched=true; - _switchResult = this.getRuleDefinitionsScope(context, reference); - } - if (!_matched) { - if (Objects.equal(reference, CftLanguagePackage.Literals.LOOKUP_DEFINITION__ARGUMENTS)) { - _matched=true; - _switchResult = this.getMappingParametersScope(context); - } - } - if (!_matched) { - if (Objects.equal(reference, CftLanguagePackage.Literals.EVENT_REFERENCE__COMPONENT)) { - _matched=true; - _switchResult = this.getComponentInstancesScope(context); - } - } - if (!_matched) { - if (Objects.equal(reference, CftLanguagePackage.Literals.EVENT_REFERENCE__EVENT)) { - _matched=true; - _switchResult = this.getEventDeclarationsScope(context); - } - } - if (!_matched) { - _switchResult = super.getScope(context, reference); - } - return _switchResult; - } - - protected IScope getRuleDefinitionsScope(final EObject context, final EReference referece) { - ImportScope _xblockexpression = null; - { - final TransformationDefinition transformationDefinition = EcoreUtil2.getContainerOfType(context, TransformationDefinition.class); - if ((transformationDefinition == null)) { - return IScope.NULLSCOPE; - } - final IResourceDescriptions resourceDescriptions = this.getResourceDescriptions(transformationDefinition); - final ArrayList mappingDefinitionDescriptions = this.toMappingDefinitionDescriptions(resourceDescriptions, - transformationDefinition.getMappingDefinitions()); - final SimpleScope ruleDefinitionsScope = new SimpleScope(IScope.NULLSCOPE, mappingDefinitionDescriptions); - _xblockexpression = this.importedNamespaceProvider.createImportNormalizedScope(ruleDefinitionsScope, context, referece); - } - return _xblockexpression; - } - - protected ArrayList toMappingDefinitionDescriptions(final IResourceDescriptions resourceDescriptions, final Iterable ruleDefinitions) { - ArrayList _xblockexpression = null; - { - final ArrayList mappingDefinitionDescriptions = Lists.newArrayListWithExpectedSize(IterableExtensions.size(ruleDefinitions)); - for (final MappingDefinition ruleDefinition : ruleDefinitions) { - { - final Pattern pattern = this.safelyGetPattern(ruleDefinition); - if ((pattern != null)) { - IEObjectDescription _head = IterableExtensions.head(resourceDescriptions.getExportedObjectsByObject(pattern)); - QualifiedName _qualifiedName = null; - if (_head!=null) { - _qualifiedName=_head.getQualifiedName(); - } - final QualifiedName patternName = _qualifiedName; - if ((patternName != null)) { - IEObjectDescription _create = EObjectDescription.create(patternName, ruleDefinition); - mappingDefinitionDescriptions.add(_create); - } - } - } - } - _xblockexpression = mappingDefinitionDescriptions; - } - return _xblockexpression; - } - - private Pattern safelyGetPattern(final MappingDefinition mappingDefinition) { - Pattern _switchResult = null; - boolean _matched = false; - if (mappingDefinition instanceof MappingDefinitionImpl) { - _matched=true; - _switchResult = ((MappingDefinitionImpl)mappingDefinition).basicGetPattern(); - } - if (!_matched) { - if (Objects.equal(mappingDefinition, null)) { - _matched=true; - _switchResult = null; - } - } - if (!_matched) { - _switchResult = mappingDefinition.getPattern(); - } - return _switchResult; - } - - private IResourceDescriptions getResourceDescriptions(final Notifier notifier) { - IResourceDescriptions _xblockexpression = null; - { - final ResourceSet resourceSet = EcoreUtil2.getResourceSet(notifier); - IResourceDescriptions _xifexpression = null; - if ((resourceSet == null)) { - _xifexpression = new IResourceDescriptions.NullImpl(); - } else { - _xifexpression = this.resourceDescriptionsProvider.getResourceDescriptions(resourceSet); - } - _xblockexpression = _xifexpression; - } - return _xblockexpression; - } - - protected IScope getMappingParametersScope(final EObject context) { - IScope _xblockexpression = null; - { - final MappingDefinition mappingDefinition = EcoreUtil2.getContainerOfType(context, MappingDefinition.class); - if ((mappingDefinition == null)) { - return IScope.NULLSCOPE; - } - final Function1 _function = (MappingParameter it) -> { - boolean _startsWith = it.getName().startsWith(CftLanguageScopeProvider.SINGLETON_VARIABLE_PREFIX); - return Boolean.valueOf((!_startsWith)); - }; - final Iterable variables = IterableExtensions.filter(mappingDefinition.getParameters(), _function); - _xblockexpression = Scopes.scopeFor(variables); - } - return _xblockexpression; - } - - protected IScope getComponentInstancesScope(final EObject context) { - IScope _xblockexpression = null; - { - final MappingDefinition mappingDefinition = EcoreUtil2.getContainerOfType(context, MappingDefinition.class); - if ((mappingDefinition == null)) { - return IScope.NULLSCOPE; - } - final ArrayList componentInstances = CollectionLiterals.newArrayList(); - componentInstances.addAll(mappingDefinition.getLookupDefinitions()); - ComponentInstance _componentInstance = mappingDefinition.getComponentInstance(); - boolean _tripleNotEquals = (_componentInstance != null); - if (_tripleNotEquals) { - ComponentInstance _componentInstance_1 = mappingDefinition.getComponentInstance(); - componentInstances.add(_componentInstance_1); - } - _xblockexpression = Scopes.scopeFor(componentInstances); - } - return _xblockexpression; - } - - protected IScope getEventDeclarationsScope(final EObject context) { - IScope _xblockexpression = null; - { - EventReference _containerOfType = EcoreUtil2.getContainerOfType(context, EventReference.class); - Variable _component = null; - if (_containerOfType!=null) { - _component=_containerOfType.getComponent(); - } - final Variable variable = _component; - ArrayList _switchResult = null; - boolean _matched = false; - if (variable instanceof ComponentInstance) { - _matched=true; - ComponentDefinition _componentType = ((ComponentInstance)variable).getComponentType(); - ArrayList _allEventDeclarations = null; - if (_componentType!=null) { - _allEventDeclarations=this.getAllEventDeclarations(_componentType); - } - _switchResult = _allEventDeclarations; - } - if (!_matched) { - if (variable instanceof LookupDefinition) { - _matched=true; - MappingDefinition _mapping = ((LookupDefinition)variable).getMapping(); - ComponentInstance _componentInstance = null; - if (_mapping!=null) { - _componentInstance=_mapping.getComponentInstance(); - } - ComponentDefinition _componentType = null; - if (_componentInstance!=null) { - _componentType=_componentInstance.getComponentType(); - } - ArrayList _allEventDeclarations = null; - if (_componentType!=null) { - _allEventDeclarations=this.getAllEventDeclarations(_componentType); - } - _switchResult = _allEventDeclarations; - } - } - if (!_matched) { - _switchResult = null; - } - final ArrayList events = _switchResult; - if ((events == null)) { - return IScope.NULLSCOPE; - } - _xblockexpression = Scopes.scopeFor(events); - } - return _xblockexpression; - } - - private ArrayList getAllEventDeclarations(final ComponentDefinition componentDefinition) { - ArrayList _xblockexpression = null; - { - final ArrayList eventDeclarations = CollectionLiterals.newArrayList(); - eventDeclarations.addAll(componentDefinition.getInputEvents()); - eventDeclarations.addAll(componentDefinition.getEventDefinitions()); - _xblockexpression = eventDeclarations; - } - return _xblockexpression; - } -} diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/validation/.CftLanguageValidator.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/validation/.CftLanguageValidator.xtendbin deleted file mode 100644 index fbb89193..00000000 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/validation/.CftLanguageValidator.xtendbin and /dev/null differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/validation/.gitignore b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/validation/.gitignore deleted file mode 100644 index 270d548b..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/validation/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -/.CftLanguageValidator.java._trace -/.CftLanguageValidator.xtendbin -/CftLanguageValidator.java diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/validation/CftLanguageValidator.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/validation/CftLanguageValidator.java deleted file mode 100644 index 758d29f4..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/validation/CftLanguageValidator.java +++ /dev/null @@ -1,15 +0,0 @@ -/** - * generated by Xtext 2.16.0 - */ -package hu.bme.mit.inf.dslreasoner.faulttree.components.validation; - -import hu.bme.mit.inf.dslreasoner.faulttree.components.validation.AbstractCftLanguageValidator; - -/** - * This class contains custom validation rules. - * - * See https://www.eclipse.org/Xtext/documentation/303_runtime_concepts.html#validation - */ -@SuppressWarnings("all") -public class CftLanguageValidator extends AbstractCftLanguageValidator { -} diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/.classpath b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/.classpath deleted file mode 100644 index 1dc3c7fb..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/.classpath +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/.gitignore b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/.gitignore deleted file mode 100644 index ae3c1726..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/.gitignore +++ /dev/null @@ -1 +0,0 @@ -/bin/ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/.project b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/.project deleted file mode 100644 index a86ce76f..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/.project +++ /dev/null @@ -1,35 +0,0 @@ - - - hu.bme.mit.inf.dslreasoner.faulttree.model - - - - - - org.eclipse.xtext.ui.shared.xtextBuilder - - - - - org.eclipse.jdt.core.javabuilder - - - - - org.eclipse.pde.ManifestBuilder - - - - - org.eclipse.pde.SchemaBuilder - - - - - - org.eclipse.sirius.nature.modelingproject - org.eclipse.pde.PluginNature - org.eclipse.jdt.core.javanature - org.eclipse.xtext.ui.shared.xtextNature - - diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/.settings/org.eclipse.jdt.core.prefs b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/.settings/org.eclipse.jdt.core.prefs deleted file mode 100644 index 0c68a61d..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/.settings/org.eclipse.jdt.core.prefs +++ /dev/null @@ -1,7 +0,0 @@ -eclipse.preferences.version=1 -org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled -org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8 -org.eclipse.jdt.core.compiler.compliance=1.8 -org.eclipse.jdt.core.compiler.problem.assertIdentifier=error -org.eclipse.jdt.core.compiler.problem.enumIdentifier=error -org.eclipse.jdt.core.compiler.source=1.8 diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/META-INF/MANIFEST.MF b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/META-INF/MANIFEST.MF deleted file mode 100644 index 0b8c7351..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/META-INF/MANIFEST.MF +++ /dev/null @@ -1,25 +0,0 @@ -Manifest-Version: 1.0 -Bundle-ManifestVersion: 2 -Bundle-Name: %pluginName -Bundle-SymbolicName: hu.bme.mit.inf.dslreasoner.faulttree.model;singleton:=true -Bundle-Version: 1.0.0.qualifier -Bundle-ClassPath: . -Bundle-Vendor: %providerName -Bundle-Localization: plugin -Automatic-Module-Name: hu.bme.mit.inf.dslreasoner.faulttree.model -Bundle-RequiredExecutionEnvironment: JavaSE-1.8 -Export-Package: hu.bme.mit.inf.dslreasoner.faulttree.model.cft, - hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl, - hu.bme.mit.inf.dslreasoner.faulttree.model.cft.util, - hu.bme.mit.inf.dslreasoner.faulttree.model.ft, - hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl, - hu.bme.mit.inf.dslreasoner.faulttree.model.ft.util, - hu.bme.mit.inf.dslreasoner.faulttree.model.util -Require-Bundle: org.eclipse.core.runtime, - org.eclipse.emf.ecore;visibility:=reexport, - hu.bme.mit.inf.dslreasoner.faulttree.model;visibility:=reexport, - com.google.guava, - org.eclipse.xtext.xbase.lib, - org.eclipse.xtend.lib, - org.eclipse.xtend.lib.macro -Bundle-ActivationPolicy: lazy diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/build.properties b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/build.properties deleted file mode 100644 index 6d7585eb..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/build.properties +++ /dev/null @@ -1,11 +0,0 @@ -# - -bin.includes = .,\ - model/,\ - META-INF/,\ - plugin.xml,\ - plugin.properties -jars.compile.order = . -source.. = src/,\ - ecore-gen/ -output.. = bin/ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/AndGateDefinition.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/AndGateDefinition.java deleted file mode 100644 index cdae0f09..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/AndGateDefinition.java +++ /dev/null @@ -1,17 +0,0 @@ -/** - */ -package hu.bme.mit.inf.dslreasoner.faulttree.model.cft; - - -/** - * - * A representation of the model object 'And Gate Definition'. - * - * - * - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage#getAndGateDefinition() - * @model - * @generated - */ -public interface AndGateDefinition extends GateDefinition { -} // AndGateDefinition diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/BasicEventDefinition.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/BasicEventDefinition.java deleted file mode 100644 index c963dbfe..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/BasicEventDefinition.java +++ /dev/null @@ -1,50 +0,0 @@ -/** - */ -package hu.bme.mit.inf.dslreasoner.faulttree.model.cft; - -import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.Distribution; - -/** - * - * A representation of the model object 'Basic Event Definition'. - * - * - *

    - * The following features are supported: - *

    - *
      - *
    • {@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.BasicEventDefinition#getDistribution Distribution}
    • - *
    - * - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage#getBasicEventDefinition() - * @model - * @generated - */ -public interface BasicEventDefinition extends EventDefinition { - /** - * Returns the value of the 'Distribution' containment reference. - * - *

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

    - * - * @return the value of the 'Distribution' containment reference. - * @see #setDistribution(Distribution) - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage#getBasicEventDefinition_Distribution() - * @model containment="true" required="true" - * @generated - */ - Distribution getDistribution(); - - /** - * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.BasicEventDefinition#getDistribution Distribution}' containment reference. - * - * - * @param value the new value of the 'Distribution' containment reference. - * @see #getDistribution() - * @generated - */ - void setDistribution(Distribution value); - -} // BasicEventDefinition diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/CftFactory.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/CftFactory.java deleted file mode 100644 index 8b5d54a0..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/CftFactory.java +++ /dev/null @@ -1,132 +0,0 @@ -/** - */ -package hu.bme.mit.inf.dslreasoner.faulttree.model.cft; - -import org.eclipse.emf.ecore.EFactory; - -/** - * - * The Factory for the model. - * It provides a create method for each non-abstract class of the model. - * - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage - * @generated - */ -public interface CftFactory extends EFactory { - /** - * The singleton instance of the factory. - * - * - * @generated - */ - CftFactory eINSTANCE = hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.CftFactoryImpl.init(); - - /** - * Returns a new object of class 'Component Definition'. - * - * - * @return a new object of class 'Component Definition'. - * @generated - */ - ComponentDefinition createComponentDefinition(); - - /** - * Returns a new object of class 'Basic Event Definition'. - * - * - * @return a new object of class 'Basic Event Definition'. - * @generated - */ - BasicEventDefinition createBasicEventDefinition(); - - /** - * Returns a new object of class 'Input Event'. - * - * - * @return a new object of class 'Input Event'. - * @generated - */ - InputEvent createInputEvent(); - - /** - * Returns a new object of class 'And Gate Definition'. - * - * - * @return a new object of class 'And Gate Definition'. - * @generated - */ - AndGateDefinition createAndGateDefinition(); - - /** - * Returns a new object of class 'Or Gate Definition'. - * - * - * @return a new object of class 'Or Gate Definition'. - * @generated - */ - OrGateDefinition createOrGateDefinition(); - - /** - * Returns a new object of class 'KOf MGate Definition'. - * - * - * @return a new object of class 'KOf MGate Definition'. - * @generated - */ - KOfMGateDefinition createKOfMGateDefinition(); - - /** - * Returns a new object of class 'Component Fault Tree'. - * - * - * @return a new object of class 'Component Fault Tree'. - * @generated - */ - ComponentFaultTree createComponentFaultTree(); - - /** - * Returns a new object of class 'Component'. - * - * - * @return a new object of class 'Component'. - * @generated - */ - Component createComponent(); - - /** - * Returns a new object of class 'Input'. - * - * - * @return a new object of class 'Input'. - * @generated - */ - Input createInput(); - - /** - * Returns a new object of class 'Output'. - * - * - * @return a new object of class 'Output'. - * @generated - */ - Output createOutput(); - - /** - * Returns a new object of class 'Connection'. - * - * - * @return a new object of class 'Connection'. - * @generated - */ - Connection createConnection(); - - /** - * Returns the package supported by this factory. - * - * - * @return the package supported by this factory. - * @generated - */ - CftPackage getCftPackage(); - -} //CftFactory diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/CftPackage.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/CftPackage.java deleted file mode 100644 index 07200ab2..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/CftPackage.java +++ /dev/null @@ -1,1673 +0,0 @@ -/** - */ -package hu.bme.mit.inf.dslreasoner.faulttree.model.cft; - -import org.eclipse.emf.ecore.EAttribute; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EEnum; -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.emf.ecore.EReference; - -/** - * - * The Package for the model. - * It contains accessors for the meta objects to represent - *
      - *
    • each class,
    • - *
    • each feature of each class,
    • - *
    • each operation of each class,
    • - *
    • each enum,
    • - *
    • and each data type
    • - *
    - * - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftFactory - * @model kind="package" - * @generated - */ -public interface CftPackage extends EPackage { - /** - * The package name. - * - * - * @generated - */ - String eNAME = "cft"; - - /** - * The package namespace URI. - * - * - * @generated - */ - String eNS_URI = "http://www.bme.hu/mit/inf/dslreasoner/faulttree/model/cft"; - - /** - * The package namespace name. - * - * - * @generated - */ - String eNS_PREFIX = "cft"; - - /** - * The singleton instance of the package. - * - * - * @generated - */ - CftPackage eINSTANCE = hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.CftPackageImpl.init(); - - /** - * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.ComponentDefinitionImpl Component Definition}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.ComponentDefinitionImpl - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.CftPackageImpl#getComponentDefinition() - * @generated - */ - int COMPONENT_DEFINITION = 0; - - /** - * The feature id for the 'Input Events' containment reference list. - * - * - * @generated - * @ordered - */ - int COMPONENT_DEFINITION__INPUT_EVENTS = 0; - - /** - * The feature id for the 'Event Definitions' containment reference list. - * - * - * @generated - * @ordered - */ - int COMPONENT_DEFINITION__EVENT_DEFINITIONS = 1; - - /** - * The feature id for the 'Output Events' reference list. - * - * - * @generated - * @ordered - */ - int COMPONENT_DEFINITION__OUTPUT_EVENTS = 2; - - /** - * The feature id for the 'Name' attribute. - * - * - * @generated - * @ordered - */ - int COMPONENT_DEFINITION__NAME = 3; - - /** - * The number of structural features of the 'Component Definition' class. - * - * - * @generated - * @ordered - */ - int COMPONENT_DEFINITION_FEATURE_COUNT = 4; - - /** - * The number of operations of the 'Component Definition' class. - * - * - * @generated - * @ordered - */ - int COMPONENT_DEFINITION_OPERATION_COUNT = 0; - - /** - * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.EventDeclarationImpl Event Declaration}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.EventDeclarationImpl - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.CftPackageImpl#getEventDeclaration() - * @generated - */ - int EVENT_DECLARATION = 5; - - /** - * The feature id for the 'Name' attribute. - * - * - * @generated - * @ordered - */ - int EVENT_DECLARATION__NAME = 0; - - /** - * The number of structural features of the 'Event Declaration' class. - * - * - * @generated - * @ordered - */ - int EVENT_DECLARATION_FEATURE_COUNT = 1; - - /** - * The number of operations of the 'Event Declaration' class. - * - * - * @generated - * @ordered - */ - int EVENT_DECLARATION_OPERATION_COUNT = 0; - - /** - * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.EventDefinitionImpl Event Definition}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.EventDefinitionImpl - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.CftPackageImpl#getEventDefinition() - * @generated - */ - int EVENT_DEFINITION = 1; - - /** - * The feature id for the 'Name' attribute. - * - * - * @generated - * @ordered - */ - int EVENT_DEFINITION__NAME = EVENT_DECLARATION__NAME; - - /** - * The number of structural features of the 'Event Definition' class. - * - * - * @generated - * @ordered - */ - int EVENT_DEFINITION_FEATURE_COUNT = EVENT_DECLARATION_FEATURE_COUNT + 0; - - /** - * The number of operations of the 'Event Definition' class. - * - * - * @generated - * @ordered - */ - int EVENT_DEFINITION_OPERATION_COUNT = EVENT_DECLARATION_OPERATION_COUNT + 0; - - /** - * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.GateDefinitionImpl Gate Definition}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.GateDefinitionImpl - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.CftPackageImpl#getGateDefinition() - * @generated - */ - int GATE_DEFINITION = 2; - - /** - * The feature id for the 'Name' attribute. - * - * - * @generated - * @ordered - */ - int GATE_DEFINITION__NAME = EVENT_DEFINITION__NAME; - - /** - * The feature id for the 'Input Events' reference list. - * - * - * @generated - * @ordered - */ - int GATE_DEFINITION__INPUT_EVENTS = EVENT_DEFINITION_FEATURE_COUNT + 0; - - /** - * The number of structural features of the 'Gate Definition' class. - * - * - * @generated - * @ordered - */ - int GATE_DEFINITION_FEATURE_COUNT = EVENT_DEFINITION_FEATURE_COUNT + 1; - - /** - * The number of operations of the 'Gate Definition' class. - * - * - * @generated - * @ordered - */ - int GATE_DEFINITION_OPERATION_COUNT = EVENT_DEFINITION_OPERATION_COUNT + 0; - - /** - * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.BasicEventDefinitionImpl Basic Event Definition}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.BasicEventDefinitionImpl - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.CftPackageImpl#getBasicEventDefinition() - * @generated - */ - int BASIC_EVENT_DEFINITION = 3; - - /** - * The feature id for the 'Name' attribute. - * - * - * @generated - * @ordered - */ - int BASIC_EVENT_DEFINITION__NAME = EVENT_DEFINITION__NAME; - - /** - * The feature id for the 'Distribution' containment reference. - * - * - * @generated - * @ordered - */ - int BASIC_EVENT_DEFINITION__DISTRIBUTION = EVENT_DEFINITION_FEATURE_COUNT + 0; - - /** - * The number of structural features of the 'Basic Event Definition' class. - * - * - * @generated - * @ordered - */ - int BASIC_EVENT_DEFINITION_FEATURE_COUNT = EVENT_DEFINITION_FEATURE_COUNT + 1; - - /** - * The number of operations of the 'Basic Event Definition' class. - * - * - * @generated - * @ordered - */ - int BASIC_EVENT_DEFINITION_OPERATION_COUNT = EVENT_DEFINITION_OPERATION_COUNT + 0; - - /** - * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.InputEventImpl Input Event}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.InputEventImpl - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.CftPackageImpl#getInputEvent() - * @generated - */ - int INPUT_EVENT = 4; - - /** - * The feature id for the 'Name' attribute. - * - * - * @generated - * @ordered - */ - int INPUT_EVENT__NAME = EVENT_DECLARATION__NAME; - - /** - * The feature id for the 'Multiple' attribute. - * - * - * @generated - * @ordered - */ - int INPUT_EVENT__MULTIPLE = EVENT_DECLARATION_FEATURE_COUNT + 0; - - /** - * The number of structural features of the 'Input Event' class. - * - * - * @generated - * @ordered - */ - int INPUT_EVENT_FEATURE_COUNT = EVENT_DECLARATION_FEATURE_COUNT + 1; - - /** - * The number of operations of the 'Input Event' class. - * - * - * @generated - * @ordered - */ - int INPUT_EVENT_OPERATION_COUNT = EVENT_DECLARATION_OPERATION_COUNT + 0; - - /** - * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.AndGateDefinitionImpl And Gate Definition}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.AndGateDefinitionImpl - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.CftPackageImpl#getAndGateDefinition() - * @generated - */ - int AND_GATE_DEFINITION = 6; - - /** - * The feature id for the 'Name' attribute. - * - * - * @generated - * @ordered - */ - int AND_GATE_DEFINITION__NAME = GATE_DEFINITION__NAME; - - /** - * The feature id for the 'Input Events' reference list. - * - * - * @generated - * @ordered - */ - int AND_GATE_DEFINITION__INPUT_EVENTS = GATE_DEFINITION__INPUT_EVENTS; - - /** - * The number of structural features of the 'And Gate Definition' class. - * - * - * @generated - * @ordered - */ - int AND_GATE_DEFINITION_FEATURE_COUNT = GATE_DEFINITION_FEATURE_COUNT + 0; - - /** - * The number of operations of the 'And Gate Definition' class. - * - * - * @generated - * @ordered - */ - int AND_GATE_DEFINITION_OPERATION_COUNT = GATE_DEFINITION_OPERATION_COUNT + 0; - - /** - * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.OrGateDefinitionImpl Or Gate Definition}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.OrGateDefinitionImpl - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.CftPackageImpl#getOrGateDefinition() - * @generated - */ - int OR_GATE_DEFINITION = 7; - - /** - * The feature id for the 'Name' attribute. - * - * - * @generated - * @ordered - */ - int OR_GATE_DEFINITION__NAME = GATE_DEFINITION__NAME; - - /** - * The feature id for the 'Input Events' reference list. - * - * - * @generated - * @ordered - */ - int OR_GATE_DEFINITION__INPUT_EVENTS = GATE_DEFINITION__INPUT_EVENTS; - - /** - * The number of structural features of the 'Or Gate Definition' class. - * - * - * @generated - * @ordered - */ - int OR_GATE_DEFINITION_FEATURE_COUNT = GATE_DEFINITION_FEATURE_COUNT + 0; - - /** - * The number of operations of the 'Or Gate Definition' class. - * - * - * @generated - * @ordered - */ - int OR_GATE_DEFINITION_OPERATION_COUNT = GATE_DEFINITION_OPERATION_COUNT + 0; - - /** - * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.KOfMGateDefinitionImpl KOf MGate Definition}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.KOfMGateDefinitionImpl - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.CftPackageImpl#getKOfMGateDefinition() - * @generated - */ - int KOF_MGATE_DEFINITION = 8; - - /** - * The feature id for the 'Name' attribute. - * - * - * @generated - * @ordered - */ - int KOF_MGATE_DEFINITION__NAME = GATE_DEFINITION__NAME; - - /** - * The feature id for the 'Input Events' reference list. - * - * - * @generated - * @ordered - */ - int KOF_MGATE_DEFINITION__INPUT_EVENTS = GATE_DEFINITION__INPUT_EVENTS; - - /** - * The feature id for the 'K' attribute. - * - * - * @generated - * @ordered - */ - int KOF_MGATE_DEFINITION__K = GATE_DEFINITION_FEATURE_COUNT + 0; - - /** - * The feature id for the 'M' attribute. - * - * - * @generated - * @ordered - */ - int KOF_MGATE_DEFINITION__M = GATE_DEFINITION_FEATURE_COUNT + 1; - - /** - * The number of structural features of the 'KOf MGate Definition' class. - * - * - * @generated - * @ordered - */ - int KOF_MGATE_DEFINITION_FEATURE_COUNT = GATE_DEFINITION_FEATURE_COUNT + 2; - - /** - * The number of operations of the 'KOf MGate Definition' class. - * - * - * @generated - * @ordered - */ - int KOF_MGATE_DEFINITION_OPERATION_COUNT = GATE_DEFINITION_OPERATION_COUNT + 0; - - /** - * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.ComponentFaultTreeImpl Component Fault Tree}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.ComponentFaultTreeImpl - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.CftPackageImpl#getComponentFaultTree() - * @generated - */ - int COMPONENT_FAULT_TREE = 9; - - /** - * The feature id for the 'Components' containment reference list. - * - * - * @generated - * @ordered - */ - int COMPONENT_FAULT_TREE__COMPONENTS = 0; - - /** - * The feature id for the 'Top Event' reference. - * - * - * @generated - * @ordered - */ - int COMPONENT_FAULT_TREE__TOP_EVENT = 1; - - /** - * The number of structural features of the 'Component Fault Tree' class. - * - * - * @generated - * @ordered - */ - int COMPONENT_FAULT_TREE_FEATURE_COUNT = 2; - - /** - * The number of operations of the 'Component Fault Tree' class. - * - * - * @generated - * @ordered - */ - int COMPONENT_FAULT_TREE_OPERATION_COUNT = 0; - - /** - * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ModalElement Modal Element}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ModalElement - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.CftPackageImpl#getModalElement() - * @generated - */ - int MODAL_ELEMENT = 14; - - /** - * The feature id for the 'Exists' attribute. - * - * - * @generated - * @ordered - */ - int MODAL_ELEMENT__EXISTS = 0; - - /** - * The number of structural features of the 'Modal Element' class. - * - * - * @generated - * @ordered - */ - int MODAL_ELEMENT_FEATURE_COUNT = 1; - - /** - * The number of operations of the 'Modal Element' class. - * - * - * @generated - * @ordered - */ - int MODAL_ELEMENT_OPERATION_COUNT = 0; - - /** - * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.ComponentImpl Component}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.ComponentImpl - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.CftPackageImpl#getComponent() - * @generated - */ - int COMPONENT = 10; - - /** - * The feature id for the 'Exists' attribute. - * - * - * @generated - * @ordered - */ - int COMPONENT__EXISTS = MODAL_ELEMENT__EXISTS; - - /** - * The feature id for the 'Inputs' containment reference list. - * - * - * @generated - * @ordered - */ - int COMPONENT__INPUTS = MODAL_ELEMENT_FEATURE_COUNT + 0; - - /** - * The feature id for the 'Outputs' containment reference list. - * - * - * @generated - * @ordered - */ - int COMPONENT__OUTPUTS = MODAL_ELEMENT_FEATURE_COUNT + 1; - - /** - * The feature id for the 'Component Definition' reference. - * - * - * @generated - * @ordered - */ - int COMPONENT__COMPONENT_DEFINITION = MODAL_ELEMENT_FEATURE_COUNT + 2; - - /** - * The feature id for the 'Name' attribute. - * - * - * @generated - * @ordered - */ - int COMPONENT__NAME = MODAL_ELEMENT_FEATURE_COUNT + 3; - - /** - * The feature id for the 'Multiple Allowed' attribute. - * - * - * @generated - * @ordered - */ - int COMPONENT__MULTIPLE_ALLOWED = MODAL_ELEMENT_FEATURE_COUNT + 4; - - /** - * The number of structural features of the 'Component' class. - * - * - * @generated - * @ordered - */ - int COMPONENT_FEATURE_COUNT = MODAL_ELEMENT_FEATURE_COUNT + 5; - - /** - * The number of operations of the 'Component' class. - * - * - * @generated - * @ordered - */ - int COMPONENT_OPERATION_COUNT = MODAL_ELEMENT_OPERATION_COUNT + 0; - - /** - * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.InputImpl Input}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.InputImpl - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.CftPackageImpl#getInput() - * @generated - */ - int INPUT = 11; - - /** - * The feature id for the 'Input Event' reference. - * - * - * @generated - * @ordered - */ - int INPUT__INPUT_EVENT = 0; - - /** - * The feature id for the 'Component' container reference. - * - * - * @generated - * @ordered - */ - int INPUT__COMPONENT = 1; - - /** - * The feature id for the 'Incoming Connections' containment reference list. - * - * - * @generated - * @ordered - */ - int INPUT__INCOMING_CONNECTIONS = 2; - - /** - * The number of structural features of the 'Input' class. - * - * - * @generated - * @ordered - */ - int INPUT_FEATURE_COUNT = 3; - - /** - * The number of operations of the 'Input' class. - * - * - * @generated - * @ordered - */ - int INPUT_OPERATION_COUNT = 0; - - /** - * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.OutputImpl Output}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.OutputImpl - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.CftPackageImpl#getOutput() - * @generated - */ - int OUTPUT = 12; - - /** - * The feature id for the 'Event Declaration' reference. - * - * - * @generated - * @ordered - */ - int OUTPUT__EVENT_DECLARATION = 0; - - /** - * The feature id for the 'Outgoing Connections' reference list. - * - * - * @generated - * @ordered - */ - int OUTPUT__OUTGOING_CONNECTIONS = 1; - - /** - * The feature id for the 'Component' container reference. - * - * - * @generated - * @ordered - */ - int OUTPUT__COMPONENT = 2; - - /** - * The number of structural features of the 'Output' class. - * - * - * @generated - * @ordered - */ - int OUTPUT_FEATURE_COUNT = 3; - - /** - * The number of operations of the 'Output' class. - * - * - * @generated - * @ordered - */ - int OUTPUT_OPERATION_COUNT = 0; - - /** - * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.ConnectionImpl Connection}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.ConnectionImpl - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.CftPackageImpl#getConnection() - * @generated - */ - int CONNECTION = 13; - - /** - * The feature id for the 'Exists' attribute. - * - * - * @generated - * @ordered - */ - int CONNECTION__EXISTS = MODAL_ELEMENT__EXISTS; - - /** - * The feature id for the 'Input' container reference. - * - * - * @generated - * @ordered - */ - int CONNECTION__INPUT = MODAL_ELEMENT_FEATURE_COUNT + 0; - - /** - * The feature id for the 'Output' reference. - * - * - * @generated - * @ordered - */ - int CONNECTION__OUTPUT = MODAL_ELEMENT_FEATURE_COUNT + 1; - - /** - * The number of structural features of the 'Connection' class. - * - * - * @generated - * @ordered - */ - int CONNECTION_FEATURE_COUNT = MODAL_ELEMENT_FEATURE_COUNT + 2; - - /** - * The number of operations of the 'Connection' class. - * - * - * @generated - * @ordered - */ - int CONNECTION_OPERATION_COUNT = MODAL_ELEMENT_OPERATION_COUNT + 0; - - - /** - * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Modality Modality}' enum. - * - * - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Modality - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.CftPackageImpl#getModality() - * @generated - */ - int MODALITY = 15; - - - /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentDefinition Component Definition}'. - * - * - * @return the meta object for class 'Component Definition'. - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentDefinition - * @generated - */ - EClass getComponentDefinition(); - - /** - * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentDefinition#getInputEvents Input Events}'. - * - * - * @return the meta object for the containment reference list 'Input Events'. - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentDefinition#getInputEvents() - * @see #getComponentDefinition() - * @generated - */ - EReference getComponentDefinition_InputEvents(); - - /** - * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentDefinition#getEventDefinitions Event Definitions}'. - * - * - * @return the meta object for the containment reference list 'Event Definitions'. - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentDefinition#getEventDefinitions() - * @see #getComponentDefinition() - * @generated - */ - EReference getComponentDefinition_EventDefinitions(); - - /** - * Returns the meta object for the reference list '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentDefinition#getOutputEvents Output Events}'. - * - * - * @return the meta object for the reference list 'Output Events'. - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentDefinition#getOutputEvents() - * @see #getComponentDefinition() - * @generated - */ - EReference getComponentDefinition_OutputEvents(); - - /** - * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentDefinition#getName Name}'. - * - * - * @return the meta object for the attribute 'Name'. - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentDefinition#getName() - * @see #getComponentDefinition() - * @generated - */ - EAttribute getComponentDefinition_Name(); - - /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.EventDefinition Event Definition}'. - * - * - * @return the meta object for class 'Event Definition'. - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.EventDefinition - * @generated - */ - EClass getEventDefinition(); - - /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.GateDefinition Gate Definition}'. - * - * - * @return the meta object for class 'Gate Definition'. - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.GateDefinition - * @generated - */ - EClass getGateDefinition(); - - /** - * Returns the meta object for the reference list '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.GateDefinition#getInputEvents Input Events}'. - * - * - * @return the meta object for the reference list 'Input Events'. - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.GateDefinition#getInputEvents() - * @see #getGateDefinition() - * @generated - */ - EReference getGateDefinition_InputEvents(); - - /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.BasicEventDefinition Basic Event Definition}'. - * - * - * @return the meta object for class 'Basic Event Definition'. - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.BasicEventDefinition - * @generated - */ - EClass getBasicEventDefinition(); - - /** - * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.BasicEventDefinition#getDistribution Distribution}'. - * - * - * @return the meta object for the containment reference 'Distribution'. - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.BasicEventDefinition#getDistribution() - * @see #getBasicEventDefinition() - * @generated - */ - EReference getBasicEventDefinition_Distribution(); - - /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.InputEvent Input Event}'. - * - * - * @return the meta object for class 'Input Event'. - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.InputEvent - * @generated - */ - EClass getInputEvent(); - - /** - * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.InputEvent#isMultiple Multiple}'. - * - * - * @return the meta object for the attribute 'Multiple'. - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.InputEvent#isMultiple() - * @see #getInputEvent() - * @generated - */ - EAttribute getInputEvent_Multiple(); - - /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.EventDeclaration Event Declaration}'. - * - * - * @return the meta object for class 'Event Declaration'. - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.EventDeclaration - * @generated - */ - EClass getEventDeclaration(); - - /** - * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.EventDeclaration#getName Name}'. - * - * - * @return the meta object for the attribute 'Name'. - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.EventDeclaration#getName() - * @see #getEventDeclaration() - * @generated - */ - EAttribute getEventDeclaration_Name(); - - /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.AndGateDefinition And Gate Definition}'. - * - * - * @return the meta object for class 'And Gate Definition'. - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.AndGateDefinition - * @generated - */ - EClass getAndGateDefinition(); - - /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.OrGateDefinition Or Gate Definition}'. - * - * - * @return the meta object for class 'Or Gate Definition'. - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.OrGateDefinition - * @generated - */ - EClass getOrGateDefinition(); - - /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.KOfMGateDefinition KOf MGate Definition}'. - * - * - * @return the meta object for class 'KOf MGate Definition'. - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.KOfMGateDefinition - * @generated - */ - EClass getKOfMGateDefinition(); - - /** - * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.KOfMGateDefinition#getK K}'. - * - * - * @return the meta object for the attribute 'K'. - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.KOfMGateDefinition#getK() - * @see #getKOfMGateDefinition() - * @generated - */ - EAttribute getKOfMGateDefinition_K(); - - /** - * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.KOfMGateDefinition#getM M}'. - * - * - * @return the meta object for the attribute 'M'. - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.KOfMGateDefinition#getM() - * @see #getKOfMGateDefinition() - * @generated - */ - EAttribute getKOfMGateDefinition_M(); - - /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentFaultTree Component Fault Tree}'. - * - * - * @return the meta object for class 'Component Fault Tree'. - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentFaultTree - * @generated - */ - EClass getComponentFaultTree(); - - /** - * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentFaultTree#getComponents Components}'. - * - * - * @return the meta object for the containment reference list 'Components'. - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentFaultTree#getComponents() - * @see #getComponentFaultTree() - * @generated - */ - EReference getComponentFaultTree_Components(); - - /** - * Returns the meta object for the reference '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentFaultTree#getTopEvent Top Event}'. - * - * - * @return the meta object for the reference 'Top Event'. - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentFaultTree#getTopEvent() - * @see #getComponentFaultTree() - * @generated - */ - EReference getComponentFaultTree_TopEvent(); - - /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Component Component}'. - * - * - * @return the meta object for class 'Component'. - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Component - * @generated - */ - EClass getComponent(); - - /** - * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Component#getInputs Inputs}'. - * - * - * @return the meta object for the containment reference list 'Inputs'. - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Component#getInputs() - * @see #getComponent() - * @generated - */ - EReference getComponent_Inputs(); - - /** - * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Component#getOutputs Outputs}'. - * - * - * @return the meta object for the containment reference list 'Outputs'. - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Component#getOutputs() - * @see #getComponent() - * @generated - */ - EReference getComponent_Outputs(); - - /** - * Returns the meta object for the reference '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Component#getComponentDefinition Component Definition}'. - * - * - * @return the meta object for the reference 'Component Definition'. - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Component#getComponentDefinition() - * @see #getComponent() - * @generated - */ - EReference getComponent_ComponentDefinition(); - - /** - * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Component#getName Name}'. - * - * - * @return the meta object for the attribute 'Name'. - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Component#getName() - * @see #getComponent() - * @generated - */ - EAttribute getComponent_Name(); - - /** - * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Component#isMultipleAllowed Multiple Allowed}'. - * - * - * @return the meta object for the attribute 'Multiple Allowed'. - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Component#isMultipleAllowed() - * @see #getComponent() - * @generated - */ - EAttribute getComponent_MultipleAllowed(); - - /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Input Input}'. - * - * - * @return the meta object for class 'Input'. - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Input - * @generated - */ - EClass getInput(); - - /** - * Returns the meta object for the reference '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Input#getInputEvent Input Event}'. - * - * - * @return the meta object for the reference 'Input Event'. - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Input#getInputEvent() - * @see #getInput() - * @generated - */ - EReference getInput_InputEvent(); - - /** - * Returns the meta object for the container reference '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Input#getComponent Component}'. - * - * - * @return the meta object for the container reference 'Component'. - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Input#getComponent() - * @see #getInput() - * @generated - */ - EReference getInput_Component(); - - /** - * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Input#getIncomingConnections Incoming Connections}'. - * - * - * @return the meta object for the containment reference list 'Incoming Connections'. - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Input#getIncomingConnections() - * @see #getInput() - * @generated - */ - EReference getInput_IncomingConnections(); - - /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Output Output}'. - * - * - * @return the meta object for class 'Output'. - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Output - * @generated - */ - EClass getOutput(); - - /** - * Returns the meta object for the reference '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Output#getEventDeclaration Event Declaration}'. - * - * - * @return the meta object for the reference 'Event Declaration'. - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Output#getEventDeclaration() - * @see #getOutput() - * @generated - */ - EReference getOutput_EventDeclaration(); - - /** - * Returns the meta object for the reference list '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Output#getOutgoingConnections Outgoing Connections}'. - * - * - * @return the meta object for the reference list 'Outgoing Connections'. - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Output#getOutgoingConnections() - * @see #getOutput() - * @generated - */ - EReference getOutput_OutgoingConnections(); - - /** - * Returns the meta object for the container reference '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Output#getComponent Component}'. - * - * - * @return the meta object for the container reference 'Component'. - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Output#getComponent() - * @see #getOutput() - * @generated - */ - EReference getOutput_Component(); - - /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Connection Connection}'. - * - * - * @return the meta object for class 'Connection'. - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Connection - * @generated - */ - EClass getConnection(); - - /** - * Returns the meta object for the container reference '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Connection#getInput Input}'. - * - * - * @return the meta object for the container reference 'Input'. - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Connection#getInput() - * @see #getConnection() - * @generated - */ - EReference getConnection_Input(); - - /** - * Returns the meta object for the reference '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Connection#getOutput Output}'. - * - * - * @return the meta object for the reference 'Output'. - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Connection#getOutput() - * @see #getConnection() - * @generated - */ - EReference getConnection_Output(); - - /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ModalElement Modal Element}'. - * - * - * @return the meta object for class 'Modal Element'. - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ModalElement - * @generated - */ - EClass getModalElement(); - - /** - * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ModalElement#getExists Exists}'. - * - * - * @return the meta object for the attribute 'Exists'. - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ModalElement#getExists() - * @see #getModalElement() - * @generated - */ - EAttribute getModalElement_Exists(); - - /** - * Returns the meta object for enum '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Modality Modality}'. - * - * - * @return the meta object for enum 'Modality'. - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Modality - * @generated - */ - EEnum getModality(); - - /** - * Returns the factory that creates the instances of the model. - * - * - * @return the factory that creates the instances of the model. - * @generated - */ - CftFactory getCftFactory(); - - /** - * - * Defines literals for the meta objects that represent - *
      - *
    • each class,
    • - *
    • each feature of each class,
    • - *
    • each operation of each class,
    • - *
    • each enum,
    • - *
    • and each data type
    • - *
    - * - * @generated - */ - interface Literals { - /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.ComponentDefinitionImpl Component Definition}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.ComponentDefinitionImpl - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.CftPackageImpl#getComponentDefinition() - * @generated - */ - EClass COMPONENT_DEFINITION = eINSTANCE.getComponentDefinition(); - - /** - * The meta object literal for the 'Input Events' containment reference list feature. - * - * - * @generated - */ - EReference COMPONENT_DEFINITION__INPUT_EVENTS = eINSTANCE.getComponentDefinition_InputEvents(); - - /** - * The meta object literal for the 'Event Definitions' containment reference list feature. - * - * - * @generated - */ - EReference COMPONENT_DEFINITION__EVENT_DEFINITIONS = eINSTANCE.getComponentDefinition_EventDefinitions(); - - /** - * The meta object literal for the 'Output Events' reference list feature. - * - * - * @generated - */ - EReference COMPONENT_DEFINITION__OUTPUT_EVENTS = eINSTANCE.getComponentDefinition_OutputEvents(); - - /** - * The meta object literal for the 'Name' attribute feature. - * - * - * @generated - */ - EAttribute COMPONENT_DEFINITION__NAME = eINSTANCE.getComponentDefinition_Name(); - - /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.EventDefinitionImpl Event Definition}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.EventDefinitionImpl - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.CftPackageImpl#getEventDefinition() - * @generated - */ - EClass EVENT_DEFINITION = eINSTANCE.getEventDefinition(); - - /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.GateDefinitionImpl Gate Definition}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.GateDefinitionImpl - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.CftPackageImpl#getGateDefinition() - * @generated - */ - EClass GATE_DEFINITION = eINSTANCE.getGateDefinition(); - - /** - * The meta object literal for the 'Input Events' reference list feature. - * - * - * @generated - */ - EReference GATE_DEFINITION__INPUT_EVENTS = eINSTANCE.getGateDefinition_InputEvents(); - - /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.BasicEventDefinitionImpl Basic Event Definition}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.BasicEventDefinitionImpl - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.CftPackageImpl#getBasicEventDefinition() - * @generated - */ - EClass BASIC_EVENT_DEFINITION = eINSTANCE.getBasicEventDefinition(); - - /** - * The meta object literal for the 'Distribution' containment reference feature. - * - * - * @generated - */ - EReference BASIC_EVENT_DEFINITION__DISTRIBUTION = eINSTANCE.getBasicEventDefinition_Distribution(); - - /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.InputEventImpl Input Event}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.InputEventImpl - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.CftPackageImpl#getInputEvent() - * @generated - */ - EClass INPUT_EVENT = eINSTANCE.getInputEvent(); - - /** - * The meta object literal for the 'Multiple' attribute feature. - * - * - * @generated - */ - EAttribute INPUT_EVENT__MULTIPLE = eINSTANCE.getInputEvent_Multiple(); - - /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.EventDeclarationImpl Event Declaration}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.EventDeclarationImpl - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.CftPackageImpl#getEventDeclaration() - * @generated - */ - EClass EVENT_DECLARATION = eINSTANCE.getEventDeclaration(); - - /** - * The meta object literal for the 'Name' attribute feature. - * - * - * @generated - */ - EAttribute EVENT_DECLARATION__NAME = eINSTANCE.getEventDeclaration_Name(); - - /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.AndGateDefinitionImpl And Gate Definition}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.AndGateDefinitionImpl - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.CftPackageImpl#getAndGateDefinition() - * @generated - */ - EClass AND_GATE_DEFINITION = eINSTANCE.getAndGateDefinition(); - - /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.OrGateDefinitionImpl Or Gate Definition}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.OrGateDefinitionImpl - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.CftPackageImpl#getOrGateDefinition() - * @generated - */ - EClass OR_GATE_DEFINITION = eINSTANCE.getOrGateDefinition(); - - /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.KOfMGateDefinitionImpl KOf MGate Definition}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.KOfMGateDefinitionImpl - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.CftPackageImpl#getKOfMGateDefinition() - * @generated - */ - EClass KOF_MGATE_DEFINITION = eINSTANCE.getKOfMGateDefinition(); - - /** - * The meta object literal for the 'K' attribute feature. - * - * - * @generated - */ - EAttribute KOF_MGATE_DEFINITION__K = eINSTANCE.getKOfMGateDefinition_K(); - - /** - * The meta object literal for the 'M' attribute feature. - * - * - * @generated - */ - EAttribute KOF_MGATE_DEFINITION__M = eINSTANCE.getKOfMGateDefinition_M(); - - /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.ComponentFaultTreeImpl Component Fault Tree}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.ComponentFaultTreeImpl - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.CftPackageImpl#getComponentFaultTree() - * @generated - */ - EClass COMPONENT_FAULT_TREE = eINSTANCE.getComponentFaultTree(); - - /** - * The meta object literal for the 'Components' containment reference list feature. - * - * - * @generated - */ - EReference COMPONENT_FAULT_TREE__COMPONENTS = eINSTANCE.getComponentFaultTree_Components(); - - /** - * The meta object literal for the 'Top Event' reference feature. - * - * - * @generated - */ - EReference COMPONENT_FAULT_TREE__TOP_EVENT = eINSTANCE.getComponentFaultTree_TopEvent(); - - /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.ComponentImpl Component}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.ComponentImpl - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.CftPackageImpl#getComponent() - * @generated - */ - EClass COMPONENT = eINSTANCE.getComponent(); - - /** - * The meta object literal for the 'Inputs' containment reference list feature. - * - * - * @generated - */ - EReference COMPONENT__INPUTS = eINSTANCE.getComponent_Inputs(); - - /** - * The meta object literal for the 'Outputs' containment reference list feature. - * - * - * @generated - */ - EReference COMPONENT__OUTPUTS = eINSTANCE.getComponent_Outputs(); - - /** - * The meta object literal for the 'Component Definition' reference feature. - * - * - * @generated - */ - EReference COMPONENT__COMPONENT_DEFINITION = eINSTANCE.getComponent_ComponentDefinition(); - - /** - * The meta object literal for the 'Name' attribute feature. - * - * - * @generated - */ - EAttribute COMPONENT__NAME = eINSTANCE.getComponent_Name(); - - /** - * The meta object literal for the 'Multiple Allowed' attribute feature. - * - * - * @generated - */ - EAttribute COMPONENT__MULTIPLE_ALLOWED = eINSTANCE.getComponent_MultipleAllowed(); - - /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.InputImpl Input}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.InputImpl - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.CftPackageImpl#getInput() - * @generated - */ - EClass INPUT = eINSTANCE.getInput(); - - /** - * The meta object literal for the 'Input Event' reference feature. - * - * - * @generated - */ - EReference INPUT__INPUT_EVENT = eINSTANCE.getInput_InputEvent(); - - /** - * The meta object literal for the 'Component' container reference feature. - * - * - * @generated - */ - EReference INPUT__COMPONENT = eINSTANCE.getInput_Component(); - - /** - * The meta object literal for the 'Incoming Connections' containment reference list feature. - * - * - * @generated - */ - EReference INPUT__INCOMING_CONNECTIONS = eINSTANCE.getInput_IncomingConnections(); - - /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.OutputImpl Output}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.OutputImpl - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.CftPackageImpl#getOutput() - * @generated - */ - EClass OUTPUT = eINSTANCE.getOutput(); - - /** - * The meta object literal for the 'Event Declaration' reference feature. - * - * - * @generated - */ - EReference OUTPUT__EVENT_DECLARATION = eINSTANCE.getOutput_EventDeclaration(); - - /** - * The meta object literal for the 'Outgoing Connections' reference list feature. - * - * - * @generated - */ - EReference OUTPUT__OUTGOING_CONNECTIONS = eINSTANCE.getOutput_OutgoingConnections(); - - /** - * The meta object literal for the 'Component' container reference feature. - * - * - * @generated - */ - EReference OUTPUT__COMPONENT = eINSTANCE.getOutput_Component(); - - /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.ConnectionImpl Connection}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.ConnectionImpl - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.CftPackageImpl#getConnection() - * @generated - */ - EClass CONNECTION = eINSTANCE.getConnection(); - - /** - * The meta object literal for the 'Input' container reference feature. - * - * - * @generated - */ - EReference CONNECTION__INPUT = eINSTANCE.getConnection_Input(); - - /** - * The meta object literal for the 'Output' reference feature. - * - * - * @generated - */ - EReference CONNECTION__OUTPUT = eINSTANCE.getConnection_Output(); - - /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ModalElement Modal Element}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ModalElement - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.CftPackageImpl#getModalElement() - * @generated - */ - EClass MODAL_ELEMENT = eINSTANCE.getModalElement(); - - /** - * The meta object literal for the 'Exists' attribute feature. - * - * - * @generated - */ - EAttribute MODAL_ELEMENT__EXISTS = eINSTANCE.getModalElement_Exists(); - - /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Modality Modality}' enum. - * - * - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Modality - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.CftPackageImpl#getModality() - * @generated - */ - EEnum MODALITY = eINSTANCE.getModality(); - - } - -} //CftPackage diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/Component.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/Component.java deleted file mode 100644 index 9b1d0b24..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/Component.java +++ /dev/null @@ -1,143 +0,0 @@ -/** - */ -package hu.bme.mit.inf.dslreasoner.faulttree.model.cft; - -import org.eclipse.emf.common.util.EList; - -/** - * - * A representation of the model object 'Component'. - * - * - *

    - * The following features are supported: - *

    - *
      - *
    • {@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Component#getInputs Inputs}
    • - *
    • {@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Component#getOutputs Outputs}
    • - *
    • {@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Component#getComponentDefinition Component Definition}
    • - *
    • {@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Component#getName Name}
    • - *
    • {@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Component#isMultipleAllowed Multiple Allowed}
    • - *
    - * - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage#getComponent() - * @model - * @generated - */ -public interface Component extends ModalElement { - /** - * Returns the value of the 'Inputs' containment reference list. - * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Input}. - * It is bidirectional and its opposite is '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Input#getComponent Component}'. - * - *

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

    - * - * @return the value of the 'Inputs' containment reference list. - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage#getComponent_Inputs() - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Input#getComponent - * @model opposite="component" containment="true" - * @generated - */ - EList getInputs(); - - /** - * Returns the value of the 'Outputs' containment reference list. - * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Output}. - * It is bidirectional and its opposite is '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Output#getComponent Component}'. - * - *

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

    - * - * @return the value of the 'Outputs' containment reference list. - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage#getComponent_Outputs() - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Output#getComponent - * @model opposite="component" containment="true" - * @generated - */ - EList getOutputs(); - - /** - * Returns the value of the 'Component Definition' reference. - * - *

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

    - * - * @return the value of the 'Component Definition' reference. - * @see #setComponentDefinition(ComponentDefinition) - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage#getComponent_ComponentDefinition() - * @model required="true" - * @generated - */ - ComponentDefinition getComponentDefinition(); - - /** - * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Component#getComponentDefinition Component Definition}' reference. - * - * - * @param value the new value of the 'Component Definition' reference. - * @see #getComponentDefinition() - * @generated - */ - void setComponentDefinition(ComponentDefinition value); - - /** - * Returns the value of the 'Name' attribute. - * - *

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

    - * - * @return the value of the 'Name' attribute. - * @see #setName(String) - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage#getComponent_Name() - * @model - * @generated - */ - String getName(); - - /** - * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Component#getName Name}' attribute. - * - * - * @param value the new value of the 'Name' attribute. - * @see #getName() - * @generated - */ - void setName(String value); - - /** - * Returns the value of the 'Multiple Allowed' attribute. - * The default value is "false". - * - *

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

    - * - * @return the value of the 'Multiple Allowed' attribute. - * @see #setMultipleAllowed(boolean) - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage#getComponent_MultipleAllowed() - * @model default="false" - * @generated - */ - boolean isMultipleAllowed(); - - /** - * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Component#isMultipleAllowed Multiple Allowed}' attribute. - * - * - * @param value the new value of the 'Multiple Allowed' attribute. - * @see #isMultipleAllowed() - * @generated - */ - void setMultipleAllowed(boolean value); - -} // Component diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/ComponentDefinition.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/ComponentDefinition.java deleted file mode 100644 index 82ab53fa..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/ComponentDefinition.java +++ /dev/null @@ -1,103 +0,0 @@ -/** - */ -package hu.bme.mit.inf.dslreasoner.faulttree.model.cft; - -import org.eclipse.emf.common.util.EList; - -import org.eclipse.emf.ecore.EObject; - -/** - * - * A representation of the model object 'Component Definition'. - * - * - *

    - * The following features are supported: - *

    - *
      - *
    • {@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentDefinition#getInputEvents Input Events}
    • - *
    • {@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentDefinition#getEventDefinitions Event Definitions}
    • - *
    • {@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentDefinition#getOutputEvents Output Events}
    • - *
    • {@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentDefinition#getName Name}
    • - *
    - * - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage#getComponentDefinition() - * @model - * @generated - */ -public interface ComponentDefinition extends EObject { - /** - * Returns the value of the 'Input Events' containment reference list. - * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.InputEvent}. - * - *

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

    - * - * @return the value of the 'Input Events' containment reference list. - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage#getComponentDefinition_InputEvents() - * @model containment="true" - * @generated - */ - EList getInputEvents(); - - /** - * Returns the value of the 'Event Definitions' containment reference list. - * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.EventDefinition}. - * - *

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

    - * - * @return the value of the 'Event Definitions' containment reference list. - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage#getComponentDefinition_EventDefinitions() - * @model containment="true" - * @generated - */ - EList getEventDefinitions(); - - /** - * Returns the value of the 'Output Events' reference list. - * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.EventDeclaration}. - * - *

    - * If the meaning of the 'Output Events' reference list isn't clear, - * there really should be more of a description here... - *

    - * - * @return the value of the 'Output Events' reference list. - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage#getComponentDefinition_OutputEvents() - * @model - * @generated - */ - EList getOutputEvents(); - - /** - * Returns the value of the 'Name' attribute. - * - *

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

    - * - * @return the value of the 'Name' attribute. - * @see #setName(String) - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage#getComponentDefinition_Name() - * @model - * @generated - */ - String getName(); - - /** - * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentDefinition#getName Name}' attribute. - * - * - * @param value the new value of the 'Name' attribute. - * @see #getName() - * @generated - */ - void setName(String value); - -} // ComponentDefinition diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/ComponentFaultTree.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/ComponentFaultTree.java deleted file mode 100644 index 06554378..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/ComponentFaultTree.java +++ /dev/null @@ -1,69 +0,0 @@ -/** - */ -package hu.bme.mit.inf.dslreasoner.faulttree.model.cft; - -import org.eclipse.emf.common.util.EList; - -import org.eclipse.emf.ecore.EObject; - -/** - * - * A representation of the model object 'Component Fault Tree'. - * - * - *

    - * The following features are supported: - *

    - *
      - *
    • {@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentFaultTree#getComponents Components}
    • - *
    • {@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentFaultTree#getTopEvent Top Event}
    • - *
    - * - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage#getComponentFaultTree() - * @model - * @generated - */ -public interface ComponentFaultTree extends EObject { - /** - * Returns the value of the 'Components' containment reference list. - * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Component}. - * - *

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

    - * - * @return the value of the 'Components' containment reference list. - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage#getComponentFaultTree_Components() - * @model containment="true" - * @generated - */ - EList getComponents(); - - /** - * Returns the value of the 'Top Event' reference. - * - *

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

    - * - * @return the value of the 'Top Event' reference. - * @see #setTopEvent(Output) - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage#getComponentFaultTree_TopEvent() - * @model required="true" - * @generated - */ - Output getTopEvent(); - - /** - * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentFaultTree#getTopEvent Top Event}' reference. - * - * - * @param value the new value of the 'Top Event' reference. - * @see #getTopEvent() - * @generated - */ - void setTopEvent(Output value); - -} // ComponentFaultTree diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/Connection.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/Connection.java deleted file mode 100644 index 9ca5b77f..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/Connection.java +++ /dev/null @@ -1,79 +0,0 @@ -/** - */ -package hu.bme.mit.inf.dslreasoner.faulttree.model.cft; - -/** - * - * A representation of the model object 'Connection'. - * - * - *

    - * The following features are supported: - *

    - *
      - *
    • {@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Connection#getInput Input}
    • - *
    • {@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Connection#getOutput Output}
    • - *
    - * - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage#getConnection() - * @model - * @generated - */ -public interface Connection extends ModalElement { - /** - * Returns the value of the 'Input' container reference. - * It is bidirectional and its opposite is '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Input#getIncomingConnections Incoming Connections}'. - * - *

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

    - * - * @return the value of the 'Input' container reference. - * @see #setInput(Input) - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage#getConnection_Input() - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Input#getIncomingConnections - * @model opposite="incomingConnections" required="true" transient="false" - * @generated - */ - Input getInput(); - - /** - * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Connection#getInput Input}' container reference. - * - * - * @param value the new value of the 'Input' container reference. - * @see #getInput() - * @generated - */ - void setInput(Input value); - - /** - * Returns the value of the 'Output' reference. - * It is bidirectional and its opposite is '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Output#getOutgoingConnections Outgoing Connections}'. - * - *

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

    - * - * @return the value of the 'Output' reference. - * @see #setOutput(Output) - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage#getConnection_Output() - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Output#getOutgoingConnections - * @model opposite="outgoingConnections" required="true" - * @generated - */ - Output getOutput(); - - /** - * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Connection#getOutput Output}' reference. - * - * - * @param value the new value of the 'Output' reference. - * @see #getOutput() - * @generated - */ - void setOutput(Output value); - -} // Connection diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/EventDeclaration.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/EventDeclaration.java deleted file mode 100644 index 28d49f06..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/EventDeclaration.java +++ /dev/null @@ -1,50 +0,0 @@ -/** - */ -package hu.bme.mit.inf.dslreasoner.faulttree.model.cft; - -import org.eclipse.emf.ecore.EObject; - -/** - * - * A representation of the model object 'Event Declaration'. - * - * - *

    - * The following features are supported: - *

    - *
      - *
    • {@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.EventDeclaration#getName Name}
    • - *
    - * - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage#getEventDeclaration() - * @model abstract="true" - * @generated - */ -public interface EventDeclaration extends EObject { - /** - * Returns the value of the 'Name' attribute. - * - *

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

    - * - * @return the value of the 'Name' attribute. - * @see #setName(String) - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage#getEventDeclaration_Name() - * @model - * @generated - */ - String getName(); - - /** - * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.EventDeclaration#getName Name}' attribute. - * - * - * @param value the new value of the 'Name' attribute. - * @see #getName() - * @generated - */ - void setName(String value); - -} // EventDeclaration diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/EventDefinition.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/EventDefinition.java deleted file mode 100644 index d279ddfc..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/EventDefinition.java +++ /dev/null @@ -1,17 +0,0 @@ -/** - */ -package hu.bme.mit.inf.dslreasoner.faulttree.model.cft; - - -/** - * - * A representation of the model object 'Event Definition'. - * - * - * - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage#getEventDefinition() - * @model abstract="true" - * @generated - */ -public interface EventDefinition extends EventDeclaration { -} // EventDefinition diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/GateDefinition.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/GateDefinition.java deleted file mode 100644 index 2173be5c..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/GateDefinition.java +++ /dev/null @@ -1,40 +0,0 @@ -/** - */ -package hu.bme.mit.inf.dslreasoner.faulttree.model.cft; - -import org.eclipse.emf.common.util.EList; - -/** - * - * A representation of the model object 'Gate Definition'. - * - * - *

    - * The following features are supported: - *

    - *
      - *
    • {@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.GateDefinition#getInputEvents Input Events}
    • - *
    - * - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage#getGateDefinition() - * @model abstract="true" - * @generated - */ -public interface GateDefinition extends EventDefinition { - /** - * Returns the value of the 'Input Events' reference list. - * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.EventDeclaration}. - * - *

    - * If the meaning of the 'Input Events' reference list isn't clear, - * there really should be more of a description here... - *

    - * - * @return the value of the 'Input Events' reference list. - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage#getGateDefinition_InputEvents() - * @model - * @generated - */ - EList getInputEvents(); - -} // GateDefinition diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/Input.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/Input.java deleted file mode 100644 index 7351d1bb..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/Input.java +++ /dev/null @@ -1,100 +0,0 @@ -/** - */ -package hu.bme.mit.inf.dslreasoner.faulttree.model.cft; - -import org.eclipse.emf.common.util.EList; - -import org.eclipse.emf.ecore.EObject; - -/** - * - * A representation of the model object 'Input'. - * - * - *

    - * The following features are supported: - *

    - *
      - *
    • {@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Input#getInputEvent Input Event}
    • - *
    • {@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Input#getComponent Component}
    • - *
    • {@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Input#getIncomingConnections Incoming Connections}
    • - *
    - * - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage#getInput() - * @model - * @generated - */ -public interface Input extends EObject { - /** - * Returns the value of the 'Input Event' reference. - * - *

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

    - * - * @return the value of the 'Input Event' reference. - * @see #setInputEvent(InputEvent) - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage#getInput_InputEvent() - * @model required="true" - * @generated - */ - InputEvent getInputEvent(); - - /** - * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Input#getInputEvent Input Event}' reference. - * - * - * @param value the new value of the 'Input Event' reference. - * @see #getInputEvent() - * @generated - */ - void setInputEvent(InputEvent value); - - /** - * Returns the value of the 'Component' container reference. - * It is bidirectional and its opposite is '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Component#getInputs Inputs}'. - * - *

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

    - * - * @return the value of the 'Component' container reference. - * @see #setComponent(Component) - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage#getInput_Component() - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Component#getInputs - * @model opposite="inputs" required="true" transient="false" - * @generated - */ - Component getComponent(); - - /** - * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Input#getComponent Component}' container reference. - * - * - * @param value the new value of the 'Component' container reference. - * @see #getComponent() - * @generated - */ - void setComponent(Component value); - - /** - * Returns the value of the 'Incoming Connections' containment reference list. - * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Connection}. - * It is bidirectional and its opposite is '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Connection#getInput Input}'. - * - *

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

    - * - * @return the value of the 'Incoming Connections' containment reference list. - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage#getInput_IncomingConnections() - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Connection#getInput - * @model opposite="input" containment="true" - * @generated - */ - EList getIncomingConnections(); - -} // Input diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/InputEvent.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/InputEvent.java deleted file mode 100644 index 92721776..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/InputEvent.java +++ /dev/null @@ -1,49 +0,0 @@ -/** - */ -package hu.bme.mit.inf.dslreasoner.faulttree.model.cft; - - -/** - * - * A representation of the model object 'Input Event'. - * - * - *

    - * The following features are supported: - *

    - *
      - *
    • {@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.InputEvent#isMultiple Multiple}
    • - *
    - * - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage#getInputEvent() - * @model - * @generated - */ -public interface InputEvent extends EventDeclaration { - /** - * Returns the value of the 'Multiple' attribute. - * - *

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

    - * - * @return the value of the 'Multiple' attribute. - * @see #setMultiple(boolean) - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage#getInputEvent_Multiple() - * @model - * @generated - */ - boolean isMultiple(); - - /** - * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.InputEvent#isMultiple Multiple}' attribute. - * - * - * @param value the new value of the 'Multiple' attribute. - * @see #isMultiple() - * @generated - */ - void setMultiple(boolean value); - -} // InputEvent diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/KOfMGateDefinition.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/KOfMGateDefinition.java deleted file mode 100644 index 6e1bc1c1..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/KOfMGateDefinition.java +++ /dev/null @@ -1,76 +0,0 @@ -/** - */ -package hu.bme.mit.inf.dslreasoner.faulttree.model.cft; - - -/** - * - * A representation of the model object 'KOf MGate Definition'. - * - * - *

    - * The following features are supported: - *

    - *
      - *
    • {@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.KOfMGateDefinition#getK K}
    • - *
    • {@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.KOfMGateDefinition#getM M}
    • - *
    - * - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage#getKOfMGateDefinition() - * @model - * @generated - */ -public interface KOfMGateDefinition extends GateDefinition { - /** - * Returns the value of the 'K' attribute. - * - *

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

    - * - * @return the value of the 'K' attribute. - * @see #setK(int) - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage#getKOfMGateDefinition_K() - * @model - * @generated - */ - int getK(); - - /** - * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.KOfMGateDefinition#getK K}' attribute. - * - * - * @param value the new value of the 'K' attribute. - * @see #getK() - * @generated - */ - void setK(int value); - - /** - * Returns the value of the 'M' attribute. - * - *

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

    - * - * @return the value of the 'M' attribute. - * @see #setM(int) - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage#getKOfMGateDefinition_M() - * @model - * @generated - */ - int getM(); - - /** - * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.KOfMGateDefinition#getM M}' attribute. - * - * - * @param value the new value of the 'M' attribute. - * @see #getM() - * @generated - */ - void setM(int value); - -} // KOfMGateDefinition diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/ModalElement.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/ModalElement.java deleted file mode 100644 index 9abb6558..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/ModalElement.java +++ /dev/null @@ -1,54 +0,0 @@ -/** - */ -package hu.bme.mit.inf.dslreasoner.faulttree.model.cft; - -import org.eclipse.emf.ecore.EObject; - -/** - * - * A representation of the model object 'Modal Element'. - * - * - *

    - * The following features are supported: - *

    - *
      - *
    • {@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ModalElement#getExists Exists}
    • - *
    - * - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage#getModalElement() - * @model interface="true" abstract="true" - * @generated - */ -public interface ModalElement extends EObject { - /** - * Returns the value of the 'Exists' attribute. - * The default value is "MUST". - * The literals are from the enumeration {@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Modality}. - * - *

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

    - * - * @return the value of the 'Exists' attribute. - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Modality - * @see #setExists(Modality) - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage#getModalElement_Exists() - * @model default="MUST" - * @generated - */ - Modality getExists(); - - /** - * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ModalElement#getExists Exists}' attribute. - * - * - * @param value the new value of the 'Exists' attribute. - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Modality - * @see #getExists() - * @generated - */ - void setExists(Modality value); - -} // ModalElement diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/Modality.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/Modality.java deleted file mode 100644 index 6b7dc1e4..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/Modality.java +++ /dev/null @@ -1,244 +0,0 @@ -/** - */ -package hu.bme.mit.inf.dslreasoner.faulttree.model.cft; - -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 'Modality', - * and utility methods for working with them. - * - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage#getModality() - * @model - * @generated - */ -public enum Modality implements Enumerator { - /** - * The 'MAY' literal object. - * - * - * @see #MAY_VALUE - * @generated - * @ordered - */ - MAY(0, "MAY", "MAY"), - - /** - * The 'CURRENT' literal object. - * - * - * @see #CURRENT_VALUE - * @generated - * @ordered - */ - CURRENT(1, "CURRENT", "CURRENT"), - - /** - * The 'MUST' literal object. - * - * - * @see #MUST_VALUE - * @generated - * @ordered - */ - MUST(2, "MUST", "MUST"); - - /** - * The 'MAY' literal value. - * - *

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

    - * - * @see #MAY - * @model - * @generated - * @ordered - */ - public static final int MAY_VALUE = 0; - - /** - * The 'CURRENT' literal value. - * - *

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

    - * - * @see #CURRENT - * @model - * @generated - * @ordered - */ - public static final int CURRENT_VALUE = 1; - - /** - * The 'MUST' literal value. - * - *

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

    - * - * @see #MUST - * @model - * @generated - * @ordered - */ - public static final int MUST_VALUE = 2; - - /** - * An array of all the 'Modality' enumerators. - * - * - * @generated - */ - private static final Modality[] VALUES_ARRAY = - new Modality[] { - MAY, - CURRENT, - MUST, - }; - - /** - * A public read-only list of all the 'Modality' enumerators. - * - * - * @generated - */ - public static final List VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); - - /** - * Returns the 'Modality' literal with the specified literal value. - * - * - * @param literal the literal. - * @return the matching enumerator or null. - * @generated - */ - public static Modality get(String literal) { - for (int i = 0; i < VALUES_ARRAY.length; ++i) { - Modality result = VALUES_ARRAY[i]; - if (result.toString().equals(literal)) { - return result; - } - } - return null; - } - - /** - * Returns the 'Modality' literal with the specified name. - * - * - * @param name the name. - * @return the matching enumerator or null. - * @generated - */ - public static Modality getByName(String name) { - for (int i = 0; i < VALUES_ARRAY.length; ++i) { - Modality result = VALUES_ARRAY[i]; - if (result.getName().equals(name)) { - return result; - } - } - return null; - } - - /** - * Returns the 'Modality' literal with the specified integer value. - * - * - * @param value the integer value. - * @return the matching enumerator or null. - * @generated - */ - public static Modality get(int value) { - switch (value) { - case MAY_VALUE: return MAY; - case CURRENT_VALUE: return CURRENT; - case MUST_VALUE: return MUST; - } - 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 Modality(int value, String name, String literal) { - this.value = value; - this.name = name; - this.literal = literal; - } - - /** - * - * - * @generated - */ - @Override - public int getValue() { - return value; - } - - /** - * - * - * @generated - */ - @Override - public String getName() { - return name; - } - - /** - * - * - * @generated - */ - @Override - public String getLiteral() { - return literal; - } - - /** - * Returns the literal value of the enumerator, which is its string representation. - * - * - * @generated - */ - @Override - public String toString() { - return literal; - } - -} //Modality diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/OrGateDefinition.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/OrGateDefinition.java deleted file mode 100644 index f62d6652..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/OrGateDefinition.java +++ /dev/null @@ -1,17 +0,0 @@ -/** - */ -package hu.bme.mit.inf.dslreasoner.faulttree.model.cft; - - -/** - * - * A representation of the model object 'Or Gate Definition'. - * - * - * - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage#getOrGateDefinition() - * @model - * @generated - */ -public interface OrGateDefinition extends GateDefinition { -} // OrGateDefinition diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/Output.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/Output.java deleted file mode 100644 index ffb61b8c..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/Output.java +++ /dev/null @@ -1,100 +0,0 @@ -/** - */ -package hu.bme.mit.inf.dslreasoner.faulttree.model.cft; - -import org.eclipse.emf.common.util.EList; - -import org.eclipse.emf.ecore.EObject; - -/** - * - * A representation of the model object 'Output'. - * - * - *

    - * The following features are supported: - *

    - *
      - *
    • {@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Output#getEventDeclaration Event Declaration}
    • - *
    • {@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Output#getOutgoingConnections Outgoing Connections}
    • - *
    • {@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Output#getComponent Component}
    • - *
    - * - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage#getOutput() - * @model - * @generated - */ -public interface Output extends EObject { - /** - * Returns the value of the 'Event Declaration' reference. - * - *

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

    - * - * @return the value of the 'Event Declaration' reference. - * @see #setEventDeclaration(EventDeclaration) - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage#getOutput_EventDeclaration() - * @model required="true" - * @generated - */ - EventDeclaration getEventDeclaration(); - - /** - * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Output#getEventDeclaration Event Declaration}' reference. - * - * - * @param value the new value of the 'Event Declaration' reference. - * @see #getEventDeclaration() - * @generated - */ - void setEventDeclaration(EventDeclaration value); - - /** - * Returns the value of the 'Outgoing Connections' reference list. - * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Connection}. - * It is bidirectional and its opposite is '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Connection#getOutput Output}'. - * - *

    - * If the meaning of the 'Outgoing Connections' reference list isn't clear, - * there really should be more of a description here... - *

    - * - * @return the value of the 'Outgoing Connections' reference list. - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage#getOutput_OutgoingConnections() - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Connection#getOutput - * @model opposite="output" - * @generated - */ - EList getOutgoingConnections(); - - /** - * Returns the value of the 'Component' container reference. - * It is bidirectional and its opposite is '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Component#getOutputs Outputs}'. - * - *

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

    - * - * @return the value of the 'Component' container reference. - * @see #setComponent(Component) - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage#getOutput_Component() - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Component#getOutputs - * @model opposite="outputs" required="true" transient="false" - * @generated - */ - Component getComponent(); - - /** - * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Output#getComponent Component}' container reference. - * - * - * @param value the new value of the 'Component' container reference. - * @see #getComponent() - * @generated - */ - void setComponent(Component value); - -} // Output diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/AndGateDefinitionImpl.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/AndGateDefinitionImpl.java deleted file mode 100644 index fd716fc9..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/AndGateDefinitionImpl.java +++ /dev/null @@ -1,37 +0,0 @@ -/** - */ -package hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl; - -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.AndGateDefinition; -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage; - -import org.eclipse.emf.ecore.EClass; - -/** - * - * An implementation of the model object 'And Gate Definition'. - * - * - * @generated - */ -public class AndGateDefinitionImpl extends GateDefinitionImpl implements AndGateDefinition { - /** - * - * - * @generated - */ - protected AndGateDefinitionImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return CftPackage.Literals.AND_GATE_DEFINITION; - } - -} //AndGateDefinitionImpl diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/BasicEventDefinitionImpl.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/BasicEventDefinitionImpl.java deleted file mode 100644 index 87fc5d70..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/BasicEventDefinitionImpl.java +++ /dev/null @@ -1,178 +0,0 @@ -/** - */ -package hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl; - -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.BasicEventDefinition; -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage; - -import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.Distribution; - -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 'Basic Event Definition'. - * - *

    - * The following features are implemented: - *

    - *
      - *
    • {@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.BasicEventDefinitionImpl#getDistribution Distribution}
    • - *
    - * - * @generated - */ -public class BasicEventDefinitionImpl extends EventDefinitionImpl implements BasicEventDefinition { - /** - * The cached value of the '{@link #getDistribution() Distribution}' containment reference. - * - * - * @see #getDistribution() - * @generated - * @ordered - */ - protected Distribution distribution; - - /** - * - * - * @generated - */ - protected BasicEventDefinitionImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return CftPackage.Literals.BASIC_EVENT_DEFINITION; - } - - /** - * - * - * @generated - */ - @Override - public Distribution getDistribution() { - return distribution; - } - - /** - * - * - * @generated - */ - public NotificationChain basicSetDistribution(Distribution newDistribution, NotificationChain msgs) { - Distribution oldDistribution = distribution; - distribution = newDistribution; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, CftPackage.BASIC_EVENT_DEFINITION__DISTRIBUTION, oldDistribution, newDistribution); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * - * - * @generated - */ - @Override - public void setDistribution(Distribution newDistribution) { - if (newDistribution != distribution) { - NotificationChain msgs = null; - if (distribution != null) - msgs = ((InternalEObject)distribution).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - CftPackage.BASIC_EVENT_DEFINITION__DISTRIBUTION, null, msgs); - if (newDistribution != null) - msgs = ((InternalEObject)newDistribution).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - CftPackage.BASIC_EVENT_DEFINITION__DISTRIBUTION, null, msgs); - msgs = basicSetDistribution(newDistribution, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, CftPackage.BASIC_EVENT_DEFINITION__DISTRIBUTION, newDistribution, newDistribution)); - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case CftPackage.BASIC_EVENT_DEFINITION__DISTRIBUTION: - return basicSetDistribution(null, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case CftPackage.BASIC_EVENT_DEFINITION__DISTRIBUTION: - return getDistribution(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case CftPackage.BASIC_EVENT_DEFINITION__DISTRIBUTION: - setDistribution((Distribution)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case CftPackage.BASIC_EVENT_DEFINITION__DISTRIBUTION: - setDistribution((Distribution)null); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case CftPackage.BASIC_EVENT_DEFINITION__DISTRIBUTION: - return distribution != null; - } - return super.eIsSet(featureID); - } - -} //BasicEventDefinitionImpl diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/CftFactoryImpl.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/CftFactoryImpl.java deleted file mode 100644 index 6b07b541..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/CftFactoryImpl.java +++ /dev/null @@ -1,268 +0,0 @@ -/** - */ -package hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl; - -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.*; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EDataType; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.EPackage; - -import org.eclipse.emf.ecore.impl.EFactoryImpl; - -import org.eclipse.emf.ecore.plugin.EcorePlugin; - -/** - * - * An implementation of the model Factory. - * - * @generated - */ -public class CftFactoryImpl extends EFactoryImpl implements CftFactory { - /** - * Creates the default factory implementation. - * - * - * @generated - */ - public static CftFactory init() { - try { - CftFactory theCftFactory = (CftFactory)EPackage.Registry.INSTANCE.getEFactory(CftPackage.eNS_URI); - if (theCftFactory != null) { - return theCftFactory; - } - } - catch (Exception exception) { - EcorePlugin.INSTANCE.log(exception); - } - return new CftFactoryImpl(); - } - - /** - * Creates an instance of the factory. - * - * - * @generated - */ - public CftFactoryImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - public EObject create(EClass eClass) { - switch (eClass.getClassifierID()) { - case CftPackage.COMPONENT_DEFINITION: return createComponentDefinition(); - case CftPackage.BASIC_EVENT_DEFINITION: return createBasicEventDefinition(); - case CftPackage.INPUT_EVENT: return createInputEvent(); - case CftPackage.AND_GATE_DEFINITION: return createAndGateDefinition(); - case CftPackage.OR_GATE_DEFINITION: return createOrGateDefinition(); - case CftPackage.KOF_MGATE_DEFINITION: return createKOfMGateDefinition(); - case CftPackage.COMPONENT_FAULT_TREE: return createComponentFaultTree(); - case CftPackage.COMPONENT: return createComponent(); - case CftPackage.INPUT: return createInput(); - case CftPackage.OUTPUT: return createOutput(); - case CftPackage.CONNECTION: return createConnection(); - default: - throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); - } - } - - /** - * - * - * @generated - */ - @Override - public Object createFromString(EDataType eDataType, String initialValue) { - switch (eDataType.getClassifierID()) { - case CftPackage.MODALITY: - return createModalityFromString(eDataType, initialValue); - default: - throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); - } - } - - /** - * - * - * @generated - */ - @Override - public String convertToString(EDataType eDataType, Object instanceValue) { - switch (eDataType.getClassifierID()) { - case CftPackage.MODALITY: - return convertModalityToString(eDataType, instanceValue); - default: - throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); - } - } - - /** - * - * - * @generated - */ - @Override - public ComponentDefinition createComponentDefinition() { - ComponentDefinitionImpl componentDefinition = new ComponentDefinitionImpl(); - return componentDefinition; - } - - /** - * - * - * @generated - */ - @Override - public BasicEventDefinition createBasicEventDefinition() { - BasicEventDefinitionImpl basicEventDefinition = new BasicEventDefinitionImpl(); - return basicEventDefinition; - } - - /** - * - * - * @generated - */ - @Override - public InputEvent createInputEvent() { - InputEventImpl inputEvent = new InputEventImpl(); - return inputEvent; - } - - /** - * - * - * @generated - */ - @Override - public AndGateDefinition createAndGateDefinition() { - AndGateDefinitionImpl andGateDefinition = new AndGateDefinitionImpl(); - return andGateDefinition; - } - - /** - * - * - * @generated - */ - @Override - public OrGateDefinition createOrGateDefinition() { - OrGateDefinitionImpl orGateDefinition = new OrGateDefinitionImpl(); - return orGateDefinition; - } - - /** - * - * - * @generated - */ - @Override - public KOfMGateDefinition createKOfMGateDefinition() { - KOfMGateDefinitionImpl kOfMGateDefinition = new KOfMGateDefinitionImpl(); - return kOfMGateDefinition; - } - - /** - * - * - * @generated - */ - @Override - public ComponentFaultTree createComponentFaultTree() { - ComponentFaultTreeImpl componentFaultTree = new ComponentFaultTreeImpl(); - return componentFaultTree; - } - - /** - * - * - * @generated - */ - @Override - public Component createComponent() { - ComponentImpl component = new ComponentImpl(); - return component; - } - - /** - * - * - * @generated - */ - @Override - public Input createInput() { - InputImpl input = new InputImpl(); - return input; - } - - /** - * - * - * @generated - */ - @Override - public Output createOutput() { - OutputImpl output = new OutputImpl(); - return output; - } - - /** - * - * - * @generated - */ - @Override - public Connection createConnection() { - ConnectionImpl connection = new ConnectionImpl(); - return connection; - } - - /** - * - * - * @generated - */ - public Modality createModalityFromString(EDataType eDataType, String initialValue) { - Modality result = Modality.get(initialValue); - if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); - return result; - } - - /** - * - * - * @generated - */ - public String convertModalityToString(EDataType eDataType, Object instanceValue) { - return instanceValue == null ? null : instanceValue.toString(); - } - - /** - * - * - * @generated - */ - @Override - public CftPackage getCftPackage() { - return (CftPackage)getEPackage(); - } - - /** - * - * - * @deprecated - * @generated - */ - @Deprecated - public static CftPackage getPackage() { - return CftPackage.eINSTANCE; - } - -} //CftFactoryImpl diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/CftPackageImpl.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/CftPackageImpl.java deleted file mode 100644 index 2d70d7ce..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/CftPackageImpl.java +++ /dev/null @@ -1,834 +0,0 @@ -/** - */ -package hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl; - -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.AndGateDefinition; -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.BasicEventDefinition; -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftFactory; -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage; -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Component; -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentDefinition; -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentFaultTree; -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Connection; -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.EventDeclaration; -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.EventDefinition; -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.GateDefinition; -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Input; -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.InputEvent; -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.KOfMGateDefinition; -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ModalElement; -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Modality; -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.OrGateDefinition; -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Output; - -import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtPackage; - -import org.eclipse.emf.ecore.EAttribute; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EEnum; -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.emf.ecore.EReference; - -import org.eclipse.emf.ecore.impl.EPackageImpl; - -/** - * - * An implementation of the model Package. - * - * @generated - */ -public class CftPackageImpl extends EPackageImpl implements CftPackage { - /** - * - * - * @generated - */ - private EClass componentDefinitionEClass = null; - - /** - * - * - * @generated - */ - private EClass eventDefinitionEClass = null; - - /** - * - * - * @generated - */ - private EClass gateDefinitionEClass = null; - - /** - * - * - * @generated - */ - private EClass basicEventDefinitionEClass = null; - - /** - * - * - * @generated - */ - private EClass inputEventEClass = null; - - /** - * - * - * @generated - */ - private EClass eventDeclarationEClass = null; - - /** - * - * - * @generated - */ - private EClass andGateDefinitionEClass = null; - - /** - * - * - * @generated - */ - private EClass orGateDefinitionEClass = null; - - /** - * - * - * @generated - */ - private EClass kOfMGateDefinitionEClass = null; - - /** - * - * - * @generated - */ - private EClass componentFaultTreeEClass = null; - - /** - * - * - * @generated - */ - private EClass componentEClass = null; - - /** - * - * - * @generated - */ - private EClass inputEClass = null; - - /** - * - * - * @generated - */ - private EClass outputEClass = null; - - /** - * - * - * @generated - */ - private EClass connectionEClass = null; - - /** - * - * - * @generated - */ - private EClass modalElementEClass = null; - - /** - * - * - * @generated - */ - private EEnum modalityEEnum = null; - - /** - * Creates an instance of the model Package, registered with - * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package - * package URI value. - *

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

    This method is used to initialize {@link CftPackage#eINSTANCE} when that field is accessed. - * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. - * - * - * @see #eNS_URI - * @see #createPackageContents() - * @see #initializePackageContents() - * @generated - */ - public static CftPackage init() { - if (isInited) return (CftPackage)EPackage.Registry.INSTANCE.getEPackage(CftPackage.eNS_URI); - - // Obtain or create and register package - Object registeredCftPackage = EPackage.Registry.INSTANCE.get(eNS_URI); - CftPackageImpl theCftPackage = registeredCftPackage instanceof CftPackageImpl ? (CftPackageImpl)registeredCftPackage : new CftPackageImpl(); - - isInited = true; - - // Initialize simple dependencies - FtPackage.eINSTANCE.eClass(); - - // Create package meta-data objects - theCftPackage.createPackageContents(); - - // Initialize created meta-data - theCftPackage.initializePackageContents(); - - // Mark meta-data to indicate it can't be changed - theCftPackage.freeze(); - - // Update the registry and return the package - EPackage.Registry.INSTANCE.put(CftPackage.eNS_URI, theCftPackage); - return theCftPackage; - } - - /** - * - * - * @generated - */ - @Override - public EClass getComponentDefinition() { - return componentDefinitionEClass; - } - - /** - * - * - * @generated - */ - @Override - public EReference getComponentDefinition_InputEvents() { - return (EReference)componentDefinitionEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EReference getComponentDefinition_EventDefinitions() { - return (EReference)componentDefinitionEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - @Override - public EReference getComponentDefinition_OutputEvents() { - return (EReference)componentDefinitionEClass.getEStructuralFeatures().get(2); - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getComponentDefinition_Name() { - return (EAttribute)componentDefinitionEClass.getEStructuralFeatures().get(3); - } - - /** - * - * - * @generated - */ - @Override - public EClass getEventDefinition() { - return eventDefinitionEClass; - } - - /** - * - * - * @generated - */ - @Override - public EClass getGateDefinition() { - return gateDefinitionEClass; - } - - /** - * - * - * @generated - */ - @Override - public EReference getGateDefinition_InputEvents() { - return (EReference)gateDefinitionEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EClass getBasicEventDefinition() { - return basicEventDefinitionEClass; - } - - /** - * - * - * @generated - */ - @Override - public EReference getBasicEventDefinition_Distribution() { - return (EReference)basicEventDefinitionEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EClass getInputEvent() { - return inputEventEClass; - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getInputEvent_Multiple() { - return (EAttribute)inputEventEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EClass getEventDeclaration() { - return eventDeclarationEClass; - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getEventDeclaration_Name() { - return (EAttribute)eventDeclarationEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EClass getAndGateDefinition() { - return andGateDefinitionEClass; - } - - /** - * - * - * @generated - */ - @Override - public EClass getOrGateDefinition() { - return orGateDefinitionEClass; - } - - /** - * - * - * @generated - */ - @Override - public EClass getKOfMGateDefinition() { - return kOfMGateDefinitionEClass; - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getKOfMGateDefinition_K() { - return (EAttribute)kOfMGateDefinitionEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getKOfMGateDefinition_M() { - return (EAttribute)kOfMGateDefinitionEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - @Override - public EClass getComponentFaultTree() { - return componentFaultTreeEClass; - } - - /** - * - * - * @generated - */ - @Override - public EReference getComponentFaultTree_Components() { - return (EReference)componentFaultTreeEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EReference getComponentFaultTree_TopEvent() { - return (EReference)componentFaultTreeEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - @Override - public EClass getComponent() { - return componentEClass; - } - - /** - * - * - * @generated - */ - @Override - public EReference getComponent_Inputs() { - return (EReference)componentEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EReference getComponent_Outputs() { - return (EReference)componentEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - @Override - public EReference getComponent_ComponentDefinition() { - return (EReference)componentEClass.getEStructuralFeatures().get(2); - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getComponent_Name() { - return (EAttribute)componentEClass.getEStructuralFeatures().get(3); - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getComponent_MultipleAllowed() { - return (EAttribute)componentEClass.getEStructuralFeatures().get(4); - } - - /** - * - * - * @generated - */ - @Override - public EClass getInput() { - return inputEClass; - } - - /** - * - * - * @generated - */ - @Override - public EReference getInput_InputEvent() { - return (EReference)inputEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EReference getInput_Component() { - return (EReference)inputEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - @Override - public EReference getInput_IncomingConnections() { - return (EReference)inputEClass.getEStructuralFeatures().get(2); - } - - /** - * - * - * @generated - */ - @Override - public EClass getOutput() { - return outputEClass; - } - - /** - * - * - * @generated - */ - @Override - public EReference getOutput_EventDeclaration() { - return (EReference)outputEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EReference getOutput_OutgoingConnections() { - return (EReference)outputEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - @Override - public EReference getOutput_Component() { - return (EReference)outputEClass.getEStructuralFeatures().get(2); - } - - /** - * - * - * @generated - */ - @Override - public EClass getConnection() { - return connectionEClass; - } - - /** - * - * - * @generated - */ - @Override - public EReference getConnection_Input() { - return (EReference)connectionEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EReference getConnection_Output() { - return (EReference)connectionEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - @Override - public EClass getModalElement() { - return modalElementEClass; - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getModalElement_Exists() { - return (EAttribute)modalElementEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EEnum getModality() { - return modalityEEnum; - } - - /** - * - * - * @generated - */ - @Override - public CftFactory getCftFactory() { - return (CftFactory)getEFactoryInstance(); - } - - /** - * - * - * @generated - */ - private boolean isCreated = false; - - /** - * Creates the meta-model objects for the package. This method is - * guarded to have no affect on any invocation but its first. - * - * - * @generated - */ - public void createPackageContents() { - if (isCreated) return; - isCreated = true; - - // Create classes and their features - componentDefinitionEClass = createEClass(COMPONENT_DEFINITION); - createEReference(componentDefinitionEClass, COMPONENT_DEFINITION__INPUT_EVENTS); - createEReference(componentDefinitionEClass, COMPONENT_DEFINITION__EVENT_DEFINITIONS); - createEReference(componentDefinitionEClass, COMPONENT_DEFINITION__OUTPUT_EVENTS); - createEAttribute(componentDefinitionEClass, COMPONENT_DEFINITION__NAME); - - eventDefinitionEClass = createEClass(EVENT_DEFINITION); - - gateDefinitionEClass = createEClass(GATE_DEFINITION); - createEReference(gateDefinitionEClass, GATE_DEFINITION__INPUT_EVENTS); - - basicEventDefinitionEClass = createEClass(BASIC_EVENT_DEFINITION); - createEReference(basicEventDefinitionEClass, BASIC_EVENT_DEFINITION__DISTRIBUTION); - - inputEventEClass = createEClass(INPUT_EVENT); - createEAttribute(inputEventEClass, INPUT_EVENT__MULTIPLE); - - eventDeclarationEClass = createEClass(EVENT_DECLARATION); - createEAttribute(eventDeclarationEClass, EVENT_DECLARATION__NAME); - - andGateDefinitionEClass = createEClass(AND_GATE_DEFINITION); - - orGateDefinitionEClass = createEClass(OR_GATE_DEFINITION); - - kOfMGateDefinitionEClass = createEClass(KOF_MGATE_DEFINITION); - createEAttribute(kOfMGateDefinitionEClass, KOF_MGATE_DEFINITION__K); - createEAttribute(kOfMGateDefinitionEClass, KOF_MGATE_DEFINITION__M); - - componentFaultTreeEClass = createEClass(COMPONENT_FAULT_TREE); - createEReference(componentFaultTreeEClass, COMPONENT_FAULT_TREE__COMPONENTS); - createEReference(componentFaultTreeEClass, COMPONENT_FAULT_TREE__TOP_EVENT); - - componentEClass = createEClass(COMPONENT); - createEReference(componentEClass, COMPONENT__INPUTS); - createEReference(componentEClass, COMPONENT__OUTPUTS); - createEReference(componentEClass, COMPONENT__COMPONENT_DEFINITION); - createEAttribute(componentEClass, COMPONENT__NAME); - createEAttribute(componentEClass, COMPONENT__MULTIPLE_ALLOWED); - - inputEClass = createEClass(INPUT); - createEReference(inputEClass, INPUT__INPUT_EVENT); - createEReference(inputEClass, INPUT__COMPONENT); - createEReference(inputEClass, INPUT__INCOMING_CONNECTIONS); - - outputEClass = createEClass(OUTPUT); - createEReference(outputEClass, OUTPUT__EVENT_DECLARATION); - createEReference(outputEClass, OUTPUT__OUTGOING_CONNECTIONS); - createEReference(outputEClass, OUTPUT__COMPONENT); - - connectionEClass = createEClass(CONNECTION); - createEReference(connectionEClass, CONNECTION__INPUT); - createEReference(connectionEClass, CONNECTION__OUTPUT); - - modalElementEClass = createEClass(MODAL_ELEMENT); - createEAttribute(modalElementEClass, MODAL_ELEMENT__EXISTS); - - // Create enums - modalityEEnum = createEEnum(MODALITY); - } - - /** - * - * - * @generated - */ - private boolean isInitialized = false; - - /** - * Complete the initialization of the package and its meta-model. This - * method is guarded to have no affect on any invocation but its first. - * - * - * @generated - */ - public void initializePackageContents() { - if (isInitialized) return; - isInitialized = true; - - // Initialize package - setName(eNAME); - setNsPrefix(eNS_PREFIX); - setNsURI(eNS_URI); - - // Obtain other dependent packages - FtPackage theFtPackage = (FtPackage)EPackage.Registry.INSTANCE.getEPackage(FtPackage.eNS_URI); - - // Create type parameters - - // Set bounds for type parameters - - // Add supertypes to classes - eventDefinitionEClass.getESuperTypes().add(this.getEventDeclaration()); - gateDefinitionEClass.getESuperTypes().add(this.getEventDefinition()); - basicEventDefinitionEClass.getESuperTypes().add(this.getEventDefinition()); - inputEventEClass.getESuperTypes().add(this.getEventDeclaration()); - andGateDefinitionEClass.getESuperTypes().add(this.getGateDefinition()); - orGateDefinitionEClass.getESuperTypes().add(this.getGateDefinition()); - kOfMGateDefinitionEClass.getESuperTypes().add(this.getGateDefinition()); - componentEClass.getESuperTypes().add(this.getModalElement()); - connectionEClass.getESuperTypes().add(this.getModalElement()); - - // Initialize classes, features, and operations; add parameters - initEClass(componentDefinitionEClass, ComponentDefinition.class, "ComponentDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getComponentDefinition_InputEvents(), this.getInputEvent(), null, "inputEvents", null, 0, -1, ComponentDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getComponentDefinition_EventDefinitions(), this.getEventDefinition(), null, "eventDefinitions", null, 0, -1, ComponentDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getComponentDefinition_OutputEvents(), this.getEventDeclaration(), null, "outputEvents", null, 0, -1, ComponentDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getComponentDefinition_Name(), ecorePackage.getEString(), "name", null, 0, 1, ComponentDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(eventDefinitionEClass, EventDefinition.class, "EventDefinition", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - - initEClass(gateDefinitionEClass, GateDefinition.class, "GateDefinition", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getGateDefinition_InputEvents(), this.getEventDeclaration(), null, "inputEvents", null, 0, -1, GateDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(basicEventDefinitionEClass, BasicEventDefinition.class, "BasicEventDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getBasicEventDefinition_Distribution(), theFtPackage.getDistribution(), null, "distribution", null, 1, 1, BasicEventDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(inputEventEClass, InputEvent.class, "InputEvent", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getInputEvent_Multiple(), ecorePackage.getEBoolean(), "multiple", null, 0, 1, InputEvent.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(eventDeclarationEClass, EventDeclaration.class, "EventDeclaration", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getEventDeclaration_Name(), ecorePackage.getEString(), "name", null, 0, 1, EventDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(andGateDefinitionEClass, AndGateDefinition.class, "AndGateDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - - initEClass(orGateDefinitionEClass, OrGateDefinition.class, "OrGateDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - - initEClass(kOfMGateDefinitionEClass, KOfMGateDefinition.class, "KOfMGateDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getKOfMGateDefinition_K(), ecorePackage.getEInt(), "k", null, 0, 1, KOfMGateDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getKOfMGateDefinition_M(), ecorePackage.getEInt(), "m", null, 0, 1, KOfMGateDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(componentFaultTreeEClass, ComponentFaultTree.class, "ComponentFaultTree", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getComponentFaultTree_Components(), this.getComponent(), null, "components", null, 0, -1, ComponentFaultTree.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getComponentFaultTree_TopEvent(), this.getOutput(), null, "topEvent", null, 1, 1, ComponentFaultTree.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(componentEClass, Component.class, "Component", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getComponent_Inputs(), this.getInput(), this.getInput_Component(), "inputs", null, 0, -1, Component.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getComponent_Outputs(), this.getOutput(), this.getOutput_Component(), "outputs", null, 0, -1, Component.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getComponent_ComponentDefinition(), this.getComponentDefinition(), null, "componentDefinition", null, 1, 1, Component.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getComponent_Name(), ecorePackage.getEString(), "name", null, 0, 1, Component.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getComponent_MultipleAllowed(), ecorePackage.getEBoolean(), "multipleAllowed", "false", 0, 1, Component.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(inputEClass, Input.class, "Input", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getInput_InputEvent(), this.getInputEvent(), null, "inputEvent", null, 1, 1, Input.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getInput_Component(), this.getComponent(), this.getComponent_Inputs(), "component", null, 1, 1, Input.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getInput_IncomingConnections(), this.getConnection(), this.getConnection_Input(), "incomingConnections", null, 0, -1, Input.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(outputEClass, Output.class, "Output", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getOutput_EventDeclaration(), this.getEventDeclaration(), null, "eventDeclaration", null, 1, 1, Output.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getOutput_OutgoingConnections(), this.getConnection(), this.getConnection_Output(), "outgoingConnections", null, 0, -1, Output.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getOutput_Component(), this.getComponent(), this.getComponent_Outputs(), "component", null, 1, 1, Output.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(connectionEClass, Connection.class, "Connection", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getConnection_Input(), this.getInput(), this.getInput_IncomingConnections(), "input", null, 1, 1, Connection.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getConnection_Output(), this.getOutput(), this.getOutput_OutgoingConnections(), "output", null, 1, 1, Connection.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(modalElementEClass, ModalElement.class, "ModalElement", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getModalElement_Exists(), this.getModality(), "exists", "MUST", 0, 1, ModalElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - // Initialize enums and add enum literals - initEEnum(modalityEEnum, Modality.class, "Modality"); - addEEnumLiteral(modalityEEnum, Modality.MAY); - addEEnumLiteral(modalityEEnum, Modality.CURRENT); - addEEnumLiteral(modalityEEnum, Modality.MUST); - - // Create resource - createResource(eNS_URI); - } - -} //CftPackageImpl diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/ComponentDefinitionImpl.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/ComponentDefinitionImpl.java deleted file mode 100644 index 3b79fb0c..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/ComponentDefinitionImpl.java +++ /dev/null @@ -1,299 +0,0 @@ -/** - */ -package hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl; - -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage; -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentDefinition; -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.EventDeclaration; -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.EventDefinition; -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.InputEvent; -import java.util.Collection; - -import org.eclipse.emf.common.notify.Notification; -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.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; - -import org.eclipse.emf.ecore.util.EObjectContainmentEList; -import org.eclipse.emf.ecore.util.EObjectResolvingEList; -import org.eclipse.emf.ecore.util.InternalEList; - -/** - * - * An implementation of the model object 'Component Definition'. - * - *

    - * The following features are implemented: - *

    - *
      - *
    • {@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.ComponentDefinitionImpl#getInputEvents Input Events}
    • - *
    • {@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.ComponentDefinitionImpl#getEventDefinitions Event Definitions}
    • - *
    • {@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.ComponentDefinitionImpl#getOutputEvents Output Events}
    • - *
    • {@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.ComponentDefinitionImpl#getName Name}
    • - *
    - * - * @generated - */ -public class ComponentDefinitionImpl extends MinimalEObjectImpl.Container implements ComponentDefinition { - /** - * The cached value of the '{@link #getInputEvents() Input Events}' containment reference list. - * - * - * @see #getInputEvents() - * @generated - * @ordered - */ - protected EList inputEvents; - - /** - * The cached value of the '{@link #getEventDefinitions() Event Definitions}' containment reference list. - * - * - * @see #getEventDefinitions() - * @generated - * @ordered - */ - protected EList eventDefinitions; - - /** - * The cached value of the '{@link #getOutputEvents() Output Events}' reference list. - * - * - * @see #getOutputEvents() - * @generated - * @ordered - */ - protected EList outputEvents; - - /** - * The default value of the '{@link #getName() Name}' attribute. - * - * - * @see #getName() - * @generated - * @ordered - */ - protected static final String NAME_EDEFAULT = null; - - /** - * The cached value of the '{@link #getName() Name}' attribute. - * - * - * @see #getName() - * @generated - * @ordered - */ - protected String name = NAME_EDEFAULT; - - /** - * - * - * @generated - */ - protected ComponentDefinitionImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return CftPackage.Literals.COMPONENT_DEFINITION; - } - - /** - * - * - * @generated - */ - @Override - public EList getInputEvents() { - if (inputEvents == null) { - inputEvents = new EObjectContainmentEList(InputEvent.class, this, CftPackage.COMPONENT_DEFINITION__INPUT_EVENTS); - } - return inputEvents; - } - - /** - * - * - * @generated - */ - @Override - public EList getEventDefinitions() { - if (eventDefinitions == null) { - eventDefinitions = new EObjectContainmentEList(EventDefinition.class, this, CftPackage.COMPONENT_DEFINITION__EVENT_DEFINITIONS); - } - return eventDefinitions; - } - - /** - * - * - * @generated - */ - @Override - public EList getOutputEvents() { - if (outputEvents == null) { - outputEvents = new EObjectResolvingEList(EventDeclaration.class, this, CftPackage.COMPONENT_DEFINITION__OUTPUT_EVENTS); - } - return outputEvents; - } - - /** - * - * - * @generated - */ - @Override - public String getName() { - return name; - } - - /** - * - * - * @generated - */ - @Override - public void setName(String newName) { - String oldName = name; - name = newName; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, CftPackage.COMPONENT_DEFINITION__NAME, oldName, name)); - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case CftPackage.COMPONENT_DEFINITION__INPUT_EVENTS: - return ((InternalEList)getInputEvents()).basicRemove(otherEnd, msgs); - case CftPackage.COMPONENT_DEFINITION__EVENT_DEFINITIONS: - return ((InternalEList)getEventDefinitions()).basicRemove(otherEnd, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case CftPackage.COMPONENT_DEFINITION__INPUT_EVENTS: - return getInputEvents(); - case CftPackage.COMPONENT_DEFINITION__EVENT_DEFINITIONS: - return getEventDefinitions(); - case CftPackage.COMPONENT_DEFINITION__OUTPUT_EVENTS: - return getOutputEvents(); - case CftPackage.COMPONENT_DEFINITION__NAME: - return getName(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case CftPackage.COMPONENT_DEFINITION__INPUT_EVENTS: - getInputEvents().clear(); - getInputEvents().addAll((Collection)newValue); - return; - case CftPackage.COMPONENT_DEFINITION__EVENT_DEFINITIONS: - getEventDefinitions().clear(); - getEventDefinitions().addAll((Collection)newValue); - return; - case CftPackage.COMPONENT_DEFINITION__OUTPUT_EVENTS: - getOutputEvents().clear(); - getOutputEvents().addAll((Collection)newValue); - return; - case CftPackage.COMPONENT_DEFINITION__NAME: - setName((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case CftPackage.COMPONENT_DEFINITION__INPUT_EVENTS: - getInputEvents().clear(); - return; - case CftPackage.COMPONENT_DEFINITION__EVENT_DEFINITIONS: - getEventDefinitions().clear(); - return; - case CftPackage.COMPONENT_DEFINITION__OUTPUT_EVENTS: - getOutputEvents().clear(); - return; - case CftPackage.COMPONENT_DEFINITION__NAME: - setName(NAME_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case CftPackage.COMPONENT_DEFINITION__INPUT_EVENTS: - return inputEvents != null && !inputEvents.isEmpty(); - case CftPackage.COMPONENT_DEFINITION__EVENT_DEFINITIONS: - return eventDefinitions != null && !eventDefinitions.isEmpty(); - case CftPackage.COMPONENT_DEFINITION__OUTPUT_EVENTS: - return outputEvents != null && !outputEvents.isEmpty(); - case CftPackage.COMPONENT_DEFINITION__NAME: - return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuilder result = new StringBuilder(super.toString()); - result.append(" (name: "); - result.append(name); - result.append(')'); - return result.toString(); - } - -} //ComponentDefinitionImpl diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/ComponentFaultTreeImpl.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/ComponentFaultTreeImpl.java deleted file mode 100644 index b84b6436..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/ComponentFaultTreeImpl.java +++ /dev/null @@ -1,218 +0,0 @@ -/** - */ -package hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl; - -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage; -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Component; -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentFaultTree; -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Output; - -import java.util.Collection; - -import org.eclipse.emf.common.notify.Notification; -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.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; - -import org.eclipse.emf.ecore.util.EObjectContainmentEList; -import org.eclipse.emf.ecore.util.InternalEList; - -/** - * - * An implementation of the model object 'Component Fault Tree'. - * - *

    - * The following features are implemented: - *

    - *
      - *
    • {@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.ComponentFaultTreeImpl#getComponents Components}
    • - *
    • {@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.ComponentFaultTreeImpl#getTopEvent Top Event}
    • - *
    - * - * @generated - */ -public class ComponentFaultTreeImpl extends MinimalEObjectImpl.Container implements ComponentFaultTree { - /** - * The cached value of the '{@link #getComponents() Components}' containment reference list. - * - * - * @see #getComponents() - * @generated - * @ordered - */ - protected EList components; - - /** - * The cached value of the '{@link #getTopEvent() Top Event}' reference. - * - * - * @see #getTopEvent() - * @generated - * @ordered - */ - protected Output topEvent; - - /** - * - * - * @generated - */ - protected ComponentFaultTreeImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return CftPackage.Literals.COMPONENT_FAULT_TREE; - } - - /** - * - * - * @generated - */ - @Override - public EList getComponents() { - if (components == null) { - components = new EObjectContainmentEList(Component.class, this, CftPackage.COMPONENT_FAULT_TREE__COMPONENTS); - } - return components; - } - - /** - * - * - * @generated - */ - @Override - public Output getTopEvent() { - if (topEvent != null && topEvent.eIsProxy()) { - InternalEObject oldTopEvent = (InternalEObject)topEvent; - topEvent = (Output)eResolveProxy(oldTopEvent); - if (topEvent != oldTopEvent) { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, CftPackage.COMPONENT_FAULT_TREE__TOP_EVENT, oldTopEvent, topEvent)); - } - } - return topEvent; - } - - /** - * - * - * @generated - */ - public Output basicGetTopEvent() { - return topEvent; - } - - /** - * - * - * @generated - */ - @Override - public void setTopEvent(Output newTopEvent) { - Output oldTopEvent = topEvent; - topEvent = newTopEvent; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, CftPackage.COMPONENT_FAULT_TREE__TOP_EVENT, oldTopEvent, topEvent)); - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case CftPackage.COMPONENT_FAULT_TREE__COMPONENTS: - return ((InternalEList)getComponents()).basicRemove(otherEnd, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case CftPackage.COMPONENT_FAULT_TREE__COMPONENTS: - return getComponents(); - case CftPackage.COMPONENT_FAULT_TREE__TOP_EVENT: - if (resolve) return getTopEvent(); - return basicGetTopEvent(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case CftPackage.COMPONENT_FAULT_TREE__COMPONENTS: - getComponents().clear(); - getComponents().addAll((Collection)newValue); - return; - case CftPackage.COMPONENT_FAULT_TREE__TOP_EVENT: - setTopEvent((Output)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case CftPackage.COMPONENT_FAULT_TREE__COMPONENTS: - getComponents().clear(); - return; - case CftPackage.COMPONENT_FAULT_TREE__TOP_EVENT: - setTopEvent((Output)null); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case CftPackage.COMPONENT_FAULT_TREE__COMPONENTS: - return components != null && !components.isEmpty(); - case CftPackage.COMPONENT_FAULT_TREE__TOP_EVENT: - return topEvent != null; - } - return super.eIsSet(featureID); - } - -} //ComponentFaultTreeImpl diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/ComponentImpl.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/ComponentImpl.java deleted file mode 100644 index dcbf7660..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/ComponentImpl.java +++ /dev/null @@ -1,456 +0,0 @@ -/** - */ -package hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl; - -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage; -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Component; -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentDefinition; -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Input; -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Modality; -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Output; - -import java.util.Collection; - -import org.eclipse.emf.common.notify.Notification; -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.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; - -import org.eclipse.emf.ecore.util.EObjectContainmentWithInverseEList; -import org.eclipse.emf.ecore.util.InternalEList; - -/** - * - * An implementation of the model object 'Component'. - * - *

    - * The following features are implemented: - *

    - *
      - *
    • {@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.ComponentImpl#getExists Exists}
    • - *
    • {@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.ComponentImpl#getInputs Inputs}
    • - *
    • {@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.ComponentImpl#getOutputs Outputs}
    • - *
    • {@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.ComponentImpl#getComponentDefinition Component Definition}
    • - *
    • {@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.ComponentImpl#getName Name}
    • - *
    • {@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.ComponentImpl#isMultipleAllowed Multiple Allowed}
    • - *
    - * - * @generated - */ -public class ComponentImpl extends MinimalEObjectImpl.Container implements Component { - /** - * The default value of the '{@link #getExists() Exists}' attribute. - * - * - * @see #getExists() - * @generated - * @ordered - */ - protected static final Modality EXISTS_EDEFAULT = Modality.MUST; - - /** - * The cached value of the '{@link #getExists() Exists}' attribute. - * - * - * @see #getExists() - * @generated - * @ordered - */ - protected Modality exists = EXISTS_EDEFAULT; - - /** - * The cached value of the '{@link #getInputs() Inputs}' containment reference list. - * - * - * @see #getInputs() - * @generated - * @ordered - */ - protected EList inputs; - - /** - * The cached value of the '{@link #getOutputs() Outputs}' containment reference list. - * - * - * @see #getOutputs() - * @generated - * @ordered - */ - protected EList outputs; - - /** - * The cached value of the '{@link #getComponentDefinition() Component Definition}' reference. - * - * - * @see #getComponentDefinition() - * @generated - * @ordered - */ - protected ComponentDefinition componentDefinition; - - /** - * The default value of the '{@link #getName() Name}' attribute. - * - * - * @see #getName() - * @generated - * @ordered - */ - protected static final String NAME_EDEFAULT = null; - - /** - * The cached value of the '{@link #getName() Name}' attribute. - * - * - * @see #getName() - * @generated - * @ordered - */ - protected String name = NAME_EDEFAULT; - - /** - * The default value of the '{@link #isMultipleAllowed() Multiple Allowed}' attribute. - * - * - * @see #isMultipleAllowed() - * @generated - * @ordered - */ - protected static final boolean MULTIPLE_ALLOWED_EDEFAULT = false; - - /** - * The cached value of the '{@link #isMultipleAllowed() Multiple Allowed}' attribute. - * - * - * @see #isMultipleAllowed() - * @generated - * @ordered - */ - protected boolean multipleAllowed = MULTIPLE_ALLOWED_EDEFAULT; - - /** - * - * - * @generated - */ - protected ComponentImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return CftPackage.Literals.COMPONENT; - } - - /** - * - * - * @generated - */ - @Override - public EList getInputs() { - if (inputs == null) { - inputs = new EObjectContainmentWithInverseEList(Input.class, this, CftPackage.COMPONENT__INPUTS, CftPackage.INPUT__COMPONENT); - } - return inputs; - } - - /** - * - * - * @generated - */ - @Override - public EList getOutputs() { - if (outputs == null) { - outputs = new EObjectContainmentWithInverseEList(Output.class, this, CftPackage.COMPONENT__OUTPUTS, CftPackage.OUTPUT__COMPONENT); - } - return outputs; - } - - /** - * - * - * @generated - */ - @Override - public ComponentDefinition getComponentDefinition() { - if (componentDefinition != null && componentDefinition.eIsProxy()) { - InternalEObject oldComponentDefinition = (InternalEObject)componentDefinition; - componentDefinition = (ComponentDefinition)eResolveProxy(oldComponentDefinition); - if (componentDefinition != oldComponentDefinition) { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, CftPackage.COMPONENT__COMPONENT_DEFINITION, oldComponentDefinition, componentDefinition)); - } - } - return componentDefinition; - } - - /** - * - * - * @generated - */ - public ComponentDefinition basicGetComponentDefinition() { - return componentDefinition; - } - - /** - * - * - * @generated - */ - @Override - public void setComponentDefinition(ComponentDefinition newComponentDefinition) { - ComponentDefinition oldComponentDefinition = componentDefinition; - componentDefinition = newComponentDefinition; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, CftPackage.COMPONENT__COMPONENT_DEFINITION, oldComponentDefinition, componentDefinition)); - } - - /** - * - * - * @generated - */ - @Override - public String getName() { - return name; - } - - /** - * - * - * @generated - */ - @Override - public void setName(String newName) { - String oldName = name; - name = newName; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, CftPackage.COMPONENT__NAME, oldName, name)); - } - - /** - * - * - * @generated - */ - @Override - public Modality getExists() { - return exists; - } - - /** - * - * - * @generated - */ - @Override - public void setExists(Modality newExists) { - Modality oldExists = exists; - exists = newExists == null ? EXISTS_EDEFAULT : newExists; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, CftPackage.COMPONENT__EXISTS, oldExists, exists)); - } - - /** - * - * - * @generated - */ - @Override - public boolean isMultipleAllowed() { - return multipleAllowed; - } - - /** - * - * - * @generated - */ - @Override - public void setMultipleAllowed(boolean newMultipleAllowed) { - boolean oldMultipleAllowed = multipleAllowed; - multipleAllowed = newMultipleAllowed; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, CftPackage.COMPONENT__MULTIPLE_ALLOWED, oldMultipleAllowed, multipleAllowed)); - } - - /** - * - * - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case CftPackage.COMPONENT__INPUTS: - return ((InternalEList)(InternalEList)getInputs()).basicAdd(otherEnd, msgs); - case CftPackage.COMPONENT__OUTPUTS: - return ((InternalEList)(InternalEList)getOutputs()).basicAdd(otherEnd, msgs); - } - return super.eInverseAdd(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case CftPackage.COMPONENT__INPUTS: - return ((InternalEList)getInputs()).basicRemove(otherEnd, msgs); - case CftPackage.COMPONENT__OUTPUTS: - return ((InternalEList)getOutputs()).basicRemove(otherEnd, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case CftPackage.COMPONENT__EXISTS: - return getExists(); - case CftPackage.COMPONENT__INPUTS: - return getInputs(); - case CftPackage.COMPONENT__OUTPUTS: - return getOutputs(); - case CftPackage.COMPONENT__COMPONENT_DEFINITION: - if (resolve) return getComponentDefinition(); - return basicGetComponentDefinition(); - case CftPackage.COMPONENT__NAME: - return getName(); - case CftPackage.COMPONENT__MULTIPLE_ALLOWED: - return isMultipleAllowed(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case CftPackage.COMPONENT__EXISTS: - setExists((Modality)newValue); - return; - case CftPackage.COMPONENT__INPUTS: - getInputs().clear(); - getInputs().addAll((Collection)newValue); - return; - case CftPackage.COMPONENT__OUTPUTS: - getOutputs().clear(); - getOutputs().addAll((Collection)newValue); - return; - case CftPackage.COMPONENT__COMPONENT_DEFINITION: - setComponentDefinition((ComponentDefinition)newValue); - return; - case CftPackage.COMPONENT__NAME: - setName((String)newValue); - return; - case CftPackage.COMPONENT__MULTIPLE_ALLOWED: - setMultipleAllowed((Boolean)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case CftPackage.COMPONENT__EXISTS: - setExists(EXISTS_EDEFAULT); - return; - case CftPackage.COMPONENT__INPUTS: - getInputs().clear(); - return; - case CftPackage.COMPONENT__OUTPUTS: - getOutputs().clear(); - return; - case CftPackage.COMPONENT__COMPONENT_DEFINITION: - setComponentDefinition((ComponentDefinition)null); - return; - case CftPackage.COMPONENT__NAME: - setName(NAME_EDEFAULT); - return; - case CftPackage.COMPONENT__MULTIPLE_ALLOWED: - setMultipleAllowed(MULTIPLE_ALLOWED_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case CftPackage.COMPONENT__EXISTS: - return exists != EXISTS_EDEFAULT; - case CftPackage.COMPONENT__INPUTS: - return inputs != null && !inputs.isEmpty(); - case CftPackage.COMPONENT__OUTPUTS: - return outputs != null && !outputs.isEmpty(); - case CftPackage.COMPONENT__COMPONENT_DEFINITION: - return componentDefinition != null; - case CftPackage.COMPONENT__NAME: - return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); - case CftPackage.COMPONENT__MULTIPLE_ALLOWED: - return multipleAllowed != MULTIPLE_ALLOWED_EDEFAULT; - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuilder result = new StringBuilder(super.toString()); - result.append(" (exists: "); - result.append(exists); - result.append(", name: "); - result.append(name); - result.append(", multipleAllowed: "); - result.append(multipleAllowed); - result.append(')'); - return result.toString(); - } - -} //ComponentImpl diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/ConnectionImpl.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/ConnectionImpl.java deleted file mode 100644 index aea86ed4..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/ConnectionImpl.java +++ /dev/null @@ -1,360 +0,0 @@ -/** - */ -package hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl; - -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage; -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Connection; -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Input; -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Modality; -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Output; - -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; - -import org.eclipse.emf.ecore.util.EcoreUtil; - -/** - * - * An implementation of the model object 'Connection'. - * - *

    - * The following features are implemented: - *

    - *
      - *
    • {@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.ConnectionImpl#getExists Exists}
    • - *
    • {@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.ConnectionImpl#getInput Input}
    • - *
    • {@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.ConnectionImpl#getOutput Output}
    • - *
    - * - * @generated - */ -public class ConnectionImpl extends MinimalEObjectImpl.Container implements Connection { - /** - * The default value of the '{@link #getExists() Exists}' attribute. - * - * - * @see #getExists() - * @generated - * @ordered - */ - protected static final Modality EXISTS_EDEFAULT = Modality.MUST; - - /** - * The cached value of the '{@link #getExists() Exists}' attribute. - * - * - * @see #getExists() - * @generated - * @ordered - */ - protected Modality exists = EXISTS_EDEFAULT; - - /** - * The cached value of the '{@link #getOutput() Output}' reference. - * - * - * @see #getOutput() - * @generated - * @ordered - */ - protected Output output; - - /** - * - * - * @generated - */ - protected ConnectionImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return CftPackage.Literals.CONNECTION; - } - - /** - * - * - * @generated - */ - @Override - public Input getInput() { - if (eContainerFeatureID() != CftPackage.CONNECTION__INPUT) return null; - return (Input)eInternalContainer(); - } - - /** - * - * - * @generated - */ - public NotificationChain basicSetInput(Input newInput, NotificationChain msgs) { - msgs = eBasicSetContainer((InternalEObject)newInput, CftPackage.CONNECTION__INPUT, msgs); - return msgs; - } - - /** - * - * - * @generated - */ - @Override - public void setInput(Input newInput) { - if (newInput != eInternalContainer() || (eContainerFeatureID() != CftPackage.CONNECTION__INPUT && newInput != null)) { - if (EcoreUtil.isAncestor(this, newInput)) - throw new IllegalArgumentException("Recursive containment not allowed for " + toString()); - NotificationChain msgs = null; - if (eInternalContainer() != null) - msgs = eBasicRemoveFromContainer(msgs); - if (newInput != null) - msgs = ((InternalEObject)newInput).eInverseAdd(this, CftPackage.INPUT__INCOMING_CONNECTIONS, Input.class, msgs); - msgs = basicSetInput(newInput, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, CftPackage.CONNECTION__INPUT, newInput, newInput)); - } - - /** - * - * - * @generated - */ - @Override - public Output getOutput() { - if (output != null && output.eIsProxy()) { - InternalEObject oldOutput = (InternalEObject)output; - output = (Output)eResolveProxy(oldOutput); - if (output != oldOutput) { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, CftPackage.CONNECTION__OUTPUT, oldOutput, output)); - } - } - return output; - } - - /** - * - * - * @generated - */ - public Output basicGetOutput() { - return output; - } - - /** - * - * - * @generated - */ - public NotificationChain basicSetOutput(Output newOutput, NotificationChain msgs) { - Output oldOutput = output; - output = newOutput; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, CftPackage.CONNECTION__OUTPUT, oldOutput, newOutput); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * - * - * @generated - */ - @Override - public void setOutput(Output newOutput) { - if (newOutput != output) { - NotificationChain msgs = null; - if (output != null) - msgs = ((InternalEObject)output).eInverseRemove(this, CftPackage.OUTPUT__OUTGOING_CONNECTIONS, Output.class, msgs); - if (newOutput != null) - msgs = ((InternalEObject)newOutput).eInverseAdd(this, CftPackage.OUTPUT__OUTGOING_CONNECTIONS, Output.class, msgs); - msgs = basicSetOutput(newOutput, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, CftPackage.CONNECTION__OUTPUT, newOutput, newOutput)); - } - - /** - * - * - * @generated - */ - @Override - public Modality getExists() { - return exists; - } - - /** - * - * - * @generated - */ - @Override - public void setExists(Modality newExists) { - Modality oldExists = exists; - exists = newExists == null ? EXISTS_EDEFAULT : newExists; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, CftPackage.CONNECTION__EXISTS, oldExists, exists)); - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case CftPackage.CONNECTION__INPUT: - if (eInternalContainer() != null) - msgs = eBasicRemoveFromContainer(msgs); - return basicSetInput((Input)otherEnd, msgs); - case CftPackage.CONNECTION__OUTPUT: - if (output != null) - msgs = ((InternalEObject)output).eInverseRemove(this, CftPackage.OUTPUT__OUTGOING_CONNECTIONS, Output.class, msgs); - return basicSetOutput((Output)otherEnd, msgs); - } - return super.eInverseAdd(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case CftPackage.CONNECTION__INPUT: - return basicSetInput(null, msgs); - case CftPackage.CONNECTION__OUTPUT: - return basicSetOutput(null, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs) { - switch (eContainerFeatureID()) { - case CftPackage.CONNECTION__INPUT: - return eInternalContainer().eInverseRemove(this, CftPackage.INPUT__INCOMING_CONNECTIONS, Input.class, msgs); - } - return super.eBasicRemoveFromContainerFeature(msgs); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case CftPackage.CONNECTION__EXISTS: - return getExists(); - case CftPackage.CONNECTION__INPUT: - return getInput(); - case CftPackage.CONNECTION__OUTPUT: - if (resolve) return getOutput(); - return basicGetOutput(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case CftPackage.CONNECTION__EXISTS: - setExists((Modality)newValue); - return; - case CftPackage.CONNECTION__INPUT: - setInput((Input)newValue); - return; - case CftPackage.CONNECTION__OUTPUT: - setOutput((Output)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case CftPackage.CONNECTION__EXISTS: - setExists(EXISTS_EDEFAULT); - return; - case CftPackage.CONNECTION__INPUT: - setInput((Input)null); - return; - case CftPackage.CONNECTION__OUTPUT: - setOutput((Output)null); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case CftPackage.CONNECTION__EXISTS: - return exists != EXISTS_EDEFAULT; - case CftPackage.CONNECTION__INPUT: - return getInput() != null; - case CftPackage.CONNECTION__OUTPUT: - return output != null; - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuilder result = new StringBuilder(super.toString()); - result.append(" (exists: "); - result.append(exists); - result.append(')'); - return result.toString(); - } - -} //ConnectionImpl diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/EventDeclarationImpl.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/EventDeclarationImpl.java deleted file mode 100644 index e60a9427..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/EventDeclarationImpl.java +++ /dev/null @@ -1,163 +0,0 @@ -/** - */ -package hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl; - -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage; -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.EventDeclaration; - -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 'Event Declaration'. - * - *

    - * The following features are implemented: - *

    - *
      - *
    • {@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.EventDeclarationImpl#getName Name}
    • - *
    - * - * @generated - */ -public abstract class EventDeclarationImpl extends MinimalEObjectImpl.Container implements EventDeclaration { - /** - * The default value of the '{@link #getName() Name}' attribute. - * - * - * @see #getName() - * @generated - * @ordered - */ - protected static final String NAME_EDEFAULT = null; - /** - * The cached value of the '{@link #getName() Name}' attribute. - * - * - * @see #getName() - * @generated - * @ordered - */ - protected String name = NAME_EDEFAULT; - - /** - * - * - * @generated - */ - protected EventDeclarationImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return CftPackage.Literals.EVENT_DECLARATION; - } - - /** - * - * - * @generated - */ - @Override - public String getName() { - return name; - } - - /** - * - * - * @generated - */ - @Override - public void setName(String newName) { - String oldName = name; - name = newName; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, CftPackage.EVENT_DECLARATION__NAME, oldName, name)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case CftPackage.EVENT_DECLARATION__NAME: - return getName(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case CftPackage.EVENT_DECLARATION__NAME: - setName((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case CftPackage.EVENT_DECLARATION__NAME: - setName(NAME_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case CftPackage.EVENT_DECLARATION__NAME: - return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuilder result = new StringBuilder(super.toString()); - result.append(" (name: "); - result.append(name); - result.append(')'); - return result.toString(); - } - -} //EventDeclarationImpl diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/EventDefinitionImpl.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/EventDefinitionImpl.java deleted file mode 100644 index 76b79f5b..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/EventDefinitionImpl.java +++ /dev/null @@ -1,37 +0,0 @@ -/** - */ -package hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl; - -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage; -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.EventDefinition; - -import org.eclipse.emf.ecore.EClass; - -/** - * - * An implementation of the model object 'Event Definition'. - * - * - * @generated - */ -public abstract class EventDefinitionImpl extends EventDeclarationImpl implements EventDefinition { - /** - * - * - * @generated - */ - protected EventDefinitionImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return CftPackage.Literals.EVENT_DEFINITION; - } - -} //EventDefinitionImpl diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/GateDefinitionImpl.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/GateDefinitionImpl.java deleted file mode 100644 index 2fb9a724..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/GateDefinitionImpl.java +++ /dev/null @@ -1,133 +0,0 @@ -/** - */ -package hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl; - -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage; -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.EventDeclaration; -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.GateDefinition; - -import java.util.Collection; - -import org.eclipse.emf.common.util.EList; - -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.emf.ecore.util.EObjectResolvingEList; - -/** - * - * An implementation of the model object 'Gate Definition'. - * - *

    - * The following features are implemented: - *

    - *
      - *
    • {@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.GateDefinitionImpl#getInputEvents Input Events}
    • - *
    - * - * @generated - */ -public abstract class GateDefinitionImpl extends EventDefinitionImpl implements GateDefinition { - /** - * The cached value of the '{@link #getInputEvents() Input Events}' reference list. - * - * - * @see #getInputEvents() - * @generated - * @ordered - */ - protected EList inputEvents; - - /** - * - * - * @generated - */ - protected GateDefinitionImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return CftPackage.Literals.GATE_DEFINITION; - } - - /** - * - * - * @generated - */ - @Override - public EList getInputEvents() { - if (inputEvents == null) { - inputEvents = new EObjectResolvingEList(EventDeclaration.class, this, CftPackage.GATE_DEFINITION__INPUT_EVENTS); - } - return inputEvents; - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case CftPackage.GATE_DEFINITION__INPUT_EVENTS: - return getInputEvents(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case CftPackage.GATE_DEFINITION__INPUT_EVENTS: - getInputEvents().clear(); - getInputEvents().addAll((Collection)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case CftPackage.GATE_DEFINITION__INPUT_EVENTS: - getInputEvents().clear(); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case CftPackage.GATE_DEFINITION__INPUT_EVENTS: - return inputEvents != null && !inputEvents.isEmpty(); - } - return super.eIsSet(featureID); - } - -} //GateDefinitionImpl diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/InputEventImpl.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/InputEventImpl.java deleted file mode 100644 index 8432e29b..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/InputEventImpl.java +++ /dev/null @@ -1,164 +0,0 @@ -/** - */ -package hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl; - -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage; -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.InputEvent; - -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 'Input Event'. - * - *

    - * The following features are implemented: - *

    - *
      - *
    • {@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.InputEventImpl#isMultiple Multiple}
    • - *
    - * - * @generated - */ -public class InputEventImpl extends EventDeclarationImpl implements InputEvent { - /** - * The default value of the '{@link #isMultiple() Multiple}' attribute. - * - * - * @see #isMultiple() - * @generated - * @ordered - */ - protected static final boolean MULTIPLE_EDEFAULT = false; - - /** - * The cached value of the '{@link #isMultiple() Multiple}' attribute. - * - * - * @see #isMultiple() - * @generated - * @ordered - */ - protected boolean multiple = MULTIPLE_EDEFAULT; - - /** - * - * - * @generated - */ - protected InputEventImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return CftPackage.Literals.INPUT_EVENT; - } - - /** - * - * - * @generated - */ - @Override - public boolean isMultiple() { - return multiple; - } - - /** - * - * - * @generated - */ - @Override - public void setMultiple(boolean newMultiple) { - boolean oldMultiple = multiple; - multiple = newMultiple; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, CftPackage.INPUT_EVENT__MULTIPLE, oldMultiple, multiple)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case CftPackage.INPUT_EVENT__MULTIPLE: - return isMultiple(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case CftPackage.INPUT_EVENT__MULTIPLE: - setMultiple((Boolean)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case CftPackage.INPUT_EVENT__MULTIPLE: - setMultiple(MULTIPLE_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case CftPackage.INPUT_EVENT__MULTIPLE: - return multiple != MULTIPLE_EDEFAULT; - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuilder result = new StringBuilder(super.toString()); - result.append(" (multiple: "); - result.append(multiple); - result.append(')'); - return result.toString(); - } - -} //InputEventImpl diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/InputImpl.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/InputImpl.java deleted file mode 100644 index aa560064..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/InputImpl.java +++ /dev/null @@ -1,308 +0,0 @@ -/** - */ -package hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl; - -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage; -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Component; -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Connection; -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Input; -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.InputEvent; -import java.util.Collection; - -import org.eclipse.emf.common.notify.Notification; -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.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; - -import org.eclipse.emf.ecore.util.EObjectContainmentWithInverseEList; -import org.eclipse.emf.ecore.util.EcoreUtil; -import org.eclipse.emf.ecore.util.InternalEList; - -/** - * - * An implementation of the model object 'Input'. - * - *

    - * The following features are implemented: - *

    - *
      - *
    • {@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.InputImpl#getInputEvent Input Event}
    • - *
    • {@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.InputImpl#getComponent Component}
    • - *
    • {@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.InputImpl#getIncomingConnections Incoming Connections}
    • - *
    - * - * @generated - */ -public class InputImpl extends MinimalEObjectImpl.Container implements Input { - /** - * The cached value of the '{@link #getInputEvent() Input Event}' reference. - * - * - * @see #getInputEvent() - * @generated - * @ordered - */ - protected InputEvent inputEvent; - - /** - * The cached value of the '{@link #getIncomingConnections() Incoming Connections}' containment reference list. - * - * - * @see #getIncomingConnections() - * @generated - * @ordered - */ - protected EList incomingConnections; - - /** - * - * - * @generated - */ - protected InputImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return CftPackage.Literals.INPUT; - } - - /** - * - * - * @generated - */ - @Override - public InputEvent getInputEvent() { - if (inputEvent != null && inputEvent.eIsProxy()) { - InternalEObject oldInputEvent = (InternalEObject)inputEvent; - inputEvent = (InputEvent)eResolveProxy(oldInputEvent); - if (inputEvent != oldInputEvent) { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, CftPackage.INPUT__INPUT_EVENT, oldInputEvent, inputEvent)); - } - } - return inputEvent; - } - - /** - * - * - * @generated - */ - public InputEvent basicGetInputEvent() { - return inputEvent; - } - - /** - * - * - * @generated - */ - @Override - public void setInputEvent(InputEvent newInputEvent) { - InputEvent oldInputEvent = inputEvent; - inputEvent = newInputEvent; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, CftPackage.INPUT__INPUT_EVENT, oldInputEvent, inputEvent)); - } - - /** - * - * - * @generated - */ - @Override - public Component getComponent() { - if (eContainerFeatureID() != CftPackage.INPUT__COMPONENT) return null; - return (Component)eInternalContainer(); - } - - /** - * - * - * @generated - */ - public NotificationChain basicSetComponent(Component newComponent, NotificationChain msgs) { - msgs = eBasicSetContainer((InternalEObject)newComponent, CftPackage.INPUT__COMPONENT, msgs); - return msgs; - } - - /** - * - * - * @generated - */ - @Override - public void setComponent(Component newComponent) { - if (newComponent != eInternalContainer() || (eContainerFeatureID() != CftPackage.INPUT__COMPONENT && newComponent != null)) { - if (EcoreUtil.isAncestor(this, newComponent)) - throw new IllegalArgumentException("Recursive containment not allowed for " + toString()); - NotificationChain msgs = null; - if (eInternalContainer() != null) - msgs = eBasicRemoveFromContainer(msgs); - if (newComponent != null) - msgs = ((InternalEObject)newComponent).eInverseAdd(this, CftPackage.COMPONENT__INPUTS, Component.class, msgs); - msgs = basicSetComponent(newComponent, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, CftPackage.INPUT__COMPONENT, newComponent, newComponent)); - } - - /** - * - * - * @generated - */ - @Override - public EList getIncomingConnections() { - if (incomingConnections == null) { - incomingConnections = new EObjectContainmentWithInverseEList(Connection.class, this, CftPackage.INPUT__INCOMING_CONNECTIONS, CftPackage.CONNECTION__INPUT); - } - return incomingConnections; - } - - /** - * - * - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case CftPackage.INPUT__COMPONENT: - if (eInternalContainer() != null) - msgs = eBasicRemoveFromContainer(msgs); - return basicSetComponent((Component)otherEnd, msgs); - case CftPackage.INPUT__INCOMING_CONNECTIONS: - return ((InternalEList)(InternalEList)getIncomingConnections()).basicAdd(otherEnd, msgs); - } - return super.eInverseAdd(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case CftPackage.INPUT__COMPONENT: - return basicSetComponent(null, msgs); - case CftPackage.INPUT__INCOMING_CONNECTIONS: - return ((InternalEList)getIncomingConnections()).basicRemove(otherEnd, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs) { - switch (eContainerFeatureID()) { - case CftPackage.INPUT__COMPONENT: - return eInternalContainer().eInverseRemove(this, CftPackage.COMPONENT__INPUTS, Component.class, msgs); - } - return super.eBasicRemoveFromContainerFeature(msgs); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case CftPackage.INPUT__INPUT_EVENT: - if (resolve) return getInputEvent(); - return basicGetInputEvent(); - case CftPackage.INPUT__COMPONENT: - return getComponent(); - case CftPackage.INPUT__INCOMING_CONNECTIONS: - return getIncomingConnections(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case CftPackage.INPUT__INPUT_EVENT: - setInputEvent((InputEvent)newValue); - return; - case CftPackage.INPUT__COMPONENT: - setComponent((Component)newValue); - return; - case CftPackage.INPUT__INCOMING_CONNECTIONS: - getIncomingConnections().clear(); - getIncomingConnections().addAll((Collection)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case CftPackage.INPUT__INPUT_EVENT: - setInputEvent((InputEvent)null); - return; - case CftPackage.INPUT__COMPONENT: - setComponent((Component)null); - return; - case CftPackage.INPUT__INCOMING_CONNECTIONS: - getIncomingConnections().clear(); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case CftPackage.INPUT__INPUT_EVENT: - return inputEvent != null; - case CftPackage.INPUT__COMPONENT: - return getComponent() != null; - case CftPackage.INPUT__INCOMING_CONNECTIONS: - return incomingConnections != null && !incomingConnections.isEmpty(); - } - return super.eIsSet(featureID); - } - -} //InputImpl diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/KOfMGateDefinitionImpl.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/KOfMGateDefinitionImpl.java deleted file mode 100644 index fed17513..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/KOfMGateDefinitionImpl.java +++ /dev/null @@ -1,220 +0,0 @@ -/** - */ -package hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl; - -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage; -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.KOfMGateDefinition; - -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 'KOf MGate Definition'. - * - *

    - * The following features are implemented: - *

    - *
      - *
    • {@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.KOfMGateDefinitionImpl#getK K}
    • - *
    • {@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.KOfMGateDefinitionImpl#getM M}
    • - *
    - * - * @generated - */ -public class KOfMGateDefinitionImpl extends GateDefinitionImpl implements KOfMGateDefinition { - /** - * The default value of the '{@link #getK() K}' attribute. - * - * - * @see #getK() - * @generated - * @ordered - */ - protected static final int K_EDEFAULT = 0; - - /** - * The cached value of the '{@link #getK() K}' attribute. - * - * - * @see #getK() - * @generated - * @ordered - */ - protected int k = K_EDEFAULT; - - /** - * The default value of the '{@link #getM() M}' attribute. - * - * - * @see #getM() - * @generated - * @ordered - */ - protected static final int M_EDEFAULT = 0; - - /** - * The cached value of the '{@link #getM() M}' attribute. - * - * - * @see #getM() - * @generated - * @ordered - */ - protected int m = M_EDEFAULT; - - /** - * - * - * @generated - */ - protected KOfMGateDefinitionImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return CftPackage.Literals.KOF_MGATE_DEFINITION; - } - - /** - * - * - * @generated - */ - @Override - public int getK() { - return k; - } - - /** - * - * - * @generated - */ - @Override - public void setK(int newK) { - int oldK = k; - k = newK; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, CftPackage.KOF_MGATE_DEFINITION__K, oldK, k)); - } - - /** - * - * - * @generated - */ - @Override - public int getM() { - return m; - } - - /** - * - * - * @generated - */ - @Override - public void setM(int newM) { - int oldM = m; - m = newM; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, CftPackage.KOF_MGATE_DEFINITION__M, oldM, m)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case CftPackage.KOF_MGATE_DEFINITION__K: - return getK(); - case CftPackage.KOF_MGATE_DEFINITION__M: - return getM(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case CftPackage.KOF_MGATE_DEFINITION__K: - setK((Integer)newValue); - return; - case CftPackage.KOF_MGATE_DEFINITION__M: - setM((Integer)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case CftPackage.KOF_MGATE_DEFINITION__K: - setK(K_EDEFAULT); - return; - case CftPackage.KOF_MGATE_DEFINITION__M: - setM(M_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case CftPackage.KOF_MGATE_DEFINITION__K: - return k != K_EDEFAULT; - case CftPackage.KOF_MGATE_DEFINITION__M: - return m != M_EDEFAULT; - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuilder result = new StringBuilder(super.toString()); - result.append(" (k: "); - result.append(k); - result.append(", m: "); - result.append(m); - result.append(')'); - return result.toString(); - } - -} //KOfMGateDefinitionImpl diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/OrGateDefinitionImpl.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/OrGateDefinitionImpl.java deleted file mode 100644 index d2275f60..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/OrGateDefinitionImpl.java +++ /dev/null @@ -1,37 +0,0 @@ -/** - */ -package hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl; - -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage; -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.OrGateDefinition; - -import org.eclipse.emf.ecore.EClass; - -/** - * - * An implementation of the model object 'Or Gate Definition'. - * - * - * @generated - */ -public class OrGateDefinitionImpl extends GateDefinitionImpl implements OrGateDefinition { - /** - * - * - * @generated - */ - protected OrGateDefinitionImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return CftPackage.Literals.OR_GATE_DEFINITION; - } - -} //OrGateDefinitionImpl diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/OutputImpl.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/OutputImpl.java deleted file mode 100644 index 31a81afe..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/impl/OutputImpl.java +++ /dev/null @@ -1,309 +0,0 @@ -/** - */ -package hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl; - -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage; -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Component; -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Connection; -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.EventDeclaration; -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Output; - -import java.util.Collection; - -import org.eclipse.emf.common.notify.Notification; -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.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; - -import org.eclipse.emf.ecore.util.EObjectWithInverseResolvingEList; -import org.eclipse.emf.ecore.util.EcoreUtil; -import org.eclipse.emf.ecore.util.InternalEList; - -/** - * - * An implementation of the model object 'Output'. - * - *

    - * The following features are implemented: - *

    - *
      - *
    • {@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.OutputImpl#getEventDeclaration Event Declaration}
    • - *
    • {@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.OutputImpl#getOutgoingConnections Outgoing Connections}
    • - *
    • {@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.impl.OutputImpl#getComponent Component}
    • - *
    - * - * @generated - */ -public class OutputImpl extends MinimalEObjectImpl.Container implements Output { - /** - * The cached value of the '{@link #getEventDeclaration() Event Declaration}' reference. - * - * - * @see #getEventDeclaration() - * @generated - * @ordered - */ - protected EventDeclaration eventDeclaration; - - /** - * The cached value of the '{@link #getOutgoingConnections() Outgoing Connections}' reference list. - * - * - * @see #getOutgoingConnections() - * @generated - * @ordered - */ - protected EList outgoingConnections; - - /** - * - * - * @generated - */ - protected OutputImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return CftPackage.Literals.OUTPUT; - } - - /** - * - * - * @generated - */ - @Override - public EventDeclaration getEventDeclaration() { - if (eventDeclaration != null && eventDeclaration.eIsProxy()) { - InternalEObject oldEventDeclaration = (InternalEObject)eventDeclaration; - eventDeclaration = (EventDeclaration)eResolveProxy(oldEventDeclaration); - if (eventDeclaration != oldEventDeclaration) { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, CftPackage.OUTPUT__EVENT_DECLARATION, oldEventDeclaration, eventDeclaration)); - } - } - return eventDeclaration; - } - - /** - * - * - * @generated - */ - public EventDeclaration basicGetEventDeclaration() { - return eventDeclaration; - } - - /** - * - * - * @generated - */ - @Override - public void setEventDeclaration(EventDeclaration newEventDeclaration) { - EventDeclaration oldEventDeclaration = eventDeclaration; - eventDeclaration = newEventDeclaration; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, CftPackage.OUTPUT__EVENT_DECLARATION, oldEventDeclaration, eventDeclaration)); - } - - /** - * - * - * @generated - */ - @Override - public EList getOutgoingConnections() { - if (outgoingConnections == null) { - outgoingConnections = new EObjectWithInverseResolvingEList(Connection.class, this, CftPackage.OUTPUT__OUTGOING_CONNECTIONS, CftPackage.CONNECTION__OUTPUT); - } - return outgoingConnections; - } - - /** - * - * - * @generated - */ - @Override - public Component getComponent() { - if (eContainerFeatureID() != CftPackage.OUTPUT__COMPONENT) return null; - return (Component)eInternalContainer(); - } - - /** - * - * - * @generated - */ - public NotificationChain basicSetComponent(Component newComponent, NotificationChain msgs) { - msgs = eBasicSetContainer((InternalEObject)newComponent, CftPackage.OUTPUT__COMPONENT, msgs); - return msgs; - } - - /** - * - * - * @generated - */ - @Override - public void setComponent(Component newComponent) { - if (newComponent != eInternalContainer() || (eContainerFeatureID() != CftPackage.OUTPUT__COMPONENT && newComponent != null)) { - if (EcoreUtil.isAncestor(this, newComponent)) - throw new IllegalArgumentException("Recursive containment not allowed for " + toString()); - NotificationChain msgs = null; - if (eInternalContainer() != null) - msgs = eBasicRemoveFromContainer(msgs); - if (newComponent != null) - msgs = ((InternalEObject)newComponent).eInverseAdd(this, CftPackage.COMPONENT__OUTPUTS, Component.class, msgs); - msgs = basicSetComponent(newComponent, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, CftPackage.OUTPUT__COMPONENT, newComponent, newComponent)); - } - - /** - * - * - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case CftPackage.OUTPUT__OUTGOING_CONNECTIONS: - return ((InternalEList)(InternalEList)getOutgoingConnections()).basicAdd(otherEnd, msgs); - case CftPackage.OUTPUT__COMPONENT: - if (eInternalContainer() != null) - msgs = eBasicRemoveFromContainer(msgs); - return basicSetComponent((Component)otherEnd, msgs); - } - return super.eInverseAdd(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case CftPackage.OUTPUT__OUTGOING_CONNECTIONS: - return ((InternalEList)getOutgoingConnections()).basicRemove(otherEnd, msgs); - case CftPackage.OUTPUT__COMPONENT: - return basicSetComponent(null, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs) { - switch (eContainerFeatureID()) { - case CftPackage.OUTPUT__COMPONENT: - return eInternalContainer().eInverseRemove(this, CftPackage.COMPONENT__OUTPUTS, Component.class, msgs); - } - return super.eBasicRemoveFromContainerFeature(msgs); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case CftPackage.OUTPUT__EVENT_DECLARATION: - if (resolve) return getEventDeclaration(); - return basicGetEventDeclaration(); - case CftPackage.OUTPUT__OUTGOING_CONNECTIONS: - return getOutgoingConnections(); - case CftPackage.OUTPUT__COMPONENT: - return getComponent(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case CftPackage.OUTPUT__EVENT_DECLARATION: - setEventDeclaration((EventDeclaration)newValue); - return; - case CftPackage.OUTPUT__OUTGOING_CONNECTIONS: - getOutgoingConnections().clear(); - getOutgoingConnections().addAll((Collection)newValue); - return; - case CftPackage.OUTPUT__COMPONENT: - setComponent((Component)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case CftPackage.OUTPUT__EVENT_DECLARATION: - setEventDeclaration((EventDeclaration)null); - return; - case CftPackage.OUTPUT__OUTGOING_CONNECTIONS: - getOutgoingConnections().clear(); - return; - case CftPackage.OUTPUT__COMPONENT: - setComponent((Component)null); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case CftPackage.OUTPUT__EVENT_DECLARATION: - return eventDeclaration != null; - case CftPackage.OUTPUT__OUTGOING_CONNECTIONS: - return outgoingConnections != null && !outgoingConnections.isEmpty(); - case CftPackage.OUTPUT__COMPONENT: - return getComponent() != null; - } - return super.eIsSet(featureID); - } - -} //OutputImpl diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/util/CftAdapterFactory.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/util/CftAdapterFactory.java deleted file mode 100644 index f5d3bf83..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/util/CftAdapterFactory.java +++ /dev/null @@ -1,372 +0,0 @@ -/** - */ -package hu.bme.mit.inf.dslreasoner.faulttree.model.cft.util; - -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.*; - -import org.eclipse.emf.common.notify.Adapter; -import org.eclipse.emf.common.notify.Notifier; - -import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl; - -import org.eclipse.emf.ecore.EObject; - -/** - * - * The Adapter Factory for the model. - * It provides an adapter createXXX method for each class of the model. - * - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage - * @generated - */ -public class CftAdapterFactory extends AdapterFactoryImpl { - /** - * The cached model package. - * - * - * @generated - */ - protected static CftPackage modelPackage; - - /** - * Creates an instance of the adapter factory. - * - * - * @generated - */ - public CftAdapterFactory() { - if (modelPackage == null) { - modelPackage = CftPackage.eINSTANCE; - } - } - - /** - * Returns whether this factory is applicable for the type of the object. - * - * This implementation returns true if the object is either the model's package or is an instance object of the model. - * - * @return whether this factory is applicable for the type of the object. - * @generated - */ - @Override - public boolean isFactoryForType(Object object) { - if (object == modelPackage) { - return true; - } - if (object instanceof EObject) { - return ((EObject)object).eClass().getEPackage() == modelPackage; - } - return false; - } - - /** - * The switch that delegates to the createXXX methods. - * - * - * @generated - */ - protected CftSwitch modelSwitch = - new CftSwitch() { - @Override - public Adapter caseComponentDefinition(ComponentDefinition object) { - return createComponentDefinitionAdapter(); - } - @Override - public Adapter caseEventDefinition(EventDefinition object) { - return createEventDefinitionAdapter(); - } - @Override - public Adapter caseGateDefinition(GateDefinition object) { - return createGateDefinitionAdapter(); - } - @Override - public Adapter caseBasicEventDefinition(BasicEventDefinition object) { - return createBasicEventDefinitionAdapter(); - } - @Override - public Adapter caseInputEvent(InputEvent object) { - return createInputEventAdapter(); - } - @Override - public Adapter caseEventDeclaration(EventDeclaration object) { - return createEventDeclarationAdapter(); - } - @Override - public Adapter caseAndGateDefinition(AndGateDefinition object) { - return createAndGateDefinitionAdapter(); - } - @Override - public Adapter caseOrGateDefinition(OrGateDefinition object) { - return createOrGateDefinitionAdapter(); - } - @Override - public Adapter caseKOfMGateDefinition(KOfMGateDefinition object) { - return createKOfMGateDefinitionAdapter(); - } - @Override - public Adapter caseComponentFaultTree(ComponentFaultTree object) { - return createComponentFaultTreeAdapter(); - } - @Override - public Adapter caseComponent(Component object) { - return createComponentAdapter(); - } - @Override - public Adapter caseInput(Input object) { - return createInputAdapter(); - } - @Override - public Adapter caseOutput(Output object) { - return createOutputAdapter(); - } - @Override - public Adapter caseConnection(Connection object) { - return createConnectionAdapter(); - } - @Override - public Adapter caseModalElement(ModalElement object) { - return createModalElementAdapter(); - } - @Override - public Adapter defaultCase(EObject object) { - return createEObjectAdapter(); - } - }; - - /** - * Creates an adapter for the target. - * - * - * @param target the object to adapt. - * @return the adapter for the target. - * @generated - */ - @Override - public Adapter createAdapter(Notifier target) { - return modelSwitch.doSwitch((EObject)target); - } - - - /** - * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentDefinition Component Definition}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentDefinition - * @generated - */ - public Adapter createComponentDefinitionAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.EventDefinition Event Definition}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.EventDefinition - * @generated - */ - public Adapter createEventDefinitionAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.GateDefinition Gate Definition}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.GateDefinition - * @generated - */ - public Adapter createGateDefinitionAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.BasicEventDefinition Basic Event Definition}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.BasicEventDefinition - * @generated - */ - public Adapter createBasicEventDefinitionAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.InputEvent Input Event}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.InputEvent - * @generated - */ - public Adapter createInputEventAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.EventDeclaration Event Declaration}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.EventDeclaration - * @generated - */ - public Adapter createEventDeclarationAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.AndGateDefinition And Gate Definition}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.AndGateDefinition - * @generated - */ - public Adapter createAndGateDefinitionAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.OrGateDefinition Or Gate Definition}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.OrGateDefinition - * @generated - */ - public Adapter createOrGateDefinitionAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.KOfMGateDefinition KOf MGate Definition}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.KOfMGateDefinition - * @generated - */ - public Adapter createKOfMGateDefinitionAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentFaultTree Component Fault Tree}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentFaultTree - * @generated - */ - public Adapter createComponentFaultTreeAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Component Component}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Component - * @generated - */ - public Adapter createComponentAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Input Input}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Input - * @generated - */ - public Adapter createInputAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Output Output}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Output - * @generated - */ - public Adapter createOutputAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Connection Connection}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Connection - * @generated - */ - public Adapter createConnectionAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ModalElement Modal Element}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ModalElement - * @generated - */ - public Adapter createModalElementAdapter() { - return null; - } - - /** - * Creates a new adapter for the default case. - * - * This default implementation returns null. - * - * @return the new adapter. - * @generated - */ - public Adapter createEObjectAdapter() { - return null; - } - -} //CftAdapterFactory diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/util/CftSwitch.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/util/CftSwitch.java deleted file mode 100644 index 3c5a4fd9..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/cft/util/CftSwitch.java +++ /dev/null @@ -1,421 +0,0 @@ -/** - */ -package hu.bme.mit.inf.dslreasoner.faulttree.model.cft.util; - -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.*; - -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.EPackage; - -import org.eclipse.emf.ecore.util.Switch; - -/** - * - * The Switch for the model's inheritance hierarchy. - * It supports the call {@link #doSwitch(EObject) doSwitch(object)} - * to invoke the caseXXX method for each class of the model, - * starting with the actual class of the object - * and proceeding up the inheritance hierarchy - * until a non-null result is returned, - * which is the result of the switch. - * - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage - * @generated - */ -public class CftSwitch extends Switch { - /** - * The cached model package - * - * - * @generated - */ - protected static CftPackage modelPackage; - - /** - * Creates an instance of the switch. - * - * - * @generated - */ - public CftSwitch() { - if (modelPackage == null) { - modelPackage = CftPackage.eINSTANCE; - } - } - - /** - * Checks whether this is a switch for the given package. - * - * - * @param ePackage the package in question. - * @return whether this is a switch for the given package. - * @generated - */ - @Override - protected boolean isSwitchFor(EPackage ePackage) { - return ePackage == modelPackage; - } - - /** - * Calls caseXXX for each class of the model until one returns a non null result; it yields that result. - * - * - * @return the first non-null result returned by a caseXXX call. - * @generated - */ - @Override - protected T doSwitch(int classifierID, EObject theEObject) { - switch (classifierID) { - case CftPackage.COMPONENT_DEFINITION: { - ComponentDefinition componentDefinition = (ComponentDefinition)theEObject; - T result = caseComponentDefinition(componentDefinition); - if (result == null) result = defaultCase(theEObject); - return result; - } - case CftPackage.EVENT_DEFINITION: { - EventDefinition eventDefinition = (EventDefinition)theEObject; - T result = caseEventDefinition(eventDefinition); - if (result == null) result = caseEventDeclaration(eventDefinition); - if (result == null) result = defaultCase(theEObject); - return result; - } - case CftPackage.GATE_DEFINITION: { - GateDefinition gateDefinition = (GateDefinition)theEObject; - T result = caseGateDefinition(gateDefinition); - if (result == null) result = caseEventDefinition(gateDefinition); - if (result == null) result = caseEventDeclaration(gateDefinition); - if (result == null) result = defaultCase(theEObject); - return result; - } - case CftPackage.BASIC_EVENT_DEFINITION: { - BasicEventDefinition basicEventDefinition = (BasicEventDefinition)theEObject; - T result = caseBasicEventDefinition(basicEventDefinition); - if (result == null) result = caseEventDefinition(basicEventDefinition); - if (result == null) result = caseEventDeclaration(basicEventDefinition); - if (result == null) result = defaultCase(theEObject); - return result; - } - case CftPackage.INPUT_EVENT: { - InputEvent inputEvent = (InputEvent)theEObject; - T result = caseInputEvent(inputEvent); - if (result == null) result = caseEventDeclaration(inputEvent); - if (result == null) result = defaultCase(theEObject); - return result; - } - case CftPackage.EVENT_DECLARATION: { - EventDeclaration eventDeclaration = (EventDeclaration)theEObject; - T result = caseEventDeclaration(eventDeclaration); - if (result == null) result = defaultCase(theEObject); - return result; - } - case CftPackage.AND_GATE_DEFINITION: { - AndGateDefinition andGateDefinition = (AndGateDefinition)theEObject; - T result = caseAndGateDefinition(andGateDefinition); - if (result == null) result = caseGateDefinition(andGateDefinition); - if (result == null) result = caseEventDefinition(andGateDefinition); - if (result == null) result = caseEventDeclaration(andGateDefinition); - if (result == null) result = defaultCase(theEObject); - return result; - } - case CftPackage.OR_GATE_DEFINITION: { - OrGateDefinition orGateDefinition = (OrGateDefinition)theEObject; - T result = caseOrGateDefinition(orGateDefinition); - if (result == null) result = caseGateDefinition(orGateDefinition); - if (result == null) result = caseEventDefinition(orGateDefinition); - if (result == null) result = caseEventDeclaration(orGateDefinition); - if (result == null) result = defaultCase(theEObject); - return result; - } - case CftPackage.KOF_MGATE_DEFINITION: { - KOfMGateDefinition kOfMGateDefinition = (KOfMGateDefinition)theEObject; - T result = caseKOfMGateDefinition(kOfMGateDefinition); - if (result == null) result = caseGateDefinition(kOfMGateDefinition); - if (result == null) result = caseEventDefinition(kOfMGateDefinition); - if (result == null) result = caseEventDeclaration(kOfMGateDefinition); - if (result == null) result = defaultCase(theEObject); - return result; - } - case CftPackage.COMPONENT_FAULT_TREE: { - ComponentFaultTree componentFaultTree = (ComponentFaultTree)theEObject; - T result = caseComponentFaultTree(componentFaultTree); - if (result == null) result = defaultCase(theEObject); - return result; - } - case CftPackage.COMPONENT: { - Component component = (Component)theEObject; - T result = caseComponent(component); - if (result == null) result = caseModalElement(component); - if (result == null) result = defaultCase(theEObject); - return result; - } - case CftPackage.INPUT: { - Input input = (Input)theEObject; - T result = caseInput(input); - if (result == null) result = defaultCase(theEObject); - return result; - } - case CftPackage.OUTPUT: { - Output output = (Output)theEObject; - T result = caseOutput(output); - if (result == null) result = defaultCase(theEObject); - return result; - } - case CftPackage.CONNECTION: { - Connection connection = (Connection)theEObject; - T result = caseConnection(connection); - if (result == null) result = caseModalElement(connection); - if (result == null) result = defaultCase(theEObject); - return result; - } - case CftPackage.MODAL_ELEMENT: { - ModalElement modalElement = (ModalElement)theEObject; - T result = caseModalElement(modalElement); - if (result == null) result = defaultCase(theEObject); - return result; - } - default: return defaultCase(theEObject); - } - } - - /** - * Returns the result of interpreting the object as an instance of 'Component Definition'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Component Definition'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseComponentDefinition(ComponentDefinition object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Event Definition'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Event Definition'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseEventDefinition(EventDefinition object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Gate Definition'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Gate Definition'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseGateDefinition(GateDefinition object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Basic Event Definition'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Basic Event Definition'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseBasicEventDefinition(BasicEventDefinition object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Input Event'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Input Event'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseInputEvent(InputEvent object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Event Declaration'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Event Declaration'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseEventDeclaration(EventDeclaration object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'And Gate Definition'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'And Gate Definition'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseAndGateDefinition(AndGateDefinition object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Or Gate Definition'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Or Gate Definition'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseOrGateDefinition(OrGateDefinition object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'KOf MGate Definition'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'KOf MGate Definition'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseKOfMGateDefinition(KOfMGateDefinition object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Component Fault Tree'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Component Fault Tree'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseComponentFaultTree(ComponentFaultTree object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Component'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Component'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseComponent(Component object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Input'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Input'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseInput(Input object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Output'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Output'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseOutput(Output object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Connection'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Connection'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseConnection(Connection object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Modal Element'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Modal Element'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseModalElement(ModalElement object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'EObject'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch, but this is the last case anyway. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'EObject'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) - * @generated - */ - @Override - public T defaultCase(EObject object) { - return null; - } - -} //CftSwitch diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/AndGate.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/AndGate.java deleted file mode 100644 index 5591557c..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/AndGate.java +++ /dev/null @@ -1,17 +0,0 @@ -/** - */ -package hu.bme.mit.inf.dslreasoner.faulttree.model.ft; - - -/** - * - * A representation of the model object 'And Gate'. - * - * - * - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtPackage#getAndGate() - * @model - * @generated - */ -public interface AndGate extends Gate { -} // AndGate diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/BasicEvent.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/BasicEvent.java deleted file mode 100644 index 63b8d0ed..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/BasicEvent.java +++ /dev/null @@ -1,49 +0,0 @@ -/** - */ -package hu.bme.mit.inf.dslreasoner.faulttree.model.ft; - - -/** - * - * A representation of the model object 'Basic Event'. - * - * - *

    - * The following features are supported: - *

    - *
      - *
    • {@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.BasicEvent#getDistribution Distribution}
    • - *
    - * - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtPackage#getBasicEvent() - * @model - * @generated - */ -public interface BasicEvent extends RandomEvent { - /** - * Returns the value of the 'Distribution' containment reference. - * - *

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

    - * - * @return the value of the 'Distribution' containment reference. - * @see #setDistribution(Distribution) - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtPackage#getBasicEvent_Distribution() - * @model containment="true" required="true" - * @generated - */ - Distribution getDistribution(); - - /** - * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.BasicEvent#getDistribution Distribution}' containment reference. - * - * - * @param value the new value of the 'Distribution' containment reference. - * @see #getDistribution() - * @generated - */ - void setDistribution(Distribution value); - -} // BasicEvent diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/ConstantDistribution.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/ConstantDistribution.java deleted file mode 100644 index 873c1fd3..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/ConstantDistribution.java +++ /dev/null @@ -1,49 +0,0 @@ -/** - */ -package hu.bme.mit.inf.dslreasoner.faulttree.model.ft; - - -/** - * - * A representation of the model object 'Constant Distribution'. - * - * - *

    - * The following features are supported: - *

    - *
      - *
    • {@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ConstantDistribution#getP P}
    • - *
    - * - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtPackage#getConstantDistribution() - * @model - * @generated - */ -public interface ConstantDistribution extends Distribution { - /** - * Returns the value of the 'P' attribute. - * - *

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

    - * - * @return the value of the 'P' attribute. - * @see #setP(double) - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtPackage#getConstantDistribution_P() - * @model - * @generated - */ - double getP(); - - /** - * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ConstantDistribution#getP P}' attribute. - * - * - * @param value the new value of the 'P' attribute. - * @see #getP() - * @generated - */ - void setP(double value); - -} // ConstantDistribution diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/ConstantEvent.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/ConstantEvent.java deleted file mode 100644 index a171fc95..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/ConstantEvent.java +++ /dev/null @@ -1,49 +0,0 @@ -/** - */ -package hu.bme.mit.inf.dslreasoner.faulttree.model.ft; - - -/** - * - * A representation of the model object 'Constant Event'. - * - * - *

    - * The following features are supported: - *

    - *
      - *
    • {@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ConstantEvent#isFailed Failed}
    • - *
    - * - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtPackage#getConstantEvent() - * @model - * @generated - */ -public interface ConstantEvent extends Event { - /** - * Returns the value of the 'Failed' attribute. - * - *

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

    - * - * @return the value of the 'Failed' attribute. - * @see #setFailed(boolean) - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtPackage#getConstantEvent_Failed() - * @model - * @generated - */ - boolean isFailed(); - - /** - * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ConstantEvent#isFailed Failed}' attribute. - * - * - * @param value the new value of the 'Failed' attribute. - * @see #isFailed() - * @generated - */ - void setFailed(boolean value); - -} // ConstantEvent diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/ConstantModel.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/ConstantModel.java deleted file mode 100644 index 5649559f..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/ConstantModel.java +++ /dev/null @@ -1,49 +0,0 @@ -/** - */ -package hu.bme.mit.inf.dslreasoner.faulttree.model.ft; - - -/** - * - * A representation of the model object 'Constant Model'. - * - * - *

    - * The following features are supported: - *

    - *
      - *
    • {@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ConstantModel#isFailed Failed}
    • - *
    - * - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtPackage#getConstantModel() - * @model - * @generated - */ -public interface ConstantModel extends ReliabilityModel { - /** - * Returns the value of the 'Failed' attribute. - * - *

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

    - * - * @return the value of the 'Failed' attribute. - * @see #setFailed(boolean) - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtPackage#getConstantModel_Failed() - * @model - * @generated - */ - boolean isFailed(); - - /** - * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ConstantModel#isFailed Failed}' attribute. - * - * - * @param value the new value of the 'Failed' attribute. - * @see #isFailed() - * @generated - */ - void setFailed(boolean value); - -} // ConstantModel diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/Distribution.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/Distribution.java deleted file mode 100644 index 4435f5ef..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/Distribution.java +++ /dev/null @@ -1,18 +0,0 @@ -/** - */ -package hu.bme.mit.inf.dslreasoner.faulttree.model.ft; - -import org.eclipse.emf.ecore.EObject; - -/** - * - * A representation of the model object 'Distribution'. - * - * - * - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtPackage#getDistribution() - * @model abstract="true" - * @generated - */ -public interface Distribution extends EObject { -} // Distribution diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/Event.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/Event.java deleted file mode 100644 index a5a905a0..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/Event.java +++ /dev/null @@ -1,18 +0,0 @@ -/** - */ -package hu.bme.mit.inf.dslreasoner.faulttree.model.ft; - -import org.eclipse.emf.ecore.EObject; - -/** - * - * A representation of the model object 'Event'. - * - * - * - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtPackage#getEvent() - * @model abstract="true" - * @generated - */ -public interface Event extends EObject { -} // Event diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/ExponentialDistribution.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/ExponentialDistribution.java deleted file mode 100644 index 7fdd448b..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/ExponentialDistribution.java +++ /dev/null @@ -1,49 +0,0 @@ -/** - */ -package hu.bme.mit.inf.dslreasoner.faulttree.model.ft; - - -/** - * - * A representation of the model object 'Exponential Distribution'. - * - * - *

    - * The following features are supported: - *

    - *
      - *
    • {@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ExponentialDistribution#getLambda Lambda}
    • - *
    - * - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtPackage#getExponentialDistribution() - * @model - * @generated - */ -public interface ExponentialDistribution extends Distribution { - /** - * Returns the value of the 'Lambda' attribute. - * - *

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

    - * - * @return the value of the 'Lambda' attribute. - * @see #setLambda(double) - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtPackage#getExponentialDistribution_Lambda() - * @model - * @generated - */ - double getLambda(); - - /** - * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ExponentialDistribution#getLambda Lambda}' attribute. - * - * - * @param value the new value of the 'Lambda' attribute. - * @see #getLambda() - * @generated - */ - void setLambda(double value); - -} // ExponentialDistribution diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/FaultTree.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/FaultTree.java deleted file mode 100644 index 0bf258be..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/FaultTree.java +++ /dev/null @@ -1,67 +0,0 @@ -/** - */ -package hu.bme.mit.inf.dslreasoner.faulttree.model.ft; - -import org.eclipse.emf.common.util.EList; - -/** - * - * A representation of the model object 'Fault Tree'. - * - * - *

    - * The following features are supported: - *

    - *
      - *
    • {@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FaultTree#getEvents Events}
    • - *
    • {@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FaultTree#getTopEvent Top Event}
    • - *
    - * - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtPackage#getFaultTree() - * @model - * @generated - */ -public interface FaultTree extends ReliabilityModel { - /** - * Returns the value of the 'Events' containment reference list. - * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.RandomEvent}. - * - *

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

    - * - * @return the value of the 'Events' containment reference list. - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtPackage#getFaultTree_Events() - * @model containment="true" - * @generated - */ - EList getEvents(); - - /** - * Returns the value of the 'Top Event' reference. - * - *

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

    - * - * @return the value of the 'Top Event' reference. - * @see #setTopEvent(RandomEvent) - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtPackage#getFaultTree_TopEvent() - * @model required="true" - * @generated - */ - RandomEvent getTopEvent(); - - /** - * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FaultTree#getTopEvent Top Event}' reference. - * - * - * @param value the new value of the 'Top Event' reference. - * @see #getTopEvent() - * @generated - */ - void setTopEvent(RandomEvent value); - -} // FaultTree diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/FtFactory.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/FtFactory.java deleted file mode 100644 index 7d420e34..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/FtFactory.java +++ /dev/null @@ -1,114 +0,0 @@ -/** - */ -package hu.bme.mit.inf.dslreasoner.faulttree.model.ft; - -import org.eclipse.emf.ecore.EFactory; - -/** - * - * The Factory for the model. - * It provides a create method for each non-abstract class of the model. - * - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtPackage - * @generated - */ -public interface FtFactory extends EFactory { - /** - * The singleton instance of the factory. - * - * - * @generated - */ - FtFactory eINSTANCE = hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.FtFactoryImpl.init(); - - /** - * Returns a new object of class 'Fault Tree'. - * - * - * @return a new object of class 'Fault Tree'. - * @generated - */ - FaultTree createFaultTree(); - - /** - * Returns a new object of class 'Basic Event'. - * - * - * @return a new object of class 'Basic Event'. - * @generated - */ - BasicEvent createBasicEvent(); - - /** - * Returns a new object of class 'Constant Distribution'. - * - * - * @return a new object of class 'Constant Distribution'. - * @generated - */ - ConstantDistribution createConstantDistribution(); - - /** - * Returns a new object of class 'Exponential Distribution'. - * - * - * @return a new object of class 'Exponential Distribution'. - * @generated - */ - ExponentialDistribution createExponentialDistribution(); - - /** - * Returns a new object of class 'And Gate'. - * - * - * @return a new object of class 'And Gate'. - * @generated - */ - AndGate createAndGate(); - - /** - * Returns a new object of class 'Or Gate'. - * - * - * @return a new object of class 'Or Gate'. - * @generated - */ - OrGate createOrGate(); - - /** - * Returns a new object of class 'KOf MGate'. - * - * - * @return a new object of class 'KOf MGate'. - * @generated - */ - KOfMGate createKOfMGate(); - - /** - * Returns a new object of class 'Constant Model'. - * - * - * @return a new object of class 'Constant Model'. - * @generated - */ - ConstantModel createConstantModel(); - - /** - * Returns a new object of class 'Constant Event'. - * - * - * @return a new object of class 'Constant Event'. - * @generated - */ - ConstantEvent createConstantEvent(); - - /** - * Returns the package supported by this factory. - * - * - * @return the package supported by this factory. - * @generated - */ - FtPackage getFtPackage(); - -} //FtFactory diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/FtPackage.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/FtPackage.java deleted file mode 100644 index dd35d666..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/FtPackage.java +++ /dev/null @@ -1,1109 +0,0 @@ -/** - */ -package hu.bme.mit.inf.dslreasoner.faulttree.model.ft; - -import org.eclipse.emf.ecore.EAttribute; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.emf.ecore.EReference; - -/** - * - * The Package for the model. - * It contains accessors for the meta objects to represent - *
      - *
    • each class,
    • - *
    • each feature of each class,
    • - *
    • each operation of each class,
    • - *
    • each enum,
    • - *
    • and each data type
    • - *
    - * - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtFactory - * @model kind="package" - * @generated - */ -public interface FtPackage extends EPackage { - /** - * The package name. - * - * - * @generated - */ - String eNAME = "ft"; - - /** - * The package namespace URI. - * - * - * @generated - */ - String eNS_URI = "http://www.bme.hu/mit/inf/dslreasoner/faulttree/model/ft"; - - /** - * The package namespace name. - * - * - * @generated - */ - String eNS_PREFIX = "ft"; - - /** - * The singleton instance of the package. - * - * - * @generated - */ - FtPackage eINSTANCE = hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.FtPackageImpl.init(); - - /** - * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.ReliabilityModelImpl Reliability Model}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.ReliabilityModelImpl - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.FtPackageImpl#getReliabilityModel() - * @generated - */ - int RELIABILITY_MODEL = 10; - - /** - * The number of structural features of the 'Reliability Model' class. - * - * - * @generated - * @ordered - */ - int RELIABILITY_MODEL_FEATURE_COUNT = 0; - - /** - * The number of operations of the 'Reliability Model' class. - * - * - * @generated - * @ordered - */ - int RELIABILITY_MODEL_OPERATION_COUNT = 0; - - /** - * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.FaultTreeImpl Fault Tree}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.FaultTreeImpl - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.FtPackageImpl#getFaultTree() - * @generated - */ - int FAULT_TREE = 0; - - /** - * The feature id for the 'Events' containment reference list. - * - * - * @generated - * @ordered - */ - int FAULT_TREE__EVENTS = RELIABILITY_MODEL_FEATURE_COUNT + 0; - - /** - * The feature id for the 'Top Event' reference. - * - * - * @generated - * @ordered - */ - int FAULT_TREE__TOP_EVENT = RELIABILITY_MODEL_FEATURE_COUNT + 1; - - /** - * The number of structural features of the 'Fault Tree' class. - * - * - * @generated - * @ordered - */ - int FAULT_TREE_FEATURE_COUNT = RELIABILITY_MODEL_FEATURE_COUNT + 2; - - /** - * The number of operations of the 'Fault Tree' class. - * - * - * @generated - * @ordered - */ - int FAULT_TREE_OPERATION_COUNT = RELIABILITY_MODEL_OPERATION_COUNT + 0; - - /** - * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.EventImpl Event}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.EventImpl - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.FtPackageImpl#getEvent() - * @generated - */ - int EVENT = 12; - - /** - * The number of structural features of the 'Event' class. - * - * - * @generated - * @ordered - */ - int EVENT_FEATURE_COUNT = 0; - - /** - * The number of operations of the 'Event' class. - * - * - * @generated - * @ordered - */ - int EVENT_OPERATION_COUNT = 0; - - /** - * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.RandomEventImpl Random Event}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.RandomEventImpl - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.FtPackageImpl#getRandomEvent() - * @generated - */ - int RANDOM_EVENT = 1; - - /** - * The feature id for the 'Name' attribute. - * - * - * @generated - * @ordered - */ - int RANDOM_EVENT__NAME = EVENT_FEATURE_COUNT + 0; - - /** - * The number of structural features of the 'Random Event' class. - * - * - * @generated - * @ordered - */ - int RANDOM_EVENT_FEATURE_COUNT = EVENT_FEATURE_COUNT + 1; - - /** - * The number of operations of the 'Random Event' class. - * - * - * @generated - * @ordered - */ - int RANDOM_EVENT_OPERATION_COUNT = EVENT_OPERATION_COUNT + 0; - - /** - * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.BasicEventImpl Basic Event}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.BasicEventImpl - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.FtPackageImpl#getBasicEvent() - * @generated - */ - int BASIC_EVENT = 2; - - /** - * The feature id for the 'Name' attribute. - * - * - * @generated - * @ordered - */ - int BASIC_EVENT__NAME = RANDOM_EVENT__NAME; - - /** - * The feature id for the 'Distribution' containment reference. - * - * - * @generated - * @ordered - */ - int BASIC_EVENT__DISTRIBUTION = RANDOM_EVENT_FEATURE_COUNT + 0; - - /** - * The number of structural features of the 'Basic Event' class. - * - * - * @generated - * @ordered - */ - int BASIC_EVENT_FEATURE_COUNT = RANDOM_EVENT_FEATURE_COUNT + 1; - - /** - * The number of operations of the 'Basic Event' class. - * - * - * @generated - * @ordered - */ - int BASIC_EVENT_OPERATION_COUNT = RANDOM_EVENT_OPERATION_COUNT + 0; - - /** - * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.GateImpl Gate}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.GateImpl - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.FtPackageImpl#getGate() - * @generated - */ - int GATE = 3; - - /** - * The feature id for the 'Name' attribute. - * - * - * @generated - * @ordered - */ - int GATE__NAME = RANDOM_EVENT__NAME; - - /** - * The feature id for the 'Input Events' reference list. - * - * - * @generated - * @ordered - */ - int GATE__INPUT_EVENTS = RANDOM_EVENT_FEATURE_COUNT + 0; - - /** - * The number of structural features of the 'Gate' class. - * - * - * @generated - * @ordered - */ - int GATE_FEATURE_COUNT = RANDOM_EVENT_FEATURE_COUNT + 1; - - /** - * The number of operations of the 'Gate' class. - * - * - * @generated - * @ordered - */ - int GATE_OPERATION_COUNT = RANDOM_EVENT_OPERATION_COUNT + 0; - - /** - * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.DistributionImpl Distribution}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.DistributionImpl - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.FtPackageImpl#getDistribution() - * @generated - */ - int DISTRIBUTION = 4; - - /** - * The number of structural features of the 'Distribution' class. - * - * - * @generated - * @ordered - */ - int DISTRIBUTION_FEATURE_COUNT = 0; - - /** - * The number of operations of the 'Distribution' class. - * - * - * @generated - * @ordered - */ - int DISTRIBUTION_OPERATION_COUNT = 0; - - /** - * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.ConstantDistributionImpl Constant Distribution}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.ConstantDistributionImpl - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.FtPackageImpl#getConstantDistribution() - * @generated - */ - int CONSTANT_DISTRIBUTION = 5; - - /** - * The feature id for the 'P' attribute. - * - * - * @generated - * @ordered - */ - int CONSTANT_DISTRIBUTION__P = DISTRIBUTION_FEATURE_COUNT + 0; - - /** - * The number of structural features of the 'Constant Distribution' class. - * - * - * @generated - * @ordered - */ - int CONSTANT_DISTRIBUTION_FEATURE_COUNT = DISTRIBUTION_FEATURE_COUNT + 1; - - /** - * The number of operations of the 'Constant Distribution' class. - * - * - * @generated - * @ordered - */ - int CONSTANT_DISTRIBUTION_OPERATION_COUNT = DISTRIBUTION_OPERATION_COUNT + 0; - - /** - * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.ExponentialDistributionImpl Exponential Distribution}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.ExponentialDistributionImpl - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.FtPackageImpl#getExponentialDistribution() - * @generated - */ - int EXPONENTIAL_DISTRIBUTION = 6; - - /** - * The feature id for the 'Lambda' attribute. - * - * - * @generated - * @ordered - */ - int EXPONENTIAL_DISTRIBUTION__LAMBDA = DISTRIBUTION_FEATURE_COUNT + 0; - - /** - * The number of structural features of the 'Exponential Distribution' class. - * - * - * @generated - * @ordered - */ - int EXPONENTIAL_DISTRIBUTION_FEATURE_COUNT = DISTRIBUTION_FEATURE_COUNT + 1; - - /** - * The number of operations of the 'Exponential Distribution' class. - * - * - * @generated - * @ordered - */ - int EXPONENTIAL_DISTRIBUTION_OPERATION_COUNT = DISTRIBUTION_OPERATION_COUNT + 0; - - /** - * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.AndGateImpl And Gate}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.AndGateImpl - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.FtPackageImpl#getAndGate() - * @generated - */ - int AND_GATE = 7; - - /** - * The feature id for the 'Name' attribute. - * - * - * @generated - * @ordered - */ - int AND_GATE__NAME = GATE__NAME; - - /** - * The feature id for the 'Input Events' reference list. - * - * - * @generated - * @ordered - */ - int AND_GATE__INPUT_EVENTS = GATE__INPUT_EVENTS; - - /** - * The number of structural features of the 'And Gate' class. - * - * - * @generated - * @ordered - */ - int AND_GATE_FEATURE_COUNT = GATE_FEATURE_COUNT + 0; - - /** - * The number of operations of the 'And Gate' class. - * - * - * @generated - * @ordered - */ - int AND_GATE_OPERATION_COUNT = GATE_OPERATION_COUNT + 0; - - /** - * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.OrGateImpl Or Gate}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.OrGateImpl - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.FtPackageImpl#getOrGate() - * @generated - */ - int OR_GATE = 8; - - /** - * The feature id for the 'Name' attribute. - * - * - * @generated - * @ordered - */ - int OR_GATE__NAME = GATE__NAME; - - /** - * The feature id for the 'Input Events' reference list. - * - * - * @generated - * @ordered - */ - int OR_GATE__INPUT_EVENTS = GATE__INPUT_EVENTS; - - /** - * The number of structural features of the 'Or Gate' class. - * - * - * @generated - * @ordered - */ - int OR_GATE_FEATURE_COUNT = GATE_FEATURE_COUNT + 0; - - /** - * The number of operations of the 'Or Gate' class. - * - * - * @generated - * @ordered - */ - int OR_GATE_OPERATION_COUNT = GATE_OPERATION_COUNT + 0; - - /** - * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.KOfMGateImpl KOf MGate}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.KOfMGateImpl - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.FtPackageImpl#getKOfMGate() - * @generated - */ - int KOF_MGATE = 9; - - /** - * The feature id for the 'Name' attribute. - * - * - * @generated - * @ordered - */ - int KOF_MGATE__NAME = GATE__NAME; - - /** - * The feature id for the 'Input Events' reference list. - * - * - * @generated - * @ordered - */ - int KOF_MGATE__INPUT_EVENTS = GATE__INPUT_EVENTS; - - /** - * The feature id for the 'K' attribute. - * - * - * @generated - * @ordered - */ - int KOF_MGATE__K = GATE_FEATURE_COUNT + 0; - - /** - * The number of structural features of the 'KOf MGate' class. - * - * - * @generated - * @ordered - */ - int KOF_MGATE_FEATURE_COUNT = GATE_FEATURE_COUNT + 1; - - /** - * The number of operations of the 'KOf MGate' class. - * - * - * @generated - * @ordered - */ - int KOF_MGATE_OPERATION_COUNT = GATE_OPERATION_COUNT + 0; - - /** - * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.ConstantModelImpl Constant Model}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.ConstantModelImpl - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.FtPackageImpl#getConstantModel() - * @generated - */ - int CONSTANT_MODEL = 11; - - /** - * The feature id for the 'Failed' attribute. - * - * - * @generated - * @ordered - */ - int CONSTANT_MODEL__FAILED = RELIABILITY_MODEL_FEATURE_COUNT + 0; - - /** - * The number of structural features of the 'Constant Model' class. - * - * - * @generated - * @ordered - */ - int CONSTANT_MODEL_FEATURE_COUNT = RELIABILITY_MODEL_FEATURE_COUNT + 1; - - /** - * The number of operations of the 'Constant Model' class. - * - * - * @generated - * @ordered - */ - int CONSTANT_MODEL_OPERATION_COUNT = RELIABILITY_MODEL_OPERATION_COUNT + 0; - - /** - * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.ConstantEventImpl Constant Event}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.ConstantEventImpl - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.FtPackageImpl#getConstantEvent() - * @generated - */ - int CONSTANT_EVENT = 13; - - /** - * The feature id for the 'Failed' attribute. - * - * - * @generated - * @ordered - */ - int CONSTANT_EVENT__FAILED = EVENT_FEATURE_COUNT + 0; - - /** - * The number of structural features of the 'Constant Event' class. - * - * - * @generated - * @ordered - */ - int CONSTANT_EVENT_FEATURE_COUNT = EVENT_FEATURE_COUNT + 1; - - /** - * The number of operations of the 'Constant Event' class. - * - * - * @generated - * @ordered - */ - int CONSTANT_EVENT_OPERATION_COUNT = EVENT_OPERATION_COUNT + 0; - - - /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FaultTree Fault Tree}'. - * - * - * @return the meta object for class 'Fault Tree'. - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FaultTree - * @generated - */ - EClass getFaultTree(); - - /** - * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FaultTree#getEvents Events}'. - * - * - * @return the meta object for the containment reference list 'Events'. - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FaultTree#getEvents() - * @see #getFaultTree() - * @generated - */ - EReference getFaultTree_Events(); - - /** - * Returns the meta object for the reference '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FaultTree#getTopEvent Top Event}'. - * - * - * @return the meta object for the reference 'Top Event'. - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FaultTree#getTopEvent() - * @see #getFaultTree() - * @generated - */ - EReference getFaultTree_TopEvent(); - - /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.RandomEvent Random Event}'. - * - * - * @return the meta object for class 'Random Event'. - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.RandomEvent - * @generated - */ - EClass getRandomEvent(); - - /** - * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.RandomEvent#getName Name}'. - * - * - * @return the meta object for the attribute 'Name'. - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.RandomEvent#getName() - * @see #getRandomEvent() - * @generated - */ - EAttribute getRandomEvent_Name(); - - /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.BasicEvent Basic Event}'. - * - * - * @return the meta object for class 'Basic Event'. - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.BasicEvent - * @generated - */ - EClass getBasicEvent(); - - /** - * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.BasicEvent#getDistribution Distribution}'. - * - * - * @return the meta object for the containment reference 'Distribution'. - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.BasicEvent#getDistribution() - * @see #getBasicEvent() - * @generated - */ - EReference getBasicEvent_Distribution(); - - /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.Gate Gate}'. - * - * - * @return the meta object for class 'Gate'. - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.Gate - * @generated - */ - EClass getGate(); - - /** - * Returns the meta object for the reference list '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.Gate#getInputEvents Input Events}'. - * - * - * @return the meta object for the reference list 'Input Events'. - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.Gate#getInputEvents() - * @see #getGate() - * @generated - */ - EReference getGate_InputEvents(); - - /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.Distribution Distribution}'. - * - * - * @return the meta object for class 'Distribution'. - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.Distribution - * @generated - */ - EClass getDistribution(); - - /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ConstantDistribution Constant Distribution}'. - * - * - * @return the meta object for class 'Constant Distribution'. - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ConstantDistribution - * @generated - */ - EClass getConstantDistribution(); - - /** - * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ConstantDistribution#getP P}'. - * - * - * @return the meta object for the attribute 'P'. - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ConstantDistribution#getP() - * @see #getConstantDistribution() - * @generated - */ - EAttribute getConstantDistribution_P(); - - /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ExponentialDistribution Exponential Distribution}'. - * - * - * @return the meta object for class 'Exponential Distribution'. - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ExponentialDistribution - * @generated - */ - EClass getExponentialDistribution(); - - /** - * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ExponentialDistribution#getLambda Lambda}'. - * - * - * @return the meta object for the attribute 'Lambda'. - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ExponentialDistribution#getLambda() - * @see #getExponentialDistribution() - * @generated - */ - EAttribute getExponentialDistribution_Lambda(); - - /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.AndGate And Gate}'. - * - * - * @return the meta object for class 'And Gate'. - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.AndGate - * @generated - */ - EClass getAndGate(); - - /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.OrGate Or Gate}'. - * - * - * @return the meta object for class 'Or Gate'. - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.OrGate - * @generated - */ - EClass getOrGate(); - - /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.KOfMGate KOf MGate}'. - * - * - * @return the meta object for class 'KOf MGate'. - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.KOfMGate - * @generated - */ - EClass getKOfMGate(); - - /** - * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.KOfMGate#getK K}'. - * - * - * @return the meta object for the attribute 'K'. - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.KOfMGate#getK() - * @see #getKOfMGate() - * @generated - */ - EAttribute getKOfMGate_K(); - - /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ReliabilityModel Reliability Model}'. - * - * - * @return the meta object for class 'Reliability Model'. - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ReliabilityModel - * @generated - */ - EClass getReliabilityModel(); - - /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ConstantModel Constant Model}'. - * - * - * @return the meta object for class 'Constant Model'. - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ConstantModel - * @generated - */ - EClass getConstantModel(); - - /** - * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ConstantModel#isFailed Failed}'. - * - * - * @return the meta object for the attribute 'Failed'. - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ConstantModel#isFailed() - * @see #getConstantModel() - * @generated - */ - EAttribute getConstantModel_Failed(); - - /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.Event Event}'. - * - * - * @return the meta object for class 'Event'. - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.Event - * @generated - */ - EClass getEvent(); - - /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ConstantEvent Constant Event}'. - * - * - * @return the meta object for class 'Constant Event'. - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ConstantEvent - * @generated - */ - EClass getConstantEvent(); - - /** - * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ConstantEvent#isFailed Failed}'. - * - * - * @return the meta object for the attribute 'Failed'. - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ConstantEvent#isFailed() - * @see #getConstantEvent() - * @generated - */ - EAttribute getConstantEvent_Failed(); - - /** - * Returns the factory that creates the instances of the model. - * - * - * @return the factory that creates the instances of the model. - * @generated - */ - FtFactory getFtFactory(); - - /** - * - * Defines literals for the meta objects that represent - *
      - *
    • each class,
    • - *
    • each feature of each class,
    • - *
    • each operation of each class,
    • - *
    • each enum,
    • - *
    • and each data type
    • - *
    - * - * @generated - */ - interface Literals { - /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.FaultTreeImpl Fault Tree}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.FaultTreeImpl - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.FtPackageImpl#getFaultTree() - * @generated - */ - EClass FAULT_TREE = eINSTANCE.getFaultTree(); - - /** - * The meta object literal for the 'Events' containment reference list feature. - * - * - * @generated - */ - EReference FAULT_TREE__EVENTS = eINSTANCE.getFaultTree_Events(); - - /** - * The meta object literal for the 'Top Event' reference feature. - * - * - * @generated - */ - EReference FAULT_TREE__TOP_EVENT = eINSTANCE.getFaultTree_TopEvent(); - - /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.RandomEventImpl Random Event}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.RandomEventImpl - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.FtPackageImpl#getRandomEvent() - * @generated - */ - EClass RANDOM_EVENT = eINSTANCE.getRandomEvent(); - - /** - * The meta object literal for the 'Name' attribute feature. - * - * - * @generated - */ - EAttribute RANDOM_EVENT__NAME = eINSTANCE.getRandomEvent_Name(); - - /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.BasicEventImpl Basic Event}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.BasicEventImpl - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.FtPackageImpl#getBasicEvent() - * @generated - */ - EClass BASIC_EVENT = eINSTANCE.getBasicEvent(); - - /** - * The meta object literal for the 'Distribution' containment reference feature. - * - * - * @generated - */ - EReference BASIC_EVENT__DISTRIBUTION = eINSTANCE.getBasicEvent_Distribution(); - - /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.GateImpl Gate}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.GateImpl - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.FtPackageImpl#getGate() - * @generated - */ - EClass GATE = eINSTANCE.getGate(); - - /** - * The meta object literal for the 'Input Events' reference list feature. - * - * - * @generated - */ - EReference GATE__INPUT_EVENTS = eINSTANCE.getGate_InputEvents(); - - /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.DistributionImpl Distribution}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.DistributionImpl - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.FtPackageImpl#getDistribution() - * @generated - */ - EClass DISTRIBUTION = eINSTANCE.getDistribution(); - - /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.ConstantDistributionImpl Constant Distribution}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.ConstantDistributionImpl - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.FtPackageImpl#getConstantDistribution() - * @generated - */ - EClass CONSTANT_DISTRIBUTION = eINSTANCE.getConstantDistribution(); - - /** - * The meta object literal for the 'P' attribute feature. - * - * - * @generated - */ - EAttribute CONSTANT_DISTRIBUTION__P = eINSTANCE.getConstantDistribution_P(); - - /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.ExponentialDistributionImpl Exponential Distribution}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.ExponentialDistributionImpl - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.FtPackageImpl#getExponentialDistribution() - * @generated - */ - EClass EXPONENTIAL_DISTRIBUTION = eINSTANCE.getExponentialDistribution(); - - /** - * The meta object literal for the 'Lambda' attribute feature. - * - * - * @generated - */ - EAttribute EXPONENTIAL_DISTRIBUTION__LAMBDA = eINSTANCE.getExponentialDistribution_Lambda(); - - /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.AndGateImpl And Gate}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.AndGateImpl - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.FtPackageImpl#getAndGate() - * @generated - */ - EClass AND_GATE = eINSTANCE.getAndGate(); - - /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.OrGateImpl Or Gate}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.OrGateImpl - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.FtPackageImpl#getOrGate() - * @generated - */ - EClass OR_GATE = eINSTANCE.getOrGate(); - - /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.KOfMGateImpl KOf MGate}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.KOfMGateImpl - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.FtPackageImpl#getKOfMGate() - * @generated - */ - EClass KOF_MGATE = eINSTANCE.getKOfMGate(); - - /** - * The meta object literal for the 'K' attribute feature. - * - * - * @generated - */ - EAttribute KOF_MGATE__K = eINSTANCE.getKOfMGate_K(); - - /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.ReliabilityModelImpl Reliability Model}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.ReliabilityModelImpl - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.FtPackageImpl#getReliabilityModel() - * @generated - */ - EClass RELIABILITY_MODEL = eINSTANCE.getReliabilityModel(); - - /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.ConstantModelImpl Constant Model}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.ConstantModelImpl - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.FtPackageImpl#getConstantModel() - * @generated - */ - EClass CONSTANT_MODEL = eINSTANCE.getConstantModel(); - - /** - * The meta object literal for the 'Failed' attribute feature. - * - * - * @generated - */ - EAttribute CONSTANT_MODEL__FAILED = eINSTANCE.getConstantModel_Failed(); - - /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.EventImpl Event}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.EventImpl - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.FtPackageImpl#getEvent() - * @generated - */ - EClass EVENT = eINSTANCE.getEvent(); - - /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.ConstantEventImpl Constant Event}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.ConstantEventImpl - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.FtPackageImpl#getConstantEvent() - * @generated - */ - EClass CONSTANT_EVENT = eINSTANCE.getConstantEvent(); - - /** - * The meta object literal for the 'Failed' attribute feature. - * - * - * @generated - */ - EAttribute CONSTANT_EVENT__FAILED = eINSTANCE.getConstantEvent_Failed(); - - } - -} //FtPackage diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/Gate.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/Gate.java deleted file mode 100644 index 5015051a..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/Gate.java +++ /dev/null @@ -1,40 +0,0 @@ -/** - */ -package hu.bme.mit.inf.dslreasoner.faulttree.model.ft; - -import org.eclipse.emf.common.util.EList; - -/** - * - * A representation of the model object 'Gate'. - * - * - *

    - * The following features are supported: - *

    - *
      - *
    • {@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.Gate#getInputEvents Input Events}
    • - *
    - * - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtPackage#getGate() - * @model abstract="true" - * @generated - */ -public interface Gate extends RandomEvent { - /** - * Returns the value of the 'Input Events' reference list. - * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.RandomEvent}. - * - *

    - * If the meaning of the 'Input Events' reference list isn't clear, - * there really should be more of a description here... - *

    - * - * @return the value of the 'Input Events' reference list. - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtPackage#getGate_InputEvents() - * @model lower="2" - * @generated - */ - EList getInputEvents(); - -} // Gate diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/KOfMGate.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/KOfMGate.java deleted file mode 100644 index c891f83a..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/KOfMGate.java +++ /dev/null @@ -1,49 +0,0 @@ -/** - */ -package hu.bme.mit.inf.dslreasoner.faulttree.model.ft; - - -/** - * - * A representation of the model object 'KOf MGate'. - * - * - *

    - * The following features are supported: - *

    - *
      - *
    • {@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.KOfMGate#getK K}
    • - *
    - * - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtPackage#getKOfMGate() - * @model - * @generated - */ -public interface KOfMGate extends Gate { - /** - * Returns the value of the 'K' attribute. - * - *

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

    - * - * @return the value of the 'K' attribute. - * @see #setK(int) - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtPackage#getKOfMGate_K() - * @model - * @generated - */ - int getK(); - - /** - * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.KOfMGate#getK K}' attribute. - * - * - * @param value the new value of the 'K' attribute. - * @see #getK() - * @generated - */ - void setK(int value); - -} // KOfMGate diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/OrGate.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/OrGate.java deleted file mode 100644 index 278a2d38..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/OrGate.java +++ /dev/null @@ -1,17 +0,0 @@ -/** - */ -package hu.bme.mit.inf.dslreasoner.faulttree.model.ft; - - -/** - * - * A representation of the model object 'Or Gate'. - * - * - * - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtPackage#getOrGate() - * @model - * @generated - */ -public interface OrGate extends Gate { -} // OrGate diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/RandomEvent.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/RandomEvent.java deleted file mode 100644 index 3931ac41..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/RandomEvent.java +++ /dev/null @@ -1,49 +0,0 @@ -/** - */ -package hu.bme.mit.inf.dslreasoner.faulttree.model.ft; - - -/** - * - * A representation of the model object 'Random Event'. - * - * - *

    - * The following features are supported: - *

    - *
      - *
    • {@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.RandomEvent#getName Name}
    • - *
    - * - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtPackage#getRandomEvent() - * @model abstract="true" - * @generated - */ -public interface RandomEvent extends Event { - /** - * Returns the value of the 'Name' attribute. - * - *

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

    - * - * @return the value of the 'Name' attribute. - * @see #setName(String) - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtPackage#getRandomEvent_Name() - * @model - * @generated - */ - String getName(); - - /** - * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.RandomEvent#getName Name}' attribute. - * - * - * @param value the new value of the 'Name' attribute. - * @see #getName() - * @generated - */ - void setName(String value); - -} // RandomEvent diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/ReliabilityModel.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/ReliabilityModel.java deleted file mode 100644 index c1dc2162..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/ReliabilityModel.java +++ /dev/null @@ -1,18 +0,0 @@ -/** - */ -package hu.bme.mit.inf.dslreasoner.faulttree.model.ft; - -import org.eclipse.emf.ecore.EObject; - -/** - * - * A representation of the model object 'Reliability Model'. - * - * - * - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtPackage#getReliabilityModel() - * @model abstract="true" - * @generated - */ -public interface ReliabilityModel extends EObject { -} // ReliabilityModel diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/AndGateImpl.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/AndGateImpl.java deleted file mode 100644 index 509843b1..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/AndGateImpl.java +++ /dev/null @@ -1,37 +0,0 @@ -/** - */ -package hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl; - -import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.AndGate; -import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtPackage; - -import org.eclipse.emf.ecore.EClass; - -/** - * - * An implementation of the model object 'And Gate'. - * - * - * @generated - */ -public class AndGateImpl extends GateImpl implements AndGate { - /** - * - * - * @generated - */ - protected AndGateImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return FtPackage.Literals.AND_GATE; - } - -} //AndGateImpl diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/BasicEventImpl.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/BasicEventImpl.java deleted file mode 100644 index bbed7b00..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/BasicEventImpl.java +++ /dev/null @@ -1,177 +0,0 @@ -/** - */ -package hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl; - -import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.BasicEvent; -import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.Distribution; -import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtPackage; - -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 'Basic Event'. - * - *

    - * The following features are implemented: - *

    - *
      - *
    • {@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.BasicEventImpl#getDistribution Distribution}
    • - *
    - * - * @generated - */ -public class BasicEventImpl extends RandomEventImpl implements BasicEvent { - /** - * The cached value of the '{@link #getDistribution() Distribution}' containment reference. - * - * - * @see #getDistribution() - * @generated - * @ordered - */ - protected Distribution distribution; - - /** - * - * - * @generated - */ - protected BasicEventImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return FtPackage.Literals.BASIC_EVENT; - } - - /** - * - * - * @generated - */ - @Override - public Distribution getDistribution() { - return distribution; - } - - /** - * - * - * @generated - */ - public NotificationChain basicSetDistribution(Distribution newDistribution, NotificationChain msgs) { - Distribution oldDistribution = distribution; - distribution = newDistribution; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, FtPackage.BASIC_EVENT__DISTRIBUTION, oldDistribution, newDistribution); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * - * - * @generated - */ - @Override - public void setDistribution(Distribution newDistribution) { - if (newDistribution != distribution) { - NotificationChain msgs = null; - if (distribution != null) - msgs = ((InternalEObject)distribution).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - FtPackage.BASIC_EVENT__DISTRIBUTION, null, msgs); - if (newDistribution != null) - msgs = ((InternalEObject)newDistribution).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - FtPackage.BASIC_EVENT__DISTRIBUTION, null, msgs); - msgs = basicSetDistribution(newDistribution, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, FtPackage.BASIC_EVENT__DISTRIBUTION, newDistribution, newDistribution)); - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case FtPackage.BASIC_EVENT__DISTRIBUTION: - return basicSetDistribution(null, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case FtPackage.BASIC_EVENT__DISTRIBUTION: - return getDistribution(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case FtPackage.BASIC_EVENT__DISTRIBUTION: - setDistribution((Distribution)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case FtPackage.BASIC_EVENT__DISTRIBUTION: - setDistribution((Distribution)null); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case FtPackage.BASIC_EVENT__DISTRIBUTION: - return distribution != null; - } - return super.eIsSet(featureID); - } - -} //BasicEventImpl diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/ConstantDistributionImpl.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/ConstantDistributionImpl.java deleted file mode 100644 index 7f85ed32..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/ConstantDistributionImpl.java +++ /dev/null @@ -1,164 +0,0 @@ -/** - */ -package hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl; - -import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ConstantDistribution; -import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtPackage; - -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 'Constant Distribution'. - * - *

    - * The following features are implemented: - *

    - *
      - *
    • {@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.ConstantDistributionImpl#getP P}
    • - *
    - * - * @generated - */ -public class ConstantDistributionImpl extends DistributionImpl implements ConstantDistribution { - /** - * The default value of the '{@link #getP() P}' attribute. - * - * - * @see #getP() - * @generated - * @ordered - */ - protected static final double P_EDEFAULT = 0.0; - - /** - * The cached value of the '{@link #getP() P}' attribute. - * - * - * @see #getP() - * @generated - * @ordered - */ - protected double p = P_EDEFAULT; - - /** - * - * - * @generated - */ - protected ConstantDistributionImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return FtPackage.Literals.CONSTANT_DISTRIBUTION; - } - - /** - * - * - * @generated - */ - @Override - public double getP() { - return p; - } - - /** - * - * - * @generated - */ - @Override - public void setP(double newP) { - double oldP = p; - p = newP; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, FtPackage.CONSTANT_DISTRIBUTION__P, oldP, p)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case FtPackage.CONSTANT_DISTRIBUTION__P: - return getP(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case FtPackage.CONSTANT_DISTRIBUTION__P: - setP((Double)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case FtPackage.CONSTANT_DISTRIBUTION__P: - setP(P_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case FtPackage.CONSTANT_DISTRIBUTION__P: - return p != P_EDEFAULT; - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuilder result = new StringBuilder(super.toString()); - result.append(" (p: "); - result.append(p); - result.append(')'); - return result.toString(); - } - -} //ConstantDistributionImpl diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/ConstantEventImpl.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/ConstantEventImpl.java deleted file mode 100644 index fc7bcf09..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/ConstantEventImpl.java +++ /dev/null @@ -1,164 +0,0 @@ -/** - */ -package hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl; - -import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ConstantEvent; -import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtPackage; - -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 'Constant Event'. - * - *

    - * The following features are implemented: - *

    - *
      - *
    • {@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.ConstantEventImpl#isFailed Failed}
    • - *
    - * - * @generated - */ -public class ConstantEventImpl extends EventImpl implements ConstantEvent { - /** - * The default value of the '{@link #isFailed() Failed}' attribute. - * - * - * @see #isFailed() - * @generated - * @ordered - */ - protected static final boolean FAILED_EDEFAULT = false; - - /** - * The cached value of the '{@link #isFailed() Failed}' attribute. - * - * - * @see #isFailed() - * @generated - * @ordered - */ - protected boolean failed = FAILED_EDEFAULT; - - /** - * - * - * @generated - */ - protected ConstantEventImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return FtPackage.Literals.CONSTANT_EVENT; - } - - /** - * - * - * @generated - */ - @Override - public boolean isFailed() { - return failed; - } - - /** - * - * - * @generated - */ - @Override - public void setFailed(boolean newFailed) { - boolean oldFailed = failed; - failed = newFailed; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, FtPackage.CONSTANT_EVENT__FAILED, oldFailed, failed)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case FtPackage.CONSTANT_EVENT__FAILED: - return isFailed(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case FtPackage.CONSTANT_EVENT__FAILED: - setFailed((Boolean)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case FtPackage.CONSTANT_EVENT__FAILED: - setFailed(FAILED_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case FtPackage.CONSTANT_EVENT__FAILED: - return failed != FAILED_EDEFAULT; - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuilder result = new StringBuilder(super.toString()); - result.append(" (failed: "); - result.append(failed); - result.append(')'); - return result.toString(); - } - -} //ConstantEventImpl diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/ConstantModelImpl.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/ConstantModelImpl.java deleted file mode 100644 index 52e1605b..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/ConstantModelImpl.java +++ /dev/null @@ -1,164 +0,0 @@ -/** - */ -package hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl; - -import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ConstantModel; -import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtPackage; - -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 'Constant Model'. - * - *

    - * The following features are implemented: - *

    - *
      - *
    • {@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.ConstantModelImpl#isFailed Failed}
    • - *
    - * - * @generated - */ -public class ConstantModelImpl extends ReliabilityModelImpl implements ConstantModel { - /** - * The default value of the '{@link #isFailed() Failed}' attribute. - * - * - * @see #isFailed() - * @generated - * @ordered - */ - protected static final boolean FAILED_EDEFAULT = false; - - /** - * The cached value of the '{@link #isFailed() Failed}' attribute. - * - * - * @see #isFailed() - * @generated - * @ordered - */ - protected boolean failed = FAILED_EDEFAULT; - - /** - * - * - * @generated - */ - protected ConstantModelImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return FtPackage.Literals.CONSTANT_MODEL; - } - - /** - * - * - * @generated - */ - @Override - public boolean isFailed() { - return failed; - } - - /** - * - * - * @generated - */ - @Override - public void setFailed(boolean newFailed) { - boolean oldFailed = failed; - failed = newFailed; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, FtPackage.CONSTANT_MODEL__FAILED, oldFailed, failed)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case FtPackage.CONSTANT_MODEL__FAILED: - return isFailed(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case FtPackage.CONSTANT_MODEL__FAILED: - setFailed((Boolean)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case FtPackage.CONSTANT_MODEL__FAILED: - setFailed(FAILED_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case FtPackage.CONSTANT_MODEL__FAILED: - return failed != FAILED_EDEFAULT; - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuilder result = new StringBuilder(super.toString()); - result.append(" (failed: "); - result.append(failed); - result.append(')'); - return result.toString(); - } - -} //ConstantModelImpl diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/DistributionImpl.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/DistributionImpl.java deleted file mode 100644 index 171a58cd..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/DistributionImpl.java +++ /dev/null @@ -1,39 +0,0 @@ -/** - */ -package hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl; - -import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.Distribution; -import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtPackage; - -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; - -/** - * - * An implementation of the model object 'Distribution'. - * - * - * @generated - */ -public abstract class DistributionImpl extends MinimalEObjectImpl.Container implements Distribution { - /** - * - * - * @generated - */ - protected DistributionImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return FtPackage.Literals.DISTRIBUTION; - } - -} //DistributionImpl diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/EventImpl.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/EventImpl.java deleted file mode 100644 index b37fa6bd..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/EventImpl.java +++ /dev/null @@ -1,39 +0,0 @@ -/** - */ -package hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl; - -import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.Event; -import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtPackage; - -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; - -/** - * - * An implementation of the model object 'Event'. - * - * - * @generated - */ -public abstract class EventImpl extends MinimalEObjectImpl.Container implements Event { - /** - * - * - * @generated - */ - protected EventImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return FtPackage.Literals.EVENT; - } - -} //EventImpl diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/ExponentialDistributionImpl.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/ExponentialDistributionImpl.java deleted file mode 100644 index b3c7bd79..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/ExponentialDistributionImpl.java +++ /dev/null @@ -1,164 +0,0 @@ -/** - */ -package hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl; - -import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ExponentialDistribution; -import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtPackage; - -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 'Exponential Distribution'. - * - *

    - * The following features are implemented: - *

    - *
      - *
    • {@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.ExponentialDistributionImpl#getLambda Lambda}
    • - *
    - * - * @generated - */ -public class ExponentialDistributionImpl extends DistributionImpl implements ExponentialDistribution { - /** - * The default value of the '{@link #getLambda() Lambda}' attribute. - * - * - * @see #getLambda() - * @generated - * @ordered - */ - protected static final double LAMBDA_EDEFAULT = 0.0; - - /** - * The cached value of the '{@link #getLambda() Lambda}' attribute. - * - * - * @see #getLambda() - * @generated - * @ordered - */ - protected double lambda = LAMBDA_EDEFAULT; - - /** - * - * - * @generated - */ - protected ExponentialDistributionImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return FtPackage.Literals.EXPONENTIAL_DISTRIBUTION; - } - - /** - * - * - * @generated - */ - @Override - public double getLambda() { - return lambda; - } - - /** - * - * - * @generated - */ - @Override - public void setLambda(double newLambda) { - double oldLambda = lambda; - lambda = newLambda; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, FtPackage.EXPONENTIAL_DISTRIBUTION__LAMBDA, oldLambda, lambda)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case FtPackage.EXPONENTIAL_DISTRIBUTION__LAMBDA: - return getLambda(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case FtPackage.EXPONENTIAL_DISTRIBUTION__LAMBDA: - setLambda((Double)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case FtPackage.EXPONENTIAL_DISTRIBUTION__LAMBDA: - setLambda(LAMBDA_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case FtPackage.EXPONENTIAL_DISTRIBUTION__LAMBDA: - return lambda != LAMBDA_EDEFAULT; - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuilder result = new StringBuilder(super.toString()); - result.append(" (lambda: "); - result.append(lambda); - result.append(')'); - return result.toString(); - } - -} //ExponentialDistributionImpl diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/FaultTreeImpl.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/FaultTreeImpl.java deleted file mode 100644 index 23f1d056..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/FaultTreeImpl.java +++ /dev/null @@ -1,216 +0,0 @@ -/** - */ -package hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl; - -import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FaultTree; -import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtPackage; -import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.RandomEvent; - -import java.util.Collection; - -import org.eclipse.emf.common.notify.Notification; -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.impl.ENotificationImpl; - -import org.eclipse.emf.ecore.util.EObjectContainmentEList; -import org.eclipse.emf.ecore.util.InternalEList; - -/** - * - * An implementation of the model object 'Fault Tree'. - * - *

    - * The following features are implemented: - *

    - *
      - *
    • {@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.FaultTreeImpl#getEvents Events}
    • - *
    • {@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.FaultTreeImpl#getTopEvent Top Event}
    • - *
    - * - * @generated - */ -public class FaultTreeImpl extends ReliabilityModelImpl implements FaultTree { - /** - * The cached value of the '{@link #getEvents() Events}' containment reference list. - * - * - * @see #getEvents() - * @generated - * @ordered - */ - protected EList events; - - /** - * The cached value of the '{@link #getTopEvent() Top Event}' reference. - * - * - * @see #getTopEvent() - * @generated - * @ordered - */ - protected RandomEvent topEvent; - - /** - * - * - * @generated - */ - protected FaultTreeImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return FtPackage.Literals.FAULT_TREE; - } - - /** - * - * - * @generated - */ - @Override - public EList getEvents() { - if (events == null) { - events = new EObjectContainmentEList(RandomEvent.class, this, FtPackage.FAULT_TREE__EVENTS); - } - return events; - } - - /** - * - * - * @generated - */ - @Override - public RandomEvent getTopEvent() { - if (topEvent != null && topEvent.eIsProxy()) { - InternalEObject oldTopEvent = (InternalEObject)topEvent; - topEvent = (RandomEvent)eResolveProxy(oldTopEvent); - if (topEvent != oldTopEvent) { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, FtPackage.FAULT_TREE__TOP_EVENT, oldTopEvent, topEvent)); - } - } - return topEvent; - } - - /** - * - * - * @generated - */ - public RandomEvent basicGetTopEvent() { - return topEvent; - } - - /** - * - * - * @generated - */ - @Override - public void setTopEvent(RandomEvent newTopEvent) { - RandomEvent oldTopEvent = topEvent; - topEvent = newTopEvent; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, FtPackage.FAULT_TREE__TOP_EVENT, oldTopEvent, topEvent)); - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case FtPackage.FAULT_TREE__EVENTS: - return ((InternalEList)getEvents()).basicRemove(otherEnd, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case FtPackage.FAULT_TREE__EVENTS: - return getEvents(); - case FtPackage.FAULT_TREE__TOP_EVENT: - if (resolve) return getTopEvent(); - return basicGetTopEvent(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case FtPackage.FAULT_TREE__EVENTS: - getEvents().clear(); - getEvents().addAll((Collection)newValue); - return; - case FtPackage.FAULT_TREE__TOP_EVENT: - setTopEvent((RandomEvent)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case FtPackage.FAULT_TREE__EVENTS: - getEvents().clear(); - return; - case FtPackage.FAULT_TREE__TOP_EVENT: - setTopEvent((RandomEvent)null); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case FtPackage.FAULT_TREE__EVENTS: - return events != null && !events.isEmpty(); - case FtPackage.FAULT_TREE__TOP_EVENT: - return topEvent != null; - } - return super.eIsSet(featureID); - } - -} //FaultTreeImpl diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/FtFactoryImpl.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/FtFactoryImpl.java deleted file mode 100644 index 126abed8..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/FtFactoryImpl.java +++ /dev/null @@ -1,193 +0,0 @@ -/** - */ -package hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl; - -import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.*; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.EPackage; - -import org.eclipse.emf.ecore.impl.EFactoryImpl; - -import org.eclipse.emf.ecore.plugin.EcorePlugin; - -/** - * - * An implementation of the model Factory. - * - * @generated - */ -public class FtFactoryImpl extends EFactoryImpl implements FtFactory { - /** - * Creates the default factory implementation. - * - * - * @generated - */ - public static FtFactory init() { - try { - FtFactory theFtFactory = (FtFactory)EPackage.Registry.INSTANCE.getEFactory(FtPackage.eNS_URI); - if (theFtFactory != null) { - return theFtFactory; - } - } - catch (Exception exception) { - EcorePlugin.INSTANCE.log(exception); - } - return new FtFactoryImpl(); - } - - /** - * Creates an instance of the factory. - * - * - * @generated - */ - public FtFactoryImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - public EObject create(EClass eClass) { - switch (eClass.getClassifierID()) { - case FtPackage.FAULT_TREE: return createFaultTree(); - case FtPackage.BASIC_EVENT: return createBasicEvent(); - case FtPackage.CONSTANT_DISTRIBUTION: return createConstantDistribution(); - case FtPackage.EXPONENTIAL_DISTRIBUTION: return createExponentialDistribution(); - case FtPackage.AND_GATE: return createAndGate(); - case FtPackage.OR_GATE: return createOrGate(); - case FtPackage.KOF_MGATE: return createKOfMGate(); - case FtPackage.CONSTANT_MODEL: return createConstantModel(); - case FtPackage.CONSTANT_EVENT: return createConstantEvent(); - default: - throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); - } - } - - /** - * - * - * @generated - */ - @Override - public FaultTree createFaultTree() { - FaultTreeImpl faultTree = new FaultTreeImpl(); - return faultTree; - } - - /** - * - * - * @generated - */ - @Override - public BasicEvent createBasicEvent() { - BasicEventImpl basicEvent = new BasicEventImpl(); - return basicEvent; - } - - /** - * - * - * @generated - */ - @Override - public ConstantDistribution createConstantDistribution() { - ConstantDistributionImpl constantDistribution = new ConstantDistributionImpl(); - return constantDistribution; - } - - /** - * - * - * @generated - */ - @Override - public ExponentialDistribution createExponentialDistribution() { - ExponentialDistributionImpl exponentialDistribution = new ExponentialDistributionImpl(); - return exponentialDistribution; - } - - /** - * - * - * @generated - */ - @Override - public AndGate createAndGate() { - AndGateImpl andGate = new AndGateImpl(); - return andGate; - } - - /** - * - * - * @generated - */ - @Override - public OrGate createOrGate() { - OrGateImpl orGate = new OrGateImpl(); - return orGate; - } - - /** - * - * - * @generated - */ - @Override - public KOfMGate createKOfMGate() { - KOfMGateImpl kOfMGate = new KOfMGateImpl(); - return kOfMGate; - } - - /** - * - * - * @generated - */ - @Override - public ConstantModel createConstantModel() { - ConstantModelImpl constantModel = new ConstantModelImpl(); - return constantModel; - } - - /** - * - * - * @generated - */ - @Override - public ConstantEvent createConstantEvent() { - ConstantEventImpl constantEvent = new ConstantEventImpl(); - return constantEvent; - } - - /** - * - * - * @generated - */ - @Override - public FtPackage getFtPackage() { - return (FtPackage)getEPackage(); - } - - /** - * - * - * @deprecated - * @generated - */ - @Deprecated - public static FtPackage getPackage() { - return FtPackage.eINSTANCE; - } - -} //FtFactoryImpl diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/FtPackageImpl.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/FtPackageImpl.java deleted file mode 100644 index cc2c0617..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/FtPackageImpl.java +++ /dev/null @@ -1,586 +0,0 @@ -/** - */ -package hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl; - -import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.AndGate; -import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.BasicEvent; -import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ConstantDistribution; -import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ConstantEvent; -import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ConstantModel; -import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.Distribution; -import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.Event; -import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ExponentialDistribution; -import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FaultTree; -import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtFactory; -import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtPackage; -import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.Gate; -import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.KOfMGate; -import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.OrGate; -import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.RandomEvent; -import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ReliabilityModel; - -import org.eclipse.emf.ecore.EAttribute; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.emf.ecore.EReference; - -import org.eclipse.emf.ecore.impl.EPackageImpl; - -/** - * - * An implementation of the model Package. - * - * @generated - */ -public class FtPackageImpl extends EPackageImpl implements FtPackage { - /** - * - * - * @generated - */ - private EClass faultTreeEClass = null; - - /** - * - * - * @generated - */ - private EClass randomEventEClass = null; - - /** - * - * - * @generated - */ - private EClass basicEventEClass = null; - - /** - * - * - * @generated - */ - private EClass gateEClass = null; - - /** - * - * - * @generated - */ - private EClass distributionEClass = null; - - /** - * - * - * @generated - */ - private EClass constantDistributionEClass = null; - - /** - * - * - * @generated - */ - private EClass exponentialDistributionEClass = null; - - /** - * - * - * @generated - */ - private EClass andGateEClass = null; - - /** - * - * - * @generated - */ - private EClass orGateEClass = null; - - /** - * - * - * @generated - */ - private EClass kOfMGateEClass = null; - - /** - * - * - * @generated - */ - private EClass reliabilityModelEClass = null; - - /** - * - * - * @generated - */ - private EClass constantModelEClass = null; - - /** - * - * - * @generated - */ - private EClass eventEClass = null; - - /** - * - * - * @generated - */ - private EClass constantEventEClass = null; - - /** - * Creates an instance of the model Package, registered with - * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package - * package URI value. - *

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

    This method is used to initialize {@link FtPackage#eINSTANCE} when that field is accessed. - * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. - * - * - * @see #eNS_URI - * @see #createPackageContents() - * @see #initializePackageContents() - * @generated - */ - public static FtPackage init() { - if (isInited) return (FtPackage)EPackage.Registry.INSTANCE.getEPackage(FtPackage.eNS_URI); - - // Obtain or create and register package - Object registeredFtPackage = EPackage.Registry.INSTANCE.get(eNS_URI); - FtPackageImpl theFtPackage = registeredFtPackage instanceof FtPackageImpl ? (FtPackageImpl)registeredFtPackage : new FtPackageImpl(); - - isInited = true; - - // Create package meta-data objects - theFtPackage.createPackageContents(); - - // Initialize created meta-data - theFtPackage.initializePackageContents(); - - // Mark meta-data to indicate it can't be changed - theFtPackage.freeze(); - - // Update the registry and return the package - EPackage.Registry.INSTANCE.put(FtPackage.eNS_URI, theFtPackage); - return theFtPackage; - } - - /** - * - * - * @generated - */ - @Override - public EClass getFaultTree() { - return faultTreeEClass; - } - - /** - * - * - * @generated - */ - @Override - public EReference getFaultTree_Events() { - return (EReference)faultTreeEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EReference getFaultTree_TopEvent() { - return (EReference)faultTreeEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - @Override - public EClass getRandomEvent() { - return randomEventEClass; - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getRandomEvent_Name() { - return (EAttribute)randomEventEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EClass getBasicEvent() { - return basicEventEClass; - } - - /** - * - * - * @generated - */ - @Override - public EReference getBasicEvent_Distribution() { - return (EReference)basicEventEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EClass getGate() { - return gateEClass; - } - - /** - * - * - * @generated - */ - @Override - public EReference getGate_InputEvents() { - return (EReference)gateEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EClass getDistribution() { - return distributionEClass; - } - - /** - * - * - * @generated - */ - @Override - public EClass getConstantDistribution() { - return constantDistributionEClass; - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getConstantDistribution_P() { - return (EAttribute)constantDistributionEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EClass getExponentialDistribution() { - return exponentialDistributionEClass; - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getExponentialDistribution_Lambda() { - return (EAttribute)exponentialDistributionEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EClass getAndGate() { - return andGateEClass; - } - - /** - * - * - * @generated - */ - @Override - public EClass getOrGate() { - return orGateEClass; - } - - /** - * - * - * @generated - */ - @Override - public EClass getKOfMGate() { - return kOfMGateEClass; - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getKOfMGate_K() { - return (EAttribute)kOfMGateEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EClass getReliabilityModel() { - return reliabilityModelEClass; - } - - /** - * - * - * @generated - */ - @Override - public EClass getConstantModel() { - return constantModelEClass; - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getConstantModel_Failed() { - return (EAttribute)constantModelEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EClass getEvent() { - return eventEClass; - } - - /** - * - * - * @generated - */ - @Override - public EClass getConstantEvent() { - return constantEventEClass; - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getConstantEvent_Failed() { - return (EAttribute)constantEventEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public FtFactory getFtFactory() { - return (FtFactory)getEFactoryInstance(); - } - - /** - * - * - * @generated - */ - private boolean isCreated = false; - - /** - * Creates the meta-model objects for the package. This method is - * guarded to have no affect on any invocation but its first. - * - * - * @generated - */ - public void createPackageContents() { - if (isCreated) return; - isCreated = true; - - // Create classes and their features - faultTreeEClass = createEClass(FAULT_TREE); - createEReference(faultTreeEClass, FAULT_TREE__EVENTS); - createEReference(faultTreeEClass, FAULT_TREE__TOP_EVENT); - - randomEventEClass = createEClass(RANDOM_EVENT); - createEAttribute(randomEventEClass, RANDOM_EVENT__NAME); - - basicEventEClass = createEClass(BASIC_EVENT); - createEReference(basicEventEClass, BASIC_EVENT__DISTRIBUTION); - - gateEClass = createEClass(GATE); - createEReference(gateEClass, GATE__INPUT_EVENTS); - - distributionEClass = createEClass(DISTRIBUTION); - - constantDistributionEClass = createEClass(CONSTANT_DISTRIBUTION); - createEAttribute(constantDistributionEClass, CONSTANT_DISTRIBUTION__P); - - exponentialDistributionEClass = createEClass(EXPONENTIAL_DISTRIBUTION); - createEAttribute(exponentialDistributionEClass, EXPONENTIAL_DISTRIBUTION__LAMBDA); - - andGateEClass = createEClass(AND_GATE); - - orGateEClass = createEClass(OR_GATE); - - kOfMGateEClass = createEClass(KOF_MGATE); - createEAttribute(kOfMGateEClass, KOF_MGATE__K); - - reliabilityModelEClass = createEClass(RELIABILITY_MODEL); - - constantModelEClass = createEClass(CONSTANT_MODEL); - createEAttribute(constantModelEClass, CONSTANT_MODEL__FAILED); - - eventEClass = createEClass(EVENT); - - constantEventEClass = createEClass(CONSTANT_EVENT); - createEAttribute(constantEventEClass, CONSTANT_EVENT__FAILED); - } - - /** - * - * - * @generated - */ - private boolean isInitialized = false; - - /** - * Complete the initialization of the package and its meta-model. This - * method is guarded to have no affect on any invocation but its first. - * - * - * @generated - */ - public void initializePackageContents() { - if (isInitialized) return; - isInitialized = true; - - // Initialize package - setName(eNAME); - setNsPrefix(eNS_PREFIX); - setNsURI(eNS_URI); - - // Create type parameters - - // Set bounds for type parameters - - // Add supertypes to classes - faultTreeEClass.getESuperTypes().add(this.getReliabilityModel()); - randomEventEClass.getESuperTypes().add(this.getEvent()); - basicEventEClass.getESuperTypes().add(this.getRandomEvent()); - gateEClass.getESuperTypes().add(this.getRandomEvent()); - constantDistributionEClass.getESuperTypes().add(this.getDistribution()); - exponentialDistributionEClass.getESuperTypes().add(this.getDistribution()); - andGateEClass.getESuperTypes().add(this.getGate()); - orGateEClass.getESuperTypes().add(this.getGate()); - kOfMGateEClass.getESuperTypes().add(this.getGate()); - constantModelEClass.getESuperTypes().add(this.getReliabilityModel()); - constantEventEClass.getESuperTypes().add(this.getEvent()); - - // Initialize classes, features, and operations; add parameters - initEClass(faultTreeEClass, FaultTree.class, "FaultTree", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getFaultTree_Events(), this.getRandomEvent(), null, "events", null, 0, -1, FaultTree.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getFaultTree_TopEvent(), this.getRandomEvent(), null, "topEvent", null, 1, 1, FaultTree.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(randomEventEClass, RandomEvent.class, "RandomEvent", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getRandomEvent_Name(), ecorePackage.getEString(), "name", null, 0, 1, RandomEvent.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(basicEventEClass, BasicEvent.class, "BasicEvent", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getBasicEvent_Distribution(), this.getDistribution(), null, "distribution", null, 1, 1, BasicEvent.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(gateEClass, Gate.class, "Gate", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getGate_InputEvents(), this.getRandomEvent(), null, "inputEvents", null, 2, -1, Gate.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(distributionEClass, Distribution.class, "Distribution", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - - initEClass(constantDistributionEClass, ConstantDistribution.class, "ConstantDistribution", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getConstantDistribution_P(), ecorePackage.getEDouble(), "p", null, 0, 1, ConstantDistribution.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(exponentialDistributionEClass, ExponentialDistribution.class, "ExponentialDistribution", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getExponentialDistribution_Lambda(), ecorePackage.getEDouble(), "lambda", null, 0, 1, ExponentialDistribution.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(andGateEClass, AndGate.class, "AndGate", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - - initEClass(orGateEClass, OrGate.class, "OrGate", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - - initEClass(kOfMGateEClass, KOfMGate.class, "KOfMGate", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getKOfMGate_K(), ecorePackage.getEInt(), "k", null, 0, 1, KOfMGate.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(reliabilityModelEClass, ReliabilityModel.class, "ReliabilityModel", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - - initEClass(constantModelEClass, ConstantModel.class, "ConstantModel", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getConstantModel_Failed(), ecorePackage.getEBoolean(), "failed", null, 0, 1, ConstantModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(eventEClass, Event.class, "Event", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - - initEClass(constantEventEClass, ConstantEvent.class, "ConstantEvent", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getConstantEvent_Failed(), ecorePackage.getEBoolean(), "failed", null, 0, 1, ConstantEvent.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - // Create resource - createResource(eNS_URI); - } - -} //FtPackageImpl diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/GateImpl.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/GateImpl.java deleted file mode 100644 index 9e753a09..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/GateImpl.java +++ /dev/null @@ -1,133 +0,0 @@ -/** - */ -package hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl; - -import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtPackage; -import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.Gate; -import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.RandomEvent; - -import java.util.Collection; - -import org.eclipse.emf.common.util.EList; - -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.emf.ecore.util.EObjectResolvingEList; - -/** - * - * An implementation of the model object 'Gate'. - * - *

    - * The following features are implemented: - *

    - *
      - *
    • {@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.GateImpl#getInputEvents Input Events}
    • - *
    - * - * @generated - */ -public abstract class GateImpl extends RandomEventImpl implements Gate { - /** - * The cached value of the '{@link #getInputEvents() Input Events}' reference list. - * - * - * @see #getInputEvents() - * @generated - * @ordered - */ - protected EList inputEvents; - - /** - * - * - * @generated - */ - protected GateImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return FtPackage.Literals.GATE; - } - - /** - * - * - * @generated - */ - @Override - public EList getInputEvents() { - if (inputEvents == null) { - inputEvents = new EObjectResolvingEList(RandomEvent.class, this, FtPackage.GATE__INPUT_EVENTS); - } - return inputEvents; - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case FtPackage.GATE__INPUT_EVENTS: - return getInputEvents(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case FtPackage.GATE__INPUT_EVENTS: - getInputEvents().clear(); - getInputEvents().addAll((Collection)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case FtPackage.GATE__INPUT_EVENTS: - getInputEvents().clear(); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case FtPackage.GATE__INPUT_EVENTS: - return inputEvents != null && !inputEvents.isEmpty(); - } - return super.eIsSet(featureID); - } - -} //GateImpl diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/KOfMGateImpl.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/KOfMGateImpl.java deleted file mode 100644 index 47ca936b..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/KOfMGateImpl.java +++ /dev/null @@ -1,164 +0,0 @@ -/** - */ -package hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl; - -import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtPackage; -import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.KOfMGate; - -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 'KOf MGate'. - * - *

    - * The following features are implemented: - *

    - *
      - *
    • {@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.KOfMGateImpl#getK K}
    • - *
    - * - * @generated - */ -public class KOfMGateImpl extends GateImpl implements KOfMGate { - /** - * The default value of the '{@link #getK() K}' attribute. - * - * - * @see #getK() - * @generated - * @ordered - */ - protected static final int K_EDEFAULT = 0; - - /** - * The cached value of the '{@link #getK() K}' attribute. - * - * - * @see #getK() - * @generated - * @ordered - */ - protected int k = K_EDEFAULT; - - /** - * - * - * @generated - */ - protected KOfMGateImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return FtPackage.Literals.KOF_MGATE; - } - - /** - * - * - * @generated - */ - @Override - public int getK() { - return k; - } - - /** - * - * - * @generated - */ - @Override - public void setK(int newK) { - int oldK = k; - k = newK; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, FtPackage.KOF_MGATE__K, oldK, k)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case FtPackage.KOF_MGATE__K: - return getK(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case FtPackage.KOF_MGATE__K: - setK((Integer)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case FtPackage.KOF_MGATE__K: - setK(K_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case FtPackage.KOF_MGATE__K: - return k != K_EDEFAULT; - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuilder result = new StringBuilder(super.toString()); - result.append(" (k: "); - result.append(k); - result.append(')'); - return result.toString(); - } - -} //KOfMGateImpl diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/OrGateImpl.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/OrGateImpl.java deleted file mode 100644 index 88bd2bae..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/OrGateImpl.java +++ /dev/null @@ -1,37 +0,0 @@ -/** - */ -package hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl; - -import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtPackage; -import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.OrGate; - -import org.eclipse.emf.ecore.EClass; - -/** - * - * An implementation of the model object 'Or Gate'. - * - * - * @generated - */ -public class OrGateImpl extends GateImpl implements OrGate { - /** - * - * - * @generated - */ - protected OrGateImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return FtPackage.Literals.OR_GATE; - } - -} //OrGateImpl diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/RandomEventImpl.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/RandomEventImpl.java deleted file mode 100644 index 4f9eda56..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/RandomEventImpl.java +++ /dev/null @@ -1,164 +0,0 @@ -/** - */ -package hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl; - -import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtPackage; -import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.RandomEvent; - -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 'Random Event'. - * - *

    - * The following features are implemented: - *

    - *
      - *
    • {@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl.RandomEventImpl#getName Name}
    • - *
    - * - * @generated - */ -public abstract class RandomEventImpl extends EventImpl implements RandomEvent { - /** - * The default value of the '{@link #getName() Name}' attribute. - * - * - * @see #getName() - * @generated - * @ordered - */ - protected static final String NAME_EDEFAULT = null; - - /** - * The cached value of the '{@link #getName() Name}' attribute. - * - * - * @see #getName() - * @generated - * @ordered - */ - protected String name = NAME_EDEFAULT; - - /** - * - * - * @generated - */ - protected RandomEventImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return FtPackage.Literals.RANDOM_EVENT; - } - - /** - * - * - * @generated - */ - @Override - public String getName() { - return name; - } - - /** - * - * - * @generated - */ - @Override - public void setName(String newName) { - String oldName = name; - name = newName; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, FtPackage.RANDOM_EVENT__NAME, oldName, name)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case FtPackage.RANDOM_EVENT__NAME: - return getName(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case FtPackage.RANDOM_EVENT__NAME: - setName((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case FtPackage.RANDOM_EVENT__NAME: - setName(NAME_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case FtPackage.RANDOM_EVENT__NAME: - return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuilder result = new StringBuilder(super.toString()); - result.append(" (name: "); - result.append(name); - result.append(')'); - return result.toString(); - } - -} //RandomEventImpl diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/ReliabilityModelImpl.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/ReliabilityModelImpl.java deleted file mode 100644 index e3d0eec1..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/impl/ReliabilityModelImpl.java +++ /dev/null @@ -1,39 +0,0 @@ -/** - */ -package hu.bme.mit.inf.dslreasoner.faulttree.model.ft.impl; - -import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtPackage; -import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ReliabilityModel; - -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; - -/** - * - * An implementation of the model object 'Reliability Model'. - * - * - * @generated - */ -public abstract class ReliabilityModelImpl extends MinimalEObjectImpl.Container implements ReliabilityModel { - /** - * - * - * @generated - */ - protected ReliabilityModelImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return FtPackage.Literals.RELIABILITY_MODEL; - } - -} //ReliabilityModelImpl diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/util/FtAdapterFactory.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/util/FtAdapterFactory.java deleted file mode 100644 index ba7545f4..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/util/FtAdapterFactory.java +++ /dev/null @@ -1,354 +0,0 @@ -/** - */ -package hu.bme.mit.inf.dslreasoner.faulttree.model.ft.util; - -import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.*; - -import org.eclipse.emf.common.notify.Adapter; -import org.eclipse.emf.common.notify.Notifier; - -import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl; - -import org.eclipse.emf.ecore.EObject; - -/** - * - * The Adapter Factory for the model. - * It provides an adapter createXXX method for each class of the model. - * - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtPackage - * @generated - */ -public class FtAdapterFactory extends AdapterFactoryImpl { - /** - * The cached model package. - * - * - * @generated - */ - protected static FtPackage modelPackage; - - /** - * Creates an instance of the adapter factory. - * - * - * @generated - */ - public FtAdapterFactory() { - if (modelPackage == null) { - modelPackage = FtPackage.eINSTANCE; - } - } - - /** - * Returns whether this factory is applicable for the type of the object. - * - * This implementation returns true if the object is either the model's package or is an instance object of the model. - * - * @return whether this factory is applicable for the type of the object. - * @generated - */ - @Override - public boolean isFactoryForType(Object object) { - if (object == modelPackage) { - return true; - } - if (object instanceof EObject) { - return ((EObject)object).eClass().getEPackage() == modelPackage; - } - return false; - } - - /** - * The switch that delegates to the createXXX methods. - * - * - * @generated - */ - protected FtSwitch modelSwitch = - new FtSwitch() { - @Override - public Adapter caseFaultTree(FaultTree object) { - return createFaultTreeAdapter(); - } - @Override - public Adapter caseRandomEvent(RandomEvent object) { - return createRandomEventAdapter(); - } - @Override - public Adapter caseBasicEvent(BasicEvent object) { - return createBasicEventAdapter(); - } - @Override - public Adapter caseGate(Gate object) { - return createGateAdapter(); - } - @Override - public Adapter caseDistribution(Distribution object) { - return createDistributionAdapter(); - } - @Override - public Adapter caseConstantDistribution(ConstantDistribution object) { - return createConstantDistributionAdapter(); - } - @Override - public Adapter caseExponentialDistribution(ExponentialDistribution object) { - return createExponentialDistributionAdapter(); - } - @Override - public Adapter caseAndGate(AndGate object) { - return createAndGateAdapter(); - } - @Override - public Adapter caseOrGate(OrGate object) { - return createOrGateAdapter(); - } - @Override - public Adapter caseKOfMGate(KOfMGate object) { - return createKOfMGateAdapter(); - } - @Override - public Adapter caseReliabilityModel(ReliabilityModel object) { - return createReliabilityModelAdapter(); - } - @Override - public Adapter caseConstantModel(ConstantModel object) { - return createConstantModelAdapter(); - } - @Override - public Adapter caseEvent(Event object) { - return createEventAdapter(); - } - @Override - public Adapter caseConstantEvent(ConstantEvent object) { - return createConstantEventAdapter(); - } - @Override - public Adapter defaultCase(EObject object) { - return createEObjectAdapter(); - } - }; - - /** - * Creates an adapter for the target. - * - * - * @param target the object to adapt. - * @return the adapter for the target. - * @generated - */ - @Override - public Adapter createAdapter(Notifier target) { - return modelSwitch.doSwitch((EObject)target); - } - - - /** - * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FaultTree Fault Tree}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FaultTree - * @generated - */ - public Adapter createFaultTreeAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.RandomEvent Random Event}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.RandomEvent - * @generated - */ - public Adapter createRandomEventAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.BasicEvent Basic Event}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.BasicEvent - * @generated - */ - public Adapter createBasicEventAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.Gate Gate}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.Gate - * @generated - */ - public Adapter createGateAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.Distribution Distribution}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.Distribution - * @generated - */ - public Adapter createDistributionAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ConstantDistribution Constant Distribution}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ConstantDistribution - * @generated - */ - public Adapter createConstantDistributionAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ExponentialDistribution Exponential Distribution}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ExponentialDistribution - * @generated - */ - public Adapter createExponentialDistributionAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.AndGate And Gate}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.AndGate - * @generated - */ - public Adapter createAndGateAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.OrGate Or Gate}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.OrGate - * @generated - */ - public Adapter createOrGateAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.KOfMGate KOf MGate}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.KOfMGate - * @generated - */ - public Adapter createKOfMGateAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ReliabilityModel Reliability Model}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ReliabilityModel - * @generated - */ - public Adapter createReliabilityModelAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ConstantModel Constant Model}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ConstantModel - * @generated - */ - public Adapter createConstantModelAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.Event Event}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.Event - * @generated - */ - public Adapter createEventAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ConstantEvent Constant Event}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ConstantEvent - * @generated - */ - public Adapter createConstantEventAdapter() { - return null; - } - - /** - * Creates a new adapter for the default case. - * - * This default implementation returns null. - * - * @return the new adapter. - * @generated - */ - public Adapter createEObjectAdapter() { - return null; - } - -} //FtAdapterFactory diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/util/FtSwitch.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/util/FtSwitch.java deleted file mode 100644 index 1da4f8e8..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/ecore-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/ft/util/FtSwitch.java +++ /dev/null @@ -1,402 +0,0 @@ -/** - */ -package hu.bme.mit.inf.dslreasoner.faulttree.model.ft.util; - -import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.*; - -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.EPackage; - -import org.eclipse.emf.ecore.util.Switch; - -/** - * - * The Switch for the model's inheritance hierarchy. - * It supports the call {@link #doSwitch(EObject) doSwitch(object)} - * to invoke the caseXXX method for each class of the model, - * starting with the actual class of the object - * and proceeding up the inheritance hierarchy - * until a non-null result is returned, - * which is the result of the switch. - * - * @see hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtPackage - * @generated - */ -public class FtSwitch extends Switch { - /** - * The cached model package - * - * - * @generated - */ - protected static FtPackage modelPackage; - - /** - * Creates an instance of the switch. - * - * - * @generated - */ - public FtSwitch() { - if (modelPackage == null) { - modelPackage = FtPackage.eINSTANCE; - } - } - - /** - * Checks whether this is a switch for the given package. - * - * - * @param ePackage the package in question. - * @return whether this is a switch for the given package. - * @generated - */ - @Override - protected boolean isSwitchFor(EPackage ePackage) { - return ePackage == modelPackage; - } - - /** - * Calls caseXXX for each class of the model until one returns a non null result; it yields that result. - * - * - * @return the first non-null result returned by a caseXXX call. - * @generated - */ - @Override - protected T doSwitch(int classifierID, EObject theEObject) { - switch (classifierID) { - case FtPackage.FAULT_TREE: { - FaultTree faultTree = (FaultTree)theEObject; - T result = caseFaultTree(faultTree); - if (result == null) result = caseReliabilityModel(faultTree); - if (result == null) result = defaultCase(theEObject); - return result; - } - case FtPackage.RANDOM_EVENT: { - RandomEvent randomEvent = (RandomEvent)theEObject; - T result = caseRandomEvent(randomEvent); - if (result == null) result = caseEvent(randomEvent); - if (result == null) result = defaultCase(theEObject); - return result; - } - case FtPackage.BASIC_EVENT: { - BasicEvent basicEvent = (BasicEvent)theEObject; - T result = caseBasicEvent(basicEvent); - if (result == null) result = caseRandomEvent(basicEvent); - if (result == null) result = caseEvent(basicEvent); - if (result == null) result = defaultCase(theEObject); - return result; - } - case FtPackage.GATE: { - Gate gate = (Gate)theEObject; - T result = caseGate(gate); - if (result == null) result = caseRandomEvent(gate); - if (result == null) result = caseEvent(gate); - if (result == null) result = defaultCase(theEObject); - return result; - } - case FtPackage.DISTRIBUTION: { - Distribution distribution = (Distribution)theEObject; - T result = caseDistribution(distribution); - if (result == null) result = defaultCase(theEObject); - return result; - } - case FtPackage.CONSTANT_DISTRIBUTION: { - ConstantDistribution constantDistribution = (ConstantDistribution)theEObject; - T result = caseConstantDistribution(constantDistribution); - if (result == null) result = caseDistribution(constantDistribution); - if (result == null) result = defaultCase(theEObject); - return result; - } - case FtPackage.EXPONENTIAL_DISTRIBUTION: { - ExponentialDistribution exponentialDistribution = (ExponentialDistribution)theEObject; - T result = caseExponentialDistribution(exponentialDistribution); - if (result == null) result = caseDistribution(exponentialDistribution); - if (result == null) result = defaultCase(theEObject); - return result; - } - case FtPackage.AND_GATE: { - AndGate andGate = (AndGate)theEObject; - T result = caseAndGate(andGate); - if (result == null) result = caseGate(andGate); - if (result == null) result = caseRandomEvent(andGate); - if (result == null) result = caseEvent(andGate); - if (result == null) result = defaultCase(theEObject); - return result; - } - case FtPackage.OR_GATE: { - OrGate orGate = (OrGate)theEObject; - T result = caseOrGate(orGate); - if (result == null) result = caseGate(orGate); - if (result == null) result = caseRandomEvent(orGate); - if (result == null) result = caseEvent(orGate); - if (result == null) result = defaultCase(theEObject); - return result; - } - case FtPackage.KOF_MGATE: { - KOfMGate kOfMGate = (KOfMGate)theEObject; - T result = caseKOfMGate(kOfMGate); - if (result == null) result = caseGate(kOfMGate); - if (result == null) result = caseRandomEvent(kOfMGate); - if (result == null) result = caseEvent(kOfMGate); - if (result == null) result = defaultCase(theEObject); - return result; - } - case FtPackage.RELIABILITY_MODEL: { - ReliabilityModel reliabilityModel = (ReliabilityModel)theEObject; - T result = caseReliabilityModel(reliabilityModel); - if (result == null) result = defaultCase(theEObject); - return result; - } - case FtPackage.CONSTANT_MODEL: { - ConstantModel constantModel = (ConstantModel)theEObject; - T result = caseConstantModel(constantModel); - if (result == null) result = caseReliabilityModel(constantModel); - if (result == null) result = defaultCase(theEObject); - return result; - } - case FtPackage.EVENT: { - Event event = (Event)theEObject; - T result = caseEvent(event); - if (result == null) result = defaultCase(theEObject); - return result; - } - case FtPackage.CONSTANT_EVENT: { - ConstantEvent constantEvent = (ConstantEvent)theEObject; - T result = caseConstantEvent(constantEvent); - if (result == null) result = caseEvent(constantEvent); - if (result == null) result = defaultCase(theEObject); - return result; - } - default: return defaultCase(theEObject); - } - } - - /** - * Returns the result of interpreting the object as an instance of 'Fault Tree'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Fault Tree'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseFaultTree(FaultTree object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Random Event'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Random Event'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseRandomEvent(RandomEvent object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Basic Event'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Basic Event'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseBasicEvent(BasicEvent object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Gate'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Gate'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseGate(Gate object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Distribution'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Distribution'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseDistribution(Distribution object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Constant Distribution'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Constant Distribution'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseConstantDistribution(ConstantDistribution object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Exponential Distribution'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Exponential Distribution'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseExponentialDistribution(ExponentialDistribution object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'And Gate'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'And Gate'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseAndGate(AndGate object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Or Gate'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Or Gate'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseOrGate(OrGate object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'KOf MGate'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'KOf MGate'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseKOfMGate(KOfMGate object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Reliability Model'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Reliability Model'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseReliabilityModel(ReliabilityModel object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Constant Model'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Constant Model'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseConstantModel(ConstantModel object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Event'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Event'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseEvent(Event object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Constant Event'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Constant Event'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseConstantEvent(ConstantEvent object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'EObject'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch, but this is the last case anyway. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'EObject'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) - * @generated - */ - @Override - public T defaultCase(EObject object) { - return null; - } - -} //FtSwitch diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/model/cft.ecore b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/model/cft.ecore deleted file mode 100644 index a843aeed..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/model/cft.ecore +++ /dev/null @@ -1,83 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/model/cft.genmodel b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/model/cft.genmodel deleted file mode 100644 index 3cdc93c4..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/model/cft.genmodel +++ /dev/null @@ -1,69 +0,0 @@ - - - cft.ecore - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/model/ft.ecore b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/model/ft.ecore deleted file mode 100644 index afe9395e..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/model/ft.ecore +++ /dev/null @@ -1,42 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/model/ft.genmodel b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/model/ft.genmodel deleted file mode 100644 index 7dcd0ae7..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/model/ft.genmodel +++ /dev/null @@ -1,44 +0,0 @@ - - - ft.ecore - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/plugin.properties b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/plugin.properties deleted file mode 100644 index 2936b0e7..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/plugin.properties +++ /dev/null @@ -1,4 +0,0 @@ -# - -pluginName = Model -providerName = www.example.org diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/plugin.xml b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/plugin.xml deleted file mode 100644 index 754a53cb..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/plugin.xml +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - - - - - - - - - - - - - diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/representations.aird b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/representations.aird deleted file mode 100644 index edd5ed20..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/representations.aird +++ /dev/null @@ -1,2013 +0,0 @@ - - - - model/cft.ecore - model/ft.ecore - model/ft.genmodel - http://www.eclipse.org/emf/2002/Ecore - model/cft.genmodel - src/hu/bme/mit/inf/dslreasoner/faulttree/model/util/CftExtensions.xtend - - - - - - - - - - - - - - - - - - - - - - - - - - - - bold - - - - - - - - - - bold - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - italic - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - italic - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - - - - italic - - - - - - - - - - - - italic - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - italic - - - - - - - - - - - - - - - - - - - italic - - - - - - - - - - - - italic - - - - - - - - - - - labelSize - - - labelSize - - - - - - - - - - labelSize - - - labelSize - - - - - - - - - - - labelSize - - - labelSize - - - - - - - - - - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - - - - - - - - - - - - - - - - - - - - italic - - - - - - - - - - - - italic - - - - - - - - - - - - italic - - - - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - italic - - - - - - - - - - bold - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - - - - - - - - - - - - - - - - - - - labelSize - - - labelSize - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - - - bold - - - - - - - - - - - bold - - - - - - - - - - - bold - - - - - - - - - - - bold - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - italic - - - - - - - - - - - - - - - - - - - italic - - - - - - - - - - - - italic - - - - - - - - - - - - - - - - - - - - - - - - - - - - bold - - - - - - - - - - bold - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - italic - - - - - - - - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - italic - - - - - - - - - - labelSize - - - labelSize - - - - - - - - - - bold - - - - - - - - - - - - italic - - - - - - - - - - - - italic - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - italic - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - - - - - - - - - - - bold - - - - - - - - - - - - italic - - - - - - - - - - - - italic - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - - - - - - - - - - - - italic - - - - - - - - - - - - italic - - - - - - - - - - - - italic - - - - - - - - - - - bold - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - italic - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - - - - - - - - - - - - italic - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - italic - - - - - - - - - - - italic - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - - - - - - - - - - - - italic - - - - - - - - - - - - italic - - - - - - - - - - - - - diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/src/hu/bme/mit/inf/dslreasoner/faulttree/model/util/CftExtensions.xtend b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/src/hu/bme/mit/inf/dslreasoner/faulttree/model/util/CftExtensions.xtend deleted file mode 100644 index ddf2c266..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/src/hu/bme/mit/inf/dslreasoner/faulttree/model/util/CftExtensions.xtend +++ /dev/null @@ -1,48 +0,0 @@ -package hu.bme.mit.inf.dslreasoner.faulttree.model.util - -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Component -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Connection -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ModalElement -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Modality - -final class CftExtensions { - private new() { - throw new IllegalStateException("This is a static utility class and should not be instantiated directly.") - } - - static def isMoreConcreteThan(Modality newModality, Modality original) { - switch (original) { - case MAY: newModality != Modality.MAY - case CURRENT: newModality == Modality.MUST - case MUST: false - } - } - - static def currentlyExists(ModalElement element) { - element.exists != Modality.MAY - } - - static def mustExist(ModalElement element) { - element.exists == Modality.MUST - } - - static def appearsExactlyOnce(Component componentInstance) { - componentInstance.mustExist && !componentInstance.multipleAllowed - } - - /** - * Checks whether the connection and its target component are both currently present. - * - * A currently present connection without a present target component is a partial model error, - * so we throw an exception instead of returning false. - * - * @param connection The connection to check. - * @throws IllegalStateException When the target component is not currently present. - */ - static def isCurrentlyConnected(Connection connection) { - if (connection.output.component.currentlyExists) { - throw new IllegalStateException("Inconsistent partial model: current connection to a component that may not currently exist") - } - connection.currentlyExists - } -} diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/util/.CftExtensions.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/util/.CftExtensions.xtendbin deleted file mode 100644 index 0e63880f..00000000 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/util/.CftExtensions.xtendbin and /dev/null differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/util/.gitignore b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/util/.gitignore deleted file mode 100644 index 2ba78568..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/util/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -/.CftExtensions.java._trace -/.CftExtensions.xtendbin -/CftExtensions.java diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/util/CftExtensions.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/util/CftExtensions.java deleted file mode 100644 index dbc6b279..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.model/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/model/util/CftExtensions.java +++ /dev/null @@ -1,69 +0,0 @@ -package hu.bme.mit.inf.dslreasoner.faulttree.model.util; - -import com.google.common.base.Objects; -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Component; -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Connection; -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ModalElement; -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Modality; - -@SuppressWarnings("all") -public final class CftExtensions { - private CftExtensions() { - throw new IllegalStateException("This is a static utility class and should not be instantiated directly."); - } - - public static boolean isMoreConcreteThan(final Modality newModality, final Modality original) { - boolean _switchResult = false; - if (original != null) { - switch (original) { - case MAY: - _switchResult = (!Objects.equal(newModality, Modality.MAY)); - break; - case CURRENT: - _switchResult = Objects.equal(newModality, Modality.MUST); - break; - case MUST: - _switchResult = false; - break; - default: - break; - } - } - return _switchResult; - } - - public static boolean currentlyExists(final ModalElement element) { - Modality _exists = element.getExists(); - return (!Objects.equal(_exists, Modality.MAY)); - } - - public static boolean mustExist(final ModalElement element) { - Modality _exists = element.getExists(); - return Objects.equal(_exists, Modality.MUST); - } - - public static boolean appearsExactlyOnce(final Component componentInstance) { - return (CftExtensions.mustExist(componentInstance) && (!componentInstance.isMultipleAllowed())); - } - - /** - * Checks whether the connection and its target component are both currently present. - * - * A currently present connection without a present target component is a partial model error, - * so we throw an exception instead of returning false. - * - * @param connection The connection to check. - * @throws IllegalStateException When the target component is not currently present. - */ - public static boolean isCurrentlyConnected(final Connection connection) { - boolean _xblockexpression = false; - { - boolean _currentlyExists = CftExtensions.currentlyExists(connection.getOutput().getComponent()); - if (_currentlyExists) { - throw new IllegalStateException("Inconsistent partial model: current connection to a component that may not currently exist"); - } - _xblockexpression = CftExtensions.currentlyExists(connection); - } - return _xblockexpression; - } -} diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/.classpath b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/.classpath deleted file mode 100644 index 428337e5..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/.classpath +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/.gitignore b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/.gitignore deleted file mode 100644 index ae3c1726..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/.gitignore +++ /dev/null @@ -1 +0,0 @@ -/bin/ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/.project b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/.project deleted file mode 100644 index ba51fe06..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/.project +++ /dev/null @@ -1,34 +0,0 @@ - - - hu.bme.mit.inf.dslreasoner.faulttree.transformation - - - - - - org.eclipse.xtext.ui.shared.xtextBuilder - - - - - org.eclipse.jdt.core.javabuilder - - - - - org.eclipse.pde.ManifestBuilder - - - - - org.eclipse.pde.SchemaBuilder - - - - - - org.eclipse.pde.PluginNature - org.eclipse.jdt.core.javanature - org.eclipse.xtext.ui.shared.xtextNature - - diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/.settings/org.eclipse.jdt.core.prefs b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/.settings/org.eclipse.jdt.core.prefs deleted file mode 100644 index 0c68a61d..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/.settings/org.eclipse.jdt.core.prefs +++ /dev/null @@ -1,7 +0,0 @@ -eclipse.preferences.version=1 -org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled -org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8 -org.eclipse.jdt.core.compiler.compliance=1.8 -org.eclipse.jdt.core.compiler.problem.assertIdentifier=error -org.eclipse.jdt.core.compiler.problem.enumIdentifier=error -org.eclipse.jdt.core.compiler.source=1.8 diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/META-INF/MANIFEST.MF b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/META-INF/MANIFEST.MF deleted file mode 100644 index 5ee6a4f1..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/META-INF/MANIFEST.MF +++ /dev/null @@ -1,22 +0,0 @@ -Manifest-Version: 1.0 -Bundle-ManifestVersion: 2 -Bundle-Name: Transformation -Bundle-SymbolicName: hu.bme.mit.inf.dslreasoner.faulttree.transformation -Bundle-Version: 1.0.0.qualifier -Automatic-Module-Name: hu.bme.mit.inf.dslreasoner.faulttree.transformation -Bundle-RequiredExecutionEnvironment: JavaSE-1.8 -Require-Bundle: com.google.guava, - org.eclipse.xtext.xbase.lib, - org.eclipse.xtend.lib, - org.eclipse.xtend.lib.macro, - org.eclipse.emf.ecore, - org.eclipse.viatra.query.runtime, - org.eclipse.viatra.query.runtime.rete, - org.eclipse.viatra.query.runtime.localsearch, - hu.bme.mit.inf.dslreasoner.faulttree.components, - hu.bme.mit.inf.dslreasoner.logic.model, - org.apache.commons.lang;bundle-version="2.6.0" -Export-Package: hu.bme.mit.inf.dslreasoner.faulttree.transformation.cft2ft, - hu.bme.mit.inf.dslreasoner.faulttree.transformation.ecore2cft, - hu.bme.mit.inf.dslreasoner.faulttree.transformation.ft2galileo, - hu.bme.mit.inf.dslreasoner.faulttree.transformation.solver diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/build.properties b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/build.properties deleted file mode 100644 index d8e2f0e9..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/build.properties +++ /dev/null @@ -1,5 +0,0 @@ -source.. = src/,\ - xtend-gen/ -output.. = bin/ -bin.includes = META-INF/,\ - . diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/Cft2FtTransformation.xtend b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/Cft2FtTransformation.xtend deleted file mode 100644 index a522654c..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/Cft2FtTransformation.xtend +++ /dev/null @@ -1,24 +0,0 @@ -package hu.bme.mit.inf.dslreasoner.faulttree.transformation.cft2ft - -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentFaultTree -import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ConstantEvent -import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtFactory -import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.RandomEvent - -class Cft2FtTransformation { - def createFaultTree(ComponentFaultTree componentFaultTree) { - val materializer = new EventMaterializer - val topEvent = materializer.getOrMaterialize(componentFaultTree.topEvent) - switch (topEvent) { - ConstantEvent: - FtFactory.eINSTANCE.createConstantModel => [ - failed = topEvent.failed - ] - RandomEvent: { - val builder = new FaultTreeBuilder - builder.addTopLevel(topEvent) - builder.faultTree - } - } - } -} diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/EventCollection.xtend b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/EventCollection.xtend deleted file mode 100644 index 102dc57e..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/EventCollection.xtend +++ /dev/null @@ -1,90 +0,0 @@ -package hu.bme.mit.inf.dslreasoner.faulttree.transformation.cft2ft - -import com.google.common.collect.ImmutableSet -import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ConstantEvent -import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.Event -import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.RandomEvent -import java.util.Set -import org.eclipse.xtend.lib.annotations.Data - -@Data -class EventCollection { - val int falseEventCount - val int trueEventCount - val Set randomEvents - - def containsFalseEvent() { - falseEventCount >= 1 - } - - def containsTrueEvent() { - trueEventCount >= 1 - } - - def getVariableEventCount() { - randomEvents.size - } - - def containsRandomEvent() { - variableEventCount >= 1 - } - - def getCount() { - falseEventCount + trueEventCount + variableEventCount - } - - def isEmpty() { - !containsFalseEvent && !containsTrueEvent && !containsRandomEvent - } - - def containsExactlyOneRandomEvent() { - !containsFalseEvent && !containsTrueEvent && variableEventCount == 1 - } - - def toSingleRandomEvent() { - if (!containsExactlyOneRandomEvent) { - throw new IllegalStateException("Input collection is not a single random event") - } - randomEvents.head - } - - static def builder() { - new Builder() - } - - static class Builder { - var falseEventCount = 0 - var trueEventCount = 0 - val randomEventsBuilder = ImmutableSet.builder - - private new() { - } - - def add(Event event) { - switch (event) { - ConstantEvent: - if (event.failed) { - trueEventCount++ - } else { - falseEventCount++ - } - RandomEvent: - randomEventsBuilder.add(event) - default: - throw new IllegalArgumentException("Unknown event: " + event) - } - this - } - - def addAll(EventCollection materializedEvens) { - falseEventCount += materializedEvens.falseEventCount - trueEventCount += materializedEvens.trueEventCount - randomEventsBuilder.addAll(materializedEvens.randomEvents) - this - } - - def build() { - new EventCollection(falseEventCount, trueEventCount, randomEventsBuilder.build) - } - } -} diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/EventMaterializer.xtend b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/EventMaterializer.xtend deleted file mode 100644 index 6b3ed0d0..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/EventMaterializer.xtend +++ /dev/null @@ -1,208 +0,0 @@ -package hu.bme.mit.inf.dslreasoner.faulttree.transformation.cft2ft - -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.AndGateDefinition -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.BasicEventDefinition -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Component -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.EventDeclaration -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.GateDefinition -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.InputEvent -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.KOfMGateDefinition -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.OrGateDefinition -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Output -import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ConstantEvent -import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.Event -import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtFactory -import java.util.LinkedHashSet -import java.util.Map -import org.eclipse.emf.ecore.util.EcoreUtil -import org.eclipse.xtend.lib.annotations.Data - -import static extension hu.bme.mit.inf.dslreasoner.faulttree.model.util.CftExtensions.* - -class EventMaterializer { - extension val FtFactory = FtFactory.eINSTANCE - - val Map, Event> materializationCache = newHashMap - val Map, EventCollection> multipleInputCache = newHashMap - val ConstantEvent falseEvent - val ConstantEvent trueEvent - val path = new LinkedHashSet> - - new() { - falseEvent = createConstantEvent => [ - failed = false - ] - trueEvent = createConstantEvent => [ - failed = true - ] - } - - def getOrMaterialize(Output output) { - getOrMaterialize(output.component, output.eventDeclaration) - } - - def Event getOrMaterialize(Component component, EventDeclaration eventDeclaration) { - val eventKey = new EventKey(component, eventDeclaration) - pushEventKey(eventKey) - try { - // computeIfAbsent cannot be used recursively, so we must manually cache the event. - var event = materializationCache.get(eventKey) - if (event === null) { - event = materialize(component, eventDeclaration) - materializationCache.put(eventKey, event) - } - event - } finally { - popEventKey(eventKey) - } - } - - protected def materialize(Component component, EventDeclaration eventDeclaration) { - val eventName = component.name + "_" + eventDeclaration.name - val event = switch (eventDeclaration) { - InputEvent: - return materializeConnectedEvent(component, eventDeclaration) - BasicEventDefinition: { - val basicEvent = createBasicEvent - basicEvent.distribution = EcoreUtil.copy(eventDeclaration.distribution) - basicEvent - } - GateDefinition: { - val inputs = collectInputs(component, eventDeclaration) - val gate = switch (eventDeclaration) { - AndGateDefinition: - if (inputs.containsFalseEvent) { - return falseEvent - } else if (inputs.empty) { - return trueEvent - } else if (inputs.containsExactlyOneRandomEvent) { - return inputs.toSingleRandomEvent - } else { - createAndGate - } - OrGateDefinition: - if (inputs.containsTrueEvent) { - return trueEvent - } else if (inputs.empty) { - return falseEvent - } else if (inputs.containsExactlyOneRandomEvent) { - return inputs.toSingleRandomEvent - } else { - createOrGate - } - KOfMGateDefinition: { - val requiredTrueInputs = inputs.count * eventDeclaration.k / eventDeclaration.m - val k = requiredTrueInputs - inputs.getTrueEventCount - val m = inputs.variableEventCount - if (k == 0) { - return trueEvent - } else if (k > m) { - return falseEvent - } else if (inputs.containsExactlyOneRandomEvent) { - return inputs.toSingleRandomEvent - } else if (k == 1) { - createOrGate - } else if (k == m) { - createAndGate - } else { - val kOfMGate = createKOfMGate - kOfMGate.k = k - kOfMGate - } - } - default: - throw new IllegalArgumentException("Unknown gate definition: " + eventDeclaration) - } - gate.inputEvents.addAll(inputs.getRandomEvents) - gate - } - default: - throw new IllegalArgumentException("Unknown event declaration: " + eventDeclaration) - } - event.name = eventName - event - } - - protected def materializeConnectedEvent(Component component, InputEvent inputEvent) { - if (inputEvent.multiple) { - throw new IllegalArgumentException('''Cannot materialize multiple nput «component.name»_«inputEvent.name»''') - } - val input = findInput(component, inputEvent) - val incomingConnections = input.incomingConnections - if (incomingConnections.size != 1) { - throw new IllegalArgumentException('''Input «component.name»_«inputEvent.name» has «incomingConnections.size» connections instead of 1''') - } - val output = incomingConnections.head.output - getOrMaterialize(output.component, output.eventDeclaration) - } - - protected def collectInputs(Component component, GateDefinition gateDefinition) { - val builder = EventCollection.builder - for (inputEventDeclaration : gateDefinition.inputEvents) { - switch (inputEventDeclaration) { - InputEvent case inputEventDeclaration.multiple: { - val materializedEvents = getOrMaterializeConnectedEvents(component, inputEventDeclaration) - builder.addAll(materializedEvents) - } - default: - builder.add(getOrMaterialize(component, inputEventDeclaration)) - } - } - builder.build - } - - protected def getOrMaterializeConnectedEvents(Component component, InputEvent inputEvent) { - val inputKey = new EventKey(component, inputEvent) - pushEventKey(inputKey) - try { - // computeIfAbsent cannot be used recursively, so we must manually cache the event. - var eventCollection = multipleInputCache.get(inputKey) - if (eventCollection === null) { - eventCollection = materializeConnectedEvents(component, inputEvent) - multipleInputCache.put(inputKey, eventCollection) - } - eventCollection - } finally { - popEventKey(inputKey) - } - } - - protected def materializeConnectedEvents(Component component, InputEvent inputEvent) { - val input = findInput(component, inputEvent) - val builder = EventCollection.builder - for (connection : input.incomingConnections) { - if (connection.isCurrentlyConnected) { - val materializedEvent = getOrMaterialize(connection.output) - builder.add(materializedEvent) - } - } - builder.build - } - - protected def findInput(Component component, InputEvent inputEvent) { - val input = component.inputs.findFirst[it.inputEvent == inputEvent] - if (input === null) { - throw new IllegalArgumentException('''No input «inputEvent» in component «component»''') - } - return input - } - - private def pushEventKey(EventKey eventKey) { - if (!path.add(eventKey)) { - throw new IllegalStateException( - '''Circular dependency [«FOR ancestor : path»«ancestor», «ENDFOR»«eventKey»] detected''') - } - } - - private def popEventKey(EventKey eventKey) { - path.remove(eventKey) - } - - @Data - protected static class EventKey { - val Component component - val T event - - override toString() '''«component.name»_«event.name»''' - } -} diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/FaultTreeBuilder.xtend b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/FaultTreeBuilder.xtend deleted file mode 100644 index 0b0afea6..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/FaultTreeBuilder.xtend +++ /dev/null @@ -1,39 +0,0 @@ -package hu.bme.mit.inf.dslreasoner.faulttree.transformation.cft2ft - -import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtFactory -import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.Gate -import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.RandomEvent -import java.util.Collection -import org.eclipse.xtend.lib.annotations.Accessors - -class FaultTreeBuilder { - @Accessors - val faultTree = FtFactory.eINSTANCE.createFaultTree - - def addTopLevel(RandomEvent event) { - if (faultTree.topEvent !== null) { - throw new IllegalStateException("Top event was already set") - } - add(event) - faultTree.topEvent = event - } - - protected def void add(RandomEvent event) { - if (faultTree.eContainer == faultTree) { - return - } - if (faultTree.eContainer !== null) { - throw new IllegalStateException("Event is already in a different fault tree") - } - faultTree.events += event - if (event instanceof Gate) { - addAll(event.inputEvents) - } - } - - protected def addAll(Collection events) { - for (event : events) { - add(event) - } - } -} diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/ComponentFaultTreeTrace.xtend b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/ComponentFaultTreeTrace.xtend deleted file mode 100644 index 10c91fb4..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/ComponentFaultTreeTrace.xtend +++ /dev/null @@ -1,49 +0,0 @@ -package hu.bme.mit.inf.dslreasoner.faulttree.transformation.ecore2cft - -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftFactory -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentDefinition -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Modality -import java.util.Map -import org.eclipse.viatra.query.runtime.api.IPatternMatch -import org.eclipse.xtend.lib.annotations.Accessors - -class ComponentFaultTreeTrace { - @Accessors val componentFaultTree = CftFactory.eINSTANCE.createComponentFaultTree - - val nameGenerator = new ComponentNameGenerator - val Map componentInstancesMap = newHashMap - - def instantiateComponent(IPatternMatch patternMatch, ComponentDefinition componenDefinition) { - instantiateComponent(patternMatch, componenDefinition, Modality.MUST, false) - } - - def instantiateComponent(IPatternMatch patternMatch, ComponentDefinition componenDefinition, Modality exists, - boolean allowMultiple) { - if (componentInstancesMap.containsKey(patternMatch)) { - throw new IllegalArgumentException("Already instantiated component for match: " + patternMatch) - } - val componentTrace = new ComponentInstanceTrace(componentFaultTree, componenDefinition, nameGenerator, - exists, allowMultiple) - componentInstancesMap.put(patternMatch, componentTrace) - componentTrace - } - - def setTopLevel(ComponentInstanceTrace trace) { - if (componentFaultTree.topEvent !== null) { - throw new IllegalArgumentException("Top level component already set") - } - val outputs = trace.outputs - if (outputs.size !== 1) { - throw new IllegalArgumentException("Top level component must have 1 output, got " + outputs.size + - " instead") - } - if (!trace.appearsExactlyOnce) { - throw new IllegalArgumentException("Top level must appear in the fault tree exactly once") - } - componentFaultTree.topEvent = outputs.head - } - - def lookup(IPatternMatch patternMatch) { - componentInstancesMap.get(patternMatch) - } -} diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/ComponentInstanceTrace.xtend b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/ComponentInstanceTrace.xtend deleted file mode 100644 index 158ab2e1..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/ComponentInstanceTrace.xtend +++ /dev/null @@ -1,65 +0,0 @@ -package hu.bme.mit.inf.dslreasoner.faulttree.transformation.ecore2cft - -import com.google.common.collect.Maps -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftFactory -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentDefinition -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentFaultTree -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.EventDeclaration -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.InputEvent -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Modality -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Output -import java.util.Map - -import static extension hu.bme.mit.inf.dslreasoner.faulttree.model.util.CftExtensions.* - -class ComponentInstanceTrace { - val componentInstance = CftFactory.eINSTANCE.createComponent - val Map inputEventsMap - val Map outputEventsMap - - protected new(ComponentFaultTree faultTree, ComponentDefinition componentDefinition, - ComponentNameGenerator nameGenerator, Modality exists, boolean multipleAllowed) { - componentInstance.componentDefinition = componentDefinition - componentInstance.name = nameGenerator.nextName(componentDefinition) - componentInstance.exists = exists - componentInstance.multipleAllowed = multipleAllowed - inputEventsMap = Maps.newHashMapWithExpectedSize(componentDefinition.inputEvents.size) - for (inputEvent : componentDefinition.inputEvents) { - val inputTrace = new InputTrace(componentInstance, inputEvent) - inputEventsMap.put(inputEvent, inputTrace) - } - outputEventsMap = Maps.newHashMapWithExpectedSize(componentDefinition.outputEvents.size) - for (outputEvent : componentDefinition.outputEvents) { - val output = CftFactory.eINSTANCE.createOutput - output.eventDeclaration = outputEvent - componentInstance.outputs += output - outputEventsMap.put(outputEvent, output) - } - faultTree.components += componentInstance - } - - def void assign(EventDeclaration inputEvent, ComponentInstanceTrace sourceComponent, EventDeclaration outputEvent) { - assign(inputEvent, sourceComponent, outputEvent, Modality.MUST) - } - - def void assign(EventDeclaration inputEvent, ComponentInstanceTrace sourceComponent, EventDeclaration outputEvent, - Modality exists) { - val inputTrace = inputEventsMap.get(inputEvent) - if (inputTrace === null) { - throw new IllegalArgumentException("Unknown input: " + inputEvent) - } - val output = sourceComponent.outputEventsMap.get(outputEvent) - if (output === null) { - throw new IllegalArgumentException("Unknown output: " + outputEvent) - } - inputTrace.assign(output, exists) - } - - protected def getOutputs() { - componentInstance.outputs - } - - protected def appearsExactlyOnce() { - componentInstance.appearsExactlyOnce - } -} diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/ComponentNameGenerator.xtend b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/ComponentNameGenerator.xtend deleted file mode 100644 index 71d40a9b..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/ComponentNameGenerator.xtend +++ /dev/null @@ -1,16 +0,0 @@ -package hu.bme.mit.inf.dslreasoner.faulttree.transformation.ecore2cft - -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentDefinition -import java.util.Map - -class ComponentNameGenerator { - static val DEFAULT_NAME = "__unnamed" - - val Map instanceCounts = newHashMap - - def nextName(ComponentDefinition componentDefinition) { - val instanceCount = instanceCounts.getOrDefault(componentDefinition, 0) - instanceCounts.put(componentDefinition, instanceCount + 1) - (componentDefinition.name ?: DEFAULT_NAME) + instanceCount - } -} diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/Ecore2CftTransformation.xtend b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/Ecore2CftTransformation.xtend deleted file mode 100644 index 062de3df..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/Ecore2CftTransformation.xtend +++ /dev/null @@ -1,28 +0,0 @@ -package hu.bme.mit.inf.dslreasoner.faulttree.transformation.ecore2cft - -import com.google.common.collect.ImmutableList -import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.TransformationDefinition -import java.util.List -import org.eclipse.viatra.query.runtime.api.ViatraQueryEngine - -class Ecore2CftTransformation { - val List mappingHandlers - - new(TransformationDefinition transformationDefinition, ViatraQueryEngine viatraQueryEngine) { - val mappingQueries = new MappingQueries(transformationDefinition, viatraQueryEngine) - mappingHandlers = ImmutableList.copyOf(transformationDefinition.mappingDefinitions.map [ mappingDefinition | - new MappingHandler(mappingDefinition, mappingQueries) - ]) - } - - def createComponentFaultTree() { - val trace = new ComponentFaultTreeTrace - for (handler : mappingHandlers) { - handler.instantiateComponents(trace) - } - for (handler : mappingHandlers) { - handler.instantiateConnections(trace) - } - trace.componentFaultTree - } -} diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/InputTrace.xtend b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/InputTrace.xtend deleted file mode 100644 index b892eff1..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/InputTrace.xtend +++ /dev/null @@ -1,35 +0,0 @@ -package hu.bme.mit.inf.dslreasoner.faulttree.transformation.ecore2cft - -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftFactory -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Component -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Connection -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Input -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.InputEvent -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Modality -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Output -import java.util.Map - -import static extension hu.bme.mit.inf.dslreasoner.faulttree.model.util.CftExtensions.* - -class InputTrace { - val Input input = CftFactory.eINSTANCE.createInput - val Map connectionsMap = newHashMap - - protected new(Component component, InputEvent inputEvent) { - input.inputEvent = inputEvent - component.inputs += input - } - - def void assign(Output output, Modality exists) { - val connection = connectionsMap.get(output) - if (connection === null) { - val newConnection = CftFactory.eINSTANCE.createConnection - newConnection.output = output - newConnection.exists = exists - input.incomingConnections += newConnection - connectionsMap.put(output, newConnection) - } else if (exists.isMoreConcreteThan(connection.exists)) { - connection.exists = exists - } - } -} diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/LookupHandler.xtend b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/LookupHandler.xtend deleted file mode 100644 index 3a06dcc3..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/LookupHandler.xtend +++ /dev/null @@ -1,47 +0,0 @@ -package hu.bme.mit.inf.dslreasoner.faulttree.transformation.ecore2cft - -import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.LookupDefinition -import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingDefinition -import org.eclipse.viatra.query.runtime.api.IPatternMatch -import org.eclipse.viatra.query.runtime.api.ViatraQueryMatcher - -class LookupHandler { - val int[] argumentIndices - val ViatraQueryMatcher lookedUpMatcher - - new(MappingDefinition mappingDefinition, LookupDefinition lookupDefinition, - ViatraQueryMatcher lookedUpMatcher) { - if (lookupDefinition.eContainer != mappingDefinition) { - throw new IllegalArgumentException("lookupDefinition must be contained in mappingDefinition") - } - val argumentCount = lookupDefinition.arguments.size - if (argumentCount != lookedUpMatcher.parameterNames.length) { - throw new IllegalArgumentException( - "lookupDefinition (name: " + lookupDefinition.mapping?.pattern?.name + - ") must have as many arguments as lookedUpMatcher (name: " + lookedUpMatcher.patternName + ")") - } - argumentIndices = newIntArrayOfSize(argumentCount) - for (var int i = 0; i < argumentCount; i++) { - val argument = lookupDefinition.arguments.get(i) - val argumentIndex = mappingDefinition.parameters.indexOf(argument) - argumentIndices.set(i, argumentIndex) - } - this.lookedUpMatcher = lookedUpMatcher - } - - def lookupForMatch(ComponentFaultTreeTrace faultTreeTrace, IPatternMatch match) { - val lookedUpMatch = createLookedUpMatch(match) - faultTreeTrace.lookup(lookedUpMatch) - } - - private def createLookedUpMatch(IPatternMatch match) { - val lookedUpMatch = lookedUpMatcher.newEmptyMatch - val argumentCount = argumentIndices.length - for (var int i = 0; i < argumentCount; i++) { - val argumentIndex = argumentIndices.get(i) - var argumentValue = match.get(argumentIndex) - lookedUpMatch.set(i, argumentValue) - } - lookedUpMatch - } -} diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/MappingHandler.xtend b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/MappingHandler.xtend deleted file mode 100644 index 643af5c4..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/MappingHandler.xtend +++ /dev/null @@ -1,91 +0,0 @@ -package hu.bme.mit.inf.dslreasoner.faulttree.transformation.ecore2cft - -import com.google.common.collect.ImmutableMap -import com.google.common.collect.Maps -import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.LookupDefinition -import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingDefinition -import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.Variable -import java.util.Map -import org.eclipse.viatra.query.runtime.api.IPatternMatch -import org.eclipse.viatra.query.runtime.api.ViatraQueryMatcher - -class MappingHandler { - val ViatraQueryMatcher matcher - val MappingDefinition mappingDefinition - val Map lookupHandlers - - new(MappingDefinition mappingDefinition, MappingQueries mappingQueries) { - matcher = mappingQueries.getMatcher(mappingDefinition) - this.mappingDefinition = mappingDefinition - val variables = newHashSet - for (assignment : mappingDefinition.assignments) { - variables += assignment.input.component - variables += assignment.output.component - } - lookupHandlers = ImmutableMap.copyOf(variables.filter(LookupDefinition).toMap([it], [ lookupDefinition | - mappingQueries.createLookupHandler(mappingDefinition, lookupDefinition) - ])) - } - - def instantiateComponents(ComponentFaultTreeTrace faultTreeTrace) { - if (!hasComponentInstace) { - return - } - matcher.forEachMatch [ match | - val componentTrace = faultTreeTrace.instantiateComponent(match, componentDefinition) - if (isTopLevel) { - faultTreeTrace.topLevel = componentTrace - } - ] - } - - def instantiateConnections(ComponentFaultTreeTrace faultTreeTrace) { - if (!hasConnections) { - return - } - matcher.forEachMatch [ match | - val lookedUpComponents = lookupComponents(faultTreeTrace, match) - for (assignment : mappingDefinition.assignments) { - val input = assignment.input - val inputComponent = lookedUpComponents.get(input.component) - val output = assignment.output - val outputComponent = lookedUpComponents.get(output.component) - if (inputComponent !== null && outputComponent !== null) { - inputComponent.assign(input.event, outputComponent, output.event) - } - } - ] - } - - private def Map lookupComponents(ComponentFaultTreeTrace faultTreeTrace, - IPatternMatch match) { - val lookedUpComponents = Maps.newHashMapWithExpectedSize(lookupHandlers.size + 1) - if (hasComponentInstace) { - val componentInstance = faultTreeTrace.lookup(match) - lookedUpComponents.put(mappingDefinition.componentInstance, componentInstance) - } - for (pair : lookupHandlers.entrySet) { - val componentInstance = pair.value.lookupForMatch(faultTreeTrace, match) - if (componentInstance !== null) { - lookedUpComponents.put(pair.key, componentInstance) - } - } - lookedUpComponents - } - - private def getComponentDefinition() { - mappingDefinition.componentInstance?.componentType - } - - private def hasComponentInstace() { - componentDefinition !== null - } - - private def isTopLevel() { - mappingDefinition.topLevel - } - - private def hasConnections() { - !mappingDefinition.assignments.empty - } -} diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/MappingQueries.xtend b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/MappingQueries.xtend deleted file mode 100644 index 6683b3f8..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/MappingQueries.xtend +++ /dev/null @@ -1,38 +0,0 @@ -package hu.bme.mit.inf.dslreasoner.faulttree.transformation.ecore2cft - -import com.google.common.collect.ImmutableMap -import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.LookupDefinition -import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingDefinition -import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.TransformationDefinition -import java.util.Map -import org.eclipse.viatra.query.patternlanguage.emf.specification.SpecificationBuilder -import org.eclipse.viatra.query.runtime.api.GenericQueryGroup -import org.eclipse.viatra.query.runtime.api.IPatternMatch -import org.eclipse.viatra.query.runtime.api.ViatraQueryEngine -import org.eclipse.viatra.query.runtime.api.ViatraQueryMatcher - -class MappingQueries { - val Map> matchersMap - - new(TransformationDefinition transformationDefinition, ViatraQueryEngine viatraQueryEngine) { - val specificationBuilder = new SpecificationBuilder - val querySpecificationsMap = transformationDefinition.mappingDefinitions.toMap([it], [ - specificationBuilder.getOrCreateSpecification(pattern) - ]) - GenericQueryGroup.of(querySpecificationsMap.values).prepare(viatraQueryEngine) - matchersMap = ImmutableMap.copyOf(querySpecificationsMap.mapValues[getMatcher(viatraQueryEngine)]) - } - - def getMatcher(MappingDefinition mappingDefinition) { - val matcher = matchersMap.get(mappingDefinition) - if (matcher === null) { - throw new IllegalArgumentException("Unknown mapping definition: " + mappingDefinition) - } - matcher - } - - def createLookupHandler(MappingDefinition mappingDefinition, LookupDefinition lookupDefinition) { - val lookedUpMatcher = getMatcher(lookupDefinition.mapping) - new LookupHandler(mappingDefinition, lookupDefinition, lookedUpMatcher) - } -} diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ft2galileo/Ft2GalileoTransformation.xtend b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ft2galileo/Ft2GalileoTransformation.xtend deleted file mode 100644 index 4a19e2cd..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ft2galileo/Ft2GalileoTransformation.xtend +++ /dev/null @@ -1,57 +0,0 @@ -package hu.bme.mit.inf.dslreasoner.faulttree.transformation.ft2galileo - -import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.AndGate -import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.BasicEvent -import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ConstantDistribution -import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.Distribution -import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ExponentialDistribution -import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FaultTree -import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.Gate -import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.KOfMGate -import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.OrGate -import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.RandomEvent -import org.eclipse.xtend2.lib.StringConcatenationClient - -class Ft2GalileoTransformation { - def toGalileo(FaultTree faultTree) ''' - toplevel "«faultTree.topEvent.name»"; - «FOR event : faultTree.events» - "«event.name»" «defineEvent(event)»; - «ENDFOR» - ''' - - protected dispatch def defineEvent(BasicEvent basicEvent) { - // ft-diet (https://moves.rwth-aachen.de/ft-diet/) needs a dormancy factor. - '''«defineDistribution(basicEvent.distribution)» dorm=0.0''' - } - - protected dispatch def StringConcatenationClient defineDistribution(ConstantDistribution distribution) { - '''p=«distribution.p»''' - } - - protected dispatch def StringConcatenationClient defineDistribution(ExponentialDistribution distribution) { - '''lambda=«distribution.lambda»''' - } - - protected dispatch def StringConcatenationClient defineDistribution(Distribution distribution) { - throw new IllegalArgumentException("Unknown distribution: " + distribution) - } - - protected dispatch def StringConcatenationClient defineEvent(Gate gate) { - '''«defineGate(gate)» «FOR input : gate.inputEvents SEPARATOR " "»"«input.name»"«ENDFOR»''' - } - - protected dispatch def StringConcatenationClient defineGate(AndGate gate) '''and''' - - protected dispatch def StringConcatenationClient defineGate(OrGate gate) '''or''' - - protected dispatch def StringConcatenationClient defineGate(KOfMGate gate) '''«gate.k»of«gate.inputEvents.size»''' - - protected dispatch def StringConcatenationClient defineGate(Gate gate) { - throw new IllegalArgumentException("Unknown gate: " + gate) - } - - protected dispatch def StringConcatenationClient defineEvent(RandomEvent randomEvent) { - throw new IllegalArgumentException("Unknown random even: " + randomEvent) - } -} diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/ReliabilityResult.xtend b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/ReliabilityResult.xtend deleted file mode 100644 index 19c3d17d..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/ReliabilityResult.xtend +++ /dev/null @@ -1,51 +0,0 @@ -package hu.bme.mit.inf.dslreasoner.faulttree.transformation.solver - -import org.eclipse.xtend.lib.annotations.Data -import org.eclipse.xtend.lib.annotations.FinalFieldsConstructor - -abstract class ReliabilityResult { - public static val TIMEOUT = new Unknown("Solver timed out") - public static val MEMOUT = new Unknown("Solver out of memory") - - abstract def Solution getOrThrow() - - @Data - static final class Solution extends ReliabilityResult { - val double lowerBound - val double upperBound - - new(double value) { - this(value, value) - } - - new(double lowerBound, double upperBound) { - if (lowerBound > upperBound) { - throw new IllegalArgumentException("lowerBound must not be larger than upperBound") - } - this.lowerBound = lowerBound - this.upperBound = upperBound - } - - override getOrThrow() { - this - } - } - - @Data - static final class Unknown extends ReliabilityResult { - val String message - val Throwable cause - - @FinalFieldsConstructor - new() { - } - - new(String message) { - this(message, null) - } - - override getOrThrow() { - throw new RuntimeException(message, cause) - } - } -} diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/StormDftConfiguration.xtend b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/StormDftConfiguration.xtend deleted file mode 100644 index d9059bfc..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/StormDftConfiguration.xtend +++ /dev/null @@ -1,45 +0,0 @@ -package hu.bme.mit.inf.dslreasoner.faulttree.transformation.solver - -import hu.bme.mit.inf.dslreasoner.logic.model.builder.SolverConfiguration - -final class StormDftConfiguration extends SolverConfiguration { - public static val DEFAULT_SOLVER_PATH = "storm-dft" - - public double precision = 1e-6 - - public boolean bisimulation = true - - public boolean symmetryReduction = true - - public boolean modularization = true - - public boolean dontCarePropagation = true - - public double approximation = 0 - - public var approximationHeuristic = ApproximationHeuristic.NONE - - public FtAnalysisObjective objective - - def isApproximationInUse() { - approximationHeuristic != ApproximationHeuristic.NONE - } -} - -abstract class FtAnalysisObjective { - public static val MTTF = new FtAnalysisObjective { - } - - private new() { - } - - static final class TimeBound extends FtAnalysisObjective { - public double timeBound = 0 - } -} - -enum ApproximationHeuristic { - NONE, - DEPTH -// See https://github.com/moves-rwth/storm/issues/35 for additional approximation heuristics. -} diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/StormDftHandler.xtend b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/StormDftHandler.xtend deleted file mode 100644 index a250a955..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/StormDftHandler.xtend +++ /dev/null @@ -1,182 +0,0 @@ -package hu.bme.mit.inf.dslreasoner.faulttree.transformation.solver - -import com.google.common.collect.ImmutableList -import hu.bme.mit.inf.dslreasoner.logic.model.builder.DocumentationLevel -import hu.bme.mit.inf.dslreasoner.logic.model.builder.SolverConfiguration -import java.io.BufferedReader -import java.io.IOException -import java.io.InputStream -import java.io.InputStreamReader -import java.util.regex.Pattern - -class StormDftException extends RuntimeException { - new(String s) { - super(s) - } - - new(String s, Exception e) { - super(s, e) - } -} - -class StormDftHandler { - static val DOUBLE_REGEX = "[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?" - static val SINGLE_RESULT_GROUP = "single" - static val LOWER_BOUND_GROUP = "lower" - static val UPPER_BOUND_GROUP = "upper" - static val RESULT_REGEX = '''^Result:\s*\[(?:(?<«SINGLE_RESULT_GROUP»>«DOUBLE_REGEX»)|\((?<«LOWER_BOUND_GROUP»>«DOUBLE_REGEX»),\s*(?<«UPPER_BOUND_GROUP»>«DOUBLE_REGEX»)\))\]''' - static val RESULT_PATTERN = Pattern.compile(RESULT_REGEX) - - static val SIGNAL_EXIT_VALUE_OFFSET = 0x80 - static val SIGXCPU = 24 - static val SIGXFSZ = 25 - - static val STORM_GENERAL_ERROR = (-1).bitwiseAnd(0xff) - static val STORM_TIMEOUT = (-2).bitwiseAnd(0xff) - static val STORM_MEMOUT = (-3).bitwiseAnd(0xff) - - def callSolver(String dftFilePath, StormDftConfiguration configuration) { - val commandLine = configuration.toCommandLine(dftFilePath) - val documentationLevel = configuration.documentationLevel - val printOutput = documentationLevel == DocumentationLevel.NORMAL || - documentationLevel == DocumentationLevel.FULL - val processBuilder = new ProcessBuilder().command(commandLine) - var Process process = null - try { - try { - process = processBuilder.start - process.outputStream.close - val result = readOutput(process.inputStream, printOutput) - val error = readError(process.errorStream, printOutput) - val exitValue = process.waitFor - if (result === null) { - interpretExitStatus(exitValue, error) - } else { - result - } - } catch (IOException e) { - throw new StormDftException("Error during input/output handling of the stochastic solver.", e) - } - } catch (Exception e) { - if (process !== null) { - process.destroyForcibly.waitFor - } - throw e - } - } - - private def toCommandLine(extension StormDftConfiguration configuration, String dftFilePath) { - extension val optionsBuilder = ImmutableList.builder - add(solverPath ?: StormDftConfiguration.DEFAULT_SOLVER_PATH) - if (runtimeLimit != SolverConfiguration.Unlimited) { - add("--timeout", runtimeLimit.toString) - } - add("--precision", precision.toString) - if (bisimulation) { - add("--bisimulation") - } - if (symmetryReduction) { - add("--symmetryreduction") - } - if (modularization) { - add("--modularisation") - } - if (!dontCarePropagation) { - add("--disabledc") - } - if (approximationInUse) { - val heuristicName = switch (approximationHeuristic) { - case DEPTH: - "depth" - default: - throw new IllegalArgumentException("Unknown approximation heuristic: " + approximationHeuristic) - } - add("--approximation", approximation.toString, "--approximationheuristic", heuristicName) - } - add("--dftfile", dftFilePath) - switch (objective) { - case FtAnalysisObjective.MTTF: - add("--expectedtime") - FtAnalysisObjective.TimeBound: - add("--timebound") - default: - throw new IllegalArgumentException("Unknown analysis objective: " + objective) - } - if (documentationLevel == DocumentationLevel.FULL) { - add("--verbose") - } - build - } - - private def readOutput(InputStream inputStream, boolean printOutput) { - val bufferedReader = new BufferedReader(new InputStreamReader(inputStream)) - try { - var String line - while ((line = bufferedReader.readLine) !== null) { - if (printOutput) { - println(line) - } - val matcher = RESULT_PATTERN.matcher(line) - if (matcher.find) { - try { - val single = matcher.group(SINGLE_RESULT_GROUP) - if (single !== null) { - val singleValue = Double.parseDouble(single) - return new ReliabilityResult.Solution(singleValue) - } - val lower = matcher.group(LOWER_BOUND_GROUP) - val upper = matcher.group(UPPER_BOUND_GROUP) - if (lower !== null && upper !== null) { - val lowerValue = Double.parseDouble(lower) - val upperValue = Double.parseDouble(upper) - return new ReliabilityResult.Solution(lowerValue, upperValue) - } - throw new StormDftException("Inconsistent stochastic solver output: " + line) - } catch (NumberFormatException e) { - throw new StormDftException("Malformatted number from stochastic solver.", e) - } - } - } - } finally { - bufferedReader.close - } - null - } - - private def readError(InputStream inputStream, boolean printOutput) { - val bufferedReader = new BufferedReader(new InputStreamReader(inputStream)) - try { - val lines = newArrayList - var String line - while ((line = bufferedReader.readLine) !== null) { - if (printOutput) { - System.err.println(line) - } - lines += line - } - lines.join("\n") - } finally { - bufferedReader.close - } - } - - private def interpretExitStatus(int exitValue, String error) { - switch (exitValue) { - case STORM_GENERAL_ERROR: - throw new StormDftException("Storm error: " + error) - case STORM_TIMEOUT, - case SIGNAL_EXIT_VALUE_OFFSET + SIGXCPU: - ReliabilityResult.TIMEOUT - case STORM_MEMOUT, - case SIGNAL_EXIT_VALUE_OFFSET + SIGXFSZ: - ReliabilityResult.MEMOUT - default: { - if (exitValue > SIGNAL_EXIT_VALUE_OFFSET) { - val signalNumber = exitValue - SIGNAL_EXIT_VALUE_OFFSET - throw new StormDftException("Storm unexpectedly killed by signal " + signalNumber + ": " + error) - } - throw new StormDftException("Storm unexpectedly exit with status " + exitValue + ": " + error) - } - } - } -} diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/StormDftSolver.xtend b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/StormDftSolver.xtend deleted file mode 100644 index 931b9f39..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/src/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/StormDftSolver.xtend +++ /dev/null @@ -1,43 +0,0 @@ -package hu.bme.mit.inf.dslreasoner.faulttree.transformation.solver - -import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ConstantModel -import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FaultTree -import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ReliabilityModel -import hu.bme.mit.inf.dslreasoner.faulttree.transformation.ft2galileo.Ft2GalileoTransformation -import hu.bme.mit.inf.dslreasoner.workspace.ReasonerWorkspace - -class StormDftSolver { - static val DFT_FILE_NAME = "ft.dft" - - val ft2Galileo = new Ft2GalileoTransformation - val handler = new StormDftHandler - - def solve(ReliabilityModel reliabilityModel, StormDftConfiguration configuration, - ReasonerWorkspace reasonerWorkspace) { - switch (reliabilityModel) { - FaultTree: - solve(reliabilityModel, configuration, reasonerWorkspace) - ConstantModel: { - val result = if (reliabilityModel.failed) { - 0 - } else { - switch (objective : configuration.objective) { - case FtAnalysisObjective.MTTF: Double.POSITIVE_INFINITY - FtAnalysisObjective.TimeBound: 1 - default: throw new IllegalArgumentException("Unknown objective: " + objective) - } - } - new ReliabilityResult.Solution(result) - } - default: - throw new IllegalArgumentException("Unknown reliability model: " + reliabilityModel) - } - } - - def solve(FaultTree faultTree, StormDftConfiguration configuration, ReasonerWorkspace reasonerWorkspace) { - val galileo = ft2Galileo.toGalileo(faultTree) - reasonerWorkspace.writeText(DFT_FILE_NAME, galileo) - val dftFilePath = reasonerWorkspace.getFile(DFT_FILE_NAME).absolutePath - handler.callSolver(dftFilePath, configuration) - } -} diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/.gitignore b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/.gitignore deleted file mode 100644 index 49df59a2..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/.gitignore +++ /dev/null @@ -1,8 +0,0 @@ -/.CftTransformation.java._trace -/.ComponentFaultTreeTrace.java._trace -/.ComponentInstanceTrace.java._trace -/.InputTrace.java._trace -/.MappingHandler.java._trace -/.ComponentInstantiationHandler.java._trace -/.MappingQueries.java._trace -/.LookupHandler.java._trace diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/.Cft2FtTransformation.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/.Cft2FtTransformation.xtendbin deleted file mode 100644 index dfae40e9..00000000 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/.Cft2FtTransformation.xtendbin and /dev/null differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/.EventCollection.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/.EventCollection.xtendbin deleted file mode 100644 index 0aaf712d..00000000 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/.EventCollection.xtendbin and /dev/null differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/.EventMaterializer.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/.EventMaterializer.xtendbin deleted file mode 100644 index e51f73a6..00000000 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/.EventMaterializer.xtendbin and /dev/null differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/.FaultTreeBuilder.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/.FaultTreeBuilder.xtendbin deleted file mode 100644 index 89e003dc..00000000 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/.FaultTreeBuilder.xtendbin and /dev/null differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/.gitignore b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/.gitignore deleted file mode 100644 index 058cff19..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/.gitignore +++ /dev/null @@ -1,16 +0,0 @@ -/.Cft2FtTransformation.java._trace -/.EventMaterializer.java._trace -/.MaterializedEvent.java._trace -/.CollectedInputs.java._trace -/.MaterializedEventCollection.java._trace -/.FaultTreeBuilder.java._trace -/.FaultModelBuilder.java._trace -/.EventCollection.java._trace -/.Cft2FtTransformation.xtendbin -/.EventCollection.xtendbin -/.EventMaterializer.xtendbin -/.FaultTreeBuilder.xtendbin -/Cft2FtTransformation.java -/EventCollection.java -/EventMaterializer.java -/FaultTreeBuilder.java diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/Cft2FtTransformation.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/Cft2FtTransformation.java deleted file mode 100644 index e87b8865..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/Cft2FtTransformation.java +++ /dev/null @@ -1,49 +0,0 @@ -package hu.bme.mit.inf.dslreasoner.faulttree.transformation.cft2ft; - -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentFaultTree; -import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ConstantEvent; -import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ConstantModel; -import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.Event; -import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FaultTree; -import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtFactory; -import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.RandomEvent; -import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ReliabilityModel; -import hu.bme.mit.inf.dslreasoner.faulttree.transformation.cft2ft.EventMaterializer; -import hu.bme.mit.inf.dslreasoner.faulttree.transformation.cft2ft.FaultTreeBuilder; -import org.eclipse.xtext.xbase.lib.ObjectExtensions; -import org.eclipse.xtext.xbase.lib.Procedures.Procedure1; - -@SuppressWarnings("all") -public class Cft2FtTransformation { - public ReliabilityModel createFaultTree(final ComponentFaultTree componentFaultTree) { - ReliabilityModel _xblockexpression = null; - { - final EventMaterializer materializer = new EventMaterializer(); - final Event topEvent = materializer.getOrMaterialize(componentFaultTree.getTopEvent()); - ReliabilityModel _switchResult = null; - boolean _matched = false; - if (topEvent instanceof ConstantEvent) { - _matched=true; - ConstantModel _createConstantModel = FtFactory.eINSTANCE.createConstantModel(); - final Procedure1 _function = (ConstantModel it) -> { - it.setFailed(((ConstantEvent)topEvent).isFailed()); - }; - _switchResult = ObjectExtensions.operator_doubleArrow(_createConstantModel, _function); - } - if (!_matched) { - if (topEvent instanceof RandomEvent) { - _matched=true; - FaultTree _xblockexpression_1 = null; - { - final FaultTreeBuilder builder = new FaultTreeBuilder(); - builder.addTopLevel(((RandomEvent)topEvent)); - _xblockexpression_1 = builder.getFaultTree(); - } - _switchResult = _xblockexpression_1; - } - } - _xblockexpression = _switchResult; - } - return _xblockexpression; - } -} diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/EventCollection.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/EventCollection.java deleted file mode 100644 index dceef9f8..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/EventCollection.java +++ /dev/null @@ -1,188 +0,0 @@ -package hu.bme.mit.inf.dslreasoner.faulttree.transformation.cft2ft; - -import com.google.common.collect.ImmutableSet; -import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ConstantEvent; -import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.Event; -import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.RandomEvent; -import java.util.Set; -import org.eclipse.xtend.lib.annotations.Data; -import org.eclipse.xtext.xbase.lib.IterableExtensions; -import org.eclipse.xtext.xbase.lib.Pure; -import org.eclipse.xtext.xbase.lib.util.ToStringBuilder; - -@Data -@SuppressWarnings("all") -public class EventCollection { - public static class Builder { - private int falseEventCount = 0; - - private int trueEventCount = 0; - - private final ImmutableSet.Builder randomEventsBuilder = ImmutableSet.builder(); - - private Builder() { - } - - public EventCollection.Builder add(final Event event) { - EventCollection.Builder _xblockexpression = null; - { - boolean _matched = false; - if (event instanceof ConstantEvent) { - _matched=true; - boolean _isFailed = ((ConstantEvent)event).isFailed(); - if (_isFailed) { - this.trueEventCount++; - } else { - this.falseEventCount++; - } - } - if (!_matched) { - if (event instanceof RandomEvent) { - _matched=true; - this.randomEventsBuilder.add(((RandomEvent)event)); - } - } - if (!_matched) { - throw new IllegalArgumentException(("Unknown event: " + event)); - } - _xblockexpression = this; - } - return _xblockexpression; - } - - public EventCollection.Builder addAll(final EventCollection materializedEvens) { - EventCollection.Builder _xblockexpression = null; - { - int _falseEventCount = this.falseEventCount; - this.falseEventCount = (_falseEventCount + materializedEvens.falseEventCount); - int _trueEventCount = this.trueEventCount; - this.trueEventCount = (_trueEventCount + materializedEvens.trueEventCount); - this.randomEventsBuilder.addAll(materializedEvens.randomEvents); - _xblockexpression = this; - } - return _xblockexpression; - } - - public EventCollection build() { - ImmutableSet _build = this.randomEventsBuilder.build(); - return new EventCollection(this.falseEventCount, this.trueEventCount, _build); - } - } - - private final int falseEventCount; - - private final int trueEventCount; - - private final Set randomEvents; - - public boolean containsFalseEvent() { - return (this.falseEventCount >= 1); - } - - public boolean containsTrueEvent() { - return (this.trueEventCount >= 1); - } - - public int getVariableEventCount() { - return this.randomEvents.size(); - } - - public boolean containsRandomEvent() { - int _variableEventCount = this.getVariableEventCount(); - return (_variableEventCount >= 1); - } - - public int getCount() { - int _variableEventCount = this.getVariableEventCount(); - return ((this.falseEventCount + this.trueEventCount) + _variableEventCount); - } - - public boolean isEmpty() { - return (((!this.containsFalseEvent()) && (!this.containsTrueEvent())) && (!this.containsRandomEvent())); - } - - public boolean containsExactlyOneRandomEvent() { - return (((!this.containsFalseEvent()) && (!this.containsTrueEvent())) && (this.getVariableEventCount() == 1)); - } - - public RandomEvent toSingleRandomEvent() { - RandomEvent _xblockexpression = null; - { - boolean _containsExactlyOneRandomEvent = this.containsExactlyOneRandomEvent(); - boolean _not = (!_containsExactlyOneRandomEvent); - if (_not) { - throw new IllegalStateException("Input collection is not a single random event"); - } - _xblockexpression = IterableExtensions.head(this.randomEvents); - } - return _xblockexpression; - } - - public static EventCollection.Builder builder() { - return new EventCollection.Builder(); - } - - public EventCollection(final int falseEventCount, final int trueEventCount, final Set randomEvents) { - super(); - this.falseEventCount = falseEventCount; - this.trueEventCount = trueEventCount; - this.randomEvents = randomEvents; - } - - @Override - @Pure - public int hashCode() { - final int prime = 31; - int result = 1; - result = prime * result + this.falseEventCount; - result = prime * result + this.trueEventCount; - return prime * result + ((this.randomEvents== null) ? 0 : this.randomEvents.hashCode()); - } - - @Override - @Pure - public boolean equals(final Object obj) { - if (this == obj) - return true; - if (obj == null) - return false; - if (getClass() != obj.getClass()) - return false; - EventCollection other = (EventCollection) obj; - if (other.falseEventCount != this.falseEventCount) - return false; - if (other.trueEventCount != this.trueEventCount) - return false; - if (this.randomEvents == null) { - if (other.randomEvents != null) - return false; - } else if (!this.randomEvents.equals(other.randomEvents)) - return false; - return true; - } - - @Override - @Pure - public String toString() { - ToStringBuilder b = new ToStringBuilder(this); - b.add("falseEventCount", this.falseEventCount); - b.add("trueEventCount", this.trueEventCount); - b.add("randomEvents", this.randomEvents); - return b.toString(); - } - - @Pure - public int getFalseEventCount() { - return this.falseEventCount; - } - - @Pure - public int getTrueEventCount() { - return this.trueEventCount; - } - - @Pure - public Set getRandomEvents() { - return this.randomEvents; - } -} diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/EventMaterializer.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/EventMaterializer.java deleted file mode 100644 index 98a82b7d..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/EventMaterializer.java +++ /dev/null @@ -1,469 +0,0 @@ -package hu.bme.mit.inf.dslreasoner.faulttree.transformation.cft2ft; - -import com.google.common.base.Objects; -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.AndGateDefinition; -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.BasicEventDefinition; -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Component; -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Connection; -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.EventDeclaration; -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.GateDefinition; -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Input; -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.InputEvent; -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.KOfMGateDefinition; -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.OrGateDefinition; -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Output; -import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.AndGate; -import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.BasicEvent; -import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ConstantEvent; -import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.Distribution; -import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.Event; -import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtFactory; -import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.Gate; -import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.KOfMGate; -import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.OrGate; -import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.RandomEvent; -import hu.bme.mit.inf.dslreasoner.faulttree.model.util.CftExtensions; -import hu.bme.mit.inf.dslreasoner.faulttree.transformation.cft2ft.EventCollection; -import java.util.LinkedHashSet; -import java.util.Map; -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.ecore.util.EcoreUtil; -import org.eclipse.xtend.lib.annotations.Data; -import org.eclipse.xtend2.lib.StringConcatenation; -import org.eclipse.xtext.xbase.lib.CollectionLiterals; -import org.eclipse.xtext.xbase.lib.Extension; -import org.eclipse.xtext.xbase.lib.Functions.Function1; -import org.eclipse.xtext.xbase.lib.IterableExtensions; -import org.eclipse.xtext.xbase.lib.ObjectExtensions; -import org.eclipse.xtext.xbase.lib.Procedures.Procedure1; -import org.eclipse.xtext.xbase.lib.Pure; - -@SuppressWarnings("all") -public class EventMaterializer { - @Data - protected static class EventKey { - private final Component component; - - private final T event; - - @Override - public String toString() { - StringConcatenation _builder = new StringConcatenation(); - String _name = this.component.getName(); - _builder.append(_name); - _builder.append("_"); - String _name_1 = this.event.getName(); - _builder.append(_name_1); - return _builder.toString(); - } - - public EventKey(final Component component, final T event) { - super(); - this.component = component; - this.event = event; - } - - @Override - @Pure - public int hashCode() { - final int prime = 31; - int result = 1; - result = prime * result + ((this.component== null) ? 0 : this.component.hashCode()); - return prime * result + ((this.event== null) ? 0 : this.event.hashCode()); - } - - @Override - @Pure - public boolean equals(final Object obj) { - if (this == obj) - return true; - if (obj == null) - return false; - if (getClass() != obj.getClass()) - return false; - EventMaterializer.EventKey other = (EventMaterializer.EventKey) obj; - if (this.component == null) { - if (other.component != null) - return false; - } else if (!this.component.equals(other.component)) - return false; - if (this.event == null) { - if (other.event != null) - return false; - } else if (!this.event.equals(other.event)) - return false; - return true; - } - - @Pure - public Component getComponent() { - return this.component; - } - - @Pure - public T getEvent() { - return this.event; - } - } - - @Extension - private final FtFactory _ftFactory = FtFactory.eINSTANCE; - - private final Map, Event> materializationCache = CollectionLiterals., Event>newHashMap(); - - private final Map, EventCollection> multipleInputCache = CollectionLiterals., EventCollection>newHashMap(); - - private final ConstantEvent falseEvent; - - private final ConstantEvent trueEvent; - - private final LinkedHashSet> path = new LinkedHashSet>(); - - public EventMaterializer() { - ConstantEvent _createConstantEvent = this._ftFactory.createConstantEvent(); - final Procedure1 _function = (ConstantEvent it) -> { - it.setFailed(false); - }; - ConstantEvent _doubleArrow = ObjectExtensions.operator_doubleArrow(_createConstantEvent, _function); - this.falseEvent = _doubleArrow; - ConstantEvent _createConstantEvent_1 = this._ftFactory.createConstantEvent(); - final Procedure1 _function_1 = (ConstantEvent it) -> { - it.setFailed(true); - }; - ConstantEvent _doubleArrow_1 = ObjectExtensions.operator_doubleArrow(_createConstantEvent_1, _function_1); - this.trueEvent = _doubleArrow_1; - } - - public Event getOrMaterialize(final Output output) { - return this.getOrMaterialize(output.getComponent(), output.getEventDeclaration()); - } - - public Event getOrMaterialize(final Component component, final EventDeclaration eventDeclaration) { - Event _xblockexpression = null; - { - final EventMaterializer.EventKey eventKey = new EventMaterializer.EventKey(component, eventDeclaration); - this.pushEventKey(eventKey); - Event _xtrycatchfinallyexpression = null; - try { - Event _xblockexpression_1 = null; - { - Event event = this.materializationCache.get(eventKey); - if ((event == null)) { - event = this.materialize(component, eventDeclaration); - this.materializationCache.put(eventKey, event); - } - _xblockexpression_1 = event; - } - _xtrycatchfinallyexpression = _xblockexpression_1; - } finally { - this.popEventKey(eventKey); - } - _xblockexpression = _xtrycatchfinallyexpression; - } - return _xblockexpression; - } - - protected Event materialize(final Component component, final EventDeclaration eventDeclaration) { - RandomEvent _xblockexpression = null; - { - String _name = component.getName(); - String _plus = (_name + "_"); - String _name_1 = eventDeclaration.getName(); - final String eventName = (_plus + _name_1); - RandomEvent _switchResult = null; - boolean _matched = false; - if (eventDeclaration instanceof InputEvent) { - _matched=true; - return this.materializeConnectedEvent(component, ((InputEvent)eventDeclaration)); - } - if (!_matched) { - if (eventDeclaration instanceof BasicEventDefinition) { - _matched=true; - BasicEvent _xblockexpression_1 = null; - { - final BasicEvent basicEvent = this._ftFactory.createBasicEvent(); - basicEvent.setDistribution(EcoreUtil.copy(((BasicEventDefinition)eventDeclaration).getDistribution())); - _xblockexpression_1 = basicEvent; - } - _switchResult = _xblockexpression_1; - } - } - if (!_matched) { - if (eventDeclaration instanceof GateDefinition) { - _matched=true; - Gate _xblockexpression_1 = null; - { - final EventCollection inputs = this.collectInputs(component, ((GateDefinition)eventDeclaration)); - Gate _switchResult_1 = null; - boolean _matched_1 = false; - if (eventDeclaration instanceof AndGateDefinition) { - _matched_1=true; - AndGate _xifexpression = null; - boolean _containsFalseEvent = inputs.containsFalseEvent(); - if (_containsFalseEvent) { - return this.falseEvent; - } else { - AndGate _xifexpression_1 = null; - boolean _isEmpty = inputs.isEmpty(); - if (_isEmpty) { - return this.trueEvent; - } else { - AndGate _xifexpression_2 = null; - boolean _containsExactlyOneRandomEvent = inputs.containsExactlyOneRandomEvent(); - if (_containsExactlyOneRandomEvent) { - return inputs.toSingleRandomEvent(); - } else { - _xifexpression_2 = this._ftFactory.createAndGate(); - } - _xifexpression_1 = _xifexpression_2; - } - _xifexpression = _xifexpression_1; - } - _switchResult_1 = _xifexpression; - } - if (!_matched_1) { - if (eventDeclaration instanceof OrGateDefinition) { - _matched_1=true; - OrGate _xifexpression = null; - boolean _containsTrueEvent = inputs.containsTrueEvent(); - if (_containsTrueEvent) { - return this.trueEvent; - } else { - OrGate _xifexpression_1 = null; - boolean _isEmpty = inputs.isEmpty(); - if (_isEmpty) { - return this.falseEvent; - } else { - OrGate _xifexpression_2 = null; - boolean _containsExactlyOneRandomEvent = inputs.containsExactlyOneRandomEvent(); - if (_containsExactlyOneRandomEvent) { - return inputs.toSingleRandomEvent(); - } else { - _xifexpression_2 = this._ftFactory.createOrGate(); - } - _xifexpression_1 = _xifexpression_2; - } - _xifexpression = _xifexpression_1; - } - _switchResult_1 = _xifexpression; - } - } - if (!_matched_1) { - if (eventDeclaration instanceof KOfMGateDefinition) { - _matched_1=true; - Gate _xblockexpression_2 = null; - { - int _count = inputs.getCount(); - int _k = ((KOfMGateDefinition)eventDeclaration).getK(); - int _multiply = (_count * _k); - int _m = ((KOfMGateDefinition)eventDeclaration).getM(); - final int requiredTrueInputs = (_multiply / _m); - int _trueEventCount = inputs.getTrueEventCount(); - final int k = (requiredTrueInputs - _trueEventCount); - final int m = inputs.getVariableEventCount(); - Gate _xifexpression = null; - if ((k == 0)) { - return this.trueEvent; - } else { - Gate _xifexpression_1 = null; - if ((k > m)) { - return this.falseEvent; - } else { - Gate _xifexpression_2 = null; - boolean _containsExactlyOneRandomEvent = inputs.containsExactlyOneRandomEvent(); - if (_containsExactlyOneRandomEvent) { - return inputs.toSingleRandomEvent(); - } else { - Gate _xifexpression_3 = null; - if ((k == 1)) { - _xifexpression_3 = this._ftFactory.createOrGate(); - } else { - Gate _xifexpression_4 = null; - if ((k == m)) { - _xifexpression_4 = this._ftFactory.createAndGate(); - } else { - KOfMGate _xblockexpression_3 = null; - { - final KOfMGate kOfMGate = this._ftFactory.createKOfMGate(); - kOfMGate.setK(k); - _xblockexpression_3 = kOfMGate; - } - _xifexpression_4 = _xblockexpression_3; - } - _xifexpression_3 = _xifexpression_4; - } - _xifexpression_2 = _xifexpression_3; - } - _xifexpression_1 = _xifexpression_2; - } - _xifexpression = _xifexpression_1; - } - _xblockexpression_2 = _xifexpression; - } - _switchResult_1 = _xblockexpression_2; - } - } - if (!_matched_1) { - throw new IllegalArgumentException(("Unknown gate definition: " + eventDeclaration)); - } - final Gate gate = _switchResult_1; - gate.getInputEvents().addAll(inputs.getRandomEvents()); - _xblockexpression_1 = gate; - } - _switchResult = _xblockexpression_1; - } - } - if (!_matched) { - throw new IllegalArgumentException(("Unknown event declaration: " + eventDeclaration)); - } - final RandomEvent event = _switchResult; - event.setName(eventName); - _xblockexpression = event; - } - return _xblockexpression; - } - - protected Event materializeConnectedEvent(final Component component, final InputEvent inputEvent) { - Event _xblockexpression = null; - { - boolean _isMultiple = inputEvent.isMultiple(); - if (_isMultiple) { - StringConcatenation _builder = new StringConcatenation(); - _builder.append("Cannot materialize multiple nput "); - String _name = component.getName(); - _builder.append(_name); - _builder.append("_"); - String _name_1 = inputEvent.getName(); - _builder.append(_name_1); - throw new IllegalArgumentException(_builder.toString()); - } - final Input input = this.findInput(component, inputEvent); - final EList incomingConnections = input.getIncomingConnections(); - int _size = incomingConnections.size(); - boolean _notEquals = (_size != 1); - if (_notEquals) { - StringConcatenation _builder_1 = new StringConcatenation(); - _builder_1.append("Input "); - String _name_2 = component.getName(); - _builder_1.append(_name_2); - _builder_1.append("_"); - String _name_3 = inputEvent.getName(); - _builder_1.append(_name_3); - _builder_1.append(" has "); - int _size_1 = incomingConnections.size(); - _builder_1.append(_size_1); - _builder_1.append(" connections instead of 1"); - throw new IllegalArgumentException(_builder_1.toString()); - } - final Output output = IterableExtensions.head(incomingConnections).getOutput(); - _xblockexpression = this.getOrMaterialize(output.getComponent(), output.getEventDeclaration()); - } - return _xblockexpression; - } - - protected EventCollection collectInputs(final Component component, final GateDefinition gateDefinition) { - EventCollection _xblockexpression = null; - { - final EventCollection.Builder builder = EventCollection.builder(); - EList _inputEvents = gateDefinition.getInputEvents(); - for (final EventDeclaration inputEventDeclaration : _inputEvents) { - boolean _matched = false; - if (inputEventDeclaration instanceof InputEvent) { - boolean _isMultiple = ((InputEvent)inputEventDeclaration).isMultiple(); - if (_isMultiple) { - _matched=true; - final EventCollection materializedEvents = this.getOrMaterializeConnectedEvents(component, ((InputEvent)inputEventDeclaration)); - builder.addAll(materializedEvents); - } - } - if (!_matched) { - builder.add(this.getOrMaterialize(component, inputEventDeclaration)); - } - } - _xblockexpression = builder.build(); - } - return _xblockexpression; - } - - protected EventCollection getOrMaterializeConnectedEvents(final Component component, final InputEvent inputEvent) { - EventCollection _xblockexpression = null; - { - final EventMaterializer.EventKey inputKey = new EventMaterializer.EventKey(component, inputEvent); - this.pushEventKey(inputKey); - EventCollection _xtrycatchfinallyexpression = null; - try { - EventCollection _xblockexpression_1 = null; - { - EventCollection eventCollection = this.multipleInputCache.get(inputKey); - if ((eventCollection == null)) { - eventCollection = this.materializeConnectedEvents(component, inputEvent); - this.multipleInputCache.put(inputKey, eventCollection); - } - _xblockexpression_1 = eventCollection; - } - _xtrycatchfinallyexpression = _xblockexpression_1; - } finally { - this.popEventKey(inputKey); - } - _xblockexpression = _xtrycatchfinallyexpression; - } - return _xblockexpression; - } - - protected EventCollection materializeConnectedEvents(final Component component, final InputEvent inputEvent) { - EventCollection _xblockexpression = null; - { - final Input input = this.findInput(component, inputEvent); - final EventCollection.Builder builder = EventCollection.builder(); - EList _incomingConnections = input.getIncomingConnections(); - for (final Connection connection : _incomingConnections) { - boolean _isCurrentlyConnected = CftExtensions.isCurrentlyConnected(connection); - if (_isCurrentlyConnected) { - final Event materializedEvent = this.getOrMaterialize(connection.getOutput()); - builder.add(materializedEvent); - } - } - _xblockexpression = builder.build(); - } - return _xblockexpression; - } - - protected Input findInput(final Component component, final InputEvent inputEvent) { - final Function1 _function = (Input it) -> { - InputEvent _inputEvent = it.getInputEvent(); - return Boolean.valueOf(Objects.equal(_inputEvent, inputEvent)); - }; - final Input input = IterableExtensions.findFirst(component.getInputs(), _function); - if ((input == null)) { - StringConcatenation _builder = new StringConcatenation(); - _builder.append("No input "); - _builder.append(inputEvent); - _builder.append(" in component "); - _builder.append(component); - throw new IllegalArgumentException(_builder.toString()); - } - return input; - } - - private void pushEventKey(final EventMaterializer.EventKey eventKey) { - boolean _add = this.path.add(eventKey); - boolean _not = (!_add); - if (_not) { - StringConcatenation _builder = new StringConcatenation(); - _builder.append("Circular dependency ["); - { - for(final EventMaterializer.EventKey ancestor : this.path) { - _builder.append(ancestor); - _builder.append(", "); - } - } - _builder.append(eventKey); - _builder.append("] detected"); - throw new IllegalStateException(_builder.toString()); - } - } - - private boolean popEventKey(final EventMaterializer.EventKey eventKey) { - return this.path.remove(eventKey); - } -} diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/FaultTreeBuilder.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/FaultTreeBuilder.java deleted file mode 100644 index 9b2dfd76..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/cft2ft/FaultTreeBuilder.java +++ /dev/null @@ -1,57 +0,0 @@ -package hu.bme.mit.inf.dslreasoner.faulttree.transformation.cft2ft; - -import com.google.common.base.Objects; -import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FaultTree; -import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FtFactory; -import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.Gate; -import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.RandomEvent; -import java.util.Collection; -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.xtend.lib.annotations.Accessors; -import org.eclipse.xtext.xbase.lib.Pure; - -@SuppressWarnings("all") -public class FaultTreeBuilder { - @Accessors - private final FaultTree faultTree = FtFactory.eINSTANCE.createFaultTree(); - - public void addTopLevel(final RandomEvent event) { - RandomEvent _topEvent = this.faultTree.getTopEvent(); - boolean _tripleNotEquals = (_topEvent != null); - if (_tripleNotEquals) { - throw new IllegalStateException("Top event was already set"); - } - this.add(event); - this.faultTree.setTopEvent(event); - } - - protected void add(final RandomEvent event) { - EObject _eContainer = this.faultTree.eContainer(); - boolean _equals = Objects.equal(_eContainer, this.faultTree); - if (_equals) { - return; - } - EObject _eContainer_1 = this.faultTree.eContainer(); - boolean _tripleNotEquals = (_eContainer_1 != null); - if (_tripleNotEquals) { - throw new IllegalStateException("Event is already in a different fault tree"); - } - EList _events = this.faultTree.getEvents(); - _events.add(event); - if ((event instanceof Gate)) { - this.addAll(((Gate)event).getInputEvents()); - } - } - - protected void addAll(final Collection events) { - for (final RandomEvent event : events) { - this.add(event); - } - } - - @Pure - public FaultTree getFaultTree() { - return this.faultTree; - } -} diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.ComponentFaultTreeTrace.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.ComponentFaultTreeTrace.xtendbin deleted file mode 100644 index 028440a8..00000000 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.ComponentFaultTreeTrace.xtendbin and /dev/null differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.ComponentInstanceTrace.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.ComponentInstanceTrace.xtendbin deleted file mode 100644 index d542ba2d..00000000 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.ComponentInstanceTrace.xtendbin and /dev/null differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.ComponentNameGenerator.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.ComponentNameGenerator.xtendbin deleted file mode 100644 index 949da0cd..00000000 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.ComponentNameGenerator.xtendbin and /dev/null differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.Ecore2CftTransformation.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.Ecore2CftTransformation.xtendbin deleted file mode 100644 index 82c045e2..00000000 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.Ecore2CftTransformation.xtendbin and /dev/null differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.InputTrace.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.InputTrace.xtendbin deleted file mode 100644 index ffd70c04..00000000 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.InputTrace.xtendbin and /dev/null differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.LookupHandler.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.LookupHandler.xtendbin deleted file mode 100644 index 418c71d4..00000000 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.LookupHandler.xtendbin and /dev/null differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.MappingHandler.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.MappingHandler.xtendbin deleted file mode 100644 index 86c0d704..00000000 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.MappingHandler.xtendbin and /dev/null differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.MappingQueries.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.MappingQueries.xtendbin deleted file mode 100644 index c9dda5c4..00000000 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.MappingQueries.xtendbin and /dev/null differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.gitignore b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.gitignore deleted file mode 100644 index 377aa872..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/.gitignore +++ /dev/null @@ -1,25 +0,0 @@ -/.ComponentFaultTreeTrace.java._trace -/.ComponentInstanceTrace.java._trace -/.InputTrace.java._trace -/.LookupHandler.java._trace -/.MappingHandler.java._trace -/.MappingQueries.java._trace -/.CftTransformation.java._trace -/.Ecore2CftTransformation.java._trace -/.ComponentNameGenerator.java._trace -/.ComponentFaultTreeTrace.xtendbin -/.ComponentInstanceTrace.xtendbin -/.ComponentNameGenerator.xtendbin -/.Ecore2CftTransformation.xtendbin -/.InputTrace.xtendbin -/.LookupHandler.xtendbin -/.MappingHandler.xtendbin -/.MappingQueries.xtendbin -/ComponentFaultTreeTrace.java -/ComponentInstanceTrace.java -/ComponentNameGenerator.java -/Ecore2CftTransformation.java -/InputTrace.java -/LookupHandler.java -/MappingHandler.java -/MappingQueries.java diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/ComponentFaultTreeTrace.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/ComponentFaultTreeTrace.java deleted file mode 100644 index ddcf9036..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/ComponentFaultTreeTrace.java +++ /dev/null @@ -1,77 +0,0 @@ -package hu.bme.mit.inf.dslreasoner.faulttree.transformation.ecore2cft; - -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftFactory; -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentDefinition; -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentFaultTree; -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Modality; -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Output; -import hu.bme.mit.inf.dslreasoner.faulttree.transformation.ecore2cft.ComponentInstanceTrace; -import hu.bme.mit.inf.dslreasoner.faulttree.transformation.ecore2cft.ComponentNameGenerator; -import java.util.Map; -import org.eclipse.emf.common.util.EList; -import org.eclipse.viatra.query.runtime.api.IPatternMatch; -import org.eclipse.xtend.lib.annotations.Accessors; -import org.eclipse.xtext.xbase.lib.CollectionLiterals; -import org.eclipse.xtext.xbase.lib.IterableExtensions; -import org.eclipse.xtext.xbase.lib.Pure; - -@SuppressWarnings("all") -public class ComponentFaultTreeTrace { - @Accessors - private final ComponentFaultTree componentFaultTree = CftFactory.eINSTANCE.createComponentFaultTree(); - - private final ComponentNameGenerator nameGenerator = new ComponentNameGenerator(); - - private final Map componentInstancesMap = CollectionLiterals.newHashMap(); - - public ComponentInstanceTrace instantiateComponent(final IPatternMatch patternMatch, final ComponentDefinition componenDefinition) { - return this.instantiateComponent(patternMatch, componenDefinition, Modality.MUST, false); - } - - public ComponentInstanceTrace instantiateComponent(final IPatternMatch patternMatch, final ComponentDefinition componenDefinition, final Modality exists, final boolean allowMultiple) { - ComponentInstanceTrace _xblockexpression = null; - { - boolean _containsKey = this.componentInstancesMap.containsKey(patternMatch); - if (_containsKey) { - throw new IllegalArgumentException(("Already instantiated component for match: " + patternMatch)); - } - final ComponentInstanceTrace componentTrace = new ComponentInstanceTrace(this.componentFaultTree, componenDefinition, this.nameGenerator, exists, allowMultiple); - this.componentInstancesMap.put(patternMatch, componentTrace); - _xblockexpression = componentTrace; - } - return _xblockexpression; - } - - public void setTopLevel(final ComponentInstanceTrace trace) { - Output _topEvent = this.componentFaultTree.getTopEvent(); - boolean _tripleNotEquals = (_topEvent != null); - if (_tripleNotEquals) { - throw new IllegalArgumentException("Top level component already set"); - } - final EList outputs = trace.getOutputs(); - int _size = outputs.size(); - boolean _tripleNotEquals_1 = (_size != 1); - if (_tripleNotEquals_1) { - int _size_1 = outputs.size(); - String _plus = ("Top level component must have 1 output, got " + Integer.valueOf(_size_1)); - String _plus_1 = (_plus + - " instead"); - throw new IllegalArgumentException(_plus_1); - } - boolean _appearsExactlyOnce = trace.appearsExactlyOnce(); - boolean _not = (!_appearsExactlyOnce); - if (_not) { - throw new IllegalArgumentException("Top level must appear in the fault tree exactly once"); - } - this.componentFaultTree.setTopEvent(IterableExtensions.head(outputs)); - } - - public ComponentInstanceTrace lookup(final IPatternMatch patternMatch) { - return this.componentInstancesMap.get(patternMatch); - } - - @Pure - public ComponentFaultTree getComponentFaultTree() { - return this.componentFaultTree; - } -} diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/ComponentInstanceTrace.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/ComponentInstanceTrace.java deleted file mode 100644 index 4034bdf3..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/ComponentInstanceTrace.java +++ /dev/null @@ -1,77 +0,0 @@ -package hu.bme.mit.inf.dslreasoner.faulttree.transformation.ecore2cft; - -import com.google.common.collect.Maps; -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftFactory; -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Component; -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentDefinition; -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentFaultTree; -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.EventDeclaration; -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.InputEvent; -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Modality; -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Output; -import hu.bme.mit.inf.dslreasoner.faulttree.model.util.CftExtensions; -import hu.bme.mit.inf.dslreasoner.faulttree.transformation.ecore2cft.ComponentNameGenerator; -import hu.bme.mit.inf.dslreasoner.faulttree.transformation.ecore2cft.InputTrace; -import java.util.Map; -import org.eclipse.emf.common.util.EList; - -@SuppressWarnings("all") -public class ComponentInstanceTrace { - private final Component componentInstance = CftFactory.eINSTANCE.createComponent(); - - private final Map inputEventsMap; - - private final Map outputEventsMap; - - protected ComponentInstanceTrace(final ComponentFaultTree faultTree, final ComponentDefinition componentDefinition, final ComponentNameGenerator nameGenerator, final Modality exists, final boolean multipleAllowed) { - this.componentInstance.setComponentDefinition(componentDefinition); - this.componentInstance.setName(nameGenerator.nextName(componentDefinition)); - this.componentInstance.setExists(exists); - this.componentInstance.setMultipleAllowed(multipleAllowed); - this.inputEventsMap = Maps.newHashMapWithExpectedSize(componentDefinition.getInputEvents().size()); - EList _inputEvents = componentDefinition.getInputEvents(); - for (final InputEvent inputEvent : _inputEvents) { - { - final InputTrace inputTrace = new InputTrace(this.componentInstance, inputEvent); - this.inputEventsMap.put(inputEvent, inputTrace); - } - } - this.outputEventsMap = Maps.newHashMapWithExpectedSize(componentDefinition.getOutputEvents().size()); - EList _outputEvents = componentDefinition.getOutputEvents(); - for (final EventDeclaration outputEvent : _outputEvents) { - { - final Output output = CftFactory.eINSTANCE.createOutput(); - output.setEventDeclaration(outputEvent); - EList _outputs = this.componentInstance.getOutputs(); - _outputs.add(output); - this.outputEventsMap.put(outputEvent, output); - } - } - EList _components = faultTree.getComponents(); - _components.add(this.componentInstance); - } - - public void assign(final EventDeclaration inputEvent, final ComponentInstanceTrace sourceComponent, final EventDeclaration outputEvent) { - this.assign(inputEvent, sourceComponent, outputEvent, Modality.MUST); - } - - public void assign(final EventDeclaration inputEvent, final ComponentInstanceTrace sourceComponent, final EventDeclaration outputEvent, final Modality exists) { - final InputTrace inputTrace = this.inputEventsMap.get(inputEvent); - if ((inputTrace == null)) { - throw new IllegalArgumentException(("Unknown input: " + inputEvent)); - } - final Output output = sourceComponent.outputEventsMap.get(outputEvent); - if ((output == null)) { - throw new IllegalArgumentException(("Unknown output: " + outputEvent)); - } - inputTrace.assign(output, exists); - } - - protected EList getOutputs() { - return this.componentInstance.getOutputs(); - } - - protected boolean appearsExactlyOnce() { - return CftExtensions.appearsExactlyOnce(this.componentInstance); - } -} diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/ComponentNameGenerator.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/ComponentNameGenerator.java deleted file mode 100644 index e7dca003..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/ComponentNameGenerator.java +++ /dev/null @@ -1,29 +0,0 @@ -package hu.bme.mit.inf.dslreasoner.faulttree.transformation.ecore2cft; - -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentDefinition; -import java.util.Map; -import org.eclipse.xtext.xbase.lib.CollectionLiterals; - -@SuppressWarnings("all") -public class ComponentNameGenerator { - private static final String DEFAULT_NAME = "__unnamed"; - - private final Map instanceCounts = CollectionLiterals.newHashMap(); - - public String nextName(final ComponentDefinition componentDefinition) { - String _xblockexpression = null; - { - final Integer instanceCount = this.instanceCounts.getOrDefault(componentDefinition, Integer.valueOf(0)); - this.instanceCounts.put(componentDefinition, Integer.valueOf(((instanceCount).intValue() + 1))); - String _elvis = null; - String _name = componentDefinition.getName(); - if (_name != null) { - _elvis = _name; - } else { - _elvis = ComponentNameGenerator.DEFAULT_NAME; - } - _xblockexpression = (_elvis + instanceCount); - } - return _xblockexpression; - } -} diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/Ecore2CftTransformation.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/Ecore2CftTransformation.java deleted file mode 100644 index a63c8e78..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/Ecore2CftTransformation.java +++ /dev/null @@ -1,41 +0,0 @@ -package hu.bme.mit.inf.dslreasoner.faulttree.transformation.ecore2cft; - -import com.google.common.collect.ImmutableList; -import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingDefinition; -import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.TransformationDefinition; -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentFaultTree; -import hu.bme.mit.inf.dslreasoner.faulttree.transformation.ecore2cft.ComponentFaultTreeTrace; -import hu.bme.mit.inf.dslreasoner.faulttree.transformation.ecore2cft.MappingHandler; -import hu.bme.mit.inf.dslreasoner.faulttree.transformation.ecore2cft.MappingQueries; -import java.util.List; -import org.eclipse.viatra.query.runtime.api.ViatraQueryEngine; -import org.eclipse.xtext.xbase.lib.Functions.Function1; -import org.eclipse.xtext.xbase.lib.ListExtensions; - -@SuppressWarnings("all") -public class Ecore2CftTransformation { - private final List mappingHandlers; - - public Ecore2CftTransformation(final TransformationDefinition transformationDefinition, final ViatraQueryEngine viatraQueryEngine) { - final MappingQueries mappingQueries = new MappingQueries(transformationDefinition, viatraQueryEngine); - final Function1 _function = (MappingDefinition mappingDefinition) -> { - return new MappingHandler(mappingDefinition, mappingQueries); - }; - this.mappingHandlers = ImmutableList.copyOf(ListExtensions.map(transformationDefinition.getMappingDefinitions(), _function)); - } - - public ComponentFaultTree createComponentFaultTree() { - ComponentFaultTree _xblockexpression = null; - { - final ComponentFaultTreeTrace trace = new ComponentFaultTreeTrace(); - for (final MappingHandler handler : this.mappingHandlers) { - handler.instantiateComponents(trace); - } - for (final MappingHandler handler_1 : this.mappingHandlers) { - handler_1.instantiateConnections(trace); - } - _xblockexpression = trace.getComponentFaultTree(); - } - return _xblockexpression; - } -} diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/InputTrace.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/InputTrace.java deleted file mode 100644 index 2b30566f..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/InputTrace.java +++ /dev/null @@ -1,43 +0,0 @@ -package hu.bme.mit.inf.dslreasoner.faulttree.transformation.ecore2cft; - -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftFactory; -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Component; -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Connection; -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Input; -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.InputEvent; -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Modality; -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.Output; -import hu.bme.mit.inf.dslreasoner.faulttree.model.util.CftExtensions; -import java.util.Map; -import org.eclipse.emf.common.util.EList; -import org.eclipse.xtext.xbase.lib.CollectionLiterals; - -@SuppressWarnings("all") -public class InputTrace { - private final Input input = CftFactory.eINSTANCE.createInput(); - - private final Map connectionsMap = CollectionLiterals.newHashMap(); - - protected InputTrace(final Component component, final InputEvent inputEvent) { - this.input.setInputEvent(inputEvent); - EList _inputs = component.getInputs(); - _inputs.add(this.input); - } - - public void assign(final Output output, final Modality exists) { - final Connection connection = this.connectionsMap.get(output); - if ((connection == null)) { - final Connection newConnection = CftFactory.eINSTANCE.createConnection(); - newConnection.setOutput(output); - newConnection.setExists(exists); - EList _incomingConnections = this.input.getIncomingConnections(); - _incomingConnections.add(newConnection); - this.connectionsMap.put(output, newConnection); - } else { - boolean _isMoreConcreteThan = CftExtensions.isMoreConcreteThan(exists, connection.getExists()); - if (_isMoreConcreteThan) { - connection.setExists(exists); - } - } - } -} diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/LookupHandler.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/LookupHandler.java deleted file mode 100644 index e155aac8..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/LookupHandler.java +++ /dev/null @@ -1,84 +0,0 @@ -package hu.bme.mit.inf.dslreasoner.faulttree.transformation.ecore2cft; - -import com.google.common.base.Objects; -import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.LookupDefinition; -import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingDefinition; -import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingParameter; -import hu.bme.mit.inf.dslreasoner.faulttree.transformation.ecore2cft.ComponentFaultTreeTrace; -import hu.bme.mit.inf.dslreasoner.faulttree.transformation.ecore2cft.ComponentInstanceTrace; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.viatra.query.patternlanguage.emf.vql.Pattern; -import org.eclipse.viatra.query.runtime.api.IPatternMatch; -import org.eclipse.viatra.query.runtime.api.ViatraQueryMatcher; -import org.eclipse.xtext.xbase.lib.Conversions; - -@SuppressWarnings("all") -public class LookupHandler { - private final int[] argumentIndices; - - private final ViatraQueryMatcher lookedUpMatcher; - - public LookupHandler(final MappingDefinition mappingDefinition, final LookupDefinition lookupDefinition, final ViatraQueryMatcher lookedUpMatcher) { - EObject _eContainer = lookupDefinition.eContainer(); - boolean _notEquals = (!Objects.equal(_eContainer, mappingDefinition)); - if (_notEquals) { - throw new IllegalArgumentException("lookupDefinition must be contained in mappingDefinition"); - } - final int argumentCount = lookupDefinition.getArguments().size(); - int _length = ((Object[])Conversions.unwrapArray(lookedUpMatcher.getParameterNames(), Object.class)).length; - boolean _notEquals_1 = (argumentCount != _length); - if (_notEquals_1) { - MappingDefinition _mapping = lookupDefinition.getMapping(); - Pattern _pattern = null; - if (_mapping!=null) { - _pattern=_mapping.getPattern(); - } - String _name = null; - if (_pattern!=null) { - _name=_pattern.getName(); - } - String _plus = ("lookupDefinition (name: " + _name); - String _plus_1 = (_plus + - ") must have as many arguments as lookedUpMatcher (name: "); - String _patternName = lookedUpMatcher.getPatternName(); - String _plus_2 = (_plus_1 + _patternName); - String _plus_3 = (_plus_2 + ")"); - throw new IllegalArgumentException(_plus_3); - } - this.argumentIndices = new int[argumentCount]; - for (int i = 0; (i < argumentCount); i++) { - { - final MappingParameter argument = lookupDefinition.getArguments().get(i); - final int argumentIndex = mappingDefinition.getParameters().indexOf(argument); - this.argumentIndices[i] = argumentIndex; - } - } - this.lookedUpMatcher = lookedUpMatcher; - } - - public ComponentInstanceTrace lookupForMatch(final ComponentFaultTreeTrace faultTreeTrace, final IPatternMatch match) { - ComponentInstanceTrace _xblockexpression = null; - { - final IPatternMatch lookedUpMatch = this.createLookedUpMatch(match); - _xblockexpression = faultTreeTrace.lookup(lookedUpMatch); - } - return _xblockexpression; - } - - private IPatternMatch createLookedUpMatch(final IPatternMatch match) { - IPatternMatch _xblockexpression = null; - { - final IPatternMatch lookedUpMatch = this.lookedUpMatcher.newEmptyMatch(); - final int argumentCount = this.argumentIndices.length; - for (int i = 0; (i < argumentCount); i++) { - { - final int argumentIndex = this.argumentIndices[i]; - Object argumentValue = match.get(argumentIndex); - lookedUpMatch.set(i, argumentValue); - } - } - _xblockexpression = lookedUpMatch; - } - return _xblockexpression; - } -} diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/MappingHandler.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/MappingHandler.java deleted file mode 100644 index 41703289..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/MappingHandler.java +++ /dev/null @@ -1,146 +0,0 @@ -package hu.bme.mit.inf.dslreasoner.faulttree.transformation.ecore2cft; - -import com.google.common.collect.ImmutableMap; -import com.google.common.collect.Iterables; -import com.google.common.collect.Maps; -import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.Assignment; -import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.ComponentInstance; -import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.EventReference; -import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.LookupDefinition; -import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingDefinition; -import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.Variable; -import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.ComponentDefinition; -import hu.bme.mit.inf.dslreasoner.faulttree.transformation.ecore2cft.ComponentFaultTreeTrace; -import hu.bme.mit.inf.dslreasoner.faulttree.transformation.ecore2cft.ComponentInstanceTrace; -import hu.bme.mit.inf.dslreasoner.faulttree.transformation.ecore2cft.LookupHandler; -import hu.bme.mit.inf.dslreasoner.faulttree.transformation.ecore2cft.MappingQueries; -import java.util.HashMap; -import java.util.HashSet; -import java.util.Map; -import java.util.Set; -import java.util.function.Consumer; -import org.eclipse.emf.common.util.EList; -import org.eclipse.viatra.query.runtime.api.IPatternMatch; -import org.eclipse.viatra.query.runtime.api.ViatraQueryMatcher; -import org.eclipse.xtext.xbase.lib.CollectionLiterals; -import org.eclipse.xtext.xbase.lib.Functions.Function1; -import org.eclipse.xtext.xbase.lib.IterableExtensions; - -@SuppressWarnings("all") -public class MappingHandler { - private final ViatraQueryMatcher matcher; - - private final MappingDefinition mappingDefinition; - - private final Map lookupHandlers; - - public MappingHandler(final MappingDefinition mappingDefinition, final MappingQueries mappingQueries) { - this.matcher = mappingQueries.getMatcher(mappingDefinition); - this.mappingDefinition = mappingDefinition; - final HashSet variables = CollectionLiterals.newHashSet(); - EList _assignments = mappingDefinition.getAssignments(); - for (final Assignment assignment : _assignments) { - { - Variable _component = assignment.getInput().getComponent(); - variables.add(_component); - Variable _component_1 = assignment.getOutput().getComponent(); - variables.add(_component_1); - } - } - final Function1 _function = (LookupDefinition it) -> { - return it; - }; - final Function1 _function_1 = (LookupDefinition lookupDefinition) -> { - return mappingQueries.createLookupHandler(mappingDefinition, lookupDefinition); - }; - this.lookupHandlers = ImmutableMap.copyOf(IterableExtensions.toMap(Iterables.filter(variables, LookupDefinition.class), _function, _function_1)); - } - - public void instantiateComponents(final ComponentFaultTreeTrace faultTreeTrace) { - boolean _hasComponentInstace = this.hasComponentInstace(); - boolean _not = (!_hasComponentInstace); - if (_not) { - return; - } - final Consumer _function = (IPatternMatch match) -> { - final ComponentInstanceTrace componentTrace = faultTreeTrace.instantiateComponent(match, this.getComponentDefinition()); - boolean _isTopLevel = this.isTopLevel(); - if (_isTopLevel) { - faultTreeTrace.setTopLevel(componentTrace); - } - }; - this.matcher.forEachMatch(_function); - } - - public void instantiateConnections(final ComponentFaultTreeTrace faultTreeTrace) { - boolean _hasConnections = this.hasConnections(); - boolean _not = (!_hasConnections); - if (_not) { - return; - } - final Consumer _function = (IPatternMatch match) -> { - final Map lookedUpComponents = this.lookupComponents(faultTreeTrace, match); - EList _assignments = this.mappingDefinition.getAssignments(); - for (final Assignment assignment : _assignments) { - { - final EventReference input = assignment.getInput(); - final ComponentInstanceTrace inputComponent = lookedUpComponents.get(input.getComponent()); - final EventReference output = assignment.getOutput(); - final ComponentInstanceTrace outputComponent = lookedUpComponents.get(output.getComponent()); - if (((inputComponent != null) && (outputComponent != null))) { - inputComponent.assign(input.getEvent(), outputComponent, output.getEvent()); - } - } - } - }; - this.matcher.forEachMatch(_function); - } - - private Map lookupComponents(final ComponentFaultTreeTrace faultTreeTrace, final IPatternMatch match) { - HashMap _xblockexpression = null; - { - int _size = this.lookupHandlers.size(); - int _plus = (_size + 1); - final HashMap lookedUpComponents = Maps.newHashMapWithExpectedSize(_plus); - boolean _hasComponentInstace = this.hasComponentInstace(); - if (_hasComponentInstace) { - final ComponentInstanceTrace componentInstance = faultTreeTrace.lookup(match); - lookedUpComponents.put(this.mappingDefinition.getComponentInstance(), componentInstance); - } - Set> _entrySet = this.lookupHandlers.entrySet(); - for (final Map.Entry pair : _entrySet) { - { - final ComponentInstanceTrace componentInstance_1 = pair.getValue().lookupForMatch(faultTreeTrace, match); - if ((componentInstance_1 != null)) { - lookedUpComponents.put(pair.getKey(), componentInstance_1); - } - } - } - _xblockexpression = lookedUpComponents; - } - return _xblockexpression; - } - - private ComponentDefinition getComponentDefinition() { - ComponentInstance _componentInstance = this.mappingDefinition.getComponentInstance(); - ComponentDefinition _componentType = null; - if (_componentInstance!=null) { - _componentType=_componentInstance.getComponentType(); - } - return _componentType; - } - - private boolean hasComponentInstace() { - ComponentDefinition _componentDefinition = this.getComponentDefinition(); - return (_componentDefinition != null); - } - - private boolean isTopLevel() { - return this.mappingDefinition.isTopLevel(); - } - - private boolean hasConnections() { - boolean _isEmpty = this.mappingDefinition.getAssignments().isEmpty(); - return (!_isEmpty); - } -} diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/MappingQueries.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/MappingQueries.java deleted file mode 100644 index 6147807e..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ecore2cft/MappingQueries.java +++ /dev/null @@ -1,60 +0,0 @@ -package hu.bme.mit.inf.dslreasoner.faulttree.transformation.ecore2cft; - -import com.google.common.collect.ImmutableMap; -import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.LookupDefinition; -import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingDefinition; -import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.TransformationDefinition; -import hu.bme.mit.inf.dslreasoner.faulttree.transformation.ecore2cft.LookupHandler; -import java.util.Map; -import org.eclipse.viatra.query.patternlanguage.emf.specification.SpecificationBuilder; -import org.eclipse.viatra.query.runtime.api.GenericQueryGroup; -import org.eclipse.viatra.query.runtime.api.IPatternMatch; -import org.eclipse.viatra.query.runtime.api.IQuerySpecification; -import org.eclipse.viatra.query.runtime.api.ViatraQueryEngine; -import org.eclipse.viatra.query.runtime.api.ViatraQueryMatcher; -import org.eclipse.xtext.xbase.lib.Conversions; -import org.eclipse.xtext.xbase.lib.Functions.Function1; -import org.eclipse.xtext.xbase.lib.IterableExtensions; -import org.eclipse.xtext.xbase.lib.MapExtensions; - -@SuppressWarnings("all") -public class MappingQueries { - private final Map> matchersMap; - - public MappingQueries(final TransformationDefinition transformationDefinition, final ViatraQueryEngine viatraQueryEngine) { - final SpecificationBuilder specificationBuilder = new SpecificationBuilder(); - final Function1 _function = (MappingDefinition it) -> { - return it; - }; - final Function1>> _function_1 = (MappingDefinition it) -> { - return specificationBuilder.getOrCreateSpecification(it.getPattern()); - }; - final Map>> querySpecificationsMap = IterableExtensions.>>toMap(transformationDefinition.getMappingDefinitions(), _function, _function_1); - GenericQueryGroup.of(((IQuerySpecification[])Conversions.unwrapArray(querySpecificationsMap.values(), IQuerySpecification.class))).prepare(viatraQueryEngine); - final Function1>, ViatraQueryMatcher> _function_2 = (IQuerySpecification> it) -> { - return it.getMatcher(viatraQueryEngine); - }; - this.matchersMap = ImmutableMap.>copyOf(MapExtensions.>, ViatraQueryMatcher>mapValues(querySpecificationsMap, _function_2)); - } - - public ViatraQueryMatcher getMatcher(final MappingDefinition mappingDefinition) { - ViatraQueryMatcher _xblockexpression = null; - { - final ViatraQueryMatcher matcher = this.matchersMap.get(mappingDefinition); - if ((matcher == null)) { - throw new IllegalArgumentException(("Unknown mapping definition: " + mappingDefinition)); - } - _xblockexpression = matcher; - } - return _xblockexpression; - } - - public LookupHandler createLookupHandler(final MappingDefinition mappingDefinition, final LookupDefinition lookupDefinition) { - LookupHandler _xblockexpression = null; - { - final ViatraQueryMatcher lookedUpMatcher = this.getMatcher(lookupDefinition.getMapping()); - _xblockexpression = new LookupHandler(mappingDefinition, lookupDefinition, lookedUpMatcher); - } - return _xblockexpression; - } -} diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ft2galileo/.Ft2GalileoTransformation.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ft2galileo/.Ft2GalileoTransformation.xtendbin deleted file mode 100644 index 0956e6e0..00000000 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ft2galileo/.Ft2GalileoTransformation.xtendbin and /dev/null differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ft2galileo/.gitignore b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ft2galileo/.gitignore deleted file mode 100644 index f4610b04..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ft2galileo/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -/.Ft2GalileoTransformation.java._trace -/.Ft2GalileoTransformation.xtendbin -/Ft2GalileoTransformation.java diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ft2galileo/Ft2GalileoTransformation.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ft2galileo/Ft2GalileoTransformation.java deleted file mode 100644 index 8748825d..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/ft2galileo/Ft2GalileoTransformation.java +++ /dev/null @@ -1,188 +0,0 @@ -package hu.bme.mit.inf.dslreasoner.faulttree.transformation.ft2galileo; - -import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.AndGate; -import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.BasicEvent; -import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ConstantDistribution; -import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.Distribution; -import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ExponentialDistribution; -import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FaultTree; -import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.Gate; -import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.KOfMGate; -import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.OrGate; -import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.RandomEvent; -import java.util.Arrays; -import org.eclipse.emf.common.util.EList; -import org.eclipse.xtend2.lib.StringConcatenation; -import org.eclipse.xtend2.lib.StringConcatenationClient; - -@SuppressWarnings("all") -public class Ft2GalileoTransformation { - public CharSequence toGalileo(final FaultTree faultTree) { - StringConcatenation _builder = new StringConcatenation(); - _builder.append("toplevel \""); - String _name = faultTree.getTopEvent().getName(); - _builder.append(_name); - _builder.append("\";"); - _builder.newLineIfNotEmpty(); - { - EList _events = faultTree.getEvents(); - for(final RandomEvent event : _events) { - _builder.append("\""); - String _name_1 = event.getName(); - _builder.append(_name_1); - _builder.append("\" "); - Object _defineEvent = this.defineEvent(event); - _builder.append(_defineEvent); - _builder.append(";"); - _builder.newLineIfNotEmpty(); - } - } - return _builder; - } - - protected Object _defineEvent(final BasicEvent basicEvent) { - StringConcatenation _builder = new StringConcatenation(); - StringConcatenationClient _defineDistribution = this.defineDistribution(basicEvent.getDistribution()); - _builder.append(_defineDistribution); - _builder.append(" dorm=0.0"); - return _builder; - } - - protected StringConcatenationClient _defineDistribution(final ConstantDistribution distribution) { - StringConcatenationClient _client = new StringConcatenationClient() { - @Override - protected void appendTo(StringConcatenationClient.TargetStringConcatenation _builder) { - _builder.append("p="); - double _p = distribution.getP(); - _builder.append(_p); - } - }; - return _client; - } - - protected StringConcatenationClient _defineDistribution(final ExponentialDistribution distribution) { - StringConcatenationClient _client = new StringConcatenationClient() { - @Override - protected void appendTo(StringConcatenationClient.TargetStringConcatenation _builder) { - _builder.append("lambda="); - double _lambda = distribution.getLambda(); - _builder.append(_lambda); - } - }; - return _client; - } - - protected StringConcatenationClient _defineDistribution(final Distribution distribution) { - throw new IllegalArgumentException(("Unknown distribution: " + distribution)); - } - - protected StringConcatenationClient _defineEvent(final Gate gate) { - StringConcatenationClient _client = new StringConcatenationClient() { - @Override - protected void appendTo(StringConcatenationClient.TargetStringConcatenation _builder) { - StringConcatenationClient _defineGate = Ft2GalileoTransformation.this.defineGate(gate); - _builder.append(_defineGate); - _builder.append(" "); - { - EList _inputEvents = gate.getInputEvents(); - boolean _hasElements = false; - for(final RandomEvent input : _inputEvents) { - if (!_hasElements) { - _hasElements = true; - } else { - _builder.appendImmediate(" ", ""); - } - _builder.append("\""); - String _name = input.getName(); - _builder.append(_name); - _builder.append("\""); - } - } - } - }; - return _client; - } - - protected StringConcatenationClient _defineGate(final AndGate gate) { - StringConcatenationClient _client = new StringConcatenationClient() { - @Override - protected void appendTo(StringConcatenationClient.TargetStringConcatenation _builder) { - _builder.append("and"); - } - }; - return _client; - } - - protected StringConcatenationClient _defineGate(final OrGate gate) { - StringConcatenationClient _client = new StringConcatenationClient() { - @Override - protected void appendTo(StringConcatenationClient.TargetStringConcatenation _builder) { - _builder.append("or"); - } - }; - return _client; - } - - protected StringConcatenationClient _defineGate(final KOfMGate gate) { - StringConcatenationClient _client = new StringConcatenationClient() { - @Override - protected void appendTo(StringConcatenationClient.TargetStringConcatenation _builder) { - int _k = gate.getK(); - _builder.append(_k); - _builder.append("of"); - int _size = gate.getInputEvents().size(); - _builder.append(_size); - } - }; - return _client; - } - - protected StringConcatenationClient _defineGate(final Gate gate) { - throw new IllegalArgumentException(("Unknown gate: " + gate)); - } - - protected StringConcatenationClient _defineEvent(final RandomEvent randomEvent) { - throw new IllegalArgumentException(("Unknown random even: " + randomEvent)); - } - - protected Object defineEvent(final RandomEvent basicEvent) { - if (basicEvent instanceof BasicEvent) { - return _defineEvent((BasicEvent)basicEvent); - } else if (basicEvent instanceof Gate) { - return _defineEvent((Gate)basicEvent); - } else if (basicEvent != null) { - return _defineEvent(basicEvent); - } else { - throw new IllegalArgumentException("Unhandled parameter types: " + - Arrays.asList(basicEvent).toString()); - } - } - - protected StringConcatenationClient defineDistribution(final Distribution distribution) { - if (distribution instanceof ConstantDistribution) { - return _defineDistribution((ConstantDistribution)distribution); - } else if (distribution instanceof ExponentialDistribution) { - return _defineDistribution((ExponentialDistribution)distribution); - } else if (distribution != null) { - return _defineDistribution(distribution); - } else { - throw new IllegalArgumentException("Unhandled parameter types: " + - Arrays.asList(distribution).toString()); - } - } - - protected StringConcatenationClient defineGate(final Gate gate) { - if (gate instanceof AndGate) { - return _defineGate((AndGate)gate); - } else if (gate instanceof KOfMGate) { - return _defineGate((KOfMGate)gate); - } else if (gate instanceof OrGate) { - return _defineGate((OrGate)gate); - } else if (gate != null) { - return _defineGate(gate); - } else { - throw new IllegalArgumentException("Unhandled parameter types: " + - Arrays.asList(gate).toString()); - } - } -} diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/.ReliabilityResult.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/.ReliabilityResult.xtendbin deleted file mode 100644 index cdaacb58..00000000 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/.ReliabilityResult.xtendbin and /dev/null differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/.StormDftConfiguration.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/.StormDftConfiguration.xtendbin deleted file mode 100644 index 6e1908aa..00000000 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/.StormDftConfiguration.xtendbin and /dev/null differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/.StormDftHandler.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/.StormDftHandler.xtendbin deleted file mode 100644 index 5772b0e7..00000000 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/.StormDftHandler.xtendbin and /dev/null differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/.StormDftSolver.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/.StormDftSolver.xtendbin deleted file mode 100644 index e1c1a8c7..00000000 Binary files a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/.StormDftSolver.xtendbin and /dev/null differ diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/.gitignore b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/.gitignore deleted file mode 100644 index 8a74c101..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/.gitignore +++ /dev/null @@ -1,20 +0,0 @@ -/.StormDftSolver.java._trace -/.StormDftConfiguration.java._trace -/.StormDftMttfConfiguration.java._trace -/.FtAnalysisObjective.java._trace -/.ApproximationHeuristic.java._trace -/.StormDftHandler.java._trace -/.StormDftException.java._trace -/.ReliabilityModelSolution.java._trace -/.ReliabilityResult.java._trace -/.ReliabilityResult.xtendbin -/.StormDftConfiguration.xtendbin -/.StormDftHandler.xtendbin -/.StormDftSolver.xtendbin -/ApproximationHeuristic.java -/FtAnalysisObjective.java -/ReliabilityResult.java -/StormDftConfiguration.java -/StormDftException.java -/StormDftHandler.java -/StormDftSolver.java diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/ApproximationHeuristic.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/ApproximationHeuristic.java deleted file mode 100644 index 822d4f36..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/ApproximationHeuristic.java +++ /dev/null @@ -1,8 +0,0 @@ -package hu.bme.mit.inf.dslreasoner.faulttree.transformation.solver; - -@SuppressWarnings("all") -public enum ApproximationHeuristic { - NONE, - - DEPTH; -} diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/FtAnalysisObjective.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/FtAnalysisObjective.java deleted file mode 100644 index 528ada42..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/FtAnalysisObjective.java +++ /dev/null @@ -1,14 +0,0 @@ -package hu.bme.mit.inf.dslreasoner.faulttree.transformation.solver; - -@SuppressWarnings("all") -public abstract class FtAnalysisObjective { - public static final class TimeBound extends FtAnalysisObjective { - public double timeBound = 0; - } - - public static final FtAnalysisObjective MTTF = new FtAnalysisObjective() { - }; - - private FtAnalysisObjective() { - } -} diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/ReliabilityResult.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/ReliabilityResult.java deleted file mode 100644 index c8c8b000..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/ReliabilityResult.java +++ /dev/null @@ -1,156 +0,0 @@ -package hu.bme.mit.inf.dslreasoner.faulttree.transformation.solver; - -import org.eclipse.xtend.lib.annotations.Data; -import org.eclipse.xtend.lib.annotations.FinalFieldsConstructor; -import org.eclipse.xtext.xbase.lib.Pure; -import org.eclipse.xtext.xbase.lib.util.ToStringBuilder; - -@SuppressWarnings("all") -public abstract class ReliabilityResult { - @Data - public static final class Solution extends ReliabilityResult { - private final double lowerBound; - - private final double upperBound; - - public Solution(final double value) { - this(value, value); - } - - public Solution(final double lowerBound, final double upperBound) { - if ((lowerBound > upperBound)) { - throw new IllegalArgumentException("lowerBound must not be larger than upperBound"); - } - this.lowerBound = lowerBound; - this.upperBound = upperBound; - } - - @Override - public ReliabilityResult.Solution getOrThrow() { - return this; - } - - @Override - @Pure - public int hashCode() { - final int prime = 31; - int result = 1; - result = prime * result + (int) (Double.doubleToLongBits(this.lowerBound) ^ (Double.doubleToLongBits(this.lowerBound) >>> 32)); - return prime * result + (int) (Double.doubleToLongBits(this.upperBound) ^ (Double.doubleToLongBits(this.upperBound) >>> 32)); - } - - @Override - @Pure - public boolean equals(final Object obj) { - if (this == obj) - return true; - if (obj == null) - return false; - if (getClass() != obj.getClass()) - return false; - ReliabilityResult.Solution other = (ReliabilityResult.Solution) obj; - if (Double.doubleToLongBits(other.lowerBound) != Double.doubleToLongBits(this.lowerBound)) - return false; - if (Double.doubleToLongBits(other.upperBound) != Double.doubleToLongBits(this.upperBound)) - return false; - return true; - } - - @Override - @Pure - public String toString() { - return new ToStringBuilder(this) - .addAllFields() - .toString(); - } - - @Pure - public double getLowerBound() { - return this.lowerBound; - } - - @Pure - public double getUpperBound() { - return this.upperBound; - } - } - - @Data - public static final class Unknown extends ReliabilityResult { - private final String message; - - private final Throwable cause; - - @FinalFieldsConstructor - public Unknown(final String message, final Throwable cause) { - super(); - this.message = message; - this.cause = cause; - } - - public Unknown(final String message) { - this(message, null); - } - - @Override - public ReliabilityResult.Solution getOrThrow() { - throw new RuntimeException(this.message, this.cause); - } - - @Override - @Pure - public int hashCode() { - final int prime = 31; - int result = 1; - result = prime * result + ((this.message== null) ? 0 : this.message.hashCode()); - return prime * result + ((this.cause== null) ? 0 : this.cause.hashCode()); - } - - @Override - @Pure - public boolean equals(final Object obj) { - if (this == obj) - return true; - if (obj == null) - return false; - if (getClass() != obj.getClass()) - return false; - ReliabilityResult.Unknown other = (ReliabilityResult.Unknown) obj; - if (this.message == null) { - if (other.message != null) - return false; - } else if (!this.message.equals(other.message)) - return false; - if (this.cause == null) { - if (other.cause != null) - return false; - } else if (!this.cause.equals(other.cause)) - return false; - return true; - } - - @Override - @Pure - public String toString() { - return new ToStringBuilder(this) - .addAllFields() - .toString(); - } - - @Pure - public String getMessage() { - return this.message; - } - - @Pure - public Throwable getCause() { - return this.cause; - } - } - - public static final ReliabilityResult.Unknown TIMEOUT = new ReliabilityResult.Unknown("Solver timed out"); - - public static final ReliabilityResult.Unknown MEMOUT = new ReliabilityResult.Unknown("Solver out of memory"); - - public abstract ReliabilityResult.Solution getOrThrow(); -} diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/StormDftConfiguration.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/StormDftConfiguration.java deleted file mode 100644 index e1bb3625..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/StormDftConfiguration.java +++ /dev/null @@ -1,31 +0,0 @@ -package hu.bme.mit.inf.dslreasoner.faulttree.transformation.solver; - -import com.google.common.base.Objects; -import hu.bme.mit.inf.dslreasoner.faulttree.transformation.solver.ApproximationHeuristic; -import hu.bme.mit.inf.dslreasoner.faulttree.transformation.solver.FtAnalysisObjective; -import hu.bme.mit.inf.dslreasoner.logic.model.builder.SolverConfiguration; - -@SuppressWarnings("all") -public final class StormDftConfiguration extends SolverConfiguration { - public static final String DEFAULT_SOLVER_PATH = "storm-dft"; - - public double precision = 1e-6; - - public boolean bisimulation = true; - - public boolean symmetryReduction = true; - - public boolean modularization = true; - - public boolean dontCarePropagation = true; - - public double approximation = 0; - - public ApproximationHeuristic approximationHeuristic = ApproximationHeuristic.NONE; - - public FtAnalysisObjective objective; - - public boolean isApproximationInUse() { - return (!Objects.equal(this.approximationHeuristic, ApproximationHeuristic.NONE)); - } -} diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/StormDftException.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/StormDftException.java deleted file mode 100644 index 955c9ed1..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/StormDftException.java +++ /dev/null @@ -1,12 +0,0 @@ -package hu.bme.mit.inf.dslreasoner.faulttree.transformation.solver; - -@SuppressWarnings("all") -public class StormDftException extends RuntimeException { - public StormDftException(final String s) { - super(s); - } - - public StormDftException(final String s, final Exception e) { - super(s, e); - } -} diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/StormDftHandler.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/StormDftHandler.java deleted file mode 100644 index 46127425..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/StormDftHandler.java +++ /dev/null @@ -1,330 +0,0 @@ -package hu.bme.mit.inf.dslreasoner.faulttree.transformation.solver; - -import com.google.common.base.Objects; -import com.google.common.collect.ImmutableList; -import hu.bme.mit.inf.dslreasoner.faulttree.transformation.solver.ApproximationHeuristic; -import hu.bme.mit.inf.dslreasoner.faulttree.transformation.solver.FtAnalysisObjective; -import hu.bme.mit.inf.dslreasoner.faulttree.transformation.solver.ReliabilityResult; -import hu.bme.mit.inf.dslreasoner.faulttree.transformation.solver.StormDftConfiguration; -import hu.bme.mit.inf.dslreasoner.faulttree.transformation.solver.StormDftException; -import hu.bme.mit.inf.dslreasoner.logic.model.builder.DocumentationLevel; -import hu.bme.mit.inf.dslreasoner.logic.model.builder.SolverConfiguration; -import java.io.BufferedReader; -import java.io.IOException; -import java.io.InputStream; -import java.io.InputStreamReader; -import java.util.ArrayList; -import java.util.regex.Matcher; -import java.util.regex.Pattern; -import org.eclipse.xtend2.lib.StringConcatenation; -import org.eclipse.xtext.xbase.lib.CollectionLiterals; -import org.eclipse.xtext.xbase.lib.Exceptions; -import org.eclipse.xtext.xbase.lib.Extension; -import org.eclipse.xtext.xbase.lib.Functions.Function0; -import org.eclipse.xtext.xbase.lib.InputOutput; -import org.eclipse.xtext.xbase.lib.IterableExtensions; - -@SuppressWarnings("all") -public class StormDftHandler { - private static final String DOUBLE_REGEX = "[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?"; - - private static final String SINGLE_RESULT_GROUP = "single"; - - private static final String LOWER_BOUND_GROUP = "lower"; - - private static final String UPPER_BOUND_GROUP = "upper"; - - private static final String RESULT_REGEX = new Function0() { - public String apply() { - StringConcatenation _builder = new StringConcatenation(); - _builder.append("^Result:\\s*\\[(?:(?<"); - _builder.append(StormDftHandler.SINGLE_RESULT_GROUP); - _builder.append(">"); - _builder.append(StormDftHandler.DOUBLE_REGEX); - _builder.append(")|\\((?<"); - _builder.append(StormDftHandler.LOWER_BOUND_GROUP); - _builder.append(">"); - _builder.append(StormDftHandler.DOUBLE_REGEX); - _builder.append("),\\s*(?<"); - _builder.append(StormDftHandler.UPPER_BOUND_GROUP); - _builder.append(">"); - _builder.append(StormDftHandler.DOUBLE_REGEX); - _builder.append(")\\))\\]"); - return _builder.toString(); - } - }.apply(); - - private static final Pattern RESULT_PATTERN = Pattern.compile(StormDftHandler.RESULT_REGEX); - - private static final int SIGNAL_EXIT_VALUE_OFFSET = 0x80; - - private static final int SIGXCPU = 24; - - private static final int SIGXFSZ = 25; - - private static final int STORM_GENERAL_ERROR = ((-1) & 0xff); - - private static final int STORM_TIMEOUT = ((-2) & 0xff); - - private static final int STORM_MEMOUT = ((-3) & 0xff); - - public ReliabilityResult callSolver(final String dftFilePath, final StormDftConfiguration configuration) { - try { - ReliabilityResult _xblockexpression = null; - { - final ImmutableList commandLine = this.toCommandLine(configuration, dftFilePath); - final DocumentationLevel documentationLevel = configuration.documentationLevel; - final boolean printOutput = (Objects.equal(documentationLevel, DocumentationLevel.NORMAL) || - Objects.equal(documentationLevel, DocumentationLevel.FULL)); - final ProcessBuilder processBuilder = new ProcessBuilder().command(commandLine); - Process process = null; - ReliabilityResult _xtrycatchfinallyexpression = null; - try { - ReliabilityResult _xtrycatchfinallyexpression_1 = null; - try { - ReliabilityResult _xblockexpression_1 = null; - { - process = processBuilder.start(); - process.getOutputStream().close(); - final ReliabilityResult.Solution result = this.readOutput(process.getInputStream(), printOutput); - final String error = this.readError(process.getErrorStream(), printOutput); - final int exitValue = process.waitFor(); - ReliabilityResult _xifexpression = null; - if ((result == null)) { - _xifexpression = this.interpretExitStatus(exitValue, error); - } else { - _xifexpression = result; - } - _xblockexpression_1 = _xifexpression; - } - _xtrycatchfinallyexpression_1 = _xblockexpression_1; - } catch (final Throwable _t) { - if (_t instanceof IOException) { - final IOException e = (IOException)_t; - throw new StormDftException("Error during input/output handling of the stochastic solver.", e); - } else { - throw Exceptions.sneakyThrow(_t); - } - } - _xtrycatchfinallyexpression = _xtrycatchfinallyexpression_1; - } catch (final Throwable _t_1) { - if (_t_1 instanceof Exception) { - final Exception e_1 = (Exception)_t_1; - if ((process != null)) { - process.destroyForcibly().waitFor(); - } - throw e_1; - } else { - throw Exceptions.sneakyThrow(_t_1); - } - } - _xblockexpression = _xtrycatchfinallyexpression; - } - return _xblockexpression; - } catch (Throwable _e) { - throw Exceptions.sneakyThrow(_e); - } - } - - private ImmutableList toCommandLine(@Extension final StormDftConfiguration configuration, final String dftFilePath) { - ImmutableList _xblockexpression = null; - { - @Extension - final ImmutableList.Builder optionsBuilder = ImmutableList.builder(); - String _elvis = null; - if (configuration.solverPath != null) { - _elvis = configuration.solverPath; - } else { - _elvis = StormDftConfiguration.DEFAULT_SOLVER_PATH; - } - optionsBuilder.add(_elvis); - if ((configuration.runtimeLimit != SolverConfiguration.Unlimited)) { - optionsBuilder.add("--timeout", Integer.valueOf(configuration.runtimeLimit).toString()); - } - optionsBuilder.add("--precision", Double.valueOf(configuration.precision).toString()); - if (configuration.bisimulation) { - optionsBuilder.add("--bisimulation"); - } - if (configuration.symmetryReduction) { - optionsBuilder.add("--symmetryreduction"); - } - if (configuration.modularization) { - optionsBuilder.add("--modularisation"); - } - if ((!configuration.dontCarePropagation)) { - optionsBuilder.add("--disabledc"); - } - boolean _isApproximationInUse = configuration.isApproximationInUse(); - if (_isApproximationInUse) { - String _switchResult = null; - final ApproximationHeuristic approximationHeuristic = configuration.approximationHeuristic; - if (approximationHeuristic != null) { - switch (approximationHeuristic) { - case DEPTH: - _switchResult = "depth"; - break; - default: - throw new IllegalArgumentException(("Unknown approximation heuristic: " + configuration.approximationHeuristic)); - } - } else { - throw new IllegalArgumentException(("Unknown approximation heuristic: " + configuration.approximationHeuristic)); - } - final String heuristicName = _switchResult; - optionsBuilder.add("--approximation", Double.valueOf(configuration.approximation).toString(), "--approximationheuristic", heuristicName); - } - optionsBuilder.add("--dftfile", dftFilePath); - final FtAnalysisObjective objective = configuration.objective; - boolean _matched = false; - if (Objects.equal(objective, FtAnalysisObjective.MTTF)) { - _matched=true; - optionsBuilder.add("--expectedtime"); - } - if (!_matched) { - if (objective instanceof FtAnalysisObjective.TimeBound) { - _matched=true; - optionsBuilder.add("--timebound"); - } - } - if (!_matched) { - throw new IllegalArgumentException(("Unknown analysis objective: " + configuration.objective)); - } - boolean _equals = Objects.equal(configuration.documentationLevel, DocumentationLevel.FULL); - if (_equals) { - optionsBuilder.add("--verbose"); - } - _xblockexpression = optionsBuilder.build(); - } - return _xblockexpression; - } - - private ReliabilityResult.Solution readOutput(final InputStream inputStream, final boolean printOutput) { - try { - Object _xblockexpression = null; - { - InputStreamReader _inputStreamReader = new InputStreamReader(inputStream); - final BufferedReader bufferedReader = new BufferedReader(_inputStreamReader); - try { - String line = null; - while (((line = bufferedReader.readLine()) != null)) { - { - if (printOutput) { - InputOutput.println(line); - } - final Matcher matcher = StormDftHandler.RESULT_PATTERN.matcher(line); - boolean _find = matcher.find(); - if (_find) { - try { - final String single = matcher.group(StormDftHandler.SINGLE_RESULT_GROUP); - if ((single != null)) { - final double singleValue = Double.parseDouble(single); - return new ReliabilityResult.Solution(singleValue); - } - final String lower = matcher.group(StormDftHandler.LOWER_BOUND_GROUP); - final String upper = matcher.group(StormDftHandler.UPPER_BOUND_GROUP); - if (((lower != null) && (upper != null))) { - final double lowerValue = Double.parseDouble(lower); - final double upperValue = Double.parseDouble(upper); - return new ReliabilityResult.Solution(lowerValue, upperValue); - } - throw new StormDftException(("Inconsistent stochastic solver output: " + line)); - } catch (final Throwable _t) { - if (_t instanceof NumberFormatException) { - final NumberFormatException e = (NumberFormatException)_t; - throw new StormDftException("Malformatted number from stochastic solver.", e); - } else { - throw Exceptions.sneakyThrow(_t); - } - } - } - } - } - } finally { - bufferedReader.close(); - } - _xblockexpression = null; - } - return ((ReliabilityResult.Solution)_xblockexpression); - } catch (Throwable _e) { - throw Exceptions.sneakyThrow(_e); - } - } - - private String readError(final InputStream inputStream, final boolean printOutput) { - try { - String _xblockexpression = null; - { - InputStreamReader _inputStreamReader = new InputStreamReader(inputStream); - final BufferedReader bufferedReader = new BufferedReader(_inputStreamReader); - String _xtrycatchfinallyexpression = null; - try { - String _xblockexpression_1 = null; - { - final ArrayList lines = CollectionLiterals.newArrayList(); - String line = null; - while (((line = bufferedReader.readLine()) != null)) { - { - if (printOutput) { - System.err.println(line); - } - lines.add(line); - } - } - _xblockexpression_1 = IterableExtensions.join(lines, "\n"); - } - _xtrycatchfinallyexpression = _xblockexpression_1; - } finally { - bufferedReader.close(); - } - _xblockexpression = _xtrycatchfinallyexpression; - } - return _xblockexpression; - } catch (Throwable _e) { - throw Exceptions.sneakyThrow(_e); - } - } - - private ReliabilityResult.Unknown interpretExitStatus(final int exitValue, final String error) { - ReliabilityResult.Unknown _switchResult = null; - boolean _matched = false; - if (Objects.equal(exitValue, StormDftHandler.STORM_GENERAL_ERROR)) { - _matched=true; - throw new StormDftException(("Storm error: " + error)); - } - if (!_matched) { - if (Objects.equal(exitValue, StormDftHandler.STORM_TIMEOUT)) { - _matched=true; - } - if (!_matched) { - if (Objects.equal(exitValue, (StormDftHandler.SIGNAL_EXIT_VALUE_OFFSET + StormDftHandler.SIGXCPU))) { - _matched=true; - } - } - if (_matched) { - _switchResult = ReliabilityResult.TIMEOUT; - } - } - if (!_matched) { - if (Objects.equal(exitValue, StormDftHandler.STORM_MEMOUT)) { - _matched=true; - } - if (!_matched) { - if (Objects.equal(exitValue, (StormDftHandler.SIGNAL_EXIT_VALUE_OFFSET + StormDftHandler.SIGXFSZ))) { - _matched=true; - } - } - if (_matched) { - _switchResult = ReliabilityResult.MEMOUT; - } - } - if (!_matched) { - { - if ((exitValue > StormDftHandler.SIGNAL_EXIT_VALUE_OFFSET)) { - final int signalNumber = (exitValue - StormDftHandler.SIGNAL_EXIT_VALUE_OFFSET); - throw new StormDftException(((("Storm unexpectedly killed by signal " + Integer.valueOf(signalNumber)) + ": ") + error)); - } - throw new StormDftException(((("Storm unexpectedly exit with status " + Integer.valueOf(exitValue)) + ": ") + error)); - } - } - return _switchResult; - } -} diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/StormDftSolver.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/StormDftSolver.java deleted file mode 100644 index 491e7fc1..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.transformation/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/transformation/solver/StormDftSolver.java +++ /dev/null @@ -1,79 +0,0 @@ -package hu.bme.mit.inf.dslreasoner.faulttree.transformation.solver; - -import com.google.common.base.Objects; -import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ConstantModel; -import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.FaultTree; -import hu.bme.mit.inf.dslreasoner.faulttree.model.ft.ReliabilityModel; -import hu.bme.mit.inf.dslreasoner.faulttree.transformation.ft2galileo.Ft2GalileoTransformation; -import hu.bme.mit.inf.dslreasoner.faulttree.transformation.solver.FtAnalysisObjective; -import hu.bme.mit.inf.dslreasoner.faulttree.transformation.solver.ReliabilityResult; -import hu.bme.mit.inf.dslreasoner.faulttree.transformation.solver.StormDftConfiguration; -import hu.bme.mit.inf.dslreasoner.faulttree.transformation.solver.StormDftHandler; -import hu.bme.mit.inf.dslreasoner.workspace.ReasonerWorkspace; - -@SuppressWarnings("all") -public class StormDftSolver { - private static final String DFT_FILE_NAME = "ft.dft"; - - private final Ft2GalileoTransformation ft2Galileo = new Ft2GalileoTransformation(); - - private final StormDftHandler handler = new StormDftHandler(); - - public ReliabilityResult solve(final ReliabilityModel reliabilityModel, final StormDftConfiguration configuration, final ReasonerWorkspace reasonerWorkspace) { - ReliabilityResult _switchResult = null; - boolean _matched = false; - if (reliabilityModel instanceof FaultTree) { - _matched=true; - _switchResult = this.solve(((FaultTree)reliabilityModel), configuration, reasonerWorkspace); - } - if (!_matched) { - if (reliabilityModel instanceof ConstantModel) { - _matched=true; - ReliabilityResult.Solution _xblockexpression = null; - { - double _xifexpression = (double) 0; - boolean _isFailed = ((ConstantModel)reliabilityModel).isFailed(); - if (_isFailed) { - _xifexpression = 0; - } else { - double _switchResult_1 = (double) 0; - final FtAnalysisObjective objective = configuration.objective; - boolean _matched_1 = false; - if (Objects.equal(objective, FtAnalysisObjective.MTTF)) { - _matched_1=true; - _switchResult_1 = Double.POSITIVE_INFINITY; - } - if (!_matched_1) { - if (objective instanceof FtAnalysisObjective.TimeBound) { - _matched_1=true; - _switchResult_1 = 1; - } - } - if (!_matched_1) { - throw new IllegalArgumentException(("Unknown objective: " + objective)); - } - _xifexpression = _switchResult_1; - } - final double result = _xifexpression; - _xblockexpression = new ReliabilityResult.Solution(result); - } - _switchResult = _xblockexpression; - } - } - if (!_matched) { - throw new IllegalArgumentException(("Unknown reliability model: " + reliabilityModel)); - } - return _switchResult; - } - - public ReliabilityResult solve(final FaultTree faultTree, final StormDftConfiguration configuration, final ReasonerWorkspace reasonerWorkspace) { - ReliabilityResult _xblockexpression = null; - { - final CharSequence galileo = this.ft2Galileo.toGalileo(faultTree); - reasonerWorkspace.writeText(StormDftSolver.DFT_FILE_NAME, galileo); - final String dftFilePath = reasonerWorkspace.getFile(StormDftSolver.DFT_FILE_NAME).getAbsolutePath(); - _xblockexpression = this.handler.callSolver(dftFilePath, configuration); - } - return _xblockexpression; - } -} diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.ui/.classpath b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.ui/.classpath deleted file mode 100644 index 428337e5..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.ui/.classpath +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.ui/.project b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.ui/.project deleted file mode 100644 index 98f85839..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.ui/.project +++ /dev/null @@ -1,34 +0,0 @@ - - - hu.bme.mit.inf.dslreasoner.faulttree.ui - - - - - - org.eclipse.xtext.ui.shared.xtextBuilder - - - - - org.eclipse.jdt.core.javabuilder - - - - - org.eclipse.pde.ManifestBuilder - - - - - org.eclipse.pde.SchemaBuilder - - - - - - org.eclipse.pde.PluginNature - org.eclipse.jdt.core.javanature - org.eclipse.xtext.ui.shared.xtextNature - - diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.ui/.settings/org.eclipse.jdt.core.prefs b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.ui/.settings/org.eclipse.jdt.core.prefs deleted file mode 100644 index 0c68a61d..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.ui/.settings/org.eclipse.jdt.core.prefs +++ /dev/null @@ -1,7 +0,0 @@ -eclipse.preferences.version=1 -org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled -org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8 -org.eclipse.jdt.core.compiler.compliance=1.8 -org.eclipse.jdt.core.compiler.problem.assertIdentifier=error -org.eclipse.jdt.core.compiler.problem.enumIdentifier=error -org.eclipse.jdt.core.compiler.source=1.8 diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.ui/META-INF/MANIFEST.MF b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.ui/META-INF/MANIFEST.MF deleted file mode 100644 index 59c1c5f7..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.ui/META-INF/MANIFEST.MF +++ /dev/null @@ -1,25 +0,0 @@ -Manifest-Version: 1.0 -Bundle-ManifestVersion: 2 -Bundle-Name: Ui -Bundle-SymbolicName: hu.bme.mit.inf.dslreasoner.faulttree.ui;singleton:=true -Bundle-Version: 1.0.0.qualifier -Bundle-Activator: hu.bme.mit.inf.dslreasoner.faulttree.ui.Activator -Require-Bundle: org.eclipse.ui, - org.eclipse.core.runtime, - com.google.guava, - org.eclipse.xtext.xbase.lib, - org.eclipse.xtend.lib, - org.eclipse.xtend.lib.macro, - org.eclipse.core.resources, - org.eclipse.emf.ecore, - org.eclipse.viatra.query.runtime, - org.eclipse.viatra.query.runtime.rete, - org.eclipse.viatra.query.runtime.localsearch, - hu.bme.mit.inf.dslreasoner.logic.model, - hu.bme.mit.inf.dslreasoner.faulttree.components, - hu.bme.mit.inf.dslreasoner.faulttree.transformation, - hu.bme.mit.inf.dslreasoner.application, - hu.bme.mit.inf.dslreasoner.application.ui -Bundle-RequiredExecutionEnvironment: JavaSE-1.8 -Automatic-Module-Name: hu.bme.mit.inf.dslreasoner.faulttree.ui -Bundle-ActivationPolicy: lazy diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.ui/bin/hu/bme/mit/inf/dslreasoner/faulttree/ui/handler/.gitignore b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.ui/bin/hu/bme/mit/inf/dslreasoner/faulttree/ui/handler/.gitignore deleted file mode 100644 index b271af76..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.ui/bin/hu/bme/mit/inf/dslreasoner/faulttree/ui/handler/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -/.ReliabilityAnalysisHandler.java._trace -/.ReliabilityAnalysisHandler.xtendbin -/ReliabilityAnalysisHandler.java diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.ui/bin/hu/bme/mit/inf/dslreasoner/faulttree/ui/handler/ReliabilityAnalysisHandler.xtend b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.ui/bin/hu/bme/mit/inf/dslreasoner/faulttree/ui/handler/ReliabilityAnalysisHandler.xtend deleted file mode 100644 index 5fa89148..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.ui/bin/hu/bme/mit/inf/dslreasoner/faulttree/ui/handler/ReliabilityAnalysisHandler.xtend +++ /dev/null @@ -1,128 +0,0 @@ -package hu.bme.mit.inf.dslreasoner.faulttree.ui.handler - -import hu.bme.mit.inf.dslreasoner.application.execution.EclipseBasedProgressMonitor -import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftModel -import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.TransformationDefinition -import hu.bme.mit.inf.dslreasoner.faulttree.transformation.cft2ft.Cft2FtTransformation -import hu.bme.mit.inf.dslreasoner.faulttree.transformation.ecore2cft.Ecore2CftTransformation -import hu.bme.mit.inf.dslreasoner.faulttree.transformation.solver.FtAnalysisObjective -import hu.bme.mit.inf.dslreasoner.faulttree.transformation.solver.ReliabilityResult -import hu.bme.mit.inf.dslreasoner.faulttree.transformation.solver.StormDftConfiguration -import hu.bme.mit.inf.dslreasoner.faulttree.transformation.solver.StormDftSolver -import hu.bme.mit.inf.dslreasoner.logic.model.builder.DocumentationLevel -import hu.bme.mit.inf.dslreasoner.workspace.ProjectWorkspace -import org.eclipse.core.commands.AbstractHandler -import org.eclipse.core.commands.ExecutionEvent -import org.eclipse.core.commands.ExecutionException -import org.eclipse.core.resources.IFile -import org.eclipse.core.resources.IProject -import org.eclipse.core.resources.IResource -import org.eclipse.core.runtime.IProgressMonitor -import org.eclipse.core.runtime.NullProgressMonitor -import org.eclipse.emf.common.util.URI -import org.eclipse.emf.ecore.resource.Resource -import org.eclipse.emf.ecore.resource.ResourceSet -import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl -import org.eclipse.swt.widgets.MessageBox -import org.eclipse.ui.PlatformUI -import org.eclipse.ui.handlers.HandlerUtil -import org.eclipse.viatra.query.runtime.api.AdvancedViatraQueryEngine -import org.eclipse.viatra.query.runtime.emf.EMFScope - -class ReliabilityAnalysisHandler extends AbstractHandler { - - override execute(ExecutionEvent event) throws ExecutionException { - val selection = HandlerUtil.getCurrentStructuredSelection(event) - val resourceSet = new ResourceSetImpl - val iterator = selection.iterator - var IProject targetProject = null - var Resource targetResource = null - var TransformationDefinition transformationDefinition = null - while (iterator.hasNext) { - val selectedElement = iterator.next - if (selectedElement instanceof IFile) { - val resource = tryLoadResource(resourceSet, selectedElement) - if (resource !== null && !resource.contents.empty) { - val rootElement = resource.contents.head - if (rootElement instanceof CftModel) { - if (rootElement.transformationDefinitions.empty) { - throw new IllegalArgumentException("Selected cft file is not a transformation definition.") - } - if (transformationDefinition !== null) { - throw new IllegalArgumentException( - "Only a single transformation definition may be selected.") - } - transformationDefinition = rootElement.transformationDefinitions.head - } else { - if (targetResource !== null) { - throw new IllegalArgumentException("Only a single architecture model may be selected.") - } - targetResource = resource - targetProject = selectedElement.project - } - } - } - } - if (targetResource === null || targetResource === null) { - throw new IllegalArgumentException( - "A transformation definition and an architecture model must be selected.") - } - runAnalysis(transformationDefinition, targetResource, targetProject, new NullProgressMonitor) - null - } - - private static def tryLoadResource(ResourceSet resourceSet, IFile file) { - val fullPath = file.fullPath.toString - val uri = URI.createPlatformResourceURI(fullPath, true) - try { - resourceSet.getResource(uri, true) - } catch (RuntimeException e) { - null - } - } - - private def runAnalysis(TransformationDefinition transformationDefinition, Resource resource, IProject project, - IProgressMonitor monitor) { - val workspace = createWorkspace(project, monitor) - val cft = createComponentFaultTree(transformationDefinition, resource) - workspace.writeModel(cft, "cft.xmi") - val cft2ft = new Cft2FtTransformation - val ft = cft2ft.createFaultTree(cft) - workspace.writeModel(ft, "ft.xmi") - val solver = new StormDftSolver - val config = new StormDftConfiguration - config.progressMonitor = new EclipseBasedProgressMonitor(monitor) - config.documentationLevel = DocumentationLevel.NORMAL - config.objective = FtAnalysisObjective.MTTF - val result = solver.solve(ft, config, workspace) - displayResult(result) - } - - private def createWorkspace(IProject project, IProgressMonitor monitor) { - val folder = project.getFolder("debug") - if (!folder.exists) { - folder.create(IResource.NONE, true, monitor) - } - val path = folder.fullPath.toString - val uri = URI.createPlatformResourceURI(path, true) - val workspace = new ProjectWorkspace(uri.toString, "") - workspace.initAndClear - workspace - } - - private def createComponentFaultTree(TransformationDefinition transformationDefinition, Resource resource) { - val queryEngine = AdvancedViatraQueryEngine.createUnmanagedEngine(new EMFScope(resource)) - try { - val ecore2cft = new Ecore2CftTransformation(transformationDefinition, queryEngine) - ecore2cft.createComponentFaultTree - } finally { - queryEngine.dispose - } - } - - private def displayResult(ReliabilityResult result) { - val messageBox = new MessageBox(PlatformUI.workbench.activeWorkbenchWindow.shell) - messageBox.message = result.toString - messageBox.open - } -} diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.ui/build.properties b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.ui/build.properties deleted file mode 100644 index e9863e28..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.ui/build.properties +++ /dev/null @@ -1,5 +0,0 @@ -source.. = src/ -output.. = bin/ -bin.includes = META-INF/,\ - .,\ - plugin.xml diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.ui/plugin.xml b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.ui/plugin.xml deleted file mode 100644 index 8a01c50c..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.ui/plugin.xml +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - - - - - - - - - - diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.ui/src/hu/bme/mit/inf/dslreasoner/faulttree/ui/Activator.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.ui/src/hu/bme/mit/inf/dslreasoner/faulttree/ui/Activator.java deleted file mode 100644 index 4363fc63..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.ui/src/hu/bme/mit/inf/dslreasoner/faulttree/ui/Activator.java +++ /dev/null @@ -1,44 +0,0 @@ -package hu.bme.mit.inf.dslreasoner.faulttree.ui; - -import org.eclipse.ui.plugin.AbstractUIPlugin; -import org.osgi.framework.BundleContext; - -/** - * The activator class controls the plug-in life cycle - */ -public class Activator extends AbstractUIPlugin { - - // The plug-in ID - public static final String PLUGIN_ID = "hu.bme.mit.inf.dslreasoner.faulttree.ui"; //$NON-NLS-1$ - - // The shared instance - private static Activator plugin; - - /** - * The constructor - */ - public Activator() { - } - - @Override - public void start(BundleContext context) throws Exception { - super.start(context); - plugin = this; - } - - @Override - public void stop(BundleContext context) throws Exception { - plugin = null; - super.stop(context); - } - - /** - * Returns the shared instance - * - * @return the shared instance - */ - public static Activator getDefault() { - return plugin; - } - -} diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.ui/src/hu/bme/mit/inf/dslreasoner/faulttree/ui/handler/ReliabilityAnalysisHandler.xtend b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.ui/src/hu/bme/mit/inf/dslreasoner/faulttree/ui/handler/ReliabilityAnalysisHandler.xtend deleted file mode 100644 index 5fa89148..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.ui/src/hu/bme/mit/inf/dslreasoner/faulttree/ui/handler/ReliabilityAnalysisHandler.xtend +++ /dev/null @@ -1,128 +0,0 @@ -package hu.bme.mit.inf.dslreasoner.faulttree.ui.handler - -import hu.bme.mit.inf.dslreasoner.application.execution.EclipseBasedProgressMonitor -import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftModel -import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.TransformationDefinition -import hu.bme.mit.inf.dslreasoner.faulttree.transformation.cft2ft.Cft2FtTransformation -import hu.bme.mit.inf.dslreasoner.faulttree.transformation.ecore2cft.Ecore2CftTransformation -import hu.bme.mit.inf.dslreasoner.faulttree.transformation.solver.FtAnalysisObjective -import hu.bme.mit.inf.dslreasoner.faulttree.transformation.solver.ReliabilityResult -import hu.bme.mit.inf.dslreasoner.faulttree.transformation.solver.StormDftConfiguration -import hu.bme.mit.inf.dslreasoner.faulttree.transformation.solver.StormDftSolver -import hu.bme.mit.inf.dslreasoner.logic.model.builder.DocumentationLevel -import hu.bme.mit.inf.dslreasoner.workspace.ProjectWorkspace -import org.eclipse.core.commands.AbstractHandler -import org.eclipse.core.commands.ExecutionEvent -import org.eclipse.core.commands.ExecutionException -import org.eclipse.core.resources.IFile -import org.eclipse.core.resources.IProject -import org.eclipse.core.resources.IResource -import org.eclipse.core.runtime.IProgressMonitor -import org.eclipse.core.runtime.NullProgressMonitor -import org.eclipse.emf.common.util.URI -import org.eclipse.emf.ecore.resource.Resource -import org.eclipse.emf.ecore.resource.ResourceSet -import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl -import org.eclipse.swt.widgets.MessageBox -import org.eclipse.ui.PlatformUI -import org.eclipse.ui.handlers.HandlerUtil -import org.eclipse.viatra.query.runtime.api.AdvancedViatraQueryEngine -import org.eclipse.viatra.query.runtime.emf.EMFScope - -class ReliabilityAnalysisHandler extends AbstractHandler { - - override execute(ExecutionEvent event) throws ExecutionException { - val selection = HandlerUtil.getCurrentStructuredSelection(event) - val resourceSet = new ResourceSetImpl - val iterator = selection.iterator - var IProject targetProject = null - var Resource targetResource = null - var TransformationDefinition transformationDefinition = null - while (iterator.hasNext) { - val selectedElement = iterator.next - if (selectedElement instanceof IFile) { - val resource = tryLoadResource(resourceSet, selectedElement) - if (resource !== null && !resource.contents.empty) { - val rootElement = resource.contents.head - if (rootElement instanceof CftModel) { - if (rootElement.transformationDefinitions.empty) { - throw new IllegalArgumentException("Selected cft file is not a transformation definition.") - } - if (transformationDefinition !== null) { - throw new IllegalArgumentException( - "Only a single transformation definition may be selected.") - } - transformationDefinition = rootElement.transformationDefinitions.head - } else { - if (targetResource !== null) { - throw new IllegalArgumentException("Only a single architecture model may be selected.") - } - targetResource = resource - targetProject = selectedElement.project - } - } - } - } - if (targetResource === null || targetResource === null) { - throw new IllegalArgumentException( - "A transformation definition and an architecture model must be selected.") - } - runAnalysis(transformationDefinition, targetResource, targetProject, new NullProgressMonitor) - null - } - - private static def tryLoadResource(ResourceSet resourceSet, IFile file) { - val fullPath = file.fullPath.toString - val uri = URI.createPlatformResourceURI(fullPath, true) - try { - resourceSet.getResource(uri, true) - } catch (RuntimeException e) { - null - } - } - - private def runAnalysis(TransformationDefinition transformationDefinition, Resource resource, IProject project, - IProgressMonitor monitor) { - val workspace = createWorkspace(project, monitor) - val cft = createComponentFaultTree(transformationDefinition, resource) - workspace.writeModel(cft, "cft.xmi") - val cft2ft = new Cft2FtTransformation - val ft = cft2ft.createFaultTree(cft) - workspace.writeModel(ft, "ft.xmi") - val solver = new StormDftSolver - val config = new StormDftConfiguration - config.progressMonitor = new EclipseBasedProgressMonitor(monitor) - config.documentationLevel = DocumentationLevel.NORMAL - config.objective = FtAnalysisObjective.MTTF - val result = solver.solve(ft, config, workspace) - displayResult(result) - } - - private def createWorkspace(IProject project, IProgressMonitor monitor) { - val folder = project.getFolder("debug") - if (!folder.exists) { - folder.create(IResource.NONE, true, monitor) - } - val path = folder.fullPath.toString - val uri = URI.createPlatformResourceURI(path, true) - val workspace = new ProjectWorkspace(uri.toString, "") - workspace.initAndClear - workspace - } - - private def createComponentFaultTree(TransformationDefinition transformationDefinition, Resource resource) { - val queryEngine = AdvancedViatraQueryEngine.createUnmanagedEngine(new EMFScope(resource)) - try { - val ecore2cft = new Ecore2CftTransformation(transformationDefinition, queryEngine) - ecore2cft.createComponentFaultTree - } finally { - queryEngine.dispose - } - } - - private def displayResult(ReliabilityResult result) { - val messageBox = new MessageBox(PlatformUI.workbench.activeWorkbenchWindow.shell) - messageBox.message = result.toString - messageBox.open - } -} diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/ui/handler/.gitignore b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/ui/handler/.gitignore deleted file mode 100644 index b271af76..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.ui/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/ui/handler/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -/.ReliabilityAnalysisHandler.java._trace -/.ReliabilityAnalysisHandler.xtendbin -/ReliabilityAnalysisHandler.java -- cgit v1.2.3-70-g09d2 From fc84d3fe670331bc89fb1e4c44104bc1fc811438 Mon Sep 17 00:00:00 2001 From: Kristóf Marussy Date: Wed, 14 Aug 2019 18:26:33 +0200 Subject: Measurements WIP --- .../.ApplicationConfigurationIdeModule.xtendbin | Bin 1701 -> 1701 bytes .../ide/.ApplicationConfigurationIdeSetup.xtendbin | Bin 2570 -> 2570 bytes .../domains/transima/fam/FamPatterns.vql | 2 +- .../domains/cps/dse/RuleBasedCpsSolver.xtend | 6 +- .../.classpath | 7 +- .../.project | 1 + .../.settings/org.eclipse.core.resources.prefs | 3 - .../META-INF/MANIFEST.MF | 16 +- .../configs/generation.vsconfig | 2 +- .../ecore-gen/satellite/CommSubsystem.java | 20 +- .../ecore-gen/satellite/ConstellationMission.java | 2 +- .../ecore-gen/satellite/InterferometryMission.java | 28 -- .../ecore-gen/satellite/SatellitePackage.java | 88 +----- .../satellite/impl/CommSubsystemImpl.java | 115 +------ .../satellite/impl/InterferometryMissionImpl.java | 130 -------- .../satellite/impl/SatellitePackageImpl.java | 37 +-- .../inputs/SatelliteInstance.xmi | 9 +- .../model/satellite.ecore | 12 +- .../model/satellite.genmodel | 5 +- .../model/satellite.henshin | 61 ---- .../model/satellite.henshin_diagram | 131 -------- .../model/satellite_fixup.henshin | 61 ---- .../plugin.xml | 1 + .../representations.aird | 2 + .../domains/satellite/mdeo/CostObjective.xtend | 13 - .../satellite/mdeo/LocalSearchEngineManager.xtend | 31 -- .../mdeo/MetricBasedGuidanceFunction.xtend | 47 --- .../satellite/mdeo/PatternMatchConstraint.xtend | 29 -- .../satellite/mdeo/SatelliteMdeOptimiserMain.xtend | 51 --- .../domains/satellite/mdeo/satellite.mopt | 36 --- .../domains/satellite/queries/SatelliteQueries.vql | 11 +- .../META-INF/MANIFEST.MF | 3 +- .../plugin.xml | 74 +---- .../yakindu/mutated/mutated.vql | 270 ---------------- .../partialsnapshot_mavo/yakindu/patterns.vql | 64 ++-- .../ModelGenerationMethodProvider.xtend | 35 +- .../cardinality/LinearTypeConstraintHint.xtend | 30 ++ .../cardinality/PolyhedronScopePropagator.xtend | 106 +++++-- .../cardinality/PolyhedronSolver.xtend | 72 ++++- .../cardinality/RelationConstraintCalculator.xtend | 5 +- .../logic2viatra/cardinality/ScopePropagator.xtend | 25 +- .../cardinality/ScopePropagatorStrategy.xtend | 11 +- .../cardinality/TypeHierarchyScopePropagator.xtend | 20 +- .../cardinality/Z3PolyhedronSolver.xtend | 32 +- .../logic2viatra/patterns/PatternGenerator.xtend | 18 +- .../logic2viatra/patterns/PatternProvider.xtend | 6 +- .../patterns/RelationRefinementGenerator.xtend | 2 +- .../logic2viatra/patterns/UnfinishedIndexer.xtend | 26 +- .../rules/RefinementRuleProvider.xtend | 15 +- .../PartialInterpretation.java | 24 ++ .../PartialinterpretationPackage.java | 60 +++- .../partialinterpretation/Scope.java | 24 ++ .../impl/BinaryElementRelationLinkImpl.java | 4 + .../impl/BooleanElementImpl.java | 4 +- .../impl/IntegerElementImpl.java | 4 +- .../impl/NaryRelationLinkElementImpl.java | 6 +- .../impl/NaryRelationLinkImpl.java | 1 + .../impl/PartialComplexTypeInterpretationImpl.java | 3 + .../impl/PartialConstantInterpretationImpl.java | 2 + .../impl/PartialFunctionInterpretationImpl.java | 2 + .../impl/PartialInterpretationImpl.java | 73 ++++- .../impl/PartialRelationInterpretationImpl.java | 7 + .../impl/PartialTypeInterpratationImpl.java | 2 + .../impl/PartialinterpretationFactoryImpl.java | 19 ++ .../impl/PartialinterpretationPackageImpl.java | 88 +++++- .../impl/PrimitiveElementImpl.java | 4 +- .../impl/RealElementImpl.java | 4 +- .../partialinterpretation/impl/ScopeImpl.java | 64 +++- .../impl/StringElementImpl.java | 4 +- .../impl/UnaryElementRelationLinkImpl.java | 2 + .../model/PartialInterpretation.ecore | 6 + .../model/PartialInterpretation.genmodel | 14 +- .../neighbourhood/Descriptor.xtend | 8 + .../neighbourhood/NeighbourhoodOptions.xtend | 4 +- .../neighbourhood/PartialInterpretation2Hash.xtend | 2 +- ...nterpretation2NeighbourhoodRepresentation.xtend | 4 +- .../NeighbourhoodBasedStateCoderFactory.xtend | 29 +- .../viatrasolver/reasoner/ViatraReasoner.xtend | 25 +- .../reasoner/ViatraReasonerConfiguration.xtend | 3 + .../reasoner/dse/BasicScopeGlobalConstraint.xtend | 103 ++++++ .../dse/BestFirstStrategyForModelGeneration.java | 2 +- .../dse/ModelGenerationCompositeObjective.xtend | 2 +- .../viatrasolver/reasoner/dse/ScopeObjective.xtend | 4 +- .../reasoner/dse/UnfinishedWFObjective.xtend | 34 +- .../reasoner/dse/ViatraReasonerSolutionSaver.xtend | 11 +- .../META-INF/MANIFEST.MF | 8 +- ..._ViatraSolver_polyhedral_typeHierarchy_Clp.json | 13 + ..._ViatraSolver_polyhedral_typeHierarchy_Clp.json | 16 + ..._ViatraSolver_polyhedral_typeHierarchy_Clp.json | 15 + ..._ViatraSolver_polyhedral_typeHierarchy_Clp.json | 15 + ..._ViatraSolver_polyhedral_typeHierarchy_Clp.json | 17 + .../initialModels/satellite.xmi | 14 + .../bme/mit/inf/dslreasoner/run/CountMatches.xtend | 176 ----------- .../run/Ecore2LogicTraceBasedHint.xtend | 56 ++++ .../mit/inf/dslreasoner/run/MetamodelLoader.xtend | 302 +++++++++++++----- .../bme/mit/inf/dslreasoner/run/SGraphHint.xtend | 46 +++ .../mit/inf/dslreasoner/run/SatelliteHint.xtend | 86 +++++ .../run/TypeDistributionCalculator.xtend | 35 ++ .../dslreasoner/run/script/MeasurementScript.xtend | 70 ++++ .../run/script/MeasurementScriptRunner.xtend | 351 +++++++++++++++++++++ 100 files changed, 1976 insertions(+), 1667 deletions(-) delete mode 100644 Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/.settings/org.eclipse.core.resources.prefs delete mode 100644 Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/model/satellite.henshin delete mode 100644 Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/model/satellite.henshin_diagram delete mode 100644 Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/model/satellite_fixup.henshin create mode 100644 Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/representations.aird delete mode 100644 Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/src/hu/bme/mit/inf/dslreasoner/domains/satellite/mdeo/CostObjective.xtend delete mode 100644 Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/src/hu/bme/mit/inf/dslreasoner/domains/satellite/mdeo/LocalSearchEngineManager.xtend delete mode 100644 Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/src/hu/bme/mit/inf/dslreasoner/domains/satellite/mdeo/MetricBasedGuidanceFunction.xtend delete mode 100644 Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/src/hu/bme/mit/inf/dslreasoner/domains/satellite/mdeo/PatternMatchConstraint.xtend delete mode 100644 Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/src/hu/bme/mit/inf/dslreasoner/domains/satellite/mdeo/SatelliteMdeOptimiserMain.xtend delete mode 100644 Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/src/hu/bme/mit/inf/dslreasoner/domains/satellite/mdeo/satellite.mopt delete mode 100644 Domains/hu.bme.mit.inf.dslreasoner.domains.yakindu.sgraph/queries/hu/bme/mit/inf/dslreasoner/partialsnapshot_mavo/yakindu/mutated/mutated.vql create mode 100644 Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/cardinality/LinearTypeConstraintHint.xtend create mode 100644 Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/BasicScopeGlobalConstraint.xtend create mode 100644 Tests/hu.bme.mit.inf.dslreasoner.run/configs/FAM_useful_ViatraSolver_polyhedral_typeHierarchy_Clp.json create mode 100644 Tests/hu.bme.mit.inf.dslreasoner.run/configs/Yakindu_useful_ViatraSolver_polyhedral_typeHierarchy_Clp.json create mode 100644 Tests/hu.bme.mit.inf.dslreasoner.run/configs/ecore_useful_ViatraSolver_polyhedral_typeHierarchy_Clp.json create mode 100644 Tests/hu.bme.mit.inf.dslreasoner.run/configs/fs_useful_ViatraSolver_polyhedral_typeHierarchy_Clp.json create mode 100644 Tests/hu.bme.mit.inf.dslreasoner.run/configs/satellite_useful_ViatraSolver_polyhedral_typeHierarchy_Clp.json create mode 100644 Tests/hu.bme.mit.inf.dslreasoner.run/initialModels/satellite.xmi delete mode 100644 Tests/hu.bme.mit.inf.dslreasoner.run/src/hu/bme/mit/inf/dslreasoner/run/CountMatches.xtend create mode 100644 Tests/hu.bme.mit.inf.dslreasoner.run/src/hu/bme/mit/inf/dslreasoner/run/Ecore2LogicTraceBasedHint.xtend create mode 100644 Tests/hu.bme.mit.inf.dslreasoner.run/src/hu/bme/mit/inf/dslreasoner/run/SGraphHint.xtend create mode 100644 Tests/hu.bme.mit.inf.dslreasoner.run/src/hu/bme/mit/inf/dslreasoner/run/SatelliteHint.xtend create mode 100644 Tests/hu.bme.mit.inf.dslreasoner.run/src/hu/bme/mit/inf/dslreasoner/run/TypeDistributionCalculator.xtend create mode 100644 Tests/hu.bme.mit.inf.dslreasoner.run/src/hu/bme/mit/inf/dslreasoner/run/script/MeasurementScript.xtend create mode 100644 Tests/hu.bme.mit.inf.dslreasoner.run/src/hu/bme/mit/inf/dslreasoner/run/script/MeasurementScriptRunner.xtend (limited to 'Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner') diff --git a/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeModule.xtendbin b/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeModule.xtendbin index 069bd953..22db4093 100644 Binary files a/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeModule.xtendbin and b/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeModule.xtendbin differ diff --git a/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeSetup.xtendbin b/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeSetup.xtendbin index 624846d6..3ad5d167 100644 Binary files a/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeSetup.xtendbin and b/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeSetup.xtendbin differ diff --git a/Domains/Examples/ModelGenExampleFAM_plugin/src/hu/bme/mit/inf/dslreasoner/domains/transima/fam/FamPatterns.vql b/Domains/Examples/ModelGenExampleFAM_plugin/src/hu/bme/mit/inf/dslreasoner/domains/transima/fam/FamPatterns.vql index f0e48d42..1d9a6b6d 100644 --- a/Domains/Examples/ModelGenExampleFAM_plugin/src/hu/bme/mit/inf/dslreasoner/domains/transima/fam/FamPatterns.vql +++ b/Domains/Examples/ModelGenExampleFAM_plugin/src/hu/bme/mit/inf/dslreasoner/domains/transima/fam/FamPatterns.vql @@ -10,7 +10,7 @@ pattern terminatorAndInformation(T : FAMTerminator, I : InformationLink) = { InformationLink.to(I,In); FunctionalInput.terminator(In,T); } - +/* @QueryBasedFeature pattern type(This : Function, Target : FunctionType) = { find rootElements(_Model, This); diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.cps/src/hu/bme/mit/inf/dslreasoner/domains/cps/dse/RuleBasedCpsSolver.xtend b/Domains/hu.bme.mit.inf.dslreasoner.domains.cps/src/hu/bme/mit/inf/dslreasoner/domains/cps/dse/RuleBasedCpsSolver.xtend index e4c758f0..503c06ea 100644 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.cps/src/hu/bme/mit/inf/dslreasoner/domains/cps/dse/RuleBasedCpsSolver.xtend +++ b/Domains/hu.bme.mit.inf.dslreasoner.domains.cps/src/hu/bme/mit/inf/dslreasoner/domains/cps/dse/RuleBasedCpsSolver.xtend @@ -35,18 +35,18 @@ class RuleBasedCpsSolver { val dse = new DesignSpaceExplorer dse.addMetaModelPackage(CpsPackage.eINSTANCE) dse.initialModel = problem.eResource.resourceSet - dse.addTransformationRule(createRule(RequirementNotSatisfied.instance).action [ + dse.addTransformationRule(createRule.precondition(RequirementNotSatisfied.instance).action [ val app = createApplicationInstance req.type.instances += app req.instances += app ].build) - dse.addTransformationRule(createRule(Allocate.instance).action [ + dse.addTransformationRule(createRule.precondition(Allocate.instance).action [ app.allocatedTo = host ].build) // dse.addTransformationRule(createRule(UnallocateAppInstance.instance).action [ // app.allocatedTo = null // ].build) - dse.addTransformationRule(createRule(CreateHostInstance.instance).action [ + dse.addTransformationRule(createRule.precondition(CreateHostInstance.instance).action [ hostType.instances += createHostInstance ].build) // dse.addTransformationRule(createRule(RemoveHostInstance.instance).action [ diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/.classpath b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/.classpath index e5e58475..6781ea8f 100644 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/.classpath +++ b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/.classpath @@ -3,9 +3,12 @@ - + + + + + - diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/.project b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/.project index 16db5fc5..e594a173 100644 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/.project +++ b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/.project @@ -32,6 +32,7 @@ + org.eclipse.sirius.nature.modelingproject org.eclipse.jdt.core.javanature org.eclipse.pde.PluginNature org.eclipse.viatra.query.projectnature diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/.settings/org.eclipse.core.resources.prefs b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/.settings/org.eclipse.core.resources.prefs deleted file mode 100644 index 4a3e59e4..00000000 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/.settings/org.eclipse.core.resources.prefs +++ /dev/null @@ -1,3 +0,0 @@ -eclipse.preferences.version=1 -encoding//model/satellite.henshin=UTF-8 -encoding//model/satellite.henshin_diagram=UTF-8 diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/META-INF/MANIFEST.MF b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/META-INF/MANIFEST.MF index 36d729b4..966fc660 100644 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/META-INF/MANIFEST.MF +++ b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/META-INF/MANIFEST.MF @@ -7,6 +7,7 @@ Bundle-ClassPath: . Bundle-Vendor: %providerName Bundle-Localization: plugin Export-Package: hu.bme.mit.inf.dslreasoner.domains.satellite.queries, + hu.bme.mit.inf.dslreasoner.domains.satellite.queries.internal, satellite, satellite.impl, satellite.util @@ -22,20 +23,7 @@ Require-Bundle: org.eclipse.viatra.addon.querybasedfeatures.runtime, org.eclipse.viatra.dse.genetic, hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner;bundle-version="1.0.0", org.eclipse.emf.ecore.xmi;bundle-version="2.15.0", - uk.ac.kcl.inf.mdeoptimiser.libraries.core;bundle-version="1.0.0", - uk.ac.kcl.inf.mdeoptimiser.interfaces.cli;bundle-version="1.0.0", - org.eclipse.emf.henshin.interpreter;bundle-version="1.5.0", - uk.ac.kcl.inf.mdeoptimiser.libraries.rulegen;bundle-version="1.0.0", - org.sidiff.common;bundle-version="1.0.0", - org.sidiff.common.emf;bundle-version="1.0.0", - org.sidiff.common.emf.extensions;bundle-version="1.0.0", - org.moeaframework;bundle-version="2.13.0", - org.apache.commons.math3;bundle-version="3.6.1", - org.apache.commons.lang3;bundle-version="3.8.1", - com.google.inject;bundle-version="3.0.0", - org.sidiff.common.henshin;bundle-version="1.0.0", - org.sidiff.serge;bundle-version="1.0.0", - org.eclipse.viatra.query.runtime.rete;bundle-version="2.2.0" + org.eclipse.viatra.query.runtime.rete;bundle-version="2.0.0" Import-Package: org.apache.log4j Automatic-Module-Name: hu.bme.mit.inf.dslreasoner.domains.satellite Bundle-ActivationPolicy: lazy diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/configs/generation.vsconfig b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/configs/generation.vsconfig index 66c468d0..2fb246c9 100644 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/configs/generation.vsconfig +++ b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/configs/generation.vsconfig @@ -2,7 +2,7 @@ import epackage "model/satellite.ecore" import viatra "src/hu/bme/mit/inf/dslreasoner/domains/satellite/queries/SatelliteQueries.vql" generate { - metamodel = { package satellite excluding { InterferometryMission.observationTime } } + metamodel = { package satellite } constraints = { package hu.bme.mit.inf.dslreasoner.domains.satellite.queries } partial-model = { "inputs/SatelliteInstance.xmi"} solver = ViatraSolver diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/CommSubsystem.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/CommSubsystem.java index 90bca78c..3b9d7ecf 100644 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/CommSubsystem.java +++ b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/CommSubsystem.java @@ -2,7 +2,6 @@ */ package satellite; -import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EObject; /** @@ -15,7 +14,6 @@ import org.eclipse.emf.ecore.EObject; *

    *
      *
    • {@link satellite.CommSubsystem#getTarget Target}
    • - *
    • {@link satellite.CommSubsystem#getSource Source}
    • *
    * * @see satellite.SatellitePackage#getCommSubsystem() @@ -26,14 +24,12 @@ public interface CommSubsystem extends EObject { /** * Returns the value of the 'Target' reference. - * It is bidirectional and its opposite is '{@link satellite.CommSubsystem#getSource Source}'. * * * @return the value of the 'Target' reference. * @see #setTarget(CommSubsystem) * @see satellite.SatellitePackage#getCommSubsystem_Target() - * @see satellite.CommSubsystem#getSource - * @model opposite="source" + * @model * @generated */ CommSubsystem getTarget(); @@ -48,18 +44,4 @@ public interface CommSubsystem extends EObject { */ void setTarget(CommSubsystem value); - /** - * Returns the value of the 'Source' reference list. - * The list contents are of type {@link satellite.CommSubsystem}. - * It is bidirectional and its opposite is '{@link satellite.CommSubsystem#getTarget Target}'. - * - * - * @return the value of the 'Source' reference list. - * @see satellite.SatellitePackage#getCommSubsystem_Source() - * @see satellite.CommSubsystem#getTarget - * @model opposite="target" - * @generated - */ - EList getSource(); - } // CommSubsystem diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/ConstellationMission.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/ConstellationMission.java index 6182d7ad..8ff69955 100644 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/ConstellationMission.java +++ b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/ConstellationMission.java @@ -53,7 +53,7 @@ public interface ConstellationMission extends EObject { * * @return the value of the 'Spacecraft' containment reference list. * @see satellite.SatellitePackage#getConstellationMission_Spacecraft() - * @model containment="true" lower="2" upper="50" + * @model containment="true" lower="2" * @generated */ EList getSpacecraft(); diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/InterferometryMission.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/InterferometryMission.java index eb4ea064..4e28df38 100644 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/InterferometryMission.java +++ b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/InterferometryMission.java @@ -7,39 +7,11 @@ package satellite; * A representation of the model object 'Interferometry Mission'. * * - *

    - * The following features are supported: - *

    - *
      - *
    • {@link satellite.InterferometryMission#getObservationTime Observation Time}
    • - *
    * * @see satellite.SatellitePackage#getInterferometryMission() * @model * @generated */ public interface InterferometryMission extends ConstellationMission { - /** - * Returns the value of the 'Observation Time' attribute. - * The default value is "2.0". - * - * - * @return the value of the 'Observation Time' attribute. - * @see #setObservationTime(float) - * @see satellite.SatellitePackage#getInterferometryMission_ObservationTime() - * @model default="2.0" required="true" - * @generated - */ - float getObservationTime(); - - /** - * Sets the value of the '{@link satellite.InterferometryMission#getObservationTime Observation Time}' attribute. - * - * - * @param value the new value of the 'Observation Time' attribute. - * @see #getObservationTime() - * @generated - */ - void setObservationTime(float value); } // InterferometryMission diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/SatellitePackage.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/SatellitePackage.java index 7be4ef84..9ca99311 100644 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/SatellitePackage.java +++ b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/SatellitePackage.java @@ -2,7 +2,6 @@ */ package satellite; -import org.eclipse.emf.ecore.EAttribute; import org.eclipse.emf.ecore.EClass; import org.eclipse.emf.ecore.EPackage; import org.eclipse.emf.ecore.EReference; @@ -130,15 +129,6 @@ public interface SatellitePackage extends EPackage { */ int INTERFEROMETRY_MISSION__SPACECRAFT = CONSTELLATION_MISSION__SPACECRAFT; - /** - * The feature id for the 'Observation Time' attribute. - * - * - * @generated - * @ordered - */ - int INTERFEROMETRY_MISSION__OBSERVATION_TIME = CONSTELLATION_MISSION_FEATURE_COUNT + 0; - /** * The number of structural features of the 'Interferometry Mission' class. * @@ -146,7 +136,7 @@ public interface SatellitePackage extends EPackage { * @generated * @ordered */ - int INTERFEROMETRY_MISSION_FEATURE_COUNT = CONSTELLATION_MISSION_FEATURE_COUNT + 1; + int INTERFEROMETRY_MISSION_FEATURE_COUNT = CONSTELLATION_MISSION_FEATURE_COUNT + 0; /** * The number of operations of the 'Interferometry Mission' class. @@ -296,15 +286,6 @@ public interface SatellitePackage extends EPackage { */ int COMM_SUBSYSTEM__TARGET = 0; - /** - * The feature id for the 'Source' reference list. - * - * - * @generated - * @ordered - */ - int COMM_SUBSYSTEM__SOURCE = 1; - /** * The number of structural features of the 'Comm Subsystem' class. * @@ -312,7 +293,7 @@ public interface SatellitePackage extends EPackage { * @generated * @ordered */ - int COMM_SUBSYSTEM_FEATURE_COUNT = 2; + int COMM_SUBSYSTEM_FEATURE_COUNT = 1; /** * The number of operations of the 'Comm Subsystem' class. @@ -582,15 +563,6 @@ public interface SatellitePackage extends EPackage { */ int UHF_COMM_SUBSYSTEM__TARGET = COMM_SUBSYSTEM__TARGET; - /** - * The feature id for the 'Source' reference list. - * - * - * @generated - * @ordered - */ - int UHF_COMM_SUBSYSTEM__SOURCE = COMM_SUBSYSTEM__SOURCE; - /** * The number of structural features of the 'UHF Comm Subsystem' class. * @@ -628,15 +600,6 @@ public interface SatellitePackage extends EPackage { */ int XCOMM_SUBSYSTEM__TARGET = COMM_SUBSYSTEM__TARGET; - /** - * The feature id for the 'Source' reference list. - * - * - * @generated - * @ordered - */ - int XCOMM_SUBSYSTEM__SOURCE = COMM_SUBSYSTEM__SOURCE; - /** * The number of structural features of the 'XComm Subsystem' class. * @@ -674,15 +637,6 @@ public interface SatellitePackage extends EPackage { */ int KA_COMM_SUBSYSTEM__TARGET = COMM_SUBSYSTEM__TARGET; - /** - * The feature id for the 'Source' reference list. - * - * - * @generated - * @ordered - */ - int KA_COMM_SUBSYSTEM__SOURCE = COMM_SUBSYSTEM__SOURCE; - /** * The number of structural features of the 'Ka Comm Subsystem' class. * @@ -743,17 +697,6 @@ public interface SatellitePackage extends EPackage { */ EClass getInterferometryMission(); - /** - * Returns the meta object for the attribute '{@link satellite.InterferometryMission#getObservationTime Observation Time}'. - * - * - * @return the meta object for the attribute 'Observation Time'. - * @see satellite.InterferometryMission#getObservationTime() - * @see #getInterferometryMission() - * @generated - */ - EAttribute getInterferometryMission_ObservationTime(); - /** * Returns the meta object for class '{@link satellite.CommunicatingElement Communicating Element}'. * @@ -827,17 +770,6 @@ public interface SatellitePackage extends EPackage { */ EReference getCommSubsystem_Target(); - /** - * Returns the meta object for the reference list '{@link satellite.CommSubsystem#getSource Source}'. - * - * - * @return the meta object for the reference list 'Source'. - * @see satellite.CommSubsystem#getSource() - * @see #getCommSubsystem() - * @generated - */ - EReference getCommSubsystem_Source(); - /** * Returns the meta object for class '{@link satellite.Payload Payload}'. * @@ -988,14 +920,6 @@ public interface SatellitePackage extends EPackage { */ EClass INTERFEROMETRY_MISSION = eINSTANCE.getInterferometryMission(); - /** - * The meta object literal for the 'Observation Time' attribute feature. - * - * - * @generated - */ - EAttribute INTERFEROMETRY_MISSION__OBSERVATION_TIME = eINSTANCE.getInterferometryMission_ObservationTime(); - /** * The meta object literal for the '{@link satellite.impl.CommunicatingElementImpl Communicating Element}' class. * @@ -1060,14 +984,6 @@ public interface SatellitePackage extends EPackage { */ EReference COMM_SUBSYSTEM__TARGET = eINSTANCE.getCommSubsystem_Target(); - /** - * The meta object literal for the 'Source' reference list feature. - * - * - * @generated - */ - EReference COMM_SUBSYSTEM__SOURCE = eINSTANCE.getCommSubsystem_Source(); - /** * The meta object literal for the '{@link satellite.impl.PayloadImpl Payload}' class. * diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/impl/CommSubsystemImpl.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/impl/CommSubsystemImpl.java index 21e385a8..d39abd4d 100644 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/impl/CommSubsystemImpl.java +++ b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/impl/CommSubsystemImpl.java @@ -2,16 +2,11 @@ */ package satellite.impl; -import java.util.Collection; import org.eclipse.emf.common.notify.Notification; -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.impl.ENotificationImpl; import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; -import org.eclipse.emf.ecore.util.EObjectWithInverseResolvingEList; -import org.eclipse.emf.ecore.util.InternalEList; import satellite.CommSubsystem; import satellite.SatellitePackage; @@ -24,7 +19,6 @@ import satellite.SatellitePackage; *

    *
      *
    • {@link satellite.impl.CommSubsystemImpl#getTarget Target}
    • - *
    • {@link satellite.impl.CommSubsystemImpl#getSource Source}
    • *
    * * @generated @@ -40,16 +34,6 @@ public abstract class CommSubsystemImpl extends MinimalEObjectImpl.Container imp */ protected CommSubsystem target; - /** - * The cached value of the '{@link #getSource() Source}' reference list. - * - * - * @see #getSource() - * @generated - * @ordered - */ - protected EList source; - /** * * @@ -97,25 +81,6 @@ public abstract class CommSubsystemImpl extends MinimalEObjectImpl.Container imp return target; } - /** - * - * - * @generated - */ - public NotificationChain basicSetTarget(CommSubsystem newTarget, NotificationChain msgs) { - CommSubsystem oldTarget = target; - target = newTarget; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, - SatellitePackage.COMM_SUBSYSTEM__TARGET, oldTarget, newTarget); - if (msgs == null) - msgs = notification; - else - msgs.add(notification); - } - return msgs; - } - /** * * @@ -123,70 +88,11 @@ public abstract class CommSubsystemImpl extends MinimalEObjectImpl.Container imp */ @Override public void setTarget(CommSubsystem newTarget) { - if (newTarget != target) { - NotificationChain msgs = null; - if (target != null) - msgs = ((InternalEObject) target).eInverseRemove(this, SatellitePackage.COMM_SUBSYSTEM__SOURCE, - CommSubsystem.class, msgs); - if (newTarget != null) - msgs = ((InternalEObject) newTarget).eInverseAdd(this, SatellitePackage.COMM_SUBSYSTEM__SOURCE, - CommSubsystem.class, msgs); - msgs = basicSetTarget(newTarget, msgs); - if (msgs != null) - msgs.dispatch(); - } else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SatellitePackage.COMM_SUBSYSTEM__TARGET, newTarget, - newTarget)); - } - - /** - * - * - * @generated - */ - @Override - public EList getSource() { - if (source == null) { - source = new EObjectWithInverseResolvingEList(CommSubsystem.class, this, - SatellitePackage.COMM_SUBSYSTEM__SOURCE, SatellitePackage.COMM_SUBSYSTEM__TARGET); - } - return source; - } - - /** - * - * - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case SatellitePackage.COMM_SUBSYSTEM__TARGET: - if (target != null) - msgs = ((InternalEObject) target).eInverseRemove(this, SatellitePackage.COMM_SUBSYSTEM__SOURCE, - CommSubsystem.class, msgs); - return basicSetTarget((CommSubsystem) otherEnd, msgs); - case SatellitePackage.COMM_SUBSYSTEM__SOURCE: - return ((InternalEList) (InternalEList) getSource()).basicAdd(otherEnd, msgs); - } - return super.eInverseAdd(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case SatellitePackage.COMM_SUBSYSTEM__TARGET: - return basicSetTarget(null, msgs); - case SatellitePackage.COMM_SUBSYSTEM__SOURCE: - return ((InternalEList) getSource()).basicRemove(otherEnd, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); + CommSubsystem oldTarget = target; + target = newTarget; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SatellitePackage.COMM_SUBSYSTEM__TARGET, oldTarget, + target)); } /** @@ -201,8 +107,6 @@ public abstract class CommSubsystemImpl extends MinimalEObjectImpl.Container imp if (resolve) return getTarget(); return basicGetTarget(); - case SatellitePackage.COMM_SUBSYSTEM__SOURCE: - return getSource(); } return super.eGet(featureID, resolve, coreType); } @@ -219,10 +123,6 @@ public abstract class CommSubsystemImpl extends MinimalEObjectImpl.Container imp case SatellitePackage.COMM_SUBSYSTEM__TARGET: setTarget((CommSubsystem) newValue); return; - case SatellitePackage.COMM_SUBSYSTEM__SOURCE: - getSource().clear(); - getSource().addAll((Collection) newValue); - return; } super.eSet(featureID, newValue); } @@ -238,9 +138,6 @@ public abstract class CommSubsystemImpl extends MinimalEObjectImpl.Container imp case SatellitePackage.COMM_SUBSYSTEM__TARGET: setTarget((CommSubsystem) null); return; - case SatellitePackage.COMM_SUBSYSTEM__SOURCE: - getSource().clear(); - return; } super.eUnset(featureID); } @@ -255,8 +152,6 @@ public abstract class CommSubsystemImpl extends MinimalEObjectImpl.Container imp switch (featureID) { case SatellitePackage.COMM_SUBSYSTEM__TARGET: return target != null; - case SatellitePackage.COMM_SUBSYSTEM__SOURCE: - return source != null && !source.isEmpty(); } return super.eIsSet(featureID); } diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/impl/InterferometryMissionImpl.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/impl/InterferometryMissionImpl.java index 3401ad51..450f8a9a 100644 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/impl/InterferometryMissionImpl.java +++ b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/impl/InterferometryMissionImpl.java @@ -2,12 +2,7 @@ */ package satellite.impl; -import org.eclipse.emf.common.notify.Notification; - import org.eclipse.emf.ecore.EClass; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; - import satellite.InterferometryMission; import satellite.SatellitePackage; @@ -15,36 +10,10 @@ import satellite.SatellitePackage; * * An implementation of the model object 'Interferometry Mission'. * - *

    - * The following features are implemented: - *

    - *
      - *
    • {@link satellite.impl.InterferometryMissionImpl#getObservationTime Observation Time}
    • - *
    * * @generated */ public class InterferometryMissionImpl extends ConstellationMissionImpl implements InterferometryMission { - /** - * The default value of the '{@link #getObservationTime() Observation Time}' attribute. - * - * - * @see #getObservationTime() - * @generated - * @ordered - */ - protected static final float OBSERVATION_TIME_EDEFAULT = 2.0F; - - /** - * The cached value of the '{@link #getObservationTime() Observation Time}' attribute. - * - * - * @see #getObservationTime() - * @generated - * @ordered - */ - protected float observationTime = OBSERVATION_TIME_EDEFAULT; - /** * * @@ -64,103 +33,4 @@ public class InterferometryMissionImpl extends ConstellationMissionImpl implemen return SatellitePackage.Literals.INTERFEROMETRY_MISSION; } - /** - * - * - * @generated - */ - @Override - public float getObservationTime() { - return observationTime; - } - - /** - * - * - * @generated - */ - @Override - public void setObservationTime(float newObservationTime) { - float oldObservationTime = observationTime; - observationTime = newObservationTime; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, - SatellitePackage.INTERFEROMETRY_MISSION__OBSERVATION_TIME, oldObservationTime, observationTime)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case SatellitePackage.INTERFEROMETRY_MISSION__OBSERVATION_TIME: - return getObservationTime(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case SatellitePackage.INTERFEROMETRY_MISSION__OBSERVATION_TIME: - setObservationTime((Float) newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case SatellitePackage.INTERFEROMETRY_MISSION__OBSERVATION_TIME: - setObservationTime(OBSERVATION_TIME_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case SatellitePackage.INTERFEROMETRY_MISSION__OBSERVATION_TIME: - return observationTime != OBSERVATION_TIME_EDEFAULT; - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) - return super.toString(); - - StringBuilder result = new StringBuilder(super.toString()); - result.append(" (observationTime: "); - result.append(observationTime); - result.append(')'); - return result.toString(); - } - } //InterferometryMissionImpl diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/impl/SatellitePackageImpl.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/impl/SatellitePackageImpl.java index 17212a96..f6dc1e30 100644 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/impl/SatellitePackageImpl.java +++ b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/ecore-gen/satellite/impl/SatellitePackageImpl.java @@ -2,7 +2,6 @@ */ package satellite.impl; -import org.eclipse.emf.ecore.EAttribute; import org.eclipse.emf.ecore.EClass; import org.eclipse.emf.ecore.EPackage; import org.eclipse.emf.ecore.EReference; @@ -242,16 +241,6 @@ public class SatellitePackageImpl extends EPackageImpl implements SatellitePacka return interferometryMissionEClass; } - /** - * - * - * @generated - */ - @Override - public EAttribute getInterferometryMission_ObservationTime() { - return (EAttribute) interferometryMissionEClass.getEStructuralFeatures().get(0); - } - /** * * @@ -322,16 +311,6 @@ public class SatellitePackageImpl extends EPackageImpl implements SatellitePacka return (EReference) commSubsystemEClass.getEStructuralFeatures().get(0); } - /** - * - * - * @generated - */ - @Override - public EReference getCommSubsystem_Source() { - return (EReference) commSubsystemEClass.getEStructuralFeatures().get(1); - } - /** * * @@ -457,7 +436,6 @@ public class SatellitePackageImpl extends EPackageImpl implements SatellitePacka createEReference(constellationMissionEClass, CONSTELLATION_MISSION__SPACECRAFT); interferometryMissionEClass = createEClass(INTERFEROMETRY_MISSION); - createEAttribute(interferometryMissionEClass, INTERFEROMETRY_MISSION__OBSERVATION_TIME); communicatingElementEClass = createEClass(COMMUNICATING_ELEMENT); createEReference(communicatingElementEClass, COMMUNICATING_ELEMENT__COMM_SUBSYSTEM); @@ -469,7 +447,6 @@ public class SatellitePackageImpl extends EPackageImpl implements SatellitePacka commSubsystemEClass = createEClass(COMM_SUBSYSTEM); createEReference(commSubsystemEClass, COMM_SUBSYSTEM__TARGET); - createEReference(commSubsystemEClass, COMM_SUBSYSTEM__SOURCE); payloadEClass = createEClass(PAYLOAD); @@ -537,15 +514,12 @@ public class SatellitePackageImpl extends EPackageImpl implements SatellitePacka initEReference(getConstellationMission_GroundStationNetwork(), this.getGroundStationNetwork(), null, "groundStationNetwork", null, 1, 1, ConstellationMission.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getConstellationMission_Spacecraft(), this.getSpacecraft(), null, "spacecraft", null, 2, 50, + initEReference(getConstellationMission_Spacecraft(), this.getSpacecraft(), null, "spacecraft", null, 2, -1, ConstellationMission.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(interferometryMissionEClass, InterferometryMission.class, "InterferometryMission", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getInterferometryMission_ObservationTime(), ecorePackage.getEFloat(), "observationTime", "2.0", - 1, 1, InterferometryMission.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, - IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(communicatingElementEClass, CommunicatingElement.class, "CommunicatingElement", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); @@ -564,12 +538,9 @@ public class SatellitePackageImpl extends EPackageImpl implements SatellitePacka initEClass(commSubsystemEClass, CommSubsystem.class, "CommSubsystem", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getCommSubsystem_Target(), this.getCommSubsystem(), this.getCommSubsystem_Source(), "target", - null, 0, 1, CommSubsystem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, - IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getCommSubsystem_Source(), this.getCommSubsystem(), this.getCommSubsystem_Target(), "source", - null, 0, -1, CommSubsystem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, - IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getCommSubsystem_Target(), this.getCommSubsystem(), null, "target", null, 0, 1, + CommSubsystem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, + !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(payloadEClass, Payload.class, "Payload", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/inputs/SatelliteInstance.xmi b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/inputs/SatelliteInstance.xmi index 7b8e355a..3d07a199 100644 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/inputs/SatelliteInstance.xmi +++ b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/inputs/SatelliteInstance.xmi @@ -4,11 +4,4 @@ xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:satellite="http://www.example.org/satellite" - xsi:schemaLocation="http://www.example.org/satellite ../model/satellite.ecore"> - - - - - + xsi:schemaLocation="http://www.example.org/satellite ../model/satellite.ecore"/> diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/model/satellite.ecore b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/model/satellite.ecore index 1685c756..9f17d43c 100644 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/model/satellite.ecore +++ b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/model/satellite.ecore @@ -5,12 +5,9 @@ - - - + upperBound="-1" eType="#//Spacecraft" containment="true"/> + @@ -21,10 +18,7 @@ containment="true"/> - - + diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/model/satellite.genmodel b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/model/satellite.genmodel index 09b5f64c..bc98abd6 100644 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/model/satellite.genmodel +++ b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/model/satellite.genmodel @@ -15,9 +15,7 @@ - - - + @@ -27,7 +25,6 @@ - diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/model/satellite.henshin b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/model/satellite.henshin deleted file mode 100644 index 33059424..00000000 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/model/satellite.henshin +++ /dev/null @@ -1,61 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/model/satellite.henshin_diagram b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/model/satellite.henshin_diagram deleted file mode 100644 index a5c675d8..00000000 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/model/satellite.henshin_diagram +++ /dev/null @@ -1,131 +0,0 @@ - - - - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/model/satellite_fixup.henshin b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/model/satellite_fixup.henshin deleted file mode 100644 index 224ced8f..00000000 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/model/satellite_fixup.henshin +++ /dev/null @@ -1,61 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/plugin.xml b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/plugin.xml index a07867dc..b0b77996 100644 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/plugin.xml +++ b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/plugin.xml @@ -8,6 +8,7 @@ + diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/representations.aird b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/representations.aird new file mode 100644 index 00000000..efa8e366 --- /dev/null +++ b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/representations.aird @@ -0,0 +1,2 @@ + + diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/src/hu/bme/mit/inf/dslreasoner/domains/satellite/mdeo/CostObjective.xtend b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/src/hu/bme/mit/inf/dslreasoner/domains/satellite/mdeo/CostObjective.xtend deleted file mode 100644 index 43b2902f..00000000 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/src/hu/bme/mit/inf/dslreasoner/domains/satellite/mdeo/CostObjective.xtend +++ /dev/null @@ -1,13 +0,0 @@ -package hu.bme.mit.inf.dslreasoner.domains.satellite.mdeo - -//import hu.bme.mit.inf.dslreasoner.domains.satellite.queries.CostMetric -// -//class CostObjective extends MetricBasedGuidanceFunction { -// new() { -// super(CostMetric.instance) -// } -// -// override getName() { -// "Cost" -// } -//} diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/src/hu/bme/mit/inf/dslreasoner/domains/satellite/mdeo/LocalSearchEngineManager.xtend b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/src/hu/bme/mit/inf/dslreasoner/domains/satellite/mdeo/LocalSearchEngineManager.xtend deleted file mode 100644 index ee7f0060..00000000 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/src/hu/bme/mit/inf/dslreasoner/domains/satellite/mdeo/LocalSearchEngineManager.xtend +++ /dev/null @@ -1,31 +0,0 @@ -package hu.bme.mit.inf.dslreasoner.domains.satellite.mdeo - -import hu.bme.mit.inf.dslreasoner.domains.satellite.queries.SatelliteQueries -import java.util.WeakHashMap -import org.eclipse.emf.ecore.EObject -import org.eclipse.viatra.query.runtime.api.AdvancedViatraQueryEngine -import org.eclipse.viatra.query.runtime.api.ViatraQueryEngine -import org.eclipse.viatra.query.runtime.api.ViatraQueryEngineOptions -import org.eclipse.viatra.query.runtime.emf.EMFScope -import org.eclipse.viatra.query.runtime.localsearch.matcher.integration.LocalSearchHints - -class LocalSearchEngineManager { - public static val INSTANCE = new LocalSearchEngineManager - - val WeakHashMap engineMap = new WeakHashMap - - private new() { - } - - def getEngine(EObject eObject) { - engineMap.computeIfAbsent(eObject) [ - val scope = new EMFScope(it) - val localSearchHints = LocalSearchHints.^default.build - val options = ViatraQueryEngineOptions.defineOptions.withDefaultHint(localSearchHints).withDefaultBackend( - localSearchHints.queryBackendFactory).build - val engine = AdvancedViatraQueryEngine.on(scope, options) - SatelliteQueries.instance.prepare(engine) - engine - ] - } -} diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/src/hu/bme/mit/inf/dslreasoner/domains/satellite/mdeo/MetricBasedGuidanceFunction.xtend b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/src/hu/bme/mit/inf/dslreasoner/domains/satellite/mdeo/MetricBasedGuidanceFunction.xtend deleted file mode 100644 index 1529794f..00000000 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/src/hu/bme/mit/inf/dslreasoner/domains/satellite/mdeo/MetricBasedGuidanceFunction.xtend +++ /dev/null @@ -1,47 +0,0 @@ -package hu.bme.mit.inf.dslreasoner.domains.satellite.mdeo - -import org.eclipse.viatra.query.runtime.api.IPatternMatch -import org.eclipse.viatra.query.runtime.api.IQuerySpecification -import org.eclipse.viatra.query.runtime.api.ViatraQueryMatcher -import uk.ac.kcl.inf.mdeoptimiser.libraries.core.optimisation.IGuidanceFunction -import uk.ac.kcl.inf.mdeoptimiser.libraries.core.optimisation.interpreter.guidance.Solution - -abstract class MetricBasedGuidanceFunction implements IGuidanceFunction { - val IQuerySpecification> querySpecification - - protected new(IQuerySpecification> querySpecification) { - this.querySpecification = querySpecification - if (querySpecification.parameters.size != 1) { - throw new IllegalArgumentException("Metric must have a single parameter") - } - } - - override computeFitness(Solution model) { - val value = getMetricValue(model) - computeFitness(value) - } - - protected def double computeFitness(double metricValue) { - metricValue - } - - private def getMetricValue(Solution solution) { - val model = solution.model - val queryEngine = LocalSearchEngineManager.INSTANCE.getEngine(model) - val matcher = querySpecification.getMatcher(queryEngine) - val iterator = matcher.allMatches.iterator - if (!iterator.hasNext) { - throw new IllegalStateException("Too few matches") - } - val objectValue = iterator.next.get(0) - if (objectValue instanceof Number) { - val doubleValue = objectValue.doubleValue - if (iterator.hasNext) { - throw new IllegalStateException("Too many matches") - } - doubleValue - } else { - throw new IllegalStateException("Metric value must be a number") - } - } -} diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/src/hu/bme/mit/inf/dslreasoner/domains/satellite/mdeo/PatternMatchConstraint.xtend b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/src/hu/bme/mit/inf/dslreasoner/domains/satellite/mdeo/PatternMatchConstraint.xtend deleted file mode 100644 index b238e64f..00000000 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/src/hu/bme/mit/inf/dslreasoner/domains/satellite/mdeo/PatternMatchConstraint.xtend +++ /dev/null @@ -1,29 +0,0 @@ -package hu.bme.mit.inf.dslreasoner.domains.satellite.mdeo - -import com.google.common.collect.ImmutableList -import hu.bme.mit.inf.dslreasoner.domains.satellite.queries.SatelliteQueries -import uk.ac.kcl.inf.mdeoptimiser.libraries.core.optimisation.IGuidanceFunction -import uk.ac.kcl.inf.mdeoptimiser.libraries.core.optimisation.interpreter.guidance.Solution - -class PatternMatchConstraint implements IGuidanceFunction { - static val CONSTRAINT_ANNOTATION_NAME = "Constraint" - - val queries = ImmutableList.copyOf(SatelliteQueries.instance.specifications.filter [ - allAnnotations.exists[name == CONSTRAINT_ANNOTATION_NAME] - ]) - - override getName() { - "PatternMatch" - } - - override computeFitness(Solution solution) { - val model = solution.model - val queryEngine = LocalSearchEngineManager.INSTANCE.getEngine(model) - var int matchCount = 0 - for (query : queries) { - val matcher = query.getMatcher(queryEngine) - matchCount += matcher.countMatches - } - matchCount - } -} diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/src/hu/bme/mit/inf/dslreasoner/domains/satellite/mdeo/SatelliteMdeOptimiserMain.xtend b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/src/hu/bme/mit/inf/dslreasoner/domains/satellite/mdeo/SatelliteMdeOptimiserMain.xtend deleted file mode 100644 index 58034c43..00000000 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/src/hu/bme/mit/inf/dslreasoner/domains/satellite/mdeo/SatelliteMdeOptimiserMain.xtend +++ /dev/null @@ -1,51 +0,0 @@ -package hu.bme.mit.inf.dslreasoner.domains.satellite.mdeo - -import java.io.BufferedReader -import java.io.BufferedWriter -import java.io.FileReader -import java.io.FileWriter -import java.util.Map -import org.eclipse.emf.ecore.EPackage -import org.eclipse.emf.ecore.resource.Resource -import org.eclipse.emf.ecore.xmi.impl.XMIResourceFactoryImpl -import satellite.SatellitePackage -import uk.ac.kcl.inf.mdeoptimiser.interfaces.cli.Run - -class SatelliteMdeOptimiserMain { - static val PROJECT_PATH = "." - static val MOPT_PATH = "src/hu/bme/mit/inf/dslreasoner/domains/satellite/mdeo/satellite.mopt" - - private new() { - new IllegalStateException("This is a static utility class and should not be instantiated directly.") - } - - public static def void main(String[] args) { - Resource.Factory.Registry.INSTANCE.extensionToFactoryMap.put(Resource.Factory.Registry.DEFAULT_EXTENSION, - new XMIResourceFactoryImpl) - EPackage.Registry.INSTANCE.put(SatellitePackage.eNS_URI, SatellitePackage.eINSTANCE) - fixupHenshinModel("model/satellite.henshin", "model/satellite_fixup.henshin", - #{"satellite.ecore" -> SatellitePackage.eNS_URI}) - Run.main(#["-p", PROJECT_PATH, "-m", MOPT_PATH]) - } - - private def static void fixupHenshinModel(String originalPath, String outputPath, Map remapMap) { - val reader = new BufferedReader(new FileReader(originalPath)) - try { - val writer = new BufferedWriter(new FileWriter(outputPath)) - try { - var String line - while ((line = reader.readLine) !== null) { - for (entry : remapMap.entrySet) { - line = line.replace(entry.key, entry.value) - } - writer.write(line) - writer.write("\n") - } - } finally { - writer.close - } - } finally { - reader.close - } - } -} diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/src/hu/bme/mit/inf/dslreasoner/domains/satellite/mdeo/satellite.mopt b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/src/hu/bme/mit/inf/dslreasoner/domains/satellite/mdeo/satellite.mopt deleted file mode 100644 index e9bd1a64..00000000 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/src/hu/bme/mit/inf/dslreasoner/domains/satellite/mdeo/satellite.mopt +++ /dev/null @@ -1,36 +0,0 @@ -problem { - basepath - metamodel - model <../inputs/SatelliteInstance.xmi> -} - -goal { - objective Cost minimise java { "hu.bme.mit.inf.dslreasoner.domains.satellite.mdeo.CostObjective" } - constraint PatternMatch java { "hu.bme.mit.inf.dslreasoner.domains.satellite.mdeo.PatternMatchConstraint" } -} - -search { -// mutate using unit "addCubeSat3U" - mutate { "CubeSat3U" } - mutate { "CubeSat6U" } - mutate { "SmallSat" } - mutate { "InterferometryPayload" } - mutate { "UHFCommSubsystem" } - mutate { "XCommSubsystem" } - mutate { "KaCommSubsystem" } -} - -solver { - optimisation provider moea algorithm NSGAII { - variation: mutation - population: 25 - mutation.step: 3 - mutation.strategy: random - } - - termination { - time: 120 - } - - batches 1 -} \ No newline at end of file diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/src/hu/bme/mit/inf/dslreasoner/domains/satellite/queries/SatelliteQueries.vql b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/src/hu/bme/mit/inf/dslreasoner/domains/satellite/queries/SatelliteQueries.vql index c1d3f7d3..1f83a3b0 100644 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/src/hu/bme/mit/inf/dslreasoner/domains/satellite/queries/SatelliteQueries.vql +++ b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/src/hu/bme/mit/inf/dslreasoner/domains/satellite/queries/SatelliteQueries.vql @@ -21,6 +21,13 @@ pattern transmittingGroundStationNetwork(Station : GroundStationNetwork) { find transmittingCommSubsystem(Station, _); } +@Constraint(severity = "error", key = {Station}, + message = "The ground station network may not have UHF communication subsystems.") +pattern roundStationNetworkUHF(Station : GroundStationNetwork) { + CommunicatingElement.commSubsystem(Station, Comm); + UHFCommSubsystem(Comm); +} + // At least two spacecraft must have the interferometry payload configured @Constraint(severity = "error", key = {Mission}, @@ -97,10 +104,6 @@ private pattern cubeSat3U(Sat : CubeSat3U) { CubeSat3U(Sat); } -private pattern cubeSat6U(Sat : CubeSat6U) { - CubeSat6U(Sat); -} - // No communication loops may exist // No spacecraft may directly communicate with itself diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.yakindu.sgraph/META-INF/MANIFEST.MF b/Domains/hu.bme.mit.inf.dslreasoner.domains.yakindu.sgraph/META-INF/MANIFEST.MF index 81ee8677..2666dc5e 100644 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.yakindu.sgraph/META-INF/MANIFEST.MF +++ b/Domains/hu.bme.mit.inf.dslreasoner.domains.yakindu.sgraph/META-INF/MANIFEST.MF @@ -9,8 +9,7 @@ Bundle-Localization: plugin Export-Package: hu.bme.mit.inf.dslreasoner.domains.yakindu.sgraph.yakindumm, hu.bme.mit.inf.dslreasoner.domains.yakindu.sgraph.yakindumm.impl, hu.bme.mit.inf.dslreasoner.domains.yakindu.sgraph.yakindumm.util, - hu.bme.mit.inf.dslreasoner.partialsnapshot_mavo.yakindu, - hu.bme.mit.inf.dslreasoner.partialsnapshot_mavo.yakindu.mutated + hu.bme.mit.inf.dslreasoner.partialsnapshot_mavo.yakindu Require-Bundle: org.eclipse.viatra.query.runtime, org.eclipse.core.runtime, org.eclipse.emf.ecore;visibility:=reexport, diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.yakindu.sgraph/plugin.xml b/Domains/hu.bme.mit.inf.dslreasoner.domains.yakindu.sgraph/plugin.xml index 993ec75d..7bf4a20b 100644 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.yakindu.sgraph/plugin.xml +++ b/Domains/hu.bme.mit.inf.dslreasoner.domains.yakindu.sgraph/plugin.xml @@ -9,6 +9,8 @@ + + @@ -21,10 +23,14 @@ + + + + @@ -32,72 +38,4 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.yakindu.sgraph/queries/hu/bme/mit/inf/dslreasoner/partialsnapshot_mavo/yakindu/mutated/mutated.vql b/Domains/hu.bme.mit.inf.dslreasoner.domains.yakindu.sgraph/queries/hu/bme/mit/inf/dslreasoner/partialsnapshot_mavo/yakindu/mutated/mutated.vql deleted file mode 100644 index 58f66fe2..00000000 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.yakindu.sgraph/queries/hu/bme/mit/inf/dslreasoner/partialsnapshot_mavo/yakindu/mutated/mutated.vql +++ /dev/null @@ -1,270 +0,0 @@ -package hu.bme.mit.inf.dslreasoner.partialsnapshot_mavo.yakindu.mutated - -import epackage "hu.bme.mit.inf.yakindumm" - -///////// -// Entry -///////// - -pattern entryInRegion_M0(r1 : Region, e1 : Entry) { - Region.vertices(r1, e1); -} -pattern entryInRegion_M1(r1 : Region, e1) { - Region.vertices(r1, e1); -} -pattern entryInRegion_M2(r1 : Region, e1: Entry) { - // For positive constraint - Region(r1);Entry(e1); -} - - -//@Constraint(severity="error", message="error", key = {r1}) -pattern noEntryInRegion_M0(r1 : Region) { - neg find entryInRegion_M0(r1, _); -} -pattern noEntryInRegion_M1(r1 : Region) { - neg find entryInRegion_M1(r1, _); -} -pattern noEntryInRegion_M2(r1 : Region) { - neg find entryInRegion_M2(r1, _); -} -pattern noEntryInRegion_M3(r1 : Region) { - find entryInRegion_M0(r1, _); -} -pattern noEntryInRegion_M4(r1 : Region) { - find entryInRegion_M1(r1, _); -} -pattern noEntryInRegion_M5(r1 : Region) { - find entryInRegion_M2(r1, _); -} - -//@Constraint(severity="error", message="error", key = {r}) -pattern multipleEntryInRegion_M0(r : Region) { - find entryInRegion_M0(r, e1); - find entryInRegion_M0(r, e2); - e1 != e2; -} -pattern multipleEntryInRegion_M1(r : Region) { - find entryInRegion_M1(r, e1); - find entryInRegion_M0(r, e2); - e1 != e2; -} -pattern multipleEntryInRegion_M2(r : Region) { - find entryInRegion_M2(r, e1); - find entryInRegion_M0(r, e2); - e1 != e2; -} -pattern multipleEntryInRegion_M3(r : Region) { - find entryInRegion_M0(r, e1); - find entryInRegion_M1(r, e2); - e1 != e2; -} -pattern multipleEntryInRegion_M4(r : Region) { - find entryInRegion_M2(r, e1); - find entryInRegion_M2(r, e2); - e1 != e2; -} -pattern multipleEntryInRegion_M5(r : Region) { - find entryInRegion_M0(r, e1); - find entryInRegion_M0(r, e2); -} - - -pattern transition_M0(t : Transition, src : Vertex, trg : Vertex) { - Transition.source(t, src); - Transition.target(t, trg); -} -pattern transition_M1(t : Transition, src : Vertex, trg : Vertex) { - Transition.source(t, src); - Vertex(trg); -} -pattern transition_M2(t : Transition, src : Vertex, trg : Vertex) { - Vertex(src); - Transition.target(t, trg); -} -pattern transition_M3(t : Transition, src : Vertex, trg : Vertex) { - Transition.source(t_x, src); - Transition.target(t, trg); -} -pattern transition_M4(t : Transition, src : Vertex, trg : Vertex) { - Transition.source(t, src); - Transition.target(t_x, trg); -} - -//@Constraint(severity="error", message="error", key = {e}) -pattern incomingToEntry_M0(t : Transition, e : Entry) { - find transition_M0(t, _, e); -} -pattern incomingToEntry_1(t : Transition, e) { - find transition_M0(t, _, e); -} -pattern incomingToEntry_2(t : Transition, e : Entry) { - find transition_M1(t, _, e); -} -pattern incomingToEntry_3(t : Transition, e : Entry) { - find transition_M2(t, _, e); -} -pattern incomingToEntry_4(t : Transition, e : Entry) { - find transition_M3(t, _, e); -} -pattern incomingToEntry_5(t : Transition, e : Entry) { - find transition_M4(t, _, e); -} - -pattern noOutgoingTransitionFromEntry_M0(e : Entry) { - neg find transition_M0(_, e, _); -} - -pattern noOutgoingTransitionFromEntry_M1(e) { - Vertex(e); - neg find transition_M0(_, e, _); -} -pattern noOutgoingTransitionFromEntry_M2(e : Entry) { - neg find transition_M1(_, e, _); -} -pattern noOutgoingTransitionFromEntry_M3(e : Entry) { - neg find transition_M2(_, e, _); -} -pattern noOutgoingTransitionFromEntry_M4(e : Entry) { - neg find transition_M3(_, e, _); -} -pattern noOutgoingTransitionFromEntry_M5(e : Entry) { - neg find transition_M4(_, e, _); -} - - -//@Constraint(severity="error", message="error", key = {e}) -pattern multipleTransitionFromEntry_M0(e : Entry, t1 : Transition, t2: Transition) { - Entry.outgoingTransitions(e,t1); - Entry.outgoingTransitions(e,t2); - t1!=t2; -} -pattern multipleTransitionFromEntry_M1(e, t1 : Transition, t2: Transition) { - Entry.outgoingTransitions(e,t1); - Entry.outgoingTransitions(e,t2); - t1!=t2; -} -pattern multipleTransitionFromEntry_M2(e : Entry, t1 : Transition, t2: Transition) { - Transition(t1); - Entry.outgoingTransitions(e,t2); - t1!=t2; -} -pattern multipleTransitionFromEntry_M3(e : Entry, t1 : Transition, t2: Transition) { - Entry.outgoingTransitions(e,t1); - Transition(t2); - t1!=t2; -} -pattern multipleTransitionFromEntry_M4(e : Entry, t1 : Transition, t2: Transition) { - Entry.outgoingTransitions(e,t1); - Entry.outgoingTransitions(e,t2); -} - -///////// -// Exit -///////// - -//@Constraint(severity="error", message="error", key = {e}) -pattern outgoingFromExit_M0(t : Transition, e : Exit) { - Exit.outgoingTransitions(e,t); -} -pattern outgoingFromExit_M1(t : Transition, e) { - Vertex.outgoingTransitions(e,t); -} -pattern outgoingFromExit_M2(t : Transition, e : Exit) { - Transition(t); - Exit(e); -} - -///////// -// Final -///////// - -//@Constraint(severity="error", message="error", key = {f}) -pattern outgoingFromFinal_M0(t : Transition, f : FinalState) { - FinalState.outgoingTransitions(f,t); -} -pattern outgoingFromFinal_M1(t : Transition, f) { - Vertex.outgoingTransitions(f,t); -} -pattern outgoingFromFinal_M2(t : Transition, f : FinalState) { - Transition(t); - FinalState(f); -} - -///////// -// State vs Region -///////// - -//@Constraint(severity="error", message="error", key = {region}) -pattern noStateInRegion_M0(region: Region) { - neg find StateInRegion_M0(region,_); -} -pattern noStateInRegion_M1(region: Region) { - neg find StateInRegion_M1(region,_); -} -pattern noStateInRegion_M2(region: Region) { - neg find StateInRegion_M2(region,_); -} -pattern noStateInRegion_M3(region: Region) { - find StateInRegion_M0(region,_); -} - -pattern StateInRegion_M0(region: Region, state: State) { - Region.vertices(region,state); -} -pattern StateInRegion_M1(region: Region, state) { - Region.vertices(region,state); -} -pattern StateInRegion_M2(region: Region, state:State) { - Region(region);State(state); -} - -///////// -// Choice -///////// - -@Constraint(severity="error", message="error", key = {c}) -pattern choiceHasNoOutgoing_M0(c : Choice) { - neg find transition_M0(_, c, _); -} -pattern choiceHasNoOutgoing_M1(c:Vertex) { - neg find transition_M0(_, c, _); -} -pattern choiceHasNoOutgoing_M2(c : Choice) { - neg find transition_M1(_, c, _); -} -pattern choiceHasNoOutgoing_M3(c : Choice) { - neg find transition_M2(_, c, _); -} -pattern choiceHasNoOutgoing_M4(c : Choice) { - neg find transition_M3(_, c, _); -} -pattern choiceHasNoOutgoing_M5(c : Choice) { - neg find transition_M4(_, c, _); -} -pattern choiceHasNoOutgoing_M6(c : Choice) { - find transition_M0(_, c, _); -} - -@Constraint(severity="error", message="error", key = {c}) -pattern choiceHasNoIncoming_M0(c: Choice) { - neg find transition_M0(_, _, c); -} -pattern choiceHasNoIncoming_M1(c:Vertex) { - neg find transition_M0(_, _, c); -} -pattern choiceHasNoIncoming_M2(c: Choice) { - neg find transition_M1(_, _, c); -} -pattern choiceHasNoIncoming_M3(c: Choice) { - neg find transition_M2(_, _, c); -} -pattern choiceHasNoIncoming_M4(c: Choice) { - neg find transition_M3(_, _, c); -} -pattern choiceHasNoIncoming_M5(c: Choice) { - neg find transition_M4(_, _, c); -} -pattern choiceHasNoIncoming_M6(c: Choice) { - find transition_M0(_, _, c); -} diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.yakindu.sgraph/queries/hu/bme/mit/inf/dslreasoner/partialsnapshot_mavo/yakindu/patterns.vql b/Domains/hu.bme.mit.inf.dslreasoner.domains.yakindu.sgraph/queries/hu/bme/mit/inf/dslreasoner/partialsnapshot_mavo/yakindu/patterns.vql index f4bfa3c1..98a10cde 100644 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.yakindu.sgraph/queries/hu/bme/mit/inf/dslreasoner/partialsnapshot_mavo/yakindu/patterns.vql +++ b/Domains/hu.bme.mit.inf.dslreasoner.domains.yakindu.sgraph/queries/hu/bme/mit/inf/dslreasoner/partialsnapshot_mavo/yakindu/patterns.vql @@ -27,14 +27,22 @@ pattern transition(t : Transition, src : Vertex, trg : Vertex) { Transition.target(t, trg); } +pattern transitionFrom(t : Transition, src : Vertex) { + Transition.source(t, src); +} + +pattern transitionTo(t : Transition, trg : Vertex) { + Transition.target(t, trg); +} + @Constraint(severity="error", message="error", key = {e}) pattern incomingToEntry(t : Transition, e : Entry) { - find transition(t, _, e); + find transitionTo(t, e); } @Constraint(severity="error", message="error", key = {e}) pattern noOutgoingTransitionFromEntry(e : Entry) { - neg find transition(_, e, _); + neg find transitionFrom(_, e); } @Constraint(severity="error", message="error", key = {e}) @@ -80,12 +88,12 @@ pattern StateInRegion(region: Region, state: State) { @Constraint(severity="error", message="error", key = {c}) pattern choiceHasNoOutgoing(c : Choice) { - neg find transition(_, c, _); + neg find transitionFrom(_, c); } @Constraint(severity="error", message="error", key = {c}) pattern choiceHasNoIncoming(c: Choice) { - neg find transition(_, _, c); + neg find transitionTo(_, c); } ///////// @@ -94,27 +102,33 @@ pattern choiceHasNoIncoming(c: Choice) { @Constraint(severity="error", message="error", key = {s}) pattern synchHasNoOutgoing(s : Synchronization) { - neg find transition(_, s, _); + neg find transitionFrom(_, s); } @Constraint(severity="error", message="error", key = {s}) pattern synchHasNoIncoming(s : Synchronization) { - neg find transition(_, _, s); + neg find transitionTo(_, s); } @Constraint(severity="error", message="error", key = {s}) -pattern SynchronizedIncomingInSameRegion(s : Synchronization, v1 : Vertex, v2 : Vertex) { - find transition(t1, v1, s); - find transition(t2, v2, s); +pattern SynchronizedIncomingInSameRegion(s : Synchronization, t1 : Transition, t2 : Transition) { + find SynchronizedIncomingInSameRegionHelper1(r, s, t1); + find SynchronizedIncomingInSameRegionHelper1(r, s, t2); t1!=t2; - Region.vertices(r, v1); - Region.vertices(r, v2); } or { - find transition(t1, s, v1); - find transition(t2, s, v2); + find SynchronizedIncomingInSameRegionHelper2(r, s, t1); + find SynchronizedIncomingInSameRegionHelper2(r, s, t2); t1!=t2; +} + +pattern SynchronizedIncomingInSameRegionHelper1(r : Region, s : Synchronization, t1 : Transition) { + find transition(t1, v1, s); + Region.vertices(r, v1); +} + +pattern SynchronizedIncomingInSameRegionHelper2(r : Region, s : Synchronization, t1 : Transition) { + find transition(t1, s, v1); Region.vertices(r, v1); - Region.vertices(r, v2); } @Constraint(severity="error", message="error", key = {s}) @@ -136,18 +150,24 @@ pattern hasMultipleIncomingTrainsition(v : Synchronization) { } @Constraint(severity="error", message="error", key = {s}) -pattern SynchronizedRegionsAreNotSiblings(s : Synchronization, v1 : Vertex, v2 : Vertex) { - find transition(_, v1, s); - find transition(_, v2, s); - CompositeElement.regions.vertices(r1, v1); - CompositeElement.regions.vertices(r2, v2); +pattern SynchronizedRegionsAreNotSiblings(s : Synchronization, r1 : CompositeElement, r2 : CompositeElement) { + find SynchronizedRegionsAreNotSiblingsHelper1(s, r1); + find SynchronizedRegionsAreNotSiblingsHelper1(s, r2); r1 != r2; } or { + find SynchronizedRegionsAreNotSiblingsHelper2(s, r1); + find SynchronizedRegionsAreNotSiblingsHelper2(s, r2); + r1 != r2; +} + +pattern SynchronizedRegionsAreNotSiblingsHelper1(s : Synchronization, r1 : CompositeElement) { find transition(_, s, v1); - find transition(_, s, v2); CompositeElement.regions.vertices(r1, v1); - CompositeElement.regions.vertices(r2, v2); - r1 != r2; +} + +pattern SynchronizedRegionsAreNotSiblingsHelper2(s : Synchronization, r1 : CompositeElement) { + find transition(_, v1, s); + CompositeElement.regions.vertices(r1, v1); } /////////////////////////////// diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/ModelGenerationMethodProvider.xtend b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/ModelGenerationMethodProvider.xtend index 23632d4d..e45ec1c8 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/ModelGenerationMethodProvider.xtend +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/ModelGenerationMethodProvider.xtend @@ -5,6 +5,7 @@ import hu.bme.mit.inf.dslreasoner.logic.model.builder.DocumentationLevel import hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicProblem import hu.bme.mit.inf.dslreasoner.viatra2logic.viatra2logicannotations.TransfomedViatraQuery import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.cardinality.CbcPolyhedronSolver +import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.cardinality.LinearTypeConstraintHint import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.cardinality.MultiplicityGoalConstraintCalculator import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.cardinality.PolyhedronScopePropagator import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.cardinality.RelationConstraintCalculator @@ -46,16 +47,28 @@ class ModelGenerationStatistics { public var long preliminaryTypeAnalisisTime = 0 public var int decisionsTried = 0 - + synchronized def incrementDecisionCount() { decisionsTried++ } + + public var int transformationInvocations + synchronized def incrementTransformationCount() { + transformationInvocations++ + } + public var int scopePropagatorInvocations - + synchronized def incrementScopePropagationCount() { scopePropagatorInvocations++ } + + public var int scopePropagatorSolverInvocations + + synchronized def incrementScopePropagationSolverCount() { + scopePropagatorSolverInvocations++ + } } @Data class ModelGenerationMethod { @@ -93,6 +106,7 @@ class ModelGenerationMethodProvider { boolean nameNewElements, TypeInferenceMethod typeInferenceMethod, ScopePropagatorStrategy scopePropagatorStrategy, + Collection hints, DocumentationLevel debugLevel ) { val statistics = new ModelGenerationStatistics @@ -103,8 +117,8 @@ class ModelGenerationMethodProvider { val relationConstraints = relationConstraintCalculator.calculateRelationConstraints(logicProblem) val queries = patternProvider.generateQueries(logicProblem, emptySolution, statistics, existingQueries, - workspace, typeInferenceMethod, scopePropagatorStrategy, relationConstraints, writeFiles) - val scopePropagator = createScopePropagator(scopePropagatorStrategy, emptySolution, queries, statistics) + workspace, typeInferenceMethod, scopePropagatorStrategy, relationConstraints, hints, writeFiles) + val scopePropagator = createScopePropagator(scopePropagatorStrategy, emptySolution, hints, queries, statistics) scopePropagator.propagateAllScopeConstraints val objectRefinementRules = refinementRuleProvider.createObjectRefinementRules(queries, scopePropagator, nameNewElements, statistics) @@ -138,14 +152,20 @@ class ModelGenerationMethodProvider { } private def createScopePropagator(ScopePropagatorStrategy scopePropagatorStrategy, - PartialInterpretation emptySolution, GeneratedPatterns queries, ModelGenerationStatistics statistics) { + PartialInterpretation emptySolution, Collection hints, GeneratedPatterns queries, + ModelGenerationStatistics statistics) { + if (!hints.empty && !(scopePropagatorStrategy instanceof ScopePropagatorStrategy.Polyhedral)) { + throw new IllegalArgumentException("Only the Polyhedral scope propagator strategy can use hints.") + } switch (scopePropagatorStrategy) { - case ScopePropagatorStrategy.Count: + case ScopePropagatorStrategy.None, + case ScopePropagatorStrategy.Basic: new ScopePropagator(emptySolution, statistics) case ScopePropagatorStrategy.BasicTypeHierarchy: new TypeHierarchyScopePropagator(emptySolution, statistics) ScopePropagatorStrategy.Polyhedral: { val types = queries.refineObjectQueries.keySet.map[newType].toSet + val allPatternsByName = queries.allQueries.toMap[fullyQualifiedName] val solver = switch (scopePropagatorStrategy.solver) { case Z3Integer: new Z3PolyhedronSolver(false, scopePropagatorStrategy.timeoutSeconds) @@ -160,7 +180,8 @@ class ModelGenerationMethodProvider { scopePropagatorStrategy.solver) } new PolyhedronScopePropagator(emptySolution, statistics, types, queries.multiplicityConstraintQueries, - queries.hasElementInContainmentQuery, solver, scopePropagatorStrategy.requiresUpperBoundIndexing) + queries.hasElementInContainmentQuery, allPatternsByName, hints, solver, + scopePropagatorStrategy.requiresUpperBoundIndexing, scopePropagatorStrategy.updateHeuristic) } default: throw new IllegalArgumentException("Unknown scope propagator strategy: " + scopePropagatorStrategy) diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/cardinality/LinearTypeConstraintHint.xtend b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/cardinality/LinearTypeConstraintHint.xtend new file mode 100644 index 00000000..8c21ca1d --- /dev/null +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/cardinality/LinearTypeConstraintHint.xtend @@ -0,0 +1,30 @@ +package hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.cardinality + +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Type +import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.patterns.PatternGenerator +import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.PartialInterpretation +import org.eclipse.viatra.query.runtime.api.IPatternMatch +import org.eclipse.viatra.query.runtime.api.ViatraQueryMatcher + +interface LinearTypeExpressionBuilderFactory { + def ViatraQueryMatcher createMatcher(String queryName) + + def LinearTypeExpressionBuilder createBuilder() +} + +interface LinearTypeExpressionBuilder { + def LinearTypeExpressionBuilder add(int scale, Type type) + + def LinearBoundedExpression build() +} + +@FunctionalInterface +interface RelationConstraintUpdater { + def void update(PartialInterpretation p) +} + +interface LinearTypeConstraintHint { + def CharSequence getAdditionalPatterns(PatternGenerator patternGenerator) + + def RelationConstraintUpdater createConstraintUpdater(LinearTypeExpressionBuilderFactory builderFactory) +} diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/cardinality/PolyhedronScopePropagator.xtend b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/cardinality/PolyhedronScopePropagator.xtend index 7c05e818..51dba244 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/cardinality/PolyhedronScopePropagator.xtend +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/cardinality/PolyhedronScopePropagator.xtend @@ -1,5 +1,7 @@ package hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.cardinality +import com.google.common.cache.Cache +import com.google.common.cache.CacheBuilder import com.google.common.collect.ImmutableList import com.google.common.collect.ImmutableMap import com.google.common.collect.ImmutableSet @@ -15,6 +17,7 @@ import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.par import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.Scope import java.util.ArrayDeque import java.util.ArrayList +import java.util.Collection import java.util.HashMap import java.util.HashSet import java.util.List @@ -29,26 +32,33 @@ import org.eclipse.viatra.query.runtime.emf.EMFScope import org.eclipse.xtend.lib.annotations.FinalFieldsConstructor class PolyhedronScopePropagator extends TypeHierarchyScopePropagator { + static val CACHE_SIZE = 10000 + + val boolean updateHeuristic val Map scopeBounds val LinearBoundedExpression topLevelBounds val Polyhedron polyhedron val PolyhedronSaturationOperator operator val Set relevantRelations + val Cache cache = CacheBuilder.newBuilder.maximumSize(CACHE_SIZE).build List updaters = emptyList new(PartialInterpretation p, ModelGenerationStatistics statistics, Set possibleNewDynamicTypes, Map unfinishedMultiplicityQueries, IQuerySpecification> hasElementInContainmentQuery, - PolyhedronSolver solver, boolean propagateRelations) { + Map>> allPatternsByName, + Collection hints, PolyhedronSolver solver, boolean propagateRelations, + boolean updateHeuristic) { super(p, statistics) + this.updateHeuristic = updateHeuristic val builder = new PolyhedronBuilder(p) builder.buildPolyhedron(possibleNewDynamicTypes) scopeBounds = builder.scopeBounds topLevelBounds = builder.topLevelBounds polyhedron = builder.polyhedron operator = solver.createSaturationOperator(polyhedron) + propagateAllScopeConstraints() if (propagateRelations) { - propagateAllScopeConstraints() val maximumNumberOfNewNodes = topLevelBounds.upperBound if (maximumNumberOfNewNodes === null) { throw new IllegalStateException("Could not determine maximum number of new nodes, it may be unbounded") @@ -57,7 +67,7 @@ class PolyhedronScopePropagator extends TypeHierarchyScopePropagator { throw new IllegalStateException("Maximum number of new nodes is not positive") } builder.buildMultiplicityConstraints(unfinishedMultiplicityQueries, hasElementInContainmentQuery, - maximumNumberOfNewNodes) + allPatternsByName, hints, maximumNumberOfNewNodes) relevantRelations = builder.relevantRelations updaters = builder.updaters } else { @@ -66,21 +76,40 @@ class PolyhedronScopePropagator extends TypeHierarchyScopePropagator { } override void doPropagateAllScopeConstraints() { + super.doPropagateAllScopeConstraints() resetBounds() populatePolyhedronFromScope() // println(polyhedron) - val result = operator.saturate() -// println(polyhedron) - if (result == PolyhedronSaturationResult.EMPTY) { - setScopesInvalid() - } else { - populateScopesFromPolyhedron() - if (result != PolyhedronSaturationResult.SATURATED) { - super.propagateAllScopeConstraints() + val signature = polyhedron.createSignature + val cachedSignature = cache.getIfPresent(signature) + switch (cachedSignature) { + case null: { + statistics.incrementScopePropagationSolverCount + val result = operator.saturate() + if (result == PolyhedronSaturationResult.EMPTY) { + cache.put(signature, PolyhedronSignature.EMPTY) + setScopesInvalid() + } else { + val resultSignature = polyhedron.createSignature + cache.put(signature, resultSignature) + populateScopesFromPolyhedron() + } } + case PolyhedronSignature.EMPTY: + setScopesInvalid() + PolyhedronSignature.Bounds: { + polyhedron.applySignature(signature) + populateScopesFromPolyhedron() + } + default: + throw new IllegalStateException("Unknown polyhedron signature: " + signature) + } +// println(polyhedron) + if (updateHeuristic) { + copyScopeBoundsToHeuristic() } } - + override propagateAdditionToRelation(Relation r) { super.propagateAdditionToRelation(r) if (relevantRelations.contains(r)) { @@ -186,7 +215,7 @@ class PolyhedronScopePropagator extends TypeHierarchyScopePropagator { } @FinalFieldsConstructor - private static class PolyhedronBuilder { + private static class PolyhedronBuilder implements LinearTypeExpressionBuilderFactory { static val INFINITY_SCALE = 10 val PartialInterpretation p @@ -197,6 +226,7 @@ class PolyhedronScopePropagator extends TypeHierarchyScopePropagator { Map typeBounds int infinity ViatraQueryEngine queryEngine + Map>> allPatternsByName ImmutableList.Builder updatersBuilder Map scopeBounds @@ -222,9 +252,11 @@ class PolyhedronScopePropagator extends TypeHierarchyScopePropagator { def buildMultiplicityConstraints( Map constraints, IQuerySpecification> hasElementInContainmentQuery, - int maximumNuberOfNewNodes) { + Map>> allPatternsByName, + Collection hints, int maximumNuberOfNewNodes) { infinity = maximumNuberOfNewNodes * INFINITY_SCALE queryEngine = ViatraQueryEngine.on(new EMFScope(p)) + this.allPatternsByName = allPatternsByName updatersBuilder = ImmutableList.builder val containmentConstraints = constraints.entrySet.filter[key.containment].groupBy[key.targetType] for (pair : containmentConstraints.entrySet) { @@ -238,10 +270,13 @@ class PolyhedronScopePropagator extends TypeHierarchyScopePropagator { } } buildRelevantRelations(constraints.keySet) + for (hint : hints) { + updatersBuilder.add(hint.createConstraintUpdater(this)) + } updaters = updatersBuilder.build addCachedConstraintsToPolyhedron() } - + private def buildRelevantRelations(Set constraints) { val builder = ImmutableSet.builder for (constraint : constraints) { @@ -345,7 +380,7 @@ class PolyhedronScopePropagator extends TypeHierarchyScopePropagator { } } - private def addCoefficients(Map accumulator, int scale, Map a) { + private static def addCoefficients(Map accumulator, int scale, Map a) { for (pair : a.entrySet) { val dimension = pair.key val currentValue = accumulator.get(pair.key) ?: 0 @@ -411,14 +446,41 @@ class PolyhedronScopePropagator extends TypeHierarchyScopePropagator { } scopeBoundsBuilder.build } + + override createMatcher(String queryName) { + val querySpecification = allPatternsByName.get(queryName) + if (querySpecification === null) { + throw new IllegalArgumentException("Unknown pattern: " + queryName) + } + querySpecification.getMatcher(queryEngine) + } + + override createBuilder() { + new PolyhedronBuilderLinearTypeExpressionBuilder(this) + } } - private static interface RelationConstraintUpdater { - def void update(PartialInterpretation p) + @FinalFieldsConstructor + private static class PolyhedronBuilderLinearTypeExpressionBuilder implements LinearTypeExpressionBuilder { + val PolyhedronBuilder polyhedronBuilder + val Map coefficients = new HashMap + + override add(int scale, Type type) { + val typeCoefficients = polyhedronBuilder.subtypeDimensions.get(type) + if (typeCoefficients === null) { + throw new IllegalArgumentException("Unknown type: " + type) + } + PolyhedronBuilder.addCoefficients(coefficients, scale, typeCoefficients) + this + } + + override build() { + polyhedronBuilder.toExpression(coefficients) + } } @FinalFieldsConstructor - static class ContainmentConstraintUpdater implements RelationConstraintUpdater { + private static class ContainmentConstraintUpdater implements RelationConstraintUpdater { val String name val LinearBoundedExpression orphansLowerBound val LinearBoundedExpression orphansUpperBound @@ -460,7 +522,7 @@ class PolyhedronScopePropagator extends TypeHierarchyScopePropagator { } @FinalFieldsConstructor - static class ContainmentRootConstraintUpdater implements RelationConstraintUpdater { + private static class ContainmentRootConstraintUpdater implements RelationConstraintUpdater { val LinearBoundedExpression typeCardinality val ViatraQueryMatcher hasElementInContainmentMatcher @@ -479,7 +541,7 @@ class PolyhedronScopePropagator extends TypeHierarchyScopePropagator { } @FinalFieldsConstructor - static class UnfinishedMultiplicityConstraintUpdater implements RelationConstraintUpdater { + private static class UnfinishedMultiplicityConstraintUpdater implements RelationConstraintUpdater { val String name val LinearBoundedExpression availableMultiplicityExpression val ViatraQueryMatcher unfinishedMultiplicityMatcher @@ -500,7 +562,7 @@ class PolyhedronScopePropagator extends TypeHierarchyScopePropagator { } @FinalFieldsConstructor - static class UnrepairableMultiplicityConstraintUpdater implements RelationConstraintUpdater { + private static class UnrepairableMultiplicityConstraintUpdater implements RelationConstraintUpdater { val String name val LinearBoundedExpression targetCardinalityExpression val ViatraQueryMatcher unrepairableMultiplicityMatcher diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/cardinality/PolyhedronSolver.xtend b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/cardinality/PolyhedronSolver.xtend index 9c6cb82e..4e046190 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/cardinality/PolyhedronSolver.xtend +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/cardinality/PolyhedronSolver.xtend @@ -3,6 +3,7 @@ package hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.cardinality import java.util.List import java.util.Map import org.eclipse.xtend.lib.annotations.Accessors +import org.eclipse.xtend.lib.annotations.Data import org.eclipse.xtend.lib.annotations.FinalFieldsConstructor interface PolyhedronSolver { @@ -52,16 +53,66 @@ class Polyhedron { val List expressionsToSaturate override toString() ''' - Dimensions: - «FOR dimension : dimensions» - «dimension» - «ENDFOR» - Constraints: - «FOR constraint : constraints» - «constraint» - «ENDFOR» + Dimensions: + «FOR dimension : dimensions» + «dimension» + «ENDFOR» + Constraints: + «FOR constraint : constraints» + «constraint» + «ENDFOR» ''' + def createSignature() { + val size = dimensions.size + constraints.size + val lowerBounds = newArrayOfSize(size) + val upperBounds = newArrayOfSize(size) + var int i = 0 + for (dimension : dimensions) { + lowerBounds.set(i, dimension.lowerBound) + upperBounds.set(i, dimension.upperBound) + i++ + } + for (constraint : constraints) { + lowerBounds.set(i, constraint.lowerBound) + upperBounds.set(i, constraint.upperBound) + i++ + } + new PolyhedronSignature.Bounds(lowerBounds, upperBounds) + } + + def applySignature(PolyhedronSignature.Bounds signature) { + val lowerBounds = signature.lowerBounds + val upperBounds = signature.upperBounds + var int i = 0 + for (dimension : dimensions) { + dimension.lowerBound = lowerBounds.get(i) + dimension.upperBound = upperBounds.get(i) + i++ + } + for (constraint : constraints) { + constraint.lowerBound = lowerBounds.get(i) + constraint.upperBound = upperBounds.get(i) + i++ + } + } +} + +abstract class PolyhedronSignature { + public static val EMPTY = new PolyhedronSignature { + override toString() { + "PolyhedronSignature.EMPTY" + } + } + + private new() { + } + + @Data + static class Bounds extends PolyhedronSignature { + val Integer[] lowerBounds + val Integer[] upperBounds + } } @Accessors @@ -80,6 +131,11 @@ abstract class LinearBoundedExpression { upperBound = tighterBound } } + + def void assertEqualsTo(int bound) { + tightenLowerBound(bound) + tightenUpperBound(bound) + } } @Accessors diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/cardinality/RelationConstraintCalculator.xtend b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/cardinality/RelationConstraintCalculator.xtend index 52a390a8..013e53e1 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/cardinality/RelationConstraintCalculator.xtend +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/cardinality/RelationConstraintCalculator.xtend @@ -117,9 +117,12 @@ class RelationConstraintCalculator { var inverseUpperMultiplicity = -1 val inverseRelation = inverseRelations.get(relation) if (inverseRelation !== null) { - inverseUpperMultiplicity = upperMultiplicities.get(relation) + inverseUpperMultiplicity = upperMultiplicities.get(inverseRelation) container = containmentRelations.contains(inverseRelation) } + if (containment) { + inverseUpperMultiplicity = 1 + } val constraint = new RelationMultiplicityConstraint(relation, inverseRelation, containment, container, lowerMultiplicity, upperMultiplicity, inverseUpperMultiplicity) if (constraint.isActive) { diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/cardinality/ScopePropagator.xtend b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/cardinality/ScopePropagator.xtend index 0bdb202e..2376fb38 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/cardinality/ScopePropagator.xtend +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/cardinality/ScopePropagator.xtend @@ -14,7 +14,7 @@ import org.eclipse.xtend.lib.annotations.Accessors class ScopePropagator { @Accessors(PROTECTED_GETTER) val PartialInterpretation partialInterpretation - val ModelGenerationStatistics statistics + @Accessors(PROTECTED_GETTER) val ModelGenerationStatistics statistics val Map type2Scope @Accessors(PROTECTED_GETTER) val Map> superScopes @Accessors(PROTECTED_GETTER) val Map> subScopes @@ -59,12 +59,21 @@ class ScopePropagator { } } } while (changed) + + copyScopeBoundsToHeuristic() } def propagateAllScopeConstraints() { statistics.incrementScopePropagationCount() doPropagateAllScopeConstraints() } + + protected def copyScopeBoundsToHeuristic() { + partialInterpretation.minNewElementsHeuristic = partialInterpretation.minNewElements + for (scope : partialInterpretation.scopes) { + scope.minNewElementsHeuristic = scope.minNewElements + } + } protected def void doPropagateAllScopeConstraints() { // Nothing to propagate. @@ -73,12 +82,17 @@ class ScopePropagator { def propagateAdditionToType(PartialTypeInterpratation t) { // println('''Adding to «(t as PartialComplexTypeInterpretation).interpretationOf.name»''') val targetScope = type2Scope.get(t) - targetScope.removeOne - val sups = superScopes.get(targetScope) - sups.forEach[removeOne] + if (targetScope !== null) { + targetScope.removeOne + val sups = superScopes.get(targetScope) + sups.forEach[removeOne] + } if (this.partialInterpretation.minNewElements > 0) { this.partialInterpretation.minNewElements = this.partialInterpretation.minNewElements - 1 } + if (this.partialInterpretation.minNewElementsHeuristic > 0) { + this.partialInterpretation.minNewElementsHeuristic = this.partialInterpretation.minNewElementsHeuristic - 1 + } if (this.partialInterpretation.maxNewElements > 0) { this.partialInterpretation.maxNewElements = this.partialInterpretation.maxNewElements - 1 } else if (this.partialInterpretation.maxNewElements === 0) { @@ -105,5 +119,8 @@ class ScopePropagator { if (scope.minNewElements > 0) { scope.minNewElements = scope.minNewElements - 1 } + if (scope.minNewElementsHeuristic > 0) { + scope.minNewElementsHeuristic = scope.minNewElementsHeuristic - 1 + } } } diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/cardinality/ScopePropagatorStrategy.xtend b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/cardinality/ScopePropagatorStrategy.xtend index b0ed75cb..3165917a 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/cardinality/ScopePropagatorStrategy.xtend +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/cardinality/ScopePropagatorStrategy.xtend @@ -16,7 +16,9 @@ enum PolyhedralScopePropagatorSolver { } abstract class ScopePropagatorStrategy { - public static val Count = new Simple("Count") + public static val None = new Simple("None") + + public static val Basic = new Simple("Basic") public static val BasicTypeHierarchy = new Simple("BasicTypeHierarchy") @@ -47,14 +49,19 @@ abstract class ScopePropagatorStrategy { val PolyhedralScopePropagatorConstraints constraints val PolyhedralScopePropagatorSolver solver + val boolean updateHeuristic val double timeoutSeconds @FinalFieldsConstructor new() { } + new(PolyhedralScopePropagatorConstraints constraints, PolyhedralScopePropagatorSolver solver, boolean updateHeuristic) { + this(constraints, solver, updateHeuristic, UNLIMITED_TIME) + } + new(PolyhedralScopePropagatorConstraints constraints, PolyhedralScopePropagatorSolver solver) { - this(constraints, solver, UNLIMITED_TIME) + this(constraints, solver, true) } override requiresUpperBoundIndexing() { diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/cardinality/TypeHierarchyScopePropagator.xtend b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/cardinality/TypeHierarchyScopePropagator.xtend index be8ef00a..d1704b39 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/cardinality/TypeHierarchyScopePropagator.xtend +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/cardinality/TypeHierarchyScopePropagator.xtend @@ -27,12 +27,16 @@ class TypeHierarchyScopePropagator extends ScopePropagator { } private def propagateLowerLimitUp(Scope subScope, Scope superScope) { + var changed = false if (subScope.minNewElements > superScope.minNewElements) { superScope.minNewElements = subScope.minNewElements - return true - } else { - return false + changed = true + } + if (subScope.minNewElementsHeuristic > superScope.minNewElementsHeuristic) { + superScope.minNewElementsHeuristic = subScope.minNewElementsHeuristic + changed = true } + changed } private def propagateUpperLimitDown(Scope subScope, Scope superScope) { @@ -50,16 +54,20 @@ class TypeHierarchyScopePropagator extends ScopePropagator { } private def propagateLowerLimitUp(Scope subScope, PartialInterpretation p) { + var changed = false if (subScope.minNewElements > p.minNewElements) { // println(''' // «(subScope.targetTypeInterpretation as PartialComplexTypeInterpretation).interpretationOf.name» -> nodes // p.minNewElements «p.minNewElements» = subScope.minNewElements «subScope.minNewElements» // ''') p.minNewElements = subScope.minNewElements - return true - } else { - return false + changed = true + } + if (subScope.minNewElementsHeuristic > p.minNewElementsHeuristic) { + p.minNewElementsHeuristic = subScope.minNewElementsHeuristic + changed = true } + changed } private def propagateUpperLimitDown(Scope subScope, PartialInterpretation p) { diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/cardinality/Z3PolyhedronSolver.xtend b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/cardinality/Z3PolyhedronSolver.xtend index 23444956..3b831433 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/cardinality/Z3PolyhedronSolver.xtend +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/cardinality/Z3PolyhedronSolver.xtend @@ -13,6 +13,7 @@ import java.math.BigDecimal import java.math.MathContext import java.math.RoundingMode import java.util.Map +import org.eclipse.xtend.lib.annotations.Accessors import org.eclipse.xtend.lib.annotations.FinalFieldsConstructor class Z3PolyhedronSolver implements PolyhedronSolver { @@ -28,10 +29,33 @@ class Z3PolyhedronSolver implements PolyhedronSolver { } override createSaturationOperator(Polyhedron polyhedron) { + new DisposingZ3SaturationOperator(this, polyhedron) + } + + def createPersistentSaturationOperator(Polyhedron polyhedron) { new Z3SaturationOperator(polyhedron, lpRelaxation, timeoutSeconds) } } +@FinalFieldsConstructor +class DisposingZ3SaturationOperator implements PolyhedronSaturationOperator { + val Z3PolyhedronSolver solver + @Accessors val Polyhedron polyhedron + + override saturate() { + val persistentOperator = solver.createPersistentSaturationOperator(polyhedron) + try { + persistentOperator.saturate + } finally { + persistentOperator.close + } + } + + override close() throws Exception { + // Nothing to close. + } +} + class Z3SaturationOperator extends AbstractPolyhedronSaturationOperator { static val INFINITY_SYMBOL_NAME = "oo" static val MULT_SYMBOL_NAME = "*" @@ -106,9 +130,9 @@ class Z3SaturationOperator extends AbstractPolyhedronSaturationOperator { IntNum: resultExpr.getInt() RatNum: - floor(resultExpr) + ceil(resultExpr) AlgebraicNum: - floor(resultExpr.toLower(ALGEBRAIC_NUMBER_ROUNDING)) + ceil(resultExpr.toUpper(ALGEBRAIC_NUMBER_ROUNDING)) default: if (isNegativeInfinity(resultExpr)) { null @@ -136,9 +160,9 @@ class Z3SaturationOperator extends AbstractPolyhedronSaturationOperator { IntNum: resultExpr.getInt() RatNum: - ceil(resultExpr) + floor(resultExpr) AlgebraicNum: - ceil(resultExpr.toUpper(ALGEBRAIC_NUMBER_ROUNDING)) + floor(resultExpr.toLower(ALGEBRAIC_NUMBER_ROUNDING)) default: if (isPositiveInfinity(resultExpr)) { null diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/patterns/PatternGenerator.xtend b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/patterns/PatternGenerator.xtend index 1b0db90e..5c35fb54 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/patterns/PatternGenerator.xtend +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/patterns/PatternGenerator.xtend @@ -16,8 +16,11 @@ import hu.bme.mit.inf.dslreasoner.viatra2logic.viatra2logicannotations.Transform import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.Modality import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.TypeAnalysisResult import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.TypeInferenceMethod +import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.cardinality.LinearTypeConstraintHint import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.cardinality.RelationConstraints +import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.cardinality.ScopePropagatorStrategy import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.PartialInterpretation +import java.util.Collection import java.util.HashMap import java.util.Map import org.eclipse.emf.ecore.EAttribute @@ -26,7 +29,6 @@ import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PQuery import org.eclipse.xtend.lib.annotations.Accessors import static extension hu.bme.mit.inf.dslreasoner.util.CollectionsUtil.* -import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.cardinality.ScopePropagatorStrategy class PatternGenerator { @Accessors(PUBLIC_GETTER) val TypeIndexer typeIndexer // = new TypeIndexer(this) @@ -104,7 +106,9 @@ class PatternGenerator { } def isRepresentative(Relation relation, Relation inverse) { - if (inverse === null) { + if (relation === null) { + return false + } else if (inverse === null) { return true } else { relation.name.compareTo(inverse.name) < 1 @@ -144,7 +148,8 @@ class PatternGenerator { PartialInterpretation emptySolution, Map fqn2PQuery, TypeAnalysisResult typeAnalysisResult, - RelationConstraints constraints + RelationConstraints constraints, + Collection hints ) { return ''' @@ -294,6 +299,13 @@ class PatternGenerator { // 4.3 Relation refinement ////////// «relationRefinementGenerator.generateRefineReference(problem)» + + ////////// + // 5 Hints + ////////// + «FOR hint : hints» + «hint.getAdditionalPatterns(this)» + «ENDFOR» ''' } } diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/patterns/PatternProvider.xtend b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/patterns/PatternProvider.xtend index eadf0ae0..f5c85524 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/patterns/PatternProvider.xtend +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/patterns/PatternProvider.xtend @@ -26,6 +26,7 @@ import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PQuery import org.eclipse.xtend.lib.annotations.Data import static extension hu.bme.mit.inf.dslreasoner.util.CollectionsUtil.* +import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.cardinality.LinearTypeConstraintHint @Data class GeneratedPatterns { @@ -62,7 +63,8 @@ class PatternProvider { def generateQueries(LogicProblem problem, PartialInterpretation emptySolution, ModelGenerationStatistics statistics, Set existingQueries, ReasonerWorkspace workspace, TypeInferenceMethod typeInferenceMethod, - ScopePropagatorStrategy scopePropagatorStrategy, RelationConstraints relationConstraints, boolean writeToFile) { + ScopePropagatorStrategy scopePropagatorStrategy, RelationConstraints relationConstraints, + Collection hints, boolean writeToFile) { val fqn2Query = existingQueries.toMap[it.fullyQualifiedName] val PatternGenerator patternGenerator = new PatternGenerator(typeInferenceMethod, scopePropagatorStrategy) val typeAnalysisResult = if (patternGenerator.requiresTypeAnalysis) { @@ -75,7 +77,7 @@ class PatternProvider { null } val baseIndexerFile = patternGenerator.transformBaseProperties(problem, emptySolution, fqn2Query, - typeAnalysisResult, relationConstraints) + typeAnalysisResult, relationConstraints, hints) if (writeToFile) { workspace.writeText('''generated3valued.vql_deactivated''', baseIndexerFile) } diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/patterns/RelationRefinementGenerator.xtend b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/patterns/RelationRefinementGenerator.xtend index fa73c861..d915d47e 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/patterns/RelationRefinementGenerator.xtend +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/patterns/RelationRefinementGenerator.xtend @@ -44,7 +44,7 @@ class RelationRefinementGenerator { def referRefinementQuery(RelationDeclaration relation, Relation inverseRelation, String relInterpretationName, String inverseInterpretationName, String sourceName, - String targetName) '''find «this.relationRefinementQueryName(relation,inverseRelation)»(problem, interpretation, «relInterpretationName», «IF inverseRelation !== null»inverseInterpretationName, «ENDIF»«sourceName», «targetName»);''' + String targetName) '''find «this.relationRefinementQueryName(relation,inverseRelation)»(problem, interpretation, «relInterpretationName», «IF inverseRelation !== null»«inverseInterpretationName», «ENDIF»«sourceName», «targetName»);''' def getRefineRelationQueries(LogicProblem p) { // val containmentRelations = p.containmentHierarchies.map[containmentRelations].flatten.toSet diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/patterns/UnfinishedIndexer.xtend b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/patterns/UnfinishedIndexer.xtend index 15b5a047..a8a07756 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/patterns/UnfinishedIndexer.xtend +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/patterns/UnfinishedIndexer.xtend @@ -1,5 +1,6 @@ package hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.patterns +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.RelationDeclaration import hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicProblem import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.Modality import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.cardinality.RelationMultiplicityConstraint @@ -76,21 +77,26 @@ class UnfinishedIndexer { «IF indexUpperMultiplicities» «IF constraint.constrainsUnrepairable || constraint.constrainsRemainingInverse» private pattern «repairMatchName(constraint)»(problem:LogicProblem, interpretation:PartialInterpretation, source:DefinedElement, target:DefinedElement) { - find interpretation(problem,interpretation); - find mustExist(problem,interpretation,source); - «base.typeIndexer.referInstanceOf(constraint.sourceType,Modality::MUST,"source")» - find mustExist(problem,interpretation,target); - «base.typeIndexer.referInstanceOf(constraint.targetType,Modality::MUST,"target")» - neg «base.referRelation(constraint.relation,"source","target",Modality.MUST,fqn2PQuery)» - «base.referRelation(constraint.relation,"source","target",Modality.MAY,fqn2PQuery)» + «IF base.isRepresentative(constraint.relation, constraint.inverseRelation) && constraint.relation instanceof RelationDeclaration» + «base.relationRefinementGenerator.referRefinementQuery(constraint.relation as RelationDeclaration, constraint.inverseRelation, "_", "_", "source", "target")» + «ELSE» + «IF base.isRepresentative(constraint.inverseRelation, constraint.relation) && constraint.inverseRelation instanceof RelationDeclaration» + «base.relationRefinementGenerator.referRefinementQuery(constraint.inverseRelation as RelationDeclaration, constraint.relation, "_", "_", "target", "source")» + «ELSE» + find interpretation(problem,interpretation); + find mustExist(problem,interpretation,source); + «base.typeIndexer.referInstanceOf(constraint.sourceType,Modality::MUST,"source")» + find mustExist(problem,interpretation,target); + «base.typeIndexer.referInstanceOf(constraint.targetType,Modality::MUST,"target")» + neg «base.referRelation(constraint.relation,"source","target",Modality.MUST,fqn2PQuery)» + «base.referRelation(constraint.relation,"source","target",Modality.MAY,fqn2PQuery)» + «ENDIF» + «ENDIF» } «ENDIF» «IF constraint.constrainsUnrepairable» private pattern «unrepairableMultiplicityName(constraint)»_helper(problem:LogicProblem, interpretation:PartialInterpretation, object:DefinedElement, unrepairableMultiplicity:java Integer) { - find interpretation(problem,interpretation); - find mustExist(problem,interpretation,object); - «base.typeIndexer.referInstanceOf(constraint.sourceType,Modality::MUST,"object")» find «unfinishedMultiplicityName(constraint)»_helper(problem, interpretation, object, missingMultiplicity); numberOfRepairMatches == count find «repairMatchName(constraint)»(problem, interpretation, object, _); check(numberOfRepairMatches < missingMultiplicity); diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/rules/RefinementRuleProvider.xtend b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/rules/RefinementRuleProvider.xtend index bf816de9..7891ebd8 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/rules/RefinementRuleProvider.xtend +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/rules/RefinementRuleProvider.xtend @@ -67,7 +67,8 @@ class RefinementRuleProvider { if(containmentRelation != null) { if(inverseRelation!= null) { ruleBuilder.action[match | - //println(name) + statistics.incrementTransformationCount +// println(name) val startTime = System.nanoTime //val problem = match.get(0) as LogicProblem val interpretation = match.get(1) as PartialInterpretation @@ -107,7 +108,8 @@ class RefinementRuleProvider { ] } else { ruleBuilder.action[match | - //println(name) + statistics.incrementTransformationCount +// println(name) val startTime = System.nanoTime //val problem = match.get(0) as LogicProblem val interpretation = match.get(1) as PartialInterpretation @@ -144,6 +146,9 @@ class RefinementRuleProvider { } } else { ruleBuilder.action[match | + statistics.incrementTransformationCount +// println(name) + val startTime = System.nanoTime //val problem = match.get(0) as LogicProblem val interpretation = match.get(1) as PartialInterpretation @@ -198,8 +203,9 @@ class RefinementRuleProvider { .precondition(lhs) if (inverseRelation == null) { ruleBuilder.action [ match | + statistics.incrementTransformationCount val startTime = System.nanoTime - //println(name) +// println(name) // val problem = match.get(0) as LogicProblem // val interpretation = match.get(1) as PartialInterpretation val relationInterpretation = match.get(2) as PartialRelationInterpretation @@ -217,8 +223,9 @@ class RefinementRuleProvider { ] } else { ruleBuilder.action [ match | + statistics.incrementTransformationCount val startTime = System.nanoTime - //println(name) +// println(name) // val problem = match.get(0) as LogicProblem // val interpretation = match.get(1) as PartialInterpretation val relationInterpretation = match.get(2) as PartialRelationInterpretation diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/ecore-gen/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/partialinterpretation/PartialInterpretation.java b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/ecore-gen/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/partialinterpretation/PartialInterpretation.java index 098cc15b..9d0c3fea 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/ecore-gen/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/partialinterpretation/PartialInterpretation.java +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/ecore-gen/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/partialinterpretation/PartialInterpretation.java @@ -30,6 +30,7 @@ import org.eclipse.emf.ecore.EObject; *
  • {@link hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.PartialInterpretation#getScopes Scopes}
  • *
  • {@link hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.PartialInterpretation#getMinNewElements Min New Elements}
  • *
  • {@link hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.PartialInterpretation#getMaxNewElements Max New Elements}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.PartialInterpretation#getMinNewElementsHeuristic Min New Elements Heuristic}
  • * * * @see hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.PartialinterpretationPackage#getPartialInterpretation() @@ -255,4 +256,27 @@ public interface PartialInterpretation extends EObject { */ void setMaxNewElements(int value); + /** + * Returns the value of the 'Min New Elements Heuristic' attribute. + * The default value is "0". + * + * + * @return the value of the 'Min New Elements Heuristic' attribute. + * @see #setMinNewElementsHeuristic(int) + * @see hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.PartialinterpretationPackage#getPartialInterpretation_MinNewElementsHeuristic() + * @model default="0" required="true" + * @generated + */ + int getMinNewElementsHeuristic(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.PartialInterpretation#getMinNewElementsHeuristic Min New Elements Heuristic}' attribute. + * + * + * @param value the new value of the 'Min New Elements Heuristic' attribute. + * @see #getMinNewElementsHeuristic() + * @generated + */ + void setMinNewElementsHeuristic(int value); + } // PartialInterpretation diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/ecore-gen/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/partialinterpretation/PartialinterpretationPackage.java b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/ecore-gen/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/partialinterpretation/PartialinterpretationPackage.java index 4f34b9b7..f462ebe4 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/ecore-gen/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/partialinterpretation/PartialinterpretationPackage.java +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/ecore-gen/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/partialinterpretation/PartialinterpretationPackage.java @@ -166,6 +166,15 @@ public interface PartialinterpretationPackage extends EPackage { */ int PARTIAL_INTERPRETATION__MAX_NEW_ELEMENTS = 10; + /** + * The feature id for the 'Min New Elements Heuristic' attribute. + * + * + * @generated + * @ordered + */ + int PARTIAL_INTERPRETATION__MIN_NEW_ELEMENTS_HEURISTIC = 11; + /** * The number of structural features of the 'Partial Interpretation' class. * @@ -173,7 +182,7 @@ public interface PartialinterpretationPackage extends EPackage { * @generated * @ordered */ - int PARTIAL_INTERPRETATION_FEATURE_COUNT = 11; + int PARTIAL_INTERPRETATION_FEATURE_COUNT = 12; /** * The number of operations of the 'Partial Interpretation' class. @@ -912,6 +921,15 @@ public interface PartialinterpretationPackage extends EPackage { */ int SCOPE__TARGET_TYPE_INTERPRETATION = 2; + /** + * The feature id for the 'Min New Elements Heuristic' attribute. + * + * + * @generated + * @ordered + */ + int SCOPE__MIN_NEW_ELEMENTS_HEURISTIC = 3; + /** * The number of structural features of the 'Scope' class. * @@ -919,7 +937,7 @@ public interface PartialinterpretationPackage extends EPackage { * @generated * @ordered */ - int SCOPE_FEATURE_COUNT = 3; + int SCOPE_FEATURE_COUNT = 4; /** * The number of operations of the 'Scope' class. @@ -1357,6 +1375,17 @@ public interface PartialinterpretationPackage extends EPackage { */ EAttribute getPartialInterpretation_MaxNewElements(); + /** + * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.PartialInterpretation#getMinNewElementsHeuristic Min New Elements Heuristic}'. + * + * + * @return the meta object for the attribute 'Min New Elements Heuristic'. + * @see hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.PartialInterpretation#getMinNewElementsHeuristic() + * @see #getPartialInterpretation() + * @generated + */ + EAttribute getPartialInterpretation_MinNewElementsHeuristic(); + /** * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.PartialConstantInterpretation Partial Constant Interpretation}'. * @@ -1749,6 +1778,17 @@ public interface PartialinterpretationPackage extends EPackage { */ EReference getScope_TargetTypeInterpretation(); + /** + * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.Scope#getMinNewElementsHeuristic Min New Elements Heuristic}'. + * + * + * @return the meta object for the attribute 'Min New Elements Heuristic'. + * @see hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.Scope#getMinNewElementsHeuristic() + * @see #getScope() + * @generated + */ + EAttribute getScope_MinNewElementsHeuristic(); + /** * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.PartialPrimitiveInterpretation Partial Primitive Interpretation}'. * @@ -1952,6 +1992,14 @@ public interface PartialinterpretationPackage extends EPackage { */ EAttribute PARTIAL_INTERPRETATION__MAX_NEW_ELEMENTS = eINSTANCE.getPartialInterpretation_MaxNewElements(); + /** + * The meta object literal for the 'Min New Elements Heuristic' attribute feature. + * + * + * @generated + */ + EAttribute PARTIAL_INTERPRETATION__MIN_NEW_ELEMENTS_HEURISTIC = eINSTANCE.getPartialInterpretation_MinNewElementsHeuristic(); + /** * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.impl.PartialConstantInterpretationImpl Partial Constant Interpretation}' class. * @@ -2278,6 +2326,14 @@ public interface PartialinterpretationPackage extends EPackage { */ EReference SCOPE__TARGET_TYPE_INTERPRETATION = eINSTANCE.getScope_TargetTypeInterpretation(); + /** + * The meta object literal for the 'Min New Elements Heuristic' attribute feature. + * + * + * @generated + */ + EAttribute SCOPE__MIN_NEW_ELEMENTS_HEURISTIC = eINSTANCE.getScope_MinNewElementsHeuristic(); + /** * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.impl.PartialPrimitiveInterpretationImpl Partial Primitive Interpretation}' class. * diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/ecore-gen/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/partialinterpretation/Scope.java b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/ecore-gen/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/partialinterpretation/Scope.java index 155b9f00..a0b58615 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/ecore-gen/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/partialinterpretation/Scope.java +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/ecore-gen/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/partialinterpretation/Scope.java @@ -16,6 +16,7 @@ import org.eclipse.emf.ecore.EObject; *
  • {@link hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.Scope#getMinNewElements Min New Elements}
  • *
  • {@link hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.Scope#getMaxNewElements Max New Elements}
  • *
  • {@link hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.Scope#getTargetTypeInterpretation Target Type Interpretation}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.Scope#getMinNewElementsHeuristic Min New Elements Heuristic}
  • * * * @see hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.PartialinterpretationPackage#getScope() @@ -105,4 +106,27 @@ public interface Scope extends EObject { */ void setTargetTypeInterpretation(PartialTypeInterpratation value); + /** + * Returns the value of the 'Min New Elements Heuristic' attribute. + * The default value is "0". + * + * + * @return the value of the 'Min New Elements Heuristic' attribute. + * @see #setMinNewElementsHeuristic(int) + * @see hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.PartialinterpretationPackage#getScope_MinNewElementsHeuristic() + * @model default="0" required="true" + * @generated + */ + int getMinNewElementsHeuristic(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.Scope#getMinNewElementsHeuristic Min New Elements Heuristic}' attribute. + * + * + * @param value the new value of the 'Min New Elements Heuristic' attribute. + * @see #getMinNewElementsHeuristic() + * @generated + */ + void setMinNewElementsHeuristic(int value); + } // Scope diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/ecore-gen/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/partialinterpretation/impl/BinaryElementRelationLinkImpl.java b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/ecore-gen/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/partialinterpretation/impl/BinaryElementRelationLinkImpl.java index f5efe02a..ca33dd65 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/ecore-gen/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/partialinterpretation/impl/BinaryElementRelationLinkImpl.java +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/ecore-gen/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/partialinterpretation/impl/BinaryElementRelationLinkImpl.java @@ -73,6 +73,7 @@ public class BinaryElementRelationLinkImpl extends RelationLinkImpl implements B * * @generated */ + @Override public DefinedElement getParam1() { if (param1 != null && param1.eIsProxy()) { InternalEObject oldParam1 = (InternalEObject)param1; @@ -99,6 +100,7 @@ public class BinaryElementRelationLinkImpl extends RelationLinkImpl implements B * * @generated */ + @Override public void setParam1(DefinedElement newParam1) { DefinedElement oldParam1 = param1; param1 = newParam1; @@ -111,6 +113,7 @@ public class BinaryElementRelationLinkImpl extends RelationLinkImpl implements B * * @generated */ + @Override public DefinedElement getParam2() { if (param2 != null && param2.eIsProxy()) { InternalEObject oldParam2 = (InternalEObject)param2; @@ -137,6 +140,7 @@ public class BinaryElementRelationLinkImpl extends RelationLinkImpl implements B * * @generated */ + @Override public void setParam2(DefinedElement newParam2) { DefinedElement oldParam2 = param2; param2 = newParam2; diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/ecore-gen/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/partialinterpretation/impl/BooleanElementImpl.java b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/ecore-gen/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/partialinterpretation/impl/BooleanElementImpl.java index e906e07d..5f12d9e4 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/ecore-gen/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/partialinterpretation/impl/BooleanElementImpl.java +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/ecore-gen/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/partialinterpretation/impl/BooleanElementImpl.java @@ -69,6 +69,7 @@ public class BooleanElementImpl extends PrimitiveElementImpl implements BooleanE * * @generated */ + @Override public boolean isValue() { return value; } @@ -78,6 +79,7 @@ public class BooleanElementImpl extends PrimitiveElementImpl implements BooleanE * * @generated */ + @Override public void setValue(boolean newValue) { boolean oldValue = value; value = newValue; @@ -152,7 +154,7 @@ public class BooleanElementImpl extends PrimitiveElementImpl implements BooleanE public String toString() { if (eIsProxy()) return super.toString(); - StringBuffer result = new StringBuffer(super.toString()); + StringBuilder result = new StringBuilder(super.toString()); result.append(" (value: "); result.append(value); result.append(')'); diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/ecore-gen/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/partialinterpretation/impl/IntegerElementImpl.java b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/ecore-gen/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/partialinterpretation/impl/IntegerElementImpl.java index ef1a4b96..c8fbe1dd 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/ecore-gen/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/partialinterpretation/impl/IntegerElementImpl.java +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/ecore-gen/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/partialinterpretation/impl/IntegerElementImpl.java @@ -69,6 +69,7 @@ public class IntegerElementImpl extends PrimitiveElementImpl implements IntegerE * * @generated */ + @Override public int getValue() { return value; } @@ -78,6 +79,7 @@ public class IntegerElementImpl extends PrimitiveElementImpl implements IntegerE * * @generated */ + @Override public void setValue(int newValue) { int oldValue = value; value = newValue; @@ -152,7 +154,7 @@ public class IntegerElementImpl extends PrimitiveElementImpl implements IntegerE public String toString() { if (eIsProxy()) return super.toString(); - StringBuffer result = new StringBuffer(super.toString()); + StringBuilder result = new StringBuilder(super.toString()); result.append(" (value: "); result.append(value); result.append(')'); diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/ecore-gen/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/partialinterpretation/impl/NaryRelationLinkElementImpl.java b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/ecore-gen/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/partialinterpretation/impl/NaryRelationLinkElementImpl.java index 749a03c5..c319a3f4 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/ecore-gen/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/partialinterpretation/impl/NaryRelationLinkElementImpl.java +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/ecore-gen/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/partialinterpretation/impl/NaryRelationLinkElementImpl.java @@ -83,6 +83,7 @@ public class NaryRelationLinkElementImpl extends MinimalEObjectImpl.Container im * * @generated */ + @Override public int getIndex() { return index; } @@ -92,6 +93,7 @@ public class NaryRelationLinkElementImpl extends MinimalEObjectImpl.Container im * * @generated */ + @Override public void setIndex(int newIndex) { int oldIndex = index; index = newIndex; @@ -104,6 +106,7 @@ public class NaryRelationLinkElementImpl extends MinimalEObjectImpl.Container im * * @generated */ + @Override public DefinedElement getParam() { if (param != null && param.eIsProxy()) { InternalEObject oldParam = (InternalEObject)param; @@ -130,6 +133,7 @@ public class NaryRelationLinkElementImpl extends MinimalEObjectImpl.Container im * * @generated */ + @Override public void setParam(DefinedElement newParam) { DefinedElement oldParam = param; param = newParam; @@ -215,7 +219,7 @@ public class NaryRelationLinkElementImpl extends MinimalEObjectImpl.Container im public String toString() { if (eIsProxy()) return super.toString(); - StringBuffer result = new StringBuffer(super.toString()); + StringBuilder result = new StringBuilder(super.toString()); result.append(" (index: "); result.append(index); result.append(')'); diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/ecore-gen/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/partialinterpretation/impl/NaryRelationLinkImpl.java b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/ecore-gen/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/partialinterpretation/impl/NaryRelationLinkImpl.java index f387ee06..9f7628cf 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/ecore-gen/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/partialinterpretation/impl/NaryRelationLinkImpl.java +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/ecore-gen/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/partialinterpretation/impl/NaryRelationLinkImpl.java @@ -66,6 +66,7 @@ public class NaryRelationLinkImpl extends RelationLinkImpl implements NaryRelati * * @generated */ + @Override public EList getElements() { if (elements == null) { elements = new EObjectContainmentEList(NaryRelationLinkElement.class, this, PartialinterpretationPackage.NARY_RELATION_LINK__ELEMENTS); diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/ecore-gen/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/partialinterpretation/impl/PartialComplexTypeInterpretationImpl.java b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/ecore-gen/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/partialinterpretation/impl/PartialComplexTypeInterpretationImpl.java index 07ee282d..c00b4278 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/ecore-gen/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/partialinterpretation/impl/PartialComplexTypeInterpretationImpl.java +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/ecore-gen/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/partialinterpretation/impl/PartialComplexTypeInterpretationImpl.java @@ -79,6 +79,7 @@ public class PartialComplexTypeInterpretationImpl extends PartialTypeInterpratat * * @generated */ + @Override public EList getSupertypeInterpretation() { if (supertypeInterpretation == null) { supertypeInterpretation = new EObjectResolvingEList(PartialComplexTypeInterpretation.class, this, PartialinterpretationPackage.PARTIAL_COMPLEX_TYPE_INTERPRETATION__SUPERTYPE_INTERPRETATION); @@ -91,6 +92,7 @@ public class PartialComplexTypeInterpretationImpl extends PartialTypeInterpratat * * @generated */ + @Override public TypeDeclaration getInterpretationOf() { if (interpretationOf != null && interpretationOf.eIsProxy()) { InternalEObject oldInterpretationOf = (InternalEObject)interpretationOf; @@ -117,6 +119,7 @@ public class PartialComplexTypeInterpretationImpl extends PartialTypeInterpratat * * @generated */ + @Override public void setInterpretationOf(TypeDeclaration newInterpretationOf) { TypeDeclaration oldInterpretationOf = interpretationOf; interpretationOf = newInterpretationOf; diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/ecore-gen/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/partialinterpretation/impl/PartialConstantInterpretationImpl.java b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/ecore-gen/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/partialinterpretation/impl/PartialConstantInterpretationImpl.java index 81b2ce8d..6d51f0db 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/ecore-gen/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/partialinterpretation/impl/PartialConstantInterpretationImpl.java +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/ecore-gen/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/partialinterpretation/impl/PartialConstantInterpretationImpl.java @@ -63,6 +63,7 @@ public class PartialConstantInterpretationImpl extends MinimalEObjectImpl.Contai * * @generated */ + @Override public ConstantDeclaration getInterpretationOf() { if (interpretationOf != null && interpretationOf.eIsProxy()) { InternalEObject oldInterpretationOf = (InternalEObject)interpretationOf; @@ -89,6 +90,7 @@ public class PartialConstantInterpretationImpl extends MinimalEObjectImpl.Contai * * @generated */ + @Override public void setInterpretationOf(ConstantDeclaration newInterpretationOf) { ConstantDeclaration oldInterpretationOf = interpretationOf; interpretationOf = newInterpretationOf; diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/ecore-gen/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/partialinterpretation/impl/PartialFunctionInterpretationImpl.java b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/ecore-gen/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/partialinterpretation/impl/PartialFunctionInterpretationImpl.java index 2d361e8e..855c4abc 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/ecore-gen/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/partialinterpretation/impl/PartialFunctionInterpretationImpl.java +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/ecore-gen/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/partialinterpretation/impl/PartialFunctionInterpretationImpl.java @@ -63,6 +63,7 @@ public class PartialFunctionInterpretationImpl extends MinimalEObjectImpl.Contai * * @generated */ + @Override public FunctionDeclaration getInterpretationOf() { if (interpretationOf != null && interpretationOf.eIsProxy()) { InternalEObject oldInterpretationOf = (InternalEObject)interpretationOf; @@ -89,6 +90,7 @@ public class PartialFunctionInterpretationImpl extends MinimalEObjectImpl.Contai * * @generated */ + @Override public void setInterpretationOf(FunctionDeclaration newInterpretationOf) { FunctionDeclaration oldInterpretationOf = interpretationOf; interpretationOf = newInterpretationOf; diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/ecore-gen/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/partialinterpretation/impl/PartialInterpretationImpl.java b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/ecore-gen/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/partialinterpretation/impl/PartialInterpretationImpl.java index bce3e2e0..9afdd8d2 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/ecore-gen/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/partialinterpretation/impl/PartialInterpretationImpl.java +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/ecore-gen/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/partialinterpretation/impl/PartialInterpretationImpl.java @@ -47,6 +47,7 @@ import org.eclipse.emf.ecore.util.InternalEList; *
  • {@link hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.impl.PartialInterpretationImpl#getScopes Scopes}
  • *
  • {@link hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.impl.PartialInterpretationImpl#getMinNewElements Min New Elements}
  • *
  • {@link hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.impl.PartialInterpretationImpl#getMaxNewElements Max New Elements}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.impl.PartialInterpretationImpl#getMinNewElementsHeuristic Min New Elements Heuristic}
  • * * * @generated @@ -182,6 +183,26 @@ public class PartialInterpretationImpl extends MinimalEObjectImpl.Container impl */ protected int maxNewElements = MAX_NEW_ELEMENTS_EDEFAULT; + /** + * The default value of the '{@link #getMinNewElementsHeuristic() Min New Elements Heuristic}' attribute. + * + * + * @see #getMinNewElementsHeuristic() + * @generated + * @ordered + */ + protected static final int MIN_NEW_ELEMENTS_HEURISTIC_EDEFAULT = 0; + + /** + * The cached value of the '{@link #getMinNewElementsHeuristic() Min New Elements Heuristic}' attribute. + * + * + * @see #getMinNewElementsHeuristic() + * @generated + * @ordered + */ + protected int minNewElementsHeuristic = MIN_NEW_ELEMENTS_HEURISTIC_EDEFAULT; + /** * * @@ -206,6 +227,7 @@ public class PartialInterpretationImpl extends MinimalEObjectImpl.Container impl * * @generated */ + @Override public LogicProblem getProblem() { if (problem != null && problem.eIsProxy()) { InternalEObject oldProblem = (InternalEObject)problem; @@ -232,6 +254,7 @@ public class PartialInterpretationImpl extends MinimalEObjectImpl.Container impl * * @generated */ + @Override public void setProblem(LogicProblem newProblem) { LogicProblem oldProblem = problem; problem = newProblem; @@ -244,6 +267,7 @@ public class PartialInterpretationImpl extends MinimalEObjectImpl.Container impl * * @generated */ + @Override public EList getPartialconstantinterpretation() { if (partialconstantinterpretation == null) { partialconstantinterpretation = new EObjectContainmentEList(PartialConstantInterpretation.class, this, PartialinterpretationPackage.PARTIAL_INTERPRETATION__PARTIALCONSTANTINTERPRETATION); @@ -256,6 +280,7 @@ public class PartialInterpretationImpl extends MinimalEObjectImpl.Container impl * * @generated */ + @Override public EList getPartialrelationinterpretation() { if (partialrelationinterpretation == null) { partialrelationinterpretation = new EObjectContainmentEList(PartialRelationInterpretation.class, this, PartialinterpretationPackage.PARTIAL_INTERPRETATION__PARTIALRELATIONINTERPRETATION); @@ -268,6 +293,7 @@ public class PartialInterpretationImpl extends MinimalEObjectImpl.Container impl * * @generated */ + @Override public EList getPartialfunctioninterpretation() { if (partialfunctioninterpretation == null) { partialfunctioninterpretation = new EObjectContainmentEList(PartialFunctionInterpretation.class, this, PartialinterpretationPackage.PARTIAL_INTERPRETATION__PARTIALFUNCTIONINTERPRETATION); @@ -280,6 +306,7 @@ public class PartialInterpretationImpl extends MinimalEObjectImpl.Container impl * * @generated */ + @Override public EList getNewElements() { if (newElements == null) { newElements = new EObjectContainmentEList(DefinedElement.class, this, PartialinterpretationPackage.PARTIAL_INTERPRETATION__NEW_ELEMENTS); @@ -292,6 +319,7 @@ public class PartialInterpretationImpl extends MinimalEObjectImpl.Container impl * * @generated */ + @Override public EList getPartialtypeinterpratation() { if (partialtypeinterpratation == null) { partialtypeinterpratation = new EObjectContainmentEList(PartialTypeInterpratation.class, this, PartialinterpretationPackage.PARTIAL_INTERPRETATION__PARTIALTYPEINTERPRATATION); @@ -304,6 +332,7 @@ public class PartialInterpretationImpl extends MinimalEObjectImpl.Container impl * * @generated */ + @Override public EList getOpenWorldElements() { if (openWorldElements == null) { openWorldElements = new EObjectContainmentEList(DefinedElement.class, this, PartialinterpretationPackage.PARTIAL_INTERPRETATION__OPEN_WORLD_ELEMENTS); @@ -316,6 +345,7 @@ public class PartialInterpretationImpl extends MinimalEObjectImpl.Container impl * * @generated */ + @Override public LogicProblem getProblemConainer() { return problemConainer; } @@ -340,6 +370,7 @@ public class PartialInterpretationImpl extends MinimalEObjectImpl.Container impl * * @generated */ + @Override public void setProblemConainer(LogicProblem newProblemConainer) { if (newProblemConainer != problemConainer) { NotificationChain msgs = null; @@ -359,6 +390,7 @@ public class PartialInterpretationImpl extends MinimalEObjectImpl.Container impl * * @generated */ + @Override public EList getScopes() { if (scopes == null) { scopes = new EObjectContainmentEList(Scope.class, this, PartialinterpretationPackage.PARTIAL_INTERPRETATION__SCOPES); @@ -371,6 +403,7 @@ public class PartialInterpretationImpl extends MinimalEObjectImpl.Container impl * * @generated */ + @Override public int getMinNewElements() { return minNewElements; } @@ -380,6 +413,7 @@ public class PartialInterpretationImpl extends MinimalEObjectImpl.Container impl * * @generated */ + @Override public void setMinNewElements(int newMinNewElements) { int oldMinNewElements = minNewElements; minNewElements = newMinNewElements; @@ -392,6 +426,7 @@ public class PartialInterpretationImpl extends MinimalEObjectImpl.Container impl * * @generated */ + @Override public int getMaxNewElements() { return maxNewElements; } @@ -401,6 +436,7 @@ public class PartialInterpretationImpl extends MinimalEObjectImpl.Container impl * * @generated */ + @Override public void setMaxNewElements(int newMaxNewElements) { int oldMaxNewElements = maxNewElements; maxNewElements = newMaxNewElements; @@ -408,6 +444,29 @@ public class PartialInterpretationImpl extends MinimalEObjectImpl.Container impl eNotify(new ENotificationImpl(this, Notification.SET, PartialinterpretationPackage.PARTIAL_INTERPRETATION__MAX_NEW_ELEMENTS, oldMaxNewElements, maxNewElements)); } + /** + * + * + * @generated + */ + @Override + public int getMinNewElementsHeuristic() { + return minNewElementsHeuristic; + } + + /** + * + * + * @generated + */ + @Override + public void setMinNewElementsHeuristic(int newMinNewElementsHeuristic) { + int oldMinNewElementsHeuristic = minNewElementsHeuristic; + minNewElementsHeuristic = newMinNewElementsHeuristic; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, PartialinterpretationPackage.PARTIAL_INTERPRETATION__MIN_NEW_ELEMENTS_HEURISTIC, oldMinNewElementsHeuristic, minNewElementsHeuristic)); + } + /** * * @@ -467,6 +526,8 @@ public class PartialInterpretationImpl extends MinimalEObjectImpl.Container impl return getMinNewElements(); case PartialinterpretationPackage.PARTIAL_INTERPRETATION__MAX_NEW_ELEMENTS: return getMaxNewElements(); + case PartialinterpretationPackage.PARTIAL_INTERPRETATION__MIN_NEW_ELEMENTS_HEURISTIC: + return getMinNewElementsHeuristic(); } return super.eGet(featureID, resolve, coreType); } @@ -520,6 +581,9 @@ public class PartialInterpretationImpl extends MinimalEObjectImpl.Container impl case PartialinterpretationPackage.PARTIAL_INTERPRETATION__MAX_NEW_ELEMENTS: setMaxNewElements((Integer)newValue); return; + case PartialinterpretationPackage.PARTIAL_INTERPRETATION__MIN_NEW_ELEMENTS_HEURISTIC: + setMinNewElementsHeuristic((Integer)newValue); + return; } super.eSet(featureID, newValue); } @@ -565,6 +629,9 @@ public class PartialInterpretationImpl extends MinimalEObjectImpl.Container impl case PartialinterpretationPackage.PARTIAL_INTERPRETATION__MAX_NEW_ELEMENTS: setMaxNewElements(MAX_NEW_ELEMENTS_EDEFAULT); return; + case PartialinterpretationPackage.PARTIAL_INTERPRETATION__MIN_NEW_ELEMENTS_HEURISTIC: + setMinNewElementsHeuristic(MIN_NEW_ELEMENTS_HEURISTIC_EDEFAULT); + return; } super.eUnset(featureID); } @@ -599,6 +666,8 @@ public class PartialInterpretationImpl extends MinimalEObjectImpl.Container impl return minNewElements != MIN_NEW_ELEMENTS_EDEFAULT; case PartialinterpretationPackage.PARTIAL_INTERPRETATION__MAX_NEW_ELEMENTS: return maxNewElements != MAX_NEW_ELEMENTS_EDEFAULT; + case PartialinterpretationPackage.PARTIAL_INTERPRETATION__MIN_NEW_ELEMENTS_HEURISTIC: + return minNewElementsHeuristic != MIN_NEW_ELEMENTS_HEURISTIC_EDEFAULT; } return super.eIsSet(featureID); } @@ -612,11 +681,13 @@ public class PartialInterpretationImpl extends MinimalEObjectImpl.Container impl public String toString() { if (eIsProxy()) return super.toString(); - StringBuffer result = new StringBuffer(super.toString()); + StringBuilder result = new StringBuilder(super.toString()); result.append(" (minNewElements: "); result.append(minNewElements); result.append(", maxNewElements: "); result.append(maxNewElements); + result.append(", minNewElementsHeuristic: "); + result.append(minNewElementsHeuristic); result.append(')'); return result.toString(); } diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/ecore-gen/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/partialinterpretation/impl/PartialRelationInterpretationImpl.java b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/ecore-gen/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/partialinterpretation/impl/PartialRelationInterpretationImpl.java index 71aef9af..7ad06504 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/ecore-gen/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/partialinterpretation/impl/PartialRelationInterpretationImpl.java +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/ecore-gen/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/partialinterpretation/impl/PartialRelationInterpretationImpl.java @@ -106,6 +106,7 @@ public class PartialRelationInterpretationImpl extends MinimalEObjectImpl.Contai * * @generated */ + @Override public RelationDeclaration getInterpretationOf() { if (interpretationOf != null && interpretationOf.eIsProxy()) { InternalEObject oldInterpretationOf = (InternalEObject)interpretationOf; @@ -132,6 +133,7 @@ public class PartialRelationInterpretationImpl extends MinimalEObjectImpl.Contai * * @generated */ + @Override public void setInterpretationOf(RelationDeclaration newInterpretationOf) { RelationDeclaration oldInterpretationOf = interpretationOf; interpretationOf = newInterpretationOf; @@ -144,6 +146,7 @@ public class PartialRelationInterpretationImpl extends MinimalEObjectImpl.Contai * * @generated */ + @Override public EList getRelationlinks() { if (relationlinks == null) { relationlinks = new EObjectContainmentEList(RelationLink.class, this, PartialinterpretationPackage.PARTIAL_RELATION_INTERPRETATION__RELATIONLINKS); @@ -156,6 +159,7 @@ public class PartialRelationInterpretationImpl extends MinimalEObjectImpl.Contai * * @generated */ + @Override public TypeReference getParam1() { if (param1 != null && param1.eIsProxy()) { InternalEObject oldParam1 = (InternalEObject)param1; @@ -182,6 +186,7 @@ public class PartialRelationInterpretationImpl extends MinimalEObjectImpl.Contai * * @generated */ + @Override public void setParam1(TypeReference newParam1) { TypeReference oldParam1 = param1; param1 = newParam1; @@ -194,6 +199,7 @@ public class PartialRelationInterpretationImpl extends MinimalEObjectImpl.Contai * * @generated */ + @Override public TypeReference getParam2() { if (param2 != null && param2.eIsProxy()) { InternalEObject oldParam2 = (InternalEObject)param2; @@ -220,6 +226,7 @@ public class PartialRelationInterpretationImpl extends MinimalEObjectImpl.Contai * * @generated */ + @Override public void setParam2(TypeReference newParam2) { TypeReference oldParam2 = param2; param2 = newParam2; diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/ecore-gen/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/partialinterpretation/impl/PartialTypeInterpratationImpl.java b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/ecore-gen/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/partialinterpretation/impl/PartialTypeInterpratationImpl.java index da9b1472..51eabd2c 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/ecore-gen/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/partialinterpretation/impl/PartialTypeInterpratationImpl.java +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/ecore-gen/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/partialinterpretation/impl/PartialTypeInterpratationImpl.java @@ -76,6 +76,7 @@ public abstract class PartialTypeInterpratationImpl extends MinimalEObjectImpl.C * * @generated */ + @Override public EList getElements() { if (elements == null) { elements = new EObjectResolvingEList(DefinedElement.class, this, PartialinterpretationPackage.PARTIAL_TYPE_INTERPRATATION__ELEMENTS); @@ -88,6 +89,7 @@ public abstract class PartialTypeInterpratationImpl extends MinimalEObjectImpl.C * * @generated */ + @Override public EList getScopes() { if (scopes == null) { scopes = new EObjectWithInverseResolvingEList(Scope.class, this, PartialinterpretationPackage.PARTIAL_TYPE_INTERPRATATION__SCOPES, PartialinterpretationPackage.SCOPE__TARGET_TYPE_INTERPRETATION); diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/ecore-gen/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/partialinterpretation/impl/PartialinterpretationFactoryImpl.java b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/ecore-gen/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/partialinterpretation/impl/PartialinterpretationFactoryImpl.java index af1db8a1..06ca4e37 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/ecore-gen/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/partialinterpretation/impl/PartialinterpretationFactoryImpl.java +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/ecore-gen/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/partialinterpretation/impl/PartialinterpretationFactoryImpl.java @@ -84,6 +84,7 @@ public class PartialinterpretationFactoryImpl extends EFactoryImpl implements Pa * * @generated */ + @Override public PartialInterpretation createPartialInterpretation() { PartialInterpretationImpl partialInterpretation = new PartialInterpretationImpl(); return partialInterpretation; @@ -94,6 +95,7 @@ public class PartialinterpretationFactoryImpl extends EFactoryImpl implements Pa * * @generated */ + @Override public PartialConstantInterpretation createPartialConstantInterpretation() { PartialConstantInterpretationImpl partialConstantInterpretation = new PartialConstantInterpretationImpl(); return partialConstantInterpretation; @@ -104,6 +106,7 @@ public class PartialinterpretationFactoryImpl extends EFactoryImpl implements Pa * * @generated */ + @Override public PartialRelationInterpretation createPartialRelationInterpretation() { PartialRelationInterpretationImpl partialRelationInterpretation = new PartialRelationInterpretationImpl(); return partialRelationInterpretation; @@ -114,6 +117,7 @@ public class PartialinterpretationFactoryImpl extends EFactoryImpl implements Pa * * @generated */ + @Override public PartialFunctionInterpretation createPartialFunctionInterpretation() { PartialFunctionInterpretationImpl partialFunctionInterpretation = new PartialFunctionInterpretationImpl(); return partialFunctionInterpretation; @@ -124,6 +128,7 @@ public class PartialinterpretationFactoryImpl extends EFactoryImpl implements Pa * * @generated */ + @Override public UnaryElementRelationLink createUnaryElementRelationLink() { UnaryElementRelationLinkImpl unaryElementRelationLink = new UnaryElementRelationLinkImpl(); return unaryElementRelationLink; @@ -134,6 +139,7 @@ public class PartialinterpretationFactoryImpl extends EFactoryImpl implements Pa * * @generated */ + @Override public BinaryElementRelationLink createBinaryElementRelationLink() { BinaryElementRelationLinkImpl binaryElementRelationLink = new BinaryElementRelationLinkImpl(); return binaryElementRelationLink; @@ -144,6 +150,7 @@ public class PartialinterpretationFactoryImpl extends EFactoryImpl implements Pa * * @generated */ + @Override public NaryRelationLink createNaryRelationLink() { NaryRelationLinkImpl naryRelationLink = new NaryRelationLinkImpl(); return naryRelationLink; @@ -154,6 +161,7 @@ public class PartialinterpretationFactoryImpl extends EFactoryImpl implements Pa * * @generated */ + @Override public NaryRelationLinkElement createNaryRelationLinkElement() { NaryRelationLinkElementImpl naryRelationLinkElement = new NaryRelationLinkElementImpl(); return naryRelationLinkElement; @@ -164,6 +172,7 @@ public class PartialinterpretationFactoryImpl extends EFactoryImpl implements Pa * * @generated */ + @Override public BooleanElement createBooleanElement() { BooleanElementImpl booleanElement = new BooleanElementImpl(); return booleanElement; @@ -174,6 +183,7 @@ public class PartialinterpretationFactoryImpl extends EFactoryImpl implements Pa * * @generated */ + @Override public IntegerElement createIntegerElement() { IntegerElementImpl integerElement = new IntegerElementImpl(); return integerElement; @@ -184,6 +194,7 @@ public class PartialinterpretationFactoryImpl extends EFactoryImpl implements Pa * * @generated */ + @Override public RealElement createRealElement() { RealElementImpl realElement = new RealElementImpl(); return realElement; @@ -194,6 +205,7 @@ public class PartialinterpretationFactoryImpl extends EFactoryImpl implements Pa * * @generated */ + @Override public StringElement createStringElement() { StringElementImpl stringElement = new StringElementImpl(); return stringElement; @@ -204,6 +216,7 @@ public class PartialinterpretationFactoryImpl extends EFactoryImpl implements Pa * * @generated */ + @Override public Scope createScope() { ScopeImpl scope = new ScopeImpl(); return scope; @@ -214,6 +227,7 @@ public class PartialinterpretationFactoryImpl extends EFactoryImpl implements Pa * * @generated */ + @Override public PartialBooleanInterpretation createPartialBooleanInterpretation() { PartialBooleanInterpretationImpl partialBooleanInterpretation = new PartialBooleanInterpretationImpl(); return partialBooleanInterpretation; @@ -224,6 +238,7 @@ public class PartialinterpretationFactoryImpl extends EFactoryImpl implements Pa * * @generated */ + @Override public PartialIntegerInterpretation createPartialIntegerInterpretation() { PartialIntegerInterpretationImpl partialIntegerInterpretation = new PartialIntegerInterpretationImpl(); return partialIntegerInterpretation; @@ -234,6 +249,7 @@ public class PartialinterpretationFactoryImpl extends EFactoryImpl implements Pa * * @generated */ + @Override public PartialRealInterpretation createPartialRealInterpretation() { PartialRealInterpretationImpl partialRealInterpretation = new PartialRealInterpretationImpl(); return partialRealInterpretation; @@ -244,6 +260,7 @@ public class PartialinterpretationFactoryImpl extends EFactoryImpl implements Pa * * @generated */ + @Override public PartialStringInterpretation createPartialStringInterpretation() { PartialStringInterpretationImpl partialStringInterpretation = new PartialStringInterpretationImpl(); return partialStringInterpretation; @@ -254,6 +271,7 @@ public class PartialinterpretationFactoryImpl extends EFactoryImpl implements Pa * * @generated */ + @Override public PartialComplexTypeInterpretation createPartialComplexTypeInterpretation() { PartialComplexTypeInterpretationImpl partialComplexTypeInterpretation = new PartialComplexTypeInterpretationImpl(); return partialComplexTypeInterpretation; @@ -264,6 +282,7 @@ public class PartialinterpretationFactoryImpl extends EFactoryImpl implements Pa * * @generated */ + @Override public PartialinterpretationPackage getPartialinterpretationPackage() { return (PartialinterpretationPackage)getEPackage(); } diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/ecore-gen/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/partialinterpretation/impl/PartialinterpretationPackageImpl.java b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/ecore-gen/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/partialinterpretation/impl/PartialinterpretationPackageImpl.java index a21dc306..1ea3a11d 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/ecore-gen/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/partialinterpretation/impl/PartialinterpretationPackageImpl.java +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/ecore-gen/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/partialinterpretation/impl/PartialinterpretationPackageImpl.java @@ -227,7 +227,7 @@ public class PartialinterpretationPackageImpl extends EPackageImpl implements Pa /** * Creates, registers, and initializes the Package for this model, and for any others upon which it depends. - * + * *

    This method is used to initialize {@link PartialinterpretationPackage#eINSTANCE} when that field is accessed. * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. * @@ -241,7 +241,8 @@ public class PartialinterpretationPackageImpl extends EPackageImpl implements Pa if (isInited) return (PartialinterpretationPackage)EPackage.Registry.INSTANCE.getEPackage(PartialinterpretationPackage.eNS_URI); // Obtain or create and register package - PartialinterpretationPackageImpl thePartialinterpretationPackage = (PartialinterpretationPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof PartialinterpretationPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new PartialinterpretationPackageImpl()); + Object registeredPartialinterpretationPackage = EPackage.Registry.INSTANCE.get(eNS_URI); + PartialinterpretationPackageImpl thePartialinterpretationPackage = registeredPartialinterpretationPackage instanceof PartialinterpretationPackageImpl ? (PartialinterpretationPackageImpl)registeredPartialinterpretationPackage : new PartialinterpretationPackageImpl(); isInited = true; @@ -258,7 +259,6 @@ public class PartialinterpretationPackageImpl extends EPackageImpl implements Pa // Mark meta-data to indicate it can't be changed thePartialinterpretationPackage.freeze(); - // Update the registry and return the package EPackage.Registry.INSTANCE.put(PartialinterpretationPackage.eNS_URI, thePartialinterpretationPackage); return thePartialinterpretationPackage; @@ -269,6 +269,7 @@ public class PartialinterpretationPackageImpl extends EPackageImpl implements Pa * * @generated */ + @Override public EClass getPartialInterpretation() { return partialInterpretationEClass; } @@ -278,6 +279,7 @@ public class PartialinterpretationPackageImpl extends EPackageImpl implements Pa * * @generated */ + @Override public EReference getPartialInterpretation_Problem() { return (EReference)partialInterpretationEClass.getEStructuralFeatures().get(0); } @@ -287,6 +289,7 @@ public class PartialinterpretationPackageImpl extends EPackageImpl implements Pa * * @generated */ + @Override public EReference getPartialInterpretation_Partialconstantinterpretation() { return (EReference)partialInterpretationEClass.getEStructuralFeatures().get(1); } @@ -296,6 +299,7 @@ public class PartialinterpretationPackageImpl extends EPackageImpl implements Pa * * @generated */ + @Override public EReference getPartialInterpretation_Partialrelationinterpretation() { return (EReference)partialInterpretationEClass.getEStructuralFeatures().get(2); } @@ -305,6 +309,7 @@ public class PartialinterpretationPackageImpl extends EPackageImpl implements Pa * * @generated */ + @Override public EReference getPartialInterpretation_Partialfunctioninterpretation() { return (EReference)partialInterpretationEClass.getEStructuralFeatures().get(3); } @@ -314,6 +319,7 @@ public class PartialinterpretationPackageImpl extends EPackageImpl implements Pa * * @generated */ + @Override public EReference getPartialInterpretation_NewElements() { return (EReference)partialInterpretationEClass.getEStructuralFeatures().get(4); } @@ -323,6 +329,7 @@ public class PartialinterpretationPackageImpl extends EPackageImpl implements Pa * * @generated */ + @Override public EReference getPartialInterpretation_Partialtypeinterpratation() { return (EReference)partialInterpretationEClass.getEStructuralFeatures().get(5); } @@ -332,6 +339,7 @@ public class PartialinterpretationPackageImpl extends EPackageImpl implements Pa * * @generated */ + @Override public EReference getPartialInterpretation_OpenWorldElements() { return (EReference)partialInterpretationEClass.getEStructuralFeatures().get(6); } @@ -341,6 +349,7 @@ public class PartialinterpretationPackageImpl extends EPackageImpl implements Pa * * @generated */ + @Override public EReference getPartialInterpretation_ProblemConainer() { return (EReference)partialInterpretationEClass.getEStructuralFeatures().get(7); } @@ -350,6 +359,7 @@ public class PartialinterpretationPackageImpl extends EPackageImpl implements Pa * * @generated */ + @Override public EReference getPartialInterpretation_Scopes() { return (EReference)partialInterpretationEClass.getEStructuralFeatures().get(8); } @@ -359,6 +369,7 @@ public class PartialinterpretationPackageImpl extends EPackageImpl implements Pa * * @generated */ + @Override public EAttribute getPartialInterpretation_MinNewElements() { return (EAttribute)partialInterpretationEClass.getEStructuralFeatures().get(9); } @@ -368,6 +379,7 @@ public class PartialinterpretationPackageImpl extends EPackageImpl implements Pa * * @generated */ + @Override public EAttribute getPartialInterpretation_MaxNewElements() { return (EAttribute)partialInterpretationEClass.getEStructuralFeatures().get(10); } @@ -377,6 +389,17 @@ public class PartialinterpretationPackageImpl extends EPackageImpl implements Pa * * @generated */ + @Override + public EAttribute getPartialInterpretation_MinNewElementsHeuristic() { + return (EAttribute)partialInterpretationEClass.getEStructuralFeatures().get(11); + } + + /** + * + * + * @generated + */ + @Override public EClass getPartialConstantInterpretation() { return partialConstantInterpretationEClass; } @@ -386,6 +409,7 @@ public class PartialinterpretationPackageImpl extends EPackageImpl implements Pa * * @generated */ + @Override public EReference getPartialConstantInterpretation_InterpretationOf() { return (EReference)partialConstantInterpretationEClass.getEStructuralFeatures().get(0); } @@ -395,6 +419,7 @@ public class PartialinterpretationPackageImpl extends EPackageImpl implements Pa * * @generated */ + @Override public EClass getPartialRelationInterpretation() { return partialRelationInterpretationEClass; } @@ -404,6 +429,7 @@ public class PartialinterpretationPackageImpl extends EPackageImpl implements Pa * * @generated */ + @Override public EReference getPartialRelationInterpretation_InterpretationOf() { return (EReference)partialRelationInterpretationEClass.getEStructuralFeatures().get(0); } @@ -413,6 +439,7 @@ public class PartialinterpretationPackageImpl extends EPackageImpl implements Pa * * @generated */ + @Override public EReference getPartialRelationInterpretation_Relationlinks() { return (EReference)partialRelationInterpretationEClass.getEStructuralFeatures().get(1); } @@ -422,6 +449,7 @@ public class PartialinterpretationPackageImpl extends EPackageImpl implements Pa * * @generated */ + @Override public EReference getPartialRelationInterpretation_Param1() { return (EReference)partialRelationInterpretationEClass.getEStructuralFeatures().get(2); } @@ -431,6 +459,7 @@ public class PartialinterpretationPackageImpl extends EPackageImpl implements Pa * * @generated */ + @Override public EReference getPartialRelationInterpretation_Param2() { return (EReference)partialRelationInterpretationEClass.getEStructuralFeatures().get(3); } @@ -440,6 +469,7 @@ public class PartialinterpretationPackageImpl extends EPackageImpl implements Pa * * @generated */ + @Override public EClass getPartialFunctionInterpretation() { return partialFunctionInterpretationEClass; } @@ -449,6 +479,7 @@ public class PartialinterpretationPackageImpl extends EPackageImpl implements Pa * * @generated */ + @Override public EReference getPartialFunctionInterpretation_InterpretationOf() { return (EReference)partialFunctionInterpretationEClass.getEStructuralFeatures().get(0); } @@ -458,6 +489,7 @@ public class PartialinterpretationPackageImpl extends EPackageImpl implements Pa * * @generated */ + @Override public EClass getPartialTypeInterpratation() { return partialTypeInterpratationEClass; } @@ -467,6 +499,7 @@ public class PartialinterpretationPackageImpl extends EPackageImpl implements Pa * * @generated */ + @Override public EReference getPartialTypeInterpratation_Elements() { return (EReference)partialTypeInterpratationEClass.getEStructuralFeatures().get(0); } @@ -476,6 +509,7 @@ public class PartialinterpretationPackageImpl extends EPackageImpl implements Pa * * @generated */ + @Override public EReference getPartialTypeInterpratation_Scopes() { return (EReference)partialTypeInterpratationEClass.getEStructuralFeatures().get(1); } @@ -485,6 +519,7 @@ public class PartialinterpretationPackageImpl extends EPackageImpl implements Pa * * @generated */ + @Override public EClass getRelationLink() { return relationLinkEClass; } @@ -494,6 +529,7 @@ public class PartialinterpretationPackageImpl extends EPackageImpl implements Pa * * @generated */ + @Override public EClass getUnaryElementRelationLink() { return unaryElementRelationLinkEClass; } @@ -503,6 +539,7 @@ public class PartialinterpretationPackageImpl extends EPackageImpl implements Pa * * @generated */ + @Override public EReference getUnaryElementRelationLink_Param1() { return (EReference)unaryElementRelationLinkEClass.getEStructuralFeatures().get(0); } @@ -512,6 +549,7 @@ public class PartialinterpretationPackageImpl extends EPackageImpl implements Pa * * @generated */ + @Override public EClass getBinaryElementRelationLink() { return binaryElementRelationLinkEClass; } @@ -521,6 +559,7 @@ public class PartialinterpretationPackageImpl extends EPackageImpl implements Pa * * @generated */ + @Override public EReference getBinaryElementRelationLink_Param1() { return (EReference)binaryElementRelationLinkEClass.getEStructuralFeatures().get(0); } @@ -530,6 +569,7 @@ public class PartialinterpretationPackageImpl extends EPackageImpl implements Pa * * @generated */ + @Override public EReference getBinaryElementRelationLink_Param2() { return (EReference)binaryElementRelationLinkEClass.getEStructuralFeatures().get(1); } @@ -539,6 +579,7 @@ public class PartialinterpretationPackageImpl extends EPackageImpl implements Pa * * @generated */ + @Override public EClass getNaryRelationLink() { return naryRelationLinkEClass; } @@ -548,6 +589,7 @@ public class PartialinterpretationPackageImpl extends EPackageImpl implements Pa * * @generated */ + @Override public EReference getNaryRelationLink_Elements() { return (EReference)naryRelationLinkEClass.getEStructuralFeatures().get(0); } @@ -557,6 +599,7 @@ public class PartialinterpretationPackageImpl extends EPackageImpl implements Pa * * @generated */ + @Override public EClass getNaryRelationLinkElement() { return naryRelationLinkElementEClass; } @@ -566,6 +609,7 @@ public class PartialinterpretationPackageImpl extends EPackageImpl implements Pa * * @generated */ + @Override public EAttribute getNaryRelationLinkElement_Index() { return (EAttribute)naryRelationLinkElementEClass.getEStructuralFeatures().get(0); } @@ -575,6 +619,7 @@ public class PartialinterpretationPackageImpl extends EPackageImpl implements Pa * * @generated */ + @Override public EReference getNaryRelationLinkElement_Param() { return (EReference)naryRelationLinkElementEClass.getEStructuralFeatures().get(1); } @@ -584,6 +629,7 @@ public class PartialinterpretationPackageImpl extends EPackageImpl implements Pa * * @generated */ + @Override public EClass getPrimitiveElement() { return primitiveElementEClass; } @@ -593,6 +639,7 @@ public class PartialinterpretationPackageImpl extends EPackageImpl implements Pa * * @generated */ + @Override public EAttribute getPrimitiveElement_ValueSet() { return (EAttribute)primitiveElementEClass.getEStructuralFeatures().get(0); } @@ -602,6 +649,7 @@ public class PartialinterpretationPackageImpl extends EPackageImpl implements Pa * * @generated */ + @Override public EClass getBooleanElement() { return booleanElementEClass; } @@ -611,6 +659,7 @@ public class PartialinterpretationPackageImpl extends EPackageImpl implements Pa * * @generated */ + @Override public EAttribute getBooleanElement_Value() { return (EAttribute)booleanElementEClass.getEStructuralFeatures().get(0); } @@ -620,6 +669,7 @@ public class PartialinterpretationPackageImpl extends EPackageImpl implements Pa * * @generated */ + @Override public EClass getIntegerElement() { return integerElementEClass; } @@ -629,6 +679,7 @@ public class PartialinterpretationPackageImpl extends EPackageImpl implements Pa * * @generated */ + @Override public EAttribute getIntegerElement_Value() { return (EAttribute)integerElementEClass.getEStructuralFeatures().get(0); } @@ -638,6 +689,7 @@ public class PartialinterpretationPackageImpl extends EPackageImpl implements Pa * * @generated */ + @Override public EClass getRealElement() { return realElementEClass; } @@ -647,6 +699,7 @@ public class PartialinterpretationPackageImpl extends EPackageImpl implements Pa * * @generated */ + @Override public EAttribute getRealElement_Value() { return (EAttribute)realElementEClass.getEStructuralFeatures().get(0); } @@ -656,6 +709,7 @@ public class PartialinterpretationPackageImpl extends EPackageImpl implements Pa * * @generated */ + @Override public EClass getStringElement() { return stringElementEClass; } @@ -665,6 +719,7 @@ public class PartialinterpretationPackageImpl extends EPackageImpl implements Pa * * @generated */ + @Override public EAttribute getStringElement_Value() { return (EAttribute)stringElementEClass.getEStructuralFeatures().get(0); } @@ -674,6 +729,7 @@ public class PartialinterpretationPackageImpl extends EPackageImpl implements Pa * * @generated */ + @Override public EClass getScope() { return scopeEClass; } @@ -683,6 +739,7 @@ public class PartialinterpretationPackageImpl extends EPackageImpl implements Pa * * @generated */ + @Override public EAttribute getScope_MinNewElements() { return (EAttribute)scopeEClass.getEStructuralFeatures().get(0); } @@ -692,6 +749,7 @@ public class PartialinterpretationPackageImpl extends EPackageImpl implements Pa * * @generated */ + @Override public EAttribute getScope_MaxNewElements() { return (EAttribute)scopeEClass.getEStructuralFeatures().get(1); } @@ -701,6 +759,7 @@ public class PartialinterpretationPackageImpl extends EPackageImpl implements Pa * * @generated */ + @Override public EReference getScope_TargetTypeInterpretation() { return (EReference)scopeEClass.getEStructuralFeatures().get(2); } @@ -710,6 +769,17 @@ public class PartialinterpretationPackageImpl extends EPackageImpl implements Pa * * @generated */ + @Override + public EAttribute getScope_MinNewElementsHeuristic() { + return (EAttribute)scopeEClass.getEStructuralFeatures().get(3); + } + + /** + * + * + * @generated + */ + @Override public EClass getPartialPrimitiveInterpretation() { return partialPrimitiveInterpretationEClass; } @@ -719,6 +789,7 @@ public class PartialinterpretationPackageImpl extends EPackageImpl implements Pa * * @generated */ + @Override public EClass getPartialBooleanInterpretation() { return partialBooleanInterpretationEClass; } @@ -728,6 +799,7 @@ public class PartialinterpretationPackageImpl extends EPackageImpl implements Pa * * @generated */ + @Override public EClass getPartialIntegerInterpretation() { return partialIntegerInterpretationEClass; } @@ -737,6 +809,7 @@ public class PartialinterpretationPackageImpl extends EPackageImpl implements Pa * * @generated */ + @Override public EClass getPartialRealInterpretation() { return partialRealInterpretationEClass; } @@ -746,6 +819,7 @@ public class PartialinterpretationPackageImpl extends EPackageImpl implements Pa * * @generated */ + @Override public EClass getPartialStringInterpretation() { return partialStringInterpretationEClass; } @@ -755,6 +829,7 @@ public class PartialinterpretationPackageImpl extends EPackageImpl implements Pa * * @generated */ + @Override public EClass getPartialComplexTypeInterpretation() { return partialComplexTypeInterpretationEClass; } @@ -764,6 +839,7 @@ public class PartialinterpretationPackageImpl extends EPackageImpl implements Pa * * @generated */ + @Override public EReference getPartialComplexTypeInterpretation_SupertypeInterpretation() { return (EReference)partialComplexTypeInterpretationEClass.getEStructuralFeatures().get(0); } @@ -773,6 +849,7 @@ public class PartialinterpretationPackageImpl extends EPackageImpl implements Pa * * @generated */ + @Override public EReference getPartialComplexTypeInterpretation_InterpretationOf() { return (EReference)partialComplexTypeInterpretationEClass.getEStructuralFeatures().get(1); } @@ -782,6 +859,7 @@ public class PartialinterpretationPackageImpl extends EPackageImpl implements Pa * * @generated */ + @Override public PartialinterpretationFactory getPartialinterpretationFactory() { return (PartialinterpretationFactory)getEFactoryInstance(); } @@ -817,6 +895,7 @@ public class PartialinterpretationPackageImpl extends EPackageImpl implements Pa createEReference(partialInterpretationEClass, PARTIAL_INTERPRETATION__SCOPES); createEAttribute(partialInterpretationEClass, PARTIAL_INTERPRETATION__MIN_NEW_ELEMENTS); createEAttribute(partialInterpretationEClass, PARTIAL_INTERPRETATION__MAX_NEW_ELEMENTS); + createEAttribute(partialInterpretationEClass, PARTIAL_INTERPRETATION__MIN_NEW_ELEMENTS_HEURISTIC); partialConstantInterpretationEClass = createEClass(PARTIAL_CONSTANT_INTERPRETATION); createEReference(partialConstantInterpretationEClass, PARTIAL_CONSTANT_INTERPRETATION__INTERPRETATION_OF); @@ -869,6 +948,7 @@ public class PartialinterpretationPackageImpl extends EPackageImpl implements Pa createEAttribute(scopeEClass, SCOPE__MIN_NEW_ELEMENTS); createEAttribute(scopeEClass, SCOPE__MAX_NEW_ELEMENTS); createEReference(scopeEClass, SCOPE__TARGET_TYPE_INTERPRETATION); + createEAttribute(scopeEClass, SCOPE__MIN_NEW_ELEMENTS_HEURISTIC); partialPrimitiveInterpretationEClass = createEClass(PARTIAL_PRIMITIVE_INTERPRETATION); @@ -945,6 +1025,7 @@ public class PartialinterpretationPackageImpl extends EPackageImpl implements Pa initEReference(getPartialInterpretation_Scopes(), this.getScope(), null, "scopes", null, 0, -1, PartialInterpretation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getPartialInterpretation_MinNewElements(), ecorePackage.getEInt(), "minNewElements", "0", 1, 1, PartialInterpretation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getPartialInterpretation_MaxNewElements(), ecorePackage.getEInt(), "maxNewElements", "-1", 1, 1, PartialInterpretation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getPartialInterpretation_MinNewElementsHeuristic(), ecorePackage.getEInt(), "minNewElementsHeuristic", "0", 1, 1, PartialInterpretation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(partialConstantInterpretationEClass, PartialConstantInterpretation.class, "PartialConstantInterpretation", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEReference(getPartialConstantInterpretation_InterpretationOf(), theLogiclanguagePackage.getConstantDeclaration(), null, "interpretationOf", null, 1, 1, PartialConstantInterpretation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); @@ -997,6 +1078,7 @@ public class PartialinterpretationPackageImpl extends EPackageImpl implements Pa initEAttribute(getScope_MinNewElements(), ecorePackage.getEInt(), "minNewElements", "0", 1, 1, Scope.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getScope_MaxNewElements(), ecorePackage.getEInt(), "maxNewElements", "-1", 1, 1, Scope.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getScope_TargetTypeInterpretation(), this.getPartialTypeInterpratation(), this.getPartialTypeInterpratation_Scopes(), "targetTypeInterpretation", null, 1, 1, Scope.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getScope_MinNewElementsHeuristic(), ecorePackage.getEInt(), "minNewElementsHeuristic", "0", 1, 1, Scope.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(partialPrimitiveInterpretationEClass, PartialPrimitiveInterpretation.class, "PartialPrimitiveInterpretation", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/ecore-gen/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/partialinterpretation/impl/PrimitiveElementImpl.java b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/ecore-gen/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/partialinterpretation/impl/PrimitiveElementImpl.java index 29a1e1be..a8ef81b0 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/ecore-gen/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/partialinterpretation/impl/PrimitiveElementImpl.java +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/ecore-gen/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/partialinterpretation/impl/PrimitiveElementImpl.java @@ -71,6 +71,7 @@ public abstract class PrimitiveElementImpl extends DefinedElementImpl implements * * @generated */ + @Override public boolean isValueSet() { return valueSet; } @@ -80,6 +81,7 @@ public abstract class PrimitiveElementImpl extends DefinedElementImpl implements * * @generated */ + @Override public void setValueSet(boolean newValueSet) { boolean oldValueSet = valueSet; valueSet = newValueSet; @@ -154,7 +156,7 @@ public abstract class PrimitiveElementImpl extends DefinedElementImpl implements public String toString() { if (eIsProxy()) return super.toString(); - StringBuffer result = new StringBuffer(super.toString()); + StringBuilder result = new StringBuilder(super.toString()); result.append(" (valueSet: "); result.append(valueSet); result.append(')'); diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/ecore-gen/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/partialinterpretation/impl/RealElementImpl.java b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/ecore-gen/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/partialinterpretation/impl/RealElementImpl.java index 0361a3e9..67cff5a2 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/ecore-gen/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/partialinterpretation/impl/RealElementImpl.java +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/ecore-gen/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/partialinterpretation/impl/RealElementImpl.java @@ -71,6 +71,7 @@ public class RealElementImpl extends PrimitiveElementImpl implements RealElement * * @generated */ + @Override public BigDecimal getValue() { return value; } @@ -80,6 +81,7 @@ public class RealElementImpl extends PrimitiveElementImpl implements RealElement * * @generated */ + @Override public void setValue(BigDecimal newValue) { BigDecimal oldValue = value; value = newValue; @@ -154,7 +156,7 @@ public class RealElementImpl extends PrimitiveElementImpl implements RealElement public String toString() { if (eIsProxy()) return super.toString(); - StringBuffer result = new StringBuffer(super.toString()); + StringBuilder result = new StringBuilder(super.toString()); result.append(" (value: "); result.append(value); result.append(')'); diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/ecore-gen/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/partialinterpretation/impl/ScopeImpl.java b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/ecore-gen/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/partialinterpretation/impl/ScopeImpl.java index d8ade871..a1b6de35 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/ecore-gen/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/partialinterpretation/impl/ScopeImpl.java +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/ecore-gen/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/partialinterpretation/impl/ScopeImpl.java @@ -26,6 +26,7 @@ import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; *

  • {@link hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.impl.ScopeImpl#getMinNewElements Min New Elements}
  • *
  • {@link hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.impl.ScopeImpl#getMaxNewElements Max New Elements}
  • *
  • {@link hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.impl.ScopeImpl#getTargetTypeInterpretation Target Type Interpretation}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.impl.ScopeImpl#getMinNewElementsHeuristic Min New Elements Heuristic}
  • * * * @generated @@ -81,6 +82,26 @@ public class ScopeImpl extends MinimalEObjectImpl.Container implements Scope { */ protected PartialTypeInterpratation targetTypeInterpretation; + /** + * The default value of the '{@link #getMinNewElementsHeuristic() Min New Elements Heuristic}' attribute. + * + * + * @see #getMinNewElementsHeuristic() + * @generated + * @ordered + */ + protected static final int MIN_NEW_ELEMENTS_HEURISTIC_EDEFAULT = 0; + + /** + * The cached value of the '{@link #getMinNewElementsHeuristic() Min New Elements Heuristic}' attribute. + * + * + * @see #getMinNewElementsHeuristic() + * @generated + * @ordered + */ + protected int minNewElementsHeuristic = MIN_NEW_ELEMENTS_HEURISTIC_EDEFAULT; + /** * * @@ -105,6 +126,7 @@ public class ScopeImpl extends MinimalEObjectImpl.Container implements Scope { * * @generated */ + @Override public int getMinNewElements() { return minNewElements; } @@ -114,6 +136,7 @@ public class ScopeImpl extends MinimalEObjectImpl.Container implements Scope { * * @generated */ + @Override public void setMinNewElements(int newMinNewElements) { int oldMinNewElements = minNewElements; minNewElements = newMinNewElements; @@ -126,6 +149,7 @@ public class ScopeImpl extends MinimalEObjectImpl.Container implements Scope { * * @generated */ + @Override public int getMaxNewElements() { return maxNewElements; } @@ -135,6 +159,7 @@ public class ScopeImpl extends MinimalEObjectImpl.Container implements Scope { * * @generated */ + @Override public void setMaxNewElements(int newMaxNewElements) { int oldMaxNewElements = maxNewElements; maxNewElements = newMaxNewElements; @@ -147,6 +172,7 @@ public class ScopeImpl extends MinimalEObjectImpl.Container implements Scope { * * @generated */ + @Override public PartialTypeInterpratation getTargetTypeInterpretation() { if (targetTypeInterpretation != null && targetTypeInterpretation.eIsProxy()) { InternalEObject oldTargetTypeInterpretation = (InternalEObject)targetTypeInterpretation; @@ -188,6 +214,7 @@ public class ScopeImpl extends MinimalEObjectImpl.Container implements Scope { * * @generated */ + @Override public void setTargetTypeInterpretation(PartialTypeInterpratation newTargetTypeInterpretation) { if (newTargetTypeInterpretation != targetTypeInterpretation) { NotificationChain msgs = null; @@ -202,6 +229,29 @@ public class ScopeImpl extends MinimalEObjectImpl.Container implements Scope { eNotify(new ENotificationImpl(this, Notification.SET, PartialinterpretationPackage.SCOPE__TARGET_TYPE_INTERPRETATION, newTargetTypeInterpretation, newTargetTypeInterpretation)); } + /** + * + * + * @generated + */ + @Override + public int getMinNewElementsHeuristic() { + return minNewElementsHeuristic; + } + + /** + * + * + * @generated + */ + @Override + public void setMinNewElementsHeuristic(int newMinNewElementsHeuristic) { + int oldMinNewElementsHeuristic = minNewElementsHeuristic; + minNewElementsHeuristic = newMinNewElementsHeuristic; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, PartialinterpretationPackage.SCOPE__MIN_NEW_ELEMENTS_HEURISTIC, oldMinNewElementsHeuristic, minNewElementsHeuristic)); + } + /** * * @@ -247,6 +297,8 @@ public class ScopeImpl extends MinimalEObjectImpl.Container implements Scope { case PartialinterpretationPackage.SCOPE__TARGET_TYPE_INTERPRETATION: if (resolve) return getTargetTypeInterpretation(); return basicGetTargetTypeInterpretation(); + case PartialinterpretationPackage.SCOPE__MIN_NEW_ELEMENTS_HEURISTIC: + return getMinNewElementsHeuristic(); } return super.eGet(featureID, resolve, coreType); } @@ -268,6 +320,9 @@ public class ScopeImpl extends MinimalEObjectImpl.Container implements Scope { case PartialinterpretationPackage.SCOPE__TARGET_TYPE_INTERPRETATION: setTargetTypeInterpretation((PartialTypeInterpratation)newValue); return; + case PartialinterpretationPackage.SCOPE__MIN_NEW_ELEMENTS_HEURISTIC: + setMinNewElementsHeuristic((Integer)newValue); + return; } super.eSet(featureID, newValue); } @@ -289,6 +344,9 @@ public class ScopeImpl extends MinimalEObjectImpl.Container implements Scope { case PartialinterpretationPackage.SCOPE__TARGET_TYPE_INTERPRETATION: setTargetTypeInterpretation((PartialTypeInterpratation)null); return; + case PartialinterpretationPackage.SCOPE__MIN_NEW_ELEMENTS_HEURISTIC: + setMinNewElementsHeuristic(MIN_NEW_ELEMENTS_HEURISTIC_EDEFAULT); + return; } super.eUnset(featureID); } @@ -307,6 +365,8 @@ public class ScopeImpl extends MinimalEObjectImpl.Container implements Scope { return maxNewElements != MAX_NEW_ELEMENTS_EDEFAULT; case PartialinterpretationPackage.SCOPE__TARGET_TYPE_INTERPRETATION: return targetTypeInterpretation != null; + case PartialinterpretationPackage.SCOPE__MIN_NEW_ELEMENTS_HEURISTIC: + return minNewElementsHeuristic != MIN_NEW_ELEMENTS_HEURISTIC_EDEFAULT; } return super.eIsSet(featureID); } @@ -320,11 +380,13 @@ public class ScopeImpl extends MinimalEObjectImpl.Container implements Scope { public String toString() { if (eIsProxy()) return super.toString(); - StringBuffer result = new StringBuffer(super.toString()); + StringBuilder result = new StringBuilder(super.toString()); result.append(" (minNewElements: "); result.append(minNewElements); result.append(", maxNewElements: "); result.append(maxNewElements); + result.append(", minNewElementsHeuristic: "); + result.append(minNewElementsHeuristic); result.append(')'); return result.toString(); } diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/ecore-gen/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/partialinterpretation/impl/StringElementImpl.java b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/ecore-gen/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/partialinterpretation/impl/StringElementImpl.java index f207401d..0242c9b2 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/ecore-gen/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/partialinterpretation/impl/StringElementImpl.java +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/ecore-gen/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/partialinterpretation/impl/StringElementImpl.java @@ -69,6 +69,7 @@ public class StringElementImpl extends PrimitiveElementImpl implements StringEle * * @generated */ + @Override public String getValue() { return value; } @@ -78,6 +79,7 @@ public class StringElementImpl extends PrimitiveElementImpl implements StringEle * * @generated */ + @Override public void setValue(String newValue) { String oldValue = value; value = newValue; @@ -152,7 +154,7 @@ public class StringElementImpl extends PrimitiveElementImpl implements StringEle public String toString() { if (eIsProxy()) return super.toString(); - StringBuffer result = new StringBuffer(super.toString()); + StringBuilder result = new StringBuilder(super.toString()); result.append(" (value: "); result.append(value); result.append(')'); diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/ecore-gen/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/partialinterpretation/impl/UnaryElementRelationLinkImpl.java b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/ecore-gen/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/partialinterpretation/impl/UnaryElementRelationLinkImpl.java index 2cb56323..e76a89b7 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/ecore-gen/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/partialinterpretation/impl/UnaryElementRelationLinkImpl.java +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/ecore-gen/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/partialinterpretation/impl/UnaryElementRelationLinkImpl.java @@ -62,6 +62,7 @@ public class UnaryElementRelationLinkImpl extends RelationLinkImpl implements Un * * @generated */ + @Override public DefinedElement getParam1() { if (param1 != null && param1.eIsProxy()) { InternalEObject oldParam1 = (InternalEObject)param1; @@ -88,6 +89,7 @@ public class UnaryElementRelationLinkImpl extends RelationLinkImpl implements Un * * @generated */ + @Override public void setParam1(DefinedElement newParam1) { DefinedElement oldParam1 = param1; param1 = newParam1; diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/model/PartialInterpretation.ecore b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/model/PartialInterpretation.ecore index acf82a3f..47d54258 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/model/PartialInterpretation.ecore +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/model/PartialInterpretation.ecore @@ -27,6 +27,9 @@ eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt" defaultValueLiteral="0"/> + + diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/model/PartialInterpretation.genmodel b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/model/PartialInterpretation.genmodel index 2ac0a4f3..daeaf594 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/model/PartialInterpretation.genmodel +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/model/PartialInterpretation.genmodel @@ -18,7 +18,10 @@ - + + + + @@ -33,9 +36,8 @@ - - + @@ -50,6 +52,7 @@ + @@ -70,11 +73,16 @@ + + + + + diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/src/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/neighbourhood/Descriptor.xtend b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/src/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/neighbourhood/Descriptor.xtend index c7c1ad77..e4bdb086 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/src/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/neighbourhood/Descriptor.xtend +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/src/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/neighbourhood/Descriptor.xtend @@ -60,6 +60,10 @@ import org.eclipse.xtend2.lib.StringConcatenationClient return this.dataHash.hashCode } + override equals(Object other) { + other.class == LocalNodeDescriptor && (other as AbstractNodeDescriptor).hashCode == hashCode + } + override protected prettyPrint() { '''(«dataHash»)[«IF id !== null»id = "«id»"«IF types === null || !types.empty», «ENDIF»«ENDIF»«IF types === null»TYPES = null«ELSE»«FOR type : types SEPARATOR ", "»«type»«ENDFOR»«ENDIF»]''' } @@ -143,6 +147,10 @@ import org.eclipse.xtend2.lib.StringConcatenationClient return this.dataHash.hashCode } + override equals(Object other) { + other.class == FurtherNodeDescriptor && (other as AbstractNodeDescriptor).hashCode == hashCode + } + override prettyPrint() { ''' («dataHash»)[ diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/src/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/neighbourhood/NeighbourhoodOptions.xtend b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/src/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/neighbourhood/NeighbourhoodOptions.xtend index efc89803..c6e03f75 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/src/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/neighbourhood/NeighbourhoodOptions.xtend +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/src/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/neighbourhood/NeighbourhoodOptions.xtend @@ -7,12 +7,12 @@ import org.eclipse.xtend.lib.annotations.Data @Data class NeighbourhoodOptions { - public static val FixPointRage = -1 + public static val FixPointRange = -1 public static val GraphWidthRange = -2 public static val FullParallels = Integer.MAX_VALUE public static val MaxNumbers = Integer.MAX_VALUE - public static val DEFAULT = new NeighbourhoodOptions(GraphWidthRange, FullParallels, MaxNumbers, null, null) + public static val DEFAULT = new NeighbourhoodOptions(FixPointRange, FullParallels, MaxNumbers, null, null) val int range val int parallels diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/src/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/neighbourhood/PartialInterpretation2Hash.xtend b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/src/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/neighbourhood/PartialInterpretation2Hash.xtend index d474877d..ddf7d712 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/src/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/neighbourhood/PartialInterpretation2Hash.xtend +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/src/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/neighbourhood/PartialInterpretation2Hash.xtend @@ -5,7 +5,7 @@ import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.DefinedElement class PartialInterpretation2Hash extends PartialInterpretation2NeighbourhoodRepresentation{ - protected new() { + new() { super(false, true) } diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/src/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/neighbourhood/PartialInterpretation2NeighbourhoodRepresentation.xtend b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/src/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/neighbourhood/PartialInterpretation2NeighbourhoodRepresentation.xtend index a0382e8e..3048167e 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/src/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/neighbourhood/PartialInterpretation2NeighbourhoodRepresentation.xtend +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/src/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/neighbourhood/PartialInterpretation2NeighbourhoodRepresentation.xtend @@ -25,7 +25,7 @@ abstract class PartialInterpretation2NeighbourhoodRepresentation nodeRepresentations = null - var Map modelRepresentation = null +class NeighbourhoodBasedHashStateCoderFactory extends AbstractNeighbourhoodBasedStateCoderFactory { + new() { + } new(NeighbourhoodOptions options) { super(options) } + override protected doCreateStateCoder(NeighbourhoodOptions options) { + new NeighbourhoodBasedPartialInterpretationStateCoder(new PartialInterpretation2Hash, options) + } +} + +class NeighbourhoodBasedPartialInterpretationStateCoder extends AbstractNeighbourhoodBasedPartialInterpretationStateCoder { + val PartialInterpretation2NeighbourhoodRepresentation calculator + var Map nodeRepresentations = null + var ModelRep modelRepresentation = null + + new(PartialInterpretation2NeighbourhoodRepresentation calculator, NeighbourhoodOptions options) { + super(options) + this.calculator = calculator + } + override protected isRefreshNeeded() { nodeRepresentations === null || modelRepresentation === null } diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/ViatraReasoner.xtend b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/ViatraReasoner.xtend index 1abde0a8..aa02cd30 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/ViatraReasoner.xtend +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/ViatraReasoner.xtend @@ -12,12 +12,15 @@ import hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicproblemPackage import hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicresultFactory import hu.bme.mit.inf.dslreasoner.logic.model.logicresult.ModelResult import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.ModelGenerationMethodProvider +import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.cardinality.ScopePropagatorStrategy import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.PartialInterpretationInitialiser import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.PartialInterpretation import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.PartialinterpretationPackage import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.statecoder.AbstractNeighbourhoodBasedStateCoderFactory import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.statecoder.IdentifierBasedStateCoderFactory +import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.statecoder.NeighbourhoodBasedHashStateCoderFactory import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.statecoder.PairwiseNeighbourhoodBasedStateCoderFactory +import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.dse.BasicScopeGlobalConstraint import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.dse.BestFirstStrategyForModelGeneration import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.dse.DiversityChecker import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.dse.InconsistentScopeGlobalConstraint @@ -39,7 +42,6 @@ import org.eclipse.viatra.dse.api.DesignSpaceExplorer import org.eclipse.viatra.dse.api.DesignSpaceExplorer.DseLoggingLevel import org.eclipse.viatra.dse.solutionstore.SolutionStore import org.eclipse.viatra.dse.statecode.IStateCoderFactory -import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.statecoder.NeighbourhoodBasedStateCoderFactory class ViatraReasoner extends LogicReasoner { val PartialInterpretationInitialiser initialiser = new PartialInterpretationInitialiser() @@ -71,6 +73,11 @@ class ViatraReasoner extends LogicReasoner { workspace.writeModel(emptySolution, "init.partialmodel") } emptySolution.problemConainer = problem + var BasicScopeGlobalConstraint basicScopeGlobalConstraint = null + if (viatraConfig.scopePropagatorStrategy == ScopePropagatorStrategy.None) { + basicScopeGlobalConstraint = new BasicScopeGlobalConstraint(emptySolution) + emptySolution.scopes.clear + } val method = modelGenerationMethodProvider.createModelGenerationMethod( problem, @@ -79,11 +86,12 @@ class ViatraReasoner extends LogicReasoner { viatraConfig.nameNewElements, viatraConfig.typeInferenceMethod, viatraConfig.scopePropagatorStrategy, + viatraConfig.hints, viatraConfig.documentationLevel ) dse.addObjective(new ModelGenerationCompositeObjective( - new ScopeObjective, + basicScopeGlobalConstraint ?: new ScopeObjective, method.unfinishedMultiplicities.map[new UnfinishedMultiplicityObjective(it)], wf2ObjectiveConverter.createCompletenessObjective(method.unfinishedWF) )) @@ -132,6 +140,9 @@ class ViatraReasoner extends LogicReasoner { dse.addGlobalConstraint(wf2ObjectiveConverter.createInvalidationGlobalConstraint(method.invalidWF)) dse.addGlobalConstraint(new SurelyViolatedObjectiveGlobalConstraint(solutionSaver)) dse.addGlobalConstraint(new InconsistentScopeGlobalConstraint) + if (basicScopeGlobalConstraint !== null) { + dse.addGlobalConstraint(basicScopeGlobalConstraint) + } for (additionalConstraint : viatraConfig.searchSpaceConstraints.additionalGlobalConstraints) { dse.addGlobalConstraint(additionalConstraint.apply(method)) } @@ -140,7 +151,7 @@ class ViatraReasoner extends LogicReasoner { val IStateCoderFactory statecoder = switch (viatraConfig.stateCoderStrategy) { case Neighbourhood: - new NeighbourhoodBasedStateCoderFactory + new NeighbourhoodBasedHashStateCoderFactory case PairwiseNeighbourhood: new PairwiseNeighbourhoodBasedStateCoderFactory default: @@ -215,10 +226,18 @@ class ViatraReasoner extends LogicReasoner { it.name = "Decisions" it.value = method.statistics.decisionsTried ] + it.entries += createIntStatisticEntry => [ + it.name = "Transformations" + it.value = method.statistics.transformationInvocations + ] it.entries += createIntStatisticEntry => [ it.name = "ScopePropagations" it.value = method.statistics.scopePropagatorInvocations ] + it.entries += createIntStatisticEntry => [ + it.name = "ScopePropagationsSolverCalls" + it.value = method.statistics.scopePropagatorSolverInvocations + ] if (diversityChecker.isActive) { it.entries += createIntStatisticEntry => [ it.name = "SolutionDiversityCheckTime" diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/ViatraReasonerConfiguration.xtend b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/ViatraReasonerConfiguration.xtend index a5f42a5f..6f38d261 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/ViatraReasonerConfiguration.xtend +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/ViatraReasonerConfiguration.xtend @@ -16,6 +16,7 @@ import java.util.LinkedList import java.util.List import java.util.Set import org.eclipse.xtext.xbase.lib.Functions.Function1 +import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.cardinality.LinearTypeConstraintHint enum StateCoderStrategy { Neighbourhood, @@ -56,6 +57,8 @@ class ViatraReasonerConfiguration extends LogicSolverConfiguration { public var ScopePropagatorStrategy scopePropagatorStrategy = new ScopePropagatorStrategy.Polyhedral( PolyhedralScopePropagatorConstraints.Relational, PolyhedralScopePropagatorSolver.Clp) + + public var List hints = newArrayList public var List costObjectives = newArrayList } diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/BasicScopeGlobalConstraint.xtend b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/BasicScopeGlobalConstraint.xtend new file mode 100644 index 00000000..67f447ed --- /dev/null +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/BasicScopeGlobalConstraint.xtend @@ -0,0 +1,103 @@ +package hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.dse + +import com.google.common.collect.ImmutableList +import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.PartialInterpretation +import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.PartialTypeInterpratation +import java.util.Comparator +import java.util.List +import org.eclipse.viatra.dse.base.ThreadContext +import org.eclipse.viatra.dse.objectives.Comparators +import org.eclipse.viatra.dse.objectives.IGlobalConstraint +import org.eclipse.viatra.dse.objectives.IObjective +import org.eclipse.xtend.lib.annotations.FinalFieldsConstructor + +class BasicScopeGlobalConstraint implements IGlobalConstraint, IObjective { + val PartialInterpretation p + val List assertions + + new(PartialInterpretation p) { + this.p = p + assertions = ImmutableList.copyOf(p.scopes.map [ + val currentSize = targetTypeInterpretation.elements.size + val minElements = minNewElements + currentSize + val maxElements = if (maxNewElements < 0) { + -1 + } else { + maxNewElements + currentSize + } + new ScopeAssertion(minElements, maxElements, targetTypeInterpretation) + ]) + } + + override init(ThreadContext context) { + if (context.model != p) { + throw new IllegalArgumentException( + "Partial model must be passed to the constructor of BasicScopeGlobalConstraint") + } + } + + override checkGlobalConstraint(ThreadContext context) { + assertions.forall[upperBoundSatisfied] + } + + override getFitness(ThreadContext context) { + var double fitness = p.minNewElements + for (assertion : assertions) { + if (!assertion.lowerBoundSatisfied) { + fitness += 1 + } + } + fitness + } + + override satisifiesHardObjective(Double fitness) { + fitness <= 0.01 + } + + override BasicScopeGlobalConstraint createNew() { + this + } + + override getName() { + class.name + } + + override getComparator() { + Comparators.LOWER_IS_BETTER + } + + override getLevel() { + 2 + } + + override isHardObjective() { + true + } + + override setComparator(Comparator comparator) { + throw new UnsupportedOperationException + } + + override setLevel(int level) { + throw new UnsupportedOperationException + } + + @FinalFieldsConstructor + private static class ScopeAssertion { + val int lowerBound + val int upperBound + val PartialTypeInterpratation typeDefinitions + + private def getCount() { + typeDefinitions.elements.size + } + + private def isLowerBoundSatisfied() { + count >= lowerBound + } + + private def isUpperBoundSatisfied() { + upperBound < 0 || count <= upperBound + } + } +} diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/BestFirstStrategyForModelGeneration.java b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/BestFirstStrategyForModelGeneration.java index 5af7fc69..081e48fa 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/BestFirstStrategyForModelGeneration.java +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/BestFirstStrategyForModelGeneration.java @@ -255,7 +255,7 @@ public class BestFirstStrategyForModelGeneration implements IStrategy { activationIds = new ArrayList(context.getUntraversedActivationIds()); Collections.shuffle(activationIds); } catch (NullPointerException e) { - logger.warn("Unexpected state code: " + context.getDesignSpaceManager().getCurrentState()); +// logger.warn("Unexpected state code: " + context.getDesignSpaceManager().getCurrentState()); numberOfStatecoderFail++; activationIds = Collections.emptyList(); } diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/ModelGenerationCompositeObjective.xtend b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/ModelGenerationCompositeObjective.xtend index 9a33753c..2976bebe 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/ModelGenerationCompositeObjective.xtend +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/ModelGenerationCompositeObjective.xtend @@ -59,7 +59,7 @@ class ModelGenerationCompositeObjective implements IThreeValuedObjective { } sum += multiplicity sum += unfinishedWFsFitness // *0.5 - // println('''Sum=«sum»|Scope=«scopeFitnes»|Multiplicity=«multiplicity»|WFs=«unfinishedWFsFitness»''') +// println('''Sum=«sum»|Scope=«scopeFitnes»|Multiplicity=«multiplicity»|WFs=«unfinishedWFsFitness»''') return sum } diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/ScopeObjective.xtend b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/ScopeObjective.xtend index 69efe0d7..e7967b00 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/ScopeObjective.xtend +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/ScopeObjective.xtend @@ -23,9 +23,9 @@ class ScopeObjective implements IObjective{ override getFitness(ThreadContext context) { val interpretation = context.model as PartialInterpretation - var res = interpretation.minNewElements.doubleValue + var res = interpretation.minNewElementsHeuristic.doubleValue for(scope : interpretation.scopes) { - res += scope.minNewElements*2 + res += scope.minNewElementsHeuristic*2 } return res } diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/UnfinishedWFObjective.xtend b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/UnfinishedWFObjective.xtend index bf34aeeb..1b61ffa5 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/UnfinishedWFObjective.xtend +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/UnfinishedWFObjective.xtend @@ -14,41 +14,51 @@ import org.eclipse.viatra.query.runtime.api.ViatraQueryMatcher class UnfinishedWFObjective implements IObjective { Collection>> unfinishedWFs val List> matchers - - new(Collection>> unfinishedWFs) { + + new( + Collection>> unfinishedWFs) { this.unfinishedWFs = unfinishedWFs matchers = new ArrayList(unfinishedWFs.size) } + override getName() '''unfinishedWFs''' + override createNew() { return new UnfinishedWFObjective(unfinishedWFs) } + override init(ThreadContext context) { - val engine = context.queryEngine//ViatraQueryEngine.on(new EMFScope(context.model)) - for(unfinishedWF : unfinishedWFs) { + val engine = context.queryEngine // ViatraQueryEngine.on(new EMFScope(context.model)) + for (unfinishedWF : unfinishedWFs) { matchers += unfinishedWF.getMatcher(engine) } } - + override getComparator() { Comparators.LOWER_IS_BETTER } + override getFitness(ThreadContext context) { var sumOfMatches = 0 - for(matcher : matchers) { + for (matcher : matchers) { val number = matcher.countMatches - //println('''«matcher.patternName» = «number»''') - sumOfMatches+=number +// if (number > 0) { +// println('''«matcher.patternName» = «number»''') +// } + sumOfMatches += number } return sumOfMatches.doubleValue } - + override getLevel() { 2 } + override isHardObjective() { true } - override satisifiesHardObjective(Double fitness) { return fitness <=0.01 } - + + override satisifiesHardObjective(Double fitness) { return fitness <= 0.01 } + override setComparator(Comparator comparator) { throw new UnsupportedOperationException() } + override setLevel(int level) { throw new UnsupportedOperationException() } -} \ No newline at end of file +} diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/ViatraReasonerSolutionSaver.xtend b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/ViatraReasonerSolutionSaver.xtend index 6bffeb59..74500cc2 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/ViatraReasonerSolutionSaver.xtend +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/ViatraReasonerSolutionSaver.xtend @@ -42,7 +42,7 @@ class ViatraReasonerSolutionSaver implements ISolutionSaver { private def saveBestSolutionOnly(ThreadContext context, Object id, SolutionTrajectory solutionTrajectory) { val fitness = context.lastFitness - if (!fitness.satisifiesHardObjectives) { + if (!shouldSaveSolution(fitness, context)) { return false } val dominatedTrajectories = newArrayList @@ -83,7 +83,7 @@ class ViatraReasonerSolutionSaver implements ISolutionSaver { private def saveAnyDiverseSolution(ThreadContext context, Object id, SolutionTrajectory solutionTrajectory) { val fitness = context.lastFitness - if (!fitness.satisifiesHardObjectives) { + if (!shouldSaveSolution(fitness, context)) { return false } if (!diversityChecker.newSolution(context, id, emptyList)) { @@ -92,7 +92,12 @@ class ViatraReasonerSolutionSaver implements ISolutionSaver { basicSaveSolution(context, id, solutionTrajectory, fitness) } - private def basicSaveSolution(ThreadContext context, Object id, SolutionTrajectory solutionTrajectory, Fitness fitness) { + private def shouldSaveSolution(Fitness fitness, ThreadContext context) { + return fitness.satisifiesHardObjectives + } + + private def basicSaveSolution(ThreadContext context, Object id, SolutionTrajectory solutionTrajectory, + Fitness fitness) { var boolean solutionSaved = false var dseSolution = solutionsCollection.get(id) if (dseSolution === null) { diff --git a/Tests/hu.bme.mit.inf.dslreasoner.run/META-INF/MANIFEST.MF b/Tests/hu.bme.mit.inf.dslreasoner.run/META-INF/MANIFEST.MF index cc274c7c..fe223d4a 100644 --- a/Tests/hu.bme.mit.inf.dslreasoner.run/META-INF/MANIFEST.MF +++ b/Tests/hu.bme.mit.inf.dslreasoner.run/META-INF/MANIFEST.MF @@ -28,8 +28,10 @@ Require-Bundle: hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlan hu.bme.mit.inf.dslreasoner.visualisation;bundle-version="1.0.0", hu.bme.mit.inf.dslreasoner.domains.alloyexamples;bundle-version="1.0.0", org.eclipse.collections;bundle-version="9.2.0", - org.eclipse.viatra.query.patternlanguage.emf;bundle-version="2.2.0", - org.eclipse.viatra.query.runtime.rete;bundle-version="2.2.0", - org.objectweb.asm;bundle-version="7.0.0" + org.eclipse.viatra.query.patternlanguage.emf;bundle-version="2.0.0", + org.eclipse.viatra.query.runtime.rete;bundle-version="2.0.0", + org.objectweb.asm;bundle-version="7.0.0", + com.google.gson;bundle-version="2.8.2", + hu.bme.mit.inf.dslreasoner.domains.satellite;bundle-version="0.1.0" Import-Package: org.apache.log4j Bundle-RequiredExecutionEnvironment: JavaSE-1.8 diff --git a/Tests/hu.bme.mit.inf.dslreasoner.run/configs/FAM_useful_ViatraSolver_polyhedral_typeHierarchy_Clp.json b/Tests/hu.bme.mit.inf.dslreasoner.run/configs/FAM_useful_ViatraSolver_polyhedral_typeHierarchy_Clp.json new file mode 100644 index 00000000..26df3c74 --- /dev/null +++ b/Tests/hu.bme.mit.inf.dslreasoner.run/configs/FAM_useful_ViatraSolver_polyhedral_typeHierarchy_Clp.json @@ -0,0 +1,13 @@ +{ + "inputPath": "initialModels", + "outputPath": "outputModels", + "timeout": 1200, + "saveModels": true, + "warmupIterations": 0, + "iterations": 1, + "domain": "FAM", + "scope": "none", + "sizes": [500], + "solver": "ViatraSolver", + "scopePropagator": "basic" +} diff --git a/Tests/hu.bme.mit.inf.dslreasoner.run/configs/Yakindu_useful_ViatraSolver_polyhedral_typeHierarchy_Clp.json b/Tests/hu.bme.mit.inf.dslreasoner.run/configs/Yakindu_useful_ViatraSolver_polyhedral_typeHierarchy_Clp.json new file mode 100644 index 00000000..5f8a01b1 --- /dev/null +++ b/Tests/hu.bme.mit.inf.dslreasoner.run/configs/Yakindu_useful_ViatraSolver_polyhedral_typeHierarchy_Clp.json @@ -0,0 +1,16 @@ +{ + "inputPath": "initialModels", + "outputPath": "outputModels", + "timeout": 1200, + "saveModels": false, + "warmupIterations": 0, + "iterations": 5, + "domain": "Yakindu", + "scope": "quantiles", + "sizes": [100], + "solver": "ViatraSolver", + "scopePropagator": "polyhedral", + "propagatedConstraints": "hints", + "polyhedronSolver": "Clp", + "scopeHeuristic": "basic" +} diff --git a/Tests/hu.bme.mit.inf.dslreasoner.run/configs/ecore_useful_ViatraSolver_polyhedral_typeHierarchy_Clp.json b/Tests/hu.bme.mit.inf.dslreasoner.run/configs/ecore_useful_ViatraSolver_polyhedral_typeHierarchy_Clp.json new file mode 100644 index 00000000..42073422 --- /dev/null +++ b/Tests/hu.bme.mit.inf.dslreasoner.run/configs/ecore_useful_ViatraSolver_polyhedral_typeHierarchy_Clp.json @@ -0,0 +1,15 @@ +{ + "inputPath": "initialModels", + "outputPath": "outputModels", + "timeout": 1200, + "saveModels": true, + "warmupIterations": 0, + "iterations": 5, + "domain": "ecore", + "scope": "quantiles", + "sizes": [100], + "solver": "ViatraSolver", + "scopePropagator": "polyhedral", + "propagatedConstraints": "relations", + "polyhedronSolver": "Clp" +} diff --git a/Tests/hu.bme.mit.inf.dslreasoner.run/configs/fs_useful_ViatraSolver_polyhedral_typeHierarchy_Clp.json b/Tests/hu.bme.mit.inf.dslreasoner.run/configs/fs_useful_ViatraSolver_polyhedral_typeHierarchy_Clp.json new file mode 100644 index 00000000..d7955ddd --- /dev/null +++ b/Tests/hu.bme.mit.inf.dslreasoner.run/configs/fs_useful_ViatraSolver_polyhedral_typeHierarchy_Clp.json @@ -0,0 +1,15 @@ +{ + "inputPath": "initialModels", + "outputPath": "outputModels", + "timeout": 1200, + "saveModels": true, + "warmupIterations": 1, + "iterations": 1, + "domain": "fs", + "scope": "useful", + "sizes": [50, 100, 150, 200, 250, 300, 350, 400, 450, 500], + "solver": "ViatraSolver", + "scopePropagator": "polyhedral", + "propagatedConstraints": "relations", + "polyhedronSolver": "Clp" +} diff --git a/Tests/hu.bme.mit.inf.dslreasoner.run/configs/satellite_useful_ViatraSolver_polyhedral_typeHierarchy_Clp.json b/Tests/hu.bme.mit.inf.dslreasoner.run/configs/satellite_useful_ViatraSolver_polyhedral_typeHierarchy_Clp.json new file mode 100644 index 00000000..474962e7 --- /dev/null +++ b/Tests/hu.bme.mit.inf.dslreasoner.run/configs/satellite_useful_ViatraSolver_polyhedral_typeHierarchy_Clp.json @@ -0,0 +1,17 @@ +{ + "inputPath": "initialModels", + "outputPath": "outputModels", + "timeout": 1200, + "saveModels": true, + "saveTemporaryFiles": true, + "warmupIterations": 0, + "iterations": 1, + "domain": "satellite", + "scope": "quantiles", + "sizes": [50], + "solver": "ViatraSolver", + "scopePropagator": "polyhedral", + "propagatedConstraints": "hints", + "polyhedronSolver": "Clp", + "scopeHeuristic": "polyhedral" +} diff --git a/Tests/hu.bme.mit.inf.dslreasoner.run/initialModels/satellite.xmi b/Tests/hu.bme.mit.inf.dslreasoner.run/initialModels/satellite.xmi new file mode 100644 index 00000000..77f6ecfd --- /dev/null +++ b/Tests/hu.bme.mit.inf.dslreasoner.run/initialModels/satellite.xmi @@ -0,0 +1,14 @@ + + + + + + + diff --git a/Tests/hu.bme.mit.inf.dslreasoner.run/src/hu/bme/mit/inf/dslreasoner/run/CountMatches.xtend b/Tests/hu.bme.mit.inf.dslreasoner.run/src/hu/bme/mit/inf/dslreasoner/run/CountMatches.xtend deleted file mode 100644 index 02caf9dd..00000000 --- a/Tests/hu.bme.mit.inf.dslreasoner.run/src/hu/bme/mit/inf/dslreasoner/run/CountMatches.xtend +++ /dev/null @@ -1,176 +0,0 @@ -package hu.bme.mit.inf.dslreasoner.run - -import hu.bme.mit.inf.dslreasoner.domains.yakindu.sgraph.yakindumm.YakindummPackage -import hu.bme.mit.inf.dslreasoner.partialsnapshot_mavo.yakindu.mutated.Mutated -import hu.bme.mit.inf.dslreasoner.workspace.FileSystemWorkspace -import java.io.File -import java.util.ArrayList -import java.util.Collection -import java.util.Comparator -import java.util.HashMap -import java.util.List -import java.util.Map -import java.util.TreeSet -import org.eclipse.emf.ecore.EObject -import org.eclipse.emf.ecore.resource.Resource -import org.eclipse.emf.ecore.xmi.impl.XMIResourceFactoryImpl -import org.eclipse.viatra.query.runtime.api.IPatternMatch -import org.eclipse.viatra.query.runtime.api.IQuerySpecification -import org.eclipse.viatra.query.runtime.api.ViatraQueryEngine -import org.eclipse.viatra.query.runtime.emf.EMFScope - -class QueryComparator implements Comparator>{ - - override compare(IQuerySpecification arg0, IQuerySpecification arg1) { - arg0.fullyQualifiedName.compareTo(arg1.fullyQualifiedName) - } -} - -class CountMatches { - var static List> wfPatterns; - var static Map,IQuerySpecification> query2Reference - - def static void main(String[] args) { - YakindummPackage.eINSTANCE.eClass - Resource.Factory.Registry.INSTANCE.extensionToFactoryMap.put("*",new XMIResourceFactoryImpl) - - wfPatterns = Mutated.instance.specifications.toList; - //wfPatterns = wfPatterns.filter[it.allAnnotations.exists[it.name == "Constraint"]].toList - wfPatterns.sort(new QueryComparator) - - val groupName2Representant = new HashMap - query2Reference = new HashMap - for(wfPattern : wfPatterns) { - val groupName = wfPattern.groupName - if(groupName2Representant.containsKey(groupName)) { - val representant = groupName2Representant.get(groupName) - query2Reference.put(wfPattern,representant) - } else { - groupName2Representant.put(groupName,wfPattern) - } - } - - - println('''modelpath;run;model;« - FOR wfPattern:wfPatterns SEPARATOR ";"»#(« - wfPattern.fullyQualifiedName.split("\\.").last»);hash(« - wfPattern.fullyQualifiedName.split("\\.").last»)«ENDFOR»;« - FOR mutant : wfPatterns.filter[query2Reference.keySet.contains(it)] SEPARATOR ';'»diff(« - mutant.fullyQualifiedName.split("\\.").last»)«ENDFOR»''' - ) - countMatches('''D:/FASE18Meas/RemoHF''') - } - - def private static simpleName(IQuerySpecification wfPattern) { - wfPattern.fullyQualifiedName.split("\\.").last - } - def private static groupName(IQuerySpecification wfPattern) { - wfPattern.simpleName.split('_').head - } - - def static void countMatches(String path) { - val file = new File(path) - if(file.isDirectory) { - for(subFileName : file.list) { - (path + "/" + subFileName).countMatches - } - } else if(file.isFile) { - if(path.endsWith("xmi")) { - countMatches(file,path) - } - } - } - - def static void countMatches(File file, String path) { - - - val pathSegments = path.split("/") - val groupName = pathSegments.get(pathSegments.size-2).split("\\.").last.split("_").get(0) - print(groupName +";") - val nameExtension = pathSegments.get(pathSegments.size-1).split("\\.").get(0).split("_") - try{ - val runNumber = nameExtension.get(1) - val modelNumber = nameExtension.get(2) - print('''«runNumber»;«modelNumber»''') - } catch(Exception e) { - print('''«file.name»;0''') - } - - val parent = file.parent - val workspace = new FileSystemWorkspace(parent,"") - val model = workspace.readModel(EObject,file.name) - - val engine = ViatraQueryEngine.on(new EMFScope(model)) - val objectCode = model.eResource.calculateObjectCode - - val pattern2Hash = new HashMap - for(pattern : wfPatterns) { - val matcher = pattern.getMatcher(engine) - val matches = matcher.allMatches - val hash = matches.getMatchSetDescriptor(objectCode) - pattern2Hash.put(pattern,hash) - print(''';«matcher.countMatches»;«hash»''') - } - var mutantsKilled = 0 - for(mutant : wfPatterns.filter[query2Reference.keySet.contains(it)]) { - val equals = pattern2Hash.get(mutant) == pattern2Hash.get(query2Reference.get(mutant)) - print(''';''') - if(equals) { - print('0') - } else { - print('1') - mutantsKilled++ - } - } - //print(''';«mutantsKilled»''') - println() - } - - def static Map calculateObjectCode(Resource resource) { - val res = new HashMap - val iterator = resource.allContents - var index = 1 - while(iterator.hasNext) { - res.put(iterator.next,index++) - } - return res - } - - def static getMatchSetDescriptor(Collection matchSet, Map objectCode) { - val set = new TreeSet(new ArrayComparator) - for(match: matchSet) { - val size = match.parameterNames.size - val idArray = new ArrayList(size) - for(i:0..> { - - override compare(List arg0, List arg1) { - if(arg0.size === arg1.size) { - for(i : 0.. nameToType + val Map> nameToRelation + + protected new(Ecore2Logic ecore2Logic, Ecore2Logic_Trace trace) { + nameToType = ImmutableMap.copyOf(ecore2Logic.allClassesInScope(trace).toMap[name].mapValues [ eClass | + ecore2Logic.TypeofEClass(trace, eClass) + ]) + nameToRelation = ImmutableMap.copyOf(ecore2Logic.allReferencesInScope(trace).groupBy[EContainingClass.name]. + mapValues [ references | + ImmutableMap.copyOf(references.toMap[name].mapValues [ reference | + ecore2Logic.relationOfReference(trace, reference) + ]) + ]) + } + + protected def getType(String name) { + nameToType.get(name) + } + + protected def relation(String typeName, String relationName) { + nameToRelation.get(typeName).get(relationName) + } + + protected static def int countMatches(ViatraQueryMatcher matcher, PartialInterpretation p) { + val match = matcher.newEmptyMatch + match.set(0, p.problem) + match.set(1, p) + matcher.countMatches(match) + } + + protected static def int getCount(ViatraQueryMatcher matcher, PartialInterpretation p) { + val match = matcher.newEmptyMatch + match.set(0, p.problem) + match.set(1, p) + val realMatch = matcher.getOneArbitraryMatch(match) + if (realMatch.present) { + realMatch.get.get(2) as Integer + } else { + 0 + } + } +} diff --git a/Tests/hu.bme.mit.inf.dslreasoner.run/src/hu/bme/mit/inf/dslreasoner/run/MetamodelLoader.xtend b/Tests/hu.bme.mit.inf.dslreasoner.run/src/hu/bme/mit/inf/dslreasoner/run/MetamodelLoader.xtend index 34f3c267..54724226 100644 --- a/Tests/hu.bme.mit.inf.dslreasoner.run/src/hu/bme/mit/inf/dslreasoner/run/MetamodelLoader.xtend +++ b/Tests/hu.bme.mit.inf.dslreasoner.run/src/hu/bme/mit/inf/dslreasoner/run/MetamodelLoader.xtend @@ -4,18 +4,23 @@ import functionalarchitecture.FunctionalarchitecturePackage import hu.bme.mit.inf.dslreasoner.domains.alloyexamples.Ecore import hu.bme.mit.inf.dslreasoner.domains.alloyexamples.FileSystem import hu.bme.mit.inf.dslreasoner.domains.alloyexamples.Filesystem.FilesystemPackage +import hu.bme.mit.inf.dslreasoner.domains.satellite.queries.internal.SatelliteQueriesAll import hu.bme.mit.inf.dslreasoner.domains.transima.fam.FamPatterns import hu.bme.mit.inf.dslreasoner.domains.yakindu.sgraph.yakindumm.YakindummPackage +import hu.bme.mit.inf.dslreasoner.ecore2logic.Ecore2Logic +import hu.bme.mit.inf.dslreasoner.ecore2logic.Ecore2Logic_Trace import hu.bme.mit.inf.dslreasoner.ecore2logic.EcoreMetamodelDescriptor import hu.bme.mit.inf.dslreasoner.partialsnapshot_mavo.yakindu.Patterns import hu.bme.mit.inf.dslreasoner.viatra2logic.ViatraQuerySetDescriptor import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.ModelGenerationMethod +import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.cardinality.LinearTypeConstraintHint import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.ModelGenerationMethodBasedGlobalConstraint import hu.bme.mit.inf.dslreasoner.workspace.ReasonerWorkspace import java.util.Collection import java.util.HashMap import java.util.LinkedHashMap import java.util.List +import java.util.Map import java.util.Set import org.eclipse.emf.ecore.EAttribute import org.eclipse.emf.ecore.EClass @@ -24,60 +29,83 @@ import org.eclipse.emf.ecore.EEnumLiteral import org.eclipse.emf.ecore.EObject import org.eclipse.emf.ecore.EReference import org.eclipse.emf.ecore.EcorePackage +import org.eclipse.xtend.lib.annotations.Data import org.eclipse.xtext.xbase.lib.Functions.Function1 -import hu.bme.mit.inf.dslreasoner.domains.transima.fam.Type -import hu.bme.mit.inf.dslreasoner.domains.transima.fam.Model +import satellite.SatellitePackage + +@Data +class TypeQuantiles { + double low + double high +} abstract class MetamodelLoader { protected val ReasonerWorkspace workspace + new(ReasonerWorkspace workspace) { this.workspace = workspace - } + } + def EcoreMetamodelDescriptor loadMetamodel() + def Set getRelevantTypes(EcoreMetamodelDescriptor descriptor) + def Set getRelevantReferences(EcoreMetamodelDescriptor descriptor) + def ViatraQuerySetDescriptor loadQueries(EcoreMetamodelDescriptor metamodel) + def List loadPartialModel() - - def List> additionalConstraints() - - def filterByNames(Iterable collection, Function1 nameExtractor, Collection requiredNames) { + + def List> additionalConstraints() + + def Map getTypeQuantiles() { + emptyMap + } + + def List getHints(Ecore2Logic ecore2Logic, Ecore2Logic_Trace trace) { + emptyList + } + + def filterByNames(Iterable collection, Function1 nameExtractor, + Collection requiredNames) { val res = collection.filter[requiredNames.contains(nameExtractor.apply(it))] if(res.size != requiredNames.size) throw new IllegalArgumentException return res.toSet } } -class FAMLoader extends MetamodelLoader{ - +class FAMLoader extends MetamodelLoader { + new(ReasonerWorkspace workspace) { super(workspace) } - + override loadMetamodel() { val package = FunctionalarchitecturePackage.eINSTANCE val List classes = package.EClassifiers.filter(EClass).toList val List enums = package.EClassifiers.filter(EEnum).toList val List literals = enums.map[ELiterals].flatten.toList - val List references = classes.map[EReferences].flatten.toList + val List references = classes.map[EReferences].flatten.filter[name != "type" && name != "model"]. + toList val List attributes = classes.map[EAttributes].flatten.toList - return new EcoreMetamodelDescriptor(classes,#{},false,enums,literals,references,attributes) + return new EcoreMetamodelDescriptor(classes, #{}, false, enums, literals, references, attributes) } - - override getRelevantTypes(EcoreMetamodelDescriptor descriptor) { - return descriptor.classes.filterByNames([it.name],#["FunctionalElement"]) + + override getRelevantTypes(EcoreMetamodelDescriptor descriptor) { + return descriptor.classes.filterByNames([it.name], #["FunctionalElement"]) } + override getRelevantReferences(EcoreMetamodelDescriptor descriptor) { - return descriptor.references.filterByNames([it.name],#["subElements"]) + return descriptor.references.filterByNames([it.name], #["subElements"]) } - + override loadQueries(EcoreMetamodelDescriptor metamodel) { val i = FamPatterns.instance val patterns = i.specifications.toList - val wfPatterns = patterns.filter[it.allAnnotations.exists[it.name== "Constraint"]].toSet + val wfPatterns = patterns.filter[it.allAnnotations.exists[it.name == "Constraint"]].toSet val derivedFeatures = new LinkedHashMap - derivedFeatures.put(Type.instance,metamodel.attributes.filter[it.name == "type"].head) - derivedFeatures.put(Model.instance,metamodel.references.filter[it.name == "model"].head) +// derivedFeatures.put(Type.instance,metamodel.attributes.filter[it.name == "type"].head) +// derivedFeatures.put(Model.instance,metamodel.references.filter[it.name == "model"].head) val res = new ViatraQuerySetDescriptor( patterns, wfPatterns, @@ -85,65 +113,67 @@ class FAMLoader extends MetamodelLoader{ ) return res } + override loadPartialModel() { - this.workspace.readModel(EObject,"FAM.xmi").eResource.allContents.toList + this.workspace.readModel(EObject, "FAM.xmi").eResource.allContents.toList } - + override additionalConstraints() { #[] } } -class YakinduLoader extends MetamodelLoader{ - +class YakinduLoader extends MetamodelLoader { + var useSynchronization = true; - var useComplexStates = false; - public static val patternsWithSynchronization = #[ - "synchHasNoOutgoing", "synchHasNoIncoming", "SynchronizedIncomingInSameRegion", "notSynchronizingStates", - "hasMultipleOutgoingTrainsition", "hasMultipleIncomingTrainsition", "SynchronizedRegionsAreNotSiblings", - "SynchronizedRegionDoesNotHaveMultipleRegions", "synchThree", "twoSynch","noSynch2","synch","noSynch4","noSynch3","noSynch"] - public static val patternsWithComplexStates =#["outgoingFromExit","outgoingFromFinal","choiceHasNoOutgoing","choiceHasNoIncoming"] + var useComplexStates = false; + public static val patternsWithSynchronization = #["synchHasNoOutgoing", "synchHasNoIncoming", + "SynchronizedIncomingInSameRegion", "SynchronizedIncomingInSameRegionHelper1", + "SynchronizedIncomingInSameRegionHelper2", "notSynchronizingStates", "hasMultipleOutgoingTrainsition", + "hasMultipleIncomingTrainsition", "SynchronizedRegionsAreNotSiblings", + "SynchronizedRegionsAreNotSiblingsHelper1", "SynchronizedRegionsAreNotSiblingsHelper2", + "SynchronizedRegionDoesNotHaveMultipleRegions", "synchThree", "twoSynch", "noSynch2", "synch", "noSynch4", + "noSynch3", "noSynch"] + public static val patternsWithComplexStates = #["outgoingFromExit", "outgoingFromFinal", "choiceHasNoOutgoing", + "choiceHasNoIncoming"] + new(ReasonerWorkspace workspace) { super(workspace) YakindummPackage.eINSTANCE.eClass } - + def setUseSynchronization(boolean useSynchronization) { this.useSynchronization = useSynchronization } + def setUseComplexStates(boolean useComplexStates) { this.useComplexStates = useComplexStates } - + override loadMetamodel() { val useSynchInThisLoad = this.useSynchronization val useComplexStates = this.useComplexStates - + val package = YakindummPackage.eINSTANCE - val List classes = package.EClassifiers.filter(EClass) - .filter[useSynchInThisLoad || (it.name != "Synchronization")] - .filter[useComplexStates || (it.name != "Choice" && it.name != "Exit" && it.name != "FinalState")] - .toList + val List classes = package.EClassifiers.filter(EClass).filter [ + useSynchInThisLoad || (it.name != "Synchronization") + ].filter[useComplexStates || (it.name != "Choice" && it.name != "Exit" && it.name != "FinalState")].toList val List enums = package.EClassifiers.filter(EEnum).toList val List literals = enums.map[ELiterals].flatten.toList val List references = classes.map[EReferences].flatten.toList val List attributes = classes.map[EAttributes].flatten.toList - return new EcoreMetamodelDescriptor(classes,#{},false,enums,literals,references,attributes) + return new EcoreMetamodelDescriptor(classes, #{}, false, enums, literals, references, attributes) } + override loadQueries(EcoreMetamodelDescriptor metamodel) { val useSynchInThisLoad = this.useSynchronization - + val i = Patterns.instance - val patterns = i.specifications - .filter[spec | - useSynchInThisLoad || - !patternsWithSynchronization.exists[spec.fullyQualifiedName.endsWith(it)] - ] - .filter[spec | - useComplexStates || - !patternsWithComplexStates.exists[spec.fullyQualifiedName.endsWith(it)] - ] - .toList - val wfPatterns = patterns.filter[it.allAnnotations.exists[it.name== "Constraint"]].toSet + val patterns = i.specifications.filter [ spec | + useSynchInThisLoad || !patternsWithSynchronization.exists[spec.fullyQualifiedName.endsWith(it)] + ].filter [ spec | + useComplexStates || !patternsWithComplexStates.exists[spec.fullyQualifiedName.endsWith(it)] + ].toList + val wfPatterns = patterns.filter[it.allAnnotations.exists[it.name == "Constraint"]].toSet val derivedFeatures = new LinkedHashMap val res = new ViatraQuerySetDescriptor( patterns, @@ -152,53 +182,71 @@ class YakinduLoader extends MetamodelLoader{ ) return res } + override getRelevantTypes(EcoreMetamodelDescriptor descriptor) { - descriptor.classes.filterByNames([it.name],#["Vertex","Transition","Synchronization"]) + descriptor.classes.filterByNames([it.name], #["Vertex", "Transition", "Synchronization"]) } - + override getRelevantReferences(EcoreMetamodelDescriptor descriptor) { - descriptor.references.filterByNames([it.name],#["source","target"]) + descriptor.references.filterByNames([it.name], #["source", "target"]) } - + override loadPartialModel() { - this.workspace.readModel(EObject,"Yakindu.xmi").eResource.allContents.toList + this.workspace.readModel(EObject, "Yakindu.xmi").eResource.allContents.toList } - - override additionalConstraints() { //#[] - #[[method | new SGraphInconsistencyDetector(method)]] + + override additionalConstraints() { // #[] + #[[method|new SGraphInconsistencyDetector(method)]] + } + + override getTypeQuantiles() { + #{ + "Choice" -> new TypeQuantiles(0.118279569892473, 0.154020979020979), + "Entry" -> new TypeQuantiles(0.0283018867924528, 0.0620167525773196), + "Exit" -> new TypeQuantiles(0, 0), + "FinalState" -> new TypeQuantiles(0, 0), + "Region" -> new TypeQuantiles(0.0294117647058824, 0.0633258678611422), + "State" -> new TypeQuantiles(0.132023636740618, 0.175925925925926), +// "Statechart" -> new TypeQuantiles(0.00961538461538462, 0.010752688172043), + "Transition" -> new TypeQuantiles(0.581632653061224, 0.645161290322581) + } + } + + override getHints(Ecore2Logic ecore2Logic, Ecore2Logic_Trace trace) { + #[new SGraphHint(ecore2Logic, trace)] } } -class FileSystemLoader extends MetamodelLoader{ - +class FileSystemLoader extends MetamodelLoader { + new(ReasonerWorkspace workspace) { super(workspace) } - + override loadMetamodel() { val package = FilesystemPackage.eINSTANCE val List classes = package.EClassifiers.filter(EClass).toList val List enums = package.EClassifiers.filter(EEnum).toList val List literals = enums.map[ELiterals].flatten.toList - val List references = classes.map[EReferences].flatten.toList + val List references = classes.map[EReferences].flatten.filter[name != "live"].toList val List attributes = classes.map[EAttributes].flatten.toList - return new EcoreMetamodelDescriptor(classes,#{},false,enums,literals,references,attributes) + return new EcoreMetamodelDescriptor(classes, #{}, false, enums, literals, references, attributes) } - + override getRelevantTypes(EcoreMetamodelDescriptor descriptor) { return null } - + override getRelevantReferences(EcoreMetamodelDescriptor descriptor) { null } - + override loadQueries(EcoreMetamodelDescriptor metamodel) { val patternGroup = FileSystem.instance val patterns = patternGroup.specifications.toList val wfPatterns = patterns.filter[it.allAnnotations.exists[it.name == "Constraint"]].toSet val derivedFeatures = new HashMap - derivedFeatures.put(patternGroup.live,metamodel.references.filter[it.name == "live"].head) +// derivedFeatures.put(patternGroup.live,metamodel.references.filter[it.name == "live"].head) return new ViatraQuerySetDescriptor( patterns, wfPatterns, @@ -206,41 +254,46 @@ class FileSystemLoader extends MetamodelLoader{ ) } - + override loadPartialModel() { - this.workspace.readModel(EObject,"fs.xmi").eResource.allContents.toList + this.workspace.readModel(EObject, "fs.xmi").eResource.allContents.toList } - + override additionalConstraints() { - #[[method | new FileSystemInconsistencyDetector(method)]] + #[[method|new FileSystemInconsistencyDetector(method)]] } - + } class EcoreLoader extends MetamodelLoader { - + new(ReasonerWorkspace workspace) { super(workspace) } - + override loadMetamodel() { val package = EcorePackage.eINSTANCE - val List classes = package.EClassifiers.filter(EClass).filter[it.name!="EFactory"].toList + val List classes = package.EClassifiers.filter(EClass).filter [ + it.name != "EFactory" && it.name != "EObject" && it.name != "EResource" + ].toList val List enums = package.EClassifiers.filter(EEnum).toList val List literals = enums.map[ELiterals].flatten.toList - val List references = classes.map[EReferences].flatten.filter[it.name!="eFactoryInstance"].filter[!it.derived].toList - val List attributes = #[] //classes.map[EAttributes].flatten.toList - return new EcoreMetamodelDescriptor(classes,#{},false,enums,literals,references,attributes) + val List references = classes.map[EReferences].flatten.filter [ + it.name != "eFactoryInstance" && it.name != "contents" && it.name != "references" && + it.name != "eGenericType" && it.name != "eGenericSuperTypes" + ].filter[!it.derived].toList + val List attributes = #[] // classes.map[EAttributes].flatten.toList + return new EcoreMetamodelDescriptor(classes, #{}, false, enums, literals, references, attributes) } - + override getRelevantTypes(EcoreMetamodelDescriptor descriptor) { return null } - + override getRelevantReferences(EcoreMetamodelDescriptor descriptor) { null } - + override loadQueries(EcoreMetamodelDescriptor metamodel) { val patternGroup = Ecore.instance val patterns = patternGroup.specifications.toList @@ -253,13 +306,92 @@ class EcoreLoader extends MetamodelLoader { ) } - + override loadPartialModel() { - this.workspace.readModel(EObject,"ecore.xmi").eResource.allContents.toList + this.workspace.readModel(EObject, "ecore.xmi").eResource.allContents.toList } - + override additionalConstraints() { #[] } + + override getTypeQuantiles() { + #{ + "EAnnotation" -> new TypeQuantiles(0, 0), + "EAttribute" -> new TypeQuantiles(0.14, 0.300943396226415), + "EClass" -> new TypeQuantiles(0.224014336917563, 0.372881355932203), + "EDataType" -> new TypeQuantiles(0, 0), + "EEnum" -> new TypeQuantiles(0, 0.0275208638045255), + "EEnumLiteral" -> new TypeQuantiles(0, 0.105204907665065), + "EGenericType" -> new TypeQuantiles(0, 0), + "EOperation" -> new TypeQuantiles(0, 0), + "EPackage" -> new TypeQuantiles(0.0119047619047619, 0.0192307692307692), + "EParameter" -> new TypeQuantiles(0, 0), + "EReference" -> new TypeQuantiles(0.217599234815878, 0.406779661016949), + "EStringToStringMapEntry" -> new TypeQuantiles(0, 0), + "ETypeParameter" -> new TypeQuantiles(0, 0) + } + } + +} + +class SatelliteLoader extends MetamodelLoader { + + new(ReasonerWorkspace workspace) { + super(workspace) + } + + override loadMetamodel() { + val package = SatellitePackage.eINSTANCE + val List classes = package.EClassifiers.filter(EClass).toList + val List enums = package.EClassifiers.filter(EEnum).toList + val List literals = enums.map[ELiterals].flatten.toList + val List references = classes.map[EReferences].flatten.toList + val List attributes = classes.map[EAttributes].flatten.toList + return new EcoreMetamodelDescriptor(classes, #{}, false, enums, literals, references, attributes) + } + + override getRelevantTypes(EcoreMetamodelDescriptor descriptor) { + null + } + + override getRelevantReferences(EcoreMetamodelDescriptor descriptor) { + null + } + + override loadQueries(EcoreMetamodelDescriptor metamodel) { + val i = SatelliteQueriesAll.instance + val patterns = i.specifications.toList + val wfPatterns = patterns.filter[it.allAnnotations.exists[it.name == "Constraint"]].toSet + val derivedFeatures = new LinkedHashMap + val res = new ViatraQuerySetDescriptor( + patterns, + wfPatterns, + derivedFeatures + ) + return res + } + + override loadPartialModel() { + this.workspace.readModel(EObject, "satellite.xmi").eResource.allContents.toList + } + + override additionalConstraints() { #[] } + + override getHints(Ecore2Logic ecore2Logic, Ecore2Logic_Trace trace) { + #[new SatelliteHint(ecore2Logic, trace)] + } + + override getTypeQuantiles() { + #{ + "CubeSat3U" -> new TypeQuantiles(0.1, 0.25), + "CubeSat6U" -> new TypeQuantiles(0, 0.25), + "SmallSat" -> new TypeQuantiles(0, 0.15), + "UHFCommSubsystem" -> new TypeQuantiles(0.08, 0.25), + "XCommSubsystem" -> new TypeQuantiles(0.08, 0.25), + "KaCommSubsystem" -> new TypeQuantiles(0, 0.1), + "InterferometryPayload" -> new TypeQuantiles(0.15, 0.25) + } + } -} \ No newline at end of file +} diff --git a/Tests/hu.bme.mit.inf.dslreasoner.run/src/hu/bme/mit/inf/dslreasoner/run/SGraphHint.xtend b/Tests/hu.bme.mit.inf.dslreasoner.run/src/hu/bme/mit/inf/dslreasoner/run/SGraphHint.xtend new file mode 100644 index 00000000..97ce4ee6 --- /dev/null +++ b/Tests/hu.bme.mit.inf.dslreasoner.run/src/hu/bme/mit/inf/dslreasoner/run/SGraphHint.xtend @@ -0,0 +1,46 @@ +package hu.bme.mit.inf.dslreasoner.run + +import hu.bme.mit.inf.dslreasoner.ecore2logic.Ecore2Logic +import hu.bme.mit.inf.dslreasoner.ecore2logic.Ecore2Logic_Trace +import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.cardinality.LinearTypeExpressionBuilderFactory +import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.patterns.PatternGenerator + +class SGraphHint extends Ecore2LogicTraceBasedHint { + new(Ecore2Logic ecore2Logic, Ecore2Logic_Trace trace) { + super(ecore2Logic, trace) + } + + override getAdditionalPatterns(extension PatternGenerator patternGenerator) { + "" + } + + override createConstraintUpdater(LinearTypeExpressionBuilderFactory it) { + val newEntriesWithoutRegionCount = createBuilder.add(1, "Entry".type).add(-1, "Region".type).build + val newStatesWithoutRegionCount = createBuilder.add(1, "State".type).add(-1, "Region".type).build + val newTransitionWithoutNeedsOutgoingCount = createBuilder.add(1, "Transition".type).add(-1, "Entry".type). + add(-1, "Choice".type).build + val newTransitionWithoutNeedsIncomingCount = createBuilder.add(1, "Transition".type).add(-1, "Choice".type). + build + + val regionsWithoutEntryMatcher = createMatcher( + "unfinishedBy_pattern_hu_bme_mit_inf_dslreasoner_partialsnapshot_mavo_yakindu_noEntryInRegion") + val regionsWithoutStateMatcher = createMatcher( + "unfinishedBy_pattern_hu_bme_mit_inf_dslreasoner_partialsnapshot_mavo_yakindu_noStateInRegion") + val entryHasNoOutgoingMatcher = createMatcher( + "unfinishedBy_pattern_hu_bme_mit_inf_dslreasoner_partialsnapshot_mavo_yakindu_noOutgoingTransitionFromEntry") + val choiceHasNoOutgoingMatcher = createMatcher( + "unfinishedBy_pattern_hu_bme_mit_inf_dslreasoner_partialsnapshot_mavo_yakindu_choiceHasNoOutgoing") + val choiceHasNoIncomingMatcher = createMatcher( + "unfinishedBy_pattern_hu_bme_mit_inf_dslreasoner_partialsnapshot_mavo_yakindu_choiceHasNoIncoming") + val transitionWithoutTargetMatcher = createMatcher("unfinishedLowerMultiplicity_target_reference_Transition") + + return [ p | + newEntriesWithoutRegionCount.assertEqualsTo(regionsWithoutEntryMatcher.countMatches(p)) + newStatesWithoutRegionCount.tightenLowerBound(regionsWithoutStateMatcher.countMatches(p)) + newTransitionWithoutNeedsOutgoingCount.tightenLowerBound( + entryHasNoOutgoingMatcher.countMatches(p) + choiceHasNoOutgoingMatcher.countMatches(p)) + newTransitionWithoutNeedsIncomingCount.tightenLowerBound( + choiceHasNoIncomingMatcher.countMatches(p) - transitionWithoutTargetMatcher.getCount(p)) + ] + } +} diff --git a/Tests/hu.bme.mit.inf.dslreasoner.run/src/hu/bme/mit/inf/dslreasoner/run/SatelliteHint.xtend b/Tests/hu.bme.mit.inf.dslreasoner.run/src/hu/bme/mit/inf/dslreasoner/run/SatelliteHint.xtend new file mode 100644 index 00000000..e95c0c64 --- /dev/null +++ b/Tests/hu.bme.mit.inf.dslreasoner.run/src/hu/bme/mit/inf/dslreasoner/run/SatelliteHint.xtend @@ -0,0 +1,86 @@ +package hu.bme.mit.inf.dslreasoner.run + +import hu.bme.mit.inf.dslreasoner.ecore2logic.Ecore2Logic +import hu.bme.mit.inf.dslreasoner.ecore2logic.Ecore2Logic_Trace +import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.Modality +import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.cardinality.LinearTypeExpressionBuilderFactory +import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.patterns.PatternGenerator + +class SatelliteHint extends Ecore2LogicTraceBasedHint { + static val INTERFEROMETY_PAYLOAD = "hint_interferometryPayload" + static val REMAINING_CONTENTS_KA_COMM_SUBSYSTEM = "hint_kaCommSubsystem" + static val HINT_SPACECRAFT_UHF_POSSIBLE_LINK = "hint_spacecraftWithUhfPossibleLink" + static val HINT_SPACECRAFT_UHF_ONLY_NO_LINK = "hint_spacecraftUhfOnlyNoLink" + + new(Ecore2Logic ecore2Logic, Ecore2Logic_Trace trace) { + super(ecore2Logic, trace) + } + + override getAdditionalPatterns(PatternGenerator it) ''' + pattern «INTERFEROMETY_PAYLOAD»(problem:LogicProblem, interpretation:PartialInterpretation, object:DefinedElement) { + find interpretation(problem, interpretation); + find mustExist(problem, interpretation, object); + «typeIndexer.referInstanceOf("InterferometryPayload".type, Modality.MUST, "object")» + } + + private pattern «REMAINING_CONTENTS_KA_COMM_SUBSYSTEM»_helper(problem:LogicProblem, interpretation:PartialInterpretation, object:DefinedElement, remainingContents:java Integer) { + find remainingContents_commSubsystem_reference_CommunicatingElement_helper(problem, interpretation, object, remainingContents); + «typeIndexer.referInstanceOf("SmallSat".type, Modality.MUST, "object")» + } + + pattern «REMAINING_CONTENTS_KA_COMM_SUBSYSTEM»(problem:LogicProblem, interpretation:PartialInterpretation, remainingContents:java Integer) { + find interpretation(problem, interpretation); + remainingContents == sum find «REMAINING_CONTENTS_KA_COMM_SUBSYSTEM»_helper(problem, interpretation, _, #_); + } + + private pattern hint_spacecraftNotUhfOnly(problem:LogicProblem, interpretation:PartialInterpretation, spacecraft:DefinedElement) { + find interpretation(problem, interpretation); + find mustExist(problem, interpretation, spacecraft); + «typeIndexer.referInstanceOf("Spacecraft".type, Modality.MUST, "spacecraft")» + «relationDeclarationIndexer.referRelation("CommunicatingElement".relation("commSubsystem"), "spacecraft", "comm", Modality.MAY)» + neg «typeIndexer.referInstanceOf("UHFCommSubsystem".type, Modality.MUST, "comm")» + } + + private pattern hint_spacecraftWithUhf(problem:LogicProblem, interpretation:PartialInterpretation, spacecraft:DefinedElement) { + find interpretation(problem, interpretation); + find mustExist(problem, interpretation, spacecraft); + «typeIndexer.referInstanceOf("Spacecraft".type, Modality.MUST, "spacecraft")» + «relationDeclarationIndexer.referRelation("CommunicatingElement".relation("commSubsystem"), "spacecraft", "comm", Modality.MUST)» + «typeIndexer.referInstanceOf("UHFCommSubsystem".type, Modality.MUST, "comm")» + } + + pattern «HINT_SPACECRAFT_UHF_POSSIBLE_LINK»(problem:LogicProblem, interpretation:PartialInterpretation) { + find hint_spacecraftWithUhf(problem, interpretation, spacecraft); + find hint_spacecraftNotUhfOnly(problem, interpretation, spacecraft); + } + + pattern «HINT_SPACECRAFT_UHF_ONLY_NO_LINK»(problem:LogicProblem, interpretation:PartialInterpretation) { + find interpretation(problem, interpretation); + find mustExist(problem, interpretation, spacecraft); + «typeIndexer.referInstanceOf("Spacecraft".type, Modality.MUST, "spacecraft")» + neg find hint_spacecraftNotUhfOnly(problem, interpretation, spacecraft); + find currentInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_noLinkToGroundStation(problem, interpretation, spacecraft); + } + ''' + + override createConstraintUpdater(LinearTypeExpressionBuilderFactory it) { + val interferometryPayloadCount = createBuilder.add(1, "InterferometryPayload".type).build + val kaCommSubsystemWithoutSmallSatCount = createBuilder.add(1, "KaCommSubsystem".type).add(-2, "SmallSat".type). + build + val uhfCommSubsystemCount = createBuilder.add(1, "UHFCommSubsystem".type).build + + val interferometryPayloadMatcher = createMatcher(INTERFEROMETY_PAYLOAD) + val kaCommSubsystemRemainingContentsMatcher = createMatcher(REMAINING_CONTENTS_KA_COMM_SUBSYSTEM) + val uhfPossibleLinkMatcher = createMatcher(HINT_SPACECRAFT_UHF_POSSIBLE_LINK) + val uhfNoLinkMatcher = createMatcher(HINT_SPACECRAFT_UHF_ONLY_NO_LINK) + + return [ p | + interferometryPayloadCount.tightenLowerBound(2 - interferometryPayloadMatcher.countMatches(p)) + kaCommSubsystemWithoutSmallSatCount.tightenUpperBound(kaCommSubsystemRemainingContentsMatcher.getCount(p)) + if (uhfPossibleLinkMatcher.countMatches(p) == 0 && uhfNoLinkMatcher.countMatches(p) >= 1) { + uhfCommSubsystemCount.tightenLowerBound(1) + } + ] + } + +} diff --git a/Tests/hu.bme.mit.inf.dslreasoner.run/src/hu/bme/mit/inf/dslreasoner/run/TypeDistributionCalculator.xtend b/Tests/hu.bme.mit.inf.dslreasoner.run/src/hu/bme/mit/inf/dslreasoner/run/TypeDistributionCalculator.xtend new file mode 100644 index 00000000..e2d6e6ca --- /dev/null +++ b/Tests/hu.bme.mit.inf.dslreasoner.run/src/hu/bme/mit/inf/dslreasoner/run/TypeDistributionCalculator.xtend @@ -0,0 +1,35 @@ +package hu.bme.mit.inf.dslreasoner.run + +import hu.bme.mit.inf.dslreasoner.domains.yakindu.sgraph.yakindumm.YakindummPackage +import java.io.File +import org.eclipse.emf.common.util.URI +import org.eclipse.emf.ecore.EPackage +import org.eclipse.emf.ecore.EcorePackage +import org.eclipse.emf.ecore.resource.Resource +import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl +import org.eclipse.emf.ecore.xmi.impl.XMIResourceFactoryImpl + +class TypeDistributionCalculator { + public static def void main(String[] args) { + Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap().put("*", new XMIResourceFactoryImpl) + EPackage.Registry.INSTANCE.put(EcorePackage.eNS_URI, EcorePackage.eINSTANCE) + EPackage.Registry.INSTANCE.put(YakindummPackage.eNS_URI, YakindummPackage.eINSTANCE) + + println("model,className,count") + val directory = new File(args.get(0)) + for (file : directory.listFiles) { + val modelName = file.name + val resourceSet = new ResourceSetImpl + val resource = resourceSet.getResource(URI.createFileURI(file.absolutePath), true) + val objectsByTypeName = resource.allContents.filter [ obj | + val featureName = obj.eContainingFeature?.name + // Filter out "derived containment" references in Ecore. + // See https://stackoverflow.com/a/46340165 + featureName != "eGenericType" && featureName != "eGenericSuperTypes" + ].groupBy[eClass.name] + for (pair : objectsByTypeName.entrySet) { + println('''«modelName»,«pair.key»,«pair.value.size»''') + } + } + } +} diff --git a/Tests/hu.bme.mit.inf.dslreasoner.run/src/hu/bme/mit/inf/dslreasoner/run/script/MeasurementScript.xtend b/Tests/hu.bme.mit.inf.dslreasoner.run/src/hu/bme/mit/inf/dslreasoner/run/script/MeasurementScript.xtend new file mode 100644 index 00000000..5abff962 --- /dev/null +++ b/Tests/hu.bme.mit.inf.dslreasoner.run/src/hu/bme/mit/inf/dslreasoner/run/script/MeasurementScript.xtend @@ -0,0 +1,70 @@ +package hu.bme.mit.inf.dslreasoner.run.script + +import java.util.List +import org.eclipse.xtend.lib.annotations.Accessors + +@Accessors +class MeasurementScript { + String inputPath + String outputPath + int timeout + boolean saveModels + boolean saveTemporaryFiles + int warmupIterations + int iterations + Domain domain + Scope scope + List sizes + Solver solver + ScopePropagator scopePropagator + ScopeConstraints propagatedConstraints + PolyhedronSolver polyhedronSolver + ScopeHeuristic scopeHeuristic + + def toCsvHeader() { + '''«domain»,«scope»,«solver»,«scopePropagator ?: "NULL"»,«propagatedConstraints ?: "NULL"»,«polyhedronSolver ?: "NULL"»''' + } +} + +enum Domain { + fs, + ecore, + Yakindu, + FAM, + satellite +} + +enum Scope { + none, + quantiles +} + +enum Solver { + ViatraSolver, + AlloySolver +} + +enum ScopePropagator { + none, + basic, + polyhedral +} + +enum ScopeConstraints { + none, + typeHierarchy, + relations, + hints +} + +enum PolyhedronSolver { + Z3Integer, + Z3Real, + Cbc, + Clp +} + +enum ScopeHeuristic { + basic, + polyhedral +} diff --git a/Tests/hu.bme.mit.inf.dslreasoner.run/src/hu/bme/mit/inf/dslreasoner/run/script/MeasurementScriptRunner.xtend b/Tests/hu.bme.mit.inf.dslreasoner.run/src/hu/bme/mit/inf/dslreasoner/run/script/MeasurementScriptRunner.xtend new file mode 100644 index 00000000..48e750cb --- /dev/null +++ b/Tests/hu.bme.mit.inf.dslreasoner.run/src/hu/bme/mit/inf/dslreasoner/run/script/MeasurementScriptRunner.xtend @@ -0,0 +1,351 @@ +package hu.bme.mit.inf.dslreasoner.run.script + +import com.google.gson.Gson +import hu.bme.mit.inf.dslreasoner.ecore2logic.EClassMapper +import hu.bme.mit.inf.dslreasoner.ecore2logic.Ecore2Logic +import hu.bme.mit.inf.dslreasoner.ecore2logic.Ecore2LogicConfiguration +import hu.bme.mit.inf.dslreasoner.ecore2logic.Ecore2Logic_Trace +import hu.bme.mit.inf.dslreasoner.logic.model.builder.DocumentationLevel +import hu.bme.mit.inf.dslreasoner.logic.model.builder.TypeScopes +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.DefinedElement +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.IntLiteral +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.RealLiteral +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.StringLiteral +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Type +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.TypeDefinition +import hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicProblem +import hu.bme.mit.inf.dslreasoner.logic.model.logicresult.IntStatisticEntry +import hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicresultFactory +import hu.bme.mit.inf.dslreasoner.logic.model.logicresult.ModelResult +import hu.bme.mit.inf.dslreasoner.logic.model.logicresult.RealStatisticEntry +import hu.bme.mit.inf.dslreasoner.logic.model.logicresult.Statistics +import hu.bme.mit.inf.dslreasoner.logic.model.logicresult.StringStatisticEntry +import hu.bme.mit.inf.dslreasoner.logic2ecore.Logic2Ecore +import hu.bme.mit.inf.dslreasoner.run.EcoreLoader +import hu.bme.mit.inf.dslreasoner.run.FAMLoader +import hu.bme.mit.inf.dslreasoner.run.FileSystemLoader +import hu.bme.mit.inf.dslreasoner.run.MetamodelLoader +import hu.bme.mit.inf.dslreasoner.run.SatelliteLoader +import hu.bme.mit.inf.dslreasoner.run.YakinduLoader +import hu.bme.mit.inf.dslreasoner.util.CollectionsUtil +import hu.bme.mit.inf.dslreasoner.viatra2logic.Viatra2Logic +import hu.bme.mit.inf.dslreasoner.viatra2logic.Viatra2LogicConfiguration +import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.cardinality.PolyhedralScopePropagatorConstraints +import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.cardinality.PolyhedralScopePropagatorSolver +import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.cardinality.ScopePropagatorStrategy +import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretation2logic.InstanceModel2Logic +import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partial2logicannotations.PartialModelRelation2Assertion +import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.ViatraReasoner +import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.ViatraReasonerConfiguration +import hu.bme.mit.inf.dslreasoner.workspace.FileSystemWorkspace +import hu.bme.mit.inf.dslreasoner.workspace.ReasonerWorkspace +import java.io.FileReader +import java.util.HashMap +import java.util.HashSet +import java.util.Map +import java.util.Set +import org.eclipse.emf.ecore.EObject +import org.eclipse.emf.ecore.resource.Resource +import org.eclipse.emf.ecore.xmi.impl.XMIResourceFactoryImpl +import org.eclipse.viatra.query.patternlanguage.emf.EMFPatternLanguageStandaloneSetup +import org.eclipse.viatra.query.runtime.api.ViatraQueryEngineOptions +import org.eclipse.viatra.query.runtime.rete.matcher.ReteBackendFactory +import org.eclipse.xtend.lib.annotations.Data + +class MeasurementScriptRunner { + static val MODEL_SIZE_GAP = 0 + static val SCOPE_PROPAGATOR_TIMEOUT = 10 + static val USEC_TO_MSEC = 1000000 + + static extension val LogicresultFactory = LogicresultFactory.eINSTANCE + + val MeasurementScript script + val ReasonerWorkspace inputWorkspace + val ReasonerWorkspace outputWorkspace + val MetamodelLoader metamodelLoader + + new(MeasurementScript script) { + this.script = script + inputWorkspace = new FileSystemWorkspace(script.inputPath + "/", "") + outputWorkspace = new FileSystemWorkspace(script.outputPath + + "/", '''«script.domain»_«script.solver»_«script.scope»_«script.scopePropagator ?: "na"»_«script.propagatedConstraints ?: "na"»_«script.polyhedronSolver ?: "na"»_''') + metamodelLoader = switch (script.domain) { + case fs: new FileSystemLoader(inputWorkspace) + case ecore: new EcoreLoader(inputWorkspace) + case Yakindu: new YakinduLoader(inputWorkspace) => [useSynchronization = false; useComplexStates = true] + case FAM: new FAMLoader(inputWorkspace) + case satellite: new SatelliteLoader(inputWorkspace) + default: throw new IllegalArgumentException("Unsupported domain: " + script.domain) + } + } + + def run() { + if (script.sizes.empty) { + return + } + val start = System.currentTimeMillis + val warmupSize = script.sizes.head + for (var int i = 0; i < script.warmupIterations; i++) { + System.err.println('''Warmup «i + 1»/«script.warmupIterations»...''') + runExperiment(warmupSize) + } + val warmupEnd = System.currentTimeMillis + System.err.println('''Warmup completed in «(warmupEnd - start) / 1000» seconds''') + for (size : script.sizes) { + var int failures = 0 + for (var int i = 0; i < script.iterations; i++) { + System.err.println("Running GC...") + runGc() + System.err.println('''Iteration «i + 1»/«script.iterations» of size «size»...''') + val startTime = System.currentTimeMillis + val result = runExperiment(size) + val headerPrefix = '''«script.toCsvHeader»,«size»,«i + 1»,«result.resultName»''' + println('''«headerPrefix»,startTime,«startTime»''') + println('''«headerPrefix»,logic2SolverTransformationTime,«result.statistics.transformationTime»''') + println('''«headerPrefix»,solverTime,«result.statistics.solverTime»''') + for (statistic : result.statistics.entries) { + val valueString = switch (statistic) { + IntStatisticEntry: statistic.value.toString + RealStatisticEntry: statistic.value.toString + StringStatisticEntry: statistic.value.toString + default: statistic.toString + } + println('''«headerPrefix»,«statistic.name»,«valueString»''') + } + if (script.saveModels && result.model !== null) { + outputWorkspace.writeModel(result.model, '''«size»_«i + 1».xmi''') + } + if (result.resultName === "InsuficientResourcesResultImpl") { + failures++ + } + System.out.flush + } + if (failures == script.iterations) { + System.err.println("All measurements failed") + return + } + } + val end = System.currentTimeMillis + System.err.println('''Measurement completed in «(end - start) / 1000» seconds''') + } + + private static def void runGc() { + System.gc + Thread.sleep(100) + System.gc + Thread.sleep(100) + System.gc + Thread.sleep(800) + } + + private def runExperiment(int modelSize) { + if (script.solver != Solver.ViatraSolver) { + throw new IllegalArgumentException("Only VIATRA-Generator is supported") + } + val config = new ViatraReasonerConfiguration + config.solutionScope.numberOfRequiredSolutions = 1 + config.scopePropagatorStrategy = switch (script.scopePropagator) { + case none: + ScopePropagatorStrategy.None + case basic: + switch (script.propagatedConstraints) { + case none: + ScopePropagatorStrategy.Basic + case typeHierarchy: + ScopePropagatorStrategy.BasicTypeHierarchy + case relations, + case hints: + throw new IllegalArgumentException( + "Basic scope propagator does not support relational and hint constraints") + default: + throw new IllegalArgumentException("Unknown scope constraints: " + script.propagatedConstraints) + } + case polyhedral: { + val constraints = switch (script.propagatedConstraints) { + case none: + throw new IllegalArgumentException( + "Polyhedral scope propagator needs at least type hierarchy constraints") + case typeHierarchy: + PolyhedralScopePropagatorConstraints.TypeHierarchy + case relations, + case hints: + PolyhedralScopePropagatorConstraints.Relational + default: + throw new IllegalArgumentException("Unknown scope constraints: " + script.propagatedConstraints) + } + val polyhedronSolver = switch (script.polyhedronSolver) { + case Z3Integer: PolyhedralScopePropagatorSolver.Z3Integer + case Z3Real: PolyhedralScopePropagatorSolver.Z3Real + case Cbc: PolyhedralScopePropagatorSolver.Cbc + case Clp: PolyhedralScopePropagatorSolver.Clp + default: throw new IllegalArgumentException("Unknown polyhedron solver: " + script.polyhedronSolver) + } + val updateHeuristic = script.scopeHeuristic != ScopeHeuristic.basic + new ScopePropagatorStrategy.Polyhedral(constraints, polyhedronSolver, updateHeuristic, + SCOPE_PROPAGATOR_TIMEOUT) + } + default: + throw new IllegalArgumentException("Unknown scope propagator: " + script.scopePropagator) + } + config.runtimeLimit = script.timeout + config.documentationLevel = if(script.saveTemporaryFiles) DocumentationLevel.NORMAL else DocumentationLevel.NONE + config.debugConfiguration.partialInterpretatioVisualiser = null + config.searchSpaceConstraints.additionalGlobalConstraints += metamodelLoader.additionalConstraints + + val modelLoadingStart = System.nanoTime + val metamodelDescriptor = metamodelLoader.loadMetamodel + val partialModelDescriptor = metamodelLoader.loadPartialModel + val queryDescriptor = metamodelLoader.loadQueries(metamodelDescriptor) + val modelLoadingTime = System.nanoTime - modelLoadingStart + + val domain2LogicTransformationStart = System.nanoTime + val Ecore2Logic ecore2Logic = new Ecore2Logic + val Viatra2Logic viatra2Logic = new Viatra2Logic(ecore2Logic) + val InstanceModel2Logic instanceModel2Logic = new InstanceModel2Logic + var modelGeneration = ecore2Logic.transformMetamodel(metamodelDescriptor, new Ecore2LogicConfiguration()) + var problem = modelGeneration.output + problem = instanceModel2Logic.transform( + modelGeneration, + partialModelDescriptor + ).output + problem = viatra2Logic.transformQueries( + queryDescriptor, + modelGeneration, + new Viatra2LogicConfiguration + ).output + initializeScope(config, modelSize, problem, ecore2Logic, modelGeneration.trace) + if (script.propagatedConstraints == ScopeConstraints.hints) { + config.hints = metamodelLoader.getHints(ecore2Logic, modelGeneration.trace) + } + val domain2LogicTransformationTime = System.nanoTime - domain2LogicTransformationStart + + if (config.documentationLevel != DocumentationLevel.NONE) { + outputWorkspace.writeModel(problem, "initial.logicproblem") + } + + val solver = new ViatraReasoner + val result = solver.solve(problem, config, outputWorkspace) + val statistics = result.statistics + statistics.entries += createIntStatisticEntry => [ + name = "modelLoadingTime" + value = (modelLoadingTime / USEC_TO_MSEC) as int + ] + statistics.entries += createIntStatisticEntry => [ + name = "domain2LogicTransformationTime" + value = (domain2LogicTransformationTime / USEC_TO_MSEC) as int + ] + var EObject modelResult = null + if (result instanceof ModelResult) { + val intepretations = solver.getInterpretations(result) + if (intepretations.size != 1) { + throw new IllegalStateException("Expected 1 interpretation, got " + intepretations.size) + } + var resultTransformationStart = System.nanoTime + val logic2Ecore = new Logic2Ecore(ecore2Logic) + modelResult = logic2Ecore.transformInterpretation(intepretations.head, modelGeneration.trace) + val resultTransformationTime = System.nanoTime - resultTransformationStart + statistics.entries += createIntStatisticEntry => [ + name = "ecore2LogicTransformationTime" + value = (resultTransformationTime / USEC_TO_MSEC) as int + ] + } + + new ExperimentResult(result.class.simpleName, statistics, modelResult) + } + + private def initializeScope(ViatraReasonerConfiguration config, int modelSize, LogicProblem problem, + EClassMapper eClassMapper, Ecore2Logic_Trace trace) { + val knownElements = initializeKnownElements(problem, config.typeScopes) + if (modelSize < 0) { + config.typeScopes.minNewElements = 0 + config.typeScopes.maxNewElements = TypeScopes.Unlimited + } else { + val numberOfKnownElements = knownElements.values.flatten.toSet.size + val newElementCount = modelSize - numberOfKnownElements + config.typeScopes.minNewElements = newElementCount + config.typeScopes.maxNewElements = newElementCount + MODEL_SIZE_GAP + } + switch (script.scope) { + case none: + return + case quantiles: { + val quantiles = metamodelLoader.typeQuantiles + for (eClassInScope : eClassMapper.allClassesInScope(trace)) { + val quantile = quantiles.get(eClassInScope.name) + if (quantile !== null) { + val type = eClassMapper.TypeofEClass(trace, eClassInScope) + val knownInstances = knownElements.get(type) + val currentCount = if(knownInstances === null) 0 else knownInstances.size + val lowCount = Math.floor(modelSize * quantile.low) as int + val highCount = Math.ceil((modelSize + MODEL_SIZE_GAP) * quantile.high) as int + config.typeScopes.minNewElementsByType.put(type, lowCount - currentCount) + config.typeScopes.maxNewElementsByType.put(type, highCount - currentCount) + } + } + } + default: + throw new IllegalArgumentException("Unknown scope: " + script.scope) + } + } + + /* + * Copied from hu.bme.mit.inf.dslreasoner.application.execution.ScopeLoader.initialiseknownElements(LogicProblem, TypeScopes) + */ + private static def initializeKnownElements(LogicProblem p, TypeScopes s) { + val Map> res = new HashMap + + // 1. fill map with every types + for (t : p.types) { + res.put(t, new HashSet) + } + + // 2. fill map with every objects + for (definedType : p.types.filter(TypeDefinition)) { + val supertypes = CollectionsUtil.transitiveClosureStar(definedType)[supertypes] + for (supertype : supertypes) { + for (element : definedType.elements) { + res.get(supertype).add(element) + } + } + } + val partialModelContents = p.annotations.filter(PartialModelRelation2Assertion).map[target].toList.map [ + eAllContents.toIterable + ].flatten.toList + s.knownIntegers += partialModelContents.filter(IntLiteral).map[it.value] + s.knownReals += partialModelContents.filter(RealLiteral).map[it.value] + s.knownStrings += partialModelContents.filter(StringLiteral).map[it.value] + + res + } + + public static def void main(String[] args) { + if (args.length != 1) { + System.err.println("Missing measurement script name.") + System.exit(-1) + } + EMFPatternLanguageStandaloneSetup.doSetup + ViatraQueryEngineOptions.setSystemDefaultBackends(ReteBackendFactory.INSTANCE, ReteBackendFactory.INSTANCE, + ReteBackendFactory.INSTANCE) + Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap().put("*", new XMIResourceFactoryImpl) + val config = readConfig(args.get(0)) + val runnner = new MeasurementScriptRunner(config) + runnner.run() + } + + static def readConfig(String scriptPath) { + val gson = new Gson + val reader = new FileReader(scriptPath) + try { + gson.fromJson(reader, MeasurementScript) + } finally { + reader.close + } + } + + @Data + private static class ExperimentResult { + String resultName + Statistics statistics + EObject model + } +} -- cgit v1.2.3-70-g09d2 From be4fbe4fb10a27dd07d4139c1962af7c0de436ea Mon Sep 17 00:00:00 2001 From: Kristóf Marussy Date: Thu, 22 Aug 2019 20:43:03 +0200 Subject: Measurements WIP --- .../ide/.ApplicationConfigurationIdeModule.xtendbin | Bin 1701 -> 1701 bytes .../ide/.ApplicationConfigurationIdeSetup.xtendbin | Bin 2570 -> 2570 bytes ...licationConfigurationStandaloneRuntimeModule.xtend | 2 +- .../execution/EclipseBasedProgressMonitor.xtend | 2 +- .../execution/GenerationTaskExecutor.xtend | 4 ++-- .../application/execution/MetamodelLoader.xtend | 2 +- .../application/execution/NullWorkspace.xtend | 2 +- .../execution/PatternLanguageWithRSModule.xtend | 2 +- .../execution/PatternLanguageWithRSSetup.xtend | 2 +- .../application/execution/QueryLoader.xtend | 2 +- .../application/execution/ScopeLoader.xtend | 2 +- .../application/execution/ScriptConsole.xtend | 8 ++++---- .../application/execution/ScriptExecutor.xtend | 2 +- .../execution/StandaloneScriptExecutor.xtend | 12 ++++++------ .../util/ApplicationConfigurationParser.xtend | 2 +- .../application/validation/MetamodelValidator.xtend | 2 +- .../validation/QueryAndMetamodelValidator.xtend | 2 +- ...pplicationConfigurationValueConverterService.xtend | 2 +- .../.project | 1 - .../representations.aird | 2 -- .../cardinality/RelationConstraintCalculator.xtend | 2 +- .../dse/PartialModelAsLogicInterpretation.xtend | 2 +- .../viatrasolver/reasoner/dse/ScopeObjective.xtend | 2 +- ...ful_ViatraSolver_polyhedral_typeHierarchy_Clp.json | 5 +++-- 24 files changed, 31 insertions(+), 33 deletions(-) delete mode 100644 Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/representations.aird (limited to 'Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner') diff --git a/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeModule.xtendbin b/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeModule.xtendbin index 22db4093..47676d41 100644 Binary files a/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeModule.xtendbin and b/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeModule.xtendbin differ diff --git a/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeSetup.xtendbin b/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeSetup.xtendbin index 3ad5d167..e477a075 100644 Binary files a/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeSetup.xtendbin and b/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeSetup.xtendbin differ diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/ApplicationConfigurationStandaloneRuntimeModule.xtend b/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/ApplicationConfigurationStandaloneRuntimeModule.xtend index 2738dfff..55e01a4f 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/ApplicationConfigurationStandaloneRuntimeModule.xtend +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/ApplicationConfigurationStandaloneRuntimeModule.xtend @@ -50,4 +50,4 @@ class ApplicationConfigurationStandaloneRuntimeModule extends AbstractApplicatio // def Class bindITargetPlatformMetamodelLoader() { // TargetPlatformMetamodelsIndex // } -} \ No newline at end of file +} diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/execution/EclipseBasedProgressMonitor.xtend b/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/execution/EclipseBasedProgressMonitor.xtend index be35b64a..df25151c 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/execution/EclipseBasedProgressMonitor.xtend +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/execution/EclipseBasedProgressMonitor.xtend @@ -24,4 +24,4 @@ class EclipseBasedProgressMonitor extends SolverProgressMonitor{ super.isCancelled() || internalMonitor.isCanceled } -} \ No newline at end of file +} diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/execution/GenerationTaskExecutor.xtend b/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/execution/GenerationTaskExecutor.xtend index 807d217a..1ee69827 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/execution/GenerationTaskExecutor.xtend +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/execution/GenerationTaskExecutor.xtend @@ -304,7 +304,7 @@ class GenerationTaskExecutor { console.flushStatistics console.writeMessage("Model generation finished") } catch(Exception e) { - console.writeError(''' + console.writeError(''' Error occured («e.class.simpleName»): «e.message» «FOR s : e.stackTrace SEPARATOR "\n"» «s»«ENDFOR»''') } @@ -350,4 +350,4 @@ class GenerationTaskExecutor { return false } } -} \ No newline at end of file +} diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/execution/MetamodelLoader.xtend b/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/execution/MetamodelLoader.xtend index 5e7f84f0..626329dc 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/execution/MetamodelLoader.xtend +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/execution/MetamodelLoader.xtend @@ -120,4 +120,4 @@ class MetamodelLoader { // } // return res // } -} \ No newline at end of file +} diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/execution/NullWorkspace.xtend b/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/execution/NullWorkspace.xtend index 05081581..5e656e8f 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/execution/NullWorkspace.xtend +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/execution/NullWorkspace.xtend @@ -59,4 +59,4 @@ class NullWorkspace extends ReasonerWorkspace{ throw new UnsupportedOperationException(message) } override refreshFile(String name) { } -} \ No newline at end of file +} diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/execution/PatternLanguageWithRSModule.xtend b/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/execution/PatternLanguageWithRSModule.xtend index 1269ec1f..3e598dd6 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/execution/PatternLanguageWithRSModule.xtend +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/execution/PatternLanguageWithRSModule.xtend @@ -43,4 +43,4 @@ class PatternLanguageWithRSModule extends EMFPatternLanguageRuntimeModule{ override Class bindITypeInferrer() { return EMFTypeInferrer; } -} \ No newline at end of file +} diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/execution/PatternLanguageWithRSSetup.xtend b/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/execution/PatternLanguageWithRSSetup.xtend index dd5af673..c209cde5 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/execution/PatternLanguageWithRSSetup.xtend +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/execution/PatternLanguageWithRSSetup.xtend @@ -12,4 +12,4 @@ class PatternLanguageWithRSSetup extends EMFPatternLanguageStandaloneSetup{ override Injector createInjector() { return Guice::createInjector(new PatternLanguageWithRSModule()); } -} \ No newline at end of file +} diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/execution/QueryLoader.xtend b/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/execution/QueryLoader.xtend index cfc91143..5a73845d 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/execution/QueryLoader.xtend +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/execution/QueryLoader.xtend @@ -144,4 +144,4 @@ class QueryLoader { } return res } -} \ No newline at end of file +} diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/execution/ScopeLoader.xtend b/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/execution/ScopeLoader.xtend index dcaf74cd..6d6ad85e 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/execution/ScopeLoader.xtend +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/execution/ScopeLoader.xtend @@ -220,4 +220,4 @@ class ScopeLoader { else return specification.exactNumber } -} \ No newline at end of file +} diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/execution/ScriptConsole.xtend b/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/execution/ScriptConsole.xtend index 0f89ba1e..2ce86a78 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/execution/ScriptConsole.xtend +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/execution/ScriptConsole.xtend @@ -88,7 +88,7 @@ abstract class ScriptConsole { def writeStatistics(LinkedHashMap statistics) { if (statisticsWorkspace !== null) { - val message = ''' + val message = ''' «FOR key : statistics.keySet SEPARATOR delimier»«key»«ENDFOR» «FOR value : statistics.values SEPARATOR delimier»«value»«ENDFOR»''' statisticsWorkspace.writeText(statisticsFileName, message); @@ -104,11 +104,11 @@ abstract class ScriptConsole { def flushStatistics() { if (statisticsWorkspace !== null) { - val message = ''' + val message = ''' «FOR key : statisticsHeaderBuffer SEPARATOR delimier»«key»«ENDFOR» - «FOR line : statisticsDataBuffer» + «FOR line : statisticsDataBuffer» «FOR key : statisticsHeaderBuffer SEPARATOR delimier»«IF line.containsKey(key)»«line.get(key)»«ELSE»«empty»«ENDIF»«ENDFOR» - «ENDFOR» + «ENDFOR» ''' statisticsWorkspace.writeText(statisticsFileName, message); statisticsHeaderBuffer.clear diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/execution/ScriptExecutor.xtend b/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/execution/ScriptExecutor.xtend index 25036df6..3941179a 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/execution/ScriptExecutor.xtend +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/execution/ScriptExecutor.xtend @@ -250,4 +250,4 @@ class ScriptExecutor { } } } -} \ No newline at end of file +} diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/execution/StandaloneScriptExecutor.xtend b/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/execution/StandaloneScriptExecutor.xtend index 4ed57903..42be3ed7 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/execution/StandaloneScriptExecutor.xtend +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/execution/StandaloneScriptExecutor.xtend @@ -71,11 +71,11 @@ class StandaloneScriptExecutor { throw new IllegalArgumentException(message) } } else { - val message = ''' - The Configuration Script contains «errors.size» error«IF errors.size>1»s«ENDIF»: - «FOR error : errors» - «"\t"»«error.message» - «ENDFOR» + val message = ''' + The Configuration Script contains «errors.size» error«IF errors.size>1»s«ENDIF»: + «FOR error : errors» + «"\t"»«error.message» + «ENDFOR» ''' throw new IllegalArgumentException(message) } @@ -98,4 +98,4 @@ class StandaloneScriptExecutor { return e.message } } -} \ No newline at end of file +} diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/execution/util/ApplicationConfigurationParser.xtend b/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/execution/util/ApplicationConfigurationParser.xtend index ea738c5a..0d11bd31 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/execution/util/ApplicationConfigurationParser.xtend +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/execution/util/ApplicationConfigurationParser.xtend @@ -15,4 +15,4 @@ class ApplicationConfigurationParser { throw new IllegalArgumentException('''Content is not an ConfigurationScript! (got: «content.class.simpleName»)''') } } -} \ No newline at end of file +} diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/validation/MetamodelValidator.xtend b/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/validation/MetamodelValidator.xtend index fccc433a..f736f6ba 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/validation/MetamodelValidator.xtend +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/validation/MetamodelValidator.xtend @@ -73,4 +73,4 @@ class MetamodelValidator { } } } -} \ No newline at end of file +} diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/validation/QueryAndMetamodelValidator.xtend b/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/validation/QueryAndMetamodelValidator.xtend index e5488e50..7d79bbbb 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/validation/QueryAndMetamodelValidator.xtend +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/validation/QueryAndMetamodelValidator.xtend @@ -49,4 +49,4 @@ class QueryAndMetamodelValidator { ].flatten.filter(ENamedElement) ].flatten } -} \ No newline at end of file +} diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/valueconverter/ApplicationConfigurationValueConverterService.xtend b/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/valueconverter/ApplicationConfigurationValueConverterService.xtend index 433f7148..840ffb09 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/valueconverter/ApplicationConfigurationValueConverterService.xtend +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/valueconverter/ApplicationConfigurationValueConverterService.xtend @@ -11,4 +11,4 @@ class ApplicationConfigurationValueConverterService extends DefaultTerminalConve def IValueConverter QualifiedName() { converter2 } -} \ No newline at end of file +} diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/.project b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/.project index e594a173..16db5fc5 100644 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/.project +++ b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/.project @@ -32,7 +32,6 @@ - org.eclipse.sirius.nature.modelingproject org.eclipse.jdt.core.javanature org.eclipse.pde.PluginNature org.eclipse.viatra.query.projectnature diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/representations.aird b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/representations.aird deleted file mode 100644 index efa8e366..00000000 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/representations.aird +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/cardinality/RelationConstraintCalculator.xtend b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/cardinality/RelationConstraintCalculator.xtend index 013e53e1..c92260ea 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/cardinality/RelationConstraintCalculator.xtend +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/cardinality/RelationConstraintCalculator.xtend @@ -44,7 +44,7 @@ class RelationMultiplicityConstraint { } def constrainsUnrepairable() { - constrainsUnfinished && canHaveMultipleSourcesPerTarget + constrainsUnfinished && canHaveMultipleSourcesPerTarget && false } def constrainsRemainingInverse() { diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/PartialModelAsLogicInterpretation.xtend b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/PartialModelAsLogicInterpretation.xtend index f61c7333..b63bfe8b 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/PartialModelAsLogicInterpretation.xtend +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/PartialModelAsLogicInterpretation.xtend @@ -163,4 +163,4 @@ class PartialModelAsLogicInterpretation implements LogicModelInterpretation{ override getAllStringsInStructure() { new TreeSet(this.stringForwardTrace.keySet) } -} \ No newline at end of file +} diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/ScopeObjective.xtend b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/ScopeObjective.xtend index e7967b00..69a734f8 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/ScopeObjective.xtend +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/ScopeObjective.xtend @@ -41,4 +41,4 @@ class ScopeObjective implements IObjective{ throw new UnsupportedOperationException("TODO: auto-generated method stub") } override getLevel() { 2 } -} \ No newline at end of file +} diff --git a/Tests/hu.bme.mit.inf.dslreasoner.run/configs/Yakindu_useful_ViatraSolver_polyhedral_typeHierarchy_Clp.json b/Tests/hu.bme.mit.inf.dslreasoner.run/configs/Yakindu_useful_ViatraSolver_polyhedral_typeHierarchy_Clp.json index 5f8a01b1..b4d51684 100644 --- a/Tests/hu.bme.mit.inf.dslreasoner.run/configs/Yakindu_useful_ViatraSolver_polyhedral_typeHierarchy_Clp.json +++ b/Tests/hu.bme.mit.inf.dslreasoner.run/configs/Yakindu_useful_ViatraSolver_polyhedral_typeHierarchy_Clp.json @@ -3,14 +3,15 @@ "outputPath": "outputModels", "timeout": 1200, "saveModels": false, + "saveTemporaryFiles": true, "warmupIterations": 0, "iterations": 5, "domain": "Yakindu", - "scope": "quantiles", + "scope": "none", "sizes": [100], "solver": "ViatraSolver", "scopePropagator": "polyhedral", "propagatedConstraints": "hints", "polyhedronSolver": "Clp", - "scopeHeuristic": "basic" + "scopeHeuristic": "polyhedral" } -- cgit v1.2.3-70-g09d2 From 1f5cab77334817776618092501628ed70368dd6e Mon Sep 17 00:00:00 2001 From: Kristóf Marussy Date: Fri, 30 Aug 2019 15:52:45 +0200 Subject: FAM metamodel loader experiments --- .../ide/.ApplicationConfigurationIdeModule.xtendbin | Bin 1701 -> 1701 bytes .../ide/.ApplicationConfigurationIdeSetup.xtendbin | Bin 2570 -> 2570 bytes ...ful_ViatraSolver_polyhedral_typeHierarchy_Clp.json | 7 +++++-- .../bme/mit/inf/dslreasoner/run/MetamodelLoader.xtend | 15 ++++++++------- 4 files changed, 13 insertions(+), 9 deletions(-) (limited to 'Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner') diff --git a/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeModule.xtendbin b/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeModule.xtendbin index 47676d41..8925abcb 100644 Binary files a/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeModule.xtendbin and b/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeModule.xtendbin differ diff --git a/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeSetup.xtendbin b/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeSetup.xtendbin index e477a075..2b883b66 100644 Binary files a/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeSetup.xtendbin and b/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeSetup.xtendbin differ diff --git a/Tests/hu.bme.mit.inf.dslreasoner.run/configs/FAM_useful_ViatraSolver_polyhedral_typeHierarchy_Clp.json b/Tests/hu.bme.mit.inf.dslreasoner.run/configs/FAM_useful_ViatraSolver_polyhedral_typeHierarchy_Clp.json index 26df3c74..1e2d4dd4 100644 --- a/Tests/hu.bme.mit.inf.dslreasoner.run/configs/FAM_useful_ViatraSolver_polyhedral_typeHierarchy_Clp.json +++ b/Tests/hu.bme.mit.inf.dslreasoner.run/configs/FAM_useful_ViatraSolver_polyhedral_typeHierarchy_Clp.json @@ -4,10 +4,13 @@ "timeout": 1200, "saveModels": true, "warmupIterations": 0, - "iterations": 1, + "iterations": 5, "domain": "FAM", "scope": "none", "sizes": [500], "solver": "ViatraSolver", - "scopePropagator": "basic" + "scopePropagator": "polyhedral", + "propagatedConstraints": "hints", + "polyhedronSolver": "Clp", + "scopeHeuristics": "polyhedral" } diff --git a/Tests/hu.bme.mit.inf.dslreasoner.run/src/hu/bme/mit/inf/dslreasoner/run/MetamodelLoader.xtend b/Tests/hu.bme.mit.inf.dslreasoner.run/src/hu/bme/mit/inf/dslreasoner/run/MetamodelLoader.xtend index 4b0791d4..1be03eed 100644 --- a/Tests/hu.bme.mit.inf.dslreasoner.run/src/hu/bme/mit/inf/dslreasoner/run/MetamodelLoader.xtend +++ b/Tests/hu.bme.mit.inf.dslreasoner.run/src/hu/bme/mit/inf/dslreasoner/run/MetamodelLoader.xtend @@ -85,8 +85,9 @@ class FAMLoader extends MetamodelLoader { val List classes = package.EClassifiers.filter(EClass).toList val List enums = package.EClassifiers.filter(EEnum).toList val List literals = enums.map[ELiterals].flatten.toList - val List references = classes.map[EReferences].flatten.filter[name != "type" && name != "model"]. - toList + val List references = classes.map[EReferences].flatten.filter [ reference | + !#{"model", "type"}.contains(reference.name) + ].toList val List attributes = classes.map[EAttributes].flatten.toList return new EcoreMetamodelDescriptor(classes, #{}, false, enums, literals, references, attributes) } @@ -196,7 +197,7 @@ class YakinduLoader extends MetamodelLoader { } override additionalConstraints() { - //#[[method|new SGraphInconsistencyDetector(method)]] + // #[[method|new SGraphInconsistencyDetector(method)]] emptyList } @@ -261,7 +262,7 @@ class FileSystemLoader extends MetamodelLoader { } override additionalConstraints() { - //#[[method|new FileSystemInconsistencyDetector(method)]] + // #[[method|new FileSystemInconsistencyDetector(method)]] emptyList } @@ -386,11 +387,11 @@ class SatelliteLoader extends MetamodelLoader { } override additionalConstraints() { #[] } - + override getHints(Ecore2Logic ecore2Logic, Ecore2Logic_Trace trace) { #[new SatelliteHint(ecore2Logic, trace)] } - + override getTypeQuantiles() { #{ "CubeSat3U" -> new TypeQuantiles(0.1, 0.25), @@ -402,5 +403,5 @@ class SatelliteLoader extends MetamodelLoader { "InterferometryPayload" -> new TypeQuantiles(0.15, 0.25) } } - + } -- cgit v1.2.3-70-g09d2 From 7478823fa777fd5fe366ea59a8a472b994e76390 Mon Sep 17 00:00:00 2001 From: Kristóf Marussy Date: Tue, 29 Oct 2019 17:34:20 +0100 Subject: Re-run generation for ApplicationConfiguration language --- .../ide/.ApplicationConfigurationIdeModule.xtendbin | Bin 1701 -> 1701 bytes .../ide/.ApplicationConfigurationIdeSetup.xtendbin | Bin 2570 -> 2570 bytes .../validation/QueryAndMetamodelValidator.java | 2 +- 3 files changed, 1 insertion(+), 1 deletion(-) (limited to 'Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner') diff --git a/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeModule.xtendbin b/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeModule.xtendbin index 8925abcb..83195553 100644 Binary files a/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeModule.xtendbin and b/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeModule.xtendbin differ diff --git a/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeSetup.xtendbin b/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeSetup.xtendbin index 2b883b66..f5085470 100644 Binary files a/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeSetup.xtendbin and b/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeSetup.xtendbin differ diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/xtend-gen/hu/bme/mit/inf/dslreasoner/application/validation/QueryAndMetamodelValidator.java b/Application/hu.bme.mit.inf.dslreasoner.application/xtend-gen/hu/bme/mit/inf/dslreasoner/application/validation/QueryAndMetamodelValidator.java index e6840f6f..0b5b8f03 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/xtend-gen/hu/bme/mit/inf/dslreasoner/application/validation/QueryAndMetamodelValidator.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/xtend-gen/hu/bme/mit/inf/dslreasoner/application/validation/QueryAndMetamodelValidator.java @@ -79,7 +79,7 @@ public class QueryAndMetamodelValidator { } } }; - return Iterables.filter(Iterables.concat(ListExtensions.>map(references, _function_1)), ENamedElement.class); + return Iterables.filter((Iterables.concat(ListExtensions.>map(references, _function_1))), ENamedElement.class); }; return Iterables.concat(ListExtensions.>map(elements, _function)); } -- cgit v1.2.3-70-g09d2 From 68a0667e862f0714410aafbb499a95a03f5bee23 Mon Sep 17 00:00:00 2001 From: ArenBabikian Date: Tue, 28 Apr 2020 00:29:00 -0400 Subject: Able to run Pledge Case Study --- .../.ApplicationConfigurationIdeModule.xtendbin | Bin 1705 -> 1701 bytes .../ide/.ApplicationConfigurationIdeSetup.xtendbin | Bin 2535 -> 2526 bytes .../mit/inf/dslreasoner/application/ide/.gitignore | 4 + .../start-application.launch | 1041 +- .../.classpath | 1 + .../META-INF/MANIFEST.MF | 3 +- .../case.study.familyTree.model/bin/.gitignore | 1 + .../case.study.familyTree.run/bin/.gitignore | 2 + .../src-gen/queries/.gitignore | 4 + .../case.study.pledge.model/.classpath | 2 +- .../case.study.pledge.model/META-INF/MANIFEST.MF | 5 +- .../case.study.pledge.model/model/Taxation.aird | 63 +- .../case.study.pledge.model/model/Taxation.ecore | 10 - .../model/Taxation.genmodel | 7 +- .../src/Taxation/Income.java | 71 - .../src/Taxation/Physical_Person.java | 13 - .../src/Taxation/Private_Insurance_and_Plan.java | 1 + .../src/Taxation/Resident_Tax_Payer.java | 1 - .../src/Taxation/Tax_Card.java | 48 - .../src/Taxation/TaxationPackage.java | 340 +- .../src/Taxation/impl/DependentImpl.java | 1 + .../src/Taxation/impl/ExpenseImpl.java | 1 + .../src/Taxation/impl/External_AllowanceImpl.java | 1 + .../src/Taxation/impl/FromAgentImpl.java | 1 + .../src/Taxation/impl/IncomeImpl.java | 170 +- .../src/Taxation/impl/Income_DetailImpl.java | 1 + .../src/Taxation/impl/Income_TaxImpl.java | 1 + .../src/Taxation/impl/Income_Tax_CreditImpl.java | 1 + .../src/Taxation/impl/Legal_Union_RecordImpl.java | 1 + .../src/Taxation/impl/Physical_PersonImpl.java | 39 +- .../impl/Private_Insurance_and_PlanImpl.java | 1 + .../src/Taxation/impl/Resident_Tax_PayerImpl.java | 1 + .../src/Taxation/impl/Tax_CardImpl.java | 113 - .../src/Taxation/impl/Tax_PropertyImpl.java | 1 + .../src/Taxation/impl/Taxation.ecore | 1257 --- .../src/Taxation/impl/TaxationPackageImpl.java | 149 +- .../case.study.pledge.queries/.classpath | 9 - .../case.study.pledge.queries/.project | 62 - .../.settings/org.eclipse.core.resources.prefs | 2 - .../.settings/org.eclipse.jdt.core.prefs | 7 - .../.settings/org.eclipse.pde.core.prefs | 3 - .../case.study.pledge.queries/META-INF/MANIFEST.MF | 24 - .../case.study.pledge.queries/bin/.gitignore | 2 - .../bin/queries/.gitignore | 112 - .../bin/queries/NewOCLFileX.ocl | 45 - .../bin/queries/case_study_A.vql | 334 - .../bin/run/.RunGenerator.xtendbin | Bin 8709 -> 0 bytes .../case.study.pledge.queries/bin/run/.gitignore | 4 - .../case.study.pledge.queries/build.properties | 6 - .../case.study.pledge.queries/ocl/queries.ocl | 14 - .../case.study.pledge.queries/plugin.xml | 42 - .../src-gen/queries/.gitignore | 112 - .../src-gen/queries/Case_study_A.java | 438 - .../src-gen/queries/Inv03.java | 652 -- .../src-gen/queries/Inv05.java | 701 -- .../src-gen/queries/Inv06.java | 669 -- .../src-gen/queries/Inv07.java | 612 -- .../src-gen/queries/Inv08.java | 705 -- .../src-gen/queries/Inv10.java | 616 -- .../src-gen/queries/Inv11.java | 566 -- .../src-gen/queries/Inv12.java | 596 -- .../src-gen/queries/Inv13.java | 591 -- .../src-gen/queries/Inv15.java | 567 -- .../src-gen/queries/Inv17.java | 643 -- .../src-gen/queries/Inv20.java | 587 -- .../src-gen/queries/Inv33.java | 665 -- .../src-gen/queries/Inv34.java | 639 -- .../src-gen/queries/Inv35.java | 639 -- .../src-gen/queries/Inv47.java | 636 -- .../src-gen/queries/Inv48.java | 566 -- .../src-gen/queries/Inv49.java | 561 -- .../src-gen/queries/X_inv03_eligAll.java | 606 -- .../src-gen/queries/X_inv03_hasAll.java | 551 - .../src-gen/queries/X_inv05_inRange.java | 630 -- .../src-gen/queries/X_inv08_inRange.java | 630 -- .../src-gen/queries/X_inv08_noType.java | 551 - .../src-gen/queries/X_inv08_notEI.java | 544 - .../src-gen/queries/X_inv11_incNotOver100.java | 684 -- .../src-gen/queries/X_inv11_incOver100.java | 629 -- .../src-gen/queries/X_inv12_notNonRes.java | 544 - .../src-gen/queries/X_inv12_notZZ.java | 555 - .../src-gen/queries/X_inv13.java | 544 - .../src-gen/queries/X_inv15.java | 637 -- .../src-gen/queries/X_inv47.java | 569 -- .../src-gen/queries/X_inv48_3.java | 555 - .../src-gen/queries/X_inv48_Dis.java | 610 -- .../src-gen/queries/X_inv48_notDis.java | 569 -- .../src-gen/queries/X_inv49_1.java | 579 -- .../src-gen/queries/X_inv49_2.java | 544 - .../src/queries/NewOCLFileX.ocl | 45 - .../src/queries/case_study_A.vql | 334 - .../src/run/RunGenerator.xtend | 151 - .../xtend-gen/run/.RunGenerator.xtendbin | Bin 8709 -> 0 bytes .../xtend-gen/run/.gitignore | 4 - .../xtend-gen/run/GenerateScenarios.java | 165 - .../case.study.pledge.run/.classpath | 9 + .../case.study.pledge.run/.project | 62 + .../.settings/org.eclipse.core.resources.prefs | 2 + .../.settings/org.eclipse.jdt.core.prefs | 7 + .../.settings/org.eclipse.pde.core.prefs | 3 + .../case.study.pledge.run/META-INF/MANIFEST.MF | 37 + .../case.study.pledge.run/bin/.gitignore | 2 + .../case.study.pledge.run/build.properties | 6 + .../case.study.pledge.run/inputs/Household.xmi | 3 + .../inputs/Resident_Tax_Payer.xmi | 3 + .../case.study.pledge.run/ocl/queries.ocl | 14 + .../output/27-1503/problem.logicproblem | 151 + .../output/27-1503/solution0.gml | 1081 ++ .../output/27-1503/solution0.png | Bin 0 -> 103095 bytes .../output/27-1503/solution0.xmi | 8 + .../output/27-1504/problem.logicproblem | 151 + .../output/27-1504/solution0.gml | 1081 ++ .../output/27-1504/solution0.png | Bin 0 -> 86071 bytes .../output/27-1504/solution0.xmi | 8 + .../output/27-1505/problem.logicproblem | 151 + .../output/27-1505/solution0.gml | 1081 ++ .../output/27-1505/solution0.png | Bin 0 -> 88119 bytes .../output/27-1505/solution0.xmi | 8 + .../output/27-1508/problem.logicproblem | 151 + .../output/27-1508/solution0_0.gml | 1043 ++ .../output/27-1508/solution0_0.png | Bin 0 -> 80602 bytes .../output/27-1508/solution0_0.xmi | 8 + .../output/27-1508/solution1_0.gml | 1043 ++ .../output/27-1508/solution1_0.png | Bin 0 -> 76364 bytes .../output/27-1508/solution1_0.xmi | 8 + .../output/27-1514/problem.logicproblem | 151 + .../output/27-1514/solution0_0.gml | 1043 ++ .../output/27-1514/solution0_0.png | Bin 0 -> 77988 bytes .../output/27-1514/solution0_0.xmi | 8 + .../output/27-1514/solution1_0.gml | 815 ++ .../output/27-1514/solution1_0.png | Bin 0 -> 43239 bytes .../output/27-1514/solution1_0.xmi | 8 + .../output/27-1520/problem.logicproblem | 151 + .../output/27-1520/solution0_0.gml | 1043 ++ .../output/27-1520/solution0_0.png | Bin 0 -> 82352 bytes .../output/27-1520/solution0_0.xmi | 8 + .../output/27-1520/solution1_0.gml | 1119 +++ .../output/27-1520/solution1_0.png | Bin 0 -> 95334 bytes .../output/27-1520/solution1_0.xmi | 8 + .../output/27-1526/problem.logicproblem | 190 + .../output/27-1526/solution0_0.gml | 1259 +++ .../output/27-1526/solution0_0.png | Bin 0 -> 113380 bytes .../output/27-1526/solution0_0.xmi | 8 + .../output/27-1526/solution1_0.gml | 1221 +++ .../output/27-1526/solution1_0.png | Bin 0 -> 100856 bytes .../output/27-1526/solution1_0.xmi | 8 + .../output/27-1533/problem.logicproblem | 10009 ++++++++++++++++++ .../output/27-1535/problem.logicproblem | 10009 ++++++++++++++++++ .../output/27-1543/problem.logicproblem | 10009 ++++++++++++++++++ .../output/27-1543/solution0_0.gml | 3083 ++++++ .../output/27-1543/solution0_0.png | Bin 0 -> 261502 bytes .../output/27-1548/problem.logicproblem | 10009 ++++++++++++++++++ .../output/27-1557/problem.logicproblem | 151 + .../output/27-1557/solution0_0.gml | 1259 +++ .../output/27-1557/solution0_0.png | Bin 0 -> 100467 bytes .../output/27-1557/solution0_0.xmi | 8 + .../output/27-1557/solution1_0.gml | 1259 +++ .../output/27-1557/solution1_0.png | Bin 0 -> 87447 bytes .../output/27-1557/solution1_0.xmi | 8 + .../output/27-1610/problem.logicproblem | 151 + .../output/27-1610/solution0_0.gml | 1221 +++ .../output/27-1610/solution0_0.png | Bin 0 -> 92113 bytes .../output/27-1610/solution0_0.xmi | 8 + .../output/27-1610/solution1_0.gml | 1221 +++ .../output/27-1610/solution1_0.png | Bin 0 -> 92590 bytes .../output/27-1610/solution1_0.xmi | 8 + .../output/27-1613/problem.logicproblem | 151 + .../output/27-1613/solution0_0.gml | 1164 +++ .../output/27-1613/solution0_0.png | Bin 0 -> 87314 bytes .../output/27-1613/solution0_0.xmi | 8 + .../output/27-1613/solution1_0.gml | 1050 ++ .../output/27-1613/solution1_0.png | Bin 0 -> 52744 bytes .../output/27-1613/solution1_0.xmi | 8 + .../output/27-1622/problem.logicproblem | 151 + .../output/27-1622/solution0_0.gml | 1259 +++ .../output/27-1622/solution0_0.png | Bin 0 -> 98379 bytes .../output/27-1622/solution0_0.xmi | 8 + .../output/27-1622/solution1_0.gml | 1221 +++ .../output/27-1622/solution1_0.png | Bin 0 -> 92658 bytes .../output/27-1622/solution1_0.xmi | 8 + .../output/27-1623/problem.logicproblem | 151 + .../output/27-1623/solution0_0.gml | 1259 +++ .../output/27-1623/solution0_0.png | Bin 0 -> 85618 bytes .../output/27-1623/solution0_0.xmi | 8 + .../output/27-1623/solution1_0.gml | 1145 +++ .../output/27-1623/solution1_0.png | Bin 0 -> 81767 bytes .../output/27-1623/solution1_0.xmi | 8 + .../output/27-1624/problem.logicproblem | 151 + .../output/27-1624/solution0_0.gml | 1183 +++ .../output/27-1624/solution0_0.png | Bin 0 -> 66889 bytes .../output/27-1624/solution0_0.xmi | 8 + .../output/27-1624/solution1_0.gml | 1259 +++ .../output/27-1624/solution1_0.png | Bin 0 -> 87734 bytes .../output/27-1624/solution1_0.xmi | 8 + .../output/27-1628/problem.logicproblem | 10009 ++++++++++++++++++ .../output/27-1641/problem.logicproblem | 10009 ++++++++++++++++++ .../output/27-1645/problem.logicproblem | 10009 ++++++++++++++++++ .../output/27-1645/solution0_0.gml | 2768 +++++ .../output/27-1645/solution0_0.png | Bin 0 -> 248459 bytes .../output/27-1701/problem.logicproblem | 10009 ++++++++++++++++++ .../output/27-1714/problem.logicproblem | 10067 +++++++++++++++++++ .../output/27-1718/problem.logicproblem | 10067 +++++++++++++++++++ .../output/27-1733/problem.logicproblem | 10009 ++++++++++++++++++ .../output/27-1733/solution0_0.gml | 2803 ++++++ .../output/27-1733/solution0_0.png | Bin 0 -> 249904 bytes .../output/27-1933/problem.logicproblem | 10009 ++++++++++++++++++ .../output/27-1933/solution0_0.gml | 2803 ++++++ .../output/27-1933/solution0_0.png | Bin 0 -> 256064 bytes .../output/27-1946/problem.logicproblem | 10014 ++++++++++++++++++ .../case.study.pledge.run/plugin.xml | 1 + .../src-gen/queries/.gitignore | 112 + .../src/queries/NewOCLFileX.ocl | 45 + .../src/queries/case_study_A.vql | 334 + .../src/run/GenerateScenarios.xtend | 243 + .../case.study.pledge.run/xtend-gen/run/.gitignore | 5 + .../case.study.pledge.samples/.project | 2 +- 216 files changed, 172251 insertions(+), 25862 deletions(-) create mode 100644 Tests/MODELS2020-CaseStudies/case.study.familyTree.model/bin/.gitignore create mode 100644 Tests/MODELS2020-CaseStudies/case.study.familyTree.run/bin/.gitignore create mode 100644 Tests/MODELS2020-CaseStudies/case.study.familyTree.run/src-gen/queries/.gitignore delete mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/impl/Taxation.ecore delete mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.queries/.classpath delete mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.queries/.project delete mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.queries/.settings/org.eclipse.core.resources.prefs delete mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.queries/.settings/org.eclipse.jdt.core.prefs delete mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.queries/.settings/org.eclipse.pde.core.prefs delete mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.queries/META-INF/MANIFEST.MF delete mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.queries/bin/.gitignore delete mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.queries/bin/queries/.gitignore delete mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.queries/bin/queries/NewOCLFileX.ocl delete mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.queries/bin/queries/case_study_A.vql delete mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.queries/bin/run/.RunGenerator.xtendbin delete mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.queries/bin/run/.gitignore delete mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.queries/build.properties delete mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.queries/ocl/queries.ocl delete mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.queries/plugin.xml delete mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/.gitignore delete mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/Case_study_A.java delete mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/Inv03.java delete mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/Inv05.java delete mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/Inv06.java delete mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/Inv07.java delete mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/Inv08.java delete mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/Inv10.java delete mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/Inv11.java delete mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/Inv12.java delete mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/Inv13.java delete mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/Inv15.java delete mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/Inv17.java delete mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/Inv20.java delete mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/Inv33.java delete mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/Inv34.java delete mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/Inv35.java delete mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/Inv47.java delete mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/Inv48.java delete mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/Inv49.java delete mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/X_inv03_eligAll.java delete mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/X_inv03_hasAll.java delete mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/X_inv05_inRange.java delete mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/X_inv08_inRange.java delete mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/X_inv08_noType.java delete mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/X_inv08_notEI.java delete mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/X_inv11_incNotOver100.java delete mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/X_inv11_incOver100.java delete mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/X_inv12_notNonRes.java delete mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/X_inv12_notZZ.java delete mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/X_inv13.java delete mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/X_inv15.java delete mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/X_inv47.java delete mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/X_inv48_3.java delete mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/X_inv48_Dis.java delete mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/X_inv48_notDis.java delete mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/X_inv49_1.java delete mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/X_inv49_2.java delete mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src/queries/NewOCLFileX.ocl delete mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src/queries/case_study_A.vql delete mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src/run/RunGenerator.xtend delete mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.queries/xtend-gen/run/.RunGenerator.xtendbin delete mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.queries/xtend-gen/run/.gitignore delete mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.queries/xtend-gen/run/GenerateScenarios.java create mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.run/.classpath create mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.run/.project create mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.run/.settings/org.eclipse.core.resources.prefs create mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.run/.settings/org.eclipse.jdt.core.prefs create mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.run/.settings/org.eclipse.pde.core.prefs create mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.run/META-INF/MANIFEST.MF create mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.run/bin/.gitignore create mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.run/build.properties create mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.run/inputs/Household.xmi create mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.run/inputs/Resident_Tax_Payer.xmi create mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.run/ocl/queries.ocl create mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1503/problem.logicproblem create mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1503/solution0.gml create mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1503/solution0.png create mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1503/solution0.xmi create mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1504/problem.logicproblem create mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1504/solution0.gml create mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1504/solution0.png create mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1504/solution0.xmi create mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1505/problem.logicproblem create mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1505/solution0.gml create mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1505/solution0.png create mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1505/solution0.xmi create mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1508/problem.logicproblem create mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1508/solution0_0.gml create mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1508/solution0_0.png create mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1508/solution0_0.xmi create mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1508/solution1_0.gml create mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1508/solution1_0.png create mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1508/solution1_0.xmi create mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1514/problem.logicproblem create mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1514/solution0_0.gml create mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1514/solution0_0.png create mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1514/solution0_0.xmi create mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1514/solution1_0.gml create mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1514/solution1_0.png create mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1514/solution1_0.xmi create mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1520/problem.logicproblem create mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1520/solution0_0.gml create mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1520/solution0_0.png create mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1520/solution0_0.xmi create mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1520/solution1_0.gml create mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1520/solution1_0.png create mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1520/solution1_0.xmi create mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1526/problem.logicproblem create mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1526/solution0_0.gml create mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1526/solution0_0.png create mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1526/solution0_0.xmi create mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1526/solution1_0.gml create mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1526/solution1_0.png create mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1526/solution1_0.xmi create mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1533/problem.logicproblem create mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1535/problem.logicproblem create mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1543/problem.logicproblem create mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1543/solution0_0.gml create mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1543/solution0_0.png create mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1548/problem.logicproblem create mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1557/problem.logicproblem create mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1557/solution0_0.gml create mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1557/solution0_0.png create mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1557/solution0_0.xmi create mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1557/solution1_0.gml create mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1557/solution1_0.png create mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1557/solution1_0.xmi create mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1610/problem.logicproblem create mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1610/solution0_0.gml create mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1610/solution0_0.png create mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1610/solution0_0.xmi create mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1610/solution1_0.gml create mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1610/solution1_0.png create mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1610/solution1_0.xmi create mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1613/problem.logicproblem create mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1613/solution0_0.gml create mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1613/solution0_0.png create mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1613/solution0_0.xmi create mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1613/solution1_0.gml create mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1613/solution1_0.png create mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1613/solution1_0.xmi create mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1622/problem.logicproblem create mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1622/solution0_0.gml create mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1622/solution0_0.png create mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1622/solution0_0.xmi create mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1622/solution1_0.gml create mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1622/solution1_0.png create mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1622/solution1_0.xmi create mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1623/problem.logicproblem create mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1623/solution0_0.gml create mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1623/solution0_0.png create mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1623/solution0_0.xmi create mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1623/solution1_0.gml create mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1623/solution1_0.png create mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1623/solution1_0.xmi create mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1624/problem.logicproblem create mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1624/solution0_0.gml create mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1624/solution0_0.png create mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1624/solution0_0.xmi create mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1624/solution1_0.gml create mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1624/solution1_0.png create mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1624/solution1_0.xmi create mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1628/problem.logicproblem create mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1641/problem.logicproblem create mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1645/problem.logicproblem create mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1645/solution0_0.gml create mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1645/solution0_0.png create mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1701/problem.logicproblem create mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1714/problem.logicproblem create mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1718/problem.logicproblem create mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1733/problem.logicproblem create mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1733/solution0_0.gml create mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1733/solution0_0.png create mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1933/problem.logicproblem create mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1933/solution0_0.gml create mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1933/solution0_0.png create mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1946/problem.logicproblem create mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.run/plugin.xml create mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.run/src-gen/queries/.gitignore create mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.run/src/queries/NewOCLFileX.ocl create mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.run/src/queries/case_study_A.vql create mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.run/src/run/GenerateScenarios.xtend create mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.run/xtend-gen/run/.gitignore (limited to 'Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner') diff --git a/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeModule.xtendbin b/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeModule.xtendbin index ca156c38..a3b7b1f2 100644 Binary files a/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeModule.xtendbin and b/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeModule.xtendbin differ diff --git a/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeSetup.xtendbin b/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeSetup.xtendbin index 51888916..6d50bd9d 100644 Binary files a/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeSetup.xtendbin and b/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeSetup.xtendbin differ diff --git a/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.gitignore b/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.gitignore index 1089c736..c41377d5 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.gitignore +++ b/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.gitignore @@ -1,2 +1,6 @@ /.ApplicationConfigurationIdeModule.java._trace /.ApplicationConfigurationIdeSetup.java._trace +/.ApplicationConfigurationIdeModule.xtendbin +/.ApplicationConfigurationIdeSetup.xtendbin +/ApplicationConfigurationIdeModule.java +/ApplicationConfigurationIdeSetup.java diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/start-application.launch b/Application/hu.bme.mit.inf.dslreasoner.application/start-application.launch index 1d040ec1..d4564a90 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/start-application.launch +++ b/Application/hu.bme.mit.inf.dslreasoner.application/start-application.launch @@ -25,8 +25,1045 @@ - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Framework/hu.bme.mit.inf.dslreasoner.viatra2logic/.classpath b/Framework/hu.bme.mit.inf.dslreasoner.viatra2logic/.classpath index 75ccaa90..ea427d90 100644 --- a/Framework/hu.bme.mit.inf.dslreasoner.viatra2logic/.classpath +++ b/Framework/hu.bme.mit.inf.dslreasoner.viatra2logic/.classpath @@ -5,5 +5,6 @@ + diff --git a/Framework/hu.bme.mit.inf.dslreasoner.viatra2logic/META-INF/MANIFEST.MF b/Framework/hu.bme.mit.inf.dslreasoner.viatra2logic/META-INF/MANIFEST.MF index 6aa9b63e..c7242106 100644 --- a/Framework/hu.bme.mit.inf.dslreasoner.viatra2logic/META-INF/MANIFEST.MF +++ b/Framework/hu.bme.mit.inf.dslreasoner.viatra2logic/META-INF/MANIFEST.MF @@ -19,7 +19,8 @@ Require-Bundle: com.google.guava, org.eclipse.viatra.query.runtime.base.itc;bundle-version="1.5.0", org.eclipse.viatra.query.patternlanguage.emf;bundle-version="2.0.0", org.eclipse.xtext, - org.eclipse.xtext.xbase;bundle-version="2.18.0" + org.eclipse.xtext.xbase;bundle-version="2.18.0", + hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage;bundle-version="1.0.0" Bundle-ActivationPolicy: lazy Export-Package: hu.bme.mit.inf.dslreasoner.viatra2logic, hu.bme.mit.inf.dslreasoner.viatra2logic.viatra2logicannotations, diff --git a/Tests/MODELS2020-CaseStudies/case.study.familyTree.model/bin/.gitignore b/Tests/MODELS2020-CaseStudies/case.study.familyTree.model/bin/.gitignore new file mode 100644 index 00000000..05bc9085 --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/case.study.familyTree.model/bin/.gitignore @@ -0,0 +1 @@ +/familytree/ diff --git a/Tests/MODELS2020-CaseStudies/case.study.familyTree.run/bin/.gitignore b/Tests/MODELS2020-CaseStudies/case.study.familyTree.run/bin/.gitignore new file mode 100644 index 00000000..3d70f0da --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/case.study.familyTree.run/bin/.gitignore @@ -0,0 +1,2 @@ +/queries/ +/run/ diff --git a/Tests/MODELS2020-CaseStudies/case.study.familyTree.run/src-gen/queries/.gitignore b/Tests/MODELS2020-CaseStudies/case.study.familyTree.run/src-gen/queries/.gitignore new file mode 100644 index 00000000..1641b3f8 --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/case.study.familyTree.run/src-gen/queries/.gitignore @@ -0,0 +1,4 @@ +/.FamilyTreeConstraints.java._trace +/.MemberIsItsOwnParent.java._trace +/FamilyTreeConstraints.java +/MemberIsItsOwnParent.java diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/.classpath b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/.classpath index 4cc715d5..9cc36f38 100644 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/.classpath +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/.classpath @@ -1,8 +1,8 @@ + - diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/META-INF/MANIFEST.MF b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/META-INF/MANIFEST.MF index 5df271f3..4b5f5b2f 100644 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/META-INF/MANIFEST.MF +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/META-INF/MANIFEST.MF @@ -15,9 +15,8 @@ Require-Bundle: org.eclipse.core.runtime, org.eclipse.viatra.query.runtime, org.eclipse.viatra.query.runtime.rete, org.eclipse.viatra.query.runtime.localsearch, - org.eclipse.xtext.xbase.lib, - test;bundle-version="0.1.0" + org.eclipse.xtext.xbase.lib Import-Package: org.apache.log4j -Automatic-Module-Name: case.study.a.model +Automatic-Module-Name: case.study.pledge.model Bundle-ActivationPolicy: lazy Bundle-RequiredExecutionEnvironment: JavaSE-1.8 diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/model/Taxation.aird b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/model/Taxation.aird index 6e583e0f..09539720 100644 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/model/Taxation.aird +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/model/Taxation.aird @@ -2,10 +2,9 @@ Taxation.ecore - Taxation.genmodel - + @@ -820,18 +819,6 @@ - - - - - - - - - - - - @@ -878,14 +865,6 @@ - - - - - - - - @@ -3891,30 +3870,6 @@ - - - - - bold - - - - - - - - bold - - - - - - - - bold - - - @@ -3988,22 +3943,6 @@ - - - - - bold - - - - - - - - bold - - - diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/model/Taxation.ecore b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/model/Taxation.ecore index a1b9acd5..cfed4729 100644 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/model/Taxation.ecore +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/model/Taxation.ecore @@ -335,12 +335,6 @@ - - - - - @@ -230,9 +230,6 @@ - - - @@ -249,8 +246,6 @@ - - diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/Income.java b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/Income.java index 3e68e1ac..2f3dcfd4 100644 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/Income.java +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/Income.java @@ -2,8 +2,6 @@ */ package Taxation; -import java.util.Date; - import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EObject; @@ -19,9 +17,6 @@ import org.eclipse.emf.ecore.EObject; *
      *
    • {@link Taxation.Income#getIncome_amount Income amount}
    • *
    • {@link Taxation.Income#getIncome_type Income type}
    • - *
    • {@link Taxation.Income#getStart_date_within_taxation_year Start date within taxation year}
    • - *
    • {@link Taxation.Income#getStart_date_of_contract Start date of contract}
    • - *
    • {@link Taxation.Income#getEnd_date_within_taxation_year End date within taxation year}
    • *
    • {@link Taxation.Income#getTax_card Tax card}
    • *
    • {@link Taxation.Income#getTax_liability Tax liability}
    • *
    • {@link Taxation.Income#getTaxPayer Tax Payer}
    • @@ -82,72 +77,6 @@ public interface Income extends EObject { */ void setIncome_type(Income_Type value); - /** - * Returns the value of the 'Start date within taxation year' attribute. - * - * - * @return the value of the 'Start date within taxation year' attribute. - * @see #setStart_date_within_taxation_year(Date) - * @see Taxation.TaxationPackage#getIncome_Start_date_within_taxation_year() - * @model unique="false" required="true" ordered="false" - * @generated - */ - Date getStart_date_within_taxation_year(); - - /** - * Sets the value of the '{@link Taxation.Income#getStart_date_within_taxation_year Start date within taxation year}' attribute. - * - * - * @param value the new value of the 'Start date within taxation year' attribute. - * @see #getStart_date_within_taxation_year() - * @generated - */ - void setStart_date_within_taxation_year(Date value); - - /** - * Returns the value of the 'Start date of contract' attribute. - * - * - * @return the value of the 'Start date of contract' attribute. - * @see #setStart_date_of_contract(Date) - * @see Taxation.TaxationPackage#getIncome_Start_date_of_contract() - * @model unique="false" required="true" ordered="false" - * @generated - */ - Date getStart_date_of_contract(); - - /** - * Sets the value of the '{@link Taxation.Income#getStart_date_of_contract Start date of contract}' attribute. - * - * - * @param value the new value of the 'Start date of contract' attribute. - * @see #getStart_date_of_contract() - * @generated - */ - void setStart_date_of_contract(Date value); - - /** - * Returns the value of the 'End date within taxation year' attribute. - * - * - * @return the value of the 'End date within taxation year' attribute. - * @see #setEnd_date_within_taxation_year(Date) - * @see Taxation.TaxationPackage#getIncome_End_date_within_taxation_year() - * @model unique="false" required="true" ordered="false" - * @generated - */ - Date getEnd_date_within_taxation_year(); - - /** - * Sets the value of the '{@link Taxation.Income#getEnd_date_within_taxation_year End date within taxation year}' attribute. - * - * - * @param value the new value of the 'End date within taxation year' attribute. - * @see #getEnd_date_within_taxation_year() - * @generated - */ - void setEnd_date_within_taxation_year(Date value); - /** * Returns the value of the 'Tax card' containment reference. * It is bidirectional and its opposite is '{@link Taxation.Tax_Card#getIncome Income}'. diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/Physical_Person.java b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/Physical_Person.java index 02144134..b2f40b46 100644 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/Physical_Person.java +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/Physical_Person.java @@ -26,7 +26,6 @@ import org.eclipse.emf.ecore.EObject; *
    • {@link Taxation.Physical_Person#getBirth_day Birth day}
    • *
    • {@link Taxation.Physical_Person#getExpenses Expenses}
    • *
    • {@link Taxation.Physical_Person#isIs_widower Is widower}
    • - *
    • {@link Taxation.Physical_Person#getOwns_Address Owns Address}
    • *
    * * @see Taxation.TaxationPackage#getPhysical_Person() @@ -263,16 +262,4 @@ public interface Physical_Person extends EObject { */ void setIs_widower(boolean value); - /** - * Returns the value of the 'Owns Address' containment reference list. - * The list contents are of type {@link Taxation.Address}. - * - * - * @return the value of the 'Owns Address' containment reference list. - * @see Taxation.TaxationPackage#getPhysical_Person_Owns_Address() - * @model containment="true" - * @generated - */ - EList
    getOwns_Address(); - } // Physical_Person diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/Private_Insurance_and_Plan.java b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/Private_Insurance_and_Plan.java index 789099c5..5cd6e8f0 100644 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/Private_Insurance_and_Plan.java +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/Private_Insurance_and_Plan.java @@ -2,6 +2,7 @@ */ package Taxation; + /** * * A representation of the model object 'Private Insurance and Plan'. diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/Resident_Tax_Payer.java b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/Resident_Tax_Payer.java index 6f529c32..1dedc64a 100644 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/Resident_Tax_Payer.java +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/Resident_Tax_Payer.java @@ -14,5 +14,4 @@ package Taxation; * @generated */ public interface Resident_Tax_Payer extends Tax_Payer { - } // Resident_Tax_Payer diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/Tax_Card.java b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/Tax_Card.java index 8bb5f622..bcfc0c75 100644 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/Tax_Card.java +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/Tax_Card.java @@ -2,8 +2,6 @@ */ package Taxation; -import java.util.Date; - import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EObject; @@ -20,8 +18,6 @@ import org.eclipse.emf.ecore.EObject; *
  • {@link Taxation.Tax_Card#getCard_identifier Card identifier}
  • *
  • {@link Taxation.Tax_Card#getTax_card_type Tax card type}
  • *
  • {@link Taxation.Tax_Card#getTax_office Tax office}
  • - *
  • {@link Taxation.Tax_Card#getValid_from_date Valid from date}
  • - *
  • {@link Taxation.Tax_Card#getValid_until_date Valid until date}
  • *
  • {@link Taxation.Tax_Card#getPercentage_of_witholding Percentage of witholding}
  • *
  • {@link Taxation.Tax_Card#getTax_payers_name_surname Tax payers name surname}
  • *
  • {@link Taxation.Tax_Card#getTax_payers_partner_name_surname Tax payers partner name surname}
  • @@ -134,50 +130,6 @@ public interface Tax_Card extends EObject { */ void setTax_office(Tax_Office value); - /** - * Returns the value of the 'Valid from date' attribute. - * - * - * @return the value of the 'Valid from date' attribute. - * @see #setValid_from_date(Date) - * @see Taxation.TaxationPackage#getTax_Card_Valid_from_date() - * @model unique="false" required="true" ordered="false" - * @generated - */ - Date getValid_from_date(); - - /** - * Sets the value of the '{@link Taxation.Tax_Card#getValid_from_date Valid from date}' attribute. - * - * - * @param value the new value of the 'Valid from date' attribute. - * @see #getValid_from_date() - * @generated - */ - void setValid_from_date(Date value); - - /** - * Returns the value of the 'Valid until date' attribute. - * - * - * @return the value of the 'Valid until date' attribute. - * @see #setValid_until_date(Date) - * @see Taxation.TaxationPackage#getTax_Card_Valid_until_date() - * @model unique="false" required="true" ordered="false" - * @generated - */ - Date getValid_until_date(); - - /** - * Sets the value of the '{@link Taxation.Tax_Card#getValid_until_date Valid until date}' attribute. - * - * - * @param value the new value of the 'Valid until date' attribute. - * @see #getValid_until_date() - * @generated - */ - void setValid_until_date(Date value); - /** * Returns the value of the 'Percentage of witholding' attribute. * diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/TaxationPackage.java b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/TaxationPackage.java index 260e296f..8706121f 100644 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/TaxationPackage.java +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/TaxationPackage.java @@ -484,15 +484,6 @@ public interface TaxationPackage extends EPackage { */ int PHYSICAL_PERSON__IS_WIDOWER = 10; - /** - * The feature id for the 'Owns Address' containment reference list. - * - * - * @generated - * @ordered - */ - int PHYSICAL_PERSON__OWNS_ADDRESS = 11; - /** * The number of structural features of the 'Physical Person' class. * @@ -500,7 +491,7 @@ public interface TaxationPackage extends EPackage { * @generated * @ordered */ - int PHYSICAL_PERSON_FEATURE_COUNT = 12; + int PHYSICAL_PERSON_FEATURE_COUNT = 11; /** * The number of operations of the 'Physical Person' class. @@ -620,15 +611,6 @@ public interface TaxationPackage extends EPackage { */ int TAX_PAYER__IS_WIDOWER = PHYSICAL_PERSON__IS_WIDOWER; - /** - * The feature id for the 'Owns Address' containment reference list. - * - * - * @generated - * @ordered - */ - int TAX_PAYER__OWNS_ADDRESS = PHYSICAL_PERSON__OWNS_ADDRESS; - /** * The feature id for the 'Dependents' containment reference list. * @@ -974,15 +956,6 @@ public interface TaxationPackage extends EPackage { */ int DEPENDENT__IS_WIDOWER = PHYSICAL_PERSON__IS_WIDOWER; - /** - * The feature id for the 'Owns Address' containment reference list. - * - * - * @generated - * @ordered - */ - int DEPENDENT__OWNS_ADDRESS = PHYSICAL_PERSON__OWNS_ADDRESS; - /** * The feature id for the 'Dependent type' attribute. * @@ -1503,33 +1476,6 @@ public interface TaxationPackage extends EPackage { */ int INCOME__INCOME_TYPE = 1; - /** - * The feature id for the 'Start date within taxation year' attribute. - * - * - * @generated - * @ordered - */ - int INCOME__START_DATE_WITHIN_TAXATION_YEAR = 2; - - /** - * The feature id for the 'Start date of contract' attribute. - * - * - * @generated - * @ordered - */ - int INCOME__START_DATE_OF_CONTRACT = 3; - - /** - * The feature id for the 'End date within taxation year' attribute. - * - * - * @generated - * @ordered - */ - int INCOME__END_DATE_WITHIN_TAXATION_YEAR = 4; - /** * The feature id for the 'Tax card' containment reference. * @@ -1537,7 +1483,7 @@ public interface TaxationPackage extends EPackage { * @generated * @ordered */ - int INCOME__TAX_CARD = 5; + int INCOME__TAX_CARD = 2; /** * The feature id for the 'Tax liability' attribute. @@ -1546,7 +1492,7 @@ public interface TaxationPackage extends EPackage { * @generated * @ordered */ - int INCOME__TAX_LIABILITY = 6; + int INCOME__TAX_LIABILITY = 3; /** * The feature id for the 'Tax Payer' container reference. @@ -1555,7 +1501,7 @@ public interface TaxationPackage extends EPackage { * @generated * @ordered */ - int INCOME__TAX_PAYER = 7; + int INCOME__TAX_PAYER = 4; /** * The feature id for the 'Details' containment reference list. @@ -1564,7 +1510,7 @@ public interface TaxationPackage extends EPackage { * @generated * @ordered */ - int INCOME__DETAILS = 8; + int INCOME__DETAILS = 5; /** * The feature id for the 'Num' attribute. @@ -1573,7 +1519,7 @@ public interface TaxationPackage extends EPackage { * @generated * @ordered */ - int INCOME__NUM = 9; + int INCOME__NUM = 6; /** * The feature id for the 'Expenses' containment reference list. @@ -1582,7 +1528,7 @@ public interface TaxationPackage extends EPackage { * @generated * @ordered */ - int INCOME__EXPENSES = 10; + int INCOME__EXPENSES = 7; /** * The number of structural features of the 'Income' class. @@ -1591,7 +1537,7 @@ public interface TaxationPackage extends EPackage { * @generated * @ordered */ - int INCOME_FEATURE_COUNT = 11; + int INCOME_FEATURE_COUNT = 8; /** * The number of operations of the 'Income' class. @@ -1694,24 +1640,6 @@ public interface TaxationPackage extends EPackage { */ int TAX_CARD__TAX_OFFICE = 2; - /** - * The feature id for the 'Valid from date' attribute. - * - * - * @generated - * @ordered - */ - int TAX_CARD__VALID_FROM_DATE = 3; - - /** - * The feature id for the 'Valid until date' attribute. - * - * - * @generated - * @ordered - */ - int TAX_CARD__VALID_UNTIL_DATE = 4; - /** * The feature id for the 'Percentage of witholding' attribute. * @@ -1719,7 +1647,7 @@ public interface TaxationPackage extends EPackage { * @generated * @ordered */ - int TAX_CARD__PERCENTAGE_OF_WITHOLDING = 5; + int TAX_CARD__PERCENTAGE_OF_WITHOLDING = 3; /** * The feature id for the 'Tax payers name surname' attribute list. @@ -1728,7 +1656,7 @@ public interface TaxationPackage extends EPackage { * @generated * @ordered */ - int TAX_CARD__TAX_PAYERS_NAME_SURNAME = 6; + int TAX_CARD__TAX_PAYERS_NAME_SURNAME = 4; /** * The feature id for the 'Tax payers partner name surname' attribute list. @@ -1737,7 +1665,7 @@ public interface TaxationPackage extends EPackage { * @generated * @ordered */ - int TAX_CARD__TAX_PAYERS_PARTNER_NAME_SURNAME = 7; + int TAX_CARD__TAX_PAYERS_PARTNER_NAME_SURNAME = 5; /** * The feature id for the 'Tax payers address' reference. @@ -1746,7 +1674,7 @@ public interface TaxationPackage extends EPackage { * @generated * @ordered */ - int TAX_CARD__TAX_PAYERS_ADDRESS = 8; + int TAX_CARD__TAX_PAYERS_ADDRESS = 6; /** * The feature id for the 'Jobs Employer SS No' attribute. @@ -1755,7 +1683,7 @@ public interface TaxationPackage extends EPackage { * @generated * @ordered */ - int TAX_CARD__JOBS_EMPLOYER_SS_NO = 9; + int TAX_CARD__JOBS_EMPLOYER_SS_NO = 7; /** * The feature id for the 'Jobs employers name' attribute. @@ -1764,7 +1692,7 @@ public interface TaxationPackage extends EPackage { * @generated * @ordered */ - int TAX_CARD__JOBS_EMPLOYERS_NAME = 10; + int TAX_CARD__JOBS_EMPLOYERS_NAME = 8; /** * The feature id for the 'Jobs activity type' attribute. @@ -1773,7 +1701,7 @@ public interface TaxationPackage extends EPackage { * @generated * @ordered */ - int TAX_CARD__JOBS_ACTIVITY_TYPE = 11; + int TAX_CARD__JOBS_ACTIVITY_TYPE = 9; /** * The feature id for the 'Jobs place of work' attribute. @@ -1782,7 +1710,7 @@ public interface TaxationPackage extends EPackage { * @generated * @ordered */ - int TAX_CARD__JOBS_PLACE_OF_WORK = 12; + int TAX_CARD__JOBS_PLACE_OF_WORK = 10; /** * The feature id for the 'Deduction FD daily' attribute. @@ -1791,7 +1719,7 @@ public interface TaxationPackage extends EPackage { * @generated * @ordered */ - int TAX_CARD__DEDUCTION_FD_DAILY = 13; + int TAX_CARD__DEDUCTION_FD_DAILY = 11; /** * The feature id for the 'Deduction FD monthly' attribute. @@ -1800,7 +1728,7 @@ public interface TaxationPackage extends EPackage { * @generated * @ordered */ - int TAX_CARD__DEDUCTION_FD_MONTHLY = 14; + int TAX_CARD__DEDUCTION_FD_MONTHLY = 12; /** * The feature id for the 'Deduction AC daily' attribute. @@ -1809,7 +1737,7 @@ public interface TaxationPackage extends EPackage { * @generated * @ordered */ - int TAX_CARD__DEDUCTION_AC_DAILY = 15; + int TAX_CARD__DEDUCTION_AC_DAILY = 13; /** * The feature id for the 'Deduction AC monthly' attribute. @@ -1818,7 +1746,7 @@ public interface TaxationPackage extends EPackage { * @generated * @ordered */ - int TAX_CARD__DEDUCTION_AC_MONTHLY = 16; + int TAX_CARD__DEDUCTION_AC_MONTHLY = 14; /** * The feature id for the 'Deduction AC yearly' attribute. @@ -1827,7 +1755,7 @@ public interface TaxationPackage extends EPackage { * @generated * @ordered */ - int TAX_CARD__DEDUCTION_AC_YEARLY = 17; + int TAX_CARD__DEDUCTION_AC_YEARLY = 15; /** * The feature id for the 'Deduction CE daily' attribute. @@ -1836,7 +1764,7 @@ public interface TaxationPackage extends EPackage { * @generated * @ordered */ - int TAX_CARD__DEDUCTION_CE_DAILY = 18; + int TAX_CARD__DEDUCTION_CE_DAILY = 16; /** * The feature id for the 'Deduction CE monthly' attribute. @@ -1845,7 +1773,7 @@ public interface TaxationPackage extends EPackage { * @generated * @ordered */ - int TAX_CARD__DEDUCTION_CE_MONTHLY = 19; + int TAX_CARD__DEDUCTION_CE_MONTHLY = 17; /** * The feature id for the 'Deduction CE yearly' attribute. @@ -1854,7 +1782,7 @@ public interface TaxationPackage extends EPackage { * @generated * @ordered */ - int TAX_CARD__DEDUCTION_CE_YEARLY = 20; + int TAX_CARD__DEDUCTION_CE_YEARLY = 18; /** * The feature id for the 'Deduction DS daily' attribute. @@ -1863,7 +1791,7 @@ public interface TaxationPackage extends EPackage { * @generated * @ordered */ - int TAX_CARD__DEDUCTION_DS_DAILY = 21; + int TAX_CARD__DEDUCTION_DS_DAILY = 19; /** * The feature id for the 'Deduction DS monthly' attribute. @@ -1872,7 +1800,7 @@ public interface TaxationPackage extends EPackage { * @generated * @ordered */ - int TAX_CARD__DEDUCTION_DS_MONTHLY = 22; + int TAX_CARD__DEDUCTION_DS_MONTHLY = 20; /** * The feature id for the 'Deduction FO daily' attribute. @@ -1881,7 +1809,7 @@ public interface TaxationPackage extends EPackage { * @generated * @ordered */ - int TAX_CARD__DEDUCTION_FO_DAILY = 23; + int TAX_CARD__DEDUCTION_FO_DAILY = 21; /** * The feature id for the 'Deduction FO monthly' attribute. @@ -1890,7 +1818,7 @@ public interface TaxationPackage extends EPackage { * @generated * @ordered */ - int TAX_CARD__DEDUCTION_FO_MONTHLY = 24; + int TAX_CARD__DEDUCTION_FO_MONTHLY = 22; /** * The feature id for the 'Deduction FO yearly' attribute. @@ -1899,7 +1827,7 @@ public interface TaxationPackage extends EPackage { * @generated * @ordered */ - int TAX_CARD__DEDUCTION_FO_YEARLY = 25; + int TAX_CARD__DEDUCTION_FO_YEARLY = 23; /** * The feature id for the 'Credit CIS daily' attribute. @@ -1908,7 +1836,7 @@ public interface TaxationPackage extends EPackage { * @generated * @ordered */ - int TAX_CARD__CREDIT_CIS_DAILY = 26; + int TAX_CARD__CREDIT_CIS_DAILY = 24; /** * The feature id for the 'Credit CIS monthly' attribute. @@ -1917,7 +1845,7 @@ public interface TaxationPackage extends EPackage { * @generated * @ordered */ - int TAX_CARD__CREDIT_CIS_MONTHLY = 27; + int TAX_CARD__CREDIT_CIS_MONTHLY = 25; /** * The feature id for the 'Credit CIM daily' attribute. @@ -1926,7 +1854,7 @@ public interface TaxationPackage extends EPackage { * @generated * @ordered */ - int TAX_CARD__CREDIT_CIM_DAILY = 28; + int TAX_CARD__CREDIT_CIM_DAILY = 26; /** * The feature id for the 'Validity' attribute. @@ -1935,7 +1863,7 @@ public interface TaxationPackage extends EPackage { * @generated * @ordered */ - int TAX_CARD__VALIDITY = 29; + int TAX_CARD__VALIDITY = 27; /** * The feature id for the 'Income Tax Credit' reference list. @@ -1944,7 +1872,7 @@ public interface TaxationPackage extends EPackage { * @generated * @ordered */ - int TAX_CARD__INCOME_TAX_CREDIT = 30; + int TAX_CARD__INCOME_TAX_CREDIT = 28; /** * The feature id for the 'Previous' reference. @@ -1953,7 +1881,7 @@ public interface TaxationPackage extends EPackage { * @generated * @ordered */ - int TAX_CARD__PREVIOUS = 31; + int TAX_CARD__PREVIOUS = 29; /** * The feature id for the 'Current tax card' reference. @@ -1962,7 +1890,7 @@ public interface TaxationPackage extends EPackage { * @generated * @ordered */ - int TAX_CARD__CURRENT_TAX_CARD = 32; + int TAX_CARD__CURRENT_TAX_CARD = 30; /** * The feature id for the 'Credit CIM yearly' attribute. @@ -1971,7 +1899,7 @@ public interface TaxationPackage extends EPackage { * @generated * @ordered */ - int TAX_CARD__CREDIT_CIM_YEARLY = 33; + int TAX_CARD__CREDIT_CIM_YEARLY = 31; /** * The feature id for the 'Deduction DS Alimony yearly' attribute. @@ -1980,7 +1908,7 @@ public interface TaxationPackage extends EPackage { * @generated * @ordered */ - int TAX_CARD__DEDUCTION_DS_ALIMONY_YEARLY = 34; + int TAX_CARD__DEDUCTION_DS_ALIMONY_YEARLY = 32; /** * The feature id for the 'Deduction DS Debt yearly' attribute. @@ -1989,7 +1917,7 @@ public interface TaxationPackage extends EPackage { * @generated * @ordered */ - int TAX_CARD__DEDUCTION_DS_DEBT_YEARLY = 35; + int TAX_CARD__DEDUCTION_DS_DEBT_YEARLY = 33; /** * The feature id for the 'Income' container reference. @@ -1998,7 +1926,7 @@ public interface TaxationPackage extends EPackage { * @generated * @ordered */ - int TAX_CARD__INCOME = 36; + int TAX_CARD__INCOME = 34; /** * The number of structural features of the 'Tax Card' class. @@ -2007,7 +1935,7 @@ public interface TaxationPackage extends EPackage { * @generated * @ordered */ - int TAX_CARD_FEATURE_COUNT = 37; + int TAX_CARD_FEATURE_COUNT = 35; /** * The number of operations of the 'Tax Card' class. @@ -2637,15 +2565,6 @@ public interface TaxationPackage extends EPackage { */ int NON_RESIDENT_TAX_PAYER__IS_WIDOWER = TAX_PAYER__IS_WIDOWER; - /** - * The feature id for the 'Owns Address' containment reference list. - * - * - * @generated - * @ordered - */ - int NON_RESIDENT_TAX_PAYER__OWNS_ADDRESS = TAX_PAYER__OWNS_ADDRESS; - /** * The feature id for the 'Dependents' containment reference list. * @@ -2936,15 +2855,6 @@ public interface TaxationPackage extends EPackage { */ int RESIDENT_TAX_PAYER__IS_WIDOWER = TAX_PAYER__IS_WIDOWER; - /** - * The feature id for the 'Owns Address' containment reference list. - * - * - * @generated - * @ordered - */ - int RESIDENT_TAX_PAYER__OWNS_ADDRESS = TAX_PAYER__OWNS_ADDRESS; - /** * The feature id for the 'Dependents' containment reference list. * @@ -3384,33 +3294,6 @@ public interface TaxationPackage extends EPackage { */ int FOREIGN_INCOME__INCOME_TYPE = INCOME__INCOME_TYPE; - /** - * The feature id for the 'Start date within taxation year' attribute. - * - * - * @generated - * @ordered - */ - int FOREIGN_INCOME__START_DATE_WITHIN_TAXATION_YEAR = INCOME__START_DATE_WITHIN_TAXATION_YEAR; - - /** - * The feature id for the 'Start date of contract' attribute. - * - * - * @generated - * @ordered - */ - int FOREIGN_INCOME__START_DATE_OF_CONTRACT = INCOME__START_DATE_OF_CONTRACT; - - /** - * The feature id for the 'End date within taxation year' attribute. - * - * - * @generated - * @ordered - */ - int FOREIGN_INCOME__END_DATE_WITHIN_TAXATION_YEAR = INCOME__END_DATE_WITHIN_TAXATION_YEAR; - /** * The feature id for the 'Tax card' containment reference. * @@ -3511,33 +3394,6 @@ public interface TaxationPackage extends EPackage { */ int LOCAL_INCOME__INCOME_TYPE = INCOME__INCOME_TYPE; - /** - * The feature id for the 'Start date within taxation year' attribute. - * - * - * @generated - * @ordered - */ - int LOCAL_INCOME__START_DATE_WITHIN_TAXATION_YEAR = INCOME__START_DATE_WITHIN_TAXATION_YEAR; - - /** - * The feature id for the 'Start date of contract' attribute. - * - * - * @generated - * @ordered - */ - int LOCAL_INCOME__START_DATE_OF_CONTRACT = INCOME__START_DATE_OF_CONTRACT; - - /** - * The feature id for the 'End date within taxation year' attribute. - * - * - * @generated - * @ordered - */ - int LOCAL_INCOME__END_DATE_WITHIN_TAXATION_YEAR = INCOME__END_DATE_WITHIN_TAXATION_YEAR; - /** * The feature id for the 'Tax card' containment reference. * @@ -6339,17 +6195,6 @@ public interface TaxationPackage extends EPackage { */ EAttribute getPhysical_Person_Is_widower(); - /** - * Returns the meta object for the containment reference list '{@link Taxation.Physical_Person#getOwns_Address Owns Address}'. - * - * - * @return the meta object for the containment reference list 'Owns Address'. - * @see Taxation.Physical_Person#getOwns_Address() - * @see #getPhysical_Person() - * @generated - */ - EReference getPhysical_Person_Owns_Address(); - /** * Returns the meta object for class '{@link Taxation.Address Address}'. * @@ -6989,39 +6834,6 @@ public interface TaxationPackage extends EPackage { */ EReference getIncome_Income_type(); - /** - * Returns the meta object for the attribute '{@link Taxation.Income#getStart_date_within_taxation_year Start date within taxation year}'. - * - * - * @return the meta object for the attribute 'Start date within taxation year'. - * @see Taxation.Income#getStart_date_within_taxation_year() - * @see #getIncome() - * @generated - */ - EAttribute getIncome_Start_date_within_taxation_year(); - - /** - * Returns the meta object for the attribute '{@link Taxation.Income#getStart_date_of_contract Start date of contract}'. - * - * - * @return the meta object for the attribute 'Start date of contract'. - * @see Taxation.Income#getStart_date_of_contract() - * @see #getIncome() - * @generated - */ - EAttribute getIncome_Start_date_of_contract(); - - /** - * Returns the meta object for the attribute '{@link Taxation.Income#getEnd_date_within_taxation_year End date within taxation year}'. - * - * - * @return the meta object for the attribute 'End date within taxation year'. - * @see Taxation.Income#getEnd_date_within_taxation_year() - * @see #getIncome() - * @generated - */ - EAttribute getIncome_End_date_within_taxation_year(); - /** * Returns the meta object for the containment reference '{@link Taxation.Income#getTax_card Tax card}'. * @@ -7174,28 +6986,6 @@ public interface TaxationPackage extends EPackage { */ EAttribute getTax_Card_Tax_office(); - /** - * Returns the meta object for the attribute '{@link Taxation.Tax_Card#getValid_from_date Valid from date}'. - * - * - * @return the meta object for the attribute 'Valid from date'. - * @see Taxation.Tax_Card#getValid_from_date() - * @see #getTax_Card() - * @generated - */ - EAttribute getTax_Card_Valid_from_date(); - - /** - * Returns the meta object for the attribute '{@link Taxation.Tax_Card#getValid_until_date Valid until date}'. - * - * - * @return the meta object for the attribute 'Valid until date'. - * @see Taxation.Tax_Card#getValid_until_date() - * @see #getTax_Card() - * @generated - */ - EAttribute getTax_Card_Valid_until_date(); - /** * Returns the meta object for the attribute '{@link Taxation.Tax_Card#getPercentage_of_witholding Percentage of witholding}'. * @@ -9078,14 +8868,6 @@ public interface TaxationPackage extends EPackage { */ EAttribute PHYSICAL_PERSON__IS_WIDOWER = eINSTANCE.getPhysical_Person_Is_widower(); - /** - * The meta object literal for the 'Owns Address' containment reference list feature. - * - * - * @generated - */ - EReference PHYSICAL_PERSON__OWNS_ADDRESS = eINSTANCE.getPhysical_Person_Owns_Address(); - /** * The meta object literal for the '{@link Taxation.impl.AddressImpl Address}' class. * @@ -9578,30 +9360,6 @@ public interface TaxationPackage extends EPackage { */ EReference INCOME__INCOME_TYPE = eINSTANCE.getIncome_Income_type(); - /** - * The meta object literal for the 'Start date within taxation year' attribute feature. - * - * - * @generated - */ - EAttribute INCOME__START_DATE_WITHIN_TAXATION_YEAR = eINSTANCE.getIncome_Start_date_within_taxation_year(); - - /** - * The meta object literal for the 'Start date of contract' attribute feature. - * - * - * @generated - */ - EAttribute INCOME__START_DATE_OF_CONTRACT = eINSTANCE.getIncome_Start_date_of_contract(); - - /** - * The meta object literal for the 'End date within taxation year' attribute feature. - * - * - * @generated - */ - EAttribute INCOME__END_DATE_WITHIN_TAXATION_YEAR = eINSTANCE.getIncome_End_date_within_taxation_year(); - /** * The meta object literal for the 'Tax card' containment reference feature. * @@ -9718,22 +9476,6 @@ public interface TaxationPackage extends EPackage { */ EAttribute TAX_CARD__TAX_OFFICE = eINSTANCE.getTax_Card_Tax_office(); - /** - * The meta object literal for the 'Valid from date' attribute feature. - * - * - * @generated - */ - EAttribute TAX_CARD__VALID_FROM_DATE = eINSTANCE.getTax_Card_Valid_from_date(); - - /** - * The meta object literal for the 'Valid until date' attribute feature. - * - * - * @generated - */ - EAttribute TAX_CARD__VALID_UNTIL_DATE = eINSTANCE.getTax_Card_Valid_until_date(); - /** * The meta object literal for the 'Percentage of witholding' attribute feature. * diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/impl/DependentImpl.java b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/impl/DependentImpl.java index 0732ae44..a1b50304 100644 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/impl/DependentImpl.java +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/impl/DependentImpl.java @@ -22,6 +22,7 @@ import org.eclipse.emf.ecore.EClass; import org.eclipse.emf.ecore.InternalEObject; import org.eclipse.emf.ecore.impl.ENotificationImpl; + import org.eclipse.emf.ecore.util.EObjectWithInverseResolvingEList; import org.eclipse.emf.ecore.util.EcoreUtil; import org.eclipse.emf.ecore.util.InternalEList; diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/impl/ExpenseImpl.java b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/impl/ExpenseImpl.java index 70dfc53e..6acf1429 100644 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/impl/ExpenseImpl.java +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/impl/ExpenseImpl.java @@ -9,6 +9,7 @@ import Taxation.FromAgent; import Taxation.Income; import Taxation.Physical_Person; import Taxation.TaxationPackage; + import org.eclipse.emf.common.notify.Notification; import org.eclipse.emf.common.notify.NotificationChain; diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/impl/External_AllowanceImpl.java b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/impl/External_AllowanceImpl.java index 0d0119a5..d73a0014 100644 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/impl/External_AllowanceImpl.java +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/impl/External_AllowanceImpl.java @@ -7,6 +7,7 @@ import Taxation.External_Allowance; import Taxation.Grantor; import Taxation.Physical_Person; import Taxation.TaxationPackage; + import org.eclipse.emf.common.notify.Notification; import org.eclipse.emf.common.notify.NotificationChain; diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/impl/FromAgentImpl.java b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/impl/FromAgentImpl.java index 930a23de..9b7b38bb 100644 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/impl/FromAgentImpl.java +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/impl/FromAgentImpl.java @@ -7,6 +7,7 @@ import Taxation.Expense; import Taxation.FromAgent; import Taxation.Tax_Payer; import Taxation.TaxationPackage; + import org.eclipse.emf.common.notify.Notification; import org.eclipse.emf.common.notify.NotificationChain; diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/impl/IncomeImpl.java b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/impl/IncomeImpl.java index 233d467c..f4793894 100644 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/impl/IncomeImpl.java +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/impl/IncomeImpl.java @@ -9,8 +9,8 @@ import Taxation.Income_Type; import Taxation.Tax_Card; import Taxation.Tax_Payer; import Taxation.TaxationPackage; + import java.util.Collection; -import java.util.Date; import org.eclipse.emf.common.notify.Notification; import org.eclipse.emf.common.notify.NotificationChain; @@ -37,9 +37,6 @@ import org.eclipse.emf.ecore.util.InternalEList; *
      *
    • {@link Taxation.impl.IncomeImpl#getIncome_amount Income amount}
    • *
    • {@link Taxation.impl.IncomeImpl#getIncome_type Income type}
    • - *
    • {@link Taxation.impl.IncomeImpl#getStart_date_within_taxation_year Start date within taxation year}
    • - *
    • {@link Taxation.impl.IncomeImpl#getStart_date_of_contract Start date of contract}
    • - *
    • {@link Taxation.impl.IncomeImpl#getEnd_date_within_taxation_year End date within taxation year}
    • *
    • {@link Taxation.impl.IncomeImpl#getTax_card Tax card}
    • *
    • {@link Taxation.impl.IncomeImpl#getTax_liability Tax liability}
    • *
    • {@link Taxation.impl.IncomeImpl#getTaxPayer Tax Payer}
    • @@ -81,66 +78,6 @@ public abstract class IncomeImpl extends MinimalEObjectImpl.Container implements */ protected Income_Type income_type; - /** - * The default value of the '{@link #getStart_date_within_taxation_year() Start date within taxation year}' attribute. - * - * - * @see #getStart_date_within_taxation_year() - * @generated - * @ordered - */ - protected static final Date START_DATE_WITHIN_TAXATION_YEAR_EDEFAULT = null; - - /** - * The cached value of the '{@link #getStart_date_within_taxation_year() Start date within taxation year}' attribute. - * - * - * @see #getStart_date_within_taxation_year() - * @generated - * @ordered - */ - protected Date start_date_within_taxation_year = START_DATE_WITHIN_TAXATION_YEAR_EDEFAULT; - - /** - * The default value of the '{@link #getStart_date_of_contract() Start date of contract}' attribute. - * - * - * @see #getStart_date_of_contract() - * @generated - * @ordered - */ - protected static final Date START_DATE_OF_CONTRACT_EDEFAULT = null; - - /** - * The cached value of the '{@link #getStart_date_of_contract() Start date of contract}' attribute. - * - * - * @see #getStart_date_of_contract() - * @generated - * @ordered - */ - protected Date start_date_of_contract = START_DATE_OF_CONTRACT_EDEFAULT; - - /** - * The default value of the '{@link #getEnd_date_within_taxation_year() End date within taxation year}' attribute. - * - * - * @see #getEnd_date_within_taxation_year() - * @generated - * @ordered - */ - protected static final Date END_DATE_WITHIN_TAXATION_YEAR_EDEFAULT = null; - - /** - * The cached value of the '{@link #getEnd_date_within_taxation_year() End date within taxation year}' attribute. - * - * - * @see #getEnd_date_within_taxation_year() - * @generated - * @ordered - */ - protected Date end_date_within_taxation_year = END_DATE_WITHIN_TAXATION_YEAR_EDEFAULT; - /** * The cached value of the '{@link #getTax_card() Tax card}' containment reference. * @@ -298,75 +235,6 @@ public abstract class IncomeImpl extends MinimalEObjectImpl.Container implements eNotify(new ENotificationImpl(this, Notification.SET, TaxationPackage.INCOME__INCOME_TYPE, newIncome_type, newIncome_type)); } - /** - * - * - * @generated - */ - @Override - public Date getStart_date_within_taxation_year() { - return start_date_within_taxation_year; - } - - /** - * - * - * @generated - */ - @Override - public void setStart_date_within_taxation_year(Date newStart_date_within_taxation_year) { - Date oldStart_date_within_taxation_year = start_date_within_taxation_year; - start_date_within_taxation_year = newStart_date_within_taxation_year; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, TaxationPackage.INCOME__START_DATE_WITHIN_TAXATION_YEAR, oldStart_date_within_taxation_year, start_date_within_taxation_year)); - } - - /** - * - * - * @generated - */ - @Override - public Date getStart_date_of_contract() { - return start_date_of_contract; - } - - /** - * - * - * @generated - */ - @Override - public void setStart_date_of_contract(Date newStart_date_of_contract) { - Date oldStart_date_of_contract = start_date_of_contract; - start_date_of_contract = newStart_date_of_contract; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, TaxationPackage.INCOME__START_DATE_OF_CONTRACT, oldStart_date_of_contract, start_date_of_contract)); - } - - /** - * - * - * @generated - */ - @Override - public Date getEnd_date_within_taxation_year() { - return end_date_within_taxation_year; - } - - /** - * - * - * @generated - */ - @Override - public void setEnd_date_within_taxation_year(Date newEnd_date_within_taxation_year) { - Date oldEnd_date_within_taxation_year = end_date_within_taxation_year; - end_date_within_taxation_year = newEnd_date_within_taxation_year; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, TaxationPackage.INCOME__END_DATE_WITHIN_TAXATION_YEAR, oldEnd_date_within_taxation_year, end_date_within_taxation_year)); - } - /** * * @@ -604,12 +472,6 @@ public abstract class IncomeImpl extends MinimalEObjectImpl.Container implements return getIncome_amount(); case TaxationPackage.INCOME__INCOME_TYPE: return getIncome_type(); - case TaxationPackage.INCOME__START_DATE_WITHIN_TAXATION_YEAR: - return getStart_date_within_taxation_year(); - case TaxationPackage.INCOME__START_DATE_OF_CONTRACT: - return getStart_date_of_contract(); - case TaxationPackage.INCOME__END_DATE_WITHIN_TAXATION_YEAR: - return getEnd_date_within_taxation_year(); case TaxationPackage.INCOME__TAX_CARD: return getTax_card(); case TaxationPackage.INCOME__TAX_LIABILITY: @@ -641,15 +503,6 @@ public abstract class IncomeImpl extends MinimalEObjectImpl.Container implements case TaxationPackage.INCOME__INCOME_TYPE: setIncome_type((Income_Type)newValue); return; - case TaxationPackage.INCOME__START_DATE_WITHIN_TAXATION_YEAR: - setStart_date_within_taxation_year((Date)newValue); - return; - case TaxationPackage.INCOME__START_DATE_OF_CONTRACT: - setStart_date_of_contract((Date)newValue); - return; - case TaxationPackage.INCOME__END_DATE_WITHIN_TAXATION_YEAR: - setEnd_date_within_taxation_year((Date)newValue); - return; case TaxationPackage.INCOME__TAX_CARD: setTax_card((Tax_Card)newValue); return; @@ -688,15 +541,6 @@ public abstract class IncomeImpl extends MinimalEObjectImpl.Container implements case TaxationPackage.INCOME__INCOME_TYPE: setIncome_type((Income_Type)null); return; - case TaxationPackage.INCOME__START_DATE_WITHIN_TAXATION_YEAR: - setStart_date_within_taxation_year(START_DATE_WITHIN_TAXATION_YEAR_EDEFAULT); - return; - case TaxationPackage.INCOME__START_DATE_OF_CONTRACT: - setStart_date_of_contract(START_DATE_OF_CONTRACT_EDEFAULT); - return; - case TaxationPackage.INCOME__END_DATE_WITHIN_TAXATION_YEAR: - setEnd_date_within_taxation_year(END_DATE_WITHIN_TAXATION_YEAR_EDEFAULT); - return; case TaxationPackage.INCOME__TAX_CARD: setTax_card((Tax_Card)null); return; @@ -731,12 +575,6 @@ public abstract class IncomeImpl extends MinimalEObjectImpl.Container implements return income_amount != INCOME_AMOUNT_EDEFAULT; case TaxationPackage.INCOME__INCOME_TYPE: return income_type != null; - case TaxationPackage.INCOME__START_DATE_WITHIN_TAXATION_YEAR: - return START_DATE_WITHIN_TAXATION_YEAR_EDEFAULT == null ? start_date_within_taxation_year != null : !START_DATE_WITHIN_TAXATION_YEAR_EDEFAULT.equals(start_date_within_taxation_year); - case TaxationPackage.INCOME__START_DATE_OF_CONTRACT: - return START_DATE_OF_CONTRACT_EDEFAULT == null ? start_date_of_contract != null : !START_DATE_OF_CONTRACT_EDEFAULT.equals(start_date_of_contract); - case TaxationPackage.INCOME__END_DATE_WITHIN_TAXATION_YEAR: - return END_DATE_WITHIN_TAXATION_YEAR_EDEFAULT == null ? end_date_within_taxation_year != null : !END_DATE_WITHIN_TAXATION_YEAR_EDEFAULT.equals(end_date_within_taxation_year); case TaxationPackage.INCOME__TAX_CARD: return tax_card != null; case TaxationPackage.INCOME__TAX_LIABILITY: @@ -765,12 +603,6 @@ public abstract class IncomeImpl extends MinimalEObjectImpl.Container implements StringBuilder result = new StringBuilder(super.toString()); result.append(" (income_amount: "); result.append(income_amount); - result.append(", start_date_within_taxation_year: "); - result.append(start_date_within_taxation_year); - result.append(", start_date_of_contract: "); - result.append(start_date_of_contract); - result.append(", end_date_within_taxation_year: "); - result.append(end_date_within_taxation_year); result.append(", tax_liability: "); result.append(tax_liability); result.append(", num: "); diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/impl/Income_DetailImpl.java b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/impl/Income_DetailImpl.java index ff882fd5..d3b7fe83 100644 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/impl/Income_DetailImpl.java +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/impl/Income_DetailImpl.java @@ -5,6 +5,7 @@ package Taxation.impl; import Taxation.Income; import Taxation.Income_Detail; import Taxation.TaxationPackage; + import org.eclipse.emf.common.notify.Notification; import org.eclipse.emf.common.notify.NotificationChain; diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/impl/Income_TaxImpl.java b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/impl/Income_TaxImpl.java index 3083b3fa..69b14ade 100644 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/impl/Income_TaxImpl.java +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/impl/Income_TaxImpl.java @@ -5,6 +5,7 @@ package Taxation.impl; import Taxation.Income_Tax; import Taxation.Tax_Payer; import Taxation.TaxationPackage; + import org.eclipse.emf.common.notify.Notification; import org.eclipse.emf.ecore.EClass; diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/impl/Income_Tax_CreditImpl.java b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/impl/Income_Tax_CreditImpl.java index 0dbd6e21..5a6f0a68 100644 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/impl/Income_Tax_CreditImpl.java +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/impl/Income_Tax_CreditImpl.java @@ -7,6 +7,7 @@ import Taxation.Income_Tax_Credit; import Taxation.Tax_Card; import Taxation.Tax_Payer; import Taxation.TaxationPackage; + import org.eclipse.emf.common.notify.Notification; import org.eclipse.emf.common.notify.NotificationChain; diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/impl/Legal_Union_RecordImpl.java b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/impl/Legal_Union_RecordImpl.java index 1ab3bf53..8853657a 100644 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/impl/Legal_Union_RecordImpl.java +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/impl/Legal_Union_RecordImpl.java @@ -8,6 +8,7 @@ import Taxation.Physical_Person; import Taxation.Separation_Causes; import Taxation.Tax_Property; import Taxation.TaxationPackage; + import java.util.Collection; import org.eclipse.emf.common.notify.Notification; diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/impl/Physical_PersonImpl.java b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/impl/Physical_PersonImpl.java index a63a993e..13e12888 100644 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/impl/Physical_PersonImpl.java +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/impl/Physical_PersonImpl.java @@ -7,6 +7,7 @@ import Taxation.Disability_Types; import Taxation.Expense; import Taxation.Physical_Person; import Taxation.TaxationPackage; + import java.util.Collection; import org.eclipse.emf.common.notify.Notification; @@ -20,7 +21,6 @@ import org.eclipse.emf.ecore.InternalEObject; import org.eclipse.emf.ecore.impl.ENotificationImpl; import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; -import org.eclipse.emf.ecore.util.EObjectContainmentEList; import org.eclipse.emf.ecore.util.EObjectWithInverseResolvingEList; import org.eclipse.emf.ecore.util.InternalEList; @@ -43,7 +43,6 @@ import org.eclipse.emf.ecore.util.InternalEList; *
    • {@link Taxation.impl.Physical_PersonImpl#getBirth_day Birth day}
    • *
    • {@link Taxation.impl.Physical_PersonImpl#getExpenses Expenses}
    • *
    • {@link Taxation.impl.Physical_PersonImpl#isIs_widower Is widower}
    • - *
    • {@link Taxation.impl.Physical_PersonImpl#getOwns_Address Owns Address}
    • *
    * * @generated @@ -249,16 +248,6 @@ public class Physical_PersonImpl extends MinimalEObjectImpl.Container implements */ protected boolean is_widower = IS_WIDOWER_EDEFAULT; - /** - * The cached value of the '{@link #getOwns_Address() Owns Address}' containment reference list. - * - * - * @see #getOwns_Address() - * @generated - * @ordered - */ - protected EList
    owns_Address; - /** * * @@ -511,19 +500,6 @@ public class Physical_PersonImpl extends MinimalEObjectImpl.Container implements eNotify(new ENotificationImpl(this, Notification.SET, TaxationPackage.PHYSICAL_PERSON__IS_WIDOWER, oldIs_widower, is_widower)); } - /** - * - * - * @generated - */ - @Override - public EList
    getOwns_Address() { - if (owns_Address == null) { - owns_Address = new EObjectContainmentEList
    (Address.class, this, TaxationPackage.PHYSICAL_PERSON__OWNS_ADDRESS); - } - return owns_Address; - } - /** * * @@ -553,8 +529,6 @@ public class Physical_PersonImpl extends MinimalEObjectImpl.Container implements return ((InternalEList)getAddresses()).basicRemove(otherEnd, msgs); case TaxationPackage.PHYSICAL_PERSON__EXPENSES: return ((InternalEList)getExpenses()).basicRemove(otherEnd, msgs); - case TaxationPackage.PHYSICAL_PERSON__OWNS_ADDRESS: - return ((InternalEList)getOwns_Address()).basicRemove(otherEnd, msgs); } return super.eInverseRemove(otherEnd, featureID, msgs); } @@ -589,8 +563,6 @@ public class Physical_PersonImpl extends MinimalEObjectImpl.Container implements return getExpenses(); case TaxationPackage.PHYSICAL_PERSON__IS_WIDOWER: return isIs_widower(); - case TaxationPackage.PHYSICAL_PERSON__OWNS_ADDRESS: - return getOwns_Address(); } return super.eGet(featureID, resolve, coreType); } @@ -639,10 +611,6 @@ public class Physical_PersonImpl extends MinimalEObjectImpl.Container implements case TaxationPackage.PHYSICAL_PERSON__IS_WIDOWER: setIs_widower((Boolean)newValue); return; - case TaxationPackage.PHYSICAL_PERSON__OWNS_ADDRESS: - getOwns_Address().clear(); - getOwns_Address().addAll((Collection)newValue); - return; } super.eSet(featureID, newValue); } @@ -688,9 +656,6 @@ public class Physical_PersonImpl extends MinimalEObjectImpl.Container implements case TaxationPackage.PHYSICAL_PERSON__IS_WIDOWER: setIs_widower(IS_WIDOWER_EDEFAULT); return; - case TaxationPackage.PHYSICAL_PERSON__OWNS_ADDRESS: - getOwns_Address().clear(); - return; } super.eUnset(featureID); } @@ -725,8 +690,6 @@ public class Physical_PersonImpl extends MinimalEObjectImpl.Container implements return expenses != null && !expenses.isEmpty(); case TaxationPackage.PHYSICAL_PERSON__IS_WIDOWER: return is_widower != IS_WIDOWER_EDEFAULT; - case TaxationPackage.PHYSICAL_PERSON__OWNS_ADDRESS: - return owns_Address != null && !owns_Address.isEmpty(); } return super.eIsSet(featureID); } diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/impl/Private_Insurance_and_PlanImpl.java b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/impl/Private_Insurance_and_PlanImpl.java index dfe39a95..2b1cd545 100644 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/impl/Private_Insurance_and_PlanImpl.java +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/impl/Private_Insurance_and_PlanImpl.java @@ -5,6 +5,7 @@ package Taxation.impl; import Taxation.Category_of_Private_Insurance_and_Plan; import Taxation.Private_Insurance_and_Plan; import Taxation.TaxationPackage; + import org.eclipse.emf.common.notify.Notification; import org.eclipse.emf.ecore.EClass; diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/impl/Resident_Tax_PayerImpl.java b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/impl/Resident_Tax_PayerImpl.java index 34a1f15c..4ae64706 100644 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/impl/Resident_Tax_PayerImpl.java +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/impl/Resident_Tax_PayerImpl.java @@ -4,6 +4,7 @@ package Taxation.impl; import Taxation.Resident_Tax_Payer; import Taxation.TaxationPackage; + import org.eclipse.emf.ecore.EClass; /** diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/impl/Tax_CardImpl.java b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/impl/Tax_CardImpl.java index 68f4f7f9..ebff8555 100644 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/impl/Tax_CardImpl.java +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/impl/Tax_CardImpl.java @@ -13,7 +13,6 @@ import Taxation.TaxationPackage; import Taxation.Town; import java.util.Collection; -import java.util.Date; import org.eclipse.emf.common.notify.Notification; import org.eclipse.emf.common.notify.NotificationChain; @@ -42,8 +41,6 @@ import org.eclipse.emf.ecore.util.InternalEList; *
  • {@link Taxation.impl.Tax_CardImpl#getCard_identifier Card identifier}
  • *
  • {@link Taxation.impl.Tax_CardImpl#getTax_card_type Tax card type}
  • *
  • {@link Taxation.impl.Tax_CardImpl#getTax_office Tax office}
  • - *
  • {@link Taxation.impl.Tax_CardImpl#getValid_from_date Valid from date}
  • - *
  • {@link Taxation.impl.Tax_CardImpl#getValid_until_date Valid until date}
  • *
  • {@link Taxation.impl.Tax_CardImpl#getPercentage_of_witholding Percentage of witholding}
  • *
  • {@link Taxation.impl.Tax_CardImpl#getTax_payers_name_surname Tax payers name surname}
  • *
  • {@link Taxation.impl.Tax_CardImpl#getTax_payers_partner_name_surname Tax payers partner name surname}
  • @@ -141,46 +138,6 @@ public class Tax_CardImpl extends MinimalEObjectImpl.Container implements Tax_Ca */ protected Tax_Office tax_office = TAX_OFFICE_EDEFAULT; - /** - * The default value of the '{@link #getValid_from_date() Valid from date}' attribute. - * - * - * @see #getValid_from_date() - * @generated - * @ordered - */ - protected static final Date VALID_FROM_DATE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getValid_from_date() Valid from date}' attribute. - * - * - * @see #getValid_from_date() - * @generated - * @ordered - */ - protected Date valid_from_date = VALID_FROM_DATE_EDEFAULT; - - /** - * The default value of the '{@link #getValid_until_date() Valid until date}' attribute. - * - * - * @see #getValid_until_date() - * @generated - * @ordered - */ - protected static final Date VALID_UNTIL_DATE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getValid_until_date() Valid until date}' attribute. - * - * - * @see #getValid_until_date() - * @generated - * @ordered - */ - protected Date valid_until_date = VALID_UNTIL_DATE_EDEFAULT; - /** * The default value of the '{@link #getPercentage_of_witholding() Percentage of witholding}' attribute. * @@ -829,52 +786,6 @@ public class Tax_CardImpl extends MinimalEObjectImpl.Container implements Tax_Ca eNotify(new ENotificationImpl(this, Notification.SET, TaxationPackage.TAX_CARD__TAX_OFFICE, oldTax_office, tax_office)); } - /** - * - * - * @generated - */ - @Override - public Date getValid_from_date() { - return valid_from_date; - } - - /** - * - * - * @generated - */ - @Override - public void setValid_from_date(Date newValid_from_date) { - Date oldValid_from_date = valid_from_date; - valid_from_date = newValid_from_date; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, TaxationPackage.TAX_CARD__VALID_FROM_DATE, oldValid_from_date, valid_from_date)); - } - - /** - * - * - * @generated - */ - @Override - public Date getValid_until_date() { - return valid_until_date; - } - - /** - * - * - * @generated - */ - @Override - public void setValid_until_date(Date newValid_until_date) { - Date oldValid_until_date = valid_until_date; - valid_until_date = newValid_until_date; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, TaxationPackage.TAX_CARD__VALID_UNTIL_DATE, oldValid_until_date, valid_until_date)); - } - /** * * @@ -1771,10 +1682,6 @@ public class Tax_CardImpl extends MinimalEObjectImpl.Container implements Tax_Ca return getTax_card_type(); case TaxationPackage.TAX_CARD__TAX_OFFICE: return getTax_office(); - case TaxationPackage.TAX_CARD__VALID_FROM_DATE: - return getValid_from_date(); - case TaxationPackage.TAX_CARD__VALID_UNTIL_DATE: - return getValid_until_date(); case TaxationPackage.TAX_CARD__PERCENTAGE_OF_WITHOLDING: return getPercentage_of_witholding(); case TaxationPackage.TAX_CARD__TAX_PAYERS_NAME_SURNAME: @@ -1864,12 +1771,6 @@ public class Tax_CardImpl extends MinimalEObjectImpl.Container implements Tax_Ca case TaxationPackage.TAX_CARD__TAX_OFFICE: setTax_office((Tax_Office)newValue); return; - case TaxationPackage.TAX_CARD__VALID_FROM_DATE: - setValid_from_date((Date)newValue); - return; - case TaxationPackage.TAX_CARD__VALID_UNTIL_DATE: - setValid_until_date((Date)newValue); - return; case TaxationPackage.TAX_CARD__PERCENTAGE_OF_WITHOLDING: setPercentage_of_witholding((Double)newValue); return; @@ -1990,12 +1891,6 @@ public class Tax_CardImpl extends MinimalEObjectImpl.Container implements Tax_Ca case TaxationPackage.TAX_CARD__TAX_OFFICE: setTax_office(TAX_OFFICE_EDEFAULT); return; - case TaxationPackage.TAX_CARD__VALID_FROM_DATE: - setValid_from_date(VALID_FROM_DATE_EDEFAULT); - return; - case TaxationPackage.TAX_CARD__VALID_UNTIL_DATE: - setValid_until_date(VALID_UNTIL_DATE_EDEFAULT); - return; case TaxationPackage.TAX_CARD__PERCENTAGE_OF_WITHOLDING: setPercentage_of_witholding(PERCENTAGE_OF_WITHOLDING_EDEFAULT); return; @@ -2110,10 +2005,6 @@ public class Tax_CardImpl extends MinimalEObjectImpl.Container implements Tax_Ca return tax_card_type != TAX_CARD_TYPE_EDEFAULT; case TaxationPackage.TAX_CARD__TAX_OFFICE: return tax_office != TAX_OFFICE_EDEFAULT; - case TaxationPackage.TAX_CARD__VALID_FROM_DATE: - return VALID_FROM_DATE_EDEFAULT == null ? valid_from_date != null : !VALID_FROM_DATE_EDEFAULT.equals(valid_from_date); - case TaxationPackage.TAX_CARD__VALID_UNTIL_DATE: - return VALID_UNTIL_DATE_EDEFAULT == null ? valid_until_date != null : !VALID_UNTIL_DATE_EDEFAULT.equals(valid_until_date); case TaxationPackage.TAX_CARD__PERCENTAGE_OF_WITHOLDING: return percentage_of_witholding != PERCENTAGE_OF_WITHOLDING_EDEFAULT; case TaxationPackage.TAX_CARD__TAX_PAYERS_NAME_SURNAME: @@ -2198,10 +2089,6 @@ public class Tax_CardImpl extends MinimalEObjectImpl.Container implements Tax_Ca result.append(tax_card_type); result.append(", tax_office: "); result.append(tax_office); - result.append(", valid_from_date: "); - result.append(valid_from_date); - result.append(", valid_until_date: "); - result.append(valid_until_date); result.append(", percentage_of_witholding: "); result.append(percentage_of_witholding); result.append(", tax_payers_name_surname: "); diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/impl/Tax_PropertyImpl.java b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/impl/Tax_PropertyImpl.java index e1ed46e4..b8bb6ef3 100644 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/impl/Tax_PropertyImpl.java +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/impl/Tax_PropertyImpl.java @@ -5,6 +5,7 @@ package Taxation.impl; import Taxation.Legal_Union_Record; import Taxation.Tax_Property; import Taxation.TaxationPackage; + import org.eclipse.emf.common.notify.Notification; import org.eclipse.emf.common.notify.NotificationChain; diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/impl/Taxation.ecore b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/impl/Taxation.ecore deleted file mode 100644 index 7834561d..00000000 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/impl/Taxation.ecore +++ /dev/null @@ -1,1257 +0,0 @@ - - - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - - - - -
    - - - - - -
    - - - - - -
    - - - - - -
    - - - - - -
    - - - - - - - - - - - - - - - - - -
    - - - - - - -
    - - - - - -
    - - - - - -
    - - - - - -
    - - - - - -
    - - - - - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - - - - - - - -
    - - - - - - - - - - - - - - - - - - - - - - -
    - - - - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - - - - -
    - - - - -
    - - - - -
    - - - - -
    - - - - -
    - - - - -
    - - - - -
    - - - - - - - - - - - - - - - - - - -
    - - - - - - - - -
    - - - - -
    - - - - - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - - - - -
    - - - - -
    - - - - -
    - - - - -
    - - - - -
    - - - - -
    - - - - -
    - - - - -
    - - - - -
    - - - - -
    - - - - -
    - - - - -
    - - - - -
    - - - - -
    - - - - - -
    - - - - - -
    - - - - - -
    - - - - - -
    - - - - - -
    - - - - - -
    - - - - - -
    - - - - - -
    - - - - - -
    - - - - - -
    - - - - - -
    - - - - - -
    - - - - - -
    - - - - - -
    - - - - - -
    - - - - - -
    - - - - - -
    - - - - - -
    - - - - - - - -
    - - - - - -
    - - - - - -
    - - - - - -
    - - - - - -
    - - - - - -
    - - - - - -
    - - - - - -
    - - - - - -
    - - - - - -
    - - - - - -
    - - - - - -
    - - - - - -
    - - - - - -
    - - - - - -
    - - - - - - - -
    - - - - -
    - - - - -
    - - - - - -
    - - - - - -
    - - - - - - -
    - - - - -
    - - - - -
    - - - - - - -
    - - - - -
    - - - - - - - - - - - - - - - - - - - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/impl/TaxationPackageImpl.java b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/impl/TaxationPackageImpl.java index 61f42b3e..a174a065 100644 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/impl/TaxationPackageImpl.java +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/impl/TaxationPackageImpl.java @@ -73,6 +73,7 @@ import Taxation.Town; import Taxation.Trade_and_Business_Income; import Taxation.Travel_Expense_FD; import Taxation.Type_of_Rate; + import org.eclipse.emf.ecore.EAttribute; import org.eclipse.emf.ecore.EClass; import org.eclipse.emf.ecore.EEnum; @@ -1164,16 +1165,6 @@ public class TaxationPackageImpl extends EPackageImpl implements TaxationPackage return (EAttribute)physical_PersonEClass.getEStructuralFeatures().get(10); } - /** - * - * - * @generated - */ - @Override - public EReference getPhysical_Person_Owns_Address() { - return (EReference)physical_PersonEClass.getEStructuralFeatures().get(11); - } - /** * * @@ -1764,36 +1755,6 @@ public class TaxationPackageImpl extends EPackageImpl implements TaxationPackage return (EReference)incomeEClass.getEStructuralFeatures().get(1); } - /** - * - * - * @generated - */ - @Override - public EAttribute getIncome_Start_date_within_taxation_year() { - return (EAttribute)incomeEClass.getEStructuralFeatures().get(2); - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getIncome_Start_date_of_contract() { - return (EAttribute)incomeEClass.getEStructuralFeatures().get(3); - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getIncome_End_date_within_taxation_year() { - return (EAttribute)incomeEClass.getEStructuralFeatures().get(4); - } - /** * * @@ -1801,7 +1762,7 @@ public class TaxationPackageImpl extends EPackageImpl implements TaxationPackage */ @Override public EReference getIncome_Tax_card() { - return (EReference)incomeEClass.getEStructuralFeatures().get(5); + return (EReference)incomeEClass.getEStructuralFeatures().get(2); } /** @@ -1811,7 +1772,7 @@ public class TaxationPackageImpl extends EPackageImpl implements TaxationPackage */ @Override public EAttribute getIncome_Tax_liability() { - return (EAttribute)incomeEClass.getEStructuralFeatures().get(6); + return (EAttribute)incomeEClass.getEStructuralFeatures().get(3); } /** @@ -1821,7 +1782,7 @@ public class TaxationPackageImpl extends EPackageImpl implements TaxationPackage */ @Override public EReference getIncome_TaxPayer() { - return (EReference)incomeEClass.getEStructuralFeatures().get(7); + return (EReference)incomeEClass.getEStructuralFeatures().get(4); } /** @@ -1831,7 +1792,7 @@ public class TaxationPackageImpl extends EPackageImpl implements TaxationPackage */ @Override public EReference getIncome_Details() { - return (EReference)incomeEClass.getEStructuralFeatures().get(8); + return (EReference)incomeEClass.getEStructuralFeatures().get(5); } /** @@ -1841,7 +1802,7 @@ public class TaxationPackageImpl extends EPackageImpl implements TaxationPackage */ @Override public EAttribute getIncome_Num() { - return (EAttribute)incomeEClass.getEStructuralFeatures().get(9); + return (EAttribute)incomeEClass.getEStructuralFeatures().get(6); } /** @@ -1851,7 +1812,7 @@ public class TaxationPackageImpl extends EPackageImpl implements TaxationPackage */ @Override public EReference getIncome_Expenses() { - return (EReference)incomeEClass.getEStructuralFeatures().get(10); + return (EReference)incomeEClass.getEStructuralFeatures().get(7); } /** @@ -1934,26 +1895,6 @@ public class TaxationPackageImpl extends EPackageImpl implements TaxationPackage return (EAttribute)tax_CardEClass.getEStructuralFeatures().get(2); } - /** - * - * - * @generated - */ - @Override - public EAttribute getTax_Card_Valid_from_date() { - return (EAttribute)tax_CardEClass.getEStructuralFeatures().get(3); - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getTax_Card_Valid_until_date() { - return (EAttribute)tax_CardEClass.getEStructuralFeatures().get(4); - } - /** * * @@ -1961,7 +1902,7 @@ public class TaxationPackageImpl extends EPackageImpl implements TaxationPackage */ @Override public EAttribute getTax_Card_Percentage_of_witholding() { - return (EAttribute)tax_CardEClass.getEStructuralFeatures().get(5); + return (EAttribute)tax_CardEClass.getEStructuralFeatures().get(3); } /** @@ -1971,7 +1912,7 @@ public class TaxationPackageImpl extends EPackageImpl implements TaxationPackage */ @Override public EAttribute getTax_Card_Tax_payers_name_surname() { - return (EAttribute)tax_CardEClass.getEStructuralFeatures().get(6); + return (EAttribute)tax_CardEClass.getEStructuralFeatures().get(4); } /** @@ -1981,7 +1922,7 @@ public class TaxationPackageImpl extends EPackageImpl implements TaxationPackage */ @Override public EAttribute getTax_Card_Tax_payers_partner_name_surname() { - return (EAttribute)tax_CardEClass.getEStructuralFeatures().get(7); + return (EAttribute)tax_CardEClass.getEStructuralFeatures().get(5); } /** @@ -1991,7 +1932,7 @@ public class TaxationPackageImpl extends EPackageImpl implements TaxationPackage */ @Override public EReference getTax_Card_Tax_payers_address() { - return (EReference)tax_CardEClass.getEStructuralFeatures().get(8); + return (EReference)tax_CardEClass.getEStructuralFeatures().get(6); } /** @@ -2001,7 +1942,7 @@ public class TaxationPackageImpl extends EPackageImpl implements TaxationPackage */ @Override public EAttribute getTax_Card_Jobs_Employer_SSNo() { - return (EAttribute)tax_CardEClass.getEStructuralFeatures().get(9); + return (EAttribute)tax_CardEClass.getEStructuralFeatures().get(7); } /** @@ -2011,7 +1952,7 @@ public class TaxationPackageImpl extends EPackageImpl implements TaxationPackage */ @Override public EAttribute getTax_Card_Jobs_employers_name() { - return (EAttribute)tax_CardEClass.getEStructuralFeatures().get(10); + return (EAttribute)tax_CardEClass.getEStructuralFeatures().get(8); } /** @@ -2021,7 +1962,7 @@ public class TaxationPackageImpl extends EPackageImpl implements TaxationPackage */ @Override public EAttribute getTax_Card_Jobs_activity_type() { - return (EAttribute)tax_CardEClass.getEStructuralFeatures().get(11); + return (EAttribute)tax_CardEClass.getEStructuralFeatures().get(9); } /** @@ -2031,7 +1972,7 @@ public class TaxationPackageImpl extends EPackageImpl implements TaxationPackage */ @Override public EAttribute getTax_Card_Jobs_place_of_work() { - return (EAttribute)tax_CardEClass.getEStructuralFeatures().get(12); + return (EAttribute)tax_CardEClass.getEStructuralFeatures().get(10); } /** @@ -2041,7 +1982,7 @@ public class TaxationPackageImpl extends EPackageImpl implements TaxationPackage */ @Override public EAttribute getTax_Card_Deduction_FD_daily() { - return (EAttribute)tax_CardEClass.getEStructuralFeatures().get(13); + return (EAttribute)tax_CardEClass.getEStructuralFeatures().get(11); } /** @@ -2051,7 +1992,7 @@ public class TaxationPackageImpl extends EPackageImpl implements TaxationPackage */ @Override public EAttribute getTax_Card_Deduction_FD_monthly() { - return (EAttribute)tax_CardEClass.getEStructuralFeatures().get(14); + return (EAttribute)tax_CardEClass.getEStructuralFeatures().get(12); } /** @@ -2061,7 +2002,7 @@ public class TaxationPackageImpl extends EPackageImpl implements TaxationPackage */ @Override public EAttribute getTax_Card_Deduction_AC_daily() { - return (EAttribute)tax_CardEClass.getEStructuralFeatures().get(15); + return (EAttribute)tax_CardEClass.getEStructuralFeatures().get(13); } /** @@ -2071,7 +2012,7 @@ public class TaxationPackageImpl extends EPackageImpl implements TaxationPackage */ @Override public EAttribute getTax_Card_Deduction_AC_monthly() { - return (EAttribute)tax_CardEClass.getEStructuralFeatures().get(16); + return (EAttribute)tax_CardEClass.getEStructuralFeatures().get(14); } /** @@ -2081,7 +2022,7 @@ public class TaxationPackageImpl extends EPackageImpl implements TaxationPackage */ @Override public EAttribute getTax_Card_Deduction_AC_yearly() { - return (EAttribute)tax_CardEClass.getEStructuralFeatures().get(17); + return (EAttribute)tax_CardEClass.getEStructuralFeatures().get(15); } /** @@ -2091,7 +2032,7 @@ public class TaxationPackageImpl extends EPackageImpl implements TaxationPackage */ @Override public EAttribute getTax_Card_Deduction_CE_daily() { - return (EAttribute)tax_CardEClass.getEStructuralFeatures().get(18); + return (EAttribute)tax_CardEClass.getEStructuralFeatures().get(16); } /** @@ -2101,7 +2042,7 @@ public class TaxationPackageImpl extends EPackageImpl implements TaxationPackage */ @Override public EAttribute getTax_Card_Deduction_CE_monthly() { - return (EAttribute)tax_CardEClass.getEStructuralFeatures().get(19); + return (EAttribute)tax_CardEClass.getEStructuralFeatures().get(17); } /** @@ -2111,7 +2052,7 @@ public class TaxationPackageImpl extends EPackageImpl implements TaxationPackage */ @Override public EAttribute getTax_Card_Deduction_CE_yearly() { - return (EAttribute)tax_CardEClass.getEStructuralFeatures().get(20); + return (EAttribute)tax_CardEClass.getEStructuralFeatures().get(18); } /** @@ -2121,7 +2062,7 @@ public class TaxationPackageImpl extends EPackageImpl implements TaxationPackage */ @Override public EAttribute getTax_Card_Deduction_DS_daily() { - return (EAttribute)tax_CardEClass.getEStructuralFeatures().get(21); + return (EAttribute)tax_CardEClass.getEStructuralFeatures().get(19); } /** @@ -2131,7 +2072,7 @@ public class TaxationPackageImpl extends EPackageImpl implements TaxationPackage */ @Override public EAttribute getTax_Card_Deduction_DS_monthly() { - return (EAttribute)tax_CardEClass.getEStructuralFeatures().get(22); + return (EAttribute)tax_CardEClass.getEStructuralFeatures().get(20); } /** @@ -2141,7 +2082,7 @@ public class TaxationPackageImpl extends EPackageImpl implements TaxationPackage */ @Override public EAttribute getTax_Card_Deduction_FO_daily() { - return (EAttribute)tax_CardEClass.getEStructuralFeatures().get(23); + return (EAttribute)tax_CardEClass.getEStructuralFeatures().get(21); } /** @@ -2151,7 +2092,7 @@ public class TaxationPackageImpl extends EPackageImpl implements TaxationPackage */ @Override public EAttribute getTax_Card_Deduction_FO_monthly() { - return (EAttribute)tax_CardEClass.getEStructuralFeatures().get(24); + return (EAttribute)tax_CardEClass.getEStructuralFeatures().get(22); } /** @@ -2161,7 +2102,7 @@ public class TaxationPackageImpl extends EPackageImpl implements TaxationPackage */ @Override public EAttribute getTax_Card_Deduction_FO_yearly() { - return (EAttribute)tax_CardEClass.getEStructuralFeatures().get(25); + return (EAttribute)tax_CardEClass.getEStructuralFeatures().get(23); } /** @@ -2171,7 +2112,7 @@ public class TaxationPackageImpl extends EPackageImpl implements TaxationPackage */ @Override public EAttribute getTax_Card_Credit_CIS_daily() { - return (EAttribute)tax_CardEClass.getEStructuralFeatures().get(26); + return (EAttribute)tax_CardEClass.getEStructuralFeatures().get(24); } /** @@ -2181,7 +2122,7 @@ public class TaxationPackageImpl extends EPackageImpl implements TaxationPackage */ @Override public EAttribute getTax_Card_Credit_CIS_monthly() { - return (EAttribute)tax_CardEClass.getEStructuralFeatures().get(27); + return (EAttribute)tax_CardEClass.getEStructuralFeatures().get(25); } /** @@ -2191,7 +2132,7 @@ public class TaxationPackageImpl extends EPackageImpl implements TaxationPackage */ @Override public EAttribute getTax_Card_Credit_CIM_daily() { - return (EAttribute)tax_CardEClass.getEStructuralFeatures().get(28); + return (EAttribute)tax_CardEClass.getEStructuralFeatures().get(26); } /** @@ -2201,7 +2142,7 @@ public class TaxationPackageImpl extends EPackageImpl implements TaxationPackage */ @Override public EAttribute getTax_Card_Validity() { - return (EAttribute)tax_CardEClass.getEStructuralFeatures().get(29); + return (EAttribute)tax_CardEClass.getEStructuralFeatures().get(27); } /** @@ -2211,7 +2152,7 @@ public class TaxationPackageImpl extends EPackageImpl implements TaxationPackage */ @Override public EReference getTax_Card_Income_Tax_Credit() { - return (EReference)tax_CardEClass.getEStructuralFeatures().get(30); + return (EReference)tax_CardEClass.getEStructuralFeatures().get(28); } /** @@ -2221,7 +2162,7 @@ public class TaxationPackageImpl extends EPackageImpl implements TaxationPackage */ @Override public EReference getTax_Card_Previous() { - return (EReference)tax_CardEClass.getEStructuralFeatures().get(31); + return (EReference)tax_CardEClass.getEStructuralFeatures().get(29); } /** @@ -2231,7 +2172,7 @@ public class TaxationPackageImpl extends EPackageImpl implements TaxationPackage */ @Override public EReference getTax_Card_Current_tax_card() { - return (EReference)tax_CardEClass.getEStructuralFeatures().get(32); + return (EReference)tax_CardEClass.getEStructuralFeatures().get(30); } /** @@ -2241,7 +2182,7 @@ public class TaxationPackageImpl extends EPackageImpl implements TaxationPackage */ @Override public EAttribute getTax_Card_Credit_CIM_yearly() { - return (EAttribute)tax_CardEClass.getEStructuralFeatures().get(33); + return (EAttribute)tax_CardEClass.getEStructuralFeatures().get(31); } /** @@ -2251,7 +2192,7 @@ public class TaxationPackageImpl extends EPackageImpl implements TaxationPackage */ @Override public EAttribute getTax_Card_Deduction_DS_Alimony_yearly() { - return (EAttribute)tax_CardEClass.getEStructuralFeatures().get(34); + return (EAttribute)tax_CardEClass.getEStructuralFeatures().get(32); } /** @@ -2261,7 +2202,7 @@ public class TaxationPackageImpl extends EPackageImpl implements TaxationPackage */ @Override public EAttribute getTax_Card_Deduction_DS_Debt_yearly() { - return (EAttribute)tax_CardEClass.getEStructuralFeatures().get(35); + return (EAttribute)tax_CardEClass.getEStructuralFeatures().get(33); } /** @@ -2271,7 +2212,7 @@ public class TaxationPackageImpl extends EPackageImpl implements TaxationPackage */ @Override public EReference getTax_Card_Income() { - return (EReference)tax_CardEClass.getEStructuralFeatures().get(36); + return (EReference)tax_CardEClass.getEStructuralFeatures().get(34); } /** @@ -3415,7 +3356,6 @@ public class TaxationPackageImpl extends EPackageImpl implements TaxationPackage createEAttribute(physical_PersonEClass, PHYSICAL_PERSON__BIRTH_DAY); createEReference(physical_PersonEClass, PHYSICAL_PERSON__EXPENSES); createEAttribute(physical_PersonEClass, PHYSICAL_PERSON__IS_WIDOWER); - createEReference(physical_PersonEClass, PHYSICAL_PERSON__OWNS_ADDRESS); addressEClass = createEClass(ADDRESS); createEAttribute(addressEClass, ADDRESS__COUNTRY); @@ -3485,9 +3425,6 @@ public class TaxationPackageImpl extends EPackageImpl implements TaxationPackage incomeEClass = createEClass(INCOME); createEAttribute(incomeEClass, INCOME__INCOME_AMOUNT); createEReference(incomeEClass, INCOME__INCOME_TYPE); - createEAttribute(incomeEClass, INCOME__START_DATE_WITHIN_TAXATION_YEAR); - createEAttribute(incomeEClass, INCOME__START_DATE_OF_CONTRACT); - createEAttribute(incomeEClass, INCOME__END_DATE_WITHIN_TAXATION_YEAR); createEReference(incomeEClass, INCOME__TAX_CARD); createEAttribute(incomeEClass, INCOME__TAX_LIABILITY); createEReference(incomeEClass, INCOME__TAX_PAYER); @@ -3504,8 +3441,6 @@ public class TaxationPackageImpl extends EPackageImpl implements TaxationPackage createEAttribute(tax_CardEClass, TAX_CARD__CARD_IDENTIFIER); createEAttribute(tax_CardEClass, TAX_CARD__TAX_CARD_TYPE); createEAttribute(tax_CardEClass, TAX_CARD__TAX_OFFICE); - createEAttribute(tax_CardEClass, TAX_CARD__VALID_FROM_DATE); - createEAttribute(tax_CardEClass, TAX_CARD__VALID_UNTIL_DATE); createEAttribute(tax_CardEClass, TAX_CARD__PERCENTAGE_OF_WITHOLDING); createEAttribute(tax_CardEClass, TAX_CARD__TAX_PAYERS_NAME_SURNAME); createEAttribute(tax_CardEClass, TAX_CARD__TAX_PAYERS_PARTNER_NAME_SURNAME); @@ -3813,7 +3748,6 @@ public class TaxationPackageImpl extends EPackageImpl implements TaxationPackage initEAttribute(getPhysical_Person_Birth_day(), ecorePackage.getEInt(), "birth_day", null, 1, 1, Physical_Person.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); initEReference(getPhysical_Person_Expenses(), this.getExpense(), this.getExpense_Beneficiary(), "expenses", null, 0, -1, Physical_Person.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); initEAttribute(getPhysical_Person_Is_widower(), ecorePackage.getEBoolean(), "is_widower", null, 1, 1, Physical_Person.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEReference(getPhysical_Person_Owns_Address(), this.getAddress(), null, "owns_Address", null, 0, -1, Physical_Person.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(addressEClass, Address.class, "Address", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEAttribute(getAddress_Country(), this.getCountry(), "country", "ZZ", 1, 1, Address.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); @@ -3883,9 +3817,6 @@ public class TaxationPackageImpl extends EPackageImpl implements TaxationPackage initEClass(incomeEClass, Income.class, "Income", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEAttribute(getIncome_Income_amount(), ecorePackage.getEDouble(), "income_amount", null, 1, 1, Income.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); initEReference(getIncome_Income_type(), this.getIncome_Type(), this.getIncome_Type_Income(), "income_type", null, 1, 1, Income.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getIncome_Start_date_within_taxation_year(), ecorePackage.getEDate(), "start_date_within_taxation_year", null, 1, 1, Income.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getIncome_Start_date_of_contract(), ecorePackage.getEDate(), "start_date_of_contract", null, 1, 1, Income.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getIncome_End_date_within_taxation_year(), ecorePackage.getEDate(), "end_date_within_taxation_year", null, 1, 1, Income.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); initEReference(getIncome_Tax_card(), this.getTax_Card(), this.getTax_Card_Income(), "tax_card", null, 0, 1, Income.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getIncome_Tax_liability(), ecorePackage.getEDouble(), "tax_liability", null, 1, 1, Income.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getIncome_TaxPayer(), this.getTax_Payer(), this.getTax_Payer_Incomes(), "taxPayer", null, 1, 1, Income.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); @@ -3902,8 +3833,6 @@ public class TaxationPackageImpl extends EPackageImpl implements TaxationPackage initEAttribute(getTax_Card_Card_identifier(), ecorePackage.getEString(), "card_identifier", null, 0, 1, Tax_Card.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getTax_Card_Tax_card_type(), this.getTax_Card_Type(), "tax_card_type", null, 1, 1, Tax_Card.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, IS_DERIVED, IS_ORDERED); initEAttribute(getTax_Card_Tax_office(), this.getTax_Office(), "tax_office", null, 1, 1, Tax_Card.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getTax_Card_Valid_from_date(), ecorePackage.getEDate(), "valid_from_date", null, 1, 1, Tax_Card.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); - initEAttribute(getTax_Card_Valid_until_date(), ecorePackage.getEDate(), "valid_until_date", null, 1, 1, Tax_Card.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); initEAttribute(getTax_Card_Percentage_of_witholding(), ecorePackage.getEDouble(), "percentage_of_witholding", null, 1, 1, Tax_Card.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getTax_Card_Tax_payers_name_surname(), ecorePackage.getEString(), "tax_payers_name_surname", null, 0, -1, Tax_Card.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); initEAttribute(getTax_Card_Tax_payers_partner_name_surname(), ecorePackage.getEString(), "tax_payers_partner_name_surname", null, 0, -1, Tax_Card.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/.classpath b/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/.classpath deleted file mode 100644 index 29ba3981..00000000 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/.classpath +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/.project b/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/.project deleted file mode 100644 index 9080c4bb..00000000 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/.project +++ /dev/null @@ -1,62 +0,0 @@ - - - case.study.pledge.run - - - - - - org.eclipse.ocl.pivot.ui.oclbuilder - - - disabledExtensions - *,essentialocl - - - disabledPaths - bin/**,target/** - - - enabledExtensions - ecore,ocl,oclinecore,oclstdlib,uml - - - enabledPaths - ** - - - - - org.eclipse.xtext.ui.shared.xtextBuilder - - - - - org.eclipse.viatra.query.tooling.ui.projectbuilder - - - - - org.eclipse.jdt.core.javabuilder - - - - - org.eclipse.pde.ManifestBuilder - - - - - org.eclipse.pde.SchemaBuilder - - - - - - org.eclipse.pde.PluginNature - org.eclipse.jdt.core.javanature - org.eclipse.xtext.ui.shared.xtextNature - org.eclipse.viatra.query.projectnature - org.eclipse.ocl.pivot.ui.oclnature - - diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/.settings/org.eclipse.core.resources.prefs b/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/.settings/org.eclipse.core.resources.prefs deleted file mode 100644 index 4824b802..00000000 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/.settings/org.eclipse.core.resources.prefs +++ /dev/null @@ -1,2 +0,0 @@ -eclipse.preferences.version=1 -encoding/=UTF-8 diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/.settings/org.eclipse.jdt.core.prefs b/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/.settings/org.eclipse.jdt.core.prefs deleted file mode 100644 index 295926d9..00000000 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/.settings/org.eclipse.jdt.core.prefs +++ /dev/null @@ -1,7 +0,0 @@ -eclipse.preferences.version=1 -org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled -org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8 -org.eclipse.jdt.core.compiler.compliance=1.8 -org.eclipse.jdt.core.compiler.problem.assertIdentifier=error -org.eclipse.jdt.core.compiler.problem.enumIdentifier=error -org.eclipse.jdt.core.compiler.source=1.8 diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/.settings/org.eclipse.pde.core.prefs b/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/.settings/org.eclipse.pde.core.prefs deleted file mode 100644 index 13325c95..00000000 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/.settings/org.eclipse.pde.core.prefs +++ /dev/null @@ -1,3 +0,0 @@ -eclipse.preferences.version=1 -pluginProject.equinox=false -resolve.requirebundle=false diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/META-INF/MANIFEST.MF b/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/META-INF/MANIFEST.MF deleted file mode 100644 index 1ab2d276..00000000 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/META-INF/MANIFEST.MF +++ /dev/null @@ -1,24 +0,0 @@ -Manifest-Version: 1.0 -Bundle-ManifestVersion: 2 -Bundle-Name: case.study.a.queries -Bundle-SymbolicName: case.study.pledge.run;singleton:=true -Bundle-Version: 0.0.1.qualifier -Export-Package: queries -Require-Bundle: org.eclipse.emf.ecore, - org.eclipse.viatra.query.runtime, - org.eclipse.viatra.query.runtime.rete, - org.eclipse.viatra.query.runtime.localsearch, - org.eclipse.viatra.addon.querybasedfeatures.runtime;bundle-version="2.3.0", - org.eclipse.xtext.xbase.lib, - case.study.pledge.model;bundle-version="1.0.0", - test;bundle-version="0.1.0", - hu.bme.mit.inf.dslreasoner.ecore2logic;bundle-version="1.0.0", - hu.bme.mit.inf.dslreasoner.logic.model;bundle-version="1.0.0", - hu.bme.mit.inf.dslreasoner.logic2ecore;bundle-version="1.0.0", - hu.bme.mit.inf.dslreasoner.viatra2logic;bundle-version="1.0.0", - hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatraquery;bundle-version="1.0.0", - hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage;bundle-version="1.0.0", - hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner;bundle-version="1.0.0", - hu.bme.mit.inf.dslreasoner.visualisation;bundle-version="1.0.0" -Bundle-RequiredExecutionEnvironment: JavaSE-1.8 -Import-Package: org.apache.log4j diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/bin/.gitignore b/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/bin/.gitignore deleted file mode 100644 index 3d70f0da..00000000 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/bin/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -/queries/ -/run/ diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/bin/queries/.gitignore b/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/bin/queries/.gitignore deleted file mode 100644 index 527f3a0e..00000000 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/bin/queries/.gitignore +++ /dev/null @@ -1,112 +0,0 @@ -/.Inv17.java._trace -/.Inv20.java._trace -/.Inv33_con.java._trace -/.Inv34.java._trace -/.Inv35.java._trace -/.Inv47.java._trace -/.Inv48.java._trace -/.Inv48_helper.java._trace -/.Case_study_A.java._trace -/.Inv49.java._trace -/.Inv49_con.java._trace -/.Inv49_helper.java._trace -/.H_inv49.java._trace -/.Ocl_inv49.java._trace -/.Vql_inv49.java._trace -/.Vql_inv492.java._trace -/.H1_inv48.java._trace -/.H2_inv48.java._trace -/.Vql_inv48.java._trace -/.H3_inv48.java._trace -/.H1_inv49.java._trace -/.H2_inv49.java._trace -/.H_inv47.java._trace -/.Inv35test.java._trace -/.Inv33.java._trace -/.X.java._trace -/.H_inv16_moreThan1.java._trace -/.H_inv48_1.java._trace -/.H_inv48_2.java._trace -/.H_inv48_3.java._trace -/.H_inv49_1.java._trace -/.H_inv49_2.java._trace -/.Inv16.java._trace -/.Inv15.java._trace -/.H_inv13.java._trace -/.Inv13.java._trace -/.Inv12.java._trace -/.H_inv12_notNonRes.java._trace -/.H_inv12_notZZ.java._trace -/.H_inv11_incOver100.java._trace -/.Inv11.java._trace -/.H_inv11_incNotOver100.java._trace -/.H_inv8_notEI.java._trace -/.Inv8.java._trace -/.H_inv08_notEI.java._trace -/.Inv08.java._trace -/.H_inv08_inRange.java._trace -/.X_inv08_inRange.java._trace -/.X_inv08_notEI.java._trace -/.X_inv11_incNotOver100.java._trace -/.X_inv11_incOver100.java._trace -/.X_inv12_notNonRes.java._trace -/.X_inv12_notZZ.java._trace -/.X_inv13.java._trace -/.X_inv47.java._trace -/.X_inv48_1.java._trace -/.X_inv48_2.java._trace -/.X_inv48_3.java._trace -/.X_inv49_1.java._trace -/.X_inv49_2.java._trace -/.X_inv48_Dis.java._trace -/.X_inv48_notDis.java._trace -/.X_inv08_noType.java._trace -/.X_inv08_invalidType.java._trace -/.Inv06.java._trace -/.X_inv06_inRange.java._trace -/.Inv05.java._trace -/.X_inv05_inRange.java._trace -/.Inv03.java._trace -/.X_inv03_noAll.java._trace -/.X_inv03_eligAll.java._trace -/.X_inv03_hasAll.java._trace -/.Inv07.java._trace -/.Inv10.java._trace -/.X_inv15.java._trace -/Inv03.java -/Inv05.java -/Inv06.java -/X_inv03_eligAll.java -/X_inv03_hasAll.java -/X_inv05_inRange.java -/Case_study_A.java -/Inv07.java -/Inv08.java -/Inv10.java -/Inv11.java -/Inv12.java -/Inv13.java -/Inv15.java -/Inv17.java -/Inv20.java -/Inv33.java -/Inv34.java -/Inv35.java -/Inv47.java -/Inv48.java -/Inv49.java -/X_inv08_inRange.java -/X_inv08_noType.java -/X_inv08_notEI.java -/X_inv11_incNotOver100.java -/X_inv11_incOver100.java -/X_inv12_notNonRes.java -/X_inv12_notZZ.java -/X_inv13.java -/X_inv15.java -/X_inv47.java -/X_inv48_3.java -/X_inv48_Dis.java -/X_inv48_notDis.java -/X_inv49_1.java -/X_inv49_2.java diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/bin/queries/NewOCLFileX.ocl b/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/bin/queries/NewOCLFileX.ocl deleted file mode 100644 index 66ae728e..00000000 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/bin/queries/NewOCLFileX.ocl +++ /dev/null @@ -1,45 +0,0 @@ -import 'file:/Users/Aren Babikian/git/VIATRA-Attributes/case.study.a.model/model/Taxation.ecore' - -package Taxation - ---context Income inv inv8: ---if(not self.income_type.oclIsTypeOf(Employment_Income)) then ---self.details->forAll(d| d.distance = 0) ---else ---self.details->forAll(d| d.distance >= 0.0 and d.distance <= 100) ---endif --- ---context Legal_Union_Record inv inv490: ---self.individual_A.oclIsKindOf(Tax_Payer) --- ---context Legal_Union_Record inv inv491: ---self.individual_B->forAll(i | i.oclIsKindOf(Physical_Person) ) --- ---context Legal_Union_Record inv inv492: ---self.individual_B->forAll(i | not i.oclIsTypeOf(Dependent) ) --- ---context Legal_Union_Record inv inv493: ---self.individual_A <> self.individual_B --- ---context Tax_Payer inv inv13: --- self.addresses->exists( hab_add:Address | hab_add.oclIsTypeOf(Habitual_Address) = true and hab_add.country=Country::ZZ) ---implies --- self.oclIsTypeOf(Resident_Tax_Payer) - - context Income inv inv7: -let val:Real =self.details->asOrderedSet()->first().distance in -self.details->forAll(d: Income_Detail|d.distance = val) - ---context External_Allowance inv inv15: ---let child:Dependent = self.person in ---let h:Household = Household.allInstances()->select(children->includes(child))->asOrderedSet()->first() in ---let t1:Set(Physical_Person) = Set{h.parents.individual_A}->union(h.parents.individual_B)->select(oclIsKindOf(Tax_Payer)) in ---if(t1->size()=1) then ---self.reciver = t1->asOrderedSet()->first() ---else ---self.reciver = t1->asOrderedSet()->at(2) or self.reciver = t1->asOrderedSet()->at(1) ---endif - - - -endpackage \ No newline at end of file diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/bin/queries/case_study_A.vql b/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/bin/queries/case_study_A.vql deleted file mode 100644 index 5d46bf42..00000000 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/bin/queries/case_study_A.vql +++ /dev/null @@ -1,334 +0,0 @@ -package queries - -import "http:///TaxCard.ecore" - -//AttributeRemoved -> DF - -//inv1-External_Allowance.amount is a derived feature (TODOcheck) -//inv2-Tax_Card.income.taxPayer.taxesDue is a derived feature (TODOcheck) - -//inv3-multiplicity adjusted -@Constraint(message = "inv03", severity = "error", key = {dep}) -pattern inv03(dep : Dependent) { - find x_inv03_eligAll(dep); - neg find x_inv03_hasAll(dep); -} or { - Dependent.birth_year(dep, by); - check(2018-by > 21); - Dependent.continued_studies(dep, false); - Dependent.allowances(dep, _); -} -pattern x_inv03_eligAll(dep : Dependent) { - Dependent.birth_year(dep, by); - check(2018-by <= 21); -} or { - Dependent.continued_studies(dep, true); -} -pattern x_inv03_hasAll(dep : Dependent) { - Dependent.allowances(dep, _); -} - -//inv5 - oclIsTypeOf - handled here -@Constraint(message = "inv05", severity = "error", key = {inc}) -pattern inv05(inc : Income) { - //income_type: None - neg find x_inv08_noType(inc); - Income.details.worked_days(inc, wd); - check(wd != 0); -} or { - //income_type: Not Employment_Income - Income.income_type(inc, type); - neg find x_inv08_notEI(type); - Income.details.worked_days(inc, wd); - check(wd != 0); -} or { - //income_type: Employment Income - Income.income_type(inc, type); - Employment_Income(type); - find x_inv05_inRange(inc); -} -pattern x_inv05_inRange(inc : Income) { - Income.details.worked_days(inc, wd); - check(wd < 1); -} or { - Income.details.worked_days(inc, wd); - check(wd > 25); -} - -//inv6-Does not make sens, but directly from OCL -//first part of or from definition of getAge() -@Constraint(message = "inv06", severity = "error", key = {tp}) -pattern inv06(tp : Tax_Payer) { - Tax_Payer.dependents(tp, _); - Tax_Payer.birth_year(tp, TPBy); - check(2018 - TPBy > 2018-16); -} or { - Tax_Payer.birth_year(tp, TPBy); - Tax_Payer.dependents(tp, dep); - Dependent.birth_year(dep, DepBy); - check(2018-DepBy <= 2018-TPBy-16); -} - -//inv7-OrderedSet -@Constraint(message = "inv07", severity = "error", key = {inc}) -pattern inv07(inc : Income) { - Income.details.distance(inc, d1); - Income.details.distance(inc, d2); - check(d1 != d2);//compare values -} - -//user_complete_details-AttributeRemoved - -//inv8 - oclIsTypeOf - handled here -@Constraint(message = "inv08", severity = "error", key = {inc}) -pattern inv08(inc : Income) { - //income_type: None - neg find x_inv08_noType(inc); - Income.details.distance(inc, dist); - check(dist != 0); -} or { - //income_type: Not Employment_Income - Income.income_type(inc, type); - neg find x_inv08_notEI(type); - Income.details.distance(inc, dist); - check(dist != 0); -} or { - //income_type: Employment Income - Income.income_type(inc, type); - Employment_Income(type); - find x_inv08_inRange(inc); -} -pattern x_inv08_notEI(type : Employment_Income) { - Employment_Income(type); -} -pattern x_inv08_noType(inc : Income) { - Income.income_type(inc, _); -} -pattern x_inv08_inRange(inc : Income) { - Income.details.distance(inc, dist); - check(dist < 0); -} or { - Income.details.distance(inc, dist); - check(dist > 100); -} -//inv9-DerivedFeature - -//inv10-Ordered Sets -@Constraint(message = "inv10", severity = "error", key = {inc}) -pattern inv10(inc : Income) { - Income.details.amount(inc, a1); - Income.details.amount(inc, a2); - check(a1 != a2);//compare values -} - -//inv11-attributes-handled by multiplicity -@Constraint(message = "inv11", severity = "error", key = {exp}) -pattern inv11(exp : Expense) { - find x_inv11_incOver100(exp); - find x_inv11_incNotOver100(exp); -} -pattern x_inv11_incOver100(exp : Expense) { - Expense.income.income_amount(exp, incVal); - check(incVal / 2 > 50); - -} or { - Expense.declared_amount(exp, decl); - check(decl != 50); -} -pattern x_inv11_incNotOver100(exp : Expense) { - Expense.income.income_amount(exp, incVal); - check(incVal / 2 <= 50); -} or { - Expense.declared_amount(exp, decl); - check(decl < 50); -} or { - Expense.income.income_amount(exp, incVal); - Expense.declared_amount(exp, decl); - check(decl > incVal/2); -} - -//inv12 -//exists - handled logically -@Constraint(message = "inv12", severity = "error", key = {tp}) -pattern inv12(tp : Tax_Payer) { - Tax_Payer.addresses(tp, hab_add); - Habitual_Address(hab_add); - neg find x_inv12_notZZ(hab_add); - Tax_Payer.incomes(tp, inc); - Local_Income(inc); - neg find x_inv12_notNonRes(tp); -} -pattern x_inv12_notNonRes(tp : Non_Resident_Tax_Payer) { - Non_Resident_Tax_Payer(tp); -} -pattern x_inv12_notZZ(hab_add : Habitual_Address) { - Address.country(hab_add, ::ZZ); -} - -//inv13 - Added new containment rel Phys_Pers->Address -//exists - handled logically -@Constraint(message = "inv13", severity = "error", key = {tp}) -pattern inv13(tp : Tax_Payer) { - Tax_Payer.addresses(tp, hab_add); - Habitual_Address(hab_add); - Address.country(hab_add, ::ZZ); - neg find x_inv13(tp); -} -pattern x_inv13(tp : Resident_Tax_Payer) { - Resident_Tax_Payer(tp); -} - -//inv14-MultiplicityChanged - -//inv15-Ordered Sets in assignment if block -//ERROR if no household object -@Constraint(message = "inv15", severity = "error", key = {ea}) -pattern inv15(ea : External_Allowance) { - neg find x_inv15(ea); -} -pattern x_inv15(ea : External_Allowance) { - External_Allowance.person(ea, child); - Household.children(h, child);//only one due to multiplicity - Household.parents.individual_A(h, iA); - Tax_Payer(iA); - External_Allowance.reciver(ea, iA); -} or { - External_Allowance.person(ea, child); - Household.children(h, child);//only one due to multiplicity - Household.parents.individual_B(h, iB); - Tax_Payer(iB); - External_Allowance.reciver(ea, iB); -} - -//inv16-Tax_Card.tax_card_type is a derived feature - -//inv17-attribute-handled by multiplicity -@Constraint(message = "inv17", severity = "error", key = {lur}) -pattern inv17(lur : Legal_Union_Record) { - Legal_Union_Record.start_year(lur, sy); - check(sy < 1950); -} or { - Legal_Union_Record.start_year(lur, sy); - check(sy > 2018); -} - -//inv18-MultiplicityChecked -//inv19-MultiplicityChecked - -//inv20-Useless constraint since both edges are containment (TODOCheck) -//OclIsUndefined-Handled by multiplicity -@Constraint(message = "inv20", severity = "error", key = {lur}) -pattern inv20(lur : Legal_Union_Record) { - Legal_Union_Record.individual_A(lur, iA); - Legal_Union_Record.individual_B(lur, iB); - iA == iB; -} -//inv21-MultiplicityChecked -//inv22-MultiplicityChecked -//inv23-MultiplicityChecked -//inv24-MultiplicityChecked -//inv25-MultiplicityChecked -//inv26-MultiplicityChanged -//inv27-dupOfInv24 -//inv28-dubOfInv23 -//inv29-MultiplicityChanged -//inv30-AttributeRemoved -//inv31-AttributeRemoved -//inv32-AttributeRemoved - -//inv33-attribute-handled by multiplicity -@Constraint(message = "inv33", severity = "error", key = {p}) -pattern inv33(p : Physical_Person) { - Physical_Person.birth_year(p, by); - check(2018-by < 0); -} or { - Physical_Person.birth_year(p, by); - check(2018-by > 100); -} - -//inv34-attribute-handled by multiplicity -@Constraint(message = "inv34", severity = "error", key = {p}) -pattern inv34(p : Physical_Person) { - Physical_Person.birth_month(p, birthMonth); - check(birthMonth < 1); -} or { - Physical_Person.birth_month(p, birthMonth); - check(birthMonth > 12); -} - -//inv35-attribute-handled by multiplicity -@Constraint(message = "inv35", severity = "error", key = {p}) -pattern inv35(p : Physical_Person) { - Physical_Person.birth_day(p, birthDay); - check(birthDay < 1); -} or { - Physical_Person.birth_day(p, birthDay); - check(birthDay > 28); -} - -//inv36-AttributeRemoved -//inv37-AttributeRemoved -//inv38-AttributeRemoved -//inv39-AttributeRemoved -//inv40-AttributeRemoved -//inv41-AttributeRemoved -//inv42-AttributeRemoved -//inv43-AttributeRemoved -//inv44-AttributeRemoved -//inv45-AttributeRemoved -//inv46-AttributeRemoved - -//inv47-attributes-handled by multiplicity -@Constraint(message = "inv47", severity = "error", key = {lur}) -pattern inv47(lur : Legal_Union_Record) { - Legal_Union_Record.end_year(lur, endY); - Legal_Union_Record.start_year(lur, startY); - neg find x_inv47(lur); - check(startY >= endY); -} -pattern x_inv47(lur : Legal_Union_Record) { - Legal_Union_Record.separation_cause(lur, ::NONE); - Legal_Union_Record.end_year(lur, -1); -} - -//inv48-attributes-handled by multiplicity -@Constraint(message = "inv48", severity = "error", key = {p}) -pattern inv48(p : Physical_Person) { - neg find x_inv48_notDis(p); - neg find x_inv48_Dis(p); -} -pattern x_inv48_notDis(p : Physical_Person) { - Physical_Person.disability_type(p, ::NONE); - Physical_Person.disability_percentage(p, 0.0); -} -pattern x_inv48_Dis(p : Physical_Person) { - neg find x_inv48_3(p); - Physical_Person.disability_percentage(p, disPer); - check(disPer > 0.0); - check(disPer <= 1.0); -} -pattern x_inv48_3(p : Physical_Person) { - Physical_Person.disability_type(p, ::NONE); -} - -//inv49-OclKindOf-handled by multiplicity -@Constraint(message = "inv49", severity = "error", key = {lur}) -pattern inv49(lur : Legal_Union_Record) { - neg find x_inv49_1(lur); -} -pattern x_inv49_1(lur : Legal_Union_Record) { - Legal_Union_Record.individual_A(lur, iA); - Legal_Union_Record.individual_B(lur, iB); - Tax_Payer(iA); - Physical_Person(iB); - neg find x_inv49_2(iB); - iA != iB; -} -pattern x_inv49_2(iB: Dependent) { - Dependent(iB); -} - -//inv50-MultiplicityChecked -//inv51-MultiplicityChecked -//inv52-MultiplicityChecked -//inv53-MultiplicityChecked \ No newline at end of file diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/bin/run/.RunGenerator.xtendbin b/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/bin/run/.RunGenerator.xtendbin deleted file mode 100644 index e2021169..00000000 Binary files a/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/bin/run/.RunGenerator.xtendbin and /dev/null differ diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/bin/run/.gitignore b/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/bin/run/.gitignore deleted file mode 100644 index 8e503b4a..00000000 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/bin/run/.gitignore +++ /dev/null @@ -1,4 +0,0 @@ -/.GenerateScenarios.java._trace -/.checkQueries.java._trace -/.RunGenerator.xtendbin -/GenerateScenarios.java diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/build.properties b/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/build.properties deleted file mode 100644 index 88d3713e..00000000 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/build.properties +++ /dev/null @@ -1,6 +0,0 @@ -bin.includes = META-INF/,\ - .,\ - plugin.xml -source.. = src/,\ - src-gen/ -output.. = bin/ diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/ocl/queries.ocl b/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/ocl/queries.ocl deleted file mode 100644 index de770240..00000000 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/ocl/queries.ocl +++ /dev/null @@ -1,14 +0,0 @@ -import 'file:/Users/Aren Babikian/git/VIATRA-Attributes/original.PLEDGE.case.studies/model/CD_Case_A.uml' ---e.g., import 'file:/Users/User_X/CD_Case_A.uml' - -package Taxation - -context Income inv x: - let involved_details:Set(Income_Detail)=self.details->select(i:Income_Detail| i.is_worked=true) in - involved_details.amount->sum() - -context Expense inv inv11: -let max:Real = if((self.income.income_amount / 2)>50) then self.income.income_amount / 2 else 50 endif in -self.declared_amount >= 50 and self.declared_amount <= max - -endpackage \ No newline at end of file diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/plugin.xml b/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/plugin.xml deleted file mode 100644 index 63aa0b02..00000000 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/plugin.xml +++ /dev/null @@ -1,42 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/.gitignore b/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/.gitignore deleted file mode 100644 index 527f3a0e..00000000 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/.gitignore +++ /dev/null @@ -1,112 +0,0 @@ -/.Inv17.java._trace -/.Inv20.java._trace -/.Inv33_con.java._trace -/.Inv34.java._trace -/.Inv35.java._trace -/.Inv47.java._trace -/.Inv48.java._trace -/.Inv48_helper.java._trace -/.Case_study_A.java._trace -/.Inv49.java._trace -/.Inv49_con.java._trace -/.Inv49_helper.java._trace -/.H_inv49.java._trace -/.Ocl_inv49.java._trace -/.Vql_inv49.java._trace -/.Vql_inv492.java._trace -/.H1_inv48.java._trace -/.H2_inv48.java._trace -/.Vql_inv48.java._trace -/.H3_inv48.java._trace -/.H1_inv49.java._trace -/.H2_inv49.java._trace -/.H_inv47.java._trace -/.Inv35test.java._trace -/.Inv33.java._trace -/.X.java._trace -/.H_inv16_moreThan1.java._trace -/.H_inv48_1.java._trace -/.H_inv48_2.java._trace -/.H_inv48_3.java._trace -/.H_inv49_1.java._trace -/.H_inv49_2.java._trace -/.Inv16.java._trace -/.Inv15.java._trace -/.H_inv13.java._trace -/.Inv13.java._trace -/.Inv12.java._trace -/.H_inv12_notNonRes.java._trace -/.H_inv12_notZZ.java._trace -/.H_inv11_incOver100.java._trace -/.Inv11.java._trace -/.H_inv11_incNotOver100.java._trace -/.H_inv8_notEI.java._trace -/.Inv8.java._trace -/.H_inv08_notEI.java._trace -/.Inv08.java._trace -/.H_inv08_inRange.java._trace -/.X_inv08_inRange.java._trace -/.X_inv08_notEI.java._trace -/.X_inv11_incNotOver100.java._trace -/.X_inv11_incOver100.java._trace -/.X_inv12_notNonRes.java._trace -/.X_inv12_notZZ.java._trace -/.X_inv13.java._trace -/.X_inv47.java._trace -/.X_inv48_1.java._trace -/.X_inv48_2.java._trace -/.X_inv48_3.java._trace -/.X_inv49_1.java._trace -/.X_inv49_2.java._trace -/.X_inv48_Dis.java._trace -/.X_inv48_notDis.java._trace -/.X_inv08_noType.java._trace -/.X_inv08_invalidType.java._trace -/.Inv06.java._trace -/.X_inv06_inRange.java._trace -/.Inv05.java._trace -/.X_inv05_inRange.java._trace -/.Inv03.java._trace -/.X_inv03_noAll.java._trace -/.X_inv03_eligAll.java._trace -/.X_inv03_hasAll.java._trace -/.Inv07.java._trace -/.Inv10.java._trace -/.X_inv15.java._trace -/Inv03.java -/Inv05.java -/Inv06.java -/X_inv03_eligAll.java -/X_inv03_hasAll.java -/X_inv05_inRange.java -/Case_study_A.java -/Inv07.java -/Inv08.java -/Inv10.java -/Inv11.java -/Inv12.java -/Inv13.java -/Inv15.java -/Inv17.java -/Inv20.java -/Inv33.java -/Inv34.java -/Inv35.java -/Inv47.java -/Inv48.java -/Inv49.java -/X_inv08_inRange.java -/X_inv08_noType.java -/X_inv08_notEI.java -/X_inv11_incNotOver100.java -/X_inv11_incOver100.java -/X_inv12_notNonRes.java -/X_inv12_notZZ.java -/X_inv13.java -/X_inv15.java -/X_inv47.java -/X_inv48_3.java -/X_inv48_Dis.java -/X_inv48_notDis.java -/X_inv49_1.java -/X_inv49_2.java diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/Case_study_A.java b/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/Case_study_A.java deleted file mode 100644 index 11c60d6f..00000000 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/Case_study_A.java +++ /dev/null @@ -1,438 +0,0 @@ -/** - * Generated from platform:/resource/case.study.pledge.run/src/queries/case_study_A.vql - */ -package queries; - -import org.eclipse.viatra.query.runtime.api.ViatraQueryEngine; -import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedPatternGroup; -import queries.Inv03; -import queries.Inv05; -import queries.Inv06; -import queries.Inv07; -import queries.Inv08; -import queries.Inv10; -import queries.Inv11; -import queries.Inv12; -import queries.Inv13; -import queries.Inv15; -import queries.Inv17; -import queries.Inv20; -import queries.Inv33; -import queries.Inv34; -import queries.Inv35; -import queries.Inv47; -import queries.Inv48; -import queries.Inv49; -import queries.X_inv03_eligAll; -import queries.X_inv03_hasAll; -import queries.X_inv05_inRange; -import queries.X_inv08_inRange; -import queries.X_inv08_noType; -import queries.X_inv08_notEI; -import queries.X_inv11_incNotOver100; -import queries.X_inv11_incOver100; -import queries.X_inv12_notNonRes; -import queries.X_inv12_notZZ; -import queries.X_inv13; -import queries.X_inv15; -import queries.X_inv47; -import queries.X_inv48_3; -import queries.X_inv48_Dis; -import queries.X_inv48_notDis; -import queries.X_inv49_1; -import queries.X_inv49_2; - -/** - * A pattern group formed of all public patterns defined in case_study_A.vql. - * - *

    Use the static instance as any {@link interface org.eclipse.viatra.query.runtime.api.IQueryGroup}, to conveniently prepare - * a VIATRA Query engine for matching all patterns originally defined in file case_study_A.vql, - * in order to achieve better performance than one-by-one on-demand matcher initialization. - * - *

    From package queries, the group contains the definition of the following patterns:

      - *
    • inv03
    • - *
    • x_inv03_eligAll
    • - *
    • x_inv03_hasAll
    • - *
    • inv05
    • - *
    • x_inv05_inRange
    • - *
    • inv06
    • - *
    • inv07
    • - *
    • inv08
    • - *
    • x_inv08_notEI
    • - *
    • x_inv08_noType
    • - *
    • x_inv08_inRange
    • - *
    • inv10
    • - *
    • inv11
    • - *
    • x_inv11_incOver100
    • - *
    • x_inv11_incNotOver100
    • - *
    • inv12
    • - *
    • x_inv12_notNonRes
    • - *
    • x_inv12_notZZ
    • - *
    • inv13
    • - *
    • x_inv13
    • - *
    • inv15
    • - *
    • x_inv15
    • - *
    • inv17
    • - *
    • inv20
    • - *
    • inv33
    • - *
    • inv34
    • - *
    • inv35
    • - *
    • inv47
    • - *
    • x_inv47
    • - *
    • inv48
    • - *
    • x_inv48_notDis
    • - *
    • x_inv48_Dis
    • - *
    • x_inv48_3
    • - *
    • inv49
    • - *
    • x_inv49_1
    • - *
    • x_inv49_2
    • - *
    - * - * @see IQueryGroup - * - */ -@SuppressWarnings("all") -public final class Case_study_A extends BaseGeneratedPatternGroup { - /** - * Access the pattern group. - * - * @return the singleton instance of the group - * @throws ViatraQueryRuntimeException if there was an error loading the generated code of pattern specifications - * - */ - public static Case_study_A instance() { - if (INSTANCE == null) { - INSTANCE = new Case_study_A(); - } - return INSTANCE; - } - - private static Case_study_A INSTANCE; - - private Case_study_A() { - querySpecifications.add(Inv03.instance()); - querySpecifications.add(X_inv03_eligAll.instance()); - querySpecifications.add(X_inv03_hasAll.instance()); - querySpecifications.add(Inv05.instance()); - querySpecifications.add(X_inv05_inRange.instance()); - querySpecifications.add(Inv06.instance()); - querySpecifications.add(Inv07.instance()); - querySpecifications.add(Inv08.instance()); - querySpecifications.add(X_inv08_notEI.instance()); - querySpecifications.add(X_inv08_noType.instance()); - querySpecifications.add(X_inv08_inRange.instance()); - querySpecifications.add(Inv10.instance()); - querySpecifications.add(Inv11.instance()); - querySpecifications.add(X_inv11_incOver100.instance()); - querySpecifications.add(X_inv11_incNotOver100.instance()); - querySpecifications.add(Inv12.instance()); - querySpecifications.add(X_inv12_notNonRes.instance()); - querySpecifications.add(X_inv12_notZZ.instance()); - querySpecifications.add(Inv13.instance()); - querySpecifications.add(X_inv13.instance()); - querySpecifications.add(Inv15.instance()); - querySpecifications.add(X_inv15.instance()); - querySpecifications.add(Inv17.instance()); - querySpecifications.add(Inv20.instance()); - querySpecifications.add(Inv33.instance()); - querySpecifications.add(Inv34.instance()); - querySpecifications.add(Inv35.instance()); - querySpecifications.add(Inv47.instance()); - querySpecifications.add(X_inv47.instance()); - querySpecifications.add(Inv48.instance()); - querySpecifications.add(X_inv48_notDis.instance()); - querySpecifications.add(X_inv48_Dis.instance()); - querySpecifications.add(X_inv48_3.instance()); - querySpecifications.add(Inv49.instance()); - querySpecifications.add(X_inv49_1.instance()); - querySpecifications.add(X_inv49_2.instance()); - } - - public Inv03 getInv03() { - return Inv03.instance(); - } - - public Inv03.Matcher getInv03(final ViatraQueryEngine engine) { - return Inv03.Matcher.on(engine); - } - - public X_inv03_eligAll getX_inv03_eligAll() { - return X_inv03_eligAll.instance(); - } - - public X_inv03_eligAll.Matcher getX_inv03_eligAll(final ViatraQueryEngine engine) { - return X_inv03_eligAll.Matcher.on(engine); - } - - public X_inv03_hasAll getX_inv03_hasAll() { - return X_inv03_hasAll.instance(); - } - - public X_inv03_hasAll.Matcher getX_inv03_hasAll(final ViatraQueryEngine engine) { - return X_inv03_hasAll.Matcher.on(engine); - } - - public Inv05 getInv05() { - return Inv05.instance(); - } - - public Inv05.Matcher getInv05(final ViatraQueryEngine engine) { - return Inv05.Matcher.on(engine); - } - - public X_inv05_inRange getX_inv05_inRange() { - return X_inv05_inRange.instance(); - } - - public X_inv05_inRange.Matcher getX_inv05_inRange(final ViatraQueryEngine engine) { - return X_inv05_inRange.Matcher.on(engine); - } - - public Inv06 getInv06() { - return Inv06.instance(); - } - - public Inv06.Matcher getInv06(final ViatraQueryEngine engine) { - return Inv06.Matcher.on(engine); - } - - public Inv07 getInv07() { - return Inv07.instance(); - } - - public Inv07.Matcher getInv07(final ViatraQueryEngine engine) { - return Inv07.Matcher.on(engine); - } - - public Inv08 getInv08() { - return Inv08.instance(); - } - - public Inv08.Matcher getInv08(final ViatraQueryEngine engine) { - return Inv08.Matcher.on(engine); - } - - public X_inv08_notEI getX_inv08_notEI() { - return X_inv08_notEI.instance(); - } - - public X_inv08_notEI.Matcher getX_inv08_notEI(final ViatraQueryEngine engine) { - return X_inv08_notEI.Matcher.on(engine); - } - - public X_inv08_noType getX_inv08_noType() { - return X_inv08_noType.instance(); - } - - public X_inv08_noType.Matcher getX_inv08_noType(final ViatraQueryEngine engine) { - return X_inv08_noType.Matcher.on(engine); - } - - public X_inv08_inRange getX_inv08_inRange() { - return X_inv08_inRange.instance(); - } - - public X_inv08_inRange.Matcher getX_inv08_inRange(final ViatraQueryEngine engine) { - return X_inv08_inRange.Matcher.on(engine); - } - - public Inv10 getInv10() { - return Inv10.instance(); - } - - public Inv10.Matcher getInv10(final ViatraQueryEngine engine) { - return Inv10.Matcher.on(engine); - } - - public Inv11 getInv11() { - return Inv11.instance(); - } - - public Inv11.Matcher getInv11(final ViatraQueryEngine engine) { - return Inv11.Matcher.on(engine); - } - - public X_inv11_incOver100 getX_inv11_incOver100() { - return X_inv11_incOver100.instance(); - } - - public X_inv11_incOver100.Matcher getX_inv11_incOver100(final ViatraQueryEngine engine) { - return X_inv11_incOver100.Matcher.on(engine); - } - - public X_inv11_incNotOver100 getX_inv11_incNotOver100() { - return X_inv11_incNotOver100.instance(); - } - - public X_inv11_incNotOver100.Matcher getX_inv11_incNotOver100(final ViatraQueryEngine engine) { - return X_inv11_incNotOver100.Matcher.on(engine); - } - - public Inv12 getInv12() { - return Inv12.instance(); - } - - public Inv12.Matcher getInv12(final ViatraQueryEngine engine) { - return Inv12.Matcher.on(engine); - } - - public X_inv12_notNonRes getX_inv12_notNonRes() { - return X_inv12_notNonRes.instance(); - } - - public X_inv12_notNonRes.Matcher getX_inv12_notNonRes(final ViatraQueryEngine engine) { - return X_inv12_notNonRes.Matcher.on(engine); - } - - public X_inv12_notZZ getX_inv12_notZZ() { - return X_inv12_notZZ.instance(); - } - - public X_inv12_notZZ.Matcher getX_inv12_notZZ(final ViatraQueryEngine engine) { - return X_inv12_notZZ.Matcher.on(engine); - } - - public Inv13 getInv13() { - return Inv13.instance(); - } - - public Inv13.Matcher getInv13(final ViatraQueryEngine engine) { - return Inv13.Matcher.on(engine); - } - - public X_inv13 getX_inv13() { - return X_inv13.instance(); - } - - public X_inv13.Matcher getX_inv13(final ViatraQueryEngine engine) { - return X_inv13.Matcher.on(engine); - } - - public Inv15 getInv15() { - return Inv15.instance(); - } - - public Inv15.Matcher getInv15(final ViatraQueryEngine engine) { - return Inv15.Matcher.on(engine); - } - - public X_inv15 getX_inv15() { - return X_inv15.instance(); - } - - public X_inv15.Matcher getX_inv15(final ViatraQueryEngine engine) { - return X_inv15.Matcher.on(engine); - } - - public Inv17 getInv17() { - return Inv17.instance(); - } - - public Inv17.Matcher getInv17(final ViatraQueryEngine engine) { - return Inv17.Matcher.on(engine); - } - - public Inv20 getInv20() { - return Inv20.instance(); - } - - public Inv20.Matcher getInv20(final ViatraQueryEngine engine) { - return Inv20.Matcher.on(engine); - } - - public Inv33 getInv33() { - return Inv33.instance(); - } - - public Inv33.Matcher getInv33(final ViatraQueryEngine engine) { - return Inv33.Matcher.on(engine); - } - - public Inv34 getInv34() { - return Inv34.instance(); - } - - public Inv34.Matcher getInv34(final ViatraQueryEngine engine) { - return Inv34.Matcher.on(engine); - } - - public Inv35 getInv35() { - return Inv35.instance(); - } - - public Inv35.Matcher getInv35(final ViatraQueryEngine engine) { - return Inv35.Matcher.on(engine); - } - - public Inv47 getInv47() { - return Inv47.instance(); - } - - public Inv47.Matcher getInv47(final ViatraQueryEngine engine) { - return Inv47.Matcher.on(engine); - } - - public X_inv47 getX_inv47() { - return X_inv47.instance(); - } - - public X_inv47.Matcher getX_inv47(final ViatraQueryEngine engine) { - return X_inv47.Matcher.on(engine); - } - - public Inv48 getInv48() { - return Inv48.instance(); - } - - public Inv48.Matcher getInv48(final ViatraQueryEngine engine) { - return Inv48.Matcher.on(engine); - } - - public X_inv48_notDis getX_inv48_notDis() { - return X_inv48_notDis.instance(); - } - - public X_inv48_notDis.Matcher getX_inv48_notDis(final ViatraQueryEngine engine) { - return X_inv48_notDis.Matcher.on(engine); - } - - public X_inv48_Dis getX_inv48_Dis() { - return X_inv48_Dis.instance(); - } - - public X_inv48_Dis.Matcher getX_inv48_Dis(final ViatraQueryEngine engine) { - return X_inv48_Dis.Matcher.on(engine); - } - - public X_inv48_3 getX_inv48_3() { - return X_inv48_3.instance(); - } - - public X_inv48_3.Matcher getX_inv48_3(final ViatraQueryEngine engine) { - return X_inv48_3.Matcher.on(engine); - } - - public Inv49 getInv49() { - return Inv49.instance(); - } - - public Inv49.Matcher getInv49(final ViatraQueryEngine engine) { - return Inv49.Matcher.on(engine); - } - - public X_inv49_1 getX_inv49_1() { - return X_inv49_1.instance(); - } - - public X_inv49_1.Matcher getX_inv49_1(final ViatraQueryEngine engine) { - return X_inv49_1.Matcher.on(engine); - } - - public X_inv49_2 getX_inv49_2() { - return X_inv49_2.instance(); - } - - public X_inv49_2.Matcher getX_inv49_2(final ViatraQueryEngine engine) { - return X_inv49_2.Matcher.on(engine); - } -} diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/Inv03.java b/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/Inv03.java deleted file mode 100644 index 9038ec4d..00000000 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/Inv03.java +++ /dev/null @@ -1,652 +0,0 @@ -/** - * Generated from platform:/resource/case.study.pledge.run/src/queries/case_study_A.vql - */ -package queries; - -import Taxation.Dependent; -import java.util.Arrays; -import java.util.Collection; -import java.util.LinkedHashSet; -import java.util.List; -import java.util.Objects; -import java.util.Optional; -import java.util.Set; -import java.util.function.Consumer; -import java.util.stream.Collectors; -import java.util.stream.Stream; -import org.apache.log4j.Logger; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EDataType; -import org.eclipse.viatra.query.runtime.api.IPatternMatch; -import org.eclipse.viatra.query.runtime.api.IQuerySpecification; -import org.eclipse.viatra.query.runtime.api.ViatraQueryEngine; -import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFPQuery; -import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFQuerySpecification; -import org.eclipse.viatra.query.runtime.api.impl.BaseMatcher; -import org.eclipse.viatra.query.runtime.api.impl.BasePatternMatch; -import org.eclipse.viatra.query.runtime.emf.types.EClassTransitiveInstancesKey; -import org.eclipse.viatra.query.runtime.emf.types.EDataTypeInSlotsKey; -import org.eclipse.viatra.query.runtime.emf.types.EStructuralFeatureInstancesKey; -import org.eclipse.viatra.query.runtime.matchers.backend.QueryEvaluationHint; -import org.eclipse.viatra.query.runtime.matchers.psystem.IExpressionEvaluator; -import org.eclipse.viatra.query.runtime.matchers.psystem.IValueProvider; -import org.eclipse.viatra.query.runtime.matchers.psystem.PBody; -import org.eclipse.viatra.query.runtime.matchers.psystem.PVariable; -import org.eclipse.viatra.query.runtime.matchers.psystem.annotations.PAnnotation; -import org.eclipse.viatra.query.runtime.matchers.psystem.annotations.ParameterReference; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.Equality; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.ExportedParameter; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.ExpressionEvaluation; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.NegativePatternCall; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicenumerables.ConstantValue; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicenumerables.PositivePatternCall; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicenumerables.TypeConstraint; -import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameter; -import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameterDirection; -import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PVisibility; -import org.eclipse.viatra.query.runtime.matchers.tuple.Tuple; -import org.eclipse.viatra.query.runtime.matchers.tuple.Tuples; -import org.eclipse.viatra.query.runtime.util.ViatraQueryLoggingUtil; -import queries.X_inv03_eligAll; -import queries.X_inv03_hasAll; - -/** - * A pattern-specific query specification that can instantiate Matcher in a type-safe way. - * - *

    Original source: - *

    - *         //AttributeRemoved -{@literal >} DF
    - *         
    - *         //inv1-External_Allowance.amount is a derived feature (TODOcheck)
    - *         //inv2-Tax_Card.income.taxPayer.taxesDue is a derived feature (TODOcheck)
    - *         
    - *         //inv3-multiplicity adjusted
    - *         {@literal @}Constraint(message = "inv03", severity = "error", key = {dep})
    - *         pattern inv03(dep : Dependent) {
    - *             find x_inv03_eligAll(dep);
    - *             neg find x_inv03_hasAll(dep);
    - *         } or {
    - *         	Dependent.birth_year(dep, by);
    - *             check(2018-by {@literal >} 21);
    - *         	Dependent.continued_studies(dep, false);
    - *             Dependent.allowances(dep, _);
    - *         }
    - * 
    - * - * @see Matcher - * @see Match - * - */ -@SuppressWarnings("all") -public final class Inv03 extends BaseGeneratedEMFQuerySpecification { - /** - * Pattern-specific match representation of the queries.inv03 pattern, - * to be used in conjunction with {@link Matcher}. - * - *

    Class fields correspond to parameters of the pattern. Fields with value null are considered unassigned. - * Each instance is a (possibly partial) substitution of pattern parameters, - * usable to represent a match of the pattern in the result of a query, - * or to specify the bound (fixed) input parameters when issuing a query. - * - * @see Matcher - * - */ - public static abstract class Match extends BasePatternMatch { - private Dependent fDep; - - private static List parameterNames = makeImmutableList("dep"); - - private Match(final Dependent pDep) { - this.fDep = pDep; - } - - @Override - public Object get(final String parameterName) { - switch(parameterName) { - case "dep": return this.fDep; - default: return null; - } - } - - @Override - public Object get(final int index) { - switch(index) { - case 0: return this.fDep; - default: return null; - } - } - - public Dependent getDep() { - return this.fDep; - } - - @Override - public boolean set(final String parameterName, final Object newValue) { - if (!isMutable()) throw new java.lang.UnsupportedOperationException(); - if ("dep".equals(parameterName) ) { - this.fDep = (Dependent) newValue; - return true; - } - return false; - } - - public void setDep(final Dependent pDep) { - if (!isMutable()) throw new java.lang.UnsupportedOperationException(); - this.fDep = pDep; - } - - @Override - public String patternName() { - return "queries.inv03"; - } - - @Override - public List parameterNames() { - return Inv03.Match.parameterNames; - } - - @Override - public Object[] toArray() { - return new Object[]{fDep}; - } - - @Override - public Inv03.Match toImmutable() { - return isMutable() ? newMatch(fDep) : this; - } - - @Override - public String prettyPrint() { - StringBuilder result = new StringBuilder(); - result.append("\"dep\"=" + prettyPrintValue(fDep)); - return result.toString(); - } - - @Override - public int hashCode() { - return Objects.hash(fDep); - } - - @Override - public boolean equals(final Object obj) { - if (this == obj) - return true; - if (obj == null) { - return false; - } - if ((obj instanceof Inv03.Match)) { - Inv03.Match other = (Inv03.Match) obj; - return Objects.equals(fDep, other.fDep); - } else { - // this should be infrequent - if (!(obj instanceof IPatternMatch)) { - return false; - } - IPatternMatch otherSig = (IPatternMatch) obj; - return Objects.equals(specification(), otherSig.specification()) && Arrays.deepEquals(toArray(), otherSig.toArray()); - } - } - - @Override - public Inv03 specification() { - return Inv03.instance(); - } - - /** - * Returns an empty, mutable match. - * Fields of the mutable match can be filled to create a partial match, usable as matcher input. - * - * @return the empty match. - * - */ - public static Inv03.Match newEmptyMatch() { - return new Mutable(null); - } - - /** - * Returns a mutable (partial) match. - * Fields of the mutable match can be filled to create a partial match, usable as matcher input. - * - * @param pDep the fixed value of pattern parameter dep, or null if not bound. - * @return the new, mutable (partial) match object. - * - */ - public static Inv03.Match newMutableMatch(final Dependent pDep) { - return new Mutable(pDep); - } - - /** - * Returns a new (partial) match. - * This can be used e.g. to call the matcher with a partial match. - *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. - * @param pDep the fixed value of pattern parameter dep, or null if not bound. - * @return the (partial) match object. - * - */ - public static Inv03.Match newMatch(final Dependent pDep) { - return new Immutable(pDep); - } - - private static final class Mutable extends Inv03.Match { - Mutable(final Dependent pDep) { - super(pDep); - } - - @Override - public boolean isMutable() { - return true; - } - } - - private static final class Immutable extends Inv03.Match { - Immutable(final Dependent pDep) { - super(pDep); - } - - @Override - public boolean isMutable() { - return false; - } - } - } - - /** - * Generated pattern matcher API of the queries.inv03 pattern, - * providing pattern-specific query methods. - * - *

    Use the pattern matcher on a given model via {@link #on(ViatraQueryEngine)}, - * e.g. in conjunction with {@link ViatraQueryEngine#on(QueryScope)}. - * - *

    Matches of the pattern will be represented as {@link Match}. - * - *

    Original source: - *

    -   * //AttributeRemoved -{@literal >} DF
    -   * 
    -   * //inv1-External_Allowance.amount is a derived feature (TODOcheck)
    -   * //inv2-Tax_Card.income.taxPayer.taxesDue is a derived feature (TODOcheck)
    -   * 
    -   * //inv3-multiplicity adjusted
    -   * {@literal @}Constraint(message = "inv03", severity = "error", key = {dep})
    -   * pattern inv03(dep : Dependent) {
    -   *     find x_inv03_eligAll(dep);
    -   *     neg find x_inv03_hasAll(dep);
    -   * } or {
    -   * 	Dependent.birth_year(dep, by);
    -   *     check(2018-by {@literal >} 21);
    -   * 	Dependent.continued_studies(dep, false);
    -   *     Dependent.allowances(dep, _);
    -   * }
    -   * 
    - * - * @see Match - * @see Inv03 - * - */ - public static class Matcher extends BaseMatcher { - /** - * Initializes the pattern matcher within an existing VIATRA Query engine. - * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. - * - * @param engine the existing VIATRA Query engine in which this matcher will be created. - * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation - * - */ - public static Inv03.Matcher on(final ViatraQueryEngine engine) { - // check if matcher already exists - Matcher matcher = engine.getExistingMatcher(querySpecification()); - if (matcher == null) { - matcher = (Matcher)engine.getMatcher(querySpecification()); - } - return matcher; - } - - /** - * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation - * @return an initialized matcher - * @noreference This method is for internal matcher initialization by the framework, do not call it manually. - * - */ - public static Inv03.Matcher create() { - return new Matcher(); - } - - private static final int POSITION_DEP = 0; - - private static final Logger LOGGER = ViatraQueryLoggingUtil.getLogger(Inv03.Matcher.class); - - /** - * Initializes the pattern matcher within an existing VIATRA Query engine. - * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. - * - * @param engine the existing VIATRA Query engine in which this matcher will be created. - * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation - * - */ - private Matcher() { - super(querySpecification()); - } - - /** - * Returns the set of all matches of the pattern that conform to the given fixed values of some parameters. - * @param pDep the fixed value of pattern parameter dep, or null if not bound. - * @return matches represented as a Match object. - * - */ - public Collection getAllMatches(final Dependent pDep) { - return rawStreamAllMatches(new Object[]{pDep}).collect(Collectors.toSet()); - } - - /** - * Returns a stream of all matches of the pattern that conform to the given fixed values of some parameters. - *

    - * NOTE: It is important not to modify the source model while the stream is being processed. - * If the match set of the pattern changes during processing, the contents of the stream is undefined. - * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. - * @param pDep the fixed value of pattern parameter dep, or null if not bound. - * @return a stream of matches represented as a Match object. - * - */ - public Stream streamAllMatches(final Dependent pDep) { - return rawStreamAllMatches(new Object[]{pDep}); - } - - /** - * Returns an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. - * Neither determinism nor randomness of selection is guaranteed. - * @param pDep the fixed value of pattern parameter dep, or null if not bound. - * @return a match represented as a Match object, or null if no match is found. - * - */ - public Optional getOneArbitraryMatch(final Dependent pDep) { - return rawGetOneArbitraryMatch(new Object[]{pDep}); - } - - /** - * Indicates whether the given combination of specified pattern parameters constitute a valid pattern match, - * under any possible substitution of the unspecified parameters (if any). - * @param pDep the fixed value of pattern parameter dep, or null if not bound. - * @return true if the input is a valid (partial) match of the pattern. - * - */ - public boolean hasMatch(final Dependent pDep) { - return rawHasMatch(new Object[]{pDep}); - } - - /** - * Returns the number of all matches of the pattern that conform to the given fixed values of some parameters. - * @param pDep the fixed value of pattern parameter dep, or null if not bound. - * @return the number of pattern matches found. - * - */ - public int countMatches(final Dependent pDep) { - return rawCountMatches(new Object[]{pDep}); - } - - /** - * Executes the given processor on an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. - * Neither determinism nor randomness of selection is guaranteed. - * @param pDep the fixed value of pattern parameter dep, or null if not bound. - * @param processor the action that will process the selected match. - * @return true if the pattern has at least one match with the given parameter values, false if the processor was not invoked - * - */ - public boolean forOneArbitraryMatch(final Dependent pDep, final Consumer processor) { - return rawForOneArbitraryMatch(new Object[]{pDep}, processor); - } - - /** - * Returns a new (partial) match. - * This can be used e.g. to call the matcher with a partial match. - *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. - * @param pDep the fixed value of pattern parameter dep, or null if not bound. - * @return the (partial) match object. - * - */ - public Inv03.Match newMatch(final Dependent pDep) { - return Inv03.Match.newMatch(pDep); - } - - /** - * Retrieve the set of values that occur in matches for dep. - * @return the Set of all values or empty set if there are no matches - * - */ - protected Stream rawStreamAllValuesOfdep(final Object[] parameters) { - return rawStreamAllValues(POSITION_DEP, parameters).map(Dependent.class::cast); - } - - /** - * Retrieve the set of values that occur in matches for dep. - * @return the Set of all values or empty set if there are no matches - * - */ - public Set getAllValuesOfdep() { - return rawStreamAllValuesOfdep(emptyArray()).collect(Collectors.toSet()); - } - - /** - * Retrieve the set of values that occur in matches for dep. - * @return the Set of all values or empty set if there are no matches - * - */ - public Stream streamAllValuesOfdep() { - return rawStreamAllValuesOfdep(emptyArray()); - } - - @Override - protected Inv03.Match tupleToMatch(final Tuple t) { - try { - return Inv03.Match.newMatch((Dependent) t.get(POSITION_DEP)); - } catch(ClassCastException e) { - LOGGER.error("Element(s) in tuple not properly typed!",e); - return null; - } - } - - @Override - protected Inv03.Match arrayToMatch(final Object[] match) { - try { - return Inv03.Match.newMatch((Dependent) match[POSITION_DEP]); - } catch(ClassCastException e) { - LOGGER.error("Element(s) in array not properly typed!",e); - return null; - } - } - - @Override - protected Inv03.Match arrayToMatchMutable(final Object[] match) { - try { - return Inv03.Match.newMutableMatch((Dependent) match[POSITION_DEP]); - } catch(ClassCastException e) { - LOGGER.error("Element(s) in array not properly typed!",e); - return null; - } - } - - /** - * @return the singleton instance of the query specification of this pattern - * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded - * - */ - public static IQuerySpecification querySpecification() { - return Inv03.instance(); - } - } - - private Inv03() { - super(GeneratedPQuery.INSTANCE); - } - - /** - * @return the singleton instance of the query specification - * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded - * - */ - public static Inv03 instance() { - try{ - return LazyHolder.INSTANCE; - } catch (ExceptionInInitializerError err) { - throw processInitializerError(err); - } - } - - @Override - protected Inv03.Matcher instantiate(final ViatraQueryEngine engine) { - return Inv03.Matcher.on(engine); - } - - @Override - public Inv03.Matcher instantiate() { - return Inv03.Matcher.create(); - } - - @Override - public Inv03.Match newEmptyMatch() { - return Inv03.Match.newEmptyMatch(); - } - - @Override - public Inv03.Match newMatch(final Object... parameters) { - return Inv03.Match.newMatch((Taxation.Dependent) parameters[0]); - } - - /** - * Inner class allowing the singleton instance of {@link Inv03} to be created - * not at the class load time of the outer class, - * but rather at the first call to {@link Inv03#instance()}. - * - *

    This workaround is required e.g. to support recursion. - * - */ - private static class LazyHolder { - private static final Inv03 INSTANCE = new Inv03(); - - /** - * Statically initializes the query specification after the field {@link #INSTANCE} is assigned. - * This initialization order is required to support indirect recursion. - * - *

    The static initializer is defined using a helper field to work around limitations of the code generator. - * - */ - private static final Object STATIC_INITIALIZER = ensureInitialized(); - - public static Object ensureInitialized() { - INSTANCE.ensureInitializedInternal(); - return null; - } - } - - private static class GeneratedPQuery extends BaseGeneratedEMFPQuery { - private static final Inv03.GeneratedPQuery INSTANCE = new GeneratedPQuery(); - - private final PParameter parameter_dep = new PParameter("dep", "Taxation.Dependent", new EClassTransitiveInstancesKey((EClass)getClassifierLiteralSafe("http:///TaxCard.ecore", "Dependent")), PParameterDirection.INOUT); - - private final List parameters = Arrays.asList(parameter_dep); - - private GeneratedPQuery() { - super(PVisibility.PUBLIC); - } - - @Override - public String getFullyQualifiedName() { - return "queries.inv03"; - } - - @Override - public List getParameterNames() { - return Arrays.asList("dep"); - } - - @Override - public List getParameters() { - return parameters; - } - - @Override - public Set doGetContainedBodies() { - setEvaluationHints(new QueryEvaluationHint(null, QueryEvaluationHint.BackendRequirement.UNSPECIFIED)); - Set bodies = new LinkedHashSet<>(); - { - PBody body = new PBody(this); - PVariable var_dep = body.getOrCreateVariableByName("dep"); - new TypeConstraint(body, Tuples.flatTupleOf(var_dep), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Dependent"))); - body.setSymbolicParameters(Arrays.asList( - new ExportedParameter(body, var_dep, parameter_dep) - )); - // find x_inv03_eligAll(dep) - new PositivePatternCall(body, Tuples.flatTupleOf(var_dep), X_inv03_eligAll.instance().getInternalQueryRepresentation()); - // neg find x_inv03_hasAll(dep) - new NegativePatternCall(body, Tuples.flatTupleOf(var_dep), X_inv03_hasAll.instance().getInternalQueryRepresentation()); - bodies.add(body); - } - { - PBody body = new PBody(this); - PVariable var_dep = body.getOrCreateVariableByName("dep"); - PVariable var_by = body.getOrCreateVariableByName("by"); - PVariable var___0_ = body.getOrCreateVariableByName("_<0>"); - new TypeConstraint(body, Tuples.flatTupleOf(var_dep), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Dependent"))); - body.setSymbolicParameters(Arrays.asList( - new ExportedParameter(body, var_dep, parameter_dep) - )); - // Dependent.birth_year(dep, by) - new TypeConstraint(body, Tuples.flatTupleOf(var_dep), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Dependent"))); - PVariable var__virtual_0_ = body.getOrCreateVariableByName(".virtual{0}"); - new TypeConstraint(body, Tuples.flatTupleOf(var_dep, var__virtual_0_), new EStructuralFeatureInstancesKey(getFeatureLiteral("http:///TaxCard.ecore", "Physical_Person", "birth_year"))); - new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_0_), new EDataTypeInSlotsKey((EDataType)getClassifierLiteral("http://www.eclipse.org/emf/2002/Ecore", "EInt"))); - new Equality(body, var__virtual_0_, var_by); - // check(2018-by > 21) - new ExpressionEvaluation(body, new IExpressionEvaluator() { - - @Override - public String getShortDescription() { - return "Expression evaluation from pattern inv03"; - } - - @Override - public Iterable getInputParameterNames() { - return Arrays.asList("by");} - - @Override - public Object evaluateExpression(IValueProvider provider) throws Exception { - Integer by = (Integer) provider.getValue("by"); - return evaluateExpression_2_1(by); - } - }, null); - // Dependent.continued_studies(dep, false) - PVariable var__virtual_1_ = body.getOrCreateVariableByName(".virtual{1}"); - new ConstantValue(body, var__virtual_1_, false); - new TypeConstraint(body, Tuples.flatTupleOf(var_dep), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Dependent"))); - PVariable var__virtual_2_ = body.getOrCreateVariableByName(".virtual{2}"); - new TypeConstraint(body, Tuples.flatTupleOf(var_dep, var__virtual_2_), new EStructuralFeatureInstancesKey(getFeatureLiteral("http:///TaxCard.ecore", "Dependent", "continued_studies"))); - new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_2_), new EDataTypeInSlotsKey((EDataType)getClassifierLiteral("http://www.eclipse.org/emf/2002/Ecore", "EBoolean"))); - new Equality(body, var__virtual_2_, var__virtual_1_); - // Dependent.allowances(dep, _) - new TypeConstraint(body, Tuples.flatTupleOf(var_dep), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Dependent"))); - PVariable var__virtual_3_ = body.getOrCreateVariableByName(".virtual{3}"); - new TypeConstraint(body, Tuples.flatTupleOf(var_dep, var__virtual_3_), new EStructuralFeatureInstancesKey(getFeatureLiteral("http:///TaxCard.ecore", "Dependent", "allowances"))); - new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_3_), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "External_Allowance"))); - new Equality(body, var__virtual_3_, var___0_); - bodies.add(body); - } - { - PAnnotation annotation = new PAnnotation("Constraint"); - annotation.addAttribute("message", "inv03"); - annotation.addAttribute("severity", "error"); - annotation.addAttribute("key", Arrays.asList(new Object[] { - new ParameterReference("dep") - })); - addAnnotation(annotation); - } - return bodies; - } - } - - private static boolean evaluateExpression_2_1(final Integer by) { - return ((2018 - (by).intValue()) > 21); - } - - private static boolean evaluateExpression_2_2() { - return false; - } -} diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/Inv05.java b/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/Inv05.java deleted file mode 100644 index 2dee094d..00000000 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/Inv05.java +++ /dev/null @@ -1,701 +0,0 @@ -/** - * Generated from platform:/resource/case.study.pledge.run/src/queries/case_study_A.vql - */ -package queries; - -import Taxation.Income; -import java.util.Arrays; -import java.util.Collection; -import java.util.LinkedHashSet; -import java.util.List; -import java.util.Objects; -import java.util.Optional; -import java.util.Set; -import java.util.function.Consumer; -import java.util.stream.Collectors; -import java.util.stream.Stream; -import org.apache.log4j.Logger; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EDataType; -import org.eclipse.viatra.query.runtime.api.IPatternMatch; -import org.eclipse.viatra.query.runtime.api.IQuerySpecification; -import org.eclipse.viatra.query.runtime.api.ViatraQueryEngine; -import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFPQuery; -import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFQuerySpecification; -import org.eclipse.viatra.query.runtime.api.impl.BaseMatcher; -import org.eclipse.viatra.query.runtime.api.impl.BasePatternMatch; -import org.eclipse.viatra.query.runtime.emf.types.EClassTransitiveInstancesKey; -import org.eclipse.viatra.query.runtime.emf.types.EDataTypeInSlotsKey; -import org.eclipse.viatra.query.runtime.emf.types.EStructuralFeatureInstancesKey; -import org.eclipse.viatra.query.runtime.matchers.backend.QueryEvaluationHint; -import org.eclipse.viatra.query.runtime.matchers.psystem.IExpressionEvaluator; -import org.eclipse.viatra.query.runtime.matchers.psystem.IValueProvider; -import org.eclipse.viatra.query.runtime.matchers.psystem.PBody; -import org.eclipse.viatra.query.runtime.matchers.psystem.PVariable; -import org.eclipse.viatra.query.runtime.matchers.psystem.annotations.PAnnotation; -import org.eclipse.viatra.query.runtime.matchers.psystem.annotations.ParameterReference; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.Equality; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.ExportedParameter; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.ExpressionEvaluation; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.NegativePatternCall; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicenumerables.PositivePatternCall; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicenumerables.TypeConstraint; -import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameter; -import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameterDirection; -import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PVisibility; -import org.eclipse.viatra.query.runtime.matchers.tuple.Tuple; -import org.eclipse.viatra.query.runtime.matchers.tuple.Tuples; -import org.eclipse.viatra.query.runtime.util.ViatraQueryLoggingUtil; -import queries.X_inv05_inRange; -import queries.X_inv08_noType; -import queries.X_inv08_notEI; - -/** - * A pattern-specific query specification that can instantiate Matcher in a type-safe way. - * - *

    Original source: - *

    - *         //inv5 - oclIsTypeOf - handled here
    - *         {@literal @}Constraint(message = "inv05", severity = "error", key = {inc})
    - *         pattern inv05(inc : Income) {
    - *         	//income_type: None
    - *             neg find x_inv08_noType(inc);
    - *             Income.details.worked_days(inc, wd);
    - *             check(wd != 0);
    - *         } or {
    - *         	//income_type: Not Employment_Income
    - *             Income.income_type(inc, type);
    - *             neg find x_inv08_notEI(type);
    - *             Income.details.worked_days(inc, wd);
    - *             check(wd != 0);
    - *         } or {
    - *         	//income_type: Employment Income
    - *         	Income.income_type(inc, type);
    - *             Employment_Income(type);
    - *             find x_inv05_inRange(inc);
    - *         }
    - * 
    - * - * @see Matcher - * @see Match - * - */ -@SuppressWarnings("all") -public final class Inv05 extends BaseGeneratedEMFQuerySpecification { - /** - * Pattern-specific match representation of the queries.inv05 pattern, - * to be used in conjunction with {@link Matcher}. - * - *

    Class fields correspond to parameters of the pattern. Fields with value null are considered unassigned. - * Each instance is a (possibly partial) substitution of pattern parameters, - * usable to represent a match of the pattern in the result of a query, - * or to specify the bound (fixed) input parameters when issuing a query. - * - * @see Matcher - * - */ - public static abstract class Match extends BasePatternMatch { - private Income fInc; - - private static List parameterNames = makeImmutableList("inc"); - - private Match(final Income pInc) { - this.fInc = pInc; - } - - @Override - public Object get(final String parameterName) { - switch(parameterName) { - case "inc": return this.fInc; - default: return null; - } - } - - @Override - public Object get(final int index) { - switch(index) { - case 0: return this.fInc; - default: return null; - } - } - - public Income getInc() { - return this.fInc; - } - - @Override - public boolean set(final String parameterName, final Object newValue) { - if (!isMutable()) throw new java.lang.UnsupportedOperationException(); - if ("inc".equals(parameterName) ) { - this.fInc = (Income) newValue; - return true; - } - return false; - } - - public void setInc(final Income pInc) { - if (!isMutable()) throw new java.lang.UnsupportedOperationException(); - this.fInc = pInc; - } - - @Override - public String patternName() { - return "queries.inv05"; - } - - @Override - public List parameterNames() { - return Inv05.Match.parameterNames; - } - - @Override - public Object[] toArray() { - return new Object[]{fInc}; - } - - @Override - public Inv05.Match toImmutable() { - return isMutable() ? newMatch(fInc) : this; - } - - @Override - public String prettyPrint() { - StringBuilder result = new StringBuilder(); - result.append("\"inc\"=" + prettyPrintValue(fInc)); - return result.toString(); - } - - @Override - public int hashCode() { - return Objects.hash(fInc); - } - - @Override - public boolean equals(final Object obj) { - if (this == obj) - return true; - if (obj == null) { - return false; - } - if ((obj instanceof Inv05.Match)) { - Inv05.Match other = (Inv05.Match) obj; - return Objects.equals(fInc, other.fInc); - } else { - // this should be infrequent - if (!(obj instanceof IPatternMatch)) { - return false; - } - IPatternMatch otherSig = (IPatternMatch) obj; - return Objects.equals(specification(), otherSig.specification()) && Arrays.deepEquals(toArray(), otherSig.toArray()); - } - } - - @Override - public Inv05 specification() { - return Inv05.instance(); - } - - /** - * Returns an empty, mutable match. - * Fields of the mutable match can be filled to create a partial match, usable as matcher input. - * - * @return the empty match. - * - */ - public static Inv05.Match newEmptyMatch() { - return new Mutable(null); - } - - /** - * Returns a mutable (partial) match. - * Fields of the mutable match can be filled to create a partial match, usable as matcher input. - * - * @param pInc the fixed value of pattern parameter inc, or null if not bound. - * @return the new, mutable (partial) match object. - * - */ - public static Inv05.Match newMutableMatch(final Income pInc) { - return new Mutable(pInc); - } - - /** - * Returns a new (partial) match. - * This can be used e.g. to call the matcher with a partial match. - *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. - * @param pInc the fixed value of pattern parameter inc, or null if not bound. - * @return the (partial) match object. - * - */ - public static Inv05.Match newMatch(final Income pInc) { - return new Immutable(pInc); - } - - private static final class Mutable extends Inv05.Match { - Mutable(final Income pInc) { - super(pInc); - } - - @Override - public boolean isMutable() { - return true; - } - } - - private static final class Immutable extends Inv05.Match { - Immutable(final Income pInc) { - super(pInc); - } - - @Override - public boolean isMutable() { - return false; - } - } - } - - /** - * Generated pattern matcher API of the queries.inv05 pattern, - * providing pattern-specific query methods. - * - *

    Use the pattern matcher on a given model via {@link #on(ViatraQueryEngine)}, - * e.g. in conjunction with {@link ViatraQueryEngine#on(QueryScope)}. - * - *

    Matches of the pattern will be represented as {@link Match}. - * - *

    Original source: - *

    -   * //inv5 - oclIsTypeOf - handled here
    -   * {@literal @}Constraint(message = "inv05", severity = "error", key = {inc})
    -   * pattern inv05(inc : Income) {
    -   * 	//income_type: None
    -   *     neg find x_inv08_noType(inc);
    -   *     Income.details.worked_days(inc, wd);
    -   *     check(wd != 0);
    -   * } or {
    -   * 	//income_type: Not Employment_Income
    -   *     Income.income_type(inc, type);
    -   *     neg find x_inv08_notEI(type);
    -   *     Income.details.worked_days(inc, wd);
    -   *     check(wd != 0);
    -   * } or {
    -   * 	//income_type: Employment Income
    -   * 	Income.income_type(inc, type);
    -   *     Employment_Income(type);
    -   *     find x_inv05_inRange(inc);
    -   * }
    -   * 
    - * - * @see Match - * @see Inv05 - * - */ - public static class Matcher extends BaseMatcher { - /** - * Initializes the pattern matcher within an existing VIATRA Query engine. - * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. - * - * @param engine the existing VIATRA Query engine in which this matcher will be created. - * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation - * - */ - public static Inv05.Matcher on(final ViatraQueryEngine engine) { - // check if matcher already exists - Matcher matcher = engine.getExistingMatcher(querySpecification()); - if (matcher == null) { - matcher = (Matcher)engine.getMatcher(querySpecification()); - } - return matcher; - } - - /** - * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation - * @return an initialized matcher - * @noreference This method is for internal matcher initialization by the framework, do not call it manually. - * - */ - public static Inv05.Matcher create() { - return new Matcher(); - } - - private static final int POSITION_INC = 0; - - private static final Logger LOGGER = ViatraQueryLoggingUtil.getLogger(Inv05.Matcher.class); - - /** - * Initializes the pattern matcher within an existing VIATRA Query engine. - * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. - * - * @param engine the existing VIATRA Query engine in which this matcher will be created. - * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation - * - */ - private Matcher() { - super(querySpecification()); - } - - /** - * Returns the set of all matches of the pattern that conform to the given fixed values of some parameters. - * @param pInc the fixed value of pattern parameter inc, or null if not bound. - * @return matches represented as a Match object. - * - */ - public Collection getAllMatches(final Income pInc) { - return rawStreamAllMatches(new Object[]{pInc}).collect(Collectors.toSet()); - } - - /** - * Returns a stream of all matches of the pattern that conform to the given fixed values of some parameters. - *

    - * NOTE: It is important not to modify the source model while the stream is being processed. - * If the match set of the pattern changes during processing, the contents of the stream is undefined. - * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. - * @param pInc the fixed value of pattern parameter inc, or null if not bound. - * @return a stream of matches represented as a Match object. - * - */ - public Stream streamAllMatches(final Income pInc) { - return rawStreamAllMatches(new Object[]{pInc}); - } - - /** - * Returns an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. - * Neither determinism nor randomness of selection is guaranteed. - * @param pInc the fixed value of pattern parameter inc, or null if not bound. - * @return a match represented as a Match object, or null if no match is found. - * - */ - public Optional getOneArbitraryMatch(final Income pInc) { - return rawGetOneArbitraryMatch(new Object[]{pInc}); - } - - /** - * Indicates whether the given combination of specified pattern parameters constitute a valid pattern match, - * under any possible substitution of the unspecified parameters (if any). - * @param pInc the fixed value of pattern parameter inc, or null if not bound. - * @return true if the input is a valid (partial) match of the pattern. - * - */ - public boolean hasMatch(final Income pInc) { - return rawHasMatch(new Object[]{pInc}); - } - - /** - * Returns the number of all matches of the pattern that conform to the given fixed values of some parameters. - * @param pInc the fixed value of pattern parameter inc, or null if not bound. - * @return the number of pattern matches found. - * - */ - public int countMatches(final Income pInc) { - return rawCountMatches(new Object[]{pInc}); - } - - /** - * Executes the given processor on an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. - * Neither determinism nor randomness of selection is guaranteed. - * @param pInc the fixed value of pattern parameter inc, or null if not bound. - * @param processor the action that will process the selected match. - * @return true if the pattern has at least one match with the given parameter values, false if the processor was not invoked - * - */ - public boolean forOneArbitraryMatch(final Income pInc, final Consumer processor) { - return rawForOneArbitraryMatch(new Object[]{pInc}, processor); - } - - /** - * Returns a new (partial) match. - * This can be used e.g. to call the matcher with a partial match. - *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. - * @param pInc the fixed value of pattern parameter inc, or null if not bound. - * @return the (partial) match object. - * - */ - public Inv05.Match newMatch(final Income pInc) { - return Inv05.Match.newMatch(pInc); - } - - /** - * Retrieve the set of values that occur in matches for inc. - * @return the Set of all values or empty set if there are no matches - * - */ - protected Stream rawStreamAllValuesOfinc(final Object[] parameters) { - return rawStreamAllValues(POSITION_INC, parameters).map(Income.class::cast); - } - - /** - * Retrieve the set of values that occur in matches for inc. - * @return the Set of all values or empty set if there are no matches - * - */ - public Set getAllValuesOfinc() { - return rawStreamAllValuesOfinc(emptyArray()).collect(Collectors.toSet()); - } - - /** - * Retrieve the set of values that occur in matches for inc. - * @return the Set of all values or empty set if there are no matches - * - */ - public Stream streamAllValuesOfinc() { - return rawStreamAllValuesOfinc(emptyArray()); - } - - @Override - protected Inv05.Match tupleToMatch(final Tuple t) { - try { - return Inv05.Match.newMatch((Income) t.get(POSITION_INC)); - } catch(ClassCastException e) { - LOGGER.error("Element(s) in tuple not properly typed!",e); - return null; - } - } - - @Override - protected Inv05.Match arrayToMatch(final Object[] match) { - try { - return Inv05.Match.newMatch((Income) match[POSITION_INC]); - } catch(ClassCastException e) { - LOGGER.error("Element(s) in array not properly typed!",e); - return null; - } - } - - @Override - protected Inv05.Match arrayToMatchMutable(final Object[] match) { - try { - return Inv05.Match.newMutableMatch((Income) match[POSITION_INC]); - } catch(ClassCastException e) { - LOGGER.error("Element(s) in array not properly typed!",e); - return null; - } - } - - /** - * @return the singleton instance of the query specification of this pattern - * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded - * - */ - public static IQuerySpecification querySpecification() { - return Inv05.instance(); - } - } - - private Inv05() { - super(GeneratedPQuery.INSTANCE); - } - - /** - * @return the singleton instance of the query specification - * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded - * - */ - public static Inv05 instance() { - try{ - return LazyHolder.INSTANCE; - } catch (ExceptionInInitializerError err) { - throw processInitializerError(err); - } - } - - @Override - protected Inv05.Matcher instantiate(final ViatraQueryEngine engine) { - return Inv05.Matcher.on(engine); - } - - @Override - public Inv05.Matcher instantiate() { - return Inv05.Matcher.create(); - } - - @Override - public Inv05.Match newEmptyMatch() { - return Inv05.Match.newEmptyMatch(); - } - - @Override - public Inv05.Match newMatch(final Object... parameters) { - return Inv05.Match.newMatch((Taxation.Income) parameters[0]); - } - - /** - * Inner class allowing the singleton instance of {@link Inv05} to be created - * not at the class load time of the outer class, - * but rather at the first call to {@link Inv05#instance()}. - * - *

    This workaround is required e.g. to support recursion. - * - */ - private static class LazyHolder { - private static final Inv05 INSTANCE = new Inv05(); - - /** - * Statically initializes the query specification after the field {@link #INSTANCE} is assigned. - * This initialization order is required to support indirect recursion. - * - *

    The static initializer is defined using a helper field to work around limitations of the code generator. - * - */ - private static final Object STATIC_INITIALIZER = ensureInitialized(); - - public static Object ensureInitialized() { - INSTANCE.ensureInitializedInternal(); - return null; - } - } - - private static class GeneratedPQuery extends BaseGeneratedEMFPQuery { - private static final Inv05.GeneratedPQuery INSTANCE = new GeneratedPQuery(); - - private final PParameter parameter_inc = new PParameter("inc", "Taxation.Income", new EClassTransitiveInstancesKey((EClass)getClassifierLiteralSafe("http:///TaxCard.ecore", "Income")), PParameterDirection.INOUT); - - private final List parameters = Arrays.asList(parameter_inc); - - private GeneratedPQuery() { - super(PVisibility.PUBLIC); - } - - @Override - public String getFullyQualifiedName() { - return "queries.inv05"; - } - - @Override - public List getParameterNames() { - return Arrays.asList("inc"); - } - - @Override - public List getParameters() { - return parameters; - } - - @Override - public Set doGetContainedBodies() { - setEvaluationHints(new QueryEvaluationHint(null, QueryEvaluationHint.BackendRequirement.UNSPECIFIED)); - Set bodies = new LinkedHashSet<>(); - { - PBody body = new PBody(this); - PVariable var_inc = body.getOrCreateVariableByName("inc"); - PVariable var_wd = body.getOrCreateVariableByName("wd"); - new TypeConstraint(body, Tuples.flatTupleOf(var_inc), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Income"))); - body.setSymbolicParameters(Arrays.asList( - new ExportedParameter(body, var_inc, parameter_inc) - )); - // //income_type: None neg find x_inv08_noType(inc) - new NegativePatternCall(body, Tuples.flatTupleOf(var_inc), X_inv08_noType.instance().getInternalQueryRepresentation()); - // Income.details.worked_days(inc, wd) - new TypeConstraint(body, Tuples.flatTupleOf(var_inc), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Income"))); - PVariable var__virtual_0_ = body.getOrCreateVariableByName(".virtual{0}"); - new TypeConstraint(body, Tuples.flatTupleOf(var_inc, var__virtual_0_), new EStructuralFeatureInstancesKey(getFeatureLiteral("http:///TaxCard.ecore", "Income", "details"))); - new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_0_), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Income_Detail"))); - PVariable var__virtual_1_ = body.getOrCreateVariableByName(".virtual{1}"); - new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_0_, var__virtual_1_), new EStructuralFeatureInstancesKey(getFeatureLiteral("http:///TaxCard.ecore", "Income_Detail", "worked_days"))); - new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_1_), new EDataTypeInSlotsKey((EDataType)getClassifierLiteral("http://www.eclipse.org/emf/2002/Ecore", "EInt"))); - new Equality(body, var__virtual_1_, var_wd); - // check(wd != 0) - new ExpressionEvaluation(body, new IExpressionEvaluator() { - - @Override - public String getShortDescription() { - return "Expression evaluation from pattern inv05"; - } - - @Override - public Iterable getInputParameterNames() { - return Arrays.asList("wd");} - - @Override - public Object evaluateExpression(IValueProvider provider) throws Exception { - Integer wd = (Integer) provider.getValue("wd"); - return evaluateExpression_1_1(wd); - } - }, null); - bodies.add(body); - } - { - PBody body = new PBody(this); - PVariable var_inc = body.getOrCreateVariableByName("inc"); - PVariable var_type = body.getOrCreateVariableByName("type"); - PVariable var_wd = body.getOrCreateVariableByName("wd"); - new TypeConstraint(body, Tuples.flatTupleOf(var_inc), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Income"))); - body.setSymbolicParameters(Arrays.asList( - new ExportedParameter(body, var_inc, parameter_inc) - )); - // //income_type: Not Employment_Income Income.income_type(inc, type) - new TypeConstraint(body, Tuples.flatTupleOf(var_inc), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Income"))); - PVariable var__virtual_0_ = body.getOrCreateVariableByName(".virtual{0}"); - new TypeConstraint(body, Tuples.flatTupleOf(var_inc, var__virtual_0_), new EStructuralFeatureInstancesKey(getFeatureLiteral("http:///TaxCard.ecore", "Income", "income_type"))); - new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_0_), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Income_Type"))); - new Equality(body, var__virtual_0_, var_type); - // neg find x_inv08_notEI(type) - new NegativePatternCall(body, Tuples.flatTupleOf(var_type), X_inv08_notEI.instance().getInternalQueryRepresentation()); - // Income.details.worked_days(inc, wd) - new TypeConstraint(body, Tuples.flatTupleOf(var_inc), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Income"))); - PVariable var__virtual_1_ = body.getOrCreateVariableByName(".virtual{1}"); - new TypeConstraint(body, Tuples.flatTupleOf(var_inc, var__virtual_1_), new EStructuralFeatureInstancesKey(getFeatureLiteral("http:///TaxCard.ecore", "Income", "details"))); - new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_1_), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Income_Detail"))); - PVariable var__virtual_2_ = body.getOrCreateVariableByName(".virtual{2}"); - new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_1_, var__virtual_2_), new EStructuralFeatureInstancesKey(getFeatureLiteral("http:///TaxCard.ecore", "Income_Detail", "worked_days"))); - new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_2_), new EDataTypeInSlotsKey((EDataType)getClassifierLiteral("http://www.eclipse.org/emf/2002/Ecore", "EInt"))); - new Equality(body, var__virtual_2_, var_wd); - // check(wd != 0) - new ExpressionEvaluation(body, new IExpressionEvaluator() { - - @Override - public String getShortDescription() { - return "Expression evaluation from pattern inv05"; - } - - @Override - public Iterable getInputParameterNames() { - return Arrays.asList("wd");} - - @Override - public Object evaluateExpression(IValueProvider provider) throws Exception { - Integer wd = (Integer) provider.getValue("wd"); - return evaluateExpression_2_1(wd); - } - }, null); - bodies.add(body); - } - { - PBody body = new PBody(this); - PVariable var_inc = body.getOrCreateVariableByName("inc"); - PVariable var_type = body.getOrCreateVariableByName("type"); - new TypeConstraint(body, Tuples.flatTupleOf(var_inc), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Income"))); - body.setSymbolicParameters(Arrays.asList( - new ExportedParameter(body, var_inc, parameter_inc) - )); - // //income_type: Employment Income Income.income_type(inc, type) - new TypeConstraint(body, Tuples.flatTupleOf(var_inc), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Income"))); - PVariable var__virtual_0_ = body.getOrCreateVariableByName(".virtual{0}"); - new TypeConstraint(body, Tuples.flatTupleOf(var_inc, var__virtual_0_), new EStructuralFeatureInstancesKey(getFeatureLiteral("http:///TaxCard.ecore", "Income", "income_type"))); - new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_0_), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Income_Type"))); - new Equality(body, var__virtual_0_, var_type); - // Employment_Income(type) - new TypeConstraint(body, Tuples.flatTupleOf(var_type), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Employment_Income"))); - // find x_inv05_inRange(inc) - new PositivePatternCall(body, Tuples.flatTupleOf(var_inc), X_inv05_inRange.instance().getInternalQueryRepresentation()); - bodies.add(body); - } - { - PAnnotation annotation = new PAnnotation("Constraint"); - annotation.addAttribute("message", "inv05"); - annotation.addAttribute("severity", "error"); - annotation.addAttribute("key", Arrays.asList(new Object[] { - new ParameterReference("inc") - })); - addAnnotation(annotation); - } - return bodies; - } - } - - private static boolean evaluateExpression_1_1(final Integer wd) { - return ((wd).intValue() != 0); - } - - private static boolean evaluateExpression_2_1(final Integer wd) { - return ((wd).intValue() != 0); - } -} diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/Inv06.java b/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/Inv06.java deleted file mode 100644 index aafdbe41..00000000 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/Inv06.java +++ /dev/null @@ -1,669 +0,0 @@ -/** - * Generated from platform:/resource/case.study.pledge.run/src/queries/case_study_A.vql - */ -package queries; - -import Taxation.Tax_Payer; -import java.util.Arrays; -import java.util.Collection; -import java.util.LinkedHashSet; -import java.util.List; -import java.util.Objects; -import java.util.Optional; -import java.util.Set; -import java.util.function.Consumer; -import java.util.stream.Collectors; -import java.util.stream.Stream; -import org.apache.log4j.Logger; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EDataType; -import org.eclipse.viatra.query.runtime.api.IPatternMatch; -import org.eclipse.viatra.query.runtime.api.IQuerySpecification; -import org.eclipse.viatra.query.runtime.api.ViatraQueryEngine; -import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFPQuery; -import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFQuerySpecification; -import org.eclipse.viatra.query.runtime.api.impl.BaseMatcher; -import org.eclipse.viatra.query.runtime.api.impl.BasePatternMatch; -import org.eclipse.viatra.query.runtime.emf.types.EClassTransitiveInstancesKey; -import org.eclipse.viatra.query.runtime.emf.types.EDataTypeInSlotsKey; -import org.eclipse.viatra.query.runtime.emf.types.EStructuralFeatureInstancesKey; -import org.eclipse.viatra.query.runtime.matchers.backend.QueryEvaluationHint; -import org.eclipse.viatra.query.runtime.matchers.psystem.IExpressionEvaluator; -import org.eclipse.viatra.query.runtime.matchers.psystem.IValueProvider; -import org.eclipse.viatra.query.runtime.matchers.psystem.PBody; -import org.eclipse.viatra.query.runtime.matchers.psystem.PVariable; -import org.eclipse.viatra.query.runtime.matchers.psystem.annotations.PAnnotation; -import org.eclipse.viatra.query.runtime.matchers.psystem.annotations.ParameterReference; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.Equality; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.ExportedParameter; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.ExpressionEvaluation; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicenumerables.TypeConstraint; -import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameter; -import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameterDirection; -import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PVisibility; -import org.eclipse.viatra.query.runtime.matchers.tuple.Tuple; -import org.eclipse.viatra.query.runtime.matchers.tuple.Tuples; -import org.eclipse.viatra.query.runtime.util.ViatraQueryLoggingUtil; - -/** - * A pattern-specific query specification that can instantiate Matcher in a type-safe way. - * - *

    Original source: - *

    - *         //inv6-Does not make sens, but directly from OCL
    - *         //first part of or from definition of getAge()
    - *         {@literal @}Constraint(message = "inv06", severity = "error", key = {tp})
    - *         pattern inv06(tp : Tax_Payer) {
    - *             Tax_Payer.dependents(tp, _);
    - *         	Tax_Payer.birth_year(tp, TPBy);
    - *         	check(2018 - TPBy {@literal >} 2018-16);
    - *         } or {
    - *         	Tax_Payer.birth_year(tp, TPBy);
    - *             Tax_Payer.dependents(tp, dep);
    - *             Dependent.birth_year(dep, DepBy);
    - *             check(2018-DepBy {@literal <}= 2018-TPBy-16);
    - *         }
    - * 
    - * - * @see Matcher - * @see Match - * - */ -@SuppressWarnings("all") -public final class Inv06 extends BaseGeneratedEMFQuerySpecification { - /** - * Pattern-specific match representation of the queries.inv06 pattern, - * to be used in conjunction with {@link Matcher}. - * - *

    Class fields correspond to parameters of the pattern. Fields with value null are considered unassigned. - * Each instance is a (possibly partial) substitution of pattern parameters, - * usable to represent a match of the pattern in the result of a query, - * or to specify the bound (fixed) input parameters when issuing a query. - * - * @see Matcher - * - */ - public static abstract class Match extends BasePatternMatch { - private Tax_Payer fTp; - - private static List parameterNames = makeImmutableList("tp"); - - private Match(final Tax_Payer pTp) { - this.fTp = pTp; - } - - @Override - public Object get(final String parameterName) { - switch(parameterName) { - case "tp": return this.fTp; - default: return null; - } - } - - @Override - public Object get(final int index) { - switch(index) { - case 0: return this.fTp; - default: return null; - } - } - - public Tax_Payer getTp() { - return this.fTp; - } - - @Override - public boolean set(final String parameterName, final Object newValue) { - if (!isMutable()) throw new java.lang.UnsupportedOperationException(); - if ("tp".equals(parameterName) ) { - this.fTp = (Tax_Payer) newValue; - return true; - } - return false; - } - - public void setTp(final Tax_Payer pTp) { - if (!isMutable()) throw new java.lang.UnsupportedOperationException(); - this.fTp = pTp; - } - - @Override - public String patternName() { - return "queries.inv06"; - } - - @Override - public List parameterNames() { - return Inv06.Match.parameterNames; - } - - @Override - public Object[] toArray() { - return new Object[]{fTp}; - } - - @Override - public Inv06.Match toImmutable() { - return isMutable() ? newMatch(fTp) : this; - } - - @Override - public String prettyPrint() { - StringBuilder result = new StringBuilder(); - result.append("\"tp\"=" + prettyPrintValue(fTp)); - return result.toString(); - } - - @Override - public int hashCode() { - return Objects.hash(fTp); - } - - @Override - public boolean equals(final Object obj) { - if (this == obj) - return true; - if (obj == null) { - return false; - } - if ((obj instanceof Inv06.Match)) { - Inv06.Match other = (Inv06.Match) obj; - return Objects.equals(fTp, other.fTp); - } else { - // this should be infrequent - if (!(obj instanceof IPatternMatch)) { - return false; - } - IPatternMatch otherSig = (IPatternMatch) obj; - return Objects.equals(specification(), otherSig.specification()) && Arrays.deepEquals(toArray(), otherSig.toArray()); - } - } - - @Override - public Inv06 specification() { - return Inv06.instance(); - } - - /** - * Returns an empty, mutable match. - * Fields of the mutable match can be filled to create a partial match, usable as matcher input. - * - * @return the empty match. - * - */ - public static Inv06.Match newEmptyMatch() { - return new Mutable(null); - } - - /** - * Returns a mutable (partial) match. - * Fields of the mutable match can be filled to create a partial match, usable as matcher input. - * - * @param pTp the fixed value of pattern parameter tp, or null if not bound. - * @return the new, mutable (partial) match object. - * - */ - public static Inv06.Match newMutableMatch(final Tax_Payer pTp) { - return new Mutable(pTp); - } - - /** - * Returns a new (partial) match. - * This can be used e.g. to call the matcher with a partial match. - *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. - * @param pTp the fixed value of pattern parameter tp, or null if not bound. - * @return the (partial) match object. - * - */ - public static Inv06.Match newMatch(final Tax_Payer pTp) { - return new Immutable(pTp); - } - - private static final class Mutable extends Inv06.Match { - Mutable(final Tax_Payer pTp) { - super(pTp); - } - - @Override - public boolean isMutable() { - return true; - } - } - - private static final class Immutable extends Inv06.Match { - Immutable(final Tax_Payer pTp) { - super(pTp); - } - - @Override - public boolean isMutable() { - return false; - } - } - } - - /** - * Generated pattern matcher API of the queries.inv06 pattern, - * providing pattern-specific query methods. - * - *

    Use the pattern matcher on a given model via {@link #on(ViatraQueryEngine)}, - * e.g. in conjunction with {@link ViatraQueryEngine#on(QueryScope)}. - * - *

    Matches of the pattern will be represented as {@link Match}. - * - *

    Original source: - *

    -   * //inv6-Does not make sens, but directly from OCL
    -   * //first part of or from definition of getAge()
    -   * {@literal @}Constraint(message = "inv06", severity = "error", key = {tp})
    -   * pattern inv06(tp : Tax_Payer) {
    -   *     Tax_Payer.dependents(tp, _);
    -   * 	Tax_Payer.birth_year(tp, TPBy);
    -   * 	check(2018 - TPBy {@literal >} 2018-16);
    -   * } or {
    -   * 	Tax_Payer.birth_year(tp, TPBy);
    -   *     Tax_Payer.dependents(tp, dep);
    -   *     Dependent.birth_year(dep, DepBy);
    -   *     check(2018-DepBy {@literal <}= 2018-TPBy-16);
    -   * }
    -   * 
    - * - * @see Match - * @see Inv06 - * - */ - public static class Matcher extends BaseMatcher { - /** - * Initializes the pattern matcher within an existing VIATRA Query engine. - * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. - * - * @param engine the existing VIATRA Query engine in which this matcher will be created. - * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation - * - */ - public static Inv06.Matcher on(final ViatraQueryEngine engine) { - // check if matcher already exists - Matcher matcher = engine.getExistingMatcher(querySpecification()); - if (matcher == null) { - matcher = (Matcher)engine.getMatcher(querySpecification()); - } - return matcher; - } - - /** - * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation - * @return an initialized matcher - * @noreference This method is for internal matcher initialization by the framework, do not call it manually. - * - */ - public static Inv06.Matcher create() { - return new Matcher(); - } - - private static final int POSITION_TP = 0; - - private static final Logger LOGGER = ViatraQueryLoggingUtil.getLogger(Inv06.Matcher.class); - - /** - * Initializes the pattern matcher within an existing VIATRA Query engine. - * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. - * - * @param engine the existing VIATRA Query engine in which this matcher will be created. - * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation - * - */ - private Matcher() { - super(querySpecification()); - } - - /** - * Returns the set of all matches of the pattern that conform to the given fixed values of some parameters. - * @param pTp the fixed value of pattern parameter tp, or null if not bound. - * @return matches represented as a Match object. - * - */ - public Collection getAllMatches(final Tax_Payer pTp) { - return rawStreamAllMatches(new Object[]{pTp}).collect(Collectors.toSet()); - } - - /** - * Returns a stream of all matches of the pattern that conform to the given fixed values of some parameters. - *

    - * NOTE: It is important not to modify the source model while the stream is being processed. - * If the match set of the pattern changes during processing, the contents of the stream is undefined. - * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. - * @param pTp the fixed value of pattern parameter tp, or null if not bound. - * @return a stream of matches represented as a Match object. - * - */ - public Stream streamAllMatches(final Tax_Payer pTp) { - return rawStreamAllMatches(new Object[]{pTp}); - } - - /** - * Returns an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. - * Neither determinism nor randomness of selection is guaranteed. - * @param pTp the fixed value of pattern parameter tp, or null if not bound. - * @return a match represented as a Match object, or null if no match is found. - * - */ - public Optional getOneArbitraryMatch(final Tax_Payer pTp) { - return rawGetOneArbitraryMatch(new Object[]{pTp}); - } - - /** - * Indicates whether the given combination of specified pattern parameters constitute a valid pattern match, - * under any possible substitution of the unspecified parameters (if any). - * @param pTp the fixed value of pattern parameter tp, or null if not bound. - * @return true if the input is a valid (partial) match of the pattern. - * - */ - public boolean hasMatch(final Tax_Payer pTp) { - return rawHasMatch(new Object[]{pTp}); - } - - /** - * Returns the number of all matches of the pattern that conform to the given fixed values of some parameters. - * @param pTp the fixed value of pattern parameter tp, or null if not bound. - * @return the number of pattern matches found. - * - */ - public int countMatches(final Tax_Payer pTp) { - return rawCountMatches(new Object[]{pTp}); - } - - /** - * Executes the given processor on an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. - * Neither determinism nor randomness of selection is guaranteed. - * @param pTp the fixed value of pattern parameter tp, or null if not bound. - * @param processor the action that will process the selected match. - * @return true if the pattern has at least one match with the given parameter values, false if the processor was not invoked - * - */ - public boolean forOneArbitraryMatch(final Tax_Payer pTp, final Consumer processor) { - return rawForOneArbitraryMatch(new Object[]{pTp}, processor); - } - - /** - * Returns a new (partial) match. - * This can be used e.g. to call the matcher with a partial match. - *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. - * @param pTp the fixed value of pattern parameter tp, or null if not bound. - * @return the (partial) match object. - * - */ - public Inv06.Match newMatch(final Tax_Payer pTp) { - return Inv06.Match.newMatch(pTp); - } - - /** - * Retrieve the set of values that occur in matches for tp. - * @return the Set of all values or empty set if there are no matches - * - */ - protected Stream rawStreamAllValuesOftp(final Object[] parameters) { - return rawStreamAllValues(POSITION_TP, parameters).map(Tax_Payer.class::cast); - } - - /** - * Retrieve the set of values that occur in matches for tp. - * @return the Set of all values or empty set if there are no matches - * - */ - public Set getAllValuesOftp() { - return rawStreamAllValuesOftp(emptyArray()).collect(Collectors.toSet()); - } - - /** - * Retrieve the set of values that occur in matches for tp. - * @return the Set of all values or empty set if there are no matches - * - */ - public Stream streamAllValuesOftp() { - return rawStreamAllValuesOftp(emptyArray()); - } - - @Override - protected Inv06.Match tupleToMatch(final Tuple t) { - try { - return Inv06.Match.newMatch((Tax_Payer) t.get(POSITION_TP)); - } catch(ClassCastException e) { - LOGGER.error("Element(s) in tuple not properly typed!",e); - return null; - } - } - - @Override - protected Inv06.Match arrayToMatch(final Object[] match) { - try { - return Inv06.Match.newMatch((Tax_Payer) match[POSITION_TP]); - } catch(ClassCastException e) { - LOGGER.error("Element(s) in array not properly typed!",e); - return null; - } - } - - @Override - protected Inv06.Match arrayToMatchMutable(final Object[] match) { - try { - return Inv06.Match.newMutableMatch((Tax_Payer) match[POSITION_TP]); - } catch(ClassCastException e) { - LOGGER.error("Element(s) in array not properly typed!",e); - return null; - } - } - - /** - * @return the singleton instance of the query specification of this pattern - * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded - * - */ - public static IQuerySpecification querySpecification() { - return Inv06.instance(); - } - } - - private Inv06() { - super(GeneratedPQuery.INSTANCE); - } - - /** - * @return the singleton instance of the query specification - * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded - * - */ - public static Inv06 instance() { - try{ - return LazyHolder.INSTANCE; - } catch (ExceptionInInitializerError err) { - throw processInitializerError(err); - } - } - - @Override - protected Inv06.Matcher instantiate(final ViatraQueryEngine engine) { - return Inv06.Matcher.on(engine); - } - - @Override - public Inv06.Matcher instantiate() { - return Inv06.Matcher.create(); - } - - @Override - public Inv06.Match newEmptyMatch() { - return Inv06.Match.newEmptyMatch(); - } - - @Override - public Inv06.Match newMatch(final Object... parameters) { - return Inv06.Match.newMatch((Taxation.Tax_Payer) parameters[0]); - } - - /** - * Inner class allowing the singleton instance of {@link Inv06} to be created - * not at the class load time of the outer class, - * but rather at the first call to {@link Inv06#instance()}. - * - *

    This workaround is required e.g. to support recursion. - * - */ - private static class LazyHolder { - private static final Inv06 INSTANCE = new Inv06(); - - /** - * Statically initializes the query specification after the field {@link #INSTANCE} is assigned. - * This initialization order is required to support indirect recursion. - * - *

    The static initializer is defined using a helper field to work around limitations of the code generator. - * - */ - private static final Object STATIC_INITIALIZER = ensureInitialized(); - - public static Object ensureInitialized() { - INSTANCE.ensureInitializedInternal(); - return null; - } - } - - private static class GeneratedPQuery extends BaseGeneratedEMFPQuery { - private static final Inv06.GeneratedPQuery INSTANCE = new GeneratedPQuery(); - - private final PParameter parameter_tp = new PParameter("tp", "Taxation.Tax_Payer", new EClassTransitiveInstancesKey((EClass)getClassifierLiteralSafe("http:///TaxCard.ecore", "Tax_Payer")), PParameterDirection.INOUT); - - private final List parameters = Arrays.asList(parameter_tp); - - private GeneratedPQuery() { - super(PVisibility.PUBLIC); - } - - @Override - public String getFullyQualifiedName() { - return "queries.inv06"; - } - - @Override - public List getParameterNames() { - return Arrays.asList("tp"); - } - - @Override - public List getParameters() { - return parameters; - } - - @Override - public Set doGetContainedBodies() { - setEvaluationHints(new QueryEvaluationHint(null, QueryEvaluationHint.BackendRequirement.UNSPECIFIED)); - Set bodies = new LinkedHashSet<>(); - { - PBody body = new PBody(this); - PVariable var_tp = body.getOrCreateVariableByName("tp"); - PVariable var___0_ = body.getOrCreateVariableByName("_<0>"); - PVariable var_TPBy = body.getOrCreateVariableByName("TPBy"); - new TypeConstraint(body, Tuples.flatTupleOf(var_tp), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Tax_Payer"))); - body.setSymbolicParameters(Arrays.asList( - new ExportedParameter(body, var_tp, parameter_tp) - )); - // Tax_Payer.dependents(tp, _) - new TypeConstraint(body, Tuples.flatTupleOf(var_tp), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Tax_Payer"))); - PVariable var__virtual_0_ = body.getOrCreateVariableByName(".virtual{0}"); - new TypeConstraint(body, Tuples.flatTupleOf(var_tp, var__virtual_0_), new EStructuralFeatureInstancesKey(getFeatureLiteral("http:///TaxCard.ecore", "Tax_Payer", "dependents"))); - new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_0_), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Dependent"))); - new Equality(body, var__virtual_0_, var___0_); - // Tax_Payer.birth_year(tp, TPBy) - new TypeConstraint(body, Tuples.flatTupleOf(var_tp), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Tax_Payer"))); - PVariable var__virtual_1_ = body.getOrCreateVariableByName(".virtual{1}"); - new TypeConstraint(body, Tuples.flatTupleOf(var_tp, var__virtual_1_), new EStructuralFeatureInstancesKey(getFeatureLiteral("http:///TaxCard.ecore", "Physical_Person", "birth_year"))); - new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_1_), new EDataTypeInSlotsKey((EDataType)getClassifierLiteral("http://www.eclipse.org/emf/2002/Ecore", "EInt"))); - new Equality(body, var__virtual_1_, var_TPBy); - // check(2018 - TPBy > 2018-16) - new ExpressionEvaluation(body, new IExpressionEvaluator() { - - @Override - public String getShortDescription() { - return "Expression evaluation from pattern inv06"; - } - - @Override - public Iterable getInputParameterNames() { - return Arrays.asList("TPBy");} - - @Override - public Object evaluateExpression(IValueProvider provider) throws Exception { - Integer TPBy = (Integer) provider.getValue("TPBy"); - return evaluateExpression_1_1(TPBy); - } - }, null); - bodies.add(body); - } - { - PBody body = new PBody(this); - PVariable var_tp = body.getOrCreateVariableByName("tp"); - PVariable var_TPBy = body.getOrCreateVariableByName("TPBy"); - PVariable var_dep = body.getOrCreateVariableByName("dep"); - PVariable var_DepBy = body.getOrCreateVariableByName("DepBy"); - new TypeConstraint(body, Tuples.flatTupleOf(var_tp), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Tax_Payer"))); - body.setSymbolicParameters(Arrays.asList( - new ExportedParameter(body, var_tp, parameter_tp) - )); - // Tax_Payer.birth_year(tp, TPBy) - new TypeConstraint(body, Tuples.flatTupleOf(var_tp), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Tax_Payer"))); - PVariable var__virtual_0_ = body.getOrCreateVariableByName(".virtual{0}"); - new TypeConstraint(body, Tuples.flatTupleOf(var_tp, var__virtual_0_), new EStructuralFeatureInstancesKey(getFeatureLiteral("http:///TaxCard.ecore", "Physical_Person", "birth_year"))); - new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_0_), new EDataTypeInSlotsKey((EDataType)getClassifierLiteral("http://www.eclipse.org/emf/2002/Ecore", "EInt"))); - new Equality(body, var__virtual_0_, var_TPBy); - // Tax_Payer.dependents(tp, dep) - new TypeConstraint(body, Tuples.flatTupleOf(var_tp), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Tax_Payer"))); - PVariable var__virtual_1_ = body.getOrCreateVariableByName(".virtual{1}"); - new TypeConstraint(body, Tuples.flatTupleOf(var_tp, var__virtual_1_), new EStructuralFeatureInstancesKey(getFeatureLiteral("http:///TaxCard.ecore", "Tax_Payer", "dependents"))); - new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_1_), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Dependent"))); - new Equality(body, var__virtual_1_, var_dep); - // Dependent.birth_year(dep, DepBy) - new TypeConstraint(body, Tuples.flatTupleOf(var_dep), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Dependent"))); - PVariable var__virtual_2_ = body.getOrCreateVariableByName(".virtual{2}"); - new TypeConstraint(body, Tuples.flatTupleOf(var_dep, var__virtual_2_), new EStructuralFeatureInstancesKey(getFeatureLiteral("http:///TaxCard.ecore", "Physical_Person", "birth_year"))); - new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_2_), new EDataTypeInSlotsKey((EDataType)getClassifierLiteral("http://www.eclipse.org/emf/2002/Ecore", "EInt"))); - new Equality(body, var__virtual_2_, var_DepBy); - // check(2018-DepBy <= 2018-TPBy-16) - new ExpressionEvaluation(body, new IExpressionEvaluator() { - - @Override - public String getShortDescription() { - return "Expression evaluation from pattern inv06"; - } - - @Override - public Iterable getInputParameterNames() { - return Arrays.asList("DepBy", "TPBy");} - - @Override - public Object evaluateExpression(IValueProvider provider) throws Exception { - Integer DepBy = (Integer) provider.getValue("DepBy"); - Integer TPBy = (Integer) provider.getValue("TPBy"); - return evaluateExpression_2_1(DepBy, TPBy); - } - }, null); - bodies.add(body); - } - { - PAnnotation annotation = new PAnnotation("Constraint"); - annotation.addAttribute("message", "inv06"); - annotation.addAttribute("severity", "error"); - annotation.addAttribute("key", Arrays.asList(new Object[] { - new ParameterReference("tp") - })); - addAnnotation(annotation); - } - return bodies; - } - } - - private static boolean evaluateExpression_1_1(final Integer TPBy) { - return ((2018 - (TPBy).intValue()) > (2018 - 16)); - } - - private static boolean evaluateExpression_2_1(final Integer DepBy, final Integer TPBy) { - return ((2018 - (DepBy).intValue()) <= ((2018 - (TPBy).intValue()) - 16)); - } -} diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/Inv07.java b/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/Inv07.java deleted file mode 100644 index 81665825..00000000 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/Inv07.java +++ /dev/null @@ -1,612 +0,0 @@ -/** - * Generated from platform:/resource/case.study.pledge.run/src/queries/case_study_A.vql - */ -package queries; - -import Taxation.Income; -import java.util.Arrays; -import java.util.Collection; -import java.util.LinkedHashSet; -import java.util.List; -import java.util.Objects; -import java.util.Optional; -import java.util.Set; -import java.util.function.Consumer; -import java.util.stream.Collectors; -import java.util.stream.Stream; -import org.apache.log4j.Logger; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EDataType; -import org.eclipse.viatra.query.runtime.api.IPatternMatch; -import org.eclipse.viatra.query.runtime.api.IQuerySpecification; -import org.eclipse.viatra.query.runtime.api.ViatraQueryEngine; -import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFPQuery; -import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFQuerySpecification; -import org.eclipse.viatra.query.runtime.api.impl.BaseMatcher; -import org.eclipse.viatra.query.runtime.api.impl.BasePatternMatch; -import org.eclipse.viatra.query.runtime.emf.types.EClassTransitiveInstancesKey; -import org.eclipse.viatra.query.runtime.emf.types.EDataTypeInSlotsKey; -import org.eclipse.viatra.query.runtime.emf.types.EStructuralFeatureInstancesKey; -import org.eclipse.viatra.query.runtime.matchers.backend.QueryEvaluationHint; -import org.eclipse.viatra.query.runtime.matchers.psystem.IExpressionEvaluator; -import org.eclipse.viatra.query.runtime.matchers.psystem.IValueProvider; -import org.eclipse.viatra.query.runtime.matchers.psystem.PBody; -import org.eclipse.viatra.query.runtime.matchers.psystem.PVariable; -import org.eclipse.viatra.query.runtime.matchers.psystem.annotations.PAnnotation; -import org.eclipse.viatra.query.runtime.matchers.psystem.annotations.ParameterReference; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.Equality; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.ExportedParameter; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.ExpressionEvaluation; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicenumerables.TypeConstraint; -import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameter; -import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameterDirection; -import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PVisibility; -import org.eclipse.viatra.query.runtime.matchers.tuple.Tuple; -import org.eclipse.viatra.query.runtime.matchers.tuple.Tuples; -import org.eclipse.viatra.query.runtime.util.ViatraQueryLoggingUtil; - -/** - * A pattern-specific query specification that can instantiate Matcher in a type-safe way. - * - *

    Original source: - *

    - *         //inv7-OrderedSet
    - *         {@literal @}Constraint(message = "inv07", severity = "error", key = {inc})
    - *         pattern inv07(inc : Income) {
    - *         	Income.details.distance(inc, d1);
    - *         	Income.details.distance(inc, d2);
    - *         	check(d1 != d2);//compare values
    - *         }
    - * 
    - * - * @see Matcher - * @see Match - * - */ -@SuppressWarnings("all") -public final class Inv07 extends BaseGeneratedEMFQuerySpecification { - /** - * Pattern-specific match representation of the queries.inv07 pattern, - * to be used in conjunction with {@link Matcher}. - * - *

    Class fields correspond to parameters of the pattern. Fields with value null are considered unassigned. - * Each instance is a (possibly partial) substitution of pattern parameters, - * usable to represent a match of the pattern in the result of a query, - * or to specify the bound (fixed) input parameters when issuing a query. - * - * @see Matcher - * - */ - public static abstract class Match extends BasePatternMatch { - private Income fInc; - - private static List parameterNames = makeImmutableList("inc"); - - private Match(final Income pInc) { - this.fInc = pInc; - } - - @Override - public Object get(final String parameterName) { - switch(parameterName) { - case "inc": return this.fInc; - default: return null; - } - } - - @Override - public Object get(final int index) { - switch(index) { - case 0: return this.fInc; - default: return null; - } - } - - public Income getInc() { - return this.fInc; - } - - @Override - public boolean set(final String parameterName, final Object newValue) { - if (!isMutable()) throw new java.lang.UnsupportedOperationException(); - if ("inc".equals(parameterName) ) { - this.fInc = (Income) newValue; - return true; - } - return false; - } - - public void setInc(final Income pInc) { - if (!isMutable()) throw new java.lang.UnsupportedOperationException(); - this.fInc = pInc; - } - - @Override - public String patternName() { - return "queries.inv07"; - } - - @Override - public List parameterNames() { - return Inv07.Match.parameterNames; - } - - @Override - public Object[] toArray() { - return new Object[]{fInc}; - } - - @Override - public Inv07.Match toImmutable() { - return isMutable() ? newMatch(fInc) : this; - } - - @Override - public String prettyPrint() { - StringBuilder result = new StringBuilder(); - result.append("\"inc\"=" + prettyPrintValue(fInc)); - return result.toString(); - } - - @Override - public int hashCode() { - return Objects.hash(fInc); - } - - @Override - public boolean equals(final Object obj) { - if (this == obj) - return true; - if (obj == null) { - return false; - } - if ((obj instanceof Inv07.Match)) { - Inv07.Match other = (Inv07.Match) obj; - return Objects.equals(fInc, other.fInc); - } else { - // this should be infrequent - if (!(obj instanceof IPatternMatch)) { - return false; - } - IPatternMatch otherSig = (IPatternMatch) obj; - return Objects.equals(specification(), otherSig.specification()) && Arrays.deepEquals(toArray(), otherSig.toArray()); - } - } - - @Override - public Inv07 specification() { - return Inv07.instance(); - } - - /** - * Returns an empty, mutable match. - * Fields of the mutable match can be filled to create a partial match, usable as matcher input. - * - * @return the empty match. - * - */ - public static Inv07.Match newEmptyMatch() { - return new Mutable(null); - } - - /** - * Returns a mutable (partial) match. - * Fields of the mutable match can be filled to create a partial match, usable as matcher input. - * - * @param pInc the fixed value of pattern parameter inc, or null if not bound. - * @return the new, mutable (partial) match object. - * - */ - public static Inv07.Match newMutableMatch(final Income pInc) { - return new Mutable(pInc); - } - - /** - * Returns a new (partial) match. - * This can be used e.g. to call the matcher with a partial match. - *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. - * @param pInc the fixed value of pattern parameter inc, or null if not bound. - * @return the (partial) match object. - * - */ - public static Inv07.Match newMatch(final Income pInc) { - return new Immutable(pInc); - } - - private static final class Mutable extends Inv07.Match { - Mutable(final Income pInc) { - super(pInc); - } - - @Override - public boolean isMutable() { - return true; - } - } - - private static final class Immutable extends Inv07.Match { - Immutable(final Income pInc) { - super(pInc); - } - - @Override - public boolean isMutable() { - return false; - } - } - } - - /** - * Generated pattern matcher API of the queries.inv07 pattern, - * providing pattern-specific query methods. - * - *

    Use the pattern matcher on a given model via {@link #on(ViatraQueryEngine)}, - * e.g. in conjunction with {@link ViatraQueryEngine#on(QueryScope)}. - * - *

    Matches of the pattern will be represented as {@link Match}. - * - *

    Original source: - *

    -   * //inv7-OrderedSet
    -   * {@literal @}Constraint(message = "inv07", severity = "error", key = {inc})
    -   * pattern inv07(inc : Income) {
    -   * 	Income.details.distance(inc, d1);
    -   * 	Income.details.distance(inc, d2);
    -   * 	check(d1 != d2);//compare values
    -   * }
    -   * 
    - * - * @see Match - * @see Inv07 - * - */ - public static class Matcher extends BaseMatcher { - /** - * Initializes the pattern matcher within an existing VIATRA Query engine. - * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. - * - * @param engine the existing VIATRA Query engine in which this matcher will be created. - * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation - * - */ - public static Inv07.Matcher on(final ViatraQueryEngine engine) { - // check if matcher already exists - Matcher matcher = engine.getExistingMatcher(querySpecification()); - if (matcher == null) { - matcher = (Matcher)engine.getMatcher(querySpecification()); - } - return matcher; - } - - /** - * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation - * @return an initialized matcher - * @noreference This method is for internal matcher initialization by the framework, do not call it manually. - * - */ - public static Inv07.Matcher create() { - return new Matcher(); - } - - private static final int POSITION_INC = 0; - - private static final Logger LOGGER = ViatraQueryLoggingUtil.getLogger(Inv07.Matcher.class); - - /** - * Initializes the pattern matcher within an existing VIATRA Query engine. - * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. - * - * @param engine the existing VIATRA Query engine in which this matcher will be created. - * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation - * - */ - private Matcher() { - super(querySpecification()); - } - - /** - * Returns the set of all matches of the pattern that conform to the given fixed values of some parameters. - * @param pInc the fixed value of pattern parameter inc, or null if not bound. - * @return matches represented as a Match object. - * - */ - public Collection getAllMatches(final Income pInc) { - return rawStreamAllMatches(new Object[]{pInc}).collect(Collectors.toSet()); - } - - /** - * Returns a stream of all matches of the pattern that conform to the given fixed values of some parameters. - *

    - * NOTE: It is important not to modify the source model while the stream is being processed. - * If the match set of the pattern changes during processing, the contents of the stream is undefined. - * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. - * @param pInc the fixed value of pattern parameter inc, or null if not bound. - * @return a stream of matches represented as a Match object. - * - */ - public Stream streamAllMatches(final Income pInc) { - return rawStreamAllMatches(new Object[]{pInc}); - } - - /** - * Returns an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. - * Neither determinism nor randomness of selection is guaranteed. - * @param pInc the fixed value of pattern parameter inc, or null if not bound. - * @return a match represented as a Match object, or null if no match is found. - * - */ - public Optional getOneArbitraryMatch(final Income pInc) { - return rawGetOneArbitraryMatch(new Object[]{pInc}); - } - - /** - * Indicates whether the given combination of specified pattern parameters constitute a valid pattern match, - * under any possible substitution of the unspecified parameters (if any). - * @param pInc the fixed value of pattern parameter inc, or null if not bound. - * @return true if the input is a valid (partial) match of the pattern. - * - */ - public boolean hasMatch(final Income pInc) { - return rawHasMatch(new Object[]{pInc}); - } - - /** - * Returns the number of all matches of the pattern that conform to the given fixed values of some parameters. - * @param pInc the fixed value of pattern parameter inc, or null if not bound. - * @return the number of pattern matches found. - * - */ - public int countMatches(final Income pInc) { - return rawCountMatches(new Object[]{pInc}); - } - - /** - * Executes the given processor on an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. - * Neither determinism nor randomness of selection is guaranteed. - * @param pInc the fixed value of pattern parameter inc, or null if not bound. - * @param processor the action that will process the selected match. - * @return true if the pattern has at least one match with the given parameter values, false if the processor was not invoked - * - */ - public boolean forOneArbitraryMatch(final Income pInc, final Consumer processor) { - return rawForOneArbitraryMatch(new Object[]{pInc}, processor); - } - - /** - * Returns a new (partial) match. - * This can be used e.g. to call the matcher with a partial match. - *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. - * @param pInc the fixed value of pattern parameter inc, or null if not bound. - * @return the (partial) match object. - * - */ - public Inv07.Match newMatch(final Income pInc) { - return Inv07.Match.newMatch(pInc); - } - - /** - * Retrieve the set of values that occur in matches for inc. - * @return the Set of all values or empty set if there are no matches - * - */ - protected Stream rawStreamAllValuesOfinc(final Object[] parameters) { - return rawStreamAllValues(POSITION_INC, parameters).map(Income.class::cast); - } - - /** - * Retrieve the set of values that occur in matches for inc. - * @return the Set of all values or empty set if there are no matches - * - */ - public Set getAllValuesOfinc() { - return rawStreamAllValuesOfinc(emptyArray()).collect(Collectors.toSet()); - } - - /** - * Retrieve the set of values that occur in matches for inc. - * @return the Set of all values or empty set if there are no matches - * - */ - public Stream streamAllValuesOfinc() { - return rawStreamAllValuesOfinc(emptyArray()); - } - - @Override - protected Inv07.Match tupleToMatch(final Tuple t) { - try { - return Inv07.Match.newMatch((Income) t.get(POSITION_INC)); - } catch(ClassCastException e) { - LOGGER.error("Element(s) in tuple not properly typed!",e); - return null; - } - } - - @Override - protected Inv07.Match arrayToMatch(final Object[] match) { - try { - return Inv07.Match.newMatch((Income) match[POSITION_INC]); - } catch(ClassCastException e) { - LOGGER.error("Element(s) in array not properly typed!",e); - return null; - } - } - - @Override - protected Inv07.Match arrayToMatchMutable(final Object[] match) { - try { - return Inv07.Match.newMutableMatch((Income) match[POSITION_INC]); - } catch(ClassCastException e) { - LOGGER.error("Element(s) in array not properly typed!",e); - return null; - } - } - - /** - * @return the singleton instance of the query specification of this pattern - * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded - * - */ - public static IQuerySpecification querySpecification() { - return Inv07.instance(); - } - } - - private Inv07() { - super(GeneratedPQuery.INSTANCE); - } - - /** - * @return the singleton instance of the query specification - * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded - * - */ - public static Inv07 instance() { - try{ - return LazyHolder.INSTANCE; - } catch (ExceptionInInitializerError err) { - throw processInitializerError(err); - } - } - - @Override - protected Inv07.Matcher instantiate(final ViatraQueryEngine engine) { - return Inv07.Matcher.on(engine); - } - - @Override - public Inv07.Matcher instantiate() { - return Inv07.Matcher.create(); - } - - @Override - public Inv07.Match newEmptyMatch() { - return Inv07.Match.newEmptyMatch(); - } - - @Override - public Inv07.Match newMatch(final Object... parameters) { - return Inv07.Match.newMatch((Taxation.Income) parameters[0]); - } - - /** - * Inner class allowing the singleton instance of {@link Inv07} to be created - * not at the class load time of the outer class, - * but rather at the first call to {@link Inv07#instance()}. - * - *

    This workaround is required e.g. to support recursion. - * - */ - private static class LazyHolder { - private static final Inv07 INSTANCE = new Inv07(); - - /** - * Statically initializes the query specification after the field {@link #INSTANCE} is assigned. - * This initialization order is required to support indirect recursion. - * - *

    The static initializer is defined using a helper field to work around limitations of the code generator. - * - */ - private static final Object STATIC_INITIALIZER = ensureInitialized(); - - public static Object ensureInitialized() { - INSTANCE.ensureInitializedInternal(); - return null; - } - } - - private static class GeneratedPQuery extends BaseGeneratedEMFPQuery { - private static final Inv07.GeneratedPQuery INSTANCE = new GeneratedPQuery(); - - private final PParameter parameter_inc = new PParameter("inc", "Taxation.Income", new EClassTransitiveInstancesKey((EClass)getClassifierLiteralSafe("http:///TaxCard.ecore", "Income")), PParameterDirection.INOUT); - - private final List parameters = Arrays.asList(parameter_inc); - - private GeneratedPQuery() { - super(PVisibility.PUBLIC); - } - - @Override - public String getFullyQualifiedName() { - return "queries.inv07"; - } - - @Override - public List getParameterNames() { - return Arrays.asList("inc"); - } - - @Override - public List getParameters() { - return parameters; - } - - @Override - public Set doGetContainedBodies() { - setEvaluationHints(new QueryEvaluationHint(null, QueryEvaluationHint.BackendRequirement.UNSPECIFIED)); - Set bodies = new LinkedHashSet<>(); - { - PBody body = new PBody(this); - PVariable var_inc = body.getOrCreateVariableByName("inc"); - PVariable var_d1 = body.getOrCreateVariableByName("d1"); - PVariable var_d2 = body.getOrCreateVariableByName("d2"); - new TypeConstraint(body, Tuples.flatTupleOf(var_inc), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Income"))); - body.setSymbolicParameters(Arrays.asList( - new ExportedParameter(body, var_inc, parameter_inc) - )); - // Income.details.distance(inc, d1) - new TypeConstraint(body, Tuples.flatTupleOf(var_inc), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Income"))); - PVariable var__virtual_0_ = body.getOrCreateVariableByName(".virtual{0}"); - new TypeConstraint(body, Tuples.flatTupleOf(var_inc, var__virtual_0_), new EStructuralFeatureInstancesKey(getFeatureLiteral("http:///TaxCard.ecore", "Income", "details"))); - new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_0_), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Income_Detail"))); - PVariable var__virtual_1_ = body.getOrCreateVariableByName(".virtual{1}"); - new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_0_, var__virtual_1_), new EStructuralFeatureInstancesKey(getFeatureLiteral("http:///TaxCard.ecore", "Income_Detail", "distance"))); - new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_1_), new EDataTypeInSlotsKey((EDataType)getClassifierLiteral("http://www.eclipse.org/emf/2002/Ecore", "EDouble"))); - new Equality(body, var__virtual_1_, var_d1); - // Income.details.distance(inc, d2) - new TypeConstraint(body, Tuples.flatTupleOf(var_inc), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Income"))); - PVariable var__virtual_2_ = body.getOrCreateVariableByName(".virtual{2}"); - new TypeConstraint(body, Tuples.flatTupleOf(var_inc, var__virtual_2_), new EStructuralFeatureInstancesKey(getFeatureLiteral("http:///TaxCard.ecore", "Income", "details"))); - new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_2_), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Income_Detail"))); - PVariable var__virtual_3_ = body.getOrCreateVariableByName(".virtual{3}"); - new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_2_, var__virtual_3_), new EStructuralFeatureInstancesKey(getFeatureLiteral("http:///TaxCard.ecore", "Income_Detail", "distance"))); - new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_3_), new EDataTypeInSlotsKey((EDataType)getClassifierLiteral("http://www.eclipse.org/emf/2002/Ecore", "EDouble"))); - new Equality(body, var__virtual_3_, var_d2); - // check(d1 != d2) - new ExpressionEvaluation(body, new IExpressionEvaluator() { - - @Override - public String getShortDescription() { - return "Expression evaluation from pattern inv07"; - } - - @Override - public Iterable getInputParameterNames() { - return Arrays.asList("d1", "d2");} - - @Override - public Object evaluateExpression(IValueProvider provider) throws Exception { - Double d1 = (Double) provider.getValue("d1"); - Double d2 = (Double) provider.getValue("d2"); - return evaluateExpression_1_1(d1, d2); - } - }, null); - bodies.add(body); - } - { - PAnnotation annotation = new PAnnotation("Constraint"); - annotation.addAttribute("message", "inv07"); - annotation.addAttribute("severity", "error"); - annotation.addAttribute("key", Arrays.asList(new Object[] { - new ParameterReference("inc") - })); - addAnnotation(annotation); - } - return bodies; - } - } - - private static boolean evaluateExpression_1_1(final Double d1, final Double d2) { - boolean _notEquals = (!com.google.common.base.Objects.equal(d1, d2)); - return _notEquals; - } -} diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/Inv08.java b/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/Inv08.java deleted file mode 100644 index 9ecadd34..00000000 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/Inv08.java +++ /dev/null @@ -1,705 +0,0 @@ -/** - * Generated from platform:/resource/case.study.pledge.run/src/queries/case_study_A.vql - */ -package queries; - -import Taxation.Income; -import java.util.Arrays; -import java.util.Collection; -import java.util.LinkedHashSet; -import java.util.List; -import java.util.Objects; -import java.util.Optional; -import java.util.Set; -import java.util.function.Consumer; -import java.util.stream.Collectors; -import java.util.stream.Stream; -import org.apache.log4j.Logger; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EDataType; -import org.eclipse.viatra.query.runtime.api.IPatternMatch; -import org.eclipse.viatra.query.runtime.api.IQuerySpecification; -import org.eclipse.viatra.query.runtime.api.ViatraQueryEngine; -import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFPQuery; -import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFQuerySpecification; -import org.eclipse.viatra.query.runtime.api.impl.BaseMatcher; -import org.eclipse.viatra.query.runtime.api.impl.BasePatternMatch; -import org.eclipse.viatra.query.runtime.emf.types.EClassTransitiveInstancesKey; -import org.eclipse.viatra.query.runtime.emf.types.EDataTypeInSlotsKey; -import org.eclipse.viatra.query.runtime.emf.types.EStructuralFeatureInstancesKey; -import org.eclipse.viatra.query.runtime.matchers.backend.QueryEvaluationHint; -import org.eclipse.viatra.query.runtime.matchers.psystem.IExpressionEvaluator; -import org.eclipse.viatra.query.runtime.matchers.psystem.IValueProvider; -import org.eclipse.viatra.query.runtime.matchers.psystem.PBody; -import org.eclipse.viatra.query.runtime.matchers.psystem.PVariable; -import org.eclipse.viatra.query.runtime.matchers.psystem.annotations.PAnnotation; -import org.eclipse.viatra.query.runtime.matchers.psystem.annotations.ParameterReference; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.Equality; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.ExportedParameter; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.ExpressionEvaluation; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.NegativePatternCall; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicenumerables.PositivePatternCall; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicenumerables.TypeConstraint; -import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameter; -import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameterDirection; -import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PVisibility; -import org.eclipse.viatra.query.runtime.matchers.tuple.Tuple; -import org.eclipse.viatra.query.runtime.matchers.tuple.Tuples; -import org.eclipse.viatra.query.runtime.util.ViatraQueryLoggingUtil; -import queries.X_inv08_inRange; -import queries.X_inv08_noType; -import queries.X_inv08_notEI; - -/** - * A pattern-specific query specification that can instantiate Matcher in a type-safe way. - * - *

    Original source: - *

    - *         //user_complete_details-AttributeRemoved
    - *         
    - *         //inv8 - oclIsTypeOf - handled here
    - *         {@literal @}Constraint(message = "inv08", severity = "error", key = {inc})
    - *         pattern inv08(inc : Income) {
    - *         	//income_type: None
    - *             neg find x_inv08_noType(inc);
    - *             Income.details.distance(inc, dist);
    - *             check(dist != 0);
    - *         } or {
    - *         	//income_type: Not Employment_Income
    - *             Income.income_type(inc, type);
    - *             neg find x_inv08_notEI(type);
    - *             Income.details.distance(inc, dist);
    - *             check(dist != 0);
    - *         } or {
    - *         	//income_type: Employment Income
    - *         	Income.income_type(inc, type);
    - *             Employment_Income(type);
    - *             find x_inv08_inRange(inc);
    - *         }
    - * 
    - * - * @see Matcher - * @see Match - * - */ -@SuppressWarnings("all") -public final class Inv08 extends BaseGeneratedEMFQuerySpecification { - /** - * Pattern-specific match representation of the queries.inv08 pattern, - * to be used in conjunction with {@link Matcher}. - * - *

    Class fields correspond to parameters of the pattern. Fields with value null are considered unassigned. - * Each instance is a (possibly partial) substitution of pattern parameters, - * usable to represent a match of the pattern in the result of a query, - * or to specify the bound (fixed) input parameters when issuing a query. - * - * @see Matcher - * - */ - public static abstract class Match extends BasePatternMatch { - private Income fInc; - - private static List parameterNames = makeImmutableList("inc"); - - private Match(final Income pInc) { - this.fInc = pInc; - } - - @Override - public Object get(final String parameterName) { - switch(parameterName) { - case "inc": return this.fInc; - default: return null; - } - } - - @Override - public Object get(final int index) { - switch(index) { - case 0: return this.fInc; - default: return null; - } - } - - public Income getInc() { - return this.fInc; - } - - @Override - public boolean set(final String parameterName, final Object newValue) { - if (!isMutable()) throw new java.lang.UnsupportedOperationException(); - if ("inc".equals(parameterName) ) { - this.fInc = (Income) newValue; - return true; - } - return false; - } - - public void setInc(final Income pInc) { - if (!isMutable()) throw new java.lang.UnsupportedOperationException(); - this.fInc = pInc; - } - - @Override - public String patternName() { - return "queries.inv08"; - } - - @Override - public List parameterNames() { - return Inv08.Match.parameterNames; - } - - @Override - public Object[] toArray() { - return new Object[]{fInc}; - } - - @Override - public Inv08.Match toImmutable() { - return isMutable() ? newMatch(fInc) : this; - } - - @Override - public String prettyPrint() { - StringBuilder result = new StringBuilder(); - result.append("\"inc\"=" + prettyPrintValue(fInc)); - return result.toString(); - } - - @Override - public int hashCode() { - return Objects.hash(fInc); - } - - @Override - public boolean equals(final Object obj) { - if (this == obj) - return true; - if (obj == null) { - return false; - } - if ((obj instanceof Inv08.Match)) { - Inv08.Match other = (Inv08.Match) obj; - return Objects.equals(fInc, other.fInc); - } else { - // this should be infrequent - if (!(obj instanceof IPatternMatch)) { - return false; - } - IPatternMatch otherSig = (IPatternMatch) obj; - return Objects.equals(specification(), otherSig.specification()) && Arrays.deepEquals(toArray(), otherSig.toArray()); - } - } - - @Override - public Inv08 specification() { - return Inv08.instance(); - } - - /** - * Returns an empty, mutable match. - * Fields of the mutable match can be filled to create a partial match, usable as matcher input. - * - * @return the empty match. - * - */ - public static Inv08.Match newEmptyMatch() { - return new Mutable(null); - } - - /** - * Returns a mutable (partial) match. - * Fields of the mutable match can be filled to create a partial match, usable as matcher input. - * - * @param pInc the fixed value of pattern parameter inc, or null if not bound. - * @return the new, mutable (partial) match object. - * - */ - public static Inv08.Match newMutableMatch(final Income pInc) { - return new Mutable(pInc); - } - - /** - * Returns a new (partial) match. - * This can be used e.g. to call the matcher with a partial match. - *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. - * @param pInc the fixed value of pattern parameter inc, or null if not bound. - * @return the (partial) match object. - * - */ - public static Inv08.Match newMatch(final Income pInc) { - return new Immutable(pInc); - } - - private static final class Mutable extends Inv08.Match { - Mutable(final Income pInc) { - super(pInc); - } - - @Override - public boolean isMutable() { - return true; - } - } - - private static final class Immutable extends Inv08.Match { - Immutable(final Income pInc) { - super(pInc); - } - - @Override - public boolean isMutable() { - return false; - } - } - } - - /** - * Generated pattern matcher API of the queries.inv08 pattern, - * providing pattern-specific query methods. - * - *

    Use the pattern matcher on a given model via {@link #on(ViatraQueryEngine)}, - * e.g. in conjunction with {@link ViatraQueryEngine#on(QueryScope)}. - * - *

    Matches of the pattern will be represented as {@link Match}. - * - *

    Original source: - *

    -   * //user_complete_details-AttributeRemoved
    -   * 
    -   * //inv8 - oclIsTypeOf - handled here
    -   * {@literal @}Constraint(message = "inv08", severity = "error", key = {inc})
    -   * pattern inv08(inc : Income) {
    -   * 	//income_type: None
    -   *     neg find x_inv08_noType(inc);
    -   *     Income.details.distance(inc, dist);
    -   *     check(dist != 0);
    -   * } or {
    -   * 	//income_type: Not Employment_Income
    -   *     Income.income_type(inc, type);
    -   *     neg find x_inv08_notEI(type);
    -   *     Income.details.distance(inc, dist);
    -   *     check(dist != 0);
    -   * } or {
    -   * 	//income_type: Employment Income
    -   * 	Income.income_type(inc, type);
    -   *     Employment_Income(type);
    -   *     find x_inv08_inRange(inc);
    -   * }
    -   * 
    - * - * @see Match - * @see Inv08 - * - */ - public static class Matcher extends BaseMatcher { - /** - * Initializes the pattern matcher within an existing VIATRA Query engine. - * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. - * - * @param engine the existing VIATRA Query engine in which this matcher will be created. - * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation - * - */ - public static Inv08.Matcher on(final ViatraQueryEngine engine) { - // check if matcher already exists - Matcher matcher = engine.getExistingMatcher(querySpecification()); - if (matcher == null) { - matcher = (Matcher)engine.getMatcher(querySpecification()); - } - return matcher; - } - - /** - * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation - * @return an initialized matcher - * @noreference This method is for internal matcher initialization by the framework, do not call it manually. - * - */ - public static Inv08.Matcher create() { - return new Matcher(); - } - - private static final int POSITION_INC = 0; - - private static final Logger LOGGER = ViatraQueryLoggingUtil.getLogger(Inv08.Matcher.class); - - /** - * Initializes the pattern matcher within an existing VIATRA Query engine. - * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. - * - * @param engine the existing VIATRA Query engine in which this matcher will be created. - * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation - * - */ - private Matcher() { - super(querySpecification()); - } - - /** - * Returns the set of all matches of the pattern that conform to the given fixed values of some parameters. - * @param pInc the fixed value of pattern parameter inc, or null if not bound. - * @return matches represented as a Match object. - * - */ - public Collection getAllMatches(final Income pInc) { - return rawStreamAllMatches(new Object[]{pInc}).collect(Collectors.toSet()); - } - - /** - * Returns a stream of all matches of the pattern that conform to the given fixed values of some parameters. - *

    - * NOTE: It is important not to modify the source model while the stream is being processed. - * If the match set of the pattern changes during processing, the contents of the stream is undefined. - * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. - * @param pInc the fixed value of pattern parameter inc, or null if not bound. - * @return a stream of matches represented as a Match object. - * - */ - public Stream streamAllMatches(final Income pInc) { - return rawStreamAllMatches(new Object[]{pInc}); - } - - /** - * Returns an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. - * Neither determinism nor randomness of selection is guaranteed. - * @param pInc the fixed value of pattern parameter inc, or null if not bound. - * @return a match represented as a Match object, or null if no match is found. - * - */ - public Optional getOneArbitraryMatch(final Income pInc) { - return rawGetOneArbitraryMatch(new Object[]{pInc}); - } - - /** - * Indicates whether the given combination of specified pattern parameters constitute a valid pattern match, - * under any possible substitution of the unspecified parameters (if any). - * @param pInc the fixed value of pattern parameter inc, or null if not bound. - * @return true if the input is a valid (partial) match of the pattern. - * - */ - public boolean hasMatch(final Income pInc) { - return rawHasMatch(new Object[]{pInc}); - } - - /** - * Returns the number of all matches of the pattern that conform to the given fixed values of some parameters. - * @param pInc the fixed value of pattern parameter inc, or null if not bound. - * @return the number of pattern matches found. - * - */ - public int countMatches(final Income pInc) { - return rawCountMatches(new Object[]{pInc}); - } - - /** - * Executes the given processor on an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. - * Neither determinism nor randomness of selection is guaranteed. - * @param pInc the fixed value of pattern parameter inc, or null if not bound. - * @param processor the action that will process the selected match. - * @return true if the pattern has at least one match with the given parameter values, false if the processor was not invoked - * - */ - public boolean forOneArbitraryMatch(final Income pInc, final Consumer processor) { - return rawForOneArbitraryMatch(new Object[]{pInc}, processor); - } - - /** - * Returns a new (partial) match. - * This can be used e.g. to call the matcher with a partial match. - *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. - * @param pInc the fixed value of pattern parameter inc, or null if not bound. - * @return the (partial) match object. - * - */ - public Inv08.Match newMatch(final Income pInc) { - return Inv08.Match.newMatch(pInc); - } - - /** - * Retrieve the set of values that occur in matches for inc. - * @return the Set of all values or empty set if there are no matches - * - */ - protected Stream rawStreamAllValuesOfinc(final Object[] parameters) { - return rawStreamAllValues(POSITION_INC, parameters).map(Income.class::cast); - } - - /** - * Retrieve the set of values that occur in matches for inc. - * @return the Set of all values or empty set if there are no matches - * - */ - public Set getAllValuesOfinc() { - return rawStreamAllValuesOfinc(emptyArray()).collect(Collectors.toSet()); - } - - /** - * Retrieve the set of values that occur in matches for inc. - * @return the Set of all values or empty set if there are no matches - * - */ - public Stream streamAllValuesOfinc() { - return rawStreamAllValuesOfinc(emptyArray()); - } - - @Override - protected Inv08.Match tupleToMatch(final Tuple t) { - try { - return Inv08.Match.newMatch((Income) t.get(POSITION_INC)); - } catch(ClassCastException e) { - LOGGER.error("Element(s) in tuple not properly typed!",e); - return null; - } - } - - @Override - protected Inv08.Match arrayToMatch(final Object[] match) { - try { - return Inv08.Match.newMatch((Income) match[POSITION_INC]); - } catch(ClassCastException e) { - LOGGER.error("Element(s) in array not properly typed!",e); - return null; - } - } - - @Override - protected Inv08.Match arrayToMatchMutable(final Object[] match) { - try { - return Inv08.Match.newMutableMatch((Income) match[POSITION_INC]); - } catch(ClassCastException e) { - LOGGER.error("Element(s) in array not properly typed!",e); - return null; - } - } - - /** - * @return the singleton instance of the query specification of this pattern - * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded - * - */ - public static IQuerySpecification querySpecification() { - return Inv08.instance(); - } - } - - private Inv08() { - super(GeneratedPQuery.INSTANCE); - } - - /** - * @return the singleton instance of the query specification - * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded - * - */ - public static Inv08 instance() { - try{ - return LazyHolder.INSTANCE; - } catch (ExceptionInInitializerError err) { - throw processInitializerError(err); - } - } - - @Override - protected Inv08.Matcher instantiate(final ViatraQueryEngine engine) { - return Inv08.Matcher.on(engine); - } - - @Override - public Inv08.Matcher instantiate() { - return Inv08.Matcher.create(); - } - - @Override - public Inv08.Match newEmptyMatch() { - return Inv08.Match.newEmptyMatch(); - } - - @Override - public Inv08.Match newMatch(final Object... parameters) { - return Inv08.Match.newMatch((Taxation.Income) parameters[0]); - } - - /** - * Inner class allowing the singleton instance of {@link Inv08} to be created - * not at the class load time of the outer class, - * but rather at the first call to {@link Inv08#instance()}. - * - *

    This workaround is required e.g. to support recursion. - * - */ - private static class LazyHolder { - private static final Inv08 INSTANCE = new Inv08(); - - /** - * Statically initializes the query specification after the field {@link #INSTANCE} is assigned. - * This initialization order is required to support indirect recursion. - * - *

    The static initializer is defined using a helper field to work around limitations of the code generator. - * - */ - private static final Object STATIC_INITIALIZER = ensureInitialized(); - - public static Object ensureInitialized() { - INSTANCE.ensureInitializedInternal(); - return null; - } - } - - private static class GeneratedPQuery extends BaseGeneratedEMFPQuery { - private static final Inv08.GeneratedPQuery INSTANCE = new GeneratedPQuery(); - - private final PParameter parameter_inc = new PParameter("inc", "Taxation.Income", new EClassTransitiveInstancesKey((EClass)getClassifierLiteralSafe("http:///TaxCard.ecore", "Income")), PParameterDirection.INOUT); - - private final List parameters = Arrays.asList(parameter_inc); - - private GeneratedPQuery() { - super(PVisibility.PUBLIC); - } - - @Override - public String getFullyQualifiedName() { - return "queries.inv08"; - } - - @Override - public List getParameterNames() { - return Arrays.asList("inc"); - } - - @Override - public List getParameters() { - return parameters; - } - - @Override - public Set doGetContainedBodies() { - setEvaluationHints(new QueryEvaluationHint(null, QueryEvaluationHint.BackendRequirement.UNSPECIFIED)); - Set bodies = new LinkedHashSet<>(); - { - PBody body = new PBody(this); - PVariable var_inc = body.getOrCreateVariableByName("inc"); - PVariable var_dist = body.getOrCreateVariableByName("dist"); - new TypeConstraint(body, Tuples.flatTupleOf(var_inc), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Income"))); - body.setSymbolicParameters(Arrays.asList( - new ExportedParameter(body, var_inc, parameter_inc) - )); - // //income_type: None neg find x_inv08_noType(inc) - new NegativePatternCall(body, Tuples.flatTupleOf(var_inc), X_inv08_noType.instance().getInternalQueryRepresentation()); - // Income.details.distance(inc, dist) - new TypeConstraint(body, Tuples.flatTupleOf(var_inc), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Income"))); - PVariable var__virtual_0_ = body.getOrCreateVariableByName(".virtual{0}"); - new TypeConstraint(body, Tuples.flatTupleOf(var_inc, var__virtual_0_), new EStructuralFeatureInstancesKey(getFeatureLiteral("http:///TaxCard.ecore", "Income", "details"))); - new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_0_), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Income_Detail"))); - PVariable var__virtual_1_ = body.getOrCreateVariableByName(".virtual{1}"); - new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_0_, var__virtual_1_), new EStructuralFeatureInstancesKey(getFeatureLiteral("http:///TaxCard.ecore", "Income_Detail", "distance"))); - new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_1_), new EDataTypeInSlotsKey((EDataType)getClassifierLiteral("http://www.eclipse.org/emf/2002/Ecore", "EDouble"))); - new Equality(body, var__virtual_1_, var_dist); - // check(dist != 0) - new ExpressionEvaluation(body, new IExpressionEvaluator() { - - @Override - public String getShortDescription() { - return "Expression evaluation from pattern inv08"; - } - - @Override - public Iterable getInputParameterNames() { - return Arrays.asList("dist");} - - @Override - public Object evaluateExpression(IValueProvider provider) throws Exception { - Double dist = (Double) provider.getValue("dist"); - return evaluateExpression_1_1(dist); - } - }, null); - bodies.add(body); - } - { - PBody body = new PBody(this); - PVariable var_inc = body.getOrCreateVariableByName("inc"); - PVariable var_type = body.getOrCreateVariableByName("type"); - PVariable var_dist = body.getOrCreateVariableByName("dist"); - new TypeConstraint(body, Tuples.flatTupleOf(var_inc), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Income"))); - body.setSymbolicParameters(Arrays.asList( - new ExportedParameter(body, var_inc, parameter_inc) - )); - // //income_type: Not Employment_Income Income.income_type(inc, type) - new TypeConstraint(body, Tuples.flatTupleOf(var_inc), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Income"))); - PVariable var__virtual_0_ = body.getOrCreateVariableByName(".virtual{0}"); - new TypeConstraint(body, Tuples.flatTupleOf(var_inc, var__virtual_0_), new EStructuralFeatureInstancesKey(getFeatureLiteral("http:///TaxCard.ecore", "Income", "income_type"))); - new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_0_), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Income_Type"))); - new Equality(body, var__virtual_0_, var_type); - // neg find x_inv08_notEI(type) - new NegativePatternCall(body, Tuples.flatTupleOf(var_type), X_inv08_notEI.instance().getInternalQueryRepresentation()); - // Income.details.distance(inc, dist) - new TypeConstraint(body, Tuples.flatTupleOf(var_inc), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Income"))); - PVariable var__virtual_1_ = body.getOrCreateVariableByName(".virtual{1}"); - new TypeConstraint(body, Tuples.flatTupleOf(var_inc, var__virtual_1_), new EStructuralFeatureInstancesKey(getFeatureLiteral("http:///TaxCard.ecore", "Income", "details"))); - new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_1_), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Income_Detail"))); - PVariable var__virtual_2_ = body.getOrCreateVariableByName(".virtual{2}"); - new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_1_, var__virtual_2_), new EStructuralFeatureInstancesKey(getFeatureLiteral("http:///TaxCard.ecore", "Income_Detail", "distance"))); - new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_2_), new EDataTypeInSlotsKey((EDataType)getClassifierLiteral("http://www.eclipse.org/emf/2002/Ecore", "EDouble"))); - new Equality(body, var__virtual_2_, var_dist); - // check(dist != 0) - new ExpressionEvaluation(body, new IExpressionEvaluator() { - - @Override - public String getShortDescription() { - return "Expression evaluation from pattern inv08"; - } - - @Override - public Iterable getInputParameterNames() { - return Arrays.asList("dist");} - - @Override - public Object evaluateExpression(IValueProvider provider) throws Exception { - Double dist = (Double) provider.getValue("dist"); - return evaluateExpression_2_1(dist); - } - }, null); - bodies.add(body); - } - { - PBody body = new PBody(this); - PVariable var_inc = body.getOrCreateVariableByName("inc"); - PVariable var_type = body.getOrCreateVariableByName("type"); - new TypeConstraint(body, Tuples.flatTupleOf(var_inc), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Income"))); - body.setSymbolicParameters(Arrays.asList( - new ExportedParameter(body, var_inc, parameter_inc) - )); - // //income_type: Employment Income Income.income_type(inc, type) - new TypeConstraint(body, Tuples.flatTupleOf(var_inc), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Income"))); - PVariable var__virtual_0_ = body.getOrCreateVariableByName(".virtual{0}"); - new TypeConstraint(body, Tuples.flatTupleOf(var_inc, var__virtual_0_), new EStructuralFeatureInstancesKey(getFeatureLiteral("http:///TaxCard.ecore", "Income", "income_type"))); - new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_0_), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Income_Type"))); - new Equality(body, var__virtual_0_, var_type); - // Employment_Income(type) - new TypeConstraint(body, Tuples.flatTupleOf(var_type), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Employment_Income"))); - // find x_inv08_inRange(inc) - new PositivePatternCall(body, Tuples.flatTupleOf(var_inc), X_inv08_inRange.instance().getInternalQueryRepresentation()); - bodies.add(body); - } - { - PAnnotation annotation = new PAnnotation("Constraint"); - annotation.addAttribute("message", "inv08"); - annotation.addAttribute("severity", "error"); - annotation.addAttribute("key", Arrays.asList(new Object[] { - new ParameterReference("inc") - })); - addAnnotation(annotation); - } - return bodies; - } - } - - private static boolean evaluateExpression_1_1(final Double dist) { - return ((dist).doubleValue() != 0); - } - - private static boolean evaluateExpression_2_1(final Double dist) { - return ((dist).doubleValue() != 0); - } -} diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/Inv10.java b/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/Inv10.java deleted file mode 100644 index 6ee0111e..00000000 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/Inv10.java +++ /dev/null @@ -1,616 +0,0 @@ -/** - * Generated from platform:/resource/case.study.pledge.run/src/queries/case_study_A.vql - */ -package queries; - -import Taxation.Income; -import java.util.Arrays; -import java.util.Collection; -import java.util.LinkedHashSet; -import java.util.List; -import java.util.Objects; -import java.util.Optional; -import java.util.Set; -import java.util.function.Consumer; -import java.util.stream.Collectors; -import java.util.stream.Stream; -import org.apache.log4j.Logger; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EDataType; -import org.eclipse.viatra.query.runtime.api.IPatternMatch; -import org.eclipse.viatra.query.runtime.api.IQuerySpecification; -import org.eclipse.viatra.query.runtime.api.ViatraQueryEngine; -import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFPQuery; -import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFQuerySpecification; -import org.eclipse.viatra.query.runtime.api.impl.BaseMatcher; -import org.eclipse.viatra.query.runtime.api.impl.BasePatternMatch; -import org.eclipse.viatra.query.runtime.emf.types.EClassTransitiveInstancesKey; -import org.eclipse.viatra.query.runtime.emf.types.EDataTypeInSlotsKey; -import org.eclipse.viatra.query.runtime.emf.types.EStructuralFeatureInstancesKey; -import org.eclipse.viatra.query.runtime.matchers.backend.QueryEvaluationHint; -import org.eclipse.viatra.query.runtime.matchers.psystem.IExpressionEvaluator; -import org.eclipse.viatra.query.runtime.matchers.psystem.IValueProvider; -import org.eclipse.viatra.query.runtime.matchers.psystem.PBody; -import org.eclipse.viatra.query.runtime.matchers.psystem.PVariable; -import org.eclipse.viatra.query.runtime.matchers.psystem.annotations.PAnnotation; -import org.eclipse.viatra.query.runtime.matchers.psystem.annotations.ParameterReference; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.Equality; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.ExportedParameter; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.ExpressionEvaluation; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicenumerables.TypeConstraint; -import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameter; -import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameterDirection; -import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PVisibility; -import org.eclipse.viatra.query.runtime.matchers.tuple.Tuple; -import org.eclipse.viatra.query.runtime.matchers.tuple.Tuples; -import org.eclipse.viatra.query.runtime.util.ViatraQueryLoggingUtil; - -/** - * A pattern-specific query specification that can instantiate Matcher in a type-safe way. - * - *

    Original source: - *

    - *         //inv9-DerivedFeature
    - *         
    - *         //inv10-Ordered Sets
    - *         {@literal @}Constraint(message = "inv10", severity = "error", key = {inc})
    - *         pattern inv10(inc : Income) {
    - *         	Income.details.amount(inc, a1);
    - *         	Income.details.amount(inc, a2);
    - *         	check(a1 != a2);//compare values
    - *         }
    - * 
    - * - * @see Matcher - * @see Match - * - */ -@SuppressWarnings("all") -public final class Inv10 extends BaseGeneratedEMFQuerySpecification { - /** - * Pattern-specific match representation of the queries.inv10 pattern, - * to be used in conjunction with {@link Matcher}. - * - *

    Class fields correspond to parameters of the pattern. Fields with value null are considered unassigned. - * Each instance is a (possibly partial) substitution of pattern parameters, - * usable to represent a match of the pattern in the result of a query, - * or to specify the bound (fixed) input parameters when issuing a query. - * - * @see Matcher - * - */ - public static abstract class Match extends BasePatternMatch { - private Income fInc; - - private static List parameterNames = makeImmutableList("inc"); - - private Match(final Income pInc) { - this.fInc = pInc; - } - - @Override - public Object get(final String parameterName) { - switch(parameterName) { - case "inc": return this.fInc; - default: return null; - } - } - - @Override - public Object get(final int index) { - switch(index) { - case 0: return this.fInc; - default: return null; - } - } - - public Income getInc() { - return this.fInc; - } - - @Override - public boolean set(final String parameterName, final Object newValue) { - if (!isMutable()) throw new java.lang.UnsupportedOperationException(); - if ("inc".equals(parameterName) ) { - this.fInc = (Income) newValue; - return true; - } - return false; - } - - public void setInc(final Income pInc) { - if (!isMutable()) throw new java.lang.UnsupportedOperationException(); - this.fInc = pInc; - } - - @Override - public String patternName() { - return "queries.inv10"; - } - - @Override - public List parameterNames() { - return Inv10.Match.parameterNames; - } - - @Override - public Object[] toArray() { - return new Object[]{fInc}; - } - - @Override - public Inv10.Match toImmutable() { - return isMutable() ? newMatch(fInc) : this; - } - - @Override - public String prettyPrint() { - StringBuilder result = new StringBuilder(); - result.append("\"inc\"=" + prettyPrintValue(fInc)); - return result.toString(); - } - - @Override - public int hashCode() { - return Objects.hash(fInc); - } - - @Override - public boolean equals(final Object obj) { - if (this == obj) - return true; - if (obj == null) { - return false; - } - if ((obj instanceof Inv10.Match)) { - Inv10.Match other = (Inv10.Match) obj; - return Objects.equals(fInc, other.fInc); - } else { - // this should be infrequent - if (!(obj instanceof IPatternMatch)) { - return false; - } - IPatternMatch otherSig = (IPatternMatch) obj; - return Objects.equals(specification(), otherSig.specification()) && Arrays.deepEquals(toArray(), otherSig.toArray()); - } - } - - @Override - public Inv10 specification() { - return Inv10.instance(); - } - - /** - * Returns an empty, mutable match. - * Fields of the mutable match can be filled to create a partial match, usable as matcher input. - * - * @return the empty match. - * - */ - public static Inv10.Match newEmptyMatch() { - return new Mutable(null); - } - - /** - * Returns a mutable (partial) match. - * Fields of the mutable match can be filled to create a partial match, usable as matcher input. - * - * @param pInc the fixed value of pattern parameter inc, or null if not bound. - * @return the new, mutable (partial) match object. - * - */ - public static Inv10.Match newMutableMatch(final Income pInc) { - return new Mutable(pInc); - } - - /** - * Returns a new (partial) match. - * This can be used e.g. to call the matcher with a partial match. - *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. - * @param pInc the fixed value of pattern parameter inc, or null if not bound. - * @return the (partial) match object. - * - */ - public static Inv10.Match newMatch(final Income pInc) { - return new Immutable(pInc); - } - - private static final class Mutable extends Inv10.Match { - Mutable(final Income pInc) { - super(pInc); - } - - @Override - public boolean isMutable() { - return true; - } - } - - private static final class Immutable extends Inv10.Match { - Immutable(final Income pInc) { - super(pInc); - } - - @Override - public boolean isMutable() { - return false; - } - } - } - - /** - * Generated pattern matcher API of the queries.inv10 pattern, - * providing pattern-specific query methods. - * - *

    Use the pattern matcher on a given model via {@link #on(ViatraQueryEngine)}, - * e.g. in conjunction with {@link ViatraQueryEngine#on(QueryScope)}. - * - *

    Matches of the pattern will be represented as {@link Match}. - * - *

    Original source: - *

    -   * //inv9-DerivedFeature
    -   * 
    -   * //inv10-Ordered Sets
    -   * {@literal @}Constraint(message = "inv10", severity = "error", key = {inc})
    -   * pattern inv10(inc : Income) {
    -   * 	Income.details.amount(inc, a1);
    -   * 	Income.details.amount(inc, a2);
    -   * 	check(a1 != a2);//compare values
    -   * }
    -   * 
    - * - * @see Match - * @see Inv10 - * - */ - public static class Matcher extends BaseMatcher { - /** - * Initializes the pattern matcher within an existing VIATRA Query engine. - * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. - * - * @param engine the existing VIATRA Query engine in which this matcher will be created. - * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation - * - */ - public static Inv10.Matcher on(final ViatraQueryEngine engine) { - // check if matcher already exists - Matcher matcher = engine.getExistingMatcher(querySpecification()); - if (matcher == null) { - matcher = (Matcher)engine.getMatcher(querySpecification()); - } - return matcher; - } - - /** - * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation - * @return an initialized matcher - * @noreference This method is for internal matcher initialization by the framework, do not call it manually. - * - */ - public static Inv10.Matcher create() { - return new Matcher(); - } - - private static final int POSITION_INC = 0; - - private static final Logger LOGGER = ViatraQueryLoggingUtil.getLogger(Inv10.Matcher.class); - - /** - * Initializes the pattern matcher within an existing VIATRA Query engine. - * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. - * - * @param engine the existing VIATRA Query engine in which this matcher will be created. - * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation - * - */ - private Matcher() { - super(querySpecification()); - } - - /** - * Returns the set of all matches of the pattern that conform to the given fixed values of some parameters. - * @param pInc the fixed value of pattern parameter inc, or null if not bound. - * @return matches represented as a Match object. - * - */ - public Collection getAllMatches(final Income pInc) { - return rawStreamAllMatches(new Object[]{pInc}).collect(Collectors.toSet()); - } - - /** - * Returns a stream of all matches of the pattern that conform to the given fixed values of some parameters. - *

    - * NOTE: It is important not to modify the source model while the stream is being processed. - * If the match set of the pattern changes during processing, the contents of the stream is undefined. - * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. - * @param pInc the fixed value of pattern parameter inc, or null if not bound. - * @return a stream of matches represented as a Match object. - * - */ - public Stream streamAllMatches(final Income pInc) { - return rawStreamAllMatches(new Object[]{pInc}); - } - - /** - * Returns an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. - * Neither determinism nor randomness of selection is guaranteed. - * @param pInc the fixed value of pattern parameter inc, or null if not bound. - * @return a match represented as a Match object, or null if no match is found. - * - */ - public Optional getOneArbitraryMatch(final Income pInc) { - return rawGetOneArbitraryMatch(new Object[]{pInc}); - } - - /** - * Indicates whether the given combination of specified pattern parameters constitute a valid pattern match, - * under any possible substitution of the unspecified parameters (if any). - * @param pInc the fixed value of pattern parameter inc, or null if not bound. - * @return true if the input is a valid (partial) match of the pattern. - * - */ - public boolean hasMatch(final Income pInc) { - return rawHasMatch(new Object[]{pInc}); - } - - /** - * Returns the number of all matches of the pattern that conform to the given fixed values of some parameters. - * @param pInc the fixed value of pattern parameter inc, or null if not bound. - * @return the number of pattern matches found. - * - */ - public int countMatches(final Income pInc) { - return rawCountMatches(new Object[]{pInc}); - } - - /** - * Executes the given processor on an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. - * Neither determinism nor randomness of selection is guaranteed. - * @param pInc the fixed value of pattern parameter inc, or null if not bound. - * @param processor the action that will process the selected match. - * @return true if the pattern has at least one match with the given parameter values, false if the processor was not invoked - * - */ - public boolean forOneArbitraryMatch(final Income pInc, final Consumer processor) { - return rawForOneArbitraryMatch(new Object[]{pInc}, processor); - } - - /** - * Returns a new (partial) match. - * This can be used e.g. to call the matcher with a partial match. - *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. - * @param pInc the fixed value of pattern parameter inc, or null if not bound. - * @return the (partial) match object. - * - */ - public Inv10.Match newMatch(final Income pInc) { - return Inv10.Match.newMatch(pInc); - } - - /** - * Retrieve the set of values that occur in matches for inc. - * @return the Set of all values or empty set if there are no matches - * - */ - protected Stream rawStreamAllValuesOfinc(final Object[] parameters) { - return rawStreamAllValues(POSITION_INC, parameters).map(Income.class::cast); - } - - /** - * Retrieve the set of values that occur in matches for inc. - * @return the Set of all values or empty set if there are no matches - * - */ - public Set getAllValuesOfinc() { - return rawStreamAllValuesOfinc(emptyArray()).collect(Collectors.toSet()); - } - - /** - * Retrieve the set of values that occur in matches for inc. - * @return the Set of all values or empty set if there are no matches - * - */ - public Stream streamAllValuesOfinc() { - return rawStreamAllValuesOfinc(emptyArray()); - } - - @Override - protected Inv10.Match tupleToMatch(final Tuple t) { - try { - return Inv10.Match.newMatch((Income) t.get(POSITION_INC)); - } catch(ClassCastException e) { - LOGGER.error("Element(s) in tuple not properly typed!",e); - return null; - } - } - - @Override - protected Inv10.Match arrayToMatch(final Object[] match) { - try { - return Inv10.Match.newMatch((Income) match[POSITION_INC]); - } catch(ClassCastException e) { - LOGGER.error("Element(s) in array not properly typed!",e); - return null; - } - } - - @Override - protected Inv10.Match arrayToMatchMutable(final Object[] match) { - try { - return Inv10.Match.newMutableMatch((Income) match[POSITION_INC]); - } catch(ClassCastException e) { - LOGGER.error("Element(s) in array not properly typed!",e); - return null; - } - } - - /** - * @return the singleton instance of the query specification of this pattern - * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded - * - */ - public static IQuerySpecification querySpecification() { - return Inv10.instance(); - } - } - - private Inv10() { - super(GeneratedPQuery.INSTANCE); - } - - /** - * @return the singleton instance of the query specification - * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded - * - */ - public static Inv10 instance() { - try{ - return LazyHolder.INSTANCE; - } catch (ExceptionInInitializerError err) { - throw processInitializerError(err); - } - } - - @Override - protected Inv10.Matcher instantiate(final ViatraQueryEngine engine) { - return Inv10.Matcher.on(engine); - } - - @Override - public Inv10.Matcher instantiate() { - return Inv10.Matcher.create(); - } - - @Override - public Inv10.Match newEmptyMatch() { - return Inv10.Match.newEmptyMatch(); - } - - @Override - public Inv10.Match newMatch(final Object... parameters) { - return Inv10.Match.newMatch((Taxation.Income) parameters[0]); - } - - /** - * Inner class allowing the singleton instance of {@link Inv10} to be created - * not at the class load time of the outer class, - * but rather at the first call to {@link Inv10#instance()}. - * - *

    This workaround is required e.g. to support recursion. - * - */ - private static class LazyHolder { - private static final Inv10 INSTANCE = new Inv10(); - - /** - * Statically initializes the query specification after the field {@link #INSTANCE} is assigned. - * This initialization order is required to support indirect recursion. - * - *

    The static initializer is defined using a helper field to work around limitations of the code generator. - * - */ - private static final Object STATIC_INITIALIZER = ensureInitialized(); - - public static Object ensureInitialized() { - INSTANCE.ensureInitializedInternal(); - return null; - } - } - - private static class GeneratedPQuery extends BaseGeneratedEMFPQuery { - private static final Inv10.GeneratedPQuery INSTANCE = new GeneratedPQuery(); - - private final PParameter parameter_inc = new PParameter("inc", "Taxation.Income", new EClassTransitiveInstancesKey((EClass)getClassifierLiteralSafe("http:///TaxCard.ecore", "Income")), PParameterDirection.INOUT); - - private final List parameters = Arrays.asList(parameter_inc); - - private GeneratedPQuery() { - super(PVisibility.PUBLIC); - } - - @Override - public String getFullyQualifiedName() { - return "queries.inv10"; - } - - @Override - public List getParameterNames() { - return Arrays.asList("inc"); - } - - @Override - public List getParameters() { - return parameters; - } - - @Override - public Set doGetContainedBodies() { - setEvaluationHints(new QueryEvaluationHint(null, QueryEvaluationHint.BackendRequirement.UNSPECIFIED)); - Set bodies = new LinkedHashSet<>(); - { - PBody body = new PBody(this); - PVariable var_inc = body.getOrCreateVariableByName("inc"); - PVariable var_a1 = body.getOrCreateVariableByName("a1"); - PVariable var_a2 = body.getOrCreateVariableByName("a2"); - new TypeConstraint(body, Tuples.flatTupleOf(var_inc), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Income"))); - body.setSymbolicParameters(Arrays.asList( - new ExportedParameter(body, var_inc, parameter_inc) - )); - // Income.details.amount(inc, a1) - new TypeConstraint(body, Tuples.flatTupleOf(var_inc), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Income"))); - PVariable var__virtual_0_ = body.getOrCreateVariableByName(".virtual{0}"); - new TypeConstraint(body, Tuples.flatTupleOf(var_inc, var__virtual_0_), new EStructuralFeatureInstancesKey(getFeatureLiteral("http:///TaxCard.ecore", "Income", "details"))); - new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_0_), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Income_Detail"))); - PVariable var__virtual_1_ = body.getOrCreateVariableByName(".virtual{1}"); - new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_0_, var__virtual_1_), new EStructuralFeatureInstancesKey(getFeatureLiteral("http:///TaxCard.ecore", "Income_Detail", "amount"))); - new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_1_), new EDataTypeInSlotsKey((EDataType)getClassifierLiteral("http://www.eclipse.org/emf/2002/Ecore", "EDouble"))); - new Equality(body, var__virtual_1_, var_a1); - // Income.details.amount(inc, a2) - new TypeConstraint(body, Tuples.flatTupleOf(var_inc), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Income"))); - PVariable var__virtual_2_ = body.getOrCreateVariableByName(".virtual{2}"); - new TypeConstraint(body, Tuples.flatTupleOf(var_inc, var__virtual_2_), new EStructuralFeatureInstancesKey(getFeatureLiteral("http:///TaxCard.ecore", "Income", "details"))); - new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_2_), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Income_Detail"))); - PVariable var__virtual_3_ = body.getOrCreateVariableByName(".virtual{3}"); - new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_2_, var__virtual_3_), new EStructuralFeatureInstancesKey(getFeatureLiteral("http:///TaxCard.ecore", "Income_Detail", "amount"))); - new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_3_), new EDataTypeInSlotsKey((EDataType)getClassifierLiteral("http://www.eclipse.org/emf/2002/Ecore", "EDouble"))); - new Equality(body, var__virtual_3_, var_a2); - // check(a1 != a2) - new ExpressionEvaluation(body, new IExpressionEvaluator() { - - @Override - public String getShortDescription() { - return "Expression evaluation from pattern inv10"; - } - - @Override - public Iterable getInputParameterNames() { - return Arrays.asList("a1", "a2");} - - @Override - public Object evaluateExpression(IValueProvider provider) throws Exception { - Double a1 = (Double) provider.getValue("a1"); - Double a2 = (Double) provider.getValue("a2"); - return evaluateExpression_1_1(a1, a2); - } - }, null); - bodies.add(body); - } - { - PAnnotation annotation = new PAnnotation("Constraint"); - annotation.addAttribute("message", "inv10"); - annotation.addAttribute("severity", "error"); - annotation.addAttribute("key", Arrays.asList(new Object[] { - new ParameterReference("inc") - })); - addAnnotation(annotation); - } - return bodies; - } - } - - private static boolean evaluateExpression_1_1(final Double a1, final Double a2) { - boolean _notEquals = (!com.google.common.base.Objects.equal(a1, a2)); - return _notEquals; - } -} diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/Inv11.java b/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/Inv11.java deleted file mode 100644 index 5dc82fc9..00000000 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/Inv11.java +++ /dev/null @@ -1,566 +0,0 @@ -/** - * Generated from platform:/resource/case.study.pledge.run/src/queries/case_study_A.vql - */ -package queries; - -import Taxation.Expense; -import java.util.Arrays; -import java.util.Collection; -import java.util.LinkedHashSet; -import java.util.List; -import java.util.Objects; -import java.util.Optional; -import java.util.Set; -import java.util.function.Consumer; -import java.util.stream.Collectors; -import java.util.stream.Stream; -import org.apache.log4j.Logger; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.viatra.query.runtime.api.IPatternMatch; -import org.eclipse.viatra.query.runtime.api.IQuerySpecification; -import org.eclipse.viatra.query.runtime.api.ViatraQueryEngine; -import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFPQuery; -import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFQuerySpecification; -import org.eclipse.viatra.query.runtime.api.impl.BaseMatcher; -import org.eclipse.viatra.query.runtime.api.impl.BasePatternMatch; -import org.eclipse.viatra.query.runtime.emf.types.EClassTransitiveInstancesKey; -import org.eclipse.viatra.query.runtime.matchers.backend.QueryEvaluationHint; -import org.eclipse.viatra.query.runtime.matchers.psystem.PBody; -import org.eclipse.viatra.query.runtime.matchers.psystem.PVariable; -import org.eclipse.viatra.query.runtime.matchers.psystem.annotations.PAnnotation; -import org.eclipse.viatra.query.runtime.matchers.psystem.annotations.ParameterReference; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.ExportedParameter; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicenumerables.PositivePatternCall; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicenumerables.TypeConstraint; -import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameter; -import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameterDirection; -import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PVisibility; -import org.eclipse.viatra.query.runtime.matchers.tuple.Tuple; -import org.eclipse.viatra.query.runtime.matchers.tuple.Tuples; -import org.eclipse.viatra.query.runtime.util.ViatraQueryLoggingUtil; -import queries.X_inv11_incNotOver100; -import queries.X_inv11_incOver100; - -/** - * A pattern-specific query specification that can instantiate Matcher in a type-safe way. - * - *

    Original source: - *

    - *         //inv11-attributes-handled by multiplicity
    - *         {@literal @}Constraint(message = "inv11", severity = "error", key = {exp})
    - *         pattern inv11(exp : Expense) {
    - *             find x_inv11_incOver100(exp);
    - *             find x_inv11_incNotOver100(exp);
    - *         }
    - * 
    - * - * @see Matcher - * @see Match - * - */ -@SuppressWarnings("all") -public final class Inv11 extends BaseGeneratedEMFQuerySpecification { - /** - * Pattern-specific match representation of the queries.inv11 pattern, - * to be used in conjunction with {@link Matcher}. - * - *

    Class fields correspond to parameters of the pattern. Fields with value null are considered unassigned. - * Each instance is a (possibly partial) substitution of pattern parameters, - * usable to represent a match of the pattern in the result of a query, - * or to specify the bound (fixed) input parameters when issuing a query. - * - * @see Matcher - * - */ - public static abstract class Match extends BasePatternMatch { - private Expense fExp; - - private static List parameterNames = makeImmutableList("exp"); - - private Match(final Expense pExp) { - this.fExp = pExp; - } - - @Override - public Object get(final String parameterName) { - switch(parameterName) { - case "exp": return this.fExp; - default: return null; - } - } - - @Override - public Object get(final int index) { - switch(index) { - case 0: return this.fExp; - default: return null; - } - } - - public Expense getExp() { - return this.fExp; - } - - @Override - public boolean set(final String parameterName, final Object newValue) { - if (!isMutable()) throw new java.lang.UnsupportedOperationException(); - if ("exp".equals(parameterName) ) { - this.fExp = (Expense) newValue; - return true; - } - return false; - } - - public void setExp(final Expense pExp) { - if (!isMutable()) throw new java.lang.UnsupportedOperationException(); - this.fExp = pExp; - } - - @Override - public String patternName() { - return "queries.inv11"; - } - - @Override - public List parameterNames() { - return Inv11.Match.parameterNames; - } - - @Override - public Object[] toArray() { - return new Object[]{fExp}; - } - - @Override - public Inv11.Match toImmutable() { - return isMutable() ? newMatch(fExp) : this; - } - - @Override - public String prettyPrint() { - StringBuilder result = new StringBuilder(); - result.append("\"exp\"=" + prettyPrintValue(fExp)); - return result.toString(); - } - - @Override - public int hashCode() { - return Objects.hash(fExp); - } - - @Override - public boolean equals(final Object obj) { - if (this == obj) - return true; - if (obj == null) { - return false; - } - if ((obj instanceof Inv11.Match)) { - Inv11.Match other = (Inv11.Match) obj; - return Objects.equals(fExp, other.fExp); - } else { - // this should be infrequent - if (!(obj instanceof IPatternMatch)) { - return false; - } - IPatternMatch otherSig = (IPatternMatch) obj; - return Objects.equals(specification(), otherSig.specification()) && Arrays.deepEquals(toArray(), otherSig.toArray()); - } - } - - @Override - public Inv11 specification() { - return Inv11.instance(); - } - - /** - * Returns an empty, mutable match. - * Fields of the mutable match can be filled to create a partial match, usable as matcher input. - * - * @return the empty match. - * - */ - public static Inv11.Match newEmptyMatch() { - return new Mutable(null); - } - - /** - * Returns a mutable (partial) match. - * Fields of the mutable match can be filled to create a partial match, usable as matcher input. - * - * @param pExp the fixed value of pattern parameter exp, or null if not bound. - * @return the new, mutable (partial) match object. - * - */ - public static Inv11.Match newMutableMatch(final Expense pExp) { - return new Mutable(pExp); - } - - /** - * Returns a new (partial) match. - * This can be used e.g. to call the matcher with a partial match. - *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. - * @param pExp the fixed value of pattern parameter exp, or null if not bound. - * @return the (partial) match object. - * - */ - public static Inv11.Match newMatch(final Expense pExp) { - return new Immutable(pExp); - } - - private static final class Mutable extends Inv11.Match { - Mutable(final Expense pExp) { - super(pExp); - } - - @Override - public boolean isMutable() { - return true; - } - } - - private static final class Immutable extends Inv11.Match { - Immutable(final Expense pExp) { - super(pExp); - } - - @Override - public boolean isMutable() { - return false; - } - } - } - - /** - * Generated pattern matcher API of the queries.inv11 pattern, - * providing pattern-specific query methods. - * - *

    Use the pattern matcher on a given model via {@link #on(ViatraQueryEngine)}, - * e.g. in conjunction with {@link ViatraQueryEngine#on(QueryScope)}. - * - *

    Matches of the pattern will be represented as {@link Match}. - * - *

    Original source: - *

    -   * //inv11-attributes-handled by multiplicity
    -   * {@literal @}Constraint(message = "inv11", severity = "error", key = {exp})
    -   * pattern inv11(exp : Expense) {
    -   *     find x_inv11_incOver100(exp);
    -   *     find x_inv11_incNotOver100(exp);
    -   * }
    -   * 
    - * - * @see Match - * @see Inv11 - * - */ - public static class Matcher extends BaseMatcher { - /** - * Initializes the pattern matcher within an existing VIATRA Query engine. - * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. - * - * @param engine the existing VIATRA Query engine in which this matcher will be created. - * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation - * - */ - public static Inv11.Matcher on(final ViatraQueryEngine engine) { - // check if matcher already exists - Matcher matcher = engine.getExistingMatcher(querySpecification()); - if (matcher == null) { - matcher = (Matcher)engine.getMatcher(querySpecification()); - } - return matcher; - } - - /** - * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation - * @return an initialized matcher - * @noreference This method is for internal matcher initialization by the framework, do not call it manually. - * - */ - public static Inv11.Matcher create() { - return new Matcher(); - } - - private static final int POSITION_EXP = 0; - - private static final Logger LOGGER = ViatraQueryLoggingUtil.getLogger(Inv11.Matcher.class); - - /** - * Initializes the pattern matcher within an existing VIATRA Query engine. - * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. - * - * @param engine the existing VIATRA Query engine in which this matcher will be created. - * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation - * - */ - private Matcher() { - super(querySpecification()); - } - - /** - * Returns the set of all matches of the pattern that conform to the given fixed values of some parameters. - * @param pExp the fixed value of pattern parameter exp, or null if not bound. - * @return matches represented as a Match object. - * - */ - public Collection getAllMatches(final Expense pExp) { - return rawStreamAllMatches(new Object[]{pExp}).collect(Collectors.toSet()); - } - - /** - * Returns a stream of all matches of the pattern that conform to the given fixed values of some parameters. - *

    - * NOTE: It is important not to modify the source model while the stream is being processed. - * If the match set of the pattern changes during processing, the contents of the stream is undefined. - * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. - * @param pExp the fixed value of pattern parameter exp, or null if not bound. - * @return a stream of matches represented as a Match object. - * - */ - public Stream streamAllMatches(final Expense pExp) { - return rawStreamAllMatches(new Object[]{pExp}); - } - - /** - * Returns an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. - * Neither determinism nor randomness of selection is guaranteed. - * @param pExp the fixed value of pattern parameter exp, or null if not bound. - * @return a match represented as a Match object, or null if no match is found. - * - */ - public Optional getOneArbitraryMatch(final Expense pExp) { - return rawGetOneArbitraryMatch(new Object[]{pExp}); - } - - /** - * Indicates whether the given combination of specified pattern parameters constitute a valid pattern match, - * under any possible substitution of the unspecified parameters (if any). - * @param pExp the fixed value of pattern parameter exp, or null if not bound. - * @return true if the input is a valid (partial) match of the pattern. - * - */ - public boolean hasMatch(final Expense pExp) { - return rawHasMatch(new Object[]{pExp}); - } - - /** - * Returns the number of all matches of the pattern that conform to the given fixed values of some parameters. - * @param pExp the fixed value of pattern parameter exp, or null if not bound. - * @return the number of pattern matches found. - * - */ - public int countMatches(final Expense pExp) { - return rawCountMatches(new Object[]{pExp}); - } - - /** - * Executes the given processor on an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. - * Neither determinism nor randomness of selection is guaranteed. - * @param pExp the fixed value of pattern parameter exp, or null if not bound. - * @param processor the action that will process the selected match. - * @return true if the pattern has at least one match with the given parameter values, false if the processor was not invoked - * - */ - public boolean forOneArbitraryMatch(final Expense pExp, final Consumer processor) { - return rawForOneArbitraryMatch(new Object[]{pExp}, processor); - } - - /** - * Returns a new (partial) match. - * This can be used e.g. to call the matcher with a partial match. - *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. - * @param pExp the fixed value of pattern parameter exp, or null if not bound. - * @return the (partial) match object. - * - */ - public Inv11.Match newMatch(final Expense pExp) { - return Inv11.Match.newMatch(pExp); - } - - /** - * Retrieve the set of values that occur in matches for exp. - * @return the Set of all values or empty set if there are no matches - * - */ - protected Stream rawStreamAllValuesOfexp(final Object[] parameters) { - return rawStreamAllValues(POSITION_EXP, parameters).map(Expense.class::cast); - } - - /** - * Retrieve the set of values that occur in matches for exp. - * @return the Set of all values or empty set if there are no matches - * - */ - public Set getAllValuesOfexp() { - return rawStreamAllValuesOfexp(emptyArray()).collect(Collectors.toSet()); - } - - /** - * Retrieve the set of values that occur in matches for exp. - * @return the Set of all values or empty set if there are no matches - * - */ - public Stream streamAllValuesOfexp() { - return rawStreamAllValuesOfexp(emptyArray()); - } - - @Override - protected Inv11.Match tupleToMatch(final Tuple t) { - try { - return Inv11.Match.newMatch((Expense) t.get(POSITION_EXP)); - } catch(ClassCastException e) { - LOGGER.error("Element(s) in tuple not properly typed!",e); - return null; - } - } - - @Override - protected Inv11.Match arrayToMatch(final Object[] match) { - try { - return Inv11.Match.newMatch((Expense) match[POSITION_EXP]); - } catch(ClassCastException e) { - LOGGER.error("Element(s) in array not properly typed!",e); - return null; - } - } - - @Override - protected Inv11.Match arrayToMatchMutable(final Object[] match) { - try { - return Inv11.Match.newMutableMatch((Expense) match[POSITION_EXP]); - } catch(ClassCastException e) { - LOGGER.error("Element(s) in array not properly typed!",e); - return null; - } - } - - /** - * @return the singleton instance of the query specification of this pattern - * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded - * - */ - public static IQuerySpecification querySpecification() { - return Inv11.instance(); - } - } - - private Inv11() { - super(GeneratedPQuery.INSTANCE); - } - - /** - * @return the singleton instance of the query specification - * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded - * - */ - public static Inv11 instance() { - try{ - return LazyHolder.INSTANCE; - } catch (ExceptionInInitializerError err) { - throw processInitializerError(err); - } - } - - @Override - protected Inv11.Matcher instantiate(final ViatraQueryEngine engine) { - return Inv11.Matcher.on(engine); - } - - @Override - public Inv11.Matcher instantiate() { - return Inv11.Matcher.create(); - } - - @Override - public Inv11.Match newEmptyMatch() { - return Inv11.Match.newEmptyMatch(); - } - - @Override - public Inv11.Match newMatch(final Object... parameters) { - return Inv11.Match.newMatch((Taxation.Expense) parameters[0]); - } - - /** - * Inner class allowing the singleton instance of {@link Inv11} to be created - * not at the class load time of the outer class, - * but rather at the first call to {@link Inv11#instance()}. - * - *

    This workaround is required e.g. to support recursion. - * - */ - private static class LazyHolder { - private static final Inv11 INSTANCE = new Inv11(); - - /** - * Statically initializes the query specification after the field {@link #INSTANCE} is assigned. - * This initialization order is required to support indirect recursion. - * - *

    The static initializer is defined using a helper field to work around limitations of the code generator. - * - */ - private static final Object STATIC_INITIALIZER = ensureInitialized(); - - public static Object ensureInitialized() { - INSTANCE.ensureInitializedInternal(); - return null; - } - } - - private static class GeneratedPQuery extends BaseGeneratedEMFPQuery { - private static final Inv11.GeneratedPQuery INSTANCE = new GeneratedPQuery(); - - private final PParameter parameter_exp = new PParameter("exp", "Taxation.Expense", new EClassTransitiveInstancesKey((EClass)getClassifierLiteralSafe("http:///TaxCard.ecore", "Expense")), PParameterDirection.INOUT); - - private final List parameters = Arrays.asList(parameter_exp); - - private GeneratedPQuery() { - super(PVisibility.PUBLIC); - } - - @Override - public String getFullyQualifiedName() { - return "queries.inv11"; - } - - @Override - public List getParameterNames() { - return Arrays.asList("exp"); - } - - @Override - public List getParameters() { - return parameters; - } - - @Override - public Set doGetContainedBodies() { - setEvaluationHints(new QueryEvaluationHint(null, QueryEvaluationHint.BackendRequirement.UNSPECIFIED)); - Set bodies = new LinkedHashSet<>(); - { - PBody body = new PBody(this); - PVariable var_exp = body.getOrCreateVariableByName("exp"); - new TypeConstraint(body, Tuples.flatTupleOf(var_exp), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Expense"))); - body.setSymbolicParameters(Arrays.asList( - new ExportedParameter(body, var_exp, parameter_exp) - )); - // find x_inv11_incOver100(exp) - new PositivePatternCall(body, Tuples.flatTupleOf(var_exp), X_inv11_incOver100.instance().getInternalQueryRepresentation()); - // find x_inv11_incNotOver100(exp) - new PositivePatternCall(body, Tuples.flatTupleOf(var_exp), X_inv11_incNotOver100.instance().getInternalQueryRepresentation()); - bodies.add(body); - } - { - PAnnotation annotation = new PAnnotation("Constraint"); - annotation.addAttribute("message", "inv11"); - annotation.addAttribute("severity", "error"); - annotation.addAttribute("key", Arrays.asList(new Object[] { - new ParameterReference("exp") - })); - addAnnotation(annotation); - } - return bodies; - } - } -} diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/Inv12.java b/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/Inv12.java deleted file mode 100644 index fc1b0c62..00000000 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/Inv12.java +++ /dev/null @@ -1,596 +0,0 @@ -/** - * Generated from platform:/resource/case.study.pledge.run/src/queries/case_study_A.vql - */ -package queries; - -import Taxation.Tax_Payer; -import java.util.Arrays; -import java.util.Collection; -import java.util.LinkedHashSet; -import java.util.List; -import java.util.Objects; -import java.util.Optional; -import java.util.Set; -import java.util.function.Consumer; -import java.util.stream.Collectors; -import java.util.stream.Stream; -import org.apache.log4j.Logger; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.viatra.query.runtime.api.IPatternMatch; -import org.eclipse.viatra.query.runtime.api.IQuerySpecification; -import org.eclipse.viatra.query.runtime.api.ViatraQueryEngine; -import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFPQuery; -import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFQuerySpecification; -import org.eclipse.viatra.query.runtime.api.impl.BaseMatcher; -import org.eclipse.viatra.query.runtime.api.impl.BasePatternMatch; -import org.eclipse.viatra.query.runtime.emf.types.EClassTransitiveInstancesKey; -import org.eclipse.viatra.query.runtime.emf.types.EStructuralFeatureInstancesKey; -import org.eclipse.viatra.query.runtime.matchers.backend.QueryEvaluationHint; -import org.eclipse.viatra.query.runtime.matchers.psystem.PBody; -import org.eclipse.viatra.query.runtime.matchers.psystem.PVariable; -import org.eclipse.viatra.query.runtime.matchers.psystem.annotations.PAnnotation; -import org.eclipse.viatra.query.runtime.matchers.psystem.annotations.ParameterReference; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.Equality; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.ExportedParameter; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.NegativePatternCall; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicenumerables.TypeConstraint; -import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameter; -import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameterDirection; -import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PVisibility; -import org.eclipse.viatra.query.runtime.matchers.tuple.Tuple; -import org.eclipse.viatra.query.runtime.matchers.tuple.Tuples; -import org.eclipse.viatra.query.runtime.util.ViatraQueryLoggingUtil; -import queries.X_inv12_notNonRes; -import queries.X_inv12_notZZ; - -/** - * A pattern-specific query specification that can instantiate Matcher in a type-safe way. - * - *

    Original source: - *

    - *         //inv12
    - *         //exists - handled logically
    - *         {@literal @}Constraint(message = "inv12", severity = "error", key = {tp})
    - *         pattern inv12(tp : Tax_Payer) {
    - *             Tax_Payer.addresses(tp, hab_add);
    - *             Habitual_Address(hab_add);
    - *             neg find x_inv12_notZZ(hab_add);
    - *             Tax_Payer.incomes(tp, inc);
    - *             Local_Income(inc);
    - *             neg find x_inv12_notNonRes(tp);
    - *         }
    - * 
    - * - * @see Matcher - * @see Match - * - */ -@SuppressWarnings("all") -public final class Inv12 extends BaseGeneratedEMFQuerySpecification { - /** - * Pattern-specific match representation of the queries.inv12 pattern, - * to be used in conjunction with {@link Matcher}. - * - *

    Class fields correspond to parameters of the pattern. Fields with value null are considered unassigned. - * Each instance is a (possibly partial) substitution of pattern parameters, - * usable to represent a match of the pattern in the result of a query, - * or to specify the bound (fixed) input parameters when issuing a query. - * - * @see Matcher - * - */ - public static abstract class Match extends BasePatternMatch { - private Tax_Payer fTp; - - private static List parameterNames = makeImmutableList("tp"); - - private Match(final Tax_Payer pTp) { - this.fTp = pTp; - } - - @Override - public Object get(final String parameterName) { - switch(parameterName) { - case "tp": return this.fTp; - default: return null; - } - } - - @Override - public Object get(final int index) { - switch(index) { - case 0: return this.fTp; - default: return null; - } - } - - public Tax_Payer getTp() { - return this.fTp; - } - - @Override - public boolean set(final String parameterName, final Object newValue) { - if (!isMutable()) throw new java.lang.UnsupportedOperationException(); - if ("tp".equals(parameterName) ) { - this.fTp = (Tax_Payer) newValue; - return true; - } - return false; - } - - public void setTp(final Tax_Payer pTp) { - if (!isMutable()) throw new java.lang.UnsupportedOperationException(); - this.fTp = pTp; - } - - @Override - public String patternName() { - return "queries.inv12"; - } - - @Override - public List parameterNames() { - return Inv12.Match.parameterNames; - } - - @Override - public Object[] toArray() { - return new Object[]{fTp}; - } - - @Override - public Inv12.Match toImmutable() { - return isMutable() ? newMatch(fTp) : this; - } - - @Override - public String prettyPrint() { - StringBuilder result = new StringBuilder(); - result.append("\"tp\"=" + prettyPrintValue(fTp)); - return result.toString(); - } - - @Override - public int hashCode() { - return Objects.hash(fTp); - } - - @Override - public boolean equals(final Object obj) { - if (this == obj) - return true; - if (obj == null) { - return false; - } - if ((obj instanceof Inv12.Match)) { - Inv12.Match other = (Inv12.Match) obj; - return Objects.equals(fTp, other.fTp); - } else { - // this should be infrequent - if (!(obj instanceof IPatternMatch)) { - return false; - } - IPatternMatch otherSig = (IPatternMatch) obj; - return Objects.equals(specification(), otherSig.specification()) && Arrays.deepEquals(toArray(), otherSig.toArray()); - } - } - - @Override - public Inv12 specification() { - return Inv12.instance(); - } - - /** - * Returns an empty, mutable match. - * Fields of the mutable match can be filled to create a partial match, usable as matcher input. - * - * @return the empty match. - * - */ - public static Inv12.Match newEmptyMatch() { - return new Mutable(null); - } - - /** - * Returns a mutable (partial) match. - * Fields of the mutable match can be filled to create a partial match, usable as matcher input. - * - * @param pTp the fixed value of pattern parameter tp, or null if not bound. - * @return the new, mutable (partial) match object. - * - */ - public static Inv12.Match newMutableMatch(final Tax_Payer pTp) { - return new Mutable(pTp); - } - - /** - * Returns a new (partial) match. - * This can be used e.g. to call the matcher with a partial match. - *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. - * @param pTp the fixed value of pattern parameter tp, or null if not bound. - * @return the (partial) match object. - * - */ - public static Inv12.Match newMatch(final Tax_Payer pTp) { - return new Immutable(pTp); - } - - private static final class Mutable extends Inv12.Match { - Mutable(final Tax_Payer pTp) { - super(pTp); - } - - @Override - public boolean isMutable() { - return true; - } - } - - private static final class Immutable extends Inv12.Match { - Immutable(final Tax_Payer pTp) { - super(pTp); - } - - @Override - public boolean isMutable() { - return false; - } - } - } - - /** - * Generated pattern matcher API of the queries.inv12 pattern, - * providing pattern-specific query methods. - * - *

    Use the pattern matcher on a given model via {@link #on(ViatraQueryEngine)}, - * e.g. in conjunction with {@link ViatraQueryEngine#on(QueryScope)}. - * - *

    Matches of the pattern will be represented as {@link Match}. - * - *

    Original source: - *

    -   * //inv12
    -   * //exists - handled logically
    -   * {@literal @}Constraint(message = "inv12", severity = "error", key = {tp})
    -   * pattern inv12(tp : Tax_Payer) {
    -   *     Tax_Payer.addresses(tp, hab_add);
    -   *     Habitual_Address(hab_add);
    -   *     neg find x_inv12_notZZ(hab_add);
    -   *     Tax_Payer.incomes(tp, inc);
    -   *     Local_Income(inc);
    -   *     neg find x_inv12_notNonRes(tp);
    -   * }
    -   * 
    - * - * @see Match - * @see Inv12 - * - */ - public static class Matcher extends BaseMatcher { - /** - * Initializes the pattern matcher within an existing VIATRA Query engine. - * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. - * - * @param engine the existing VIATRA Query engine in which this matcher will be created. - * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation - * - */ - public static Inv12.Matcher on(final ViatraQueryEngine engine) { - // check if matcher already exists - Matcher matcher = engine.getExistingMatcher(querySpecification()); - if (matcher == null) { - matcher = (Matcher)engine.getMatcher(querySpecification()); - } - return matcher; - } - - /** - * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation - * @return an initialized matcher - * @noreference This method is for internal matcher initialization by the framework, do not call it manually. - * - */ - public static Inv12.Matcher create() { - return new Matcher(); - } - - private static final int POSITION_TP = 0; - - private static final Logger LOGGER = ViatraQueryLoggingUtil.getLogger(Inv12.Matcher.class); - - /** - * Initializes the pattern matcher within an existing VIATRA Query engine. - * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. - * - * @param engine the existing VIATRA Query engine in which this matcher will be created. - * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation - * - */ - private Matcher() { - super(querySpecification()); - } - - /** - * Returns the set of all matches of the pattern that conform to the given fixed values of some parameters. - * @param pTp the fixed value of pattern parameter tp, or null if not bound. - * @return matches represented as a Match object. - * - */ - public Collection getAllMatches(final Tax_Payer pTp) { - return rawStreamAllMatches(new Object[]{pTp}).collect(Collectors.toSet()); - } - - /** - * Returns a stream of all matches of the pattern that conform to the given fixed values of some parameters. - *

    - * NOTE: It is important not to modify the source model while the stream is being processed. - * If the match set of the pattern changes during processing, the contents of the stream is undefined. - * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. - * @param pTp the fixed value of pattern parameter tp, or null if not bound. - * @return a stream of matches represented as a Match object. - * - */ - public Stream streamAllMatches(final Tax_Payer pTp) { - return rawStreamAllMatches(new Object[]{pTp}); - } - - /** - * Returns an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. - * Neither determinism nor randomness of selection is guaranteed. - * @param pTp the fixed value of pattern parameter tp, or null if not bound. - * @return a match represented as a Match object, or null if no match is found. - * - */ - public Optional getOneArbitraryMatch(final Tax_Payer pTp) { - return rawGetOneArbitraryMatch(new Object[]{pTp}); - } - - /** - * Indicates whether the given combination of specified pattern parameters constitute a valid pattern match, - * under any possible substitution of the unspecified parameters (if any). - * @param pTp the fixed value of pattern parameter tp, or null if not bound. - * @return true if the input is a valid (partial) match of the pattern. - * - */ - public boolean hasMatch(final Tax_Payer pTp) { - return rawHasMatch(new Object[]{pTp}); - } - - /** - * Returns the number of all matches of the pattern that conform to the given fixed values of some parameters. - * @param pTp the fixed value of pattern parameter tp, or null if not bound. - * @return the number of pattern matches found. - * - */ - public int countMatches(final Tax_Payer pTp) { - return rawCountMatches(new Object[]{pTp}); - } - - /** - * Executes the given processor on an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. - * Neither determinism nor randomness of selection is guaranteed. - * @param pTp the fixed value of pattern parameter tp, or null if not bound. - * @param processor the action that will process the selected match. - * @return true if the pattern has at least one match with the given parameter values, false if the processor was not invoked - * - */ - public boolean forOneArbitraryMatch(final Tax_Payer pTp, final Consumer processor) { - return rawForOneArbitraryMatch(new Object[]{pTp}, processor); - } - - /** - * Returns a new (partial) match. - * This can be used e.g. to call the matcher with a partial match. - *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. - * @param pTp the fixed value of pattern parameter tp, or null if not bound. - * @return the (partial) match object. - * - */ - public Inv12.Match newMatch(final Tax_Payer pTp) { - return Inv12.Match.newMatch(pTp); - } - - /** - * Retrieve the set of values that occur in matches for tp. - * @return the Set of all values or empty set if there are no matches - * - */ - protected Stream rawStreamAllValuesOftp(final Object[] parameters) { - return rawStreamAllValues(POSITION_TP, parameters).map(Tax_Payer.class::cast); - } - - /** - * Retrieve the set of values that occur in matches for tp. - * @return the Set of all values or empty set if there are no matches - * - */ - public Set getAllValuesOftp() { - return rawStreamAllValuesOftp(emptyArray()).collect(Collectors.toSet()); - } - - /** - * Retrieve the set of values that occur in matches for tp. - * @return the Set of all values or empty set if there are no matches - * - */ - public Stream streamAllValuesOftp() { - return rawStreamAllValuesOftp(emptyArray()); - } - - @Override - protected Inv12.Match tupleToMatch(final Tuple t) { - try { - return Inv12.Match.newMatch((Tax_Payer) t.get(POSITION_TP)); - } catch(ClassCastException e) { - LOGGER.error("Element(s) in tuple not properly typed!",e); - return null; - } - } - - @Override - protected Inv12.Match arrayToMatch(final Object[] match) { - try { - return Inv12.Match.newMatch((Tax_Payer) match[POSITION_TP]); - } catch(ClassCastException e) { - LOGGER.error("Element(s) in array not properly typed!",e); - return null; - } - } - - @Override - protected Inv12.Match arrayToMatchMutable(final Object[] match) { - try { - return Inv12.Match.newMutableMatch((Tax_Payer) match[POSITION_TP]); - } catch(ClassCastException e) { - LOGGER.error("Element(s) in array not properly typed!",e); - return null; - } - } - - /** - * @return the singleton instance of the query specification of this pattern - * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded - * - */ - public static IQuerySpecification querySpecification() { - return Inv12.instance(); - } - } - - private Inv12() { - super(GeneratedPQuery.INSTANCE); - } - - /** - * @return the singleton instance of the query specification - * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded - * - */ - public static Inv12 instance() { - try{ - return LazyHolder.INSTANCE; - } catch (ExceptionInInitializerError err) { - throw processInitializerError(err); - } - } - - @Override - protected Inv12.Matcher instantiate(final ViatraQueryEngine engine) { - return Inv12.Matcher.on(engine); - } - - @Override - public Inv12.Matcher instantiate() { - return Inv12.Matcher.create(); - } - - @Override - public Inv12.Match newEmptyMatch() { - return Inv12.Match.newEmptyMatch(); - } - - @Override - public Inv12.Match newMatch(final Object... parameters) { - return Inv12.Match.newMatch((Taxation.Tax_Payer) parameters[0]); - } - - /** - * Inner class allowing the singleton instance of {@link Inv12} to be created - * not at the class load time of the outer class, - * but rather at the first call to {@link Inv12#instance()}. - * - *

    This workaround is required e.g. to support recursion. - * - */ - private static class LazyHolder { - private static final Inv12 INSTANCE = new Inv12(); - - /** - * Statically initializes the query specification after the field {@link #INSTANCE} is assigned. - * This initialization order is required to support indirect recursion. - * - *

    The static initializer is defined using a helper field to work around limitations of the code generator. - * - */ - private static final Object STATIC_INITIALIZER = ensureInitialized(); - - public static Object ensureInitialized() { - INSTANCE.ensureInitializedInternal(); - return null; - } - } - - private static class GeneratedPQuery extends BaseGeneratedEMFPQuery { - private static final Inv12.GeneratedPQuery INSTANCE = new GeneratedPQuery(); - - private final PParameter parameter_tp = new PParameter("tp", "Taxation.Tax_Payer", new EClassTransitiveInstancesKey((EClass)getClassifierLiteralSafe("http:///TaxCard.ecore", "Tax_Payer")), PParameterDirection.INOUT); - - private final List parameters = Arrays.asList(parameter_tp); - - private GeneratedPQuery() { - super(PVisibility.PUBLIC); - } - - @Override - public String getFullyQualifiedName() { - return "queries.inv12"; - } - - @Override - public List getParameterNames() { - return Arrays.asList("tp"); - } - - @Override - public List getParameters() { - return parameters; - } - - @Override - public Set doGetContainedBodies() { - setEvaluationHints(new QueryEvaluationHint(null, QueryEvaluationHint.BackendRequirement.UNSPECIFIED)); - Set bodies = new LinkedHashSet<>(); - { - PBody body = new PBody(this); - PVariable var_tp = body.getOrCreateVariableByName("tp"); - PVariable var_hab_add = body.getOrCreateVariableByName("hab_add"); - PVariable var_inc = body.getOrCreateVariableByName("inc"); - new TypeConstraint(body, Tuples.flatTupleOf(var_tp), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Tax_Payer"))); - body.setSymbolicParameters(Arrays.asList( - new ExportedParameter(body, var_tp, parameter_tp) - )); - // Tax_Payer.addresses(tp, hab_add) - new TypeConstraint(body, Tuples.flatTupleOf(var_tp), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Tax_Payer"))); - PVariable var__virtual_0_ = body.getOrCreateVariableByName(".virtual{0}"); - new TypeConstraint(body, Tuples.flatTupleOf(var_tp, var__virtual_0_), new EStructuralFeatureInstancesKey(getFeatureLiteral("http:///TaxCard.ecore", "Physical_Person", "addresses"))); - new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_0_), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Address"))); - new Equality(body, var__virtual_0_, var_hab_add); - // Habitual_Address(hab_add) - new TypeConstraint(body, Tuples.flatTupleOf(var_hab_add), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Habitual_Address"))); - // neg find x_inv12_notZZ(hab_add) - new NegativePatternCall(body, Tuples.flatTupleOf(var_hab_add), X_inv12_notZZ.instance().getInternalQueryRepresentation()); - // Tax_Payer.incomes(tp, inc) - new TypeConstraint(body, Tuples.flatTupleOf(var_tp), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Tax_Payer"))); - PVariable var__virtual_1_ = body.getOrCreateVariableByName(".virtual{1}"); - new TypeConstraint(body, Tuples.flatTupleOf(var_tp, var__virtual_1_), new EStructuralFeatureInstancesKey(getFeatureLiteral("http:///TaxCard.ecore", "Tax_Payer", "incomes"))); - new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_1_), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Income"))); - new Equality(body, var__virtual_1_, var_inc); - // Local_Income(inc) - new TypeConstraint(body, Tuples.flatTupleOf(var_inc), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Local_Income"))); - // neg find x_inv12_notNonRes(tp) - new NegativePatternCall(body, Tuples.flatTupleOf(var_tp), X_inv12_notNonRes.instance().getInternalQueryRepresentation()); - bodies.add(body); - } - { - PAnnotation annotation = new PAnnotation("Constraint"); - annotation.addAttribute("message", "inv12"); - annotation.addAttribute("severity", "error"); - annotation.addAttribute("key", Arrays.asList(new Object[] { - new ParameterReference("tp") - })); - addAnnotation(annotation); - } - return bodies; - } - } -} diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/Inv13.java b/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/Inv13.java deleted file mode 100644 index a4aea47c..00000000 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/Inv13.java +++ /dev/null @@ -1,591 +0,0 @@ -/** - * Generated from platform:/resource/case.study.pledge.run/src/queries/case_study_A.vql - */ -package queries; - -import Taxation.Tax_Payer; -import java.util.Arrays; -import java.util.Collection; -import java.util.LinkedHashSet; -import java.util.List; -import java.util.Objects; -import java.util.Optional; -import java.util.Set; -import java.util.function.Consumer; -import java.util.stream.Collectors; -import java.util.stream.Stream; -import org.apache.log4j.Logger; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EDataType; -import org.eclipse.viatra.query.runtime.api.IPatternMatch; -import org.eclipse.viatra.query.runtime.api.IQuerySpecification; -import org.eclipse.viatra.query.runtime.api.ViatraQueryEngine; -import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFPQuery; -import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFQuerySpecification; -import org.eclipse.viatra.query.runtime.api.impl.BaseMatcher; -import org.eclipse.viatra.query.runtime.api.impl.BasePatternMatch; -import org.eclipse.viatra.query.runtime.emf.types.EClassTransitiveInstancesKey; -import org.eclipse.viatra.query.runtime.emf.types.EDataTypeInSlotsKey; -import org.eclipse.viatra.query.runtime.emf.types.EStructuralFeatureInstancesKey; -import org.eclipse.viatra.query.runtime.matchers.backend.QueryEvaluationHint; -import org.eclipse.viatra.query.runtime.matchers.psystem.PBody; -import org.eclipse.viatra.query.runtime.matchers.psystem.PVariable; -import org.eclipse.viatra.query.runtime.matchers.psystem.annotations.PAnnotation; -import org.eclipse.viatra.query.runtime.matchers.psystem.annotations.ParameterReference; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.Equality; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.ExportedParameter; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.NegativePatternCall; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicenumerables.ConstantValue; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicenumerables.TypeConstraint; -import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameter; -import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameterDirection; -import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PVisibility; -import org.eclipse.viatra.query.runtime.matchers.tuple.Tuple; -import org.eclipse.viatra.query.runtime.matchers.tuple.Tuples; -import org.eclipse.viatra.query.runtime.util.ViatraQueryLoggingUtil; -import queries.X_inv13; - -/** - * A pattern-specific query specification that can instantiate Matcher in a type-safe way. - * - *

    Original source: - *

    - *         //inv13 - Added new containment rel Phys_Pers-{@literal >}Address
    - *         //exists - handled logically
    - *         {@literal @}Constraint(message = "inv13", severity = "error", key = {tp})
    - *         pattern inv13(tp : Tax_Payer) {
    - *             Tax_Payer.addresses(tp, hab_add);
    - *             Habitual_Address(hab_add);
    - *             Address.country(hab_add, ::ZZ);
    - *             neg find x_inv13(tp);
    - *         }
    - * 
    - * - * @see Matcher - * @see Match - * - */ -@SuppressWarnings("all") -public final class Inv13 extends BaseGeneratedEMFQuerySpecification { - /** - * Pattern-specific match representation of the queries.inv13 pattern, - * to be used in conjunction with {@link Matcher}. - * - *

    Class fields correspond to parameters of the pattern. Fields with value null are considered unassigned. - * Each instance is a (possibly partial) substitution of pattern parameters, - * usable to represent a match of the pattern in the result of a query, - * or to specify the bound (fixed) input parameters when issuing a query. - * - * @see Matcher - * - */ - public static abstract class Match extends BasePatternMatch { - private Tax_Payer fTp; - - private static List parameterNames = makeImmutableList("tp"); - - private Match(final Tax_Payer pTp) { - this.fTp = pTp; - } - - @Override - public Object get(final String parameterName) { - switch(parameterName) { - case "tp": return this.fTp; - default: return null; - } - } - - @Override - public Object get(final int index) { - switch(index) { - case 0: return this.fTp; - default: return null; - } - } - - public Tax_Payer getTp() { - return this.fTp; - } - - @Override - public boolean set(final String parameterName, final Object newValue) { - if (!isMutable()) throw new java.lang.UnsupportedOperationException(); - if ("tp".equals(parameterName) ) { - this.fTp = (Tax_Payer) newValue; - return true; - } - return false; - } - - public void setTp(final Tax_Payer pTp) { - if (!isMutable()) throw new java.lang.UnsupportedOperationException(); - this.fTp = pTp; - } - - @Override - public String patternName() { - return "queries.inv13"; - } - - @Override - public List parameterNames() { - return Inv13.Match.parameterNames; - } - - @Override - public Object[] toArray() { - return new Object[]{fTp}; - } - - @Override - public Inv13.Match toImmutable() { - return isMutable() ? newMatch(fTp) : this; - } - - @Override - public String prettyPrint() { - StringBuilder result = new StringBuilder(); - result.append("\"tp\"=" + prettyPrintValue(fTp)); - return result.toString(); - } - - @Override - public int hashCode() { - return Objects.hash(fTp); - } - - @Override - public boolean equals(final Object obj) { - if (this == obj) - return true; - if (obj == null) { - return false; - } - if ((obj instanceof Inv13.Match)) { - Inv13.Match other = (Inv13.Match) obj; - return Objects.equals(fTp, other.fTp); - } else { - // this should be infrequent - if (!(obj instanceof IPatternMatch)) { - return false; - } - IPatternMatch otherSig = (IPatternMatch) obj; - return Objects.equals(specification(), otherSig.specification()) && Arrays.deepEquals(toArray(), otherSig.toArray()); - } - } - - @Override - public Inv13 specification() { - return Inv13.instance(); - } - - /** - * Returns an empty, mutable match. - * Fields of the mutable match can be filled to create a partial match, usable as matcher input. - * - * @return the empty match. - * - */ - public static Inv13.Match newEmptyMatch() { - return new Mutable(null); - } - - /** - * Returns a mutable (partial) match. - * Fields of the mutable match can be filled to create a partial match, usable as matcher input. - * - * @param pTp the fixed value of pattern parameter tp, or null if not bound. - * @return the new, mutable (partial) match object. - * - */ - public static Inv13.Match newMutableMatch(final Tax_Payer pTp) { - return new Mutable(pTp); - } - - /** - * Returns a new (partial) match. - * This can be used e.g. to call the matcher with a partial match. - *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. - * @param pTp the fixed value of pattern parameter tp, or null if not bound. - * @return the (partial) match object. - * - */ - public static Inv13.Match newMatch(final Tax_Payer pTp) { - return new Immutable(pTp); - } - - private static final class Mutable extends Inv13.Match { - Mutable(final Tax_Payer pTp) { - super(pTp); - } - - @Override - public boolean isMutable() { - return true; - } - } - - private static final class Immutable extends Inv13.Match { - Immutable(final Tax_Payer pTp) { - super(pTp); - } - - @Override - public boolean isMutable() { - return false; - } - } - } - - /** - * Generated pattern matcher API of the queries.inv13 pattern, - * providing pattern-specific query methods. - * - *

    Use the pattern matcher on a given model via {@link #on(ViatraQueryEngine)}, - * e.g. in conjunction with {@link ViatraQueryEngine#on(QueryScope)}. - * - *

    Matches of the pattern will be represented as {@link Match}. - * - *

    Original source: - *

    -   * //inv13 - Added new containment rel Phys_Pers-{@literal >}Address
    -   * //exists - handled logically
    -   * {@literal @}Constraint(message = "inv13", severity = "error", key = {tp})
    -   * pattern inv13(tp : Tax_Payer) {
    -   *     Tax_Payer.addresses(tp, hab_add);
    -   *     Habitual_Address(hab_add);
    -   *     Address.country(hab_add, ::ZZ);
    -   *     neg find x_inv13(tp);
    -   * }
    -   * 
    - * - * @see Match - * @see Inv13 - * - */ - public static class Matcher extends BaseMatcher { - /** - * Initializes the pattern matcher within an existing VIATRA Query engine. - * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. - * - * @param engine the existing VIATRA Query engine in which this matcher will be created. - * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation - * - */ - public static Inv13.Matcher on(final ViatraQueryEngine engine) { - // check if matcher already exists - Matcher matcher = engine.getExistingMatcher(querySpecification()); - if (matcher == null) { - matcher = (Matcher)engine.getMatcher(querySpecification()); - } - return matcher; - } - - /** - * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation - * @return an initialized matcher - * @noreference This method is for internal matcher initialization by the framework, do not call it manually. - * - */ - public static Inv13.Matcher create() { - return new Matcher(); - } - - private static final int POSITION_TP = 0; - - private static final Logger LOGGER = ViatraQueryLoggingUtil.getLogger(Inv13.Matcher.class); - - /** - * Initializes the pattern matcher within an existing VIATRA Query engine. - * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. - * - * @param engine the existing VIATRA Query engine in which this matcher will be created. - * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation - * - */ - private Matcher() { - super(querySpecification()); - } - - /** - * Returns the set of all matches of the pattern that conform to the given fixed values of some parameters. - * @param pTp the fixed value of pattern parameter tp, or null if not bound. - * @return matches represented as a Match object. - * - */ - public Collection getAllMatches(final Tax_Payer pTp) { - return rawStreamAllMatches(new Object[]{pTp}).collect(Collectors.toSet()); - } - - /** - * Returns a stream of all matches of the pattern that conform to the given fixed values of some parameters. - *

    - * NOTE: It is important not to modify the source model while the stream is being processed. - * If the match set of the pattern changes during processing, the contents of the stream is undefined. - * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. - * @param pTp the fixed value of pattern parameter tp, or null if not bound. - * @return a stream of matches represented as a Match object. - * - */ - public Stream streamAllMatches(final Tax_Payer pTp) { - return rawStreamAllMatches(new Object[]{pTp}); - } - - /** - * Returns an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. - * Neither determinism nor randomness of selection is guaranteed. - * @param pTp the fixed value of pattern parameter tp, or null if not bound. - * @return a match represented as a Match object, or null if no match is found. - * - */ - public Optional getOneArbitraryMatch(final Tax_Payer pTp) { - return rawGetOneArbitraryMatch(new Object[]{pTp}); - } - - /** - * Indicates whether the given combination of specified pattern parameters constitute a valid pattern match, - * under any possible substitution of the unspecified parameters (if any). - * @param pTp the fixed value of pattern parameter tp, or null if not bound. - * @return true if the input is a valid (partial) match of the pattern. - * - */ - public boolean hasMatch(final Tax_Payer pTp) { - return rawHasMatch(new Object[]{pTp}); - } - - /** - * Returns the number of all matches of the pattern that conform to the given fixed values of some parameters. - * @param pTp the fixed value of pattern parameter tp, or null if not bound. - * @return the number of pattern matches found. - * - */ - public int countMatches(final Tax_Payer pTp) { - return rawCountMatches(new Object[]{pTp}); - } - - /** - * Executes the given processor on an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. - * Neither determinism nor randomness of selection is guaranteed. - * @param pTp the fixed value of pattern parameter tp, or null if not bound. - * @param processor the action that will process the selected match. - * @return true if the pattern has at least one match with the given parameter values, false if the processor was not invoked - * - */ - public boolean forOneArbitraryMatch(final Tax_Payer pTp, final Consumer processor) { - return rawForOneArbitraryMatch(new Object[]{pTp}, processor); - } - - /** - * Returns a new (partial) match. - * This can be used e.g. to call the matcher with a partial match. - *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. - * @param pTp the fixed value of pattern parameter tp, or null if not bound. - * @return the (partial) match object. - * - */ - public Inv13.Match newMatch(final Tax_Payer pTp) { - return Inv13.Match.newMatch(pTp); - } - - /** - * Retrieve the set of values that occur in matches for tp. - * @return the Set of all values or empty set if there are no matches - * - */ - protected Stream rawStreamAllValuesOftp(final Object[] parameters) { - return rawStreamAllValues(POSITION_TP, parameters).map(Tax_Payer.class::cast); - } - - /** - * Retrieve the set of values that occur in matches for tp. - * @return the Set of all values or empty set if there are no matches - * - */ - public Set getAllValuesOftp() { - return rawStreamAllValuesOftp(emptyArray()).collect(Collectors.toSet()); - } - - /** - * Retrieve the set of values that occur in matches for tp. - * @return the Set of all values or empty set if there are no matches - * - */ - public Stream streamAllValuesOftp() { - return rawStreamAllValuesOftp(emptyArray()); - } - - @Override - protected Inv13.Match tupleToMatch(final Tuple t) { - try { - return Inv13.Match.newMatch((Tax_Payer) t.get(POSITION_TP)); - } catch(ClassCastException e) { - LOGGER.error("Element(s) in tuple not properly typed!",e); - return null; - } - } - - @Override - protected Inv13.Match arrayToMatch(final Object[] match) { - try { - return Inv13.Match.newMatch((Tax_Payer) match[POSITION_TP]); - } catch(ClassCastException e) { - LOGGER.error("Element(s) in array not properly typed!",e); - return null; - } - } - - @Override - protected Inv13.Match arrayToMatchMutable(final Object[] match) { - try { - return Inv13.Match.newMutableMatch((Tax_Payer) match[POSITION_TP]); - } catch(ClassCastException e) { - LOGGER.error("Element(s) in array not properly typed!",e); - return null; - } - } - - /** - * @return the singleton instance of the query specification of this pattern - * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded - * - */ - public static IQuerySpecification querySpecification() { - return Inv13.instance(); - } - } - - private Inv13() { - super(GeneratedPQuery.INSTANCE); - } - - /** - * @return the singleton instance of the query specification - * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded - * - */ - public static Inv13 instance() { - try{ - return LazyHolder.INSTANCE; - } catch (ExceptionInInitializerError err) { - throw processInitializerError(err); - } - } - - @Override - protected Inv13.Matcher instantiate(final ViatraQueryEngine engine) { - return Inv13.Matcher.on(engine); - } - - @Override - public Inv13.Matcher instantiate() { - return Inv13.Matcher.create(); - } - - @Override - public Inv13.Match newEmptyMatch() { - return Inv13.Match.newEmptyMatch(); - } - - @Override - public Inv13.Match newMatch(final Object... parameters) { - return Inv13.Match.newMatch((Taxation.Tax_Payer) parameters[0]); - } - - /** - * Inner class allowing the singleton instance of {@link Inv13} to be created - * not at the class load time of the outer class, - * but rather at the first call to {@link Inv13#instance()}. - * - *

    This workaround is required e.g. to support recursion. - * - */ - private static class LazyHolder { - private static final Inv13 INSTANCE = new Inv13(); - - /** - * Statically initializes the query specification after the field {@link #INSTANCE} is assigned. - * This initialization order is required to support indirect recursion. - * - *

    The static initializer is defined using a helper field to work around limitations of the code generator. - * - */ - private static final Object STATIC_INITIALIZER = ensureInitialized(); - - public static Object ensureInitialized() { - INSTANCE.ensureInitializedInternal(); - return null; - } - } - - private static class GeneratedPQuery extends BaseGeneratedEMFPQuery { - private static final Inv13.GeneratedPQuery INSTANCE = new GeneratedPQuery(); - - private final PParameter parameter_tp = new PParameter("tp", "Taxation.Tax_Payer", new EClassTransitiveInstancesKey((EClass)getClassifierLiteralSafe("http:///TaxCard.ecore", "Tax_Payer")), PParameterDirection.INOUT); - - private final List parameters = Arrays.asList(parameter_tp); - - private GeneratedPQuery() { - super(PVisibility.PUBLIC); - } - - @Override - public String getFullyQualifiedName() { - return "queries.inv13"; - } - - @Override - public List getParameterNames() { - return Arrays.asList("tp"); - } - - @Override - public List getParameters() { - return parameters; - } - - @Override - public Set doGetContainedBodies() { - setEvaluationHints(new QueryEvaluationHint(null, QueryEvaluationHint.BackendRequirement.UNSPECIFIED)); - Set bodies = new LinkedHashSet<>(); - { - PBody body = new PBody(this); - PVariable var_tp = body.getOrCreateVariableByName("tp"); - PVariable var_hab_add = body.getOrCreateVariableByName("hab_add"); - new TypeConstraint(body, Tuples.flatTupleOf(var_tp), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Tax_Payer"))); - body.setSymbolicParameters(Arrays.asList( - new ExportedParameter(body, var_tp, parameter_tp) - )); - // Tax_Payer.addresses(tp, hab_add) - new TypeConstraint(body, Tuples.flatTupleOf(var_tp), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Tax_Payer"))); - PVariable var__virtual_0_ = body.getOrCreateVariableByName(".virtual{0}"); - new TypeConstraint(body, Tuples.flatTupleOf(var_tp, var__virtual_0_), new EStructuralFeatureInstancesKey(getFeatureLiteral("http:///TaxCard.ecore", "Physical_Person", "addresses"))); - new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_0_), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Address"))); - new Equality(body, var__virtual_0_, var_hab_add); - // Habitual_Address(hab_add) - new TypeConstraint(body, Tuples.flatTupleOf(var_hab_add), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Habitual_Address"))); - // Address.country(hab_add, ::ZZ) - PVariable var__virtual_1_ = body.getOrCreateVariableByName(".virtual{1}"); - new ConstantValue(body, var__virtual_1_, getEnumLiteral("http:///TaxCard.ecore", "Country", "ZZ").getInstance()); - new TypeConstraint(body, Tuples.flatTupleOf(var_hab_add), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Address"))); - PVariable var__virtual_2_ = body.getOrCreateVariableByName(".virtual{2}"); - new TypeConstraint(body, Tuples.flatTupleOf(var_hab_add, var__virtual_2_), new EStructuralFeatureInstancesKey(getFeatureLiteral("http:///TaxCard.ecore", "Address", "country"))); - new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_2_), new EDataTypeInSlotsKey((EDataType)getClassifierLiteral("http:///TaxCard.ecore", "Country"))); - new Equality(body, var__virtual_2_, var__virtual_1_); - // neg find x_inv13(tp) - new NegativePatternCall(body, Tuples.flatTupleOf(var_tp), X_inv13.instance().getInternalQueryRepresentation()); - bodies.add(body); - } - { - PAnnotation annotation = new PAnnotation("Constraint"); - annotation.addAttribute("message", "inv13"); - annotation.addAttribute("severity", "error"); - annotation.addAttribute("key", Arrays.asList(new Object[] { - new ParameterReference("tp") - })); - addAnnotation(annotation); - } - return bodies; - } - } -} diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/Inv15.java b/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/Inv15.java deleted file mode 100644 index 3bfab503..00000000 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/Inv15.java +++ /dev/null @@ -1,567 +0,0 @@ -/** - * Generated from platform:/resource/case.study.pledge.run/src/queries/case_study_A.vql - */ -package queries; - -import Taxation.External_Allowance; -import java.util.Arrays; -import java.util.Collection; -import java.util.LinkedHashSet; -import java.util.List; -import java.util.Objects; -import java.util.Optional; -import java.util.Set; -import java.util.function.Consumer; -import java.util.stream.Collectors; -import java.util.stream.Stream; -import org.apache.log4j.Logger; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.viatra.query.runtime.api.IPatternMatch; -import org.eclipse.viatra.query.runtime.api.IQuerySpecification; -import org.eclipse.viatra.query.runtime.api.ViatraQueryEngine; -import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFPQuery; -import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFQuerySpecification; -import org.eclipse.viatra.query.runtime.api.impl.BaseMatcher; -import org.eclipse.viatra.query.runtime.api.impl.BasePatternMatch; -import org.eclipse.viatra.query.runtime.emf.types.EClassTransitiveInstancesKey; -import org.eclipse.viatra.query.runtime.matchers.backend.QueryEvaluationHint; -import org.eclipse.viatra.query.runtime.matchers.psystem.PBody; -import org.eclipse.viatra.query.runtime.matchers.psystem.PVariable; -import org.eclipse.viatra.query.runtime.matchers.psystem.annotations.PAnnotation; -import org.eclipse.viatra.query.runtime.matchers.psystem.annotations.ParameterReference; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.ExportedParameter; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.NegativePatternCall; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicenumerables.TypeConstraint; -import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameter; -import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameterDirection; -import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PVisibility; -import org.eclipse.viatra.query.runtime.matchers.tuple.Tuple; -import org.eclipse.viatra.query.runtime.matchers.tuple.Tuples; -import org.eclipse.viatra.query.runtime.util.ViatraQueryLoggingUtil; -import queries.X_inv15; - -/** - * A pattern-specific query specification that can instantiate Matcher in a type-safe way. - * - *

    Original source: - *

    - *         //inv14-MultiplicityChanged
    - *         
    - *         //inv15-Ordered Sets in assignment if block
    - *         //ERROR if no household object
    - *         {@literal @}Constraint(message = "inv15", severity = "error", key = {ea})
    - *         pattern inv15(ea : External_Allowance) {
    - *         	neg find x_inv15(ea);
    - *         }
    - * 
    - * - * @see Matcher - * @see Match - * - */ -@SuppressWarnings("all") -public final class Inv15 extends BaseGeneratedEMFQuerySpecification { - /** - * Pattern-specific match representation of the queries.inv15 pattern, - * to be used in conjunction with {@link Matcher}. - * - *

    Class fields correspond to parameters of the pattern. Fields with value null are considered unassigned. - * Each instance is a (possibly partial) substitution of pattern parameters, - * usable to represent a match of the pattern in the result of a query, - * or to specify the bound (fixed) input parameters when issuing a query. - * - * @see Matcher - * - */ - public static abstract class Match extends BasePatternMatch { - private External_Allowance fEa; - - private static List parameterNames = makeImmutableList("ea"); - - private Match(final External_Allowance pEa) { - this.fEa = pEa; - } - - @Override - public Object get(final String parameterName) { - switch(parameterName) { - case "ea": return this.fEa; - default: return null; - } - } - - @Override - public Object get(final int index) { - switch(index) { - case 0: return this.fEa; - default: return null; - } - } - - public External_Allowance getEa() { - return this.fEa; - } - - @Override - public boolean set(final String parameterName, final Object newValue) { - if (!isMutable()) throw new java.lang.UnsupportedOperationException(); - if ("ea".equals(parameterName) ) { - this.fEa = (External_Allowance) newValue; - return true; - } - return false; - } - - public void setEa(final External_Allowance pEa) { - if (!isMutable()) throw new java.lang.UnsupportedOperationException(); - this.fEa = pEa; - } - - @Override - public String patternName() { - return "queries.inv15"; - } - - @Override - public List parameterNames() { - return Inv15.Match.parameterNames; - } - - @Override - public Object[] toArray() { - return new Object[]{fEa}; - } - - @Override - public Inv15.Match toImmutable() { - return isMutable() ? newMatch(fEa) : this; - } - - @Override - public String prettyPrint() { - StringBuilder result = new StringBuilder(); - result.append("\"ea\"=" + prettyPrintValue(fEa)); - return result.toString(); - } - - @Override - public int hashCode() { - return Objects.hash(fEa); - } - - @Override - public boolean equals(final Object obj) { - if (this == obj) - return true; - if (obj == null) { - return false; - } - if ((obj instanceof Inv15.Match)) { - Inv15.Match other = (Inv15.Match) obj; - return Objects.equals(fEa, other.fEa); - } else { - // this should be infrequent - if (!(obj instanceof IPatternMatch)) { - return false; - } - IPatternMatch otherSig = (IPatternMatch) obj; - return Objects.equals(specification(), otherSig.specification()) && Arrays.deepEquals(toArray(), otherSig.toArray()); - } - } - - @Override - public Inv15 specification() { - return Inv15.instance(); - } - - /** - * Returns an empty, mutable match. - * Fields of the mutable match can be filled to create a partial match, usable as matcher input. - * - * @return the empty match. - * - */ - public static Inv15.Match newEmptyMatch() { - return new Mutable(null); - } - - /** - * Returns a mutable (partial) match. - * Fields of the mutable match can be filled to create a partial match, usable as matcher input. - * - * @param pEa the fixed value of pattern parameter ea, or null if not bound. - * @return the new, mutable (partial) match object. - * - */ - public static Inv15.Match newMutableMatch(final External_Allowance pEa) { - return new Mutable(pEa); - } - - /** - * Returns a new (partial) match. - * This can be used e.g. to call the matcher with a partial match. - *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. - * @param pEa the fixed value of pattern parameter ea, or null if not bound. - * @return the (partial) match object. - * - */ - public static Inv15.Match newMatch(final External_Allowance pEa) { - return new Immutable(pEa); - } - - private static final class Mutable extends Inv15.Match { - Mutable(final External_Allowance pEa) { - super(pEa); - } - - @Override - public boolean isMutable() { - return true; - } - } - - private static final class Immutable extends Inv15.Match { - Immutable(final External_Allowance pEa) { - super(pEa); - } - - @Override - public boolean isMutable() { - return false; - } - } - } - - /** - * Generated pattern matcher API of the queries.inv15 pattern, - * providing pattern-specific query methods. - * - *

    Use the pattern matcher on a given model via {@link #on(ViatraQueryEngine)}, - * e.g. in conjunction with {@link ViatraQueryEngine#on(QueryScope)}. - * - *

    Matches of the pattern will be represented as {@link Match}. - * - *

    Original source: - *

    -   * //inv14-MultiplicityChanged
    -   * 
    -   * //inv15-Ordered Sets in assignment if block
    -   * //ERROR if no household object
    -   * {@literal @}Constraint(message = "inv15", severity = "error", key = {ea})
    -   * pattern inv15(ea : External_Allowance) {
    -   * 	neg find x_inv15(ea);
    -   * }
    -   * 
    - * - * @see Match - * @see Inv15 - * - */ - public static class Matcher extends BaseMatcher { - /** - * Initializes the pattern matcher within an existing VIATRA Query engine. - * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. - * - * @param engine the existing VIATRA Query engine in which this matcher will be created. - * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation - * - */ - public static Inv15.Matcher on(final ViatraQueryEngine engine) { - // check if matcher already exists - Matcher matcher = engine.getExistingMatcher(querySpecification()); - if (matcher == null) { - matcher = (Matcher)engine.getMatcher(querySpecification()); - } - return matcher; - } - - /** - * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation - * @return an initialized matcher - * @noreference This method is for internal matcher initialization by the framework, do not call it manually. - * - */ - public static Inv15.Matcher create() { - return new Matcher(); - } - - private static final int POSITION_EA = 0; - - private static final Logger LOGGER = ViatraQueryLoggingUtil.getLogger(Inv15.Matcher.class); - - /** - * Initializes the pattern matcher within an existing VIATRA Query engine. - * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. - * - * @param engine the existing VIATRA Query engine in which this matcher will be created. - * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation - * - */ - private Matcher() { - super(querySpecification()); - } - - /** - * Returns the set of all matches of the pattern that conform to the given fixed values of some parameters. - * @param pEa the fixed value of pattern parameter ea, or null if not bound. - * @return matches represented as a Match object. - * - */ - public Collection getAllMatches(final External_Allowance pEa) { - return rawStreamAllMatches(new Object[]{pEa}).collect(Collectors.toSet()); - } - - /** - * Returns a stream of all matches of the pattern that conform to the given fixed values of some parameters. - *

    - * NOTE: It is important not to modify the source model while the stream is being processed. - * If the match set of the pattern changes during processing, the contents of the stream is undefined. - * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. - * @param pEa the fixed value of pattern parameter ea, or null if not bound. - * @return a stream of matches represented as a Match object. - * - */ - public Stream streamAllMatches(final External_Allowance pEa) { - return rawStreamAllMatches(new Object[]{pEa}); - } - - /** - * Returns an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. - * Neither determinism nor randomness of selection is guaranteed. - * @param pEa the fixed value of pattern parameter ea, or null if not bound. - * @return a match represented as a Match object, or null if no match is found. - * - */ - public Optional getOneArbitraryMatch(final External_Allowance pEa) { - return rawGetOneArbitraryMatch(new Object[]{pEa}); - } - - /** - * Indicates whether the given combination of specified pattern parameters constitute a valid pattern match, - * under any possible substitution of the unspecified parameters (if any). - * @param pEa the fixed value of pattern parameter ea, or null if not bound. - * @return true if the input is a valid (partial) match of the pattern. - * - */ - public boolean hasMatch(final External_Allowance pEa) { - return rawHasMatch(new Object[]{pEa}); - } - - /** - * Returns the number of all matches of the pattern that conform to the given fixed values of some parameters. - * @param pEa the fixed value of pattern parameter ea, or null if not bound. - * @return the number of pattern matches found. - * - */ - public int countMatches(final External_Allowance pEa) { - return rawCountMatches(new Object[]{pEa}); - } - - /** - * Executes the given processor on an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. - * Neither determinism nor randomness of selection is guaranteed. - * @param pEa the fixed value of pattern parameter ea, or null if not bound. - * @param processor the action that will process the selected match. - * @return true if the pattern has at least one match with the given parameter values, false if the processor was not invoked - * - */ - public boolean forOneArbitraryMatch(final External_Allowance pEa, final Consumer processor) { - return rawForOneArbitraryMatch(new Object[]{pEa}, processor); - } - - /** - * Returns a new (partial) match. - * This can be used e.g. to call the matcher with a partial match. - *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. - * @param pEa the fixed value of pattern parameter ea, or null if not bound. - * @return the (partial) match object. - * - */ - public Inv15.Match newMatch(final External_Allowance pEa) { - return Inv15.Match.newMatch(pEa); - } - - /** - * Retrieve the set of values that occur in matches for ea. - * @return the Set of all values or empty set if there are no matches - * - */ - protected Stream rawStreamAllValuesOfea(final Object[] parameters) { - return rawStreamAllValues(POSITION_EA, parameters).map(External_Allowance.class::cast); - } - - /** - * Retrieve the set of values that occur in matches for ea. - * @return the Set of all values or empty set if there are no matches - * - */ - public Set getAllValuesOfea() { - return rawStreamAllValuesOfea(emptyArray()).collect(Collectors.toSet()); - } - - /** - * Retrieve the set of values that occur in matches for ea. - * @return the Set of all values or empty set if there are no matches - * - */ - public Stream streamAllValuesOfea() { - return rawStreamAllValuesOfea(emptyArray()); - } - - @Override - protected Inv15.Match tupleToMatch(final Tuple t) { - try { - return Inv15.Match.newMatch((External_Allowance) t.get(POSITION_EA)); - } catch(ClassCastException e) { - LOGGER.error("Element(s) in tuple not properly typed!",e); - return null; - } - } - - @Override - protected Inv15.Match arrayToMatch(final Object[] match) { - try { - return Inv15.Match.newMatch((External_Allowance) match[POSITION_EA]); - } catch(ClassCastException e) { - LOGGER.error("Element(s) in array not properly typed!",e); - return null; - } - } - - @Override - protected Inv15.Match arrayToMatchMutable(final Object[] match) { - try { - return Inv15.Match.newMutableMatch((External_Allowance) match[POSITION_EA]); - } catch(ClassCastException e) { - LOGGER.error("Element(s) in array not properly typed!",e); - return null; - } - } - - /** - * @return the singleton instance of the query specification of this pattern - * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded - * - */ - public static IQuerySpecification querySpecification() { - return Inv15.instance(); - } - } - - private Inv15() { - super(GeneratedPQuery.INSTANCE); - } - - /** - * @return the singleton instance of the query specification - * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded - * - */ - public static Inv15 instance() { - try{ - return LazyHolder.INSTANCE; - } catch (ExceptionInInitializerError err) { - throw processInitializerError(err); - } - } - - @Override - protected Inv15.Matcher instantiate(final ViatraQueryEngine engine) { - return Inv15.Matcher.on(engine); - } - - @Override - public Inv15.Matcher instantiate() { - return Inv15.Matcher.create(); - } - - @Override - public Inv15.Match newEmptyMatch() { - return Inv15.Match.newEmptyMatch(); - } - - @Override - public Inv15.Match newMatch(final Object... parameters) { - return Inv15.Match.newMatch((Taxation.External_Allowance) parameters[0]); - } - - /** - * Inner class allowing the singleton instance of {@link Inv15} to be created - * not at the class load time of the outer class, - * but rather at the first call to {@link Inv15#instance()}. - * - *

    This workaround is required e.g. to support recursion. - * - */ - private static class LazyHolder { - private static final Inv15 INSTANCE = new Inv15(); - - /** - * Statically initializes the query specification after the field {@link #INSTANCE} is assigned. - * This initialization order is required to support indirect recursion. - * - *

    The static initializer is defined using a helper field to work around limitations of the code generator. - * - */ - private static final Object STATIC_INITIALIZER = ensureInitialized(); - - public static Object ensureInitialized() { - INSTANCE.ensureInitializedInternal(); - return null; - } - } - - private static class GeneratedPQuery extends BaseGeneratedEMFPQuery { - private static final Inv15.GeneratedPQuery INSTANCE = new GeneratedPQuery(); - - private final PParameter parameter_ea = new PParameter("ea", "Taxation.External_Allowance", new EClassTransitiveInstancesKey((EClass)getClassifierLiteralSafe("http:///TaxCard.ecore", "External_Allowance")), PParameterDirection.INOUT); - - private final List parameters = Arrays.asList(parameter_ea); - - private GeneratedPQuery() { - super(PVisibility.PUBLIC); - } - - @Override - public String getFullyQualifiedName() { - return "queries.inv15"; - } - - @Override - public List getParameterNames() { - return Arrays.asList("ea"); - } - - @Override - public List getParameters() { - return parameters; - } - - @Override - public Set doGetContainedBodies() { - setEvaluationHints(new QueryEvaluationHint(null, QueryEvaluationHint.BackendRequirement.UNSPECIFIED)); - Set bodies = new LinkedHashSet<>(); - { - PBody body = new PBody(this); - PVariable var_ea = body.getOrCreateVariableByName("ea"); - new TypeConstraint(body, Tuples.flatTupleOf(var_ea), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "External_Allowance"))); - body.setSymbolicParameters(Arrays.asList( - new ExportedParameter(body, var_ea, parameter_ea) - )); - // neg find x_inv15(ea) - new NegativePatternCall(body, Tuples.flatTupleOf(var_ea), X_inv15.instance().getInternalQueryRepresentation()); - bodies.add(body); - } - { - PAnnotation annotation = new PAnnotation("Constraint"); - annotation.addAttribute("message", "inv15"); - annotation.addAttribute("severity", "error"); - annotation.addAttribute("key", Arrays.asList(new Object[] { - new ParameterReference("ea") - })); - addAnnotation(annotation); - } - return bodies; - } - } -} diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/Inv17.java b/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/Inv17.java deleted file mode 100644 index 4a10d4f4..00000000 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/Inv17.java +++ /dev/null @@ -1,643 +0,0 @@ -/** - * Generated from platform:/resource/case.study.pledge.run/src/queries/case_study_A.vql - */ -package queries; - -import Taxation.Legal_Union_Record; -import java.util.Arrays; -import java.util.Collection; -import java.util.LinkedHashSet; -import java.util.List; -import java.util.Objects; -import java.util.Optional; -import java.util.Set; -import java.util.function.Consumer; -import java.util.stream.Collectors; -import java.util.stream.Stream; -import org.apache.log4j.Logger; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EDataType; -import org.eclipse.viatra.query.runtime.api.IPatternMatch; -import org.eclipse.viatra.query.runtime.api.IQuerySpecification; -import org.eclipse.viatra.query.runtime.api.ViatraQueryEngine; -import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFPQuery; -import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFQuerySpecification; -import org.eclipse.viatra.query.runtime.api.impl.BaseMatcher; -import org.eclipse.viatra.query.runtime.api.impl.BasePatternMatch; -import org.eclipse.viatra.query.runtime.emf.types.EClassTransitiveInstancesKey; -import org.eclipse.viatra.query.runtime.emf.types.EDataTypeInSlotsKey; -import org.eclipse.viatra.query.runtime.emf.types.EStructuralFeatureInstancesKey; -import org.eclipse.viatra.query.runtime.matchers.backend.QueryEvaluationHint; -import org.eclipse.viatra.query.runtime.matchers.psystem.IExpressionEvaluator; -import org.eclipse.viatra.query.runtime.matchers.psystem.IValueProvider; -import org.eclipse.viatra.query.runtime.matchers.psystem.PBody; -import org.eclipse.viatra.query.runtime.matchers.psystem.PVariable; -import org.eclipse.viatra.query.runtime.matchers.psystem.annotations.PAnnotation; -import org.eclipse.viatra.query.runtime.matchers.psystem.annotations.ParameterReference; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.Equality; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.ExportedParameter; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.ExpressionEvaluation; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicenumerables.TypeConstraint; -import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameter; -import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameterDirection; -import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PVisibility; -import org.eclipse.viatra.query.runtime.matchers.tuple.Tuple; -import org.eclipse.viatra.query.runtime.matchers.tuple.Tuples; -import org.eclipse.viatra.query.runtime.util.ViatraQueryLoggingUtil; - -/** - * A pattern-specific query specification that can instantiate Matcher in a type-safe way. - * - *

    Original source: - *

    - *         //inv16-Tax_Card.tax_card_type is a derived feature
    - *         
    - *         //inv17-attribute-handled by multiplicity
    - *         {@literal @}Constraint(message = "inv17", severity = "error", key = {lur})
    - *         pattern inv17(lur : Legal_Union_Record) {
    - *             Legal_Union_Record.start_year(lur, sy);
    - *             check(sy {@literal <} 1950);
    - *         } or {
    - *         	Legal_Union_Record.start_year(lur, sy);
    - *         	check(sy {@literal >} 2018);
    - *         }
    - * 
    - * - * @see Matcher - * @see Match - * - */ -@SuppressWarnings("all") -public final class Inv17 extends BaseGeneratedEMFQuerySpecification { - /** - * Pattern-specific match representation of the queries.inv17 pattern, - * to be used in conjunction with {@link Matcher}. - * - *

    Class fields correspond to parameters of the pattern. Fields with value null are considered unassigned. - * Each instance is a (possibly partial) substitution of pattern parameters, - * usable to represent a match of the pattern in the result of a query, - * or to specify the bound (fixed) input parameters when issuing a query. - * - * @see Matcher - * - */ - public static abstract class Match extends BasePatternMatch { - private Legal_Union_Record fLur; - - private static List parameterNames = makeImmutableList("lur"); - - private Match(final Legal_Union_Record pLur) { - this.fLur = pLur; - } - - @Override - public Object get(final String parameterName) { - switch(parameterName) { - case "lur": return this.fLur; - default: return null; - } - } - - @Override - public Object get(final int index) { - switch(index) { - case 0: return this.fLur; - default: return null; - } - } - - public Legal_Union_Record getLur() { - return this.fLur; - } - - @Override - public boolean set(final String parameterName, final Object newValue) { - if (!isMutable()) throw new java.lang.UnsupportedOperationException(); - if ("lur".equals(parameterName) ) { - this.fLur = (Legal_Union_Record) newValue; - return true; - } - return false; - } - - public void setLur(final Legal_Union_Record pLur) { - if (!isMutable()) throw new java.lang.UnsupportedOperationException(); - this.fLur = pLur; - } - - @Override - public String patternName() { - return "queries.inv17"; - } - - @Override - public List parameterNames() { - return Inv17.Match.parameterNames; - } - - @Override - public Object[] toArray() { - return new Object[]{fLur}; - } - - @Override - public Inv17.Match toImmutable() { - return isMutable() ? newMatch(fLur) : this; - } - - @Override - public String prettyPrint() { - StringBuilder result = new StringBuilder(); - result.append("\"lur\"=" + prettyPrintValue(fLur)); - return result.toString(); - } - - @Override - public int hashCode() { - return Objects.hash(fLur); - } - - @Override - public boolean equals(final Object obj) { - if (this == obj) - return true; - if (obj == null) { - return false; - } - if ((obj instanceof Inv17.Match)) { - Inv17.Match other = (Inv17.Match) obj; - return Objects.equals(fLur, other.fLur); - } else { - // this should be infrequent - if (!(obj instanceof IPatternMatch)) { - return false; - } - IPatternMatch otherSig = (IPatternMatch) obj; - return Objects.equals(specification(), otherSig.specification()) && Arrays.deepEquals(toArray(), otherSig.toArray()); - } - } - - @Override - public Inv17 specification() { - return Inv17.instance(); - } - - /** - * Returns an empty, mutable match. - * Fields of the mutable match can be filled to create a partial match, usable as matcher input. - * - * @return the empty match. - * - */ - public static Inv17.Match newEmptyMatch() { - return new Mutable(null); - } - - /** - * Returns a mutable (partial) match. - * Fields of the mutable match can be filled to create a partial match, usable as matcher input. - * - * @param pLur the fixed value of pattern parameter lur, or null if not bound. - * @return the new, mutable (partial) match object. - * - */ - public static Inv17.Match newMutableMatch(final Legal_Union_Record pLur) { - return new Mutable(pLur); - } - - /** - * Returns a new (partial) match. - * This can be used e.g. to call the matcher with a partial match. - *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. - * @param pLur the fixed value of pattern parameter lur, or null if not bound. - * @return the (partial) match object. - * - */ - public static Inv17.Match newMatch(final Legal_Union_Record pLur) { - return new Immutable(pLur); - } - - private static final class Mutable extends Inv17.Match { - Mutable(final Legal_Union_Record pLur) { - super(pLur); - } - - @Override - public boolean isMutable() { - return true; - } - } - - private static final class Immutable extends Inv17.Match { - Immutable(final Legal_Union_Record pLur) { - super(pLur); - } - - @Override - public boolean isMutable() { - return false; - } - } - } - - /** - * Generated pattern matcher API of the queries.inv17 pattern, - * providing pattern-specific query methods. - * - *

    Use the pattern matcher on a given model via {@link #on(ViatraQueryEngine)}, - * e.g. in conjunction with {@link ViatraQueryEngine#on(QueryScope)}. - * - *

    Matches of the pattern will be represented as {@link Match}. - * - *

    Original source: - *

    -   * //inv16-Tax_Card.tax_card_type is a derived feature
    -   * 
    -   * //inv17-attribute-handled by multiplicity
    -   * {@literal @}Constraint(message = "inv17", severity = "error", key = {lur})
    -   * pattern inv17(lur : Legal_Union_Record) {
    -   *     Legal_Union_Record.start_year(lur, sy);
    -   *     check(sy {@literal <} 1950);
    -   * } or {
    -   * 	Legal_Union_Record.start_year(lur, sy);
    -   * 	check(sy {@literal >} 2018);
    -   * }
    -   * 
    - * - * @see Match - * @see Inv17 - * - */ - public static class Matcher extends BaseMatcher { - /** - * Initializes the pattern matcher within an existing VIATRA Query engine. - * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. - * - * @param engine the existing VIATRA Query engine in which this matcher will be created. - * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation - * - */ - public static Inv17.Matcher on(final ViatraQueryEngine engine) { - // check if matcher already exists - Matcher matcher = engine.getExistingMatcher(querySpecification()); - if (matcher == null) { - matcher = (Matcher)engine.getMatcher(querySpecification()); - } - return matcher; - } - - /** - * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation - * @return an initialized matcher - * @noreference This method is for internal matcher initialization by the framework, do not call it manually. - * - */ - public static Inv17.Matcher create() { - return new Matcher(); - } - - private static final int POSITION_LUR = 0; - - private static final Logger LOGGER = ViatraQueryLoggingUtil.getLogger(Inv17.Matcher.class); - - /** - * Initializes the pattern matcher within an existing VIATRA Query engine. - * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. - * - * @param engine the existing VIATRA Query engine in which this matcher will be created. - * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation - * - */ - private Matcher() { - super(querySpecification()); - } - - /** - * Returns the set of all matches of the pattern that conform to the given fixed values of some parameters. - * @param pLur the fixed value of pattern parameter lur, or null if not bound. - * @return matches represented as a Match object. - * - */ - public Collection getAllMatches(final Legal_Union_Record pLur) { - return rawStreamAllMatches(new Object[]{pLur}).collect(Collectors.toSet()); - } - - /** - * Returns a stream of all matches of the pattern that conform to the given fixed values of some parameters. - *

    - * NOTE: It is important not to modify the source model while the stream is being processed. - * If the match set of the pattern changes during processing, the contents of the stream is undefined. - * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. - * @param pLur the fixed value of pattern parameter lur, or null if not bound. - * @return a stream of matches represented as a Match object. - * - */ - public Stream streamAllMatches(final Legal_Union_Record pLur) { - return rawStreamAllMatches(new Object[]{pLur}); - } - - /** - * Returns an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. - * Neither determinism nor randomness of selection is guaranteed. - * @param pLur the fixed value of pattern parameter lur, or null if not bound. - * @return a match represented as a Match object, or null if no match is found. - * - */ - public Optional getOneArbitraryMatch(final Legal_Union_Record pLur) { - return rawGetOneArbitraryMatch(new Object[]{pLur}); - } - - /** - * Indicates whether the given combination of specified pattern parameters constitute a valid pattern match, - * under any possible substitution of the unspecified parameters (if any). - * @param pLur the fixed value of pattern parameter lur, or null if not bound. - * @return true if the input is a valid (partial) match of the pattern. - * - */ - public boolean hasMatch(final Legal_Union_Record pLur) { - return rawHasMatch(new Object[]{pLur}); - } - - /** - * Returns the number of all matches of the pattern that conform to the given fixed values of some parameters. - * @param pLur the fixed value of pattern parameter lur, or null if not bound. - * @return the number of pattern matches found. - * - */ - public int countMatches(final Legal_Union_Record pLur) { - return rawCountMatches(new Object[]{pLur}); - } - - /** - * Executes the given processor on an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. - * Neither determinism nor randomness of selection is guaranteed. - * @param pLur the fixed value of pattern parameter lur, or null if not bound. - * @param processor the action that will process the selected match. - * @return true if the pattern has at least one match with the given parameter values, false if the processor was not invoked - * - */ - public boolean forOneArbitraryMatch(final Legal_Union_Record pLur, final Consumer processor) { - return rawForOneArbitraryMatch(new Object[]{pLur}, processor); - } - - /** - * Returns a new (partial) match. - * This can be used e.g. to call the matcher with a partial match. - *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. - * @param pLur the fixed value of pattern parameter lur, or null if not bound. - * @return the (partial) match object. - * - */ - public Inv17.Match newMatch(final Legal_Union_Record pLur) { - return Inv17.Match.newMatch(pLur); - } - - /** - * Retrieve the set of values that occur in matches for lur. - * @return the Set of all values or empty set if there are no matches - * - */ - protected Stream rawStreamAllValuesOflur(final Object[] parameters) { - return rawStreamAllValues(POSITION_LUR, parameters).map(Legal_Union_Record.class::cast); - } - - /** - * Retrieve the set of values that occur in matches for lur. - * @return the Set of all values or empty set if there are no matches - * - */ - public Set getAllValuesOflur() { - return rawStreamAllValuesOflur(emptyArray()).collect(Collectors.toSet()); - } - - /** - * Retrieve the set of values that occur in matches for lur. - * @return the Set of all values or empty set if there are no matches - * - */ - public Stream streamAllValuesOflur() { - return rawStreamAllValuesOflur(emptyArray()); - } - - @Override - protected Inv17.Match tupleToMatch(final Tuple t) { - try { - return Inv17.Match.newMatch((Legal_Union_Record) t.get(POSITION_LUR)); - } catch(ClassCastException e) { - LOGGER.error("Element(s) in tuple not properly typed!",e); - return null; - } - } - - @Override - protected Inv17.Match arrayToMatch(final Object[] match) { - try { - return Inv17.Match.newMatch((Legal_Union_Record) match[POSITION_LUR]); - } catch(ClassCastException e) { - LOGGER.error("Element(s) in array not properly typed!",e); - return null; - } - } - - @Override - protected Inv17.Match arrayToMatchMutable(final Object[] match) { - try { - return Inv17.Match.newMutableMatch((Legal_Union_Record) match[POSITION_LUR]); - } catch(ClassCastException e) { - LOGGER.error("Element(s) in array not properly typed!",e); - return null; - } - } - - /** - * @return the singleton instance of the query specification of this pattern - * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded - * - */ - public static IQuerySpecification querySpecification() { - return Inv17.instance(); - } - } - - private Inv17() { - super(GeneratedPQuery.INSTANCE); - } - - /** - * @return the singleton instance of the query specification - * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded - * - */ - public static Inv17 instance() { - try{ - return LazyHolder.INSTANCE; - } catch (ExceptionInInitializerError err) { - throw processInitializerError(err); - } - } - - @Override - protected Inv17.Matcher instantiate(final ViatraQueryEngine engine) { - return Inv17.Matcher.on(engine); - } - - @Override - public Inv17.Matcher instantiate() { - return Inv17.Matcher.create(); - } - - @Override - public Inv17.Match newEmptyMatch() { - return Inv17.Match.newEmptyMatch(); - } - - @Override - public Inv17.Match newMatch(final Object... parameters) { - return Inv17.Match.newMatch((Taxation.Legal_Union_Record) parameters[0]); - } - - /** - * Inner class allowing the singleton instance of {@link Inv17} to be created - * not at the class load time of the outer class, - * but rather at the first call to {@link Inv17#instance()}. - * - *

    This workaround is required e.g. to support recursion. - * - */ - private static class LazyHolder { - private static final Inv17 INSTANCE = new Inv17(); - - /** - * Statically initializes the query specification after the field {@link #INSTANCE} is assigned. - * This initialization order is required to support indirect recursion. - * - *

    The static initializer is defined using a helper field to work around limitations of the code generator. - * - */ - private static final Object STATIC_INITIALIZER = ensureInitialized(); - - public static Object ensureInitialized() { - INSTANCE.ensureInitializedInternal(); - return null; - } - } - - private static class GeneratedPQuery extends BaseGeneratedEMFPQuery { - private static final Inv17.GeneratedPQuery INSTANCE = new GeneratedPQuery(); - - private final PParameter parameter_lur = new PParameter("lur", "Taxation.Legal_Union_Record", new EClassTransitiveInstancesKey((EClass)getClassifierLiteralSafe("http:///TaxCard.ecore", "Legal_Union_Record")), PParameterDirection.INOUT); - - private final List parameters = Arrays.asList(parameter_lur); - - private GeneratedPQuery() { - super(PVisibility.PUBLIC); - } - - @Override - public String getFullyQualifiedName() { - return "queries.inv17"; - } - - @Override - public List getParameterNames() { - return Arrays.asList("lur"); - } - - @Override - public List getParameters() { - return parameters; - } - - @Override - public Set doGetContainedBodies() { - setEvaluationHints(new QueryEvaluationHint(null, QueryEvaluationHint.BackendRequirement.UNSPECIFIED)); - Set bodies = new LinkedHashSet<>(); - { - PBody body = new PBody(this); - PVariable var_lur = body.getOrCreateVariableByName("lur"); - PVariable var_sy = body.getOrCreateVariableByName("sy"); - new TypeConstraint(body, Tuples.flatTupleOf(var_lur), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Legal_Union_Record"))); - body.setSymbolicParameters(Arrays.asList( - new ExportedParameter(body, var_lur, parameter_lur) - )); - // Legal_Union_Record.start_year(lur, sy) - new TypeConstraint(body, Tuples.flatTupleOf(var_lur), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Legal_Union_Record"))); - PVariable var__virtual_0_ = body.getOrCreateVariableByName(".virtual{0}"); - new TypeConstraint(body, Tuples.flatTupleOf(var_lur, var__virtual_0_), new EStructuralFeatureInstancesKey(getFeatureLiteral("http:///TaxCard.ecore", "Legal_Union_Record", "start_year"))); - new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_0_), new EDataTypeInSlotsKey((EDataType)getClassifierLiteral("http://www.eclipse.org/emf/2002/Ecore", "EInt"))); - new Equality(body, var__virtual_0_, var_sy); - // check(sy < 1950) - new ExpressionEvaluation(body, new IExpressionEvaluator() { - - @Override - public String getShortDescription() { - return "Expression evaluation from pattern inv17"; - } - - @Override - public Iterable getInputParameterNames() { - return Arrays.asList("sy");} - - @Override - public Object evaluateExpression(IValueProvider provider) throws Exception { - Integer sy = (Integer) provider.getValue("sy"); - return evaluateExpression_1_1(sy); - } - }, null); - bodies.add(body); - } - { - PBody body = new PBody(this); - PVariable var_lur = body.getOrCreateVariableByName("lur"); - PVariable var_sy = body.getOrCreateVariableByName("sy"); - new TypeConstraint(body, Tuples.flatTupleOf(var_lur), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Legal_Union_Record"))); - body.setSymbolicParameters(Arrays.asList( - new ExportedParameter(body, var_lur, parameter_lur) - )); - // Legal_Union_Record.start_year(lur, sy) - new TypeConstraint(body, Tuples.flatTupleOf(var_lur), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Legal_Union_Record"))); - PVariable var__virtual_0_ = body.getOrCreateVariableByName(".virtual{0}"); - new TypeConstraint(body, Tuples.flatTupleOf(var_lur, var__virtual_0_), new EStructuralFeatureInstancesKey(getFeatureLiteral("http:///TaxCard.ecore", "Legal_Union_Record", "start_year"))); - new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_0_), new EDataTypeInSlotsKey((EDataType)getClassifierLiteral("http://www.eclipse.org/emf/2002/Ecore", "EInt"))); - new Equality(body, var__virtual_0_, var_sy); - // check(sy > 2018) - new ExpressionEvaluation(body, new IExpressionEvaluator() { - - @Override - public String getShortDescription() { - return "Expression evaluation from pattern inv17"; - } - - @Override - public Iterable getInputParameterNames() { - return Arrays.asList("sy");} - - @Override - public Object evaluateExpression(IValueProvider provider) throws Exception { - Integer sy = (Integer) provider.getValue("sy"); - return evaluateExpression_2_1(sy); - } - }, null); - bodies.add(body); - } - { - PAnnotation annotation = new PAnnotation("Constraint"); - annotation.addAttribute("message", "inv17"); - annotation.addAttribute("severity", "error"); - annotation.addAttribute("key", Arrays.asList(new Object[] { - new ParameterReference("lur") - })); - addAnnotation(annotation); - } - return bodies; - } - } - - private static boolean evaluateExpression_1_1(final Integer sy) { - return ((sy).intValue() < 1950); - } - - private static boolean evaluateExpression_2_1(final Integer sy) { - return ((sy).intValue() > 2018); - } -} diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/Inv20.java b/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/Inv20.java deleted file mode 100644 index 6fcc3b7d..00000000 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/Inv20.java +++ /dev/null @@ -1,587 +0,0 @@ -/** - * Generated from platform:/resource/case.study.pledge.run/src/queries/case_study_A.vql - */ -package queries; - -import Taxation.Legal_Union_Record; -import java.util.Arrays; -import java.util.Collection; -import java.util.LinkedHashSet; -import java.util.List; -import java.util.Objects; -import java.util.Optional; -import java.util.Set; -import java.util.function.Consumer; -import java.util.stream.Collectors; -import java.util.stream.Stream; -import org.apache.log4j.Logger; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.viatra.query.runtime.api.IPatternMatch; -import org.eclipse.viatra.query.runtime.api.IQuerySpecification; -import org.eclipse.viatra.query.runtime.api.ViatraQueryEngine; -import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFPQuery; -import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFQuerySpecification; -import org.eclipse.viatra.query.runtime.api.impl.BaseMatcher; -import org.eclipse.viatra.query.runtime.api.impl.BasePatternMatch; -import org.eclipse.viatra.query.runtime.emf.types.EClassTransitiveInstancesKey; -import org.eclipse.viatra.query.runtime.emf.types.EStructuralFeatureInstancesKey; -import org.eclipse.viatra.query.runtime.matchers.backend.QueryEvaluationHint; -import org.eclipse.viatra.query.runtime.matchers.psystem.PBody; -import org.eclipse.viatra.query.runtime.matchers.psystem.PVariable; -import org.eclipse.viatra.query.runtime.matchers.psystem.annotations.PAnnotation; -import org.eclipse.viatra.query.runtime.matchers.psystem.annotations.ParameterReference; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.Equality; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.ExportedParameter; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicenumerables.TypeConstraint; -import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameter; -import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameterDirection; -import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PVisibility; -import org.eclipse.viatra.query.runtime.matchers.tuple.Tuple; -import org.eclipse.viatra.query.runtime.matchers.tuple.Tuples; -import org.eclipse.viatra.query.runtime.util.ViatraQueryLoggingUtil; - -/** - * A pattern-specific query specification that can instantiate Matcher in a type-safe way. - * - *

    Original source: - *

    - *         //inv18-MultiplicityChecked
    - *         //inv19-MultiplicityChecked
    - *         
    - *         //inv20-Useless constraint since both edges are containment (TODOCheck)
    - *         //OclIsUndefined-Handled by multiplicity
    - *         {@literal @}Constraint(message = "inv20", severity = "error", key = {lur})
    - *         pattern inv20(lur : Legal_Union_Record) {
    - *             Legal_Union_Record.individual_A(lur, iA);
    - *             Legal_Union_Record.individual_B(lur, iB);
    - *             iA == iB;
    - *         }
    - * 
    - * - * @see Matcher - * @see Match - * - */ -@SuppressWarnings("all") -public final class Inv20 extends BaseGeneratedEMFQuerySpecification { - /** - * Pattern-specific match representation of the queries.inv20 pattern, - * to be used in conjunction with {@link Matcher}. - * - *

    Class fields correspond to parameters of the pattern. Fields with value null are considered unassigned. - * Each instance is a (possibly partial) substitution of pattern parameters, - * usable to represent a match of the pattern in the result of a query, - * or to specify the bound (fixed) input parameters when issuing a query. - * - * @see Matcher - * - */ - public static abstract class Match extends BasePatternMatch { - private Legal_Union_Record fLur; - - private static List parameterNames = makeImmutableList("lur"); - - private Match(final Legal_Union_Record pLur) { - this.fLur = pLur; - } - - @Override - public Object get(final String parameterName) { - switch(parameterName) { - case "lur": return this.fLur; - default: return null; - } - } - - @Override - public Object get(final int index) { - switch(index) { - case 0: return this.fLur; - default: return null; - } - } - - public Legal_Union_Record getLur() { - return this.fLur; - } - - @Override - public boolean set(final String parameterName, final Object newValue) { - if (!isMutable()) throw new java.lang.UnsupportedOperationException(); - if ("lur".equals(parameterName) ) { - this.fLur = (Legal_Union_Record) newValue; - return true; - } - return false; - } - - public void setLur(final Legal_Union_Record pLur) { - if (!isMutable()) throw new java.lang.UnsupportedOperationException(); - this.fLur = pLur; - } - - @Override - public String patternName() { - return "queries.inv20"; - } - - @Override - public List parameterNames() { - return Inv20.Match.parameterNames; - } - - @Override - public Object[] toArray() { - return new Object[]{fLur}; - } - - @Override - public Inv20.Match toImmutable() { - return isMutable() ? newMatch(fLur) : this; - } - - @Override - public String prettyPrint() { - StringBuilder result = new StringBuilder(); - result.append("\"lur\"=" + prettyPrintValue(fLur)); - return result.toString(); - } - - @Override - public int hashCode() { - return Objects.hash(fLur); - } - - @Override - public boolean equals(final Object obj) { - if (this == obj) - return true; - if (obj == null) { - return false; - } - if ((obj instanceof Inv20.Match)) { - Inv20.Match other = (Inv20.Match) obj; - return Objects.equals(fLur, other.fLur); - } else { - // this should be infrequent - if (!(obj instanceof IPatternMatch)) { - return false; - } - IPatternMatch otherSig = (IPatternMatch) obj; - return Objects.equals(specification(), otherSig.specification()) && Arrays.deepEquals(toArray(), otherSig.toArray()); - } - } - - @Override - public Inv20 specification() { - return Inv20.instance(); - } - - /** - * Returns an empty, mutable match. - * Fields of the mutable match can be filled to create a partial match, usable as matcher input. - * - * @return the empty match. - * - */ - public static Inv20.Match newEmptyMatch() { - return new Mutable(null); - } - - /** - * Returns a mutable (partial) match. - * Fields of the mutable match can be filled to create a partial match, usable as matcher input. - * - * @param pLur the fixed value of pattern parameter lur, or null if not bound. - * @return the new, mutable (partial) match object. - * - */ - public static Inv20.Match newMutableMatch(final Legal_Union_Record pLur) { - return new Mutable(pLur); - } - - /** - * Returns a new (partial) match. - * This can be used e.g. to call the matcher with a partial match. - *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. - * @param pLur the fixed value of pattern parameter lur, or null if not bound. - * @return the (partial) match object. - * - */ - public static Inv20.Match newMatch(final Legal_Union_Record pLur) { - return new Immutable(pLur); - } - - private static final class Mutable extends Inv20.Match { - Mutable(final Legal_Union_Record pLur) { - super(pLur); - } - - @Override - public boolean isMutable() { - return true; - } - } - - private static final class Immutable extends Inv20.Match { - Immutable(final Legal_Union_Record pLur) { - super(pLur); - } - - @Override - public boolean isMutable() { - return false; - } - } - } - - /** - * Generated pattern matcher API of the queries.inv20 pattern, - * providing pattern-specific query methods. - * - *

    Use the pattern matcher on a given model via {@link #on(ViatraQueryEngine)}, - * e.g. in conjunction with {@link ViatraQueryEngine#on(QueryScope)}. - * - *

    Matches of the pattern will be represented as {@link Match}. - * - *

    Original source: - *

    -   * //inv18-MultiplicityChecked
    -   * //inv19-MultiplicityChecked
    -   * 
    -   * //inv20-Useless constraint since both edges are containment (TODOCheck)
    -   * //OclIsUndefined-Handled by multiplicity
    -   * {@literal @}Constraint(message = "inv20", severity = "error", key = {lur})
    -   * pattern inv20(lur : Legal_Union_Record) {
    -   *     Legal_Union_Record.individual_A(lur, iA);
    -   *     Legal_Union_Record.individual_B(lur, iB);
    -   *     iA == iB;
    -   * }
    -   * 
    - * - * @see Match - * @see Inv20 - * - */ - public static class Matcher extends BaseMatcher { - /** - * Initializes the pattern matcher within an existing VIATRA Query engine. - * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. - * - * @param engine the existing VIATRA Query engine in which this matcher will be created. - * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation - * - */ - public static Inv20.Matcher on(final ViatraQueryEngine engine) { - // check if matcher already exists - Matcher matcher = engine.getExistingMatcher(querySpecification()); - if (matcher == null) { - matcher = (Matcher)engine.getMatcher(querySpecification()); - } - return matcher; - } - - /** - * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation - * @return an initialized matcher - * @noreference This method is for internal matcher initialization by the framework, do not call it manually. - * - */ - public static Inv20.Matcher create() { - return new Matcher(); - } - - private static final int POSITION_LUR = 0; - - private static final Logger LOGGER = ViatraQueryLoggingUtil.getLogger(Inv20.Matcher.class); - - /** - * Initializes the pattern matcher within an existing VIATRA Query engine. - * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. - * - * @param engine the existing VIATRA Query engine in which this matcher will be created. - * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation - * - */ - private Matcher() { - super(querySpecification()); - } - - /** - * Returns the set of all matches of the pattern that conform to the given fixed values of some parameters. - * @param pLur the fixed value of pattern parameter lur, or null if not bound. - * @return matches represented as a Match object. - * - */ - public Collection getAllMatches(final Legal_Union_Record pLur) { - return rawStreamAllMatches(new Object[]{pLur}).collect(Collectors.toSet()); - } - - /** - * Returns a stream of all matches of the pattern that conform to the given fixed values of some parameters. - *

    - * NOTE: It is important not to modify the source model while the stream is being processed. - * If the match set of the pattern changes during processing, the contents of the stream is undefined. - * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. - * @param pLur the fixed value of pattern parameter lur, or null if not bound. - * @return a stream of matches represented as a Match object. - * - */ - public Stream streamAllMatches(final Legal_Union_Record pLur) { - return rawStreamAllMatches(new Object[]{pLur}); - } - - /** - * Returns an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. - * Neither determinism nor randomness of selection is guaranteed. - * @param pLur the fixed value of pattern parameter lur, or null if not bound. - * @return a match represented as a Match object, or null if no match is found. - * - */ - public Optional getOneArbitraryMatch(final Legal_Union_Record pLur) { - return rawGetOneArbitraryMatch(new Object[]{pLur}); - } - - /** - * Indicates whether the given combination of specified pattern parameters constitute a valid pattern match, - * under any possible substitution of the unspecified parameters (if any). - * @param pLur the fixed value of pattern parameter lur, or null if not bound. - * @return true if the input is a valid (partial) match of the pattern. - * - */ - public boolean hasMatch(final Legal_Union_Record pLur) { - return rawHasMatch(new Object[]{pLur}); - } - - /** - * Returns the number of all matches of the pattern that conform to the given fixed values of some parameters. - * @param pLur the fixed value of pattern parameter lur, or null if not bound. - * @return the number of pattern matches found. - * - */ - public int countMatches(final Legal_Union_Record pLur) { - return rawCountMatches(new Object[]{pLur}); - } - - /** - * Executes the given processor on an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. - * Neither determinism nor randomness of selection is guaranteed. - * @param pLur the fixed value of pattern parameter lur, or null if not bound. - * @param processor the action that will process the selected match. - * @return true if the pattern has at least one match with the given parameter values, false if the processor was not invoked - * - */ - public boolean forOneArbitraryMatch(final Legal_Union_Record pLur, final Consumer processor) { - return rawForOneArbitraryMatch(new Object[]{pLur}, processor); - } - - /** - * Returns a new (partial) match. - * This can be used e.g. to call the matcher with a partial match. - *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. - * @param pLur the fixed value of pattern parameter lur, or null if not bound. - * @return the (partial) match object. - * - */ - public Inv20.Match newMatch(final Legal_Union_Record pLur) { - return Inv20.Match.newMatch(pLur); - } - - /** - * Retrieve the set of values that occur in matches for lur. - * @return the Set of all values or empty set if there are no matches - * - */ - protected Stream rawStreamAllValuesOflur(final Object[] parameters) { - return rawStreamAllValues(POSITION_LUR, parameters).map(Legal_Union_Record.class::cast); - } - - /** - * Retrieve the set of values that occur in matches for lur. - * @return the Set of all values or empty set if there are no matches - * - */ - public Set getAllValuesOflur() { - return rawStreamAllValuesOflur(emptyArray()).collect(Collectors.toSet()); - } - - /** - * Retrieve the set of values that occur in matches for lur. - * @return the Set of all values or empty set if there are no matches - * - */ - public Stream streamAllValuesOflur() { - return rawStreamAllValuesOflur(emptyArray()); - } - - @Override - protected Inv20.Match tupleToMatch(final Tuple t) { - try { - return Inv20.Match.newMatch((Legal_Union_Record) t.get(POSITION_LUR)); - } catch(ClassCastException e) { - LOGGER.error("Element(s) in tuple not properly typed!",e); - return null; - } - } - - @Override - protected Inv20.Match arrayToMatch(final Object[] match) { - try { - return Inv20.Match.newMatch((Legal_Union_Record) match[POSITION_LUR]); - } catch(ClassCastException e) { - LOGGER.error("Element(s) in array not properly typed!",e); - return null; - } - } - - @Override - protected Inv20.Match arrayToMatchMutable(final Object[] match) { - try { - return Inv20.Match.newMutableMatch((Legal_Union_Record) match[POSITION_LUR]); - } catch(ClassCastException e) { - LOGGER.error("Element(s) in array not properly typed!",e); - return null; - } - } - - /** - * @return the singleton instance of the query specification of this pattern - * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded - * - */ - public static IQuerySpecification querySpecification() { - return Inv20.instance(); - } - } - - private Inv20() { - super(GeneratedPQuery.INSTANCE); - } - - /** - * @return the singleton instance of the query specification - * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded - * - */ - public static Inv20 instance() { - try{ - return LazyHolder.INSTANCE; - } catch (ExceptionInInitializerError err) { - throw processInitializerError(err); - } - } - - @Override - protected Inv20.Matcher instantiate(final ViatraQueryEngine engine) { - return Inv20.Matcher.on(engine); - } - - @Override - public Inv20.Matcher instantiate() { - return Inv20.Matcher.create(); - } - - @Override - public Inv20.Match newEmptyMatch() { - return Inv20.Match.newEmptyMatch(); - } - - @Override - public Inv20.Match newMatch(final Object... parameters) { - return Inv20.Match.newMatch((Taxation.Legal_Union_Record) parameters[0]); - } - - /** - * Inner class allowing the singleton instance of {@link Inv20} to be created - * not at the class load time of the outer class, - * but rather at the first call to {@link Inv20#instance()}. - * - *

    This workaround is required e.g. to support recursion. - * - */ - private static class LazyHolder { - private static final Inv20 INSTANCE = new Inv20(); - - /** - * Statically initializes the query specification after the field {@link #INSTANCE} is assigned. - * This initialization order is required to support indirect recursion. - * - *

    The static initializer is defined using a helper field to work around limitations of the code generator. - * - */ - private static final Object STATIC_INITIALIZER = ensureInitialized(); - - public static Object ensureInitialized() { - INSTANCE.ensureInitializedInternal(); - return null; - } - } - - private static class GeneratedPQuery extends BaseGeneratedEMFPQuery { - private static final Inv20.GeneratedPQuery INSTANCE = new GeneratedPQuery(); - - private final PParameter parameter_lur = new PParameter("lur", "Taxation.Legal_Union_Record", new EClassTransitiveInstancesKey((EClass)getClassifierLiteralSafe("http:///TaxCard.ecore", "Legal_Union_Record")), PParameterDirection.INOUT); - - private final List parameters = Arrays.asList(parameter_lur); - - private GeneratedPQuery() { - super(PVisibility.PUBLIC); - } - - @Override - public String getFullyQualifiedName() { - return "queries.inv20"; - } - - @Override - public List getParameterNames() { - return Arrays.asList("lur"); - } - - @Override - public List getParameters() { - return parameters; - } - - @Override - public Set doGetContainedBodies() { - setEvaluationHints(new QueryEvaluationHint(null, QueryEvaluationHint.BackendRequirement.UNSPECIFIED)); - Set bodies = new LinkedHashSet<>(); - { - PBody body = new PBody(this); - PVariable var_lur = body.getOrCreateVariableByName("lur"); - PVariable var_iA = body.getOrCreateVariableByName("iA"); - PVariable var_iB = body.getOrCreateVariableByName("iB"); - new TypeConstraint(body, Tuples.flatTupleOf(var_lur), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Legal_Union_Record"))); - body.setSymbolicParameters(Arrays.asList( - new ExportedParameter(body, var_lur, parameter_lur) - )); - // Legal_Union_Record.individual_A(lur, iA) - new TypeConstraint(body, Tuples.flatTupleOf(var_lur), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Legal_Union_Record"))); - PVariable var__virtual_0_ = body.getOrCreateVariableByName(".virtual{0}"); - new TypeConstraint(body, Tuples.flatTupleOf(var_lur, var__virtual_0_), new EStructuralFeatureInstancesKey(getFeatureLiteral("http:///TaxCard.ecore", "Legal_Union_Record", "individual_A"))); - new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_0_), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Physical_Person"))); - new Equality(body, var__virtual_0_, var_iA); - // Legal_Union_Record.individual_B(lur, iB) - new TypeConstraint(body, Tuples.flatTupleOf(var_lur), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Legal_Union_Record"))); - PVariable var__virtual_1_ = body.getOrCreateVariableByName(".virtual{1}"); - new TypeConstraint(body, Tuples.flatTupleOf(var_lur, var__virtual_1_), new EStructuralFeatureInstancesKey(getFeatureLiteral("http:///TaxCard.ecore", "Legal_Union_Record", "individual_B"))); - new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_1_), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Physical_Person"))); - new Equality(body, var__virtual_1_, var_iB); - // iA == iB - new Equality(body, var_iA, var_iB); - bodies.add(body); - } - { - PAnnotation annotation = new PAnnotation("Constraint"); - annotation.addAttribute("message", "inv20"); - annotation.addAttribute("severity", "error"); - annotation.addAttribute("key", Arrays.asList(new Object[] { - new ParameterReference("lur") - })); - addAnnotation(annotation); - } - return bodies; - } - } -} diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/Inv33.java b/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/Inv33.java deleted file mode 100644 index 1672290c..00000000 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/Inv33.java +++ /dev/null @@ -1,665 +0,0 @@ -/** - * Generated from platform:/resource/case.study.pledge.run/src/queries/case_study_A.vql - */ -package queries; - -import Taxation.Physical_Person; -import java.util.Arrays; -import java.util.Collection; -import java.util.LinkedHashSet; -import java.util.List; -import java.util.Objects; -import java.util.Optional; -import java.util.Set; -import java.util.function.Consumer; -import java.util.stream.Collectors; -import java.util.stream.Stream; -import org.apache.log4j.Logger; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EDataType; -import org.eclipse.viatra.query.runtime.api.IPatternMatch; -import org.eclipse.viatra.query.runtime.api.IQuerySpecification; -import org.eclipse.viatra.query.runtime.api.ViatraQueryEngine; -import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFPQuery; -import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFQuerySpecification; -import org.eclipse.viatra.query.runtime.api.impl.BaseMatcher; -import org.eclipse.viatra.query.runtime.api.impl.BasePatternMatch; -import org.eclipse.viatra.query.runtime.emf.types.EClassTransitiveInstancesKey; -import org.eclipse.viatra.query.runtime.emf.types.EDataTypeInSlotsKey; -import org.eclipse.viatra.query.runtime.emf.types.EStructuralFeatureInstancesKey; -import org.eclipse.viatra.query.runtime.matchers.backend.QueryEvaluationHint; -import org.eclipse.viatra.query.runtime.matchers.psystem.IExpressionEvaluator; -import org.eclipse.viatra.query.runtime.matchers.psystem.IValueProvider; -import org.eclipse.viatra.query.runtime.matchers.psystem.PBody; -import org.eclipse.viatra.query.runtime.matchers.psystem.PVariable; -import org.eclipse.viatra.query.runtime.matchers.psystem.annotations.PAnnotation; -import org.eclipse.viatra.query.runtime.matchers.psystem.annotations.ParameterReference; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.Equality; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.ExportedParameter; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.ExpressionEvaluation; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicenumerables.TypeConstraint; -import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameter; -import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameterDirection; -import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PVisibility; -import org.eclipse.viatra.query.runtime.matchers.tuple.Tuple; -import org.eclipse.viatra.query.runtime.matchers.tuple.Tuples; -import org.eclipse.viatra.query.runtime.util.ViatraQueryLoggingUtil; - -/** - * A pattern-specific query specification that can instantiate Matcher in a type-safe way. - * - *

    Original source: - *

    - *         //inv21-MultiplicityChecked
    - *         //inv22-MultiplicityChecked
    - *         //inv23-MultiplicityChecked
    - *         //inv24-MultiplicityChecked
    - *         //inv25-MultiplicityChecked
    - *         //inv26-MultiplicityChanged
    - *         //inv27-dupOfInv24
    - *         //inv28-dubOfInv23
    - *         //inv29-MultiplicityChanged
    - *         //inv30-AttributeRemoved
    - *         //inv31-AttributeRemoved
    - *         //inv32-AttributeRemoved
    - *         
    - *         //inv33-attribute-handled by multiplicity
    - *         {@literal @}Constraint(message = "inv33", severity = "error", key = {p})
    - *         pattern inv33(p : Physical_Person) {
    - *         	Physical_Person.birth_year(p, by); 
    - *         	check(2018-by {@literal <} 0);
    - *         } or {
    - *         	Physical_Person.birth_year(p, by); 
    - *         	check(2018-by {@literal >} 100);
    - *         }
    - * 
    - * - * @see Matcher - * @see Match - * - */ -@SuppressWarnings("all") -public final class Inv33 extends BaseGeneratedEMFQuerySpecification { - /** - * Pattern-specific match representation of the queries.inv33 pattern, - * to be used in conjunction with {@link Matcher}. - * - *

    Class fields correspond to parameters of the pattern. Fields with value null are considered unassigned. - * Each instance is a (possibly partial) substitution of pattern parameters, - * usable to represent a match of the pattern in the result of a query, - * or to specify the bound (fixed) input parameters when issuing a query. - * - * @see Matcher - * - */ - public static abstract class Match extends BasePatternMatch { - private Physical_Person fP; - - private static List parameterNames = makeImmutableList("p"); - - private Match(final Physical_Person pP) { - this.fP = pP; - } - - @Override - public Object get(final String parameterName) { - switch(parameterName) { - case "p": return this.fP; - default: return null; - } - } - - @Override - public Object get(final int index) { - switch(index) { - case 0: return this.fP; - default: return null; - } - } - - public Physical_Person getP() { - return this.fP; - } - - @Override - public boolean set(final String parameterName, final Object newValue) { - if (!isMutable()) throw new java.lang.UnsupportedOperationException(); - if ("p".equals(parameterName) ) { - this.fP = (Physical_Person) newValue; - return true; - } - return false; - } - - public void setP(final Physical_Person pP) { - if (!isMutable()) throw new java.lang.UnsupportedOperationException(); - this.fP = pP; - } - - @Override - public String patternName() { - return "queries.inv33"; - } - - @Override - public List parameterNames() { - return Inv33.Match.parameterNames; - } - - @Override - public Object[] toArray() { - return new Object[]{fP}; - } - - @Override - public Inv33.Match toImmutable() { - return isMutable() ? newMatch(fP) : this; - } - - @Override - public String prettyPrint() { - StringBuilder result = new StringBuilder(); - result.append("\"p\"=" + prettyPrintValue(fP)); - return result.toString(); - } - - @Override - public int hashCode() { - return Objects.hash(fP); - } - - @Override - public boolean equals(final Object obj) { - if (this == obj) - return true; - if (obj == null) { - return false; - } - if ((obj instanceof Inv33.Match)) { - Inv33.Match other = (Inv33.Match) obj; - return Objects.equals(fP, other.fP); - } else { - // this should be infrequent - if (!(obj instanceof IPatternMatch)) { - return false; - } - IPatternMatch otherSig = (IPatternMatch) obj; - return Objects.equals(specification(), otherSig.specification()) && Arrays.deepEquals(toArray(), otherSig.toArray()); - } - } - - @Override - public Inv33 specification() { - return Inv33.instance(); - } - - /** - * Returns an empty, mutable match. - * Fields of the mutable match can be filled to create a partial match, usable as matcher input. - * - * @return the empty match. - * - */ - public static Inv33.Match newEmptyMatch() { - return new Mutable(null); - } - - /** - * Returns a mutable (partial) match. - * Fields of the mutable match can be filled to create a partial match, usable as matcher input. - * - * @param pP the fixed value of pattern parameter p, or null if not bound. - * @return the new, mutable (partial) match object. - * - */ - public static Inv33.Match newMutableMatch(final Physical_Person pP) { - return new Mutable(pP); - } - - /** - * Returns a new (partial) match. - * This can be used e.g. to call the matcher with a partial match. - *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. - * @param pP the fixed value of pattern parameter p, or null if not bound. - * @return the (partial) match object. - * - */ - public static Inv33.Match newMatch(final Physical_Person pP) { - return new Immutable(pP); - } - - private static final class Mutable extends Inv33.Match { - Mutable(final Physical_Person pP) { - super(pP); - } - - @Override - public boolean isMutable() { - return true; - } - } - - private static final class Immutable extends Inv33.Match { - Immutable(final Physical_Person pP) { - super(pP); - } - - @Override - public boolean isMutable() { - return false; - } - } - } - - /** - * Generated pattern matcher API of the queries.inv33 pattern, - * providing pattern-specific query methods. - * - *

    Use the pattern matcher on a given model via {@link #on(ViatraQueryEngine)}, - * e.g. in conjunction with {@link ViatraQueryEngine#on(QueryScope)}. - * - *

    Matches of the pattern will be represented as {@link Match}. - * - *

    Original source: - *

    -   * //inv21-MultiplicityChecked
    -   * //inv22-MultiplicityChecked
    -   * //inv23-MultiplicityChecked
    -   * //inv24-MultiplicityChecked
    -   * //inv25-MultiplicityChecked
    -   * //inv26-MultiplicityChanged
    -   * //inv27-dupOfInv24
    -   * //inv28-dubOfInv23
    -   * //inv29-MultiplicityChanged
    -   * //inv30-AttributeRemoved
    -   * //inv31-AttributeRemoved
    -   * //inv32-AttributeRemoved
    -   * 
    -   * //inv33-attribute-handled by multiplicity
    -   * {@literal @}Constraint(message = "inv33", severity = "error", key = {p})
    -   * pattern inv33(p : Physical_Person) {
    -   * 	Physical_Person.birth_year(p, by); 
    -   * 	check(2018-by {@literal <} 0);
    -   * } or {
    -   * 	Physical_Person.birth_year(p, by); 
    -   * 	check(2018-by {@literal >} 100);
    -   * }
    -   * 
    - * - * @see Match - * @see Inv33 - * - */ - public static class Matcher extends BaseMatcher { - /** - * Initializes the pattern matcher within an existing VIATRA Query engine. - * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. - * - * @param engine the existing VIATRA Query engine in which this matcher will be created. - * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation - * - */ - public static Inv33.Matcher on(final ViatraQueryEngine engine) { - // check if matcher already exists - Matcher matcher = engine.getExistingMatcher(querySpecification()); - if (matcher == null) { - matcher = (Matcher)engine.getMatcher(querySpecification()); - } - return matcher; - } - - /** - * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation - * @return an initialized matcher - * @noreference This method is for internal matcher initialization by the framework, do not call it manually. - * - */ - public static Inv33.Matcher create() { - return new Matcher(); - } - - private static final int POSITION_P = 0; - - private static final Logger LOGGER = ViatraQueryLoggingUtil.getLogger(Inv33.Matcher.class); - - /** - * Initializes the pattern matcher within an existing VIATRA Query engine. - * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. - * - * @param engine the existing VIATRA Query engine in which this matcher will be created. - * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation - * - */ - private Matcher() { - super(querySpecification()); - } - - /** - * Returns the set of all matches of the pattern that conform to the given fixed values of some parameters. - * @param pP the fixed value of pattern parameter p, or null if not bound. - * @return matches represented as a Match object. - * - */ - public Collection getAllMatches(final Physical_Person pP) { - return rawStreamAllMatches(new Object[]{pP}).collect(Collectors.toSet()); - } - - /** - * Returns a stream of all matches of the pattern that conform to the given fixed values of some parameters. - *

    - * NOTE: It is important not to modify the source model while the stream is being processed. - * If the match set of the pattern changes during processing, the contents of the stream is undefined. - * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. - * @param pP the fixed value of pattern parameter p, or null if not bound. - * @return a stream of matches represented as a Match object. - * - */ - public Stream streamAllMatches(final Physical_Person pP) { - return rawStreamAllMatches(new Object[]{pP}); - } - - /** - * Returns an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. - * Neither determinism nor randomness of selection is guaranteed. - * @param pP the fixed value of pattern parameter p, or null if not bound. - * @return a match represented as a Match object, or null if no match is found. - * - */ - public Optional getOneArbitraryMatch(final Physical_Person pP) { - return rawGetOneArbitraryMatch(new Object[]{pP}); - } - - /** - * Indicates whether the given combination of specified pattern parameters constitute a valid pattern match, - * under any possible substitution of the unspecified parameters (if any). - * @param pP the fixed value of pattern parameter p, or null if not bound. - * @return true if the input is a valid (partial) match of the pattern. - * - */ - public boolean hasMatch(final Physical_Person pP) { - return rawHasMatch(new Object[]{pP}); - } - - /** - * Returns the number of all matches of the pattern that conform to the given fixed values of some parameters. - * @param pP the fixed value of pattern parameter p, or null if not bound. - * @return the number of pattern matches found. - * - */ - public int countMatches(final Physical_Person pP) { - return rawCountMatches(new Object[]{pP}); - } - - /** - * Executes the given processor on an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. - * Neither determinism nor randomness of selection is guaranteed. - * @param pP the fixed value of pattern parameter p, or null if not bound. - * @param processor the action that will process the selected match. - * @return true if the pattern has at least one match with the given parameter values, false if the processor was not invoked - * - */ - public boolean forOneArbitraryMatch(final Physical_Person pP, final Consumer processor) { - return rawForOneArbitraryMatch(new Object[]{pP}, processor); - } - - /** - * Returns a new (partial) match. - * This can be used e.g. to call the matcher with a partial match. - *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. - * @param pP the fixed value of pattern parameter p, or null if not bound. - * @return the (partial) match object. - * - */ - public Inv33.Match newMatch(final Physical_Person pP) { - return Inv33.Match.newMatch(pP); - } - - /** - * Retrieve the set of values that occur in matches for p. - * @return the Set of all values or empty set if there are no matches - * - */ - protected Stream rawStreamAllValuesOfp(final Object[] parameters) { - return rawStreamAllValues(POSITION_P, parameters).map(Physical_Person.class::cast); - } - - /** - * Retrieve the set of values that occur in matches for p. - * @return the Set of all values or empty set if there are no matches - * - */ - public Set getAllValuesOfp() { - return rawStreamAllValuesOfp(emptyArray()).collect(Collectors.toSet()); - } - - /** - * Retrieve the set of values that occur in matches for p. - * @return the Set of all values or empty set if there are no matches - * - */ - public Stream streamAllValuesOfp() { - return rawStreamAllValuesOfp(emptyArray()); - } - - @Override - protected Inv33.Match tupleToMatch(final Tuple t) { - try { - return Inv33.Match.newMatch((Physical_Person) t.get(POSITION_P)); - } catch(ClassCastException e) { - LOGGER.error("Element(s) in tuple not properly typed!",e); - return null; - } - } - - @Override - protected Inv33.Match arrayToMatch(final Object[] match) { - try { - return Inv33.Match.newMatch((Physical_Person) match[POSITION_P]); - } catch(ClassCastException e) { - LOGGER.error("Element(s) in array not properly typed!",e); - return null; - } - } - - @Override - protected Inv33.Match arrayToMatchMutable(final Object[] match) { - try { - return Inv33.Match.newMutableMatch((Physical_Person) match[POSITION_P]); - } catch(ClassCastException e) { - LOGGER.error("Element(s) in array not properly typed!",e); - return null; - } - } - - /** - * @return the singleton instance of the query specification of this pattern - * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded - * - */ - public static IQuerySpecification querySpecification() { - return Inv33.instance(); - } - } - - private Inv33() { - super(GeneratedPQuery.INSTANCE); - } - - /** - * @return the singleton instance of the query specification - * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded - * - */ - public static Inv33 instance() { - try{ - return LazyHolder.INSTANCE; - } catch (ExceptionInInitializerError err) { - throw processInitializerError(err); - } - } - - @Override - protected Inv33.Matcher instantiate(final ViatraQueryEngine engine) { - return Inv33.Matcher.on(engine); - } - - @Override - public Inv33.Matcher instantiate() { - return Inv33.Matcher.create(); - } - - @Override - public Inv33.Match newEmptyMatch() { - return Inv33.Match.newEmptyMatch(); - } - - @Override - public Inv33.Match newMatch(final Object... parameters) { - return Inv33.Match.newMatch((Taxation.Physical_Person) parameters[0]); - } - - /** - * Inner class allowing the singleton instance of {@link Inv33} to be created - * not at the class load time of the outer class, - * but rather at the first call to {@link Inv33#instance()}. - * - *

    This workaround is required e.g. to support recursion. - * - */ - private static class LazyHolder { - private static final Inv33 INSTANCE = new Inv33(); - - /** - * Statically initializes the query specification after the field {@link #INSTANCE} is assigned. - * This initialization order is required to support indirect recursion. - * - *

    The static initializer is defined using a helper field to work around limitations of the code generator. - * - */ - private static final Object STATIC_INITIALIZER = ensureInitialized(); - - public static Object ensureInitialized() { - INSTANCE.ensureInitializedInternal(); - return null; - } - } - - private static class GeneratedPQuery extends BaseGeneratedEMFPQuery { - private static final Inv33.GeneratedPQuery INSTANCE = new GeneratedPQuery(); - - private final PParameter parameter_p = new PParameter("p", "Taxation.Physical_Person", new EClassTransitiveInstancesKey((EClass)getClassifierLiteralSafe("http:///TaxCard.ecore", "Physical_Person")), PParameterDirection.INOUT); - - private final List parameters = Arrays.asList(parameter_p); - - private GeneratedPQuery() { - super(PVisibility.PUBLIC); - } - - @Override - public String getFullyQualifiedName() { - return "queries.inv33"; - } - - @Override - public List getParameterNames() { - return Arrays.asList("p"); - } - - @Override - public List getParameters() { - return parameters; - } - - @Override - public Set doGetContainedBodies() { - setEvaluationHints(new QueryEvaluationHint(null, QueryEvaluationHint.BackendRequirement.UNSPECIFIED)); - Set bodies = new LinkedHashSet<>(); - { - PBody body = new PBody(this); - PVariable var_p = body.getOrCreateVariableByName("p"); - PVariable var_by = body.getOrCreateVariableByName("by"); - new TypeConstraint(body, Tuples.flatTupleOf(var_p), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Physical_Person"))); - body.setSymbolicParameters(Arrays.asList( - new ExportedParameter(body, var_p, parameter_p) - )); - // Physical_Person.birth_year(p, by) - new TypeConstraint(body, Tuples.flatTupleOf(var_p), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Physical_Person"))); - PVariable var__virtual_0_ = body.getOrCreateVariableByName(".virtual{0}"); - new TypeConstraint(body, Tuples.flatTupleOf(var_p, var__virtual_0_), new EStructuralFeatureInstancesKey(getFeatureLiteral("http:///TaxCard.ecore", "Physical_Person", "birth_year"))); - new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_0_), new EDataTypeInSlotsKey((EDataType)getClassifierLiteral("http://www.eclipse.org/emf/2002/Ecore", "EInt"))); - new Equality(body, var__virtual_0_, var_by); - // check(2018-by < 0) - new ExpressionEvaluation(body, new IExpressionEvaluator() { - - @Override - public String getShortDescription() { - return "Expression evaluation from pattern inv33"; - } - - @Override - public Iterable getInputParameterNames() { - return Arrays.asList("by");} - - @Override - public Object evaluateExpression(IValueProvider provider) throws Exception { - Integer by = (Integer) provider.getValue("by"); - return evaluateExpression_1_1(by); - } - }, null); - bodies.add(body); - } - { - PBody body = new PBody(this); - PVariable var_p = body.getOrCreateVariableByName("p"); - PVariable var_by = body.getOrCreateVariableByName("by"); - new TypeConstraint(body, Tuples.flatTupleOf(var_p), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Physical_Person"))); - body.setSymbolicParameters(Arrays.asList( - new ExportedParameter(body, var_p, parameter_p) - )); - // Physical_Person.birth_year(p, by) - new TypeConstraint(body, Tuples.flatTupleOf(var_p), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Physical_Person"))); - PVariable var__virtual_0_ = body.getOrCreateVariableByName(".virtual{0}"); - new TypeConstraint(body, Tuples.flatTupleOf(var_p, var__virtual_0_), new EStructuralFeatureInstancesKey(getFeatureLiteral("http:///TaxCard.ecore", "Physical_Person", "birth_year"))); - new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_0_), new EDataTypeInSlotsKey((EDataType)getClassifierLiteral("http://www.eclipse.org/emf/2002/Ecore", "EInt"))); - new Equality(body, var__virtual_0_, var_by); - // check(2018-by > 100) - new ExpressionEvaluation(body, new IExpressionEvaluator() { - - @Override - public String getShortDescription() { - return "Expression evaluation from pattern inv33"; - } - - @Override - public Iterable getInputParameterNames() { - return Arrays.asList("by");} - - @Override - public Object evaluateExpression(IValueProvider provider) throws Exception { - Integer by = (Integer) provider.getValue("by"); - return evaluateExpression_2_1(by); - } - }, null); - bodies.add(body); - } - { - PAnnotation annotation = new PAnnotation("Constraint"); - annotation.addAttribute("message", "inv33"); - annotation.addAttribute("severity", "error"); - annotation.addAttribute("key", Arrays.asList(new Object[] { - new ParameterReference("p") - })); - addAnnotation(annotation); - } - return bodies; - } - } - - private static boolean evaluateExpression_1_1(final Integer by) { - return ((2018 - (by).intValue()) < 0); - } - - private static boolean evaluateExpression_2_1(final Integer by) { - return ((2018 - (by).intValue()) > 100); - } -} diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/Inv34.java b/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/Inv34.java deleted file mode 100644 index b9b28986..00000000 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/Inv34.java +++ /dev/null @@ -1,639 +0,0 @@ -/** - * Generated from platform:/resource/case.study.pledge.run/src/queries/case_study_A.vql - */ -package queries; - -import Taxation.Physical_Person; -import java.util.Arrays; -import java.util.Collection; -import java.util.LinkedHashSet; -import java.util.List; -import java.util.Objects; -import java.util.Optional; -import java.util.Set; -import java.util.function.Consumer; -import java.util.stream.Collectors; -import java.util.stream.Stream; -import org.apache.log4j.Logger; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EDataType; -import org.eclipse.viatra.query.runtime.api.IPatternMatch; -import org.eclipse.viatra.query.runtime.api.IQuerySpecification; -import org.eclipse.viatra.query.runtime.api.ViatraQueryEngine; -import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFPQuery; -import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFQuerySpecification; -import org.eclipse.viatra.query.runtime.api.impl.BaseMatcher; -import org.eclipse.viatra.query.runtime.api.impl.BasePatternMatch; -import org.eclipse.viatra.query.runtime.emf.types.EClassTransitiveInstancesKey; -import org.eclipse.viatra.query.runtime.emf.types.EDataTypeInSlotsKey; -import org.eclipse.viatra.query.runtime.emf.types.EStructuralFeatureInstancesKey; -import org.eclipse.viatra.query.runtime.matchers.backend.QueryEvaluationHint; -import org.eclipse.viatra.query.runtime.matchers.psystem.IExpressionEvaluator; -import org.eclipse.viatra.query.runtime.matchers.psystem.IValueProvider; -import org.eclipse.viatra.query.runtime.matchers.psystem.PBody; -import org.eclipse.viatra.query.runtime.matchers.psystem.PVariable; -import org.eclipse.viatra.query.runtime.matchers.psystem.annotations.PAnnotation; -import org.eclipse.viatra.query.runtime.matchers.psystem.annotations.ParameterReference; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.Equality; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.ExportedParameter; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.ExpressionEvaluation; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicenumerables.TypeConstraint; -import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameter; -import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameterDirection; -import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PVisibility; -import org.eclipse.viatra.query.runtime.matchers.tuple.Tuple; -import org.eclipse.viatra.query.runtime.matchers.tuple.Tuples; -import org.eclipse.viatra.query.runtime.util.ViatraQueryLoggingUtil; - -/** - * A pattern-specific query specification that can instantiate Matcher in a type-safe way. - * - *

    Original source: - *

    - *         //inv34-attribute-handled by multiplicity
    - *         {@literal @}Constraint(message = "inv34", severity = "error", key = {p})
    - *         pattern inv34(p : Physical_Person) {
    - *             Physical_Person.birth_month(p, birthMonth);
    - *             check(birthMonth {@literal <} 1);    
    - *         } or {
    - *         	Physical_Person.birth_month(p, birthMonth);
    - *             check(birthMonth {@literal >} 12);
    - *         }
    - * 
    - * - * @see Matcher - * @see Match - * - */ -@SuppressWarnings("all") -public final class Inv34 extends BaseGeneratedEMFQuerySpecification { - /** - * Pattern-specific match representation of the queries.inv34 pattern, - * to be used in conjunction with {@link Matcher}. - * - *

    Class fields correspond to parameters of the pattern. Fields with value null are considered unassigned. - * Each instance is a (possibly partial) substitution of pattern parameters, - * usable to represent a match of the pattern in the result of a query, - * or to specify the bound (fixed) input parameters when issuing a query. - * - * @see Matcher - * - */ - public static abstract class Match extends BasePatternMatch { - private Physical_Person fP; - - private static List parameterNames = makeImmutableList("p"); - - private Match(final Physical_Person pP) { - this.fP = pP; - } - - @Override - public Object get(final String parameterName) { - switch(parameterName) { - case "p": return this.fP; - default: return null; - } - } - - @Override - public Object get(final int index) { - switch(index) { - case 0: return this.fP; - default: return null; - } - } - - public Physical_Person getP() { - return this.fP; - } - - @Override - public boolean set(final String parameterName, final Object newValue) { - if (!isMutable()) throw new java.lang.UnsupportedOperationException(); - if ("p".equals(parameterName) ) { - this.fP = (Physical_Person) newValue; - return true; - } - return false; - } - - public void setP(final Physical_Person pP) { - if (!isMutable()) throw new java.lang.UnsupportedOperationException(); - this.fP = pP; - } - - @Override - public String patternName() { - return "queries.inv34"; - } - - @Override - public List parameterNames() { - return Inv34.Match.parameterNames; - } - - @Override - public Object[] toArray() { - return new Object[]{fP}; - } - - @Override - public Inv34.Match toImmutable() { - return isMutable() ? newMatch(fP) : this; - } - - @Override - public String prettyPrint() { - StringBuilder result = new StringBuilder(); - result.append("\"p\"=" + prettyPrintValue(fP)); - return result.toString(); - } - - @Override - public int hashCode() { - return Objects.hash(fP); - } - - @Override - public boolean equals(final Object obj) { - if (this == obj) - return true; - if (obj == null) { - return false; - } - if ((obj instanceof Inv34.Match)) { - Inv34.Match other = (Inv34.Match) obj; - return Objects.equals(fP, other.fP); - } else { - // this should be infrequent - if (!(obj instanceof IPatternMatch)) { - return false; - } - IPatternMatch otherSig = (IPatternMatch) obj; - return Objects.equals(specification(), otherSig.specification()) && Arrays.deepEquals(toArray(), otherSig.toArray()); - } - } - - @Override - public Inv34 specification() { - return Inv34.instance(); - } - - /** - * Returns an empty, mutable match. - * Fields of the mutable match can be filled to create a partial match, usable as matcher input. - * - * @return the empty match. - * - */ - public static Inv34.Match newEmptyMatch() { - return new Mutable(null); - } - - /** - * Returns a mutable (partial) match. - * Fields of the mutable match can be filled to create a partial match, usable as matcher input. - * - * @param pP the fixed value of pattern parameter p, or null if not bound. - * @return the new, mutable (partial) match object. - * - */ - public static Inv34.Match newMutableMatch(final Physical_Person pP) { - return new Mutable(pP); - } - - /** - * Returns a new (partial) match. - * This can be used e.g. to call the matcher with a partial match. - *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. - * @param pP the fixed value of pattern parameter p, or null if not bound. - * @return the (partial) match object. - * - */ - public static Inv34.Match newMatch(final Physical_Person pP) { - return new Immutable(pP); - } - - private static final class Mutable extends Inv34.Match { - Mutable(final Physical_Person pP) { - super(pP); - } - - @Override - public boolean isMutable() { - return true; - } - } - - private static final class Immutable extends Inv34.Match { - Immutable(final Physical_Person pP) { - super(pP); - } - - @Override - public boolean isMutable() { - return false; - } - } - } - - /** - * Generated pattern matcher API of the queries.inv34 pattern, - * providing pattern-specific query methods. - * - *

    Use the pattern matcher on a given model via {@link #on(ViatraQueryEngine)}, - * e.g. in conjunction with {@link ViatraQueryEngine#on(QueryScope)}. - * - *

    Matches of the pattern will be represented as {@link Match}. - * - *

    Original source: - *

    -   * //inv34-attribute-handled by multiplicity
    -   * {@literal @}Constraint(message = "inv34", severity = "error", key = {p})
    -   * pattern inv34(p : Physical_Person) {
    -   *     Physical_Person.birth_month(p, birthMonth);
    -   *     check(birthMonth {@literal <} 1);    
    -   * } or {
    -   * 	Physical_Person.birth_month(p, birthMonth);
    -   *     check(birthMonth {@literal >} 12);
    -   * }
    -   * 
    - * - * @see Match - * @see Inv34 - * - */ - public static class Matcher extends BaseMatcher { - /** - * Initializes the pattern matcher within an existing VIATRA Query engine. - * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. - * - * @param engine the existing VIATRA Query engine in which this matcher will be created. - * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation - * - */ - public static Inv34.Matcher on(final ViatraQueryEngine engine) { - // check if matcher already exists - Matcher matcher = engine.getExistingMatcher(querySpecification()); - if (matcher == null) { - matcher = (Matcher)engine.getMatcher(querySpecification()); - } - return matcher; - } - - /** - * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation - * @return an initialized matcher - * @noreference This method is for internal matcher initialization by the framework, do not call it manually. - * - */ - public static Inv34.Matcher create() { - return new Matcher(); - } - - private static final int POSITION_P = 0; - - private static final Logger LOGGER = ViatraQueryLoggingUtil.getLogger(Inv34.Matcher.class); - - /** - * Initializes the pattern matcher within an existing VIATRA Query engine. - * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. - * - * @param engine the existing VIATRA Query engine in which this matcher will be created. - * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation - * - */ - private Matcher() { - super(querySpecification()); - } - - /** - * Returns the set of all matches of the pattern that conform to the given fixed values of some parameters. - * @param pP the fixed value of pattern parameter p, or null if not bound. - * @return matches represented as a Match object. - * - */ - public Collection getAllMatches(final Physical_Person pP) { - return rawStreamAllMatches(new Object[]{pP}).collect(Collectors.toSet()); - } - - /** - * Returns a stream of all matches of the pattern that conform to the given fixed values of some parameters. - *

    - * NOTE: It is important not to modify the source model while the stream is being processed. - * If the match set of the pattern changes during processing, the contents of the stream is undefined. - * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. - * @param pP the fixed value of pattern parameter p, or null if not bound. - * @return a stream of matches represented as a Match object. - * - */ - public Stream streamAllMatches(final Physical_Person pP) { - return rawStreamAllMatches(new Object[]{pP}); - } - - /** - * Returns an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. - * Neither determinism nor randomness of selection is guaranteed. - * @param pP the fixed value of pattern parameter p, or null if not bound. - * @return a match represented as a Match object, or null if no match is found. - * - */ - public Optional getOneArbitraryMatch(final Physical_Person pP) { - return rawGetOneArbitraryMatch(new Object[]{pP}); - } - - /** - * Indicates whether the given combination of specified pattern parameters constitute a valid pattern match, - * under any possible substitution of the unspecified parameters (if any). - * @param pP the fixed value of pattern parameter p, or null if not bound. - * @return true if the input is a valid (partial) match of the pattern. - * - */ - public boolean hasMatch(final Physical_Person pP) { - return rawHasMatch(new Object[]{pP}); - } - - /** - * Returns the number of all matches of the pattern that conform to the given fixed values of some parameters. - * @param pP the fixed value of pattern parameter p, or null if not bound. - * @return the number of pattern matches found. - * - */ - public int countMatches(final Physical_Person pP) { - return rawCountMatches(new Object[]{pP}); - } - - /** - * Executes the given processor on an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. - * Neither determinism nor randomness of selection is guaranteed. - * @param pP the fixed value of pattern parameter p, or null if not bound. - * @param processor the action that will process the selected match. - * @return true if the pattern has at least one match with the given parameter values, false if the processor was not invoked - * - */ - public boolean forOneArbitraryMatch(final Physical_Person pP, final Consumer processor) { - return rawForOneArbitraryMatch(new Object[]{pP}, processor); - } - - /** - * Returns a new (partial) match. - * This can be used e.g. to call the matcher with a partial match. - *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. - * @param pP the fixed value of pattern parameter p, or null if not bound. - * @return the (partial) match object. - * - */ - public Inv34.Match newMatch(final Physical_Person pP) { - return Inv34.Match.newMatch(pP); - } - - /** - * Retrieve the set of values that occur in matches for p. - * @return the Set of all values or empty set if there are no matches - * - */ - protected Stream rawStreamAllValuesOfp(final Object[] parameters) { - return rawStreamAllValues(POSITION_P, parameters).map(Physical_Person.class::cast); - } - - /** - * Retrieve the set of values that occur in matches for p. - * @return the Set of all values or empty set if there are no matches - * - */ - public Set getAllValuesOfp() { - return rawStreamAllValuesOfp(emptyArray()).collect(Collectors.toSet()); - } - - /** - * Retrieve the set of values that occur in matches for p. - * @return the Set of all values or empty set if there are no matches - * - */ - public Stream streamAllValuesOfp() { - return rawStreamAllValuesOfp(emptyArray()); - } - - @Override - protected Inv34.Match tupleToMatch(final Tuple t) { - try { - return Inv34.Match.newMatch((Physical_Person) t.get(POSITION_P)); - } catch(ClassCastException e) { - LOGGER.error("Element(s) in tuple not properly typed!",e); - return null; - } - } - - @Override - protected Inv34.Match arrayToMatch(final Object[] match) { - try { - return Inv34.Match.newMatch((Physical_Person) match[POSITION_P]); - } catch(ClassCastException e) { - LOGGER.error("Element(s) in array not properly typed!",e); - return null; - } - } - - @Override - protected Inv34.Match arrayToMatchMutable(final Object[] match) { - try { - return Inv34.Match.newMutableMatch((Physical_Person) match[POSITION_P]); - } catch(ClassCastException e) { - LOGGER.error("Element(s) in array not properly typed!",e); - return null; - } - } - - /** - * @return the singleton instance of the query specification of this pattern - * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded - * - */ - public static IQuerySpecification querySpecification() { - return Inv34.instance(); - } - } - - private Inv34() { - super(GeneratedPQuery.INSTANCE); - } - - /** - * @return the singleton instance of the query specification - * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded - * - */ - public static Inv34 instance() { - try{ - return LazyHolder.INSTANCE; - } catch (ExceptionInInitializerError err) { - throw processInitializerError(err); - } - } - - @Override - protected Inv34.Matcher instantiate(final ViatraQueryEngine engine) { - return Inv34.Matcher.on(engine); - } - - @Override - public Inv34.Matcher instantiate() { - return Inv34.Matcher.create(); - } - - @Override - public Inv34.Match newEmptyMatch() { - return Inv34.Match.newEmptyMatch(); - } - - @Override - public Inv34.Match newMatch(final Object... parameters) { - return Inv34.Match.newMatch((Taxation.Physical_Person) parameters[0]); - } - - /** - * Inner class allowing the singleton instance of {@link Inv34} to be created - * not at the class load time of the outer class, - * but rather at the first call to {@link Inv34#instance()}. - * - *

    This workaround is required e.g. to support recursion. - * - */ - private static class LazyHolder { - private static final Inv34 INSTANCE = new Inv34(); - - /** - * Statically initializes the query specification after the field {@link #INSTANCE} is assigned. - * This initialization order is required to support indirect recursion. - * - *

    The static initializer is defined using a helper field to work around limitations of the code generator. - * - */ - private static final Object STATIC_INITIALIZER = ensureInitialized(); - - public static Object ensureInitialized() { - INSTANCE.ensureInitializedInternal(); - return null; - } - } - - private static class GeneratedPQuery extends BaseGeneratedEMFPQuery { - private static final Inv34.GeneratedPQuery INSTANCE = new GeneratedPQuery(); - - private final PParameter parameter_p = new PParameter("p", "Taxation.Physical_Person", new EClassTransitiveInstancesKey((EClass)getClassifierLiteralSafe("http:///TaxCard.ecore", "Physical_Person")), PParameterDirection.INOUT); - - private final List parameters = Arrays.asList(parameter_p); - - private GeneratedPQuery() { - super(PVisibility.PUBLIC); - } - - @Override - public String getFullyQualifiedName() { - return "queries.inv34"; - } - - @Override - public List getParameterNames() { - return Arrays.asList("p"); - } - - @Override - public List getParameters() { - return parameters; - } - - @Override - public Set doGetContainedBodies() { - setEvaluationHints(new QueryEvaluationHint(null, QueryEvaluationHint.BackendRequirement.UNSPECIFIED)); - Set bodies = new LinkedHashSet<>(); - { - PBody body = new PBody(this); - PVariable var_p = body.getOrCreateVariableByName("p"); - PVariable var_birthMonth = body.getOrCreateVariableByName("birthMonth"); - new TypeConstraint(body, Tuples.flatTupleOf(var_p), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Physical_Person"))); - body.setSymbolicParameters(Arrays.asList( - new ExportedParameter(body, var_p, parameter_p) - )); - // Physical_Person.birth_month(p, birthMonth) - new TypeConstraint(body, Tuples.flatTupleOf(var_p), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Physical_Person"))); - PVariable var__virtual_0_ = body.getOrCreateVariableByName(".virtual{0}"); - new TypeConstraint(body, Tuples.flatTupleOf(var_p, var__virtual_0_), new EStructuralFeatureInstancesKey(getFeatureLiteral("http:///TaxCard.ecore", "Physical_Person", "birth_month"))); - new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_0_), new EDataTypeInSlotsKey((EDataType)getClassifierLiteral("http://www.eclipse.org/emf/2002/Ecore", "EInt"))); - new Equality(body, var__virtual_0_, var_birthMonth); - // check(birthMonth < 1) - new ExpressionEvaluation(body, new IExpressionEvaluator() { - - @Override - public String getShortDescription() { - return "Expression evaluation from pattern inv34"; - } - - @Override - public Iterable getInputParameterNames() { - return Arrays.asList("birthMonth");} - - @Override - public Object evaluateExpression(IValueProvider provider) throws Exception { - Integer birthMonth = (Integer) provider.getValue("birthMonth"); - return evaluateExpression_1_1(birthMonth); - } - }, null); - bodies.add(body); - } - { - PBody body = new PBody(this); - PVariable var_p = body.getOrCreateVariableByName("p"); - PVariable var_birthMonth = body.getOrCreateVariableByName("birthMonth"); - new TypeConstraint(body, Tuples.flatTupleOf(var_p), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Physical_Person"))); - body.setSymbolicParameters(Arrays.asList( - new ExportedParameter(body, var_p, parameter_p) - )); - // Physical_Person.birth_month(p, birthMonth) - new TypeConstraint(body, Tuples.flatTupleOf(var_p), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Physical_Person"))); - PVariable var__virtual_0_ = body.getOrCreateVariableByName(".virtual{0}"); - new TypeConstraint(body, Tuples.flatTupleOf(var_p, var__virtual_0_), new EStructuralFeatureInstancesKey(getFeatureLiteral("http:///TaxCard.ecore", "Physical_Person", "birth_month"))); - new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_0_), new EDataTypeInSlotsKey((EDataType)getClassifierLiteral("http://www.eclipse.org/emf/2002/Ecore", "EInt"))); - new Equality(body, var__virtual_0_, var_birthMonth); - // check(birthMonth > 12) - new ExpressionEvaluation(body, new IExpressionEvaluator() { - - @Override - public String getShortDescription() { - return "Expression evaluation from pattern inv34"; - } - - @Override - public Iterable getInputParameterNames() { - return Arrays.asList("birthMonth");} - - @Override - public Object evaluateExpression(IValueProvider provider) throws Exception { - Integer birthMonth = (Integer) provider.getValue("birthMonth"); - return evaluateExpression_2_1(birthMonth); - } - }, null); - bodies.add(body); - } - { - PAnnotation annotation = new PAnnotation("Constraint"); - annotation.addAttribute("message", "inv34"); - annotation.addAttribute("severity", "error"); - annotation.addAttribute("key", Arrays.asList(new Object[] { - new ParameterReference("p") - })); - addAnnotation(annotation); - } - return bodies; - } - } - - private static boolean evaluateExpression_1_1(final Integer birthMonth) { - return ((birthMonth).intValue() < 1); - } - - private static boolean evaluateExpression_2_1(final Integer birthMonth) { - return ((birthMonth).intValue() > 12); - } -} diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/Inv35.java b/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/Inv35.java deleted file mode 100644 index c67325ac..00000000 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/Inv35.java +++ /dev/null @@ -1,639 +0,0 @@ -/** - * Generated from platform:/resource/case.study.pledge.run/src/queries/case_study_A.vql - */ -package queries; - -import Taxation.Physical_Person; -import java.util.Arrays; -import java.util.Collection; -import java.util.LinkedHashSet; -import java.util.List; -import java.util.Objects; -import java.util.Optional; -import java.util.Set; -import java.util.function.Consumer; -import java.util.stream.Collectors; -import java.util.stream.Stream; -import org.apache.log4j.Logger; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EDataType; -import org.eclipse.viatra.query.runtime.api.IPatternMatch; -import org.eclipse.viatra.query.runtime.api.IQuerySpecification; -import org.eclipse.viatra.query.runtime.api.ViatraQueryEngine; -import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFPQuery; -import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFQuerySpecification; -import org.eclipse.viatra.query.runtime.api.impl.BaseMatcher; -import org.eclipse.viatra.query.runtime.api.impl.BasePatternMatch; -import org.eclipse.viatra.query.runtime.emf.types.EClassTransitiveInstancesKey; -import org.eclipse.viatra.query.runtime.emf.types.EDataTypeInSlotsKey; -import org.eclipse.viatra.query.runtime.emf.types.EStructuralFeatureInstancesKey; -import org.eclipse.viatra.query.runtime.matchers.backend.QueryEvaluationHint; -import org.eclipse.viatra.query.runtime.matchers.psystem.IExpressionEvaluator; -import org.eclipse.viatra.query.runtime.matchers.psystem.IValueProvider; -import org.eclipse.viatra.query.runtime.matchers.psystem.PBody; -import org.eclipse.viatra.query.runtime.matchers.psystem.PVariable; -import org.eclipse.viatra.query.runtime.matchers.psystem.annotations.PAnnotation; -import org.eclipse.viatra.query.runtime.matchers.psystem.annotations.ParameterReference; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.Equality; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.ExportedParameter; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.ExpressionEvaluation; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicenumerables.TypeConstraint; -import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameter; -import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameterDirection; -import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PVisibility; -import org.eclipse.viatra.query.runtime.matchers.tuple.Tuple; -import org.eclipse.viatra.query.runtime.matchers.tuple.Tuples; -import org.eclipse.viatra.query.runtime.util.ViatraQueryLoggingUtil; - -/** - * A pattern-specific query specification that can instantiate Matcher in a type-safe way. - * - *

    Original source: - *

    - *         //inv35-attribute-handled by multiplicity
    - *         {@literal @}Constraint(message = "inv35", severity = "error", key = {p})
    - *         pattern inv35(p : Physical_Person) {
    - *             Physical_Person.birth_day(p, birthDay);
    - *             check(birthDay {@literal <} 1);    
    - *         } or {
    - *         	Physical_Person.birth_day(p, birthDay);
    - *             check(birthDay {@literal >} 28);
    - *         }
    - * 
    - * - * @see Matcher - * @see Match - * - */ -@SuppressWarnings("all") -public final class Inv35 extends BaseGeneratedEMFQuerySpecification { - /** - * Pattern-specific match representation of the queries.inv35 pattern, - * to be used in conjunction with {@link Matcher}. - * - *

    Class fields correspond to parameters of the pattern. Fields with value null are considered unassigned. - * Each instance is a (possibly partial) substitution of pattern parameters, - * usable to represent a match of the pattern in the result of a query, - * or to specify the bound (fixed) input parameters when issuing a query. - * - * @see Matcher - * - */ - public static abstract class Match extends BasePatternMatch { - private Physical_Person fP; - - private static List parameterNames = makeImmutableList("p"); - - private Match(final Physical_Person pP) { - this.fP = pP; - } - - @Override - public Object get(final String parameterName) { - switch(parameterName) { - case "p": return this.fP; - default: return null; - } - } - - @Override - public Object get(final int index) { - switch(index) { - case 0: return this.fP; - default: return null; - } - } - - public Physical_Person getP() { - return this.fP; - } - - @Override - public boolean set(final String parameterName, final Object newValue) { - if (!isMutable()) throw new java.lang.UnsupportedOperationException(); - if ("p".equals(parameterName) ) { - this.fP = (Physical_Person) newValue; - return true; - } - return false; - } - - public void setP(final Physical_Person pP) { - if (!isMutable()) throw new java.lang.UnsupportedOperationException(); - this.fP = pP; - } - - @Override - public String patternName() { - return "queries.inv35"; - } - - @Override - public List parameterNames() { - return Inv35.Match.parameterNames; - } - - @Override - public Object[] toArray() { - return new Object[]{fP}; - } - - @Override - public Inv35.Match toImmutable() { - return isMutable() ? newMatch(fP) : this; - } - - @Override - public String prettyPrint() { - StringBuilder result = new StringBuilder(); - result.append("\"p\"=" + prettyPrintValue(fP)); - return result.toString(); - } - - @Override - public int hashCode() { - return Objects.hash(fP); - } - - @Override - public boolean equals(final Object obj) { - if (this == obj) - return true; - if (obj == null) { - return false; - } - if ((obj instanceof Inv35.Match)) { - Inv35.Match other = (Inv35.Match) obj; - return Objects.equals(fP, other.fP); - } else { - // this should be infrequent - if (!(obj instanceof IPatternMatch)) { - return false; - } - IPatternMatch otherSig = (IPatternMatch) obj; - return Objects.equals(specification(), otherSig.specification()) && Arrays.deepEquals(toArray(), otherSig.toArray()); - } - } - - @Override - public Inv35 specification() { - return Inv35.instance(); - } - - /** - * Returns an empty, mutable match. - * Fields of the mutable match can be filled to create a partial match, usable as matcher input. - * - * @return the empty match. - * - */ - public static Inv35.Match newEmptyMatch() { - return new Mutable(null); - } - - /** - * Returns a mutable (partial) match. - * Fields of the mutable match can be filled to create a partial match, usable as matcher input. - * - * @param pP the fixed value of pattern parameter p, or null if not bound. - * @return the new, mutable (partial) match object. - * - */ - public static Inv35.Match newMutableMatch(final Physical_Person pP) { - return new Mutable(pP); - } - - /** - * Returns a new (partial) match. - * This can be used e.g. to call the matcher with a partial match. - *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. - * @param pP the fixed value of pattern parameter p, or null if not bound. - * @return the (partial) match object. - * - */ - public static Inv35.Match newMatch(final Physical_Person pP) { - return new Immutable(pP); - } - - private static final class Mutable extends Inv35.Match { - Mutable(final Physical_Person pP) { - super(pP); - } - - @Override - public boolean isMutable() { - return true; - } - } - - private static final class Immutable extends Inv35.Match { - Immutable(final Physical_Person pP) { - super(pP); - } - - @Override - public boolean isMutable() { - return false; - } - } - } - - /** - * Generated pattern matcher API of the queries.inv35 pattern, - * providing pattern-specific query methods. - * - *

    Use the pattern matcher on a given model via {@link #on(ViatraQueryEngine)}, - * e.g. in conjunction with {@link ViatraQueryEngine#on(QueryScope)}. - * - *

    Matches of the pattern will be represented as {@link Match}. - * - *

    Original source: - *

    -   * //inv35-attribute-handled by multiplicity
    -   * {@literal @}Constraint(message = "inv35", severity = "error", key = {p})
    -   * pattern inv35(p : Physical_Person) {
    -   *     Physical_Person.birth_day(p, birthDay);
    -   *     check(birthDay {@literal <} 1);    
    -   * } or {
    -   * 	Physical_Person.birth_day(p, birthDay);
    -   *     check(birthDay {@literal >} 28);
    -   * }
    -   * 
    - * - * @see Match - * @see Inv35 - * - */ - public static class Matcher extends BaseMatcher { - /** - * Initializes the pattern matcher within an existing VIATRA Query engine. - * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. - * - * @param engine the existing VIATRA Query engine in which this matcher will be created. - * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation - * - */ - public static Inv35.Matcher on(final ViatraQueryEngine engine) { - // check if matcher already exists - Matcher matcher = engine.getExistingMatcher(querySpecification()); - if (matcher == null) { - matcher = (Matcher)engine.getMatcher(querySpecification()); - } - return matcher; - } - - /** - * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation - * @return an initialized matcher - * @noreference This method is for internal matcher initialization by the framework, do not call it manually. - * - */ - public static Inv35.Matcher create() { - return new Matcher(); - } - - private static final int POSITION_P = 0; - - private static final Logger LOGGER = ViatraQueryLoggingUtil.getLogger(Inv35.Matcher.class); - - /** - * Initializes the pattern matcher within an existing VIATRA Query engine. - * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. - * - * @param engine the existing VIATRA Query engine in which this matcher will be created. - * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation - * - */ - private Matcher() { - super(querySpecification()); - } - - /** - * Returns the set of all matches of the pattern that conform to the given fixed values of some parameters. - * @param pP the fixed value of pattern parameter p, or null if not bound. - * @return matches represented as a Match object. - * - */ - public Collection getAllMatches(final Physical_Person pP) { - return rawStreamAllMatches(new Object[]{pP}).collect(Collectors.toSet()); - } - - /** - * Returns a stream of all matches of the pattern that conform to the given fixed values of some parameters. - *

    - * NOTE: It is important not to modify the source model while the stream is being processed. - * If the match set of the pattern changes during processing, the contents of the stream is undefined. - * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. - * @param pP the fixed value of pattern parameter p, or null if not bound. - * @return a stream of matches represented as a Match object. - * - */ - public Stream streamAllMatches(final Physical_Person pP) { - return rawStreamAllMatches(new Object[]{pP}); - } - - /** - * Returns an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. - * Neither determinism nor randomness of selection is guaranteed. - * @param pP the fixed value of pattern parameter p, or null if not bound. - * @return a match represented as a Match object, or null if no match is found. - * - */ - public Optional getOneArbitraryMatch(final Physical_Person pP) { - return rawGetOneArbitraryMatch(new Object[]{pP}); - } - - /** - * Indicates whether the given combination of specified pattern parameters constitute a valid pattern match, - * under any possible substitution of the unspecified parameters (if any). - * @param pP the fixed value of pattern parameter p, or null if not bound. - * @return true if the input is a valid (partial) match of the pattern. - * - */ - public boolean hasMatch(final Physical_Person pP) { - return rawHasMatch(new Object[]{pP}); - } - - /** - * Returns the number of all matches of the pattern that conform to the given fixed values of some parameters. - * @param pP the fixed value of pattern parameter p, or null if not bound. - * @return the number of pattern matches found. - * - */ - public int countMatches(final Physical_Person pP) { - return rawCountMatches(new Object[]{pP}); - } - - /** - * Executes the given processor on an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. - * Neither determinism nor randomness of selection is guaranteed. - * @param pP the fixed value of pattern parameter p, or null if not bound. - * @param processor the action that will process the selected match. - * @return true if the pattern has at least one match with the given parameter values, false if the processor was not invoked - * - */ - public boolean forOneArbitraryMatch(final Physical_Person pP, final Consumer processor) { - return rawForOneArbitraryMatch(new Object[]{pP}, processor); - } - - /** - * Returns a new (partial) match. - * This can be used e.g. to call the matcher with a partial match. - *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. - * @param pP the fixed value of pattern parameter p, or null if not bound. - * @return the (partial) match object. - * - */ - public Inv35.Match newMatch(final Physical_Person pP) { - return Inv35.Match.newMatch(pP); - } - - /** - * Retrieve the set of values that occur in matches for p. - * @return the Set of all values or empty set if there are no matches - * - */ - protected Stream rawStreamAllValuesOfp(final Object[] parameters) { - return rawStreamAllValues(POSITION_P, parameters).map(Physical_Person.class::cast); - } - - /** - * Retrieve the set of values that occur in matches for p. - * @return the Set of all values or empty set if there are no matches - * - */ - public Set getAllValuesOfp() { - return rawStreamAllValuesOfp(emptyArray()).collect(Collectors.toSet()); - } - - /** - * Retrieve the set of values that occur in matches for p. - * @return the Set of all values or empty set if there are no matches - * - */ - public Stream streamAllValuesOfp() { - return rawStreamAllValuesOfp(emptyArray()); - } - - @Override - protected Inv35.Match tupleToMatch(final Tuple t) { - try { - return Inv35.Match.newMatch((Physical_Person) t.get(POSITION_P)); - } catch(ClassCastException e) { - LOGGER.error("Element(s) in tuple not properly typed!",e); - return null; - } - } - - @Override - protected Inv35.Match arrayToMatch(final Object[] match) { - try { - return Inv35.Match.newMatch((Physical_Person) match[POSITION_P]); - } catch(ClassCastException e) { - LOGGER.error("Element(s) in array not properly typed!",e); - return null; - } - } - - @Override - protected Inv35.Match arrayToMatchMutable(final Object[] match) { - try { - return Inv35.Match.newMutableMatch((Physical_Person) match[POSITION_P]); - } catch(ClassCastException e) { - LOGGER.error("Element(s) in array not properly typed!",e); - return null; - } - } - - /** - * @return the singleton instance of the query specification of this pattern - * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded - * - */ - public static IQuerySpecification querySpecification() { - return Inv35.instance(); - } - } - - private Inv35() { - super(GeneratedPQuery.INSTANCE); - } - - /** - * @return the singleton instance of the query specification - * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded - * - */ - public static Inv35 instance() { - try{ - return LazyHolder.INSTANCE; - } catch (ExceptionInInitializerError err) { - throw processInitializerError(err); - } - } - - @Override - protected Inv35.Matcher instantiate(final ViatraQueryEngine engine) { - return Inv35.Matcher.on(engine); - } - - @Override - public Inv35.Matcher instantiate() { - return Inv35.Matcher.create(); - } - - @Override - public Inv35.Match newEmptyMatch() { - return Inv35.Match.newEmptyMatch(); - } - - @Override - public Inv35.Match newMatch(final Object... parameters) { - return Inv35.Match.newMatch((Taxation.Physical_Person) parameters[0]); - } - - /** - * Inner class allowing the singleton instance of {@link Inv35} to be created - * not at the class load time of the outer class, - * but rather at the first call to {@link Inv35#instance()}. - * - *

    This workaround is required e.g. to support recursion. - * - */ - private static class LazyHolder { - private static final Inv35 INSTANCE = new Inv35(); - - /** - * Statically initializes the query specification after the field {@link #INSTANCE} is assigned. - * This initialization order is required to support indirect recursion. - * - *

    The static initializer is defined using a helper field to work around limitations of the code generator. - * - */ - private static final Object STATIC_INITIALIZER = ensureInitialized(); - - public static Object ensureInitialized() { - INSTANCE.ensureInitializedInternal(); - return null; - } - } - - private static class GeneratedPQuery extends BaseGeneratedEMFPQuery { - private static final Inv35.GeneratedPQuery INSTANCE = new GeneratedPQuery(); - - private final PParameter parameter_p = new PParameter("p", "Taxation.Physical_Person", new EClassTransitiveInstancesKey((EClass)getClassifierLiteralSafe("http:///TaxCard.ecore", "Physical_Person")), PParameterDirection.INOUT); - - private final List parameters = Arrays.asList(parameter_p); - - private GeneratedPQuery() { - super(PVisibility.PUBLIC); - } - - @Override - public String getFullyQualifiedName() { - return "queries.inv35"; - } - - @Override - public List getParameterNames() { - return Arrays.asList("p"); - } - - @Override - public List getParameters() { - return parameters; - } - - @Override - public Set doGetContainedBodies() { - setEvaluationHints(new QueryEvaluationHint(null, QueryEvaluationHint.BackendRequirement.UNSPECIFIED)); - Set bodies = new LinkedHashSet<>(); - { - PBody body = new PBody(this); - PVariable var_p = body.getOrCreateVariableByName("p"); - PVariable var_birthDay = body.getOrCreateVariableByName("birthDay"); - new TypeConstraint(body, Tuples.flatTupleOf(var_p), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Physical_Person"))); - body.setSymbolicParameters(Arrays.asList( - new ExportedParameter(body, var_p, parameter_p) - )); - // Physical_Person.birth_day(p, birthDay) - new TypeConstraint(body, Tuples.flatTupleOf(var_p), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Physical_Person"))); - PVariable var__virtual_0_ = body.getOrCreateVariableByName(".virtual{0}"); - new TypeConstraint(body, Tuples.flatTupleOf(var_p, var__virtual_0_), new EStructuralFeatureInstancesKey(getFeatureLiteral("http:///TaxCard.ecore", "Physical_Person", "birth_day"))); - new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_0_), new EDataTypeInSlotsKey((EDataType)getClassifierLiteral("http://www.eclipse.org/emf/2002/Ecore", "EInt"))); - new Equality(body, var__virtual_0_, var_birthDay); - // check(birthDay < 1) - new ExpressionEvaluation(body, new IExpressionEvaluator() { - - @Override - public String getShortDescription() { - return "Expression evaluation from pattern inv35"; - } - - @Override - public Iterable getInputParameterNames() { - return Arrays.asList("birthDay");} - - @Override - public Object evaluateExpression(IValueProvider provider) throws Exception { - Integer birthDay = (Integer) provider.getValue("birthDay"); - return evaluateExpression_1_1(birthDay); - } - }, null); - bodies.add(body); - } - { - PBody body = new PBody(this); - PVariable var_p = body.getOrCreateVariableByName("p"); - PVariable var_birthDay = body.getOrCreateVariableByName("birthDay"); - new TypeConstraint(body, Tuples.flatTupleOf(var_p), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Physical_Person"))); - body.setSymbolicParameters(Arrays.asList( - new ExportedParameter(body, var_p, parameter_p) - )); - // Physical_Person.birth_day(p, birthDay) - new TypeConstraint(body, Tuples.flatTupleOf(var_p), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Physical_Person"))); - PVariable var__virtual_0_ = body.getOrCreateVariableByName(".virtual{0}"); - new TypeConstraint(body, Tuples.flatTupleOf(var_p, var__virtual_0_), new EStructuralFeatureInstancesKey(getFeatureLiteral("http:///TaxCard.ecore", "Physical_Person", "birth_day"))); - new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_0_), new EDataTypeInSlotsKey((EDataType)getClassifierLiteral("http://www.eclipse.org/emf/2002/Ecore", "EInt"))); - new Equality(body, var__virtual_0_, var_birthDay); - // check(birthDay > 28) - new ExpressionEvaluation(body, new IExpressionEvaluator() { - - @Override - public String getShortDescription() { - return "Expression evaluation from pattern inv35"; - } - - @Override - public Iterable getInputParameterNames() { - return Arrays.asList("birthDay");} - - @Override - public Object evaluateExpression(IValueProvider provider) throws Exception { - Integer birthDay = (Integer) provider.getValue("birthDay"); - return evaluateExpression_2_1(birthDay); - } - }, null); - bodies.add(body); - } - { - PAnnotation annotation = new PAnnotation("Constraint"); - annotation.addAttribute("message", "inv35"); - annotation.addAttribute("severity", "error"); - annotation.addAttribute("key", Arrays.asList(new Object[] { - new ParameterReference("p") - })); - addAnnotation(annotation); - } - return bodies; - } - } - - private static boolean evaluateExpression_1_1(final Integer birthDay) { - return ((birthDay).intValue() < 1); - } - - private static boolean evaluateExpression_2_1(final Integer birthDay) { - return ((birthDay).intValue() > 28); - } -} diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/Inv47.java b/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/Inv47.java deleted file mode 100644 index 10ba19d6..00000000 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/Inv47.java +++ /dev/null @@ -1,636 +0,0 @@ -/** - * Generated from platform:/resource/case.study.pledge.run/src/queries/case_study_A.vql - */ -package queries; - -import Taxation.Legal_Union_Record; -import java.util.Arrays; -import java.util.Collection; -import java.util.LinkedHashSet; -import java.util.List; -import java.util.Objects; -import java.util.Optional; -import java.util.Set; -import java.util.function.Consumer; -import java.util.stream.Collectors; -import java.util.stream.Stream; -import org.apache.log4j.Logger; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EDataType; -import org.eclipse.viatra.query.runtime.api.IPatternMatch; -import org.eclipse.viatra.query.runtime.api.IQuerySpecification; -import org.eclipse.viatra.query.runtime.api.ViatraQueryEngine; -import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFPQuery; -import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFQuerySpecification; -import org.eclipse.viatra.query.runtime.api.impl.BaseMatcher; -import org.eclipse.viatra.query.runtime.api.impl.BasePatternMatch; -import org.eclipse.viatra.query.runtime.emf.types.EClassTransitiveInstancesKey; -import org.eclipse.viatra.query.runtime.emf.types.EDataTypeInSlotsKey; -import org.eclipse.viatra.query.runtime.emf.types.EStructuralFeatureInstancesKey; -import org.eclipse.viatra.query.runtime.matchers.backend.QueryEvaluationHint; -import org.eclipse.viatra.query.runtime.matchers.psystem.IExpressionEvaluator; -import org.eclipse.viatra.query.runtime.matchers.psystem.IValueProvider; -import org.eclipse.viatra.query.runtime.matchers.psystem.PBody; -import org.eclipse.viatra.query.runtime.matchers.psystem.PVariable; -import org.eclipse.viatra.query.runtime.matchers.psystem.annotations.PAnnotation; -import org.eclipse.viatra.query.runtime.matchers.psystem.annotations.ParameterReference; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.Equality; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.ExportedParameter; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.ExpressionEvaluation; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.NegativePatternCall; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicenumerables.TypeConstraint; -import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameter; -import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameterDirection; -import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PVisibility; -import org.eclipse.viatra.query.runtime.matchers.tuple.Tuple; -import org.eclipse.viatra.query.runtime.matchers.tuple.Tuples; -import org.eclipse.viatra.query.runtime.util.ViatraQueryLoggingUtil; -import queries.X_inv47; - -/** - * A pattern-specific query specification that can instantiate Matcher in a type-safe way. - * - *

    Original source: - *

    - *         //inv36-AttributeRemoved
    - *         //inv37-AttributeRemoved
    - *         //inv38-AttributeRemoved
    - *         //inv39-AttributeRemoved
    - *         //inv40-AttributeRemoved
    - *         //inv41-AttributeRemoved
    - *         //inv42-AttributeRemoved
    - *         //inv43-AttributeRemoved
    - *         //inv44-AttributeRemoved
    - *         //inv45-AttributeRemoved
    - *         //inv46-AttributeRemoved
    - *         
    - *         //inv47-attributes-handled by multiplicity
    - *         {@literal @}Constraint(message = "inv47", severity = "error", key = {lur})
    - *         pattern inv47(lur : Legal_Union_Record) {
    - *             Legal_Union_Record.end_year(lur, endY);
    - *             Legal_Union_Record.start_year(lur, startY);
    - *             neg find x_inv47(lur);
    - *             check(startY {@literal >}= endY);
    - *         }
    - * 
    - * - * @see Matcher - * @see Match - * - */ -@SuppressWarnings("all") -public final class Inv47 extends BaseGeneratedEMFQuerySpecification { - /** - * Pattern-specific match representation of the queries.inv47 pattern, - * to be used in conjunction with {@link Matcher}. - * - *

    Class fields correspond to parameters of the pattern. Fields with value null are considered unassigned. - * Each instance is a (possibly partial) substitution of pattern parameters, - * usable to represent a match of the pattern in the result of a query, - * or to specify the bound (fixed) input parameters when issuing a query. - * - * @see Matcher - * - */ - public static abstract class Match extends BasePatternMatch { - private Legal_Union_Record fLur; - - private static List parameterNames = makeImmutableList("lur"); - - private Match(final Legal_Union_Record pLur) { - this.fLur = pLur; - } - - @Override - public Object get(final String parameterName) { - switch(parameterName) { - case "lur": return this.fLur; - default: return null; - } - } - - @Override - public Object get(final int index) { - switch(index) { - case 0: return this.fLur; - default: return null; - } - } - - public Legal_Union_Record getLur() { - return this.fLur; - } - - @Override - public boolean set(final String parameterName, final Object newValue) { - if (!isMutable()) throw new java.lang.UnsupportedOperationException(); - if ("lur".equals(parameterName) ) { - this.fLur = (Legal_Union_Record) newValue; - return true; - } - return false; - } - - public void setLur(final Legal_Union_Record pLur) { - if (!isMutable()) throw new java.lang.UnsupportedOperationException(); - this.fLur = pLur; - } - - @Override - public String patternName() { - return "queries.inv47"; - } - - @Override - public List parameterNames() { - return Inv47.Match.parameterNames; - } - - @Override - public Object[] toArray() { - return new Object[]{fLur}; - } - - @Override - public Inv47.Match toImmutable() { - return isMutable() ? newMatch(fLur) : this; - } - - @Override - public String prettyPrint() { - StringBuilder result = new StringBuilder(); - result.append("\"lur\"=" + prettyPrintValue(fLur)); - return result.toString(); - } - - @Override - public int hashCode() { - return Objects.hash(fLur); - } - - @Override - public boolean equals(final Object obj) { - if (this == obj) - return true; - if (obj == null) { - return false; - } - if ((obj instanceof Inv47.Match)) { - Inv47.Match other = (Inv47.Match) obj; - return Objects.equals(fLur, other.fLur); - } else { - // this should be infrequent - if (!(obj instanceof IPatternMatch)) { - return false; - } - IPatternMatch otherSig = (IPatternMatch) obj; - return Objects.equals(specification(), otherSig.specification()) && Arrays.deepEquals(toArray(), otherSig.toArray()); - } - } - - @Override - public Inv47 specification() { - return Inv47.instance(); - } - - /** - * Returns an empty, mutable match. - * Fields of the mutable match can be filled to create a partial match, usable as matcher input. - * - * @return the empty match. - * - */ - public static Inv47.Match newEmptyMatch() { - return new Mutable(null); - } - - /** - * Returns a mutable (partial) match. - * Fields of the mutable match can be filled to create a partial match, usable as matcher input. - * - * @param pLur the fixed value of pattern parameter lur, or null if not bound. - * @return the new, mutable (partial) match object. - * - */ - public static Inv47.Match newMutableMatch(final Legal_Union_Record pLur) { - return new Mutable(pLur); - } - - /** - * Returns a new (partial) match. - * This can be used e.g. to call the matcher with a partial match. - *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. - * @param pLur the fixed value of pattern parameter lur, or null if not bound. - * @return the (partial) match object. - * - */ - public static Inv47.Match newMatch(final Legal_Union_Record pLur) { - return new Immutable(pLur); - } - - private static final class Mutable extends Inv47.Match { - Mutable(final Legal_Union_Record pLur) { - super(pLur); - } - - @Override - public boolean isMutable() { - return true; - } - } - - private static final class Immutable extends Inv47.Match { - Immutable(final Legal_Union_Record pLur) { - super(pLur); - } - - @Override - public boolean isMutable() { - return false; - } - } - } - - /** - * Generated pattern matcher API of the queries.inv47 pattern, - * providing pattern-specific query methods. - * - *

    Use the pattern matcher on a given model via {@link #on(ViatraQueryEngine)}, - * e.g. in conjunction with {@link ViatraQueryEngine#on(QueryScope)}. - * - *

    Matches of the pattern will be represented as {@link Match}. - * - *

    Original source: - *

    -   * //inv36-AttributeRemoved
    -   * //inv37-AttributeRemoved
    -   * //inv38-AttributeRemoved
    -   * //inv39-AttributeRemoved
    -   * //inv40-AttributeRemoved
    -   * //inv41-AttributeRemoved
    -   * //inv42-AttributeRemoved
    -   * //inv43-AttributeRemoved
    -   * //inv44-AttributeRemoved
    -   * //inv45-AttributeRemoved
    -   * //inv46-AttributeRemoved
    -   * 
    -   * //inv47-attributes-handled by multiplicity
    -   * {@literal @}Constraint(message = "inv47", severity = "error", key = {lur})
    -   * pattern inv47(lur : Legal_Union_Record) {
    -   *     Legal_Union_Record.end_year(lur, endY);
    -   *     Legal_Union_Record.start_year(lur, startY);
    -   *     neg find x_inv47(lur);
    -   *     check(startY {@literal >}= endY);
    -   * }
    -   * 
    - * - * @see Match - * @see Inv47 - * - */ - public static class Matcher extends BaseMatcher { - /** - * Initializes the pattern matcher within an existing VIATRA Query engine. - * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. - * - * @param engine the existing VIATRA Query engine in which this matcher will be created. - * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation - * - */ - public static Inv47.Matcher on(final ViatraQueryEngine engine) { - // check if matcher already exists - Matcher matcher = engine.getExistingMatcher(querySpecification()); - if (matcher == null) { - matcher = (Matcher)engine.getMatcher(querySpecification()); - } - return matcher; - } - - /** - * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation - * @return an initialized matcher - * @noreference This method is for internal matcher initialization by the framework, do not call it manually. - * - */ - public static Inv47.Matcher create() { - return new Matcher(); - } - - private static final int POSITION_LUR = 0; - - private static final Logger LOGGER = ViatraQueryLoggingUtil.getLogger(Inv47.Matcher.class); - - /** - * Initializes the pattern matcher within an existing VIATRA Query engine. - * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. - * - * @param engine the existing VIATRA Query engine in which this matcher will be created. - * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation - * - */ - private Matcher() { - super(querySpecification()); - } - - /** - * Returns the set of all matches of the pattern that conform to the given fixed values of some parameters. - * @param pLur the fixed value of pattern parameter lur, or null if not bound. - * @return matches represented as a Match object. - * - */ - public Collection getAllMatches(final Legal_Union_Record pLur) { - return rawStreamAllMatches(new Object[]{pLur}).collect(Collectors.toSet()); - } - - /** - * Returns a stream of all matches of the pattern that conform to the given fixed values of some parameters. - *

    - * NOTE: It is important not to modify the source model while the stream is being processed. - * If the match set of the pattern changes during processing, the contents of the stream is undefined. - * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. - * @param pLur the fixed value of pattern parameter lur, or null if not bound. - * @return a stream of matches represented as a Match object. - * - */ - public Stream streamAllMatches(final Legal_Union_Record pLur) { - return rawStreamAllMatches(new Object[]{pLur}); - } - - /** - * Returns an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. - * Neither determinism nor randomness of selection is guaranteed. - * @param pLur the fixed value of pattern parameter lur, or null if not bound. - * @return a match represented as a Match object, or null if no match is found. - * - */ - public Optional getOneArbitraryMatch(final Legal_Union_Record pLur) { - return rawGetOneArbitraryMatch(new Object[]{pLur}); - } - - /** - * Indicates whether the given combination of specified pattern parameters constitute a valid pattern match, - * under any possible substitution of the unspecified parameters (if any). - * @param pLur the fixed value of pattern parameter lur, or null if not bound. - * @return true if the input is a valid (partial) match of the pattern. - * - */ - public boolean hasMatch(final Legal_Union_Record pLur) { - return rawHasMatch(new Object[]{pLur}); - } - - /** - * Returns the number of all matches of the pattern that conform to the given fixed values of some parameters. - * @param pLur the fixed value of pattern parameter lur, or null if not bound. - * @return the number of pattern matches found. - * - */ - public int countMatches(final Legal_Union_Record pLur) { - return rawCountMatches(new Object[]{pLur}); - } - - /** - * Executes the given processor on an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. - * Neither determinism nor randomness of selection is guaranteed. - * @param pLur the fixed value of pattern parameter lur, or null if not bound. - * @param processor the action that will process the selected match. - * @return true if the pattern has at least one match with the given parameter values, false if the processor was not invoked - * - */ - public boolean forOneArbitraryMatch(final Legal_Union_Record pLur, final Consumer processor) { - return rawForOneArbitraryMatch(new Object[]{pLur}, processor); - } - - /** - * Returns a new (partial) match. - * This can be used e.g. to call the matcher with a partial match. - *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. - * @param pLur the fixed value of pattern parameter lur, or null if not bound. - * @return the (partial) match object. - * - */ - public Inv47.Match newMatch(final Legal_Union_Record pLur) { - return Inv47.Match.newMatch(pLur); - } - - /** - * Retrieve the set of values that occur in matches for lur. - * @return the Set of all values or empty set if there are no matches - * - */ - protected Stream rawStreamAllValuesOflur(final Object[] parameters) { - return rawStreamAllValues(POSITION_LUR, parameters).map(Legal_Union_Record.class::cast); - } - - /** - * Retrieve the set of values that occur in matches for lur. - * @return the Set of all values or empty set if there are no matches - * - */ - public Set getAllValuesOflur() { - return rawStreamAllValuesOflur(emptyArray()).collect(Collectors.toSet()); - } - - /** - * Retrieve the set of values that occur in matches for lur. - * @return the Set of all values or empty set if there are no matches - * - */ - public Stream streamAllValuesOflur() { - return rawStreamAllValuesOflur(emptyArray()); - } - - @Override - protected Inv47.Match tupleToMatch(final Tuple t) { - try { - return Inv47.Match.newMatch((Legal_Union_Record) t.get(POSITION_LUR)); - } catch(ClassCastException e) { - LOGGER.error("Element(s) in tuple not properly typed!",e); - return null; - } - } - - @Override - protected Inv47.Match arrayToMatch(final Object[] match) { - try { - return Inv47.Match.newMatch((Legal_Union_Record) match[POSITION_LUR]); - } catch(ClassCastException e) { - LOGGER.error("Element(s) in array not properly typed!",e); - return null; - } - } - - @Override - protected Inv47.Match arrayToMatchMutable(final Object[] match) { - try { - return Inv47.Match.newMutableMatch((Legal_Union_Record) match[POSITION_LUR]); - } catch(ClassCastException e) { - LOGGER.error("Element(s) in array not properly typed!",e); - return null; - } - } - - /** - * @return the singleton instance of the query specification of this pattern - * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded - * - */ - public static IQuerySpecification querySpecification() { - return Inv47.instance(); - } - } - - private Inv47() { - super(GeneratedPQuery.INSTANCE); - } - - /** - * @return the singleton instance of the query specification - * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded - * - */ - public static Inv47 instance() { - try{ - return LazyHolder.INSTANCE; - } catch (ExceptionInInitializerError err) { - throw processInitializerError(err); - } - } - - @Override - protected Inv47.Matcher instantiate(final ViatraQueryEngine engine) { - return Inv47.Matcher.on(engine); - } - - @Override - public Inv47.Matcher instantiate() { - return Inv47.Matcher.create(); - } - - @Override - public Inv47.Match newEmptyMatch() { - return Inv47.Match.newEmptyMatch(); - } - - @Override - public Inv47.Match newMatch(final Object... parameters) { - return Inv47.Match.newMatch((Taxation.Legal_Union_Record) parameters[0]); - } - - /** - * Inner class allowing the singleton instance of {@link Inv47} to be created - * not at the class load time of the outer class, - * but rather at the first call to {@link Inv47#instance()}. - * - *

    This workaround is required e.g. to support recursion. - * - */ - private static class LazyHolder { - private static final Inv47 INSTANCE = new Inv47(); - - /** - * Statically initializes the query specification after the field {@link #INSTANCE} is assigned. - * This initialization order is required to support indirect recursion. - * - *

    The static initializer is defined using a helper field to work around limitations of the code generator. - * - */ - private static final Object STATIC_INITIALIZER = ensureInitialized(); - - public static Object ensureInitialized() { - INSTANCE.ensureInitializedInternal(); - return null; - } - } - - private static class GeneratedPQuery extends BaseGeneratedEMFPQuery { - private static final Inv47.GeneratedPQuery INSTANCE = new GeneratedPQuery(); - - private final PParameter parameter_lur = new PParameter("lur", "Taxation.Legal_Union_Record", new EClassTransitiveInstancesKey((EClass)getClassifierLiteralSafe("http:///TaxCard.ecore", "Legal_Union_Record")), PParameterDirection.INOUT); - - private final List parameters = Arrays.asList(parameter_lur); - - private GeneratedPQuery() { - super(PVisibility.PUBLIC); - } - - @Override - public String getFullyQualifiedName() { - return "queries.inv47"; - } - - @Override - public List getParameterNames() { - return Arrays.asList("lur"); - } - - @Override - public List getParameters() { - return parameters; - } - - @Override - public Set doGetContainedBodies() { - setEvaluationHints(new QueryEvaluationHint(null, QueryEvaluationHint.BackendRequirement.UNSPECIFIED)); - Set bodies = new LinkedHashSet<>(); - { - PBody body = new PBody(this); - PVariable var_lur = body.getOrCreateVariableByName("lur"); - PVariable var_endY = body.getOrCreateVariableByName("endY"); - PVariable var_startY = body.getOrCreateVariableByName("startY"); - new TypeConstraint(body, Tuples.flatTupleOf(var_lur), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Legal_Union_Record"))); - body.setSymbolicParameters(Arrays.asList( - new ExportedParameter(body, var_lur, parameter_lur) - )); - // Legal_Union_Record.end_year(lur, endY) - new TypeConstraint(body, Tuples.flatTupleOf(var_lur), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Legal_Union_Record"))); - PVariable var__virtual_0_ = body.getOrCreateVariableByName(".virtual{0}"); - new TypeConstraint(body, Tuples.flatTupleOf(var_lur, var__virtual_0_), new EStructuralFeatureInstancesKey(getFeatureLiteral("http:///TaxCard.ecore", "Legal_Union_Record", "end_year"))); - new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_0_), new EDataTypeInSlotsKey((EDataType)getClassifierLiteral("http://www.eclipse.org/emf/2002/Ecore", "EInt"))); - new Equality(body, var__virtual_0_, var_endY); - // Legal_Union_Record.start_year(lur, startY) - new TypeConstraint(body, Tuples.flatTupleOf(var_lur), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Legal_Union_Record"))); - PVariable var__virtual_1_ = body.getOrCreateVariableByName(".virtual{1}"); - new TypeConstraint(body, Tuples.flatTupleOf(var_lur, var__virtual_1_), new EStructuralFeatureInstancesKey(getFeatureLiteral("http:///TaxCard.ecore", "Legal_Union_Record", "start_year"))); - new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_1_), new EDataTypeInSlotsKey((EDataType)getClassifierLiteral("http://www.eclipse.org/emf/2002/Ecore", "EInt"))); - new Equality(body, var__virtual_1_, var_startY); - // neg find x_inv47(lur) - new NegativePatternCall(body, Tuples.flatTupleOf(var_lur), X_inv47.instance().getInternalQueryRepresentation()); - // check(startY >= endY) - new ExpressionEvaluation(body, new IExpressionEvaluator() { - - @Override - public String getShortDescription() { - return "Expression evaluation from pattern inv47"; - } - - @Override - public Iterable getInputParameterNames() { - return Arrays.asList("endY", "startY");} - - @Override - public Object evaluateExpression(IValueProvider provider) throws Exception { - Integer endY = (Integer) provider.getValue("endY"); - Integer startY = (Integer) provider.getValue("startY"); - return evaluateExpression_1_1(endY, startY); - } - }, null); - bodies.add(body); - } - { - PAnnotation annotation = new PAnnotation("Constraint"); - annotation.addAttribute("message", "inv47"); - annotation.addAttribute("severity", "error"); - annotation.addAttribute("key", Arrays.asList(new Object[] { - new ParameterReference("lur") - })); - addAnnotation(annotation); - } - return bodies; - } - } - - private static boolean evaluateExpression_1_1(final Integer endY, final Integer startY) { - boolean _greaterEqualsThan = (startY.compareTo(endY) >= 0); - return _greaterEqualsThan; - } -} diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/Inv48.java b/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/Inv48.java deleted file mode 100644 index 67133328..00000000 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/Inv48.java +++ /dev/null @@ -1,566 +0,0 @@ -/** - * Generated from platform:/resource/case.study.pledge.run/src/queries/case_study_A.vql - */ -package queries; - -import Taxation.Physical_Person; -import java.util.Arrays; -import java.util.Collection; -import java.util.LinkedHashSet; -import java.util.List; -import java.util.Objects; -import java.util.Optional; -import java.util.Set; -import java.util.function.Consumer; -import java.util.stream.Collectors; -import java.util.stream.Stream; -import org.apache.log4j.Logger; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.viatra.query.runtime.api.IPatternMatch; -import org.eclipse.viatra.query.runtime.api.IQuerySpecification; -import org.eclipse.viatra.query.runtime.api.ViatraQueryEngine; -import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFPQuery; -import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFQuerySpecification; -import org.eclipse.viatra.query.runtime.api.impl.BaseMatcher; -import org.eclipse.viatra.query.runtime.api.impl.BasePatternMatch; -import org.eclipse.viatra.query.runtime.emf.types.EClassTransitiveInstancesKey; -import org.eclipse.viatra.query.runtime.matchers.backend.QueryEvaluationHint; -import org.eclipse.viatra.query.runtime.matchers.psystem.PBody; -import org.eclipse.viatra.query.runtime.matchers.psystem.PVariable; -import org.eclipse.viatra.query.runtime.matchers.psystem.annotations.PAnnotation; -import org.eclipse.viatra.query.runtime.matchers.psystem.annotations.ParameterReference; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.ExportedParameter; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.NegativePatternCall; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicenumerables.TypeConstraint; -import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameter; -import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameterDirection; -import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PVisibility; -import org.eclipse.viatra.query.runtime.matchers.tuple.Tuple; -import org.eclipse.viatra.query.runtime.matchers.tuple.Tuples; -import org.eclipse.viatra.query.runtime.util.ViatraQueryLoggingUtil; -import queries.X_inv48_Dis; -import queries.X_inv48_notDis; - -/** - * A pattern-specific query specification that can instantiate Matcher in a type-safe way. - * - *

    Original source: - *

    - *         //inv48-attributes-handled by multiplicity
    - *         {@literal @}Constraint(message = "inv48", severity = "error", key = {p})
    - *         pattern inv48(p : Physical_Person) {
    - *         	neg find x_inv48_notDis(p);
    - *         	neg find x_inv48_Dis(p);
    - *         }
    - * 
    - * - * @see Matcher - * @see Match - * - */ -@SuppressWarnings("all") -public final class Inv48 extends BaseGeneratedEMFQuerySpecification { - /** - * Pattern-specific match representation of the queries.inv48 pattern, - * to be used in conjunction with {@link Matcher}. - * - *

    Class fields correspond to parameters of the pattern. Fields with value null are considered unassigned. - * Each instance is a (possibly partial) substitution of pattern parameters, - * usable to represent a match of the pattern in the result of a query, - * or to specify the bound (fixed) input parameters when issuing a query. - * - * @see Matcher - * - */ - public static abstract class Match extends BasePatternMatch { - private Physical_Person fP; - - private static List parameterNames = makeImmutableList("p"); - - private Match(final Physical_Person pP) { - this.fP = pP; - } - - @Override - public Object get(final String parameterName) { - switch(parameterName) { - case "p": return this.fP; - default: return null; - } - } - - @Override - public Object get(final int index) { - switch(index) { - case 0: return this.fP; - default: return null; - } - } - - public Physical_Person getP() { - return this.fP; - } - - @Override - public boolean set(final String parameterName, final Object newValue) { - if (!isMutable()) throw new java.lang.UnsupportedOperationException(); - if ("p".equals(parameterName) ) { - this.fP = (Physical_Person) newValue; - return true; - } - return false; - } - - public void setP(final Physical_Person pP) { - if (!isMutable()) throw new java.lang.UnsupportedOperationException(); - this.fP = pP; - } - - @Override - public String patternName() { - return "queries.inv48"; - } - - @Override - public List parameterNames() { - return Inv48.Match.parameterNames; - } - - @Override - public Object[] toArray() { - return new Object[]{fP}; - } - - @Override - public Inv48.Match toImmutable() { - return isMutable() ? newMatch(fP) : this; - } - - @Override - public String prettyPrint() { - StringBuilder result = new StringBuilder(); - result.append("\"p\"=" + prettyPrintValue(fP)); - return result.toString(); - } - - @Override - public int hashCode() { - return Objects.hash(fP); - } - - @Override - public boolean equals(final Object obj) { - if (this == obj) - return true; - if (obj == null) { - return false; - } - if ((obj instanceof Inv48.Match)) { - Inv48.Match other = (Inv48.Match) obj; - return Objects.equals(fP, other.fP); - } else { - // this should be infrequent - if (!(obj instanceof IPatternMatch)) { - return false; - } - IPatternMatch otherSig = (IPatternMatch) obj; - return Objects.equals(specification(), otherSig.specification()) && Arrays.deepEquals(toArray(), otherSig.toArray()); - } - } - - @Override - public Inv48 specification() { - return Inv48.instance(); - } - - /** - * Returns an empty, mutable match. - * Fields of the mutable match can be filled to create a partial match, usable as matcher input. - * - * @return the empty match. - * - */ - public static Inv48.Match newEmptyMatch() { - return new Mutable(null); - } - - /** - * Returns a mutable (partial) match. - * Fields of the mutable match can be filled to create a partial match, usable as matcher input. - * - * @param pP the fixed value of pattern parameter p, or null if not bound. - * @return the new, mutable (partial) match object. - * - */ - public static Inv48.Match newMutableMatch(final Physical_Person pP) { - return new Mutable(pP); - } - - /** - * Returns a new (partial) match. - * This can be used e.g. to call the matcher with a partial match. - *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. - * @param pP the fixed value of pattern parameter p, or null if not bound. - * @return the (partial) match object. - * - */ - public static Inv48.Match newMatch(final Physical_Person pP) { - return new Immutable(pP); - } - - private static final class Mutable extends Inv48.Match { - Mutable(final Physical_Person pP) { - super(pP); - } - - @Override - public boolean isMutable() { - return true; - } - } - - private static final class Immutable extends Inv48.Match { - Immutable(final Physical_Person pP) { - super(pP); - } - - @Override - public boolean isMutable() { - return false; - } - } - } - - /** - * Generated pattern matcher API of the queries.inv48 pattern, - * providing pattern-specific query methods. - * - *

    Use the pattern matcher on a given model via {@link #on(ViatraQueryEngine)}, - * e.g. in conjunction with {@link ViatraQueryEngine#on(QueryScope)}. - * - *

    Matches of the pattern will be represented as {@link Match}. - * - *

    Original source: - *

    -   * //inv48-attributes-handled by multiplicity
    -   * {@literal @}Constraint(message = "inv48", severity = "error", key = {p})
    -   * pattern inv48(p : Physical_Person) {
    -   * 	neg find x_inv48_notDis(p);
    -   * 	neg find x_inv48_Dis(p);
    -   * }
    -   * 
    - * - * @see Match - * @see Inv48 - * - */ - public static class Matcher extends BaseMatcher { - /** - * Initializes the pattern matcher within an existing VIATRA Query engine. - * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. - * - * @param engine the existing VIATRA Query engine in which this matcher will be created. - * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation - * - */ - public static Inv48.Matcher on(final ViatraQueryEngine engine) { - // check if matcher already exists - Matcher matcher = engine.getExistingMatcher(querySpecification()); - if (matcher == null) { - matcher = (Matcher)engine.getMatcher(querySpecification()); - } - return matcher; - } - - /** - * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation - * @return an initialized matcher - * @noreference This method is for internal matcher initialization by the framework, do not call it manually. - * - */ - public static Inv48.Matcher create() { - return new Matcher(); - } - - private static final int POSITION_P = 0; - - private static final Logger LOGGER = ViatraQueryLoggingUtil.getLogger(Inv48.Matcher.class); - - /** - * Initializes the pattern matcher within an existing VIATRA Query engine. - * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. - * - * @param engine the existing VIATRA Query engine in which this matcher will be created. - * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation - * - */ - private Matcher() { - super(querySpecification()); - } - - /** - * Returns the set of all matches of the pattern that conform to the given fixed values of some parameters. - * @param pP the fixed value of pattern parameter p, or null if not bound. - * @return matches represented as a Match object. - * - */ - public Collection getAllMatches(final Physical_Person pP) { - return rawStreamAllMatches(new Object[]{pP}).collect(Collectors.toSet()); - } - - /** - * Returns a stream of all matches of the pattern that conform to the given fixed values of some parameters. - *

    - * NOTE: It is important not to modify the source model while the stream is being processed. - * If the match set of the pattern changes during processing, the contents of the stream is undefined. - * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. - * @param pP the fixed value of pattern parameter p, or null if not bound. - * @return a stream of matches represented as a Match object. - * - */ - public Stream streamAllMatches(final Physical_Person pP) { - return rawStreamAllMatches(new Object[]{pP}); - } - - /** - * Returns an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. - * Neither determinism nor randomness of selection is guaranteed. - * @param pP the fixed value of pattern parameter p, or null if not bound. - * @return a match represented as a Match object, or null if no match is found. - * - */ - public Optional getOneArbitraryMatch(final Physical_Person pP) { - return rawGetOneArbitraryMatch(new Object[]{pP}); - } - - /** - * Indicates whether the given combination of specified pattern parameters constitute a valid pattern match, - * under any possible substitution of the unspecified parameters (if any). - * @param pP the fixed value of pattern parameter p, or null if not bound. - * @return true if the input is a valid (partial) match of the pattern. - * - */ - public boolean hasMatch(final Physical_Person pP) { - return rawHasMatch(new Object[]{pP}); - } - - /** - * Returns the number of all matches of the pattern that conform to the given fixed values of some parameters. - * @param pP the fixed value of pattern parameter p, or null if not bound. - * @return the number of pattern matches found. - * - */ - public int countMatches(final Physical_Person pP) { - return rawCountMatches(new Object[]{pP}); - } - - /** - * Executes the given processor on an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. - * Neither determinism nor randomness of selection is guaranteed. - * @param pP the fixed value of pattern parameter p, or null if not bound. - * @param processor the action that will process the selected match. - * @return true if the pattern has at least one match with the given parameter values, false if the processor was not invoked - * - */ - public boolean forOneArbitraryMatch(final Physical_Person pP, final Consumer processor) { - return rawForOneArbitraryMatch(new Object[]{pP}, processor); - } - - /** - * Returns a new (partial) match. - * This can be used e.g. to call the matcher with a partial match. - *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. - * @param pP the fixed value of pattern parameter p, or null if not bound. - * @return the (partial) match object. - * - */ - public Inv48.Match newMatch(final Physical_Person pP) { - return Inv48.Match.newMatch(pP); - } - - /** - * Retrieve the set of values that occur in matches for p. - * @return the Set of all values or empty set if there are no matches - * - */ - protected Stream rawStreamAllValuesOfp(final Object[] parameters) { - return rawStreamAllValues(POSITION_P, parameters).map(Physical_Person.class::cast); - } - - /** - * Retrieve the set of values that occur in matches for p. - * @return the Set of all values or empty set if there are no matches - * - */ - public Set getAllValuesOfp() { - return rawStreamAllValuesOfp(emptyArray()).collect(Collectors.toSet()); - } - - /** - * Retrieve the set of values that occur in matches for p. - * @return the Set of all values or empty set if there are no matches - * - */ - public Stream streamAllValuesOfp() { - return rawStreamAllValuesOfp(emptyArray()); - } - - @Override - protected Inv48.Match tupleToMatch(final Tuple t) { - try { - return Inv48.Match.newMatch((Physical_Person) t.get(POSITION_P)); - } catch(ClassCastException e) { - LOGGER.error("Element(s) in tuple not properly typed!",e); - return null; - } - } - - @Override - protected Inv48.Match arrayToMatch(final Object[] match) { - try { - return Inv48.Match.newMatch((Physical_Person) match[POSITION_P]); - } catch(ClassCastException e) { - LOGGER.error("Element(s) in array not properly typed!",e); - return null; - } - } - - @Override - protected Inv48.Match arrayToMatchMutable(final Object[] match) { - try { - return Inv48.Match.newMutableMatch((Physical_Person) match[POSITION_P]); - } catch(ClassCastException e) { - LOGGER.error("Element(s) in array not properly typed!",e); - return null; - } - } - - /** - * @return the singleton instance of the query specification of this pattern - * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded - * - */ - public static IQuerySpecification querySpecification() { - return Inv48.instance(); - } - } - - private Inv48() { - super(GeneratedPQuery.INSTANCE); - } - - /** - * @return the singleton instance of the query specification - * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded - * - */ - public static Inv48 instance() { - try{ - return LazyHolder.INSTANCE; - } catch (ExceptionInInitializerError err) { - throw processInitializerError(err); - } - } - - @Override - protected Inv48.Matcher instantiate(final ViatraQueryEngine engine) { - return Inv48.Matcher.on(engine); - } - - @Override - public Inv48.Matcher instantiate() { - return Inv48.Matcher.create(); - } - - @Override - public Inv48.Match newEmptyMatch() { - return Inv48.Match.newEmptyMatch(); - } - - @Override - public Inv48.Match newMatch(final Object... parameters) { - return Inv48.Match.newMatch((Taxation.Physical_Person) parameters[0]); - } - - /** - * Inner class allowing the singleton instance of {@link Inv48} to be created - * not at the class load time of the outer class, - * but rather at the first call to {@link Inv48#instance()}. - * - *

    This workaround is required e.g. to support recursion. - * - */ - private static class LazyHolder { - private static final Inv48 INSTANCE = new Inv48(); - - /** - * Statically initializes the query specification after the field {@link #INSTANCE} is assigned. - * This initialization order is required to support indirect recursion. - * - *

    The static initializer is defined using a helper field to work around limitations of the code generator. - * - */ - private static final Object STATIC_INITIALIZER = ensureInitialized(); - - public static Object ensureInitialized() { - INSTANCE.ensureInitializedInternal(); - return null; - } - } - - private static class GeneratedPQuery extends BaseGeneratedEMFPQuery { - private static final Inv48.GeneratedPQuery INSTANCE = new GeneratedPQuery(); - - private final PParameter parameter_p = new PParameter("p", "Taxation.Physical_Person", new EClassTransitiveInstancesKey((EClass)getClassifierLiteralSafe("http:///TaxCard.ecore", "Physical_Person")), PParameterDirection.INOUT); - - private final List parameters = Arrays.asList(parameter_p); - - private GeneratedPQuery() { - super(PVisibility.PUBLIC); - } - - @Override - public String getFullyQualifiedName() { - return "queries.inv48"; - } - - @Override - public List getParameterNames() { - return Arrays.asList("p"); - } - - @Override - public List getParameters() { - return parameters; - } - - @Override - public Set doGetContainedBodies() { - setEvaluationHints(new QueryEvaluationHint(null, QueryEvaluationHint.BackendRequirement.UNSPECIFIED)); - Set bodies = new LinkedHashSet<>(); - { - PBody body = new PBody(this); - PVariable var_p = body.getOrCreateVariableByName("p"); - new TypeConstraint(body, Tuples.flatTupleOf(var_p), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Physical_Person"))); - body.setSymbolicParameters(Arrays.asList( - new ExportedParameter(body, var_p, parameter_p) - )); - // neg find x_inv48_notDis(p) - new NegativePatternCall(body, Tuples.flatTupleOf(var_p), X_inv48_notDis.instance().getInternalQueryRepresentation()); - // neg find x_inv48_Dis(p) - new NegativePatternCall(body, Tuples.flatTupleOf(var_p), X_inv48_Dis.instance().getInternalQueryRepresentation()); - bodies.add(body); - } - { - PAnnotation annotation = new PAnnotation("Constraint"); - annotation.addAttribute("message", "inv48"); - annotation.addAttribute("severity", "error"); - annotation.addAttribute("key", Arrays.asList(new Object[] { - new ParameterReference("p") - })); - addAnnotation(annotation); - } - return bodies; - } - } -} diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/Inv49.java b/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/Inv49.java deleted file mode 100644 index 66bca24a..00000000 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/Inv49.java +++ /dev/null @@ -1,561 +0,0 @@ -/** - * Generated from platform:/resource/case.study.pledge.run/src/queries/case_study_A.vql - */ -package queries; - -import Taxation.Legal_Union_Record; -import java.util.Arrays; -import java.util.Collection; -import java.util.LinkedHashSet; -import java.util.List; -import java.util.Objects; -import java.util.Optional; -import java.util.Set; -import java.util.function.Consumer; -import java.util.stream.Collectors; -import java.util.stream.Stream; -import org.apache.log4j.Logger; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.viatra.query.runtime.api.IPatternMatch; -import org.eclipse.viatra.query.runtime.api.IQuerySpecification; -import org.eclipse.viatra.query.runtime.api.ViatraQueryEngine; -import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFPQuery; -import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFQuerySpecification; -import org.eclipse.viatra.query.runtime.api.impl.BaseMatcher; -import org.eclipse.viatra.query.runtime.api.impl.BasePatternMatch; -import org.eclipse.viatra.query.runtime.emf.types.EClassTransitiveInstancesKey; -import org.eclipse.viatra.query.runtime.matchers.backend.QueryEvaluationHint; -import org.eclipse.viatra.query.runtime.matchers.psystem.PBody; -import org.eclipse.viatra.query.runtime.matchers.psystem.PVariable; -import org.eclipse.viatra.query.runtime.matchers.psystem.annotations.PAnnotation; -import org.eclipse.viatra.query.runtime.matchers.psystem.annotations.ParameterReference; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.ExportedParameter; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.NegativePatternCall; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicenumerables.TypeConstraint; -import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameter; -import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameterDirection; -import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PVisibility; -import org.eclipse.viatra.query.runtime.matchers.tuple.Tuple; -import org.eclipse.viatra.query.runtime.matchers.tuple.Tuples; -import org.eclipse.viatra.query.runtime.util.ViatraQueryLoggingUtil; -import queries.X_inv49_1; - -/** - * A pattern-specific query specification that can instantiate Matcher in a type-safe way. - * - *

    Original source: - *

    - *         //inv49-OclKindOf-handled by multiplicity
    - *         {@literal @}Constraint(message = "inv49", severity = "error", key = {lur})
    - *         pattern inv49(lur : Legal_Union_Record) {
    - *             neg find x_inv49_1(lur);
    - *         }
    - * 
    - * - * @see Matcher - * @see Match - * - */ -@SuppressWarnings("all") -public final class Inv49 extends BaseGeneratedEMFQuerySpecification { - /** - * Pattern-specific match representation of the queries.inv49 pattern, - * to be used in conjunction with {@link Matcher}. - * - *

    Class fields correspond to parameters of the pattern. Fields with value null are considered unassigned. - * Each instance is a (possibly partial) substitution of pattern parameters, - * usable to represent a match of the pattern in the result of a query, - * or to specify the bound (fixed) input parameters when issuing a query. - * - * @see Matcher - * - */ - public static abstract class Match extends BasePatternMatch { - private Legal_Union_Record fLur; - - private static List parameterNames = makeImmutableList("lur"); - - private Match(final Legal_Union_Record pLur) { - this.fLur = pLur; - } - - @Override - public Object get(final String parameterName) { - switch(parameterName) { - case "lur": return this.fLur; - default: return null; - } - } - - @Override - public Object get(final int index) { - switch(index) { - case 0: return this.fLur; - default: return null; - } - } - - public Legal_Union_Record getLur() { - return this.fLur; - } - - @Override - public boolean set(final String parameterName, final Object newValue) { - if (!isMutable()) throw new java.lang.UnsupportedOperationException(); - if ("lur".equals(parameterName) ) { - this.fLur = (Legal_Union_Record) newValue; - return true; - } - return false; - } - - public void setLur(final Legal_Union_Record pLur) { - if (!isMutable()) throw new java.lang.UnsupportedOperationException(); - this.fLur = pLur; - } - - @Override - public String patternName() { - return "queries.inv49"; - } - - @Override - public List parameterNames() { - return Inv49.Match.parameterNames; - } - - @Override - public Object[] toArray() { - return new Object[]{fLur}; - } - - @Override - public Inv49.Match toImmutable() { - return isMutable() ? newMatch(fLur) : this; - } - - @Override - public String prettyPrint() { - StringBuilder result = new StringBuilder(); - result.append("\"lur\"=" + prettyPrintValue(fLur)); - return result.toString(); - } - - @Override - public int hashCode() { - return Objects.hash(fLur); - } - - @Override - public boolean equals(final Object obj) { - if (this == obj) - return true; - if (obj == null) { - return false; - } - if ((obj instanceof Inv49.Match)) { - Inv49.Match other = (Inv49.Match) obj; - return Objects.equals(fLur, other.fLur); - } else { - // this should be infrequent - if (!(obj instanceof IPatternMatch)) { - return false; - } - IPatternMatch otherSig = (IPatternMatch) obj; - return Objects.equals(specification(), otherSig.specification()) && Arrays.deepEquals(toArray(), otherSig.toArray()); - } - } - - @Override - public Inv49 specification() { - return Inv49.instance(); - } - - /** - * Returns an empty, mutable match. - * Fields of the mutable match can be filled to create a partial match, usable as matcher input. - * - * @return the empty match. - * - */ - public static Inv49.Match newEmptyMatch() { - return new Mutable(null); - } - - /** - * Returns a mutable (partial) match. - * Fields of the mutable match can be filled to create a partial match, usable as matcher input. - * - * @param pLur the fixed value of pattern parameter lur, or null if not bound. - * @return the new, mutable (partial) match object. - * - */ - public static Inv49.Match newMutableMatch(final Legal_Union_Record pLur) { - return new Mutable(pLur); - } - - /** - * Returns a new (partial) match. - * This can be used e.g. to call the matcher with a partial match. - *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. - * @param pLur the fixed value of pattern parameter lur, or null if not bound. - * @return the (partial) match object. - * - */ - public static Inv49.Match newMatch(final Legal_Union_Record pLur) { - return new Immutable(pLur); - } - - private static final class Mutable extends Inv49.Match { - Mutable(final Legal_Union_Record pLur) { - super(pLur); - } - - @Override - public boolean isMutable() { - return true; - } - } - - private static final class Immutable extends Inv49.Match { - Immutable(final Legal_Union_Record pLur) { - super(pLur); - } - - @Override - public boolean isMutable() { - return false; - } - } - } - - /** - * Generated pattern matcher API of the queries.inv49 pattern, - * providing pattern-specific query methods. - * - *

    Use the pattern matcher on a given model via {@link #on(ViatraQueryEngine)}, - * e.g. in conjunction with {@link ViatraQueryEngine#on(QueryScope)}. - * - *

    Matches of the pattern will be represented as {@link Match}. - * - *

    Original source: - *

    -   * //inv49-OclKindOf-handled by multiplicity
    -   * {@literal @}Constraint(message = "inv49", severity = "error", key = {lur})
    -   * pattern inv49(lur : Legal_Union_Record) {
    -   *     neg find x_inv49_1(lur);
    -   * }
    -   * 
    - * - * @see Match - * @see Inv49 - * - */ - public static class Matcher extends BaseMatcher { - /** - * Initializes the pattern matcher within an existing VIATRA Query engine. - * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. - * - * @param engine the existing VIATRA Query engine in which this matcher will be created. - * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation - * - */ - public static Inv49.Matcher on(final ViatraQueryEngine engine) { - // check if matcher already exists - Matcher matcher = engine.getExistingMatcher(querySpecification()); - if (matcher == null) { - matcher = (Matcher)engine.getMatcher(querySpecification()); - } - return matcher; - } - - /** - * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation - * @return an initialized matcher - * @noreference This method is for internal matcher initialization by the framework, do not call it manually. - * - */ - public static Inv49.Matcher create() { - return new Matcher(); - } - - private static final int POSITION_LUR = 0; - - private static final Logger LOGGER = ViatraQueryLoggingUtil.getLogger(Inv49.Matcher.class); - - /** - * Initializes the pattern matcher within an existing VIATRA Query engine. - * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. - * - * @param engine the existing VIATRA Query engine in which this matcher will be created. - * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation - * - */ - private Matcher() { - super(querySpecification()); - } - - /** - * Returns the set of all matches of the pattern that conform to the given fixed values of some parameters. - * @param pLur the fixed value of pattern parameter lur, or null if not bound. - * @return matches represented as a Match object. - * - */ - public Collection getAllMatches(final Legal_Union_Record pLur) { - return rawStreamAllMatches(new Object[]{pLur}).collect(Collectors.toSet()); - } - - /** - * Returns a stream of all matches of the pattern that conform to the given fixed values of some parameters. - *

    - * NOTE: It is important not to modify the source model while the stream is being processed. - * If the match set of the pattern changes during processing, the contents of the stream is undefined. - * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. - * @param pLur the fixed value of pattern parameter lur, or null if not bound. - * @return a stream of matches represented as a Match object. - * - */ - public Stream streamAllMatches(final Legal_Union_Record pLur) { - return rawStreamAllMatches(new Object[]{pLur}); - } - - /** - * Returns an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. - * Neither determinism nor randomness of selection is guaranteed. - * @param pLur the fixed value of pattern parameter lur, or null if not bound. - * @return a match represented as a Match object, or null if no match is found. - * - */ - public Optional getOneArbitraryMatch(final Legal_Union_Record pLur) { - return rawGetOneArbitraryMatch(new Object[]{pLur}); - } - - /** - * Indicates whether the given combination of specified pattern parameters constitute a valid pattern match, - * under any possible substitution of the unspecified parameters (if any). - * @param pLur the fixed value of pattern parameter lur, or null if not bound. - * @return true if the input is a valid (partial) match of the pattern. - * - */ - public boolean hasMatch(final Legal_Union_Record pLur) { - return rawHasMatch(new Object[]{pLur}); - } - - /** - * Returns the number of all matches of the pattern that conform to the given fixed values of some parameters. - * @param pLur the fixed value of pattern parameter lur, or null if not bound. - * @return the number of pattern matches found. - * - */ - public int countMatches(final Legal_Union_Record pLur) { - return rawCountMatches(new Object[]{pLur}); - } - - /** - * Executes the given processor on an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. - * Neither determinism nor randomness of selection is guaranteed. - * @param pLur the fixed value of pattern parameter lur, or null if not bound. - * @param processor the action that will process the selected match. - * @return true if the pattern has at least one match with the given parameter values, false if the processor was not invoked - * - */ - public boolean forOneArbitraryMatch(final Legal_Union_Record pLur, final Consumer processor) { - return rawForOneArbitraryMatch(new Object[]{pLur}, processor); - } - - /** - * Returns a new (partial) match. - * This can be used e.g. to call the matcher with a partial match. - *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. - * @param pLur the fixed value of pattern parameter lur, or null if not bound. - * @return the (partial) match object. - * - */ - public Inv49.Match newMatch(final Legal_Union_Record pLur) { - return Inv49.Match.newMatch(pLur); - } - - /** - * Retrieve the set of values that occur in matches for lur. - * @return the Set of all values or empty set if there are no matches - * - */ - protected Stream rawStreamAllValuesOflur(final Object[] parameters) { - return rawStreamAllValues(POSITION_LUR, parameters).map(Legal_Union_Record.class::cast); - } - - /** - * Retrieve the set of values that occur in matches for lur. - * @return the Set of all values or empty set if there are no matches - * - */ - public Set getAllValuesOflur() { - return rawStreamAllValuesOflur(emptyArray()).collect(Collectors.toSet()); - } - - /** - * Retrieve the set of values that occur in matches for lur. - * @return the Set of all values or empty set if there are no matches - * - */ - public Stream streamAllValuesOflur() { - return rawStreamAllValuesOflur(emptyArray()); - } - - @Override - protected Inv49.Match tupleToMatch(final Tuple t) { - try { - return Inv49.Match.newMatch((Legal_Union_Record) t.get(POSITION_LUR)); - } catch(ClassCastException e) { - LOGGER.error("Element(s) in tuple not properly typed!",e); - return null; - } - } - - @Override - protected Inv49.Match arrayToMatch(final Object[] match) { - try { - return Inv49.Match.newMatch((Legal_Union_Record) match[POSITION_LUR]); - } catch(ClassCastException e) { - LOGGER.error("Element(s) in array not properly typed!",e); - return null; - } - } - - @Override - protected Inv49.Match arrayToMatchMutable(final Object[] match) { - try { - return Inv49.Match.newMutableMatch((Legal_Union_Record) match[POSITION_LUR]); - } catch(ClassCastException e) { - LOGGER.error("Element(s) in array not properly typed!",e); - return null; - } - } - - /** - * @return the singleton instance of the query specification of this pattern - * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded - * - */ - public static IQuerySpecification querySpecification() { - return Inv49.instance(); - } - } - - private Inv49() { - super(GeneratedPQuery.INSTANCE); - } - - /** - * @return the singleton instance of the query specification - * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded - * - */ - public static Inv49 instance() { - try{ - return LazyHolder.INSTANCE; - } catch (ExceptionInInitializerError err) { - throw processInitializerError(err); - } - } - - @Override - protected Inv49.Matcher instantiate(final ViatraQueryEngine engine) { - return Inv49.Matcher.on(engine); - } - - @Override - public Inv49.Matcher instantiate() { - return Inv49.Matcher.create(); - } - - @Override - public Inv49.Match newEmptyMatch() { - return Inv49.Match.newEmptyMatch(); - } - - @Override - public Inv49.Match newMatch(final Object... parameters) { - return Inv49.Match.newMatch((Taxation.Legal_Union_Record) parameters[0]); - } - - /** - * Inner class allowing the singleton instance of {@link Inv49} to be created - * not at the class load time of the outer class, - * but rather at the first call to {@link Inv49#instance()}. - * - *

    This workaround is required e.g. to support recursion. - * - */ - private static class LazyHolder { - private static final Inv49 INSTANCE = new Inv49(); - - /** - * Statically initializes the query specification after the field {@link #INSTANCE} is assigned. - * This initialization order is required to support indirect recursion. - * - *

    The static initializer is defined using a helper field to work around limitations of the code generator. - * - */ - private static final Object STATIC_INITIALIZER = ensureInitialized(); - - public static Object ensureInitialized() { - INSTANCE.ensureInitializedInternal(); - return null; - } - } - - private static class GeneratedPQuery extends BaseGeneratedEMFPQuery { - private static final Inv49.GeneratedPQuery INSTANCE = new GeneratedPQuery(); - - private final PParameter parameter_lur = new PParameter("lur", "Taxation.Legal_Union_Record", new EClassTransitiveInstancesKey((EClass)getClassifierLiteralSafe("http:///TaxCard.ecore", "Legal_Union_Record")), PParameterDirection.INOUT); - - private final List parameters = Arrays.asList(parameter_lur); - - private GeneratedPQuery() { - super(PVisibility.PUBLIC); - } - - @Override - public String getFullyQualifiedName() { - return "queries.inv49"; - } - - @Override - public List getParameterNames() { - return Arrays.asList("lur"); - } - - @Override - public List getParameters() { - return parameters; - } - - @Override - public Set doGetContainedBodies() { - setEvaluationHints(new QueryEvaluationHint(null, QueryEvaluationHint.BackendRequirement.UNSPECIFIED)); - Set bodies = new LinkedHashSet<>(); - { - PBody body = new PBody(this); - PVariable var_lur = body.getOrCreateVariableByName("lur"); - new TypeConstraint(body, Tuples.flatTupleOf(var_lur), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Legal_Union_Record"))); - body.setSymbolicParameters(Arrays.asList( - new ExportedParameter(body, var_lur, parameter_lur) - )); - // neg find x_inv49_1(lur) - new NegativePatternCall(body, Tuples.flatTupleOf(var_lur), X_inv49_1.instance().getInternalQueryRepresentation()); - bodies.add(body); - } - { - PAnnotation annotation = new PAnnotation("Constraint"); - annotation.addAttribute("message", "inv49"); - annotation.addAttribute("severity", "error"); - annotation.addAttribute("key", Arrays.asList(new Object[] { - new ParameterReference("lur") - })); - addAnnotation(annotation); - } - return bodies; - } - } -} diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/X_inv03_eligAll.java b/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/X_inv03_eligAll.java deleted file mode 100644 index 0bfffe93..00000000 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/X_inv03_eligAll.java +++ /dev/null @@ -1,606 +0,0 @@ -/** - * Generated from platform:/resource/case.study.pledge.run/src/queries/case_study_A.vql - */ -package queries; - -import Taxation.Dependent; -import java.util.Arrays; -import java.util.Collection; -import java.util.LinkedHashSet; -import java.util.List; -import java.util.Objects; -import java.util.Optional; -import java.util.Set; -import java.util.function.Consumer; -import java.util.stream.Collectors; -import java.util.stream.Stream; -import org.apache.log4j.Logger; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EDataType; -import org.eclipse.viatra.query.runtime.api.IPatternMatch; -import org.eclipse.viatra.query.runtime.api.IQuerySpecification; -import org.eclipse.viatra.query.runtime.api.ViatraQueryEngine; -import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFPQuery; -import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFQuerySpecification; -import org.eclipse.viatra.query.runtime.api.impl.BaseMatcher; -import org.eclipse.viatra.query.runtime.api.impl.BasePatternMatch; -import org.eclipse.viatra.query.runtime.emf.types.EClassTransitiveInstancesKey; -import org.eclipse.viatra.query.runtime.emf.types.EDataTypeInSlotsKey; -import org.eclipse.viatra.query.runtime.emf.types.EStructuralFeatureInstancesKey; -import org.eclipse.viatra.query.runtime.matchers.backend.QueryEvaluationHint; -import org.eclipse.viatra.query.runtime.matchers.psystem.IExpressionEvaluator; -import org.eclipse.viatra.query.runtime.matchers.psystem.IValueProvider; -import org.eclipse.viatra.query.runtime.matchers.psystem.PBody; -import org.eclipse.viatra.query.runtime.matchers.psystem.PVariable; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.Equality; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.ExportedParameter; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.ExpressionEvaluation; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicenumerables.ConstantValue; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicenumerables.TypeConstraint; -import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameter; -import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameterDirection; -import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PVisibility; -import org.eclipse.viatra.query.runtime.matchers.tuple.Tuple; -import org.eclipse.viatra.query.runtime.matchers.tuple.Tuples; -import org.eclipse.viatra.query.runtime.util.ViatraQueryLoggingUtil; - -/** - * A pattern-specific query specification that can instantiate Matcher in a type-safe way. - * - *

    Original source: - *

    - *         pattern x_inv03_eligAll(dep : Dependent) {
    - *             Dependent.birth_year(dep, by);
    - *             check(2018-by {@literal <}= 21);
    - *         } or {
    - *         	Dependent.continued_studies(dep, true);
    - *         }
    - * 
    - * - * @see Matcher - * @see Match - * - */ -@SuppressWarnings("all") -public final class X_inv03_eligAll extends BaseGeneratedEMFQuerySpecification { - /** - * Pattern-specific match representation of the queries.x_inv03_eligAll pattern, - * to be used in conjunction with {@link Matcher}. - * - *

    Class fields correspond to parameters of the pattern. Fields with value null are considered unassigned. - * Each instance is a (possibly partial) substitution of pattern parameters, - * usable to represent a match of the pattern in the result of a query, - * or to specify the bound (fixed) input parameters when issuing a query. - * - * @see Matcher - * - */ - public static abstract class Match extends BasePatternMatch { - private Dependent fDep; - - private static List parameterNames = makeImmutableList("dep"); - - private Match(final Dependent pDep) { - this.fDep = pDep; - } - - @Override - public Object get(final String parameterName) { - switch(parameterName) { - case "dep": return this.fDep; - default: return null; - } - } - - @Override - public Object get(final int index) { - switch(index) { - case 0: return this.fDep; - default: return null; - } - } - - public Dependent getDep() { - return this.fDep; - } - - @Override - public boolean set(final String parameterName, final Object newValue) { - if (!isMutable()) throw new java.lang.UnsupportedOperationException(); - if ("dep".equals(parameterName) ) { - this.fDep = (Dependent) newValue; - return true; - } - return false; - } - - public void setDep(final Dependent pDep) { - if (!isMutable()) throw new java.lang.UnsupportedOperationException(); - this.fDep = pDep; - } - - @Override - public String patternName() { - return "queries.x_inv03_eligAll"; - } - - @Override - public List parameterNames() { - return X_inv03_eligAll.Match.parameterNames; - } - - @Override - public Object[] toArray() { - return new Object[]{fDep}; - } - - @Override - public X_inv03_eligAll.Match toImmutable() { - return isMutable() ? newMatch(fDep) : this; - } - - @Override - public String prettyPrint() { - StringBuilder result = new StringBuilder(); - result.append("\"dep\"=" + prettyPrintValue(fDep)); - return result.toString(); - } - - @Override - public int hashCode() { - return Objects.hash(fDep); - } - - @Override - public boolean equals(final Object obj) { - if (this == obj) - return true; - if (obj == null) { - return false; - } - if ((obj instanceof X_inv03_eligAll.Match)) { - X_inv03_eligAll.Match other = (X_inv03_eligAll.Match) obj; - return Objects.equals(fDep, other.fDep); - } else { - // this should be infrequent - if (!(obj instanceof IPatternMatch)) { - return false; - } - IPatternMatch otherSig = (IPatternMatch) obj; - return Objects.equals(specification(), otherSig.specification()) && Arrays.deepEquals(toArray(), otherSig.toArray()); - } - } - - @Override - public X_inv03_eligAll specification() { - return X_inv03_eligAll.instance(); - } - - /** - * Returns an empty, mutable match. - * Fields of the mutable match can be filled to create a partial match, usable as matcher input. - * - * @return the empty match. - * - */ - public static X_inv03_eligAll.Match newEmptyMatch() { - return new Mutable(null); - } - - /** - * Returns a mutable (partial) match. - * Fields of the mutable match can be filled to create a partial match, usable as matcher input. - * - * @param pDep the fixed value of pattern parameter dep, or null if not bound. - * @return the new, mutable (partial) match object. - * - */ - public static X_inv03_eligAll.Match newMutableMatch(final Dependent pDep) { - return new Mutable(pDep); - } - - /** - * Returns a new (partial) match. - * This can be used e.g. to call the matcher with a partial match. - *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. - * @param pDep the fixed value of pattern parameter dep, or null if not bound. - * @return the (partial) match object. - * - */ - public static X_inv03_eligAll.Match newMatch(final Dependent pDep) { - return new Immutable(pDep); - } - - private static final class Mutable extends X_inv03_eligAll.Match { - Mutable(final Dependent pDep) { - super(pDep); - } - - @Override - public boolean isMutable() { - return true; - } - } - - private static final class Immutable extends X_inv03_eligAll.Match { - Immutable(final Dependent pDep) { - super(pDep); - } - - @Override - public boolean isMutable() { - return false; - } - } - } - - /** - * Generated pattern matcher API of the queries.x_inv03_eligAll pattern, - * providing pattern-specific query methods. - * - *

    Use the pattern matcher on a given model via {@link #on(ViatraQueryEngine)}, - * e.g. in conjunction with {@link ViatraQueryEngine#on(QueryScope)}. - * - *

    Matches of the pattern will be represented as {@link Match}. - * - *

    Original source: - *

    -   * pattern x_inv03_eligAll(dep : Dependent) {
    -   *     Dependent.birth_year(dep, by);
    -   *     check(2018-by {@literal <}= 21);
    -   * } or {
    -   * 	Dependent.continued_studies(dep, true);
    -   * }
    -   * 
    - * - * @see Match - * @see X_inv03_eligAll - * - */ - public static class Matcher extends BaseMatcher { - /** - * Initializes the pattern matcher within an existing VIATRA Query engine. - * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. - * - * @param engine the existing VIATRA Query engine in which this matcher will be created. - * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation - * - */ - public static X_inv03_eligAll.Matcher on(final ViatraQueryEngine engine) { - // check if matcher already exists - Matcher matcher = engine.getExistingMatcher(querySpecification()); - if (matcher == null) { - matcher = (Matcher)engine.getMatcher(querySpecification()); - } - return matcher; - } - - /** - * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation - * @return an initialized matcher - * @noreference This method is for internal matcher initialization by the framework, do not call it manually. - * - */ - public static X_inv03_eligAll.Matcher create() { - return new Matcher(); - } - - private static final int POSITION_DEP = 0; - - private static final Logger LOGGER = ViatraQueryLoggingUtil.getLogger(X_inv03_eligAll.Matcher.class); - - /** - * Initializes the pattern matcher within an existing VIATRA Query engine. - * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. - * - * @param engine the existing VIATRA Query engine in which this matcher will be created. - * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation - * - */ - private Matcher() { - super(querySpecification()); - } - - /** - * Returns the set of all matches of the pattern that conform to the given fixed values of some parameters. - * @param pDep the fixed value of pattern parameter dep, or null if not bound. - * @return matches represented as a Match object. - * - */ - public Collection getAllMatches(final Dependent pDep) { - return rawStreamAllMatches(new Object[]{pDep}).collect(Collectors.toSet()); - } - - /** - * Returns a stream of all matches of the pattern that conform to the given fixed values of some parameters. - *

    - * NOTE: It is important not to modify the source model while the stream is being processed. - * If the match set of the pattern changes during processing, the contents of the stream is undefined. - * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. - * @param pDep the fixed value of pattern parameter dep, or null if not bound. - * @return a stream of matches represented as a Match object. - * - */ - public Stream streamAllMatches(final Dependent pDep) { - return rawStreamAllMatches(new Object[]{pDep}); - } - - /** - * Returns an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. - * Neither determinism nor randomness of selection is guaranteed. - * @param pDep the fixed value of pattern parameter dep, or null if not bound. - * @return a match represented as a Match object, or null if no match is found. - * - */ - public Optional getOneArbitraryMatch(final Dependent pDep) { - return rawGetOneArbitraryMatch(new Object[]{pDep}); - } - - /** - * Indicates whether the given combination of specified pattern parameters constitute a valid pattern match, - * under any possible substitution of the unspecified parameters (if any). - * @param pDep the fixed value of pattern parameter dep, or null if not bound. - * @return true if the input is a valid (partial) match of the pattern. - * - */ - public boolean hasMatch(final Dependent pDep) { - return rawHasMatch(new Object[]{pDep}); - } - - /** - * Returns the number of all matches of the pattern that conform to the given fixed values of some parameters. - * @param pDep the fixed value of pattern parameter dep, or null if not bound. - * @return the number of pattern matches found. - * - */ - public int countMatches(final Dependent pDep) { - return rawCountMatches(new Object[]{pDep}); - } - - /** - * Executes the given processor on an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. - * Neither determinism nor randomness of selection is guaranteed. - * @param pDep the fixed value of pattern parameter dep, or null if not bound. - * @param processor the action that will process the selected match. - * @return true if the pattern has at least one match with the given parameter values, false if the processor was not invoked - * - */ - public boolean forOneArbitraryMatch(final Dependent pDep, final Consumer processor) { - return rawForOneArbitraryMatch(new Object[]{pDep}, processor); - } - - /** - * Returns a new (partial) match. - * This can be used e.g. to call the matcher with a partial match. - *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. - * @param pDep the fixed value of pattern parameter dep, or null if not bound. - * @return the (partial) match object. - * - */ - public X_inv03_eligAll.Match newMatch(final Dependent pDep) { - return X_inv03_eligAll.Match.newMatch(pDep); - } - - /** - * Retrieve the set of values that occur in matches for dep. - * @return the Set of all values or empty set if there are no matches - * - */ - protected Stream rawStreamAllValuesOfdep(final Object[] parameters) { - return rawStreamAllValues(POSITION_DEP, parameters).map(Dependent.class::cast); - } - - /** - * Retrieve the set of values that occur in matches for dep. - * @return the Set of all values or empty set if there are no matches - * - */ - public Set getAllValuesOfdep() { - return rawStreamAllValuesOfdep(emptyArray()).collect(Collectors.toSet()); - } - - /** - * Retrieve the set of values that occur in matches for dep. - * @return the Set of all values or empty set if there are no matches - * - */ - public Stream streamAllValuesOfdep() { - return rawStreamAllValuesOfdep(emptyArray()); - } - - @Override - protected X_inv03_eligAll.Match tupleToMatch(final Tuple t) { - try { - return X_inv03_eligAll.Match.newMatch((Dependent) t.get(POSITION_DEP)); - } catch(ClassCastException e) { - LOGGER.error("Element(s) in tuple not properly typed!",e); - return null; - } - } - - @Override - protected X_inv03_eligAll.Match arrayToMatch(final Object[] match) { - try { - return X_inv03_eligAll.Match.newMatch((Dependent) match[POSITION_DEP]); - } catch(ClassCastException e) { - LOGGER.error("Element(s) in array not properly typed!",e); - return null; - } - } - - @Override - protected X_inv03_eligAll.Match arrayToMatchMutable(final Object[] match) { - try { - return X_inv03_eligAll.Match.newMutableMatch((Dependent) match[POSITION_DEP]); - } catch(ClassCastException e) { - LOGGER.error("Element(s) in array not properly typed!",e); - return null; - } - } - - /** - * @return the singleton instance of the query specification of this pattern - * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded - * - */ - public static IQuerySpecification querySpecification() { - return X_inv03_eligAll.instance(); - } - } - - private X_inv03_eligAll() { - super(GeneratedPQuery.INSTANCE); - } - - /** - * @return the singleton instance of the query specification - * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded - * - */ - public static X_inv03_eligAll instance() { - try{ - return LazyHolder.INSTANCE; - } catch (ExceptionInInitializerError err) { - throw processInitializerError(err); - } - } - - @Override - protected X_inv03_eligAll.Matcher instantiate(final ViatraQueryEngine engine) { - return X_inv03_eligAll.Matcher.on(engine); - } - - @Override - public X_inv03_eligAll.Matcher instantiate() { - return X_inv03_eligAll.Matcher.create(); - } - - @Override - public X_inv03_eligAll.Match newEmptyMatch() { - return X_inv03_eligAll.Match.newEmptyMatch(); - } - - @Override - public X_inv03_eligAll.Match newMatch(final Object... parameters) { - return X_inv03_eligAll.Match.newMatch((Taxation.Dependent) parameters[0]); - } - - /** - * Inner class allowing the singleton instance of {@link X_inv03_eligAll} to be created - * not at the class load time of the outer class, - * but rather at the first call to {@link X_inv03_eligAll#instance()}. - * - *

    This workaround is required e.g. to support recursion. - * - */ - private static class LazyHolder { - private static final X_inv03_eligAll INSTANCE = new X_inv03_eligAll(); - - /** - * Statically initializes the query specification after the field {@link #INSTANCE} is assigned. - * This initialization order is required to support indirect recursion. - * - *

    The static initializer is defined using a helper field to work around limitations of the code generator. - * - */ - private static final Object STATIC_INITIALIZER = ensureInitialized(); - - public static Object ensureInitialized() { - INSTANCE.ensureInitializedInternal(); - return null; - } - } - - private static class GeneratedPQuery extends BaseGeneratedEMFPQuery { - private static final X_inv03_eligAll.GeneratedPQuery INSTANCE = new GeneratedPQuery(); - - private final PParameter parameter_dep = new PParameter("dep", "Taxation.Dependent", new EClassTransitiveInstancesKey((EClass)getClassifierLiteralSafe("http:///TaxCard.ecore", "Dependent")), PParameterDirection.INOUT); - - private final List parameters = Arrays.asList(parameter_dep); - - private GeneratedPQuery() { - super(PVisibility.PUBLIC); - } - - @Override - public String getFullyQualifiedName() { - return "queries.x_inv03_eligAll"; - } - - @Override - public List getParameterNames() { - return Arrays.asList("dep"); - } - - @Override - public List getParameters() { - return parameters; - } - - @Override - public Set doGetContainedBodies() { - setEvaluationHints(new QueryEvaluationHint(null, QueryEvaluationHint.BackendRequirement.UNSPECIFIED)); - Set bodies = new LinkedHashSet<>(); - { - PBody body = new PBody(this); - PVariable var_dep = body.getOrCreateVariableByName("dep"); - PVariable var_by = body.getOrCreateVariableByName("by"); - new TypeConstraint(body, Tuples.flatTupleOf(var_dep), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Dependent"))); - body.setSymbolicParameters(Arrays.asList( - new ExportedParameter(body, var_dep, parameter_dep) - )); - // Dependent.birth_year(dep, by) - new TypeConstraint(body, Tuples.flatTupleOf(var_dep), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Dependent"))); - PVariable var__virtual_0_ = body.getOrCreateVariableByName(".virtual{0}"); - new TypeConstraint(body, Tuples.flatTupleOf(var_dep, var__virtual_0_), new EStructuralFeatureInstancesKey(getFeatureLiteral("http:///TaxCard.ecore", "Physical_Person", "birth_year"))); - new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_0_), new EDataTypeInSlotsKey((EDataType)getClassifierLiteral("http://www.eclipse.org/emf/2002/Ecore", "EInt"))); - new Equality(body, var__virtual_0_, var_by); - // check(2018-by <= 21) - new ExpressionEvaluation(body, new IExpressionEvaluator() { - - @Override - public String getShortDescription() { - return "Expression evaluation from pattern x_inv03_eligAll"; - } - - @Override - public Iterable getInputParameterNames() { - return Arrays.asList("by");} - - @Override - public Object evaluateExpression(IValueProvider provider) throws Exception { - Integer by = (Integer) provider.getValue("by"); - return evaluateExpression_1_1(by); - } - }, null); - bodies.add(body); - } - { - PBody body = new PBody(this); - PVariable var_dep = body.getOrCreateVariableByName("dep"); - new TypeConstraint(body, Tuples.flatTupleOf(var_dep), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Dependent"))); - body.setSymbolicParameters(Arrays.asList( - new ExportedParameter(body, var_dep, parameter_dep) - )); - // Dependent.continued_studies(dep, true) - PVariable var__virtual_0_ = body.getOrCreateVariableByName(".virtual{0}"); - new ConstantValue(body, var__virtual_0_, true); - new TypeConstraint(body, Tuples.flatTupleOf(var_dep), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Dependent"))); - PVariable var__virtual_1_ = body.getOrCreateVariableByName(".virtual{1}"); - new TypeConstraint(body, Tuples.flatTupleOf(var_dep, var__virtual_1_), new EStructuralFeatureInstancesKey(getFeatureLiteral("http:///TaxCard.ecore", "Dependent", "continued_studies"))); - new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_1_), new EDataTypeInSlotsKey((EDataType)getClassifierLiteral("http://www.eclipse.org/emf/2002/Ecore", "EBoolean"))); - new Equality(body, var__virtual_1_, var__virtual_0_); - bodies.add(body); - } - return bodies; - } - } - - private static boolean evaluateExpression_1_1(final Integer by) { - return ((2018 - (by).intValue()) <= 21); - } - - private static boolean evaluateExpression_2_1() { - return true; - } -} diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/X_inv03_hasAll.java b/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/X_inv03_hasAll.java deleted file mode 100644 index 90deb92d..00000000 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/X_inv03_hasAll.java +++ /dev/null @@ -1,551 +0,0 @@ -/** - * Generated from platform:/resource/case.study.pledge.run/src/queries/case_study_A.vql - */ -package queries; - -import Taxation.Dependent; -import java.util.Arrays; -import java.util.Collection; -import java.util.LinkedHashSet; -import java.util.List; -import java.util.Objects; -import java.util.Optional; -import java.util.Set; -import java.util.function.Consumer; -import java.util.stream.Collectors; -import java.util.stream.Stream; -import org.apache.log4j.Logger; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.viatra.query.runtime.api.IPatternMatch; -import org.eclipse.viatra.query.runtime.api.IQuerySpecification; -import org.eclipse.viatra.query.runtime.api.ViatraQueryEngine; -import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFPQuery; -import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFQuerySpecification; -import org.eclipse.viatra.query.runtime.api.impl.BaseMatcher; -import org.eclipse.viatra.query.runtime.api.impl.BasePatternMatch; -import org.eclipse.viatra.query.runtime.emf.types.EClassTransitiveInstancesKey; -import org.eclipse.viatra.query.runtime.emf.types.EStructuralFeatureInstancesKey; -import org.eclipse.viatra.query.runtime.matchers.backend.QueryEvaluationHint; -import org.eclipse.viatra.query.runtime.matchers.psystem.PBody; -import org.eclipse.viatra.query.runtime.matchers.psystem.PVariable; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.Equality; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.ExportedParameter; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicenumerables.TypeConstraint; -import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameter; -import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameterDirection; -import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PVisibility; -import org.eclipse.viatra.query.runtime.matchers.tuple.Tuple; -import org.eclipse.viatra.query.runtime.matchers.tuple.Tuples; -import org.eclipse.viatra.query.runtime.util.ViatraQueryLoggingUtil; - -/** - * A pattern-specific query specification that can instantiate Matcher in a type-safe way. - * - *

    Original source: - *

    - *         pattern x_inv03_hasAll(dep : Dependent) {
    - *             Dependent.allowances(dep, _);
    - *         }
    - * 
    - * - * @see Matcher - * @see Match - * - */ -@SuppressWarnings("all") -public final class X_inv03_hasAll extends BaseGeneratedEMFQuerySpecification { - /** - * Pattern-specific match representation of the queries.x_inv03_hasAll pattern, - * to be used in conjunction with {@link Matcher}. - * - *

    Class fields correspond to parameters of the pattern. Fields with value null are considered unassigned. - * Each instance is a (possibly partial) substitution of pattern parameters, - * usable to represent a match of the pattern in the result of a query, - * or to specify the bound (fixed) input parameters when issuing a query. - * - * @see Matcher - * - */ - public static abstract class Match extends BasePatternMatch { - private Dependent fDep; - - private static List parameterNames = makeImmutableList("dep"); - - private Match(final Dependent pDep) { - this.fDep = pDep; - } - - @Override - public Object get(final String parameterName) { - switch(parameterName) { - case "dep": return this.fDep; - default: return null; - } - } - - @Override - public Object get(final int index) { - switch(index) { - case 0: return this.fDep; - default: return null; - } - } - - public Dependent getDep() { - return this.fDep; - } - - @Override - public boolean set(final String parameterName, final Object newValue) { - if (!isMutable()) throw new java.lang.UnsupportedOperationException(); - if ("dep".equals(parameterName) ) { - this.fDep = (Dependent) newValue; - return true; - } - return false; - } - - public void setDep(final Dependent pDep) { - if (!isMutable()) throw new java.lang.UnsupportedOperationException(); - this.fDep = pDep; - } - - @Override - public String patternName() { - return "queries.x_inv03_hasAll"; - } - - @Override - public List parameterNames() { - return X_inv03_hasAll.Match.parameterNames; - } - - @Override - public Object[] toArray() { - return new Object[]{fDep}; - } - - @Override - public X_inv03_hasAll.Match toImmutable() { - return isMutable() ? newMatch(fDep) : this; - } - - @Override - public String prettyPrint() { - StringBuilder result = new StringBuilder(); - result.append("\"dep\"=" + prettyPrintValue(fDep)); - return result.toString(); - } - - @Override - public int hashCode() { - return Objects.hash(fDep); - } - - @Override - public boolean equals(final Object obj) { - if (this == obj) - return true; - if (obj == null) { - return false; - } - if ((obj instanceof X_inv03_hasAll.Match)) { - X_inv03_hasAll.Match other = (X_inv03_hasAll.Match) obj; - return Objects.equals(fDep, other.fDep); - } else { - // this should be infrequent - if (!(obj instanceof IPatternMatch)) { - return false; - } - IPatternMatch otherSig = (IPatternMatch) obj; - return Objects.equals(specification(), otherSig.specification()) && Arrays.deepEquals(toArray(), otherSig.toArray()); - } - } - - @Override - public X_inv03_hasAll specification() { - return X_inv03_hasAll.instance(); - } - - /** - * Returns an empty, mutable match. - * Fields of the mutable match can be filled to create a partial match, usable as matcher input. - * - * @return the empty match. - * - */ - public static X_inv03_hasAll.Match newEmptyMatch() { - return new Mutable(null); - } - - /** - * Returns a mutable (partial) match. - * Fields of the mutable match can be filled to create a partial match, usable as matcher input. - * - * @param pDep the fixed value of pattern parameter dep, or null if not bound. - * @return the new, mutable (partial) match object. - * - */ - public static X_inv03_hasAll.Match newMutableMatch(final Dependent pDep) { - return new Mutable(pDep); - } - - /** - * Returns a new (partial) match. - * This can be used e.g. to call the matcher with a partial match. - *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. - * @param pDep the fixed value of pattern parameter dep, or null if not bound. - * @return the (partial) match object. - * - */ - public static X_inv03_hasAll.Match newMatch(final Dependent pDep) { - return new Immutable(pDep); - } - - private static final class Mutable extends X_inv03_hasAll.Match { - Mutable(final Dependent pDep) { - super(pDep); - } - - @Override - public boolean isMutable() { - return true; - } - } - - private static final class Immutable extends X_inv03_hasAll.Match { - Immutable(final Dependent pDep) { - super(pDep); - } - - @Override - public boolean isMutable() { - return false; - } - } - } - - /** - * Generated pattern matcher API of the queries.x_inv03_hasAll pattern, - * providing pattern-specific query methods. - * - *

    Use the pattern matcher on a given model via {@link #on(ViatraQueryEngine)}, - * e.g. in conjunction with {@link ViatraQueryEngine#on(QueryScope)}. - * - *

    Matches of the pattern will be represented as {@link Match}. - * - *

    Original source: - *

    -   * pattern x_inv03_hasAll(dep : Dependent) {
    -   *     Dependent.allowances(dep, _);
    -   * }
    -   * 
    - * - * @see Match - * @see X_inv03_hasAll - * - */ - public static class Matcher extends BaseMatcher { - /** - * Initializes the pattern matcher within an existing VIATRA Query engine. - * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. - * - * @param engine the existing VIATRA Query engine in which this matcher will be created. - * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation - * - */ - public static X_inv03_hasAll.Matcher on(final ViatraQueryEngine engine) { - // check if matcher already exists - Matcher matcher = engine.getExistingMatcher(querySpecification()); - if (matcher == null) { - matcher = (Matcher)engine.getMatcher(querySpecification()); - } - return matcher; - } - - /** - * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation - * @return an initialized matcher - * @noreference This method is for internal matcher initialization by the framework, do not call it manually. - * - */ - public static X_inv03_hasAll.Matcher create() { - return new Matcher(); - } - - private static final int POSITION_DEP = 0; - - private static final Logger LOGGER = ViatraQueryLoggingUtil.getLogger(X_inv03_hasAll.Matcher.class); - - /** - * Initializes the pattern matcher within an existing VIATRA Query engine. - * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. - * - * @param engine the existing VIATRA Query engine in which this matcher will be created. - * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation - * - */ - private Matcher() { - super(querySpecification()); - } - - /** - * Returns the set of all matches of the pattern that conform to the given fixed values of some parameters. - * @param pDep the fixed value of pattern parameter dep, or null if not bound. - * @return matches represented as a Match object. - * - */ - public Collection getAllMatches(final Dependent pDep) { - return rawStreamAllMatches(new Object[]{pDep}).collect(Collectors.toSet()); - } - - /** - * Returns a stream of all matches of the pattern that conform to the given fixed values of some parameters. - *

    - * NOTE: It is important not to modify the source model while the stream is being processed. - * If the match set of the pattern changes during processing, the contents of the stream is undefined. - * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. - * @param pDep the fixed value of pattern parameter dep, or null if not bound. - * @return a stream of matches represented as a Match object. - * - */ - public Stream streamAllMatches(final Dependent pDep) { - return rawStreamAllMatches(new Object[]{pDep}); - } - - /** - * Returns an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. - * Neither determinism nor randomness of selection is guaranteed. - * @param pDep the fixed value of pattern parameter dep, or null if not bound. - * @return a match represented as a Match object, or null if no match is found. - * - */ - public Optional getOneArbitraryMatch(final Dependent pDep) { - return rawGetOneArbitraryMatch(new Object[]{pDep}); - } - - /** - * Indicates whether the given combination of specified pattern parameters constitute a valid pattern match, - * under any possible substitution of the unspecified parameters (if any). - * @param pDep the fixed value of pattern parameter dep, or null if not bound. - * @return true if the input is a valid (partial) match of the pattern. - * - */ - public boolean hasMatch(final Dependent pDep) { - return rawHasMatch(new Object[]{pDep}); - } - - /** - * Returns the number of all matches of the pattern that conform to the given fixed values of some parameters. - * @param pDep the fixed value of pattern parameter dep, or null if not bound. - * @return the number of pattern matches found. - * - */ - public int countMatches(final Dependent pDep) { - return rawCountMatches(new Object[]{pDep}); - } - - /** - * Executes the given processor on an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. - * Neither determinism nor randomness of selection is guaranteed. - * @param pDep the fixed value of pattern parameter dep, or null if not bound. - * @param processor the action that will process the selected match. - * @return true if the pattern has at least one match with the given parameter values, false if the processor was not invoked - * - */ - public boolean forOneArbitraryMatch(final Dependent pDep, final Consumer processor) { - return rawForOneArbitraryMatch(new Object[]{pDep}, processor); - } - - /** - * Returns a new (partial) match. - * This can be used e.g. to call the matcher with a partial match. - *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. - * @param pDep the fixed value of pattern parameter dep, or null if not bound. - * @return the (partial) match object. - * - */ - public X_inv03_hasAll.Match newMatch(final Dependent pDep) { - return X_inv03_hasAll.Match.newMatch(pDep); - } - - /** - * Retrieve the set of values that occur in matches for dep. - * @return the Set of all values or empty set if there are no matches - * - */ - protected Stream rawStreamAllValuesOfdep(final Object[] parameters) { - return rawStreamAllValues(POSITION_DEP, parameters).map(Dependent.class::cast); - } - - /** - * Retrieve the set of values that occur in matches for dep. - * @return the Set of all values or empty set if there are no matches - * - */ - public Set getAllValuesOfdep() { - return rawStreamAllValuesOfdep(emptyArray()).collect(Collectors.toSet()); - } - - /** - * Retrieve the set of values that occur in matches for dep. - * @return the Set of all values or empty set if there are no matches - * - */ - public Stream streamAllValuesOfdep() { - return rawStreamAllValuesOfdep(emptyArray()); - } - - @Override - protected X_inv03_hasAll.Match tupleToMatch(final Tuple t) { - try { - return X_inv03_hasAll.Match.newMatch((Dependent) t.get(POSITION_DEP)); - } catch(ClassCastException e) { - LOGGER.error("Element(s) in tuple not properly typed!",e); - return null; - } - } - - @Override - protected X_inv03_hasAll.Match arrayToMatch(final Object[] match) { - try { - return X_inv03_hasAll.Match.newMatch((Dependent) match[POSITION_DEP]); - } catch(ClassCastException e) { - LOGGER.error("Element(s) in array not properly typed!",e); - return null; - } - } - - @Override - protected X_inv03_hasAll.Match arrayToMatchMutable(final Object[] match) { - try { - return X_inv03_hasAll.Match.newMutableMatch((Dependent) match[POSITION_DEP]); - } catch(ClassCastException e) { - LOGGER.error("Element(s) in array not properly typed!",e); - return null; - } - } - - /** - * @return the singleton instance of the query specification of this pattern - * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded - * - */ - public static IQuerySpecification querySpecification() { - return X_inv03_hasAll.instance(); - } - } - - private X_inv03_hasAll() { - super(GeneratedPQuery.INSTANCE); - } - - /** - * @return the singleton instance of the query specification - * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded - * - */ - public static X_inv03_hasAll instance() { - try{ - return LazyHolder.INSTANCE; - } catch (ExceptionInInitializerError err) { - throw processInitializerError(err); - } - } - - @Override - protected X_inv03_hasAll.Matcher instantiate(final ViatraQueryEngine engine) { - return X_inv03_hasAll.Matcher.on(engine); - } - - @Override - public X_inv03_hasAll.Matcher instantiate() { - return X_inv03_hasAll.Matcher.create(); - } - - @Override - public X_inv03_hasAll.Match newEmptyMatch() { - return X_inv03_hasAll.Match.newEmptyMatch(); - } - - @Override - public X_inv03_hasAll.Match newMatch(final Object... parameters) { - return X_inv03_hasAll.Match.newMatch((Taxation.Dependent) parameters[0]); - } - - /** - * Inner class allowing the singleton instance of {@link X_inv03_hasAll} to be created - * not at the class load time of the outer class, - * but rather at the first call to {@link X_inv03_hasAll#instance()}. - * - *

    This workaround is required e.g. to support recursion. - * - */ - private static class LazyHolder { - private static final X_inv03_hasAll INSTANCE = new X_inv03_hasAll(); - - /** - * Statically initializes the query specification after the field {@link #INSTANCE} is assigned. - * This initialization order is required to support indirect recursion. - * - *

    The static initializer is defined using a helper field to work around limitations of the code generator. - * - */ - private static final Object STATIC_INITIALIZER = ensureInitialized(); - - public static Object ensureInitialized() { - INSTANCE.ensureInitializedInternal(); - return null; - } - } - - private static class GeneratedPQuery extends BaseGeneratedEMFPQuery { - private static final X_inv03_hasAll.GeneratedPQuery INSTANCE = new GeneratedPQuery(); - - private final PParameter parameter_dep = new PParameter("dep", "Taxation.Dependent", new EClassTransitiveInstancesKey((EClass)getClassifierLiteralSafe("http:///TaxCard.ecore", "Dependent")), PParameterDirection.INOUT); - - private final List parameters = Arrays.asList(parameter_dep); - - private GeneratedPQuery() { - super(PVisibility.PUBLIC); - } - - @Override - public String getFullyQualifiedName() { - return "queries.x_inv03_hasAll"; - } - - @Override - public List getParameterNames() { - return Arrays.asList("dep"); - } - - @Override - public List getParameters() { - return parameters; - } - - @Override - public Set doGetContainedBodies() { - setEvaluationHints(new QueryEvaluationHint(null, QueryEvaluationHint.BackendRequirement.UNSPECIFIED)); - Set bodies = new LinkedHashSet<>(); - { - PBody body = new PBody(this); - PVariable var_dep = body.getOrCreateVariableByName("dep"); - PVariable var___0_ = body.getOrCreateVariableByName("_<0>"); - new TypeConstraint(body, Tuples.flatTupleOf(var_dep), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Dependent"))); - body.setSymbolicParameters(Arrays.asList( - new ExportedParameter(body, var_dep, parameter_dep) - )); - // Dependent.allowances(dep, _) - new TypeConstraint(body, Tuples.flatTupleOf(var_dep), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Dependent"))); - PVariable var__virtual_0_ = body.getOrCreateVariableByName(".virtual{0}"); - new TypeConstraint(body, Tuples.flatTupleOf(var_dep, var__virtual_0_), new EStructuralFeatureInstancesKey(getFeatureLiteral("http:///TaxCard.ecore", "Dependent", "allowances"))); - new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_0_), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "External_Allowance"))); - new Equality(body, var__virtual_0_, var___0_); - bodies.add(body); - } - return bodies; - } - } -} diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/X_inv05_inRange.java b/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/X_inv05_inRange.java deleted file mode 100644 index aea94873..00000000 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/X_inv05_inRange.java +++ /dev/null @@ -1,630 +0,0 @@ -/** - * Generated from platform:/resource/case.study.pledge.run/src/queries/case_study_A.vql - */ -package queries; - -import Taxation.Income; -import java.util.Arrays; -import java.util.Collection; -import java.util.LinkedHashSet; -import java.util.List; -import java.util.Objects; -import java.util.Optional; -import java.util.Set; -import java.util.function.Consumer; -import java.util.stream.Collectors; -import java.util.stream.Stream; -import org.apache.log4j.Logger; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EDataType; -import org.eclipse.viatra.query.runtime.api.IPatternMatch; -import org.eclipse.viatra.query.runtime.api.IQuerySpecification; -import org.eclipse.viatra.query.runtime.api.ViatraQueryEngine; -import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFPQuery; -import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFQuerySpecification; -import org.eclipse.viatra.query.runtime.api.impl.BaseMatcher; -import org.eclipse.viatra.query.runtime.api.impl.BasePatternMatch; -import org.eclipse.viatra.query.runtime.emf.types.EClassTransitiveInstancesKey; -import org.eclipse.viatra.query.runtime.emf.types.EDataTypeInSlotsKey; -import org.eclipse.viatra.query.runtime.emf.types.EStructuralFeatureInstancesKey; -import org.eclipse.viatra.query.runtime.matchers.backend.QueryEvaluationHint; -import org.eclipse.viatra.query.runtime.matchers.psystem.IExpressionEvaluator; -import org.eclipse.viatra.query.runtime.matchers.psystem.IValueProvider; -import org.eclipse.viatra.query.runtime.matchers.psystem.PBody; -import org.eclipse.viatra.query.runtime.matchers.psystem.PVariable; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.Equality; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.ExportedParameter; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.ExpressionEvaluation; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicenumerables.TypeConstraint; -import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameter; -import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameterDirection; -import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PVisibility; -import org.eclipse.viatra.query.runtime.matchers.tuple.Tuple; -import org.eclipse.viatra.query.runtime.matchers.tuple.Tuples; -import org.eclipse.viatra.query.runtime.util.ViatraQueryLoggingUtil; - -/** - * A pattern-specific query specification that can instantiate Matcher in a type-safe way. - * - *

    Original source: - *

    - *         pattern x_inv05_inRange(inc : Income) {
    - *             Income.details.worked_days(inc, wd);
    - *             check(wd {@literal <} 1);
    - *         } or {
    - *             Income.details.worked_days(inc, wd);
    - *             check(wd {@literal >} 25);
    - *         }
    - * 
    - * - * @see Matcher - * @see Match - * - */ -@SuppressWarnings("all") -public final class X_inv05_inRange extends BaseGeneratedEMFQuerySpecification { - /** - * Pattern-specific match representation of the queries.x_inv05_inRange pattern, - * to be used in conjunction with {@link Matcher}. - * - *

    Class fields correspond to parameters of the pattern. Fields with value null are considered unassigned. - * Each instance is a (possibly partial) substitution of pattern parameters, - * usable to represent a match of the pattern in the result of a query, - * or to specify the bound (fixed) input parameters when issuing a query. - * - * @see Matcher - * - */ - public static abstract class Match extends BasePatternMatch { - private Income fInc; - - private static List parameterNames = makeImmutableList("inc"); - - private Match(final Income pInc) { - this.fInc = pInc; - } - - @Override - public Object get(final String parameterName) { - switch(parameterName) { - case "inc": return this.fInc; - default: return null; - } - } - - @Override - public Object get(final int index) { - switch(index) { - case 0: return this.fInc; - default: return null; - } - } - - public Income getInc() { - return this.fInc; - } - - @Override - public boolean set(final String parameterName, final Object newValue) { - if (!isMutable()) throw new java.lang.UnsupportedOperationException(); - if ("inc".equals(parameterName) ) { - this.fInc = (Income) newValue; - return true; - } - return false; - } - - public void setInc(final Income pInc) { - if (!isMutable()) throw new java.lang.UnsupportedOperationException(); - this.fInc = pInc; - } - - @Override - public String patternName() { - return "queries.x_inv05_inRange"; - } - - @Override - public List parameterNames() { - return X_inv05_inRange.Match.parameterNames; - } - - @Override - public Object[] toArray() { - return new Object[]{fInc}; - } - - @Override - public X_inv05_inRange.Match toImmutable() { - return isMutable() ? newMatch(fInc) : this; - } - - @Override - public String prettyPrint() { - StringBuilder result = new StringBuilder(); - result.append("\"inc\"=" + prettyPrintValue(fInc)); - return result.toString(); - } - - @Override - public int hashCode() { - return Objects.hash(fInc); - } - - @Override - public boolean equals(final Object obj) { - if (this == obj) - return true; - if (obj == null) { - return false; - } - if ((obj instanceof X_inv05_inRange.Match)) { - X_inv05_inRange.Match other = (X_inv05_inRange.Match) obj; - return Objects.equals(fInc, other.fInc); - } else { - // this should be infrequent - if (!(obj instanceof IPatternMatch)) { - return false; - } - IPatternMatch otherSig = (IPatternMatch) obj; - return Objects.equals(specification(), otherSig.specification()) && Arrays.deepEquals(toArray(), otherSig.toArray()); - } - } - - @Override - public X_inv05_inRange specification() { - return X_inv05_inRange.instance(); - } - - /** - * Returns an empty, mutable match. - * Fields of the mutable match can be filled to create a partial match, usable as matcher input. - * - * @return the empty match. - * - */ - public static X_inv05_inRange.Match newEmptyMatch() { - return new Mutable(null); - } - - /** - * Returns a mutable (partial) match. - * Fields of the mutable match can be filled to create a partial match, usable as matcher input. - * - * @param pInc the fixed value of pattern parameter inc, or null if not bound. - * @return the new, mutable (partial) match object. - * - */ - public static X_inv05_inRange.Match newMutableMatch(final Income pInc) { - return new Mutable(pInc); - } - - /** - * Returns a new (partial) match. - * This can be used e.g. to call the matcher with a partial match. - *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. - * @param pInc the fixed value of pattern parameter inc, or null if not bound. - * @return the (partial) match object. - * - */ - public static X_inv05_inRange.Match newMatch(final Income pInc) { - return new Immutable(pInc); - } - - private static final class Mutable extends X_inv05_inRange.Match { - Mutable(final Income pInc) { - super(pInc); - } - - @Override - public boolean isMutable() { - return true; - } - } - - private static final class Immutable extends X_inv05_inRange.Match { - Immutable(final Income pInc) { - super(pInc); - } - - @Override - public boolean isMutable() { - return false; - } - } - } - - /** - * Generated pattern matcher API of the queries.x_inv05_inRange pattern, - * providing pattern-specific query methods. - * - *

    Use the pattern matcher on a given model via {@link #on(ViatraQueryEngine)}, - * e.g. in conjunction with {@link ViatraQueryEngine#on(QueryScope)}. - * - *

    Matches of the pattern will be represented as {@link Match}. - * - *

    Original source: - *

    -   * pattern x_inv05_inRange(inc : Income) {
    -   *     Income.details.worked_days(inc, wd);
    -   *     check(wd {@literal <} 1);
    -   * } or {
    -   *     Income.details.worked_days(inc, wd);
    -   *     check(wd {@literal >} 25);
    -   * }
    -   * 
    - * - * @see Match - * @see X_inv05_inRange - * - */ - public static class Matcher extends BaseMatcher { - /** - * Initializes the pattern matcher within an existing VIATRA Query engine. - * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. - * - * @param engine the existing VIATRA Query engine in which this matcher will be created. - * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation - * - */ - public static X_inv05_inRange.Matcher on(final ViatraQueryEngine engine) { - // check if matcher already exists - Matcher matcher = engine.getExistingMatcher(querySpecification()); - if (matcher == null) { - matcher = (Matcher)engine.getMatcher(querySpecification()); - } - return matcher; - } - - /** - * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation - * @return an initialized matcher - * @noreference This method is for internal matcher initialization by the framework, do not call it manually. - * - */ - public static X_inv05_inRange.Matcher create() { - return new Matcher(); - } - - private static final int POSITION_INC = 0; - - private static final Logger LOGGER = ViatraQueryLoggingUtil.getLogger(X_inv05_inRange.Matcher.class); - - /** - * Initializes the pattern matcher within an existing VIATRA Query engine. - * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. - * - * @param engine the existing VIATRA Query engine in which this matcher will be created. - * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation - * - */ - private Matcher() { - super(querySpecification()); - } - - /** - * Returns the set of all matches of the pattern that conform to the given fixed values of some parameters. - * @param pInc the fixed value of pattern parameter inc, or null if not bound. - * @return matches represented as a Match object. - * - */ - public Collection getAllMatches(final Income pInc) { - return rawStreamAllMatches(new Object[]{pInc}).collect(Collectors.toSet()); - } - - /** - * Returns a stream of all matches of the pattern that conform to the given fixed values of some parameters. - *

    - * NOTE: It is important not to modify the source model while the stream is being processed. - * If the match set of the pattern changes during processing, the contents of the stream is undefined. - * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. - * @param pInc the fixed value of pattern parameter inc, or null if not bound. - * @return a stream of matches represented as a Match object. - * - */ - public Stream streamAllMatches(final Income pInc) { - return rawStreamAllMatches(new Object[]{pInc}); - } - - /** - * Returns an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. - * Neither determinism nor randomness of selection is guaranteed. - * @param pInc the fixed value of pattern parameter inc, or null if not bound. - * @return a match represented as a Match object, or null if no match is found. - * - */ - public Optional getOneArbitraryMatch(final Income pInc) { - return rawGetOneArbitraryMatch(new Object[]{pInc}); - } - - /** - * Indicates whether the given combination of specified pattern parameters constitute a valid pattern match, - * under any possible substitution of the unspecified parameters (if any). - * @param pInc the fixed value of pattern parameter inc, or null if not bound. - * @return true if the input is a valid (partial) match of the pattern. - * - */ - public boolean hasMatch(final Income pInc) { - return rawHasMatch(new Object[]{pInc}); - } - - /** - * Returns the number of all matches of the pattern that conform to the given fixed values of some parameters. - * @param pInc the fixed value of pattern parameter inc, or null if not bound. - * @return the number of pattern matches found. - * - */ - public int countMatches(final Income pInc) { - return rawCountMatches(new Object[]{pInc}); - } - - /** - * Executes the given processor on an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. - * Neither determinism nor randomness of selection is guaranteed. - * @param pInc the fixed value of pattern parameter inc, or null if not bound. - * @param processor the action that will process the selected match. - * @return true if the pattern has at least one match with the given parameter values, false if the processor was not invoked - * - */ - public boolean forOneArbitraryMatch(final Income pInc, final Consumer processor) { - return rawForOneArbitraryMatch(new Object[]{pInc}, processor); - } - - /** - * Returns a new (partial) match. - * This can be used e.g. to call the matcher with a partial match. - *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. - * @param pInc the fixed value of pattern parameter inc, or null if not bound. - * @return the (partial) match object. - * - */ - public X_inv05_inRange.Match newMatch(final Income pInc) { - return X_inv05_inRange.Match.newMatch(pInc); - } - - /** - * Retrieve the set of values that occur in matches for inc. - * @return the Set of all values or empty set if there are no matches - * - */ - protected Stream rawStreamAllValuesOfinc(final Object[] parameters) { - return rawStreamAllValues(POSITION_INC, parameters).map(Income.class::cast); - } - - /** - * Retrieve the set of values that occur in matches for inc. - * @return the Set of all values or empty set if there are no matches - * - */ - public Set getAllValuesOfinc() { - return rawStreamAllValuesOfinc(emptyArray()).collect(Collectors.toSet()); - } - - /** - * Retrieve the set of values that occur in matches for inc. - * @return the Set of all values or empty set if there are no matches - * - */ - public Stream streamAllValuesOfinc() { - return rawStreamAllValuesOfinc(emptyArray()); - } - - @Override - protected X_inv05_inRange.Match tupleToMatch(final Tuple t) { - try { - return X_inv05_inRange.Match.newMatch((Income) t.get(POSITION_INC)); - } catch(ClassCastException e) { - LOGGER.error("Element(s) in tuple not properly typed!",e); - return null; - } - } - - @Override - protected X_inv05_inRange.Match arrayToMatch(final Object[] match) { - try { - return X_inv05_inRange.Match.newMatch((Income) match[POSITION_INC]); - } catch(ClassCastException e) { - LOGGER.error("Element(s) in array not properly typed!",e); - return null; - } - } - - @Override - protected X_inv05_inRange.Match arrayToMatchMutable(final Object[] match) { - try { - return X_inv05_inRange.Match.newMutableMatch((Income) match[POSITION_INC]); - } catch(ClassCastException e) { - LOGGER.error("Element(s) in array not properly typed!",e); - return null; - } - } - - /** - * @return the singleton instance of the query specification of this pattern - * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded - * - */ - public static IQuerySpecification querySpecification() { - return X_inv05_inRange.instance(); - } - } - - private X_inv05_inRange() { - super(GeneratedPQuery.INSTANCE); - } - - /** - * @return the singleton instance of the query specification - * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded - * - */ - public static X_inv05_inRange instance() { - try{ - return LazyHolder.INSTANCE; - } catch (ExceptionInInitializerError err) { - throw processInitializerError(err); - } - } - - @Override - protected X_inv05_inRange.Matcher instantiate(final ViatraQueryEngine engine) { - return X_inv05_inRange.Matcher.on(engine); - } - - @Override - public X_inv05_inRange.Matcher instantiate() { - return X_inv05_inRange.Matcher.create(); - } - - @Override - public X_inv05_inRange.Match newEmptyMatch() { - return X_inv05_inRange.Match.newEmptyMatch(); - } - - @Override - public X_inv05_inRange.Match newMatch(final Object... parameters) { - return X_inv05_inRange.Match.newMatch((Taxation.Income) parameters[0]); - } - - /** - * Inner class allowing the singleton instance of {@link X_inv05_inRange} to be created - * not at the class load time of the outer class, - * but rather at the first call to {@link X_inv05_inRange#instance()}. - * - *

    This workaround is required e.g. to support recursion. - * - */ - private static class LazyHolder { - private static final X_inv05_inRange INSTANCE = new X_inv05_inRange(); - - /** - * Statically initializes the query specification after the field {@link #INSTANCE} is assigned. - * This initialization order is required to support indirect recursion. - * - *

    The static initializer is defined using a helper field to work around limitations of the code generator. - * - */ - private static final Object STATIC_INITIALIZER = ensureInitialized(); - - public static Object ensureInitialized() { - INSTANCE.ensureInitializedInternal(); - return null; - } - } - - private static class GeneratedPQuery extends BaseGeneratedEMFPQuery { - private static final X_inv05_inRange.GeneratedPQuery INSTANCE = new GeneratedPQuery(); - - private final PParameter parameter_inc = new PParameter("inc", "Taxation.Income", new EClassTransitiveInstancesKey((EClass)getClassifierLiteralSafe("http:///TaxCard.ecore", "Income")), PParameterDirection.INOUT); - - private final List parameters = Arrays.asList(parameter_inc); - - private GeneratedPQuery() { - super(PVisibility.PUBLIC); - } - - @Override - public String getFullyQualifiedName() { - return "queries.x_inv05_inRange"; - } - - @Override - public List getParameterNames() { - return Arrays.asList("inc"); - } - - @Override - public List getParameters() { - return parameters; - } - - @Override - public Set doGetContainedBodies() { - setEvaluationHints(new QueryEvaluationHint(null, QueryEvaluationHint.BackendRequirement.UNSPECIFIED)); - Set bodies = new LinkedHashSet<>(); - { - PBody body = new PBody(this); - PVariable var_inc = body.getOrCreateVariableByName("inc"); - PVariable var_wd = body.getOrCreateVariableByName("wd"); - new TypeConstraint(body, Tuples.flatTupleOf(var_inc), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Income"))); - body.setSymbolicParameters(Arrays.asList( - new ExportedParameter(body, var_inc, parameter_inc) - )); - // Income.details.worked_days(inc, wd) - new TypeConstraint(body, Tuples.flatTupleOf(var_inc), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Income"))); - PVariable var__virtual_0_ = body.getOrCreateVariableByName(".virtual{0}"); - new TypeConstraint(body, Tuples.flatTupleOf(var_inc, var__virtual_0_), new EStructuralFeatureInstancesKey(getFeatureLiteral("http:///TaxCard.ecore", "Income", "details"))); - new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_0_), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Income_Detail"))); - PVariable var__virtual_1_ = body.getOrCreateVariableByName(".virtual{1}"); - new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_0_, var__virtual_1_), new EStructuralFeatureInstancesKey(getFeatureLiteral("http:///TaxCard.ecore", "Income_Detail", "worked_days"))); - new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_1_), new EDataTypeInSlotsKey((EDataType)getClassifierLiteral("http://www.eclipse.org/emf/2002/Ecore", "EInt"))); - new Equality(body, var__virtual_1_, var_wd); - // check(wd < 1) - new ExpressionEvaluation(body, new IExpressionEvaluator() { - - @Override - public String getShortDescription() { - return "Expression evaluation from pattern x_inv05_inRange"; - } - - @Override - public Iterable getInputParameterNames() { - return Arrays.asList("wd");} - - @Override - public Object evaluateExpression(IValueProvider provider) throws Exception { - Integer wd = (Integer) provider.getValue("wd"); - return evaluateExpression_1_1(wd); - } - }, null); - bodies.add(body); - } - { - PBody body = new PBody(this); - PVariable var_inc = body.getOrCreateVariableByName("inc"); - PVariable var_wd = body.getOrCreateVariableByName("wd"); - new TypeConstraint(body, Tuples.flatTupleOf(var_inc), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Income"))); - body.setSymbolicParameters(Arrays.asList( - new ExportedParameter(body, var_inc, parameter_inc) - )); - // Income.details.worked_days(inc, wd) - new TypeConstraint(body, Tuples.flatTupleOf(var_inc), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Income"))); - PVariable var__virtual_0_ = body.getOrCreateVariableByName(".virtual{0}"); - new TypeConstraint(body, Tuples.flatTupleOf(var_inc, var__virtual_0_), new EStructuralFeatureInstancesKey(getFeatureLiteral("http:///TaxCard.ecore", "Income", "details"))); - new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_0_), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Income_Detail"))); - PVariable var__virtual_1_ = body.getOrCreateVariableByName(".virtual{1}"); - new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_0_, var__virtual_1_), new EStructuralFeatureInstancesKey(getFeatureLiteral("http:///TaxCard.ecore", "Income_Detail", "worked_days"))); - new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_1_), new EDataTypeInSlotsKey((EDataType)getClassifierLiteral("http://www.eclipse.org/emf/2002/Ecore", "EInt"))); - new Equality(body, var__virtual_1_, var_wd); - // check(wd > 25) - new ExpressionEvaluation(body, new IExpressionEvaluator() { - - @Override - public String getShortDescription() { - return "Expression evaluation from pattern x_inv05_inRange"; - } - - @Override - public Iterable getInputParameterNames() { - return Arrays.asList("wd");} - - @Override - public Object evaluateExpression(IValueProvider provider) throws Exception { - Integer wd = (Integer) provider.getValue("wd"); - return evaluateExpression_2_1(wd); - } - }, null); - bodies.add(body); - } - return bodies; - } - } - - private static boolean evaluateExpression_1_1(final Integer wd) { - return ((wd).intValue() < 1); - } - - private static boolean evaluateExpression_2_1(final Integer wd) { - return ((wd).intValue() > 25); - } -} diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/X_inv08_inRange.java b/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/X_inv08_inRange.java deleted file mode 100644 index b3efea21..00000000 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/X_inv08_inRange.java +++ /dev/null @@ -1,630 +0,0 @@ -/** - * Generated from platform:/resource/case.study.pledge.run/src/queries/case_study_A.vql - */ -package queries; - -import Taxation.Income; -import java.util.Arrays; -import java.util.Collection; -import java.util.LinkedHashSet; -import java.util.List; -import java.util.Objects; -import java.util.Optional; -import java.util.Set; -import java.util.function.Consumer; -import java.util.stream.Collectors; -import java.util.stream.Stream; -import org.apache.log4j.Logger; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EDataType; -import org.eclipse.viatra.query.runtime.api.IPatternMatch; -import org.eclipse.viatra.query.runtime.api.IQuerySpecification; -import org.eclipse.viatra.query.runtime.api.ViatraQueryEngine; -import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFPQuery; -import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFQuerySpecification; -import org.eclipse.viatra.query.runtime.api.impl.BaseMatcher; -import org.eclipse.viatra.query.runtime.api.impl.BasePatternMatch; -import org.eclipse.viatra.query.runtime.emf.types.EClassTransitiveInstancesKey; -import org.eclipse.viatra.query.runtime.emf.types.EDataTypeInSlotsKey; -import org.eclipse.viatra.query.runtime.emf.types.EStructuralFeatureInstancesKey; -import org.eclipse.viatra.query.runtime.matchers.backend.QueryEvaluationHint; -import org.eclipse.viatra.query.runtime.matchers.psystem.IExpressionEvaluator; -import org.eclipse.viatra.query.runtime.matchers.psystem.IValueProvider; -import org.eclipse.viatra.query.runtime.matchers.psystem.PBody; -import org.eclipse.viatra.query.runtime.matchers.psystem.PVariable; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.Equality; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.ExportedParameter; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.ExpressionEvaluation; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicenumerables.TypeConstraint; -import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameter; -import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameterDirection; -import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PVisibility; -import org.eclipse.viatra.query.runtime.matchers.tuple.Tuple; -import org.eclipse.viatra.query.runtime.matchers.tuple.Tuples; -import org.eclipse.viatra.query.runtime.util.ViatraQueryLoggingUtil; - -/** - * A pattern-specific query specification that can instantiate Matcher in a type-safe way. - * - *

    Original source: - *

    - *         pattern x_inv08_inRange(inc : Income) {
    - *             Income.details.distance(inc, dist);
    - *             check(dist {@literal <} 0);
    - *         } or {
    - *             Income.details.distance(inc, dist);
    - *             check(dist {@literal >} 100);
    - *         }
    - * 
    - * - * @see Matcher - * @see Match - * - */ -@SuppressWarnings("all") -public final class X_inv08_inRange extends BaseGeneratedEMFQuerySpecification { - /** - * Pattern-specific match representation of the queries.x_inv08_inRange pattern, - * to be used in conjunction with {@link Matcher}. - * - *

    Class fields correspond to parameters of the pattern. Fields with value null are considered unassigned. - * Each instance is a (possibly partial) substitution of pattern parameters, - * usable to represent a match of the pattern in the result of a query, - * or to specify the bound (fixed) input parameters when issuing a query. - * - * @see Matcher - * - */ - public static abstract class Match extends BasePatternMatch { - private Income fInc; - - private static List parameterNames = makeImmutableList("inc"); - - private Match(final Income pInc) { - this.fInc = pInc; - } - - @Override - public Object get(final String parameterName) { - switch(parameterName) { - case "inc": return this.fInc; - default: return null; - } - } - - @Override - public Object get(final int index) { - switch(index) { - case 0: return this.fInc; - default: return null; - } - } - - public Income getInc() { - return this.fInc; - } - - @Override - public boolean set(final String parameterName, final Object newValue) { - if (!isMutable()) throw new java.lang.UnsupportedOperationException(); - if ("inc".equals(parameterName) ) { - this.fInc = (Income) newValue; - return true; - } - return false; - } - - public void setInc(final Income pInc) { - if (!isMutable()) throw new java.lang.UnsupportedOperationException(); - this.fInc = pInc; - } - - @Override - public String patternName() { - return "queries.x_inv08_inRange"; - } - - @Override - public List parameterNames() { - return X_inv08_inRange.Match.parameterNames; - } - - @Override - public Object[] toArray() { - return new Object[]{fInc}; - } - - @Override - public X_inv08_inRange.Match toImmutable() { - return isMutable() ? newMatch(fInc) : this; - } - - @Override - public String prettyPrint() { - StringBuilder result = new StringBuilder(); - result.append("\"inc\"=" + prettyPrintValue(fInc)); - return result.toString(); - } - - @Override - public int hashCode() { - return Objects.hash(fInc); - } - - @Override - public boolean equals(final Object obj) { - if (this == obj) - return true; - if (obj == null) { - return false; - } - if ((obj instanceof X_inv08_inRange.Match)) { - X_inv08_inRange.Match other = (X_inv08_inRange.Match) obj; - return Objects.equals(fInc, other.fInc); - } else { - // this should be infrequent - if (!(obj instanceof IPatternMatch)) { - return false; - } - IPatternMatch otherSig = (IPatternMatch) obj; - return Objects.equals(specification(), otherSig.specification()) && Arrays.deepEquals(toArray(), otherSig.toArray()); - } - } - - @Override - public X_inv08_inRange specification() { - return X_inv08_inRange.instance(); - } - - /** - * Returns an empty, mutable match. - * Fields of the mutable match can be filled to create a partial match, usable as matcher input. - * - * @return the empty match. - * - */ - public static X_inv08_inRange.Match newEmptyMatch() { - return new Mutable(null); - } - - /** - * Returns a mutable (partial) match. - * Fields of the mutable match can be filled to create a partial match, usable as matcher input. - * - * @param pInc the fixed value of pattern parameter inc, or null if not bound. - * @return the new, mutable (partial) match object. - * - */ - public static X_inv08_inRange.Match newMutableMatch(final Income pInc) { - return new Mutable(pInc); - } - - /** - * Returns a new (partial) match. - * This can be used e.g. to call the matcher with a partial match. - *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. - * @param pInc the fixed value of pattern parameter inc, or null if not bound. - * @return the (partial) match object. - * - */ - public static X_inv08_inRange.Match newMatch(final Income pInc) { - return new Immutable(pInc); - } - - private static final class Mutable extends X_inv08_inRange.Match { - Mutable(final Income pInc) { - super(pInc); - } - - @Override - public boolean isMutable() { - return true; - } - } - - private static final class Immutable extends X_inv08_inRange.Match { - Immutable(final Income pInc) { - super(pInc); - } - - @Override - public boolean isMutable() { - return false; - } - } - } - - /** - * Generated pattern matcher API of the queries.x_inv08_inRange pattern, - * providing pattern-specific query methods. - * - *

    Use the pattern matcher on a given model via {@link #on(ViatraQueryEngine)}, - * e.g. in conjunction with {@link ViatraQueryEngine#on(QueryScope)}. - * - *

    Matches of the pattern will be represented as {@link Match}. - * - *

    Original source: - *

    -   * pattern x_inv08_inRange(inc : Income) {
    -   *     Income.details.distance(inc, dist);
    -   *     check(dist {@literal <} 0);
    -   * } or {
    -   *     Income.details.distance(inc, dist);
    -   *     check(dist {@literal >} 100);
    -   * }
    -   * 
    - * - * @see Match - * @see X_inv08_inRange - * - */ - public static class Matcher extends BaseMatcher { - /** - * Initializes the pattern matcher within an existing VIATRA Query engine. - * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. - * - * @param engine the existing VIATRA Query engine in which this matcher will be created. - * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation - * - */ - public static X_inv08_inRange.Matcher on(final ViatraQueryEngine engine) { - // check if matcher already exists - Matcher matcher = engine.getExistingMatcher(querySpecification()); - if (matcher == null) { - matcher = (Matcher)engine.getMatcher(querySpecification()); - } - return matcher; - } - - /** - * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation - * @return an initialized matcher - * @noreference This method is for internal matcher initialization by the framework, do not call it manually. - * - */ - public static X_inv08_inRange.Matcher create() { - return new Matcher(); - } - - private static final int POSITION_INC = 0; - - private static final Logger LOGGER = ViatraQueryLoggingUtil.getLogger(X_inv08_inRange.Matcher.class); - - /** - * Initializes the pattern matcher within an existing VIATRA Query engine. - * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. - * - * @param engine the existing VIATRA Query engine in which this matcher will be created. - * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation - * - */ - private Matcher() { - super(querySpecification()); - } - - /** - * Returns the set of all matches of the pattern that conform to the given fixed values of some parameters. - * @param pInc the fixed value of pattern parameter inc, or null if not bound. - * @return matches represented as a Match object. - * - */ - public Collection getAllMatches(final Income pInc) { - return rawStreamAllMatches(new Object[]{pInc}).collect(Collectors.toSet()); - } - - /** - * Returns a stream of all matches of the pattern that conform to the given fixed values of some parameters. - *

    - * NOTE: It is important not to modify the source model while the stream is being processed. - * If the match set of the pattern changes during processing, the contents of the stream is undefined. - * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. - * @param pInc the fixed value of pattern parameter inc, or null if not bound. - * @return a stream of matches represented as a Match object. - * - */ - public Stream streamAllMatches(final Income pInc) { - return rawStreamAllMatches(new Object[]{pInc}); - } - - /** - * Returns an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. - * Neither determinism nor randomness of selection is guaranteed. - * @param pInc the fixed value of pattern parameter inc, or null if not bound. - * @return a match represented as a Match object, or null if no match is found. - * - */ - public Optional getOneArbitraryMatch(final Income pInc) { - return rawGetOneArbitraryMatch(new Object[]{pInc}); - } - - /** - * Indicates whether the given combination of specified pattern parameters constitute a valid pattern match, - * under any possible substitution of the unspecified parameters (if any). - * @param pInc the fixed value of pattern parameter inc, or null if not bound. - * @return true if the input is a valid (partial) match of the pattern. - * - */ - public boolean hasMatch(final Income pInc) { - return rawHasMatch(new Object[]{pInc}); - } - - /** - * Returns the number of all matches of the pattern that conform to the given fixed values of some parameters. - * @param pInc the fixed value of pattern parameter inc, or null if not bound. - * @return the number of pattern matches found. - * - */ - public int countMatches(final Income pInc) { - return rawCountMatches(new Object[]{pInc}); - } - - /** - * Executes the given processor on an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. - * Neither determinism nor randomness of selection is guaranteed. - * @param pInc the fixed value of pattern parameter inc, or null if not bound. - * @param processor the action that will process the selected match. - * @return true if the pattern has at least one match with the given parameter values, false if the processor was not invoked - * - */ - public boolean forOneArbitraryMatch(final Income pInc, final Consumer processor) { - return rawForOneArbitraryMatch(new Object[]{pInc}, processor); - } - - /** - * Returns a new (partial) match. - * This can be used e.g. to call the matcher with a partial match. - *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. - * @param pInc the fixed value of pattern parameter inc, or null if not bound. - * @return the (partial) match object. - * - */ - public X_inv08_inRange.Match newMatch(final Income pInc) { - return X_inv08_inRange.Match.newMatch(pInc); - } - - /** - * Retrieve the set of values that occur in matches for inc. - * @return the Set of all values or empty set if there are no matches - * - */ - protected Stream rawStreamAllValuesOfinc(final Object[] parameters) { - return rawStreamAllValues(POSITION_INC, parameters).map(Income.class::cast); - } - - /** - * Retrieve the set of values that occur in matches for inc. - * @return the Set of all values or empty set if there are no matches - * - */ - public Set getAllValuesOfinc() { - return rawStreamAllValuesOfinc(emptyArray()).collect(Collectors.toSet()); - } - - /** - * Retrieve the set of values that occur in matches for inc. - * @return the Set of all values or empty set if there are no matches - * - */ - public Stream streamAllValuesOfinc() { - return rawStreamAllValuesOfinc(emptyArray()); - } - - @Override - protected X_inv08_inRange.Match tupleToMatch(final Tuple t) { - try { - return X_inv08_inRange.Match.newMatch((Income) t.get(POSITION_INC)); - } catch(ClassCastException e) { - LOGGER.error("Element(s) in tuple not properly typed!",e); - return null; - } - } - - @Override - protected X_inv08_inRange.Match arrayToMatch(final Object[] match) { - try { - return X_inv08_inRange.Match.newMatch((Income) match[POSITION_INC]); - } catch(ClassCastException e) { - LOGGER.error("Element(s) in array not properly typed!",e); - return null; - } - } - - @Override - protected X_inv08_inRange.Match arrayToMatchMutable(final Object[] match) { - try { - return X_inv08_inRange.Match.newMutableMatch((Income) match[POSITION_INC]); - } catch(ClassCastException e) { - LOGGER.error("Element(s) in array not properly typed!",e); - return null; - } - } - - /** - * @return the singleton instance of the query specification of this pattern - * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded - * - */ - public static IQuerySpecification querySpecification() { - return X_inv08_inRange.instance(); - } - } - - private X_inv08_inRange() { - super(GeneratedPQuery.INSTANCE); - } - - /** - * @return the singleton instance of the query specification - * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded - * - */ - public static X_inv08_inRange instance() { - try{ - return LazyHolder.INSTANCE; - } catch (ExceptionInInitializerError err) { - throw processInitializerError(err); - } - } - - @Override - protected X_inv08_inRange.Matcher instantiate(final ViatraQueryEngine engine) { - return X_inv08_inRange.Matcher.on(engine); - } - - @Override - public X_inv08_inRange.Matcher instantiate() { - return X_inv08_inRange.Matcher.create(); - } - - @Override - public X_inv08_inRange.Match newEmptyMatch() { - return X_inv08_inRange.Match.newEmptyMatch(); - } - - @Override - public X_inv08_inRange.Match newMatch(final Object... parameters) { - return X_inv08_inRange.Match.newMatch((Taxation.Income) parameters[0]); - } - - /** - * Inner class allowing the singleton instance of {@link X_inv08_inRange} to be created - * not at the class load time of the outer class, - * but rather at the first call to {@link X_inv08_inRange#instance()}. - * - *

    This workaround is required e.g. to support recursion. - * - */ - private static class LazyHolder { - private static final X_inv08_inRange INSTANCE = new X_inv08_inRange(); - - /** - * Statically initializes the query specification after the field {@link #INSTANCE} is assigned. - * This initialization order is required to support indirect recursion. - * - *

    The static initializer is defined using a helper field to work around limitations of the code generator. - * - */ - private static final Object STATIC_INITIALIZER = ensureInitialized(); - - public static Object ensureInitialized() { - INSTANCE.ensureInitializedInternal(); - return null; - } - } - - private static class GeneratedPQuery extends BaseGeneratedEMFPQuery { - private static final X_inv08_inRange.GeneratedPQuery INSTANCE = new GeneratedPQuery(); - - private final PParameter parameter_inc = new PParameter("inc", "Taxation.Income", new EClassTransitiveInstancesKey((EClass)getClassifierLiteralSafe("http:///TaxCard.ecore", "Income")), PParameterDirection.INOUT); - - private final List parameters = Arrays.asList(parameter_inc); - - private GeneratedPQuery() { - super(PVisibility.PUBLIC); - } - - @Override - public String getFullyQualifiedName() { - return "queries.x_inv08_inRange"; - } - - @Override - public List getParameterNames() { - return Arrays.asList("inc"); - } - - @Override - public List getParameters() { - return parameters; - } - - @Override - public Set doGetContainedBodies() { - setEvaluationHints(new QueryEvaluationHint(null, QueryEvaluationHint.BackendRequirement.UNSPECIFIED)); - Set bodies = new LinkedHashSet<>(); - { - PBody body = new PBody(this); - PVariable var_inc = body.getOrCreateVariableByName("inc"); - PVariable var_dist = body.getOrCreateVariableByName("dist"); - new TypeConstraint(body, Tuples.flatTupleOf(var_inc), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Income"))); - body.setSymbolicParameters(Arrays.asList( - new ExportedParameter(body, var_inc, parameter_inc) - )); - // Income.details.distance(inc, dist) - new TypeConstraint(body, Tuples.flatTupleOf(var_inc), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Income"))); - PVariable var__virtual_0_ = body.getOrCreateVariableByName(".virtual{0}"); - new TypeConstraint(body, Tuples.flatTupleOf(var_inc, var__virtual_0_), new EStructuralFeatureInstancesKey(getFeatureLiteral("http:///TaxCard.ecore", "Income", "details"))); - new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_0_), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Income_Detail"))); - PVariable var__virtual_1_ = body.getOrCreateVariableByName(".virtual{1}"); - new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_0_, var__virtual_1_), new EStructuralFeatureInstancesKey(getFeatureLiteral("http:///TaxCard.ecore", "Income_Detail", "distance"))); - new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_1_), new EDataTypeInSlotsKey((EDataType)getClassifierLiteral("http://www.eclipse.org/emf/2002/Ecore", "EDouble"))); - new Equality(body, var__virtual_1_, var_dist); - // check(dist < 0) - new ExpressionEvaluation(body, new IExpressionEvaluator() { - - @Override - public String getShortDescription() { - return "Expression evaluation from pattern x_inv08_inRange"; - } - - @Override - public Iterable getInputParameterNames() { - return Arrays.asList("dist");} - - @Override - public Object evaluateExpression(IValueProvider provider) throws Exception { - Double dist = (Double) provider.getValue("dist"); - return evaluateExpression_1_1(dist); - } - }, null); - bodies.add(body); - } - { - PBody body = new PBody(this); - PVariable var_inc = body.getOrCreateVariableByName("inc"); - PVariable var_dist = body.getOrCreateVariableByName("dist"); - new TypeConstraint(body, Tuples.flatTupleOf(var_inc), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Income"))); - body.setSymbolicParameters(Arrays.asList( - new ExportedParameter(body, var_inc, parameter_inc) - )); - // Income.details.distance(inc, dist) - new TypeConstraint(body, Tuples.flatTupleOf(var_inc), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Income"))); - PVariable var__virtual_0_ = body.getOrCreateVariableByName(".virtual{0}"); - new TypeConstraint(body, Tuples.flatTupleOf(var_inc, var__virtual_0_), new EStructuralFeatureInstancesKey(getFeatureLiteral("http:///TaxCard.ecore", "Income", "details"))); - new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_0_), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Income_Detail"))); - PVariable var__virtual_1_ = body.getOrCreateVariableByName(".virtual{1}"); - new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_0_, var__virtual_1_), new EStructuralFeatureInstancesKey(getFeatureLiteral("http:///TaxCard.ecore", "Income_Detail", "distance"))); - new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_1_), new EDataTypeInSlotsKey((EDataType)getClassifierLiteral("http://www.eclipse.org/emf/2002/Ecore", "EDouble"))); - new Equality(body, var__virtual_1_, var_dist); - // check(dist > 100) - new ExpressionEvaluation(body, new IExpressionEvaluator() { - - @Override - public String getShortDescription() { - return "Expression evaluation from pattern x_inv08_inRange"; - } - - @Override - public Iterable getInputParameterNames() { - return Arrays.asList("dist");} - - @Override - public Object evaluateExpression(IValueProvider provider) throws Exception { - Double dist = (Double) provider.getValue("dist"); - return evaluateExpression_2_1(dist); - } - }, null); - bodies.add(body); - } - return bodies; - } - } - - private static boolean evaluateExpression_1_1(final Double dist) { - return ((dist).doubleValue() < 0); - } - - private static boolean evaluateExpression_2_1(final Double dist) { - return ((dist).doubleValue() > 100); - } -} diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/X_inv08_noType.java b/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/X_inv08_noType.java deleted file mode 100644 index 451d7d66..00000000 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/X_inv08_noType.java +++ /dev/null @@ -1,551 +0,0 @@ -/** - * Generated from platform:/resource/case.study.pledge.run/src/queries/case_study_A.vql - */ -package queries; - -import Taxation.Income; -import java.util.Arrays; -import java.util.Collection; -import java.util.LinkedHashSet; -import java.util.List; -import java.util.Objects; -import java.util.Optional; -import java.util.Set; -import java.util.function.Consumer; -import java.util.stream.Collectors; -import java.util.stream.Stream; -import org.apache.log4j.Logger; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.viatra.query.runtime.api.IPatternMatch; -import org.eclipse.viatra.query.runtime.api.IQuerySpecification; -import org.eclipse.viatra.query.runtime.api.ViatraQueryEngine; -import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFPQuery; -import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFQuerySpecification; -import org.eclipse.viatra.query.runtime.api.impl.BaseMatcher; -import org.eclipse.viatra.query.runtime.api.impl.BasePatternMatch; -import org.eclipse.viatra.query.runtime.emf.types.EClassTransitiveInstancesKey; -import org.eclipse.viatra.query.runtime.emf.types.EStructuralFeatureInstancesKey; -import org.eclipse.viatra.query.runtime.matchers.backend.QueryEvaluationHint; -import org.eclipse.viatra.query.runtime.matchers.psystem.PBody; -import org.eclipse.viatra.query.runtime.matchers.psystem.PVariable; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.Equality; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.ExportedParameter; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicenumerables.TypeConstraint; -import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameter; -import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameterDirection; -import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PVisibility; -import org.eclipse.viatra.query.runtime.matchers.tuple.Tuple; -import org.eclipse.viatra.query.runtime.matchers.tuple.Tuples; -import org.eclipse.viatra.query.runtime.util.ViatraQueryLoggingUtil; - -/** - * A pattern-specific query specification that can instantiate Matcher in a type-safe way. - * - *

    Original source: - *

    - *         pattern x_inv08_noType(inc : Income) {
    - *             Income.income_type(inc, _);
    - *         }
    - * 
    - * - * @see Matcher - * @see Match - * - */ -@SuppressWarnings("all") -public final class X_inv08_noType extends BaseGeneratedEMFQuerySpecification { - /** - * Pattern-specific match representation of the queries.x_inv08_noType pattern, - * to be used in conjunction with {@link Matcher}. - * - *

    Class fields correspond to parameters of the pattern. Fields with value null are considered unassigned. - * Each instance is a (possibly partial) substitution of pattern parameters, - * usable to represent a match of the pattern in the result of a query, - * or to specify the bound (fixed) input parameters when issuing a query. - * - * @see Matcher - * - */ - public static abstract class Match extends BasePatternMatch { - private Income fInc; - - private static List parameterNames = makeImmutableList("inc"); - - private Match(final Income pInc) { - this.fInc = pInc; - } - - @Override - public Object get(final String parameterName) { - switch(parameterName) { - case "inc": return this.fInc; - default: return null; - } - } - - @Override - public Object get(final int index) { - switch(index) { - case 0: return this.fInc; - default: return null; - } - } - - public Income getInc() { - return this.fInc; - } - - @Override - public boolean set(final String parameterName, final Object newValue) { - if (!isMutable()) throw new java.lang.UnsupportedOperationException(); - if ("inc".equals(parameterName) ) { - this.fInc = (Income) newValue; - return true; - } - return false; - } - - public void setInc(final Income pInc) { - if (!isMutable()) throw new java.lang.UnsupportedOperationException(); - this.fInc = pInc; - } - - @Override - public String patternName() { - return "queries.x_inv08_noType"; - } - - @Override - public List parameterNames() { - return X_inv08_noType.Match.parameterNames; - } - - @Override - public Object[] toArray() { - return new Object[]{fInc}; - } - - @Override - public X_inv08_noType.Match toImmutable() { - return isMutable() ? newMatch(fInc) : this; - } - - @Override - public String prettyPrint() { - StringBuilder result = new StringBuilder(); - result.append("\"inc\"=" + prettyPrintValue(fInc)); - return result.toString(); - } - - @Override - public int hashCode() { - return Objects.hash(fInc); - } - - @Override - public boolean equals(final Object obj) { - if (this == obj) - return true; - if (obj == null) { - return false; - } - if ((obj instanceof X_inv08_noType.Match)) { - X_inv08_noType.Match other = (X_inv08_noType.Match) obj; - return Objects.equals(fInc, other.fInc); - } else { - // this should be infrequent - if (!(obj instanceof IPatternMatch)) { - return false; - } - IPatternMatch otherSig = (IPatternMatch) obj; - return Objects.equals(specification(), otherSig.specification()) && Arrays.deepEquals(toArray(), otherSig.toArray()); - } - } - - @Override - public X_inv08_noType specification() { - return X_inv08_noType.instance(); - } - - /** - * Returns an empty, mutable match. - * Fields of the mutable match can be filled to create a partial match, usable as matcher input. - * - * @return the empty match. - * - */ - public static X_inv08_noType.Match newEmptyMatch() { - return new Mutable(null); - } - - /** - * Returns a mutable (partial) match. - * Fields of the mutable match can be filled to create a partial match, usable as matcher input. - * - * @param pInc the fixed value of pattern parameter inc, or null if not bound. - * @return the new, mutable (partial) match object. - * - */ - public static X_inv08_noType.Match newMutableMatch(final Income pInc) { - return new Mutable(pInc); - } - - /** - * Returns a new (partial) match. - * This can be used e.g. to call the matcher with a partial match. - *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. - * @param pInc the fixed value of pattern parameter inc, or null if not bound. - * @return the (partial) match object. - * - */ - public static X_inv08_noType.Match newMatch(final Income pInc) { - return new Immutable(pInc); - } - - private static final class Mutable extends X_inv08_noType.Match { - Mutable(final Income pInc) { - super(pInc); - } - - @Override - public boolean isMutable() { - return true; - } - } - - private static final class Immutable extends X_inv08_noType.Match { - Immutable(final Income pInc) { - super(pInc); - } - - @Override - public boolean isMutable() { - return false; - } - } - } - - /** - * Generated pattern matcher API of the queries.x_inv08_noType pattern, - * providing pattern-specific query methods. - * - *

    Use the pattern matcher on a given model via {@link #on(ViatraQueryEngine)}, - * e.g. in conjunction with {@link ViatraQueryEngine#on(QueryScope)}. - * - *

    Matches of the pattern will be represented as {@link Match}. - * - *

    Original source: - *

    -   * pattern x_inv08_noType(inc : Income) {
    -   *     Income.income_type(inc, _);
    -   * }
    -   * 
    - * - * @see Match - * @see X_inv08_noType - * - */ - public static class Matcher extends BaseMatcher { - /** - * Initializes the pattern matcher within an existing VIATRA Query engine. - * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. - * - * @param engine the existing VIATRA Query engine in which this matcher will be created. - * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation - * - */ - public static X_inv08_noType.Matcher on(final ViatraQueryEngine engine) { - // check if matcher already exists - Matcher matcher = engine.getExistingMatcher(querySpecification()); - if (matcher == null) { - matcher = (Matcher)engine.getMatcher(querySpecification()); - } - return matcher; - } - - /** - * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation - * @return an initialized matcher - * @noreference This method is for internal matcher initialization by the framework, do not call it manually. - * - */ - public static X_inv08_noType.Matcher create() { - return new Matcher(); - } - - private static final int POSITION_INC = 0; - - private static final Logger LOGGER = ViatraQueryLoggingUtil.getLogger(X_inv08_noType.Matcher.class); - - /** - * Initializes the pattern matcher within an existing VIATRA Query engine. - * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. - * - * @param engine the existing VIATRA Query engine in which this matcher will be created. - * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation - * - */ - private Matcher() { - super(querySpecification()); - } - - /** - * Returns the set of all matches of the pattern that conform to the given fixed values of some parameters. - * @param pInc the fixed value of pattern parameter inc, or null if not bound. - * @return matches represented as a Match object. - * - */ - public Collection getAllMatches(final Income pInc) { - return rawStreamAllMatches(new Object[]{pInc}).collect(Collectors.toSet()); - } - - /** - * Returns a stream of all matches of the pattern that conform to the given fixed values of some parameters. - *

    - * NOTE: It is important not to modify the source model while the stream is being processed. - * If the match set of the pattern changes during processing, the contents of the stream is undefined. - * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. - * @param pInc the fixed value of pattern parameter inc, or null if not bound. - * @return a stream of matches represented as a Match object. - * - */ - public Stream streamAllMatches(final Income pInc) { - return rawStreamAllMatches(new Object[]{pInc}); - } - - /** - * Returns an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. - * Neither determinism nor randomness of selection is guaranteed. - * @param pInc the fixed value of pattern parameter inc, or null if not bound. - * @return a match represented as a Match object, or null if no match is found. - * - */ - public Optional getOneArbitraryMatch(final Income pInc) { - return rawGetOneArbitraryMatch(new Object[]{pInc}); - } - - /** - * Indicates whether the given combination of specified pattern parameters constitute a valid pattern match, - * under any possible substitution of the unspecified parameters (if any). - * @param pInc the fixed value of pattern parameter inc, or null if not bound. - * @return true if the input is a valid (partial) match of the pattern. - * - */ - public boolean hasMatch(final Income pInc) { - return rawHasMatch(new Object[]{pInc}); - } - - /** - * Returns the number of all matches of the pattern that conform to the given fixed values of some parameters. - * @param pInc the fixed value of pattern parameter inc, or null if not bound. - * @return the number of pattern matches found. - * - */ - public int countMatches(final Income pInc) { - return rawCountMatches(new Object[]{pInc}); - } - - /** - * Executes the given processor on an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. - * Neither determinism nor randomness of selection is guaranteed. - * @param pInc the fixed value of pattern parameter inc, or null if not bound. - * @param processor the action that will process the selected match. - * @return true if the pattern has at least one match with the given parameter values, false if the processor was not invoked - * - */ - public boolean forOneArbitraryMatch(final Income pInc, final Consumer processor) { - return rawForOneArbitraryMatch(new Object[]{pInc}, processor); - } - - /** - * Returns a new (partial) match. - * This can be used e.g. to call the matcher with a partial match. - *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. - * @param pInc the fixed value of pattern parameter inc, or null if not bound. - * @return the (partial) match object. - * - */ - public X_inv08_noType.Match newMatch(final Income pInc) { - return X_inv08_noType.Match.newMatch(pInc); - } - - /** - * Retrieve the set of values that occur in matches for inc. - * @return the Set of all values or empty set if there are no matches - * - */ - protected Stream rawStreamAllValuesOfinc(final Object[] parameters) { - return rawStreamAllValues(POSITION_INC, parameters).map(Income.class::cast); - } - - /** - * Retrieve the set of values that occur in matches for inc. - * @return the Set of all values or empty set if there are no matches - * - */ - public Set getAllValuesOfinc() { - return rawStreamAllValuesOfinc(emptyArray()).collect(Collectors.toSet()); - } - - /** - * Retrieve the set of values that occur in matches for inc. - * @return the Set of all values or empty set if there are no matches - * - */ - public Stream streamAllValuesOfinc() { - return rawStreamAllValuesOfinc(emptyArray()); - } - - @Override - protected X_inv08_noType.Match tupleToMatch(final Tuple t) { - try { - return X_inv08_noType.Match.newMatch((Income) t.get(POSITION_INC)); - } catch(ClassCastException e) { - LOGGER.error("Element(s) in tuple not properly typed!",e); - return null; - } - } - - @Override - protected X_inv08_noType.Match arrayToMatch(final Object[] match) { - try { - return X_inv08_noType.Match.newMatch((Income) match[POSITION_INC]); - } catch(ClassCastException e) { - LOGGER.error("Element(s) in array not properly typed!",e); - return null; - } - } - - @Override - protected X_inv08_noType.Match arrayToMatchMutable(final Object[] match) { - try { - return X_inv08_noType.Match.newMutableMatch((Income) match[POSITION_INC]); - } catch(ClassCastException e) { - LOGGER.error("Element(s) in array not properly typed!",e); - return null; - } - } - - /** - * @return the singleton instance of the query specification of this pattern - * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded - * - */ - public static IQuerySpecification querySpecification() { - return X_inv08_noType.instance(); - } - } - - private X_inv08_noType() { - super(GeneratedPQuery.INSTANCE); - } - - /** - * @return the singleton instance of the query specification - * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded - * - */ - public static X_inv08_noType instance() { - try{ - return LazyHolder.INSTANCE; - } catch (ExceptionInInitializerError err) { - throw processInitializerError(err); - } - } - - @Override - protected X_inv08_noType.Matcher instantiate(final ViatraQueryEngine engine) { - return X_inv08_noType.Matcher.on(engine); - } - - @Override - public X_inv08_noType.Matcher instantiate() { - return X_inv08_noType.Matcher.create(); - } - - @Override - public X_inv08_noType.Match newEmptyMatch() { - return X_inv08_noType.Match.newEmptyMatch(); - } - - @Override - public X_inv08_noType.Match newMatch(final Object... parameters) { - return X_inv08_noType.Match.newMatch((Taxation.Income) parameters[0]); - } - - /** - * Inner class allowing the singleton instance of {@link X_inv08_noType} to be created - * not at the class load time of the outer class, - * but rather at the first call to {@link X_inv08_noType#instance()}. - * - *

    This workaround is required e.g. to support recursion. - * - */ - private static class LazyHolder { - private static final X_inv08_noType INSTANCE = new X_inv08_noType(); - - /** - * Statically initializes the query specification after the field {@link #INSTANCE} is assigned. - * This initialization order is required to support indirect recursion. - * - *

    The static initializer is defined using a helper field to work around limitations of the code generator. - * - */ - private static final Object STATIC_INITIALIZER = ensureInitialized(); - - public static Object ensureInitialized() { - INSTANCE.ensureInitializedInternal(); - return null; - } - } - - private static class GeneratedPQuery extends BaseGeneratedEMFPQuery { - private static final X_inv08_noType.GeneratedPQuery INSTANCE = new GeneratedPQuery(); - - private final PParameter parameter_inc = new PParameter("inc", "Taxation.Income", new EClassTransitiveInstancesKey((EClass)getClassifierLiteralSafe("http:///TaxCard.ecore", "Income")), PParameterDirection.INOUT); - - private final List parameters = Arrays.asList(parameter_inc); - - private GeneratedPQuery() { - super(PVisibility.PUBLIC); - } - - @Override - public String getFullyQualifiedName() { - return "queries.x_inv08_noType"; - } - - @Override - public List getParameterNames() { - return Arrays.asList("inc"); - } - - @Override - public List getParameters() { - return parameters; - } - - @Override - public Set doGetContainedBodies() { - setEvaluationHints(new QueryEvaluationHint(null, QueryEvaluationHint.BackendRequirement.UNSPECIFIED)); - Set bodies = new LinkedHashSet<>(); - { - PBody body = new PBody(this); - PVariable var_inc = body.getOrCreateVariableByName("inc"); - PVariable var___0_ = body.getOrCreateVariableByName("_<0>"); - new TypeConstraint(body, Tuples.flatTupleOf(var_inc), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Income"))); - body.setSymbolicParameters(Arrays.asList( - new ExportedParameter(body, var_inc, parameter_inc) - )); - // Income.income_type(inc, _) - new TypeConstraint(body, Tuples.flatTupleOf(var_inc), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Income"))); - PVariable var__virtual_0_ = body.getOrCreateVariableByName(".virtual{0}"); - new TypeConstraint(body, Tuples.flatTupleOf(var_inc, var__virtual_0_), new EStructuralFeatureInstancesKey(getFeatureLiteral("http:///TaxCard.ecore", "Income", "income_type"))); - new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_0_), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Income_Type"))); - new Equality(body, var__virtual_0_, var___0_); - bodies.add(body); - } - return bodies; - } - } -} diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/X_inv08_notEI.java b/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/X_inv08_notEI.java deleted file mode 100644 index 07236028..00000000 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/X_inv08_notEI.java +++ /dev/null @@ -1,544 +0,0 @@ -/** - * Generated from platform:/resource/case.study.pledge.run/src/queries/case_study_A.vql - */ -package queries; - -import Taxation.Employment_Income; -import java.util.Arrays; -import java.util.Collection; -import java.util.LinkedHashSet; -import java.util.List; -import java.util.Objects; -import java.util.Optional; -import java.util.Set; -import java.util.function.Consumer; -import java.util.stream.Collectors; -import java.util.stream.Stream; -import org.apache.log4j.Logger; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.viatra.query.runtime.api.IPatternMatch; -import org.eclipse.viatra.query.runtime.api.IQuerySpecification; -import org.eclipse.viatra.query.runtime.api.ViatraQueryEngine; -import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFPQuery; -import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFQuerySpecification; -import org.eclipse.viatra.query.runtime.api.impl.BaseMatcher; -import org.eclipse.viatra.query.runtime.api.impl.BasePatternMatch; -import org.eclipse.viatra.query.runtime.emf.types.EClassTransitiveInstancesKey; -import org.eclipse.viatra.query.runtime.matchers.backend.QueryEvaluationHint; -import org.eclipse.viatra.query.runtime.matchers.psystem.PBody; -import org.eclipse.viatra.query.runtime.matchers.psystem.PVariable; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.ExportedParameter; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicenumerables.TypeConstraint; -import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameter; -import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameterDirection; -import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PVisibility; -import org.eclipse.viatra.query.runtime.matchers.tuple.Tuple; -import org.eclipse.viatra.query.runtime.matchers.tuple.Tuples; -import org.eclipse.viatra.query.runtime.util.ViatraQueryLoggingUtil; - -/** - * A pattern-specific query specification that can instantiate Matcher in a type-safe way. - * - *

    Original source: - *

    - *         pattern x_inv08_notEI(type : Employment_Income) {
    - *             Employment_Income(type);
    - *         }
    - * 
    - * - * @see Matcher - * @see Match - * - */ -@SuppressWarnings("all") -public final class X_inv08_notEI extends BaseGeneratedEMFQuerySpecification { - /** - * Pattern-specific match representation of the queries.x_inv08_notEI pattern, - * to be used in conjunction with {@link Matcher}. - * - *

    Class fields correspond to parameters of the pattern. Fields with value null are considered unassigned. - * Each instance is a (possibly partial) substitution of pattern parameters, - * usable to represent a match of the pattern in the result of a query, - * or to specify the bound (fixed) input parameters when issuing a query. - * - * @see Matcher - * - */ - public static abstract class Match extends BasePatternMatch { - private Employment_Income fType; - - private static List parameterNames = makeImmutableList("type"); - - private Match(final Employment_Income pType) { - this.fType = pType; - } - - @Override - public Object get(final String parameterName) { - switch(parameterName) { - case "type": return this.fType; - default: return null; - } - } - - @Override - public Object get(final int index) { - switch(index) { - case 0: return this.fType; - default: return null; - } - } - - public Employment_Income getType() { - return this.fType; - } - - @Override - public boolean set(final String parameterName, final Object newValue) { - if (!isMutable()) throw new java.lang.UnsupportedOperationException(); - if ("type".equals(parameterName) ) { - this.fType = (Employment_Income) newValue; - return true; - } - return false; - } - - public void setType(final Employment_Income pType) { - if (!isMutable()) throw new java.lang.UnsupportedOperationException(); - this.fType = pType; - } - - @Override - public String patternName() { - return "queries.x_inv08_notEI"; - } - - @Override - public List parameterNames() { - return X_inv08_notEI.Match.parameterNames; - } - - @Override - public Object[] toArray() { - return new Object[]{fType}; - } - - @Override - public X_inv08_notEI.Match toImmutable() { - return isMutable() ? newMatch(fType) : this; - } - - @Override - public String prettyPrint() { - StringBuilder result = new StringBuilder(); - result.append("\"type\"=" + prettyPrintValue(fType)); - return result.toString(); - } - - @Override - public int hashCode() { - return Objects.hash(fType); - } - - @Override - public boolean equals(final Object obj) { - if (this == obj) - return true; - if (obj == null) { - return false; - } - if ((obj instanceof X_inv08_notEI.Match)) { - X_inv08_notEI.Match other = (X_inv08_notEI.Match) obj; - return Objects.equals(fType, other.fType); - } else { - // this should be infrequent - if (!(obj instanceof IPatternMatch)) { - return false; - } - IPatternMatch otherSig = (IPatternMatch) obj; - return Objects.equals(specification(), otherSig.specification()) && Arrays.deepEquals(toArray(), otherSig.toArray()); - } - } - - @Override - public X_inv08_notEI specification() { - return X_inv08_notEI.instance(); - } - - /** - * Returns an empty, mutable match. - * Fields of the mutable match can be filled to create a partial match, usable as matcher input. - * - * @return the empty match. - * - */ - public static X_inv08_notEI.Match newEmptyMatch() { - return new Mutable(null); - } - - /** - * Returns a mutable (partial) match. - * Fields of the mutable match can be filled to create a partial match, usable as matcher input. - * - * @param pType the fixed value of pattern parameter type, or null if not bound. - * @return the new, mutable (partial) match object. - * - */ - public static X_inv08_notEI.Match newMutableMatch(final Employment_Income pType) { - return new Mutable(pType); - } - - /** - * Returns a new (partial) match. - * This can be used e.g. to call the matcher with a partial match. - *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. - * @param pType the fixed value of pattern parameter type, or null if not bound. - * @return the (partial) match object. - * - */ - public static X_inv08_notEI.Match newMatch(final Employment_Income pType) { - return new Immutable(pType); - } - - private static final class Mutable extends X_inv08_notEI.Match { - Mutable(final Employment_Income pType) { - super(pType); - } - - @Override - public boolean isMutable() { - return true; - } - } - - private static final class Immutable extends X_inv08_notEI.Match { - Immutable(final Employment_Income pType) { - super(pType); - } - - @Override - public boolean isMutable() { - return false; - } - } - } - - /** - * Generated pattern matcher API of the queries.x_inv08_notEI pattern, - * providing pattern-specific query methods. - * - *

    Use the pattern matcher on a given model via {@link #on(ViatraQueryEngine)}, - * e.g. in conjunction with {@link ViatraQueryEngine#on(QueryScope)}. - * - *

    Matches of the pattern will be represented as {@link Match}. - * - *

    Original source: - *

    -   * pattern x_inv08_notEI(type : Employment_Income) {
    -   *     Employment_Income(type);
    -   * }
    -   * 
    - * - * @see Match - * @see X_inv08_notEI - * - */ - public static class Matcher extends BaseMatcher { - /** - * Initializes the pattern matcher within an existing VIATRA Query engine. - * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. - * - * @param engine the existing VIATRA Query engine in which this matcher will be created. - * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation - * - */ - public static X_inv08_notEI.Matcher on(final ViatraQueryEngine engine) { - // check if matcher already exists - Matcher matcher = engine.getExistingMatcher(querySpecification()); - if (matcher == null) { - matcher = (Matcher)engine.getMatcher(querySpecification()); - } - return matcher; - } - - /** - * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation - * @return an initialized matcher - * @noreference This method is for internal matcher initialization by the framework, do not call it manually. - * - */ - public static X_inv08_notEI.Matcher create() { - return new Matcher(); - } - - private static final int POSITION_TYPE = 0; - - private static final Logger LOGGER = ViatraQueryLoggingUtil.getLogger(X_inv08_notEI.Matcher.class); - - /** - * Initializes the pattern matcher within an existing VIATRA Query engine. - * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. - * - * @param engine the existing VIATRA Query engine in which this matcher will be created. - * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation - * - */ - private Matcher() { - super(querySpecification()); - } - - /** - * Returns the set of all matches of the pattern that conform to the given fixed values of some parameters. - * @param pType the fixed value of pattern parameter type, or null if not bound. - * @return matches represented as a Match object. - * - */ - public Collection getAllMatches(final Employment_Income pType) { - return rawStreamAllMatches(new Object[]{pType}).collect(Collectors.toSet()); - } - - /** - * Returns a stream of all matches of the pattern that conform to the given fixed values of some parameters. - *

    - * NOTE: It is important not to modify the source model while the stream is being processed. - * If the match set of the pattern changes during processing, the contents of the stream is undefined. - * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. - * @param pType the fixed value of pattern parameter type, or null if not bound. - * @return a stream of matches represented as a Match object. - * - */ - public Stream streamAllMatches(final Employment_Income pType) { - return rawStreamAllMatches(new Object[]{pType}); - } - - /** - * Returns an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. - * Neither determinism nor randomness of selection is guaranteed. - * @param pType the fixed value of pattern parameter type, or null if not bound. - * @return a match represented as a Match object, or null if no match is found. - * - */ - public Optional getOneArbitraryMatch(final Employment_Income pType) { - return rawGetOneArbitraryMatch(new Object[]{pType}); - } - - /** - * Indicates whether the given combination of specified pattern parameters constitute a valid pattern match, - * under any possible substitution of the unspecified parameters (if any). - * @param pType the fixed value of pattern parameter type, or null if not bound. - * @return true if the input is a valid (partial) match of the pattern. - * - */ - public boolean hasMatch(final Employment_Income pType) { - return rawHasMatch(new Object[]{pType}); - } - - /** - * Returns the number of all matches of the pattern that conform to the given fixed values of some parameters. - * @param pType the fixed value of pattern parameter type, or null if not bound. - * @return the number of pattern matches found. - * - */ - public int countMatches(final Employment_Income pType) { - return rawCountMatches(new Object[]{pType}); - } - - /** - * Executes the given processor on an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. - * Neither determinism nor randomness of selection is guaranteed. - * @param pType the fixed value of pattern parameter type, or null if not bound. - * @param processor the action that will process the selected match. - * @return true if the pattern has at least one match with the given parameter values, false if the processor was not invoked - * - */ - public boolean forOneArbitraryMatch(final Employment_Income pType, final Consumer processor) { - return rawForOneArbitraryMatch(new Object[]{pType}, processor); - } - - /** - * Returns a new (partial) match. - * This can be used e.g. to call the matcher with a partial match. - *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. - * @param pType the fixed value of pattern parameter type, or null if not bound. - * @return the (partial) match object. - * - */ - public X_inv08_notEI.Match newMatch(final Employment_Income pType) { - return X_inv08_notEI.Match.newMatch(pType); - } - - /** - * Retrieve the set of values that occur in matches for type. - * @return the Set of all values or empty set if there are no matches - * - */ - protected Stream rawStreamAllValuesOftype(final Object[] parameters) { - return rawStreamAllValues(POSITION_TYPE, parameters).map(Employment_Income.class::cast); - } - - /** - * Retrieve the set of values that occur in matches for type. - * @return the Set of all values or empty set if there are no matches - * - */ - public Set getAllValuesOftype() { - return rawStreamAllValuesOftype(emptyArray()).collect(Collectors.toSet()); - } - - /** - * Retrieve the set of values that occur in matches for type. - * @return the Set of all values or empty set if there are no matches - * - */ - public Stream streamAllValuesOftype() { - return rawStreamAllValuesOftype(emptyArray()); - } - - @Override - protected X_inv08_notEI.Match tupleToMatch(final Tuple t) { - try { - return X_inv08_notEI.Match.newMatch((Employment_Income) t.get(POSITION_TYPE)); - } catch(ClassCastException e) { - LOGGER.error("Element(s) in tuple not properly typed!",e); - return null; - } - } - - @Override - protected X_inv08_notEI.Match arrayToMatch(final Object[] match) { - try { - return X_inv08_notEI.Match.newMatch((Employment_Income) match[POSITION_TYPE]); - } catch(ClassCastException e) { - LOGGER.error("Element(s) in array not properly typed!",e); - return null; - } - } - - @Override - protected X_inv08_notEI.Match arrayToMatchMutable(final Object[] match) { - try { - return X_inv08_notEI.Match.newMutableMatch((Employment_Income) match[POSITION_TYPE]); - } catch(ClassCastException e) { - LOGGER.error("Element(s) in array not properly typed!",e); - return null; - } - } - - /** - * @return the singleton instance of the query specification of this pattern - * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded - * - */ - public static IQuerySpecification querySpecification() { - return X_inv08_notEI.instance(); - } - } - - private X_inv08_notEI() { - super(GeneratedPQuery.INSTANCE); - } - - /** - * @return the singleton instance of the query specification - * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded - * - */ - public static X_inv08_notEI instance() { - try{ - return LazyHolder.INSTANCE; - } catch (ExceptionInInitializerError err) { - throw processInitializerError(err); - } - } - - @Override - protected X_inv08_notEI.Matcher instantiate(final ViatraQueryEngine engine) { - return X_inv08_notEI.Matcher.on(engine); - } - - @Override - public X_inv08_notEI.Matcher instantiate() { - return X_inv08_notEI.Matcher.create(); - } - - @Override - public X_inv08_notEI.Match newEmptyMatch() { - return X_inv08_notEI.Match.newEmptyMatch(); - } - - @Override - public X_inv08_notEI.Match newMatch(final Object... parameters) { - return X_inv08_notEI.Match.newMatch((Taxation.Employment_Income) parameters[0]); - } - - /** - * Inner class allowing the singleton instance of {@link X_inv08_notEI} to be created - * not at the class load time of the outer class, - * but rather at the first call to {@link X_inv08_notEI#instance()}. - * - *

    This workaround is required e.g. to support recursion. - * - */ - private static class LazyHolder { - private static final X_inv08_notEI INSTANCE = new X_inv08_notEI(); - - /** - * Statically initializes the query specification after the field {@link #INSTANCE} is assigned. - * This initialization order is required to support indirect recursion. - * - *

    The static initializer is defined using a helper field to work around limitations of the code generator. - * - */ - private static final Object STATIC_INITIALIZER = ensureInitialized(); - - public static Object ensureInitialized() { - INSTANCE.ensureInitializedInternal(); - return null; - } - } - - private static class GeneratedPQuery extends BaseGeneratedEMFPQuery { - private static final X_inv08_notEI.GeneratedPQuery INSTANCE = new GeneratedPQuery(); - - private final PParameter parameter_type = new PParameter("type", "Taxation.Employment_Income", new EClassTransitiveInstancesKey((EClass)getClassifierLiteralSafe("http:///TaxCard.ecore", "Employment_Income")), PParameterDirection.INOUT); - - private final List parameters = Arrays.asList(parameter_type); - - private GeneratedPQuery() { - super(PVisibility.PUBLIC); - } - - @Override - public String getFullyQualifiedName() { - return "queries.x_inv08_notEI"; - } - - @Override - public List getParameterNames() { - return Arrays.asList("type"); - } - - @Override - public List getParameters() { - return parameters; - } - - @Override - public Set doGetContainedBodies() { - setEvaluationHints(new QueryEvaluationHint(null, QueryEvaluationHint.BackendRequirement.UNSPECIFIED)); - Set bodies = new LinkedHashSet<>(); - { - PBody body = new PBody(this); - PVariable var_type = body.getOrCreateVariableByName("type"); - new TypeConstraint(body, Tuples.flatTupleOf(var_type), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Employment_Income"))); - body.setSymbolicParameters(Arrays.asList( - new ExportedParameter(body, var_type, parameter_type) - )); - // Employment_Income(type) - new TypeConstraint(body, Tuples.flatTupleOf(var_type), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Employment_Income"))); - bodies.add(body); - } - return bodies; - } - } -} diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/X_inv11_incNotOver100.java b/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/X_inv11_incNotOver100.java deleted file mode 100644 index 995946eb..00000000 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/X_inv11_incNotOver100.java +++ /dev/null @@ -1,684 +0,0 @@ -/** - * Generated from platform:/resource/case.study.pledge.run/src/queries/case_study_A.vql - */ -package queries; - -import Taxation.Expense; -import java.util.Arrays; -import java.util.Collection; -import java.util.LinkedHashSet; -import java.util.List; -import java.util.Objects; -import java.util.Optional; -import java.util.Set; -import java.util.function.Consumer; -import java.util.stream.Collectors; -import java.util.stream.Stream; -import org.apache.log4j.Logger; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EDataType; -import org.eclipse.viatra.query.runtime.api.IPatternMatch; -import org.eclipse.viatra.query.runtime.api.IQuerySpecification; -import org.eclipse.viatra.query.runtime.api.ViatraQueryEngine; -import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFPQuery; -import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFQuerySpecification; -import org.eclipse.viatra.query.runtime.api.impl.BaseMatcher; -import org.eclipse.viatra.query.runtime.api.impl.BasePatternMatch; -import org.eclipse.viatra.query.runtime.emf.types.EClassTransitiveInstancesKey; -import org.eclipse.viatra.query.runtime.emf.types.EDataTypeInSlotsKey; -import org.eclipse.viatra.query.runtime.emf.types.EStructuralFeatureInstancesKey; -import org.eclipse.viatra.query.runtime.matchers.backend.QueryEvaluationHint; -import org.eclipse.viatra.query.runtime.matchers.psystem.IExpressionEvaluator; -import org.eclipse.viatra.query.runtime.matchers.psystem.IValueProvider; -import org.eclipse.viatra.query.runtime.matchers.psystem.PBody; -import org.eclipse.viatra.query.runtime.matchers.psystem.PVariable; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.Equality; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.ExportedParameter; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.ExpressionEvaluation; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicenumerables.TypeConstraint; -import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameter; -import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameterDirection; -import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PVisibility; -import org.eclipse.viatra.query.runtime.matchers.tuple.Tuple; -import org.eclipse.viatra.query.runtime.matchers.tuple.Tuples; -import org.eclipse.viatra.query.runtime.util.ViatraQueryLoggingUtil; - -/** - * A pattern-specific query specification that can instantiate Matcher in a type-safe way. - * - *

    Original source: - *

    - *         pattern x_inv11_incNotOver100(exp : Expense) {
    - *             Expense.income.income_amount(exp, incVal);
    - *             check(incVal / 2 {@literal <}= 50);
    - *         } or {
    - *         	Expense.declared_amount(exp, decl);
    - *             check(decl {@literal <} 50);
    - *         } or {
    - *         	Expense.income.income_amount(exp, incVal);
    - *         	Expense.declared_amount(exp, decl);
    - *         	check(decl {@literal >} incVal/2);
    - *         }
    - * 
    - * - * @see Matcher - * @see Match - * - */ -@SuppressWarnings("all") -public final class X_inv11_incNotOver100 extends BaseGeneratedEMFQuerySpecification { - /** - * Pattern-specific match representation of the queries.x_inv11_incNotOver100 pattern, - * to be used in conjunction with {@link Matcher}. - * - *

    Class fields correspond to parameters of the pattern. Fields with value null are considered unassigned. - * Each instance is a (possibly partial) substitution of pattern parameters, - * usable to represent a match of the pattern in the result of a query, - * or to specify the bound (fixed) input parameters when issuing a query. - * - * @see Matcher - * - */ - public static abstract class Match extends BasePatternMatch { - private Expense fExp; - - private static List parameterNames = makeImmutableList("exp"); - - private Match(final Expense pExp) { - this.fExp = pExp; - } - - @Override - public Object get(final String parameterName) { - switch(parameterName) { - case "exp": return this.fExp; - default: return null; - } - } - - @Override - public Object get(final int index) { - switch(index) { - case 0: return this.fExp; - default: return null; - } - } - - public Expense getExp() { - return this.fExp; - } - - @Override - public boolean set(final String parameterName, final Object newValue) { - if (!isMutable()) throw new java.lang.UnsupportedOperationException(); - if ("exp".equals(parameterName) ) { - this.fExp = (Expense) newValue; - return true; - } - return false; - } - - public void setExp(final Expense pExp) { - if (!isMutable()) throw new java.lang.UnsupportedOperationException(); - this.fExp = pExp; - } - - @Override - public String patternName() { - return "queries.x_inv11_incNotOver100"; - } - - @Override - public List parameterNames() { - return X_inv11_incNotOver100.Match.parameterNames; - } - - @Override - public Object[] toArray() { - return new Object[]{fExp}; - } - - @Override - public X_inv11_incNotOver100.Match toImmutable() { - return isMutable() ? newMatch(fExp) : this; - } - - @Override - public String prettyPrint() { - StringBuilder result = new StringBuilder(); - result.append("\"exp\"=" + prettyPrintValue(fExp)); - return result.toString(); - } - - @Override - public int hashCode() { - return Objects.hash(fExp); - } - - @Override - public boolean equals(final Object obj) { - if (this == obj) - return true; - if (obj == null) { - return false; - } - if ((obj instanceof X_inv11_incNotOver100.Match)) { - X_inv11_incNotOver100.Match other = (X_inv11_incNotOver100.Match) obj; - return Objects.equals(fExp, other.fExp); - } else { - // this should be infrequent - if (!(obj instanceof IPatternMatch)) { - return false; - } - IPatternMatch otherSig = (IPatternMatch) obj; - return Objects.equals(specification(), otherSig.specification()) && Arrays.deepEquals(toArray(), otherSig.toArray()); - } - } - - @Override - public X_inv11_incNotOver100 specification() { - return X_inv11_incNotOver100.instance(); - } - - /** - * Returns an empty, mutable match. - * Fields of the mutable match can be filled to create a partial match, usable as matcher input. - * - * @return the empty match. - * - */ - public static X_inv11_incNotOver100.Match newEmptyMatch() { - return new Mutable(null); - } - - /** - * Returns a mutable (partial) match. - * Fields of the mutable match can be filled to create a partial match, usable as matcher input. - * - * @param pExp the fixed value of pattern parameter exp, or null if not bound. - * @return the new, mutable (partial) match object. - * - */ - public static X_inv11_incNotOver100.Match newMutableMatch(final Expense pExp) { - return new Mutable(pExp); - } - - /** - * Returns a new (partial) match. - * This can be used e.g. to call the matcher with a partial match. - *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. - * @param pExp the fixed value of pattern parameter exp, or null if not bound. - * @return the (partial) match object. - * - */ - public static X_inv11_incNotOver100.Match newMatch(final Expense pExp) { - return new Immutable(pExp); - } - - private static final class Mutable extends X_inv11_incNotOver100.Match { - Mutable(final Expense pExp) { - super(pExp); - } - - @Override - public boolean isMutable() { - return true; - } - } - - private static final class Immutable extends X_inv11_incNotOver100.Match { - Immutable(final Expense pExp) { - super(pExp); - } - - @Override - public boolean isMutable() { - return false; - } - } - } - - /** - * Generated pattern matcher API of the queries.x_inv11_incNotOver100 pattern, - * providing pattern-specific query methods. - * - *

    Use the pattern matcher on a given model via {@link #on(ViatraQueryEngine)}, - * e.g. in conjunction with {@link ViatraQueryEngine#on(QueryScope)}. - * - *

    Matches of the pattern will be represented as {@link Match}. - * - *

    Original source: - *

    -   * pattern x_inv11_incNotOver100(exp : Expense) {
    -   *     Expense.income.income_amount(exp, incVal);
    -   *     check(incVal / 2 {@literal <}= 50);
    -   * } or {
    -   * 	Expense.declared_amount(exp, decl);
    -   *     check(decl {@literal <} 50);
    -   * } or {
    -   * 	Expense.income.income_amount(exp, incVal);
    -   * 	Expense.declared_amount(exp, decl);
    -   * 	check(decl {@literal >} incVal/2);
    -   * }
    -   * 
    - * - * @see Match - * @see X_inv11_incNotOver100 - * - */ - public static class Matcher extends BaseMatcher { - /** - * Initializes the pattern matcher within an existing VIATRA Query engine. - * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. - * - * @param engine the existing VIATRA Query engine in which this matcher will be created. - * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation - * - */ - public static X_inv11_incNotOver100.Matcher on(final ViatraQueryEngine engine) { - // check if matcher already exists - Matcher matcher = engine.getExistingMatcher(querySpecification()); - if (matcher == null) { - matcher = (Matcher)engine.getMatcher(querySpecification()); - } - return matcher; - } - - /** - * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation - * @return an initialized matcher - * @noreference This method is for internal matcher initialization by the framework, do not call it manually. - * - */ - public static X_inv11_incNotOver100.Matcher create() { - return new Matcher(); - } - - private static final int POSITION_EXP = 0; - - private static final Logger LOGGER = ViatraQueryLoggingUtil.getLogger(X_inv11_incNotOver100.Matcher.class); - - /** - * Initializes the pattern matcher within an existing VIATRA Query engine. - * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. - * - * @param engine the existing VIATRA Query engine in which this matcher will be created. - * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation - * - */ - private Matcher() { - super(querySpecification()); - } - - /** - * Returns the set of all matches of the pattern that conform to the given fixed values of some parameters. - * @param pExp the fixed value of pattern parameter exp, or null if not bound. - * @return matches represented as a Match object. - * - */ - public Collection getAllMatches(final Expense pExp) { - return rawStreamAllMatches(new Object[]{pExp}).collect(Collectors.toSet()); - } - - /** - * Returns a stream of all matches of the pattern that conform to the given fixed values of some parameters. - *

    - * NOTE: It is important not to modify the source model while the stream is being processed. - * If the match set of the pattern changes during processing, the contents of the stream is undefined. - * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. - * @param pExp the fixed value of pattern parameter exp, or null if not bound. - * @return a stream of matches represented as a Match object. - * - */ - public Stream streamAllMatches(final Expense pExp) { - return rawStreamAllMatches(new Object[]{pExp}); - } - - /** - * Returns an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. - * Neither determinism nor randomness of selection is guaranteed. - * @param pExp the fixed value of pattern parameter exp, or null if not bound. - * @return a match represented as a Match object, or null if no match is found. - * - */ - public Optional getOneArbitraryMatch(final Expense pExp) { - return rawGetOneArbitraryMatch(new Object[]{pExp}); - } - - /** - * Indicates whether the given combination of specified pattern parameters constitute a valid pattern match, - * under any possible substitution of the unspecified parameters (if any). - * @param pExp the fixed value of pattern parameter exp, or null if not bound. - * @return true if the input is a valid (partial) match of the pattern. - * - */ - public boolean hasMatch(final Expense pExp) { - return rawHasMatch(new Object[]{pExp}); - } - - /** - * Returns the number of all matches of the pattern that conform to the given fixed values of some parameters. - * @param pExp the fixed value of pattern parameter exp, or null if not bound. - * @return the number of pattern matches found. - * - */ - public int countMatches(final Expense pExp) { - return rawCountMatches(new Object[]{pExp}); - } - - /** - * Executes the given processor on an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. - * Neither determinism nor randomness of selection is guaranteed. - * @param pExp the fixed value of pattern parameter exp, or null if not bound. - * @param processor the action that will process the selected match. - * @return true if the pattern has at least one match with the given parameter values, false if the processor was not invoked - * - */ - public boolean forOneArbitraryMatch(final Expense pExp, final Consumer processor) { - return rawForOneArbitraryMatch(new Object[]{pExp}, processor); - } - - /** - * Returns a new (partial) match. - * This can be used e.g. to call the matcher with a partial match. - *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. - * @param pExp the fixed value of pattern parameter exp, or null if not bound. - * @return the (partial) match object. - * - */ - public X_inv11_incNotOver100.Match newMatch(final Expense pExp) { - return X_inv11_incNotOver100.Match.newMatch(pExp); - } - - /** - * Retrieve the set of values that occur in matches for exp. - * @return the Set of all values or empty set if there are no matches - * - */ - protected Stream rawStreamAllValuesOfexp(final Object[] parameters) { - return rawStreamAllValues(POSITION_EXP, parameters).map(Expense.class::cast); - } - - /** - * Retrieve the set of values that occur in matches for exp. - * @return the Set of all values or empty set if there are no matches - * - */ - public Set getAllValuesOfexp() { - return rawStreamAllValuesOfexp(emptyArray()).collect(Collectors.toSet()); - } - - /** - * Retrieve the set of values that occur in matches for exp. - * @return the Set of all values or empty set if there are no matches - * - */ - public Stream streamAllValuesOfexp() { - return rawStreamAllValuesOfexp(emptyArray()); - } - - @Override - protected X_inv11_incNotOver100.Match tupleToMatch(final Tuple t) { - try { - return X_inv11_incNotOver100.Match.newMatch((Expense) t.get(POSITION_EXP)); - } catch(ClassCastException e) { - LOGGER.error("Element(s) in tuple not properly typed!",e); - return null; - } - } - - @Override - protected X_inv11_incNotOver100.Match arrayToMatch(final Object[] match) { - try { - return X_inv11_incNotOver100.Match.newMatch((Expense) match[POSITION_EXP]); - } catch(ClassCastException e) { - LOGGER.error("Element(s) in array not properly typed!",e); - return null; - } - } - - @Override - protected X_inv11_incNotOver100.Match arrayToMatchMutable(final Object[] match) { - try { - return X_inv11_incNotOver100.Match.newMutableMatch((Expense) match[POSITION_EXP]); - } catch(ClassCastException e) { - LOGGER.error("Element(s) in array not properly typed!",e); - return null; - } - } - - /** - * @return the singleton instance of the query specification of this pattern - * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded - * - */ - public static IQuerySpecification querySpecification() { - return X_inv11_incNotOver100.instance(); - } - } - - private X_inv11_incNotOver100() { - super(GeneratedPQuery.INSTANCE); - } - - /** - * @return the singleton instance of the query specification - * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded - * - */ - public static X_inv11_incNotOver100 instance() { - try{ - return LazyHolder.INSTANCE; - } catch (ExceptionInInitializerError err) { - throw processInitializerError(err); - } - } - - @Override - protected X_inv11_incNotOver100.Matcher instantiate(final ViatraQueryEngine engine) { - return X_inv11_incNotOver100.Matcher.on(engine); - } - - @Override - public X_inv11_incNotOver100.Matcher instantiate() { - return X_inv11_incNotOver100.Matcher.create(); - } - - @Override - public X_inv11_incNotOver100.Match newEmptyMatch() { - return X_inv11_incNotOver100.Match.newEmptyMatch(); - } - - @Override - public X_inv11_incNotOver100.Match newMatch(final Object... parameters) { - return X_inv11_incNotOver100.Match.newMatch((Taxation.Expense) parameters[0]); - } - - /** - * Inner class allowing the singleton instance of {@link X_inv11_incNotOver100} to be created - * not at the class load time of the outer class, - * but rather at the first call to {@link X_inv11_incNotOver100#instance()}. - * - *

    This workaround is required e.g. to support recursion. - * - */ - private static class LazyHolder { - private static final X_inv11_incNotOver100 INSTANCE = new X_inv11_incNotOver100(); - - /** - * Statically initializes the query specification after the field {@link #INSTANCE} is assigned. - * This initialization order is required to support indirect recursion. - * - *

    The static initializer is defined using a helper field to work around limitations of the code generator. - * - */ - private static final Object STATIC_INITIALIZER = ensureInitialized(); - - public static Object ensureInitialized() { - INSTANCE.ensureInitializedInternal(); - return null; - } - } - - private static class GeneratedPQuery extends BaseGeneratedEMFPQuery { - private static final X_inv11_incNotOver100.GeneratedPQuery INSTANCE = new GeneratedPQuery(); - - private final PParameter parameter_exp = new PParameter("exp", "Taxation.Expense", new EClassTransitiveInstancesKey((EClass)getClassifierLiteralSafe("http:///TaxCard.ecore", "Expense")), PParameterDirection.INOUT); - - private final List parameters = Arrays.asList(parameter_exp); - - private GeneratedPQuery() { - super(PVisibility.PUBLIC); - } - - @Override - public String getFullyQualifiedName() { - return "queries.x_inv11_incNotOver100"; - } - - @Override - public List getParameterNames() { - return Arrays.asList("exp"); - } - - @Override - public List getParameters() { - return parameters; - } - - @Override - public Set doGetContainedBodies() { - setEvaluationHints(new QueryEvaluationHint(null, QueryEvaluationHint.BackendRequirement.UNSPECIFIED)); - Set bodies = new LinkedHashSet<>(); - { - PBody body = new PBody(this); - PVariable var_exp = body.getOrCreateVariableByName("exp"); - PVariable var_incVal = body.getOrCreateVariableByName("incVal"); - new TypeConstraint(body, Tuples.flatTupleOf(var_exp), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Expense"))); - body.setSymbolicParameters(Arrays.asList( - new ExportedParameter(body, var_exp, parameter_exp) - )); - // Expense.income.income_amount(exp, incVal) - new TypeConstraint(body, Tuples.flatTupleOf(var_exp), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Expense"))); - PVariable var__virtual_0_ = body.getOrCreateVariableByName(".virtual{0}"); - new TypeConstraint(body, Tuples.flatTupleOf(var_exp, var__virtual_0_), new EStructuralFeatureInstancesKey(getFeatureLiteral("http:///TaxCard.ecore", "Expense", "income"))); - new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_0_), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Income"))); - PVariable var__virtual_1_ = body.getOrCreateVariableByName(".virtual{1}"); - new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_0_, var__virtual_1_), new EStructuralFeatureInstancesKey(getFeatureLiteral("http:///TaxCard.ecore", "Income", "income_amount"))); - new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_1_), new EDataTypeInSlotsKey((EDataType)getClassifierLiteral("http://www.eclipse.org/emf/2002/Ecore", "EDouble"))); - new Equality(body, var__virtual_1_, var_incVal); - // check(incVal / 2 <= 50) - new ExpressionEvaluation(body, new IExpressionEvaluator() { - - @Override - public String getShortDescription() { - return "Expression evaluation from pattern x_inv11_incNotOver100"; - } - - @Override - public Iterable getInputParameterNames() { - return Arrays.asList("incVal");} - - @Override - public Object evaluateExpression(IValueProvider provider) throws Exception { - Double incVal = (Double) provider.getValue("incVal"); - return evaluateExpression_1_1(incVal); - } - }, null); - bodies.add(body); - } - { - PBody body = new PBody(this); - PVariable var_exp = body.getOrCreateVariableByName("exp"); - PVariable var_decl = body.getOrCreateVariableByName("decl"); - new TypeConstraint(body, Tuples.flatTupleOf(var_exp), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Expense"))); - body.setSymbolicParameters(Arrays.asList( - new ExportedParameter(body, var_exp, parameter_exp) - )); - // Expense.declared_amount(exp, decl) - new TypeConstraint(body, Tuples.flatTupleOf(var_exp), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Expense"))); - PVariable var__virtual_0_ = body.getOrCreateVariableByName(".virtual{0}"); - new TypeConstraint(body, Tuples.flatTupleOf(var_exp, var__virtual_0_), new EStructuralFeatureInstancesKey(getFeatureLiteral("http:///TaxCard.ecore", "Expense", "declared_amount"))); - new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_0_), new EDataTypeInSlotsKey((EDataType)getClassifierLiteral("http://www.eclipse.org/emf/2002/Ecore", "EDouble"))); - new Equality(body, var__virtual_0_, var_decl); - // check(decl < 50) - new ExpressionEvaluation(body, new IExpressionEvaluator() { - - @Override - public String getShortDescription() { - return "Expression evaluation from pattern x_inv11_incNotOver100"; - } - - @Override - public Iterable getInputParameterNames() { - return Arrays.asList("decl");} - - @Override - public Object evaluateExpression(IValueProvider provider) throws Exception { - Double decl = (Double) provider.getValue("decl"); - return evaluateExpression_2_1(decl); - } - }, null); - bodies.add(body); - } - { - PBody body = new PBody(this); - PVariable var_exp = body.getOrCreateVariableByName("exp"); - PVariable var_incVal = body.getOrCreateVariableByName("incVal"); - PVariable var_decl = body.getOrCreateVariableByName("decl"); - new TypeConstraint(body, Tuples.flatTupleOf(var_exp), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Expense"))); - body.setSymbolicParameters(Arrays.asList( - new ExportedParameter(body, var_exp, parameter_exp) - )); - // Expense.income.income_amount(exp, incVal) - new TypeConstraint(body, Tuples.flatTupleOf(var_exp), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Expense"))); - PVariable var__virtual_0_ = body.getOrCreateVariableByName(".virtual{0}"); - new TypeConstraint(body, Tuples.flatTupleOf(var_exp, var__virtual_0_), new EStructuralFeatureInstancesKey(getFeatureLiteral("http:///TaxCard.ecore", "Expense", "income"))); - new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_0_), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Income"))); - PVariable var__virtual_1_ = body.getOrCreateVariableByName(".virtual{1}"); - new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_0_, var__virtual_1_), new EStructuralFeatureInstancesKey(getFeatureLiteral("http:///TaxCard.ecore", "Income", "income_amount"))); - new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_1_), new EDataTypeInSlotsKey((EDataType)getClassifierLiteral("http://www.eclipse.org/emf/2002/Ecore", "EDouble"))); - new Equality(body, var__virtual_1_, var_incVal); - // Expense.declared_amount(exp, decl) - new TypeConstraint(body, Tuples.flatTupleOf(var_exp), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Expense"))); - PVariable var__virtual_2_ = body.getOrCreateVariableByName(".virtual{2}"); - new TypeConstraint(body, Tuples.flatTupleOf(var_exp, var__virtual_2_), new EStructuralFeatureInstancesKey(getFeatureLiteral("http:///TaxCard.ecore", "Expense", "declared_amount"))); - new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_2_), new EDataTypeInSlotsKey((EDataType)getClassifierLiteral("http://www.eclipse.org/emf/2002/Ecore", "EDouble"))); - new Equality(body, var__virtual_2_, var_decl); - // check(decl > incVal/2) - new ExpressionEvaluation(body, new IExpressionEvaluator() { - - @Override - public String getShortDescription() { - return "Expression evaluation from pattern x_inv11_incNotOver100"; - } - - @Override - public Iterable getInputParameterNames() { - return Arrays.asList("decl", "incVal");} - - @Override - public Object evaluateExpression(IValueProvider provider) throws Exception { - Double decl = (Double) provider.getValue("decl"); - Double incVal = (Double) provider.getValue("incVal"); - return evaluateExpression_3_1(decl, incVal); - } - }, null); - bodies.add(body); - } - return bodies; - } - } - - private static boolean evaluateExpression_1_1(final Double incVal) { - return (((incVal).doubleValue() / 2) <= 50); - } - - private static boolean evaluateExpression_2_1(final Double decl) { - return ((decl).doubleValue() < 50); - } - - private static boolean evaluateExpression_3_1(final Double decl, final Double incVal) { - return ((decl).doubleValue() > ((incVal).doubleValue() / 2)); - } -} diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/X_inv11_incOver100.java b/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/X_inv11_incOver100.java deleted file mode 100644 index 65ae5dd6..00000000 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/X_inv11_incOver100.java +++ /dev/null @@ -1,629 +0,0 @@ -/** - * Generated from platform:/resource/case.study.pledge.run/src/queries/case_study_A.vql - */ -package queries; - -import Taxation.Expense; -import java.util.Arrays; -import java.util.Collection; -import java.util.LinkedHashSet; -import java.util.List; -import java.util.Objects; -import java.util.Optional; -import java.util.Set; -import java.util.function.Consumer; -import java.util.stream.Collectors; -import java.util.stream.Stream; -import org.apache.log4j.Logger; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EDataType; -import org.eclipse.viatra.query.runtime.api.IPatternMatch; -import org.eclipse.viatra.query.runtime.api.IQuerySpecification; -import org.eclipse.viatra.query.runtime.api.ViatraQueryEngine; -import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFPQuery; -import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFQuerySpecification; -import org.eclipse.viatra.query.runtime.api.impl.BaseMatcher; -import org.eclipse.viatra.query.runtime.api.impl.BasePatternMatch; -import org.eclipse.viatra.query.runtime.emf.types.EClassTransitiveInstancesKey; -import org.eclipse.viatra.query.runtime.emf.types.EDataTypeInSlotsKey; -import org.eclipse.viatra.query.runtime.emf.types.EStructuralFeatureInstancesKey; -import org.eclipse.viatra.query.runtime.matchers.backend.QueryEvaluationHint; -import org.eclipse.viatra.query.runtime.matchers.psystem.IExpressionEvaluator; -import org.eclipse.viatra.query.runtime.matchers.psystem.IValueProvider; -import org.eclipse.viatra.query.runtime.matchers.psystem.PBody; -import org.eclipse.viatra.query.runtime.matchers.psystem.PVariable; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.Equality; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.ExportedParameter; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.ExpressionEvaluation; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicenumerables.TypeConstraint; -import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameter; -import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameterDirection; -import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PVisibility; -import org.eclipse.viatra.query.runtime.matchers.tuple.Tuple; -import org.eclipse.viatra.query.runtime.matchers.tuple.Tuples; -import org.eclipse.viatra.query.runtime.util.ViatraQueryLoggingUtil; - -/** - * A pattern-specific query specification that can instantiate Matcher in a type-safe way. - * - *

    Original source: - *

    - *         pattern x_inv11_incOver100(exp : Expense) {
    - *             Expense.income.income_amount(exp, incVal);
    - *             check(incVal / 2 {@literal >} 50);
    - *         
    - *         } or {
    - *         	Expense.declared_amount(exp, decl);
    - *             check(decl != 50);
    - *         }
    - * 
    - * - * @see Matcher - * @see Match - * - */ -@SuppressWarnings("all") -public final class X_inv11_incOver100 extends BaseGeneratedEMFQuerySpecification { - /** - * Pattern-specific match representation of the queries.x_inv11_incOver100 pattern, - * to be used in conjunction with {@link Matcher}. - * - *

    Class fields correspond to parameters of the pattern. Fields with value null are considered unassigned. - * Each instance is a (possibly partial) substitution of pattern parameters, - * usable to represent a match of the pattern in the result of a query, - * or to specify the bound (fixed) input parameters when issuing a query. - * - * @see Matcher - * - */ - public static abstract class Match extends BasePatternMatch { - private Expense fExp; - - private static List parameterNames = makeImmutableList("exp"); - - private Match(final Expense pExp) { - this.fExp = pExp; - } - - @Override - public Object get(final String parameterName) { - switch(parameterName) { - case "exp": return this.fExp; - default: return null; - } - } - - @Override - public Object get(final int index) { - switch(index) { - case 0: return this.fExp; - default: return null; - } - } - - public Expense getExp() { - return this.fExp; - } - - @Override - public boolean set(final String parameterName, final Object newValue) { - if (!isMutable()) throw new java.lang.UnsupportedOperationException(); - if ("exp".equals(parameterName) ) { - this.fExp = (Expense) newValue; - return true; - } - return false; - } - - public void setExp(final Expense pExp) { - if (!isMutable()) throw new java.lang.UnsupportedOperationException(); - this.fExp = pExp; - } - - @Override - public String patternName() { - return "queries.x_inv11_incOver100"; - } - - @Override - public List parameterNames() { - return X_inv11_incOver100.Match.parameterNames; - } - - @Override - public Object[] toArray() { - return new Object[]{fExp}; - } - - @Override - public X_inv11_incOver100.Match toImmutable() { - return isMutable() ? newMatch(fExp) : this; - } - - @Override - public String prettyPrint() { - StringBuilder result = new StringBuilder(); - result.append("\"exp\"=" + prettyPrintValue(fExp)); - return result.toString(); - } - - @Override - public int hashCode() { - return Objects.hash(fExp); - } - - @Override - public boolean equals(final Object obj) { - if (this == obj) - return true; - if (obj == null) { - return false; - } - if ((obj instanceof X_inv11_incOver100.Match)) { - X_inv11_incOver100.Match other = (X_inv11_incOver100.Match) obj; - return Objects.equals(fExp, other.fExp); - } else { - // this should be infrequent - if (!(obj instanceof IPatternMatch)) { - return false; - } - IPatternMatch otherSig = (IPatternMatch) obj; - return Objects.equals(specification(), otherSig.specification()) && Arrays.deepEquals(toArray(), otherSig.toArray()); - } - } - - @Override - public X_inv11_incOver100 specification() { - return X_inv11_incOver100.instance(); - } - - /** - * Returns an empty, mutable match. - * Fields of the mutable match can be filled to create a partial match, usable as matcher input. - * - * @return the empty match. - * - */ - public static X_inv11_incOver100.Match newEmptyMatch() { - return new Mutable(null); - } - - /** - * Returns a mutable (partial) match. - * Fields of the mutable match can be filled to create a partial match, usable as matcher input. - * - * @param pExp the fixed value of pattern parameter exp, or null if not bound. - * @return the new, mutable (partial) match object. - * - */ - public static X_inv11_incOver100.Match newMutableMatch(final Expense pExp) { - return new Mutable(pExp); - } - - /** - * Returns a new (partial) match. - * This can be used e.g. to call the matcher with a partial match. - *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. - * @param pExp the fixed value of pattern parameter exp, or null if not bound. - * @return the (partial) match object. - * - */ - public static X_inv11_incOver100.Match newMatch(final Expense pExp) { - return new Immutable(pExp); - } - - private static final class Mutable extends X_inv11_incOver100.Match { - Mutable(final Expense pExp) { - super(pExp); - } - - @Override - public boolean isMutable() { - return true; - } - } - - private static final class Immutable extends X_inv11_incOver100.Match { - Immutable(final Expense pExp) { - super(pExp); - } - - @Override - public boolean isMutable() { - return false; - } - } - } - - /** - * Generated pattern matcher API of the queries.x_inv11_incOver100 pattern, - * providing pattern-specific query methods. - * - *

    Use the pattern matcher on a given model via {@link #on(ViatraQueryEngine)}, - * e.g. in conjunction with {@link ViatraQueryEngine#on(QueryScope)}. - * - *

    Matches of the pattern will be represented as {@link Match}. - * - *

    Original source: - *

    -   * pattern x_inv11_incOver100(exp : Expense) {
    -   *     Expense.income.income_amount(exp, incVal);
    -   *     check(incVal / 2 {@literal >} 50);
    -   * 
    -   * } or {
    -   * 	Expense.declared_amount(exp, decl);
    -   *     check(decl != 50);
    -   * }
    -   * 
    - * - * @see Match - * @see X_inv11_incOver100 - * - */ - public static class Matcher extends BaseMatcher { - /** - * Initializes the pattern matcher within an existing VIATRA Query engine. - * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. - * - * @param engine the existing VIATRA Query engine in which this matcher will be created. - * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation - * - */ - public static X_inv11_incOver100.Matcher on(final ViatraQueryEngine engine) { - // check if matcher already exists - Matcher matcher = engine.getExistingMatcher(querySpecification()); - if (matcher == null) { - matcher = (Matcher)engine.getMatcher(querySpecification()); - } - return matcher; - } - - /** - * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation - * @return an initialized matcher - * @noreference This method is for internal matcher initialization by the framework, do not call it manually. - * - */ - public static X_inv11_incOver100.Matcher create() { - return new Matcher(); - } - - private static final int POSITION_EXP = 0; - - private static final Logger LOGGER = ViatraQueryLoggingUtil.getLogger(X_inv11_incOver100.Matcher.class); - - /** - * Initializes the pattern matcher within an existing VIATRA Query engine. - * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. - * - * @param engine the existing VIATRA Query engine in which this matcher will be created. - * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation - * - */ - private Matcher() { - super(querySpecification()); - } - - /** - * Returns the set of all matches of the pattern that conform to the given fixed values of some parameters. - * @param pExp the fixed value of pattern parameter exp, or null if not bound. - * @return matches represented as a Match object. - * - */ - public Collection getAllMatches(final Expense pExp) { - return rawStreamAllMatches(new Object[]{pExp}).collect(Collectors.toSet()); - } - - /** - * Returns a stream of all matches of the pattern that conform to the given fixed values of some parameters. - *

    - * NOTE: It is important not to modify the source model while the stream is being processed. - * If the match set of the pattern changes during processing, the contents of the stream is undefined. - * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. - * @param pExp the fixed value of pattern parameter exp, or null if not bound. - * @return a stream of matches represented as a Match object. - * - */ - public Stream streamAllMatches(final Expense pExp) { - return rawStreamAllMatches(new Object[]{pExp}); - } - - /** - * Returns an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. - * Neither determinism nor randomness of selection is guaranteed. - * @param pExp the fixed value of pattern parameter exp, or null if not bound. - * @return a match represented as a Match object, or null if no match is found. - * - */ - public Optional getOneArbitraryMatch(final Expense pExp) { - return rawGetOneArbitraryMatch(new Object[]{pExp}); - } - - /** - * Indicates whether the given combination of specified pattern parameters constitute a valid pattern match, - * under any possible substitution of the unspecified parameters (if any). - * @param pExp the fixed value of pattern parameter exp, or null if not bound. - * @return true if the input is a valid (partial) match of the pattern. - * - */ - public boolean hasMatch(final Expense pExp) { - return rawHasMatch(new Object[]{pExp}); - } - - /** - * Returns the number of all matches of the pattern that conform to the given fixed values of some parameters. - * @param pExp the fixed value of pattern parameter exp, or null if not bound. - * @return the number of pattern matches found. - * - */ - public int countMatches(final Expense pExp) { - return rawCountMatches(new Object[]{pExp}); - } - - /** - * Executes the given processor on an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. - * Neither determinism nor randomness of selection is guaranteed. - * @param pExp the fixed value of pattern parameter exp, or null if not bound. - * @param processor the action that will process the selected match. - * @return true if the pattern has at least one match with the given parameter values, false if the processor was not invoked - * - */ - public boolean forOneArbitraryMatch(final Expense pExp, final Consumer processor) { - return rawForOneArbitraryMatch(new Object[]{pExp}, processor); - } - - /** - * Returns a new (partial) match. - * This can be used e.g. to call the matcher with a partial match. - *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. - * @param pExp the fixed value of pattern parameter exp, or null if not bound. - * @return the (partial) match object. - * - */ - public X_inv11_incOver100.Match newMatch(final Expense pExp) { - return X_inv11_incOver100.Match.newMatch(pExp); - } - - /** - * Retrieve the set of values that occur in matches for exp. - * @return the Set of all values or empty set if there are no matches - * - */ - protected Stream rawStreamAllValuesOfexp(final Object[] parameters) { - return rawStreamAllValues(POSITION_EXP, parameters).map(Expense.class::cast); - } - - /** - * Retrieve the set of values that occur in matches for exp. - * @return the Set of all values or empty set if there are no matches - * - */ - public Set getAllValuesOfexp() { - return rawStreamAllValuesOfexp(emptyArray()).collect(Collectors.toSet()); - } - - /** - * Retrieve the set of values that occur in matches for exp. - * @return the Set of all values or empty set if there are no matches - * - */ - public Stream streamAllValuesOfexp() { - return rawStreamAllValuesOfexp(emptyArray()); - } - - @Override - protected X_inv11_incOver100.Match tupleToMatch(final Tuple t) { - try { - return X_inv11_incOver100.Match.newMatch((Expense) t.get(POSITION_EXP)); - } catch(ClassCastException e) { - LOGGER.error("Element(s) in tuple not properly typed!",e); - return null; - } - } - - @Override - protected X_inv11_incOver100.Match arrayToMatch(final Object[] match) { - try { - return X_inv11_incOver100.Match.newMatch((Expense) match[POSITION_EXP]); - } catch(ClassCastException e) { - LOGGER.error("Element(s) in array not properly typed!",e); - return null; - } - } - - @Override - protected X_inv11_incOver100.Match arrayToMatchMutable(final Object[] match) { - try { - return X_inv11_incOver100.Match.newMutableMatch((Expense) match[POSITION_EXP]); - } catch(ClassCastException e) { - LOGGER.error("Element(s) in array not properly typed!",e); - return null; - } - } - - /** - * @return the singleton instance of the query specification of this pattern - * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded - * - */ - public static IQuerySpecification querySpecification() { - return X_inv11_incOver100.instance(); - } - } - - private X_inv11_incOver100() { - super(GeneratedPQuery.INSTANCE); - } - - /** - * @return the singleton instance of the query specification - * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded - * - */ - public static X_inv11_incOver100 instance() { - try{ - return LazyHolder.INSTANCE; - } catch (ExceptionInInitializerError err) { - throw processInitializerError(err); - } - } - - @Override - protected X_inv11_incOver100.Matcher instantiate(final ViatraQueryEngine engine) { - return X_inv11_incOver100.Matcher.on(engine); - } - - @Override - public X_inv11_incOver100.Matcher instantiate() { - return X_inv11_incOver100.Matcher.create(); - } - - @Override - public X_inv11_incOver100.Match newEmptyMatch() { - return X_inv11_incOver100.Match.newEmptyMatch(); - } - - @Override - public X_inv11_incOver100.Match newMatch(final Object... parameters) { - return X_inv11_incOver100.Match.newMatch((Taxation.Expense) parameters[0]); - } - - /** - * Inner class allowing the singleton instance of {@link X_inv11_incOver100} to be created - * not at the class load time of the outer class, - * but rather at the first call to {@link X_inv11_incOver100#instance()}. - * - *

    This workaround is required e.g. to support recursion. - * - */ - private static class LazyHolder { - private static final X_inv11_incOver100 INSTANCE = new X_inv11_incOver100(); - - /** - * Statically initializes the query specification after the field {@link #INSTANCE} is assigned. - * This initialization order is required to support indirect recursion. - * - *

    The static initializer is defined using a helper field to work around limitations of the code generator. - * - */ - private static final Object STATIC_INITIALIZER = ensureInitialized(); - - public static Object ensureInitialized() { - INSTANCE.ensureInitializedInternal(); - return null; - } - } - - private static class GeneratedPQuery extends BaseGeneratedEMFPQuery { - private static final X_inv11_incOver100.GeneratedPQuery INSTANCE = new GeneratedPQuery(); - - private final PParameter parameter_exp = new PParameter("exp", "Taxation.Expense", new EClassTransitiveInstancesKey((EClass)getClassifierLiteralSafe("http:///TaxCard.ecore", "Expense")), PParameterDirection.INOUT); - - private final List parameters = Arrays.asList(parameter_exp); - - private GeneratedPQuery() { - super(PVisibility.PUBLIC); - } - - @Override - public String getFullyQualifiedName() { - return "queries.x_inv11_incOver100"; - } - - @Override - public List getParameterNames() { - return Arrays.asList("exp"); - } - - @Override - public List getParameters() { - return parameters; - } - - @Override - public Set doGetContainedBodies() { - setEvaluationHints(new QueryEvaluationHint(null, QueryEvaluationHint.BackendRequirement.UNSPECIFIED)); - Set bodies = new LinkedHashSet<>(); - { - PBody body = new PBody(this); - PVariable var_exp = body.getOrCreateVariableByName("exp"); - PVariable var_incVal = body.getOrCreateVariableByName("incVal"); - new TypeConstraint(body, Tuples.flatTupleOf(var_exp), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Expense"))); - body.setSymbolicParameters(Arrays.asList( - new ExportedParameter(body, var_exp, parameter_exp) - )); - // Expense.income.income_amount(exp, incVal) - new TypeConstraint(body, Tuples.flatTupleOf(var_exp), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Expense"))); - PVariable var__virtual_0_ = body.getOrCreateVariableByName(".virtual{0}"); - new TypeConstraint(body, Tuples.flatTupleOf(var_exp, var__virtual_0_), new EStructuralFeatureInstancesKey(getFeatureLiteral("http:///TaxCard.ecore", "Expense", "income"))); - new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_0_), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Income"))); - PVariable var__virtual_1_ = body.getOrCreateVariableByName(".virtual{1}"); - new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_0_, var__virtual_1_), new EStructuralFeatureInstancesKey(getFeatureLiteral("http:///TaxCard.ecore", "Income", "income_amount"))); - new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_1_), new EDataTypeInSlotsKey((EDataType)getClassifierLiteral("http://www.eclipse.org/emf/2002/Ecore", "EDouble"))); - new Equality(body, var__virtual_1_, var_incVal); - // check(incVal / 2 > 50) - new ExpressionEvaluation(body, new IExpressionEvaluator() { - - @Override - public String getShortDescription() { - return "Expression evaluation from pattern x_inv11_incOver100"; - } - - @Override - public Iterable getInputParameterNames() { - return Arrays.asList("incVal");} - - @Override - public Object evaluateExpression(IValueProvider provider) throws Exception { - Double incVal = (Double) provider.getValue("incVal"); - return evaluateExpression_1_1(incVal); - } - }, null); - bodies.add(body); - } - { - PBody body = new PBody(this); - PVariable var_exp = body.getOrCreateVariableByName("exp"); - PVariable var_decl = body.getOrCreateVariableByName("decl"); - new TypeConstraint(body, Tuples.flatTupleOf(var_exp), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Expense"))); - body.setSymbolicParameters(Arrays.asList( - new ExportedParameter(body, var_exp, parameter_exp) - )); - // Expense.declared_amount(exp, decl) - new TypeConstraint(body, Tuples.flatTupleOf(var_exp), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Expense"))); - PVariable var__virtual_0_ = body.getOrCreateVariableByName(".virtual{0}"); - new TypeConstraint(body, Tuples.flatTupleOf(var_exp, var__virtual_0_), new EStructuralFeatureInstancesKey(getFeatureLiteral("http:///TaxCard.ecore", "Expense", "declared_amount"))); - new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_0_), new EDataTypeInSlotsKey((EDataType)getClassifierLiteral("http://www.eclipse.org/emf/2002/Ecore", "EDouble"))); - new Equality(body, var__virtual_0_, var_decl); - // check(decl != 50) - new ExpressionEvaluation(body, new IExpressionEvaluator() { - - @Override - public String getShortDescription() { - return "Expression evaluation from pattern x_inv11_incOver100"; - } - - @Override - public Iterable getInputParameterNames() { - return Arrays.asList("decl");} - - @Override - public Object evaluateExpression(IValueProvider provider) throws Exception { - Double decl = (Double) provider.getValue("decl"); - return evaluateExpression_2_1(decl); - } - }, null); - bodies.add(body); - } - return bodies; - } - } - - private static boolean evaluateExpression_1_1(final Double incVal) { - return (((incVal).doubleValue() / 2) > 50); - } - - private static boolean evaluateExpression_2_1(final Double decl) { - return ((decl).doubleValue() != 50); - } -} diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/X_inv12_notNonRes.java b/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/X_inv12_notNonRes.java deleted file mode 100644 index 96aea5e8..00000000 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/X_inv12_notNonRes.java +++ /dev/null @@ -1,544 +0,0 @@ -/** - * Generated from platform:/resource/case.study.pledge.run/src/queries/case_study_A.vql - */ -package queries; - -import Taxation.Non_Resident_Tax_Payer; -import java.util.Arrays; -import java.util.Collection; -import java.util.LinkedHashSet; -import java.util.List; -import java.util.Objects; -import java.util.Optional; -import java.util.Set; -import java.util.function.Consumer; -import java.util.stream.Collectors; -import java.util.stream.Stream; -import org.apache.log4j.Logger; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.viatra.query.runtime.api.IPatternMatch; -import org.eclipse.viatra.query.runtime.api.IQuerySpecification; -import org.eclipse.viatra.query.runtime.api.ViatraQueryEngine; -import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFPQuery; -import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFQuerySpecification; -import org.eclipse.viatra.query.runtime.api.impl.BaseMatcher; -import org.eclipse.viatra.query.runtime.api.impl.BasePatternMatch; -import org.eclipse.viatra.query.runtime.emf.types.EClassTransitiveInstancesKey; -import org.eclipse.viatra.query.runtime.matchers.backend.QueryEvaluationHint; -import org.eclipse.viatra.query.runtime.matchers.psystem.PBody; -import org.eclipse.viatra.query.runtime.matchers.psystem.PVariable; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.ExportedParameter; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicenumerables.TypeConstraint; -import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameter; -import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameterDirection; -import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PVisibility; -import org.eclipse.viatra.query.runtime.matchers.tuple.Tuple; -import org.eclipse.viatra.query.runtime.matchers.tuple.Tuples; -import org.eclipse.viatra.query.runtime.util.ViatraQueryLoggingUtil; - -/** - * A pattern-specific query specification that can instantiate Matcher in a type-safe way. - * - *

    Original source: - *

    - *         pattern x_inv12_notNonRes(tp : Non_Resident_Tax_Payer) {
    - *             Non_Resident_Tax_Payer(tp);
    - *         }
    - * 
    - * - * @see Matcher - * @see Match - * - */ -@SuppressWarnings("all") -public final class X_inv12_notNonRes extends BaseGeneratedEMFQuerySpecification { - /** - * Pattern-specific match representation of the queries.x_inv12_notNonRes pattern, - * to be used in conjunction with {@link Matcher}. - * - *

    Class fields correspond to parameters of the pattern. Fields with value null are considered unassigned. - * Each instance is a (possibly partial) substitution of pattern parameters, - * usable to represent a match of the pattern in the result of a query, - * or to specify the bound (fixed) input parameters when issuing a query. - * - * @see Matcher - * - */ - public static abstract class Match extends BasePatternMatch { - private Non_Resident_Tax_Payer fTp; - - private static List parameterNames = makeImmutableList("tp"); - - private Match(final Non_Resident_Tax_Payer pTp) { - this.fTp = pTp; - } - - @Override - public Object get(final String parameterName) { - switch(parameterName) { - case "tp": return this.fTp; - default: return null; - } - } - - @Override - public Object get(final int index) { - switch(index) { - case 0: return this.fTp; - default: return null; - } - } - - public Non_Resident_Tax_Payer getTp() { - return this.fTp; - } - - @Override - public boolean set(final String parameterName, final Object newValue) { - if (!isMutable()) throw new java.lang.UnsupportedOperationException(); - if ("tp".equals(parameterName) ) { - this.fTp = (Non_Resident_Tax_Payer) newValue; - return true; - } - return false; - } - - public void setTp(final Non_Resident_Tax_Payer pTp) { - if (!isMutable()) throw new java.lang.UnsupportedOperationException(); - this.fTp = pTp; - } - - @Override - public String patternName() { - return "queries.x_inv12_notNonRes"; - } - - @Override - public List parameterNames() { - return X_inv12_notNonRes.Match.parameterNames; - } - - @Override - public Object[] toArray() { - return new Object[]{fTp}; - } - - @Override - public X_inv12_notNonRes.Match toImmutable() { - return isMutable() ? newMatch(fTp) : this; - } - - @Override - public String prettyPrint() { - StringBuilder result = new StringBuilder(); - result.append("\"tp\"=" + prettyPrintValue(fTp)); - return result.toString(); - } - - @Override - public int hashCode() { - return Objects.hash(fTp); - } - - @Override - public boolean equals(final Object obj) { - if (this == obj) - return true; - if (obj == null) { - return false; - } - if ((obj instanceof X_inv12_notNonRes.Match)) { - X_inv12_notNonRes.Match other = (X_inv12_notNonRes.Match) obj; - return Objects.equals(fTp, other.fTp); - } else { - // this should be infrequent - if (!(obj instanceof IPatternMatch)) { - return false; - } - IPatternMatch otherSig = (IPatternMatch) obj; - return Objects.equals(specification(), otherSig.specification()) && Arrays.deepEquals(toArray(), otherSig.toArray()); - } - } - - @Override - public X_inv12_notNonRes specification() { - return X_inv12_notNonRes.instance(); - } - - /** - * Returns an empty, mutable match. - * Fields of the mutable match can be filled to create a partial match, usable as matcher input. - * - * @return the empty match. - * - */ - public static X_inv12_notNonRes.Match newEmptyMatch() { - return new Mutable(null); - } - - /** - * Returns a mutable (partial) match. - * Fields of the mutable match can be filled to create a partial match, usable as matcher input. - * - * @param pTp the fixed value of pattern parameter tp, or null if not bound. - * @return the new, mutable (partial) match object. - * - */ - public static X_inv12_notNonRes.Match newMutableMatch(final Non_Resident_Tax_Payer pTp) { - return new Mutable(pTp); - } - - /** - * Returns a new (partial) match. - * This can be used e.g. to call the matcher with a partial match. - *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. - * @param pTp the fixed value of pattern parameter tp, or null if not bound. - * @return the (partial) match object. - * - */ - public static X_inv12_notNonRes.Match newMatch(final Non_Resident_Tax_Payer pTp) { - return new Immutable(pTp); - } - - private static final class Mutable extends X_inv12_notNonRes.Match { - Mutable(final Non_Resident_Tax_Payer pTp) { - super(pTp); - } - - @Override - public boolean isMutable() { - return true; - } - } - - private static final class Immutable extends X_inv12_notNonRes.Match { - Immutable(final Non_Resident_Tax_Payer pTp) { - super(pTp); - } - - @Override - public boolean isMutable() { - return false; - } - } - } - - /** - * Generated pattern matcher API of the queries.x_inv12_notNonRes pattern, - * providing pattern-specific query methods. - * - *

    Use the pattern matcher on a given model via {@link #on(ViatraQueryEngine)}, - * e.g. in conjunction with {@link ViatraQueryEngine#on(QueryScope)}. - * - *

    Matches of the pattern will be represented as {@link Match}. - * - *

    Original source: - *

    -   * pattern x_inv12_notNonRes(tp : Non_Resident_Tax_Payer) {
    -   *     Non_Resident_Tax_Payer(tp);
    -   * }
    -   * 
    - * - * @see Match - * @see X_inv12_notNonRes - * - */ - public static class Matcher extends BaseMatcher { - /** - * Initializes the pattern matcher within an existing VIATRA Query engine. - * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. - * - * @param engine the existing VIATRA Query engine in which this matcher will be created. - * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation - * - */ - public static X_inv12_notNonRes.Matcher on(final ViatraQueryEngine engine) { - // check if matcher already exists - Matcher matcher = engine.getExistingMatcher(querySpecification()); - if (matcher == null) { - matcher = (Matcher)engine.getMatcher(querySpecification()); - } - return matcher; - } - - /** - * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation - * @return an initialized matcher - * @noreference This method is for internal matcher initialization by the framework, do not call it manually. - * - */ - public static X_inv12_notNonRes.Matcher create() { - return new Matcher(); - } - - private static final int POSITION_TP = 0; - - private static final Logger LOGGER = ViatraQueryLoggingUtil.getLogger(X_inv12_notNonRes.Matcher.class); - - /** - * Initializes the pattern matcher within an existing VIATRA Query engine. - * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. - * - * @param engine the existing VIATRA Query engine in which this matcher will be created. - * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation - * - */ - private Matcher() { - super(querySpecification()); - } - - /** - * Returns the set of all matches of the pattern that conform to the given fixed values of some parameters. - * @param pTp the fixed value of pattern parameter tp, or null if not bound. - * @return matches represented as a Match object. - * - */ - public Collection getAllMatches(final Non_Resident_Tax_Payer pTp) { - return rawStreamAllMatches(new Object[]{pTp}).collect(Collectors.toSet()); - } - - /** - * Returns a stream of all matches of the pattern that conform to the given fixed values of some parameters. - *

    - * NOTE: It is important not to modify the source model while the stream is being processed. - * If the match set of the pattern changes during processing, the contents of the stream is undefined. - * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. - * @param pTp the fixed value of pattern parameter tp, or null if not bound. - * @return a stream of matches represented as a Match object. - * - */ - public Stream streamAllMatches(final Non_Resident_Tax_Payer pTp) { - return rawStreamAllMatches(new Object[]{pTp}); - } - - /** - * Returns an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. - * Neither determinism nor randomness of selection is guaranteed. - * @param pTp the fixed value of pattern parameter tp, or null if not bound. - * @return a match represented as a Match object, or null if no match is found. - * - */ - public Optional getOneArbitraryMatch(final Non_Resident_Tax_Payer pTp) { - return rawGetOneArbitraryMatch(new Object[]{pTp}); - } - - /** - * Indicates whether the given combination of specified pattern parameters constitute a valid pattern match, - * under any possible substitution of the unspecified parameters (if any). - * @param pTp the fixed value of pattern parameter tp, or null if not bound. - * @return true if the input is a valid (partial) match of the pattern. - * - */ - public boolean hasMatch(final Non_Resident_Tax_Payer pTp) { - return rawHasMatch(new Object[]{pTp}); - } - - /** - * Returns the number of all matches of the pattern that conform to the given fixed values of some parameters. - * @param pTp the fixed value of pattern parameter tp, or null if not bound. - * @return the number of pattern matches found. - * - */ - public int countMatches(final Non_Resident_Tax_Payer pTp) { - return rawCountMatches(new Object[]{pTp}); - } - - /** - * Executes the given processor on an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. - * Neither determinism nor randomness of selection is guaranteed. - * @param pTp the fixed value of pattern parameter tp, or null if not bound. - * @param processor the action that will process the selected match. - * @return true if the pattern has at least one match with the given parameter values, false if the processor was not invoked - * - */ - public boolean forOneArbitraryMatch(final Non_Resident_Tax_Payer pTp, final Consumer processor) { - return rawForOneArbitraryMatch(new Object[]{pTp}, processor); - } - - /** - * Returns a new (partial) match. - * This can be used e.g. to call the matcher with a partial match. - *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. - * @param pTp the fixed value of pattern parameter tp, or null if not bound. - * @return the (partial) match object. - * - */ - public X_inv12_notNonRes.Match newMatch(final Non_Resident_Tax_Payer pTp) { - return X_inv12_notNonRes.Match.newMatch(pTp); - } - - /** - * Retrieve the set of values that occur in matches for tp. - * @return the Set of all values or empty set if there are no matches - * - */ - protected Stream rawStreamAllValuesOftp(final Object[] parameters) { - return rawStreamAllValues(POSITION_TP, parameters).map(Non_Resident_Tax_Payer.class::cast); - } - - /** - * Retrieve the set of values that occur in matches for tp. - * @return the Set of all values or empty set if there are no matches - * - */ - public Set getAllValuesOftp() { - return rawStreamAllValuesOftp(emptyArray()).collect(Collectors.toSet()); - } - - /** - * Retrieve the set of values that occur in matches for tp. - * @return the Set of all values or empty set if there are no matches - * - */ - public Stream streamAllValuesOftp() { - return rawStreamAllValuesOftp(emptyArray()); - } - - @Override - protected X_inv12_notNonRes.Match tupleToMatch(final Tuple t) { - try { - return X_inv12_notNonRes.Match.newMatch((Non_Resident_Tax_Payer) t.get(POSITION_TP)); - } catch(ClassCastException e) { - LOGGER.error("Element(s) in tuple not properly typed!",e); - return null; - } - } - - @Override - protected X_inv12_notNonRes.Match arrayToMatch(final Object[] match) { - try { - return X_inv12_notNonRes.Match.newMatch((Non_Resident_Tax_Payer) match[POSITION_TP]); - } catch(ClassCastException e) { - LOGGER.error("Element(s) in array not properly typed!",e); - return null; - } - } - - @Override - protected X_inv12_notNonRes.Match arrayToMatchMutable(final Object[] match) { - try { - return X_inv12_notNonRes.Match.newMutableMatch((Non_Resident_Tax_Payer) match[POSITION_TP]); - } catch(ClassCastException e) { - LOGGER.error("Element(s) in array not properly typed!",e); - return null; - } - } - - /** - * @return the singleton instance of the query specification of this pattern - * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded - * - */ - public static IQuerySpecification querySpecification() { - return X_inv12_notNonRes.instance(); - } - } - - private X_inv12_notNonRes() { - super(GeneratedPQuery.INSTANCE); - } - - /** - * @return the singleton instance of the query specification - * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded - * - */ - public static X_inv12_notNonRes instance() { - try{ - return LazyHolder.INSTANCE; - } catch (ExceptionInInitializerError err) { - throw processInitializerError(err); - } - } - - @Override - protected X_inv12_notNonRes.Matcher instantiate(final ViatraQueryEngine engine) { - return X_inv12_notNonRes.Matcher.on(engine); - } - - @Override - public X_inv12_notNonRes.Matcher instantiate() { - return X_inv12_notNonRes.Matcher.create(); - } - - @Override - public X_inv12_notNonRes.Match newEmptyMatch() { - return X_inv12_notNonRes.Match.newEmptyMatch(); - } - - @Override - public X_inv12_notNonRes.Match newMatch(final Object... parameters) { - return X_inv12_notNonRes.Match.newMatch((Taxation.Non_Resident_Tax_Payer) parameters[0]); - } - - /** - * Inner class allowing the singleton instance of {@link X_inv12_notNonRes} to be created - * not at the class load time of the outer class, - * but rather at the first call to {@link X_inv12_notNonRes#instance()}. - * - *

    This workaround is required e.g. to support recursion. - * - */ - private static class LazyHolder { - private static final X_inv12_notNonRes INSTANCE = new X_inv12_notNonRes(); - - /** - * Statically initializes the query specification after the field {@link #INSTANCE} is assigned. - * This initialization order is required to support indirect recursion. - * - *

    The static initializer is defined using a helper field to work around limitations of the code generator. - * - */ - private static final Object STATIC_INITIALIZER = ensureInitialized(); - - public static Object ensureInitialized() { - INSTANCE.ensureInitializedInternal(); - return null; - } - } - - private static class GeneratedPQuery extends BaseGeneratedEMFPQuery { - private static final X_inv12_notNonRes.GeneratedPQuery INSTANCE = new GeneratedPQuery(); - - private final PParameter parameter_tp = new PParameter("tp", "Taxation.Non_Resident_Tax_Payer", new EClassTransitiveInstancesKey((EClass)getClassifierLiteralSafe("http:///TaxCard.ecore", "Non_Resident_Tax_Payer")), PParameterDirection.INOUT); - - private final List parameters = Arrays.asList(parameter_tp); - - private GeneratedPQuery() { - super(PVisibility.PUBLIC); - } - - @Override - public String getFullyQualifiedName() { - return "queries.x_inv12_notNonRes"; - } - - @Override - public List getParameterNames() { - return Arrays.asList("tp"); - } - - @Override - public List getParameters() { - return parameters; - } - - @Override - public Set doGetContainedBodies() { - setEvaluationHints(new QueryEvaluationHint(null, QueryEvaluationHint.BackendRequirement.UNSPECIFIED)); - Set bodies = new LinkedHashSet<>(); - { - PBody body = new PBody(this); - PVariable var_tp = body.getOrCreateVariableByName("tp"); - new TypeConstraint(body, Tuples.flatTupleOf(var_tp), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Non_Resident_Tax_Payer"))); - body.setSymbolicParameters(Arrays.asList( - new ExportedParameter(body, var_tp, parameter_tp) - )); - // Non_Resident_Tax_Payer(tp) - new TypeConstraint(body, Tuples.flatTupleOf(var_tp), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Non_Resident_Tax_Payer"))); - bodies.add(body); - } - return bodies; - } - } -} diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/X_inv12_notZZ.java b/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/X_inv12_notZZ.java deleted file mode 100644 index f8e7da17..00000000 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/X_inv12_notZZ.java +++ /dev/null @@ -1,555 +0,0 @@ -/** - * Generated from platform:/resource/case.study.pledge.run/src/queries/case_study_A.vql - */ -package queries; - -import Taxation.Habitual_Address; -import java.util.Arrays; -import java.util.Collection; -import java.util.LinkedHashSet; -import java.util.List; -import java.util.Objects; -import java.util.Optional; -import java.util.Set; -import java.util.function.Consumer; -import java.util.stream.Collectors; -import java.util.stream.Stream; -import org.apache.log4j.Logger; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EDataType; -import org.eclipse.viatra.query.runtime.api.IPatternMatch; -import org.eclipse.viatra.query.runtime.api.IQuerySpecification; -import org.eclipse.viatra.query.runtime.api.ViatraQueryEngine; -import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFPQuery; -import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFQuerySpecification; -import org.eclipse.viatra.query.runtime.api.impl.BaseMatcher; -import org.eclipse.viatra.query.runtime.api.impl.BasePatternMatch; -import org.eclipse.viatra.query.runtime.emf.types.EClassTransitiveInstancesKey; -import org.eclipse.viatra.query.runtime.emf.types.EDataTypeInSlotsKey; -import org.eclipse.viatra.query.runtime.emf.types.EStructuralFeatureInstancesKey; -import org.eclipse.viatra.query.runtime.matchers.backend.QueryEvaluationHint; -import org.eclipse.viatra.query.runtime.matchers.psystem.PBody; -import org.eclipse.viatra.query.runtime.matchers.psystem.PVariable; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.Equality; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.ExportedParameter; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicenumerables.ConstantValue; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicenumerables.TypeConstraint; -import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameter; -import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameterDirection; -import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PVisibility; -import org.eclipse.viatra.query.runtime.matchers.tuple.Tuple; -import org.eclipse.viatra.query.runtime.matchers.tuple.Tuples; -import org.eclipse.viatra.query.runtime.util.ViatraQueryLoggingUtil; - -/** - * A pattern-specific query specification that can instantiate Matcher in a type-safe way. - * - *

    Original source: - *

    - *         pattern x_inv12_notZZ(hab_add : Habitual_Address) {
    - *             Address.country(hab_add, ::ZZ);
    - *         }
    - * 
    - * - * @see Matcher - * @see Match - * - */ -@SuppressWarnings("all") -public final class X_inv12_notZZ extends BaseGeneratedEMFQuerySpecification { - /** - * Pattern-specific match representation of the queries.x_inv12_notZZ pattern, - * to be used in conjunction with {@link Matcher}. - * - *

    Class fields correspond to parameters of the pattern. Fields with value null are considered unassigned. - * Each instance is a (possibly partial) substitution of pattern parameters, - * usable to represent a match of the pattern in the result of a query, - * or to specify the bound (fixed) input parameters when issuing a query. - * - * @see Matcher - * - */ - public static abstract class Match extends BasePatternMatch { - private Habitual_Address fHab_add; - - private static List parameterNames = makeImmutableList("hab_add"); - - private Match(final Habitual_Address pHab_add) { - this.fHab_add = pHab_add; - } - - @Override - public Object get(final String parameterName) { - switch(parameterName) { - case "hab_add": return this.fHab_add; - default: return null; - } - } - - @Override - public Object get(final int index) { - switch(index) { - case 0: return this.fHab_add; - default: return null; - } - } - - public Habitual_Address getHab_add() { - return this.fHab_add; - } - - @Override - public boolean set(final String parameterName, final Object newValue) { - if (!isMutable()) throw new java.lang.UnsupportedOperationException(); - if ("hab_add".equals(parameterName) ) { - this.fHab_add = (Habitual_Address) newValue; - return true; - } - return false; - } - - public void setHab_add(final Habitual_Address pHab_add) { - if (!isMutable()) throw new java.lang.UnsupportedOperationException(); - this.fHab_add = pHab_add; - } - - @Override - public String patternName() { - return "queries.x_inv12_notZZ"; - } - - @Override - public List parameterNames() { - return X_inv12_notZZ.Match.parameterNames; - } - - @Override - public Object[] toArray() { - return new Object[]{fHab_add}; - } - - @Override - public X_inv12_notZZ.Match toImmutable() { - return isMutable() ? newMatch(fHab_add) : this; - } - - @Override - public String prettyPrint() { - StringBuilder result = new StringBuilder(); - result.append("\"hab_add\"=" + prettyPrintValue(fHab_add)); - return result.toString(); - } - - @Override - public int hashCode() { - return Objects.hash(fHab_add); - } - - @Override - public boolean equals(final Object obj) { - if (this == obj) - return true; - if (obj == null) { - return false; - } - if ((obj instanceof X_inv12_notZZ.Match)) { - X_inv12_notZZ.Match other = (X_inv12_notZZ.Match) obj; - return Objects.equals(fHab_add, other.fHab_add); - } else { - // this should be infrequent - if (!(obj instanceof IPatternMatch)) { - return false; - } - IPatternMatch otherSig = (IPatternMatch) obj; - return Objects.equals(specification(), otherSig.specification()) && Arrays.deepEquals(toArray(), otherSig.toArray()); - } - } - - @Override - public X_inv12_notZZ specification() { - return X_inv12_notZZ.instance(); - } - - /** - * Returns an empty, mutable match. - * Fields of the mutable match can be filled to create a partial match, usable as matcher input. - * - * @return the empty match. - * - */ - public static X_inv12_notZZ.Match newEmptyMatch() { - return new Mutable(null); - } - - /** - * Returns a mutable (partial) match. - * Fields of the mutable match can be filled to create a partial match, usable as matcher input. - * - * @param pHab_add the fixed value of pattern parameter hab_add, or null if not bound. - * @return the new, mutable (partial) match object. - * - */ - public static X_inv12_notZZ.Match newMutableMatch(final Habitual_Address pHab_add) { - return new Mutable(pHab_add); - } - - /** - * Returns a new (partial) match. - * This can be used e.g. to call the matcher with a partial match. - *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. - * @param pHab_add the fixed value of pattern parameter hab_add, or null if not bound. - * @return the (partial) match object. - * - */ - public static X_inv12_notZZ.Match newMatch(final Habitual_Address pHab_add) { - return new Immutable(pHab_add); - } - - private static final class Mutable extends X_inv12_notZZ.Match { - Mutable(final Habitual_Address pHab_add) { - super(pHab_add); - } - - @Override - public boolean isMutable() { - return true; - } - } - - private static final class Immutable extends X_inv12_notZZ.Match { - Immutable(final Habitual_Address pHab_add) { - super(pHab_add); - } - - @Override - public boolean isMutable() { - return false; - } - } - } - - /** - * Generated pattern matcher API of the queries.x_inv12_notZZ pattern, - * providing pattern-specific query methods. - * - *

    Use the pattern matcher on a given model via {@link #on(ViatraQueryEngine)}, - * e.g. in conjunction with {@link ViatraQueryEngine#on(QueryScope)}. - * - *

    Matches of the pattern will be represented as {@link Match}. - * - *

    Original source: - *

    -   * pattern x_inv12_notZZ(hab_add : Habitual_Address) {
    -   *     Address.country(hab_add, ::ZZ);
    -   * }
    -   * 
    - * - * @see Match - * @see X_inv12_notZZ - * - */ - public static class Matcher extends BaseMatcher { - /** - * Initializes the pattern matcher within an existing VIATRA Query engine. - * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. - * - * @param engine the existing VIATRA Query engine in which this matcher will be created. - * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation - * - */ - public static X_inv12_notZZ.Matcher on(final ViatraQueryEngine engine) { - // check if matcher already exists - Matcher matcher = engine.getExistingMatcher(querySpecification()); - if (matcher == null) { - matcher = (Matcher)engine.getMatcher(querySpecification()); - } - return matcher; - } - - /** - * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation - * @return an initialized matcher - * @noreference This method is for internal matcher initialization by the framework, do not call it manually. - * - */ - public static X_inv12_notZZ.Matcher create() { - return new Matcher(); - } - - private static final int POSITION_HAB_ADD = 0; - - private static final Logger LOGGER = ViatraQueryLoggingUtil.getLogger(X_inv12_notZZ.Matcher.class); - - /** - * Initializes the pattern matcher within an existing VIATRA Query engine. - * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. - * - * @param engine the existing VIATRA Query engine in which this matcher will be created. - * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation - * - */ - private Matcher() { - super(querySpecification()); - } - - /** - * Returns the set of all matches of the pattern that conform to the given fixed values of some parameters. - * @param pHab_add the fixed value of pattern parameter hab_add, or null if not bound. - * @return matches represented as a Match object. - * - */ - public Collection getAllMatches(final Habitual_Address pHab_add) { - return rawStreamAllMatches(new Object[]{pHab_add}).collect(Collectors.toSet()); - } - - /** - * Returns a stream of all matches of the pattern that conform to the given fixed values of some parameters. - *

    - * NOTE: It is important not to modify the source model while the stream is being processed. - * If the match set of the pattern changes during processing, the contents of the stream is undefined. - * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. - * @param pHab_add the fixed value of pattern parameter hab_add, or null if not bound. - * @return a stream of matches represented as a Match object. - * - */ - public Stream streamAllMatches(final Habitual_Address pHab_add) { - return rawStreamAllMatches(new Object[]{pHab_add}); - } - - /** - * Returns an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. - * Neither determinism nor randomness of selection is guaranteed. - * @param pHab_add the fixed value of pattern parameter hab_add, or null if not bound. - * @return a match represented as a Match object, or null if no match is found. - * - */ - public Optional getOneArbitraryMatch(final Habitual_Address pHab_add) { - return rawGetOneArbitraryMatch(new Object[]{pHab_add}); - } - - /** - * Indicates whether the given combination of specified pattern parameters constitute a valid pattern match, - * under any possible substitution of the unspecified parameters (if any). - * @param pHab_add the fixed value of pattern parameter hab_add, or null if not bound. - * @return true if the input is a valid (partial) match of the pattern. - * - */ - public boolean hasMatch(final Habitual_Address pHab_add) { - return rawHasMatch(new Object[]{pHab_add}); - } - - /** - * Returns the number of all matches of the pattern that conform to the given fixed values of some parameters. - * @param pHab_add the fixed value of pattern parameter hab_add, or null if not bound. - * @return the number of pattern matches found. - * - */ - public int countMatches(final Habitual_Address pHab_add) { - return rawCountMatches(new Object[]{pHab_add}); - } - - /** - * Executes the given processor on an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. - * Neither determinism nor randomness of selection is guaranteed. - * @param pHab_add the fixed value of pattern parameter hab_add, or null if not bound. - * @param processor the action that will process the selected match. - * @return true if the pattern has at least one match with the given parameter values, false if the processor was not invoked - * - */ - public boolean forOneArbitraryMatch(final Habitual_Address pHab_add, final Consumer processor) { - return rawForOneArbitraryMatch(new Object[]{pHab_add}, processor); - } - - /** - * Returns a new (partial) match. - * This can be used e.g. to call the matcher with a partial match. - *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. - * @param pHab_add the fixed value of pattern parameter hab_add, or null if not bound. - * @return the (partial) match object. - * - */ - public X_inv12_notZZ.Match newMatch(final Habitual_Address pHab_add) { - return X_inv12_notZZ.Match.newMatch(pHab_add); - } - - /** - * Retrieve the set of values that occur in matches for hab_add. - * @return the Set of all values or empty set if there are no matches - * - */ - protected Stream rawStreamAllValuesOfhab_add(final Object[] parameters) { - return rawStreamAllValues(POSITION_HAB_ADD, parameters).map(Habitual_Address.class::cast); - } - - /** - * Retrieve the set of values that occur in matches for hab_add. - * @return the Set of all values or empty set if there are no matches - * - */ - public Set getAllValuesOfhab_add() { - return rawStreamAllValuesOfhab_add(emptyArray()).collect(Collectors.toSet()); - } - - /** - * Retrieve the set of values that occur in matches for hab_add. - * @return the Set of all values or empty set if there are no matches - * - */ - public Stream streamAllValuesOfhab_add() { - return rawStreamAllValuesOfhab_add(emptyArray()); - } - - @Override - protected X_inv12_notZZ.Match tupleToMatch(final Tuple t) { - try { - return X_inv12_notZZ.Match.newMatch((Habitual_Address) t.get(POSITION_HAB_ADD)); - } catch(ClassCastException e) { - LOGGER.error("Element(s) in tuple not properly typed!",e); - return null; - } - } - - @Override - protected X_inv12_notZZ.Match arrayToMatch(final Object[] match) { - try { - return X_inv12_notZZ.Match.newMatch((Habitual_Address) match[POSITION_HAB_ADD]); - } catch(ClassCastException e) { - LOGGER.error("Element(s) in array not properly typed!",e); - return null; - } - } - - @Override - protected X_inv12_notZZ.Match arrayToMatchMutable(final Object[] match) { - try { - return X_inv12_notZZ.Match.newMutableMatch((Habitual_Address) match[POSITION_HAB_ADD]); - } catch(ClassCastException e) { - LOGGER.error("Element(s) in array not properly typed!",e); - return null; - } - } - - /** - * @return the singleton instance of the query specification of this pattern - * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded - * - */ - public static IQuerySpecification querySpecification() { - return X_inv12_notZZ.instance(); - } - } - - private X_inv12_notZZ() { - super(GeneratedPQuery.INSTANCE); - } - - /** - * @return the singleton instance of the query specification - * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded - * - */ - public static X_inv12_notZZ instance() { - try{ - return LazyHolder.INSTANCE; - } catch (ExceptionInInitializerError err) { - throw processInitializerError(err); - } - } - - @Override - protected X_inv12_notZZ.Matcher instantiate(final ViatraQueryEngine engine) { - return X_inv12_notZZ.Matcher.on(engine); - } - - @Override - public X_inv12_notZZ.Matcher instantiate() { - return X_inv12_notZZ.Matcher.create(); - } - - @Override - public X_inv12_notZZ.Match newEmptyMatch() { - return X_inv12_notZZ.Match.newEmptyMatch(); - } - - @Override - public X_inv12_notZZ.Match newMatch(final Object... parameters) { - return X_inv12_notZZ.Match.newMatch((Taxation.Habitual_Address) parameters[0]); - } - - /** - * Inner class allowing the singleton instance of {@link X_inv12_notZZ} to be created - * not at the class load time of the outer class, - * but rather at the first call to {@link X_inv12_notZZ#instance()}. - * - *

    This workaround is required e.g. to support recursion. - * - */ - private static class LazyHolder { - private static final X_inv12_notZZ INSTANCE = new X_inv12_notZZ(); - - /** - * Statically initializes the query specification after the field {@link #INSTANCE} is assigned. - * This initialization order is required to support indirect recursion. - * - *

    The static initializer is defined using a helper field to work around limitations of the code generator. - * - */ - private static final Object STATIC_INITIALIZER = ensureInitialized(); - - public static Object ensureInitialized() { - INSTANCE.ensureInitializedInternal(); - return null; - } - } - - private static class GeneratedPQuery extends BaseGeneratedEMFPQuery { - private static final X_inv12_notZZ.GeneratedPQuery INSTANCE = new GeneratedPQuery(); - - private final PParameter parameter_hab_add = new PParameter("hab_add", "Taxation.Habitual_Address", new EClassTransitiveInstancesKey((EClass)getClassifierLiteralSafe("http:///TaxCard.ecore", "Habitual_Address")), PParameterDirection.INOUT); - - private final List parameters = Arrays.asList(parameter_hab_add); - - private GeneratedPQuery() { - super(PVisibility.PUBLIC); - } - - @Override - public String getFullyQualifiedName() { - return "queries.x_inv12_notZZ"; - } - - @Override - public List getParameterNames() { - return Arrays.asList("hab_add"); - } - - @Override - public List getParameters() { - return parameters; - } - - @Override - public Set doGetContainedBodies() { - setEvaluationHints(new QueryEvaluationHint(null, QueryEvaluationHint.BackendRequirement.UNSPECIFIED)); - Set bodies = new LinkedHashSet<>(); - { - PBody body = new PBody(this); - PVariable var_hab_add = body.getOrCreateVariableByName("hab_add"); - new TypeConstraint(body, Tuples.flatTupleOf(var_hab_add), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Habitual_Address"))); - body.setSymbolicParameters(Arrays.asList( - new ExportedParameter(body, var_hab_add, parameter_hab_add) - )); - // Address.country(hab_add, ::ZZ) - PVariable var__virtual_0_ = body.getOrCreateVariableByName(".virtual{0}"); - new ConstantValue(body, var__virtual_0_, getEnumLiteral("http:///TaxCard.ecore", "Country", "ZZ").getInstance()); - new TypeConstraint(body, Tuples.flatTupleOf(var_hab_add), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Address"))); - PVariable var__virtual_1_ = body.getOrCreateVariableByName(".virtual{1}"); - new TypeConstraint(body, Tuples.flatTupleOf(var_hab_add, var__virtual_1_), new EStructuralFeatureInstancesKey(getFeatureLiteral("http:///TaxCard.ecore", "Address", "country"))); - new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_1_), new EDataTypeInSlotsKey((EDataType)getClassifierLiteral("http:///TaxCard.ecore", "Country"))); - new Equality(body, var__virtual_1_, var__virtual_0_); - bodies.add(body); - } - return bodies; - } - } -} diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/X_inv13.java b/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/X_inv13.java deleted file mode 100644 index 42afdd70..00000000 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/X_inv13.java +++ /dev/null @@ -1,544 +0,0 @@ -/** - * Generated from platform:/resource/case.study.pledge.run/src/queries/case_study_A.vql - */ -package queries; - -import Taxation.Resident_Tax_Payer; -import java.util.Arrays; -import java.util.Collection; -import java.util.LinkedHashSet; -import java.util.List; -import java.util.Objects; -import java.util.Optional; -import java.util.Set; -import java.util.function.Consumer; -import java.util.stream.Collectors; -import java.util.stream.Stream; -import org.apache.log4j.Logger; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.viatra.query.runtime.api.IPatternMatch; -import org.eclipse.viatra.query.runtime.api.IQuerySpecification; -import org.eclipse.viatra.query.runtime.api.ViatraQueryEngine; -import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFPQuery; -import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFQuerySpecification; -import org.eclipse.viatra.query.runtime.api.impl.BaseMatcher; -import org.eclipse.viatra.query.runtime.api.impl.BasePatternMatch; -import org.eclipse.viatra.query.runtime.emf.types.EClassTransitiveInstancesKey; -import org.eclipse.viatra.query.runtime.matchers.backend.QueryEvaluationHint; -import org.eclipse.viatra.query.runtime.matchers.psystem.PBody; -import org.eclipse.viatra.query.runtime.matchers.psystem.PVariable; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.ExportedParameter; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicenumerables.TypeConstraint; -import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameter; -import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameterDirection; -import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PVisibility; -import org.eclipse.viatra.query.runtime.matchers.tuple.Tuple; -import org.eclipse.viatra.query.runtime.matchers.tuple.Tuples; -import org.eclipse.viatra.query.runtime.util.ViatraQueryLoggingUtil; - -/** - * A pattern-specific query specification that can instantiate Matcher in a type-safe way. - * - *

    Original source: - *

    - *         pattern x_inv13(tp : Resident_Tax_Payer) {
    - *             Resident_Tax_Payer(tp);
    - *         }
    - * 
    - * - * @see Matcher - * @see Match - * - */ -@SuppressWarnings("all") -public final class X_inv13 extends BaseGeneratedEMFQuerySpecification { - /** - * Pattern-specific match representation of the queries.x_inv13 pattern, - * to be used in conjunction with {@link Matcher}. - * - *

    Class fields correspond to parameters of the pattern. Fields with value null are considered unassigned. - * Each instance is a (possibly partial) substitution of pattern parameters, - * usable to represent a match of the pattern in the result of a query, - * or to specify the bound (fixed) input parameters when issuing a query. - * - * @see Matcher - * - */ - public static abstract class Match extends BasePatternMatch { - private Resident_Tax_Payer fTp; - - private static List parameterNames = makeImmutableList("tp"); - - private Match(final Resident_Tax_Payer pTp) { - this.fTp = pTp; - } - - @Override - public Object get(final String parameterName) { - switch(parameterName) { - case "tp": return this.fTp; - default: return null; - } - } - - @Override - public Object get(final int index) { - switch(index) { - case 0: return this.fTp; - default: return null; - } - } - - public Resident_Tax_Payer getTp() { - return this.fTp; - } - - @Override - public boolean set(final String parameterName, final Object newValue) { - if (!isMutable()) throw new java.lang.UnsupportedOperationException(); - if ("tp".equals(parameterName) ) { - this.fTp = (Resident_Tax_Payer) newValue; - return true; - } - return false; - } - - public void setTp(final Resident_Tax_Payer pTp) { - if (!isMutable()) throw new java.lang.UnsupportedOperationException(); - this.fTp = pTp; - } - - @Override - public String patternName() { - return "queries.x_inv13"; - } - - @Override - public List parameterNames() { - return X_inv13.Match.parameterNames; - } - - @Override - public Object[] toArray() { - return new Object[]{fTp}; - } - - @Override - public X_inv13.Match toImmutable() { - return isMutable() ? newMatch(fTp) : this; - } - - @Override - public String prettyPrint() { - StringBuilder result = new StringBuilder(); - result.append("\"tp\"=" + prettyPrintValue(fTp)); - return result.toString(); - } - - @Override - public int hashCode() { - return Objects.hash(fTp); - } - - @Override - public boolean equals(final Object obj) { - if (this == obj) - return true; - if (obj == null) { - return false; - } - if ((obj instanceof X_inv13.Match)) { - X_inv13.Match other = (X_inv13.Match) obj; - return Objects.equals(fTp, other.fTp); - } else { - // this should be infrequent - if (!(obj instanceof IPatternMatch)) { - return false; - } - IPatternMatch otherSig = (IPatternMatch) obj; - return Objects.equals(specification(), otherSig.specification()) && Arrays.deepEquals(toArray(), otherSig.toArray()); - } - } - - @Override - public X_inv13 specification() { - return X_inv13.instance(); - } - - /** - * Returns an empty, mutable match. - * Fields of the mutable match can be filled to create a partial match, usable as matcher input. - * - * @return the empty match. - * - */ - public static X_inv13.Match newEmptyMatch() { - return new Mutable(null); - } - - /** - * Returns a mutable (partial) match. - * Fields of the mutable match can be filled to create a partial match, usable as matcher input. - * - * @param pTp the fixed value of pattern parameter tp, or null if not bound. - * @return the new, mutable (partial) match object. - * - */ - public static X_inv13.Match newMutableMatch(final Resident_Tax_Payer pTp) { - return new Mutable(pTp); - } - - /** - * Returns a new (partial) match. - * This can be used e.g. to call the matcher with a partial match. - *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. - * @param pTp the fixed value of pattern parameter tp, or null if not bound. - * @return the (partial) match object. - * - */ - public static X_inv13.Match newMatch(final Resident_Tax_Payer pTp) { - return new Immutable(pTp); - } - - private static final class Mutable extends X_inv13.Match { - Mutable(final Resident_Tax_Payer pTp) { - super(pTp); - } - - @Override - public boolean isMutable() { - return true; - } - } - - private static final class Immutable extends X_inv13.Match { - Immutable(final Resident_Tax_Payer pTp) { - super(pTp); - } - - @Override - public boolean isMutable() { - return false; - } - } - } - - /** - * Generated pattern matcher API of the queries.x_inv13 pattern, - * providing pattern-specific query methods. - * - *

    Use the pattern matcher on a given model via {@link #on(ViatraQueryEngine)}, - * e.g. in conjunction with {@link ViatraQueryEngine#on(QueryScope)}. - * - *

    Matches of the pattern will be represented as {@link Match}. - * - *

    Original source: - *

    -   * pattern x_inv13(tp : Resident_Tax_Payer) {
    -   *     Resident_Tax_Payer(tp);
    -   * }
    -   * 
    - * - * @see Match - * @see X_inv13 - * - */ - public static class Matcher extends BaseMatcher { - /** - * Initializes the pattern matcher within an existing VIATRA Query engine. - * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. - * - * @param engine the existing VIATRA Query engine in which this matcher will be created. - * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation - * - */ - public static X_inv13.Matcher on(final ViatraQueryEngine engine) { - // check if matcher already exists - Matcher matcher = engine.getExistingMatcher(querySpecification()); - if (matcher == null) { - matcher = (Matcher)engine.getMatcher(querySpecification()); - } - return matcher; - } - - /** - * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation - * @return an initialized matcher - * @noreference This method is for internal matcher initialization by the framework, do not call it manually. - * - */ - public static X_inv13.Matcher create() { - return new Matcher(); - } - - private static final int POSITION_TP = 0; - - private static final Logger LOGGER = ViatraQueryLoggingUtil.getLogger(X_inv13.Matcher.class); - - /** - * Initializes the pattern matcher within an existing VIATRA Query engine. - * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. - * - * @param engine the existing VIATRA Query engine in which this matcher will be created. - * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation - * - */ - private Matcher() { - super(querySpecification()); - } - - /** - * Returns the set of all matches of the pattern that conform to the given fixed values of some parameters. - * @param pTp the fixed value of pattern parameter tp, or null if not bound. - * @return matches represented as a Match object. - * - */ - public Collection getAllMatches(final Resident_Tax_Payer pTp) { - return rawStreamAllMatches(new Object[]{pTp}).collect(Collectors.toSet()); - } - - /** - * Returns a stream of all matches of the pattern that conform to the given fixed values of some parameters. - *

    - * NOTE: It is important not to modify the source model while the stream is being processed. - * If the match set of the pattern changes during processing, the contents of the stream is undefined. - * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. - * @param pTp the fixed value of pattern parameter tp, or null if not bound. - * @return a stream of matches represented as a Match object. - * - */ - public Stream streamAllMatches(final Resident_Tax_Payer pTp) { - return rawStreamAllMatches(new Object[]{pTp}); - } - - /** - * Returns an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. - * Neither determinism nor randomness of selection is guaranteed. - * @param pTp the fixed value of pattern parameter tp, or null if not bound. - * @return a match represented as a Match object, or null if no match is found. - * - */ - public Optional getOneArbitraryMatch(final Resident_Tax_Payer pTp) { - return rawGetOneArbitraryMatch(new Object[]{pTp}); - } - - /** - * Indicates whether the given combination of specified pattern parameters constitute a valid pattern match, - * under any possible substitution of the unspecified parameters (if any). - * @param pTp the fixed value of pattern parameter tp, or null if not bound. - * @return true if the input is a valid (partial) match of the pattern. - * - */ - public boolean hasMatch(final Resident_Tax_Payer pTp) { - return rawHasMatch(new Object[]{pTp}); - } - - /** - * Returns the number of all matches of the pattern that conform to the given fixed values of some parameters. - * @param pTp the fixed value of pattern parameter tp, or null if not bound. - * @return the number of pattern matches found. - * - */ - public int countMatches(final Resident_Tax_Payer pTp) { - return rawCountMatches(new Object[]{pTp}); - } - - /** - * Executes the given processor on an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. - * Neither determinism nor randomness of selection is guaranteed. - * @param pTp the fixed value of pattern parameter tp, or null if not bound. - * @param processor the action that will process the selected match. - * @return true if the pattern has at least one match with the given parameter values, false if the processor was not invoked - * - */ - public boolean forOneArbitraryMatch(final Resident_Tax_Payer pTp, final Consumer processor) { - return rawForOneArbitraryMatch(new Object[]{pTp}, processor); - } - - /** - * Returns a new (partial) match. - * This can be used e.g. to call the matcher with a partial match. - *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. - * @param pTp the fixed value of pattern parameter tp, or null if not bound. - * @return the (partial) match object. - * - */ - public X_inv13.Match newMatch(final Resident_Tax_Payer pTp) { - return X_inv13.Match.newMatch(pTp); - } - - /** - * Retrieve the set of values that occur in matches for tp. - * @return the Set of all values or empty set if there are no matches - * - */ - protected Stream rawStreamAllValuesOftp(final Object[] parameters) { - return rawStreamAllValues(POSITION_TP, parameters).map(Resident_Tax_Payer.class::cast); - } - - /** - * Retrieve the set of values that occur in matches for tp. - * @return the Set of all values or empty set if there are no matches - * - */ - public Set getAllValuesOftp() { - return rawStreamAllValuesOftp(emptyArray()).collect(Collectors.toSet()); - } - - /** - * Retrieve the set of values that occur in matches for tp. - * @return the Set of all values or empty set if there are no matches - * - */ - public Stream streamAllValuesOftp() { - return rawStreamAllValuesOftp(emptyArray()); - } - - @Override - protected X_inv13.Match tupleToMatch(final Tuple t) { - try { - return X_inv13.Match.newMatch((Resident_Tax_Payer) t.get(POSITION_TP)); - } catch(ClassCastException e) { - LOGGER.error("Element(s) in tuple not properly typed!",e); - return null; - } - } - - @Override - protected X_inv13.Match arrayToMatch(final Object[] match) { - try { - return X_inv13.Match.newMatch((Resident_Tax_Payer) match[POSITION_TP]); - } catch(ClassCastException e) { - LOGGER.error("Element(s) in array not properly typed!",e); - return null; - } - } - - @Override - protected X_inv13.Match arrayToMatchMutable(final Object[] match) { - try { - return X_inv13.Match.newMutableMatch((Resident_Tax_Payer) match[POSITION_TP]); - } catch(ClassCastException e) { - LOGGER.error("Element(s) in array not properly typed!",e); - return null; - } - } - - /** - * @return the singleton instance of the query specification of this pattern - * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded - * - */ - public static IQuerySpecification querySpecification() { - return X_inv13.instance(); - } - } - - private X_inv13() { - super(GeneratedPQuery.INSTANCE); - } - - /** - * @return the singleton instance of the query specification - * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded - * - */ - public static X_inv13 instance() { - try{ - return LazyHolder.INSTANCE; - } catch (ExceptionInInitializerError err) { - throw processInitializerError(err); - } - } - - @Override - protected X_inv13.Matcher instantiate(final ViatraQueryEngine engine) { - return X_inv13.Matcher.on(engine); - } - - @Override - public X_inv13.Matcher instantiate() { - return X_inv13.Matcher.create(); - } - - @Override - public X_inv13.Match newEmptyMatch() { - return X_inv13.Match.newEmptyMatch(); - } - - @Override - public X_inv13.Match newMatch(final Object... parameters) { - return X_inv13.Match.newMatch((Taxation.Resident_Tax_Payer) parameters[0]); - } - - /** - * Inner class allowing the singleton instance of {@link X_inv13} to be created - * not at the class load time of the outer class, - * but rather at the first call to {@link X_inv13#instance()}. - * - *

    This workaround is required e.g. to support recursion. - * - */ - private static class LazyHolder { - private static final X_inv13 INSTANCE = new X_inv13(); - - /** - * Statically initializes the query specification after the field {@link #INSTANCE} is assigned. - * This initialization order is required to support indirect recursion. - * - *

    The static initializer is defined using a helper field to work around limitations of the code generator. - * - */ - private static final Object STATIC_INITIALIZER = ensureInitialized(); - - public static Object ensureInitialized() { - INSTANCE.ensureInitializedInternal(); - return null; - } - } - - private static class GeneratedPQuery extends BaseGeneratedEMFPQuery { - private static final X_inv13.GeneratedPQuery INSTANCE = new GeneratedPQuery(); - - private final PParameter parameter_tp = new PParameter("tp", "Taxation.Resident_Tax_Payer", new EClassTransitiveInstancesKey((EClass)getClassifierLiteralSafe("http:///TaxCard.ecore", "Resident_Tax_Payer")), PParameterDirection.INOUT); - - private final List parameters = Arrays.asList(parameter_tp); - - private GeneratedPQuery() { - super(PVisibility.PUBLIC); - } - - @Override - public String getFullyQualifiedName() { - return "queries.x_inv13"; - } - - @Override - public List getParameterNames() { - return Arrays.asList("tp"); - } - - @Override - public List getParameters() { - return parameters; - } - - @Override - public Set doGetContainedBodies() { - setEvaluationHints(new QueryEvaluationHint(null, QueryEvaluationHint.BackendRequirement.UNSPECIFIED)); - Set bodies = new LinkedHashSet<>(); - { - PBody body = new PBody(this); - PVariable var_tp = body.getOrCreateVariableByName("tp"); - new TypeConstraint(body, Tuples.flatTupleOf(var_tp), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Resident_Tax_Payer"))); - body.setSymbolicParameters(Arrays.asList( - new ExportedParameter(body, var_tp, parameter_tp) - )); - // Resident_Tax_Payer(tp) - new TypeConstraint(body, Tuples.flatTupleOf(var_tp), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Resident_Tax_Payer"))); - bodies.add(body); - } - return bodies; - } - } -} diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/X_inv15.java b/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/X_inv15.java deleted file mode 100644 index d162542d..00000000 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/X_inv15.java +++ /dev/null @@ -1,637 +0,0 @@ -/** - * Generated from platform:/resource/case.study.pledge.run/src/queries/case_study_A.vql - */ -package queries; - -import Taxation.External_Allowance; -import java.util.Arrays; -import java.util.Collection; -import java.util.LinkedHashSet; -import java.util.List; -import java.util.Objects; -import java.util.Optional; -import java.util.Set; -import java.util.function.Consumer; -import java.util.stream.Collectors; -import java.util.stream.Stream; -import org.apache.log4j.Logger; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.viatra.query.runtime.api.IPatternMatch; -import org.eclipse.viatra.query.runtime.api.IQuerySpecification; -import org.eclipse.viatra.query.runtime.api.ViatraQueryEngine; -import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFPQuery; -import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFQuerySpecification; -import org.eclipse.viatra.query.runtime.api.impl.BaseMatcher; -import org.eclipse.viatra.query.runtime.api.impl.BasePatternMatch; -import org.eclipse.viatra.query.runtime.emf.types.EClassTransitiveInstancesKey; -import org.eclipse.viatra.query.runtime.emf.types.EStructuralFeatureInstancesKey; -import org.eclipse.viatra.query.runtime.matchers.backend.QueryEvaluationHint; -import org.eclipse.viatra.query.runtime.matchers.psystem.PBody; -import org.eclipse.viatra.query.runtime.matchers.psystem.PVariable; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.Equality; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.ExportedParameter; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicenumerables.TypeConstraint; -import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameter; -import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameterDirection; -import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PVisibility; -import org.eclipse.viatra.query.runtime.matchers.tuple.Tuple; -import org.eclipse.viatra.query.runtime.matchers.tuple.Tuples; -import org.eclipse.viatra.query.runtime.util.ViatraQueryLoggingUtil; - -/** - * A pattern-specific query specification that can instantiate Matcher in a type-safe way. - * - *

    Original source: - *

    - *         pattern x_inv15(ea : External_Allowance) {
    - *             External_Allowance.person(ea, child);
    - *             Household.children(h, child);//only one due to multiplicity
    - *             Household.parents.individual_A(h, iA);
    - *             Tax_Payer(iA);
    - *             External_Allowance.reciver(ea, iA);
    - *         } or {
    - *             External_Allowance.person(ea, child);
    - *             Household.children(h, child);//only one due to multiplicity
    - *             Household.parents.individual_B(h, iB);
    - *             Tax_Payer(iB);
    - *             External_Allowance.reciver(ea, iB);
    - *         }
    - * 
    - * - * @see Matcher - * @see Match - * - */ -@SuppressWarnings("all") -public final class X_inv15 extends BaseGeneratedEMFQuerySpecification { - /** - * Pattern-specific match representation of the queries.x_inv15 pattern, - * to be used in conjunction with {@link Matcher}. - * - *

    Class fields correspond to parameters of the pattern. Fields with value null are considered unassigned. - * Each instance is a (possibly partial) substitution of pattern parameters, - * usable to represent a match of the pattern in the result of a query, - * or to specify the bound (fixed) input parameters when issuing a query. - * - * @see Matcher - * - */ - public static abstract class Match extends BasePatternMatch { - private External_Allowance fEa; - - private static List parameterNames = makeImmutableList("ea"); - - private Match(final External_Allowance pEa) { - this.fEa = pEa; - } - - @Override - public Object get(final String parameterName) { - switch(parameterName) { - case "ea": return this.fEa; - default: return null; - } - } - - @Override - public Object get(final int index) { - switch(index) { - case 0: return this.fEa; - default: return null; - } - } - - public External_Allowance getEa() { - return this.fEa; - } - - @Override - public boolean set(final String parameterName, final Object newValue) { - if (!isMutable()) throw new java.lang.UnsupportedOperationException(); - if ("ea".equals(parameterName) ) { - this.fEa = (External_Allowance) newValue; - return true; - } - return false; - } - - public void setEa(final External_Allowance pEa) { - if (!isMutable()) throw new java.lang.UnsupportedOperationException(); - this.fEa = pEa; - } - - @Override - public String patternName() { - return "queries.x_inv15"; - } - - @Override - public List parameterNames() { - return X_inv15.Match.parameterNames; - } - - @Override - public Object[] toArray() { - return new Object[]{fEa}; - } - - @Override - public X_inv15.Match toImmutable() { - return isMutable() ? newMatch(fEa) : this; - } - - @Override - public String prettyPrint() { - StringBuilder result = new StringBuilder(); - result.append("\"ea\"=" + prettyPrintValue(fEa)); - return result.toString(); - } - - @Override - public int hashCode() { - return Objects.hash(fEa); - } - - @Override - public boolean equals(final Object obj) { - if (this == obj) - return true; - if (obj == null) { - return false; - } - if ((obj instanceof X_inv15.Match)) { - X_inv15.Match other = (X_inv15.Match) obj; - return Objects.equals(fEa, other.fEa); - } else { - // this should be infrequent - if (!(obj instanceof IPatternMatch)) { - return false; - } - IPatternMatch otherSig = (IPatternMatch) obj; - return Objects.equals(specification(), otherSig.specification()) && Arrays.deepEquals(toArray(), otherSig.toArray()); - } - } - - @Override - public X_inv15 specification() { - return X_inv15.instance(); - } - - /** - * Returns an empty, mutable match. - * Fields of the mutable match can be filled to create a partial match, usable as matcher input. - * - * @return the empty match. - * - */ - public static X_inv15.Match newEmptyMatch() { - return new Mutable(null); - } - - /** - * Returns a mutable (partial) match. - * Fields of the mutable match can be filled to create a partial match, usable as matcher input. - * - * @param pEa the fixed value of pattern parameter ea, or null if not bound. - * @return the new, mutable (partial) match object. - * - */ - public static X_inv15.Match newMutableMatch(final External_Allowance pEa) { - return new Mutable(pEa); - } - - /** - * Returns a new (partial) match. - * This can be used e.g. to call the matcher with a partial match. - *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. - * @param pEa the fixed value of pattern parameter ea, or null if not bound. - * @return the (partial) match object. - * - */ - public static X_inv15.Match newMatch(final External_Allowance pEa) { - return new Immutable(pEa); - } - - private static final class Mutable extends X_inv15.Match { - Mutable(final External_Allowance pEa) { - super(pEa); - } - - @Override - public boolean isMutable() { - return true; - } - } - - private static final class Immutable extends X_inv15.Match { - Immutable(final External_Allowance pEa) { - super(pEa); - } - - @Override - public boolean isMutable() { - return false; - } - } - } - - /** - * Generated pattern matcher API of the queries.x_inv15 pattern, - * providing pattern-specific query methods. - * - *

    Use the pattern matcher on a given model via {@link #on(ViatraQueryEngine)}, - * e.g. in conjunction with {@link ViatraQueryEngine#on(QueryScope)}. - * - *

    Matches of the pattern will be represented as {@link Match}. - * - *

    Original source: - *

    -   * pattern x_inv15(ea : External_Allowance) {
    -   *     External_Allowance.person(ea, child);
    -   *     Household.children(h, child);//only one due to multiplicity
    -   *     Household.parents.individual_A(h, iA);
    -   *     Tax_Payer(iA);
    -   *     External_Allowance.reciver(ea, iA);
    -   * } or {
    -   *     External_Allowance.person(ea, child);
    -   *     Household.children(h, child);//only one due to multiplicity
    -   *     Household.parents.individual_B(h, iB);
    -   *     Tax_Payer(iB);
    -   *     External_Allowance.reciver(ea, iB);
    -   * }
    -   * 
    - * - * @see Match - * @see X_inv15 - * - */ - public static class Matcher extends BaseMatcher { - /** - * Initializes the pattern matcher within an existing VIATRA Query engine. - * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. - * - * @param engine the existing VIATRA Query engine in which this matcher will be created. - * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation - * - */ - public static X_inv15.Matcher on(final ViatraQueryEngine engine) { - // check if matcher already exists - Matcher matcher = engine.getExistingMatcher(querySpecification()); - if (matcher == null) { - matcher = (Matcher)engine.getMatcher(querySpecification()); - } - return matcher; - } - - /** - * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation - * @return an initialized matcher - * @noreference This method is for internal matcher initialization by the framework, do not call it manually. - * - */ - public static X_inv15.Matcher create() { - return new Matcher(); - } - - private static final int POSITION_EA = 0; - - private static final Logger LOGGER = ViatraQueryLoggingUtil.getLogger(X_inv15.Matcher.class); - - /** - * Initializes the pattern matcher within an existing VIATRA Query engine. - * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. - * - * @param engine the existing VIATRA Query engine in which this matcher will be created. - * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation - * - */ - private Matcher() { - super(querySpecification()); - } - - /** - * Returns the set of all matches of the pattern that conform to the given fixed values of some parameters. - * @param pEa the fixed value of pattern parameter ea, or null if not bound. - * @return matches represented as a Match object. - * - */ - public Collection getAllMatches(final External_Allowance pEa) { - return rawStreamAllMatches(new Object[]{pEa}).collect(Collectors.toSet()); - } - - /** - * Returns a stream of all matches of the pattern that conform to the given fixed values of some parameters. - *

    - * NOTE: It is important not to modify the source model while the stream is being processed. - * If the match set of the pattern changes during processing, the contents of the stream is undefined. - * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. - * @param pEa the fixed value of pattern parameter ea, or null if not bound. - * @return a stream of matches represented as a Match object. - * - */ - public Stream streamAllMatches(final External_Allowance pEa) { - return rawStreamAllMatches(new Object[]{pEa}); - } - - /** - * Returns an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. - * Neither determinism nor randomness of selection is guaranteed. - * @param pEa the fixed value of pattern parameter ea, or null if not bound. - * @return a match represented as a Match object, or null if no match is found. - * - */ - public Optional getOneArbitraryMatch(final External_Allowance pEa) { - return rawGetOneArbitraryMatch(new Object[]{pEa}); - } - - /** - * Indicates whether the given combination of specified pattern parameters constitute a valid pattern match, - * under any possible substitution of the unspecified parameters (if any). - * @param pEa the fixed value of pattern parameter ea, or null if not bound. - * @return true if the input is a valid (partial) match of the pattern. - * - */ - public boolean hasMatch(final External_Allowance pEa) { - return rawHasMatch(new Object[]{pEa}); - } - - /** - * Returns the number of all matches of the pattern that conform to the given fixed values of some parameters. - * @param pEa the fixed value of pattern parameter ea, or null if not bound. - * @return the number of pattern matches found. - * - */ - public int countMatches(final External_Allowance pEa) { - return rawCountMatches(new Object[]{pEa}); - } - - /** - * Executes the given processor on an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. - * Neither determinism nor randomness of selection is guaranteed. - * @param pEa the fixed value of pattern parameter ea, or null if not bound. - * @param processor the action that will process the selected match. - * @return true if the pattern has at least one match with the given parameter values, false if the processor was not invoked - * - */ - public boolean forOneArbitraryMatch(final External_Allowance pEa, final Consumer processor) { - return rawForOneArbitraryMatch(new Object[]{pEa}, processor); - } - - /** - * Returns a new (partial) match. - * This can be used e.g. to call the matcher with a partial match. - *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. - * @param pEa the fixed value of pattern parameter ea, or null if not bound. - * @return the (partial) match object. - * - */ - public X_inv15.Match newMatch(final External_Allowance pEa) { - return X_inv15.Match.newMatch(pEa); - } - - /** - * Retrieve the set of values that occur in matches for ea. - * @return the Set of all values or empty set if there are no matches - * - */ - protected Stream rawStreamAllValuesOfea(final Object[] parameters) { - return rawStreamAllValues(POSITION_EA, parameters).map(External_Allowance.class::cast); - } - - /** - * Retrieve the set of values that occur in matches for ea. - * @return the Set of all values or empty set if there are no matches - * - */ - public Set getAllValuesOfea() { - return rawStreamAllValuesOfea(emptyArray()).collect(Collectors.toSet()); - } - - /** - * Retrieve the set of values that occur in matches for ea. - * @return the Set of all values or empty set if there are no matches - * - */ - public Stream streamAllValuesOfea() { - return rawStreamAllValuesOfea(emptyArray()); - } - - @Override - protected X_inv15.Match tupleToMatch(final Tuple t) { - try { - return X_inv15.Match.newMatch((External_Allowance) t.get(POSITION_EA)); - } catch(ClassCastException e) { - LOGGER.error("Element(s) in tuple not properly typed!",e); - return null; - } - } - - @Override - protected X_inv15.Match arrayToMatch(final Object[] match) { - try { - return X_inv15.Match.newMatch((External_Allowance) match[POSITION_EA]); - } catch(ClassCastException e) { - LOGGER.error("Element(s) in array not properly typed!",e); - return null; - } - } - - @Override - protected X_inv15.Match arrayToMatchMutable(final Object[] match) { - try { - return X_inv15.Match.newMutableMatch((External_Allowance) match[POSITION_EA]); - } catch(ClassCastException e) { - LOGGER.error("Element(s) in array not properly typed!",e); - return null; - } - } - - /** - * @return the singleton instance of the query specification of this pattern - * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded - * - */ - public static IQuerySpecification querySpecification() { - return X_inv15.instance(); - } - } - - private X_inv15() { - super(GeneratedPQuery.INSTANCE); - } - - /** - * @return the singleton instance of the query specification - * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded - * - */ - public static X_inv15 instance() { - try{ - return LazyHolder.INSTANCE; - } catch (ExceptionInInitializerError err) { - throw processInitializerError(err); - } - } - - @Override - protected X_inv15.Matcher instantiate(final ViatraQueryEngine engine) { - return X_inv15.Matcher.on(engine); - } - - @Override - public X_inv15.Matcher instantiate() { - return X_inv15.Matcher.create(); - } - - @Override - public X_inv15.Match newEmptyMatch() { - return X_inv15.Match.newEmptyMatch(); - } - - @Override - public X_inv15.Match newMatch(final Object... parameters) { - return X_inv15.Match.newMatch((Taxation.External_Allowance) parameters[0]); - } - - /** - * Inner class allowing the singleton instance of {@link X_inv15} to be created - * not at the class load time of the outer class, - * but rather at the first call to {@link X_inv15#instance()}. - * - *

    This workaround is required e.g. to support recursion. - * - */ - private static class LazyHolder { - private static final X_inv15 INSTANCE = new X_inv15(); - - /** - * Statically initializes the query specification after the field {@link #INSTANCE} is assigned. - * This initialization order is required to support indirect recursion. - * - *

    The static initializer is defined using a helper field to work around limitations of the code generator. - * - */ - private static final Object STATIC_INITIALIZER = ensureInitialized(); - - public static Object ensureInitialized() { - INSTANCE.ensureInitializedInternal(); - return null; - } - } - - private static class GeneratedPQuery extends BaseGeneratedEMFPQuery { - private static final X_inv15.GeneratedPQuery INSTANCE = new GeneratedPQuery(); - - private final PParameter parameter_ea = new PParameter("ea", "Taxation.External_Allowance", new EClassTransitiveInstancesKey((EClass)getClassifierLiteralSafe("http:///TaxCard.ecore", "External_Allowance")), PParameterDirection.INOUT); - - private final List parameters = Arrays.asList(parameter_ea); - - private GeneratedPQuery() { - super(PVisibility.PUBLIC); - } - - @Override - public String getFullyQualifiedName() { - return "queries.x_inv15"; - } - - @Override - public List getParameterNames() { - return Arrays.asList("ea"); - } - - @Override - public List getParameters() { - return parameters; - } - - @Override - public Set doGetContainedBodies() { - setEvaluationHints(new QueryEvaluationHint(null, QueryEvaluationHint.BackendRequirement.UNSPECIFIED)); - Set bodies = new LinkedHashSet<>(); - { - PBody body = new PBody(this); - PVariable var_ea = body.getOrCreateVariableByName("ea"); - PVariable var_child = body.getOrCreateVariableByName("child"); - PVariable var_h = body.getOrCreateVariableByName("h"); - PVariable var_iA = body.getOrCreateVariableByName("iA"); - new TypeConstraint(body, Tuples.flatTupleOf(var_ea), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "External_Allowance"))); - body.setSymbolicParameters(Arrays.asList( - new ExportedParameter(body, var_ea, parameter_ea) - )); - // External_Allowance.person(ea, child) - new TypeConstraint(body, Tuples.flatTupleOf(var_ea), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "External_Allowance"))); - PVariable var__virtual_0_ = body.getOrCreateVariableByName(".virtual{0}"); - new TypeConstraint(body, Tuples.flatTupleOf(var_ea, var__virtual_0_), new EStructuralFeatureInstancesKey(getFeatureLiteral("http:///TaxCard.ecore", "External_Allowance", "person"))); - new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_0_), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Dependent"))); - new Equality(body, var__virtual_0_, var_child); - // Household.children(h, child) - new TypeConstraint(body, Tuples.flatTupleOf(var_h), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Household"))); - PVariable var__virtual_1_ = body.getOrCreateVariableByName(".virtual{1}"); - new TypeConstraint(body, Tuples.flatTupleOf(var_h, var__virtual_1_), new EStructuralFeatureInstancesKey(getFeatureLiteral("http:///TaxCard.ecore", "Household", "children"))); - new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_1_), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Dependent"))); - new Equality(body, var__virtual_1_, var_child); - // //only one due to multiplicity Household.parents.individual_A(h, iA) - new TypeConstraint(body, Tuples.flatTupleOf(var_h), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Household"))); - PVariable var__virtual_2_ = body.getOrCreateVariableByName(".virtual{2}"); - new TypeConstraint(body, Tuples.flatTupleOf(var_h, var__virtual_2_), new EStructuralFeatureInstancesKey(getFeatureLiteral("http:///TaxCard.ecore", "Household", "parents"))); - new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_2_), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Legal_Union_Record"))); - PVariable var__virtual_3_ = body.getOrCreateVariableByName(".virtual{3}"); - new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_2_, var__virtual_3_), new EStructuralFeatureInstancesKey(getFeatureLiteral("http:///TaxCard.ecore", "Legal_Union_Record", "individual_A"))); - new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_3_), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Physical_Person"))); - new Equality(body, var__virtual_3_, var_iA); - // Tax_Payer(iA) - new TypeConstraint(body, Tuples.flatTupleOf(var_iA), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Tax_Payer"))); - // External_Allowance.reciver(ea, iA) - new TypeConstraint(body, Tuples.flatTupleOf(var_ea), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "External_Allowance"))); - PVariable var__virtual_4_ = body.getOrCreateVariableByName(".virtual{4}"); - new TypeConstraint(body, Tuples.flatTupleOf(var_ea, var__virtual_4_), new EStructuralFeatureInstancesKey(getFeatureLiteral("http:///TaxCard.ecore", "External_Allowance", "reciver"))); - new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_4_), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Physical_Person"))); - new Equality(body, var__virtual_4_, var_iA); - bodies.add(body); - } - { - PBody body = new PBody(this); - PVariable var_ea = body.getOrCreateVariableByName("ea"); - PVariable var_child = body.getOrCreateVariableByName("child"); - PVariable var_h = body.getOrCreateVariableByName("h"); - PVariable var_iB = body.getOrCreateVariableByName("iB"); - new TypeConstraint(body, Tuples.flatTupleOf(var_ea), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "External_Allowance"))); - body.setSymbolicParameters(Arrays.asList( - new ExportedParameter(body, var_ea, parameter_ea) - )); - // External_Allowance.person(ea, child) - new TypeConstraint(body, Tuples.flatTupleOf(var_ea), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "External_Allowance"))); - PVariable var__virtual_0_ = body.getOrCreateVariableByName(".virtual{0}"); - new TypeConstraint(body, Tuples.flatTupleOf(var_ea, var__virtual_0_), new EStructuralFeatureInstancesKey(getFeatureLiteral("http:///TaxCard.ecore", "External_Allowance", "person"))); - new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_0_), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Dependent"))); - new Equality(body, var__virtual_0_, var_child); - // Household.children(h, child) - new TypeConstraint(body, Tuples.flatTupleOf(var_h), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Household"))); - PVariable var__virtual_1_ = body.getOrCreateVariableByName(".virtual{1}"); - new TypeConstraint(body, Tuples.flatTupleOf(var_h, var__virtual_1_), new EStructuralFeatureInstancesKey(getFeatureLiteral("http:///TaxCard.ecore", "Household", "children"))); - new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_1_), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Dependent"))); - new Equality(body, var__virtual_1_, var_child); - // //only one due to multiplicity Household.parents.individual_B(h, iB) - new TypeConstraint(body, Tuples.flatTupleOf(var_h), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Household"))); - PVariable var__virtual_2_ = body.getOrCreateVariableByName(".virtual{2}"); - new TypeConstraint(body, Tuples.flatTupleOf(var_h, var__virtual_2_), new EStructuralFeatureInstancesKey(getFeatureLiteral("http:///TaxCard.ecore", "Household", "parents"))); - new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_2_), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Legal_Union_Record"))); - PVariable var__virtual_3_ = body.getOrCreateVariableByName(".virtual{3}"); - new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_2_, var__virtual_3_), new EStructuralFeatureInstancesKey(getFeatureLiteral("http:///TaxCard.ecore", "Legal_Union_Record", "individual_B"))); - new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_3_), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Physical_Person"))); - new Equality(body, var__virtual_3_, var_iB); - // Tax_Payer(iB) - new TypeConstraint(body, Tuples.flatTupleOf(var_iB), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Tax_Payer"))); - // External_Allowance.reciver(ea, iB) - new TypeConstraint(body, Tuples.flatTupleOf(var_ea), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "External_Allowance"))); - PVariable var__virtual_4_ = body.getOrCreateVariableByName(".virtual{4}"); - new TypeConstraint(body, Tuples.flatTupleOf(var_ea, var__virtual_4_), new EStructuralFeatureInstancesKey(getFeatureLiteral("http:///TaxCard.ecore", "External_Allowance", "reciver"))); - new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_4_), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Physical_Person"))); - new Equality(body, var__virtual_4_, var_iB); - bodies.add(body); - } - return bodies; - } - } -} diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/X_inv47.java b/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/X_inv47.java deleted file mode 100644 index c602f8d4..00000000 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/X_inv47.java +++ /dev/null @@ -1,569 +0,0 @@ -/** - * Generated from platform:/resource/case.study.pledge.run/src/queries/case_study_A.vql - */ -package queries; - -import Taxation.Legal_Union_Record; -import java.util.Arrays; -import java.util.Collection; -import java.util.LinkedHashSet; -import java.util.List; -import java.util.Objects; -import java.util.Optional; -import java.util.Set; -import java.util.function.Consumer; -import java.util.stream.Collectors; -import java.util.stream.Stream; -import org.apache.log4j.Logger; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EDataType; -import org.eclipse.viatra.query.runtime.api.IPatternMatch; -import org.eclipse.viatra.query.runtime.api.IQuerySpecification; -import org.eclipse.viatra.query.runtime.api.ViatraQueryEngine; -import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFPQuery; -import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFQuerySpecification; -import org.eclipse.viatra.query.runtime.api.impl.BaseMatcher; -import org.eclipse.viatra.query.runtime.api.impl.BasePatternMatch; -import org.eclipse.viatra.query.runtime.emf.types.EClassTransitiveInstancesKey; -import org.eclipse.viatra.query.runtime.emf.types.EDataTypeInSlotsKey; -import org.eclipse.viatra.query.runtime.emf.types.EStructuralFeatureInstancesKey; -import org.eclipse.viatra.query.runtime.matchers.backend.QueryEvaluationHint; -import org.eclipse.viatra.query.runtime.matchers.psystem.PBody; -import org.eclipse.viatra.query.runtime.matchers.psystem.PVariable; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.Equality; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.ExportedParameter; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicenumerables.ConstantValue; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicenumerables.TypeConstraint; -import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameter; -import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameterDirection; -import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PVisibility; -import org.eclipse.viatra.query.runtime.matchers.tuple.Tuple; -import org.eclipse.viatra.query.runtime.matchers.tuple.Tuples; -import org.eclipse.viatra.query.runtime.util.ViatraQueryLoggingUtil; - -/** - * A pattern-specific query specification that can instantiate Matcher in a type-safe way. - * - *

    Original source: - *

    - *         pattern x_inv47(lur : Legal_Union_Record) {
    - *             Legal_Union_Record.separation_cause(lur, ::NONE);
    - *             Legal_Union_Record.end_year(lur, -1);
    - *         }
    - * 
    - * - * @see Matcher - * @see Match - * - */ -@SuppressWarnings("all") -public final class X_inv47 extends BaseGeneratedEMFQuerySpecification { - /** - * Pattern-specific match representation of the queries.x_inv47 pattern, - * to be used in conjunction with {@link Matcher}. - * - *

    Class fields correspond to parameters of the pattern. Fields with value null are considered unassigned. - * Each instance is a (possibly partial) substitution of pattern parameters, - * usable to represent a match of the pattern in the result of a query, - * or to specify the bound (fixed) input parameters when issuing a query. - * - * @see Matcher - * - */ - public static abstract class Match extends BasePatternMatch { - private Legal_Union_Record fLur; - - private static List parameterNames = makeImmutableList("lur"); - - private Match(final Legal_Union_Record pLur) { - this.fLur = pLur; - } - - @Override - public Object get(final String parameterName) { - switch(parameterName) { - case "lur": return this.fLur; - default: return null; - } - } - - @Override - public Object get(final int index) { - switch(index) { - case 0: return this.fLur; - default: return null; - } - } - - public Legal_Union_Record getLur() { - return this.fLur; - } - - @Override - public boolean set(final String parameterName, final Object newValue) { - if (!isMutable()) throw new java.lang.UnsupportedOperationException(); - if ("lur".equals(parameterName) ) { - this.fLur = (Legal_Union_Record) newValue; - return true; - } - return false; - } - - public void setLur(final Legal_Union_Record pLur) { - if (!isMutable()) throw new java.lang.UnsupportedOperationException(); - this.fLur = pLur; - } - - @Override - public String patternName() { - return "queries.x_inv47"; - } - - @Override - public List parameterNames() { - return X_inv47.Match.parameterNames; - } - - @Override - public Object[] toArray() { - return new Object[]{fLur}; - } - - @Override - public X_inv47.Match toImmutable() { - return isMutable() ? newMatch(fLur) : this; - } - - @Override - public String prettyPrint() { - StringBuilder result = new StringBuilder(); - result.append("\"lur\"=" + prettyPrintValue(fLur)); - return result.toString(); - } - - @Override - public int hashCode() { - return Objects.hash(fLur); - } - - @Override - public boolean equals(final Object obj) { - if (this == obj) - return true; - if (obj == null) { - return false; - } - if ((obj instanceof X_inv47.Match)) { - X_inv47.Match other = (X_inv47.Match) obj; - return Objects.equals(fLur, other.fLur); - } else { - // this should be infrequent - if (!(obj instanceof IPatternMatch)) { - return false; - } - IPatternMatch otherSig = (IPatternMatch) obj; - return Objects.equals(specification(), otherSig.specification()) && Arrays.deepEquals(toArray(), otherSig.toArray()); - } - } - - @Override - public X_inv47 specification() { - return X_inv47.instance(); - } - - /** - * Returns an empty, mutable match. - * Fields of the mutable match can be filled to create a partial match, usable as matcher input. - * - * @return the empty match. - * - */ - public static X_inv47.Match newEmptyMatch() { - return new Mutable(null); - } - - /** - * Returns a mutable (partial) match. - * Fields of the mutable match can be filled to create a partial match, usable as matcher input. - * - * @param pLur the fixed value of pattern parameter lur, or null if not bound. - * @return the new, mutable (partial) match object. - * - */ - public static X_inv47.Match newMutableMatch(final Legal_Union_Record pLur) { - return new Mutable(pLur); - } - - /** - * Returns a new (partial) match. - * This can be used e.g. to call the matcher with a partial match. - *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. - * @param pLur the fixed value of pattern parameter lur, or null if not bound. - * @return the (partial) match object. - * - */ - public static X_inv47.Match newMatch(final Legal_Union_Record pLur) { - return new Immutable(pLur); - } - - private static final class Mutable extends X_inv47.Match { - Mutable(final Legal_Union_Record pLur) { - super(pLur); - } - - @Override - public boolean isMutable() { - return true; - } - } - - private static final class Immutable extends X_inv47.Match { - Immutable(final Legal_Union_Record pLur) { - super(pLur); - } - - @Override - public boolean isMutable() { - return false; - } - } - } - - /** - * Generated pattern matcher API of the queries.x_inv47 pattern, - * providing pattern-specific query methods. - * - *

    Use the pattern matcher on a given model via {@link #on(ViatraQueryEngine)}, - * e.g. in conjunction with {@link ViatraQueryEngine#on(QueryScope)}. - * - *

    Matches of the pattern will be represented as {@link Match}. - * - *

    Original source: - *

    -   * pattern x_inv47(lur : Legal_Union_Record) {
    -   *     Legal_Union_Record.separation_cause(lur, ::NONE);
    -   *     Legal_Union_Record.end_year(lur, -1);
    -   * }
    -   * 
    - * - * @see Match - * @see X_inv47 - * - */ - public static class Matcher extends BaseMatcher { - /** - * Initializes the pattern matcher within an existing VIATRA Query engine. - * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. - * - * @param engine the existing VIATRA Query engine in which this matcher will be created. - * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation - * - */ - public static X_inv47.Matcher on(final ViatraQueryEngine engine) { - // check if matcher already exists - Matcher matcher = engine.getExistingMatcher(querySpecification()); - if (matcher == null) { - matcher = (Matcher)engine.getMatcher(querySpecification()); - } - return matcher; - } - - /** - * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation - * @return an initialized matcher - * @noreference This method is for internal matcher initialization by the framework, do not call it manually. - * - */ - public static X_inv47.Matcher create() { - return new Matcher(); - } - - private static final int POSITION_LUR = 0; - - private static final Logger LOGGER = ViatraQueryLoggingUtil.getLogger(X_inv47.Matcher.class); - - /** - * Initializes the pattern matcher within an existing VIATRA Query engine. - * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. - * - * @param engine the existing VIATRA Query engine in which this matcher will be created. - * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation - * - */ - private Matcher() { - super(querySpecification()); - } - - /** - * Returns the set of all matches of the pattern that conform to the given fixed values of some parameters. - * @param pLur the fixed value of pattern parameter lur, or null if not bound. - * @return matches represented as a Match object. - * - */ - public Collection getAllMatches(final Legal_Union_Record pLur) { - return rawStreamAllMatches(new Object[]{pLur}).collect(Collectors.toSet()); - } - - /** - * Returns a stream of all matches of the pattern that conform to the given fixed values of some parameters. - *

    - * NOTE: It is important not to modify the source model while the stream is being processed. - * If the match set of the pattern changes during processing, the contents of the stream is undefined. - * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. - * @param pLur the fixed value of pattern parameter lur, or null if not bound. - * @return a stream of matches represented as a Match object. - * - */ - public Stream streamAllMatches(final Legal_Union_Record pLur) { - return rawStreamAllMatches(new Object[]{pLur}); - } - - /** - * Returns an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. - * Neither determinism nor randomness of selection is guaranteed. - * @param pLur the fixed value of pattern parameter lur, or null if not bound. - * @return a match represented as a Match object, or null if no match is found. - * - */ - public Optional getOneArbitraryMatch(final Legal_Union_Record pLur) { - return rawGetOneArbitraryMatch(new Object[]{pLur}); - } - - /** - * Indicates whether the given combination of specified pattern parameters constitute a valid pattern match, - * under any possible substitution of the unspecified parameters (if any). - * @param pLur the fixed value of pattern parameter lur, or null if not bound. - * @return true if the input is a valid (partial) match of the pattern. - * - */ - public boolean hasMatch(final Legal_Union_Record pLur) { - return rawHasMatch(new Object[]{pLur}); - } - - /** - * Returns the number of all matches of the pattern that conform to the given fixed values of some parameters. - * @param pLur the fixed value of pattern parameter lur, or null if not bound. - * @return the number of pattern matches found. - * - */ - public int countMatches(final Legal_Union_Record pLur) { - return rawCountMatches(new Object[]{pLur}); - } - - /** - * Executes the given processor on an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. - * Neither determinism nor randomness of selection is guaranteed. - * @param pLur the fixed value of pattern parameter lur, or null if not bound. - * @param processor the action that will process the selected match. - * @return true if the pattern has at least one match with the given parameter values, false if the processor was not invoked - * - */ - public boolean forOneArbitraryMatch(final Legal_Union_Record pLur, final Consumer processor) { - return rawForOneArbitraryMatch(new Object[]{pLur}, processor); - } - - /** - * Returns a new (partial) match. - * This can be used e.g. to call the matcher with a partial match. - *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. - * @param pLur the fixed value of pattern parameter lur, or null if not bound. - * @return the (partial) match object. - * - */ - public X_inv47.Match newMatch(final Legal_Union_Record pLur) { - return X_inv47.Match.newMatch(pLur); - } - - /** - * Retrieve the set of values that occur in matches for lur. - * @return the Set of all values or empty set if there are no matches - * - */ - protected Stream rawStreamAllValuesOflur(final Object[] parameters) { - return rawStreamAllValues(POSITION_LUR, parameters).map(Legal_Union_Record.class::cast); - } - - /** - * Retrieve the set of values that occur in matches for lur. - * @return the Set of all values or empty set if there are no matches - * - */ - public Set getAllValuesOflur() { - return rawStreamAllValuesOflur(emptyArray()).collect(Collectors.toSet()); - } - - /** - * Retrieve the set of values that occur in matches for lur. - * @return the Set of all values or empty set if there are no matches - * - */ - public Stream streamAllValuesOflur() { - return rawStreamAllValuesOflur(emptyArray()); - } - - @Override - protected X_inv47.Match tupleToMatch(final Tuple t) { - try { - return X_inv47.Match.newMatch((Legal_Union_Record) t.get(POSITION_LUR)); - } catch(ClassCastException e) { - LOGGER.error("Element(s) in tuple not properly typed!",e); - return null; - } - } - - @Override - protected X_inv47.Match arrayToMatch(final Object[] match) { - try { - return X_inv47.Match.newMatch((Legal_Union_Record) match[POSITION_LUR]); - } catch(ClassCastException e) { - LOGGER.error("Element(s) in array not properly typed!",e); - return null; - } - } - - @Override - protected X_inv47.Match arrayToMatchMutable(final Object[] match) { - try { - return X_inv47.Match.newMutableMatch((Legal_Union_Record) match[POSITION_LUR]); - } catch(ClassCastException e) { - LOGGER.error("Element(s) in array not properly typed!",e); - return null; - } - } - - /** - * @return the singleton instance of the query specification of this pattern - * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded - * - */ - public static IQuerySpecification querySpecification() { - return X_inv47.instance(); - } - } - - private X_inv47() { - super(GeneratedPQuery.INSTANCE); - } - - /** - * @return the singleton instance of the query specification - * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded - * - */ - public static X_inv47 instance() { - try{ - return LazyHolder.INSTANCE; - } catch (ExceptionInInitializerError err) { - throw processInitializerError(err); - } - } - - @Override - protected X_inv47.Matcher instantiate(final ViatraQueryEngine engine) { - return X_inv47.Matcher.on(engine); - } - - @Override - public X_inv47.Matcher instantiate() { - return X_inv47.Matcher.create(); - } - - @Override - public X_inv47.Match newEmptyMatch() { - return X_inv47.Match.newEmptyMatch(); - } - - @Override - public X_inv47.Match newMatch(final Object... parameters) { - return X_inv47.Match.newMatch((Taxation.Legal_Union_Record) parameters[0]); - } - - /** - * Inner class allowing the singleton instance of {@link X_inv47} to be created - * not at the class load time of the outer class, - * but rather at the first call to {@link X_inv47#instance()}. - * - *

    This workaround is required e.g. to support recursion. - * - */ - private static class LazyHolder { - private static final X_inv47 INSTANCE = new X_inv47(); - - /** - * Statically initializes the query specification after the field {@link #INSTANCE} is assigned. - * This initialization order is required to support indirect recursion. - * - *

    The static initializer is defined using a helper field to work around limitations of the code generator. - * - */ - private static final Object STATIC_INITIALIZER = ensureInitialized(); - - public static Object ensureInitialized() { - INSTANCE.ensureInitializedInternal(); - return null; - } - } - - private static class GeneratedPQuery extends BaseGeneratedEMFPQuery { - private static final X_inv47.GeneratedPQuery INSTANCE = new GeneratedPQuery(); - - private final PParameter parameter_lur = new PParameter("lur", "Taxation.Legal_Union_Record", new EClassTransitiveInstancesKey((EClass)getClassifierLiteralSafe("http:///TaxCard.ecore", "Legal_Union_Record")), PParameterDirection.INOUT); - - private final List parameters = Arrays.asList(parameter_lur); - - private GeneratedPQuery() { - super(PVisibility.PUBLIC); - } - - @Override - public String getFullyQualifiedName() { - return "queries.x_inv47"; - } - - @Override - public List getParameterNames() { - return Arrays.asList("lur"); - } - - @Override - public List getParameters() { - return parameters; - } - - @Override - public Set doGetContainedBodies() { - setEvaluationHints(new QueryEvaluationHint(null, QueryEvaluationHint.BackendRequirement.UNSPECIFIED)); - Set bodies = new LinkedHashSet<>(); - { - PBody body = new PBody(this); - PVariable var_lur = body.getOrCreateVariableByName("lur"); - new TypeConstraint(body, Tuples.flatTupleOf(var_lur), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Legal_Union_Record"))); - body.setSymbolicParameters(Arrays.asList( - new ExportedParameter(body, var_lur, parameter_lur) - )); - // Legal_Union_Record.separation_cause(lur, ::NONE) - PVariable var__virtual_0_ = body.getOrCreateVariableByName(".virtual{0}"); - new ConstantValue(body, var__virtual_0_, getEnumLiteral("http:///TaxCard.ecore", "Separation_Causes", "NONE").getInstance()); - new TypeConstraint(body, Tuples.flatTupleOf(var_lur), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Legal_Union_Record"))); - PVariable var__virtual_1_ = body.getOrCreateVariableByName(".virtual{1}"); - new TypeConstraint(body, Tuples.flatTupleOf(var_lur, var__virtual_1_), new EStructuralFeatureInstancesKey(getFeatureLiteral("http:///TaxCard.ecore", "Legal_Union_Record", "separation_cause"))); - new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_1_), new EDataTypeInSlotsKey((EDataType)getClassifierLiteral("http:///TaxCard.ecore", "Separation_Causes"))); - new Equality(body, var__virtual_1_, var__virtual_0_); - // Legal_Union_Record.end_year(lur, -1) - PVariable var__virtual_2_ = body.getOrCreateVariableByName(".virtual{2}"); - new ConstantValue(body, var__virtual_2_, -1); - new TypeConstraint(body, Tuples.flatTupleOf(var_lur), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Legal_Union_Record"))); - PVariable var__virtual_3_ = body.getOrCreateVariableByName(".virtual{3}"); - new TypeConstraint(body, Tuples.flatTupleOf(var_lur, var__virtual_3_), new EStructuralFeatureInstancesKey(getFeatureLiteral("http:///TaxCard.ecore", "Legal_Union_Record", "end_year"))); - new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_3_), new EDataTypeInSlotsKey((EDataType)getClassifierLiteral("http://www.eclipse.org/emf/2002/Ecore", "EInt"))); - new Equality(body, var__virtual_3_, var__virtual_2_); - bodies.add(body); - } - return bodies; - } - } - - private static int evaluateExpression_1_1() { - return 1; - } -} diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/X_inv48_3.java b/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/X_inv48_3.java deleted file mode 100644 index 913e9c7e..00000000 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/X_inv48_3.java +++ /dev/null @@ -1,555 +0,0 @@ -/** - * Generated from platform:/resource/case.study.pledge.run/src/queries/case_study_A.vql - */ -package queries; - -import Taxation.Physical_Person; -import java.util.Arrays; -import java.util.Collection; -import java.util.LinkedHashSet; -import java.util.List; -import java.util.Objects; -import java.util.Optional; -import java.util.Set; -import java.util.function.Consumer; -import java.util.stream.Collectors; -import java.util.stream.Stream; -import org.apache.log4j.Logger; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EDataType; -import org.eclipse.viatra.query.runtime.api.IPatternMatch; -import org.eclipse.viatra.query.runtime.api.IQuerySpecification; -import org.eclipse.viatra.query.runtime.api.ViatraQueryEngine; -import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFPQuery; -import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFQuerySpecification; -import org.eclipse.viatra.query.runtime.api.impl.BaseMatcher; -import org.eclipse.viatra.query.runtime.api.impl.BasePatternMatch; -import org.eclipse.viatra.query.runtime.emf.types.EClassTransitiveInstancesKey; -import org.eclipse.viatra.query.runtime.emf.types.EDataTypeInSlotsKey; -import org.eclipse.viatra.query.runtime.emf.types.EStructuralFeatureInstancesKey; -import org.eclipse.viatra.query.runtime.matchers.backend.QueryEvaluationHint; -import org.eclipse.viatra.query.runtime.matchers.psystem.PBody; -import org.eclipse.viatra.query.runtime.matchers.psystem.PVariable; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.Equality; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.ExportedParameter; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicenumerables.ConstantValue; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicenumerables.TypeConstraint; -import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameter; -import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameterDirection; -import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PVisibility; -import org.eclipse.viatra.query.runtime.matchers.tuple.Tuple; -import org.eclipse.viatra.query.runtime.matchers.tuple.Tuples; -import org.eclipse.viatra.query.runtime.util.ViatraQueryLoggingUtil; - -/** - * A pattern-specific query specification that can instantiate Matcher in a type-safe way. - * - *

    Original source: - *

    - *         pattern x_inv48_3(p : Physical_Person) {
    - *             Physical_Person.disability_type(p, ::NONE);
    - *         }
    - * 
    - * - * @see Matcher - * @see Match - * - */ -@SuppressWarnings("all") -public final class X_inv48_3 extends BaseGeneratedEMFQuerySpecification { - /** - * Pattern-specific match representation of the queries.x_inv48_3 pattern, - * to be used in conjunction with {@link Matcher}. - * - *

    Class fields correspond to parameters of the pattern. Fields with value null are considered unassigned. - * Each instance is a (possibly partial) substitution of pattern parameters, - * usable to represent a match of the pattern in the result of a query, - * or to specify the bound (fixed) input parameters when issuing a query. - * - * @see Matcher - * - */ - public static abstract class Match extends BasePatternMatch { - private Physical_Person fP; - - private static List parameterNames = makeImmutableList("p"); - - private Match(final Physical_Person pP) { - this.fP = pP; - } - - @Override - public Object get(final String parameterName) { - switch(parameterName) { - case "p": return this.fP; - default: return null; - } - } - - @Override - public Object get(final int index) { - switch(index) { - case 0: return this.fP; - default: return null; - } - } - - public Physical_Person getP() { - return this.fP; - } - - @Override - public boolean set(final String parameterName, final Object newValue) { - if (!isMutable()) throw new java.lang.UnsupportedOperationException(); - if ("p".equals(parameterName) ) { - this.fP = (Physical_Person) newValue; - return true; - } - return false; - } - - public void setP(final Physical_Person pP) { - if (!isMutable()) throw new java.lang.UnsupportedOperationException(); - this.fP = pP; - } - - @Override - public String patternName() { - return "queries.x_inv48_3"; - } - - @Override - public List parameterNames() { - return X_inv48_3.Match.parameterNames; - } - - @Override - public Object[] toArray() { - return new Object[]{fP}; - } - - @Override - public X_inv48_3.Match toImmutable() { - return isMutable() ? newMatch(fP) : this; - } - - @Override - public String prettyPrint() { - StringBuilder result = new StringBuilder(); - result.append("\"p\"=" + prettyPrintValue(fP)); - return result.toString(); - } - - @Override - public int hashCode() { - return Objects.hash(fP); - } - - @Override - public boolean equals(final Object obj) { - if (this == obj) - return true; - if (obj == null) { - return false; - } - if ((obj instanceof X_inv48_3.Match)) { - X_inv48_3.Match other = (X_inv48_3.Match) obj; - return Objects.equals(fP, other.fP); - } else { - // this should be infrequent - if (!(obj instanceof IPatternMatch)) { - return false; - } - IPatternMatch otherSig = (IPatternMatch) obj; - return Objects.equals(specification(), otherSig.specification()) && Arrays.deepEquals(toArray(), otherSig.toArray()); - } - } - - @Override - public X_inv48_3 specification() { - return X_inv48_3.instance(); - } - - /** - * Returns an empty, mutable match. - * Fields of the mutable match can be filled to create a partial match, usable as matcher input. - * - * @return the empty match. - * - */ - public static X_inv48_3.Match newEmptyMatch() { - return new Mutable(null); - } - - /** - * Returns a mutable (partial) match. - * Fields of the mutable match can be filled to create a partial match, usable as matcher input. - * - * @param pP the fixed value of pattern parameter p, or null if not bound. - * @return the new, mutable (partial) match object. - * - */ - public static X_inv48_3.Match newMutableMatch(final Physical_Person pP) { - return new Mutable(pP); - } - - /** - * Returns a new (partial) match. - * This can be used e.g. to call the matcher with a partial match. - *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. - * @param pP the fixed value of pattern parameter p, or null if not bound. - * @return the (partial) match object. - * - */ - public static X_inv48_3.Match newMatch(final Physical_Person pP) { - return new Immutable(pP); - } - - private static final class Mutable extends X_inv48_3.Match { - Mutable(final Physical_Person pP) { - super(pP); - } - - @Override - public boolean isMutable() { - return true; - } - } - - private static final class Immutable extends X_inv48_3.Match { - Immutable(final Physical_Person pP) { - super(pP); - } - - @Override - public boolean isMutable() { - return false; - } - } - } - - /** - * Generated pattern matcher API of the queries.x_inv48_3 pattern, - * providing pattern-specific query methods. - * - *

    Use the pattern matcher on a given model via {@link #on(ViatraQueryEngine)}, - * e.g. in conjunction with {@link ViatraQueryEngine#on(QueryScope)}. - * - *

    Matches of the pattern will be represented as {@link Match}. - * - *

    Original source: - *

    -   * pattern x_inv48_3(p : Physical_Person) {
    -   *     Physical_Person.disability_type(p, ::NONE);
    -   * }
    -   * 
    - * - * @see Match - * @see X_inv48_3 - * - */ - public static class Matcher extends BaseMatcher { - /** - * Initializes the pattern matcher within an existing VIATRA Query engine. - * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. - * - * @param engine the existing VIATRA Query engine in which this matcher will be created. - * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation - * - */ - public static X_inv48_3.Matcher on(final ViatraQueryEngine engine) { - // check if matcher already exists - Matcher matcher = engine.getExistingMatcher(querySpecification()); - if (matcher == null) { - matcher = (Matcher)engine.getMatcher(querySpecification()); - } - return matcher; - } - - /** - * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation - * @return an initialized matcher - * @noreference This method is for internal matcher initialization by the framework, do not call it manually. - * - */ - public static X_inv48_3.Matcher create() { - return new Matcher(); - } - - private static final int POSITION_P = 0; - - private static final Logger LOGGER = ViatraQueryLoggingUtil.getLogger(X_inv48_3.Matcher.class); - - /** - * Initializes the pattern matcher within an existing VIATRA Query engine. - * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. - * - * @param engine the existing VIATRA Query engine in which this matcher will be created. - * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation - * - */ - private Matcher() { - super(querySpecification()); - } - - /** - * Returns the set of all matches of the pattern that conform to the given fixed values of some parameters. - * @param pP the fixed value of pattern parameter p, or null if not bound. - * @return matches represented as a Match object. - * - */ - public Collection getAllMatches(final Physical_Person pP) { - return rawStreamAllMatches(new Object[]{pP}).collect(Collectors.toSet()); - } - - /** - * Returns a stream of all matches of the pattern that conform to the given fixed values of some parameters. - *

    - * NOTE: It is important not to modify the source model while the stream is being processed. - * If the match set of the pattern changes during processing, the contents of the stream is undefined. - * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. - * @param pP the fixed value of pattern parameter p, or null if not bound. - * @return a stream of matches represented as a Match object. - * - */ - public Stream streamAllMatches(final Physical_Person pP) { - return rawStreamAllMatches(new Object[]{pP}); - } - - /** - * Returns an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. - * Neither determinism nor randomness of selection is guaranteed. - * @param pP the fixed value of pattern parameter p, or null if not bound. - * @return a match represented as a Match object, or null if no match is found. - * - */ - public Optional getOneArbitraryMatch(final Physical_Person pP) { - return rawGetOneArbitraryMatch(new Object[]{pP}); - } - - /** - * Indicates whether the given combination of specified pattern parameters constitute a valid pattern match, - * under any possible substitution of the unspecified parameters (if any). - * @param pP the fixed value of pattern parameter p, or null if not bound. - * @return true if the input is a valid (partial) match of the pattern. - * - */ - public boolean hasMatch(final Physical_Person pP) { - return rawHasMatch(new Object[]{pP}); - } - - /** - * Returns the number of all matches of the pattern that conform to the given fixed values of some parameters. - * @param pP the fixed value of pattern parameter p, or null if not bound. - * @return the number of pattern matches found. - * - */ - public int countMatches(final Physical_Person pP) { - return rawCountMatches(new Object[]{pP}); - } - - /** - * Executes the given processor on an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. - * Neither determinism nor randomness of selection is guaranteed. - * @param pP the fixed value of pattern parameter p, or null if not bound. - * @param processor the action that will process the selected match. - * @return true if the pattern has at least one match with the given parameter values, false if the processor was not invoked - * - */ - public boolean forOneArbitraryMatch(final Physical_Person pP, final Consumer processor) { - return rawForOneArbitraryMatch(new Object[]{pP}, processor); - } - - /** - * Returns a new (partial) match. - * This can be used e.g. to call the matcher with a partial match. - *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. - * @param pP the fixed value of pattern parameter p, or null if not bound. - * @return the (partial) match object. - * - */ - public X_inv48_3.Match newMatch(final Physical_Person pP) { - return X_inv48_3.Match.newMatch(pP); - } - - /** - * Retrieve the set of values that occur in matches for p. - * @return the Set of all values or empty set if there are no matches - * - */ - protected Stream rawStreamAllValuesOfp(final Object[] parameters) { - return rawStreamAllValues(POSITION_P, parameters).map(Physical_Person.class::cast); - } - - /** - * Retrieve the set of values that occur in matches for p. - * @return the Set of all values or empty set if there are no matches - * - */ - public Set getAllValuesOfp() { - return rawStreamAllValuesOfp(emptyArray()).collect(Collectors.toSet()); - } - - /** - * Retrieve the set of values that occur in matches for p. - * @return the Set of all values or empty set if there are no matches - * - */ - public Stream streamAllValuesOfp() { - return rawStreamAllValuesOfp(emptyArray()); - } - - @Override - protected X_inv48_3.Match tupleToMatch(final Tuple t) { - try { - return X_inv48_3.Match.newMatch((Physical_Person) t.get(POSITION_P)); - } catch(ClassCastException e) { - LOGGER.error("Element(s) in tuple not properly typed!",e); - return null; - } - } - - @Override - protected X_inv48_3.Match arrayToMatch(final Object[] match) { - try { - return X_inv48_3.Match.newMatch((Physical_Person) match[POSITION_P]); - } catch(ClassCastException e) { - LOGGER.error("Element(s) in array not properly typed!",e); - return null; - } - } - - @Override - protected X_inv48_3.Match arrayToMatchMutable(final Object[] match) { - try { - return X_inv48_3.Match.newMutableMatch((Physical_Person) match[POSITION_P]); - } catch(ClassCastException e) { - LOGGER.error("Element(s) in array not properly typed!",e); - return null; - } - } - - /** - * @return the singleton instance of the query specification of this pattern - * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded - * - */ - public static IQuerySpecification querySpecification() { - return X_inv48_3.instance(); - } - } - - private X_inv48_3() { - super(GeneratedPQuery.INSTANCE); - } - - /** - * @return the singleton instance of the query specification - * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded - * - */ - public static X_inv48_3 instance() { - try{ - return LazyHolder.INSTANCE; - } catch (ExceptionInInitializerError err) { - throw processInitializerError(err); - } - } - - @Override - protected X_inv48_3.Matcher instantiate(final ViatraQueryEngine engine) { - return X_inv48_3.Matcher.on(engine); - } - - @Override - public X_inv48_3.Matcher instantiate() { - return X_inv48_3.Matcher.create(); - } - - @Override - public X_inv48_3.Match newEmptyMatch() { - return X_inv48_3.Match.newEmptyMatch(); - } - - @Override - public X_inv48_3.Match newMatch(final Object... parameters) { - return X_inv48_3.Match.newMatch((Taxation.Physical_Person) parameters[0]); - } - - /** - * Inner class allowing the singleton instance of {@link X_inv48_3} to be created - * not at the class load time of the outer class, - * but rather at the first call to {@link X_inv48_3#instance()}. - * - *

    This workaround is required e.g. to support recursion. - * - */ - private static class LazyHolder { - private static final X_inv48_3 INSTANCE = new X_inv48_3(); - - /** - * Statically initializes the query specification after the field {@link #INSTANCE} is assigned. - * This initialization order is required to support indirect recursion. - * - *

    The static initializer is defined using a helper field to work around limitations of the code generator. - * - */ - private static final Object STATIC_INITIALIZER = ensureInitialized(); - - public static Object ensureInitialized() { - INSTANCE.ensureInitializedInternal(); - return null; - } - } - - private static class GeneratedPQuery extends BaseGeneratedEMFPQuery { - private static final X_inv48_3.GeneratedPQuery INSTANCE = new GeneratedPQuery(); - - private final PParameter parameter_p = new PParameter("p", "Taxation.Physical_Person", new EClassTransitiveInstancesKey((EClass)getClassifierLiteralSafe("http:///TaxCard.ecore", "Physical_Person")), PParameterDirection.INOUT); - - private final List parameters = Arrays.asList(parameter_p); - - private GeneratedPQuery() { - super(PVisibility.PUBLIC); - } - - @Override - public String getFullyQualifiedName() { - return "queries.x_inv48_3"; - } - - @Override - public List getParameterNames() { - return Arrays.asList("p"); - } - - @Override - public List getParameters() { - return parameters; - } - - @Override - public Set doGetContainedBodies() { - setEvaluationHints(new QueryEvaluationHint(null, QueryEvaluationHint.BackendRequirement.UNSPECIFIED)); - Set bodies = new LinkedHashSet<>(); - { - PBody body = new PBody(this); - PVariable var_p = body.getOrCreateVariableByName("p"); - new TypeConstraint(body, Tuples.flatTupleOf(var_p), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Physical_Person"))); - body.setSymbolicParameters(Arrays.asList( - new ExportedParameter(body, var_p, parameter_p) - )); - // Physical_Person.disability_type(p, ::NONE) - PVariable var__virtual_0_ = body.getOrCreateVariableByName(".virtual{0}"); - new ConstantValue(body, var__virtual_0_, getEnumLiteral("http:///TaxCard.ecore", "Disability_Types", "NONE").getInstance()); - new TypeConstraint(body, Tuples.flatTupleOf(var_p), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Physical_Person"))); - PVariable var__virtual_1_ = body.getOrCreateVariableByName(".virtual{1}"); - new TypeConstraint(body, Tuples.flatTupleOf(var_p, var__virtual_1_), new EStructuralFeatureInstancesKey(getFeatureLiteral("http:///TaxCard.ecore", "Physical_Person", "disability_type"))); - new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_1_), new EDataTypeInSlotsKey((EDataType)getClassifierLiteral("http:///TaxCard.ecore", "Disability_Types"))); - new Equality(body, var__virtual_1_, var__virtual_0_); - bodies.add(body); - } - return bodies; - } - } -} diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/X_inv48_Dis.java b/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/X_inv48_Dis.java deleted file mode 100644 index 08de1250..00000000 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/X_inv48_Dis.java +++ /dev/null @@ -1,610 +0,0 @@ -/** - * Generated from platform:/resource/case.study.pledge.run/src/queries/case_study_A.vql - */ -package queries; - -import Taxation.Physical_Person; -import java.util.Arrays; -import java.util.Collection; -import java.util.LinkedHashSet; -import java.util.List; -import java.util.Objects; -import java.util.Optional; -import java.util.Set; -import java.util.function.Consumer; -import java.util.stream.Collectors; -import java.util.stream.Stream; -import org.apache.log4j.Logger; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EDataType; -import org.eclipse.viatra.query.runtime.api.IPatternMatch; -import org.eclipse.viatra.query.runtime.api.IQuerySpecification; -import org.eclipse.viatra.query.runtime.api.ViatraQueryEngine; -import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFPQuery; -import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFQuerySpecification; -import org.eclipse.viatra.query.runtime.api.impl.BaseMatcher; -import org.eclipse.viatra.query.runtime.api.impl.BasePatternMatch; -import org.eclipse.viatra.query.runtime.emf.types.EClassTransitiveInstancesKey; -import org.eclipse.viatra.query.runtime.emf.types.EDataTypeInSlotsKey; -import org.eclipse.viatra.query.runtime.emf.types.EStructuralFeatureInstancesKey; -import org.eclipse.viatra.query.runtime.matchers.backend.QueryEvaluationHint; -import org.eclipse.viatra.query.runtime.matchers.psystem.IExpressionEvaluator; -import org.eclipse.viatra.query.runtime.matchers.psystem.IValueProvider; -import org.eclipse.viatra.query.runtime.matchers.psystem.PBody; -import org.eclipse.viatra.query.runtime.matchers.psystem.PVariable; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.Equality; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.ExportedParameter; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.ExpressionEvaluation; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.NegativePatternCall; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicenumerables.TypeConstraint; -import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameter; -import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameterDirection; -import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PVisibility; -import org.eclipse.viatra.query.runtime.matchers.tuple.Tuple; -import org.eclipse.viatra.query.runtime.matchers.tuple.Tuples; -import org.eclipse.viatra.query.runtime.util.ViatraQueryLoggingUtil; -import queries.X_inv48_3; - -/** - * A pattern-specific query specification that can instantiate Matcher in a type-safe way. - * - *

    Original source: - *

    - *         pattern x_inv48_Dis(p : Physical_Person) {
    - *         	neg find x_inv48_3(p);
    - *         	Physical_Person.disability_percentage(p, disPer);
    - *             check(disPer {@literal >} 0.0);
    - *             check(disPer {@literal <}= 1.0);
    - *         }
    - * 
    - * - * @see Matcher - * @see Match - * - */ -@SuppressWarnings("all") -public final class X_inv48_Dis extends BaseGeneratedEMFQuerySpecification { - /** - * Pattern-specific match representation of the queries.x_inv48_Dis pattern, - * to be used in conjunction with {@link Matcher}. - * - *

    Class fields correspond to parameters of the pattern. Fields with value null are considered unassigned. - * Each instance is a (possibly partial) substitution of pattern parameters, - * usable to represent a match of the pattern in the result of a query, - * or to specify the bound (fixed) input parameters when issuing a query. - * - * @see Matcher - * - */ - public static abstract class Match extends BasePatternMatch { - private Physical_Person fP; - - private static List parameterNames = makeImmutableList("p"); - - private Match(final Physical_Person pP) { - this.fP = pP; - } - - @Override - public Object get(final String parameterName) { - switch(parameterName) { - case "p": return this.fP; - default: return null; - } - } - - @Override - public Object get(final int index) { - switch(index) { - case 0: return this.fP; - default: return null; - } - } - - public Physical_Person getP() { - return this.fP; - } - - @Override - public boolean set(final String parameterName, final Object newValue) { - if (!isMutable()) throw new java.lang.UnsupportedOperationException(); - if ("p".equals(parameterName) ) { - this.fP = (Physical_Person) newValue; - return true; - } - return false; - } - - public void setP(final Physical_Person pP) { - if (!isMutable()) throw new java.lang.UnsupportedOperationException(); - this.fP = pP; - } - - @Override - public String patternName() { - return "queries.x_inv48_Dis"; - } - - @Override - public List parameterNames() { - return X_inv48_Dis.Match.parameterNames; - } - - @Override - public Object[] toArray() { - return new Object[]{fP}; - } - - @Override - public X_inv48_Dis.Match toImmutable() { - return isMutable() ? newMatch(fP) : this; - } - - @Override - public String prettyPrint() { - StringBuilder result = new StringBuilder(); - result.append("\"p\"=" + prettyPrintValue(fP)); - return result.toString(); - } - - @Override - public int hashCode() { - return Objects.hash(fP); - } - - @Override - public boolean equals(final Object obj) { - if (this == obj) - return true; - if (obj == null) { - return false; - } - if ((obj instanceof X_inv48_Dis.Match)) { - X_inv48_Dis.Match other = (X_inv48_Dis.Match) obj; - return Objects.equals(fP, other.fP); - } else { - // this should be infrequent - if (!(obj instanceof IPatternMatch)) { - return false; - } - IPatternMatch otherSig = (IPatternMatch) obj; - return Objects.equals(specification(), otherSig.specification()) && Arrays.deepEquals(toArray(), otherSig.toArray()); - } - } - - @Override - public X_inv48_Dis specification() { - return X_inv48_Dis.instance(); - } - - /** - * Returns an empty, mutable match. - * Fields of the mutable match can be filled to create a partial match, usable as matcher input. - * - * @return the empty match. - * - */ - public static X_inv48_Dis.Match newEmptyMatch() { - return new Mutable(null); - } - - /** - * Returns a mutable (partial) match. - * Fields of the mutable match can be filled to create a partial match, usable as matcher input. - * - * @param pP the fixed value of pattern parameter p, or null if not bound. - * @return the new, mutable (partial) match object. - * - */ - public static X_inv48_Dis.Match newMutableMatch(final Physical_Person pP) { - return new Mutable(pP); - } - - /** - * Returns a new (partial) match. - * This can be used e.g. to call the matcher with a partial match. - *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. - * @param pP the fixed value of pattern parameter p, or null if not bound. - * @return the (partial) match object. - * - */ - public static X_inv48_Dis.Match newMatch(final Physical_Person pP) { - return new Immutable(pP); - } - - private static final class Mutable extends X_inv48_Dis.Match { - Mutable(final Physical_Person pP) { - super(pP); - } - - @Override - public boolean isMutable() { - return true; - } - } - - private static final class Immutable extends X_inv48_Dis.Match { - Immutable(final Physical_Person pP) { - super(pP); - } - - @Override - public boolean isMutable() { - return false; - } - } - } - - /** - * Generated pattern matcher API of the queries.x_inv48_Dis pattern, - * providing pattern-specific query methods. - * - *

    Use the pattern matcher on a given model via {@link #on(ViatraQueryEngine)}, - * e.g. in conjunction with {@link ViatraQueryEngine#on(QueryScope)}. - * - *

    Matches of the pattern will be represented as {@link Match}. - * - *

    Original source: - *

    -   * pattern x_inv48_Dis(p : Physical_Person) {
    -   * 	neg find x_inv48_3(p);
    -   * 	Physical_Person.disability_percentage(p, disPer);
    -   *     check(disPer {@literal >} 0.0);
    -   *     check(disPer {@literal <}= 1.0);
    -   * }
    -   * 
    - * - * @see Match - * @see X_inv48_Dis - * - */ - public static class Matcher extends BaseMatcher { - /** - * Initializes the pattern matcher within an existing VIATRA Query engine. - * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. - * - * @param engine the existing VIATRA Query engine in which this matcher will be created. - * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation - * - */ - public static X_inv48_Dis.Matcher on(final ViatraQueryEngine engine) { - // check if matcher already exists - Matcher matcher = engine.getExistingMatcher(querySpecification()); - if (matcher == null) { - matcher = (Matcher)engine.getMatcher(querySpecification()); - } - return matcher; - } - - /** - * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation - * @return an initialized matcher - * @noreference This method is for internal matcher initialization by the framework, do not call it manually. - * - */ - public static X_inv48_Dis.Matcher create() { - return new Matcher(); - } - - private static final int POSITION_P = 0; - - private static final Logger LOGGER = ViatraQueryLoggingUtil.getLogger(X_inv48_Dis.Matcher.class); - - /** - * Initializes the pattern matcher within an existing VIATRA Query engine. - * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. - * - * @param engine the existing VIATRA Query engine in which this matcher will be created. - * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation - * - */ - private Matcher() { - super(querySpecification()); - } - - /** - * Returns the set of all matches of the pattern that conform to the given fixed values of some parameters. - * @param pP the fixed value of pattern parameter p, or null if not bound. - * @return matches represented as a Match object. - * - */ - public Collection getAllMatches(final Physical_Person pP) { - return rawStreamAllMatches(new Object[]{pP}).collect(Collectors.toSet()); - } - - /** - * Returns a stream of all matches of the pattern that conform to the given fixed values of some parameters. - *

    - * NOTE: It is important not to modify the source model while the stream is being processed. - * If the match set of the pattern changes during processing, the contents of the stream is undefined. - * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. - * @param pP the fixed value of pattern parameter p, or null if not bound. - * @return a stream of matches represented as a Match object. - * - */ - public Stream streamAllMatches(final Physical_Person pP) { - return rawStreamAllMatches(new Object[]{pP}); - } - - /** - * Returns an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. - * Neither determinism nor randomness of selection is guaranteed. - * @param pP the fixed value of pattern parameter p, or null if not bound. - * @return a match represented as a Match object, or null if no match is found. - * - */ - public Optional getOneArbitraryMatch(final Physical_Person pP) { - return rawGetOneArbitraryMatch(new Object[]{pP}); - } - - /** - * Indicates whether the given combination of specified pattern parameters constitute a valid pattern match, - * under any possible substitution of the unspecified parameters (if any). - * @param pP the fixed value of pattern parameter p, or null if not bound. - * @return true if the input is a valid (partial) match of the pattern. - * - */ - public boolean hasMatch(final Physical_Person pP) { - return rawHasMatch(new Object[]{pP}); - } - - /** - * Returns the number of all matches of the pattern that conform to the given fixed values of some parameters. - * @param pP the fixed value of pattern parameter p, or null if not bound. - * @return the number of pattern matches found. - * - */ - public int countMatches(final Physical_Person pP) { - return rawCountMatches(new Object[]{pP}); - } - - /** - * Executes the given processor on an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. - * Neither determinism nor randomness of selection is guaranteed. - * @param pP the fixed value of pattern parameter p, or null if not bound. - * @param processor the action that will process the selected match. - * @return true if the pattern has at least one match with the given parameter values, false if the processor was not invoked - * - */ - public boolean forOneArbitraryMatch(final Physical_Person pP, final Consumer processor) { - return rawForOneArbitraryMatch(new Object[]{pP}, processor); - } - - /** - * Returns a new (partial) match. - * This can be used e.g. to call the matcher with a partial match. - *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. - * @param pP the fixed value of pattern parameter p, or null if not bound. - * @return the (partial) match object. - * - */ - public X_inv48_Dis.Match newMatch(final Physical_Person pP) { - return X_inv48_Dis.Match.newMatch(pP); - } - - /** - * Retrieve the set of values that occur in matches for p. - * @return the Set of all values or empty set if there are no matches - * - */ - protected Stream rawStreamAllValuesOfp(final Object[] parameters) { - return rawStreamAllValues(POSITION_P, parameters).map(Physical_Person.class::cast); - } - - /** - * Retrieve the set of values that occur in matches for p. - * @return the Set of all values or empty set if there are no matches - * - */ - public Set getAllValuesOfp() { - return rawStreamAllValuesOfp(emptyArray()).collect(Collectors.toSet()); - } - - /** - * Retrieve the set of values that occur in matches for p. - * @return the Set of all values or empty set if there are no matches - * - */ - public Stream streamAllValuesOfp() { - return rawStreamAllValuesOfp(emptyArray()); - } - - @Override - protected X_inv48_Dis.Match tupleToMatch(final Tuple t) { - try { - return X_inv48_Dis.Match.newMatch((Physical_Person) t.get(POSITION_P)); - } catch(ClassCastException e) { - LOGGER.error("Element(s) in tuple not properly typed!",e); - return null; - } - } - - @Override - protected X_inv48_Dis.Match arrayToMatch(final Object[] match) { - try { - return X_inv48_Dis.Match.newMatch((Physical_Person) match[POSITION_P]); - } catch(ClassCastException e) { - LOGGER.error("Element(s) in array not properly typed!",e); - return null; - } - } - - @Override - protected X_inv48_Dis.Match arrayToMatchMutable(final Object[] match) { - try { - return X_inv48_Dis.Match.newMutableMatch((Physical_Person) match[POSITION_P]); - } catch(ClassCastException e) { - LOGGER.error("Element(s) in array not properly typed!",e); - return null; - } - } - - /** - * @return the singleton instance of the query specification of this pattern - * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded - * - */ - public static IQuerySpecification querySpecification() { - return X_inv48_Dis.instance(); - } - } - - private X_inv48_Dis() { - super(GeneratedPQuery.INSTANCE); - } - - /** - * @return the singleton instance of the query specification - * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded - * - */ - public static X_inv48_Dis instance() { - try{ - return LazyHolder.INSTANCE; - } catch (ExceptionInInitializerError err) { - throw processInitializerError(err); - } - } - - @Override - protected X_inv48_Dis.Matcher instantiate(final ViatraQueryEngine engine) { - return X_inv48_Dis.Matcher.on(engine); - } - - @Override - public X_inv48_Dis.Matcher instantiate() { - return X_inv48_Dis.Matcher.create(); - } - - @Override - public X_inv48_Dis.Match newEmptyMatch() { - return X_inv48_Dis.Match.newEmptyMatch(); - } - - @Override - public X_inv48_Dis.Match newMatch(final Object... parameters) { - return X_inv48_Dis.Match.newMatch((Taxation.Physical_Person) parameters[0]); - } - - /** - * Inner class allowing the singleton instance of {@link X_inv48_Dis} to be created - * not at the class load time of the outer class, - * but rather at the first call to {@link X_inv48_Dis#instance()}. - * - *

    This workaround is required e.g. to support recursion. - * - */ - private static class LazyHolder { - private static final X_inv48_Dis INSTANCE = new X_inv48_Dis(); - - /** - * Statically initializes the query specification after the field {@link #INSTANCE} is assigned. - * This initialization order is required to support indirect recursion. - * - *

    The static initializer is defined using a helper field to work around limitations of the code generator. - * - */ - private static final Object STATIC_INITIALIZER = ensureInitialized(); - - public static Object ensureInitialized() { - INSTANCE.ensureInitializedInternal(); - return null; - } - } - - private static class GeneratedPQuery extends BaseGeneratedEMFPQuery { - private static final X_inv48_Dis.GeneratedPQuery INSTANCE = new GeneratedPQuery(); - - private final PParameter parameter_p = new PParameter("p", "Taxation.Physical_Person", new EClassTransitiveInstancesKey((EClass)getClassifierLiteralSafe("http:///TaxCard.ecore", "Physical_Person")), PParameterDirection.INOUT); - - private final List parameters = Arrays.asList(parameter_p); - - private GeneratedPQuery() { - super(PVisibility.PUBLIC); - } - - @Override - public String getFullyQualifiedName() { - return "queries.x_inv48_Dis"; - } - - @Override - public List getParameterNames() { - return Arrays.asList("p"); - } - - @Override - public List getParameters() { - return parameters; - } - - @Override - public Set doGetContainedBodies() { - setEvaluationHints(new QueryEvaluationHint(null, QueryEvaluationHint.BackendRequirement.UNSPECIFIED)); - Set bodies = new LinkedHashSet<>(); - { - PBody body = new PBody(this); - PVariable var_p = body.getOrCreateVariableByName("p"); - PVariable var_disPer = body.getOrCreateVariableByName("disPer"); - new TypeConstraint(body, Tuples.flatTupleOf(var_p), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Physical_Person"))); - body.setSymbolicParameters(Arrays.asList( - new ExportedParameter(body, var_p, parameter_p) - )); - // neg find x_inv48_3(p) - new NegativePatternCall(body, Tuples.flatTupleOf(var_p), X_inv48_3.instance().getInternalQueryRepresentation()); - // Physical_Person.disability_percentage(p, disPer) - new TypeConstraint(body, Tuples.flatTupleOf(var_p), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Physical_Person"))); - PVariable var__virtual_0_ = body.getOrCreateVariableByName(".virtual{0}"); - new TypeConstraint(body, Tuples.flatTupleOf(var_p, var__virtual_0_), new EStructuralFeatureInstancesKey(getFeatureLiteral("http:///TaxCard.ecore", "Physical_Person", "disability_percentage"))); - new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_0_), new EDataTypeInSlotsKey((EDataType)getClassifierLiteral("http://www.eclipse.org/emf/2002/Ecore", "EDouble"))); - new Equality(body, var__virtual_0_, var_disPer); - // check(disPer > 0.0) - new ExpressionEvaluation(body, new IExpressionEvaluator() { - - @Override - public String getShortDescription() { - return "Expression evaluation from pattern x_inv48_Dis"; - } - - @Override - public Iterable getInputParameterNames() { - return Arrays.asList("disPer");} - - @Override - public Object evaluateExpression(IValueProvider provider) throws Exception { - Double disPer = (Double) provider.getValue("disPer"); - return evaluateExpression_1_1(disPer); - } - }, null); - // check(disPer <= 1.0) - new ExpressionEvaluation(body, new IExpressionEvaluator() { - - @Override - public String getShortDescription() { - return "Expression evaluation from pattern x_inv48_Dis"; - } - - @Override - public Iterable getInputParameterNames() { - return Arrays.asList("disPer");} - - @Override - public Object evaluateExpression(IValueProvider provider) throws Exception { - Double disPer = (Double) provider.getValue("disPer"); - return evaluateExpression_1_2(disPer); - } - }, null); - bodies.add(body); - } - return bodies; - } - } - - private static boolean evaluateExpression_1_1(final Double disPer) { - return ((disPer).doubleValue() > 0.0); - } - - private static boolean evaluateExpression_1_2(final Double disPer) { - return ((disPer).doubleValue() <= 1.0); - } -} diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/X_inv48_notDis.java b/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/X_inv48_notDis.java deleted file mode 100644 index 21dcc068..00000000 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/X_inv48_notDis.java +++ /dev/null @@ -1,569 +0,0 @@ -/** - * Generated from platform:/resource/case.study.pledge.run/src/queries/case_study_A.vql - */ -package queries; - -import Taxation.Physical_Person; -import java.util.Arrays; -import java.util.Collection; -import java.util.LinkedHashSet; -import java.util.List; -import java.util.Objects; -import java.util.Optional; -import java.util.Set; -import java.util.function.Consumer; -import java.util.stream.Collectors; -import java.util.stream.Stream; -import org.apache.log4j.Logger; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EDataType; -import org.eclipse.viatra.query.runtime.api.IPatternMatch; -import org.eclipse.viatra.query.runtime.api.IQuerySpecification; -import org.eclipse.viatra.query.runtime.api.ViatraQueryEngine; -import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFPQuery; -import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFQuerySpecification; -import org.eclipse.viatra.query.runtime.api.impl.BaseMatcher; -import org.eclipse.viatra.query.runtime.api.impl.BasePatternMatch; -import org.eclipse.viatra.query.runtime.emf.types.EClassTransitiveInstancesKey; -import org.eclipse.viatra.query.runtime.emf.types.EDataTypeInSlotsKey; -import org.eclipse.viatra.query.runtime.emf.types.EStructuralFeatureInstancesKey; -import org.eclipse.viatra.query.runtime.matchers.backend.QueryEvaluationHint; -import org.eclipse.viatra.query.runtime.matchers.psystem.PBody; -import org.eclipse.viatra.query.runtime.matchers.psystem.PVariable; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.Equality; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.ExportedParameter; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicenumerables.ConstantValue; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicenumerables.TypeConstraint; -import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameter; -import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameterDirection; -import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PVisibility; -import org.eclipse.viatra.query.runtime.matchers.tuple.Tuple; -import org.eclipse.viatra.query.runtime.matchers.tuple.Tuples; -import org.eclipse.viatra.query.runtime.util.ViatraQueryLoggingUtil; - -/** - * A pattern-specific query specification that can instantiate Matcher in a type-safe way. - * - *

    Original source: - *

    - *         pattern x_inv48_notDis(p : Physical_Person) {
    - *             Physical_Person.disability_type(p, ::NONE);
    - *             Physical_Person.disability_percentage(p, 0.0);
    - *         }
    - * 
    - * - * @see Matcher - * @see Match - * - */ -@SuppressWarnings("all") -public final class X_inv48_notDis extends BaseGeneratedEMFQuerySpecification { - /** - * Pattern-specific match representation of the queries.x_inv48_notDis pattern, - * to be used in conjunction with {@link Matcher}. - * - *

    Class fields correspond to parameters of the pattern. Fields with value null are considered unassigned. - * Each instance is a (possibly partial) substitution of pattern parameters, - * usable to represent a match of the pattern in the result of a query, - * or to specify the bound (fixed) input parameters when issuing a query. - * - * @see Matcher - * - */ - public static abstract class Match extends BasePatternMatch { - private Physical_Person fP; - - private static List parameterNames = makeImmutableList("p"); - - private Match(final Physical_Person pP) { - this.fP = pP; - } - - @Override - public Object get(final String parameterName) { - switch(parameterName) { - case "p": return this.fP; - default: return null; - } - } - - @Override - public Object get(final int index) { - switch(index) { - case 0: return this.fP; - default: return null; - } - } - - public Physical_Person getP() { - return this.fP; - } - - @Override - public boolean set(final String parameterName, final Object newValue) { - if (!isMutable()) throw new java.lang.UnsupportedOperationException(); - if ("p".equals(parameterName) ) { - this.fP = (Physical_Person) newValue; - return true; - } - return false; - } - - public void setP(final Physical_Person pP) { - if (!isMutable()) throw new java.lang.UnsupportedOperationException(); - this.fP = pP; - } - - @Override - public String patternName() { - return "queries.x_inv48_notDis"; - } - - @Override - public List parameterNames() { - return X_inv48_notDis.Match.parameterNames; - } - - @Override - public Object[] toArray() { - return new Object[]{fP}; - } - - @Override - public X_inv48_notDis.Match toImmutable() { - return isMutable() ? newMatch(fP) : this; - } - - @Override - public String prettyPrint() { - StringBuilder result = new StringBuilder(); - result.append("\"p\"=" + prettyPrintValue(fP)); - return result.toString(); - } - - @Override - public int hashCode() { - return Objects.hash(fP); - } - - @Override - public boolean equals(final Object obj) { - if (this == obj) - return true; - if (obj == null) { - return false; - } - if ((obj instanceof X_inv48_notDis.Match)) { - X_inv48_notDis.Match other = (X_inv48_notDis.Match) obj; - return Objects.equals(fP, other.fP); - } else { - // this should be infrequent - if (!(obj instanceof IPatternMatch)) { - return false; - } - IPatternMatch otherSig = (IPatternMatch) obj; - return Objects.equals(specification(), otherSig.specification()) && Arrays.deepEquals(toArray(), otherSig.toArray()); - } - } - - @Override - public X_inv48_notDis specification() { - return X_inv48_notDis.instance(); - } - - /** - * Returns an empty, mutable match. - * Fields of the mutable match can be filled to create a partial match, usable as matcher input. - * - * @return the empty match. - * - */ - public static X_inv48_notDis.Match newEmptyMatch() { - return new Mutable(null); - } - - /** - * Returns a mutable (partial) match. - * Fields of the mutable match can be filled to create a partial match, usable as matcher input. - * - * @param pP the fixed value of pattern parameter p, or null if not bound. - * @return the new, mutable (partial) match object. - * - */ - public static X_inv48_notDis.Match newMutableMatch(final Physical_Person pP) { - return new Mutable(pP); - } - - /** - * Returns a new (partial) match. - * This can be used e.g. to call the matcher with a partial match. - *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. - * @param pP the fixed value of pattern parameter p, or null if not bound. - * @return the (partial) match object. - * - */ - public static X_inv48_notDis.Match newMatch(final Physical_Person pP) { - return new Immutable(pP); - } - - private static final class Mutable extends X_inv48_notDis.Match { - Mutable(final Physical_Person pP) { - super(pP); - } - - @Override - public boolean isMutable() { - return true; - } - } - - private static final class Immutable extends X_inv48_notDis.Match { - Immutable(final Physical_Person pP) { - super(pP); - } - - @Override - public boolean isMutable() { - return false; - } - } - } - - /** - * Generated pattern matcher API of the queries.x_inv48_notDis pattern, - * providing pattern-specific query methods. - * - *

    Use the pattern matcher on a given model via {@link #on(ViatraQueryEngine)}, - * e.g. in conjunction with {@link ViatraQueryEngine#on(QueryScope)}. - * - *

    Matches of the pattern will be represented as {@link Match}. - * - *

    Original source: - *

    -   * pattern x_inv48_notDis(p : Physical_Person) {
    -   *     Physical_Person.disability_type(p, ::NONE);
    -   *     Physical_Person.disability_percentage(p, 0.0);
    -   * }
    -   * 
    - * - * @see Match - * @see X_inv48_notDis - * - */ - public static class Matcher extends BaseMatcher { - /** - * Initializes the pattern matcher within an existing VIATRA Query engine. - * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. - * - * @param engine the existing VIATRA Query engine in which this matcher will be created. - * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation - * - */ - public static X_inv48_notDis.Matcher on(final ViatraQueryEngine engine) { - // check if matcher already exists - Matcher matcher = engine.getExistingMatcher(querySpecification()); - if (matcher == null) { - matcher = (Matcher)engine.getMatcher(querySpecification()); - } - return matcher; - } - - /** - * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation - * @return an initialized matcher - * @noreference This method is for internal matcher initialization by the framework, do not call it manually. - * - */ - public static X_inv48_notDis.Matcher create() { - return new Matcher(); - } - - private static final int POSITION_P = 0; - - private static final Logger LOGGER = ViatraQueryLoggingUtil.getLogger(X_inv48_notDis.Matcher.class); - - /** - * Initializes the pattern matcher within an existing VIATRA Query engine. - * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. - * - * @param engine the existing VIATRA Query engine in which this matcher will be created. - * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation - * - */ - private Matcher() { - super(querySpecification()); - } - - /** - * Returns the set of all matches of the pattern that conform to the given fixed values of some parameters. - * @param pP the fixed value of pattern parameter p, or null if not bound. - * @return matches represented as a Match object. - * - */ - public Collection getAllMatches(final Physical_Person pP) { - return rawStreamAllMatches(new Object[]{pP}).collect(Collectors.toSet()); - } - - /** - * Returns a stream of all matches of the pattern that conform to the given fixed values of some parameters. - *

    - * NOTE: It is important not to modify the source model while the stream is being processed. - * If the match set of the pattern changes during processing, the contents of the stream is undefined. - * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. - * @param pP the fixed value of pattern parameter p, or null if not bound. - * @return a stream of matches represented as a Match object. - * - */ - public Stream streamAllMatches(final Physical_Person pP) { - return rawStreamAllMatches(new Object[]{pP}); - } - - /** - * Returns an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. - * Neither determinism nor randomness of selection is guaranteed. - * @param pP the fixed value of pattern parameter p, or null if not bound. - * @return a match represented as a Match object, or null if no match is found. - * - */ - public Optional getOneArbitraryMatch(final Physical_Person pP) { - return rawGetOneArbitraryMatch(new Object[]{pP}); - } - - /** - * Indicates whether the given combination of specified pattern parameters constitute a valid pattern match, - * under any possible substitution of the unspecified parameters (if any). - * @param pP the fixed value of pattern parameter p, or null if not bound. - * @return true if the input is a valid (partial) match of the pattern. - * - */ - public boolean hasMatch(final Physical_Person pP) { - return rawHasMatch(new Object[]{pP}); - } - - /** - * Returns the number of all matches of the pattern that conform to the given fixed values of some parameters. - * @param pP the fixed value of pattern parameter p, or null if not bound. - * @return the number of pattern matches found. - * - */ - public int countMatches(final Physical_Person pP) { - return rawCountMatches(new Object[]{pP}); - } - - /** - * Executes the given processor on an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. - * Neither determinism nor randomness of selection is guaranteed. - * @param pP the fixed value of pattern parameter p, or null if not bound. - * @param processor the action that will process the selected match. - * @return true if the pattern has at least one match with the given parameter values, false if the processor was not invoked - * - */ - public boolean forOneArbitraryMatch(final Physical_Person pP, final Consumer processor) { - return rawForOneArbitraryMatch(new Object[]{pP}, processor); - } - - /** - * Returns a new (partial) match. - * This can be used e.g. to call the matcher with a partial match. - *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. - * @param pP the fixed value of pattern parameter p, or null if not bound. - * @return the (partial) match object. - * - */ - public X_inv48_notDis.Match newMatch(final Physical_Person pP) { - return X_inv48_notDis.Match.newMatch(pP); - } - - /** - * Retrieve the set of values that occur in matches for p. - * @return the Set of all values or empty set if there are no matches - * - */ - protected Stream rawStreamAllValuesOfp(final Object[] parameters) { - return rawStreamAllValues(POSITION_P, parameters).map(Physical_Person.class::cast); - } - - /** - * Retrieve the set of values that occur in matches for p. - * @return the Set of all values or empty set if there are no matches - * - */ - public Set getAllValuesOfp() { - return rawStreamAllValuesOfp(emptyArray()).collect(Collectors.toSet()); - } - - /** - * Retrieve the set of values that occur in matches for p. - * @return the Set of all values or empty set if there are no matches - * - */ - public Stream streamAllValuesOfp() { - return rawStreamAllValuesOfp(emptyArray()); - } - - @Override - protected X_inv48_notDis.Match tupleToMatch(final Tuple t) { - try { - return X_inv48_notDis.Match.newMatch((Physical_Person) t.get(POSITION_P)); - } catch(ClassCastException e) { - LOGGER.error("Element(s) in tuple not properly typed!",e); - return null; - } - } - - @Override - protected X_inv48_notDis.Match arrayToMatch(final Object[] match) { - try { - return X_inv48_notDis.Match.newMatch((Physical_Person) match[POSITION_P]); - } catch(ClassCastException e) { - LOGGER.error("Element(s) in array not properly typed!",e); - return null; - } - } - - @Override - protected X_inv48_notDis.Match arrayToMatchMutable(final Object[] match) { - try { - return X_inv48_notDis.Match.newMutableMatch((Physical_Person) match[POSITION_P]); - } catch(ClassCastException e) { - LOGGER.error("Element(s) in array not properly typed!",e); - return null; - } - } - - /** - * @return the singleton instance of the query specification of this pattern - * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded - * - */ - public static IQuerySpecification querySpecification() { - return X_inv48_notDis.instance(); - } - } - - private X_inv48_notDis() { - super(GeneratedPQuery.INSTANCE); - } - - /** - * @return the singleton instance of the query specification - * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded - * - */ - public static X_inv48_notDis instance() { - try{ - return LazyHolder.INSTANCE; - } catch (ExceptionInInitializerError err) { - throw processInitializerError(err); - } - } - - @Override - protected X_inv48_notDis.Matcher instantiate(final ViatraQueryEngine engine) { - return X_inv48_notDis.Matcher.on(engine); - } - - @Override - public X_inv48_notDis.Matcher instantiate() { - return X_inv48_notDis.Matcher.create(); - } - - @Override - public X_inv48_notDis.Match newEmptyMatch() { - return X_inv48_notDis.Match.newEmptyMatch(); - } - - @Override - public X_inv48_notDis.Match newMatch(final Object... parameters) { - return X_inv48_notDis.Match.newMatch((Taxation.Physical_Person) parameters[0]); - } - - /** - * Inner class allowing the singleton instance of {@link X_inv48_notDis} to be created - * not at the class load time of the outer class, - * but rather at the first call to {@link X_inv48_notDis#instance()}. - * - *

    This workaround is required e.g. to support recursion. - * - */ - private static class LazyHolder { - private static final X_inv48_notDis INSTANCE = new X_inv48_notDis(); - - /** - * Statically initializes the query specification after the field {@link #INSTANCE} is assigned. - * This initialization order is required to support indirect recursion. - * - *

    The static initializer is defined using a helper field to work around limitations of the code generator. - * - */ - private static final Object STATIC_INITIALIZER = ensureInitialized(); - - public static Object ensureInitialized() { - INSTANCE.ensureInitializedInternal(); - return null; - } - } - - private static class GeneratedPQuery extends BaseGeneratedEMFPQuery { - private static final X_inv48_notDis.GeneratedPQuery INSTANCE = new GeneratedPQuery(); - - private final PParameter parameter_p = new PParameter("p", "Taxation.Physical_Person", new EClassTransitiveInstancesKey((EClass)getClassifierLiteralSafe("http:///TaxCard.ecore", "Physical_Person")), PParameterDirection.INOUT); - - private final List parameters = Arrays.asList(parameter_p); - - private GeneratedPQuery() { - super(PVisibility.PUBLIC); - } - - @Override - public String getFullyQualifiedName() { - return "queries.x_inv48_notDis"; - } - - @Override - public List getParameterNames() { - return Arrays.asList("p"); - } - - @Override - public List getParameters() { - return parameters; - } - - @Override - public Set doGetContainedBodies() { - setEvaluationHints(new QueryEvaluationHint(null, QueryEvaluationHint.BackendRequirement.UNSPECIFIED)); - Set bodies = new LinkedHashSet<>(); - { - PBody body = new PBody(this); - PVariable var_p = body.getOrCreateVariableByName("p"); - new TypeConstraint(body, Tuples.flatTupleOf(var_p), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Physical_Person"))); - body.setSymbolicParameters(Arrays.asList( - new ExportedParameter(body, var_p, parameter_p) - )); - // Physical_Person.disability_type(p, ::NONE) - PVariable var__virtual_0_ = body.getOrCreateVariableByName(".virtual{0}"); - new ConstantValue(body, var__virtual_0_, getEnumLiteral("http:///TaxCard.ecore", "Disability_Types", "NONE").getInstance()); - new TypeConstraint(body, Tuples.flatTupleOf(var_p), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Physical_Person"))); - PVariable var__virtual_1_ = body.getOrCreateVariableByName(".virtual{1}"); - new TypeConstraint(body, Tuples.flatTupleOf(var_p, var__virtual_1_), new EStructuralFeatureInstancesKey(getFeatureLiteral("http:///TaxCard.ecore", "Physical_Person", "disability_type"))); - new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_1_), new EDataTypeInSlotsKey((EDataType)getClassifierLiteral("http:///TaxCard.ecore", "Disability_Types"))); - new Equality(body, var__virtual_1_, var__virtual_0_); - // Physical_Person.disability_percentage(p, 0.0) - PVariable var__virtual_2_ = body.getOrCreateVariableByName(".virtual{2}"); - new ConstantValue(body, var__virtual_2_, 0.0); - new TypeConstraint(body, Tuples.flatTupleOf(var_p), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Physical_Person"))); - PVariable var__virtual_3_ = body.getOrCreateVariableByName(".virtual{3}"); - new TypeConstraint(body, Tuples.flatTupleOf(var_p, var__virtual_3_), new EStructuralFeatureInstancesKey(getFeatureLiteral("http:///TaxCard.ecore", "Physical_Person", "disability_percentage"))); - new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_3_), new EDataTypeInSlotsKey((EDataType)getClassifierLiteral("http://www.eclipse.org/emf/2002/Ecore", "EDouble"))); - new Equality(body, var__virtual_3_, var__virtual_2_); - bodies.add(body); - } - return bodies; - } - } - - private static double evaluateExpression_1_1() { - return 0.0; - } -} diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/X_inv49_1.java b/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/X_inv49_1.java deleted file mode 100644 index 67915440..00000000 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/X_inv49_1.java +++ /dev/null @@ -1,579 +0,0 @@ -/** - * Generated from platform:/resource/case.study.pledge.run/src/queries/case_study_A.vql - */ -package queries; - -import Taxation.Legal_Union_Record; -import java.util.Arrays; -import java.util.Collection; -import java.util.LinkedHashSet; -import java.util.List; -import java.util.Objects; -import java.util.Optional; -import java.util.Set; -import java.util.function.Consumer; -import java.util.stream.Collectors; -import java.util.stream.Stream; -import org.apache.log4j.Logger; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.viatra.query.runtime.api.IPatternMatch; -import org.eclipse.viatra.query.runtime.api.IQuerySpecification; -import org.eclipse.viatra.query.runtime.api.ViatraQueryEngine; -import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFPQuery; -import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFQuerySpecification; -import org.eclipse.viatra.query.runtime.api.impl.BaseMatcher; -import org.eclipse.viatra.query.runtime.api.impl.BasePatternMatch; -import org.eclipse.viatra.query.runtime.emf.types.EClassTransitiveInstancesKey; -import org.eclipse.viatra.query.runtime.emf.types.EStructuralFeatureInstancesKey; -import org.eclipse.viatra.query.runtime.matchers.backend.QueryEvaluationHint; -import org.eclipse.viatra.query.runtime.matchers.psystem.PBody; -import org.eclipse.viatra.query.runtime.matchers.psystem.PVariable; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.Equality; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.ExportedParameter; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.Inequality; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.NegativePatternCall; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicenumerables.TypeConstraint; -import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameter; -import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameterDirection; -import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PVisibility; -import org.eclipse.viatra.query.runtime.matchers.tuple.Tuple; -import org.eclipse.viatra.query.runtime.matchers.tuple.Tuples; -import org.eclipse.viatra.query.runtime.util.ViatraQueryLoggingUtil; -import queries.X_inv49_2; - -/** - * A pattern-specific query specification that can instantiate Matcher in a type-safe way. - * - *

    Original source: - *

    - *         pattern x_inv49_1(lur : Legal_Union_Record) {
    - *         	Legal_Union_Record.individual_A(lur, iA);
    - *         	Legal_Union_Record.individual_B(lur, iB);
    - *             Tax_Payer(iA);
    - *             Physical_Person(iB);
    - *             neg find x_inv49_2(iB);
    - *             iA != iB;
    - *         }
    - * 
    - * - * @see Matcher - * @see Match - * - */ -@SuppressWarnings("all") -public final class X_inv49_1 extends BaseGeneratedEMFQuerySpecification { - /** - * Pattern-specific match representation of the queries.x_inv49_1 pattern, - * to be used in conjunction with {@link Matcher}. - * - *

    Class fields correspond to parameters of the pattern. Fields with value null are considered unassigned. - * Each instance is a (possibly partial) substitution of pattern parameters, - * usable to represent a match of the pattern in the result of a query, - * or to specify the bound (fixed) input parameters when issuing a query. - * - * @see Matcher - * - */ - public static abstract class Match extends BasePatternMatch { - private Legal_Union_Record fLur; - - private static List parameterNames = makeImmutableList("lur"); - - private Match(final Legal_Union_Record pLur) { - this.fLur = pLur; - } - - @Override - public Object get(final String parameterName) { - switch(parameterName) { - case "lur": return this.fLur; - default: return null; - } - } - - @Override - public Object get(final int index) { - switch(index) { - case 0: return this.fLur; - default: return null; - } - } - - public Legal_Union_Record getLur() { - return this.fLur; - } - - @Override - public boolean set(final String parameterName, final Object newValue) { - if (!isMutable()) throw new java.lang.UnsupportedOperationException(); - if ("lur".equals(parameterName) ) { - this.fLur = (Legal_Union_Record) newValue; - return true; - } - return false; - } - - public void setLur(final Legal_Union_Record pLur) { - if (!isMutable()) throw new java.lang.UnsupportedOperationException(); - this.fLur = pLur; - } - - @Override - public String patternName() { - return "queries.x_inv49_1"; - } - - @Override - public List parameterNames() { - return X_inv49_1.Match.parameterNames; - } - - @Override - public Object[] toArray() { - return new Object[]{fLur}; - } - - @Override - public X_inv49_1.Match toImmutable() { - return isMutable() ? newMatch(fLur) : this; - } - - @Override - public String prettyPrint() { - StringBuilder result = new StringBuilder(); - result.append("\"lur\"=" + prettyPrintValue(fLur)); - return result.toString(); - } - - @Override - public int hashCode() { - return Objects.hash(fLur); - } - - @Override - public boolean equals(final Object obj) { - if (this == obj) - return true; - if (obj == null) { - return false; - } - if ((obj instanceof X_inv49_1.Match)) { - X_inv49_1.Match other = (X_inv49_1.Match) obj; - return Objects.equals(fLur, other.fLur); - } else { - // this should be infrequent - if (!(obj instanceof IPatternMatch)) { - return false; - } - IPatternMatch otherSig = (IPatternMatch) obj; - return Objects.equals(specification(), otherSig.specification()) && Arrays.deepEquals(toArray(), otherSig.toArray()); - } - } - - @Override - public X_inv49_1 specification() { - return X_inv49_1.instance(); - } - - /** - * Returns an empty, mutable match. - * Fields of the mutable match can be filled to create a partial match, usable as matcher input. - * - * @return the empty match. - * - */ - public static X_inv49_1.Match newEmptyMatch() { - return new Mutable(null); - } - - /** - * Returns a mutable (partial) match. - * Fields of the mutable match can be filled to create a partial match, usable as matcher input. - * - * @param pLur the fixed value of pattern parameter lur, or null if not bound. - * @return the new, mutable (partial) match object. - * - */ - public static X_inv49_1.Match newMutableMatch(final Legal_Union_Record pLur) { - return new Mutable(pLur); - } - - /** - * Returns a new (partial) match. - * This can be used e.g. to call the matcher with a partial match. - *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. - * @param pLur the fixed value of pattern parameter lur, or null if not bound. - * @return the (partial) match object. - * - */ - public static X_inv49_1.Match newMatch(final Legal_Union_Record pLur) { - return new Immutable(pLur); - } - - private static final class Mutable extends X_inv49_1.Match { - Mutable(final Legal_Union_Record pLur) { - super(pLur); - } - - @Override - public boolean isMutable() { - return true; - } - } - - private static final class Immutable extends X_inv49_1.Match { - Immutable(final Legal_Union_Record pLur) { - super(pLur); - } - - @Override - public boolean isMutable() { - return false; - } - } - } - - /** - * Generated pattern matcher API of the queries.x_inv49_1 pattern, - * providing pattern-specific query methods. - * - *

    Use the pattern matcher on a given model via {@link #on(ViatraQueryEngine)}, - * e.g. in conjunction with {@link ViatraQueryEngine#on(QueryScope)}. - * - *

    Matches of the pattern will be represented as {@link Match}. - * - *

    Original source: - *

    -   * pattern x_inv49_1(lur : Legal_Union_Record) {
    -   * 	Legal_Union_Record.individual_A(lur, iA);
    -   * 	Legal_Union_Record.individual_B(lur, iB);
    -   *     Tax_Payer(iA);
    -   *     Physical_Person(iB);
    -   *     neg find x_inv49_2(iB);
    -   *     iA != iB;
    -   * }
    -   * 
    - * - * @see Match - * @see X_inv49_1 - * - */ - public static class Matcher extends BaseMatcher { - /** - * Initializes the pattern matcher within an existing VIATRA Query engine. - * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. - * - * @param engine the existing VIATRA Query engine in which this matcher will be created. - * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation - * - */ - public static X_inv49_1.Matcher on(final ViatraQueryEngine engine) { - // check if matcher already exists - Matcher matcher = engine.getExistingMatcher(querySpecification()); - if (matcher == null) { - matcher = (Matcher)engine.getMatcher(querySpecification()); - } - return matcher; - } - - /** - * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation - * @return an initialized matcher - * @noreference This method is for internal matcher initialization by the framework, do not call it manually. - * - */ - public static X_inv49_1.Matcher create() { - return new Matcher(); - } - - private static final int POSITION_LUR = 0; - - private static final Logger LOGGER = ViatraQueryLoggingUtil.getLogger(X_inv49_1.Matcher.class); - - /** - * Initializes the pattern matcher within an existing VIATRA Query engine. - * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. - * - * @param engine the existing VIATRA Query engine in which this matcher will be created. - * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation - * - */ - private Matcher() { - super(querySpecification()); - } - - /** - * Returns the set of all matches of the pattern that conform to the given fixed values of some parameters. - * @param pLur the fixed value of pattern parameter lur, or null if not bound. - * @return matches represented as a Match object. - * - */ - public Collection getAllMatches(final Legal_Union_Record pLur) { - return rawStreamAllMatches(new Object[]{pLur}).collect(Collectors.toSet()); - } - - /** - * Returns a stream of all matches of the pattern that conform to the given fixed values of some parameters. - *

    - * NOTE: It is important not to modify the source model while the stream is being processed. - * If the match set of the pattern changes during processing, the contents of the stream is undefined. - * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. - * @param pLur the fixed value of pattern parameter lur, or null if not bound. - * @return a stream of matches represented as a Match object. - * - */ - public Stream streamAllMatches(final Legal_Union_Record pLur) { - return rawStreamAllMatches(new Object[]{pLur}); - } - - /** - * Returns an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. - * Neither determinism nor randomness of selection is guaranteed. - * @param pLur the fixed value of pattern parameter lur, or null if not bound. - * @return a match represented as a Match object, or null if no match is found. - * - */ - public Optional getOneArbitraryMatch(final Legal_Union_Record pLur) { - return rawGetOneArbitraryMatch(new Object[]{pLur}); - } - - /** - * Indicates whether the given combination of specified pattern parameters constitute a valid pattern match, - * under any possible substitution of the unspecified parameters (if any). - * @param pLur the fixed value of pattern parameter lur, or null if not bound. - * @return true if the input is a valid (partial) match of the pattern. - * - */ - public boolean hasMatch(final Legal_Union_Record pLur) { - return rawHasMatch(new Object[]{pLur}); - } - - /** - * Returns the number of all matches of the pattern that conform to the given fixed values of some parameters. - * @param pLur the fixed value of pattern parameter lur, or null if not bound. - * @return the number of pattern matches found. - * - */ - public int countMatches(final Legal_Union_Record pLur) { - return rawCountMatches(new Object[]{pLur}); - } - - /** - * Executes the given processor on an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. - * Neither determinism nor randomness of selection is guaranteed. - * @param pLur the fixed value of pattern parameter lur, or null if not bound. - * @param processor the action that will process the selected match. - * @return true if the pattern has at least one match with the given parameter values, false if the processor was not invoked - * - */ - public boolean forOneArbitraryMatch(final Legal_Union_Record pLur, final Consumer processor) { - return rawForOneArbitraryMatch(new Object[]{pLur}, processor); - } - - /** - * Returns a new (partial) match. - * This can be used e.g. to call the matcher with a partial match. - *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. - * @param pLur the fixed value of pattern parameter lur, or null if not bound. - * @return the (partial) match object. - * - */ - public X_inv49_1.Match newMatch(final Legal_Union_Record pLur) { - return X_inv49_1.Match.newMatch(pLur); - } - - /** - * Retrieve the set of values that occur in matches for lur. - * @return the Set of all values or empty set if there are no matches - * - */ - protected Stream rawStreamAllValuesOflur(final Object[] parameters) { - return rawStreamAllValues(POSITION_LUR, parameters).map(Legal_Union_Record.class::cast); - } - - /** - * Retrieve the set of values that occur in matches for lur. - * @return the Set of all values or empty set if there are no matches - * - */ - public Set getAllValuesOflur() { - return rawStreamAllValuesOflur(emptyArray()).collect(Collectors.toSet()); - } - - /** - * Retrieve the set of values that occur in matches for lur. - * @return the Set of all values or empty set if there are no matches - * - */ - public Stream streamAllValuesOflur() { - return rawStreamAllValuesOflur(emptyArray()); - } - - @Override - protected X_inv49_1.Match tupleToMatch(final Tuple t) { - try { - return X_inv49_1.Match.newMatch((Legal_Union_Record) t.get(POSITION_LUR)); - } catch(ClassCastException e) { - LOGGER.error("Element(s) in tuple not properly typed!",e); - return null; - } - } - - @Override - protected X_inv49_1.Match arrayToMatch(final Object[] match) { - try { - return X_inv49_1.Match.newMatch((Legal_Union_Record) match[POSITION_LUR]); - } catch(ClassCastException e) { - LOGGER.error("Element(s) in array not properly typed!",e); - return null; - } - } - - @Override - protected X_inv49_1.Match arrayToMatchMutable(final Object[] match) { - try { - return X_inv49_1.Match.newMutableMatch((Legal_Union_Record) match[POSITION_LUR]); - } catch(ClassCastException e) { - LOGGER.error("Element(s) in array not properly typed!",e); - return null; - } - } - - /** - * @return the singleton instance of the query specification of this pattern - * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded - * - */ - public static IQuerySpecification querySpecification() { - return X_inv49_1.instance(); - } - } - - private X_inv49_1() { - super(GeneratedPQuery.INSTANCE); - } - - /** - * @return the singleton instance of the query specification - * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded - * - */ - public static X_inv49_1 instance() { - try{ - return LazyHolder.INSTANCE; - } catch (ExceptionInInitializerError err) { - throw processInitializerError(err); - } - } - - @Override - protected X_inv49_1.Matcher instantiate(final ViatraQueryEngine engine) { - return X_inv49_1.Matcher.on(engine); - } - - @Override - public X_inv49_1.Matcher instantiate() { - return X_inv49_1.Matcher.create(); - } - - @Override - public X_inv49_1.Match newEmptyMatch() { - return X_inv49_1.Match.newEmptyMatch(); - } - - @Override - public X_inv49_1.Match newMatch(final Object... parameters) { - return X_inv49_1.Match.newMatch((Taxation.Legal_Union_Record) parameters[0]); - } - - /** - * Inner class allowing the singleton instance of {@link X_inv49_1} to be created - * not at the class load time of the outer class, - * but rather at the first call to {@link X_inv49_1#instance()}. - * - *

    This workaround is required e.g. to support recursion. - * - */ - private static class LazyHolder { - private static final X_inv49_1 INSTANCE = new X_inv49_1(); - - /** - * Statically initializes the query specification after the field {@link #INSTANCE} is assigned. - * This initialization order is required to support indirect recursion. - * - *

    The static initializer is defined using a helper field to work around limitations of the code generator. - * - */ - private static final Object STATIC_INITIALIZER = ensureInitialized(); - - public static Object ensureInitialized() { - INSTANCE.ensureInitializedInternal(); - return null; - } - } - - private static class GeneratedPQuery extends BaseGeneratedEMFPQuery { - private static final X_inv49_1.GeneratedPQuery INSTANCE = new GeneratedPQuery(); - - private final PParameter parameter_lur = new PParameter("lur", "Taxation.Legal_Union_Record", new EClassTransitiveInstancesKey((EClass)getClassifierLiteralSafe("http:///TaxCard.ecore", "Legal_Union_Record")), PParameterDirection.INOUT); - - private final List parameters = Arrays.asList(parameter_lur); - - private GeneratedPQuery() { - super(PVisibility.PUBLIC); - } - - @Override - public String getFullyQualifiedName() { - return "queries.x_inv49_1"; - } - - @Override - public List getParameterNames() { - return Arrays.asList("lur"); - } - - @Override - public List getParameters() { - return parameters; - } - - @Override - public Set doGetContainedBodies() { - setEvaluationHints(new QueryEvaluationHint(null, QueryEvaluationHint.BackendRequirement.UNSPECIFIED)); - Set bodies = new LinkedHashSet<>(); - { - PBody body = new PBody(this); - PVariable var_lur = body.getOrCreateVariableByName("lur"); - PVariable var_iA = body.getOrCreateVariableByName("iA"); - PVariable var_iB = body.getOrCreateVariableByName("iB"); - new TypeConstraint(body, Tuples.flatTupleOf(var_lur), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Legal_Union_Record"))); - body.setSymbolicParameters(Arrays.asList( - new ExportedParameter(body, var_lur, parameter_lur) - )); - // Legal_Union_Record.individual_A(lur, iA) - new TypeConstraint(body, Tuples.flatTupleOf(var_lur), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Legal_Union_Record"))); - PVariable var__virtual_0_ = body.getOrCreateVariableByName(".virtual{0}"); - new TypeConstraint(body, Tuples.flatTupleOf(var_lur, var__virtual_0_), new EStructuralFeatureInstancesKey(getFeatureLiteral("http:///TaxCard.ecore", "Legal_Union_Record", "individual_A"))); - new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_0_), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Physical_Person"))); - new Equality(body, var__virtual_0_, var_iA); - // Legal_Union_Record.individual_B(lur, iB) - new TypeConstraint(body, Tuples.flatTupleOf(var_lur), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Legal_Union_Record"))); - PVariable var__virtual_1_ = body.getOrCreateVariableByName(".virtual{1}"); - new TypeConstraint(body, Tuples.flatTupleOf(var_lur, var__virtual_1_), new EStructuralFeatureInstancesKey(getFeatureLiteral("http:///TaxCard.ecore", "Legal_Union_Record", "individual_B"))); - new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_1_), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Physical_Person"))); - new Equality(body, var__virtual_1_, var_iB); - // Tax_Payer(iA) - new TypeConstraint(body, Tuples.flatTupleOf(var_iA), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Tax_Payer"))); - // Physical_Person(iB) - new TypeConstraint(body, Tuples.flatTupleOf(var_iB), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Physical_Person"))); - // neg find x_inv49_2(iB) - new NegativePatternCall(body, Tuples.flatTupleOf(var_iB), X_inv49_2.instance().getInternalQueryRepresentation()); - // iA != iB - new Inequality(body, var_iA, var_iB); - bodies.add(body); - } - return bodies; - } - } -} diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/X_inv49_2.java b/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/X_inv49_2.java deleted file mode 100644 index 66decdb4..00000000 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src-gen/queries/X_inv49_2.java +++ /dev/null @@ -1,544 +0,0 @@ -/** - * Generated from platform:/resource/case.study.pledge.run/src/queries/case_study_A.vql - */ -package queries; - -import Taxation.Dependent; -import java.util.Arrays; -import java.util.Collection; -import java.util.LinkedHashSet; -import java.util.List; -import java.util.Objects; -import java.util.Optional; -import java.util.Set; -import java.util.function.Consumer; -import java.util.stream.Collectors; -import java.util.stream.Stream; -import org.apache.log4j.Logger; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.viatra.query.runtime.api.IPatternMatch; -import org.eclipse.viatra.query.runtime.api.IQuerySpecification; -import org.eclipse.viatra.query.runtime.api.ViatraQueryEngine; -import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFPQuery; -import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFQuerySpecification; -import org.eclipse.viatra.query.runtime.api.impl.BaseMatcher; -import org.eclipse.viatra.query.runtime.api.impl.BasePatternMatch; -import org.eclipse.viatra.query.runtime.emf.types.EClassTransitiveInstancesKey; -import org.eclipse.viatra.query.runtime.matchers.backend.QueryEvaluationHint; -import org.eclipse.viatra.query.runtime.matchers.psystem.PBody; -import org.eclipse.viatra.query.runtime.matchers.psystem.PVariable; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.ExportedParameter; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicenumerables.TypeConstraint; -import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameter; -import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameterDirection; -import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PVisibility; -import org.eclipse.viatra.query.runtime.matchers.tuple.Tuple; -import org.eclipse.viatra.query.runtime.matchers.tuple.Tuples; -import org.eclipse.viatra.query.runtime.util.ViatraQueryLoggingUtil; - -/** - * A pattern-specific query specification that can instantiate Matcher in a type-safe way. - * - *

    Original source: - *

    - *         pattern x_inv49_2(iB: Dependent) {
    - *             Dependent(iB);
    - *         }
    - * 
    - * - * @see Matcher - * @see Match - * - */ -@SuppressWarnings("all") -public final class X_inv49_2 extends BaseGeneratedEMFQuerySpecification { - /** - * Pattern-specific match representation of the queries.x_inv49_2 pattern, - * to be used in conjunction with {@link Matcher}. - * - *

    Class fields correspond to parameters of the pattern. Fields with value null are considered unassigned. - * Each instance is a (possibly partial) substitution of pattern parameters, - * usable to represent a match of the pattern in the result of a query, - * or to specify the bound (fixed) input parameters when issuing a query. - * - * @see Matcher - * - */ - public static abstract class Match extends BasePatternMatch { - private Dependent fIB; - - private static List parameterNames = makeImmutableList("iB"); - - private Match(final Dependent pIB) { - this.fIB = pIB; - } - - @Override - public Object get(final String parameterName) { - switch(parameterName) { - case "iB": return this.fIB; - default: return null; - } - } - - @Override - public Object get(final int index) { - switch(index) { - case 0: return this.fIB; - default: return null; - } - } - - public Dependent getIB() { - return this.fIB; - } - - @Override - public boolean set(final String parameterName, final Object newValue) { - if (!isMutable()) throw new java.lang.UnsupportedOperationException(); - if ("iB".equals(parameterName) ) { - this.fIB = (Dependent) newValue; - return true; - } - return false; - } - - public void setIB(final Dependent pIB) { - if (!isMutable()) throw new java.lang.UnsupportedOperationException(); - this.fIB = pIB; - } - - @Override - public String patternName() { - return "queries.x_inv49_2"; - } - - @Override - public List parameterNames() { - return X_inv49_2.Match.parameterNames; - } - - @Override - public Object[] toArray() { - return new Object[]{fIB}; - } - - @Override - public X_inv49_2.Match toImmutable() { - return isMutable() ? newMatch(fIB) : this; - } - - @Override - public String prettyPrint() { - StringBuilder result = new StringBuilder(); - result.append("\"iB\"=" + prettyPrintValue(fIB)); - return result.toString(); - } - - @Override - public int hashCode() { - return Objects.hash(fIB); - } - - @Override - public boolean equals(final Object obj) { - if (this == obj) - return true; - if (obj == null) { - return false; - } - if ((obj instanceof X_inv49_2.Match)) { - X_inv49_2.Match other = (X_inv49_2.Match) obj; - return Objects.equals(fIB, other.fIB); - } else { - // this should be infrequent - if (!(obj instanceof IPatternMatch)) { - return false; - } - IPatternMatch otherSig = (IPatternMatch) obj; - return Objects.equals(specification(), otherSig.specification()) && Arrays.deepEquals(toArray(), otherSig.toArray()); - } - } - - @Override - public X_inv49_2 specification() { - return X_inv49_2.instance(); - } - - /** - * Returns an empty, mutable match. - * Fields of the mutable match can be filled to create a partial match, usable as matcher input. - * - * @return the empty match. - * - */ - public static X_inv49_2.Match newEmptyMatch() { - return new Mutable(null); - } - - /** - * Returns a mutable (partial) match. - * Fields of the mutable match can be filled to create a partial match, usable as matcher input. - * - * @param pIB the fixed value of pattern parameter iB, or null if not bound. - * @return the new, mutable (partial) match object. - * - */ - public static X_inv49_2.Match newMutableMatch(final Dependent pIB) { - return new Mutable(pIB); - } - - /** - * Returns a new (partial) match. - * This can be used e.g. to call the matcher with a partial match. - *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. - * @param pIB the fixed value of pattern parameter iB, or null if not bound. - * @return the (partial) match object. - * - */ - public static X_inv49_2.Match newMatch(final Dependent pIB) { - return new Immutable(pIB); - } - - private static final class Mutable extends X_inv49_2.Match { - Mutable(final Dependent pIB) { - super(pIB); - } - - @Override - public boolean isMutable() { - return true; - } - } - - private static final class Immutable extends X_inv49_2.Match { - Immutable(final Dependent pIB) { - super(pIB); - } - - @Override - public boolean isMutable() { - return false; - } - } - } - - /** - * Generated pattern matcher API of the queries.x_inv49_2 pattern, - * providing pattern-specific query methods. - * - *

    Use the pattern matcher on a given model via {@link #on(ViatraQueryEngine)}, - * e.g. in conjunction with {@link ViatraQueryEngine#on(QueryScope)}. - * - *

    Matches of the pattern will be represented as {@link Match}. - * - *

    Original source: - *

    -   * pattern x_inv49_2(iB: Dependent) {
    -   *     Dependent(iB);
    -   * }
    -   * 
    - * - * @see Match - * @see X_inv49_2 - * - */ - public static class Matcher extends BaseMatcher { - /** - * Initializes the pattern matcher within an existing VIATRA Query engine. - * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. - * - * @param engine the existing VIATRA Query engine in which this matcher will be created. - * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation - * - */ - public static X_inv49_2.Matcher on(final ViatraQueryEngine engine) { - // check if matcher already exists - Matcher matcher = engine.getExistingMatcher(querySpecification()); - if (matcher == null) { - matcher = (Matcher)engine.getMatcher(querySpecification()); - } - return matcher; - } - - /** - * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation - * @return an initialized matcher - * @noreference This method is for internal matcher initialization by the framework, do not call it manually. - * - */ - public static X_inv49_2.Matcher create() { - return new Matcher(); - } - - private static final int POSITION_IB = 0; - - private static final Logger LOGGER = ViatraQueryLoggingUtil.getLogger(X_inv49_2.Matcher.class); - - /** - * Initializes the pattern matcher within an existing VIATRA Query engine. - * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. - * - * @param engine the existing VIATRA Query engine in which this matcher will be created. - * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation - * - */ - private Matcher() { - super(querySpecification()); - } - - /** - * Returns the set of all matches of the pattern that conform to the given fixed values of some parameters. - * @param pIB the fixed value of pattern parameter iB, or null if not bound. - * @return matches represented as a Match object. - * - */ - public Collection getAllMatches(final Dependent pIB) { - return rawStreamAllMatches(new Object[]{pIB}).collect(Collectors.toSet()); - } - - /** - * Returns a stream of all matches of the pattern that conform to the given fixed values of some parameters. - *

    - * NOTE: It is important not to modify the source model while the stream is being processed. - * If the match set of the pattern changes during processing, the contents of the stream is undefined. - * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. - * @param pIB the fixed value of pattern parameter iB, or null if not bound. - * @return a stream of matches represented as a Match object. - * - */ - public Stream streamAllMatches(final Dependent pIB) { - return rawStreamAllMatches(new Object[]{pIB}); - } - - /** - * Returns an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. - * Neither determinism nor randomness of selection is guaranteed. - * @param pIB the fixed value of pattern parameter iB, or null if not bound. - * @return a match represented as a Match object, or null if no match is found. - * - */ - public Optional getOneArbitraryMatch(final Dependent pIB) { - return rawGetOneArbitraryMatch(new Object[]{pIB}); - } - - /** - * Indicates whether the given combination of specified pattern parameters constitute a valid pattern match, - * under any possible substitution of the unspecified parameters (if any). - * @param pIB the fixed value of pattern parameter iB, or null if not bound. - * @return true if the input is a valid (partial) match of the pattern. - * - */ - public boolean hasMatch(final Dependent pIB) { - return rawHasMatch(new Object[]{pIB}); - } - - /** - * Returns the number of all matches of the pattern that conform to the given fixed values of some parameters. - * @param pIB the fixed value of pattern parameter iB, or null if not bound. - * @return the number of pattern matches found. - * - */ - public int countMatches(final Dependent pIB) { - return rawCountMatches(new Object[]{pIB}); - } - - /** - * Executes the given processor on an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. - * Neither determinism nor randomness of selection is guaranteed. - * @param pIB the fixed value of pattern parameter iB, or null if not bound. - * @param processor the action that will process the selected match. - * @return true if the pattern has at least one match with the given parameter values, false if the processor was not invoked - * - */ - public boolean forOneArbitraryMatch(final Dependent pIB, final Consumer processor) { - return rawForOneArbitraryMatch(new Object[]{pIB}, processor); - } - - /** - * Returns a new (partial) match. - * This can be used e.g. to call the matcher with a partial match. - *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. - * @param pIB the fixed value of pattern parameter iB, or null if not bound. - * @return the (partial) match object. - * - */ - public X_inv49_2.Match newMatch(final Dependent pIB) { - return X_inv49_2.Match.newMatch(pIB); - } - - /** - * Retrieve the set of values that occur in matches for iB. - * @return the Set of all values or empty set if there are no matches - * - */ - protected Stream rawStreamAllValuesOfiB(final Object[] parameters) { - return rawStreamAllValues(POSITION_IB, parameters).map(Dependent.class::cast); - } - - /** - * Retrieve the set of values that occur in matches for iB. - * @return the Set of all values or empty set if there are no matches - * - */ - public Set getAllValuesOfiB() { - return rawStreamAllValuesOfiB(emptyArray()).collect(Collectors.toSet()); - } - - /** - * Retrieve the set of values that occur in matches for iB. - * @return the Set of all values or empty set if there are no matches - * - */ - public Stream streamAllValuesOfiB() { - return rawStreamAllValuesOfiB(emptyArray()); - } - - @Override - protected X_inv49_2.Match tupleToMatch(final Tuple t) { - try { - return X_inv49_2.Match.newMatch((Dependent) t.get(POSITION_IB)); - } catch(ClassCastException e) { - LOGGER.error("Element(s) in tuple not properly typed!",e); - return null; - } - } - - @Override - protected X_inv49_2.Match arrayToMatch(final Object[] match) { - try { - return X_inv49_2.Match.newMatch((Dependent) match[POSITION_IB]); - } catch(ClassCastException e) { - LOGGER.error("Element(s) in array not properly typed!",e); - return null; - } - } - - @Override - protected X_inv49_2.Match arrayToMatchMutable(final Object[] match) { - try { - return X_inv49_2.Match.newMutableMatch((Dependent) match[POSITION_IB]); - } catch(ClassCastException e) { - LOGGER.error("Element(s) in array not properly typed!",e); - return null; - } - } - - /** - * @return the singleton instance of the query specification of this pattern - * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded - * - */ - public static IQuerySpecification querySpecification() { - return X_inv49_2.instance(); - } - } - - private X_inv49_2() { - super(GeneratedPQuery.INSTANCE); - } - - /** - * @return the singleton instance of the query specification - * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded - * - */ - public static X_inv49_2 instance() { - try{ - return LazyHolder.INSTANCE; - } catch (ExceptionInInitializerError err) { - throw processInitializerError(err); - } - } - - @Override - protected X_inv49_2.Matcher instantiate(final ViatraQueryEngine engine) { - return X_inv49_2.Matcher.on(engine); - } - - @Override - public X_inv49_2.Matcher instantiate() { - return X_inv49_2.Matcher.create(); - } - - @Override - public X_inv49_2.Match newEmptyMatch() { - return X_inv49_2.Match.newEmptyMatch(); - } - - @Override - public X_inv49_2.Match newMatch(final Object... parameters) { - return X_inv49_2.Match.newMatch((Taxation.Dependent) parameters[0]); - } - - /** - * Inner class allowing the singleton instance of {@link X_inv49_2} to be created - * not at the class load time of the outer class, - * but rather at the first call to {@link X_inv49_2#instance()}. - * - *

    This workaround is required e.g. to support recursion. - * - */ - private static class LazyHolder { - private static final X_inv49_2 INSTANCE = new X_inv49_2(); - - /** - * Statically initializes the query specification after the field {@link #INSTANCE} is assigned. - * This initialization order is required to support indirect recursion. - * - *

    The static initializer is defined using a helper field to work around limitations of the code generator. - * - */ - private static final Object STATIC_INITIALIZER = ensureInitialized(); - - public static Object ensureInitialized() { - INSTANCE.ensureInitializedInternal(); - return null; - } - } - - private static class GeneratedPQuery extends BaseGeneratedEMFPQuery { - private static final X_inv49_2.GeneratedPQuery INSTANCE = new GeneratedPQuery(); - - private final PParameter parameter_iB = new PParameter("iB", "Taxation.Dependent", new EClassTransitiveInstancesKey((EClass)getClassifierLiteralSafe("http:///TaxCard.ecore", "Dependent")), PParameterDirection.INOUT); - - private final List parameters = Arrays.asList(parameter_iB); - - private GeneratedPQuery() { - super(PVisibility.PUBLIC); - } - - @Override - public String getFullyQualifiedName() { - return "queries.x_inv49_2"; - } - - @Override - public List getParameterNames() { - return Arrays.asList("iB"); - } - - @Override - public List getParameters() { - return parameters; - } - - @Override - public Set doGetContainedBodies() { - setEvaluationHints(new QueryEvaluationHint(null, QueryEvaluationHint.BackendRequirement.UNSPECIFIED)); - Set bodies = new LinkedHashSet<>(); - { - PBody body = new PBody(this); - PVariable var_iB = body.getOrCreateVariableByName("iB"); - new TypeConstraint(body, Tuples.flatTupleOf(var_iB), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Dependent"))); - body.setSymbolicParameters(Arrays.asList( - new ExportedParameter(body, var_iB, parameter_iB) - )); - // Dependent(iB) - new TypeConstraint(body, Tuples.flatTupleOf(var_iB), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http:///TaxCard.ecore", "Dependent"))); - bodies.add(body); - } - return bodies; - } - } -} diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src/queries/NewOCLFileX.ocl b/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src/queries/NewOCLFileX.ocl deleted file mode 100644 index 66ae728e..00000000 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src/queries/NewOCLFileX.ocl +++ /dev/null @@ -1,45 +0,0 @@ -import 'file:/Users/Aren Babikian/git/VIATRA-Attributes/case.study.a.model/model/Taxation.ecore' - -package Taxation - ---context Income inv inv8: ---if(not self.income_type.oclIsTypeOf(Employment_Income)) then ---self.details->forAll(d| d.distance = 0) ---else ---self.details->forAll(d| d.distance >= 0.0 and d.distance <= 100) ---endif --- ---context Legal_Union_Record inv inv490: ---self.individual_A.oclIsKindOf(Tax_Payer) --- ---context Legal_Union_Record inv inv491: ---self.individual_B->forAll(i | i.oclIsKindOf(Physical_Person) ) --- ---context Legal_Union_Record inv inv492: ---self.individual_B->forAll(i | not i.oclIsTypeOf(Dependent) ) --- ---context Legal_Union_Record inv inv493: ---self.individual_A <> self.individual_B --- ---context Tax_Payer inv inv13: --- self.addresses->exists( hab_add:Address | hab_add.oclIsTypeOf(Habitual_Address) = true and hab_add.country=Country::ZZ) ---implies --- self.oclIsTypeOf(Resident_Tax_Payer) - - context Income inv inv7: -let val:Real =self.details->asOrderedSet()->first().distance in -self.details->forAll(d: Income_Detail|d.distance = val) - ---context External_Allowance inv inv15: ---let child:Dependent = self.person in ---let h:Household = Household.allInstances()->select(children->includes(child))->asOrderedSet()->first() in ---let t1:Set(Physical_Person) = Set{h.parents.individual_A}->union(h.parents.individual_B)->select(oclIsKindOf(Tax_Payer)) in ---if(t1->size()=1) then ---self.reciver = t1->asOrderedSet()->first() ---else ---self.reciver = t1->asOrderedSet()->at(2) or self.reciver = t1->asOrderedSet()->at(1) ---endif - - - -endpackage \ No newline at end of file diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src/queries/case_study_A.vql b/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src/queries/case_study_A.vql deleted file mode 100644 index 5d46bf42..00000000 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src/queries/case_study_A.vql +++ /dev/null @@ -1,334 +0,0 @@ -package queries - -import "http:///TaxCard.ecore" - -//AttributeRemoved -> DF - -//inv1-External_Allowance.amount is a derived feature (TODOcheck) -//inv2-Tax_Card.income.taxPayer.taxesDue is a derived feature (TODOcheck) - -//inv3-multiplicity adjusted -@Constraint(message = "inv03", severity = "error", key = {dep}) -pattern inv03(dep : Dependent) { - find x_inv03_eligAll(dep); - neg find x_inv03_hasAll(dep); -} or { - Dependent.birth_year(dep, by); - check(2018-by > 21); - Dependent.continued_studies(dep, false); - Dependent.allowances(dep, _); -} -pattern x_inv03_eligAll(dep : Dependent) { - Dependent.birth_year(dep, by); - check(2018-by <= 21); -} or { - Dependent.continued_studies(dep, true); -} -pattern x_inv03_hasAll(dep : Dependent) { - Dependent.allowances(dep, _); -} - -//inv5 - oclIsTypeOf - handled here -@Constraint(message = "inv05", severity = "error", key = {inc}) -pattern inv05(inc : Income) { - //income_type: None - neg find x_inv08_noType(inc); - Income.details.worked_days(inc, wd); - check(wd != 0); -} or { - //income_type: Not Employment_Income - Income.income_type(inc, type); - neg find x_inv08_notEI(type); - Income.details.worked_days(inc, wd); - check(wd != 0); -} or { - //income_type: Employment Income - Income.income_type(inc, type); - Employment_Income(type); - find x_inv05_inRange(inc); -} -pattern x_inv05_inRange(inc : Income) { - Income.details.worked_days(inc, wd); - check(wd < 1); -} or { - Income.details.worked_days(inc, wd); - check(wd > 25); -} - -//inv6-Does not make sens, but directly from OCL -//first part of or from definition of getAge() -@Constraint(message = "inv06", severity = "error", key = {tp}) -pattern inv06(tp : Tax_Payer) { - Tax_Payer.dependents(tp, _); - Tax_Payer.birth_year(tp, TPBy); - check(2018 - TPBy > 2018-16); -} or { - Tax_Payer.birth_year(tp, TPBy); - Tax_Payer.dependents(tp, dep); - Dependent.birth_year(dep, DepBy); - check(2018-DepBy <= 2018-TPBy-16); -} - -//inv7-OrderedSet -@Constraint(message = "inv07", severity = "error", key = {inc}) -pattern inv07(inc : Income) { - Income.details.distance(inc, d1); - Income.details.distance(inc, d2); - check(d1 != d2);//compare values -} - -//user_complete_details-AttributeRemoved - -//inv8 - oclIsTypeOf - handled here -@Constraint(message = "inv08", severity = "error", key = {inc}) -pattern inv08(inc : Income) { - //income_type: None - neg find x_inv08_noType(inc); - Income.details.distance(inc, dist); - check(dist != 0); -} or { - //income_type: Not Employment_Income - Income.income_type(inc, type); - neg find x_inv08_notEI(type); - Income.details.distance(inc, dist); - check(dist != 0); -} or { - //income_type: Employment Income - Income.income_type(inc, type); - Employment_Income(type); - find x_inv08_inRange(inc); -} -pattern x_inv08_notEI(type : Employment_Income) { - Employment_Income(type); -} -pattern x_inv08_noType(inc : Income) { - Income.income_type(inc, _); -} -pattern x_inv08_inRange(inc : Income) { - Income.details.distance(inc, dist); - check(dist < 0); -} or { - Income.details.distance(inc, dist); - check(dist > 100); -} -//inv9-DerivedFeature - -//inv10-Ordered Sets -@Constraint(message = "inv10", severity = "error", key = {inc}) -pattern inv10(inc : Income) { - Income.details.amount(inc, a1); - Income.details.amount(inc, a2); - check(a1 != a2);//compare values -} - -//inv11-attributes-handled by multiplicity -@Constraint(message = "inv11", severity = "error", key = {exp}) -pattern inv11(exp : Expense) { - find x_inv11_incOver100(exp); - find x_inv11_incNotOver100(exp); -} -pattern x_inv11_incOver100(exp : Expense) { - Expense.income.income_amount(exp, incVal); - check(incVal / 2 > 50); - -} or { - Expense.declared_amount(exp, decl); - check(decl != 50); -} -pattern x_inv11_incNotOver100(exp : Expense) { - Expense.income.income_amount(exp, incVal); - check(incVal / 2 <= 50); -} or { - Expense.declared_amount(exp, decl); - check(decl < 50); -} or { - Expense.income.income_amount(exp, incVal); - Expense.declared_amount(exp, decl); - check(decl > incVal/2); -} - -//inv12 -//exists - handled logically -@Constraint(message = "inv12", severity = "error", key = {tp}) -pattern inv12(tp : Tax_Payer) { - Tax_Payer.addresses(tp, hab_add); - Habitual_Address(hab_add); - neg find x_inv12_notZZ(hab_add); - Tax_Payer.incomes(tp, inc); - Local_Income(inc); - neg find x_inv12_notNonRes(tp); -} -pattern x_inv12_notNonRes(tp : Non_Resident_Tax_Payer) { - Non_Resident_Tax_Payer(tp); -} -pattern x_inv12_notZZ(hab_add : Habitual_Address) { - Address.country(hab_add, ::ZZ); -} - -//inv13 - Added new containment rel Phys_Pers->Address -//exists - handled logically -@Constraint(message = "inv13", severity = "error", key = {tp}) -pattern inv13(tp : Tax_Payer) { - Tax_Payer.addresses(tp, hab_add); - Habitual_Address(hab_add); - Address.country(hab_add, ::ZZ); - neg find x_inv13(tp); -} -pattern x_inv13(tp : Resident_Tax_Payer) { - Resident_Tax_Payer(tp); -} - -//inv14-MultiplicityChanged - -//inv15-Ordered Sets in assignment if block -//ERROR if no household object -@Constraint(message = "inv15", severity = "error", key = {ea}) -pattern inv15(ea : External_Allowance) { - neg find x_inv15(ea); -} -pattern x_inv15(ea : External_Allowance) { - External_Allowance.person(ea, child); - Household.children(h, child);//only one due to multiplicity - Household.parents.individual_A(h, iA); - Tax_Payer(iA); - External_Allowance.reciver(ea, iA); -} or { - External_Allowance.person(ea, child); - Household.children(h, child);//only one due to multiplicity - Household.parents.individual_B(h, iB); - Tax_Payer(iB); - External_Allowance.reciver(ea, iB); -} - -//inv16-Tax_Card.tax_card_type is a derived feature - -//inv17-attribute-handled by multiplicity -@Constraint(message = "inv17", severity = "error", key = {lur}) -pattern inv17(lur : Legal_Union_Record) { - Legal_Union_Record.start_year(lur, sy); - check(sy < 1950); -} or { - Legal_Union_Record.start_year(lur, sy); - check(sy > 2018); -} - -//inv18-MultiplicityChecked -//inv19-MultiplicityChecked - -//inv20-Useless constraint since both edges are containment (TODOCheck) -//OclIsUndefined-Handled by multiplicity -@Constraint(message = "inv20", severity = "error", key = {lur}) -pattern inv20(lur : Legal_Union_Record) { - Legal_Union_Record.individual_A(lur, iA); - Legal_Union_Record.individual_B(lur, iB); - iA == iB; -} -//inv21-MultiplicityChecked -//inv22-MultiplicityChecked -//inv23-MultiplicityChecked -//inv24-MultiplicityChecked -//inv25-MultiplicityChecked -//inv26-MultiplicityChanged -//inv27-dupOfInv24 -//inv28-dubOfInv23 -//inv29-MultiplicityChanged -//inv30-AttributeRemoved -//inv31-AttributeRemoved -//inv32-AttributeRemoved - -//inv33-attribute-handled by multiplicity -@Constraint(message = "inv33", severity = "error", key = {p}) -pattern inv33(p : Physical_Person) { - Physical_Person.birth_year(p, by); - check(2018-by < 0); -} or { - Physical_Person.birth_year(p, by); - check(2018-by > 100); -} - -//inv34-attribute-handled by multiplicity -@Constraint(message = "inv34", severity = "error", key = {p}) -pattern inv34(p : Physical_Person) { - Physical_Person.birth_month(p, birthMonth); - check(birthMonth < 1); -} or { - Physical_Person.birth_month(p, birthMonth); - check(birthMonth > 12); -} - -//inv35-attribute-handled by multiplicity -@Constraint(message = "inv35", severity = "error", key = {p}) -pattern inv35(p : Physical_Person) { - Physical_Person.birth_day(p, birthDay); - check(birthDay < 1); -} or { - Physical_Person.birth_day(p, birthDay); - check(birthDay > 28); -} - -//inv36-AttributeRemoved -//inv37-AttributeRemoved -//inv38-AttributeRemoved -//inv39-AttributeRemoved -//inv40-AttributeRemoved -//inv41-AttributeRemoved -//inv42-AttributeRemoved -//inv43-AttributeRemoved -//inv44-AttributeRemoved -//inv45-AttributeRemoved -//inv46-AttributeRemoved - -//inv47-attributes-handled by multiplicity -@Constraint(message = "inv47", severity = "error", key = {lur}) -pattern inv47(lur : Legal_Union_Record) { - Legal_Union_Record.end_year(lur, endY); - Legal_Union_Record.start_year(lur, startY); - neg find x_inv47(lur); - check(startY >= endY); -} -pattern x_inv47(lur : Legal_Union_Record) { - Legal_Union_Record.separation_cause(lur, ::NONE); - Legal_Union_Record.end_year(lur, -1); -} - -//inv48-attributes-handled by multiplicity -@Constraint(message = "inv48", severity = "error", key = {p}) -pattern inv48(p : Physical_Person) { - neg find x_inv48_notDis(p); - neg find x_inv48_Dis(p); -} -pattern x_inv48_notDis(p : Physical_Person) { - Physical_Person.disability_type(p, ::NONE); - Physical_Person.disability_percentage(p, 0.0); -} -pattern x_inv48_Dis(p : Physical_Person) { - neg find x_inv48_3(p); - Physical_Person.disability_percentage(p, disPer); - check(disPer > 0.0); - check(disPer <= 1.0); -} -pattern x_inv48_3(p : Physical_Person) { - Physical_Person.disability_type(p, ::NONE); -} - -//inv49-OclKindOf-handled by multiplicity -@Constraint(message = "inv49", severity = "error", key = {lur}) -pattern inv49(lur : Legal_Union_Record) { - neg find x_inv49_1(lur); -} -pattern x_inv49_1(lur : Legal_Union_Record) { - Legal_Union_Record.individual_A(lur, iA); - Legal_Union_Record.individual_B(lur, iB); - Tax_Payer(iA); - Physical_Person(iB); - neg find x_inv49_2(iB); - iA != iB; -} -pattern x_inv49_2(iB: Dependent) { - Dependent(iB); -} - -//inv50-MultiplicityChecked -//inv51-MultiplicityChecked -//inv52-MultiplicityChecked -//inv53-MultiplicityChecked \ No newline at end of file diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src/run/RunGenerator.xtend b/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src/run/RunGenerator.xtend deleted file mode 100644 index 8bd70919..00000000 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/src/run/RunGenerator.xtend +++ /dev/null @@ -1,151 +0,0 @@ -package run - -import hu.bme.mit.inf.dslreasoner.ecore2logic.Ecore2Logic -import hu.bme.mit.inf.dslreasoner.ecore2logic.Ecore2LogicConfiguration -import hu.bme.mit.inf.dslreasoner.ecore2logic.Ecore2Logic_Trace -import hu.bme.mit.inf.dslreasoner.ecore2logic.EcoreMetamodelDescriptor -import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Type -import hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicResult -import hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.ModelResultImpl -import hu.bme.mit.inf.dslreasoner.logic2ecore.Logic2Ecore -import hu.bme.mit.inf.dslreasoner.viatra2logic.Viatra2Logic -import hu.bme.mit.inf.dslreasoner.viatra2logic.Viatra2LogicConfiguration -import hu.bme.mit.inf.dslreasoner.viatra2logic.ViatraQuerySetDescriptor -import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretation2logic.InstanceModel2Logic -import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.ViatraReasoner -import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.ViatraReasonerConfiguration -import hu.bme.mit.inf.dslreasoner.workspace.FileSystemWorkspace -import hu.bme.mit.inf.dslreasoner.workspace.ReasonerWorkspace -import java.io.PrintWriter -import java.text.SimpleDateFormat -import java.util.Date -import java.util.HashMap -import java.util.List -import java.util.Map -import org.eclipse.emf.ecore.EAttribute -import org.eclipse.emf.ecore.EClass -import org.eclipse.emf.ecore.EEnum -import org.eclipse.emf.ecore.EEnumLiteral -import org.eclipse.emf.ecore.EObject -import org.eclipse.emf.ecore.EPackage -import org.eclipse.emf.ecore.EReference -import org.eclipse.emf.ecore.resource.Resource -import org.eclipse.emf.ecore.xmi.impl.XMIResourceFactoryImpl -import org.eclipse.viatra.query.runtime.api.IQueryGroup -import Taxation.TaxationPackage - -class GenerateScenarios { - def static void main(String[] args) { - val Ecore2Logic ecore2Logic = new Ecore2Logic -// val Logic2Ecore logic2Ecore = new Logic2Ecore(ecore2Logic) -// val Viatra2Logic viatra2Logic = new Viatra2Logic(ecore2Logic) -// val InstanceModel2Logic instanceModel2Logic = new InstanceModel2Logic - // Workspace setup - val Date date = new Date(System.currentTimeMillis) - val SimpleDateFormat format = new SimpleDateFormat("dd-HHmm"); - val formattedDate = format.format(date) - - val workspace = new FileSystemWorkspace('''output/''' + formattedDate + '''/''', "") - workspace.initAndClear - - // Logicproblem writing setup - val reg = Resource.Factory.Registry.INSTANCE - val map = reg.extensionToFactoryMap - map.put("logicproblem", new XMIResourceFactoryImpl) - - println("Input and output workspaces are created") - - print(TaxationPackage.eINSTANCE.getEClassifiers.filter(EClass).toList.get(0)) - - val metamodel = loadMetamodel(TaxationPackage.eINSTANCE) -// val partialModel = loadPartialModel(inputs, "yakindu/Yakindu.xmi") -// val queries = loadQueries(metamodel, Patterns.instance) - println("DSL loaded") - - val SIZE = 10 - var REPS = 1 - - val RUNTIME = 300 - - val modelGenerationProblem = ecore2Logic.transformMetamodel(metamodel, new Ecore2LogicConfiguration()) -// var modelExtensionProblem = instanceModel2Logic.transform(modelGenerationProblem, partialModel) -// var validModelExtensionProblem = viatra2Logic.transformQueries(queries, modelExtensionProblem, -// new Viatra2LogicConfiguration) - var problem = modelGenerationProblem.output - workspace.writeModel(problem, "scenario.logicproblem") - println("Problem created") - - for (var i = 0; i <= REPS; i++) { - - var ViatraReasoner reasoner = new ViatraReasoner - - // ///////////////////////////////////////////////////// - // Define Config File - val solverConfig = new ViatraReasonerConfiguration => [ - // add configuration things, in config file first -// it.documentationLevel = DocumentationLevel::FULL -// it.iteration = iter - it.runtimeLimit = RUNTIME - it.typeScopes.maxNewElements = SIZE - it.typeScopes.minNewElements = SIZE - ] - - var solution = reasoner.solve(problem, solverConfig, workspace) - print("Problem Solved") - - // Run Garbage Collector - val Runtime r = Runtime.getRuntime(); - r.gc(); - r.gc(); - r.gc(); - Thread.sleep(3000) - } - - } - - def static Map getTypeMap(Map classMap, EcoreMetamodelDescriptor metamodel, - Ecore2Logic e2l, Ecore2Logic_Trace trace) { - val typeMap = new HashMap - val listMap = metamodel.classes.toMap[s|s.name] - - for (Class elem : classMap.keySet) { - typeMap.put(e2l.TypeofEClass( - trace, - listMap.get(elem.simpleName) - ), classMap.get(elem)) - } - return typeMap - } - - def static loadMetamodel(EPackage pckg) { - val List classes = pckg.getEClassifiers.filter(EClass).toList - val List enums = pckg.getEClassifiers.filter(EEnum).toList - val List literals = enums.map[getELiterals].flatten.toList - val List references = classes.map[getEReferences].flatten.toList - val List attributes = classes.map[getEAttributes].flatten.toList - return new EcoreMetamodelDescriptor(classes, #{}, false, enums, literals, references, attributes) - } - - def static loadPartialModel(ReasonerWorkspace inputs, String path) { - Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap().put("*", new XMIResourceFactoryImpl()) - inputs.readModel(EObject, path).eResource.contents -// inputs.readModel(EObject,"FamInstance.xmi").eResource.allContents.toList - } - - def static loadQueries(EcoreMetamodelDescriptor metamodel, IQueryGroup i) { - val patterns = i.specifications.toList - val wfPatterns = patterns.filter[it.allAnnotations.exists[it.name == "Constraint"]].toSet - val derivedFeatures = emptyMap - // NO DERIVED FEATURES -// val derivedFeatures = new LinkedHashMap -// derivedFeatures.put(i.type,metamodel.attributes.filter[it.name == "type"].head) -// derivedFeatures.put(i.model,metamodel.references.filter[it.name == "model"].head) - val res = new ViatraQuerySetDescriptor( - patterns, - wfPatterns, - derivedFeatures - ) - return res - } - -} diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/xtend-gen/run/.RunGenerator.xtendbin b/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/xtend-gen/run/.RunGenerator.xtendbin deleted file mode 100644 index e2021169..00000000 Binary files a/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/xtend-gen/run/.RunGenerator.xtendbin and /dev/null differ diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/xtend-gen/run/.gitignore b/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/xtend-gen/run/.gitignore deleted file mode 100644 index 8e503b4a..00000000 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/xtend-gen/run/.gitignore +++ /dev/null @@ -1,4 +0,0 @@ -/.GenerateScenarios.java._trace -/.checkQueries.java._trace -/.RunGenerator.xtendbin -/GenerateScenarios.java diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/xtend-gen/run/GenerateScenarios.java b/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/xtend-gen/run/GenerateScenarios.java deleted file mode 100644 index 7ec45124..00000000 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.queries/xtend-gen/run/GenerateScenarios.java +++ /dev/null @@ -1,165 +0,0 @@ -package run; - -import Taxation.TaxationPackage; -import com.google.common.base.Objects; -import com.google.common.collect.Iterables; -import hu.bme.mit.inf.dslreasoner.ecore2logic.Ecore2Logic; -import hu.bme.mit.inf.dslreasoner.ecore2logic.Ecore2LogicConfiguration; -import hu.bme.mit.inf.dslreasoner.ecore2logic.Ecore2Logic_Trace; -import hu.bme.mit.inf.dslreasoner.ecore2logic.EcoreMetamodelDescriptor; -import hu.bme.mit.inf.dslreasoner.logic.model.builder.TracedOutput; -import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Type; -import hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicProblem; -import hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicResult; -import hu.bme.mit.inf.dslreasoner.viatra2logic.ViatraQuerySetDescriptor; -import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.ViatraReasoner; -import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.ViatraReasonerConfiguration; -import hu.bme.mit.inf.dslreasoner.workspace.FileSystemWorkspace; -import hu.bme.mit.inf.dslreasoner.workspace.ReasonerWorkspace; -import java.text.SimpleDateFormat; -import java.util.Collections; -import java.util.Date; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import java.util.Set; -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.ecore.EAttribute; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EEnum; -import org.eclipse.emf.ecore.EEnumLiteral; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.emf.ecore.EReference; -import org.eclipse.emf.ecore.EStructuralFeature; -import org.eclipse.emf.ecore.resource.Resource; -import org.eclipse.emf.ecore.xmi.impl.XMIResourceFactoryImpl; -import org.eclipse.viatra.query.runtime.api.IQueryGroup; -import org.eclipse.viatra.query.runtime.api.IQuerySpecification; -import org.eclipse.viatra.query.runtime.matchers.psystem.annotations.PAnnotation; -import org.eclipse.xtend2.lib.StringConcatenation; -import org.eclipse.xtext.xbase.lib.CollectionLiterals; -import org.eclipse.xtext.xbase.lib.Exceptions; -import org.eclipse.xtext.xbase.lib.Functions.Function1; -import org.eclipse.xtext.xbase.lib.InputOutput; -import org.eclipse.xtext.xbase.lib.IterableExtensions; -import org.eclipse.xtext.xbase.lib.ListExtensions; -import org.eclipse.xtext.xbase.lib.ObjectExtensions; -import org.eclipse.xtext.xbase.lib.Procedures.Procedure1; - -@SuppressWarnings("all") -public class GenerateScenarios { - public static void main(final String[] args) { - try { - final Ecore2Logic ecore2Logic = new Ecore2Logic(); - long _currentTimeMillis = System.currentTimeMillis(); - final Date date = new Date(_currentTimeMillis); - final SimpleDateFormat format = new SimpleDateFormat("dd-HHmm"); - final String formattedDate = format.format(date); - StringConcatenation _builder = new StringConcatenation(); - _builder.append("output/"); - String _plus = (_builder.toString() + formattedDate); - StringConcatenation _builder_1 = new StringConcatenation(); - _builder_1.append("/"); - String _plus_1 = (_plus + _builder_1); - final FileSystemWorkspace workspace = new FileSystemWorkspace(_plus_1, ""); - workspace.initAndClear(); - final Resource.Factory.Registry reg = Resource.Factory.Registry.INSTANCE; - final Map map = reg.getExtensionToFactoryMap(); - XMIResourceFactoryImpl _xMIResourceFactoryImpl = new XMIResourceFactoryImpl(); - map.put("logicproblem", _xMIResourceFactoryImpl); - InputOutput.println("Input and output workspaces are created"); - InputOutput.print(IterableExtensions.toList(Iterables.filter(TaxationPackage.eINSTANCE.getEClassifiers(), EClass.class)).get(0)); - final EcoreMetamodelDescriptor metamodel = GenerateScenarios.loadMetamodel(TaxationPackage.eINSTANCE); - InputOutput.println("DSL loaded"); - final int SIZE = 10; - int REPS = 1; - final int RUNTIME = 300; - Ecore2LogicConfiguration _ecore2LogicConfiguration = new Ecore2LogicConfiguration(); - final TracedOutput modelGenerationProblem = ecore2Logic.transformMetamodel(metamodel, _ecore2LogicConfiguration); - LogicProblem problem = modelGenerationProblem.getOutput(); - workspace.writeModel(problem, "scenario.logicproblem"); - InputOutput.println("Problem created"); - for (int i = 0; (i <= REPS); i++) { - { - ViatraReasoner reasoner = new ViatraReasoner(); - ViatraReasonerConfiguration _viatraReasonerConfiguration = new ViatraReasonerConfiguration(); - final Procedure1 _function = (ViatraReasonerConfiguration it) -> { - it.runtimeLimit = RUNTIME; - it.typeScopes.maxNewElements = SIZE; - it.typeScopes.minNewElements = SIZE; - }; - final ViatraReasonerConfiguration solverConfig = ObjectExtensions.operator_doubleArrow(_viatraReasonerConfiguration, _function); - LogicResult solution = reasoner.solve(problem, solverConfig, workspace); - InputOutput.print("Problem Solved"); - final Runtime r = Runtime.getRuntime(); - r.gc(); - r.gc(); - r.gc(); - Thread.sleep(3000); - } - } - } catch (Throwable _e) { - throw Exceptions.sneakyThrow(_e); - } - } - - public static Map getTypeMap(final Map classMap, final EcoreMetamodelDescriptor metamodel, final Ecore2Logic e2l, final Ecore2Logic_Trace trace) { - final HashMap typeMap = new HashMap(); - final Function1 _function = (EClass s) -> { - return s.getName(); - }; - final Map listMap = IterableExtensions.toMap(metamodel.getClasses(), _function); - Set _keySet = classMap.keySet(); - for (final Class elem : _keySet) { - typeMap.put( - e2l.TypeofEClass(trace, - listMap.get(elem.getSimpleName())), classMap.get(elem)); - } - return typeMap; - } - - public static EcoreMetamodelDescriptor loadMetamodel(final EPackage pckg) { - final List classes = IterableExtensions.toList(Iterables.filter(pckg.getEClassifiers(), EClass.class)); - final List enums = IterableExtensions.toList(Iterables.filter(pckg.getEClassifiers(), EEnum.class)); - final Function1> _function = (EEnum it) -> { - return it.getELiterals(); - }; - final List literals = IterableExtensions.toList(Iterables.concat(ListExtensions.>map(enums, _function))); - final Function1> _function_1 = (EClass it) -> { - return it.getEReferences(); - }; - final List references = IterableExtensions.toList(Iterables.concat(ListExtensions.>map(classes, _function_1))); - final Function1> _function_2 = (EClass it) -> { - return it.getEAttributes(); - }; - final List attributes = IterableExtensions.toList(Iterables.concat(ListExtensions.>map(classes, _function_2))); - return new EcoreMetamodelDescriptor(classes, Collections.unmodifiableSet(CollectionLiterals.newHashSet()), false, enums, literals, references, attributes); - } - - public static EList loadPartialModel(final ReasonerWorkspace inputs, final String path) { - EList _xblockexpression = null; - { - Map _extensionToFactoryMap = Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap(); - XMIResourceFactoryImpl _xMIResourceFactoryImpl = new XMIResourceFactoryImpl(); - _extensionToFactoryMap.put("*", _xMIResourceFactoryImpl); - _xblockexpression = inputs.readModel(EObject.class, path).eResource().getContents(); - } - return _xblockexpression; - } - - public static ViatraQuerySetDescriptor loadQueries(final EcoreMetamodelDescriptor metamodel, final IQueryGroup i) { - final List> patterns = IterableExtensions.>toList(i.getSpecifications()); - final Function1, Boolean> _function = (IQuerySpecification it) -> { - final Function1 _function_1 = (PAnnotation it_1) -> { - String _name = it_1.getName(); - return Boolean.valueOf(Objects.equal(_name, "Constraint")); - }; - return Boolean.valueOf(IterableExtensions.exists(it.getAllAnnotations(), _function_1)); - }; - final Set> wfPatterns = IterableExtensions.>toSet(IterableExtensions.>filter(patterns, _function)); - final Map, EStructuralFeature> derivedFeatures = CollectionLiterals., EStructuralFeature>emptyMap(); - final ViatraQuerySetDescriptor res = new ViatraQuerySetDescriptor(patterns, wfPatterns, derivedFeatures); - return res; - } -} diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/.classpath b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/.classpath new file mode 100644 index 00000000..29ba3981 --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/.classpath @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/.project b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/.project new file mode 100644 index 00000000..9080c4bb --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/.project @@ -0,0 +1,62 @@ + + + case.study.pledge.run + + + + + + org.eclipse.ocl.pivot.ui.oclbuilder + + + disabledExtensions + *,essentialocl + + + disabledPaths + bin/**,target/** + + + enabledExtensions + ecore,ocl,oclinecore,oclstdlib,uml + + + enabledPaths + ** + + + + + org.eclipse.xtext.ui.shared.xtextBuilder + + + + + org.eclipse.viatra.query.tooling.ui.projectbuilder + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.pde.ManifestBuilder + + + + + org.eclipse.pde.SchemaBuilder + + + + + + org.eclipse.pde.PluginNature + org.eclipse.jdt.core.javanature + org.eclipse.xtext.ui.shared.xtextNature + org.eclipse.viatra.query.projectnature + org.eclipse.ocl.pivot.ui.oclnature + + diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/.settings/org.eclipse.core.resources.prefs b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/.settings/org.eclipse.core.resources.prefs new file mode 100644 index 00000000..4824b802 --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/.settings/org.eclipse.core.resources.prefs @@ -0,0 +1,2 @@ +eclipse.preferences.version=1 +encoding/=UTF-8 diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/.settings/org.eclipse.jdt.core.prefs b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 00000000..295926d9 --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,7 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8 +org.eclipse.jdt.core.compiler.compliance=1.8 +org.eclipse.jdt.core.compiler.problem.assertIdentifier=error +org.eclipse.jdt.core.compiler.problem.enumIdentifier=error +org.eclipse.jdt.core.compiler.source=1.8 diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/.settings/org.eclipse.pde.core.prefs b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/.settings/org.eclipse.pde.core.prefs new file mode 100644 index 00000000..13325c95 --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/.settings/org.eclipse.pde.core.prefs @@ -0,0 +1,3 @@ +eclipse.preferences.version=1 +pluginProject.equinox=false +resolve.requirebundle=false diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/META-INF/MANIFEST.MF b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/META-INF/MANIFEST.MF new file mode 100644 index 00000000..e616e6c1 --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/META-INF/MANIFEST.MF @@ -0,0 +1,37 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: case.study.pledge.run +Bundle-SymbolicName: case.study.pledge.run;singleton:=true +Bundle-Version: 0.0.1.qualifier +Export-Package: queries +Require-Bundle: org.eclipse.emf.ecore, + org.eclipse.viatra.query.runtime, + org.eclipse.viatra.query.runtime.rete, + org.eclipse.viatra.query.runtime.localsearch, + org.eclipse.viatra.query.patternlanguage.emf;bundle-version="2.3.1", + org.eclipse.viatra.addon.querybasedfeatures.runtime;bundle-version="2.3.0", + org.eclipse.core.runtime;bundle-version="3.17.0", + com.google.guava, + com.google.inject;bundle-version="3.0.0", + org.eclipse.xtext.xbase.lib, + org.eclipse.xtend.lib;bundle-version="2.21.0", + org.eclipse.xtend.lib.macro;bundle-version="2.21.0", + org.eclipse.collections;bundle-version="10.1.0", + org.eclipse.emf;bundle-version="2.8.0", + org.eclipse.emf.codegen;bundle-version="2.19.0", + org.eclipse.emf.codegen.ecore;bundle-version="2.21.0", + org.eclipse.emf.ecore.xmi;bundle-version="2.16.0", + hu.bme.mit.inf.dslreasoner.ecore2logic;bundle-version="1.0.0", + hu.bme.mit.inf.dslreasoner.logic.model;bundle-version="1.0.0", + hu.bme.mit.inf.dslreasoner.logic2ecore;bundle-version="1.0.0", + hu.bme.mit.inf.dslreasoner.viatra2logic;bundle-version="1.0.0", + hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatraquery;bundle-version="1.0.0", + hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage;bundle-version="1.0.0", + hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner;bundle-version="1.0.0", + hu.bme.mit.inf.dslreasoner.visualisation;bundle-version="1.0.0", + case.study.familyTree.model;bundle-version="1.0.0", + case.study.familyTree.run;bundle-version="0.0.1", + case.study.pledge.model;bundle-version="1.0.0" +Bundle-RequiredExecutionEnvironment: JavaSE-1.8 +Import-Package: org.apache.log4j +Automatic-Module-Name: casw.study.pledge.run diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/bin/.gitignore b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/bin/.gitignore new file mode 100644 index 00000000..3d70f0da --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/bin/.gitignore @@ -0,0 +1,2 @@ +/queries/ +/run/ diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/build.properties b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/build.properties new file mode 100644 index 00000000..88d3713e --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/build.properties @@ -0,0 +1,6 @@ +bin.includes = META-INF/,\ + .,\ + plugin.xml +source.. = src/,\ + src-gen/ +output.. = bin/ diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/inputs/Household.xmi b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/inputs/Household.xmi new file mode 100644 index 00000000..a38fc9d7 --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/inputs/Household.xmi @@ -0,0 +1,3 @@ + + diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/inputs/Resident_Tax_Payer.xmi b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/inputs/Resident_Tax_Payer.xmi new file mode 100644 index 00000000..8a1a2c56 --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/inputs/Resident_Tax_Payer.xmi @@ -0,0 +1,3 @@ + + diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/ocl/queries.ocl b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/ocl/queries.ocl new file mode 100644 index 00000000..de770240 --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/ocl/queries.ocl @@ -0,0 +1,14 @@ +import 'file:/Users/Aren Babikian/git/VIATRA-Attributes/original.PLEDGE.case.studies/model/CD_Case_A.uml' +--e.g., import 'file:/Users/User_X/CD_Case_A.uml' + +package Taxation + +context Income inv x: + let involved_details:Set(Income_Detail)=self.details->select(i:Income_Detail| i.is_worked=true) in + involved_details.amount->sum() + +context Expense inv inv11: +let max:Real = if((self.income.income_amount / 2)>50) then self.income.income_amount / 2 else 50 endif in +self.declared_amount >= 50 and self.declared_amount <= max + +endpackage \ No newline at end of file diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1503/problem.logicproblem b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1503/problem.logicproblem new file mode 100644 index 00000000..eaf86353 --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1503/problem.logicproblem @@ -0,0 +1,151 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1503/solution0.gml b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1503/solution0.gml new file mode 100644 index 00000000..1916581b --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1503/solution0.gml @@ -0,0 +1,1081 @@ +graph +[ + node + [ + id 0 + graphics + [ + w 41.800000000000004 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "true" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 1 + graphics + [ + w 50.6 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "false" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 2 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "0" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 3 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "1" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 4 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "2" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 5 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "3" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 6 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "4" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 7 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "5" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 8 + graphics + [ + w 138.60000000000002 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + FamilyTree class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 9 + graphics + [ + w 107.80000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Member class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 10 + graphics + [ + w 107.80000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Member class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 11 + graphics + [ + w 107.80000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Member class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 12 + graphics + [ + w 107.80000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Member class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 13 + graphics + [ + w 107.80000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Member class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 14 + graphics + [ + w 112.2 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "New Integers" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 15 + graphics + [ + w 85.80000000000001 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "New Reals" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 16 + graphics + [ + w 103.4 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "New Strings" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 17 + graphics + [ + w 103.4 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "New Objects" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + edge + [ + source 8 + target 9 + graphics + [ + fill "#000000" + width 3 + targetArrow "standard" + ] + LabelGraphics + [ + text "members reference FamilyTree" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 8 + target 10 + graphics + [ + fill "#000000" + width 3 + targetArrow "standard" + ] + LabelGraphics + [ + text "members reference FamilyTree" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 8 + target 11 + graphics + [ + fill "#000000" + width 3 + targetArrow "standard" + ] + LabelGraphics + [ + text "members reference FamilyTree" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 8 + target 12 + graphics + [ + fill "#000000" + width 3 + targetArrow "standard" + ] + LabelGraphics + [ + text "members reference FamilyTree" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 8 + target 13 + graphics + [ + fill "#000000" + width 3 + targetArrow "standard" + ] + LabelGraphics + [ + text "members reference FamilyTree" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 11 + target 9 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 9 + target 10 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 10 + target 9 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 10 + target 12 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 11 + target 12 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 11 + target 10 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 12 + target 11 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 9 + target 11 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 10 + target 9 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 9 + target 10 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 12 + target 10 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 12 + target 11 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 10 + target 11 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 11 + target 12 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 9 + target 6 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "age attribute Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 10 + target 6 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "age attribute Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 11 + target 5 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "age attribute Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 12 + target 6 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "age attribute Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] +] + diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1503/solution0.png b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1503/solution0.png new file mode 100644 index 00000000..20583143 Binary files /dev/null and b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1503/solution0.png differ diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1503/solution0.xmi b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1503/solution0.xmi new file mode 100644 index 00000000..6e6e5c9a --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1503/solution0.xmi @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1504/problem.logicproblem b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1504/problem.logicproblem new file mode 100644 index 00000000..eaf86353 --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1504/problem.logicproblem @@ -0,0 +1,151 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1504/solution0.gml b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1504/solution0.gml new file mode 100644 index 00000000..77c8bce5 --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1504/solution0.gml @@ -0,0 +1,1081 @@ +graph +[ + node + [ + id 0 + graphics + [ + w 41.800000000000004 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "true" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 1 + graphics + [ + w 50.6 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "false" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 2 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "0" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 3 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "1" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 4 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "2" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 5 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "3" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 6 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "4" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 7 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "5" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 8 + graphics + [ + w 138.60000000000002 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + FamilyTree class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 9 + graphics + [ + w 107.80000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Member class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 10 + graphics + [ + w 107.80000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Member class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 11 + graphics + [ + w 107.80000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Member class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 12 + graphics + [ + w 107.80000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Member class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 13 + graphics + [ + w 107.80000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Member class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 14 + graphics + [ + w 112.2 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "New Integers" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 15 + graphics + [ + w 85.80000000000001 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "New Reals" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 16 + graphics + [ + w 103.4 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "New Strings" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 17 + graphics + [ + w 103.4 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "New Objects" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + edge + [ + source 8 + target 9 + graphics + [ + fill "#000000" + width 3 + targetArrow "standard" + ] + LabelGraphics + [ + text "members reference FamilyTree" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 8 + target 10 + graphics + [ + fill "#000000" + width 3 + targetArrow "standard" + ] + LabelGraphics + [ + text "members reference FamilyTree" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 8 + target 11 + graphics + [ + fill "#000000" + width 3 + targetArrow "standard" + ] + LabelGraphics + [ + text "members reference FamilyTree" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 8 + target 12 + graphics + [ + fill "#000000" + width 3 + targetArrow "standard" + ] + LabelGraphics + [ + text "members reference FamilyTree" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 8 + target 13 + graphics + [ + fill "#000000" + width 3 + targetArrow "standard" + ] + LabelGraphics + [ + text "members reference FamilyTree" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 9 + target 9 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 10 + target 10 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 9 + target 10 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 10 + target 11 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 9 + target 11 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 10 + target 9 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 9 + target 12 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 9 + target 9 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 10 + target 10 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 10 + target 9 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 11 + target 10 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 11 + target 9 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 9 + target 10 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 12 + target 9 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 9 + target 7 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "age attribute Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 10 + target 5 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "age attribute Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 11 + target 2 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "age attribute Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 12 + target 4 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "age attribute Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] +] + diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1504/solution0.png b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1504/solution0.png new file mode 100644 index 00000000..56c5151a Binary files /dev/null and b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1504/solution0.png differ diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1504/solution0.xmi b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1504/solution0.xmi new file mode 100644 index 00000000..8c5585ad --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1504/solution0.xmi @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1505/problem.logicproblem b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1505/problem.logicproblem new file mode 100644 index 00000000..eaf86353 --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1505/problem.logicproblem @@ -0,0 +1,151 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1505/solution0.gml b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1505/solution0.gml new file mode 100644 index 00000000..3123e29e --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1505/solution0.gml @@ -0,0 +1,1081 @@ +graph +[ + node + [ + id 0 + graphics + [ + w 41.800000000000004 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "true" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 1 + graphics + [ + w 50.6 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "false" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 2 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "0" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 3 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "1" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 4 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "2" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 5 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "3" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 6 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "4" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 7 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "5" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 8 + graphics + [ + w 138.60000000000002 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + FamilyTree class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 9 + graphics + [ + w 107.80000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Member class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 10 + graphics + [ + w 107.80000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Member class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 11 + graphics + [ + w 107.80000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Member class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 12 + graphics + [ + w 107.80000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Member class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 13 + graphics + [ + w 107.80000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Member class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 14 + graphics + [ + w 112.2 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "New Integers" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 15 + graphics + [ + w 85.80000000000001 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "New Reals" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 16 + graphics + [ + w 103.4 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "New Strings" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 17 + graphics + [ + w 103.4 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "New Objects" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + edge + [ + source 8 + target 9 + graphics + [ + fill "#000000" + width 3 + targetArrow "standard" + ] + LabelGraphics + [ + text "members reference FamilyTree" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 8 + target 10 + graphics + [ + fill "#000000" + width 3 + targetArrow "standard" + ] + LabelGraphics + [ + text "members reference FamilyTree" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 8 + target 11 + graphics + [ + fill "#000000" + width 3 + targetArrow "standard" + ] + LabelGraphics + [ + text "members reference FamilyTree" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 8 + target 12 + graphics + [ + fill "#000000" + width 3 + targetArrow "standard" + ] + LabelGraphics + [ + text "members reference FamilyTree" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 8 + target 13 + graphics + [ + fill "#000000" + width 3 + targetArrow "standard" + ] + LabelGraphics + [ + text "members reference FamilyTree" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 9 + target 10 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 10 + target 10 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 10 + target 9 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 9 + target 11 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 9 + target 12 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 9 + target 9 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 11 + target 12 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 10 + target 9 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 10 + target 10 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 9 + target 10 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 11 + target 9 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 12 + target 9 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 9 + target 9 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 12 + target 11 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 9 + target 7 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "age attribute Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 10 + target 7 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "age attribute Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 11 + target 5 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "age attribute Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 12 + target 7 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "age attribute Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] +] + diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1505/solution0.png b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1505/solution0.png new file mode 100644 index 00000000..0394a987 Binary files /dev/null and b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1505/solution0.png differ diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1505/solution0.xmi b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1505/solution0.xmi new file mode 100644 index 00000000..31dd612c --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1505/solution0.xmi @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1508/problem.logicproblem b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1508/problem.logicproblem new file mode 100644 index 00000000..eaf86353 --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1508/problem.logicproblem @@ -0,0 +1,151 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1508/solution0_0.gml b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1508/solution0_0.gml new file mode 100644 index 00000000..c2f6b485 --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1508/solution0_0.gml @@ -0,0 +1,1043 @@ +graph +[ + node + [ + id 0 + graphics + [ + w 41.800000000000004 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "true" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 1 + graphics + [ + w 50.6 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "false" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 2 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "0" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 3 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "1" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 4 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "2" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 5 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "3" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 6 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "4" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 7 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "5" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 8 + graphics + [ + w 138.60000000000002 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + FamilyTree class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 9 + graphics + [ + w 107.80000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Member class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 10 + graphics + [ + w 107.80000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Member class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 11 + graphics + [ + w 107.80000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Member class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 12 + graphics + [ + w 107.80000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Member class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 13 + graphics + [ + w 107.80000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Member class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 14 + graphics + [ + w 112.2 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "New Integers" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 15 + graphics + [ + w 85.80000000000001 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "New Reals" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 16 + graphics + [ + w 103.4 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "New Strings" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 17 + graphics + [ + w 103.4 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "New Objects" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + edge + [ + source 8 + target 9 + graphics + [ + fill "#000000" + width 3 + targetArrow "standard" + ] + LabelGraphics + [ + text "members reference FamilyTree" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 8 + target 10 + graphics + [ + fill "#000000" + width 3 + targetArrow "standard" + ] + LabelGraphics + [ + text "members reference FamilyTree" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 8 + target 11 + graphics + [ + fill "#000000" + width 3 + targetArrow "standard" + ] + LabelGraphics + [ + text "members reference FamilyTree" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 8 + target 12 + graphics + [ + fill "#000000" + width 3 + targetArrow "standard" + ] + LabelGraphics + [ + text "members reference FamilyTree" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 8 + target 13 + graphics + [ + fill "#000000" + width 3 + targetArrow "standard" + ] + LabelGraphics + [ + text "members reference FamilyTree" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 9 + target 9 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 9 + target 10 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 9 + target 11 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 11 + target 11 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 9 + target 12 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 11 + target 10 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 9 + target 9 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 10 + target 9 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 11 + target 9 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 11 + target 11 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 12 + target 9 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 10 + target 11 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 9 + target 4 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "age attribute Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 10 + target 6 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "age attribute Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 11 + target 3 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "age attribute Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 12 + target 6 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "age attribute Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] +] + diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1508/solution0_0.png b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1508/solution0_0.png new file mode 100644 index 00000000..4acfe88d Binary files /dev/null and b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1508/solution0_0.png differ diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1508/solution0_0.xmi b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1508/solution0_0.xmi new file mode 100644 index 00000000..255353a6 --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1508/solution0_0.xmi @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1508/solution1_0.gml b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1508/solution1_0.gml new file mode 100644 index 00000000..e1729d03 --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1508/solution1_0.gml @@ -0,0 +1,1043 @@ +graph +[ + node + [ + id 0 + graphics + [ + w 41.800000000000004 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "true" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 1 + graphics + [ + w 50.6 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "false" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 2 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "0" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 3 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "1" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 4 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "2" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 5 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "3" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 6 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "4" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 7 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "5" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 8 + graphics + [ + w 138.60000000000002 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + FamilyTree class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 9 + graphics + [ + w 107.80000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Member class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 10 + graphics + [ + w 107.80000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Member class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 11 + graphics + [ + w 107.80000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Member class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 12 + graphics + [ + w 107.80000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Member class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 13 + graphics + [ + w 107.80000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Member class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 14 + graphics + [ + w 112.2 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "New Integers" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 15 + graphics + [ + w 85.80000000000001 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "New Reals" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 16 + graphics + [ + w 103.4 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "New Strings" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 17 + graphics + [ + w 103.4 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "New Objects" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + edge + [ + source 8 + target 9 + graphics + [ + fill "#000000" + width 3 + targetArrow "standard" + ] + LabelGraphics + [ + text "members reference FamilyTree" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 8 + target 10 + graphics + [ + fill "#000000" + width 3 + targetArrow "standard" + ] + LabelGraphics + [ + text "members reference FamilyTree" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 8 + target 11 + graphics + [ + fill "#000000" + width 3 + targetArrow "standard" + ] + LabelGraphics + [ + text "members reference FamilyTree" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 8 + target 12 + graphics + [ + fill "#000000" + width 3 + targetArrow "standard" + ] + LabelGraphics + [ + text "members reference FamilyTree" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 8 + target 13 + graphics + [ + fill "#000000" + width 3 + targetArrow "standard" + ] + LabelGraphics + [ + text "members reference FamilyTree" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 9 + target 9 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 10 + target 9 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 11 + target 11 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 11 + target 10 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 9 + target 11 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 12 + target 12 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 9 + target 9 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 9 + target 10 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 11 + target 11 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 10 + target 11 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 11 + target 9 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 12 + target 12 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 9 + target 4 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "age attribute Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 10 + target 4 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "age attribute Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 11 + target 6 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "age attribute Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 12 + target 2 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "age attribute Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] +] + diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1508/solution1_0.png b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1508/solution1_0.png new file mode 100644 index 00000000..a6aa6728 Binary files /dev/null and b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1508/solution1_0.png differ diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1508/solution1_0.xmi b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1508/solution1_0.xmi new file mode 100644 index 00000000..2d48fe01 --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1508/solution1_0.xmi @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1514/problem.logicproblem b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1514/problem.logicproblem new file mode 100644 index 00000000..eaf86353 --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1514/problem.logicproblem @@ -0,0 +1,151 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1514/solution0_0.gml b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1514/solution0_0.gml new file mode 100644 index 00000000..1305dcec --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1514/solution0_0.gml @@ -0,0 +1,1043 @@ +graph +[ + node + [ + id 0 + graphics + [ + w 41.800000000000004 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "true" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 1 + graphics + [ + w 50.6 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "false" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 2 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "0" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 3 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "1" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 4 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "2" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 5 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "3" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 6 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "4" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 7 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "5" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 8 + graphics + [ + w 138.60000000000002 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + FamilyTree class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 9 + graphics + [ + w 107.80000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Member class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 10 + graphics + [ + w 107.80000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Member class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 11 + graphics + [ + w 107.80000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Member class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 12 + graphics + [ + w 107.80000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Member class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 13 + graphics + [ + w 107.80000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Member class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 14 + graphics + [ + w 112.2 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "New Integers" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 15 + graphics + [ + w 85.80000000000001 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "New Reals" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 16 + graphics + [ + w 103.4 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "New Strings" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 17 + graphics + [ + w 103.4 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "New Objects" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + edge + [ + source 8 + target 9 + graphics + [ + fill "#000000" + width 3 + targetArrow "standard" + ] + LabelGraphics + [ + text "members reference FamilyTree" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 8 + target 10 + graphics + [ + fill "#000000" + width 3 + targetArrow "standard" + ] + LabelGraphics + [ + text "members reference FamilyTree" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 8 + target 11 + graphics + [ + fill "#000000" + width 3 + targetArrow "standard" + ] + LabelGraphics + [ + text "members reference FamilyTree" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 8 + target 12 + graphics + [ + fill "#000000" + width 3 + targetArrow "standard" + ] + LabelGraphics + [ + text "members reference FamilyTree" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 8 + target 13 + graphics + [ + fill "#000000" + width 3 + targetArrow "standard" + ] + LabelGraphics + [ + text "members reference FamilyTree" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 9 + target 10 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 9 + target 9 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 10 + target 9 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 10 + target 10 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 9 + target 11 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 10 + target 11 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 10 + target 9 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 9 + target 9 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 9 + target 10 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 10 + target 10 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 11 + target 9 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 11 + target 10 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 9 + target 6 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "age attribute Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 10 + target 6 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "age attribute Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 11 + target 5 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "age attribute Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 12 + target 2 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "age attribute Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] +] + diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1514/solution0_0.png b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1514/solution0_0.png new file mode 100644 index 00000000..dd7598cc Binary files /dev/null and b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1514/solution0_0.png differ diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1514/solution0_0.xmi b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1514/solution0_0.xmi new file mode 100644 index 00000000..f57655c1 --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1514/solution0_0.xmi @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1514/solution1_0.gml b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1514/solution1_0.gml new file mode 100644 index 00000000..781f8e1b --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1514/solution1_0.gml @@ -0,0 +1,815 @@ +graph +[ + node + [ + id 0 + graphics + [ + w 41.800000000000004 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "true" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 1 + graphics + [ + w 50.6 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "false" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 2 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "0" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 3 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "1" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 4 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "2" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 5 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "3" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 6 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "4" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 7 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "5" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 8 + graphics + [ + w 138.60000000000002 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + FamilyTree class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 9 + graphics + [ + w 107.80000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Member class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 10 + graphics + [ + w 107.80000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Member class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 11 + graphics + [ + w 107.80000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Member class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 12 + graphics + [ + w 107.80000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Member class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 13 + graphics + [ + w 107.80000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Member class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 14 + graphics + [ + w 112.2 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "New Integers" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 15 + graphics + [ + w 85.80000000000001 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "New Reals" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 16 + graphics + [ + w 103.4 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "New Strings" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 17 + graphics + [ + w 103.4 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "New Objects" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + edge + [ + source 8 + target 9 + graphics + [ + fill "#000000" + width 3 + targetArrow "standard" + ] + LabelGraphics + [ + text "members reference FamilyTree" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 8 + target 10 + graphics + [ + fill "#000000" + width 3 + targetArrow "standard" + ] + LabelGraphics + [ + text "members reference FamilyTree" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 8 + target 11 + graphics + [ + fill "#000000" + width 3 + targetArrow "standard" + ] + LabelGraphics + [ + text "members reference FamilyTree" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 8 + target 12 + graphics + [ + fill "#000000" + width 3 + targetArrow "standard" + ] + LabelGraphics + [ + text "members reference FamilyTree" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 8 + target 13 + graphics + [ + fill "#000000" + width 3 + targetArrow "standard" + ] + LabelGraphics + [ + text "members reference FamilyTree" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 10 + target 9 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 9 + target 10 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 9 + target 2 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "age attribute Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 10 + target 2 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "age attribute Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] +] + diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1514/solution1_0.png b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1514/solution1_0.png new file mode 100644 index 00000000..661fee52 Binary files /dev/null and b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1514/solution1_0.png differ diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1514/solution1_0.xmi b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1514/solution1_0.xmi new file mode 100644 index 00000000..8a2365ef --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1514/solution1_0.xmi @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1520/problem.logicproblem b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1520/problem.logicproblem new file mode 100644 index 00000000..eaf86353 --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1520/problem.logicproblem @@ -0,0 +1,151 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1520/solution0_0.gml b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1520/solution0_0.gml new file mode 100644 index 00000000..22d19f9c --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1520/solution0_0.gml @@ -0,0 +1,1043 @@ +graph +[ + node + [ + id 0 + graphics + [ + w 41.800000000000004 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "true" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 1 + graphics + [ + w 50.6 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "false" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 2 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "0" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 3 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "1" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 4 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "2" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 5 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "3" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 6 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "4" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 7 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "5" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 8 + graphics + [ + w 138.60000000000002 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + FamilyTree class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 9 + graphics + [ + w 107.80000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Member class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 10 + graphics + [ + w 107.80000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Member class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 11 + graphics + [ + w 107.80000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Member class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 12 + graphics + [ + w 107.80000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Member class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 13 + graphics + [ + w 107.80000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Member class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 14 + graphics + [ + w 112.2 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "New Integers" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 15 + graphics + [ + w 85.80000000000001 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "New Reals" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 16 + graphics + [ + w 103.4 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "New Strings" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 17 + graphics + [ + w 103.4 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "New Objects" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + edge + [ + source 8 + target 9 + graphics + [ + fill "#000000" + width 3 + targetArrow "standard" + ] + LabelGraphics + [ + text "members reference FamilyTree" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 8 + target 10 + graphics + [ + fill "#000000" + width 3 + targetArrow "standard" + ] + LabelGraphics + [ + text "members reference FamilyTree" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 8 + target 11 + graphics + [ + fill "#000000" + width 3 + targetArrow "standard" + ] + LabelGraphics + [ + text "members reference FamilyTree" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 8 + target 12 + graphics + [ + fill "#000000" + width 3 + targetArrow "standard" + ] + LabelGraphics + [ + text "members reference FamilyTree" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 8 + target 13 + graphics + [ + fill "#000000" + width 3 + targetArrow "standard" + ] + LabelGraphics + [ + text "members reference FamilyTree" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 10 + target 9 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 11 + target 9 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 11 + target 10 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 11 + target 11 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 10 + target 12 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 12 + target 10 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 9 + target 10 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 9 + target 11 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 10 + target 11 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 11 + target 11 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 12 + target 10 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 10 + target 12 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 9 + target 6 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "age attribute Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 10 + target 6 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "age attribute Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 11 + target 2 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "age attribute Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 12 + target 7 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "age attribute Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] +] + diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1520/solution0_0.png b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1520/solution0_0.png new file mode 100644 index 00000000..ff79a104 Binary files /dev/null and b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1520/solution0_0.png differ diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1520/solution0_0.xmi b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1520/solution0_0.xmi new file mode 100644 index 00000000..b4633ed1 --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1520/solution0_0.xmi @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1520/solution1_0.gml b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1520/solution1_0.gml new file mode 100644 index 00000000..2e4ddd6b --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1520/solution1_0.gml @@ -0,0 +1,1119 @@ +graph +[ + node + [ + id 0 + graphics + [ + w 41.800000000000004 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "true" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 1 + graphics + [ + w 50.6 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "false" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 2 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "0" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 3 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "1" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 4 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "2" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 5 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "3" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 6 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "4" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 7 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "5" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 8 + graphics + [ + w 138.60000000000002 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + FamilyTree class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 9 + graphics + [ + w 107.80000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Member class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 10 + graphics + [ + w 107.80000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Member class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 11 + graphics + [ + w 107.80000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Member class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 12 + graphics + [ + w 107.80000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Member class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 13 + graphics + [ + w 107.80000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Member class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 14 + graphics + [ + w 112.2 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "New Integers" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 15 + graphics + [ + w 85.80000000000001 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "New Reals" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 16 + graphics + [ + w 103.4 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "New Strings" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 17 + graphics + [ + w 103.4 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "New Objects" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + edge + [ + source 8 + target 9 + graphics + [ + fill "#000000" + width 3 + targetArrow "standard" + ] + LabelGraphics + [ + text "members reference FamilyTree" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 8 + target 10 + graphics + [ + fill "#000000" + width 3 + targetArrow "standard" + ] + LabelGraphics + [ + text "members reference FamilyTree" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 8 + target 11 + graphics + [ + fill "#000000" + width 3 + targetArrow "standard" + ] + LabelGraphics + [ + text "members reference FamilyTree" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 8 + target 12 + graphics + [ + fill "#000000" + width 3 + targetArrow "standard" + ] + LabelGraphics + [ + text "members reference FamilyTree" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 8 + target 13 + graphics + [ + fill "#000000" + width 3 + targetArrow "standard" + ] + LabelGraphics + [ + text "members reference FamilyTree" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 11 + target 9 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 9 + target 10 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 9 + target 11 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 11 + target 10 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 11 + target 11 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 12 + target 12 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 9 + target 12 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 12 + target 9 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 9 + target 11 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 10 + target 9 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 11 + target 9 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 10 + target 11 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 11 + target 11 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 12 + target 12 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 12 + target 9 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 9 + target 12 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 9 + target 2 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "age attribute Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 10 + target 7 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "age attribute Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 11 + target 3 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "age attribute Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 12 + target 2 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "age attribute Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] +] + diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1520/solution1_0.png b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1520/solution1_0.png new file mode 100644 index 00000000..ec63baf3 Binary files /dev/null and b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1520/solution1_0.png differ diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1520/solution1_0.xmi b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1520/solution1_0.xmi new file mode 100644 index 00000000..3d95ed5b --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1520/solution1_0.xmi @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1526/problem.logicproblem b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1526/problem.logicproblem new file mode 100644 index 00000000..47899e9b --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1526/problem.logicproblem @@ -0,0 +1,190 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1526/solution0_0.gml b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1526/solution0_0.gml new file mode 100644 index 00000000..b23226f6 --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1526/solution0_0.gml @@ -0,0 +1,1259 @@ +graph +[ + node + [ + id 0 + graphics + [ + w 41.800000000000004 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "true" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 1 + graphics + [ + w 50.6 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "false" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 2 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "0" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 3 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "1" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 4 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "2" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 5 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "3" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 6 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "4" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 7 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "5" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 8 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "6" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 9 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "7" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 10 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "8" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 11 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "9" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 12 + graphics + [ + w 138.60000000000002 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + FamilyTree class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 13 + graphics + [ + w 107.80000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Member class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 14 + graphics + [ + w 107.80000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Member class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 15 + graphics + [ + w 107.80000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Member class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 16 + graphics + [ + w 107.80000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Member class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 17 + graphics + [ + w 107.80000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Member class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 18 + graphics + [ + w 112.2 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "New Integers" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 19 + graphics + [ + w 85.80000000000001 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "New Reals" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 20 + graphics + [ + w 103.4 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "New Strings" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 21 + graphics + [ + w 103.4 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "New Objects" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + edge + [ + source 12 + target 13 + graphics + [ + fill "#000000" + width 3 + targetArrow "standard" + ] + LabelGraphics + [ + text "members reference FamilyTree" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 12 + target 14 + graphics + [ + fill "#000000" + width 3 + targetArrow "standard" + ] + LabelGraphics + [ + text "members reference FamilyTree" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 12 + target 15 + graphics + [ + fill "#000000" + width 3 + targetArrow "standard" + ] + LabelGraphics + [ + text "members reference FamilyTree" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 12 + target 16 + graphics + [ + fill "#000000" + width 3 + targetArrow "standard" + ] + LabelGraphics + [ + text "members reference FamilyTree" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 12 + target 17 + graphics + [ + fill "#000000" + width 3 + targetArrow "standard" + ] + LabelGraphics + [ + text "members reference FamilyTree" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 13 + target 14 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 15 + target 14 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 15 + target 13 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 14 + target 13 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 13 + target 15 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 14 + target 15 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 13 + target 16 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 15 + target 16 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 14 + target 13 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 14 + target 15 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 13 + target 15 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 13 + target 14 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 15 + target 13 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 15 + target 14 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 16 + target 13 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 16 + target 15 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 13 + target 8 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "age attribute Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 14 + target 7 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "age attribute Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 15 + target 4 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "age attribute Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 16 + target 9 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "age attribute Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] +] + diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1526/solution0_0.png b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1526/solution0_0.png new file mode 100644 index 00000000..c2f1b152 Binary files /dev/null and b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1526/solution0_0.png differ diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1526/solution0_0.xmi b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1526/solution0_0.xmi new file mode 100644 index 00000000..36597bae --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1526/solution0_0.xmi @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1526/solution1_0.gml b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1526/solution1_0.gml new file mode 100644 index 00000000..5a6561f0 --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1526/solution1_0.gml @@ -0,0 +1,1221 @@ +graph +[ + node + [ + id 0 + graphics + [ + w 41.800000000000004 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "true" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 1 + graphics + [ + w 50.6 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "false" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 2 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "0" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 3 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "1" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 4 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "2" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 5 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "3" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 6 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "4" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 7 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "5" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 8 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "6" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 9 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "7" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 10 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "8" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 11 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "9" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 12 + graphics + [ + w 138.60000000000002 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + FamilyTree class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 13 + graphics + [ + w 107.80000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Member class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 14 + graphics + [ + w 107.80000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Member class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 15 + graphics + [ + w 107.80000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Member class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 16 + graphics + [ + w 107.80000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Member class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 17 + graphics + [ + w 107.80000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Member class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 18 + graphics + [ + w 112.2 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "New Integers" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 19 + graphics + [ + w 85.80000000000001 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "New Reals" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 20 + graphics + [ + w 103.4 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "New Strings" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 21 + graphics + [ + w 103.4 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "New Objects" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + edge + [ + source 12 + target 13 + graphics + [ + fill "#000000" + width 3 + targetArrow "standard" + ] + LabelGraphics + [ + text "members reference FamilyTree" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 12 + target 14 + graphics + [ + fill "#000000" + width 3 + targetArrow "standard" + ] + LabelGraphics + [ + text "members reference FamilyTree" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 12 + target 15 + graphics + [ + fill "#000000" + width 3 + targetArrow "standard" + ] + LabelGraphics + [ + text "members reference FamilyTree" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 12 + target 16 + graphics + [ + fill "#000000" + width 3 + targetArrow "standard" + ] + LabelGraphics + [ + text "members reference FamilyTree" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 12 + target 17 + graphics + [ + fill "#000000" + width 3 + targetArrow "standard" + ] + LabelGraphics + [ + text "members reference FamilyTree" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 14 + target 15 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 13 + target 14 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 15 + target 13 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 14 + target 16 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 15 + target 14 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 16 + target 13 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 13 + target 15 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 15 + target 14 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 14 + target 13 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 13 + target 15 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 16 + target 14 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 14 + target 15 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 13 + target 16 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 15 + target 13 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 13 + target 4 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "age attribute Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 14 + target 8 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "age attribute Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 15 + target 5 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "age attribute Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 16 + target 9 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "age attribute Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] +] + diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1526/solution1_0.png b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1526/solution1_0.png new file mode 100644 index 00000000..b862f22d Binary files /dev/null and b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1526/solution1_0.png differ diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1526/solution1_0.xmi b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1526/solution1_0.xmi new file mode 100644 index 00000000..11368091 --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1526/solution1_0.xmi @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1533/problem.logicproblem b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1533/problem.logicproblem new file mode 100644 index 00000000..b859d985 --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1533/problem.logicproblem @@ -0,0 +1,10009 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1535/problem.logicproblem b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1535/problem.logicproblem new file mode 100644 index 00000000..b859d985 --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1535/problem.logicproblem @@ -0,0 +1,10009 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1543/problem.logicproblem b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1543/problem.logicproblem new file mode 100644 index 00000000..b859d985 --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1543/problem.logicproblem @@ -0,0 +1,10009 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1543/solution0_0.gml b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1543/solution0_0.gml new file mode 100644 index 00000000..884bb23b --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1543/solution0_0.gml @@ -0,0 +1,3083 @@ +graph +[ + node + [ + id 0 + graphics + [ + w 173.8 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "WWW literal Grantor" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Grantor enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 1 + graphics + [ + w 217.8 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "Employer literal Grantor" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Grantor enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 2 + graphics + [ + w 173.8 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "MMM literal Grantor" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Grantor enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 3 + graphics + [ + w 173.8 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "UUU literal Grantor" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Grantor enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 4 + graphics + [ + w 173.8 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "YYY literal Grantor" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Grantor enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 5 + graphics + [ + w 173.8 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "OOO literal Grantor" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Grantor enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 6 + graphics + [ + w 261.8 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "beug literal Disability_Types" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Disability_Types enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 7 + graphics + [ + w 261.8 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "NONE literal Disability_Types" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Disability_Types enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 8 + graphics + [ + w 235.4 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "A literal Disability_Types" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Disability_Types enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 9 + graphics + [ + w 235.4 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "B literal Disability_Types" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Disability_Types enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 10 + graphics + [ + w 235.4 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "C literal Disability_Types" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Disability_Types enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 11 + graphics + [ + w 235.4 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "D literal Disability_Types" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Disability_Types enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 12 + graphics + [ + w 235.4 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "E literal Disability_Types" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Disability_Types enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 13 + graphics + [ + w 270.6 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "OTHER literal Disability_Types" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Disability_Types enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 14 + graphics + [ + w 165.0 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "ZZ literal Country" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Country enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 15 + graphics + [ + w 165.0 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "FF literal Country" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Country enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 16 + graphics + [ + w 165.0 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "BB literal Country" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Country enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 17 + graphics + [ + w 165.0 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "DD literal Country" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Country enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 18 + graphics + [ + w 165.0 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "NN literal Country" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Country enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 19 + graphics + [ + w 191.4 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "OTHER literal Country" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Country enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 20 + graphics + [ + w 279.40000000000003 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "Principal literal Tax_Card_Type" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Tax_Card_Type enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 21 + graphics + [ + w 288.20000000000005 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "Additional literal Tax_Card_Type" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Tax_Card_Type enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 22 + graphics + [ + w 217.8 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "RTS_2 literal Tax_Office" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Tax_Office enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 23 + graphics + [ + w 217.8 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "RTS_3 literal Tax_Office" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Tax_Office enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 24 + graphics + [ + w 217.8 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "RTS_4 literal Tax_Office" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Tax_Office enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 25 + graphics + [ + w 217.8 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "RTS_5 literal Tax_Office" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Tax_Office enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 26 + graphics + [ + w 270.6 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "One literal Tax_Class_Category" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Tax_Class_Category enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 27 + graphics + [ + w 288.20000000000005 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "One_A literal Tax_Class_Category" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Tax_Class_Category enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 28 + graphics + [ + w 270.6 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "Two literal Tax_Class_Category" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Tax_Class_Category enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 29 + graphics + [ + w 244.20000000000002 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "Salary literal Job_Activity" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Job_Activity enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 30 + graphics + [ + w 253.00000000000003 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "Pension literal Job_Activity" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Job_Activity enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 31 + graphics + [ + w 253.00000000000003 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "Annuity literal Job_Activity" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Job_Activity enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 32 + graphics + [ + w 138.60000000000002 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "LL literal Town" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Town enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 33 + graphics + [ + w 138.60000000000002 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "BB literal Town" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Town enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 34 + graphics + [ + w 138.60000000000002 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "SS literal Town" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Town enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 35 + graphics + [ + w 138.60000000000002 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "TT literal Town" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Town enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 36 + graphics + [ + w 165.0 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "Other literal Town" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Town enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 37 + graphics + [ + w 253.00000000000003 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "REGULAR literal Type_of_Rate" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Type_of_Rate enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 38 + graphics + [ + w 270.6 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "REAL_COST literal Type_of_Rate" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Type_of_Rate enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 39 + graphics + [ + w 349.8 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "INALIDITY_AND_INFIRMITY literal CE_Type" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + CE_Type enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 40 + graphics + [ + w 675.4000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "DEPENDENCE_AND_CARE_EXCLUDING_CHLIDREN_NOT_PART_OF_HOUSEHOLD literal CE_Type" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + CE_Type enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 41 + graphics + [ + w 543.4000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "CARE_FOR_CHILDREN_NOT_BEING_PART_OF_HOUSEHOLD literal CE_Type" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + CE_Type enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 42 + graphics + [ + w 305.8 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "HOUSE_CARE literal Expense_Purpose" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Expense_Purpose enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 43 + graphics + [ + w 305.8 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "CHILD_CARE literal Expense_Purpose" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Expense_Purpose enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 44 + graphics + [ + w 349.8 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "DEPENDENCE_CARE literal Expense_Purpose" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Expense_Purpose enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 45 + graphics + [ + w 261.8 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "OTHER literal Expense_Purpose" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Expense_Purpose enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 46 + graphics + [ + w 279.40000000000003 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "ALIMONY literal Expense_Purpose" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Expense_Purpose enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 47 + graphics + [ + w 341.0 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "RECURRENT_DEPT literal Expense_Purpose" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Expense_Purpose enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 48 + graphics + [ + w 253.00000000000003 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "CHILD literal Dependent_Type" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Dependent_Type enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 49 + graphics + [ + w 261.8 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "SPOUSE literal Dependent_Type" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Dependent_Type enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 50 + graphics + [ + w 279.40000000000003 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "RELATIVE literal Dependent_Type" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Dependent_Type enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 51 + graphics + [ + w 376.20000000000005 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "OTHER_FAMILY_MEMBER literal Dependent_Type" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Dependent_Type enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 52 + graphics + [ + w 323.40000000000003 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "NOT_OWN_CHILD literal Dependent_Type" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Dependent_Type enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 53 + graphics + [ + w 270.6 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "NONE literal Separation_Causes" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Separation_Causes enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 54 + graphics + [ + w 297.0 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "DIVORCE literal Separation_Causes" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Separation_Causes enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 55 + graphics + [ + w 393.8 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "SEPARATION_DE_FAIT literal Separation_Causes" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Separation_Causes enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 56 + graphics + [ + w 402.6 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "SEPARATION_BY_COURT literal Separation_Causes" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Separation_Causes enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 57 + graphics + [ + w 499.40000000000003 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "MISCELLANEOUS_DEBT literal Category_of_Permanent_Expense" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Category_of_Permanent_Expense enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 58 + graphics + [ + w 402.6 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "ALIMONY literal Category_of_Permanent_Expense" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Category_of_Permanent_Expense enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 59 + graphics + [ + w 781.0000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "MANDATORY_HEALTH_AND_PENSION_INSURANCE literal Category_of_Health_and_Pension_Insurances" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Category_of_Health_and_Pension_Insurances enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 60 + graphics + [ + w 781.0000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "ADDITIONAL_EMPLOYERS_PENSION_INSURANCE literal Category_of_Health_and_Pension_Insurances" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Category_of_Health_and_Pension_Insurances enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 61 + graphics + [ + w 781.0000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "CONTINUED_HEALTH_AND_PENSION_INSURANCE literal Category_of_Health_and_Pension_Insurances" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Category_of_Health_and_Pension_Insurances enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 62 + graphics + [ + w 569.8000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "PRIVATE_INSURANCE literal Category_of_Private_Insurance_and_Plan" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Category_of_Private_Insurance_and_Plan enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 63 + graphics + [ + w 613.8000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "PRIVATE_LIFE_INSURANCE literal Category_of_Private_Insurance_and_Plan" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Category_of_Private_Insurance_and_Plan enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 64 + graphics + [ + w 710.6 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "COMPANY_MEMBERS_PRIVATE_INSURANCE literal Category_of_Private_Insurance_and_Plan" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Category_of_Private_Insurance_and_Plan enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 65 + graphics + [ + w 587.4000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "HOUSING_SAVING_PLAN literal Category_of_Private_Insurance_and_Plan" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Category_of_Private_Insurance_and_Plan enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 66 + graphics + [ + w 596.2 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "OLD_AGE_PENSION_PLAN literal Category_of_Private_Insurance_and_Plan" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Category_of_Private_Insurance_and_Plan enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 67 + graphics + [ + w 297.0 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "MARIAGE literal Legal_Union_Types" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Legal_Union_Types enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 68 + graphics + [ + w 332.20000000000005 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "PARTNERSHIP literal Legal_Union_Types" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Legal_Union_Types enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 69 + graphics + [ + w 279.40000000000003 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "OTHER literal Legal_Union_Types" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Legal_Union_Types enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 70 + graphics + [ + w 41.800000000000004 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "true" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 71 + graphics + [ + w 50.6 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "false" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 72 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "0" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 73 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "1" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 74 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "2" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 75 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "3" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 76 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "4" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 77 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "5" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 78 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "6" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 79 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "7" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 80 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "8" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 81 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "9" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 82 + graphics + [ + w 112.2 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "New Integers" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 83 + graphics + [ + w 85.80000000000001 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "New Reals" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 84 + graphics + [ + w 103.4 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "New Strings" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 85 + graphics + [ + w 103.4 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "New Objects" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] +] + diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1543/solution0_0.png b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1543/solution0_0.png new file mode 100644 index 00000000..347e1310 Binary files /dev/null and b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1543/solution0_0.png differ diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1548/problem.logicproblem b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1548/problem.logicproblem new file mode 100644 index 00000000..b859d985 --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1548/problem.logicproblem @@ -0,0 +1,10009 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1557/problem.logicproblem b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1557/problem.logicproblem new file mode 100644 index 00000000..ac0d6576 --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1557/problem.logicproblem @@ -0,0 +1,151 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1557/solution0_0.gml b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1557/solution0_0.gml new file mode 100644 index 00000000..78f48008 --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1557/solution0_0.gml @@ -0,0 +1,1259 @@ +graph +[ + node + [ + id 0 + graphics + [ + w 41.800000000000004 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "true" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 1 + graphics + [ + w 50.6 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "false" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 2 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "0" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 3 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "1" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 4 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "2" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 5 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "3" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 6 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "4" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 7 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "5" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 8 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "6" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 9 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "7" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 10 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "8" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 11 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "9" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 12 + graphics + [ + w 138.60000000000002 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + FamilyTree class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 13 + graphics + [ + w 107.80000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Member class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 14 + graphics + [ + w 107.80000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Member class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 15 + graphics + [ + w 107.80000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Member class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 16 + graphics + [ + w 107.80000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Member class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 17 + graphics + [ + w 107.80000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Member class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 18 + graphics + [ + w 112.2 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "New Integers" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 19 + graphics + [ + w 85.80000000000001 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "New Reals" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 20 + graphics + [ + w 103.4 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "New Strings" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 21 + graphics + [ + w 103.4 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "New Objects" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + edge + [ + source 12 + target 13 + graphics + [ + fill "#000000" + width 3 + targetArrow "standard" + ] + LabelGraphics + [ + text "members reference FamilyTree" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 12 + target 14 + graphics + [ + fill "#000000" + width 3 + targetArrow "standard" + ] + LabelGraphics + [ + text "members reference FamilyTree" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 12 + target 15 + graphics + [ + fill "#000000" + width 3 + targetArrow "standard" + ] + LabelGraphics + [ + text "members reference FamilyTree" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 12 + target 16 + graphics + [ + fill "#000000" + width 3 + targetArrow "standard" + ] + LabelGraphics + [ + text "members reference FamilyTree" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 12 + target 17 + graphics + [ + fill "#000000" + width 3 + targetArrow "standard" + ] + LabelGraphics + [ + text "members reference FamilyTree" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 13 + target 13 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 13 + target 14 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 14 + target 13 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 14 + target 14 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 14 + target 15 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 16 + target 15 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 14 + target 16 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 13 + target 16 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 13 + target 13 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 14 + target 13 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 13 + target 14 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 14 + target 14 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 15 + target 14 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 15 + target 16 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 16 + target 14 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 16 + target 13 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 13 + target 4 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "age attribute Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 14 + target 2 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "age attribute Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 15 + target 4 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "age attribute Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 16 + target 7 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "age attribute Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] +] + diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1557/solution0_0.png b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1557/solution0_0.png new file mode 100644 index 00000000..5c5d00ed Binary files /dev/null and b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1557/solution0_0.png differ diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1557/solution0_0.xmi b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1557/solution0_0.xmi new file mode 100644 index 00000000..9a93a5d0 --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1557/solution0_0.xmi @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1557/solution1_0.gml b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1557/solution1_0.gml new file mode 100644 index 00000000..cb102af1 --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1557/solution1_0.gml @@ -0,0 +1,1259 @@ +graph +[ + node + [ + id 0 + graphics + [ + w 41.800000000000004 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "true" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 1 + graphics + [ + w 50.6 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "false" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 2 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "0" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 3 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "1" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 4 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "2" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 5 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "3" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 6 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "4" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 7 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "5" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 8 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "6" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 9 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "7" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 10 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "8" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 11 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "9" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 12 + graphics + [ + w 138.60000000000002 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + FamilyTree class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 13 + graphics + [ + w 107.80000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Member class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 14 + graphics + [ + w 107.80000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Member class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 15 + graphics + [ + w 107.80000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Member class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 16 + graphics + [ + w 107.80000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Member class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 17 + graphics + [ + w 107.80000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Member class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 18 + graphics + [ + w 112.2 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "New Integers" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 19 + graphics + [ + w 85.80000000000001 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "New Reals" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 20 + graphics + [ + w 103.4 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "New Strings" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 21 + graphics + [ + w 103.4 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "New Objects" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + edge + [ + source 12 + target 13 + graphics + [ + fill "#000000" + width 3 + targetArrow "standard" + ] + LabelGraphics + [ + text "members reference FamilyTree" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 12 + target 14 + graphics + [ + fill "#000000" + width 3 + targetArrow "standard" + ] + LabelGraphics + [ + text "members reference FamilyTree" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 12 + target 15 + graphics + [ + fill "#000000" + width 3 + targetArrow "standard" + ] + LabelGraphics + [ + text "members reference FamilyTree" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 12 + target 16 + graphics + [ + fill "#000000" + width 3 + targetArrow "standard" + ] + LabelGraphics + [ + text "members reference FamilyTree" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 12 + target 17 + graphics + [ + fill "#000000" + width 3 + targetArrow "standard" + ] + LabelGraphics + [ + text "members reference FamilyTree" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 14 + target 14 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 13 + target 13 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 14 + target 13 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 13 + target 14 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 14 + target 15 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 13 + target 15 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 16 + target 16 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 14 + target 16 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 14 + target 14 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 13 + target 13 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 13 + target 14 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 14 + target 13 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 15 + target 14 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 15 + target 13 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 16 + target 16 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 16 + target 14 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 13 + target 6 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "age attribute Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 14 + target 3 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "age attribute Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 15 + target 4 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "age attribute Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 16 + target 6 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "age attribute Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] +] + diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1557/solution1_0.png b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1557/solution1_0.png new file mode 100644 index 00000000..35440ab3 Binary files /dev/null and b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1557/solution1_0.png differ diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1557/solution1_0.xmi b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1557/solution1_0.xmi new file mode 100644 index 00000000..704b755b --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1557/solution1_0.xmi @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1610/problem.logicproblem b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1610/problem.logicproblem new file mode 100644 index 00000000..ac0d6576 --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1610/problem.logicproblem @@ -0,0 +1,151 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1610/solution0_0.gml b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1610/solution0_0.gml new file mode 100644 index 00000000..2552a01c --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1610/solution0_0.gml @@ -0,0 +1,1221 @@ +graph +[ + node + [ + id 0 + graphics + [ + w 41.800000000000004 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "true" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 1 + graphics + [ + w 50.6 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "false" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 2 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "0" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 3 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "1" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 4 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "2" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 5 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "3" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 6 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "4" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 7 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "5" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 8 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "6" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 9 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "7" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 10 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "8" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 11 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "9" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 12 + graphics + [ + w 138.60000000000002 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + FamilyTree class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 13 + graphics + [ + w 107.80000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Member class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 14 + graphics + [ + w 107.80000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Member class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 15 + graphics + [ + w 107.80000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Member class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 16 + graphics + [ + w 107.80000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Member class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 17 + graphics + [ + w 107.80000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Member class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 18 + graphics + [ + w 112.2 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "New Integers" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 19 + graphics + [ + w 85.80000000000001 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "New Reals" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 20 + graphics + [ + w 103.4 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "New Strings" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 21 + graphics + [ + w 103.4 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "New Objects" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + edge + [ + source 12 + target 13 + graphics + [ + fill "#000000" + width 3 + targetArrow "standard" + ] + LabelGraphics + [ + text "members reference FamilyTree" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 12 + target 14 + graphics + [ + fill "#000000" + width 3 + targetArrow "standard" + ] + LabelGraphics + [ + text "members reference FamilyTree" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 12 + target 15 + graphics + [ + fill "#000000" + width 3 + targetArrow "standard" + ] + LabelGraphics + [ + text "members reference FamilyTree" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 12 + target 16 + graphics + [ + fill "#000000" + width 3 + targetArrow "standard" + ] + LabelGraphics + [ + text "members reference FamilyTree" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 12 + target 17 + graphics + [ + fill "#000000" + width 3 + targetArrow "standard" + ] + LabelGraphics + [ + text "members reference FamilyTree" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 13 + target 13 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 14 + target 14 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 14 + target 13 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 13 + target 14 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 14 + target 15 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 16 + target 16 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 15 + target 16 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 13 + target 13 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 14 + target 14 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 13 + target 14 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 14 + target 13 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 15 + target 14 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 16 + target 16 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 16 + target 15 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 13 + target 11 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "age attribute Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 14 + target 7 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "age attribute Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 15 + target 4 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "age attribute Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 16 + target 2 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "age attribute Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] +] + diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1610/solution0_0.png b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1610/solution0_0.png new file mode 100644 index 00000000..ca46a0d3 Binary files /dev/null and b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1610/solution0_0.png differ diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1610/solution0_0.xmi b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1610/solution0_0.xmi new file mode 100644 index 00000000..38d54fd5 --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1610/solution0_0.xmi @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1610/solution1_0.gml b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1610/solution1_0.gml new file mode 100644 index 00000000..2d7b97b7 --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1610/solution1_0.gml @@ -0,0 +1,1221 @@ +graph +[ + node + [ + id 0 + graphics + [ + w 41.800000000000004 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "true" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 1 + graphics + [ + w 50.6 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "false" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 2 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "0" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 3 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "1" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 4 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "2" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 5 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "3" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 6 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "4" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 7 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "5" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 8 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "6" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 9 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "7" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 10 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "8" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 11 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "9" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 12 + graphics + [ + w 138.60000000000002 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + FamilyTree class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 13 + graphics + [ + w 107.80000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Member class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 14 + graphics + [ + w 107.80000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Member class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 15 + graphics + [ + w 107.80000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Member class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 16 + graphics + [ + w 107.80000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Member class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 17 + graphics + [ + w 107.80000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Member class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 18 + graphics + [ + w 112.2 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "New Integers" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 19 + graphics + [ + w 85.80000000000001 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "New Reals" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 20 + graphics + [ + w 103.4 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "New Strings" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 21 + graphics + [ + w 103.4 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "New Objects" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + edge + [ + source 12 + target 13 + graphics + [ + fill "#000000" + width 3 + targetArrow "standard" + ] + LabelGraphics + [ + text "members reference FamilyTree" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 12 + target 14 + graphics + [ + fill "#000000" + width 3 + targetArrow "standard" + ] + LabelGraphics + [ + text "members reference FamilyTree" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 12 + target 15 + graphics + [ + fill "#000000" + width 3 + targetArrow "standard" + ] + LabelGraphics + [ + text "members reference FamilyTree" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 12 + target 16 + graphics + [ + fill "#000000" + width 3 + targetArrow "standard" + ] + LabelGraphics + [ + text "members reference FamilyTree" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 12 + target 17 + graphics + [ + fill "#000000" + width 3 + targetArrow "standard" + ] + LabelGraphics + [ + text "members reference FamilyTree" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 13 + target 14 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 14 + target 14 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 14 + target 13 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 16 + target 15 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 13 + target 15 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 16 + target 13 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 13 + target 16 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 14 + target 13 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 14 + target 14 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 13 + target 14 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 15 + target 16 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 15 + target 13 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 13 + target 16 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 16 + target 13 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 13 + target 10 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "age attribute Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 14 + target 6 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "age attribute Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 15 + target 10 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "age attribute Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 16 + target 7 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "age attribute Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] +] + diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1610/solution1_0.png b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1610/solution1_0.png new file mode 100644 index 00000000..37a9045b Binary files /dev/null and b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1610/solution1_0.png differ diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1610/solution1_0.xmi b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1610/solution1_0.xmi new file mode 100644 index 00000000..8a85fa5f --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1610/solution1_0.xmi @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1613/problem.logicproblem b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1613/problem.logicproblem new file mode 100644 index 00000000..ac0d6576 --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1613/problem.logicproblem @@ -0,0 +1,151 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1613/solution0_0.gml b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1613/solution0_0.gml new file mode 100644 index 00000000..25555139 --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1613/solution0_0.gml @@ -0,0 +1,1164 @@ +graph +[ + node + [ + id 0 + graphics + [ + w 41.800000000000004 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "true" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 1 + graphics + [ + w 50.6 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "false" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 2 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "0" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 3 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "1" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 4 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "2" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 5 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "3" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 6 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "4" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 7 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "5" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 8 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "6" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 9 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "7" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 10 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "8" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 11 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "9" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 12 + graphics + [ + w 138.60000000000002 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + FamilyTree class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 13 + graphics + [ + w 107.80000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Member class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 14 + graphics + [ + w 107.80000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Member class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 15 + graphics + [ + w 107.80000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Member class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 16 + graphics + [ + w 107.80000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Member class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 17 + graphics + [ + w 107.80000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Member class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 18 + graphics + [ + w 112.2 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "New Integers" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 19 + graphics + [ + w 85.80000000000001 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "New Reals" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 20 + graphics + [ + w 103.4 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "New Strings" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 21 + graphics + [ + w 103.4 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "New Objects" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + edge + [ + source 12 + target 13 + graphics + [ + fill "#000000" + width 3 + targetArrow "standard" + ] + LabelGraphics + [ + text "members reference FamilyTree" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 12 + target 14 + graphics + [ + fill "#000000" + width 3 + targetArrow "standard" + ] + LabelGraphics + [ + text "members reference FamilyTree" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 12 + target 15 + graphics + [ + fill "#000000" + width 3 + targetArrow "standard" + ] + LabelGraphics + [ + text "members reference FamilyTree" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 12 + target 16 + graphics + [ + fill "#000000" + width 3 + targetArrow "standard" + ] + LabelGraphics + [ + text "members reference FamilyTree" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 12 + target 17 + graphics + [ + fill "#000000" + width 3 + targetArrow "standard" + ] + LabelGraphics + [ + text "members reference FamilyTree" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 13 + target 13 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 13 + target 14 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 15 + target 14 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 14 + target 13 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 13 + target 15 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 14 + target 15 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 13 + target 13 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 14 + target 13 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 14 + target 15 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 13 + target 14 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 15 + target 13 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 15 + target 14 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 13 + target 4 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "age attribute Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 14 + target 6 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "age attribute Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 15 + target 10 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "age attribute Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] +] + diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1613/solution0_0.png b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1613/solution0_0.png new file mode 100644 index 00000000..aca1cc34 Binary files /dev/null and b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1613/solution0_0.png differ diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1613/solution0_0.xmi b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1613/solution0_0.xmi new file mode 100644 index 00000000..b4a29090 --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1613/solution0_0.xmi @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1613/solution1_0.gml b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1613/solution1_0.gml new file mode 100644 index 00000000..ced9739e --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1613/solution1_0.gml @@ -0,0 +1,1050 @@ +graph +[ + node + [ + id 0 + graphics + [ + w 41.800000000000004 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "true" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 1 + graphics + [ + w 50.6 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "false" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 2 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "0" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 3 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "1" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 4 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "2" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 5 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "3" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 6 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "4" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 7 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "5" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 8 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "6" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 9 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "7" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 10 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "8" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 11 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "9" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 12 + graphics + [ + w 138.60000000000002 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + FamilyTree class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 13 + graphics + [ + w 107.80000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Member class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 14 + graphics + [ + w 107.80000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Member class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 15 + graphics + [ + w 107.80000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Member class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 16 + graphics + [ + w 107.80000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Member class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 17 + graphics + [ + w 107.80000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Member class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 18 + graphics + [ + w 112.2 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "New Integers" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 19 + graphics + [ + w 85.80000000000001 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "New Reals" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 20 + graphics + [ + w 103.4 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "New Strings" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 21 + graphics + [ + w 103.4 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "New Objects" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + edge + [ + source 12 + target 13 + graphics + [ + fill "#000000" + width 3 + targetArrow "standard" + ] + LabelGraphics + [ + text "members reference FamilyTree" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 12 + target 14 + graphics + [ + fill "#000000" + width 3 + targetArrow "standard" + ] + LabelGraphics + [ + text "members reference FamilyTree" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 12 + target 15 + graphics + [ + fill "#000000" + width 3 + targetArrow "standard" + ] + LabelGraphics + [ + text "members reference FamilyTree" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 12 + target 16 + graphics + [ + fill "#000000" + width 3 + targetArrow "standard" + ] + LabelGraphics + [ + text "members reference FamilyTree" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 12 + target 17 + graphics + [ + fill "#000000" + width 3 + targetArrow "standard" + ] + LabelGraphics + [ + text "members reference FamilyTree" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 14 + target 14 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 13 + target 14 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 13 + target 13 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 14 + target 14 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 14 + target 13 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 13 + target 13 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 13 + target 9 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "age attribute Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 14 + target 8 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "age attribute Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 15 + target 7 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "age attribute Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] +] + diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1613/solution1_0.png b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1613/solution1_0.png new file mode 100644 index 00000000..fe94a87a Binary files /dev/null and b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1613/solution1_0.png differ diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1613/solution1_0.xmi b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1613/solution1_0.xmi new file mode 100644 index 00000000..a5c411d9 --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1613/solution1_0.xmi @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1622/problem.logicproblem b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1622/problem.logicproblem new file mode 100644 index 00000000..ac0d6576 --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1622/problem.logicproblem @@ -0,0 +1,151 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1622/solution0_0.gml b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1622/solution0_0.gml new file mode 100644 index 00000000..72f6ddc4 --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1622/solution0_0.gml @@ -0,0 +1,1259 @@ +graph +[ + node + [ + id 0 + graphics + [ + w 41.800000000000004 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "true" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 1 + graphics + [ + w 50.6 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "false" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 2 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "0" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 3 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "1" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 4 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "2" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 5 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "3" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 6 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "4" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 7 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "5" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 8 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "6" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 9 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "7" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 10 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "8" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 11 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "9" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 12 + graphics + [ + w 138.60000000000002 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + FamilyTree class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 13 + graphics + [ + w 107.80000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Member class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 14 + graphics + [ + w 107.80000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Member class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 15 + graphics + [ + w 107.80000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Member class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 16 + graphics + [ + w 107.80000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Member class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 17 + graphics + [ + w 107.80000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Member class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 18 + graphics + [ + w 112.2 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "New Integers" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 19 + graphics + [ + w 85.80000000000001 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "New Reals" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 20 + graphics + [ + w 103.4 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "New Strings" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 21 + graphics + [ + w 103.4 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "New Objects" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + edge + [ + source 12 + target 13 + graphics + [ + fill "#000000" + width 3 + targetArrow "standard" + ] + LabelGraphics + [ + text "members reference FamilyTree" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 12 + target 14 + graphics + [ + fill "#000000" + width 3 + targetArrow "standard" + ] + LabelGraphics + [ + text "members reference FamilyTree" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 12 + target 15 + graphics + [ + fill "#000000" + width 3 + targetArrow "standard" + ] + LabelGraphics + [ + text "members reference FamilyTree" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 12 + target 16 + graphics + [ + fill "#000000" + width 3 + targetArrow "standard" + ] + LabelGraphics + [ + text "members reference FamilyTree" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 12 + target 17 + graphics + [ + fill "#000000" + width 3 + targetArrow "standard" + ] + LabelGraphics + [ + text "members reference FamilyTree" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 13 + target 13 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 15 + target 16 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 14 + target 14 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 15 + target 15 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 13 + target 14 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 15 + target 13 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 14 + target 16 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 13 + target 15 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 13 + target 13 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 16 + target 15 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 14 + target 14 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 15 + target 15 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 14 + target 13 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 13 + target 15 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 16 + target 14 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 15 + target 13 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 13 + target 8 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "age attribute Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 14 + target 10 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "age attribute Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 16 + target 2 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "age attribute Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 15 + target 5 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "age attribute Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] +] + diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1622/solution0_0.png b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1622/solution0_0.png new file mode 100644 index 00000000..5bff6991 Binary files /dev/null and b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1622/solution0_0.png differ diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1622/solution0_0.xmi b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1622/solution0_0.xmi new file mode 100644 index 00000000..59ef8a75 --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1622/solution0_0.xmi @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1622/solution1_0.gml b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1622/solution1_0.gml new file mode 100644 index 00000000..5fff793c --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1622/solution1_0.gml @@ -0,0 +1,1221 @@ +graph +[ + node + [ + id 0 + graphics + [ + w 41.800000000000004 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "true" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 1 + graphics + [ + w 50.6 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "false" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 2 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "0" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 3 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "1" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 4 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "2" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 5 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "3" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 6 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "4" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 7 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "5" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 8 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "6" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 9 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "7" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 10 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "8" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 11 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "9" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 12 + graphics + [ + w 138.60000000000002 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + FamilyTree class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 13 + graphics + [ + w 107.80000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Member class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 14 + graphics + [ + w 107.80000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Member class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 15 + graphics + [ + w 107.80000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Member class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 16 + graphics + [ + w 107.80000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Member class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 17 + graphics + [ + w 107.80000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Member class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 18 + graphics + [ + w 112.2 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "New Integers" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 19 + graphics + [ + w 85.80000000000001 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "New Reals" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 20 + graphics + [ + w 103.4 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "New Strings" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 21 + graphics + [ + w 103.4 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "New Objects" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + edge + [ + source 12 + target 13 + graphics + [ + fill "#000000" + width 3 + targetArrow "standard" + ] + LabelGraphics + [ + text "members reference FamilyTree" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 12 + target 14 + graphics + [ + fill "#000000" + width 3 + targetArrow "standard" + ] + LabelGraphics + [ + text "members reference FamilyTree" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 12 + target 15 + graphics + [ + fill "#000000" + width 3 + targetArrow "standard" + ] + LabelGraphics + [ + text "members reference FamilyTree" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 12 + target 16 + graphics + [ + fill "#000000" + width 3 + targetArrow "standard" + ] + LabelGraphics + [ + text "members reference FamilyTree" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 12 + target 17 + graphics + [ + fill "#000000" + width 3 + targetArrow "standard" + ] + LabelGraphics + [ + text "members reference FamilyTree" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 13 + target 13 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 13 + target 14 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 15 + target 13 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 14 + target 14 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 16 + target 15 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 13 + target 15 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 15 + target 16 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 13 + target 13 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 14 + target 13 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 13 + target 15 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 14 + target 14 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 15 + target 16 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 15 + target 13 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 16 + target 15 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 13 + target 5 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "age attribute Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 14 + target 11 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "age attribute Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 15 + target 3 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "age attribute Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 16 + target 9 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "age attribute Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] +] + diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1622/solution1_0.png b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1622/solution1_0.png new file mode 100644 index 00000000..67db3ac2 Binary files /dev/null and b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1622/solution1_0.png differ diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1622/solution1_0.xmi b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1622/solution1_0.xmi new file mode 100644 index 00000000..6ef0f356 --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1622/solution1_0.xmi @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1623/problem.logicproblem b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1623/problem.logicproblem new file mode 100644 index 00000000..ac0d6576 --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1623/problem.logicproblem @@ -0,0 +1,151 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1623/solution0_0.gml b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1623/solution0_0.gml new file mode 100644 index 00000000..f57e31e2 --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1623/solution0_0.gml @@ -0,0 +1,1259 @@ +graph +[ + node + [ + id 0 + graphics + [ + w 41.800000000000004 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "true" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 1 + graphics + [ + w 50.6 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "false" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 2 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "0" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 3 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "1" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 4 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "2" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 5 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "3" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 6 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "4" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 7 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "5" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 8 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "6" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 9 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "7" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 10 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "8" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 11 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "9" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 12 + graphics + [ + w 138.60000000000002 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + FamilyTree class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 13 + graphics + [ + w 107.80000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Member class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 14 + graphics + [ + w 107.80000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Member class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 15 + graphics + [ + w 107.80000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Member class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 16 + graphics + [ + w 107.80000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Member class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 17 + graphics + [ + w 107.80000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Member class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 18 + graphics + [ + w 112.2 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "New Integers" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 19 + graphics + [ + w 85.80000000000001 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "New Reals" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 20 + graphics + [ + w 103.4 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "New Strings" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 21 + graphics + [ + w 103.4 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "New Objects" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + edge + [ + source 12 + target 13 + graphics + [ + fill "#000000" + width 3 + targetArrow "standard" + ] + LabelGraphics + [ + text "members reference FamilyTree" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 12 + target 14 + graphics + [ + fill "#000000" + width 3 + targetArrow "standard" + ] + LabelGraphics + [ + text "members reference FamilyTree" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 12 + target 15 + graphics + [ + fill "#000000" + width 3 + targetArrow "standard" + ] + LabelGraphics + [ + text "members reference FamilyTree" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 12 + target 16 + graphics + [ + fill "#000000" + width 3 + targetArrow "standard" + ] + LabelGraphics + [ + text "members reference FamilyTree" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 12 + target 17 + graphics + [ + fill "#000000" + width 3 + targetArrow "standard" + ] + LabelGraphics + [ + text "members reference FamilyTree" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 13 + target 14 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 13 + target 13 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 14 + target 13 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 15 + target 15 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 15 + target 14 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 16 + target 16 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 14 + target 16 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 14 + target 15 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 14 + target 13 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 13 + target 13 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 13 + target 14 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 15 + target 15 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 14 + target 15 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 16 + target 16 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 16 + target 14 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 15 + target 14 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 13 + target 6 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "age attribute Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 14 + target 6 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "age attribute Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 15 + target 11 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "age attribute Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 16 + target 9 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "age attribute Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] +] + diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1623/solution0_0.png b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1623/solution0_0.png new file mode 100644 index 00000000..4115674a Binary files /dev/null and b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1623/solution0_0.png differ diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1623/solution0_0.xmi b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1623/solution0_0.xmi new file mode 100644 index 00000000..52707ad5 --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1623/solution0_0.xmi @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1623/solution1_0.gml b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1623/solution1_0.gml new file mode 100644 index 00000000..5cba67ef --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1623/solution1_0.gml @@ -0,0 +1,1145 @@ +graph +[ + node + [ + id 0 + graphics + [ + w 41.800000000000004 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "true" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 1 + graphics + [ + w 50.6 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "false" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 2 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "0" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 3 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "1" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 4 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "2" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 5 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "3" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 6 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "4" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 7 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "5" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 8 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "6" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 9 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "7" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 10 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "8" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 11 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "9" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 12 + graphics + [ + w 138.60000000000002 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + FamilyTree class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 13 + graphics + [ + w 107.80000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Member class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 14 + graphics + [ + w 107.80000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Member class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 15 + graphics + [ + w 107.80000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Member class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 16 + graphics + [ + w 107.80000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Member class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 17 + graphics + [ + w 107.80000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Member class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 18 + graphics + [ + w 112.2 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "New Integers" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 19 + graphics + [ + w 85.80000000000001 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "New Reals" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 20 + graphics + [ + w 103.4 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "New Strings" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 21 + graphics + [ + w 103.4 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "New Objects" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + edge + [ + source 12 + target 13 + graphics + [ + fill "#000000" + width 3 + targetArrow "standard" + ] + LabelGraphics + [ + text "members reference FamilyTree" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 12 + target 14 + graphics + [ + fill "#000000" + width 3 + targetArrow "standard" + ] + LabelGraphics + [ + text "members reference FamilyTree" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 12 + target 15 + graphics + [ + fill "#000000" + width 3 + targetArrow "standard" + ] + LabelGraphics + [ + text "members reference FamilyTree" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 12 + target 16 + graphics + [ + fill "#000000" + width 3 + targetArrow "standard" + ] + LabelGraphics + [ + text "members reference FamilyTree" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 12 + target 17 + graphics + [ + fill "#000000" + width 3 + targetArrow "standard" + ] + LabelGraphics + [ + text "members reference FamilyTree" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 13 + target 13 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 13 + target 15 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 13 + target 14 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 15 + target 14 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 14 + target 13 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 13 + target 13 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 15 + target 13 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 14 + target 13 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 14 + target 15 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 13 + target 14 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 13 + target 7 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "age attribute Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 14 + target 11 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "age attribute Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 15 + target 2 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "age attribute Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 16 + target 9 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "age attribute Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] +] + diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1623/solution1_0.png b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1623/solution1_0.png new file mode 100644 index 00000000..775b1213 Binary files /dev/null and b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1623/solution1_0.png differ diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1623/solution1_0.xmi b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1623/solution1_0.xmi new file mode 100644 index 00000000..defcabbd --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1623/solution1_0.xmi @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1624/problem.logicproblem b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1624/problem.logicproblem new file mode 100644 index 00000000..ac0d6576 --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1624/problem.logicproblem @@ -0,0 +1,151 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1624/solution0_0.gml b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1624/solution0_0.gml new file mode 100644 index 00000000..dc97175f --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1624/solution0_0.gml @@ -0,0 +1,1183 @@ +graph +[ + node + [ + id 0 + graphics + [ + w 41.800000000000004 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "true" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 1 + graphics + [ + w 50.6 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "false" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 2 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "0" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 3 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "1" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 4 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "2" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 5 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "3" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 6 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "4" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 7 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "5" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 8 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "6" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 9 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "7" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 10 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "8" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 11 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "9" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 12 + graphics + [ + w 138.60000000000002 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + FamilyTree class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 13 + graphics + [ + w 107.80000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Member class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 14 + graphics + [ + w 107.80000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Member class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 15 + graphics + [ + w 107.80000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Member class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 16 + graphics + [ + w 107.80000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Member class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 17 + graphics + [ + w 107.80000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Member class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 18 + graphics + [ + w 112.2 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "New Integers" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 19 + graphics + [ + w 85.80000000000001 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "New Reals" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 20 + graphics + [ + w 103.4 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "New Strings" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 21 + graphics + [ + w 103.4 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "New Objects" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + edge + [ + source 12 + target 13 + graphics + [ + fill "#000000" + width 3 + targetArrow "standard" + ] + LabelGraphics + [ + text "members reference FamilyTree" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 12 + target 14 + graphics + [ + fill "#000000" + width 3 + targetArrow "standard" + ] + LabelGraphics + [ + text "members reference FamilyTree" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 12 + target 15 + graphics + [ + fill "#000000" + width 3 + targetArrow "standard" + ] + LabelGraphics + [ + text "members reference FamilyTree" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 12 + target 16 + graphics + [ + fill "#000000" + width 3 + targetArrow "standard" + ] + LabelGraphics + [ + text "members reference FamilyTree" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 12 + target 17 + graphics + [ + fill "#000000" + width 3 + targetArrow "standard" + ] + LabelGraphics + [ + text "members reference FamilyTree" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 13 + target 13 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 14 + target 14 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 14 + target 13 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 13 + target 14 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 15 + target 15 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 13 + target 15 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 13 + target 13 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 14 + target 14 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 13 + target 14 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 14 + target 13 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 15 + target 15 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 15 + target 13 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 13 + target 9 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "age attribute Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 14 + target 8 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "age attribute Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 15 + target 10 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "age attribute Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 16 + target 9 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "age attribute Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] +] + diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1624/solution0_0.png b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1624/solution0_0.png new file mode 100644 index 00000000..774aed57 Binary files /dev/null and b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1624/solution0_0.png differ diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1624/solution0_0.xmi b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1624/solution0_0.xmi new file mode 100644 index 00000000..7e47d43b --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1624/solution0_0.xmi @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1624/solution1_0.gml b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1624/solution1_0.gml new file mode 100644 index 00000000..015da3d4 --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1624/solution1_0.gml @@ -0,0 +1,1259 @@ +graph +[ + node + [ + id 0 + graphics + [ + w 41.800000000000004 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "true" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 1 + graphics + [ + w 50.6 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "false" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 2 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "0" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 3 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "1" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 4 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "2" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 5 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "3" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 6 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "4" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 7 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "5" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 8 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "6" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 9 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "7" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 10 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "8" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 11 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "9" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 12 + graphics + [ + w 138.60000000000002 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + FamilyTree class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 13 + graphics + [ + w 107.80000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Member class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 14 + graphics + [ + w 107.80000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Member class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 15 + graphics + [ + w 107.80000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Member class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 16 + graphics + [ + w 107.80000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Member class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 17 + graphics + [ + w 107.80000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Member class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 18 + graphics + [ + w 112.2 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "New Integers" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 19 + graphics + [ + w 85.80000000000001 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "New Reals" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 20 + graphics + [ + w 103.4 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "New Strings" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 21 + graphics + [ + w 103.4 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "New Objects" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + edge + [ + source 12 + target 13 + graphics + [ + fill "#000000" + width 3 + targetArrow "standard" + ] + LabelGraphics + [ + text "members reference FamilyTree" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 12 + target 14 + graphics + [ + fill "#000000" + width 3 + targetArrow "standard" + ] + LabelGraphics + [ + text "members reference FamilyTree" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 12 + target 15 + graphics + [ + fill "#000000" + width 3 + targetArrow "standard" + ] + LabelGraphics + [ + text "members reference FamilyTree" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 12 + target 16 + graphics + [ + fill "#000000" + width 3 + targetArrow "standard" + ] + LabelGraphics + [ + text "members reference FamilyTree" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 12 + target 17 + graphics + [ + fill "#000000" + width 3 + targetArrow "standard" + ] + LabelGraphics + [ + text "members reference FamilyTree" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 13 + target 13 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 14 + target 13 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 13 + target 14 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 14 + target 15 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 15 + target 15 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 14 + target 14 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 15 + target 16 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 16 + target 16 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "children reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 13 + target 13 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 13 + target 14 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 14 + target 13 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 15 + target 14 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 15 + target 15 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 14 + target 14 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 16 + target 15 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 16 + target 16 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "parents reference Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 13 + target 3 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "age attribute Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 14 + target 11 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "age attribute Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 15 + target 8 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "age attribute Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 16 + target 2 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "age attribute Member" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] +] + diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1624/solution1_0.png b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1624/solution1_0.png new file mode 100644 index 00000000..14262d9e Binary files /dev/null and b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1624/solution1_0.png differ diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1624/solution1_0.xmi b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1624/solution1_0.xmi new file mode 100644 index 00000000..9c1fe50c --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1624/solution1_0.xmi @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1628/problem.logicproblem b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1628/problem.logicproblem new file mode 100644 index 00000000..b859d985 --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1628/problem.logicproblem @@ -0,0 +1,10009 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1641/problem.logicproblem b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1641/problem.logicproblem new file mode 100644 index 00000000..b859d985 --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1641/problem.logicproblem @@ -0,0 +1,10009 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1645/problem.logicproblem b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1645/problem.logicproblem new file mode 100644 index 00000000..b859d985 --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1645/problem.logicproblem @@ -0,0 +1,10009 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1645/solution0_0.gml b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1645/solution0_0.gml new file mode 100644 index 00000000..fc094082 --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1645/solution0_0.gml @@ -0,0 +1,2768 @@ +graph +[ + node + [ + id 0 + graphics + [ + w 173.8 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "WWW literal Grantor" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Grantor enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 1 + graphics + [ + w 217.8 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "Employer literal Grantor" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Grantor enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 2 + graphics + [ + w 173.8 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "MMM literal Grantor" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Grantor enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 3 + graphics + [ + w 173.8 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "UUU literal Grantor" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Grantor enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 4 + graphics + [ + w 173.8 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "YYY literal Grantor" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Grantor enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 5 + graphics + [ + w 173.8 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "OOO literal Grantor" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Grantor enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 6 + graphics + [ + w 261.8 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "beug literal Disability_Types" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Disability_Types enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 7 + graphics + [ + w 261.8 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "NONE literal Disability_Types" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Disability_Types enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 8 + graphics + [ + w 235.4 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "A literal Disability_Types" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Disability_Types enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 9 + graphics + [ + w 235.4 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "B literal Disability_Types" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Disability_Types enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 10 + graphics + [ + w 235.4 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "C literal Disability_Types" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Disability_Types enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 11 + graphics + [ + w 235.4 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "D literal Disability_Types" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Disability_Types enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 12 + graphics + [ + w 235.4 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "E literal Disability_Types" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Disability_Types enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 13 + graphics + [ + w 270.6 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "OTHER literal Disability_Types" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Disability_Types enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 14 + graphics + [ + w 165.0 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "ZZ literal Country" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Country enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 15 + graphics + [ + w 165.0 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "FF literal Country" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Country enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 16 + graphics + [ + w 165.0 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "BB literal Country" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Country enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 17 + graphics + [ + w 165.0 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "DD literal Country" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Country enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 18 + graphics + [ + w 165.0 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "NN literal Country" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Country enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 19 + graphics + [ + w 191.4 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "OTHER literal Country" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Country enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 20 + graphics + [ + w 279.40000000000003 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "Principal literal Tax_Card_Type" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Tax_Card_Type enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 21 + graphics + [ + w 288.20000000000005 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "Additional literal Tax_Card_Type" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Tax_Card_Type enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 22 + graphics + [ + w 217.8 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "RTS_2 literal Tax_Office" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Tax_Office enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 23 + graphics + [ + w 217.8 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "RTS_3 literal Tax_Office" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Tax_Office enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 24 + graphics + [ + w 217.8 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "RTS_4 literal Tax_Office" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Tax_Office enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 25 + graphics + [ + w 217.8 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "RTS_5 literal Tax_Office" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Tax_Office enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 26 + graphics + [ + w 270.6 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "One literal Tax_Class_Category" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Tax_Class_Category enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 27 + graphics + [ + w 288.20000000000005 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "One_A literal Tax_Class_Category" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Tax_Class_Category enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 28 + graphics + [ + w 270.6 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "Two literal Tax_Class_Category" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Tax_Class_Category enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 29 + graphics + [ + w 244.20000000000002 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "Salary literal Job_Activity" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Job_Activity enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 30 + graphics + [ + w 253.00000000000003 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "Pension literal Job_Activity" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Job_Activity enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 31 + graphics + [ + w 253.00000000000003 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "Annuity literal Job_Activity" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Job_Activity enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 32 + graphics + [ + w 138.60000000000002 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "LL literal Town" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Town enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 33 + graphics + [ + w 138.60000000000002 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "BB literal Town" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Town enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 34 + graphics + [ + w 138.60000000000002 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "SS literal Town" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Town enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 35 + graphics + [ + w 138.60000000000002 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "TT literal Town" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Town enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 36 + graphics + [ + w 165.0 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "Other literal Town" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Town enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 37 + graphics + [ + w 253.00000000000003 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "REGULAR literal Type_of_Rate" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Type_of_Rate enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 38 + graphics + [ + w 270.6 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "REAL_COST literal Type_of_Rate" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Type_of_Rate enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 39 + graphics + [ + w 349.8 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "INALIDITY_AND_INFIRMITY literal CE_Type" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + CE_Type enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 40 + graphics + [ + w 675.4000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "DEPENDENCE_AND_CARE_EXCLUDING_CHLIDREN_NOT_PART_OF_HOUSEHOLD literal CE_Type" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + CE_Type enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 41 + graphics + [ + w 543.4000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "CARE_FOR_CHILDREN_NOT_BEING_PART_OF_HOUSEHOLD literal CE_Type" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + CE_Type enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 42 + graphics + [ + w 305.8 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "HOUSE_CARE literal Expense_Purpose" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Expense_Purpose enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 43 + graphics + [ + w 305.8 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "CHILD_CARE literal Expense_Purpose" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Expense_Purpose enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 44 + graphics + [ + w 349.8 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "DEPENDENCE_CARE literal Expense_Purpose" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Expense_Purpose enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 45 + graphics + [ + w 261.8 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "OTHER literal Expense_Purpose" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Expense_Purpose enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 46 + graphics + [ + w 279.40000000000003 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "ALIMONY literal Expense_Purpose" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Expense_Purpose enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 47 + graphics + [ + w 341.0 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "RECURRENT_DEPT literal Expense_Purpose" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Expense_Purpose enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 48 + graphics + [ + w 253.00000000000003 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "CHILD literal Dependent_Type" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Dependent_Type enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 49 + graphics + [ + w 261.8 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "SPOUSE literal Dependent_Type" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Dependent_Type enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 50 + graphics + [ + w 279.40000000000003 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "RELATIVE literal Dependent_Type" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Dependent_Type enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 51 + graphics + [ + w 376.20000000000005 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "OTHER_FAMILY_MEMBER literal Dependent_Type" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Dependent_Type enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 52 + graphics + [ + w 323.40000000000003 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "NOT_OWN_CHILD literal Dependent_Type" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Dependent_Type enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 53 + graphics + [ + w 270.6 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "NONE literal Separation_Causes" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Separation_Causes enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 54 + graphics + [ + w 297.0 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "DIVORCE literal Separation_Causes" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Separation_Causes enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 55 + graphics + [ + w 393.8 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "SEPARATION_DE_FAIT literal Separation_Causes" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Separation_Causes enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 56 + graphics + [ + w 402.6 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "SEPARATION_BY_COURT literal Separation_Causes" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Separation_Causes enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 57 + graphics + [ + w 499.40000000000003 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "MISCELLANEOUS_DEBT literal Category_of_Permanent_Expense" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Category_of_Permanent_Expense enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 58 + graphics + [ + w 402.6 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "ALIMONY literal Category_of_Permanent_Expense" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Category_of_Permanent_Expense enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 59 + graphics + [ + w 781.0000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "MANDATORY_HEALTH_AND_PENSION_INSURANCE literal Category_of_Health_and_Pension_Insurances" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Category_of_Health_and_Pension_Insurances enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 60 + graphics + [ + w 781.0000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "ADDITIONAL_EMPLOYERS_PENSION_INSURANCE literal Category_of_Health_and_Pension_Insurances" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Category_of_Health_and_Pension_Insurances enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 61 + graphics + [ + w 781.0000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "CONTINUED_HEALTH_AND_PENSION_INSURANCE literal Category_of_Health_and_Pension_Insurances" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Category_of_Health_and_Pension_Insurances enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 62 + graphics + [ + w 569.8000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "PRIVATE_INSURANCE literal Category_of_Private_Insurance_and_Plan" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Category_of_Private_Insurance_and_Plan enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 63 + graphics + [ + w 613.8000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "PRIVATE_LIFE_INSURANCE literal Category_of_Private_Insurance_and_Plan" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Category_of_Private_Insurance_and_Plan enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 64 + graphics + [ + w 710.6 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "COMPANY_MEMBERS_PRIVATE_INSURANCE literal Category_of_Private_Insurance_and_Plan" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Category_of_Private_Insurance_and_Plan enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 65 + graphics + [ + w 587.4000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "HOUSING_SAVING_PLAN literal Category_of_Private_Insurance_and_Plan" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Category_of_Private_Insurance_and_Plan enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 66 + graphics + [ + w 596.2 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "OLD_AGE_PENSION_PLAN literal Category_of_Private_Insurance_and_Plan" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Category_of_Private_Insurance_and_Plan enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 67 + graphics + [ + w 297.0 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "MARIAGE literal Legal_Union_Types" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Legal_Union_Types enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 68 + graphics + [ + w 332.20000000000005 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "PARTNERSHIP literal Legal_Union_Types" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Legal_Union_Types enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 69 + graphics + [ + w 279.40000000000003 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "OTHER literal Legal_Union_Types" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Legal_Union_Types enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 70 + graphics + [ + w 41.800000000000004 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "true" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 71 + graphics + [ + w 50.6 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "false" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 72 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "0" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 73 + graphics + [ + w 112.2 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "New Integers" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 74 + graphics + [ + w 85.80000000000001 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "New Reals" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 75 + graphics + [ + w 103.4 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "New Strings" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 76 + graphics + [ + w 103.4 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "New Objects" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] +] + diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1645/solution0_0.png b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1645/solution0_0.png new file mode 100644 index 00000000..8cabb708 Binary files /dev/null and b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1645/solution0_0.png differ diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1701/problem.logicproblem b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1701/problem.logicproblem new file mode 100644 index 00000000..b859d985 --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1701/problem.logicproblem @@ -0,0 +1,10009 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1714/problem.logicproblem b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1714/problem.logicproblem new file mode 100644 index 00000000..606dbf44 --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1714/problem.logicproblem @@ -0,0 +1,10067 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1718/problem.logicproblem b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1718/problem.logicproblem new file mode 100644 index 00000000..606dbf44 --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1718/problem.logicproblem @@ -0,0 +1,10067 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1733/problem.logicproblem b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1733/problem.logicproblem new file mode 100644 index 00000000..b859d985 --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1733/problem.logicproblem @@ -0,0 +1,10009 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1733/solution0_0.gml b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1733/solution0_0.gml new file mode 100644 index 00000000..b412a46a --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1733/solution0_0.gml @@ -0,0 +1,2803 @@ +graph +[ + node + [ + id 0 + graphics + [ + w 173.8 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "WWW literal Grantor" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Grantor enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 1 + graphics + [ + w 217.8 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "Employer literal Grantor" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Grantor enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 2 + graphics + [ + w 173.8 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "MMM literal Grantor" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Grantor enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 3 + graphics + [ + w 173.8 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "UUU literal Grantor" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Grantor enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 4 + graphics + [ + w 173.8 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "YYY literal Grantor" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Grantor enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 5 + graphics + [ + w 173.8 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "OOO literal Grantor" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Grantor enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 6 + graphics + [ + w 261.8 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "beug literal Disability_Types" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Disability_Types enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 7 + graphics + [ + w 261.8 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "NONE literal Disability_Types" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Disability_Types enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 8 + graphics + [ + w 235.4 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "A literal Disability_Types" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Disability_Types enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 9 + graphics + [ + w 235.4 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "B literal Disability_Types" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Disability_Types enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 10 + graphics + [ + w 235.4 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "C literal Disability_Types" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Disability_Types enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 11 + graphics + [ + w 235.4 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "D literal Disability_Types" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Disability_Types enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 12 + graphics + [ + w 235.4 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "E literal Disability_Types" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Disability_Types enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 13 + graphics + [ + w 270.6 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "OTHER literal Disability_Types" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Disability_Types enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 14 + graphics + [ + w 165.0 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "ZZ literal Country" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Country enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 15 + graphics + [ + w 165.0 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "FF literal Country" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Country enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 16 + graphics + [ + w 165.0 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "BB literal Country" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Country enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 17 + graphics + [ + w 165.0 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "DD literal Country" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Country enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 18 + graphics + [ + w 165.0 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "NN literal Country" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Country enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 19 + graphics + [ + w 191.4 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "OTHER literal Country" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Country enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 20 + graphics + [ + w 279.40000000000003 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "Principal literal Tax_Card_Type" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Tax_Card_Type enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 21 + graphics + [ + w 288.20000000000005 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "Additional literal Tax_Card_Type" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Tax_Card_Type enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 22 + graphics + [ + w 217.8 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "RTS_2 literal Tax_Office" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Tax_Office enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 23 + graphics + [ + w 217.8 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "RTS_3 literal Tax_Office" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Tax_Office enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 24 + graphics + [ + w 217.8 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "RTS_4 literal Tax_Office" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Tax_Office enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 25 + graphics + [ + w 217.8 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "RTS_5 literal Tax_Office" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Tax_Office enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 26 + graphics + [ + w 270.6 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "One literal Tax_Class_Category" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Tax_Class_Category enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 27 + graphics + [ + w 288.20000000000005 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "One_A literal Tax_Class_Category" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Tax_Class_Category enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 28 + graphics + [ + w 270.6 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "Two literal Tax_Class_Category" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Tax_Class_Category enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 29 + graphics + [ + w 244.20000000000002 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "Salary literal Job_Activity" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Job_Activity enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 30 + graphics + [ + w 253.00000000000003 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "Pension literal Job_Activity" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Job_Activity enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 31 + graphics + [ + w 253.00000000000003 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "Annuity literal Job_Activity" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Job_Activity enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 32 + graphics + [ + w 138.60000000000002 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "LL literal Town" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Town enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 33 + graphics + [ + w 138.60000000000002 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "BB literal Town" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Town enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 34 + graphics + [ + w 138.60000000000002 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "SS literal Town" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Town enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 35 + graphics + [ + w 138.60000000000002 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "TT literal Town" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Town enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 36 + graphics + [ + w 165.0 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "Other literal Town" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Town enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 37 + graphics + [ + w 253.00000000000003 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "REGULAR literal Type_of_Rate" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Type_of_Rate enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 38 + graphics + [ + w 270.6 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "REAL_COST literal Type_of_Rate" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Type_of_Rate enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 39 + graphics + [ + w 349.8 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "INALIDITY_AND_INFIRMITY literal CE_Type" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + CE_Type enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 40 + graphics + [ + w 675.4000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "DEPENDENCE_AND_CARE_EXCLUDING_CHLIDREN_NOT_PART_OF_HOUSEHOLD literal CE_Type" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + CE_Type enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 41 + graphics + [ + w 543.4000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "CARE_FOR_CHILDREN_NOT_BEING_PART_OF_HOUSEHOLD literal CE_Type" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + CE_Type enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 42 + graphics + [ + w 305.8 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "HOUSE_CARE literal Expense_Purpose" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Expense_Purpose enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 43 + graphics + [ + w 305.8 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "CHILD_CARE literal Expense_Purpose" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Expense_Purpose enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 44 + graphics + [ + w 349.8 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "DEPENDENCE_CARE literal Expense_Purpose" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Expense_Purpose enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 45 + graphics + [ + w 261.8 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "OTHER literal Expense_Purpose" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Expense_Purpose enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 46 + graphics + [ + w 279.40000000000003 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "ALIMONY literal Expense_Purpose" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Expense_Purpose enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 47 + graphics + [ + w 341.0 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "RECURRENT_DEPT literal Expense_Purpose" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Expense_Purpose enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 48 + graphics + [ + w 253.00000000000003 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "CHILD literal Dependent_Type" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Dependent_Type enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 49 + graphics + [ + w 261.8 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "SPOUSE literal Dependent_Type" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Dependent_Type enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 50 + graphics + [ + w 279.40000000000003 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "RELATIVE literal Dependent_Type" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Dependent_Type enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 51 + graphics + [ + w 376.20000000000005 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "OTHER_FAMILY_MEMBER literal Dependent_Type" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Dependent_Type enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 52 + graphics + [ + w 323.40000000000003 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "NOT_OWN_CHILD literal Dependent_Type" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Dependent_Type enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 53 + graphics + [ + w 270.6 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "NONE literal Separation_Causes" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Separation_Causes enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 54 + graphics + [ + w 297.0 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "DIVORCE literal Separation_Causes" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Separation_Causes enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 55 + graphics + [ + w 393.8 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "SEPARATION_DE_FAIT literal Separation_Causes" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Separation_Causes enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 56 + graphics + [ + w 402.6 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "SEPARATION_BY_COURT literal Separation_Causes" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Separation_Causes enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 57 + graphics + [ + w 499.40000000000003 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "MISCELLANEOUS_DEBT literal Category_of_Permanent_Expense" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Category_of_Permanent_Expense enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 58 + graphics + [ + w 402.6 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "ALIMONY literal Category_of_Permanent_Expense" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Category_of_Permanent_Expense enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 59 + graphics + [ + w 781.0000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "MANDATORY_HEALTH_AND_PENSION_INSURANCE literal Category_of_Health_and_Pension_Insurances" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Category_of_Health_and_Pension_Insurances enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 60 + graphics + [ + w 781.0000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "ADDITIONAL_EMPLOYERS_PENSION_INSURANCE literal Category_of_Health_and_Pension_Insurances" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Category_of_Health_and_Pension_Insurances enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 61 + graphics + [ + w 781.0000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "CONTINUED_HEALTH_AND_PENSION_INSURANCE literal Category_of_Health_and_Pension_Insurances" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Category_of_Health_and_Pension_Insurances enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 62 + graphics + [ + w 569.8000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "PRIVATE_INSURANCE literal Category_of_Private_Insurance_and_Plan" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Category_of_Private_Insurance_and_Plan enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 63 + graphics + [ + w 613.8000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "PRIVATE_LIFE_INSURANCE literal Category_of_Private_Insurance_and_Plan" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Category_of_Private_Insurance_and_Plan enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 64 + graphics + [ + w 710.6 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "COMPANY_MEMBERS_PRIVATE_INSURANCE literal Category_of_Private_Insurance_and_Plan" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Category_of_Private_Insurance_and_Plan enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 65 + graphics + [ + w 587.4000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "HOUSING_SAVING_PLAN literal Category_of_Private_Insurance_and_Plan" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Category_of_Private_Insurance_and_Plan enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 66 + graphics + [ + w 596.2 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "OLD_AGE_PENSION_PLAN literal Category_of_Private_Insurance_and_Plan" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Category_of_Private_Insurance_and_Plan enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 67 + graphics + [ + w 297.0 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "MARIAGE literal Legal_Union_Types" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Legal_Union_Types enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 68 + graphics + [ + w 332.20000000000005 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "PARTNERSHIP literal Legal_Union_Types" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Legal_Union_Types enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 69 + graphics + [ + w 279.40000000000003 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "OTHER literal Legal_Union_Types" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Legal_Union_Types enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 70 + graphics + [ + w 41.800000000000004 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "true" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 71 + graphics + [ + w 50.6 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "false" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 72 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "0" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 73 + graphics + [ + w 33.0 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "0.0" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 74 + graphics + [ + w 112.2 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "New Integers" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 75 + graphics + [ + w 85.80000000000001 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "New Reals" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 76 + graphics + [ + w 103.4 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "New Strings" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 77 + graphics + [ + w 103.4 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "New Objects" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] +] + diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1733/solution0_0.png b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1733/solution0_0.png new file mode 100644 index 00000000..ca7320ac Binary files /dev/null and b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1733/solution0_0.png differ diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1933/problem.logicproblem b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1933/problem.logicproblem new file mode 100644 index 00000000..b859d985 --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1933/problem.logicproblem @@ -0,0 +1,10009 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1933/solution0_0.gml b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1933/solution0_0.gml new file mode 100644 index 00000000..b412a46a --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1933/solution0_0.gml @@ -0,0 +1,2803 @@ +graph +[ + node + [ + id 0 + graphics + [ + w 173.8 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "WWW literal Grantor" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Grantor enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 1 + graphics + [ + w 217.8 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "Employer literal Grantor" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Grantor enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 2 + graphics + [ + w 173.8 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "MMM literal Grantor" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Grantor enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 3 + graphics + [ + w 173.8 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "UUU literal Grantor" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Grantor enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 4 + graphics + [ + w 173.8 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "YYY literal Grantor" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Grantor enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 5 + graphics + [ + w 173.8 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "OOO literal Grantor" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Grantor enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 6 + graphics + [ + w 261.8 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "beug literal Disability_Types" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Disability_Types enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 7 + graphics + [ + w 261.8 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "NONE literal Disability_Types" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Disability_Types enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 8 + graphics + [ + w 235.4 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "A literal Disability_Types" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Disability_Types enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 9 + graphics + [ + w 235.4 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "B literal Disability_Types" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Disability_Types enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 10 + graphics + [ + w 235.4 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "C literal Disability_Types" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Disability_Types enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 11 + graphics + [ + w 235.4 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "D literal Disability_Types" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Disability_Types enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 12 + graphics + [ + w 235.4 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "E literal Disability_Types" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Disability_Types enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 13 + graphics + [ + w 270.6 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "OTHER literal Disability_Types" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Disability_Types enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 14 + graphics + [ + w 165.0 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "ZZ literal Country" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Country enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 15 + graphics + [ + w 165.0 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "FF literal Country" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Country enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 16 + graphics + [ + w 165.0 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "BB literal Country" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Country enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 17 + graphics + [ + w 165.0 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "DD literal Country" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Country enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 18 + graphics + [ + w 165.0 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "NN literal Country" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Country enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 19 + graphics + [ + w 191.4 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "OTHER literal Country" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Country enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 20 + graphics + [ + w 279.40000000000003 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "Principal literal Tax_Card_Type" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Tax_Card_Type enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 21 + graphics + [ + w 288.20000000000005 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "Additional literal Tax_Card_Type" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Tax_Card_Type enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 22 + graphics + [ + w 217.8 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "RTS_2 literal Tax_Office" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Tax_Office enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 23 + graphics + [ + w 217.8 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "RTS_3 literal Tax_Office" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Tax_Office enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 24 + graphics + [ + w 217.8 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "RTS_4 literal Tax_Office" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Tax_Office enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 25 + graphics + [ + w 217.8 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "RTS_5 literal Tax_Office" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Tax_Office enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 26 + graphics + [ + w 270.6 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "One literal Tax_Class_Category" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Tax_Class_Category enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 27 + graphics + [ + w 288.20000000000005 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "One_A literal Tax_Class_Category" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Tax_Class_Category enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 28 + graphics + [ + w 270.6 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "Two literal Tax_Class_Category" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Tax_Class_Category enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 29 + graphics + [ + w 244.20000000000002 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "Salary literal Job_Activity" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Job_Activity enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 30 + graphics + [ + w 253.00000000000003 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "Pension literal Job_Activity" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Job_Activity enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 31 + graphics + [ + w 253.00000000000003 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "Annuity literal Job_Activity" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Job_Activity enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 32 + graphics + [ + w 138.60000000000002 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "LL literal Town" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Town enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 33 + graphics + [ + w 138.60000000000002 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "BB literal Town" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Town enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 34 + graphics + [ + w 138.60000000000002 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "SS literal Town" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Town enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 35 + graphics + [ + w 138.60000000000002 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "TT literal Town" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Town enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 36 + graphics + [ + w 165.0 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "Other literal Town" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Town enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 37 + graphics + [ + w 253.00000000000003 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "REGULAR literal Type_of_Rate" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Type_of_Rate enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 38 + graphics + [ + w 270.6 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "REAL_COST literal Type_of_Rate" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Type_of_Rate enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 39 + graphics + [ + w 349.8 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "INALIDITY_AND_INFIRMITY literal CE_Type" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + CE_Type enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 40 + graphics + [ + w 675.4000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "DEPENDENCE_AND_CARE_EXCLUDING_CHLIDREN_NOT_PART_OF_HOUSEHOLD literal CE_Type" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + CE_Type enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 41 + graphics + [ + w 543.4000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "CARE_FOR_CHILDREN_NOT_BEING_PART_OF_HOUSEHOLD literal CE_Type" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + CE_Type enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 42 + graphics + [ + w 305.8 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "HOUSE_CARE literal Expense_Purpose" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Expense_Purpose enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 43 + graphics + [ + w 305.8 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "CHILD_CARE literal Expense_Purpose" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Expense_Purpose enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 44 + graphics + [ + w 349.8 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "DEPENDENCE_CARE literal Expense_Purpose" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Expense_Purpose enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 45 + graphics + [ + w 261.8 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "OTHER literal Expense_Purpose" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Expense_Purpose enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 46 + graphics + [ + w 279.40000000000003 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "ALIMONY literal Expense_Purpose" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Expense_Purpose enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 47 + graphics + [ + w 341.0 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "RECURRENT_DEPT literal Expense_Purpose" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Expense_Purpose enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 48 + graphics + [ + w 253.00000000000003 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "CHILD literal Dependent_Type" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Dependent_Type enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 49 + graphics + [ + w 261.8 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "SPOUSE literal Dependent_Type" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Dependent_Type enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 50 + graphics + [ + w 279.40000000000003 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "RELATIVE literal Dependent_Type" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Dependent_Type enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 51 + graphics + [ + w 376.20000000000005 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "OTHER_FAMILY_MEMBER literal Dependent_Type" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Dependent_Type enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 52 + graphics + [ + w 323.40000000000003 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "NOT_OWN_CHILD literal Dependent_Type" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Dependent_Type enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 53 + graphics + [ + w 270.6 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "NONE literal Separation_Causes" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Separation_Causes enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 54 + graphics + [ + w 297.0 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "DIVORCE literal Separation_Causes" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Separation_Causes enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 55 + graphics + [ + w 393.8 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "SEPARATION_DE_FAIT literal Separation_Causes" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Separation_Causes enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 56 + graphics + [ + w 402.6 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "SEPARATION_BY_COURT literal Separation_Causes" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Separation_Causes enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 57 + graphics + [ + w 499.40000000000003 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "MISCELLANEOUS_DEBT literal Category_of_Permanent_Expense" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Category_of_Permanent_Expense enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 58 + graphics + [ + w 402.6 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "ALIMONY literal Category_of_Permanent_Expense" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Category_of_Permanent_Expense enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 59 + graphics + [ + w 781.0000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "MANDATORY_HEALTH_AND_PENSION_INSURANCE literal Category_of_Health_and_Pension_Insurances" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Category_of_Health_and_Pension_Insurances enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 60 + graphics + [ + w 781.0000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "ADDITIONAL_EMPLOYERS_PENSION_INSURANCE literal Category_of_Health_and_Pension_Insurances" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Category_of_Health_and_Pension_Insurances enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 61 + graphics + [ + w 781.0000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "CONTINUED_HEALTH_AND_PENSION_INSURANCE literal Category_of_Health_and_Pension_Insurances" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Category_of_Health_and_Pension_Insurances enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 62 + graphics + [ + w 569.8000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "PRIVATE_INSURANCE literal Category_of_Private_Insurance_and_Plan" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Category_of_Private_Insurance_and_Plan enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 63 + graphics + [ + w 613.8000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "PRIVATE_LIFE_INSURANCE literal Category_of_Private_Insurance_and_Plan" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Category_of_Private_Insurance_and_Plan enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 64 + graphics + [ + w 710.6 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "COMPANY_MEMBERS_PRIVATE_INSURANCE literal Category_of_Private_Insurance_and_Plan" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Category_of_Private_Insurance_and_Plan enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 65 + graphics + [ + w 587.4000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "HOUSING_SAVING_PLAN literal Category_of_Private_Insurance_and_Plan" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Category_of_Private_Insurance_and_Plan enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 66 + graphics + [ + w 596.2 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "OLD_AGE_PENSION_PLAN literal Category_of_Private_Insurance_and_Plan" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Category_of_Private_Insurance_and_Plan enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 67 + graphics + [ + w 297.0 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "MARIAGE literal Legal_Union_Types" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Legal_Union_Types enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 68 + graphics + [ + w 332.20000000000005 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "PARTNERSHIP literal Legal_Union_Types" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Legal_Union_Types enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 69 + graphics + [ + w 279.40000000000003 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "OTHER literal Legal_Union_Types" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Legal_Union_Types enum + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 70 + graphics + [ + w 41.800000000000004 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "true" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 71 + graphics + [ + w 50.6 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "false" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 72 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "0" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 73 + graphics + [ + w 33.0 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "0.0" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 74 + graphics + [ + w 112.2 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "New Integers" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 75 + graphics + [ + w 85.80000000000001 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "New Reals" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 76 + graphics + [ + w 103.4 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "New Strings" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 77 + graphics + [ + w 103.4 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "New Objects" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] +] + diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1933/solution0_0.png b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1933/solution0_0.png new file mode 100644 index 00000000..df1ce269 Binary files /dev/null and b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1933/solution0_0.png differ diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1946/problem.logicproblem b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1946/problem.logicproblem new file mode 100644 index 00000000..43fe1da3 --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1946/problem.logicproblem @@ -0,0 +1,10014 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/plugin.xml b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/plugin.xml new file mode 100644 index 00000000..2f4febdb --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/plugin.xml @@ -0,0 +1 @@ + diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/src-gen/queries/.gitignore b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/src-gen/queries/.gitignore new file mode 100644 index 00000000..527f3a0e --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/src-gen/queries/.gitignore @@ -0,0 +1,112 @@ +/.Inv17.java._trace +/.Inv20.java._trace +/.Inv33_con.java._trace +/.Inv34.java._trace +/.Inv35.java._trace +/.Inv47.java._trace +/.Inv48.java._trace +/.Inv48_helper.java._trace +/.Case_study_A.java._trace +/.Inv49.java._trace +/.Inv49_con.java._trace +/.Inv49_helper.java._trace +/.H_inv49.java._trace +/.Ocl_inv49.java._trace +/.Vql_inv49.java._trace +/.Vql_inv492.java._trace +/.H1_inv48.java._trace +/.H2_inv48.java._trace +/.Vql_inv48.java._trace +/.H3_inv48.java._trace +/.H1_inv49.java._trace +/.H2_inv49.java._trace +/.H_inv47.java._trace +/.Inv35test.java._trace +/.Inv33.java._trace +/.X.java._trace +/.H_inv16_moreThan1.java._trace +/.H_inv48_1.java._trace +/.H_inv48_2.java._trace +/.H_inv48_3.java._trace +/.H_inv49_1.java._trace +/.H_inv49_2.java._trace +/.Inv16.java._trace +/.Inv15.java._trace +/.H_inv13.java._trace +/.Inv13.java._trace +/.Inv12.java._trace +/.H_inv12_notNonRes.java._trace +/.H_inv12_notZZ.java._trace +/.H_inv11_incOver100.java._trace +/.Inv11.java._trace +/.H_inv11_incNotOver100.java._trace +/.H_inv8_notEI.java._trace +/.Inv8.java._trace +/.H_inv08_notEI.java._trace +/.Inv08.java._trace +/.H_inv08_inRange.java._trace +/.X_inv08_inRange.java._trace +/.X_inv08_notEI.java._trace +/.X_inv11_incNotOver100.java._trace +/.X_inv11_incOver100.java._trace +/.X_inv12_notNonRes.java._trace +/.X_inv12_notZZ.java._trace +/.X_inv13.java._trace +/.X_inv47.java._trace +/.X_inv48_1.java._trace +/.X_inv48_2.java._trace +/.X_inv48_3.java._trace +/.X_inv49_1.java._trace +/.X_inv49_2.java._trace +/.X_inv48_Dis.java._trace +/.X_inv48_notDis.java._trace +/.X_inv08_noType.java._trace +/.X_inv08_invalidType.java._trace +/.Inv06.java._trace +/.X_inv06_inRange.java._trace +/.Inv05.java._trace +/.X_inv05_inRange.java._trace +/.Inv03.java._trace +/.X_inv03_noAll.java._trace +/.X_inv03_eligAll.java._trace +/.X_inv03_hasAll.java._trace +/.Inv07.java._trace +/.Inv10.java._trace +/.X_inv15.java._trace +/Inv03.java +/Inv05.java +/Inv06.java +/X_inv03_eligAll.java +/X_inv03_hasAll.java +/X_inv05_inRange.java +/Case_study_A.java +/Inv07.java +/Inv08.java +/Inv10.java +/Inv11.java +/Inv12.java +/Inv13.java +/Inv15.java +/Inv17.java +/Inv20.java +/Inv33.java +/Inv34.java +/Inv35.java +/Inv47.java +/Inv48.java +/Inv49.java +/X_inv08_inRange.java +/X_inv08_noType.java +/X_inv08_notEI.java +/X_inv11_incNotOver100.java +/X_inv11_incOver100.java +/X_inv12_notNonRes.java +/X_inv12_notZZ.java +/X_inv13.java +/X_inv15.java +/X_inv47.java +/X_inv48_3.java +/X_inv48_Dis.java +/X_inv48_notDis.java +/X_inv49_1.java +/X_inv49_2.java diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/src/queries/NewOCLFileX.ocl b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/src/queries/NewOCLFileX.ocl new file mode 100644 index 00000000..66ae728e --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/src/queries/NewOCLFileX.ocl @@ -0,0 +1,45 @@ +import 'file:/Users/Aren Babikian/git/VIATRA-Attributes/case.study.a.model/model/Taxation.ecore' + +package Taxation + +--context Income inv inv8: +--if(not self.income_type.oclIsTypeOf(Employment_Income)) then +--self.details->forAll(d| d.distance = 0) +--else +--self.details->forAll(d| d.distance >= 0.0 and d.distance <= 100) +--endif +-- +--context Legal_Union_Record inv inv490: +--self.individual_A.oclIsKindOf(Tax_Payer) +-- +--context Legal_Union_Record inv inv491: +--self.individual_B->forAll(i | i.oclIsKindOf(Physical_Person) ) +-- +--context Legal_Union_Record inv inv492: +--self.individual_B->forAll(i | not i.oclIsTypeOf(Dependent) ) +-- +--context Legal_Union_Record inv inv493: +--self.individual_A <> self.individual_B +-- +--context Tax_Payer inv inv13: +-- self.addresses->exists( hab_add:Address | hab_add.oclIsTypeOf(Habitual_Address) = true and hab_add.country=Country::ZZ) +--implies +-- self.oclIsTypeOf(Resident_Tax_Payer) + + context Income inv inv7: +let val:Real =self.details->asOrderedSet()->first().distance in +self.details->forAll(d: Income_Detail|d.distance = val) + +--context External_Allowance inv inv15: +--let child:Dependent = self.person in +--let h:Household = Household.allInstances()->select(children->includes(child))->asOrderedSet()->first() in +--let t1:Set(Physical_Person) = Set{h.parents.individual_A}->union(h.parents.individual_B)->select(oclIsKindOf(Tax_Payer)) in +--if(t1->size()=1) then +--self.reciver = t1->asOrderedSet()->first() +--else +--self.reciver = t1->asOrderedSet()->at(2) or self.reciver = t1->asOrderedSet()->at(1) +--endif + + + +endpackage \ No newline at end of file diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/src/queries/case_study_A.vql b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/src/queries/case_study_A.vql new file mode 100644 index 00000000..f736ec58 --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/src/queries/case_study_A.vql @@ -0,0 +1,334 @@ +package queries + +import "http:///TaxCard.ecore" + +//AttributeRemoved -> DF + +//inv1-External_Allowance.amount is a derived feature (TODOcheck) +//inv2-Tax_Card.income.taxPayer.taxesDue is a derived feature (TODOcheck) + +//inv3-multiplicity adjusted +@Constraint(message = "inv03", severity = "error", key = {dep}) +pattern inv03(dep : Dependent) { + find x_inv03_eligAll(dep); + neg find x_inv03_hasAll(dep); +} or { + Dependent.birth_year(dep, by); + check(2018-by > 21); + Dependent.continued_studies(dep, false); + Dependent.allowances(dep, _); +} +pattern x_inv03_eligAll(dep : Dependent) { + Dependent.birth_year(dep, by); + check(2018-by <= 21); +} or { + Dependent.continued_studies(dep, true); +} +pattern x_inv03_hasAll(dep : Dependent) { + Dependent.allowances(dep, _); +} + +//inv5 - oclIsTypeOf - handled here +@Constraint(message = "inv05", severity = "error", key = {inc}) +pattern inv05(inc : Income) { + //income_type: None + neg find x_inv08_noType(inc); + Income.details.worked_days(inc, wd); + check(wd != 0); +} or { + //income_type: Not Employment_Income + Income.income_type(inc, type); + neg find x_inv08_notEI(type); + Income.details.worked_days(inc, wd); + check(wd != 0); +} or { + //income_type: Employment Income + Income.income_type(inc, type); + Employment_Income(type); + find x_inv05_inRange(inc); +} +pattern x_inv05_inRange(inc : Income) { + Income.details.worked_days(inc, wd); + check(wd < 1); +} or { + Income.details.worked_days(inc, wd); + check(wd > 25); +} + +//inv6-Does not make sens, but directly from OCL +//first part of or from definition of getAge() +@Constraint(message = "inv06", severity = "error", key = {tp}) +pattern inv06(tp : Tax_Payer) { + Tax_Payer.dependents(tp, _); + Tax_Payer.birth_year(tp, TPBy); + check(2018 - TPBy > 2018-16); +} or { + Tax_Payer.birth_year(tp, TPBy); + Tax_Payer.dependents(tp, dep); + Dependent.birth_year(dep, DepBy); + check(2018-DepBy <= 2018-TPBy-16); +} + +//inv7-OrderedSet +@Constraint(message = "inv07", severity = "error", key = {inc}) +pattern inv07(inc : Income) { + Income.details.distance(inc, d1); + Income.details.distance(inc, d2); + check(d1 != d2);//compare values +} + +//user_complete_details-AttributeRemoved + +//inv8 - oclIsTypeOf - handled here +@Constraint(message = "inv08", severity = "error", key = {inc}) +pattern inv08(inc : Income) { + //income_type: None + neg find x_inv08_noType(inc); + Income.details.distance(inc, dist); + check(dist != 0); +} or { + //income_type: Not Employment_Income + Income.income_type(inc, type); + neg find x_inv08_notEI(type); + Income.details.distance(inc, dist); + check(dist != 0); +} or { + //income_type: Employment Income + Income.income_type(inc, type); + Employment_Income(type); + find x_inv08_inRange(inc); +} +pattern x_inv08_notEI(type : Employment_Income) { + Employment_Income(type); +} +pattern x_inv08_noType(inc : Income) { + Income.income_type(inc, _); +} +pattern x_inv08_inRange(inc : Income) { + Income.details.distance(inc, dist); + check(dist < 0); +} or { + Income.details.distance(inc, dist); + check(dist > 100); +} +//inv9-DerivedFeature + +//inv10-Ordered Sets +@Constraint(message = "inv10", severity = "error", key = {inc}) +pattern inv10(inc : Income) { + Income.details.amount(inc, a1); + Income.details.amount(inc, a2); + check(a1 != a2);//compare values +} + +//inv11-attributes-handled by multiplicity +@Constraint(message = "inv11", severity = "error", key = {exp}) +pattern inv11(exp : Expense) { + find x_inv11_incOver100(exp); + find x_inv11_incNotOver100(exp); +} +pattern x_inv11_incOver100(exp : Expense) { + Expense.income.income_amount(exp, incVal); + check(incVal / 2 > 50); + +} or { + Expense.declared_amount(exp, decl); + check(decl != 50); +} +pattern x_inv11_incNotOver100(exp : Expense) { + Expense.income.income_amount(exp, incVal); + check(incVal / 2 <= 50); +} or { + Expense.declared_amount(exp, decl); + check(decl < 50); +} or { + Expense.income.income_amount(exp, incVal); + Expense.declared_amount(exp, decl); + check(decl > incVal/2); +} + +//inv12 +//exists - handled logically +@Constraint(message = "inv12", severity = "error", key = {tp}) +pattern inv12(tp : Tax_Payer) { + Tax_Payer.addresses(tp, hab_add); + Habitual_Address(hab_add); + neg find x_inv12_notZZ(hab_add); + Tax_Payer.incomes(tp, inc); + Local_Income(inc); + neg find x_inv12_notNonRes(tp); +} +pattern x_inv12_notNonRes(tp : Non_Resident_Tax_Payer) { + Non_Resident_Tax_Payer(tp); +} +pattern x_inv12_notZZ(hab_add : Habitual_Address) { + Address.country(hab_add, ::ZZ); +} + +//inv13 - Added new containment rel Phys_Pers->Address +//exists - handled logically +@Constraint(message = "inv13", severity = "error", key = {tp}) +pattern inv13(tp : Tax_Payer) { + Tax_Payer.addresses(tp, hab_add); + Habitual_Address(hab_add); + Address.country(hab_add, ::ZZ); + neg find x_inv13(tp); +} +pattern x_inv13(tp : Resident_Tax_Payer) { + Resident_Tax_Payer(tp); +} + +//inv14-MultiplicityChanged + +//inv15-Ordered Sets in assignment if block +//ERROR if no household object +@Constraint(message = "inv15", severity = "error", key = {ea}) +pattern inv15(ea : External_Allowance) { + neg find x_inv15(ea); +} +pattern x_inv15(ea : External_Allowance) { + External_Allowance.person(ea, child); + Household.children(h, child);//only one due to multiplicity + Household.parents.individual_A(h, iA); + Tax_Payer(iA); + External_Allowance.reciver(ea, iA); +} or { + External_Allowance.person(ea, child); + Household.children(h, child);//only one due to multiplicity + Household.parents.individual_B(h, iB); + Tax_Payer(iB); + External_Allowance.reciver(ea, iB); +} + +//inv16-Tax_Card.tax_card_type is a derived feature + +//inv17-attribute-handled by multiplicity +@Constraint(message = "inv17", severity = "error", key = {lur}) +pattern inv17(lur : Legal_Union_Record) { + Legal_Union_Record.start_year(lur, sy); + check(sy < 1950); +} or { + Legal_Union_Record.start_year(lur, sy); + check(sy > 2018); +} + +//inv18-MultiplicityChecked +//inv19-MultiplicityChecked + +//inv20-Useless constraint since both edges are containment (TODOCheck) +//OclIsUndefined-Handled by multiplicity +@Constraint(message = "inv20", severity = "error", key = {lur}) +pattern inv20(lur : Legal_Union_Record) { + Legal_Union_Record.individual_A(lur, iA); + Legal_Union_Record.individual_B(lur, iB); + iA == iB; +} +//inv21-MultiplicityChecked +//inv22-MultiplicityChecked +//inv23-MultiplicityChecked +//inv24-MultiplicityChecked +//inv25-MultiplicityChecked +//inv26-MultiplicityChanged +//inv27-dupOfInv24 +//inv28-dubOfInv23 +//inv29-MultiplicityChanged +//inv30-AttributeRemoved +//inv31-AttributeRemoved +//inv32-AttributeRemoved + +//inv33-attribute-handled by multiplicity +@Constraint(message = "inv33", severity = "error", key = {p}) +pattern inv33(p : Physical_Person) { + Physical_Person.birth_year(p, by); + check(2018-by < 0); +} or { + Physical_Person.birth_year(p, by); + check(2018-by > 100); +} + +//inv34-attribute-handled by multiplicity +@Constraint(message = "inv34", severity = "error", key = {p}) +pattern inv34(p : Physical_Person) { + Physical_Person.birth_month(p, birthMonth); + check(birthMonth < 1); +} or { + Physical_Person.birth_month(p, birthMonth); + check(birthMonth > 12); +} + +//inv35-attribute-handled by multiplicity +@Constraint(message = "inv35", severity = "error", key = {p}) +pattern inv35(p : Physical_Person) { + Physical_Person.birth_day(p, birthDay); + check(birthDay < 1); +} or { + Physical_Person.birth_day(p, birthDay); + check(birthDay > 28); +} + +//inv36-AttributeRemoved +//inv37-AttributeRemoved +//inv38-AttributeRemoved +//inv39-AttributeRemoved +//inv40-AttributeRemoved +//inv41-AttributeRemoved +//inv42-AttributeRemoved +//inv43-AttributeRemoved +//inv44-AttributeRemoved +//inv45-AttributeRemoved +//inv46-AttributeRemoved + +//inv47-attributes-handled by multiplicity +@Constraint(message = "inv47", severity = "error", key = {lur}) +pattern inv47(lur : Legal_Union_Record) { + Legal_Union_Record.end_year(lur, endY); + Legal_Union_Record.start_year(lur, startY); + neg find x_inv47(lur); + check(startY >= endY); +} +pattern x_inv47(lur : Legal_Union_Record) { + Legal_Union_Record.separation_cause(lur, ::NONE); + Legal_Union_Record.end_year(lur, -1); +} + +//inv48-attributes-handled by multiplicity +@Constraint(message = "inv48", severity = "error", key = {p}) +pattern inv48(p : Physical_Person) { + neg find x_inv48_notDis(p); + neg find x_inv48_Dis(p); +} +pattern x_inv48_notDis(p : Physical_Person) { + Physical_Person.disability_type(p, ::NONE); + Physical_Person.disability_percentage(p, 0.0); +} +pattern x_inv48_Dis(p : Physical_Person) { + neg find x_inv48_3(p); + Physical_Person.disability_percentage(p, disPer); + check(disPer > 0.0); + check(disPer <= 1.0); +} +pattern x_inv48_3(p : Physical_Person) { + Physical_Person.disability_type(p, ::NONE); +} + +//inv49-OclKindOf-handled by multiplicity +@Constraint(message = "inv49", severity = "error", key = {lur}) +pattern inv49(lur : Legal_Union_Record) { + neg find x_inv49_1(lur); +} +pattern x_inv49_1(lur : Legal_Union_Record) { + Legal_Union_Record.individual_A(lur, iA); + Legal_Union_Record.individual_B(lur, iB); + Tax_Payer(iA); + Physical_Person(iB); + neg find x_inv49_2(iB); + iA != iB; +} +pattern x_inv49_2(iB: Dependent) { + Dependent(iB); +} + +//inv50-MultiplicityChecked +//inv51-MultiplicityChecked +//inv52-MultiplicityChecked +//inv53-MultiplicityChecked \ No newline at end of file diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/src/run/GenerateScenarios.xtend b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/src/run/GenerateScenarios.xtend new file mode 100644 index 00000000..8445130a --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/src/run/GenerateScenarios.xtend @@ -0,0 +1,243 @@ +package run + +import Taxation.TaxationPackage +import hu.bme.mit.inf.dslreasoner.ecore2logic.Ecore2Logic +import hu.bme.mit.inf.dslreasoner.ecore2logic.Ecore2LogicConfiguration +import hu.bme.mit.inf.dslreasoner.ecore2logic.Ecore2Logic_Trace +import hu.bme.mit.inf.dslreasoner.ecore2logic.EcoreMetamodelDescriptor +import hu.bme.mit.inf.dslreasoner.logic.model.builder.TracedOutput +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Type +import hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicProblem +import hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicResult +import hu.bme.mit.inf.dslreasoner.logic.model.logicresult.ModelResult +import hu.bme.mit.inf.dslreasoner.logic2ecore.Logic2Ecore +import hu.bme.mit.inf.dslreasoner.viatra2logic.Viatra2Logic +import hu.bme.mit.inf.dslreasoner.viatra2logic.Viatra2LogicConfiguration +import hu.bme.mit.inf.dslreasoner.viatra2logic.ViatraQuerySetDescriptor +import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretation2logic.InstanceModel2Logic +import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.PartialInterpretation +import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.visualisation.PartialInterpretation2Gml +import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.ViatraReasoner +import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.ViatraReasonerConfiguration +import hu.bme.mit.inf.dslreasoner.visualisation.pi2graphviz.GraphvizVisualiser +import hu.bme.mit.inf.dslreasoner.workspace.FileSystemWorkspace +import hu.bme.mit.inf.dslreasoner.workspace.ReasonerWorkspace +import java.math.BigDecimal +import java.text.SimpleDateFormat +import java.util.Date +import java.util.HashMap +import java.util.List +import java.util.Map +import java.util.TreeSet +import org.eclipse.emf.ecore.EAttribute +import org.eclipse.emf.ecore.EClass +import org.eclipse.emf.ecore.EEnum +import org.eclipse.emf.ecore.EEnumLiteral +import org.eclipse.emf.ecore.EObject +import org.eclipse.emf.ecore.EPackage +import org.eclipse.emf.ecore.EReference +import org.eclipse.emf.ecore.resource.Resource +import org.eclipse.emf.ecore.xmi.impl.XMIResourceFactoryImpl +import org.eclipse.viatra.query.patternlanguage.emf.EMFPatternLanguageStandaloneSetup +import org.eclipse.viatra.query.runtime.api.IQueryGroup +import org.eclipse.viatra.query.runtime.rete.matcher.ReteEngine +import queries.Case_study_A + +class GenerateScenarios { + def static void main(String[] args) { + val x = (new EMFPatternLanguageStandaloneSetup).createInjectorAndDoEMFRegistration +// //PatternLanguageWithRSSetup.createInjectorAndDoEMFRegistration +// ApplicationConfigurationStandaloneSetup.doSetup + Resource.Factory.Registry.INSTANCE.extensionToFactoryMap.put("xmi", new XMIResourceFactoryImpl) + Resource.Factory.Registry.INSTANCE.extensionToFactoryMap.put("logicproblem", new XMIResourceFactoryImpl) + Resource.Factory.Registry.INSTANCE.extensionToFactoryMap.put("partialmodel", new XMIResourceFactoryImpl) + ReteEngine.getClass + + val Ecore2Logic ecore2Logic = new Ecore2Logic + val Logic2Ecore logic2Ecore = new Logic2Ecore(ecore2Logic) + val Viatra2Logic viatra2Logic = new Viatra2Logic(ecore2Logic) + val InstanceModel2Logic instanceModel2Logic = new InstanceModel2Logic + + // Workspace setup + val Date date = new Date(System.currentTimeMillis) + val SimpleDateFormat format = new SimpleDateFormat("dd-HHmm"); + val formattedDate = format.format(date) + + val inputs = new FileSystemWorkspace('''inputs/''', "") + val workspace = new FileSystemWorkspace('''output/''' + formattedDate + '''/''', "") + workspace.initAndClear + + println("Input and output workspaces are created") + +// print(TaxationPackage.eINSTANCE.getEClassifiers.filter(EClass).toList.get(0)) + + //* + val metamodel = loadMetamodel(TaxationPackage.eINSTANCE) + val partialModel = loadPartialModel(inputs, "Household.xmi") + val queries = loadQueries(metamodel, Case_study_A.instance) + /*/ + val metamodel = loadMetamodel(FamilytreePackage.eINSTANCE) +// val partialModel = loadPartialModel(inputs, "yakindu/Yakindu.xmi") + val queries = loadQueries(metamodel, FamilyTreeConstraints.instance) + //*/ + println("DSL loaded") + + val SIZE = 10 + var REPS = 1 + val RUNTIME = 600 + + // ///////////////////////// + // Prepare Problem + val modelGenerationProblem = ecore2Logic.transformMetamodel(metamodel, new Ecore2LogicConfiguration()) + var problem = modelGenerationProblem.output + +// val modelExtensionProblem = instanceModel2Logic.transform(modelGenerationProblem, partialModel) +// problem = modelExtensionProblem.output + + val validModelExtensionProblem = viatra2Logic.transformQueries(queries, modelGenerationProblem, + new Viatra2LogicConfiguration) + problem = validModelExtensionProblem.output + + workspace.writeModel(problem, "problem.logicproblem") + println("Problem created") + + for (var i = 0; i < REPS; i++) { + + println("Run #" + i + ":") + + var ViatraReasoner reasoner = new ViatraReasoner + + // ///////////////////////////////////////////////////// + // Define Config File + val knownIntegers = new TreeSet + knownIntegers.addAll(0) + + val knownReals = new TreeSet + knownReals.addAll(new BigDecimal("0.0")) + + val knownStrings = new TreeSet + knownStrings.addAll("r0", "r1", "r2") + + + val solverConfig = new ViatraReasonerConfiguration => [ + it.runtimeLimit = RUNTIME + it.typeScopes.maxNewElements = SIZE +// it.typeScopes.minNewElements = SIZE + if(!knownIntegers.isEmpty) it.typeScopes.knownIntegers = knownIntegers + if(!knownReals.isEmpty) it.typeScopes.knownReals = knownReals +// if(!knownStrings.isEmpty) it.typeScopes.knownStrings = knownStrings + ] + + val startTime = System.currentTimeMillis + var solution = reasoner.solve(problem, solverConfig, workspace) + val totalTime = System.currentTimeMillis-startTime + + println(" Problem Solved") + solution.writeStats(totalTime) + + if (solution instanceof ModelResult) { + solution.writeRepresentation(workspace, i) +// solution.writeInterpretation(logic2Ecore, workspace, i, reasoner, modelGenerationProblem) + println(" Solution saved and visualised") + } else + println(" Returned: " + solution.class.simpleName.toString) + + +// println("Stats Created") + // Run Garbage Collector + val Runtime r = Runtime.getRuntime(); + r.gc(); + r.gc(); + r.gc(); + Thread.sleep(3000) + } + println("---End---") + + } + + def static Map getTypeMap(Map classMap, EcoreMetamodelDescriptor metamodel, + Ecore2Logic e2l, Ecore2Logic_Trace trace) { + val typeMap = new HashMap + val listMap = metamodel.classes.toMap[s|s.name] + + for (Class elem : classMap.keySet) { + typeMap.put(e2l.TypeofEClass( + trace, + listMap.get(elem.simpleName) + ), classMap.get(elem)) + } + return typeMap + } + + def static loadMetamodel(EPackage pckg) { + val List classes = pckg.getEClassifiers.filter(EClass).toList + val List enums = pckg.getEClassifiers.filter(EEnum).toList + val List literals = enums.map[getELiterals].flatten.toList + val List references = classes.map[getEReferences].flatten.toList + val List attributes = classes.map[getEAttributes].flatten.toList + return new EcoreMetamodelDescriptor(classes, #{}, false, enums, literals, references, attributes) + } + + def static loadPartialModel(ReasonerWorkspace inputs, String path) { + Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap().put("*", new XMIResourceFactoryImpl()) + inputs.readModel(EObject, path).eResource.contents +// inputs.readModel(EObject,"FamInstance.xmi").eResource.allContents.toList + } + + def static loadQueries(EcoreMetamodelDescriptor metamodel, IQueryGroup i) { + val patterns = i.specifications.toList + val wfPatterns = patterns.filter[it.allAnnotations.exists[it.name == "Constraint"]].toSet + val derivedFeatures = emptyMap + // NO DERIVED FEATURES +// val derivedFeatures = new LinkedHashMap +// derivedFeatures.put(i.type,metamodel.attributes.filter[it.name == "type"].head) +// derivedFeatures.put(i.model,metamodel.references.filter[it.name == "model"].head) + val res = new ViatraQuerySetDescriptor( + patterns, + wfPatterns, + derivedFeatures + ) + return res + } + + def static writeInterpretation(LogicResult solution, Logic2Ecore logic2Ecore, ReasonerWorkspace workspace, int i, + ViatraReasoner reasoner, TracedOutput mgProb) { + val interpretations = reasoner.getInterpretations(solution as ModelResult) + for (interpIndex : 0 ..< interpretations.size) { +// val extension b = new LogicStructureBuilder +// val extension a = new LogicProblemBuilder + val interpretation = interpretations.get(interpIndex) + val model = logic2Ecore.transformInterpretation(interpretation, mgProb.trace) + workspace.writeModel(model, '''solution«i»_«interpIndex».xmi''') + } + } + + def static writeRepresentation(LogicResult solution, ReasonerWorkspace workspace, int i) { + val representations = solution.representation + for (representationIndex : 0 ..< representations.size) { + val representation = representations.get(representationIndex) + if (representation instanceof PartialInterpretation) { + val gml = (new PartialInterpretation2Gml).transform(representation) + workspace.writeText('''solution«i»_«representationIndex».gml''', gml) + + val png = (new GraphvizVisualiser).visualiseConcretization(representation) + png.writeToFile(workspace, '''solution«i»_«representationIndex».png''') + +// workspace.writeModel(representation, '''solution«representationIndex».partialintrpretation''') + } else { + workspace.writeText('''solution«representationIndex».txt''', representation.toString) + } + } + } + + def static writeStats(LogicResult solution, long time) { + val stats = solution.statistics + println(" Statistics:") +// for (e : stats.entries.filter[name.substring(0, 9) == "_Solution"]) { +// println(" " + e.name + ": " + (e as IntStatisticEntry).value + " ms") +// } + println(" \"solve\" time: " + time as double/1000 + " s") + +// println("<>") + } +} diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/xtend-gen/run/.gitignore b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/xtend-gen/run/.gitignore new file mode 100644 index 00000000..01244e82 --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/xtend-gen/run/.gitignore @@ -0,0 +1,5 @@ +/.GenerateScenarios.java._trace +/.checkQueries.java._trace +/.RunGenerator.xtendbin +/GenerateScenarios.java +/.GenerateScenarios.xtendbin diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.samples/.project b/Tests/MODELS2020-CaseStudies/case.study.pledge.samples/.project index 19d0f33d..10fbd8bd 100644 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.samples/.project +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.samples/.project @@ -1,6 +1,6 @@ - case.study.pledge.instances + case.study.pledge.samples -- cgit v1.2.3-70-g09d2 From 6a3ff9bb588bf47242a56b91e35479dbba38eb19 Mon Sep 17 00:00:00 2001 From: Kristóf Marussy Date: Thu, 7 May 2020 17:26:07 +0200 Subject: Scope unsat benchmarks --- .../.ApplicationConfigurationIdeModule.xtendbin | Bin 1701 -> 1701 bytes .../ide/.ApplicationConfigurationIdeSetup.xtendbin | Bin 2570 -> 2526 bytes .../Examples/ModelGenExampleFAM_plugin/.project | 6 + .../Examples/ModelGenExampleFAM_plugin/plugin.xml | 18 +- .../dslreasoner/domains/alloyexamples/Ecore.vql | 10 + .../plugin.xml | 2 + .../dslreasoner/domains/alloyexamples/.gitignore | 5 + .../alloyexamples/Unsat_loopInInheritance.java | 566 +++++++++++++++++ .../domains/alloyexamples/Unsat_subpackage.java | 704 +++++++++++++++++++++ .../domains/alloyexamples/internal/.gitignore | 4 + .../plugin.xml | 12 +- .../domains/satellite/queries/SatelliteQueries.vql | 13 + .../plugin.xml | 1 + .../partialsnapshot_mavo/yakindu/patterns.vql | 11 + .../.classpath | 26 +- .../META-INF/MANIFEST.MF | 7 +- .../NeighbourhoodBasedStateCoderFactory.xtend | 9 +- .../reasoner/ViatraReasonerConfiguration.xtend | 2 +- ..._ViatraSolver_polyhedral_typeHierarchy_Clp.json | 16 - .../configs/Yakindu.json | 13 + ..._ViatraSolver_polyhedral_typeHierarchy_Clp.json | 17 - .../configs/ecore.json | 17 + ..._ViatraSolver_polyhedral_typeHierarchy_Clp.json | 16 - ..._ViatraSolver_polyhedral_typeHierarchy_Clp.json | 16 - .../configs/satellite.json | 17 + ..._ViatraSolver_polyhedral_typeHierarchy_Clp.json | 17 - .../mit/inf/dslreasoner/run/MetamodelLoader.xtend | 63 +- .../dslreasoner/run/script/MeasurementScript.xtend | 13 +- .../run/script/MeasurementScriptRunner.xtend | 46 +- 29 files changed, 1511 insertions(+), 136 deletions(-) create mode 100644 Domains/hu.bme.mit.inf.dslreasoner.domains.alloyexamples/src-gen/hu/bme/mit/inf/dslreasoner/domains/alloyexamples/Unsat_loopInInheritance.java create mode 100644 Domains/hu.bme.mit.inf.dslreasoner.domains.alloyexamples/src-gen/hu/bme/mit/inf/dslreasoner/domains/alloyexamples/Unsat_subpackage.java create mode 100644 Domains/hu.bme.mit.inf.dslreasoner.domains.alloyexamples/src-gen/hu/bme/mit/inf/dslreasoner/domains/alloyexamples/internal/.gitignore delete mode 100644 Tests/hu.bme.mit.inf.dslreasoner.run/configs/FAM_useful_ViatraSolver_polyhedral_typeHierarchy_Clp.json create mode 100644 Tests/hu.bme.mit.inf.dslreasoner.run/configs/Yakindu.json delete mode 100644 Tests/hu.bme.mit.inf.dslreasoner.run/configs/Yakindu_useful_ViatraSolver_polyhedral_typeHierarchy_Clp.json create mode 100644 Tests/hu.bme.mit.inf.dslreasoner.run/configs/ecore.json delete mode 100644 Tests/hu.bme.mit.inf.dslreasoner.run/configs/ecore_useful_ViatraSolver_polyhedral_typeHierarchy_Clp.json delete mode 100644 Tests/hu.bme.mit.inf.dslreasoner.run/configs/fs_useful_ViatraSolver_polyhedral_typeHierarchy_Clp.json create mode 100644 Tests/hu.bme.mit.inf.dslreasoner.run/configs/satellite.json delete mode 100644 Tests/hu.bme.mit.inf.dslreasoner.run/configs/satellite_useful_ViatraSolver_polyhedral_typeHierarchy_Clp.json (limited to 'Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner') diff --git a/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeModule.xtendbin b/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeModule.xtendbin index 83195553..c8086733 100644 Binary files a/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeModule.xtendbin and b/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeModule.xtendbin differ diff --git a/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeSetup.xtendbin b/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeSetup.xtendbin index f5085470..1a907776 100644 Binary files a/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeSetup.xtendbin and b/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeSetup.xtendbin differ diff --git a/Domains/Examples/ModelGenExampleFAM_plugin/.project b/Domains/Examples/ModelGenExampleFAM_plugin/.project index 6e1b3a06..570f8a60 100644 --- a/Domains/Examples/ModelGenExampleFAM_plugin/.project +++ b/Domains/Examples/ModelGenExampleFAM_plugin/.project @@ -5,6 +5,11 @@ + + org.eclipse.xtext.ui.shared.xtextBuilder + + + org.eclipse.viatra.query.tooling.ui.projectbuilder @@ -30,5 +35,6 @@ org.eclipse.jdt.core.javanature org.eclipse.viatra.query.projectnature org.eclipse.pde.PluginNature + org.eclipse.xtext.ui.shared.xtextNature diff --git a/Domains/Examples/ModelGenExampleFAM_plugin/plugin.xml b/Domains/Examples/ModelGenExampleFAM_plugin/plugin.xml index c117a28e..8d99d401 100644 --- a/Domains/Examples/ModelGenExampleFAM_plugin/plugin.xml +++ b/Domains/Examples/ModelGenExampleFAM_plugin/plugin.xml @@ -5,23 +5,13 @@ - - - - + + + + - - - - - - - diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.alloyexamples/patterns/hu/bme/mit/inf/dslreasoner/domains/alloyexamples/Ecore.vql b/Domains/hu.bme.mit.inf.dslreasoner.domains.alloyexamples/patterns/hu/bme/mit/inf/dslreasoner/domains/alloyexamples/Ecore.vql index 78525a35..16c24d05 100644 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.alloyexamples/patterns/hu/bme/mit/inf/dslreasoner/domains/alloyexamples/Ecore.vql +++ b/Domains/hu.bme.mit.inf.dslreasoner.domains.alloyexamples/patterns/hu/bme/mit/inf/dslreasoner/domains/alloyexamples/Ecore.vql @@ -11,6 +11,16 @@ pattern loopInInheritence(a: EClass) { find directSupertype+(a,a); } +pattern unsat_subpackage(a: EPackage, b: EPackage) { + EPackage.eSubpackages(a, b); +} + +@Constraint(key={p}, severity="error", message="error") +pattern unsat_loopInInheritance(p: EPackage) { + neg find unsat_subpackage(_, p); + neg find loopInInheritence(_); +} + pattern opposite(a:EReference, b: EReference) { EReference.eOpposite(a,b); } diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.alloyexamples/plugin.xml b/Domains/hu.bme.mit.inf.dslreasoner.domains.alloyexamples/plugin.xml index 6eae8535..eddd482c 100644 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.alloyexamples/plugin.xml +++ b/Domains/hu.bme.mit.inf.dslreasoner.domains.alloyexamples/plugin.xml @@ -11,6 +11,8 @@ + + diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.alloyexamples/src-gen/hu/bme/mit/inf/dslreasoner/domains/alloyexamples/.gitignore b/Domains/hu.bme.mit.inf.dslreasoner.domains.alloyexamples/src-gen/hu/bme/mit/inf/dslreasoner/domains/alloyexamples/.gitignore index 0f8c77a1..70eab455 100644 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.alloyexamples/src-gen/hu/bme/mit/inf/dslreasoner/domains/alloyexamples/.gitignore +++ b/Domains/hu.bme.mit.inf.dslreasoner.domains.alloyexamples/src-gen/hu/bme/mit/inf/dslreasoner/domains/alloyexamples/.gitignore @@ -54,3 +54,8 @@ /.RootIsNotDir.java._trace /Dir.java /RootIsNotDir.java +/.Unsat_loopInInheritance.java._trace +/.Subpackage.java._trace +/.Unsat_subpackage.java._trace +/.Unsat_subpackageOrSelf.java._trace +/.Unsat_topLevelPackageWithLoop.java._trace diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.alloyexamples/src-gen/hu/bme/mit/inf/dslreasoner/domains/alloyexamples/Unsat_loopInInheritance.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.alloyexamples/src-gen/hu/bme/mit/inf/dslreasoner/domains/alloyexamples/Unsat_loopInInheritance.java new file mode 100644 index 00000000..83bd0f66 --- /dev/null +++ b/Domains/hu.bme.mit.inf.dslreasoner.domains.alloyexamples/src-gen/hu/bme/mit/inf/dslreasoner/domains/alloyexamples/Unsat_loopInInheritance.java @@ -0,0 +1,566 @@ +/** + * Generated from platform:/resource/hu.bme.mit.inf.dslreasoner.domains.alloyexamples/patterns/hu/bme/mit/inf/dslreasoner/domains/alloyexamples/Ecore.vql + */ +package hu.bme.mit.inf.dslreasoner.domains.alloyexamples; + +import hu.bme.mit.inf.dslreasoner.domains.alloyexamples.LoopInInheritence; +import hu.bme.mit.inf.dslreasoner.domains.alloyexamples.Unsat_subpackage; +import java.util.Arrays; +import java.util.Collection; +import java.util.LinkedHashSet; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import java.util.Set; +import java.util.function.Consumer; +import java.util.stream.Collectors; +import java.util.stream.Stream; +import org.apache.log4j.Logger; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EPackage; +import org.eclipse.viatra.query.runtime.api.IPatternMatch; +import org.eclipse.viatra.query.runtime.api.IQuerySpecification; +import org.eclipse.viatra.query.runtime.api.ViatraQueryEngine; +import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFPQuery; +import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFQuerySpecification; +import org.eclipse.viatra.query.runtime.api.impl.BaseMatcher; +import org.eclipse.viatra.query.runtime.api.impl.BasePatternMatch; +import org.eclipse.viatra.query.runtime.emf.types.EClassTransitiveInstancesKey; +import org.eclipse.viatra.query.runtime.matchers.backend.QueryEvaluationHint; +import org.eclipse.viatra.query.runtime.matchers.psystem.PBody; +import org.eclipse.viatra.query.runtime.matchers.psystem.PVariable; +import org.eclipse.viatra.query.runtime.matchers.psystem.annotations.PAnnotation; +import org.eclipse.viatra.query.runtime.matchers.psystem.annotations.ParameterReference; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.ExportedParameter; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.NegativePatternCall; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicenumerables.TypeConstraint; +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameter; +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameterDirection; +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PVisibility; +import org.eclipse.viatra.query.runtime.matchers.tuple.Tuple; +import org.eclipse.viatra.query.runtime.matchers.tuple.Tuples; +import org.eclipse.viatra.query.runtime.util.ViatraQueryLoggingUtil; + +/** + * A pattern-specific query specification that can instantiate Matcher in a type-safe way. + * + *

    Original source: + *

    + *         {@literal @}Constraint(key={p}, severity="error", message="error")
    + *         pattern unsat_loopInInheritance(p: EPackage) {
    + *         	neg find unsat_subpackage(_, p);
    + *         	neg find loopInInheritence(_);
    + *         }
    + * 
    + * + * @see Matcher + * @see Match + * + */ +@SuppressWarnings("all") +public final class Unsat_loopInInheritance extends BaseGeneratedEMFQuerySpecification { + /** + * Pattern-specific match representation of the hu.bme.mit.inf.dslreasoner.domains.alloyexamples.unsat_loopInInheritance pattern, + * to be used in conjunction with {@link Matcher}. + * + *

    Class fields correspond to parameters of the pattern. Fields with value null are considered unassigned. + * Each instance is a (possibly partial) substitution of pattern parameters, + * usable to represent a match of the pattern in the result of a query, + * or to specify the bound (fixed) input parameters when issuing a query. + * + * @see Matcher + * + */ + public static abstract class Match extends BasePatternMatch { + private EPackage fP; + + private static List parameterNames = makeImmutableList("p"); + + private Match(final EPackage pP) { + this.fP = pP; + } + + @Override + public Object get(final String parameterName) { + switch(parameterName) { + case "p": return this.fP; + default: return null; + } + } + + @Override + public Object get(final int index) { + switch(index) { + case 0: return this.fP; + default: return null; + } + } + + public EPackage getP() { + return this.fP; + } + + @Override + public boolean set(final String parameterName, final Object newValue) { + if (!isMutable()) throw new java.lang.UnsupportedOperationException(); + if ("p".equals(parameterName) ) { + this.fP = (EPackage) newValue; + return true; + } + return false; + } + + public void setP(final EPackage pP) { + if (!isMutable()) throw new java.lang.UnsupportedOperationException(); + this.fP = pP; + } + + @Override + public String patternName() { + return "hu.bme.mit.inf.dslreasoner.domains.alloyexamples.unsat_loopInInheritance"; + } + + @Override + public List parameterNames() { + return Unsat_loopInInheritance.Match.parameterNames; + } + + @Override + public Object[] toArray() { + return new Object[]{fP}; + } + + @Override + public Unsat_loopInInheritance.Match toImmutable() { + return isMutable() ? newMatch(fP) : this; + } + + @Override + public String prettyPrint() { + StringBuilder result = new StringBuilder(); + result.append("\"p\"=" + prettyPrintValue(fP)); + return result.toString(); + } + + @Override + public int hashCode() { + return Objects.hash(fP); + } + + @Override + public boolean equals(final Object obj) { + if (this == obj) + return true; + if (obj == null) { + return false; + } + if ((obj instanceof Unsat_loopInInheritance.Match)) { + Unsat_loopInInheritance.Match other = (Unsat_loopInInheritance.Match) obj; + return Objects.equals(fP, other.fP); + } else { + // this should be infrequent + if (!(obj instanceof IPatternMatch)) { + return false; + } + IPatternMatch otherSig = (IPatternMatch) obj; + return Objects.equals(specification(), otherSig.specification()) && Arrays.deepEquals(toArray(), otherSig.toArray()); + } + } + + @Override + public Unsat_loopInInheritance specification() { + return Unsat_loopInInheritance.instance(); + } + + /** + * Returns an empty, mutable match. + * Fields of the mutable match can be filled to create a partial match, usable as matcher input. + * + * @return the empty match. + * + */ + public static Unsat_loopInInheritance.Match newEmptyMatch() { + return new Mutable(null); + } + + /** + * Returns a mutable (partial) match. + * Fields of the mutable match can be filled to create a partial match, usable as matcher input. + * + * @param pP the fixed value of pattern parameter p, or null if not bound. + * @return the new, mutable (partial) match object. + * + */ + public static Unsat_loopInInheritance.Match newMutableMatch(final EPackage pP) { + return new Mutable(pP); + } + + /** + * Returns a new (partial) match. + * This can be used e.g. to call the matcher with a partial match. + *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. + * @param pP the fixed value of pattern parameter p, or null if not bound. + * @return the (partial) match object. + * + */ + public static Unsat_loopInInheritance.Match newMatch(final EPackage pP) { + return new Immutable(pP); + } + + private static final class Mutable extends Unsat_loopInInheritance.Match { + Mutable(final EPackage pP) { + super(pP); + } + + @Override + public boolean isMutable() { + return true; + } + } + + private static final class Immutable extends Unsat_loopInInheritance.Match { + Immutable(final EPackage pP) { + super(pP); + } + + @Override + public boolean isMutable() { + return false; + } + } + } + + /** + * Generated pattern matcher API of the hu.bme.mit.inf.dslreasoner.domains.alloyexamples.unsat_loopInInheritance pattern, + * providing pattern-specific query methods. + * + *

    Use the pattern matcher on a given model via {@link #on(ViatraQueryEngine)}, + * e.g. in conjunction with {@link ViatraQueryEngine#on(QueryScope)}. + * + *

    Matches of the pattern will be represented as {@link Match}. + * + *

    Original source: + *

    +   * {@literal @}Constraint(key={p}, severity="error", message="error")
    +   * pattern unsat_loopInInheritance(p: EPackage) {
    +   * 	neg find unsat_subpackage(_, p);
    +   * 	neg find loopInInheritence(_);
    +   * }
    +   * 
    + * + * @see Match + * @see Unsat_loopInInheritance + * + */ + public static class Matcher extends BaseMatcher { + /** + * Initializes the pattern matcher within an existing VIATRA Query engine. + * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. + * + * @param engine the existing VIATRA Query engine in which this matcher will be created. + * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation + * + */ + public static Unsat_loopInInheritance.Matcher on(final ViatraQueryEngine engine) { + // check if matcher already exists + Matcher matcher = engine.getExistingMatcher(querySpecification()); + if (matcher == null) { + matcher = (Matcher)engine.getMatcher(querySpecification()); + } + return matcher; + } + + /** + * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation + * @return an initialized matcher + * @noreference This method is for internal matcher initialization by the framework, do not call it manually. + * + */ + public static Unsat_loopInInheritance.Matcher create() { + return new Matcher(); + } + + private static final int POSITION_P = 0; + + private static final Logger LOGGER = ViatraQueryLoggingUtil.getLogger(Unsat_loopInInheritance.Matcher.class); + + /** + * Initializes the pattern matcher within an existing VIATRA Query engine. + * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. + * + * @param engine the existing VIATRA Query engine in which this matcher will be created. + * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation + * + */ + private Matcher() { + super(querySpecification()); + } + + /** + * Returns the set of all matches of the pattern that conform to the given fixed values of some parameters. + * @param pP the fixed value of pattern parameter p, or null if not bound. + * @return matches represented as a Match object. + * + */ + public Collection getAllMatches(final EPackage pP) { + return rawStreamAllMatches(new Object[]{pP}).collect(Collectors.toSet()); + } + + /** + * Returns a stream of all matches of the pattern that conform to the given fixed values of some parameters. + *

    + * NOTE: It is important not to modify the source model while the stream is being processed. + * If the match set of the pattern changes during processing, the contents of the stream is undefined. + * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. + * @param pP the fixed value of pattern parameter p, or null if not bound. + * @return a stream of matches represented as a Match object. + * + */ + public Stream streamAllMatches(final EPackage pP) { + return rawStreamAllMatches(new Object[]{pP}); + } + + /** + * Returns an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. + * Neither determinism nor randomness of selection is guaranteed. + * @param pP the fixed value of pattern parameter p, or null if not bound. + * @return a match represented as a Match object, or null if no match is found. + * + */ + public Optional getOneArbitraryMatch(final EPackage pP) { + return rawGetOneArbitraryMatch(new Object[]{pP}); + } + + /** + * Indicates whether the given combination of specified pattern parameters constitute a valid pattern match, + * under any possible substitution of the unspecified parameters (if any). + * @param pP the fixed value of pattern parameter p, or null if not bound. + * @return true if the input is a valid (partial) match of the pattern. + * + */ + public boolean hasMatch(final EPackage pP) { + return rawHasMatch(new Object[]{pP}); + } + + /** + * Returns the number of all matches of the pattern that conform to the given fixed values of some parameters. + * @param pP the fixed value of pattern parameter p, or null if not bound. + * @return the number of pattern matches found. + * + */ + public int countMatches(final EPackage pP) { + return rawCountMatches(new Object[]{pP}); + } + + /** + * Executes the given processor on an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. + * Neither determinism nor randomness of selection is guaranteed. + * @param pP the fixed value of pattern parameter p, or null if not bound. + * @param processor the action that will process the selected match. + * @return true if the pattern has at least one match with the given parameter values, false if the processor was not invoked + * + */ + public boolean forOneArbitraryMatch(final EPackage pP, final Consumer processor) { + return rawForOneArbitraryMatch(new Object[]{pP}, processor); + } + + /** + * Returns a new (partial) match. + * This can be used e.g. to call the matcher with a partial match. + *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. + * @param pP the fixed value of pattern parameter p, or null if not bound. + * @return the (partial) match object. + * + */ + public Unsat_loopInInheritance.Match newMatch(final EPackage pP) { + return Unsat_loopInInheritance.Match.newMatch(pP); + } + + /** + * Retrieve the set of values that occur in matches for p. + * @return the Set of all values or empty set if there are no matches + * + */ + protected Stream rawStreamAllValuesOfp(final Object[] parameters) { + return rawStreamAllValues(POSITION_P, parameters).map(EPackage.class::cast); + } + + /** + * Retrieve the set of values that occur in matches for p. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOfp() { + return rawStreamAllValuesOfp(emptyArray()).collect(Collectors.toSet()); + } + + /** + * Retrieve the set of values that occur in matches for p. + * @return the Set of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOfp() { + return rawStreamAllValuesOfp(emptyArray()); + } + + @Override + protected Unsat_loopInInheritance.Match tupleToMatch(final Tuple t) { + try { + return Unsat_loopInInheritance.Match.newMatch((EPackage) t.get(POSITION_P)); + } catch(ClassCastException e) { + LOGGER.error("Element(s) in tuple not properly typed!",e); + return null; + } + } + + @Override + protected Unsat_loopInInheritance.Match arrayToMatch(final Object[] match) { + try { + return Unsat_loopInInheritance.Match.newMatch((EPackage) match[POSITION_P]); + } catch(ClassCastException e) { + LOGGER.error("Element(s) in array not properly typed!",e); + return null; + } + } + + @Override + protected Unsat_loopInInheritance.Match arrayToMatchMutable(final Object[] match) { + try { + return Unsat_loopInInheritance.Match.newMutableMatch((EPackage) match[POSITION_P]); + } catch(ClassCastException e) { + LOGGER.error("Element(s) in array not properly typed!",e); + return null; + } + } + + /** + * @return the singleton instance of the query specification of this pattern + * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded + * + */ + public static IQuerySpecification querySpecification() { + return Unsat_loopInInheritance.instance(); + } + } + + private Unsat_loopInInheritance() { + super(GeneratedPQuery.INSTANCE); + } + + /** + * @return the singleton instance of the query specification + * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded + * + */ + public static Unsat_loopInInheritance instance() { + try{ + return LazyHolder.INSTANCE; + } catch (ExceptionInInitializerError err) { + throw processInitializerError(err); + } + } + + @Override + protected Unsat_loopInInheritance.Matcher instantiate(final ViatraQueryEngine engine) { + return Unsat_loopInInheritance.Matcher.on(engine); + } + + @Override + public Unsat_loopInInheritance.Matcher instantiate() { + return Unsat_loopInInheritance.Matcher.create(); + } + + @Override + public Unsat_loopInInheritance.Match newEmptyMatch() { + return Unsat_loopInInheritance.Match.newEmptyMatch(); + } + + @Override + public Unsat_loopInInheritance.Match newMatch(final Object... parameters) { + return Unsat_loopInInheritance.Match.newMatch((org.eclipse.emf.ecore.EPackage) parameters[0]); + } + + /** + * Inner class allowing the singleton instance of {@link Unsat_loopInInheritance} to be created + * not at the class load time of the outer class, + * but rather at the first call to {@link Unsat_loopInInheritance#instance()}. + * + *

    This workaround is required e.g. to support recursion. + * + */ + private static class LazyHolder { + private static final Unsat_loopInInheritance INSTANCE = new Unsat_loopInInheritance(); + + /** + * Statically initializes the query specification after the field {@link #INSTANCE} is assigned. + * This initialization order is required to support indirect recursion. + * + *

    The static initializer is defined using a helper field to work around limitations of the code generator. + * + */ + private static final Object STATIC_INITIALIZER = ensureInitialized(); + + public static Object ensureInitialized() { + INSTANCE.ensureInitializedInternal(); + return null; + } + } + + private static class GeneratedPQuery extends BaseGeneratedEMFPQuery { + private static final Unsat_loopInInheritance.GeneratedPQuery INSTANCE = new GeneratedPQuery(); + + private final PParameter parameter_p = new PParameter("p", "org.eclipse.emf.ecore.EPackage", new EClassTransitiveInstancesKey((EClass)getClassifierLiteralSafe("http://www.eclipse.org/emf/2002/Ecore", "EPackage")), PParameterDirection.INOUT); + + private final List parameters = Arrays.asList(parameter_p); + + private GeneratedPQuery() { + super(PVisibility.PUBLIC); + } + + @Override + public String getFullyQualifiedName() { + return "hu.bme.mit.inf.dslreasoner.domains.alloyexamples.unsat_loopInInheritance"; + } + + @Override + public List getParameterNames() { + return Arrays.asList("p"); + } + + @Override + public List getParameters() { + return parameters; + } + + @Override + public Set doGetContainedBodies() { + setEvaluationHints(new QueryEvaluationHint(null, QueryEvaluationHint.BackendRequirement.UNSPECIFIED)); + Set bodies = new LinkedHashSet<>(); + { + PBody body = new PBody(this); + PVariable var_p = body.getOrCreateVariableByName("p"); + PVariable var___0_ = body.getOrCreateVariableByName("_<0>"); + PVariable var___1_ = body.getOrCreateVariableByName("_<1>"); + new TypeConstraint(body, Tuples.flatTupleOf(var_p), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.eclipse.org/emf/2002/Ecore", "EPackage"))); + body.setSymbolicParameters(Arrays.asList( + new ExportedParameter(body, var_p, parameter_p) + )); + // neg find unsat_subpackage(_, p) + new NegativePatternCall(body, Tuples.flatTupleOf(var___0_, var_p), Unsat_subpackage.instance().getInternalQueryRepresentation()); + // neg find loopInInheritence(_) + new NegativePatternCall(body, Tuples.flatTupleOf(var___1_), LoopInInheritence.instance().getInternalQueryRepresentation()); + bodies.add(body); + } + { + PAnnotation annotation = new PAnnotation("Constraint"); + annotation.addAttribute("key", Arrays.asList(new Object[] { + new ParameterReference("p") + })); + annotation.addAttribute("severity", "error"); + annotation.addAttribute("message", "error"); + addAnnotation(annotation); + } + return bodies; + } + } +} diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.alloyexamples/src-gen/hu/bme/mit/inf/dslreasoner/domains/alloyexamples/Unsat_subpackage.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.alloyexamples/src-gen/hu/bme/mit/inf/dslreasoner/domains/alloyexamples/Unsat_subpackage.java new file mode 100644 index 00000000..a9c8aed8 --- /dev/null +++ b/Domains/hu.bme.mit.inf.dslreasoner.domains.alloyexamples/src-gen/hu/bme/mit/inf/dslreasoner/domains/alloyexamples/Unsat_subpackage.java @@ -0,0 +1,704 @@ +/** + * Generated from platform:/resource/hu.bme.mit.inf.dslreasoner.domains.alloyexamples/patterns/hu/bme/mit/inf/dslreasoner/domains/alloyexamples/Ecore.vql + */ +package hu.bme.mit.inf.dslreasoner.domains.alloyexamples; + +import java.util.Arrays; +import java.util.Collection; +import java.util.LinkedHashSet; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import java.util.Set; +import java.util.function.Consumer; +import java.util.stream.Collectors; +import java.util.stream.Stream; +import org.apache.log4j.Logger; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EPackage; +import org.eclipse.viatra.query.runtime.api.IPatternMatch; +import org.eclipse.viatra.query.runtime.api.IQuerySpecification; +import org.eclipse.viatra.query.runtime.api.ViatraQueryEngine; +import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFPQuery; +import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFQuerySpecification; +import org.eclipse.viatra.query.runtime.api.impl.BaseMatcher; +import org.eclipse.viatra.query.runtime.api.impl.BasePatternMatch; +import org.eclipse.viatra.query.runtime.emf.types.EClassTransitiveInstancesKey; +import org.eclipse.viatra.query.runtime.emf.types.EStructuralFeatureInstancesKey; +import org.eclipse.viatra.query.runtime.matchers.backend.QueryEvaluationHint; +import org.eclipse.viatra.query.runtime.matchers.psystem.PBody; +import org.eclipse.viatra.query.runtime.matchers.psystem.PVariable; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.Equality; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.ExportedParameter; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicenumerables.TypeConstraint; +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameter; +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameterDirection; +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PVisibility; +import org.eclipse.viatra.query.runtime.matchers.tuple.Tuple; +import org.eclipse.viatra.query.runtime.matchers.tuple.Tuples; +import org.eclipse.viatra.query.runtime.util.ViatraQueryLoggingUtil; + +/** + * A pattern-specific query specification that can instantiate Matcher in a type-safe way. + * + *

    Original source: + *

    + *         pattern unsat_subpackage(a: EPackage, b: EPackage) {
    + *         	EPackage.eSubpackages(a, b);
    + *         }
    + * 
    + * + * @see Matcher + * @see Match + * + */ +@SuppressWarnings("all") +public final class Unsat_subpackage extends BaseGeneratedEMFQuerySpecification { + /** + * Pattern-specific match representation of the hu.bme.mit.inf.dslreasoner.domains.alloyexamples.unsat_subpackage pattern, + * to be used in conjunction with {@link Matcher}. + * + *

    Class fields correspond to parameters of the pattern. Fields with value null are considered unassigned. + * Each instance is a (possibly partial) substitution of pattern parameters, + * usable to represent a match of the pattern in the result of a query, + * or to specify the bound (fixed) input parameters when issuing a query. + * + * @see Matcher + * + */ + public static abstract class Match extends BasePatternMatch { + private EPackage fA; + + private EPackage fB; + + private static List parameterNames = makeImmutableList("a", "b"); + + private Match(final EPackage pA, final EPackage pB) { + this.fA = pA; + this.fB = pB; + } + + @Override + public Object get(final String parameterName) { + switch(parameterName) { + case "a": return this.fA; + case "b": return this.fB; + default: return null; + } + } + + @Override + public Object get(final int index) { + switch(index) { + case 0: return this.fA; + case 1: return this.fB; + default: return null; + } + } + + public EPackage getA() { + return this.fA; + } + + public EPackage getB() { + return this.fB; + } + + @Override + public boolean set(final String parameterName, final Object newValue) { + if (!isMutable()) throw new java.lang.UnsupportedOperationException(); + if ("a".equals(parameterName) ) { + this.fA = (EPackage) newValue; + return true; + } + if ("b".equals(parameterName) ) { + this.fB = (EPackage) newValue; + return true; + } + return false; + } + + public void setA(final EPackage pA) { + if (!isMutable()) throw new java.lang.UnsupportedOperationException(); + this.fA = pA; + } + + public void setB(final EPackage pB) { + if (!isMutable()) throw new java.lang.UnsupportedOperationException(); + this.fB = pB; + } + + @Override + public String patternName() { + return "hu.bme.mit.inf.dslreasoner.domains.alloyexamples.unsat_subpackage"; + } + + @Override + public List parameterNames() { + return Unsat_subpackage.Match.parameterNames; + } + + @Override + public Object[] toArray() { + return new Object[]{fA, fB}; + } + + @Override + public Unsat_subpackage.Match toImmutable() { + return isMutable() ? newMatch(fA, fB) : this; + } + + @Override + public String prettyPrint() { + StringBuilder result = new StringBuilder(); + result.append("\"a\"=" + prettyPrintValue(fA) + ", "); + result.append("\"b\"=" + prettyPrintValue(fB)); + return result.toString(); + } + + @Override + public int hashCode() { + return Objects.hash(fA, fB); + } + + @Override + public boolean equals(final Object obj) { + if (this == obj) + return true; + if (obj == null) { + return false; + } + if ((obj instanceof Unsat_subpackage.Match)) { + Unsat_subpackage.Match other = (Unsat_subpackage.Match) obj; + return Objects.equals(fA, other.fA) && Objects.equals(fB, other.fB); + } else { + // this should be infrequent + if (!(obj instanceof IPatternMatch)) { + return false; + } + IPatternMatch otherSig = (IPatternMatch) obj; + return Objects.equals(specification(), otherSig.specification()) && Arrays.deepEquals(toArray(), otherSig.toArray()); + } + } + + @Override + public Unsat_subpackage specification() { + return Unsat_subpackage.instance(); + } + + /** + * Returns an empty, mutable match. + * Fields of the mutable match can be filled to create a partial match, usable as matcher input. + * + * @return the empty match. + * + */ + public static Unsat_subpackage.Match newEmptyMatch() { + return new Mutable(null, null); + } + + /** + * Returns a mutable (partial) match. + * Fields of the mutable match can be filled to create a partial match, usable as matcher input. + * + * @param pA the fixed value of pattern parameter a, or null if not bound. + * @param pB the fixed value of pattern parameter b, or null if not bound. + * @return the new, mutable (partial) match object. + * + */ + public static Unsat_subpackage.Match newMutableMatch(final EPackage pA, final EPackage pB) { + return new Mutable(pA, pB); + } + + /** + * Returns a new (partial) match. + * This can be used e.g. to call the matcher with a partial match. + *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. + * @param pA the fixed value of pattern parameter a, or null if not bound. + * @param pB the fixed value of pattern parameter b, or null if not bound. + * @return the (partial) match object. + * + */ + public static Unsat_subpackage.Match newMatch(final EPackage pA, final EPackage pB) { + return new Immutable(pA, pB); + } + + private static final class Mutable extends Unsat_subpackage.Match { + Mutable(final EPackage pA, final EPackage pB) { + super(pA, pB); + } + + @Override + public boolean isMutable() { + return true; + } + } + + private static final class Immutable extends Unsat_subpackage.Match { + Immutable(final EPackage pA, final EPackage pB) { + super(pA, pB); + } + + @Override + public boolean isMutable() { + return false; + } + } + } + + /** + * Generated pattern matcher API of the hu.bme.mit.inf.dslreasoner.domains.alloyexamples.unsat_subpackage pattern, + * providing pattern-specific query methods. + * + *

    Use the pattern matcher on a given model via {@link #on(ViatraQueryEngine)}, + * e.g. in conjunction with {@link ViatraQueryEngine#on(QueryScope)}. + * + *

    Matches of the pattern will be represented as {@link Match}. + * + *

    Original source: + *

    +   * pattern unsat_subpackage(a: EPackage, b: EPackage) {
    +   * 	EPackage.eSubpackages(a, b);
    +   * }
    +   * 
    + * + * @see Match + * @see Unsat_subpackage + * + */ + public static class Matcher extends BaseMatcher { + /** + * Initializes the pattern matcher within an existing VIATRA Query engine. + * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. + * + * @param engine the existing VIATRA Query engine in which this matcher will be created. + * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation + * + */ + public static Unsat_subpackage.Matcher on(final ViatraQueryEngine engine) { + // check if matcher already exists + Matcher matcher = engine.getExistingMatcher(querySpecification()); + if (matcher == null) { + matcher = (Matcher)engine.getMatcher(querySpecification()); + } + return matcher; + } + + /** + * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation + * @return an initialized matcher + * @noreference This method is for internal matcher initialization by the framework, do not call it manually. + * + */ + public static Unsat_subpackage.Matcher create() { + return new Matcher(); + } + + private static final int POSITION_A = 0; + + private static final int POSITION_B = 1; + + private static final Logger LOGGER = ViatraQueryLoggingUtil.getLogger(Unsat_subpackage.Matcher.class); + + /** + * Initializes the pattern matcher within an existing VIATRA Query engine. + * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. + * + * @param engine the existing VIATRA Query engine in which this matcher will be created. + * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation + * + */ + private Matcher() { + super(querySpecification()); + } + + /** + * Returns the set of all matches of the pattern that conform to the given fixed values of some parameters. + * @param pA the fixed value of pattern parameter a, or null if not bound. + * @param pB the fixed value of pattern parameter b, or null if not bound. + * @return matches represented as a Match object. + * + */ + public Collection getAllMatches(final EPackage pA, final EPackage pB) { + return rawStreamAllMatches(new Object[]{pA, pB}).collect(Collectors.toSet()); + } + + /** + * Returns a stream of all matches of the pattern that conform to the given fixed values of some parameters. + *

    + * NOTE: It is important not to modify the source model while the stream is being processed. + * If the match set of the pattern changes during processing, the contents of the stream is undefined. + * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. + * @param pA the fixed value of pattern parameter a, or null if not bound. + * @param pB the fixed value of pattern parameter b, or null if not bound. + * @return a stream of matches represented as a Match object. + * + */ + public Stream streamAllMatches(final EPackage pA, final EPackage pB) { + return rawStreamAllMatches(new Object[]{pA, pB}); + } + + /** + * Returns an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. + * Neither determinism nor randomness of selection is guaranteed. + * @param pA the fixed value of pattern parameter a, or null if not bound. + * @param pB the fixed value of pattern parameter b, or null if not bound. + * @return a match represented as a Match object, or null if no match is found. + * + */ + public Optional getOneArbitraryMatch(final EPackage pA, final EPackage pB) { + return rawGetOneArbitraryMatch(new Object[]{pA, pB}); + } + + /** + * Indicates whether the given combination of specified pattern parameters constitute a valid pattern match, + * under any possible substitution of the unspecified parameters (if any). + * @param pA the fixed value of pattern parameter a, or null if not bound. + * @param pB the fixed value of pattern parameter b, or null if not bound. + * @return true if the input is a valid (partial) match of the pattern. + * + */ + public boolean hasMatch(final EPackage pA, final EPackage pB) { + return rawHasMatch(new Object[]{pA, pB}); + } + + /** + * Returns the number of all matches of the pattern that conform to the given fixed values of some parameters. + * @param pA the fixed value of pattern parameter a, or null if not bound. + * @param pB the fixed value of pattern parameter b, or null if not bound. + * @return the number of pattern matches found. + * + */ + public int countMatches(final EPackage pA, final EPackage pB) { + return rawCountMatches(new Object[]{pA, pB}); + } + + /** + * Executes the given processor on an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. + * Neither determinism nor randomness of selection is guaranteed. + * @param pA the fixed value of pattern parameter a, or null if not bound. + * @param pB the fixed value of pattern parameter b, or null if not bound. + * @param processor the action that will process the selected match. + * @return true if the pattern has at least one match with the given parameter values, false if the processor was not invoked + * + */ + public boolean forOneArbitraryMatch(final EPackage pA, final EPackage pB, final Consumer processor) { + return rawForOneArbitraryMatch(new Object[]{pA, pB}, processor); + } + + /** + * Returns a new (partial) match. + * This can be used e.g. to call the matcher with a partial match. + *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. + * @param pA the fixed value of pattern parameter a, or null if not bound. + * @param pB the fixed value of pattern parameter b, or null if not bound. + * @return the (partial) match object. + * + */ + public Unsat_subpackage.Match newMatch(final EPackage pA, final EPackage pB) { + return Unsat_subpackage.Match.newMatch(pA, pB); + } + + /** + * Retrieve the set of values that occur in matches for a. + * @return the Set of all values or empty set if there are no matches + * + */ + protected Stream rawStreamAllValuesOfa(final Object[] parameters) { + return rawStreamAllValues(POSITION_A, parameters).map(EPackage.class::cast); + } + + /** + * Retrieve the set of values that occur in matches for a. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOfa() { + return rawStreamAllValuesOfa(emptyArray()).collect(Collectors.toSet()); + } + + /** + * Retrieve the set of values that occur in matches for a. + * @return the Set of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOfa() { + return rawStreamAllValuesOfa(emptyArray()); + } + + /** + * Retrieve the set of values that occur in matches for a. + *

    + * NOTE: It is important not to modify the source model while the stream is being processed. + * If the match set of the pattern changes during processing, the contents of the stream is undefined. + * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. + * + * @return the Stream of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOfa(final Unsat_subpackage.Match partialMatch) { + return rawStreamAllValuesOfa(partialMatch.toArray()); + } + + /** + * Retrieve the set of values that occur in matches for a. + *

    + * NOTE: It is important not to modify the source model while the stream is being processed. + * If the match set of the pattern changes during processing, the contents of the stream is undefined. + * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. + * + * @return the Stream of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOfa(final EPackage pB) { + return rawStreamAllValuesOfa(new Object[]{null, pB}); + } + + /** + * Retrieve the set of values that occur in matches for a. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOfa(final Unsat_subpackage.Match partialMatch) { + return rawStreamAllValuesOfa(partialMatch.toArray()).collect(Collectors.toSet()); + } + + /** + * Retrieve the set of values that occur in matches for a. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOfa(final EPackage pB) { + return rawStreamAllValuesOfa(new Object[]{null, pB}).collect(Collectors.toSet()); + } + + /** + * Retrieve the set of values that occur in matches for b. + * @return the Set of all values or empty set if there are no matches + * + */ + protected Stream rawStreamAllValuesOfb(final Object[] parameters) { + return rawStreamAllValues(POSITION_B, parameters).map(EPackage.class::cast); + } + + /** + * Retrieve the set of values that occur in matches for b. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOfb() { + return rawStreamAllValuesOfb(emptyArray()).collect(Collectors.toSet()); + } + + /** + * Retrieve the set of values that occur in matches for b. + * @return the Set of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOfb() { + return rawStreamAllValuesOfb(emptyArray()); + } + + /** + * Retrieve the set of values that occur in matches for b. + *

    + * NOTE: It is important not to modify the source model while the stream is being processed. + * If the match set of the pattern changes during processing, the contents of the stream is undefined. + * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. + * + * @return the Stream of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOfb(final Unsat_subpackage.Match partialMatch) { + return rawStreamAllValuesOfb(partialMatch.toArray()); + } + + /** + * Retrieve the set of values that occur in matches for b. + *

    + * NOTE: It is important not to modify the source model while the stream is being processed. + * If the match set of the pattern changes during processing, the contents of the stream is undefined. + * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. + * + * @return the Stream of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOfb(final EPackage pA) { + return rawStreamAllValuesOfb(new Object[]{pA, null}); + } + + /** + * Retrieve the set of values that occur in matches for b. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOfb(final Unsat_subpackage.Match partialMatch) { + return rawStreamAllValuesOfb(partialMatch.toArray()).collect(Collectors.toSet()); + } + + /** + * Retrieve the set of values that occur in matches for b. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOfb(final EPackage pA) { + return rawStreamAllValuesOfb(new Object[]{pA, null}).collect(Collectors.toSet()); + } + + @Override + protected Unsat_subpackage.Match tupleToMatch(final Tuple t) { + try { + return Unsat_subpackage.Match.newMatch((EPackage) t.get(POSITION_A), (EPackage) t.get(POSITION_B)); + } catch(ClassCastException e) { + LOGGER.error("Element(s) in tuple not properly typed!",e); + return null; + } + } + + @Override + protected Unsat_subpackage.Match arrayToMatch(final Object[] match) { + try { + return Unsat_subpackage.Match.newMatch((EPackage) match[POSITION_A], (EPackage) match[POSITION_B]); + } catch(ClassCastException e) { + LOGGER.error("Element(s) in array not properly typed!",e); + return null; + } + } + + @Override + protected Unsat_subpackage.Match arrayToMatchMutable(final Object[] match) { + try { + return Unsat_subpackage.Match.newMutableMatch((EPackage) match[POSITION_A], (EPackage) match[POSITION_B]); + } catch(ClassCastException e) { + LOGGER.error("Element(s) in array not properly typed!",e); + return null; + } + } + + /** + * @return the singleton instance of the query specification of this pattern + * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded + * + */ + public static IQuerySpecification querySpecification() { + return Unsat_subpackage.instance(); + } + } + + private Unsat_subpackage() { + super(GeneratedPQuery.INSTANCE); + } + + /** + * @return the singleton instance of the query specification + * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded + * + */ + public static Unsat_subpackage instance() { + try{ + return LazyHolder.INSTANCE; + } catch (ExceptionInInitializerError err) { + throw processInitializerError(err); + } + } + + @Override + protected Unsat_subpackage.Matcher instantiate(final ViatraQueryEngine engine) { + return Unsat_subpackage.Matcher.on(engine); + } + + @Override + public Unsat_subpackage.Matcher instantiate() { + return Unsat_subpackage.Matcher.create(); + } + + @Override + public Unsat_subpackage.Match newEmptyMatch() { + return Unsat_subpackage.Match.newEmptyMatch(); + } + + @Override + public Unsat_subpackage.Match newMatch(final Object... parameters) { + return Unsat_subpackage.Match.newMatch((org.eclipse.emf.ecore.EPackage) parameters[0], (org.eclipse.emf.ecore.EPackage) parameters[1]); + } + + /** + * Inner class allowing the singleton instance of {@link Unsat_subpackage} to be created + * not at the class load time of the outer class, + * but rather at the first call to {@link Unsat_subpackage#instance()}. + * + *

    This workaround is required e.g. to support recursion. + * + */ + private static class LazyHolder { + private static final Unsat_subpackage INSTANCE = new Unsat_subpackage(); + + /** + * Statically initializes the query specification after the field {@link #INSTANCE} is assigned. + * This initialization order is required to support indirect recursion. + * + *

    The static initializer is defined using a helper field to work around limitations of the code generator. + * + */ + private static final Object STATIC_INITIALIZER = ensureInitialized(); + + public static Object ensureInitialized() { + INSTANCE.ensureInitializedInternal(); + return null; + } + } + + private static class GeneratedPQuery extends BaseGeneratedEMFPQuery { + private static final Unsat_subpackage.GeneratedPQuery INSTANCE = new GeneratedPQuery(); + + private final PParameter parameter_a = new PParameter("a", "org.eclipse.emf.ecore.EPackage", new EClassTransitiveInstancesKey((EClass)getClassifierLiteralSafe("http://www.eclipse.org/emf/2002/Ecore", "EPackage")), PParameterDirection.INOUT); + + private final PParameter parameter_b = new PParameter("b", "org.eclipse.emf.ecore.EPackage", new EClassTransitiveInstancesKey((EClass)getClassifierLiteralSafe("http://www.eclipse.org/emf/2002/Ecore", "EPackage")), PParameterDirection.INOUT); + + private final List parameters = Arrays.asList(parameter_a, parameter_b); + + private GeneratedPQuery() { + super(PVisibility.PUBLIC); + } + + @Override + public String getFullyQualifiedName() { + return "hu.bme.mit.inf.dslreasoner.domains.alloyexamples.unsat_subpackage"; + } + + @Override + public List getParameterNames() { + return Arrays.asList("a","b"); + } + + @Override + public List getParameters() { + return parameters; + } + + @Override + public Set doGetContainedBodies() { + setEvaluationHints(new QueryEvaluationHint(null, QueryEvaluationHint.BackendRequirement.UNSPECIFIED)); + Set bodies = new LinkedHashSet<>(); + { + PBody body = new PBody(this); + PVariable var_a = body.getOrCreateVariableByName("a"); + PVariable var_b = body.getOrCreateVariableByName("b"); + new TypeConstraint(body, Tuples.flatTupleOf(var_a), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.eclipse.org/emf/2002/Ecore", "EPackage"))); + new TypeConstraint(body, Tuples.flatTupleOf(var_b), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.eclipse.org/emf/2002/Ecore", "EPackage"))); + body.setSymbolicParameters(Arrays.asList( + new ExportedParameter(body, var_a, parameter_a), + new ExportedParameter(body, var_b, parameter_b) + )); + // EPackage.eSubpackages(a, b) + new TypeConstraint(body, Tuples.flatTupleOf(var_a), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.eclipse.org/emf/2002/Ecore", "EPackage"))); + PVariable var__virtual_0_ = body.getOrCreateVariableByName(".virtual{0}"); + new TypeConstraint(body, Tuples.flatTupleOf(var_a, var__virtual_0_), new EStructuralFeatureInstancesKey(getFeatureLiteral("http://www.eclipse.org/emf/2002/Ecore", "EPackage", "eSubpackages"))); + new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_0_), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.eclipse.org/emf/2002/Ecore", "EPackage"))); + new Equality(body, var__virtual_0_, var_b); + bodies.add(body); + } + return bodies; + } + } +} diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.alloyexamples/src-gen/hu/bme/mit/inf/dslreasoner/domains/alloyexamples/internal/.gitignore b/Domains/hu.bme.mit.inf.dslreasoner.domains.alloyexamples/src-gen/hu/bme/mit/inf/dslreasoner/domains/alloyexamples/internal/.gitignore new file mode 100644 index 00000000..995169ff --- /dev/null +++ b/Domains/hu.bme.mit.inf.dslreasoner.domains.alloyexamples/src-gen/hu/bme/mit/inf/dslreasoner/domains/alloyexamples/internal/.gitignore @@ -0,0 +1,4 @@ +/.EcoreAll.java._trace +/.SubpackageOrSelf.java._trace +/.Subpackage.java._trace +/.TopLevelPackageWithLoop.java._trace diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/plugin.xml b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/plugin.xml index b0b77996..fe1af62e 100644 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/plugin.xml +++ b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/plugin.xml @@ -1,9 +1,12 @@ - - - - + + + + @@ -11,6 +14,7 @@ + diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/src/hu/bme/mit/inf/dslreasoner/domains/satellite/queries/SatelliteQueries.vql b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/src/hu/bme/mit/inf/dslreasoner/domains/satellite/queries/SatelliteQueries.vql index 1f83a3b0..ba12bbda 100644 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/src/hu/bme/mit/inf/dslreasoner/domains/satellite/queries/SatelliteQueries.vql +++ b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/src/hu/bme/mit/inf/dslreasoner/domains/satellite/queries/SatelliteQueries.vql @@ -59,6 +59,19 @@ pattern noLinkToGroundStation(Spacecraft : Spacecraft) { neg find indirectCommunicationLink(Spacecraft, GroundStation); } +//@Constraint(severity = "error", key = {Spacecraft}, message = "UNSAT") +//pattern unsat_linkToGroundStation(Spacecraft : Spacecraft) { +// ConstellationMission.groundStationNetwork(Mission, GroundStation); +// ConstellationMission.spacecraft(Mission, Spacecraft); +// find indirectCommunicationLink(Spacecraft, GroundStation); +//} + +@Constraint(severity = "error", key = {Mission}, message = "UNSAT") +pattern unsat_linkToGroundStation(Mission : InterferometryMission) { + InterferometryMission(Mission); + neg find noLinkToGroundStation(_); +} + @Constraint(severity = "error", key = {Spacecraft}, message = "Spacecraft has no potential communication path to the ground station.") pattern noPotentialLinkToGroundStation(Spacecraft : Spacecraft) { diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.yakindu.sgraph/plugin.xml b/Domains/hu.bme.mit.inf.dslreasoner.domains.yakindu.sgraph/plugin.xml index 7bf4a20b..d4ab204e 100644 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.yakindu.sgraph/plugin.xml +++ b/Domains/hu.bme.mit.inf.dslreasoner.domains.yakindu.sgraph/plugin.xml @@ -8,6 +8,7 @@ + diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.yakindu.sgraph/queries/hu/bme/mit/inf/dslreasoner/partialsnapshot_mavo/yakindu/patterns.vql b/Domains/hu.bme.mit.inf.dslreasoner.domains.yakindu.sgraph/queries/hu/bme/mit/inf/dslreasoner/partialsnapshot_mavo/yakindu/patterns.vql index 98a10cde..49fb5b2f 100644 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.yakindu.sgraph/queries/hu/bme/mit/inf/dslreasoner/partialsnapshot_mavo/yakindu/patterns.vql +++ b/Domains/hu.bme.mit.inf.dslreasoner.domains.yakindu.sgraph/queries/hu/bme/mit/inf/dslreasoner/partialsnapshot_mavo/yakindu/patterns.vql @@ -22,6 +22,12 @@ pattern multipleEntryInRegion(r : Region) { e1 != e2; } +@Constraint(severity="error", message="error", key = {sct}) +pattern unsat_multipleEntryInRegion(sct : Statechart) { + Statechart(sct); + neg find multipleEntryInRegion(_); +} + pattern transition(t : Transition, src : Vertex, trg : Vertex) { Transition.source(t, src); Transition.target(t, trg); @@ -197,6 +203,11 @@ pattern SynchronizedRegionDoesNotHaveMultipleRegions(s : Synchronization, v : Ve neg find hasMultipleRegions(c); } +//@Constraint(severity="error", message="error", key = {sct}) +//pattern unsat_SynchronizedRegionDoesNotHaveMultipleRegions(sct : Statechart) { +// Statechart(sct); +// neg find SynchronizedRegionDoesNotHaveMultipleRegions(_, _); +//} pattern hasMultipleRegions(composite: CompositeElement) { CompositeElement.regions(composite,region1); diff --git a/Solvers/Alloy-Solver/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/.classpath b/Solvers/Alloy-Solver/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/.classpath index de68b5f7..25b7f16f 100644 --- a/Solvers/Alloy-Solver/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/.classpath +++ b/Solvers/Alloy-Solver/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/.classpath @@ -1,11 +1,15 @@ - - - - - - - - - - - + + + + + + + + + + + + + + + diff --git a/Solvers/Alloy-Solver/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/META-INF/MANIFEST.MF b/Solvers/Alloy-Solver/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/META-INF/MANIFEST.MF index b944302b..75581def 100644 --- a/Solvers/Alloy-Solver/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/META-INF/MANIFEST.MF +++ b/Solvers/Alloy-Solver/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/META-INF/MANIFEST.MF @@ -20,7 +20,8 @@ Require-Bundle: com.google.guava, org.eclipse.viatra.query.runtime.base.itc;bundle-version="1.3.0", hu.bme.mit.inf.dslreasoner.ecore2logic;bundle-version="1.0.0", org.eclipse.viatra.query.runtime;bundle-version="2.0.0" -Import-Package: org.apache.log4j;version="1.2.15" -Automatic-Module-Name: hu.bme.mit.inf.dlsreasoner.alloy.reasoner -Bundle-ActivationPolicy: lazy Bundle-RequiredExecutionEnvironment: JavaSE-1.8 +Bundle-ActivationPolicy: lazy +Bundle-NativeCode: libminisat.so;osname=Linux;processor=x86_64 +Automatic-Module-Name: hu.bme.mit.inf.dlsreasoner.alloy.reasoner +Import-Package: org.apache.log4j;version="1.2.15" diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/src/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/statecoder/NeighbourhoodBasedStateCoderFactory.xtend b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/src/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/statecoder/NeighbourhoodBasedStateCoderFactory.xtend index 5e442ca7..f19ac30f 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/src/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/statecoder/NeighbourhoodBasedStateCoderFactory.xtend +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/src/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/statecoder/NeighbourhoodBasedStateCoderFactory.xtend @@ -59,15 +59,14 @@ class NeighbourhoodBasedPartialInterpretationStateCoder exten override doCreateActivationCode(IPatternMatch match) { val size = match.specification.parameters.size val res = new ArrayList(size) - var int index = 0 var int equivalenceHash = 0 val prime = 31 - while (index < size) { - res.add(getCode(match.get(index))) - index++ + for (var int index = 0; index < size; index++) { + val matchArgument = match.get(index) + res.add(getCode(matchArgument)) for (var i = 0; i < index; i++) { - val number = if (match.get(index) === match.get(i)) { + val number = if (matchArgument === match.get(i)) { 1 } else { 0 diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/ViatraReasonerConfiguration.xtend b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/ViatraReasonerConfiguration.xtend index 6f38d261..c0a71c85 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/ViatraReasonerConfiguration.xtend +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/ViatraReasonerConfiguration.xtend @@ -55,7 +55,7 @@ class ViatraReasonerConfiguration extends LogicSolverConfiguration { */ public var SearchSpaceConstraint searchSpaceConstraints = new SearchSpaceConstraint - public var ScopePropagatorStrategy scopePropagatorStrategy = new ScopePropagatorStrategy.Polyhedral( + public var ScopePropagatorStrategy scopePropagatorStrategy = ScopePropagatorStrategy.Polyhedral( PolyhedralScopePropagatorConstraints.Relational, PolyhedralScopePropagatorSolver.Clp) public var List hints = newArrayList diff --git a/Tests/hu.bme.mit.inf.dslreasoner.run/configs/FAM_useful_ViatraSolver_polyhedral_typeHierarchy_Clp.json b/Tests/hu.bme.mit.inf.dslreasoner.run/configs/FAM_useful_ViatraSolver_polyhedral_typeHierarchy_Clp.json deleted file mode 100644 index 1e2d4dd4..00000000 --- a/Tests/hu.bme.mit.inf.dslreasoner.run/configs/FAM_useful_ViatraSolver_polyhedral_typeHierarchy_Clp.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "inputPath": "initialModels", - "outputPath": "outputModels", - "timeout": 1200, - "saveModels": true, - "warmupIterations": 0, - "iterations": 5, - "domain": "FAM", - "scope": "none", - "sizes": [500], - "solver": "ViatraSolver", - "scopePropagator": "polyhedral", - "propagatedConstraints": "hints", - "polyhedronSolver": "Clp", - "scopeHeuristics": "polyhedral" -} diff --git a/Tests/hu.bme.mit.inf.dslreasoner.run/configs/Yakindu.json b/Tests/hu.bme.mit.inf.dslreasoner.run/configs/Yakindu.json new file mode 100644 index 00000000..b602f2fe --- /dev/null +++ b/Tests/hu.bme.mit.inf.dslreasoner.run/configs/Yakindu.json @@ -0,0 +1,13 @@ +{ + "inputPath": "initialModels", + "outputPath": "outputModels", + "timeout": 300, + "saveModels": true, + "saveTemporaryFiles": false, + "warmupIterations": 0, + "iterations": 30, + "domain": "Yakindu", + "scope": "unsat", + "sizes": [20], + "solver": "AlloySolver" +} diff --git a/Tests/hu.bme.mit.inf.dslreasoner.run/configs/Yakindu_useful_ViatraSolver_polyhedral_typeHierarchy_Clp.json b/Tests/hu.bme.mit.inf.dslreasoner.run/configs/Yakindu_useful_ViatraSolver_polyhedral_typeHierarchy_Clp.json deleted file mode 100644 index b4d51684..00000000 --- a/Tests/hu.bme.mit.inf.dslreasoner.run/configs/Yakindu_useful_ViatraSolver_polyhedral_typeHierarchy_Clp.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "inputPath": "initialModels", - "outputPath": "outputModels", - "timeout": 1200, - "saveModels": false, - "saveTemporaryFiles": true, - "warmupIterations": 0, - "iterations": 5, - "domain": "Yakindu", - "scope": "none", - "sizes": [100], - "solver": "ViatraSolver", - "scopePropagator": "polyhedral", - "propagatedConstraints": "hints", - "polyhedronSolver": "Clp", - "scopeHeuristic": "polyhedral" -} diff --git a/Tests/hu.bme.mit.inf.dslreasoner.run/configs/ecore.json b/Tests/hu.bme.mit.inf.dslreasoner.run/configs/ecore.json new file mode 100644 index 00000000..36fb0ea2 --- /dev/null +++ b/Tests/hu.bme.mit.inf.dslreasoner.run/configs/ecore.json @@ -0,0 +1,17 @@ +{ + "inputPath": "initialModels", + "outputPath": "outputModels", + "timeout": 300, + "saveModels": true, + "saveTemporaryFiles": false, + "warmupIterations": 0, + "iterations": 1, + "domain": "ecoreUnsat", + "scope": "none", + "sizes": [5, 10, 20, 30, 40, 50], + "solver": "ViatraSolver", + "scopePropagator": "polyhedral", + "propagatedConstraints": "hints", + "polyhedronSolver": "Clp", + "scopeHeuristic": "polyhedral" +} diff --git a/Tests/hu.bme.mit.inf.dslreasoner.run/configs/ecore_useful_ViatraSolver_polyhedral_typeHierarchy_Clp.json b/Tests/hu.bme.mit.inf.dslreasoner.run/configs/ecore_useful_ViatraSolver_polyhedral_typeHierarchy_Clp.json deleted file mode 100644 index 72e97957..00000000 --- a/Tests/hu.bme.mit.inf.dslreasoner.run/configs/ecore_useful_ViatraSolver_polyhedral_typeHierarchy_Clp.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "inputPath": "initialModels", - "outputPath": "outputModels", - "timeout": 1200, - "saveModels": true, - "warmupIterations": 0, - "iterations": 5, - "domain": "ecore", - "scope": "quantiles", - "sizes": [50], - "solver": "ViatraSolver", - "scopePropagator": "polyhedral", - "propagatedConstraints": "hints", - "polyhedronSolver": "Clp", - "scopeHeuristic": "polyhedral" -} diff --git a/Tests/hu.bme.mit.inf.dslreasoner.run/configs/fs_useful_ViatraSolver_polyhedral_typeHierarchy_Clp.json b/Tests/hu.bme.mit.inf.dslreasoner.run/configs/fs_useful_ViatraSolver_polyhedral_typeHierarchy_Clp.json deleted file mode 100644 index a7e29a22..00000000 --- a/Tests/hu.bme.mit.inf.dslreasoner.run/configs/fs_useful_ViatraSolver_polyhedral_typeHierarchy_Clp.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "inputPath": "initialModels", - "outputPath": "outputModels", - "timeout": 1200, - "saveModels": true, - "warmupIterations": 1, - "iterations": 1, - "domain": "fs", - "scope": "none", - "sizes": [50, 100, 150, 200, 250, 300, 350, 400, 450, 500], - "solver": "ViatraSolver", - "scopePropagator": "polyhedral", - "propagatedConstraints": "hints", - "polyhedronSolver": "Clp", - "scopeHeuristic": "polyhedral" -} diff --git a/Tests/hu.bme.mit.inf.dslreasoner.run/configs/satellite.json b/Tests/hu.bme.mit.inf.dslreasoner.run/configs/satellite.json new file mode 100644 index 00000000..16abb5d0 --- /dev/null +++ b/Tests/hu.bme.mit.inf.dslreasoner.run/configs/satellite.json @@ -0,0 +1,17 @@ +{ + "inputPath": "initialModels", + "outputPath": "outputModels", + "timeout": 300, + "saveModels": true, + "saveTemporaryFiles": false, + "warmupIterations": 0, + "iterations": 30, + "domain": "satelliteUnsat", + "scope": "none", + "sizes": [10], + "solver": "ViatraSolver", + "scopePropagator": "polyhedral", + "propagatedConstraints": "hints", + "polyhedronSolver": "Clp", + "scopeHeuristic": "polyhedral" +} diff --git a/Tests/hu.bme.mit.inf.dslreasoner.run/configs/satellite_useful_ViatraSolver_polyhedral_typeHierarchy_Clp.json b/Tests/hu.bme.mit.inf.dslreasoner.run/configs/satellite_useful_ViatraSolver_polyhedral_typeHierarchy_Clp.json deleted file mode 100644 index d5469948..00000000 --- a/Tests/hu.bme.mit.inf.dslreasoner.run/configs/satellite_useful_ViatraSolver_polyhedral_typeHierarchy_Clp.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "inputPath": "initialModels", - "outputPath": "outputModels", - "timeout": 120, - "saveModels": true, - "saveTemporaryFiles": true, - "warmupIterations": 0, - "iterations": 1, - "domain": "Yakindu", - "scope": "quantiles", - "sizes": [10, 20, 30, 40, 50, 60, 70, 80, 90, 100], - "solver": "ViatraSolver", - "scopePropagator": "polyhedral", - "propagatedConstraints": "hints", - "polyhedronSolver": "Clp", - "scopeHeuristic": "polyhedral" -} diff --git a/Tests/hu.bme.mit.inf.dslreasoner.run/src/hu/bme/mit/inf/dslreasoner/run/MetamodelLoader.xtend b/Tests/hu.bme.mit.inf.dslreasoner.run/src/hu/bme/mit/inf/dslreasoner/run/MetamodelLoader.xtend index 1be03eed..bf9ca274 100644 --- a/Tests/hu.bme.mit.inf.dslreasoner.run/src/hu/bme/mit/inf/dslreasoner/run/MetamodelLoader.xtend +++ b/Tests/hu.bme.mit.inf.dslreasoner.run/src/hu/bme/mit/inf/dslreasoner/run/MetamodelLoader.xtend @@ -40,6 +40,8 @@ class TypeQuantiles { } abstract class MetamodelLoader { + public static val UNSAT_PREFIX = "unsat_" + protected val ReasonerWorkspace workspace new(ReasonerWorkspace workspace) { @@ -61,6 +63,10 @@ abstract class MetamodelLoader { def Map getTypeQuantiles() { emptyMap } + + def Map getUnsatTypeQuantiles() { + throw new UnsupportedOperationException("This domain has no type quantiles for unsatisfiable problems") + } def List getHints(Ecore2Logic ecore2Logic, Ecore2Logic_Trace trace) { emptyList @@ -136,9 +142,15 @@ class YakinduLoader extends MetamodelLoader { public static val patternsWithComplexStates = #["outgoingFromExit", "outgoingFromFinal", "choiceHasNoOutgoing", "choiceHasNoIncoming"] + val boolean satisfiable + new(ReasonerWorkspace workspace) { + this(workspace, true) + } + + new(ReasonerWorkspace workspace, boolean satisfiable) { super(workspace) - YakindummPackage.eINSTANCE.eClass + this.satisfiable = satisfiable } def setUseSynchronization(boolean useSynchronization) { @@ -173,6 +185,8 @@ class YakinduLoader extends MetamodelLoader { useSynchInThisLoad || !patternsWithSynchronization.exists[spec.fullyQualifiedName.endsWith(it)] ].filter [ spec | useComplexStates || !patternsWithComplexStates.exists[spec.fullyQualifiedName.endsWith(it)] + ].filter [ + !satisfiable || !it.simpleName.startsWith(UNSAT_PREFIX) ].toList val wfPatterns = patterns.filter[it.allAnnotations.exists[it.name == "Constraint"]].toSet val derivedFeatures = new LinkedHashMap @@ -213,6 +227,19 @@ class YakinduLoader extends MetamodelLoader { "Transition" -> new TypeQuantiles(0.581632653061224, 0.645161290322581) } } + + override getUnsatTypeQuantiles() { + #{ + "Choice" -> new TypeQuantiles(0.118279569892473, 0.154020979020979), + "Entry" -> new TypeQuantiles(0.2, 0.4), + "Exit" -> new TypeQuantiles(0, 0), + "FinalState" -> new TypeQuantiles(0, 0), + "Region" -> new TypeQuantiles(0.0294117647058824, 0.0633258678611422), + "State" -> new TypeQuantiles(0.132023636740618, 0.175925925925926), +// "Statechart" -> new TypeQuantiles(0.00961538461538462, 0.010752688172043), + "Transition" -> new TypeQuantiles(0.581632653061224, 0.645161290322581) + } + } override getHints(Ecore2Logic ecore2Logic, Ecore2Logic_Trace trace) { #[new SGraphHint(ecore2Logic, trace)] @@ -276,9 +303,15 @@ class FileSystemLoader extends MetamodelLoader { } class EcoreLoader extends MetamodelLoader { + val boolean satisfiable new(ReasonerWorkspace workspace) { + this(workspace, true) + } + + new(ReasonerWorkspace workspace, boolean satisfiable) { super(workspace) + this.satisfiable = satisfiable } override loadMetamodel() { @@ -307,7 +340,12 @@ class EcoreLoader extends MetamodelLoader { override loadQueries(EcoreMetamodelDescriptor metamodel) { val patternGroup = Ecore.instance val patterns = patternGroup.specifications.toList - val wfPatterns = patterns.filter[it.allAnnotations.exists[it.name == "Constraint"]].toSet + val allWfPatterns = patterns.filter[it.allAnnotations.exists[it.name == "Constraint"]].toSet + val wfPatterns = if (satisfiable) { + allWfPatterns.filter[!it.simpleName.startsWith(UNSAT_PREFIX)].toSet + } else { + allWfPatterns + } val derivedFeatures = new HashMap return new ViatraQuerySetDescriptor( patterns, @@ -346,9 +384,15 @@ class EcoreLoader extends MetamodelLoader { } class SatelliteLoader extends MetamodelLoader { + val boolean satisfiable new(ReasonerWorkspace workspace) { + this(workspace, true) + } + + new(ReasonerWorkspace workspace, boolean satisfiable) { super(workspace) + this.satisfiable = satisfiable } override loadMetamodel() { @@ -371,7 +415,9 @@ class SatelliteLoader extends MetamodelLoader { override loadQueries(EcoreMetamodelDescriptor metamodel) { val i = SatelliteQueriesAll.instance - val patterns = i.specifications.toList + val patterns = i.specifications.filter [ + !satisfiable || !it.simpleName.startsWith(UNSAT_PREFIX) + ].toList val wfPatterns = patterns.filter[it.allAnnotations.exists[it.name == "Constraint"]].toSet val derivedFeatures = new LinkedHashMap val res = new ViatraQuerySetDescriptor( @@ -404,4 +450,15 @@ class SatelliteLoader extends MetamodelLoader { } } + override getUnsatTypeQuantiles() { + #{ + "CubeSat3U" -> new TypeQuantiles(0.1, 0.25), + "CubeSat6U" -> new TypeQuantiles(0.1, 0.25), + "SmallSat" -> new TypeQuantiles(0.1, 0.25), + "UHFCommSubsystem" -> new TypeQuantiles(0.08, 0.1), + "XCommSubsystem" -> new TypeQuantiles(0, 0.1), + "KaCommSubsystem" -> new TypeQuantiles(0, 0.05), + "InterferometryPayload" -> new TypeQuantiles(0.15, 0.25) + } + } } diff --git a/Tests/hu.bme.mit.inf.dslreasoner.run/src/hu/bme/mit/inf/dslreasoner/run/script/MeasurementScript.xtend b/Tests/hu.bme.mit.inf.dslreasoner.run/src/hu/bme/mit/inf/dslreasoner/run/script/MeasurementScript.xtend index 56a65091..f842afb5 100644 --- a/Tests/hu.bme.mit.inf.dslreasoner.run/src/hu/bme/mit/inf/dslreasoner/run/script/MeasurementScript.xtend +++ b/Tests/hu.bme.mit.inf.dslreasoner.run/src/hu/bme/mit/inf/dslreasoner/run/script/MeasurementScript.xtend @@ -29,19 +29,26 @@ class MeasurementScript { enum Domain { fs, ecore, + ecoreUnsat, Yakindu, + YakinduUnsat, FAM, - satellite + satellite, + satelliteUnsat } enum Scope { none, - quantiles + quantiles, + upperOnly, + unsat, + exactly } enum Solver { ViatraSolver, - AlloySolver + AlloySolver, + AlloyMiniSat } enum ScopePropagator { diff --git a/Tests/hu.bme.mit.inf.dslreasoner.run/src/hu/bme/mit/inf/dslreasoner/run/script/MeasurementScriptRunner.xtend b/Tests/hu.bme.mit.inf.dslreasoner.run/src/hu/bme/mit/inf/dslreasoner/run/script/MeasurementScriptRunner.xtend index 1127f01a..973c3d13 100644 --- a/Tests/hu.bme.mit.inf.dslreasoner.run/src/hu/bme/mit/inf/dslreasoner/run/script/MeasurementScriptRunner.xtend +++ b/Tests/hu.bme.mit.inf.dslreasoner.run/src/hu/bme/mit/inf/dslreasoner/run/script/MeasurementScriptRunner.xtend @@ -54,6 +54,7 @@ import org.eclipse.viatra.query.patternlanguage.emf.EMFPatternLanguageStandalone import org.eclipse.viatra.query.runtime.api.ViatraQueryEngineOptions import org.eclipse.viatra.query.runtime.rete.matcher.ReteBackendFactory import org.eclipse.xtend.lib.annotations.Data +import hu.bme.mit.inf.dlsreasoner.alloy.reasoner.AlloyBackendSolver class MeasurementScriptRunner { static val MODEL_SIZE_GAP = 0 @@ -75,9 +76,12 @@ class MeasurementScriptRunner { metamodelLoader = switch (script.domain) { case fs: new FileSystemLoader(inputWorkspace) case ecore: new EcoreLoader(inputWorkspace) + case ecoreUnsat: new EcoreLoader(inputWorkspace, false) case Yakindu: new YakinduLoader(inputWorkspace) => [useSynchronization = false; useComplexStates = true] + case YakinduUnsat: new YakinduLoader(inputWorkspace, false) => [useSynchronization = false; useComplexStates = true] case FAM: new FAMLoader(inputWorkspace) case satellite: new SatelliteLoader(inputWorkspace) + case satelliteUnsat: new SatelliteLoader(inputWorkspace, false) default: throw new IllegalArgumentException("Unsupported domain: " + script.domain) } } @@ -191,15 +195,17 @@ class MeasurementScriptRunner { config } - private def createAlloyConfig() { + private def createAlloyConfig(AlloyBackendSolver backendSolver) { val config = new AlloySolverConfiguration + config.solver = backendSolver config } private def createConfig(int modelSize) { val config = switch (solver : script.solver) { case ViatraSolver: createViatraConfig() - case AlloySolver: createAlloyConfig() + case AlloySolver: createAlloyConfig(AlloyBackendSolver.SAT4J) + case AlloyMiniSat: createAlloyConfig(AlloyBackendSolver.MiniSatJNI) default: throw new IllegalArgumentException("Unknown solver: " + solver) } config.solutionScope.numberOfRequiredSolutions = 1 @@ -243,7 +249,8 @@ class MeasurementScriptRunner { val solver = switch (solver : script.solver) { case ViatraSolver: new ViatraReasoner - case AlloySolver: new AlloySolver + case AlloySolver, + case AlloyMiniSat: new AlloySolver default: throw new IllegalArgumentException("Unknown solver: " + solver) } val result = solver.solve(problem, config, outputWorkspace) @@ -284,14 +291,31 @@ class MeasurementScriptRunner { } else { val numberOfKnownElements = knownElements.values.flatten.toSet.size val newElementCount = modelSize - numberOfKnownElements - config.typeScopes.minNewElements = newElementCount - config.typeScopes.maxNewElements = newElementCount + MODEL_SIZE_GAP + switch (script.scope) { + case upperOnly: + config.typeScopes.maxNewElements = newElementCount + MODEL_SIZE_GAP + case exactly: { + config.typeScopes.minNewElements = newElementCount + config.typeScopes.maxNewElements = newElementCount + } + default: { + config.typeScopes.minNewElements = newElementCount + config.typeScopes.maxNewElements = newElementCount + MODEL_SIZE_GAP + } + } } - switch (script.scope) { - case none: + switch (scope : script.scope) { + case none, + case exactly: return - case quantiles: { - val quantiles = metamodelLoader.typeQuantiles + case quantiles, + case unsat, + case upperOnly: { + val quantiles = if (scope == Scope.unsat) { + metamodelLoader.unsatTypeQuantiles + } else { + metamodelLoader.typeQuantiles + } for (eClassInScope : eClassMapper.allClassesInScope(trace)) { val quantile = quantiles.get(eClassInScope.name) if (quantile !== null) { @@ -301,7 +325,9 @@ class MeasurementScriptRunner { val lowCount = Math.floor(modelSize * quantile.low) as int val highCount = Math.ceil((modelSize + MODEL_SIZE_GAP) * quantile.high) as int // println('''«type.name» «lowCount» «highCount»''') - config.typeScopes.minNewElementsByType.put(type, Math.max(lowCount - currentCount, 0)) + if (script.scope != Scope.upperOnly) { + config.typeScopes.minNewElementsByType.put(type, Math.max(lowCount - currentCount, 0)) + } config.typeScopes.maxNewElementsByType.put(type, highCount - currentCount) } } -- cgit v1.2.3-70-g09d2 From 89235248d109ec015cc483188a7c4167c0deef77 Mon Sep 17 00:00:00 2001 From: Kristóf Marussy Date: Thu, 7 May 2020 19:12:45 +0200 Subject: Rebuild with Eclipse 2020-03 --- .../.ApplicationConfigurationIdeModule.xtendbin | Bin 1701 -> 1701 bytes .../ide/.ApplicationConfigurationIdeSetup.xtendbin | Bin 2526 -> 2526 bytes .../ide/ApplicationConfigurationIdeModule.java | 26 +- .../ide/ApplicationConfigurationIdeSetup.java | 48 +- .../application/validation/MetamodelValidator.java | 314 ++-- .../validation/QueryAndMetamodelValidator.java | 172 +-- ...licationConfigurationValueConverterService.java | 32 +- .../language/solverLanguage/ErrorPredicate.java | 47 - .../language/solverLanguage/PredicateSymbol.java | 47 - .../solverLanguage/impl/ErrorPredicateImpl.java | 179 --- .../solverLanguage/impl/PredicateSymbolImpl.java | 196 --- .../ModelGenExampleFAM_plugin/META-INF/MANIFEST.MF | 18 +- .../model/FamMetamodel.ecore | 138 +- .../Examples/ModelGenExampleFAM_plugin/plugin.xml | 48 +- .../META-INF/MANIFEST.MF | 24 +- .../model/FileSytem.ecore | 64 +- .../plugin.xml | 50 +- .../dslreasoner/domains/alloyexamples/.gitignore | 8 + .../domains/alloyexamples/ContentInNotLive.java | 752 ++++++++++ .../domains/alloyexamples/DirectSupertype.java | 703 +++++++++ .../dslreasoner/domains/alloyexamples/Live.java | 741 ++++++++++ .../domains/alloyexamples/LoopInInheritence.java | 558 +++++++ .../alloyexamples/NonSymmetricOpposite.java | 718 +++++++++ .../domains/alloyexamples/Opposite.java | 704 +++++++++ .../alloyexamples/OppositeDifferentClass.java | 587 ++++++++ .../domains/alloyexamples/PatternContent.java | 704 +++++++++ .../META-INF/MANIFEST.MF | 18 +- .../plugin.xml | 206 +-- .../plugin.xml | 52 +- .../.classpath | 24 +- .../.gitignore | 1 + .../lib/.gitignore | 0 .../plugin.xml | 32 +- .../plugin.xml | 28 +- .../case.study.familyTree.run/bin/.gitignore | 2 - .../bin/queries/.FamilyTreeConstraints.java._trace | Bin 632 -> 632 bytes .../bin/queries/.MemberIsItsOwnParent.java._trace | Bin 3544 -> 3540 bytes .../bin/queries/.gitignore | 8 + .../outputs/debug/errors.txt | 32 +- .../outputs/debug/generation.logicproblem | 680 ++++----- .../outputs/debug/init.partialmodel | 102 +- .../case.study.familyTree.run/outputs/log.txt | 2 +- .../case.study.familyTree.run/plugin.xml | 20 +- .../queries/.FamilyTreeConstraints.java._trace | Bin 632 -> 632 bytes .../queries/.MemberIsItsOwnParent.java._trace | Bin 3544 -> 3540 bytes .../src-gen/queries/FamilyTreeConstraints.java | 172 +-- .../src-gen/queries/MemberHasParent.java | 1102 +++++++------- .../src-gen/queries/MemberIsItsOwnParent.java | 1154 +++++++-------- .../src-gen/queries/ParentTooYoung.java | 1550 ++++++++++---------- .../src-gen/queries/TwoMembersHaveNoParent.java | 1446 +++++++++--------- .../case.study.pledge.run/plugin.xml | 84 +- .../xtend-gen/run/.GeneratePledgeModels.xtendbin | Bin 12374 -> 12374 bytes .../xtend-gen/run/GeneratePledgeModels.java | 628 ++++---- .../plugin.xml | 2 +- 54 files changed, 9620 insertions(+), 4603 deletions(-) delete mode 100644 Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/ErrorPredicate.java delete mode 100644 Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/PredicateSymbol.java delete mode 100644 Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ErrorPredicateImpl.java delete mode 100644 Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/PredicateSymbolImpl.java create mode 100644 Domains/hu.bme.mit.inf.dslreasoner.domains.alloyexamples/src-gen/hu/bme/mit/inf/dslreasoner/domains/alloyexamples/ContentInNotLive.java create mode 100644 Domains/hu.bme.mit.inf.dslreasoner.domains.alloyexamples/src-gen/hu/bme/mit/inf/dslreasoner/domains/alloyexamples/DirectSupertype.java create mode 100644 Domains/hu.bme.mit.inf.dslreasoner.domains.alloyexamples/src-gen/hu/bme/mit/inf/dslreasoner/domains/alloyexamples/Live.java create mode 100644 Domains/hu.bme.mit.inf.dslreasoner.domains.alloyexamples/src-gen/hu/bme/mit/inf/dslreasoner/domains/alloyexamples/LoopInInheritence.java create mode 100644 Domains/hu.bme.mit.inf.dslreasoner.domains.alloyexamples/src-gen/hu/bme/mit/inf/dslreasoner/domains/alloyexamples/NonSymmetricOpposite.java create mode 100644 Domains/hu.bme.mit.inf.dslreasoner.domains.alloyexamples/src-gen/hu/bme/mit/inf/dslreasoner/domains/alloyexamples/Opposite.java create mode 100644 Domains/hu.bme.mit.inf.dslreasoner.domains.alloyexamples/src-gen/hu/bme/mit/inf/dslreasoner/domains/alloyexamples/OppositeDifferentClass.java create mode 100644 Domains/hu.bme.mit.inf.dslreasoner.domains.alloyexamples/src-gen/hu/bme/mit/inf/dslreasoner/domains/alloyexamples/PatternContent.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.viatra2logic/lib/.gitignore delete mode 100644 Tests/MODELS2020-CaseStudies/case.study.familyTree.run/bin/.gitignore create mode 100644 Tests/MODELS2020-CaseStudies/case.study.familyTree.run/bin/queries/.gitignore (limited to 'Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner') diff --git a/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeModule.xtendbin b/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeModule.xtendbin index a3b7b1f2..b3013cf6 100644 Binary files a/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeModule.xtendbin and b/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeModule.xtendbin differ diff --git a/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeSetup.xtendbin b/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeSetup.xtendbin index 6d50bd9d..56db384c 100644 Binary files a/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeSetup.xtendbin and b/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeSetup.xtendbin differ diff --git a/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/ApplicationConfigurationIdeModule.java b/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/ApplicationConfigurationIdeModule.java index 34f65780..f4d40594 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/ApplicationConfigurationIdeModule.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/ApplicationConfigurationIdeModule.java @@ -1,13 +1,13 @@ -/** - * generated by Xtext 2.12.0 - */ -package hu.bme.mit.inf.dslreasoner.application.ide; - -import hu.bme.mit.inf.dslreasoner.application.ide.AbstractApplicationConfigurationIdeModule; - -/** - * Use this class to register ide components. - */ -@SuppressWarnings("all") -public class ApplicationConfigurationIdeModule extends AbstractApplicationConfigurationIdeModule { -} +/** + * generated by Xtext 2.12.0 + */ +package hu.bme.mit.inf.dslreasoner.application.ide; + +import hu.bme.mit.inf.dslreasoner.application.ide.AbstractApplicationConfigurationIdeModule; + +/** + * Use this class to register ide components. + */ +@SuppressWarnings("all") +public class ApplicationConfigurationIdeModule extends AbstractApplicationConfigurationIdeModule { +} diff --git a/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/ApplicationConfigurationIdeSetup.java b/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/ApplicationConfigurationIdeSetup.java index a73d3f1f..2281147c 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/ApplicationConfigurationIdeSetup.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/ApplicationConfigurationIdeSetup.java @@ -1,24 +1,24 @@ -/** - * generated by Xtext 2.12.0 - */ -package hu.bme.mit.inf.dslreasoner.application.ide; - -import com.google.inject.Guice; -import com.google.inject.Injector; -import hu.bme.mit.inf.dslreasoner.application.ApplicationConfigurationRuntimeModule; -import hu.bme.mit.inf.dslreasoner.application.ApplicationConfigurationStandaloneSetup; -import hu.bme.mit.inf.dslreasoner.application.ide.ApplicationConfigurationIdeModule; -import org.eclipse.xtext.util.Modules2; - -/** - * Initialization support for running Xtext languages as language servers. - */ -@SuppressWarnings("all") -public class ApplicationConfigurationIdeSetup extends ApplicationConfigurationStandaloneSetup { - @Override - public Injector createInjector() { - ApplicationConfigurationRuntimeModule _applicationConfigurationRuntimeModule = new ApplicationConfigurationRuntimeModule(); - ApplicationConfigurationIdeModule _applicationConfigurationIdeModule = new ApplicationConfigurationIdeModule(); - return Guice.createInjector(Modules2.mixin(_applicationConfigurationRuntimeModule, _applicationConfigurationIdeModule)); - } -} +/** + * generated by Xtext 2.12.0 + */ +package hu.bme.mit.inf.dslreasoner.application.ide; + +import com.google.inject.Guice; +import com.google.inject.Injector; +import hu.bme.mit.inf.dslreasoner.application.ApplicationConfigurationRuntimeModule; +import hu.bme.mit.inf.dslreasoner.application.ApplicationConfigurationStandaloneSetup; +import hu.bme.mit.inf.dslreasoner.application.ide.ApplicationConfigurationIdeModule; +import org.eclipse.xtext.util.Modules2; + +/** + * Initialization support for running Xtext languages as language servers. + */ +@SuppressWarnings("all") +public class ApplicationConfigurationIdeSetup extends ApplicationConfigurationStandaloneSetup { + @Override + public Injector createInjector() { + ApplicationConfigurationRuntimeModule _applicationConfigurationRuntimeModule = new ApplicationConfigurationRuntimeModule(); + ApplicationConfigurationIdeModule _applicationConfigurationIdeModule = new ApplicationConfigurationIdeModule(); + return Guice.createInjector(Modules2.mixin(_applicationConfigurationRuntimeModule, _applicationConfigurationIdeModule)); + } +} diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/xtend-gen/hu/bme/mit/inf/dslreasoner/application/validation/MetamodelValidator.java b/Application/hu.bme.mit.inf.dslreasoner.application/xtend-gen/hu/bme/mit/inf/dslreasoner/application/validation/MetamodelValidator.java index 2a2e1047..872814b8 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/xtend-gen/hu/bme/mit/inf/dslreasoner/application/validation/MetamodelValidator.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/xtend-gen/hu/bme/mit/inf/dslreasoner/application/validation/MetamodelValidator.java @@ -1,157 +1,157 @@ -package hu.bme.mit.inf.dslreasoner.application.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(); - this.allSupertypesAreIncluded(descriptor.getClasses(), errors); - this.allEnumTypesareIncluded(descriptor.getEnums(), descriptor.getLiterals(), errors); - this.referenceEndpointsAreIncluded(descriptor.getClasses(), descriptor.getReferences(), errors); - this.attributeSourcePontIsIncluded(descriptor.getClasses(), descriptor.getAttributes(), errors); - this.attributeTargetIsSupported(descriptor.getAttributes(), 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) { - boolean _contains = enums.contains(l.getEEnum()); - 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 \""); - String _name_1 = l.getEEnum().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()); - } - } - } - } -} +package hu.bme.mit.inf.dslreasoner.application.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(); + this.allSupertypesAreIncluded(descriptor.getClasses(), errors); + this.allEnumTypesareIncluded(descriptor.getEnums(), descriptor.getLiterals(), errors); + this.referenceEndpointsAreIncluded(descriptor.getClasses(), descriptor.getReferences(), errors); + this.attributeSourcePontIsIncluded(descriptor.getClasses(), descriptor.getAttributes(), errors); + this.attributeTargetIsSupported(descriptor.getAttributes(), 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) { + boolean _contains = enums.contains(l.getEEnum()); + 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 \""); + String _name_1 = l.getEEnum().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/validation/QueryAndMetamodelValidator.java b/Application/hu.bme.mit.inf.dslreasoner.application/xtend-gen/hu/bme/mit/inf/dslreasoner/application/validation/QueryAndMetamodelValidator.java index 567551f1..0b5b8f03 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/xtend-gen/hu/bme/mit/inf/dslreasoner/application/validation/QueryAndMetamodelValidator.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/xtend-gen/hu/bme/mit/inf/dslreasoner/application/validation/QueryAndMetamodelValidator.java @@ -1,86 +1,86 @@ -package hu.bme.mit.inf.dslreasoner.application.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.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.emf.vql.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(); - final Set elementsInMetamodel = IterableExtensions.toSet(Iterables.concat(_plus_2, _references)); - 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) { - final List elements = IteratorExtensions.toList(pattern.eAllContents()); - final Function1> _function = (EObject element) -> { - final EList references = element.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()); - } - } - }; - return Iterables.filter((Iterables.concat(ListExtensions.>map(references, _function_1))), ENamedElement.class); - }; - return Iterables.concat(ListExtensions.>map(elements, _function)); - } -} +package hu.bme.mit.inf.dslreasoner.application.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.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.emf.vql.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(); + final Set elementsInMetamodel = IterableExtensions.toSet(Iterables.concat(_plus_2, _references)); + 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) { + final List elements = IteratorExtensions.toList(pattern.eAllContents()); + final Function1> _function = (EObject element) -> { + final EList references = element.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()); + } + } + }; + return Iterables.filter((Iterables.concat(ListExtensions.>map(references, _function_1))), ENamedElement.class); + }; + return Iterables.concat(ListExtensions.>map(elements, _function)); + } +} diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/xtend-gen/hu/bme/mit/inf/dslreasoner/application/valueconverter/ApplicationConfigurationValueConverterService.java b/Application/hu.bme.mit.inf.dslreasoner.application/xtend-gen/hu/bme/mit/inf/dslreasoner/application/valueconverter/ApplicationConfigurationValueConverterService.java index e617a132..59a09906 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/xtend-gen/hu/bme/mit/inf/dslreasoner/application/valueconverter/ApplicationConfigurationValueConverterService.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/xtend-gen/hu/bme/mit/inf/dslreasoner/application/valueconverter/ApplicationConfigurationValueConverterService.java @@ -1,16 +1,16 @@ -package hu.bme.mit.inf.dslreasoner.application.valueconverter; - -import hu.bme.mit.inf.dslreasoner.application.valueconverter.QualifiedNameValueConverter; -import org.eclipse.xtext.common.services.DefaultTerminalConverters; -import org.eclipse.xtext.conversion.IValueConverter; -import org.eclipse.xtext.conversion.ValueConverter; - -@SuppressWarnings("all") -public class ApplicationConfigurationValueConverterService extends DefaultTerminalConverters { - private final QualifiedNameValueConverter converter2 = new QualifiedNameValueConverter(); - - @ValueConverter(rule = "QualifiedName") - public IValueConverter QualifiedName() { - return this.converter2; - } -} +package hu.bme.mit.inf.dslreasoner.application.valueconverter; + +import hu.bme.mit.inf.dslreasoner.application.valueconverter.QualifiedNameValueConverter; +import org.eclipse.xtext.common.services.DefaultTerminalConverters; +import org.eclipse.xtext.conversion.IValueConverter; +import org.eclipse.xtext.conversion.ValueConverter; + +@SuppressWarnings("all") +public class ApplicationConfigurationValueConverterService extends DefaultTerminalConverters { + private final QualifiedNameValueConverter converter2 = new QualifiedNameValueConverter(); + + @ValueConverter(rule = "QualifiedName") + public IValueConverter QualifiedName() { + return this.converter2; + } +} diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/ErrorPredicate.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/ErrorPredicate.java deleted file mode 100644 index c8e49d48..00000000 --- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/ErrorPredicate.java +++ /dev/null @@ -1,47 +0,0 @@ -/** - * generated by Xtext 2.18.0.M3 - */ -package org.eclipse.viatra.solver.language.solverLanguage; - - -/** - * - * A representation of the model object 'Error Predicate'. - * - * - *

    - * The following features are supported: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.ErrorPredicate#getName Name}
    • - *
    - * - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getErrorPredicate() - * @model - * @generated - */ -public interface ErrorPredicate extends Predicate -{ - /** - * Returns the value of the 'Name' attribute. - * - * - * @return the value of the 'Name' attribute. - * @see #setName(String) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getErrorPredicate_Name() - * @model - * @generated - */ - String getName(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.ErrorPredicate#getName Name}' attribute. - * - * - * @param value the new value of the 'Name' attribute. - * @see #getName() - * @generated - */ - void setName(String value); - -} // ErrorPredicate diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/PredicateSymbol.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/PredicateSymbol.java deleted file mode 100644 index 0f1d0c47..00000000 --- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/PredicateSymbol.java +++ /dev/null @@ -1,47 +0,0 @@ -/** - * generated by Xtext 2.18.0.M3 - */ -package org.eclipse.viatra.solver.language.solverLanguage; - - -/** - * - * A representation of the model object 'Predicate Symbol'. - * - * - *

    - * The following features are supported: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.PredicateSymbol#getSymbol Symbol}
    • - *
    - * - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getPredicateSymbol() - * @model - * @generated - */ -public interface PredicateSymbol extends Predicate -{ - /** - * Returns the value of the 'Symbol' containment reference. - * - * - * @return the value of the 'Symbol' containment reference. - * @see #setSymbol(ModelSymbol) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getPredicateSymbol_Symbol() - * @model containment="true" - * @generated - */ - ModelSymbol getSymbol(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.PredicateSymbol#getSymbol Symbol}' containment reference. - * - * - * @param value the new value of the 'Symbol' containment reference. - * @see #getSymbol() - * @generated - */ - void setSymbol(ModelSymbol value); - -} // PredicateSymbol diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ErrorPredicateImpl.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ErrorPredicateImpl.java deleted file mode 100644 index f9b0e8c8..00000000 --- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ErrorPredicateImpl.java +++ /dev/null @@ -1,179 +0,0 @@ -/** - * generated by Xtext 2.18.0.M3 - */ -package org.eclipse.viatra.solver.language.solverLanguage.impl; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -import org.eclipse.viatra.solver.language.solverLanguage.ErrorPredicate; -import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; - -/** - * - * An implementation of the model object 'Error Predicate'. - * - *

    - * The following features are implemented: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.ErrorPredicateImpl#getName Name}
    • - *
    - * - * @generated - */ -public class ErrorPredicateImpl extends PredicateImpl implements ErrorPredicate -{ - /** - * The default value of the '{@link #getName() Name}' attribute. - * - * - * @see #getName() - * @generated - * @ordered - */ - protected static final String NAME_EDEFAULT = null; - - /** - * The cached value of the '{@link #getName() Name}' attribute. - * - * - * @see #getName() - * @generated - * @ordered - */ - protected String name = NAME_EDEFAULT; - - /** - * - * - * @generated - */ - protected ErrorPredicateImpl() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return SolverLanguagePackage.Literals.ERROR_PREDICATE; - } - - /** - * - * - * @generated - */ - @Override - public String getName() - { - return name; - } - - /** - * - * - * @generated - */ - @Override - public void setName(String newName) - { - String oldName = name; - name = newName; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.ERROR_PREDICATE__NAME, oldName, name)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case SolverLanguagePackage.ERROR_PREDICATE__NAME: - return getName(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case SolverLanguagePackage.ERROR_PREDICATE__NAME: - setName((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case SolverLanguagePackage.ERROR_PREDICATE__NAME: - setName(NAME_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case SolverLanguagePackage.ERROR_PREDICATE__NAME: - return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() - { - if (eIsProxy()) return super.toString(); - - StringBuilder result = new StringBuilder(super.toString()); - result.append(" (name: "); - result.append(name); - result.append(')'); - return result.toString(); - } - -} //ErrorPredicateImpl diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/PredicateSymbolImpl.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/PredicateSymbolImpl.java deleted file mode 100644 index f49c6701..00000000 --- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/PredicateSymbolImpl.java +++ /dev/null @@ -1,196 +0,0 @@ -/** - * generated by Xtext 2.18.0.M3 - */ -package org.eclipse.viatra.solver.language.solverLanguage.impl; - -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.viatra.solver.language.solverLanguage.ModelSymbol; -import org.eclipse.viatra.solver.language.solverLanguage.PredicateSymbol; -import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; - -/** - * - * An implementation of the model object 'Predicate Symbol'. - * - *

    - * The following features are implemented: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.PredicateSymbolImpl#getSymbol Symbol}
    • - *
    - * - * @generated - */ -public class PredicateSymbolImpl extends PredicateImpl implements PredicateSymbol -{ - /** - * The cached value of the '{@link #getSymbol() Symbol}' containment reference. - * - * - * @see #getSymbol() - * @generated - * @ordered - */ - protected ModelSymbol symbol; - - /** - * - * - * @generated - */ - protected PredicateSymbolImpl() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return SolverLanguagePackage.Literals.PREDICATE_SYMBOL; - } - - /** - * - * - * @generated - */ - @Override - public ModelSymbol getSymbol() - { - return symbol; - } - - /** - * - * - * @generated - */ - public NotificationChain basicSetSymbol(ModelSymbol newSymbol, NotificationChain msgs) - { - ModelSymbol oldSymbol = symbol; - symbol = newSymbol; - if (eNotificationRequired()) - { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.PREDICATE_SYMBOL__SYMBOL, oldSymbol, newSymbol); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * - * - * @generated - */ - @Override - public void setSymbol(ModelSymbol newSymbol) - { - if (newSymbol != symbol) - { - NotificationChain msgs = null; - if (symbol != null) - msgs = ((InternalEObject)symbol).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.PREDICATE_SYMBOL__SYMBOL, null, msgs); - if (newSymbol != null) - msgs = ((InternalEObject)newSymbol).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.PREDICATE_SYMBOL__SYMBOL, null, msgs); - msgs = basicSetSymbol(newSymbol, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.PREDICATE_SYMBOL__SYMBOL, newSymbol, newSymbol)); - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) - { - switch (featureID) - { - case SolverLanguagePackage.PREDICATE_SYMBOL__SYMBOL: - return basicSetSymbol(null, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case SolverLanguagePackage.PREDICATE_SYMBOL__SYMBOL: - return getSymbol(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case SolverLanguagePackage.PREDICATE_SYMBOL__SYMBOL: - setSymbol((ModelSymbol)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case SolverLanguagePackage.PREDICATE_SYMBOL__SYMBOL: - setSymbol((ModelSymbol)null); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case SolverLanguagePackage.PREDICATE_SYMBOL__SYMBOL: - return symbol != null; - } - return super.eIsSet(featureID); - } - -} //PredicateSymbolImpl diff --git a/Domains/Examples/ModelGenExampleFAM_plugin/META-INF/MANIFEST.MF b/Domains/Examples/ModelGenExampleFAM_plugin/META-INF/MANIFEST.MF index f1f5d18c..077e646b 100644 --- a/Domains/Examples/ModelGenExampleFAM_plugin/META-INF/MANIFEST.MF +++ b/Domains/Examples/ModelGenExampleFAM_plugin/META-INF/MANIFEST.MF @@ -7,16 +7,16 @@ Bundle-ClassPath: . Bundle-Vendor: %providerName Bundle-Localization: plugin Export-Package: functionalarchitecture, - functionalarchitecture.impl, - functionalarchitecture.util, - hu.bme.mit.inf.dslreasoner.domains.transima.fam + functionalarchitecture.impl, + functionalarchitecture.util, + hu.bme.mit.inf.dslreasoner.domains.transima.fam Require-Bundle: ModelGenExampleFAM_plugin, - org.eclipse.viatra.addon.querybasedfeatures.runtime, - org.eclipse.viatra.query.runtime, - org.apache.log4j;bundle-version="1.2.15", - com.google.guava;bundle-version="15.0.0", - org.eclipse.core.runtime, - org.eclipse.emf.ecore;visibility:=reexport + org.eclipse.viatra.addon.querybasedfeatures.runtime, + org.eclipse.viatra.query.runtime, + org.apache.log4j;bundle-version="1.2.15", + com.google.guava;bundle-version="15.0.0", + org.eclipse.core.runtime, + org.eclipse.emf.ecore;visibility:=reexport Bundle-RequiredExecutionEnvironment: JavaSE-1.8 Bundle-ActivationPolicy: lazy Automatic-Module-Name: ModelGenExampleFAM_plugin diff --git a/Domains/Examples/ModelGenExampleFAM_plugin/model/FamMetamodel.ecore b/Domains/Examples/ModelGenExampleFAM_plugin/model/FamMetamodel.ecore index d8331ba8..9654ba41 100644 --- a/Domains/Examples/ModelGenExampleFAM_plugin/model/FamMetamodel.ecore +++ b/Domains/Examples/ModelGenExampleFAM_plugin/model/FamMetamodel.ecore @@ -1,69 +1,69 @@ - - - -
    - - - - - -
    - - - - - - - - - - - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + +
    + + + + + +
    + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Domains/Examples/ModelGenExampleFAM_plugin/plugin.xml b/Domains/Examples/ModelGenExampleFAM_plugin/plugin.xml index 3dce57aa..213ec0ed 100644 --- a/Domains/Examples/ModelGenExampleFAM_plugin/plugin.xml +++ b/Domains/Examples/ModelGenExampleFAM_plugin/plugin.xml @@ -1,24 +1,24 @@ - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.alloyexamples/META-INF/MANIFEST.MF b/Domains/hu.bme.mit.inf.dslreasoner.domains.alloyexamples/META-INF/MANIFEST.MF index 41726ae6..5fb85170 100644 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.alloyexamples/META-INF/MANIFEST.MF +++ b/Domains/hu.bme.mit.inf.dslreasoner.domains.alloyexamples/META-INF/MANIFEST.MF @@ -6,19 +6,19 @@ Bundle-Version: 1.0.0.qualifier Bundle-ClassPath: . Bundle-Vendor: %providerName Bundle-Localization: plugin -Export-Package: hu.bme.mit.inf.dslreasoner.domains.alloyexamples, - hu.bme.mit.inf.dslreasoner.domains.alloyexamples.Filesystem, - hu.bme.mit.inf.dslreasoner.domains.alloyexamples.Filesystem.impl, - hu.bme.mit.inf.dslreasoner.domains.alloyexamples.Filesystem.util, +Export-Package: hu.bme.mit.inf.dslreasoner.domains.alloyexamples, + hu.bme.mit.inf.dslreasoner.domains.alloyexamples.Filesystem, + hu.bme.mit.inf.dslreasoner.domains.alloyexamples.Filesystem.impl, + hu.bme.mit.inf.dslreasoner.domains.alloyexamples.Filesystem.util, hu.bme.mit.inf.dslreasoner.domains.alloyexamples.util -Require-Bundle: org.eclipse.viatra.addon.querybasedfeatures.runtime, - org.eclipse.viatra.query.runtime, - org.eclipse.core.runtime, - org.eclipse.emf.ecore;visibility:=reexport, - org.eclipse.emf.emfstore.common, - com.google.guava, - org.eclipse.xtext.xbase.lib, - org.eclipse.xtend.lib, +Require-Bundle: org.eclipse.viatra.addon.querybasedfeatures.runtime, + org.eclipse.viatra.query.runtime, + org.eclipse.core.runtime, + org.eclipse.emf.ecore;visibility:=reexport, + org.eclipse.emf.emfstore.common, + com.google.guava, + org.eclipse.xtext.xbase.lib, + org.eclipse.xtend.lib, org.eclipse.xtend.lib.macro Bundle-RequiredExecutionEnvironment: JavaSE-1.8 Bundle-ActivationPolicy: lazy diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.alloyexamples/model/FileSytem.ecore b/Domains/hu.bme.mit.inf.dslreasoner.domains.alloyexamples/model/FileSytem.ecore index c928d2b0..87ba7135 100644 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.alloyexamples/model/FileSytem.ecore +++ b/Domains/hu.bme.mit.inf.dslreasoner.domains.alloyexamples/model/FileSytem.ecore @@ -1,32 +1,32 @@ - - - -
    - - - - - -
    - - - - - - - - - - - - - - - + + + +
    + + + + + +
    + + + + + + + + + + + + + + + diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.alloyexamples/plugin.xml b/Domains/hu.bme.mit.inf.dslreasoner.domains.alloyexamples/plugin.xml index 576aa06e..d7fd112a 100644 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.alloyexamples/plugin.xml +++ b/Domains/hu.bme.mit.inf.dslreasoner.domains.alloyexamples/plugin.xml @@ -1,26 +1,26 @@ - - - - - - - - - - - - - - - - - - - - - - - - +--> + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.alloyexamples/src-gen/hu/bme/mit/inf/dslreasoner/domains/alloyexamples/.gitignore b/Domains/hu.bme.mit.inf.dslreasoner.domains.alloyexamples/src-gen/hu/bme/mit/inf/dslreasoner/domains/alloyexamples/.gitignore index 9d608403..52338993 100644 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.alloyexamples/src-gen/hu/bme/mit/inf/dslreasoner/domains/alloyexamples/.gitignore +++ b/Domains/hu.bme.mit.inf.dslreasoner.domains.alloyexamples/src-gen/hu/bme/mit/inf/dslreasoner/domains/alloyexamples/.gitignore @@ -34,3 +34,11 @@ /OppositeMatcher.java /PatternContentMatch.java /PatternContentMatcher.java +/.ContentInNotLive.java._trace +/.DirectSupertype.java._trace +/.Live.java._trace +/.LoopInInheritence.java._trace +/.NonSymmetricOpposite.java._trace +/.Opposite.java._trace +/.OppositeDifferentClass.java._trace +/.PatternContent.java._trace diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.alloyexamples/src-gen/hu/bme/mit/inf/dslreasoner/domains/alloyexamples/ContentInNotLive.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.alloyexamples/src-gen/hu/bme/mit/inf/dslreasoner/domains/alloyexamples/ContentInNotLive.java new file mode 100644 index 00000000..ef0aaaf3 --- /dev/null +++ b/Domains/hu.bme.mit.inf.dslreasoner.domains.alloyexamples/src-gen/hu/bme/mit/inf/dslreasoner/domains/alloyexamples/ContentInNotLive.java @@ -0,0 +1,752 @@ +/** + * Generated from platform:/resource/hu.bme.mit.inf.dslreasoner.domains.alloyexamples/patterns/hu/bme/mit/inf/dslreasoner/domains/alloyexamples/FileSystem.vql + */ +package hu.bme.mit.inf.dslreasoner.domains.alloyexamples; + +import hu.bme.mit.inf.dslreasoner.domains.alloyexamples.Filesystem.Dir; +import hu.bme.mit.inf.dslreasoner.domains.alloyexamples.Filesystem.FSObject; +import hu.bme.mit.inf.dslreasoner.domains.alloyexamples.Live; +import java.util.Arrays; +import java.util.Collection; +import java.util.LinkedHashSet; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import java.util.Set; +import java.util.function.Consumer; +import java.util.stream.Collectors; +import java.util.stream.Stream; +import org.apache.log4j.Logger; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.viatra.query.runtime.api.IPatternMatch; +import org.eclipse.viatra.query.runtime.api.IQuerySpecification; +import org.eclipse.viatra.query.runtime.api.ViatraQueryEngine; +import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFPQuery; +import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFQuerySpecification; +import org.eclipse.viatra.query.runtime.api.impl.BaseMatcher; +import org.eclipse.viatra.query.runtime.api.impl.BasePatternMatch; +import org.eclipse.viatra.query.runtime.emf.types.EClassTransitiveInstancesKey; +import org.eclipse.viatra.query.runtime.emf.types.EStructuralFeatureInstancesKey; +import org.eclipse.viatra.query.runtime.matchers.backend.QueryEvaluationHint; +import org.eclipse.viatra.query.runtime.matchers.psystem.PBody; +import org.eclipse.viatra.query.runtime.matchers.psystem.PVariable; +import org.eclipse.viatra.query.runtime.matchers.psystem.annotations.PAnnotation; +import org.eclipse.viatra.query.runtime.matchers.psystem.annotations.ParameterReference; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.Equality; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.ExportedParameter; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.NegativePatternCall; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicenumerables.TypeConstraint; +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameter; +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameterDirection; +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PVisibility; +import org.eclipse.viatra.query.runtime.matchers.tuple.Tuple; +import org.eclipse.viatra.query.runtime.matchers.tuple.Tuples; +import org.eclipse.viatra.query.runtime.util.ViatraQueryLoggingUtil; + +/** + * A pattern-specific query specification that can instantiate Matcher in a type-safe way. + * + *

    Original source: + *

    + *         {@literal @}Constraint(key={child}, severity="error", message="error")
    + *         pattern contentInNotLive(parent : Dir, child: FSObject) {
    + *         	Dir.contents(parent,child);
    + *         	neg find live(_,parent);
    + *         } or {
    + *         	Dir.contents(parent,child);
    + *         	neg find live(_,child);
    + *         }
    + * 
    + * + * @see Matcher + * @see Match + * + */ +@SuppressWarnings("all") +public final class ContentInNotLive extends BaseGeneratedEMFQuerySpecification { + /** + * Pattern-specific match representation of the hu.bme.mit.inf.dslreasoner.domains.alloyexamples.contentInNotLive pattern, + * to be used in conjunction with {@link Matcher}. + * + *

    Class fields correspond to parameters of the pattern. Fields with value null are considered unassigned. + * Each instance is a (possibly partial) substitution of pattern parameters, + * usable to represent a match of the pattern in the result of a query, + * or to specify the bound (fixed) input parameters when issuing a query. + * + * @see Matcher + * + */ + public static abstract class Match extends BasePatternMatch { + private Dir fParent; + + private FSObject fChild; + + private static List parameterNames = makeImmutableList("parent", "child"); + + private Match(final Dir pParent, final FSObject pChild) { + this.fParent = pParent; + this.fChild = pChild; + } + + @Override + public Object get(final String parameterName) { + switch(parameterName) { + case "parent": return this.fParent; + case "child": return this.fChild; + default: return null; + } + } + + @Override + public Object get(final int index) { + switch(index) { + case 0: return this.fParent; + case 1: return this.fChild; + default: return null; + } + } + + public Dir getParent() { + return this.fParent; + } + + public FSObject getChild() { + return this.fChild; + } + + @Override + public boolean set(final String parameterName, final Object newValue) { + if (!isMutable()) throw new java.lang.UnsupportedOperationException(); + if ("parent".equals(parameterName) ) { + this.fParent = (Dir) newValue; + return true; + } + if ("child".equals(parameterName) ) { + this.fChild = (FSObject) newValue; + return true; + } + return false; + } + + public void setParent(final Dir pParent) { + if (!isMutable()) throw new java.lang.UnsupportedOperationException(); + this.fParent = pParent; + } + + public void setChild(final FSObject pChild) { + if (!isMutable()) throw new java.lang.UnsupportedOperationException(); + this.fChild = pChild; + } + + @Override + public String patternName() { + return "hu.bme.mit.inf.dslreasoner.domains.alloyexamples.contentInNotLive"; + } + + @Override + public List parameterNames() { + return ContentInNotLive.Match.parameterNames; + } + + @Override + public Object[] toArray() { + return new Object[]{fParent, fChild}; + } + + @Override + public ContentInNotLive.Match toImmutable() { + return isMutable() ? newMatch(fParent, fChild) : this; + } + + @Override + public String prettyPrint() { + StringBuilder result = new StringBuilder(); + result.append("\"parent\"=" + prettyPrintValue(fParent) + ", "); + result.append("\"child\"=" + prettyPrintValue(fChild)); + return result.toString(); + } + + @Override + public int hashCode() { + return Objects.hash(fParent, fChild); + } + + @Override + public boolean equals(final Object obj) { + if (this == obj) + return true; + if (obj == null) { + return false; + } + if ((obj instanceof ContentInNotLive.Match)) { + ContentInNotLive.Match other = (ContentInNotLive.Match) obj; + return Objects.equals(fParent, other.fParent) && Objects.equals(fChild, other.fChild); + } else { + // this should be infrequent + if (!(obj instanceof IPatternMatch)) { + return false; + } + IPatternMatch otherSig = (IPatternMatch) obj; + return Objects.equals(specification(), otherSig.specification()) && Arrays.deepEquals(toArray(), otherSig.toArray()); + } + } + + @Override + public ContentInNotLive specification() { + return ContentInNotLive.instance(); + } + + /** + * Returns an empty, mutable match. + * Fields of the mutable match can be filled to create a partial match, usable as matcher input. + * + * @return the empty match. + * + */ + public static ContentInNotLive.Match newEmptyMatch() { + return new Mutable(null, null); + } + + /** + * Returns a mutable (partial) match. + * Fields of the mutable match can be filled to create a partial match, usable as matcher input. + * + * @param pParent the fixed value of pattern parameter parent, or null if not bound. + * @param pChild the fixed value of pattern parameter child, or null if not bound. + * @return the new, mutable (partial) match object. + * + */ + public static ContentInNotLive.Match newMutableMatch(final Dir pParent, final FSObject pChild) { + return new Mutable(pParent, pChild); + } + + /** + * Returns a new (partial) match. + * This can be used e.g. to call the matcher with a partial match. + *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. + * @param pParent the fixed value of pattern parameter parent, or null if not bound. + * @param pChild the fixed value of pattern parameter child, or null if not bound. + * @return the (partial) match object. + * + */ + public static ContentInNotLive.Match newMatch(final Dir pParent, final FSObject pChild) { + return new Immutable(pParent, pChild); + } + + private static final class Mutable extends ContentInNotLive.Match { + Mutable(final Dir pParent, final FSObject pChild) { + super(pParent, pChild); + } + + @Override + public boolean isMutable() { + return true; + } + } + + private static final class Immutable extends ContentInNotLive.Match { + Immutable(final Dir pParent, final FSObject pChild) { + super(pParent, pChild); + } + + @Override + public boolean isMutable() { + return false; + } + } + } + + /** + * Generated pattern matcher API of the hu.bme.mit.inf.dslreasoner.domains.alloyexamples.contentInNotLive pattern, + * providing pattern-specific query methods. + * + *

    Use the pattern matcher on a given model via {@link #on(ViatraQueryEngine)}, + * e.g. in conjunction with {@link ViatraQueryEngine#on(QueryScope)}. + * + *

    Matches of the pattern will be represented as {@link Match}. + * + *

    Original source: + *

    +   * {@literal @}Constraint(key={child}, severity="error", message="error")
    +   * pattern contentInNotLive(parent : Dir, child: FSObject) {
    +   * 	Dir.contents(parent,child);
    +   * 	neg find live(_,parent);
    +   * } or {
    +   * 	Dir.contents(parent,child);
    +   * 	neg find live(_,child);
    +   * }
    +   * 
    + * + * @see Match + * @see ContentInNotLive + * + */ + public static class Matcher extends BaseMatcher { + /** + * Initializes the pattern matcher within an existing VIATRA Query engine. + * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. + * + * @param engine the existing VIATRA Query engine in which this matcher will be created. + * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation + * + */ + public static ContentInNotLive.Matcher on(final ViatraQueryEngine engine) { + // check if matcher already exists + Matcher matcher = engine.getExistingMatcher(querySpecification()); + if (matcher == null) { + matcher = (Matcher)engine.getMatcher(querySpecification()); + } + return matcher; + } + + /** + * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation + * @return an initialized matcher + * @noreference This method is for internal matcher initialization by the framework, do not call it manually. + * + */ + public static ContentInNotLive.Matcher create() { + return new Matcher(); + } + + private static final int POSITION_PARENT = 0; + + private static final int POSITION_CHILD = 1; + + private static final Logger LOGGER = ViatraQueryLoggingUtil.getLogger(ContentInNotLive.Matcher.class); + + /** + * Initializes the pattern matcher within an existing VIATRA Query engine. + * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. + * + * @param engine the existing VIATRA Query engine in which this matcher will be created. + * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation + * + */ + private Matcher() { + super(querySpecification()); + } + + /** + * Returns the set of all matches of the pattern that conform to the given fixed values of some parameters. + * @param pParent the fixed value of pattern parameter parent, or null if not bound. + * @param pChild the fixed value of pattern parameter child, or null if not bound. + * @return matches represented as a Match object. + * + */ + public Collection getAllMatches(final Dir pParent, final FSObject pChild) { + return rawStreamAllMatches(new Object[]{pParent, pChild}).collect(Collectors.toSet()); + } + + /** + * Returns a stream of all matches of the pattern that conform to the given fixed values of some parameters. + *

    + * NOTE: It is important not to modify the source model while the stream is being processed. + * If the match set of the pattern changes during processing, the contents of the stream is undefined. + * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. + * @param pParent the fixed value of pattern parameter parent, or null if not bound. + * @param pChild the fixed value of pattern parameter child, or null if not bound. + * @return a stream of matches represented as a Match object. + * + */ + public Stream streamAllMatches(final Dir pParent, final FSObject pChild) { + return rawStreamAllMatches(new Object[]{pParent, pChild}); + } + + /** + * Returns an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. + * Neither determinism nor randomness of selection is guaranteed. + * @param pParent the fixed value of pattern parameter parent, or null if not bound. + * @param pChild the fixed value of pattern parameter child, or null if not bound. + * @return a match represented as a Match object, or null if no match is found. + * + */ + public Optional getOneArbitraryMatch(final Dir pParent, final FSObject pChild) { + return rawGetOneArbitraryMatch(new Object[]{pParent, pChild}); + } + + /** + * Indicates whether the given combination of specified pattern parameters constitute a valid pattern match, + * under any possible substitution of the unspecified parameters (if any). + * @param pParent the fixed value of pattern parameter parent, or null if not bound. + * @param pChild the fixed value of pattern parameter child, or null if not bound. + * @return true if the input is a valid (partial) match of the pattern. + * + */ + public boolean hasMatch(final Dir pParent, final FSObject pChild) { + return rawHasMatch(new Object[]{pParent, pChild}); + } + + /** + * Returns the number of all matches of the pattern that conform to the given fixed values of some parameters. + * @param pParent the fixed value of pattern parameter parent, or null if not bound. + * @param pChild the fixed value of pattern parameter child, or null if not bound. + * @return the number of pattern matches found. + * + */ + public int countMatches(final Dir pParent, final FSObject pChild) { + return rawCountMatches(new Object[]{pParent, pChild}); + } + + /** + * Executes the given processor on an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. + * Neither determinism nor randomness of selection is guaranteed. + * @param pParent the fixed value of pattern parameter parent, or null if not bound. + * @param pChild the fixed value of pattern parameter child, or null if not bound. + * @param processor the action that will process the selected match. + * @return true if the pattern has at least one match with the given parameter values, false if the processor was not invoked + * + */ + public boolean forOneArbitraryMatch(final Dir pParent, final FSObject pChild, final Consumer processor) { + return rawForOneArbitraryMatch(new Object[]{pParent, pChild}, processor); + } + + /** + * Returns a new (partial) match. + * This can be used e.g. to call the matcher with a partial match. + *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. + * @param pParent the fixed value of pattern parameter parent, or null if not bound. + * @param pChild the fixed value of pattern parameter child, or null if not bound. + * @return the (partial) match object. + * + */ + public ContentInNotLive.Match newMatch(final Dir pParent, final FSObject pChild) { + return ContentInNotLive.Match.newMatch(pParent, pChild); + } + + /** + * Retrieve the set of values that occur in matches for parent. + * @return the Set of all values or empty set if there are no matches + * + */ + protected Stream

    rawStreamAllValuesOfparent(final Object[] parameters) { + return rawStreamAllValues(POSITION_PARENT, parameters).map(Dir.class::cast); + } + + /** + * Retrieve the set of values that occur in matches for parent. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOfparent() { + return rawStreamAllValuesOfparent(emptyArray()).collect(Collectors.toSet()); + } + + /** + * Retrieve the set of values that occur in matches for parent. + * @return the Set of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOfparent() { + return rawStreamAllValuesOfparent(emptyArray()); + } + + /** + * Retrieve the set of values that occur in matches for parent. + *

    + * NOTE: It is important not to modify the source model while the stream is being processed. + * If the match set of the pattern changes during processing, the contents of the stream is undefined. + * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. + * + * @return the Stream of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOfparent(final ContentInNotLive.Match partialMatch) { + return rawStreamAllValuesOfparent(partialMatch.toArray()); + } + + /** + * Retrieve the set of values that occur in matches for parent. + *

    + * NOTE: It is important not to modify the source model while the stream is being processed. + * If the match set of the pattern changes during processing, the contents of the stream is undefined. + * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. + * + * @return the Stream of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOfparent(final FSObject pChild) { + return rawStreamAllValuesOfparent(new Object[]{null, pChild}); + } + + /** + * Retrieve the set of values that occur in matches for parent. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOfparent(final ContentInNotLive.Match partialMatch) { + return rawStreamAllValuesOfparent(partialMatch.toArray()).collect(Collectors.toSet()); + } + + /** + * Retrieve the set of values that occur in matches for parent. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOfparent(final FSObject pChild) { + return rawStreamAllValuesOfparent(new Object[]{null, pChild}).collect(Collectors.toSet()); + } + + /** + * Retrieve the set of values that occur in matches for child. + * @return the Set of all values or empty set if there are no matches + * + */ + protected Stream rawStreamAllValuesOfchild(final Object[] parameters) { + return rawStreamAllValues(POSITION_CHILD, parameters).map(FSObject.class::cast); + } + + /** + * Retrieve the set of values that occur in matches for child. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOfchild() { + return rawStreamAllValuesOfchild(emptyArray()).collect(Collectors.toSet()); + } + + /** + * Retrieve the set of values that occur in matches for child. + * @return the Set of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOfchild() { + return rawStreamAllValuesOfchild(emptyArray()); + } + + /** + * Retrieve the set of values that occur in matches for child. + *

    + * NOTE: It is important not to modify the source model while the stream is being processed. + * If the match set of the pattern changes during processing, the contents of the stream is undefined. + * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. + * + * @return the Stream of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOfchild(final ContentInNotLive.Match partialMatch) { + return rawStreamAllValuesOfchild(partialMatch.toArray()); + } + + /** + * Retrieve the set of values that occur in matches for child. + *

    + * NOTE: It is important not to modify the source model while the stream is being processed. + * If the match set of the pattern changes during processing, the contents of the stream is undefined. + * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. + * + * @return the Stream of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOfchild(final Dir pParent) { + return rawStreamAllValuesOfchild(new Object[]{pParent, null}); + } + + /** + * Retrieve the set of values that occur in matches for child. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOfchild(final ContentInNotLive.Match partialMatch) { + return rawStreamAllValuesOfchild(partialMatch.toArray()).collect(Collectors.toSet()); + } + + /** + * Retrieve the set of values that occur in matches for child. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOfchild(final Dir pParent) { + return rawStreamAllValuesOfchild(new Object[]{pParent, null}).collect(Collectors.toSet()); + } + + @Override + protected ContentInNotLive.Match tupleToMatch(final Tuple t) { + try { + return ContentInNotLive.Match.newMatch((Dir) t.get(POSITION_PARENT), (FSObject) t.get(POSITION_CHILD)); + } catch(ClassCastException e) { + LOGGER.error("Element(s) in tuple not properly typed!",e); + return null; + } + } + + @Override + protected ContentInNotLive.Match arrayToMatch(final Object[] match) { + try { + return ContentInNotLive.Match.newMatch((Dir) match[POSITION_PARENT], (FSObject) match[POSITION_CHILD]); + } catch(ClassCastException e) { + LOGGER.error("Element(s) in array not properly typed!",e); + return null; + } + } + + @Override + protected ContentInNotLive.Match arrayToMatchMutable(final Object[] match) { + try { + return ContentInNotLive.Match.newMutableMatch((Dir) match[POSITION_PARENT], (FSObject) match[POSITION_CHILD]); + } catch(ClassCastException e) { + LOGGER.error("Element(s) in array not properly typed!",e); + return null; + } + } + + /** + * @return the singleton instance of the query specification of this pattern + * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded + * + */ + public static IQuerySpecification querySpecification() { + return ContentInNotLive.instance(); + } + } + + private ContentInNotLive() { + super(GeneratedPQuery.INSTANCE); + } + + /** + * @return the singleton instance of the query specification + * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded + * + */ + public static ContentInNotLive instance() { + try{ + return LazyHolder.INSTANCE; + } catch (ExceptionInInitializerError err) { + throw processInitializerError(err); + } + } + + @Override + protected ContentInNotLive.Matcher instantiate(final ViatraQueryEngine engine) { + return ContentInNotLive.Matcher.on(engine); + } + + @Override + public ContentInNotLive.Matcher instantiate() { + return ContentInNotLive.Matcher.create(); + } + + @Override + public ContentInNotLive.Match newEmptyMatch() { + return ContentInNotLive.Match.newEmptyMatch(); + } + + @Override + public ContentInNotLive.Match newMatch(final Object... parameters) { + return ContentInNotLive.Match.newMatch((hu.bme.mit.inf.dslreasoner.domains.alloyexamples.Filesystem.Dir) parameters[0], (hu.bme.mit.inf.dslreasoner.domains.alloyexamples.Filesystem.FSObject) parameters[1]); + } + + /** + * Inner class allowing the singleton instance of {@link ContentInNotLive} to be created + * not at the class load time of the outer class, + * but rather at the first call to {@link ContentInNotLive#instance()}. + * + *

    This workaround is required e.g. to support recursion. + * + */ + private static class LazyHolder { + private static final ContentInNotLive INSTANCE = new ContentInNotLive(); + + /** + * Statically initializes the query specification after the field {@link #INSTANCE} is assigned. + * This initialization order is required to support indirect recursion. + * + *

    The static initializer is defined using a helper field to work around limitations of the code generator. + * + */ + private static final Object STATIC_INITIALIZER = ensureInitialized(); + + public static Object ensureInitialized() { + INSTANCE.ensureInitializedInternal(); + return null; + } + } + + private static class GeneratedPQuery extends BaseGeneratedEMFPQuery { + private static final ContentInNotLive.GeneratedPQuery INSTANCE = new GeneratedPQuery(); + + private final PParameter parameter_parent = new PParameter("parent", "hu.bme.mit.inf.dslreasoner.domains.alloyexamples.Filesystem.Dir", new EClassTransitiveInstancesKey((EClass)getClassifierLiteralSafe("FS", "Dir")), PParameterDirection.INOUT); + + private final PParameter parameter_child = new PParameter("child", "hu.bme.mit.inf.dslreasoner.domains.alloyexamples.Filesystem.FSObject", new EClassTransitiveInstancesKey((EClass)getClassifierLiteralSafe("FS", "FSObject")), PParameterDirection.INOUT); + + private final List parameters = Arrays.asList(parameter_parent, parameter_child); + + private GeneratedPQuery() { + super(PVisibility.PUBLIC); + } + + @Override + public String getFullyQualifiedName() { + return "hu.bme.mit.inf.dslreasoner.domains.alloyexamples.contentInNotLive"; + } + + @Override + public List getParameterNames() { + return Arrays.asList("parent","child"); + } + + @Override + public List getParameters() { + return parameters; + } + + @Override + public Set doGetContainedBodies() { + setEvaluationHints(new QueryEvaluationHint(null, QueryEvaluationHint.BackendRequirement.UNSPECIFIED)); + Set bodies = new LinkedHashSet<>(); + { + PBody body = new PBody(this); + PVariable var_parent = body.getOrCreateVariableByName("parent"); + PVariable var_child = body.getOrCreateVariableByName("child"); + PVariable var___0_ = body.getOrCreateVariableByName("_<0>"); + new TypeConstraint(body, Tuples.flatTupleOf(var_parent), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("FS", "Dir"))); + new TypeConstraint(body, Tuples.flatTupleOf(var_child), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("FS", "FSObject"))); + body.setSymbolicParameters(Arrays.asList( + new ExportedParameter(body, var_parent, parameter_parent), + new ExportedParameter(body, var_child, parameter_child) + )); + // Dir.contents(parent,child) + new TypeConstraint(body, Tuples.flatTupleOf(var_parent), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("FS", "Dir"))); + PVariable var__virtual_0_ = body.getOrCreateVariableByName(".virtual{0}"); + new TypeConstraint(body, Tuples.flatTupleOf(var_parent, var__virtual_0_), new EStructuralFeatureInstancesKey(getFeatureLiteral("FS", "Dir", "contents"))); + new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_0_), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("FS", "FSObject"))); + new Equality(body, var__virtual_0_, var_child); + // neg find live(_,parent) + new NegativePatternCall(body, Tuples.flatTupleOf(var___0_, var_parent), Live.instance().getInternalQueryRepresentation()); + bodies.add(body); + } + { + PBody body = new PBody(this); + PVariable var_parent = body.getOrCreateVariableByName("parent"); + PVariable var_child = body.getOrCreateVariableByName("child"); + PVariable var___0_ = body.getOrCreateVariableByName("_<0>"); + new TypeConstraint(body, Tuples.flatTupleOf(var_parent), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("FS", "Dir"))); + new TypeConstraint(body, Tuples.flatTupleOf(var_child), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("FS", "FSObject"))); + body.setSymbolicParameters(Arrays.asList( + new ExportedParameter(body, var_parent, parameter_parent), + new ExportedParameter(body, var_child, parameter_child) + )); + // Dir.contents(parent,child) + new TypeConstraint(body, Tuples.flatTupleOf(var_parent), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("FS", "Dir"))); + PVariable var__virtual_0_ = body.getOrCreateVariableByName(".virtual{0}"); + new TypeConstraint(body, Tuples.flatTupleOf(var_parent, var__virtual_0_), new EStructuralFeatureInstancesKey(getFeatureLiteral("FS", "Dir", "contents"))); + new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_0_), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("FS", "FSObject"))); + new Equality(body, var__virtual_0_, var_child); + // neg find live(_,child) + new NegativePatternCall(body, Tuples.flatTupleOf(var___0_, var_child), Live.instance().getInternalQueryRepresentation()); + bodies.add(body); + } + { + PAnnotation annotation = new PAnnotation("Constraint"); + annotation.addAttribute("key", Arrays.asList(new Object[] { + new ParameterReference("child") + })); + annotation.addAttribute("severity", "error"); + annotation.addAttribute("message", "error"); + addAnnotation(annotation); + } + return bodies; + } + } +} diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.alloyexamples/src-gen/hu/bme/mit/inf/dslreasoner/domains/alloyexamples/DirectSupertype.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.alloyexamples/src-gen/hu/bme/mit/inf/dslreasoner/domains/alloyexamples/DirectSupertype.java new file mode 100644 index 00000000..72c31e34 --- /dev/null +++ b/Domains/hu.bme.mit.inf.dslreasoner.domains.alloyexamples/src-gen/hu/bme/mit/inf/dslreasoner/domains/alloyexamples/DirectSupertype.java @@ -0,0 +1,703 @@ +/** + * Generated from platform:/resource/hu.bme.mit.inf.dslreasoner.domains.alloyexamples/patterns/hu/bme/mit/inf/dslreasoner/domains/alloyexamples/Ecore.vql + */ +package hu.bme.mit.inf.dslreasoner.domains.alloyexamples; + +import java.util.Arrays; +import java.util.Collection; +import java.util.LinkedHashSet; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import java.util.Set; +import java.util.function.Consumer; +import java.util.stream.Collectors; +import java.util.stream.Stream; +import org.apache.log4j.Logger; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.viatra.query.runtime.api.IPatternMatch; +import org.eclipse.viatra.query.runtime.api.IQuerySpecification; +import org.eclipse.viatra.query.runtime.api.ViatraQueryEngine; +import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFPQuery; +import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFQuerySpecification; +import org.eclipse.viatra.query.runtime.api.impl.BaseMatcher; +import org.eclipse.viatra.query.runtime.api.impl.BasePatternMatch; +import org.eclipse.viatra.query.runtime.emf.types.EClassTransitiveInstancesKey; +import org.eclipse.viatra.query.runtime.emf.types.EStructuralFeatureInstancesKey; +import org.eclipse.viatra.query.runtime.matchers.backend.QueryEvaluationHint; +import org.eclipse.viatra.query.runtime.matchers.psystem.PBody; +import org.eclipse.viatra.query.runtime.matchers.psystem.PVariable; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.Equality; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.ExportedParameter; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicenumerables.TypeConstraint; +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameter; +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameterDirection; +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PVisibility; +import org.eclipse.viatra.query.runtime.matchers.tuple.Tuple; +import org.eclipse.viatra.query.runtime.matchers.tuple.Tuples; +import org.eclipse.viatra.query.runtime.util.ViatraQueryLoggingUtil; + +/** + * A pattern-specific query specification that can instantiate Matcher in a type-safe way. + * + *

    Original source: + *

    + *         pattern directSupertype(a: EClass, b:EClass) {
    + *         	EClass.eSuperTypes(a,b);
    + *         }
    + * 
    + * + * @see Matcher + * @see Match + * + */ +@SuppressWarnings("all") +public final class DirectSupertype extends BaseGeneratedEMFQuerySpecification { + /** + * Pattern-specific match representation of the hu.bme.mit.inf.dslreasoner.domains.alloyexamples.directSupertype pattern, + * to be used in conjunction with {@link Matcher}. + * + *

    Class fields correspond to parameters of the pattern. Fields with value null are considered unassigned. + * Each instance is a (possibly partial) substitution of pattern parameters, + * usable to represent a match of the pattern in the result of a query, + * or to specify the bound (fixed) input parameters when issuing a query. + * + * @see Matcher + * + */ + public static abstract class Match extends BasePatternMatch { + private EClass fA; + + private EClass fB; + + private static List parameterNames = makeImmutableList("a", "b"); + + private Match(final EClass pA, final EClass pB) { + this.fA = pA; + this.fB = pB; + } + + @Override + public Object get(final String parameterName) { + switch(parameterName) { + case "a": return this.fA; + case "b": return this.fB; + default: return null; + } + } + + @Override + public Object get(final int index) { + switch(index) { + case 0: return this.fA; + case 1: return this.fB; + default: return null; + } + } + + public EClass getA() { + return this.fA; + } + + public EClass getB() { + return this.fB; + } + + @Override + public boolean set(final String parameterName, final Object newValue) { + if (!isMutable()) throw new java.lang.UnsupportedOperationException(); + if ("a".equals(parameterName) ) { + this.fA = (EClass) newValue; + return true; + } + if ("b".equals(parameterName) ) { + this.fB = (EClass) newValue; + return true; + } + return false; + } + + public void setA(final EClass pA) { + if (!isMutable()) throw new java.lang.UnsupportedOperationException(); + this.fA = pA; + } + + public void setB(final EClass pB) { + if (!isMutable()) throw new java.lang.UnsupportedOperationException(); + this.fB = pB; + } + + @Override + public String patternName() { + return "hu.bme.mit.inf.dslreasoner.domains.alloyexamples.directSupertype"; + } + + @Override + public List parameterNames() { + return DirectSupertype.Match.parameterNames; + } + + @Override + public Object[] toArray() { + return new Object[]{fA, fB}; + } + + @Override + public DirectSupertype.Match toImmutable() { + return isMutable() ? newMatch(fA, fB) : this; + } + + @Override + public String prettyPrint() { + StringBuilder result = new StringBuilder(); + result.append("\"a\"=" + prettyPrintValue(fA) + ", "); + result.append("\"b\"=" + prettyPrintValue(fB)); + return result.toString(); + } + + @Override + public int hashCode() { + return Objects.hash(fA, fB); + } + + @Override + public boolean equals(final Object obj) { + if (this == obj) + return true; + if (obj == null) { + return false; + } + if ((obj instanceof DirectSupertype.Match)) { + DirectSupertype.Match other = (DirectSupertype.Match) obj; + return Objects.equals(fA, other.fA) && Objects.equals(fB, other.fB); + } else { + // this should be infrequent + if (!(obj instanceof IPatternMatch)) { + return false; + } + IPatternMatch otherSig = (IPatternMatch) obj; + return Objects.equals(specification(), otherSig.specification()) && Arrays.deepEquals(toArray(), otherSig.toArray()); + } + } + + @Override + public DirectSupertype specification() { + return DirectSupertype.instance(); + } + + /** + * Returns an empty, mutable match. + * Fields of the mutable match can be filled to create a partial match, usable as matcher input. + * + * @return the empty match. + * + */ + public static DirectSupertype.Match newEmptyMatch() { + return new Mutable(null, null); + } + + /** + * Returns a mutable (partial) match. + * Fields of the mutable match can be filled to create a partial match, usable as matcher input. + * + * @param pA the fixed value of pattern parameter a, or null if not bound. + * @param pB the fixed value of pattern parameter b, or null if not bound. + * @return the new, mutable (partial) match object. + * + */ + public static DirectSupertype.Match newMutableMatch(final EClass pA, final EClass pB) { + return new Mutable(pA, pB); + } + + /** + * Returns a new (partial) match. + * This can be used e.g. to call the matcher with a partial match. + *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. + * @param pA the fixed value of pattern parameter a, or null if not bound. + * @param pB the fixed value of pattern parameter b, or null if not bound. + * @return the (partial) match object. + * + */ + public static DirectSupertype.Match newMatch(final EClass pA, final EClass pB) { + return new Immutable(pA, pB); + } + + private static final class Mutable extends DirectSupertype.Match { + Mutable(final EClass pA, final EClass pB) { + super(pA, pB); + } + + @Override + public boolean isMutable() { + return true; + } + } + + private static final class Immutable extends DirectSupertype.Match { + Immutable(final EClass pA, final EClass pB) { + super(pA, pB); + } + + @Override + public boolean isMutable() { + return false; + } + } + } + + /** + * Generated pattern matcher API of the hu.bme.mit.inf.dslreasoner.domains.alloyexamples.directSupertype pattern, + * providing pattern-specific query methods. + * + *

    Use the pattern matcher on a given model via {@link #on(ViatraQueryEngine)}, + * e.g. in conjunction with {@link ViatraQueryEngine#on(QueryScope)}. + * + *

    Matches of the pattern will be represented as {@link Match}. + * + *

    Original source: + *

    +   * pattern directSupertype(a: EClass, b:EClass) {
    +   * 	EClass.eSuperTypes(a,b);
    +   * }
    +   * 
    + * + * @see Match + * @see DirectSupertype + * + */ + public static class Matcher extends BaseMatcher { + /** + * Initializes the pattern matcher within an existing VIATRA Query engine. + * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. + * + * @param engine the existing VIATRA Query engine in which this matcher will be created. + * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation + * + */ + public static DirectSupertype.Matcher on(final ViatraQueryEngine engine) { + // check if matcher already exists + Matcher matcher = engine.getExistingMatcher(querySpecification()); + if (matcher == null) { + matcher = (Matcher)engine.getMatcher(querySpecification()); + } + return matcher; + } + + /** + * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation + * @return an initialized matcher + * @noreference This method is for internal matcher initialization by the framework, do not call it manually. + * + */ + public static DirectSupertype.Matcher create() { + return new Matcher(); + } + + private static final int POSITION_A = 0; + + private static final int POSITION_B = 1; + + private static final Logger LOGGER = ViatraQueryLoggingUtil.getLogger(DirectSupertype.Matcher.class); + + /** + * Initializes the pattern matcher within an existing VIATRA Query engine. + * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. + * + * @param engine the existing VIATRA Query engine in which this matcher will be created. + * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation + * + */ + private Matcher() { + super(querySpecification()); + } + + /** + * Returns the set of all matches of the pattern that conform to the given fixed values of some parameters. + * @param pA the fixed value of pattern parameter a, or null if not bound. + * @param pB the fixed value of pattern parameter b, or null if not bound. + * @return matches represented as a Match object. + * + */ + public Collection getAllMatches(final EClass pA, final EClass pB) { + return rawStreamAllMatches(new Object[]{pA, pB}).collect(Collectors.toSet()); + } + + /** + * Returns a stream of all matches of the pattern that conform to the given fixed values of some parameters. + *

    + * NOTE: It is important not to modify the source model while the stream is being processed. + * If the match set of the pattern changes during processing, the contents of the stream is undefined. + * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. + * @param pA the fixed value of pattern parameter a, or null if not bound. + * @param pB the fixed value of pattern parameter b, or null if not bound. + * @return a stream of matches represented as a Match object. + * + */ + public Stream streamAllMatches(final EClass pA, final EClass pB) { + return rawStreamAllMatches(new Object[]{pA, pB}); + } + + /** + * Returns an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. + * Neither determinism nor randomness of selection is guaranteed. + * @param pA the fixed value of pattern parameter a, or null if not bound. + * @param pB the fixed value of pattern parameter b, or null if not bound. + * @return a match represented as a Match object, or null if no match is found. + * + */ + public Optional getOneArbitraryMatch(final EClass pA, final EClass pB) { + return rawGetOneArbitraryMatch(new Object[]{pA, pB}); + } + + /** + * Indicates whether the given combination of specified pattern parameters constitute a valid pattern match, + * under any possible substitution of the unspecified parameters (if any). + * @param pA the fixed value of pattern parameter a, or null if not bound. + * @param pB the fixed value of pattern parameter b, or null if not bound. + * @return true if the input is a valid (partial) match of the pattern. + * + */ + public boolean hasMatch(final EClass pA, final EClass pB) { + return rawHasMatch(new Object[]{pA, pB}); + } + + /** + * Returns the number of all matches of the pattern that conform to the given fixed values of some parameters. + * @param pA the fixed value of pattern parameter a, or null if not bound. + * @param pB the fixed value of pattern parameter b, or null if not bound. + * @return the number of pattern matches found. + * + */ + public int countMatches(final EClass pA, final EClass pB) { + return rawCountMatches(new Object[]{pA, pB}); + } + + /** + * Executes the given processor on an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. + * Neither determinism nor randomness of selection is guaranteed. + * @param pA the fixed value of pattern parameter a, or null if not bound. + * @param pB the fixed value of pattern parameter b, or null if not bound. + * @param processor the action that will process the selected match. + * @return true if the pattern has at least one match with the given parameter values, false if the processor was not invoked + * + */ + public boolean forOneArbitraryMatch(final EClass pA, final EClass pB, final Consumer processor) { + return rawForOneArbitraryMatch(new Object[]{pA, pB}, processor); + } + + /** + * Returns a new (partial) match. + * This can be used e.g. to call the matcher with a partial match. + *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. + * @param pA the fixed value of pattern parameter a, or null if not bound. + * @param pB the fixed value of pattern parameter b, or null if not bound. + * @return the (partial) match object. + * + */ + public DirectSupertype.Match newMatch(final EClass pA, final EClass pB) { + return DirectSupertype.Match.newMatch(pA, pB); + } + + /** + * Retrieve the set of values that occur in matches for a. + * @return the Set of all values or empty set if there are no matches + * + */ + protected Stream rawStreamAllValuesOfa(final Object[] parameters) { + return rawStreamAllValues(POSITION_A, parameters).map(EClass.class::cast); + } + + /** + * Retrieve the set of values that occur in matches for a. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOfa() { + return rawStreamAllValuesOfa(emptyArray()).collect(Collectors.toSet()); + } + + /** + * Retrieve the set of values that occur in matches for a. + * @return the Set of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOfa() { + return rawStreamAllValuesOfa(emptyArray()); + } + + /** + * Retrieve the set of values that occur in matches for a. + *

    + * NOTE: It is important not to modify the source model while the stream is being processed. + * If the match set of the pattern changes during processing, the contents of the stream is undefined. + * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. + * + * @return the Stream of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOfa(final DirectSupertype.Match partialMatch) { + return rawStreamAllValuesOfa(partialMatch.toArray()); + } + + /** + * Retrieve the set of values that occur in matches for a. + *

    + * NOTE: It is important not to modify the source model while the stream is being processed. + * If the match set of the pattern changes during processing, the contents of the stream is undefined. + * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. + * + * @return the Stream of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOfa(final EClass pB) { + return rawStreamAllValuesOfa(new Object[]{null, pB}); + } + + /** + * Retrieve the set of values that occur in matches for a. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOfa(final DirectSupertype.Match partialMatch) { + return rawStreamAllValuesOfa(partialMatch.toArray()).collect(Collectors.toSet()); + } + + /** + * Retrieve the set of values that occur in matches for a. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOfa(final EClass pB) { + return rawStreamAllValuesOfa(new Object[]{null, pB}).collect(Collectors.toSet()); + } + + /** + * Retrieve the set of values that occur in matches for b. + * @return the Set of all values or empty set if there are no matches + * + */ + protected Stream rawStreamAllValuesOfb(final Object[] parameters) { + return rawStreamAllValues(POSITION_B, parameters).map(EClass.class::cast); + } + + /** + * Retrieve the set of values that occur in matches for b. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOfb() { + return rawStreamAllValuesOfb(emptyArray()).collect(Collectors.toSet()); + } + + /** + * Retrieve the set of values that occur in matches for b. + * @return the Set of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOfb() { + return rawStreamAllValuesOfb(emptyArray()); + } + + /** + * Retrieve the set of values that occur in matches for b. + *

    + * NOTE: It is important not to modify the source model while the stream is being processed. + * If the match set of the pattern changes during processing, the contents of the stream is undefined. + * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. + * + * @return the Stream of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOfb(final DirectSupertype.Match partialMatch) { + return rawStreamAllValuesOfb(partialMatch.toArray()); + } + + /** + * Retrieve the set of values that occur in matches for b. + *

    + * NOTE: It is important not to modify the source model while the stream is being processed. + * If the match set of the pattern changes during processing, the contents of the stream is undefined. + * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. + * + * @return the Stream of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOfb(final EClass pA) { + return rawStreamAllValuesOfb(new Object[]{pA, null}); + } + + /** + * Retrieve the set of values that occur in matches for b. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOfb(final DirectSupertype.Match partialMatch) { + return rawStreamAllValuesOfb(partialMatch.toArray()).collect(Collectors.toSet()); + } + + /** + * Retrieve the set of values that occur in matches for b. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOfb(final EClass pA) { + return rawStreamAllValuesOfb(new Object[]{pA, null}).collect(Collectors.toSet()); + } + + @Override + protected DirectSupertype.Match tupleToMatch(final Tuple t) { + try { + return DirectSupertype.Match.newMatch((EClass) t.get(POSITION_A), (EClass) t.get(POSITION_B)); + } catch(ClassCastException e) { + LOGGER.error("Element(s) in tuple not properly typed!",e); + return null; + } + } + + @Override + protected DirectSupertype.Match arrayToMatch(final Object[] match) { + try { + return DirectSupertype.Match.newMatch((EClass) match[POSITION_A], (EClass) match[POSITION_B]); + } catch(ClassCastException e) { + LOGGER.error("Element(s) in array not properly typed!",e); + return null; + } + } + + @Override + protected DirectSupertype.Match arrayToMatchMutable(final Object[] match) { + try { + return DirectSupertype.Match.newMutableMatch((EClass) match[POSITION_A], (EClass) match[POSITION_B]); + } catch(ClassCastException e) { + LOGGER.error("Element(s) in array not properly typed!",e); + return null; + } + } + + /** + * @return the singleton instance of the query specification of this pattern + * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded + * + */ + public static IQuerySpecification querySpecification() { + return DirectSupertype.instance(); + } + } + + private DirectSupertype() { + super(GeneratedPQuery.INSTANCE); + } + + /** + * @return the singleton instance of the query specification + * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded + * + */ + public static DirectSupertype instance() { + try{ + return LazyHolder.INSTANCE; + } catch (ExceptionInInitializerError err) { + throw processInitializerError(err); + } + } + + @Override + protected DirectSupertype.Matcher instantiate(final ViatraQueryEngine engine) { + return DirectSupertype.Matcher.on(engine); + } + + @Override + public DirectSupertype.Matcher instantiate() { + return DirectSupertype.Matcher.create(); + } + + @Override + public DirectSupertype.Match newEmptyMatch() { + return DirectSupertype.Match.newEmptyMatch(); + } + + @Override + public DirectSupertype.Match newMatch(final Object... parameters) { + return DirectSupertype.Match.newMatch((org.eclipse.emf.ecore.EClass) parameters[0], (org.eclipse.emf.ecore.EClass) parameters[1]); + } + + /** + * Inner class allowing the singleton instance of {@link DirectSupertype} to be created + * not at the class load time of the outer class, + * but rather at the first call to {@link DirectSupertype#instance()}. + * + *

    This workaround is required e.g. to support recursion. + * + */ + private static class LazyHolder { + private static final DirectSupertype INSTANCE = new DirectSupertype(); + + /** + * Statically initializes the query specification after the field {@link #INSTANCE} is assigned. + * This initialization order is required to support indirect recursion. + * + *

    The static initializer is defined using a helper field to work around limitations of the code generator. + * + */ + private static final Object STATIC_INITIALIZER = ensureInitialized(); + + public static Object ensureInitialized() { + INSTANCE.ensureInitializedInternal(); + return null; + } + } + + private static class GeneratedPQuery extends BaseGeneratedEMFPQuery { + private static final DirectSupertype.GeneratedPQuery INSTANCE = new GeneratedPQuery(); + + private final PParameter parameter_a = new PParameter("a", "org.eclipse.emf.ecore.EClass", new EClassTransitiveInstancesKey((EClass)getClassifierLiteralSafe("http://www.eclipse.org/emf/2002/Ecore", "EClass")), PParameterDirection.INOUT); + + private final PParameter parameter_b = new PParameter("b", "org.eclipse.emf.ecore.EClass", new EClassTransitiveInstancesKey((EClass)getClassifierLiteralSafe("http://www.eclipse.org/emf/2002/Ecore", "EClass")), PParameterDirection.INOUT); + + private final List parameters = Arrays.asList(parameter_a, parameter_b); + + private GeneratedPQuery() { + super(PVisibility.PUBLIC); + } + + @Override + public String getFullyQualifiedName() { + return "hu.bme.mit.inf.dslreasoner.domains.alloyexamples.directSupertype"; + } + + @Override + public List getParameterNames() { + return Arrays.asList("a","b"); + } + + @Override + public List getParameters() { + return parameters; + } + + @Override + public Set doGetContainedBodies() { + setEvaluationHints(new QueryEvaluationHint(null, QueryEvaluationHint.BackendRequirement.UNSPECIFIED)); + Set bodies = new LinkedHashSet<>(); + { + PBody body = new PBody(this); + PVariable var_a = body.getOrCreateVariableByName("a"); + PVariable var_b = body.getOrCreateVariableByName("b"); + new TypeConstraint(body, Tuples.flatTupleOf(var_a), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.eclipse.org/emf/2002/Ecore", "EClass"))); + new TypeConstraint(body, Tuples.flatTupleOf(var_b), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.eclipse.org/emf/2002/Ecore", "EClass"))); + body.setSymbolicParameters(Arrays.asList( + new ExportedParameter(body, var_a, parameter_a), + new ExportedParameter(body, var_b, parameter_b) + )); + // EClass.eSuperTypes(a,b) + new TypeConstraint(body, Tuples.flatTupleOf(var_a), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.eclipse.org/emf/2002/Ecore", "EClass"))); + PVariable var__virtual_0_ = body.getOrCreateVariableByName(".virtual{0}"); + new TypeConstraint(body, Tuples.flatTupleOf(var_a, var__virtual_0_), new EStructuralFeatureInstancesKey(getFeatureLiteral("http://www.eclipse.org/emf/2002/Ecore", "EClass", "eSuperTypes"))); + new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_0_), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.eclipse.org/emf/2002/Ecore", "EClass"))); + new Equality(body, var__virtual_0_, var_b); + bodies.add(body); + } + return bodies; + } + } +} diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.alloyexamples/src-gen/hu/bme/mit/inf/dslreasoner/domains/alloyexamples/Live.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.alloyexamples/src-gen/hu/bme/mit/inf/dslreasoner/domains/alloyexamples/Live.java new file mode 100644 index 00000000..3f2448aa --- /dev/null +++ b/Domains/hu.bme.mit.inf.dslreasoner.domains.alloyexamples/src-gen/hu/bme/mit/inf/dslreasoner/domains/alloyexamples/Live.java @@ -0,0 +1,741 @@ +/** + * Generated from platform:/resource/hu.bme.mit.inf.dslreasoner.domains.alloyexamples/patterns/hu/bme/mit/inf/dslreasoner/domains/alloyexamples/FileSystem.vql + */ +package hu.bme.mit.inf.dslreasoner.domains.alloyexamples; + +import hu.bme.mit.inf.dslreasoner.domains.alloyexamples.Filesystem.FSObject; +import hu.bme.mit.inf.dslreasoner.domains.alloyexamples.Filesystem.FileSystem; +import hu.bme.mit.inf.dslreasoner.domains.alloyexamples.PatternContent; +import java.util.Arrays; +import java.util.Collection; +import java.util.LinkedHashSet; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import java.util.Set; +import java.util.function.Consumer; +import java.util.stream.Collectors; +import java.util.stream.Stream; +import org.apache.log4j.Logger; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.viatra.query.runtime.api.IPatternMatch; +import org.eclipse.viatra.query.runtime.api.IQuerySpecification; +import org.eclipse.viatra.query.runtime.api.ViatraQueryEngine; +import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFPQuery; +import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFQuerySpecification; +import org.eclipse.viatra.query.runtime.api.impl.BaseMatcher; +import org.eclipse.viatra.query.runtime.api.impl.BasePatternMatch; +import org.eclipse.viatra.query.runtime.emf.types.EClassTransitiveInstancesKey; +import org.eclipse.viatra.query.runtime.emf.types.EStructuralFeatureInstancesKey; +import org.eclipse.viatra.query.runtime.matchers.backend.QueryEvaluationHint; +import org.eclipse.viatra.query.runtime.matchers.psystem.PBody; +import org.eclipse.viatra.query.runtime.matchers.psystem.PVariable; +import org.eclipse.viatra.query.runtime.matchers.psystem.annotations.PAnnotation; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.Equality; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.ExportedParameter; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicenumerables.BinaryTransitiveClosure; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicenumerables.TypeConstraint; +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameter; +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameterDirection; +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PVisibility; +import org.eclipse.viatra.query.runtime.matchers.tuple.Tuple; +import org.eclipse.viatra.query.runtime.matchers.tuple.Tuples; +import org.eclipse.viatra.query.runtime.util.ViatraQueryLoggingUtil; + +/** + * A pattern-specific query specification that can instantiate Matcher in a type-safe way. + * + *

    Original source: + *

    + *         {@literal @}QueryBasedFeature
    + *         pattern live(this: FileSystem, l: FSObject) {
    + *         	FileSystem.root(this,l);
    + *         } or {
    + *         	FileSystem.root(this,root);
    + *         	find patternContent+(root,l);
    + *         }
    + * 
    + * + * @see Matcher + * @see Match + * + */ +@SuppressWarnings("all") +public final class Live extends BaseGeneratedEMFQuerySpecification { + /** + * Pattern-specific match representation of the hu.bme.mit.inf.dslreasoner.domains.alloyexamples.live pattern, + * to be used in conjunction with {@link Matcher}. + * + *

    Class fields correspond to parameters of the pattern. Fields with value null are considered unassigned. + * Each instance is a (possibly partial) substitution of pattern parameters, + * usable to represent a match of the pattern in the result of a query, + * or to specify the bound (fixed) input parameters when issuing a query. + * + * @see Matcher + * + */ + public static abstract class Match extends BasePatternMatch { + private FileSystem fThis; + + private FSObject fL; + + private static List parameterNames = makeImmutableList("this", "l"); + + private Match(final FileSystem pThis, final FSObject pL) { + this.fThis = pThis; + this.fL = pL; + } + + @Override + public Object get(final String parameterName) { + switch(parameterName) { + case "this": return this.fThis; + case "l": return this.fL; + default: return null; + } + } + + @Override + public Object get(final int index) { + switch(index) { + case 0: return this.fThis; + case 1: return this.fL; + default: return null; + } + } + + public FileSystem getThis() { + return this.fThis; + } + + public FSObject getL() { + return this.fL; + } + + @Override + public boolean set(final String parameterName, final Object newValue) { + if (!isMutable()) throw new java.lang.UnsupportedOperationException(); + if ("this".equals(parameterName) ) { + this.fThis = (FileSystem) newValue; + return true; + } + if ("l".equals(parameterName) ) { + this.fL = (FSObject) newValue; + return true; + } + return false; + } + + public void setThis(final FileSystem pThis) { + if (!isMutable()) throw new java.lang.UnsupportedOperationException(); + this.fThis = pThis; + } + + public void setL(final FSObject pL) { + if (!isMutable()) throw new java.lang.UnsupportedOperationException(); + this.fL = pL; + } + + @Override + public String patternName() { + return "hu.bme.mit.inf.dslreasoner.domains.alloyexamples.live"; + } + + @Override + public List parameterNames() { + return Live.Match.parameterNames; + } + + @Override + public Object[] toArray() { + return new Object[]{fThis, fL}; + } + + @Override + public Live.Match toImmutable() { + return isMutable() ? newMatch(fThis, fL) : this; + } + + @Override + public String prettyPrint() { + StringBuilder result = new StringBuilder(); + result.append("\"this\"=" + prettyPrintValue(fThis) + ", "); + result.append("\"l\"=" + prettyPrintValue(fL)); + return result.toString(); + } + + @Override + public int hashCode() { + return Objects.hash(fThis, fL); + } + + @Override + public boolean equals(final Object obj) { + if (this == obj) + return true; + if (obj == null) { + return false; + } + if ((obj instanceof Live.Match)) { + Live.Match other = (Live.Match) obj; + return Objects.equals(fThis, other.fThis) && Objects.equals(fL, other.fL); + } else { + // this should be infrequent + if (!(obj instanceof IPatternMatch)) { + return false; + } + IPatternMatch otherSig = (IPatternMatch) obj; + return Objects.equals(specification(), otherSig.specification()) && Arrays.deepEquals(toArray(), otherSig.toArray()); + } + } + + @Override + public Live specification() { + return Live.instance(); + } + + /** + * Returns an empty, mutable match. + * Fields of the mutable match can be filled to create a partial match, usable as matcher input. + * + * @return the empty match. + * + */ + public static Live.Match newEmptyMatch() { + return new Mutable(null, null); + } + + /** + * Returns a mutable (partial) match. + * Fields of the mutable match can be filled to create a partial match, usable as matcher input. + * + * @param pThis the fixed value of pattern parameter this, or null if not bound. + * @param pL the fixed value of pattern parameter l, or null if not bound. + * @return the new, mutable (partial) match object. + * + */ + public static Live.Match newMutableMatch(final FileSystem pThis, final FSObject pL) { + return new Mutable(pThis, pL); + } + + /** + * Returns a new (partial) match. + * This can be used e.g. to call the matcher with a partial match. + *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. + * @param pThis the fixed value of pattern parameter this, or null if not bound. + * @param pL the fixed value of pattern parameter l, or null if not bound. + * @return the (partial) match object. + * + */ + public static Live.Match newMatch(final FileSystem pThis, final FSObject pL) { + return new Immutable(pThis, pL); + } + + private static final class Mutable extends Live.Match { + Mutable(final FileSystem pThis, final FSObject pL) { + super(pThis, pL); + } + + @Override + public boolean isMutable() { + return true; + } + } + + private static final class Immutable extends Live.Match { + Immutable(final FileSystem pThis, final FSObject pL) { + super(pThis, pL); + } + + @Override + public boolean isMutable() { + return false; + } + } + } + + /** + * Generated pattern matcher API of the hu.bme.mit.inf.dslreasoner.domains.alloyexamples.live pattern, + * providing pattern-specific query methods. + * + *

    Use the pattern matcher on a given model via {@link #on(ViatraQueryEngine)}, + * e.g. in conjunction with {@link ViatraQueryEngine#on(QueryScope)}. + * + *

    Matches of the pattern will be represented as {@link Match}. + * + *

    Original source: + *

    +   * {@literal @}QueryBasedFeature
    +   * pattern live(this: FileSystem, l: FSObject) {
    +   * 	FileSystem.root(this,l);
    +   * } or {
    +   * 	FileSystem.root(this,root);
    +   * 	find patternContent+(root,l);
    +   * }
    +   * 
    + * + * @see Match + * @see Live + * + */ + public static class Matcher extends BaseMatcher { + /** + * Initializes the pattern matcher within an existing VIATRA Query engine. + * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. + * + * @param engine the existing VIATRA Query engine in which this matcher will be created. + * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation + * + */ + public static Live.Matcher on(final ViatraQueryEngine engine) { + // check if matcher already exists + Matcher matcher = engine.getExistingMatcher(querySpecification()); + if (matcher == null) { + matcher = (Matcher)engine.getMatcher(querySpecification()); + } + return matcher; + } + + /** + * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation + * @return an initialized matcher + * @noreference This method is for internal matcher initialization by the framework, do not call it manually. + * + */ + public static Live.Matcher create() { + return new Matcher(); + } + + private static final int POSITION_THIS = 0; + + private static final int POSITION_L = 1; + + private static final Logger LOGGER = ViatraQueryLoggingUtil.getLogger(Live.Matcher.class); + + /** + * Initializes the pattern matcher within an existing VIATRA Query engine. + * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. + * + * @param engine the existing VIATRA Query engine in which this matcher will be created. + * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation + * + */ + private Matcher() { + super(querySpecification()); + } + + /** + * Returns the set of all matches of the pattern that conform to the given fixed values of some parameters. + * @param pThis the fixed value of pattern parameter this, or null if not bound. + * @param pL the fixed value of pattern parameter l, or null if not bound. + * @return matches represented as a Match object. + * + */ + public Collection getAllMatches(final FileSystem pThis, final FSObject pL) { + return rawStreamAllMatches(new Object[]{pThis, pL}).collect(Collectors.toSet()); + } + + /** + * Returns a stream of all matches of the pattern that conform to the given fixed values of some parameters. + *

    + * NOTE: It is important not to modify the source model while the stream is being processed. + * If the match set of the pattern changes during processing, the contents of the stream is undefined. + * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. + * @param pThis the fixed value of pattern parameter this, or null if not bound. + * @param pL the fixed value of pattern parameter l, or null if not bound. + * @return a stream of matches represented as a Match object. + * + */ + public Stream streamAllMatches(final FileSystem pThis, final FSObject pL) { + return rawStreamAllMatches(new Object[]{pThis, pL}); + } + + /** + * Returns an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. + * Neither determinism nor randomness of selection is guaranteed. + * @param pThis the fixed value of pattern parameter this, or null if not bound. + * @param pL the fixed value of pattern parameter l, or null if not bound. + * @return a match represented as a Match object, or null if no match is found. + * + */ + public Optional getOneArbitraryMatch(final FileSystem pThis, final FSObject pL) { + return rawGetOneArbitraryMatch(new Object[]{pThis, pL}); + } + + /** + * Indicates whether the given combination of specified pattern parameters constitute a valid pattern match, + * under any possible substitution of the unspecified parameters (if any). + * @param pThis the fixed value of pattern parameter this, or null if not bound. + * @param pL the fixed value of pattern parameter l, or null if not bound. + * @return true if the input is a valid (partial) match of the pattern. + * + */ + public boolean hasMatch(final FileSystem pThis, final FSObject pL) { + return rawHasMatch(new Object[]{pThis, pL}); + } + + /** + * Returns the number of all matches of the pattern that conform to the given fixed values of some parameters. + * @param pThis the fixed value of pattern parameter this, or null if not bound. + * @param pL the fixed value of pattern parameter l, or null if not bound. + * @return the number of pattern matches found. + * + */ + public int countMatches(final FileSystem pThis, final FSObject pL) { + return rawCountMatches(new Object[]{pThis, pL}); + } + + /** + * Executes the given processor on an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. + * Neither determinism nor randomness of selection is guaranteed. + * @param pThis the fixed value of pattern parameter this, or null if not bound. + * @param pL the fixed value of pattern parameter l, or null if not bound. + * @param processor the action that will process the selected match. + * @return true if the pattern has at least one match with the given parameter values, false if the processor was not invoked + * + */ + public boolean forOneArbitraryMatch(final FileSystem pThis, final FSObject pL, final Consumer processor) { + return rawForOneArbitraryMatch(new Object[]{pThis, pL}, processor); + } + + /** + * Returns a new (partial) match. + * This can be used e.g. to call the matcher with a partial match. + *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. + * @param pThis the fixed value of pattern parameter this, or null if not bound. + * @param pL the fixed value of pattern parameter l, or null if not bound. + * @return the (partial) match object. + * + */ + public Live.Match newMatch(final FileSystem pThis, final FSObject pL) { + return Live.Match.newMatch(pThis, pL); + } + + /** + * Retrieve the set of values that occur in matches for this. + * @return the Set of all values or empty set if there are no matches + * + */ + protected Stream rawStreamAllValuesOfthis(final Object[] parameters) { + return rawStreamAllValues(POSITION_THIS, parameters).map(FileSystem.class::cast); + } + + /** + * Retrieve the set of values that occur in matches for this. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOfthis() { + return rawStreamAllValuesOfthis(emptyArray()).collect(Collectors.toSet()); + } + + /** + * Retrieve the set of values that occur in matches for this. + * @return the Set of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOfthis() { + return rawStreamAllValuesOfthis(emptyArray()); + } + + /** + * Retrieve the set of values that occur in matches for this. + *

    + * NOTE: It is important not to modify the source model while the stream is being processed. + * If the match set of the pattern changes during processing, the contents of the stream is undefined. + * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. + * + * @return the Stream of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOfthis(final Live.Match partialMatch) { + return rawStreamAllValuesOfthis(partialMatch.toArray()); + } + + /** + * Retrieve the set of values that occur in matches for this. + *

    + * NOTE: It is important not to modify the source model while the stream is being processed. + * If the match set of the pattern changes during processing, the contents of the stream is undefined. + * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. + * + * @return the Stream of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOfthis(final FSObject pL) { + return rawStreamAllValuesOfthis(new Object[]{null, pL}); + } + + /** + * Retrieve the set of values that occur in matches for this. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOfthis(final Live.Match partialMatch) { + return rawStreamAllValuesOfthis(partialMatch.toArray()).collect(Collectors.toSet()); + } + + /** + * Retrieve the set of values that occur in matches for this. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOfthis(final FSObject pL) { + return rawStreamAllValuesOfthis(new Object[]{null, pL}).collect(Collectors.toSet()); + } + + /** + * Retrieve the set of values that occur in matches for l. + * @return the Set of all values or empty set if there are no matches + * + */ + protected Stream rawStreamAllValuesOfl(final Object[] parameters) { + return rawStreamAllValues(POSITION_L, parameters).map(FSObject.class::cast); + } + + /** + * Retrieve the set of values that occur in matches for l. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOfl() { + return rawStreamAllValuesOfl(emptyArray()).collect(Collectors.toSet()); + } + + /** + * Retrieve the set of values that occur in matches for l. + * @return the Set of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOfl() { + return rawStreamAllValuesOfl(emptyArray()); + } + + /** + * Retrieve the set of values that occur in matches for l. + *

    + * NOTE: It is important not to modify the source model while the stream is being processed. + * If the match set of the pattern changes during processing, the contents of the stream is undefined. + * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. + * + * @return the Stream of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOfl(final Live.Match partialMatch) { + return rawStreamAllValuesOfl(partialMatch.toArray()); + } + + /** + * Retrieve the set of values that occur in matches for l. + *

    + * NOTE: It is important not to modify the source model while the stream is being processed. + * If the match set of the pattern changes during processing, the contents of the stream is undefined. + * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. + * + * @return the Stream of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOfl(final FileSystem pThis) { + return rawStreamAllValuesOfl(new Object[]{pThis, null}); + } + + /** + * Retrieve the set of values that occur in matches for l. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOfl(final Live.Match partialMatch) { + return rawStreamAllValuesOfl(partialMatch.toArray()).collect(Collectors.toSet()); + } + + /** + * Retrieve the set of values that occur in matches for l. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOfl(final FileSystem pThis) { + return rawStreamAllValuesOfl(new Object[]{pThis, null}).collect(Collectors.toSet()); + } + + @Override + protected Live.Match tupleToMatch(final Tuple t) { + try { + return Live.Match.newMatch((FileSystem) t.get(POSITION_THIS), (FSObject) t.get(POSITION_L)); + } catch(ClassCastException e) { + LOGGER.error("Element(s) in tuple not properly typed!",e); + return null; + } + } + + @Override + protected Live.Match arrayToMatch(final Object[] match) { + try { + return Live.Match.newMatch((FileSystem) match[POSITION_THIS], (FSObject) match[POSITION_L]); + } catch(ClassCastException e) { + LOGGER.error("Element(s) in array not properly typed!",e); + return null; + } + } + + @Override + protected Live.Match arrayToMatchMutable(final Object[] match) { + try { + return Live.Match.newMutableMatch((FileSystem) match[POSITION_THIS], (FSObject) match[POSITION_L]); + } catch(ClassCastException e) { + LOGGER.error("Element(s) in array not properly typed!",e); + return null; + } + } + + /** + * @return the singleton instance of the query specification of this pattern + * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded + * + */ + public static IQuerySpecification querySpecification() { + return Live.instance(); + } + } + + private Live() { + super(GeneratedPQuery.INSTANCE); + } + + /** + * @return the singleton instance of the query specification + * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded + * + */ + public static Live instance() { + try{ + return LazyHolder.INSTANCE; + } catch (ExceptionInInitializerError err) { + throw processInitializerError(err); + } + } + + @Override + protected Live.Matcher instantiate(final ViatraQueryEngine engine) { + return Live.Matcher.on(engine); + } + + @Override + public Live.Matcher instantiate() { + return Live.Matcher.create(); + } + + @Override + public Live.Match newEmptyMatch() { + return Live.Match.newEmptyMatch(); + } + + @Override + public Live.Match newMatch(final Object... parameters) { + return Live.Match.newMatch((hu.bme.mit.inf.dslreasoner.domains.alloyexamples.Filesystem.FileSystem) parameters[0], (hu.bme.mit.inf.dslreasoner.domains.alloyexamples.Filesystem.FSObject) parameters[1]); + } + + /** + * Inner class allowing the singleton instance of {@link Live} to be created + * not at the class load time of the outer class, + * but rather at the first call to {@link Live#instance()}. + * + *

    This workaround is required e.g. to support recursion. + * + */ + private static class LazyHolder { + private static final Live INSTANCE = new Live(); + + /** + * Statically initializes the query specification after the field {@link #INSTANCE} is assigned. + * This initialization order is required to support indirect recursion. + * + *

    The static initializer is defined using a helper field to work around limitations of the code generator. + * + */ + private static final Object STATIC_INITIALIZER = ensureInitialized(); + + public static Object ensureInitialized() { + INSTANCE.ensureInitializedInternal(); + return null; + } + } + + private static class GeneratedPQuery extends BaseGeneratedEMFPQuery { + private static final Live.GeneratedPQuery INSTANCE = new GeneratedPQuery(); + + private final PParameter parameter_this = new PParameter("this", "hu.bme.mit.inf.dslreasoner.domains.alloyexamples.Filesystem.FileSystem", new EClassTransitiveInstancesKey((EClass)getClassifierLiteralSafe("FS", "FileSystem")), PParameterDirection.INOUT); + + private final PParameter parameter_l = new PParameter("l", "hu.bme.mit.inf.dslreasoner.domains.alloyexamples.Filesystem.FSObject", new EClassTransitiveInstancesKey((EClass)getClassifierLiteralSafe("FS", "FSObject")), PParameterDirection.INOUT); + + private final List parameters = Arrays.asList(parameter_this, parameter_l); + + private GeneratedPQuery() { + super(PVisibility.PUBLIC); + } + + @Override + public String getFullyQualifiedName() { + return "hu.bme.mit.inf.dslreasoner.domains.alloyexamples.live"; + } + + @Override + public List getParameterNames() { + return Arrays.asList("this","l"); + } + + @Override + public List getParameters() { + return parameters; + } + + @Override + public Set doGetContainedBodies() { + setEvaluationHints(new QueryEvaluationHint(null, QueryEvaluationHint.BackendRequirement.UNSPECIFIED)); + Set bodies = new LinkedHashSet<>(); + { + PBody body = new PBody(this); + PVariable var_this = body.getOrCreateVariableByName("this"); + PVariable var_l = body.getOrCreateVariableByName("l"); + new TypeConstraint(body, Tuples.flatTupleOf(var_this), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("FS", "FileSystem"))); + new TypeConstraint(body, Tuples.flatTupleOf(var_l), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("FS", "FSObject"))); + body.setSymbolicParameters(Arrays.asList( + new ExportedParameter(body, var_this, parameter_this), + new ExportedParameter(body, var_l, parameter_l) + )); + // FileSystem.root(this,l) + new TypeConstraint(body, Tuples.flatTupleOf(var_this), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("FS", "FileSystem"))); + PVariable var__virtual_0_ = body.getOrCreateVariableByName(".virtual{0}"); + new TypeConstraint(body, Tuples.flatTupleOf(var_this, var__virtual_0_), new EStructuralFeatureInstancesKey(getFeatureLiteral("FS", "FileSystem", "root"))); + new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_0_), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("FS", "Dir"))); + new Equality(body, var__virtual_0_, var_l); + bodies.add(body); + } + { + PBody body = new PBody(this); + PVariable var_this = body.getOrCreateVariableByName("this"); + PVariable var_l = body.getOrCreateVariableByName("l"); + PVariable var_root = body.getOrCreateVariableByName("root"); + new TypeConstraint(body, Tuples.flatTupleOf(var_this), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("FS", "FileSystem"))); + new TypeConstraint(body, Tuples.flatTupleOf(var_l), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("FS", "FSObject"))); + body.setSymbolicParameters(Arrays.asList( + new ExportedParameter(body, var_this, parameter_this), + new ExportedParameter(body, var_l, parameter_l) + )); + // FileSystem.root(this,root) + new TypeConstraint(body, Tuples.flatTupleOf(var_this), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("FS", "FileSystem"))); + PVariable var__virtual_0_ = body.getOrCreateVariableByName(".virtual{0}"); + new TypeConstraint(body, Tuples.flatTupleOf(var_this, var__virtual_0_), new EStructuralFeatureInstancesKey(getFeatureLiteral("FS", "FileSystem", "root"))); + new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_0_), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("FS", "Dir"))); + new Equality(body, var__virtual_0_, var_root); + // find patternContent+(root,l) + new BinaryTransitiveClosure(body, Tuples.flatTupleOf(var_root, var_l), PatternContent.instance().getInternalQueryRepresentation()); + bodies.add(body); + } + { + PAnnotation annotation = new PAnnotation("QueryBasedFeature"); + addAnnotation(annotation); + } + return bodies; + } + } +} diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.alloyexamples/src-gen/hu/bme/mit/inf/dslreasoner/domains/alloyexamples/LoopInInheritence.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.alloyexamples/src-gen/hu/bme/mit/inf/dslreasoner/domains/alloyexamples/LoopInInheritence.java new file mode 100644 index 00000000..f81b989c --- /dev/null +++ b/Domains/hu.bme.mit.inf.dslreasoner.domains.alloyexamples/src-gen/hu/bme/mit/inf/dslreasoner/domains/alloyexamples/LoopInInheritence.java @@ -0,0 +1,558 @@ +/** + * Generated from platform:/resource/hu.bme.mit.inf.dslreasoner.domains.alloyexamples/patterns/hu/bme/mit/inf/dslreasoner/domains/alloyexamples/Ecore.vql + */ +package hu.bme.mit.inf.dslreasoner.domains.alloyexamples; + +import hu.bme.mit.inf.dslreasoner.domains.alloyexamples.DirectSupertype; +import java.util.Arrays; +import java.util.Collection; +import java.util.LinkedHashSet; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import java.util.Set; +import java.util.function.Consumer; +import java.util.stream.Collectors; +import java.util.stream.Stream; +import org.apache.log4j.Logger; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.viatra.query.runtime.api.IPatternMatch; +import org.eclipse.viatra.query.runtime.api.IQuerySpecification; +import org.eclipse.viatra.query.runtime.api.ViatraQueryEngine; +import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFPQuery; +import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFQuerySpecification; +import org.eclipse.viatra.query.runtime.api.impl.BaseMatcher; +import org.eclipse.viatra.query.runtime.api.impl.BasePatternMatch; +import org.eclipse.viatra.query.runtime.emf.types.EClassTransitiveInstancesKey; +import org.eclipse.viatra.query.runtime.matchers.backend.QueryEvaluationHint; +import org.eclipse.viatra.query.runtime.matchers.psystem.PBody; +import org.eclipse.viatra.query.runtime.matchers.psystem.PVariable; +import org.eclipse.viatra.query.runtime.matchers.psystem.annotations.PAnnotation; +import org.eclipse.viatra.query.runtime.matchers.psystem.annotations.ParameterReference; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.ExportedParameter; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicenumerables.BinaryTransitiveClosure; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicenumerables.TypeConstraint; +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameter; +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameterDirection; +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PVisibility; +import org.eclipse.viatra.query.runtime.matchers.tuple.Tuple; +import org.eclipse.viatra.query.runtime.matchers.tuple.Tuples; +import org.eclipse.viatra.query.runtime.util.ViatraQueryLoggingUtil; + +/** + * A pattern-specific query specification that can instantiate Matcher in a type-safe way. + * + *

    Original source: + *

    + *         {@literal @}Constraint(key={a}, severity="error", message="error")
    + *         pattern loopInInheritence(a: EClass) {
    + *         	find directSupertype+(a,a);
    + *         }
    + * 
    + * + * @see Matcher + * @see Match + * + */ +@SuppressWarnings("all") +public final class LoopInInheritence extends BaseGeneratedEMFQuerySpecification { + /** + * Pattern-specific match representation of the hu.bme.mit.inf.dslreasoner.domains.alloyexamples.loopInInheritence pattern, + * to be used in conjunction with {@link Matcher}. + * + *

    Class fields correspond to parameters of the pattern. Fields with value null are considered unassigned. + * Each instance is a (possibly partial) substitution of pattern parameters, + * usable to represent a match of the pattern in the result of a query, + * or to specify the bound (fixed) input parameters when issuing a query. + * + * @see Matcher + * + */ + public static abstract class Match extends BasePatternMatch { + private EClass fA; + + private static List parameterNames = makeImmutableList("a"); + + private Match(final EClass pA) { + this.fA = pA; + } + + @Override + public Object get(final String parameterName) { + switch(parameterName) { + case "a": return this.fA; + default: return null; + } + } + + @Override + public Object get(final int index) { + switch(index) { + case 0: return this.fA; + default: return null; + } + } + + public EClass getA() { + return this.fA; + } + + @Override + public boolean set(final String parameterName, final Object newValue) { + if (!isMutable()) throw new java.lang.UnsupportedOperationException(); + if ("a".equals(parameterName) ) { + this.fA = (EClass) newValue; + return true; + } + return false; + } + + public void setA(final EClass pA) { + if (!isMutable()) throw new java.lang.UnsupportedOperationException(); + this.fA = pA; + } + + @Override + public String patternName() { + return "hu.bme.mit.inf.dslreasoner.domains.alloyexamples.loopInInheritence"; + } + + @Override + public List parameterNames() { + return LoopInInheritence.Match.parameterNames; + } + + @Override + public Object[] toArray() { + return new Object[]{fA}; + } + + @Override + public LoopInInheritence.Match toImmutable() { + return isMutable() ? newMatch(fA) : this; + } + + @Override + public String prettyPrint() { + StringBuilder result = new StringBuilder(); + result.append("\"a\"=" + prettyPrintValue(fA)); + return result.toString(); + } + + @Override + public int hashCode() { + return Objects.hash(fA); + } + + @Override + public boolean equals(final Object obj) { + if (this == obj) + return true; + if (obj == null) { + return false; + } + if ((obj instanceof LoopInInheritence.Match)) { + LoopInInheritence.Match other = (LoopInInheritence.Match) obj; + return Objects.equals(fA, other.fA); + } else { + // this should be infrequent + if (!(obj instanceof IPatternMatch)) { + return false; + } + IPatternMatch otherSig = (IPatternMatch) obj; + return Objects.equals(specification(), otherSig.specification()) && Arrays.deepEquals(toArray(), otherSig.toArray()); + } + } + + @Override + public LoopInInheritence specification() { + return LoopInInheritence.instance(); + } + + /** + * Returns an empty, mutable match. + * Fields of the mutable match can be filled to create a partial match, usable as matcher input. + * + * @return the empty match. + * + */ + public static LoopInInheritence.Match newEmptyMatch() { + return new Mutable(null); + } + + /** + * Returns a mutable (partial) match. + * Fields of the mutable match can be filled to create a partial match, usable as matcher input. + * + * @param pA the fixed value of pattern parameter a, or null if not bound. + * @return the new, mutable (partial) match object. + * + */ + public static LoopInInheritence.Match newMutableMatch(final EClass pA) { + return new Mutable(pA); + } + + /** + * Returns a new (partial) match. + * This can be used e.g. to call the matcher with a partial match. + *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. + * @param pA the fixed value of pattern parameter a, or null if not bound. + * @return the (partial) match object. + * + */ + public static LoopInInheritence.Match newMatch(final EClass pA) { + return new Immutable(pA); + } + + private static final class Mutable extends LoopInInheritence.Match { + Mutable(final EClass pA) { + super(pA); + } + + @Override + public boolean isMutable() { + return true; + } + } + + private static final class Immutable extends LoopInInheritence.Match { + Immutable(final EClass pA) { + super(pA); + } + + @Override + public boolean isMutable() { + return false; + } + } + } + + /** + * Generated pattern matcher API of the hu.bme.mit.inf.dslreasoner.domains.alloyexamples.loopInInheritence pattern, + * providing pattern-specific query methods. + * + *

    Use the pattern matcher on a given model via {@link #on(ViatraQueryEngine)}, + * e.g. in conjunction with {@link ViatraQueryEngine#on(QueryScope)}. + * + *

    Matches of the pattern will be represented as {@link Match}. + * + *

    Original source: + *

    +   * {@literal @}Constraint(key={a}, severity="error", message="error")
    +   * pattern loopInInheritence(a: EClass) {
    +   * 	find directSupertype+(a,a);
    +   * }
    +   * 
    + * + * @see Match + * @see LoopInInheritence + * + */ + public static class Matcher extends BaseMatcher { + /** + * Initializes the pattern matcher within an existing VIATRA Query engine. + * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. + * + * @param engine the existing VIATRA Query engine in which this matcher will be created. + * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation + * + */ + public static LoopInInheritence.Matcher on(final ViatraQueryEngine engine) { + // check if matcher already exists + Matcher matcher = engine.getExistingMatcher(querySpecification()); + if (matcher == null) { + matcher = (Matcher)engine.getMatcher(querySpecification()); + } + return matcher; + } + + /** + * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation + * @return an initialized matcher + * @noreference This method is for internal matcher initialization by the framework, do not call it manually. + * + */ + public static LoopInInheritence.Matcher create() { + return new Matcher(); + } + + private static final int POSITION_A = 0; + + private static final Logger LOGGER = ViatraQueryLoggingUtil.getLogger(LoopInInheritence.Matcher.class); + + /** + * Initializes the pattern matcher within an existing VIATRA Query engine. + * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. + * + * @param engine the existing VIATRA Query engine in which this matcher will be created. + * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation + * + */ + private Matcher() { + super(querySpecification()); + } + + /** + * Returns the set of all matches of the pattern that conform to the given fixed values of some parameters. + * @param pA the fixed value of pattern parameter a, or null if not bound. + * @return matches represented as a Match object. + * + */ + public Collection getAllMatches(final EClass pA) { + return rawStreamAllMatches(new Object[]{pA}).collect(Collectors.toSet()); + } + + /** + * Returns a stream of all matches of the pattern that conform to the given fixed values of some parameters. + *

    + * NOTE: It is important not to modify the source model while the stream is being processed. + * If the match set of the pattern changes during processing, the contents of the stream is undefined. + * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. + * @param pA the fixed value of pattern parameter a, or null if not bound. + * @return a stream of matches represented as a Match object. + * + */ + public Stream streamAllMatches(final EClass pA) { + return rawStreamAllMatches(new Object[]{pA}); + } + + /** + * Returns an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. + * Neither determinism nor randomness of selection is guaranteed. + * @param pA the fixed value of pattern parameter a, or null if not bound. + * @return a match represented as a Match object, or null if no match is found. + * + */ + public Optional getOneArbitraryMatch(final EClass pA) { + return rawGetOneArbitraryMatch(new Object[]{pA}); + } + + /** + * Indicates whether the given combination of specified pattern parameters constitute a valid pattern match, + * under any possible substitution of the unspecified parameters (if any). + * @param pA the fixed value of pattern parameter a, or null if not bound. + * @return true if the input is a valid (partial) match of the pattern. + * + */ + public boolean hasMatch(final EClass pA) { + return rawHasMatch(new Object[]{pA}); + } + + /** + * Returns the number of all matches of the pattern that conform to the given fixed values of some parameters. + * @param pA the fixed value of pattern parameter a, or null if not bound. + * @return the number of pattern matches found. + * + */ + public int countMatches(final EClass pA) { + return rawCountMatches(new Object[]{pA}); + } + + /** + * Executes the given processor on an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. + * Neither determinism nor randomness of selection is guaranteed. + * @param pA the fixed value of pattern parameter a, or null if not bound. + * @param processor the action that will process the selected match. + * @return true if the pattern has at least one match with the given parameter values, false if the processor was not invoked + * + */ + public boolean forOneArbitraryMatch(final EClass pA, final Consumer processor) { + return rawForOneArbitraryMatch(new Object[]{pA}, processor); + } + + /** + * Returns a new (partial) match. + * This can be used e.g. to call the matcher with a partial match. + *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. + * @param pA the fixed value of pattern parameter a, or null if not bound. + * @return the (partial) match object. + * + */ + public LoopInInheritence.Match newMatch(final EClass pA) { + return LoopInInheritence.Match.newMatch(pA); + } + + /** + * Retrieve the set of values that occur in matches for a. + * @return the Set of all values or empty set if there are no matches + * + */ + protected Stream rawStreamAllValuesOfa(final Object[] parameters) { + return rawStreamAllValues(POSITION_A, parameters).map(EClass.class::cast); + } + + /** + * Retrieve the set of values that occur in matches for a. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOfa() { + return rawStreamAllValuesOfa(emptyArray()).collect(Collectors.toSet()); + } + + /** + * Retrieve the set of values that occur in matches for a. + * @return the Set of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOfa() { + return rawStreamAllValuesOfa(emptyArray()); + } + + @Override + protected LoopInInheritence.Match tupleToMatch(final Tuple t) { + try { + return LoopInInheritence.Match.newMatch((EClass) t.get(POSITION_A)); + } catch(ClassCastException e) { + LOGGER.error("Element(s) in tuple not properly typed!",e); + return null; + } + } + + @Override + protected LoopInInheritence.Match arrayToMatch(final Object[] match) { + try { + return LoopInInheritence.Match.newMatch((EClass) match[POSITION_A]); + } catch(ClassCastException e) { + LOGGER.error("Element(s) in array not properly typed!",e); + return null; + } + } + + @Override + protected LoopInInheritence.Match arrayToMatchMutable(final Object[] match) { + try { + return LoopInInheritence.Match.newMutableMatch((EClass) match[POSITION_A]); + } catch(ClassCastException e) { + LOGGER.error("Element(s) in array not properly typed!",e); + return null; + } + } + + /** + * @return the singleton instance of the query specification of this pattern + * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded + * + */ + public static IQuerySpecification querySpecification() { + return LoopInInheritence.instance(); + } + } + + private LoopInInheritence() { + super(GeneratedPQuery.INSTANCE); + } + + /** + * @return the singleton instance of the query specification + * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded + * + */ + public static LoopInInheritence instance() { + try{ + return LazyHolder.INSTANCE; + } catch (ExceptionInInitializerError err) { + throw processInitializerError(err); + } + } + + @Override + protected LoopInInheritence.Matcher instantiate(final ViatraQueryEngine engine) { + return LoopInInheritence.Matcher.on(engine); + } + + @Override + public LoopInInheritence.Matcher instantiate() { + return LoopInInheritence.Matcher.create(); + } + + @Override + public LoopInInheritence.Match newEmptyMatch() { + return LoopInInheritence.Match.newEmptyMatch(); + } + + @Override + public LoopInInheritence.Match newMatch(final Object... parameters) { + return LoopInInheritence.Match.newMatch((org.eclipse.emf.ecore.EClass) parameters[0]); + } + + /** + * Inner class allowing the singleton instance of {@link LoopInInheritence} to be created + * not at the class load time of the outer class, + * but rather at the first call to {@link LoopInInheritence#instance()}. + * + *

    This workaround is required e.g. to support recursion. + * + */ + private static class LazyHolder { + private static final LoopInInheritence INSTANCE = new LoopInInheritence(); + + /** + * Statically initializes the query specification after the field {@link #INSTANCE} is assigned. + * This initialization order is required to support indirect recursion. + * + *

    The static initializer is defined using a helper field to work around limitations of the code generator. + * + */ + private static final Object STATIC_INITIALIZER = ensureInitialized(); + + public static Object ensureInitialized() { + INSTANCE.ensureInitializedInternal(); + return null; + } + } + + private static class GeneratedPQuery extends BaseGeneratedEMFPQuery { + private static final LoopInInheritence.GeneratedPQuery INSTANCE = new GeneratedPQuery(); + + private final PParameter parameter_a = new PParameter("a", "org.eclipse.emf.ecore.EClass", new EClassTransitiveInstancesKey((EClass)getClassifierLiteralSafe("http://www.eclipse.org/emf/2002/Ecore", "EClass")), PParameterDirection.INOUT); + + private final List parameters = Arrays.asList(parameter_a); + + private GeneratedPQuery() { + super(PVisibility.PUBLIC); + } + + @Override + public String getFullyQualifiedName() { + return "hu.bme.mit.inf.dslreasoner.domains.alloyexamples.loopInInheritence"; + } + + @Override + public List getParameterNames() { + return Arrays.asList("a"); + } + + @Override + public List getParameters() { + return parameters; + } + + @Override + public Set doGetContainedBodies() { + setEvaluationHints(new QueryEvaluationHint(null, QueryEvaluationHint.BackendRequirement.UNSPECIFIED)); + Set bodies = new LinkedHashSet<>(); + { + PBody body = new PBody(this); + PVariable var_a = body.getOrCreateVariableByName("a"); + new TypeConstraint(body, Tuples.flatTupleOf(var_a), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.eclipse.org/emf/2002/Ecore", "EClass"))); + body.setSymbolicParameters(Arrays.asList( + new ExportedParameter(body, var_a, parameter_a) + )); + // find directSupertype+(a,a) + new BinaryTransitiveClosure(body, Tuples.flatTupleOf(var_a, var_a), DirectSupertype.instance().getInternalQueryRepresentation()); + bodies.add(body); + } + { + PAnnotation annotation = new PAnnotation("Constraint"); + annotation.addAttribute("key", Arrays.asList(new Object[] { + new ParameterReference("a") + })); + annotation.addAttribute("severity", "error"); + annotation.addAttribute("message", "error"); + addAnnotation(annotation); + } + return bodies; + } + } +} diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.alloyexamples/src-gen/hu/bme/mit/inf/dslreasoner/domains/alloyexamples/NonSymmetricOpposite.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.alloyexamples/src-gen/hu/bme/mit/inf/dslreasoner/domains/alloyexamples/NonSymmetricOpposite.java new file mode 100644 index 00000000..53725305 --- /dev/null +++ b/Domains/hu.bme.mit.inf.dslreasoner.domains.alloyexamples/src-gen/hu/bme/mit/inf/dslreasoner/domains/alloyexamples/NonSymmetricOpposite.java @@ -0,0 +1,718 @@ +/** + * Generated from platform:/resource/hu.bme.mit.inf.dslreasoner.domains.alloyexamples/patterns/hu/bme/mit/inf/dslreasoner/domains/alloyexamples/Ecore.vql + */ +package hu.bme.mit.inf.dslreasoner.domains.alloyexamples; + +import hu.bme.mit.inf.dslreasoner.domains.alloyexamples.Opposite; +import java.util.Arrays; +import java.util.Collection; +import java.util.LinkedHashSet; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import java.util.Set; +import java.util.function.Consumer; +import java.util.stream.Collectors; +import java.util.stream.Stream; +import org.apache.log4j.Logger; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EReference; +import org.eclipse.viatra.query.runtime.api.IPatternMatch; +import org.eclipse.viatra.query.runtime.api.IQuerySpecification; +import org.eclipse.viatra.query.runtime.api.ViatraQueryEngine; +import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFPQuery; +import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFQuerySpecification; +import org.eclipse.viatra.query.runtime.api.impl.BaseMatcher; +import org.eclipse.viatra.query.runtime.api.impl.BasePatternMatch; +import org.eclipse.viatra.query.runtime.emf.types.EClassTransitiveInstancesKey; +import org.eclipse.viatra.query.runtime.matchers.backend.QueryEvaluationHint; +import org.eclipse.viatra.query.runtime.matchers.psystem.PBody; +import org.eclipse.viatra.query.runtime.matchers.psystem.PVariable; +import org.eclipse.viatra.query.runtime.matchers.psystem.annotations.PAnnotation; +import org.eclipse.viatra.query.runtime.matchers.psystem.annotations.ParameterReference; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.ExportedParameter; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.NegativePatternCall; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicenumerables.PositivePatternCall; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicenumerables.TypeConstraint; +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameter; +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameterDirection; +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PVisibility; +import org.eclipse.viatra.query.runtime.matchers.tuple.Tuple; +import org.eclipse.viatra.query.runtime.matchers.tuple.Tuples; +import org.eclipse.viatra.query.runtime.util.ViatraQueryLoggingUtil; + +/** + * A pattern-specific query specification that can instantiate Matcher in a type-safe way. + * + *

    Original source: + *

    + *         {@literal @}Constraint(key={a}, severity="error", message="error")
    + *         pattern nonSymmetricOpposite(a:EReference, b:EReference) {
    + *         	find opposite(a,b);
    + *         	neg find opposite(b,a);
    + *         }
    + * 
    + * + * @see Matcher + * @see Match + * + */ +@SuppressWarnings("all") +public final class NonSymmetricOpposite extends BaseGeneratedEMFQuerySpecification { + /** + * Pattern-specific match representation of the hu.bme.mit.inf.dslreasoner.domains.alloyexamples.nonSymmetricOpposite pattern, + * to be used in conjunction with {@link Matcher}. + * + *

    Class fields correspond to parameters of the pattern. Fields with value null are considered unassigned. + * Each instance is a (possibly partial) substitution of pattern parameters, + * usable to represent a match of the pattern in the result of a query, + * or to specify the bound (fixed) input parameters when issuing a query. + * + * @see Matcher + * + */ + public static abstract class Match extends BasePatternMatch { + private EReference fA; + + private EReference fB; + + private static List parameterNames = makeImmutableList("a", "b"); + + private Match(final EReference pA, final EReference pB) { + this.fA = pA; + this.fB = pB; + } + + @Override + public Object get(final String parameterName) { + switch(parameterName) { + case "a": return this.fA; + case "b": return this.fB; + default: return null; + } + } + + @Override + public Object get(final int index) { + switch(index) { + case 0: return this.fA; + case 1: return this.fB; + default: return null; + } + } + + public EReference getA() { + return this.fA; + } + + public EReference getB() { + return this.fB; + } + + @Override + public boolean set(final String parameterName, final Object newValue) { + if (!isMutable()) throw new java.lang.UnsupportedOperationException(); + if ("a".equals(parameterName) ) { + this.fA = (EReference) newValue; + return true; + } + if ("b".equals(parameterName) ) { + this.fB = (EReference) newValue; + return true; + } + return false; + } + + public void setA(final EReference pA) { + if (!isMutable()) throw new java.lang.UnsupportedOperationException(); + this.fA = pA; + } + + public void setB(final EReference pB) { + if (!isMutable()) throw new java.lang.UnsupportedOperationException(); + this.fB = pB; + } + + @Override + public String patternName() { + return "hu.bme.mit.inf.dslreasoner.domains.alloyexamples.nonSymmetricOpposite"; + } + + @Override + public List parameterNames() { + return NonSymmetricOpposite.Match.parameterNames; + } + + @Override + public Object[] toArray() { + return new Object[]{fA, fB}; + } + + @Override + public NonSymmetricOpposite.Match toImmutable() { + return isMutable() ? newMatch(fA, fB) : this; + } + + @Override + public String prettyPrint() { + StringBuilder result = new StringBuilder(); + result.append("\"a\"=" + prettyPrintValue(fA) + ", "); + result.append("\"b\"=" + prettyPrintValue(fB)); + return result.toString(); + } + + @Override + public int hashCode() { + return Objects.hash(fA, fB); + } + + @Override + public boolean equals(final Object obj) { + if (this == obj) + return true; + if (obj == null) { + return false; + } + if ((obj instanceof NonSymmetricOpposite.Match)) { + NonSymmetricOpposite.Match other = (NonSymmetricOpposite.Match) obj; + return Objects.equals(fA, other.fA) && Objects.equals(fB, other.fB); + } else { + // this should be infrequent + if (!(obj instanceof IPatternMatch)) { + return false; + } + IPatternMatch otherSig = (IPatternMatch) obj; + return Objects.equals(specification(), otherSig.specification()) && Arrays.deepEquals(toArray(), otherSig.toArray()); + } + } + + @Override + public NonSymmetricOpposite specification() { + return NonSymmetricOpposite.instance(); + } + + /** + * Returns an empty, mutable match. + * Fields of the mutable match can be filled to create a partial match, usable as matcher input. + * + * @return the empty match. + * + */ + public static NonSymmetricOpposite.Match newEmptyMatch() { + return new Mutable(null, null); + } + + /** + * Returns a mutable (partial) match. + * Fields of the mutable match can be filled to create a partial match, usable as matcher input. + * + * @param pA the fixed value of pattern parameter a, or null if not bound. + * @param pB the fixed value of pattern parameter b, or null if not bound. + * @return the new, mutable (partial) match object. + * + */ + public static NonSymmetricOpposite.Match newMutableMatch(final EReference pA, final EReference pB) { + return new Mutable(pA, pB); + } + + /** + * Returns a new (partial) match. + * This can be used e.g. to call the matcher with a partial match. + *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. + * @param pA the fixed value of pattern parameter a, or null if not bound. + * @param pB the fixed value of pattern parameter b, or null if not bound. + * @return the (partial) match object. + * + */ + public static NonSymmetricOpposite.Match newMatch(final EReference pA, final EReference pB) { + return new Immutable(pA, pB); + } + + private static final class Mutable extends NonSymmetricOpposite.Match { + Mutable(final EReference pA, final EReference pB) { + super(pA, pB); + } + + @Override + public boolean isMutable() { + return true; + } + } + + private static final class Immutable extends NonSymmetricOpposite.Match { + Immutable(final EReference pA, final EReference pB) { + super(pA, pB); + } + + @Override + public boolean isMutable() { + return false; + } + } + } + + /** + * Generated pattern matcher API of the hu.bme.mit.inf.dslreasoner.domains.alloyexamples.nonSymmetricOpposite pattern, + * providing pattern-specific query methods. + * + *

    Use the pattern matcher on a given model via {@link #on(ViatraQueryEngine)}, + * e.g. in conjunction with {@link ViatraQueryEngine#on(QueryScope)}. + * + *

    Matches of the pattern will be represented as {@link Match}. + * + *

    Original source: + *

    +   * {@literal @}Constraint(key={a}, severity="error", message="error")
    +   * pattern nonSymmetricOpposite(a:EReference, b:EReference) {
    +   * 	find opposite(a,b);
    +   * 	neg find opposite(b,a);
    +   * }
    +   * 
    + * + * @see Match + * @see NonSymmetricOpposite + * + */ + public static class Matcher extends BaseMatcher { + /** + * Initializes the pattern matcher within an existing VIATRA Query engine. + * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. + * + * @param engine the existing VIATRA Query engine in which this matcher will be created. + * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation + * + */ + public static NonSymmetricOpposite.Matcher on(final ViatraQueryEngine engine) { + // check if matcher already exists + Matcher matcher = engine.getExistingMatcher(querySpecification()); + if (matcher == null) { + matcher = (Matcher)engine.getMatcher(querySpecification()); + } + return matcher; + } + + /** + * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation + * @return an initialized matcher + * @noreference This method is for internal matcher initialization by the framework, do not call it manually. + * + */ + public static NonSymmetricOpposite.Matcher create() { + return new Matcher(); + } + + private static final int POSITION_A = 0; + + private static final int POSITION_B = 1; + + private static final Logger LOGGER = ViatraQueryLoggingUtil.getLogger(NonSymmetricOpposite.Matcher.class); + + /** + * Initializes the pattern matcher within an existing VIATRA Query engine. + * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. + * + * @param engine the existing VIATRA Query engine in which this matcher will be created. + * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation + * + */ + private Matcher() { + super(querySpecification()); + } + + /** + * Returns the set of all matches of the pattern that conform to the given fixed values of some parameters. + * @param pA the fixed value of pattern parameter a, or null if not bound. + * @param pB the fixed value of pattern parameter b, or null if not bound. + * @return matches represented as a Match object. + * + */ + public Collection getAllMatches(final EReference pA, final EReference pB) { + return rawStreamAllMatches(new Object[]{pA, pB}).collect(Collectors.toSet()); + } + + /** + * Returns a stream of all matches of the pattern that conform to the given fixed values of some parameters. + *

    + * NOTE: It is important not to modify the source model while the stream is being processed. + * If the match set of the pattern changes during processing, the contents of the stream is undefined. + * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. + * @param pA the fixed value of pattern parameter a, or null if not bound. + * @param pB the fixed value of pattern parameter b, or null if not bound. + * @return a stream of matches represented as a Match object. + * + */ + public Stream streamAllMatches(final EReference pA, final EReference pB) { + return rawStreamAllMatches(new Object[]{pA, pB}); + } + + /** + * Returns an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. + * Neither determinism nor randomness of selection is guaranteed. + * @param pA the fixed value of pattern parameter a, or null if not bound. + * @param pB the fixed value of pattern parameter b, or null if not bound. + * @return a match represented as a Match object, or null if no match is found. + * + */ + public Optional getOneArbitraryMatch(final EReference pA, final EReference pB) { + return rawGetOneArbitraryMatch(new Object[]{pA, pB}); + } + + /** + * Indicates whether the given combination of specified pattern parameters constitute a valid pattern match, + * under any possible substitution of the unspecified parameters (if any). + * @param pA the fixed value of pattern parameter a, or null if not bound. + * @param pB the fixed value of pattern parameter b, or null if not bound. + * @return true if the input is a valid (partial) match of the pattern. + * + */ + public boolean hasMatch(final EReference pA, final EReference pB) { + return rawHasMatch(new Object[]{pA, pB}); + } + + /** + * Returns the number of all matches of the pattern that conform to the given fixed values of some parameters. + * @param pA the fixed value of pattern parameter a, or null if not bound. + * @param pB the fixed value of pattern parameter b, or null if not bound. + * @return the number of pattern matches found. + * + */ + public int countMatches(final EReference pA, final EReference pB) { + return rawCountMatches(new Object[]{pA, pB}); + } + + /** + * Executes the given processor on an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. + * Neither determinism nor randomness of selection is guaranteed. + * @param pA the fixed value of pattern parameter a, or null if not bound. + * @param pB the fixed value of pattern parameter b, or null if not bound. + * @param processor the action that will process the selected match. + * @return true if the pattern has at least one match with the given parameter values, false if the processor was not invoked + * + */ + public boolean forOneArbitraryMatch(final EReference pA, final EReference pB, final Consumer processor) { + return rawForOneArbitraryMatch(new Object[]{pA, pB}, processor); + } + + /** + * Returns a new (partial) match. + * This can be used e.g. to call the matcher with a partial match. + *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. + * @param pA the fixed value of pattern parameter a, or null if not bound. + * @param pB the fixed value of pattern parameter b, or null if not bound. + * @return the (partial) match object. + * + */ + public NonSymmetricOpposite.Match newMatch(final EReference pA, final EReference pB) { + return NonSymmetricOpposite.Match.newMatch(pA, pB); + } + + /** + * Retrieve the set of values that occur in matches for a. + * @return the Set of all values or empty set if there are no matches + * + */ + protected Stream rawStreamAllValuesOfa(final Object[] parameters) { + return rawStreamAllValues(POSITION_A, parameters).map(EReference.class::cast); + } + + /** + * Retrieve the set of values that occur in matches for a. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOfa() { + return rawStreamAllValuesOfa(emptyArray()).collect(Collectors.toSet()); + } + + /** + * Retrieve the set of values that occur in matches for a. + * @return the Set of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOfa() { + return rawStreamAllValuesOfa(emptyArray()); + } + + /** + * Retrieve the set of values that occur in matches for a. + *

    + * NOTE: It is important not to modify the source model while the stream is being processed. + * If the match set of the pattern changes during processing, the contents of the stream is undefined. + * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. + * + * @return the Stream of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOfa(final NonSymmetricOpposite.Match partialMatch) { + return rawStreamAllValuesOfa(partialMatch.toArray()); + } + + /** + * Retrieve the set of values that occur in matches for a. + *

    + * NOTE: It is important not to modify the source model while the stream is being processed. + * If the match set of the pattern changes during processing, the contents of the stream is undefined. + * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. + * + * @return the Stream of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOfa(final EReference pB) { + return rawStreamAllValuesOfa(new Object[]{null, pB}); + } + + /** + * Retrieve the set of values that occur in matches for a. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOfa(final NonSymmetricOpposite.Match partialMatch) { + return rawStreamAllValuesOfa(partialMatch.toArray()).collect(Collectors.toSet()); + } + + /** + * Retrieve the set of values that occur in matches for a. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOfa(final EReference pB) { + return rawStreamAllValuesOfa(new Object[]{null, pB}).collect(Collectors.toSet()); + } + + /** + * Retrieve the set of values that occur in matches for b. + * @return the Set of all values or empty set if there are no matches + * + */ + protected Stream rawStreamAllValuesOfb(final Object[] parameters) { + return rawStreamAllValues(POSITION_B, parameters).map(EReference.class::cast); + } + + /** + * Retrieve the set of values that occur in matches for b. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOfb() { + return rawStreamAllValuesOfb(emptyArray()).collect(Collectors.toSet()); + } + + /** + * Retrieve the set of values that occur in matches for b. + * @return the Set of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOfb() { + return rawStreamAllValuesOfb(emptyArray()); + } + + /** + * Retrieve the set of values that occur in matches for b. + *

    + * NOTE: It is important not to modify the source model while the stream is being processed. + * If the match set of the pattern changes during processing, the contents of the stream is undefined. + * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. + * + * @return the Stream of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOfb(final NonSymmetricOpposite.Match partialMatch) { + return rawStreamAllValuesOfb(partialMatch.toArray()); + } + + /** + * Retrieve the set of values that occur in matches for b. + *

    + * NOTE: It is important not to modify the source model while the stream is being processed. + * If the match set of the pattern changes during processing, the contents of the stream is undefined. + * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. + * + * @return the Stream of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOfb(final EReference pA) { + return rawStreamAllValuesOfb(new Object[]{pA, null}); + } + + /** + * Retrieve the set of values that occur in matches for b. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOfb(final NonSymmetricOpposite.Match partialMatch) { + return rawStreamAllValuesOfb(partialMatch.toArray()).collect(Collectors.toSet()); + } + + /** + * Retrieve the set of values that occur in matches for b. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOfb(final EReference pA) { + return rawStreamAllValuesOfb(new Object[]{pA, null}).collect(Collectors.toSet()); + } + + @Override + protected NonSymmetricOpposite.Match tupleToMatch(final Tuple t) { + try { + return NonSymmetricOpposite.Match.newMatch((EReference) t.get(POSITION_A), (EReference) t.get(POSITION_B)); + } catch(ClassCastException e) { + LOGGER.error("Element(s) in tuple not properly typed!",e); + return null; + } + } + + @Override + protected NonSymmetricOpposite.Match arrayToMatch(final Object[] match) { + try { + return NonSymmetricOpposite.Match.newMatch((EReference) match[POSITION_A], (EReference) match[POSITION_B]); + } catch(ClassCastException e) { + LOGGER.error("Element(s) in array not properly typed!",e); + return null; + } + } + + @Override + protected NonSymmetricOpposite.Match arrayToMatchMutable(final Object[] match) { + try { + return NonSymmetricOpposite.Match.newMutableMatch((EReference) match[POSITION_A], (EReference) match[POSITION_B]); + } catch(ClassCastException e) { + LOGGER.error("Element(s) in array not properly typed!",e); + return null; + } + } + + /** + * @return the singleton instance of the query specification of this pattern + * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded + * + */ + public static IQuerySpecification querySpecification() { + return NonSymmetricOpposite.instance(); + } + } + + private NonSymmetricOpposite() { + super(GeneratedPQuery.INSTANCE); + } + + /** + * @return the singleton instance of the query specification + * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded + * + */ + public static NonSymmetricOpposite instance() { + try{ + return LazyHolder.INSTANCE; + } catch (ExceptionInInitializerError err) { + throw processInitializerError(err); + } + } + + @Override + protected NonSymmetricOpposite.Matcher instantiate(final ViatraQueryEngine engine) { + return NonSymmetricOpposite.Matcher.on(engine); + } + + @Override + public NonSymmetricOpposite.Matcher instantiate() { + return NonSymmetricOpposite.Matcher.create(); + } + + @Override + public NonSymmetricOpposite.Match newEmptyMatch() { + return NonSymmetricOpposite.Match.newEmptyMatch(); + } + + @Override + public NonSymmetricOpposite.Match newMatch(final Object... parameters) { + return NonSymmetricOpposite.Match.newMatch((org.eclipse.emf.ecore.EReference) parameters[0], (org.eclipse.emf.ecore.EReference) parameters[1]); + } + + /** + * Inner class allowing the singleton instance of {@link NonSymmetricOpposite} to be created + * not at the class load time of the outer class, + * but rather at the first call to {@link NonSymmetricOpposite#instance()}. + * + *

    This workaround is required e.g. to support recursion. + * + */ + private static class LazyHolder { + private static final NonSymmetricOpposite INSTANCE = new NonSymmetricOpposite(); + + /** + * Statically initializes the query specification after the field {@link #INSTANCE} is assigned. + * This initialization order is required to support indirect recursion. + * + *

    The static initializer is defined using a helper field to work around limitations of the code generator. + * + */ + private static final Object STATIC_INITIALIZER = ensureInitialized(); + + public static Object ensureInitialized() { + INSTANCE.ensureInitializedInternal(); + return null; + } + } + + private static class GeneratedPQuery extends BaseGeneratedEMFPQuery { + private static final NonSymmetricOpposite.GeneratedPQuery INSTANCE = new GeneratedPQuery(); + + private final PParameter parameter_a = new PParameter("a", "org.eclipse.emf.ecore.EReference", new EClassTransitiveInstancesKey((EClass)getClassifierLiteralSafe("http://www.eclipse.org/emf/2002/Ecore", "EReference")), PParameterDirection.INOUT); + + private final PParameter parameter_b = new PParameter("b", "org.eclipse.emf.ecore.EReference", new EClassTransitiveInstancesKey((EClass)getClassifierLiteralSafe("http://www.eclipse.org/emf/2002/Ecore", "EReference")), PParameterDirection.INOUT); + + private final List parameters = Arrays.asList(parameter_a, parameter_b); + + private GeneratedPQuery() { + super(PVisibility.PUBLIC); + } + + @Override + public String getFullyQualifiedName() { + return "hu.bme.mit.inf.dslreasoner.domains.alloyexamples.nonSymmetricOpposite"; + } + + @Override + public List getParameterNames() { + return Arrays.asList("a","b"); + } + + @Override + public List getParameters() { + return parameters; + } + + @Override + public Set doGetContainedBodies() { + setEvaluationHints(new QueryEvaluationHint(null, QueryEvaluationHint.BackendRequirement.UNSPECIFIED)); + Set bodies = new LinkedHashSet<>(); + { + PBody body = new PBody(this); + PVariable var_a = body.getOrCreateVariableByName("a"); + PVariable var_b = body.getOrCreateVariableByName("b"); + new TypeConstraint(body, Tuples.flatTupleOf(var_a), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.eclipse.org/emf/2002/Ecore", "EReference"))); + new TypeConstraint(body, Tuples.flatTupleOf(var_b), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.eclipse.org/emf/2002/Ecore", "EReference"))); + body.setSymbolicParameters(Arrays.asList( + new ExportedParameter(body, var_a, parameter_a), + new ExportedParameter(body, var_b, parameter_b) + )); + // find opposite(a,b) + new PositivePatternCall(body, Tuples.flatTupleOf(var_a, var_b), Opposite.instance().getInternalQueryRepresentation()); + // neg find opposite(b,a) + new NegativePatternCall(body, Tuples.flatTupleOf(var_b, var_a), Opposite.instance().getInternalQueryRepresentation()); + bodies.add(body); + } + { + PAnnotation annotation = new PAnnotation("Constraint"); + annotation.addAttribute("key", Arrays.asList(new Object[] { + new ParameterReference("a") + })); + annotation.addAttribute("severity", "error"); + annotation.addAttribute("message", "error"); + addAnnotation(annotation); + } + return bodies; + } + } +} diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.alloyexamples/src-gen/hu/bme/mit/inf/dslreasoner/domains/alloyexamples/Opposite.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.alloyexamples/src-gen/hu/bme/mit/inf/dslreasoner/domains/alloyexamples/Opposite.java new file mode 100644 index 00000000..7689d070 --- /dev/null +++ b/Domains/hu.bme.mit.inf.dslreasoner.domains.alloyexamples/src-gen/hu/bme/mit/inf/dslreasoner/domains/alloyexamples/Opposite.java @@ -0,0 +1,704 @@ +/** + * Generated from platform:/resource/hu.bme.mit.inf.dslreasoner.domains.alloyexamples/patterns/hu/bme/mit/inf/dslreasoner/domains/alloyexamples/Ecore.vql + */ +package hu.bme.mit.inf.dslreasoner.domains.alloyexamples; + +import java.util.Arrays; +import java.util.Collection; +import java.util.LinkedHashSet; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import java.util.Set; +import java.util.function.Consumer; +import java.util.stream.Collectors; +import java.util.stream.Stream; +import org.apache.log4j.Logger; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EReference; +import org.eclipse.viatra.query.runtime.api.IPatternMatch; +import org.eclipse.viatra.query.runtime.api.IQuerySpecification; +import org.eclipse.viatra.query.runtime.api.ViatraQueryEngine; +import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFPQuery; +import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFQuerySpecification; +import org.eclipse.viatra.query.runtime.api.impl.BaseMatcher; +import org.eclipse.viatra.query.runtime.api.impl.BasePatternMatch; +import org.eclipse.viatra.query.runtime.emf.types.EClassTransitiveInstancesKey; +import org.eclipse.viatra.query.runtime.emf.types.EStructuralFeatureInstancesKey; +import org.eclipse.viatra.query.runtime.matchers.backend.QueryEvaluationHint; +import org.eclipse.viatra.query.runtime.matchers.psystem.PBody; +import org.eclipse.viatra.query.runtime.matchers.psystem.PVariable; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.Equality; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.ExportedParameter; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicenumerables.TypeConstraint; +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameter; +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameterDirection; +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PVisibility; +import org.eclipse.viatra.query.runtime.matchers.tuple.Tuple; +import org.eclipse.viatra.query.runtime.matchers.tuple.Tuples; +import org.eclipse.viatra.query.runtime.util.ViatraQueryLoggingUtil; + +/** + * A pattern-specific query specification that can instantiate Matcher in a type-safe way. + * + *

    Original source: + *

    + *         pattern opposite(a:EReference, b: EReference) {
    + *         	EReference.eOpposite(a,b);
    + *         }
    + * 
    + * + * @see Matcher + * @see Match + * + */ +@SuppressWarnings("all") +public final class Opposite extends BaseGeneratedEMFQuerySpecification { + /** + * Pattern-specific match representation of the hu.bme.mit.inf.dslreasoner.domains.alloyexamples.opposite pattern, + * to be used in conjunction with {@link Matcher}. + * + *

    Class fields correspond to parameters of the pattern. Fields with value null are considered unassigned. + * Each instance is a (possibly partial) substitution of pattern parameters, + * usable to represent a match of the pattern in the result of a query, + * or to specify the bound (fixed) input parameters when issuing a query. + * + * @see Matcher + * + */ + public static abstract class Match extends BasePatternMatch { + private EReference fA; + + private EReference fB; + + private static List parameterNames = makeImmutableList("a", "b"); + + private Match(final EReference pA, final EReference pB) { + this.fA = pA; + this.fB = pB; + } + + @Override + public Object get(final String parameterName) { + switch(parameterName) { + case "a": return this.fA; + case "b": return this.fB; + default: return null; + } + } + + @Override + public Object get(final int index) { + switch(index) { + case 0: return this.fA; + case 1: return this.fB; + default: return null; + } + } + + public EReference getA() { + return this.fA; + } + + public EReference getB() { + return this.fB; + } + + @Override + public boolean set(final String parameterName, final Object newValue) { + if (!isMutable()) throw new java.lang.UnsupportedOperationException(); + if ("a".equals(parameterName) ) { + this.fA = (EReference) newValue; + return true; + } + if ("b".equals(parameterName) ) { + this.fB = (EReference) newValue; + return true; + } + return false; + } + + public void setA(final EReference pA) { + if (!isMutable()) throw new java.lang.UnsupportedOperationException(); + this.fA = pA; + } + + public void setB(final EReference pB) { + if (!isMutable()) throw new java.lang.UnsupportedOperationException(); + this.fB = pB; + } + + @Override + public String patternName() { + return "hu.bme.mit.inf.dslreasoner.domains.alloyexamples.opposite"; + } + + @Override + public List parameterNames() { + return Opposite.Match.parameterNames; + } + + @Override + public Object[] toArray() { + return new Object[]{fA, fB}; + } + + @Override + public Opposite.Match toImmutable() { + return isMutable() ? newMatch(fA, fB) : this; + } + + @Override + public String prettyPrint() { + StringBuilder result = new StringBuilder(); + result.append("\"a\"=" + prettyPrintValue(fA) + ", "); + result.append("\"b\"=" + prettyPrintValue(fB)); + return result.toString(); + } + + @Override + public int hashCode() { + return Objects.hash(fA, fB); + } + + @Override + public boolean equals(final Object obj) { + if (this == obj) + return true; + if (obj == null) { + return false; + } + if ((obj instanceof Opposite.Match)) { + Opposite.Match other = (Opposite.Match) obj; + return Objects.equals(fA, other.fA) && Objects.equals(fB, other.fB); + } else { + // this should be infrequent + if (!(obj instanceof IPatternMatch)) { + return false; + } + IPatternMatch otherSig = (IPatternMatch) obj; + return Objects.equals(specification(), otherSig.specification()) && Arrays.deepEquals(toArray(), otherSig.toArray()); + } + } + + @Override + public Opposite specification() { + return Opposite.instance(); + } + + /** + * Returns an empty, mutable match. + * Fields of the mutable match can be filled to create a partial match, usable as matcher input. + * + * @return the empty match. + * + */ + public static Opposite.Match newEmptyMatch() { + return new Mutable(null, null); + } + + /** + * Returns a mutable (partial) match. + * Fields of the mutable match can be filled to create a partial match, usable as matcher input. + * + * @param pA the fixed value of pattern parameter a, or null if not bound. + * @param pB the fixed value of pattern parameter b, or null if not bound. + * @return the new, mutable (partial) match object. + * + */ + public static Opposite.Match newMutableMatch(final EReference pA, final EReference pB) { + return new Mutable(pA, pB); + } + + /** + * Returns a new (partial) match. + * This can be used e.g. to call the matcher with a partial match. + *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. + * @param pA the fixed value of pattern parameter a, or null if not bound. + * @param pB the fixed value of pattern parameter b, or null if not bound. + * @return the (partial) match object. + * + */ + public static Opposite.Match newMatch(final EReference pA, final EReference pB) { + return new Immutable(pA, pB); + } + + private static final class Mutable extends Opposite.Match { + Mutable(final EReference pA, final EReference pB) { + super(pA, pB); + } + + @Override + public boolean isMutable() { + return true; + } + } + + private static final class Immutable extends Opposite.Match { + Immutable(final EReference pA, final EReference pB) { + super(pA, pB); + } + + @Override + public boolean isMutable() { + return false; + } + } + } + + /** + * Generated pattern matcher API of the hu.bme.mit.inf.dslreasoner.domains.alloyexamples.opposite pattern, + * providing pattern-specific query methods. + * + *

    Use the pattern matcher on a given model via {@link #on(ViatraQueryEngine)}, + * e.g. in conjunction with {@link ViatraQueryEngine#on(QueryScope)}. + * + *

    Matches of the pattern will be represented as {@link Match}. + * + *

    Original source: + *

    +   * pattern opposite(a:EReference, b: EReference) {
    +   * 	EReference.eOpposite(a,b);
    +   * }
    +   * 
    + * + * @see Match + * @see Opposite + * + */ + public static class Matcher extends BaseMatcher { + /** + * Initializes the pattern matcher within an existing VIATRA Query engine. + * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. + * + * @param engine the existing VIATRA Query engine in which this matcher will be created. + * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation + * + */ + public static Opposite.Matcher on(final ViatraQueryEngine engine) { + // check if matcher already exists + Matcher matcher = engine.getExistingMatcher(querySpecification()); + if (matcher == null) { + matcher = (Matcher)engine.getMatcher(querySpecification()); + } + return matcher; + } + + /** + * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation + * @return an initialized matcher + * @noreference This method is for internal matcher initialization by the framework, do not call it manually. + * + */ + public static Opposite.Matcher create() { + return new Matcher(); + } + + private static final int POSITION_A = 0; + + private static final int POSITION_B = 1; + + private static final Logger LOGGER = ViatraQueryLoggingUtil.getLogger(Opposite.Matcher.class); + + /** + * Initializes the pattern matcher within an existing VIATRA Query engine. + * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. + * + * @param engine the existing VIATRA Query engine in which this matcher will be created. + * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation + * + */ + private Matcher() { + super(querySpecification()); + } + + /** + * Returns the set of all matches of the pattern that conform to the given fixed values of some parameters. + * @param pA the fixed value of pattern parameter a, or null if not bound. + * @param pB the fixed value of pattern parameter b, or null if not bound. + * @return matches represented as a Match object. + * + */ + public Collection getAllMatches(final EReference pA, final EReference pB) { + return rawStreamAllMatches(new Object[]{pA, pB}).collect(Collectors.toSet()); + } + + /** + * Returns a stream of all matches of the pattern that conform to the given fixed values of some parameters. + *

    + * NOTE: It is important not to modify the source model while the stream is being processed. + * If the match set of the pattern changes during processing, the contents of the stream is undefined. + * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. + * @param pA the fixed value of pattern parameter a, or null if not bound. + * @param pB the fixed value of pattern parameter b, or null if not bound. + * @return a stream of matches represented as a Match object. + * + */ + public Stream streamAllMatches(final EReference pA, final EReference pB) { + return rawStreamAllMatches(new Object[]{pA, pB}); + } + + /** + * Returns an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. + * Neither determinism nor randomness of selection is guaranteed. + * @param pA the fixed value of pattern parameter a, or null if not bound. + * @param pB the fixed value of pattern parameter b, or null if not bound. + * @return a match represented as a Match object, or null if no match is found. + * + */ + public Optional getOneArbitraryMatch(final EReference pA, final EReference pB) { + return rawGetOneArbitraryMatch(new Object[]{pA, pB}); + } + + /** + * Indicates whether the given combination of specified pattern parameters constitute a valid pattern match, + * under any possible substitution of the unspecified parameters (if any). + * @param pA the fixed value of pattern parameter a, or null if not bound. + * @param pB the fixed value of pattern parameter b, or null if not bound. + * @return true if the input is a valid (partial) match of the pattern. + * + */ + public boolean hasMatch(final EReference pA, final EReference pB) { + return rawHasMatch(new Object[]{pA, pB}); + } + + /** + * Returns the number of all matches of the pattern that conform to the given fixed values of some parameters. + * @param pA the fixed value of pattern parameter a, or null if not bound. + * @param pB the fixed value of pattern parameter b, or null if not bound. + * @return the number of pattern matches found. + * + */ + public int countMatches(final EReference pA, final EReference pB) { + return rawCountMatches(new Object[]{pA, pB}); + } + + /** + * Executes the given processor on an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. + * Neither determinism nor randomness of selection is guaranteed. + * @param pA the fixed value of pattern parameter a, or null if not bound. + * @param pB the fixed value of pattern parameter b, or null if not bound. + * @param processor the action that will process the selected match. + * @return true if the pattern has at least one match with the given parameter values, false if the processor was not invoked + * + */ + public boolean forOneArbitraryMatch(final EReference pA, final EReference pB, final Consumer processor) { + return rawForOneArbitraryMatch(new Object[]{pA, pB}, processor); + } + + /** + * Returns a new (partial) match. + * This can be used e.g. to call the matcher with a partial match. + *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. + * @param pA the fixed value of pattern parameter a, or null if not bound. + * @param pB the fixed value of pattern parameter b, or null if not bound. + * @return the (partial) match object. + * + */ + public Opposite.Match newMatch(final EReference pA, final EReference pB) { + return Opposite.Match.newMatch(pA, pB); + } + + /** + * Retrieve the set of values that occur in matches for a. + * @return the Set of all values or empty set if there are no matches + * + */ + protected Stream rawStreamAllValuesOfa(final Object[] parameters) { + return rawStreamAllValues(POSITION_A, parameters).map(EReference.class::cast); + } + + /** + * Retrieve the set of values that occur in matches for a. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOfa() { + return rawStreamAllValuesOfa(emptyArray()).collect(Collectors.toSet()); + } + + /** + * Retrieve the set of values that occur in matches for a. + * @return the Set of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOfa() { + return rawStreamAllValuesOfa(emptyArray()); + } + + /** + * Retrieve the set of values that occur in matches for a. + *

    + * NOTE: It is important not to modify the source model while the stream is being processed. + * If the match set of the pattern changes during processing, the contents of the stream is undefined. + * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. + * + * @return the Stream of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOfa(final Opposite.Match partialMatch) { + return rawStreamAllValuesOfa(partialMatch.toArray()); + } + + /** + * Retrieve the set of values that occur in matches for a. + *

    + * NOTE: It is important not to modify the source model while the stream is being processed. + * If the match set of the pattern changes during processing, the contents of the stream is undefined. + * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. + * + * @return the Stream of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOfa(final EReference pB) { + return rawStreamAllValuesOfa(new Object[]{null, pB}); + } + + /** + * Retrieve the set of values that occur in matches for a. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOfa(final Opposite.Match partialMatch) { + return rawStreamAllValuesOfa(partialMatch.toArray()).collect(Collectors.toSet()); + } + + /** + * Retrieve the set of values that occur in matches for a. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOfa(final EReference pB) { + return rawStreamAllValuesOfa(new Object[]{null, pB}).collect(Collectors.toSet()); + } + + /** + * Retrieve the set of values that occur in matches for b. + * @return the Set of all values or empty set if there are no matches + * + */ + protected Stream rawStreamAllValuesOfb(final Object[] parameters) { + return rawStreamAllValues(POSITION_B, parameters).map(EReference.class::cast); + } + + /** + * Retrieve the set of values that occur in matches for b. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOfb() { + return rawStreamAllValuesOfb(emptyArray()).collect(Collectors.toSet()); + } + + /** + * Retrieve the set of values that occur in matches for b. + * @return the Set of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOfb() { + return rawStreamAllValuesOfb(emptyArray()); + } + + /** + * Retrieve the set of values that occur in matches for b. + *

    + * NOTE: It is important not to modify the source model while the stream is being processed. + * If the match set of the pattern changes during processing, the contents of the stream is undefined. + * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. + * + * @return the Stream of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOfb(final Opposite.Match partialMatch) { + return rawStreamAllValuesOfb(partialMatch.toArray()); + } + + /** + * Retrieve the set of values that occur in matches for b. + *

    + * NOTE: It is important not to modify the source model while the stream is being processed. + * If the match set of the pattern changes during processing, the contents of the stream is undefined. + * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. + * + * @return the Stream of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOfb(final EReference pA) { + return rawStreamAllValuesOfb(new Object[]{pA, null}); + } + + /** + * Retrieve the set of values that occur in matches for b. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOfb(final Opposite.Match partialMatch) { + return rawStreamAllValuesOfb(partialMatch.toArray()).collect(Collectors.toSet()); + } + + /** + * Retrieve the set of values that occur in matches for b. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOfb(final EReference pA) { + return rawStreamAllValuesOfb(new Object[]{pA, null}).collect(Collectors.toSet()); + } + + @Override + protected Opposite.Match tupleToMatch(final Tuple t) { + try { + return Opposite.Match.newMatch((EReference) t.get(POSITION_A), (EReference) t.get(POSITION_B)); + } catch(ClassCastException e) { + LOGGER.error("Element(s) in tuple not properly typed!",e); + return null; + } + } + + @Override + protected Opposite.Match arrayToMatch(final Object[] match) { + try { + return Opposite.Match.newMatch((EReference) match[POSITION_A], (EReference) match[POSITION_B]); + } catch(ClassCastException e) { + LOGGER.error("Element(s) in array not properly typed!",e); + return null; + } + } + + @Override + protected Opposite.Match arrayToMatchMutable(final Object[] match) { + try { + return Opposite.Match.newMutableMatch((EReference) match[POSITION_A], (EReference) match[POSITION_B]); + } catch(ClassCastException e) { + LOGGER.error("Element(s) in array not properly typed!",e); + return null; + } + } + + /** + * @return the singleton instance of the query specification of this pattern + * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded + * + */ + public static IQuerySpecification querySpecification() { + return Opposite.instance(); + } + } + + private Opposite() { + super(GeneratedPQuery.INSTANCE); + } + + /** + * @return the singleton instance of the query specification + * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded + * + */ + public static Opposite instance() { + try{ + return LazyHolder.INSTANCE; + } catch (ExceptionInInitializerError err) { + throw processInitializerError(err); + } + } + + @Override + protected Opposite.Matcher instantiate(final ViatraQueryEngine engine) { + return Opposite.Matcher.on(engine); + } + + @Override + public Opposite.Matcher instantiate() { + return Opposite.Matcher.create(); + } + + @Override + public Opposite.Match newEmptyMatch() { + return Opposite.Match.newEmptyMatch(); + } + + @Override + public Opposite.Match newMatch(final Object... parameters) { + return Opposite.Match.newMatch((org.eclipse.emf.ecore.EReference) parameters[0], (org.eclipse.emf.ecore.EReference) parameters[1]); + } + + /** + * Inner class allowing the singleton instance of {@link Opposite} to be created + * not at the class load time of the outer class, + * but rather at the first call to {@link Opposite#instance()}. + * + *

    This workaround is required e.g. to support recursion. + * + */ + private static class LazyHolder { + private static final Opposite INSTANCE = new Opposite(); + + /** + * Statically initializes the query specification after the field {@link #INSTANCE} is assigned. + * This initialization order is required to support indirect recursion. + * + *

    The static initializer is defined using a helper field to work around limitations of the code generator. + * + */ + private static final Object STATIC_INITIALIZER = ensureInitialized(); + + public static Object ensureInitialized() { + INSTANCE.ensureInitializedInternal(); + return null; + } + } + + private static class GeneratedPQuery extends BaseGeneratedEMFPQuery { + private static final Opposite.GeneratedPQuery INSTANCE = new GeneratedPQuery(); + + private final PParameter parameter_a = new PParameter("a", "org.eclipse.emf.ecore.EReference", new EClassTransitiveInstancesKey((EClass)getClassifierLiteralSafe("http://www.eclipse.org/emf/2002/Ecore", "EReference")), PParameterDirection.INOUT); + + private final PParameter parameter_b = new PParameter("b", "org.eclipse.emf.ecore.EReference", new EClassTransitiveInstancesKey((EClass)getClassifierLiteralSafe("http://www.eclipse.org/emf/2002/Ecore", "EReference")), PParameterDirection.INOUT); + + private final List parameters = Arrays.asList(parameter_a, parameter_b); + + private GeneratedPQuery() { + super(PVisibility.PUBLIC); + } + + @Override + public String getFullyQualifiedName() { + return "hu.bme.mit.inf.dslreasoner.domains.alloyexamples.opposite"; + } + + @Override + public List getParameterNames() { + return Arrays.asList("a","b"); + } + + @Override + public List getParameters() { + return parameters; + } + + @Override + public Set doGetContainedBodies() { + setEvaluationHints(new QueryEvaluationHint(null, QueryEvaluationHint.BackendRequirement.UNSPECIFIED)); + Set bodies = new LinkedHashSet<>(); + { + PBody body = new PBody(this); + PVariable var_a = body.getOrCreateVariableByName("a"); + PVariable var_b = body.getOrCreateVariableByName("b"); + new TypeConstraint(body, Tuples.flatTupleOf(var_a), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.eclipse.org/emf/2002/Ecore", "EReference"))); + new TypeConstraint(body, Tuples.flatTupleOf(var_b), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.eclipse.org/emf/2002/Ecore", "EReference"))); + body.setSymbolicParameters(Arrays.asList( + new ExportedParameter(body, var_a, parameter_a), + new ExportedParameter(body, var_b, parameter_b) + )); + // EReference.eOpposite(a,b) + new TypeConstraint(body, Tuples.flatTupleOf(var_a), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.eclipse.org/emf/2002/Ecore", "EReference"))); + PVariable var__virtual_0_ = body.getOrCreateVariableByName(".virtual{0}"); + new TypeConstraint(body, Tuples.flatTupleOf(var_a, var__virtual_0_), new EStructuralFeatureInstancesKey(getFeatureLiteral("http://www.eclipse.org/emf/2002/Ecore", "EReference", "eOpposite"))); + new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_0_), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.eclipse.org/emf/2002/Ecore", "EReference"))); + new Equality(body, var__virtual_0_, var_b); + bodies.add(body); + } + return bodies; + } + } +} diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.alloyexamples/src-gen/hu/bme/mit/inf/dslreasoner/domains/alloyexamples/OppositeDifferentClass.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.alloyexamples/src-gen/hu/bme/mit/inf/dslreasoner/domains/alloyexamples/OppositeDifferentClass.java new file mode 100644 index 00000000..aca12eca --- /dev/null +++ b/Domains/hu.bme.mit.inf.dslreasoner.domains.alloyexamples/src-gen/hu/bme/mit/inf/dslreasoner/domains/alloyexamples/OppositeDifferentClass.java @@ -0,0 +1,587 @@ +/** + * Generated from platform:/resource/hu.bme.mit.inf.dslreasoner.domains.alloyexamples/patterns/hu/bme/mit/inf/dslreasoner/domains/alloyexamples/Ecore.vql + */ +package hu.bme.mit.inf.dslreasoner.domains.alloyexamples; + +import java.util.Arrays; +import java.util.Collection; +import java.util.LinkedHashSet; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import java.util.Set; +import java.util.function.Consumer; +import java.util.stream.Collectors; +import java.util.stream.Stream; +import org.apache.log4j.Logger; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EReference; +import org.eclipse.viatra.query.runtime.api.IPatternMatch; +import org.eclipse.viatra.query.runtime.api.IQuerySpecification; +import org.eclipse.viatra.query.runtime.api.ViatraQueryEngine; +import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFPQuery; +import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFQuerySpecification; +import org.eclipse.viatra.query.runtime.api.impl.BaseMatcher; +import org.eclipse.viatra.query.runtime.api.impl.BasePatternMatch; +import org.eclipse.viatra.query.runtime.emf.types.EClassTransitiveInstancesKey; +import org.eclipse.viatra.query.runtime.emf.types.EStructuralFeatureInstancesKey; +import org.eclipse.viatra.query.runtime.matchers.backend.QueryEvaluationHint; +import org.eclipse.viatra.query.runtime.matchers.psystem.PBody; +import org.eclipse.viatra.query.runtime.matchers.psystem.PVariable; +import org.eclipse.viatra.query.runtime.matchers.psystem.annotations.PAnnotation; +import org.eclipse.viatra.query.runtime.matchers.psystem.annotations.ParameterReference; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.Equality; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.ExportedParameter; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.Inequality; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicenumerables.TypeConstraint; +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameter; +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameterDirection; +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PVisibility; +import org.eclipse.viatra.query.runtime.matchers.tuple.Tuple; +import org.eclipse.viatra.query.runtime.matchers.tuple.Tuples; +import org.eclipse.viatra.query.runtime.util.ViatraQueryLoggingUtil; + +/** + * A pattern-specific query specification that can instantiate Matcher in a type-safe way. + * + *

    Original source: + *

    + *         {@literal @}Constraint(key={a}, severity="error", message="error")
    + *         pattern oppositeDifferentClass(a:EReference) {
    + *         	EReference.eOpposite(a,b);
    + *         	EReference.eContainingClass(a,aContaining);
    + *         	EReference.eType(b,bTarget);
    + *         	aContaining != bTarget;
    + *         }
    + * 
    + * + * @see Matcher + * @see Match + * + */ +@SuppressWarnings("all") +public final class OppositeDifferentClass extends BaseGeneratedEMFQuerySpecification { + /** + * Pattern-specific match representation of the hu.bme.mit.inf.dslreasoner.domains.alloyexamples.oppositeDifferentClass pattern, + * to be used in conjunction with {@link Matcher}. + * + *

    Class fields correspond to parameters of the pattern. Fields with value null are considered unassigned. + * Each instance is a (possibly partial) substitution of pattern parameters, + * usable to represent a match of the pattern in the result of a query, + * or to specify the bound (fixed) input parameters when issuing a query. + * + * @see Matcher + * + */ + public static abstract class Match extends BasePatternMatch { + private EReference fA; + + private static List parameterNames = makeImmutableList("a"); + + private Match(final EReference pA) { + this.fA = pA; + } + + @Override + public Object get(final String parameterName) { + switch(parameterName) { + case "a": return this.fA; + default: return null; + } + } + + @Override + public Object get(final int index) { + switch(index) { + case 0: return this.fA; + default: return null; + } + } + + public EReference getA() { + return this.fA; + } + + @Override + public boolean set(final String parameterName, final Object newValue) { + if (!isMutable()) throw new java.lang.UnsupportedOperationException(); + if ("a".equals(parameterName) ) { + this.fA = (EReference) newValue; + return true; + } + return false; + } + + public void setA(final EReference pA) { + if (!isMutable()) throw new java.lang.UnsupportedOperationException(); + this.fA = pA; + } + + @Override + public String patternName() { + return "hu.bme.mit.inf.dslreasoner.domains.alloyexamples.oppositeDifferentClass"; + } + + @Override + public List parameterNames() { + return OppositeDifferentClass.Match.parameterNames; + } + + @Override + public Object[] toArray() { + return new Object[]{fA}; + } + + @Override + public OppositeDifferentClass.Match toImmutable() { + return isMutable() ? newMatch(fA) : this; + } + + @Override + public String prettyPrint() { + StringBuilder result = new StringBuilder(); + result.append("\"a\"=" + prettyPrintValue(fA)); + return result.toString(); + } + + @Override + public int hashCode() { + return Objects.hash(fA); + } + + @Override + public boolean equals(final Object obj) { + if (this == obj) + return true; + if (obj == null) { + return false; + } + if ((obj instanceof OppositeDifferentClass.Match)) { + OppositeDifferentClass.Match other = (OppositeDifferentClass.Match) obj; + return Objects.equals(fA, other.fA); + } else { + // this should be infrequent + if (!(obj instanceof IPatternMatch)) { + return false; + } + IPatternMatch otherSig = (IPatternMatch) obj; + return Objects.equals(specification(), otherSig.specification()) && Arrays.deepEquals(toArray(), otherSig.toArray()); + } + } + + @Override + public OppositeDifferentClass specification() { + return OppositeDifferentClass.instance(); + } + + /** + * Returns an empty, mutable match. + * Fields of the mutable match can be filled to create a partial match, usable as matcher input. + * + * @return the empty match. + * + */ + public static OppositeDifferentClass.Match newEmptyMatch() { + return new Mutable(null); + } + + /** + * Returns a mutable (partial) match. + * Fields of the mutable match can be filled to create a partial match, usable as matcher input. + * + * @param pA the fixed value of pattern parameter a, or null if not bound. + * @return the new, mutable (partial) match object. + * + */ + public static OppositeDifferentClass.Match newMutableMatch(final EReference pA) { + return new Mutable(pA); + } + + /** + * Returns a new (partial) match. + * This can be used e.g. to call the matcher with a partial match. + *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. + * @param pA the fixed value of pattern parameter a, or null if not bound. + * @return the (partial) match object. + * + */ + public static OppositeDifferentClass.Match newMatch(final EReference pA) { + return new Immutable(pA); + } + + private static final class Mutable extends OppositeDifferentClass.Match { + Mutable(final EReference pA) { + super(pA); + } + + @Override + public boolean isMutable() { + return true; + } + } + + private static final class Immutable extends OppositeDifferentClass.Match { + Immutable(final EReference pA) { + super(pA); + } + + @Override + public boolean isMutable() { + return false; + } + } + } + + /** + * Generated pattern matcher API of the hu.bme.mit.inf.dslreasoner.domains.alloyexamples.oppositeDifferentClass pattern, + * providing pattern-specific query methods. + * + *

    Use the pattern matcher on a given model via {@link #on(ViatraQueryEngine)}, + * e.g. in conjunction with {@link ViatraQueryEngine#on(QueryScope)}. + * + *

    Matches of the pattern will be represented as {@link Match}. + * + *

    Original source: + *

    +   * {@literal @}Constraint(key={a}, severity="error", message="error")
    +   * pattern oppositeDifferentClass(a:EReference) {
    +   * 	EReference.eOpposite(a,b);
    +   * 	EReference.eContainingClass(a,aContaining);
    +   * 	EReference.eType(b,bTarget);
    +   * 	aContaining != bTarget;
    +   * }
    +   * 
    + * + * @see Match + * @see OppositeDifferentClass + * + */ + public static class Matcher extends BaseMatcher { + /** + * Initializes the pattern matcher within an existing VIATRA Query engine. + * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. + * + * @param engine the existing VIATRA Query engine in which this matcher will be created. + * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation + * + */ + public static OppositeDifferentClass.Matcher on(final ViatraQueryEngine engine) { + // check if matcher already exists + Matcher matcher = engine.getExistingMatcher(querySpecification()); + if (matcher == null) { + matcher = (Matcher)engine.getMatcher(querySpecification()); + } + return matcher; + } + + /** + * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation + * @return an initialized matcher + * @noreference This method is for internal matcher initialization by the framework, do not call it manually. + * + */ + public static OppositeDifferentClass.Matcher create() { + return new Matcher(); + } + + private static final int POSITION_A = 0; + + private static final Logger LOGGER = ViatraQueryLoggingUtil.getLogger(OppositeDifferentClass.Matcher.class); + + /** + * Initializes the pattern matcher within an existing VIATRA Query engine. + * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. + * + * @param engine the existing VIATRA Query engine in which this matcher will be created. + * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation + * + */ + private Matcher() { + super(querySpecification()); + } + + /** + * Returns the set of all matches of the pattern that conform to the given fixed values of some parameters. + * @param pA the fixed value of pattern parameter a, or null if not bound. + * @return matches represented as a Match object. + * + */ + public Collection getAllMatches(final EReference pA) { + return rawStreamAllMatches(new Object[]{pA}).collect(Collectors.toSet()); + } + + /** + * Returns a stream of all matches of the pattern that conform to the given fixed values of some parameters. + *

    + * NOTE: It is important not to modify the source model while the stream is being processed. + * If the match set of the pattern changes during processing, the contents of the stream is undefined. + * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. + * @param pA the fixed value of pattern parameter a, or null if not bound. + * @return a stream of matches represented as a Match object. + * + */ + public Stream streamAllMatches(final EReference pA) { + return rawStreamAllMatches(new Object[]{pA}); + } + + /** + * Returns an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. + * Neither determinism nor randomness of selection is guaranteed. + * @param pA the fixed value of pattern parameter a, or null if not bound. + * @return a match represented as a Match object, or null if no match is found. + * + */ + public Optional getOneArbitraryMatch(final EReference pA) { + return rawGetOneArbitraryMatch(new Object[]{pA}); + } + + /** + * Indicates whether the given combination of specified pattern parameters constitute a valid pattern match, + * under any possible substitution of the unspecified parameters (if any). + * @param pA the fixed value of pattern parameter a, or null if not bound. + * @return true if the input is a valid (partial) match of the pattern. + * + */ + public boolean hasMatch(final EReference pA) { + return rawHasMatch(new Object[]{pA}); + } + + /** + * Returns the number of all matches of the pattern that conform to the given fixed values of some parameters. + * @param pA the fixed value of pattern parameter a, or null if not bound. + * @return the number of pattern matches found. + * + */ + public int countMatches(final EReference pA) { + return rawCountMatches(new Object[]{pA}); + } + + /** + * Executes the given processor on an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. + * Neither determinism nor randomness of selection is guaranteed. + * @param pA the fixed value of pattern parameter a, or null if not bound. + * @param processor the action that will process the selected match. + * @return true if the pattern has at least one match with the given parameter values, false if the processor was not invoked + * + */ + public boolean forOneArbitraryMatch(final EReference pA, final Consumer processor) { + return rawForOneArbitraryMatch(new Object[]{pA}, processor); + } + + /** + * Returns a new (partial) match. + * This can be used e.g. to call the matcher with a partial match. + *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. + * @param pA the fixed value of pattern parameter a, or null if not bound. + * @return the (partial) match object. + * + */ + public OppositeDifferentClass.Match newMatch(final EReference pA) { + return OppositeDifferentClass.Match.newMatch(pA); + } + + /** + * Retrieve the set of values that occur in matches for a. + * @return the Set of all values or empty set if there are no matches + * + */ + protected Stream rawStreamAllValuesOfa(final Object[] parameters) { + return rawStreamAllValues(POSITION_A, parameters).map(EReference.class::cast); + } + + /** + * Retrieve the set of values that occur in matches for a. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOfa() { + return rawStreamAllValuesOfa(emptyArray()).collect(Collectors.toSet()); + } + + /** + * Retrieve the set of values that occur in matches for a. + * @return the Set of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOfa() { + return rawStreamAllValuesOfa(emptyArray()); + } + + @Override + protected OppositeDifferentClass.Match tupleToMatch(final Tuple t) { + try { + return OppositeDifferentClass.Match.newMatch((EReference) t.get(POSITION_A)); + } catch(ClassCastException e) { + LOGGER.error("Element(s) in tuple not properly typed!",e); + return null; + } + } + + @Override + protected OppositeDifferentClass.Match arrayToMatch(final Object[] match) { + try { + return OppositeDifferentClass.Match.newMatch((EReference) match[POSITION_A]); + } catch(ClassCastException e) { + LOGGER.error("Element(s) in array not properly typed!",e); + return null; + } + } + + @Override + protected OppositeDifferentClass.Match arrayToMatchMutable(final Object[] match) { + try { + return OppositeDifferentClass.Match.newMutableMatch((EReference) match[POSITION_A]); + } catch(ClassCastException e) { + LOGGER.error("Element(s) in array not properly typed!",e); + return null; + } + } + + /** + * @return the singleton instance of the query specification of this pattern + * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded + * + */ + public static IQuerySpecification querySpecification() { + return OppositeDifferentClass.instance(); + } + } + + private OppositeDifferentClass() { + super(GeneratedPQuery.INSTANCE); + } + + /** + * @return the singleton instance of the query specification + * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded + * + */ + public static OppositeDifferentClass instance() { + try{ + return LazyHolder.INSTANCE; + } catch (ExceptionInInitializerError err) { + throw processInitializerError(err); + } + } + + @Override + protected OppositeDifferentClass.Matcher instantiate(final ViatraQueryEngine engine) { + return OppositeDifferentClass.Matcher.on(engine); + } + + @Override + public OppositeDifferentClass.Matcher instantiate() { + return OppositeDifferentClass.Matcher.create(); + } + + @Override + public OppositeDifferentClass.Match newEmptyMatch() { + return OppositeDifferentClass.Match.newEmptyMatch(); + } + + @Override + public OppositeDifferentClass.Match newMatch(final Object... parameters) { + return OppositeDifferentClass.Match.newMatch((org.eclipse.emf.ecore.EReference) parameters[0]); + } + + /** + * Inner class allowing the singleton instance of {@link OppositeDifferentClass} to be created + * not at the class load time of the outer class, + * but rather at the first call to {@link OppositeDifferentClass#instance()}. + * + *

    This workaround is required e.g. to support recursion. + * + */ + private static class LazyHolder { + private static final OppositeDifferentClass INSTANCE = new OppositeDifferentClass(); + + /** + * Statically initializes the query specification after the field {@link #INSTANCE} is assigned. + * This initialization order is required to support indirect recursion. + * + *

    The static initializer is defined using a helper field to work around limitations of the code generator. + * + */ + private static final Object STATIC_INITIALIZER = ensureInitialized(); + + public static Object ensureInitialized() { + INSTANCE.ensureInitializedInternal(); + return null; + } + } + + private static class GeneratedPQuery extends BaseGeneratedEMFPQuery { + private static final OppositeDifferentClass.GeneratedPQuery INSTANCE = new GeneratedPQuery(); + + private final PParameter parameter_a = new PParameter("a", "org.eclipse.emf.ecore.EReference", new EClassTransitiveInstancesKey((EClass)getClassifierLiteralSafe("http://www.eclipse.org/emf/2002/Ecore", "EReference")), PParameterDirection.INOUT); + + private final List parameters = Arrays.asList(parameter_a); + + private GeneratedPQuery() { + super(PVisibility.PUBLIC); + } + + @Override + public String getFullyQualifiedName() { + return "hu.bme.mit.inf.dslreasoner.domains.alloyexamples.oppositeDifferentClass"; + } + + @Override + public List getParameterNames() { + return Arrays.asList("a"); + } + + @Override + public List getParameters() { + return parameters; + } + + @Override + public Set doGetContainedBodies() { + setEvaluationHints(new QueryEvaluationHint(null, QueryEvaluationHint.BackendRequirement.UNSPECIFIED)); + Set bodies = new LinkedHashSet<>(); + { + PBody body = new PBody(this); + PVariable var_a = body.getOrCreateVariableByName("a"); + PVariable var_b = body.getOrCreateVariableByName("b"); + PVariable var_aContaining = body.getOrCreateVariableByName("aContaining"); + PVariable var_bTarget = body.getOrCreateVariableByName("bTarget"); + new TypeConstraint(body, Tuples.flatTupleOf(var_a), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.eclipse.org/emf/2002/Ecore", "EReference"))); + body.setSymbolicParameters(Arrays.asList( + new ExportedParameter(body, var_a, parameter_a) + )); + // EReference.eOpposite(a,b) + new TypeConstraint(body, Tuples.flatTupleOf(var_a), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.eclipse.org/emf/2002/Ecore", "EReference"))); + PVariable var__virtual_0_ = body.getOrCreateVariableByName(".virtual{0}"); + new TypeConstraint(body, Tuples.flatTupleOf(var_a, var__virtual_0_), new EStructuralFeatureInstancesKey(getFeatureLiteral("http://www.eclipse.org/emf/2002/Ecore", "EReference", "eOpposite"))); + new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_0_), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.eclipse.org/emf/2002/Ecore", "EReference"))); + new Equality(body, var__virtual_0_, var_b); + // EReference.eContainingClass(a,aContaining) + new TypeConstraint(body, Tuples.flatTupleOf(var_a), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.eclipse.org/emf/2002/Ecore", "EReference"))); + PVariable var__virtual_1_ = body.getOrCreateVariableByName(".virtual{1}"); + new TypeConstraint(body, Tuples.flatTupleOf(var_a, var__virtual_1_), new EStructuralFeatureInstancesKey(getFeatureLiteral("http://www.eclipse.org/emf/2002/Ecore", "EStructuralFeature", "eContainingClass"))); + new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_1_), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.eclipse.org/emf/2002/Ecore", "EClass"))); + new Equality(body, var__virtual_1_, var_aContaining); + // EReference.eType(b,bTarget) + new TypeConstraint(body, Tuples.flatTupleOf(var_b), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.eclipse.org/emf/2002/Ecore", "EReference"))); + PVariable var__virtual_2_ = body.getOrCreateVariableByName(".virtual{2}"); + new TypeConstraint(body, Tuples.flatTupleOf(var_b, var__virtual_2_), new EStructuralFeatureInstancesKey(getFeatureLiteral("http://www.eclipse.org/emf/2002/Ecore", "ETypedElement", "eType"))); + new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_2_), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.eclipse.org/emf/2002/Ecore", "EClassifier"))); + new Equality(body, var__virtual_2_, var_bTarget); + // aContaining != bTarget + new Inequality(body, var_aContaining, var_bTarget); + bodies.add(body); + } + { + PAnnotation annotation = new PAnnotation("Constraint"); + annotation.addAttribute("key", Arrays.asList(new Object[] { + new ParameterReference("a") + })); + annotation.addAttribute("severity", "error"); + annotation.addAttribute("message", "error"); + addAnnotation(annotation); + } + return bodies; + } + } +} diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.alloyexamples/src-gen/hu/bme/mit/inf/dslreasoner/domains/alloyexamples/PatternContent.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.alloyexamples/src-gen/hu/bme/mit/inf/dslreasoner/domains/alloyexamples/PatternContent.java new file mode 100644 index 00000000..7c48b978 --- /dev/null +++ b/Domains/hu.bme.mit.inf.dslreasoner.domains.alloyexamples/src-gen/hu/bme/mit/inf/dslreasoner/domains/alloyexamples/PatternContent.java @@ -0,0 +1,704 @@ +/** + * Generated from platform:/resource/hu.bme.mit.inf.dslreasoner.domains.alloyexamples/patterns/hu/bme/mit/inf/dslreasoner/domains/alloyexamples/FileSystem.vql + */ +package hu.bme.mit.inf.dslreasoner.domains.alloyexamples; + +import hu.bme.mit.inf.dslreasoner.domains.alloyexamples.Filesystem.FSObject; +import java.util.Arrays; +import java.util.Collection; +import java.util.LinkedHashSet; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import java.util.Set; +import java.util.function.Consumer; +import java.util.stream.Collectors; +import java.util.stream.Stream; +import org.apache.log4j.Logger; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.viatra.query.runtime.api.IPatternMatch; +import org.eclipse.viatra.query.runtime.api.IQuerySpecification; +import org.eclipse.viatra.query.runtime.api.ViatraQueryEngine; +import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFPQuery; +import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFQuerySpecification; +import org.eclipse.viatra.query.runtime.api.impl.BaseMatcher; +import org.eclipse.viatra.query.runtime.api.impl.BasePatternMatch; +import org.eclipse.viatra.query.runtime.emf.types.EClassTransitiveInstancesKey; +import org.eclipse.viatra.query.runtime.emf.types.EStructuralFeatureInstancesKey; +import org.eclipse.viatra.query.runtime.matchers.backend.QueryEvaluationHint; +import org.eclipse.viatra.query.runtime.matchers.psystem.PBody; +import org.eclipse.viatra.query.runtime.matchers.psystem.PVariable; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.Equality; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.ExportedParameter; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicenumerables.TypeConstraint; +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameter; +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameterDirection; +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PVisibility; +import org.eclipse.viatra.query.runtime.matchers.tuple.Tuple; +import org.eclipse.viatra.query.runtime.matchers.tuple.Tuples; +import org.eclipse.viatra.query.runtime.util.ViatraQueryLoggingUtil; + +/** + * A pattern-specific query specification that can instantiate Matcher in a type-safe way. + * + *

    Original source: + *

    + *         pattern patternContent(o1: FSObject, o2: FSObject) {
    + *         	Dir.contents(o1,o2);
    + *         }
    + * 
    + * + * @see Matcher + * @see Match + * + */ +@SuppressWarnings("all") +public final class PatternContent extends BaseGeneratedEMFQuerySpecification { + /** + * Pattern-specific match representation of the hu.bme.mit.inf.dslreasoner.domains.alloyexamples.patternContent pattern, + * to be used in conjunction with {@link Matcher}. + * + *

    Class fields correspond to parameters of the pattern. Fields with value null are considered unassigned. + * Each instance is a (possibly partial) substitution of pattern parameters, + * usable to represent a match of the pattern in the result of a query, + * or to specify the bound (fixed) input parameters when issuing a query. + * + * @see Matcher + * + */ + public static abstract class Match extends BasePatternMatch { + private FSObject fO1; + + private FSObject fO2; + + private static List parameterNames = makeImmutableList("o1", "o2"); + + private Match(final FSObject pO1, final FSObject pO2) { + this.fO1 = pO1; + this.fO2 = pO2; + } + + @Override + public Object get(final String parameterName) { + switch(parameterName) { + case "o1": return this.fO1; + case "o2": return this.fO2; + default: return null; + } + } + + @Override + public Object get(final int index) { + switch(index) { + case 0: return this.fO1; + case 1: return this.fO2; + default: return null; + } + } + + public FSObject getO1() { + return this.fO1; + } + + public FSObject getO2() { + return this.fO2; + } + + @Override + public boolean set(final String parameterName, final Object newValue) { + if (!isMutable()) throw new java.lang.UnsupportedOperationException(); + if ("o1".equals(parameterName) ) { + this.fO1 = (FSObject) newValue; + return true; + } + if ("o2".equals(parameterName) ) { + this.fO2 = (FSObject) newValue; + return true; + } + return false; + } + + public void setO1(final FSObject pO1) { + if (!isMutable()) throw new java.lang.UnsupportedOperationException(); + this.fO1 = pO1; + } + + public void setO2(final FSObject pO2) { + if (!isMutable()) throw new java.lang.UnsupportedOperationException(); + this.fO2 = pO2; + } + + @Override + public String patternName() { + return "hu.bme.mit.inf.dslreasoner.domains.alloyexamples.patternContent"; + } + + @Override + public List parameterNames() { + return PatternContent.Match.parameterNames; + } + + @Override + public Object[] toArray() { + return new Object[]{fO1, fO2}; + } + + @Override + public PatternContent.Match toImmutable() { + return isMutable() ? newMatch(fO1, fO2) : this; + } + + @Override + public String prettyPrint() { + StringBuilder result = new StringBuilder(); + result.append("\"o1\"=" + prettyPrintValue(fO1) + ", "); + result.append("\"o2\"=" + prettyPrintValue(fO2)); + return result.toString(); + } + + @Override + public int hashCode() { + return Objects.hash(fO1, fO2); + } + + @Override + public boolean equals(final Object obj) { + if (this == obj) + return true; + if (obj == null) { + return false; + } + if ((obj instanceof PatternContent.Match)) { + PatternContent.Match other = (PatternContent.Match) obj; + return Objects.equals(fO1, other.fO1) && Objects.equals(fO2, other.fO2); + } else { + // this should be infrequent + if (!(obj instanceof IPatternMatch)) { + return false; + } + IPatternMatch otherSig = (IPatternMatch) obj; + return Objects.equals(specification(), otherSig.specification()) && Arrays.deepEquals(toArray(), otherSig.toArray()); + } + } + + @Override + public PatternContent specification() { + return PatternContent.instance(); + } + + /** + * Returns an empty, mutable match. + * Fields of the mutable match can be filled to create a partial match, usable as matcher input. + * + * @return the empty match. + * + */ + public static PatternContent.Match newEmptyMatch() { + return new Mutable(null, null); + } + + /** + * Returns a mutable (partial) match. + * Fields of the mutable match can be filled to create a partial match, usable as matcher input. + * + * @param pO1 the fixed value of pattern parameter o1, or null if not bound. + * @param pO2 the fixed value of pattern parameter o2, or null if not bound. + * @return the new, mutable (partial) match object. + * + */ + public static PatternContent.Match newMutableMatch(final FSObject pO1, final FSObject pO2) { + return new Mutable(pO1, pO2); + } + + /** + * Returns a new (partial) match. + * This can be used e.g. to call the matcher with a partial match. + *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. + * @param pO1 the fixed value of pattern parameter o1, or null if not bound. + * @param pO2 the fixed value of pattern parameter o2, or null if not bound. + * @return the (partial) match object. + * + */ + public static PatternContent.Match newMatch(final FSObject pO1, final FSObject pO2) { + return new Immutable(pO1, pO2); + } + + private static final class Mutable extends PatternContent.Match { + Mutable(final FSObject pO1, final FSObject pO2) { + super(pO1, pO2); + } + + @Override + public boolean isMutable() { + return true; + } + } + + private static final class Immutable extends PatternContent.Match { + Immutable(final FSObject pO1, final FSObject pO2) { + super(pO1, pO2); + } + + @Override + public boolean isMutable() { + return false; + } + } + } + + /** + * Generated pattern matcher API of the hu.bme.mit.inf.dslreasoner.domains.alloyexamples.patternContent pattern, + * providing pattern-specific query methods. + * + *

    Use the pattern matcher on a given model via {@link #on(ViatraQueryEngine)}, + * e.g. in conjunction with {@link ViatraQueryEngine#on(QueryScope)}. + * + *

    Matches of the pattern will be represented as {@link Match}. + * + *

    Original source: + *

    +   * pattern patternContent(o1: FSObject, o2: FSObject) {
    +   * 	Dir.contents(o1,o2);
    +   * }
    +   * 
    + * + * @see Match + * @see PatternContent + * + */ + public static class Matcher extends BaseMatcher { + /** + * Initializes the pattern matcher within an existing VIATRA Query engine. + * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. + * + * @param engine the existing VIATRA Query engine in which this matcher will be created. + * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation + * + */ + public static PatternContent.Matcher on(final ViatraQueryEngine engine) { + // check if matcher already exists + Matcher matcher = engine.getExistingMatcher(querySpecification()); + if (matcher == null) { + matcher = (Matcher)engine.getMatcher(querySpecification()); + } + return matcher; + } + + /** + * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation + * @return an initialized matcher + * @noreference This method is for internal matcher initialization by the framework, do not call it manually. + * + */ + public static PatternContent.Matcher create() { + return new Matcher(); + } + + private static final int POSITION_O1 = 0; + + private static final int POSITION_O2 = 1; + + private static final Logger LOGGER = ViatraQueryLoggingUtil.getLogger(PatternContent.Matcher.class); + + /** + * Initializes the pattern matcher within an existing VIATRA Query engine. + * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. + * + * @param engine the existing VIATRA Query engine in which this matcher will be created. + * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation + * + */ + private Matcher() { + super(querySpecification()); + } + + /** + * Returns the set of all matches of the pattern that conform to the given fixed values of some parameters. + * @param pO1 the fixed value of pattern parameter o1, or null if not bound. + * @param pO2 the fixed value of pattern parameter o2, or null if not bound. + * @return matches represented as a Match object. + * + */ + public Collection getAllMatches(final FSObject pO1, final FSObject pO2) { + return rawStreamAllMatches(new Object[]{pO1, pO2}).collect(Collectors.toSet()); + } + + /** + * Returns a stream of all matches of the pattern that conform to the given fixed values of some parameters. + *

    + * NOTE: It is important not to modify the source model while the stream is being processed. + * If the match set of the pattern changes during processing, the contents of the stream is undefined. + * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. + * @param pO1 the fixed value of pattern parameter o1, or null if not bound. + * @param pO2 the fixed value of pattern parameter o2, or null if not bound. + * @return a stream of matches represented as a Match object. + * + */ + public Stream streamAllMatches(final FSObject pO1, final FSObject pO2) { + return rawStreamAllMatches(new Object[]{pO1, pO2}); + } + + /** + * Returns an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. + * Neither determinism nor randomness of selection is guaranteed. + * @param pO1 the fixed value of pattern parameter o1, or null if not bound. + * @param pO2 the fixed value of pattern parameter o2, or null if not bound. + * @return a match represented as a Match object, or null if no match is found. + * + */ + public Optional getOneArbitraryMatch(final FSObject pO1, final FSObject pO2) { + return rawGetOneArbitraryMatch(new Object[]{pO1, pO2}); + } + + /** + * Indicates whether the given combination of specified pattern parameters constitute a valid pattern match, + * under any possible substitution of the unspecified parameters (if any). + * @param pO1 the fixed value of pattern parameter o1, or null if not bound. + * @param pO2 the fixed value of pattern parameter o2, or null if not bound. + * @return true if the input is a valid (partial) match of the pattern. + * + */ + public boolean hasMatch(final FSObject pO1, final FSObject pO2) { + return rawHasMatch(new Object[]{pO1, pO2}); + } + + /** + * Returns the number of all matches of the pattern that conform to the given fixed values of some parameters. + * @param pO1 the fixed value of pattern parameter o1, or null if not bound. + * @param pO2 the fixed value of pattern parameter o2, or null if not bound. + * @return the number of pattern matches found. + * + */ + public int countMatches(final FSObject pO1, final FSObject pO2) { + return rawCountMatches(new Object[]{pO1, pO2}); + } + + /** + * Executes the given processor on an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. + * Neither determinism nor randomness of selection is guaranteed. + * @param pO1 the fixed value of pattern parameter o1, or null if not bound. + * @param pO2 the fixed value of pattern parameter o2, or null if not bound. + * @param processor the action that will process the selected match. + * @return true if the pattern has at least one match with the given parameter values, false if the processor was not invoked + * + */ + public boolean forOneArbitraryMatch(final FSObject pO1, final FSObject pO2, final Consumer processor) { + return rawForOneArbitraryMatch(new Object[]{pO1, pO2}, processor); + } + + /** + * Returns a new (partial) match. + * This can be used e.g. to call the matcher with a partial match. + *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. + * @param pO1 the fixed value of pattern parameter o1, or null if not bound. + * @param pO2 the fixed value of pattern parameter o2, or null if not bound. + * @return the (partial) match object. + * + */ + public PatternContent.Match newMatch(final FSObject pO1, final FSObject pO2) { + return PatternContent.Match.newMatch(pO1, pO2); + } + + /** + * Retrieve the set of values that occur in matches for o1. + * @return the Set of all values or empty set if there are no matches + * + */ + protected Stream rawStreamAllValuesOfo1(final Object[] parameters) { + return rawStreamAllValues(POSITION_O1, parameters).map(FSObject.class::cast); + } + + /** + * Retrieve the set of values that occur in matches for o1. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOfo1() { + return rawStreamAllValuesOfo1(emptyArray()).collect(Collectors.toSet()); + } + + /** + * Retrieve the set of values that occur in matches for o1. + * @return the Set of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOfo1() { + return rawStreamAllValuesOfo1(emptyArray()); + } + + /** + * Retrieve the set of values that occur in matches for o1. + *

    + * NOTE: It is important not to modify the source model while the stream is being processed. + * If the match set of the pattern changes during processing, the contents of the stream is undefined. + * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. + * + * @return the Stream of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOfo1(final PatternContent.Match partialMatch) { + return rawStreamAllValuesOfo1(partialMatch.toArray()); + } + + /** + * Retrieve the set of values that occur in matches for o1. + *

    + * NOTE: It is important not to modify the source model while the stream is being processed. + * If the match set of the pattern changes during processing, the contents of the stream is undefined. + * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. + * + * @return the Stream of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOfo1(final FSObject pO2) { + return rawStreamAllValuesOfo1(new Object[]{null, pO2}); + } + + /** + * Retrieve the set of values that occur in matches for o1. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOfo1(final PatternContent.Match partialMatch) { + return rawStreamAllValuesOfo1(partialMatch.toArray()).collect(Collectors.toSet()); + } + + /** + * Retrieve the set of values that occur in matches for o1. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOfo1(final FSObject pO2) { + return rawStreamAllValuesOfo1(new Object[]{null, pO2}).collect(Collectors.toSet()); + } + + /** + * Retrieve the set of values that occur in matches for o2. + * @return the Set of all values or empty set if there are no matches + * + */ + protected Stream rawStreamAllValuesOfo2(final Object[] parameters) { + return rawStreamAllValues(POSITION_O2, parameters).map(FSObject.class::cast); + } + + /** + * Retrieve the set of values that occur in matches for o2. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOfo2() { + return rawStreamAllValuesOfo2(emptyArray()).collect(Collectors.toSet()); + } + + /** + * Retrieve the set of values that occur in matches for o2. + * @return the Set of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOfo2() { + return rawStreamAllValuesOfo2(emptyArray()); + } + + /** + * Retrieve the set of values that occur in matches for o2. + *

    + * NOTE: It is important not to modify the source model while the stream is being processed. + * If the match set of the pattern changes during processing, the contents of the stream is undefined. + * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. + * + * @return the Stream of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOfo2(final PatternContent.Match partialMatch) { + return rawStreamAllValuesOfo2(partialMatch.toArray()); + } + + /** + * Retrieve the set of values that occur in matches for o2. + *

    + * NOTE: It is important not to modify the source model while the stream is being processed. + * If the match set of the pattern changes during processing, the contents of the stream is undefined. + * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. + * + * @return the Stream of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOfo2(final FSObject pO1) { + return rawStreamAllValuesOfo2(new Object[]{pO1, null}); + } + + /** + * Retrieve the set of values that occur in matches for o2. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOfo2(final PatternContent.Match partialMatch) { + return rawStreamAllValuesOfo2(partialMatch.toArray()).collect(Collectors.toSet()); + } + + /** + * Retrieve the set of values that occur in matches for o2. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOfo2(final FSObject pO1) { + return rawStreamAllValuesOfo2(new Object[]{pO1, null}).collect(Collectors.toSet()); + } + + @Override + protected PatternContent.Match tupleToMatch(final Tuple t) { + try { + return PatternContent.Match.newMatch((FSObject) t.get(POSITION_O1), (FSObject) t.get(POSITION_O2)); + } catch(ClassCastException e) { + LOGGER.error("Element(s) in tuple not properly typed!",e); + return null; + } + } + + @Override + protected PatternContent.Match arrayToMatch(final Object[] match) { + try { + return PatternContent.Match.newMatch((FSObject) match[POSITION_O1], (FSObject) match[POSITION_O2]); + } catch(ClassCastException e) { + LOGGER.error("Element(s) in array not properly typed!",e); + return null; + } + } + + @Override + protected PatternContent.Match arrayToMatchMutable(final Object[] match) { + try { + return PatternContent.Match.newMutableMatch((FSObject) match[POSITION_O1], (FSObject) match[POSITION_O2]); + } catch(ClassCastException e) { + LOGGER.error("Element(s) in array not properly typed!",e); + return null; + } + } + + /** + * @return the singleton instance of the query specification of this pattern + * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded + * + */ + public static IQuerySpecification querySpecification() { + return PatternContent.instance(); + } + } + + private PatternContent() { + super(GeneratedPQuery.INSTANCE); + } + + /** + * @return the singleton instance of the query specification + * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded + * + */ + public static PatternContent instance() { + try{ + return LazyHolder.INSTANCE; + } catch (ExceptionInInitializerError err) { + throw processInitializerError(err); + } + } + + @Override + protected PatternContent.Matcher instantiate(final ViatraQueryEngine engine) { + return PatternContent.Matcher.on(engine); + } + + @Override + public PatternContent.Matcher instantiate() { + return PatternContent.Matcher.create(); + } + + @Override + public PatternContent.Match newEmptyMatch() { + return PatternContent.Match.newEmptyMatch(); + } + + @Override + public PatternContent.Match newMatch(final Object... parameters) { + return PatternContent.Match.newMatch((hu.bme.mit.inf.dslreasoner.domains.alloyexamples.Filesystem.FSObject) parameters[0], (hu.bme.mit.inf.dslreasoner.domains.alloyexamples.Filesystem.FSObject) parameters[1]); + } + + /** + * Inner class allowing the singleton instance of {@link PatternContent} to be created + * not at the class load time of the outer class, + * but rather at the first call to {@link PatternContent#instance()}. + * + *

    This workaround is required e.g. to support recursion. + * + */ + private static class LazyHolder { + private static final PatternContent INSTANCE = new PatternContent(); + + /** + * Statically initializes the query specification after the field {@link #INSTANCE} is assigned. + * This initialization order is required to support indirect recursion. + * + *

    The static initializer is defined using a helper field to work around limitations of the code generator. + * + */ + private static final Object STATIC_INITIALIZER = ensureInitialized(); + + public static Object ensureInitialized() { + INSTANCE.ensureInitializedInternal(); + return null; + } + } + + private static class GeneratedPQuery extends BaseGeneratedEMFPQuery { + private static final PatternContent.GeneratedPQuery INSTANCE = new GeneratedPQuery(); + + private final PParameter parameter_o1 = new PParameter("o1", "hu.bme.mit.inf.dslreasoner.domains.alloyexamples.Filesystem.FSObject", new EClassTransitiveInstancesKey((EClass)getClassifierLiteralSafe("FS", "FSObject")), PParameterDirection.INOUT); + + private final PParameter parameter_o2 = new PParameter("o2", "hu.bme.mit.inf.dslreasoner.domains.alloyexamples.Filesystem.FSObject", new EClassTransitiveInstancesKey((EClass)getClassifierLiteralSafe("FS", "FSObject")), PParameterDirection.INOUT); + + private final List parameters = Arrays.asList(parameter_o1, parameter_o2); + + private GeneratedPQuery() { + super(PVisibility.PUBLIC); + } + + @Override + public String getFullyQualifiedName() { + return "hu.bme.mit.inf.dslreasoner.domains.alloyexamples.patternContent"; + } + + @Override + public List getParameterNames() { + return Arrays.asList("o1","o2"); + } + + @Override + public List getParameters() { + return parameters; + } + + @Override + public Set doGetContainedBodies() { + setEvaluationHints(new QueryEvaluationHint(null, QueryEvaluationHint.BackendRequirement.UNSPECIFIED)); + Set bodies = new LinkedHashSet<>(); + { + PBody body = new PBody(this); + PVariable var_o1 = body.getOrCreateVariableByName("o1"); + PVariable var_o2 = body.getOrCreateVariableByName("o2"); + new TypeConstraint(body, Tuples.flatTupleOf(var_o1), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("FS", "FSObject"))); + new TypeConstraint(body, Tuples.flatTupleOf(var_o2), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("FS", "FSObject"))); + body.setSymbolicParameters(Arrays.asList( + new ExportedParameter(body, var_o1, parameter_o1), + new ExportedParameter(body, var_o2, parameter_o2) + )); + // Dir.contents(o1,o2) + new TypeConstraint(body, Tuples.flatTupleOf(var_o1), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("FS", "Dir"))); + PVariable var__virtual_0_ = body.getOrCreateVariableByName(".virtual{0}"); + new TypeConstraint(body, Tuples.flatTupleOf(var_o1, var__virtual_0_), new EStructuralFeatureInstancesKey(getFeatureLiteral("FS", "Dir", "contents"))); + new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_0_), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("FS", "FSObject"))); + new Equality(body, var__virtual_0_, var_o2); + bodies.add(body); + } + return bodies; + } + } +} diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.yakindu.sgraph/META-INF/MANIFEST.MF b/Domains/hu.bme.mit.inf.dslreasoner.domains.yakindu.sgraph/META-INF/MANIFEST.MF index f15381b2..73ebb2c7 100644 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.yakindu.sgraph/META-INF/MANIFEST.MF +++ b/Domains/hu.bme.mit.inf.dslreasoner.domains.yakindu.sgraph/META-INF/MANIFEST.MF @@ -6,16 +6,16 @@ Bundle-Version: 1.0.0.qualifier Bundle-ClassPath: . Bundle-Vendor: %providerName Bundle-Localization: plugin -Export-Package: hu.bme.mit.inf.dslreasoner.domains.yakindu.sgraph.yakindumm, - hu.bme.mit.inf.dslreasoner.domains.yakindu.sgraph.yakindumm.impl, - hu.bme.mit.inf.dslreasoner.domains.yakindu.sgraph.yakindumm.util, - hu.bme.mit.inf.dslreasoner.partialsnapshot_mavo.yakindu, - hu.bme.mit.inf.dslreasoner.partialsnapshot_mavo.yakindu.mutated, - hu.bme.mit.inf.dslreasoner.partialsnapshot_mavo.yakindu.mutated.util, +Export-Package: hu.bme.mit.inf.dslreasoner.domains.yakindu.sgraph.yakindumm, + hu.bme.mit.inf.dslreasoner.domains.yakindu.sgraph.yakindumm.impl, + hu.bme.mit.inf.dslreasoner.domains.yakindu.sgraph.yakindumm.util, + hu.bme.mit.inf.dslreasoner.partialsnapshot_mavo.yakindu, + hu.bme.mit.inf.dslreasoner.partialsnapshot_mavo.yakindu.mutated, + hu.bme.mit.inf.dslreasoner.partialsnapshot_mavo.yakindu.mutated.util, hu.bme.mit.inf.dslreasoner.partialsnapshot_mavo.yakindu.util -Require-Bundle: org.eclipse.viatra.query.runtime, - org.eclipse.core.runtime, - org.eclipse.emf.ecore;visibility:=reexport, +Require-Bundle: org.eclipse.viatra.query.runtime, + org.eclipse.core.runtime, + org.eclipse.emf.ecore;visibility:=reexport, com.google.guava;bundle-version="15.0.0" Bundle-RequiredExecutionEnvironment: JavaSE-1.8 Bundle-ActivationPolicy: lazy diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.yakindu.sgraph/plugin.xml b/Domains/hu.bme.mit.inf.dslreasoner.domains.yakindu.sgraph/plugin.xml index 8069f168..993ec75d 100644 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.yakindu.sgraph/plugin.xml +++ b/Domains/hu.bme.mit.inf.dslreasoner.domains.yakindu.sgraph/plugin.xml @@ -1,103 +1,103 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/plugin.xml b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/plugin.xml index 413002e2..bad09614 100644 --- a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/plugin.xml +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/plugin.xml @@ -1,27 +1,27 @@ - - - - - - - - - - - - - - - - - - - - - - - - - +--> + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Framework/hu.bme.mit.inf.dslreasoner.viatra2logic/.classpath b/Framework/hu.bme.mit.inf.dslreasoner.viatra2logic/.classpath index a2655410..849e2a7b 100644 --- a/Framework/hu.bme.mit.inf.dslreasoner.viatra2logic/.classpath +++ b/Framework/hu.bme.mit.inf.dslreasoner.viatra2logic/.classpath @@ -1,10 +1,14 @@ - - - - - - - - - - + + + + + + + + + + + + + + diff --git a/Framework/hu.bme.mit.inf.dslreasoner.viatra2logic/.gitignore b/Framework/hu.bme.mit.inf.dslreasoner.viatra2logic/.gitignore index 8ae4e44d..40206e28 100644 --- a/Framework/hu.bme.mit.inf.dslreasoner.viatra2logic/.gitignore +++ b/Framework/hu.bme.mit.inf.dslreasoner.viatra2logic/.gitignore @@ -2,3 +2,4 @@ /src-gen/ /vql-gen/ /xtend-gen/ +/lib/* diff --git a/Framework/hu.bme.mit.inf.dslreasoner.viatra2logic/lib/.gitignore b/Framework/hu.bme.mit.inf.dslreasoner.viatra2logic/lib/.gitignore new file mode 100644 index 00000000..e69de29b diff --git a/Solvers/Alloy-Solver/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/plugin.xml b/Solvers/Alloy-Solver/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/plugin.xml index 5457d70c..e57b595a 100644 --- a/Solvers/Alloy-Solver/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/plugin.xml +++ b/Solvers/Alloy-Solver/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/plugin.xml @@ -1,17 +1,17 @@ - - - - - - - - - - - - - - - +--> + + + + + + + + + + + + + + + diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/plugin.xml b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/plugin.xml index 05e00983..6e4d96ca 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/plugin.xml +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/plugin.xml @@ -1,14 +1,14 @@ - - - - - - - - - - - - - - + + + + + + + + + + + + + + diff --git a/Tests/MODELS2020-CaseStudies/case.study.familyTree.run/bin/.gitignore b/Tests/MODELS2020-CaseStudies/case.study.familyTree.run/bin/.gitignore deleted file mode 100644 index 3d70f0da..00000000 --- a/Tests/MODELS2020-CaseStudies/case.study.familyTree.run/bin/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -/queries/ -/run/ diff --git a/Tests/MODELS2020-CaseStudies/case.study.familyTree.run/bin/queries/.FamilyTreeConstraints.java._trace b/Tests/MODELS2020-CaseStudies/case.study.familyTree.run/bin/queries/.FamilyTreeConstraints.java._trace index 12849bfe..ab0f3a9a 100644 Binary files a/Tests/MODELS2020-CaseStudies/case.study.familyTree.run/bin/queries/.FamilyTreeConstraints.java._trace and b/Tests/MODELS2020-CaseStudies/case.study.familyTree.run/bin/queries/.FamilyTreeConstraints.java._trace differ diff --git a/Tests/MODELS2020-CaseStudies/case.study.familyTree.run/bin/queries/.MemberIsItsOwnParent.java._trace b/Tests/MODELS2020-CaseStudies/case.study.familyTree.run/bin/queries/.MemberIsItsOwnParent.java._trace index 1b0dca98..aaf4d0c2 100644 Binary files a/Tests/MODELS2020-CaseStudies/case.study.familyTree.run/bin/queries/.MemberIsItsOwnParent.java._trace and b/Tests/MODELS2020-CaseStudies/case.study.familyTree.run/bin/queries/.MemberIsItsOwnParent.java._trace differ diff --git a/Tests/MODELS2020-CaseStudies/case.study.familyTree.run/bin/queries/.gitignore b/Tests/MODELS2020-CaseStudies/case.study.familyTree.run/bin/queries/.gitignore new file mode 100644 index 00000000..3be531f5 --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/case.study.familyTree.run/bin/queries/.gitignore @@ -0,0 +1,8 @@ +/.FamilyTreeConstraints.java._trace +/.MemberIsItsOwnParent.java._trace +/FamilyTreeConstraints.java +/MemberIsItsOwnParent.java +/.ParentTooYoung.java._trace +/.MemberHasNoParent.java._trace +/.MemberHasParent.java._trace +/.TwoMembersHaveNoParent.java._trace diff --git a/Tests/MODELS2020-CaseStudies/case.study.familyTree.run/outputs/debug/errors.txt b/Tests/MODELS2020-CaseStudies/case.study.familyTree.run/outputs/debug/errors.txt index b7eed629..637be9c5 100644 --- a/Tests/MODELS2020-CaseStudies/case.study.familyTree.run/outputs/debug/errors.txt +++ b/Tests/MODELS2020-CaseStudies/case.study.familyTree.run/outputs/debug/errors.txt @@ -1,16 +1,16 @@ -Error occured (NullPointerException): - hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.patterns.PConstraintTransformer.hasValueExpression(PConstraintTransformer.java:487) - hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.patterns.PConstraintTransformer._transformConstraint(PConstraintTransformer.java:614) - hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.patterns.PConstraintTransformer.transformConstraint(PConstraintTransformer.java:689) - hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.patterns.RelationDefinitionIndexer.transformPattern(RelationDefinitionIndexer.java:169) - hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.patterns.RelationDefinitionIndexer.generateRelationDefinitions(RelationDefinitionIndexer.java:51) - hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.patterns.PatternGenerator.transformBaseProperties(PatternGenerator.java:747) - hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.patterns.PatternProvider.generateQueries(PatternProvider.java:59) - hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.ModelGenerationMethodProvider.createModelGenerationMethod(ModelGenerationMethodProvider.java:57) - hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.ViatraReasoner.solve(ViatraReasoner.java:96) - hu.bme.mit.inf.dslreasoner.application.execution.GenerationTaskExecutor.executeGenerationTask(GenerationTaskExecutor.java:316) - hu.bme.mit.inf.dslreasoner.application.execution.ScriptExecutor._execute(ScriptExecutor.java:129) - hu.bme.mit.inf.dslreasoner.application.execution.ScriptExecutor.execute(ScriptExecutor.java:338) - hu.bme.mit.inf.dslreasoner.application.execution.ScriptExecutor.executeScript(ScriptExecutor.java:110) - hu.bme.mit.inf.dslreasoner.application.execution.StandaloneScriptExecutor.executeScript(StandaloneScriptExecutor.java:149) - run.FamilyTreeGen.main(FamilyTreeGen.java:7) +Error occured (NullPointerException): + hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.patterns.PConstraintTransformer.hasValueExpression(PConstraintTransformer.java:487) + hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.patterns.PConstraintTransformer._transformConstraint(PConstraintTransformer.java:614) + hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.patterns.PConstraintTransformer.transformConstraint(PConstraintTransformer.java:689) + hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.patterns.RelationDefinitionIndexer.transformPattern(RelationDefinitionIndexer.java:169) + hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.patterns.RelationDefinitionIndexer.generateRelationDefinitions(RelationDefinitionIndexer.java:51) + hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.patterns.PatternGenerator.transformBaseProperties(PatternGenerator.java:747) + hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.patterns.PatternProvider.generateQueries(PatternProvider.java:59) + hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.ModelGenerationMethodProvider.createModelGenerationMethod(ModelGenerationMethodProvider.java:57) + hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.ViatraReasoner.solve(ViatraReasoner.java:96) + hu.bme.mit.inf.dslreasoner.application.execution.GenerationTaskExecutor.executeGenerationTask(GenerationTaskExecutor.java:316) + hu.bme.mit.inf.dslreasoner.application.execution.ScriptExecutor._execute(ScriptExecutor.java:129) + hu.bme.mit.inf.dslreasoner.application.execution.ScriptExecutor.execute(ScriptExecutor.java:338) + hu.bme.mit.inf.dslreasoner.application.execution.ScriptExecutor.executeScript(ScriptExecutor.java:110) + hu.bme.mit.inf.dslreasoner.application.execution.StandaloneScriptExecutor.executeScript(StandaloneScriptExecutor.java:149) + run.FamilyTreeGen.main(FamilyTreeGen.java:7) diff --git a/Tests/MODELS2020-CaseStudies/case.study.familyTree.run/outputs/debug/generation.logicproblem b/Tests/MODELS2020-CaseStudies/case.study.familyTree.run/outputs/debug/generation.logicproblem index 327ce8b0..d15360ce 100644 --- a/Tests/MODELS2020-CaseStudies/case.study.familyTree.run/outputs/debug/generation.logicproblem +++ b/Tests/MODELS2020-CaseStudies/case.study.familyTree.run/outputs/debug/generation.logicproblem @@ -1,340 +1,340 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Tests/MODELS2020-CaseStudies/case.study.familyTree.run/outputs/debug/init.partialmodel b/Tests/MODELS2020-CaseStudies/case.study.familyTree.run/outputs/debug/init.partialmodel index 949d6b64..df908518 100644 --- a/Tests/MODELS2020-CaseStudies/case.study.familyTree.run/outputs/debug/init.partialmodel +++ b/Tests/MODELS2020-CaseStudies/case.study.familyTree.run/outputs/debug/init.partialmodel @@ -1,51 +1,51 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Tests/MODELS2020-CaseStudies/case.study.familyTree.run/outputs/log.txt b/Tests/MODELS2020-CaseStudies/case.study.familyTree.run/outputs/log.txt index 43befb00..1d3c9f62 100644 --- a/Tests/MODELS2020-CaseStudies/case.study.familyTree.run/outputs/log.txt +++ b/Tests/MODELS2020-CaseStudies/case.study.familyTree.run/outputs/log.txt @@ -1 +1 @@ -Model generation started +Model generation started diff --git a/Tests/MODELS2020-CaseStudies/case.study.familyTree.run/plugin.xml b/Tests/MODELS2020-CaseStudies/case.study.familyTree.run/plugin.xml index 9364ebb2..941ef4d7 100644 --- a/Tests/MODELS2020-CaseStudies/case.study.familyTree.run/plugin.xml +++ b/Tests/MODELS2020-CaseStudies/case.study.familyTree.run/plugin.xml @@ -1,10 +1,10 @@ - - - - - - - - - - + + + + + + + + + + diff --git a/Tests/MODELS2020-CaseStudies/case.study.familyTree.run/src-gen/queries/.FamilyTreeConstraints.java._trace b/Tests/MODELS2020-CaseStudies/case.study.familyTree.run/src-gen/queries/.FamilyTreeConstraints.java._trace index 12849bfe..ab0f3a9a 100644 Binary files a/Tests/MODELS2020-CaseStudies/case.study.familyTree.run/src-gen/queries/.FamilyTreeConstraints.java._trace and b/Tests/MODELS2020-CaseStudies/case.study.familyTree.run/src-gen/queries/.FamilyTreeConstraints.java._trace differ diff --git a/Tests/MODELS2020-CaseStudies/case.study.familyTree.run/src-gen/queries/.MemberIsItsOwnParent.java._trace b/Tests/MODELS2020-CaseStudies/case.study.familyTree.run/src-gen/queries/.MemberIsItsOwnParent.java._trace index 1b0dca98..aaf4d0c2 100644 Binary files a/Tests/MODELS2020-CaseStudies/case.study.familyTree.run/src-gen/queries/.MemberIsItsOwnParent.java._trace and b/Tests/MODELS2020-CaseStudies/case.study.familyTree.run/src-gen/queries/.MemberIsItsOwnParent.java._trace differ diff --git a/Tests/MODELS2020-CaseStudies/case.study.familyTree.run/src-gen/queries/FamilyTreeConstraints.java b/Tests/MODELS2020-CaseStudies/case.study.familyTree.run/src-gen/queries/FamilyTreeConstraints.java index 738b41c0..97148b5e 100644 --- a/Tests/MODELS2020-CaseStudies/case.study.familyTree.run/src-gen/queries/FamilyTreeConstraints.java +++ b/Tests/MODELS2020-CaseStudies/case.study.familyTree.run/src-gen/queries/FamilyTreeConstraints.java @@ -1,86 +1,86 @@ -/** - * Generated from platform:/resource/case.study.familyTree.run/src/queries/familyTreeConstraints.vql - */ -package queries; - -import org.eclipse.viatra.query.runtime.api.ViatraQueryEngine; -import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedPatternGroup; -import queries.MemberHasParent; -import queries.MemberIsItsOwnParent; -import queries.ParentTooYoung; -import queries.TwoMembersHaveNoParent; - -/** - * A pattern group formed of all public patterns defined in familyTreeConstraints.vql. - * - *

    Use the static instance as any {@link interface org.eclipse.viatra.query.runtime.api.IQueryGroup}, to conveniently prepare - * a VIATRA Query engine for matching all patterns originally defined in file familyTreeConstraints.vql, - * in order to achieve better performance than one-by-one on-demand matcher initialization. - * - *

    From package queries, the group contains the definition of the following patterns:

      - *
    • memberIsItsOwnParent
    • - *
    • twoMembersHaveNoParent
    • - *
    • memberHasParent
    • - *
    • parentTooYoung
    • - *
    - * - * @see IQueryGroup - * - */ -@SuppressWarnings("all") -public final class FamilyTreeConstraints extends BaseGeneratedPatternGroup { - /** - * Access the pattern group. - * - * @return the singleton instance of the group - * @throws ViatraQueryRuntimeException if there was an error loading the generated code of pattern specifications - * - */ - public static FamilyTreeConstraints instance() { - if (INSTANCE == null) { - INSTANCE = new FamilyTreeConstraints(); - } - return INSTANCE; - } - - private static FamilyTreeConstraints INSTANCE; - - private FamilyTreeConstraints() { - querySpecifications.add(MemberIsItsOwnParent.instance()); - querySpecifications.add(TwoMembersHaveNoParent.instance()); - querySpecifications.add(MemberHasParent.instance()); - querySpecifications.add(ParentTooYoung.instance()); - } - - public MemberIsItsOwnParent getMemberIsItsOwnParent() { - return MemberIsItsOwnParent.instance(); - } - - public MemberIsItsOwnParent.Matcher getMemberIsItsOwnParent(final ViatraQueryEngine engine) { - return MemberIsItsOwnParent.Matcher.on(engine); - } - - public TwoMembersHaveNoParent getTwoMembersHaveNoParent() { - return TwoMembersHaveNoParent.instance(); - } - - public TwoMembersHaveNoParent.Matcher getTwoMembersHaveNoParent(final ViatraQueryEngine engine) { - return TwoMembersHaveNoParent.Matcher.on(engine); - } - - public MemberHasParent getMemberHasParent() { - return MemberHasParent.instance(); - } - - public MemberHasParent.Matcher getMemberHasParent(final ViatraQueryEngine engine) { - return MemberHasParent.Matcher.on(engine); - } - - public ParentTooYoung getParentTooYoung() { - return ParentTooYoung.instance(); - } - - public ParentTooYoung.Matcher getParentTooYoung(final ViatraQueryEngine engine) { - return ParentTooYoung.Matcher.on(engine); - } -} +/** + * Generated from platform:/resource/case.study.familyTree.run/src/queries/familyTreeConstraints.vql + */ +package queries; + +import org.eclipse.viatra.query.runtime.api.ViatraQueryEngine; +import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedPatternGroup; +import queries.MemberHasParent; +import queries.MemberIsItsOwnParent; +import queries.ParentTooYoung; +import queries.TwoMembersHaveNoParent; + +/** + * A pattern group formed of all public patterns defined in familyTreeConstraints.vql. + * + *

    Use the static instance as any {@link interface org.eclipse.viatra.query.runtime.api.IQueryGroup}, to conveniently prepare + * a VIATRA Query engine for matching all patterns originally defined in file familyTreeConstraints.vql, + * in order to achieve better performance than one-by-one on-demand matcher initialization. + * + *

    From package queries, the group contains the definition of the following patterns:

      + *
    • memberIsItsOwnParent
    • + *
    • twoMembersHaveNoParent
    • + *
    • memberHasParent
    • + *
    • parentTooYoung
    • + *
    + * + * @see IQueryGroup + * + */ +@SuppressWarnings("all") +public final class FamilyTreeConstraints extends BaseGeneratedPatternGroup { + /** + * Access the pattern group. + * + * @return the singleton instance of the group + * @throws ViatraQueryRuntimeException if there was an error loading the generated code of pattern specifications + * + */ + public static FamilyTreeConstraints instance() { + if (INSTANCE == null) { + INSTANCE = new FamilyTreeConstraints(); + } + return INSTANCE; + } + + private static FamilyTreeConstraints INSTANCE; + + private FamilyTreeConstraints() { + querySpecifications.add(MemberIsItsOwnParent.instance()); + querySpecifications.add(TwoMembersHaveNoParent.instance()); + querySpecifications.add(MemberHasParent.instance()); + querySpecifications.add(ParentTooYoung.instance()); + } + + public MemberIsItsOwnParent getMemberIsItsOwnParent() { + return MemberIsItsOwnParent.instance(); + } + + public MemberIsItsOwnParent.Matcher getMemberIsItsOwnParent(final ViatraQueryEngine engine) { + return MemberIsItsOwnParent.Matcher.on(engine); + } + + public TwoMembersHaveNoParent getTwoMembersHaveNoParent() { + return TwoMembersHaveNoParent.instance(); + } + + public TwoMembersHaveNoParent.Matcher getTwoMembersHaveNoParent(final ViatraQueryEngine engine) { + return TwoMembersHaveNoParent.Matcher.on(engine); + } + + public MemberHasParent getMemberHasParent() { + return MemberHasParent.instance(); + } + + public MemberHasParent.Matcher getMemberHasParent(final ViatraQueryEngine engine) { + return MemberHasParent.Matcher.on(engine); + } + + public ParentTooYoung getParentTooYoung() { + return ParentTooYoung.instance(); + } + + public ParentTooYoung.Matcher getParentTooYoung(final ViatraQueryEngine engine) { + return ParentTooYoung.Matcher.on(engine); + } +} diff --git a/Tests/MODELS2020-CaseStudies/case.study.familyTree.run/src-gen/queries/MemberHasParent.java b/Tests/MODELS2020-CaseStudies/case.study.familyTree.run/src-gen/queries/MemberHasParent.java index 82b83d0c..83bb4aac 100644 --- a/Tests/MODELS2020-CaseStudies/case.study.familyTree.run/src-gen/queries/MemberHasParent.java +++ b/Tests/MODELS2020-CaseStudies/case.study.familyTree.run/src-gen/queries/MemberHasParent.java @@ -1,551 +1,551 @@ -/** - * Generated from platform:/resource/case.study.familyTree.run/src/queries/familyTreeConstraints.vql - */ -package queries; - -import familytree.Member; -import java.util.Arrays; -import java.util.Collection; -import java.util.LinkedHashSet; -import java.util.List; -import java.util.Objects; -import java.util.Optional; -import java.util.Set; -import java.util.function.Consumer; -import java.util.stream.Collectors; -import java.util.stream.Stream; -import org.apache.log4j.Logger; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.viatra.query.runtime.api.IPatternMatch; -import org.eclipse.viatra.query.runtime.api.IQuerySpecification; -import org.eclipse.viatra.query.runtime.api.ViatraQueryEngine; -import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFPQuery; -import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFQuerySpecification; -import org.eclipse.viatra.query.runtime.api.impl.BaseMatcher; -import org.eclipse.viatra.query.runtime.api.impl.BasePatternMatch; -import org.eclipse.viatra.query.runtime.emf.types.EClassTransitiveInstancesKey; -import org.eclipse.viatra.query.runtime.emf.types.EStructuralFeatureInstancesKey; -import org.eclipse.viatra.query.runtime.matchers.backend.QueryEvaluationHint; -import org.eclipse.viatra.query.runtime.matchers.psystem.PBody; -import org.eclipse.viatra.query.runtime.matchers.psystem.PVariable; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.Equality; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.ExportedParameter; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicenumerables.TypeConstraint; -import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameter; -import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameterDirection; -import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PVisibility; -import org.eclipse.viatra.query.runtime.matchers.tuple.Tuple; -import org.eclipse.viatra.query.runtime.matchers.tuple.Tuples; -import org.eclipse.viatra.query.runtime.util.ViatraQueryLoggingUtil; - -/** - * A pattern-specific query specification that can instantiate Matcher in a type-safe way. - * - *

    Original source: - *

    - *         pattern memberHasParent(m: Member) = {
    - *         	Member.parents(m, _);
    - *         }
    - * 
    - * - * @see Matcher - * @see Match - * - */ -@SuppressWarnings("all") -public final class MemberHasParent extends BaseGeneratedEMFQuerySpecification { - /** - * Pattern-specific match representation of the queries.memberHasParent pattern, - * to be used in conjunction with {@link Matcher}. - * - *

    Class fields correspond to parameters of the pattern. Fields with value null are considered unassigned. - * Each instance is a (possibly partial) substitution of pattern parameters, - * usable to represent a match of the pattern in the result of a query, - * or to specify the bound (fixed) input parameters when issuing a query. - * - * @see Matcher - * - */ - public static abstract class Match extends BasePatternMatch { - private Member fM; - - private static List parameterNames = makeImmutableList("m"); - - private Match(final Member pM) { - this.fM = pM; - } - - @Override - public Object get(final String parameterName) { - switch(parameterName) { - case "m": return this.fM; - default: return null; - } - } - - @Override - public Object get(final int index) { - switch(index) { - case 0: return this.fM; - default: return null; - } - } - - public Member getM() { - return this.fM; - } - - @Override - public boolean set(final String parameterName, final Object newValue) { - if (!isMutable()) throw new java.lang.UnsupportedOperationException(); - if ("m".equals(parameterName) ) { - this.fM = (Member) newValue; - return true; - } - return false; - } - - public void setM(final Member pM) { - if (!isMutable()) throw new java.lang.UnsupportedOperationException(); - this.fM = pM; - } - - @Override - public String patternName() { - return "queries.memberHasParent"; - } - - @Override - public List parameterNames() { - return MemberHasParent.Match.parameterNames; - } - - @Override - public Object[] toArray() { - return new Object[]{fM}; - } - - @Override - public MemberHasParent.Match toImmutable() { - return isMutable() ? newMatch(fM) : this; - } - - @Override - public String prettyPrint() { - StringBuilder result = new StringBuilder(); - result.append("\"m\"=" + prettyPrintValue(fM)); - return result.toString(); - } - - @Override - public int hashCode() { - return Objects.hash(fM); - } - - @Override - public boolean equals(final Object obj) { - if (this == obj) - return true; - if (obj == null) { - return false; - } - if ((obj instanceof MemberHasParent.Match)) { - MemberHasParent.Match other = (MemberHasParent.Match) obj; - return Objects.equals(fM, other.fM); - } else { - // this should be infrequent - if (!(obj instanceof IPatternMatch)) { - return false; - } - IPatternMatch otherSig = (IPatternMatch) obj; - return Objects.equals(specification(), otherSig.specification()) && Arrays.deepEquals(toArray(), otherSig.toArray()); - } - } - - @Override - public MemberHasParent specification() { - return MemberHasParent.instance(); - } - - /** - * Returns an empty, mutable match. - * Fields of the mutable match can be filled to create a partial match, usable as matcher input. - * - * @return the empty match. - * - */ - public static MemberHasParent.Match newEmptyMatch() { - return new Mutable(null); - } - - /** - * Returns a mutable (partial) match. - * Fields of the mutable match can be filled to create a partial match, usable as matcher input. - * - * @param pM the fixed value of pattern parameter m, or null if not bound. - * @return the new, mutable (partial) match object. - * - */ - public static MemberHasParent.Match newMutableMatch(final Member pM) { - return new Mutable(pM); - } - - /** - * Returns a new (partial) match. - * This can be used e.g. to call the matcher with a partial match. - *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. - * @param pM the fixed value of pattern parameter m, or null if not bound. - * @return the (partial) match object. - * - */ - public static MemberHasParent.Match newMatch(final Member pM) { - return new Immutable(pM); - } - - private static final class Mutable extends MemberHasParent.Match { - Mutable(final Member pM) { - super(pM); - } - - @Override - public boolean isMutable() { - return true; - } - } - - private static final class Immutable extends MemberHasParent.Match { - Immutable(final Member pM) { - super(pM); - } - - @Override - public boolean isMutable() { - return false; - } - } - } - - /** - * Generated pattern matcher API of the queries.memberHasParent pattern, - * providing pattern-specific query methods. - * - *

    Use the pattern matcher on a given model via {@link #on(ViatraQueryEngine)}, - * e.g. in conjunction with {@link ViatraQueryEngine#on(QueryScope)}. - * - *

    Matches of the pattern will be represented as {@link Match}. - * - *

    Original source: - *

    -   * pattern memberHasParent(m: Member) = {
    -   * 	Member.parents(m, _);
    -   * }
    -   * 
    - * - * @see Match - * @see MemberHasParent - * - */ - public static class Matcher extends BaseMatcher { - /** - * Initializes the pattern matcher within an existing VIATRA Query engine. - * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. - * - * @param engine the existing VIATRA Query engine in which this matcher will be created. - * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation - * - */ - public static MemberHasParent.Matcher on(final ViatraQueryEngine engine) { - // check if matcher already exists - Matcher matcher = engine.getExistingMatcher(querySpecification()); - if (matcher == null) { - matcher = (Matcher)engine.getMatcher(querySpecification()); - } - return matcher; - } - - /** - * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation - * @return an initialized matcher - * @noreference This method is for internal matcher initialization by the framework, do not call it manually. - * - */ - public static MemberHasParent.Matcher create() { - return new Matcher(); - } - - private static final int POSITION_M = 0; - - private static final Logger LOGGER = ViatraQueryLoggingUtil.getLogger(MemberHasParent.Matcher.class); - - /** - * Initializes the pattern matcher within an existing VIATRA Query engine. - * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. - * - * @param engine the existing VIATRA Query engine in which this matcher will be created. - * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation - * - */ - private Matcher() { - super(querySpecification()); - } - - /** - * Returns the set of all matches of the pattern that conform to the given fixed values of some parameters. - * @param pM the fixed value of pattern parameter m, or null if not bound. - * @return matches represented as a Match object. - * - */ - public Collection getAllMatches(final Member pM) { - return rawStreamAllMatches(new Object[]{pM}).collect(Collectors.toSet()); - } - - /** - * Returns a stream of all matches of the pattern that conform to the given fixed values of some parameters. - *

    - * NOTE: It is important not to modify the source model while the stream is being processed. - * If the match set of the pattern changes during processing, the contents of the stream is undefined. - * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. - * @param pM the fixed value of pattern parameter m, or null if not bound. - * @return a stream of matches represented as a Match object. - * - */ - public Stream streamAllMatches(final Member pM) { - return rawStreamAllMatches(new Object[]{pM}); - } - - /** - * Returns an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. - * Neither determinism nor randomness of selection is guaranteed. - * @param pM the fixed value of pattern parameter m, or null if not bound. - * @return a match represented as a Match object, or null if no match is found. - * - */ - public Optional getOneArbitraryMatch(final Member pM) { - return rawGetOneArbitraryMatch(new Object[]{pM}); - } - - /** - * Indicates whether the given combination of specified pattern parameters constitute a valid pattern match, - * under any possible substitution of the unspecified parameters (if any). - * @param pM the fixed value of pattern parameter m, or null if not bound. - * @return true if the input is a valid (partial) match of the pattern. - * - */ - public boolean hasMatch(final Member pM) { - return rawHasMatch(new Object[]{pM}); - } - - /** - * Returns the number of all matches of the pattern that conform to the given fixed values of some parameters. - * @param pM the fixed value of pattern parameter m, or null if not bound. - * @return the number of pattern matches found. - * - */ - public int countMatches(final Member pM) { - return rawCountMatches(new Object[]{pM}); - } - - /** - * Executes the given processor on an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. - * Neither determinism nor randomness of selection is guaranteed. - * @param pM the fixed value of pattern parameter m, or null if not bound. - * @param processor the action that will process the selected match. - * @return true if the pattern has at least one match with the given parameter values, false if the processor was not invoked - * - */ - public boolean forOneArbitraryMatch(final Member pM, final Consumer processor) { - return rawForOneArbitraryMatch(new Object[]{pM}, processor); - } - - /** - * Returns a new (partial) match. - * This can be used e.g. to call the matcher with a partial match. - *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. - * @param pM the fixed value of pattern parameter m, or null if not bound. - * @return the (partial) match object. - * - */ - public MemberHasParent.Match newMatch(final Member pM) { - return MemberHasParent.Match.newMatch(pM); - } - - /** - * Retrieve the set of values that occur in matches for m. - * @return the Set of all values or empty set if there are no matches - * - */ - protected Stream rawStreamAllValuesOfm(final Object[] parameters) { - return rawStreamAllValues(POSITION_M, parameters).map(Member.class::cast); - } - - /** - * Retrieve the set of values that occur in matches for m. - * @return the Set of all values or empty set if there are no matches - * - */ - public Set getAllValuesOfm() { - return rawStreamAllValuesOfm(emptyArray()).collect(Collectors.toSet()); - } - - /** - * Retrieve the set of values that occur in matches for m. - * @return the Set of all values or empty set if there are no matches - * - */ - public Stream streamAllValuesOfm() { - return rawStreamAllValuesOfm(emptyArray()); - } - - @Override - protected MemberHasParent.Match tupleToMatch(final Tuple t) { - try { - return MemberHasParent.Match.newMatch((Member) t.get(POSITION_M)); - } catch(ClassCastException e) { - LOGGER.error("Element(s) in tuple not properly typed!",e); - return null; - } - } - - @Override - protected MemberHasParent.Match arrayToMatch(final Object[] match) { - try { - return MemberHasParent.Match.newMatch((Member) match[POSITION_M]); - } catch(ClassCastException e) { - LOGGER.error("Element(s) in array not properly typed!",e); - return null; - } - } - - @Override - protected MemberHasParent.Match arrayToMatchMutable(final Object[] match) { - try { - return MemberHasParent.Match.newMutableMatch((Member) match[POSITION_M]); - } catch(ClassCastException e) { - LOGGER.error("Element(s) in array not properly typed!",e); - return null; - } - } - - /** - * @return the singleton instance of the query specification of this pattern - * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded - * - */ - public static IQuerySpecification querySpecification() { - return MemberHasParent.instance(); - } - } - - private MemberHasParent() { - super(GeneratedPQuery.INSTANCE); - } - - /** - * @return the singleton instance of the query specification - * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded - * - */ - public static MemberHasParent instance() { - try{ - return LazyHolder.INSTANCE; - } catch (ExceptionInInitializerError err) { - throw processInitializerError(err); - } - } - - @Override - protected MemberHasParent.Matcher instantiate(final ViatraQueryEngine engine) { - return MemberHasParent.Matcher.on(engine); - } - - @Override - public MemberHasParent.Matcher instantiate() { - return MemberHasParent.Matcher.create(); - } - - @Override - public MemberHasParent.Match newEmptyMatch() { - return MemberHasParent.Match.newEmptyMatch(); - } - - @Override - public MemberHasParent.Match newMatch(final Object... parameters) { - return MemberHasParent.Match.newMatch((familytree.Member) parameters[0]); - } - - /** - * Inner class allowing the singleton instance of {@link MemberHasParent} to be created - * not at the class load time of the outer class, - * but rather at the first call to {@link MemberHasParent#instance()}. - * - *

    This workaround is required e.g. to support recursion. - * - */ - private static class LazyHolder { - private static final MemberHasParent INSTANCE = new MemberHasParent(); - - /** - * Statically initializes the query specification after the field {@link #INSTANCE} is assigned. - * This initialization order is required to support indirect recursion. - * - *

    The static initializer is defined using a helper field to work around limitations of the code generator. - * - */ - private static final Object STATIC_INITIALIZER = ensureInitialized(); - - public static Object ensureInitialized() { - INSTANCE.ensureInitializedInternal(); - return null; - } - } - - private static class GeneratedPQuery extends BaseGeneratedEMFPQuery { - private static final MemberHasParent.GeneratedPQuery INSTANCE = new GeneratedPQuery(); - - private final PParameter parameter_m = new PParameter("m", "familytree.Member", new EClassTransitiveInstancesKey((EClass)getClassifierLiteralSafe("http://www.example.org/familytree", "Member")), PParameterDirection.INOUT); - - private final List parameters = Arrays.asList(parameter_m); - - private GeneratedPQuery() { - super(PVisibility.PUBLIC); - } - - @Override - public String getFullyQualifiedName() { - return "queries.memberHasParent"; - } - - @Override - public List getParameterNames() { - return Arrays.asList("m"); - } - - @Override - public List getParameters() { - return parameters; - } - - @Override - public Set doGetContainedBodies() { - setEvaluationHints(new QueryEvaluationHint(null, QueryEvaluationHint.BackendRequirement.UNSPECIFIED)); - Set bodies = new LinkedHashSet<>(); - { - PBody body = new PBody(this); - PVariable var_m = body.getOrCreateVariableByName("m"); - PVariable var___0_ = body.getOrCreateVariableByName("_<0>"); - new TypeConstraint(body, Tuples.flatTupleOf(var_m), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.example.org/familytree", "Member"))); - body.setSymbolicParameters(Arrays.asList( - new ExportedParameter(body, var_m, parameter_m) - )); - // Member.parents(m, _) - new TypeConstraint(body, Tuples.flatTupleOf(var_m), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.example.org/familytree", "Member"))); - PVariable var__virtual_0_ = body.getOrCreateVariableByName(".virtual{0}"); - new TypeConstraint(body, Tuples.flatTupleOf(var_m, var__virtual_0_), new EStructuralFeatureInstancesKey(getFeatureLiteral("http://www.example.org/familytree", "Member", "parents"))); - new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_0_), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.example.org/familytree", "Member"))); - new Equality(body, var__virtual_0_, var___0_); - bodies.add(body); - } - return bodies; - } - } -} +/** + * Generated from platform:/resource/case.study.familyTree.run/src/queries/familyTreeConstraints.vql + */ +package queries; + +import familytree.Member; +import java.util.Arrays; +import java.util.Collection; +import java.util.LinkedHashSet; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import java.util.Set; +import java.util.function.Consumer; +import java.util.stream.Collectors; +import java.util.stream.Stream; +import org.apache.log4j.Logger; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.viatra.query.runtime.api.IPatternMatch; +import org.eclipse.viatra.query.runtime.api.IQuerySpecification; +import org.eclipse.viatra.query.runtime.api.ViatraQueryEngine; +import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFPQuery; +import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFQuerySpecification; +import org.eclipse.viatra.query.runtime.api.impl.BaseMatcher; +import org.eclipse.viatra.query.runtime.api.impl.BasePatternMatch; +import org.eclipse.viatra.query.runtime.emf.types.EClassTransitiveInstancesKey; +import org.eclipse.viatra.query.runtime.emf.types.EStructuralFeatureInstancesKey; +import org.eclipse.viatra.query.runtime.matchers.backend.QueryEvaluationHint; +import org.eclipse.viatra.query.runtime.matchers.psystem.PBody; +import org.eclipse.viatra.query.runtime.matchers.psystem.PVariable; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.Equality; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.ExportedParameter; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicenumerables.TypeConstraint; +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameter; +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameterDirection; +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PVisibility; +import org.eclipse.viatra.query.runtime.matchers.tuple.Tuple; +import org.eclipse.viatra.query.runtime.matchers.tuple.Tuples; +import org.eclipse.viatra.query.runtime.util.ViatraQueryLoggingUtil; + +/** + * A pattern-specific query specification that can instantiate Matcher in a type-safe way. + * + *

    Original source: + *

    + *         pattern memberHasParent(m: Member) = {
    + *         	Member.parents(m, _);
    + *         }
    + * 
    + * + * @see Matcher + * @see Match + * + */ +@SuppressWarnings("all") +public final class MemberHasParent extends BaseGeneratedEMFQuerySpecification { + /** + * Pattern-specific match representation of the queries.memberHasParent pattern, + * to be used in conjunction with {@link Matcher}. + * + *

    Class fields correspond to parameters of the pattern. Fields with value null are considered unassigned. + * Each instance is a (possibly partial) substitution of pattern parameters, + * usable to represent a match of the pattern in the result of a query, + * or to specify the bound (fixed) input parameters when issuing a query. + * + * @see Matcher + * + */ + public static abstract class Match extends BasePatternMatch { + private Member fM; + + private static List parameterNames = makeImmutableList("m"); + + private Match(final Member pM) { + this.fM = pM; + } + + @Override + public Object get(final String parameterName) { + switch(parameterName) { + case "m": return this.fM; + default: return null; + } + } + + @Override + public Object get(final int index) { + switch(index) { + case 0: return this.fM; + default: return null; + } + } + + public Member getM() { + return this.fM; + } + + @Override + public boolean set(final String parameterName, final Object newValue) { + if (!isMutable()) throw new java.lang.UnsupportedOperationException(); + if ("m".equals(parameterName) ) { + this.fM = (Member) newValue; + return true; + } + return false; + } + + public void setM(final Member pM) { + if (!isMutable()) throw new java.lang.UnsupportedOperationException(); + this.fM = pM; + } + + @Override + public String patternName() { + return "queries.memberHasParent"; + } + + @Override + public List parameterNames() { + return MemberHasParent.Match.parameterNames; + } + + @Override + public Object[] toArray() { + return new Object[]{fM}; + } + + @Override + public MemberHasParent.Match toImmutable() { + return isMutable() ? newMatch(fM) : this; + } + + @Override + public String prettyPrint() { + StringBuilder result = new StringBuilder(); + result.append("\"m\"=" + prettyPrintValue(fM)); + return result.toString(); + } + + @Override + public int hashCode() { + return Objects.hash(fM); + } + + @Override + public boolean equals(final Object obj) { + if (this == obj) + return true; + if (obj == null) { + return false; + } + if ((obj instanceof MemberHasParent.Match)) { + MemberHasParent.Match other = (MemberHasParent.Match) obj; + return Objects.equals(fM, other.fM); + } else { + // this should be infrequent + if (!(obj instanceof IPatternMatch)) { + return false; + } + IPatternMatch otherSig = (IPatternMatch) obj; + return Objects.equals(specification(), otherSig.specification()) && Arrays.deepEquals(toArray(), otherSig.toArray()); + } + } + + @Override + public MemberHasParent specification() { + return MemberHasParent.instance(); + } + + /** + * Returns an empty, mutable match. + * Fields of the mutable match can be filled to create a partial match, usable as matcher input. + * + * @return the empty match. + * + */ + public static MemberHasParent.Match newEmptyMatch() { + return new Mutable(null); + } + + /** + * Returns a mutable (partial) match. + * Fields of the mutable match can be filled to create a partial match, usable as matcher input. + * + * @param pM the fixed value of pattern parameter m, or null if not bound. + * @return the new, mutable (partial) match object. + * + */ + public static MemberHasParent.Match newMutableMatch(final Member pM) { + return new Mutable(pM); + } + + /** + * Returns a new (partial) match. + * This can be used e.g. to call the matcher with a partial match. + *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. + * @param pM the fixed value of pattern parameter m, or null if not bound. + * @return the (partial) match object. + * + */ + public static MemberHasParent.Match newMatch(final Member pM) { + return new Immutable(pM); + } + + private static final class Mutable extends MemberHasParent.Match { + Mutable(final Member pM) { + super(pM); + } + + @Override + public boolean isMutable() { + return true; + } + } + + private static final class Immutable extends MemberHasParent.Match { + Immutable(final Member pM) { + super(pM); + } + + @Override + public boolean isMutable() { + return false; + } + } + } + + /** + * Generated pattern matcher API of the queries.memberHasParent pattern, + * providing pattern-specific query methods. + * + *

    Use the pattern matcher on a given model via {@link #on(ViatraQueryEngine)}, + * e.g. in conjunction with {@link ViatraQueryEngine#on(QueryScope)}. + * + *

    Matches of the pattern will be represented as {@link Match}. + * + *

    Original source: + *

    +   * pattern memberHasParent(m: Member) = {
    +   * 	Member.parents(m, _);
    +   * }
    +   * 
    + * + * @see Match + * @see MemberHasParent + * + */ + public static class Matcher extends BaseMatcher { + /** + * Initializes the pattern matcher within an existing VIATRA Query engine. + * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. + * + * @param engine the existing VIATRA Query engine in which this matcher will be created. + * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation + * + */ + public static MemberHasParent.Matcher on(final ViatraQueryEngine engine) { + // check if matcher already exists + Matcher matcher = engine.getExistingMatcher(querySpecification()); + if (matcher == null) { + matcher = (Matcher)engine.getMatcher(querySpecification()); + } + return matcher; + } + + /** + * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation + * @return an initialized matcher + * @noreference This method is for internal matcher initialization by the framework, do not call it manually. + * + */ + public static MemberHasParent.Matcher create() { + return new Matcher(); + } + + private static final int POSITION_M = 0; + + private static final Logger LOGGER = ViatraQueryLoggingUtil.getLogger(MemberHasParent.Matcher.class); + + /** + * Initializes the pattern matcher within an existing VIATRA Query engine. + * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. + * + * @param engine the existing VIATRA Query engine in which this matcher will be created. + * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation + * + */ + private Matcher() { + super(querySpecification()); + } + + /** + * Returns the set of all matches of the pattern that conform to the given fixed values of some parameters. + * @param pM the fixed value of pattern parameter m, or null if not bound. + * @return matches represented as a Match object. + * + */ + public Collection getAllMatches(final Member pM) { + return rawStreamAllMatches(new Object[]{pM}).collect(Collectors.toSet()); + } + + /** + * Returns a stream of all matches of the pattern that conform to the given fixed values of some parameters. + *

    + * NOTE: It is important not to modify the source model while the stream is being processed. + * If the match set of the pattern changes during processing, the contents of the stream is undefined. + * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. + * @param pM the fixed value of pattern parameter m, or null if not bound. + * @return a stream of matches represented as a Match object. + * + */ + public Stream streamAllMatches(final Member pM) { + return rawStreamAllMatches(new Object[]{pM}); + } + + /** + * Returns an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. + * Neither determinism nor randomness of selection is guaranteed. + * @param pM the fixed value of pattern parameter m, or null if not bound. + * @return a match represented as a Match object, or null if no match is found. + * + */ + public Optional getOneArbitraryMatch(final Member pM) { + return rawGetOneArbitraryMatch(new Object[]{pM}); + } + + /** + * Indicates whether the given combination of specified pattern parameters constitute a valid pattern match, + * under any possible substitution of the unspecified parameters (if any). + * @param pM the fixed value of pattern parameter m, or null if not bound. + * @return true if the input is a valid (partial) match of the pattern. + * + */ + public boolean hasMatch(final Member pM) { + return rawHasMatch(new Object[]{pM}); + } + + /** + * Returns the number of all matches of the pattern that conform to the given fixed values of some parameters. + * @param pM the fixed value of pattern parameter m, or null if not bound. + * @return the number of pattern matches found. + * + */ + public int countMatches(final Member pM) { + return rawCountMatches(new Object[]{pM}); + } + + /** + * Executes the given processor on an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. + * Neither determinism nor randomness of selection is guaranteed. + * @param pM the fixed value of pattern parameter m, or null if not bound. + * @param processor the action that will process the selected match. + * @return true if the pattern has at least one match with the given parameter values, false if the processor was not invoked + * + */ + public boolean forOneArbitraryMatch(final Member pM, final Consumer processor) { + return rawForOneArbitraryMatch(new Object[]{pM}, processor); + } + + /** + * Returns a new (partial) match. + * This can be used e.g. to call the matcher with a partial match. + *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. + * @param pM the fixed value of pattern parameter m, or null if not bound. + * @return the (partial) match object. + * + */ + public MemberHasParent.Match newMatch(final Member pM) { + return MemberHasParent.Match.newMatch(pM); + } + + /** + * Retrieve the set of values that occur in matches for m. + * @return the Set of all values or empty set if there are no matches + * + */ + protected Stream rawStreamAllValuesOfm(final Object[] parameters) { + return rawStreamAllValues(POSITION_M, parameters).map(Member.class::cast); + } + + /** + * Retrieve the set of values that occur in matches for m. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOfm() { + return rawStreamAllValuesOfm(emptyArray()).collect(Collectors.toSet()); + } + + /** + * Retrieve the set of values that occur in matches for m. + * @return the Set of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOfm() { + return rawStreamAllValuesOfm(emptyArray()); + } + + @Override + protected MemberHasParent.Match tupleToMatch(final Tuple t) { + try { + return MemberHasParent.Match.newMatch((Member) t.get(POSITION_M)); + } catch(ClassCastException e) { + LOGGER.error("Element(s) in tuple not properly typed!",e); + return null; + } + } + + @Override + protected MemberHasParent.Match arrayToMatch(final Object[] match) { + try { + return MemberHasParent.Match.newMatch((Member) match[POSITION_M]); + } catch(ClassCastException e) { + LOGGER.error("Element(s) in array not properly typed!",e); + return null; + } + } + + @Override + protected MemberHasParent.Match arrayToMatchMutable(final Object[] match) { + try { + return MemberHasParent.Match.newMutableMatch((Member) match[POSITION_M]); + } catch(ClassCastException e) { + LOGGER.error("Element(s) in array not properly typed!",e); + return null; + } + } + + /** + * @return the singleton instance of the query specification of this pattern + * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded + * + */ + public static IQuerySpecification querySpecification() { + return MemberHasParent.instance(); + } + } + + private MemberHasParent() { + super(GeneratedPQuery.INSTANCE); + } + + /** + * @return the singleton instance of the query specification + * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded + * + */ + public static MemberHasParent instance() { + try{ + return LazyHolder.INSTANCE; + } catch (ExceptionInInitializerError err) { + throw processInitializerError(err); + } + } + + @Override + protected MemberHasParent.Matcher instantiate(final ViatraQueryEngine engine) { + return MemberHasParent.Matcher.on(engine); + } + + @Override + public MemberHasParent.Matcher instantiate() { + return MemberHasParent.Matcher.create(); + } + + @Override + public MemberHasParent.Match newEmptyMatch() { + return MemberHasParent.Match.newEmptyMatch(); + } + + @Override + public MemberHasParent.Match newMatch(final Object... parameters) { + return MemberHasParent.Match.newMatch((familytree.Member) parameters[0]); + } + + /** + * Inner class allowing the singleton instance of {@link MemberHasParent} to be created + * not at the class load time of the outer class, + * but rather at the first call to {@link MemberHasParent#instance()}. + * + *

    This workaround is required e.g. to support recursion. + * + */ + private static class LazyHolder { + private static final MemberHasParent INSTANCE = new MemberHasParent(); + + /** + * Statically initializes the query specification after the field {@link #INSTANCE} is assigned. + * This initialization order is required to support indirect recursion. + * + *

    The static initializer is defined using a helper field to work around limitations of the code generator. + * + */ + private static final Object STATIC_INITIALIZER = ensureInitialized(); + + public static Object ensureInitialized() { + INSTANCE.ensureInitializedInternal(); + return null; + } + } + + private static class GeneratedPQuery extends BaseGeneratedEMFPQuery { + private static final MemberHasParent.GeneratedPQuery INSTANCE = new GeneratedPQuery(); + + private final PParameter parameter_m = new PParameter("m", "familytree.Member", new EClassTransitiveInstancesKey((EClass)getClassifierLiteralSafe("http://www.example.org/familytree", "Member")), PParameterDirection.INOUT); + + private final List parameters = Arrays.asList(parameter_m); + + private GeneratedPQuery() { + super(PVisibility.PUBLIC); + } + + @Override + public String getFullyQualifiedName() { + return "queries.memberHasParent"; + } + + @Override + public List getParameterNames() { + return Arrays.asList("m"); + } + + @Override + public List getParameters() { + return parameters; + } + + @Override + public Set doGetContainedBodies() { + setEvaluationHints(new QueryEvaluationHint(null, QueryEvaluationHint.BackendRequirement.UNSPECIFIED)); + Set bodies = new LinkedHashSet<>(); + { + PBody body = new PBody(this); + PVariable var_m = body.getOrCreateVariableByName("m"); + PVariable var___0_ = body.getOrCreateVariableByName("_<0>"); + new TypeConstraint(body, Tuples.flatTupleOf(var_m), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.example.org/familytree", "Member"))); + body.setSymbolicParameters(Arrays.asList( + new ExportedParameter(body, var_m, parameter_m) + )); + // Member.parents(m, _) + new TypeConstraint(body, Tuples.flatTupleOf(var_m), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.example.org/familytree", "Member"))); + PVariable var__virtual_0_ = body.getOrCreateVariableByName(".virtual{0}"); + new TypeConstraint(body, Tuples.flatTupleOf(var_m, var__virtual_0_), new EStructuralFeatureInstancesKey(getFeatureLiteral("http://www.example.org/familytree", "Member", "parents"))); + new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_0_), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.example.org/familytree", "Member"))); + new Equality(body, var__virtual_0_, var___0_); + bodies.add(body); + } + return bodies; + } + } +} diff --git a/Tests/MODELS2020-CaseStudies/case.study.familyTree.run/src-gen/queries/MemberIsItsOwnParent.java b/Tests/MODELS2020-CaseStudies/case.study.familyTree.run/src-gen/queries/MemberIsItsOwnParent.java index 67cdafb5..63cb882d 100644 --- a/Tests/MODELS2020-CaseStudies/case.study.familyTree.run/src-gen/queries/MemberIsItsOwnParent.java +++ b/Tests/MODELS2020-CaseStudies/case.study.familyTree.run/src-gen/queries/MemberIsItsOwnParent.java @@ -1,577 +1,577 @@ -/** - * Generated from platform:/resource/case.study.familyTree.run/src/queries/familyTreeConstraints.vql - */ -package queries; - -import familytree.Member; -import java.util.Arrays; -import java.util.Collection; -import java.util.LinkedHashSet; -import java.util.List; -import java.util.Objects; -import java.util.Optional; -import java.util.Set; -import java.util.function.Consumer; -import java.util.stream.Collectors; -import java.util.stream.Stream; -import org.apache.log4j.Logger; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.viatra.query.runtime.api.IPatternMatch; -import org.eclipse.viatra.query.runtime.api.IQuerySpecification; -import org.eclipse.viatra.query.runtime.api.ViatraQueryEngine; -import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFPQuery; -import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFQuerySpecification; -import org.eclipse.viatra.query.runtime.api.impl.BaseMatcher; -import org.eclipse.viatra.query.runtime.api.impl.BasePatternMatch; -import org.eclipse.viatra.query.runtime.emf.types.EClassTransitiveInstancesKey; -import org.eclipse.viatra.query.runtime.emf.types.EStructuralFeatureInstancesKey; -import org.eclipse.viatra.query.runtime.matchers.backend.QueryEvaluationHint; -import org.eclipse.viatra.query.runtime.matchers.psystem.PBody; -import org.eclipse.viatra.query.runtime.matchers.psystem.PVariable; -import org.eclipse.viatra.query.runtime.matchers.psystem.annotations.PAnnotation; -import org.eclipse.viatra.query.runtime.matchers.psystem.annotations.ParameterReference; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.Equality; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.ExportedParameter; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicenumerables.TypeConstraint; -import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameter; -import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameterDirection; -import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PVisibility; -import org.eclipse.viatra.query.runtime.matchers.tuple.Tuple; -import org.eclipse.viatra.query.runtime.matchers.tuple.Tuples; -import org.eclipse.viatra.query.runtime.util.ViatraQueryLoggingUtil; - -/** - * A pattern-specific query specification that can instantiate Matcher in a type-safe way. - * - *

    Original source: - *

    - *         {@literal @}Constraint(message="memberIsItsOwnParent", severity="error", key={m})
    - *         pattern memberIsItsOwnParent(m: Member) = {
    - *         	FamilyTree.members(_, m);
    - *         	Member.parents(m, p);
    - *         	m == p;
    - *         }
    - * 
    - * - * @see Matcher - * @see Match - * - */ -@SuppressWarnings("all") -public final class MemberIsItsOwnParent extends BaseGeneratedEMFQuerySpecification { - /** - * Pattern-specific match representation of the queries.memberIsItsOwnParent pattern, - * to be used in conjunction with {@link Matcher}. - * - *

    Class fields correspond to parameters of the pattern. Fields with value null are considered unassigned. - * Each instance is a (possibly partial) substitution of pattern parameters, - * usable to represent a match of the pattern in the result of a query, - * or to specify the bound (fixed) input parameters when issuing a query. - * - * @see Matcher - * - */ - public static abstract class Match extends BasePatternMatch { - private Member fM; - - private static List parameterNames = makeImmutableList("m"); - - private Match(final Member pM) { - this.fM = pM; - } - - @Override - public Object get(final String parameterName) { - switch(parameterName) { - case "m": return this.fM; - default: return null; - } - } - - @Override - public Object get(final int index) { - switch(index) { - case 0: return this.fM; - default: return null; - } - } - - public Member getM() { - return this.fM; - } - - @Override - public boolean set(final String parameterName, final Object newValue) { - if (!isMutable()) throw new java.lang.UnsupportedOperationException(); - if ("m".equals(parameterName) ) { - this.fM = (Member) newValue; - return true; - } - return false; - } - - public void setM(final Member pM) { - if (!isMutable()) throw new java.lang.UnsupportedOperationException(); - this.fM = pM; - } - - @Override - public String patternName() { - return "queries.memberIsItsOwnParent"; - } - - @Override - public List parameterNames() { - return MemberIsItsOwnParent.Match.parameterNames; - } - - @Override - public Object[] toArray() { - return new Object[]{fM}; - } - - @Override - public MemberIsItsOwnParent.Match toImmutable() { - return isMutable() ? newMatch(fM) : this; - } - - @Override - public String prettyPrint() { - StringBuilder result = new StringBuilder(); - result.append("\"m\"=" + prettyPrintValue(fM)); - return result.toString(); - } - - @Override - public int hashCode() { - return Objects.hash(fM); - } - - @Override - public boolean equals(final Object obj) { - if (this == obj) - return true; - if (obj == null) { - return false; - } - if ((obj instanceof MemberIsItsOwnParent.Match)) { - MemberIsItsOwnParent.Match other = (MemberIsItsOwnParent.Match) obj; - return Objects.equals(fM, other.fM); - } else { - // this should be infrequent - if (!(obj instanceof IPatternMatch)) { - return false; - } - IPatternMatch otherSig = (IPatternMatch) obj; - return Objects.equals(specification(), otherSig.specification()) && Arrays.deepEquals(toArray(), otherSig.toArray()); - } - } - - @Override - public MemberIsItsOwnParent specification() { - return MemberIsItsOwnParent.instance(); - } - - /** - * Returns an empty, mutable match. - * Fields of the mutable match can be filled to create a partial match, usable as matcher input. - * - * @return the empty match. - * - */ - public static MemberIsItsOwnParent.Match newEmptyMatch() { - return new Mutable(null); - } - - /** - * Returns a mutable (partial) match. - * Fields of the mutable match can be filled to create a partial match, usable as matcher input. - * - * @param pM the fixed value of pattern parameter m, or null if not bound. - * @return the new, mutable (partial) match object. - * - */ - public static MemberIsItsOwnParent.Match newMutableMatch(final Member pM) { - return new Mutable(pM); - } - - /** - * Returns a new (partial) match. - * This can be used e.g. to call the matcher with a partial match. - *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. - * @param pM the fixed value of pattern parameter m, or null if not bound. - * @return the (partial) match object. - * - */ - public static MemberIsItsOwnParent.Match newMatch(final Member pM) { - return new Immutable(pM); - } - - private static final class Mutable extends MemberIsItsOwnParent.Match { - Mutable(final Member pM) { - super(pM); - } - - @Override - public boolean isMutable() { - return true; - } - } - - private static final class Immutable extends MemberIsItsOwnParent.Match { - Immutable(final Member pM) { - super(pM); - } - - @Override - public boolean isMutable() { - return false; - } - } - } - - /** - * Generated pattern matcher API of the queries.memberIsItsOwnParent pattern, - * providing pattern-specific query methods. - * - *

    Use the pattern matcher on a given model via {@link #on(ViatraQueryEngine)}, - * e.g. in conjunction with {@link ViatraQueryEngine#on(QueryScope)}. - * - *

    Matches of the pattern will be represented as {@link Match}. - * - *

    Original source: - *

    -   * {@literal @}Constraint(message="memberIsItsOwnParent", severity="error", key={m})
    -   * pattern memberIsItsOwnParent(m: Member) = {
    -   * 	FamilyTree.members(_, m);
    -   * 	Member.parents(m, p);
    -   * 	m == p;
    -   * }
    -   * 
    - * - * @see Match - * @see MemberIsItsOwnParent - * - */ - public static class Matcher extends BaseMatcher { - /** - * Initializes the pattern matcher within an existing VIATRA Query engine. - * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. - * - * @param engine the existing VIATRA Query engine in which this matcher will be created. - * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation - * - */ - public static MemberIsItsOwnParent.Matcher on(final ViatraQueryEngine engine) { - // check if matcher already exists - Matcher matcher = engine.getExistingMatcher(querySpecification()); - if (matcher == null) { - matcher = (Matcher)engine.getMatcher(querySpecification()); - } - return matcher; - } - - /** - * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation - * @return an initialized matcher - * @noreference This method is for internal matcher initialization by the framework, do not call it manually. - * - */ - public static MemberIsItsOwnParent.Matcher create() { - return new Matcher(); - } - - private static final int POSITION_M = 0; - - private static final Logger LOGGER = ViatraQueryLoggingUtil.getLogger(MemberIsItsOwnParent.Matcher.class); - - /** - * Initializes the pattern matcher within an existing VIATRA Query engine. - * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. - * - * @param engine the existing VIATRA Query engine in which this matcher will be created. - * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation - * - */ - private Matcher() { - super(querySpecification()); - } - - /** - * Returns the set of all matches of the pattern that conform to the given fixed values of some parameters. - * @param pM the fixed value of pattern parameter m, or null if not bound. - * @return matches represented as a Match object. - * - */ - public Collection getAllMatches(final Member pM) { - return rawStreamAllMatches(new Object[]{pM}).collect(Collectors.toSet()); - } - - /** - * Returns a stream of all matches of the pattern that conform to the given fixed values of some parameters. - *

    - * NOTE: It is important not to modify the source model while the stream is being processed. - * If the match set of the pattern changes during processing, the contents of the stream is undefined. - * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. - * @param pM the fixed value of pattern parameter m, or null if not bound. - * @return a stream of matches represented as a Match object. - * - */ - public Stream streamAllMatches(final Member pM) { - return rawStreamAllMatches(new Object[]{pM}); - } - - /** - * Returns an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. - * Neither determinism nor randomness of selection is guaranteed. - * @param pM the fixed value of pattern parameter m, or null if not bound. - * @return a match represented as a Match object, or null if no match is found. - * - */ - public Optional getOneArbitraryMatch(final Member pM) { - return rawGetOneArbitraryMatch(new Object[]{pM}); - } - - /** - * Indicates whether the given combination of specified pattern parameters constitute a valid pattern match, - * under any possible substitution of the unspecified parameters (if any). - * @param pM the fixed value of pattern parameter m, or null if not bound. - * @return true if the input is a valid (partial) match of the pattern. - * - */ - public boolean hasMatch(final Member pM) { - return rawHasMatch(new Object[]{pM}); - } - - /** - * Returns the number of all matches of the pattern that conform to the given fixed values of some parameters. - * @param pM the fixed value of pattern parameter m, or null if not bound. - * @return the number of pattern matches found. - * - */ - public int countMatches(final Member pM) { - return rawCountMatches(new Object[]{pM}); - } - - /** - * Executes the given processor on an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. - * Neither determinism nor randomness of selection is guaranteed. - * @param pM the fixed value of pattern parameter m, or null if not bound. - * @param processor the action that will process the selected match. - * @return true if the pattern has at least one match with the given parameter values, false if the processor was not invoked - * - */ - public boolean forOneArbitraryMatch(final Member pM, final Consumer processor) { - return rawForOneArbitraryMatch(new Object[]{pM}, processor); - } - - /** - * Returns a new (partial) match. - * This can be used e.g. to call the matcher with a partial match. - *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. - * @param pM the fixed value of pattern parameter m, or null if not bound. - * @return the (partial) match object. - * - */ - public MemberIsItsOwnParent.Match newMatch(final Member pM) { - return MemberIsItsOwnParent.Match.newMatch(pM); - } - - /** - * Retrieve the set of values that occur in matches for m. - * @return the Set of all values or empty set if there are no matches - * - */ - protected Stream rawStreamAllValuesOfm(final Object[] parameters) { - return rawStreamAllValues(POSITION_M, parameters).map(Member.class::cast); - } - - /** - * Retrieve the set of values that occur in matches for m. - * @return the Set of all values or empty set if there are no matches - * - */ - public Set getAllValuesOfm() { - return rawStreamAllValuesOfm(emptyArray()).collect(Collectors.toSet()); - } - - /** - * Retrieve the set of values that occur in matches for m. - * @return the Set of all values or empty set if there are no matches - * - */ - public Stream streamAllValuesOfm() { - return rawStreamAllValuesOfm(emptyArray()); - } - - @Override - protected MemberIsItsOwnParent.Match tupleToMatch(final Tuple t) { - try { - return MemberIsItsOwnParent.Match.newMatch((Member) t.get(POSITION_M)); - } catch(ClassCastException e) { - LOGGER.error("Element(s) in tuple not properly typed!",e); - return null; - } - } - - @Override - protected MemberIsItsOwnParent.Match arrayToMatch(final Object[] match) { - try { - return MemberIsItsOwnParent.Match.newMatch((Member) match[POSITION_M]); - } catch(ClassCastException e) { - LOGGER.error("Element(s) in array not properly typed!",e); - return null; - } - } - - @Override - protected MemberIsItsOwnParent.Match arrayToMatchMutable(final Object[] match) { - try { - return MemberIsItsOwnParent.Match.newMutableMatch((Member) match[POSITION_M]); - } catch(ClassCastException e) { - LOGGER.error("Element(s) in array not properly typed!",e); - return null; - } - } - - /** - * @return the singleton instance of the query specification of this pattern - * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded - * - */ - public static IQuerySpecification querySpecification() { - return MemberIsItsOwnParent.instance(); - } - } - - private MemberIsItsOwnParent() { - super(GeneratedPQuery.INSTANCE); - } - - /** - * @return the singleton instance of the query specification - * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded - * - */ - public static MemberIsItsOwnParent instance() { - try{ - return LazyHolder.INSTANCE; - } catch (ExceptionInInitializerError err) { - throw processInitializerError(err); - } - } - - @Override - protected MemberIsItsOwnParent.Matcher instantiate(final ViatraQueryEngine engine) { - return MemberIsItsOwnParent.Matcher.on(engine); - } - - @Override - public MemberIsItsOwnParent.Matcher instantiate() { - return MemberIsItsOwnParent.Matcher.create(); - } - - @Override - public MemberIsItsOwnParent.Match newEmptyMatch() { - return MemberIsItsOwnParent.Match.newEmptyMatch(); - } - - @Override - public MemberIsItsOwnParent.Match newMatch(final Object... parameters) { - return MemberIsItsOwnParent.Match.newMatch((familytree.Member) parameters[0]); - } - - /** - * Inner class allowing the singleton instance of {@link MemberIsItsOwnParent} to be created - * not at the class load time of the outer class, - * but rather at the first call to {@link MemberIsItsOwnParent#instance()}. - * - *

    This workaround is required e.g. to support recursion. - * - */ - private static class LazyHolder { - private static final MemberIsItsOwnParent INSTANCE = new MemberIsItsOwnParent(); - - /** - * Statically initializes the query specification after the field {@link #INSTANCE} is assigned. - * This initialization order is required to support indirect recursion. - * - *

    The static initializer is defined using a helper field to work around limitations of the code generator. - * - */ - private static final Object STATIC_INITIALIZER = ensureInitialized(); - - public static Object ensureInitialized() { - INSTANCE.ensureInitializedInternal(); - return null; - } - } - - private static class GeneratedPQuery extends BaseGeneratedEMFPQuery { - private static final MemberIsItsOwnParent.GeneratedPQuery INSTANCE = new GeneratedPQuery(); - - private final PParameter parameter_m = new PParameter("m", "familytree.Member", new EClassTransitiveInstancesKey((EClass)getClassifierLiteralSafe("http://www.example.org/familytree", "Member")), PParameterDirection.INOUT); - - private final List parameters = Arrays.asList(parameter_m); - - private GeneratedPQuery() { - super(PVisibility.PUBLIC); - } - - @Override - public String getFullyQualifiedName() { - return "queries.memberIsItsOwnParent"; - } - - @Override - public List getParameterNames() { - return Arrays.asList("m"); - } - - @Override - public List getParameters() { - return parameters; - } - - @Override - public Set doGetContainedBodies() { - setEvaluationHints(new QueryEvaluationHint(null, QueryEvaluationHint.BackendRequirement.UNSPECIFIED)); - Set bodies = new LinkedHashSet<>(); - { - PBody body = new PBody(this); - PVariable var_m = body.getOrCreateVariableByName("m"); - PVariable var___0_ = body.getOrCreateVariableByName("_<0>"); - PVariable var_p = body.getOrCreateVariableByName("p"); - new TypeConstraint(body, Tuples.flatTupleOf(var_m), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.example.org/familytree", "Member"))); - body.setSymbolicParameters(Arrays.asList( - new ExportedParameter(body, var_m, parameter_m) - )); - // FamilyTree.members(_, m) - new TypeConstraint(body, Tuples.flatTupleOf(var___0_), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.example.org/familytree", "FamilyTree"))); - PVariable var__virtual_0_ = body.getOrCreateVariableByName(".virtual{0}"); - new TypeConstraint(body, Tuples.flatTupleOf(var___0_, var__virtual_0_), new EStructuralFeatureInstancesKey(getFeatureLiteral("http://www.example.org/familytree", "FamilyTree", "members"))); - new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_0_), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.example.org/familytree", "Member"))); - new Equality(body, var__virtual_0_, var_m); - // Member.parents(m, p) - new TypeConstraint(body, Tuples.flatTupleOf(var_m), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.example.org/familytree", "Member"))); - PVariable var__virtual_1_ = body.getOrCreateVariableByName(".virtual{1}"); - new TypeConstraint(body, Tuples.flatTupleOf(var_m, var__virtual_1_), new EStructuralFeatureInstancesKey(getFeatureLiteral("http://www.example.org/familytree", "Member", "parents"))); - new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_1_), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.example.org/familytree", "Member"))); - new Equality(body, var__virtual_1_, var_p); - // m == p - new Equality(body, var_m, var_p); - bodies.add(body); - } - { - PAnnotation annotation = new PAnnotation("Constraint"); - annotation.addAttribute("message", "memberIsItsOwnParent"); - annotation.addAttribute("severity", "error"); - annotation.addAttribute("key", Arrays.asList(new Object[] { - new ParameterReference("m") - })); - addAnnotation(annotation); - } - return bodies; - } - } -} +/** + * Generated from platform:/resource/case.study.familyTree.run/src/queries/familyTreeConstraints.vql + */ +package queries; + +import familytree.Member; +import java.util.Arrays; +import java.util.Collection; +import java.util.LinkedHashSet; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import java.util.Set; +import java.util.function.Consumer; +import java.util.stream.Collectors; +import java.util.stream.Stream; +import org.apache.log4j.Logger; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.viatra.query.runtime.api.IPatternMatch; +import org.eclipse.viatra.query.runtime.api.IQuerySpecification; +import org.eclipse.viatra.query.runtime.api.ViatraQueryEngine; +import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFPQuery; +import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFQuerySpecification; +import org.eclipse.viatra.query.runtime.api.impl.BaseMatcher; +import org.eclipse.viatra.query.runtime.api.impl.BasePatternMatch; +import org.eclipse.viatra.query.runtime.emf.types.EClassTransitiveInstancesKey; +import org.eclipse.viatra.query.runtime.emf.types.EStructuralFeatureInstancesKey; +import org.eclipse.viatra.query.runtime.matchers.backend.QueryEvaluationHint; +import org.eclipse.viatra.query.runtime.matchers.psystem.PBody; +import org.eclipse.viatra.query.runtime.matchers.psystem.PVariable; +import org.eclipse.viatra.query.runtime.matchers.psystem.annotations.PAnnotation; +import org.eclipse.viatra.query.runtime.matchers.psystem.annotations.ParameterReference; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.Equality; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.ExportedParameter; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicenumerables.TypeConstraint; +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameter; +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameterDirection; +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PVisibility; +import org.eclipse.viatra.query.runtime.matchers.tuple.Tuple; +import org.eclipse.viatra.query.runtime.matchers.tuple.Tuples; +import org.eclipse.viatra.query.runtime.util.ViatraQueryLoggingUtil; + +/** + * A pattern-specific query specification that can instantiate Matcher in a type-safe way. + * + *

    Original source: + *

    + *         {@literal @}Constraint(message="memberIsItsOwnParent", severity="error", key={m})
    + *         pattern memberIsItsOwnParent(m: Member) = {
    + *         	FamilyTree.members(_, m);
    + *         	Member.parents(m, p);
    + *         	m == p;
    + *         }
    + * 
    + * + * @see Matcher + * @see Match + * + */ +@SuppressWarnings("all") +public final class MemberIsItsOwnParent extends BaseGeneratedEMFQuerySpecification { + /** + * Pattern-specific match representation of the queries.memberIsItsOwnParent pattern, + * to be used in conjunction with {@link Matcher}. + * + *

    Class fields correspond to parameters of the pattern. Fields with value null are considered unassigned. + * Each instance is a (possibly partial) substitution of pattern parameters, + * usable to represent a match of the pattern in the result of a query, + * or to specify the bound (fixed) input parameters when issuing a query. + * + * @see Matcher + * + */ + public static abstract class Match extends BasePatternMatch { + private Member fM; + + private static List parameterNames = makeImmutableList("m"); + + private Match(final Member pM) { + this.fM = pM; + } + + @Override + public Object get(final String parameterName) { + switch(parameterName) { + case "m": return this.fM; + default: return null; + } + } + + @Override + public Object get(final int index) { + switch(index) { + case 0: return this.fM; + default: return null; + } + } + + public Member getM() { + return this.fM; + } + + @Override + public boolean set(final String parameterName, final Object newValue) { + if (!isMutable()) throw new java.lang.UnsupportedOperationException(); + if ("m".equals(parameterName) ) { + this.fM = (Member) newValue; + return true; + } + return false; + } + + public void setM(final Member pM) { + if (!isMutable()) throw new java.lang.UnsupportedOperationException(); + this.fM = pM; + } + + @Override + public String patternName() { + return "queries.memberIsItsOwnParent"; + } + + @Override + public List parameterNames() { + return MemberIsItsOwnParent.Match.parameterNames; + } + + @Override + public Object[] toArray() { + return new Object[]{fM}; + } + + @Override + public MemberIsItsOwnParent.Match toImmutable() { + return isMutable() ? newMatch(fM) : this; + } + + @Override + public String prettyPrint() { + StringBuilder result = new StringBuilder(); + result.append("\"m\"=" + prettyPrintValue(fM)); + return result.toString(); + } + + @Override + public int hashCode() { + return Objects.hash(fM); + } + + @Override + public boolean equals(final Object obj) { + if (this == obj) + return true; + if (obj == null) { + return false; + } + if ((obj instanceof MemberIsItsOwnParent.Match)) { + MemberIsItsOwnParent.Match other = (MemberIsItsOwnParent.Match) obj; + return Objects.equals(fM, other.fM); + } else { + // this should be infrequent + if (!(obj instanceof IPatternMatch)) { + return false; + } + IPatternMatch otherSig = (IPatternMatch) obj; + return Objects.equals(specification(), otherSig.specification()) && Arrays.deepEquals(toArray(), otherSig.toArray()); + } + } + + @Override + public MemberIsItsOwnParent specification() { + return MemberIsItsOwnParent.instance(); + } + + /** + * Returns an empty, mutable match. + * Fields of the mutable match can be filled to create a partial match, usable as matcher input. + * + * @return the empty match. + * + */ + public static MemberIsItsOwnParent.Match newEmptyMatch() { + return new Mutable(null); + } + + /** + * Returns a mutable (partial) match. + * Fields of the mutable match can be filled to create a partial match, usable as matcher input. + * + * @param pM the fixed value of pattern parameter m, or null if not bound. + * @return the new, mutable (partial) match object. + * + */ + public static MemberIsItsOwnParent.Match newMutableMatch(final Member pM) { + return new Mutable(pM); + } + + /** + * Returns a new (partial) match. + * This can be used e.g. to call the matcher with a partial match. + *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. + * @param pM the fixed value of pattern parameter m, or null if not bound. + * @return the (partial) match object. + * + */ + public static MemberIsItsOwnParent.Match newMatch(final Member pM) { + return new Immutable(pM); + } + + private static final class Mutable extends MemberIsItsOwnParent.Match { + Mutable(final Member pM) { + super(pM); + } + + @Override + public boolean isMutable() { + return true; + } + } + + private static final class Immutable extends MemberIsItsOwnParent.Match { + Immutable(final Member pM) { + super(pM); + } + + @Override + public boolean isMutable() { + return false; + } + } + } + + /** + * Generated pattern matcher API of the queries.memberIsItsOwnParent pattern, + * providing pattern-specific query methods. + * + *

    Use the pattern matcher on a given model via {@link #on(ViatraQueryEngine)}, + * e.g. in conjunction with {@link ViatraQueryEngine#on(QueryScope)}. + * + *

    Matches of the pattern will be represented as {@link Match}. + * + *

    Original source: + *

    +   * {@literal @}Constraint(message="memberIsItsOwnParent", severity="error", key={m})
    +   * pattern memberIsItsOwnParent(m: Member) = {
    +   * 	FamilyTree.members(_, m);
    +   * 	Member.parents(m, p);
    +   * 	m == p;
    +   * }
    +   * 
    + * + * @see Match + * @see MemberIsItsOwnParent + * + */ + public static class Matcher extends BaseMatcher { + /** + * Initializes the pattern matcher within an existing VIATRA Query engine. + * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. + * + * @param engine the existing VIATRA Query engine in which this matcher will be created. + * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation + * + */ + public static MemberIsItsOwnParent.Matcher on(final ViatraQueryEngine engine) { + // check if matcher already exists + Matcher matcher = engine.getExistingMatcher(querySpecification()); + if (matcher == null) { + matcher = (Matcher)engine.getMatcher(querySpecification()); + } + return matcher; + } + + /** + * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation + * @return an initialized matcher + * @noreference This method is for internal matcher initialization by the framework, do not call it manually. + * + */ + public static MemberIsItsOwnParent.Matcher create() { + return new Matcher(); + } + + private static final int POSITION_M = 0; + + private static final Logger LOGGER = ViatraQueryLoggingUtil.getLogger(MemberIsItsOwnParent.Matcher.class); + + /** + * Initializes the pattern matcher within an existing VIATRA Query engine. + * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. + * + * @param engine the existing VIATRA Query engine in which this matcher will be created. + * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation + * + */ + private Matcher() { + super(querySpecification()); + } + + /** + * Returns the set of all matches of the pattern that conform to the given fixed values of some parameters. + * @param pM the fixed value of pattern parameter m, or null if not bound. + * @return matches represented as a Match object. + * + */ + public Collection getAllMatches(final Member pM) { + return rawStreamAllMatches(new Object[]{pM}).collect(Collectors.toSet()); + } + + /** + * Returns a stream of all matches of the pattern that conform to the given fixed values of some parameters. + *

    + * NOTE: It is important not to modify the source model while the stream is being processed. + * If the match set of the pattern changes during processing, the contents of the stream is undefined. + * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. + * @param pM the fixed value of pattern parameter m, or null if not bound. + * @return a stream of matches represented as a Match object. + * + */ + public Stream streamAllMatches(final Member pM) { + return rawStreamAllMatches(new Object[]{pM}); + } + + /** + * Returns an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. + * Neither determinism nor randomness of selection is guaranteed. + * @param pM the fixed value of pattern parameter m, or null if not bound. + * @return a match represented as a Match object, or null if no match is found. + * + */ + public Optional getOneArbitraryMatch(final Member pM) { + return rawGetOneArbitraryMatch(new Object[]{pM}); + } + + /** + * Indicates whether the given combination of specified pattern parameters constitute a valid pattern match, + * under any possible substitution of the unspecified parameters (if any). + * @param pM the fixed value of pattern parameter m, or null if not bound. + * @return true if the input is a valid (partial) match of the pattern. + * + */ + public boolean hasMatch(final Member pM) { + return rawHasMatch(new Object[]{pM}); + } + + /** + * Returns the number of all matches of the pattern that conform to the given fixed values of some parameters. + * @param pM the fixed value of pattern parameter m, or null if not bound. + * @return the number of pattern matches found. + * + */ + public int countMatches(final Member pM) { + return rawCountMatches(new Object[]{pM}); + } + + /** + * Executes the given processor on an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. + * Neither determinism nor randomness of selection is guaranteed. + * @param pM the fixed value of pattern parameter m, or null if not bound. + * @param processor the action that will process the selected match. + * @return true if the pattern has at least one match with the given parameter values, false if the processor was not invoked + * + */ + public boolean forOneArbitraryMatch(final Member pM, final Consumer processor) { + return rawForOneArbitraryMatch(new Object[]{pM}, processor); + } + + /** + * Returns a new (partial) match. + * This can be used e.g. to call the matcher with a partial match. + *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. + * @param pM the fixed value of pattern parameter m, or null if not bound. + * @return the (partial) match object. + * + */ + public MemberIsItsOwnParent.Match newMatch(final Member pM) { + return MemberIsItsOwnParent.Match.newMatch(pM); + } + + /** + * Retrieve the set of values that occur in matches for m. + * @return the Set of all values or empty set if there are no matches + * + */ + protected Stream rawStreamAllValuesOfm(final Object[] parameters) { + return rawStreamAllValues(POSITION_M, parameters).map(Member.class::cast); + } + + /** + * Retrieve the set of values that occur in matches for m. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOfm() { + return rawStreamAllValuesOfm(emptyArray()).collect(Collectors.toSet()); + } + + /** + * Retrieve the set of values that occur in matches for m. + * @return the Set of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOfm() { + return rawStreamAllValuesOfm(emptyArray()); + } + + @Override + protected MemberIsItsOwnParent.Match tupleToMatch(final Tuple t) { + try { + return MemberIsItsOwnParent.Match.newMatch((Member) t.get(POSITION_M)); + } catch(ClassCastException e) { + LOGGER.error("Element(s) in tuple not properly typed!",e); + return null; + } + } + + @Override + protected MemberIsItsOwnParent.Match arrayToMatch(final Object[] match) { + try { + return MemberIsItsOwnParent.Match.newMatch((Member) match[POSITION_M]); + } catch(ClassCastException e) { + LOGGER.error("Element(s) in array not properly typed!",e); + return null; + } + } + + @Override + protected MemberIsItsOwnParent.Match arrayToMatchMutable(final Object[] match) { + try { + return MemberIsItsOwnParent.Match.newMutableMatch((Member) match[POSITION_M]); + } catch(ClassCastException e) { + LOGGER.error("Element(s) in array not properly typed!",e); + return null; + } + } + + /** + * @return the singleton instance of the query specification of this pattern + * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded + * + */ + public static IQuerySpecification querySpecification() { + return MemberIsItsOwnParent.instance(); + } + } + + private MemberIsItsOwnParent() { + super(GeneratedPQuery.INSTANCE); + } + + /** + * @return the singleton instance of the query specification + * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded + * + */ + public static MemberIsItsOwnParent instance() { + try{ + return LazyHolder.INSTANCE; + } catch (ExceptionInInitializerError err) { + throw processInitializerError(err); + } + } + + @Override + protected MemberIsItsOwnParent.Matcher instantiate(final ViatraQueryEngine engine) { + return MemberIsItsOwnParent.Matcher.on(engine); + } + + @Override + public MemberIsItsOwnParent.Matcher instantiate() { + return MemberIsItsOwnParent.Matcher.create(); + } + + @Override + public MemberIsItsOwnParent.Match newEmptyMatch() { + return MemberIsItsOwnParent.Match.newEmptyMatch(); + } + + @Override + public MemberIsItsOwnParent.Match newMatch(final Object... parameters) { + return MemberIsItsOwnParent.Match.newMatch((familytree.Member) parameters[0]); + } + + /** + * Inner class allowing the singleton instance of {@link MemberIsItsOwnParent} to be created + * not at the class load time of the outer class, + * but rather at the first call to {@link MemberIsItsOwnParent#instance()}. + * + *

    This workaround is required e.g. to support recursion. + * + */ + private static class LazyHolder { + private static final MemberIsItsOwnParent INSTANCE = new MemberIsItsOwnParent(); + + /** + * Statically initializes the query specification after the field {@link #INSTANCE} is assigned. + * This initialization order is required to support indirect recursion. + * + *

    The static initializer is defined using a helper field to work around limitations of the code generator. + * + */ + private static final Object STATIC_INITIALIZER = ensureInitialized(); + + public static Object ensureInitialized() { + INSTANCE.ensureInitializedInternal(); + return null; + } + } + + private static class GeneratedPQuery extends BaseGeneratedEMFPQuery { + private static final MemberIsItsOwnParent.GeneratedPQuery INSTANCE = new GeneratedPQuery(); + + private final PParameter parameter_m = new PParameter("m", "familytree.Member", new EClassTransitiveInstancesKey((EClass)getClassifierLiteralSafe("http://www.example.org/familytree", "Member")), PParameterDirection.INOUT); + + private final List parameters = Arrays.asList(parameter_m); + + private GeneratedPQuery() { + super(PVisibility.PUBLIC); + } + + @Override + public String getFullyQualifiedName() { + return "queries.memberIsItsOwnParent"; + } + + @Override + public List getParameterNames() { + return Arrays.asList("m"); + } + + @Override + public List getParameters() { + return parameters; + } + + @Override + public Set doGetContainedBodies() { + setEvaluationHints(new QueryEvaluationHint(null, QueryEvaluationHint.BackendRequirement.UNSPECIFIED)); + Set bodies = new LinkedHashSet<>(); + { + PBody body = new PBody(this); + PVariable var_m = body.getOrCreateVariableByName("m"); + PVariable var___0_ = body.getOrCreateVariableByName("_<0>"); + PVariable var_p = body.getOrCreateVariableByName("p"); + new TypeConstraint(body, Tuples.flatTupleOf(var_m), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.example.org/familytree", "Member"))); + body.setSymbolicParameters(Arrays.asList( + new ExportedParameter(body, var_m, parameter_m) + )); + // FamilyTree.members(_, m) + new TypeConstraint(body, Tuples.flatTupleOf(var___0_), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.example.org/familytree", "FamilyTree"))); + PVariable var__virtual_0_ = body.getOrCreateVariableByName(".virtual{0}"); + new TypeConstraint(body, Tuples.flatTupleOf(var___0_, var__virtual_0_), new EStructuralFeatureInstancesKey(getFeatureLiteral("http://www.example.org/familytree", "FamilyTree", "members"))); + new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_0_), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.example.org/familytree", "Member"))); + new Equality(body, var__virtual_0_, var_m); + // Member.parents(m, p) + new TypeConstraint(body, Tuples.flatTupleOf(var_m), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.example.org/familytree", "Member"))); + PVariable var__virtual_1_ = body.getOrCreateVariableByName(".virtual{1}"); + new TypeConstraint(body, Tuples.flatTupleOf(var_m, var__virtual_1_), new EStructuralFeatureInstancesKey(getFeatureLiteral("http://www.example.org/familytree", "Member", "parents"))); + new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_1_), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.example.org/familytree", "Member"))); + new Equality(body, var__virtual_1_, var_p); + // m == p + new Equality(body, var_m, var_p); + bodies.add(body); + } + { + PAnnotation annotation = new PAnnotation("Constraint"); + annotation.addAttribute("message", "memberIsItsOwnParent"); + annotation.addAttribute("severity", "error"); + annotation.addAttribute("key", Arrays.asList(new Object[] { + new ParameterReference("m") + })); + addAnnotation(annotation); + } + return bodies; + } + } +} diff --git a/Tests/MODELS2020-CaseStudies/case.study.familyTree.run/src-gen/queries/ParentTooYoung.java b/Tests/MODELS2020-CaseStudies/case.study.familyTree.run/src-gen/queries/ParentTooYoung.java index e90186e2..726ab7e4 100644 --- a/Tests/MODELS2020-CaseStudies/case.study.familyTree.run/src-gen/queries/ParentTooYoung.java +++ b/Tests/MODELS2020-CaseStudies/case.study.familyTree.run/src-gen/queries/ParentTooYoung.java @@ -1,775 +1,775 @@ -/** - * Generated from platform:/resource/case.study.familyTree.run/src/queries/familyTreeConstraints.vql - */ -package queries; - -import familytree.Member; -import java.util.Arrays; -import java.util.Collection; -import java.util.LinkedHashSet; -import java.util.List; -import java.util.Objects; -import java.util.Optional; -import java.util.Set; -import java.util.function.Consumer; -import java.util.stream.Collectors; -import java.util.stream.Stream; -import org.apache.log4j.Logger; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EDataType; -import org.eclipse.viatra.query.runtime.api.IPatternMatch; -import org.eclipse.viatra.query.runtime.api.IQuerySpecification; -import org.eclipse.viatra.query.runtime.api.ViatraQueryEngine; -import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFPQuery; -import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFQuerySpecification; -import org.eclipse.viatra.query.runtime.api.impl.BaseMatcher; -import org.eclipse.viatra.query.runtime.api.impl.BasePatternMatch; -import org.eclipse.viatra.query.runtime.emf.types.EClassTransitiveInstancesKey; -import org.eclipse.viatra.query.runtime.emf.types.EDataTypeInSlotsKey; -import org.eclipse.viatra.query.runtime.emf.types.EStructuralFeatureInstancesKey; -import org.eclipse.viatra.query.runtime.matchers.backend.QueryEvaluationHint; -import org.eclipse.viatra.query.runtime.matchers.psystem.IExpressionEvaluator; -import org.eclipse.viatra.query.runtime.matchers.psystem.IValueProvider; -import org.eclipse.viatra.query.runtime.matchers.psystem.PBody; -import org.eclipse.viatra.query.runtime.matchers.psystem.PVariable; -import org.eclipse.viatra.query.runtime.matchers.psystem.annotations.PAnnotation; -import org.eclipse.viatra.query.runtime.matchers.psystem.annotations.ParameterReference; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.Equality; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.ExportedParameter; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.ExpressionEvaluation; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicenumerables.TypeConstraint; -import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameter; -import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameterDirection; -import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PVisibility; -import org.eclipse.viatra.query.runtime.matchers.tuple.Tuple; -import org.eclipse.viatra.query.runtime.matchers.tuple.Tuples; -import org.eclipse.viatra.query.runtime.util.ViatraQueryLoggingUtil; - -/** - * A pattern-specific query specification that can instantiate Matcher in a type-safe way. - * - *

    Original source: - *

    - *         {@literal @}Constraint(message="parentTooYoung", severity="error", key={m, p})
    - *         pattern parentTooYoung(m: Member, p: Member) = {
    - *         	FamilyTree.members(_, m);
    - *         	Member.parents(m, p);
    - *         	Member.age(m, mAge);
    - *         	Member.age(p, pAge);
    - *         	check (mAge {@literal <}= (pAge + 12));
    - *         }
    - * 
    - * - * @see Matcher - * @see Match - * - */ -@SuppressWarnings("all") -public final class ParentTooYoung extends BaseGeneratedEMFQuerySpecification { - /** - * Pattern-specific match representation of the queries.parentTooYoung pattern, - * to be used in conjunction with {@link Matcher}. - * - *

    Class fields correspond to parameters of the pattern. Fields with value null are considered unassigned. - * Each instance is a (possibly partial) substitution of pattern parameters, - * usable to represent a match of the pattern in the result of a query, - * or to specify the bound (fixed) input parameters when issuing a query. - * - * @see Matcher - * - */ - public static abstract class Match extends BasePatternMatch { - private Member fM; - - private Member fP; - - private static List parameterNames = makeImmutableList("m", "p"); - - private Match(final Member pM, final Member pP) { - this.fM = pM; - this.fP = pP; - } - - @Override - public Object get(final String parameterName) { - switch(parameterName) { - case "m": return this.fM; - case "p": return this.fP; - default: return null; - } - } - - @Override - public Object get(final int index) { - switch(index) { - case 0: return this.fM; - case 1: return this.fP; - default: return null; - } - } - - public Member getM() { - return this.fM; - } - - public Member getP() { - return this.fP; - } - - @Override - public boolean set(final String parameterName, final Object newValue) { - if (!isMutable()) throw new java.lang.UnsupportedOperationException(); - if ("m".equals(parameterName) ) { - this.fM = (Member) newValue; - return true; - } - if ("p".equals(parameterName) ) { - this.fP = (Member) newValue; - return true; - } - return false; - } - - public void setM(final Member pM) { - if (!isMutable()) throw new java.lang.UnsupportedOperationException(); - this.fM = pM; - } - - public void setP(final Member pP) { - if (!isMutable()) throw new java.lang.UnsupportedOperationException(); - this.fP = pP; - } - - @Override - public String patternName() { - return "queries.parentTooYoung"; - } - - @Override - public List parameterNames() { - return ParentTooYoung.Match.parameterNames; - } - - @Override - public Object[] toArray() { - return new Object[]{fM, fP}; - } - - @Override - public ParentTooYoung.Match toImmutable() { - return isMutable() ? newMatch(fM, fP) : this; - } - - @Override - public String prettyPrint() { - StringBuilder result = new StringBuilder(); - result.append("\"m\"=" + prettyPrintValue(fM) + ", "); - result.append("\"p\"=" + prettyPrintValue(fP)); - return result.toString(); - } - - @Override - public int hashCode() { - return Objects.hash(fM, fP); - } - - @Override - public boolean equals(final Object obj) { - if (this == obj) - return true; - if (obj == null) { - return false; - } - if ((obj instanceof ParentTooYoung.Match)) { - ParentTooYoung.Match other = (ParentTooYoung.Match) obj; - return Objects.equals(fM, other.fM) && Objects.equals(fP, other.fP); - } else { - // this should be infrequent - if (!(obj instanceof IPatternMatch)) { - return false; - } - IPatternMatch otherSig = (IPatternMatch) obj; - return Objects.equals(specification(), otherSig.specification()) && Arrays.deepEquals(toArray(), otherSig.toArray()); - } - } - - @Override - public ParentTooYoung specification() { - return ParentTooYoung.instance(); - } - - /** - * Returns an empty, mutable match. - * Fields of the mutable match can be filled to create a partial match, usable as matcher input. - * - * @return the empty match. - * - */ - public static ParentTooYoung.Match newEmptyMatch() { - return new Mutable(null, null); - } - - /** - * Returns a mutable (partial) match. - * Fields of the mutable match can be filled to create a partial match, usable as matcher input. - * - * @param pM the fixed value of pattern parameter m, or null if not bound. - * @param pP the fixed value of pattern parameter p, or null if not bound. - * @return the new, mutable (partial) match object. - * - */ - public static ParentTooYoung.Match newMutableMatch(final Member pM, final Member pP) { - return new Mutable(pM, pP); - } - - /** - * Returns a new (partial) match. - * This can be used e.g. to call the matcher with a partial match. - *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. - * @param pM the fixed value of pattern parameter m, or null if not bound. - * @param pP the fixed value of pattern parameter p, or null if not bound. - * @return the (partial) match object. - * - */ - public static ParentTooYoung.Match newMatch(final Member pM, final Member pP) { - return new Immutable(pM, pP); - } - - private static final class Mutable extends ParentTooYoung.Match { - Mutable(final Member pM, final Member pP) { - super(pM, pP); - } - - @Override - public boolean isMutable() { - return true; - } - } - - private static final class Immutable extends ParentTooYoung.Match { - Immutable(final Member pM, final Member pP) { - super(pM, pP); - } - - @Override - public boolean isMutable() { - return false; - } - } - } - - /** - * Generated pattern matcher API of the queries.parentTooYoung pattern, - * providing pattern-specific query methods. - * - *

    Use the pattern matcher on a given model via {@link #on(ViatraQueryEngine)}, - * e.g. in conjunction with {@link ViatraQueryEngine#on(QueryScope)}. - * - *

    Matches of the pattern will be represented as {@link Match}. - * - *

    Original source: - *

    -   * {@literal @}Constraint(message="parentTooYoung", severity="error", key={m, p})
    -   * pattern parentTooYoung(m: Member, p: Member) = {
    -   * 	FamilyTree.members(_, m);
    -   * 	Member.parents(m, p);
    -   * 	Member.age(m, mAge);
    -   * 	Member.age(p, pAge);
    -   * 	check (mAge {@literal <}= (pAge + 12));
    -   * }
    -   * 
    - * - * @see Match - * @see ParentTooYoung - * - */ - public static class Matcher extends BaseMatcher { - /** - * Initializes the pattern matcher within an existing VIATRA Query engine. - * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. - * - * @param engine the existing VIATRA Query engine in which this matcher will be created. - * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation - * - */ - public static ParentTooYoung.Matcher on(final ViatraQueryEngine engine) { - // check if matcher already exists - Matcher matcher = engine.getExistingMatcher(querySpecification()); - if (matcher == null) { - matcher = (Matcher)engine.getMatcher(querySpecification()); - } - return matcher; - } - - /** - * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation - * @return an initialized matcher - * @noreference This method is for internal matcher initialization by the framework, do not call it manually. - * - */ - public static ParentTooYoung.Matcher create() { - return new Matcher(); - } - - private static final int POSITION_M = 0; - - private static final int POSITION_P = 1; - - private static final Logger LOGGER = ViatraQueryLoggingUtil.getLogger(ParentTooYoung.Matcher.class); - - /** - * Initializes the pattern matcher within an existing VIATRA Query engine. - * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. - * - * @param engine the existing VIATRA Query engine in which this matcher will be created. - * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation - * - */ - private Matcher() { - super(querySpecification()); - } - - /** - * Returns the set of all matches of the pattern that conform to the given fixed values of some parameters. - * @param pM the fixed value of pattern parameter m, or null if not bound. - * @param pP the fixed value of pattern parameter p, or null if not bound. - * @return matches represented as a Match object. - * - */ - public Collection getAllMatches(final Member pM, final Member pP) { - return rawStreamAllMatches(new Object[]{pM, pP}).collect(Collectors.toSet()); - } - - /** - * Returns a stream of all matches of the pattern that conform to the given fixed values of some parameters. - *

    - * NOTE: It is important not to modify the source model while the stream is being processed. - * If the match set of the pattern changes during processing, the contents of the stream is undefined. - * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. - * @param pM the fixed value of pattern parameter m, or null if not bound. - * @param pP the fixed value of pattern parameter p, or null if not bound. - * @return a stream of matches represented as a Match object. - * - */ - public Stream streamAllMatches(final Member pM, final Member pP) { - return rawStreamAllMatches(new Object[]{pM, pP}); - } - - /** - * Returns an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. - * Neither determinism nor randomness of selection is guaranteed. - * @param pM the fixed value of pattern parameter m, or null if not bound. - * @param pP the fixed value of pattern parameter p, or null if not bound. - * @return a match represented as a Match object, or null if no match is found. - * - */ - public Optional getOneArbitraryMatch(final Member pM, final Member pP) { - return rawGetOneArbitraryMatch(new Object[]{pM, pP}); - } - - /** - * Indicates whether the given combination of specified pattern parameters constitute a valid pattern match, - * under any possible substitution of the unspecified parameters (if any). - * @param pM the fixed value of pattern parameter m, or null if not bound. - * @param pP the fixed value of pattern parameter p, or null if not bound. - * @return true if the input is a valid (partial) match of the pattern. - * - */ - public boolean hasMatch(final Member pM, final Member pP) { - return rawHasMatch(new Object[]{pM, pP}); - } - - /** - * Returns the number of all matches of the pattern that conform to the given fixed values of some parameters. - * @param pM the fixed value of pattern parameter m, or null if not bound. - * @param pP the fixed value of pattern parameter p, or null if not bound. - * @return the number of pattern matches found. - * - */ - public int countMatches(final Member pM, final Member pP) { - return rawCountMatches(new Object[]{pM, pP}); - } - - /** - * Executes the given processor on an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. - * Neither determinism nor randomness of selection is guaranteed. - * @param pM the fixed value of pattern parameter m, or null if not bound. - * @param pP the fixed value of pattern parameter p, or null if not bound. - * @param processor the action that will process the selected match. - * @return true if the pattern has at least one match with the given parameter values, false if the processor was not invoked - * - */ - public boolean forOneArbitraryMatch(final Member pM, final Member pP, final Consumer processor) { - return rawForOneArbitraryMatch(new Object[]{pM, pP}, processor); - } - - /** - * Returns a new (partial) match. - * This can be used e.g. to call the matcher with a partial match. - *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. - * @param pM the fixed value of pattern parameter m, or null if not bound. - * @param pP the fixed value of pattern parameter p, or null if not bound. - * @return the (partial) match object. - * - */ - public ParentTooYoung.Match newMatch(final Member pM, final Member pP) { - return ParentTooYoung.Match.newMatch(pM, pP); - } - - /** - * Retrieve the set of values that occur in matches for m. - * @return the Set of all values or empty set if there are no matches - * - */ - protected Stream rawStreamAllValuesOfm(final Object[] parameters) { - return rawStreamAllValues(POSITION_M, parameters).map(Member.class::cast); - } - - /** - * Retrieve the set of values that occur in matches for m. - * @return the Set of all values or empty set if there are no matches - * - */ - public Set getAllValuesOfm() { - return rawStreamAllValuesOfm(emptyArray()).collect(Collectors.toSet()); - } - - /** - * Retrieve the set of values that occur in matches for m. - * @return the Set of all values or empty set if there are no matches - * - */ - public Stream streamAllValuesOfm() { - return rawStreamAllValuesOfm(emptyArray()); - } - - /** - * Retrieve the set of values that occur in matches for m. - *

    - * NOTE: It is important not to modify the source model while the stream is being processed. - * If the match set of the pattern changes during processing, the contents of the stream is undefined. - * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. - * - * @return the Stream of all values or empty set if there are no matches - * - */ - public Stream streamAllValuesOfm(final ParentTooYoung.Match partialMatch) { - return rawStreamAllValuesOfm(partialMatch.toArray()); - } - - /** - * Retrieve the set of values that occur in matches for m. - *

    - * NOTE: It is important not to modify the source model while the stream is being processed. - * If the match set of the pattern changes during processing, the contents of the stream is undefined. - * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. - * - * @return the Stream of all values or empty set if there are no matches - * - */ - public Stream streamAllValuesOfm(final Member pP) { - return rawStreamAllValuesOfm(new Object[]{null, pP}); - } - - /** - * Retrieve the set of values that occur in matches for m. - * @return the Set of all values or empty set if there are no matches - * - */ - public Set getAllValuesOfm(final ParentTooYoung.Match partialMatch) { - return rawStreamAllValuesOfm(partialMatch.toArray()).collect(Collectors.toSet()); - } - - /** - * Retrieve the set of values that occur in matches for m. - * @return the Set of all values or empty set if there are no matches - * - */ - public Set getAllValuesOfm(final Member pP) { - return rawStreamAllValuesOfm(new Object[]{null, pP}).collect(Collectors.toSet()); - } - - /** - * Retrieve the set of values that occur in matches for p. - * @return the Set of all values or empty set if there are no matches - * - */ - protected Stream rawStreamAllValuesOfp(final Object[] parameters) { - return rawStreamAllValues(POSITION_P, parameters).map(Member.class::cast); - } - - /** - * Retrieve the set of values that occur in matches for p. - * @return the Set of all values or empty set if there are no matches - * - */ - public Set getAllValuesOfp() { - return rawStreamAllValuesOfp(emptyArray()).collect(Collectors.toSet()); - } - - /** - * Retrieve the set of values that occur in matches for p. - * @return the Set of all values or empty set if there are no matches - * - */ - public Stream streamAllValuesOfp() { - return rawStreamAllValuesOfp(emptyArray()); - } - - /** - * Retrieve the set of values that occur in matches for p. - *

    - * NOTE: It is important not to modify the source model while the stream is being processed. - * If the match set of the pattern changes during processing, the contents of the stream is undefined. - * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. - * - * @return the Stream of all values or empty set if there are no matches - * - */ - public Stream streamAllValuesOfp(final ParentTooYoung.Match partialMatch) { - return rawStreamAllValuesOfp(partialMatch.toArray()); - } - - /** - * Retrieve the set of values that occur in matches for p. - *

    - * NOTE: It is important not to modify the source model while the stream is being processed. - * If the match set of the pattern changes during processing, the contents of the stream is undefined. - * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. - * - * @return the Stream of all values or empty set if there are no matches - * - */ - public Stream streamAllValuesOfp(final Member pM) { - return rawStreamAllValuesOfp(new Object[]{pM, null}); - } - - /** - * Retrieve the set of values that occur in matches for p. - * @return the Set of all values or empty set if there are no matches - * - */ - public Set getAllValuesOfp(final ParentTooYoung.Match partialMatch) { - return rawStreamAllValuesOfp(partialMatch.toArray()).collect(Collectors.toSet()); - } - - /** - * Retrieve the set of values that occur in matches for p. - * @return the Set of all values or empty set if there are no matches - * - */ - public Set getAllValuesOfp(final Member pM) { - return rawStreamAllValuesOfp(new Object[]{pM, null}).collect(Collectors.toSet()); - } - - @Override - protected ParentTooYoung.Match tupleToMatch(final Tuple t) { - try { - return ParentTooYoung.Match.newMatch((Member) t.get(POSITION_M), (Member) t.get(POSITION_P)); - } catch(ClassCastException e) { - LOGGER.error("Element(s) in tuple not properly typed!",e); - return null; - } - } - - @Override - protected ParentTooYoung.Match arrayToMatch(final Object[] match) { - try { - return ParentTooYoung.Match.newMatch((Member) match[POSITION_M], (Member) match[POSITION_P]); - } catch(ClassCastException e) { - LOGGER.error("Element(s) in array not properly typed!",e); - return null; - } - } - - @Override - protected ParentTooYoung.Match arrayToMatchMutable(final Object[] match) { - try { - return ParentTooYoung.Match.newMutableMatch((Member) match[POSITION_M], (Member) match[POSITION_P]); - } catch(ClassCastException e) { - LOGGER.error("Element(s) in array not properly typed!",e); - return null; - } - } - - /** - * @return the singleton instance of the query specification of this pattern - * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded - * - */ - public static IQuerySpecification querySpecification() { - return ParentTooYoung.instance(); - } - } - - private ParentTooYoung() { - super(GeneratedPQuery.INSTANCE); - } - - /** - * @return the singleton instance of the query specification - * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded - * - */ - public static ParentTooYoung instance() { - try{ - return LazyHolder.INSTANCE; - } catch (ExceptionInInitializerError err) { - throw processInitializerError(err); - } - } - - @Override - protected ParentTooYoung.Matcher instantiate(final ViatraQueryEngine engine) { - return ParentTooYoung.Matcher.on(engine); - } - - @Override - public ParentTooYoung.Matcher instantiate() { - return ParentTooYoung.Matcher.create(); - } - - @Override - public ParentTooYoung.Match newEmptyMatch() { - return ParentTooYoung.Match.newEmptyMatch(); - } - - @Override - public ParentTooYoung.Match newMatch(final Object... parameters) { - return ParentTooYoung.Match.newMatch((familytree.Member) parameters[0], (familytree.Member) parameters[1]); - } - - /** - * Inner class allowing the singleton instance of {@link ParentTooYoung} to be created - * not at the class load time of the outer class, - * but rather at the first call to {@link ParentTooYoung#instance()}. - * - *

    This workaround is required e.g. to support recursion. - * - */ - private static class LazyHolder { - private static final ParentTooYoung INSTANCE = new ParentTooYoung(); - - /** - * Statically initializes the query specification after the field {@link #INSTANCE} is assigned. - * This initialization order is required to support indirect recursion. - * - *

    The static initializer is defined using a helper field to work around limitations of the code generator. - * - */ - private static final Object STATIC_INITIALIZER = ensureInitialized(); - - public static Object ensureInitialized() { - INSTANCE.ensureInitializedInternal(); - return null; - } - } - - private static class GeneratedPQuery extends BaseGeneratedEMFPQuery { - private static final ParentTooYoung.GeneratedPQuery INSTANCE = new GeneratedPQuery(); - - private final PParameter parameter_m = new PParameter("m", "familytree.Member", new EClassTransitiveInstancesKey((EClass)getClassifierLiteralSafe("http://www.example.org/familytree", "Member")), PParameterDirection.INOUT); - - private final PParameter parameter_p = new PParameter("p", "familytree.Member", new EClassTransitiveInstancesKey((EClass)getClassifierLiteralSafe("http://www.example.org/familytree", "Member")), PParameterDirection.INOUT); - - private final List parameters = Arrays.asList(parameter_m, parameter_p); - - private GeneratedPQuery() { - super(PVisibility.PUBLIC); - } - - @Override - public String getFullyQualifiedName() { - return "queries.parentTooYoung"; - } - - @Override - public List getParameterNames() { - return Arrays.asList("m","p"); - } - - @Override - public List getParameters() { - return parameters; - } - - @Override - public Set doGetContainedBodies() { - setEvaluationHints(new QueryEvaluationHint(null, QueryEvaluationHint.BackendRequirement.UNSPECIFIED)); - Set bodies = new LinkedHashSet<>(); - { - PBody body = new PBody(this); - PVariable var_m = body.getOrCreateVariableByName("m"); - PVariable var_p = body.getOrCreateVariableByName("p"); - PVariable var___0_ = body.getOrCreateVariableByName("_<0>"); - PVariable var_mAge = body.getOrCreateVariableByName("mAge"); - PVariable var_pAge = body.getOrCreateVariableByName("pAge"); - new TypeConstraint(body, Tuples.flatTupleOf(var_m), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.example.org/familytree", "Member"))); - new TypeConstraint(body, Tuples.flatTupleOf(var_p), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.example.org/familytree", "Member"))); - body.setSymbolicParameters(Arrays.asList( - new ExportedParameter(body, var_m, parameter_m), - new ExportedParameter(body, var_p, parameter_p) - )); - // FamilyTree.members(_, m) - new TypeConstraint(body, Tuples.flatTupleOf(var___0_), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.example.org/familytree", "FamilyTree"))); - PVariable var__virtual_0_ = body.getOrCreateVariableByName(".virtual{0}"); - new TypeConstraint(body, Tuples.flatTupleOf(var___0_, var__virtual_0_), new EStructuralFeatureInstancesKey(getFeatureLiteral("http://www.example.org/familytree", "FamilyTree", "members"))); - new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_0_), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.example.org/familytree", "Member"))); - new Equality(body, var__virtual_0_, var_m); - // Member.parents(m, p) - new TypeConstraint(body, Tuples.flatTupleOf(var_m), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.example.org/familytree", "Member"))); - PVariable var__virtual_1_ = body.getOrCreateVariableByName(".virtual{1}"); - new TypeConstraint(body, Tuples.flatTupleOf(var_m, var__virtual_1_), new EStructuralFeatureInstancesKey(getFeatureLiteral("http://www.example.org/familytree", "Member", "parents"))); - new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_1_), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.example.org/familytree", "Member"))); - new Equality(body, var__virtual_1_, var_p); - // Member.age(m, mAge) - new TypeConstraint(body, Tuples.flatTupleOf(var_m), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.example.org/familytree", "Member"))); - PVariable var__virtual_2_ = body.getOrCreateVariableByName(".virtual{2}"); - new TypeConstraint(body, Tuples.flatTupleOf(var_m, var__virtual_2_), new EStructuralFeatureInstancesKey(getFeatureLiteral("http://www.example.org/familytree", "Member", "age"))); - new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_2_), new EDataTypeInSlotsKey((EDataType)getClassifierLiteral("http://www.eclipse.org/emf/2002/Ecore", "EInt"))); - new Equality(body, var__virtual_2_, var_mAge); - // Member.age(p, pAge) - new TypeConstraint(body, Tuples.flatTupleOf(var_p), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.example.org/familytree", "Member"))); - PVariable var__virtual_3_ = body.getOrCreateVariableByName(".virtual{3}"); - new TypeConstraint(body, Tuples.flatTupleOf(var_p, var__virtual_3_), new EStructuralFeatureInstancesKey(getFeatureLiteral("http://www.example.org/familytree", "Member", "age"))); - new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_3_), new EDataTypeInSlotsKey((EDataType)getClassifierLiteral("http://www.eclipse.org/emf/2002/Ecore", "EInt"))); - new Equality(body, var__virtual_3_, var_pAge); - // check (mAge <= (pAge + 12)) - new ExpressionEvaluation(body, new IExpressionEvaluator() { - - @Override - public String getShortDescription() { - return "Expression evaluation from pattern parentTooYoung"; - } - - @Override - public Iterable getInputParameterNames() { - return Arrays.asList("mAge", "pAge");} - - @Override - public Object evaluateExpression(IValueProvider provider) throws Exception { - Integer mAge = (Integer) provider.getValue("mAge"); - Integer pAge = (Integer) provider.getValue("pAge"); - return evaluateExpression_1_1(mAge, pAge); - } - }, null); - bodies.add(body); - } - { - PAnnotation annotation = new PAnnotation("Constraint"); - annotation.addAttribute("message", "parentTooYoung"); - annotation.addAttribute("severity", "error"); - annotation.addAttribute("key", Arrays.asList(new Object[] { - new ParameterReference("m"), - new ParameterReference("p") - })); - addAnnotation(annotation); - } - return bodies; - } - } - - private static boolean evaluateExpression_1_1(final Integer mAge, final Integer pAge) { - return ((mAge).intValue() <= ((pAge).intValue() + 12)); - } -} +/** + * Generated from platform:/resource/case.study.familyTree.run/src/queries/familyTreeConstraints.vql + */ +package queries; + +import familytree.Member; +import java.util.Arrays; +import java.util.Collection; +import java.util.LinkedHashSet; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import java.util.Set; +import java.util.function.Consumer; +import java.util.stream.Collectors; +import java.util.stream.Stream; +import org.apache.log4j.Logger; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EDataType; +import org.eclipse.viatra.query.runtime.api.IPatternMatch; +import org.eclipse.viatra.query.runtime.api.IQuerySpecification; +import org.eclipse.viatra.query.runtime.api.ViatraQueryEngine; +import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFPQuery; +import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFQuerySpecification; +import org.eclipse.viatra.query.runtime.api.impl.BaseMatcher; +import org.eclipse.viatra.query.runtime.api.impl.BasePatternMatch; +import org.eclipse.viatra.query.runtime.emf.types.EClassTransitiveInstancesKey; +import org.eclipse.viatra.query.runtime.emf.types.EDataTypeInSlotsKey; +import org.eclipse.viatra.query.runtime.emf.types.EStructuralFeatureInstancesKey; +import org.eclipse.viatra.query.runtime.matchers.backend.QueryEvaluationHint; +import org.eclipse.viatra.query.runtime.matchers.psystem.IExpressionEvaluator; +import org.eclipse.viatra.query.runtime.matchers.psystem.IValueProvider; +import org.eclipse.viatra.query.runtime.matchers.psystem.PBody; +import org.eclipse.viatra.query.runtime.matchers.psystem.PVariable; +import org.eclipse.viatra.query.runtime.matchers.psystem.annotations.PAnnotation; +import org.eclipse.viatra.query.runtime.matchers.psystem.annotations.ParameterReference; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.Equality; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.ExportedParameter; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.ExpressionEvaluation; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicenumerables.TypeConstraint; +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameter; +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameterDirection; +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PVisibility; +import org.eclipse.viatra.query.runtime.matchers.tuple.Tuple; +import org.eclipse.viatra.query.runtime.matchers.tuple.Tuples; +import org.eclipse.viatra.query.runtime.util.ViatraQueryLoggingUtil; + +/** + * A pattern-specific query specification that can instantiate Matcher in a type-safe way. + * + *

    Original source: + *

    + *         {@literal @}Constraint(message="parentTooYoung", severity="error", key={m, p})
    + *         pattern parentTooYoung(m: Member, p: Member) = {
    + *         	FamilyTree.members(_, m);
    + *         	Member.parents(m, p);
    + *         	Member.age(m, mAge);
    + *         	Member.age(p, pAge);
    + *         	check (mAge {@literal <}= (pAge + 12));
    + *         }
    + * 
    + * + * @see Matcher + * @see Match + * + */ +@SuppressWarnings("all") +public final class ParentTooYoung extends BaseGeneratedEMFQuerySpecification { + /** + * Pattern-specific match representation of the queries.parentTooYoung pattern, + * to be used in conjunction with {@link Matcher}. + * + *

    Class fields correspond to parameters of the pattern. Fields with value null are considered unassigned. + * Each instance is a (possibly partial) substitution of pattern parameters, + * usable to represent a match of the pattern in the result of a query, + * or to specify the bound (fixed) input parameters when issuing a query. + * + * @see Matcher + * + */ + public static abstract class Match extends BasePatternMatch { + private Member fM; + + private Member fP; + + private static List parameterNames = makeImmutableList("m", "p"); + + private Match(final Member pM, final Member pP) { + this.fM = pM; + this.fP = pP; + } + + @Override + public Object get(final String parameterName) { + switch(parameterName) { + case "m": return this.fM; + case "p": return this.fP; + default: return null; + } + } + + @Override + public Object get(final int index) { + switch(index) { + case 0: return this.fM; + case 1: return this.fP; + default: return null; + } + } + + public Member getM() { + return this.fM; + } + + public Member getP() { + return this.fP; + } + + @Override + public boolean set(final String parameterName, final Object newValue) { + if (!isMutable()) throw new java.lang.UnsupportedOperationException(); + if ("m".equals(parameterName) ) { + this.fM = (Member) newValue; + return true; + } + if ("p".equals(parameterName) ) { + this.fP = (Member) newValue; + return true; + } + return false; + } + + public void setM(final Member pM) { + if (!isMutable()) throw new java.lang.UnsupportedOperationException(); + this.fM = pM; + } + + public void setP(final Member pP) { + if (!isMutable()) throw new java.lang.UnsupportedOperationException(); + this.fP = pP; + } + + @Override + public String patternName() { + return "queries.parentTooYoung"; + } + + @Override + public List parameterNames() { + return ParentTooYoung.Match.parameterNames; + } + + @Override + public Object[] toArray() { + return new Object[]{fM, fP}; + } + + @Override + public ParentTooYoung.Match toImmutable() { + return isMutable() ? newMatch(fM, fP) : this; + } + + @Override + public String prettyPrint() { + StringBuilder result = new StringBuilder(); + result.append("\"m\"=" + prettyPrintValue(fM) + ", "); + result.append("\"p\"=" + prettyPrintValue(fP)); + return result.toString(); + } + + @Override + public int hashCode() { + return Objects.hash(fM, fP); + } + + @Override + public boolean equals(final Object obj) { + if (this == obj) + return true; + if (obj == null) { + return false; + } + if ((obj instanceof ParentTooYoung.Match)) { + ParentTooYoung.Match other = (ParentTooYoung.Match) obj; + return Objects.equals(fM, other.fM) && Objects.equals(fP, other.fP); + } else { + // this should be infrequent + if (!(obj instanceof IPatternMatch)) { + return false; + } + IPatternMatch otherSig = (IPatternMatch) obj; + return Objects.equals(specification(), otherSig.specification()) && Arrays.deepEquals(toArray(), otherSig.toArray()); + } + } + + @Override + public ParentTooYoung specification() { + return ParentTooYoung.instance(); + } + + /** + * Returns an empty, mutable match. + * Fields of the mutable match can be filled to create a partial match, usable as matcher input. + * + * @return the empty match. + * + */ + public static ParentTooYoung.Match newEmptyMatch() { + return new Mutable(null, null); + } + + /** + * Returns a mutable (partial) match. + * Fields of the mutable match can be filled to create a partial match, usable as matcher input. + * + * @param pM the fixed value of pattern parameter m, or null if not bound. + * @param pP the fixed value of pattern parameter p, or null if not bound. + * @return the new, mutable (partial) match object. + * + */ + public static ParentTooYoung.Match newMutableMatch(final Member pM, final Member pP) { + return new Mutable(pM, pP); + } + + /** + * Returns a new (partial) match. + * This can be used e.g. to call the matcher with a partial match. + *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. + * @param pM the fixed value of pattern parameter m, or null if not bound. + * @param pP the fixed value of pattern parameter p, or null if not bound. + * @return the (partial) match object. + * + */ + public static ParentTooYoung.Match newMatch(final Member pM, final Member pP) { + return new Immutable(pM, pP); + } + + private static final class Mutable extends ParentTooYoung.Match { + Mutable(final Member pM, final Member pP) { + super(pM, pP); + } + + @Override + public boolean isMutable() { + return true; + } + } + + private static final class Immutable extends ParentTooYoung.Match { + Immutable(final Member pM, final Member pP) { + super(pM, pP); + } + + @Override + public boolean isMutable() { + return false; + } + } + } + + /** + * Generated pattern matcher API of the queries.parentTooYoung pattern, + * providing pattern-specific query methods. + * + *

    Use the pattern matcher on a given model via {@link #on(ViatraQueryEngine)}, + * e.g. in conjunction with {@link ViatraQueryEngine#on(QueryScope)}. + * + *

    Matches of the pattern will be represented as {@link Match}. + * + *

    Original source: + *

    +   * {@literal @}Constraint(message="parentTooYoung", severity="error", key={m, p})
    +   * pattern parentTooYoung(m: Member, p: Member) = {
    +   * 	FamilyTree.members(_, m);
    +   * 	Member.parents(m, p);
    +   * 	Member.age(m, mAge);
    +   * 	Member.age(p, pAge);
    +   * 	check (mAge {@literal <}= (pAge + 12));
    +   * }
    +   * 
    + * + * @see Match + * @see ParentTooYoung + * + */ + public static class Matcher extends BaseMatcher { + /** + * Initializes the pattern matcher within an existing VIATRA Query engine. + * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. + * + * @param engine the existing VIATRA Query engine in which this matcher will be created. + * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation + * + */ + public static ParentTooYoung.Matcher on(final ViatraQueryEngine engine) { + // check if matcher already exists + Matcher matcher = engine.getExistingMatcher(querySpecification()); + if (matcher == null) { + matcher = (Matcher)engine.getMatcher(querySpecification()); + } + return matcher; + } + + /** + * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation + * @return an initialized matcher + * @noreference This method is for internal matcher initialization by the framework, do not call it manually. + * + */ + public static ParentTooYoung.Matcher create() { + return new Matcher(); + } + + private static final int POSITION_M = 0; + + private static final int POSITION_P = 1; + + private static final Logger LOGGER = ViatraQueryLoggingUtil.getLogger(ParentTooYoung.Matcher.class); + + /** + * Initializes the pattern matcher within an existing VIATRA Query engine. + * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. + * + * @param engine the existing VIATRA Query engine in which this matcher will be created. + * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation + * + */ + private Matcher() { + super(querySpecification()); + } + + /** + * Returns the set of all matches of the pattern that conform to the given fixed values of some parameters. + * @param pM the fixed value of pattern parameter m, or null if not bound. + * @param pP the fixed value of pattern parameter p, or null if not bound. + * @return matches represented as a Match object. + * + */ + public Collection getAllMatches(final Member pM, final Member pP) { + return rawStreamAllMatches(new Object[]{pM, pP}).collect(Collectors.toSet()); + } + + /** + * Returns a stream of all matches of the pattern that conform to the given fixed values of some parameters. + *

    + * NOTE: It is important not to modify the source model while the stream is being processed. + * If the match set of the pattern changes during processing, the contents of the stream is undefined. + * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. + * @param pM the fixed value of pattern parameter m, or null if not bound. + * @param pP the fixed value of pattern parameter p, or null if not bound. + * @return a stream of matches represented as a Match object. + * + */ + public Stream streamAllMatches(final Member pM, final Member pP) { + return rawStreamAllMatches(new Object[]{pM, pP}); + } + + /** + * Returns an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. + * Neither determinism nor randomness of selection is guaranteed. + * @param pM the fixed value of pattern parameter m, or null if not bound. + * @param pP the fixed value of pattern parameter p, or null if not bound. + * @return a match represented as a Match object, or null if no match is found. + * + */ + public Optional getOneArbitraryMatch(final Member pM, final Member pP) { + return rawGetOneArbitraryMatch(new Object[]{pM, pP}); + } + + /** + * Indicates whether the given combination of specified pattern parameters constitute a valid pattern match, + * under any possible substitution of the unspecified parameters (if any). + * @param pM the fixed value of pattern parameter m, or null if not bound. + * @param pP the fixed value of pattern parameter p, or null if not bound. + * @return true if the input is a valid (partial) match of the pattern. + * + */ + public boolean hasMatch(final Member pM, final Member pP) { + return rawHasMatch(new Object[]{pM, pP}); + } + + /** + * Returns the number of all matches of the pattern that conform to the given fixed values of some parameters. + * @param pM the fixed value of pattern parameter m, or null if not bound. + * @param pP the fixed value of pattern parameter p, or null if not bound. + * @return the number of pattern matches found. + * + */ + public int countMatches(final Member pM, final Member pP) { + return rawCountMatches(new Object[]{pM, pP}); + } + + /** + * Executes the given processor on an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. + * Neither determinism nor randomness of selection is guaranteed. + * @param pM the fixed value of pattern parameter m, or null if not bound. + * @param pP the fixed value of pattern parameter p, or null if not bound. + * @param processor the action that will process the selected match. + * @return true if the pattern has at least one match with the given parameter values, false if the processor was not invoked + * + */ + public boolean forOneArbitraryMatch(final Member pM, final Member pP, final Consumer processor) { + return rawForOneArbitraryMatch(new Object[]{pM, pP}, processor); + } + + /** + * Returns a new (partial) match. + * This can be used e.g. to call the matcher with a partial match. + *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. + * @param pM the fixed value of pattern parameter m, or null if not bound. + * @param pP the fixed value of pattern parameter p, or null if not bound. + * @return the (partial) match object. + * + */ + public ParentTooYoung.Match newMatch(final Member pM, final Member pP) { + return ParentTooYoung.Match.newMatch(pM, pP); + } + + /** + * Retrieve the set of values that occur in matches for m. + * @return the Set of all values or empty set if there are no matches + * + */ + protected Stream rawStreamAllValuesOfm(final Object[] parameters) { + return rawStreamAllValues(POSITION_M, parameters).map(Member.class::cast); + } + + /** + * Retrieve the set of values that occur in matches for m. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOfm() { + return rawStreamAllValuesOfm(emptyArray()).collect(Collectors.toSet()); + } + + /** + * Retrieve the set of values that occur in matches for m. + * @return the Set of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOfm() { + return rawStreamAllValuesOfm(emptyArray()); + } + + /** + * Retrieve the set of values that occur in matches for m. + *

    + * NOTE: It is important not to modify the source model while the stream is being processed. + * If the match set of the pattern changes during processing, the contents of the stream is undefined. + * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. + * + * @return the Stream of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOfm(final ParentTooYoung.Match partialMatch) { + return rawStreamAllValuesOfm(partialMatch.toArray()); + } + + /** + * Retrieve the set of values that occur in matches for m. + *

    + * NOTE: It is important not to modify the source model while the stream is being processed. + * If the match set of the pattern changes during processing, the contents of the stream is undefined. + * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. + * + * @return the Stream of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOfm(final Member pP) { + return rawStreamAllValuesOfm(new Object[]{null, pP}); + } + + /** + * Retrieve the set of values that occur in matches for m. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOfm(final ParentTooYoung.Match partialMatch) { + return rawStreamAllValuesOfm(partialMatch.toArray()).collect(Collectors.toSet()); + } + + /** + * Retrieve the set of values that occur in matches for m. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOfm(final Member pP) { + return rawStreamAllValuesOfm(new Object[]{null, pP}).collect(Collectors.toSet()); + } + + /** + * Retrieve the set of values that occur in matches for p. + * @return the Set of all values or empty set if there are no matches + * + */ + protected Stream rawStreamAllValuesOfp(final Object[] parameters) { + return rawStreamAllValues(POSITION_P, parameters).map(Member.class::cast); + } + + /** + * Retrieve the set of values that occur in matches for p. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOfp() { + return rawStreamAllValuesOfp(emptyArray()).collect(Collectors.toSet()); + } + + /** + * Retrieve the set of values that occur in matches for p. + * @return the Set of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOfp() { + return rawStreamAllValuesOfp(emptyArray()); + } + + /** + * Retrieve the set of values that occur in matches for p. + *

    + * NOTE: It is important not to modify the source model while the stream is being processed. + * If the match set of the pattern changes during processing, the contents of the stream is undefined. + * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. + * + * @return the Stream of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOfp(final ParentTooYoung.Match partialMatch) { + return rawStreamAllValuesOfp(partialMatch.toArray()); + } + + /** + * Retrieve the set of values that occur in matches for p. + *

    + * NOTE: It is important not to modify the source model while the stream is being processed. + * If the match set of the pattern changes during processing, the contents of the stream is undefined. + * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. + * + * @return the Stream of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOfp(final Member pM) { + return rawStreamAllValuesOfp(new Object[]{pM, null}); + } + + /** + * Retrieve the set of values that occur in matches for p. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOfp(final ParentTooYoung.Match partialMatch) { + return rawStreamAllValuesOfp(partialMatch.toArray()).collect(Collectors.toSet()); + } + + /** + * Retrieve the set of values that occur in matches for p. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOfp(final Member pM) { + return rawStreamAllValuesOfp(new Object[]{pM, null}).collect(Collectors.toSet()); + } + + @Override + protected ParentTooYoung.Match tupleToMatch(final Tuple t) { + try { + return ParentTooYoung.Match.newMatch((Member) t.get(POSITION_M), (Member) t.get(POSITION_P)); + } catch(ClassCastException e) { + LOGGER.error("Element(s) in tuple not properly typed!",e); + return null; + } + } + + @Override + protected ParentTooYoung.Match arrayToMatch(final Object[] match) { + try { + return ParentTooYoung.Match.newMatch((Member) match[POSITION_M], (Member) match[POSITION_P]); + } catch(ClassCastException e) { + LOGGER.error("Element(s) in array not properly typed!",e); + return null; + } + } + + @Override + protected ParentTooYoung.Match arrayToMatchMutable(final Object[] match) { + try { + return ParentTooYoung.Match.newMutableMatch((Member) match[POSITION_M], (Member) match[POSITION_P]); + } catch(ClassCastException e) { + LOGGER.error("Element(s) in array not properly typed!",e); + return null; + } + } + + /** + * @return the singleton instance of the query specification of this pattern + * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded + * + */ + public static IQuerySpecification querySpecification() { + return ParentTooYoung.instance(); + } + } + + private ParentTooYoung() { + super(GeneratedPQuery.INSTANCE); + } + + /** + * @return the singleton instance of the query specification + * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded + * + */ + public static ParentTooYoung instance() { + try{ + return LazyHolder.INSTANCE; + } catch (ExceptionInInitializerError err) { + throw processInitializerError(err); + } + } + + @Override + protected ParentTooYoung.Matcher instantiate(final ViatraQueryEngine engine) { + return ParentTooYoung.Matcher.on(engine); + } + + @Override + public ParentTooYoung.Matcher instantiate() { + return ParentTooYoung.Matcher.create(); + } + + @Override + public ParentTooYoung.Match newEmptyMatch() { + return ParentTooYoung.Match.newEmptyMatch(); + } + + @Override + public ParentTooYoung.Match newMatch(final Object... parameters) { + return ParentTooYoung.Match.newMatch((familytree.Member) parameters[0], (familytree.Member) parameters[1]); + } + + /** + * Inner class allowing the singleton instance of {@link ParentTooYoung} to be created + * not at the class load time of the outer class, + * but rather at the first call to {@link ParentTooYoung#instance()}. + * + *

    This workaround is required e.g. to support recursion. + * + */ + private static class LazyHolder { + private static final ParentTooYoung INSTANCE = new ParentTooYoung(); + + /** + * Statically initializes the query specification after the field {@link #INSTANCE} is assigned. + * This initialization order is required to support indirect recursion. + * + *

    The static initializer is defined using a helper field to work around limitations of the code generator. + * + */ + private static final Object STATIC_INITIALIZER = ensureInitialized(); + + public static Object ensureInitialized() { + INSTANCE.ensureInitializedInternal(); + return null; + } + } + + private static class GeneratedPQuery extends BaseGeneratedEMFPQuery { + private static final ParentTooYoung.GeneratedPQuery INSTANCE = new GeneratedPQuery(); + + private final PParameter parameter_m = new PParameter("m", "familytree.Member", new EClassTransitiveInstancesKey((EClass)getClassifierLiteralSafe("http://www.example.org/familytree", "Member")), PParameterDirection.INOUT); + + private final PParameter parameter_p = new PParameter("p", "familytree.Member", new EClassTransitiveInstancesKey((EClass)getClassifierLiteralSafe("http://www.example.org/familytree", "Member")), PParameterDirection.INOUT); + + private final List parameters = Arrays.asList(parameter_m, parameter_p); + + private GeneratedPQuery() { + super(PVisibility.PUBLIC); + } + + @Override + public String getFullyQualifiedName() { + return "queries.parentTooYoung"; + } + + @Override + public List getParameterNames() { + return Arrays.asList("m","p"); + } + + @Override + public List getParameters() { + return parameters; + } + + @Override + public Set doGetContainedBodies() { + setEvaluationHints(new QueryEvaluationHint(null, QueryEvaluationHint.BackendRequirement.UNSPECIFIED)); + Set bodies = new LinkedHashSet<>(); + { + PBody body = new PBody(this); + PVariable var_m = body.getOrCreateVariableByName("m"); + PVariable var_p = body.getOrCreateVariableByName("p"); + PVariable var___0_ = body.getOrCreateVariableByName("_<0>"); + PVariable var_mAge = body.getOrCreateVariableByName("mAge"); + PVariable var_pAge = body.getOrCreateVariableByName("pAge"); + new TypeConstraint(body, Tuples.flatTupleOf(var_m), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.example.org/familytree", "Member"))); + new TypeConstraint(body, Tuples.flatTupleOf(var_p), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.example.org/familytree", "Member"))); + body.setSymbolicParameters(Arrays.asList( + new ExportedParameter(body, var_m, parameter_m), + new ExportedParameter(body, var_p, parameter_p) + )); + // FamilyTree.members(_, m) + new TypeConstraint(body, Tuples.flatTupleOf(var___0_), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.example.org/familytree", "FamilyTree"))); + PVariable var__virtual_0_ = body.getOrCreateVariableByName(".virtual{0}"); + new TypeConstraint(body, Tuples.flatTupleOf(var___0_, var__virtual_0_), new EStructuralFeatureInstancesKey(getFeatureLiteral("http://www.example.org/familytree", "FamilyTree", "members"))); + new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_0_), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.example.org/familytree", "Member"))); + new Equality(body, var__virtual_0_, var_m); + // Member.parents(m, p) + new TypeConstraint(body, Tuples.flatTupleOf(var_m), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.example.org/familytree", "Member"))); + PVariable var__virtual_1_ = body.getOrCreateVariableByName(".virtual{1}"); + new TypeConstraint(body, Tuples.flatTupleOf(var_m, var__virtual_1_), new EStructuralFeatureInstancesKey(getFeatureLiteral("http://www.example.org/familytree", "Member", "parents"))); + new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_1_), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.example.org/familytree", "Member"))); + new Equality(body, var__virtual_1_, var_p); + // Member.age(m, mAge) + new TypeConstraint(body, Tuples.flatTupleOf(var_m), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.example.org/familytree", "Member"))); + PVariable var__virtual_2_ = body.getOrCreateVariableByName(".virtual{2}"); + new TypeConstraint(body, Tuples.flatTupleOf(var_m, var__virtual_2_), new EStructuralFeatureInstancesKey(getFeatureLiteral("http://www.example.org/familytree", "Member", "age"))); + new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_2_), new EDataTypeInSlotsKey((EDataType)getClassifierLiteral("http://www.eclipse.org/emf/2002/Ecore", "EInt"))); + new Equality(body, var__virtual_2_, var_mAge); + // Member.age(p, pAge) + new TypeConstraint(body, Tuples.flatTupleOf(var_p), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.example.org/familytree", "Member"))); + PVariable var__virtual_3_ = body.getOrCreateVariableByName(".virtual{3}"); + new TypeConstraint(body, Tuples.flatTupleOf(var_p, var__virtual_3_), new EStructuralFeatureInstancesKey(getFeatureLiteral("http://www.example.org/familytree", "Member", "age"))); + new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_3_), new EDataTypeInSlotsKey((EDataType)getClassifierLiteral("http://www.eclipse.org/emf/2002/Ecore", "EInt"))); + new Equality(body, var__virtual_3_, var_pAge); + // check (mAge <= (pAge + 12)) + new ExpressionEvaluation(body, new IExpressionEvaluator() { + + @Override + public String getShortDescription() { + return "Expression evaluation from pattern parentTooYoung"; + } + + @Override + public Iterable getInputParameterNames() { + return Arrays.asList("mAge", "pAge");} + + @Override + public Object evaluateExpression(IValueProvider provider) throws Exception { + Integer mAge = (Integer) provider.getValue("mAge"); + Integer pAge = (Integer) provider.getValue("pAge"); + return evaluateExpression_1_1(mAge, pAge); + } + }, null); + bodies.add(body); + } + { + PAnnotation annotation = new PAnnotation("Constraint"); + annotation.addAttribute("message", "parentTooYoung"); + annotation.addAttribute("severity", "error"); + annotation.addAttribute("key", Arrays.asList(new Object[] { + new ParameterReference("m"), + new ParameterReference("p") + })); + addAnnotation(annotation); + } + return bodies; + } + } + + private static boolean evaluateExpression_1_1(final Integer mAge, final Integer pAge) { + return ((mAge).intValue() <= ((pAge).intValue() + 12)); + } +} diff --git a/Tests/MODELS2020-CaseStudies/case.study.familyTree.run/src-gen/queries/TwoMembersHaveNoParent.java b/Tests/MODELS2020-CaseStudies/case.study.familyTree.run/src-gen/queries/TwoMembersHaveNoParent.java index 58ad57a6..365939dd 100644 --- a/Tests/MODELS2020-CaseStudies/case.study.familyTree.run/src-gen/queries/TwoMembersHaveNoParent.java +++ b/Tests/MODELS2020-CaseStudies/case.study.familyTree.run/src-gen/queries/TwoMembersHaveNoParent.java @@ -1,723 +1,723 @@ -/** - * Generated from platform:/resource/case.study.familyTree.run/src/queries/familyTreeConstraints.vql - */ -package queries; - -import familytree.Member; -import java.util.Arrays; -import java.util.Collection; -import java.util.LinkedHashSet; -import java.util.List; -import java.util.Objects; -import java.util.Optional; -import java.util.Set; -import java.util.function.Consumer; -import java.util.stream.Collectors; -import java.util.stream.Stream; -import org.apache.log4j.Logger; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.viatra.query.runtime.api.IPatternMatch; -import org.eclipse.viatra.query.runtime.api.IQuerySpecification; -import org.eclipse.viatra.query.runtime.api.ViatraQueryEngine; -import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFPQuery; -import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFQuerySpecification; -import org.eclipse.viatra.query.runtime.api.impl.BaseMatcher; -import org.eclipse.viatra.query.runtime.api.impl.BasePatternMatch; -import org.eclipse.viatra.query.runtime.emf.types.EClassTransitiveInstancesKey; -import org.eclipse.viatra.query.runtime.matchers.backend.QueryEvaluationHint; -import org.eclipse.viatra.query.runtime.matchers.psystem.PBody; -import org.eclipse.viatra.query.runtime.matchers.psystem.PVariable; -import org.eclipse.viatra.query.runtime.matchers.psystem.annotations.PAnnotation; -import org.eclipse.viatra.query.runtime.matchers.psystem.annotations.ParameterReference; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.ExportedParameter; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.Inequality; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.NegativePatternCall; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicenumerables.TypeConstraint; -import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameter; -import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameterDirection; -import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PVisibility; -import org.eclipse.viatra.query.runtime.matchers.tuple.Tuple; -import org.eclipse.viatra.query.runtime.matchers.tuple.Tuples; -import org.eclipse.viatra.query.runtime.util.ViatraQueryLoggingUtil; -import queries.MemberHasParent; - -/** - * A pattern-specific query specification that can instantiate Matcher in a type-safe way. - * - *

    Original source: - *

    - *         {@literal @}Constraint(message="twoMembersHaveNoParent", severity="error", key={m1, m2})
    - *         pattern twoMembersHaveNoParent(m1:Member, m2:Member) = {
    - *         	neg find memberHasParent(m1);
    - *         	neg find memberHasParent(m2);
    - *         	m1 != m2;
    - *         }
    - * 
    - * - * @see Matcher - * @see Match - * - */ -@SuppressWarnings("all") -public final class TwoMembersHaveNoParent extends BaseGeneratedEMFQuerySpecification { - /** - * Pattern-specific match representation of the queries.twoMembersHaveNoParent pattern, - * to be used in conjunction with {@link Matcher}. - * - *

    Class fields correspond to parameters of the pattern. Fields with value null are considered unassigned. - * Each instance is a (possibly partial) substitution of pattern parameters, - * usable to represent a match of the pattern in the result of a query, - * or to specify the bound (fixed) input parameters when issuing a query. - * - * @see Matcher - * - */ - public static abstract class Match extends BasePatternMatch { - private Member fM1; - - private Member fM2; - - private static List parameterNames = makeImmutableList("m1", "m2"); - - private Match(final Member pM1, final Member pM2) { - this.fM1 = pM1; - this.fM2 = pM2; - } - - @Override - public Object get(final String parameterName) { - switch(parameterName) { - case "m1": return this.fM1; - case "m2": return this.fM2; - default: return null; - } - } - - @Override - public Object get(final int index) { - switch(index) { - case 0: return this.fM1; - case 1: return this.fM2; - default: return null; - } - } - - public Member getM1() { - return this.fM1; - } - - public Member getM2() { - return this.fM2; - } - - @Override - public boolean set(final String parameterName, final Object newValue) { - if (!isMutable()) throw new java.lang.UnsupportedOperationException(); - if ("m1".equals(parameterName) ) { - this.fM1 = (Member) newValue; - return true; - } - if ("m2".equals(parameterName) ) { - this.fM2 = (Member) newValue; - return true; - } - return false; - } - - public void setM1(final Member pM1) { - if (!isMutable()) throw new java.lang.UnsupportedOperationException(); - this.fM1 = pM1; - } - - public void setM2(final Member pM2) { - if (!isMutable()) throw new java.lang.UnsupportedOperationException(); - this.fM2 = pM2; - } - - @Override - public String patternName() { - return "queries.twoMembersHaveNoParent"; - } - - @Override - public List parameterNames() { - return TwoMembersHaveNoParent.Match.parameterNames; - } - - @Override - public Object[] toArray() { - return new Object[]{fM1, fM2}; - } - - @Override - public TwoMembersHaveNoParent.Match toImmutable() { - return isMutable() ? newMatch(fM1, fM2) : this; - } - - @Override - public String prettyPrint() { - StringBuilder result = new StringBuilder(); - result.append("\"m1\"=" + prettyPrintValue(fM1) + ", "); - result.append("\"m2\"=" + prettyPrintValue(fM2)); - return result.toString(); - } - - @Override - public int hashCode() { - return Objects.hash(fM1, fM2); - } - - @Override - public boolean equals(final Object obj) { - if (this == obj) - return true; - if (obj == null) { - return false; - } - if ((obj instanceof TwoMembersHaveNoParent.Match)) { - TwoMembersHaveNoParent.Match other = (TwoMembersHaveNoParent.Match) obj; - return Objects.equals(fM1, other.fM1) && Objects.equals(fM2, other.fM2); - } else { - // this should be infrequent - if (!(obj instanceof IPatternMatch)) { - return false; - } - IPatternMatch otherSig = (IPatternMatch) obj; - return Objects.equals(specification(), otherSig.specification()) && Arrays.deepEquals(toArray(), otherSig.toArray()); - } - } - - @Override - public TwoMembersHaveNoParent specification() { - return TwoMembersHaveNoParent.instance(); - } - - /** - * Returns an empty, mutable match. - * Fields of the mutable match can be filled to create a partial match, usable as matcher input. - * - * @return the empty match. - * - */ - public static TwoMembersHaveNoParent.Match newEmptyMatch() { - return new Mutable(null, null); - } - - /** - * Returns a mutable (partial) match. - * Fields of the mutable match can be filled to create a partial match, usable as matcher input. - * - * @param pM1 the fixed value of pattern parameter m1, or null if not bound. - * @param pM2 the fixed value of pattern parameter m2, or null if not bound. - * @return the new, mutable (partial) match object. - * - */ - public static TwoMembersHaveNoParent.Match newMutableMatch(final Member pM1, final Member pM2) { - return new Mutable(pM1, pM2); - } - - /** - * Returns a new (partial) match. - * This can be used e.g. to call the matcher with a partial match. - *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. - * @param pM1 the fixed value of pattern parameter m1, or null if not bound. - * @param pM2 the fixed value of pattern parameter m2, or null if not bound. - * @return the (partial) match object. - * - */ - public static TwoMembersHaveNoParent.Match newMatch(final Member pM1, final Member pM2) { - return new Immutable(pM1, pM2); - } - - private static final class Mutable extends TwoMembersHaveNoParent.Match { - Mutable(final Member pM1, final Member pM2) { - super(pM1, pM2); - } - - @Override - public boolean isMutable() { - return true; - } - } - - private static final class Immutable extends TwoMembersHaveNoParent.Match { - Immutable(final Member pM1, final Member pM2) { - super(pM1, pM2); - } - - @Override - public boolean isMutable() { - return false; - } - } - } - - /** - * Generated pattern matcher API of the queries.twoMembersHaveNoParent pattern, - * providing pattern-specific query methods. - * - *

    Use the pattern matcher on a given model via {@link #on(ViatraQueryEngine)}, - * e.g. in conjunction with {@link ViatraQueryEngine#on(QueryScope)}. - * - *

    Matches of the pattern will be represented as {@link Match}. - * - *

    Original source: - *

    -   * {@literal @}Constraint(message="twoMembersHaveNoParent", severity="error", key={m1, m2})
    -   * pattern twoMembersHaveNoParent(m1:Member, m2:Member) = {
    -   * 	neg find memberHasParent(m1);
    -   * 	neg find memberHasParent(m2);
    -   * 	m1 != m2;
    -   * }
    -   * 
    - * - * @see Match - * @see TwoMembersHaveNoParent - * - */ - public static class Matcher extends BaseMatcher { - /** - * Initializes the pattern matcher within an existing VIATRA Query engine. - * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. - * - * @param engine the existing VIATRA Query engine in which this matcher will be created. - * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation - * - */ - public static TwoMembersHaveNoParent.Matcher on(final ViatraQueryEngine engine) { - // check if matcher already exists - Matcher matcher = engine.getExistingMatcher(querySpecification()); - if (matcher == null) { - matcher = (Matcher)engine.getMatcher(querySpecification()); - } - return matcher; - } - - /** - * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation - * @return an initialized matcher - * @noreference This method is for internal matcher initialization by the framework, do not call it manually. - * - */ - public static TwoMembersHaveNoParent.Matcher create() { - return new Matcher(); - } - - private static final int POSITION_M1 = 0; - - private static final int POSITION_M2 = 1; - - private static final Logger LOGGER = ViatraQueryLoggingUtil.getLogger(TwoMembersHaveNoParent.Matcher.class); - - /** - * Initializes the pattern matcher within an existing VIATRA Query engine. - * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. - * - * @param engine the existing VIATRA Query engine in which this matcher will be created. - * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation - * - */ - private Matcher() { - super(querySpecification()); - } - - /** - * Returns the set of all matches of the pattern that conform to the given fixed values of some parameters. - * @param pM1 the fixed value of pattern parameter m1, or null if not bound. - * @param pM2 the fixed value of pattern parameter m2, or null if not bound. - * @return matches represented as a Match object. - * - */ - public Collection getAllMatches(final Member pM1, final Member pM2) { - return rawStreamAllMatches(new Object[]{pM1, pM2}).collect(Collectors.toSet()); - } - - /** - * Returns a stream of all matches of the pattern that conform to the given fixed values of some parameters. - *

    - * NOTE: It is important not to modify the source model while the stream is being processed. - * If the match set of the pattern changes during processing, the contents of the stream is undefined. - * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. - * @param pM1 the fixed value of pattern parameter m1, or null if not bound. - * @param pM2 the fixed value of pattern parameter m2, or null if not bound. - * @return a stream of matches represented as a Match object. - * - */ - public Stream streamAllMatches(final Member pM1, final Member pM2) { - return rawStreamAllMatches(new Object[]{pM1, pM2}); - } - - /** - * Returns an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. - * Neither determinism nor randomness of selection is guaranteed. - * @param pM1 the fixed value of pattern parameter m1, or null if not bound. - * @param pM2 the fixed value of pattern parameter m2, or null if not bound. - * @return a match represented as a Match object, or null if no match is found. - * - */ - public Optional getOneArbitraryMatch(final Member pM1, final Member pM2) { - return rawGetOneArbitraryMatch(new Object[]{pM1, pM2}); - } - - /** - * Indicates whether the given combination of specified pattern parameters constitute a valid pattern match, - * under any possible substitution of the unspecified parameters (if any). - * @param pM1 the fixed value of pattern parameter m1, or null if not bound. - * @param pM2 the fixed value of pattern parameter m2, or null if not bound. - * @return true if the input is a valid (partial) match of the pattern. - * - */ - public boolean hasMatch(final Member pM1, final Member pM2) { - return rawHasMatch(new Object[]{pM1, pM2}); - } - - /** - * Returns the number of all matches of the pattern that conform to the given fixed values of some parameters. - * @param pM1 the fixed value of pattern parameter m1, or null if not bound. - * @param pM2 the fixed value of pattern parameter m2, or null if not bound. - * @return the number of pattern matches found. - * - */ - public int countMatches(final Member pM1, final Member pM2) { - return rawCountMatches(new Object[]{pM1, pM2}); - } - - /** - * Executes the given processor on an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. - * Neither determinism nor randomness of selection is guaranteed. - * @param pM1 the fixed value of pattern parameter m1, or null if not bound. - * @param pM2 the fixed value of pattern parameter m2, or null if not bound. - * @param processor the action that will process the selected match. - * @return true if the pattern has at least one match with the given parameter values, false if the processor was not invoked - * - */ - public boolean forOneArbitraryMatch(final Member pM1, final Member pM2, final Consumer processor) { - return rawForOneArbitraryMatch(new Object[]{pM1, pM2}, processor); - } - - /** - * Returns a new (partial) match. - * This can be used e.g. to call the matcher with a partial match. - *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. - * @param pM1 the fixed value of pattern parameter m1, or null if not bound. - * @param pM2 the fixed value of pattern parameter m2, or null if not bound. - * @return the (partial) match object. - * - */ - public TwoMembersHaveNoParent.Match newMatch(final Member pM1, final Member pM2) { - return TwoMembersHaveNoParent.Match.newMatch(pM1, pM2); - } - - /** - * Retrieve the set of values that occur in matches for m1. - * @return the Set of all values or empty set if there are no matches - * - */ - protected Stream rawStreamAllValuesOfm1(final Object[] parameters) { - return rawStreamAllValues(POSITION_M1, parameters).map(Member.class::cast); - } - - /** - * Retrieve the set of values that occur in matches for m1. - * @return the Set of all values or empty set if there are no matches - * - */ - public Set getAllValuesOfm1() { - return rawStreamAllValuesOfm1(emptyArray()).collect(Collectors.toSet()); - } - - /** - * Retrieve the set of values that occur in matches for m1. - * @return the Set of all values or empty set if there are no matches - * - */ - public Stream streamAllValuesOfm1() { - return rawStreamAllValuesOfm1(emptyArray()); - } - - /** - * Retrieve the set of values that occur in matches for m1. - *

    - * NOTE: It is important not to modify the source model while the stream is being processed. - * If the match set of the pattern changes during processing, the contents of the stream is undefined. - * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. - * - * @return the Stream of all values or empty set if there are no matches - * - */ - public Stream streamAllValuesOfm1(final TwoMembersHaveNoParent.Match partialMatch) { - return rawStreamAllValuesOfm1(partialMatch.toArray()); - } - - /** - * Retrieve the set of values that occur in matches for m1. - *

    - * NOTE: It is important not to modify the source model while the stream is being processed. - * If the match set of the pattern changes during processing, the contents of the stream is undefined. - * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. - * - * @return the Stream of all values or empty set if there are no matches - * - */ - public Stream streamAllValuesOfm1(final Member pM2) { - return rawStreamAllValuesOfm1(new Object[]{null, pM2}); - } - - /** - * Retrieve the set of values that occur in matches for m1. - * @return the Set of all values or empty set if there are no matches - * - */ - public Set getAllValuesOfm1(final TwoMembersHaveNoParent.Match partialMatch) { - return rawStreamAllValuesOfm1(partialMatch.toArray()).collect(Collectors.toSet()); - } - - /** - * Retrieve the set of values that occur in matches for m1. - * @return the Set of all values or empty set if there are no matches - * - */ - public Set getAllValuesOfm1(final Member pM2) { - return rawStreamAllValuesOfm1(new Object[]{null, pM2}).collect(Collectors.toSet()); - } - - /** - * Retrieve the set of values that occur in matches for m2. - * @return the Set of all values or empty set if there are no matches - * - */ - protected Stream rawStreamAllValuesOfm2(final Object[] parameters) { - return rawStreamAllValues(POSITION_M2, parameters).map(Member.class::cast); - } - - /** - * Retrieve the set of values that occur in matches for m2. - * @return the Set of all values or empty set if there are no matches - * - */ - public Set getAllValuesOfm2() { - return rawStreamAllValuesOfm2(emptyArray()).collect(Collectors.toSet()); - } - - /** - * Retrieve the set of values that occur in matches for m2. - * @return the Set of all values or empty set if there are no matches - * - */ - public Stream streamAllValuesOfm2() { - return rawStreamAllValuesOfm2(emptyArray()); - } - - /** - * Retrieve the set of values that occur in matches for m2. - *

    - * NOTE: It is important not to modify the source model while the stream is being processed. - * If the match set of the pattern changes during processing, the contents of the stream is undefined. - * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. - * - * @return the Stream of all values or empty set if there are no matches - * - */ - public Stream streamAllValuesOfm2(final TwoMembersHaveNoParent.Match partialMatch) { - return rawStreamAllValuesOfm2(partialMatch.toArray()); - } - - /** - * Retrieve the set of values that occur in matches for m2. - *

    - * NOTE: It is important not to modify the source model while the stream is being processed. - * If the match set of the pattern changes during processing, the contents of the stream is undefined. - * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. - * - * @return the Stream of all values or empty set if there are no matches - * - */ - public Stream streamAllValuesOfm2(final Member pM1) { - return rawStreamAllValuesOfm2(new Object[]{pM1, null}); - } - - /** - * Retrieve the set of values that occur in matches for m2. - * @return the Set of all values or empty set if there are no matches - * - */ - public Set getAllValuesOfm2(final TwoMembersHaveNoParent.Match partialMatch) { - return rawStreamAllValuesOfm2(partialMatch.toArray()).collect(Collectors.toSet()); - } - - /** - * Retrieve the set of values that occur in matches for m2. - * @return the Set of all values or empty set if there are no matches - * - */ - public Set getAllValuesOfm2(final Member pM1) { - return rawStreamAllValuesOfm2(new Object[]{pM1, null}).collect(Collectors.toSet()); - } - - @Override - protected TwoMembersHaveNoParent.Match tupleToMatch(final Tuple t) { - try { - return TwoMembersHaveNoParent.Match.newMatch((Member) t.get(POSITION_M1), (Member) t.get(POSITION_M2)); - } catch(ClassCastException e) { - LOGGER.error("Element(s) in tuple not properly typed!",e); - return null; - } - } - - @Override - protected TwoMembersHaveNoParent.Match arrayToMatch(final Object[] match) { - try { - return TwoMembersHaveNoParent.Match.newMatch((Member) match[POSITION_M1], (Member) match[POSITION_M2]); - } catch(ClassCastException e) { - LOGGER.error("Element(s) in array not properly typed!",e); - return null; - } - } - - @Override - protected TwoMembersHaveNoParent.Match arrayToMatchMutable(final Object[] match) { - try { - return TwoMembersHaveNoParent.Match.newMutableMatch((Member) match[POSITION_M1], (Member) match[POSITION_M2]); - } catch(ClassCastException e) { - LOGGER.error("Element(s) in array not properly typed!",e); - return null; - } - } - - /** - * @return the singleton instance of the query specification of this pattern - * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded - * - */ - public static IQuerySpecification querySpecification() { - return TwoMembersHaveNoParent.instance(); - } - } - - private TwoMembersHaveNoParent() { - super(GeneratedPQuery.INSTANCE); - } - - /** - * @return the singleton instance of the query specification - * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded - * - */ - public static TwoMembersHaveNoParent instance() { - try{ - return LazyHolder.INSTANCE; - } catch (ExceptionInInitializerError err) { - throw processInitializerError(err); - } - } - - @Override - protected TwoMembersHaveNoParent.Matcher instantiate(final ViatraQueryEngine engine) { - return TwoMembersHaveNoParent.Matcher.on(engine); - } - - @Override - public TwoMembersHaveNoParent.Matcher instantiate() { - return TwoMembersHaveNoParent.Matcher.create(); - } - - @Override - public TwoMembersHaveNoParent.Match newEmptyMatch() { - return TwoMembersHaveNoParent.Match.newEmptyMatch(); - } - - @Override - public TwoMembersHaveNoParent.Match newMatch(final Object... parameters) { - return TwoMembersHaveNoParent.Match.newMatch((familytree.Member) parameters[0], (familytree.Member) parameters[1]); - } - - /** - * Inner class allowing the singleton instance of {@link TwoMembersHaveNoParent} to be created - * not at the class load time of the outer class, - * but rather at the first call to {@link TwoMembersHaveNoParent#instance()}. - * - *

    This workaround is required e.g. to support recursion. - * - */ - private static class LazyHolder { - private static final TwoMembersHaveNoParent INSTANCE = new TwoMembersHaveNoParent(); - - /** - * Statically initializes the query specification after the field {@link #INSTANCE} is assigned. - * This initialization order is required to support indirect recursion. - * - *

    The static initializer is defined using a helper field to work around limitations of the code generator. - * - */ - private static final Object STATIC_INITIALIZER = ensureInitialized(); - - public static Object ensureInitialized() { - INSTANCE.ensureInitializedInternal(); - return null; - } - } - - private static class GeneratedPQuery extends BaseGeneratedEMFPQuery { - private static final TwoMembersHaveNoParent.GeneratedPQuery INSTANCE = new GeneratedPQuery(); - - private final PParameter parameter_m1 = new PParameter("m1", "familytree.Member", new EClassTransitiveInstancesKey((EClass)getClassifierLiteralSafe("http://www.example.org/familytree", "Member")), PParameterDirection.INOUT); - - private final PParameter parameter_m2 = new PParameter("m2", "familytree.Member", new EClassTransitiveInstancesKey((EClass)getClassifierLiteralSafe("http://www.example.org/familytree", "Member")), PParameterDirection.INOUT); - - private final List parameters = Arrays.asList(parameter_m1, parameter_m2); - - private GeneratedPQuery() { - super(PVisibility.PUBLIC); - } - - @Override - public String getFullyQualifiedName() { - return "queries.twoMembersHaveNoParent"; - } - - @Override - public List getParameterNames() { - return Arrays.asList("m1","m2"); - } - - @Override - public List getParameters() { - return parameters; - } - - @Override - public Set doGetContainedBodies() { - setEvaluationHints(new QueryEvaluationHint(null, QueryEvaluationHint.BackendRequirement.UNSPECIFIED)); - Set bodies = new LinkedHashSet<>(); - { - PBody body = new PBody(this); - PVariable var_m1 = body.getOrCreateVariableByName("m1"); - PVariable var_m2 = body.getOrCreateVariableByName("m2"); - new TypeConstraint(body, Tuples.flatTupleOf(var_m1), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.example.org/familytree", "Member"))); - new TypeConstraint(body, Tuples.flatTupleOf(var_m2), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.example.org/familytree", "Member"))); - body.setSymbolicParameters(Arrays.asList( - new ExportedParameter(body, var_m1, parameter_m1), - new ExportedParameter(body, var_m2, parameter_m2) - )); - // neg find memberHasParent(m1) - new NegativePatternCall(body, Tuples.flatTupleOf(var_m1), MemberHasParent.instance().getInternalQueryRepresentation()); - // neg find memberHasParent(m2) - new NegativePatternCall(body, Tuples.flatTupleOf(var_m2), MemberHasParent.instance().getInternalQueryRepresentation()); - // m1 != m2 - new Inequality(body, var_m1, var_m2); - bodies.add(body); - } - { - PAnnotation annotation = new PAnnotation("Constraint"); - annotation.addAttribute("message", "twoMembersHaveNoParent"); - annotation.addAttribute("severity", "error"); - annotation.addAttribute("key", Arrays.asList(new Object[] { - new ParameterReference("m1"), - new ParameterReference("m2") - })); - addAnnotation(annotation); - } - return bodies; - } - } -} +/** + * Generated from platform:/resource/case.study.familyTree.run/src/queries/familyTreeConstraints.vql + */ +package queries; + +import familytree.Member; +import java.util.Arrays; +import java.util.Collection; +import java.util.LinkedHashSet; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import java.util.Set; +import java.util.function.Consumer; +import java.util.stream.Collectors; +import java.util.stream.Stream; +import org.apache.log4j.Logger; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.viatra.query.runtime.api.IPatternMatch; +import org.eclipse.viatra.query.runtime.api.IQuerySpecification; +import org.eclipse.viatra.query.runtime.api.ViatraQueryEngine; +import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFPQuery; +import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFQuerySpecification; +import org.eclipse.viatra.query.runtime.api.impl.BaseMatcher; +import org.eclipse.viatra.query.runtime.api.impl.BasePatternMatch; +import org.eclipse.viatra.query.runtime.emf.types.EClassTransitiveInstancesKey; +import org.eclipse.viatra.query.runtime.matchers.backend.QueryEvaluationHint; +import org.eclipse.viatra.query.runtime.matchers.psystem.PBody; +import org.eclipse.viatra.query.runtime.matchers.psystem.PVariable; +import org.eclipse.viatra.query.runtime.matchers.psystem.annotations.PAnnotation; +import org.eclipse.viatra.query.runtime.matchers.psystem.annotations.ParameterReference; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.ExportedParameter; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.Inequality; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.NegativePatternCall; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicenumerables.TypeConstraint; +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameter; +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameterDirection; +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PVisibility; +import org.eclipse.viatra.query.runtime.matchers.tuple.Tuple; +import org.eclipse.viatra.query.runtime.matchers.tuple.Tuples; +import org.eclipse.viatra.query.runtime.util.ViatraQueryLoggingUtil; +import queries.MemberHasParent; + +/** + * A pattern-specific query specification that can instantiate Matcher in a type-safe way. + * + *

    Original source: + *

    + *         {@literal @}Constraint(message="twoMembersHaveNoParent", severity="error", key={m1, m2})
    + *         pattern twoMembersHaveNoParent(m1:Member, m2:Member) = {
    + *         	neg find memberHasParent(m1);
    + *         	neg find memberHasParent(m2);
    + *         	m1 != m2;
    + *         }
    + * 
    + * + * @see Matcher + * @see Match + * + */ +@SuppressWarnings("all") +public final class TwoMembersHaveNoParent extends BaseGeneratedEMFQuerySpecification { + /** + * Pattern-specific match representation of the queries.twoMembersHaveNoParent pattern, + * to be used in conjunction with {@link Matcher}. + * + *

    Class fields correspond to parameters of the pattern. Fields with value null are considered unassigned. + * Each instance is a (possibly partial) substitution of pattern parameters, + * usable to represent a match of the pattern in the result of a query, + * or to specify the bound (fixed) input parameters when issuing a query. + * + * @see Matcher + * + */ + public static abstract class Match extends BasePatternMatch { + private Member fM1; + + private Member fM2; + + private static List parameterNames = makeImmutableList("m1", "m2"); + + private Match(final Member pM1, final Member pM2) { + this.fM1 = pM1; + this.fM2 = pM2; + } + + @Override + public Object get(final String parameterName) { + switch(parameterName) { + case "m1": return this.fM1; + case "m2": return this.fM2; + default: return null; + } + } + + @Override + public Object get(final int index) { + switch(index) { + case 0: return this.fM1; + case 1: return this.fM2; + default: return null; + } + } + + public Member getM1() { + return this.fM1; + } + + public Member getM2() { + return this.fM2; + } + + @Override + public boolean set(final String parameterName, final Object newValue) { + if (!isMutable()) throw new java.lang.UnsupportedOperationException(); + if ("m1".equals(parameterName) ) { + this.fM1 = (Member) newValue; + return true; + } + if ("m2".equals(parameterName) ) { + this.fM2 = (Member) newValue; + return true; + } + return false; + } + + public void setM1(final Member pM1) { + if (!isMutable()) throw new java.lang.UnsupportedOperationException(); + this.fM1 = pM1; + } + + public void setM2(final Member pM2) { + if (!isMutable()) throw new java.lang.UnsupportedOperationException(); + this.fM2 = pM2; + } + + @Override + public String patternName() { + return "queries.twoMembersHaveNoParent"; + } + + @Override + public List parameterNames() { + return TwoMembersHaveNoParent.Match.parameterNames; + } + + @Override + public Object[] toArray() { + return new Object[]{fM1, fM2}; + } + + @Override + public TwoMembersHaveNoParent.Match toImmutable() { + return isMutable() ? newMatch(fM1, fM2) : this; + } + + @Override + public String prettyPrint() { + StringBuilder result = new StringBuilder(); + result.append("\"m1\"=" + prettyPrintValue(fM1) + ", "); + result.append("\"m2\"=" + prettyPrintValue(fM2)); + return result.toString(); + } + + @Override + public int hashCode() { + return Objects.hash(fM1, fM2); + } + + @Override + public boolean equals(final Object obj) { + if (this == obj) + return true; + if (obj == null) { + return false; + } + if ((obj instanceof TwoMembersHaveNoParent.Match)) { + TwoMembersHaveNoParent.Match other = (TwoMembersHaveNoParent.Match) obj; + return Objects.equals(fM1, other.fM1) && Objects.equals(fM2, other.fM2); + } else { + // this should be infrequent + if (!(obj instanceof IPatternMatch)) { + return false; + } + IPatternMatch otherSig = (IPatternMatch) obj; + return Objects.equals(specification(), otherSig.specification()) && Arrays.deepEquals(toArray(), otherSig.toArray()); + } + } + + @Override + public TwoMembersHaveNoParent specification() { + return TwoMembersHaveNoParent.instance(); + } + + /** + * Returns an empty, mutable match. + * Fields of the mutable match can be filled to create a partial match, usable as matcher input. + * + * @return the empty match. + * + */ + public static TwoMembersHaveNoParent.Match newEmptyMatch() { + return new Mutable(null, null); + } + + /** + * Returns a mutable (partial) match. + * Fields of the mutable match can be filled to create a partial match, usable as matcher input. + * + * @param pM1 the fixed value of pattern parameter m1, or null if not bound. + * @param pM2 the fixed value of pattern parameter m2, or null if not bound. + * @return the new, mutable (partial) match object. + * + */ + public static TwoMembersHaveNoParent.Match newMutableMatch(final Member pM1, final Member pM2) { + return new Mutable(pM1, pM2); + } + + /** + * Returns a new (partial) match. + * This can be used e.g. to call the matcher with a partial match. + *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. + * @param pM1 the fixed value of pattern parameter m1, or null if not bound. + * @param pM2 the fixed value of pattern parameter m2, or null if not bound. + * @return the (partial) match object. + * + */ + public static TwoMembersHaveNoParent.Match newMatch(final Member pM1, final Member pM2) { + return new Immutable(pM1, pM2); + } + + private static final class Mutable extends TwoMembersHaveNoParent.Match { + Mutable(final Member pM1, final Member pM2) { + super(pM1, pM2); + } + + @Override + public boolean isMutable() { + return true; + } + } + + private static final class Immutable extends TwoMembersHaveNoParent.Match { + Immutable(final Member pM1, final Member pM2) { + super(pM1, pM2); + } + + @Override + public boolean isMutable() { + return false; + } + } + } + + /** + * Generated pattern matcher API of the queries.twoMembersHaveNoParent pattern, + * providing pattern-specific query methods. + * + *

    Use the pattern matcher on a given model via {@link #on(ViatraQueryEngine)}, + * e.g. in conjunction with {@link ViatraQueryEngine#on(QueryScope)}. + * + *

    Matches of the pattern will be represented as {@link Match}. + * + *

    Original source: + *

    +   * {@literal @}Constraint(message="twoMembersHaveNoParent", severity="error", key={m1, m2})
    +   * pattern twoMembersHaveNoParent(m1:Member, m2:Member) = {
    +   * 	neg find memberHasParent(m1);
    +   * 	neg find memberHasParent(m2);
    +   * 	m1 != m2;
    +   * }
    +   * 
    + * + * @see Match + * @see TwoMembersHaveNoParent + * + */ + public static class Matcher extends BaseMatcher { + /** + * Initializes the pattern matcher within an existing VIATRA Query engine. + * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. + * + * @param engine the existing VIATRA Query engine in which this matcher will be created. + * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation + * + */ + public static TwoMembersHaveNoParent.Matcher on(final ViatraQueryEngine engine) { + // check if matcher already exists + Matcher matcher = engine.getExistingMatcher(querySpecification()); + if (matcher == null) { + matcher = (Matcher)engine.getMatcher(querySpecification()); + } + return matcher; + } + + /** + * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation + * @return an initialized matcher + * @noreference This method is for internal matcher initialization by the framework, do not call it manually. + * + */ + public static TwoMembersHaveNoParent.Matcher create() { + return new Matcher(); + } + + private static final int POSITION_M1 = 0; + + private static final int POSITION_M2 = 1; + + private static final Logger LOGGER = ViatraQueryLoggingUtil.getLogger(TwoMembersHaveNoParent.Matcher.class); + + /** + * Initializes the pattern matcher within an existing VIATRA Query engine. + * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. + * + * @param engine the existing VIATRA Query engine in which this matcher will be created. + * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation + * + */ + private Matcher() { + super(querySpecification()); + } + + /** + * Returns the set of all matches of the pattern that conform to the given fixed values of some parameters. + * @param pM1 the fixed value of pattern parameter m1, or null if not bound. + * @param pM2 the fixed value of pattern parameter m2, or null if not bound. + * @return matches represented as a Match object. + * + */ + public Collection getAllMatches(final Member pM1, final Member pM2) { + return rawStreamAllMatches(new Object[]{pM1, pM2}).collect(Collectors.toSet()); + } + + /** + * Returns a stream of all matches of the pattern that conform to the given fixed values of some parameters. + *

    + * NOTE: It is important not to modify the source model while the stream is being processed. + * If the match set of the pattern changes during processing, the contents of the stream is undefined. + * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. + * @param pM1 the fixed value of pattern parameter m1, or null if not bound. + * @param pM2 the fixed value of pattern parameter m2, or null if not bound. + * @return a stream of matches represented as a Match object. + * + */ + public Stream streamAllMatches(final Member pM1, final Member pM2) { + return rawStreamAllMatches(new Object[]{pM1, pM2}); + } + + /** + * Returns an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. + * Neither determinism nor randomness of selection is guaranteed. + * @param pM1 the fixed value of pattern parameter m1, or null if not bound. + * @param pM2 the fixed value of pattern parameter m2, or null if not bound. + * @return a match represented as a Match object, or null if no match is found. + * + */ + public Optional getOneArbitraryMatch(final Member pM1, final Member pM2) { + return rawGetOneArbitraryMatch(new Object[]{pM1, pM2}); + } + + /** + * Indicates whether the given combination of specified pattern parameters constitute a valid pattern match, + * under any possible substitution of the unspecified parameters (if any). + * @param pM1 the fixed value of pattern parameter m1, or null if not bound. + * @param pM2 the fixed value of pattern parameter m2, or null if not bound. + * @return true if the input is a valid (partial) match of the pattern. + * + */ + public boolean hasMatch(final Member pM1, final Member pM2) { + return rawHasMatch(new Object[]{pM1, pM2}); + } + + /** + * Returns the number of all matches of the pattern that conform to the given fixed values of some parameters. + * @param pM1 the fixed value of pattern parameter m1, or null if not bound. + * @param pM2 the fixed value of pattern parameter m2, or null if not bound. + * @return the number of pattern matches found. + * + */ + public int countMatches(final Member pM1, final Member pM2) { + return rawCountMatches(new Object[]{pM1, pM2}); + } + + /** + * Executes the given processor on an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. + * Neither determinism nor randomness of selection is guaranteed. + * @param pM1 the fixed value of pattern parameter m1, or null if not bound. + * @param pM2 the fixed value of pattern parameter m2, or null if not bound. + * @param processor the action that will process the selected match. + * @return true if the pattern has at least one match with the given parameter values, false if the processor was not invoked + * + */ + public boolean forOneArbitraryMatch(final Member pM1, final Member pM2, final Consumer processor) { + return rawForOneArbitraryMatch(new Object[]{pM1, pM2}, processor); + } + + /** + * Returns a new (partial) match. + * This can be used e.g. to call the matcher with a partial match. + *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. + * @param pM1 the fixed value of pattern parameter m1, or null if not bound. + * @param pM2 the fixed value of pattern parameter m2, or null if not bound. + * @return the (partial) match object. + * + */ + public TwoMembersHaveNoParent.Match newMatch(final Member pM1, final Member pM2) { + return TwoMembersHaveNoParent.Match.newMatch(pM1, pM2); + } + + /** + * Retrieve the set of values that occur in matches for m1. + * @return the Set of all values or empty set if there are no matches + * + */ + protected Stream rawStreamAllValuesOfm1(final Object[] parameters) { + return rawStreamAllValues(POSITION_M1, parameters).map(Member.class::cast); + } + + /** + * Retrieve the set of values that occur in matches for m1. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOfm1() { + return rawStreamAllValuesOfm1(emptyArray()).collect(Collectors.toSet()); + } + + /** + * Retrieve the set of values that occur in matches for m1. + * @return the Set of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOfm1() { + return rawStreamAllValuesOfm1(emptyArray()); + } + + /** + * Retrieve the set of values that occur in matches for m1. + *

    + * NOTE: It is important not to modify the source model while the stream is being processed. + * If the match set of the pattern changes during processing, the contents of the stream is undefined. + * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. + * + * @return the Stream of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOfm1(final TwoMembersHaveNoParent.Match partialMatch) { + return rawStreamAllValuesOfm1(partialMatch.toArray()); + } + + /** + * Retrieve the set of values that occur in matches for m1. + *

    + * NOTE: It is important not to modify the source model while the stream is being processed. + * If the match set of the pattern changes during processing, the contents of the stream is undefined. + * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. + * + * @return the Stream of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOfm1(final Member pM2) { + return rawStreamAllValuesOfm1(new Object[]{null, pM2}); + } + + /** + * Retrieve the set of values that occur in matches for m1. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOfm1(final TwoMembersHaveNoParent.Match partialMatch) { + return rawStreamAllValuesOfm1(partialMatch.toArray()).collect(Collectors.toSet()); + } + + /** + * Retrieve the set of values that occur in matches for m1. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOfm1(final Member pM2) { + return rawStreamAllValuesOfm1(new Object[]{null, pM2}).collect(Collectors.toSet()); + } + + /** + * Retrieve the set of values that occur in matches for m2. + * @return the Set of all values or empty set if there are no matches + * + */ + protected Stream rawStreamAllValuesOfm2(final Object[] parameters) { + return rawStreamAllValues(POSITION_M2, parameters).map(Member.class::cast); + } + + /** + * Retrieve the set of values that occur in matches for m2. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOfm2() { + return rawStreamAllValuesOfm2(emptyArray()).collect(Collectors.toSet()); + } + + /** + * Retrieve the set of values that occur in matches for m2. + * @return the Set of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOfm2() { + return rawStreamAllValuesOfm2(emptyArray()); + } + + /** + * Retrieve the set of values that occur in matches for m2. + *

    + * NOTE: It is important not to modify the source model while the stream is being processed. + * If the match set of the pattern changes during processing, the contents of the stream is undefined. + * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. + * + * @return the Stream of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOfm2(final TwoMembersHaveNoParent.Match partialMatch) { + return rawStreamAllValuesOfm2(partialMatch.toArray()); + } + + /** + * Retrieve the set of values that occur in matches for m2. + *

    + * NOTE: It is important not to modify the source model while the stream is being processed. + * If the match set of the pattern changes during processing, the contents of the stream is undefined. + * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. + * + * @return the Stream of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOfm2(final Member pM1) { + return rawStreamAllValuesOfm2(new Object[]{pM1, null}); + } + + /** + * Retrieve the set of values that occur in matches for m2. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOfm2(final TwoMembersHaveNoParent.Match partialMatch) { + return rawStreamAllValuesOfm2(partialMatch.toArray()).collect(Collectors.toSet()); + } + + /** + * Retrieve the set of values that occur in matches for m2. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOfm2(final Member pM1) { + return rawStreamAllValuesOfm2(new Object[]{pM1, null}).collect(Collectors.toSet()); + } + + @Override + protected TwoMembersHaveNoParent.Match tupleToMatch(final Tuple t) { + try { + return TwoMembersHaveNoParent.Match.newMatch((Member) t.get(POSITION_M1), (Member) t.get(POSITION_M2)); + } catch(ClassCastException e) { + LOGGER.error("Element(s) in tuple not properly typed!",e); + return null; + } + } + + @Override + protected TwoMembersHaveNoParent.Match arrayToMatch(final Object[] match) { + try { + return TwoMembersHaveNoParent.Match.newMatch((Member) match[POSITION_M1], (Member) match[POSITION_M2]); + } catch(ClassCastException e) { + LOGGER.error("Element(s) in array not properly typed!",e); + return null; + } + } + + @Override + protected TwoMembersHaveNoParent.Match arrayToMatchMutable(final Object[] match) { + try { + return TwoMembersHaveNoParent.Match.newMutableMatch((Member) match[POSITION_M1], (Member) match[POSITION_M2]); + } catch(ClassCastException e) { + LOGGER.error("Element(s) in array not properly typed!",e); + return null; + } + } + + /** + * @return the singleton instance of the query specification of this pattern + * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded + * + */ + public static IQuerySpecification querySpecification() { + return TwoMembersHaveNoParent.instance(); + } + } + + private TwoMembersHaveNoParent() { + super(GeneratedPQuery.INSTANCE); + } + + /** + * @return the singleton instance of the query specification + * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded + * + */ + public static TwoMembersHaveNoParent instance() { + try{ + return LazyHolder.INSTANCE; + } catch (ExceptionInInitializerError err) { + throw processInitializerError(err); + } + } + + @Override + protected TwoMembersHaveNoParent.Matcher instantiate(final ViatraQueryEngine engine) { + return TwoMembersHaveNoParent.Matcher.on(engine); + } + + @Override + public TwoMembersHaveNoParent.Matcher instantiate() { + return TwoMembersHaveNoParent.Matcher.create(); + } + + @Override + public TwoMembersHaveNoParent.Match newEmptyMatch() { + return TwoMembersHaveNoParent.Match.newEmptyMatch(); + } + + @Override + public TwoMembersHaveNoParent.Match newMatch(final Object... parameters) { + return TwoMembersHaveNoParent.Match.newMatch((familytree.Member) parameters[0], (familytree.Member) parameters[1]); + } + + /** + * Inner class allowing the singleton instance of {@link TwoMembersHaveNoParent} to be created + * not at the class load time of the outer class, + * but rather at the first call to {@link TwoMembersHaveNoParent#instance()}. + * + *

    This workaround is required e.g. to support recursion. + * + */ + private static class LazyHolder { + private static final TwoMembersHaveNoParent INSTANCE = new TwoMembersHaveNoParent(); + + /** + * Statically initializes the query specification after the field {@link #INSTANCE} is assigned. + * This initialization order is required to support indirect recursion. + * + *

    The static initializer is defined using a helper field to work around limitations of the code generator. + * + */ + private static final Object STATIC_INITIALIZER = ensureInitialized(); + + public static Object ensureInitialized() { + INSTANCE.ensureInitializedInternal(); + return null; + } + } + + private static class GeneratedPQuery extends BaseGeneratedEMFPQuery { + private static final TwoMembersHaveNoParent.GeneratedPQuery INSTANCE = new GeneratedPQuery(); + + private final PParameter parameter_m1 = new PParameter("m1", "familytree.Member", new EClassTransitiveInstancesKey((EClass)getClassifierLiteralSafe("http://www.example.org/familytree", "Member")), PParameterDirection.INOUT); + + private final PParameter parameter_m2 = new PParameter("m2", "familytree.Member", new EClassTransitiveInstancesKey((EClass)getClassifierLiteralSafe("http://www.example.org/familytree", "Member")), PParameterDirection.INOUT); + + private final List parameters = Arrays.asList(parameter_m1, parameter_m2); + + private GeneratedPQuery() { + super(PVisibility.PUBLIC); + } + + @Override + public String getFullyQualifiedName() { + return "queries.twoMembersHaveNoParent"; + } + + @Override + public List getParameterNames() { + return Arrays.asList("m1","m2"); + } + + @Override + public List getParameters() { + return parameters; + } + + @Override + public Set doGetContainedBodies() { + setEvaluationHints(new QueryEvaluationHint(null, QueryEvaluationHint.BackendRequirement.UNSPECIFIED)); + Set bodies = new LinkedHashSet<>(); + { + PBody body = new PBody(this); + PVariable var_m1 = body.getOrCreateVariableByName("m1"); + PVariable var_m2 = body.getOrCreateVariableByName("m2"); + new TypeConstraint(body, Tuples.flatTupleOf(var_m1), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.example.org/familytree", "Member"))); + new TypeConstraint(body, Tuples.flatTupleOf(var_m2), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.example.org/familytree", "Member"))); + body.setSymbolicParameters(Arrays.asList( + new ExportedParameter(body, var_m1, parameter_m1), + new ExportedParameter(body, var_m2, parameter_m2) + )); + // neg find memberHasParent(m1) + new NegativePatternCall(body, Tuples.flatTupleOf(var_m1), MemberHasParent.instance().getInternalQueryRepresentation()); + // neg find memberHasParent(m2) + new NegativePatternCall(body, Tuples.flatTupleOf(var_m2), MemberHasParent.instance().getInternalQueryRepresentation()); + // m1 != m2 + new Inequality(body, var_m1, var_m2); + bodies.add(body); + } + { + PAnnotation annotation = new PAnnotation("Constraint"); + annotation.addAttribute("message", "twoMembersHaveNoParent"); + annotation.addAttribute("severity", "error"); + annotation.addAttribute("key", Arrays.asList(new Object[] { + new ParameterReference("m1"), + new ParameterReference("m2") + })); + addAnnotation(annotation); + } + return bodies; + } + } +} diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/plugin.xml b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/plugin.xml index 63aa0b02..8b036ff2 100644 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/plugin.xml +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/plugin.xml @@ -1,42 +1,42 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/xtend-gen/run/.GeneratePledgeModels.xtendbin b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/xtend-gen/run/.GeneratePledgeModels.xtendbin index 3430ce88..163f84a1 100644 Binary files a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/xtend-gen/run/.GeneratePledgeModels.xtendbin and b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/xtend-gen/run/.GeneratePledgeModels.xtendbin differ diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/xtend-gen/run/GeneratePledgeModels.java b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/xtend-gen/run/GeneratePledgeModels.java index 35ddb32f..2809679d 100644 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/xtend-gen/run/GeneratePledgeModels.java +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/xtend-gen/run/GeneratePledgeModels.java @@ -1,314 +1,314 @@ -package run; - -import Taxation.TaxationPackage; -import com.google.common.base.Objects; -import com.google.common.collect.Iterables; -import com.google.inject.Injector; -import hu.bme.mit.inf.dslreasoner.ecore2logic.Ecore2Logic; -import hu.bme.mit.inf.dslreasoner.ecore2logic.Ecore2LogicConfiguration; -import hu.bme.mit.inf.dslreasoner.ecore2logic.Ecore2Logic_Trace; -import hu.bme.mit.inf.dslreasoner.ecore2logic.EcoreMetamodelDescriptor; -import hu.bme.mit.inf.dslreasoner.logic.model.builder.DocumentationLevel; -import hu.bme.mit.inf.dslreasoner.logic.model.builder.LogicModelInterpretation; -import hu.bme.mit.inf.dslreasoner.logic.model.builder.TracedOutput; -import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Type; -import hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicProblem; -import hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicResult; -import hu.bme.mit.inf.dslreasoner.logic.model.logicresult.ModelResult; -import hu.bme.mit.inf.dslreasoner.logic.model.logicresult.Statistics; -import hu.bme.mit.inf.dslreasoner.logic2ecore.Logic2Ecore; -import hu.bme.mit.inf.dslreasoner.viatra2logic.Viatra2Logic; -import hu.bme.mit.inf.dslreasoner.viatra2logic.ViatraQuerySetDescriptor; -import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretation2logic.InstanceModel2Logic; -import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.PartialInterpretation; -import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.visualisation.PartialInterpretation2Gml; -import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.visualisation.PartialInterpretationVisualisation; -import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.DebugConfiguration; -import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.ViatraReasoner; -import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.ViatraReasonerConfiguration; -import hu.bme.mit.inf.dslreasoner.visualisation.pi2graphviz.GraphvizVisualiser; -import hu.bme.mit.inf.dslreasoner.workspace.FileSystemWorkspace; -import hu.bme.mit.inf.dslreasoner.workspace.ReasonerWorkspace; -import java.math.BigDecimal; -import java.text.SimpleDateFormat; -import java.util.Collections; -import java.util.Date; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import java.util.Set; -import java.util.TreeSet; -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.ecore.EAttribute; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EEnum; -import org.eclipse.emf.ecore.EEnumLiteral; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.emf.ecore.EReference; -import org.eclipse.emf.ecore.EStructuralFeature; -import org.eclipse.emf.ecore.resource.Resource; -import org.eclipse.emf.ecore.xmi.impl.XMIResourceFactoryImpl; -import org.eclipse.viatra.query.patternlanguage.emf.EMFPatternLanguageStandaloneSetup; -import org.eclipse.viatra.query.runtime.api.IQueryGroup; -import org.eclipse.viatra.query.runtime.api.IQuerySpecification; -import org.eclipse.viatra.query.runtime.matchers.psystem.annotations.PAnnotation; -import org.eclipse.viatra.query.runtime.rete.matcher.ReteEngine; -import org.eclipse.xtend2.lib.StringConcatenation; -import org.eclipse.xtext.xbase.lib.CollectionExtensions; -import org.eclipse.xtext.xbase.lib.CollectionLiterals; -import org.eclipse.xtext.xbase.lib.Exceptions; -import org.eclipse.xtext.xbase.lib.ExclusiveRange; -import org.eclipse.xtext.xbase.lib.Functions.Function1; -import org.eclipse.xtext.xbase.lib.InputOutput; -import org.eclipse.xtext.xbase.lib.IterableExtensions; -import org.eclipse.xtext.xbase.lib.ListExtensions; -import org.eclipse.xtext.xbase.lib.ObjectExtensions; -import org.eclipse.xtext.xbase.lib.Procedures.Procedure1; - -@SuppressWarnings("all") -public class GeneratePledgeModels { - public static void main(final String[] args) { - try { - final Injector x = new EMFPatternLanguageStandaloneSetup().createInjectorAndDoEMFRegistration(); - Map _extensionToFactoryMap = Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap(); - XMIResourceFactoryImpl _xMIResourceFactoryImpl = new XMIResourceFactoryImpl(); - _extensionToFactoryMap.put("xmi", _xMIResourceFactoryImpl); - Map _extensionToFactoryMap_1 = Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap(); - XMIResourceFactoryImpl _xMIResourceFactoryImpl_1 = new XMIResourceFactoryImpl(); - _extensionToFactoryMap_1.put("logicproblem", _xMIResourceFactoryImpl_1); - Map _extensionToFactoryMap_2 = Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap(); - XMIResourceFactoryImpl _xMIResourceFactoryImpl_2 = new XMIResourceFactoryImpl(); - _extensionToFactoryMap_2.put("partialmodel", _xMIResourceFactoryImpl_2); - ReteEngine.class.getClass(); - final Ecore2Logic ecore2Logic = new Ecore2Logic(); - final Logic2Ecore logic2Ecore = new Logic2Ecore(ecore2Logic); - final Viatra2Logic viatra2Logic = new Viatra2Logic(ecore2Logic); - final InstanceModel2Logic instanceModel2Logic = new InstanceModel2Logic(); - long _currentTimeMillis = System.currentTimeMillis(); - final Date date = new Date(_currentTimeMillis); - final SimpleDateFormat format = new SimpleDateFormat("dd-HHmm"); - final String formattedDate = format.format(date); - StringConcatenation _builder = new StringConcatenation(); - _builder.append("inputs/"); - final FileSystemWorkspace inputs = new FileSystemWorkspace(_builder.toString(), ""); - StringConcatenation _builder_1 = new StringConcatenation(); - _builder_1.append("output/"); - String _plus = (_builder_1.toString() + formattedDate); - StringConcatenation _builder_2 = new StringConcatenation(); - _builder_2.append("/"); - String _plus_1 = (_plus + _builder_2); - final FileSystemWorkspace workspace = new FileSystemWorkspace(_plus_1, ""); - StringConcatenation _builder_3 = new StringConcatenation(); - _builder_3.append("output/"); - String _plus_2 = (_builder_3.toString() + formattedDate); - StringConcatenation _builder_4 = new StringConcatenation(); - _builder_4.append("/debug/"); - String _plus_3 = (_plus_2 + _builder_4); - final FileSystemWorkspace debug = new FileSystemWorkspace(_plus_3, ""); - workspace.initAndClear(); - InputOutput.println("Input and output workspaces are created"); - final EcoreMetamodelDescriptor metamodel = GeneratePledgeModels.loadMetamodel(TaxationPackage.eINSTANCE); - final EList partialModel = GeneratePledgeModels.loadPartialModel(inputs, "Household.xmi"); - InputOutput.println("DSL loaded"); - final int SIZE = 2; - int REPS = 1; - final int RUNTIME = 600; - Ecore2LogicConfiguration _ecore2LogicConfiguration = new Ecore2LogicConfiguration(); - final TracedOutput modelGenerationProblem = ecore2Logic.transformMetamodel(metamodel, _ecore2LogicConfiguration); - LogicProblem problem = modelGenerationProblem.getOutput(); - debug.writeModel(problem, "problem.logicproblem"); - InputOutput.println("Problem created"); - for (int i = 0; (i < REPS); i++) { - { - ViatraReasoner reasoner = new ViatraReasoner(); - final TreeSet knownIntegers = new TreeSet(); - CollectionExtensions.addAll(knownIntegers, Integer.valueOf(0)); - final TreeSet knownReals = new TreeSet(); - BigDecimal _bigDecimal = new BigDecimal("0.0"); - CollectionExtensions.addAll(knownReals, _bigDecimal); - final TreeSet knownStrings = new TreeSet(); - CollectionExtensions.addAll(knownStrings, "r0", "r1", "r2"); - ViatraReasonerConfiguration _viatraReasonerConfiguration = new ViatraReasonerConfiguration(); - final Procedure1 _function = (ViatraReasonerConfiguration it) -> { - it.documentationLevel = DocumentationLevel.FULL; - DebugConfiguration _debugConfiguration = new DebugConfiguration(); - final Procedure1 _function_1 = (DebugConfiguration it_1) -> { - it_1.logging = true; - }; - DebugConfiguration _doubleArrow = ObjectExtensions.operator_doubleArrow(_debugConfiguration, _function_1); - it.debugCongiguration = _doubleArrow; - it.runtimeLimit = RUNTIME; - boolean _isEmpty = knownIntegers.isEmpty(); - boolean _not = (!_isEmpty); - if (_not) { - it.typeScopes.knownIntegers = knownIntegers; - } - boolean _isEmpty_1 = knownReals.isEmpty(); - boolean _not_1 = (!_isEmpty_1); - if (_not_1) { - it.typeScopes.knownReals = knownReals; - } - }; - final ViatraReasonerConfiguration solverConfig = ObjectExtensions.operator_doubleArrow(_viatraReasonerConfiguration, _function); - InputOutput.println((("Run #" + Integer.valueOf(i)) + ":")); - final long startTime = System.currentTimeMillis(); - LogicResult solution = reasoner.solve(problem, solverConfig, debug); - long _currentTimeMillis_1 = System.currentTimeMillis(); - final long totalTime = (_currentTimeMillis_1 - startTime); - InputOutput.println(" Problem Solved"); - GeneratePledgeModels.writeStats(solution, totalTime, solverConfig); - if ((solution instanceof ModelResult)) { - GeneratePledgeModels.writeRepresentation(solution, workspace, i); - GeneratePledgeModels.writeInterpretation(solution, logic2Ecore, workspace, i, reasoner, modelGenerationProblem); - InputOutput.println(" Solution saved and visualised"); - } else { - String _string = solution.getClass().getSimpleName().toString(); - String _plus_4 = (" Returned: " + _string); - InputOutput.println(_plus_4); - } - final Runtime r = Runtime.getRuntime(); - r.gc(); - r.gc(); - r.gc(); - Thread.sleep(3000); - } - } - InputOutput.println("---End---"); - } catch (Throwable _e) { - throw Exceptions.sneakyThrow(_e); - } - } - - public static Map getTypeMap(final Map classMap, final EcoreMetamodelDescriptor metamodel, final Ecore2Logic e2l, final Ecore2Logic_Trace trace) { - final HashMap typeMap = new HashMap(); - final Function1 _function = (EClass s) -> { - return s.getName(); - }; - final Map listMap = IterableExtensions.toMap(metamodel.getClasses(), _function); - Set _keySet = classMap.keySet(); - for (final Class elem : _keySet) { - typeMap.put( - e2l.TypeofEClass(trace, - listMap.get(elem.getSimpleName())), classMap.get(elem)); - } - return typeMap; - } - - public static EcoreMetamodelDescriptor loadMetamodel(final EPackage pckg) { - final List classes = IterableExtensions.toList(Iterables.filter(pckg.getEClassifiers(), EClass.class)); - final List enums = IterableExtensions.toList(Iterables.filter(pckg.getEClassifiers(), EEnum.class)); - final Function1> _function = (EEnum it) -> { - return it.getELiterals(); - }; - final List literals = IterableExtensions.toList(Iterables.concat(ListExtensions.>map(enums, _function))); - final Function1> _function_1 = (EClass it) -> { - return it.getEReferences(); - }; - final List references = IterableExtensions.toList(Iterables.concat(ListExtensions.>map(classes, _function_1))); - final Function1> _function_2 = (EClass it) -> { - return it.getEAttributes(); - }; - final List attributes = IterableExtensions.toList(Iterables.concat(ListExtensions.>map(classes, _function_2))); - return new EcoreMetamodelDescriptor(classes, Collections.unmodifiableSet(CollectionLiterals.newHashSet()), false, enums, literals, references, attributes); - } - - public static EList loadPartialModel(final ReasonerWorkspace inputs, final String path) { - EList _xblockexpression = null; - { - Map _extensionToFactoryMap = Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap(); - XMIResourceFactoryImpl _xMIResourceFactoryImpl = new XMIResourceFactoryImpl(); - _extensionToFactoryMap.put("*", _xMIResourceFactoryImpl); - _xblockexpression = inputs.readModel(EObject.class, path).eResource().getContents(); - } - return _xblockexpression; - } - - public static ViatraQuerySetDescriptor loadQueries(final EcoreMetamodelDescriptor metamodel, final IQueryGroup i) { - final List> patterns = IterableExtensions.>toList(i.getSpecifications()); - final Function1, Boolean> _function = (IQuerySpecification it) -> { - final Function1 _function_1 = (PAnnotation it_1) -> { - String _name = it_1.getName(); - return Boolean.valueOf(Objects.equal(_name, "Constraint")); - }; - return Boolean.valueOf(IterableExtensions.exists(it.getAllAnnotations(), _function_1)); - }; - final Set> wfPatterns = IterableExtensions.>toSet(IterableExtensions.>filter(patterns, _function)); - final Map, EStructuralFeature> derivedFeatures = CollectionLiterals., EStructuralFeature>emptyMap(); - final ViatraQuerySetDescriptor res = new ViatraQuerySetDescriptor(patterns, wfPatterns, derivedFeatures); - return res; - } - - public static void writeInterpretation(final LogicResult solution, final Logic2Ecore logic2Ecore, final ReasonerWorkspace workspace, final int i, final ViatraReasoner reasoner, final TracedOutput mgProb) { - final List interpretations = reasoner.getInterpretations(((ModelResult) solution)); - int _size = interpretations.size(); - ExclusiveRange _doubleDotLessThan = new ExclusiveRange(0, _size, true); - for (final Integer interpIndex : _doubleDotLessThan) { - { - final LogicModelInterpretation interpretation = interpretations.get((interpIndex).intValue()); - final EObject model = logic2Ecore.transformInterpretation(interpretation, mgProb.getTrace()); - StringConcatenation _builder = new StringConcatenation(); - _builder.append("solution"); - _builder.append(i); - _builder.append("_"); - _builder.append(interpIndex); - _builder.append(".xmi"); - workspace.writeModel(model, _builder.toString()); - } - } - } - - public static void writeRepresentation(final LogicResult solution, final ReasonerWorkspace workspace, final int i) { - final EList representations = solution.getRepresentation(); - int _size = representations.size(); - ExclusiveRange _doubleDotLessThan = new ExclusiveRange(0, _size, true); - for (final Integer representationIndex : _doubleDotLessThan) { - { - final Object representation = representations.get((representationIndex).intValue()); - if ((representation instanceof PartialInterpretation)) { - final String gml = new PartialInterpretation2Gml().transform(((PartialInterpretation)representation)); - StringConcatenation _builder = new StringConcatenation(); - _builder.append("solution"); - _builder.append(i); - _builder.append("_"); - _builder.append(representationIndex); - _builder.append(".gml"); - workspace.writeText(_builder.toString(), gml); - final PartialInterpretationVisualisation png = new GraphvizVisualiser().visualiseConcretization(((PartialInterpretation)representation)); - StringConcatenation _builder_1 = new StringConcatenation(); - _builder_1.append("solution"); - _builder_1.append(i); - _builder_1.append("_"); - _builder_1.append(representationIndex); - _builder_1.append(".png"); - png.writeToFile(workspace, _builder_1.toString()); - } else { - StringConcatenation _builder_2 = new StringConcatenation(); - _builder_2.append("solution"); - _builder_2.append(representationIndex); - _builder_2.append(".txt"); - workspace.writeText(_builder_2.toString(), representation.toString()); - } - } - } - } - - public static String writeStats(final LogicResult solution, final long time, final ViatraReasonerConfiguration config) { - String _xblockexpression = null; - { - final Statistics stats = solution.getStatistics(); - InputOutput.println(" Statistics:"); - Object _xifexpression = null; - if ((config.typeScopes.maxNewElements == 2147483647)) { - _xifexpression = "*"; - } else { - _xifexpression = Integer.valueOf(config.typeScopes.maxNewElements); - } - String _plus = (((" #new nodes : [" + Integer.valueOf(config.typeScopes.minNewElements)) + "..") + _xifexpression); - String _plus_1 = (_plus + "]"); - InputOutput.println(_plus_1); - _xblockexpression = InputOutput.println(((" \"solve\" time: " + Double.valueOf((((double) time) / 1000))) + " s")); - } - return _xblockexpression; - } -} +package run; + +import Taxation.TaxationPackage; +import com.google.common.base.Objects; +import com.google.common.collect.Iterables; +import com.google.inject.Injector; +import hu.bme.mit.inf.dslreasoner.ecore2logic.Ecore2Logic; +import hu.bme.mit.inf.dslreasoner.ecore2logic.Ecore2LogicConfiguration; +import hu.bme.mit.inf.dslreasoner.ecore2logic.Ecore2Logic_Trace; +import hu.bme.mit.inf.dslreasoner.ecore2logic.EcoreMetamodelDescriptor; +import hu.bme.mit.inf.dslreasoner.logic.model.builder.DocumentationLevel; +import hu.bme.mit.inf.dslreasoner.logic.model.builder.LogicModelInterpretation; +import hu.bme.mit.inf.dslreasoner.logic.model.builder.TracedOutput; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Type; +import hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicProblem; +import hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicResult; +import hu.bme.mit.inf.dslreasoner.logic.model.logicresult.ModelResult; +import hu.bme.mit.inf.dslreasoner.logic.model.logicresult.Statistics; +import hu.bme.mit.inf.dslreasoner.logic2ecore.Logic2Ecore; +import hu.bme.mit.inf.dslreasoner.viatra2logic.Viatra2Logic; +import hu.bme.mit.inf.dslreasoner.viatra2logic.ViatraQuerySetDescriptor; +import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretation2logic.InstanceModel2Logic; +import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.PartialInterpretation; +import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.visualisation.PartialInterpretation2Gml; +import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.visualisation.PartialInterpretationVisualisation; +import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.DebugConfiguration; +import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.ViatraReasoner; +import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.ViatraReasonerConfiguration; +import hu.bme.mit.inf.dslreasoner.visualisation.pi2graphviz.GraphvizVisualiser; +import hu.bme.mit.inf.dslreasoner.workspace.FileSystemWorkspace; +import hu.bme.mit.inf.dslreasoner.workspace.ReasonerWorkspace; +import java.math.BigDecimal; +import java.text.SimpleDateFormat; +import java.util.Collections; +import java.util.Date; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import java.util.Set; +import java.util.TreeSet; +import org.eclipse.emf.common.util.EList; +import org.eclipse.emf.ecore.EAttribute; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EEnum; +import org.eclipse.emf.ecore.EEnumLiteral; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.EPackage; +import org.eclipse.emf.ecore.EReference; +import org.eclipse.emf.ecore.EStructuralFeature; +import org.eclipse.emf.ecore.resource.Resource; +import org.eclipse.emf.ecore.xmi.impl.XMIResourceFactoryImpl; +import org.eclipse.viatra.query.patternlanguage.emf.EMFPatternLanguageStandaloneSetup; +import org.eclipse.viatra.query.runtime.api.IQueryGroup; +import org.eclipse.viatra.query.runtime.api.IQuerySpecification; +import org.eclipse.viatra.query.runtime.matchers.psystem.annotations.PAnnotation; +import org.eclipse.viatra.query.runtime.rete.matcher.ReteEngine; +import org.eclipse.xtend2.lib.StringConcatenation; +import org.eclipse.xtext.xbase.lib.CollectionExtensions; +import org.eclipse.xtext.xbase.lib.CollectionLiterals; +import org.eclipse.xtext.xbase.lib.Exceptions; +import org.eclipse.xtext.xbase.lib.ExclusiveRange; +import org.eclipse.xtext.xbase.lib.Functions.Function1; +import org.eclipse.xtext.xbase.lib.InputOutput; +import org.eclipse.xtext.xbase.lib.IterableExtensions; +import org.eclipse.xtext.xbase.lib.ListExtensions; +import org.eclipse.xtext.xbase.lib.ObjectExtensions; +import org.eclipse.xtext.xbase.lib.Procedures.Procedure1; + +@SuppressWarnings("all") +public class GeneratePledgeModels { + public static void main(final String[] args) { + try { + final Injector x = new EMFPatternLanguageStandaloneSetup().createInjectorAndDoEMFRegistration(); + Map _extensionToFactoryMap = Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap(); + XMIResourceFactoryImpl _xMIResourceFactoryImpl = new XMIResourceFactoryImpl(); + _extensionToFactoryMap.put("xmi", _xMIResourceFactoryImpl); + Map _extensionToFactoryMap_1 = Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap(); + XMIResourceFactoryImpl _xMIResourceFactoryImpl_1 = new XMIResourceFactoryImpl(); + _extensionToFactoryMap_1.put("logicproblem", _xMIResourceFactoryImpl_1); + Map _extensionToFactoryMap_2 = Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap(); + XMIResourceFactoryImpl _xMIResourceFactoryImpl_2 = new XMIResourceFactoryImpl(); + _extensionToFactoryMap_2.put("partialmodel", _xMIResourceFactoryImpl_2); + ReteEngine.class.getClass(); + final Ecore2Logic ecore2Logic = new Ecore2Logic(); + final Logic2Ecore logic2Ecore = new Logic2Ecore(ecore2Logic); + final Viatra2Logic viatra2Logic = new Viatra2Logic(ecore2Logic); + final InstanceModel2Logic instanceModel2Logic = new InstanceModel2Logic(); + long _currentTimeMillis = System.currentTimeMillis(); + final Date date = new Date(_currentTimeMillis); + final SimpleDateFormat format = new SimpleDateFormat("dd-HHmm"); + final String formattedDate = format.format(date); + StringConcatenation _builder = new StringConcatenation(); + _builder.append("inputs/"); + final FileSystemWorkspace inputs = new FileSystemWorkspace(_builder.toString(), ""); + StringConcatenation _builder_1 = new StringConcatenation(); + _builder_1.append("output/"); + String _plus = (_builder_1.toString() + formattedDate); + StringConcatenation _builder_2 = new StringConcatenation(); + _builder_2.append("/"); + String _plus_1 = (_plus + _builder_2); + final FileSystemWorkspace workspace = new FileSystemWorkspace(_plus_1, ""); + StringConcatenation _builder_3 = new StringConcatenation(); + _builder_3.append("output/"); + String _plus_2 = (_builder_3.toString() + formattedDate); + StringConcatenation _builder_4 = new StringConcatenation(); + _builder_4.append("/debug/"); + String _plus_3 = (_plus_2 + _builder_4); + final FileSystemWorkspace debug = new FileSystemWorkspace(_plus_3, ""); + workspace.initAndClear(); + InputOutput.println("Input and output workspaces are created"); + final EcoreMetamodelDescriptor metamodel = GeneratePledgeModels.loadMetamodel(TaxationPackage.eINSTANCE); + final EList partialModel = GeneratePledgeModels.loadPartialModel(inputs, "Household.xmi"); + InputOutput.println("DSL loaded"); + final int SIZE = 2; + int REPS = 1; + final int RUNTIME = 600; + Ecore2LogicConfiguration _ecore2LogicConfiguration = new Ecore2LogicConfiguration(); + final TracedOutput modelGenerationProblem = ecore2Logic.transformMetamodel(metamodel, _ecore2LogicConfiguration); + LogicProblem problem = modelGenerationProblem.getOutput(); + debug.writeModel(problem, "problem.logicproblem"); + InputOutput.println("Problem created"); + for (int i = 0; (i < REPS); i++) { + { + ViatraReasoner reasoner = new ViatraReasoner(); + final TreeSet knownIntegers = new TreeSet(); + CollectionExtensions.addAll(knownIntegers, Integer.valueOf(0)); + final TreeSet knownReals = new TreeSet(); + BigDecimal _bigDecimal = new BigDecimal("0.0"); + CollectionExtensions.addAll(knownReals, _bigDecimal); + final TreeSet knownStrings = new TreeSet(); + CollectionExtensions.addAll(knownStrings, "r0", "r1", "r2"); + ViatraReasonerConfiguration _viatraReasonerConfiguration = new ViatraReasonerConfiguration(); + final Procedure1 _function = (ViatraReasonerConfiguration it) -> { + it.documentationLevel = DocumentationLevel.FULL; + DebugConfiguration _debugConfiguration = new DebugConfiguration(); + final Procedure1 _function_1 = (DebugConfiguration it_1) -> { + it_1.logging = true; + }; + DebugConfiguration _doubleArrow = ObjectExtensions.operator_doubleArrow(_debugConfiguration, _function_1); + it.debugCongiguration = _doubleArrow; + it.runtimeLimit = RUNTIME; + boolean _isEmpty = knownIntegers.isEmpty(); + boolean _not = (!_isEmpty); + if (_not) { + it.typeScopes.knownIntegers = knownIntegers; + } + boolean _isEmpty_1 = knownReals.isEmpty(); + boolean _not_1 = (!_isEmpty_1); + if (_not_1) { + it.typeScopes.knownReals = knownReals; + } + }; + final ViatraReasonerConfiguration solverConfig = ObjectExtensions.operator_doubleArrow(_viatraReasonerConfiguration, _function); + InputOutput.println((("Run #" + Integer.valueOf(i)) + ":")); + final long startTime = System.currentTimeMillis(); + LogicResult solution = reasoner.solve(problem, solverConfig, debug); + long _currentTimeMillis_1 = System.currentTimeMillis(); + final long totalTime = (_currentTimeMillis_1 - startTime); + InputOutput.println(" Problem Solved"); + GeneratePledgeModels.writeStats(solution, totalTime, solverConfig); + if ((solution instanceof ModelResult)) { + GeneratePledgeModels.writeRepresentation(solution, workspace, i); + GeneratePledgeModels.writeInterpretation(solution, logic2Ecore, workspace, i, reasoner, modelGenerationProblem); + InputOutput.println(" Solution saved and visualised"); + } else { + String _string = solution.getClass().getSimpleName().toString(); + String _plus_4 = (" Returned: " + _string); + InputOutput.println(_plus_4); + } + final Runtime r = Runtime.getRuntime(); + r.gc(); + r.gc(); + r.gc(); + Thread.sleep(3000); + } + } + InputOutput.println("---End---"); + } catch (Throwable _e) { + throw Exceptions.sneakyThrow(_e); + } + } + + public static Map getTypeMap(final Map classMap, final EcoreMetamodelDescriptor metamodel, final Ecore2Logic e2l, final Ecore2Logic_Trace trace) { + final HashMap typeMap = new HashMap(); + final Function1 _function = (EClass s) -> { + return s.getName(); + }; + final Map listMap = IterableExtensions.toMap(metamodel.getClasses(), _function); + Set _keySet = classMap.keySet(); + for (final Class elem : _keySet) { + typeMap.put( + e2l.TypeofEClass(trace, + listMap.get(elem.getSimpleName())), classMap.get(elem)); + } + return typeMap; + } + + public static EcoreMetamodelDescriptor loadMetamodel(final EPackage pckg) { + final List classes = IterableExtensions.toList(Iterables.filter(pckg.getEClassifiers(), EClass.class)); + final List enums = IterableExtensions.toList(Iterables.filter(pckg.getEClassifiers(), EEnum.class)); + final Function1> _function = (EEnum it) -> { + return it.getELiterals(); + }; + final List literals = IterableExtensions.toList(Iterables.concat(ListExtensions.>map(enums, _function))); + final Function1> _function_1 = (EClass it) -> { + return it.getEReferences(); + }; + final List references = IterableExtensions.toList(Iterables.concat(ListExtensions.>map(classes, _function_1))); + final Function1> _function_2 = (EClass it) -> { + return it.getEAttributes(); + }; + final List attributes = IterableExtensions.toList(Iterables.concat(ListExtensions.>map(classes, _function_2))); + return new EcoreMetamodelDescriptor(classes, Collections.unmodifiableSet(CollectionLiterals.newHashSet()), false, enums, literals, references, attributes); + } + + public static EList loadPartialModel(final ReasonerWorkspace inputs, final String path) { + EList _xblockexpression = null; + { + Map _extensionToFactoryMap = Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap(); + XMIResourceFactoryImpl _xMIResourceFactoryImpl = new XMIResourceFactoryImpl(); + _extensionToFactoryMap.put("*", _xMIResourceFactoryImpl); + _xblockexpression = inputs.readModel(EObject.class, path).eResource().getContents(); + } + return _xblockexpression; + } + + public static ViatraQuerySetDescriptor loadQueries(final EcoreMetamodelDescriptor metamodel, final IQueryGroup i) { + final List> patterns = IterableExtensions.>toList(i.getSpecifications()); + final Function1, Boolean> _function = (IQuerySpecification it) -> { + final Function1 _function_1 = (PAnnotation it_1) -> { + String _name = it_1.getName(); + return Boolean.valueOf(Objects.equal(_name, "Constraint")); + }; + return Boolean.valueOf(IterableExtensions.exists(it.getAllAnnotations(), _function_1)); + }; + final Set> wfPatterns = IterableExtensions.>toSet(IterableExtensions.>filter(patterns, _function)); + final Map, EStructuralFeature> derivedFeatures = CollectionLiterals., EStructuralFeature>emptyMap(); + final ViatraQuerySetDescriptor res = new ViatraQuerySetDescriptor(patterns, wfPatterns, derivedFeatures); + return res; + } + + public static void writeInterpretation(final LogicResult solution, final Logic2Ecore logic2Ecore, final ReasonerWorkspace workspace, final int i, final ViatraReasoner reasoner, final TracedOutput mgProb) { + final List interpretations = reasoner.getInterpretations(((ModelResult) solution)); + int _size = interpretations.size(); + ExclusiveRange _doubleDotLessThan = new ExclusiveRange(0, _size, true); + for (final Integer interpIndex : _doubleDotLessThan) { + { + final LogicModelInterpretation interpretation = interpretations.get((interpIndex).intValue()); + final EObject model = logic2Ecore.transformInterpretation(interpretation, mgProb.getTrace()); + StringConcatenation _builder = new StringConcatenation(); + _builder.append("solution"); + _builder.append(i); + _builder.append("_"); + _builder.append(interpIndex); + _builder.append(".xmi"); + workspace.writeModel(model, _builder.toString()); + } + } + } + + public static void writeRepresentation(final LogicResult solution, final ReasonerWorkspace workspace, final int i) { + final EList representations = solution.getRepresentation(); + int _size = representations.size(); + ExclusiveRange _doubleDotLessThan = new ExclusiveRange(0, _size, true); + for (final Integer representationIndex : _doubleDotLessThan) { + { + final Object representation = representations.get((representationIndex).intValue()); + if ((representation instanceof PartialInterpretation)) { + final String gml = new PartialInterpretation2Gml().transform(((PartialInterpretation)representation)); + StringConcatenation _builder = new StringConcatenation(); + _builder.append("solution"); + _builder.append(i); + _builder.append("_"); + _builder.append(representationIndex); + _builder.append(".gml"); + workspace.writeText(_builder.toString(), gml); + final PartialInterpretationVisualisation png = new GraphvizVisualiser().visualiseConcretization(((PartialInterpretation)representation)); + StringConcatenation _builder_1 = new StringConcatenation(); + _builder_1.append("solution"); + _builder_1.append(i); + _builder_1.append("_"); + _builder_1.append(representationIndex); + _builder_1.append(".png"); + png.writeToFile(workspace, _builder_1.toString()); + } else { + StringConcatenation _builder_2 = new StringConcatenation(); + _builder_2.append("solution"); + _builder_2.append(representationIndex); + _builder_2.append(".txt"); + workspace.writeText(_builder_2.toString(), representation.toString()); + } + } + } + } + + public static String writeStats(final LogicResult solution, final long time, final ViatraReasonerConfiguration config) { + String _xblockexpression = null; + { + final Statistics stats = solution.getStatistics(); + InputOutput.println(" Statistics:"); + Object _xifexpression = null; + if ((config.typeScopes.maxNewElements == 2147483647)) { + _xifexpression = "*"; + } else { + _xifexpression = Integer.valueOf(config.typeScopes.maxNewElements); + } + String _plus = (((" #new nodes : [" + Integer.valueOf(config.typeScopes.minNewElements)) + "..") + _xifexpression); + String _plus_1 = (_plus + "]"); + InputOutput.println(_plus_1); + _xblockexpression = InputOutput.println(((" \"solve\" time: " + Double.valueOf((((double) time) / 1000))) + " s")); + } + return _xblockexpression; + } +} diff --git a/Tests/hu.bme.mit.inf.dslreasoner.application.FAMTest/plugin.xml b/Tests/hu.bme.mit.inf.dslreasoner.application.FAMTest/plugin.xml index 2f4febdb..c760d4ef 100644 --- a/Tests/hu.bme.mit.inf.dslreasoner.application.FAMTest/plugin.xml +++ b/Tests/hu.bme.mit.inf.dslreasoner.application.FAMTest/plugin.xml @@ -1 +1 @@ - + -- cgit v1.2.3-70-g09d2 From b3c1c5b30ae8ea7ebad391c9250b4509d5a4cc9b Mon Sep 17 00:00:00 2001 From: Kristóf Marussy Date: Tue, 19 May 2020 21:18:06 +0200 Subject: Config language WIP --- .../.ApplicationConfigurationIdeModule.xtendbin | Bin 1701 -> 1701 bytes .../ide/.ApplicationConfigurationIdeSetup.xtendbin | Bin 2526 -> 2526 bytes .../contentassist/antlr/SolverLanguageParser.java | 61 +- .../antlr/internal/InternalSolverLanguageParser.g | 3409 ++- .../internal/InternalSolverLanguageParser.java | 24021 ++++++++++++------- .../internal/InternalSolverLanguageParser.tokens | 147 +- .../antlr/lexer/InternalSolverLanguageLexer.g | 46 +- .../antlr/lexer/InternalSolverLanguageLexer.java | 1673 +- .../antlr/lexer/InternalSolverLanguageLexer.tokens | 147 +- .../AbstractSolverLanguageProposalProvider.java | 115 +- .../.SolverSemanticHighlightCalculator.xtendbin | Bin 5334 -> 5334 bytes .../.SolverSemanticTextAttributeProvider.xtendbin | Bin 4902 -> 4902 bytes .../validation/.SolverLanguageValidator.xtendbin | Bin 1717 -> 1717 bytes .../org.eclipse.viatra.solver.language/.classpath | 19 +- .../language/solverLanguage/Aggregation.java | 115 + .../solver/language/solverLanguage/Argument.java | 19 + .../language/solverLanguage/ArgumentList.java | 39 + .../language/solverLanguage/BinaryExpression.java | 95 + .../language/solverLanguage/BinaryOperator.java | 463 + .../solverLanguage/BoundedMultiplicity.java | 69 + .../solverLanguage/BoundedScopeDefinition.java | 69 + .../solver/language/solverLanguage/Call.java | 115 + .../solver/language/solverLanguage/Case.java | 69 + .../language/solverLanguage/CastExpression.java | 69 + .../language/solverLanguage/ClassDefinition.java | 96 + .../solver/language/solverLanguage/Comparison.java | 95 + .../language/solverLanguage/Conjunction.java | 37 + .../language/solverLanguage/DefaultDefinition.java | 69 + .../language/solverLanguage/Disjunction.java | 37 + .../solverLanguage/EmptyIntervalLiteral.java | 18 + .../language/solverLanguage/ExactMultiplicity.java | 46 + .../solverLanguage/ExactScopeDefinition.java | 46 + .../solver/language/solverLanguage/Expression.java | 18 + .../solverLanguage/ExpressionArgument.java | 46 + .../solverLanguage/ExternAggregatorDefinition.java | 92 + .../solverLanguage/ExternDatatypeDefinition.java | 60 + .../solverLanguage/ExternMetricDefinition.java | 92 + .../solverLanguage/ExternPredicateDefinition.java | 69 + .../solver/language/solverLanguage/Functor.java | 37 + .../solver/language/solverLanguage/IfElse.java | 92 + .../language/solverLanguage/InfinityLiteral.java | 18 + .../language/solverLanguage/Interpretation.java | 69 + .../solver/language/solverLanguage/Interval.java | 69 + .../viatra/solver/language/solverLanguage/Let.java | 60 + .../solver/language/solverLanguage/LetBinding.java | 70 + .../solver/language/solverLanguage/Literal.java | 18 + .../language/solverLanguage/LocalVariables.java | 39 + .../language/solverLanguage/LogicLiteral.java | 49 + .../solver/language/solverLanguage/LogicValue.java | 256 + .../LowerBoundedScopeDefinition.java | 46 + .../language/solverLanguage/ManyMultiplicity.java | 18 + .../language/solverLanguage/MemberDefinition.java | 139 + .../solver/language/solverLanguage/Metric.java | 46 + .../language/solverLanguage/MetricDefinition.java | 92 + .../language/solverLanguage/Multiplicity.java | 19 + .../language/solverLanguage/NamedElement.java | 47 + .../solver/language/solverLanguage/Node.java | 46 + .../language/solverLanguage/NumericLiteral.java | 47 + .../solverLanguage/ObjectiveDefinition.java | 72 + .../language/solverLanguage/ObjectiveKind.java | 210 + .../solver/language/solverLanguage/Predicate.java | 18 + .../solverLanguage/PredicateDefinition.java | 115 + .../solver/language/solverLanguage/Problem.java | 39 + .../solverLanguage/QuantifiedExpression.java | 95 + .../solver/language/solverLanguage/Quantifier.java | 233 + .../solver/language/solverLanguage/Reference.java | 46 + .../language/solverLanguage/ScopeDefinition.java | 46 + .../solverLanguage/SolverLanguageFactory.java | 538 + .../solverLanguage/SolverLanguagePackage.java | 5191 ++++ .../language/solverLanguage/StarArgument.java | 18 + .../solver/language/solverLanguage/Statement.java | 19 + .../language/solverLanguage/StringLiteral.java | 46 + .../solver/language/solverLanguage/Switch.java | 37 + .../language/solverLanguage/TypedArgument.java | 69 + .../language/solverLanguage/TypedStarArgument.java | 46 + .../language/solverLanguage/UnaryExpression.java | 72 + .../solver/language/solverLanguage/UnaryOp.java | 302 + .../UnnamedErrorPrediateDefinition.java | 69 + .../solver/language/solverLanguage/Variable.java | 46 + .../solverLanguage/impl/AggregationImpl.java | 378 + .../language/solverLanguage/impl/ArgumentImpl.java | 40 + .../solverLanguage/impl/ArgumentListImpl.java | 154 + .../solverLanguage/impl/BinaryExpressionImpl.java | 317 + .../impl/BoundedMultiplicityImpl.java | 221 + .../impl/BoundedScopeDefinitionImpl.java | 221 + .../language/solverLanguage/impl/CallImpl.java | 373 + .../language/solverLanguage/impl/CaseImpl.java | 246 + .../solverLanguage/impl/CastExpressionImpl.java | 241 + .../solverLanguage/impl/ClassDefinitionImpl.java | 318 + .../solverLanguage/impl/ComparisonImpl.java | 317 + .../solverLanguage/impl/ConjunctionImpl.java | 152 + .../solverLanguage/impl/DefaultDefinitionImpl.java | 247 + .../solverLanguage/impl/DisjunctionImpl.java | 152 + .../impl/EmptyIntervalLiteralImpl.java | 38 + .../solverLanguage/impl/ExactMultiplicityImpl.java | 165 + .../impl/ExactScopeDefinitionImpl.java | 165 + .../impl/ExpressionArgumentImpl.java | 178 + .../solverLanguage/impl/ExpressionImpl.java | 38 + .../impl/ExternAggregatorDefinitionImpl.java | 291 + .../impl/ExternDatatypeDefinitionImpl.java | 208 + .../impl/ExternMetricDefinitionImpl.java | 311 + .../impl/ExternPredicateDefinitionImpl.java | 248 + .../language/solverLanguage/impl/FunctorImpl.java | 134 + .../language/solverLanguage/impl/IfElseImpl.java | 314 + .../solverLanguage/impl/InfinityLiteralImpl.java | 38 + .../solverLanguage/impl/InterpretationImpl.java | 246 + .../language/solverLanguage/impl/IntervalImpl.java | 246 + .../solverLanguage/impl/LetBindingImpl.java | 248 + .../language/solverLanguage/impl/LetImpl.java | 224 + .../language/solverLanguage/impl/LiteralImpl.java | 38 + .../solverLanguage/impl/LocalVariablesImpl.java | 154 + .../solverLanguage/impl/LogicLiteralImpl.java | 166 + .../impl/LowerBoundedScopeDefinitionImpl.java | 165 + .../solverLanguage/impl/ManyMultiplicityImpl.java | 38 + .../solverLanguage/impl/MemberDefinitionImpl.java | 430 + .../solverLanguage/impl/MetricDefinitionImpl.java | 309 + .../language/solverLanguage/impl/MetricImpl.java | 159 + .../solverLanguage/impl/MultiplicityImpl.java | 40 + .../solverLanguage/impl/NamedElementImpl.java | 166 + .../language/solverLanguage/impl/NodeImpl.java | 165 + .../solverLanguage/impl/NumericLiteralImpl.java | 167 + .../impl/ObjectiveDefinitionImpl.java | 249 + .../impl/PredicateDefinitionImpl.java | 372 + .../solverLanguage/impl/PredicateImpl.java | 38 + .../language/solverLanguage/impl/ProblemImpl.java | 154 + .../impl/QuantifiedExpressionImpl.java | 318 + .../solverLanguage/impl/ReferenceImpl.java | 159 + .../solverLanguage/impl/ScopeDefinitionImpl.java | 159 + .../impl/SolverLanguageFactoryImpl.java | 905 + .../impl/SolverLanguagePackageImpl.java | 2726 +++ .../solverLanguage/impl/StarArgumentImpl.java | 38 + .../solverLanguage/impl/StatementImpl.java | 40 + .../solverLanguage/impl/StringLiteralImpl.java | 165 + .../language/solverLanguage/impl/SwitchImpl.java | 152 + .../solverLanguage/impl/TypedArgumentImpl.java | 221 + .../solverLanguage/impl/TypedStarArgumentImpl.java | 159 + .../solverLanguage/impl/UnaryExpressionImpl.java | 249 + .../impl/UnnamedErrorPrediateDefinitionImpl.java | 247 + .../language/solverLanguage/impl/VariableImpl.java | 159 + .../util/SolverLanguageAdapterFactory.java | 1147 + .../solverLanguage/util/SolverLanguageSwitch.java | 1388 ++ .../model/SolverLanguage.ecore | 291 + .../model/SolverLanguage.genmodel | 249 + .../model/generated/SolverLanguage.ecore | 243 - .../model/generated/SolverLanguage.genmodel | 211 - .../plugin.properties | 4 + .../org.eclipse.viatra.solver.language/plugin.xml | 2 +- .../viatra/solver/language/SolverLanguage.xtextbin | Bin 11964 -> 13021 bytes .../SolverLanguageStandaloneSetupGenerated.java | 5 - .../antlr/internal/InternalSolverLanguageParser.g | 1085 +- .../internal/InternalSolverLanguageParser.java | 5984 +++-- .../internal/InternalSolverLanguageParser.tokens | 147 +- .../antlr/lexer/InternalSolverLanguageLexer.g | 46 +- .../antlr/lexer/InternalSolverLanguageLexer.java | 1673 +- .../antlr/lexer/InternalSolverLanguageLexer.tokens | 147 +- .../SolverLanguageSemanticSequencer.java | 511 +- .../SolverLanguageSyntacticSequencer.java | 14 +- .../services/SolverLanguageGrammarAccess.java | 1153 +- .../language/solverLanguage/Aggregation.java | 96 - .../language/solverLanguage/AggregationOp.java | 317 - .../solver/language/solverLanguage/Argument.java | 20 - .../language/solverLanguage/ArgumentList.java | 40 - .../solver/language/solverLanguage/Assertion.java | 70 - .../language/solverLanguage/BinaryExpression.java | 96 - .../language/solverLanguage/BinaryOperator.java | 455 - .../solverLanguage/BoundedMultiplicity.java | 70 - .../solverLanguage/BoundedScopeDefinition.java | 70 - .../solver/language/solverLanguage/Call.java | 116 - .../solver/language/solverLanguage/Case.java | 70 - .../language/solverLanguage/ClassDefinition.java | 97 - .../solver/language/solverLanguage/Comparison.java | 96 - .../language/solverLanguage/Conjunction.java | 38 - .../solver/language/solverLanguage/Count.java | 47 - .../language/solverLanguage/DefaultDefinition.java | 70 - .../language/solverLanguage/Disjunction.java | 38 - .../solverLanguage/EmptyIntervalLiteral.java | 19 - .../language/solverLanguage/ExactMultiplicity.java | 47 - .../solverLanguage/ExactScopeDefinition.java | 47 - .../solver/language/solverLanguage/Expression.java | 19 - .../solverLanguage/ExpressionArgument.java | 47 - .../solverLanguage/ExternMetricDefinition.java | 73 - .../solverLanguage/ExternPredicateDefinition.java | 47 - .../solver/language/solverLanguage/IfElse.java | 93 - .../language/solverLanguage/InfinityLiteral.java | 19 - .../solver/language/solverLanguage/Interval.java | 70 - .../solver/language/solverLanguage/Literal.java | 19 - .../language/solverLanguage/LogicLiteral.java | 50 - .../solver/language/solverLanguage/LogicValue.java | 271 - .../LowerBoundedScopeDefinition.java | 47 - .../language/solverLanguage/ManyMultiplicity.java | 19 - .../language/solverLanguage/MemberDefinition.java | 140 - .../language/solverLanguage/MetricDefinition.java | 96 - .../solver/language/solverLanguage/MetricType.java | 225 - .../language/solverLanguage/Multiplicity.java | 20 - .../language/solverLanguage/NamedElement.java | 48 - .../language/solverLanguage/NumericLiteral.java | 48 - .../solverLanguage/ObjectiveDefinition.java | 73 - .../language/solverLanguage/ObjectiveKind.java | 225 - .../solverLanguage/PredicateDefinition.java | 116 - .../solver/language/solverLanguage/Problem.java | 40 - .../solver/language/solverLanguage/Reference.java | 47 - .../language/solverLanguage/ScopeDefinition.java | 47 - .../solverLanguage/SolverLanguageFactory.java | 458 - .../solverLanguage/SolverLanguagePackage.java | 4143 ---- .../language/solverLanguage/StarArgument.java | 19 - .../solver/language/solverLanguage/Statement.java | 20 - .../language/solverLanguage/StringLiteral.java | 47 - .../solver/language/solverLanguage/Switch.java | 38 - .../language/solverLanguage/TypedArgument.java | 70 - .../language/solverLanguage/TypedStarArgument.java | 47 - .../language/solverLanguage/UnaryExpression.java | 73 - .../solver/language/solverLanguage/UnaryOp.java | 317 - .../UnnamedErrorPrediateDefinition.java | 70 - .../solverLanguage/impl/AggregationImpl.java | 343 - .../language/solverLanguage/impl/ArgumentImpl.java | 43 - .../solverLanguage/impl/ArgumentListImpl.java | 169 - .../solverLanguage/impl/AssertionImpl.java | 269 - .../solverLanguage/impl/BinaryExpressionImpl.java | 343 - .../impl/BoundedMultiplicityImpl.java | 237 - .../impl/BoundedScopeDefinitionImpl.java | 237 - .../language/solverLanguage/impl/CallImpl.java | 401 - .../language/solverLanguage/impl/CaseImpl.java | 269 - .../solverLanguage/impl/ClassDefinitionImpl.java | 340 - .../solverLanguage/impl/ComparisonImpl.java | 343 - .../solverLanguage/impl/ConjunctionImpl.java | 167 - .../language/solverLanguage/impl/CountImpl.java | 196 - .../solverLanguage/impl/DefaultDefinitionImpl.java | 270 - .../solverLanguage/impl/DisjunctionImpl.java | 167 - .../impl/EmptyIntervalLiteralImpl.java | 41 - .../solverLanguage/impl/ExactMultiplicityImpl.java | 179 - .../impl/ExactScopeDefinitionImpl.java | 179 - .../impl/ExpressionArgumentImpl.java | 196 - .../solverLanguage/impl/ExpressionImpl.java | 41 - .../impl/ExternMetricDefinitionImpl.java | 270 - .../impl/ExternPredicateDefinitionImpl.java | 196 - .../language/solverLanguage/impl/IfElseImpl.java | 342 - .../solverLanguage/impl/InfinityLiteralImpl.java | 41 - .../language/solverLanguage/impl/IntervalImpl.java | 269 - .../language/solverLanguage/impl/LiteralImpl.java | 41 - .../solverLanguage/impl/LogicLiteralImpl.java | 180 - .../impl/LowerBoundedScopeDefinitionImpl.java | 179 - .../solverLanguage/impl/ManyMultiplicityImpl.java | 41 - .../solverLanguage/impl/MemberDefinitionImpl.java | 463 - .../solverLanguage/impl/MetricDefinitionImpl.java | 343 - .../solverLanguage/impl/MultiplicityImpl.java | 43 - .../solverLanguage/impl/NamedElementImpl.java | 180 - .../solverLanguage/impl/NumericLiteralImpl.java | 181 - .../impl/ObjectiveDefinitionImpl.java | 270 - .../impl/PredicateDefinitionImpl.java | 400 - .../language/solverLanguage/impl/ProblemImpl.java | 169 - .../solverLanguage/impl/ReferenceImpl.java | 175 - .../solverLanguage/impl/ScopeDefinitionImpl.java | 175 - .../impl/SolverLanguageFactoryImpl.java | 894 - .../impl/SolverLanguagePackageImpl.java | 2379 -- .../solverLanguage/impl/StarArgumentImpl.java | 41 - .../solverLanguage/impl/StatementImpl.java | 43 - .../solverLanguage/impl/StringLiteralImpl.java | 179 - .../language/solverLanguage/impl/SwitchImpl.java | 167 - .../solverLanguage/impl/TypedArgumentImpl.java | 242 - .../solverLanguage/impl/TypedStarArgumentImpl.java | 175 - .../solverLanguage/impl/UnaryExpressionImpl.java | 270 - .../impl/UnnamedErrorPrediateDefinitionImpl.java | 270 - .../util/SolverLanguageAdapterFactory.java | 1053 - .../solverLanguage/util/SolverLanguageSwitch.java | 1245 - .../AbstractSolverLanguageValidator.java | 2 +- .../solver/language/GenerateSolverLanguage.mwe2 | 1 + .../viatra/solver/language/SolverLanguage.xtext | 71 +- ....SolverLanguageTokenDefInjectingParser.xtendbin | Bin 2742 -> 2742 bytes ...nguageSyntheticTokenSyntacticSequencer.xtendbin | Bin 2758 -> 2758 bytes .../bin/queries/.FamilyTreeConstraints.java._trace | Bin 333 -> 773 bytes .../bin/queries/.MemberIsItsOwnParent.java._trace | Bin 3544 -> 3540 bytes .../bin/queries/.gitignore | 1 + .../bin/queries/familyTreeConstraints.vql | 44 +- .../case.study.familyTree.run/plugin.xml | 18 +- .../queries/.FamilyTreeConstraints.java._trace | Bin 333 -> 773 bytes .../queries/.MemberIsItsOwnParent.java._trace | Bin 3544 -> 3540 bytes .../src-gen/queries/.gitignore | 1 + .../src-gen/queries/FamilyTreeConstraints.java | 150 +- .../src-gen/queries/MemberHasParent.java | 551 + .../src-gen/queries/MemberIsItsOwnParent.java | 1154 +- .../src-gen/queries/NegativeAge.java | 593 + .../src-gen/queries/ParentTooYoung.java | 775 + .../src-gen/queries/TwoMembersHaveNoParent.java | 723 + .../xtend-gen/converter/.UML2TGF.xtendbin | Bin 6885 -> 6885 bytes .../xtend-gen/converter/.gitignore | 2 + .../case.study.pledge.run/bin/.gitignore | 1 + .../case.study.pledge.run/plugin.xml | 84 +- .../xtend-gen/run/.GeneratePledgeModels.xtendbin | Bin 16907 -> 16978 bytes 288 files changed, 57023 insertions(+), 41075 deletions(-) create mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Aggregation.java create mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Argument.java create mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/ArgumentList.java create mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/BinaryExpression.java create mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/BinaryOperator.java create mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/BoundedMultiplicity.java create mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/BoundedScopeDefinition.java create mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Call.java create mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Case.java create mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/CastExpression.java create mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/ClassDefinition.java create mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Comparison.java create mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Conjunction.java create mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/DefaultDefinition.java create mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Disjunction.java create mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/EmptyIntervalLiteral.java create mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/ExactMultiplicity.java create mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/ExactScopeDefinition.java create mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Expression.java create mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/ExpressionArgument.java create mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/ExternAggregatorDefinition.java create mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/ExternDatatypeDefinition.java create mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/ExternMetricDefinition.java create mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/ExternPredicateDefinition.java create mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Functor.java create mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/IfElse.java create mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/InfinityLiteral.java create mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Interpretation.java create mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Interval.java create mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Let.java create mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/LetBinding.java create mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Literal.java create mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/LocalVariables.java create mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/LogicLiteral.java create mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/LogicValue.java create mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/LowerBoundedScopeDefinition.java create mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/ManyMultiplicity.java create mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/MemberDefinition.java create mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Metric.java create mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/MetricDefinition.java create mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Multiplicity.java create mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/NamedElement.java create mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Node.java create mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/NumericLiteral.java create mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/ObjectiveDefinition.java create mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/ObjectiveKind.java create mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Predicate.java create mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/PredicateDefinition.java create mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Problem.java create mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/QuantifiedExpression.java create mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Quantifier.java create mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Reference.java create mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/ScopeDefinition.java create mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/SolverLanguageFactory.java create mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/SolverLanguagePackage.java create mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/StarArgument.java create mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Statement.java create mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/StringLiteral.java create mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Switch.java create mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/TypedArgument.java create mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/TypedStarArgument.java create mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/UnaryExpression.java create mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/UnaryOp.java create mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/UnnamedErrorPrediateDefinition.java create mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Variable.java create mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/AggregationImpl.java create mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ArgumentImpl.java create mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ArgumentListImpl.java create mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/BinaryExpressionImpl.java create mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/BoundedMultiplicityImpl.java create mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/BoundedScopeDefinitionImpl.java create mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/CallImpl.java create mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/CaseImpl.java create mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/CastExpressionImpl.java create mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ClassDefinitionImpl.java create mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ComparisonImpl.java create mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ConjunctionImpl.java create mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/DefaultDefinitionImpl.java create mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/DisjunctionImpl.java create mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/EmptyIntervalLiteralImpl.java create mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExactMultiplicityImpl.java create mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExactScopeDefinitionImpl.java create mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExpressionArgumentImpl.java create mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExpressionImpl.java create mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExternAggregatorDefinitionImpl.java create mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExternDatatypeDefinitionImpl.java create mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExternMetricDefinitionImpl.java create mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExternPredicateDefinitionImpl.java create mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/FunctorImpl.java create mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/IfElseImpl.java create mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/InfinityLiteralImpl.java create mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/InterpretationImpl.java create mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/IntervalImpl.java create mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/LetBindingImpl.java create mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/LetImpl.java create mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/LiteralImpl.java create mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/LocalVariablesImpl.java create mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/LogicLiteralImpl.java create mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/LowerBoundedScopeDefinitionImpl.java create mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ManyMultiplicityImpl.java create mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/MemberDefinitionImpl.java create mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/MetricDefinitionImpl.java create mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/MetricImpl.java create mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/MultiplicityImpl.java create mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/NamedElementImpl.java create mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/NodeImpl.java create mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/NumericLiteralImpl.java create mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ObjectiveDefinitionImpl.java create mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/PredicateDefinitionImpl.java create mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/PredicateImpl.java create mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ProblemImpl.java create mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/QuantifiedExpressionImpl.java create mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ReferenceImpl.java create mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ScopeDefinitionImpl.java create mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/SolverLanguageFactoryImpl.java create mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/SolverLanguagePackageImpl.java create mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/StarArgumentImpl.java create mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/StatementImpl.java create mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/StringLiteralImpl.java create mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/SwitchImpl.java create mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/TypedArgumentImpl.java create mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/TypedStarArgumentImpl.java create mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/UnaryExpressionImpl.java create mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/UnnamedErrorPrediateDefinitionImpl.java create mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/VariableImpl.java create mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/util/SolverLanguageAdapterFactory.java create mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/util/SolverLanguageSwitch.java create mode 100644 Application/org.eclipse.viatra.solver.language/model/SolverLanguage.ecore create mode 100644 Application/org.eclipse.viatra.solver.language/model/SolverLanguage.genmodel delete mode 100644 Application/org.eclipse.viatra.solver.language/model/generated/SolverLanguage.ecore delete mode 100644 Application/org.eclipse.viatra.solver.language/model/generated/SolverLanguage.genmodel create mode 100644 Application/org.eclipse.viatra.solver.language/plugin.properties delete mode 100644 Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Aggregation.java delete mode 100644 Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/AggregationOp.java delete mode 100644 Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Argument.java delete mode 100644 Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/ArgumentList.java delete mode 100644 Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Assertion.java delete mode 100644 Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/BinaryExpression.java delete mode 100644 Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/BinaryOperator.java delete mode 100644 Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/BoundedMultiplicity.java delete mode 100644 Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/BoundedScopeDefinition.java delete mode 100644 Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Call.java delete mode 100644 Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Case.java delete mode 100644 Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/ClassDefinition.java delete mode 100644 Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Comparison.java delete mode 100644 Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Conjunction.java delete mode 100644 Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Count.java delete mode 100644 Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/DefaultDefinition.java delete mode 100644 Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Disjunction.java delete mode 100644 Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/EmptyIntervalLiteral.java delete mode 100644 Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/ExactMultiplicity.java delete mode 100644 Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/ExactScopeDefinition.java delete mode 100644 Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Expression.java delete mode 100644 Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/ExpressionArgument.java delete mode 100644 Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/ExternMetricDefinition.java delete mode 100644 Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/ExternPredicateDefinition.java delete mode 100644 Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/IfElse.java delete mode 100644 Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/InfinityLiteral.java delete mode 100644 Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Interval.java delete mode 100644 Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Literal.java delete mode 100644 Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/LogicLiteral.java delete mode 100644 Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/LogicValue.java delete mode 100644 Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/LowerBoundedScopeDefinition.java delete mode 100644 Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/ManyMultiplicity.java delete mode 100644 Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/MemberDefinition.java delete mode 100644 Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/MetricDefinition.java delete mode 100644 Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/MetricType.java delete mode 100644 Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Multiplicity.java delete mode 100644 Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/NamedElement.java delete mode 100644 Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/NumericLiteral.java delete mode 100644 Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/ObjectiveDefinition.java delete mode 100644 Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/ObjectiveKind.java delete mode 100644 Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/PredicateDefinition.java delete mode 100644 Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Problem.java delete mode 100644 Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Reference.java delete mode 100644 Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/ScopeDefinition.java delete mode 100644 Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/SolverLanguageFactory.java delete mode 100644 Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/SolverLanguagePackage.java delete mode 100644 Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/StarArgument.java delete mode 100644 Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Statement.java delete mode 100644 Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/StringLiteral.java delete mode 100644 Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Switch.java delete mode 100644 Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/TypedArgument.java delete mode 100644 Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/TypedStarArgument.java delete mode 100644 Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/UnaryExpression.java delete mode 100644 Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/UnaryOp.java delete mode 100644 Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/UnnamedErrorPrediateDefinition.java delete mode 100644 Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/AggregationImpl.java delete mode 100644 Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ArgumentImpl.java delete mode 100644 Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ArgumentListImpl.java delete mode 100644 Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/AssertionImpl.java delete mode 100644 Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/BinaryExpressionImpl.java delete mode 100644 Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/BoundedMultiplicityImpl.java delete mode 100644 Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/BoundedScopeDefinitionImpl.java delete mode 100644 Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/CallImpl.java delete mode 100644 Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/CaseImpl.java delete mode 100644 Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ClassDefinitionImpl.java delete mode 100644 Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ComparisonImpl.java delete mode 100644 Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ConjunctionImpl.java delete mode 100644 Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/CountImpl.java delete mode 100644 Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/DefaultDefinitionImpl.java delete mode 100644 Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/DisjunctionImpl.java delete mode 100644 Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/EmptyIntervalLiteralImpl.java delete mode 100644 Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExactMultiplicityImpl.java delete mode 100644 Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExactScopeDefinitionImpl.java delete mode 100644 Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExpressionArgumentImpl.java delete mode 100644 Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExpressionImpl.java delete mode 100644 Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExternMetricDefinitionImpl.java delete mode 100644 Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExternPredicateDefinitionImpl.java delete mode 100644 Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/IfElseImpl.java delete mode 100644 Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/InfinityLiteralImpl.java delete mode 100644 Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/IntervalImpl.java delete mode 100644 Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/LiteralImpl.java delete mode 100644 Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/LogicLiteralImpl.java delete mode 100644 Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/LowerBoundedScopeDefinitionImpl.java delete mode 100644 Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ManyMultiplicityImpl.java delete mode 100644 Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/MemberDefinitionImpl.java delete mode 100644 Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/MetricDefinitionImpl.java delete mode 100644 Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/MultiplicityImpl.java delete mode 100644 Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/NamedElementImpl.java delete mode 100644 Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/NumericLiteralImpl.java delete mode 100644 Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ObjectiveDefinitionImpl.java delete mode 100644 Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/PredicateDefinitionImpl.java delete mode 100644 Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ProblemImpl.java delete mode 100644 Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ReferenceImpl.java delete mode 100644 Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ScopeDefinitionImpl.java delete mode 100644 Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/SolverLanguageFactoryImpl.java delete mode 100644 Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/SolverLanguagePackageImpl.java delete mode 100644 Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/StarArgumentImpl.java delete mode 100644 Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/StatementImpl.java delete mode 100644 Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/StringLiteralImpl.java delete mode 100644 Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/SwitchImpl.java delete mode 100644 Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/TypedArgumentImpl.java delete mode 100644 Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/TypedStarArgumentImpl.java delete mode 100644 Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/UnaryExpressionImpl.java delete mode 100644 Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/UnnamedErrorPrediateDefinitionImpl.java delete mode 100644 Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/util/SolverLanguageAdapterFactory.java delete mode 100644 Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/util/SolverLanguageSwitch.java create mode 100644 Tests/MODELS2020-CaseStudies/case.study.familyTree.run/src-gen/queries/MemberHasParent.java create mode 100644 Tests/MODELS2020-CaseStudies/case.study.familyTree.run/src-gen/queries/NegativeAge.java create mode 100644 Tests/MODELS2020-CaseStudies/case.study.familyTree.run/src-gen/queries/ParentTooYoung.java create mode 100644 Tests/MODELS2020-CaseStudies/case.study.familyTree.run/src-gen/queries/TwoMembersHaveNoParent.java (limited to 'Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner') diff --git a/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeModule.xtendbin b/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeModule.xtendbin index b3013cf6..fae8ba45 100644 Binary files a/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeModule.xtendbin and b/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeModule.xtendbin differ diff --git a/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeSetup.xtendbin b/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeSetup.xtendbin index 56db384c..e820bee5 100644 Binary files a/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeSetup.xtendbin and b/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeSetup.xtendbin differ diff --git a/Application/org.eclipse.viatra.solver.language.ide/src-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/SolverLanguageParser.java b/Application/org.eclipse.viatra.solver.language.ide/src-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/SolverLanguageParser.java index e4b2806e..a84662a2 100644 --- a/Application/org.eclipse.viatra.solver.language.ide/src-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/SolverLanguageParser.java +++ b/Application/org.eclipse.viatra.solver.language.ide/src-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/SolverLanguageParser.java @@ -50,19 +50,16 @@ public class SolverLanguageParser extends AbstractContentAssistParser { builder.put(grammarAccess.getLowerBoundedScopeDefinitionAccess().getAlternatives_1(), "rule__LowerBoundedScopeDefinition__Alternatives_1"); builder.put(grammarAccess.getUpperMultiplictyAccess().getAlternatives(), "rule__UpperMultiplicty__Alternatives"); builder.put(grammarAccess.getQualifiedNameAccess().getAlternatives(), "rule__QualifiedName__Alternatives"); - builder.put(grammarAccess.getMetricTypeAccess().getAlternatives(), "rule__MetricType__Alternatives"); - builder.put(grammarAccess.getBinaryOperatorAccess().getAlternatives(), "rule__BinaryOperator__Alternatives"); builder.put(grammarAccess.getComparisonOperatorAccess().getAlternatives(), "rule__ComparisonOperator__Alternatives"); builder.put(grammarAccess.getAdditiveBinaryOperatorAccess().getAlternatives(), "rule__AdditiveBinaryOperator__Alternatives"); builder.put(grammarAccess.getMultiplicativeBinaryOperatorAccess().getAlternatives(), "rule__MultiplicativeBinaryOperator__Alternatives"); builder.put(grammarAccess.getUnaryOpAccess().getAlternatives(), "rule__UnaryOp__Alternatives"); - builder.put(grammarAccess.getAggregationOpAccess().getAlternatives(), "rule__AggregationOp__Alternatives"); + builder.put(grammarAccess.getQuantifierAccess().getAlternatives(), "rule__Quantifier__Alternatives"); builder.put(grammarAccess.getLogicValueAccess().getAlternatives(), "rule__LogicValue__Alternatives"); builder.put(grammarAccess.getObjectiveKindAccess().getAlternatives(), "rule__ObjectiveKind__Alternatives"); builder.put(grammarAccess.getStatementAccess().getGroup(), "rule__Statement__Group__0"); builder.put(grammarAccess.getAssertionOrDefinitionAccess().getGroup(), "rule__AssertionOrDefinition__Group__0"); builder.put(grammarAccess.getAssertionOrDefinitionAccess().getGroup_1_0(), "rule__AssertionOrDefinition__Group_1_0__0"); - builder.put(grammarAccess.getAssertionOrDefinitionAccess().getGroup_1_0_1(), "rule__AssertionOrDefinition__Group_1_0_1__0"); builder.put(grammarAccess.getAssertionOrDefinitionAccess().getGroup_1_1(), "rule__AssertionOrDefinition__Group_1_1__0"); builder.put(grammarAccess.getAssertionOrDefinitionAccess().getGroup_1_2(), "rule__AssertionOrDefinition__Group_1_2__0"); builder.put(grammarAccess.getPredicateDefinitionAccess().getGroup(), "rule__PredicateDefinition__Group__0"); @@ -70,10 +67,20 @@ public class SolverLanguageParser extends AbstractContentAssistParser { builder.put(grammarAccess.getPredicateDefinitionAccess().getGroup_0_1(), "rule__PredicateDefinition__Group_0_1__0"); builder.put(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getGroup(), "rule__UnnamedErrorPrediateDefinition__Group__0"); builder.put(grammarAccess.getDefaultDefinitionAccess().getGroup(), "rule__DefaultDefinition__Group__0"); - builder.put(grammarAccess.getExternPredicateDefinitionAccess().getGroup(), "rule__ExternPredicateDefinition__Group__0"); builder.put(grammarAccess.getMetricDefinitionAccess().getGroup(), "rule__MetricDefinition__Group__0"); + builder.put(grammarAccess.getExternPredicateDefinitionAccess().getGroup(), "rule__ExternPredicateDefinition__Group__0"); builder.put(grammarAccess.getExternMetricDefinitionAccess().getGroup(), "rule__ExternMetricDefinition__Group__0"); + builder.put(grammarAccess.getExternAggregatorDefinitionAccess().getGroup(), "rule__ExternAggregatorDefinition__Group__0"); + builder.put(grammarAccess.getExternDatatypeDefinitionAccess().getGroup(), "rule__ExternDatatypeDefinition__Group__0"); + builder.put(grammarAccess.getExternDatatypeDefinitionAccess().getGroup_3(), "rule__ExternDatatypeDefinition__Group_3__0"); + builder.put(grammarAccess.getExternDatatypeDefinitionAccess().getGroup_3_2(), "rule__ExternDatatypeDefinition__Group_3_2__0"); + builder.put(grammarAccess.getVariableAccess().getGroup(), "rule__Variable__Group__0"); builder.put(grammarAccess.getIfElseAccess().getGroup(), "rule__IfElse__Group__0"); + builder.put(grammarAccess.getLetAccess().getGroup(), "rule__Let__Group__0"); + builder.put(grammarAccess.getLetAccess().getGroup_2(), "rule__Let__Group_2__0"); + builder.put(grammarAccess.getLetBindingAccess().getGroup(), "rule__LetBinding__Group__0"); + builder.put(grammarAccess.getImplicationExpressionAccess().getGroup(), "rule__ImplicationExpression__Group__0"); + builder.put(grammarAccess.getImplicationExpressionAccess().getGroup_1(), "rule__ImplicationExpression__Group_1__0"); builder.put(grammarAccess.getDisjunctiveExpressionAccess().getGroup(), "rule__DisjunctiveExpression__Group__0"); builder.put(grammarAccess.getDisjunctiveExpressionAccess().getGroup_1_0(), "rule__DisjunctiveExpression__Group_1_0__0"); builder.put(grammarAccess.getDisjunctiveExpressionAccess().getGroup_1_0_1(), "rule__DisjunctiveExpression__Group_1_0_1__0"); @@ -91,9 +98,15 @@ public class SolverLanguageParser extends AbstractContentAssistParser { builder.put(grammarAccess.getMultiplicativeExpressionAccess().getGroup_1(), "rule__MultiplicativeExpression__Group_1__0"); builder.put(grammarAccess.getExponentialExpressionAccess().getGroup(), "rule__ExponentialExpression__Group__0"); builder.put(grammarAccess.getExponentialExpressionAccess().getGroup_1(), "rule__ExponentialExpression__Group_1__0"); + builder.put(grammarAccess.getCastExpressionAccess().getGroup(), "rule__CastExpression__Group__0"); + builder.put(grammarAccess.getCastExpressionAccess().getGroup_1(), "rule__CastExpression__Group_1__0"); builder.put(grammarAccess.getUnaryExpressionAccess().getGroup_1(), "rule__UnaryExpression__Group_1__0"); - builder.put(grammarAccess.getCountAccess().getGroup(), "rule__Count__Group__0"); + builder.put(grammarAccess.getLocalVariablesAccess().getGroup(), "rule__LocalVariables__Group__0"); + builder.put(grammarAccess.getLocalVariablesAccess().getGroup_2(), "rule__LocalVariables__Group_2__0"); + builder.put(grammarAccess.getLocalVariablesAccess().getGroup_2_1(), "rule__LocalVariables__Group_2_1__0"); + builder.put(grammarAccess.getQuantifiedExpressionAccess().getGroup(), "rule__QuantifiedExpression__Group__0"); builder.put(grammarAccess.getAggregationAccess().getGroup(), "rule__Aggregation__Group__0"); + builder.put(grammarAccess.getAggregationAccess().getGroup_4(), "rule__Aggregation__Group_4__0"); builder.put(grammarAccess.getAtomicExpressionAccess().getGroup_4(), "rule__AtomicExpression__Group_4__0"); builder.put(grammarAccess.getCallAccess().getGroup(), "rule__Call__Group__0"); builder.put(grammarAccess.getArgumentListAccess().getGroup(), "rule__ArgumentList__Group__0"); @@ -128,7 +141,7 @@ public class SolverLanguageParser extends AbstractContentAssistParser { builder.put(grammarAccess.getQualifiedNameAccess().getGroup_0(), "rule__QualifiedName__Group_0__0"); builder.put(grammarAccess.getQualifiedNameAccess().getGroup_0_1(), "rule__QualifiedName__Group_0_1__0"); builder.put(grammarAccess.getProblemAccess().getStatementsAssignment(), "rule__Problem__StatementsAssignment"); - builder.put(grammarAccess.getAssertionOrDefinitionAccess().getRangeAssignment_1_0_1_1(), "rule__AssertionOrDefinition__RangeAssignment_1_0_1_1"); + builder.put(grammarAccess.getAssertionOrDefinitionAccess().getRangeAssignment_1_0_2(), "rule__AssertionOrDefinition__RangeAssignment_1_0_2"); builder.put(grammarAccess.getAssertionOrDefinitionAccess().getBodyAssignment_1_1_2(), "rule__AssertionOrDefinition__BodyAssignment_1_1_2"); builder.put(grammarAccess.getAssertionOrDefinitionAccess().getBodyAssignment_1_2_2(), "rule__AssertionOrDefinition__BodyAssignment_1_2_2"); builder.put(grammarAccess.getPredicateDefinitionAccess().getFunctionalAssignment_0_0_0(), "rule__PredicateDefinition__FunctionalAssignment_0_0_0"); @@ -141,15 +154,32 @@ public class SolverLanguageParser extends AbstractContentAssistParser { builder.put(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getBodyAssignment_3(), "rule__UnnamedErrorPrediateDefinition__BodyAssignment_3"); builder.put(grammarAccess.getDefaultDefinitionAccess().getHeadAssignment_1(), "rule__DefaultDefinition__HeadAssignment_1"); builder.put(grammarAccess.getDefaultDefinitionAccess().getRangeAssignment_3(), "rule__DefaultDefinition__RangeAssignment_3"); - builder.put(grammarAccess.getExternPredicateDefinitionAccess().getHeadAssignment_1(), "rule__ExternPredicateDefinition__HeadAssignment_1"); builder.put(grammarAccess.getMetricDefinitionAccess().getTypeAssignment_0(), "rule__MetricDefinition__TypeAssignment_0"); builder.put(grammarAccess.getMetricDefinitionAccess().getHeadAssignment_1(), "rule__MetricDefinition__HeadAssignment_1"); builder.put(grammarAccess.getMetricDefinitionAccess().getBodyAssignment_3(), "rule__MetricDefinition__BodyAssignment_3"); + builder.put(grammarAccess.getExternPredicateDefinitionAccess().getNameAssignment_1(), "rule__ExternPredicateDefinition__NameAssignment_1"); + builder.put(grammarAccess.getExternPredicateDefinitionAccess().getArgumentListAssignment_2(), "rule__ExternPredicateDefinition__ArgumentListAssignment_2"); builder.put(grammarAccess.getExternMetricDefinitionAccess().getTypeAssignment_1(), "rule__ExternMetricDefinition__TypeAssignment_1"); - builder.put(grammarAccess.getExternMetricDefinitionAccess().getHeadAssignment_2(), "rule__ExternMetricDefinition__HeadAssignment_2"); + builder.put(grammarAccess.getExternMetricDefinitionAccess().getNameAssignment_2(), "rule__ExternMetricDefinition__NameAssignment_2"); + builder.put(grammarAccess.getExternMetricDefinitionAccess().getArgumentListAssignment_3(), "rule__ExternMetricDefinition__ArgumentListAssignment_3"); + builder.put(grammarAccess.getExternAggregatorDefinitionAccess().getTypeAssignment_1(), "rule__ExternAggregatorDefinition__TypeAssignment_1"); + builder.put(grammarAccess.getExternAggregatorDefinitionAccess().getNameAssignment_2(), "rule__ExternAggregatorDefinition__NameAssignment_2"); + builder.put(grammarAccess.getExternAggregatorDefinitionAccess().getInputTypeAssignment_4(), "rule__ExternAggregatorDefinition__InputTypeAssignment_4"); + builder.put(grammarAccess.getExternDatatypeDefinitionAccess().getNameAssignment_2(), "rule__ExternDatatypeDefinition__NameAssignment_2"); + builder.put(grammarAccess.getExternDatatypeDefinitionAccess().getSupertypesAssignment_3_1(), "rule__ExternDatatypeDefinition__SupertypesAssignment_3_1"); + builder.put(grammarAccess.getExternDatatypeDefinitionAccess().getSupertypesAssignment_3_2_1(), "rule__ExternDatatypeDefinition__SupertypesAssignment_3_2_1"); + builder.put(grammarAccess.getVariableAccess().getTypeAssignment_0(), "rule__Variable__TypeAssignment_0"); + builder.put(grammarAccess.getVariableAccess().getNameAssignment_1(), "rule__Variable__NameAssignment_1"); builder.put(grammarAccess.getIfElseAccess().getConditionAssignment_1(), "rule__IfElse__ConditionAssignment_1"); builder.put(grammarAccess.getIfElseAccess().getThenAssignment_3(), "rule__IfElse__ThenAssignment_3"); builder.put(grammarAccess.getIfElseAccess().getElseAssignment_5(), "rule__IfElse__ElseAssignment_5"); + builder.put(grammarAccess.getLetAccess().getBindingsAssignment_1(), "rule__Let__BindingsAssignment_1"); + builder.put(grammarAccess.getLetAccess().getBindingsAssignment_2_1(), "rule__Let__BindingsAssignment_2_1"); + builder.put(grammarAccess.getLetAccess().getBodyAssignment_4(), "rule__Let__BodyAssignment_4"); + builder.put(grammarAccess.getLetBindingAccess().getVariableAssignment_0(), "rule__LetBinding__VariableAssignment_0"); + builder.put(grammarAccess.getLetBindingAccess().getValueAssignment_2(), "rule__LetBinding__ValueAssignment_2"); + builder.put(grammarAccess.getImplicationExpressionAccess().getOpAssignment_1_1(), "rule__ImplicationExpression__OpAssignment_1_1"); + builder.put(grammarAccess.getImplicationExpressionAccess().getRightAssignment_1_2(), "rule__ImplicationExpression__RightAssignment_1_2"); builder.put(grammarAccess.getDisjunctiveExpressionAccess().getChildrenAssignment_1_0_1_1(), "rule__DisjunctiveExpression__ChildrenAssignment_1_0_1_1"); builder.put(grammarAccess.getDisjunctiveExpressionAccess().getBodyAssignment_1_1_2(), "rule__DisjunctiveExpression__BodyAssignment_1_1_2"); builder.put(grammarAccess.getDisjunctiveExpressionAccess().getCasesAssignment_1_1_4_1(), "rule__DisjunctiveExpression__CasesAssignment_1_1_4_1"); @@ -164,12 +194,18 @@ public class SolverLanguageParser extends AbstractContentAssistParser { builder.put(grammarAccess.getMultiplicativeExpressionAccess().getRightAssignment_1_2(), "rule__MultiplicativeExpression__RightAssignment_1_2"); builder.put(grammarAccess.getExponentialExpressionAccess().getOpAssignment_1_1(), "rule__ExponentialExpression__OpAssignment_1_1"); builder.put(grammarAccess.getExponentialExpressionAccess().getRightAssignment_1_2(), "rule__ExponentialExpression__RightAssignment_1_2"); + builder.put(grammarAccess.getCastExpressionAccess().getTypeAssignment_1_2(), "rule__CastExpression__TypeAssignment_1_2"); builder.put(grammarAccess.getUnaryExpressionAccess().getOpAssignment_1_1(), "rule__UnaryExpression__OpAssignment_1_1"); builder.put(grammarAccess.getUnaryExpressionAccess().getBodyAssignment_1_2(), "rule__UnaryExpression__BodyAssignment_1_2"); - builder.put(grammarAccess.getCountAccess().getBodyAssignment_2(), "rule__Count__BodyAssignment_2"); + builder.put(grammarAccess.getLocalVariablesAccess().getVariablesAssignment_2_0(), "rule__LocalVariables__VariablesAssignment_2_0"); + builder.put(grammarAccess.getLocalVariablesAccess().getVariablesAssignment_2_1_1(), "rule__LocalVariables__VariablesAssignment_2_1_1"); + builder.put(grammarAccess.getQuantifiedExpressionAccess().getQuantifierAssignment_0(), "rule__QuantifiedExpression__QuantifierAssignment_0"); + builder.put(grammarAccess.getQuantifiedExpressionAccess().getLocalVariablesAssignment_1(), "rule__QuantifiedExpression__LocalVariablesAssignment_1"); + builder.put(grammarAccess.getQuantifiedExpressionAccess().getBodyAssignment_3(), "rule__QuantifiedExpression__BodyAssignment_3"); builder.put(grammarAccess.getAggregationAccess().getOpAssignment_0(), "rule__Aggregation__OpAssignment_0"); - builder.put(grammarAccess.getAggregationAccess().getBodyAssignment_2(), "rule__Aggregation__BodyAssignment_2"); - builder.put(grammarAccess.getAggregationAccess().getConditionAssignment_4(), "rule__Aggregation__ConditionAssignment_4"); + builder.put(grammarAccess.getAggregationAccess().getLocalVariablesAssignment_1(), "rule__Aggregation__LocalVariablesAssignment_1"); + builder.put(grammarAccess.getAggregationAccess().getBodyAssignment_3(), "rule__Aggregation__BodyAssignment_3"); + builder.put(grammarAccess.getAggregationAccess().getConditionAssignment_4_1(), "rule__Aggregation__ConditionAssignment_4_1"); builder.put(grammarAccess.getCallAccess().getFunctorAssignment_0(), "rule__Call__FunctorAssignment_0"); builder.put(grammarAccess.getCallAccess().getTransitiveClosureAssignment_1_0(), "rule__Call__TransitiveClosureAssignment_1_0"); builder.put(grammarAccess.getCallAccess().getReflexiveTransitiveClosureAssignment_1_1(), "rule__Call__ReflexiveTransitiveClosureAssignment_1_1"); @@ -213,7 +249,6 @@ public class SolverLanguageParser extends AbstractContentAssistParser { builder.put(grammarAccess.getLowerBoundedScopeDefinitionAccess().getLowerBoundAssignment_1_1_2(), "rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_1_2"); builder.put(grammarAccess.getObjectiveDefinitionAccess().getKindAssignment_0(), "rule__ObjectiveDefinition__KindAssignment_0"); builder.put(grammarAccess.getObjectiveDefinitionAccess().getObjectiveAssignment_1(), "rule__ObjectiveDefinition__ObjectiveAssignment_1"); - builder.put(grammarAccess.getNamedElementAccess().getNameAssignment(), "rule__NamedElement__NameAssignment"); } } diff --git a/Application/org.eclipse.viatra.solver.language.ide/src-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/internal/InternalSolverLanguageParser.g b/Application/org.eclipse.viatra.solver.language.ide/src-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/internal/InternalSolverLanguageParser.g index f5a473f4..a56b7fe0 100644 --- a/Application/org.eclipse.viatra.solver.language.ide/src-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/internal/InternalSolverLanguageParser.g +++ b/Application/org.eclipse.viatra.solver.language.ide/src-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/internal/InternalSolverLanguageParser.g @@ -57,29 +57,17 @@ import org.eclipse.viatra.solver.language.services.SolverLanguageGrammarAccess; tokenNameToValue.put("ColonHyphenMinus", "':-'"); tokenNameToValue.put("LessThanSignEqualsSign", "'<='"); tokenNameToValue.put("EqualsSignEqualsSign", "'=='"); + tokenNameToValue.put("EqualsSignGreaterThanSign", "'=>'"); tokenNameToValue.put("GreaterThanSignEqualsSign", "'>='"); - tokenNameToValue.put("EQ", "'EQ'"); - tokenNameToValue.put("IN", "'IN'"); + tokenNameToValue.put("As", "'as'"); tokenNameToValue.put("If", "'if'"); tokenNameToValue.put("In", "'in'"); - tokenNameToValue.put("ADD", "'ADD'"); - tokenNameToValue.put("DIV", "'DIV'"); - tokenNameToValue.put("MUL", "'MUL'"); - tokenNameToValue.put("POW", "'POW'"); - tokenNameToValue.put("SUB", "'SUB'"); - tokenNameToValue.put("Avg", "'avg'"); + tokenNameToValue.put("FullStopFullStopFullStop", "'...'"); tokenNameToValue.put("Inf", "'inf'"); - tokenNameToValue.put("Int", "'int'"); - tokenNameToValue.put("Max", "'max'"); + tokenNameToValue.put("Let", "'let'"); tokenNameToValue.put("May", "'may'"); - tokenNameToValue.put("Min", "'min'"); - tokenNameToValue.put("Sum", "'sum'"); - tokenNameToValue.put("LESS", "'LESS'"); tokenNameToValue.put("Else", "'else'"); tokenNameToValue.put("Must", "'must'"); - tokenNameToValue.put("Only", "'only'"); - tokenNameToValue.put("Prod", "'prod'"); - tokenNameToValue.put("Real", "'real'"); tokenNameToValue.put("Then", "'then'"); tokenNameToValue.put("True", "'true'"); tokenNameToValue.put("Class", "'class'"); @@ -88,20 +76,19 @@ import org.eclipse.viatra.solver.language.services.SolverLanguageGrammarAccess; tokenNameToValue.put("Error", "'error'"); tokenNameToValue.put("False", "'false'"); tokenNameToValue.put("Scope", "'scope'"); - tokenNameToValue.put("NOT_EQ", "'NOT_EQ'"); + tokenNameToValue.put("Exists", "'exists'"); tokenNameToValue.put("Extern", "'extern'"); - tokenNameToValue.put("GREATER", "'GREATER'"); - tokenNameToValue.put("LESS_EQ", "'LESS_EQ'"); + tokenNameToValue.put("Forall", "'forall'"); tokenNameToValue.put("Current", "'current'"); tokenNameToValue.put("Default", "'default'"); tokenNameToValue.put("Extends", "'extends'"); tokenNameToValue.put("Unknown", "'unknown'"); tokenNameToValue.put("Abstract", "'abstract'"); tokenNameToValue.put("Contains", "'contains'"); + tokenNameToValue.put("Datatype", "'datatype'"); tokenNameToValue.put("Maximize", "'maximize'"); tokenNameToValue.put("Minimize", "'minimize'"); tokenNameToValue.put("Opposite", "'opposite'"); - tokenNameToValue.put("GREATER_EQ", "'GREATER_EQ'"); tokenNameToValue.put("Functional", "'functional'"); } @@ -273,50 +260,50 @@ finally { restoreStackSize(stackSize); } -// Entry rule entryRuleExternPredicateDefinition -entryRuleExternPredicateDefinition +// Entry rule entryRuleMetricDefinition +entryRuleMetricDefinition : -{ before(grammarAccess.getExternPredicateDefinitionRule()); } - ruleExternPredicateDefinition -{ after(grammarAccess.getExternPredicateDefinitionRule()); } +{ before(grammarAccess.getMetricDefinitionRule()); } + ruleMetricDefinition +{ after(grammarAccess.getMetricDefinitionRule()); } EOF ; -// Rule ExternPredicateDefinition -ruleExternPredicateDefinition +// Rule MetricDefinition +ruleMetricDefinition @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getExternPredicateDefinitionAccess().getGroup()); } - (rule__ExternPredicateDefinition__Group__0) - { after(grammarAccess.getExternPredicateDefinitionAccess().getGroup()); } + { before(grammarAccess.getMetricDefinitionAccess().getGroup()); } + (rule__MetricDefinition__Group__0) + { after(grammarAccess.getMetricDefinitionAccess().getGroup()); } ) ; finally { restoreStackSize(stackSize); } -// Entry rule entryRuleMetricDefinition -entryRuleMetricDefinition +// Entry rule entryRuleExternPredicateDefinition +entryRuleExternPredicateDefinition : -{ before(grammarAccess.getMetricDefinitionRule()); } - ruleMetricDefinition -{ after(grammarAccess.getMetricDefinitionRule()); } +{ before(grammarAccess.getExternPredicateDefinitionRule()); } + ruleExternPredicateDefinition +{ after(grammarAccess.getExternPredicateDefinitionRule()); } EOF ; -// Rule MetricDefinition -ruleMetricDefinition +// Rule ExternPredicateDefinition +ruleExternPredicateDefinition @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getMetricDefinitionAccess().getGroup()); } - (rule__MetricDefinition__Group__0) - { after(grammarAccess.getMetricDefinitionAccess().getGroup()); } + { before(grammarAccess.getExternPredicateDefinitionAccess().getGroup()); } + (rule__ExternPredicateDefinition__Group__0) + { after(grammarAccess.getExternPredicateDefinitionAccess().getGroup()); } ) ; finally { @@ -348,6 +335,81 @@ finally { restoreStackSize(stackSize); } +// Entry rule entryRuleExternAggregatorDefinition +entryRuleExternAggregatorDefinition +: +{ before(grammarAccess.getExternAggregatorDefinitionRule()); } + ruleExternAggregatorDefinition +{ after(grammarAccess.getExternAggregatorDefinitionRule()); } + EOF +; + +// Rule ExternAggregatorDefinition +ruleExternAggregatorDefinition + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getExternAggregatorDefinitionAccess().getGroup()); } + (rule__ExternAggregatorDefinition__Group__0) + { after(grammarAccess.getExternAggregatorDefinitionAccess().getGroup()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Entry rule entryRuleExternDatatypeDefinition +entryRuleExternDatatypeDefinition +: +{ before(grammarAccess.getExternDatatypeDefinitionRule()); } + ruleExternDatatypeDefinition +{ after(grammarAccess.getExternDatatypeDefinitionRule()); } + EOF +; + +// Rule ExternDatatypeDefinition +ruleExternDatatypeDefinition + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getExternDatatypeDefinitionAccess().getGroup()); } + (rule__ExternDatatypeDefinition__Group__0) + { after(grammarAccess.getExternDatatypeDefinitionAccess().getGroup()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Entry rule entryRuleVariable +entryRuleVariable +: +{ before(grammarAccess.getVariableRule()); } + ruleVariable +{ after(grammarAccess.getVariableRule()); } + EOF +; + +// Rule Variable +ruleVariable + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getVariableAccess().getGroup()); } + (rule__Variable__Group__0) + { after(grammarAccess.getVariableAccess().getGroup()); } + ) +; +finally { + restoreStackSize(stackSize); +} + // Entry rule entryRuleExpression entryRuleExpression : @@ -398,6 +460,81 @@ finally { restoreStackSize(stackSize); } +// Entry rule entryRuleLet +entryRuleLet +: +{ before(grammarAccess.getLetRule()); } + ruleLet +{ after(grammarAccess.getLetRule()); } + EOF +; + +// Rule Let +ruleLet + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getLetAccess().getGroup()); } + (rule__Let__Group__0) + { after(grammarAccess.getLetAccess().getGroup()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Entry rule entryRuleLetBinding +entryRuleLetBinding +: +{ before(grammarAccess.getLetBindingRule()); } + ruleLetBinding +{ after(grammarAccess.getLetBindingRule()); } + EOF +; + +// Rule LetBinding +ruleLetBinding + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getLetBindingAccess().getGroup()); } + (rule__LetBinding__Group__0) + { after(grammarAccess.getLetBindingAccess().getGroup()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Entry rule entryRuleImplicationExpression +entryRuleImplicationExpression +: +{ before(grammarAccess.getImplicationExpressionRule()); } + ruleImplicationExpression +{ after(grammarAccess.getImplicationExpressionRule()); } + EOF +; + +// Rule ImplicationExpression +ruleImplicationExpression + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getImplicationExpressionAccess().getGroup()); } + (rule__ImplicationExpression__Group__0) + { after(grammarAccess.getImplicationExpressionAccess().getGroup()); } + ) +; +finally { + restoreStackSize(stackSize); +} + // Entry rule entryRuleDisjunctiveExpression entryRuleDisjunctiveExpression : @@ -573,6 +710,31 @@ finally { restoreStackSize(stackSize); } +// Entry rule entryRuleCastExpression +entryRuleCastExpression +: +{ before(grammarAccess.getCastExpressionRule()); } + ruleCastExpression +{ after(grammarAccess.getCastExpressionRule()); } + EOF +; + +// Rule CastExpression +ruleCastExpression + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getCastExpressionAccess().getGroup()); } + (rule__CastExpression__Group__0) + { after(grammarAccess.getCastExpressionAccess().getGroup()); } + ) +; +finally { + restoreStackSize(stackSize); +} + // Entry rule entryRuleUnaryExpression entryRuleUnaryExpression : @@ -623,25 +785,50 @@ finally { restoreStackSize(stackSize); } -// Entry rule entryRuleCount -entryRuleCount +// Entry rule entryRuleLocalVariables +entryRuleLocalVariables +: +{ before(grammarAccess.getLocalVariablesRule()); } + ruleLocalVariables +{ after(grammarAccess.getLocalVariablesRule()); } + EOF +; + +// Rule LocalVariables +ruleLocalVariables + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getLocalVariablesAccess().getGroup()); } + (rule__LocalVariables__Group__0) + { after(grammarAccess.getLocalVariablesAccess().getGroup()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Entry rule entryRuleQuantifiedExpression +entryRuleQuantifiedExpression : -{ before(grammarAccess.getCountRule()); } - ruleCount -{ after(grammarAccess.getCountRule()); } +{ before(grammarAccess.getQuantifiedExpressionRule()); } + ruleQuantifiedExpression +{ after(grammarAccess.getQuantifiedExpressionRule()); } EOF ; -// Rule Count -ruleCount +// Rule QuantifiedExpression +ruleQuantifiedExpression @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getCountAccess().getGroup()); } - (rule__Count__Group__0) - { after(grammarAccess.getCountAccess().getGroup()); } + { before(grammarAccess.getQuantifiedExpressionAccess().getGroup()); } + (rule__QuantifiedExpression__Group__0) + { after(grammarAccess.getQuantifiedExpressionAccess().getGroup()); } ) ; finally { @@ -1439,16 +1626,16 @@ finally { myHiddenTokenState.restore(); } -// Rule MetricType -ruleMetricType +// Rule ImplicationOperator +ruleImplicationOperator @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getMetricTypeAccess().getAlternatives()); } - (rule__MetricType__Alternatives) - { after(grammarAccess.getMetricTypeAccess().getAlternatives()); } + { before(grammarAccess.getImplicationOperatorAccess().getIMPLIESEnumLiteralDeclaration()); } + (EqualsSignGreaterThanSign) + { after(grammarAccess.getImplicationOperatorAccess().getIMPLIESEnumLiteralDeclaration()); } ) ; finally { @@ -1535,16 +1722,16 @@ finally { restoreStackSize(stackSize); } -// Rule AggregationOp -ruleAggregationOp +// Rule Quantifier +ruleQuantifier @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getAggregationOpAccess().getAlternatives()); } - (rule__AggregationOp__Alternatives) - { after(grammarAccess.getAggregationOpAccess().getAlternatives()); } + { before(grammarAccess.getQuantifierAccess().getAlternatives()); } + (rule__Quantifier__Alternatives) + { after(grammarAccess.getQuantifierAccess().getAlternatives()); } ) ; finally { @@ -1613,15 +1800,15 @@ rule__Statement__Alternatives_0 ) | ( - { before(grammarAccess.getStatementAccess().getExternPredicateDefinitionParserRuleCall_0_4()); } - ruleExternPredicateDefinition - { after(grammarAccess.getStatementAccess().getExternPredicateDefinitionParserRuleCall_0_4()); } + { before(grammarAccess.getStatementAccess().getMetricDefinitionParserRuleCall_0_4()); } + ruleMetricDefinition + { after(grammarAccess.getStatementAccess().getMetricDefinitionParserRuleCall_0_4()); } ) | ( - { before(grammarAccess.getStatementAccess().getMetricDefinitionParserRuleCall_0_5()); } - ruleMetricDefinition - { after(grammarAccess.getStatementAccess().getMetricDefinitionParserRuleCall_0_5()); } + { before(grammarAccess.getStatementAccess().getExternPredicateDefinitionParserRuleCall_0_5()); } + ruleExternPredicateDefinition + { after(grammarAccess.getStatementAccess().getExternPredicateDefinitionParserRuleCall_0_5()); } ) | ( @@ -1631,21 +1818,33 @@ rule__Statement__Alternatives_0 ) | ( - { before(grammarAccess.getStatementAccess().getClassDefinitionParserRuleCall_0_7()); } + { before(grammarAccess.getStatementAccess().getExternAggregatorDefinitionParserRuleCall_0_7()); } + ruleExternAggregatorDefinition + { after(grammarAccess.getStatementAccess().getExternAggregatorDefinitionParserRuleCall_0_7()); } + ) + | + ( + { before(grammarAccess.getStatementAccess().getExternDatatypeDefinitionParserRuleCall_0_8()); } + ruleExternDatatypeDefinition + { after(grammarAccess.getStatementAccess().getExternDatatypeDefinitionParserRuleCall_0_8()); } + ) + | + ( + { before(grammarAccess.getStatementAccess().getClassDefinitionParserRuleCall_0_9()); } ruleClassDefinition - { after(grammarAccess.getStatementAccess().getClassDefinitionParserRuleCall_0_7()); } + { after(grammarAccess.getStatementAccess().getClassDefinitionParserRuleCall_0_9()); } ) | ( - { before(grammarAccess.getStatementAccess().getScopeDefinitionParserRuleCall_0_8()); } + { before(grammarAccess.getStatementAccess().getScopeDefinitionParserRuleCall_0_10()); } ruleScopeDefinition - { after(grammarAccess.getStatementAccess().getScopeDefinitionParserRuleCall_0_8()); } + { after(grammarAccess.getStatementAccess().getScopeDefinitionParserRuleCall_0_10()); } ) | ( - { before(grammarAccess.getStatementAccess().getObjectiveDefinitionParserRuleCall_0_9()); } + { before(grammarAccess.getStatementAccess().getObjectiveDefinitionParserRuleCall_0_11()); } ruleObjectiveDefinition - { after(grammarAccess.getStatementAccess().getObjectiveDefinitionParserRuleCall_0_9()); } + { after(grammarAccess.getStatementAccess().getObjectiveDefinitionParserRuleCall_0_11()); } ) ; finally { @@ -1712,9 +1911,15 @@ rule__Expression__Alternatives ) | ( - { before(grammarAccess.getExpressionAccess().getDisjunctiveExpressionParserRuleCall_1()); } - ruleDisjunctiveExpression - { after(grammarAccess.getExpressionAccess().getDisjunctiveExpressionParserRuleCall_1()); } + { before(grammarAccess.getExpressionAccess().getLetParserRuleCall_1()); } + ruleLet + { after(grammarAccess.getExpressionAccess().getLetParserRuleCall_1()); } + ) + | + ( + { before(grammarAccess.getExpressionAccess().getImplicationExpressionParserRuleCall_2()); } + ruleImplicationExpression + { after(grammarAccess.getExpressionAccess().getImplicationExpressionParserRuleCall_2()); } ) ; finally { @@ -1775,9 +1980,9 @@ rule__AggregationExpression__Alternatives ) | ( - { before(grammarAccess.getAggregationExpressionAccess().getCountParserRuleCall_1()); } - ruleCount - { after(grammarAccess.getAggregationExpressionAccess().getCountParserRuleCall_1()); } + { before(grammarAccess.getAggregationExpressionAccess().getQuantifiedExpressionParserRuleCall_1()); } + ruleQuantifiedExpression + { after(grammarAccess.getAggregationExpressionAccess().getQuantifiedExpressionParserRuleCall_1()); } ) | ( @@ -2060,27 +2265,6 @@ finally { restoreStackSize(stackSize); } -rule__MetricType__Alternatives - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getMetricTypeAccess().getINTEnumLiteralDeclaration_0()); } - (Int) - { after(grammarAccess.getMetricTypeAccess().getINTEnumLiteralDeclaration_0()); } - ) - | - ( - { before(grammarAccess.getMetricTypeAccess().getREALEnumLiteralDeclaration_1()); } - (Real) - { after(grammarAccess.getMetricTypeAccess().getREALEnumLiteralDeclaration_1()); } - ) -; -finally { - restoreStackSize(stackSize); -} - rule__ComparisonOperator__Alternatives @init { int stackSize = keepStackSize(); @@ -2219,45 +2403,27 @@ finally { restoreStackSize(stackSize); } -rule__AggregationOp__Alternatives +rule__Quantifier__Alternatives @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getAggregationOpAccess().getONLYEnumLiteralDeclaration_0()); } - (Only) - { after(grammarAccess.getAggregationOpAccess().getONLYEnumLiteralDeclaration_0()); } - ) - | - ( - { before(grammarAccess.getAggregationOpAccess().getSUMEnumLiteralDeclaration_1()); } - (Sum) - { after(grammarAccess.getAggregationOpAccess().getSUMEnumLiteralDeclaration_1()); } - ) - | - ( - { before(grammarAccess.getAggregationOpAccess().getPRODEnumLiteralDeclaration_2()); } - (Prod) - { after(grammarAccess.getAggregationOpAccess().getPRODEnumLiteralDeclaration_2()); } - ) - | - ( - { before(grammarAccess.getAggregationOpAccess().getAVGEnumLiteralDeclaration_3()); } - (Avg) - { after(grammarAccess.getAggregationOpAccess().getAVGEnumLiteralDeclaration_3()); } + { before(grammarAccess.getQuantifierAccess().getEXISTSEnumLiteralDeclaration_0()); } + (Exists) + { after(grammarAccess.getQuantifierAccess().getEXISTSEnumLiteralDeclaration_0()); } ) | ( - { before(grammarAccess.getAggregationOpAccess().getMINEnumLiteralDeclaration_4()); } - (Min) - { after(grammarAccess.getAggregationOpAccess().getMINEnumLiteralDeclaration_4()); } + { before(grammarAccess.getQuantifierAccess().getFORALLEnumLiteralDeclaration_1()); } + (Forall) + { after(grammarAccess.getQuantifierAccess().getFORALLEnumLiteralDeclaration_1()); } ) | ( - { before(grammarAccess.getAggregationOpAccess().getMAXEnumLiteralDeclaration_5()); } - (Max) - { after(grammarAccess.getAggregationOpAccess().getMAXEnumLiteralDeclaration_5()); } + { before(grammarAccess.getQuantifierAccess().getCOUNTEnumLiteralDeclaration_2()); } + (Count) + { after(grammarAccess.getQuantifierAccess().getCOUNTEnumLiteralDeclaration_2()); } ) ; finally { @@ -2417,7 +2583,7 @@ rule__AssertionOrDefinition__Group__1__Impl : ( { before(grammarAccess.getAssertionOrDefinitionAccess().getAlternatives_1()); } - (rule__AssertionOrDefinition__Alternatives_1) + (rule__AssertionOrDefinition__Alternatives_1)? { after(grammarAccess.getAssertionOrDefinitionAccess().getAlternatives_1()); } ) ; @@ -2444,9 +2610,9 @@ rule__AssertionOrDefinition__Group_1_0__0__Impl } : ( - { before(grammarAccess.getAssertionOrDefinitionAccess().getAssertionBodyAction_1_0_0()); } + { before(grammarAccess.getAssertionOrDefinitionAccess().getInterpretationBodyAction_1_0_0()); } () - { after(grammarAccess.getAssertionOrDefinitionAccess().getAssertionBodyAction_1_0_0()); } + { after(grammarAccess.getAssertionOrDefinitionAccess().getInterpretationBodyAction_1_0_0()); } ) ; finally { @@ -2459,6 +2625,7 @@ rule__AssertionOrDefinition__Group_1_0__1 } : rule__AssertionOrDefinition__Group_1_0__1__Impl + rule__AssertionOrDefinition__Group_1_0__2 ; finally { restoreStackSize(stackSize); @@ -2470,63 +2637,35 @@ rule__AssertionOrDefinition__Group_1_0__1__Impl } : ( - { before(grammarAccess.getAssertionOrDefinitionAccess().getGroup_1_0_1()); } - (rule__AssertionOrDefinition__Group_1_0_1__0)? - { after(grammarAccess.getAssertionOrDefinitionAccess().getGroup_1_0_1()); } -) -; -finally { - restoreStackSize(stackSize); -} - - -rule__AssertionOrDefinition__Group_1_0_1__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__AssertionOrDefinition__Group_1_0_1__0__Impl - rule__AssertionOrDefinition__Group_1_0_1__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__AssertionOrDefinition__Group_1_0_1__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getAssertionOrDefinitionAccess().getColonKeyword_1_0_1_0()); } + { before(grammarAccess.getAssertionOrDefinitionAccess().getColonKeyword_1_0_1()); } Colon - { after(grammarAccess.getAssertionOrDefinitionAccess().getColonKeyword_1_0_1_0()); } + { after(grammarAccess.getAssertionOrDefinitionAccess().getColonKeyword_1_0_1()); } ) ; finally { restoreStackSize(stackSize); } -rule__AssertionOrDefinition__Group_1_0_1__1 +rule__AssertionOrDefinition__Group_1_0__2 @init { int stackSize = keepStackSize(); } : - rule__AssertionOrDefinition__Group_1_0_1__1__Impl + rule__AssertionOrDefinition__Group_1_0__2__Impl ; finally { restoreStackSize(stackSize); } -rule__AssertionOrDefinition__Group_1_0_1__1__Impl +rule__AssertionOrDefinition__Group_1_0__2__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getAssertionOrDefinitionAccess().getRangeAssignment_1_0_1_1()); } - (rule__AssertionOrDefinition__RangeAssignment_1_0_1_1) - { after(grammarAccess.getAssertionOrDefinitionAccess().getRangeAssignment_1_0_1_1()); } + { before(grammarAccess.getAssertionOrDefinitionAccess().getRangeAssignment_1_0_2()); } + (rule__AssertionOrDefinition__RangeAssignment_1_0_2) + { after(grammarAccess.getAssertionOrDefinitionAccess().getRangeAssignment_1_0_2()); } ) ; finally { @@ -3128,161 +3267,188 @@ finally { } -rule__ExternPredicateDefinition__Group__0 +rule__MetricDefinition__Group__0 @init { int stackSize = keepStackSize(); } : - rule__ExternPredicateDefinition__Group__0__Impl - rule__ExternPredicateDefinition__Group__1 + rule__MetricDefinition__Group__0__Impl + rule__MetricDefinition__Group__1 ; finally { restoreStackSize(stackSize); } -rule__ExternPredicateDefinition__Group__0__Impl +rule__MetricDefinition__Group__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getExternPredicateDefinitionAccess().getExternKeyword_0()); } - Extern - { after(grammarAccess.getExternPredicateDefinitionAccess().getExternKeyword_0()); } + { before(grammarAccess.getMetricDefinitionAccess().getTypeAssignment_0()); } + (rule__MetricDefinition__TypeAssignment_0) + { after(grammarAccess.getMetricDefinitionAccess().getTypeAssignment_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__ExternPredicateDefinition__Group__1 +rule__MetricDefinition__Group__1 @init { int stackSize = keepStackSize(); } : - rule__ExternPredicateDefinition__Group__1__Impl + rule__MetricDefinition__Group__1__Impl + rule__MetricDefinition__Group__2 ; finally { restoreStackSize(stackSize); } -rule__ExternPredicateDefinition__Group__1__Impl +rule__MetricDefinition__Group__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getExternPredicateDefinitionAccess().getHeadAssignment_1()); } - (rule__ExternPredicateDefinition__HeadAssignment_1) - { after(grammarAccess.getExternPredicateDefinitionAccess().getHeadAssignment_1()); } + { before(grammarAccess.getMetricDefinitionAccess().getHeadAssignment_1()); } + (rule__MetricDefinition__HeadAssignment_1) + { after(grammarAccess.getMetricDefinitionAccess().getHeadAssignment_1()); } ) ; finally { restoreStackSize(stackSize); } - -rule__MetricDefinition__Group__0 +rule__MetricDefinition__Group__2 @init { int stackSize = keepStackSize(); } : - rule__MetricDefinition__Group__0__Impl - rule__MetricDefinition__Group__1 + rule__MetricDefinition__Group__2__Impl + rule__MetricDefinition__Group__3 ; finally { restoreStackSize(stackSize); } -rule__MetricDefinition__Group__0__Impl +rule__MetricDefinition__Group__2__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getMetricDefinitionAccess().getTypeAssignment_0()); } - (rule__MetricDefinition__TypeAssignment_0) - { after(grammarAccess.getMetricDefinitionAccess().getTypeAssignment_0()); } + { before(grammarAccess.getMetricDefinitionAccess().getEqualsSignKeyword_2()); } + EqualsSign + { after(grammarAccess.getMetricDefinitionAccess().getEqualsSignKeyword_2()); } ) ; finally { restoreStackSize(stackSize); } -rule__MetricDefinition__Group__1 +rule__MetricDefinition__Group__3 @init { int stackSize = keepStackSize(); } : - rule__MetricDefinition__Group__1__Impl - rule__MetricDefinition__Group__2 + rule__MetricDefinition__Group__3__Impl ; finally { restoreStackSize(stackSize); } -rule__MetricDefinition__Group__1__Impl +rule__MetricDefinition__Group__3__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getMetricDefinitionAccess().getHeadAssignment_1()); } - (rule__MetricDefinition__HeadAssignment_1) - { after(grammarAccess.getMetricDefinitionAccess().getHeadAssignment_1()); } + { before(grammarAccess.getMetricDefinitionAccess().getBodyAssignment_3()); } + (rule__MetricDefinition__BodyAssignment_3) + { after(grammarAccess.getMetricDefinitionAccess().getBodyAssignment_3()); } ) ; finally { restoreStackSize(stackSize); } -rule__MetricDefinition__Group__2 + +rule__ExternPredicateDefinition__Group__0 @init { int stackSize = keepStackSize(); } : - rule__MetricDefinition__Group__2__Impl - rule__MetricDefinition__Group__3 + rule__ExternPredicateDefinition__Group__0__Impl + rule__ExternPredicateDefinition__Group__1 ; finally { restoreStackSize(stackSize); } -rule__MetricDefinition__Group__2__Impl +rule__ExternPredicateDefinition__Group__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getMetricDefinitionAccess().getEqualsSignKeyword_2()); } - EqualsSign - { after(grammarAccess.getMetricDefinitionAccess().getEqualsSignKeyword_2()); } + { before(grammarAccess.getExternPredicateDefinitionAccess().getExternKeyword_0()); } + Extern + { after(grammarAccess.getExternPredicateDefinitionAccess().getExternKeyword_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__MetricDefinition__Group__3 +rule__ExternPredicateDefinition__Group__1 @init { int stackSize = keepStackSize(); } : - rule__MetricDefinition__Group__3__Impl + rule__ExternPredicateDefinition__Group__1__Impl + rule__ExternPredicateDefinition__Group__2 ; finally { restoreStackSize(stackSize); } -rule__MetricDefinition__Group__3__Impl +rule__ExternPredicateDefinition__Group__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getMetricDefinitionAccess().getBodyAssignment_3()); } - (rule__MetricDefinition__BodyAssignment_3) - { after(grammarAccess.getMetricDefinitionAccess().getBodyAssignment_3()); } + { before(grammarAccess.getExternPredicateDefinitionAccess().getNameAssignment_1()); } + (rule__ExternPredicateDefinition__NameAssignment_1) + { after(grammarAccess.getExternPredicateDefinitionAccess().getNameAssignment_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__ExternPredicateDefinition__Group__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__ExternPredicateDefinition__Group__2__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__ExternPredicateDefinition__Group__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getExternPredicateDefinitionAccess().getArgumentListAssignment_2()); } + (rule__ExternPredicateDefinition__ArgumentListAssignment_2) + { after(grammarAccess.getExternPredicateDefinitionAccess().getArgumentListAssignment_2()); } ) ; finally { @@ -3350,6 +3516,7 @@ rule__ExternMetricDefinition__Group__2 } : rule__ExternMetricDefinition__Group__2__Impl + rule__ExternMetricDefinition__Group__3 ; finally { restoreStackSize(stackSize); @@ -3361,225 +3528,224 @@ rule__ExternMetricDefinition__Group__2__Impl } : ( - { before(grammarAccess.getExternMetricDefinitionAccess().getHeadAssignment_2()); } - (rule__ExternMetricDefinition__HeadAssignment_2) - { after(grammarAccess.getExternMetricDefinitionAccess().getHeadAssignment_2()); } + { before(grammarAccess.getExternMetricDefinitionAccess().getNameAssignment_2()); } + (rule__ExternMetricDefinition__NameAssignment_2) + { after(grammarAccess.getExternMetricDefinitionAccess().getNameAssignment_2()); } ) ; finally { restoreStackSize(stackSize); } - -rule__IfElse__Group__0 +rule__ExternMetricDefinition__Group__3 @init { int stackSize = keepStackSize(); } : - rule__IfElse__Group__0__Impl - rule__IfElse__Group__1 + rule__ExternMetricDefinition__Group__3__Impl ; finally { restoreStackSize(stackSize); } -rule__IfElse__Group__0__Impl +rule__ExternMetricDefinition__Group__3__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getIfElseAccess().getIfKeyword_0()); } - If - { after(grammarAccess.getIfElseAccess().getIfKeyword_0()); } + { before(grammarAccess.getExternMetricDefinitionAccess().getArgumentListAssignment_3()); } + (rule__ExternMetricDefinition__ArgumentListAssignment_3) + { after(grammarAccess.getExternMetricDefinitionAccess().getArgumentListAssignment_3()); } ) ; finally { restoreStackSize(stackSize); } -rule__IfElse__Group__1 + +rule__ExternAggregatorDefinition__Group__0 @init { int stackSize = keepStackSize(); } : - rule__IfElse__Group__1__Impl - rule__IfElse__Group__2 + rule__ExternAggregatorDefinition__Group__0__Impl + rule__ExternAggregatorDefinition__Group__1 ; finally { restoreStackSize(stackSize); } -rule__IfElse__Group__1__Impl +rule__ExternAggregatorDefinition__Group__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getIfElseAccess().getConditionAssignment_1()); } - (rule__IfElse__ConditionAssignment_1) - { after(grammarAccess.getIfElseAccess().getConditionAssignment_1()); } + { before(grammarAccess.getExternAggregatorDefinitionAccess().getExternKeyword_0()); } + Extern + { after(grammarAccess.getExternAggregatorDefinitionAccess().getExternKeyword_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__IfElse__Group__2 +rule__ExternAggregatorDefinition__Group__1 @init { int stackSize = keepStackSize(); } : - rule__IfElse__Group__2__Impl - rule__IfElse__Group__3 + rule__ExternAggregatorDefinition__Group__1__Impl + rule__ExternAggregatorDefinition__Group__2 ; finally { restoreStackSize(stackSize); } -rule__IfElse__Group__2__Impl +rule__ExternAggregatorDefinition__Group__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getIfElseAccess().getThenKeyword_2()); } - Then - { after(grammarAccess.getIfElseAccess().getThenKeyword_2()); } + { before(grammarAccess.getExternAggregatorDefinitionAccess().getTypeAssignment_1()); } + (rule__ExternAggregatorDefinition__TypeAssignment_1) + { after(grammarAccess.getExternAggregatorDefinitionAccess().getTypeAssignment_1()); } ) ; finally { restoreStackSize(stackSize); } -rule__IfElse__Group__3 +rule__ExternAggregatorDefinition__Group__2 @init { int stackSize = keepStackSize(); } : - rule__IfElse__Group__3__Impl - rule__IfElse__Group__4 + rule__ExternAggregatorDefinition__Group__2__Impl + rule__ExternAggregatorDefinition__Group__3 ; finally { restoreStackSize(stackSize); } -rule__IfElse__Group__3__Impl +rule__ExternAggregatorDefinition__Group__2__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getIfElseAccess().getThenAssignment_3()); } - (rule__IfElse__ThenAssignment_3) - { after(grammarAccess.getIfElseAccess().getThenAssignment_3()); } + { before(grammarAccess.getExternAggregatorDefinitionAccess().getNameAssignment_2()); } + (rule__ExternAggregatorDefinition__NameAssignment_2) + { after(grammarAccess.getExternAggregatorDefinitionAccess().getNameAssignment_2()); } ) ; finally { restoreStackSize(stackSize); } -rule__IfElse__Group__4 +rule__ExternAggregatorDefinition__Group__3 @init { int stackSize = keepStackSize(); } : - rule__IfElse__Group__4__Impl - rule__IfElse__Group__5 + rule__ExternAggregatorDefinition__Group__3__Impl + rule__ExternAggregatorDefinition__Group__4 ; finally { restoreStackSize(stackSize); } -rule__IfElse__Group__4__Impl +rule__ExternAggregatorDefinition__Group__3__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getIfElseAccess().getElseKeyword_4()); } - Else - { after(grammarAccess.getIfElseAccess().getElseKeyword_4()); } + { before(grammarAccess.getExternAggregatorDefinitionAccess().getLeftCurlyBracketKeyword_3()); } + LeftCurlyBracket + { after(grammarAccess.getExternAggregatorDefinitionAccess().getLeftCurlyBracketKeyword_3()); } ) ; finally { restoreStackSize(stackSize); } -rule__IfElse__Group__5 +rule__ExternAggregatorDefinition__Group__4 @init { int stackSize = keepStackSize(); } : - rule__IfElse__Group__5__Impl + rule__ExternAggregatorDefinition__Group__4__Impl + rule__ExternAggregatorDefinition__Group__5 ; finally { restoreStackSize(stackSize); } -rule__IfElse__Group__5__Impl +rule__ExternAggregatorDefinition__Group__4__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getIfElseAccess().getElseAssignment_5()); } - (rule__IfElse__ElseAssignment_5) - { after(grammarAccess.getIfElseAccess().getElseAssignment_5()); } + { before(grammarAccess.getExternAggregatorDefinitionAccess().getInputTypeAssignment_4()); } + (rule__ExternAggregatorDefinition__InputTypeAssignment_4) + { after(grammarAccess.getExternAggregatorDefinitionAccess().getInputTypeAssignment_4()); } ) ; finally { restoreStackSize(stackSize); } - -rule__DisjunctiveExpression__Group__0 +rule__ExternAggregatorDefinition__Group__5 @init { int stackSize = keepStackSize(); } : - rule__DisjunctiveExpression__Group__0__Impl - rule__DisjunctiveExpression__Group__1 + rule__ExternAggregatorDefinition__Group__5__Impl + rule__ExternAggregatorDefinition__Group__6 ; finally { restoreStackSize(stackSize); } -rule__DisjunctiveExpression__Group__0__Impl +rule__ExternAggregatorDefinition__Group__5__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getDisjunctiveExpressionAccess().getConjunctiveExpressionParserRuleCall_0()); } - ruleConjunctiveExpression - { after(grammarAccess.getDisjunctiveExpressionAccess().getConjunctiveExpressionParserRuleCall_0()); } + { before(grammarAccess.getExternAggregatorDefinitionAccess().getFullStopFullStopFullStopKeyword_5()); } + FullStopFullStopFullStop + { after(grammarAccess.getExternAggregatorDefinitionAccess().getFullStopFullStopFullStopKeyword_5()); } ) ; finally { restoreStackSize(stackSize); } -rule__DisjunctiveExpression__Group__1 +rule__ExternAggregatorDefinition__Group__6 @init { int stackSize = keepStackSize(); } : - rule__DisjunctiveExpression__Group__1__Impl + rule__ExternAggregatorDefinition__Group__6__Impl ; finally { restoreStackSize(stackSize); } -rule__DisjunctiveExpression__Group__1__Impl +rule__ExternAggregatorDefinition__Group__6__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getDisjunctiveExpressionAccess().getAlternatives_1()); } - (rule__DisjunctiveExpression__Alternatives_1)? - { after(grammarAccess.getDisjunctiveExpressionAccess().getAlternatives_1()); } + { before(grammarAccess.getExternAggregatorDefinitionAccess().getRightCurlyBracketKeyword_6()); } + RightCurlyBracket + { after(grammarAccess.getExternAggregatorDefinitionAccess().getRightCurlyBracketKeyword_6()); } ) ; finally { @@ -3587,114 +3753,107 @@ finally { } -rule__DisjunctiveExpression__Group_1_0__0 +rule__ExternDatatypeDefinition__Group__0 @init { int stackSize = keepStackSize(); } : - rule__DisjunctiveExpression__Group_1_0__0__Impl - rule__DisjunctiveExpression__Group_1_0__1 + rule__ExternDatatypeDefinition__Group__0__Impl + rule__ExternDatatypeDefinition__Group__1 ; finally { restoreStackSize(stackSize); } -rule__DisjunctiveExpression__Group_1_0__0__Impl +rule__ExternDatatypeDefinition__Group__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getDisjunctiveExpressionAccess().getDisjunctionChildrenAction_1_0_0()); } - () - { after(grammarAccess.getDisjunctiveExpressionAccess().getDisjunctionChildrenAction_1_0_0()); } + { before(grammarAccess.getExternDatatypeDefinitionAccess().getExternKeyword_0()); } + Extern + { after(grammarAccess.getExternDatatypeDefinitionAccess().getExternKeyword_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__DisjunctiveExpression__Group_1_0__1 +rule__ExternDatatypeDefinition__Group__1 @init { int stackSize = keepStackSize(); } : - rule__DisjunctiveExpression__Group_1_0__1__Impl + rule__ExternDatatypeDefinition__Group__1__Impl + rule__ExternDatatypeDefinition__Group__2 ; finally { restoreStackSize(stackSize); } -rule__DisjunctiveExpression__Group_1_0__1__Impl +rule__ExternDatatypeDefinition__Group__1__Impl @init { int stackSize = keepStackSize(); } : ( - ( - { before(grammarAccess.getDisjunctiveExpressionAccess().getGroup_1_0_1()); } - (rule__DisjunctiveExpression__Group_1_0_1__0) - { after(grammarAccess.getDisjunctiveExpressionAccess().getGroup_1_0_1()); } - ) - ( - { before(grammarAccess.getDisjunctiveExpressionAccess().getGroup_1_0_1()); } - (rule__DisjunctiveExpression__Group_1_0_1__0)* - { after(grammarAccess.getDisjunctiveExpressionAccess().getGroup_1_0_1()); } - ) + { before(grammarAccess.getExternDatatypeDefinitionAccess().getDatatypeKeyword_1()); } + Datatype + { after(grammarAccess.getExternDatatypeDefinitionAccess().getDatatypeKeyword_1()); } ) ; finally { restoreStackSize(stackSize); } - -rule__DisjunctiveExpression__Group_1_0_1__0 +rule__ExternDatatypeDefinition__Group__2 @init { int stackSize = keepStackSize(); } : - rule__DisjunctiveExpression__Group_1_0_1__0__Impl - rule__DisjunctiveExpression__Group_1_0_1__1 + rule__ExternDatatypeDefinition__Group__2__Impl + rule__ExternDatatypeDefinition__Group__3 ; finally { restoreStackSize(stackSize); } -rule__DisjunctiveExpression__Group_1_0_1__0__Impl +rule__ExternDatatypeDefinition__Group__2__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getDisjunctiveExpressionAccess().getSemicolonKeyword_1_0_1_0()); } - Semicolon - { after(grammarAccess.getDisjunctiveExpressionAccess().getSemicolonKeyword_1_0_1_0()); } + { before(grammarAccess.getExternDatatypeDefinitionAccess().getNameAssignment_2()); } + (rule__ExternDatatypeDefinition__NameAssignment_2) + { after(grammarAccess.getExternDatatypeDefinitionAccess().getNameAssignment_2()); } ) ; finally { restoreStackSize(stackSize); } -rule__DisjunctiveExpression__Group_1_0_1__1 +rule__ExternDatatypeDefinition__Group__3 @init { int stackSize = keepStackSize(); } : - rule__DisjunctiveExpression__Group_1_0_1__1__Impl + rule__ExternDatatypeDefinition__Group__3__Impl ; finally { restoreStackSize(stackSize); } -rule__DisjunctiveExpression__Group_1_0_1__1__Impl +rule__ExternDatatypeDefinition__Group__3__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getDisjunctiveExpressionAccess().getChildrenAssignment_1_0_1_1()); } - (rule__DisjunctiveExpression__ChildrenAssignment_1_0_1_1) - { after(grammarAccess.getDisjunctiveExpressionAccess().getChildrenAssignment_1_0_1_1()); } + { before(grammarAccess.getExternDatatypeDefinitionAccess().getGroup_3()); } + (rule__ExternDatatypeDefinition__Group_3__0) + { after(grammarAccess.getExternDatatypeDefinitionAccess().getGroup_3()); } ) ; finally { @@ -3702,134 +3861,134 @@ finally { } -rule__DisjunctiveExpression__Group_1_1__0 +rule__ExternDatatypeDefinition__Group_3__0 @init { int stackSize = keepStackSize(); } : - rule__DisjunctiveExpression__Group_1_1__0__Impl - rule__DisjunctiveExpression__Group_1_1__1 + rule__ExternDatatypeDefinition__Group_3__0__Impl + rule__ExternDatatypeDefinition__Group_3__1 ; finally { restoreStackSize(stackSize); } -rule__DisjunctiveExpression__Group_1_1__0__Impl +rule__ExternDatatypeDefinition__Group_3__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getDisjunctiveExpressionAccess().getCaseConditionAction_1_1_0()); } - () - { after(grammarAccess.getDisjunctiveExpressionAccess().getCaseConditionAction_1_1_0()); } + { before(grammarAccess.getExternDatatypeDefinitionAccess().getExtendsKeyword_3_0()); } + Extends + { after(grammarAccess.getExternDatatypeDefinitionAccess().getExtendsKeyword_3_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__DisjunctiveExpression__Group_1_1__1 +rule__ExternDatatypeDefinition__Group_3__1 @init { int stackSize = keepStackSize(); } : - rule__DisjunctiveExpression__Group_1_1__1__Impl - rule__DisjunctiveExpression__Group_1_1__2 + rule__ExternDatatypeDefinition__Group_3__1__Impl + rule__ExternDatatypeDefinition__Group_3__2 ; finally { restoreStackSize(stackSize); } -rule__DisjunctiveExpression__Group_1_1__1__Impl +rule__ExternDatatypeDefinition__Group_3__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getDisjunctiveExpressionAccess().getHyphenMinusGreaterThanSignKeyword_1_1_1()); } - HyphenMinusGreaterThanSign - { after(grammarAccess.getDisjunctiveExpressionAccess().getHyphenMinusGreaterThanSignKeyword_1_1_1()); } + { before(grammarAccess.getExternDatatypeDefinitionAccess().getSupertypesAssignment_3_1()); } + (rule__ExternDatatypeDefinition__SupertypesAssignment_3_1) + { after(grammarAccess.getExternDatatypeDefinitionAccess().getSupertypesAssignment_3_1()); } ) ; finally { restoreStackSize(stackSize); } -rule__DisjunctiveExpression__Group_1_1__2 +rule__ExternDatatypeDefinition__Group_3__2 @init { int stackSize = keepStackSize(); } : - rule__DisjunctiveExpression__Group_1_1__2__Impl - rule__DisjunctiveExpression__Group_1_1__3 + rule__ExternDatatypeDefinition__Group_3__2__Impl ; finally { restoreStackSize(stackSize); } -rule__DisjunctiveExpression__Group_1_1__2__Impl +rule__ExternDatatypeDefinition__Group_3__2__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getDisjunctiveExpressionAccess().getBodyAssignment_1_1_2()); } - (rule__DisjunctiveExpression__BodyAssignment_1_1_2) - { after(grammarAccess.getDisjunctiveExpressionAccess().getBodyAssignment_1_1_2()); } + { before(grammarAccess.getExternDatatypeDefinitionAccess().getGroup_3_2()); } + (rule__ExternDatatypeDefinition__Group_3_2__0)* + { after(grammarAccess.getExternDatatypeDefinitionAccess().getGroup_3_2()); } ) ; finally { restoreStackSize(stackSize); } -rule__DisjunctiveExpression__Group_1_1__3 + +rule__ExternDatatypeDefinition__Group_3_2__0 @init { int stackSize = keepStackSize(); } : - rule__DisjunctiveExpression__Group_1_1__3__Impl - rule__DisjunctiveExpression__Group_1_1__4 + rule__ExternDatatypeDefinition__Group_3_2__0__Impl + rule__ExternDatatypeDefinition__Group_3_2__1 ; finally { restoreStackSize(stackSize); } -rule__DisjunctiveExpression__Group_1_1__3__Impl +rule__ExternDatatypeDefinition__Group_3_2__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getDisjunctiveExpressionAccess().getSwitchCasesAction_1_1_3()); } - () - { after(grammarAccess.getDisjunctiveExpressionAccess().getSwitchCasesAction_1_1_3()); } + { before(grammarAccess.getExternDatatypeDefinitionAccess().getCommaKeyword_3_2_0()); } + Comma + { after(grammarAccess.getExternDatatypeDefinitionAccess().getCommaKeyword_3_2_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__DisjunctiveExpression__Group_1_1__4 +rule__ExternDatatypeDefinition__Group_3_2__1 @init { int stackSize = keepStackSize(); } : - rule__DisjunctiveExpression__Group_1_1__4__Impl + rule__ExternDatatypeDefinition__Group_3_2__1__Impl ; finally { restoreStackSize(stackSize); } -rule__DisjunctiveExpression__Group_1_1__4__Impl +rule__ExternDatatypeDefinition__Group_3_2__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getDisjunctiveExpressionAccess().getGroup_1_1_4()); } - (rule__DisjunctiveExpression__Group_1_1_4__0)* - { after(grammarAccess.getDisjunctiveExpressionAccess().getGroup_1_1_4()); } + { before(grammarAccess.getExternDatatypeDefinitionAccess().getSupertypesAssignment_3_2_1()); } + (rule__ExternDatatypeDefinition__SupertypesAssignment_3_2_1) + { after(grammarAccess.getExternDatatypeDefinitionAccess().getSupertypesAssignment_3_2_1()); } ) ; finally { @@ -3837,53 +3996,53 @@ finally { } -rule__DisjunctiveExpression__Group_1_1_4__0 +rule__Variable__Group__0 @init { int stackSize = keepStackSize(); } : - rule__DisjunctiveExpression__Group_1_1_4__0__Impl - rule__DisjunctiveExpression__Group_1_1_4__1 + rule__Variable__Group__0__Impl + rule__Variable__Group__1 ; finally { restoreStackSize(stackSize); } -rule__DisjunctiveExpression__Group_1_1_4__0__Impl +rule__Variable__Group__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getDisjunctiveExpressionAccess().getSemicolonKeyword_1_1_4_0()); } - Semicolon - { after(grammarAccess.getDisjunctiveExpressionAccess().getSemicolonKeyword_1_1_4_0()); } + { before(grammarAccess.getVariableAccess().getTypeAssignment_0()); } + (rule__Variable__TypeAssignment_0)? + { after(grammarAccess.getVariableAccess().getTypeAssignment_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__DisjunctiveExpression__Group_1_1_4__1 +rule__Variable__Group__1 @init { int stackSize = keepStackSize(); } : - rule__DisjunctiveExpression__Group_1_1_4__1__Impl + rule__Variable__Group__1__Impl ; finally { restoreStackSize(stackSize); } -rule__DisjunctiveExpression__Group_1_1_4__1__Impl +rule__Variable__Group__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getDisjunctiveExpressionAccess().getCasesAssignment_1_1_4_1()); } - (rule__DisjunctiveExpression__CasesAssignment_1_1_4_1) - { after(grammarAccess.getDisjunctiveExpressionAccess().getCasesAssignment_1_1_4_1()); } + { before(grammarAccess.getVariableAccess().getNameAssignment_1()); } + (rule__Variable__NameAssignment_1) + { after(grammarAccess.getVariableAccess().getNameAssignment_1()); } ) ; finally { @@ -3891,134 +4050,1309 @@ finally { } -rule__Case__Group__0 +rule__IfElse__Group__0 @init { int stackSize = keepStackSize(); } : - rule__Case__Group__0__Impl - rule__Case__Group__1 + rule__IfElse__Group__0__Impl + rule__IfElse__Group__1 ; finally { restoreStackSize(stackSize); } -rule__Case__Group__0__Impl +rule__IfElse__Group__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getCaseAccess().getConditionAssignment_0()); } - (rule__Case__ConditionAssignment_0) - { after(grammarAccess.getCaseAccess().getConditionAssignment_0()); } + { before(grammarAccess.getIfElseAccess().getIfKeyword_0()); } + If + { after(grammarAccess.getIfElseAccess().getIfKeyword_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__Case__Group__1 +rule__IfElse__Group__1 @init { int stackSize = keepStackSize(); } : - rule__Case__Group__1__Impl - rule__Case__Group__2 + rule__IfElse__Group__1__Impl + rule__IfElse__Group__2 ; finally { restoreStackSize(stackSize); } -rule__Case__Group__1__Impl +rule__IfElse__Group__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getCaseAccess().getHyphenMinusGreaterThanSignKeyword_1()); } - HyphenMinusGreaterThanSign - { after(grammarAccess.getCaseAccess().getHyphenMinusGreaterThanSignKeyword_1()); } + { before(grammarAccess.getIfElseAccess().getConditionAssignment_1()); } + (rule__IfElse__ConditionAssignment_1) + { after(grammarAccess.getIfElseAccess().getConditionAssignment_1()); } ) ; finally { restoreStackSize(stackSize); } -rule__Case__Group__2 +rule__IfElse__Group__2 @init { int stackSize = keepStackSize(); } : - rule__Case__Group__2__Impl + rule__IfElse__Group__2__Impl + rule__IfElse__Group__3 ; finally { restoreStackSize(stackSize); } -rule__Case__Group__2__Impl +rule__IfElse__Group__2__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getCaseAccess().getBodyAssignment_2()); } - (rule__Case__BodyAssignment_2) - { after(grammarAccess.getCaseAccess().getBodyAssignment_2()); } + { before(grammarAccess.getIfElseAccess().getThenKeyword_2()); } + Then + { after(grammarAccess.getIfElseAccess().getThenKeyword_2()); } ) ; finally { restoreStackSize(stackSize); } - -rule__ConjunctiveExpression__Group__0 +rule__IfElse__Group__3 @init { int stackSize = keepStackSize(); } : - rule__ConjunctiveExpression__Group__0__Impl - rule__ConjunctiveExpression__Group__1 + rule__IfElse__Group__3__Impl + rule__IfElse__Group__4 ; finally { restoreStackSize(stackSize); } -rule__ConjunctiveExpression__Group__0__Impl +rule__IfElse__Group__3__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getConjunctiveExpressionAccess().getComparisonExpressionParserRuleCall_0()); } - ruleComparisonExpression - { after(grammarAccess.getConjunctiveExpressionAccess().getComparisonExpressionParserRuleCall_0()); } -) + { before(grammarAccess.getIfElseAccess().getThenAssignment_3()); } + (rule__IfElse__ThenAssignment_3) + { after(grammarAccess.getIfElseAccess().getThenAssignment_3()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__IfElse__Group__4 + @init { + int stackSize = keepStackSize(); + } +: + rule__IfElse__Group__4__Impl + rule__IfElse__Group__5 +; +finally { + restoreStackSize(stackSize); +} + +rule__IfElse__Group__4__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getIfElseAccess().getElseKeyword_4()); } + Else + { after(grammarAccess.getIfElseAccess().getElseKeyword_4()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__IfElse__Group__5 + @init { + int stackSize = keepStackSize(); + } +: + rule__IfElse__Group__5__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__IfElse__Group__5__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getIfElseAccess().getElseAssignment_5()); } + (rule__IfElse__ElseAssignment_5) + { after(grammarAccess.getIfElseAccess().getElseAssignment_5()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__Let__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__Let__Group__0__Impl + rule__Let__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__Let__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getLetAccess().getLetKeyword_0()); } + Let + { after(grammarAccess.getLetAccess().getLetKeyword_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__Let__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__Let__Group__1__Impl + rule__Let__Group__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__Let__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getLetAccess().getBindingsAssignment_1()); } + (rule__Let__BindingsAssignment_1) + { after(grammarAccess.getLetAccess().getBindingsAssignment_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__Let__Group__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__Let__Group__2__Impl + rule__Let__Group__3 +; +finally { + restoreStackSize(stackSize); +} + +rule__Let__Group__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getLetAccess().getGroup_2()); } + (rule__Let__Group_2__0)* + { after(grammarAccess.getLetAccess().getGroup_2()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__Let__Group__3 + @init { + int stackSize = keepStackSize(); + } +: + rule__Let__Group__3__Impl + rule__Let__Group__4 +; +finally { + restoreStackSize(stackSize); +} + +rule__Let__Group__3__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getLetAccess().getInKeyword_3()); } + In + { after(grammarAccess.getLetAccess().getInKeyword_3()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__Let__Group__4 + @init { + int stackSize = keepStackSize(); + } +: + rule__Let__Group__4__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__Let__Group__4__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getLetAccess().getBodyAssignment_4()); } + (rule__Let__BodyAssignment_4) + { after(grammarAccess.getLetAccess().getBodyAssignment_4()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__Let__Group_2__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__Let__Group_2__0__Impl + rule__Let__Group_2__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__Let__Group_2__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getLetAccess().getCommaKeyword_2_0()); } + Comma + { after(grammarAccess.getLetAccess().getCommaKeyword_2_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__Let__Group_2__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__Let__Group_2__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__Let__Group_2__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getLetAccess().getBindingsAssignment_2_1()); } + (rule__Let__BindingsAssignment_2_1) + { after(grammarAccess.getLetAccess().getBindingsAssignment_2_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__LetBinding__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__LetBinding__Group__0__Impl + rule__LetBinding__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__LetBinding__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getLetBindingAccess().getVariableAssignment_0()); } + (rule__LetBinding__VariableAssignment_0) + { after(grammarAccess.getLetBindingAccess().getVariableAssignment_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__LetBinding__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__LetBinding__Group__1__Impl + rule__LetBinding__Group__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__LetBinding__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getLetBindingAccess().getEqualsSignKeyword_1()); } + EqualsSign + { after(grammarAccess.getLetBindingAccess().getEqualsSignKeyword_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__LetBinding__Group__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__LetBinding__Group__2__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__LetBinding__Group__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getLetBindingAccess().getValueAssignment_2()); } + (rule__LetBinding__ValueAssignment_2) + { after(grammarAccess.getLetBindingAccess().getValueAssignment_2()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__ImplicationExpression__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__ImplicationExpression__Group__0__Impl + rule__ImplicationExpression__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__ImplicationExpression__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getImplicationExpressionAccess().getDisjunctiveExpressionParserRuleCall_0()); } + ruleDisjunctiveExpression + { after(grammarAccess.getImplicationExpressionAccess().getDisjunctiveExpressionParserRuleCall_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__ImplicationExpression__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__ImplicationExpression__Group__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__ImplicationExpression__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getImplicationExpressionAccess().getGroup_1()); } + (rule__ImplicationExpression__Group_1__0)? + { after(grammarAccess.getImplicationExpressionAccess().getGroup_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__ImplicationExpression__Group_1__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__ImplicationExpression__Group_1__0__Impl + rule__ImplicationExpression__Group_1__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__ImplicationExpression__Group_1__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getImplicationExpressionAccess().getBinaryExpressionLeftAction_1_0()); } + () + { after(grammarAccess.getImplicationExpressionAccess().getBinaryExpressionLeftAction_1_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__ImplicationExpression__Group_1__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__ImplicationExpression__Group_1__1__Impl + rule__ImplicationExpression__Group_1__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__ImplicationExpression__Group_1__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getImplicationExpressionAccess().getOpAssignment_1_1()); } + (rule__ImplicationExpression__OpAssignment_1_1) + { after(grammarAccess.getImplicationExpressionAccess().getOpAssignment_1_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__ImplicationExpression__Group_1__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__ImplicationExpression__Group_1__2__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__ImplicationExpression__Group_1__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getImplicationExpressionAccess().getRightAssignment_1_2()); } + (rule__ImplicationExpression__RightAssignment_1_2) + { after(grammarAccess.getImplicationExpressionAccess().getRightAssignment_1_2()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__DisjunctiveExpression__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__DisjunctiveExpression__Group__0__Impl + rule__DisjunctiveExpression__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__DisjunctiveExpression__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getDisjunctiveExpressionAccess().getConjunctiveExpressionParserRuleCall_0()); } + ruleConjunctiveExpression + { after(grammarAccess.getDisjunctiveExpressionAccess().getConjunctiveExpressionParserRuleCall_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__DisjunctiveExpression__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__DisjunctiveExpression__Group__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__DisjunctiveExpression__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getDisjunctiveExpressionAccess().getAlternatives_1()); } + (rule__DisjunctiveExpression__Alternatives_1)? + { after(grammarAccess.getDisjunctiveExpressionAccess().getAlternatives_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__DisjunctiveExpression__Group_1_0__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__DisjunctiveExpression__Group_1_0__0__Impl + rule__DisjunctiveExpression__Group_1_0__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__DisjunctiveExpression__Group_1_0__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getDisjunctiveExpressionAccess().getDisjunctionChildrenAction_1_0_0()); } + () + { after(grammarAccess.getDisjunctiveExpressionAccess().getDisjunctionChildrenAction_1_0_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__DisjunctiveExpression__Group_1_0__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__DisjunctiveExpression__Group_1_0__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__DisjunctiveExpression__Group_1_0__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + ( + { before(grammarAccess.getDisjunctiveExpressionAccess().getGroup_1_0_1()); } + (rule__DisjunctiveExpression__Group_1_0_1__0) + { after(grammarAccess.getDisjunctiveExpressionAccess().getGroup_1_0_1()); } + ) + ( + { before(grammarAccess.getDisjunctiveExpressionAccess().getGroup_1_0_1()); } + (rule__DisjunctiveExpression__Group_1_0_1__0)* + { after(grammarAccess.getDisjunctiveExpressionAccess().getGroup_1_0_1()); } + ) +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__DisjunctiveExpression__Group_1_0_1__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__DisjunctiveExpression__Group_1_0_1__0__Impl + rule__DisjunctiveExpression__Group_1_0_1__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__DisjunctiveExpression__Group_1_0_1__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getDisjunctiveExpressionAccess().getSemicolonKeyword_1_0_1_0()); } + Semicolon + { after(grammarAccess.getDisjunctiveExpressionAccess().getSemicolonKeyword_1_0_1_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__DisjunctiveExpression__Group_1_0_1__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__DisjunctiveExpression__Group_1_0_1__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__DisjunctiveExpression__Group_1_0_1__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getDisjunctiveExpressionAccess().getChildrenAssignment_1_0_1_1()); } + (rule__DisjunctiveExpression__ChildrenAssignment_1_0_1_1) + { after(grammarAccess.getDisjunctiveExpressionAccess().getChildrenAssignment_1_0_1_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__DisjunctiveExpression__Group_1_1__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__DisjunctiveExpression__Group_1_1__0__Impl + rule__DisjunctiveExpression__Group_1_1__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__DisjunctiveExpression__Group_1_1__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getDisjunctiveExpressionAccess().getCaseConditionAction_1_1_0()); } + () + { after(grammarAccess.getDisjunctiveExpressionAccess().getCaseConditionAction_1_1_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__DisjunctiveExpression__Group_1_1__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__DisjunctiveExpression__Group_1_1__1__Impl + rule__DisjunctiveExpression__Group_1_1__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__DisjunctiveExpression__Group_1_1__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getDisjunctiveExpressionAccess().getHyphenMinusGreaterThanSignKeyword_1_1_1()); } + HyphenMinusGreaterThanSign + { after(grammarAccess.getDisjunctiveExpressionAccess().getHyphenMinusGreaterThanSignKeyword_1_1_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__DisjunctiveExpression__Group_1_1__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__DisjunctiveExpression__Group_1_1__2__Impl + rule__DisjunctiveExpression__Group_1_1__3 +; +finally { + restoreStackSize(stackSize); +} + +rule__DisjunctiveExpression__Group_1_1__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getDisjunctiveExpressionAccess().getBodyAssignment_1_1_2()); } + (rule__DisjunctiveExpression__BodyAssignment_1_1_2) + { after(grammarAccess.getDisjunctiveExpressionAccess().getBodyAssignment_1_1_2()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__DisjunctiveExpression__Group_1_1__3 + @init { + int stackSize = keepStackSize(); + } +: + rule__DisjunctiveExpression__Group_1_1__3__Impl + rule__DisjunctiveExpression__Group_1_1__4 +; +finally { + restoreStackSize(stackSize); +} + +rule__DisjunctiveExpression__Group_1_1__3__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getDisjunctiveExpressionAccess().getSwitchCasesAction_1_1_3()); } + () + { after(grammarAccess.getDisjunctiveExpressionAccess().getSwitchCasesAction_1_1_3()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__DisjunctiveExpression__Group_1_1__4 + @init { + int stackSize = keepStackSize(); + } +: + rule__DisjunctiveExpression__Group_1_1__4__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__DisjunctiveExpression__Group_1_1__4__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getDisjunctiveExpressionAccess().getGroup_1_1_4()); } + (rule__DisjunctiveExpression__Group_1_1_4__0)* + { after(grammarAccess.getDisjunctiveExpressionAccess().getGroup_1_1_4()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__DisjunctiveExpression__Group_1_1_4__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__DisjunctiveExpression__Group_1_1_4__0__Impl + rule__DisjunctiveExpression__Group_1_1_4__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__DisjunctiveExpression__Group_1_1_4__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getDisjunctiveExpressionAccess().getSemicolonKeyword_1_1_4_0()); } + Semicolon + { after(grammarAccess.getDisjunctiveExpressionAccess().getSemicolonKeyword_1_1_4_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__DisjunctiveExpression__Group_1_1_4__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__DisjunctiveExpression__Group_1_1_4__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__DisjunctiveExpression__Group_1_1_4__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getDisjunctiveExpressionAccess().getCasesAssignment_1_1_4_1()); } + (rule__DisjunctiveExpression__CasesAssignment_1_1_4_1) + { after(grammarAccess.getDisjunctiveExpressionAccess().getCasesAssignment_1_1_4_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__Case__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__Case__Group__0__Impl + rule__Case__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__Case__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getCaseAccess().getConditionAssignment_0()); } + (rule__Case__ConditionAssignment_0) + { after(grammarAccess.getCaseAccess().getConditionAssignment_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__Case__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__Case__Group__1__Impl + rule__Case__Group__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__Case__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getCaseAccess().getHyphenMinusGreaterThanSignKeyword_1()); } + HyphenMinusGreaterThanSign + { after(grammarAccess.getCaseAccess().getHyphenMinusGreaterThanSignKeyword_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__Case__Group__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__Case__Group__2__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__Case__Group__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getCaseAccess().getBodyAssignment_2()); } + (rule__Case__BodyAssignment_2) + { after(grammarAccess.getCaseAccess().getBodyAssignment_2()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__ConjunctiveExpression__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__ConjunctiveExpression__Group__0__Impl + rule__ConjunctiveExpression__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__ConjunctiveExpression__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getConjunctiveExpressionAccess().getComparisonExpressionParserRuleCall_0()); } + ruleComparisonExpression + { after(grammarAccess.getConjunctiveExpressionAccess().getComparisonExpressionParserRuleCall_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__ConjunctiveExpression__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__ConjunctiveExpression__Group__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__ConjunctiveExpression__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getConjunctiveExpressionAccess().getGroup_1()); } + (rule__ConjunctiveExpression__Group_1__0)? + { after(grammarAccess.getConjunctiveExpressionAccess().getGroup_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__ConjunctiveExpression__Group_1__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__ConjunctiveExpression__Group_1__0__Impl + rule__ConjunctiveExpression__Group_1__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__ConjunctiveExpression__Group_1__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getConjunctiveExpressionAccess().getConjunctionChildrenAction_1_0()); } + () + { after(grammarAccess.getConjunctiveExpressionAccess().getConjunctionChildrenAction_1_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__ConjunctiveExpression__Group_1__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__ConjunctiveExpression__Group_1__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__ConjunctiveExpression__Group_1__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + ( + { before(grammarAccess.getConjunctiveExpressionAccess().getGroup_1_1()); } + (rule__ConjunctiveExpression__Group_1_1__0) + { after(grammarAccess.getConjunctiveExpressionAccess().getGroup_1_1()); } + ) + ( + { before(grammarAccess.getConjunctiveExpressionAccess().getGroup_1_1()); } + (rule__ConjunctiveExpression__Group_1_1__0)* + { after(grammarAccess.getConjunctiveExpressionAccess().getGroup_1_1()); } + ) +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__ConjunctiveExpression__Group_1_1__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__ConjunctiveExpression__Group_1_1__0__Impl + rule__ConjunctiveExpression__Group_1_1__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__ConjunctiveExpression__Group_1_1__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getConjunctiveExpressionAccess().getCommaKeyword_1_1_0()); } + Comma + { after(grammarAccess.getConjunctiveExpressionAccess().getCommaKeyword_1_1_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__ConjunctiveExpression__Group_1_1__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__ConjunctiveExpression__Group_1_1__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__ConjunctiveExpression__Group_1_1__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getConjunctiveExpressionAccess().getChildrenAssignment_1_1_1()); } + (rule__ConjunctiveExpression__ChildrenAssignment_1_1_1) + { after(grammarAccess.getConjunctiveExpressionAccess().getChildrenAssignment_1_1_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__ComparisonExpression__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__ComparisonExpression__Group__0__Impl + rule__ComparisonExpression__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__ComparisonExpression__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getComparisonExpressionAccess().getAdditiveExpressionParserRuleCall_0()); } + ruleAdditiveExpression + { after(grammarAccess.getComparisonExpressionAccess().getAdditiveExpressionParserRuleCall_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__ComparisonExpression__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__ComparisonExpression__Group__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__ComparisonExpression__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getComparisonExpressionAccess().getGroup_1()); } + (rule__ComparisonExpression__Group_1__0)? + { after(grammarAccess.getComparisonExpressionAccess().getGroup_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__ComparisonExpression__Group_1__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__ComparisonExpression__Group_1__0__Impl + rule__ComparisonExpression__Group_1__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__ComparisonExpression__Group_1__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getComparisonExpressionAccess().getComparisonLeftAction_1_0()); } + () + { after(grammarAccess.getComparisonExpressionAccess().getComparisonLeftAction_1_0()); } +) ; finally { restoreStackSize(stackSize); } -rule__ConjunctiveExpression__Group__1 +rule__ComparisonExpression__Group_1__1 @init { int stackSize = keepStackSize(); } : - rule__ConjunctiveExpression__Group__1__Impl + rule__ComparisonExpression__Group_1__1__Impl + rule__ComparisonExpression__Group_1__2 ; finally { restoreStackSize(stackSize); } -rule__ConjunctiveExpression__Group__1__Impl +rule__ComparisonExpression__Group_1__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getConjunctiveExpressionAccess().getGroup_1()); } - (rule__ConjunctiveExpression__Group_1__0)? - { after(grammarAccess.getConjunctiveExpressionAccess().getGroup_1()); } + { before(grammarAccess.getComparisonExpressionAccess().getOpAssignment_1_1()); } + (rule__ComparisonExpression__OpAssignment_1_1) + { after(grammarAccess.getComparisonExpressionAccess().getOpAssignment_1_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__ComparisonExpression__Group_1__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__ComparisonExpression__Group_1__2__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__ComparisonExpression__Group_1__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getComparisonExpressionAccess().getRightAssignment_1_2()); } + (rule__ComparisonExpression__RightAssignment_1_2) + { after(grammarAccess.getComparisonExpressionAccess().getRightAssignment_1_2()); } ) ; finally { @@ -4026,114 +5360,188 @@ finally { } -rule__ConjunctiveExpression__Group_1__0 +rule__AdditiveExpression__Group__0 @init { int stackSize = keepStackSize(); } : - rule__ConjunctiveExpression__Group_1__0__Impl - rule__ConjunctiveExpression__Group_1__1 + rule__AdditiveExpression__Group__0__Impl + rule__AdditiveExpression__Group__1 ; finally { restoreStackSize(stackSize); } -rule__ConjunctiveExpression__Group_1__0__Impl +rule__AdditiveExpression__Group__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getConjunctiveExpressionAccess().getConjunctionChildrenAction_1_0()); } + { before(grammarAccess.getAdditiveExpressionAccess().getMultiplicativeExpressionParserRuleCall_0()); } + ruleMultiplicativeExpression + { after(grammarAccess.getAdditiveExpressionAccess().getMultiplicativeExpressionParserRuleCall_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__AdditiveExpression__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__AdditiveExpression__Group__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__AdditiveExpression__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getAdditiveExpressionAccess().getGroup_1()); } + (rule__AdditiveExpression__Group_1__0)* + { after(grammarAccess.getAdditiveExpressionAccess().getGroup_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__AdditiveExpression__Group_1__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__AdditiveExpression__Group_1__0__Impl + rule__AdditiveExpression__Group_1__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__AdditiveExpression__Group_1__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getAdditiveExpressionAccess().getBinaryExpressionLeftAction_1_0()); } () - { after(grammarAccess.getConjunctiveExpressionAccess().getConjunctionChildrenAction_1_0()); } + { after(grammarAccess.getAdditiveExpressionAccess().getBinaryExpressionLeftAction_1_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__ConjunctiveExpression__Group_1__1 +rule__AdditiveExpression__Group_1__1 @init { int stackSize = keepStackSize(); } : - rule__ConjunctiveExpression__Group_1__1__Impl + rule__AdditiveExpression__Group_1__1__Impl + rule__AdditiveExpression__Group_1__2 ; finally { restoreStackSize(stackSize); } -rule__ConjunctiveExpression__Group_1__1__Impl +rule__AdditiveExpression__Group_1__1__Impl @init { int stackSize = keepStackSize(); } : ( - ( - { before(grammarAccess.getConjunctiveExpressionAccess().getGroup_1_1()); } - (rule__ConjunctiveExpression__Group_1_1__0) - { after(grammarAccess.getConjunctiveExpressionAccess().getGroup_1_1()); } - ) - ( - { before(grammarAccess.getConjunctiveExpressionAccess().getGroup_1_1()); } - (rule__ConjunctiveExpression__Group_1_1__0)* - { after(grammarAccess.getConjunctiveExpressionAccess().getGroup_1_1()); } - ) + { before(grammarAccess.getAdditiveExpressionAccess().getOpAssignment_1_1()); } + (rule__AdditiveExpression__OpAssignment_1_1) + { after(grammarAccess.getAdditiveExpressionAccess().getOpAssignment_1_1()); } ) ; finally { restoreStackSize(stackSize); } +rule__AdditiveExpression__Group_1__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__AdditiveExpression__Group_1__2__Impl +; +finally { + restoreStackSize(stackSize); +} -rule__ConjunctiveExpression__Group_1_1__0 +rule__AdditiveExpression__Group_1__2__Impl @init { int stackSize = keepStackSize(); } : - rule__ConjunctiveExpression__Group_1_1__0__Impl - rule__ConjunctiveExpression__Group_1_1__1 +( + { before(grammarAccess.getAdditiveExpressionAccess().getRightAssignment_1_2()); } + (rule__AdditiveExpression__RightAssignment_1_2) + { after(grammarAccess.getAdditiveExpressionAccess().getRightAssignment_1_2()); } +) ; finally { restoreStackSize(stackSize); } -rule__ConjunctiveExpression__Group_1_1__0__Impl + +rule__MultiplicativeExpression__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__MultiplicativeExpression__Group__0__Impl + rule__MultiplicativeExpression__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__MultiplicativeExpression__Group__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getConjunctiveExpressionAccess().getCommaKeyword_1_1_0()); } - Comma - { after(grammarAccess.getConjunctiveExpressionAccess().getCommaKeyword_1_1_0()); } + { before(grammarAccess.getMultiplicativeExpressionAccess().getExponentialExpressionParserRuleCall_0()); } + ruleExponentialExpression + { after(grammarAccess.getMultiplicativeExpressionAccess().getExponentialExpressionParserRuleCall_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__ConjunctiveExpression__Group_1_1__1 +rule__MultiplicativeExpression__Group__1 @init { int stackSize = keepStackSize(); } : - rule__ConjunctiveExpression__Group_1_1__1__Impl + rule__MultiplicativeExpression__Group__1__Impl ; finally { restoreStackSize(stackSize); } -rule__ConjunctiveExpression__Group_1_1__1__Impl +rule__MultiplicativeExpression__Group__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getConjunctiveExpressionAccess().getChildrenAssignment_1_1_1()); } - (rule__ConjunctiveExpression__ChildrenAssignment_1_1_1) - { after(grammarAccess.getConjunctiveExpressionAccess().getChildrenAssignment_1_1_1()); } + { before(grammarAccess.getMultiplicativeExpressionAccess().getGroup_1()); } + (rule__MultiplicativeExpression__Group_1__0)* + { after(grammarAccess.getMultiplicativeExpressionAccess().getGroup_1()); } ) ; finally { @@ -4141,539 +5549,593 @@ finally { } -rule__ComparisonExpression__Group__0 +rule__MultiplicativeExpression__Group_1__0 @init { int stackSize = keepStackSize(); } : - rule__ComparisonExpression__Group__0__Impl - rule__ComparisonExpression__Group__1 + rule__MultiplicativeExpression__Group_1__0__Impl + rule__MultiplicativeExpression__Group_1__1 ; finally { restoreStackSize(stackSize); } -rule__ComparisonExpression__Group__0__Impl +rule__MultiplicativeExpression__Group_1__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getComparisonExpressionAccess().getAdditiveExpressionParserRuleCall_0()); } - ruleAdditiveExpression - { after(grammarAccess.getComparisonExpressionAccess().getAdditiveExpressionParserRuleCall_0()); } + { before(grammarAccess.getMultiplicativeExpressionAccess().getBinaryExpressionLeftAction_1_0()); } + () + { after(grammarAccess.getMultiplicativeExpressionAccess().getBinaryExpressionLeftAction_1_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__ComparisonExpression__Group__1 +rule__MultiplicativeExpression__Group_1__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__MultiplicativeExpression__Group_1__1__Impl + rule__MultiplicativeExpression__Group_1__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__MultiplicativeExpression__Group_1__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getMultiplicativeExpressionAccess().getOpAssignment_1_1()); } + (rule__MultiplicativeExpression__OpAssignment_1_1) + { after(grammarAccess.getMultiplicativeExpressionAccess().getOpAssignment_1_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__MultiplicativeExpression__Group_1__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__MultiplicativeExpression__Group_1__2__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__MultiplicativeExpression__Group_1__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getMultiplicativeExpressionAccess().getRightAssignment_1_2()); } + (rule__MultiplicativeExpression__RightAssignment_1_2) + { after(grammarAccess.getMultiplicativeExpressionAccess().getRightAssignment_1_2()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__ExponentialExpression__Group__0 @init { int stackSize = keepStackSize(); } : - rule__ComparisonExpression__Group__1__Impl + rule__ExponentialExpression__Group__0__Impl + rule__ExponentialExpression__Group__1 ; finally { restoreStackSize(stackSize); } -rule__ComparisonExpression__Group__1__Impl +rule__ExponentialExpression__Group__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getComparisonExpressionAccess().getGroup_1()); } - (rule__ComparisonExpression__Group_1__0)? - { after(grammarAccess.getComparisonExpressionAccess().getGroup_1()); } + { before(grammarAccess.getExponentialExpressionAccess().getCastExpressionParserRuleCall_0()); } + ruleCastExpression + { after(grammarAccess.getExponentialExpressionAccess().getCastExpressionParserRuleCall_0()); } ) ; finally { restoreStackSize(stackSize); } - -rule__ComparisonExpression__Group_1__0 +rule__ExponentialExpression__Group__1 @init { int stackSize = keepStackSize(); } : - rule__ComparisonExpression__Group_1__0__Impl - rule__ComparisonExpression__Group_1__1 + rule__ExponentialExpression__Group__1__Impl ; finally { restoreStackSize(stackSize); } -rule__ComparisonExpression__Group_1__0__Impl +rule__ExponentialExpression__Group__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getComparisonExpressionAccess().getComparisonLeftAction_1_0()); } - () - { after(grammarAccess.getComparisonExpressionAccess().getComparisonLeftAction_1_0()); } + { before(grammarAccess.getExponentialExpressionAccess().getGroup_1()); } + (rule__ExponentialExpression__Group_1__0)? + { after(grammarAccess.getExponentialExpressionAccess().getGroup_1()); } ) ; finally { restoreStackSize(stackSize); } -rule__ComparisonExpression__Group_1__1 + +rule__ExponentialExpression__Group_1__0 @init { int stackSize = keepStackSize(); } : - rule__ComparisonExpression__Group_1__1__Impl - rule__ComparisonExpression__Group_1__2 + rule__ExponentialExpression__Group_1__0__Impl + rule__ExponentialExpression__Group_1__1 ; finally { restoreStackSize(stackSize); } -rule__ComparisonExpression__Group_1__1__Impl +rule__ExponentialExpression__Group_1__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getComparisonExpressionAccess().getOpAssignment_1_1()); } - (rule__ComparisonExpression__OpAssignment_1_1) - { after(grammarAccess.getComparisonExpressionAccess().getOpAssignment_1_1()); } + { before(grammarAccess.getExponentialExpressionAccess().getBinaryExpressionLeftAction_1_0()); } + () + { after(grammarAccess.getExponentialExpressionAccess().getBinaryExpressionLeftAction_1_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__ComparisonExpression__Group_1__2 +rule__ExponentialExpression__Group_1__1 @init { int stackSize = keepStackSize(); } : - rule__ComparisonExpression__Group_1__2__Impl + rule__ExponentialExpression__Group_1__1__Impl + rule__ExponentialExpression__Group_1__2 ; finally { restoreStackSize(stackSize); } -rule__ComparisonExpression__Group_1__2__Impl +rule__ExponentialExpression__Group_1__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getComparisonExpressionAccess().getRightAssignment_1_2()); } - (rule__ComparisonExpression__RightAssignment_1_2) - { after(grammarAccess.getComparisonExpressionAccess().getRightAssignment_1_2()); } + { before(grammarAccess.getExponentialExpressionAccess().getOpAssignment_1_1()); } + (rule__ExponentialExpression__OpAssignment_1_1) + { after(grammarAccess.getExponentialExpressionAccess().getOpAssignment_1_1()); } ) ; finally { restoreStackSize(stackSize); } - -rule__AdditiveExpression__Group__0 +rule__ExponentialExpression__Group_1__2 @init { int stackSize = keepStackSize(); } : - rule__AdditiveExpression__Group__0__Impl - rule__AdditiveExpression__Group__1 + rule__ExponentialExpression__Group_1__2__Impl ; finally { restoreStackSize(stackSize); } -rule__AdditiveExpression__Group__0__Impl +rule__ExponentialExpression__Group_1__2__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getAdditiveExpressionAccess().getMultiplicativeExpressionParserRuleCall_0()); } - ruleMultiplicativeExpression - { after(grammarAccess.getAdditiveExpressionAccess().getMultiplicativeExpressionParserRuleCall_0()); } + { before(grammarAccess.getExponentialExpressionAccess().getRightAssignment_1_2()); } + (rule__ExponentialExpression__RightAssignment_1_2) + { after(grammarAccess.getExponentialExpressionAccess().getRightAssignment_1_2()); } ) ; finally { restoreStackSize(stackSize); } -rule__AdditiveExpression__Group__1 + +rule__CastExpression__Group__0 @init { int stackSize = keepStackSize(); } : - rule__AdditiveExpression__Group__1__Impl + rule__CastExpression__Group__0__Impl + rule__CastExpression__Group__1 ; finally { restoreStackSize(stackSize); } -rule__AdditiveExpression__Group__1__Impl +rule__CastExpression__Group__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getAdditiveExpressionAccess().getGroup_1()); } - (rule__AdditiveExpression__Group_1__0)* - { after(grammarAccess.getAdditiveExpressionAccess().getGroup_1()); } + { before(grammarAccess.getCastExpressionAccess().getUnaryExpressionParserRuleCall_0()); } + ruleUnaryExpression + { after(grammarAccess.getCastExpressionAccess().getUnaryExpressionParserRuleCall_0()); } ) ; finally { restoreStackSize(stackSize); } - -rule__AdditiveExpression__Group_1__0 +rule__CastExpression__Group__1 @init { int stackSize = keepStackSize(); } : - rule__AdditiveExpression__Group_1__0__Impl - rule__AdditiveExpression__Group_1__1 + rule__CastExpression__Group__1__Impl ; finally { restoreStackSize(stackSize); } -rule__AdditiveExpression__Group_1__0__Impl +rule__CastExpression__Group__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getAdditiveExpressionAccess().getBinaryExpressionLeftAction_1_0()); } - () - { after(grammarAccess.getAdditiveExpressionAccess().getBinaryExpressionLeftAction_1_0()); } + { before(grammarAccess.getCastExpressionAccess().getGroup_1()); } + (rule__CastExpression__Group_1__0)? + { after(grammarAccess.getCastExpressionAccess().getGroup_1()); } ) ; finally { restoreStackSize(stackSize); } -rule__AdditiveExpression__Group_1__1 + +rule__CastExpression__Group_1__0 @init { int stackSize = keepStackSize(); } : - rule__AdditiveExpression__Group_1__1__Impl - rule__AdditiveExpression__Group_1__2 + rule__CastExpression__Group_1__0__Impl + rule__CastExpression__Group_1__1 ; finally { restoreStackSize(stackSize); } -rule__AdditiveExpression__Group_1__1__Impl +rule__CastExpression__Group_1__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getAdditiveExpressionAccess().getOpAssignment_1_1()); } - (rule__AdditiveExpression__OpAssignment_1_1) - { after(grammarAccess.getAdditiveExpressionAccess().getOpAssignment_1_1()); } + { before(grammarAccess.getCastExpressionAccess().getCastExpressionBodyAction_1_0()); } + () + { after(grammarAccess.getCastExpressionAccess().getCastExpressionBodyAction_1_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__AdditiveExpression__Group_1__2 +rule__CastExpression__Group_1__1 @init { int stackSize = keepStackSize(); } : - rule__AdditiveExpression__Group_1__2__Impl + rule__CastExpression__Group_1__1__Impl + rule__CastExpression__Group_1__2 ; finally { restoreStackSize(stackSize); } -rule__AdditiveExpression__Group_1__2__Impl +rule__CastExpression__Group_1__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getAdditiveExpressionAccess().getRightAssignment_1_2()); } - (rule__AdditiveExpression__RightAssignment_1_2) - { after(grammarAccess.getAdditiveExpressionAccess().getRightAssignment_1_2()); } + { before(grammarAccess.getCastExpressionAccess().getAsKeyword_1_1()); } + As + { after(grammarAccess.getCastExpressionAccess().getAsKeyword_1_1()); } ) ; finally { restoreStackSize(stackSize); } - -rule__MultiplicativeExpression__Group__0 +rule__CastExpression__Group_1__2 @init { int stackSize = keepStackSize(); } : - rule__MultiplicativeExpression__Group__0__Impl - rule__MultiplicativeExpression__Group__1 + rule__CastExpression__Group_1__2__Impl ; finally { restoreStackSize(stackSize); } -rule__MultiplicativeExpression__Group__0__Impl +rule__CastExpression__Group_1__2__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getMultiplicativeExpressionAccess().getExponentialExpressionParserRuleCall_0()); } - ruleExponentialExpression - { after(grammarAccess.getMultiplicativeExpressionAccess().getExponentialExpressionParserRuleCall_0()); } + { before(grammarAccess.getCastExpressionAccess().getTypeAssignment_1_2()); } + (rule__CastExpression__TypeAssignment_1_2) + { after(grammarAccess.getCastExpressionAccess().getTypeAssignment_1_2()); } ) ; finally { restoreStackSize(stackSize); } -rule__MultiplicativeExpression__Group__1 + +rule__UnaryExpression__Group_1__0 @init { int stackSize = keepStackSize(); } : - rule__MultiplicativeExpression__Group__1__Impl + rule__UnaryExpression__Group_1__0__Impl + rule__UnaryExpression__Group_1__1 ; finally { restoreStackSize(stackSize); } -rule__MultiplicativeExpression__Group__1__Impl +rule__UnaryExpression__Group_1__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getMultiplicativeExpressionAccess().getGroup_1()); } - (rule__MultiplicativeExpression__Group_1__0)* - { after(grammarAccess.getMultiplicativeExpressionAccess().getGroup_1()); } + { before(grammarAccess.getUnaryExpressionAccess().getUnaryExpressionAction_1_0()); } + () + { after(grammarAccess.getUnaryExpressionAccess().getUnaryExpressionAction_1_0()); } ) ; finally { restoreStackSize(stackSize); } - -rule__MultiplicativeExpression__Group_1__0 +rule__UnaryExpression__Group_1__1 @init { int stackSize = keepStackSize(); } : - rule__MultiplicativeExpression__Group_1__0__Impl - rule__MultiplicativeExpression__Group_1__1 + rule__UnaryExpression__Group_1__1__Impl + rule__UnaryExpression__Group_1__2 ; finally { restoreStackSize(stackSize); } -rule__MultiplicativeExpression__Group_1__0__Impl +rule__UnaryExpression__Group_1__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getMultiplicativeExpressionAccess().getBinaryExpressionLeftAction_1_0()); } - () - { after(grammarAccess.getMultiplicativeExpressionAccess().getBinaryExpressionLeftAction_1_0()); } + { before(grammarAccess.getUnaryExpressionAccess().getOpAssignment_1_1()); } + (rule__UnaryExpression__OpAssignment_1_1) + { after(grammarAccess.getUnaryExpressionAccess().getOpAssignment_1_1()); } ) ; finally { restoreStackSize(stackSize); } -rule__MultiplicativeExpression__Group_1__1 +rule__UnaryExpression__Group_1__2 @init { int stackSize = keepStackSize(); } : - rule__MultiplicativeExpression__Group_1__1__Impl - rule__MultiplicativeExpression__Group_1__2 + rule__UnaryExpression__Group_1__2__Impl ; finally { restoreStackSize(stackSize); } -rule__MultiplicativeExpression__Group_1__1__Impl +rule__UnaryExpression__Group_1__2__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getMultiplicativeExpressionAccess().getOpAssignment_1_1()); } - (rule__MultiplicativeExpression__OpAssignment_1_1) - { after(grammarAccess.getMultiplicativeExpressionAccess().getOpAssignment_1_1()); } + { before(grammarAccess.getUnaryExpressionAccess().getBodyAssignment_1_2()); } + (rule__UnaryExpression__BodyAssignment_1_2) + { after(grammarAccess.getUnaryExpressionAccess().getBodyAssignment_1_2()); } ) ; finally { restoreStackSize(stackSize); } -rule__MultiplicativeExpression__Group_1__2 + +rule__LocalVariables__Group__0 @init { int stackSize = keepStackSize(); } : - rule__MultiplicativeExpression__Group_1__2__Impl + rule__LocalVariables__Group__0__Impl + rule__LocalVariables__Group__1 ; finally { restoreStackSize(stackSize); } -rule__MultiplicativeExpression__Group_1__2__Impl +rule__LocalVariables__Group__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getMultiplicativeExpressionAccess().getRightAssignment_1_2()); } - (rule__MultiplicativeExpression__RightAssignment_1_2) - { after(grammarAccess.getMultiplicativeExpressionAccess().getRightAssignment_1_2()); } + { before(grammarAccess.getLocalVariablesAccess().getLocalVariablesAction_0()); } + () + { after(grammarAccess.getLocalVariablesAccess().getLocalVariablesAction_0()); } ) ; finally { restoreStackSize(stackSize); } - -rule__ExponentialExpression__Group__0 +rule__LocalVariables__Group__1 @init { int stackSize = keepStackSize(); } : - rule__ExponentialExpression__Group__0__Impl - rule__ExponentialExpression__Group__1 + rule__LocalVariables__Group__1__Impl + rule__LocalVariables__Group__2 ; finally { restoreStackSize(stackSize); } -rule__ExponentialExpression__Group__0__Impl +rule__LocalVariables__Group__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getExponentialExpressionAccess().getUnaryExpressionParserRuleCall_0()); } - ruleUnaryExpression - { after(grammarAccess.getExponentialExpressionAccess().getUnaryExpressionParserRuleCall_0()); } + { before(grammarAccess.getLocalVariablesAccess().getLeftSquareBracketKeyword_1()); } + LeftSquareBracket + { after(grammarAccess.getLocalVariablesAccess().getLeftSquareBracketKeyword_1()); } ) ; finally { restoreStackSize(stackSize); } -rule__ExponentialExpression__Group__1 +rule__LocalVariables__Group__2 @init { int stackSize = keepStackSize(); } : - rule__ExponentialExpression__Group__1__Impl + rule__LocalVariables__Group__2__Impl + rule__LocalVariables__Group__3 ; finally { restoreStackSize(stackSize); } -rule__ExponentialExpression__Group__1__Impl +rule__LocalVariables__Group__2__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getExponentialExpressionAccess().getGroup_1()); } - (rule__ExponentialExpression__Group_1__0)? - { after(grammarAccess.getExponentialExpressionAccess().getGroup_1()); } + { before(grammarAccess.getLocalVariablesAccess().getGroup_2()); } + (rule__LocalVariables__Group_2__0)? + { after(grammarAccess.getLocalVariablesAccess().getGroup_2()); } ) ; finally { restoreStackSize(stackSize); } - -rule__ExponentialExpression__Group_1__0 +rule__LocalVariables__Group__3 @init { int stackSize = keepStackSize(); } : - rule__ExponentialExpression__Group_1__0__Impl - rule__ExponentialExpression__Group_1__1 + rule__LocalVariables__Group__3__Impl ; finally { restoreStackSize(stackSize); } -rule__ExponentialExpression__Group_1__0__Impl +rule__LocalVariables__Group__3__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getExponentialExpressionAccess().getBinaryExpressionLeftAction_1_0()); } - () - { after(grammarAccess.getExponentialExpressionAccess().getBinaryExpressionLeftAction_1_0()); } + { before(grammarAccess.getLocalVariablesAccess().getRightSquareBracketKeyword_3()); } + RightSquareBracket + { after(grammarAccess.getLocalVariablesAccess().getRightSquareBracketKeyword_3()); } ) ; finally { restoreStackSize(stackSize); } -rule__ExponentialExpression__Group_1__1 + +rule__LocalVariables__Group_2__0 @init { int stackSize = keepStackSize(); } : - rule__ExponentialExpression__Group_1__1__Impl - rule__ExponentialExpression__Group_1__2 + rule__LocalVariables__Group_2__0__Impl + rule__LocalVariables__Group_2__1 ; finally { restoreStackSize(stackSize); } -rule__ExponentialExpression__Group_1__1__Impl +rule__LocalVariables__Group_2__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getExponentialExpressionAccess().getOpAssignment_1_1()); } - (rule__ExponentialExpression__OpAssignment_1_1) - { after(grammarAccess.getExponentialExpressionAccess().getOpAssignment_1_1()); } + { before(grammarAccess.getLocalVariablesAccess().getVariablesAssignment_2_0()); } + (rule__LocalVariables__VariablesAssignment_2_0) + { after(grammarAccess.getLocalVariablesAccess().getVariablesAssignment_2_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__ExponentialExpression__Group_1__2 +rule__LocalVariables__Group_2__1 @init { int stackSize = keepStackSize(); } : - rule__ExponentialExpression__Group_1__2__Impl + rule__LocalVariables__Group_2__1__Impl ; finally { restoreStackSize(stackSize); } -rule__ExponentialExpression__Group_1__2__Impl +rule__LocalVariables__Group_2__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getExponentialExpressionAccess().getRightAssignment_1_2()); } - (rule__ExponentialExpression__RightAssignment_1_2) - { after(grammarAccess.getExponentialExpressionAccess().getRightAssignment_1_2()); } + { before(grammarAccess.getLocalVariablesAccess().getGroup_2_1()); } + (rule__LocalVariables__Group_2_1__0)* + { after(grammarAccess.getLocalVariablesAccess().getGroup_2_1()); } ) ; finally { @@ -4681,188 +6143,188 @@ finally { } -rule__UnaryExpression__Group_1__0 +rule__LocalVariables__Group_2_1__0 @init { int stackSize = keepStackSize(); } : - rule__UnaryExpression__Group_1__0__Impl - rule__UnaryExpression__Group_1__1 + rule__LocalVariables__Group_2_1__0__Impl + rule__LocalVariables__Group_2_1__1 ; finally { restoreStackSize(stackSize); } -rule__UnaryExpression__Group_1__0__Impl +rule__LocalVariables__Group_2_1__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getUnaryExpressionAccess().getUnaryExpressionAction_1_0()); } - () - { after(grammarAccess.getUnaryExpressionAccess().getUnaryExpressionAction_1_0()); } + { before(grammarAccess.getLocalVariablesAccess().getCommaKeyword_2_1_0()); } + Comma + { after(grammarAccess.getLocalVariablesAccess().getCommaKeyword_2_1_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__UnaryExpression__Group_1__1 +rule__LocalVariables__Group_2_1__1 @init { int stackSize = keepStackSize(); } : - rule__UnaryExpression__Group_1__1__Impl - rule__UnaryExpression__Group_1__2 + rule__LocalVariables__Group_2_1__1__Impl ; finally { restoreStackSize(stackSize); } -rule__UnaryExpression__Group_1__1__Impl +rule__LocalVariables__Group_2_1__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getUnaryExpressionAccess().getOpAssignment_1_1()); } - (rule__UnaryExpression__OpAssignment_1_1) - { after(grammarAccess.getUnaryExpressionAccess().getOpAssignment_1_1()); } + { before(grammarAccess.getLocalVariablesAccess().getVariablesAssignment_2_1_1()); } + (rule__LocalVariables__VariablesAssignment_2_1_1) + { after(grammarAccess.getLocalVariablesAccess().getVariablesAssignment_2_1_1()); } ) ; finally { restoreStackSize(stackSize); } -rule__UnaryExpression__Group_1__2 + +rule__QuantifiedExpression__Group__0 @init { int stackSize = keepStackSize(); } : - rule__UnaryExpression__Group_1__2__Impl + rule__QuantifiedExpression__Group__0__Impl + rule__QuantifiedExpression__Group__1 ; finally { restoreStackSize(stackSize); } -rule__UnaryExpression__Group_1__2__Impl +rule__QuantifiedExpression__Group__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getUnaryExpressionAccess().getBodyAssignment_1_2()); } - (rule__UnaryExpression__BodyAssignment_1_2) - { after(grammarAccess.getUnaryExpressionAccess().getBodyAssignment_1_2()); } + { before(grammarAccess.getQuantifiedExpressionAccess().getQuantifierAssignment_0()); } + (rule__QuantifiedExpression__QuantifierAssignment_0) + { after(grammarAccess.getQuantifiedExpressionAccess().getQuantifierAssignment_0()); } ) ; finally { restoreStackSize(stackSize); } - -rule__Count__Group__0 +rule__QuantifiedExpression__Group__1 @init { int stackSize = keepStackSize(); } : - rule__Count__Group__0__Impl - rule__Count__Group__1 + rule__QuantifiedExpression__Group__1__Impl + rule__QuantifiedExpression__Group__2 ; finally { restoreStackSize(stackSize); } -rule__Count__Group__0__Impl +rule__QuantifiedExpression__Group__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getCountAccess().getCountKeyword_0()); } - Count - { after(grammarAccess.getCountAccess().getCountKeyword_0()); } + { before(grammarAccess.getQuantifiedExpressionAccess().getLocalVariablesAssignment_1()); } + (rule__QuantifiedExpression__LocalVariablesAssignment_1)? + { after(grammarAccess.getQuantifiedExpressionAccess().getLocalVariablesAssignment_1()); } ) ; finally { restoreStackSize(stackSize); } -rule__Count__Group__1 +rule__QuantifiedExpression__Group__2 @init { int stackSize = keepStackSize(); } : - rule__Count__Group__1__Impl - rule__Count__Group__2 + rule__QuantifiedExpression__Group__2__Impl + rule__QuantifiedExpression__Group__3 ; finally { restoreStackSize(stackSize); } -rule__Count__Group__1__Impl +rule__QuantifiedExpression__Group__2__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getCountAccess().getLeftCurlyBracketKeyword_1()); } + { before(grammarAccess.getQuantifiedExpressionAccess().getLeftCurlyBracketKeyword_2()); } LeftCurlyBracket - { after(grammarAccess.getCountAccess().getLeftCurlyBracketKeyword_1()); } + { after(grammarAccess.getQuantifiedExpressionAccess().getLeftCurlyBracketKeyword_2()); } ) ; finally { restoreStackSize(stackSize); } -rule__Count__Group__2 +rule__QuantifiedExpression__Group__3 @init { int stackSize = keepStackSize(); } : - rule__Count__Group__2__Impl - rule__Count__Group__3 + rule__QuantifiedExpression__Group__3__Impl + rule__QuantifiedExpression__Group__4 ; finally { restoreStackSize(stackSize); } -rule__Count__Group__2__Impl +rule__QuantifiedExpression__Group__3__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getCountAccess().getBodyAssignment_2()); } - (rule__Count__BodyAssignment_2) - { after(grammarAccess.getCountAccess().getBodyAssignment_2()); } + { before(grammarAccess.getQuantifiedExpressionAccess().getBodyAssignment_3()); } + (rule__QuantifiedExpression__BodyAssignment_3) + { after(grammarAccess.getQuantifiedExpressionAccess().getBodyAssignment_3()); } ) ; finally { restoreStackSize(stackSize); } -rule__Count__Group__3 +rule__QuantifiedExpression__Group__4 @init { int stackSize = keepStackSize(); } : - rule__Count__Group__3__Impl + rule__QuantifiedExpression__Group__4__Impl ; finally { restoreStackSize(stackSize); } -rule__Count__Group__3__Impl +rule__QuantifiedExpression__Group__4__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getCountAccess().getRightCurlyBracketKeyword_3()); } + { before(grammarAccess.getQuantifiedExpressionAccess().getRightCurlyBracketKeyword_4()); } RightCurlyBracket - { after(grammarAccess.getCountAccess().getRightCurlyBracketKeyword_3()); } + { after(grammarAccess.getQuantifiedExpressionAccess().getRightCurlyBracketKeyword_4()); } ) ; finally { @@ -4915,9 +6377,9 @@ rule__Aggregation__Group__1__Impl } : ( - { before(grammarAccess.getAggregationAccess().getLeftCurlyBracketKeyword_1()); } - LeftCurlyBracket - { after(grammarAccess.getAggregationAccess().getLeftCurlyBracketKeyword_1()); } + { before(grammarAccess.getAggregationAccess().getLocalVariablesAssignment_1()); } + (rule__Aggregation__LocalVariablesAssignment_1)? + { after(grammarAccess.getAggregationAccess().getLocalVariablesAssignment_1()); } ) ; finally { @@ -4942,9 +6404,9 @@ rule__Aggregation__Group__2__Impl } : ( - { before(grammarAccess.getAggregationAccess().getBodyAssignment_2()); } - (rule__Aggregation__BodyAssignment_2) - { after(grammarAccess.getAggregationAccess().getBodyAssignment_2()); } + { before(grammarAccess.getAggregationAccess().getLeftCurlyBracketKeyword_2()); } + LeftCurlyBracket + { after(grammarAccess.getAggregationAccess().getLeftCurlyBracketKeyword_2()); } ) ; finally { @@ -4969,9 +6431,9 @@ rule__Aggregation__Group__3__Impl } : ( - { before(grammarAccess.getAggregationAccess().getVerticalLineKeyword_3()); } - VerticalLine - { after(grammarAccess.getAggregationAccess().getVerticalLineKeyword_3()); } + { before(grammarAccess.getAggregationAccess().getBodyAssignment_3()); } + (rule__Aggregation__BodyAssignment_3) + { after(grammarAccess.getAggregationAccess().getBodyAssignment_3()); } ) ; finally { @@ -4996,9 +6458,9 @@ rule__Aggregation__Group__4__Impl } : ( - { before(grammarAccess.getAggregationAccess().getConditionAssignment_4()); } - (rule__Aggregation__ConditionAssignment_4) - { after(grammarAccess.getAggregationAccess().getConditionAssignment_4()); } + { before(grammarAccess.getAggregationAccess().getGroup_4()); } + (rule__Aggregation__Group_4__0)? + { after(grammarAccess.getAggregationAccess().getGroup_4()); } ) ; finally { @@ -5032,6 +6494,60 @@ finally { } +rule__Aggregation__Group_4__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__Aggregation__Group_4__0__Impl + rule__Aggregation__Group_4__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__Aggregation__Group_4__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getAggregationAccess().getVerticalLineKeyword_4_0()); } + VerticalLine + { after(grammarAccess.getAggregationAccess().getVerticalLineKeyword_4_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__Aggregation__Group_4__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__Aggregation__Group_4__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__Aggregation__Group_4__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getAggregationAccess().getConditionAssignment_4_1()); } + (rule__Aggregation__ConditionAssignment_4_1) + { after(grammarAccess.getAggregationAccess().getConditionAssignment_4_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + + rule__AtomicExpression__Group_4__0 @init { int stackSize = keepStackSize(); @@ -7543,442 +9059,725 @@ finally { restoreStackSize(stackSize); } -rule__QualifiedName__Group_0__1 +rule__QualifiedName__Group_0__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__QualifiedName__Group_0__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__QualifiedName__Group_0__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getQualifiedNameAccess().getGroup_0_1()); } + (rule__QualifiedName__Group_0_1__0)* + { after(grammarAccess.getQualifiedNameAccess().getGroup_0_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__QualifiedName__Group_0_1__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__QualifiedName__Group_0_1__0__Impl + rule__QualifiedName__Group_0_1__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__QualifiedName__Group_0_1__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getQualifiedNameAccess().getFullStopKeyword_0_1_0()); } + FullStop + { after(grammarAccess.getQualifiedNameAccess().getFullStopKeyword_0_1_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__QualifiedName__Group_0_1__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__QualifiedName__Group_0_1__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__QualifiedName__Group_0_1__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_0_1_1()); } + RULE_ID + { after(grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_0_1_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__Problem__StatementsAssignment + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getProblemAccess().getStatementsStatementParserRuleCall_0()); } + ruleStatement + { after(grammarAccess.getProblemAccess().getStatementsStatementParserRuleCall_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__AssertionOrDefinition__RangeAssignment_1_0_2 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getAssertionOrDefinitionAccess().getRangeExpressionParserRuleCall_1_0_2_0()); } + ruleExpression + { after(grammarAccess.getAssertionOrDefinitionAccess().getRangeExpressionParserRuleCall_1_0_2_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__AssertionOrDefinition__BodyAssignment_1_1_2 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getAssertionOrDefinitionAccess().getBodyExpressionParserRuleCall_1_1_2_0()); } + ruleExpression + { after(grammarAccess.getAssertionOrDefinitionAccess().getBodyExpressionParserRuleCall_1_1_2_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__AssertionOrDefinition__BodyAssignment_1_2_2 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getAssertionOrDefinitionAccess().getBodyExpressionParserRuleCall_1_2_2_0()); } + ruleExpression + { after(grammarAccess.getAssertionOrDefinitionAccess().getBodyExpressionParserRuleCall_1_2_2_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__PredicateDefinition__FunctionalAssignment_0_0_0 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getPredicateDefinitionAccess().getFunctionalFunctionalKeyword_0_0_0_0()); } + ( + { before(grammarAccess.getPredicateDefinitionAccess().getFunctionalFunctionalKeyword_0_0_0_0()); } + Functional + { after(grammarAccess.getPredicateDefinitionAccess().getFunctionalFunctionalKeyword_0_0_0_0()); } + ) + { after(grammarAccess.getPredicateDefinitionAccess().getFunctionalFunctionalKeyword_0_0_0_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__PredicateDefinition__ErrorAssignment_0_0_1 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getPredicateDefinitionAccess().getErrorErrorKeyword_0_0_1_0()); } + ( + { before(grammarAccess.getPredicateDefinitionAccess().getErrorErrorKeyword_0_0_1_0()); } + Error + { after(grammarAccess.getPredicateDefinitionAccess().getErrorErrorKeyword_0_0_1_0()); } + ) + { after(grammarAccess.getPredicateDefinitionAccess().getErrorErrorKeyword_0_0_1_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__PredicateDefinition__ErrorAssignment_0_1_0 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getPredicateDefinitionAccess().getErrorErrorKeyword_0_1_0_0()); } + ( + { before(grammarAccess.getPredicateDefinitionAccess().getErrorErrorKeyword_0_1_0_0()); } + Error + { after(grammarAccess.getPredicateDefinitionAccess().getErrorErrorKeyword_0_1_0_0()); } + ) + { after(grammarAccess.getPredicateDefinitionAccess().getErrorErrorKeyword_0_1_0_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__PredicateDefinition__FunctionalAssignment_0_1_1 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getPredicateDefinitionAccess().getFunctionalFunctionalKeyword_0_1_1_0()); } + ( + { before(grammarAccess.getPredicateDefinitionAccess().getFunctionalFunctionalKeyword_0_1_1_0()); } + Functional + { after(grammarAccess.getPredicateDefinitionAccess().getFunctionalFunctionalKeyword_0_1_1_0()); } + ) + { after(grammarAccess.getPredicateDefinitionAccess().getFunctionalFunctionalKeyword_0_1_1_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__PredicateDefinition__HeadAssignment_1 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getPredicateDefinitionAccess().getHeadCallParserRuleCall_1_0()); } + ruleCall + { after(grammarAccess.getPredicateDefinitionAccess().getHeadCallParserRuleCall_1_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__PredicateDefinition__BodyAssignment_3 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getPredicateDefinitionAccess().getBodyExpressionParserRuleCall_3_0()); } + ruleExpression + { after(grammarAccess.getPredicateDefinitionAccess().getBodyExpressionParserRuleCall_3_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__UnnamedErrorPrediateDefinition__ArgumentListAssignment_1 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getArgumentListArgumentListParserRuleCall_1_0()); } + ruleArgumentList + { after(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getArgumentListArgumentListParserRuleCall_1_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__UnnamedErrorPrediateDefinition__BodyAssignment_3 @init { int stackSize = keepStackSize(); } : - rule__QualifiedName__Group_0__1__Impl + ( + { before(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getBodyExpressionParserRuleCall_3_0()); } + ruleExpression + { after(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getBodyExpressionParserRuleCall_3_0()); } + ) ; finally { restoreStackSize(stackSize); } -rule__QualifiedName__Group_0__1__Impl +rule__DefaultDefinition__HeadAssignment_1 @init { int stackSize = keepStackSize(); } : -( - { before(grammarAccess.getQualifiedNameAccess().getGroup_0_1()); } - (rule__QualifiedName__Group_0_1__0)* - { after(grammarAccess.getQualifiedNameAccess().getGroup_0_1()); } -) + ( + { before(grammarAccess.getDefaultDefinitionAccess().getHeadCallParserRuleCall_1_0()); } + ruleCall + { after(grammarAccess.getDefaultDefinitionAccess().getHeadCallParserRuleCall_1_0()); } + ) ; finally { restoreStackSize(stackSize); } - -rule__QualifiedName__Group_0_1__0 +rule__DefaultDefinition__RangeAssignment_3 @init { int stackSize = keepStackSize(); } : - rule__QualifiedName__Group_0_1__0__Impl - rule__QualifiedName__Group_0_1__1 + ( + { before(grammarAccess.getDefaultDefinitionAccess().getRangeExpressionParserRuleCall_3_0()); } + ruleExpression + { after(grammarAccess.getDefaultDefinitionAccess().getRangeExpressionParserRuleCall_3_0()); } + ) ; finally { restoreStackSize(stackSize); } -rule__QualifiedName__Group_0_1__0__Impl +rule__MetricDefinition__TypeAssignment_0 @init { int stackSize = keepStackSize(); } : -( - { before(grammarAccess.getQualifiedNameAccess().getFullStopKeyword_0_1_0()); } - FullStop - { after(grammarAccess.getQualifiedNameAccess().getFullStopKeyword_0_1_0()); } -) + ( + { before(grammarAccess.getMetricDefinitionAccess().getTypeNamedElementCrossReference_0_0()); } + ( + { before(grammarAccess.getMetricDefinitionAccess().getTypeNamedElementQualifiedNameParserRuleCall_0_0_1()); } + ruleQualifiedName + { after(grammarAccess.getMetricDefinitionAccess().getTypeNamedElementQualifiedNameParserRuleCall_0_0_1()); } + ) + { after(grammarAccess.getMetricDefinitionAccess().getTypeNamedElementCrossReference_0_0()); } + ) ; finally { restoreStackSize(stackSize); } -rule__QualifiedName__Group_0_1__1 +rule__MetricDefinition__HeadAssignment_1 @init { int stackSize = keepStackSize(); } : - rule__QualifiedName__Group_0_1__1__Impl + ( + { before(grammarAccess.getMetricDefinitionAccess().getHeadCallParserRuleCall_1_0()); } + ruleCall + { after(grammarAccess.getMetricDefinitionAccess().getHeadCallParserRuleCall_1_0()); } + ) ; finally { restoreStackSize(stackSize); } -rule__QualifiedName__Group_0_1__1__Impl +rule__MetricDefinition__BodyAssignment_3 @init { int stackSize = keepStackSize(); } : -( - { before(grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_0_1_1()); } - RULE_ID - { after(grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_0_1_1()); } -) + ( + { before(grammarAccess.getMetricDefinitionAccess().getBodyExpressionParserRuleCall_3_0()); } + ruleExpression + { after(grammarAccess.getMetricDefinitionAccess().getBodyExpressionParserRuleCall_3_0()); } + ) ; finally { restoreStackSize(stackSize); } - -rule__Problem__StatementsAssignment +rule__ExternPredicateDefinition__NameAssignment_1 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getProblemAccess().getStatementsStatementParserRuleCall_0()); } - ruleStatement - { after(grammarAccess.getProblemAccess().getStatementsStatementParserRuleCall_0()); } + { before(grammarAccess.getExternPredicateDefinitionAccess().getNameQualifiedNameParserRuleCall_1_0()); } + ruleQualifiedName + { after(grammarAccess.getExternPredicateDefinitionAccess().getNameQualifiedNameParserRuleCall_1_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__AssertionOrDefinition__RangeAssignment_1_0_1_1 +rule__ExternPredicateDefinition__ArgumentListAssignment_2 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getAssertionOrDefinitionAccess().getRangeExpressionParserRuleCall_1_0_1_1_0()); } - ruleExpression - { after(grammarAccess.getAssertionOrDefinitionAccess().getRangeExpressionParserRuleCall_1_0_1_1_0()); } + { before(grammarAccess.getExternPredicateDefinitionAccess().getArgumentListArgumentListParserRuleCall_2_0()); } + ruleArgumentList + { after(grammarAccess.getExternPredicateDefinitionAccess().getArgumentListArgumentListParserRuleCall_2_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__AssertionOrDefinition__BodyAssignment_1_1_2 +rule__ExternMetricDefinition__TypeAssignment_1 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getAssertionOrDefinitionAccess().getBodyExpressionParserRuleCall_1_1_2_0()); } - ruleExpression - { after(grammarAccess.getAssertionOrDefinitionAccess().getBodyExpressionParserRuleCall_1_1_2_0()); } + { before(grammarAccess.getExternMetricDefinitionAccess().getTypeNamedElementCrossReference_1_0()); } + ( + { before(grammarAccess.getExternMetricDefinitionAccess().getTypeNamedElementQualifiedNameParserRuleCall_1_0_1()); } + ruleQualifiedName + { after(grammarAccess.getExternMetricDefinitionAccess().getTypeNamedElementQualifiedNameParserRuleCall_1_0_1()); } + ) + { after(grammarAccess.getExternMetricDefinitionAccess().getTypeNamedElementCrossReference_1_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__AssertionOrDefinition__BodyAssignment_1_2_2 +rule__ExternMetricDefinition__NameAssignment_2 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getAssertionOrDefinitionAccess().getBodyExpressionParserRuleCall_1_2_2_0()); } - ruleExpression - { after(grammarAccess.getAssertionOrDefinitionAccess().getBodyExpressionParserRuleCall_1_2_2_0()); } + { before(grammarAccess.getExternMetricDefinitionAccess().getNameQualifiedNameParserRuleCall_2_0()); } + ruleQualifiedName + { after(grammarAccess.getExternMetricDefinitionAccess().getNameQualifiedNameParserRuleCall_2_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__PredicateDefinition__FunctionalAssignment_0_0_0 +rule__ExternMetricDefinition__ArgumentListAssignment_3 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getPredicateDefinitionAccess().getFunctionalFunctionalKeyword_0_0_0_0()); } - ( - { before(grammarAccess.getPredicateDefinitionAccess().getFunctionalFunctionalKeyword_0_0_0_0()); } - Functional - { after(grammarAccess.getPredicateDefinitionAccess().getFunctionalFunctionalKeyword_0_0_0_0()); } - ) - { after(grammarAccess.getPredicateDefinitionAccess().getFunctionalFunctionalKeyword_0_0_0_0()); } + { before(grammarAccess.getExternMetricDefinitionAccess().getArgumentListArgumentListParserRuleCall_3_0()); } + ruleArgumentList + { after(grammarAccess.getExternMetricDefinitionAccess().getArgumentListArgumentListParserRuleCall_3_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__PredicateDefinition__ErrorAssignment_0_0_1 +rule__ExternAggregatorDefinition__TypeAssignment_1 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getPredicateDefinitionAccess().getErrorErrorKeyword_0_0_1_0()); } + { before(grammarAccess.getExternAggregatorDefinitionAccess().getTypeNamedElementCrossReference_1_0()); } ( - { before(grammarAccess.getPredicateDefinitionAccess().getErrorErrorKeyword_0_0_1_0()); } - Error - { after(grammarAccess.getPredicateDefinitionAccess().getErrorErrorKeyword_0_0_1_0()); } + { before(grammarAccess.getExternAggregatorDefinitionAccess().getTypeNamedElementQualifiedNameParserRuleCall_1_0_1()); } + ruleQualifiedName + { after(grammarAccess.getExternAggregatorDefinitionAccess().getTypeNamedElementQualifiedNameParserRuleCall_1_0_1()); } ) - { after(grammarAccess.getPredicateDefinitionAccess().getErrorErrorKeyword_0_0_1_0()); } + { after(grammarAccess.getExternAggregatorDefinitionAccess().getTypeNamedElementCrossReference_1_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__PredicateDefinition__ErrorAssignment_0_1_0 +rule__ExternAggregatorDefinition__NameAssignment_2 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getPredicateDefinitionAccess().getErrorErrorKeyword_0_1_0_0()); } - ( - { before(grammarAccess.getPredicateDefinitionAccess().getErrorErrorKeyword_0_1_0_0()); } - Error - { after(grammarAccess.getPredicateDefinitionAccess().getErrorErrorKeyword_0_1_0_0()); } - ) - { after(grammarAccess.getPredicateDefinitionAccess().getErrorErrorKeyword_0_1_0_0()); } + { before(grammarAccess.getExternAggregatorDefinitionAccess().getNameQualifiedNameParserRuleCall_2_0()); } + ruleQualifiedName + { after(grammarAccess.getExternAggregatorDefinitionAccess().getNameQualifiedNameParserRuleCall_2_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__PredicateDefinition__FunctionalAssignment_0_1_1 +rule__ExternAggregatorDefinition__InputTypeAssignment_4 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getPredicateDefinitionAccess().getFunctionalFunctionalKeyword_0_1_1_0()); } + { before(grammarAccess.getExternAggregatorDefinitionAccess().getInputTypeNamedElementCrossReference_4_0()); } ( - { before(grammarAccess.getPredicateDefinitionAccess().getFunctionalFunctionalKeyword_0_1_1_0()); } - Functional - { after(grammarAccess.getPredicateDefinitionAccess().getFunctionalFunctionalKeyword_0_1_1_0()); } + { before(grammarAccess.getExternAggregatorDefinitionAccess().getInputTypeNamedElementQualifiedNameParserRuleCall_4_0_1()); } + ruleQualifiedName + { after(grammarAccess.getExternAggregatorDefinitionAccess().getInputTypeNamedElementQualifiedNameParserRuleCall_4_0_1()); } ) - { after(grammarAccess.getPredicateDefinitionAccess().getFunctionalFunctionalKeyword_0_1_1_0()); } + { after(grammarAccess.getExternAggregatorDefinitionAccess().getInputTypeNamedElementCrossReference_4_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__PredicateDefinition__HeadAssignment_1 +rule__ExternDatatypeDefinition__NameAssignment_2 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getPredicateDefinitionAccess().getHeadCallParserRuleCall_1_0()); } - ruleCall - { after(grammarAccess.getPredicateDefinitionAccess().getHeadCallParserRuleCall_1_0()); } + { before(grammarAccess.getExternDatatypeDefinitionAccess().getNameQualifiedNameParserRuleCall_2_0()); } + ruleQualifiedName + { after(grammarAccess.getExternDatatypeDefinitionAccess().getNameQualifiedNameParserRuleCall_2_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__PredicateDefinition__BodyAssignment_3 +rule__ExternDatatypeDefinition__SupertypesAssignment_3_1 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getPredicateDefinitionAccess().getBodyExpressionParserRuleCall_3_0()); } - ruleExpression - { after(grammarAccess.getPredicateDefinitionAccess().getBodyExpressionParserRuleCall_3_0()); } + { before(grammarAccess.getExternDatatypeDefinitionAccess().getSupertypesNamedElementCrossReference_3_1_0()); } + ( + { before(grammarAccess.getExternDatatypeDefinitionAccess().getSupertypesNamedElementQualifiedNameParserRuleCall_3_1_0_1()); } + ruleQualifiedName + { after(grammarAccess.getExternDatatypeDefinitionAccess().getSupertypesNamedElementQualifiedNameParserRuleCall_3_1_0_1()); } + ) + { after(grammarAccess.getExternDatatypeDefinitionAccess().getSupertypesNamedElementCrossReference_3_1_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__UnnamedErrorPrediateDefinition__ArgumentListAssignment_1 +rule__ExternDatatypeDefinition__SupertypesAssignment_3_2_1 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getArgumentListArgumentListParserRuleCall_1_0()); } - ruleArgumentList - { after(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getArgumentListArgumentListParserRuleCall_1_0()); } + { before(grammarAccess.getExternDatatypeDefinitionAccess().getSupertypesNamedElementCrossReference_3_2_1_0()); } + ( + { before(grammarAccess.getExternDatatypeDefinitionAccess().getSupertypesNamedElementQualifiedNameParserRuleCall_3_2_1_0_1()); } + ruleQualifiedName + { after(grammarAccess.getExternDatatypeDefinitionAccess().getSupertypesNamedElementQualifiedNameParserRuleCall_3_2_1_0_1()); } + ) + { after(grammarAccess.getExternDatatypeDefinitionAccess().getSupertypesNamedElementCrossReference_3_2_1_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__UnnamedErrorPrediateDefinition__BodyAssignment_3 +rule__Variable__TypeAssignment_0 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getBodyExpressionParserRuleCall_3_0()); } - ruleExpression - { after(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getBodyExpressionParserRuleCall_3_0()); } + { before(grammarAccess.getVariableAccess().getTypeNamedElementCrossReference_0_0()); } + ( + { before(grammarAccess.getVariableAccess().getTypeNamedElementQualifiedNameParserRuleCall_0_0_1()); } + ruleQualifiedName + { after(grammarAccess.getVariableAccess().getTypeNamedElementQualifiedNameParserRuleCall_0_0_1()); } + ) + { after(grammarAccess.getVariableAccess().getTypeNamedElementCrossReference_0_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__DefaultDefinition__HeadAssignment_1 +rule__Variable__NameAssignment_1 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getDefaultDefinitionAccess().getHeadCallParserRuleCall_1_0()); } - ruleCall - { after(grammarAccess.getDefaultDefinitionAccess().getHeadCallParserRuleCall_1_0()); } + { before(grammarAccess.getVariableAccess().getNameIDTerminalRuleCall_1_0()); } + RULE_ID + { after(grammarAccess.getVariableAccess().getNameIDTerminalRuleCall_1_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__DefaultDefinition__RangeAssignment_3 +rule__IfElse__ConditionAssignment_1 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getDefaultDefinitionAccess().getRangeExpressionParserRuleCall_3_0()); } + { before(grammarAccess.getIfElseAccess().getConditionExpressionParserRuleCall_1_0()); } ruleExpression - { after(grammarAccess.getDefaultDefinitionAccess().getRangeExpressionParserRuleCall_3_0()); } + { after(grammarAccess.getIfElseAccess().getConditionExpressionParserRuleCall_1_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__ExternPredicateDefinition__HeadAssignment_1 +rule__IfElse__ThenAssignment_3 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getExternPredicateDefinitionAccess().getHeadCallParserRuleCall_1_0()); } - ruleCall - { after(grammarAccess.getExternPredicateDefinitionAccess().getHeadCallParserRuleCall_1_0()); } + { before(grammarAccess.getIfElseAccess().getThenExpressionParserRuleCall_3_0()); } + ruleExpression + { after(grammarAccess.getIfElseAccess().getThenExpressionParserRuleCall_3_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__MetricDefinition__TypeAssignment_0 +rule__IfElse__ElseAssignment_5 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getMetricDefinitionAccess().getTypeMetricTypeEnumRuleCall_0_0()); } - ruleMetricType - { after(grammarAccess.getMetricDefinitionAccess().getTypeMetricTypeEnumRuleCall_0_0()); } + { before(grammarAccess.getIfElseAccess().getElseExpressionParserRuleCall_5_0()); } + ruleExpression + { after(grammarAccess.getIfElseAccess().getElseExpressionParserRuleCall_5_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__MetricDefinition__HeadAssignment_1 +rule__Let__BindingsAssignment_1 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getMetricDefinitionAccess().getHeadExpressionParserRuleCall_1_0()); } - ruleExpression - { after(grammarAccess.getMetricDefinitionAccess().getHeadExpressionParserRuleCall_1_0()); } + { before(grammarAccess.getLetAccess().getBindingsLetBindingParserRuleCall_1_0()); } + ruleLetBinding + { after(grammarAccess.getLetAccess().getBindingsLetBindingParserRuleCall_1_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__MetricDefinition__BodyAssignment_3 +rule__Let__BindingsAssignment_2_1 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getMetricDefinitionAccess().getBodyExpressionParserRuleCall_3_0()); } - ruleExpression - { after(grammarAccess.getMetricDefinitionAccess().getBodyExpressionParserRuleCall_3_0()); } + { before(grammarAccess.getLetAccess().getBindingsLetBindingParserRuleCall_2_1_0()); } + ruleLetBinding + { after(grammarAccess.getLetAccess().getBindingsLetBindingParserRuleCall_2_1_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__ExternMetricDefinition__TypeAssignment_1 +rule__Let__BodyAssignment_4 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getExternMetricDefinitionAccess().getTypeMetricTypeEnumRuleCall_1_0()); } - ruleMetricType - { after(grammarAccess.getExternMetricDefinitionAccess().getTypeMetricTypeEnumRuleCall_1_0()); } + { before(grammarAccess.getLetAccess().getBodyExpressionParserRuleCall_4_0()); } + ruleExpression + { after(grammarAccess.getLetAccess().getBodyExpressionParserRuleCall_4_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__ExternMetricDefinition__HeadAssignment_2 +rule__LetBinding__VariableAssignment_0 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getExternMetricDefinitionAccess().getHeadCallParserRuleCall_2_0()); } - ruleCall - { after(grammarAccess.getExternMetricDefinitionAccess().getHeadCallParserRuleCall_2_0()); } + { before(grammarAccess.getLetBindingAccess().getVariableVariableParserRuleCall_0_0()); } + ruleVariable + { after(grammarAccess.getLetBindingAccess().getVariableVariableParserRuleCall_0_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__IfElse__ConditionAssignment_1 +rule__LetBinding__ValueAssignment_2 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getIfElseAccess().getConditionExpressionParserRuleCall_1_0()); } - ruleExpression - { after(grammarAccess.getIfElseAccess().getConditionExpressionParserRuleCall_1_0()); } + { before(grammarAccess.getLetBindingAccess().getValueAdditiveExpressionParserRuleCall_2_0()); } + ruleAdditiveExpression + { after(grammarAccess.getLetBindingAccess().getValueAdditiveExpressionParserRuleCall_2_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__IfElse__ThenAssignment_3 +rule__ImplicationExpression__OpAssignment_1_1 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getIfElseAccess().getThenExpressionParserRuleCall_3_0()); } - ruleExpression - { after(grammarAccess.getIfElseAccess().getThenExpressionParserRuleCall_3_0()); } + { before(grammarAccess.getImplicationExpressionAccess().getOpImplicationOperatorEnumRuleCall_1_1_0()); } + ruleImplicationOperator + { after(grammarAccess.getImplicationExpressionAccess().getOpImplicationOperatorEnumRuleCall_1_1_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__IfElse__ElseAssignment_5 +rule__ImplicationExpression__RightAssignment_1_2 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getIfElseAccess().getElseExpressionParserRuleCall_5_0()); } - ruleExpression - { after(grammarAccess.getIfElseAccess().getElseExpressionParserRuleCall_5_0()); } + { before(grammarAccess.getImplicationExpressionAccess().getRightImplicationExpressionParserRuleCall_1_2_0()); } + ruleImplicationExpression + { after(grammarAccess.getImplicationExpressionAccess().getRightImplicationExpressionParserRuleCall_1_2_0()); } ) ; finally { @@ -8186,9 +9985,28 @@ rule__ExponentialExpression__RightAssignment_1_2 } : ( - { before(grammarAccess.getExponentialExpressionAccess().getRightExponentialExpressionParserRuleCall_1_2_0()); } - ruleExponentialExpression - { after(grammarAccess.getExponentialExpressionAccess().getRightExponentialExpressionParserRuleCall_1_2_0()); } + { before(grammarAccess.getExponentialExpressionAccess().getRightCastExpressionParserRuleCall_1_2_0()); } + ruleCastExpression + { after(grammarAccess.getExponentialExpressionAccess().getRightCastExpressionParserRuleCall_1_2_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__CastExpression__TypeAssignment_1_2 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getCastExpressionAccess().getTypeNamedElementCrossReference_1_2_0()); } + ( + { before(grammarAccess.getCastExpressionAccess().getTypeNamedElementQualifiedNameParserRuleCall_1_2_0_1()); } + ruleQualifiedName + { after(grammarAccess.getCastExpressionAccess().getTypeNamedElementQualifiedNameParserRuleCall_1_2_0_1()); } + ) + { after(grammarAccess.getCastExpressionAccess().getTypeNamedElementCrossReference_1_2_0()); } ) ; finally { @@ -8225,15 +10043,75 @@ finally { restoreStackSize(stackSize); } -rule__Count__BodyAssignment_2 +rule__LocalVariables__VariablesAssignment_2_0 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getLocalVariablesAccess().getVariablesVariableParserRuleCall_2_0_0()); } + ruleVariable + { after(grammarAccess.getLocalVariablesAccess().getVariablesVariableParserRuleCall_2_0_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__LocalVariables__VariablesAssignment_2_1_1 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getLocalVariablesAccess().getVariablesVariableParserRuleCall_2_1_1_0()); } + ruleVariable + { after(grammarAccess.getLocalVariablesAccess().getVariablesVariableParserRuleCall_2_1_1_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__QuantifiedExpression__QuantifierAssignment_0 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getQuantifiedExpressionAccess().getQuantifierQuantifierEnumRuleCall_0_0()); } + ruleQuantifier + { after(grammarAccess.getQuantifiedExpressionAccess().getQuantifierQuantifierEnumRuleCall_0_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__QuantifiedExpression__LocalVariablesAssignment_1 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getQuantifiedExpressionAccess().getLocalVariablesLocalVariablesParserRuleCall_1_0()); } + ruleLocalVariables + { after(grammarAccess.getQuantifiedExpressionAccess().getLocalVariablesLocalVariablesParserRuleCall_1_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__QuantifiedExpression__BodyAssignment_3 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getCountAccess().getBodyExpressionParserRuleCall_2_0()); } + { before(grammarAccess.getQuantifiedExpressionAccess().getBodyExpressionParserRuleCall_3_0()); } ruleExpression - { after(grammarAccess.getCountAccess().getBodyExpressionParserRuleCall_2_0()); } + { after(grammarAccess.getQuantifiedExpressionAccess().getBodyExpressionParserRuleCall_3_0()); } ) ; finally { @@ -8246,39 +10124,58 @@ rule__Aggregation__OpAssignment_0 } : ( - { before(grammarAccess.getAggregationAccess().getOpAggregationOpEnumRuleCall_0_0()); } - ruleAggregationOp - { after(grammarAccess.getAggregationAccess().getOpAggregationOpEnumRuleCall_0_0()); } + { before(grammarAccess.getAggregationAccess().getOpNamedElementCrossReference_0_0()); } + ( + { before(grammarAccess.getAggregationAccess().getOpNamedElementQualifiedNameParserRuleCall_0_0_1()); } + ruleQualifiedName + { after(grammarAccess.getAggregationAccess().getOpNamedElementQualifiedNameParserRuleCall_0_0_1()); } + ) + { after(grammarAccess.getAggregationAccess().getOpNamedElementCrossReference_0_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__Aggregation__LocalVariablesAssignment_1 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getAggregationAccess().getLocalVariablesLocalVariablesParserRuleCall_1_0()); } + ruleLocalVariables + { after(grammarAccess.getAggregationAccess().getLocalVariablesLocalVariablesParserRuleCall_1_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__Aggregation__BodyAssignment_2 +rule__Aggregation__BodyAssignment_3 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getAggregationAccess().getBodyExpressionParserRuleCall_2_0()); } + { before(grammarAccess.getAggregationAccess().getBodyExpressionParserRuleCall_3_0()); } ruleExpression - { after(grammarAccess.getAggregationAccess().getBodyExpressionParserRuleCall_2_0()); } + { after(grammarAccess.getAggregationAccess().getBodyExpressionParserRuleCall_3_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__Aggregation__ConditionAssignment_4 +rule__Aggregation__ConditionAssignment_4_1 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getAggregationAccess().getConditionExpressionParserRuleCall_4_0()); } + { before(grammarAccess.getAggregationAccess().getConditionExpressionParserRuleCall_4_1_0()); } ruleExpression - { after(grammarAccess.getAggregationAccess().getConditionExpressionParserRuleCall_4_0()); } + { after(grammarAccess.getAggregationAccess().getConditionExpressionParserRuleCall_4_1_0()); } ) ; finally { diff --git a/Application/org.eclipse.viatra.solver.language.ide/src-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/internal/InternalSolverLanguageParser.java b/Application/org.eclipse.viatra.solver.language.ide/src-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/internal/InternalSolverLanguageParser.java index 8664bb6d..6af30519 100644 --- a/Application/org.eclipse.viatra.solver.language.ide/src-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/internal/InternalSolverLanguageParser.java +++ b/Application/org.eclipse.viatra.solver.language.ide/src-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/internal/InternalSolverLanguageParser.java @@ -24,92 +24,79 @@ import java.util.ArrayList; @SuppressWarnings("all") public class InternalSolverLanguageParser extends AbstractInternalContentAssistParser { public static final String[] tokenNames = new String[] { - "", "", "", "", "GREATER_EQ", "Functional", "Abstract", "Contains", "Maximize", "Minimize", "Opposite", "GREATER", "LESS_EQ", "Current", "Default", "Extends", "Unknown", "NOT_EQ", "Extern", "Class", "Count", "Empty", "Error", "False", "Scope", "LESS", "Else", "Must", "Only", "Prod", "Real", "Then", "True", "ADD", "DIV", "MUL", "POW", "SUB", "Avg", "Inf", "Int", "Max", "May", "Min", "Sum", "ExclamationMarkEqualsSign", "HyphenMinusGreaterThanSign", "FullStopFullStop", "ColonHyphenMinus", "LessThanSignEqualsSign", "EqualsSignEqualsSign", "GreaterThanSignEqualsSign", "EQ", "IN", "If", "In", "ExclamationMark", "LeftParenthesis", "RightParenthesis", "Asterisk", "PlusSign", "Comma", "HyphenMinus", "FullStop", "Solidus", "Colon", "Semicolon", "LessThanSign", "EqualsSign", "GreaterThanSign", "LeftSquareBracket", "RightSquareBracket", "CircumflexAccent", "LeftCurlyBracket", "VerticalLine", "RightCurlyBracket", "RULE_STRING", "RULE_QUOTED_ID", "RULE_SL_COMMENT", "RULE_TRANSITIVE_CLOSURE", "RULE_REFLEXIVE_TRANSITIVE_CLOSURE", "RULE_FULL_STOP", "RULE_ID", "RULE_INT", "RULE_ML_COMMENT", "RULE_WS", "RULE_ANY_OTHER" + "", "", "", "", "Functional", "Abstract", "Contains", "Datatype", "Maximize", "Minimize", "Opposite", "Current", "Default", "Extends", "Unknown", "Exists", "Extern", "Forall", "Class", "Count", "Empty", "Error", "False", "Scope", "Else", "Must", "Then", "True", "FullStopFullStopFullStop", "Inf", "Let", "May", "ExclamationMarkEqualsSign", "HyphenMinusGreaterThanSign", "FullStopFullStop", "ColonHyphenMinus", "LessThanSignEqualsSign", "EqualsSignEqualsSign", "EqualsSignGreaterThanSign", "GreaterThanSignEqualsSign", "As", "If", "In", "ExclamationMark", "LeftParenthesis", "RightParenthesis", "Asterisk", "PlusSign", "Comma", "HyphenMinus", "FullStop", "Solidus", "Colon", "Semicolon", "LessThanSign", "EqualsSign", "GreaterThanSign", "LeftSquareBracket", "RightSquareBracket", "CircumflexAccent", "LeftCurlyBracket", "VerticalLine", "RightCurlyBracket", "RULE_STRING", "RULE_QUOTED_ID", "RULE_SL_COMMENT", "RULE_TRANSITIVE_CLOSURE", "RULE_REFLEXIVE_TRANSITIVE_CLOSURE", "RULE_FULL_STOP", "RULE_ID", "RULE_INT", "RULE_ML_COMMENT", "RULE_WS", "RULE_ANY_OTHER" }; - public static final int ADD=33; - public static final int True=32; - public static final int GREATER_EQ=4; - public static final int Count=20; - public static final int False=23; - public static final int Must=27; - public static final int LessThanSign=67; - public static final int LeftParenthesis=57; - public static final int Unknown=16; - public static final int RULE_REFLEXIVE_TRANSITIVE_CLOSURE=80; - public static final int FullStopFullStop=47; - public static final int Real=30; - public static final int Then=31; - public static final int Extends=15; - public static final int RightSquareBracket=71; - public static final int ExclamationMark=56; + public static final int EqualsSignGreaterThanSign=38; + public static final int True=27; + public static final int Count=19; + public static final int False=22; + public static final int Must=25; + public static final int FullStopFullStopFullStop=28; + public static final int LessThanSign=54; + public static final int Datatype=7; + public static final int LeftParenthesis=44; + public static final int Unknown=14; + public static final int RULE_REFLEXIVE_TRANSITIVE_CLOSURE=67; + public static final int FullStopFullStop=34; + public static final int Then=26; + public static final int Extends=13; + public static final int Forall=17; + public static final int RightSquareBracket=58; + public static final int ExclamationMark=43; public static final int Opposite=10; - public static final int SUB=37; - public static final int GreaterThanSign=69; - public static final int NOT_EQ=17; - public static final int RULE_ID=82; - public static final int MUL=35; - public static final int IN=53; - public static final int RULE_QUOTED_ID=77; - public static final int RightParenthesis=58; - public static final int Sum=44; - public static final int EQ=52; - public static final int GreaterThanSignEqualsSign=51; - public static final int Functional=5; - public static final int EqualsSignEqualsSign=50; - public static final int Avg=38; - public static final int Min=43; - public static final int VerticalLine=74; - public static final int PlusSign=60; - public static final int RULE_INT=83; - public static final int Contains=7; - public static final int RULE_ML_COMMENT=84; - public static final int POW=36; - public static final int RULE_TRANSITIVE_CLOSURE=79; - public static final int Class=19; - public static final int LESS=25; - public static final int LeftSquareBracket=70; - public static final int RULE_FULL_STOP=81; - public static final int Current=13; - public static final int If=54; - public static final int Inf=39; - public static final int LESS_EQ=12; - public static final int May=42; - public static final int Max=41; - public static final int In=55; - public static final int RULE_STRING=76; - public static final int Int=40; - public static final int Extern=18; - public static final int RULE_SL_COMMENT=78; - public static final int Prod=29; - public static final int Comma=61; - public static final int EqualsSign=68; - public static final int Empty=21; - public static final int HyphenMinus=62; + public static final int GreaterThanSign=56; + public static final int RULE_ID=69; + public static final int RULE_QUOTED_ID=64; + public static final int RightParenthesis=45; + public static final int GreaterThanSignEqualsSign=39; + public static final int Functional=4; + public static final int EqualsSignEqualsSign=37; + public static final int VerticalLine=61; + public static final int PlusSign=47; + public static final int RULE_INT=70; + public static final int Contains=6; + public static final int RULE_ML_COMMENT=71; + public static final int RULE_TRANSITIVE_CLOSURE=66; + public static final int Class=18; + public static final int LeftSquareBracket=57; + public static final int RULE_FULL_STOP=68; + public static final int Current=11; + public static final int If=41; + public static final int Inf=29; + public static final int May=31; + public static final int In=42; + public static final int RULE_STRING=63; + public static final int Extern=16; + public static final int RULE_SL_COMMENT=65; + public static final int Comma=48; + public static final int EqualsSign=55; + public static final int Empty=20; + public static final int As=40; + public static final int HyphenMinus=49; public static final int Maximize=8; - public static final int LessThanSignEqualsSign=49; - public static final int Solidus=64; - public static final int Colon=65; - public static final int RightCurlyBracket=75; + public static final int LessThanSignEqualsSign=36; + public static final int Solidus=51; + public static final int Colon=52; + public static final int RightCurlyBracket=62; public static final int EOF=-1; - public static final int Asterisk=59; - public static final int FullStop=63; - public static final int RULE_WS=85; - public static final int Abstract=6; + public static final int Asterisk=46; + public static final int FullStop=50; + public static final int RULE_WS=72; + public static final int Abstract=5; public static final int Minimize=9; - public static final int GREATER=11; - public static final int LeftCurlyBracket=73; - public static final int Error=22; - public static final int Only=28; - public static final int RULE_ANY_OTHER=86; - public static final int Default=14; - public static final int ColonHyphenMinus=48; - public static final int CircumflexAccent=72; - public static final int DIV=34; - public static final int Semicolon=66; - public static final int Scope=24; - public static final int Else=26; - public static final int ExclamationMarkEqualsSign=45; - public static final int HyphenMinusGreaterThanSign=46; + public static final int LeftCurlyBracket=60; + public static final int Error=21; + public static final int RULE_ANY_OTHER=73; + public static final int Default=12; + public static final int ColonHyphenMinus=35; + public static final int CircumflexAccent=59; + public static final int Semicolon=53; + public static final int Scope=23; + public static final int Exists=15; + public static final int Else=24; + public static final int Let=30; + public static final int ExclamationMarkEqualsSign=32; + public static final int HyphenMinusGreaterThanSign=33; // delegates // delegators @@ -158,29 +145,17 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP tokenNameToValue.put("ColonHyphenMinus", "':-'"); tokenNameToValue.put("LessThanSignEqualsSign", "'<='"); tokenNameToValue.put("EqualsSignEqualsSign", "'=='"); + tokenNameToValue.put("EqualsSignGreaterThanSign", "'=>'"); tokenNameToValue.put("GreaterThanSignEqualsSign", "'>='"); - tokenNameToValue.put("EQ", "'EQ'"); - tokenNameToValue.put("IN", "'IN'"); + tokenNameToValue.put("As", "'as'"); tokenNameToValue.put("If", "'if'"); tokenNameToValue.put("In", "'in'"); - tokenNameToValue.put("ADD", "'ADD'"); - tokenNameToValue.put("DIV", "'DIV'"); - tokenNameToValue.put("MUL", "'MUL'"); - tokenNameToValue.put("POW", "'POW'"); - tokenNameToValue.put("SUB", "'SUB'"); - tokenNameToValue.put("Avg", "'avg'"); + tokenNameToValue.put("FullStopFullStopFullStop", "'...'"); tokenNameToValue.put("Inf", "'inf'"); - tokenNameToValue.put("Int", "'int'"); - tokenNameToValue.put("Max", "'max'"); + tokenNameToValue.put("Let", "'let'"); tokenNameToValue.put("May", "'may'"); - tokenNameToValue.put("Min", "'min'"); - tokenNameToValue.put("Sum", "'sum'"); - tokenNameToValue.put("LESS", "'LESS'"); tokenNameToValue.put("Else", "'else'"); tokenNameToValue.put("Must", "'must'"); - tokenNameToValue.put("Only", "'only'"); - tokenNameToValue.put("Prod", "'prod'"); - tokenNameToValue.put("Real", "'real'"); tokenNameToValue.put("Then", "'then'"); tokenNameToValue.put("True", "'true'"); tokenNameToValue.put("Class", "'class'"); @@ -189,20 +164,19 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP tokenNameToValue.put("Error", "'error'"); tokenNameToValue.put("False", "'false'"); tokenNameToValue.put("Scope", "'scope'"); - tokenNameToValue.put("NOT_EQ", "'NOT_EQ'"); + tokenNameToValue.put("Exists", "'exists'"); tokenNameToValue.put("Extern", "'extern'"); - tokenNameToValue.put("GREATER", "'GREATER'"); - tokenNameToValue.put("LESS_EQ", "'LESS_EQ'"); + tokenNameToValue.put("Forall", "'forall'"); tokenNameToValue.put("Current", "'current'"); tokenNameToValue.put("Default", "'default'"); tokenNameToValue.put("Extends", "'extends'"); tokenNameToValue.put("Unknown", "'unknown'"); tokenNameToValue.put("Abstract", "'abstract'"); tokenNameToValue.put("Contains", "'contains'"); + tokenNameToValue.put("Datatype", "'datatype'"); tokenNameToValue.put("Maximize", "'maximize'"); tokenNameToValue.put("Minimize", "'minimize'"); tokenNameToValue.put("Opposite", "'opposite'"); - tokenNameToValue.put("GREATER_EQ", "'GREATER_EQ'"); tokenNameToValue.put("Functional", "'functional'"); } @@ -226,11 +200,11 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR start "entryRuleProblem" - // InternalSolverLanguageParser.g:127:1: entryRuleProblem : ruleProblem EOF ; + // InternalSolverLanguageParser.g:114:1: entryRuleProblem : ruleProblem EOF ; public final void entryRuleProblem() throws RecognitionException { try { - // InternalSolverLanguageParser.g:128:1: ( ruleProblem EOF ) - // InternalSolverLanguageParser.g:129:1: ruleProblem EOF + // InternalSolverLanguageParser.g:115:1: ( ruleProblem EOF ) + // InternalSolverLanguageParser.g:116:1: ruleProblem EOF { before(grammarAccess.getProblemRule()); pushFollow(FOLLOW_1); @@ -256,33 +230,33 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR start "ruleProblem" - // InternalSolverLanguageParser.g:136:1: ruleProblem : ( ( rule__Problem__StatementsAssignment )* ) ; + // InternalSolverLanguageParser.g:123:1: ruleProblem : ( ( rule__Problem__StatementsAssignment )* ) ; public final void ruleProblem() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:140:2: ( ( ( rule__Problem__StatementsAssignment )* ) ) - // InternalSolverLanguageParser.g:141:2: ( ( rule__Problem__StatementsAssignment )* ) + // InternalSolverLanguageParser.g:127:2: ( ( ( rule__Problem__StatementsAssignment )* ) ) + // InternalSolverLanguageParser.g:128:2: ( ( rule__Problem__StatementsAssignment )* ) { - // InternalSolverLanguageParser.g:141:2: ( ( rule__Problem__StatementsAssignment )* ) - // InternalSolverLanguageParser.g:142:3: ( rule__Problem__StatementsAssignment )* + // InternalSolverLanguageParser.g:128:2: ( ( rule__Problem__StatementsAssignment )* ) + // InternalSolverLanguageParser.g:129:3: ( rule__Problem__StatementsAssignment )* { before(grammarAccess.getProblemAccess().getStatementsAssignment()); - // InternalSolverLanguageParser.g:143:3: ( rule__Problem__StatementsAssignment )* + // InternalSolverLanguageParser.g:130:3: ( rule__Problem__StatementsAssignment )* loop1: do { int alt1=2; int LA1_0 = input.LA(1); - if ( ((LA1_0>=Functional && LA1_0<=Abstract)||(LA1_0>=Maximize && LA1_0<=Minimize)||(LA1_0>=Current && LA1_0<=Default)||LA1_0==Unknown||(LA1_0>=Extern && LA1_0<=False)||LA1_0==Scope||(LA1_0>=Must && LA1_0<=Real)||LA1_0==True||(LA1_0>=Avg && LA1_0<=Sum)||LA1_0==If||(LA1_0>=ExclamationMark && LA1_0<=LeftParenthesis)||LA1_0==PlusSign||LA1_0==HyphenMinus||LA1_0==LeftSquareBracket||(LA1_0>=RULE_STRING && LA1_0<=RULE_QUOTED_ID)||(LA1_0>=RULE_ID && LA1_0<=RULE_INT)) ) { + if ( ((LA1_0>=Functional && LA1_0<=Abstract)||(LA1_0>=Maximize && LA1_0<=Minimize)||(LA1_0>=Current && LA1_0<=Default)||(LA1_0>=Unknown && LA1_0<=False)||LA1_0==Scope||LA1_0==Must||LA1_0==True||(LA1_0>=Inf && LA1_0<=May)||LA1_0==If||(LA1_0>=ExclamationMark && LA1_0<=LeftParenthesis)||LA1_0==PlusSign||LA1_0==HyphenMinus||LA1_0==LeftSquareBracket||(LA1_0>=RULE_STRING && LA1_0<=RULE_QUOTED_ID)||(LA1_0>=RULE_ID && LA1_0<=RULE_INT)) ) { alt1=1; } switch (alt1) { case 1 : - // InternalSolverLanguageParser.g:143:4: rule__Problem__StatementsAssignment + // InternalSolverLanguageParser.g:130:4: rule__Problem__StatementsAssignment { pushFollow(FOLLOW_3); rule__Problem__StatementsAssignment(); @@ -321,11 +295,11 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR start "entryRuleStatement" - // InternalSolverLanguageParser.g:152:1: entryRuleStatement : ruleStatement EOF ; + // InternalSolverLanguageParser.g:139:1: entryRuleStatement : ruleStatement EOF ; public final void entryRuleStatement() throws RecognitionException { try { - // InternalSolverLanguageParser.g:153:1: ( ruleStatement EOF ) - // InternalSolverLanguageParser.g:154:1: ruleStatement EOF + // InternalSolverLanguageParser.g:140:1: ( ruleStatement EOF ) + // InternalSolverLanguageParser.g:141:1: ruleStatement EOF { before(grammarAccess.getStatementRule()); pushFollow(FOLLOW_1); @@ -351,21 +325,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR start "ruleStatement" - // InternalSolverLanguageParser.g:161:1: ruleStatement : ( ( rule__Statement__Group__0 ) ) ; + // InternalSolverLanguageParser.g:148:1: ruleStatement : ( ( rule__Statement__Group__0 ) ) ; public final void ruleStatement() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:165:2: ( ( ( rule__Statement__Group__0 ) ) ) - // InternalSolverLanguageParser.g:166:2: ( ( rule__Statement__Group__0 ) ) + // InternalSolverLanguageParser.g:152:2: ( ( ( rule__Statement__Group__0 ) ) ) + // InternalSolverLanguageParser.g:153:2: ( ( rule__Statement__Group__0 ) ) { - // InternalSolverLanguageParser.g:166:2: ( ( rule__Statement__Group__0 ) ) - // InternalSolverLanguageParser.g:167:3: ( rule__Statement__Group__0 ) + // InternalSolverLanguageParser.g:153:2: ( ( rule__Statement__Group__0 ) ) + // InternalSolverLanguageParser.g:154:3: ( rule__Statement__Group__0 ) { before(grammarAccess.getStatementAccess().getGroup()); - // InternalSolverLanguageParser.g:168:3: ( rule__Statement__Group__0 ) - // InternalSolverLanguageParser.g:168:4: rule__Statement__Group__0 + // InternalSolverLanguageParser.g:155:3: ( rule__Statement__Group__0 ) + // InternalSolverLanguageParser.g:155:4: rule__Statement__Group__0 { pushFollow(FOLLOW_2); rule__Statement__Group__0(); @@ -398,11 +372,11 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR start "entryRuleAssertionOrDefinition" - // InternalSolverLanguageParser.g:177:1: entryRuleAssertionOrDefinition : ruleAssertionOrDefinition EOF ; + // InternalSolverLanguageParser.g:164:1: entryRuleAssertionOrDefinition : ruleAssertionOrDefinition EOF ; public final void entryRuleAssertionOrDefinition() throws RecognitionException { try { - // InternalSolverLanguageParser.g:178:1: ( ruleAssertionOrDefinition EOF ) - // InternalSolverLanguageParser.g:179:1: ruleAssertionOrDefinition EOF + // InternalSolverLanguageParser.g:165:1: ( ruleAssertionOrDefinition EOF ) + // InternalSolverLanguageParser.g:166:1: ruleAssertionOrDefinition EOF { before(grammarAccess.getAssertionOrDefinitionRule()); pushFollow(FOLLOW_1); @@ -428,21 +402,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR start "ruleAssertionOrDefinition" - // InternalSolverLanguageParser.g:186:1: ruleAssertionOrDefinition : ( ( rule__AssertionOrDefinition__Group__0 ) ) ; + // InternalSolverLanguageParser.g:173:1: ruleAssertionOrDefinition : ( ( rule__AssertionOrDefinition__Group__0 ) ) ; public final void ruleAssertionOrDefinition() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:190:2: ( ( ( rule__AssertionOrDefinition__Group__0 ) ) ) - // InternalSolverLanguageParser.g:191:2: ( ( rule__AssertionOrDefinition__Group__0 ) ) + // InternalSolverLanguageParser.g:177:2: ( ( ( rule__AssertionOrDefinition__Group__0 ) ) ) + // InternalSolverLanguageParser.g:178:2: ( ( rule__AssertionOrDefinition__Group__0 ) ) { - // InternalSolverLanguageParser.g:191:2: ( ( rule__AssertionOrDefinition__Group__0 ) ) - // InternalSolverLanguageParser.g:192:3: ( rule__AssertionOrDefinition__Group__0 ) + // InternalSolverLanguageParser.g:178:2: ( ( rule__AssertionOrDefinition__Group__0 ) ) + // InternalSolverLanguageParser.g:179:3: ( rule__AssertionOrDefinition__Group__0 ) { before(grammarAccess.getAssertionOrDefinitionAccess().getGroup()); - // InternalSolverLanguageParser.g:193:3: ( rule__AssertionOrDefinition__Group__0 ) - // InternalSolverLanguageParser.g:193:4: rule__AssertionOrDefinition__Group__0 + // InternalSolverLanguageParser.g:180:3: ( rule__AssertionOrDefinition__Group__0 ) + // InternalSolverLanguageParser.g:180:4: rule__AssertionOrDefinition__Group__0 { pushFollow(FOLLOW_2); rule__AssertionOrDefinition__Group__0(); @@ -475,11 +449,11 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR start "entryRulePredicateDefinition" - // InternalSolverLanguageParser.g:202:1: entryRulePredicateDefinition : rulePredicateDefinition EOF ; + // InternalSolverLanguageParser.g:189:1: entryRulePredicateDefinition : rulePredicateDefinition EOF ; public final void entryRulePredicateDefinition() throws RecognitionException { try { - // InternalSolverLanguageParser.g:203:1: ( rulePredicateDefinition EOF ) - // InternalSolverLanguageParser.g:204:1: rulePredicateDefinition EOF + // InternalSolverLanguageParser.g:190:1: ( rulePredicateDefinition EOF ) + // InternalSolverLanguageParser.g:191:1: rulePredicateDefinition EOF { before(grammarAccess.getPredicateDefinitionRule()); pushFollow(FOLLOW_1); @@ -505,21 +479,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR start "rulePredicateDefinition" - // InternalSolverLanguageParser.g:211:1: rulePredicateDefinition : ( ( rule__PredicateDefinition__Group__0 ) ) ; + // InternalSolverLanguageParser.g:198:1: rulePredicateDefinition : ( ( rule__PredicateDefinition__Group__0 ) ) ; public final void rulePredicateDefinition() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:215:2: ( ( ( rule__PredicateDefinition__Group__0 ) ) ) - // InternalSolverLanguageParser.g:216:2: ( ( rule__PredicateDefinition__Group__0 ) ) + // InternalSolverLanguageParser.g:202:2: ( ( ( rule__PredicateDefinition__Group__0 ) ) ) + // InternalSolverLanguageParser.g:203:2: ( ( rule__PredicateDefinition__Group__0 ) ) { - // InternalSolverLanguageParser.g:216:2: ( ( rule__PredicateDefinition__Group__0 ) ) - // InternalSolverLanguageParser.g:217:3: ( rule__PredicateDefinition__Group__0 ) + // InternalSolverLanguageParser.g:203:2: ( ( rule__PredicateDefinition__Group__0 ) ) + // InternalSolverLanguageParser.g:204:3: ( rule__PredicateDefinition__Group__0 ) { before(grammarAccess.getPredicateDefinitionAccess().getGroup()); - // InternalSolverLanguageParser.g:218:3: ( rule__PredicateDefinition__Group__0 ) - // InternalSolverLanguageParser.g:218:4: rule__PredicateDefinition__Group__0 + // InternalSolverLanguageParser.g:205:3: ( rule__PredicateDefinition__Group__0 ) + // InternalSolverLanguageParser.g:205:4: rule__PredicateDefinition__Group__0 { pushFollow(FOLLOW_2); rule__PredicateDefinition__Group__0(); @@ -552,11 +526,11 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR start "entryRuleUnnamedErrorPrediateDefinition" - // InternalSolverLanguageParser.g:227:1: entryRuleUnnamedErrorPrediateDefinition : ruleUnnamedErrorPrediateDefinition EOF ; + // InternalSolverLanguageParser.g:214:1: entryRuleUnnamedErrorPrediateDefinition : ruleUnnamedErrorPrediateDefinition EOF ; public final void entryRuleUnnamedErrorPrediateDefinition() throws RecognitionException { try { - // InternalSolverLanguageParser.g:228:1: ( ruleUnnamedErrorPrediateDefinition EOF ) - // InternalSolverLanguageParser.g:229:1: ruleUnnamedErrorPrediateDefinition EOF + // InternalSolverLanguageParser.g:215:1: ( ruleUnnamedErrorPrediateDefinition EOF ) + // InternalSolverLanguageParser.g:216:1: ruleUnnamedErrorPrediateDefinition EOF { before(grammarAccess.getUnnamedErrorPrediateDefinitionRule()); pushFollow(FOLLOW_1); @@ -582,21 +556,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR start "ruleUnnamedErrorPrediateDefinition" - // InternalSolverLanguageParser.g:236:1: ruleUnnamedErrorPrediateDefinition : ( ( rule__UnnamedErrorPrediateDefinition__Group__0 ) ) ; + // InternalSolverLanguageParser.g:223:1: ruleUnnamedErrorPrediateDefinition : ( ( rule__UnnamedErrorPrediateDefinition__Group__0 ) ) ; public final void ruleUnnamedErrorPrediateDefinition() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:240:2: ( ( ( rule__UnnamedErrorPrediateDefinition__Group__0 ) ) ) - // InternalSolverLanguageParser.g:241:2: ( ( rule__UnnamedErrorPrediateDefinition__Group__0 ) ) + // InternalSolverLanguageParser.g:227:2: ( ( ( rule__UnnamedErrorPrediateDefinition__Group__0 ) ) ) + // InternalSolverLanguageParser.g:228:2: ( ( rule__UnnamedErrorPrediateDefinition__Group__0 ) ) { - // InternalSolverLanguageParser.g:241:2: ( ( rule__UnnamedErrorPrediateDefinition__Group__0 ) ) - // InternalSolverLanguageParser.g:242:3: ( rule__UnnamedErrorPrediateDefinition__Group__0 ) + // InternalSolverLanguageParser.g:228:2: ( ( rule__UnnamedErrorPrediateDefinition__Group__0 ) ) + // InternalSolverLanguageParser.g:229:3: ( rule__UnnamedErrorPrediateDefinition__Group__0 ) { before(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getGroup()); - // InternalSolverLanguageParser.g:243:3: ( rule__UnnamedErrorPrediateDefinition__Group__0 ) - // InternalSolverLanguageParser.g:243:4: rule__UnnamedErrorPrediateDefinition__Group__0 + // InternalSolverLanguageParser.g:230:3: ( rule__UnnamedErrorPrediateDefinition__Group__0 ) + // InternalSolverLanguageParser.g:230:4: rule__UnnamedErrorPrediateDefinition__Group__0 { pushFollow(FOLLOW_2); rule__UnnamedErrorPrediateDefinition__Group__0(); @@ -629,11 +603,11 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR start "entryRuleDefaultDefinition" - // InternalSolverLanguageParser.g:252:1: entryRuleDefaultDefinition : ruleDefaultDefinition EOF ; + // InternalSolverLanguageParser.g:239:1: entryRuleDefaultDefinition : ruleDefaultDefinition EOF ; public final void entryRuleDefaultDefinition() throws RecognitionException { try { - // InternalSolverLanguageParser.g:253:1: ( ruleDefaultDefinition EOF ) - // InternalSolverLanguageParser.g:254:1: ruleDefaultDefinition EOF + // InternalSolverLanguageParser.g:240:1: ( ruleDefaultDefinition EOF ) + // InternalSolverLanguageParser.g:241:1: ruleDefaultDefinition EOF { before(grammarAccess.getDefaultDefinitionRule()); pushFollow(FOLLOW_1); @@ -659,21 +633,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR start "ruleDefaultDefinition" - // InternalSolverLanguageParser.g:261:1: ruleDefaultDefinition : ( ( rule__DefaultDefinition__Group__0 ) ) ; + // InternalSolverLanguageParser.g:248:1: ruleDefaultDefinition : ( ( rule__DefaultDefinition__Group__0 ) ) ; public final void ruleDefaultDefinition() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:265:2: ( ( ( rule__DefaultDefinition__Group__0 ) ) ) - // InternalSolverLanguageParser.g:266:2: ( ( rule__DefaultDefinition__Group__0 ) ) + // InternalSolverLanguageParser.g:252:2: ( ( ( rule__DefaultDefinition__Group__0 ) ) ) + // InternalSolverLanguageParser.g:253:2: ( ( rule__DefaultDefinition__Group__0 ) ) { - // InternalSolverLanguageParser.g:266:2: ( ( rule__DefaultDefinition__Group__0 ) ) - // InternalSolverLanguageParser.g:267:3: ( rule__DefaultDefinition__Group__0 ) + // InternalSolverLanguageParser.g:253:2: ( ( rule__DefaultDefinition__Group__0 ) ) + // InternalSolverLanguageParser.g:254:3: ( rule__DefaultDefinition__Group__0 ) { before(grammarAccess.getDefaultDefinitionAccess().getGroup()); - // InternalSolverLanguageParser.g:268:3: ( rule__DefaultDefinition__Group__0 ) - // InternalSolverLanguageParser.g:268:4: rule__DefaultDefinition__Group__0 + // InternalSolverLanguageParser.g:255:3: ( rule__DefaultDefinition__Group__0 ) + // InternalSolverLanguageParser.g:255:4: rule__DefaultDefinition__Group__0 { pushFollow(FOLLOW_2); rule__DefaultDefinition__Group__0(); @@ -705,20 +679,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR end "ruleDefaultDefinition" - // $ANTLR start "entryRuleExternPredicateDefinition" - // InternalSolverLanguageParser.g:277:1: entryRuleExternPredicateDefinition : ruleExternPredicateDefinition EOF ; - public final void entryRuleExternPredicateDefinition() throws RecognitionException { + // $ANTLR start "entryRuleMetricDefinition" + // InternalSolverLanguageParser.g:264:1: entryRuleMetricDefinition : ruleMetricDefinition EOF ; + public final void entryRuleMetricDefinition() throws RecognitionException { try { - // InternalSolverLanguageParser.g:278:1: ( ruleExternPredicateDefinition EOF ) - // InternalSolverLanguageParser.g:279:1: ruleExternPredicateDefinition EOF + // InternalSolverLanguageParser.g:265:1: ( ruleMetricDefinition EOF ) + // InternalSolverLanguageParser.g:266:1: ruleMetricDefinition EOF { - before(grammarAccess.getExternPredicateDefinitionRule()); + before(grammarAccess.getMetricDefinitionRule()); pushFollow(FOLLOW_1); - ruleExternPredicateDefinition(); + ruleMetricDefinition(); state._fsp--; - after(grammarAccess.getExternPredicateDefinitionRule()); + after(grammarAccess.getMetricDefinitionRule()); match(input,EOF,FOLLOW_2); } @@ -732,35 +706,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "entryRuleExternPredicateDefinition" + // $ANTLR end "entryRuleMetricDefinition" - // $ANTLR start "ruleExternPredicateDefinition" - // InternalSolverLanguageParser.g:286:1: ruleExternPredicateDefinition : ( ( rule__ExternPredicateDefinition__Group__0 ) ) ; - public final void ruleExternPredicateDefinition() throws RecognitionException { + // $ANTLR start "ruleMetricDefinition" + // InternalSolverLanguageParser.g:273:1: ruleMetricDefinition : ( ( rule__MetricDefinition__Group__0 ) ) ; + public final void ruleMetricDefinition() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:290:2: ( ( ( rule__ExternPredicateDefinition__Group__0 ) ) ) - // InternalSolverLanguageParser.g:291:2: ( ( rule__ExternPredicateDefinition__Group__0 ) ) + // InternalSolverLanguageParser.g:277:2: ( ( ( rule__MetricDefinition__Group__0 ) ) ) + // InternalSolverLanguageParser.g:278:2: ( ( rule__MetricDefinition__Group__0 ) ) { - // InternalSolverLanguageParser.g:291:2: ( ( rule__ExternPredicateDefinition__Group__0 ) ) - // InternalSolverLanguageParser.g:292:3: ( rule__ExternPredicateDefinition__Group__0 ) + // InternalSolverLanguageParser.g:278:2: ( ( rule__MetricDefinition__Group__0 ) ) + // InternalSolverLanguageParser.g:279:3: ( rule__MetricDefinition__Group__0 ) { - before(grammarAccess.getExternPredicateDefinitionAccess().getGroup()); - // InternalSolverLanguageParser.g:293:3: ( rule__ExternPredicateDefinition__Group__0 ) - // InternalSolverLanguageParser.g:293:4: rule__ExternPredicateDefinition__Group__0 + before(grammarAccess.getMetricDefinitionAccess().getGroup()); + // InternalSolverLanguageParser.g:280:3: ( rule__MetricDefinition__Group__0 ) + // InternalSolverLanguageParser.g:280:4: rule__MetricDefinition__Group__0 { pushFollow(FOLLOW_2); - rule__ExternPredicateDefinition__Group__0(); + rule__MetricDefinition__Group__0(); state._fsp--; } - after(grammarAccess.getExternPredicateDefinitionAccess().getGroup()); + after(grammarAccess.getMetricDefinitionAccess().getGroup()); } @@ -779,23 +753,23 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "ruleExternPredicateDefinition" + // $ANTLR end "ruleMetricDefinition" - // $ANTLR start "entryRuleMetricDefinition" - // InternalSolverLanguageParser.g:302:1: entryRuleMetricDefinition : ruleMetricDefinition EOF ; - public final void entryRuleMetricDefinition() throws RecognitionException { + // $ANTLR start "entryRuleExternPredicateDefinition" + // InternalSolverLanguageParser.g:289:1: entryRuleExternPredicateDefinition : ruleExternPredicateDefinition EOF ; + public final void entryRuleExternPredicateDefinition() throws RecognitionException { try { - // InternalSolverLanguageParser.g:303:1: ( ruleMetricDefinition EOF ) - // InternalSolverLanguageParser.g:304:1: ruleMetricDefinition EOF + // InternalSolverLanguageParser.g:290:1: ( ruleExternPredicateDefinition EOF ) + // InternalSolverLanguageParser.g:291:1: ruleExternPredicateDefinition EOF { - before(grammarAccess.getMetricDefinitionRule()); + before(grammarAccess.getExternPredicateDefinitionRule()); pushFollow(FOLLOW_1); - ruleMetricDefinition(); + ruleExternPredicateDefinition(); state._fsp--; - after(grammarAccess.getMetricDefinitionRule()); + after(grammarAccess.getExternPredicateDefinitionRule()); match(input,EOF,FOLLOW_2); } @@ -809,35 +783,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "entryRuleMetricDefinition" + // $ANTLR end "entryRuleExternPredicateDefinition" - // $ANTLR start "ruleMetricDefinition" - // InternalSolverLanguageParser.g:311:1: ruleMetricDefinition : ( ( rule__MetricDefinition__Group__0 ) ) ; - public final void ruleMetricDefinition() throws RecognitionException { + // $ANTLR start "ruleExternPredicateDefinition" + // InternalSolverLanguageParser.g:298:1: ruleExternPredicateDefinition : ( ( rule__ExternPredicateDefinition__Group__0 ) ) ; + public final void ruleExternPredicateDefinition() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:315:2: ( ( ( rule__MetricDefinition__Group__0 ) ) ) - // InternalSolverLanguageParser.g:316:2: ( ( rule__MetricDefinition__Group__0 ) ) + // InternalSolverLanguageParser.g:302:2: ( ( ( rule__ExternPredicateDefinition__Group__0 ) ) ) + // InternalSolverLanguageParser.g:303:2: ( ( rule__ExternPredicateDefinition__Group__0 ) ) { - // InternalSolverLanguageParser.g:316:2: ( ( rule__MetricDefinition__Group__0 ) ) - // InternalSolverLanguageParser.g:317:3: ( rule__MetricDefinition__Group__0 ) + // InternalSolverLanguageParser.g:303:2: ( ( rule__ExternPredicateDefinition__Group__0 ) ) + // InternalSolverLanguageParser.g:304:3: ( rule__ExternPredicateDefinition__Group__0 ) { - before(grammarAccess.getMetricDefinitionAccess().getGroup()); - // InternalSolverLanguageParser.g:318:3: ( rule__MetricDefinition__Group__0 ) - // InternalSolverLanguageParser.g:318:4: rule__MetricDefinition__Group__0 + before(grammarAccess.getExternPredicateDefinitionAccess().getGroup()); + // InternalSolverLanguageParser.g:305:3: ( rule__ExternPredicateDefinition__Group__0 ) + // InternalSolverLanguageParser.g:305:4: rule__ExternPredicateDefinition__Group__0 { pushFollow(FOLLOW_2); - rule__MetricDefinition__Group__0(); + rule__ExternPredicateDefinition__Group__0(); state._fsp--; } - after(grammarAccess.getMetricDefinitionAccess().getGroup()); + after(grammarAccess.getExternPredicateDefinitionAccess().getGroup()); } @@ -856,15 +830,15 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "ruleMetricDefinition" + // $ANTLR end "ruleExternPredicateDefinition" // $ANTLR start "entryRuleExternMetricDefinition" - // InternalSolverLanguageParser.g:327:1: entryRuleExternMetricDefinition : ruleExternMetricDefinition EOF ; + // InternalSolverLanguageParser.g:314:1: entryRuleExternMetricDefinition : ruleExternMetricDefinition EOF ; public final void entryRuleExternMetricDefinition() throws RecognitionException { try { - // InternalSolverLanguageParser.g:328:1: ( ruleExternMetricDefinition EOF ) - // InternalSolverLanguageParser.g:329:1: ruleExternMetricDefinition EOF + // InternalSolverLanguageParser.g:315:1: ( ruleExternMetricDefinition EOF ) + // InternalSolverLanguageParser.g:316:1: ruleExternMetricDefinition EOF { before(grammarAccess.getExternMetricDefinitionRule()); pushFollow(FOLLOW_1); @@ -890,21 +864,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR start "ruleExternMetricDefinition" - // InternalSolverLanguageParser.g:336:1: ruleExternMetricDefinition : ( ( rule__ExternMetricDefinition__Group__0 ) ) ; + // InternalSolverLanguageParser.g:323:1: ruleExternMetricDefinition : ( ( rule__ExternMetricDefinition__Group__0 ) ) ; public final void ruleExternMetricDefinition() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:340:2: ( ( ( rule__ExternMetricDefinition__Group__0 ) ) ) - // InternalSolverLanguageParser.g:341:2: ( ( rule__ExternMetricDefinition__Group__0 ) ) + // InternalSolverLanguageParser.g:327:2: ( ( ( rule__ExternMetricDefinition__Group__0 ) ) ) + // InternalSolverLanguageParser.g:328:2: ( ( rule__ExternMetricDefinition__Group__0 ) ) { - // InternalSolverLanguageParser.g:341:2: ( ( rule__ExternMetricDefinition__Group__0 ) ) - // InternalSolverLanguageParser.g:342:3: ( rule__ExternMetricDefinition__Group__0 ) + // InternalSolverLanguageParser.g:328:2: ( ( rule__ExternMetricDefinition__Group__0 ) ) + // InternalSolverLanguageParser.g:329:3: ( rule__ExternMetricDefinition__Group__0 ) { before(grammarAccess.getExternMetricDefinitionAccess().getGroup()); - // InternalSolverLanguageParser.g:343:3: ( rule__ExternMetricDefinition__Group__0 ) - // InternalSolverLanguageParser.g:343:4: rule__ExternMetricDefinition__Group__0 + // InternalSolverLanguageParser.g:330:3: ( rule__ExternMetricDefinition__Group__0 ) + // InternalSolverLanguageParser.g:330:4: rule__ExternMetricDefinition__Group__0 { pushFollow(FOLLOW_2); rule__ExternMetricDefinition__Group__0(); @@ -936,20 +910,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR end "ruleExternMetricDefinition" - // $ANTLR start "entryRuleExpression" - // InternalSolverLanguageParser.g:352:1: entryRuleExpression : ruleExpression EOF ; - public final void entryRuleExpression() throws RecognitionException { + // $ANTLR start "entryRuleExternAggregatorDefinition" + // InternalSolverLanguageParser.g:339:1: entryRuleExternAggregatorDefinition : ruleExternAggregatorDefinition EOF ; + public final void entryRuleExternAggregatorDefinition() throws RecognitionException { try { - // InternalSolverLanguageParser.g:353:1: ( ruleExpression EOF ) - // InternalSolverLanguageParser.g:354:1: ruleExpression EOF + // InternalSolverLanguageParser.g:340:1: ( ruleExternAggregatorDefinition EOF ) + // InternalSolverLanguageParser.g:341:1: ruleExternAggregatorDefinition EOF { - before(grammarAccess.getExpressionRule()); + before(grammarAccess.getExternAggregatorDefinitionRule()); pushFollow(FOLLOW_1); - ruleExpression(); + ruleExternAggregatorDefinition(); state._fsp--; - after(grammarAccess.getExpressionRule()); + after(grammarAccess.getExternAggregatorDefinitionRule()); match(input,EOF,FOLLOW_2); } @@ -963,35 +937,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "entryRuleExpression" + // $ANTLR end "entryRuleExternAggregatorDefinition" - // $ANTLR start "ruleExpression" - // InternalSolverLanguageParser.g:361:1: ruleExpression : ( ( rule__Expression__Alternatives ) ) ; - public final void ruleExpression() throws RecognitionException { + // $ANTLR start "ruleExternAggregatorDefinition" + // InternalSolverLanguageParser.g:348:1: ruleExternAggregatorDefinition : ( ( rule__ExternAggregatorDefinition__Group__0 ) ) ; + public final void ruleExternAggregatorDefinition() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:365:2: ( ( ( rule__Expression__Alternatives ) ) ) - // InternalSolverLanguageParser.g:366:2: ( ( rule__Expression__Alternatives ) ) + // InternalSolverLanguageParser.g:352:2: ( ( ( rule__ExternAggregatorDefinition__Group__0 ) ) ) + // InternalSolverLanguageParser.g:353:2: ( ( rule__ExternAggregatorDefinition__Group__0 ) ) { - // InternalSolverLanguageParser.g:366:2: ( ( rule__Expression__Alternatives ) ) - // InternalSolverLanguageParser.g:367:3: ( rule__Expression__Alternatives ) + // InternalSolverLanguageParser.g:353:2: ( ( rule__ExternAggregatorDefinition__Group__0 ) ) + // InternalSolverLanguageParser.g:354:3: ( rule__ExternAggregatorDefinition__Group__0 ) { - before(grammarAccess.getExpressionAccess().getAlternatives()); - // InternalSolverLanguageParser.g:368:3: ( rule__Expression__Alternatives ) - // InternalSolverLanguageParser.g:368:4: rule__Expression__Alternatives + before(grammarAccess.getExternAggregatorDefinitionAccess().getGroup()); + // InternalSolverLanguageParser.g:355:3: ( rule__ExternAggregatorDefinition__Group__0 ) + // InternalSolverLanguageParser.g:355:4: rule__ExternAggregatorDefinition__Group__0 { pushFollow(FOLLOW_2); - rule__Expression__Alternatives(); + rule__ExternAggregatorDefinition__Group__0(); state._fsp--; } - after(grammarAccess.getExpressionAccess().getAlternatives()); + after(grammarAccess.getExternAggregatorDefinitionAccess().getGroup()); } @@ -1010,23 +984,23 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "ruleExpression" + // $ANTLR end "ruleExternAggregatorDefinition" - // $ANTLR start "entryRuleIfElse" - // InternalSolverLanguageParser.g:377:1: entryRuleIfElse : ruleIfElse EOF ; - public final void entryRuleIfElse() throws RecognitionException { + // $ANTLR start "entryRuleExternDatatypeDefinition" + // InternalSolverLanguageParser.g:364:1: entryRuleExternDatatypeDefinition : ruleExternDatatypeDefinition EOF ; + public final void entryRuleExternDatatypeDefinition() throws RecognitionException { try { - // InternalSolverLanguageParser.g:378:1: ( ruleIfElse EOF ) - // InternalSolverLanguageParser.g:379:1: ruleIfElse EOF + // InternalSolverLanguageParser.g:365:1: ( ruleExternDatatypeDefinition EOF ) + // InternalSolverLanguageParser.g:366:1: ruleExternDatatypeDefinition EOF { - before(grammarAccess.getIfElseRule()); + before(grammarAccess.getExternDatatypeDefinitionRule()); pushFollow(FOLLOW_1); - ruleIfElse(); + ruleExternDatatypeDefinition(); state._fsp--; - after(grammarAccess.getIfElseRule()); + after(grammarAccess.getExternDatatypeDefinitionRule()); match(input,EOF,FOLLOW_2); } @@ -1040,35 +1014,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "entryRuleIfElse" + // $ANTLR end "entryRuleExternDatatypeDefinition" - // $ANTLR start "ruleIfElse" - // InternalSolverLanguageParser.g:386:1: ruleIfElse : ( ( rule__IfElse__Group__0 ) ) ; - public final void ruleIfElse() throws RecognitionException { + // $ANTLR start "ruleExternDatatypeDefinition" + // InternalSolverLanguageParser.g:373:1: ruleExternDatatypeDefinition : ( ( rule__ExternDatatypeDefinition__Group__0 ) ) ; + public final void ruleExternDatatypeDefinition() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:390:2: ( ( ( rule__IfElse__Group__0 ) ) ) - // InternalSolverLanguageParser.g:391:2: ( ( rule__IfElse__Group__0 ) ) + // InternalSolverLanguageParser.g:377:2: ( ( ( rule__ExternDatatypeDefinition__Group__0 ) ) ) + // InternalSolverLanguageParser.g:378:2: ( ( rule__ExternDatatypeDefinition__Group__0 ) ) { - // InternalSolverLanguageParser.g:391:2: ( ( rule__IfElse__Group__0 ) ) - // InternalSolverLanguageParser.g:392:3: ( rule__IfElse__Group__0 ) + // InternalSolverLanguageParser.g:378:2: ( ( rule__ExternDatatypeDefinition__Group__0 ) ) + // InternalSolverLanguageParser.g:379:3: ( rule__ExternDatatypeDefinition__Group__0 ) { - before(grammarAccess.getIfElseAccess().getGroup()); - // InternalSolverLanguageParser.g:393:3: ( rule__IfElse__Group__0 ) - // InternalSolverLanguageParser.g:393:4: rule__IfElse__Group__0 + before(grammarAccess.getExternDatatypeDefinitionAccess().getGroup()); + // InternalSolverLanguageParser.g:380:3: ( rule__ExternDatatypeDefinition__Group__0 ) + // InternalSolverLanguageParser.g:380:4: rule__ExternDatatypeDefinition__Group__0 { pushFollow(FOLLOW_2); - rule__IfElse__Group__0(); + rule__ExternDatatypeDefinition__Group__0(); state._fsp--; } - after(grammarAccess.getIfElseAccess().getGroup()); + after(grammarAccess.getExternDatatypeDefinitionAccess().getGroup()); } @@ -1087,23 +1061,23 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "ruleIfElse" + // $ANTLR end "ruleExternDatatypeDefinition" - // $ANTLR start "entryRuleDisjunctiveExpression" - // InternalSolverLanguageParser.g:402:1: entryRuleDisjunctiveExpression : ruleDisjunctiveExpression EOF ; - public final void entryRuleDisjunctiveExpression() throws RecognitionException { + // $ANTLR start "entryRuleVariable" + // InternalSolverLanguageParser.g:389:1: entryRuleVariable : ruleVariable EOF ; + public final void entryRuleVariable() throws RecognitionException { try { - // InternalSolverLanguageParser.g:403:1: ( ruleDisjunctiveExpression EOF ) - // InternalSolverLanguageParser.g:404:1: ruleDisjunctiveExpression EOF + // InternalSolverLanguageParser.g:390:1: ( ruleVariable EOF ) + // InternalSolverLanguageParser.g:391:1: ruleVariable EOF { - before(grammarAccess.getDisjunctiveExpressionRule()); + before(grammarAccess.getVariableRule()); pushFollow(FOLLOW_1); - ruleDisjunctiveExpression(); + ruleVariable(); state._fsp--; - after(grammarAccess.getDisjunctiveExpressionRule()); + after(grammarAccess.getVariableRule()); match(input,EOF,FOLLOW_2); } @@ -1117,35 +1091,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "entryRuleDisjunctiveExpression" + // $ANTLR end "entryRuleVariable" - // $ANTLR start "ruleDisjunctiveExpression" - // InternalSolverLanguageParser.g:411:1: ruleDisjunctiveExpression : ( ( rule__DisjunctiveExpression__Group__0 ) ) ; - public final void ruleDisjunctiveExpression() throws RecognitionException { + // $ANTLR start "ruleVariable" + // InternalSolverLanguageParser.g:398:1: ruleVariable : ( ( rule__Variable__Group__0 ) ) ; + public final void ruleVariable() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:415:2: ( ( ( rule__DisjunctiveExpression__Group__0 ) ) ) - // InternalSolverLanguageParser.g:416:2: ( ( rule__DisjunctiveExpression__Group__0 ) ) + // InternalSolverLanguageParser.g:402:2: ( ( ( rule__Variable__Group__0 ) ) ) + // InternalSolverLanguageParser.g:403:2: ( ( rule__Variable__Group__0 ) ) { - // InternalSolverLanguageParser.g:416:2: ( ( rule__DisjunctiveExpression__Group__0 ) ) - // InternalSolverLanguageParser.g:417:3: ( rule__DisjunctiveExpression__Group__0 ) + // InternalSolverLanguageParser.g:403:2: ( ( rule__Variable__Group__0 ) ) + // InternalSolverLanguageParser.g:404:3: ( rule__Variable__Group__0 ) { - before(grammarAccess.getDisjunctiveExpressionAccess().getGroup()); - // InternalSolverLanguageParser.g:418:3: ( rule__DisjunctiveExpression__Group__0 ) - // InternalSolverLanguageParser.g:418:4: rule__DisjunctiveExpression__Group__0 + before(grammarAccess.getVariableAccess().getGroup()); + // InternalSolverLanguageParser.g:405:3: ( rule__Variable__Group__0 ) + // InternalSolverLanguageParser.g:405:4: rule__Variable__Group__0 { pushFollow(FOLLOW_2); - rule__DisjunctiveExpression__Group__0(); + rule__Variable__Group__0(); state._fsp--; } - after(grammarAccess.getDisjunctiveExpressionAccess().getGroup()); + after(grammarAccess.getVariableAccess().getGroup()); } @@ -1164,23 +1138,23 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "ruleDisjunctiveExpression" + // $ANTLR end "ruleVariable" - // $ANTLR start "entryRuleCase" - // InternalSolverLanguageParser.g:427:1: entryRuleCase : ruleCase EOF ; - public final void entryRuleCase() throws RecognitionException { + // $ANTLR start "entryRuleExpression" + // InternalSolverLanguageParser.g:414:1: entryRuleExpression : ruleExpression EOF ; + public final void entryRuleExpression() throws RecognitionException { try { - // InternalSolverLanguageParser.g:428:1: ( ruleCase EOF ) - // InternalSolverLanguageParser.g:429:1: ruleCase EOF + // InternalSolverLanguageParser.g:415:1: ( ruleExpression EOF ) + // InternalSolverLanguageParser.g:416:1: ruleExpression EOF { - before(grammarAccess.getCaseRule()); + before(grammarAccess.getExpressionRule()); pushFollow(FOLLOW_1); - ruleCase(); + ruleExpression(); state._fsp--; - after(grammarAccess.getCaseRule()); + after(grammarAccess.getExpressionRule()); match(input,EOF,FOLLOW_2); } @@ -1194,35 +1168,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "entryRuleCase" + // $ANTLR end "entryRuleExpression" - // $ANTLR start "ruleCase" - // InternalSolverLanguageParser.g:436:1: ruleCase : ( ( rule__Case__Group__0 ) ) ; - public final void ruleCase() throws RecognitionException { + // $ANTLR start "ruleExpression" + // InternalSolverLanguageParser.g:423:1: ruleExpression : ( ( rule__Expression__Alternatives ) ) ; + public final void ruleExpression() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:440:2: ( ( ( rule__Case__Group__0 ) ) ) - // InternalSolverLanguageParser.g:441:2: ( ( rule__Case__Group__0 ) ) + // InternalSolverLanguageParser.g:427:2: ( ( ( rule__Expression__Alternatives ) ) ) + // InternalSolverLanguageParser.g:428:2: ( ( rule__Expression__Alternatives ) ) { - // InternalSolverLanguageParser.g:441:2: ( ( rule__Case__Group__0 ) ) - // InternalSolverLanguageParser.g:442:3: ( rule__Case__Group__0 ) + // InternalSolverLanguageParser.g:428:2: ( ( rule__Expression__Alternatives ) ) + // InternalSolverLanguageParser.g:429:3: ( rule__Expression__Alternatives ) { - before(grammarAccess.getCaseAccess().getGroup()); - // InternalSolverLanguageParser.g:443:3: ( rule__Case__Group__0 ) - // InternalSolverLanguageParser.g:443:4: rule__Case__Group__0 + before(grammarAccess.getExpressionAccess().getAlternatives()); + // InternalSolverLanguageParser.g:430:3: ( rule__Expression__Alternatives ) + // InternalSolverLanguageParser.g:430:4: rule__Expression__Alternatives { pushFollow(FOLLOW_2); - rule__Case__Group__0(); + rule__Expression__Alternatives(); state._fsp--; } - after(grammarAccess.getCaseAccess().getGroup()); + after(grammarAccess.getExpressionAccess().getAlternatives()); } @@ -1241,23 +1215,23 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "ruleCase" + // $ANTLR end "ruleExpression" - // $ANTLR start "entryRuleConjunctiveExpression" - // InternalSolverLanguageParser.g:452:1: entryRuleConjunctiveExpression : ruleConjunctiveExpression EOF ; - public final void entryRuleConjunctiveExpression() throws RecognitionException { + // $ANTLR start "entryRuleIfElse" + // InternalSolverLanguageParser.g:439:1: entryRuleIfElse : ruleIfElse EOF ; + public final void entryRuleIfElse() throws RecognitionException { try { - // InternalSolverLanguageParser.g:453:1: ( ruleConjunctiveExpression EOF ) - // InternalSolverLanguageParser.g:454:1: ruleConjunctiveExpression EOF + // InternalSolverLanguageParser.g:440:1: ( ruleIfElse EOF ) + // InternalSolverLanguageParser.g:441:1: ruleIfElse EOF { - before(grammarAccess.getConjunctiveExpressionRule()); + before(grammarAccess.getIfElseRule()); pushFollow(FOLLOW_1); - ruleConjunctiveExpression(); + ruleIfElse(); state._fsp--; - after(grammarAccess.getConjunctiveExpressionRule()); + after(grammarAccess.getIfElseRule()); match(input,EOF,FOLLOW_2); } @@ -1271,35 +1245,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "entryRuleConjunctiveExpression" + // $ANTLR end "entryRuleIfElse" - // $ANTLR start "ruleConjunctiveExpression" - // InternalSolverLanguageParser.g:461:1: ruleConjunctiveExpression : ( ( rule__ConjunctiveExpression__Group__0 ) ) ; - public final void ruleConjunctiveExpression() throws RecognitionException { + // $ANTLR start "ruleIfElse" + // InternalSolverLanguageParser.g:448:1: ruleIfElse : ( ( rule__IfElse__Group__0 ) ) ; + public final void ruleIfElse() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:465:2: ( ( ( rule__ConjunctiveExpression__Group__0 ) ) ) - // InternalSolverLanguageParser.g:466:2: ( ( rule__ConjunctiveExpression__Group__0 ) ) + // InternalSolverLanguageParser.g:452:2: ( ( ( rule__IfElse__Group__0 ) ) ) + // InternalSolverLanguageParser.g:453:2: ( ( rule__IfElse__Group__0 ) ) { - // InternalSolverLanguageParser.g:466:2: ( ( rule__ConjunctiveExpression__Group__0 ) ) - // InternalSolverLanguageParser.g:467:3: ( rule__ConjunctiveExpression__Group__0 ) + // InternalSolverLanguageParser.g:453:2: ( ( rule__IfElse__Group__0 ) ) + // InternalSolverLanguageParser.g:454:3: ( rule__IfElse__Group__0 ) { - before(grammarAccess.getConjunctiveExpressionAccess().getGroup()); - // InternalSolverLanguageParser.g:468:3: ( rule__ConjunctiveExpression__Group__0 ) - // InternalSolverLanguageParser.g:468:4: rule__ConjunctiveExpression__Group__0 + before(grammarAccess.getIfElseAccess().getGroup()); + // InternalSolverLanguageParser.g:455:3: ( rule__IfElse__Group__0 ) + // InternalSolverLanguageParser.g:455:4: rule__IfElse__Group__0 { pushFollow(FOLLOW_2); - rule__ConjunctiveExpression__Group__0(); + rule__IfElse__Group__0(); state._fsp--; } - after(grammarAccess.getConjunctiveExpressionAccess().getGroup()); + after(grammarAccess.getIfElseAccess().getGroup()); } @@ -1318,23 +1292,23 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "ruleConjunctiveExpression" + // $ANTLR end "ruleIfElse" - // $ANTLR start "entryRuleComparisonExpression" - // InternalSolverLanguageParser.g:477:1: entryRuleComparisonExpression : ruleComparisonExpression EOF ; - public final void entryRuleComparisonExpression() throws RecognitionException { + // $ANTLR start "entryRuleLet" + // InternalSolverLanguageParser.g:464:1: entryRuleLet : ruleLet EOF ; + public final void entryRuleLet() throws RecognitionException { try { - // InternalSolverLanguageParser.g:478:1: ( ruleComparisonExpression EOF ) - // InternalSolverLanguageParser.g:479:1: ruleComparisonExpression EOF + // InternalSolverLanguageParser.g:465:1: ( ruleLet EOF ) + // InternalSolverLanguageParser.g:466:1: ruleLet EOF { - before(grammarAccess.getComparisonExpressionRule()); + before(grammarAccess.getLetRule()); pushFollow(FOLLOW_1); - ruleComparisonExpression(); + ruleLet(); state._fsp--; - after(grammarAccess.getComparisonExpressionRule()); + after(grammarAccess.getLetRule()); match(input,EOF,FOLLOW_2); } @@ -1348,35 +1322,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "entryRuleComparisonExpression" + // $ANTLR end "entryRuleLet" - // $ANTLR start "ruleComparisonExpression" - // InternalSolverLanguageParser.g:486:1: ruleComparisonExpression : ( ( rule__ComparisonExpression__Group__0 ) ) ; - public final void ruleComparisonExpression() throws RecognitionException { + // $ANTLR start "ruleLet" + // InternalSolverLanguageParser.g:473:1: ruleLet : ( ( rule__Let__Group__0 ) ) ; + public final void ruleLet() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:490:2: ( ( ( rule__ComparisonExpression__Group__0 ) ) ) - // InternalSolverLanguageParser.g:491:2: ( ( rule__ComparisonExpression__Group__0 ) ) + // InternalSolverLanguageParser.g:477:2: ( ( ( rule__Let__Group__0 ) ) ) + // InternalSolverLanguageParser.g:478:2: ( ( rule__Let__Group__0 ) ) { - // InternalSolverLanguageParser.g:491:2: ( ( rule__ComparisonExpression__Group__0 ) ) - // InternalSolverLanguageParser.g:492:3: ( rule__ComparisonExpression__Group__0 ) + // InternalSolverLanguageParser.g:478:2: ( ( rule__Let__Group__0 ) ) + // InternalSolverLanguageParser.g:479:3: ( rule__Let__Group__0 ) { - before(grammarAccess.getComparisonExpressionAccess().getGroup()); - // InternalSolverLanguageParser.g:493:3: ( rule__ComparisonExpression__Group__0 ) - // InternalSolverLanguageParser.g:493:4: rule__ComparisonExpression__Group__0 + before(grammarAccess.getLetAccess().getGroup()); + // InternalSolverLanguageParser.g:480:3: ( rule__Let__Group__0 ) + // InternalSolverLanguageParser.g:480:4: rule__Let__Group__0 { pushFollow(FOLLOW_2); - rule__ComparisonExpression__Group__0(); + rule__Let__Group__0(); state._fsp--; } - after(grammarAccess.getComparisonExpressionAccess().getGroup()); + after(grammarAccess.getLetAccess().getGroup()); } @@ -1395,23 +1369,23 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "ruleComparisonExpression" + // $ANTLR end "ruleLet" - // $ANTLR start "entryRuleAdditiveExpression" - // InternalSolverLanguageParser.g:502:1: entryRuleAdditiveExpression : ruleAdditiveExpression EOF ; - public final void entryRuleAdditiveExpression() throws RecognitionException { + // $ANTLR start "entryRuleLetBinding" + // InternalSolverLanguageParser.g:489:1: entryRuleLetBinding : ruleLetBinding EOF ; + public final void entryRuleLetBinding() throws RecognitionException { try { - // InternalSolverLanguageParser.g:503:1: ( ruleAdditiveExpression EOF ) - // InternalSolverLanguageParser.g:504:1: ruleAdditiveExpression EOF + // InternalSolverLanguageParser.g:490:1: ( ruleLetBinding EOF ) + // InternalSolverLanguageParser.g:491:1: ruleLetBinding EOF { - before(grammarAccess.getAdditiveExpressionRule()); + before(grammarAccess.getLetBindingRule()); pushFollow(FOLLOW_1); - ruleAdditiveExpression(); + ruleLetBinding(); state._fsp--; - after(grammarAccess.getAdditiveExpressionRule()); + after(grammarAccess.getLetBindingRule()); match(input,EOF,FOLLOW_2); } @@ -1425,35 +1399,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "entryRuleAdditiveExpression" + // $ANTLR end "entryRuleLetBinding" - // $ANTLR start "ruleAdditiveExpression" - // InternalSolverLanguageParser.g:511:1: ruleAdditiveExpression : ( ( rule__AdditiveExpression__Group__0 ) ) ; - public final void ruleAdditiveExpression() throws RecognitionException { + // $ANTLR start "ruleLetBinding" + // InternalSolverLanguageParser.g:498:1: ruleLetBinding : ( ( rule__LetBinding__Group__0 ) ) ; + public final void ruleLetBinding() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:515:2: ( ( ( rule__AdditiveExpression__Group__0 ) ) ) - // InternalSolverLanguageParser.g:516:2: ( ( rule__AdditiveExpression__Group__0 ) ) + // InternalSolverLanguageParser.g:502:2: ( ( ( rule__LetBinding__Group__0 ) ) ) + // InternalSolverLanguageParser.g:503:2: ( ( rule__LetBinding__Group__0 ) ) { - // InternalSolverLanguageParser.g:516:2: ( ( rule__AdditiveExpression__Group__0 ) ) - // InternalSolverLanguageParser.g:517:3: ( rule__AdditiveExpression__Group__0 ) + // InternalSolverLanguageParser.g:503:2: ( ( rule__LetBinding__Group__0 ) ) + // InternalSolverLanguageParser.g:504:3: ( rule__LetBinding__Group__0 ) { - before(grammarAccess.getAdditiveExpressionAccess().getGroup()); - // InternalSolverLanguageParser.g:518:3: ( rule__AdditiveExpression__Group__0 ) - // InternalSolverLanguageParser.g:518:4: rule__AdditiveExpression__Group__0 + before(grammarAccess.getLetBindingAccess().getGroup()); + // InternalSolverLanguageParser.g:505:3: ( rule__LetBinding__Group__0 ) + // InternalSolverLanguageParser.g:505:4: rule__LetBinding__Group__0 { pushFollow(FOLLOW_2); - rule__AdditiveExpression__Group__0(); + rule__LetBinding__Group__0(); state._fsp--; } - after(grammarAccess.getAdditiveExpressionAccess().getGroup()); + after(grammarAccess.getLetBindingAccess().getGroup()); } @@ -1472,23 +1446,23 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "ruleAdditiveExpression" + // $ANTLR end "ruleLetBinding" - // $ANTLR start "entryRuleMultiplicativeExpression" - // InternalSolverLanguageParser.g:527:1: entryRuleMultiplicativeExpression : ruleMultiplicativeExpression EOF ; - public final void entryRuleMultiplicativeExpression() throws RecognitionException { + // $ANTLR start "entryRuleImplicationExpression" + // InternalSolverLanguageParser.g:514:1: entryRuleImplicationExpression : ruleImplicationExpression EOF ; + public final void entryRuleImplicationExpression() throws RecognitionException { try { - // InternalSolverLanguageParser.g:528:1: ( ruleMultiplicativeExpression EOF ) - // InternalSolverLanguageParser.g:529:1: ruleMultiplicativeExpression EOF + // InternalSolverLanguageParser.g:515:1: ( ruleImplicationExpression EOF ) + // InternalSolverLanguageParser.g:516:1: ruleImplicationExpression EOF { - before(grammarAccess.getMultiplicativeExpressionRule()); + before(grammarAccess.getImplicationExpressionRule()); pushFollow(FOLLOW_1); - ruleMultiplicativeExpression(); + ruleImplicationExpression(); state._fsp--; - after(grammarAccess.getMultiplicativeExpressionRule()); + after(grammarAccess.getImplicationExpressionRule()); match(input,EOF,FOLLOW_2); } @@ -1502,35 +1476,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "entryRuleMultiplicativeExpression" + // $ANTLR end "entryRuleImplicationExpression" - // $ANTLR start "ruleMultiplicativeExpression" - // InternalSolverLanguageParser.g:536:1: ruleMultiplicativeExpression : ( ( rule__MultiplicativeExpression__Group__0 ) ) ; - public final void ruleMultiplicativeExpression() throws RecognitionException { + // $ANTLR start "ruleImplicationExpression" + // InternalSolverLanguageParser.g:523:1: ruleImplicationExpression : ( ( rule__ImplicationExpression__Group__0 ) ) ; + public final void ruleImplicationExpression() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:540:2: ( ( ( rule__MultiplicativeExpression__Group__0 ) ) ) - // InternalSolverLanguageParser.g:541:2: ( ( rule__MultiplicativeExpression__Group__0 ) ) + // InternalSolverLanguageParser.g:527:2: ( ( ( rule__ImplicationExpression__Group__0 ) ) ) + // InternalSolverLanguageParser.g:528:2: ( ( rule__ImplicationExpression__Group__0 ) ) { - // InternalSolverLanguageParser.g:541:2: ( ( rule__MultiplicativeExpression__Group__0 ) ) - // InternalSolverLanguageParser.g:542:3: ( rule__MultiplicativeExpression__Group__0 ) + // InternalSolverLanguageParser.g:528:2: ( ( rule__ImplicationExpression__Group__0 ) ) + // InternalSolverLanguageParser.g:529:3: ( rule__ImplicationExpression__Group__0 ) { - before(grammarAccess.getMultiplicativeExpressionAccess().getGroup()); - // InternalSolverLanguageParser.g:543:3: ( rule__MultiplicativeExpression__Group__0 ) - // InternalSolverLanguageParser.g:543:4: rule__MultiplicativeExpression__Group__0 + before(grammarAccess.getImplicationExpressionAccess().getGroup()); + // InternalSolverLanguageParser.g:530:3: ( rule__ImplicationExpression__Group__0 ) + // InternalSolverLanguageParser.g:530:4: rule__ImplicationExpression__Group__0 { pushFollow(FOLLOW_2); - rule__MultiplicativeExpression__Group__0(); + rule__ImplicationExpression__Group__0(); state._fsp--; } - after(grammarAccess.getMultiplicativeExpressionAccess().getGroup()); + after(grammarAccess.getImplicationExpressionAccess().getGroup()); } @@ -1549,23 +1523,23 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "ruleMultiplicativeExpression" + // $ANTLR end "ruleImplicationExpression" - // $ANTLR start "entryRuleExponentialExpression" - // InternalSolverLanguageParser.g:552:1: entryRuleExponentialExpression : ruleExponentialExpression EOF ; - public final void entryRuleExponentialExpression() throws RecognitionException { + // $ANTLR start "entryRuleDisjunctiveExpression" + // InternalSolverLanguageParser.g:539:1: entryRuleDisjunctiveExpression : ruleDisjunctiveExpression EOF ; + public final void entryRuleDisjunctiveExpression() throws RecognitionException { try { - // InternalSolverLanguageParser.g:553:1: ( ruleExponentialExpression EOF ) - // InternalSolverLanguageParser.g:554:1: ruleExponentialExpression EOF + // InternalSolverLanguageParser.g:540:1: ( ruleDisjunctiveExpression EOF ) + // InternalSolverLanguageParser.g:541:1: ruleDisjunctiveExpression EOF { - before(grammarAccess.getExponentialExpressionRule()); + before(grammarAccess.getDisjunctiveExpressionRule()); pushFollow(FOLLOW_1); - ruleExponentialExpression(); + ruleDisjunctiveExpression(); state._fsp--; - after(grammarAccess.getExponentialExpressionRule()); + after(grammarAccess.getDisjunctiveExpressionRule()); match(input,EOF,FOLLOW_2); } @@ -1579,35 +1553,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "entryRuleExponentialExpression" + // $ANTLR end "entryRuleDisjunctiveExpression" - // $ANTLR start "ruleExponentialExpression" - // InternalSolverLanguageParser.g:561:1: ruleExponentialExpression : ( ( rule__ExponentialExpression__Group__0 ) ) ; - public final void ruleExponentialExpression() throws RecognitionException { + // $ANTLR start "ruleDisjunctiveExpression" + // InternalSolverLanguageParser.g:548:1: ruleDisjunctiveExpression : ( ( rule__DisjunctiveExpression__Group__0 ) ) ; + public final void ruleDisjunctiveExpression() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:565:2: ( ( ( rule__ExponentialExpression__Group__0 ) ) ) - // InternalSolverLanguageParser.g:566:2: ( ( rule__ExponentialExpression__Group__0 ) ) + // InternalSolverLanguageParser.g:552:2: ( ( ( rule__DisjunctiveExpression__Group__0 ) ) ) + // InternalSolverLanguageParser.g:553:2: ( ( rule__DisjunctiveExpression__Group__0 ) ) { - // InternalSolverLanguageParser.g:566:2: ( ( rule__ExponentialExpression__Group__0 ) ) - // InternalSolverLanguageParser.g:567:3: ( rule__ExponentialExpression__Group__0 ) + // InternalSolverLanguageParser.g:553:2: ( ( rule__DisjunctiveExpression__Group__0 ) ) + // InternalSolverLanguageParser.g:554:3: ( rule__DisjunctiveExpression__Group__0 ) { - before(grammarAccess.getExponentialExpressionAccess().getGroup()); - // InternalSolverLanguageParser.g:568:3: ( rule__ExponentialExpression__Group__0 ) - // InternalSolverLanguageParser.g:568:4: rule__ExponentialExpression__Group__0 + before(grammarAccess.getDisjunctiveExpressionAccess().getGroup()); + // InternalSolverLanguageParser.g:555:3: ( rule__DisjunctiveExpression__Group__0 ) + // InternalSolverLanguageParser.g:555:4: rule__DisjunctiveExpression__Group__0 { pushFollow(FOLLOW_2); - rule__ExponentialExpression__Group__0(); + rule__DisjunctiveExpression__Group__0(); state._fsp--; } - after(grammarAccess.getExponentialExpressionAccess().getGroup()); + after(grammarAccess.getDisjunctiveExpressionAccess().getGroup()); } @@ -1626,23 +1600,23 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "ruleExponentialExpression" + // $ANTLR end "ruleDisjunctiveExpression" - // $ANTLR start "entryRuleUnaryExpression" - // InternalSolverLanguageParser.g:577:1: entryRuleUnaryExpression : ruleUnaryExpression EOF ; - public final void entryRuleUnaryExpression() throws RecognitionException { + // $ANTLR start "entryRuleCase" + // InternalSolverLanguageParser.g:564:1: entryRuleCase : ruleCase EOF ; + public final void entryRuleCase() throws RecognitionException { try { - // InternalSolverLanguageParser.g:578:1: ( ruleUnaryExpression EOF ) - // InternalSolverLanguageParser.g:579:1: ruleUnaryExpression EOF + // InternalSolverLanguageParser.g:565:1: ( ruleCase EOF ) + // InternalSolverLanguageParser.g:566:1: ruleCase EOF { - before(grammarAccess.getUnaryExpressionRule()); + before(grammarAccess.getCaseRule()); pushFollow(FOLLOW_1); - ruleUnaryExpression(); + ruleCase(); state._fsp--; - after(grammarAccess.getUnaryExpressionRule()); + after(grammarAccess.getCaseRule()); match(input,EOF,FOLLOW_2); } @@ -1656,35 +1630,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "entryRuleUnaryExpression" + // $ANTLR end "entryRuleCase" - // $ANTLR start "ruleUnaryExpression" - // InternalSolverLanguageParser.g:586:1: ruleUnaryExpression : ( ( rule__UnaryExpression__Alternatives ) ) ; - public final void ruleUnaryExpression() throws RecognitionException { + // $ANTLR start "ruleCase" + // InternalSolverLanguageParser.g:573:1: ruleCase : ( ( rule__Case__Group__0 ) ) ; + public final void ruleCase() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:590:2: ( ( ( rule__UnaryExpression__Alternatives ) ) ) - // InternalSolverLanguageParser.g:591:2: ( ( rule__UnaryExpression__Alternatives ) ) + // InternalSolverLanguageParser.g:577:2: ( ( ( rule__Case__Group__0 ) ) ) + // InternalSolverLanguageParser.g:578:2: ( ( rule__Case__Group__0 ) ) { - // InternalSolverLanguageParser.g:591:2: ( ( rule__UnaryExpression__Alternatives ) ) - // InternalSolverLanguageParser.g:592:3: ( rule__UnaryExpression__Alternatives ) + // InternalSolverLanguageParser.g:578:2: ( ( rule__Case__Group__0 ) ) + // InternalSolverLanguageParser.g:579:3: ( rule__Case__Group__0 ) { - before(grammarAccess.getUnaryExpressionAccess().getAlternatives()); - // InternalSolverLanguageParser.g:593:3: ( rule__UnaryExpression__Alternatives ) - // InternalSolverLanguageParser.g:593:4: rule__UnaryExpression__Alternatives + before(grammarAccess.getCaseAccess().getGroup()); + // InternalSolverLanguageParser.g:580:3: ( rule__Case__Group__0 ) + // InternalSolverLanguageParser.g:580:4: rule__Case__Group__0 { pushFollow(FOLLOW_2); - rule__UnaryExpression__Alternatives(); + rule__Case__Group__0(); state._fsp--; } - after(grammarAccess.getUnaryExpressionAccess().getAlternatives()); + after(grammarAccess.getCaseAccess().getGroup()); } @@ -1703,23 +1677,23 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "ruleUnaryExpression" + // $ANTLR end "ruleCase" - // $ANTLR start "entryRuleAggregationExpression" - // InternalSolverLanguageParser.g:602:1: entryRuleAggregationExpression : ruleAggregationExpression EOF ; - public final void entryRuleAggregationExpression() throws RecognitionException { + // $ANTLR start "entryRuleConjunctiveExpression" + // InternalSolverLanguageParser.g:589:1: entryRuleConjunctiveExpression : ruleConjunctiveExpression EOF ; + public final void entryRuleConjunctiveExpression() throws RecognitionException { try { - // InternalSolverLanguageParser.g:603:1: ( ruleAggregationExpression EOF ) - // InternalSolverLanguageParser.g:604:1: ruleAggregationExpression EOF + // InternalSolverLanguageParser.g:590:1: ( ruleConjunctiveExpression EOF ) + // InternalSolverLanguageParser.g:591:1: ruleConjunctiveExpression EOF { - before(grammarAccess.getAggregationExpressionRule()); + before(grammarAccess.getConjunctiveExpressionRule()); pushFollow(FOLLOW_1); - ruleAggregationExpression(); + ruleConjunctiveExpression(); state._fsp--; - after(grammarAccess.getAggregationExpressionRule()); + after(grammarAccess.getConjunctiveExpressionRule()); match(input,EOF,FOLLOW_2); } @@ -1733,35 +1707,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "entryRuleAggregationExpression" + // $ANTLR end "entryRuleConjunctiveExpression" - // $ANTLR start "ruleAggregationExpression" - // InternalSolverLanguageParser.g:611:1: ruleAggregationExpression : ( ( rule__AggregationExpression__Alternatives ) ) ; - public final void ruleAggregationExpression() throws RecognitionException { + // $ANTLR start "ruleConjunctiveExpression" + // InternalSolverLanguageParser.g:598:1: ruleConjunctiveExpression : ( ( rule__ConjunctiveExpression__Group__0 ) ) ; + public final void ruleConjunctiveExpression() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:615:2: ( ( ( rule__AggregationExpression__Alternatives ) ) ) - // InternalSolverLanguageParser.g:616:2: ( ( rule__AggregationExpression__Alternatives ) ) + // InternalSolverLanguageParser.g:602:2: ( ( ( rule__ConjunctiveExpression__Group__0 ) ) ) + // InternalSolverLanguageParser.g:603:2: ( ( rule__ConjunctiveExpression__Group__0 ) ) { - // InternalSolverLanguageParser.g:616:2: ( ( rule__AggregationExpression__Alternatives ) ) - // InternalSolverLanguageParser.g:617:3: ( rule__AggregationExpression__Alternatives ) + // InternalSolverLanguageParser.g:603:2: ( ( rule__ConjunctiveExpression__Group__0 ) ) + // InternalSolverLanguageParser.g:604:3: ( rule__ConjunctiveExpression__Group__0 ) { - before(grammarAccess.getAggregationExpressionAccess().getAlternatives()); - // InternalSolverLanguageParser.g:618:3: ( rule__AggregationExpression__Alternatives ) - // InternalSolverLanguageParser.g:618:4: rule__AggregationExpression__Alternatives + before(grammarAccess.getConjunctiveExpressionAccess().getGroup()); + // InternalSolverLanguageParser.g:605:3: ( rule__ConjunctiveExpression__Group__0 ) + // InternalSolverLanguageParser.g:605:4: rule__ConjunctiveExpression__Group__0 { pushFollow(FOLLOW_2); - rule__AggregationExpression__Alternatives(); + rule__ConjunctiveExpression__Group__0(); state._fsp--; } - after(grammarAccess.getAggregationExpressionAccess().getAlternatives()); + after(grammarAccess.getConjunctiveExpressionAccess().getGroup()); } @@ -1780,23 +1754,23 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "ruleAggregationExpression" + // $ANTLR end "ruleConjunctiveExpression" - // $ANTLR start "entryRuleCount" - // InternalSolverLanguageParser.g:627:1: entryRuleCount : ruleCount EOF ; - public final void entryRuleCount() throws RecognitionException { + // $ANTLR start "entryRuleComparisonExpression" + // InternalSolverLanguageParser.g:614:1: entryRuleComparisonExpression : ruleComparisonExpression EOF ; + public final void entryRuleComparisonExpression() throws RecognitionException { try { - // InternalSolverLanguageParser.g:628:1: ( ruleCount EOF ) - // InternalSolverLanguageParser.g:629:1: ruleCount EOF + // InternalSolverLanguageParser.g:615:1: ( ruleComparisonExpression EOF ) + // InternalSolverLanguageParser.g:616:1: ruleComparisonExpression EOF { - before(grammarAccess.getCountRule()); + before(grammarAccess.getComparisonExpressionRule()); pushFollow(FOLLOW_1); - ruleCount(); + ruleComparisonExpression(); state._fsp--; - after(grammarAccess.getCountRule()); + after(grammarAccess.getComparisonExpressionRule()); match(input,EOF,FOLLOW_2); } @@ -1810,35 +1784,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "entryRuleCount" + // $ANTLR end "entryRuleComparisonExpression" - // $ANTLR start "ruleCount" - // InternalSolverLanguageParser.g:636:1: ruleCount : ( ( rule__Count__Group__0 ) ) ; - public final void ruleCount() throws RecognitionException { + // $ANTLR start "ruleComparisonExpression" + // InternalSolverLanguageParser.g:623:1: ruleComparisonExpression : ( ( rule__ComparisonExpression__Group__0 ) ) ; + public final void ruleComparisonExpression() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:640:2: ( ( ( rule__Count__Group__0 ) ) ) - // InternalSolverLanguageParser.g:641:2: ( ( rule__Count__Group__0 ) ) + // InternalSolverLanguageParser.g:627:2: ( ( ( rule__ComparisonExpression__Group__0 ) ) ) + // InternalSolverLanguageParser.g:628:2: ( ( rule__ComparisonExpression__Group__0 ) ) { - // InternalSolverLanguageParser.g:641:2: ( ( rule__Count__Group__0 ) ) - // InternalSolverLanguageParser.g:642:3: ( rule__Count__Group__0 ) + // InternalSolverLanguageParser.g:628:2: ( ( rule__ComparisonExpression__Group__0 ) ) + // InternalSolverLanguageParser.g:629:3: ( rule__ComparisonExpression__Group__0 ) { - before(grammarAccess.getCountAccess().getGroup()); - // InternalSolverLanguageParser.g:643:3: ( rule__Count__Group__0 ) - // InternalSolverLanguageParser.g:643:4: rule__Count__Group__0 + before(grammarAccess.getComparisonExpressionAccess().getGroup()); + // InternalSolverLanguageParser.g:630:3: ( rule__ComparisonExpression__Group__0 ) + // InternalSolverLanguageParser.g:630:4: rule__ComparisonExpression__Group__0 { pushFollow(FOLLOW_2); - rule__Count__Group__0(); + rule__ComparisonExpression__Group__0(); state._fsp--; } - after(grammarAccess.getCountAccess().getGroup()); + after(grammarAccess.getComparisonExpressionAccess().getGroup()); } @@ -1857,23 +1831,23 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "ruleCount" + // $ANTLR end "ruleComparisonExpression" - // $ANTLR start "entryRuleAggregation" - // InternalSolverLanguageParser.g:652:1: entryRuleAggregation : ruleAggregation EOF ; - public final void entryRuleAggregation() throws RecognitionException { + // $ANTLR start "entryRuleAdditiveExpression" + // InternalSolverLanguageParser.g:639:1: entryRuleAdditiveExpression : ruleAdditiveExpression EOF ; + public final void entryRuleAdditiveExpression() throws RecognitionException { try { - // InternalSolverLanguageParser.g:653:1: ( ruleAggregation EOF ) - // InternalSolverLanguageParser.g:654:1: ruleAggregation EOF + // InternalSolverLanguageParser.g:640:1: ( ruleAdditiveExpression EOF ) + // InternalSolverLanguageParser.g:641:1: ruleAdditiveExpression EOF { - before(grammarAccess.getAggregationRule()); + before(grammarAccess.getAdditiveExpressionRule()); pushFollow(FOLLOW_1); - ruleAggregation(); + ruleAdditiveExpression(); state._fsp--; - after(grammarAccess.getAggregationRule()); + after(grammarAccess.getAdditiveExpressionRule()); match(input,EOF,FOLLOW_2); } @@ -1887,35 +1861,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "entryRuleAggregation" + // $ANTLR end "entryRuleAdditiveExpression" - // $ANTLR start "ruleAggregation" - // InternalSolverLanguageParser.g:661:1: ruleAggregation : ( ( rule__Aggregation__Group__0 ) ) ; - public final void ruleAggregation() throws RecognitionException { + // $ANTLR start "ruleAdditiveExpression" + // InternalSolverLanguageParser.g:648:1: ruleAdditiveExpression : ( ( rule__AdditiveExpression__Group__0 ) ) ; + public final void ruleAdditiveExpression() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:665:2: ( ( ( rule__Aggregation__Group__0 ) ) ) - // InternalSolverLanguageParser.g:666:2: ( ( rule__Aggregation__Group__0 ) ) + // InternalSolverLanguageParser.g:652:2: ( ( ( rule__AdditiveExpression__Group__0 ) ) ) + // InternalSolverLanguageParser.g:653:2: ( ( rule__AdditiveExpression__Group__0 ) ) { - // InternalSolverLanguageParser.g:666:2: ( ( rule__Aggregation__Group__0 ) ) - // InternalSolverLanguageParser.g:667:3: ( rule__Aggregation__Group__0 ) + // InternalSolverLanguageParser.g:653:2: ( ( rule__AdditiveExpression__Group__0 ) ) + // InternalSolverLanguageParser.g:654:3: ( rule__AdditiveExpression__Group__0 ) { - before(grammarAccess.getAggregationAccess().getGroup()); - // InternalSolverLanguageParser.g:668:3: ( rule__Aggregation__Group__0 ) - // InternalSolverLanguageParser.g:668:4: rule__Aggregation__Group__0 + before(grammarAccess.getAdditiveExpressionAccess().getGroup()); + // InternalSolverLanguageParser.g:655:3: ( rule__AdditiveExpression__Group__0 ) + // InternalSolverLanguageParser.g:655:4: rule__AdditiveExpression__Group__0 { pushFollow(FOLLOW_2); - rule__Aggregation__Group__0(); + rule__AdditiveExpression__Group__0(); state._fsp--; } - after(grammarAccess.getAggregationAccess().getGroup()); + after(grammarAccess.getAdditiveExpressionAccess().getGroup()); } @@ -1934,23 +1908,23 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "ruleAggregation" + // $ANTLR end "ruleAdditiveExpression" - // $ANTLR start "entryRuleAtomicExpression" - // InternalSolverLanguageParser.g:677:1: entryRuleAtomicExpression : ruleAtomicExpression EOF ; - public final void entryRuleAtomicExpression() throws RecognitionException { + // $ANTLR start "entryRuleMultiplicativeExpression" + // InternalSolverLanguageParser.g:664:1: entryRuleMultiplicativeExpression : ruleMultiplicativeExpression EOF ; + public final void entryRuleMultiplicativeExpression() throws RecognitionException { try { - // InternalSolverLanguageParser.g:678:1: ( ruleAtomicExpression EOF ) - // InternalSolverLanguageParser.g:679:1: ruleAtomicExpression EOF + // InternalSolverLanguageParser.g:665:1: ( ruleMultiplicativeExpression EOF ) + // InternalSolverLanguageParser.g:666:1: ruleMultiplicativeExpression EOF { - before(grammarAccess.getAtomicExpressionRule()); + before(grammarAccess.getMultiplicativeExpressionRule()); pushFollow(FOLLOW_1); - ruleAtomicExpression(); + ruleMultiplicativeExpression(); state._fsp--; - after(grammarAccess.getAtomicExpressionRule()); + after(grammarAccess.getMultiplicativeExpressionRule()); match(input,EOF,FOLLOW_2); } @@ -1964,35 +1938,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "entryRuleAtomicExpression" + // $ANTLR end "entryRuleMultiplicativeExpression" - // $ANTLR start "ruleAtomicExpression" - // InternalSolverLanguageParser.g:686:1: ruleAtomicExpression : ( ( rule__AtomicExpression__Alternatives ) ) ; - public final void ruleAtomicExpression() throws RecognitionException { + // $ANTLR start "ruleMultiplicativeExpression" + // InternalSolverLanguageParser.g:673:1: ruleMultiplicativeExpression : ( ( rule__MultiplicativeExpression__Group__0 ) ) ; + public final void ruleMultiplicativeExpression() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:690:2: ( ( ( rule__AtomicExpression__Alternatives ) ) ) - // InternalSolverLanguageParser.g:691:2: ( ( rule__AtomicExpression__Alternatives ) ) + // InternalSolverLanguageParser.g:677:2: ( ( ( rule__MultiplicativeExpression__Group__0 ) ) ) + // InternalSolverLanguageParser.g:678:2: ( ( rule__MultiplicativeExpression__Group__0 ) ) { - // InternalSolverLanguageParser.g:691:2: ( ( rule__AtomicExpression__Alternatives ) ) - // InternalSolverLanguageParser.g:692:3: ( rule__AtomicExpression__Alternatives ) + // InternalSolverLanguageParser.g:678:2: ( ( rule__MultiplicativeExpression__Group__0 ) ) + // InternalSolverLanguageParser.g:679:3: ( rule__MultiplicativeExpression__Group__0 ) { - before(grammarAccess.getAtomicExpressionAccess().getAlternatives()); - // InternalSolverLanguageParser.g:693:3: ( rule__AtomicExpression__Alternatives ) - // InternalSolverLanguageParser.g:693:4: rule__AtomicExpression__Alternatives + before(grammarAccess.getMultiplicativeExpressionAccess().getGroup()); + // InternalSolverLanguageParser.g:680:3: ( rule__MultiplicativeExpression__Group__0 ) + // InternalSolverLanguageParser.g:680:4: rule__MultiplicativeExpression__Group__0 { pushFollow(FOLLOW_2); - rule__AtomicExpression__Alternatives(); + rule__MultiplicativeExpression__Group__0(); state._fsp--; } - after(grammarAccess.getAtomicExpressionAccess().getAlternatives()); + after(grammarAccess.getMultiplicativeExpressionAccess().getGroup()); } @@ -2011,23 +1985,23 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "ruleAtomicExpression" + // $ANTLR end "ruleMultiplicativeExpression" - // $ANTLR start "entryRuleCall" - // InternalSolverLanguageParser.g:702:1: entryRuleCall : ruleCall EOF ; - public final void entryRuleCall() throws RecognitionException { + // $ANTLR start "entryRuleExponentialExpression" + // InternalSolverLanguageParser.g:689:1: entryRuleExponentialExpression : ruleExponentialExpression EOF ; + public final void entryRuleExponentialExpression() throws RecognitionException { try { - // InternalSolverLanguageParser.g:703:1: ( ruleCall EOF ) - // InternalSolverLanguageParser.g:704:1: ruleCall EOF + // InternalSolverLanguageParser.g:690:1: ( ruleExponentialExpression EOF ) + // InternalSolverLanguageParser.g:691:1: ruleExponentialExpression EOF { - before(grammarAccess.getCallRule()); + before(grammarAccess.getExponentialExpressionRule()); pushFollow(FOLLOW_1); - ruleCall(); + ruleExponentialExpression(); state._fsp--; - after(grammarAccess.getCallRule()); + after(grammarAccess.getExponentialExpressionRule()); match(input,EOF,FOLLOW_2); } @@ -2041,35 +2015,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "entryRuleCall" + // $ANTLR end "entryRuleExponentialExpression" - // $ANTLR start "ruleCall" - // InternalSolverLanguageParser.g:711:1: ruleCall : ( ( rule__Call__Group__0 ) ) ; - public final void ruleCall() throws RecognitionException { + // $ANTLR start "ruleExponentialExpression" + // InternalSolverLanguageParser.g:698:1: ruleExponentialExpression : ( ( rule__ExponentialExpression__Group__0 ) ) ; + public final void ruleExponentialExpression() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:715:2: ( ( ( rule__Call__Group__0 ) ) ) - // InternalSolverLanguageParser.g:716:2: ( ( rule__Call__Group__0 ) ) + // InternalSolverLanguageParser.g:702:2: ( ( ( rule__ExponentialExpression__Group__0 ) ) ) + // InternalSolverLanguageParser.g:703:2: ( ( rule__ExponentialExpression__Group__0 ) ) { - // InternalSolverLanguageParser.g:716:2: ( ( rule__Call__Group__0 ) ) - // InternalSolverLanguageParser.g:717:3: ( rule__Call__Group__0 ) + // InternalSolverLanguageParser.g:703:2: ( ( rule__ExponentialExpression__Group__0 ) ) + // InternalSolverLanguageParser.g:704:3: ( rule__ExponentialExpression__Group__0 ) { - before(grammarAccess.getCallAccess().getGroup()); - // InternalSolverLanguageParser.g:718:3: ( rule__Call__Group__0 ) - // InternalSolverLanguageParser.g:718:4: rule__Call__Group__0 + before(grammarAccess.getExponentialExpressionAccess().getGroup()); + // InternalSolverLanguageParser.g:705:3: ( rule__ExponentialExpression__Group__0 ) + // InternalSolverLanguageParser.g:705:4: rule__ExponentialExpression__Group__0 { pushFollow(FOLLOW_2); - rule__Call__Group__0(); + rule__ExponentialExpression__Group__0(); state._fsp--; } - after(grammarAccess.getCallAccess().getGroup()); + after(grammarAccess.getExponentialExpressionAccess().getGroup()); } @@ -2088,23 +2062,23 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "ruleCall" + // $ANTLR end "ruleExponentialExpression" - // $ANTLR start "entryRuleArgumentList" - // InternalSolverLanguageParser.g:727:1: entryRuleArgumentList : ruleArgumentList EOF ; - public final void entryRuleArgumentList() throws RecognitionException { + // $ANTLR start "entryRuleCastExpression" + // InternalSolverLanguageParser.g:714:1: entryRuleCastExpression : ruleCastExpression EOF ; + public final void entryRuleCastExpression() throws RecognitionException { try { - // InternalSolverLanguageParser.g:728:1: ( ruleArgumentList EOF ) - // InternalSolverLanguageParser.g:729:1: ruleArgumentList EOF + // InternalSolverLanguageParser.g:715:1: ( ruleCastExpression EOF ) + // InternalSolverLanguageParser.g:716:1: ruleCastExpression EOF { - before(grammarAccess.getArgumentListRule()); + before(grammarAccess.getCastExpressionRule()); pushFollow(FOLLOW_1); - ruleArgumentList(); + ruleCastExpression(); state._fsp--; - after(grammarAccess.getArgumentListRule()); + after(grammarAccess.getCastExpressionRule()); match(input,EOF,FOLLOW_2); } @@ -2118,35 +2092,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "entryRuleArgumentList" + // $ANTLR end "entryRuleCastExpression" - // $ANTLR start "ruleArgumentList" - // InternalSolverLanguageParser.g:736:1: ruleArgumentList : ( ( rule__ArgumentList__Group__0 ) ) ; - public final void ruleArgumentList() throws RecognitionException { + // $ANTLR start "ruleCastExpression" + // InternalSolverLanguageParser.g:723:1: ruleCastExpression : ( ( rule__CastExpression__Group__0 ) ) ; + public final void ruleCastExpression() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:740:2: ( ( ( rule__ArgumentList__Group__0 ) ) ) - // InternalSolverLanguageParser.g:741:2: ( ( rule__ArgumentList__Group__0 ) ) + // InternalSolverLanguageParser.g:727:2: ( ( ( rule__CastExpression__Group__0 ) ) ) + // InternalSolverLanguageParser.g:728:2: ( ( rule__CastExpression__Group__0 ) ) { - // InternalSolverLanguageParser.g:741:2: ( ( rule__ArgumentList__Group__0 ) ) - // InternalSolverLanguageParser.g:742:3: ( rule__ArgumentList__Group__0 ) + // InternalSolverLanguageParser.g:728:2: ( ( rule__CastExpression__Group__0 ) ) + // InternalSolverLanguageParser.g:729:3: ( rule__CastExpression__Group__0 ) { - before(grammarAccess.getArgumentListAccess().getGroup()); - // InternalSolverLanguageParser.g:743:3: ( rule__ArgumentList__Group__0 ) - // InternalSolverLanguageParser.g:743:4: rule__ArgumentList__Group__0 + before(grammarAccess.getCastExpressionAccess().getGroup()); + // InternalSolverLanguageParser.g:730:3: ( rule__CastExpression__Group__0 ) + // InternalSolverLanguageParser.g:730:4: rule__CastExpression__Group__0 { pushFollow(FOLLOW_2); - rule__ArgumentList__Group__0(); + rule__CastExpression__Group__0(); state._fsp--; } - after(grammarAccess.getArgumentListAccess().getGroup()); + after(grammarAccess.getCastExpressionAccess().getGroup()); } @@ -2165,23 +2139,23 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "ruleArgumentList" + // $ANTLR end "ruleCastExpression" - // $ANTLR start "entryRuleArgument" - // InternalSolverLanguageParser.g:752:1: entryRuleArgument : ruleArgument EOF ; - public final void entryRuleArgument() throws RecognitionException { + // $ANTLR start "entryRuleUnaryExpression" + // InternalSolverLanguageParser.g:739:1: entryRuleUnaryExpression : ruleUnaryExpression EOF ; + public final void entryRuleUnaryExpression() throws RecognitionException { try { - // InternalSolverLanguageParser.g:753:1: ( ruleArgument EOF ) - // InternalSolverLanguageParser.g:754:1: ruleArgument EOF + // InternalSolverLanguageParser.g:740:1: ( ruleUnaryExpression EOF ) + // InternalSolverLanguageParser.g:741:1: ruleUnaryExpression EOF { - before(grammarAccess.getArgumentRule()); + before(grammarAccess.getUnaryExpressionRule()); pushFollow(FOLLOW_1); - ruleArgument(); + ruleUnaryExpression(); state._fsp--; - after(grammarAccess.getArgumentRule()); + after(grammarAccess.getUnaryExpressionRule()); match(input,EOF,FOLLOW_2); } @@ -2195,35 +2169,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "entryRuleArgument" + // $ANTLR end "entryRuleUnaryExpression" - // $ANTLR start "ruleArgument" - // InternalSolverLanguageParser.g:761:1: ruleArgument : ( ( rule__Argument__Alternatives ) ) ; - public final void ruleArgument() throws RecognitionException { + // $ANTLR start "ruleUnaryExpression" + // InternalSolverLanguageParser.g:748:1: ruleUnaryExpression : ( ( rule__UnaryExpression__Alternatives ) ) ; + public final void ruleUnaryExpression() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:765:2: ( ( ( rule__Argument__Alternatives ) ) ) - // InternalSolverLanguageParser.g:766:2: ( ( rule__Argument__Alternatives ) ) + // InternalSolverLanguageParser.g:752:2: ( ( ( rule__UnaryExpression__Alternatives ) ) ) + // InternalSolverLanguageParser.g:753:2: ( ( rule__UnaryExpression__Alternatives ) ) { - // InternalSolverLanguageParser.g:766:2: ( ( rule__Argument__Alternatives ) ) - // InternalSolverLanguageParser.g:767:3: ( rule__Argument__Alternatives ) + // InternalSolverLanguageParser.g:753:2: ( ( rule__UnaryExpression__Alternatives ) ) + // InternalSolverLanguageParser.g:754:3: ( rule__UnaryExpression__Alternatives ) { - before(grammarAccess.getArgumentAccess().getAlternatives()); - // InternalSolverLanguageParser.g:768:3: ( rule__Argument__Alternatives ) - // InternalSolverLanguageParser.g:768:4: rule__Argument__Alternatives + before(grammarAccess.getUnaryExpressionAccess().getAlternatives()); + // InternalSolverLanguageParser.g:755:3: ( rule__UnaryExpression__Alternatives ) + // InternalSolverLanguageParser.g:755:4: rule__UnaryExpression__Alternatives { pushFollow(FOLLOW_2); - rule__Argument__Alternatives(); + rule__UnaryExpression__Alternatives(); state._fsp--; } - after(grammarAccess.getArgumentAccess().getAlternatives()); + after(grammarAccess.getUnaryExpressionAccess().getAlternatives()); } @@ -2242,23 +2216,23 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "ruleArgument" + // $ANTLR end "ruleUnaryExpression" - // $ANTLR start "entryRuleExpressionArgument" - // InternalSolverLanguageParser.g:777:1: entryRuleExpressionArgument : ruleExpressionArgument EOF ; - public final void entryRuleExpressionArgument() throws RecognitionException { + // $ANTLR start "entryRuleAggregationExpression" + // InternalSolverLanguageParser.g:764:1: entryRuleAggregationExpression : ruleAggregationExpression EOF ; + public final void entryRuleAggregationExpression() throws RecognitionException { try { - // InternalSolverLanguageParser.g:778:1: ( ruleExpressionArgument EOF ) - // InternalSolverLanguageParser.g:779:1: ruleExpressionArgument EOF + // InternalSolverLanguageParser.g:765:1: ( ruleAggregationExpression EOF ) + // InternalSolverLanguageParser.g:766:1: ruleAggregationExpression EOF { - before(grammarAccess.getExpressionArgumentRule()); + before(grammarAccess.getAggregationExpressionRule()); pushFollow(FOLLOW_1); - ruleExpressionArgument(); + ruleAggregationExpression(); state._fsp--; - after(grammarAccess.getExpressionArgumentRule()); + after(grammarAccess.getAggregationExpressionRule()); match(input,EOF,FOLLOW_2); } @@ -2272,35 +2246,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "entryRuleExpressionArgument" + // $ANTLR end "entryRuleAggregationExpression" - // $ANTLR start "ruleExpressionArgument" - // InternalSolverLanguageParser.g:786:1: ruleExpressionArgument : ( ( rule__ExpressionArgument__BodyAssignment ) ) ; - public final void ruleExpressionArgument() throws RecognitionException { + // $ANTLR start "ruleAggregationExpression" + // InternalSolverLanguageParser.g:773:1: ruleAggregationExpression : ( ( rule__AggregationExpression__Alternatives ) ) ; + public final void ruleAggregationExpression() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:790:2: ( ( ( rule__ExpressionArgument__BodyAssignment ) ) ) - // InternalSolverLanguageParser.g:791:2: ( ( rule__ExpressionArgument__BodyAssignment ) ) + // InternalSolverLanguageParser.g:777:2: ( ( ( rule__AggregationExpression__Alternatives ) ) ) + // InternalSolverLanguageParser.g:778:2: ( ( rule__AggregationExpression__Alternatives ) ) { - // InternalSolverLanguageParser.g:791:2: ( ( rule__ExpressionArgument__BodyAssignment ) ) - // InternalSolverLanguageParser.g:792:3: ( rule__ExpressionArgument__BodyAssignment ) + // InternalSolverLanguageParser.g:778:2: ( ( rule__AggregationExpression__Alternatives ) ) + // InternalSolverLanguageParser.g:779:3: ( rule__AggregationExpression__Alternatives ) { - before(grammarAccess.getExpressionArgumentAccess().getBodyAssignment()); - // InternalSolverLanguageParser.g:793:3: ( rule__ExpressionArgument__BodyAssignment ) - // InternalSolverLanguageParser.g:793:4: rule__ExpressionArgument__BodyAssignment + before(grammarAccess.getAggregationExpressionAccess().getAlternatives()); + // InternalSolverLanguageParser.g:780:3: ( rule__AggregationExpression__Alternatives ) + // InternalSolverLanguageParser.g:780:4: rule__AggregationExpression__Alternatives { pushFollow(FOLLOW_2); - rule__ExpressionArgument__BodyAssignment(); + rule__AggregationExpression__Alternatives(); state._fsp--; } - after(grammarAccess.getExpressionArgumentAccess().getBodyAssignment()); + after(grammarAccess.getAggregationExpressionAccess().getAlternatives()); } @@ -2319,23 +2293,23 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "ruleExpressionArgument" + // $ANTLR end "ruleAggregationExpression" - // $ANTLR start "entryRuleStarArgument" - // InternalSolverLanguageParser.g:802:1: entryRuleStarArgument : ruleStarArgument EOF ; - public final void entryRuleStarArgument() throws RecognitionException { + // $ANTLR start "entryRuleLocalVariables" + // InternalSolverLanguageParser.g:789:1: entryRuleLocalVariables : ruleLocalVariables EOF ; + public final void entryRuleLocalVariables() throws RecognitionException { try { - // InternalSolverLanguageParser.g:803:1: ( ruleStarArgument EOF ) - // InternalSolverLanguageParser.g:804:1: ruleStarArgument EOF + // InternalSolverLanguageParser.g:790:1: ( ruleLocalVariables EOF ) + // InternalSolverLanguageParser.g:791:1: ruleLocalVariables EOF { - before(grammarAccess.getStarArgumentRule()); + before(grammarAccess.getLocalVariablesRule()); pushFollow(FOLLOW_1); - ruleStarArgument(); + ruleLocalVariables(); state._fsp--; - after(grammarAccess.getStarArgumentRule()); + after(grammarAccess.getLocalVariablesRule()); match(input,EOF,FOLLOW_2); } @@ -2349,35 +2323,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "entryRuleStarArgument" + // $ANTLR end "entryRuleLocalVariables" - // $ANTLR start "ruleStarArgument" - // InternalSolverLanguageParser.g:811:1: ruleStarArgument : ( ( rule__StarArgument__Group__0 ) ) ; - public final void ruleStarArgument() throws RecognitionException { + // $ANTLR start "ruleLocalVariables" + // InternalSolverLanguageParser.g:798:1: ruleLocalVariables : ( ( rule__LocalVariables__Group__0 ) ) ; + public final void ruleLocalVariables() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:815:2: ( ( ( rule__StarArgument__Group__0 ) ) ) - // InternalSolverLanguageParser.g:816:2: ( ( rule__StarArgument__Group__0 ) ) + // InternalSolverLanguageParser.g:802:2: ( ( ( rule__LocalVariables__Group__0 ) ) ) + // InternalSolverLanguageParser.g:803:2: ( ( rule__LocalVariables__Group__0 ) ) { - // InternalSolverLanguageParser.g:816:2: ( ( rule__StarArgument__Group__0 ) ) - // InternalSolverLanguageParser.g:817:3: ( rule__StarArgument__Group__0 ) + // InternalSolverLanguageParser.g:803:2: ( ( rule__LocalVariables__Group__0 ) ) + // InternalSolverLanguageParser.g:804:3: ( rule__LocalVariables__Group__0 ) { - before(grammarAccess.getStarArgumentAccess().getGroup()); - // InternalSolverLanguageParser.g:818:3: ( rule__StarArgument__Group__0 ) - // InternalSolverLanguageParser.g:818:4: rule__StarArgument__Group__0 + before(grammarAccess.getLocalVariablesAccess().getGroup()); + // InternalSolverLanguageParser.g:805:3: ( rule__LocalVariables__Group__0 ) + // InternalSolverLanguageParser.g:805:4: rule__LocalVariables__Group__0 { pushFollow(FOLLOW_2); - rule__StarArgument__Group__0(); + rule__LocalVariables__Group__0(); state._fsp--; } - after(grammarAccess.getStarArgumentAccess().getGroup()); + after(grammarAccess.getLocalVariablesAccess().getGroup()); } @@ -2396,23 +2370,23 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "ruleStarArgument" + // $ANTLR end "ruleLocalVariables" - // $ANTLR start "entryRuleTypedArgument" - // InternalSolverLanguageParser.g:827:1: entryRuleTypedArgument : ruleTypedArgument EOF ; - public final void entryRuleTypedArgument() throws RecognitionException { + // $ANTLR start "entryRuleQuantifiedExpression" + // InternalSolverLanguageParser.g:814:1: entryRuleQuantifiedExpression : ruleQuantifiedExpression EOF ; + public final void entryRuleQuantifiedExpression() throws RecognitionException { try { - // InternalSolverLanguageParser.g:828:1: ( ruleTypedArgument EOF ) - // InternalSolverLanguageParser.g:829:1: ruleTypedArgument EOF + // InternalSolverLanguageParser.g:815:1: ( ruleQuantifiedExpression EOF ) + // InternalSolverLanguageParser.g:816:1: ruleQuantifiedExpression EOF { - before(grammarAccess.getTypedArgumentRule()); + before(grammarAccess.getQuantifiedExpressionRule()); pushFollow(FOLLOW_1); - ruleTypedArgument(); + ruleQuantifiedExpression(); state._fsp--; - after(grammarAccess.getTypedArgumentRule()); + after(grammarAccess.getQuantifiedExpressionRule()); match(input,EOF,FOLLOW_2); } @@ -2426,35 +2400,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "entryRuleTypedArgument" + // $ANTLR end "entryRuleQuantifiedExpression" - // $ANTLR start "ruleTypedArgument" - // InternalSolverLanguageParser.g:836:1: ruleTypedArgument : ( ( rule__TypedArgument__Group__0 ) ) ; - public final void ruleTypedArgument() throws RecognitionException { + // $ANTLR start "ruleQuantifiedExpression" + // InternalSolverLanguageParser.g:823:1: ruleQuantifiedExpression : ( ( rule__QuantifiedExpression__Group__0 ) ) ; + public final void ruleQuantifiedExpression() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:840:2: ( ( ( rule__TypedArgument__Group__0 ) ) ) - // InternalSolverLanguageParser.g:841:2: ( ( rule__TypedArgument__Group__0 ) ) + // InternalSolverLanguageParser.g:827:2: ( ( ( rule__QuantifiedExpression__Group__0 ) ) ) + // InternalSolverLanguageParser.g:828:2: ( ( rule__QuantifiedExpression__Group__0 ) ) { - // InternalSolverLanguageParser.g:841:2: ( ( rule__TypedArgument__Group__0 ) ) - // InternalSolverLanguageParser.g:842:3: ( rule__TypedArgument__Group__0 ) + // InternalSolverLanguageParser.g:828:2: ( ( rule__QuantifiedExpression__Group__0 ) ) + // InternalSolverLanguageParser.g:829:3: ( rule__QuantifiedExpression__Group__0 ) { - before(grammarAccess.getTypedArgumentAccess().getGroup()); - // InternalSolverLanguageParser.g:843:3: ( rule__TypedArgument__Group__0 ) - // InternalSolverLanguageParser.g:843:4: rule__TypedArgument__Group__0 + before(grammarAccess.getQuantifiedExpressionAccess().getGroup()); + // InternalSolverLanguageParser.g:830:3: ( rule__QuantifiedExpression__Group__0 ) + // InternalSolverLanguageParser.g:830:4: rule__QuantifiedExpression__Group__0 { pushFollow(FOLLOW_2); - rule__TypedArgument__Group__0(); + rule__QuantifiedExpression__Group__0(); state._fsp--; } - after(grammarAccess.getTypedArgumentAccess().getGroup()); + after(grammarAccess.getQuantifiedExpressionAccess().getGroup()); } @@ -2473,23 +2447,23 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "ruleTypedArgument" + // $ANTLR end "ruleQuantifiedExpression" - // $ANTLR start "entryRuleTypedStarArgument" - // InternalSolverLanguageParser.g:852:1: entryRuleTypedStarArgument : ruleTypedStarArgument EOF ; - public final void entryRuleTypedStarArgument() throws RecognitionException { + // $ANTLR start "entryRuleAggregation" + // InternalSolverLanguageParser.g:839:1: entryRuleAggregation : ruleAggregation EOF ; + public final void entryRuleAggregation() throws RecognitionException { try { - // InternalSolverLanguageParser.g:853:1: ( ruleTypedStarArgument EOF ) - // InternalSolverLanguageParser.g:854:1: ruleTypedStarArgument EOF + // InternalSolverLanguageParser.g:840:1: ( ruleAggregation EOF ) + // InternalSolverLanguageParser.g:841:1: ruleAggregation EOF { - before(grammarAccess.getTypedStarArgumentRule()); + before(grammarAccess.getAggregationRule()); pushFollow(FOLLOW_1); - ruleTypedStarArgument(); + ruleAggregation(); state._fsp--; - after(grammarAccess.getTypedStarArgumentRule()); + after(grammarAccess.getAggregationRule()); match(input,EOF,FOLLOW_2); } @@ -2503,35 +2477,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "entryRuleTypedStarArgument" + // $ANTLR end "entryRuleAggregation" - // $ANTLR start "ruleTypedStarArgument" - // InternalSolverLanguageParser.g:861:1: ruleTypedStarArgument : ( ( rule__TypedStarArgument__Group__0 ) ) ; - public final void ruleTypedStarArgument() throws RecognitionException { + // $ANTLR start "ruleAggregation" + // InternalSolverLanguageParser.g:848:1: ruleAggregation : ( ( rule__Aggregation__Group__0 ) ) ; + public final void ruleAggregation() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:865:2: ( ( ( rule__TypedStarArgument__Group__0 ) ) ) - // InternalSolverLanguageParser.g:866:2: ( ( rule__TypedStarArgument__Group__0 ) ) + // InternalSolverLanguageParser.g:852:2: ( ( ( rule__Aggregation__Group__0 ) ) ) + // InternalSolverLanguageParser.g:853:2: ( ( rule__Aggregation__Group__0 ) ) { - // InternalSolverLanguageParser.g:866:2: ( ( rule__TypedStarArgument__Group__0 ) ) - // InternalSolverLanguageParser.g:867:3: ( rule__TypedStarArgument__Group__0 ) + // InternalSolverLanguageParser.g:853:2: ( ( rule__Aggregation__Group__0 ) ) + // InternalSolverLanguageParser.g:854:3: ( rule__Aggregation__Group__0 ) { - before(grammarAccess.getTypedStarArgumentAccess().getGroup()); - // InternalSolverLanguageParser.g:868:3: ( rule__TypedStarArgument__Group__0 ) - // InternalSolverLanguageParser.g:868:4: rule__TypedStarArgument__Group__0 + before(grammarAccess.getAggregationAccess().getGroup()); + // InternalSolverLanguageParser.g:855:3: ( rule__Aggregation__Group__0 ) + // InternalSolverLanguageParser.g:855:4: rule__Aggregation__Group__0 { pushFollow(FOLLOW_2); - rule__TypedStarArgument__Group__0(); + rule__Aggregation__Group__0(); state._fsp--; } - after(grammarAccess.getTypedStarArgumentAccess().getGroup()); + after(grammarAccess.getAggregationAccess().getGroup()); } @@ -2550,23 +2524,23 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "ruleTypedStarArgument" + // $ANTLR end "ruleAggregation" - // $ANTLR start "entryRuleReference" - // InternalSolverLanguageParser.g:877:1: entryRuleReference : ruleReference EOF ; - public final void entryRuleReference() throws RecognitionException { + // $ANTLR start "entryRuleAtomicExpression" + // InternalSolverLanguageParser.g:864:1: entryRuleAtomicExpression : ruleAtomicExpression EOF ; + public final void entryRuleAtomicExpression() throws RecognitionException { try { - // InternalSolverLanguageParser.g:878:1: ( ruleReference EOF ) - // InternalSolverLanguageParser.g:879:1: ruleReference EOF + // InternalSolverLanguageParser.g:865:1: ( ruleAtomicExpression EOF ) + // InternalSolverLanguageParser.g:866:1: ruleAtomicExpression EOF { - before(grammarAccess.getReferenceRule()); + before(grammarAccess.getAtomicExpressionRule()); pushFollow(FOLLOW_1); - ruleReference(); + ruleAtomicExpression(); state._fsp--; - after(grammarAccess.getReferenceRule()); + after(grammarAccess.getAtomicExpressionRule()); match(input,EOF,FOLLOW_2); } @@ -2580,35 +2554,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "entryRuleReference" + // $ANTLR end "entryRuleAtomicExpression" - // $ANTLR start "ruleReference" - // InternalSolverLanguageParser.g:886:1: ruleReference : ( ( rule__Reference__ReferredAssignment ) ) ; - public final void ruleReference() throws RecognitionException { + // $ANTLR start "ruleAtomicExpression" + // InternalSolverLanguageParser.g:873:1: ruleAtomicExpression : ( ( rule__AtomicExpression__Alternatives ) ) ; + public final void ruleAtomicExpression() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:890:2: ( ( ( rule__Reference__ReferredAssignment ) ) ) - // InternalSolverLanguageParser.g:891:2: ( ( rule__Reference__ReferredAssignment ) ) + // InternalSolverLanguageParser.g:877:2: ( ( ( rule__AtomicExpression__Alternatives ) ) ) + // InternalSolverLanguageParser.g:878:2: ( ( rule__AtomicExpression__Alternatives ) ) { - // InternalSolverLanguageParser.g:891:2: ( ( rule__Reference__ReferredAssignment ) ) - // InternalSolverLanguageParser.g:892:3: ( rule__Reference__ReferredAssignment ) + // InternalSolverLanguageParser.g:878:2: ( ( rule__AtomicExpression__Alternatives ) ) + // InternalSolverLanguageParser.g:879:3: ( rule__AtomicExpression__Alternatives ) { - before(grammarAccess.getReferenceAccess().getReferredAssignment()); - // InternalSolverLanguageParser.g:893:3: ( rule__Reference__ReferredAssignment ) - // InternalSolverLanguageParser.g:893:4: rule__Reference__ReferredAssignment + before(grammarAccess.getAtomicExpressionAccess().getAlternatives()); + // InternalSolverLanguageParser.g:880:3: ( rule__AtomicExpression__Alternatives ) + // InternalSolverLanguageParser.g:880:4: rule__AtomicExpression__Alternatives { pushFollow(FOLLOW_2); - rule__Reference__ReferredAssignment(); + rule__AtomicExpression__Alternatives(); state._fsp--; } - after(grammarAccess.getReferenceAccess().getReferredAssignment()); + after(grammarAccess.getAtomicExpressionAccess().getAlternatives()); } @@ -2627,23 +2601,23 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "ruleReference" + // $ANTLR end "ruleAtomicExpression" - // $ANTLR start "entryRuleInterval" - // InternalSolverLanguageParser.g:902:1: entryRuleInterval : ruleInterval EOF ; - public final void entryRuleInterval() throws RecognitionException { + // $ANTLR start "entryRuleCall" + // InternalSolverLanguageParser.g:889:1: entryRuleCall : ruleCall EOF ; + public final void entryRuleCall() throws RecognitionException { try { - // InternalSolverLanguageParser.g:903:1: ( ruleInterval EOF ) - // InternalSolverLanguageParser.g:904:1: ruleInterval EOF + // InternalSolverLanguageParser.g:890:1: ( ruleCall EOF ) + // InternalSolverLanguageParser.g:891:1: ruleCall EOF { - before(grammarAccess.getIntervalRule()); + before(grammarAccess.getCallRule()); pushFollow(FOLLOW_1); - ruleInterval(); + ruleCall(); state._fsp--; - after(grammarAccess.getIntervalRule()); + after(grammarAccess.getCallRule()); match(input,EOF,FOLLOW_2); } @@ -2657,35 +2631,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "entryRuleInterval" + // $ANTLR end "entryRuleCall" - // $ANTLR start "ruleInterval" - // InternalSolverLanguageParser.g:911:1: ruleInterval : ( ( rule__Interval__Group__0 ) ) ; - public final void ruleInterval() throws RecognitionException { + // $ANTLR start "ruleCall" + // InternalSolverLanguageParser.g:898:1: ruleCall : ( ( rule__Call__Group__0 ) ) ; + public final void ruleCall() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:915:2: ( ( ( rule__Interval__Group__0 ) ) ) - // InternalSolverLanguageParser.g:916:2: ( ( rule__Interval__Group__0 ) ) + // InternalSolverLanguageParser.g:902:2: ( ( ( rule__Call__Group__0 ) ) ) + // InternalSolverLanguageParser.g:903:2: ( ( rule__Call__Group__0 ) ) { - // InternalSolverLanguageParser.g:916:2: ( ( rule__Interval__Group__0 ) ) - // InternalSolverLanguageParser.g:917:3: ( rule__Interval__Group__0 ) + // InternalSolverLanguageParser.g:903:2: ( ( rule__Call__Group__0 ) ) + // InternalSolverLanguageParser.g:904:3: ( rule__Call__Group__0 ) { - before(grammarAccess.getIntervalAccess().getGroup()); - // InternalSolverLanguageParser.g:918:3: ( rule__Interval__Group__0 ) - // InternalSolverLanguageParser.g:918:4: rule__Interval__Group__0 + before(grammarAccess.getCallAccess().getGroup()); + // InternalSolverLanguageParser.g:905:3: ( rule__Call__Group__0 ) + // InternalSolverLanguageParser.g:905:4: rule__Call__Group__0 { pushFollow(FOLLOW_2); - rule__Interval__Group__0(); + rule__Call__Group__0(); state._fsp--; } - after(grammarAccess.getIntervalAccess().getGroup()); + after(grammarAccess.getCallAccess().getGroup()); } @@ -2704,23 +2678,23 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "ruleInterval" + // $ANTLR end "ruleCall" - // $ANTLR start "entryRuleLiteral" - // InternalSolverLanguageParser.g:927:1: entryRuleLiteral : ruleLiteral EOF ; - public final void entryRuleLiteral() throws RecognitionException { + // $ANTLR start "entryRuleArgumentList" + // InternalSolverLanguageParser.g:914:1: entryRuleArgumentList : ruleArgumentList EOF ; + public final void entryRuleArgumentList() throws RecognitionException { try { - // InternalSolverLanguageParser.g:928:1: ( ruleLiteral EOF ) - // InternalSolverLanguageParser.g:929:1: ruleLiteral EOF + // InternalSolverLanguageParser.g:915:1: ( ruleArgumentList EOF ) + // InternalSolverLanguageParser.g:916:1: ruleArgumentList EOF { - before(grammarAccess.getLiteralRule()); + before(grammarAccess.getArgumentListRule()); pushFollow(FOLLOW_1); - ruleLiteral(); + ruleArgumentList(); state._fsp--; - after(grammarAccess.getLiteralRule()); + after(grammarAccess.getArgumentListRule()); match(input,EOF,FOLLOW_2); } @@ -2734,35 +2708,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "entryRuleLiteral" + // $ANTLR end "entryRuleArgumentList" - // $ANTLR start "ruleLiteral" - // InternalSolverLanguageParser.g:936:1: ruleLiteral : ( ( rule__Literal__Alternatives ) ) ; - public final void ruleLiteral() throws RecognitionException { + // $ANTLR start "ruleArgumentList" + // InternalSolverLanguageParser.g:923:1: ruleArgumentList : ( ( rule__ArgumentList__Group__0 ) ) ; + public final void ruleArgumentList() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:940:2: ( ( ( rule__Literal__Alternatives ) ) ) - // InternalSolverLanguageParser.g:941:2: ( ( rule__Literal__Alternatives ) ) + // InternalSolverLanguageParser.g:927:2: ( ( ( rule__ArgumentList__Group__0 ) ) ) + // InternalSolverLanguageParser.g:928:2: ( ( rule__ArgumentList__Group__0 ) ) { - // InternalSolverLanguageParser.g:941:2: ( ( rule__Literal__Alternatives ) ) - // InternalSolverLanguageParser.g:942:3: ( rule__Literal__Alternatives ) + // InternalSolverLanguageParser.g:928:2: ( ( rule__ArgumentList__Group__0 ) ) + // InternalSolverLanguageParser.g:929:3: ( rule__ArgumentList__Group__0 ) { - before(grammarAccess.getLiteralAccess().getAlternatives()); - // InternalSolverLanguageParser.g:943:3: ( rule__Literal__Alternatives ) - // InternalSolverLanguageParser.g:943:4: rule__Literal__Alternatives + before(grammarAccess.getArgumentListAccess().getGroup()); + // InternalSolverLanguageParser.g:930:3: ( rule__ArgumentList__Group__0 ) + // InternalSolverLanguageParser.g:930:4: rule__ArgumentList__Group__0 { pushFollow(FOLLOW_2); - rule__Literal__Alternatives(); + rule__ArgumentList__Group__0(); state._fsp--; } - after(grammarAccess.getLiteralAccess().getAlternatives()); + after(grammarAccess.getArgumentListAccess().getGroup()); } @@ -2781,23 +2755,23 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "ruleLiteral" + // $ANTLR end "ruleArgumentList" - // $ANTLR start "entryRuleLogicLiteral" - // InternalSolverLanguageParser.g:952:1: entryRuleLogicLiteral : ruleLogicLiteral EOF ; - public final void entryRuleLogicLiteral() throws RecognitionException { + // $ANTLR start "entryRuleArgument" + // InternalSolverLanguageParser.g:939:1: entryRuleArgument : ruleArgument EOF ; + public final void entryRuleArgument() throws RecognitionException { try { - // InternalSolverLanguageParser.g:953:1: ( ruleLogicLiteral EOF ) - // InternalSolverLanguageParser.g:954:1: ruleLogicLiteral EOF + // InternalSolverLanguageParser.g:940:1: ( ruleArgument EOF ) + // InternalSolverLanguageParser.g:941:1: ruleArgument EOF { - before(grammarAccess.getLogicLiteralRule()); + before(grammarAccess.getArgumentRule()); pushFollow(FOLLOW_1); - ruleLogicLiteral(); + ruleArgument(); state._fsp--; - after(grammarAccess.getLogicLiteralRule()); + after(grammarAccess.getArgumentRule()); match(input,EOF,FOLLOW_2); } @@ -2811,35 +2785,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "entryRuleLogicLiteral" + // $ANTLR end "entryRuleArgument" - // $ANTLR start "ruleLogicLiteral" - // InternalSolverLanguageParser.g:961:1: ruleLogicLiteral : ( ( rule__LogicLiteral__ValueAssignment ) ) ; - public final void ruleLogicLiteral() throws RecognitionException { + // $ANTLR start "ruleArgument" + // InternalSolverLanguageParser.g:948:1: ruleArgument : ( ( rule__Argument__Alternatives ) ) ; + public final void ruleArgument() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:965:2: ( ( ( rule__LogicLiteral__ValueAssignment ) ) ) - // InternalSolverLanguageParser.g:966:2: ( ( rule__LogicLiteral__ValueAssignment ) ) + // InternalSolverLanguageParser.g:952:2: ( ( ( rule__Argument__Alternatives ) ) ) + // InternalSolverLanguageParser.g:953:2: ( ( rule__Argument__Alternatives ) ) { - // InternalSolverLanguageParser.g:966:2: ( ( rule__LogicLiteral__ValueAssignment ) ) - // InternalSolverLanguageParser.g:967:3: ( rule__LogicLiteral__ValueAssignment ) + // InternalSolverLanguageParser.g:953:2: ( ( rule__Argument__Alternatives ) ) + // InternalSolverLanguageParser.g:954:3: ( rule__Argument__Alternatives ) { - before(grammarAccess.getLogicLiteralAccess().getValueAssignment()); - // InternalSolverLanguageParser.g:968:3: ( rule__LogicLiteral__ValueAssignment ) - // InternalSolverLanguageParser.g:968:4: rule__LogicLiteral__ValueAssignment + before(grammarAccess.getArgumentAccess().getAlternatives()); + // InternalSolverLanguageParser.g:955:3: ( rule__Argument__Alternatives ) + // InternalSolverLanguageParser.g:955:4: rule__Argument__Alternatives { pushFollow(FOLLOW_2); - rule__LogicLiteral__ValueAssignment(); + rule__Argument__Alternatives(); state._fsp--; } - after(grammarAccess.getLogicLiteralAccess().getValueAssignment()); + after(grammarAccess.getArgumentAccess().getAlternatives()); } @@ -2858,23 +2832,23 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "ruleLogicLiteral" + // $ANTLR end "ruleArgument" - // $ANTLR start "entryRuleNumericLiteral" - // InternalSolverLanguageParser.g:977:1: entryRuleNumericLiteral : ruleNumericLiteral EOF ; - public final void entryRuleNumericLiteral() throws RecognitionException { + // $ANTLR start "entryRuleExpressionArgument" + // InternalSolverLanguageParser.g:964:1: entryRuleExpressionArgument : ruleExpressionArgument EOF ; + public final void entryRuleExpressionArgument() throws RecognitionException { try { - // InternalSolverLanguageParser.g:978:1: ( ruleNumericLiteral EOF ) - // InternalSolverLanguageParser.g:979:1: ruleNumericLiteral EOF + // InternalSolverLanguageParser.g:965:1: ( ruleExpressionArgument EOF ) + // InternalSolverLanguageParser.g:966:1: ruleExpressionArgument EOF { - before(grammarAccess.getNumericLiteralRule()); + before(grammarAccess.getExpressionArgumentRule()); pushFollow(FOLLOW_1); - ruleNumericLiteral(); + ruleExpressionArgument(); state._fsp--; - after(grammarAccess.getNumericLiteralRule()); + after(grammarAccess.getExpressionArgumentRule()); match(input,EOF,FOLLOW_2); } @@ -2888,35 +2862,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "entryRuleNumericLiteral" + // $ANTLR end "entryRuleExpressionArgument" - // $ANTLR start "ruleNumericLiteral" - // InternalSolverLanguageParser.g:986:1: ruleNumericLiteral : ( ( rule__NumericLiteral__ValueAssignment ) ) ; - public final void ruleNumericLiteral() throws RecognitionException { + // $ANTLR start "ruleExpressionArgument" + // InternalSolverLanguageParser.g:973:1: ruleExpressionArgument : ( ( rule__ExpressionArgument__BodyAssignment ) ) ; + public final void ruleExpressionArgument() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:990:2: ( ( ( rule__NumericLiteral__ValueAssignment ) ) ) - // InternalSolverLanguageParser.g:991:2: ( ( rule__NumericLiteral__ValueAssignment ) ) + // InternalSolverLanguageParser.g:977:2: ( ( ( rule__ExpressionArgument__BodyAssignment ) ) ) + // InternalSolverLanguageParser.g:978:2: ( ( rule__ExpressionArgument__BodyAssignment ) ) { - // InternalSolverLanguageParser.g:991:2: ( ( rule__NumericLiteral__ValueAssignment ) ) - // InternalSolverLanguageParser.g:992:3: ( rule__NumericLiteral__ValueAssignment ) + // InternalSolverLanguageParser.g:978:2: ( ( rule__ExpressionArgument__BodyAssignment ) ) + // InternalSolverLanguageParser.g:979:3: ( rule__ExpressionArgument__BodyAssignment ) { - before(grammarAccess.getNumericLiteralAccess().getValueAssignment()); - // InternalSolverLanguageParser.g:993:3: ( rule__NumericLiteral__ValueAssignment ) - // InternalSolverLanguageParser.g:993:4: rule__NumericLiteral__ValueAssignment + before(grammarAccess.getExpressionArgumentAccess().getBodyAssignment()); + // InternalSolverLanguageParser.g:980:3: ( rule__ExpressionArgument__BodyAssignment ) + // InternalSolverLanguageParser.g:980:4: rule__ExpressionArgument__BodyAssignment { pushFollow(FOLLOW_2); - rule__NumericLiteral__ValueAssignment(); + rule__ExpressionArgument__BodyAssignment(); state._fsp--; } - after(grammarAccess.getNumericLiteralAccess().getValueAssignment()); + after(grammarAccess.getExpressionArgumentAccess().getBodyAssignment()); } @@ -2935,23 +2909,23 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "ruleNumericLiteral" + // $ANTLR end "ruleExpressionArgument" - // $ANTLR start "entryRuleInfinityLiteral" - // InternalSolverLanguageParser.g:1002:1: entryRuleInfinityLiteral : ruleInfinityLiteral EOF ; - public final void entryRuleInfinityLiteral() throws RecognitionException { + // $ANTLR start "entryRuleStarArgument" + // InternalSolverLanguageParser.g:989:1: entryRuleStarArgument : ruleStarArgument EOF ; + public final void entryRuleStarArgument() throws RecognitionException { try { - // InternalSolverLanguageParser.g:1003:1: ( ruleInfinityLiteral EOF ) - // InternalSolverLanguageParser.g:1004:1: ruleInfinityLiteral EOF + // InternalSolverLanguageParser.g:990:1: ( ruleStarArgument EOF ) + // InternalSolverLanguageParser.g:991:1: ruleStarArgument EOF { - before(grammarAccess.getInfinityLiteralRule()); + before(grammarAccess.getStarArgumentRule()); pushFollow(FOLLOW_1); - ruleInfinityLiteral(); + ruleStarArgument(); state._fsp--; - after(grammarAccess.getInfinityLiteralRule()); + after(grammarAccess.getStarArgumentRule()); match(input,EOF,FOLLOW_2); } @@ -2965,35 +2939,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "entryRuleInfinityLiteral" + // $ANTLR end "entryRuleStarArgument" - // $ANTLR start "ruleInfinityLiteral" - // InternalSolverLanguageParser.g:1011:1: ruleInfinityLiteral : ( ( rule__InfinityLiteral__Group__0 ) ) ; - public final void ruleInfinityLiteral() throws RecognitionException { + // $ANTLR start "ruleStarArgument" + // InternalSolverLanguageParser.g:998:1: ruleStarArgument : ( ( rule__StarArgument__Group__0 ) ) ; + public final void ruleStarArgument() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:1015:2: ( ( ( rule__InfinityLiteral__Group__0 ) ) ) - // InternalSolverLanguageParser.g:1016:2: ( ( rule__InfinityLiteral__Group__0 ) ) + // InternalSolverLanguageParser.g:1002:2: ( ( ( rule__StarArgument__Group__0 ) ) ) + // InternalSolverLanguageParser.g:1003:2: ( ( rule__StarArgument__Group__0 ) ) { - // InternalSolverLanguageParser.g:1016:2: ( ( rule__InfinityLiteral__Group__0 ) ) - // InternalSolverLanguageParser.g:1017:3: ( rule__InfinityLiteral__Group__0 ) + // InternalSolverLanguageParser.g:1003:2: ( ( rule__StarArgument__Group__0 ) ) + // InternalSolverLanguageParser.g:1004:3: ( rule__StarArgument__Group__0 ) { - before(grammarAccess.getInfinityLiteralAccess().getGroup()); - // InternalSolverLanguageParser.g:1018:3: ( rule__InfinityLiteral__Group__0 ) - // InternalSolverLanguageParser.g:1018:4: rule__InfinityLiteral__Group__0 + before(grammarAccess.getStarArgumentAccess().getGroup()); + // InternalSolverLanguageParser.g:1005:3: ( rule__StarArgument__Group__0 ) + // InternalSolverLanguageParser.g:1005:4: rule__StarArgument__Group__0 { pushFollow(FOLLOW_2); - rule__InfinityLiteral__Group__0(); + rule__StarArgument__Group__0(); state._fsp--; } - after(grammarAccess.getInfinityLiteralAccess().getGroup()); + after(grammarAccess.getStarArgumentAccess().getGroup()); } @@ -3012,23 +2986,23 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "ruleInfinityLiteral" + // $ANTLR end "ruleStarArgument" - // $ANTLR start "entryRuleEmptyIntervalLiteral" - // InternalSolverLanguageParser.g:1027:1: entryRuleEmptyIntervalLiteral : ruleEmptyIntervalLiteral EOF ; - public final void entryRuleEmptyIntervalLiteral() throws RecognitionException { + // $ANTLR start "entryRuleTypedArgument" + // InternalSolverLanguageParser.g:1014:1: entryRuleTypedArgument : ruleTypedArgument EOF ; + public final void entryRuleTypedArgument() throws RecognitionException { try { - // InternalSolverLanguageParser.g:1028:1: ( ruleEmptyIntervalLiteral EOF ) - // InternalSolverLanguageParser.g:1029:1: ruleEmptyIntervalLiteral EOF + // InternalSolverLanguageParser.g:1015:1: ( ruleTypedArgument EOF ) + // InternalSolverLanguageParser.g:1016:1: ruleTypedArgument EOF { - before(grammarAccess.getEmptyIntervalLiteralRule()); + before(grammarAccess.getTypedArgumentRule()); pushFollow(FOLLOW_1); - ruleEmptyIntervalLiteral(); + ruleTypedArgument(); state._fsp--; - after(grammarAccess.getEmptyIntervalLiteralRule()); + after(grammarAccess.getTypedArgumentRule()); match(input,EOF,FOLLOW_2); } @@ -3042,35 +3016,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "entryRuleEmptyIntervalLiteral" + // $ANTLR end "entryRuleTypedArgument" - // $ANTLR start "ruleEmptyIntervalLiteral" - // InternalSolverLanguageParser.g:1036:1: ruleEmptyIntervalLiteral : ( ( rule__EmptyIntervalLiteral__Group__0 ) ) ; - public final void ruleEmptyIntervalLiteral() throws RecognitionException { + // $ANTLR start "ruleTypedArgument" + // InternalSolverLanguageParser.g:1023:1: ruleTypedArgument : ( ( rule__TypedArgument__Group__0 ) ) ; + public final void ruleTypedArgument() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:1040:2: ( ( ( rule__EmptyIntervalLiteral__Group__0 ) ) ) - // InternalSolverLanguageParser.g:1041:2: ( ( rule__EmptyIntervalLiteral__Group__0 ) ) + // InternalSolverLanguageParser.g:1027:2: ( ( ( rule__TypedArgument__Group__0 ) ) ) + // InternalSolverLanguageParser.g:1028:2: ( ( rule__TypedArgument__Group__0 ) ) { - // InternalSolverLanguageParser.g:1041:2: ( ( rule__EmptyIntervalLiteral__Group__0 ) ) - // InternalSolverLanguageParser.g:1042:3: ( rule__EmptyIntervalLiteral__Group__0 ) + // InternalSolverLanguageParser.g:1028:2: ( ( rule__TypedArgument__Group__0 ) ) + // InternalSolverLanguageParser.g:1029:3: ( rule__TypedArgument__Group__0 ) { - before(grammarAccess.getEmptyIntervalLiteralAccess().getGroup()); - // InternalSolverLanguageParser.g:1043:3: ( rule__EmptyIntervalLiteral__Group__0 ) - // InternalSolverLanguageParser.g:1043:4: rule__EmptyIntervalLiteral__Group__0 + before(grammarAccess.getTypedArgumentAccess().getGroup()); + // InternalSolverLanguageParser.g:1030:3: ( rule__TypedArgument__Group__0 ) + // InternalSolverLanguageParser.g:1030:4: rule__TypedArgument__Group__0 { pushFollow(FOLLOW_2); - rule__EmptyIntervalLiteral__Group__0(); + rule__TypedArgument__Group__0(); state._fsp--; } - after(grammarAccess.getEmptyIntervalLiteralAccess().getGroup()); + after(grammarAccess.getTypedArgumentAccess().getGroup()); } @@ -3089,23 +3063,23 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "ruleEmptyIntervalLiteral" + // $ANTLR end "ruleTypedArgument" - // $ANTLR start "entryRuleStringLiteral" - // InternalSolverLanguageParser.g:1052:1: entryRuleStringLiteral : ruleStringLiteral EOF ; - public final void entryRuleStringLiteral() throws RecognitionException { + // $ANTLR start "entryRuleTypedStarArgument" + // InternalSolverLanguageParser.g:1039:1: entryRuleTypedStarArgument : ruleTypedStarArgument EOF ; + public final void entryRuleTypedStarArgument() throws RecognitionException { try { - // InternalSolverLanguageParser.g:1053:1: ( ruleStringLiteral EOF ) - // InternalSolverLanguageParser.g:1054:1: ruleStringLiteral EOF + // InternalSolverLanguageParser.g:1040:1: ( ruleTypedStarArgument EOF ) + // InternalSolverLanguageParser.g:1041:1: ruleTypedStarArgument EOF { - before(grammarAccess.getStringLiteralRule()); + before(grammarAccess.getTypedStarArgumentRule()); pushFollow(FOLLOW_1); - ruleStringLiteral(); + ruleTypedStarArgument(); state._fsp--; - after(grammarAccess.getStringLiteralRule()); + after(grammarAccess.getTypedStarArgumentRule()); match(input,EOF,FOLLOW_2); } @@ -3119,35 +3093,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "entryRuleStringLiteral" + // $ANTLR end "entryRuleTypedStarArgument" - // $ANTLR start "ruleStringLiteral" - // InternalSolverLanguageParser.g:1061:1: ruleStringLiteral : ( ( rule__StringLiteral__ValueAssignment ) ) ; - public final void ruleStringLiteral() throws RecognitionException { + // $ANTLR start "ruleTypedStarArgument" + // InternalSolverLanguageParser.g:1048:1: ruleTypedStarArgument : ( ( rule__TypedStarArgument__Group__0 ) ) ; + public final void ruleTypedStarArgument() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:1065:2: ( ( ( rule__StringLiteral__ValueAssignment ) ) ) - // InternalSolverLanguageParser.g:1066:2: ( ( rule__StringLiteral__ValueAssignment ) ) + // InternalSolverLanguageParser.g:1052:2: ( ( ( rule__TypedStarArgument__Group__0 ) ) ) + // InternalSolverLanguageParser.g:1053:2: ( ( rule__TypedStarArgument__Group__0 ) ) { - // InternalSolverLanguageParser.g:1066:2: ( ( rule__StringLiteral__ValueAssignment ) ) - // InternalSolverLanguageParser.g:1067:3: ( rule__StringLiteral__ValueAssignment ) + // InternalSolverLanguageParser.g:1053:2: ( ( rule__TypedStarArgument__Group__0 ) ) + // InternalSolverLanguageParser.g:1054:3: ( rule__TypedStarArgument__Group__0 ) { - before(grammarAccess.getStringLiteralAccess().getValueAssignment()); - // InternalSolverLanguageParser.g:1068:3: ( rule__StringLiteral__ValueAssignment ) - // InternalSolverLanguageParser.g:1068:4: rule__StringLiteral__ValueAssignment + before(grammarAccess.getTypedStarArgumentAccess().getGroup()); + // InternalSolverLanguageParser.g:1055:3: ( rule__TypedStarArgument__Group__0 ) + // InternalSolverLanguageParser.g:1055:4: rule__TypedStarArgument__Group__0 { pushFollow(FOLLOW_2); - rule__StringLiteral__ValueAssignment(); + rule__TypedStarArgument__Group__0(); state._fsp--; } - after(grammarAccess.getStringLiteralAccess().getValueAssignment()); + after(grammarAccess.getTypedStarArgumentAccess().getGroup()); } @@ -3166,23 +3140,23 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "ruleStringLiteral" + // $ANTLR end "ruleTypedStarArgument" - // $ANTLR start "entryRuleClassDefinition" - // InternalSolverLanguageParser.g:1077:1: entryRuleClassDefinition : ruleClassDefinition EOF ; - public final void entryRuleClassDefinition() throws RecognitionException { + // $ANTLR start "entryRuleReference" + // InternalSolverLanguageParser.g:1064:1: entryRuleReference : ruleReference EOF ; + public final void entryRuleReference() throws RecognitionException { try { - // InternalSolverLanguageParser.g:1078:1: ( ruleClassDefinition EOF ) - // InternalSolverLanguageParser.g:1079:1: ruleClassDefinition EOF + // InternalSolverLanguageParser.g:1065:1: ( ruleReference EOF ) + // InternalSolverLanguageParser.g:1066:1: ruleReference EOF { - before(grammarAccess.getClassDefinitionRule()); + before(grammarAccess.getReferenceRule()); pushFollow(FOLLOW_1); - ruleClassDefinition(); + ruleReference(); state._fsp--; - after(grammarAccess.getClassDefinitionRule()); + after(grammarAccess.getReferenceRule()); match(input,EOF,FOLLOW_2); } @@ -3196,35 +3170,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "entryRuleClassDefinition" + // $ANTLR end "entryRuleReference" - // $ANTLR start "ruleClassDefinition" - // InternalSolverLanguageParser.g:1086:1: ruleClassDefinition : ( ( rule__ClassDefinition__Group__0 ) ) ; - public final void ruleClassDefinition() throws RecognitionException { + // $ANTLR start "ruleReference" + // InternalSolverLanguageParser.g:1073:1: ruleReference : ( ( rule__Reference__ReferredAssignment ) ) ; + public final void ruleReference() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:1090:2: ( ( ( rule__ClassDefinition__Group__0 ) ) ) - // InternalSolverLanguageParser.g:1091:2: ( ( rule__ClassDefinition__Group__0 ) ) + // InternalSolverLanguageParser.g:1077:2: ( ( ( rule__Reference__ReferredAssignment ) ) ) + // InternalSolverLanguageParser.g:1078:2: ( ( rule__Reference__ReferredAssignment ) ) { - // InternalSolverLanguageParser.g:1091:2: ( ( rule__ClassDefinition__Group__0 ) ) - // InternalSolverLanguageParser.g:1092:3: ( rule__ClassDefinition__Group__0 ) + // InternalSolverLanguageParser.g:1078:2: ( ( rule__Reference__ReferredAssignment ) ) + // InternalSolverLanguageParser.g:1079:3: ( rule__Reference__ReferredAssignment ) { - before(grammarAccess.getClassDefinitionAccess().getGroup()); - // InternalSolverLanguageParser.g:1093:3: ( rule__ClassDefinition__Group__0 ) - // InternalSolverLanguageParser.g:1093:4: rule__ClassDefinition__Group__0 + before(grammarAccess.getReferenceAccess().getReferredAssignment()); + // InternalSolverLanguageParser.g:1080:3: ( rule__Reference__ReferredAssignment ) + // InternalSolverLanguageParser.g:1080:4: rule__Reference__ReferredAssignment { pushFollow(FOLLOW_2); - rule__ClassDefinition__Group__0(); + rule__Reference__ReferredAssignment(); state._fsp--; } - after(grammarAccess.getClassDefinitionAccess().getGroup()); + after(grammarAccess.getReferenceAccess().getReferredAssignment()); } @@ -3243,23 +3217,23 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "ruleClassDefinition" + // $ANTLR end "ruleReference" - // $ANTLR start "entryRuleMemberDefinition" - // InternalSolverLanguageParser.g:1102:1: entryRuleMemberDefinition : ruleMemberDefinition EOF ; - public final void entryRuleMemberDefinition() throws RecognitionException { + // $ANTLR start "entryRuleInterval" + // InternalSolverLanguageParser.g:1089:1: entryRuleInterval : ruleInterval EOF ; + public final void entryRuleInterval() throws RecognitionException { try { - // InternalSolverLanguageParser.g:1103:1: ( ruleMemberDefinition EOF ) - // InternalSolverLanguageParser.g:1104:1: ruleMemberDefinition EOF + // InternalSolverLanguageParser.g:1090:1: ( ruleInterval EOF ) + // InternalSolverLanguageParser.g:1091:1: ruleInterval EOF { - before(grammarAccess.getMemberDefinitionRule()); + before(grammarAccess.getIntervalRule()); pushFollow(FOLLOW_1); - ruleMemberDefinition(); + ruleInterval(); state._fsp--; - after(grammarAccess.getMemberDefinitionRule()); + after(grammarAccess.getIntervalRule()); match(input,EOF,FOLLOW_2); } @@ -3273,35 +3247,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "entryRuleMemberDefinition" + // $ANTLR end "entryRuleInterval" - // $ANTLR start "ruleMemberDefinition" - // InternalSolverLanguageParser.g:1111:1: ruleMemberDefinition : ( ( rule__MemberDefinition__Group__0 ) ) ; - public final void ruleMemberDefinition() throws RecognitionException { + // $ANTLR start "ruleInterval" + // InternalSolverLanguageParser.g:1098:1: ruleInterval : ( ( rule__Interval__Group__0 ) ) ; + public final void ruleInterval() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:1115:2: ( ( ( rule__MemberDefinition__Group__0 ) ) ) - // InternalSolverLanguageParser.g:1116:2: ( ( rule__MemberDefinition__Group__0 ) ) + // InternalSolverLanguageParser.g:1102:2: ( ( ( rule__Interval__Group__0 ) ) ) + // InternalSolverLanguageParser.g:1103:2: ( ( rule__Interval__Group__0 ) ) { - // InternalSolverLanguageParser.g:1116:2: ( ( rule__MemberDefinition__Group__0 ) ) - // InternalSolverLanguageParser.g:1117:3: ( rule__MemberDefinition__Group__0 ) + // InternalSolverLanguageParser.g:1103:2: ( ( rule__Interval__Group__0 ) ) + // InternalSolverLanguageParser.g:1104:3: ( rule__Interval__Group__0 ) { - before(grammarAccess.getMemberDefinitionAccess().getGroup()); - // InternalSolverLanguageParser.g:1118:3: ( rule__MemberDefinition__Group__0 ) - // InternalSolverLanguageParser.g:1118:4: rule__MemberDefinition__Group__0 + before(grammarAccess.getIntervalAccess().getGroup()); + // InternalSolverLanguageParser.g:1105:3: ( rule__Interval__Group__0 ) + // InternalSolverLanguageParser.g:1105:4: rule__Interval__Group__0 { pushFollow(FOLLOW_2); - rule__MemberDefinition__Group__0(); + rule__Interval__Group__0(); state._fsp--; } - after(grammarAccess.getMemberDefinitionAccess().getGroup()); + after(grammarAccess.getIntervalAccess().getGroup()); } @@ -3320,23 +3294,23 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "ruleMemberDefinition" + // $ANTLR end "ruleInterval" - // $ANTLR start "entryRuleMultiplicity" - // InternalSolverLanguageParser.g:1127:1: entryRuleMultiplicity : ruleMultiplicity EOF ; - public final void entryRuleMultiplicity() throws RecognitionException { + // $ANTLR start "entryRuleLiteral" + // InternalSolverLanguageParser.g:1114:1: entryRuleLiteral : ruleLiteral EOF ; + public final void entryRuleLiteral() throws RecognitionException { try { - // InternalSolverLanguageParser.g:1128:1: ( ruleMultiplicity EOF ) - // InternalSolverLanguageParser.g:1129:1: ruleMultiplicity EOF + // InternalSolverLanguageParser.g:1115:1: ( ruleLiteral EOF ) + // InternalSolverLanguageParser.g:1116:1: ruleLiteral EOF { - before(grammarAccess.getMultiplicityRule()); + before(grammarAccess.getLiteralRule()); pushFollow(FOLLOW_1); - ruleMultiplicity(); + ruleLiteral(); state._fsp--; - after(grammarAccess.getMultiplicityRule()); + after(grammarAccess.getLiteralRule()); match(input,EOF,FOLLOW_2); } @@ -3350,35 +3324,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "entryRuleMultiplicity" + // $ANTLR end "entryRuleLiteral" - // $ANTLR start "ruleMultiplicity" - // InternalSolverLanguageParser.g:1136:1: ruleMultiplicity : ( ( rule__Multiplicity__Alternatives ) ) ; - public final void ruleMultiplicity() throws RecognitionException { + // $ANTLR start "ruleLiteral" + // InternalSolverLanguageParser.g:1123:1: ruleLiteral : ( ( rule__Literal__Alternatives ) ) ; + public final void ruleLiteral() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:1140:2: ( ( ( rule__Multiplicity__Alternatives ) ) ) - // InternalSolverLanguageParser.g:1141:2: ( ( rule__Multiplicity__Alternatives ) ) + // InternalSolverLanguageParser.g:1127:2: ( ( ( rule__Literal__Alternatives ) ) ) + // InternalSolverLanguageParser.g:1128:2: ( ( rule__Literal__Alternatives ) ) { - // InternalSolverLanguageParser.g:1141:2: ( ( rule__Multiplicity__Alternatives ) ) - // InternalSolverLanguageParser.g:1142:3: ( rule__Multiplicity__Alternatives ) + // InternalSolverLanguageParser.g:1128:2: ( ( rule__Literal__Alternatives ) ) + // InternalSolverLanguageParser.g:1129:3: ( rule__Literal__Alternatives ) { - before(grammarAccess.getMultiplicityAccess().getAlternatives()); - // InternalSolverLanguageParser.g:1143:3: ( rule__Multiplicity__Alternatives ) - // InternalSolverLanguageParser.g:1143:4: rule__Multiplicity__Alternatives + before(grammarAccess.getLiteralAccess().getAlternatives()); + // InternalSolverLanguageParser.g:1130:3: ( rule__Literal__Alternatives ) + // InternalSolverLanguageParser.g:1130:4: rule__Literal__Alternatives { pushFollow(FOLLOW_2); - rule__Multiplicity__Alternatives(); + rule__Literal__Alternatives(); state._fsp--; } - after(grammarAccess.getMultiplicityAccess().getAlternatives()); + after(grammarAccess.getLiteralAccess().getAlternatives()); } @@ -3397,23 +3371,23 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "ruleMultiplicity" + // $ANTLR end "ruleLiteral" - // $ANTLR start "entryRuleManyMultiplicity" - // InternalSolverLanguageParser.g:1152:1: entryRuleManyMultiplicity : ruleManyMultiplicity EOF ; - public final void entryRuleManyMultiplicity() throws RecognitionException { + // $ANTLR start "entryRuleLogicLiteral" + // InternalSolverLanguageParser.g:1139:1: entryRuleLogicLiteral : ruleLogicLiteral EOF ; + public final void entryRuleLogicLiteral() throws RecognitionException { try { - // InternalSolverLanguageParser.g:1153:1: ( ruleManyMultiplicity EOF ) - // InternalSolverLanguageParser.g:1154:1: ruleManyMultiplicity EOF + // InternalSolverLanguageParser.g:1140:1: ( ruleLogicLiteral EOF ) + // InternalSolverLanguageParser.g:1141:1: ruleLogicLiteral EOF { - before(grammarAccess.getManyMultiplicityRule()); + before(grammarAccess.getLogicLiteralRule()); pushFollow(FOLLOW_1); - ruleManyMultiplicity(); + ruleLogicLiteral(); state._fsp--; - after(grammarAccess.getManyMultiplicityRule()); + after(grammarAccess.getLogicLiteralRule()); match(input,EOF,FOLLOW_2); } @@ -3427,35 +3401,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "entryRuleManyMultiplicity" + // $ANTLR end "entryRuleLogicLiteral" - // $ANTLR start "ruleManyMultiplicity" - // InternalSolverLanguageParser.g:1161:1: ruleManyMultiplicity : ( ( rule__ManyMultiplicity__Group__0 ) ) ; - public final void ruleManyMultiplicity() throws RecognitionException { + // $ANTLR start "ruleLogicLiteral" + // InternalSolverLanguageParser.g:1148:1: ruleLogicLiteral : ( ( rule__LogicLiteral__ValueAssignment ) ) ; + public final void ruleLogicLiteral() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:1165:2: ( ( ( rule__ManyMultiplicity__Group__0 ) ) ) - // InternalSolverLanguageParser.g:1166:2: ( ( rule__ManyMultiplicity__Group__0 ) ) + // InternalSolverLanguageParser.g:1152:2: ( ( ( rule__LogicLiteral__ValueAssignment ) ) ) + // InternalSolverLanguageParser.g:1153:2: ( ( rule__LogicLiteral__ValueAssignment ) ) { - // InternalSolverLanguageParser.g:1166:2: ( ( rule__ManyMultiplicity__Group__0 ) ) - // InternalSolverLanguageParser.g:1167:3: ( rule__ManyMultiplicity__Group__0 ) + // InternalSolverLanguageParser.g:1153:2: ( ( rule__LogicLiteral__ValueAssignment ) ) + // InternalSolverLanguageParser.g:1154:3: ( rule__LogicLiteral__ValueAssignment ) { - before(grammarAccess.getManyMultiplicityAccess().getGroup()); - // InternalSolverLanguageParser.g:1168:3: ( rule__ManyMultiplicity__Group__0 ) - // InternalSolverLanguageParser.g:1168:4: rule__ManyMultiplicity__Group__0 + before(grammarAccess.getLogicLiteralAccess().getValueAssignment()); + // InternalSolverLanguageParser.g:1155:3: ( rule__LogicLiteral__ValueAssignment ) + // InternalSolverLanguageParser.g:1155:4: rule__LogicLiteral__ValueAssignment { pushFollow(FOLLOW_2); - rule__ManyMultiplicity__Group__0(); + rule__LogicLiteral__ValueAssignment(); state._fsp--; } - after(grammarAccess.getManyMultiplicityAccess().getGroup()); + after(grammarAccess.getLogicLiteralAccess().getValueAssignment()); } @@ -3474,23 +3448,23 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "ruleManyMultiplicity" + // $ANTLR end "ruleLogicLiteral" - // $ANTLR start "entryRuleExactMultiplicity" - // InternalSolverLanguageParser.g:1177:1: entryRuleExactMultiplicity : ruleExactMultiplicity EOF ; - public final void entryRuleExactMultiplicity() throws RecognitionException { + // $ANTLR start "entryRuleNumericLiteral" + // InternalSolverLanguageParser.g:1164:1: entryRuleNumericLiteral : ruleNumericLiteral EOF ; + public final void entryRuleNumericLiteral() throws RecognitionException { try { - // InternalSolverLanguageParser.g:1178:1: ( ruleExactMultiplicity EOF ) - // InternalSolverLanguageParser.g:1179:1: ruleExactMultiplicity EOF + // InternalSolverLanguageParser.g:1165:1: ( ruleNumericLiteral EOF ) + // InternalSolverLanguageParser.g:1166:1: ruleNumericLiteral EOF { - before(grammarAccess.getExactMultiplicityRule()); + before(grammarAccess.getNumericLiteralRule()); pushFollow(FOLLOW_1); - ruleExactMultiplicity(); + ruleNumericLiteral(); state._fsp--; - after(grammarAccess.getExactMultiplicityRule()); + after(grammarAccess.getNumericLiteralRule()); match(input,EOF,FOLLOW_2); } @@ -3504,35 +3478,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "entryRuleExactMultiplicity" + // $ANTLR end "entryRuleNumericLiteral" - // $ANTLR start "ruleExactMultiplicity" - // InternalSolverLanguageParser.g:1186:1: ruleExactMultiplicity : ( ( rule__ExactMultiplicity__Group__0 ) ) ; - public final void ruleExactMultiplicity() throws RecognitionException { + // $ANTLR start "ruleNumericLiteral" + // InternalSolverLanguageParser.g:1173:1: ruleNumericLiteral : ( ( rule__NumericLiteral__ValueAssignment ) ) ; + public final void ruleNumericLiteral() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:1190:2: ( ( ( rule__ExactMultiplicity__Group__0 ) ) ) - // InternalSolverLanguageParser.g:1191:2: ( ( rule__ExactMultiplicity__Group__0 ) ) + // InternalSolverLanguageParser.g:1177:2: ( ( ( rule__NumericLiteral__ValueAssignment ) ) ) + // InternalSolverLanguageParser.g:1178:2: ( ( rule__NumericLiteral__ValueAssignment ) ) { - // InternalSolverLanguageParser.g:1191:2: ( ( rule__ExactMultiplicity__Group__0 ) ) - // InternalSolverLanguageParser.g:1192:3: ( rule__ExactMultiplicity__Group__0 ) + // InternalSolverLanguageParser.g:1178:2: ( ( rule__NumericLiteral__ValueAssignment ) ) + // InternalSolverLanguageParser.g:1179:3: ( rule__NumericLiteral__ValueAssignment ) { - before(grammarAccess.getExactMultiplicityAccess().getGroup()); - // InternalSolverLanguageParser.g:1193:3: ( rule__ExactMultiplicity__Group__0 ) - // InternalSolverLanguageParser.g:1193:4: rule__ExactMultiplicity__Group__0 + before(grammarAccess.getNumericLiteralAccess().getValueAssignment()); + // InternalSolverLanguageParser.g:1180:3: ( rule__NumericLiteral__ValueAssignment ) + // InternalSolverLanguageParser.g:1180:4: rule__NumericLiteral__ValueAssignment { pushFollow(FOLLOW_2); - rule__ExactMultiplicity__Group__0(); + rule__NumericLiteral__ValueAssignment(); state._fsp--; } - after(grammarAccess.getExactMultiplicityAccess().getGroup()); + after(grammarAccess.getNumericLiteralAccess().getValueAssignment()); } @@ -3551,23 +3525,23 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "ruleExactMultiplicity" + // $ANTLR end "ruleNumericLiteral" - // $ANTLR start "entryRuleBoundedMultiplicity" - // InternalSolverLanguageParser.g:1202:1: entryRuleBoundedMultiplicity : ruleBoundedMultiplicity EOF ; - public final void entryRuleBoundedMultiplicity() throws RecognitionException { + // $ANTLR start "entryRuleInfinityLiteral" + // InternalSolverLanguageParser.g:1189:1: entryRuleInfinityLiteral : ruleInfinityLiteral EOF ; + public final void entryRuleInfinityLiteral() throws RecognitionException { try { - // InternalSolverLanguageParser.g:1203:1: ( ruleBoundedMultiplicity EOF ) - // InternalSolverLanguageParser.g:1204:1: ruleBoundedMultiplicity EOF + // InternalSolverLanguageParser.g:1190:1: ( ruleInfinityLiteral EOF ) + // InternalSolverLanguageParser.g:1191:1: ruleInfinityLiteral EOF { - before(grammarAccess.getBoundedMultiplicityRule()); + before(grammarAccess.getInfinityLiteralRule()); pushFollow(FOLLOW_1); - ruleBoundedMultiplicity(); + ruleInfinityLiteral(); state._fsp--; - after(grammarAccess.getBoundedMultiplicityRule()); + after(grammarAccess.getInfinityLiteralRule()); match(input,EOF,FOLLOW_2); } @@ -3581,35 +3555,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "entryRuleBoundedMultiplicity" + // $ANTLR end "entryRuleInfinityLiteral" - // $ANTLR start "ruleBoundedMultiplicity" - // InternalSolverLanguageParser.g:1211:1: ruleBoundedMultiplicity : ( ( rule__BoundedMultiplicity__Group__0 ) ) ; - public final void ruleBoundedMultiplicity() throws RecognitionException { + // $ANTLR start "ruleInfinityLiteral" + // InternalSolverLanguageParser.g:1198:1: ruleInfinityLiteral : ( ( rule__InfinityLiteral__Group__0 ) ) ; + public final void ruleInfinityLiteral() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:1215:2: ( ( ( rule__BoundedMultiplicity__Group__0 ) ) ) - // InternalSolverLanguageParser.g:1216:2: ( ( rule__BoundedMultiplicity__Group__0 ) ) + // InternalSolverLanguageParser.g:1202:2: ( ( ( rule__InfinityLiteral__Group__0 ) ) ) + // InternalSolverLanguageParser.g:1203:2: ( ( rule__InfinityLiteral__Group__0 ) ) { - // InternalSolverLanguageParser.g:1216:2: ( ( rule__BoundedMultiplicity__Group__0 ) ) - // InternalSolverLanguageParser.g:1217:3: ( rule__BoundedMultiplicity__Group__0 ) + // InternalSolverLanguageParser.g:1203:2: ( ( rule__InfinityLiteral__Group__0 ) ) + // InternalSolverLanguageParser.g:1204:3: ( rule__InfinityLiteral__Group__0 ) { - before(grammarAccess.getBoundedMultiplicityAccess().getGroup()); - // InternalSolverLanguageParser.g:1218:3: ( rule__BoundedMultiplicity__Group__0 ) - // InternalSolverLanguageParser.g:1218:4: rule__BoundedMultiplicity__Group__0 + before(grammarAccess.getInfinityLiteralAccess().getGroup()); + // InternalSolverLanguageParser.g:1205:3: ( rule__InfinityLiteral__Group__0 ) + // InternalSolverLanguageParser.g:1205:4: rule__InfinityLiteral__Group__0 { pushFollow(FOLLOW_2); - rule__BoundedMultiplicity__Group__0(); + rule__InfinityLiteral__Group__0(); state._fsp--; } - after(grammarAccess.getBoundedMultiplicityAccess().getGroup()); + after(grammarAccess.getInfinityLiteralAccess().getGroup()); } @@ -3628,23 +3602,23 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "ruleBoundedMultiplicity" + // $ANTLR end "ruleInfinityLiteral" - // $ANTLR start "entryRuleScopeDefinition" - // InternalSolverLanguageParser.g:1227:1: entryRuleScopeDefinition : ruleScopeDefinition EOF ; - public final void entryRuleScopeDefinition() throws RecognitionException { + // $ANTLR start "entryRuleEmptyIntervalLiteral" + // InternalSolverLanguageParser.g:1214:1: entryRuleEmptyIntervalLiteral : ruleEmptyIntervalLiteral EOF ; + public final void entryRuleEmptyIntervalLiteral() throws RecognitionException { try { - // InternalSolverLanguageParser.g:1228:1: ( ruleScopeDefinition EOF ) - // InternalSolverLanguageParser.g:1229:1: ruleScopeDefinition EOF + // InternalSolverLanguageParser.g:1215:1: ( ruleEmptyIntervalLiteral EOF ) + // InternalSolverLanguageParser.g:1216:1: ruleEmptyIntervalLiteral EOF { - before(grammarAccess.getScopeDefinitionRule()); + before(grammarAccess.getEmptyIntervalLiteralRule()); pushFollow(FOLLOW_1); - ruleScopeDefinition(); + ruleEmptyIntervalLiteral(); state._fsp--; - after(grammarAccess.getScopeDefinitionRule()); + after(grammarAccess.getEmptyIntervalLiteralRule()); match(input,EOF,FOLLOW_2); } @@ -3658,35 +3632,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "entryRuleScopeDefinition" + // $ANTLR end "entryRuleEmptyIntervalLiteral" - // $ANTLR start "ruleScopeDefinition" - // InternalSolverLanguageParser.g:1236:1: ruleScopeDefinition : ( ( rule__ScopeDefinition__Alternatives ) ) ; - public final void ruleScopeDefinition() throws RecognitionException { + // $ANTLR start "ruleEmptyIntervalLiteral" + // InternalSolverLanguageParser.g:1223:1: ruleEmptyIntervalLiteral : ( ( rule__EmptyIntervalLiteral__Group__0 ) ) ; + public final void ruleEmptyIntervalLiteral() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:1240:2: ( ( ( rule__ScopeDefinition__Alternatives ) ) ) - // InternalSolverLanguageParser.g:1241:2: ( ( rule__ScopeDefinition__Alternatives ) ) + // InternalSolverLanguageParser.g:1227:2: ( ( ( rule__EmptyIntervalLiteral__Group__0 ) ) ) + // InternalSolverLanguageParser.g:1228:2: ( ( rule__EmptyIntervalLiteral__Group__0 ) ) { - // InternalSolverLanguageParser.g:1241:2: ( ( rule__ScopeDefinition__Alternatives ) ) - // InternalSolverLanguageParser.g:1242:3: ( rule__ScopeDefinition__Alternatives ) + // InternalSolverLanguageParser.g:1228:2: ( ( rule__EmptyIntervalLiteral__Group__0 ) ) + // InternalSolverLanguageParser.g:1229:3: ( rule__EmptyIntervalLiteral__Group__0 ) { - before(grammarAccess.getScopeDefinitionAccess().getAlternatives()); - // InternalSolverLanguageParser.g:1243:3: ( rule__ScopeDefinition__Alternatives ) - // InternalSolverLanguageParser.g:1243:4: rule__ScopeDefinition__Alternatives + before(grammarAccess.getEmptyIntervalLiteralAccess().getGroup()); + // InternalSolverLanguageParser.g:1230:3: ( rule__EmptyIntervalLiteral__Group__0 ) + // InternalSolverLanguageParser.g:1230:4: rule__EmptyIntervalLiteral__Group__0 { pushFollow(FOLLOW_2); - rule__ScopeDefinition__Alternatives(); + rule__EmptyIntervalLiteral__Group__0(); state._fsp--; } - after(grammarAccess.getScopeDefinitionAccess().getAlternatives()); + after(grammarAccess.getEmptyIntervalLiteralAccess().getGroup()); } @@ -3705,23 +3679,23 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "ruleScopeDefinition" + // $ANTLR end "ruleEmptyIntervalLiteral" - // $ANTLR start "entryRuleExactScopeDefinition" - // InternalSolverLanguageParser.g:1252:1: entryRuleExactScopeDefinition : ruleExactScopeDefinition EOF ; - public final void entryRuleExactScopeDefinition() throws RecognitionException { + // $ANTLR start "entryRuleStringLiteral" + // InternalSolverLanguageParser.g:1239:1: entryRuleStringLiteral : ruleStringLiteral EOF ; + public final void entryRuleStringLiteral() throws RecognitionException { try { - // InternalSolverLanguageParser.g:1253:1: ( ruleExactScopeDefinition EOF ) - // InternalSolverLanguageParser.g:1254:1: ruleExactScopeDefinition EOF + // InternalSolverLanguageParser.g:1240:1: ( ruleStringLiteral EOF ) + // InternalSolverLanguageParser.g:1241:1: ruleStringLiteral EOF { - before(grammarAccess.getExactScopeDefinitionRule()); + before(grammarAccess.getStringLiteralRule()); pushFollow(FOLLOW_1); - ruleExactScopeDefinition(); + ruleStringLiteral(); state._fsp--; - after(grammarAccess.getExactScopeDefinitionRule()); + after(grammarAccess.getStringLiteralRule()); match(input,EOF,FOLLOW_2); } @@ -3735,35 +3709,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "entryRuleExactScopeDefinition" + // $ANTLR end "entryRuleStringLiteral" - // $ANTLR start "ruleExactScopeDefinition" - // InternalSolverLanguageParser.g:1261:1: ruleExactScopeDefinition : ( ( rule__ExactScopeDefinition__Group__0 ) ) ; - public final void ruleExactScopeDefinition() throws RecognitionException { + // $ANTLR start "ruleStringLiteral" + // InternalSolverLanguageParser.g:1248:1: ruleStringLiteral : ( ( rule__StringLiteral__ValueAssignment ) ) ; + public final void ruleStringLiteral() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:1265:2: ( ( ( rule__ExactScopeDefinition__Group__0 ) ) ) - // InternalSolverLanguageParser.g:1266:2: ( ( rule__ExactScopeDefinition__Group__0 ) ) + // InternalSolverLanguageParser.g:1252:2: ( ( ( rule__StringLiteral__ValueAssignment ) ) ) + // InternalSolverLanguageParser.g:1253:2: ( ( rule__StringLiteral__ValueAssignment ) ) { - // InternalSolverLanguageParser.g:1266:2: ( ( rule__ExactScopeDefinition__Group__0 ) ) - // InternalSolverLanguageParser.g:1267:3: ( rule__ExactScopeDefinition__Group__0 ) + // InternalSolverLanguageParser.g:1253:2: ( ( rule__StringLiteral__ValueAssignment ) ) + // InternalSolverLanguageParser.g:1254:3: ( rule__StringLiteral__ValueAssignment ) { - before(grammarAccess.getExactScopeDefinitionAccess().getGroup()); - // InternalSolverLanguageParser.g:1268:3: ( rule__ExactScopeDefinition__Group__0 ) - // InternalSolverLanguageParser.g:1268:4: rule__ExactScopeDefinition__Group__0 + before(grammarAccess.getStringLiteralAccess().getValueAssignment()); + // InternalSolverLanguageParser.g:1255:3: ( rule__StringLiteral__ValueAssignment ) + // InternalSolverLanguageParser.g:1255:4: rule__StringLiteral__ValueAssignment { pushFollow(FOLLOW_2); - rule__ExactScopeDefinition__Group__0(); + rule__StringLiteral__ValueAssignment(); state._fsp--; } - after(grammarAccess.getExactScopeDefinitionAccess().getGroup()); + after(grammarAccess.getStringLiteralAccess().getValueAssignment()); } @@ -3782,23 +3756,23 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "ruleExactScopeDefinition" + // $ANTLR end "ruleStringLiteral" - // $ANTLR start "entryRuleBoundedScopeDefinition" - // InternalSolverLanguageParser.g:1277:1: entryRuleBoundedScopeDefinition : ruleBoundedScopeDefinition EOF ; - public final void entryRuleBoundedScopeDefinition() throws RecognitionException { + // $ANTLR start "entryRuleClassDefinition" + // InternalSolverLanguageParser.g:1264:1: entryRuleClassDefinition : ruleClassDefinition EOF ; + public final void entryRuleClassDefinition() throws RecognitionException { try { - // InternalSolverLanguageParser.g:1278:1: ( ruleBoundedScopeDefinition EOF ) - // InternalSolverLanguageParser.g:1279:1: ruleBoundedScopeDefinition EOF + // InternalSolverLanguageParser.g:1265:1: ( ruleClassDefinition EOF ) + // InternalSolverLanguageParser.g:1266:1: ruleClassDefinition EOF { - before(grammarAccess.getBoundedScopeDefinitionRule()); + before(grammarAccess.getClassDefinitionRule()); pushFollow(FOLLOW_1); - ruleBoundedScopeDefinition(); + ruleClassDefinition(); state._fsp--; - after(grammarAccess.getBoundedScopeDefinitionRule()); + after(grammarAccess.getClassDefinitionRule()); match(input,EOF,FOLLOW_2); } @@ -3812,35 +3786,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "entryRuleBoundedScopeDefinition" + // $ANTLR end "entryRuleClassDefinition" - // $ANTLR start "ruleBoundedScopeDefinition" - // InternalSolverLanguageParser.g:1286:1: ruleBoundedScopeDefinition : ( ( rule__BoundedScopeDefinition__Group__0 ) ) ; - public final void ruleBoundedScopeDefinition() throws RecognitionException { + // $ANTLR start "ruleClassDefinition" + // InternalSolverLanguageParser.g:1273:1: ruleClassDefinition : ( ( rule__ClassDefinition__Group__0 ) ) ; + public final void ruleClassDefinition() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:1290:2: ( ( ( rule__BoundedScopeDefinition__Group__0 ) ) ) - // InternalSolverLanguageParser.g:1291:2: ( ( rule__BoundedScopeDefinition__Group__0 ) ) + // InternalSolverLanguageParser.g:1277:2: ( ( ( rule__ClassDefinition__Group__0 ) ) ) + // InternalSolverLanguageParser.g:1278:2: ( ( rule__ClassDefinition__Group__0 ) ) { - // InternalSolverLanguageParser.g:1291:2: ( ( rule__BoundedScopeDefinition__Group__0 ) ) - // InternalSolverLanguageParser.g:1292:3: ( rule__BoundedScopeDefinition__Group__0 ) + // InternalSolverLanguageParser.g:1278:2: ( ( rule__ClassDefinition__Group__0 ) ) + // InternalSolverLanguageParser.g:1279:3: ( rule__ClassDefinition__Group__0 ) { - before(grammarAccess.getBoundedScopeDefinitionAccess().getGroup()); - // InternalSolverLanguageParser.g:1293:3: ( rule__BoundedScopeDefinition__Group__0 ) - // InternalSolverLanguageParser.g:1293:4: rule__BoundedScopeDefinition__Group__0 + before(grammarAccess.getClassDefinitionAccess().getGroup()); + // InternalSolverLanguageParser.g:1280:3: ( rule__ClassDefinition__Group__0 ) + // InternalSolverLanguageParser.g:1280:4: rule__ClassDefinition__Group__0 { pushFollow(FOLLOW_2); - rule__BoundedScopeDefinition__Group__0(); + rule__ClassDefinition__Group__0(); state._fsp--; } - after(grammarAccess.getBoundedScopeDefinitionAccess().getGroup()); + after(grammarAccess.getClassDefinitionAccess().getGroup()); } @@ -3859,23 +3833,23 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "ruleBoundedScopeDefinition" + // $ANTLR end "ruleClassDefinition" - // $ANTLR start "entryRuleLowerBoundedScopeDefinition" - // InternalSolverLanguageParser.g:1302:1: entryRuleLowerBoundedScopeDefinition : ruleLowerBoundedScopeDefinition EOF ; - public final void entryRuleLowerBoundedScopeDefinition() throws RecognitionException { + // $ANTLR start "entryRuleMemberDefinition" + // InternalSolverLanguageParser.g:1289:1: entryRuleMemberDefinition : ruleMemberDefinition EOF ; + public final void entryRuleMemberDefinition() throws RecognitionException { try { - // InternalSolverLanguageParser.g:1303:1: ( ruleLowerBoundedScopeDefinition EOF ) - // InternalSolverLanguageParser.g:1304:1: ruleLowerBoundedScopeDefinition EOF + // InternalSolverLanguageParser.g:1290:1: ( ruleMemberDefinition EOF ) + // InternalSolverLanguageParser.g:1291:1: ruleMemberDefinition EOF { - before(grammarAccess.getLowerBoundedScopeDefinitionRule()); + before(grammarAccess.getMemberDefinitionRule()); pushFollow(FOLLOW_1); - ruleLowerBoundedScopeDefinition(); + ruleMemberDefinition(); state._fsp--; - after(grammarAccess.getLowerBoundedScopeDefinitionRule()); + after(grammarAccess.getMemberDefinitionRule()); match(input,EOF,FOLLOW_2); } @@ -3889,35 +3863,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "entryRuleLowerBoundedScopeDefinition" + // $ANTLR end "entryRuleMemberDefinition" - // $ANTLR start "ruleLowerBoundedScopeDefinition" - // InternalSolverLanguageParser.g:1311:1: ruleLowerBoundedScopeDefinition : ( ( rule__LowerBoundedScopeDefinition__Group__0 ) ) ; - public final void ruleLowerBoundedScopeDefinition() throws RecognitionException { + // $ANTLR start "ruleMemberDefinition" + // InternalSolverLanguageParser.g:1298:1: ruleMemberDefinition : ( ( rule__MemberDefinition__Group__0 ) ) ; + public final void ruleMemberDefinition() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:1315:2: ( ( ( rule__LowerBoundedScopeDefinition__Group__0 ) ) ) - // InternalSolverLanguageParser.g:1316:2: ( ( rule__LowerBoundedScopeDefinition__Group__0 ) ) + // InternalSolverLanguageParser.g:1302:2: ( ( ( rule__MemberDefinition__Group__0 ) ) ) + // InternalSolverLanguageParser.g:1303:2: ( ( rule__MemberDefinition__Group__0 ) ) { - // InternalSolverLanguageParser.g:1316:2: ( ( rule__LowerBoundedScopeDefinition__Group__0 ) ) - // InternalSolverLanguageParser.g:1317:3: ( rule__LowerBoundedScopeDefinition__Group__0 ) + // InternalSolverLanguageParser.g:1303:2: ( ( rule__MemberDefinition__Group__0 ) ) + // InternalSolverLanguageParser.g:1304:3: ( rule__MemberDefinition__Group__0 ) { - before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getGroup()); - // InternalSolverLanguageParser.g:1318:3: ( rule__LowerBoundedScopeDefinition__Group__0 ) - // InternalSolverLanguageParser.g:1318:4: rule__LowerBoundedScopeDefinition__Group__0 + before(grammarAccess.getMemberDefinitionAccess().getGroup()); + // InternalSolverLanguageParser.g:1305:3: ( rule__MemberDefinition__Group__0 ) + // InternalSolverLanguageParser.g:1305:4: rule__MemberDefinition__Group__0 { pushFollow(FOLLOW_2); - rule__LowerBoundedScopeDefinition__Group__0(); + rule__MemberDefinition__Group__0(); state._fsp--; } - after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getGroup()); + after(grammarAccess.getMemberDefinitionAccess().getGroup()); } @@ -3936,23 +3910,23 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "ruleLowerBoundedScopeDefinition" + // $ANTLR end "ruleMemberDefinition" - // $ANTLR start "entryRuleObjectiveDefinition" - // InternalSolverLanguageParser.g:1327:1: entryRuleObjectiveDefinition : ruleObjectiveDefinition EOF ; - public final void entryRuleObjectiveDefinition() throws RecognitionException { + // $ANTLR start "entryRuleMultiplicity" + // InternalSolverLanguageParser.g:1314:1: entryRuleMultiplicity : ruleMultiplicity EOF ; + public final void entryRuleMultiplicity() throws RecognitionException { try { - // InternalSolverLanguageParser.g:1328:1: ( ruleObjectiveDefinition EOF ) - // InternalSolverLanguageParser.g:1329:1: ruleObjectiveDefinition EOF + // InternalSolverLanguageParser.g:1315:1: ( ruleMultiplicity EOF ) + // InternalSolverLanguageParser.g:1316:1: ruleMultiplicity EOF { - before(grammarAccess.getObjectiveDefinitionRule()); + before(grammarAccess.getMultiplicityRule()); pushFollow(FOLLOW_1); - ruleObjectiveDefinition(); + ruleMultiplicity(); state._fsp--; - after(grammarAccess.getObjectiveDefinitionRule()); + after(grammarAccess.getMultiplicityRule()); match(input,EOF,FOLLOW_2); } @@ -3966,35 +3940,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "entryRuleObjectiveDefinition" + // $ANTLR end "entryRuleMultiplicity" - // $ANTLR start "ruleObjectiveDefinition" - // InternalSolverLanguageParser.g:1336:1: ruleObjectiveDefinition : ( ( rule__ObjectiveDefinition__Group__0 ) ) ; - public final void ruleObjectiveDefinition() throws RecognitionException { + // $ANTLR start "ruleMultiplicity" + // InternalSolverLanguageParser.g:1323:1: ruleMultiplicity : ( ( rule__Multiplicity__Alternatives ) ) ; + public final void ruleMultiplicity() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:1340:2: ( ( ( rule__ObjectiveDefinition__Group__0 ) ) ) - // InternalSolverLanguageParser.g:1341:2: ( ( rule__ObjectiveDefinition__Group__0 ) ) + // InternalSolverLanguageParser.g:1327:2: ( ( ( rule__Multiplicity__Alternatives ) ) ) + // InternalSolverLanguageParser.g:1328:2: ( ( rule__Multiplicity__Alternatives ) ) { - // InternalSolverLanguageParser.g:1341:2: ( ( rule__ObjectiveDefinition__Group__0 ) ) - // InternalSolverLanguageParser.g:1342:3: ( rule__ObjectiveDefinition__Group__0 ) + // InternalSolverLanguageParser.g:1328:2: ( ( rule__Multiplicity__Alternatives ) ) + // InternalSolverLanguageParser.g:1329:3: ( rule__Multiplicity__Alternatives ) { - before(grammarAccess.getObjectiveDefinitionAccess().getGroup()); - // InternalSolverLanguageParser.g:1343:3: ( rule__ObjectiveDefinition__Group__0 ) - // InternalSolverLanguageParser.g:1343:4: rule__ObjectiveDefinition__Group__0 + before(grammarAccess.getMultiplicityAccess().getAlternatives()); + // InternalSolverLanguageParser.g:1330:3: ( rule__Multiplicity__Alternatives ) + // InternalSolverLanguageParser.g:1330:4: rule__Multiplicity__Alternatives { pushFollow(FOLLOW_2); - rule__ObjectiveDefinition__Group__0(); + rule__Multiplicity__Alternatives(); state._fsp--; } - after(grammarAccess.getObjectiveDefinitionAccess().getGroup()); + after(grammarAccess.getMultiplicityAccess().getAlternatives()); } @@ -4013,23 +3987,23 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "ruleObjectiveDefinition" + // $ANTLR end "ruleMultiplicity" - // $ANTLR start "entryRuleUpperMultiplicty" - // InternalSolverLanguageParser.g:1352:1: entryRuleUpperMultiplicty : ruleUpperMultiplicty EOF ; - public final void entryRuleUpperMultiplicty() throws RecognitionException { + // $ANTLR start "entryRuleManyMultiplicity" + // InternalSolverLanguageParser.g:1339:1: entryRuleManyMultiplicity : ruleManyMultiplicity EOF ; + public final void entryRuleManyMultiplicity() throws RecognitionException { try { - // InternalSolverLanguageParser.g:1353:1: ( ruleUpperMultiplicty EOF ) - // InternalSolverLanguageParser.g:1354:1: ruleUpperMultiplicty EOF + // InternalSolverLanguageParser.g:1340:1: ( ruleManyMultiplicity EOF ) + // InternalSolverLanguageParser.g:1341:1: ruleManyMultiplicity EOF { - before(grammarAccess.getUpperMultiplictyRule()); + before(grammarAccess.getManyMultiplicityRule()); pushFollow(FOLLOW_1); - ruleUpperMultiplicty(); + ruleManyMultiplicity(); state._fsp--; - after(grammarAccess.getUpperMultiplictyRule()); + after(grammarAccess.getManyMultiplicityRule()); match(input,EOF,FOLLOW_2); } @@ -4043,35 +4017,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "entryRuleUpperMultiplicty" + // $ANTLR end "entryRuleManyMultiplicity" - // $ANTLR start "ruleUpperMultiplicty" - // InternalSolverLanguageParser.g:1361:1: ruleUpperMultiplicty : ( ( rule__UpperMultiplicty__Alternatives ) ) ; - public final void ruleUpperMultiplicty() throws RecognitionException { + // $ANTLR start "ruleManyMultiplicity" + // InternalSolverLanguageParser.g:1348:1: ruleManyMultiplicity : ( ( rule__ManyMultiplicity__Group__0 ) ) ; + public final void ruleManyMultiplicity() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:1365:2: ( ( ( rule__UpperMultiplicty__Alternatives ) ) ) - // InternalSolverLanguageParser.g:1366:2: ( ( rule__UpperMultiplicty__Alternatives ) ) + // InternalSolverLanguageParser.g:1352:2: ( ( ( rule__ManyMultiplicity__Group__0 ) ) ) + // InternalSolverLanguageParser.g:1353:2: ( ( rule__ManyMultiplicity__Group__0 ) ) { - // InternalSolverLanguageParser.g:1366:2: ( ( rule__UpperMultiplicty__Alternatives ) ) - // InternalSolverLanguageParser.g:1367:3: ( rule__UpperMultiplicty__Alternatives ) + // InternalSolverLanguageParser.g:1353:2: ( ( rule__ManyMultiplicity__Group__0 ) ) + // InternalSolverLanguageParser.g:1354:3: ( rule__ManyMultiplicity__Group__0 ) { - before(grammarAccess.getUpperMultiplictyAccess().getAlternatives()); - // InternalSolverLanguageParser.g:1368:3: ( rule__UpperMultiplicty__Alternatives ) - // InternalSolverLanguageParser.g:1368:4: rule__UpperMultiplicty__Alternatives + before(grammarAccess.getManyMultiplicityAccess().getGroup()); + // InternalSolverLanguageParser.g:1355:3: ( rule__ManyMultiplicity__Group__0 ) + // InternalSolverLanguageParser.g:1355:4: rule__ManyMultiplicity__Group__0 { pushFollow(FOLLOW_2); - rule__UpperMultiplicty__Alternatives(); + rule__ManyMultiplicity__Group__0(); state._fsp--; } - after(grammarAccess.getUpperMultiplictyAccess().getAlternatives()); + after(grammarAccess.getManyMultiplicityAccess().getGroup()); } @@ -4090,26 +4064,23 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "ruleUpperMultiplicty" - + // $ANTLR end "ruleManyMultiplicity" - // $ANTLR start "entryRuleReal" - // InternalSolverLanguageParser.g:1377:1: entryRuleReal : ruleReal EOF ; - public final void entryRuleReal() throws RecognitionException { - - HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens(); + // $ANTLR start "entryRuleExactMultiplicity" + // InternalSolverLanguageParser.g:1364:1: entryRuleExactMultiplicity : ruleExactMultiplicity EOF ; + public final void entryRuleExactMultiplicity() throws RecognitionException { try { - // InternalSolverLanguageParser.g:1381:1: ( ruleReal EOF ) - // InternalSolverLanguageParser.g:1382:1: ruleReal EOF + // InternalSolverLanguageParser.g:1365:1: ( ruleExactMultiplicity EOF ) + // InternalSolverLanguageParser.g:1366:1: ruleExactMultiplicity EOF { - before(grammarAccess.getRealRule()); + before(grammarAccess.getExactMultiplicityRule()); pushFollow(FOLLOW_1); - ruleReal(); + ruleExactMultiplicity(); state._fsp--; - after(grammarAccess.getRealRule()); + after(grammarAccess.getExactMultiplicityRule()); match(input,EOF,FOLLOW_2); } @@ -4120,42 +4091,38 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP recover(input,re); } finally { - - myHiddenTokenState.restore(); - } return ; } - // $ANTLR end "entryRuleReal" + // $ANTLR end "entryRuleExactMultiplicity" - // $ANTLR start "ruleReal" - // InternalSolverLanguageParser.g:1392:1: ruleReal : ( ( rule__Real__Group__0 ) ) ; - public final void ruleReal() throws RecognitionException { + // $ANTLR start "ruleExactMultiplicity" + // InternalSolverLanguageParser.g:1373:1: ruleExactMultiplicity : ( ( rule__ExactMultiplicity__Group__0 ) ) ; + public final void ruleExactMultiplicity() throws RecognitionException { - HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens(); int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:1397:2: ( ( ( rule__Real__Group__0 ) ) ) - // InternalSolverLanguageParser.g:1398:2: ( ( rule__Real__Group__0 ) ) + // InternalSolverLanguageParser.g:1377:2: ( ( ( rule__ExactMultiplicity__Group__0 ) ) ) + // InternalSolverLanguageParser.g:1378:2: ( ( rule__ExactMultiplicity__Group__0 ) ) { - // InternalSolverLanguageParser.g:1398:2: ( ( rule__Real__Group__0 ) ) - // InternalSolverLanguageParser.g:1399:3: ( rule__Real__Group__0 ) + // InternalSolverLanguageParser.g:1378:2: ( ( rule__ExactMultiplicity__Group__0 ) ) + // InternalSolverLanguageParser.g:1379:3: ( rule__ExactMultiplicity__Group__0 ) { - before(grammarAccess.getRealAccess().getGroup()); - // InternalSolverLanguageParser.g:1400:3: ( rule__Real__Group__0 ) - // InternalSolverLanguageParser.g:1400:4: rule__Real__Group__0 + before(grammarAccess.getExactMultiplicityAccess().getGroup()); + // InternalSolverLanguageParser.g:1380:3: ( rule__ExactMultiplicity__Group__0 ) + // InternalSolverLanguageParser.g:1380:4: rule__ExactMultiplicity__Group__0 { pushFollow(FOLLOW_2); - rule__Real__Group__0(); + rule__ExactMultiplicity__Group__0(); state._fsp--; } - after(grammarAccess.getRealAccess().getGroup()); + after(grammarAccess.getExactMultiplicityAccess().getGroup()); } @@ -4170,31 +4137,27 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP finally { restoreStackSize(stackSize); - myHiddenTokenState.restore(); } return ; } - // $ANTLR end "ruleReal" - + // $ANTLR end "ruleExactMultiplicity" - // $ANTLR start "entryRuleQualifiedName" - // InternalSolverLanguageParser.g:1410:1: entryRuleQualifiedName : ruleQualifiedName EOF ; - public final void entryRuleQualifiedName() throws RecognitionException { - - HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens(); + // $ANTLR start "entryRuleBoundedMultiplicity" + // InternalSolverLanguageParser.g:1389:1: entryRuleBoundedMultiplicity : ruleBoundedMultiplicity EOF ; + public final void entryRuleBoundedMultiplicity() throws RecognitionException { try { - // InternalSolverLanguageParser.g:1414:1: ( ruleQualifiedName EOF ) - // InternalSolverLanguageParser.g:1415:1: ruleQualifiedName EOF + // InternalSolverLanguageParser.g:1390:1: ( ruleBoundedMultiplicity EOF ) + // InternalSolverLanguageParser.g:1391:1: ruleBoundedMultiplicity EOF { - before(grammarAccess.getQualifiedNameRule()); + before(grammarAccess.getBoundedMultiplicityRule()); pushFollow(FOLLOW_1); - ruleQualifiedName(); + ruleBoundedMultiplicity(); state._fsp--; - after(grammarAccess.getQualifiedNameRule()); + after(grammarAccess.getBoundedMultiplicityRule()); match(input,EOF,FOLLOW_2); } @@ -4205,42 +4168,38 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP recover(input,re); } finally { - - myHiddenTokenState.restore(); - } return ; } - // $ANTLR end "entryRuleQualifiedName" + // $ANTLR end "entryRuleBoundedMultiplicity" - // $ANTLR start "ruleQualifiedName" - // InternalSolverLanguageParser.g:1425:1: ruleQualifiedName : ( ( rule__QualifiedName__Alternatives ) ) ; - public final void ruleQualifiedName() throws RecognitionException { + // $ANTLR start "ruleBoundedMultiplicity" + // InternalSolverLanguageParser.g:1398:1: ruleBoundedMultiplicity : ( ( rule__BoundedMultiplicity__Group__0 ) ) ; + public final void ruleBoundedMultiplicity() throws RecognitionException { - HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens(); int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:1430:2: ( ( ( rule__QualifiedName__Alternatives ) ) ) - // InternalSolverLanguageParser.g:1431:2: ( ( rule__QualifiedName__Alternatives ) ) + // InternalSolverLanguageParser.g:1402:2: ( ( ( rule__BoundedMultiplicity__Group__0 ) ) ) + // InternalSolverLanguageParser.g:1403:2: ( ( rule__BoundedMultiplicity__Group__0 ) ) { - // InternalSolverLanguageParser.g:1431:2: ( ( rule__QualifiedName__Alternatives ) ) - // InternalSolverLanguageParser.g:1432:3: ( rule__QualifiedName__Alternatives ) + // InternalSolverLanguageParser.g:1403:2: ( ( rule__BoundedMultiplicity__Group__0 ) ) + // InternalSolverLanguageParser.g:1404:3: ( rule__BoundedMultiplicity__Group__0 ) { - before(grammarAccess.getQualifiedNameAccess().getAlternatives()); - // InternalSolverLanguageParser.g:1433:3: ( rule__QualifiedName__Alternatives ) - // InternalSolverLanguageParser.g:1433:4: rule__QualifiedName__Alternatives + before(grammarAccess.getBoundedMultiplicityAccess().getGroup()); + // InternalSolverLanguageParser.g:1405:3: ( rule__BoundedMultiplicity__Group__0 ) + // InternalSolverLanguageParser.g:1405:4: rule__BoundedMultiplicity__Group__0 { pushFollow(FOLLOW_2); - rule__QualifiedName__Alternatives(); + rule__BoundedMultiplicity__Group__0(); state._fsp--; } - after(grammarAccess.getQualifiedNameAccess().getAlternatives()); + after(grammarAccess.getBoundedMultiplicityAccess().getGroup()); } @@ -4255,43 +4214,28 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP finally { restoreStackSize(stackSize); - myHiddenTokenState.restore(); } return ; } - // $ANTLR end "ruleQualifiedName" - + // $ANTLR end "ruleBoundedMultiplicity" - // $ANTLR start "ruleMetricType" - // InternalSolverLanguageParser.g:1443:1: ruleMetricType : ( ( rule__MetricType__Alternatives ) ) ; - public final void ruleMetricType() throws RecognitionException { - int stackSize = keepStackSize(); - + // $ANTLR start "entryRuleScopeDefinition" + // InternalSolverLanguageParser.g:1414:1: entryRuleScopeDefinition : ruleScopeDefinition EOF ; + public final void entryRuleScopeDefinition() throws RecognitionException { try { - // InternalSolverLanguageParser.g:1447:1: ( ( ( rule__MetricType__Alternatives ) ) ) - // InternalSolverLanguageParser.g:1448:2: ( ( rule__MetricType__Alternatives ) ) - { - // InternalSolverLanguageParser.g:1448:2: ( ( rule__MetricType__Alternatives ) ) - // InternalSolverLanguageParser.g:1449:3: ( rule__MetricType__Alternatives ) + // InternalSolverLanguageParser.g:1415:1: ( ruleScopeDefinition EOF ) + // InternalSolverLanguageParser.g:1416:1: ruleScopeDefinition EOF { - before(grammarAccess.getMetricTypeAccess().getAlternatives()); - // InternalSolverLanguageParser.g:1450:3: ( rule__MetricType__Alternatives ) - // InternalSolverLanguageParser.g:1450:4: rule__MetricType__Alternatives - { - pushFollow(FOLLOW_2); - rule__MetricType__Alternatives(); + before(grammarAccess.getScopeDefinitionRule()); + pushFollow(FOLLOW_1); + ruleScopeDefinition(); state._fsp--; - - } - - after(grammarAccess.getMetricTypeAccess().getAlternatives()); - - } - + after(grammarAccess.getScopeDefinitionRule()); + match(input,EOF,FOLLOW_2); } @@ -4301,41 +4245,38 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP recover(input,re); } finally { - - restoreStackSize(stackSize); - } return ; } - // $ANTLR end "ruleMetricType" + // $ANTLR end "entryRuleScopeDefinition" - // $ANTLR start "ruleComparisonOperator" - // InternalSolverLanguageParser.g:1459:1: ruleComparisonOperator : ( ( rule__ComparisonOperator__Alternatives ) ) ; - public final void ruleComparisonOperator() throws RecognitionException { + // $ANTLR start "ruleScopeDefinition" + // InternalSolverLanguageParser.g:1423:1: ruleScopeDefinition : ( ( rule__ScopeDefinition__Alternatives ) ) ; + public final void ruleScopeDefinition() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:1463:1: ( ( ( rule__ComparisonOperator__Alternatives ) ) ) - // InternalSolverLanguageParser.g:1464:2: ( ( rule__ComparisonOperator__Alternatives ) ) + // InternalSolverLanguageParser.g:1427:2: ( ( ( rule__ScopeDefinition__Alternatives ) ) ) + // InternalSolverLanguageParser.g:1428:2: ( ( rule__ScopeDefinition__Alternatives ) ) { - // InternalSolverLanguageParser.g:1464:2: ( ( rule__ComparisonOperator__Alternatives ) ) - // InternalSolverLanguageParser.g:1465:3: ( rule__ComparisonOperator__Alternatives ) + // InternalSolverLanguageParser.g:1428:2: ( ( rule__ScopeDefinition__Alternatives ) ) + // InternalSolverLanguageParser.g:1429:3: ( rule__ScopeDefinition__Alternatives ) { - before(grammarAccess.getComparisonOperatorAccess().getAlternatives()); - // InternalSolverLanguageParser.g:1466:3: ( rule__ComparisonOperator__Alternatives ) - // InternalSolverLanguageParser.g:1466:4: rule__ComparisonOperator__Alternatives + before(grammarAccess.getScopeDefinitionAccess().getAlternatives()); + // InternalSolverLanguageParser.g:1430:3: ( rule__ScopeDefinition__Alternatives ) + // InternalSolverLanguageParser.g:1430:4: rule__ScopeDefinition__Alternatives { pushFollow(FOLLOW_2); - rule__ComparisonOperator__Alternatives(); + rule__ScopeDefinition__Alternatives(); state._fsp--; } - after(grammarAccess.getComparisonOperatorAccess().getAlternatives()); + after(grammarAccess.getScopeDefinitionAccess().getAlternatives()); } @@ -4354,38 +4295,24 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "ruleComparisonOperator" - + // $ANTLR end "ruleScopeDefinition" - // $ANTLR start "ruleAdditiveBinaryOperator" - // InternalSolverLanguageParser.g:1475:1: ruleAdditiveBinaryOperator : ( ( rule__AdditiveBinaryOperator__Alternatives ) ) ; - public final void ruleAdditiveBinaryOperator() throws RecognitionException { - int stackSize = keepStackSize(); - + // $ANTLR start "entryRuleExactScopeDefinition" + // InternalSolverLanguageParser.g:1439:1: entryRuleExactScopeDefinition : ruleExactScopeDefinition EOF ; + public final void entryRuleExactScopeDefinition() throws RecognitionException { try { - // InternalSolverLanguageParser.g:1479:1: ( ( ( rule__AdditiveBinaryOperator__Alternatives ) ) ) - // InternalSolverLanguageParser.g:1480:2: ( ( rule__AdditiveBinaryOperator__Alternatives ) ) - { - // InternalSolverLanguageParser.g:1480:2: ( ( rule__AdditiveBinaryOperator__Alternatives ) ) - // InternalSolverLanguageParser.g:1481:3: ( rule__AdditiveBinaryOperator__Alternatives ) - { - before(grammarAccess.getAdditiveBinaryOperatorAccess().getAlternatives()); - // InternalSolverLanguageParser.g:1482:3: ( rule__AdditiveBinaryOperator__Alternatives ) - // InternalSolverLanguageParser.g:1482:4: rule__AdditiveBinaryOperator__Alternatives + // InternalSolverLanguageParser.g:1440:1: ( ruleExactScopeDefinition EOF ) + // InternalSolverLanguageParser.g:1441:1: ruleExactScopeDefinition EOF { - pushFollow(FOLLOW_2); - rule__AdditiveBinaryOperator__Alternatives(); - - state._fsp--; - - - } - - after(grammarAccess.getAdditiveBinaryOperatorAccess().getAlternatives()); + before(grammarAccess.getExactScopeDefinitionRule()); + pushFollow(FOLLOW_1); + ruleExactScopeDefinition(); - } + state._fsp--; + after(grammarAccess.getExactScopeDefinitionRule()); + match(input,EOF,FOLLOW_2); } @@ -4395,41 +4322,38 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP recover(input,re); } finally { - - restoreStackSize(stackSize); - } return ; } - // $ANTLR end "ruleAdditiveBinaryOperator" + // $ANTLR end "entryRuleExactScopeDefinition" - // $ANTLR start "ruleMultiplicativeBinaryOperator" - // InternalSolverLanguageParser.g:1491:1: ruleMultiplicativeBinaryOperator : ( ( rule__MultiplicativeBinaryOperator__Alternatives ) ) ; - public final void ruleMultiplicativeBinaryOperator() throws RecognitionException { + // $ANTLR start "ruleExactScopeDefinition" + // InternalSolverLanguageParser.g:1448:1: ruleExactScopeDefinition : ( ( rule__ExactScopeDefinition__Group__0 ) ) ; + public final void ruleExactScopeDefinition() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:1495:1: ( ( ( rule__MultiplicativeBinaryOperator__Alternatives ) ) ) - // InternalSolverLanguageParser.g:1496:2: ( ( rule__MultiplicativeBinaryOperator__Alternatives ) ) + // InternalSolverLanguageParser.g:1452:2: ( ( ( rule__ExactScopeDefinition__Group__0 ) ) ) + // InternalSolverLanguageParser.g:1453:2: ( ( rule__ExactScopeDefinition__Group__0 ) ) { - // InternalSolverLanguageParser.g:1496:2: ( ( rule__MultiplicativeBinaryOperator__Alternatives ) ) - // InternalSolverLanguageParser.g:1497:3: ( rule__MultiplicativeBinaryOperator__Alternatives ) + // InternalSolverLanguageParser.g:1453:2: ( ( rule__ExactScopeDefinition__Group__0 ) ) + // InternalSolverLanguageParser.g:1454:3: ( rule__ExactScopeDefinition__Group__0 ) { - before(grammarAccess.getMultiplicativeBinaryOperatorAccess().getAlternatives()); - // InternalSolverLanguageParser.g:1498:3: ( rule__MultiplicativeBinaryOperator__Alternatives ) - // InternalSolverLanguageParser.g:1498:4: rule__MultiplicativeBinaryOperator__Alternatives + before(grammarAccess.getExactScopeDefinitionAccess().getGroup()); + // InternalSolverLanguageParser.g:1455:3: ( rule__ExactScopeDefinition__Group__0 ) + // InternalSolverLanguageParser.g:1455:4: rule__ExactScopeDefinition__Group__0 { pushFollow(FOLLOW_2); - rule__MultiplicativeBinaryOperator__Alternatives(); + rule__ExactScopeDefinition__Group__0(); state._fsp--; } - after(grammarAccess.getMultiplicativeBinaryOperatorAccess().getAlternatives()); + after(grammarAccess.getExactScopeDefinitionAccess().getGroup()); } @@ -4448,34 +4372,24 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "ruleMultiplicativeBinaryOperator" - + // $ANTLR end "ruleExactScopeDefinition" - // $ANTLR start "ruleExponentialOp" - // InternalSolverLanguageParser.g:1507:1: ruleExponentialOp : ( ( CircumflexAccent ) ) ; - public final void ruleExponentialOp() throws RecognitionException { - int stackSize = keepStackSize(); - + // $ANTLR start "entryRuleBoundedScopeDefinition" + // InternalSolverLanguageParser.g:1464:1: entryRuleBoundedScopeDefinition : ruleBoundedScopeDefinition EOF ; + public final void entryRuleBoundedScopeDefinition() throws RecognitionException { try { - // InternalSolverLanguageParser.g:1511:1: ( ( ( CircumflexAccent ) ) ) - // InternalSolverLanguageParser.g:1512:2: ( ( CircumflexAccent ) ) - { - // InternalSolverLanguageParser.g:1512:2: ( ( CircumflexAccent ) ) - // InternalSolverLanguageParser.g:1513:3: ( CircumflexAccent ) - { - before(grammarAccess.getExponentialOpAccess().getPOWEnumLiteralDeclaration()); - // InternalSolverLanguageParser.g:1514:3: ( CircumflexAccent ) - // InternalSolverLanguageParser.g:1514:4: CircumflexAccent + // InternalSolverLanguageParser.g:1465:1: ( ruleBoundedScopeDefinition EOF ) + // InternalSolverLanguageParser.g:1466:1: ruleBoundedScopeDefinition EOF { - match(input,CircumflexAccent,FOLLOW_2); - - } - - after(grammarAccess.getExponentialOpAccess().getPOWEnumLiteralDeclaration()); + before(grammarAccess.getBoundedScopeDefinitionRule()); + pushFollow(FOLLOW_1); + ruleBoundedScopeDefinition(); - } + state._fsp--; + after(grammarAccess.getBoundedScopeDefinitionRule()); + match(input,EOF,FOLLOW_2); } @@ -4485,41 +4399,38 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP recover(input,re); } finally { - - restoreStackSize(stackSize); - } return ; } - // $ANTLR end "ruleExponentialOp" + // $ANTLR end "entryRuleBoundedScopeDefinition" - // $ANTLR start "ruleUnaryOp" - // InternalSolverLanguageParser.g:1523:1: ruleUnaryOp : ( ( rule__UnaryOp__Alternatives ) ) ; - public final void ruleUnaryOp() throws RecognitionException { + // $ANTLR start "ruleBoundedScopeDefinition" + // InternalSolverLanguageParser.g:1473:1: ruleBoundedScopeDefinition : ( ( rule__BoundedScopeDefinition__Group__0 ) ) ; + public final void ruleBoundedScopeDefinition() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:1527:1: ( ( ( rule__UnaryOp__Alternatives ) ) ) - // InternalSolverLanguageParser.g:1528:2: ( ( rule__UnaryOp__Alternatives ) ) + // InternalSolverLanguageParser.g:1477:2: ( ( ( rule__BoundedScopeDefinition__Group__0 ) ) ) + // InternalSolverLanguageParser.g:1478:2: ( ( rule__BoundedScopeDefinition__Group__0 ) ) { - // InternalSolverLanguageParser.g:1528:2: ( ( rule__UnaryOp__Alternatives ) ) - // InternalSolverLanguageParser.g:1529:3: ( rule__UnaryOp__Alternatives ) + // InternalSolverLanguageParser.g:1478:2: ( ( rule__BoundedScopeDefinition__Group__0 ) ) + // InternalSolverLanguageParser.g:1479:3: ( rule__BoundedScopeDefinition__Group__0 ) { - before(grammarAccess.getUnaryOpAccess().getAlternatives()); - // InternalSolverLanguageParser.g:1530:3: ( rule__UnaryOp__Alternatives ) - // InternalSolverLanguageParser.g:1530:4: rule__UnaryOp__Alternatives + before(grammarAccess.getBoundedScopeDefinitionAccess().getGroup()); + // InternalSolverLanguageParser.g:1480:3: ( rule__BoundedScopeDefinition__Group__0 ) + // InternalSolverLanguageParser.g:1480:4: rule__BoundedScopeDefinition__Group__0 { pushFollow(FOLLOW_2); - rule__UnaryOp__Alternatives(); + rule__BoundedScopeDefinition__Group__0(); state._fsp--; } - after(grammarAccess.getUnaryOpAccess().getAlternatives()); + after(grammarAccess.getBoundedScopeDefinitionAccess().getGroup()); } @@ -4538,35 +4449,65 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "ruleUnaryOp" + // $ANTLR end "ruleBoundedScopeDefinition" + + + // $ANTLR start "entryRuleLowerBoundedScopeDefinition" + // InternalSolverLanguageParser.g:1489:1: entryRuleLowerBoundedScopeDefinition : ruleLowerBoundedScopeDefinition EOF ; + public final void entryRuleLowerBoundedScopeDefinition() throws RecognitionException { + try { + // InternalSolverLanguageParser.g:1490:1: ( ruleLowerBoundedScopeDefinition EOF ) + // InternalSolverLanguageParser.g:1491:1: ruleLowerBoundedScopeDefinition EOF + { + before(grammarAccess.getLowerBoundedScopeDefinitionRule()); + pushFollow(FOLLOW_1); + ruleLowerBoundedScopeDefinition(); + + state._fsp--; + + after(grammarAccess.getLowerBoundedScopeDefinitionRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleLowerBoundedScopeDefinition" - // $ANTLR start "ruleAggregationOp" - // InternalSolverLanguageParser.g:1539:1: ruleAggregationOp : ( ( rule__AggregationOp__Alternatives ) ) ; - public final void ruleAggregationOp() throws RecognitionException { + // $ANTLR start "ruleLowerBoundedScopeDefinition" + // InternalSolverLanguageParser.g:1498:1: ruleLowerBoundedScopeDefinition : ( ( rule__LowerBoundedScopeDefinition__Group__0 ) ) ; + public final void ruleLowerBoundedScopeDefinition() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:1543:1: ( ( ( rule__AggregationOp__Alternatives ) ) ) - // InternalSolverLanguageParser.g:1544:2: ( ( rule__AggregationOp__Alternatives ) ) + // InternalSolverLanguageParser.g:1502:2: ( ( ( rule__LowerBoundedScopeDefinition__Group__0 ) ) ) + // InternalSolverLanguageParser.g:1503:2: ( ( rule__LowerBoundedScopeDefinition__Group__0 ) ) { - // InternalSolverLanguageParser.g:1544:2: ( ( rule__AggregationOp__Alternatives ) ) - // InternalSolverLanguageParser.g:1545:3: ( rule__AggregationOp__Alternatives ) + // InternalSolverLanguageParser.g:1503:2: ( ( rule__LowerBoundedScopeDefinition__Group__0 ) ) + // InternalSolverLanguageParser.g:1504:3: ( rule__LowerBoundedScopeDefinition__Group__0 ) { - before(grammarAccess.getAggregationOpAccess().getAlternatives()); - // InternalSolverLanguageParser.g:1546:3: ( rule__AggregationOp__Alternatives ) - // InternalSolverLanguageParser.g:1546:4: rule__AggregationOp__Alternatives + before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getGroup()); + // InternalSolverLanguageParser.g:1505:3: ( rule__LowerBoundedScopeDefinition__Group__0 ) + // InternalSolverLanguageParser.g:1505:4: rule__LowerBoundedScopeDefinition__Group__0 { pushFollow(FOLLOW_2); - rule__AggregationOp__Alternatives(); + rule__LowerBoundedScopeDefinition__Group__0(); state._fsp--; } - after(grammarAccess.getAggregationOpAccess().getAlternatives()); + after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getGroup()); } @@ -4585,35 +4526,65 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "ruleAggregationOp" + // $ANTLR end "ruleLowerBoundedScopeDefinition" - // $ANTLR start "ruleLogicValue" - // InternalSolverLanguageParser.g:1555:1: ruleLogicValue : ( ( rule__LogicValue__Alternatives ) ) ; - public final void ruleLogicValue() throws RecognitionException { + // $ANTLR start "entryRuleObjectiveDefinition" + // InternalSolverLanguageParser.g:1514:1: entryRuleObjectiveDefinition : ruleObjectiveDefinition EOF ; + public final void entryRuleObjectiveDefinition() throws RecognitionException { + try { + // InternalSolverLanguageParser.g:1515:1: ( ruleObjectiveDefinition EOF ) + // InternalSolverLanguageParser.g:1516:1: ruleObjectiveDefinition EOF + { + before(grammarAccess.getObjectiveDefinitionRule()); + pushFollow(FOLLOW_1); + ruleObjectiveDefinition(); + + state._fsp--; + + after(grammarAccess.getObjectiveDefinitionRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleObjectiveDefinition" + + + // $ANTLR start "ruleObjectiveDefinition" + // InternalSolverLanguageParser.g:1523:1: ruleObjectiveDefinition : ( ( rule__ObjectiveDefinition__Group__0 ) ) ; + public final void ruleObjectiveDefinition() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:1559:1: ( ( ( rule__LogicValue__Alternatives ) ) ) - // InternalSolverLanguageParser.g:1560:2: ( ( rule__LogicValue__Alternatives ) ) + // InternalSolverLanguageParser.g:1527:2: ( ( ( rule__ObjectiveDefinition__Group__0 ) ) ) + // InternalSolverLanguageParser.g:1528:2: ( ( rule__ObjectiveDefinition__Group__0 ) ) { - // InternalSolverLanguageParser.g:1560:2: ( ( rule__LogicValue__Alternatives ) ) - // InternalSolverLanguageParser.g:1561:3: ( rule__LogicValue__Alternatives ) + // InternalSolverLanguageParser.g:1528:2: ( ( rule__ObjectiveDefinition__Group__0 ) ) + // InternalSolverLanguageParser.g:1529:3: ( rule__ObjectiveDefinition__Group__0 ) { - before(grammarAccess.getLogicValueAccess().getAlternatives()); - // InternalSolverLanguageParser.g:1562:3: ( rule__LogicValue__Alternatives ) - // InternalSolverLanguageParser.g:1562:4: rule__LogicValue__Alternatives + before(grammarAccess.getObjectiveDefinitionAccess().getGroup()); + // InternalSolverLanguageParser.g:1530:3: ( rule__ObjectiveDefinition__Group__0 ) + // InternalSolverLanguageParser.g:1530:4: rule__ObjectiveDefinition__Group__0 { pushFollow(FOLLOW_2); - rule__LogicValue__Alternatives(); + rule__ObjectiveDefinition__Group__0(); state._fsp--; } - after(grammarAccess.getLogicValueAccess().getAlternatives()); + after(grammarAccess.getObjectiveDefinitionAccess().getGroup()); } @@ -4632,35 +4603,65 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "ruleLogicValue" + // $ANTLR end "ruleObjectiveDefinition" - // $ANTLR start "ruleObjectiveKind" - // InternalSolverLanguageParser.g:1571:1: ruleObjectiveKind : ( ( rule__ObjectiveKind__Alternatives ) ) ; - public final void ruleObjectiveKind() throws RecognitionException { + // $ANTLR start "entryRuleUpperMultiplicty" + // InternalSolverLanguageParser.g:1539:1: entryRuleUpperMultiplicty : ruleUpperMultiplicty EOF ; + public final void entryRuleUpperMultiplicty() throws RecognitionException { + try { + // InternalSolverLanguageParser.g:1540:1: ( ruleUpperMultiplicty EOF ) + // InternalSolverLanguageParser.g:1541:1: ruleUpperMultiplicty EOF + { + before(grammarAccess.getUpperMultiplictyRule()); + pushFollow(FOLLOW_1); + ruleUpperMultiplicty(); + + state._fsp--; + + after(grammarAccess.getUpperMultiplictyRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleUpperMultiplicty" + + + // $ANTLR start "ruleUpperMultiplicty" + // InternalSolverLanguageParser.g:1548:1: ruleUpperMultiplicty : ( ( rule__UpperMultiplicty__Alternatives ) ) ; + public final void ruleUpperMultiplicty() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:1575:1: ( ( ( rule__ObjectiveKind__Alternatives ) ) ) - // InternalSolverLanguageParser.g:1576:2: ( ( rule__ObjectiveKind__Alternatives ) ) + // InternalSolverLanguageParser.g:1552:2: ( ( ( rule__UpperMultiplicty__Alternatives ) ) ) + // InternalSolverLanguageParser.g:1553:2: ( ( rule__UpperMultiplicty__Alternatives ) ) { - // InternalSolverLanguageParser.g:1576:2: ( ( rule__ObjectiveKind__Alternatives ) ) - // InternalSolverLanguageParser.g:1577:3: ( rule__ObjectiveKind__Alternatives ) + // InternalSolverLanguageParser.g:1553:2: ( ( rule__UpperMultiplicty__Alternatives ) ) + // InternalSolverLanguageParser.g:1554:3: ( rule__UpperMultiplicty__Alternatives ) { - before(grammarAccess.getObjectiveKindAccess().getAlternatives()); - // InternalSolverLanguageParser.g:1578:3: ( rule__ObjectiveKind__Alternatives ) - // InternalSolverLanguageParser.g:1578:4: rule__ObjectiveKind__Alternatives + before(grammarAccess.getUpperMultiplictyAccess().getAlternatives()); + // InternalSolverLanguageParser.g:1555:3: ( rule__UpperMultiplicty__Alternatives ) + // InternalSolverLanguageParser.g:1555:4: rule__UpperMultiplicty__Alternatives { pushFollow(FOLLOW_2); - rule__ObjectiveKind__Alternatives(); + rule__UpperMultiplicty__Alternatives(); state._fsp--; } - after(grammarAccess.getObjectiveKindAccess().getAlternatives()); + after(grammarAccess.getUpperMultiplictyAccess().getAlternatives()); } @@ -4679,212 +4680,5922 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "ruleObjectiveKind" + // $ANTLR end "ruleUpperMultiplicty" - // $ANTLR start "rule__Statement__Alternatives_0" - // InternalSolverLanguageParser.g:1586:1: rule__Statement__Alternatives_0 : ( ( ruleAssertionOrDefinition ) | ( rulePredicateDefinition ) | ( ruleUnnamedErrorPrediateDefinition ) | ( ruleDefaultDefinition ) | ( ruleExternPredicateDefinition ) | ( ruleMetricDefinition ) | ( ruleExternMetricDefinition ) | ( ruleClassDefinition ) | ( ruleScopeDefinition ) | ( ruleObjectiveDefinition ) ); - public final void rule__Statement__Alternatives_0() throws RecognitionException { + // $ANTLR start "entryRuleReal" + // InternalSolverLanguageParser.g:1564:1: entryRuleReal : ruleReal EOF ; + public final void entryRuleReal() throws RecognitionException { + + HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens(); - int stackSize = keepStackSize(); - try { - // InternalSolverLanguageParser.g:1590:1: ( ( ruleAssertionOrDefinition ) | ( rulePredicateDefinition ) | ( ruleUnnamedErrorPrediateDefinition ) | ( ruleDefaultDefinition ) | ( ruleExternPredicateDefinition ) | ( ruleMetricDefinition ) | ( ruleExternMetricDefinition ) | ( ruleClassDefinition ) | ( ruleScopeDefinition ) | ( ruleObjectiveDefinition ) ) - int alt2=10; - alt2 = dfa2.predict(input); - switch (alt2) { - case 1 : - // InternalSolverLanguageParser.g:1591:2: ( ruleAssertionOrDefinition ) - { - // InternalSolverLanguageParser.g:1591:2: ( ruleAssertionOrDefinition ) - // InternalSolverLanguageParser.g:1592:3: ruleAssertionOrDefinition - { - before(grammarAccess.getStatementAccess().getAssertionOrDefinitionParserRuleCall_0_0()); - pushFollow(FOLLOW_2); - ruleAssertionOrDefinition(); + // InternalSolverLanguageParser.g:1568:1: ( ruleReal EOF ) + // InternalSolverLanguageParser.g:1569:1: ruleReal EOF + { + before(grammarAccess.getRealRule()); + pushFollow(FOLLOW_1); + ruleReal(); - state._fsp--; + state._fsp--; - after(grammarAccess.getStatementAccess().getAssertionOrDefinitionParserRuleCall_0_0()); + after(grammarAccess.getRealRule()); + match(input,EOF,FOLLOW_2); - } + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { - } - break; - case 2 : - // InternalSolverLanguageParser.g:1597:2: ( rulePredicateDefinition ) - { - // InternalSolverLanguageParser.g:1597:2: ( rulePredicateDefinition ) - // InternalSolverLanguageParser.g:1598:3: rulePredicateDefinition - { - before(grammarAccess.getStatementAccess().getPredicateDefinitionParserRuleCall_0_1()); - pushFollow(FOLLOW_2); - rulePredicateDefinition(); + myHiddenTokenState.restore(); - state._fsp--; + } + return ; + } + // $ANTLR end "entryRuleReal" - after(grammarAccess.getStatementAccess().getPredicateDefinitionParserRuleCall_0_1()); - } + // $ANTLR start "ruleReal" + // InternalSolverLanguageParser.g:1579:1: ruleReal : ( ( rule__Real__Group__0 ) ) ; + public final void ruleReal() throws RecognitionException { + HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens(); + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:1584:2: ( ( ( rule__Real__Group__0 ) ) ) + // InternalSolverLanguageParser.g:1585:2: ( ( rule__Real__Group__0 ) ) + { + // InternalSolverLanguageParser.g:1585:2: ( ( rule__Real__Group__0 ) ) + // InternalSolverLanguageParser.g:1586:3: ( rule__Real__Group__0 ) + { + before(grammarAccess.getRealAccess().getGroup()); + // InternalSolverLanguageParser.g:1587:3: ( rule__Real__Group__0 ) + // InternalSolverLanguageParser.g:1587:4: rule__Real__Group__0 + { + pushFollow(FOLLOW_2); + rule__Real__Group__0(); - } - break; - case 3 : - // InternalSolverLanguageParser.g:1603:2: ( ruleUnnamedErrorPrediateDefinition ) - { - // InternalSolverLanguageParser.g:1603:2: ( ruleUnnamedErrorPrediateDefinition ) - // InternalSolverLanguageParser.g:1604:3: ruleUnnamedErrorPrediateDefinition - { - before(grammarAccess.getStatementAccess().getUnnamedErrorPrediateDefinitionParserRuleCall_0_2()); - pushFollow(FOLLOW_2); - ruleUnnamedErrorPrediateDefinition(); + state._fsp--; - state._fsp--; - after(grammarAccess.getStatementAccess().getUnnamedErrorPrediateDefinitionParserRuleCall_0_2()); + } - } + after(grammarAccess.getRealAccess().getGroup()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + myHiddenTokenState.restore(); + + } + return ; + } + // $ANTLR end "ruleReal" + + + // $ANTLR start "entryRuleQualifiedName" + // InternalSolverLanguageParser.g:1597:1: entryRuleQualifiedName : ruleQualifiedName EOF ; + public final void entryRuleQualifiedName() throws RecognitionException { + + HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens(); + + try { + // InternalSolverLanguageParser.g:1601:1: ( ruleQualifiedName EOF ) + // InternalSolverLanguageParser.g:1602:1: ruleQualifiedName EOF + { + before(grammarAccess.getQualifiedNameRule()); + pushFollow(FOLLOW_1); + ruleQualifiedName(); + + state._fsp--; + + after(grammarAccess.getQualifiedNameRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + myHiddenTokenState.restore(); + + } + return ; + } + // $ANTLR end "entryRuleQualifiedName" + + + // $ANTLR start "ruleQualifiedName" + // InternalSolverLanguageParser.g:1612:1: ruleQualifiedName : ( ( rule__QualifiedName__Alternatives ) ) ; + public final void ruleQualifiedName() throws RecognitionException { + + HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens(); + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:1617:2: ( ( ( rule__QualifiedName__Alternatives ) ) ) + // InternalSolverLanguageParser.g:1618:2: ( ( rule__QualifiedName__Alternatives ) ) + { + // InternalSolverLanguageParser.g:1618:2: ( ( rule__QualifiedName__Alternatives ) ) + // InternalSolverLanguageParser.g:1619:3: ( rule__QualifiedName__Alternatives ) + { + before(grammarAccess.getQualifiedNameAccess().getAlternatives()); + // InternalSolverLanguageParser.g:1620:3: ( rule__QualifiedName__Alternatives ) + // InternalSolverLanguageParser.g:1620:4: rule__QualifiedName__Alternatives + { + pushFollow(FOLLOW_2); + rule__QualifiedName__Alternatives(); + + state._fsp--; + + + } + + after(grammarAccess.getQualifiedNameAccess().getAlternatives()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + myHiddenTokenState.restore(); + + } + return ; + } + // $ANTLR end "ruleQualifiedName" + + + // $ANTLR start "ruleImplicationOperator" + // InternalSolverLanguageParser.g:1630:1: ruleImplicationOperator : ( ( EqualsSignGreaterThanSign ) ) ; + public final void ruleImplicationOperator() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:1634:1: ( ( ( EqualsSignGreaterThanSign ) ) ) + // InternalSolverLanguageParser.g:1635:2: ( ( EqualsSignGreaterThanSign ) ) + { + // InternalSolverLanguageParser.g:1635:2: ( ( EqualsSignGreaterThanSign ) ) + // InternalSolverLanguageParser.g:1636:3: ( EqualsSignGreaterThanSign ) + { + before(grammarAccess.getImplicationOperatorAccess().getIMPLIESEnumLiteralDeclaration()); + // InternalSolverLanguageParser.g:1637:3: ( EqualsSignGreaterThanSign ) + // InternalSolverLanguageParser.g:1637:4: EqualsSignGreaterThanSign + { + match(input,EqualsSignGreaterThanSign,FOLLOW_2); + + } + + after(grammarAccess.getImplicationOperatorAccess().getIMPLIESEnumLiteralDeclaration()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleImplicationOperator" + + + // $ANTLR start "ruleComparisonOperator" + // InternalSolverLanguageParser.g:1646:1: ruleComparisonOperator : ( ( rule__ComparisonOperator__Alternatives ) ) ; + public final void ruleComparisonOperator() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:1650:1: ( ( ( rule__ComparisonOperator__Alternatives ) ) ) + // InternalSolverLanguageParser.g:1651:2: ( ( rule__ComparisonOperator__Alternatives ) ) + { + // InternalSolverLanguageParser.g:1651:2: ( ( rule__ComparisonOperator__Alternatives ) ) + // InternalSolverLanguageParser.g:1652:3: ( rule__ComparisonOperator__Alternatives ) + { + before(grammarAccess.getComparisonOperatorAccess().getAlternatives()); + // InternalSolverLanguageParser.g:1653:3: ( rule__ComparisonOperator__Alternatives ) + // InternalSolverLanguageParser.g:1653:4: rule__ComparisonOperator__Alternatives + { + pushFollow(FOLLOW_2); + rule__ComparisonOperator__Alternatives(); + + state._fsp--; + + + } + + after(grammarAccess.getComparisonOperatorAccess().getAlternatives()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleComparisonOperator" + + + // $ANTLR start "ruleAdditiveBinaryOperator" + // InternalSolverLanguageParser.g:1662:1: ruleAdditiveBinaryOperator : ( ( rule__AdditiveBinaryOperator__Alternatives ) ) ; + public final void ruleAdditiveBinaryOperator() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:1666:1: ( ( ( rule__AdditiveBinaryOperator__Alternatives ) ) ) + // InternalSolverLanguageParser.g:1667:2: ( ( rule__AdditiveBinaryOperator__Alternatives ) ) + { + // InternalSolverLanguageParser.g:1667:2: ( ( rule__AdditiveBinaryOperator__Alternatives ) ) + // InternalSolverLanguageParser.g:1668:3: ( rule__AdditiveBinaryOperator__Alternatives ) + { + before(grammarAccess.getAdditiveBinaryOperatorAccess().getAlternatives()); + // InternalSolverLanguageParser.g:1669:3: ( rule__AdditiveBinaryOperator__Alternatives ) + // InternalSolverLanguageParser.g:1669:4: rule__AdditiveBinaryOperator__Alternatives + { + pushFollow(FOLLOW_2); + rule__AdditiveBinaryOperator__Alternatives(); + + state._fsp--; + + + } + + after(grammarAccess.getAdditiveBinaryOperatorAccess().getAlternatives()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleAdditiveBinaryOperator" + + + // $ANTLR start "ruleMultiplicativeBinaryOperator" + // InternalSolverLanguageParser.g:1678:1: ruleMultiplicativeBinaryOperator : ( ( rule__MultiplicativeBinaryOperator__Alternatives ) ) ; + public final void ruleMultiplicativeBinaryOperator() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:1682:1: ( ( ( rule__MultiplicativeBinaryOperator__Alternatives ) ) ) + // InternalSolverLanguageParser.g:1683:2: ( ( rule__MultiplicativeBinaryOperator__Alternatives ) ) + { + // InternalSolverLanguageParser.g:1683:2: ( ( rule__MultiplicativeBinaryOperator__Alternatives ) ) + // InternalSolverLanguageParser.g:1684:3: ( rule__MultiplicativeBinaryOperator__Alternatives ) + { + before(grammarAccess.getMultiplicativeBinaryOperatorAccess().getAlternatives()); + // InternalSolverLanguageParser.g:1685:3: ( rule__MultiplicativeBinaryOperator__Alternatives ) + // InternalSolverLanguageParser.g:1685:4: rule__MultiplicativeBinaryOperator__Alternatives + { + pushFollow(FOLLOW_2); + rule__MultiplicativeBinaryOperator__Alternatives(); + + state._fsp--; + + + } + + after(grammarAccess.getMultiplicativeBinaryOperatorAccess().getAlternatives()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleMultiplicativeBinaryOperator" + + + // $ANTLR start "ruleExponentialOp" + // InternalSolverLanguageParser.g:1694:1: ruleExponentialOp : ( ( CircumflexAccent ) ) ; + public final void ruleExponentialOp() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:1698:1: ( ( ( CircumflexAccent ) ) ) + // InternalSolverLanguageParser.g:1699:2: ( ( CircumflexAccent ) ) + { + // InternalSolverLanguageParser.g:1699:2: ( ( CircumflexAccent ) ) + // InternalSolverLanguageParser.g:1700:3: ( CircumflexAccent ) + { + before(grammarAccess.getExponentialOpAccess().getPOWEnumLiteralDeclaration()); + // InternalSolverLanguageParser.g:1701:3: ( CircumflexAccent ) + // InternalSolverLanguageParser.g:1701:4: CircumflexAccent + { + match(input,CircumflexAccent,FOLLOW_2); + + } + + after(grammarAccess.getExponentialOpAccess().getPOWEnumLiteralDeclaration()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleExponentialOp" + + + // $ANTLR start "ruleUnaryOp" + // InternalSolverLanguageParser.g:1710:1: ruleUnaryOp : ( ( rule__UnaryOp__Alternatives ) ) ; + public final void ruleUnaryOp() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:1714:1: ( ( ( rule__UnaryOp__Alternatives ) ) ) + // InternalSolverLanguageParser.g:1715:2: ( ( rule__UnaryOp__Alternatives ) ) + { + // InternalSolverLanguageParser.g:1715:2: ( ( rule__UnaryOp__Alternatives ) ) + // InternalSolverLanguageParser.g:1716:3: ( rule__UnaryOp__Alternatives ) + { + before(grammarAccess.getUnaryOpAccess().getAlternatives()); + // InternalSolverLanguageParser.g:1717:3: ( rule__UnaryOp__Alternatives ) + // InternalSolverLanguageParser.g:1717:4: rule__UnaryOp__Alternatives + { + pushFollow(FOLLOW_2); + rule__UnaryOp__Alternatives(); + + state._fsp--; + + + } + + after(grammarAccess.getUnaryOpAccess().getAlternatives()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleUnaryOp" + + + // $ANTLR start "ruleQuantifier" + // InternalSolverLanguageParser.g:1726:1: ruleQuantifier : ( ( rule__Quantifier__Alternatives ) ) ; + public final void ruleQuantifier() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:1730:1: ( ( ( rule__Quantifier__Alternatives ) ) ) + // InternalSolverLanguageParser.g:1731:2: ( ( rule__Quantifier__Alternatives ) ) + { + // InternalSolverLanguageParser.g:1731:2: ( ( rule__Quantifier__Alternatives ) ) + // InternalSolverLanguageParser.g:1732:3: ( rule__Quantifier__Alternatives ) + { + before(grammarAccess.getQuantifierAccess().getAlternatives()); + // InternalSolverLanguageParser.g:1733:3: ( rule__Quantifier__Alternatives ) + // InternalSolverLanguageParser.g:1733:4: rule__Quantifier__Alternatives + { + pushFollow(FOLLOW_2); + rule__Quantifier__Alternatives(); + + state._fsp--; + + + } + + after(grammarAccess.getQuantifierAccess().getAlternatives()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleQuantifier" + + + // $ANTLR start "ruleLogicValue" + // InternalSolverLanguageParser.g:1742:1: ruleLogicValue : ( ( rule__LogicValue__Alternatives ) ) ; + public final void ruleLogicValue() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:1746:1: ( ( ( rule__LogicValue__Alternatives ) ) ) + // InternalSolverLanguageParser.g:1747:2: ( ( rule__LogicValue__Alternatives ) ) + { + // InternalSolverLanguageParser.g:1747:2: ( ( rule__LogicValue__Alternatives ) ) + // InternalSolverLanguageParser.g:1748:3: ( rule__LogicValue__Alternatives ) + { + before(grammarAccess.getLogicValueAccess().getAlternatives()); + // InternalSolverLanguageParser.g:1749:3: ( rule__LogicValue__Alternatives ) + // InternalSolverLanguageParser.g:1749:4: rule__LogicValue__Alternatives + { + pushFollow(FOLLOW_2); + rule__LogicValue__Alternatives(); + + state._fsp--; + + + } + + after(grammarAccess.getLogicValueAccess().getAlternatives()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleLogicValue" + + + // $ANTLR start "ruleObjectiveKind" + // InternalSolverLanguageParser.g:1758:1: ruleObjectiveKind : ( ( rule__ObjectiveKind__Alternatives ) ) ; + public final void ruleObjectiveKind() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:1762:1: ( ( ( rule__ObjectiveKind__Alternatives ) ) ) + // InternalSolverLanguageParser.g:1763:2: ( ( rule__ObjectiveKind__Alternatives ) ) + { + // InternalSolverLanguageParser.g:1763:2: ( ( rule__ObjectiveKind__Alternatives ) ) + // InternalSolverLanguageParser.g:1764:3: ( rule__ObjectiveKind__Alternatives ) + { + before(grammarAccess.getObjectiveKindAccess().getAlternatives()); + // InternalSolverLanguageParser.g:1765:3: ( rule__ObjectiveKind__Alternatives ) + // InternalSolverLanguageParser.g:1765:4: rule__ObjectiveKind__Alternatives + { + pushFollow(FOLLOW_2); + rule__ObjectiveKind__Alternatives(); + + state._fsp--; + + + } + + after(grammarAccess.getObjectiveKindAccess().getAlternatives()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleObjectiveKind" + + + // $ANTLR start "rule__Statement__Alternatives_0" + // InternalSolverLanguageParser.g:1773:1: rule__Statement__Alternatives_0 : ( ( ruleAssertionOrDefinition ) | ( rulePredicateDefinition ) | ( ruleUnnamedErrorPrediateDefinition ) | ( ruleDefaultDefinition ) | ( ruleMetricDefinition ) | ( ruleExternPredicateDefinition ) | ( ruleExternMetricDefinition ) | ( ruleExternAggregatorDefinition ) | ( ruleExternDatatypeDefinition ) | ( ruleClassDefinition ) | ( ruleScopeDefinition ) | ( ruleObjectiveDefinition ) ); + public final void rule__Statement__Alternatives_0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:1777:1: ( ( ruleAssertionOrDefinition ) | ( rulePredicateDefinition ) | ( ruleUnnamedErrorPrediateDefinition ) | ( ruleDefaultDefinition ) | ( ruleMetricDefinition ) | ( ruleExternPredicateDefinition ) | ( ruleExternMetricDefinition ) | ( ruleExternAggregatorDefinition ) | ( ruleExternDatatypeDefinition ) | ( ruleClassDefinition ) | ( ruleScopeDefinition ) | ( ruleObjectiveDefinition ) ) + int alt2=12; + alt2 = dfa2.predict(input); + switch (alt2) { + case 1 : + // InternalSolverLanguageParser.g:1778:2: ( ruleAssertionOrDefinition ) + { + // InternalSolverLanguageParser.g:1778:2: ( ruleAssertionOrDefinition ) + // InternalSolverLanguageParser.g:1779:3: ruleAssertionOrDefinition + { + before(grammarAccess.getStatementAccess().getAssertionOrDefinitionParserRuleCall_0_0()); + pushFollow(FOLLOW_2); + ruleAssertionOrDefinition(); + + state._fsp--; + + after(grammarAccess.getStatementAccess().getAssertionOrDefinitionParserRuleCall_0_0()); + + } + + + } + break; + case 2 : + // InternalSolverLanguageParser.g:1784:2: ( rulePredicateDefinition ) + { + // InternalSolverLanguageParser.g:1784:2: ( rulePredicateDefinition ) + // InternalSolverLanguageParser.g:1785:3: rulePredicateDefinition + { + before(grammarAccess.getStatementAccess().getPredicateDefinitionParserRuleCall_0_1()); + pushFollow(FOLLOW_2); + rulePredicateDefinition(); + + state._fsp--; + + after(grammarAccess.getStatementAccess().getPredicateDefinitionParserRuleCall_0_1()); + + } + + + } + break; + case 3 : + // InternalSolverLanguageParser.g:1790:2: ( ruleUnnamedErrorPrediateDefinition ) + { + // InternalSolverLanguageParser.g:1790:2: ( ruleUnnamedErrorPrediateDefinition ) + // InternalSolverLanguageParser.g:1791:3: ruleUnnamedErrorPrediateDefinition + { + before(grammarAccess.getStatementAccess().getUnnamedErrorPrediateDefinitionParserRuleCall_0_2()); + pushFollow(FOLLOW_2); + ruleUnnamedErrorPrediateDefinition(); + + state._fsp--; + + after(grammarAccess.getStatementAccess().getUnnamedErrorPrediateDefinitionParserRuleCall_0_2()); + + } + + + } + break; + case 4 : + // InternalSolverLanguageParser.g:1796:2: ( ruleDefaultDefinition ) + { + // InternalSolverLanguageParser.g:1796:2: ( ruleDefaultDefinition ) + // InternalSolverLanguageParser.g:1797:3: ruleDefaultDefinition + { + before(grammarAccess.getStatementAccess().getDefaultDefinitionParserRuleCall_0_3()); + pushFollow(FOLLOW_2); + ruleDefaultDefinition(); + + state._fsp--; + + after(grammarAccess.getStatementAccess().getDefaultDefinitionParserRuleCall_0_3()); + + } + + + } + break; + case 5 : + // InternalSolverLanguageParser.g:1802:2: ( ruleMetricDefinition ) + { + // InternalSolverLanguageParser.g:1802:2: ( ruleMetricDefinition ) + // InternalSolverLanguageParser.g:1803:3: ruleMetricDefinition + { + before(grammarAccess.getStatementAccess().getMetricDefinitionParserRuleCall_0_4()); + pushFollow(FOLLOW_2); + ruleMetricDefinition(); + + state._fsp--; + + after(grammarAccess.getStatementAccess().getMetricDefinitionParserRuleCall_0_4()); + + } + + + } + break; + case 6 : + // InternalSolverLanguageParser.g:1808:2: ( ruleExternPredicateDefinition ) + { + // InternalSolverLanguageParser.g:1808:2: ( ruleExternPredicateDefinition ) + // InternalSolverLanguageParser.g:1809:3: ruleExternPredicateDefinition + { + before(grammarAccess.getStatementAccess().getExternPredicateDefinitionParserRuleCall_0_5()); + pushFollow(FOLLOW_2); + ruleExternPredicateDefinition(); + + state._fsp--; + + after(grammarAccess.getStatementAccess().getExternPredicateDefinitionParserRuleCall_0_5()); + + } + + + } + break; + case 7 : + // InternalSolverLanguageParser.g:1814:2: ( ruleExternMetricDefinition ) + { + // InternalSolverLanguageParser.g:1814:2: ( ruleExternMetricDefinition ) + // InternalSolverLanguageParser.g:1815:3: ruleExternMetricDefinition + { + before(grammarAccess.getStatementAccess().getExternMetricDefinitionParserRuleCall_0_6()); + pushFollow(FOLLOW_2); + ruleExternMetricDefinition(); + + state._fsp--; + + after(grammarAccess.getStatementAccess().getExternMetricDefinitionParserRuleCall_0_6()); + + } + + + } + break; + case 8 : + // InternalSolverLanguageParser.g:1820:2: ( ruleExternAggregatorDefinition ) + { + // InternalSolverLanguageParser.g:1820:2: ( ruleExternAggregatorDefinition ) + // InternalSolverLanguageParser.g:1821:3: ruleExternAggregatorDefinition + { + before(grammarAccess.getStatementAccess().getExternAggregatorDefinitionParserRuleCall_0_7()); + pushFollow(FOLLOW_2); + ruleExternAggregatorDefinition(); + + state._fsp--; + + after(grammarAccess.getStatementAccess().getExternAggregatorDefinitionParserRuleCall_0_7()); + + } + + + } + break; + case 9 : + // InternalSolverLanguageParser.g:1826:2: ( ruleExternDatatypeDefinition ) + { + // InternalSolverLanguageParser.g:1826:2: ( ruleExternDatatypeDefinition ) + // InternalSolverLanguageParser.g:1827:3: ruleExternDatatypeDefinition + { + before(grammarAccess.getStatementAccess().getExternDatatypeDefinitionParserRuleCall_0_8()); + pushFollow(FOLLOW_2); + ruleExternDatatypeDefinition(); + + state._fsp--; + + after(grammarAccess.getStatementAccess().getExternDatatypeDefinitionParserRuleCall_0_8()); + + } + + + } + break; + case 10 : + // InternalSolverLanguageParser.g:1832:2: ( ruleClassDefinition ) + { + // InternalSolverLanguageParser.g:1832:2: ( ruleClassDefinition ) + // InternalSolverLanguageParser.g:1833:3: ruleClassDefinition + { + before(grammarAccess.getStatementAccess().getClassDefinitionParserRuleCall_0_9()); + pushFollow(FOLLOW_2); + ruleClassDefinition(); + + state._fsp--; + + after(grammarAccess.getStatementAccess().getClassDefinitionParserRuleCall_0_9()); + + } + + + } + break; + case 11 : + // InternalSolverLanguageParser.g:1838:2: ( ruleScopeDefinition ) + { + // InternalSolverLanguageParser.g:1838:2: ( ruleScopeDefinition ) + // InternalSolverLanguageParser.g:1839:3: ruleScopeDefinition + { + before(grammarAccess.getStatementAccess().getScopeDefinitionParserRuleCall_0_10()); + pushFollow(FOLLOW_2); + ruleScopeDefinition(); + + state._fsp--; + + after(grammarAccess.getStatementAccess().getScopeDefinitionParserRuleCall_0_10()); + + } + + + } + break; + case 12 : + // InternalSolverLanguageParser.g:1844:2: ( ruleObjectiveDefinition ) + { + // InternalSolverLanguageParser.g:1844:2: ( ruleObjectiveDefinition ) + // InternalSolverLanguageParser.g:1845:3: ruleObjectiveDefinition + { + before(grammarAccess.getStatementAccess().getObjectiveDefinitionParserRuleCall_0_11()); + pushFollow(FOLLOW_2); + ruleObjectiveDefinition(); + + state._fsp--; + + after(grammarAccess.getStatementAccess().getObjectiveDefinitionParserRuleCall_0_11()); + + } + + + } + break; + + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Statement__Alternatives_0" + + + // $ANTLR start "rule__AssertionOrDefinition__Alternatives_1" + // InternalSolverLanguageParser.g:1854:1: rule__AssertionOrDefinition__Alternatives_1 : ( ( ( rule__AssertionOrDefinition__Group_1_0__0 ) ) | ( ( rule__AssertionOrDefinition__Group_1_1__0 ) ) | ( ( rule__AssertionOrDefinition__Group_1_2__0 ) ) ); + public final void rule__AssertionOrDefinition__Alternatives_1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:1858:1: ( ( ( rule__AssertionOrDefinition__Group_1_0__0 ) ) | ( ( rule__AssertionOrDefinition__Group_1_1__0 ) ) | ( ( rule__AssertionOrDefinition__Group_1_2__0 ) ) ) + int alt3=3; + switch ( input.LA(1) ) { + case Colon: + { + alt3=1; + } + break; + case ColonHyphenMinus: + { + alt3=2; + } + break; + case EqualsSign: + { + alt3=3; + } + break; + default: + NoViableAltException nvae = + new NoViableAltException("", 3, 0, input); + + throw nvae; + } + + switch (alt3) { + case 1 : + // InternalSolverLanguageParser.g:1859:2: ( ( rule__AssertionOrDefinition__Group_1_0__0 ) ) + { + // InternalSolverLanguageParser.g:1859:2: ( ( rule__AssertionOrDefinition__Group_1_0__0 ) ) + // InternalSolverLanguageParser.g:1860:3: ( rule__AssertionOrDefinition__Group_1_0__0 ) + { + before(grammarAccess.getAssertionOrDefinitionAccess().getGroup_1_0()); + // InternalSolverLanguageParser.g:1861:3: ( rule__AssertionOrDefinition__Group_1_0__0 ) + // InternalSolverLanguageParser.g:1861:4: rule__AssertionOrDefinition__Group_1_0__0 + { + pushFollow(FOLLOW_2); + rule__AssertionOrDefinition__Group_1_0__0(); + + state._fsp--; + + + } + + after(grammarAccess.getAssertionOrDefinitionAccess().getGroup_1_0()); + + } + + + } + break; + case 2 : + // InternalSolverLanguageParser.g:1865:2: ( ( rule__AssertionOrDefinition__Group_1_1__0 ) ) + { + // InternalSolverLanguageParser.g:1865:2: ( ( rule__AssertionOrDefinition__Group_1_1__0 ) ) + // InternalSolverLanguageParser.g:1866:3: ( rule__AssertionOrDefinition__Group_1_1__0 ) + { + before(grammarAccess.getAssertionOrDefinitionAccess().getGroup_1_1()); + // InternalSolverLanguageParser.g:1867:3: ( rule__AssertionOrDefinition__Group_1_1__0 ) + // InternalSolverLanguageParser.g:1867:4: rule__AssertionOrDefinition__Group_1_1__0 + { + pushFollow(FOLLOW_2); + rule__AssertionOrDefinition__Group_1_1__0(); + + state._fsp--; + + + } + + after(grammarAccess.getAssertionOrDefinitionAccess().getGroup_1_1()); + + } + + + } + break; + case 3 : + // InternalSolverLanguageParser.g:1871:2: ( ( rule__AssertionOrDefinition__Group_1_2__0 ) ) + { + // InternalSolverLanguageParser.g:1871:2: ( ( rule__AssertionOrDefinition__Group_1_2__0 ) ) + // InternalSolverLanguageParser.g:1872:3: ( rule__AssertionOrDefinition__Group_1_2__0 ) + { + before(grammarAccess.getAssertionOrDefinitionAccess().getGroup_1_2()); + // InternalSolverLanguageParser.g:1873:3: ( rule__AssertionOrDefinition__Group_1_2__0 ) + // InternalSolverLanguageParser.g:1873:4: rule__AssertionOrDefinition__Group_1_2__0 + { + pushFollow(FOLLOW_2); + rule__AssertionOrDefinition__Group_1_2__0(); + + state._fsp--; + + + } + + after(grammarAccess.getAssertionOrDefinitionAccess().getGroup_1_2()); + + } + + + } + break; + + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AssertionOrDefinition__Alternatives_1" + + + // $ANTLR start "rule__PredicateDefinition__Alternatives_0" + // InternalSolverLanguageParser.g:1881:1: rule__PredicateDefinition__Alternatives_0 : ( ( ( rule__PredicateDefinition__Group_0_0__0 ) ) | ( ( rule__PredicateDefinition__Group_0_1__0 ) ) ); + public final void rule__PredicateDefinition__Alternatives_0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:1885:1: ( ( ( rule__PredicateDefinition__Group_0_0__0 ) ) | ( ( rule__PredicateDefinition__Group_0_1__0 ) ) ) + int alt4=2; + int LA4_0 = input.LA(1); + + if ( (LA4_0==Functional) ) { + alt4=1; + } + else if ( (LA4_0==Error) ) { + alt4=2; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 4, 0, input); + + throw nvae; + } + switch (alt4) { + case 1 : + // InternalSolverLanguageParser.g:1886:2: ( ( rule__PredicateDefinition__Group_0_0__0 ) ) + { + // InternalSolverLanguageParser.g:1886:2: ( ( rule__PredicateDefinition__Group_0_0__0 ) ) + // InternalSolverLanguageParser.g:1887:3: ( rule__PredicateDefinition__Group_0_0__0 ) + { + before(grammarAccess.getPredicateDefinitionAccess().getGroup_0_0()); + // InternalSolverLanguageParser.g:1888:3: ( rule__PredicateDefinition__Group_0_0__0 ) + // InternalSolverLanguageParser.g:1888:4: rule__PredicateDefinition__Group_0_0__0 + { + pushFollow(FOLLOW_2); + rule__PredicateDefinition__Group_0_0__0(); + + state._fsp--; + + + } + + after(grammarAccess.getPredicateDefinitionAccess().getGroup_0_0()); + + } + + + } + break; + case 2 : + // InternalSolverLanguageParser.g:1892:2: ( ( rule__PredicateDefinition__Group_0_1__0 ) ) + { + // InternalSolverLanguageParser.g:1892:2: ( ( rule__PredicateDefinition__Group_0_1__0 ) ) + // InternalSolverLanguageParser.g:1893:3: ( rule__PredicateDefinition__Group_0_1__0 ) + { + before(grammarAccess.getPredicateDefinitionAccess().getGroup_0_1()); + // InternalSolverLanguageParser.g:1894:3: ( rule__PredicateDefinition__Group_0_1__0 ) + // InternalSolverLanguageParser.g:1894:4: rule__PredicateDefinition__Group_0_1__0 + { + pushFollow(FOLLOW_2); + rule__PredicateDefinition__Group_0_1__0(); + + state._fsp--; + + + } + + after(grammarAccess.getPredicateDefinitionAccess().getGroup_0_1()); + + } + + + } + break; + + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PredicateDefinition__Alternatives_0" + + + // $ANTLR start "rule__Expression__Alternatives" + // InternalSolverLanguageParser.g:1902:1: rule__Expression__Alternatives : ( ( ruleIfElse ) | ( ruleLet ) | ( ruleImplicationExpression ) ); + public final void rule__Expression__Alternatives() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:1906:1: ( ( ruleIfElse ) | ( ruleLet ) | ( ruleImplicationExpression ) ) + int alt5=3; + switch ( input.LA(1) ) { + case If: + { + alt5=1; + } + break; + case Let: + { + alt5=2; + } + break; + case Current: + case Unknown: + case Exists: + case Forall: + case Count: + case Empty: + case Error: + case False: + case Must: + case True: + case Inf: + case May: + case ExclamationMark: + case LeftParenthesis: + case PlusSign: + case HyphenMinus: + case LeftSquareBracket: + case RULE_STRING: + case RULE_QUOTED_ID: + case RULE_ID: + case RULE_INT: + { + alt5=3; + } + break; + default: + NoViableAltException nvae = + new NoViableAltException("", 5, 0, input); + + throw nvae; + } + + switch (alt5) { + case 1 : + // InternalSolverLanguageParser.g:1907:2: ( ruleIfElse ) + { + // InternalSolverLanguageParser.g:1907:2: ( ruleIfElse ) + // InternalSolverLanguageParser.g:1908:3: ruleIfElse + { + before(grammarAccess.getExpressionAccess().getIfElseParserRuleCall_0()); + pushFollow(FOLLOW_2); + ruleIfElse(); + + state._fsp--; + + after(grammarAccess.getExpressionAccess().getIfElseParserRuleCall_0()); + + } + + + } + break; + case 2 : + // InternalSolverLanguageParser.g:1913:2: ( ruleLet ) + { + // InternalSolverLanguageParser.g:1913:2: ( ruleLet ) + // InternalSolverLanguageParser.g:1914:3: ruleLet + { + before(grammarAccess.getExpressionAccess().getLetParserRuleCall_1()); + pushFollow(FOLLOW_2); + ruleLet(); + + state._fsp--; + + after(grammarAccess.getExpressionAccess().getLetParserRuleCall_1()); + + } + + + } + break; + case 3 : + // InternalSolverLanguageParser.g:1919:2: ( ruleImplicationExpression ) + { + // InternalSolverLanguageParser.g:1919:2: ( ruleImplicationExpression ) + // InternalSolverLanguageParser.g:1920:3: ruleImplicationExpression + { + before(grammarAccess.getExpressionAccess().getImplicationExpressionParserRuleCall_2()); + pushFollow(FOLLOW_2); + ruleImplicationExpression(); + + state._fsp--; + + after(grammarAccess.getExpressionAccess().getImplicationExpressionParserRuleCall_2()); + + } + + + } + break; + + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Expression__Alternatives" + + + // $ANTLR start "rule__DisjunctiveExpression__Alternatives_1" + // InternalSolverLanguageParser.g:1929:1: rule__DisjunctiveExpression__Alternatives_1 : ( ( ( rule__DisjunctiveExpression__Group_1_0__0 ) ) | ( ( rule__DisjunctiveExpression__Group_1_1__0 ) ) ); + public final void rule__DisjunctiveExpression__Alternatives_1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:1933:1: ( ( ( rule__DisjunctiveExpression__Group_1_0__0 ) ) | ( ( rule__DisjunctiveExpression__Group_1_1__0 ) ) ) + int alt6=2; + int LA6_0 = input.LA(1); + + if ( (LA6_0==Semicolon) ) { + alt6=1; + } + else if ( (LA6_0==HyphenMinusGreaterThanSign) ) { + alt6=2; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 6, 0, input); + + throw nvae; + } + switch (alt6) { + case 1 : + // InternalSolverLanguageParser.g:1934:2: ( ( rule__DisjunctiveExpression__Group_1_0__0 ) ) + { + // InternalSolverLanguageParser.g:1934:2: ( ( rule__DisjunctiveExpression__Group_1_0__0 ) ) + // InternalSolverLanguageParser.g:1935:3: ( rule__DisjunctiveExpression__Group_1_0__0 ) + { + before(grammarAccess.getDisjunctiveExpressionAccess().getGroup_1_0()); + // InternalSolverLanguageParser.g:1936:3: ( rule__DisjunctiveExpression__Group_1_0__0 ) + // InternalSolverLanguageParser.g:1936:4: rule__DisjunctiveExpression__Group_1_0__0 + { + pushFollow(FOLLOW_2); + rule__DisjunctiveExpression__Group_1_0__0(); + + state._fsp--; + + + } + + after(grammarAccess.getDisjunctiveExpressionAccess().getGroup_1_0()); + + } + + + } + break; + case 2 : + // InternalSolverLanguageParser.g:1940:2: ( ( rule__DisjunctiveExpression__Group_1_1__0 ) ) + { + // InternalSolverLanguageParser.g:1940:2: ( ( rule__DisjunctiveExpression__Group_1_1__0 ) ) + // InternalSolverLanguageParser.g:1941:3: ( rule__DisjunctiveExpression__Group_1_1__0 ) + { + before(grammarAccess.getDisjunctiveExpressionAccess().getGroup_1_1()); + // InternalSolverLanguageParser.g:1942:3: ( rule__DisjunctiveExpression__Group_1_1__0 ) + // InternalSolverLanguageParser.g:1942:4: rule__DisjunctiveExpression__Group_1_1__0 + { + pushFollow(FOLLOW_2); + rule__DisjunctiveExpression__Group_1_1__0(); + + state._fsp--; + + + } + + after(grammarAccess.getDisjunctiveExpressionAccess().getGroup_1_1()); + + } + + + } + break; + + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__DisjunctiveExpression__Alternatives_1" + + + // $ANTLR start "rule__UnaryExpression__Alternatives" + // InternalSolverLanguageParser.g:1950:1: rule__UnaryExpression__Alternatives : ( ( ruleAggregationExpression ) | ( ( rule__UnaryExpression__Group_1__0 ) ) ); + public final void rule__UnaryExpression__Alternatives() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:1954:1: ( ( ruleAggregationExpression ) | ( ( rule__UnaryExpression__Group_1__0 ) ) ) + int alt7=2; + int LA7_0 = input.LA(1); + + if ( ((LA7_0>=Unknown && LA7_0<=Exists)||LA7_0==Forall||(LA7_0>=Count && LA7_0<=False)||LA7_0==True||LA7_0==Inf||LA7_0==LeftParenthesis||LA7_0==LeftSquareBracket||(LA7_0>=RULE_STRING && LA7_0<=RULE_QUOTED_ID)||(LA7_0>=RULE_ID && LA7_0<=RULE_INT)) ) { + alt7=1; + } + else if ( (LA7_0==Current||LA7_0==Must||LA7_0==May||LA7_0==ExclamationMark||LA7_0==PlusSign||LA7_0==HyphenMinus) ) { + alt7=2; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 7, 0, input); + + throw nvae; + } + switch (alt7) { + case 1 : + // InternalSolverLanguageParser.g:1955:2: ( ruleAggregationExpression ) + { + // InternalSolverLanguageParser.g:1955:2: ( ruleAggregationExpression ) + // InternalSolverLanguageParser.g:1956:3: ruleAggregationExpression + { + before(grammarAccess.getUnaryExpressionAccess().getAggregationExpressionParserRuleCall_0()); + pushFollow(FOLLOW_2); + ruleAggregationExpression(); + + state._fsp--; + + after(grammarAccess.getUnaryExpressionAccess().getAggregationExpressionParserRuleCall_0()); + + } + + + } + break; + case 2 : + // InternalSolverLanguageParser.g:1961:2: ( ( rule__UnaryExpression__Group_1__0 ) ) + { + // InternalSolverLanguageParser.g:1961:2: ( ( rule__UnaryExpression__Group_1__0 ) ) + // InternalSolverLanguageParser.g:1962:3: ( rule__UnaryExpression__Group_1__0 ) + { + before(grammarAccess.getUnaryExpressionAccess().getGroup_1()); + // InternalSolverLanguageParser.g:1963:3: ( rule__UnaryExpression__Group_1__0 ) + // InternalSolverLanguageParser.g:1963:4: rule__UnaryExpression__Group_1__0 + { + pushFollow(FOLLOW_2); + rule__UnaryExpression__Group_1__0(); + + state._fsp--; + + + } + + after(grammarAccess.getUnaryExpressionAccess().getGroup_1()); + + } + + + } + break; + + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__UnaryExpression__Alternatives" + + + // $ANTLR start "rule__AggregationExpression__Alternatives" + // InternalSolverLanguageParser.g:1971:1: rule__AggregationExpression__Alternatives : ( ( ruleAtomicExpression ) | ( ruleQuantifiedExpression ) | ( ruleAggregation ) ); + public final void rule__AggregationExpression__Alternatives() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:1975:1: ( ( ruleAtomicExpression ) | ( ruleQuantifiedExpression ) | ( ruleAggregation ) ) + int alt8=3; + alt8 = dfa8.predict(input); + switch (alt8) { + case 1 : + // InternalSolverLanguageParser.g:1976:2: ( ruleAtomicExpression ) + { + // InternalSolverLanguageParser.g:1976:2: ( ruleAtomicExpression ) + // InternalSolverLanguageParser.g:1977:3: ruleAtomicExpression + { + before(grammarAccess.getAggregationExpressionAccess().getAtomicExpressionParserRuleCall_0()); + pushFollow(FOLLOW_2); + ruleAtomicExpression(); + + state._fsp--; + + after(grammarAccess.getAggregationExpressionAccess().getAtomicExpressionParserRuleCall_0()); + + } + + + } + break; + case 2 : + // InternalSolverLanguageParser.g:1982:2: ( ruleQuantifiedExpression ) + { + // InternalSolverLanguageParser.g:1982:2: ( ruleQuantifiedExpression ) + // InternalSolverLanguageParser.g:1983:3: ruleQuantifiedExpression + { + before(grammarAccess.getAggregationExpressionAccess().getQuantifiedExpressionParserRuleCall_1()); + pushFollow(FOLLOW_2); + ruleQuantifiedExpression(); + + state._fsp--; + + after(grammarAccess.getAggregationExpressionAccess().getQuantifiedExpressionParserRuleCall_1()); + + } + + + } + break; + case 3 : + // InternalSolverLanguageParser.g:1988:2: ( ruleAggregation ) + { + // InternalSolverLanguageParser.g:1988:2: ( ruleAggregation ) + // InternalSolverLanguageParser.g:1989:3: ruleAggregation + { + before(grammarAccess.getAggregationExpressionAccess().getAggregationParserRuleCall_2()); + pushFollow(FOLLOW_2); + ruleAggregation(); + + state._fsp--; + + after(grammarAccess.getAggregationExpressionAccess().getAggregationParserRuleCall_2()); + + } + + + } + break; + + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AggregationExpression__Alternatives" + + + // $ANTLR start "rule__AtomicExpression__Alternatives" + // InternalSolverLanguageParser.g:1998:1: rule__AtomicExpression__Alternatives : ( ( ruleReference ) | ( ruleCall ) | ( ruleInterval ) | ( ruleLiteral ) | ( ( rule__AtomicExpression__Group_4__0 ) ) ); + public final void rule__AtomicExpression__Alternatives() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:2002:1: ( ( ruleReference ) | ( ruleCall ) | ( ruleInterval ) | ( ruleLiteral ) | ( ( rule__AtomicExpression__Group_4__0 ) ) ) + int alt9=5; + alt9 = dfa9.predict(input); + switch (alt9) { + case 1 : + // InternalSolverLanguageParser.g:2003:2: ( ruleReference ) + { + // InternalSolverLanguageParser.g:2003:2: ( ruleReference ) + // InternalSolverLanguageParser.g:2004:3: ruleReference + { + before(grammarAccess.getAtomicExpressionAccess().getReferenceParserRuleCall_0()); + pushFollow(FOLLOW_2); + ruleReference(); + + state._fsp--; + + after(grammarAccess.getAtomicExpressionAccess().getReferenceParserRuleCall_0()); + + } + + + } + break; + case 2 : + // InternalSolverLanguageParser.g:2009:2: ( ruleCall ) + { + // InternalSolverLanguageParser.g:2009:2: ( ruleCall ) + // InternalSolverLanguageParser.g:2010:3: ruleCall + { + before(grammarAccess.getAtomicExpressionAccess().getCallParserRuleCall_1()); + pushFollow(FOLLOW_2); + ruleCall(); + + state._fsp--; + + after(grammarAccess.getAtomicExpressionAccess().getCallParserRuleCall_1()); + + } + + + } + break; + case 3 : + // InternalSolverLanguageParser.g:2015:2: ( ruleInterval ) + { + // InternalSolverLanguageParser.g:2015:2: ( ruleInterval ) + // InternalSolverLanguageParser.g:2016:3: ruleInterval + { + before(grammarAccess.getAtomicExpressionAccess().getIntervalParserRuleCall_2()); + pushFollow(FOLLOW_2); + ruleInterval(); + + state._fsp--; + + after(grammarAccess.getAtomicExpressionAccess().getIntervalParserRuleCall_2()); + + } + + + } + break; + case 4 : + // InternalSolverLanguageParser.g:2021:2: ( ruleLiteral ) + { + // InternalSolverLanguageParser.g:2021:2: ( ruleLiteral ) + // InternalSolverLanguageParser.g:2022:3: ruleLiteral + { + before(grammarAccess.getAtomicExpressionAccess().getLiteralParserRuleCall_3()); + pushFollow(FOLLOW_2); + ruleLiteral(); + + state._fsp--; + + after(grammarAccess.getAtomicExpressionAccess().getLiteralParserRuleCall_3()); + + } + + + } + break; + case 5 : + // InternalSolverLanguageParser.g:2027:2: ( ( rule__AtomicExpression__Group_4__0 ) ) + { + // InternalSolverLanguageParser.g:2027:2: ( ( rule__AtomicExpression__Group_4__0 ) ) + // InternalSolverLanguageParser.g:2028:3: ( rule__AtomicExpression__Group_4__0 ) + { + before(grammarAccess.getAtomicExpressionAccess().getGroup_4()); + // InternalSolverLanguageParser.g:2029:3: ( rule__AtomicExpression__Group_4__0 ) + // InternalSolverLanguageParser.g:2029:4: rule__AtomicExpression__Group_4__0 + { + pushFollow(FOLLOW_2); + rule__AtomicExpression__Group_4__0(); + + state._fsp--; + + + } + + after(grammarAccess.getAtomicExpressionAccess().getGroup_4()); + + } + + + } + break; + + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AtomicExpression__Alternatives" + + + // $ANTLR start "rule__Call__Alternatives_1" + // InternalSolverLanguageParser.g:2037:1: rule__Call__Alternatives_1 : ( ( ( rule__Call__TransitiveClosureAssignment_1_0 ) ) | ( ( rule__Call__ReflexiveTransitiveClosureAssignment_1_1 ) ) ); + public final void rule__Call__Alternatives_1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:2041:1: ( ( ( rule__Call__TransitiveClosureAssignment_1_0 ) ) | ( ( rule__Call__ReflexiveTransitiveClosureAssignment_1_1 ) ) ) + int alt10=2; + int LA10_0 = input.LA(1); + + if ( (LA10_0==RULE_TRANSITIVE_CLOSURE) ) { + alt10=1; + } + else if ( (LA10_0==RULE_REFLEXIVE_TRANSITIVE_CLOSURE) ) { + alt10=2; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 10, 0, input); + + throw nvae; + } + switch (alt10) { + case 1 : + // InternalSolverLanguageParser.g:2042:2: ( ( rule__Call__TransitiveClosureAssignment_1_0 ) ) + { + // InternalSolverLanguageParser.g:2042:2: ( ( rule__Call__TransitiveClosureAssignment_1_0 ) ) + // InternalSolverLanguageParser.g:2043:3: ( rule__Call__TransitiveClosureAssignment_1_0 ) + { + before(grammarAccess.getCallAccess().getTransitiveClosureAssignment_1_0()); + // InternalSolverLanguageParser.g:2044:3: ( rule__Call__TransitiveClosureAssignment_1_0 ) + // InternalSolverLanguageParser.g:2044:4: rule__Call__TransitiveClosureAssignment_1_0 + { + pushFollow(FOLLOW_2); + rule__Call__TransitiveClosureAssignment_1_0(); + + state._fsp--; + + + } + + after(grammarAccess.getCallAccess().getTransitiveClosureAssignment_1_0()); + + } + + + } + break; + case 2 : + // InternalSolverLanguageParser.g:2048:2: ( ( rule__Call__ReflexiveTransitiveClosureAssignment_1_1 ) ) + { + // InternalSolverLanguageParser.g:2048:2: ( ( rule__Call__ReflexiveTransitiveClosureAssignment_1_1 ) ) + // InternalSolverLanguageParser.g:2049:3: ( rule__Call__ReflexiveTransitiveClosureAssignment_1_1 ) + { + before(grammarAccess.getCallAccess().getReflexiveTransitiveClosureAssignment_1_1()); + // InternalSolverLanguageParser.g:2050:3: ( rule__Call__ReflexiveTransitiveClosureAssignment_1_1 ) + // InternalSolverLanguageParser.g:2050:4: rule__Call__ReflexiveTransitiveClosureAssignment_1_1 + { + pushFollow(FOLLOW_2); + rule__Call__ReflexiveTransitiveClosureAssignment_1_1(); + + state._fsp--; + + + } + + after(grammarAccess.getCallAccess().getReflexiveTransitiveClosureAssignment_1_1()); + + } + + + } + break; + + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Call__Alternatives_1" + + + // $ANTLR start "rule__Argument__Alternatives" + // InternalSolverLanguageParser.g:2058:1: rule__Argument__Alternatives : ( ( ruleExpressionArgument ) | ( ruleStarArgument ) | ( ruleTypedArgument ) | ( ruleTypedStarArgument ) ); + public final void rule__Argument__Alternatives() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:2062:1: ( ( ruleExpressionArgument ) | ( ruleStarArgument ) | ( ruleTypedArgument ) | ( ruleTypedStarArgument ) ) + int alt11=4; + alt11 = dfa11.predict(input); + switch (alt11) { + case 1 : + // InternalSolverLanguageParser.g:2063:2: ( ruleExpressionArgument ) + { + // InternalSolverLanguageParser.g:2063:2: ( ruleExpressionArgument ) + // InternalSolverLanguageParser.g:2064:3: ruleExpressionArgument + { + before(grammarAccess.getArgumentAccess().getExpressionArgumentParserRuleCall_0()); + pushFollow(FOLLOW_2); + ruleExpressionArgument(); + + state._fsp--; + + after(grammarAccess.getArgumentAccess().getExpressionArgumentParserRuleCall_0()); + + } + + + } + break; + case 2 : + // InternalSolverLanguageParser.g:2069:2: ( ruleStarArgument ) + { + // InternalSolverLanguageParser.g:2069:2: ( ruleStarArgument ) + // InternalSolverLanguageParser.g:2070:3: ruleStarArgument + { + before(grammarAccess.getArgumentAccess().getStarArgumentParserRuleCall_1()); + pushFollow(FOLLOW_2); + ruleStarArgument(); + + state._fsp--; + + after(grammarAccess.getArgumentAccess().getStarArgumentParserRuleCall_1()); + + } + + + } + break; + case 3 : + // InternalSolverLanguageParser.g:2075:2: ( ruleTypedArgument ) + { + // InternalSolverLanguageParser.g:2075:2: ( ruleTypedArgument ) + // InternalSolverLanguageParser.g:2076:3: ruleTypedArgument + { + before(grammarAccess.getArgumentAccess().getTypedArgumentParserRuleCall_2()); + pushFollow(FOLLOW_2); + ruleTypedArgument(); + + state._fsp--; + + after(grammarAccess.getArgumentAccess().getTypedArgumentParserRuleCall_2()); + + } + + + } + break; + case 4 : + // InternalSolverLanguageParser.g:2081:2: ( ruleTypedStarArgument ) + { + // InternalSolverLanguageParser.g:2081:2: ( ruleTypedStarArgument ) + // InternalSolverLanguageParser.g:2082:3: ruleTypedStarArgument + { + before(grammarAccess.getArgumentAccess().getTypedStarArgumentParserRuleCall_3()); + pushFollow(FOLLOW_2); + ruleTypedStarArgument(); + + state._fsp--; + + after(grammarAccess.getArgumentAccess().getTypedStarArgumentParserRuleCall_3()); + + } + + + } + break; + + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Argument__Alternatives" + + + // $ANTLR start "rule__Literal__Alternatives" + // InternalSolverLanguageParser.g:2091:1: rule__Literal__Alternatives : ( ( ruleLogicLiteral ) | ( ruleNumericLiteral ) | ( ruleInfinityLiteral ) | ( ruleEmptyIntervalLiteral ) | ( ruleStringLiteral ) ); + public final void rule__Literal__Alternatives() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:2095:1: ( ( ruleLogicLiteral ) | ( ruleNumericLiteral ) | ( ruleInfinityLiteral ) | ( ruleEmptyIntervalLiteral ) | ( ruleStringLiteral ) ) + int alt12=5; + switch ( input.LA(1) ) { + case Unknown: + case Error: + case False: + case True: + { + alt12=1; + } + break; + case RULE_INT: + { + alt12=2; + } + break; + case Inf: + { + alt12=3; + } + break; + case Empty: + { + alt12=4; + } + break; + case RULE_STRING: + { + alt12=5; + } + break; + default: + NoViableAltException nvae = + new NoViableAltException("", 12, 0, input); + + throw nvae; + } + + switch (alt12) { + case 1 : + // InternalSolverLanguageParser.g:2096:2: ( ruleLogicLiteral ) + { + // InternalSolverLanguageParser.g:2096:2: ( ruleLogicLiteral ) + // InternalSolverLanguageParser.g:2097:3: ruleLogicLiteral + { + before(grammarAccess.getLiteralAccess().getLogicLiteralParserRuleCall_0()); + pushFollow(FOLLOW_2); + ruleLogicLiteral(); + + state._fsp--; + + after(grammarAccess.getLiteralAccess().getLogicLiteralParserRuleCall_0()); + + } + + + } + break; + case 2 : + // InternalSolverLanguageParser.g:2102:2: ( ruleNumericLiteral ) + { + // InternalSolverLanguageParser.g:2102:2: ( ruleNumericLiteral ) + // InternalSolverLanguageParser.g:2103:3: ruleNumericLiteral + { + before(grammarAccess.getLiteralAccess().getNumericLiteralParserRuleCall_1()); + pushFollow(FOLLOW_2); + ruleNumericLiteral(); + + state._fsp--; + + after(grammarAccess.getLiteralAccess().getNumericLiteralParserRuleCall_1()); + + } + + + } + break; + case 3 : + // InternalSolverLanguageParser.g:2108:2: ( ruleInfinityLiteral ) + { + // InternalSolverLanguageParser.g:2108:2: ( ruleInfinityLiteral ) + // InternalSolverLanguageParser.g:2109:3: ruleInfinityLiteral + { + before(grammarAccess.getLiteralAccess().getInfinityLiteralParserRuleCall_2()); + pushFollow(FOLLOW_2); + ruleInfinityLiteral(); + + state._fsp--; + + after(grammarAccess.getLiteralAccess().getInfinityLiteralParserRuleCall_2()); + + } + + + } + break; + case 4 : + // InternalSolverLanguageParser.g:2114:2: ( ruleEmptyIntervalLiteral ) + { + // InternalSolverLanguageParser.g:2114:2: ( ruleEmptyIntervalLiteral ) + // InternalSolverLanguageParser.g:2115:3: ruleEmptyIntervalLiteral + { + before(grammarAccess.getLiteralAccess().getEmptyIntervalLiteralParserRuleCall_3()); + pushFollow(FOLLOW_2); + ruleEmptyIntervalLiteral(); + + state._fsp--; + + after(grammarAccess.getLiteralAccess().getEmptyIntervalLiteralParserRuleCall_3()); + + } + + + } + break; + case 5 : + // InternalSolverLanguageParser.g:2120:2: ( ruleStringLiteral ) + { + // InternalSolverLanguageParser.g:2120:2: ( ruleStringLiteral ) + // InternalSolverLanguageParser.g:2121:3: ruleStringLiteral + { + before(grammarAccess.getLiteralAccess().getStringLiteralParserRuleCall_4()); + pushFollow(FOLLOW_2); + ruleStringLiteral(); + + state._fsp--; + + after(grammarAccess.getLiteralAccess().getStringLiteralParserRuleCall_4()); + + } + + + } + break; + + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Literal__Alternatives" + + + // $ANTLR start "rule__Multiplicity__Alternatives" + // InternalSolverLanguageParser.g:2130:1: rule__Multiplicity__Alternatives : ( ( ruleManyMultiplicity ) | ( ruleExactMultiplicity ) | ( ruleBoundedMultiplicity ) ); + public final void rule__Multiplicity__Alternatives() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:2134:1: ( ( ruleManyMultiplicity ) | ( ruleExactMultiplicity ) | ( ruleBoundedMultiplicity ) ) + int alt13=3; + int LA13_0 = input.LA(1); + + if ( (LA13_0==LeftSquareBracket) ) { + switch ( input.LA(2) ) { + case RULE_INT: + { + int LA13_2 = input.LA(3); + + if ( (LA13_2==RightSquareBracket) ) { + alt13=2; + } + else if ( (LA13_2==FullStopFullStop) ) { + alt13=3; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 13, 2, input); + + throw nvae; + } + } + break; + case RightSquareBracket: + { + alt13=1; + } + break; + case Asterisk: + { + alt13=2; + } + break; + default: + NoViableAltException nvae = + new NoViableAltException("", 13, 1, input); + + throw nvae; + } + + } + else { + NoViableAltException nvae = + new NoViableAltException("", 13, 0, input); + + throw nvae; + } + switch (alt13) { + case 1 : + // InternalSolverLanguageParser.g:2135:2: ( ruleManyMultiplicity ) + { + // InternalSolverLanguageParser.g:2135:2: ( ruleManyMultiplicity ) + // InternalSolverLanguageParser.g:2136:3: ruleManyMultiplicity + { + before(grammarAccess.getMultiplicityAccess().getManyMultiplicityParserRuleCall_0()); + pushFollow(FOLLOW_2); + ruleManyMultiplicity(); + + state._fsp--; + + after(grammarAccess.getMultiplicityAccess().getManyMultiplicityParserRuleCall_0()); + + } + + + } + break; + case 2 : + // InternalSolverLanguageParser.g:2141:2: ( ruleExactMultiplicity ) + { + // InternalSolverLanguageParser.g:2141:2: ( ruleExactMultiplicity ) + // InternalSolverLanguageParser.g:2142:3: ruleExactMultiplicity + { + before(grammarAccess.getMultiplicityAccess().getExactMultiplicityParserRuleCall_1()); + pushFollow(FOLLOW_2); + ruleExactMultiplicity(); + + state._fsp--; + + after(grammarAccess.getMultiplicityAccess().getExactMultiplicityParserRuleCall_1()); + + } + + + } + break; + case 3 : + // InternalSolverLanguageParser.g:2147:2: ( ruleBoundedMultiplicity ) + { + // InternalSolverLanguageParser.g:2147:2: ( ruleBoundedMultiplicity ) + // InternalSolverLanguageParser.g:2148:3: ruleBoundedMultiplicity + { + before(grammarAccess.getMultiplicityAccess().getBoundedMultiplicityParserRuleCall_2()); + pushFollow(FOLLOW_2); + ruleBoundedMultiplicity(); + + state._fsp--; + + after(grammarAccess.getMultiplicityAccess().getBoundedMultiplicityParserRuleCall_2()); + + } + + + } + break; + + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Multiplicity__Alternatives" + + + // $ANTLR start "rule__ScopeDefinition__Alternatives" + // InternalSolverLanguageParser.g:2157:1: rule__ScopeDefinition__Alternatives : ( ( ruleExactScopeDefinition ) | ( ruleBoundedScopeDefinition ) | ( ruleLowerBoundedScopeDefinition ) ); + public final void rule__ScopeDefinition__Alternatives() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:2161:1: ( ( ruleExactScopeDefinition ) | ( ruleBoundedScopeDefinition ) | ( ruleLowerBoundedScopeDefinition ) ) + int alt14=3; + alt14 = dfa14.predict(input); + switch (alt14) { + case 1 : + // InternalSolverLanguageParser.g:2162:2: ( ruleExactScopeDefinition ) + { + // InternalSolverLanguageParser.g:2162:2: ( ruleExactScopeDefinition ) + // InternalSolverLanguageParser.g:2163:3: ruleExactScopeDefinition + { + before(grammarAccess.getScopeDefinitionAccess().getExactScopeDefinitionParserRuleCall_0()); + pushFollow(FOLLOW_2); + ruleExactScopeDefinition(); + + state._fsp--; + + after(grammarAccess.getScopeDefinitionAccess().getExactScopeDefinitionParserRuleCall_0()); + + } + + + } + break; + case 2 : + // InternalSolverLanguageParser.g:2168:2: ( ruleBoundedScopeDefinition ) + { + // InternalSolverLanguageParser.g:2168:2: ( ruleBoundedScopeDefinition ) + // InternalSolverLanguageParser.g:2169:3: ruleBoundedScopeDefinition + { + before(grammarAccess.getScopeDefinitionAccess().getBoundedScopeDefinitionParserRuleCall_1()); + pushFollow(FOLLOW_2); + ruleBoundedScopeDefinition(); + + state._fsp--; + + after(grammarAccess.getScopeDefinitionAccess().getBoundedScopeDefinitionParserRuleCall_1()); + + } + + + } + break; + case 3 : + // InternalSolverLanguageParser.g:2174:2: ( ruleLowerBoundedScopeDefinition ) + { + // InternalSolverLanguageParser.g:2174:2: ( ruleLowerBoundedScopeDefinition ) + // InternalSolverLanguageParser.g:2175:3: ruleLowerBoundedScopeDefinition + { + before(grammarAccess.getScopeDefinitionAccess().getLowerBoundedScopeDefinitionParserRuleCall_2()); + pushFollow(FOLLOW_2); + ruleLowerBoundedScopeDefinition(); + + state._fsp--; + + after(grammarAccess.getScopeDefinitionAccess().getLowerBoundedScopeDefinitionParserRuleCall_2()); + + } + + + } + break; + + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ScopeDefinition__Alternatives" + + + // $ANTLR start "rule__BoundedScopeDefinition__Alternatives_1" + // InternalSolverLanguageParser.g:2184:1: rule__BoundedScopeDefinition__Alternatives_1 : ( ( ( rule__BoundedScopeDefinition__Group_1_0__0 ) ) | ( ( rule__BoundedScopeDefinition__Group_1_1__0 ) ) ); + public final void rule__BoundedScopeDefinition__Alternatives_1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:2188:1: ( ( ( rule__BoundedScopeDefinition__Group_1_0__0 ) ) | ( ( rule__BoundedScopeDefinition__Group_1_1__0 ) ) ) + int alt15=2; + int LA15_0 = input.LA(1); + + if ( (LA15_0==RULE_INT) ) { + int LA15_1 = input.LA(2); + + if ( (LA15_1==GreaterThanSignEqualsSign) ) { + alt15=2; + } + else if ( (LA15_1==LessThanSignEqualsSign) ) { + alt15=1; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 15, 1, input); + + throw nvae; + } + } + else if ( (LA15_0==RULE_QUOTED_ID||LA15_0==RULE_ID) ) { + alt15=1; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 15, 0, input); + + throw nvae; + } + switch (alt15) { + case 1 : + // InternalSolverLanguageParser.g:2189:2: ( ( rule__BoundedScopeDefinition__Group_1_0__0 ) ) + { + // InternalSolverLanguageParser.g:2189:2: ( ( rule__BoundedScopeDefinition__Group_1_0__0 ) ) + // InternalSolverLanguageParser.g:2190:3: ( rule__BoundedScopeDefinition__Group_1_0__0 ) + { + before(grammarAccess.getBoundedScopeDefinitionAccess().getGroup_1_0()); + // InternalSolverLanguageParser.g:2191:3: ( rule__BoundedScopeDefinition__Group_1_0__0 ) + // InternalSolverLanguageParser.g:2191:4: rule__BoundedScopeDefinition__Group_1_0__0 + { + pushFollow(FOLLOW_2); + rule__BoundedScopeDefinition__Group_1_0__0(); + + state._fsp--; + + + } + + after(grammarAccess.getBoundedScopeDefinitionAccess().getGroup_1_0()); + + } + + + } + break; + case 2 : + // InternalSolverLanguageParser.g:2195:2: ( ( rule__BoundedScopeDefinition__Group_1_1__0 ) ) + { + // InternalSolverLanguageParser.g:2195:2: ( ( rule__BoundedScopeDefinition__Group_1_1__0 ) ) + // InternalSolverLanguageParser.g:2196:3: ( rule__BoundedScopeDefinition__Group_1_1__0 ) + { + before(grammarAccess.getBoundedScopeDefinitionAccess().getGroup_1_1()); + // InternalSolverLanguageParser.g:2197:3: ( rule__BoundedScopeDefinition__Group_1_1__0 ) + // InternalSolverLanguageParser.g:2197:4: rule__BoundedScopeDefinition__Group_1_1__0 + { + pushFollow(FOLLOW_2); + rule__BoundedScopeDefinition__Group_1_1__0(); + + state._fsp--; + + + } + + after(grammarAccess.getBoundedScopeDefinitionAccess().getGroup_1_1()); + + } + + + } + break; + + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__BoundedScopeDefinition__Alternatives_1" + + + // $ANTLR start "rule__LowerBoundedScopeDefinition__Alternatives_1" + // InternalSolverLanguageParser.g:2205:1: rule__LowerBoundedScopeDefinition__Alternatives_1 : ( ( ( rule__LowerBoundedScopeDefinition__Group_1_0__0 ) ) | ( ( rule__LowerBoundedScopeDefinition__Group_1_1__0 ) ) ); + public final void rule__LowerBoundedScopeDefinition__Alternatives_1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:2209:1: ( ( ( rule__LowerBoundedScopeDefinition__Group_1_0__0 ) ) | ( ( rule__LowerBoundedScopeDefinition__Group_1_1__0 ) ) ) + int alt16=2; + int LA16_0 = input.LA(1); + + if ( (LA16_0==RULE_INT) ) { + alt16=1; + } + else if ( (LA16_0==RULE_QUOTED_ID||LA16_0==RULE_ID) ) { + alt16=2; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 16, 0, input); + + throw nvae; + } + switch (alt16) { + case 1 : + // InternalSolverLanguageParser.g:2210:2: ( ( rule__LowerBoundedScopeDefinition__Group_1_0__0 ) ) + { + // InternalSolverLanguageParser.g:2210:2: ( ( rule__LowerBoundedScopeDefinition__Group_1_0__0 ) ) + // InternalSolverLanguageParser.g:2211:3: ( rule__LowerBoundedScopeDefinition__Group_1_0__0 ) + { + before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getGroup_1_0()); + // InternalSolverLanguageParser.g:2212:3: ( rule__LowerBoundedScopeDefinition__Group_1_0__0 ) + // InternalSolverLanguageParser.g:2212:4: rule__LowerBoundedScopeDefinition__Group_1_0__0 + { + pushFollow(FOLLOW_2); + rule__LowerBoundedScopeDefinition__Group_1_0__0(); + + state._fsp--; + + + } + + after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getGroup_1_0()); + + } + + + } + break; + case 2 : + // InternalSolverLanguageParser.g:2216:2: ( ( rule__LowerBoundedScopeDefinition__Group_1_1__0 ) ) + { + // InternalSolverLanguageParser.g:2216:2: ( ( rule__LowerBoundedScopeDefinition__Group_1_1__0 ) ) + // InternalSolverLanguageParser.g:2217:3: ( rule__LowerBoundedScopeDefinition__Group_1_1__0 ) + { + before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getGroup_1_1()); + // InternalSolverLanguageParser.g:2218:3: ( rule__LowerBoundedScopeDefinition__Group_1_1__0 ) + // InternalSolverLanguageParser.g:2218:4: rule__LowerBoundedScopeDefinition__Group_1_1__0 + { + pushFollow(FOLLOW_2); + rule__LowerBoundedScopeDefinition__Group_1_1__0(); + + state._fsp--; + + + } + + after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getGroup_1_1()); + + } + + + } + break; + + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__LowerBoundedScopeDefinition__Alternatives_1" + + + // $ANTLR start "rule__UpperMultiplicty__Alternatives" + // InternalSolverLanguageParser.g:2226:1: rule__UpperMultiplicty__Alternatives : ( ( RULE_INT ) | ( Asterisk ) ); + public final void rule__UpperMultiplicty__Alternatives() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:2230:1: ( ( RULE_INT ) | ( Asterisk ) ) + int alt17=2; + int LA17_0 = input.LA(1); + + if ( (LA17_0==RULE_INT) ) { + alt17=1; + } + else if ( (LA17_0==Asterisk) ) { + alt17=2; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 17, 0, input); + + throw nvae; + } + switch (alt17) { + case 1 : + // InternalSolverLanguageParser.g:2231:2: ( RULE_INT ) + { + // InternalSolverLanguageParser.g:2231:2: ( RULE_INT ) + // InternalSolverLanguageParser.g:2232:3: RULE_INT + { + before(grammarAccess.getUpperMultiplictyAccess().getINTTerminalRuleCall_0()); + match(input,RULE_INT,FOLLOW_2); + after(grammarAccess.getUpperMultiplictyAccess().getINTTerminalRuleCall_0()); + + } + + + } + break; + case 2 : + // InternalSolverLanguageParser.g:2237:2: ( Asterisk ) + { + // InternalSolverLanguageParser.g:2237:2: ( Asterisk ) + // InternalSolverLanguageParser.g:2238:3: Asterisk + { + before(grammarAccess.getUpperMultiplictyAccess().getAsteriskKeyword_1()); + match(input,Asterisk,FOLLOW_2); + after(grammarAccess.getUpperMultiplictyAccess().getAsteriskKeyword_1()); + + } + + + } + break; + + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__UpperMultiplicty__Alternatives" + + + // $ANTLR start "rule__QualifiedName__Alternatives" + // InternalSolverLanguageParser.g:2247:1: rule__QualifiedName__Alternatives : ( ( ( rule__QualifiedName__Group_0__0 ) ) | ( RULE_QUOTED_ID ) ); + public final void rule__QualifiedName__Alternatives() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:2251:1: ( ( ( rule__QualifiedName__Group_0__0 ) ) | ( RULE_QUOTED_ID ) ) + int alt18=2; + int LA18_0 = input.LA(1); + + if ( (LA18_0==RULE_ID) ) { + alt18=1; + } + else if ( (LA18_0==RULE_QUOTED_ID) ) { + alt18=2; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 18, 0, input); + + throw nvae; + } + switch (alt18) { + case 1 : + // InternalSolverLanguageParser.g:2252:2: ( ( rule__QualifiedName__Group_0__0 ) ) + { + // InternalSolverLanguageParser.g:2252:2: ( ( rule__QualifiedName__Group_0__0 ) ) + // InternalSolverLanguageParser.g:2253:3: ( rule__QualifiedName__Group_0__0 ) + { + before(grammarAccess.getQualifiedNameAccess().getGroup_0()); + // InternalSolverLanguageParser.g:2254:3: ( rule__QualifiedName__Group_0__0 ) + // InternalSolverLanguageParser.g:2254:4: rule__QualifiedName__Group_0__0 + { + pushFollow(FOLLOW_2); + rule__QualifiedName__Group_0__0(); + + state._fsp--; + + + } + + after(grammarAccess.getQualifiedNameAccess().getGroup_0()); + + } + + + } + break; + case 2 : + // InternalSolverLanguageParser.g:2258:2: ( RULE_QUOTED_ID ) + { + // InternalSolverLanguageParser.g:2258:2: ( RULE_QUOTED_ID ) + // InternalSolverLanguageParser.g:2259:3: RULE_QUOTED_ID + { + before(grammarAccess.getQualifiedNameAccess().getQUOTED_IDTerminalRuleCall_1()); + match(input,RULE_QUOTED_ID,FOLLOW_2); + after(grammarAccess.getQualifiedNameAccess().getQUOTED_IDTerminalRuleCall_1()); + + } + + + } + break; + + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__QualifiedName__Alternatives" + + + // $ANTLR start "rule__ComparisonOperator__Alternatives" + // InternalSolverLanguageParser.g:2268:1: rule__ComparisonOperator__Alternatives : ( ( ( EqualsSignEqualsSign ) ) | ( ( ExclamationMarkEqualsSign ) ) | ( ( LessThanSign ) ) | ( ( LessThanSignEqualsSign ) ) | ( ( GreaterThanSign ) ) | ( ( GreaterThanSignEqualsSign ) ) | ( ( In ) ) ); + public final void rule__ComparisonOperator__Alternatives() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:2272:1: ( ( ( EqualsSignEqualsSign ) ) | ( ( ExclamationMarkEqualsSign ) ) | ( ( LessThanSign ) ) | ( ( LessThanSignEqualsSign ) ) | ( ( GreaterThanSign ) ) | ( ( GreaterThanSignEqualsSign ) ) | ( ( In ) ) ) + int alt19=7; + switch ( input.LA(1) ) { + case EqualsSignEqualsSign: + { + alt19=1; + } + break; + case ExclamationMarkEqualsSign: + { + alt19=2; + } + break; + case LessThanSign: + { + alt19=3; + } + break; + case LessThanSignEqualsSign: + { + alt19=4; + } + break; + case GreaterThanSign: + { + alt19=5; + } + break; + case GreaterThanSignEqualsSign: + { + alt19=6; + } + break; + case In: + { + alt19=7; + } + break; + default: + NoViableAltException nvae = + new NoViableAltException("", 19, 0, input); + + throw nvae; + } + + switch (alt19) { + case 1 : + // InternalSolverLanguageParser.g:2273:2: ( ( EqualsSignEqualsSign ) ) + { + // InternalSolverLanguageParser.g:2273:2: ( ( EqualsSignEqualsSign ) ) + // InternalSolverLanguageParser.g:2274:3: ( EqualsSignEqualsSign ) + { + before(grammarAccess.getComparisonOperatorAccess().getEQEnumLiteralDeclaration_0()); + // InternalSolverLanguageParser.g:2275:3: ( EqualsSignEqualsSign ) + // InternalSolverLanguageParser.g:2275:4: EqualsSignEqualsSign + { + match(input,EqualsSignEqualsSign,FOLLOW_2); + + } + + after(grammarAccess.getComparisonOperatorAccess().getEQEnumLiteralDeclaration_0()); + + } + + + } + break; + case 2 : + // InternalSolverLanguageParser.g:2279:2: ( ( ExclamationMarkEqualsSign ) ) + { + // InternalSolverLanguageParser.g:2279:2: ( ( ExclamationMarkEqualsSign ) ) + // InternalSolverLanguageParser.g:2280:3: ( ExclamationMarkEqualsSign ) + { + before(grammarAccess.getComparisonOperatorAccess().getNOT_EQEnumLiteralDeclaration_1()); + // InternalSolverLanguageParser.g:2281:3: ( ExclamationMarkEqualsSign ) + // InternalSolverLanguageParser.g:2281:4: ExclamationMarkEqualsSign + { + match(input,ExclamationMarkEqualsSign,FOLLOW_2); + + } + + after(grammarAccess.getComparisonOperatorAccess().getNOT_EQEnumLiteralDeclaration_1()); + + } + + + } + break; + case 3 : + // InternalSolverLanguageParser.g:2285:2: ( ( LessThanSign ) ) + { + // InternalSolverLanguageParser.g:2285:2: ( ( LessThanSign ) ) + // InternalSolverLanguageParser.g:2286:3: ( LessThanSign ) + { + before(grammarAccess.getComparisonOperatorAccess().getLESSEnumLiteralDeclaration_2()); + // InternalSolverLanguageParser.g:2287:3: ( LessThanSign ) + // InternalSolverLanguageParser.g:2287:4: LessThanSign + { + match(input,LessThanSign,FOLLOW_2); + + } + + after(grammarAccess.getComparisonOperatorAccess().getLESSEnumLiteralDeclaration_2()); + + } + + + } + break; + case 4 : + // InternalSolverLanguageParser.g:2291:2: ( ( LessThanSignEqualsSign ) ) + { + // InternalSolverLanguageParser.g:2291:2: ( ( LessThanSignEqualsSign ) ) + // InternalSolverLanguageParser.g:2292:3: ( LessThanSignEqualsSign ) + { + before(grammarAccess.getComparisonOperatorAccess().getLESS_EQEnumLiteralDeclaration_3()); + // InternalSolverLanguageParser.g:2293:3: ( LessThanSignEqualsSign ) + // InternalSolverLanguageParser.g:2293:4: LessThanSignEqualsSign + { + match(input,LessThanSignEqualsSign,FOLLOW_2); + + } + + after(grammarAccess.getComparisonOperatorAccess().getLESS_EQEnumLiteralDeclaration_3()); + + } + + + } + break; + case 5 : + // InternalSolverLanguageParser.g:2297:2: ( ( GreaterThanSign ) ) + { + // InternalSolverLanguageParser.g:2297:2: ( ( GreaterThanSign ) ) + // InternalSolverLanguageParser.g:2298:3: ( GreaterThanSign ) + { + before(grammarAccess.getComparisonOperatorAccess().getGREATEREnumLiteralDeclaration_4()); + // InternalSolverLanguageParser.g:2299:3: ( GreaterThanSign ) + // InternalSolverLanguageParser.g:2299:4: GreaterThanSign + { + match(input,GreaterThanSign,FOLLOW_2); + + } + + after(grammarAccess.getComparisonOperatorAccess().getGREATEREnumLiteralDeclaration_4()); + + } + + + } + break; + case 6 : + // InternalSolverLanguageParser.g:2303:2: ( ( GreaterThanSignEqualsSign ) ) + { + // InternalSolverLanguageParser.g:2303:2: ( ( GreaterThanSignEqualsSign ) ) + // InternalSolverLanguageParser.g:2304:3: ( GreaterThanSignEqualsSign ) + { + before(grammarAccess.getComparisonOperatorAccess().getGREATER_EQEnumLiteralDeclaration_5()); + // InternalSolverLanguageParser.g:2305:3: ( GreaterThanSignEqualsSign ) + // InternalSolverLanguageParser.g:2305:4: GreaterThanSignEqualsSign + { + match(input,GreaterThanSignEqualsSign,FOLLOW_2); + + } + + after(grammarAccess.getComparisonOperatorAccess().getGREATER_EQEnumLiteralDeclaration_5()); + + } + + + } + break; + case 7 : + // InternalSolverLanguageParser.g:2309:2: ( ( In ) ) + { + // InternalSolverLanguageParser.g:2309:2: ( ( In ) ) + // InternalSolverLanguageParser.g:2310:3: ( In ) + { + before(grammarAccess.getComparisonOperatorAccess().getINEnumLiteralDeclaration_6()); + // InternalSolverLanguageParser.g:2311:3: ( In ) + // InternalSolverLanguageParser.g:2311:4: In + { + match(input,In,FOLLOW_2); + + } + + after(grammarAccess.getComparisonOperatorAccess().getINEnumLiteralDeclaration_6()); + + } + + + } + break; + + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ComparisonOperator__Alternatives" + + + // $ANTLR start "rule__AdditiveBinaryOperator__Alternatives" + // InternalSolverLanguageParser.g:2319:1: rule__AdditiveBinaryOperator__Alternatives : ( ( ( PlusSign ) ) | ( ( HyphenMinus ) ) ); + public final void rule__AdditiveBinaryOperator__Alternatives() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:2323:1: ( ( ( PlusSign ) ) | ( ( HyphenMinus ) ) ) + int alt20=2; + int LA20_0 = input.LA(1); + + if ( (LA20_0==PlusSign) ) { + alt20=1; + } + else if ( (LA20_0==HyphenMinus) ) { + alt20=2; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 20, 0, input); + + throw nvae; + } + switch (alt20) { + case 1 : + // InternalSolverLanguageParser.g:2324:2: ( ( PlusSign ) ) + { + // InternalSolverLanguageParser.g:2324:2: ( ( PlusSign ) ) + // InternalSolverLanguageParser.g:2325:3: ( PlusSign ) + { + before(grammarAccess.getAdditiveBinaryOperatorAccess().getADDEnumLiteralDeclaration_0()); + // InternalSolverLanguageParser.g:2326:3: ( PlusSign ) + // InternalSolverLanguageParser.g:2326:4: PlusSign + { + match(input,PlusSign,FOLLOW_2); + + } + + after(grammarAccess.getAdditiveBinaryOperatorAccess().getADDEnumLiteralDeclaration_0()); + + } + + + } + break; + case 2 : + // InternalSolverLanguageParser.g:2330:2: ( ( HyphenMinus ) ) + { + // InternalSolverLanguageParser.g:2330:2: ( ( HyphenMinus ) ) + // InternalSolverLanguageParser.g:2331:3: ( HyphenMinus ) + { + before(grammarAccess.getAdditiveBinaryOperatorAccess().getSUBEnumLiteralDeclaration_1()); + // InternalSolverLanguageParser.g:2332:3: ( HyphenMinus ) + // InternalSolverLanguageParser.g:2332:4: HyphenMinus + { + match(input,HyphenMinus,FOLLOW_2); + + } + + after(grammarAccess.getAdditiveBinaryOperatorAccess().getSUBEnumLiteralDeclaration_1()); + + } + + + } + break; + + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AdditiveBinaryOperator__Alternatives" + + + // $ANTLR start "rule__MultiplicativeBinaryOperator__Alternatives" + // InternalSolverLanguageParser.g:2340:1: rule__MultiplicativeBinaryOperator__Alternatives : ( ( ( Asterisk ) ) | ( ( Solidus ) ) ); + public final void rule__MultiplicativeBinaryOperator__Alternatives() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:2344:1: ( ( ( Asterisk ) ) | ( ( Solidus ) ) ) + int alt21=2; + int LA21_0 = input.LA(1); + + if ( (LA21_0==Asterisk) ) { + alt21=1; + } + else if ( (LA21_0==Solidus) ) { + alt21=2; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 21, 0, input); + + throw nvae; + } + switch (alt21) { + case 1 : + // InternalSolverLanguageParser.g:2345:2: ( ( Asterisk ) ) + { + // InternalSolverLanguageParser.g:2345:2: ( ( Asterisk ) ) + // InternalSolverLanguageParser.g:2346:3: ( Asterisk ) + { + before(grammarAccess.getMultiplicativeBinaryOperatorAccess().getMULEnumLiteralDeclaration_0()); + // InternalSolverLanguageParser.g:2347:3: ( Asterisk ) + // InternalSolverLanguageParser.g:2347:4: Asterisk + { + match(input,Asterisk,FOLLOW_2); + + } + + after(grammarAccess.getMultiplicativeBinaryOperatorAccess().getMULEnumLiteralDeclaration_0()); + + } + + + } + break; + case 2 : + // InternalSolverLanguageParser.g:2351:2: ( ( Solidus ) ) + { + // InternalSolverLanguageParser.g:2351:2: ( ( Solidus ) ) + // InternalSolverLanguageParser.g:2352:3: ( Solidus ) + { + before(grammarAccess.getMultiplicativeBinaryOperatorAccess().getDIVEnumLiteralDeclaration_1()); + // InternalSolverLanguageParser.g:2353:3: ( Solidus ) + // InternalSolverLanguageParser.g:2353:4: Solidus + { + match(input,Solidus,FOLLOW_2); + + } + + after(grammarAccess.getMultiplicativeBinaryOperatorAccess().getDIVEnumLiteralDeclaration_1()); + + } + + + } + break; + + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__MultiplicativeBinaryOperator__Alternatives" + + + // $ANTLR start "rule__UnaryOp__Alternatives" + // InternalSolverLanguageParser.g:2361:1: rule__UnaryOp__Alternatives : ( ( ( ExclamationMark ) ) | ( ( PlusSign ) ) | ( ( HyphenMinus ) ) | ( ( May ) ) | ( ( Must ) ) | ( ( Current ) ) ); + public final void rule__UnaryOp__Alternatives() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:2365:1: ( ( ( ExclamationMark ) ) | ( ( PlusSign ) ) | ( ( HyphenMinus ) ) | ( ( May ) ) | ( ( Must ) ) | ( ( Current ) ) ) + int alt22=6; + switch ( input.LA(1) ) { + case ExclamationMark: + { + alt22=1; + } + break; + case PlusSign: + { + alt22=2; + } + break; + case HyphenMinus: + { + alt22=3; + } + break; + case May: + { + alt22=4; + } + break; + case Must: + { + alt22=5; + } + break; + case Current: + { + alt22=6; + } + break; + default: + NoViableAltException nvae = + new NoViableAltException("", 22, 0, input); + + throw nvae; + } + + switch (alt22) { + case 1 : + // InternalSolverLanguageParser.g:2366:2: ( ( ExclamationMark ) ) + { + // InternalSolverLanguageParser.g:2366:2: ( ( ExclamationMark ) ) + // InternalSolverLanguageParser.g:2367:3: ( ExclamationMark ) + { + before(grammarAccess.getUnaryOpAccess().getNEGEnumLiteralDeclaration_0()); + // InternalSolverLanguageParser.g:2368:3: ( ExclamationMark ) + // InternalSolverLanguageParser.g:2368:4: ExclamationMark + { + match(input,ExclamationMark,FOLLOW_2); + + } + + after(grammarAccess.getUnaryOpAccess().getNEGEnumLiteralDeclaration_0()); + + } + + + } + break; + case 2 : + // InternalSolverLanguageParser.g:2372:2: ( ( PlusSign ) ) + { + // InternalSolverLanguageParser.g:2372:2: ( ( PlusSign ) ) + // InternalSolverLanguageParser.g:2373:3: ( PlusSign ) + { + before(grammarAccess.getUnaryOpAccess().getPLUSEnumLiteralDeclaration_1()); + // InternalSolverLanguageParser.g:2374:3: ( PlusSign ) + // InternalSolverLanguageParser.g:2374:4: PlusSign + { + match(input,PlusSign,FOLLOW_2); + + } + + after(grammarAccess.getUnaryOpAccess().getPLUSEnumLiteralDeclaration_1()); + + } + + + } + break; + case 3 : + // InternalSolverLanguageParser.g:2378:2: ( ( HyphenMinus ) ) + { + // InternalSolverLanguageParser.g:2378:2: ( ( HyphenMinus ) ) + // InternalSolverLanguageParser.g:2379:3: ( HyphenMinus ) + { + before(grammarAccess.getUnaryOpAccess().getMINUSEnumLiteralDeclaration_2()); + // InternalSolverLanguageParser.g:2380:3: ( HyphenMinus ) + // InternalSolverLanguageParser.g:2380:4: HyphenMinus + { + match(input,HyphenMinus,FOLLOW_2); + + } + + after(grammarAccess.getUnaryOpAccess().getMINUSEnumLiteralDeclaration_2()); + + } + + + } + break; + case 4 : + // InternalSolverLanguageParser.g:2384:2: ( ( May ) ) + { + // InternalSolverLanguageParser.g:2384:2: ( ( May ) ) + // InternalSolverLanguageParser.g:2385:3: ( May ) + { + before(grammarAccess.getUnaryOpAccess().getMAYEnumLiteralDeclaration_3()); + // InternalSolverLanguageParser.g:2386:3: ( May ) + // InternalSolverLanguageParser.g:2386:4: May + { + match(input,May,FOLLOW_2); + + } + + after(grammarAccess.getUnaryOpAccess().getMAYEnumLiteralDeclaration_3()); + + } + + + } + break; + case 5 : + // InternalSolverLanguageParser.g:2390:2: ( ( Must ) ) + { + // InternalSolverLanguageParser.g:2390:2: ( ( Must ) ) + // InternalSolverLanguageParser.g:2391:3: ( Must ) + { + before(grammarAccess.getUnaryOpAccess().getMUSTEnumLiteralDeclaration_4()); + // InternalSolverLanguageParser.g:2392:3: ( Must ) + // InternalSolverLanguageParser.g:2392:4: Must + { + match(input,Must,FOLLOW_2); + + } + + after(grammarAccess.getUnaryOpAccess().getMUSTEnumLiteralDeclaration_4()); + + } + + + } + break; + case 6 : + // InternalSolverLanguageParser.g:2396:2: ( ( Current ) ) + { + // InternalSolverLanguageParser.g:2396:2: ( ( Current ) ) + // InternalSolverLanguageParser.g:2397:3: ( Current ) + { + before(grammarAccess.getUnaryOpAccess().getCURRENTEnumLiteralDeclaration_5()); + // InternalSolverLanguageParser.g:2398:3: ( Current ) + // InternalSolverLanguageParser.g:2398:4: Current + { + match(input,Current,FOLLOW_2); + + } + + after(grammarAccess.getUnaryOpAccess().getCURRENTEnumLiteralDeclaration_5()); + + } + + + } + break; + + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__UnaryOp__Alternatives" + + + // $ANTLR start "rule__Quantifier__Alternatives" + // InternalSolverLanguageParser.g:2406:1: rule__Quantifier__Alternatives : ( ( ( Exists ) ) | ( ( Forall ) ) | ( ( Count ) ) ); + public final void rule__Quantifier__Alternatives() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:2410:1: ( ( ( Exists ) ) | ( ( Forall ) ) | ( ( Count ) ) ) + int alt23=3; + switch ( input.LA(1) ) { + case Exists: + { + alt23=1; + } + break; + case Forall: + { + alt23=2; + } + break; + case Count: + { + alt23=3; + } + break; + default: + NoViableAltException nvae = + new NoViableAltException("", 23, 0, input); + + throw nvae; + } + + switch (alt23) { + case 1 : + // InternalSolverLanguageParser.g:2411:2: ( ( Exists ) ) + { + // InternalSolverLanguageParser.g:2411:2: ( ( Exists ) ) + // InternalSolverLanguageParser.g:2412:3: ( Exists ) + { + before(grammarAccess.getQuantifierAccess().getEXISTSEnumLiteralDeclaration_0()); + // InternalSolverLanguageParser.g:2413:3: ( Exists ) + // InternalSolverLanguageParser.g:2413:4: Exists + { + match(input,Exists,FOLLOW_2); + + } + + after(grammarAccess.getQuantifierAccess().getEXISTSEnumLiteralDeclaration_0()); + + } + + + } + break; + case 2 : + // InternalSolverLanguageParser.g:2417:2: ( ( Forall ) ) + { + // InternalSolverLanguageParser.g:2417:2: ( ( Forall ) ) + // InternalSolverLanguageParser.g:2418:3: ( Forall ) + { + before(grammarAccess.getQuantifierAccess().getFORALLEnumLiteralDeclaration_1()); + // InternalSolverLanguageParser.g:2419:3: ( Forall ) + // InternalSolverLanguageParser.g:2419:4: Forall + { + match(input,Forall,FOLLOW_2); + + } + + after(grammarAccess.getQuantifierAccess().getFORALLEnumLiteralDeclaration_1()); + + } + + + } + break; + case 3 : + // InternalSolverLanguageParser.g:2423:2: ( ( Count ) ) + { + // InternalSolverLanguageParser.g:2423:2: ( ( Count ) ) + // InternalSolverLanguageParser.g:2424:3: ( Count ) + { + before(grammarAccess.getQuantifierAccess().getCOUNTEnumLiteralDeclaration_2()); + // InternalSolverLanguageParser.g:2425:3: ( Count ) + // InternalSolverLanguageParser.g:2425:4: Count + { + match(input,Count,FOLLOW_2); + + } + + after(grammarAccess.getQuantifierAccess().getCOUNTEnumLiteralDeclaration_2()); + + } + + + } + break; + + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Quantifier__Alternatives" + + + // $ANTLR start "rule__LogicValue__Alternatives" + // InternalSolverLanguageParser.g:2433:1: rule__LogicValue__Alternatives : ( ( ( True ) ) | ( ( False ) ) | ( ( Unknown ) ) | ( ( Error ) ) ); + public final void rule__LogicValue__Alternatives() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:2437:1: ( ( ( True ) ) | ( ( False ) ) | ( ( Unknown ) ) | ( ( Error ) ) ) + int alt24=4; + switch ( input.LA(1) ) { + case True: + { + alt24=1; + } + break; + case False: + { + alt24=2; + } + break; + case Unknown: + { + alt24=3; + } + break; + case Error: + { + alt24=4; + } + break; + default: + NoViableAltException nvae = + new NoViableAltException("", 24, 0, input); + + throw nvae; + } + + switch (alt24) { + case 1 : + // InternalSolverLanguageParser.g:2438:2: ( ( True ) ) + { + // InternalSolverLanguageParser.g:2438:2: ( ( True ) ) + // InternalSolverLanguageParser.g:2439:3: ( True ) + { + before(grammarAccess.getLogicValueAccess().getTRUEEnumLiteralDeclaration_0()); + // InternalSolverLanguageParser.g:2440:3: ( True ) + // InternalSolverLanguageParser.g:2440:4: True + { + match(input,True,FOLLOW_2); + + } + + after(grammarAccess.getLogicValueAccess().getTRUEEnumLiteralDeclaration_0()); + + } + + + } + break; + case 2 : + // InternalSolverLanguageParser.g:2444:2: ( ( False ) ) + { + // InternalSolverLanguageParser.g:2444:2: ( ( False ) ) + // InternalSolverLanguageParser.g:2445:3: ( False ) + { + before(grammarAccess.getLogicValueAccess().getFALSEEnumLiteralDeclaration_1()); + // InternalSolverLanguageParser.g:2446:3: ( False ) + // InternalSolverLanguageParser.g:2446:4: False + { + match(input,False,FOLLOW_2); + + } + + after(grammarAccess.getLogicValueAccess().getFALSEEnumLiteralDeclaration_1()); + + } + + + } + break; + case 3 : + // InternalSolverLanguageParser.g:2450:2: ( ( Unknown ) ) + { + // InternalSolverLanguageParser.g:2450:2: ( ( Unknown ) ) + // InternalSolverLanguageParser.g:2451:3: ( Unknown ) + { + before(grammarAccess.getLogicValueAccess().getUNKNOWNEnumLiteralDeclaration_2()); + // InternalSolverLanguageParser.g:2452:3: ( Unknown ) + // InternalSolverLanguageParser.g:2452:4: Unknown + { + match(input,Unknown,FOLLOW_2); + + } + + after(grammarAccess.getLogicValueAccess().getUNKNOWNEnumLiteralDeclaration_2()); + + } + + + } + break; + case 4 : + // InternalSolverLanguageParser.g:2456:2: ( ( Error ) ) + { + // InternalSolverLanguageParser.g:2456:2: ( ( Error ) ) + // InternalSolverLanguageParser.g:2457:3: ( Error ) + { + before(grammarAccess.getLogicValueAccess().getERROREnumLiteralDeclaration_3()); + // InternalSolverLanguageParser.g:2458:3: ( Error ) + // InternalSolverLanguageParser.g:2458:4: Error + { + match(input,Error,FOLLOW_2); + + } + + after(grammarAccess.getLogicValueAccess().getERROREnumLiteralDeclaration_3()); + + } + + + } + break; + + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__LogicValue__Alternatives" + + + // $ANTLR start "rule__ObjectiveKind__Alternatives" + // InternalSolverLanguageParser.g:2466:1: rule__ObjectiveKind__Alternatives : ( ( ( Minimize ) ) | ( ( Maximize ) ) ); + public final void rule__ObjectiveKind__Alternatives() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:2470:1: ( ( ( Minimize ) ) | ( ( Maximize ) ) ) + int alt25=2; + int LA25_0 = input.LA(1); + + if ( (LA25_0==Minimize) ) { + alt25=1; + } + else if ( (LA25_0==Maximize) ) { + alt25=2; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 25, 0, input); + + throw nvae; + } + switch (alt25) { + case 1 : + // InternalSolverLanguageParser.g:2471:2: ( ( Minimize ) ) + { + // InternalSolverLanguageParser.g:2471:2: ( ( Minimize ) ) + // InternalSolverLanguageParser.g:2472:3: ( Minimize ) + { + before(grammarAccess.getObjectiveKindAccess().getMINIMIZEEnumLiteralDeclaration_0()); + // InternalSolverLanguageParser.g:2473:3: ( Minimize ) + // InternalSolverLanguageParser.g:2473:4: Minimize + { + match(input,Minimize,FOLLOW_2); + + } + + after(grammarAccess.getObjectiveKindAccess().getMINIMIZEEnumLiteralDeclaration_0()); + + } + + + } + break; + case 2 : + // InternalSolverLanguageParser.g:2477:2: ( ( Maximize ) ) + { + // InternalSolverLanguageParser.g:2477:2: ( ( Maximize ) ) + // InternalSolverLanguageParser.g:2478:3: ( Maximize ) + { + before(grammarAccess.getObjectiveKindAccess().getMAXIMIZEEnumLiteralDeclaration_1()); + // InternalSolverLanguageParser.g:2479:3: ( Maximize ) + // InternalSolverLanguageParser.g:2479:4: Maximize + { + match(input,Maximize,FOLLOW_2); + + } + + after(grammarAccess.getObjectiveKindAccess().getMAXIMIZEEnumLiteralDeclaration_1()); + + } + + + } + break; + + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ObjectiveKind__Alternatives" + + + // $ANTLR start "rule__Statement__Group__0" + // InternalSolverLanguageParser.g:2487:1: rule__Statement__Group__0 : rule__Statement__Group__0__Impl rule__Statement__Group__1 ; + public final void rule__Statement__Group__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:2491:1: ( rule__Statement__Group__0__Impl rule__Statement__Group__1 ) + // InternalSolverLanguageParser.g:2492:2: rule__Statement__Group__0__Impl rule__Statement__Group__1 + { + pushFollow(FOLLOW_4); + rule__Statement__Group__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__Statement__Group__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Statement__Group__0" + + + // $ANTLR start "rule__Statement__Group__0__Impl" + // InternalSolverLanguageParser.g:2499:1: rule__Statement__Group__0__Impl : ( ( rule__Statement__Alternatives_0 ) ) ; + public final void rule__Statement__Group__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:2503:1: ( ( ( rule__Statement__Alternatives_0 ) ) ) + // InternalSolverLanguageParser.g:2504:1: ( ( rule__Statement__Alternatives_0 ) ) + { + // InternalSolverLanguageParser.g:2504:1: ( ( rule__Statement__Alternatives_0 ) ) + // InternalSolverLanguageParser.g:2505:2: ( rule__Statement__Alternatives_0 ) + { + before(grammarAccess.getStatementAccess().getAlternatives_0()); + // InternalSolverLanguageParser.g:2506:2: ( rule__Statement__Alternatives_0 ) + // InternalSolverLanguageParser.g:2506:3: rule__Statement__Alternatives_0 + { + pushFollow(FOLLOW_2); + rule__Statement__Alternatives_0(); + + state._fsp--; + + + } + + after(grammarAccess.getStatementAccess().getAlternatives_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Statement__Group__0__Impl" + + + // $ANTLR start "rule__Statement__Group__1" + // InternalSolverLanguageParser.g:2514:1: rule__Statement__Group__1 : rule__Statement__Group__1__Impl ; + public final void rule__Statement__Group__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:2518:1: ( rule__Statement__Group__1__Impl ) + // InternalSolverLanguageParser.g:2519:2: rule__Statement__Group__1__Impl + { + pushFollow(FOLLOW_2); + rule__Statement__Group__1__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Statement__Group__1" + + + // $ANTLR start "rule__Statement__Group__1__Impl" + // InternalSolverLanguageParser.g:2525:1: rule__Statement__Group__1__Impl : ( RULE_FULL_STOP ) ; + public final void rule__Statement__Group__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:2529:1: ( ( RULE_FULL_STOP ) ) + // InternalSolverLanguageParser.g:2530:1: ( RULE_FULL_STOP ) + { + // InternalSolverLanguageParser.g:2530:1: ( RULE_FULL_STOP ) + // InternalSolverLanguageParser.g:2531:2: RULE_FULL_STOP + { + before(grammarAccess.getStatementAccess().getFULL_STOPTerminalRuleCall_1()); + match(input,RULE_FULL_STOP,FOLLOW_2); + after(grammarAccess.getStatementAccess().getFULL_STOPTerminalRuleCall_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Statement__Group__1__Impl" + + + // $ANTLR start "rule__AssertionOrDefinition__Group__0" + // InternalSolverLanguageParser.g:2541:1: rule__AssertionOrDefinition__Group__0 : rule__AssertionOrDefinition__Group__0__Impl rule__AssertionOrDefinition__Group__1 ; + public final void rule__AssertionOrDefinition__Group__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:2545:1: ( rule__AssertionOrDefinition__Group__0__Impl rule__AssertionOrDefinition__Group__1 ) + // InternalSolverLanguageParser.g:2546:2: rule__AssertionOrDefinition__Group__0__Impl rule__AssertionOrDefinition__Group__1 + { + pushFollow(FOLLOW_5); + rule__AssertionOrDefinition__Group__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__AssertionOrDefinition__Group__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AssertionOrDefinition__Group__0" + + + // $ANTLR start "rule__AssertionOrDefinition__Group__0__Impl" + // InternalSolverLanguageParser.g:2553:1: rule__AssertionOrDefinition__Group__0__Impl : ( ruleExpression ) ; + public final void rule__AssertionOrDefinition__Group__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:2557:1: ( ( ruleExpression ) ) + // InternalSolverLanguageParser.g:2558:1: ( ruleExpression ) + { + // InternalSolverLanguageParser.g:2558:1: ( ruleExpression ) + // InternalSolverLanguageParser.g:2559:2: ruleExpression + { + before(grammarAccess.getAssertionOrDefinitionAccess().getExpressionParserRuleCall_0()); + pushFollow(FOLLOW_2); + ruleExpression(); + + state._fsp--; + + after(grammarAccess.getAssertionOrDefinitionAccess().getExpressionParserRuleCall_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AssertionOrDefinition__Group__0__Impl" + + + // $ANTLR start "rule__AssertionOrDefinition__Group__1" + // InternalSolverLanguageParser.g:2568:1: rule__AssertionOrDefinition__Group__1 : rule__AssertionOrDefinition__Group__1__Impl ; + public final void rule__AssertionOrDefinition__Group__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:2572:1: ( rule__AssertionOrDefinition__Group__1__Impl ) + // InternalSolverLanguageParser.g:2573:2: rule__AssertionOrDefinition__Group__1__Impl + { + pushFollow(FOLLOW_2); + rule__AssertionOrDefinition__Group__1__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AssertionOrDefinition__Group__1" + + + // $ANTLR start "rule__AssertionOrDefinition__Group__1__Impl" + // InternalSolverLanguageParser.g:2579:1: rule__AssertionOrDefinition__Group__1__Impl : ( ( rule__AssertionOrDefinition__Alternatives_1 )? ) ; + public final void rule__AssertionOrDefinition__Group__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:2583:1: ( ( ( rule__AssertionOrDefinition__Alternatives_1 )? ) ) + // InternalSolverLanguageParser.g:2584:1: ( ( rule__AssertionOrDefinition__Alternatives_1 )? ) + { + // InternalSolverLanguageParser.g:2584:1: ( ( rule__AssertionOrDefinition__Alternatives_1 )? ) + // InternalSolverLanguageParser.g:2585:2: ( rule__AssertionOrDefinition__Alternatives_1 )? + { + before(grammarAccess.getAssertionOrDefinitionAccess().getAlternatives_1()); + // InternalSolverLanguageParser.g:2586:2: ( rule__AssertionOrDefinition__Alternatives_1 )? + int alt26=2; + int LA26_0 = input.LA(1); + + if ( (LA26_0==ColonHyphenMinus||LA26_0==Colon||LA26_0==EqualsSign) ) { + alt26=1; + } + switch (alt26) { + case 1 : + // InternalSolverLanguageParser.g:2586:3: rule__AssertionOrDefinition__Alternatives_1 + { + pushFollow(FOLLOW_2); + rule__AssertionOrDefinition__Alternatives_1(); + + state._fsp--; + + + } + break; + + } + + after(grammarAccess.getAssertionOrDefinitionAccess().getAlternatives_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AssertionOrDefinition__Group__1__Impl" + + + // $ANTLR start "rule__AssertionOrDefinition__Group_1_0__0" + // InternalSolverLanguageParser.g:2595:1: rule__AssertionOrDefinition__Group_1_0__0 : rule__AssertionOrDefinition__Group_1_0__0__Impl rule__AssertionOrDefinition__Group_1_0__1 ; + public final void rule__AssertionOrDefinition__Group_1_0__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:2599:1: ( rule__AssertionOrDefinition__Group_1_0__0__Impl rule__AssertionOrDefinition__Group_1_0__1 ) + // InternalSolverLanguageParser.g:2600:2: rule__AssertionOrDefinition__Group_1_0__0__Impl rule__AssertionOrDefinition__Group_1_0__1 + { + pushFollow(FOLLOW_6); + rule__AssertionOrDefinition__Group_1_0__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__AssertionOrDefinition__Group_1_0__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AssertionOrDefinition__Group_1_0__0" + + + // $ANTLR start "rule__AssertionOrDefinition__Group_1_0__0__Impl" + // InternalSolverLanguageParser.g:2607:1: rule__AssertionOrDefinition__Group_1_0__0__Impl : ( () ) ; + public final void rule__AssertionOrDefinition__Group_1_0__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:2611:1: ( ( () ) ) + // InternalSolverLanguageParser.g:2612:1: ( () ) + { + // InternalSolverLanguageParser.g:2612:1: ( () ) + // InternalSolverLanguageParser.g:2613:2: () + { + before(grammarAccess.getAssertionOrDefinitionAccess().getInterpretationBodyAction_1_0_0()); + // InternalSolverLanguageParser.g:2614:2: () + // InternalSolverLanguageParser.g:2614:3: + { + } + + after(grammarAccess.getAssertionOrDefinitionAccess().getInterpretationBodyAction_1_0_0()); + + } + + + } + + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AssertionOrDefinition__Group_1_0__0__Impl" + + + // $ANTLR start "rule__AssertionOrDefinition__Group_1_0__1" + // InternalSolverLanguageParser.g:2622:1: rule__AssertionOrDefinition__Group_1_0__1 : rule__AssertionOrDefinition__Group_1_0__1__Impl rule__AssertionOrDefinition__Group_1_0__2 ; + public final void rule__AssertionOrDefinition__Group_1_0__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:2626:1: ( rule__AssertionOrDefinition__Group_1_0__1__Impl rule__AssertionOrDefinition__Group_1_0__2 ) + // InternalSolverLanguageParser.g:2627:2: rule__AssertionOrDefinition__Group_1_0__1__Impl rule__AssertionOrDefinition__Group_1_0__2 + { + pushFollow(FOLLOW_7); + rule__AssertionOrDefinition__Group_1_0__1__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__AssertionOrDefinition__Group_1_0__2(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AssertionOrDefinition__Group_1_0__1" + + + // $ANTLR start "rule__AssertionOrDefinition__Group_1_0__1__Impl" + // InternalSolverLanguageParser.g:2634:1: rule__AssertionOrDefinition__Group_1_0__1__Impl : ( Colon ) ; + public final void rule__AssertionOrDefinition__Group_1_0__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:2638:1: ( ( Colon ) ) + // InternalSolverLanguageParser.g:2639:1: ( Colon ) + { + // InternalSolverLanguageParser.g:2639:1: ( Colon ) + // InternalSolverLanguageParser.g:2640:2: Colon + { + before(grammarAccess.getAssertionOrDefinitionAccess().getColonKeyword_1_0_1()); + match(input,Colon,FOLLOW_2); + after(grammarAccess.getAssertionOrDefinitionAccess().getColonKeyword_1_0_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AssertionOrDefinition__Group_1_0__1__Impl" + + + // $ANTLR start "rule__AssertionOrDefinition__Group_1_0__2" + // InternalSolverLanguageParser.g:2649:1: rule__AssertionOrDefinition__Group_1_0__2 : rule__AssertionOrDefinition__Group_1_0__2__Impl ; + public final void rule__AssertionOrDefinition__Group_1_0__2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:2653:1: ( rule__AssertionOrDefinition__Group_1_0__2__Impl ) + // InternalSolverLanguageParser.g:2654:2: rule__AssertionOrDefinition__Group_1_0__2__Impl + { + pushFollow(FOLLOW_2); + rule__AssertionOrDefinition__Group_1_0__2__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AssertionOrDefinition__Group_1_0__2" + + + // $ANTLR start "rule__AssertionOrDefinition__Group_1_0__2__Impl" + // InternalSolverLanguageParser.g:2660:1: rule__AssertionOrDefinition__Group_1_0__2__Impl : ( ( rule__AssertionOrDefinition__RangeAssignment_1_0_2 ) ) ; + public final void rule__AssertionOrDefinition__Group_1_0__2__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:2664:1: ( ( ( rule__AssertionOrDefinition__RangeAssignment_1_0_2 ) ) ) + // InternalSolverLanguageParser.g:2665:1: ( ( rule__AssertionOrDefinition__RangeAssignment_1_0_2 ) ) + { + // InternalSolverLanguageParser.g:2665:1: ( ( rule__AssertionOrDefinition__RangeAssignment_1_0_2 ) ) + // InternalSolverLanguageParser.g:2666:2: ( rule__AssertionOrDefinition__RangeAssignment_1_0_2 ) + { + before(grammarAccess.getAssertionOrDefinitionAccess().getRangeAssignment_1_0_2()); + // InternalSolverLanguageParser.g:2667:2: ( rule__AssertionOrDefinition__RangeAssignment_1_0_2 ) + // InternalSolverLanguageParser.g:2667:3: rule__AssertionOrDefinition__RangeAssignment_1_0_2 + { + pushFollow(FOLLOW_2); + rule__AssertionOrDefinition__RangeAssignment_1_0_2(); + + state._fsp--; + + + } + + after(grammarAccess.getAssertionOrDefinitionAccess().getRangeAssignment_1_0_2()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AssertionOrDefinition__Group_1_0__2__Impl" + + + // $ANTLR start "rule__AssertionOrDefinition__Group_1_1__0" + // InternalSolverLanguageParser.g:2676:1: rule__AssertionOrDefinition__Group_1_1__0 : rule__AssertionOrDefinition__Group_1_1__0__Impl rule__AssertionOrDefinition__Group_1_1__1 ; + public final void rule__AssertionOrDefinition__Group_1_1__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:2680:1: ( rule__AssertionOrDefinition__Group_1_1__0__Impl rule__AssertionOrDefinition__Group_1_1__1 ) + // InternalSolverLanguageParser.g:2681:2: rule__AssertionOrDefinition__Group_1_1__0__Impl rule__AssertionOrDefinition__Group_1_1__1 + { + pushFollow(FOLLOW_8); + rule__AssertionOrDefinition__Group_1_1__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__AssertionOrDefinition__Group_1_1__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AssertionOrDefinition__Group_1_1__0" + + + // $ANTLR start "rule__AssertionOrDefinition__Group_1_1__0__Impl" + // InternalSolverLanguageParser.g:2688:1: rule__AssertionOrDefinition__Group_1_1__0__Impl : ( () ) ; + public final void rule__AssertionOrDefinition__Group_1_1__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:2692:1: ( ( () ) ) + // InternalSolverLanguageParser.g:2693:1: ( () ) + { + // InternalSolverLanguageParser.g:2693:1: ( () ) + // InternalSolverLanguageParser.g:2694:2: () + { + before(grammarAccess.getAssertionOrDefinitionAccess().getPredicateDefinitionHeadAction_1_1_0()); + // InternalSolverLanguageParser.g:2695:2: () + // InternalSolverLanguageParser.g:2695:3: + { + } + + after(grammarAccess.getAssertionOrDefinitionAccess().getPredicateDefinitionHeadAction_1_1_0()); + + } + + + } + + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AssertionOrDefinition__Group_1_1__0__Impl" + + + // $ANTLR start "rule__AssertionOrDefinition__Group_1_1__1" + // InternalSolverLanguageParser.g:2703:1: rule__AssertionOrDefinition__Group_1_1__1 : rule__AssertionOrDefinition__Group_1_1__1__Impl rule__AssertionOrDefinition__Group_1_1__2 ; + public final void rule__AssertionOrDefinition__Group_1_1__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:2707:1: ( rule__AssertionOrDefinition__Group_1_1__1__Impl rule__AssertionOrDefinition__Group_1_1__2 ) + // InternalSolverLanguageParser.g:2708:2: rule__AssertionOrDefinition__Group_1_1__1__Impl rule__AssertionOrDefinition__Group_1_1__2 + { + pushFollow(FOLLOW_7); + rule__AssertionOrDefinition__Group_1_1__1__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__AssertionOrDefinition__Group_1_1__2(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AssertionOrDefinition__Group_1_1__1" + + + // $ANTLR start "rule__AssertionOrDefinition__Group_1_1__1__Impl" + // InternalSolverLanguageParser.g:2715:1: rule__AssertionOrDefinition__Group_1_1__1__Impl : ( ColonHyphenMinus ) ; + public final void rule__AssertionOrDefinition__Group_1_1__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:2719:1: ( ( ColonHyphenMinus ) ) + // InternalSolverLanguageParser.g:2720:1: ( ColonHyphenMinus ) + { + // InternalSolverLanguageParser.g:2720:1: ( ColonHyphenMinus ) + // InternalSolverLanguageParser.g:2721:2: ColonHyphenMinus + { + before(grammarAccess.getAssertionOrDefinitionAccess().getColonHyphenMinusKeyword_1_1_1()); + match(input,ColonHyphenMinus,FOLLOW_2); + after(grammarAccess.getAssertionOrDefinitionAccess().getColonHyphenMinusKeyword_1_1_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AssertionOrDefinition__Group_1_1__1__Impl" + + + // $ANTLR start "rule__AssertionOrDefinition__Group_1_1__2" + // InternalSolverLanguageParser.g:2730:1: rule__AssertionOrDefinition__Group_1_1__2 : rule__AssertionOrDefinition__Group_1_1__2__Impl ; + public final void rule__AssertionOrDefinition__Group_1_1__2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:2734:1: ( rule__AssertionOrDefinition__Group_1_1__2__Impl ) + // InternalSolverLanguageParser.g:2735:2: rule__AssertionOrDefinition__Group_1_1__2__Impl + { + pushFollow(FOLLOW_2); + rule__AssertionOrDefinition__Group_1_1__2__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AssertionOrDefinition__Group_1_1__2" + + + // $ANTLR start "rule__AssertionOrDefinition__Group_1_1__2__Impl" + // InternalSolverLanguageParser.g:2741:1: rule__AssertionOrDefinition__Group_1_1__2__Impl : ( ( rule__AssertionOrDefinition__BodyAssignment_1_1_2 ) ) ; + public final void rule__AssertionOrDefinition__Group_1_1__2__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:2745:1: ( ( ( rule__AssertionOrDefinition__BodyAssignment_1_1_2 ) ) ) + // InternalSolverLanguageParser.g:2746:1: ( ( rule__AssertionOrDefinition__BodyAssignment_1_1_2 ) ) + { + // InternalSolverLanguageParser.g:2746:1: ( ( rule__AssertionOrDefinition__BodyAssignment_1_1_2 ) ) + // InternalSolverLanguageParser.g:2747:2: ( rule__AssertionOrDefinition__BodyAssignment_1_1_2 ) + { + before(grammarAccess.getAssertionOrDefinitionAccess().getBodyAssignment_1_1_2()); + // InternalSolverLanguageParser.g:2748:2: ( rule__AssertionOrDefinition__BodyAssignment_1_1_2 ) + // InternalSolverLanguageParser.g:2748:3: rule__AssertionOrDefinition__BodyAssignment_1_1_2 + { + pushFollow(FOLLOW_2); + rule__AssertionOrDefinition__BodyAssignment_1_1_2(); + + state._fsp--; + + + } + + after(grammarAccess.getAssertionOrDefinitionAccess().getBodyAssignment_1_1_2()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AssertionOrDefinition__Group_1_1__2__Impl" + + + // $ANTLR start "rule__AssertionOrDefinition__Group_1_2__0" + // InternalSolverLanguageParser.g:2757:1: rule__AssertionOrDefinition__Group_1_2__0 : rule__AssertionOrDefinition__Group_1_2__0__Impl rule__AssertionOrDefinition__Group_1_2__1 ; + public final void rule__AssertionOrDefinition__Group_1_2__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:2761:1: ( rule__AssertionOrDefinition__Group_1_2__0__Impl rule__AssertionOrDefinition__Group_1_2__1 ) + // InternalSolverLanguageParser.g:2762:2: rule__AssertionOrDefinition__Group_1_2__0__Impl rule__AssertionOrDefinition__Group_1_2__1 + { + pushFollow(FOLLOW_5); + rule__AssertionOrDefinition__Group_1_2__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__AssertionOrDefinition__Group_1_2__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AssertionOrDefinition__Group_1_2__0" + + + // $ANTLR start "rule__AssertionOrDefinition__Group_1_2__0__Impl" + // InternalSolverLanguageParser.g:2769:1: rule__AssertionOrDefinition__Group_1_2__0__Impl : ( () ) ; + public final void rule__AssertionOrDefinition__Group_1_2__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:2773:1: ( ( () ) ) + // InternalSolverLanguageParser.g:2774:1: ( () ) + { + // InternalSolverLanguageParser.g:2774:1: ( () ) + // InternalSolverLanguageParser.g:2775:2: () + { + before(grammarAccess.getAssertionOrDefinitionAccess().getMetricDefinitionHeadAction_1_2_0()); + // InternalSolverLanguageParser.g:2776:2: () + // InternalSolverLanguageParser.g:2776:3: + { + } + + after(grammarAccess.getAssertionOrDefinitionAccess().getMetricDefinitionHeadAction_1_2_0()); + + } + + + } + + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AssertionOrDefinition__Group_1_2__0__Impl" + + + // $ANTLR start "rule__AssertionOrDefinition__Group_1_2__1" + // InternalSolverLanguageParser.g:2784:1: rule__AssertionOrDefinition__Group_1_2__1 : rule__AssertionOrDefinition__Group_1_2__1__Impl rule__AssertionOrDefinition__Group_1_2__2 ; + public final void rule__AssertionOrDefinition__Group_1_2__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:2788:1: ( rule__AssertionOrDefinition__Group_1_2__1__Impl rule__AssertionOrDefinition__Group_1_2__2 ) + // InternalSolverLanguageParser.g:2789:2: rule__AssertionOrDefinition__Group_1_2__1__Impl rule__AssertionOrDefinition__Group_1_2__2 + { + pushFollow(FOLLOW_7); + rule__AssertionOrDefinition__Group_1_2__1__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__AssertionOrDefinition__Group_1_2__2(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AssertionOrDefinition__Group_1_2__1" + + + // $ANTLR start "rule__AssertionOrDefinition__Group_1_2__1__Impl" + // InternalSolverLanguageParser.g:2796:1: rule__AssertionOrDefinition__Group_1_2__1__Impl : ( EqualsSign ) ; + public final void rule__AssertionOrDefinition__Group_1_2__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:2800:1: ( ( EqualsSign ) ) + // InternalSolverLanguageParser.g:2801:1: ( EqualsSign ) + { + // InternalSolverLanguageParser.g:2801:1: ( EqualsSign ) + // InternalSolverLanguageParser.g:2802:2: EqualsSign + { + before(grammarAccess.getAssertionOrDefinitionAccess().getEqualsSignKeyword_1_2_1()); + match(input,EqualsSign,FOLLOW_2); + after(grammarAccess.getAssertionOrDefinitionAccess().getEqualsSignKeyword_1_2_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AssertionOrDefinition__Group_1_2__1__Impl" + + + // $ANTLR start "rule__AssertionOrDefinition__Group_1_2__2" + // InternalSolverLanguageParser.g:2811:1: rule__AssertionOrDefinition__Group_1_2__2 : rule__AssertionOrDefinition__Group_1_2__2__Impl ; + public final void rule__AssertionOrDefinition__Group_1_2__2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:2815:1: ( rule__AssertionOrDefinition__Group_1_2__2__Impl ) + // InternalSolverLanguageParser.g:2816:2: rule__AssertionOrDefinition__Group_1_2__2__Impl + { + pushFollow(FOLLOW_2); + rule__AssertionOrDefinition__Group_1_2__2__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AssertionOrDefinition__Group_1_2__2" + + + // $ANTLR start "rule__AssertionOrDefinition__Group_1_2__2__Impl" + // InternalSolverLanguageParser.g:2822:1: rule__AssertionOrDefinition__Group_1_2__2__Impl : ( ( rule__AssertionOrDefinition__BodyAssignment_1_2_2 ) ) ; + public final void rule__AssertionOrDefinition__Group_1_2__2__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:2826:1: ( ( ( rule__AssertionOrDefinition__BodyAssignment_1_2_2 ) ) ) + // InternalSolverLanguageParser.g:2827:1: ( ( rule__AssertionOrDefinition__BodyAssignment_1_2_2 ) ) + { + // InternalSolverLanguageParser.g:2827:1: ( ( rule__AssertionOrDefinition__BodyAssignment_1_2_2 ) ) + // InternalSolverLanguageParser.g:2828:2: ( rule__AssertionOrDefinition__BodyAssignment_1_2_2 ) + { + before(grammarAccess.getAssertionOrDefinitionAccess().getBodyAssignment_1_2_2()); + // InternalSolverLanguageParser.g:2829:2: ( rule__AssertionOrDefinition__BodyAssignment_1_2_2 ) + // InternalSolverLanguageParser.g:2829:3: rule__AssertionOrDefinition__BodyAssignment_1_2_2 + { + pushFollow(FOLLOW_2); + rule__AssertionOrDefinition__BodyAssignment_1_2_2(); + + state._fsp--; + + + } + + after(grammarAccess.getAssertionOrDefinitionAccess().getBodyAssignment_1_2_2()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AssertionOrDefinition__Group_1_2__2__Impl" + + + // $ANTLR start "rule__PredicateDefinition__Group__0" + // InternalSolverLanguageParser.g:2838:1: rule__PredicateDefinition__Group__0 : rule__PredicateDefinition__Group__0__Impl rule__PredicateDefinition__Group__1 ; + public final void rule__PredicateDefinition__Group__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:2842:1: ( rule__PredicateDefinition__Group__0__Impl rule__PredicateDefinition__Group__1 ) + // InternalSolverLanguageParser.g:2843:2: rule__PredicateDefinition__Group__0__Impl rule__PredicateDefinition__Group__1 + { + pushFollow(FOLLOW_9); + rule__PredicateDefinition__Group__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__PredicateDefinition__Group__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PredicateDefinition__Group__0" + + + // $ANTLR start "rule__PredicateDefinition__Group__0__Impl" + // InternalSolverLanguageParser.g:2850:1: rule__PredicateDefinition__Group__0__Impl : ( ( rule__PredicateDefinition__Alternatives_0 ) ) ; + public final void rule__PredicateDefinition__Group__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:2854:1: ( ( ( rule__PredicateDefinition__Alternatives_0 ) ) ) + // InternalSolverLanguageParser.g:2855:1: ( ( rule__PredicateDefinition__Alternatives_0 ) ) + { + // InternalSolverLanguageParser.g:2855:1: ( ( rule__PredicateDefinition__Alternatives_0 ) ) + // InternalSolverLanguageParser.g:2856:2: ( rule__PredicateDefinition__Alternatives_0 ) + { + before(grammarAccess.getPredicateDefinitionAccess().getAlternatives_0()); + // InternalSolverLanguageParser.g:2857:2: ( rule__PredicateDefinition__Alternatives_0 ) + // InternalSolverLanguageParser.g:2857:3: rule__PredicateDefinition__Alternatives_0 + { + pushFollow(FOLLOW_2); + rule__PredicateDefinition__Alternatives_0(); + + state._fsp--; + + + } + + after(grammarAccess.getPredicateDefinitionAccess().getAlternatives_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PredicateDefinition__Group__0__Impl" + + + // $ANTLR start "rule__PredicateDefinition__Group__1" + // InternalSolverLanguageParser.g:2865:1: rule__PredicateDefinition__Group__1 : rule__PredicateDefinition__Group__1__Impl rule__PredicateDefinition__Group__2 ; + public final void rule__PredicateDefinition__Group__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:2869:1: ( rule__PredicateDefinition__Group__1__Impl rule__PredicateDefinition__Group__2 ) + // InternalSolverLanguageParser.g:2870:2: rule__PredicateDefinition__Group__1__Impl rule__PredicateDefinition__Group__2 + { + pushFollow(FOLLOW_8); + rule__PredicateDefinition__Group__1__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__PredicateDefinition__Group__2(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PredicateDefinition__Group__1" + + + // $ANTLR start "rule__PredicateDefinition__Group__1__Impl" + // InternalSolverLanguageParser.g:2877:1: rule__PredicateDefinition__Group__1__Impl : ( ( rule__PredicateDefinition__HeadAssignment_1 ) ) ; + public final void rule__PredicateDefinition__Group__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:2881:1: ( ( ( rule__PredicateDefinition__HeadAssignment_1 ) ) ) + // InternalSolverLanguageParser.g:2882:1: ( ( rule__PredicateDefinition__HeadAssignment_1 ) ) + { + // InternalSolverLanguageParser.g:2882:1: ( ( rule__PredicateDefinition__HeadAssignment_1 ) ) + // InternalSolverLanguageParser.g:2883:2: ( rule__PredicateDefinition__HeadAssignment_1 ) + { + before(grammarAccess.getPredicateDefinitionAccess().getHeadAssignment_1()); + // InternalSolverLanguageParser.g:2884:2: ( rule__PredicateDefinition__HeadAssignment_1 ) + // InternalSolverLanguageParser.g:2884:3: rule__PredicateDefinition__HeadAssignment_1 + { + pushFollow(FOLLOW_2); + rule__PredicateDefinition__HeadAssignment_1(); + + state._fsp--; + + + } + + after(grammarAccess.getPredicateDefinitionAccess().getHeadAssignment_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PredicateDefinition__Group__1__Impl" + + + // $ANTLR start "rule__PredicateDefinition__Group__2" + // InternalSolverLanguageParser.g:2892:1: rule__PredicateDefinition__Group__2 : rule__PredicateDefinition__Group__2__Impl rule__PredicateDefinition__Group__3 ; + public final void rule__PredicateDefinition__Group__2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:2896:1: ( rule__PredicateDefinition__Group__2__Impl rule__PredicateDefinition__Group__3 ) + // InternalSolverLanguageParser.g:2897:2: rule__PredicateDefinition__Group__2__Impl rule__PredicateDefinition__Group__3 + { + pushFollow(FOLLOW_7); + rule__PredicateDefinition__Group__2__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__PredicateDefinition__Group__3(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PredicateDefinition__Group__2" + + + // $ANTLR start "rule__PredicateDefinition__Group__2__Impl" + // InternalSolverLanguageParser.g:2904:1: rule__PredicateDefinition__Group__2__Impl : ( ColonHyphenMinus ) ; + public final void rule__PredicateDefinition__Group__2__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:2908:1: ( ( ColonHyphenMinus ) ) + // InternalSolverLanguageParser.g:2909:1: ( ColonHyphenMinus ) + { + // InternalSolverLanguageParser.g:2909:1: ( ColonHyphenMinus ) + // InternalSolverLanguageParser.g:2910:2: ColonHyphenMinus + { + before(grammarAccess.getPredicateDefinitionAccess().getColonHyphenMinusKeyword_2()); + match(input,ColonHyphenMinus,FOLLOW_2); + after(grammarAccess.getPredicateDefinitionAccess().getColonHyphenMinusKeyword_2()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PredicateDefinition__Group__2__Impl" + + + // $ANTLR start "rule__PredicateDefinition__Group__3" + // InternalSolverLanguageParser.g:2919:1: rule__PredicateDefinition__Group__3 : rule__PredicateDefinition__Group__3__Impl ; + public final void rule__PredicateDefinition__Group__3() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:2923:1: ( rule__PredicateDefinition__Group__3__Impl ) + // InternalSolverLanguageParser.g:2924:2: rule__PredicateDefinition__Group__3__Impl + { + pushFollow(FOLLOW_2); + rule__PredicateDefinition__Group__3__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PredicateDefinition__Group__3" + + + // $ANTLR start "rule__PredicateDefinition__Group__3__Impl" + // InternalSolverLanguageParser.g:2930:1: rule__PredicateDefinition__Group__3__Impl : ( ( rule__PredicateDefinition__BodyAssignment_3 ) ) ; + public final void rule__PredicateDefinition__Group__3__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:2934:1: ( ( ( rule__PredicateDefinition__BodyAssignment_3 ) ) ) + // InternalSolverLanguageParser.g:2935:1: ( ( rule__PredicateDefinition__BodyAssignment_3 ) ) + { + // InternalSolverLanguageParser.g:2935:1: ( ( rule__PredicateDefinition__BodyAssignment_3 ) ) + // InternalSolverLanguageParser.g:2936:2: ( rule__PredicateDefinition__BodyAssignment_3 ) + { + before(grammarAccess.getPredicateDefinitionAccess().getBodyAssignment_3()); + // InternalSolverLanguageParser.g:2937:2: ( rule__PredicateDefinition__BodyAssignment_3 ) + // InternalSolverLanguageParser.g:2937:3: rule__PredicateDefinition__BodyAssignment_3 + { + pushFollow(FOLLOW_2); + rule__PredicateDefinition__BodyAssignment_3(); + + state._fsp--; + + + } + + after(grammarAccess.getPredicateDefinitionAccess().getBodyAssignment_3()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PredicateDefinition__Group__3__Impl" + + + // $ANTLR start "rule__PredicateDefinition__Group_0_0__0" + // InternalSolverLanguageParser.g:2946:1: rule__PredicateDefinition__Group_0_0__0 : rule__PredicateDefinition__Group_0_0__0__Impl rule__PredicateDefinition__Group_0_0__1 ; + public final void rule__PredicateDefinition__Group_0_0__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:2950:1: ( rule__PredicateDefinition__Group_0_0__0__Impl rule__PredicateDefinition__Group_0_0__1 ) + // InternalSolverLanguageParser.g:2951:2: rule__PredicateDefinition__Group_0_0__0__Impl rule__PredicateDefinition__Group_0_0__1 + { + pushFollow(FOLLOW_10); + rule__PredicateDefinition__Group_0_0__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__PredicateDefinition__Group_0_0__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PredicateDefinition__Group_0_0__0" + + + // $ANTLR start "rule__PredicateDefinition__Group_0_0__0__Impl" + // InternalSolverLanguageParser.g:2958:1: rule__PredicateDefinition__Group_0_0__0__Impl : ( ( rule__PredicateDefinition__FunctionalAssignment_0_0_0 ) ) ; + public final void rule__PredicateDefinition__Group_0_0__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:2962:1: ( ( ( rule__PredicateDefinition__FunctionalAssignment_0_0_0 ) ) ) + // InternalSolverLanguageParser.g:2963:1: ( ( rule__PredicateDefinition__FunctionalAssignment_0_0_0 ) ) + { + // InternalSolverLanguageParser.g:2963:1: ( ( rule__PredicateDefinition__FunctionalAssignment_0_0_0 ) ) + // InternalSolverLanguageParser.g:2964:2: ( rule__PredicateDefinition__FunctionalAssignment_0_0_0 ) + { + before(grammarAccess.getPredicateDefinitionAccess().getFunctionalAssignment_0_0_0()); + // InternalSolverLanguageParser.g:2965:2: ( rule__PredicateDefinition__FunctionalAssignment_0_0_0 ) + // InternalSolverLanguageParser.g:2965:3: rule__PredicateDefinition__FunctionalAssignment_0_0_0 + { + pushFollow(FOLLOW_2); + rule__PredicateDefinition__FunctionalAssignment_0_0_0(); + + state._fsp--; + + + } + + after(grammarAccess.getPredicateDefinitionAccess().getFunctionalAssignment_0_0_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PredicateDefinition__Group_0_0__0__Impl" + + + // $ANTLR start "rule__PredicateDefinition__Group_0_0__1" + // InternalSolverLanguageParser.g:2973:1: rule__PredicateDefinition__Group_0_0__1 : rule__PredicateDefinition__Group_0_0__1__Impl ; + public final void rule__PredicateDefinition__Group_0_0__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:2977:1: ( rule__PredicateDefinition__Group_0_0__1__Impl ) + // InternalSolverLanguageParser.g:2978:2: rule__PredicateDefinition__Group_0_0__1__Impl + { + pushFollow(FOLLOW_2); + rule__PredicateDefinition__Group_0_0__1__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PredicateDefinition__Group_0_0__1" + + + // $ANTLR start "rule__PredicateDefinition__Group_0_0__1__Impl" + // InternalSolverLanguageParser.g:2984:1: rule__PredicateDefinition__Group_0_0__1__Impl : ( ( rule__PredicateDefinition__ErrorAssignment_0_0_1 )? ) ; + public final void rule__PredicateDefinition__Group_0_0__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:2988:1: ( ( ( rule__PredicateDefinition__ErrorAssignment_0_0_1 )? ) ) + // InternalSolverLanguageParser.g:2989:1: ( ( rule__PredicateDefinition__ErrorAssignment_0_0_1 )? ) + { + // InternalSolverLanguageParser.g:2989:1: ( ( rule__PredicateDefinition__ErrorAssignment_0_0_1 )? ) + // InternalSolverLanguageParser.g:2990:2: ( rule__PredicateDefinition__ErrorAssignment_0_0_1 )? + { + before(grammarAccess.getPredicateDefinitionAccess().getErrorAssignment_0_0_1()); + // InternalSolverLanguageParser.g:2991:2: ( rule__PredicateDefinition__ErrorAssignment_0_0_1 )? + int alt27=2; + int LA27_0 = input.LA(1); + + if ( (LA27_0==Error) ) { + alt27=1; + } + switch (alt27) { + case 1 : + // InternalSolverLanguageParser.g:2991:3: rule__PredicateDefinition__ErrorAssignment_0_0_1 + { + pushFollow(FOLLOW_2); + rule__PredicateDefinition__ErrorAssignment_0_0_1(); + + state._fsp--; } break; - case 4 : - // InternalSolverLanguageParser.g:1609:2: ( ruleDefaultDefinition ) - { - // InternalSolverLanguageParser.g:1609:2: ( ruleDefaultDefinition ) - // InternalSolverLanguageParser.g:1610:3: ruleDefaultDefinition + + } + + after(grammarAccess.getPredicateDefinitionAccess().getErrorAssignment_0_0_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PredicateDefinition__Group_0_0__1__Impl" + + + // $ANTLR start "rule__PredicateDefinition__Group_0_1__0" + // InternalSolverLanguageParser.g:3000:1: rule__PredicateDefinition__Group_0_1__0 : rule__PredicateDefinition__Group_0_1__0__Impl rule__PredicateDefinition__Group_0_1__1 ; + public final void rule__PredicateDefinition__Group_0_1__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:3004:1: ( rule__PredicateDefinition__Group_0_1__0__Impl rule__PredicateDefinition__Group_0_1__1 ) + // InternalSolverLanguageParser.g:3005:2: rule__PredicateDefinition__Group_0_1__0__Impl rule__PredicateDefinition__Group_0_1__1 + { + pushFollow(FOLLOW_11); + rule__PredicateDefinition__Group_0_1__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__PredicateDefinition__Group_0_1__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PredicateDefinition__Group_0_1__0" + + + // $ANTLR start "rule__PredicateDefinition__Group_0_1__0__Impl" + // InternalSolverLanguageParser.g:3012:1: rule__PredicateDefinition__Group_0_1__0__Impl : ( ( rule__PredicateDefinition__ErrorAssignment_0_1_0 ) ) ; + public final void rule__PredicateDefinition__Group_0_1__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:3016:1: ( ( ( rule__PredicateDefinition__ErrorAssignment_0_1_0 ) ) ) + // InternalSolverLanguageParser.g:3017:1: ( ( rule__PredicateDefinition__ErrorAssignment_0_1_0 ) ) + { + // InternalSolverLanguageParser.g:3017:1: ( ( rule__PredicateDefinition__ErrorAssignment_0_1_0 ) ) + // InternalSolverLanguageParser.g:3018:2: ( rule__PredicateDefinition__ErrorAssignment_0_1_0 ) + { + before(grammarAccess.getPredicateDefinitionAccess().getErrorAssignment_0_1_0()); + // InternalSolverLanguageParser.g:3019:2: ( rule__PredicateDefinition__ErrorAssignment_0_1_0 ) + // InternalSolverLanguageParser.g:3019:3: rule__PredicateDefinition__ErrorAssignment_0_1_0 + { + pushFollow(FOLLOW_2); + rule__PredicateDefinition__ErrorAssignment_0_1_0(); + + state._fsp--; + + + } + + after(grammarAccess.getPredicateDefinitionAccess().getErrorAssignment_0_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PredicateDefinition__Group_0_1__0__Impl" + + + // $ANTLR start "rule__PredicateDefinition__Group_0_1__1" + // InternalSolverLanguageParser.g:3027:1: rule__PredicateDefinition__Group_0_1__1 : rule__PredicateDefinition__Group_0_1__1__Impl ; + public final void rule__PredicateDefinition__Group_0_1__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:3031:1: ( rule__PredicateDefinition__Group_0_1__1__Impl ) + // InternalSolverLanguageParser.g:3032:2: rule__PredicateDefinition__Group_0_1__1__Impl + { + pushFollow(FOLLOW_2); + rule__PredicateDefinition__Group_0_1__1__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PredicateDefinition__Group_0_1__1" + + + // $ANTLR start "rule__PredicateDefinition__Group_0_1__1__Impl" + // InternalSolverLanguageParser.g:3038:1: rule__PredicateDefinition__Group_0_1__1__Impl : ( ( rule__PredicateDefinition__FunctionalAssignment_0_1_1 )? ) ; + public final void rule__PredicateDefinition__Group_0_1__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:3042:1: ( ( ( rule__PredicateDefinition__FunctionalAssignment_0_1_1 )? ) ) + // InternalSolverLanguageParser.g:3043:1: ( ( rule__PredicateDefinition__FunctionalAssignment_0_1_1 )? ) + { + // InternalSolverLanguageParser.g:3043:1: ( ( rule__PredicateDefinition__FunctionalAssignment_0_1_1 )? ) + // InternalSolverLanguageParser.g:3044:2: ( rule__PredicateDefinition__FunctionalAssignment_0_1_1 )? + { + before(grammarAccess.getPredicateDefinitionAccess().getFunctionalAssignment_0_1_1()); + // InternalSolverLanguageParser.g:3045:2: ( rule__PredicateDefinition__FunctionalAssignment_0_1_1 )? + int alt28=2; + int LA28_0 = input.LA(1); + + if ( (LA28_0==Functional) ) { + alt28=1; + } + switch (alt28) { + case 1 : + // InternalSolverLanguageParser.g:3045:3: rule__PredicateDefinition__FunctionalAssignment_0_1_1 { - before(grammarAccess.getStatementAccess().getDefaultDefinitionParserRuleCall_0_3()); pushFollow(FOLLOW_2); - ruleDefaultDefinition(); + rule__PredicateDefinition__FunctionalAssignment_0_1_1(); + + state._fsp--; + + + } + break; + + } + + after(grammarAccess.getPredicateDefinitionAccess().getFunctionalAssignment_0_1_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PredicateDefinition__Group_0_1__1__Impl" + + + // $ANTLR start "rule__UnnamedErrorPrediateDefinition__Group__0" + // InternalSolverLanguageParser.g:3054:1: rule__UnnamedErrorPrediateDefinition__Group__0 : rule__UnnamedErrorPrediateDefinition__Group__0__Impl rule__UnnamedErrorPrediateDefinition__Group__1 ; + public final void rule__UnnamedErrorPrediateDefinition__Group__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:3058:1: ( rule__UnnamedErrorPrediateDefinition__Group__0__Impl rule__UnnamedErrorPrediateDefinition__Group__1 ) + // InternalSolverLanguageParser.g:3059:2: rule__UnnamedErrorPrediateDefinition__Group__0__Impl rule__UnnamedErrorPrediateDefinition__Group__1 + { + pushFollow(FOLLOW_12); + rule__UnnamedErrorPrediateDefinition__Group__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__UnnamedErrorPrediateDefinition__Group__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__UnnamedErrorPrediateDefinition__Group__0" + + + // $ANTLR start "rule__UnnamedErrorPrediateDefinition__Group__0__Impl" + // InternalSolverLanguageParser.g:3066:1: rule__UnnamedErrorPrediateDefinition__Group__0__Impl : ( Error ) ; + public final void rule__UnnamedErrorPrediateDefinition__Group__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:3070:1: ( ( Error ) ) + // InternalSolverLanguageParser.g:3071:1: ( Error ) + { + // InternalSolverLanguageParser.g:3071:1: ( Error ) + // InternalSolverLanguageParser.g:3072:2: Error + { + before(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getErrorKeyword_0()); + match(input,Error,FOLLOW_2); + after(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getErrorKeyword_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__UnnamedErrorPrediateDefinition__Group__0__Impl" + + + // $ANTLR start "rule__UnnamedErrorPrediateDefinition__Group__1" + // InternalSolverLanguageParser.g:3081:1: rule__UnnamedErrorPrediateDefinition__Group__1 : rule__UnnamedErrorPrediateDefinition__Group__1__Impl rule__UnnamedErrorPrediateDefinition__Group__2 ; + public final void rule__UnnamedErrorPrediateDefinition__Group__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:3085:1: ( rule__UnnamedErrorPrediateDefinition__Group__1__Impl rule__UnnamedErrorPrediateDefinition__Group__2 ) + // InternalSolverLanguageParser.g:3086:2: rule__UnnamedErrorPrediateDefinition__Group__1__Impl rule__UnnamedErrorPrediateDefinition__Group__2 + { + pushFollow(FOLLOW_8); + rule__UnnamedErrorPrediateDefinition__Group__1__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__UnnamedErrorPrediateDefinition__Group__2(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__UnnamedErrorPrediateDefinition__Group__1" + + + // $ANTLR start "rule__UnnamedErrorPrediateDefinition__Group__1__Impl" + // InternalSolverLanguageParser.g:3093:1: rule__UnnamedErrorPrediateDefinition__Group__1__Impl : ( ( rule__UnnamedErrorPrediateDefinition__ArgumentListAssignment_1 ) ) ; + public final void rule__UnnamedErrorPrediateDefinition__Group__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:3097:1: ( ( ( rule__UnnamedErrorPrediateDefinition__ArgumentListAssignment_1 ) ) ) + // InternalSolverLanguageParser.g:3098:1: ( ( rule__UnnamedErrorPrediateDefinition__ArgumentListAssignment_1 ) ) + { + // InternalSolverLanguageParser.g:3098:1: ( ( rule__UnnamedErrorPrediateDefinition__ArgumentListAssignment_1 ) ) + // InternalSolverLanguageParser.g:3099:2: ( rule__UnnamedErrorPrediateDefinition__ArgumentListAssignment_1 ) + { + before(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getArgumentListAssignment_1()); + // InternalSolverLanguageParser.g:3100:2: ( rule__UnnamedErrorPrediateDefinition__ArgumentListAssignment_1 ) + // InternalSolverLanguageParser.g:3100:3: rule__UnnamedErrorPrediateDefinition__ArgumentListAssignment_1 + { + pushFollow(FOLLOW_2); + rule__UnnamedErrorPrediateDefinition__ArgumentListAssignment_1(); + + state._fsp--; + + + } + + after(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getArgumentListAssignment_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__UnnamedErrorPrediateDefinition__Group__1__Impl" + + + // $ANTLR start "rule__UnnamedErrorPrediateDefinition__Group__2" + // InternalSolverLanguageParser.g:3108:1: rule__UnnamedErrorPrediateDefinition__Group__2 : rule__UnnamedErrorPrediateDefinition__Group__2__Impl rule__UnnamedErrorPrediateDefinition__Group__3 ; + public final void rule__UnnamedErrorPrediateDefinition__Group__2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:3112:1: ( rule__UnnamedErrorPrediateDefinition__Group__2__Impl rule__UnnamedErrorPrediateDefinition__Group__3 ) + // InternalSolverLanguageParser.g:3113:2: rule__UnnamedErrorPrediateDefinition__Group__2__Impl rule__UnnamedErrorPrediateDefinition__Group__3 + { + pushFollow(FOLLOW_7); + rule__UnnamedErrorPrediateDefinition__Group__2__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__UnnamedErrorPrediateDefinition__Group__3(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__UnnamedErrorPrediateDefinition__Group__2" + + + // $ANTLR start "rule__UnnamedErrorPrediateDefinition__Group__2__Impl" + // InternalSolverLanguageParser.g:3120:1: rule__UnnamedErrorPrediateDefinition__Group__2__Impl : ( ColonHyphenMinus ) ; + public final void rule__UnnamedErrorPrediateDefinition__Group__2__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:3124:1: ( ( ColonHyphenMinus ) ) + // InternalSolverLanguageParser.g:3125:1: ( ColonHyphenMinus ) + { + // InternalSolverLanguageParser.g:3125:1: ( ColonHyphenMinus ) + // InternalSolverLanguageParser.g:3126:2: ColonHyphenMinus + { + before(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getColonHyphenMinusKeyword_2()); + match(input,ColonHyphenMinus,FOLLOW_2); + after(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getColonHyphenMinusKeyword_2()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__UnnamedErrorPrediateDefinition__Group__2__Impl" + + + // $ANTLR start "rule__UnnamedErrorPrediateDefinition__Group__3" + // InternalSolverLanguageParser.g:3135:1: rule__UnnamedErrorPrediateDefinition__Group__3 : rule__UnnamedErrorPrediateDefinition__Group__3__Impl ; + public final void rule__UnnamedErrorPrediateDefinition__Group__3() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:3139:1: ( rule__UnnamedErrorPrediateDefinition__Group__3__Impl ) + // InternalSolverLanguageParser.g:3140:2: rule__UnnamedErrorPrediateDefinition__Group__3__Impl + { + pushFollow(FOLLOW_2); + rule__UnnamedErrorPrediateDefinition__Group__3__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__UnnamedErrorPrediateDefinition__Group__3" + + + // $ANTLR start "rule__UnnamedErrorPrediateDefinition__Group__3__Impl" + // InternalSolverLanguageParser.g:3146:1: rule__UnnamedErrorPrediateDefinition__Group__3__Impl : ( ( rule__UnnamedErrorPrediateDefinition__BodyAssignment_3 ) ) ; + public final void rule__UnnamedErrorPrediateDefinition__Group__3__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:3150:1: ( ( ( rule__UnnamedErrorPrediateDefinition__BodyAssignment_3 ) ) ) + // InternalSolverLanguageParser.g:3151:1: ( ( rule__UnnamedErrorPrediateDefinition__BodyAssignment_3 ) ) + { + // InternalSolverLanguageParser.g:3151:1: ( ( rule__UnnamedErrorPrediateDefinition__BodyAssignment_3 ) ) + // InternalSolverLanguageParser.g:3152:2: ( rule__UnnamedErrorPrediateDefinition__BodyAssignment_3 ) + { + before(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getBodyAssignment_3()); + // InternalSolverLanguageParser.g:3153:2: ( rule__UnnamedErrorPrediateDefinition__BodyAssignment_3 ) + // InternalSolverLanguageParser.g:3153:3: rule__UnnamedErrorPrediateDefinition__BodyAssignment_3 + { + pushFollow(FOLLOW_2); + rule__UnnamedErrorPrediateDefinition__BodyAssignment_3(); + + state._fsp--; + + + } + + after(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getBodyAssignment_3()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__UnnamedErrorPrediateDefinition__Group__3__Impl" + + + // $ANTLR start "rule__DefaultDefinition__Group__0" + // InternalSolverLanguageParser.g:3162:1: rule__DefaultDefinition__Group__0 : rule__DefaultDefinition__Group__0__Impl rule__DefaultDefinition__Group__1 ; + public final void rule__DefaultDefinition__Group__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:3166:1: ( rule__DefaultDefinition__Group__0__Impl rule__DefaultDefinition__Group__1 ) + // InternalSolverLanguageParser.g:3167:2: rule__DefaultDefinition__Group__0__Impl rule__DefaultDefinition__Group__1 + { + pushFollow(FOLLOW_9); + rule__DefaultDefinition__Group__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__DefaultDefinition__Group__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__DefaultDefinition__Group__0" + + + // $ANTLR start "rule__DefaultDefinition__Group__0__Impl" + // InternalSolverLanguageParser.g:3174:1: rule__DefaultDefinition__Group__0__Impl : ( Default ) ; + public final void rule__DefaultDefinition__Group__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:3178:1: ( ( Default ) ) + // InternalSolverLanguageParser.g:3179:1: ( Default ) + { + // InternalSolverLanguageParser.g:3179:1: ( Default ) + // InternalSolverLanguageParser.g:3180:2: Default + { + before(grammarAccess.getDefaultDefinitionAccess().getDefaultKeyword_0()); + match(input,Default,FOLLOW_2); + after(grammarAccess.getDefaultDefinitionAccess().getDefaultKeyword_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__DefaultDefinition__Group__0__Impl" + + + // $ANTLR start "rule__DefaultDefinition__Group__1" + // InternalSolverLanguageParser.g:3189:1: rule__DefaultDefinition__Group__1 : rule__DefaultDefinition__Group__1__Impl rule__DefaultDefinition__Group__2 ; + public final void rule__DefaultDefinition__Group__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:3193:1: ( rule__DefaultDefinition__Group__1__Impl rule__DefaultDefinition__Group__2 ) + // InternalSolverLanguageParser.g:3194:2: rule__DefaultDefinition__Group__1__Impl rule__DefaultDefinition__Group__2 + { + pushFollow(FOLLOW_6); + rule__DefaultDefinition__Group__1__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__DefaultDefinition__Group__2(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__DefaultDefinition__Group__1" + + + // $ANTLR start "rule__DefaultDefinition__Group__1__Impl" + // InternalSolverLanguageParser.g:3201:1: rule__DefaultDefinition__Group__1__Impl : ( ( rule__DefaultDefinition__HeadAssignment_1 ) ) ; + public final void rule__DefaultDefinition__Group__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:3205:1: ( ( ( rule__DefaultDefinition__HeadAssignment_1 ) ) ) + // InternalSolverLanguageParser.g:3206:1: ( ( rule__DefaultDefinition__HeadAssignment_1 ) ) + { + // InternalSolverLanguageParser.g:3206:1: ( ( rule__DefaultDefinition__HeadAssignment_1 ) ) + // InternalSolverLanguageParser.g:3207:2: ( rule__DefaultDefinition__HeadAssignment_1 ) + { + before(grammarAccess.getDefaultDefinitionAccess().getHeadAssignment_1()); + // InternalSolverLanguageParser.g:3208:2: ( rule__DefaultDefinition__HeadAssignment_1 ) + // InternalSolverLanguageParser.g:3208:3: rule__DefaultDefinition__HeadAssignment_1 + { + pushFollow(FOLLOW_2); + rule__DefaultDefinition__HeadAssignment_1(); + + state._fsp--; + + + } + + after(grammarAccess.getDefaultDefinitionAccess().getHeadAssignment_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__DefaultDefinition__Group__1__Impl" + + + // $ANTLR start "rule__DefaultDefinition__Group__2" + // InternalSolverLanguageParser.g:3216:1: rule__DefaultDefinition__Group__2 : rule__DefaultDefinition__Group__2__Impl rule__DefaultDefinition__Group__3 ; + public final void rule__DefaultDefinition__Group__2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:3220:1: ( rule__DefaultDefinition__Group__2__Impl rule__DefaultDefinition__Group__3 ) + // InternalSolverLanguageParser.g:3221:2: rule__DefaultDefinition__Group__2__Impl rule__DefaultDefinition__Group__3 + { + pushFollow(FOLLOW_7); + rule__DefaultDefinition__Group__2__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__DefaultDefinition__Group__3(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__DefaultDefinition__Group__2" + + + // $ANTLR start "rule__DefaultDefinition__Group__2__Impl" + // InternalSolverLanguageParser.g:3228:1: rule__DefaultDefinition__Group__2__Impl : ( Colon ) ; + public final void rule__DefaultDefinition__Group__2__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:3232:1: ( ( Colon ) ) + // InternalSolverLanguageParser.g:3233:1: ( Colon ) + { + // InternalSolverLanguageParser.g:3233:1: ( Colon ) + // InternalSolverLanguageParser.g:3234:2: Colon + { + before(grammarAccess.getDefaultDefinitionAccess().getColonKeyword_2()); + match(input,Colon,FOLLOW_2); + after(grammarAccess.getDefaultDefinitionAccess().getColonKeyword_2()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__DefaultDefinition__Group__2__Impl" + + + // $ANTLR start "rule__DefaultDefinition__Group__3" + // InternalSolverLanguageParser.g:3243:1: rule__DefaultDefinition__Group__3 : rule__DefaultDefinition__Group__3__Impl ; + public final void rule__DefaultDefinition__Group__3() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:3247:1: ( rule__DefaultDefinition__Group__3__Impl ) + // InternalSolverLanguageParser.g:3248:2: rule__DefaultDefinition__Group__3__Impl + { + pushFollow(FOLLOW_2); + rule__DefaultDefinition__Group__3__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__DefaultDefinition__Group__3" + + + // $ANTLR start "rule__DefaultDefinition__Group__3__Impl" + // InternalSolverLanguageParser.g:3254:1: rule__DefaultDefinition__Group__3__Impl : ( ( rule__DefaultDefinition__RangeAssignment_3 ) ) ; + public final void rule__DefaultDefinition__Group__3__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:3258:1: ( ( ( rule__DefaultDefinition__RangeAssignment_3 ) ) ) + // InternalSolverLanguageParser.g:3259:1: ( ( rule__DefaultDefinition__RangeAssignment_3 ) ) + { + // InternalSolverLanguageParser.g:3259:1: ( ( rule__DefaultDefinition__RangeAssignment_3 ) ) + // InternalSolverLanguageParser.g:3260:2: ( rule__DefaultDefinition__RangeAssignment_3 ) + { + before(grammarAccess.getDefaultDefinitionAccess().getRangeAssignment_3()); + // InternalSolverLanguageParser.g:3261:2: ( rule__DefaultDefinition__RangeAssignment_3 ) + // InternalSolverLanguageParser.g:3261:3: rule__DefaultDefinition__RangeAssignment_3 + { + pushFollow(FOLLOW_2); + rule__DefaultDefinition__RangeAssignment_3(); + + state._fsp--; + + + } + + after(grammarAccess.getDefaultDefinitionAccess().getRangeAssignment_3()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__DefaultDefinition__Group__3__Impl" + + + // $ANTLR start "rule__MetricDefinition__Group__0" + // InternalSolverLanguageParser.g:3270:1: rule__MetricDefinition__Group__0 : rule__MetricDefinition__Group__0__Impl rule__MetricDefinition__Group__1 ; + public final void rule__MetricDefinition__Group__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:3274:1: ( rule__MetricDefinition__Group__0__Impl rule__MetricDefinition__Group__1 ) + // InternalSolverLanguageParser.g:3275:2: rule__MetricDefinition__Group__0__Impl rule__MetricDefinition__Group__1 + { + pushFollow(FOLLOW_9); + rule__MetricDefinition__Group__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__MetricDefinition__Group__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__MetricDefinition__Group__0" + + + // $ANTLR start "rule__MetricDefinition__Group__0__Impl" + // InternalSolverLanguageParser.g:3282:1: rule__MetricDefinition__Group__0__Impl : ( ( rule__MetricDefinition__TypeAssignment_0 ) ) ; + public final void rule__MetricDefinition__Group__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:3286:1: ( ( ( rule__MetricDefinition__TypeAssignment_0 ) ) ) + // InternalSolverLanguageParser.g:3287:1: ( ( rule__MetricDefinition__TypeAssignment_0 ) ) + { + // InternalSolverLanguageParser.g:3287:1: ( ( rule__MetricDefinition__TypeAssignment_0 ) ) + // InternalSolverLanguageParser.g:3288:2: ( rule__MetricDefinition__TypeAssignment_0 ) + { + before(grammarAccess.getMetricDefinitionAccess().getTypeAssignment_0()); + // InternalSolverLanguageParser.g:3289:2: ( rule__MetricDefinition__TypeAssignment_0 ) + // InternalSolverLanguageParser.g:3289:3: rule__MetricDefinition__TypeAssignment_0 + { + pushFollow(FOLLOW_2); + rule__MetricDefinition__TypeAssignment_0(); + + state._fsp--; + - state._fsp--; + } - after(grammarAccess.getStatementAccess().getDefaultDefinitionParserRuleCall_0_3()); + after(grammarAccess.getMetricDefinitionAccess().getTypeAssignment_0()); - } + } - } - break; - case 5 : - // InternalSolverLanguageParser.g:1615:2: ( ruleExternPredicateDefinition ) - { - // InternalSolverLanguageParser.g:1615:2: ( ruleExternPredicateDefinition ) - // InternalSolverLanguageParser.g:1616:3: ruleExternPredicateDefinition - { - before(grammarAccess.getStatementAccess().getExternPredicateDefinitionParserRuleCall_0_4()); - pushFollow(FOLLOW_2); - ruleExternPredicateDefinition(); + } - state._fsp--; + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { - after(grammarAccess.getStatementAccess().getExternPredicateDefinitionParserRuleCall_0_4()); + restoreStackSize(stackSize); - } + } + return ; + } + // $ANTLR end "rule__MetricDefinition__Group__0__Impl" - } - break; - case 6 : - // InternalSolverLanguageParser.g:1621:2: ( ruleMetricDefinition ) - { - // InternalSolverLanguageParser.g:1621:2: ( ruleMetricDefinition ) - // InternalSolverLanguageParser.g:1622:3: ruleMetricDefinition - { - before(grammarAccess.getStatementAccess().getMetricDefinitionParserRuleCall_0_5()); - pushFollow(FOLLOW_2); - ruleMetricDefinition(); + // $ANTLR start "rule__MetricDefinition__Group__1" + // InternalSolverLanguageParser.g:3297:1: rule__MetricDefinition__Group__1 : rule__MetricDefinition__Group__1__Impl rule__MetricDefinition__Group__2 ; + public final void rule__MetricDefinition__Group__1() throws RecognitionException { - state._fsp--; + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:3301:1: ( rule__MetricDefinition__Group__1__Impl rule__MetricDefinition__Group__2 ) + // InternalSolverLanguageParser.g:3302:2: rule__MetricDefinition__Group__1__Impl rule__MetricDefinition__Group__2 + { + pushFollow(FOLLOW_13); + rule__MetricDefinition__Group__1__Impl(); - after(grammarAccess.getStatementAccess().getMetricDefinitionParserRuleCall_0_5()); + state._fsp--; - } + pushFollow(FOLLOW_2); + rule__MetricDefinition__Group__2(); + state._fsp--; - } - break; - case 7 : - // InternalSolverLanguageParser.g:1627:2: ( ruleExternMetricDefinition ) - { - // InternalSolverLanguageParser.g:1627:2: ( ruleExternMetricDefinition ) - // InternalSolverLanguageParser.g:1628:3: ruleExternMetricDefinition - { - before(grammarAccess.getStatementAccess().getExternMetricDefinitionParserRuleCall_0_6()); - pushFollow(FOLLOW_2); - ruleExternMetricDefinition(); - state._fsp--; + } - after(grammarAccess.getStatementAccess().getExternMetricDefinitionParserRuleCall_0_6()); + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { - } + restoreStackSize(stackSize); + } + return ; + } + // $ANTLR end "rule__MetricDefinition__Group__1" - } - break; - case 8 : - // InternalSolverLanguageParser.g:1633:2: ( ruleClassDefinition ) - { - // InternalSolverLanguageParser.g:1633:2: ( ruleClassDefinition ) - // InternalSolverLanguageParser.g:1634:3: ruleClassDefinition - { - before(grammarAccess.getStatementAccess().getClassDefinitionParserRuleCall_0_7()); - pushFollow(FOLLOW_2); - ruleClassDefinition(); - state._fsp--; + // $ANTLR start "rule__MetricDefinition__Group__1__Impl" + // InternalSolverLanguageParser.g:3309:1: rule__MetricDefinition__Group__1__Impl : ( ( rule__MetricDefinition__HeadAssignment_1 ) ) ; + public final void rule__MetricDefinition__Group__1__Impl() throws RecognitionException { - after(grammarAccess.getStatementAccess().getClassDefinitionParserRuleCall_0_7()); + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:3313:1: ( ( ( rule__MetricDefinition__HeadAssignment_1 ) ) ) + // InternalSolverLanguageParser.g:3314:1: ( ( rule__MetricDefinition__HeadAssignment_1 ) ) + { + // InternalSolverLanguageParser.g:3314:1: ( ( rule__MetricDefinition__HeadAssignment_1 ) ) + // InternalSolverLanguageParser.g:3315:2: ( rule__MetricDefinition__HeadAssignment_1 ) + { + before(grammarAccess.getMetricDefinitionAccess().getHeadAssignment_1()); + // InternalSolverLanguageParser.g:3316:2: ( rule__MetricDefinition__HeadAssignment_1 ) + // InternalSolverLanguageParser.g:3316:3: rule__MetricDefinition__HeadAssignment_1 + { + pushFollow(FOLLOW_2); + rule__MetricDefinition__HeadAssignment_1(); - } + state._fsp--; - } - break; - case 9 : - // InternalSolverLanguageParser.g:1639:2: ( ruleScopeDefinition ) - { - // InternalSolverLanguageParser.g:1639:2: ( ruleScopeDefinition ) - // InternalSolverLanguageParser.g:1640:3: ruleScopeDefinition - { - before(grammarAccess.getStatementAccess().getScopeDefinitionParserRuleCall_0_8()); - pushFollow(FOLLOW_2); - ruleScopeDefinition(); + } - state._fsp--; + after(grammarAccess.getMetricDefinitionAccess().getHeadAssignment_1()); - after(grammarAccess.getStatementAccess().getScopeDefinitionParserRuleCall_0_8()); + } - } + } - } - break; - case 10 : - // InternalSolverLanguageParser.g:1645:2: ( ruleObjectiveDefinition ) - { - // InternalSolverLanguageParser.g:1645:2: ( ruleObjectiveDefinition ) - // InternalSolverLanguageParser.g:1646:3: ruleObjectiveDefinition - { - before(grammarAccess.getStatementAccess().getObjectiveDefinitionParserRuleCall_0_9()); - pushFollow(FOLLOW_2); - ruleObjectiveDefinition(); + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { - state._fsp--; + restoreStackSize(stackSize); - after(grammarAccess.getStatementAccess().getObjectiveDefinitionParserRuleCall_0_9()); + } + return ; + } + // $ANTLR end "rule__MetricDefinition__Group__1__Impl" - } + // $ANTLR start "rule__MetricDefinition__Group__2" + // InternalSolverLanguageParser.g:3324:1: rule__MetricDefinition__Group__2 : rule__MetricDefinition__Group__2__Impl rule__MetricDefinition__Group__3 ; + public final void rule__MetricDefinition__Group__2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:3328:1: ( rule__MetricDefinition__Group__2__Impl rule__MetricDefinition__Group__3 ) + // InternalSolverLanguageParser.g:3329:2: rule__MetricDefinition__Group__2__Impl rule__MetricDefinition__Group__3 + { + pushFollow(FOLLOW_7); + rule__MetricDefinition__Group__2__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__MetricDefinition__Group__3(); + + state._fsp--; - } - break; } + } catch (RecognitionException re) { reportError(re); @@ -4897,121 +10608,111 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Statement__Alternatives_0" + // $ANTLR end "rule__MetricDefinition__Group__2" - // $ANTLR start "rule__AssertionOrDefinition__Alternatives_1" - // InternalSolverLanguageParser.g:1655:1: rule__AssertionOrDefinition__Alternatives_1 : ( ( ( rule__AssertionOrDefinition__Group_1_0__0 ) ) | ( ( rule__AssertionOrDefinition__Group_1_1__0 ) ) | ( ( rule__AssertionOrDefinition__Group_1_2__0 ) ) ); - public final void rule__AssertionOrDefinition__Alternatives_1() throws RecognitionException { + // $ANTLR start "rule__MetricDefinition__Group__2__Impl" + // InternalSolverLanguageParser.g:3336:1: rule__MetricDefinition__Group__2__Impl : ( EqualsSign ) ; + public final void rule__MetricDefinition__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:1659:1: ( ( ( rule__AssertionOrDefinition__Group_1_0__0 ) ) | ( ( rule__AssertionOrDefinition__Group_1_1__0 ) ) | ( ( rule__AssertionOrDefinition__Group_1_2__0 ) ) ) - int alt3=3; - switch ( input.LA(1) ) { - case EOF: - case Colon: - case RULE_FULL_STOP: - { - alt3=1; - } - break; - case ColonHyphenMinus: - { - alt3=2; - } - break; - case EqualsSign: - { - alt3=3; - } - break; - default: - NoViableAltException nvae = - new NoViableAltException("", 3, 0, input); + // InternalSolverLanguageParser.g:3340:1: ( ( EqualsSign ) ) + // InternalSolverLanguageParser.g:3341:1: ( EqualsSign ) + { + // InternalSolverLanguageParser.g:3341:1: ( EqualsSign ) + // InternalSolverLanguageParser.g:3342:2: EqualsSign + { + before(grammarAccess.getMetricDefinitionAccess().getEqualsSignKeyword_2()); + match(input,EqualsSign,FOLLOW_2); + after(grammarAccess.getMetricDefinitionAccess().getEqualsSignKeyword_2()); - throw nvae; } - switch (alt3) { - case 1 : - // InternalSolverLanguageParser.g:1660:2: ( ( rule__AssertionOrDefinition__Group_1_0__0 ) ) - { - // InternalSolverLanguageParser.g:1660:2: ( ( rule__AssertionOrDefinition__Group_1_0__0 ) ) - // InternalSolverLanguageParser.g:1661:3: ( rule__AssertionOrDefinition__Group_1_0__0 ) - { - before(grammarAccess.getAssertionOrDefinitionAccess().getGroup_1_0()); - // InternalSolverLanguageParser.g:1662:3: ( rule__AssertionOrDefinition__Group_1_0__0 ) - // InternalSolverLanguageParser.g:1662:4: rule__AssertionOrDefinition__Group_1_0__0 - { - pushFollow(FOLLOW_2); - rule__AssertionOrDefinition__Group_1_0__0(); - state._fsp--; + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + restoreStackSize(stackSize); - } + } + return ; + } + // $ANTLR end "rule__MetricDefinition__Group__2__Impl" - after(grammarAccess.getAssertionOrDefinitionAccess().getGroup_1_0()); - } + // $ANTLR start "rule__MetricDefinition__Group__3" + // InternalSolverLanguageParser.g:3351:1: rule__MetricDefinition__Group__3 : rule__MetricDefinition__Group__3__Impl ; + public final void rule__MetricDefinition__Group__3() throws RecognitionException { + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:3355:1: ( rule__MetricDefinition__Group__3__Impl ) + // InternalSolverLanguageParser.g:3356:2: rule__MetricDefinition__Group__3__Impl + { + pushFollow(FOLLOW_2); + rule__MetricDefinition__Group__3__Impl(); - } - break; - case 2 : - // InternalSolverLanguageParser.g:1666:2: ( ( rule__AssertionOrDefinition__Group_1_1__0 ) ) - { - // InternalSolverLanguageParser.g:1666:2: ( ( rule__AssertionOrDefinition__Group_1_1__0 ) ) - // InternalSolverLanguageParser.g:1667:3: ( rule__AssertionOrDefinition__Group_1_1__0 ) - { - before(grammarAccess.getAssertionOrDefinitionAccess().getGroup_1_1()); - // InternalSolverLanguageParser.g:1668:3: ( rule__AssertionOrDefinition__Group_1_1__0 ) - // InternalSolverLanguageParser.g:1668:4: rule__AssertionOrDefinition__Group_1_1__0 - { - pushFollow(FOLLOW_2); - rule__AssertionOrDefinition__Group_1_1__0(); + state._fsp--; - state._fsp--; + } - } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { - after(grammarAccess.getAssertionOrDefinitionAccess().getGroup_1_1()); + restoreStackSize(stackSize); - } + } + return ; + } + // $ANTLR end "rule__MetricDefinition__Group__3" - } - break; - case 3 : - // InternalSolverLanguageParser.g:1672:2: ( ( rule__AssertionOrDefinition__Group_1_2__0 ) ) - { - // InternalSolverLanguageParser.g:1672:2: ( ( rule__AssertionOrDefinition__Group_1_2__0 ) ) - // InternalSolverLanguageParser.g:1673:3: ( rule__AssertionOrDefinition__Group_1_2__0 ) - { - before(grammarAccess.getAssertionOrDefinitionAccess().getGroup_1_2()); - // InternalSolverLanguageParser.g:1674:3: ( rule__AssertionOrDefinition__Group_1_2__0 ) - // InternalSolverLanguageParser.g:1674:4: rule__AssertionOrDefinition__Group_1_2__0 - { - pushFollow(FOLLOW_2); - rule__AssertionOrDefinition__Group_1_2__0(); + // $ANTLR start "rule__MetricDefinition__Group__3__Impl" + // InternalSolverLanguageParser.g:3362:1: rule__MetricDefinition__Group__3__Impl : ( ( rule__MetricDefinition__BodyAssignment_3 ) ) ; + public final void rule__MetricDefinition__Group__3__Impl() throws RecognitionException { - state._fsp--; + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:3366:1: ( ( ( rule__MetricDefinition__BodyAssignment_3 ) ) ) + // InternalSolverLanguageParser.g:3367:1: ( ( rule__MetricDefinition__BodyAssignment_3 ) ) + { + // InternalSolverLanguageParser.g:3367:1: ( ( rule__MetricDefinition__BodyAssignment_3 ) ) + // InternalSolverLanguageParser.g:3368:2: ( rule__MetricDefinition__BodyAssignment_3 ) + { + before(grammarAccess.getMetricDefinitionAccess().getBodyAssignment_3()); + // InternalSolverLanguageParser.g:3369:2: ( rule__MetricDefinition__BodyAssignment_3 ) + // InternalSolverLanguageParser.g:3369:3: rule__MetricDefinition__BodyAssignment_3 + { + pushFollow(FOLLOW_2); + rule__MetricDefinition__BodyAssignment_3(); + state._fsp--; - } - after(grammarAccess.getAssertionOrDefinitionAccess().getGroup_1_2()); + } - } + after(grammarAccess.getMetricDefinitionAccess().getBodyAssignment_3()); + } - } - break; } + } catch (RecognitionException re) { reportError(re); @@ -5024,85 +10725,32 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__AssertionOrDefinition__Alternatives_1" + // $ANTLR end "rule__MetricDefinition__Group__3__Impl" - // $ANTLR start "rule__PredicateDefinition__Alternatives_0" - // InternalSolverLanguageParser.g:1682:1: rule__PredicateDefinition__Alternatives_0 : ( ( ( rule__PredicateDefinition__Group_0_0__0 ) ) | ( ( rule__PredicateDefinition__Group_0_1__0 ) ) ); - public final void rule__PredicateDefinition__Alternatives_0() throws RecognitionException { + // $ANTLR start "rule__ExternPredicateDefinition__Group__0" + // InternalSolverLanguageParser.g:3378:1: rule__ExternPredicateDefinition__Group__0 : rule__ExternPredicateDefinition__Group__0__Impl rule__ExternPredicateDefinition__Group__1 ; + public final void rule__ExternPredicateDefinition__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:1686:1: ( ( ( rule__PredicateDefinition__Group_0_0__0 ) ) | ( ( rule__PredicateDefinition__Group_0_1__0 ) ) ) - int alt4=2; - int LA4_0 = input.LA(1); - - if ( (LA4_0==Functional) ) { - alt4=1; - } - else if ( (LA4_0==Error) ) { - alt4=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 4, 0, input); - - throw nvae; - } - switch (alt4) { - case 1 : - // InternalSolverLanguageParser.g:1687:2: ( ( rule__PredicateDefinition__Group_0_0__0 ) ) - { - // InternalSolverLanguageParser.g:1687:2: ( ( rule__PredicateDefinition__Group_0_0__0 ) ) - // InternalSolverLanguageParser.g:1688:3: ( rule__PredicateDefinition__Group_0_0__0 ) - { - before(grammarAccess.getPredicateDefinitionAccess().getGroup_0_0()); - // InternalSolverLanguageParser.g:1689:3: ( rule__PredicateDefinition__Group_0_0__0 ) - // InternalSolverLanguageParser.g:1689:4: rule__PredicateDefinition__Group_0_0__0 - { - pushFollow(FOLLOW_2); - rule__PredicateDefinition__Group_0_0__0(); - - state._fsp--; - - - } - - after(grammarAccess.getPredicateDefinitionAccess().getGroup_0_0()); - - } - - - } - break; - case 2 : - // InternalSolverLanguageParser.g:1693:2: ( ( rule__PredicateDefinition__Group_0_1__0 ) ) - { - // InternalSolverLanguageParser.g:1693:2: ( ( rule__PredicateDefinition__Group_0_1__0 ) ) - // InternalSolverLanguageParser.g:1694:3: ( rule__PredicateDefinition__Group_0_1__0 ) - { - before(grammarAccess.getPredicateDefinitionAccess().getGroup_0_1()); - // InternalSolverLanguageParser.g:1695:3: ( rule__PredicateDefinition__Group_0_1__0 ) - // InternalSolverLanguageParser.g:1695:4: rule__PredicateDefinition__Group_0_1__0 - { - pushFollow(FOLLOW_2); - rule__PredicateDefinition__Group_0_1__0(); - - state._fsp--; - - - } + // InternalSolverLanguageParser.g:3382:1: ( rule__ExternPredicateDefinition__Group__0__Impl rule__ExternPredicateDefinition__Group__1 ) + // InternalSolverLanguageParser.g:3383:2: rule__ExternPredicateDefinition__Group__0__Impl rule__ExternPredicateDefinition__Group__1 + { + pushFollow(FOLLOW_9); + rule__ExternPredicateDefinition__Group__0__Impl(); - after(grammarAccess.getPredicateDefinitionAccess().getGroup_0_1()); + state._fsp--; - } + pushFollow(FOLLOW_2); + rule__ExternPredicateDefinition__Group__1(); + state._fsp--; - } - break; } + } catch (RecognitionException re) { reportError(re); @@ -5115,73 +10763,69 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__PredicateDefinition__Alternatives_0" + // $ANTLR end "rule__ExternPredicateDefinition__Group__0" - // $ANTLR start "rule__Expression__Alternatives" - // InternalSolverLanguageParser.g:1703:1: rule__Expression__Alternatives : ( ( ruleIfElse ) | ( ruleDisjunctiveExpression ) ); - public final void rule__Expression__Alternatives() throws RecognitionException { + // $ANTLR start "rule__ExternPredicateDefinition__Group__0__Impl" + // InternalSolverLanguageParser.g:3390:1: rule__ExternPredicateDefinition__Group__0__Impl : ( Extern ) ; + public final void rule__ExternPredicateDefinition__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:1707:1: ( ( ruleIfElse ) | ( ruleDisjunctiveExpression ) ) - int alt5=2; - int LA5_0 = input.LA(1); + // InternalSolverLanguageParser.g:3394:1: ( ( Extern ) ) + // InternalSolverLanguageParser.g:3395:1: ( Extern ) + { + // InternalSolverLanguageParser.g:3395:1: ( Extern ) + // InternalSolverLanguageParser.g:3396:2: Extern + { + before(grammarAccess.getExternPredicateDefinitionAccess().getExternKeyword_0()); + match(input,Extern,FOLLOW_2); + after(grammarAccess.getExternPredicateDefinitionAccess().getExternKeyword_0()); - if ( (LA5_0==If) ) { - alt5=1; } - else if ( (LA5_0==Current||LA5_0==Unknown||(LA5_0>=Count && LA5_0<=False)||(LA5_0>=Must && LA5_0<=Prod)||LA5_0==True||(LA5_0>=Avg && LA5_0<=Inf)||(LA5_0>=Max && LA5_0<=Sum)||(LA5_0>=ExclamationMark && LA5_0<=LeftParenthesis)||LA5_0==PlusSign||LA5_0==HyphenMinus||LA5_0==LeftSquareBracket||(LA5_0>=RULE_STRING && LA5_0<=RULE_QUOTED_ID)||(LA5_0>=RULE_ID && LA5_0<=RULE_INT)) ) { - alt5=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 5, 0, input); - throw nvae; + } - switch (alt5) { - case 1 : - // InternalSolverLanguageParser.g:1708:2: ( ruleIfElse ) - { - // InternalSolverLanguageParser.g:1708:2: ( ruleIfElse ) - // InternalSolverLanguageParser.g:1709:3: ruleIfElse - { - before(grammarAccess.getExpressionAccess().getIfElseParserRuleCall_0()); - pushFollow(FOLLOW_2); - ruleIfElse(); - state._fsp--; + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { - after(grammarAccess.getExpressionAccess().getIfElseParserRuleCall_0()); + restoreStackSize(stackSize); - } + } + return ; + } + // $ANTLR end "rule__ExternPredicateDefinition__Group__0__Impl" - } - break; - case 2 : - // InternalSolverLanguageParser.g:1714:2: ( ruleDisjunctiveExpression ) - { - // InternalSolverLanguageParser.g:1714:2: ( ruleDisjunctiveExpression ) - // InternalSolverLanguageParser.g:1715:3: ruleDisjunctiveExpression - { - before(grammarAccess.getExpressionAccess().getDisjunctiveExpressionParserRuleCall_1()); - pushFollow(FOLLOW_2); - ruleDisjunctiveExpression(); + // $ANTLR start "rule__ExternPredicateDefinition__Group__1" + // InternalSolverLanguageParser.g:3405:1: rule__ExternPredicateDefinition__Group__1 : rule__ExternPredicateDefinition__Group__1__Impl rule__ExternPredicateDefinition__Group__2 ; + public final void rule__ExternPredicateDefinition__Group__1() throws RecognitionException { - state._fsp--; + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:3409:1: ( rule__ExternPredicateDefinition__Group__1__Impl rule__ExternPredicateDefinition__Group__2 ) + // InternalSolverLanguageParser.g:3410:2: rule__ExternPredicateDefinition__Group__1__Impl rule__ExternPredicateDefinition__Group__2 + { + pushFollow(FOLLOW_12); + rule__ExternPredicateDefinition__Group__1__Impl(); - after(grammarAccess.getExpressionAccess().getDisjunctiveExpressionParserRuleCall_1()); + state._fsp--; - } + pushFollow(FOLLOW_2); + rule__ExternPredicateDefinition__Group__2(); + state._fsp--; - } - break; } + } catch (RecognitionException re) { reportError(re); @@ -5194,85 +10838,41 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Expression__Alternatives" + // $ANTLR end "rule__ExternPredicateDefinition__Group__1" - // $ANTLR start "rule__DisjunctiveExpression__Alternatives_1" - // InternalSolverLanguageParser.g:1724:1: rule__DisjunctiveExpression__Alternatives_1 : ( ( ( rule__DisjunctiveExpression__Group_1_0__0 ) ) | ( ( rule__DisjunctiveExpression__Group_1_1__0 ) ) ); - public final void rule__DisjunctiveExpression__Alternatives_1() throws RecognitionException { + // $ANTLR start "rule__ExternPredicateDefinition__Group__1__Impl" + // InternalSolverLanguageParser.g:3417:1: rule__ExternPredicateDefinition__Group__1__Impl : ( ( rule__ExternPredicateDefinition__NameAssignment_1 ) ) ; + public final void rule__ExternPredicateDefinition__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:1728:1: ( ( ( rule__DisjunctiveExpression__Group_1_0__0 ) ) | ( ( rule__DisjunctiveExpression__Group_1_1__0 ) ) ) - int alt6=2; - int LA6_0 = input.LA(1); - - if ( (LA6_0==Semicolon) ) { - alt6=1; - } - else if ( (LA6_0==HyphenMinusGreaterThanSign) ) { - alt6=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 6, 0, input); - - throw nvae; - } - switch (alt6) { - case 1 : - // InternalSolverLanguageParser.g:1729:2: ( ( rule__DisjunctiveExpression__Group_1_0__0 ) ) - { - // InternalSolverLanguageParser.g:1729:2: ( ( rule__DisjunctiveExpression__Group_1_0__0 ) ) - // InternalSolverLanguageParser.g:1730:3: ( rule__DisjunctiveExpression__Group_1_0__0 ) - { - before(grammarAccess.getDisjunctiveExpressionAccess().getGroup_1_0()); - // InternalSolverLanguageParser.g:1731:3: ( rule__DisjunctiveExpression__Group_1_0__0 ) - // InternalSolverLanguageParser.g:1731:4: rule__DisjunctiveExpression__Group_1_0__0 - { - pushFollow(FOLLOW_2); - rule__DisjunctiveExpression__Group_1_0__0(); - - state._fsp--; - - - } - - after(grammarAccess.getDisjunctiveExpressionAccess().getGroup_1_0()); - - } - - - } - break; - case 2 : - // InternalSolverLanguageParser.g:1735:2: ( ( rule__DisjunctiveExpression__Group_1_1__0 ) ) - { - // InternalSolverLanguageParser.g:1735:2: ( ( rule__DisjunctiveExpression__Group_1_1__0 ) ) - // InternalSolverLanguageParser.g:1736:3: ( rule__DisjunctiveExpression__Group_1_1__0 ) - { - before(grammarAccess.getDisjunctiveExpressionAccess().getGroup_1_1()); - // InternalSolverLanguageParser.g:1737:3: ( rule__DisjunctiveExpression__Group_1_1__0 ) - // InternalSolverLanguageParser.g:1737:4: rule__DisjunctiveExpression__Group_1_1__0 - { - pushFollow(FOLLOW_2); - rule__DisjunctiveExpression__Group_1_1__0(); - - state._fsp--; + // InternalSolverLanguageParser.g:3421:1: ( ( ( rule__ExternPredicateDefinition__NameAssignment_1 ) ) ) + // InternalSolverLanguageParser.g:3422:1: ( ( rule__ExternPredicateDefinition__NameAssignment_1 ) ) + { + // InternalSolverLanguageParser.g:3422:1: ( ( rule__ExternPredicateDefinition__NameAssignment_1 ) ) + // InternalSolverLanguageParser.g:3423:2: ( rule__ExternPredicateDefinition__NameAssignment_1 ) + { + before(grammarAccess.getExternPredicateDefinitionAccess().getNameAssignment_1()); + // InternalSolverLanguageParser.g:3424:2: ( rule__ExternPredicateDefinition__NameAssignment_1 ) + // InternalSolverLanguageParser.g:3424:3: rule__ExternPredicateDefinition__NameAssignment_1 + { + pushFollow(FOLLOW_2); + rule__ExternPredicateDefinition__NameAssignment_1(); + state._fsp--; - } - after(grammarAccess.getDisjunctiveExpressionAccess().getGroup_1_1()); + } - } + after(grammarAccess.getExternPredicateDefinitionAccess().getNameAssignment_1()); + } - } - break; } + } catch (RecognitionException re) { reportError(re); @@ -5285,79 +10885,74 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__DisjunctiveExpression__Alternatives_1" + // $ANTLR end "rule__ExternPredicateDefinition__Group__1__Impl" - // $ANTLR start "rule__UnaryExpression__Alternatives" - // InternalSolverLanguageParser.g:1745:1: rule__UnaryExpression__Alternatives : ( ( ruleAggregationExpression ) | ( ( rule__UnaryExpression__Group_1__0 ) ) ); - public final void rule__UnaryExpression__Alternatives() throws RecognitionException { + // $ANTLR start "rule__ExternPredicateDefinition__Group__2" + // InternalSolverLanguageParser.g:3432:1: rule__ExternPredicateDefinition__Group__2 : rule__ExternPredicateDefinition__Group__2__Impl ; + public final void rule__ExternPredicateDefinition__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:1749:1: ( ( ruleAggregationExpression ) | ( ( rule__UnaryExpression__Group_1__0 ) ) ) - int alt7=2; - int LA7_0 = input.LA(1); + // InternalSolverLanguageParser.g:3436:1: ( rule__ExternPredicateDefinition__Group__2__Impl ) + // InternalSolverLanguageParser.g:3437:2: rule__ExternPredicateDefinition__Group__2__Impl + { + pushFollow(FOLLOW_2); + rule__ExternPredicateDefinition__Group__2__Impl(); + + state._fsp--; - if ( (LA7_0==Unknown||(LA7_0>=Count && LA7_0<=False)||(LA7_0>=Only && LA7_0<=Prod)||LA7_0==True||(LA7_0>=Avg && LA7_0<=Inf)||LA7_0==Max||(LA7_0>=Min && LA7_0<=Sum)||LA7_0==LeftParenthesis||LA7_0==LeftSquareBracket||(LA7_0>=RULE_STRING && LA7_0<=RULE_QUOTED_ID)||(LA7_0>=RULE_ID && LA7_0<=RULE_INT)) ) { - alt7=1; - } - else if ( (LA7_0==Current||LA7_0==Must||LA7_0==May||LA7_0==ExclamationMark||LA7_0==PlusSign||LA7_0==HyphenMinus) ) { - alt7=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 7, 0, input); - throw nvae; } - switch (alt7) { - case 1 : - // InternalSolverLanguageParser.g:1750:2: ( ruleAggregationExpression ) - { - // InternalSolverLanguageParser.g:1750:2: ( ruleAggregationExpression ) - // InternalSolverLanguageParser.g:1751:3: ruleAggregationExpression - { - before(grammarAccess.getUnaryExpressionAccess().getAggregationExpressionParserRuleCall_0()); - pushFollow(FOLLOW_2); - ruleAggregationExpression(); - state._fsp--; + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { - after(grammarAccess.getUnaryExpressionAccess().getAggregationExpressionParserRuleCall_0()); + restoreStackSize(stackSize); - } + } + return ; + } + // $ANTLR end "rule__ExternPredicateDefinition__Group__2" - } - break; - case 2 : - // InternalSolverLanguageParser.g:1756:2: ( ( rule__UnaryExpression__Group_1__0 ) ) - { - // InternalSolverLanguageParser.g:1756:2: ( ( rule__UnaryExpression__Group_1__0 ) ) - // InternalSolverLanguageParser.g:1757:3: ( rule__UnaryExpression__Group_1__0 ) - { - before(grammarAccess.getUnaryExpressionAccess().getGroup_1()); - // InternalSolverLanguageParser.g:1758:3: ( rule__UnaryExpression__Group_1__0 ) - // InternalSolverLanguageParser.g:1758:4: rule__UnaryExpression__Group_1__0 - { - pushFollow(FOLLOW_2); - rule__UnaryExpression__Group_1__0(); + // $ANTLR start "rule__ExternPredicateDefinition__Group__2__Impl" + // InternalSolverLanguageParser.g:3443:1: rule__ExternPredicateDefinition__Group__2__Impl : ( ( rule__ExternPredicateDefinition__ArgumentListAssignment_2 ) ) ; + public final void rule__ExternPredicateDefinition__Group__2__Impl() throws RecognitionException { - state._fsp--; + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:3447:1: ( ( ( rule__ExternPredicateDefinition__ArgumentListAssignment_2 ) ) ) + // InternalSolverLanguageParser.g:3448:1: ( ( rule__ExternPredicateDefinition__ArgumentListAssignment_2 ) ) + { + // InternalSolverLanguageParser.g:3448:1: ( ( rule__ExternPredicateDefinition__ArgumentListAssignment_2 ) ) + // InternalSolverLanguageParser.g:3449:2: ( rule__ExternPredicateDefinition__ArgumentListAssignment_2 ) + { + before(grammarAccess.getExternPredicateDefinitionAccess().getArgumentListAssignment_2()); + // InternalSolverLanguageParser.g:3450:2: ( rule__ExternPredicateDefinition__ArgumentListAssignment_2 ) + // InternalSolverLanguageParser.g:3450:3: rule__ExternPredicateDefinition__ArgumentListAssignment_2 + { + pushFollow(FOLLOW_2); + rule__ExternPredicateDefinition__ArgumentListAssignment_2(); + state._fsp--; - } - after(grammarAccess.getUnaryExpressionAccess().getGroup_1()); + } - } + after(grammarAccess.getExternPredicateDefinitionAccess().getArgumentListAssignment_2()); + } - } - break; } + } catch (RecognitionException re) { reportError(re); @@ -5370,117 +10965,69 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__UnaryExpression__Alternatives" + // $ANTLR end "rule__ExternPredicateDefinition__Group__2__Impl" - // $ANTLR start "rule__AggregationExpression__Alternatives" - // InternalSolverLanguageParser.g:1766:1: rule__AggregationExpression__Alternatives : ( ( ruleAtomicExpression ) | ( ruleCount ) | ( ruleAggregation ) ); - public final void rule__AggregationExpression__Alternatives() throws RecognitionException { + // $ANTLR start "rule__ExternMetricDefinition__Group__0" + // InternalSolverLanguageParser.g:3459:1: rule__ExternMetricDefinition__Group__0 : rule__ExternMetricDefinition__Group__0__Impl rule__ExternMetricDefinition__Group__1 ; + public final void rule__ExternMetricDefinition__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:1770:1: ( ( ruleAtomicExpression ) | ( ruleCount ) | ( ruleAggregation ) ) - int alt8=3; - switch ( input.LA(1) ) { - case Unknown: - case Empty: - case Error: - case False: - case True: - case Inf: - case LeftParenthesis: - case LeftSquareBracket: - case RULE_STRING: - case RULE_QUOTED_ID: - case RULE_ID: - case RULE_INT: - { - alt8=1; - } - break; - case Count: - { - alt8=2; - } - break; - case Only: - case Prod: - case Avg: - case Max: - case Min: - case Sum: - { - alt8=3; - } - break; - default: - NoViableAltException nvae = - new NoViableAltException("", 8, 0, input); - - throw nvae; - } - - switch (alt8) { - case 1 : - // InternalSolverLanguageParser.g:1771:2: ( ruleAtomicExpression ) - { - // InternalSolverLanguageParser.g:1771:2: ( ruleAtomicExpression ) - // InternalSolverLanguageParser.g:1772:3: ruleAtomicExpression - { - before(grammarAccess.getAggregationExpressionAccess().getAtomicExpressionParserRuleCall_0()); - pushFollow(FOLLOW_2); - ruleAtomicExpression(); - - state._fsp--; - - after(grammarAccess.getAggregationExpressionAccess().getAtomicExpressionParserRuleCall_0()); + // InternalSolverLanguageParser.g:3463:1: ( rule__ExternMetricDefinition__Group__0__Impl rule__ExternMetricDefinition__Group__1 ) + // InternalSolverLanguageParser.g:3464:2: rule__ExternMetricDefinition__Group__0__Impl rule__ExternMetricDefinition__Group__1 + { + pushFollow(FOLLOW_9); + rule__ExternMetricDefinition__Group__0__Impl(); - } + state._fsp--; + pushFollow(FOLLOW_2); + rule__ExternMetricDefinition__Group__1(); - } - break; - case 2 : - // InternalSolverLanguageParser.g:1777:2: ( ruleCount ) - { - // InternalSolverLanguageParser.g:1777:2: ( ruleCount ) - // InternalSolverLanguageParser.g:1778:3: ruleCount - { - before(grammarAccess.getAggregationExpressionAccess().getCountParserRuleCall_1()); - pushFollow(FOLLOW_2); - ruleCount(); + state._fsp--; - state._fsp--; - after(grammarAccess.getAggregationExpressionAccess().getCountParserRuleCall_1()); + } - } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + restoreStackSize(stackSize); - } - break; - case 3 : - // InternalSolverLanguageParser.g:1783:2: ( ruleAggregation ) - { - // InternalSolverLanguageParser.g:1783:2: ( ruleAggregation ) - // InternalSolverLanguageParser.g:1784:3: ruleAggregation - { - before(grammarAccess.getAggregationExpressionAccess().getAggregationParserRuleCall_2()); - pushFollow(FOLLOW_2); - ruleAggregation(); + } + return ; + } + // $ANTLR end "rule__ExternMetricDefinition__Group__0" - state._fsp--; - after(grammarAccess.getAggregationExpressionAccess().getAggregationParserRuleCall_2()); + // $ANTLR start "rule__ExternMetricDefinition__Group__0__Impl" + // InternalSolverLanguageParser.g:3471:1: rule__ExternMetricDefinition__Group__0__Impl : ( Extern ) ; + public final void rule__ExternMetricDefinition__Group__0__Impl() throws RecognitionException { - } + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:3475:1: ( ( Extern ) ) + // InternalSolverLanguageParser.g:3476:1: ( Extern ) + { + // InternalSolverLanguageParser.g:3476:1: ( Extern ) + // InternalSolverLanguageParser.g:3477:2: Extern + { + before(grammarAccess.getExternMetricDefinitionAccess().getExternKeyword_0()); + match(input,Extern,FOLLOW_2); + after(grammarAccess.getExternMetricDefinitionAccess().getExternKeyword_0()); + } - } - break; } + } catch (RecognitionException re) { reportError(re); @@ -5493,123 +11040,117 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__AggregationExpression__Alternatives" + // $ANTLR end "rule__ExternMetricDefinition__Group__0__Impl" - // $ANTLR start "rule__AtomicExpression__Alternatives" - // InternalSolverLanguageParser.g:1793:1: rule__AtomicExpression__Alternatives : ( ( ruleReference ) | ( ruleCall ) | ( ruleInterval ) | ( ruleLiteral ) | ( ( rule__AtomicExpression__Group_4__0 ) ) ); - public final void rule__AtomicExpression__Alternatives() throws RecognitionException { + // $ANTLR start "rule__ExternMetricDefinition__Group__1" + // InternalSolverLanguageParser.g:3486:1: rule__ExternMetricDefinition__Group__1 : rule__ExternMetricDefinition__Group__1__Impl rule__ExternMetricDefinition__Group__2 ; + public final void rule__ExternMetricDefinition__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:1797:1: ( ( ruleReference ) | ( ruleCall ) | ( ruleInterval ) | ( ruleLiteral ) | ( ( rule__AtomicExpression__Group_4__0 ) ) ) - int alt9=5; - alt9 = dfa9.predict(input); - switch (alt9) { - case 1 : - // InternalSolverLanguageParser.g:1798:2: ( ruleReference ) - { - // InternalSolverLanguageParser.g:1798:2: ( ruleReference ) - // InternalSolverLanguageParser.g:1799:3: ruleReference - { - before(grammarAccess.getAtomicExpressionAccess().getReferenceParserRuleCall_0()); - pushFollow(FOLLOW_2); - ruleReference(); + // InternalSolverLanguageParser.g:3490:1: ( rule__ExternMetricDefinition__Group__1__Impl rule__ExternMetricDefinition__Group__2 ) + // InternalSolverLanguageParser.g:3491:2: rule__ExternMetricDefinition__Group__1__Impl rule__ExternMetricDefinition__Group__2 + { + pushFollow(FOLLOW_9); + rule__ExternMetricDefinition__Group__1__Impl(); - state._fsp--; + state._fsp--; - after(grammarAccess.getAtomicExpressionAccess().getReferenceParserRuleCall_0()); + pushFollow(FOLLOW_2); + rule__ExternMetricDefinition__Group__2(); - } + state._fsp--; - } - break; - case 2 : - // InternalSolverLanguageParser.g:1804:2: ( ruleCall ) - { - // InternalSolverLanguageParser.g:1804:2: ( ruleCall ) - // InternalSolverLanguageParser.g:1805:3: ruleCall - { - before(grammarAccess.getAtomicExpressionAccess().getCallParserRuleCall_1()); - pushFollow(FOLLOW_2); - ruleCall(); + } - state._fsp--; + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { - after(grammarAccess.getAtomicExpressionAccess().getCallParserRuleCall_1()); + restoreStackSize(stackSize); - } + } + return ; + } + // $ANTLR end "rule__ExternMetricDefinition__Group__1" - } - break; - case 3 : - // InternalSolverLanguageParser.g:1810:2: ( ruleInterval ) - { - // InternalSolverLanguageParser.g:1810:2: ( ruleInterval ) - // InternalSolverLanguageParser.g:1811:3: ruleInterval - { - before(grammarAccess.getAtomicExpressionAccess().getIntervalParserRuleCall_2()); - pushFollow(FOLLOW_2); - ruleInterval(); + // $ANTLR start "rule__ExternMetricDefinition__Group__1__Impl" + // InternalSolverLanguageParser.g:3498:1: rule__ExternMetricDefinition__Group__1__Impl : ( ( rule__ExternMetricDefinition__TypeAssignment_1 ) ) ; + public final void rule__ExternMetricDefinition__Group__1__Impl() throws RecognitionException { - state._fsp--; + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:3502:1: ( ( ( rule__ExternMetricDefinition__TypeAssignment_1 ) ) ) + // InternalSolverLanguageParser.g:3503:1: ( ( rule__ExternMetricDefinition__TypeAssignment_1 ) ) + { + // InternalSolverLanguageParser.g:3503:1: ( ( rule__ExternMetricDefinition__TypeAssignment_1 ) ) + // InternalSolverLanguageParser.g:3504:2: ( rule__ExternMetricDefinition__TypeAssignment_1 ) + { + before(grammarAccess.getExternMetricDefinitionAccess().getTypeAssignment_1()); + // InternalSolverLanguageParser.g:3505:2: ( rule__ExternMetricDefinition__TypeAssignment_1 ) + // InternalSolverLanguageParser.g:3505:3: rule__ExternMetricDefinition__TypeAssignment_1 + { + pushFollow(FOLLOW_2); + rule__ExternMetricDefinition__TypeAssignment_1(); - after(grammarAccess.getAtomicExpressionAccess().getIntervalParserRuleCall_2()); + state._fsp--; - } + } - } - break; - case 4 : - // InternalSolverLanguageParser.g:1816:2: ( ruleLiteral ) - { - // InternalSolverLanguageParser.g:1816:2: ( ruleLiteral ) - // InternalSolverLanguageParser.g:1817:3: ruleLiteral - { - before(grammarAccess.getAtomicExpressionAccess().getLiteralParserRuleCall_3()); - pushFollow(FOLLOW_2); - ruleLiteral(); + after(grammarAccess.getExternMetricDefinitionAccess().getTypeAssignment_1()); - state._fsp--; + } - after(grammarAccess.getAtomicExpressionAccess().getLiteralParserRuleCall_3()); - } + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { - } - break; - case 5 : - // InternalSolverLanguageParser.g:1822:2: ( ( rule__AtomicExpression__Group_4__0 ) ) - { - // InternalSolverLanguageParser.g:1822:2: ( ( rule__AtomicExpression__Group_4__0 ) ) - // InternalSolverLanguageParser.g:1823:3: ( rule__AtomicExpression__Group_4__0 ) - { - before(grammarAccess.getAtomicExpressionAccess().getGroup_4()); - // InternalSolverLanguageParser.g:1824:3: ( rule__AtomicExpression__Group_4__0 ) - // InternalSolverLanguageParser.g:1824:4: rule__AtomicExpression__Group_4__0 - { - pushFollow(FOLLOW_2); - rule__AtomicExpression__Group_4__0(); + restoreStackSize(stackSize); - state._fsp--; + } + return ; + } + // $ANTLR end "rule__ExternMetricDefinition__Group__1__Impl" - } + // $ANTLR start "rule__ExternMetricDefinition__Group__2" + // InternalSolverLanguageParser.g:3513:1: rule__ExternMetricDefinition__Group__2 : rule__ExternMetricDefinition__Group__2__Impl rule__ExternMetricDefinition__Group__3 ; + public final void rule__ExternMetricDefinition__Group__2() throws RecognitionException { - after(grammarAccess.getAtomicExpressionAccess().getGroup_4()); + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:3517:1: ( rule__ExternMetricDefinition__Group__2__Impl rule__ExternMetricDefinition__Group__3 ) + // InternalSolverLanguageParser.g:3518:2: rule__ExternMetricDefinition__Group__2__Impl rule__ExternMetricDefinition__Group__3 + { + pushFollow(FOLLOW_12); + rule__ExternMetricDefinition__Group__2__Impl(); - } + state._fsp--; + pushFollow(FOLLOW_2); + rule__ExternMetricDefinition__Group__3(); + + state._fsp--; - } - break; } + } catch (RecognitionException re) { reportError(re); @@ -5622,85 +11163,74 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__AtomicExpression__Alternatives" + // $ANTLR end "rule__ExternMetricDefinition__Group__2" - // $ANTLR start "rule__Call__Alternatives_1" - // InternalSolverLanguageParser.g:1832:1: rule__Call__Alternatives_1 : ( ( ( rule__Call__TransitiveClosureAssignment_1_0 ) ) | ( ( rule__Call__ReflexiveTransitiveClosureAssignment_1_1 ) ) ); - public final void rule__Call__Alternatives_1() throws RecognitionException { + // $ANTLR start "rule__ExternMetricDefinition__Group__2__Impl" + // InternalSolverLanguageParser.g:3525:1: rule__ExternMetricDefinition__Group__2__Impl : ( ( rule__ExternMetricDefinition__NameAssignment_2 ) ) ; + public final void rule__ExternMetricDefinition__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:1836:1: ( ( ( rule__Call__TransitiveClosureAssignment_1_0 ) ) | ( ( rule__Call__ReflexiveTransitiveClosureAssignment_1_1 ) ) ) - int alt10=2; - int LA10_0 = input.LA(1); - - if ( (LA10_0==RULE_TRANSITIVE_CLOSURE) ) { - alt10=1; - } - else if ( (LA10_0==RULE_REFLEXIVE_TRANSITIVE_CLOSURE) ) { - alt10=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 10, 0, input); + // InternalSolverLanguageParser.g:3529:1: ( ( ( rule__ExternMetricDefinition__NameAssignment_2 ) ) ) + // InternalSolverLanguageParser.g:3530:1: ( ( rule__ExternMetricDefinition__NameAssignment_2 ) ) + { + // InternalSolverLanguageParser.g:3530:1: ( ( rule__ExternMetricDefinition__NameAssignment_2 ) ) + // InternalSolverLanguageParser.g:3531:2: ( rule__ExternMetricDefinition__NameAssignment_2 ) + { + before(grammarAccess.getExternMetricDefinitionAccess().getNameAssignment_2()); + // InternalSolverLanguageParser.g:3532:2: ( rule__ExternMetricDefinition__NameAssignment_2 ) + // InternalSolverLanguageParser.g:3532:3: rule__ExternMetricDefinition__NameAssignment_2 + { + pushFollow(FOLLOW_2); + rule__ExternMetricDefinition__NameAssignment_2(); - throw nvae; - } - switch (alt10) { - case 1 : - // InternalSolverLanguageParser.g:1837:2: ( ( rule__Call__TransitiveClosureAssignment_1_0 ) ) - { - // InternalSolverLanguageParser.g:1837:2: ( ( rule__Call__TransitiveClosureAssignment_1_0 ) ) - // InternalSolverLanguageParser.g:1838:3: ( rule__Call__TransitiveClosureAssignment_1_0 ) - { - before(grammarAccess.getCallAccess().getTransitiveClosureAssignment_1_0()); - // InternalSolverLanguageParser.g:1839:3: ( rule__Call__TransitiveClosureAssignment_1_0 ) - // InternalSolverLanguageParser.g:1839:4: rule__Call__TransitiveClosureAssignment_1_0 - { - pushFollow(FOLLOW_2); - rule__Call__TransitiveClosureAssignment_1_0(); + state._fsp--; - state._fsp--; + } - } + after(grammarAccess.getExternMetricDefinitionAccess().getNameAssignment_2()); - after(grammarAccess.getCallAccess().getTransitiveClosureAssignment_1_0()); + } - } + } - } - break; - case 2 : - // InternalSolverLanguageParser.g:1843:2: ( ( rule__Call__ReflexiveTransitiveClosureAssignment_1_1 ) ) - { - // InternalSolverLanguageParser.g:1843:2: ( ( rule__Call__ReflexiveTransitiveClosureAssignment_1_1 ) ) - // InternalSolverLanguageParser.g:1844:3: ( rule__Call__ReflexiveTransitiveClosureAssignment_1_1 ) - { - before(grammarAccess.getCallAccess().getReflexiveTransitiveClosureAssignment_1_1()); - // InternalSolverLanguageParser.g:1845:3: ( rule__Call__ReflexiveTransitiveClosureAssignment_1_1 ) - // InternalSolverLanguageParser.g:1845:4: rule__Call__ReflexiveTransitiveClosureAssignment_1_1 - { - pushFollow(FOLLOW_2); - rule__Call__ReflexiveTransitiveClosureAssignment_1_1(); + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { - state._fsp--; + restoreStackSize(stackSize); + } + return ; + } + // $ANTLR end "rule__ExternMetricDefinition__Group__2__Impl" - } - after(grammarAccess.getCallAccess().getReflexiveTransitiveClosureAssignment_1_1()); + // $ANTLR start "rule__ExternMetricDefinition__Group__3" + // InternalSolverLanguageParser.g:3540:1: rule__ExternMetricDefinition__Group__3 : rule__ExternMetricDefinition__Group__3__Impl ; + public final void rule__ExternMetricDefinition__Group__3() throws RecognitionException { - } + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:3544:1: ( rule__ExternMetricDefinition__Group__3__Impl ) + // InternalSolverLanguageParser.g:3545:2: rule__ExternMetricDefinition__Group__3__Impl + { + pushFollow(FOLLOW_2); + rule__ExternMetricDefinition__Group__3__Impl(); + state._fsp--; - } - break; } + } catch (RecognitionException re) { reportError(re); @@ -5713,98 +11243,79 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Call__Alternatives_1" + // $ANTLR end "rule__ExternMetricDefinition__Group__3" - // $ANTLR start "rule__Argument__Alternatives" - // InternalSolverLanguageParser.g:1853:1: rule__Argument__Alternatives : ( ( ruleExpressionArgument ) | ( ruleStarArgument ) | ( ruleTypedArgument ) | ( ruleTypedStarArgument ) ); - public final void rule__Argument__Alternatives() throws RecognitionException { + // $ANTLR start "rule__ExternMetricDefinition__Group__3__Impl" + // InternalSolverLanguageParser.g:3551:1: rule__ExternMetricDefinition__Group__3__Impl : ( ( rule__ExternMetricDefinition__ArgumentListAssignment_3 ) ) ; + public final void rule__ExternMetricDefinition__Group__3__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:1857:1: ( ( ruleExpressionArgument ) | ( ruleStarArgument ) | ( ruleTypedArgument ) | ( ruleTypedStarArgument ) ) - int alt11=4; - alt11 = dfa11.predict(input); - switch (alt11) { - case 1 : - // InternalSolverLanguageParser.g:1858:2: ( ruleExpressionArgument ) - { - // InternalSolverLanguageParser.g:1858:2: ( ruleExpressionArgument ) - // InternalSolverLanguageParser.g:1859:3: ruleExpressionArgument - { - before(grammarAccess.getArgumentAccess().getExpressionArgumentParserRuleCall_0()); - pushFollow(FOLLOW_2); - ruleExpressionArgument(); - - state._fsp--; - - after(grammarAccess.getArgumentAccess().getExpressionArgumentParserRuleCall_0()); - - } + // InternalSolverLanguageParser.g:3555:1: ( ( ( rule__ExternMetricDefinition__ArgumentListAssignment_3 ) ) ) + // InternalSolverLanguageParser.g:3556:1: ( ( rule__ExternMetricDefinition__ArgumentListAssignment_3 ) ) + { + // InternalSolverLanguageParser.g:3556:1: ( ( rule__ExternMetricDefinition__ArgumentListAssignment_3 ) ) + // InternalSolverLanguageParser.g:3557:2: ( rule__ExternMetricDefinition__ArgumentListAssignment_3 ) + { + before(grammarAccess.getExternMetricDefinitionAccess().getArgumentListAssignment_3()); + // InternalSolverLanguageParser.g:3558:2: ( rule__ExternMetricDefinition__ArgumentListAssignment_3 ) + // InternalSolverLanguageParser.g:3558:3: rule__ExternMetricDefinition__ArgumentListAssignment_3 + { + pushFollow(FOLLOW_2); + rule__ExternMetricDefinition__ArgumentListAssignment_3(); + state._fsp--; - } - break; - case 2 : - // InternalSolverLanguageParser.g:1864:2: ( ruleStarArgument ) - { - // InternalSolverLanguageParser.g:1864:2: ( ruleStarArgument ) - // InternalSolverLanguageParser.g:1865:3: ruleStarArgument - { - before(grammarAccess.getArgumentAccess().getStarArgumentParserRuleCall_1()); - pushFollow(FOLLOW_2); - ruleStarArgument(); - state._fsp--; + } - after(grammarAccess.getArgumentAccess().getStarArgumentParserRuleCall_1()); + after(grammarAccess.getExternMetricDefinitionAccess().getArgumentListAssignment_3()); - } + } - } - break; - case 3 : - // InternalSolverLanguageParser.g:1870:2: ( ruleTypedArgument ) - { - // InternalSolverLanguageParser.g:1870:2: ( ruleTypedArgument ) - // InternalSolverLanguageParser.g:1871:3: ruleTypedArgument - { - before(grammarAccess.getArgumentAccess().getTypedArgumentParserRuleCall_2()); - pushFollow(FOLLOW_2); - ruleTypedArgument(); + } - state._fsp--; + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { - after(grammarAccess.getArgumentAccess().getTypedArgumentParserRuleCall_2()); + restoreStackSize(stackSize); - } + } + return ; + } + // $ANTLR end "rule__ExternMetricDefinition__Group__3__Impl" - } - break; - case 4 : - // InternalSolverLanguageParser.g:1876:2: ( ruleTypedStarArgument ) - { - // InternalSolverLanguageParser.g:1876:2: ( ruleTypedStarArgument ) - // InternalSolverLanguageParser.g:1877:3: ruleTypedStarArgument - { - before(grammarAccess.getArgumentAccess().getTypedStarArgumentParserRuleCall_3()); - pushFollow(FOLLOW_2); - ruleTypedStarArgument(); + // $ANTLR start "rule__ExternAggregatorDefinition__Group__0" + // InternalSolverLanguageParser.g:3567:1: rule__ExternAggregatorDefinition__Group__0 : rule__ExternAggregatorDefinition__Group__0__Impl rule__ExternAggregatorDefinition__Group__1 ; + public final void rule__ExternAggregatorDefinition__Group__0() throws RecognitionException { - state._fsp--; + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:3571:1: ( rule__ExternAggregatorDefinition__Group__0__Impl rule__ExternAggregatorDefinition__Group__1 ) + // InternalSolverLanguageParser.g:3572:2: rule__ExternAggregatorDefinition__Group__0__Impl rule__ExternAggregatorDefinition__Group__1 + { + pushFollow(FOLLOW_9); + rule__ExternAggregatorDefinition__Group__0__Impl(); - after(grammarAccess.getArgumentAccess().getTypedStarArgumentParserRuleCall_3()); + state._fsp--; - } + pushFollow(FOLLOW_2); + rule__ExternAggregatorDefinition__Group__1(); + state._fsp--; - } - break; } + } catch (RecognitionException re) { reportError(re); @@ -5817,152 +11328,116 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Argument__Alternatives" + // $ANTLR end "rule__ExternAggregatorDefinition__Group__0" - // $ANTLR start "rule__Literal__Alternatives" - // InternalSolverLanguageParser.g:1886:1: rule__Literal__Alternatives : ( ( ruleLogicLiteral ) | ( ruleNumericLiteral ) | ( ruleInfinityLiteral ) | ( ruleEmptyIntervalLiteral ) | ( ruleStringLiteral ) ); - public final void rule__Literal__Alternatives() throws RecognitionException { + // $ANTLR start "rule__ExternAggregatorDefinition__Group__0__Impl" + // InternalSolverLanguageParser.g:3579:1: rule__ExternAggregatorDefinition__Group__0__Impl : ( Extern ) ; + public final void rule__ExternAggregatorDefinition__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:1890:1: ( ( ruleLogicLiteral ) | ( ruleNumericLiteral ) | ( ruleInfinityLiteral ) | ( ruleEmptyIntervalLiteral ) | ( ruleStringLiteral ) ) - int alt12=5; - switch ( input.LA(1) ) { - case Unknown: - case Error: - case False: - case True: - { - alt12=1; - } - break; - case RULE_INT: - { - alt12=2; - } - break; - case Inf: - { - alt12=3; - } - break; - case Empty: - { - alt12=4; - } - break; - case RULE_STRING: - { - alt12=5; - } - break; - default: - NoViableAltException nvae = - new NoViableAltException("", 12, 0, input); + // InternalSolverLanguageParser.g:3583:1: ( ( Extern ) ) + // InternalSolverLanguageParser.g:3584:1: ( Extern ) + { + // InternalSolverLanguageParser.g:3584:1: ( Extern ) + // InternalSolverLanguageParser.g:3585:2: Extern + { + before(grammarAccess.getExternAggregatorDefinitionAccess().getExternKeyword_0()); + match(input,Extern,FOLLOW_2); + after(grammarAccess.getExternAggregatorDefinitionAccess().getExternKeyword_0()); - throw nvae; } - switch (alt12) { - case 1 : - // InternalSolverLanguageParser.g:1891:2: ( ruleLogicLiteral ) - { - // InternalSolverLanguageParser.g:1891:2: ( ruleLogicLiteral ) - // InternalSolverLanguageParser.g:1892:3: ruleLogicLiteral - { - before(grammarAccess.getLiteralAccess().getLogicLiteralParserRuleCall_0()); - pushFollow(FOLLOW_2); - ruleLogicLiteral(); - - state._fsp--; - - after(grammarAccess.getLiteralAccess().getLogicLiteralParserRuleCall_0()); - } + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { - } - break; - case 2 : - // InternalSolverLanguageParser.g:1897:2: ( ruleNumericLiteral ) - { - // InternalSolverLanguageParser.g:1897:2: ( ruleNumericLiteral ) - // InternalSolverLanguageParser.g:1898:3: ruleNumericLiteral - { - before(grammarAccess.getLiteralAccess().getNumericLiteralParserRuleCall_1()); - pushFollow(FOLLOW_2); - ruleNumericLiteral(); + restoreStackSize(stackSize); - state._fsp--; + } + return ; + } + // $ANTLR end "rule__ExternAggregatorDefinition__Group__0__Impl" - after(grammarAccess.getLiteralAccess().getNumericLiteralParserRuleCall_1()); - } + // $ANTLR start "rule__ExternAggregatorDefinition__Group__1" + // InternalSolverLanguageParser.g:3594:1: rule__ExternAggregatorDefinition__Group__1 : rule__ExternAggregatorDefinition__Group__1__Impl rule__ExternAggregatorDefinition__Group__2 ; + public final void rule__ExternAggregatorDefinition__Group__1() throws RecognitionException { + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:3598:1: ( rule__ExternAggregatorDefinition__Group__1__Impl rule__ExternAggregatorDefinition__Group__2 ) + // InternalSolverLanguageParser.g:3599:2: rule__ExternAggregatorDefinition__Group__1__Impl rule__ExternAggregatorDefinition__Group__2 + { + pushFollow(FOLLOW_9); + rule__ExternAggregatorDefinition__Group__1__Impl(); - } - break; - case 3 : - // InternalSolverLanguageParser.g:1903:2: ( ruleInfinityLiteral ) - { - // InternalSolverLanguageParser.g:1903:2: ( ruleInfinityLiteral ) - // InternalSolverLanguageParser.g:1904:3: ruleInfinityLiteral - { - before(grammarAccess.getLiteralAccess().getInfinityLiteralParserRuleCall_2()); - pushFollow(FOLLOW_2); - ruleInfinityLiteral(); + state._fsp--; - state._fsp--; + pushFollow(FOLLOW_2); + rule__ExternAggregatorDefinition__Group__2(); - after(grammarAccess.getLiteralAccess().getInfinityLiteralParserRuleCall_2()); + state._fsp--; - } + } - } - break; - case 4 : - // InternalSolverLanguageParser.g:1909:2: ( ruleEmptyIntervalLiteral ) - { - // InternalSolverLanguageParser.g:1909:2: ( ruleEmptyIntervalLiteral ) - // InternalSolverLanguageParser.g:1910:3: ruleEmptyIntervalLiteral - { - before(grammarAccess.getLiteralAccess().getEmptyIntervalLiteralParserRuleCall_3()); - pushFollow(FOLLOW_2); - ruleEmptyIntervalLiteral(); + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { - state._fsp--; + restoreStackSize(stackSize); - after(grammarAccess.getLiteralAccess().getEmptyIntervalLiteralParserRuleCall_3()); + } + return ; + } + // $ANTLR end "rule__ExternAggregatorDefinition__Group__1" - } + // $ANTLR start "rule__ExternAggregatorDefinition__Group__1__Impl" + // InternalSolverLanguageParser.g:3606:1: rule__ExternAggregatorDefinition__Group__1__Impl : ( ( rule__ExternAggregatorDefinition__TypeAssignment_1 ) ) ; + public final void rule__ExternAggregatorDefinition__Group__1__Impl() throws RecognitionException { - } - break; - case 5 : - // InternalSolverLanguageParser.g:1915:2: ( ruleStringLiteral ) - { - // InternalSolverLanguageParser.g:1915:2: ( ruleStringLiteral ) - // InternalSolverLanguageParser.g:1916:3: ruleStringLiteral - { - before(grammarAccess.getLiteralAccess().getStringLiteralParserRuleCall_4()); - pushFollow(FOLLOW_2); - ruleStringLiteral(); + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:3610:1: ( ( ( rule__ExternAggregatorDefinition__TypeAssignment_1 ) ) ) + // InternalSolverLanguageParser.g:3611:1: ( ( rule__ExternAggregatorDefinition__TypeAssignment_1 ) ) + { + // InternalSolverLanguageParser.g:3611:1: ( ( rule__ExternAggregatorDefinition__TypeAssignment_1 ) ) + // InternalSolverLanguageParser.g:3612:2: ( rule__ExternAggregatorDefinition__TypeAssignment_1 ) + { + before(grammarAccess.getExternAggregatorDefinitionAccess().getTypeAssignment_1()); + // InternalSolverLanguageParser.g:3613:2: ( rule__ExternAggregatorDefinition__TypeAssignment_1 ) + // InternalSolverLanguageParser.g:3613:3: rule__ExternAggregatorDefinition__TypeAssignment_1 + { + pushFollow(FOLLOW_2); + rule__ExternAggregatorDefinition__TypeAssignment_1(); - state._fsp--; + state._fsp--; - after(grammarAccess.getLiteralAccess().getStringLiteralParserRuleCall_4()); - } + } + after(grammarAccess.getExternAggregatorDefinitionAccess().getTypeAssignment_1()); + + } - } - break; } + } catch (RecognitionException re) { reportError(re); @@ -5975,124 +11450,79 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Literal__Alternatives" + // $ANTLR end "rule__ExternAggregatorDefinition__Group__1__Impl" - // $ANTLR start "rule__Multiplicity__Alternatives" - // InternalSolverLanguageParser.g:1925:1: rule__Multiplicity__Alternatives : ( ( ruleManyMultiplicity ) | ( ruleExactMultiplicity ) | ( ruleBoundedMultiplicity ) ); - public final void rule__Multiplicity__Alternatives() throws RecognitionException { + // $ANTLR start "rule__ExternAggregatorDefinition__Group__2" + // InternalSolverLanguageParser.g:3621:1: rule__ExternAggregatorDefinition__Group__2 : rule__ExternAggregatorDefinition__Group__2__Impl rule__ExternAggregatorDefinition__Group__3 ; + public final void rule__ExternAggregatorDefinition__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:1929:1: ( ( ruleManyMultiplicity ) | ( ruleExactMultiplicity ) | ( ruleBoundedMultiplicity ) ) - int alt13=3; - int LA13_0 = input.LA(1); - - if ( (LA13_0==LeftSquareBracket) ) { - switch ( input.LA(2) ) { - case RULE_INT: - { - int LA13_2 = input.LA(3); + // InternalSolverLanguageParser.g:3625:1: ( rule__ExternAggregatorDefinition__Group__2__Impl rule__ExternAggregatorDefinition__Group__3 ) + // InternalSolverLanguageParser.g:3626:2: rule__ExternAggregatorDefinition__Group__2__Impl rule__ExternAggregatorDefinition__Group__3 + { + pushFollow(FOLLOW_14); + rule__ExternAggregatorDefinition__Group__2__Impl(); - if ( (LA13_2==RightSquareBracket) ) { - alt13=2; - } - else if ( (LA13_2==FullStopFullStop) ) { - alt13=3; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 13, 2, input); + state._fsp--; - throw nvae; - } - } - break; - case Asterisk: - { - alt13=2; - } - break; - case RightSquareBracket: - { - alt13=1; - } - break; - default: - NoViableAltException nvae = - new NoViableAltException("", 13, 1, input); + pushFollow(FOLLOW_2); + rule__ExternAggregatorDefinition__Group__3(); - throw nvae; - } + state._fsp--; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 13, 0, input); - throw nvae; } - switch (alt13) { - case 1 : - // InternalSolverLanguageParser.g:1930:2: ( ruleManyMultiplicity ) - { - // InternalSolverLanguageParser.g:1930:2: ( ruleManyMultiplicity ) - // InternalSolverLanguageParser.g:1931:3: ruleManyMultiplicity - { - before(grammarAccess.getMultiplicityAccess().getManyMultiplicityParserRuleCall_0()); - pushFollow(FOLLOW_2); - ruleManyMultiplicity(); - - state._fsp--; - - after(grammarAccess.getMultiplicityAccess().getManyMultiplicityParserRuleCall_0()); - - } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { - } - break; - case 2 : - // InternalSolverLanguageParser.g:1936:2: ( ruleExactMultiplicity ) - { - // InternalSolverLanguageParser.g:1936:2: ( ruleExactMultiplicity ) - // InternalSolverLanguageParser.g:1937:3: ruleExactMultiplicity - { - before(grammarAccess.getMultiplicityAccess().getExactMultiplicityParserRuleCall_1()); - pushFollow(FOLLOW_2); - ruleExactMultiplicity(); + restoreStackSize(stackSize); - state._fsp--; + } + return ; + } + // $ANTLR end "rule__ExternAggregatorDefinition__Group__2" - after(grammarAccess.getMultiplicityAccess().getExactMultiplicityParserRuleCall_1()); - } + // $ANTLR start "rule__ExternAggregatorDefinition__Group__2__Impl" + // InternalSolverLanguageParser.g:3633:1: rule__ExternAggregatorDefinition__Group__2__Impl : ( ( rule__ExternAggregatorDefinition__NameAssignment_2 ) ) ; + public final void rule__ExternAggregatorDefinition__Group__2__Impl() throws RecognitionException { + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:3637:1: ( ( ( rule__ExternAggregatorDefinition__NameAssignment_2 ) ) ) + // InternalSolverLanguageParser.g:3638:1: ( ( rule__ExternAggregatorDefinition__NameAssignment_2 ) ) + { + // InternalSolverLanguageParser.g:3638:1: ( ( rule__ExternAggregatorDefinition__NameAssignment_2 ) ) + // InternalSolverLanguageParser.g:3639:2: ( rule__ExternAggregatorDefinition__NameAssignment_2 ) + { + before(grammarAccess.getExternAggregatorDefinitionAccess().getNameAssignment_2()); + // InternalSolverLanguageParser.g:3640:2: ( rule__ExternAggregatorDefinition__NameAssignment_2 ) + // InternalSolverLanguageParser.g:3640:3: rule__ExternAggregatorDefinition__NameAssignment_2 + { + pushFollow(FOLLOW_2); + rule__ExternAggregatorDefinition__NameAssignment_2(); - } - break; - case 3 : - // InternalSolverLanguageParser.g:1942:2: ( ruleBoundedMultiplicity ) - { - // InternalSolverLanguageParser.g:1942:2: ( ruleBoundedMultiplicity ) - // InternalSolverLanguageParser.g:1943:3: ruleBoundedMultiplicity - { - before(grammarAccess.getMultiplicityAccess().getBoundedMultiplicityParserRuleCall_2()); - pushFollow(FOLLOW_2); - ruleBoundedMultiplicity(); + state._fsp--; - state._fsp--; - after(grammarAccess.getMultiplicityAccess().getBoundedMultiplicityParserRuleCall_2()); + } - } + after(grammarAccess.getExternAggregatorDefinitionAccess().getNameAssignment_2()); + } - } - break; } + } catch (RecognitionException re) { reportError(re); @@ -6105,79 +11535,69 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Multiplicity__Alternatives" + // $ANTLR end "rule__ExternAggregatorDefinition__Group__2__Impl" - // $ANTLR start "rule__ScopeDefinition__Alternatives" - // InternalSolverLanguageParser.g:1952:1: rule__ScopeDefinition__Alternatives : ( ( ruleExactScopeDefinition ) | ( ruleBoundedScopeDefinition ) | ( ruleLowerBoundedScopeDefinition ) ); - public final void rule__ScopeDefinition__Alternatives() throws RecognitionException { + // $ANTLR start "rule__ExternAggregatorDefinition__Group__3" + // InternalSolverLanguageParser.g:3648:1: rule__ExternAggregatorDefinition__Group__3 : rule__ExternAggregatorDefinition__Group__3__Impl rule__ExternAggregatorDefinition__Group__4 ; + public final void rule__ExternAggregatorDefinition__Group__3() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:1956:1: ( ( ruleExactScopeDefinition ) | ( ruleBoundedScopeDefinition ) | ( ruleLowerBoundedScopeDefinition ) ) - int alt14=3; - alt14 = dfa14.predict(input); - switch (alt14) { - case 1 : - // InternalSolverLanguageParser.g:1957:2: ( ruleExactScopeDefinition ) - { - // InternalSolverLanguageParser.g:1957:2: ( ruleExactScopeDefinition ) - // InternalSolverLanguageParser.g:1958:3: ruleExactScopeDefinition - { - before(grammarAccess.getScopeDefinitionAccess().getExactScopeDefinitionParserRuleCall_0()); - pushFollow(FOLLOW_2); - ruleExactScopeDefinition(); - - state._fsp--; - - after(grammarAccess.getScopeDefinitionAccess().getExactScopeDefinitionParserRuleCall_0()); + // InternalSolverLanguageParser.g:3652:1: ( rule__ExternAggregatorDefinition__Group__3__Impl rule__ExternAggregatorDefinition__Group__4 ) + // InternalSolverLanguageParser.g:3653:2: rule__ExternAggregatorDefinition__Group__3__Impl rule__ExternAggregatorDefinition__Group__4 + { + pushFollow(FOLLOW_9); + rule__ExternAggregatorDefinition__Group__3__Impl(); - } + state._fsp--; + pushFollow(FOLLOW_2); + rule__ExternAggregatorDefinition__Group__4(); - } - break; - case 2 : - // InternalSolverLanguageParser.g:1963:2: ( ruleBoundedScopeDefinition ) - { - // InternalSolverLanguageParser.g:1963:2: ( ruleBoundedScopeDefinition ) - // InternalSolverLanguageParser.g:1964:3: ruleBoundedScopeDefinition - { - before(grammarAccess.getScopeDefinitionAccess().getBoundedScopeDefinitionParserRuleCall_1()); - pushFollow(FOLLOW_2); - ruleBoundedScopeDefinition(); + state._fsp--; - state._fsp--; - after(grammarAccess.getScopeDefinitionAccess().getBoundedScopeDefinitionParserRuleCall_1()); + } - } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + restoreStackSize(stackSize); - } - break; - case 3 : - // InternalSolverLanguageParser.g:1969:2: ( ruleLowerBoundedScopeDefinition ) - { - // InternalSolverLanguageParser.g:1969:2: ( ruleLowerBoundedScopeDefinition ) - // InternalSolverLanguageParser.g:1970:3: ruleLowerBoundedScopeDefinition - { - before(grammarAccess.getScopeDefinitionAccess().getLowerBoundedScopeDefinitionParserRuleCall_2()); - pushFollow(FOLLOW_2); - ruleLowerBoundedScopeDefinition(); + } + return ; + } + // $ANTLR end "rule__ExternAggregatorDefinition__Group__3" - state._fsp--; - after(grammarAccess.getScopeDefinitionAccess().getLowerBoundedScopeDefinitionParserRuleCall_2()); + // $ANTLR start "rule__ExternAggregatorDefinition__Group__3__Impl" + // InternalSolverLanguageParser.g:3660:1: rule__ExternAggregatorDefinition__Group__3__Impl : ( LeftCurlyBracket ) ; + public final void rule__ExternAggregatorDefinition__Group__3__Impl() throws RecognitionException { - } + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:3664:1: ( ( LeftCurlyBracket ) ) + // InternalSolverLanguageParser.g:3665:1: ( LeftCurlyBracket ) + { + // InternalSolverLanguageParser.g:3665:1: ( LeftCurlyBracket ) + // InternalSolverLanguageParser.g:3666:2: LeftCurlyBracket + { + before(grammarAccess.getExternAggregatorDefinitionAccess().getLeftCurlyBracketKeyword_3()); + match(input,LeftCurlyBracket,FOLLOW_2); + after(grammarAccess.getExternAggregatorDefinitionAccess().getLeftCurlyBracketKeyword_3()); + } - } - break; } + } catch (RecognitionException re) { reportError(re); @@ -6190,98 +11610,79 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ScopeDefinition__Alternatives" + // $ANTLR end "rule__ExternAggregatorDefinition__Group__3__Impl" - // $ANTLR start "rule__BoundedScopeDefinition__Alternatives_1" - // InternalSolverLanguageParser.g:1979:1: rule__BoundedScopeDefinition__Alternatives_1 : ( ( ( rule__BoundedScopeDefinition__Group_1_0__0 ) ) | ( ( rule__BoundedScopeDefinition__Group_1_1__0 ) ) ); - public final void rule__BoundedScopeDefinition__Alternatives_1() throws RecognitionException { + // $ANTLR start "rule__ExternAggregatorDefinition__Group__4" + // InternalSolverLanguageParser.g:3675:1: rule__ExternAggregatorDefinition__Group__4 : rule__ExternAggregatorDefinition__Group__4__Impl rule__ExternAggregatorDefinition__Group__5 ; + public final void rule__ExternAggregatorDefinition__Group__4() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:1983:1: ( ( ( rule__BoundedScopeDefinition__Group_1_0__0 ) ) | ( ( rule__BoundedScopeDefinition__Group_1_1__0 ) ) ) - int alt15=2; - int LA15_0 = input.LA(1); - - if ( (LA15_0==RULE_INT) ) { - int LA15_1 = input.LA(2); + // InternalSolverLanguageParser.g:3679:1: ( rule__ExternAggregatorDefinition__Group__4__Impl rule__ExternAggregatorDefinition__Group__5 ) + // InternalSolverLanguageParser.g:3680:2: rule__ExternAggregatorDefinition__Group__4__Impl rule__ExternAggregatorDefinition__Group__5 + { + pushFollow(FOLLOW_15); + rule__ExternAggregatorDefinition__Group__4__Impl(); - if ( (LA15_1==LessThanSignEqualsSign) ) { - alt15=1; - } - else if ( (LA15_1==GreaterThanSignEqualsSign) ) { - alt15=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 15, 1, input); + state._fsp--; - throw nvae; - } - } - else if ( (LA15_0==RULE_QUOTED_ID||LA15_0==RULE_ID) ) { - alt15=1; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 15, 0, input); + pushFollow(FOLLOW_2); + rule__ExternAggregatorDefinition__Group__5(); - throw nvae; - } - switch (alt15) { - case 1 : - // InternalSolverLanguageParser.g:1984:2: ( ( rule__BoundedScopeDefinition__Group_1_0__0 ) ) - { - // InternalSolverLanguageParser.g:1984:2: ( ( rule__BoundedScopeDefinition__Group_1_0__0 ) ) - // InternalSolverLanguageParser.g:1985:3: ( rule__BoundedScopeDefinition__Group_1_0__0 ) - { - before(grammarAccess.getBoundedScopeDefinitionAccess().getGroup_1_0()); - // InternalSolverLanguageParser.g:1986:3: ( rule__BoundedScopeDefinition__Group_1_0__0 ) - // InternalSolverLanguageParser.g:1986:4: rule__BoundedScopeDefinition__Group_1_0__0 - { - pushFollow(FOLLOW_2); - rule__BoundedScopeDefinition__Group_1_0__0(); + state._fsp--; - state._fsp--; + } - } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { - after(grammarAccess.getBoundedScopeDefinitionAccess().getGroup_1_0()); + restoreStackSize(stackSize); - } + } + return ; + } + // $ANTLR end "rule__ExternAggregatorDefinition__Group__4" - } - break; - case 2 : - // InternalSolverLanguageParser.g:1990:2: ( ( rule__BoundedScopeDefinition__Group_1_1__0 ) ) - { - // InternalSolverLanguageParser.g:1990:2: ( ( rule__BoundedScopeDefinition__Group_1_1__0 ) ) - // InternalSolverLanguageParser.g:1991:3: ( rule__BoundedScopeDefinition__Group_1_1__0 ) - { - before(grammarAccess.getBoundedScopeDefinitionAccess().getGroup_1_1()); - // InternalSolverLanguageParser.g:1992:3: ( rule__BoundedScopeDefinition__Group_1_1__0 ) - // InternalSolverLanguageParser.g:1992:4: rule__BoundedScopeDefinition__Group_1_1__0 - { - pushFollow(FOLLOW_2); - rule__BoundedScopeDefinition__Group_1_1__0(); + // $ANTLR start "rule__ExternAggregatorDefinition__Group__4__Impl" + // InternalSolverLanguageParser.g:3687:1: rule__ExternAggregatorDefinition__Group__4__Impl : ( ( rule__ExternAggregatorDefinition__InputTypeAssignment_4 ) ) ; + public final void rule__ExternAggregatorDefinition__Group__4__Impl() throws RecognitionException { - state._fsp--; + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:3691:1: ( ( ( rule__ExternAggregatorDefinition__InputTypeAssignment_4 ) ) ) + // InternalSolverLanguageParser.g:3692:1: ( ( rule__ExternAggregatorDefinition__InputTypeAssignment_4 ) ) + { + // InternalSolverLanguageParser.g:3692:1: ( ( rule__ExternAggregatorDefinition__InputTypeAssignment_4 ) ) + // InternalSolverLanguageParser.g:3693:2: ( rule__ExternAggregatorDefinition__InputTypeAssignment_4 ) + { + before(grammarAccess.getExternAggregatorDefinitionAccess().getInputTypeAssignment_4()); + // InternalSolverLanguageParser.g:3694:2: ( rule__ExternAggregatorDefinition__InputTypeAssignment_4 ) + // InternalSolverLanguageParser.g:3694:3: rule__ExternAggregatorDefinition__InputTypeAssignment_4 + { + pushFollow(FOLLOW_2); + rule__ExternAggregatorDefinition__InputTypeAssignment_4(); + state._fsp--; - } - after(grammarAccess.getBoundedScopeDefinitionAccess().getGroup_1_1()); + } - } + after(grammarAccess.getExternAggregatorDefinitionAccess().getInputTypeAssignment_4()); + } - } - break; } + } catch (RecognitionException re) { reportError(re); @@ -6294,85 +11695,102 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__BoundedScopeDefinition__Alternatives_1" + // $ANTLR end "rule__ExternAggregatorDefinition__Group__4__Impl" - // $ANTLR start "rule__LowerBoundedScopeDefinition__Alternatives_1" - // InternalSolverLanguageParser.g:2000:1: rule__LowerBoundedScopeDefinition__Alternatives_1 : ( ( ( rule__LowerBoundedScopeDefinition__Group_1_0__0 ) ) | ( ( rule__LowerBoundedScopeDefinition__Group_1_1__0 ) ) ); - public final void rule__LowerBoundedScopeDefinition__Alternatives_1() throws RecognitionException { + // $ANTLR start "rule__ExternAggregatorDefinition__Group__5" + // InternalSolverLanguageParser.g:3702:1: rule__ExternAggregatorDefinition__Group__5 : rule__ExternAggregatorDefinition__Group__5__Impl rule__ExternAggregatorDefinition__Group__6 ; + public final void rule__ExternAggregatorDefinition__Group__5() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:2004:1: ( ( ( rule__LowerBoundedScopeDefinition__Group_1_0__0 ) ) | ( ( rule__LowerBoundedScopeDefinition__Group_1_1__0 ) ) ) - int alt16=2; - int LA16_0 = input.LA(1); + // InternalSolverLanguageParser.g:3706:1: ( rule__ExternAggregatorDefinition__Group__5__Impl rule__ExternAggregatorDefinition__Group__6 ) + // InternalSolverLanguageParser.g:3707:2: rule__ExternAggregatorDefinition__Group__5__Impl rule__ExternAggregatorDefinition__Group__6 + { + pushFollow(FOLLOW_16); + rule__ExternAggregatorDefinition__Group__5__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__ExternAggregatorDefinition__Group__6(); + + state._fsp--; - if ( (LA16_0==RULE_INT) ) { - alt16=1; - } - else if ( (LA16_0==RULE_QUOTED_ID||LA16_0==RULE_ID) ) { - alt16=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 16, 0, input); - throw nvae; } - switch (alt16) { - case 1 : - // InternalSolverLanguageParser.g:2005:2: ( ( rule__LowerBoundedScopeDefinition__Group_1_0__0 ) ) - { - // InternalSolverLanguageParser.g:2005:2: ( ( rule__LowerBoundedScopeDefinition__Group_1_0__0 ) ) - // InternalSolverLanguageParser.g:2006:3: ( rule__LowerBoundedScopeDefinition__Group_1_0__0 ) - { - before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getGroup_1_0()); - // InternalSolverLanguageParser.g:2007:3: ( rule__LowerBoundedScopeDefinition__Group_1_0__0 ) - // InternalSolverLanguageParser.g:2007:4: rule__LowerBoundedScopeDefinition__Group_1_0__0 - { - pushFollow(FOLLOW_2); - rule__LowerBoundedScopeDefinition__Group_1_0__0(); - state._fsp--; + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + restoreStackSize(stackSize); - } + } + return ; + } + // $ANTLR end "rule__ExternAggregatorDefinition__Group__5" - after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getGroup_1_0()); - } + // $ANTLR start "rule__ExternAggregatorDefinition__Group__5__Impl" + // InternalSolverLanguageParser.g:3714:1: rule__ExternAggregatorDefinition__Group__5__Impl : ( FullStopFullStopFullStop ) ; + public final void rule__ExternAggregatorDefinition__Group__5__Impl() throws RecognitionException { + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:3718:1: ( ( FullStopFullStopFullStop ) ) + // InternalSolverLanguageParser.g:3719:1: ( FullStopFullStopFullStop ) + { + // InternalSolverLanguageParser.g:3719:1: ( FullStopFullStopFullStop ) + // InternalSolverLanguageParser.g:3720:2: FullStopFullStopFullStop + { + before(grammarAccess.getExternAggregatorDefinitionAccess().getFullStopFullStopFullStopKeyword_5()); + match(input,FullStopFullStopFullStop,FOLLOW_2); + after(grammarAccess.getExternAggregatorDefinitionAccess().getFullStopFullStopFullStopKeyword_5()); - } - break; - case 2 : - // InternalSolverLanguageParser.g:2011:2: ( ( rule__LowerBoundedScopeDefinition__Group_1_1__0 ) ) - { - // InternalSolverLanguageParser.g:2011:2: ( ( rule__LowerBoundedScopeDefinition__Group_1_1__0 ) ) - // InternalSolverLanguageParser.g:2012:3: ( rule__LowerBoundedScopeDefinition__Group_1_1__0 ) - { - before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getGroup_1_1()); - // InternalSolverLanguageParser.g:2013:3: ( rule__LowerBoundedScopeDefinition__Group_1_1__0 ) - // InternalSolverLanguageParser.g:2013:4: rule__LowerBoundedScopeDefinition__Group_1_1__0 - { - pushFollow(FOLLOW_2); - rule__LowerBoundedScopeDefinition__Group_1_1__0(); + } - state._fsp--; + } - } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { - after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getGroup_1_1()); + restoreStackSize(stackSize); - } + } + return ; + } + // $ANTLR end "rule__ExternAggregatorDefinition__Group__5__Impl" - } - break; + // $ANTLR start "rule__ExternAggregatorDefinition__Group__6" + // InternalSolverLanguageParser.g:3729:1: rule__ExternAggregatorDefinition__Group__6 : rule__ExternAggregatorDefinition__Group__6__Impl ; + public final void rule__ExternAggregatorDefinition__Group__6() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:3733:1: ( rule__ExternAggregatorDefinition__Group__6__Impl ) + // InternalSolverLanguageParser.g:3734:2: rule__ExternAggregatorDefinition__Group__6__Impl + { + pushFollow(FOLLOW_2); + rule__ExternAggregatorDefinition__Group__6__Impl(); + + state._fsp--; + } + } catch (RecognitionException re) { reportError(re); @@ -6385,65 +11803,69 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__LowerBoundedScopeDefinition__Alternatives_1" + // $ANTLR end "rule__ExternAggregatorDefinition__Group__6" - // $ANTLR start "rule__UpperMultiplicty__Alternatives" - // InternalSolverLanguageParser.g:2021:1: rule__UpperMultiplicty__Alternatives : ( ( RULE_INT ) | ( Asterisk ) ); - public final void rule__UpperMultiplicty__Alternatives() throws RecognitionException { + // $ANTLR start "rule__ExternAggregatorDefinition__Group__6__Impl" + // InternalSolverLanguageParser.g:3740:1: rule__ExternAggregatorDefinition__Group__6__Impl : ( RightCurlyBracket ) ; + public final void rule__ExternAggregatorDefinition__Group__6__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:2025:1: ( ( RULE_INT ) | ( Asterisk ) ) - int alt17=2; - int LA17_0 = input.LA(1); + // InternalSolverLanguageParser.g:3744:1: ( ( RightCurlyBracket ) ) + // InternalSolverLanguageParser.g:3745:1: ( RightCurlyBracket ) + { + // InternalSolverLanguageParser.g:3745:1: ( RightCurlyBracket ) + // InternalSolverLanguageParser.g:3746:2: RightCurlyBracket + { + before(grammarAccess.getExternAggregatorDefinitionAccess().getRightCurlyBracketKeyword_6()); + match(input,RightCurlyBracket,FOLLOW_2); + after(grammarAccess.getExternAggregatorDefinitionAccess().getRightCurlyBracketKeyword_6()); - if ( (LA17_0==RULE_INT) ) { - alt17=1; - } - else if ( (LA17_0==Asterisk) ) { - alt17=2; } - else { - NoViableAltException nvae = - new NoViableAltException("", 17, 0, input); - throw nvae; + } - switch (alt17) { - case 1 : - // InternalSolverLanguageParser.g:2026:2: ( RULE_INT ) - { - // InternalSolverLanguageParser.g:2026:2: ( RULE_INT ) - // InternalSolverLanguageParser.g:2027:3: RULE_INT - { - before(grammarAccess.getUpperMultiplictyAccess().getINTTerminalRuleCall_0()); - match(input,RULE_INT,FOLLOW_2); - after(grammarAccess.getUpperMultiplictyAccess().getINTTerminalRuleCall_0()); - } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + restoreStackSize(stackSize); - } - break; - case 2 : - // InternalSolverLanguageParser.g:2032:2: ( Asterisk ) - { - // InternalSolverLanguageParser.g:2032:2: ( Asterisk ) - // InternalSolverLanguageParser.g:2033:3: Asterisk - { - before(grammarAccess.getUpperMultiplictyAccess().getAsteriskKeyword_1()); - match(input,Asterisk,FOLLOW_2); - after(grammarAccess.getUpperMultiplictyAccess().getAsteriskKeyword_1()); + } + return ; + } + // $ANTLR end "rule__ExternAggregatorDefinition__Group__6__Impl" - } + // $ANTLR start "rule__ExternDatatypeDefinition__Group__0" + // InternalSolverLanguageParser.g:3756:1: rule__ExternDatatypeDefinition__Group__0 : rule__ExternDatatypeDefinition__Group__0__Impl rule__ExternDatatypeDefinition__Group__1 ; + public final void rule__ExternDatatypeDefinition__Group__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:3760:1: ( rule__ExternDatatypeDefinition__Group__0__Impl rule__ExternDatatypeDefinition__Group__1 ) + // InternalSolverLanguageParser.g:3761:2: rule__ExternDatatypeDefinition__Group__0__Impl rule__ExternDatatypeDefinition__Group__1 + { + pushFollow(FOLLOW_17); + rule__ExternDatatypeDefinition__Group__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__ExternDatatypeDefinition__Group__1(); + + state._fsp--; - } - break; } + } catch (RecognitionException re) { reportError(re); @@ -6456,75 +11878,69 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__UpperMultiplicty__Alternatives" + // $ANTLR end "rule__ExternDatatypeDefinition__Group__0" - // $ANTLR start "rule__QualifiedName__Alternatives" - // InternalSolverLanguageParser.g:2042:1: rule__QualifiedName__Alternatives : ( ( ( rule__QualifiedName__Group_0__0 ) ) | ( RULE_QUOTED_ID ) ); - public final void rule__QualifiedName__Alternatives() throws RecognitionException { + // $ANTLR start "rule__ExternDatatypeDefinition__Group__0__Impl" + // InternalSolverLanguageParser.g:3768:1: rule__ExternDatatypeDefinition__Group__0__Impl : ( Extern ) ; + public final void rule__ExternDatatypeDefinition__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:2046:1: ( ( ( rule__QualifiedName__Group_0__0 ) ) | ( RULE_QUOTED_ID ) ) - int alt18=2; - int LA18_0 = input.LA(1); + // InternalSolverLanguageParser.g:3772:1: ( ( Extern ) ) + // InternalSolverLanguageParser.g:3773:1: ( Extern ) + { + // InternalSolverLanguageParser.g:3773:1: ( Extern ) + // InternalSolverLanguageParser.g:3774:2: Extern + { + before(grammarAccess.getExternDatatypeDefinitionAccess().getExternKeyword_0()); + match(input,Extern,FOLLOW_2); + after(grammarAccess.getExternDatatypeDefinitionAccess().getExternKeyword_0()); - if ( (LA18_0==RULE_ID) ) { - alt18=1; - } - else if ( (LA18_0==RULE_QUOTED_ID) ) { - alt18=2; } - else { - NoViableAltException nvae = - new NoViableAltException("", 18, 0, input); - throw nvae; + } - switch (alt18) { - case 1 : - // InternalSolverLanguageParser.g:2047:2: ( ( rule__QualifiedName__Group_0__0 ) ) - { - // InternalSolverLanguageParser.g:2047:2: ( ( rule__QualifiedName__Group_0__0 ) ) - // InternalSolverLanguageParser.g:2048:3: ( rule__QualifiedName__Group_0__0 ) - { - before(grammarAccess.getQualifiedNameAccess().getGroup_0()); - // InternalSolverLanguageParser.g:2049:3: ( rule__QualifiedName__Group_0__0 ) - // InternalSolverLanguageParser.g:2049:4: rule__QualifiedName__Group_0__0 - { - pushFollow(FOLLOW_2); - rule__QualifiedName__Group_0__0(); - state._fsp--; + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + restoreStackSize(stackSize); - } + } + return ; + } + // $ANTLR end "rule__ExternDatatypeDefinition__Group__0__Impl" - after(grammarAccess.getQualifiedNameAccess().getGroup_0()); - } + // $ANTLR start "rule__ExternDatatypeDefinition__Group__1" + // InternalSolverLanguageParser.g:3783:1: rule__ExternDatatypeDefinition__Group__1 : rule__ExternDatatypeDefinition__Group__1__Impl rule__ExternDatatypeDefinition__Group__2 ; + public final void rule__ExternDatatypeDefinition__Group__1() throws RecognitionException { + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:3787:1: ( rule__ExternDatatypeDefinition__Group__1__Impl rule__ExternDatatypeDefinition__Group__2 ) + // InternalSolverLanguageParser.g:3788:2: rule__ExternDatatypeDefinition__Group__1__Impl rule__ExternDatatypeDefinition__Group__2 + { + pushFollow(FOLLOW_9); + rule__ExternDatatypeDefinition__Group__1__Impl(); - } - break; - case 2 : - // InternalSolverLanguageParser.g:2053:2: ( RULE_QUOTED_ID ) - { - // InternalSolverLanguageParser.g:2053:2: ( RULE_QUOTED_ID ) - // InternalSolverLanguageParser.g:2054:3: RULE_QUOTED_ID - { - before(grammarAccess.getQualifiedNameAccess().getQUOTED_IDTerminalRuleCall_1()); - match(input,RULE_QUOTED_ID,FOLLOW_2); - after(grammarAccess.getQualifiedNameAccess().getQUOTED_IDTerminalRuleCall_1()); + state._fsp--; - } + pushFollow(FOLLOW_2); + rule__ExternDatatypeDefinition__Group__2(); + state._fsp--; - } - break; } + } catch (RecognitionException re) { reportError(re); @@ -6537,77 +11953,69 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__QualifiedName__Alternatives" + // $ANTLR end "rule__ExternDatatypeDefinition__Group__1" - // $ANTLR start "rule__MetricType__Alternatives" - // InternalSolverLanguageParser.g:2063:1: rule__MetricType__Alternatives : ( ( ( Int ) ) | ( ( Real ) ) ); - public final void rule__MetricType__Alternatives() throws RecognitionException { + // $ANTLR start "rule__ExternDatatypeDefinition__Group__1__Impl" + // InternalSolverLanguageParser.g:3795:1: rule__ExternDatatypeDefinition__Group__1__Impl : ( Datatype ) ; + public final void rule__ExternDatatypeDefinition__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:2067:1: ( ( ( Int ) ) | ( ( Real ) ) ) - int alt19=2; - int LA19_0 = input.LA(1); + // InternalSolverLanguageParser.g:3799:1: ( ( Datatype ) ) + // InternalSolverLanguageParser.g:3800:1: ( Datatype ) + { + // InternalSolverLanguageParser.g:3800:1: ( Datatype ) + // InternalSolverLanguageParser.g:3801:2: Datatype + { + before(grammarAccess.getExternDatatypeDefinitionAccess().getDatatypeKeyword_1()); + match(input,Datatype,FOLLOW_2); + after(grammarAccess.getExternDatatypeDefinitionAccess().getDatatypeKeyword_1()); - if ( (LA19_0==Int) ) { - alt19=1; - } - else if ( (LA19_0==Real) ) { - alt19=2; } - else { - NoViableAltException nvae = - new NoViableAltException("", 19, 0, input); - throw nvae; + } - switch (alt19) { - case 1 : - // InternalSolverLanguageParser.g:2068:2: ( ( Int ) ) - { - // InternalSolverLanguageParser.g:2068:2: ( ( Int ) ) - // InternalSolverLanguageParser.g:2069:3: ( Int ) - { - before(grammarAccess.getMetricTypeAccess().getINTEnumLiteralDeclaration_0()); - // InternalSolverLanguageParser.g:2070:3: ( Int ) - // InternalSolverLanguageParser.g:2070:4: Int - { - match(input,Int,FOLLOW_2); - } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { - after(grammarAccess.getMetricTypeAccess().getINTEnumLiteralDeclaration_0()); + restoreStackSize(stackSize); - } + } + return ; + } + // $ANTLR end "rule__ExternDatatypeDefinition__Group__1__Impl" - } - break; - case 2 : - // InternalSolverLanguageParser.g:2074:2: ( ( Real ) ) - { - // InternalSolverLanguageParser.g:2074:2: ( ( Real ) ) - // InternalSolverLanguageParser.g:2075:3: ( Real ) - { - before(grammarAccess.getMetricTypeAccess().getREALEnumLiteralDeclaration_1()); - // InternalSolverLanguageParser.g:2076:3: ( Real ) - // InternalSolverLanguageParser.g:2076:4: Real - { - match(input,Real,FOLLOW_2); + // $ANTLR start "rule__ExternDatatypeDefinition__Group__2" + // InternalSolverLanguageParser.g:3810:1: rule__ExternDatatypeDefinition__Group__2 : rule__ExternDatatypeDefinition__Group__2__Impl rule__ExternDatatypeDefinition__Group__3 ; + public final void rule__ExternDatatypeDefinition__Group__2() throws RecognitionException { - } + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:3814:1: ( rule__ExternDatatypeDefinition__Group__2__Impl rule__ExternDatatypeDefinition__Group__3 ) + // InternalSolverLanguageParser.g:3815:2: rule__ExternDatatypeDefinition__Group__2__Impl rule__ExternDatatypeDefinition__Group__3 + { + pushFollow(FOLLOW_18); + rule__ExternDatatypeDefinition__Group__2__Impl(); - after(grammarAccess.getMetricTypeAccess().getREALEnumLiteralDeclaration_1()); + state._fsp--; - } + pushFollow(FOLLOW_2); + rule__ExternDatatypeDefinition__Group__3(); + state._fsp--; - } - break; } + } catch (RecognitionException re) { reportError(re); @@ -6620,211 +12028,121 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__MetricType__Alternatives" + // $ANTLR end "rule__ExternDatatypeDefinition__Group__2" - // $ANTLR start "rule__ComparisonOperator__Alternatives" - // InternalSolverLanguageParser.g:2084:1: rule__ComparisonOperator__Alternatives : ( ( ( EqualsSignEqualsSign ) ) | ( ( ExclamationMarkEqualsSign ) ) | ( ( LessThanSign ) ) | ( ( LessThanSignEqualsSign ) ) | ( ( GreaterThanSign ) ) | ( ( GreaterThanSignEqualsSign ) ) | ( ( In ) ) ); - public final void rule__ComparisonOperator__Alternatives() throws RecognitionException { + // $ANTLR start "rule__ExternDatatypeDefinition__Group__2__Impl" + // InternalSolverLanguageParser.g:3822:1: rule__ExternDatatypeDefinition__Group__2__Impl : ( ( rule__ExternDatatypeDefinition__NameAssignment_2 ) ) ; + public final void rule__ExternDatatypeDefinition__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:2088:1: ( ( ( EqualsSignEqualsSign ) ) | ( ( ExclamationMarkEqualsSign ) ) | ( ( LessThanSign ) ) | ( ( LessThanSignEqualsSign ) ) | ( ( GreaterThanSign ) ) | ( ( GreaterThanSignEqualsSign ) ) | ( ( In ) ) ) - int alt20=7; - switch ( input.LA(1) ) { - case EqualsSignEqualsSign: - { - alt20=1; - } - break; - case ExclamationMarkEqualsSign: - { - alt20=2; - } - break; - case LessThanSign: - { - alt20=3; - } - break; - case LessThanSignEqualsSign: - { - alt20=4; - } - break; - case GreaterThanSign: - { - alt20=5; - } - break; - case GreaterThanSignEqualsSign: - { - alt20=6; - } - break; - case In: - { - alt20=7; - } - break; - default: - NoViableAltException nvae = - new NoViableAltException("", 20, 0, input); - - throw nvae; - } - - switch (alt20) { - case 1 : - // InternalSolverLanguageParser.g:2089:2: ( ( EqualsSignEqualsSign ) ) - { - // InternalSolverLanguageParser.g:2089:2: ( ( EqualsSignEqualsSign ) ) - // InternalSolverLanguageParser.g:2090:3: ( EqualsSignEqualsSign ) - { - before(grammarAccess.getComparisonOperatorAccess().getEQEnumLiteralDeclaration_0()); - // InternalSolverLanguageParser.g:2091:3: ( EqualsSignEqualsSign ) - // InternalSolverLanguageParser.g:2091:4: EqualsSignEqualsSign - { - match(input,EqualsSignEqualsSign,FOLLOW_2); - - } - - after(grammarAccess.getComparisonOperatorAccess().getEQEnumLiteralDeclaration_0()); - - } - - - } - break; - case 2 : - // InternalSolverLanguageParser.g:2095:2: ( ( ExclamationMarkEqualsSign ) ) - { - // InternalSolverLanguageParser.g:2095:2: ( ( ExclamationMarkEqualsSign ) ) - // InternalSolverLanguageParser.g:2096:3: ( ExclamationMarkEqualsSign ) - { - before(grammarAccess.getComparisonOperatorAccess().getNOT_EQEnumLiteralDeclaration_1()); - // InternalSolverLanguageParser.g:2097:3: ( ExclamationMarkEqualsSign ) - // InternalSolverLanguageParser.g:2097:4: ExclamationMarkEqualsSign - { - match(input,ExclamationMarkEqualsSign,FOLLOW_2); - - } - - after(grammarAccess.getComparisonOperatorAccess().getNOT_EQEnumLiteralDeclaration_1()); + // InternalSolverLanguageParser.g:3826:1: ( ( ( rule__ExternDatatypeDefinition__NameAssignment_2 ) ) ) + // InternalSolverLanguageParser.g:3827:1: ( ( rule__ExternDatatypeDefinition__NameAssignment_2 ) ) + { + // InternalSolverLanguageParser.g:3827:1: ( ( rule__ExternDatatypeDefinition__NameAssignment_2 ) ) + // InternalSolverLanguageParser.g:3828:2: ( rule__ExternDatatypeDefinition__NameAssignment_2 ) + { + before(grammarAccess.getExternDatatypeDefinitionAccess().getNameAssignment_2()); + // InternalSolverLanguageParser.g:3829:2: ( rule__ExternDatatypeDefinition__NameAssignment_2 ) + // InternalSolverLanguageParser.g:3829:3: rule__ExternDatatypeDefinition__NameAssignment_2 + { + pushFollow(FOLLOW_2); + rule__ExternDatatypeDefinition__NameAssignment_2(); - } + state._fsp--; - } - break; - case 3 : - // InternalSolverLanguageParser.g:2101:2: ( ( LessThanSign ) ) - { - // InternalSolverLanguageParser.g:2101:2: ( ( LessThanSign ) ) - // InternalSolverLanguageParser.g:2102:3: ( LessThanSign ) - { - before(grammarAccess.getComparisonOperatorAccess().getLESSEnumLiteralDeclaration_2()); - // InternalSolverLanguageParser.g:2103:3: ( LessThanSign ) - // InternalSolverLanguageParser.g:2103:4: LessThanSign - { - match(input,LessThanSign,FOLLOW_2); + } - } + after(grammarAccess.getExternDatatypeDefinitionAccess().getNameAssignment_2()); - after(grammarAccess.getComparisonOperatorAccess().getLESSEnumLiteralDeclaration_2()); + } - } + } - } - break; - case 4 : - // InternalSolverLanguageParser.g:2107:2: ( ( LessThanSignEqualsSign ) ) - { - // InternalSolverLanguageParser.g:2107:2: ( ( LessThanSignEqualsSign ) ) - // InternalSolverLanguageParser.g:2108:3: ( LessThanSignEqualsSign ) - { - before(grammarAccess.getComparisonOperatorAccess().getLESS_EQEnumLiteralDeclaration_3()); - // InternalSolverLanguageParser.g:2109:3: ( LessThanSignEqualsSign ) - // InternalSolverLanguageParser.g:2109:4: LessThanSignEqualsSign - { - match(input,LessThanSignEqualsSign,FOLLOW_2); + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { - } + restoreStackSize(stackSize); - after(grammarAccess.getComparisonOperatorAccess().getLESS_EQEnumLiteralDeclaration_3()); + } + return ; + } + // $ANTLR end "rule__ExternDatatypeDefinition__Group__2__Impl" - } + // $ANTLR start "rule__ExternDatatypeDefinition__Group__3" + // InternalSolverLanguageParser.g:3837:1: rule__ExternDatatypeDefinition__Group__3 : rule__ExternDatatypeDefinition__Group__3__Impl ; + public final void rule__ExternDatatypeDefinition__Group__3() throws RecognitionException { - } - break; - case 5 : - // InternalSolverLanguageParser.g:2113:2: ( ( GreaterThanSign ) ) - { - // InternalSolverLanguageParser.g:2113:2: ( ( GreaterThanSign ) ) - // InternalSolverLanguageParser.g:2114:3: ( GreaterThanSign ) - { - before(grammarAccess.getComparisonOperatorAccess().getGREATEREnumLiteralDeclaration_4()); - // InternalSolverLanguageParser.g:2115:3: ( GreaterThanSign ) - // InternalSolverLanguageParser.g:2115:4: GreaterThanSign - { - match(input,GreaterThanSign,FOLLOW_2); + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:3841:1: ( rule__ExternDatatypeDefinition__Group__3__Impl ) + // InternalSolverLanguageParser.g:3842:2: rule__ExternDatatypeDefinition__Group__3__Impl + { + pushFollow(FOLLOW_2); + rule__ExternDatatypeDefinition__Group__3__Impl(); - } + state._fsp--; - after(grammarAccess.getComparisonOperatorAccess().getGREATEREnumLiteralDeclaration_4()); - } + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { - } - break; - case 6 : - // InternalSolverLanguageParser.g:2119:2: ( ( GreaterThanSignEqualsSign ) ) - { - // InternalSolverLanguageParser.g:2119:2: ( ( GreaterThanSignEqualsSign ) ) - // InternalSolverLanguageParser.g:2120:3: ( GreaterThanSignEqualsSign ) - { - before(grammarAccess.getComparisonOperatorAccess().getGREATER_EQEnumLiteralDeclaration_5()); - // InternalSolverLanguageParser.g:2121:3: ( GreaterThanSignEqualsSign ) - // InternalSolverLanguageParser.g:2121:4: GreaterThanSignEqualsSign - { - match(input,GreaterThanSignEqualsSign,FOLLOW_2); + restoreStackSize(stackSize); - } + } + return ; + } + // $ANTLR end "rule__ExternDatatypeDefinition__Group__3" - after(grammarAccess.getComparisonOperatorAccess().getGREATER_EQEnumLiteralDeclaration_5()); - } + // $ANTLR start "rule__ExternDatatypeDefinition__Group__3__Impl" + // InternalSolverLanguageParser.g:3848:1: rule__ExternDatatypeDefinition__Group__3__Impl : ( ( rule__ExternDatatypeDefinition__Group_3__0 ) ) ; + public final void rule__ExternDatatypeDefinition__Group__3__Impl() throws RecognitionException { + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:3852:1: ( ( ( rule__ExternDatatypeDefinition__Group_3__0 ) ) ) + // InternalSolverLanguageParser.g:3853:1: ( ( rule__ExternDatatypeDefinition__Group_3__0 ) ) + { + // InternalSolverLanguageParser.g:3853:1: ( ( rule__ExternDatatypeDefinition__Group_3__0 ) ) + // InternalSolverLanguageParser.g:3854:2: ( rule__ExternDatatypeDefinition__Group_3__0 ) + { + before(grammarAccess.getExternDatatypeDefinitionAccess().getGroup_3()); + // InternalSolverLanguageParser.g:3855:2: ( rule__ExternDatatypeDefinition__Group_3__0 ) + // InternalSolverLanguageParser.g:3855:3: rule__ExternDatatypeDefinition__Group_3__0 + { + pushFollow(FOLLOW_2); + rule__ExternDatatypeDefinition__Group_3__0(); - } - break; - case 7 : - // InternalSolverLanguageParser.g:2125:2: ( ( In ) ) - { - // InternalSolverLanguageParser.g:2125:2: ( ( In ) ) - // InternalSolverLanguageParser.g:2126:3: ( In ) - { - before(grammarAccess.getComparisonOperatorAccess().getINEnumLiteralDeclaration_6()); - // InternalSolverLanguageParser.g:2127:3: ( In ) - // InternalSolverLanguageParser.g:2127:4: In - { - match(input,In,FOLLOW_2); + state._fsp--; - } - after(grammarAccess.getComparisonOperatorAccess().getINEnumLiteralDeclaration_6()); + } - } + after(grammarAccess.getExternDatatypeDefinitionAccess().getGroup_3()); + } - } - break; } + } catch (RecognitionException re) { reportError(re); @@ -6837,77 +12155,32 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ComparisonOperator__Alternatives" + // $ANTLR end "rule__ExternDatatypeDefinition__Group__3__Impl" - // $ANTLR start "rule__AdditiveBinaryOperator__Alternatives" - // InternalSolverLanguageParser.g:2135:1: rule__AdditiveBinaryOperator__Alternatives : ( ( ( PlusSign ) ) | ( ( HyphenMinus ) ) ); - public final void rule__AdditiveBinaryOperator__Alternatives() throws RecognitionException { + // $ANTLR start "rule__ExternDatatypeDefinition__Group_3__0" + // InternalSolverLanguageParser.g:3864:1: rule__ExternDatatypeDefinition__Group_3__0 : rule__ExternDatatypeDefinition__Group_3__0__Impl rule__ExternDatatypeDefinition__Group_3__1 ; + public final void rule__ExternDatatypeDefinition__Group_3__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:2139:1: ( ( ( PlusSign ) ) | ( ( HyphenMinus ) ) ) - int alt21=2; - int LA21_0 = input.LA(1); - - if ( (LA21_0==PlusSign) ) { - alt21=1; - } - else if ( (LA21_0==HyphenMinus) ) { - alt21=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 21, 0, input); - - throw nvae; - } - switch (alt21) { - case 1 : - // InternalSolverLanguageParser.g:2140:2: ( ( PlusSign ) ) - { - // InternalSolverLanguageParser.g:2140:2: ( ( PlusSign ) ) - // InternalSolverLanguageParser.g:2141:3: ( PlusSign ) - { - before(grammarAccess.getAdditiveBinaryOperatorAccess().getADDEnumLiteralDeclaration_0()); - // InternalSolverLanguageParser.g:2142:3: ( PlusSign ) - // InternalSolverLanguageParser.g:2142:4: PlusSign - { - match(input,PlusSign,FOLLOW_2); - - } - - after(grammarAccess.getAdditiveBinaryOperatorAccess().getADDEnumLiteralDeclaration_0()); - - } - - - } - break; - case 2 : - // InternalSolverLanguageParser.g:2146:2: ( ( HyphenMinus ) ) - { - // InternalSolverLanguageParser.g:2146:2: ( ( HyphenMinus ) ) - // InternalSolverLanguageParser.g:2147:3: ( HyphenMinus ) - { - before(grammarAccess.getAdditiveBinaryOperatorAccess().getSUBEnumLiteralDeclaration_1()); - // InternalSolverLanguageParser.g:2148:3: ( HyphenMinus ) - // InternalSolverLanguageParser.g:2148:4: HyphenMinus - { - match(input,HyphenMinus,FOLLOW_2); - - } + // InternalSolverLanguageParser.g:3868:1: ( rule__ExternDatatypeDefinition__Group_3__0__Impl rule__ExternDatatypeDefinition__Group_3__1 ) + // InternalSolverLanguageParser.g:3869:2: rule__ExternDatatypeDefinition__Group_3__0__Impl rule__ExternDatatypeDefinition__Group_3__1 + { + pushFollow(FOLLOW_9); + rule__ExternDatatypeDefinition__Group_3__0__Impl(); - after(grammarAccess.getAdditiveBinaryOperatorAccess().getSUBEnumLiteralDeclaration_1()); + state._fsp--; - } + pushFollow(FOLLOW_2); + rule__ExternDatatypeDefinition__Group_3__1(); + state._fsp--; - } - break; } + } catch (RecognitionException re) { reportError(re); @@ -6920,77 +12193,69 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__AdditiveBinaryOperator__Alternatives" + // $ANTLR end "rule__ExternDatatypeDefinition__Group_3__0" - // $ANTLR start "rule__MultiplicativeBinaryOperator__Alternatives" - // InternalSolverLanguageParser.g:2156:1: rule__MultiplicativeBinaryOperator__Alternatives : ( ( ( Asterisk ) ) | ( ( Solidus ) ) ); - public final void rule__MultiplicativeBinaryOperator__Alternatives() throws RecognitionException { + // $ANTLR start "rule__ExternDatatypeDefinition__Group_3__0__Impl" + // InternalSolverLanguageParser.g:3876:1: rule__ExternDatatypeDefinition__Group_3__0__Impl : ( Extends ) ; + public final void rule__ExternDatatypeDefinition__Group_3__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:2160:1: ( ( ( Asterisk ) ) | ( ( Solidus ) ) ) - int alt22=2; - int LA22_0 = input.LA(1); - - if ( (LA22_0==Asterisk) ) { - alt22=1; - } - else if ( (LA22_0==Solidus) ) { - alt22=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 22, 0, input); - - throw nvae; - } - switch (alt22) { - case 1 : - // InternalSolverLanguageParser.g:2161:2: ( ( Asterisk ) ) - { - // InternalSolverLanguageParser.g:2161:2: ( ( Asterisk ) ) - // InternalSolverLanguageParser.g:2162:3: ( Asterisk ) - { - before(grammarAccess.getMultiplicativeBinaryOperatorAccess().getMULEnumLiteralDeclaration_0()); - // InternalSolverLanguageParser.g:2163:3: ( Asterisk ) - // InternalSolverLanguageParser.g:2163:4: Asterisk - { - match(input,Asterisk,FOLLOW_2); + // InternalSolverLanguageParser.g:3880:1: ( ( Extends ) ) + // InternalSolverLanguageParser.g:3881:1: ( Extends ) + { + // InternalSolverLanguageParser.g:3881:1: ( Extends ) + // InternalSolverLanguageParser.g:3882:2: Extends + { + before(grammarAccess.getExternDatatypeDefinitionAccess().getExtendsKeyword_3_0()); + match(input,Extends,FOLLOW_2); + after(grammarAccess.getExternDatatypeDefinitionAccess().getExtendsKeyword_3_0()); - } + } - after(grammarAccess.getMultiplicativeBinaryOperatorAccess().getMULEnumLiteralDeclaration_0()); - } + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { - } - break; - case 2 : - // InternalSolverLanguageParser.g:2167:2: ( ( Solidus ) ) - { - // InternalSolverLanguageParser.g:2167:2: ( ( Solidus ) ) - // InternalSolverLanguageParser.g:2168:3: ( Solidus ) - { - before(grammarAccess.getMultiplicativeBinaryOperatorAccess().getDIVEnumLiteralDeclaration_1()); - // InternalSolverLanguageParser.g:2169:3: ( Solidus ) - // InternalSolverLanguageParser.g:2169:4: Solidus - { - match(input,Solidus,FOLLOW_2); + restoreStackSize(stackSize); - } + } + return ; + } + // $ANTLR end "rule__ExternDatatypeDefinition__Group_3__0__Impl" - after(grammarAccess.getMultiplicativeBinaryOperatorAccess().getDIVEnumLiteralDeclaration_1()); - } + // $ANTLR start "rule__ExternDatatypeDefinition__Group_3__1" + // InternalSolverLanguageParser.g:3891:1: rule__ExternDatatypeDefinition__Group_3__1 : rule__ExternDatatypeDefinition__Group_3__1__Impl rule__ExternDatatypeDefinition__Group_3__2 ; + public final void rule__ExternDatatypeDefinition__Group_3__1() throws RecognitionException { + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:3895:1: ( rule__ExternDatatypeDefinition__Group_3__1__Impl rule__ExternDatatypeDefinition__Group_3__2 ) + // InternalSolverLanguageParser.g:3896:2: rule__ExternDatatypeDefinition__Group_3__1__Impl rule__ExternDatatypeDefinition__Group_3__2 + { + pushFollow(FOLLOW_19); + rule__ExternDatatypeDefinition__Group_3__1__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__ExternDatatypeDefinition__Group_3__2(); + + state._fsp--; - } - break; } + } catch (RecognitionException re) { reportError(re); @@ -7003,185 +12268,139 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__MultiplicativeBinaryOperator__Alternatives" + // $ANTLR end "rule__ExternDatatypeDefinition__Group_3__1" - // $ANTLR start "rule__UnaryOp__Alternatives" - // InternalSolverLanguageParser.g:2177:1: rule__UnaryOp__Alternatives : ( ( ( ExclamationMark ) ) | ( ( PlusSign ) ) | ( ( HyphenMinus ) ) | ( ( May ) ) | ( ( Must ) ) | ( ( Current ) ) ); - public final void rule__UnaryOp__Alternatives() throws RecognitionException { + // $ANTLR start "rule__ExternDatatypeDefinition__Group_3__1__Impl" + // InternalSolverLanguageParser.g:3903:1: rule__ExternDatatypeDefinition__Group_3__1__Impl : ( ( rule__ExternDatatypeDefinition__SupertypesAssignment_3_1 ) ) ; + public final void rule__ExternDatatypeDefinition__Group_3__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:2181:1: ( ( ( ExclamationMark ) ) | ( ( PlusSign ) ) | ( ( HyphenMinus ) ) | ( ( May ) ) | ( ( Must ) ) | ( ( Current ) ) ) - int alt23=6; - switch ( input.LA(1) ) { - case ExclamationMark: - { - alt23=1; - } - break; - case PlusSign: - { - alt23=2; - } - break; - case HyphenMinus: - { - alt23=3; - } - break; - case May: - { - alt23=4; - } - break; - case Must: - { - alt23=5; - } - break; - case Current: - { - alt23=6; - } - break; - default: - NoViableAltException nvae = - new NoViableAltException("", 23, 0, input); + // InternalSolverLanguageParser.g:3907:1: ( ( ( rule__ExternDatatypeDefinition__SupertypesAssignment_3_1 ) ) ) + // InternalSolverLanguageParser.g:3908:1: ( ( rule__ExternDatatypeDefinition__SupertypesAssignment_3_1 ) ) + { + // InternalSolverLanguageParser.g:3908:1: ( ( rule__ExternDatatypeDefinition__SupertypesAssignment_3_1 ) ) + // InternalSolverLanguageParser.g:3909:2: ( rule__ExternDatatypeDefinition__SupertypesAssignment_3_1 ) + { + before(grammarAccess.getExternDatatypeDefinitionAccess().getSupertypesAssignment_3_1()); + // InternalSolverLanguageParser.g:3910:2: ( rule__ExternDatatypeDefinition__SupertypesAssignment_3_1 ) + // InternalSolverLanguageParser.g:3910:3: rule__ExternDatatypeDefinition__SupertypesAssignment_3_1 + { + pushFollow(FOLLOW_2); + rule__ExternDatatypeDefinition__SupertypesAssignment_3_1(); - throw nvae; - } + state._fsp--; - switch (alt23) { - case 1 : - // InternalSolverLanguageParser.g:2182:2: ( ( ExclamationMark ) ) - { - // InternalSolverLanguageParser.g:2182:2: ( ( ExclamationMark ) ) - // InternalSolverLanguageParser.g:2183:3: ( ExclamationMark ) - { - before(grammarAccess.getUnaryOpAccess().getNEGEnumLiteralDeclaration_0()); - // InternalSolverLanguageParser.g:2184:3: ( ExclamationMark ) - // InternalSolverLanguageParser.g:2184:4: ExclamationMark - { - match(input,ExclamationMark,FOLLOW_2); - } + } - after(grammarAccess.getUnaryOpAccess().getNEGEnumLiteralDeclaration_0()); + after(grammarAccess.getExternDatatypeDefinitionAccess().getSupertypesAssignment_3_1()); - } + } - } - break; - case 2 : - // InternalSolverLanguageParser.g:2188:2: ( ( PlusSign ) ) - { - // InternalSolverLanguageParser.g:2188:2: ( ( PlusSign ) ) - // InternalSolverLanguageParser.g:2189:3: ( PlusSign ) - { - before(grammarAccess.getUnaryOpAccess().getPLUSEnumLiteralDeclaration_1()); - // InternalSolverLanguageParser.g:2190:3: ( PlusSign ) - // InternalSolverLanguageParser.g:2190:4: PlusSign - { - match(input,PlusSign,FOLLOW_2); + } - } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { - after(grammarAccess.getUnaryOpAccess().getPLUSEnumLiteralDeclaration_1()); + restoreStackSize(stackSize); - } + } + return ; + } + // $ANTLR end "rule__ExternDatatypeDefinition__Group_3__1__Impl" - } - break; - case 3 : - // InternalSolverLanguageParser.g:2194:2: ( ( HyphenMinus ) ) - { - // InternalSolverLanguageParser.g:2194:2: ( ( HyphenMinus ) ) - // InternalSolverLanguageParser.g:2195:3: ( HyphenMinus ) - { - before(grammarAccess.getUnaryOpAccess().getMINUSEnumLiteralDeclaration_2()); - // InternalSolverLanguageParser.g:2196:3: ( HyphenMinus ) - // InternalSolverLanguageParser.g:2196:4: HyphenMinus - { - match(input,HyphenMinus,FOLLOW_2); + // $ANTLR start "rule__ExternDatatypeDefinition__Group_3__2" + // InternalSolverLanguageParser.g:3918:1: rule__ExternDatatypeDefinition__Group_3__2 : rule__ExternDatatypeDefinition__Group_3__2__Impl ; + public final void rule__ExternDatatypeDefinition__Group_3__2() throws RecognitionException { - } + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:3922:1: ( rule__ExternDatatypeDefinition__Group_3__2__Impl ) + // InternalSolverLanguageParser.g:3923:2: rule__ExternDatatypeDefinition__Group_3__2__Impl + { + pushFollow(FOLLOW_2); + rule__ExternDatatypeDefinition__Group_3__2__Impl(); - after(grammarAccess.getUnaryOpAccess().getMINUSEnumLiteralDeclaration_2()); + state._fsp--; - } + } - } - break; - case 4 : - // InternalSolverLanguageParser.g:2200:2: ( ( May ) ) - { - // InternalSolverLanguageParser.g:2200:2: ( ( May ) ) - // InternalSolverLanguageParser.g:2201:3: ( May ) - { - before(grammarAccess.getUnaryOpAccess().getMAYEnumLiteralDeclaration_3()); - // InternalSolverLanguageParser.g:2202:3: ( May ) - // InternalSolverLanguageParser.g:2202:4: May - { - match(input,May,FOLLOW_2); + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { - } + restoreStackSize(stackSize); - after(grammarAccess.getUnaryOpAccess().getMAYEnumLiteralDeclaration_3()); + } + return ; + } + // $ANTLR end "rule__ExternDatatypeDefinition__Group_3__2" - } + // $ANTLR start "rule__ExternDatatypeDefinition__Group_3__2__Impl" + // InternalSolverLanguageParser.g:3929:1: rule__ExternDatatypeDefinition__Group_3__2__Impl : ( ( rule__ExternDatatypeDefinition__Group_3_2__0 )* ) ; + public final void rule__ExternDatatypeDefinition__Group_3__2__Impl() throws RecognitionException { - } - break; - case 5 : - // InternalSolverLanguageParser.g:2206:2: ( ( Must ) ) - { - // InternalSolverLanguageParser.g:2206:2: ( ( Must ) ) - // InternalSolverLanguageParser.g:2207:3: ( Must ) - { - before(grammarAccess.getUnaryOpAccess().getMUSTEnumLiteralDeclaration_4()); - // InternalSolverLanguageParser.g:2208:3: ( Must ) - // InternalSolverLanguageParser.g:2208:4: Must - { - match(input,Must,FOLLOW_2); + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:3933:1: ( ( ( rule__ExternDatatypeDefinition__Group_3_2__0 )* ) ) + // InternalSolverLanguageParser.g:3934:1: ( ( rule__ExternDatatypeDefinition__Group_3_2__0 )* ) + { + // InternalSolverLanguageParser.g:3934:1: ( ( rule__ExternDatatypeDefinition__Group_3_2__0 )* ) + // InternalSolverLanguageParser.g:3935:2: ( rule__ExternDatatypeDefinition__Group_3_2__0 )* + { + before(grammarAccess.getExternDatatypeDefinitionAccess().getGroup_3_2()); + // InternalSolverLanguageParser.g:3936:2: ( rule__ExternDatatypeDefinition__Group_3_2__0 )* + loop29: + do { + int alt29=2; + int LA29_0 = input.LA(1); - } + if ( (LA29_0==Comma) ) { + alt29=1; + } - after(grammarAccess.getUnaryOpAccess().getMUSTEnumLiteralDeclaration_4()); - } + switch (alt29) { + case 1 : + // InternalSolverLanguageParser.g:3936:3: rule__ExternDatatypeDefinition__Group_3_2__0 + { + pushFollow(FOLLOW_20); + rule__ExternDatatypeDefinition__Group_3_2__0(); + state._fsp--; - } - break; - case 6 : - // InternalSolverLanguageParser.g:2212:2: ( ( Current ) ) - { - // InternalSolverLanguageParser.g:2212:2: ( ( Current ) ) - // InternalSolverLanguageParser.g:2213:3: ( Current ) - { - before(grammarAccess.getUnaryOpAccess().getCURRENTEnumLiteralDeclaration_5()); - // InternalSolverLanguageParser.g:2214:3: ( Current ) - // InternalSolverLanguageParser.g:2214:4: Current - { - match(input,Current,FOLLOW_2); - } + } + break; - after(grammarAccess.getUnaryOpAccess().getCURRENTEnumLiteralDeclaration_5()); + default : + break loop29; + } + } while (true); - } + after(grammarAccess.getExternDatatypeDefinitionAccess().getGroup_3_2()); + } - } - break; } + } catch (RecognitionException re) { reportError(re); @@ -7194,185 +12413,149 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__UnaryOp__Alternatives" + // $ANTLR end "rule__ExternDatatypeDefinition__Group_3__2__Impl" - // $ANTLR start "rule__AggregationOp__Alternatives" - // InternalSolverLanguageParser.g:2222:1: rule__AggregationOp__Alternatives : ( ( ( Only ) ) | ( ( Sum ) ) | ( ( Prod ) ) | ( ( Avg ) ) | ( ( Min ) ) | ( ( Max ) ) ); - public final void rule__AggregationOp__Alternatives() throws RecognitionException { + // $ANTLR start "rule__ExternDatatypeDefinition__Group_3_2__0" + // InternalSolverLanguageParser.g:3945:1: rule__ExternDatatypeDefinition__Group_3_2__0 : rule__ExternDatatypeDefinition__Group_3_2__0__Impl rule__ExternDatatypeDefinition__Group_3_2__1 ; + public final void rule__ExternDatatypeDefinition__Group_3_2__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:2226:1: ( ( ( Only ) ) | ( ( Sum ) ) | ( ( Prod ) ) | ( ( Avg ) ) | ( ( Min ) ) | ( ( Max ) ) ) - int alt24=6; - switch ( input.LA(1) ) { - case Only: - { - alt24=1; - } - break; - case Sum: - { - alt24=2; - } - break; - case Prod: - { - alt24=3; - } - break; - case Avg: - { - alt24=4; - } - break; - case Min: - { - alt24=5; - } - break; - case Max: - { - alt24=6; - } - break; - default: - NoViableAltException nvae = - new NoViableAltException("", 24, 0, input); + // InternalSolverLanguageParser.g:3949:1: ( rule__ExternDatatypeDefinition__Group_3_2__0__Impl rule__ExternDatatypeDefinition__Group_3_2__1 ) + // InternalSolverLanguageParser.g:3950:2: rule__ExternDatatypeDefinition__Group_3_2__0__Impl rule__ExternDatatypeDefinition__Group_3_2__1 + { + pushFollow(FOLLOW_9); + rule__ExternDatatypeDefinition__Group_3_2__0__Impl(); - throw nvae; - } + state._fsp--; - switch (alt24) { - case 1 : - // InternalSolverLanguageParser.g:2227:2: ( ( Only ) ) - { - // InternalSolverLanguageParser.g:2227:2: ( ( Only ) ) - // InternalSolverLanguageParser.g:2228:3: ( Only ) - { - before(grammarAccess.getAggregationOpAccess().getONLYEnumLiteralDeclaration_0()); - // InternalSolverLanguageParser.g:2229:3: ( Only ) - // InternalSolverLanguageParser.g:2229:4: Only - { - match(input,Only,FOLLOW_2); + pushFollow(FOLLOW_2); + rule__ExternDatatypeDefinition__Group_3_2__1(); - } + state._fsp--; - after(grammarAccess.getAggregationOpAccess().getONLYEnumLiteralDeclaration_0()); - } + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + restoreStackSize(stackSize); - } - break; - case 2 : - // InternalSolverLanguageParser.g:2233:2: ( ( Sum ) ) - { - // InternalSolverLanguageParser.g:2233:2: ( ( Sum ) ) - // InternalSolverLanguageParser.g:2234:3: ( Sum ) - { - before(grammarAccess.getAggregationOpAccess().getSUMEnumLiteralDeclaration_1()); - // InternalSolverLanguageParser.g:2235:3: ( Sum ) - // InternalSolverLanguageParser.g:2235:4: Sum - { - match(input,Sum,FOLLOW_2); + } + return ; + } + // $ANTLR end "rule__ExternDatatypeDefinition__Group_3_2__0" + + + // $ANTLR start "rule__ExternDatatypeDefinition__Group_3_2__0__Impl" + // InternalSolverLanguageParser.g:3957:1: rule__ExternDatatypeDefinition__Group_3_2__0__Impl : ( Comma ) ; + public final void rule__ExternDatatypeDefinition__Group_3_2__0__Impl() throws RecognitionException { - } + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:3961:1: ( ( Comma ) ) + // InternalSolverLanguageParser.g:3962:1: ( Comma ) + { + // InternalSolverLanguageParser.g:3962:1: ( Comma ) + // InternalSolverLanguageParser.g:3963:2: Comma + { + before(grammarAccess.getExternDatatypeDefinitionAccess().getCommaKeyword_3_2_0()); + match(input,Comma,FOLLOW_2); + after(grammarAccess.getExternDatatypeDefinitionAccess().getCommaKeyword_3_2_0()); - after(grammarAccess.getAggregationOpAccess().getSUMEnumLiteralDeclaration_1()); + } - } + } - } - break; - case 3 : - // InternalSolverLanguageParser.g:2239:2: ( ( Prod ) ) - { - // InternalSolverLanguageParser.g:2239:2: ( ( Prod ) ) - // InternalSolverLanguageParser.g:2240:3: ( Prod ) - { - before(grammarAccess.getAggregationOpAccess().getPRODEnumLiteralDeclaration_2()); - // InternalSolverLanguageParser.g:2241:3: ( Prod ) - // InternalSolverLanguageParser.g:2241:4: Prod - { - match(input,Prod,FOLLOW_2); + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { - } + restoreStackSize(stackSize); - after(grammarAccess.getAggregationOpAccess().getPRODEnumLiteralDeclaration_2()); + } + return ; + } + // $ANTLR end "rule__ExternDatatypeDefinition__Group_3_2__0__Impl" - } + // $ANTLR start "rule__ExternDatatypeDefinition__Group_3_2__1" + // InternalSolverLanguageParser.g:3972:1: rule__ExternDatatypeDefinition__Group_3_2__1 : rule__ExternDatatypeDefinition__Group_3_2__1__Impl ; + public final void rule__ExternDatatypeDefinition__Group_3_2__1() throws RecognitionException { - } - break; - case 4 : - // InternalSolverLanguageParser.g:2245:2: ( ( Avg ) ) - { - // InternalSolverLanguageParser.g:2245:2: ( ( Avg ) ) - // InternalSolverLanguageParser.g:2246:3: ( Avg ) - { - before(grammarAccess.getAggregationOpAccess().getAVGEnumLiteralDeclaration_3()); - // InternalSolverLanguageParser.g:2247:3: ( Avg ) - // InternalSolverLanguageParser.g:2247:4: Avg - { - match(input,Avg,FOLLOW_2); + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:3976:1: ( rule__ExternDatatypeDefinition__Group_3_2__1__Impl ) + // InternalSolverLanguageParser.g:3977:2: rule__ExternDatatypeDefinition__Group_3_2__1__Impl + { + pushFollow(FOLLOW_2); + rule__ExternDatatypeDefinition__Group_3_2__1__Impl(); - } + state._fsp--; - after(grammarAccess.getAggregationOpAccess().getAVGEnumLiteralDeclaration_3()); - } + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { - } - break; - case 5 : - // InternalSolverLanguageParser.g:2251:2: ( ( Min ) ) - { - // InternalSolverLanguageParser.g:2251:2: ( ( Min ) ) - // InternalSolverLanguageParser.g:2252:3: ( Min ) - { - before(grammarAccess.getAggregationOpAccess().getMINEnumLiteralDeclaration_4()); - // InternalSolverLanguageParser.g:2253:3: ( Min ) - // InternalSolverLanguageParser.g:2253:4: Min - { - match(input,Min,FOLLOW_2); + restoreStackSize(stackSize); - } + } + return ; + } + // $ANTLR end "rule__ExternDatatypeDefinition__Group_3_2__1" - after(grammarAccess.getAggregationOpAccess().getMINEnumLiteralDeclaration_4()); - } + // $ANTLR start "rule__ExternDatatypeDefinition__Group_3_2__1__Impl" + // InternalSolverLanguageParser.g:3983:1: rule__ExternDatatypeDefinition__Group_3_2__1__Impl : ( ( rule__ExternDatatypeDefinition__SupertypesAssignment_3_2_1 ) ) ; + public final void rule__ExternDatatypeDefinition__Group_3_2__1__Impl() throws RecognitionException { + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:3987:1: ( ( ( rule__ExternDatatypeDefinition__SupertypesAssignment_3_2_1 ) ) ) + // InternalSolverLanguageParser.g:3988:1: ( ( rule__ExternDatatypeDefinition__SupertypesAssignment_3_2_1 ) ) + { + // InternalSolverLanguageParser.g:3988:1: ( ( rule__ExternDatatypeDefinition__SupertypesAssignment_3_2_1 ) ) + // InternalSolverLanguageParser.g:3989:2: ( rule__ExternDatatypeDefinition__SupertypesAssignment_3_2_1 ) + { + before(grammarAccess.getExternDatatypeDefinitionAccess().getSupertypesAssignment_3_2_1()); + // InternalSolverLanguageParser.g:3990:2: ( rule__ExternDatatypeDefinition__SupertypesAssignment_3_2_1 ) + // InternalSolverLanguageParser.g:3990:3: rule__ExternDatatypeDefinition__SupertypesAssignment_3_2_1 + { + pushFollow(FOLLOW_2); + rule__ExternDatatypeDefinition__SupertypesAssignment_3_2_1(); - } - break; - case 6 : - // InternalSolverLanguageParser.g:2257:2: ( ( Max ) ) - { - // InternalSolverLanguageParser.g:2257:2: ( ( Max ) ) - // InternalSolverLanguageParser.g:2258:3: ( Max ) - { - before(grammarAccess.getAggregationOpAccess().getMAXEnumLiteralDeclaration_5()); - // InternalSolverLanguageParser.g:2259:3: ( Max ) - // InternalSolverLanguageParser.g:2259:4: Max - { - match(input,Max,FOLLOW_2); + state._fsp--; - } - after(grammarAccess.getAggregationOpAccess().getMAXEnumLiteralDeclaration_5()); + } - } + after(grammarAccess.getExternDatatypeDefinitionAccess().getSupertypesAssignment_3_2_1()); + } - } - break; } + } catch (RecognitionException re) { reportError(re); @@ -7385,133 +12568,97 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__AggregationOp__Alternatives" + // $ANTLR end "rule__ExternDatatypeDefinition__Group_3_2__1__Impl" - // $ANTLR start "rule__LogicValue__Alternatives" - // InternalSolverLanguageParser.g:2267:1: rule__LogicValue__Alternatives : ( ( ( True ) ) | ( ( False ) ) | ( ( Unknown ) ) | ( ( Error ) ) ); - public final void rule__LogicValue__Alternatives() throws RecognitionException { + // $ANTLR start "rule__Variable__Group__0" + // InternalSolverLanguageParser.g:3999:1: rule__Variable__Group__0 : rule__Variable__Group__0__Impl rule__Variable__Group__1 ; + public final void rule__Variable__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:2271:1: ( ( ( True ) ) | ( ( False ) ) | ( ( Unknown ) ) | ( ( Error ) ) ) - int alt25=4; - switch ( input.LA(1) ) { - case True: - { - alt25=1; - } - break; - case False: - { - alt25=2; - } - break; - case Unknown: - { - alt25=3; - } - break; - case Error: - { - alt25=4; - } - break; - default: - NoViableAltException nvae = - new NoViableAltException("", 25, 0, input); - - throw nvae; - } + // InternalSolverLanguageParser.g:4003:1: ( rule__Variable__Group__0__Impl rule__Variable__Group__1 ) + // InternalSolverLanguageParser.g:4004:2: rule__Variable__Group__0__Impl rule__Variable__Group__1 + { + pushFollow(FOLLOW_21); + rule__Variable__Group__0__Impl(); - switch (alt25) { - case 1 : - // InternalSolverLanguageParser.g:2272:2: ( ( True ) ) - { - // InternalSolverLanguageParser.g:2272:2: ( ( True ) ) - // InternalSolverLanguageParser.g:2273:3: ( True ) - { - before(grammarAccess.getLogicValueAccess().getTRUEEnumLiteralDeclaration_0()); - // InternalSolverLanguageParser.g:2274:3: ( True ) - // InternalSolverLanguageParser.g:2274:4: True - { - match(input,True,FOLLOW_2); + state._fsp--; - } + pushFollow(FOLLOW_2); + rule__Variable__Group__1(); - after(grammarAccess.getLogicValueAccess().getTRUEEnumLiteralDeclaration_0()); + state._fsp--; - } + } - } - break; - case 2 : - // InternalSolverLanguageParser.g:2278:2: ( ( False ) ) - { - // InternalSolverLanguageParser.g:2278:2: ( ( False ) ) - // InternalSolverLanguageParser.g:2279:3: ( False ) - { - before(grammarAccess.getLogicValueAccess().getFALSEEnumLiteralDeclaration_1()); - // InternalSolverLanguageParser.g:2280:3: ( False ) - // InternalSolverLanguageParser.g:2280:4: False - { - match(input,False,FOLLOW_2); + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { - } + restoreStackSize(stackSize); - after(grammarAccess.getLogicValueAccess().getFALSEEnumLiteralDeclaration_1()); + } + return ; + } + // $ANTLR end "rule__Variable__Group__0" - } + // $ANTLR start "rule__Variable__Group__0__Impl" + // InternalSolverLanguageParser.g:4011:1: rule__Variable__Group__0__Impl : ( ( rule__Variable__TypeAssignment_0 )? ) ; + public final void rule__Variable__Group__0__Impl() throws RecognitionException { - } - break; - case 3 : - // InternalSolverLanguageParser.g:2284:2: ( ( Unknown ) ) - { - // InternalSolverLanguageParser.g:2284:2: ( ( Unknown ) ) - // InternalSolverLanguageParser.g:2285:3: ( Unknown ) - { - before(grammarAccess.getLogicValueAccess().getUNKNOWNEnumLiteralDeclaration_2()); - // InternalSolverLanguageParser.g:2286:3: ( Unknown ) - // InternalSolverLanguageParser.g:2286:4: Unknown - { - match(input,Unknown,FOLLOW_2); + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:4015:1: ( ( ( rule__Variable__TypeAssignment_0 )? ) ) + // InternalSolverLanguageParser.g:4016:1: ( ( rule__Variable__TypeAssignment_0 )? ) + { + // InternalSolverLanguageParser.g:4016:1: ( ( rule__Variable__TypeAssignment_0 )? ) + // InternalSolverLanguageParser.g:4017:2: ( rule__Variable__TypeAssignment_0 )? + { + before(grammarAccess.getVariableAccess().getTypeAssignment_0()); + // InternalSolverLanguageParser.g:4018:2: ( rule__Variable__TypeAssignment_0 )? + int alt30=2; + int LA30_0 = input.LA(1); - } + if ( (LA30_0==RULE_ID) ) { + int LA30_1 = input.LA(2); - after(grammarAccess.getLogicValueAccess().getUNKNOWNEnumLiteralDeclaration_2()); + if ( (LA30_1==FullStop||LA30_1==RULE_ID) ) { + alt30=1; + } + } + else if ( (LA30_0==RULE_QUOTED_ID) ) { + alt30=1; + } + switch (alt30) { + case 1 : + // InternalSolverLanguageParser.g:4018:3: rule__Variable__TypeAssignment_0 + { + pushFollow(FOLLOW_2); + rule__Variable__TypeAssignment_0(); - } + state._fsp--; } break; - case 4 : - // InternalSolverLanguageParser.g:2290:2: ( ( Error ) ) - { - // InternalSolverLanguageParser.g:2290:2: ( ( Error ) ) - // InternalSolverLanguageParser.g:2291:3: ( Error ) - { - before(grammarAccess.getLogicValueAccess().getERROREnumLiteralDeclaration_3()); - // InternalSolverLanguageParser.g:2292:3: ( Error ) - // InternalSolverLanguageParser.g:2292:4: Error - { - match(input,Error,FOLLOW_2); - - } - after(grammarAccess.getLogicValueAccess().getERROREnumLiteralDeclaration_3()); + } - } + after(grammarAccess.getVariableAccess().getTypeAssignment_0()); + } - } - break; } + } catch (RecognitionException re) { reportError(re); @@ -7524,77 +12671,74 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__LogicValue__Alternatives" + // $ANTLR end "rule__Variable__Group__0__Impl" - // $ANTLR start "rule__ObjectiveKind__Alternatives" - // InternalSolverLanguageParser.g:2300:1: rule__ObjectiveKind__Alternatives : ( ( ( Minimize ) ) | ( ( Maximize ) ) ); - public final void rule__ObjectiveKind__Alternatives() throws RecognitionException { + // $ANTLR start "rule__Variable__Group__1" + // InternalSolverLanguageParser.g:4026:1: rule__Variable__Group__1 : rule__Variable__Group__1__Impl ; + public final void rule__Variable__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:2304:1: ( ( ( Minimize ) ) | ( ( Maximize ) ) ) - int alt26=2; - int LA26_0 = input.LA(1); + // InternalSolverLanguageParser.g:4030:1: ( rule__Variable__Group__1__Impl ) + // InternalSolverLanguageParser.g:4031:2: rule__Variable__Group__1__Impl + { + pushFollow(FOLLOW_2); + rule__Variable__Group__1__Impl(); + + state._fsp--; - if ( (LA26_0==Minimize) ) { - alt26=1; - } - else if ( (LA26_0==Maximize) ) { - alt26=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 26, 0, input); - throw nvae; } - switch (alt26) { - case 1 : - // InternalSolverLanguageParser.g:2305:2: ( ( Minimize ) ) - { - // InternalSolverLanguageParser.g:2305:2: ( ( Minimize ) ) - // InternalSolverLanguageParser.g:2306:3: ( Minimize ) - { - before(grammarAccess.getObjectiveKindAccess().getMINIMIZEEnumLiteralDeclaration_0()); - // InternalSolverLanguageParser.g:2307:3: ( Minimize ) - // InternalSolverLanguageParser.g:2307:4: Minimize - { - match(input,Minimize,FOLLOW_2); - } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { - after(grammarAccess.getObjectiveKindAccess().getMINIMIZEEnumLiteralDeclaration_0()); + restoreStackSize(stackSize); - } + } + return ; + } + // $ANTLR end "rule__Variable__Group__1" - } - break; - case 2 : - // InternalSolverLanguageParser.g:2311:2: ( ( Maximize ) ) - { - // InternalSolverLanguageParser.g:2311:2: ( ( Maximize ) ) - // InternalSolverLanguageParser.g:2312:3: ( Maximize ) - { - before(grammarAccess.getObjectiveKindAccess().getMAXIMIZEEnumLiteralDeclaration_1()); - // InternalSolverLanguageParser.g:2313:3: ( Maximize ) - // InternalSolverLanguageParser.g:2313:4: Maximize - { - match(input,Maximize,FOLLOW_2); + // $ANTLR start "rule__Variable__Group__1__Impl" + // InternalSolverLanguageParser.g:4037:1: rule__Variable__Group__1__Impl : ( ( rule__Variable__NameAssignment_1 ) ) ; + public final void rule__Variable__Group__1__Impl() throws RecognitionException { - } + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:4041:1: ( ( ( rule__Variable__NameAssignment_1 ) ) ) + // InternalSolverLanguageParser.g:4042:1: ( ( rule__Variable__NameAssignment_1 ) ) + { + // InternalSolverLanguageParser.g:4042:1: ( ( rule__Variable__NameAssignment_1 ) ) + // InternalSolverLanguageParser.g:4043:2: ( rule__Variable__NameAssignment_1 ) + { + before(grammarAccess.getVariableAccess().getNameAssignment_1()); + // InternalSolverLanguageParser.g:4044:2: ( rule__Variable__NameAssignment_1 ) + // InternalSolverLanguageParser.g:4044:3: rule__Variable__NameAssignment_1 + { + pushFollow(FOLLOW_2); + rule__Variable__NameAssignment_1(); - after(grammarAccess.getObjectiveKindAccess().getMAXIMIZEEnumLiteralDeclaration_1()); + state._fsp--; - } + } + + after(grammarAccess.getVariableAccess().getNameAssignment_1()); + + } - } - break; } + } catch (RecognitionException re) { reportError(re); @@ -7607,26 +12751,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ObjectiveKind__Alternatives" + // $ANTLR end "rule__Variable__Group__1__Impl" - // $ANTLR start "rule__Statement__Group__0" - // InternalSolverLanguageParser.g:2321:1: rule__Statement__Group__0 : rule__Statement__Group__0__Impl rule__Statement__Group__1 ; - public final void rule__Statement__Group__0() throws RecognitionException { + // $ANTLR start "rule__IfElse__Group__0" + // InternalSolverLanguageParser.g:4053:1: rule__IfElse__Group__0 : rule__IfElse__Group__0__Impl rule__IfElse__Group__1 ; + public final void rule__IfElse__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:2325:1: ( rule__Statement__Group__0__Impl rule__Statement__Group__1 ) - // InternalSolverLanguageParser.g:2326:2: rule__Statement__Group__0__Impl rule__Statement__Group__1 + // InternalSolverLanguageParser.g:4057:1: ( rule__IfElse__Group__0__Impl rule__IfElse__Group__1 ) + // InternalSolverLanguageParser.g:4058:2: rule__IfElse__Group__0__Impl rule__IfElse__Group__1 { - pushFollow(FOLLOW_4); - rule__Statement__Group__0__Impl(); + pushFollow(FOLLOW_7); + rule__IfElse__Group__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__Statement__Group__1(); + rule__IfElse__Group__1(); state._fsp--; @@ -7645,35 +12789,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Statement__Group__0" + // $ANTLR end "rule__IfElse__Group__0" - // $ANTLR start "rule__Statement__Group__0__Impl" - // InternalSolverLanguageParser.g:2333:1: rule__Statement__Group__0__Impl : ( ( rule__Statement__Alternatives_0 ) ) ; - public final void rule__Statement__Group__0__Impl() throws RecognitionException { + // $ANTLR start "rule__IfElse__Group__0__Impl" + // InternalSolverLanguageParser.g:4065:1: rule__IfElse__Group__0__Impl : ( If ) ; + public final void rule__IfElse__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:2337:1: ( ( ( rule__Statement__Alternatives_0 ) ) ) - // InternalSolverLanguageParser.g:2338:1: ( ( rule__Statement__Alternatives_0 ) ) + // InternalSolverLanguageParser.g:4069:1: ( ( If ) ) + // InternalSolverLanguageParser.g:4070:1: ( If ) { - // InternalSolverLanguageParser.g:2338:1: ( ( rule__Statement__Alternatives_0 ) ) - // InternalSolverLanguageParser.g:2339:2: ( rule__Statement__Alternatives_0 ) - { - before(grammarAccess.getStatementAccess().getAlternatives_0()); - // InternalSolverLanguageParser.g:2340:2: ( rule__Statement__Alternatives_0 ) - // InternalSolverLanguageParser.g:2340:3: rule__Statement__Alternatives_0 + // InternalSolverLanguageParser.g:4070:1: ( If ) + // InternalSolverLanguageParser.g:4071:2: If { - pushFollow(FOLLOW_2); - rule__Statement__Alternatives_0(); - - state._fsp--; - - - } - - after(grammarAccess.getStatementAccess().getAlternatives_0()); + before(grammarAccess.getIfElseAccess().getIfKeyword_0()); + match(input,If,FOLLOW_2); + after(grammarAccess.getIfElseAccess().getIfKeyword_0()); } @@ -7692,21 +12826,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Statement__Group__0__Impl" + // $ANTLR end "rule__IfElse__Group__0__Impl" - // $ANTLR start "rule__Statement__Group__1" - // InternalSolverLanguageParser.g:2348:1: rule__Statement__Group__1 : rule__Statement__Group__1__Impl ; - public final void rule__Statement__Group__1() throws RecognitionException { + // $ANTLR start "rule__IfElse__Group__1" + // InternalSolverLanguageParser.g:4080:1: rule__IfElse__Group__1 : rule__IfElse__Group__1__Impl rule__IfElse__Group__2 ; + public final void rule__IfElse__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:2352:1: ( rule__Statement__Group__1__Impl ) - // InternalSolverLanguageParser.g:2353:2: rule__Statement__Group__1__Impl + // InternalSolverLanguageParser.g:4084:1: ( rule__IfElse__Group__1__Impl rule__IfElse__Group__2 ) + // InternalSolverLanguageParser.g:4085:2: rule__IfElse__Group__1__Impl rule__IfElse__Group__2 { + pushFollow(FOLLOW_22); + rule__IfElse__Group__1__Impl(); + + state._fsp--; + pushFollow(FOLLOW_2); - rule__Statement__Group__1__Impl(); + rule__IfElse__Group__2(); state._fsp--; @@ -7725,25 +12864,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Statement__Group__1" + // $ANTLR end "rule__IfElse__Group__1" - // $ANTLR start "rule__Statement__Group__1__Impl" - // InternalSolverLanguageParser.g:2359:1: rule__Statement__Group__1__Impl : ( RULE_FULL_STOP ) ; - public final void rule__Statement__Group__1__Impl() throws RecognitionException { + // $ANTLR start "rule__IfElse__Group__1__Impl" + // InternalSolverLanguageParser.g:4092:1: rule__IfElse__Group__1__Impl : ( ( rule__IfElse__ConditionAssignment_1 ) ) ; + public final void rule__IfElse__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:2363:1: ( ( RULE_FULL_STOP ) ) - // InternalSolverLanguageParser.g:2364:1: ( RULE_FULL_STOP ) + // InternalSolverLanguageParser.g:4096:1: ( ( ( rule__IfElse__ConditionAssignment_1 ) ) ) + // InternalSolverLanguageParser.g:4097:1: ( ( rule__IfElse__ConditionAssignment_1 ) ) { - // InternalSolverLanguageParser.g:2364:1: ( RULE_FULL_STOP ) - // InternalSolverLanguageParser.g:2365:2: RULE_FULL_STOP + // InternalSolverLanguageParser.g:4097:1: ( ( rule__IfElse__ConditionAssignment_1 ) ) + // InternalSolverLanguageParser.g:4098:2: ( rule__IfElse__ConditionAssignment_1 ) { - before(grammarAccess.getStatementAccess().getFULL_STOPTerminalRuleCall_1()); - match(input,RULE_FULL_STOP,FOLLOW_2); - after(grammarAccess.getStatementAccess().getFULL_STOPTerminalRuleCall_1()); + before(grammarAccess.getIfElseAccess().getConditionAssignment_1()); + // InternalSolverLanguageParser.g:4099:2: ( rule__IfElse__ConditionAssignment_1 ) + // InternalSolverLanguageParser.g:4099:3: rule__IfElse__ConditionAssignment_1 + { + pushFollow(FOLLOW_2); + rule__IfElse__ConditionAssignment_1(); + + state._fsp--; + + + } + + after(grammarAccess.getIfElseAccess().getConditionAssignment_1()); } @@ -7762,26 +12911,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Statement__Group__1__Impl" + // $ANTLR end "rule__IfElse__Group__1__Impl" - // $ANTLR start "rule__AssertionOrDefinition__Group__0" - // InternalSolverLanguageParser.g:2375:1: rule__AssertionOrDefinition__Group__0 : rule__AssertionOrDefinition__Group__0__Impl rule__AssertionOrDefinition__Group__1 ; - public final void rule__AssertionOrDefinition__Group__0() throws RecognitionException { + // $ANTLR start "rule__IfElse__Group__2" + // InternalSolverLanguageParser.g:4107:1: rule__IfElse__Group__2 : rule__IfElse__Group__2__Impl rule__IfElse__Group__3 ; + public final void rule__IfElse__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:2379:1: ( rule__AssertionOrDefinition__Group__0__Impl rule__AssertionOrDefinition__Group__1 ) - // InternalSolverLanguageParser.g:2380:2: rule__AssertionOrDefinition__Group__0__Impl rule__AssertionOrDefinition__Group__1 + // InternalSolverLanguageParser.g:4111:1: ( rule__IfElse__Group__2__Impl rule__IfElse__Group__3 ) + // InternalSolverLanguageParser.g:4112:2: rule__IfElse__Group__2__Impl rule__IfElse__Group__3 { - pushFollow(FOLLOW_5); - rule__AssertionOrDefinition__Group__0__Impl(); + pushFollow(FOLLOW_7); + rule__IfElse__Group__2__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__AssertionOrDefinition__Group__1(); + rule__IfElse__Group__3(); state._fsp--; @@ -7800,29 +12949,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__AssertionOrDefinition__Group__0" + // $ANTLR end "rule__IfElse__Group__2" - // $ANTLR start "rule__AssertionOrDefinition__Group__0__Impl" - // InternalSolverLanguageParser.g:2387:1: rule__AssertionOrDefinition__Group__0__Impl : ( ruleExpression ) ; - public final void rule__AssertionOrDefinition__Group__0__Impl() throws RecognitionException { + // $ANTLR start "rule__IfElse__Group__2__Impl" + // InternalSolverLanguageParser.g:4119:1: rule__IfElse__Group__2__Impl : ( Then ) ; + public final void rule__IfElse__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:2391:1: ( ( ruleExpression ) ) - // InternalSolverLanguageParser.g:2392:1: ( ruleExpression ) + // InternalSolverLanguageParser.g:4123:1: ( ( Then ) ) + // InternalSolverLanguageParser.g:4124:1: ( Then ) { - // InternalSolverLanguageParser.g:2392:1: ( ruleExpression ) - // InternalSolverLanguageParser.g:2393:2: ruleExpression + // InternalSolverLanguageParser.g:4124:1: ( Then ) + // InternalSolverLanguageParser.g:4125:2: Then { - before(grammarAccess.getAssertionOrDefinitionAccess().getExpressionParserRuleCall_0()); - pushFollow(FOLLOW_2); - ruleExpression(); - - state._fsp--; - - after(grammarAccess.getAssertionOrDefinitionAccess().getExpressionParserRuleCall_0()); + before(grammarAccess.getIfElseAccess().getThenKeyword_2()); + match(input,Then,FOLLOW_2); + after(grammarAccess.getIfElseAccess().getThenKeyword_2()); } @@ -7841,21 +12986,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__AssertionOrDefinition__Group__0__Impl" + // $ANTLR end "rule__IfElse__Group__2__Impl" - // $ANTLR start "rule__AssertionOrDefinition__Group__1" - // InternalSolverLanguageParser.g:2402:1: rule__AssertionOrDefinition__Group__1 : rule__AssertionOrDefinition__Group__1__Impl ; - public final void rule__AssertionOrDefinition__Group__1() throws RecognitionException { + // $ANTLR start "rule__IfElse__Group__3" + // InternalSolverLanguageParser.g:4134:1: rule__IfElse__Group__3 : rule__IfElse__Group__3__Impl rule__IfElse__Group__4 ; + public final void rule__IfElse__Group__3() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:2406:1: ( rule__AssertionOrDefinition__Group__1__Impl ) - // InternalSolverLanguageParser.g:2407:2: rule__AssertionOrDefinition__Group__1__Impl + // InternalSolverLanguageParser.g:4138:1: ( rule__IfElse__Group__3__Impl rule__IfElse__Group__4 ) + // InternalSolverLanguageParser.g:4139:2: rule__IfElse__Group__3__Impl rule__IfElse__Group__4 { + pushFollow(FOLLOW_23); + rule__IfElse__Group__3__Impl(); + + state._fsp--; + pushFollow(FOLLOW_2); - rule__AssertionOrDefinition__Group__1__Impl(); + rule__IfElse__Group__4(); state._fsp--; @@ -7874,35 +13024,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__AssertionOrDefinition__Group__1" + // $ANTLR end "rule__IfElse__Group__3" - // $ANTLR start "rule__AssertionOrDefinition__Group__1__Impl" - // InternalSolverLanguageParser.g:2413:1: rule__AssertionOrDefinition__Group__1__Impl : ( ( rule__AssertionOrDefinition__Alternatives_1 ) ) ; - public final void rule__AssertionOrDefinition__Group__1__Impl() throws RecognitionException { + // $ANTLR start "rule__IfElse__Group__3__Impl" + // InternalSolverLanguageParser.g:4146:1: rule__IfElse__Group__3__Impl : ( ( rule__IfElse__ThenAssignment_3 ) ) ; + public final void rule__IfElse__Group__3__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:2417:1: ( ( ( rule__AssertionOrDefinition__Alternatives_1 ) ) ) - // InternalSolverLanguageParser.g:2418:1: ( ( rule__AssertionOrDefinition__Alternatives_1 ) ) + // InternalSolverLanguageParser.g:4150:1: ( ( ( rule__IfElse__ThenAssignment_3 ) ) ) + // InternalSolverLanguageParser.g:4151:1: ( ( rule__IfElse__ThenAssignment_3 ) ) { - // InternalSolverLanguageParser.g:2418:1: ( ( rule__AssertionOrDefinition__Alternatives_1 ) ) - // InternalSolverLanguageParser.g:2419:2: ( rule__AssertionOrDefinition__Alternatives_1 ) + // InternalSolverLanguageParser.g:4151:1: ( ( rule__IfElse__ThenAssignment_3 ) ) + // InternalSolverLanguageParser.g:4152:2: ( rule__IfElse__ThenAssignment_3 ) { - before(grammarAccess.getAssertionOrDefinitionAccess().getAlternatives_1()); - // InternalSolverLanguageParser.g:2420:2: ( rule__AssertionOrDefinition__Alternatives_1 ) - // InternalSolverLanguageParser.g:2420:3: rule__AssertionOrDefinition__Alternatives_1 + before(grammarAccess.getIfElseAccess().getThenAssignment_3()); + // InternalSolverLanguageParser.g:4153:2: ( rule__IfElse__ThenAssignment_3 ) + // InternalSolverLanguageParser.g:4153:3: rule__IfElse__ThenAssignment_3 { pushFollow(FOLLOW_2); - rule__AssertionOrDefinition__Alternatives_1(); + rule__IfElse__ThenAssignment_3(); state._fsp--; } - after(grammarAccess.getAssertionOrDefinitionAccess().getAlternatives_1()); + after(grammarAccess.getIfElseAccess().getThenAssignment_3()); } @@ -7921,26 +13071,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__AssertionOrDefinition__Group__1__Impl" + // $ANTLR end "rule__IfElse__Group__3__Impl" - // $ANTLR start "rule__AssertionOrDefinition__Group_1_0__0" - // InternalSolverLanguageParser.g:2429:1: rule__AssertionOrDefinition__Group_1_0__0 : rule__AssertionOrDefinition__Group_1_0__0__Impl rule__AssertionOrDefinition__Group_1_0__1 ; - public final void rule__AssertionOrDefinition__Group_1_0__0() throws RecognitionException { + // $ANTLR start "rule__IfElse__Group__4" + // InternalSolverLanguageParser.g:4161:1: rule__IfElse__Group__4 : rule__IfElse__Group__4__Impl rule__IfElse__Group__5 ; + public final void rule__IfElse__Group__4() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:2433:1: ( rule__AssertionOrDefinition__Group_1_0__0__Impl rule__AssertionOrDefinition__Group_1_0__1 ) - // InternalSolverLanguageParser.g:2434:2: rule__AssertionOrDefinition__Group_1_0__0__Impl rule__AssertionOrDefinition__Group_1_0__1 + // InternalSolverLanguageParser.g:4165:1: ( rule__IfElse__Group__4__Impl rule__IfElse__Group__5 ) + // InternalSolverLanguageParser.g:4166:2: rule__IfElse__Group__4__Impl rule__IfElse__Group__5 { - pushFollow(FOLLOW_6); - rule__AssertionOrDefinition__Group_1_0__0__Impl(); + pushFollow(FOLLOW_7); + rule__IfElse__Group__4__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__AssertionOrDefinition__Group_1_0__1(); + rule__IfElse__Group__5(); state._fsp--; @@ -7959,29 +13109,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__AssertionOrDefinition__Group_1_0__0" + // $ANTLR end "rule__IfElse__Group__4" - // $ANTLR start "rule__AssertionOrDefinition__Group_1_0__0__Impl" - // InternalSolverLanguageParser.g:2441:1: rule__AssertionOrDefinition__Group_1_0__0__Impl : ( () ) ; - public final void rule__AssertionOrDefinition__Group_1_0__0__Impl() throws RecognitionException { + // $ANTLR start "rule__IfElse__Group__4__Impl" + // InternalSolverLanguageParser.g:4173:1: rule__IfElse__Group__4__Impl : ( Else ) ; + public final void rule__IfElse__Group__4__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:2445:1: ( ( () ) ) - // InternalSolverLanguageParser.g:2446:1: ( () ) - { - // InternalSolverLanguageParser.g:2446:1: ( () ) - // InternalSolverLanguageParser.g:2447:2: () + // InternalSolverLanguageParser.g:4177:1: ( ( Else ) ) + // InternalSolverLanguageParser.g:4178:1: ( Else ) { - before(grammarAccess.getAssertionOrDefinitionAccess().getAssertionBodyAction_1_0_0()); - // InternalSolverLanguageParser.g:2448:2: () - // InternalSolverLanguageParser.g:2448:3: + // InternalSolverLanguageParser.g:4178:1: ( Else ) + // InternalSolverLanguageParser.g:4179:2: Else { - } - - after(grammarAccess.getAssertionOrDefinitionAccess().getAssertionBodyAction_1_0_0()); + before(grammarAccess.getIfElseAccess().getElseKeyword_4()); + match(input,Else,FOLLOW_2); + after(grammarAccess.getIfElseAccess().getElseKeyword_4()); } @@ -7989,6 +13135,10 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } finally { restoreStackSize(stackSize); @@ -7996,21 +13146,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__AssertionOrDefinition__Group_1_0__0__Impl" + // $ANTLR end "rule__IfElse__Group__4__Impl" - // $ANTLR start "rule__AssertionOrDefinition__Group_1_0__1" - // InternalSolverLanguageParser.g:2456:1: rule__AssertionOrDefinition__Group_1_0__1 : rule__AssertionOrDefinition__Group_1_0__1__Impl ; - public final void rule__AssertionOrDefinition__Group_1_0__1() throws RecognitionException { + // $ANTLR start "rule__IfElse__Group__5" + // InternalSolverLanguageParser.g:4188:1: rule__IfElse__Group__5 : rule__IfElse__Group__5__Impl ; + public final void rule__IfElse__Group__5() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:2460:1: ( rule__AssertionOrDefinition__Group_1_0__1__Impl ) - // InternalSolverLanguageParser.g:2461:2: rule__AssertionOrDefinition__Group_1_0__1__Impl + // InternalSolverLanguageParser.g:4192:1: ( rule__IfElse__Group__5__Impl ) + // InternalSolverLanguageParser.g:4193:2: rule__IfElse__Group__5__Impl { pushFollow(FOLLOW_2); - rule__AssertionOrDefinition__Group_1_0__1__Impl(); + rule__IfElse__Group__5__Impl(); state._fsp--; @@ -8029,46 +13179,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__AssertionOrDefinition__Group_1_0__1" + // $ANTLR end "rule__IfElse__Group__5" - // $ANTLR start "rule__AssertionOrDefinition__Group_1_0__1__Impl" - // InternalSolverLanguageParser.g:2467:1: rule__AssertionOrDefinition__Group_1_0__1__Impl : ( ( rule__AssertionOrDefinition__Group_1_0_1__0 )? ) ; - public final void rule__AssertionOrDefinition__Group_1_0__1__Impl() throws RecognitionException { + // $ANTLR start "rule__IfElse__Group__5__Impl" + // InternalSolverLanguageParser.g:4199:1: rule__IfElse__Group__5__Impl : ( ( rule__IfElse__ElseAssignment_5 ) ) ; + public final void rule__IfElse__Group__5__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:2471:1: ( ( ( rule__AssertionOrDefinition__Group_1_0_1__0 )? ) ) - // InternalSolverLanguageParser.g:2472:1: ( ( rule__AssertionOrDefinition__Group_1_0_1__0 )? ) + // InternalSolverLanguageParser.g:4203:1: ( ( ( rule__IfElse__ElseAssignment_5 ) ) ) + // InternalSolverLanguageParser.g:4204:1: ( ( rule__IfElse__ElseAssignment_5 ) ) { - // InternalSolverLanguageParser.g:2472:1: ( ( rule__AssertionOrDefinition__Group_1_0_1__0 )? ) - // InternalSolverLanguageParser.g:2473:2: ( rule__AssertionOrDefinition__Group_1_0_1__0 )? + // InternalSolverLanguageParser.g:4204:1: ( ( rule__IfElse__ElseAssignment_5 ) ) + // InternalSolverLanguageParser.g:4205:2: ( rule__IfElse__ElseAssignment_5 ) { - before(grammarAccess.getAssertionOrDefinitionAccess().getGroup_1_0_1()); - // InternalSolverLanguageParser.g:2474:2: ( rule__AssertionOrDefinition__Group_1_0_1__0 )? - int alt27=2; - int LA27_0 = input.LA(1); - - if ( (LA27_0==Colon) ) { - alt27=1; - } - switch (alt27) { - case 1 : - // InternalSolverLanguageParser.g:2474:3: rule__AssertionOrDefinition__Group_1_0_1__0 - { - pushFollow(FOLLOW_2); - rule__AssertionOrDefinition__Group_1_0_1__0(); - - state._fsp--; + before(grammarAccess.getIfElseAccess().getElseAssignment_5()); + // InternalSolverLanguageParser.g:4206:2: ( rule__IfElse__ElseAssignment_5 ) + // InternalSolverLanguageParser.g:4206:3: rule__IfElse__ElseAssignment_5 + { + pushFollow(FOLLOW_2); + rule__IfElse__ElseAssignment_5(); + state._fsp--; - } - break; } - after(grammarAccess.getAssertionOrDefinitionAccess().getGroup_1_0_1()); + after(grammarAccess.getIfElseAccess().getElseAssignment_5()); } @@ -8087,26 +13226,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__AssertionOrDefinition__Group_1_0__1__Impl" + // $ANTLR end "rule__IfElse__Group__5__Impl" - // $ANTLR start "rule__AssertionOrDefinition__Group_1_0_1__0" - // InternalSolverLanguageParser.g:2483:1: rule__AssertionOrDefinition__Group_1_0_1__0 : rule__AssertionOrDefinition__Group_1_0_1__0__Impl rule__AssertionOrDefinition__Group_1_0_1__1 ; - public final void rule__AssertionOrDefinition__Group_1_0_1__0() throws RecognitionException { + // $ANTLR start "rule__Let__Group__0" + // InternalSolverLanguageParser.g:4215:1: rule__Let__Group__0 : rule__Let__Group__0__Impl rule__Let__Group__1 ; + public final void rule__Let__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:2487:1: ( rule__AssertionOrDefinition__Group_1_0_1__0__Impl rule__AssertionOrDefinition__Group_1_0_1__1 ) - // InternalSolverLanguageParser.g:2488:2: rule__AssertionOrDefinition__Group_1_0_1__0__Impl rule__AssertionOrDefinition__Group_1_0_1__1 + // InternalSolverLanguageParser.g:4219:1: ( rule__Let__Group__0__Impl rule__Let__Group__1 ) + // InternalSolverLanguageParser.g:4220:2: rule__Let__Group__0__Impl rule__Let__Group__1 { - pushFollow(FOLLOW_7); - rule__AssertionOrDefinition__Group_1_0_1__0__Impl(); + pushFollow(FOLLOW_9); + rule__Let__Group__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__AssertionOrDefinition__Group_1_0_1__1(); + rule__Let__Group__1(); state._fsp--; @@ -8125,25 +13264,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__AssertionOrDefinition__Group_1_0_1__0" + // $ANTLR end "rule__Let__Group__0" - // $ANTLR start "rule__AssertionOrDefinition__Group_1_0_1__0__Impl" - // InternalSolverLanguageParser.g:2495:1: rule__AssertionOrDefinition__Group_1_0_1__0__Impl : ( Colon ) ; - public final void rule__AssertionOrDefinition__Group_1_0_1__0__Impl() throws RecognitionException { + // $ANTLR start "rule__Let__Group__0__Impl" + // InternalSolverLanguageParser.g:4227:1: rule__Let__Group__0__Impl : ( Let ) ; + public final void rule__Let__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:2499:1: ( ( Colon ) ) - // InternalSolverLanguageParser.g:2500:1: ( Colon ) + // InternalSolverLanguageParser.g:4231:1: ( ( Let ) ) + // InternalSolverLanguageParser.g:4232:1: ( Let ) { - // InternalSolverLanguageParser.g:2500:1: ( Colon ) - // InternalSolverLanguageParser.g:2501:2: Colon + // InternalSolverLanguageParser.g:4232:1: ( Let ) + // InternalSolverLanguageParser.g:4233:2: Let { - before(grammarAccess.getAssertionOrDefinitionAccess().getColonKeyword_1_0_1_0()); - match(input,Colon,FOLLOW_2); - after(grammarAccess.getAssertionOrDefinitionAccess().getColonKeyword_1_0_1_0()); + before(grammarAccess.getLetAccess().getLetKeyword_0()); + match(input,Let,FOLLOW_2); + after(grammarAccess.getLetAccess().getLetKeyword_0()); } @@ -8162,21 +13301,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__AssertionOrDefinition__Group_1_0_1__0__Impl" + // $ANTLR end "rule__Let__Group__0__Impl" - // $ANTLR start "rule__AssertionOrDefinition__Group_1_0_1__1" - // InternalSolverLanguageParser.g:2510:1: rule__AssertionOrDefinition__Group_1_0_1__1 : rule__AssertionOrDefinition__Group_1_0_1__1__Impl ; - public final void rule__AssertionOrDefinition__Group_1_0_1__1() throws RecognitionException { + // $ANTLR start "rule__Let__Group__1" + // InternalSolverLanguageParser.g:4242:1: rule__Let__Group__1 : rule__Let__Group__1__Impl rule__Let__Group__2 ; + public final void rule__Let__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:2514:1: ( rule__AssertionOrDefinition__Group_1_0_1__1__Impl ) - // InternalSolverLanguageParser.g:2515:2: rule__AssertionOrDefinition__Group_1_0_1__1__Impl + // InternalSolverLanguageParser.g:4246:1: ( rule__Let__Group__1__Impl rule__Let__Group__2 ) + // InternalSolverLanguageParser.g:4247:2: rule__Let__Group__1__Impl rule__Let__Group__2 { + pushFollow(FOLLOW_24); + rule__Let__Group__1__Impl(); + + state._fsp--; + pushFollow(FOLLOW_2); - rule__AssertionOrDefinition__Group_1_0_1__1__Impl(); + rule__Let__Group__2(); state._fsp--; @@ -8195,35 +13339,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__AssertionOrDefinition__Group_1_0_1__1" + // $ANTLR end "rule__Let__Group__1" - // $ANTLR start "rule__AssertionOrDefinition__Group_1_0_1__1__Impl" - // InternalSolverLanguageParser.g:2521:1: rule__AssertionOrDefinition__Group_1_0_1__1__Impl : ( ( rule__AssertionOrDefinition__RangeAssignment_1_0_1_1 ) ) ; - public final void rule__AssertionOrDefinition__Group_1_0_1__1__Impl() throws RecognitionException { + // $ANTLR start "rule__Let__Group__1__Impl" + // InternalSolverLanguageParser.g:4254:1: rule__Let__Group__1__Impl : ( ( rule__Let__BindingsAssignment_1 ) ) ; + public final void rule__Let__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:2525:1: ( ( ( rule__AssertionOrDefinition__RangeAssignment_1_0_1_1 ) ) ) - // InternalSolverLanguageParser.g:2526:1: ( ( rule__AssertionOrDefinition__RangeAssignment_1_0_1_1 ) ) + // InternalSolverLanguageParser.g:4258:1: ( ( ( rule__Let__BindingsAssignment_1 ) ) ) + // InternalSolverLanguageParser.g:4259:1: ( ( rule__Let__BindingsAssignment_1 ) ) { - // InternalSolverLanguageParser.g:2526:1: ( ( rule__AssertionOrDefinition__RangeAssignment_1_0_1_1 ) ) - // InternalSolverLanguageParser.g:2527:2: ( rule__AssertionOrDefinition__RangeAssignment_1_0_1_1 ) + // InternalSolverLanguageParser.g:4259:1: ( ( rule__Let__BindingsAssignment_1 ) ) + // InternalSolverLanguageParser.g:4260:2: ( rule__Let__BindingsAssignment_1 ) { - before(grammarAccess.getAssertionOrDefinitionAccess().getRangeAssignment_1_0_1_1()); - // InternalSolverLanguageParser.g:2528:2: ( rule__AssertionOrDefinition__RangeAssignment_1_0_1_1 ) - // InternalSolverLanguageParser.g:2528:3: rule__AssertionOrDefinition__RangeAssignment_1_0_1_1 + before(grammarAccess.getLetAccess().getBindingsAssignment_1()); + // InternalSolverLanguageParser.g:4261:2: ( rule__Let__BindingsAssignment_1 ) + // InternalSolverLanguageParser.g:4261:3: rule__Let__BindingsAssignment_1 { pushFollow(FOLLOW_2); - rule__AssertionOrDefinition__RangeAssignment_1_0_1_1(); + rule__Let__BindingsAssignment_1(); state._fsp--; } - after(grammarAccess.getAssertionOrDefinitionAccess().getRangeAssignment_1_0_1_1()); + after(grammarAccess.getLetAccess().getBindingsAssignment_1()); } @@ -8242,26 +13386,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__AssertionOrDefinition__Group_1_0_1__1__Impl" + // $ANTLR end "rule__Let__Group__1__Impl" - // $ANTLR start "rule__AssertionOrDefinition__Group_1_1__0" - // InternalSolverLanguageParser.g:2537:1: rule__AssertionOrDefinition__Group_1_1__0 : rule__AssertionOrDefinition__Group_1_1__0__Impl rule__AssertionOrDefinition__Group_1_1__1 ; - public final void rule__AssertionOrDefinition__Group_1_1__0() throws RecognitionException { + // $ANTLR start "rule__Let__Group__2" + // InternalSolverLanguageParser.g:4269:1: rule__Let__Group__2 : rule__Let__Group__2__Impl rule__Let__Group__3 ; + public final void rule__Let__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:2541:1: ( rule__AssertionOrDefinition__Group_1_1__0__Impl rule__AssertionOrDefinition__Group_1_1__1 ) - // InternalSolverLanguageParser.g:2542:2: rule__AssertionOrDefinition__Group_1_1__0__Impl rule__AssertionOrDefinition__Group_1_1__1 + // InternalSolverLanguageParser.g:4273:1: ( rule__Let__Group__2__Impl rule__Let__Group__3 ) + // InternalSolverLanguageParser.g:4274:2: rule__Let__Group__2__Impl rule__Let__Group__3 { - pushFollow(FOLLOW_8); - rule__AssertionOrDefinition__Group_1_1__0__Impl(); + pushFollow(FOLLOW_24); + rule__Let__Group__2__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__AssertionOrDefinition__Group_1_1__1(); + rule__Let__Group__3(); state._fsp--; @@ -8280,29 +13424,53 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__AssertionOrDefinition__Group_1_1__0" + // $ANTLR end "rule__Let__Group__2" - // $ANTLR start "rule__AssertionOrDefinition__Group_1_1__0__Impl" - // InternalSolverLanguageParser.g:2549:1: rule__AssertionOrDefinition__Group_1_1__0__Impl : ( () ) ; - public final void rule__AssertionOrDefinition__Group_1_1__0__Impl() throws RecognitionException { + // $ANTLR start "rule__Let__Group__2__Impl" + // InternalSolverLanguageParser.g:4281:1: rule__Let__Group__2__Impl : ( ( rule__Let__Group_2__0 )* ) ; + public final void rule__Let__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:2553:1: ( ( () ) ) - // InternalSolverLanguageParser.g:2554:1: ( () ) + // InternalSolverLanguageParser.g:4285:1: ( ( ( rule__Let__Group_2__0 )* ) ) + // InternalSolverLanguageParser.g:4286:1: ( ( rule__Let__Group_2__0 )* ) { - // InternalSolverLanguageParser.g:2554:1: ( () ) - // InternalSolverLanguageParser.g:2555:2: () + // InternalSolverLanguageParser.g:4286:1: ( ( rule__Let__Group_2__0 )* ) + // InternalSolverLanguageParser.g:4287:2: ( rule__Let__Group_2__0 )* { - before(grammarAccess.getAssertionOrDefinitionAccess().getPredicateDefinitionHeadAction_1_1_0()); - // InternalSolverLanguageParser.g:2556:2: () - // InternalSolverLanguageParser.g:2556:3: - { - } + before(grammarAccess.getLetAccess().getGroup_2()); + // InternalSolverLanguageParser.g:4288:2: ( rule__Let__Group_2__0 )* + loop31: + do { + int alt31=2; + int LA31_0 = input.LA(1); - after(grammarAccess.getAssertionOrDefinitionAccess().getPredicateDefinitionHeadAction_1_1_0()); + if ( (LA31_0==Comma) ) { + alt31=1; + } + + + switch (alt31) { + case 1 : + // InternalSolverLanguageParser.g:4288:3: rule__Let__Group_2__0 + { + pushFollow(FOLLOW_20); + rule__Let__Group_2__0(); + + state._fsp--; + + + } + break; + + default : + break loop31; + } + } while (true); + + after(grammarAccess.getLetAccess().getGroup_2()); } @@ -8310,6 +13478,10 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } finally { restoreStackSize(stackSize); @@ -8317,26 +13489,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__AssertionOrDefinition__Group_1_1__0__Impl" + // $ANTLR end "rule__Let__Group__2__Impl" - // $ANTLR start "rule__AssertionOrDefinition__Group_1_1__1" - // InternalSolverLanguageParser.g:2564:1: rule__AssertionOrDefinition__Group_1_1__1 : rule__AssertionOrDefinition__Group_1_1__1__Impl rule__AssertionOrDefinition__Group_1_1__2 ; - public final void rule__AssertionOrDefinition__Group_1_1__1() throws RecognitionException { + // $ANTLR start "rule__Let__Group__3" + // InternalSolverLanguageParser.g:4296:1: rule__Let__Group__3 : rule__Let__Group__3__Impl rule__Let__Group__4 ; + public final void rule__Let__Group__3() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:2568:1: ( rule__AssertionOrDefinition__Group_1_1__1__Impl rule__AssertionOrDefinition__Group_1_1__2 ) - // InternalSolverLanguageParser.g:2569:2: rule__AssertionOrDefinition__Group_1_1__1__Impl rule__AssertionOrDefinition__Group_1_1__2 + // InternalSolverLanguageParser.g:4300:1: ( rule__Let__Group__3__Impl rule__Let__Group__4 ) + // InternalSolverLanguageParser.g:4301:2: rule__Let__Group__3__Impl rule__Let__Group__4 { pushFollow(FOLLOW_7); - rule__AssertionOrDefinition__Group_1_1__1__Impl(); + rule__Let__Group__3__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__AssertionOrDefinition__Group_1_1__2(); + rule__Let__Group__4(); state._fsp--; @@ -8355,25 +13527,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__AssertionOrDefinition__Group_1_1__1" + // $ANTLR end "rule__Let__Group__3" - // $ANTLR start "rule__AssertionOrDefinition__Group_1_1__1__Impl" - // InternalSolverLanguageParser.g:2576:1: rule__AssertionOrDefinition__Group_1_1__1__Impl : ( ColonHyphenMinus ) ; - public final void rule__AssertionOrDefinition__Group_1_1__1__Impl() throws RecognitionException { + // $ANTLR start "rule__Let__Group__3__Impl" + // InternalSolverLanguageParser.g:4308:1: rule__Let__Group__3__Impl : ( In ) ; + public final void rule__Let__Group__3__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:2580:1: ( ( ColonHyphenMinus ) ) - // InternalSolverLanguageParser.g:2581:1: ( ColonHyphenMinus ) + // InternalSolverLanguageParser.g:4312:1: ( ( In ) ) + // InternalSolverLanguageParser.g:4313:1: ( In ) { - // InternalSolverLanguageParser.g:2581:1: ( ColonHyphenMinus ) - // InternalSolverLanguageParser.g:2582:2: ColonHyphenMinus + // InternalSolverLanguageParser.g:4313:1: ( In ) + // InternalSolverLanguageParser.g:4314:2: In { - before(grammarAccess.getAssertionOrDefinitionAccess().getColonHyphenMinusKeyword_1_1_1()); - match(input,ColonHyphenMinus,FOLLOW_2); - after(grammarAccess.getAssertionOrDefinitionAccess().getColonHyphenMinusKeyword_1_1_1()); + before(grammarAccess.getLetAccess().getInKeyword_3()); + match(input,In,FOLLOW_2); + after(grammarAccess.getLetAccess().getInKeyword_3()); } @@ -8392,21 +13564,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__AssertionOrDefinition__Group_1_1__1__Impl" + // $ANTLR end "rule__Let__Group__3__Impl" - // $ANTLR start "rule__AssertionOrDefinition__Group_1_1__2" - // InternalSolverLanguageParser.g:2591:1: rule__AssertionOrDefinition__Group_1_1__2 : rule__AssertionOrDefinition__Group_1_1__2__Impl ; - public final void rule__AssertionOrDefinition__Group_1_1__2() throws RecognitionException { + // $ANTLR start "rule__Let__Group__4" + // InternalSolverLanguageParser.g:4323:1: rule__Let__Group__4 : rule__Let__Group__4__Impl ; + public final void rule__Let__Group__4() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:2595:1: ( rule__AssertionOrDefinition__Group_1_1__2__Impl ) - // InternalSolverLanguageParser.g:2596:2: rule__AssertionOrDefinition__Group_1_1__2__Impl + // InternalSolverLanguageParser.g:4327:1: ( rule__Let__Group__4__Impl ) + // InternalSolverLanguageParser.g:4328:2: rule__Let__Group__4__Impl { pushFollow(FOLLOW_2); - rule__AssertionOrDefinition__Group_1_1__2__Impl(); + rule__Let__Group__4__Impl(); state._fsp--; @@ -8425,35 +13597,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__AssertionOrDefinition__Group_1_1__2" + // $ANTLR end "rule__Let__Group__4" - // $ANTLR start "rule__AssertionOrDefinition__Group_1_1__2__Impl" - // InternalSolverLanguageParser.g:2602:1: rule__AssertionOrDefinition__Group_1_1__2__Impl : ( ( rule__AssertionOrDefinition__BodyAssignment_1_1_2 ) ) ; - public final void rule__AssertionOrDefinition__Group_1_1__2__Impl() throws RecognitionException { + // $ANTLR start "rule__Let__Group__4__Impl" + // InternalSolverLanguageParser.g:4334:1: rule__Let__Group__4__Impl : ( ( rule__Let__BodyAssignment_4 ) ) ; + public final void rule__Let__Group__4__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:2606:1: ( ( ( rule__AssertionOrDefinition__BodyAssignment_1_1_2 ) ) ) - // InternalSolverLanguageParser.g:2607:1: ( ( rule__AssertionOrDefinition__BodyAssignment_1_1_2 ) ) + // InternalSolverLanguageParser.g:4338:1: ( ( ( rule__Let__BodyAssignment_4 ) ) ) + // InternalSolverLanguageParser.g:4339:1: ( ( rule__Let__BodyAssignment_4 ) ) { - // InternalSolverLanguageParser.g:2607:1: ( ( rule__AssertionOrDefinition__BodyAssignment_1_1_2 ) ) - // InternalSolverLanguageParser.g:2608:2: ( rule__AssertionOrDefinition__BodyAssignment_1_1_2 ) + // InternalSolverLanguageParser.g:4339:1: ( ( rule__Let__BodyAssignment_4 ) ) + // InternalSolverLanguageParser.g:4340:2: ( rule__Let__BodyAssignment_4 ) { - before(grammarAccess.getAssertionOrDefinitionAccess().getBodyAssignment_1_1_2()); - // InternalSolverLanguageParser.g:2609:2: ( rule__AssertionOrDefinition__BodyAssignment_1_1_2 ) - // InternalSolverLanguageParser.g:2609:3: rule__AssertionOrDefinition__BodyAssignment_1_1_2 + before(grammarAccess.getLetAccess().getBodyAssignment_4()); + // InternalSolverLanguageParser.g:4341:2: ( rule__Let__BodyAssignment_4 ) + // InternalSolverLanguageParser.g:4341:3: rule__Let__BodyAssignment_4 { pushFollow(FOLLOW_2); - rule__AssertionOrDefinition__BodyAssignment_1_1_2(); + rule__Let__BodyAssignment_4(); state._fsp--; } - after(grammarAccess.getAssertionOrDefinitionAccess().getBodyAssignment_1_1_2()); + after(grammarAccess.getLetAccess().getBodyAssignment_4()); } @@ -8472,26 +13644,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__AssertionOrDefinition__Group_1_1__2__Impl" + // $ANTLR end "rule__Let__Group__4__Impl" - // $ANTLR start "rule__AssertionOrDefinition__Group_1_2__0" - // InternalSolverLanguageParser.g:2618:1: rule__AssertionOrDefinition__Group_1_2__0 : rule__AssertionOrDefinition__Group_1_2__0__Impl rule__AssertionOrDefinition__Group_1_2__1 ; - public final void rule__AssertionOrDefinition__Group_1_2__0() throws RecognitionException { + // $ANTLR start "rule__Let__Group_2__0" + // InternalSolverLanguageParser.g:4350:1: rule__Let__Group_2__0 : rule__Let__Group_2__0__Impl rule__Let__Group_2__1 ; + public final void rule__Let__Group_2__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:2622:1: ( rule__AssertionOrDefinition__Group_1_2__0__Impl rule__AssertionOrDefinition__Group_1_2__1 ) - // InternalSolverLanguageParser.g:2623:2: rule__AssertionOrDefinition__Group_1_2__0__Impl rule__AssertionOrDefinition__Group_1_2__1 + // InternalSolverLanguageParser.g:4354:1: ( rule__Let__Group_2__0__Impl rule__Let__Group_2__1 ) + // InternalSolverLanguageParser.g:4355:2: rule__Let__Group_2__0__Impl rule__Let__Group_2__1 { - pushFollow(FOLLOW_5); - rule__AssertionOrDefinition__Group_1_2__0__Impl(); + pushFollow(FOLLOW_9); + rule__Let__Group_2__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__AssertionOrDefinition__Group_1_2__1(); + rule__Let__Group_2__1(); state._fsp--; @@ -8510,29 +13682,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__AssertionOrDefinition__Group_1_2__0" + // $ANTLR end "rule__Let__Group_2__0" - // $ANTLR start "rule__AssertionOrDefinition__Group_1_2__0__Impl" - // InternalSolverLanguageParser.g:2630:1: rule__AssertionOrDefinition__Group_1_2__0__Impl : ( () ) ; - public final void rule__AssertionOrDefinition__Group_1_2__0__Impl() throws RecognitionException { + // $ANTLR start "rule__Let__Group_2__0__Impl" + // InternalSolverLanguageParser.g:4362:1: rule__Let__Group_2__0__Impl : ( Comma ) ; + public final void rule__Let__Group_2__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:2634:1: ( ( () ) ) - // InternalSolverLanguageParser.g:2635:1: ( () ) + // InternalSolverLanguageParser.g:4366:1: ( ( Comma ) ) + // InternalSolverLanguageParser.g:4367:1: ( Comma ) { - // InternalSolverLanguageParser.g:2635:1: ( () ) - // InternalSolverLanguageParser.g:2636:2: () - { - before(grammarAccess.getAssertionOrDefinitionAccess().getMetricDefinitionHeadAction_1_2_0()); - // InternalSolverLanguageParser.g:2637:2: () - // InternalSolverLanguageParser.g:2637:3: + // InternalSolverLanguageParser.g:4367:1: ( Comma ) + // InternalSolverLanguageParser.g:4368:2: Comma { - } - - after(grammarAccess.getAssertionOrDefinitionAccess().getMetricDefinitionHeadAction_1_2_0()); + before(grammarAccess.getLetAccess().getCommaKeyword_2_0()); + match(input,Comma,FOLLOW_2); + after(grammarAccess.getLetAccess().getCommaKeyword_2_0()); } @@ -8540,6 +13708,10 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } finally { restoreStackSize(stackSize); @@ -8547,26 +13719,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__AssertionOrDefinition__Group_1_2__0__Impl" + // $ANTLR end "rule__Let__Group_2__0__Impl" - // $ANTLR start "rule__AssertionOrDefinition__Group_1_2__1" - // InternalSolverLanguageParser.g:2645:1: rule__AssertionOrDefinition__Group_1_2__1 : rule__AssertionOrDefinition__Group_1_2__1__Impl rule__AssertionOrDefinition__Group_1_2__2 ; - public final void rule__AssertionOrDefinition__Group_1_2__1() throws RecognitionException { + // $ANTLR start "rule__Let__Group_2__1" + // InternalSolverLanguageParser.g:4377:1: rule__Let__Group_2__1 : rule__Let__Group_2__1__Impl ; + public final void rule__Let__Group_2__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:2649:1: ( rule__AssertionOrDefinition__Group_1_2__1__Impl rule__AssertionOrDefinition__Group_1_2__2 ) - // InternalSolverLanguageParser.g:2650:2: rule__AssertionOrDefinition__Group_1_2__1__Impl rule__AssertionOrDefinition__Group_1_2__2 + // InternalSolverLanguageParser.g:4381:1: ( rule__Let__Group_2__1__Impl ) + // InternalSolverLanguageParser.g:4382:2: rule__Let__Group_2__1__Impl { - pushFollow(FOLLOW_7); - rule__AssertionOrDefinition__Group_1_2__1__Impl(); - - state._fsp--; - pushFollow(FOLLOW_2); - rule__AssertionOrDefinition__Group_1_2__2(); + rule__Let__Group_2__1__Impl(); state._fsp--; @@ -8585,25 +13752,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__AssertionOrDefinition__Group_1_2__1" + // $ANTLR end "rule__Let__Group_2__1" - // $ANTLR start "rule__AssertionOrDefinition__Group_1_2__1__Impl" - // InternalSolverLanguageParser.g:2657:1: rule__AssertionOrDefinition__Group_1_2__1__Impl : ( EqualsSign ) ; - public final void rule__AssertionOrDefinition__Group_1_2__1__Impl() throws RecognitionException { + // $ANTLR start "rule__Let__Group_2__1__Impl" + // InternalSolverLanguageParser.g:4388:1: rule__Let__Group_2__1__Impl : ( ( rule__Let__BindingsAssignment_2_1 ) ) ; + public final void rule__Let__Group_2__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:2661:1: ( ( EqualsSign ) ) - // InternalSolverLanguageParser.g:2662:1: ( EqualsSign ) + // InternalSolverLanguageParser.g:4392:1: ( ( ( rule__Let__BindingsAssignment_2_1 ) ) ) + // InternalSolverLanguageParser.g:4393:1: ( ( rule__Let__BindingsAssignment_2_1 ) ) { - // InternalSolverLanguageParser.g:2662:1: ( EqualsSign ) - // InternalSolverLanguageParser.g:2663:2: EqualsSign + // InternalSolverLanguageParser.g:4393:1: ( ( rule__Let__BindingsAssignment_2_1 ) ) + // InternalSolverLanguageParser.g:4394:2: ( rule__Let__BindingsAssignment_2_1 ) { - before(grammarAccess.getAssertionOrDefinitionAccess().getEqualsSignKeyword_1_2_1()); - match(input,EqualsSign,FOLLOW_2); - after(grammarAccess.getAssertionOrDefinitionAccess().getEqualsSignKeyword_1_2_1()); + before(grammarAccess.getLetAccess().getBindingsAssignment_2_1()); + // InternalSolverLanguageParser.g:4395:2: ( rule__Let__BindingsAssignment_2_1 ) + // InternalSolverLanguageParser.g:4395:3: rule__Let__BindingsAssignment_2_1 + { + pushFollow(FOLLOW_2); + rule__Let__BindingsAssignment_2_1(); + + state._fsp--; + + + } + + after(grammarAccess.getLetAccess().getBindingsAssignment_2_1()); } @@ -8622,21 +13799,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__AssertionOrDefinition__Group_1_2__1__Impl" + // $ANTLR end "rule__Let__Group_2__1__Impl" - // $ANTLR start "rule__AssertionOrDefinition__Group_1_2__2" - // InternalSolverLanguageParser.g:2672:1: rule__AssertionOrDefinition__Group_1_2__2 : rule__AssertionOrDefinition__Group_1_2__2__Impl ; - public final void rule__AssertionOrDefinition__Group_1_2__2() throws RecognitionException { + // $ANTLR start "rule__LetBinding__Group__0" + // InternalSolverLanguageParser.g:4404:1: rule__LetBinding__Group__0 : rule__LetBinding__Group__0__Impl rule__LetBinding__Group__1 ; + public final void rule__LetBinding__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:2676:1: ( rule__AssertionOrDefinition__Group_1_2__2__Impl ) - // InternalSolverLanguageParser.g:2677:2: rule__AssertionOrDefinition__Group_1_2__2__Impl + // InternalSolverLanguageParser.g:4408:1: ( rule__LetBinding__Group__0__Impl rule__LetBinding__Group__1 ) + // InternalSolverLanguageParser.g:4409:2: rule__LetBinding__Group__0__Impl rule__LetBinding__Group__1 { + pushFollow(FOLLOW_13); + rule__LetBinding__Group__0__Impl(); + + state._fsp--; + pushFollow(FOLLOW_2); - rule__AssertionOrDefinition__Group_1_2__2__Impl(); + rule__LetBinding__Group__1(); state._fsp--; @@ -8655,35 +13837,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__AssertionOrDefinition__Group_1_2__2" + // $ANTLR end "rule__LetBinding__Group__0" - // $ANTLR start "rule__AssertionOrDefinition__Group_1_2__2__Impl" - // InternalSolverLanguageParser.g:2683:1: rule__AssertionOrDefinition__Group_1_2__2__Impl : ( ( rule__AssertionOrDefinition__BodyAssignment_1_2_2 ) ) ; - public final void rule__AssertionOrDefinition__Group_1_2__2__Impl() throws RecognitionException { + // $ANTLR start "rule__LetBinding__Group__0__Impl" + // InternalSolverLanguageParser.g:4416:1: rule__LetBinding__Group__0__Impl : ( ( rule__LetBinding__VariableAssignment_0 ) ) ; + public final void rule__LetBinding__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:2687:1: ( ( ( rule__AssertionOrDefinition__BodyAssignment_1_2_2 ) ) ) - // InternalSolverLanguageParser.g:2688:1: ( ( rule__AssertionOrDefinition__BodyAssignment_1_2_2 ) ) + // InternalSolverLanguageParser.g:4420:1: ( ( ( rule__LetBinding__VariableAssignment_0 ) ) ) + // InternalSolverLanguageParser.g:4421:1: ( ( rule__LetBinding__VariableAssignment_0 ) ) { - // InternalSolverLanguageParser.g:2688:1: ( ( rule__AssertionOrDefinition__BodyAssignment_1_2_2 ) ) - // InternalSolverLanguageParser.g:2689:2: ( rule__AssertionOrDefinition__BodyAssignment_1_2_2 ) + // InternalSolverLanguageParser.g:4421:1: ( ( rule__LetBinding__VariableAssignment_0 ) ) + // InternalSolverLanguageParser.g:4422:2: ( rule__LetBinding__VariableAssignment_0 ) { - before(grammarAccess.getAssertionOrDefinitionAccess().getBodyAssignment_1_2_2()); - // InternalSolverLanguageParser.g:2690:2: ( rule__AssertionOrDefinition__BodyAssignment_1_2_2 ) - // InternalSolverLanguageParser.g:2690:3: rule__AssertionOrDefinition__BodyAssignment_1_2_2 + before(grammarAccess.getLetBindingAccess().getVariableAssignment_0()); + // InternalSolverLanguageParser.g:4423:2: ( rule__LetBinding__VariableAssignment_0 ) + // InternalSolverLanguageParser.g:4423:3: rule__LetBinding__VariableAssignment_0 { pushFollow(FOLLOW_2); - rule__AssertionOrDefinition__BodyAssignment_1_2_2(); + rule__LetBinding__VariableAssignment_0(); state._fsp--; } - after(grammarAccess.getAssertionOrDefinitionAccess().getBodyAssignment_1_2_2()); + after(grammarAccess.getLetBindingAccess().getVariableAssignment_0()); } @@ -8702,26 +13884,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__AssertionOrDefinition__Group_1_2__2__Impl" + // $ANTLR end "rule__LetBinding__Group__0__Impl" - // $ANTLR start "rule__PredicateDefinition__Group__0" - // InternalSolverLanguageParser.g:2699:1: rule__PredicateDefinition__Group__0 : rule__PredicateDefinition__Group__0__Impl rule__PredicateDefinition__Group__1 ; - public final void rule__PredicateDefinition__Group__0() throws RecognitionException { + // $ANTLR start "rule__LetBinding__Group__1" + // InternalSolverLanguageParser.g:4431:1: rule__LetBinding__Group__1 : rule__LetBinding__Group__1__Impl rule__LetBinding__Group__2 ; + public final void rule__LetBinding__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:2703:1: ( rule__PredicateDefinition__Group__0__Impl rule__PredicateDefinition__Group__1 ) - // InternalSolverLanguageParser.g:2704:2: rule__PredicateDefinition__Group__0__Impl rule__PredicateDefinition__Group__1 + // InternalSolverLanguageParser.g:4435:1: ( rule__LetBinding__Group__1__Impl rule__LetBinding__Group__2 ) + // InternalSolverLanguageParser.g:4436:2: rule__LetBinding__Group__1__Impl rule__LetBinding__Group__2 { - pushFollow(FOLLOW_9); - rule__PredicateDefinition__Group__0__Impl(); + pushFollow(FOLLOW_7); + rule__LetBinding__Group__1__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__PredicateDefinition__Group__1(); + rule__LetBinding__Group__2(); state._fsp--; @@ -8740,35 +13922,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__PredicateDefinition__Group__0" + // $ANTLR end "rule__LetBinding__Group__1" - // $ANTLR start "rule__PredicateDefinition__Group__0__Impl" - // InternalSolverLanguageParser.g:2711:1: rule__PredicateDefinition__Group__0__Impl : ( ( rule__PredicateDefinition__Alternatives_0 ) ) ; - public final void rule__PredicateDefinition__Group__0__Impl() throws RecognitionException { + // $ANTLR start "rule__LetBinding__Group__1__Impl" + // InternalSolverLanguageParser.g:4443:1: rule__LetBinding__Group__1__Impl : ( EqualsSign ) ; + public final void rule__LetBinding__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:2715:1: ( ( ( rule__PredicateDefinition__Alternatives_0 ) ) ) - // InternalSolverLanguageParser.g:2716:1: ( ( rule__PredicateDefinition__Alternatives_0 ) ) - { - // InternalSolverLanguageParser.g:2716:1: ( ( rule__PredicateDefinition__Alternatives_0 ) ) - // InternalSolverLanguageParser.g:2717:2: ( rule__PredicateDefinition__Alternatives_0 ) + // InternalSolverLanguageParser.g:4447:1: ( ( EqualsSign ) ) + // InternalSolverLanguageParser.g:4448:1: ( EqualsSign ) { - before(grammarAccess.getPredicateDefinitionAccess().getAlternatives_0()); - // InternalSolverLanguageParser.g:2718:2: ( rule__PredicateDefinition__Alternatives_0 ) - // InternalSolverLanguageParser.g:2718:3: rule__PredicateDefinition__Alternatives_0 + // InternalSolverLanguageParser.g:4448:1: ( EqualsSign ) + // InternalSolverLanguageParser.g:4449:2: EqualsSign { - pushFollow(FOLLOW_2); - rule__PredicateDefinition__Alternatives_0(); - - state._fsp--; - - - } - - after(grammarAccess.getPredicateDefinitionAccess().getAlternatives_0()); + before(grammarAccess.getLetBindingAccess().getEqualsSignKeyword_1()); + match(input,EqualsSign,FOLLOW_2); + after(grammarAccess.getLetBindingAccess().getEqualsSignKeyword_1()); } @@ -8787,26 +13959,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__PredicateDefinition__Group__0__Impl" + // $ANTLR end "rule__LetBinding__Group__1__Impl" - // $ANTLR start "rule__PredicateDefinition__Group__1" - // InternalSolverLanguageParser.g:2726:1: rule__PredicateDefinition__Group__1 : rule__PredicateDefinition__Group__1__Impl rule__PredicateDefinition__Group__2 ; - public final void rule__PredicateDefinition__Group__1() throws RecognitionException { + // $ANTLR start "rule__LetBinding__Group__2" + // InternalSolverLanguageParser.g:4458:1: rule__LetBinding__Group__2 : rule__LetBinding__Group__2__Impl ; + public final void rule__LetBinding__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:2730:1: ( rule__PredicateDefinition__Group__1__Impl rule__PredicateDefinition__Group__2 ) - // InternalSolverLanguageParser.g:2731:2: rule__PredicateDefinition__Group__1__Impl rule__PredicateDefinition__Group__2 + // InternalSolverLanguageParser.g:4462:1: ( rule__LetBinding__Group__2__Impl ) + // InternalSolverLanguageParser.g:4463:2: rule__LetBinding__Group__2__Impl { - pushFollow(FOLLOW_8); - rule__PredicateDefinition__Group__1__Impl(); - - state._fsp--; - pushFollow(FOLLOW_2); - rule__PredicateDefinition__Group__2(); + rule__LetBinding__Group__2__Impl(); state._fsp--; @@ -8825,35 +13992,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__PredicateDefinition__Group__1" + // $ANTLR end "rule__LetBinding__Group__2" - // $ANTLR start "rule__PredicateDefinition__Group__1__Impl" - // InternalSolverLanguageParser.g:2738:1: rule__PredicateDefinition__Group__1__Impl : ( ( rule__PredicateDefinition__HeadAssignment_1 ) ) ; - public final void rule__PredicateDefinition__Group__1__Impl() throws RecognitionException { + // $ANTLR start "rule__LetBinding__Group__2__Impl" + // InternalSolverLanguageParser.g:4469:1: rule__LetBinding__Group__2__Impl : ( ( rule__LetBinding__ValueAssignment_2 ) ) ; + public final void rule__LetBinding__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:2742:1: ( ( ( rule__PredicateDefinition__HeadAssignment_1 ) ) ) - // InternalSolverLanguageParser.g:2743:1: ( ( rule__PredicateDefinition__HeadAssignment_1 ) ) + // InternalSolverLanguageParser.g:4473:1: ( ( ( rule__LetBinding__ValueAssignment_2 ) ) ) + // InternalSolverLanguageParser.g:4474:1: ( ( rule__LetBinding__ValueAssignment_2 ) ) { - // InternalSolverLanguageParser.g:2743:1: ( ( rule__PredicateDefinition__HeadAssignment_1 ) ) - // InternalSolverLanguageParser.g:2744:2: ( rule__PredicateDefinition__HeadAssignment_1 ) + // InternalSolverLanguageParser.g:4474:1: ( ( rule__LetBinding__ValueAssignment_2 ) ) + // InternalSolverLanguageParser.g:4475:2: ( rule__LetBinding__ValueAssignment_2 ) { - before(grammarAccess.getPredicateDefinitionAccess().getHeadAssignment_1()); - // InternalSolverLanguageParser.g:2745:2: ( rule__PredicateDefinition__HeadAssignment_1 ) - // InternalSolverLanguageParser.g:2745:3: rule__PredicateDefinition__HeadAssignment_1 + before(grammarAccess.getLetBindingAccess().getValueAssignment_2()); + // InternalSolverLanguageParser.g:4476:2: ( rule__LetBinding__ValueAssignment_2 ) + // InternalSolverLanguageParser.g:4476:3: rule__LetBinding__ValueAssignment_2 { pushFollow(FOLLOW_2); - rule__PredicateDefinition__HeadAssignment_1(); + rule__LetBinding__ValueAssignment_2(); state._fsp--; } - after(grammarAccess.getPredicateDefinitionAccess().getHeadAssignment_1()); + after(grammarAccess.getLetBindingAccess().getValueAssignment_2()); } @@ -8872,26 +14039,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__PredicateDefinition__Group__1__Impl" + // $ANTLR end "rule__LetBinding__Group__2__Impl" - // $ANTLR start "rule__PredicateDefinition__Group__2" - // InternalSolverLanguageParser.g:2753:1: rule__PredicateDefinition__Group__2 : rule__PredicateDefinition__Group__2__Impl rule__PredicateDefinition__Group__3 ; - public final void rule__PredicateDefinition__Group__2() throws RecognitionException { + // $ANTLR start "rule__ImplicationExpression__Group__0" + // InternalSolverLanguageParser.g:4485:1: rule__ImplicationExpression__Group__0 : rule__ImplicationExpression__Group__0__Impl rule__ImplicationExpression__Group__1 ; + public final void rule__ImplicationExpression__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:2757:1: ( rule__PredicateDefinition__Group__2__Impl rule__PredicateDefinition__Group__3 ) - // InternalSolverLanguageParser.g:2758:2: rule__PredicateDefinition__Group__2__Impl rule__PredicateDefinition__Group__3 + // InternalSolverLanguageParser.g:4489:1: ( rule__ImplicationExpression__Group__0__Impl rule__ImplicationExpression__Group__1 ) + // InternalSolverLanguageParser.g:4490:2: rule__ImplicationExpression__Group__0__Impl rule__ImplicationExpression__Group__1 { - pushFollow(FOLLOW_7); - rule__PredicateDefinition__Group__2__Impl(); + pushFollow(FOLLOW_25); + rule__ImplicationExpression__Group__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__PredicateDefinition__Group__3(); + rule__ImplicationExpression__Group__1(); state._fsp--; @@ -8910,25 +14077,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__PredicateDefinition__Group__2" + // $ANTLR end "rule__ImplicationExpression__Group__0" - // $ANTLR start "rule__PredicateDefinition__Group__2__Impl" - // InternalSolverLanguageParser.g:2765:1: rule__PredicateDefinition__Group__2__Impl : ( ColonHyphenMinus ) ; - public final void rule__PredicateDefinition__Group__2__Impl() throws RecognitionException { + // $ANTLR start "rule__ImplicationExpression__Group__0__Impl" + // InternalSolverLanguageParser.g:4497:1: rule__ImplicationExpression__Group__0__Impl : ( ruleDisjunctiveExpression ) ; + public final void rule__ImplicationExpression__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:2769:1: ( ( ColonHyphenMinus ) ) - // InternalSolverLanguageParser.g:2770:1: ( ColonHyphenMinus ) + // InternalSolverLanguageParser.g:4501:1: ( ( ruleDisjunctiveExpression ) ) + // InternalSolverLanguageParser.g:4502:1: ( ruleDisjunctiveExpression ) { - // InternalSolverLanguageParser.g:2770:1: ( ColonHyphenMinus ) - // InternalSolverLanguageParser.g:2771:2: ColonHyphenMinus + // InternalSolverLanguageParser.g:4502:1: ( ruleDisjunctiveExpression ) + // InternalSolverLanguageParser.g:4503:2: ruleDisjunctiveExpression { - before(grammarAccess.getPredicateDefinitionAccess().getColonHyphenMinusKeyword_2()); - match(input,ColonHyphenMinus,FOLLOW_2); - after(grammarAccess.getPredicateDefinitionAccess().getColonHyphenMinusKeyword_2()); + before(grammarAccess.getImplicationExpressionAccess().getDisjunctiveExpressionParserRuleCall_0()); + pushFollow(FOLLOW_2); + ruleDisjunctiveExpression(); + + state._fsp--; + + after(grammarAccess.getImplicationExpressionAccess().getDisjunctiveExpressionParserRuleCall_0()); } @@ -8947,21 +14118,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__PredicateDefinition__Group__2__Impl" + // $ANTLR end "rule__ImplicationExpression__Group__0__Impl" - // $ANTLR start "rule__PredicateDefinition__Group__3" - // InternalSolverLanguageParser.g:2780:1: rule__PredicateDefinition__Group__3 : rule__PredicateDefinition__Group__3__Impl ; - public final void rule__PredicateDefinition__Group__3() throws RecognitionException { + // $ANTLR start "rule__ImplicationExpression__Group__1" + // InternalSolverLanguageParser.g:4512:1: rule__ImplicationExpression__Group__1 : rule__ImplicationExpression__Group__1__Impl ; + public final void rule__ImplicationExpression__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:2784:1: ( rule__PredicateDefinition__Group__3__Impl ) - // InternalSolverLanguageParser.g:2785:2: rule__PredicateDefinition__Group__3__Impl + // InternalSolverLanguageParser.g:4516:1: ( rule__ImplicationExpression__Group__1__Impl ) + // InternalSolverLanguageParser.g:4517:2: rule__ImplicationExpression__Group__1__Impl { pushFollow(FOLLOW_2); - rule__PredicateDefinition__Group__3__Impl(); + rule__ImplicationExpression__Group__1__Impl(); state._fsp--; @@ -8980,35 +14151,46 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__PredicateDefinition__Group__3" + // $ANTLR end "rule__ImplicationExpression__Group__1" - // $ANTLR start "rule__PredicateDefinition__Group__3__Impl" - // InternalSolverLanguageParser.g:2791:1: rule__PredicateDefinition__Group__3__Impl : ( ( rule__PredicateDefinition__BodyAssignment_3 ) ) ; - public final void rule__PredicateDefinition__Group__3__Impl() throws RecognitionException { + // $ANTLR start "rule__ImplicationExpression__Group__1__Impl" + // InternalSolverLanguageParser.g:4523:1: rule__ImplicationExpression__Group__1__Impl : ( ( rule__ImplicationExpression__Group_1__0 )? ) ; + public final void rule__ImplicationExpression__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:2795:1: ( ( ( rule__PredicateDefinition__BodyAssignment_3 ) ) ) - // InternalSolverLanguageParser.g:2796:1: ( ( rule__PredicateDefinition__BodyAssignment_3 ) ) + // InternalSolverLanguageParser.g:4527:1: ( ( ( rule__ImplicationExpression__Group_1__0 )? ) ) + // InternalSolverLanguageParser.g:4528:1: ( ( rule__ImplicationExpression__Group_1__0 )? ) { - // InternalSolverLanguageParser.g:2796:1: ( ( rule__PredicateDefinition__BodyAssignment_3 ) ) - // InternalSolverLanguageParser.g:2797:2: ( rule__PredicateDefinition__BodyAssignment_3 ) - { - before(grammarAccess.getPredicateDefinitionAccess().getBodyAssignment_3()); - // InternalSolverLanguageParser.g:2798:2: ( rule__PredicateDefinition__BodyAssignment_3 ) - // InternalSolverLanguageParser.g:2798:3: rule__PredicateDefinition__BodyAssignment_3 + // InternalSolverLanguageParser.g:4528:1: ( ( rule__ImplicationExpression__Group_1__0 )? ) + // InternalSolverLanguageParser.g:4529:2: ( rule__ImplicationExpression__Group_1__0 )? { - pushFollow(FOLLOW_2); - rule__PredicateDefinition__BodyAssignment_3(); + before(grammarAccess.getImplicationExpressionAccess().getGroup_1()); + // InternalSolverLanguageParser.g:4530:2: ( rule__ImplicationExpression__Group_1__0 )? + int alt32=2; + int LA32_0 = input.LA(1); + + if ( (LA32_0==EqualsSignGreaterThanSign) ) { + alt32=1; + } + switch (alt32) { + case 1 : + // InternalSolverLanguageParser.g:4530:3: rule__ImplicationExpression__Group_1__0 + { + pushFollow(FOLLOW_2); + rule__ImplicationExpression__Group_1__0(); + + state._fsp--; - state._fsp--; + } + break; } - after(grammarAccess.getPredicateDefinitionAccess().getBodyAssignment_3()); + after(grammarAccess.getImplicationExpressionAccess().getGroup_1()); } @@ -9027,26 +14209,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__PredicateDefinition__Group__3__Impl" + // $ANTLR end "rule__ImplicationExpression__Group__1__Impl" - // $ANTLR start "rule__PredicateDefinition__Group_0_0__0" - // InternalSolverLanguageParser.g:2807:1: rule__PredicateDefinition__Group_0_0__0 : rule__PredicateDefinition__Group_0_0__0__Impl rule__PredicateDefinition__Group_0_0__1 ; - public final void rule__PredicateDefinition__Group_0_0__0() throws RecognitionException { + // $ANTLR start "rule__ImplicationExpression__Group_1__0" + // InternalSolverLanguageParser.g:4539:1: rule__ImplicationExpression__Group_1__0 : rule__ImplicationExpression__Group_1__0__Impl rule__ImplicationExpression__Group_1__1 ; + public final void rule__ImplicationExpression__Group_1__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:2811:1: ( rule__PredicateDefinition__Group_0_0__0__Impl rule__PredicateDefinition__Group_0_0__1 ) - // InternalSolverLanguageParser.g:2812:2: rule__PredicateDefinition__Group_0_0__0__Impl rule__PredicateDefinition__Group_0_0__1 + // InternalSolverLanguageParser.g:4543:1: ( rule__ImplicationExpression__Group_1__0__Impl rule__ImplicationExpression__Group_1__1 ) + // InternalSolverLanguageParser.g:4544:2: rule__ImplicationExpression__Group_1__0__Impl rule__ImplicationExpression__Group_1__1 { - pushFollow(FOLLOW_10); - rule__PredicateDefinition__Group_0_0__0__Impl(); + pushFollow(FOLLOW_25); + rule__ImplicationExpression__Group_1__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__PredicateDefinition__Group_0_0__1(); + rule__ImplicationExpression__Group_1__1(); state._fsp--; @@ -9065,35 +14247,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__PredicateDefinition__Group_0_0__0" + // $ANTLR end "rule__ImplicationExpression__Group_1__0" - // $ANTLR start "rule__PredicateDefinition__Group_0_0__0__Impl" - // InternalSolverLanguageParser.g:2819:1: rule__PredicateDefinition__Group_0_0__0__Impl : ( ( rule__PredicateDefinition__FunctionalAssignment_0_0_0 ) ) ; - public final void rule__PredicateDefinition__Group_0_0__0__Impl() throws RecognitionException { + // $ANTLR start "rule__ImplicationExpression__Group_1__0__Impl" + // InternalSolverLanguageParser.g:4551:1: rule__ImplicationExpression__Group_1__0__Impl : ( () ) ; + public final void rule__ImplicationExpression__Group_1__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:2823:1: ( ( ( rule__PredicateDefinition__FunctionalAssignment_0_0_0 ) ) ) - // InternalSolverLanguageParser.g:2824:1: ( ( rule__PredicateDefinition__FunctionalAssignment_0_0_0 ) ) + // InternalSolverLanguageParser.g:4555:1: ( ( () ) ) + // InternalSolverLanguageParser.g:4556:1: ( () ) { - // InternalSolverLanguageParser.g:2824:1: ( ( rule__PredicateDefinition__FunctionalAssignment_0_0_0 ) ) - // InternalSolverLanguageParser.g:2825:2: ( rule__PredicateDefinition__FunctionalAssignment_0_0_0 ) + // InternalSolverLanguageParser.g:4556:1: ( () ) + // InternalSolverLanguageParser.g:4557:2: () { - before(grammarAccess.getPredicateDefinitionAccess().getFunctionalAssignment_0_0_0()); - // InternalSolverLanguageParser.g:2826:2: ( rule__PredicateDefinition__FunctionalAssignment_0_0_0 ) - // InternalSolverLanguageParser.g:2826:3: rule__PredicateDefinition__FunctionalAssignment_0_0_0 + before(grammarAccess.getImplicationExpressionAccess().getBinaryExpressionLeftAction_1_0()); + // InternalSolverLanguageParser.g:4558:2: () + // InternalSolverLanguageParser.g:4558:3: { - pushFollow(FOLLOW_2); - rule__PredicateDefinition__FunctionalAssignment_0_0_0(); - - state._fsp--; - - } - after(grammarAccess.getPredicateDefinitionAccess().getFunctionalAssignment_0_0_0()); + after(grammarAccess.getImplicationExpressionAccess().getBinaryExpressionLeftAction_1_0()); } @@ -9101,10 +14277,6 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } finally { restoreStackSize(stackSize); @@ -9112,21 +14284,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__PredicateDefinition__Group_0_0__0__Impl" + // $ANTLR end "rule__ImplicationExpression__Group_1__0__Impl" - // $ANTLR start "rule__PredicateDefinition__Group_0_0__1" - // InternalSolverLanguageParser.g:2834:1: rule__PredicateDefinition__Group_0_0__1 : rule__PredicateDefinition__Group_0_0__1__Impl ; - public final void rule__PredicateDefinition__Group_0_0__1() throws RecognitionException { + // $ANTLR start "rule__ImplicationExpression__Group_1__1" + // InternalSolverLanguageParser.g:4566:1: rule__ImplicationExpression__Group_1__1 : rule__ImplicationExpression__Group_1__1__Impl rule__ImplicationExpression__Group_1__2 ; + public final void rule__ImplicationExpression__Group_1__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:2838:1: ( rule__PredicateDefinition__Group_0_0__1__Impl ) - // InternalSolverLanguageParser.g:2839:2: rule__PredicateDefinition__Group_0_0__1__Impl + // InternalSolverLanguageParser.g:4570:1: ( rule__ImplicationExpression__Group_1__1__Impl rule__ImplicationExpression__Group_1__2 ) + // InternalSolverLanguageParser.g:4571:2: rule__ImplicationExpression__Group_1__1__Impl rule__ImplicationExpression__Group_1__2 { + pushFollow(FOLLOW_7); + rule__ImplicationExpression__Group_1__1__Impl(); + + state._fsp--; + pushFollow(FOLLOW_2); - rule__PredicateDefinition__Group_0_0__1__Impl(); + rule__ImplicationExpression__Group_1__2(); state._fsp--; @@ -9145,46 +14322,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__PredicateDefinition__Group_0_0__1" + // $ANTLR end "rule__ImplicationExpression__Group_1__1" - // $ANTLR start "rule__PredicateDefinition__Group_0_0__1__Impl" - // InternalSolverLanguageParser.g:2845:1: rule__PredicateDefinition__Group_0_0__1__Impl : ( ( rule__PredicateDefinition__ErrorAssignment_0_0_1 )? ) ; - public final void rule__PredicateDefinition__Group_0_0__1__Impl() throws RecognitionException { + // $ANTLR start "rule__ImplicationExpression__Group_1__1__Impl" + // InternalSolverLanguageParser.g:4578:1: rule__ImplicationExpression__Group_1__1__Impl : ( ( rule__ImplicationExpression__OpAssignment_1_1 ) ) ; + public final void rule__ImplicationExpression__Group_1__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:2849:1: ( ( ( rule__PredicateDefinition__ErrorAssignment_0_0_1 )? ) ) - // InternalSolverLanguageParser.g:2850:1: ( ( rule__PredicateDefinition__ErrorAssignment_0_0_1 )? ) + // InternalSolverLanguageParser.g:4582:1: ( ( ( rule__ImplicationExpression__OpAssignment_1_1 ) ) ) + // InternalSolverLanguageParser.g:4583:1: ( ( rule__ImplicationExpression__OpAssignment_1_1 ) ) { - // InternalSolverLanguageParser.g:2850:1: ( ( rule__PredicateDefinition__ErrorAssignment_0_0_1 )? ) - // InternalSolverLanguageParser.g:2851:2: ( rule__PredicateDefinition__ErrorAssignment_0_0_1 )? + // InternalSolverLanguageParser.g:4583:1: ( ( rule__ImplicationExpression__OpAssignment_1_1 ) ) + // InternalSolverLanguageParser.g:4584:2: ( rule__ImplicationExpression__OpAssignment_1_1 ) { - before(grammarAccess.getPredicateDefinitionAccess().getErrorAssignment_0_0_1()); - // InternalSolverLanguageParser.g:2852:2: ( rule__PredicateDefinition__ErrorAssignment_0_0_1 )? - int alt28=2; - int LA28_0 = input.LA(1); - - if ( (LA28_0==Error) ) { - alt28=1; - } - switch (alt28) { - case 1 : - // InternalSolverLanguageParser.g:2852:3: rule__PredicateDefinition__ErrorAssignment_0_0_1 - { - pushFollow(FOLLOW_2); - rule__PredicateDefinition__ErrorAssignment_0_0_1(); - - state._fsp--; + before(grammarAccess.getImplicationExpressionAccess().getOpAssignment_1_1()); + // InternalSolverLanguageParser.g:4585:2: ( rule__ImplicationExpression__OpAssignment_1_1 ) + // InternalSolverLanguageParser.g:4585:3: rule__ImplicationExpression__OpAssignment_1_1 + { + pushFollow(FOLLOW_2); + rule__ImplicationExpression__OpAssignment_1_1(); + state._fsp--; - } - break; } - after(grammarAccess.getPredicateDefinitionAccess().getErrorAssignment_0_0_1()); + after(grammarAccess.getImplicationExpressionAccess().getOpAssignment_1_1()); } @@ -9203,26 +14369,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__PredicateDefinition__Group_0_0__1__Impl" + // $ANTLR end "rule__ImplicationExpression__Group_1__1__Impl" - // $ANTLR start "rule__PredicateDefinition__Group_0_1__0" - // InternalSolverLanguageParser.g:2861:1: rule__PredicateDefinition__Group_0_1__0 : rule__PredicateDefinition__Group_0_1__0__Impl rule__PredicateDefinition__Group_0_1__1 ; - public final void rule__PredicateDefinition__Group_0_1__0() throws RecognitionException { + // $ANTLR start "rule__ImplicationExpression__Group_1__2" + // InternalSolverLanguageParser.g:4593:1: rule__ImplicationExpression__Group_1__2 : rule__ImplicationExpression__Group_1__2__Impl ; + public final void rule__ImplicationExpression__Group_1__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:2865:1: ( rule__PredicateDefinition__Group_0_1__0__Impl rule__PredicateDefinition__Group_0_1__1 ) - // InternalSolverLanguageParser.g:2866:2: rule__PredicateDefinition__Group_0_1__0__Impl rule__PredicateDefinition__Group_0_1__1 + // InternalSolverLanguageParser.g:4597:1: ( rule__ImplicationExpression__Group_1__2__Impl ) + // InternalSolverLanguageParser.g:4598:2: rule__ImplicationExpression__Group_1__2__Impl { - pushFollow(FOLLOW_11); - rule__PredicateDefinition__Group_0_1__0__Impl(); - - state._fsp--; - pushFollow(FOLLOW_2); - rule__PredicateDefinition__Group_0_1__1(); + rule__ImplicationExpression__Group_1__2__Impl(); state._fsp--; @@ -9241,35 +14402,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__PredicateDefinition__Group_0_1__0" + // $ANTLR end "rule__ImplicationExpression__Group_1__2" - // $ANTLR start "rule__PredicateDefinition__Group_0_1__0__Impl" - // InternalSolverLanguageParser.g:2873:1: rule__PredicateDefinition__Group_0_1__0__Impl : ( ( rule__PredicateDefinition__ErrorAssignment_0_1_0 ) ) ; - public final void rule__PredicateDefinition__Group_0_1__0__Impl() throws RecognitionException { + // $ANTLR start "rule__ImplicationExpression__Group_1__2__Impl" + // InternalSolverLanguageParser.g:4604:1: rule__ImplicationExpression__Group_1__2__Impl : ( ( rule__ImplicationExpression__RightAssignment_1_2 ) ) ; + public final void rule__ImplicationExpression__Group_1__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:2877:1: ( ( ( rule__PredicateDefinition__ErrorAssignment_0_1_0 ) ) ) - // InternalSolverLanguageParser.g:2878:1: ( ( rule__PredicateDefinition__ErrorAssignment_0_1_0 ) ) + // InternalSolverLanguageParser.g:4608:1: ( ( ( rule__ImplicationExpression__RightAssignment_1_2 ) ) ) + // InternalSolverLanguageParser.g:4609:1: ( ( rule__ImplicationExpression__RightAssignment_1_2 ) ) { - // InternalSolverLanguageParser.g:2878:1: ( ( rule__PredicateDefinition__ErrorAssignment_0_1_0 ) ) - // InternalSolverLanguageParser.g:2879:2: ( rule__PredicateDefinition__ErrorAssignment_0_1_0 ) + // InternalSolverLanguageParser.g:4609:1: ( ( rule__ImplicationExpression__RightAssignment_1_2 ) ) + // InternalSolverLanguageParser.g:4610:2: ( rule__ImplicationExpression__RightAssignment_1_2 ) { - before(grammarAccess.getPredicateDefinitionAccess().getErrorAssignment_0_1_0()); - // InternalSolverLanguageParser.g:2880:2: ( rule__PredicateDefinition__ErrorAssignment_0_1_0 ) - // InternalSolverLanguageParser.g:2880:3: rule__PredicateDefinition__ErrorAssignment_0_1_0 + before(grammarAccess.getImplicationExpressionAccess().getRightAssignment_1_2()); + // InternalSolverLanguageParser.g:4611:2: ( rule__ImplicationExpression__RightAssignment_1_2 ) + // InternalSolverLanguageParser.g:4611:3: rule__ImplicationExpression__RightAssignment_1_2 { pushFollow(FOLLOW_2); - rule__PredicateDefinition__ErrorAssignment_0_1_0(); + rule__ImplicationExpression__RightAssignment_1_2(); state._fsp--; } - after(grammarAccess.getPredicateDefinitionAccess().getErrorAssignment_0_1_0()); + after(grammarAccess.getImplicationExpressionAccess().getRightAssignment_1_2()); } @@ -9288,21 +14449,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__PredicateDefinition__Group_0_1__0__Impl" + // $ANTLR end "rule__ImplicationExpression__Group_1__2__Impl" - // $ANTLR start "rule__PredicateDefinition__Group_0_1__1" - // InternalSolverLanguageParser.g:2888:1: rule__PredicateDefinition__Group_0_1__1 : rule__PredicateDefinition__Group_0_1__1__Impl ; - public final void rule__PredicateDefinition__Group_0_1__1() throws RecognitionException { + // $ANTLR start "rule__DisjunctiveExpression__Group__0" + // InternalSolverLanguageParser.g:4620:1: rule__DisjunctiveExpression__Group__0 : rule__DisjunctiveExpression__Group__0__Impl rule__DisjunctiveExpression__Group__1 ; + public final void rule__DisjunctiveExpression__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:2892:1: ( rule__PredicateDefinition__Group_0_1__1__Impl ) - // InternalSolverLanguageParser.g:2893:2: rule__PredicateDefinition__Group_0_1__1__Impl + // InternalSolverLanguageParser.g:4624:1: ( rule__DisjunctiveExpression__Group__0__Impl rule__DisjunctiveExpression__Group__1 ) + // InternalSolverLanguageParser.g:4625:2: rule__DisjunctiveExpression__Group__0__Impl rule__DisjunctiveExpression__Group__1 { + pushFollow(FOLLOW_26); + rule__DisjunctiveExpression__Group__0__Impl(); + + state._fsp--; + pushFollow(FOLLOW_2); - rule__PredicateDefinition__Group_0_1__1__Impl(); + rule__DisjunctiveExpression__Group__1(); state._fsp--; @@ -9321,46 +14487,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__PredicateDefinition__Group_0_1__1" + // $ANTLR end "rule__DisjunctiveExpression__Group__0" - // $ANTLR start "rule__PredicateDefinition__Group_0_1__1__Impl" - // InternalSolverLanguageParser.g:2899:1: rule__PredicateDefinition__Group_0_1__1__Impl : ( ( rule__PredicateDefinition__FunctionalAssignment_0_1_1 )? ) ; - public final void rule__PredicateDefinition__Group_0_1__1__Impl() throws RecognitionException { + // $ANTLR start "rule__DisjunctiveExpression__Group__0__Impl" + // InternalSolverLanguageParser.g:4632:1: rule__DisjunctiveExpression__Group__0__Impl : ( ruleConjunctiveExpression ) ; + public final void rule__DisjunctiveExpression__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:2903:1: ( ( ( rule__PredicateDefinition__FunctionalAssignment_0_1_1 )? ) ) - // InternalSolverLanguageParser.g:2904:1: ( ( rule__PredicateDefinition__FunctionalAssignment_0_1_1 )? ) + // InternalSolverLanguageParser.g:4636:1: ( ( ruleConjunctiveExpression ) ) + // InternalSolverLanguageParser.g:4637:1: ( ruleConjunctiveExpression ) { - // InternalSolverLanguageParser.g:2904:1: ( ( rule__PredicateDefinition__FunctionalAssignment_0_1_1 )? ) - // InternalSolverLanguageParser.g:2905:2: ( rule__PredicateDefinition__FunctionalAssignment_0_1_1 )? + // InternalSolverLanguageParser.g:4637:1: ( ruleConjunctiveExpression ) + // InternalSolverLanguageParser.g:4638:2: ruleConjunctiveExpression { - before(grammarAccess.getPredicateDefinitionAccess().getFunctionalAssignment_0_1_1()); - // InternalSolverLanguageParser.g:2906:2: ( rule__PredicateDefinition__FunctionalAssignment_0_1_1 )? - int alt29=2; - int LA29_0 = input.LA(1); - - if ( (LA29_0==Functional) ) { - alt29=1; - } - switch (alt29) { - case 1 : - // InternalSolverLanguageParser.g:2906:3: rule__PredicateDefinition__FunctionalAssignment_0_1_1 - { - pushFollow(FOLLOW_2); - rule__PredicateDefinition__FunctionalAssignment_0_1_1(); - - state._fsp--; - - - } - break; + before(grammarAccess.getDisjunctiveExpressionAccess().getConjunctiveExpressionParserRuleCall_0()); + pushFollow(FOLLOW_2); + ruleConjunctiveExpression(); - } + state._fsp--; - after(grammarAccess.getPredicateDefinitionAccess().getFunctionalAssignment_0_1_1()); + after(grammarAccess.getDisjunctiveExpressionAccess().getConjunctiveExpressionParserRuleCall_0()); } @@ -9379,26 +14528,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__PredicateDefinition__Group_0_1__1__Impl" + // $ANTLR end "rule__DisjunctiveExpression__Group__0__Impl" - // $ANTLR start "rule__UnnamedErrorPrediateDefinition__Group__0" - // InternalSolverLanguageParser.g:2915:1: rule__UnnamedErrorPrediateDefinition__Group__0 : rule__UnnamedErrorPrediateDefinition__Group__0__Impl rule__UnnamedErrorPrediateDefinition__Group__1 ; - public final void rule__UnnamedErrorPrediateDefinition__Group__0() throws RecognitionException { + // $ANTLR start "rule__DisjunctiveExpression__Group__1" + // InternalSolverLanguageParser.g:4647:1: rule__DisjunctiveExpression__Group__1 : rule__DisjunctiveExpression__Group__1__Impl ; + public final void rule__DisjunctiveExpression__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:2919:1: ( rule__UnnamedErrorPrediateDefinition__Group__0__Impl rule__UnnamedErrorPrediateDefinition__Group__1 ) - // InternalSolverLanguageParser.g:2920:2: rule__UnnamedErrorPrediateDefinition__Group__0__Impl rule__UnnamedErrorPrediateDefinition__Group__1 + // InternalSolverLanguageParser.g:4651:1: ( rule__DisjunctiveExpression__Group__1__Impl ) + // InternalSolverLanguageParser.g:4652:2: rule__DisjunctiveExpression__Group__1__Impl { - pushFollow(FOLLOW_12); - rule__UnnamedErrorPrediateDefinition__Group__0__Impl(); - - state._fsp--; - pushFollow(FOLLOW_2); - rule__UnnamedErrorPrediateDefinition__Group__1(); + rule__DisjunctiveExpression__Group__1__Impl(); state._fsp--; @@ -9417,25 +14561,46 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__UnnamedErrorPrediateDefinition__Group__0" + // $ANTLR end "rule__DisjunctiveExpression__Group__1" - // $ANTLR start "rule__UnnamedErrorPrediateDefinition__Group__0__Impl" - // InternalSolverLanguageParser.g:2927:1: rule__UnnamedErrorPrediateDefinition__Group__0__Impl : ( Error ) ; - public final void rule__UnnamedErrorPrediateDefinition__Group__0__Impl() throws RecognitionException { + // $ANTLR start "rule__DisjunctiveExpression__Group__1__Impl" + // InternalSolverLanguageParser.g:4658:1: rule__DisjunctiveExpression__Group__1__Impl : ( ( rule__DisjunctiveExpression__Alternatives_1 )? ) ; + public final void rule__DisjunctiveExpression__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:2931:1: ( ( Error ) ) - // InternalSolverLanguageParser.g:2932:1: ( Error ) + // InternalSolverLanguageParser.g:4662:1: ( ( ( rule__DisjunctiveExpression__Alternatives_1 )? ) ) + // InternalSolverLanguageParser.g:4663:1: ( ( rule__DisjunctiveExpression__Alternatives_1 )? ) { - // InternalSolverLanguageParser.g:2932:1: ( Error ) - // InternalSolverLanguageParser.g:2933:2: Error + // InternalSolverLanguageParser.g:4663:1: ( ( rule__DisjunctiveExpression__Alternatives_1 )? ) + // InternalSolverLanguageParser.g:4664:2: ( rule__DisjunctiveExpression__Alternatives_1 )? { - before(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getErrorKeyword_0()); - match(input,Error,FOLLOW_2); - after(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getErrorKeyword_0()); + before(grammarAccess.getDisjunctiveExpressionAccess().getAlternatives_1()); + // InternalSolverLanguageParser.g:4665:2: ( rule__DisjunctiveExpression__Alternatives_1 )? + int alt33=2; + int LA33_0 = input.LA(1); + + if ( (LA33_0==HyphenMinusGreaterThanSign||LA33_0==Semicolon) ) { + alt33=1; + } + switch (alt33) { + case 1 : + // InternalSolverLanguageParser.g:4665:3: rule__DisjunctiveExpression__Alternatives_1 + { + pushFollow(FOLLOW_2); + rule__DisjunctiveExpression__Alternatives_1(); + + state._fsp--; + + + } + break; + + } + + after(grammarAccess.getDisjunctiveExpressionAccess().getAlternatives_1()); } @@ -9454,26 +14619,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__UnnamedErrorPrediateDefinition__Group__0__Impl" + // $ANTLR end "rule__DisjunctiveExpression__Group__1__Impl" - // $ANTLR start "rule__UnnamedErrorPrediateDefinition__Group__1" - // InternalSolverLanguageParser.g:2942:1: rule__UnnamedErrorPrediateDefinition__Group__1 : rule__UnnamedErrorPrediateDefinition__Group__1__Impl rule__UnnamedErrorPrediateDefinition__Group__2 ; - public final void rule__UnnamedErrorPrediateDefinition__Group__1() throws RecognitionException { + // $ANTLR start "rule__DisjunctiveExpression__Group_1_0__0" + // InternalSolverLanguageParser.g:4674:1: rule__DisjunctiveExpression__Group_1_0__0 : rule__DisjunctiveExpression__Group_1_0__0__Impl rule__DisjunctiveExpression__Group_1_0__1 ; + public final void rule__DisjunctiveExpression__Group_1_0__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:2946:1: ( rule__UnnamedErrorPrediateDefinition__Group__1__Impl rule__UnnamedErrorPrediateDefinition__Group__2 ) - // InternalSolverLanguageParser.g:2947:2: rule__UnnamedErrorPrediateDefinition__Group__1__Impl rule__UnnamedErrorPrediateDefinition__Group__2 + // InternalSolverLanguageParser.g:4678:1: ( rule__DisjunctiveExpression__Group_1_0__0__Impl rule__DisjunctiveExpression__Group_1_0__1 ) + // InternalSolverLanguageParser.g:4679:2: rule__DisjunctiveExpression__Group_1_0__0__Impl rule__DisjunctiveExpression__Group_1_0__1 { - pushFollow(FOLLOW_8); - rule__UnnamedErrorPrediateDefinition__Group__1__Impl(); + pushFollow(FOLLOW_27); + rule__DisjunctiveExpression__Group_1_0__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__UnnamedErrorPrediateDefinition__Group__2(); + rule__DisjunctiveExpression__Group_1_0__1(); state._fsp--; @@ -9492,35 +14657,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__UnnamedErrorPrediateDefinition__Group__1" + // $ANTLR end "rule__DisjunctiveExpression__Group_1_0__0" - // $ANTLR start "rule__UnnamedErrorPrediateDefinition__Group__1__Impl" - // InternalSolverLanguageParser.g:2954:1: rule__UnnamedErrorPrediateDefinition__Group__1__Impl : ( ( rule__UnnamedErrorPrediateDefinition__ArgumentListAssignment_1 ) ) ; - public final void rule__UnnamedErrorPrediateDefinition__Group__1__Impl() throws RecognitionException { + // $ANTLR start "rule__DisjunctiveExpression__Group_1_0__0__Impl" + // InternalSolverLanguageParser.g:4686:1: rule__DisjunctiveExpression__Group_1_0__0__Impl : ( () ) ; + public final void rule__DisjunctiveExpression__Group_1_0__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:2958:1: ( ( ( rule__UnnamedErrorPrediateDefinition__ArgumentListAssignment_1 ) ) ) - // InternalSolverLanguageParser.g:2959:1: ( ( rule__UnnamedErrorPrediateDefinition__ArgumentListAssignment_1 ) ) + // InternalSolverLanguageParser.g:4690:1: ( ( () ) ) + // InternalSolverLanguageParser.g:4691:1: ( () ) { - // InternalSolverLanguageParser.g:2959:1: ( ( rule__UnnamedErrorPrediateDefinition__ArgumentListAssignment_1 ) ) - // InternalSolverLanguageParser.g:2960:2: ( rule__UnnamedErrorPrediateDefinition__ArgumentListAssignment_1 ) + // InternalSolverLanguageParser.g:4691:1: ( () ) + // InternalSolverLanguageParser.g:4692:2: () { - before(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getArgumentListAssignment_1()); - // InternalSolverLanguageParser.g:2961:2: ( rule__UnnamedErrorPrediateDefinition__ArgumentListAssignment_1 ) - // InternalSolverLanguageParser.g:2961:3: rule__UnnamedErrorPrediateDefinition__ArgumentListAssignment_1 + before(grammarAccess.getDisjunctiveExpressionAccess().getDisjunctionChildrenAction_1_0_0()); + // InternalSolverLanguageParser.g:4693:2: () + // InternalSolverLanguageParser.g:4693:3: { - pushFollow(FOLLOW_2); - rule__UnnamedErrorPrediateDefinition__ArgumentListAssignment_1(); - - state._fsp--; - - } - after(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getArgumentListAssignment_1()); + after(grammarAccess.getDisjunctiveExpressionAccess().getDisjunctionChildrenAction_1_0_0()); } @@ -9528,10 +14687,6 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } finally { restoreStackSize(stackSize); @@ -9539,26 +14694,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__UnnamedErrorPrediateDefinition__Group__1__Impl" + // $ANTLR end "rule__DisjunctiveExpression__Group_1_0__0__Impl" - // $ANTLR start "rule__UnnamedErrorPrediateDefinition__Group__2" - // InternalSolverLanguageParser.g:2969:1: rule__UnnamedErrorPrediateDefinition__Group__2 : rule__UnnamedErrorPrediateDefinition__Group__2__Impl rule__UnnamedErrorPrediateDefinition__Group__3 ; - public final void rule__UnnamedErrorPrediateDefinition__Group__2() throws RecognitionException { + // $ANTLR start "rule__DisjunctiveExpression__Group_1_0__1" + // InternalSolverLanguageParser.g:4701:1: rule__DisjunctiveExpression__Group_1_0__1 : rule__DisjunctiveExpression__Group_1_0__1__Impl ; + public final void rule__DisjunctiveExpression__Group_1_0__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:2973:1: ( rule__UnnamedErrorPrediateDefinition__Group__2__Impl rule__UnnamedErrorPrediateDefinition__Group__3 ) - // InternalSolverLanguageParser.g:2974:2: rule__UnnamedErrorPrediateDefinition__Group__2__Impl rule__UnnamedErrorPrediateDefinition__Group__3 + // InternalSolverLanguageParser.g:4705:1: ( rule__DisjunctiveExpression__Group_1_0__1__Impl ) + // InternalSolverLanguageParser.g:4706:2: rule__DisjunctiveExpression__Group_1_0__1__Impl { - pushFollow(FOLLOW_7); - rule__UnnamedErrorPrediateDefinition__Group__2__Impl(); - - state._fsp--; - pushFollow(FOLLOW_2); - rule__UnnamedErrorPrediateDefinition__Group__3(); + rule__DisjunctiveExpression__Group_1_0__1__Impl(); state._fsp--; @@ -9577,25 +14727,78 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__UnnamedErrorPrediateDefinition__Group__2" + // $ANTLR end "rule__DisjunctiveExpression__Group_1_0__1" - // $ANTLR start "rule__UnnamedErrorPrediateDefinition__Group__2__Impl" - // InternalSolverLanguageParser.g:2981:1: rule__UnnamedErrorPrediateDefinition__Group__2__Impl : ( ColonHyphenMinus ) ; - public final void rule__UnnamedErrorPrediateDefinition__Group__2__Impl() throws RecognitionException { + // $ANTLR start "rule__DisjunctiveExpression__Group_1_0__1__Impl" + // InternalSolverLanguageParser.g:4712:1: rule__DisjunctiveExpression__Group_1_0__1__Impl : ( ( ( rule__DisjunctiveExpression__Group_1_0_1__0 ) ) ( ( rule__DisjunctiveExpression__Group_1_0_1__0 )* ) ) ; + public final void rule__DisjunctiveExpression__Group_1_0__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:2985:1: ( ( ColonHyphenMinus ) ) - // InternalSolverLanguageParser.g:2986:1: ( ColonHyphenMinus ) + // InternalSolverLanguageParser.g:4716:1: ( ( ( ( rule__DisjunctiveExpression__Group_1_0_1__0 ) ) ( ( rule__DisjunctiveExpression__Group_1_0_1__0 )* ) ) ) + // InternalSolverLanguageParser.g:4717:1: ( ( ( rule__DisjunctiveExpression__Group_1_0_1__0 ) ) ( ( rule__DisjunctiveExpression__Group_1_0_1__0 )* ) ) { - // InternalSolverLanguageParser.g:2986:1: ( ColonHyphenMinus ) - // InternalSolverLanguageParser.g:2987:2: ColonHyphenMinus + // InternalSolverLanguageParser.g:4717:1: ( ( ( rule__DisjunctiveExpression__Group_1_0_1__0 ) ) ( ( rule__DisjunctiveExpression__Group_1_0_1__0 )* ) ) + // InternalSolverLanguageParser.g:4718:2: ( ( rule__DisjunctiveExpression__Group_1_0_1__0 ) ) ( ( rule__DisjunctiveExpression__Group_1_0_1__0 )* ) { - before(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getColonHyphenMinusKeyword_2()); - match(input,ColonHyphenMinus,FOLLOW_2); - after(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getColonHyphenMinusKeyword_2()); + // InternalSolverLanguageParser.g:4718:2: ( ( rule__DisjunctiveExpression__Group_1_0_1__0 ) ) + // InternalSolverLanguageParser.g:4719:3: ( rule__DisjunctiveExpression__Group_1_0_1__0 ) + { + before(grammarAccess.getDisjunctiveExpressionAccess().getGroup_1_0_1()); + // InternalSolverLanguageParser.g:4720:3: ( rule__DisjunctiveExpression__Group_1_0_1__0 ) + // InternalSolverLanguageParser.g:4720:4: rule__DisjunctiveExpression__Group_1_0_1__0 + { + pushFollow(FOLLOW_28); + rule__DisjunctiveExpression__Group_1_0_1__0(); + + state._fsp--; + + + } + + after(grammarAccess.getDisjunctiveExpressionAccess().getGroup_1_0_1()); + + } + + // InternalSolverLanguageParser.g:4723:2: ( ( rule__DisjunctiveExpression__Group_1_0_1__0 )* ) + // InternalSolverLanguageParser.g:4724:3: ( rule__DisjunctiveExpression__Group_1_0_1__0 )* + { + before(grammarAccess.getDisjunctiveExpressionAccess().getGroup_1_0_1()); + // InternalSolverLanguageParser.g:4725:3: ( rule__DisjunctiveExpression__Group_1_0_1__0 )* + loop34: + do { + int alt34=2; + int LA34_0 = input.LA(1); + + if ( (LA34_0==Semicolon) ) { + alt34=1; + } + + + switch (alt34) { + case 1 : + // InternalSolverLanguageParser.g:4725:4: rule__DisjunctiveExpression__Group_1_0_1__0 + { + pushFollow(FOLLOW_28); + rule__DisjunctiveExpression__Group_1_0_1__0(); + + state._fsp--; + + + } + break; + + default : + break loop34; + } + } while (true); + + after(grammarAccess.getDisjunctiveExpressionAccess().getGroup_1_0_1()); + + } + } @@ -9614,21 +14817,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__UnnamedErrorPrediateDefinition__Group__2__Impl" + // $ANTLR end "rule__DisjunctiveExpression__Group_1_0__1__Impl" - // $ANTLR start "rule__UnnamedErrorPrediateDefinition__Group__3" - // InternalSolverLanguageParser.g:2996:1: rule__UnnamedErrorPrediateDefinition__Group__3 : rule__UnnamedErrorPrediateDefinition__Group__3__Impl ; - public final void rule__UnnamedErrorPrediateDefinition__Group__3() throws RecognitionException { + // $ANTLR start "rule__DisjunctiveExpression__Group_1_0_1__0" + // InternalSolverLanguageParser.g:4735:1: rule__DisjunctiveExpression__Group_1_0_1__0 : rule__DisjunctiveExpression__Group_1_0_1__0__Impl rule__DisjunctiveExpression__Group_1_0_1__1 ; + public final void rule__DisjunctiveExpression__Group_1_0_1__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3000:1: ( rule__UnnamedErrorPrediateDefinition__Group__3__Impl ) - // InternalSolverLanguageParser.g:3001:2: rule__UnnamedErrorPrediateDefinition__Group__3__Impl + // InternalSolverLanguageParser.g:4739:1: ( rule__DisjunctiveExpression__Group_1_0_1__0__Impl rule__DisjunctiveExpression__Group_1_0_1__1 ) + // InternalSolverLanguageParser.g:4740:2: rule__DisjunctiveExpression__Group_1_0_1__0__Impl rule__DisjunctiveExpression__Group_1_0_1__1 { + pushFollow(FOLLOW_7); + rule__DisjunctiveExpression__Group_1_0_1__0__Impl(); + + state._fsp--; + pushFollow(FOLLOW_2); - rule__UnnamedErrorPrediateDefinition__Group__3__Impl(); + rule__DisjunctiveExpression__Group_1_0_1__1(); state._fsp--; @@ -9647,35 +14855,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__UnnamedErrorPrediateDefinition__Group__3" + // $ANTLR end "rule__DisjunctiveExpression__Group_1_0_1__0" - // $ANTLR start "rule__UnnamedErrorPrediateDefinition__Group__3__Impl" - // InternalSolverLanguageParser.g:3007:1: rule__UnnamedErrorPrediateDefinition__Group__3__Impl : ( ( rule__UnnamedErrorPrediateDefinition__BodyAssignment_3 ) ) ; - public final void rule__UnnamedErrorPrediateDefinition__Group__3__Impl() throws RecognitionException { + // $ANTLR start "rule__DisjunctiveExpression__Group_1_0_1__0__Impl" + // InternalSolverLanguageParser.g:4747:1: rule__DisjunctiveExpression__Group_1_0_1__0__Impl : ( Semicolon ) ; + public final void rule__DisjunctiveExpression__Group_1_0_1__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3011:1: ( ( ( rule__UnnamedErrorPrediateDefinition__BodyAssignment_3 ) ) ) - // InternalSolverLanguageParser.g:3012:1: ( ( rule__UnnamedErrorPrediateDefinition__BodyAssignment_3 ) ) + // InternalSolverLanguageParser.g:4751:1: ( ( Semicolon ) ) + // InternalSolverLanguageParser.g:4752:1: ( Semicolon ) { - // InternalSolverLanguageParser.g:3012:1: ( ( rule__UnnamedErrorPrediateDefinition__BodyAssignment_3 ) ) - // InternalSolverLanguageParser.g:3013:2: ( rule__UnnamedErrorPrediateDefinition__BodyAssignment_3 ) - { - before(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getBodyAssignment_3()); - // InternalSolverLanguageParser.g:3014:2: ( rule__UnnamedErrorPrediateDefinition__BodyAssignment_3 ) - // InternalSolverLanguageParser.g:3014:3: rule__UnnamedErrorPrediateDefinition__BodyAssignment_3 + // InternalSolverLanguageParser.g:4752:1: ( Semicolon ) + // InternalSolverLanguageParser.g:4753:2: Semicolon { - pushFollow(FOLLOW_2); - rule__UnnamedErrorPrediateDefinition__BodyAssignment_3(); - - state._fsp--; - - - } - - after(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getBodyAssignment_3()); + before(grammarAccess.getDisjunctiveExpressionAccess().getSemicolonKeyword_1_0_1_0()); + match(input,Semicolon,FOLLOW_2); + after(grammarAccess.getDisjunctiveExpressionAccess().getSemicolonKeyword_1_0_1_0()); } @@ -9694,26 +14892,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__UnnamedErrorPrediateDefinition__Group__3__Impl" + // $ANTLR end "rule__DisjunctiveExpression__Group_1_0_1__0__Impl" - // $ANTLR start "rule__DefaultDefinition__Group__0" - // InternalSolverLanguageParser.g:3023:1: rule__DefaultDefinition__Group__0 : rule__DefaultDefinition__Group__0__Impl rule__DefaultDefinition__Group__1 ; - public final void rule__DefaultDefinition__Group__0() throws RecognitionException { + // $ANTLR start "rule__DisjunctiveExpression__Group_1_0_1__1" + // InternalSolverLanguageParser.g:4762:1: rule__DisjunctiveExpression__Group_1_0_1__1 : rule__DisjunctiveExpression__Group_1_0_1__1__Impl ; + public final void rule__DisjunctiveExpression__Group_1_0_1__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3027:1: ( rule__DefaultDefinition__Group__0__Impl rule__DefaultDefinition__Group__1 ) - // InternalSolverLanguageParser.g:3028:2: rule__DefaultDefinition__Group__0__Impl rule__DefaultDefinition__Group__1 + // InternalSolverLanguageParser.g:4766:1: ( rule__DisjunctiveExpression__Group_1_0_1__1__Impl ) + // InternalSolverLanguageParser.g:4767:2: rule__DisjunctiveExpression__Group_1_0_1__1__Impl { - pushFollow(FOLLOW_9); - rule__DefaultDefinition__Group__0__Impl(); - - state._fsp--; - pushFollow(FOLLOW_2); - rule__DefaultDefinition__Group__1(); + rule__DisjunctiveExpression__Group_1_0_1__1__Impl(); state._fsp--; @@ -9732,25 +14925,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__DefaultDefinition__Group__0" + // $ANTLR end "rule__DisjunctiveExpression__Group_1_0_1__1" - // $ANTLR start "rule__DefaultDefinition__Group__0__Impl" - // InternalSolverLanguageParser.g:3035:1: rule__DefaultDefinition__Group__0__Impl : ( Default ) ; - public final void rule__DefaultDefinition__Group__0__Impl() throws RecognitionException { + // $ANTLR start "rule__DisjunctiveExpression__Group_1_0_1__1__Impl" + // InternalSolverLanguageParser.g:4773:1: rule__DisjunctiveExpression__Group_1_0_1__1__Impl : ( ( rule__DisjunctiveExpression__ChildrenAssignment_1_0_1_1 ) ) ; + public final void rule__DisjunctiveExpression__Group_1_0_1__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3039:1: ( ( Default ) ) - // InternalSolverLanguageParser.g:3040:1: ( Default ) + // InternalSolverLanguageParser.g:4777:1: ( ( ( rule__DisjunctiveExpression__ChildrenAssignment_1_0_1_1 ) ) ) + // InternalSolverLanguageParser.g:4778:1: ( ( rule__DisjunctiveExpression__ChildrenAssignment_1_0_1_1 ) ) { - // InternalSolverLanguageParser.g:3040:1: ( Default ) - // InternalSolverLanguageParser.g:3041:2: Default + // InternalSolverLanguageParser.g:4778:1: ( ( rule__DisjunctiveExpression__ChildrenAssignment_1_0_1_1 ) ) + // InternalSolverLanguageParser.g:4779:2: ( rule__DisjunctiveExpression__ChildrenAssignment_1_0_1_1 ) { - before(grammarAccess.getDefaultDefinitionAccess().getDefaultKeyword_0()); - match(input,Default,FOLLOW_2); - after(grammarAccess.getDefaultDefinitionAccess().getDefaultKeyword_0()); + before(grammarAccess.getDisjunctiveExpressionAccess().getChildrenAssignment_1_0_1_1()); + // InternalSolverLanguageParser.g:4780:2: ( rule__DisjunctiveExpression__ChildrenAssignment_1_0_1_1 ) + // InternalSolverLanguageParser.g:4780:3: rule__DisjunctiveExpression__ChildrenAssignment_1_0_1_1 + { + pushFollow(FOLLOW_2); + rule__DisjunctiveExpression__ChildrenAssignment_1_0_1_1(); + + state._fsp--; + + + } + + after(grammarAccess.getDisjunctiveExpressionAccess().getChildrenAssignment_1_0_1_1()); } @@ -9769,26 +14972,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__DefaultDefinition__Group__0__Impl" + // $ANTLR end "rule__DisjunctiveExpression__Group_1_0_1__1__Impl" - // $ANTLR start "rule__DefaultDefinition__Group__1" - // InternalSolverLanguageParser.g:3050:1: rule__DefaultDefinition__Group__1 : rule__DefaultDefinition__Group__1__Impl rule__DefaultDefinition__Group__2 ; - public final void rule__DefaultDefinition__Group__1() throws RecognitionException { + // $ANTLR start "rule__DisjunctiveExpression__Group_1_1__0" + // InternalSolverLanguageParser.g:4789:1: rule__DisjunctiveExpression__Group_1_1__0 : rule__DisjunctiveExpression__Group_1_1__0__Impl rule__DisjunctiveExpression__Group_1_1__1 ; + public final void rule__DisjunctiveExpression__Group_1_1__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3054:1: ( rule__DefaultDefinition__Group__1__Impl rule__DefaultDefinition__Group__2 ) - // InternalSolverLanguageParser.g:3055:2: rule__DefaultDefinition__Group__1__Impl rule__DefaultDefinition__Group__2 + // InternalSolverLanguageParser.g:4793:1: ( rule__DisjunctiveExpression__Group_1_1__0__Impl rule__DisjunctiveExpression__Group_1_1__1 ) + // InternalSolverLanguageParser.g:4794:2: rule__DisjunctiveExpression__Group_1_1__0__Impl rule__DisjunctiveExpression__Group_1_1__1 { - pushFollow(FOLLOW_6); - rule__DefaultDefinition__Group__1__Impl(); + pushFollow(FOLLOW_26); + rule__DisjunctiveExpression__Group_1_1__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__DefaultDefinition__Group__2(); + rule__DisjunctiveExpression__Group_1_1__1(); state._fsp--; @@ -9807,35 +15010,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__DefaultDefinition__Group__1" + // $ANTLR end "rule__DisjunctiveExpression__Group_1_1__0" - // $ANTLR start "rule__DefaultDefinition__Group__1__Impl" - // InternalSolverLanguageParser.g:3062:1: rule__DefaultDefinition__Group__1__Impl : ( ( rule__DefaultDefinition__HeadAssignment_1 ) ) ; - public final void rule__DefaultDefinition__Group__1__Impl() throws RecognitionException { + // $ANTLR start "rule__DisjunctiveExpression__Group_1_1__0__Impl" + // InternalSolverLanguageParser.g:4801:1: rule__DisjunctiveExpression__Group_1_1__0__Impl : ( () ) ; + public final void rule__DisjunctiveExpression__Group_1_1__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3066:1: ( ( ( rule__DefaultDefinition__HeadAssignment_1 ) ) ) - // InternalSolverLanguageParser.g:3067:1: ( ( rule__DefaultDefinition__HeadAssignment_1 ) ) + // InternalSolverLanguageParser.g:4805:1: ( ( () ) ) + // InternalSolverLanguageParser.g:4806:1: ( () ) { - // InternalSolverLanguageParser.g:3067:1: ( ( rule__DefaultDefinition__HeadAssignment_1 ) ) - // InternalSolverLanguageParser.g:3068:2: ( rule__DefaultDefinition__HeadAssignment_1 ) + // InternalSolverLanguageParser.g:4806:1: ( () ) + // InternalSolverLanguageParser.g:4807:2: () { - before(grammarAccess.getDefaultDefinitionAccess().getHeadAssignment_1()); - // InternalSolverLanguageParser.g:3069:2: ( rule__DefaultDefinition__HeadAssignment_1 ) - // InternalSolverLanguageParser.g:3069:3: rule__DefaultDefinition__HeadAssignment_1 + before(grammarAccess.getDisjunctiveExpressionAccess().getCaseConditionAction_1_1_0()); + // InternalSolverLanguageParser.g:4808:2: () + // InternalSolverLanguageParser.g:4808:3: { - pushFollow(FOLLOW_2); - rule__DefaultDefinition__HeadAssignment_1(); - - state._fsp--; - - } - after(grammarAccess.getDefaultDefinitionAccess().getHeadAssignment_1()); + after(grammarAccess.getDisjunctiveExpressionAccess().getCaseConditionAction_1_1_0()); } @@ -9843,10 +15040,6 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } finally { restoreStackSize(stackSize); @@ -9854,26 +15047,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__DefaultDefinition__Group__1__Impl" + // $ANTLR end "rule__DisjunctiveExpression__Group_1_1__0__Impl" - // $ANTLR start "rule__DefaultDefinition__Group__2" - // InternalSolverLanguageParser.g:3077:1: rule__DefaultDefinition__Group__2 : rule__DefaultDefinition__Group__2__Impl rule__DefaultDefinition__Group__3 ; - public final void rule__DefaultDefinition__Group__2() throws RecognitionException { + // $ANTLR start "rule__DisjunctiveExpression__Group_1_1__1" + // InternalSolverLanguageParser.g:4816:1: rule__DisjunctiveExpression__Group_1_1__1 : rule__DisjunctiveExpression__Group_1_1__1__Impl rule__DisjunctiveExpression__Group_1_1__2 ; + public final void rule__DisjunctiveExpression__Group_1_1__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3081:1: ( rule__DefaultDefinition__Group__2__Impl rule__DefaultDefinition__Group__3 ) - // InternalSolverLanguageParser.g:3082:2: rule__DefaultDefinition__Group__2__Impl rule__DefaultDefinition__Group__3 + // InternalSolverLanguageParser.g:4820:1: ( rule__DisjunctiveExpression__Group_1_1__1__Impl rule__DisjunctiveExpression__Group_1_1__2 ) + // InternalSolverLanguageParser.g:4821:2: rule__DisjunctiveExpression__Group_1_1__1__Impl rule__DisjunctiveExpression__Group_1_1__2 { pushFollow(FOLLOW_7); - rule__DefaultDefinition__Group__2__Impl(); + rule__DisjunctiveExpression__Group_1_1__1__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__DefaultDefinition__Group__3(); + rule__DisjunctiveExpression__Group_1_1__2(); state._fsp--; @@ -9892,25 +15085,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__DefaultDefinition__Group__2" + // $ANTLR end "rule__DisjunctiveExpression__Group_1_1__1" - // $ANTLR start "rule__DefaultDefinition__Group__2__Impl" - // InternalSolverLanguageParser.g:3089:1: rule__DefaultDefinition__Group__2__Impl : ( Colon ) ; - public final void rule__DefaultDefinition__Group__2__Impl() throws RecognitionException { + // $ANTLR start "rule__DisjunctiveExpression__Group_1_1__1__Impl" + // InternalSolverLanguageParser.g:4828:1: rule__DisjunctiveExpression__Group_1_1__1__Impl : ( HyphenMinusGreaterThanSign ) ; + public final void rule__DisjunctiveExpression__Group_1_1__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3093:1: ( ( Colon ) ) - // InternalSolverLanguageParser.g:3094:1: ( Colon ) + // InternalSolverLanguageParser.g:4832:1: ( ( HyphenMinusGreaterThanSign ) ) + // InternalSolverLanguageParser.g:4833:1: ( HyphenMinusGreaterThanSign ) { - // InternalSolverLanguageParser.g:3094:1: ( Colon ) - // InternalSolverLanguageParser.g:3095:2: Colon + // InternalSolverLanguageParser.g:4833:1: ( HyphenMinusGreaterThanSign ) + // InternalSolverLanguageParser.g:4834:2: HyphenMinusGreaterThanSign { - before(grammarAccess.getDefaultDefinitionAccess().getColonKeyword_2()); - match(input,Colon,FOLLOW_2); - after(grammarAccess.getDefaultDefinitionAccess().getColonKeyword_2()); + before(grammarAccess.getDisjunctiveExpressionAccess().getHyphenMinusGreaterThanSignKeyword_1_1_1()); + match(input,HyphenMinusGreaterThanSign,FOLLOW_2); + after(grammarAccess.getDisjunctiveExpressionAccess().getHyphenMinusGreaterThanSignKeyword_1_1_1()); } @@ -9929,21 +15122,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__DefaultDefinition__Group__2__Impl" + // $ANTLR end "rule__DisjunctiveExpression__Group_1_1__1__Impl" - // $ANTLR start "rule__DefaultDefinition__Group__3" - // InternalSolverLanguageParser.g:3104:1: rule__DefaultDefinition__Group__3 : rule__DefaultDefinition__Group__3__Impl ; - public final void rule__DefaultDefinition__Group__3() throws RecognitionException { + // $ANTLR start "rule__DisjunctiveExpression__Group_1_1__2" + // InternalSolverLanguageParser.g:4843:1: rule__DisjunctiveExpression__Group_1_1__2 : rule__DisjunctiveExpression__Group_1_1__2__Impl rule__DisjunctiveExpression__Group_1_1__3 ; + public final void rule__DisjunctiveExpression__Group_1_1__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3108:1: ( rule__DefaultDefinition__Group__3__Impl ) - // InternalSolverLanguageParser.g:3109:2: rule__DefaultDefinition__Group__3__Impl + // InternalSolverLanguageParser.g:4847:1: ( rule__DisjunctiveExpression__Group_1_1__2__Impl rule__DisjunctiveExpression__Group_1_1__3 ) + // InternalSolverLanguageParser.g:4848:2: rule__DisjunctiveExpression__Group_1_1__2__Impl rule__DisjunctiveExpression__Group_1_1__3 { + pushFollow(FOLLOW_27); + rule__DisjunctiveExpression__Group_1_1__2__Impl(); + + state._fsp--; + pushFollow(FOLLOW_2); - rule__DefaultDefinition__Group__3__Impl(); + rule__DisjunctiveExpression__Group_1_1__3(); state._fsp--; @@ -9962,35 +15160,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__DefaultDefinition__Group__3" + // $ANTLR end "rule__DisjunctiveExpression__Group_1_1__2" - // $ANTLR start "rule__DefaultDefinition__Group__3__Impl" - // InternalSolverLanguageParser.g:3115:1: rule__DefaultDefinition__Group__3__Impl : ( ( rule__DefaultDefinition__RangeAssignment_3 ) ) ; - public final void rule__DefaultDefinition__Group__3__Impl() throws RecognitionException { + // $ANTLR start "rule__DisjunctiveExpression__Group_1_1__2__Impl" + // InternalSolverLanguageParser.g:4855:1: rule__DisjunctiveExpression__Group_1_1__2__Impl : ( ( rule__DisjunctiveExpression__BodyAssignment_1_1_2 ) ) ; + public final void rule__DisjunctiveExpression__Group_1_1__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3119:1: ( ( ( rule__DefaultDefinition__RangeAssignment_3 ) ) ) - // InternalSolverLanguageParser.g:3120:1: ( ( rule__DefaultDefinition__RangeAssignment_3 ) ) + // InternalSolverLanguageParser.g:4859:1: ( ( ( rule__DisjunctiveExpression__BodyAssignment_1_1_2 ) ) ) + // InternalSolverLanguageParser.g:4860:1: ( ( rule__DisjunctiveExpression__BodyAssignment_1_1_2 ) ) { - // InternalSolverLanguageParser.g:3120:1: ( ( rule__DefaultDefinition__RangeAssignment_3 ) ) - // InternalSolverLanguageParser.g:3121:2: ( rule__DefaultDefinition__RangeAssignment_3 ) + // InternalSolverLanguageParser.g:4860:1: ( ( rule__DisjunctiveExpression__BodyAssignment_1_1_2 ) ) + // InternalSolverLanguageParser.g:4861:2: ( rule__DisjunctiveExpression__BodyAssignment_1_1_2 ) { - before(grammarAccess.getDefaultDefinitionAccess().getRangeAssignment_3()); - // InternalSolverLanguageParser.g:3122:2: ( rule__DefaultDefinition__RangeAssignment_3 ) - // InternalSolverLanguageParser.g:3122:3: rule__DefaultDefinition__RangeAssignment_3 + before(grammarAccess.getDisjunctiveExpressionAccess().getBodyAssignment_1_1_2()); + // InternalSolverLanguageParser.g:4862:2: ( rule__DisjunctiveExpression__BodyAssignment_1_1_2 ) + // InternalSolverLanguageParser.g:4862:3: rule__DisjunctiveExpression__BodyAssignment_1_1_2 { pushFollow(FOLLOW_2); - rule__DefaultDefinition__RangeAssignment_3(); + rule__DisjunctiveExpression__BodyAssignment_1_1_2(); state._fsp--; } - after(grammarAccess.getDefaultDefinitionAccess().getRangeAssignment_3()); + after(grammarAccess.getDisjunctiveExpressionAccess().getBodyAssignment_1_1_2()); } @@ -10009,26 +15207,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__DefaultDefinition__Group__3__Impl" - + // $ANTLR end "rule__DisjunctiveExpression__Group_1_1__2__Impl" - // $ANTLR start "rule__ExternPredicateDefinition__Group__0" - // InternalSolverLanguageParser.g:3131:1: rule__ExternPredicateDefinition__Group__0 : rule__ExternPredicateDefinition__Group__0__Impl rule__ExternPredicateDefinition__Group__1 ; - public final void rule__ExternPredicateDefinition__Group__0() throws RecognitionException { + + // $ANTLR start "rule__DisjunctiveExpression__Group_1_1__3" + // InternalSolverLanguageParser.g:4870:1: rule__DisjunctiveExpression__Group_1_1__3 : rule__DisjunctiveExpression__Group_1_1__3__Impl rule__DisjunctiveExpression__Group_1_1__4 ; + public final void rule__DisjunctiveExpression__Group_1_1__3() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3135:1: ( rule__ExternPredicateDefinition__Group__0__Impl rule__ExternPredicateDefinition__Group__1 ) - // InternalSolverLanguageParser.g:3136:2: rule__ExternPredicateDefinition__Group__0__Impl rule__ExternPredicateDefinition__Group__1 + // InternalSolverLanguageParser.g:4874:1: ( rule__DisjunctiveExpression__Group_1_1__3__Impl rule__DisjunctiveExpression__Group_1_1__4 ) + // InternalSolverLanguageParser.g:4875:2: rule__DisjunctiveExpression__Group_1_1__3__Impl rule__DisjunctiveExpression__Group_1_1__4 { - pushFollow(FOLLOW_9); - rule__ExternPredicateDefinition__Group__0__Impl(); + pushFollow(FOLLOW_27); + rule__DisjunctiveExpression__Group_1_1__3__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__ExternPredicateDefinition__Group__1(); + rule__DisjunctiveExpression__Group_1_1__4(); state._fsp--; @@ -10047,25 +15245,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ExternPredicateDefinition__Group__0" + // $ANTLR end "rule__DisjunctiveExpression__Group_1_1__3" - // $ANTLR start "rule__ExternPredicateDefinition__Group__0__Impl" - // InternalSolverLanguageParser.g:3143:1: rule__ExternPredicateDefinition__Group__0__Impl : ( Extern ) ; - public final void rule__ExternPredicateDefinition__Group__0__Impl() throws RecognitionException { + // $ANTLR start "rule__DisjunctiveExpression__Group_1_1__3__Impl" + // InternalSolverLanguageParser.g:4882:1: rule__DisjunctiveExpression__Group_1_1__3__Impl : ( () ) ; + public final void rule__DisjunctiveExpression__Group_1_1__3__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3147:1: ( ( Extern ) ) - // InternalSolverLanguageParser.g:3148:1: ( Extern ) + // InternalSolverLanguageParser.g:4886:1: ( ( () ) ) + // InternalSolverLanguageParser.g:4887:1: ( () ) { - // InternalSolverLanguageParser.g:3148:1: ( Extern ) - // InternalSolverLanguageParser.g:3149:2: Extern + // InternalSolverLanguageParser.g:4887:1: ( () ) + // InternalSolverLanguageParser.g:4888:2: () { - before(grammarAccess.getExternPredicateDefinitionAccess().getExternKeyword_0()); - match(input,Extern,FOLLOW_2); - after(grammarAccess.getExternPredicateDefinitionAccess().getExternKeyword_0()); + before(grammarAccess.getDisjunctiveExpressionAccess().getSwitchCasesAction_1_1_3()); + // InternalSolverLanguageParser.g:4889:2: () + // InternalSolverLanguageParser.g:4889:3: + { + } + + after(grammarAccess.getDisjunctiveExpressionAccess().getSwitchCasesAction_1_1_3()); } @@ -10073,10 +15275,6 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } finally { restoreStackSize(stackSize); @@ -10084,21 +15282,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ExternPredicateDefinition__Group__0__Impl" + // $ANTLR end "rule__DisjunctiveExpression__Group_1_1__3__Impl" - // $ANTLR start "rule__ExternPredicateDefinition__Group__1" - // InternalSolverLanguageParser.g:3158:1: rule__ExternPredicateDefinition__Group__1 : rule__ExternPredicateDefinition__Group__1__Impl ; - public final void rule__ExternPredicateDefinition__Group__1() throws RecognitionException { + // $ANTLR start "rule__DisjunctiveExpression__Group_1_1__4" + // InternalSolverLanguageParser.g:4897:1: rule__DisjunctiveExpression__Group_1_1__4 : rule__DisjunctiveExpression__Group_1_1__4__Impl ; + public final void rule__DisjunctiveExpression__Group_1_1__4() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3162:1: ( rule__ExternPredicateDefinition__Group__1__Impl ) - // InternalSolverLanguageParser.g:3163:2: rule__ExternPredicateDefinition__Group__1__Impl + // InternalSolverLanguageParser.g:4901:1: ( rule__DisjunctiveExpression__Group_1_1__4__Impl ) + // InternalSolverLanguageParser.g:4902:2: rule__DisjunctiveExpression__Group_1_1__4__Impl { pushFollow(FOLLOW_2); - rule__ExternPredicateDefinition__Group__1__Impl(); + rule__DisjunctiveExpression__Group_1_1__4__Impl(); state._fsp--; @@ -10117,35 +15315,53 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ExternPredicateDefinition__Group__1" + // $ANTLR end "rule__DisjunctiveExpression__Group_1_1__4" - // $ANTLR start "rule__ExternPredicateDefinition__Group__1__Impl" - // InternalSolverLanguageParser.g:3169:1: rule__ExternPredicateDefinition__Group__1__Impl : ( ( rule__ExternPredicateDefinition__HeadAssignment_1 ) ) ; - public final void rule__ExternPredicateDefinition__Group__1__Impl() throws RecognitionException { + // $ANTLR start "rule__DisjunctiveExpression__Group_1_1__4__Impl" + // InternalSolverLanguageParser.g:4908:1: rule__DisjunctiveExpression__Group_1_1__4__Impl : ( ( rule__DisjunctiveExpression__Group_1_1_4__0 )* ) ; + public final void rule__DisjunctiveExpression__Group_1_1__4__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3173:1: ( ( ( rule__ExternPredicateDefinition__HeadAssignment_1 ) ) ) - // InternalSolverLanguageParser.g:3174:1: ( ( rule__ExternPredicateDefinition__HeadAssignment_1 ) ) + // InternalSolverLanguageParser.g:4912:1: ( ( ( rule__DisjunctiveExpression__Group_1_1_4__0 )* ) ) + // InternalSolverLanguageParser.g:4913:1: ( ( rule__DisjunctiveExpression__Group_1_1_4__0 )* ) { - // InternalSolverLanguageParser.g:3174:1: ( ( rule__ExternPredicateDefinition__HeadAssignment_1 ) ) - // InternalSolverLanguageParser.g:3175:2: ( rule__ExternPredicateDefinition__HeadAssignment_1 ) + // InternalSolverLanguageParser.g:4913:1: ( ( rule__DisjunctiveExpression__Group_1_1_4__0 )* ) + // InternalSolverLanguageParser.g:4914:2: ( rule__DisjunctiveExpression__Group_1_1_4__0 )* { - before(grammarAccess.getExternPredicateDefinitionAccess().getHeadAssignment_1()); - // InternalSolverLanguageParser.g:3176:2: ( rule__ExternPredicateDefinition__HeadAssignment_1 ) - // InternalSolverLanguageParser.g:3176:3: rule__ExternPredicateDefinition__HeadAssignment_1 - { - pushFollow(FOLLOW_2); - rule__ExternPredicateDefinition__HeadAssignment_1(); + before(grammarAccess.getDisjunctiveExpressionAccess().getGroup_1_1_4()); + // InternalSolverLanguageParser.g:4915:2: ( rule__DisjunctiveExpression__Group_1_1_4__0 )* + loop35: + do { + int alt35=2; + int LA35_0 = input.LA(1); - state._fsp--; + if ( (LA35_0==Semicolon) ) { + alt35=1; + } - } + switch (alt35) { + case 1 : + // InternalSolverLanguageParser.g:4915:3: rule__DisjunctiveExpression__Group_1_1_4__0 + { + pushFollow(FOLLOW_28); + rule__DisjunctiveExpression__Group_1_1_4__0(); + + state._fsp--; + + + } + break; - after(grammarAccess.getExternPredicateDefinitionAccess().getHeadAssignment_1()); + default : + break loop35; + } + } while (true); + + after(grammarAccess.getDisjunctiveExpressionAccess().getGroup_1_1_4()); } @@ -10164,26 +15380,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ExternPredicateDefinition__Group__1__Impl" + // $ANTLR end "rule__DisjunctiveExpression__Group_1_1__4__Impl" - // $ANTLR start "rule__MetricDefinition__Group__0" - // InternalSolverLanguageParser.g:3185:1: rule__MetricDefinition__Group__0 : rule__MetricDefinition__Group__0__Impl rule__MetricDefinition__Group__1 ; - public final void rule__MetricDefinition__Group__0() throws RecognitionException { + // $ANTLR start "rule__DisjunctiveExpression__Group_1_1_4__0" + // InternalSolverLanguageParser.g:4924:1: rule__DisjunctiveExpression__Group_1_1_4__0 : rule__DisjunctiveExpression__Group_1_1_4__0__Impl rule__DisjunctiveExpression__Group_1_1_4__1 ; + public final void rule__DisjunctiveExpression__Group_1_1_4__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3189:1: ( rule__MetricDefinition__Group__0__Impl rule__MetricDefinition__Group__1 ) - // InternalSolverLanguageParser.g:3190:2: rule__MetricDefinition__Group__0__Impl rule__MetricDefinition__Group__1 + // InternalSolverLanguageParser.g:4928:1: ( rule__DisjunctiveExpression__Group_1_1_4__0__Impl rule__DisjunctiveExpression__Group_1_1_4__1 ) + // InternalSolverLanguageParser.g:4929:2: rule__DisjunctiveExpression__Group_1_1_4__0__Impl rule__DisjunctiveExpression__Group_1_1_4__1 { pushFollow(FOLLOW_7); - rule__MetricDefinition__Group__0__Impl(); + rule__DisjunctiveExpression__Group_1_1_4__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__MetricDefinition__Group__1(); + rule__DisjunctiveExpression__Group_1_1_4__1(); state._fsp--; @@ -10202,35 +15418,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__MetricDefinition__Group__0" + // $ANTLR end "rule__DisjunctiveExpression__Group_1_1_4__0" - // $ANTLR start "rule__MetricDefinition__Group__0__Impl" - // InternalSolverLanguageParser.g:3197:1: rule__MetricDefinition__Group__0__Impl : ( ( rule__MetricDefinition__TypeAssignment_0 ) ) ; - public final void rule__MetricDefinition__Group__0__Impl() throws RecognitionException { + // $ANTLR start "rule__DisjunctiveExpression__Group_1_1_4__0__Impl" + // InternalSolverLanguageParser.g:4936:1: rule__DisjunctiveExpression__Group_1_1_4__0__Impl : ( Semicolon ) ; + public final void rule__DisjunctiveExpression__Group_1_1_4__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3201:1: ( ( ( rule__MetricDefinition__TypeAssignment_0 ) ) ) - // InternalSolverLanguageParser.g:3202:1: ( ( rule__MetricDefinition__TypeAssignment_0 ) ) - { - // InternalSolverLanguageParser.g:3202:1: ( ( rule__MetricDefinition__TypeAssignment_0 ) ) - // InternalSolverLanguageParser.g:3203:2: ( rule__MetricDefinition__TypeAssignment_0 ) + // InternalSolverLanguageParser.g:4940:1: ( ( Semicolon ) ) + // InternalSolverLanguageParser.g:4941:1: ( Semicolon ) { - before(grammarAccess.getMetricDefinitionAccess().getTypeAssignment_0()); - // InternalSolverLanguageParser.g:3204:2: ( rule__MetricDefinition__TypeAssignment_0 ) - // InternalSolverLanguageParser.g:3204:3: rule__MetricDefinition__TypeAssignment_0 + // InternalSolverLanguageParser.g:4941:1: ( Semicolon ) + // InternalSolverLanguageParser.g:4942:2: Semicolon { - pushFollow(FOLLOW_2); - rule__MetricDefinition__TypeAssignment_0(); - - state._fsp--; - - - } - - after(grammarAccess.getMetricDefinitionAccess().getTypeAssignment_0()); + before(grammarAccess.getDisjunctiveExpressionAccess().getSemicolonKeyword_1_1_4_0()); + match(input,Semicolon,FOLLOW_2); + after(grammarAccess.getDisjunctiveExpressionAccess().getSemicolonKeyword_1_1_4_0()); } @@ -10249,26 +15455,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__MetricDefinition__Group__0__Impl" + // $ANTLR end "rule__DisjunctiveExpression__Group_1_1_4__0__Impl" - // $ANTLR start "rule__MetricDefinition__Group__1" - // InternalSolverLanguageParser.g:3212:1: rule__MetricDefinition__Group__1 : rule__MetricDefinition__Group__1__Impl rule__MetricDefinition__Group__2 ; - public final void rule__MetricDefinition__Group__1() throws RecognitionException { + // $ANTLR start "rule__DisjunctiveExpression__Group_1_1_4__1" + // InternalSolverLanguageParser.g:4951:1: rule__DisjunctiveExpression__Group_1_1_4__1 : rule__DisjunctiveExpression__Group_1_1_4__1__Impl ; + public final void rule__DisjunctiveExpression__Group_1_1_4__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3216:1: ( rule__MetricDefinition__Group__1__Impl rule__MetricDefinition__Group__2 ) - // InternalSolverLanguageParser.g:3217:2: rule__MetricDefinition__Group__1__Impl rule__MetricDefinition__Group__2 + // InternalSolverLanguageParser.g:4955:1: ( rule__DisjunctiveExpression__Group_1_1_4__1__Impl ) + // InternalSolverLanguageParser.g:4956:2: rule__DisjunctiveExpression__Group_1_1_4__1__Impl { - pushFollow(FOLLOW_13); - rule__MetricDefinition__Group__1__Impl(); - - state._fsp--; - pushFollow(FOLLOW_2); - rule__MetricDefinition__Group__2(); + rule__DisjunctiveExpression__Group_1_1_4__1__Impl(); state._fsp--; @@ -10287,35 +15488,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__MetricDefinition__Group__1" + // $ANTLR end "rule__DisjunctiveExpression__Group_1_1_4__1" - // $ANTLR start "rule__MetricDefinition__Group__1__Impl" - // InternalSolverLanguageParser.g:3224:1: rule__MetricDefinition__Group__1__Impl : ( ( rule__MetricDefinition__HeadAssignment_1 ) ) ; - public final void rule__MetricDefinition__Group__1__Impl() throws RecognitionException { + // $ANTLR start "rule__DisjunctiveExpression__Group_1_1_4__1__Impl" + // InternalSolverLanguageParser.g:4962:1: rule__DisjunctiveExpression__Group_1_1_4__1__Impl : ( ( rule__DisjunctiveExpression__CasesAssignment_1_1_4_1 ) ) ; + public final void rule__DisjunctiveExpression__Group_1_1_4__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3228:1: ( ( ( rule__MetricDefinition__HeadAssignment_1 ) ) ) - // InternalSolverLanguageParser.g:3229:1: ( ( rule__MetricDefinition__HeadAssignment_1 ) ) + // InternalSolverLanguageParser.g:4966:1: ( ( ( rule__DisjunctiveExpression__CasesAssignment_1_1_4_1 ) ) ) + // InternalSolverLanguageParser.g:4967:1: ( ( rule__DisjunctiveExpression__CasesAssignment_1_1_4_1 ) ) { - // InternalSolverLanguageParser.g:3229:1: ( ( rule__MetricDefinition__HeadAssignment_1 ) ) - // InternalSolverLanguageParser.g:3230:2: ( rule__MetricDefinition__HeadAssignment_1 ) + // InternalSolverLanguageParser.g:4967:1: ( ( rule__DisjunctiveExpression__CasesAssignment_1_1_4_1 ) ) + // InternalSolverLanguageParser.g:4968:2: ( rule__DisjunctiveExpression__CasesAssignment_1_1_4_1 ) { - before(grammarAccess.getMetricDefinitionAccess().getHeadAssignment_1()); - // InternalSolverLanguageParser.g:3231:2: ( rule__MetricDefinition__HeadAssignment_1 ) - // InternalSolverLanguageParser.g:3231:3: rule__MetricDefinition__HeadAssignment_1 + before(grammarAccess.getDisjunctiveExpressionAccess().getCasesAssignment_1_1_4_1()); + // InternalSolverLanguageParser.g:4969:2: ( rule__DisjunctiveExpression__CasesAssignment_1_1_4_1 ) + // InternalSolverLanguageParser.g:4969:3: rule__DisjunctiveExpression__CasesAssignment_1_1_4_1 { pushFollow(FOLLOW_2); - rule__MetricDefinition__HeadAssignment_1(); + rule__DisjunctiveExpression__CasesAssignment_1_1_4_1(); state._fsp--; } - after(grammarAccess.getMetricDefinitionAccess().getHeadAssignment_1()); + after(grammarAccess.getDisjunctiveExpressionAccess().getCasesAssignment_1_1_4_1()); } @@ -10334,26 +15535,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__MetricDefinition__Group__1__Impl" + // $ANTLR end "rule__DisjunctiveExpression__Group_1_1_4__1__Impl" - // $ANTLR start "rule__MetricDefinition__Group__2" - // InternalSolverLanguageParser.g:3239:1: rule__MetricDefinition__Group__2 : rule__MetricDefinition__Group__2__Impl rule__MetricDefinition__Group__3 ; - public final void rule__MetricDefinition__Group__2() throws RecognitionException { + // $ANTLR start "rule__Case__Group__0" + // InternalSolverLanguageParser.g:4978:1: rule__Case__Group__0 : rule__Case__Group__0__Impl rule__Case__Group__1 ; + public final void rule__Case__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3243:1: ( rule__MetricDefinition__Group__2__Impl rule__MetricDefinition__Group__3 ) - // InternalSolverLanguageParser.g:3244:2: rule__MetricDefinition__Group__2__Impl rule__MetricDefinition__Group__3 + // InternalSolverLanguageParser.g:4982:1: ( rule__Case__Group__0__Impl rule__Case__Group__1 ) + // InternalSolverLanguageParser.g:4983:2: rule__Case__Group__0__Impl rule__Case__Group__1 { - pushFollow(FOLLOW_7); - rule__MetricDefinition__Group__2__Impl(); + pushFollow(FOLLOW_29); + rule__Case__Group__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__MetricDefinition__Group__3(); + rule__Case__Group__1(); state._fsp--; @@ -10372,25 +15573,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__MetricDefinition__Group__2" + // $ANTLR end "rule__Case__Group__0" - // $ANTLR start "rule__MetricDefinition__Group__2__Impl" - // InternalSolverLanguageParser.g:3251:1: rule__MetricDefinition__Group__2__Impl : ( EqualsSign ) ; - public final void rule__MetricDefinition__Group__2__Impl() throws RecognitionException { + // $ANTLR start "rule__Case__Group__0__Impl" + // InternalSolverLanguageParser.g:4990:1: rule__Case__Group__0__Impl : ( ( rule__Case__ConditionAssignment_0 ) ) ; + public final void rule__Case__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3255:1: ( ( EqualsSign ) ) - // InternalSolverLanguageParser.g:3256:1: ( EqualsSign ) + // InternalSolverLanguageParser.g:4994:1: ( ( ( rule__Case__ConditionAssignment_0 ) ) ) + // InternalSolverLanguageParser.g:4995:1: ( ( rule__Case__ConditionAssignment_0 ) ) { - // InternalSolverLanguageParser.g:3256:1: ( EqualsSign ) - // InternalSolverLanguageParser.g:3257:2: EqualsSign + // InternalSolverLanguageParser.g:4995:1: ( ( rule__Case__ConditionAssignment_0 ) ) + // InternalSolverLanguageParser.g:4996:2: ( rule__Case__ConditionAssignment_0 ) { - before(grammarAccess.getMetricDefinitionAccess().getEqualsSignKeyword_2()); - match(input,EqualsSign,FOLLOW_2); - after(grammarAccess.getMetricDefinitionAccess().getEqualsSignKeyword_2()); + before(grammarAccess.getCaseAccess().getConditionAssignment_0()); + // InternalSolverLanguageParser.g:4997:2: ( rule__Case__ConditionAssignment_0 ) + // InternalSolverLanguageParser.g:4997:3: rule__Case__ConditionAssignment_0 + { + pushFollow(FOLLOW_2); + rule__Case__ConditionAssignment_0(); + + state._fsp--; + + + } + + after(grammarAccess.getCaseAccess().getConditionAssignment_0()); } @@ -10409,21 +15620,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__MetricDefinition__Group__2__Impl" + // $ANTLR end "rule__Case__Group__0__Impl" - // $ANTLR start "rule__MetricDefinition__Group__3" - // InternalSolverLanguageParser.g:3266:1: rule__MetricDefinition__Group__3 : rule__MetricDefinition__Group__3__Impl ; - public final void rule__MetricDefinition__Group__3() throws RecognitionException { + // $ANTLR start "rule__Case__Group__1" + // InternalSolverLanguageParser.g:5005:1: rule__Case__Group__1 : rule__Case__Group__1__Impl rule__Case__Group__2 ; + public final void rule__Case__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3270:1: ( rule__MetricDefinition__Group__3__Impl ) - // InternalSolverLanguageParser.g:3271:2: rule__MetricDefinition__Group__3__Impl + // InternalSolverLanguageParser.g:5009:1: ( rule__Case__Group__1__Impl rule__Case__Group__2 ) + // InternalSolverLanguageParser.g:5010:2: rule__Case__Group__1__Impl rule__Case__Group__2 { + pushFollow(FOLLOW_7); + rule__Case__Group__1__Impl(); + + state._fsp--; + pushFollow(FOLLOW_2); - rule__MetricDefinition__Group__3__Impl(); + rule__Case__Group__2(); state._fsp--; @@ -10442,35 +15658,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__MetricDefinition__Group__3" + // $ANTLR end "rule__Case__Group__1" - // $ANTLR start "rule__MetricDefinition__Group__3__Impl" - // InternalSolverLanguageParser.g:3277:1: rule__MetricDefinition__Group__3__Impl : ( ( rule__MetricDefinition__BodyAssignment_3 ) ) ; - public final void rule__MetricDefinition__Group__3__Impl() throws RecognitionException { + // $ANTLR start "rule__Case__Group__1__Impl" + // InternalSolverLanguageParser.g:5017:1: rule__Case__Group__1__Impl : ( HyphenMinusGreaterThanSign ) ; + public final void rule__Case__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3281:1: ( ( ( rule__MetricDefinition__BodyAssignment_3 ) ) ) - // InternalSolverLanguageParser.g:3282:1: ( ( rule__MetricDefinition__BodyAssignment_3 ) ) - { - // InternalSolverLanguageParser.g:3282:1: ( ( rule__MetricDefinition__BodyAssignment_3 ) ) - // InternalSolverLanguageParser.g:3283:2: ( rule__MetricDefinition__BodyAssignment_3 ) + // InternalSolverLanguageParser.g:5021:1: ( ( HyphenMinusGreaterThanSign ) ) + // InternalSolverLanguageParser.g:5022:1: ( HyphenMinusGreaterThanSign ) { - before(grammarAccess.getMetricDefinitionAccess().getBodyAssignment_3()); - // InternalSolverLanguageParser.g:3284:2: ( rule__MetricDefinition__BodyAssignment_3 ) - // InternalSolverLanguageParser.g:3284:3: rule__MetricDefinition__BodyAssignment_3 + // InternalSolverLanguageParser.g:5022:1: ( HyphenMinusGreaterThanSign ) + // InternalSolverLanguageParser.g:5023:2: HyphenMinusGreaterThanSign { - pushFollow(FOLLOW_2); - rule__MetricDefinition__BodyAssignment_3(); - - state._fsp--; - - - } - - after(grammarAccess.getMetricDefinitionAccess().getBodyAssignment_3()); + before(grammarAccess.getCaseAccess().getHyphenMinusGreaterThanSignKeyword_1()); + match(input,HyphenMinusGreaterThanSign,FOLLOW_2); + after(grammarAccess.getCaseAccess().getHyphenMinusGreaterThanSignKeyword_1()); } @@ -10489,26 +15695,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__MetricDefinition__Group__3__Impl" + // $ANTLR end "rule__Case__Group__1__Impl" - // $ANTLR start "rule__ExternMetricDefinition__Group__0" - // InternalSolverLanguageParser.g:3293:1: rule__ExternMetricDefinition__Group__0 : rule__ExternMetricDefinition__Group__0__Impl rule__ExternMetricDefinition__Group__1 ; - public final void rule__ExternMetricDefinition__Group__0() throws RecognitionException { + // $ANTLR start "rule__Case__Group__2" + // InternalSolverLanguageParser.g:5032:1: rule__Case__Group__2 : rule__Case__Group__2__Impl ; + public final void rule__Case__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3297:1: ( rule__ExternMetricDefinition__Group__0__Impl rule__ExternMetricDefinition__Group__1 ) - // InternalSolverLanguageParser.g:3298:2: rule__ExternMetricDefinition__Group__0__Impl rule__ExternMetricDefinition__Group__1 + // InternalSolverLanguageParser.g:5036:1: ( rule__Case__Group__2__Impl ) + // InternalSolverLanguageParser.g:5037:2: rule__Case__Group__2__Impl { - pushFollow(FOLLOW_14); - rule__ExternMetricDefinition__Group__0__Impl(); - - state._fsp--; - pushFollow(FOLLOW_2); - rule__ExternMetricDefinition__Group__1(); + rule__Case__Group__2__Impl(); state._fsp--; @@ -10527,25 +15728,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ExternMetricDefinition__Group__0" + // $ANTLR end "rule__Case__Group__2" - // $ANTLR start "rule__ExternMetricDefinition__Group__0__Impl" - // InternalSolverLanguageParser.g:3305:1: rule__ExternMetricDefinition__Group__0__Impl : ( Extern ) ; - public final void rule__ExternMetricDefinition__Group__0__Impl() throws RecognitionException { + // $ANTLR start "rule__Case__Group__2__Impl" + // InternalSolverLanguageParser.g:5043:1: rule__Case__Group__2__Impl : ( ( rule__Case__BodyAssignment_2 ) ) ; + public final void rule__Case__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3309:1: ( ( Extern ) ) - // InternalSolverLanguageParser.g:3310:1: ( Extern ) + // InternalSolverLanguageParser.g:5047:1: ( ( ( rule__Case__BodyAssignment_2 ) ) ) + // InternalSolverLanguageParser.g:5048:1: ( ( rule__Case__BodyAssignment_2 ) ) { - // InternalSolverLanguageParser.g:3310:1: ( Extern ) - // InternalSolverLanguageParser.g:3311:2: Extern + // InternalSolverLanguageParser.g:5048:1: ( ( rule__Case__BodyAssignment_2 ) ) + // InternalSolverLanguageParser.g:5049:2: ( rule__Case__BodyAssignment_2 ) { - before(grammarAccess.getExternMetricDefinitionAccess().getExternKeyword_0()); - match(input,Extern,FOLLOW_2); - after(grammarAccess.getExternMetricDefinitionAccess().getExternKeyword_0()); + before(grammarAccess.getCaseAccess().getBodyAssignment_2()); + // InternalSolverLanguageParser.g:5050:2: ( rule__Case__BodyAssignment_2 ) + // InternalSolverLanguageParser.g:5050:3: rule__Case__BodyAssignment_2 + { + pushFollow(FOLLOW_2); + rule__Case__BodyAssignment_2(); + + state._fsp--; + + + } + + after(grammarAccess.getCaseAccess().getBodyAssignment_2()); } @@ -10564,26 +15775,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ExternMetricDefinition__Group__0__Impl" + // $ANTLR end "rule__Case__Group__2__Impl" - // $ANTLR start "rule__ExternMetricDefinition__Group__1" - // InternalSolverLanguageParser.g:3320:1: rule__ExternMetricDefinition__Group__1 : rule__ExternMetricDefinition__Group__1__Impl rule__ExternMetricDefinition__Group__2 ; - public final void rule__ExternMetricDefinition__Group__1() throws RecognitionException { + // $ANTLR start "rule__ConjunctiveExpression__Group__0" + // InternalSolverLanguageParser.g:5059:1: rule__ConjunctiveExpression__Group__0 : rule__ConjunctiveExpression__Group__0__Impl rule__ConjunctiveExpression__Group__1 ; + public final void rule__ConjunctiveExpression__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3324:1: ( rule__ExternMetricDefinition__Group__1__Impl rule__ExternMetricDefinition__Group__2 ) - // InternalSolverLanguageParser.g:3325:2: rule__ExternMetricDefinition__Group__1__Impl rule__ExternMetricDefinition__Group__2 + // InternalSolverLanguageParser.g:5063:1: ( rule__ConjunctiveExpression__Group__0__Impl rule__ConjunctiveExpression__Group__1 ) + // InternalSolverLanguageParser.g:5064:2: rule__ConjunctiveExpression__Group__0__Impl rule__ConjunctiveExpression__Group__1 { - pushFollow(FOLLOW_9); - rule__ExternMetricDefinition__Group__1__Impl(); + pushFollow(FOLLOW_19); + rule__ConjunctiveExpression__Group__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__ExternMetricDefinition__Group__2(); + rule__ConjunctiveExpression__Group__1(); state._fsp--; @@ -10602,35 +15813,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ExternMetricDefinition__Group__1" + // $ANTLR end "rule__ConjunctiveExpression__Group__0" - // $ANTLR start "rule__ExternMetricDefinition__Group__1__Impl" - // InternalSolverLanguageParser.g:3332:1: rule__ExternMetricDefinition__Group__1__Impl : ( ( rule__ExternMetricDefinition__TypeAssignment_1 ) ) ; - public final void rule__ExternMetricDefinition__Group__1__Impl() throws RecognitionException { + // $ANTLR start "rule__ConjunctiveExpression__Group__0__Impl" + // InternalSolverLanguageParser.g:5071:1: rule__ConjunctiveExpression__Group__0__Impl : ( ruleComparisonExpression ) ; + public final void rule__ConjunctiveExpression__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3336:1: ( ( ( rule__ExternMetricDefinition__TypeAssignment_1 ) ) ) - // InternalSolverLanguageParser.g:3337:1: ( ( rule__ExternMetricDefinition__TypeAssignment_1 ) ) + // InternalSolverLanguageParser.g:5075:1: ( ( ruleComparisonExpression ) ) + // InternalSolverLanguageParser.g:5076:1: ( ruleComparisonExpression ) { - // InternalSolverLanguageParser.g:3337:1: ( ( rule__ExternMetricDefinition__TypeAssignment_1 ) ) - // InternalSolverLanguageParser.g:3338:2: ( rule__ExternMetricDefinition__TypeAssignment_1 ) - { - before(grammarAccess.getExternMetricDefinitionAccess().getTypeAssignment_1()); - // InternalSolverLanguageParser.g:3339:2: ( rule__ExternMetricDefinition__TypeAssignment_1 ) - // InternalSolverLanguageParser.g:3339:3: rule__ExternMetricDefinition__TypeAssignment_1 + // InternalSolverLanguageParser.g:5076:1: ( ruleComparisonExpression ) + // InternalSolverLanguageParser.g:5077:2: ruleComparisonExpression { + before(grammarAccess.getConjunctiveExpressionAccess().getComparisonExpressionParserRuleCall_0()); pushFollow(FOLLOW_2); - rule__ExternMetricDefinition__TypeAssignment_1(); + ruleComparisonExpression(); state._fsp--; - - } - - after(grammarAccess.getExternMetricDefinitionAccess().getTypeAssignment_1()); + after(grammarAccess.getConjunctiveExpressionAccess().getComparisonExpressionParserRuleCall_0()); } @@ -10649,21 +15854,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ExternMetricDefinition__Group__1__Impl" + // $ANTLR end "rule__ConjunctiveExpression__Group__0__Impl" - // $ANTLR start "rule__ExternMetricDefinition__Group__2" - // InternalSolverLanguageParser.g:3347:1: rule__ExternMetricDefinition__Group__2 : rule__ExternMetricDefinition__Group__2__Impl ; - public final void rule__ExternMetricDefinition__Group__2() throws RecognitionException { + // $ANTLR start "rule__ConjunctiveExpression__Group__1" + // InternalSolverLanguageParser.g:5086:1: rule__ConjunctiveExpression__Group__1 : rule__ConjunctiveExpression__Group__1__Impl ; + public final void rule__ConjunctiveExpression__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3351:1: ( rule__ExternMetricDefinition__Group__2__Impl ) - // InternalSolverLanguageParser.g:3352:2: rule__ExternMetricDefinition__Group__2__Impl + // InternalSolverLanguageParser.g:5090:1: ( rule__ConjunctiveExpression__Group__1__Impl ) + // InternalSolverLanguageParser.g:5091:2: rule__ConjunctiveExpression__Group__1__Impl { pushFollow(FOLLOW_2); - rule__ExternMetricDefinition__Group__2__Impl(); + rule__ConjunctiveExpression__Group__1__Impl(); state._fsp--; @@ -10682,35 +15887,46 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ExternMetricDefinition__Group__2" + // $ANTLR end "rule__ConjunctiveExpression__Group__1" - // $ANTLR start "rule__ExternMetricDefinition__Group__2__Impl" - // InternalSolverLanguageParser.g:3358:1: rule__ExternMetricDefinition__Group__2__Impl : ( ( rule__ExternMetricDefinition__HeadAssignment_2 ) ) ; - public final void rule__ExternMetricDefinition__Group__2__Impl() throws RecognitionException { + // $ANTLR start "rule__ConjunctiveExpression__Group__1__Impl" + // InternalSolverLanguageParser.g:5097:1: rule__ConjunctiveExpression__Group__1__Impl : ( ( rule__ConjunctiveExpression__Group_1__0 )? ) ; + public final void rule__ConjunctiveExpression__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3362:1: ( ( ( rule__ExternMetricDefinition__HeadAssignment_2 ) ) ) - // InternalSolverLanguageParser.g:3363:1: ( ( rule__ExternMetricDefinition__HeadAssignment_2 ) ) + // InternalSolverLanguageParser.g:5101:1: ( ( ( rule__ConjunctiveExpression__Group_1__0 )? ) ) + // InternalSolverLanguageParser.g:5102:1: ( ( rule__ConjunctiveExpression__Group_1__0 )? ) { - // InternalSolverLanguageParser.g:3363:1: ( ( rule__ExternMetricDefinition__HeadAssignment_2 ) ) - // InternalSolverLanguageParser.g:3364:2: ( rule__ExternMetricDefinition__HeadAssignment_2 ) + // InternalSolverLanguageParser.g:5102:1: ( ( rule__ConjunctiveExpression__Group_1__0 )? ) + // InternalSolverLanguageParser.g:5103:2: ( rule__ConjunctiveExpression__Group_1__0 )? { - before(grammarAccess.getExternMetricDefinitionAccess().getHeadAssignment_2()); - // InternalSolverLanguageParser.g:3365:2: ( rule__ExternMetricDefinition__HeadAssignment_2 ) - // InternalSolverLanguageParser.g:3365:3: rule__ExternMetricDefinition__HeadAssignment_2 - { - pushFollow(FOLLOW_2); - rule__ExternMetricDefinition__HeadAssignment_2(); + before(grammarAccess.getConjunctiveExpressionAccess().getGroup_1()); + // InternalSolverLanguageParser.g:5104:2: ( rule__ConjunctiveExpression__Group_1__0 )? + int alt36=2; + int LA36_0 = input.LA(1); + + if ( (LA36_0==Comma) ) { + alt36=1; + } + switch (alt36) { + case 1 : + // InternalSolverLanguageParser.g:5104:3: rule__ConjunctiveExpression__Group_1__0 + { + pushFollow(FOLLOW_2); + rule__ConjunctiveExpression__Group_1__0(); + + state._fsp--; - state._fsp--; + } + break; } - after(grammarAccess.getExternMetricDefinitionAccess().getHeadAssignment_2()); + after(grammarAccess.getConjunctiveExpressionAccess().getGroup_1()); } @@ -10729,26 +15945,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ExternMetricDefinition__Group__2__Impl" + // $ANTLR end "rule__ConjunctiveExpression__Group__1__Impl" - // $ANTLR start "rule__IfElse__Group__0" - // InternalSolverLanguageParser.g:3374:1: rule__IfElse__Group__0 : rule__IfElse__Group__0__Impl rule__IfElse__Group__1 ; - public final void rule__IfElse__Group__0() throws RecognitionException { + // $ANTLR start "rule__ConjunctiveExpression__Group_1__0" + // InternalSolverLanguageParser.g:5113:1: rule__ConjunctiveExpression__Group_1__0 : rule__ConjunctiveExpression__Group_1__0__Impl rule__ConjunctiveExpression__Group_1__1 ; + public final void rule__ConjunctiveExpression__Group_1__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3378:1: ( rule__IfElse__Group__0__Impl rule__IfElse__Group__1 ) - // InternalSolverLanguageParser.g:3379:2: rule__IfElse__Group__0__Impl rule__IfElse__Group__1 + // InternalSolverLanguageParser.g:5117:1: ( rule__ConjunctiveExpression__Group_1__0__Impl rule__ConjunctiveExpression__Group_1__1 ) + // InternalSolverLanguageParser.g:5118:2: rule__ConjunctiveExpression__Group_1__0__Impl rule__ConjunctiveExpression__Group_1__1 { - pushFollow(FOLLOW_7); - rule__IfElse__Group__0__Impl(); + pushFollow(FOLLOW_19); + rule__ConjunctiveExpression__Group_1__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__IfElse__Group__1(); + rule__ConjunctiveExpression__Group_1__1(); state._fsp--; @@ -10767,25 +15983,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__IfElse__Group__0" + // $ANTLR end "rule__ConjunctiveExpression__Group_1__0" - // $ANTLR start "rule__IfElse__Group__0__Impl" - // InternalSolverLanguageParser.g:3386:1: rule__IfElse__Group__0__Impl : ( If ) ; - public final void rule__IfElse__Group__0__Impl() throws RecognitionException { + // $ANTLR start "rule__ConjunctiveExpression__Group_1__0__Impl" + // InternalSolverLanguageParser.g:5125:1: rule__ConjunctiveExpression__Group_1__0__Impl : ( () ) ; + public final void rule__ConjunctiveExpression__Group_1__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3390:1: ( ( If ) ) - // InternalSolverLanguageParser.g:3391:1: ( If ) + // InternalSolverLanguageParser.g:5129:1: ( ( () ) ) + // InternalSolverLanguageParser.g:5130:1: ( () ) { - // InternalSolverLanguageParser.g:3391:1: ( If ) - // InternalSolverLanguageParser.g:3392:2: If + // InternalSolverLanguageParser.g:5130:1: ( () ) + // InternalSolverLanguageParser.g:5131:2: () { - before(grammarAccess.getIfElseAccess().getIfKeyword_0()); - match(input,If,FOLLOW_2); - after(grammarAccess.getIfElseAccess().getIfKeyword_0()); + before(grammarAccess.getConjunctiveExpressionAccess().getConjunctionChildrenAction_1_0()); + // InternalSolverLanguageParser.g:5132:2: () + // InternalSolverLanguageParser.g:5132:3: + { + } + + after(grammarAccess.getConjunctiveExpressionAccess().getConjunctionChildrenAction_1_0()); } @@ -10793,10 +16013,6 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } finally { restoreStackSize(stackSize); @@ -10804,26 +16020,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__IfElse__Group__0__Impl" + // $ANTLR end "rule__ConjunctiveExpression__Group_1__0__Impl" - // $ANTLR start "rule__IfElse__Group__1" - // InternalSolverLanguageParser.g:3401:1: rule__IfElse__Group__1 : rule__IfElse__Group__1__Impl rule__IfElse__Group__2 ; - public final void rule__IfElse__Group__1() throws RecognitionException { + // $ANTLR start "rule__ConjunctiveExpression__Group_1__1" + // InternalSolverLanguageParser.g:5140:1: rule__ConjunctiveExpression__Group_1__1 : rule__ConjunctiveExpression__Group_1__1__Impl ; + public final void rule__ConjunctiveExpression__Group_1__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3405:1: ( rule__IfElse__Group__1__Impl rule__IfElse__Group__2 ) - // InternalSolverLanguageParser.g:3406:2: rule__IfElse__Group__1__Impl rule__IfElse__Group__2 + // InternalSolverLanguageParser.g:5144:1: ( rule__ConjunctiveExpression__Group_1__1__Impl ) + // InternalSolverLanguageParser.g:5145:2: rule__ConjunctiveExpression__Group_1__1__Impl { - pushFollow(FOLLOW_15); - rule__IfElse__Group__1__Impl(); - - state._fsp--; - pushFollow(FOLLOW_2); - rule__IfElse__Group__2(); + rule__ConjunctiveExpression__Group_1__1__Impl(); state._fsp--; @@ -10842,35 +16053,78 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__IfElse__Group__1" + // $ANTLR end "rule__ConjunctiveExpression__Group_1__1" - // $ANTLR start "rule__IfElse__Group__1__Impl" - // InternalSolverLanguageParser.g:3413:1: rule__IfElse__Group__1__Impl : ( ( rule__IfElse__ConditionAssignment_1 ) ) ; - public final void rule__IfElse__Group__1__Impl() throws RecognitionException { + // $ANTLR start "rule__ConjunctiveExpression__Group_1__1__Impl" + // InternalSolverLanguageParser.g:5151:1: rule__ConjunctiveExpression__Group_1__1__Impl : ( ( ( rule__ConjunctiveExpression__Group_1_1__0 ) ) ( ( rule__ConjunctiveExpression__Group_1_1__0 )* ) ) ; + public final void rule__ConjunctiveExpression__Group_1__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3417:1: ( ( ( rule__IfElse__ConditionAssignment_1 ) ) ) - // InternalSolverLanguageParser.g:3418:1: ( ( rule__IfElse__ConditionAssignment_1 ) ) + // InternalSolverLanguageParser.g:5155:1: ( ( ( ( rule__ConjunctiveExpression__Group_1_1__0 ) ) ( ( rule__ConjunctiveExpression__Group_1_1__0 )* ) ) ) + // InternalSolverLanguageParser.g:5156:1: ( ( ( rule__ConjunctiveExpression__Group_1_1__0 ) ) ( ( rule__ConjunctiveExpression__Group_1_1__0 )* ) ) { - // InternalSolverLanguageParser.g:3418:1: ( ( rule__IfElse__ConditionAssignment_1 ) ) - // InternalSolverLanguageParser.g:3419:2: ( rule__IfElse__ConditionAssignment_1 ) + // InternalSolverLanguageParser.g:5156:1: ( ( ( rule__ConjunctiveExpression__Group_1_1__0 ) ) ( ( rule__ConjunctiveExpression__Group_1_1__0 )* ) ) + // InternalSolverLanguageParser.g:5157:2: ( ( rule__ConjunctiveExpression__Group_1_1__0 ) ) ( ( rule__ConjunctiveExpression__Group_1_1__0 )* ) { - before(grammarAccess.getIfElseAccess().getConditionAssignment_1()); - // InternalSolverLanguageParser.g:3420:2: ( rule__IfElse__ConditionAssignment_1 ) - // InternalSolverLanguageParser.g:3420:3: rule__IfElse__ConditionAssignment_1 + // InternalSolverLanguageParser.g:5157:2: ( ( rule__ConjunctiveExpression__Group_1_1__0 ) ) + // InternalSolverLanguageParser.g:5158:3: ( rule__ConjunctiveExpression__Group_1_1__0 ) { - pushFollow(FOLLOW_2); - rule__IfElse__ConditionAssignment_1(); + before(grammarAccess.getConjunctiveExpressionAccess().getGroup_1_1()); + // InternalSolverLanguageParser.g:5159:3: ( rule__ConjunctiveExpression__Group_1_1__0 ) + // InternalSolverLanguageParser.g:5159:4: rule__ConjunctiveExpression__Group_1_1__0 + { + pushFollow(FOLLOW_20); + rule__ConjunctiveExpression__Group_1_1__0(); state._fsp--; } - after(grammarAccess.getIfElseAccess().getConditionAssignment_1()); + after(grammarAccess.getConjunctiveExpressionAccess().getGroup_1_1()); + + } + + // InternalSolverLanguageParser.g:5162:2: ( ( rule__ConjunctiveExpression__Group_1_1__0 )* ) + // InternalSolverLanguageParser.g:5163:3: ( rule__ConjunctiveExpression__Group_1_1__0 )* + { + before(grammarAccess.getConjunctiveExpressionAccess().getGroup_1_1()); + // InternalSolverLanguageParser.g:5164:3: ( rule__ConjunctiveExpression__Group_1_1__0 )* + loop37: + do { + int alt37=2; + int LA37_0 = input.LA(1); + + if ( (LA37_0==Comma) ) { + alt37=1; + } + + + switch (alt37) { + case 1 : + // InternalSolverLanguageParser.g:5164:4: rule__ConjunctiveExpression__Group_1_1__0 + { + pushFollow(FOLLOW_20); + rule__ConjunctiveExpression__Group_1_1__0(); + + state._fsp--; + + + } + break; + + default : + break loop37; + } + } while (true); + + after(grammarAccess.getConjunctiveExpressionAccess().getGroup_1_1()); + + } + } @@ -10889,26 +16143,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__IfElse__Group__1__Impl" + // $ANTLR end "rule__ConjunctiveExpression__Group_1__1__Impl" - // $ANTLR start "rule__IfElse__Group__2" - // InternalSolverLanguageParser.g:3428:1: rule__IfElse__Group__2 : rule__IfElse__Group__2__Impl rule__IfElse__Group__3 ; - public final void rule__IfElse__Group__2() throws RecognitionException { + // $ANTLR start "rule__ConjunctiveExpression__Group_1_1__0" + // InternalSolverLanguageParser.g:5174:1: rule__ConjunctiveExpression__Group_1_1__0 : rule__ConjunctiveExpression__Group_1_1__0__Impl rule__ConjunctiveExpression__Group_1_1__1 ; + public final void rule__ConjunctiveExpression__Group_1_1__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3432:1: ( rule__IfElse__Group__2__Impl rule__IfElse__Group__3 ) - // InternalSolverLanguageParser.g:3433:2: rule__IfElse__Group__2__Impl rule__IfElse__Group__3 + // InternalSolverLanguageParser.g:5178:1: ( rule__ConjunctiveExpression__Group_1_1__0__Impl rule__ConjunctiveExpression__Group_1_1__1 ) + // InternalSolverLanguageParser.g:5179:2: rule__ConjunctiveExpression__Group_1_1__0__Impl rule__ConjunctiveExpression__Group_1_1__1 { pushFollow(FOLLOW_7); - rule__IfElse__Group__2__Impl(); + rule__ConjunctiveExpression__Group_1_1__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__IfElse__Group__3(); + rule__ConjunctiveExpression__Group_1_1__1(); state._fsp--; @@ -10927,25 +16181,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__IfElse__Group__2" + // $ANTLR end "rule__ConjunctiveExpression__Group_1_1__0" - // $ANTLR start "rule__IfElse__Group__2__Impl" - // InternalSolverLanguageParser.g:3440:1: rule__IfElse__Group__2__Impl : ( Then ) ; - public final void rule__IfElse__Group__2__Impl() throws RecognitionException { + // $ANTLR start "rule__ConjunctiveExpression__Group_1_1__0__Impl" + // InternalSolverLanguageParser.g:5186:1: rule__ConjunctiveExpression__Group_1_1__0__Impl : ( Comma ) ; + public final void rule__ConjunctiveExpression__Group_1_1__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3444:1: ( ( Then ) ) - // InternalSolverLanguageParser.g:3445:1: ( Then ) + // InternalSolverLanguageParser.g:5190:1: ( ( Comma ) ) + // InternalSolverLanguageParser.g:5191:1: ( Comma ) { - // InternalSolverLanguageParser.g:3445:1: ( Then ) - // InternalSolverLanguageParser.g:3446:2: Then + // InternalSolverLanguageParser.g:5191:1: ( Comma ) + // InternalSolverLanguageParser.g:5192:2: Comma { - before(grammarAccess.getIfElseAccess().getThenKeyword_2()); - match(input,Then,FOLLOW_2); - after(grammarAccess.getIfElseAccess().getThenKeyword_2()); + before(grammarAccess.getConjunctiveExpressionAccess().getCommaKeyword_1_1_0()); + match(input,Comma,FOLLOW_2); + after(grammarAccess.getConjunctiveExpressionAccess().getCommaKeyword_1_1_0()); } @@ -10964,26 +16218,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__IfElse__Group__2__Impl" + // $ANTLR end "rule__ConjunctiveExpression__Group_1_1__0__Impl" - // $ANTLR start "rule__IfElse__Group__3" - // InternalSolverLanguageParser.g:3455:1: rule__IfElse__Group__3 : rule__IfElse__Group__3__Impl rule__IfElse__Group__4 ; - public final void rule__IfElse__Group__3() throws RecognitionException { + // $ANTLR start "rule__ConjunctiveExpression__Group_1_1__1" + // InternalSolverLanguageParser.g:5201:1: rule__ConjunctiveExpression__Group_1_1__1 : rule__ConjunctiveExpression__Group_1_1__1__Impl ; + public final void rule__ConjunctiveExpression__Group_1_1__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3459:1: ( rule__IfElse__Group__3__Impl rule__IfElse__Group__4 ) - // InternalSolverLanguageParser.g:3460:2: rule__IfElse__Group__3__Impl rule__IfElse__Group__4 + // InternalSolverLanguageParser.g:5205:1: ( rule__ConjunctiveExpression__Group_1_1__1__Impl ) + // InternalSolverLanguageParser.g:5206:2: rule__ConjunctiveExpression__Group_1_1__1__Impl { - pushFollow(FOLLOW_16); - rule__IfElse__Group__3__Impl(); - - state._fsp--; - pushFollow(FOLLOW_2); - rule__IfElse__Group__4(); + rule__ConjunctiveExpression__Group_1_1__1__Impl(); state._fsp--; @@ -11002,35 +16251,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__IfElse__Group__3" + // $ANTLR end "rule__ConjunctiveExpression__Group_1_1__1" - // $ANTLR start "rule__IfElse__Group__3__Impl" - // InternalSolverLanguageParser.g:3467:1: rule__IfElse__Group__3__Impl : ( ( rule__IfElse__ThenAssignment_3 ) ) ; - public final void rule__IfElse__Group__3__Impl() throws RecognitionException { + // $ANTLR start "rule__ConjunctiveExpression__Group_1_1__1__Impl" + // InternalSolverLanguageParser.g:5212:1: rule__ConjunctiveExpression__Group_1_1__1__Impl : ( ( rule__ConjunctiveExpression__ChildrenAssignment_1_1_1 ) ) ; + public final void rule__ConjunctiveExpression__Group_1_1__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3471:1: ( ( ( rule__IfElse__ThenAssignment_3 ) ) ) - // InternalSolverLanguageParser.g:3472:1: ( ( rule__IfElse__ThenAssignment_3 ) ) + // InternalSolverLanguageParser.g:5216:1: ( ( ( rule__ConjunctiveExpression__ChildrenAssignment_1_1_1 ) ) ) + // InternalSolverLanguageParser.g:5217:1: ( ( rule__ConjunctiveExpression__ChildrenAssignment_1_1_1 ) ) { - // InternalSolverLanguageParser.g:3472:1: ( ( rule__IfElse__ThenAssignment_3 ) ) - // InternalSolverLanguageParser.g:3473:2: ( rule__IfElse__ThenAssignment_3 ) + // InternalSolverLanguageParser.g:5217:1: ( ( rule__ConjunctiveExpression__ChildrenAssignment_1_1_1 ) ) + // InternalSolverLanguageParser.g:5218:2: ( rule__ConjunctiveExpression__ChildrenAssignment_1_1_1 ) { - before(grammarAccess.getIfElseAccess().getThenAssignment_3()); - // InternalSolverLanguageParser.g:3474:2: ( rule__IfElse__ThenAssignment_3 ) - // InternalSolverLanguageParser.g:3474:3: rule__IfElse__ThenAssignment_3 + before(grammarAccess.getConjunctiveExpressionAccess().getChildrenAssignment_1_1_1()); + // InternalSolverLanguageParser.g:5219:2: ( rule__ConjunctiveExpression__ChildrenAssignment_1_1_1 ) + // InternalSolverLanguageParser.g:5219:3: rule__ConjunctiveExpression__ChildrenAssignment_1_1_1 { pushFollow(FOLLOW_2); - rule__IfElse__ThenAssignment_3(); + rule__ConjunctiveExpression__ChildrenAssignment_1_1_1(); state._fsp--; } - after(grammarAccess.getIfElseAccess().getThenAssignment_3()); + after(grammarAccess.getConjunctiveExpressionAccess().getChildrenAssignment_1_1_1()); } @@ -11049,26 +16298,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__IfElse__Group__3__Impl" + // $ANTLR end "rule__ConjunctiveExpression__Group_1_1__1__Impl" - // $ANTLR start "rule__IfElse__Group__4" - // InternalSolverLanguageParser.g:3482:1: rule__IfElse__Group__4 : rule__IfElse__Group__4__Impl rule__IfElse__Group__5 ; - public final void rule__IfElse__Group__4() throws RecognitionException { + // $ANTLR start "rule__ComparisonExpression__Group__0" + // InternalSolverLanguageParser.g:5228:1: rule__ComparisonExpression__Group__0 : rule__ComparisonExpression__Group__0__Impl rule__ComparisonExpression__Group__1 ; + public final void rule__ComparisonExpression__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3486:1: ( rule__IfElse__Group__4__Impl rule__IfElse__Group__5 ) - // InternalSolverLanguageParser.g:3487:2: rule__IfElse__Group__4__Impl rule__IfElse__Group__5 + // InternalSolverLanguageParser.g:5232:1: ( rule__ComparisonExpression__Group__0__Impl rule__ComparisonExpression__Group__1 ) + // InternalSolverLanguageParser.g:5233:2: rule__ComparisonExpression__Group__0__Impl rule__ComparisonExpression__Group__1 { - pushFollow(FOLLOW_7); - rule__IfElse__Group__4__Impl(); + pushFollow(FOLLOW_30); + rule__ComparisonExpression__Group__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__IfElse__Group__5(); + rule__ComparisonExpression__Group__1(); state._fsp--; @@ -11087,25 +16336,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__IfElse__Group__4" + // $ANTLR end "rule__ComparisonExpression__Group__0" - // $ANTLR start "rule__IfElse__Group__4__Impl" - // InternalSolverLanguageParser.g:3494:1: rule__IfElse__Group__4__Impl : ( Else ) ; - public final void rule__IfElse__Group__4__Impl() throws RecognitionException { + // $ANTLR start "rule__ComparisonExpression__Group__0__Impl" + // InternalSolverLanguageParser.g:5240:1: rule__ComparisonExpression__Group__0__Impl : ( ruleAdditiveExpression ) ; + public final void rule__ComparisonExpression__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3498:1: ( ( Else ) ) - // InternalSolverLanguageParser.g:3499:1: ( Else ) + // InternalSolverLanguageParser.g:5244:1: ( ( ruleAdditiveExpression ) ) + // InternalSolverLanguageParser.g:5245:1: ( ruleAdditiveExpression ) { - // InternalSolverLanguageParser.g:3499:1: ( Else ) - // InternalSolverLanguageParser.g:3500:2: Else + // InternalSolverLanguageParser.g:5245:1: ( ruleAdditiveExpression ) + // InternalSolverLanguageParser.g:5246:2: ruleAdditiveExpression { - before(grammarAccess.getIfElseAccess().getElseKeyword_4()); - match(input,Else,FOLLOW_2); - after(grammarAccess.getIfElseAccess().getElseKeyword_4()); + before(grammarAccess.getComparisonExpressionAccess().getAdditiveExpressionParserRuleCall_0()); + pushFollow(FOLLOW_2); + ruleAdditiveExpression(); + + state._fsp--; + + after(grammarAccess.getComparisonExpressionAccess().getAdditiveExpressionParserRuleCall_0()); } @@ -11124,21 +16377,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__IfElse__Group__4__Impl" + // $ANTLR end "rule__ComparisonExpression__Group__0__Impl" - // $ANTLR start "rule__IfElse__Group__5" - // InternalSolverLanguageParser.g:3509:1: rule__IfElse__Group__5 : rule__IfElse__Group__5__Impl ; - public final void rule__IfElse__Group__5() throws RecognitionException { + // $ANTLR start "rule__ComparisonExpression__Group__1" + // InternalSolverLanguageParser.g:5255:1: rule__ComparisonExpression__Group__1 : rule__ComparisonExpression__Group__1__Impl ; + public final void rule__ComparisonExpression__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3513:1: ( rule__IfElse__Group__5__Impl ) - // InternalSolverLanguageParser.g:3514:2: rule__IfElse__Group__5__Impl + // InternalSolverLanguageParser.g:5259:1: ( rule__ComparisonExpression__Group__1__Impl ) + // InternalSolverLanguageParser.g:5260:2: rule__ComparisonExpression__Group__1__Impl { pushFollow(FOLLOW_2); - rule__IfElse__Group__5__Impl(); + rule__ComparisonExpression__Group__1__Impl(); state._fsp--; @@ -11157,35 +16410,46 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__IfElse__Group__5" + // $ANTLR end "rule__ComparisonExpression__Group__1" - // $ANTLR start "rule__IfElse__Group__5__Impl" - // InternalSolverLanguageParser.g:3520:1: rule__IfElse__Group__5__Impl : ( ( rule__IfElse__ElseAssignment_5 ) ) ; - public final void rule__IfElse__Group__5__Impl() throws RecognitionException { + // $ANTLR start "rule__ComparisonExpression__Group__1__Impl" + // InternalSolverLanguageParser.g:5266:1: rule__ComparisonExpression__Group__1__Impl : ( ( rule__ComparisonExpression__Group_1__0 )? ) ; + public final void rule__ComparisonExpression__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3524:1: ( ( ( rule__IfElse__ElseAssignment_5 ) ) ) - // InternalSolverLanguageParser.g:3525:1: ( ( rule__IfElse__ElseAssignment_5 ) ) + // InternalSolverLanguageParser.g:5270:1: ( ( ( rule__ComparisonExpression__Group_1__0 )? ) ) + // InternalSolverLanguageParser.g:5271:1: ( ( rule__ComparisonExpression__Group_1__0 )? ) { - // InternalSolverLanguageParser.g:3525:1: ( ( rule__IfElse__ElseAssignment_5 ) ) - // InternalSolverLanguageParser.g:3526:2: ( rule__IfElse__ElseAssignment_5 ) + // InternalSolverLanguageParser.g:5271:1: ( ( rule__ComparisonExpression__Group_1__0 )? ) + // InternalSolverLanguageParser.g:5272:2: ( rule__ComparisonExpression__Group_1__0 )? { - before(grammarAccess.getIfElseAccess().getElseAssignment_5()); - // InternalSolverLanguageParser.g:3527:2: ( rule__IfElse__ElseAssignment_5 ) - // InternalSolverLanguageParser.g:3527:3: rule__IfElse__ElseAssignment_5 - { - pushFollow(FOLLOW_2); - rule__IfElse__ElseAssignment_5(); + before(grammarAccess.getComparisonExpressionAccess().getGroup_1()); + // InternalSolverLanguageParser.g:5273:2: ( rule__ComparisonExpression__Group_1__0 )? + int alt38=2; + int LA38_0 = input.LA(1); + + if ( (LA38_0==ExclamationMarkEqualsSign||(LA38_0>=LessThanSignEqualsSign && LA38_0<=EqualsSignEqualsSign)||LA38_0==GreaterThanSignEqualsSign||LA38_0==In||LA38_0==LessThanSign||LA38_0==GreaterThanSign) ) { + alt38=1; + } + switch (alt38) { + case 1 : + // InternalSolverLanguageParser.g:5273:3: rule__ComparisonExpression__Group_1__0 + { + pushFollow(FOLLOW_2); + rule__ComparisonExpression__Group_1__0(); + + state._fsp--; - state._fsp--; + } + break; } - after(grammarAccess.getIfElseAccess().getElseAssignment_5()); + after(grammarAccess.getComparisonExpressionAccess().getGroup_1()); } @@ -11204,26 +16468,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__IfElse__Group__5__Impl" + // $ANTLR end "rule__ComparisonExpression__Group__1__Impl" - // $ANTLR start "rule__DisjunctiveExpression__Group__0" - // InternalSolverLanguageParser.g:3536:1: rule__DisjunctiveExpression__Group__0 : rule__DisjunctiveExpression__Group__0__Impl rule__DisjunctiveExpression__Group__1 ; - public final void rule__DisjunctiveExpression__Group__0() throws RecognitionException { + // $ANTLR start "rule__ComparisonExpression__Group_1__0" + // InternalSolverLanguageParser.g:5282:1: rule__ComparisonExpression__Group_1__0 : rule__ComparisonExpression__Group_1__0__Impl rule__ComparisonExpression__Group_1__1 ; + public final void rule__ComparisonExpression__Group_1__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3540:1: ( rule__DisjunctiveExpression__Group__0__Impl rule__DisjunctiveExpression__Group__1 ) - // InternalSolverLanguageParser.g:3541:2: rule__DisjunctiveExpression__Group__0__Impl rule__DisjunctiveExpression__Group__1 + // InternalSolverLanguageParser.g:5286:1: ( rule__ComparisonExpression__Group_1__0__Impl rule__ComparisonExpression__Group_1__1 ) + // InternalSolverLanguageParser.g:5287:2: rule__ComparisonExpression__Group_1__0__Impl rule__ComparisonExpression__Group_1__1 { - pushFollow(FOLLOW_17); - rule__DisjunctiveExpression__Group__0__Impl(); + pushFollow(FOLLOW_30); + rule__ComparisonExpression__Group_1__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__DisjunctiveExpression__Group__1(); + rule__ComparisonExpression__Group_1__1(); state._fsp--; @@ -11242,29 +16506,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__DisjunctiveExpression__Group__0" + // $ANTLR end "rule__ComparisonExpression__Group_1__0" - // $ANTLR start "rule__DisjunctiveExpression__Group__0__Impl" - // InternalSolverLanguageParser.g:3548:1: rule__DisjunctiveExpression__Group__0__Impl : ( ruleConjunctiveExpression ) ; - public final void rule__DisjunctiveExpression__Group__0__Impl() throws RecognitionException { + // $ANTLR start "rule__ComparisonExpression__Group_1__0__Impl" + // InternalSolverLanguageParser.g:5294:1: rule__ComparisonExpression__Group_1__0__Impl : ( () ) ; + public final void rule__ComparisonExpression__Group_1__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3552:1: ( ( ruleConjunctiveExpression ) ) - // InternalSolverLanguageParser.g:3553:1: ( ruleConjunctiveExpression ) + // InternalSolverLanguageParser.g:5298:1: ( ( () ) ) + // InternalSolverLanguageParser.g:5299:1: ( () ) { - // InternalSolverLanguageParser.g:3553:1: ( ruleConjunctiveExpression ) - // InternalSolverLanguageParser.g:3554:2: ruleConjunctiveExpression + // InternalSolverLanguageParser.g:5299:1: ( () ) + // InternalSolverLanguageParser.g:5300:2: () { - before(grammarAccess.getDisjunctiveExpressionAccess().getConjunctiveExpressionParserRuleCall_0()); - pushFollow(FOLLOW_2); - ruleConjunctiveExpression(); - - state._fsp--; + before(grammarAccess.getComparisonExpressionAccess().getComparisonLeftAction_1_0()); + // InternalSolverLanguageParser.g:5301:2: () + // InternalSolverLanguageParser.g:5301:3: + { + } - after(grammarAccess.getDisjunctiveExpressionAccess().getConjunctiveExpressionParserRuleCall_0()); + after(grammarAccess.getComparisonExpressionAccess().getComparisonLeftAction_1_0()); } @@ -11272,10 +16536,6 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } finally { restoreStackSize(stackSize); @@ -11283,21 +16543,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__DisjunctiveExpression__Group__0__Impl" + // $ANTLR end "rule__ComparisonExpression__Group_1__0__Impl" - // $ANTLR start "rule__DisjunctiveExpression__Group__1" - // InternalSolverLanguageParser.g:3563:1: rule__DisjunctiveExpression__Group__1 : rule__DisjunctiveExpression__Group__1__Impl ; - public final void rule__DisjunctiveExpression__Group__1() throws RecognitionException { + // $ANTLR start "rule__ComparisonExpression__Group_1__1" + // InternalSolverLanguageParser.g:5309:1: rule__ComparisonExpression__Group_1__1 : rule__ComparisonExpression__Group_1__1__Impl rule__ComparisonExpression__Group_1__2 ; + public final void rule__ComparisonExpression__Group_1__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3567:1: ( rule__DisjunctiveExpression__Group__1__Impl ) - // InternalSolverLanguageParser.g:3568:2: rule__DisjunctiveExpression__Group__1__Impl + // InternalSolverLanguageParser.g:5313:1: ( rule__ComparisonExpression__Group_1__1__Impl rule__ComparisonExpression__Group_1__2 ) + // InternalSolverLanguageParser.g:5314:2: rule__ComparisonExpression__Group_1__1__Impl rule__ComparisonExpression__Group_1__2 { + pushFollow(FOLLOW_7); + rule__ComparisonExpression__Group_1__1__Impl(); + + state._fsp--; + pushFollow(FOLLOW_2); - rule__DisjunctiveExpression__Group__1__Impl(); + rule__ComparisonExpression__Group_1__2(); state._fsp--; @@ -11316,46 +16581,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__DisjunctiveExpression__Group__1" + // $ANTLR end "rule__ComparisonExpression__Group_1__1" - // $ANTLR start "rule__DisjunctiveExpression__Group__1__Impl" - // InternalSolverLanguageParser.g:3574:1: rule__DisjunctiveExpression__Group__1__Impl : ( ( rule__DisjunctiveExpression__Alternatives_1 )? ) ; - public final void rule__DisjunctiveExpression__Group__1__Impl() throws RecognitionException { + // $ANTLR start "rule__ComparisonExpression__Group_1__1__Impl" + // InternalSolverLanguageParser.g:5321:1: rule__ComparisonExpression__Group_1__1__Impl : ( ( rule__ComparisonExpression__OpAssignment_1_1 ) ) ; + public final void rule__ComparisonExpression__Group_1__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3578:1: ( ( ( rule__DisjunctiveExpression__Alternatives_1 )? ) ) - // InternalSolverLanguageParser.g:3579:1: ( ( rule__DisjunctiveExpression__Alternatives_1 )? ) + // InternalSolverLanguageParser.g:5325:1: ( ( ( rule__ComparisonExpression__OpAssignment_1_1 ) ) ) + // InternalSolverLanguageParser.g:5326:1: ( ( rule__ComparisonExpression__OpAssignment_1_1 ) ) { - // InternalSolverLanguageParser.g:3579:1: ( ( rule__DisjunctiveExpression__Alternatives_1 )? ) - // InternalSolverLanguageParser.g:3580:2: ( rule__DisjunctiveExpression__Alternatives_1 )? + // InternalSolverLanguageParser.g:5326:1: ( ( rule__ComparisonExpression__OpAssignment_1_1 ) ) + // InternalSolverLanguageParser.g:5327:2: ( rule__ComparisonExpression__OpAssignment_1_1 ) { - before(grammarAccess.getDisjunctiveExpressionAccess().getAlternatives_1()); - // InternalSolverLanguageParser.g:3581:2: ( rule__DisjunctiveExpression__Alternatives_1 )? - int alt30=2; - int LA30_0 = input.LA(1); - - if ( (LA30_0==HyphenMinusGreaterThanSign||LA30_0==Semicolon) ) { - alt30=1; - } - switch (alt30) { - case 1 : - // InternalSolverLanguageParser.g:3581:3: rule__DisjunctiveExpression__Alternatives_1 - { - pushFollow(FOLLOW_2); - rule__DisjunctiveExpression__Alternatives_1(); - - state._fsp--; + before(grammarAccess.getComparisonExpressionAccess().getOpAssignment_1_1()); + // InternalSolverLanguageParser.g:5328:2: ( rule__ComparisonExpression__OpAssignment_1_1 ) + // InternalSolverLanguageParser.g:5328:3: rule__ComparisonExpression__OpAssignment_1_1 + { + pushFollow(FOLLOW_2); + rule__ComparisonExpression__OpAssignment_1_1(); + state._fsp--; - } - break; } - after(grammarAccess.getDisjunctiveExpressionAccess().getAlternatives_1()); + after(grammarAccess.getComparisonExpressionAccess().getOpAssignment_1_1()); } @@ -11374,26 +16628,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__DisjunctiveExpression__Group__1__Impl" + // $ANTLR end "rule__ComparisonExpression__Group_1__1__Impl" - // $ANTLR start "rule__DisjunctiveExpression__Group_1_0__0" - // InternalSolverLanguageParser.g:3590:1: rule__DisjunctiveExpression__Group_1_0__0 : rule__DisjunctiveExpression__Group_1_0__0__Impl rule__DisjunctiveExpression__Group_1_0__1 ; - public final void rule__DisjunctiveExpression__Group_1_0__0() throws RecognitionException { + // $ANTLR start "rule__ComparisonExpression__Group_1__2" + // InternalSolverLanguageParser.g:5336:1: rule__ComparisonExpression__Group_1__2 : rule__ComparisonExpression__Group_1__2__Impl ; + public final void rule__ComparisonExpression__Group_1__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3594:1: ( rule__DisjunctiveExpression__Group_1_0__0__Impl rule__DisjunctiveExpression__Group_1_0__1 ) - // InternalSolverLanguageParser.g:3595:2: rule__DisjunctiveExpression__Group_1_0__0__Impl rule__DisjunctiveExpression__Group_1_0__1 + // InternalSolverLanguageParser.g:5340:1: ( rule__ComparisonExpression__Group_1__2__Impl ) + // InternalSolverLanguageParser.g:5341:2: rule__ComparisonExpression__Group_1__2__Impl { - pushFollow(FOLLOW_18); - rule__DisjunctiveExpression__Group_1_0__0__Impl(); - - state._fsp--; - pushFollow(FOLLOW_2); - rule__DisjunctiveExpression__Group_1_0__1(); + rule__ComparisonExpression__Group_1__2__Impl(); state._fsp--; @@ -11412,29 +16661,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__DisjunctiveExpression__Group_1_0__0" + // $ANTLR end "rule__ComparisonExpression__Group_1__2" - // $ANTLR start "rule__DisjunctiveExpression__Group_1_0__0__Impl" - // InternalSolverLanguageParser.g:3602:1: rule__DisjunctiveExpression__Group_1_0__0__Impl : ( () ) ; - public final void rule__DisjunctiveExpression__Group_1_0__0__Impl() throws RecognitionException { + // $ANTLR start "rule__ComparisonExpression__Group_1__2__Impl" + // InternalSolverLanguageParser.g:5347:1: rule__ComparisonExpression__Group_1__2__Impl : ( ( rule__ComparisonExpression__RightAssignment_1_2 ) ) ; + public final void rule__ComparisonExpression__Group_1__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3606:1: ( ( () ) ) - // InternalSolverLanguageParser.g:3607:1: ( () ) + // InternalSolverLanguageParser.g:5351:1: ( ( ( rule__ComparisonExpression__RightAssignment_1_2 ) ) ) + // InternalSolverLanguageParser.g:5352:1: ( ( rule__ComparisonExpression__RightAssignment_1_2 ) ) { - // InternalSolverLanguageParser.g:3607:1: ( () ) - // InternalSolverLanguageParser.g:3608:2: () + // InternalSolverLanguageParser.g:5352:1: ( ( rule__ComparisonExpression__RightAssignment_1_2 ) ) + // InternalSolverLanguageParser.g:5353:2: ( rule__ComparisonExpression__RightAssignment_1_2 ) { - before(grammarAccess.getDisjunctiveExpressionAccess().getDisjunctionChildrenAction_1_0_0()); - // InternalSolverLanguageParser.g:3609:2: () - // InternalSolverLanguageParser.g:3609:3: + before(grammarAccess.getComparisonExpressionAccess().getRightAssignment_1_2()); + // InternalSolverLanguageParser.g:5354:2: ( rule__ComparisonExpression__RightAssignment_1_2 ) + // InternalSolverLanguageParser.g:5354:3: rule__ComparisonExpression__RightAssignment_1_2 { + pushFollow(FOLLOW_2); + rule__ComparisonExpression__RightAssignment_1_2(); + + state._fsp--; + + } - after(grammarAccess.getDisjunctiveExpressionAccess().getDisjunctionChildrenAction_1_0_0()); + after(grammarAccess.getComparisonExpressionAccess().getRightAssignment_1_2()); } @@ -11442,6 +16697,10 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } finally { restoreStackSize(stackSize); @@ -11449,21 +16708,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__DisjunctiveExpression__Group_1_0__0__Impl" + // $ANTLR end "rule__ComparisonExpression__Group_1__2__Impl" - // $ANTLR start "rule__DisjunctiveExpression__Group_1_0__1" - // InternalSolverLanguageParser.g:3617:1: rule__DisjunctiveExpression__Group_1_0__1 : rule__DisjunctiveExpression__Group_1_0__1__Impl ; - public final void rule__DisjunctiveExpression__Group_1_0__1() throws RecognitionException { + // $ANTLR start "rule__AdditiveExpression__Group__0" + // InternalSolverLanguageParser.g:5363:1: rule__AdditiveExpression__Group__0 : rule__AdditiveExpression__Group__0__Impl rule__AdditiveExpression__Group__1 ; + public final void rule__AdditiveExpression__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3621:1: ( rule__DisjunctiveExpression__Group_1_0__1__Impl ) - // InternalSolverLanguageParser.g:3622:2: rule__DisjunctiveExpression__Group_1_0__1__Impl + // InternalSolverLanguageParser.g:5367:1: ( rule__AdditiveExpression__Group__0__Impl rule__AdditiveExpression__Group__1 ) + // InternalSolverLanguageParser.g:5368:2: rule__AdditiveExpression__Group__0__Impl rule__AdditiveExpression__Group__1 { + pushFollow(FOLLOW_31); + rule__AdditiveExpression__Group__0__Impl(); + + state._fsp--; + pushFollow(FOLLOW_2); - rule__DisjunctiveExpression__Group_1_0__1__Impl(); + rule__AdditiveExpression__Group__1(); state._fsp--; @@ -11482,78 +16746,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__DisjunctiveExpression__Group_1_0__1" + // $ANTLR end "rule__AdditiveExpression__Group__0" - // $ANTLR start "rule__DisjunctiveExpression__Group_1_0__1__Impl" - // InternalSolverLanguageParser.g:3628:1: rule__DisjunctiveExpression__Group_1_0__1__Impl : ( ( ( rule__DisjunctiveExpression__Group_1_0_1__0 ) ) ( ( rule__DisjunctiveExpression__Group_1_0_1__0 )* ) ) ; - public final void rule__DisjunctiveExpression__Group_1_0__1__Impl() throws RecognitionException { + // $ANTLR start "rule__AdditiveExpression__Group__0__Impl" + // InternalSolverLanguageParser.g:5375:1: rule__AdditiveExpression__Group__0__Impl : ( ruleMultiplicativeExpression ) ; + public final void rule__AdditiveExpression__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3632:1: ( ( ( ( rule__DisjunctiveExpression__Group_1_0_1__0 ) ) ( ( rule__DisjunctiveExpression__Group_1_0_1__0 )* ) ) ) - // InternalSolverLanguageParser.g:3633:1: ( ( ( rule__DisjunctiveExpression__Group_1_0_1__0 ) ) ( ( rule__DisjunctiveExpression__Group_1_0_1__0 )* ) ) - { - // InternalSolverLanguageParser.g:3633:1: ( ( ( rule__DisjunctiveExpression__Group_1_0_1__0 ) ) ( ( rule__DisjunctiveExpression__Group_1_0_1__0 )* ) ) - // InternalSolverLanguageParser.g:3634:2: ( ( rule__DisjunctiveExpression__Group_1_0_1__0 ) ) ( ( rule__DisjunctiveExpression__Group_1_0_1__0 )* ) + // InternalSolverLanguageParser.g:5379:1: ( ( ruleMultiplicativeExpression ) ) + // InternalSolverLanguageParser.g:5380:1: ( ruleMultiplicativeExpression ) { - // InternalSolverLanguageParser.g:3634:2: ( ( rule__DisjunctiveExpression__Group_1_0_1__0 ) ) - // InternalSolverLanguageParser.g:3635:3: ( rule__DisjunctiveExpression__Group_1_0_1__0 ) + // InternalSolverLanguageParser.g:5380:1: ( ruleMultiplicativeExpression ) + // InternalSolverLanguageParser.g:5381:2: ruleMultiplicativeExpression { - before(grammarAccess.getDisjunctiveExpressionAccess().getGroup_1_0_1()); - // InternalSolverLanguageParser.g:3636:3: ( rule__DisjunctiveExpression__Group_1_0_1__0 ) - // InternalSolverLanguageParser.g:3636:4: rule__DisjunctiveExpression__Group_1_0_1__0 - { - pushFollow(FOLLOW_19); - rule__DisjunctiveExpression__Group_1_0_1__0(); + before(grammarAccess.getAdditiveExpressionAccess().getMultiplicativeExpressionParserRuleCall_0()); + pushFollow(FOLLOW_2); + ruleMultiplicativeExpression(); state._fsp--; - - } - - after(grammarAccess.getDisjunctiveExpressionAccess().getGroup_1_0_1()); - - } - - // InternalSolverLanguageParser.g:3639:2: ( ( rule__DisjunctiveExpression__Group_1_0_1__0 )* ) - // InternalSolverLanguageParser.g:3640:3: ( rule__DisjunctiveExpression__Group_1_0_1__0 )* - { - before(grammarAccess.getDisjunctiveExpressionAccess().getGroup_1_0_1()); - // InternalSolverLanguageParser.g:3641:3: ( rule__DisjunctiveExpression__Group_1_0_1__0 )* - loop31: - do { - int alt31=2; - int LA31_0 = input.LA(1); - - if ( (LA31_0==Semicolon) ) { - alt31=1; - } - - - switch (alt31) { - case 1 : - // InternalSolverLanguageParser.g:3641:4: rule__DisjunctiveExpression__Group_1_0_1__0 - { - pushFollow(FOLLOW_19); - rule__DisjunctiveExpression__Group_1_0_1__0(); - - state._fsp--; - - - } - break; - - default : - break loop31; - } - } while (true); - - after(grammarAccess.getDisjunctiveExpressionAccess().getGroup_1_0_1()); - - } - + after(grammarAccess.getAdditiveExpressionAccess().getMultiplicativeExpressionParserRuleCall_0()); } @@ -11572,26 +16787,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__DisjunctiveExpression__Group_1_0__1__Impl" + // $ANTLR end "rule__AdditiveExpression__Group__0__Impl" - // $ANTLR start "rule__DisjunctiveExpression__Group_1_0_1__0" - // InternalSolverLanguageParser.g:3651:1: rule__DisjunctiveExpression__Group_1_0_1__0 : rule__DisjunctiveExpression__Group_1_0_1__0__Impl rule__DisjunctiveExpression__Group_1_0_1__1 ; - public final void rule__DisjunctiveExpression__Group_1_0_1__0() throws RecognitionException { + // $ANTLR start "rule__AdditiveExpression__Group__1" + // InternalSolverLanguageParser.g:5390:1: rule__AdditiveExpression__Group__1 : rule__AdditiveExpression__Group__1__Impl ; + public final void rule__AdditiveExpression__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3655:1: ( rule__DisjunctiveExpression__Group_1_0_1__0__Impl rule__DisjunctiveExpression__Group_1_0_1__1 ) - // InternalSolverLanguageParser.g:3656:2: rule__DisjunctiveExpression__Group_1_0_1__0__Impl rule__DisjunctiveExpression__Group_1_0_1__1 + // InternalSolverLanguageParser.g:5394:1: ( rule__AdditiveExpression__Group__1__Impl ) + // InternalSolverLanguageParser.g:5395:2: rule__AdditiveExpression__Group__1__Impl { - pushFollow(FOLLOW_7); - rule__DisjunctiveExpression__Group_1_0_1__0__Impl(); - - state._fsp--; - pushFollow(FOLLOW_2); - rule__DisjunctiveExpression__Group_1_0_1__1(); + rule__AdditiveExpression__Group__1__Impl(); state._fsp--; @@ -11610,25 +16820,53 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__DisjunctiveExpression__Group_1_0_1__0" + // $ANTLR end "rule__AdditiveExpression__Group__1" - // $ANTLR start "rule__DisjunctiveExpression__Group_1_0_1__0__Impl" - // InternalSolverLanguageParser.g:3663:1: rule__DisjunctiveExpression__Group_1_0_1__0__Impl : ( Semicolon ) ; - public final void rule__DisjunctiveExpression__Group_1_0_1__0__Impl() throws RecognitionException { + // $ANTLR start "rule__AdditiveExpression__Group__1__Impl" + // InternalSolverLanguageParser.g:5401:1: rule__AdditiveExpression__Group__1__Impl : ( ( rule__AdditiveExpression__Group_1__0 )* ) ; + public final void rule__AdditiveExpression__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3667:1: ( ( Semicolon ) ) - // InternalSolverLanguageParser.g:3668:1: ( Semicolon ) + // InternalSolverLanguageParser.g:5405:1: ( ( ( rule__AdditiveExpression__Group_1__0 )* ) ) + // InternalSolverLanguageParser.g:5406:1: ( ( rule__AdditiveExpression__Group_1__0 )* ) { - // InternalSolverLanguageParser.g:3668:1: ( Semicolon ) - // InternalSolverLanguageParser.g:3669:2: Semicolon + // InternalSolverLanguageParser.g:5406:1: ( ( rule__AdditiveExpression__Group_1__0 )* ) + // InternalSolverLanguageParser.g:5407:2: ( rule__AdditiveExpression__Group_1__0 )* { - before(grammarAccess.getDisjunctiveExpressionAccess().getSemicolonKeyword_1_0_1_0()); - match(input,Semicolon,FOLLOW_2); - after(grammarAccess.getDisjunctiveExpressionAccess().getSemicolonKeyword_1_0_1_0()); + before(grammarAccess.getAdditiveExpressionAccess().getGroup_1()); + // InternalSolverLanguageParser.g:5408:2: ( rule__AdditiveExpression__Group_1__0 )* + loop39: + do { + int alt39=2; + int LA39_0 = input.LA(1); + + if ( (LA39_0==PlusSign||LA39_0==HyphenMinus) ) { + alt39=1; + } + + + switch (alt39) { + case 1 : + // InternalSolverLanguageParser.g:5408:3: rule__AdditiveExpression__Group_1__0 + { + pushFollow(FOLLOW_32); + rule__AdditiveExpression__Group_1__0(); + + state._fsp--; + + + } + break; + + default : + break loop39; + } + } while (true); + + after(grammarAccess.getAdditiveExpressionAccess().getGroup_1()); } @@ -11647,21 +16885,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__DisjunctiveExpression__Group_1_0_1__0__Impl" + // $ANTLR end "rule__AdditiveExpression__Group__1__Impl" - // $ANTLR start "rule__DisjunctiveExpression__Group_1_0_1__1" - // InternalSolverLanguageParser.g:3678:1: rule__DisjunctiveExpression__Group_1_0_1__1 : rule__DisjunctiveExpression__Group_1_0_1__1__Impl ; - public final void rule__DisjunctiveExpression__Group_1_0_1__1() throws RecognitionException { + // $ANTLR start "rule__AdditiveExpression__Group_1__0" + // InternalSolverLanguageParser.g:5417:1: rule__AdditiveExpression__Group_1__0 : rule__AdditiveExpression__Group_1__0__Impl rule__AdditiveExpression__Group_1__1 ; + public final void rule__AdditiveExpression__Group_1__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3682:1: ( rule__DisjunctiveExpression__Group_1_0_1__1__Impl ) - // InternalSolverLanguageParser.g:3683:2: rule__DisjunctiveExpression__Group_1_0_1__1__Impl + // InternalSolverLanguageParser.g:5421:1: ( rule__AdditiveExpression__Group_1__0__Impl rule__AdditiveExpression__Group_1__1 ) + // InternalSolverLanguageParser.g:5422:2: rule__AdditiveExpression__Group_1__0__Impl rule__AdditiveExpression__Group_1__1 { + pushFollow(FOLLOW_31); + rule__AdditiveExpression__Group_1__0__Impl(); + + state._fsp--; + pushFollow(FOLLOW_2); - rule__DisjunctiveExpression__Group_1_0_1__1__Impl(); + rule__AdditiveExpression__Group_1__1(); state._fsp--; @@ -11680,35 +16923,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__DisjunctiveExpression__Group_1_0_1__1" + // $ANTLR end "rule__AdditiveExpression__Group_1__0" - // $ANTLR start "rule__DisjunctiveExpression__Group_1_0_1__1__Impl" - // InternalSolverLanguageParser.g:3689:1: rule__DisjunctiveExpression__Group_1_0_1__1__Impl : ( ( rule__DisjunctiveExpression__ChildrenAssignment_1_0_1_1 ) ) ; - public final void rule__DisjunctiveExpression__Group_1_0_1__1__Impl() throws RecognitionException { + // $ANTLR start "rule__AdditiveExpression__Group_1__0__Impl" + // InternalSolverLanguageParser.g:5429:1: rule__AdditiveExpression__Group_1__0__Impl : ( () ) ; + public final void rule__AdditiveExpression__Group_1__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3693:1: ( ( ( rule__DisjunctiveExpression__ChildrenAssignment_1_0_1_1 ) ) ) - // InternalSolverLanguageParser.g:3694:1: ( ( rule__DisjunctiveExpression__ChildrenAssignment_1_0_1_1 ) ) + // InternalSolverLanguageParser.g:5433:1: ( ( () ) ) + // InternalSolverLanguageParser.g:5434:1: ( () ) { - // InternalSolverLanguageParser.g:3694:1: ( ( rule__DisjunctiveExpression__ChildrenAssignment_1_0_1_1 ) ) - // InternalSolverLanguageParser.g:3695:2: ( rule__DisjunctiveExpression__ChildrenAssignment_1_0_1_1 ) + // InternalSolverLanguageParser.g:5434:1: ( () ) + // InternalSolverLanguageParser.g:5435:2: () { - before(grammarAccess.getDisjunctiveExpressionAccess().getChildrenAssignment_1_0_1_1()); - // InternalSolverLanguageParser.g:3696:2: ( rule__DisjunctiveExpression__ChildrenAssignment_1_0_1_1 ) - // InternalSolverLanguageParser.g:3696:3: rule__DisjunctiveExpression__ChildrenAssignment_1_0_1_1 + before(grammarAccess.getAdditiveExpressionAccess().getBinaryExpressionLeftAction_1_0()); + // InternalSolverLanguageParser.g:5436:2: () + // InternalSolverLanguageParser.g:5436:3: { - pushFollow(FOLLOW_2); - rule__DisjunctiveExpression__ChildrenAssignment_1_0_1_1(); - - state._fsp--; - - } - after(grammarAccess.getDisjunctiveExpressionAccess().getChildrenAssignment_1_0_1_1()); + after(grammarAccess.getAdditiveExpressionAccess().getBinaryExpressionLeftAction_1_0()); } @@ -11716,10 +16953,6 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } finally { restoreStackSize(stackSize); @@ -11727,26 +16960,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__DisjunctiveExpression__Group_1_0_1__1__Impl" + // $ANTLR end "rule__AdditiveExpression__Group_1__0__Impl" - // $ANTLR start "rule__DisjunctiveExpression__Group_1_1__0" - // InternalSolverLanguageParser.g:3705:1: rule__DisjunctiveExpression__Group_1_1__0 : rule__DisjunctiveExpression__Group_1_1__0__Impl rule__DisjunctiveExpression__Group_1_1__1 ; - public final void rule__DisjunctiveExpression__Group_1_1__0() throws RecognitionException { + // $ANTLR start "rule__AdditiveExpression__Group_1__1" + // InternalSolverLanguageParser.g:5444:1: rule__AdditiveExpression__Group_1__1 : rule__AdditiveExpression__Group_1__1__Impl rule__AdditiveExpression__Group_1__2 ; + public final void rule__AdditiveExpression__Group_1__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3709:1: ( rule__DisjunctiveExpression__Group_1_1__0__Impl rule__DisjunctiveExpression__Group_1_1__1 ) - // InternalSolverLanguageParser.g:3710:2: rule__DisjunctiveExpression__Group_1_1__0__Impl rule__DisjunctiveExpression__Group_1_1__1 + // InternalSolverLanguageParser.g:5448:1: ( rule__AdditiveExpression__Group_1__1__Impl rule__AdditiveExpression__Group_1__2 ) + // InternalSolverLanguageParser.g:5449:2: rule__AdditiveExpression__Group_1__1__Impl rule__AdditiveExpression__Group_1__2 { - pushFollow(FOLLOW_17); - rule__DisjunctiveExpression__Group_1_1__0__Impl(); + pushFollow(FOLLOW_7); + rule__AdditiveExpression__Group_1__1__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__DisjunctiveExpression__Group_1_1__1(); + rule__AdditiveExpression__Group_1__2(); state._fsp--; @@ -11765,29 +16998,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__DisjunctiveExpression__Group_1_1__0" + // $ANTLR end "rule__AdditiveExpression__Group_1__1" - // $ANTLR start "rule__DisjunctiveExpression__Group_1_1__0__Impl" - // InternalSolverLanguageParser.g:3717:1: rule__DisjunctiveExpression__Group_1_1__0__Impl : ( () ) ; - public final void rule__DisjunctiveExpression__Group_1_1__0__Impl() throws RecognitionException { + // $ANTLR start "rule__AdditiveExpression__Group_1__1__Impl" + // InternalSolverLanguageParser.g:5456:1: rule__AdditiveExpression__Group_1__1__Impl : ( ( rule__AdditiveExpression__OpAssignment_1_1 ) ) ; + public final void rule__AdditiveExpression__Group_1__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3721:1: ( ( () ) ) - // InternalSolverLanguageParser.g:3722:1: ( () ) + // InternalSolverLanguageParser.g:5460:1: ( ( ( rule__AdditiveExpression__OpAssignment_1_1 ) ) ) + // InternalSolverLanguageParser.g:5461:1: ( ( rule__AdditiveExpression__OpAssignment_1_1 ) ) { - // InternalSolverLanguageParser.g:3722:1: ( () ) - // InternalSolverLanguageParser.g:3723:2: () + // InternalSolverLanguageParser.g:5461:1: ( ( rule__AdditiveExpression__OpAssignment_1_1 ) ) + // InternalSolverLanguageParser.g:5462:2: ( rule__AdditiveExpression__OpAssignment_1_1 ) { - before(grammarAccess.getDisjunctiveExpressionAccess().getCaseConditionAction_1_1_0()); - // InternalSolverLanguageParser.g:3724:2: () - // InternalSolverLanguageParser.g:3724:3: + before(grammarAccess.getAdditiveExpressionAccess().getOpAssignment_1_1()); + // InternalSolverLanguageParser.g:5463:2: ( rule__AdditiveExpression__OpAssignment_1_1 ) + // InternalSolverLanguageParser.g:5463:3: rule__AdditiveExpression__OpAssignment_1_1 { + pushFollow(FOLLOW_2); + rule__AdditiveExpression__OpAssignment_1_1(); + + state._fsp--; + + } - after(grammarAccess.getDisjunctiveExpressionAccess().getCaseConditionAction_1_1_0()); + after(grammarAccess.getAdditiveExpressionAccess().getOpAssignment_1_1()); } @@ -11795,6 +17034,10 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } finally { restoreStackSize(stackSize); @@ -11802,26 +17045,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__DisjunctiveExpression__Group_1_1__0__Impl" + // $ANTLR end "rule__AdditiveExpression__Group_1__1__Impl" - // $ANTLR start "rule__DisjunctiveExpression__Group_1_1__1" - // InternalSolverLanguageParser.g:3732:1: rule__DisjunctiveExpression__Group_1_1__1 : rule__DisjunctiveExpression__Group_1_1__1__Impl rule__DisjunctiveExpression__Group_1_1__2 ; - public final void rule__DisjunctiveExpression__Group_1_1__1() throws RecognitionException { + // $ANTLR start "rule__AdditiveExpression__Group_1__2" + // InternalSolverLanguageParser.g:5471:1: rule__AdditiveExpression__Group_1__2 : rule__AdditiveExpression__Group_1__2__Impl ; + public final void rule__AdditiveExpression__Group_1__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3736:1: ( rule__DisjunctiveExpression__Group_1_1__1__Impl rule__DisjunctiveExpression__Group_1_1__2 ) - // InternalSolverLanguageParser.g:3737:2: rule__DisjunctiveExpression__Group_1_1__1__Impl rule__DisjunctiveExpression__Group_1_1__2 + // InternalSolverLanguageParser.g:5475:1: ( rule__AdditiveExpression__Group_1__2__Impl ) + // InternalSolverLanguageParser.g:5476:2: rule__AdditiveExpression__Group_1__2__Impl { - pushFollow(FOLLOW_7); - rule__DisjunctiveExpression__Group_1_1__1__Impl(); - - state._fsp--; - pushFollow(FOLLOW_2); - rule__DisjunctiveExpression__Group_1_1__2(); + rule__AdditiveExpression__Group_1__2__Impl(); state._fsp--; @@ -11840,25 +17078,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__DisjunctiveExpression__Group_1_1__1" + // $ANTLR end "rule__AdditiveExpression__Group_1__2" - // $ANTLR start "rule__DisjunctiveExpression__Group_1_1__1__Impl" - // InternalSolverLanguageParser.g:3744:1: rule__DisjunctiveExpression__Group_1_1__1__Impl : ( HyphenMinusGreaterThanSign ) ; - public final void rule__DisjunctiveExpression__Group_1_1__1__Impl() throws RecognitionException { + // $ANTLR start "rule__AdditiveExpression__Group_1__2__Impl" + // InternalSolverLanguageParser.g:5482:1: rule__AdditiveExpression__Group_1__2__Impl : ( ( rule__AdditiveExpression__RightAssignment_1_2 ) ) ; + public final void rule__AdditiveExpression__Group_1__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3748:1: ( ( HyphenMinusGreaterThanSign ) ) - // InternalSolverLanguageParser.g:3749:1: ( HyphenMinusGreaterThanSign ) + // InternalSolverLanguageParser.g:5486:1: ( ( ( rule__AdditiveExpression__RightAssignment_1_2 ) ) ) + // InternalSolverLanguageParser.g:5487:1: ( ( rule__AdditiveExpression__RightAssignment_1_2 ) ) { - // InternalSolverLanguageParser.g:3749:1: ( HyphenMinusGreaterThanSign ) - // InternalSolverLanguageParser.g:3750:2: HyphenMinusGreaterThanSign + // InternalSolverLanguageParser.g:5487:1: ( ( rule__AdditiveExpression__RightAssignment_1_2 ) ) + // InternalSolverLanguageParser.g:5488:2: ( rule__AdditiveExpression__RightAssignment_1_2 ) { - before(grammarAccess.getDisjunctiveExpressionAccess().getHyphenMinusGreaterThanSignKeyword_1_1_1()); - match(input,HyphenMinusGreaterThanSign,FOLLOW_2); - after(grammarAccess.getDisjunctiveExpressionAccess().getHyphenMinusGreaterThanSignKeyword_1_1_1()); + before(grammarAccess.getAdditiveExpressionAccess().getRightAssignment_1_2()); + // InternalSolverLanguageParser.g:5489:2: ( rule__AdditiveExpression__RightAssignment_1_2 ) + // InternalSolverLanguageParser.g:5489:3: rule__AdditiveExpression__RightAssignment_1_2 + { + pushFollow(FOLLOW_2); + rule__AdditiveExpression__RightAssignment_1_2(); + + state._fsp--; + + + } + + after(grammarAccess.getAdditiveExpressionAccess().getRightAssignment_1_2()); } @@ -11877,26 +17125,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__DisjunctiveExpression__Group_1_1__1__Impl" + // $ANTLR end "rule__AdditiveExpression__Group_1__2__Impl" - // $ANTLR start "rule__DisjunctiveExpression__Group_1_1__2" - // InternalSolverLanguageParser.g:3759:1: rule__DisjunctiveExpression__Group_1_1__2 : rule__DisjunctiveExpression__Group_1_1__2__Impl rule__DisjunctiveExpression__Group_1_1__3 ; - public final void rule__DisjunctiveExpression__Group_1_1__2() throws RecognitionException { + // $ANTLR start "rule__MultiplicativeExpression__Group__0" + // InternalSolverLanguageParser.g:5498:1: rule__MultiplicativeExpression__Group__0 : rule__MultiplicativeExpression__Group__0__Impl rule__MultiplicativeExpression__Group__1 ; + public final void rule__MultiplicativeExpression__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3763:1: ( rule__DisjunctiveExpression__Group_1_1__2__Impl rule__DisjunctiveExpression__Group_1_1__3 ) - // InternalSolverLanguageParser.g:3764:2: rule__DisjunctiveExpression__Group_1_1__2__Impl rule__DisjunctiveExpression__Group_1_1__3 + // InternalSolverLanguageParser.g:5502:1: ( rule__MultiplicativeExpression__Group__0__Impl rule__MultiplicativeExpression__Group__1 ) + // InternalSolverLanguageParser.g:5503:2: rule__MultiplicativeExpression__Group__0__Impl rule__MultiplicativeExpression__Group__1 { - pushFollow(FOLLOW_18); - rule__DisjunctiveExpression__Group_1_1__2__Impl(); + pushFollow(FOLLOW_33); + rule__MultiplicativeExpression__Group__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__DisjunctiveExpression__Group_1_1__3(); + rule__MultiplicativeExpression__Group__1(); state._fsp--; @@ -11915,35 +17163,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__DisjunctiveExpression__Group_1_1__2" + // $ANTLR end "rule__MultiplicativeExpression__Group__0" - // $ANTLR start "rule__DisjunctiveExpression__Group_1_1__2__Impl" - // InternalSolverLanguageParser.g:3771:1: rule__DisjunctiveExpression__Group_1_1__2__Impl : ( ( rule__DisjunctiveExpression__BodyAssignment_1_1_2 ) ) ; - public final void rule__DisjunctiveExpression__Group_1_1__2__Impl() throws RecognitionException { + // $ANTLR start "rule__MultiplicativeExpression__Group__0__Impl" + // InternalSolverLanguageParser.g:5510:1: rule__MultiplicativeExpression__Group__0__Impl : ( ruleExponentialExpression ) ; + public final void rule__MultiplicativeExpression__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3775:1: ( ( ( rule__DisjunctiveExpression__BodyAssignment_1_1_2 ) ) ) - // InternalSolverLanguageParser.g:3776:1: ( ( rule__DisjunctiveExpression__BodyAssignment_1_1_2 ) ) - { - // InternalSolverLanguageParser.g:3776:1: ( ( rule__DisjunctiveExpression__BodyAssignment_1_1_2 ) ) - // InternalSolverLanguageParser.g:3777:2: ( rule__DisjunctiveExpression__BodyAssignment_1_1_2 ) + // InternalSolverLanguageParser.g:5514:1: ( ( ruleExponentialExpression ) ) + // InternalSolverLanguageParser.g:5515:1: ( ruleExponentialExpression ) { - before(grammarAccess.getDisjunctiveExpressionAccess().getBodyAssignment_1_1_2()); - // InternalSolverLanguageParser.g:3778:2: ( rule__DisjunctiveExpression__BodyAssignment_1_1_2 ) - // InternalSolverLanguageParser.g:3778:3: rule__DisjunctiveExpression__BodyAssignment_1_1_2 + // InternalSolverLanguageParser.g:5515:1: ( ruleExponentialExpression ) + // InternalSolverLanguageParser.g:5516:2: ruleExponentialExpression { + before(grammarAccess.getMultiplicativeExpressionAccess().getExponentialExpressionParserRuleCall_0()); pushFollow(FOLLOW_2); - rule__DisjunctiveExpression__BodyAssignment_1_1_2(); + ruleExponentialExpression(); state._fsp--; - - } - - after(grammarAccess.getDisjunctiveExpressionAccess().getBodyAssignment_1_1_2()); + after(grammarAccess.getMultiplicativeExpressionAccess().getExponentialExpressionParserRuleCall_0()); } @@ -11962,26 +17204,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__DisjunctiveExpression__Group_1_1__2__Impl" + // $ANTLR end "rule__MultiplicativeExpression__Group__0__Impl" - // $ANTLR start "rule__DisjunctiveExpression__Group_1_1__3" - // InternalSolverLanguageParser.g:3786:1: rule__DisjunctiveExpression__Group_1_1__3 : rule__DisjunctiveExpression__Group_1_1__3__Impl rule__DisjunctiveExpression__Group_1_1__4 ; - public final void rule__DisjunctiveExpression__Group_1_1__3() throws RecognitionException { + // $ANTLR start "rule__MultiplicativeExpression__Group__1" + // InternalSolverLanguageParser.g:5525:1: rule__MultiplicativeExpression__Group__1 : rule__MultiplicativeExpression__Group__1__Impl ; + public final void rule__MultiplicativeExpression__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3790:1: ( rule__DisjunctiveExpression__Group_1_1__3__Impl rule__DisjunctiveExpression__Group_1_1__4 ) - // InternalSolverLanguageParser.g:3791:2: rule__DisjunctiveExpression__Group_1_1__3__Impl rule__DisjunctiveExpression__Group_1_1__4 + // InternalSolverLanguageParser.g:5529:1: ( rule__MultiplicativeExpression__Group__1__Impl ) + // InternalSolverLanguageParser.g:5530:2: rule__MultiplicativeExpression__Group__1__Impl { - pushFollow(FOLLOW_18); - rule__DisjunctiveExpression__Group_1_1__3__Impl(); - - state._fsp--; - pushFollow(FOLLOW_2); - rule__DisjunctiveExpression__Group_1_1__4(); + rule__MultiplicativeExpression__Group__1__Impl(); state._fsp--; @@ -12000,29 +17237,53 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__DisjunctiveExpression__Group_1_1__3" + // $ANTLR end "rule__MultiplicativeExpression__Group__1" - // $ANTLR start "rule__DisjunctiveExpression__Group_1_1__3__Impl" - // InternalSolverLanguageParser.g:3798:1: rule__DisjunctiveExpression__Group_1_1__3__Impl : ( () ) ; - public final void rule__DisjunctiveExpression__Group_1_1__3__Impl() throws RecognitionException { + // $ANTLR start "rule__MultiplicativeExpression__Group__1__Impl" + // InternalSolverLanguageParser.g:5536:1: rule__MultiplicativeExpression__Group__1__Impl : ( ( rule__MultiplicativeExpression__Group_1__0 )* ) ; + public final void rule__MultiplicativeExpression__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3802:1: ( ( () ) ) - // InternalSolverLanguageParser.g:3803:1: ( () ) + // InternalSolverLanguageParser.g:5540:1: ( ( ( rule__MultiplicativeExpression__Group_1__0 )* ) ) + // InternalSolverLanguageParser.g:5541:1: ( ( rule__MultiplicativeExpression__Group_1__0 )* ) { - // InternalSolverLanguageParser.g:3803:1: ( () ) - // InternalSolverLanguageParser.g:3804:2: () - { - before(grammarAccess.getDisjunctiveExpressionAccess().getSwitchCasesAction_1_1_3()); - // InternalSolverLanguageParser.g:3805:2: () - // InternalSolverLanguageParser.g:3805:3: + // InternalSolverLanguageParser.g:5541:1: ( ( rule__MultiplicativeExpression__Group_1__0 )* ) + // InternalSolverLanguageParser.g:5542:2: ( rule__MultiplicativeExpression__Group_1__0 )* { - } + before(grammarAccess.getMultiplicativeExpressionAccess().getGroup_1()); + // InternalSolverLanguageParser.g:5543:2: ( rule__MultiplicativeExpression__Group_1__0 )* + loop40: + do { + int alt40=2; + int LA40_0 = input.LA(1); - after(grammarAccess.getDisjunctiveExpressionAccess().getSwitchCasesAction_1_1_3()); + if ( (LA40_0==Asterisk||LA40_0==Solidus) ) { + alt40=1; + } + + + switch (alt40) { + case 1 : + // InternalSolverLanguageParser.g:5543:3: rule__MultiplicativeExpression__Group_1__0 + { + pushFollow(FOLLOW_34); + rule__MultiplicativeExpression__Group_1__0(); + + state._fsp--; + + + } + break; + + default : + break loop40; + } + } while (true); + + after(grammarAccess.getMultiplicativeExpressionAccess().getGroup_1()); } @@ -12030,6 +17291,10 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } finally { restoreStackSize(stackSize); @@ -12037,21 +17302,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__DisjunctiveExpression__Group_1_1__3__Impl" + // $ANTLR end "rule__MultiplicativeExpression__Group__1__Impl" - // $ANTLR start "rule__DisjunctiveExpression__Group_1_1__4" - // InternalSolverLanguageParser.g:3813:1: rule__DisjunctiveExpression__Group_1_1__4 : rule__DisjunctiveExpression__Group_1_1__4__Impl ; - public final void rule__DisjunctiveExpression__Group_1_1__4() throws RecognitionException { + // $ANTLR start "rule__MultiplicativeExpression__Group_1__0" + // InternalSolverLanguageParser.g:5552:1: rule__MultiplicativeExpression__Group_1__0 : rule__MultiplicativeExpression__Group_1__0__Impl rule__MultiplicativeExpression__Group_1__1 ; + public final void rule__MultiplicativeExpression__Group_1__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3817:1: ( rule__DisjunctiveExpression__Group_1_1__4__Impl ) - // InternalSolverLanguageParser.g:3818:2: rule__DisjunctiveExpression__Group_1_1__4__Impl + // InternalSolverLanguageParser.g:5556:1: ( rule__MultiplicativeExpression__Group_1__0__Impl rule__MultiplicativeExpression__Group_1__1 ) + // InternalSolverLanguageParser.g:5557:2: rule__MultiplicativeExpression__Group_1__0__Impl rule__MultiplicativeExpression__Group_1__1 { + pushFollow(FOLLOW_33); + rule__MultiplicativeExpression__Group_1__0__Impl(); + + state._fsp--; + pushFollow(FOLLOW_2); - rule__DisjunctiveExpression__Group_1_1__4__Impl(); + rule__MultiplicativeExpression__Group_1__1(); state._fsp--; @@ -12070,53 +17340,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__DisjunctiveExpression__Group_1_1__4" + // $ANTLR end "rule__MultiplicativeExpression__Group_1__0" - // $ANTLR start "rule__DisjunctiveExpression__Group_1_1__4__Impl" - // InternalSolverLanguageParser.g:3824:1: rule__DisjunctiveExpression__Group_1_1__4__Impl : ( ( rule__DisjunctiveExpression__Group_1_1_4__0 )* ) ; - public final void rule__DisjunctiveExpression__Group_1_1__4__Impl() throws RecognitionException { + // $ANTLR start "rule__MultiplicativeExpression__Group_1__0__Impl" + // InternalSolverLanguageParser.g:5564:1: rule__MultiplicativeExpression__Group_1__0__Impl : ( () ) ; + public final void rule__MultiplicativeExpression__Group_1__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3828:1: ( ( ( rule__DisjunctiveExpression__Group_1_1_4__0 )* ) ) - // InternalSolverLanguageParser.g:3829:1: ( ( rule__DisjunctiveExpression__Group_1_1_4__0 )* ) + // InternalSolverLanguageParser.g:5568:1: ( ( () ) ) + // InternalSolverLanguageParser.g:5569:1: ( () ) { - // InternalSolverLanguageParser.g:3829:1: ( ( rule__DisjunctiveExpression__Group_1_1_4__0 )* ) - // InternalSolverLanguageParser.g:3830:2: ( rule__DisjunctiveExpression__Group_1_1_4__0 )* + // InternalSolverLanguageParser.g:5569:1: ( () ) + // InternalSolverLanguageParser.g:5570:2: () { - before(grammarAccess.getDisjunctiveExpressionAccess().getGroup_1_1_4()); - // InternalSolverLanguageParser.g:3831:2: ( rule__DisjunctiveExpression__Group_1_1_4__0 )* - loop32: - do { - int alt32=2; - int LA32_0 = input.LA(1); - - if ( (LA32_0==Semicolon) ) { - alt32=1; - } - - - switch (alt32) { - case 1 : - // InternalSolverLanguageParser.g:3831:3: rule__DisjunctiveExpression__Group_1_1_4__0 - { - pushFollow(FOLLOW_19); - rule__DisjunctiveExpression__Group_1_1_4__0(); - - state._fsp--; - - - } - break; - - default : - break loop32; - } - } while (true); + before(grammarAccess.getMultiplicativeExpressionAccess().getBinaryExpressionLeftAction_1_0()); + // InternalSolverLanguageParser.g:5571:2: () + // InternalSolverLanguageParser.g:5571:3: + { + } - after(grammarAccess.getDisjunctiveExpressionAccess().getGroup_1_1_4()); + after(grammarAccess.getMultiplicativeExpressionAccess().getBinaryExpressionLeftAction_1_0()); } @@ -12124,10 +17370,6 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } finally { restoreStackSize(stackSize); @@ -12135,26 +17377,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__DisjunctiveExpression__Group_1_1__4__Impl" + // $ANTLR end "rule__MultiplicativeExpression__Group_1__0__Impl" - // $ANTLR start "rule__DisjunctiveExpression__Group_1_1_4__0" - // InternalSolverLanguageParser.g:3840:1: rule__DisjunctiveExpression__Group_1_1_4__0 : rule__DisjunctiveExpression__Group_1_1_4__0__Impl rule__DisjunctiveExpression__Group_1_1_4__1 ; - public final void rule__DisjunctiveExpression__Group_1_1_4__0() throws RecognitionException { + // $ANTLR start "rule__MultiplicativeExpression__Group_1__1" + // InternalSolverLanguageParser.g:5579:1: rule__MultiplicativeExpression__Group_1__1 : rule__MultiplicativeExpression__Group_1__1__Impl rule__MultiplicativeExpression__Group_1__2 ; + public final void rule__MultiplicativeExpression__Group_1__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3844:1: ( rule__DisjunctiveExpression__Group_1_1_4__0__Impl rule__DisjunctiveExpression__Group_1_1_4__1 ) - // InternalSolverLanguageParser.g:3845:2: rule__DisjunctiveExpression__Group_1_1_4__0__Impl rule__DisjunctiveExpression__Group_1_1_4__1 + // InternalSolverLanguageParser.g:5583:1: ( rule__MultiplicativeExpression__Group_1__1__Impl rule__MultiplicativeExpression__Group_1__2 ) + // InternalSolverLanguageParser.g:5584:2: rule__MultiplicativeExpression__Group_1__1__Impl rule__MultiplicativeExpression__Group_1__2 { pushFollow(FOLLOW_7); - rule__DisjunctiveExpression__Group_1_1_4__0__Impl(); + rule__MultiplicativeExpression__Group_1__1__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__DisjunctiveExpression__Group_1_1_4__1(); + rule__MultiplicativeExpression__Group_1__2(); state._fsp--; @@ -12173,25 +17415,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__DisjunctiveExpression__Group_1_1_4__0" + // $ANTLR end "rule__MultiplicativeExpression__Group_1__1" - // $ANTLR start "rule__DisjunctiveExpression__Group_1_1_4__0__Impl" - // InternalSolverLanguageParser.g:3852:1: rule__DisjunctiveExpression__Group_1_1_4__0__Impl : ( Semicolon ) ; - public final void rule__DisjunctiveExpression__Group_1_1_4__0__Impl() throws RecognitionException { + // $ANTLR start "rule__MultiplicativeExpression__Group_1__1__Impl" + // InternalSolverLanguageParser.g:5591:1: rule__MultiplicativeExpression__Group_1__1__Impl : ( ( rule__MultiplicativeExpression__OpAssignment_1_1 ) ) ; + public final void rule__MultiplicativeExpression__Group_1__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3856:1: ( ( Semicolon ) ) - // InternalSolverLanguageParser.g:3857:1: ( Semicolon ) + // InternalSolverLanguageParser.g:5595:1: ( ( ( rule__MultiplicativeExpression__OpAssignment_1_1 ) ) ) + // InternalSolverLanguageParser.g:5596:1: ( ( rule__MultiplicativeExpression__OpAssignment_1_1 ) ) { - // InternalSolverLanguageParser.g:3857:1: ( Semicolon ) - // InternalSolverLanguageParser.g:3858:2: Semicolon + // InternalSolverLanguageParser.g:5596:1: ( ( rule__MultiplicativeExpression__OpAssignment_1_1 ) ) + // InternalSolverLanguageParser.g:5597:2: ( rule__MultiplicativeExpression__OpAssignment_1_1 ) { - before(grammarAccess.getDisjunctiveExpressionAccess().getSemicolonKeyword_1_1_4_0()); - match(input,Semicolon,FOLLOW_2); - after(grammarAccess.getDisjunctiveExpressionAccess().getSemicolonKeyword_1_1_4_0()); + before(grammarAccess.getMultiplicativeExpressionAccess().getOpAssignment_1_1()); + // InternalSolverLanguageParser.g:5598:2: ( rule__MultiplicativeExpression__OpAssignment_1_1 ) + // InternalSolverLanguageParser.g:5598:3: rule__MultiplicativeExpression__OpAssignment_1_1 + { + pushFollow(FOLLOW_2); + rule__MultiplicativeExpression__OpAssignment_1_1(); + + state._fsp--; + + + } + + after(grammarAccess.getMultiplicativeExpressionAccess().getOpAssignment_1_1()); } @@ -12210,21 +17462,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__DisjunctiveExpression__Group_1_1_4__0__Impl" + // $ANTLR end "rule__MultiplicativeExpression__Group_1__1__Impl" - // $ANTLR start "rule__DisjunctiveExpression__Group_1_1_4__1" - // InternalSolverLanguageParser.g:3867:1: rule__DisjunctiveExpression__Group_1_1_4__1 : rule__DisjunctiveExpression__Group_1_1_4__1__Impl ; - public final void rule__DisjunctiveExpression__Group_1_1_4__1() throws RecognitionException { + // $ANTLR start "rule__MultiplicativeExpression__Group_1__2" + // InternalSolverLanguageParser.g:5606:1: rule__MultiplicativeExpression__Group_1__2 : rule__MultiplicativeExpression__Group_1__2__Impl ; + public final void rule__MultiplicativeExpression__Group_1__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3871:1: ( rule__DisjunctiveExpression__Group_1_1_4__1__Impl ) - // InternalSolverLanguageParser.g:3872:2: rule__DisjunctiveExpression__Group_1_1_4__1__Impl + // InternalSolverLanguageParser.g:5610:1: ( rule__MultiplicativeExpression__Group_1__2__Impl ) + // InternalSolverLanguageParser.g:5611:2: rule__MultiplicativeExpression__Group_1__2__Impl { pushFollow(FOLLOW_2); - rule__DisjunctiveExpression__Group_1_1_4__1__Impl(); + rule__MultiplicativeExpression__Group_1__2__Impl(); state._fsp--; @@ -12243,35 +17495,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__DisjunctiveExpression__Group_1_1_4__1" + // $ANTLR end "rule__MultiplicativeExpression__Group_1__2" - // $ANTLR start "rule__DisjunctiveExpression__Group_1_1_4__1__Impl" - // InternalSolverLanguageParser.g:3878:1: rule__DisjunctiveExpression__Group_1_1_4__1__Impl : ( ( rule__DisjunctiveExpression__CasesAssignment_1_1_4_1 ) ) ; - public final void rule__DisjunctiveExpression__Group_1_1_4__1__Impl() throws RecognitionException { + // $ANTLR start "rule__MultiplicativeExpression__Group_1__2__Impl" + // InternalSolverLanguageParser.g:5617:1: rule__MultiplicativeExpression__Group_1__2__Impl : ( ( rule__MultiplicativeExpression__RightAssignment_1_2 ) ) ; + public final void rule__MultiplicativeExpression__Group_1__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3882:1: ( ( ( rule__DisjunctiveExpression__CasesAssignment_1_1_4_1 ) ) ) - // InternalSolverLanguageParser.g:3883:1: ( ( rule__DisjunctiveExpression__CasesAssignment_1_1_4_1 ) ) + // InternalSolverLanguageParser.g:5621:1: ( ( ( rule__MultiplicativeExpression__RightAssignment_1_2 ) ) ) + // InternalSolverLanguageParser.g:5622:1: ( ( rule__MultiplicativeExpression__RightAssignment_1_2 ) ) { - // InternalSolverLanguageParser.g:3883:1: ( ( rule__DisjunctiveExpression__CasesAssignment_1_1_4_1 ) ) - // InternalSolverLanguageParser.g:3884:2: ( rule__DisjunctiveExpression__CasesAssignment_1_1_4_1 ) + // InternalSolverLanguageParser.g:5622:1: ( ( rule__MultiplicativeExpression__RightAssignment_1_2 ) ) + // InternalSolverLanguageParser.g:5623:2: ( rule__MultiplicativeExpression__RightAssignment_1_2 ) { - before(grammarAccess.getDisjunctiveExpressionAccess().getCasesAssignment_1_1_4_1()); - // InternalSolverLanguageParser.g:3885:2: ( rule__DisjunctiveExpression__CasesAssignment_1_1_4_1 ) - // InternalSolverLanguageParser.g:3885:3: rule__DisjunctiveExpression__CasesAssignment_1_1_4_1 + before(grammarAccess.getMultiplicativeExpressionAccess().getRightAssignment_1_2()); + // InternalSolverLanguageParser.g:5624:2: ( rule__MultiplicativeExpression__RightAssignment_1_2 ) + // InternalSolverLanguageParser.g:5624:3: rule__MultiplicativeExpression__RightAssignment_1_2 { pushFollow(FOLLOW_2); - rule__DisjunctiveExpression__CasesAssignment_1_1_4_1(); + rule__MultiplicativeExpression__RightAssignment_1_2(); state._fsp--; } - after(grammarAccess.getDisjunctiveExpressionAccess().getCasesAssignment_1_1_4_1()); + after(grammarAccess.getMultiplicativeExpressionAccess().getRightAssignment_1_2()); } @@ -12290,26 +17542,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__DisjunctiveExpression__Group_1_1_4__1__Impl" + // $ANTLR end "rule__MultiplicativeExpression__Group_1__2__Impl" - // $ANTLR start "rule__Case__Group__0" - // InternalSolverLanguageParser.g:3894:1: rule__Case__Group__0 : rule__Case__Group__0__Impl rule__Case__Group__1 ; - public final void rule__Case__Group__0() throws RecognitionException { + // $ANTLR start "rule__ExponentialExpression__Group__0" + // InternalSolverLanguageParser.g:5633:1: rule__ExponentialExpression__Group__0 : rule__ExponentialExpression__Group__0__Impl rule__ExponentialExpression__Group__1 ; + public final void rule__ExponentialExpression__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3898:1: ( rule__Case__Group__0__Impl rule__Case__Group__1 ) - // InternalSolverLanguageParser.g:3899:2: rule__Case__Group__0__Impl rule__Case__Group__1 + // InternalSolverLanguageParser.g:5637:1: ( rule__ExponentialExpression__Group__0__Impl rule__ExponentialExpression__Group__1 ) + // InternalSolverLanguageParser.g:5638:2: rule__ExponentialExpression__Group__0__Impl rule__ExponentialExpression__Group__1 { - pushFollow(FOLLOW_20); - rule__Case__Group__0__Impl(); + pushFollow(FOLLOW_35); + rule__ExponentialExpression__Group__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__Case__Group__1(); + rule__ExponentialExpression__Group__1(); state._fsp--; @@ -12328,35 +17580,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Case__Group__0" + // $ANTLR end "rule__ExponentialExpression__Group__0" - // $ANTLR start "rule__Case__Group__0__Impl" - // InternalSolverLanguageParser.g:3906:1: rule__Case__Group__0__Impl : ( ( rule__Case__ConditionAssignment_0 ) ) ; - public final void rule__Case__Group__0__Impl() throws RecognitionException { + // $ANTLR start "rule__ExponentialExpression__Group__0__Impl" + // InternalSolverLanguageParser.g:5645:1: rule__ExponentialExpression__Group__0__Impl : ( ruleCastExpression ) ; + public final void rule__ExponentialExpression__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3910:1: ( ( ( rule__Case__ConditionAssignment_0 ) ) ) - // InternalSolverLanguageParser.g:3911:1: ( ( rule__Case__ConditionAssignment_0 ) ) - { - // InternalSolverLanguageParser.g:3911:1: ( ( rule__Case__ConditionAssignment_0 ) ) - // InternalSolverLanguageParser.g:3912:2: ( rule__Case__ConditionAssignment_0 ) + // InternalSolverLanguageParser.g:5649:1: ( ( ruleCastExpression ) ) + // InternalSolverLanguageParser.g:5650:1: ( ruleCastExpression ) { - before(grammarAccess.getCaseAccess().getConditionAssignment_0()); - // InternalSolverLanguageParser.g:3913:2: ( rule__Case__ConditionAssignment_0 ) - // InternalSolverLanguageParser.g:3913:3: rule__Case__ConditionAssignment_0 + // InternalSolverLanguageParser.g:5650:1: ( ruleCastExpression ) + // InternalSolverLanguageParser.g:5651:2: ruleCastExpression { + before(grammarAccess.getExponentialExpressionAccess().getCastExpressionParserRuleCall_0()); pushFollow(FOLLOW_2); - rule__Case__ConditionAssignment_0(); + ruleCastExpression(); state._fsp--; - - } - - after(grammarAccess.getCaseAccess().getConditionAssignment_0()); + after(grammarAccess.getExponentialExpressionAccess().getCastExpressionParserRuleCall_0()); } @@ -12375,26 +17621,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Case__Group__0__Impl" + // $ANTLR end "rule__ExponentialExpression__Group__0__Impl" - // $ANTLR start "rule__Case__Group__1" - // InternalSolverLanguageParser.g:3921:1: rule__Case__Group__1 : rule__Case__Group__1__Impl rule__Case__Group__2 ; - public final void rule__Case__Group__1() throws RecognitionException { + // $ANTLR start "rule__ExponentialExpression__Group__1" + // InternalSolverLanguageParser.g:5660:1: rule__ExponentialExpression__Group__1 : rule__ExponentialExpression__Group__1__Impl ; + public final void rule__ExponentialExpression__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3925:1: ( rule__Case__Group__1__Impl rule__Case__Group__2 ) - // InternalSolverLanguageParser.g:3926:2: rule__Case__Group__1__Impl rule__Case__Group__2 + // InternalSolverLanguageParser.g:5664:1: ( rule__ExponentialExpression__Group__1__Impl ) + // InternalSolverLanguageParser.g:5665:2: rule__ExponentialExpression__Group__1__Impl { - pushFollow(FOLLOW_7); - rule__Case__Group__1__Impl(); - - state._fsp--; - pushFollow(FOLLOW_2); - rule__Case__Group__2(); + rule__ExponentialExpression__Group__1__Impl(); state._fsp--; @@ -12413,25 +17654,46 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Case__Group__1" + // $ANTLR end "rule__ExponentialExpression__Group__1" - // $ANTLR start "rule__Case__Group__1__Impl" - // InternalSolverLanguageParser.g:3933:1: rule__Case__Group__1__Impl : ( HyphenMinusGreaterThanSign ) ; - public final void rule__Case__Group__1__Impl() throws RecognitionException { + // $ANTLR start "rule__ExponentialExpression__Group__1__Impl" + // InternalSolverLanguageParser.g:5671:1: rule__ExponentialExpression__Group__1__Impl : ( ( rule__ExponentialExpression__Group_1__0 )? ) ; + public final void rule__ExponentialExpression__Group__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:5675:1: ( ( ( rule__ExponentialExpression__Group_1__0 )? ) ) + // InternalSolverLanguageParser.g:5676:1: ( ( rule__ExponentialExpression__Group_1__0 )? ) + { + // InternalSolverLanguageParser.g:5676:1: ( ( rule__ExponentialExpression__Group_1__0 )? ) + // InternalSolverLanguageParser.g:5677:2: ( rule__ExponentialExpression__Group_1__0 )? + { + before(grammarAccess.getExponentialExpressionAccess().getGroup_1()); + // InternalSolverLanguageParser.g:5678:2: ( rule__ExponentialExpression__Group_1__0 )? + int alt41=2; + int LA41_0 = input.LA(1); + + if ( (LA41_0==CircumflexAccent) ) { + alt41=1; + } + switch (alt41) { + case 1 : + // InternalSolverLanguageParser.g:5678:3: rule__ExponentialExpression__Group_1__0 + { + pushFollow(FOLLOW_2); + rule__ExponentialExpression__Group_1__0(); + + state._fsp--; + + + } + break; + + } - int stackSize = keepStackSize(); - - try { - // InternalSolverLanguageParser.g:3937:1: ( ( HyphenMinusGreaterThanSign ) ) - // InternalSolverLanguageParser.g:3938:1: ( HyphenMinusGreaterThanSign ) - { - // InternalSolverLanguageParser.g:3938:1: ( HyphenMinusGreaterThanSign ) - // InternalSolverLanguageParser.g:3939:2: HyphenMinusGreaterThanSign - { - before(grammarAccess.getCaseAccess().getHyphenMinusGreaterThanSignKeyword_1()); - match(input,HyphenMinusGreaterThanSign,FOLLOW_2); - after(grammarAccess.getCaseAccess().getHyphenMinusGreaterThanSignKeyword_1()); + after(grammarAccess.getExponentialExpressionAccess().getGroup_1()); } @@ -12450,21 +17712,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Case__Group__1__Impl" + // $ANTLR end "rule__ExponentialExpression__Group__1__Impl" - // $ANTLR start "rule__Case__Group__2" - // InternalSolverLanguageParser.g:3948:1: rule__Case__Group__2 : rule__Case__Group__2__Impl ; - public final void rule__Case__Group__2() throws RecognitionException { + // $ANTLR start "rule__ExponentialExpression__Group_1__0" + // InternalSolverLanguageParser.g:5687:1: rule__ExponentialExpression__Group_1__0 : rule__ExponentialExpression__Group_1__0__Impl rule__ExponentialExpression__Group_1__1 ; + public final void rule__ExponentialExpression__Group_1__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3952:1: ( rule__Case__Group__2__Impl ) - // InternalSolverLanguageParser.g:3953:2: rule__Case__Group__2__Impl + // InternalSolverLanguageParser.g:5691:1: ( rule__ExponentialExpression__Group_1__0__Impl rule__ExponentialExpression__Group_1__1 ) + // InternalSolverLanguageParser.g:5692:2: rule__ExponentialExpression__Group_1__0__Impl rule__ExponentialExpression__Group_1__1 { + pushFollow(FOLLOW_35); + rule__ExponentialExpression__Group_1__0__Impl(); + + state._fsp--; + pushFollow(FOLLOW_2); - rule__Case__Group__2__Impl(); + rule__ExponentialExpression__Group_1__1(); state._fsp--; @@ -12483,35 +17750,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Case__Group__2" + // $ANTLR end "rule__ExponentialExpression__Group_1__0" - // $ANTLR start "rule__Case__Group__2__Impl" - // InternalSolverLanguageParser.g:3959:1: rule__Case__Group__2__Impl : ( ( rule__Case__BodyAssignment_2 ) ) ; - public final void rule__Case__Group__2__Impl() throws RecognitionException { + // $ANTLR start "rule__ExponentialExpression__Group_1__0__Impl" + // InternalSolverLanguageParser.g:5699:1: rule__ExponentialExpression__Group_1__0__Impl : ( () ) ; + public final void rule__ExponentialExpression__Group_1__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3963:1: ( ( ( rule__Case__BodyAssignment_2 ) ) ) - // InternalSolverLanguageParser.g:3964:1: ( ( rule__Case__BodyAssignment_2 ) ) + // InternalSolverLanguageParser.g:5703:1: ( ( () ) ) + // InternalSolverLanguageParser.g:5704:1: ( () ) { - // InternalSolverLanguageParser.g:3964:1: ( ( rule__Case__BodyAssignment_2 ) ) - // InternalSolverLanguageParser.g:3965:2: ( rule__Case__BodyAssignment_2 ) + // InternalSolverLanguageParser.g:5704:1: ( () ) + // InternalSolverLanguageParser.g:5705:2: () { - before(grammarAccess.getCaseAccess().getBodyAssignment_2()); - // InternalSolverLanguageParser.g:3966:2: ( rule__Case__BodyAssignment_2 ) - // InternalSolverLanguageParser.g:3966:3: rule__Case__BodyAssignment_2 + before(grammarAccess.getExponentialExpressionAccess().getBinaryExpressionLeftAction_1_0()); + // InternalSolverLanguageParser.g:5706:2: () + // InternalSolverLanguageParser.g:5706:3: { - pushFollow(FOLLOW_2); - rule__Case__BodyAssignment_2(); - - state._fsp--; - - } - after(grammarAccess.getCaseAccess().getBodyAssignment_2()); + after(grammarAccess.getExponentialExpressionAccess().getBinaryExpressionLeftAction_1_0()); } @@ -12519,10 +17780,6 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } finally { restoreStackSize(stackSize); @@ -12530,26 +17787,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Case__Group__2__Impl" + // $ANTLR end "rule__ExponentialExpression__Group_1__0__Impl" - // $ANTLR start "rule__ConjunctiveExpression__Group__0" - // InternalSolverLanguageParser.g:3975:1: rule__ConjunctiveExpression__Group__0 : rule__ConjunctiveExpression__Group__0__Impl rule__ConjunctiveExpression__Group__1 ; - public final void rule__ConjunctiveExpression__Group__0() throws RecognitionException { + // $ANTLR start "rule__ExponentialExpression__Group_1__1" + // InternalSolverLanguageParser.g:5714:1: rule__ExponentialExpression__Group_1__1 : rule__ExponentialExpression__Group_1__1__Impl rule__ExponentialExpression__Group_1__2 ; + public final void rule__ExponentialExpression__Group_1__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3979:1: ( rule__ConjunctiveExpression__Group__0__Impl rule__ConjunctiveExpression__Group__1 ) - // InternalSolverLanguageParser.g:3980:2: rule__ConjunctiveExpression__Group__0__Impl rule__ConjunctiveExpression__Group__1 + // InternalSolverLanguageParser.g:5718:1: ( rule__ExponentialExpression__Group_1__1__Impl rule__ExponentialExpression__Group_1__2 ) + // InternalSolverLanguageParser.g:5719:2: rule__ExponentialExpression__Group_1__1__Impl rule__ExponentialExpression__Group_1__2 { - pushFollow(FOLLOW_21); - rule__ConjunctiveExpression__Group__0__Impl(); + pushFollow(FOLLOW_7); + rule__ExponentialExpression__Group_1__1__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__ConjunctiveExpression__Group__1(); + rule__ExponentialExpression__Group_1__2(); state._fsp--; @@ -12568,29 +17825,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ConjunctiveExpression__Group__0" + // $ANTLR end "rule__ExponentialExpression__Group_1__1" - // $ANTLR start "rule__ConjunctiveExpression__Group__0__Impl" - // InternalSolverLanguageParser.g:3987:1: rule__ConjunctiveExpression__Group__0__Impl : ( ruleComparisonExpression ) ; - public final void rule__ConjunctiveExpression__Group__0__Impl() throws RecognitionException { + // $ANTLR start "rule__ExponentialExpression__Group_1__1__Impl" + // InternalSolverLanguageParser.g:5726:1: rule__ExponentialExpression__Group_1__1__Impl : ( ( rule__ExponentialExpression__OpAssignment_1_1 ) ) ; + public final void rule__ExponentialExpression__Group_1__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3991:1: ( ( ruleComparisonExpression ) ) - // InternalSolverLanguageParser.g:3992:1: ( ruleComparisonExpression ) + // InternalSolverLanguageParser.g:5730:1: ( ( ( rule__ExponentialExpression__OpAssignment_1_1 ) ) ) + // InternalSolverLanguageParser.g:5731:1: ( ( rule__ExponentialExpression__OpAssignment_1_1 ) ) { - // InternalSolverLanguageParser.g:3992:1: ( ruleComparisonExpression ) - // InternalSolverLanguageParser.g:3993:2: ruleComparisonExpression + // InternalSolverLanguageParser.g:5731:1: ( ( rule__ExponentialExpression__OpAssignment_1_1 ) ) + // InternalSolverLanguageParser.g:5732:2: ( rule__ExponentialExpression__OpAssignment_1_1 ) + { + before(grammarAccess.getExponentialExpressionAccess().getOpAssignment_1_1()); + // InternalSolverLanguageParser.g:5733:2: ( rule__ExponentialExpression__OpAssignment_1_1 ) + // InternalSolverLanguageParser.g:5733:3: rule__ExponentialExpression__OpAssignment_1_1 { - before(grammarAccess.getConjunctiveExpressionAccess().getComparisonExpressionParserRuleCall_0()); pushFollow(FOLLOW_2); - ruleComparisonExpression(); + rule__ExponentialExpression__OpAssignment_1_1(); state._fsp--; - after(grammarAccess.getConjunctiveExpressionAccess().getComparisonExpressionParserRuleCall_0()); + + } + + after(grammarAccess.getExponentialExpressionAccess().getOpAssignment_1_1()); } @@ -12609,21 +17872,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ConjunctiveExpression__Group__0__Impl" + // $ANTLR end "rule__ExponentialExpression__Group_1__1__Impl" - // $ANTLR start "rule__ConjunctiveExpression__Group__1" - // InternalSolverLanguageParser.g:4002:1: rule__ConjunctiveExpression__Group__1 : rule__ConjunctiveExpression__Group__1__Impl ; - public final void rule__ConjunctiveExpression__Group__1() throws RecognitionException { + // $ANTLR start "rule__ExponentialExpression__Group_1__2" + // InternalSolverLanguageParser.g:5741:1: rule__ExponentialExpression__Group_1__2 : rule__ExponentialExpression__Group_1__2__Impl ; + public final void rule__ExponentialExpression__Group_1__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:4006:1: ( rule__ConjunctiveExpression__Group__1__Impl ) - // InternalSolverLanguageParser.g:4007:2: rule__ConjunctiveExpression__Group__1__Impl + // InternalSolverLanguageParser.g:5745:1: ( rule__ExponentialExpression__Group_1__2__Impl ) + // InternalSolverLanguageParser.g:5746:2: rule__ExponentialExpression__Group_1__2__Impl { pushFollow(FOLLOW_2); - rule__ConjunctiveExpression__Group__1__Impl(); + rule__ExponentialExpression__Group_1__2__Impl(); state._fsp--; @@ -12642,46 +17905,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ConjunctiveExpression__Group__1" + // $ANTLR end "rule__ExponentialExpression__Group_1__2" - // $ANTLR start "rule__ConjunctiveExpression__Group__1__Impl" - // InternalSolverLanguageParser.g:4013:1: rule__ConjunctiveExpression__Group__1__Impl : ( ( rule__ConjunctiveExpression__Group_1__0 )? ) ; - public final void rule__ConjunctiveExpression__Group__1__Impl() throws RecognitionException { + // $ANTLR start "rule__ExponentialExpression__Group_1__2__Impl" + // InternalSolverLanguageParser.g:5752:1: rule__ExponentialExpression__Group_1__2__Impl : ( ( rule__ExponentialExpression__RightAssignment_1_2 ) ) ; + public final void rule__ExponentialExpression__Group_1__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:4017:1: ( ( ( rule__ConjunctiveExpression__Group_1__0 )? ) ) - // InternalSolverLanguageParser.g:4018:1: ( ( rule__ConjunctiveExpression__Group_1__0 )? ) + // InternalSolverLanguageParser.g:5756:1: ( ( ( rule__ExponentialExpression__RightAssignment_1_2 ) ) ) + // InternalSolverLanguageParser.g:5757:1: ( ( rule__ExponentialExpression__RightAssignment_1_2 ) ) { - // InternalSolverLanguageParser.g:4018:1: ( ( rule__ConjunctiveExpression__Group_1__0 )? ) - // InternalSolverLanguageParser.g:4019:2: ( rule__ConjunctiveExpression__Group_1__0 )? + // InternalSolverLanguageParser.g:5757:1: ( ( rule__ExponentialExpression__RightAssignment_1_2 ) ) + // InternalSolverLanguageParser.g:5758:2: ( rule__ExponentialExpression__RightAssignment_1_2 ) { - before(grammarAccess.getConjunctiveExpressionAccess().getGroup_1()); - // InternalSolverLanguageParser.g:4020:2: ( rule__ConjunctiveExpression__Group_1__0 )? - int alt33=2; - int LA33_0 = input.LA(1); - - if ( (LA33_0==Comma) ) { - alt33=1; - } - switch (alt33) { - case 1 : - // InternalSolverLanguageParser.g:4020:3: rule__ConjunctiveExpression__Group_1__0 - { - pushFollow(FOLLOW_2); - rule__ConjunctiveExpression__Group_1__0(); - - state._fsp--; + before(grammarAccess.getExponentialExpressionAccess().getRightAssignment_1_2()); + // InternalSolverLanguageParser.g:5759:2: ( rule__ExponentialExpression__RightAssignment_1_2 ) + // InternalSolverLanguageParser.g:5759:3: rule__ExponentialExpression__RightAssignment_1_2 + { + pushFollow(FOLLOW_2); + rule__ExponentialExpression__RightAssignment_1_2(); + state._fsp--; - } - break; } - after(grammarAccess.getConjunctiveExpressionAccess().getGroup_1()); + after(grammarAccess.getExponentialExpressionAccess().getRightAssignment_1_2()); } @@ -12700,26 +17952,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ConjunctiveExpression__Group__1__Impl" + // $ANTLR end "rule__ExponentialExpression__Group_1__2__Impl" - // $ANTLR start "rule__ConjunctiveExpression__Group_1__0" - // InternalSolverLanguageParser.g:4029:1: rule__ConjunctiveExpression__Group_1__0 : rule__ConjunctiveExpression__Group_1__0__Impl rule__ConjunctiveExpression__Group_1__1 ; - public final void rule__ConjunctiveExpression__Group_1__0() throws RecognitionException { + // $ANTLR start "rule__CastExpression__Group__0" + // InternalSolverLanguageParser.g:5768:1: rule__CastExpression__Group__0 : rule__CastExpression__Group__0__Impl rule__CastExpression__Group__1 ; + public final void rule__CastExpression__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:4033:1: ( rule__ConjunctiveExpression__Group_1__0__Impl rule__ConjunctiveExpression__Group_1__1 ) - // InternalSolverLanguageParser.g:4034:2: rule__ConjunctiveExpression__Group_1__0__Impl rule__ConjunctiveExpression__Group_1__1 + // InternalSolverLanguageParser.g:5772:1: ( rule__CastExpression__Group__0__Impl rule__CastExpression__Group__1 ) + // InternalSolverLanguageParser.g:5773:2: rule__CastExpression__Group__0__Impl rule__CastExpression__Group__1 { - pushFollow(FOLLOW_21); - rule__ConjunctiveExpression__Group_1__0__Impl(); + pushFollow(FOLLOW_36); + rule__CastExpression__Group__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__ConjunctiveExpression__Group_1__1(); + rule__CastExpression__Group__1(); state._fsp--; @@ -12738,29 +17990,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ConjunctiveExpression__Group_1__0" + // $ANTLR end "rule__CastExpression__Group__0" - // $ANTLR start "rule__ConjunctiveExpression__Group_1__0__Impl" - // InternalSolverLanguageParser.g:4041:1: rule__ConjunctiveExpression__Group_1__0__Impl : ( () ) ; - public final void rule__ConjunctiveExpression__Group_1__0__Impl() throws RecognitionException { + // $ANTLR start "rule__CastExpression__Group__0__Impl" + // InternalSolverLanguageParser.g:5780:1: rule__CastExpression__Group__0__Impl : ( ruleUnaryExpression ) ; + public final void rule__CastExpression__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:4045:1: ( ( () ) ) - // InternalSolverLanguageParser.g:4046:1: ( () ) - { - // InternalSolverLanguageParser.g:4046:1: ( () ) - // InternalSolverLanguageParser.g:4047:2: () + // InternalSolverLanguageParser.g:5784:1: ( ( ruleUnaryExpression ) ) + // InternalSolverLanguageParser.g:5785:1: ( ruleUnaryExpression ) { - before(grammarAccess.getConjunctiveExpressionAccess().getConjunctionChildrenAction_1_0()); - // InternalSolverLanguageParser.g:4048:2: () - // InternalSolverLanguageParser.g:4048:3: + // InternalSolverLanguageParser.g:5785:1: ( ruleUnaryExpression ) + // InternalSolverLanguageParser.g:5786:2: ruleUnaryExpression { - } + before(grammarAccess.getCastExpressionAccess().getUnaryExpressionParserRuleCall_0()); + pushFollow(FOLLOW_2); + ruleUnaryExpression(); - after(grammarAccess.getConjunctiveExpressionAccess().getConjunctionChildrenAction_1_0()); + state._fsp--; + + after(grammarAccess.getCastExpressionAccess().getUnaryExpressionParserRuleCall_0()); } @@ -12768,6 +18020,10 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } finally { restoreStackSize(stackSize); @@ -12775,21 +18031,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ConjunctiveExpression__Group_1__0__Impl" + // $ANTLR end "rule__CastExpression__Group__0__Impl" - // $ANTLR start "rule__ConjunctiveExpression__Group_1__1" - // InternalSolverLanguageParser.g:4056:1: rule__ConjunctiveExpression__Group_1__1 : rule__ConjunctiveExpression__Group_1__1__Impl ; - public final void rule__ConjunctiveExpression__Group_1__1() throws RecognitionException { + // $ANTLR start "rule__CastExpression__Group__1" + // InternalSolverLanguageParser.g:5795:1: rule__CastExpression__Group__1 : rule__CastExpression__Group__1__Impl ; + public final void rule__CastExpression__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:4060:1: ( rule__ConjunctiveExpression__Group_1__1__Impl ) - // InternalSolverLanguageParser.g:4061:2: rule__ConjunctiveExpression__Group_1__1__Impl + // InternalSolverLanguageParser.g:5799:1: ( rule__CastExpression__Group__1__Impl ) + // InternalSolverLanguageParser.g:5800:2: rule__CastExpression__Group__1__Impl { pushFollow(FOLLOW_2); - rule__ConjunctiveExpression__Group_1__1__Impl(); + rule__CastExpression__Group__1__Impl(); state._fsp--; @@ -12808,78 +18064,46 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ConjunctiveExpression__Group_1__1" + // $ANTLR end "rule__CastExpression__Group__1" - // $ANTLR start "rule__ConjunctiveExpression__Group_1__1__Impl" - // InternalSolverLanguageParser.g:4067:1: rule__ConjunctiveExpression__Group_1__1__Impl : ( ( ( rule__ConjunctiveExpression__Group_1_1__0 ) ) ( ( rule__ConjunctiveExpression__Group_1_1__0 )* ) ) ; - public final void rule__ConjunctiveExpression__Group_1__1__Impl() throws RecognitionException { + // $ANTLR start "rule__CastExpression__Group__1__Impl" + // InternalSolverLanguageParser.g:5806:1: rule__CastExpression__Group__1__Impl : ( ( rule__CastExpression__Group_1__0 )? ) ; + public final void rule__CastExpression__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:4071:1: ( ( ( ( rule__ConjunctiveExpression__Group_1_1__0 ) ) ( ( rule__ConjunctiveExpression__Group_1_1__0 )* ) ) ) - // InternalSolverLanguageParser.g:4072:1: ( ( ( rule__ConjunctiveExpression__Group_1_1__0 ) ) ( ( rule__ConjunctiveExpression__Group_1_1__0 )* ) ) + // InternalSolverLanguageParser.g:5810:1: ( ( ( rule__CastExpression__Group_1__0 )? ) ) + // InternalSolverLanguageParser.g:5811:1: ( ( rule__CastExpression__Group_1__0 )? ) { - // InternalSolverLanguageParser.g:4072:1: ( ( ( rule__ConjunctiveExpression__Group_1_1__0 ) ) ( ( rule__ConjunctiveExpression__Group_1_1__0 )* ) ) - // InternalSolverLanguageParser.g:4073:2: ( ( rule__ConjunctiveExpression__Group_1_1__0 ) ) ( ( rule__ConjunctiveExpression__Group_1_1__0 )* ) + // InternalSolverLanguageParser.g:5811:1: ( ( rule__CastExpression__Group_1__0 )? ) + // InternalSolverLanguageParser.g:5812:2: ( rule__CastExpression__Group_1__0 )? { - // InternalSolverLanguageParser.g:4073:2: ( ( rule__ConjunctiveExpression__Group_1_1__0 ) ) - // InternalSolverLanguageParser.g:4074:3: ( rule__ConjunctiveExpression__Group_1_1__0 ) - { - before(grammarAccess.getConjunctiveExpressionAccess().getGroup_1_1()); - // InternalSolverLanguageParser.g:4075:3: ( rule__ConjunctiveExpression__Group_1_1__0 ) - // InternalSolverLanguageParser.g:4075:4: rule__ConjunctiveExpression__Group_1_1__0 - { - pushFollow(FOLLOW_22); - rule__ConjunctiveExpression__Group_1_1__0(); - - state._fsp--; - - - } - - after(grammarAccess.getConjunctiveExpressionAccess().getGroup_1_1()); + before(grammarAccess.getCastExpressionAccess().getGroup_1()); + // InternalSolverLanguageParser.g:5813:2: ( rule__CastExpression__Group_1__0 )? + int alt42=2; + int LA42_0 = input.LA(1); + if ( (LA42_0==As) ) { + alt42=1; } + switch (alt42) { + case 1 : + // InternalSolverLanguageParser.g:5813:3: rule__CastExpression__Group_1__0 + { + pushFollow(FOLLOW_2); + rule__CastExpression__Group_1__0(); - // InternalSolverLanguageParser.g:4078:2: ( ( rule__ConjunctiveExpression__Group_1_1__0 )* ) - // InternalSolverLanguageParser.g:4079:3: ( rule__ConjunctiveExpression__Group_1_1__0 )* - { - before(grammarAccess.getConjunctiveExpressionAccess().getGroup_1_1()); - // InternalSolverLanguageParser.g:4080:3: ( rule__ConjunctiveExpression__Group_1_1__0 )* - loop34: - do { - int alt34=2; - int LA34_0 = input.LA(1); - - if ( (LA34_0==Comma) ) { - alt34=1; - } - - - switch (alt34) { - case 1 : - // InternalSolverLanguageParser.g:4080:4: rule__ConjunctiveExpression__Group_1_1__0 - { - pushFollow(FOLLOW_22); - rule__ConjunctiveExpression__Group_1_1__0(); - - state._fsp--; - - - } - break; + state._fsp--; - default : - break loop34; - } - } while (true); - after(grammarAccess.getConjunctiveExpressionAccess().getGroup_1_1()); + } + break; } + after(grammarAccess.getCastExpressionAccess().getGroup_1()); } @@ -12898,26 +18122,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ConjunctiveExpression__Group_1__1__Impl" + // $ANTLR end "rule__CastExpression__Group__1__Impl" - // $ANTLR start "rule__ConjunctiveExpression__Group_1_1__0" - // InternalSolverLanguageParser.g:4090:1: rule__ConjunctiveExpression__Group_1_1__0 : rule__ConjunctiveExpression__Group_1_1__0__Impl rule__ConjunctiveExpression__Group_1_1__1 ; - public final void rule__ConjunctiveExpression__Group_1_1__0() throws RecognitionException { + // $ANTLR start "rule__CastExpression__Group_1__0" + // InternalSolverLanguageParser.g:5822:1: rule__CastExpression__Group_1__0 : rule__CastExpression__Group_1__0__Impl rule__CastExpression__Group_1__1 ; + public final void rule__CastExpression__Group_1__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:4094:1: ( rule__ConjunctiveExpression__Group_1_1__0__Impl rule__ConjunctiveExpression__Group_1_1__1 ) - // InternalSolverLanguageParser.g:4095:2: rule__ConjunctiveExpression__Group_1_1__0__Impl rule__ConjunctiveExpression__Group_1_1__1 + // InternalSolverLanguageParser.g:5826:1: ( rule__CastExpression__Group_1__0__Impl rule__CastExpression__Group_1__1 ) + // InternalSolverLanguageParser.g:5827:2: rule__CastExpression__Group_1__0__Impl rule__CastExpression__Group_1__1 { - pushFollow(FOLLOW_7); - rule__ConjunctiveExpression__Group_1_1__0__Impl(); + pushFollow(FOLLOW_36); + rule__CastExpression__Group_1__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__ConjunctiveExpression__Group_1_1__1(); + rule__CastExpression__Group_1__1(); state._fsp--; @@ -12936,25 +18160,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ConjunctiveExpression__Group_1_1__0" + // $ANTLR end "rule__CastExpression__Group_1__0" - // $ANTLR start "rule__ConjunctiveExpression__Group_1_1__0__Impl" - // InternalSolverLanguageParser.g:4102:1: rule__ConjunctiveExpression__Group_1_1__0__Impl : ( Comma ) ; - public final void rule__ConjunctiveExpression__Group_1_1__0__Impl() throws RecognitionException { + // $ANTLR start "rule__CastExpression__Group_1__0__Impl" + // InternalSolverLanguageParser.g:5834:1: rule__CastExpression__Group_1__0__Impl : ( () ) ; + public final void rule__CastExpression__Group_1__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:4106:1: ( ( Comma ) ) - // InternalSolverLanguageParser.g:4107:1: ( Comma ) + // InternalSolverLanguageParser.g:5838:1: ( ( () ) ) + // InternalSolverLanguageParser.g:5839:1: ( () ) { - // InternalSolverLanguageParser.g:4107:1: ( Comma ) - // InternalSolverLanguageParser.g:4108:2: Comma + // InternalSolverLanguageParser.g:5839:1: ( () ) + // InternalSolverLanguageParser.g:5840:2: () { - before(grammarAccess.getConjunctiveExpressionAccess().getCommaKeyword_1_1_0()); - match(input,Comma,FOLLOW_2); - after(grammarAccess.getConjunctiveExpressionAccess().getCommaKeyword_1_1_0()); + before(grammarAccess.getCastExpressionAccess().getCastExpressionBodyAction_1_0()); + // InternalSolverLanguageParser.g:5841:2: () + // InternalSolverLanguageParser.g:5841:3: + { + } + + after(grammarAccess.getCastExpressionAccess().getCastExpressionBodyAction_1_0()); } @@ -12962,10 +18190,6 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } finally { restoreStackSize(stackSize); @@ -12973,21 +18197,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ConjunctiveExpression__Group_1_1__0__Impl" + // $ANTLR end "rule__CastExpression__Group_1__0__Impl" - // $ANTLR start "rule__ConjunctiveExpression__Group_1_1__1" - // InternalSolverLanguageParser.g:4117:1: rule__ConjunctiveExpression__Group_1_1__1 : rule__ConjunctiveExpression__Group_1_1__1__Impl ; - public final void rule__ConjunctiveExpression__Group_1_1__1() throws RecognitionException { + // $ANTLR start "rule__CastExpression__Group_1__1" + // InternalSolverLanguageParser.g:5849:1: rule__CastExpression__Group_1__1 : rule__CastExpression__Group_1__1__Impl rule__CastExpression__Group_1__2 ; + public final void rule__CastExpression__Group_1__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:4121:1: ( rule__ConjunctiveExpression__Group_1_1__1__Impl ) - // InternalSolverLanguageParser.g:4122:2: rule__ConjunctiveExpression__Group_1_1__1__Impl + // InternalSolverLanguageParser.g:5853:1: ( rule__CastExpression__Group_1__1__Impl rule__CastExpression__Group_1__2 ) + // InternalSolverLanguageParser.g:5854:2: rule__CastExpression__Group_1__1__Impl rule__CastExpression__Group_1__2 { + pushFollow(FOLLOW_9); + rule__CastExpression__Group_1__1__Impl(); + + state._fsp--; + pushFollow(FOLLOW_2); - rule__ConjunctiveExpression__Group_1_1__1__Impl(); + rule__CastExpression__Group_1__2(); state._fsp--; @@ -13006,35 +18235,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ConjunctiveExpression__Group_1_1__1" + // $ANTLR end "rule__CastExpression__Group_1__1" - // $ANTLR start "rule__ConjunctiveExpression__Group_1_1__1__Impl" - // InternalSolverLanguageParser.g:4128:1: rule__ConjunctiveExpression__Group_1_1__1__Impl : ( ( rule__ConjunctiveExpression__ChildrenAssignment_1_1_1 ) ) ; - public final void rule__ConjunctiveExpression__Group_1_1__1__Impl() throws RecognitionException { + // $ANTLR start "rule__CastExpression__Group_1__1__Impl" + // InternalSolverLanguageParser.g:5861:1: rule__CastExpression__Group_1__1__Impl : ( As ) ; + public final void rule__CastExpression__Group_1__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:4132:1: ( ( ( rule__ConjunctiveExpression__ChildrenAssignment_1_1_1 ) ) ) - // InternalSolverLanguageParser.g:4133:1: ( ( rule__ConjunctiveExpression__ChildrenAssignment_1_1_1 ) ) - { - // InternalSolverLanguageParser.g:4133:1: ( ( rule__ConjunctiveExpression__ChildrenAssignment_1_1_1 ) ) - // InternalSolverLanguageParser.g:4134:2: ( rule__ConjunctiveExpression__ChildrenAssignment_1_1_1 ) + // InternalSolverLanguageParser.g:5865:1: ( ( As ) ) + // InternalSolverLanguageParser.g:5866:1: ( As ) { - before(grammarAccess.getConjunctiveExpressionAccess().getChildrenAssignment_1_1_1()); - // InternalSolverLanguageParser.g:4135:2: ( rule__ConjunctiveExpression__ChildrenAssignment_1_1_1 ) - // InternalSolverLanguageParser.g:4135:3: rule__ConjunctiveExpression__ChildrenAssignment_1_1_1 + // InternalSolverLanguageParser.g:5866:1: ( As ) + // InternalSolverLanguageParser.g:5867:2: As { - pushFollow(FOLLOW_2); - rule__ConjunctiveExpression__ChildrenAssignment_1_1_1(); - - state._fsp--; - - - } - - after(grammarAccess.getConjunctiveExpressionAccess().getChildrenAssignment_1_1_1()); + before(grammarAccess.getCastExpressionAccess().getAsKeyword_1_1()); + match(input,As,FOLLOW_2); + after(grammarAccess.getCastExpressionAccess().getAsKeyword_1_1()); } @@ -13053,26 +18272,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ConjunctiveExpression__Group_1_1__1__Impl" + // $ANTLR end "rule__CastExpression__Group_1__1__Impl" - // $ANTLR start "rule__ComparisonExpression__Group__0" - // InternalSolverLanguageParser.g:4144:1: rule__ComparisonExpression__Group__0 : rule__ComparisonExpression__Group__0__Impl rule__ComparisonExpression__Group__1 ; - public final void rule__ComparisonExpression__Group__0() throws RecognitionException { + // $ANTLR start "rule__CastExpression__Group_1__2" + // InternalSolverLanguageParser.g:5876:1: rule__CastExpression__Group_1__2 : rule__CastExpression__Group_1__2__Impl ; + public final void rule__CastExpression__Group_1__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:4148:1: ( rule__ComparisonExpression__Group__0__Impl rule__ComparisonExpression__Group__1 ) - // InternalSolverLanguageParser.g:4149:2: rule__ComparisonExpression__Group__0__Impl rule__ComparisonExpression__Group__1 + // InternalSolverLanguageParser.g:5880:1: ( rule__CastExpression__Group_1__2__Impl ) + // InternalSolverLanguageParser.g:5881:2: rule__CastExpression__Group_1__2__Impl { - pushFollow(FOLLOW_23); - rule__ComparisonExpression__Group__0__Impl(); - - state._fsp--; - pushFollow(FOLLOW_2); - rule__ComparisonExpression__Group__1(); + rule__CastExpression__Group_1__2__Impl(); state._fsp--; @@ -13091,29 +18305,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ComparisonExpression__Group__0" + // $ANTLR end "rule__CastExpression__Group_1__2" - // $ANTLR start "rule__ComparisonExpression__Group__0__Impl" - // InternalSolverLanguageParser.g:4156:1: rule__ComparisonExpression__Group__0__Impl : ( ruleAdditiveExpression ) ; - public final void rule__ComparisonExpression__Group__0__Impl() throws RecognitionException { + // $ANTLR start "rule__CastExpression__Group_1__2__Impl" + // InternalSolverLanguageParser.g:5887:1: rule__CastExpression__Group_1__2__Impl : ( ( rule__CastExpression__TypeAssignment_1_2 ) ) ; + public final void rule__CastExpression__Group_1__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:4160:1: ( ( ruleAdditiveExpression ) ) - // InternalSolverLanguageParser.g:4161:1: ( ruleAdditiveExpression ) + // InternalSolverLanguageParser.g:5891:1: ( ( ( rule__CastExpression__TypeAssignment_1_2 ) ) ) + // InternalSolverLanguageParser.g:5892:1: ( ( rule__CastExpression__TypeAssignment_1_2 ) ) { - // InternalSolverLanguageParser.g:4161:1: ( ruleAdditiveExpression ) - // InternalSolverLanguageParser.g:4162:2: ruleAdditiveExpression + // InternalSolverLanguageParser.g:5892:1: ( ( rule__CastExpression__TypeAssignment_1_2 ) ) + // InternalSolverLanguageParser.g:5893:2: ( rule__CastExpression__TypeAssignment_1_2 ) + { + before(grammarAccess.getCastExpressionAccess().getTypeAssignment_1_2()); + // InternalSolverLanguageParser.g:5894:2: ( rule__CastExpression__TypeAssignment_1_2 ) + // InternalSolverLanguageParser.g:5894:3: rule__CastExpression__TypeAssignment_1_2 { - before(grammarAccess.getComparisonExpressionAccess().getAdditiveExpressionParserRuleCall_0()); pushFollow(FOLLOW_2); - ruleAdditiveExpression(); + rule__CastExpression__TypeAssignment_1_2(); state._fsp--; - after(grammarAccess.getComparisonExpressionAccess().getAdditiveExpressionParserRuleCall_0()); + + } + + after(grammarAccess.getCastExpressionAccess().getTypeAssignment_1_2()); } @@ -13132,21 +18352,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ComparisonExpression__Group__0__Impl" + // $ANTLR end "rule__CastExpression__Group_1__2__Impl" - // $ANTLR start "rule__ComparisonExpression__Group__1" - // InternalSolverLanguageParser.g:4171:1: rule__ComparisonExpression__Group__1 : rule__ComparisonExpression__Group__1__Impl ; - public final void rule__ComparisonExpression__Group__1() throws RecognitionException { + // $ANTLR start "rule__UnaryExpression__Group_1__0" + // InternalSolverLanguageParser.g:5903:1: rule__UnaryExpression__Group_1__0 : rule__UnaryExpression__Group_1__0__Impl rule__UnaryExpression__Group_1__1 ; + public final void rule__UnaryExpression__Group_1__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:4175:1: ( rule__ComparisonExpression__Group__1__Impl ) - // InternalSolverLanguageParser.g:4176:2: rule__ComparisonExpression__Group__1__Impl + // InternalSolverLanguageParser.g:5907:1: ( rule__UnaryExpression__Group_1__0__Impl rule__UnaryExpression__Group_1__1 ) + // InternalSolverLanguageParser.g:5908:2: rule__UnaryExpression__Group_1__0__Impl rule__UnaryExpression__Group_1__1 { + pushFollow(FOLLOW_7); + rule__UnaryExpression__Group_1__0__Impl(); + + state._fsp--; + pushFollow(FOLLOW_2); - rule__ComparisonExpression__Group__1__Impl(); + rule__UnaryExpression__Group_1__1(); state._fsp--; @@ -13165,46 +18390,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ComparisonExpression__Group__1" + // $ANTLR end "rule__UnaryExpression__Group_1__0" - // $ANTLR start "rule__ComparisonExpression__Group__1__Impl" - // InternalSolverLanguageParser.g:4182:1: rule__ComparisonExpression__Group__1__Impl : ( ( rule__ComparisonExpression__Group_1__0 )? ) ; - public final void rule__ComparisonExpression__Group__1__Impl() throws RecognitionException { + // $ANTLR start "rule__UnaryExpression__Group_1__0__Impl" + // InternalSolverLanguageParser.g:5915:1: rule__UnaryExpression__Group_1__0__Impl : ( () ) ; + public final void rule__UnaryExpression__Group_1__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:4186:1: ( ( ( rule__ComparisonExpression__Group_1__0 )? ) ) - // InternalSolverLanguageParser.g:4187:1: ( ( rule__ComparisonExpression__Group_1__0 )? ) + // InternalSolverLanguageParser.g:5919:1: ( ( () ) ) + // InternalSolverLanguageParser.g:5920:1: ( () ) { - // InternalSolverLanguageParser.g:4187:1: ( ( rule__ComparisonExpression__Group_1__0 )? ) - // InternalSolverLanguageParser.g:4188:2: ( rule__ComparisonExpression__Group_1__0 )? + // InternalSolverLanguageParser.g:5920:1: ( () ) + // InternalSolverLanguageParser.g:5921:2: () + { + before(grammarAccess.getUnaryExpressionAccess().getUnaryExpressionAction_1_0()); + // InternalSolverLanguageParser.g:5922:2: () + // InternalSolverLanguageParser.g:5922:3: { - before(grammarAccess.getComparisonExpressionAccess().getGroup_1()); - // InternalSolverLanguageParser.g:4189:2: ( rule__ComparisonExpression__Group_1__0 )? - int alt35=2; - int LA35_0 = input.LA(1); - - if ( (LA35_0==ExclamationMarkEqualsSign||(LA35_0>=LessThanSignEqualsSign && LA35_0<=GreaterThanSignEqualsSign)||LA35_0==In||LA35_0==LessThanSign||LA35_0==GreaterThanSign) ) { - alt35=1; - } - switch (alt35) { - case 1 : - // InternalSolverLanguageParser.g:4189:3: rule__ComparisonExpression__Group_1__0 - { - pushFollow(FOLLOW_2); - rule__ComparisonExpression__Group_1__0(); - - state._fsp--; - - - } - break; - } - after(grammarAccess.getComparisonExpressionAccess().getGroup_1()); + after(grammarAccess.getUnaryExpressionAccess().getUnaryExpressionAction_1_0()); } @@ -13212,10 +18420,6 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } finally { restoreStackSize(stackSize); @@ -13223,26 +18427,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ComparisonExpression__Group__1__Impl" + // $ANTLR end "rule__UnaryExpression__Group_1__0__Impl" - // $ANTLR start "rule__ComparisonExpression__Group_1__0" - // InternalSolverLanguageParser.g:4198:1: rule__ComparisonExpression__Group_1__0 : rule__ComparisonExpression__Group_1__0__Impl rule__ComparisonExpression__Group_1__1 ; - public final void rule__ComparisonExpression__Group_1__0() throws RecognitionException { + // $ANTLR start "rule__UnaryExpression__Group_1__1" + // InternalSolverLanguageParser.g:5930:1: rule__UnaryExpression__Group_1__1 : rule__UnaryExpression__Group_1__1__Impl rule__UnaryExpression__Group_1__2 ; + public final void rule__UnaryExpression__Group_1__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:4202:1: ( rule__ComparisonExpression__Group_1__0__Impl rule__ComparisonExpression__Group_1__1 ) - // InternalSolverLanguageParser.g:4203:2: rule__ComparisonExpression__Group_1__0__Impl rule__ComparisonExpression__Group_1__1 + // InternalSolverLanguageParser.g:5934:1: ( rule__UnaryExpression__Group_1__1__Impl rule__UnaryExpression__Group_1__2 ) + // InternalSolverLanguageParser.g:5935:2: rule__UnaryExpression__Group_1__1__Impl rule__UnaryExpression__Group_1__2 { - pushFollow(FOLLOW_23); - rule__ComparisonExpression__Group_1__0__Impl(); + pushFollow(FOLLOW_37); + rule__UnaryExpression__Group_1__1__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__ComparisonExpression__Group_1__1(); + rule__UnaryExpression__Group_1__2(); state._fsp--; @@ -13261,29 +18465,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ComparisonExpression__Group_1__0" + // $ANTLR end "rule__UnaryExpression__Group_1__1" - // $ANTLR start "rule__ComparisonExpression__Group_1__0__Impl" - // InternalSolverLanguageParser.g:4210:1: rule__ComparisonExpression__Group_1__0__Impl : ( () ) ; - public final void rule__ComparisonExpression__Group_1__0__Impl() throws RecognitionException { + // $ANTLR start "rule__UnaryExpression__Group_1__1__Impl" + // InternalSolverLanguageParser.g:5942:1: rule__UnaryExpression__Group_1__1__Impl : ( ( rule__UnaryExpression__OpAssignment_1_1 ) ) ; + public final void rule__UnaryExpression__Group_1__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:4214:1: ( ( () ) ) - // InternalSolverLanguageParser.g:4215:1: ( () ) + // InternalSolverLanguageParser.g:5946:1: ( ( ( rule__UnaryExpression__OpAssignment_1_1 ) ) ) + // InternalSolverLanguageParser.g:5947:1: ( ( rule__UnaryExpression__OpAssignment_1_1 ) ) { - // InternalSolverLanguageParser.g:4215:1: ( () ) - // InternalSolverLanguageParser.g:4216:2: () + // InternalSolverLanguageParser.g:5947:1: ( ( rule__UnaryExpression__OpAssignment_1_1 ) ) + // InternalSolverLanguageParser.g:5948:2: ( rule__UnaryExpression__OpAssignment_1_1 ) { - before(grammarAccess.getComparisonExpressionAccess().getComparisonLeftAction_1_0()); - // InternalSolverLanguageParser.g:4217:2: () - // InternalSolverLanguageParser.g:4217:3: + before(grammarAccess.getUnaryExpressionAccess().getOpAssignment_1_1()); + // InternalSolverLanguageParser.g:5949:2: ( rule__UnaryExpression__OpAssignment_1_1 ) + // InternalSolverLanguageParser.g:5949:3: rule__UnaryExpression__OpAssignment_1_1 { + pushFollow(FOLLOW_2); + rule__UnaryExpression__OpAssignment_1_1(); + + state._fsp--; + + } - after(grammarAccess.getComparisonExpressionAccess().getComparisonLeftAction_1_0()); + after(grammarAccess.getUnaryExpressionAccess().getOpAssignment_1_1()); } @@ -13291,6 +18501,10 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } finally { restoreStackSize(stackSize); @@ -13298,26 +18512,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ComparisonExpression__Group_1__0__Impl" + // $ANTLR end "rule__UnaryExpression__Group_1__1__Impl" - // $ANTLR start "rule__ComparisonExpression__Group_1__1" - // InternalSolverLanguageParser.g:4225:1: rule__ComparisonExpression__Group_1__1 : rule__ComparisonExpression__Group_1__1__Impl rule__ComparisonExpression__Group_1__2 ; - public final void rule__ComparisonExpression__Group_1__1() throws RecognitionException { + // $ANTLR start "rule__UnaryExpression__Group_1__2" + // InternalSolverLanguageParser.g:5957:1: rule__UnaryExpression__Group_1__2 : rule__UnaryExpression__Group_1__2__Impl ; + public final void rule__UnaryExpression__Group_1__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:4229:1: ( rule__ComparisonExpression__Group_1__1__Impl rule__ComparisonExpression__Group_1__2 ) - // InternalSolverLanguageParser.g:4230:2: rule__ComparisonExpression__Group_1__1__Impl rule__ComparisonExpression__Group_1__2 + // InternalSolverLanguageParser.g:5961:1: ( rule__UnaryExpression__Group_1__2__Impl ) + // InternalSolverLanguageParser.g:5962:2: rule__UnaryExpression__Group_1__2__Impl { - pushFollow(FOLLOW_7); - rule__ComparisonExpression__Group_1__1__Impl(); - - state._fsp--; - pushFollow(FOLLOW_2); - rule__ComparisonExpression__Group_1__2(); + rule__UnaryExpression__Group_1__2__Impl(); state._fsp--; @@ -13336,35 +18545,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ComparisonExpression__Group_1__1" + // $ANTLR end "rule__UnaryExpression__Group_1__2" - // $ANTLR start "rule__ComparisonExpression__Group_1__1__Impl" - // InternalSolverLanguageParser.g:4237:1: rule__ComparisonExpression__Group_1__1__Impl : ( ( rule__ComparisonExpression__OpAssignment_1_1 ) ) ; - public final void rule__ComparisonExpression__Group_1__1__Impl() throws RecognitionException { + // $ANTLR start "rule__UnaryExpression__Group_1__2__Impl" + // InternalSolverLanguageParser.g:5968:1: rule__UnaryExpression__Group_1__2__Impl : ( ( rule__UnaryExpression__BodyAssignment_1_2 ) ) ; + public final void rule__UnaryExpression__Group_1__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:4241:1: ( ( ( rule__ComparisonExpression__OpAssignment_1_1 ) ) ) - // InternalSolverLanguageParser.g:4242:1: ( ( rule__ComparisonExpression__OpAssignment_1_1 ) ) + // InternalSolverLanguageParser.g:5972:1: ( ( ( rule__UnaryExpression__BodyAssignment_1_2 ) ) ) + // InternalSolverLanguageParser.g:5973:1: ( ( rule__UnaryExpression__BodyAssignment_1_2 ) ) { - // InternalSolverLanguageParser.g:4242:1: ( ( rule__ComparisonExpression__OpAssignment_1_1 ) ) - // InternalSolverLanguageParser.g:4243:2: ( rule__ComparisonExpression__OpAssignment_1_1 ) + // InternalSolverLanguageParser.g:5973:1: ( ( rule__UnaryExpression__BodyAssignment_1_2 ) ) + // InternalSolverLanguageParser.g:5974:2: ( rule__UnaryExpression__BodyAssignment_1_2 ) { - before(grammarAccess.getComparisonExpressionAccess().getOpAssignment_1_1()); - // InternalSolverLanguageParser.g:4244:2: ( rule__ComparisonExpression__OpAssignment_1_1 ) - // InternalSolverLanguageParser.g:4244:3: rule__ComparisonExpression__OpAssignment_1_1 + before(grammarAccess.getUnaryExpressionAccess().getBodyAssignment_1_2()); + // InternalSolverLanguageParser.g:5975:2: ( rule__UnaryExpression__BodyAssignment_1_2 ) + // InternalSolverLanguageParser.g:5975:3: rule__UnaryExpression__BodyAssignment_1_2 { pushFollow(FOLLOW_2); - rule__ComparisonExpression__OpAssignment_1_1(); + rule__UnaryExpression__BodyAssignment_1_2(); state._fsp--; } - after(grammarAccess.getComparisonExpressionAccess().getOpAssignment_1_1()); + after(grammarAccess.getUnaryExpressionAccess().getBodyAssignment_1_2()); } @@ -13383,21 +18592,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ComparisonExpression__Group_1__1__Impl" + // $ANTLR end "rule__UnaryExpression__Group_1__2__Impl" - // $ANTLR start "rule__ComparisonExpression__Group_1__2" - // InternalSolverLanguageParser.g:4252:1: rule__ComparisonExpression__Group_1__2 : rule__ComparisonExpression__Group_1__2__Impl ; - public final void rule__ComparisonExpression__Group_1__2() throws RecognitionException { + // $ANTLR start "rule__LocalVariables__Group__0" + // InternalSolverLanguageParser.g:5984:1: rule__LocalVariables__Group__0 : rule__LocalVariables__Group__0__Impl rule__LocalVariables__Group__1 ; + public final void rule__LocalVariables__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:4256:1: ( rule__ComparisonExpression__Group_1__2__Impl ) - // InternalSolverLanguageParser.g:4257:2: rule__ComparisonExpression__Group_1__2__Impl + // InternalSolverLanguageParser.g:5988:1: ( rule__LocalVariables__Group__0__Impl rule__LocalVariables__Group__1 ) + // InternalSolverLanguageParser.g:5989:2: rule__LocalVariables__Group__0__Impl rule__LocalVariables__Group__1 { + pushFollow(FOLLOW_38); + rule__LocalVariables__Group__0__Impl(); + + state._fsp--; + pushFollow(FOLLOW_2); - rule__ComparisonExpression__Group_1__2__Impl(); + rule__LocalVariables__Group__1(); state._fsp--; @@ -13416,35 +18630,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ComparisonExpression__Group_1__2" + // $ANTLR end "rule__LocalVariables__Group__0" - // $ANTLR start "rule__ComparisonExpression__Group_1__2__Impl" - // InternalSolverLanguageParser.g:4263:1: rule__ComparisonExpression__Group_1__2__Impl : ( ( rule__ComparisonExpression__RightAssignment_1_2 ) ) ; - public final void rule__ComparisonExpression__Group_1__2__Impl() throws RecognitionException { + // $ANTLR start "rule__LocalVariables__Group__0__Impl" + // InternalSolverLanguageParser.g:5996:1: rule__LocalVariables__Group__0__Impl : ( () ) ; + public final void rule__LocalVariables__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:4267:1: ( ( ( rule__ComparisonExpression__RightAssignment_1_2 ) ) ) - // InternalSolverLanguageParser.g:4268:1: ( ( rule__ComparisonExpression__RightAssignment_1_2 ) ) + // InternalSolverLanguageParser.g:6000:1: ( ( () ) ) + // InternalSolverLanguageParser.g:6001:1: ( () ) { - // InternalSolverLanguageParser.g:4268:1: ( ( rule__ComparisonExpression__RightAssignment_1_2 ) ) - // InternalSolverLanguageParser.g:4269:2: ( rule__ComparisonExpression__RightAssignment_1_2 ) + // InternalSolverLanguageParser.g:6001:1: ( () ) + // InternalSolverLanguageParser.g:6002:2: () { - before(grammarAccess.getComparisonExpressionAccess().getRightAssignment_1_2()); - // InternalSolverLanguageParser.g:4270:2: ( rule__ComparisonExpression__RightAssignment_1_2 ) - // InternalSolverLanguageParser.g:4270:3: rule__ComparisonExpression__RightAssignment_1_2 + before(grammarAccess.getLocalVariablesAccess().getLocalVariablesAction_0()); + // InternalSolverLanguageParser.g:6003:2: () + // InternalSolverLanguageParser.g:6003:3: { - pushFollow(FOLLOW_2); - rule__ComparisonExpression__RightAssignment_1_2(); - - state._fsp--; - - } - after(grammarAccess.getComparisonExpressionAccess().getRightAssignment_1_2()); + after(grammarAccess.getLocalVariablesAccess().getLocalVariablesAction_0()); } @@ -13452,10 +18660,6 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } finally { restoreStackSize(stackSize); @@ -13463,26 +18667,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ComparisonExpression__Group_1__2__Impl" + // $ANTLR end "rule__LocalVariables__Group__0__Impl" - // $ANTLR start "rule__AdditiveExpression__Group__0" - // InternalSolverLanguageParser.g:4279:1: rule__AdditiveExpression__Group__0 : rule__AdditiveExpression__Group__0__Impl rule__AdditiveExpression__Group__1 ; - public final void rule__AdditiveExpression__Group__0() throws RecognitionException { + // $ANTLR start "rule__LocalVariables__Group__1" + // InternalSolverLanguageParser.g:6011:1: rule__LocalVariables__Group__1 : rule__LocalVariables__Group__1__Impl rule__LocalVariables__Group__2 ; + public final void rule__LocalVariables__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:4283:1: ( rule__AdditiveExpression__Group__0__Impl rule__AdditiveExpression__Group__1 ) - // InternalSolverLanguageParser.g:4284:2: rule__AdditiveExpression__Group__0__Impl rule__AdditiveExpression__Group__1 + // InternalSolverLanguageParser.g:6015:1: ( rule__LocalVariables__Group__1__Impl rule__LocalVariables__Group__2 ) + // InternalSolverLanguageParser.g:6016:2: rule__LocalVariables__Group__1__Impl rule__LocalVariables__Group__2 { - pushFollow(FOLLOW_24); - rule__AdditiveExpression__Group__0__Impl(); + pushFollow(FOLLOW_39); + rule__LocalVariables__Group__1__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__AdditiveExpression__Group__1(); + rule__LocalVariables__Group__2(); state._fsp--; @@ -13501,29 +18705,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__AdditiveExpression__Group__0" + // $ANTLR end "rule__LocalVariables__Group__1" - // $ANTLR start "rule__AdditiveExpression__Group__0__Impl" - // InternalSolverLanguageParser.g:4291:1: rule__AdditiveExpression__Group__0__Impl : ( ruleMultiplicativeExpression ) ; - public final void rule__AdditiveExpression__Group__0__Impl() throws RecognitionException { + // $ANTLR start "rule__LocalVariables__Group__1__Impl" + // InternalSolverLanguageParser.g:6023:1: rule__LocalVariables__Group__1__Impl : ( LeftSquareBracket ) ; + public final void rule__LocalVariables__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:4295:1: ( ( ruleMultiplicativeExpression ) ) - // InternalSolverLanguageParser.g:4296:1: ( ruleMultiplicativeExpression ) + // InternalSolverLanguageParser.g:6027:1: ( ( LeftSquareBracket ) ) + // InternalSolverLanguageParser.g:6028:1: ( LeftSquareBracket ) { - // InternalSolverLanguageParser.g:4296:1: ( ruleMultiplicativeExpression ) - // InternalSolverLanguageParser.g:4297:2: ruleMultiplicativeExpression + // InternalSolverLanguageParser.g:6028:1: ( LeftSquareBracket ) + // InternalSolverLanguageParser.g:6029:2: LeftSquareBracket { - before(grammarAccess.getAdditiveExpressionAccess().getMultiplicativeExpressionParserRuleCall_0()); - pushFollow(FOLLOW_2); - ruleMultiplicativeExpression(); - - state._fsp--; - - after(grammarAccess.getAdditiveExpressionAccess().getMultiplicativeExpressionParserRuleCall_0()); + before(grammarAccess.getLocalVariablesAccess().getLeftSquareBracketKeyword_1()); + match(input,LeftSquareBracket,FOLLOW_2); + after(grammarAccess.getLocalVariablesAccess().getLeftSquareBracketKeyword_1()); } @@ -13542,21 +18742,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__AdditiveExpression__Group__0__Impl" + // $ANTLR end "rule__LocalVariables__Group__1__Impl" - // $ANTLR start "rule__AdditiveExpression__Group__1" - // InternalSolverLanguageParser.g:4306:1: rule__AdditiveExpression__Group__1 : rule__AdditiveExpression__Group__1__Impl ; - public final void rule__AdditiveExpression__Group__1() throws RecognitionException { + // $ANTLR start "rule__LocalVariables__Group__2" + // InternalSolverLanguageParser.g:6038:1: rule__LocalVariables__Group__2 : rule__LocalVariables__Group__2__Impl rule__LocalVariables__Group__3 ; + public final void rule__LocalVariables__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:4310:1: ( rule__AdditiveExpression__Group__1__Impl ) - // InternalSolverLanguageParser.g:4311:2: rule__AdditiveExpression__Group__1__Impl + // InternalSolverLanguageParser.g:6042:1: ( rule__LocalVariables__Group__2__Impl rule__LocalVariables__Group__3 ) + // InternalSolverLanguageParser.g:6043:2: rule__LocalVariables__Group__2__Impl rule__LocalVariables__Group__3 { + pushFollow(FOLLOW_39); + rule__LocalVariables__Group__2__Impl(); + + state._fsp--; + pushFollow(FOLLOW_2); - rule__AdditiveExpression__Group__1__Impl(); + rule__LocalVariables__Group__3(); state._fsp--; @@ -13575,53 +18780,46 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__AdditiveExpression__Group__1" + // $ANTLR end "rule__LocalVariables__Group__2" - // $ANTLR start "rule__AdditiveExpression__Group__1__Impl" - // InternalSolverLanguageParser.g:4317:1: rule__AdditiveExpression__Group__1__Impl : ( ( rule__AdditiveExpression__Group_1__0 )* ) ; - public final void rule__AdditiveExpression__Group__1__Impl() throws RecognitionException { + // $ANTLR start "rule__LocalVariables__Group__2__Impl" + // InternalSolverLanguageParser.g:6050:1: rule__LocalVariables__Group__2__Impl : ( ( rule__LocalVariables__Group_2__0 )? ) ; + public final void rule__LocalVariables__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:4321:1: ( ( ( rule__AdditiveExpression__Group_1__0 )* ) ) - // InternalSolverLanguageParser.g:4322:1: ( ( rule__AdditiveExpression__Group_1__0 )* ) + // InternalSolverLanguageParser.g:6054:1: ( ( ( rule__LocalVariables__Group_2__0 )? ) ) + // InternalSolverLanguageParser.g:6055:1: ( ( rule__LocalVariables__Group_2__0 )? ) { - // InternalSolverLanguageParser.g:4322:1: ( ( rule__AdditiveExpression__Group_1__0 )* ) - // InternalSolverLanguageParser.g:4323:2: ( rule__AdditiveExpression__Group_1__0 )* + // InternalSolverLanguageParser.g:6055:1: ( ( rule__LocalVariables__Group_2__0 )? ) + // InternalSolverLanguageParser.g:6056:2: ( rule__LocalVariables__Group_2__0 )? { - before(grammarAccess.getAdditiveExpressionAccess().getGroup_1()); - // InternalSolverLanguageParser.g:4324:2: ( rule__AdditiveExpression__Group_1__0 )* - loop36: - do { - int alt36=2; - int LA36_0 = input.LA(1); - - if ( (LA36_0==PlusSign||LA36_0==HyphenMinus) ) { - alt36=1; - } - + before(grammarAccess.getLocalVariablesAccess().getGroup_2()); + // InternalSolverLanguageParser.g:6057:2: ( rule__LocalVariables__Group_2__0 )? + int alt43=2; + int LA43_0 = input.LA(1); - switch (alt36) { - case 1 : - // InternalSolverLanguageParser.g:4324:3: rule__AdditiveExpression__Group_1__0 - { - pushFollow(FOLLOW_25); - rule__AdditiveExpression__Group_1__0(); + if ( (LA43_0==RULE_QUOTED_ID||LA43_0==RULE_ID) ) { + alt43=1; + } + switch (alt43) { + case 1 : + // InternalSolverLanguageParser.g:6057:3: rule__LocalVariables__Group_2__0 + { + pushFollow(FOLLOW_2); + rule__LocalVariables__Group_2__0(); - state._fsp--; + state._fsp--; - } - break; + } + break; - default : - break loop36; - } - } while (true); + } - after(grammarAccess.getAdditiveExpressionAccess().getGroup_1()); + after(grammarAccess.getLocalVariablesAccess().getGroup_2()); } @@ -13640,26 +18838,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__AdditiveExpression__Group__1__Impl" + // $ANTLR end "rule__LocalVariables__Group__2__Impl" - // $ANTLR start "rule__AdditiveExpression__Group_1__0" - // InternalSolverLanguageParser.g:4333:1: rule__AdditiveExpression__Group_1__0 : rule__AdditiveExpression__Group_1__0__Impl rule__AdditiveExpression__Group_1__1 ; - public final void rule__AdditiveExpression__Group_1__0() throws RecognitionException { + // $ANTLR start "rule__LocalVariables__Group__3" + // InternalSolverLanguageParser.g:6065:1: rule__LocalVariables__Group__3 : rule__LocalVariables__Group__3__Impl ; + public final void rule__LocalVariables__Group__3() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:4337:1: ( rule__AdditiveExpression__Group_1__0__Impl rule__AdditiveExpression__Group_1__1 ) - // InternalSolverLanguageParser.g:4338:2: rule__AdditiveExpression__Group_1__0__Impl rule__AdditiveExpression__Group_1__1 + // InternalSolverLanguageParser.g:6069:1: ( rule__LocalVariables__Group__3__Impl ) + // InternalSolverLanguageParser.g:6070:2: rule__LocalVariables__Group__3__Impl { - pushFollow(FOLLOW_24); - rule__AdditiveExpression__Group_1__0__Impl(); - - state._fsp--; - pushFollow(FOLLOW_2); - rule__AdditiveExpression__Group_1__1(); + rule__LocalVariables__Group__3__Impl(); state._fsp--; @@ -13678,29 +18871,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__AdditiveExpression__Group_1__0" + // $ANTLR end "rule__LocalVariables__Group__3" - // $ANTLR start "rule__AdditiveExpression__Group_1__0__Impl" - // InternalSolverLanguageParser.g:4345:1: rule__AdditiveExpression__Group_1__0__Impl : ( () ) ; - public final void rule__AdditiveExpression__Group_1__0__Impl() throws RecognitionException { + // $ANTLR start "rule__LocalVariables__Group__3__Impl" + // InternalSolverLanguageParser.g:6076:1: rule__LocalVariables__Group__3__Impl : ( RightSquareBracket ) ; + public final void rule__LocalVariables__Group__3__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:4349:1: ( ( () ) ) - // InternalSolverLanguageParser.g:4350:1: ( () ) + // InternalSolverLanguageParser.g:6080:1: ( ( RightSquareBracket ) ) + // InternalSolverLanguageParser.g:6081:1: ( RightSquareBracket ) { - // InternalSolverLanguageParser.g:4350:1: ( () ) - // InternalSolverLanguageParser.g:4351:2: () - { - before(grammarAccess.getAdditiveExpressionAccess().getBinaryExpressionLeftAction_1_0()); - // InternalSolverLanguageParser.g:4352:2: () - // InternalSolverLanguageParser.g:4352:3: + // InternalSolverLanguageParser.g:6081:1: ( RightSquareBracket ) + // InternalSolverLanguageParser.g:6082:2: RightSquareBracket { - } - - after(grammarAccess.getAdditiveExpressionAccess().getBinaryExpressionLeftAction_1_0()); + before(grammarAccess.getLocalVariablesAccess().getRightSquareBracketKeyword_3()); + match(input,RightSquareBracket,FOLLOW_2); + after(grammarAccess.getLocalVariablesAccess().getRightSquareBracketKeyword_3()); } @@ -13708,6 +18897,10 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } finally { restoreStackSize(stackSize); @@ -13715,26 +18908,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__AdditiveExpression__Group_1__0__Impl" + // $ANTLR end "rule__LocalVariables__Group__3__Impl" - // $ANTLR start "rule__AdditiveExpression__Group_1__1" - // InternalSolverLanguageParser.g:4360:1: rule__AdditiveExpression__Group_1__1 : rule__AdditiveExpression__Group_1__1__Impl rule__AdditiveExpression__Group_1__2 ; - public final void rule__AdditiveExpression__Group_1__1() throws RecognitionException { + // $ANTLR start "rule__LocalVariables__Group_2__0" + // InternalSolverLanguageParser.g:6092:1: rule__LocalVariables__Group_2__0 : rule__LocalVariables__Group_2__0__Impl rule__LocalVariables__Group_2__1 ; + public final void rule__LocalVariables__Group_2__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:4364:1: ( rule__AdditiveExpression__Group_1__1__Impl rule__AdditiveExpression__Group_1__2 ) - // InternalSolverLanguageParser.g:4365:2: rule__AdditiveExpression__Group_1__1__Impl rule__AdditiveExpression__Group_1__2 + // InternalSolverLanguageParser.g:6096:1: ( rule__LocalVariables__Group_2__0__Impl rule__LocalVariables__Group_2__1 ) + // InternalSolverLanguageParser.g:6097:2: rule__LocalVariables__Group_2__0__Impl rule__LocalVariables__Group_2__1 { - pushFollow(FOLLOW_7); - rule__AdditiveExpression__Group_1__1__Impl(); + pushFollow(FOLLOW_19); + rule__LocalVariables__Group_2__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__AdditiveExpression__Group_1__2(); + rule__LocalVariables__Group_2__1(); state._fsp--; @@ -13753,35 +18946,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__AdditiveExpression__Group_1__1" + // $ANTLR end "rule__LocalVariables__Group_2__0" - // $ANTLR start "rule__AdditiveExpression__Group_1__1__Impl" - // InternalSolverLanguageParser.g:4372:1: rule__AdditiveExpression__Group_1__1__Impl : ( ( rule__AdditiveExpression__OpAssignment_1_1 ) ) ; - public final void rule__AdditiveExpression__Group_1__1__Impl() throws RecognitionException { + // $ANTLR start "rule__LocalVariables__Group_2__0__Impl" + // InternalSolverLanguageParser.g:6104:1: rule__LocalVariables__Group_2__0__Impl : ( ( rule__LocalVariables__VariablesAssignment_2_0 ) ) ; + public final void rule__LocalVariables__Group_2__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:4376:1: ( ( ( rule__AdditiveExpression__OpAssignment_1_1 ) ) ) - // InternalSolverLanguageParser.g:4377:1: ( ( rule__AdditiveExpression__OpAssignment_1_1 ) ) + // InternalSolverLanguageParser.g:6108:1: ( ( ( rule__LocalVariables__VariablesAssignment_2_0 ) ) ) + // InternalSolverLanguageParser.g:6109:1: ( ( rule__LocalVariables__VariablesAssignment_2_0 ) ) { - // InternalSolverLanguageParser.g:4377:1: ( ( rule__AdditiveExpression__OpAssignment_1_1 ) ) - // InternalSolverLanguageParser.g:4378:2: ( rule__AdditiveExpression__OpAssignment_1_1 ) + // InternalSolverLanguageParser.g:6109:1: ( ( rule__LocalVariables__VariablesAssignment_2_0 ) ) + // InternalSolverLanguageParser.g:6110:2: ( rule__LocalVariables__VariablesAssignment_2_0 ) { - before(grammarAccess.getAdditiveExpressionAccess().getOpAssignment_1_1()); - // InternalSolverLanguageParser.g:4379:2: ( rule__AdditiveExpression__OpAssignment_1_1 ) - // InternalSolverLanguageParser.g:4379:3: rule__AdditiveExpression__OpAssignment_1_1 + before(grammarAccess.getLocalVariablesAccess().getVariablesAssignment_2_0()); + // InternalSolverLanguageParser.g:6111:2: ( rule__LocalVariables__VariablesAssignment_2_0 ) + // InternalSolverLanguageParser.g:6111:3: rule__LocalVariables__VariablesAssignment_2_0 { pushFollow(FOLLOW_2); - rule__AdditiveExpression__OpAssignment_1_1(); + rule__LocalVariables__VariablesAssignment_2_0(); state._fsp--; } - after(grammarAccess.getAdditiveExpressionAccess().getOpAssignment_1_1()); + after(grammarAccess.getLocalVariablesAccess().getVariablesAssignment_2_0()); } @@ -13800,21 +18993,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__AdditiveExpression__Group_1__1__Impl" + // $ANTLR end "rule__LocalVariables__Group_2__0__Impl" - // $ANTLR start "rule__AdditiveExpression__Group_1__2" - // InternalSolverLanguageParser.g:4387:1: rule__AdditiveExpression__Group_1__2 : rule__AdditiveExpression__Group_1__2__Impl ; - public final void rule__AdditiveExpression__Group_1__2() throws RecognitionException { + // $ANTLR start "rule__LocalVariables__Group_2__1" + // InternalSolverLanguageParser.g:6119:1: rule__LocalVariables__Group_2__1 : rule__LocalVariables__Group_2__1__Impl ; + public final void rule__LocalVariables__Group_2__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:4391:1: ( rule__AdditiveExpression__Group_1__2__Impl ) - // InternalSolverLanguageParser.g:4392:2: rule__AdditiveExpression__Group_1__2__Impl + // InternalSolverLanguageParser.g:6123:1: ( rule__LocalVariables__Group_2__1__Impl ) + // InternalSolverLanguageParser.g:6124:2: rule__LocalVariables__Group_2__1__Impl { pushFollow(FOLLOW_2); - rule__AdditiveExpression__Group_1__2__Impl(); + rule__LocalVariables__Group_2__1__Impl(); state._fsp--; @@ -13833,35 +19026,53 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__AdditiveExpression__Group_1__2" + // $ANTLR end "rule__LocalVariables__Group_2__1" - // $ANTLR start "rule__AdditiveExpression__Group_1__2__Impl" - // InternalSolverLanguageParser.g:4398:1: rule__AdditiveExpression__Group_1__2__Impl : ( ( rule__AdditiveExpression__RightAssignment_1_2 ) ) ; - public final void rule__AdditiveExpression__Group_1__2__Impl() throws RecognitionException { + // $ANTLR start "rule__LocalVariables__Group_2__1__Impl" + // InternalSolverLanguageParser.g:6130:1: rule__LocalVariables__Group_2__1__Impl : ( ( rule__LocalVariables__Group_2_1__0 )* ) ; + public final void rule__LocalVariables__Group_2__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:4402:1: ( ( ( rule__AdditiveExpression__RightAssignment_1_2 ) ) ) - // InternalSolverLanguageParser.g:4403:1: ( ( rule__AdditiveExpression__RightAssignment_1_2 ) ) + // InternalSolverLanguageParser.g:6134:1: ( ( ( rule__LocalVariables__Group_2_1__0 )* ) ) + // InternalSolverLanguageParser.g:6135:1: ( ( rule__LocalVariables__Group_2_1__0 )* ) { - // InternalSolverLanguageParser.g:4403:1: ( ( rule__AdditiveExpression__RightAssignment_1_2 ) ) - // InternalSolverLanguageParser.g:4404:2: ( rule__AdditiveExpression__RightAssignment_1_2 ) + // InternalSolverLanguageParser.g:6135:1: ( ( rule__LocalVariables__Group_2_1__0 )* ) + // InternalSolverLanguageParser.g:6136:2: ( rule__LocalVariables__Group_2_1__0 )* { - before(grammarAccess.getAdditiveExpressionAccess().getRightAssignment_1_2()); - // InternalSolverLanguageParser.g:4405:2: ( rule__AdditiveExpression__RightAssignment_1_2 ) - // InternalSolverLanguageParser.g:4405:3: rule__AdditiveExpression__RightAssignment_1_2 - { - pushFollow(FOLLOW_2); - rule__AdditiveExpression__RightAssignment_1_2(); + before(grammarAccess.getLocalVariablesAccess().getGroup_2_1()); + // InternalSolverLanguageParser.g:6137:2: ( rule__LocalVariables__Group_2_1__0 )* + loop44: + do { + int alt44=2; + int LA44_0 = input.LA(1); - state._fsp--; + if ( (LA44_0==Comma) ) { + alt44=1; + } - } + switch (alt44) { + case 1 : + // InternalSolverLanguageParser.g:6137:3: rule__LocalVariables__Group_2_1__0 + { + pushFollow(FOLLOW_20); + rule__LocalVariables__Group_2_1__0(); - after(grammarAccess.getAdditiveExpressionAccess().getRightAssignment_1_2()); + state._fsp--; + + + } + break; + + default : + break loop44; + } + } while (true); + + after(grammarAccess.getLocalVariablesAccess().getGroup_2_1()); } @@ -13880,26 +19091,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__AdditiveExpression__Group_1__2__Impl" + // $ANTLR end "rule__LocalVariables__Group_2__1__Impl" - // $ANTLR start "rule__MultiplicativeExpression__Group__0" - // InternalSolverLanguageParser.g:4414:1: rule__MultiplicativeExpression__Group__0 : rule__MultiplicativeExpression__Group__0__Impl rule__MultiplicativeExpression__Group__1 ; - public final void rule__MultiplicativeExpression__Group__0() throws RecognitionException { + // $ANTLR start "rule__LocalVariables__Group_2_1__0" + // InternalSolverLanguageParser.g:6146:1: rule__LocalVariables__Group_2_1__0 : rule__LocalVariables__Group_2_1__0__Impl rule__LocalVariables__Group_2_1__1 ; + public final void rule__LocalVariables__Group_2_1__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:4418:1: ( rule__MultiplicativeExpression__Group__0__Impl rule__MultiplicativeExpression__Group__1 ) - // InternalSolverLanguageParser.g:4419:2: rule__MultiplicativeExpression__Group__0__Impl rule__MultiplicativeExpression__Group__1 + // InternalSolverLanguageParser.g:6150:1: ( rule__LocalVariables__Group_2_1__0__Impl rule__LocalVariables__Group_2_1__1 ) + // InternalSolverLanguageParser.g:6151:2: rule__LocalVariables__Group_2_1__0__Impl rule__LocalVariables__Group_2_1__1 { - pushFollow(FOLLOW_26); - rule__MultiplicativeExpression__Group__0__Impl(); + pushFollow(FOLLOW_9); + rule__LocalVariables__Group_2_1__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__MultiplicativeExpression__Group__1(); + rule__LocalVariables__Group_2_1__1(); state._fsp--; @@ -13918,29 +19129,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__MultiplicativeExpression__Group__0" + // $ANTLR end "rule__LocalVariables__Group_2_1__0" - // $ANTLR start "rule__MultiplicativeExpression__Group__0__Impl" - // InternalSolverLanguageParser.g:4426:1: rule__MultiplicativeExpression__Group__0__Impl : ( ruleExponentialExpression ) ; - public final void rule__MultiplicativeExpression__Group__0__Impl() throws RecognitionException { + // $ANTLR start "rule__LocalVariables__Group_2_1__0__Impl" + // InternalSolverLanguageParser.g:6158:1: rule__LocalVariables__Group_2_1__0__Impl : ( Comma ) ; + public final void rule__LocalVariables__Group_2_1__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); - - try { - // InternalSolverLanguageParser.g:4430:1: ( ( ruleExponentialExpression ) ) - // InternalSolverLanguageParser.g:4431:1: ( ruleExponentialExpression ) - { - // InternalSolverLanguageParser.g:4431:1: ( ruleExponentialExpression ) - // InternalSolverLanguageParser.g:4432:2: ruleExponentialExpression - { - before(grammarAccess.getMultiplicativeExpressionAccess().getExponentialExpressionParserRuleCall_0()); - pushFollow(FOLLOW_2); - ruleExponentialExpression(); - - state._fsp--; - - after(grammarAccess.getMultiplicativeExpressionAccess().getExponentialExpressionParserRuleCall_0()); + + try { + // InternalSolverLanguageParser.g:6162:1: ( ( Comma ) ) + // InternalSolverLanguageParser.g:6163:1: ( Comma ) + { + // InternalSolverLanguageParser.g:6163:1: ( Comma ) + // InternalSolverLanguageParser.g:6164:2: Comma + { + before(grammarAccess.getLocalVariablesAccess().getCommaKeyword_2_1_0()); + match(input,Comma,FOLLOW_2); + after(grammarAccess.getLocalVariablesAccess().getCommaKeyword_2_1_0()); } @@ -13959,21 +19166,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__MultiplicativeExpression__Group__0__Impl" + // $ANTLR end "rule__LocalVariables__Group_2_1__0__Impl" - // $ANTLR start "rule__MultiplicativeExpression__Group__1" - // InternalSolverLanguageParser.g:4441:1: rule__MultiplicativeExpression__Group__1 : rule__MultiplicativeExpression__Group__1__Impl ; - public final void rule__MultiplicativeExpression__Group__1() throws RecognitionException { + // $ANTLR start "rule__LocalVariables__Group_2_1__1" + // InternalSolverLanguageParser.g:6173:1: rule__LocalVariables__Group_2_1__1 : rule__LocalVariables__Group_2_1__1__Impl ; + public final void rule__LocalVariables__Group_2_1__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:4445:1: ( rule__MultiplicativeExpression__Group__1__Impl ) - // InternalSolverLanguageParser.g:4446:2: rule__MultiplicativeExpression__Group__1__Impl + // InternalSolverLanguageParser.g:6177:1: ( rule__LocalVariables__Group_2_1__1__Impl ) + // InternalSolverLanguageParser.g:6178:2: rule__LocalVariables__Group_2_1__1__Impl { pushFollow(FOLLOW_2); - rule__MultiplicativeExpression__Group__1__Impl(); + rule__LocalVariables__Group_2_1__1__Impl(); state._fsp--; @@ -13992,53 +19199,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__MultiplicativeExpression__Group__1" + // $ANTLR end "rule__LocalVariables__Group_2_1__1" - // $ANTLR start "rule__MultiplicativeExpression__Group__1__Impl" - // InternalSolverLanguageParser.g:4452:1: rule__MultiplicativeExpression__Group__1__Impl : ( ( rule__MultiplicativeExpression__Group_1__0 )* ) ; - public final void rule__MultiplicativeExpression__Group__1__Impl() throws RecognitionException { + // $ANTLR start "rule__LocalVariables__Group_2_1__1__Impl" + // InternalSolverLanguageParser.g:6184:1: rule__LocalVariables__Group_2_1__1__Impl : ( ( rule__LocalVariables__VariablesAssignment_2_1_1 ) ) ; + public final void rule__LocalVariables__Group_2_1__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:4456:1: ( ( ( rule__MultiplicativeExpression__Group_1__0 )* ) ) - // InternalSolverLanguageParser.g:4457:1: ( ( rule__MultiplicativeExpression__Group_1__0 )* ) + // InternalSolverLanguageParser.g:6188:1: ( ( ( rule__LocalVariables__VariablesAssignment_2_1_1 ) ) ) + // InternalSolverLanguageParser.g:6189:1: ( ( rule__LocalVariables__VariablesAssignment_2_1_1 ) ) { - // InternalSolverLanguageParser.g:4457:1: ( ( rule__MultiplicativeExpression__Group_1__0 )* ) - // InternalSolverLanguageParser.g:4458:2: ( rule__MultiplicativeExpression__Group_1__0 )* + // InternalSolverLanguageParser.g:6189:1: ( ( rule__LocalVariables__VariablesAssignment_2_1_1 ) ) + // InternalSolverLanguageParser.g:6190:2: ( rule__LocalVariables__VariablesAssignment_2_1_1 ) { - before(grammarAccess.getMultiplicativeExpressionAccess().getGroup_1()); - // InternalSolverLanguageParser.g:4459:2: ( rule__MultiplicativeExpression__Group_1__0 )* - loop37: - do { - int alt37=2; - int LA37_0 = input.LA(1); - - if ( (LA37_0==Asterisk||LA37_0==Solidus) ) { - alt37=1; - } - - - switch (alt37) { - case 1 : - // InternalSolverLanguageParser.g:4459:3: rule__MultiplicativeExpression__Group_1__0 - { - pushFollow(FOLLOW_27); - rule__MultiplicativeExpression__Group_1__0(); - - state._fsp--; + before(grammarAccess.getLocalVariablesAccess().getVariablesAssignment_2_1_1()); + // InternalSolverLanguageParser.g:6191:2: ( rule__LocalVariables__VariablesAssignment_2_1_1 ) + // InternalSolverLanguageParser.g:6191:3: rule__LocalVariables__VariablesAssignment_2_1_1 + { + pushFollow(FOLLOW_2); + rule__LocalVariables__VariablesAssignment_2_1_1(); + state._fsp--; - } - break; - default : - break loop37; - } - } while (true); + } - after(grammarAccess.getMultiplicativeExpressionAccess().getGroup_1()); + after(grammarAccess.getLocalVariablesAccess().getVariablesAssignment_2_1_1()); } @@ -14057,26 +19246,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__MultiplicativeExpression__Group__1__Impl" + // $ANTLR end "rule__LocalVariables__Group_2_1__1__Impl" - // $ANTLR start "rule__MultiplicativeExpression__Group_1__0" - // InternalSolverLanguageParser.g:4468:1: rule__MultiplicativeExpression__Group_1__0 : rule__MultiplicativeExpression__Group_1__0__Impl rule__MultiplicativeExpression__Group_1__1 ; - public final void rule__MultiplicativeExpression__Group_1__0() throws RecognitionException { + // $ANTLR start "rule__QuantifiedExpression__Group__0" + // InternalSolverLanguageParser.g:6200:1: rule__QuantifiedExpression__Group__0 : rule__QuantifiedExpression__Group__0__Impl rule__QuantifiedExpression__Group__1 ; + public final void rule__QuantifiedExpression__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:4472:1: ( rule__MultiplicativeExpression__Group_1__0__Impl rule__MultiplicativeExpression__Group_1__1 ) - // InternalSolverLanguageParser.g:4473:2: rule__MultiplicativeExpression__Group_1__0__Impl rule__MultiplicativeExpression__Group_1__1 + // InternalSolverLanguageParser.g:6204:1: ( rule__QuantifiedExpression__Group__0__Impl rule__QuantifiedExpression__Group__1 ) + // InternalSolverLanguageParser.g:6205:2: rule__QuantifiedExpression__Group__0__Impl rule__QuantifiedExpression__Group__1 { - pushFollow(FOLLOW_26); - rule__MultiplicativeExpression__Group_1__0__Impl(); + pushFollow(FOLLOW_40); + rule__QuantifiedExpression__Group__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__MultiplicativeExpression__Group_1__1(); + rule__QuantifiedExpression__Group__1(); state._fsp--; @@ -14095,29 +19284,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__MultiplicativeExpression__Group_1__0" + // $ANTLR end "rule__QuantifiedExpression__Group__0" - // $ANTLR start "rule__MultiplicativeExpression__Group_1__0__Impl" - // InternalSolverLanguageParser.g:4480:1: rule__MultiplicativeExpression__Group_1__0__Impl : ( () ) ; - public final void rule__MultiplicativeExpression__Group_1__0__Impl() throws RecognitionException { + // $ANTLR start "rule__QuantifiedExpression__Group__0__Impl" + // InternalSolverLanguageParser.g:6212:1: rule__QuantifiedExpression__Group__0__Impl : ( ( rule__QuantifiedExpression__QuantifierAssignment_0 ) ) ; + public final void rule__QuantifiedExpression__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:4484:1: ( ( () ) ) - // InternalSolverLanguageParser.g:4485:1: ( () ) + // InternalSolverLanguageParser.g:6216:1: ( ( ( rule__QuantifiedExpression__QuantifierAssignment_0 ) ) ) + // InternalSolverLanguageParser.g:6217:1: ( ( rule__QuantifiedExpression__QuantifierAssignment_0 ) ) { - // InternalSolverLanguageParser.g:4485:1: ( () ) - // InternalSolverLanguageParser.g:4486:2: () + // InternalSolverLanguageParser.g:6217:1: ( ( rule__QuantifiedExpression__QuantifierAssignment_0 ) ) + // InternalSolverLanguageParser.g:6218:2: ( rule__QuantifiedExpression__QuantifierAssignment_0 ) { - before(grammarAccess.getMultiplicativeExpressionAccess().getBinaryExpressionLeftAction_1_0()); - // InternalSolverLanguageParser.g:4487:2: () - // InternalSolverLanguageParser.g:4487:3: + before(grammarAccess.getQuantifiedExpressionAccess().getQuantifierAssignment_0()); + // InternalSolverLanguageParser.g:6219:2: ( rule__QuantifiedExpression__QuantifierAssignment_0 ) + // InternalSolverLanguageParser.g:6219:3: rule__QuantifiedExpression__QuantifierAssignment_0 { + pushFollow(FOLLOW_2); + rule__QuantifiedExpression__QuantifierAssignment_0(); + + state._fsp--; + + } - after(grammarAccess.getMultiplicativeExpressionAccess().getBinaryExpressionLeftAction_1_0()); + after(grammarAccess.getQuantifiedExpressionAccess().getQuantifierAssignment_0()); } @@ -14125,6 +19320,10 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } finally { restoreStackSize(stackSize); @@ -14132,26 +19331,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__MultiplicativeExpression__Group_1__0__Impl" + // $ANTLR end "rule__QuantifiedExpression__Group__0__Impl" - // $ANTLR start "rule__MultiplicativeExpression__Group_1__1" - // InternalSolverLanguageParser.g:4495:1: rule__MultiplicativeExpression__Group_1__1 : rule__MultiplicativeExpression__Group_1__1__Impl rule__MultiplicativeExpression__Group_1__2 ; - public final void rule__MultiplicativeExpression__Group_1__1() throws RecognitionException { + // $ANTLR start "rule__QuantifiedExpression__Group__1" + // InternalSolverLanguageParser.g:6227:1: rule__QuantifiedExpression__Group__1 : rule__QuantifiedExpression__Group__1__Impl rule__QuantifiedExpression__Group__2 ; + public final void rule__QuantifiedExpression__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:4499:1: ( rule__MultiplicativeExpression__Group_1__1__Impl rule__MultiplicativeExpression__Group_1__2 ) - // InternalSolverLanguageParser.g:4500:2: rule__MultiplicativeExpression__Group_1__1__Impl rule__MultiplicativeExpression__Group_1__2 + // InternalSolverLanguageParser.g:6231:1: ( rule__QuantifiedExpression__Group__1__Impl rule__QuantifiedExpression__Group__2 ) + // InternalSolverLanguageParser.g:6232:2: rule__QuantifiedExpression__Group__1__Impl rule__QuantifiedExpression__Group__2 { - pushFollow(FOLLOW_7); - rule__MultiplicativeExpression__Group_1__1__Impl(); + pushFollow(FOLLOW_40); + rule__QuantifiedExpression__Group__1__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__MultiplicativeExpression__Group_1__2(); + rule__QuantifiedExpression__Group__2(); state._fsp--; @@ -14170,35 +19369,46 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__MultiplicativeExpression__Group_1__1" + // $ANTLR end "rule__QuantifiedExpression__Group__1" - // $ANTLR start "rule__MultiplicativeExpression__Group_1__1__Impl" - // InternalSolverLanguageParser.g:4507:1: rule__MultiplicativeExpression__Group_1__1__Impl : ( ( rule__MultiplicativeExpression__OpAssignment_1_1 ) ) ; - public final void rule__MultiplicativeExpression__Group_1__1__Impl() throws RecognitionException { + // $ANTLR start "rule__QuantifiedExpression__Group__1__Impl" + // InternalSolverLanguageParser.g:6239:1: rule__QuantifiedExpression__Group__1__Impl : ( ( rule__QuantifiedExpression__LocalVariablesAssignment_1 )? ) ; + public final void rule__QuantifiedExpression__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:4511:1: ( ( ( rule__MultiplicativeExpression__OpAssignment_1_1 ) ) ) - // InternalSolverLanguageParser.g:4512:1: ( ( rule__MultiplicativeExpression__OpAssignment_1_1 ) ) + // InternalSolverLanguageParser.g:6243:1: ( ( ( rule__QuantifiedExpression__LocalVariablesAssignment_1 )? ) ) + // InternalSolverLanguageParser.g:6244:1: ( ( rule__QuantifiedExpression__LocalVariablesAssignment_1 )? ) { - // InternalSolverLanguageParser.g:4512:1: ( ( rule__MultiplicativeExpression__OpAssignment_1_1 ) ) - // InternalSolverLanguageParser.g:4513:2: ( rule__MultiplicativeExpression__OpAssignment_1_1 ) - { - before(grammarAccess.getMultiplicativeExpressionAccess().getOpAssignment_1_1()); - // InternalSolverLanguageParser.g:4514:2: ( rule__MultiplicativeExpression__OpAssignment_1_1 ) - // InternalSolverLanguageParser.g:4514:3: rule__MultiplicativeExpression__OpAssignment_1_1 + // InternalSolverLanguageParser.g:6244:1: ( ( rule__QuantifiedExpression__LocalVariablesAssignment_1 )? ) + // InternalSolverLanguageParser.g:6245:2: ( rule__QuantifiedExpression__LocalVariablesAssignment_1 )? { - pushFollow(FOLLOW_2); - rule__MultiplicativeExpression__OpAssignment_1_1(); + before(grammarAccess.getQuantifiedExpressionAccess().getLocalVariablesAssignment_1()); + // InternalSolverLanguageParser.g:6246:2: ( rule__QuantifiedExpression__LocalVariablesAssignment_1 )? + int alt45=2; + int LA45_0 = input.LA(1); + + if ( (LA45_0==LeftSquareBracket) ) { + alt45=1; + } + switch (alt45) { + case 1 : + // InternalSolverLanguageParser.g:6246:3: rule__QuantifiedExpression__LocalVariablesAssignment_1 + { + pushFollow(FOLLOW_2); + rule__QuantifiedExpression__LocalVariablesAssignment_1(); + + state._fsp--; - state._fsp--; + } + break; } - after(grammarAccess.getMultiplicativeExpressionAccess().getOpAssignment_1_1()); + after(grammarAccess.getQuantifiedExpressionAccess().getLocalVariablesAssignment_1()); } @@ -14217,21 +19427,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__MultiplicativeExpression__Group_1__1__Impl" + // $ANTLR end "rule__QuantifiedExpression__Group__1__Impl" - // $ANTLR start "rule__MultiplicativeExpression__Group_1__2" - // InternalSolverLanguageParser.g:4522:1: rule__MultiplicativeExpression__Group_1__2 : rule__MultiplicativeExpression__Group_1__2__Impl ; - public final void rule__MultiplicativeExpression__Group_1__2() throws RecognitionException { + // $ANTLR start "rule__QuantifiedExpression__Group__2" + // InternalSolverLanguageParser.g:6254:1: rule__QuantifiedExpression__Group__2 : rule__QuantifiedExpression__Group__2__Impl rule__QuantifiedExpression__Group__3 ; + public final void rule__QuantifiedExpression__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:4526:1: ( rule__MultiplicativeExpression__Group_1__2__Impl ) - // InternalSolverLanguageParser.g:4527:2: rule__MultiplicativeExpression__Group_1__2__Impl + // InternalSolverLanguageParser.g:6258:1: ( rule__QuantifiedExpression__Group__2__Impl rule__QuantifiedExpression__Group__3 ) + // InternalSolverLanguageParser.g:6259:2: rule__QuantifiedExpression__Group__2__Impl rule__QuantifiedExpression__Group__3 { + pushFollow(FOLLOW_7); + rule__QuantifiedExpression__Group__2__Impl(); + + state._fsp--; + pushFollow(FOLLOW_2); - rule__MultiplicativeExpression__Group_1__2__Impl(); + rule__QuantifiedExpression__Group__3(); state._fsp--; @@ -14250,35 +19465,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__MultiplicativeExpression__Group_1__2" + // $ANTLR end "rule__QuantifiedExpression__Group__2" - // $ANTLR start "rule__MultiplicativeExpression__Group_1__2__Impl" - // InternalSolverLanguageParser.g:4533:1: rule__MultiplicativeExpression__Group_1__2__Impl : ( ( rule__MultiplicativeExpression__RightAssignment_1_2 ) ) ; - public final void rule__MultiplicativeExpression__Group_1__2__Impl() throws RecognitionException { + // $ANTLR start "rule__QuantifiedExpression__Group__2__Impl" + // InternalSolverLanguageParser.g:6266:1: rule__QuantifiedExpression__Group__2__Impl : ( LeftCurlyBracket ) ; + public final void rule__QuantifiedExpression__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:4537:1: ( ( ( rule__MultiplicativeExpression__RightAssignment_1_2 ) ) ) - // InternalSolverLanguageParser.g:4538:1: ( ( rule__MultiplicativeExpression__RightAssignment_1_2 ) ) + // InternalSolverLanguageParser.g:6270:1: ( ( LeftCurlyBracket ) ) + // InternalSolverLanguageParser.g:6271:1: ( LeftCurlyBracket ) { - // InternalSolverLanguageParser.g:4538:1: ( ( rule__MultiplicativeExpression__RightAssignment_1_2 ) ) - // InternalSolverLanguageParser.g:4539:2: ( rule__MultiplicativeExpression__RightAssignment_1_2 ) + // InternalSolverLanguageParser.g:6271:1: ( LeftCurlyBracket ) + // InternalSolverLanguageParser.g:6272:2: LeftCurlyBracket { - before(grammarAccess.getMultiplicativeExpressionAccess().getRightAssignment_1_2()); - // InternalSolverLanguageParser.g:4540:2: ( rule__MultiplicativeExpression__RightAssignment_1_2 ) - // InternalSolverLanguageParser.g:4540:3: rule__MultiplicativeExpression__RightAssignment_1_2 - { - pushFollow(FOLLOW_2); - rule__MultiplicativeExpression__RightAssignment_1_2(); - - state._fsp--; - - - } - - after(grammarAccess.getMultiplicativeExpressionAccess().getRightAssignment_1_2()); + before(grammarAccess.getQuantifiedExpressionAccess().getLeftCurlyBracketKeyword_2()); + match(input,LeftCurlyBracket,FOLLOW_2); + after(grammarAccess.getQuantifiedExpressionAccess().getLeftCurlyBracketKeyword_2()); } @@ -14297,26 +19502,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__MultiplicativeExpression__Group_1__2__Impl" + // $ANTLR end "rule__QuantifiedExpression__Group__2__Impl" - // $ANTLR start "rule__ExponentialExpression__Group__0" - // InternalSolverLanguageParser.g:4549:1: rule__ExponentialExpression__Group__0 : rule__ExponentialExpression__Group__0__Impl rule__ExponentialExpression__Group__1 ; - public final void rule__ExponentialExpression__Group__0() throws RecognitionException { + // $ANTLR start "rule__QuantifiedExpression__Group__3" + // InternalSolverLanguageParser.g:6281:1: rule__QuantifiedExpression__Group__3 : rule__QuantifiedExpression__Group__3__Impl rule__QuantifiedExpression__Group__4 ; + public final void rule__QuantifiedExpression__Group__3() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:4553:1: ( rule__ExponentialExpression__Group__0__Impl rule__ExponentialExpression__Group__1 ) - // InternalSolverLanguageParser.g:4554:2: rule__ExponentialExpression__Group__0__Impl rule__ExponentialExpression__Group__1 + // InternalSolverLanguageParser.g:6285:1: ( rule__QuantifiedExpression__Group__3__Impl rule__QuantifiedExpression__Group__4 ) + // InternalSolverLanguageParser.g:6286:2: rule__QuantifiedExpression__Group__3__Impl rule__QuantifiedExpression__Group__4 { - pushFollow(FOLLOW_28); - rule__ExponentialExpression__Group__0__Impl(); + pushFollow(FOLLOW_16); + rule__QuantifiedExpression__Group__3__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__ExponentialExpression__Group__1(); + rule__QuantifiedExpression__Group__4(); state._fsp--; @@ -14335,29 +19540,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ExponentialExpression__Group__0" + // $ANTLR end "rule__QuantifiedExpression__Group__3" - // $ANTLR start "rule__ExponentialExpression__Group__0__Impl" - // InternalSolverLanguageParser.g:4561:1: rule__ExponentialExpression__Group__0__Impl : ( ruleUnaryExpression ) ; - public final void rule__ExponentialExpression__Group__0__Impl() throws RecognitionException { + // $ANTLR start "rule__QuantifiedExpression__Group__3__Impl" + // InternalSolverLanguageParser.g:6293:1: rule__QuantifiedExpression__Group__3__Impl : ( ( rule__QuantifiedExpression__BodyAssignment_3 ) ) ; + public final void rule__QuantifiedExpression__Group__3__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:4565:1: ( ( ruleUnaryExpression ) ) - // InternalSolverLanguageParser.g:4566:1: ( ruleUnaryExpression ) + // InternalSolverLanguageParser.g:6297:1: ( ( ( rule__QuantifiedExpression__BodyAssignment_3 ) ) ) + // InternalSolverLanguageParser.g:6298:1: ( ( rule__QuantifiedExpression__BodyAssignment_3 ) ) { - // InternalSolverLanguageParser.g:4566:1: ( ruleUnaryExpression ) - // InternalSolverLanguageParser.g:4567:2: ruleUnaryExpression + // InternalSolverLanguageParser.g:6298:1: ( ( rule__QuantifiedExpression__BodyAssignment_3 ) ) + // InternalSolverLanguageParser.g:6299:2: ( rule__QuantifiedExpression__BodyAssignment_3 ) + { + before(grammarAccess.getQuantifiedExpressionAccess().getBodyAssignment_3()); + // InternalSolverLanguageParser.g:6300:2: ( rule__QuantifiedExpression__BodyAssignment_3 ) + // InternalSolverLanguageParser.g:6300:3: rule__QuantifiedExpression__BodyAssignment_3 { - before(grammarAccess.getExponentialExpressionAccess().getUnaryExpressionParserRuleCall_0()); pushFollow(FOLLOW_2); - ruleUnaryExpression(); + rule__QuantifiedExpression__BodyAssignment_3(); state._fsp--; - after(grammarAccess.getExponentialExpressionAccess().getUnaryExpressionParserRuleCall_0()); + + } + + after(grammarAccess.getQuantifiedExpressionAccess().getBodyAssignment_3()); } @@ -14376,21 +19587,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ExponentialExpression__Group__0__Impl" + // $ANTLR end "rule__QuantifiedExpression__Group__3__Impl" - // $ANTLR start "rule__ExponentialExpression__Group__1" - // InternalSolverLanguageParser.g:4576:1: rule__ExponentialExpression__Group__1 : rule__ExponentialExpression__Group__1__Impl ; - public final void rule__ExponentialExpression__Group__1() throws RecognitionException { + // $ANTLR start "rule__QuantifiedExpression__Group__4" + // InternalSolverLanguageParser.g:6308:1: rule__QuantifiedExpression__Group__4 : rule__QuantifiedExpression__Group__4__Impl ; + public final void rule__QuantifiedExpression__Group__4() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:4580:1: ( rule__ExponentialExpression__Group__1__Impl ) - // InternalSolverLanguageParser.g:4581:2: rule__ExponentialExpression__Group__1__Impl + // InternalSolverLanguageParser.g:6312:1: ( rule__QuantifiedExpression__Group__4__Impl ) + // InternalSolverLanguageParser.g:6313:2: rule__QuantifiedExpression__Group__4__Impl { pushFollow(FOLLOW_2); - rule__ExponentialExpression__Group__1__Impl(); + rule__QuantifiedExpression__Group__4__Impl(); state._fsp--; @@ -14409,46 +19620,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ExponentialExpression__Group__1" + // $ANTLR end "rule__QuantifiedExpression__Group__4" - // $ANTLR start "rule__ExponentialExpression__Group__1__Impl" - // InternalSolverLanguageParser.g:4587:1: rule__ExponentialExpression__Group__1__Impl : ( ( rule__ExponentialExpression__Group_1__0 )? ) ; - public final void rule__ExponentialExpression__Group__1__Impl() throws RecognitionException { + // $ANTLR start "rule__QuantifiedExpression__Group__4__Impl" + // InternalSolverLanguageParser.g:6319:1: rule__QuantifiedExpression__Group__4__Impl : ( RightCurlyBracket ) ; + public final void rule__QuantifiedExpression__Group__4__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:4591:1: ( ( ( rule__ExponentialExpression__Group_1__0 )? ) ) - // InternalSolverLanguageParser.g:4592:1: ( ( rule__ExponentialExpression__Group_1__0 )? ) + // InternalSolverLanguageParser.g:6323:1: ( ( RightCurlyBracket ) ) + // InternalSolverLanguageParser.g:6324:1: ( RightCurlyBracket ) { - // InternalSolverLanguageParser.g:4592:1: ( ( rule__ExponentialExpression__Group_1__0 )? ) - // InternalSolverLanguageParser.g:4593:2: ( rule__ExponentialExpression__Group_1__0 )? + // InternalSolverLanguageParser.g:6324:1: ( RightCurlyBracket ) + // InternalSolverLanguageParser.g:6325:2: RightCurlyBracket { - before(grammarAccess.getExponentialExpressionAccess().getGroup_1()); - // InternalSolverLanguageParser.g:4594:2: ( rule__ExponentialExpression__Group_1__0 )? - int alt38=2; - int LA38_0 = input.LA(1); - - if ( (LA38_0==CircumflexAccent) ) { - alt38=1; - } - switch (alt38) { - case 1 : - // InternalSolverLanguageParser.g:4594:3: rule__ExponentialExpression__Group_1__0 - { - pushFollow(FOLLOW_2); - rule__ExponentialExpression__Group_1__0(); - - state._fsp--; - - - } - break; - - } - - after(grammarAccess.getExponentialExpressionAccess().getGroup_1()); + before(grammarAccess.getQuantifiedExpressionAccess().getRightCurlyBracketKeyword_4()); + match(input,RightCurlyBracket,FOLLOW_2); + after(grammarAccess.getQuantifiedExpressionAccess().getRightCurlyBracketKeyword_4()); } @@ -14467,26 +19657,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ExponentialExpression__Group__1__Impl" + // $ANTLR end "rule__QuantifiedExpression__Group__4__Impl" - // $ANTLR start "rule__ExponentialExpression__Group_1__0" - // InternalSolverLanguageParser.g:4603:1: rule__ExponentialExpression__Group_1__0 : rule__ExponentialExpression__Group_1__0__Impl rule__ExponentialExpression__Group_1__1 ; - public final void rule__ExponentialExpression__Group_1__0() throws RecognitionException { + // $ANTLR start "rule__Aggregation__Group__0" + // InternalSolverLanguageParser.g:6335:1: rule__Aggregation__Group__0 : rule__Aggregation__Group__0__Impl rule__Aggregation__Group__1 ; + public final void rule__Aggregation__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:4607:1: ( rule__ExponentialExpression__Group_1__0__Impl rule__ExponentialExpression__Group_1__1 ) - // InternalSolverLanguageParser.g:4608:2: rule__ExponentialExpression__Group_1__0__Impl rule__ExponentialExpression__Group_1__1 + // InternalSolverLanguageParser.g:6339:1: ( rule__Aggregation__Group__0__Impl rule__Aggregation__Group__1 ) + // InternalSolverLanguageParser.g:6340:2: rule__Aggregation__Group__0__Impl rule__Aggregation__Group__1 { - pushFollow(FOLLOW_28); - rule__ExponentialExpression__Group_1__0__Impl(); + pushFollow(FOLLOW_40); + rule__Aggregation__Group__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__ExponentialExpression__Group_1__1(); + rule__Aggregation__Group__1(); state._fsp--; @@ -14505,29 +19695,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ExponentialExpression__Group_1__0" + // $ANTLR end "rule__Aggregation__Group__0" - // $ANTLR start "rule__ExponentialExpression__Group_1__0__Impl" - // InternalSolverLanguageParser.g:4615:1: rule__ExponentialExpression__Group_1__0__Impl : ( () ) ; - public final void rule__ExponentialExpression__Group_1__0__Impl() throws RecognitionException { + // $ANTLR start "rule__Aggregation__Group__0__Impl" + // InternalSolverLanguageParser.g:6347:1: rule__Aggregation__Group__0__Impl : ( ( rule__Aggregation__OpAssignment_0 ) ) ; + public final void rule__Aggregation__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:4619:1: ( ( () ) ) - // InternalSolverLanguageParser.g:4620:1: ( () ) + // InternalSolverLanguageParser.g:6351:1: ( ( ( rule__Aggregation__OpAssignment_0 ) ) ) + // InternalSolverLanguageParser.g:6352:1: ( ( rule__Aggregation__OpAssignment_0 ) ) { - // InternalSolverLanguageParser.g:4620:1: ( () ) - // InternalSolverLanguageParser.g:4621:2: () + // InternalSolverLanguageParser.g:6352:1: ( ( rule__Aggregation__OpAssignment_0 ) ) + // InternalSolverLanguageParser.g:6353:2: ( rule__Aggregation__OpAssignment_0 ) { - before(grammarAccess.getExponentialExpressionAccess().getBinaryExpressionLeftAction_1_0()); - // InternalSolverLanguageParser.g:4622:2: () - // InternalSolverLanguageParser.g:4622:3: + before(grammarAccess.getAggregationAccess().getOpAssignment_0()); + // InternalSolverLanguageParser.g:6354:2: ( rule__Aggregation__OpAssignment_0 ) + // InternalSolverLanguageParser.g:6354:3: rule__Aggregation__OpAssignment_0 { + pushFollow(FOLLOW_2); + rule__Aggregation__OpAssignment_0(); + + state._fsp--; + + } - after(grammarAccess.getExponentialExpressionAccess().getBinaryExpressionLeftAction_1_0()); + after(grammarAccess.getAggregationAccess().getOpAssignment_0()); } @@ -14535,6 +19731,10 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } finally { restoreStackSize(stackSize); @@ -14542,26 +19742,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ExponentialExpression__Group_1__0__Impl" + // $ANTLR end "rule__Aggregation__Group__0__Impl" - // $ANTLR start "rule__ExponentialExpression__Group_1__1" - // InternalSolverLanguageParser.g:4630:1: rule__ExponentialExpression__Group_1__1 : rule__ExponentialExpression__Group_1__1__Impl rule__ExponentialExpression__Group_1__2 ; - public final void rule__ExponentialExpression__Group_1__1() throws RecognitionException { + // $ANTLR start "rule__Aggregation__Group__1" + // InternalSolverLanguageParser.g:6362:1: rule__Aggregation__Group__1 : rule__Aggregation__Group__1__Impl rule__Aggregation__Group__2 ; + public final void rule__Aggregation__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:4634:1: ( rule__ExponentialExpression__Group_1__1__Impl rule__ExponentialExpression__Group_1__2 ) - // InternalSolverLanguageParser.g:4635:2: rule__ExponentialExpression__Group_1__1__Impl rule__ExponentialExpression__Group_1__2 + // InternalSolverLanguageParser.g:6366:1: ( rule__Aggregation__Group__1__Impl rule__Aggregation__Group__2 ) + // InternalSolverLanguageParser.g:6367:2: rule__Aggregation__Group__1__Impl rule__Aggregation__Group__2 { - pushFollow(FOLLOW_7); - rule__ExponentialExpression__Group_1__1__Impl(); + pushFollow(FOLLOW_40); + rule__Aggregation__Group__1__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__ExponentialExpression__Group_1__2(); + rule__Aggregation__Group__2(); state._fsp--; @@ -14580,35 +19780,46 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ExponentialExpression__Group_1__1" + // $ANTLR end "rule__Aggregation__Group__1" - // $ANTLR start "rule__ExponentialExpression__Group_1__1__Impl" - // InternalSolverLanguageParser.g:4642:1: rule__ExponentialExpression__Group_1__1__Impl : ( ( rule__ExponentialExpression__OpAssignment_1_1 ) ) ; - public final void rule__ExponentialExpression__Group_1__1__Impl() throws RecognitionException { + // $ANTLR start "rule__Aggregation__Group__1__Impl" + // InternalSolverLanguageParser.g:6374:1: rule__Aggregation__Group__1__Impl : ( ( rule__Aggregation__LocalVariablesAssignment_1 )? ) ; + public final void rule__Aggregation__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:4646:1: ( ( ( rule__ExponentialExpression__OpAssignment_1_1 ) ) ) - // InternalSolverLanguageParser.g:4647:1: ( ( rule__ExponentialExpression__OpAssignment_1_1 ) ) - { - // InternalSolverLanguageParser.g:4647:1: ( ( rule__ExponentialExpression__OpAssignment_1_1 ) ) - // InternalSolverLanguageParser.g:4648:2: ( rule__ExponentialExpression__OpAssignment_1_1 ) + // InternalSolverLanguageParser.g:6378:1: ( ( ( rule__Aggregation__LocalVariablesAssignment_1 )? ) ) + // InternalSolverLanguageParser.g:6379:1: ( ( rule__Aggregation__LocalVariablesAssignment_1 )? ) { - before(grammarAccess.getExponentialExpressionAccess().getOpAssignment_1_1()); - // InternalSolverLanguageParser.g:4649:2: ( rule__ExponentialExpression__OpAssignment_1_1 ) - // InternalSolverLanguageParser.g:4649:3: rule__ExponentialExpression__OpAssignment_1_1 + // InternalSolverLanguageParser.g:6379:1: ( ( rule__Aggregation__LocalVariablesAssignment_1 )? ) + // InternalSolverLanguageParser.g:6380:2: ( rule__Aggregation__LocalVariablesAssignment_1 )? { - pushFollow(FOLLOW_2); - rule__ExponentialExpression__OpAssignment_1_1(); + before(grammarAccess.getAggregationAccess().getLocalVariablesAssignment_1()); + // InternalSolverLanguageParser.g:6381:2: ( rule__Aggregation__LocalVariablesAssignment_1 )? + int alt46=2; + int LA46_0 = input.LA(1); - state._fsp--; + if ( (LA46_0==LeftSquareBracket) ) { + alt46=1; + } + switch (alt46) { + case 1 : + // InternalSolverLanguageParser.g:6381:3: rule__Aggregation__LocalVariablesAssignment_1 + { + pushFollow(FOLLOW_2); + rule__Aggregation__LocalVariablesAssignment_1(); + + state._fsp--; + } + break; + } - after(grammarAccess.getExponentialExpressionAccess().getOpAssignment_1_1()); + after(grammarAccess.getAggregationAccess().getLocalVariablesAssignment_1()); } @@ -14627,21 +19838,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ExponentialExpression__Group_1__1__Impl" + // $ANTLR end "rule__Aggregation__Group__1__Impl" - // $ANTLR start "rule__ExponentialExpression__Group_1__2" - // InternalSolverLanguageParser.g:4657:1: rule__ExponentialExpression__Group_1__2 : rule__ExponentialExpression__Group_1__2__Impl ; - public final void rule__ExponentialExpression__Group_1__2() throws RecognitionException { + // $ANTLR start "rule__Aggregation__Group__2" + // InternalSolverLanguageParser.g:6389:1: rule__Aggregation__Group__2 : rule__Aggregation__Group__2__Impl rule__Aggregation__Group__3 ; + public final void rule__Aggregation__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:4661:1: ( rule__ExponentialExpression__Group_1__2__Impl ) - // InternalSolverLanguageParser.g:4662:2: rule__ExponentialExpression__Group_1__2__Impl + // InternalSolverLanguageParser.g:6393:1: ( rule__Aggregation__Group__2__Impl rule__Aggregation__Group__3 ) + // InternalSolverLanguageParser.g:6394:2: rule__Aggregation__Group__2__Impl rule__Aggregation__Group__3 { + pushFollow(FOLLOW_7); + rule__Aggregation__Group__2__Impl(); + + state._fsp--; + pushFollow(FOLLOW_2); - rule__ExponentialExpression__Group_1__2__Impl(); + rule__Aggregation__Group__3(); state._fsp--; @@ -14660,35 +19876,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ExponentialExpression__Group_1__2" + // $ANTLR end "rule__Aggregation__Group__2" - // $ANTLR start "rule__ExponentialExpression__Group_1__2__Impl" - // InternalSolverLanguageParser.g:4668:1: rule__ExponentialExpression__Group_1__2__Impl : ( ( rule__ExponentialExpression__RightAssignment_1_2 ) ) ; - public final void rule__ExponentialExpression__Group_1__2__Impl() throws RecognitionException { + // $ANTLR start "rule__Aggregation__Group__2__Impl" + // InternalSolverLanguageParser.g:6401:1: rule__Aggregation__Group__2__Impl : ( LeftCurlyBracket ) ; + public final void rule__Aggregation__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:4672:1: ( ( ( rule__ExponentialExpression__RightAssignment_1_2 ) ) ) - // InternalSolverLanguageParser.g:4673:1: ( ( rule__ExponentialExpression__RightAssignment_1_2 ) ) - { - // InternalSolverLanguageParser.g:4673:1: ( ( rule__ExponentialExpression__RightAssignment_1_2 ) ) - // InternalSolverLanguageParser.g:4674:2: ( rule__ExponentialExpression__RightAssignment_1_2 ) + // InternalSolverLanguageParser.g:6405:1: ( ( LeftCurlyBracket ) ) + // InternalSolverLanguageParser.g:6406:1: ( LeftCurlyBracket ) { - before(grammarAccess.getExponentialExpressionAccess().getRightAssignment_1_2()); - // InternalSolverLanguageParser.g:4675:2: ( rule__ExponentialExpression__RightAssignment_1_2 ) - // InternalSolverLanguageParser.g:4675:3: rule__ExponentialExpression__RightAssignment_1_2 + // InternalSolverLanguageParser.g:6406:1: ( LeftCurlyBracket ) + // InternalSolverLanguageParser.g:6407:2: LeftCurlyBracket { - pushFollow(FOLLOW_2); - rule__ExponentialExpression__RightAssignment_1_2(); - - state._fsp--; - - - } - - after(grammarAccess.getExponentialExpressionAccess().getRightAssignment_1_2()); + before(grammarAccess.getAggregationAccess().getLeftCurlyBracketKeyword_2()); + match(input,LeftCurlyBracket,FOLLOW_2); + after(grammarAccess.getAggregationAccess().getLeftCurlyBracketKeyword_2()); } @@ -14707,26 +19913,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ExponentialExpression__Group_1__2__Impl" + // $ANTLR end "rule__Aggregation__Group__2__Impl" - // $ANTLR start "rule__UnaryExpression__Group_1__0" - // InternalSolverLanguageParser.g:4684:1: rule__UnaryExpression__Group_1__0 : rule__UnaryExpression__Group_1__0__Impl rule__UnaryExpression__Group_1__1 ; - public final void rule__UnaryExpression__Group_1__0() throws RecognitionException { + // $ANTLR start "rule__Aggregation__Group__3" + // InternalSolverLanguageParser.g:6416:1: rule__Aggregation__Group__3 : rule__Aggregation__Group__3__Impl rule__Aggregation__Group__4 ; + public final void rule__Aggregation__Group__3() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:4688:1: ( rule__UnaryExpression__Group_1__0__Impl rule__UnaryExpression__Group_1__1 ) - // InternalSolverLanguageParser.g:4689:2: rule__UnaryExpression__Group_1__0__Impl rule__UnaryExpression__Group_1__1 + // InternalSolverLanguageParser.g:6420:1: ( rule__Aggregation__Group__3__Impl rule__Aggregation__Group__4 ) + // InternalSolverLanguageParser.g:6421:2: rule__Aggregation__Group__3__Impl rule__Aggregation__Group__4 { - pushFollow(FOLLOW_7); - rule__UnaryExpression__Group_1__0__Impl(); + pushFollow(FOLLOW_41); + rule__Aggregation__Group__3__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__UnaryExpression__Group_1__1(); + rule__Aggregation__Group__4(); state._fsp--; @@ -14745,29 +19951,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__UnaryExpression__Group_1__0" + // $ANTLR end "rule__Aggregation__Group__3" - // $ANTLR start "rule__UnaryExpression__Group_1__0__Impl" - // InternalSolverLanguageParser.g:4696:1: rule__UnaryExpression__Group_1__0__Impl : ( () ) ; - public final void rule__UnaryExpression__Group_1__0__Impl() throws RecognitionException { + // $ANTLR start "rule__Aggregation__Group__3__Impl" + // InternalSolverLanguageParser.g:6428:1: rule__Aggregation__Group__3__Impl : ( ( rule__Aggregation__BodyAssignment_3 ) ) ; + public final void rule__Aggregation__Group__3__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:4700:1: ( ( () ) ) - // InternalSolverLanguageParser.g:4701:1: ( () ) + // InternalSolverLanguageParser.g:6432:1: ( ( ( rule__Aggregation__BodyAssignment_3 ) ) ) + // InternalSolverLanguageParser.g:6433:1: ( ( rule__Aggregation__BodyAssignment_3 ) ) { - // InternalSolverLanguageParser.g:4701:1: ( () ) - // InternalSolverLanguageParser.g:4702:2: () + // InternalSolverLanguageParser.g:6433:1: ( ( rule__Aggregation__BodyAssignment_3 ) ) + // InternalSolverLanguageParser.g:6434:2: ( rule__Aggregation__BodyAssignment_3 ) { - before(grammarAccess.getUnaryExpressionAccess().getUnaryExpressionAction_1_0()); - // InternalSolverLanguageParser.g:4703:2: () - // InternalSolverLanguageParser.g:4703:3: + before(grammarAccess.getAggregationAccess().getBodyAssignment_3()); + // InternalSolverLanguageParser.g:6435:2: ( rule__Aggregation__BodyAssignment_3 ) + // InternalSolverLanguageParser.g:6435:3: rule__Aggregation__BodyAssignment_3 { + pushFollow(FOLLOW_2); + rule__Aggregation__BodyAssignment_3(); + + state._fsp--; + + } - after(grammarAccess.getUnaryExpressionAccess().getUnaryExpressionAction_1_0()); + after(grammarAccess.getAggregationAccess().getBodyAssignment_3()); } @@ -14775,6 +19987,10 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } finally { restoreStackSize(stackSize); @@ -14782,26 +19998,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__UnaryExpression__Group_1__0__Impl" + // $ANTLR end "rule__Aggregation__Group__3__Impl" - // $ANTLR start "rule__UnaryExpression__Group_1__1" - // InternalSolverLanguageParser.g:4711:1: rule__UnaryExpression__Group_1__1 : rule__UnaryExpression__Group_1__1__Impl rule__UnaryExpression__Group_1__2 ; - public final void rule__UnaryExpression__Group_1__1() throws RecognitionException { + // $ANTLR start "rule__Aggregation__Group__4" + // InternalSolverLanguageParser.g:6443:1: rule__Aggregation__Group__4 : rule__Aggregation__Group__4__Impl rule__Aggregation__Group__5 ; + public final void rule__Aggregation__Group__4() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:4715:1: ( rule__UnaryExpression__Group_1__1__Impl rule__UnaryExpression__Group_1__2 ) - // InternalSolverLanguageParser.g:4716:2: rule__UnaryExpression__Group_1__1__Impl rule__UnaryExpression__Group_1__2 + // InternalSolverLanguageParser.g:6447:1: ( rule__Aggregation__Group__4__Impl rule__Aggregation__Group__5 ) + // InternalSolverLanguageParser.g:6448:2: rule__Aggregation__Group__4__Impl rule__Aggregation__Group__5 { - pushFollow(FOLLOW_29); - rule__UnaryExpression__Group_1__1__Impl(); + pushFollow(FOLLOW_41); + rule__Aggregation__Group__4__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__UnaryExpression__Group_1__2(); + rule__Aggregation__Group__5(); state._fsp--; @@ -14820,35 +20036,46 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__UnaryExpression__Group_1__1" + // $ANTLR end "rule__Aggregation__Group__4" - // $ANTLR start "rule__UnaryExpression__Group_1__1__Impl" - // InternalSolverLanguageParser.g:4723:1: rule__UnaryExpression__Group_1__1__Impl : ( ( rule__UnaryExpression__OpAssignment_1_1 ) ) ; - public final void rule__UnaryExpression__Group_1__1__Impl() throws RecognitionException { + // $ANTLR start "rule__Aggregation__Group__4__Impl" + // InternalSolverLanguageParser.g:6455:1: rule__Aggregation__Group__4__Impl : ( ( rule__Aggregation__Group_4__0 )? ) ; + public final void rule__Aggregation__Group__4__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:4727:1: ( ( ( rule__UnaryExpression__OpAssignment_1_1 ) ) ) - // InternalSolverLanguageParser.g:4728:1: ( ( rule__UnaryExpression__OpAssignment_1_1 ) ) + // InternalSolverLanguageParser.g:6459:1: ( ( ( rule__Aggregation__Group_4__0 )? ) ) + // InternalSolverLanguageParser.g:6460:1: ( ( rule__Aggregation__Group_4__0 )? ) { - // InternalSolverLanguageParser.g:4728:1: ( ( rule__UnaryExpression__OpAssignment_1_1 ) ) - // InternalSolverLanguageParser.g:4729:2: ( rule__UnaryExpression__OpAssignment_1_1 ) - { - before(grammarAccess.getUnaryExpressionAccess().getOpAssignment_1_1()); - // InternalSolverLanguageParser.g:4730:2: ( rule__UnaryExpression__OpAssignment_1_1 ) - // InternalSolverLanguageParser.g:4730:3: rule__UnaryExpression__OpAssignment_1_1 + // InternalSolverLanguageParser.g:6460:1: ( ( rule__Aggregation__Group_4__0 )? ) + // InternalSolverLanguageParser.g:6461:2: ( rule__Aggregation__Group_4__0 )? { - pushFollow(FOLLOW_2); - rule__UnaryExpression__OpAssignment_1_1(); + before(grammarAccess.getAggregationAccess().getGroup_4()); + // InternalSolverLanguageParser.g:6462:2: ( rule__Aggregation__Group_4__0 )? + int alt47=2; + int LA47_0 = input.LA(1); + + if ( (LA47_0==VerticalLine) ) { + alt47=1; + } + switch (alt47) { + case 1 : + // InternalSolverLanguageParser.g:6462:3: rule__Aggregation__Group_4__0 + { + pushFollow(FOLLOW_2); + rule__Aggregation__Group_4__0(); + + state._fsp--; - state._fsp--; + } + break; } - after(grammarAccess.getUnaryExpressionAccess().getOpAssignment_1_1()); + after(grammarAccess.getAggregationAccess().getGroup_4()); } @@ -14867,21 +20094,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__UnaryExpression__Group_1__1__Impl" + // $ANTLR end "rule__Aggregation__Group__4__Impl" - // $ANTLR start "rule__UnaryExpression__Group_1__2" - // InternalSolverLanguageParser.g:4738:1: rule__UnaryExpression__Group_1__2 : rule__UnaryExpression__Group_1__2__Impl ; - public final void rule__UnaryExpression__Group_1__2() throws RecognitionException { + // $ANTLR start "rule__Aggregation__Group__5" + // InternalSolverLanguageParser.g:6470:1: rule__Aggregation__Group__5 : rule__Aggregation__Group__5__Impl ; + public final void rule__Aggregation__Group__5() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:4742:1: ( rule__UnaryExpression__Group_1__2__Impl ) - // InternalSolverLanguageParser.g:4743:2: rule__UnaryExpression__Group_1__2__Impl + // InternalSolverLanguageParser.g:6474:1: ( rule__Aggregation__Group__5__Impl ) + // InternalSolverLanguageParser.g:6475:2: rule__Aggregation__Group__5__Impl { pushFollow(FOLLOW_2); - rule__UnaryExpression__Group_1__2__Impl(); + rule__Aggregation__Group__5__Impl(); state._fsp--; @@ -14900,35 +20127,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__UnaryExpression__Group_1__2" + // $ANTLR end "rule__Aggregation__Group__5" - // $ANTLR start "rule__UnaryExpression__Group_1__2__Impl" - // InternalSolverLanguageParser.g:4749:1: rule__UnaryExpression__Group_1__2__Impl : ( ( rule__UnaryExpression__BodyAssignment_1_2 ) ) ; - public final void rule__UnaryExpression__Group_1__2__Impl() throws RecognitionException { + // $ANTLR start "rule__Aggregation__Group__5__Impl" + // InternalSolverLanguageParser.g:6481:1: rule__Aggregation__Group__5__Impl : ( RightCurlyBracket ) ; + public final void rule__Aggregation__Group__5__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:4753:1: ( ( ( rule__UnaryExpression__BodyAssignment_1_2 ) ) ) - // InternalSolverLanguageParser.g:4754:1: ( ( rule__UnaryExpression__BodyAssignment_1_2 ) ) - { - // InternalSolverLanguageParser.g:4754:1: ( ( rule__UnaryExpression__BodyAssignment_1_2 ) ) - // InternalSolverLanguageParser.g:4755:2: ( rule__UnaryExpression__BodyAssignment_1_2 ) + // InternalSolverLanguageParser.g:6485:1: ( ( RightCurlyBracket ) ) + // InternalSolverLanguageParser.g:6486:1: ( RightCurlyBracket ) { - before(grammarAccess.getUnaryExpressionAccess().getBodyAssignment_1_2()); - // InternalSolverLanguageParser.g:4756:2: ( rule__UnaryExpression__BodyAssignment_1_2 ) - // InternalSolverLanguageParser.g:4756:3: rule__UnaryExpression__BodyAssignment_1_2 + // InternalSolverLanguageParser.g:6486:1: ( RightCurlyBracket ) + // InternalSolverLanguageParser.g:6487:2: RightCurlyBracket { - pushFollow(FOLLOW_2); - rule__UnaryExpression__BodyAssignment_1_2(); - - state._fsp--; - - - } - - after(grammarAccess.getUnaryExpressionAccess().getBodyAssignment_1_2()); + before(grammarAccess.getAggregationAccess().getRightCurlyBracketKeyword_5()); + match(input,RightCurlyBracket,FOLLOW_2); + after(grammarAccess.getAggregationAccess().getRightCurlyBracketKeyword_5()); } @@ -14947,26 +20164,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__UnaryExpression__Group_1__2__Impl" + // $ANTLR end "rule__Aggregation__Group__5__Impl" - // $ANTLR start "rule__Count__Group__0" - // InternalSolverLanguageParser.g:4765:1: rule__Count__Group__0 : rule__Count__Group__0__Impl rule__Count__Group__1 ; - public final void rule__Count__Group__0() throws RecognitionException { + // $ANTLR start "rule__Aggregation__Group_4__0" + // InternalSolverLanguageParser.g:6497:1: rule__Aggregation__Group_4__0 : rule__Aggregation__Group_4__0__Impl rule__Aggregation__Group_4__1 ; + public final void rule__Aggregation__Group_4__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:4769:1: ( rule__Count__Group__0__Impl rule__Count__Group__1 ) - // InternalSolverLanguageParser.g:4770:2: rule__Count__Group__0__Impl rule__Count__Group__1 + // InternalSolverLanguageParser.g:6501:1: ( rule__Aggregation__Group_4__0__Impl rule__Aggregation__Group_4__1 ) + // InternalSolverLanguageParser.g:6502:2: rule__Aggregation__Group_4__0__Impl rule__Aggregation__Group_4__1 { - pushFollow(FOLLOW_30); - rule__Count__Group__0__Impl(); + pushFollow(FOLLOW_7); + rule__Aggregation__Group_4__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__Count__Group__1(); + rule__Aggregation__Group_4__1(); state._fsp--; @@ -14985,25 +20202,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Count__Group__0" + // $ANTLR end "rule__Aggregation__Group_4__0" - // $ANTLR start "rule__Count__Group__0__Impl" - // InternalSolverLanguageParser.g:4777:1: rule__Count__Group__0__Impl : ( Count ) ; - public final void rule__Count__Group__0__Impl() throws RecognitionException { + // $ANTLR start "rule__Aggregation__Group_4__0__Impl" + // InternalSolverLanguageParser.g:6509:1: rule__Aggregation__Group_4__0__Impl : ( VerticalLine ) ; + public final void rule__Aggregation__Group_4__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:4781:1: ( ( Count ) ) - // InternalSolverLanguageParser.g:4782:1: ( Count ) + // InternalSolverLanguageParser.g:6513:1: ( ( VerticalLine ) ) + // InternalSolverLanguageParser.g:6514:1: ( VerticalLine ) { - // InternalSolverLanguageParser.g:4782:1: ( Count ) - // InternalSolverLanguageParser.g:4783:2: Count + // InternalSolverLanguageParser.g:6514:1: ( VerticalLine ) + // InternalSolverLanguageParser.g:6515:2: VerticalLine { - before(grammarAccess.getCountAccess().getCountKeyword_0()); - match(input,Count,FOLLOW_2); - after(grammarAccess.getCountAccess().getCountKeyword_0()); + before(grammarAccess.getAggregationAccess().getVerticalLineKeyword_4_0()); + match(input,VerticalLine,FOLLOW_2); + after(grammarAccess.getAggregationAccess().getVerticalLineKeyword_4_0()); } @@ -15022,26 +20239,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Count__Group__0__Impl" + // $ANTLR end "rule__Aggregation__Group_4__0__Impl" - // $ANTLR start "rule__Count__Group__1" - // InternalSolverLanguageParser.g:4792:1: rule__Count__Group__1 : rule__Count__Group__1__Impl rule__Count__Group__2 ; - public final void rule__Count__Group__1() throws RecognitionException { + // $ANTLR start "rule__Aggregation__Group_4__1" + // InternalSolverLanguageParser.g:6524:1: rule__Aggregation__Group_4__1 : rule__Aggregation__Group_4__1__Impl ; + public final void rule__Aggregation__Group_4__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:4796:1: ( rule__Count__Group__1__Impl rule__Count__Group__2 ) - // InternalSolverLanguageParser.g:4797:2: rule__Count__Group__1__Impl rule__Count__Group__2 + // InternalSolverLanguageParser.g:6528:1: ( rule__Aggregation__Group_4__1__Impl ) + // InternalSolverLanguageParser.g:6529:2: rule__Aggregation__Group_4__1__Impl { - pushFollow(FOLLOW_7); - rule__Count__Group__1__Impl(); - - state._fsp--; - pushFollow(FOLLOW_2); - rule__Count__Group__2(); + rule__Aggregation__Group_4__1__Impl(); state._fsp--; @@ -15060,25 +20272,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Count__Group__1" + // $ANTLR end "rule__Aggregation__Group_4__1" - // $ANTLR start "rule__Count__Group__1__Impl" - // InternalSolverLanguageParser.g:4804:1: rule__Count__Group__1__Impl : ( LeftCurlyBracket ) ; - public final void rule__Count__Group__1__Impl() throws RecognitionException { + // $ANTLR start "rule__Aggregation__Group_4__1__Impl" + // InternalSolverLanguageParser.g:6535:1: rule__Aggregation__Group_4__1__Impl : ( ( rule__Aggregation__ConditionAssignment_4_1 ) ) ; + public final void rule__Aggregation__Group_4__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:4808:1: ( ( LeftCurlyBracket ) ) - // InternalSolverLanguageParser.g:4809:1: ( LeftCurlyBracket ) + // InternalSolverLanguageParser.g:6539:1: ( ( ( rule__Aggregation__ConditionAssignment_4_1 ) ) ) + // InternalSolverLanguageParser.g:6540:1: ( ( rule__Aggregation__ConditionAssignment_4_1 ) ) { - // InternalSolverLanguageParser.g:4809:1: ( LeftCurlyBracket ) - // InternalSolverLanguageParser.g:4810:2: LeftCurlyBracket + // InternalSolverLanguageParser.g:6540:1: ( ( rule__Aggregation__ConditionAssignment_4_1 ) ) + // InternalSolverLanguageParser.g:6541:2: ( rule__Aggregation__ConditionAssignment_4_1 ) { - before(grammarAccess.getCountAccess().getLeftCurlyBracketKeyword_1()); - match(input,LeftCurlyBracket,FOLLOW_2); - after(grammarAccess.getCountAccess().getLeftCurlyBracketKeyword_1()); + before(grammarAccess.getAggregationAccess().getConditionAssignment_4_1()); + // InternalSolverLanguageParser.g:6542:2: ( rule__Aggregation__ConditionAssignment_4_1 ) + // InternalSolverLanguageParser.g:6542:3: rule__Aggregation__ConditionAssignment_4_1 + { + pushFollow(FOLLOW_2); + rule__Aggregation__ConditionAssignment_4_1(); + + state._fsp--; + + + } + + after(grammarAccess.getAggregationAccess().getConditionAssignment_4_1()); } @@ -15097,26 +20319,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Count__Group__1__Impl" + // $ANTLR end "rule__Aggregation__Group_4__1__Impl" - // $ANTLR start "rule__Count__Group__2" - // InternalSolverLanguageParser.g:4819:1: rule__Count__Group__2 : rule__Count__Group__2__Impl rule__Count__Group__3 ; - public final void rule__Count__Group__2() throws RecognitionException { + // $ANTLR start "rule__AtomicExpression__Group_4__0" + // InternalSolverLanguageParser.g:6551:1: rule__AtomicExpression__Group_4__0 : rule__AtomicExpression__Group_4__0__Impl rule__AtomicExpression__Group_4__1 ; + public final void rule__AtomicExpression__Group_4__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:4823:1: ( rule__Count__Group__2__Impl rule__Count__Group__3 ) - // InternalSolverLanguageParser.g:4824:2: rule__Count__Group__2__Impl rule__Count__Group__3 + // InternalSolverLanguageParser.g:6555:1: ( rule__AtomicExpression__Group_4__0__Impl rule__AtomicExpression__Group_4__1 ) + // InternalSolverLanguageParser.g:6556:2: rule__AtomicExpression__Group_4__0__Impl rule__AtomicExpression__Group_4__1 { - pushFollow(FOLLOW_31); - rule__Count__Group__2__Impl(); + pushFollow(FOLLOW_7); + rule__AtomicExpression__Group_4__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__Count__Group__3(); + rule__AtomicExpression__Group_4__1(); state._fsp--; @@ -15135,35 +20357,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Count__Group__2" + // $ANTLR end "rule__AtomicExpression__Group_4__0" - // $ANTLR start "rule__Count__Group__2__Impl" - // InternalSolverLanguageParser.g:4831:1: rule__Count__Group__2__Impl : ( ( rule__Count__BodyAssignment_2 ) ) ; - public final void rule__Count__Group__2__Impl() throws RecognitionException { + // $ANTLR start "rule__AtomicExpression__Group_4__0__Impl" + // InternalSolverLanguageParser.g:6563:1: rule__AtomicExpression__Group_4__0__Impl : ( LeftParenthesis ) ; + public final void rule__AtomicExpression__Group_4__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:4835:1: ( ( ( rule__Count__BodyAssignment_2 ) ) ) - // InternalSolverLanguageParser.g:4836:1: ( ( rule__Count__BodyAssignment_2 ) ) + // InternalSolverLanguageParser.g:6567:1: ( ( LeftParenthesis ) ) + // InternalSolverLanguageParser.g:6568:1: ( LeftParenthesis ) { - // InternalSolverLanguageParser.g:4836:1: ( ( rule__Count__BodyAssignment_2 ) ) - // InternalSolverLanguageParser.g:4837:2: ( rule__Count__BodyAssignment_2 ) + // InternalSolverLanguageParser.g:6568:1: ( LeftParenthesis ) + // InternalSolverLanguageParser.g:6569:2: LeftParenthesis { - before(grammarAccess.getCountAccess().getBodyAssignment_2()); - // InternalSolverLanguageParser.g:4838:2: ( rule__Count__BodyAssignment_2 ) - // InternalSolverLanguageParser.g:4838:3: rule__Count__BodyAssignment_2 - { - pushFollow(FOLLOW_2); - rule__Count__BodyAssignment_2(); - - state._fsp--; - - - } - - after(grammarAccess.getCountAccess().getBodyAssignment_2()); + before(grammarAccess.getAtomicExpressionAccess().getLeftParenthesisKeyword_4_0()); + match(input,LeftParenthesis,FOLLOW_2); + after(grammarAccess.getAtomicExpressionAccess().getLeftParenthesisKeyword_4_0()); } @@ -15182,21 +20394,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Count__Group__2__Impl" + // $ANTLR end "rule__AtomicExpression__Group_4__0__Impl" - // $ANTLR start "rule__Count__Group__3" - // InternalSolverLanguageParser.g:4846:1: rule__Count__Group__3 : rule__Count__Group__3__Impl ; - public final void rule__Count__Group__3() throws RecognitionException { + // $ANTLR start "rule__AtomicExpression__Group_4__1" + // InternalSolverLanguageParser.g:6578:1: rule__AtomicExpression__Group_4__1 : rule__AtomicExpression__Group_4__1__Impl rule__AtomicExpression__Group_4__2 ; + public final void rule__AtomicExpression__Group_4__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:4850:1: ( rule__Count__Group__3__Impl ) - // InternalSolverLanguageParser.g:4851:2: rule__Count__Group__3__Impl + // InternalSolverLanguageParser.g:6582:1: ( rule__AtomicExpression__Group_4__1__Impl rule__AtomicExpression__Group_4__2 ) + // InternalSolverLanguageParser.g:6583:2: rule__AtomicExpression__Group_4__1__Impl rule__AtomicExpression__Group_4__2 { + pushFollow(FOLLOW_42); + rule__AtomicExpression__Group_4__1__Impl(); + + state._fsp--; + pushFollow(FOLLOW_2); - rule__Count__Group__3__Impl(); + rule__AtomicExpression__Group_4__2(); state._fsp--; @@ -15215,25 +20432,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Count__Group__3" + // $ANTLR end "rule__AtomicExpression__Group_4__1" - // $ANTLR start "rule__Count__Group__3__Impl" - // InternalSolverLanguageParser.g:4857:1: rule__Count__Group__3__Impl : ( RightCurlyBracket ) ; - public final void rule__Count__Group__3__Impl() throws RecognitionException { + // $ANTLR start "rule__AtomicExpression__Group_4__1__Impl" + // InternalSolverLanguageParser.g:6590:1: rule__AtomicExpression__Group_4__1__Impl : ( ruleExpression ) ; + public final void rule__AtomicExpression__Group_4__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:4861:1: ( ( RightCurlyBracket ) ) - // InternalSolverLanguageParser.g:4862:1: ( RightCurlyBracket ) + // InternalSolverLanguageParser.g:6594:1: ( ( ruleExpression ) ) + // InternalSolverLanguageParser.g:6595:1: ( ruleExpression ) { - // InternalSolverLanguageParser.g:4862:1: ( RightCurlyBracket ) - // InternalSolverLanguageParser.g:4863:2: RightCurlyBracket + // InternalSolverLanguageParser.g:6595:1: ( ruleExpression ) + // InternalSolverLanguageParser.g:6596:2: ruleExpression { - before(grammarAccess.getCountAccess().getRightCurlyBracketKeyword_3()); - match(input,RightCurlyBracket,FOLLOW_2); - after(grammarAccess.getCountAccess().getRightCurlyBracketKeyword_3()); + before(grammarAccess.getAtomicExpressionAccess().getExpressionParserRuleCall_4_1()); + pushFollow(FOLLOW_2); + ruleExpression(); + + state._fsp--; + + after(grammarAccess.getAtomicExpressionAccess().getExpressionParserRuleCall_4_1()); } @@ -15252,26 +20473,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Count__Group__3__Impl" + // $ANTLR end "rule__AtomicExpression__Group_4__1__Impl" - // $ANTLR start "rule__Aggregation__Group__0" - // InternalSolverLanguageParser.g:4873:1: rule__Aggregation__Group__0 : rule__Aggregation__Group__0__Impl rule__Aggregation__Group__1 ; - public final void rule__Aggregation__Group__0() throws RecognitionException { + // $ANTLR start "rule__AtomicExpression__Group_4__2" + // InternalSolverLanguageParser.g:6605:1: rule__AtomicExpression__Group_4__2 : rule__AtomicExpression__Group_4__2__Impl ; + public final void rule__AtomicExpression__Group_4__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:4877:1: ( rule__Aggregation__Group__0__Impl rule__Aggregation__Group__1 ) - // InternalSolverLanguageParser.g:4878:2: rule__Aggregation__Group__0__Impl rule__Aggregation__Group__1 + // InternalSolverLanguageParser.g:6609:1: ( rule__AtomicExpression__Group_4__2__Impl ) + // InternalSolverLanguageParser.g:6610:2: rule__AtomicExpression__Group_4__2__Impl { - pushFollow(FOLLOW_30); - rule__Aggregation__Group__0__Impl(); - - state._fsp--; - pushFollow(FOLLOW_2); - rule__Aggregation__Group__1(); + rule__AtomicExpression__Group_4__2__Impl(); state._fsp--; @@ -15290,35 +20506,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Aggregation__Group__0" + // $ANTLR end "rule__AtomicExpression__Group_4__2" - // $ANTLR start "rule__Aggregation__Group__0__Impl" - // InternalSolverLanguageParser.g:4885:1: rule__Aggregation__Group__0__Impl : ( ( rule__Aggregation__OpAssignment_0 ) ) ; - public final void rule__Aggregation__Group__0__Impl() throws RecognitionException { + // $ANTLR start "rule__AtomicExpression__Group_4__2__Impl" + // InternalSolverLanguageParser.g:6616:1: rule__AtomicExpression__Group_4__2__Impl : ( RightParenthesis ) ; + public final void rule__AtomicExpression__Group_4__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:4889:1: ( ( ( rule__Aggregation__OpAssignment_0 ) ) ) - // InternalSolverLanguageParser.g:4890:1: ( ( rule__Aggregation__OpAssignment_0 ) ) - { - // InternalSolverLanguageParser.g:4890:1: ( ( rule__Aggregation__OpAssignment_0 ) ) - // InternalSolverLanguageParser.g:4891:2: ( rule__Aggregation__OpAssignment_0 ) + // InternalSolverLanguageParser.g:6620:1: ( ( RightParenthesis ) ) + // InternalSolverLanguageParser.g:6621:1: ( RightParenthesis ) { - before(grammarAccess.getAggregationAccess().getOpAssignment_0()); - // InternalSolverLanguageParser.g:4892:2: ( rule__Aggregation__OpAssignment_0 ) - // InternalSolverLanguageParser.g:4892:3: rule__Aggregation__OpAssignment_0 + // InternalSolverLanguageParser.g:6621:1: ( RightParenthesis ) + // InternalSolverLanguageParser.g:6622:2: RightParenthesis { - pushFollow(FOLLOW_2); - rule__Aggregation__OpAssignment_0(); - - state._fsp--; - - - } - - after(grammarAccess.getAggregationAccess().getOpAssignment_0()); + before(grammarAccess.getAtomicExpressionAccess().getRightParenthesisKeyword_4_2()); + match(input,RightParenthesis,FOLLOW_2); + after(grammarAccess.getAtomicExpressionAccess().getRightParenthesisKeyword_4_2()); } @@ -15337,26 +20543,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Aggregation__Group__0__Impl" + // $ANTLR end "rule__AtomicExpression__Group_4__2__Impl" - // $ANTLR start "rule__Aggregation__Group__1" - // InternalSolverLanguageParser.g:4900:1: rule__Aggregation__Group__1 : rule__Aggregation__Group__1__Impl rule__Aggregation__Group__2 ; - public final void rule__Aggregation__Group__1() throws RecognitionException { + // $ANTLR start "rule__Call__Group__0" + // InternalSolverLanguageParser.g:6632:1: rule__Call__Group__0 : rule__Call__Group__0__Impl rule__Call__Group__1 ; + public final void rule__Call__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:4904:1: ( rule__Aggregation__Group__1__Impl rule__Aggregation__Group__2 ) - // InternalSolverLanguageParser.g:4905:2: rule__Aggregation__Group__1__Impl rule__Aggregation__Group__2 + // InternalSolverLanguageParser.g:6636:1: ( rule__Call__Group__0__Impl rule__Call__Group__1 ) + // InternalSolverLanguageParser.g:6637:2: rule__Call__Group__0__Impl rule__Call__Group__1 { - pushFollow(FOLLOW_7); - rule__Aggregation__Group__1__Impl(); + pushFollow(FOLLOW_43); + rule__Call__Group__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__Aggregation__Group__2(); + rule__Call__Group__1(); state._fsp--; @@ -15375,25 +20581,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Aggregation__Group__1" + // $ANTLR end "rule__Call__Group__0" - // $ANTLR start "rule__Aggregation__Group__1__Impl" - // InternalSolverLanguageParser.g:4912:1: rule__Aggregation__Group__1__Impl : ( LeftCurlyBracket ) ; - public final void rule__Aggregation__Group__1__Impl() throws RecognitionException { + // $ANTLR start "rule__Call__Group__0__Impl" + // InternalSolverLanguageParser.g:6644:1: rule__Call__Group__0__Impl : ( ( rule__Call__FunctorAssignment_0 ) ) ; + public final void rule__Call__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:4916:1: ( ( LeftCurlyBracket ) ) - // InternalSolverLanguageParser.g:4917:1: ( LeftCurlyBracket ) + // InternalSolverLanguageParser.g:6648:1: ( ( ( rule__Call__FunctorAssignment_0 ) ) ) + // InternalSolverLanguageParser.g:6649:1: ( ( rule__Call__FunctorAssignment_0 ) ) { - // InternalSolverLanguageParser.g:4917:1: ( LeftCurlyBracket ) - // InternalSolverLanguageParser.g:4918:2: LeftCurlyBracket + // InternalSolverLanguageParser.g:6649:1: ( ( rule__Call__FunctorAssignment_0 ) ) + // InternalSolverLanguageParser.g:6650:2: ( rule__Call__FunctorAssignment_0 ) { - before(grammarAccess.getAggregationAccess().getLeftCurlyBracketKeyword_1()); - match(input,LeftCurlyBracket,FOLLOW_2); - after(grammarAccess.getAggregationAccess().getLeftCurlyBracketKeyword_1()); + before(grammarAccess.getCallAccess().getFunctorAssignment_0()); + // InternalSolverLanguageParser.g:6651:2: ( rule__Call__FunctorAssignment_0 ) + // InternalSolverLanguageParser.g:6651:3: rule__Call__FunctorAssignment_0 + { + pushFollow(FOLLOW_2); + rule__Call__FunctorAssignment_0(); + + state._fsp--; + + + } + + after(grammarAccess.getCallAccess().getFunctorAssignment_0()); } @@ -15412,26 +20628,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Aggregation__Group__1__Impl" + // $ANTLR end "rule__Call__Group__0__Impl" - // $ANTLR start "rule__Aggregation__Group__2" - // InternalSolverLanguageParser.g:4927:1: rule__Aggregation__Group__2 : rule__Aggregation__Group__2__Impl rule__Aggregation__Group__3 ; - public final void rule__Aggregation__Group__2() throws RecognitionException { + // $ANTLR start "rule__Call__Group__1" + // InternalSolverLanguageParser.g:6659:1: rule__Call__Group__1 : rule__Call__Group__1__Impl rule__Call__Group__2 ; + public final void rule__Call__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:4931:1: ( rule__Aggregation__Group__2__Impl rule__Aggregation__Group__3 ) - // InternalSolverLanguageParser.g:4932:2: rule__Aggregation__Group__2__Impl rule__Aggregation__Group__3 + // InternalSolverLanguageParser.g:6663:1: ( rule__Call__Group__1__Impl rule__Call__Group__2 ) + // InternalSolverLanguageParser.g:6664:2: rule__Call__Group__1__Impl rule__Call__Group__2 { - pushFollow(FOLLOW_32); - rule__Aggregation__Group__2__Impl(); + pushFollow(FOLLOW_43); + rule__Call__Group__1__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__Aggregation__Group__3(); + rule__Call__Group__2(); state._fsp--; @@ -15450,35 +20666,46 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Aggregation__Group__2" + // $ANTLR end "rule__Call__Group__1" - // $ANTLR start "rule__Aggregation__Group__2__Impl" - // InternalSolverLanguageParser.g:4939:1: rule__Aggregation__Group__2__Impl : ( ( rule__Aggregation__BodyAssignment_2 ) ) ; - public final void rule__Aggregation__Group__2__Impl() throws RecognitionException { + // $ANTLR start "rule__Call__Group__1__Impl" + // InternalSolverLanguageParser.g:6671:1: rule__Call__Group__1__Impl : ( ( rule__Call__Alternatives_1 )? ) ; + public final void rule__Call__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:4943:1: ( ( ( rule__Aggregation__BodyAssignment_2 ) ) ) - // InternalSolverLanguageParser.g:4944:1: ( ( rule__Aggregation__BodyAssignment_2 ) ) + // InternalSolverLanguageParser.g:6675:1: ( ( ( rule__Call__Alternatives_1 )? ) ) + // InternalSolverLanguageParser.g:6676:1: ( ( rule__Call__Alternatives_1 )? ) { - // InternalSolverLanguageParser.g:4944:1: ( ( rule__Aggregation__BodyAssignment_2 ) ) - // InternalSolverLanguageParser.g:4945:2: ( rule__Aggregation__BodyAssignment_2 ) + // InternalSolverLanguageParser.g:6676:1: ( ( rule__Call__Alternatives_1 )? ) + // InternalSolverLanguageParser.g:6677:2: ( rule__Call__Alternatives_1 )? { - before(grammarAccess.getAggregationAccess().getBodyAssignment_2()); - // InternalSolverLanguageParser.g:4946:2: ( rule__Aggregation__BodyAssignment_2 ) - // InternalSolverLanguageParser.g:4946:3: rule__Aggregation__BodyAssignment_2 - { - pushFollow(FOLLOW_2); - rule__Aggregation__BodyAssignment_2(); + before(grammarAccess.getCallAccess().getAlternatives_1()); + // InternalSolverLanguageParser.g:6678:2: ( rule__Call__Alternatives_1 )? + int alt48=2; + int LA48_0 = input.LA(1); + + if ( ((LA48_0>=RULE_TRANSITIVE_CLOSURE && LA48_0<=RULE_REFLEXIVE_TRANSITIVE_CLOSURE)) ) { + alt48=1; + } + switch (alt48) { + case 1 : + // InternalSolverLanguageParser.g:6678:3: rule__Call__Alternatives_1 + { + pushFollow(FOLLOW_2); + rule__Call__Alternatives_1(); + + state._fsp--; - state._fsp--; + } + break; } - after(grammarAccess.getAggregationAccess().getBodyAssignment_2()); + after(grammarAccess.getCallAccess().getAlternatives_1()); } @@ -15497,26 +20724,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Aggregation__Group__2__Impl" + // $ANTLR end "rule__Call__Group__1__Impl" - // $ANTLR start "rule__Aggregation__Group__3" - // InternalSolverLanguageParser.g:4954:1: rule__Aggregation__Group__3 : rule__Aggregation__Group__3__Impl rule__Aggregation__Group__4 ; - public final void rule__Aggregation__Group__3() throws RecognitionException { + // $ANTLR start "rule__Call__Group__2" + // InternalSolverLanguageParser.g:6686:1: rule__Call__Group__2 : rule__Call__Group__2__Impl ; + public final void rule__Call__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:4958:1: ( rule__Aggregation__Group__3__Impl rule__Aggregation__Group__4 ) - // InternalSolverLanguageParser.g:4959:2: rule__Aggregation__Group__3__Impl rule__Aggregation__Group__4 + // InternalSolverLanguageParser.g:6690:1: ( rule__Call__Group__2__Impl ) + // InternalSolverLanguageParser.g:6691:2: rule__Call__Group__2__Impl { - pushFollow(FOLLOW_7); - rule__Aggregation__Group__3__Impl(); - - state._fsp--; - pushFollow(FOLLOW_2); - rule__Aggregation__Group__4(); + rule__Call__Group__2__Impl(); state._fsp--; @@ -15535,25 +20757,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Aggregation__Group__3" + // $ANTLR end "rule__Call__Group__2" - // $ANTLR start "rule__Aggregation__Group__3__Impl" - // InternalSolverLanguageParser.g:4966:1: rule__Aggregation__Group__3__Impl : ( VerticalLine ) ; - public final void rule__Aggregation__Group__3__Impl() throws RecognitionException { + // $ANTLR start "rule__Call__Group__2__Impl" + // InternalSolverLanguageParser.g:6697:1: rule__Call__Group__2__Impl : ( ( rule__Call__ArgumentListAssignment_2 ) ) ; + public final void rule__Call__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:4970:1: ( ( VerticalLine ) ) - // InternalSolverLanguageParser.g:4971:1: ( VerticalLine ) + // InternalSolverLanguageParser.g:6701:1: ( ( ( rule__Call__ArgumentListAssignment_2 ) ) ) + // InternalSolverLanguageParser.g:6702:1: ( ( rule__Call__ArgumentListAssignment_2 ) ) { - // InternalSolverLanguageParser.g:4971:1: ( VerticalLine ) - // InternalSolverLanguageParser.g:4972:2: VerticalLine + // InternalSolverLanguageParser.g:6702:1: ( ( rule__Call__ArgumentListAssignment_2 ) ) + // InternalSolverLanguageParser.g:6703:2: ( rule__Call__ArgumentListAssignment_2 ) { - before(grammarAccess.getAggregationAccess().getVerticalLineKeyword_3()); - match(input,VerticalLine,FOLLOW_2); - after(grammarAccess.getAggregationAccess().getVerticalLineKeyword_3()); + before(grammarAccess.getCallAccess().getArgumentListAssignment_2()); + // InternalSolverLanguageParser.g:6704:2: ( rule__Call__ArgumentListAssignment_2 ) + // InternalSolverLanguageParser.g:6704:3: rule__Call__ArgumentListAssignment_2 + { + pushFollow(FOLLOW_2); + rule__Call__ArgumentListAssignment_2(); + + state._fsp--; + + + } + + after(grammarAccess.getCallAccess().getArgumentListAssignment_2()); } @@ -15572,26 +20804,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Aggregation__Group__3__Impl" + // $ANTLR end "rule__Call__Group__2__Impl" - // $ANTLR start "rule__Aggregation__Group__4" - // InternalSolverLanguageParser.g:4981:1: rule__Aggregation__Group__4 : rule__Aggregation__Group__4__Impl rule__Aggregation__Group__5 ; - public final void rule__Aggregation__Group__4() throws RecognitionException { + // $ANTLR start "rule__ArgumentList__Group__0" + // InternalSolverLanguageParser.g:6713:1: rule__ArgumentList__Group__0 : rule__ArgumentList__Group__0__Impl rule__ArgumentList__Group__1 ; + public final void rule__ArgumentList__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:4985:1: ( rule__Aggregation__Group__4__Impl rule__Aggregation__Group__5 ) - // InternalSolverLanguageParser.g:4986:2: rule__Aggregation__Group__4__Impl rule__Aggregation__Group__5 + // InternalSolverLanguageParser.g:6717:1: ( rule__ArgumentList__Group__0__Impl rule__ArgumentList__Group__1 ) + // InternalSolverLanguageParser.g:6718:2: rule__ArgumentList__Group__0__Impl rule__ArgumentList__Group__1 { - pushFollow(FOLLOW_31); - rule__Aggregation__Group__4__Impl(); + pushFollow(FOLLOW_12); + rule__ArgumentList__Group__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__Aggregation__Group__5(); + rule__ArgumentList__Group__1(); state._fsp--; @@ -15610,35 +20842,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Aggregation__Group__4" + // $ANTLR end "rule__ArgumentList__Group__0" - // $ANTLR start "rule__Aggregation__Group__4__Impl" - // InternalSolverLanguageParser.g:4993:1: rule__Aggregation__Group__4__Impl : ( ( rule__Aggregation__ConditionAssignment_4 ) ) ; - public final void rule__Aggregation__Group__4__Impl() throws RecognitionException { + // $ANTLR start "rule__ArgumentList__Group__0__Impl" + // InternalSolverLanguageParser.g:6725:1: rule__ArgumentList__Group__0__Impl : ( () ) ; + public final void rule__ArgumentList__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:4997:1: ( ( ( rule__Aggregation__ConditionAssignment_4 ) ) ) - // InternalSolverLanguageParser.g:4998:1: ( ( rule__Aggregation__ConditionAssignment_4 ) ) + // InternalSolverLanguageParser.g:6729:1: ( ( () ) ) + // InternalSolverLanguageParser.g:6730:1: ( () ) { - // InternalSolverLanguageParser.g:4998:1: ( ( rule__Aggregation__ConditionAssignment_4 ) ) - // InternalSolverLanguageParser.g:4999:2: ( rule__Aggregation__ConditionAssignment_4 ) + // InternalSolverLanguageParser.g:6730:1: ( () ) + // InternalSolverLanguageParser.g:6731:2: () { - before(grammarAccess.getAggregationAccess().getConditionAssignment_4()); - // InternalSolverLanguageParser.g:5000:2: ( rule__Aggregation__ConditionAssignment_4 ) - // InternalSolverLanguageParser.g:5000:3: rule__Aggregation__ConditionAssignment_4 + before(grammarAccess.getArgumentListAccess().getArgumentListAction_0()); + // InternalSolverLanguageParser.g:6732:2: () + // InternalSolverLanguageParser.g:6732:3: { - pushFollow(FOLLOW_2); - rule__Aggregation__ConditionAssignment_4(); - - state._fsp--; - - } - after(grammarAccess.getAggregationAccess().getConditionAssignment_4()); + after(grammarAccess.getArgumentListAccess().getArgumentListAction_0()); } @@ -15646,10 +20872,6 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } finally { restoreStackSize(stackSize); @@ -15657,21 +20879,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Aggregation__Group__4__Impl" + // $ANTLR end "rule__ArgumentList__Group__0__Impl" - // $ANTLR start "rule__Aggregation__Group__5" - // InternalSolverLanguageParser.g:5008:1: rule__Aggregation__Group__5 : rule__Aggregation__Group__5__Impl ; - public final void rule__Aggregation__Group__5() throws RecognitionException { + // $ANTLR start "rule__ArgumentList__Group__1" + // InternalSolverLanguageParser.g:6740:1: rule__ArgumentList__Group__1 : rule__ArgumentList__Group__1__Impl rule__ArgumentList__Group__2 ; + public final void rule__ArgumentList__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5012:1: ( rule__Aggregation__Group__5__Impl ) - // InternalSolverLanguageParser.g:5013:2: rule__Aggregation__Group__5__Impl + // InternalSolverLanguageParser.g:6744:1: ( rule__ArgumentList__Group__1__Impl rule__ArgumentList__Group__2 ) + // InternalSolverLanguageParser.g:6745:2: rule__ArgumentList__Group__1__Impl rule__ArgumentList__Group__2 { + pushFollow(FOLLOW_44); + rule__ArgumentList__Group__1__Impl(); + + state._fsp--; + pushFollow(FOLLOW_2); - rule__Aggregation__Group__5__Impl(); + rule__ArgumentList__Group__2(); state._fsp--; @@ -15690,25 +20917,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Aggregation__Group__5" + // $ANTLR end "rule__ArgumentList__Group__1" - // $ANTLR start "rule__Aggregation__Group__5__Impl" - // InternalSolverLanguageParser.g:5019:1: rule__Aggregation__Group__5__Impl : ( RightCurlyBracket ) ; - public final void rule__Aggregation__Group__5__Impl() throws RecognitionException { + // $ANTLR start "rule__ArgumentList__Group__1__Impl" + // InternalSolverLanguageParser.g:6752:1: rule__ArgumentList__Group__1__Impl : ( LeftParenthesis ) ; + public final void rule__ArgumentList__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5023:1: ( ( RightCurlyBracket ) ) - // InternalSolverLanguageParser.g:5024:1: ( RightCurlyBracket ) + // InternalSolverLanguageParser.g:6756:1: ( ( LeftParenthesis ) ) + // InternalSolverLanguageParser.g:6757:1: ( LeftParenthesis ) { - // InternalSolverLanguageParser.g:5024:1: ( RightCurlyBracket ) - // InternalSolverLanguageParser.g:5025:2: RightCurlyBracket + // InternalSolverLanguageParser.g:6757:1: ( LeftParenthesis ) + // InternalSolverLanguageParser.g:6758:2: LeftParenthesis { - before(grammarAccess.getAggregationAccess().getRightCurlyBracketKeyword_5()); - match(input,RightCurlyBracket,FOLLOW_2); - after(grammarAccess.getAggregationAccess().getRightCurlyBracketKeyword_5()); + before(grammarAccess.getArgumentListAccess().getLeftParenthesisKeyword_1()); + match(input,LeftParenthesis,FOLLOW_2); + after(grammarAccess.getArgumentListAccess().getLeftParenthesisKeyword_1()); } @@ -15727,26 +20954,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Aggregation__Group__5__Impl" + // $ANTLR end "rule__ArgumentList__Group__1__Impl" - // $ANTLR start "rule__AtomicExpression__Group_4__0" - // InternalSolverLanguageParser.g:5035:1: rule__AtomicExpression__Group_4__0 : rule__AtomicExpression__Group_4__0__Impl rule__AtomicExpression__Group_4__1 ; - public final void rule__AtomicExpression__Group_4__0() throws RecognitionException { + // $ANTLR start "rule__ArgumentList__Group__2" + // InternalSolverLanguageParser.g:6767:1: rule__ArgumentList__Group__2 : rule__ArgumentList__Group__2__Impl rule__ArgumentList__Group__3 ; + public final void rule__ArgumentList__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5039:1: ( rule__AtomicExpression__Group_4__0__Impl rule__AtomicExpression__Group_4__1 ) - // InternalSolverLanguageParser.g:5040:2: rule__AtomicExpression__Group_4__0__Impl rule__AtomicExpression__Group_4__1 + // InternalSolverLanguageParser.g:6771:1: ( rule__ArgumentList__Group__2__Impl rule__ArgumentList__Group__3 ) + // InternalSolverLanguageParser.g:6772:2: rule__ArgumentList__Group__2__Impl rule__ArgumentList__Group__3 { - pushFollow(FOLLOW_7); - rule__AtomicExpression__Group_4__0__Impl(); + pushFollow(FOLLOW_44); + rule__ArgumentList__Group__2__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__AtomicExpression__Group_4__1(); + rule__ArgumentList__Group__3(); state._fsp--; @@ -15765,25 +20992,46 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__AtomicExpression__Group_4__0" + // $ANTLR end "rule__ArgumentList__Group__2" - // $ANTLR start "rule__AtomicExpression__Group_4__0__Impl" - // InternalSolverLanguageParser.g:5047:1: rule__AtomicExpression__Group_4__0__Impl : ( LeftParenthesis ) ; - public final void rule__AtomicExpression__Group_4__0__Impl() throws RecognitionException { + // $ANTLR start "rule__ArgumentList__Group__2__Impl" + // InternalSolverLanguageParser.g:6779:1: rule__ArgumentList__Group__2__Impl : ( ( rule__ArgumentList__Group_2__0 )? ) ; + public final void rule__ArgumentList__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5051:1: ( ( LeftParenthesis ) ) - // InternalSolverLanguageParser.g:5052:1: ( LeftParenthesis ) + // InternalSolverLanguageParser.g:6783:1: ( ( ( rule__ArgumentList__Group_2__0 )? ) ) + // InternalSolverLanguageParser.g:6784:1: ( ( rule__ArgumentList__Group_2__0 )? ) { - // InternalSolverLanguageParser.g:5052:1: ( LeftParenthesis ) - // InternalSolverLanguageParser.g:5053:2: LeftParenthesis + // InternalSolverLanguageParser.g:6784:1: ( ( rule__ArgumentList__Group_2__0 )? ) + // InternalSolverLanguageParser.g:6785:2: ( rule__ArgumentList__Group_2__0 )? { - before(grammarAccess.getAtomicExpressionAccess().getLeftParenthesisKeyword_4_0()); - match(input,LeftParenthesis,FOLLOW_2); - after(grammarAccess.getAtomicExpressionAccess().getLeftParenthesisKeyword_4_0()); + before(grammarAccess.getArgumentListAccess().getGroup_2()); + // InternalSolverLanguageParser.g:6786:2: ( rule__ArgumentList__Group_2__0 )? + int alt49=2; + int LA49_0 = input.LA(1); + + if ( (LA49_0==Current||(LA49_0>=Unknown && LA49_0<=Exists)||LA49_0==Forall||(LA49_0>=Count && LA49_0<=False)||LA49_0==Must||LA49_0==True||LA49_0==Inf||LA49_0==May||(LA49_0>=ExclamationMark && LA49_0<=LeftParenthesis)||(LA49_0>=Asterisk && LA49_0<=PlusSign)||LA49_0==HyphenMinus||LA49_0==LeftSquareBracket||(LA49_0>=RULE_STRING && LA49_0<=RULE_QUOTED_ID)||(LA49_0>=RULE_ID && LA49_0<=RULE_INT)) ) { + alt49=1; + } + switch (alt49) { + case 1 : + // InternalSolverLanguageParser.g:6786:3: rule__ArgumentList__Group_2__0 + { + pushFollow(FOLLOW_2); + rule__ArgumentList__Group_2__0(); + + state._fsp--; + + + } + break; + + } + + after(grammarAccess.getArgumentListAccess().getGroup_2()); } @@ -15802,26 +21050,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__AtomicExpression__Group_4__0__Impl" + // $ANTLR end "rule__ArgumentList__Group__2__Impl" - // $ANTLR start "rule__AtomicExpression__Group_4__1" - // InternalSolverLanguageParser.g:5062:1: rule__AtomicExpression__Group_4__1 : rule__AtomicExpression__Group_4__1__Impl rule__AtomicExpression__Group_4__2 ; - public final void rule__AtomicExpression__Group_4__1() throws RecognitionException { + // $ANTLR start "rule__ArgumentList__Group__3" + // InternalSolverLanguageParser.g:6794:1: rule__ArgumentList__Group__3 : rule__ArgumentList__Group__3__Impl ; + public final void rule__ArgumentList__Group__3() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5066:1: ( rule__AtomicExpression__Group_4__1__Impl rule__AtomicExpression__Group_4__2 ) - // InternalSolverLanguageParser.g:5067:2: rule__AtomicExpression__Group_4__1__Impl rule__AtomicExpression__Group_4__2 + // InternalSolverLanguageParser.g:6798:1: ( rule__ArgumentList__Group__3__Impl ) + // InternalSolverLanguageParser.g:6799:2: rule__ArgumentList__Group__3__Impl { - pushFollow(FOLLOW_33); - rule__AtomicExpression__Group_4__1__Impl(); - - state._fsp--; - pushFollow(FOLLOW_2); - rule__AtomicExpression__Group_4__2(); + rule__ArgumentList__Group__3__Impl(); state._fsp--; @@ -15840,29 +21083,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__AtomicExpression__Group_4__1" + // $ANTLR end "rule__ArgumentList__Group__3" - // $ANTLR start "rule__AtomicExpression__Group_4__1__Impl" - // InternalSolverLanguageParser.g:5074:1: rule__AtomicExpression__Group_4__1__Impl : ( ruleExpression ) ; - public final void rule__AtomicExpression__Group_4__1__Impl() throws RecognitionException { + // $ANTLR start "rule__ArgumentList__Group__3__Impl" + // InternalSolverLanguageParser.g:6805:1: rule__ArgumentList__Group__3__Impl : ( RightParenthesis ) ; + public final void rule__ArgumentList__Group__3__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5078:1: ( ( ruleExpression ) ) - // InternalSolverLanguageParser.g:5079:1: ( ruleExpression ) + // InternalSolverLanguageParser.g:6809:1: ( ( RightParenthesis ) ) + // InternalSolverLanguageParser.g:6810:1: ( RightParenthesis ) { - // InternalSolverLanguageParser.g:5079:1: ( ruleExpression ) - // InternalSolverLanguageParser.g:5080:2: ruleExpression + // InternalSolverLanguageParser.g:6810:1: ( RightParenthesis ) + // InternalSolverLanguageParser.g:6811:2: RightParenthesis { - before(grammarAccess.getAtomicExpressionAccess().getExpressionParserRuleCall_4_1()); - pushFollow(FOLLOW_2); - ruleExpression(); - - state._fsp--; - - after(grammarAccess.getAtomicExpressionAccess().getExpressionParserRuleCall_4_1()); + before(grammarAccess.getArgumentListAccess().getRightParenthesisKeyword_3()); + match(input,RightParenthesis,FOLLOW_2); + after(grammarAccess.getArgumentListAccess().getRightParenthesisKeyword_3()); } @@ -15881,21 +21120,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__AtomicExpression__Group_4__1__Impl" + // $ANTLR end "rule__ArgumentList__Group__3__Impl" - // $ANTLR start "rule__AtomicExpression__Group_4__2" - // InternalSolverLanguageParser.g:5089:1: rule__AtomicExpression__Group_4__2 : rule__AtomicExpression__Group_4__2__Impl ; - public final void rule__AtomicExpression__Group_4__2() throws RecognitionException { + // $ANTLR start "rule__ArgumentList__Group_2__0" + // InternalSolverLanguageParser.g:6821:1: rule__ArgumentList__Group_2__0 : rule__ArgumentList__Group_2__0__Impl rule__ArgumentList__Group_2__1 ; + public final void rule__ArgumentList__Group_2__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5093:1: ( rule__AtomicExpression__Group_4__2__Impl ) - // InternalSolverLanguageParser.g:5094:2: rule__AtomicExpression__Group_4__2__Impl + // InternalSolverLanguageParser.g:6825:1: ( rule__ArgumentList__Group_2__0__Impl rule__ArgumentList__Group_2__1 ) + // InternalSolverLanguageParser.g:6826:2: rule__ArgumentList__Group_2__0__Impl rule__ArgumentList__Group_2__1 { + pushFollow(FOLLOW_19); + rule__ArgumentList__Group_2__0__Impl(); + + state._fsp--; + pushFollow(FOLLOW_2); - rule__AtomicExpression__Group_4__2__Impl(); + rule__ArgumentList__Group_2__1(); state._fsp--; @@ -15914,25 +21158,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__AtomicExpression__Group_4__2" + // $ANTLR end "rule__ArgumentList__Group_2__0" - // $ANTLR start "rule__AtomicExpression__Group_4__2__Impl" - // InternalSolverLanguageParser.g:5100:1: rule__AtomicExpression__Group_4__2__Impl : ( RightParenthesis ) ; - public final void rule__AtomicExpression__Group_4__2__Impl() throws RecognitionException { + // $ANTLR start "rule__ArgumentList__Group_2__0__Impl" + // InternalSolverLanguageParser.g:6833:1: rule__ArgumentList__Group_2__0__Impl : ( ( rule__ArgumentList__ArgumentsAssignment_2_0 ) ) ; + public final void rule__ArgumentList__Group_2__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5104:1: ( ( RightParenthesis ) ) - // InternalSolverLanguageParser.g:5105:1: ( RightParenthesis ) + // InternalSolverLanguageParser.g:6837:1: ( ( ( rule__ArgumentList__ArgumentsAssignment_2_0 ) ) ) + // InternalSolverLanguageParser.g:6838:1: ( ( rule__ArgumentList__ArgumentsAssignment_2_0 ) ) { - // InternalSolverLanguageParser.g:5105:1: ( RightParenthesis ) - // InternalSolverLanguageParser.g:5106:2: RightParenthesis + // InternalSolverLanguageParser.g:6838:1: ( ( rule__ArgumentList__ArgumentsAssignment_2_0 ) ) + // InternalSolverLanguageParser.g:6839:2: ( rule__ArgumentList__ArgumentsAssignment_2_0 ) { - before(grammarAccess.getAtomicExpressionAccess().getRightParenthesisKeyword_4_2()); - match(input,RightParenthesis,FOLLOW_2); - after(grammarAccess.getAtomicExpressionAccess().getRightParenthesisKeyword_4_2()); + before(grammarAccess.getArgumentListAccess().getArgumentsAssignment_2_0()); + // InternalSolverLanguageParser.g:6840:2: ( rule__ArgumentList__ArgumentsAssignment_2_0 ) + // InternalSolverLanguageParser.g:6840:3: rule__ArgumentList__ArgumentsAssignment_2_0 + { + pushFollow(FOLLOW_2); + rule__ArgumentList__ArgumentsAssignment_2_0(); + + state._fsp--; + + + } + + after(grammarAccess.getArgumentListAccess().getArgumentsAssignment_2_0()); } @@ -15951,26 +21205,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__AtomicExpression__Group_4__2__Impl" + // $ANTLR end "rule__ArgumentList__Group_2__0__Impl" - // $ANTLR start "rule__Call__Group__0" - // InternalSolverLanguageParser.g:5116:1: rule__Call__Group__0 : rule__Call__Group__0__Impl rule__Call__Group__1 ; - public final void rule__Call__Group__0() throws RecognitionException { + // $ANTLR start "rule__ArgumentList__Group_2__1" + // InternalSolverLanguageParser.g:6848:1: rule__ArgumentList__Group_2__1 : rule__ArgumentList__Group_2__1__Impl ; + public final void rule__ArgumentList__Group_2__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5120:1: ( rule__Call__Group__0__Impl rule__Call__Group__1 ) - // InternalSolverLanguageParser.g:5121:2: rule__Call__Group__0__Impl rule__Call__Group__1 + // InternalSolverLanguageParser.g:6852:1: ( rule__ArgumentList__Group_2__1__Impl ) + // InternalSolverLanguageParser.g:6853:2: rule__ArgumentList__Group_2__1__Impl { - pushFollow(FOLLOW_34); - rule__Call__Group__0__Impl(); - - state._fsp--; - pushFollow(FOLLOW_2); - rule__Call__Group__1(); + rule__ArgumentList__Group_2__1__Impl(); state._fsp--; @@ -15989,35 +21238,53 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Call__Group__0" + // $ANTLR end "rule__ArgumentList__Group_2__1" - // $ANTLR start "rule__Call__Group__0__Impl" - // InternalSolverLanguageParser.g:5128:1: rule__Call__Group__0__Impl : ( ( rule__Call__FunctorAssignment_0 ) ) ; - public final void rule__Call__Group__0__Impl() throws RecognitionException { + // $ANTLR start "rule__ArgumentList__Group_2__1__Impl" + // InternalSolverLanguageParser.g:6859:1: rule__ArgumentList__Group_2__1__Impl : ( ( rule__ArgumentList__Group_2_1__0 )* ) ; + public final void rule__ArgumentList__Group_2__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5132:1: ( ( ( rule__Call__FunctorAssignment_0 ) ) ) - // InternalSolverLanguageParser.g:5133:1: ( ( rule__Call__FunctorAssignment_0 ) ) + // InternalSolverLanguageParser.g:6863:1: ( ( ( rule__ArgumentList__Group_2_1__0 )* ) ) + // InternalSolverLanguageParser.g:6864:1: ( ( rule__ArgumentList__Group_2_1__0 )* ) { - // InternalSolverLanguageParser.g:5133:1: ( ( rule__Call__FunctorAssignment_0 ) ) - // InternalSolverLanguageParser.g:5134:2: ( rule__Call__FunctorAssignment_0 ) + // InternalSolverLanguageParser.g:6864:1: ( ( rule__ArgumentList__Group_2_1__0 )* ) + // InternalSolverLanguageParser.g:6865:2: ( rule__ArgumentList__Group_2_1__0 )* { - before(grammarAccess.getCallAccess().getFunctorAssignment_0()); - // InternalSolverLanguageParser.g:5135:2: ( rule__Call__FunctorAssignment_0 ) - // InternalSolverLanguageParser.g:5135:3: rule__Call__FunctorAssignment_0 - { - pushFollow(FOLLOW_2); - rule__Call__FunctorAssignment_0(); + before(grammarAccess.getArgumentListAccess().getGroup_2_1()); + // InternalSolverLanguageParser.g:6866:2: ( rule__ArgumentList__Group_2_1__0 )* + loop50: + do { + int alt50=2; + int LA50_0 = input.LA(1); - state._fsp--; + if ( (LA50_0==Comma) ) { + alt50=1; + } - } + switch (alt50) { + case 1 : + // InternalSolverLanguageParser.g:6866:3: rule__ArgumentList__Group_2_1__0 + { + pushFollow(FOLLOW_20); + rule__ArgumentList__Group_2_1__0(); - after(grammarAccess.getCallAccess().getFunctorAssignment_0()); + state._fsp--; + + + } + break; + + default : + break loop50; + } + } while (true); + + after(grammarAccess.getArgumentListAccess().getGroup_2_1()); } @@ -16036,26 +21303,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Call__Group__0__Impl" + // $ANTLR end "rule__ArgumentList__Group_2__1__Impl" - // $ANTLR start "rule__Call__Group__1" - // InternalSolverLanguageParser.g:5143:1: rule__Call__Group__1 : rule__Call__Group__1__Impl rule__Call__Group__2 ; - public final void rule__Call__Group__1() throws RecognitionException { + // $ANTLR start "rule__ArgumentList__Group_2_1__0" + // InternalSolverLanguageParser.g:6875:1: rule__ArgumentList__Group_2_1__0 : rule__ArgumentList__Group_2_1__0__Impl rule__ArgumentList__Group_2_1__1 ; + public final void rule__ArgumentList__Group_2_1__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5147:1: ( rule__Call__Group__1__Impl rule__Call__Group__2 ) - // InternalSolverLanguageParser.g:5148:2: rule__Call__Group__1__Impl rule__Call__Group__2 + // InternalSolverLanguageParser.g:6879:1: ( rule__ArgumentList__Group_2_1__0__Impl rule__ArgumentList__Group_2_1__1 ) + // InternalSolverLanguageParser.g:6880:2: rule__ArgumentList__Group_2_1__0__Impl rule__ArgumentList__Group_2_1__1 { - pushFollow(FOLLOW_34); - rule__Call__Group__1__Impl(); + pushFollow(FOLLOW_45); + rule__ArgumentList__Group_2_1__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__Call__Group__2(); + rule__ArgumentList__Group_2_1__1(); state._fsp--; @@ -16074,46 +21341,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Call__Group__1" + // $ANTLR end "rule__ArgumentList__Group_2_1__0" - // $ANTLR start "rule__Call__Group__1__Impl" - // InternalSolverLanguageParser.g:5155:1: rule__Call__Group__1__Impl : ( ( rule__Call__Alternatives_1 )? ) ; - public final void rule__Call__Group__1__Impl() throws RecognitionException { + // $ANTLR start "rule__ArgumentList__Group_2_1__0__Impl" + // InternalSolverLanguageParser.g:6887:1: rule__ArgumentList__Group_2_1__0__Impl : ( Comma ) ; + public final void rule__ArgumentList__Group_2_1__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5159:1: ( ( ( rule__Call__Alternatives_1 )? ) ) - // InternalSolverLanguageParser.g:5160:1: ( ( rule__Call__Alternatives_1 )? ) - { - // InternalSolverLanguageParser.g:5160:1: ( ( rule__Call__Alternatives_1 )? ) - // InternalSolverLanguageParser.g:5161:2: ( rule__Call__Alternatives_1 )? - { - before(grammarAccess.getCallAccess().getAlternatives_1()); - // InternalSolverLanguageParser.g:5162:2: ( rule__Call__Alternatives_1 )? - int alt39=2; - int LA39_0 = input.LA(1); - - if ( ((LA39_0>=RULE_TRANSITIVE_CLOSURE && LA39_0<=RULE_REFLEXIVE_TRANSITIVE_CLOSURE)) ) { - alt39=1; - } - switch (alt39) { - case 1 : - // InternalSolverLanguageParser.g:5162:3: rule__Call__Alternatives_1 - { - pushFollow(FOLLOW_2); - rule__Call__Alternatives_1(); - - state._fsp--; - - - } - break; - - } - - after(grammarAccess.getCallAccess().getAlternatives_1()); + // InternalSolverLanguageParser.g:6891:1: ( ( Comma ) ) + // InternalSolverLanguageParser.g:6892:1: ( Comma ) + { + // InternalSolverLanguageParser.g:6892:1: ( Comma ) + // InternalSolverLanguageParser.g:6893:2: Comma + { + before(grammarAccess.getArgumentListAccess().getCommaKeyword_2_1_0()); + match(input,Comma,FOLLOW_2); + after(grammarAccess.getArgumentListAccess().getCommaKeyword_2_1_0()); } @@ -16132,21 +21378,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Call__Group__1__Impl" + // $ANTLR end "rule__ArgumentList__Group_2_1__0__Impl" - // $ANTLR start "rule__Call__Group__2" - // InternalSolverLanguageParser.g:5170:1: rule__Call__Group__2 : rule__Call__Group__2__Impl ; - public final void rule__Call__Group__2() throws RecognitionException { + // $ANTLR start "rule__ArgumentList__Group_2_1__1" + // InternalSolverLanguageParser.g:6902:1: rule__ArgumentList__Group_2_1__1 : rule__ArgumentList__Group_2_1__1__Impl ; + public final void rule__ArgumentList__Group_2_1__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5174:1: ( rule__Call__Group__2__Impl ) - // InternalSolverLanguageParser.g:5175:2: rule__Call__Group__2__Impl + // InternalSolverLanguageParser.g:6906:1: ( rule__ArgumentList__Group_2_1__1__Impl ) + // InternalSolverLanguageParser.g:6907:2: rule__ArgumentList__Group_2_1__1__Impl { pushFollow(FOLLOW_2); - rule__Call__Group__2__Impl(); + rule__ArgumentList__Group_2_1__1__Impl(); state._fsp--; @@ -16165,35 +21411,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Call__Group__2" + // $ANTLR end "rule__ArgumentList__Group_2_1__1" - // $ANTLR start "rule__Call__Group__2__Impl" - // InternalSolverLanguageParser.g:5181:1: rule__Call__Group__2__Impl : ( ( rule__Call__ArgumentListAssignment_2 ) ) ; - public final void rule__Call__Group__2__Impl() throws RecognitionException { + // $ANTLR start "rule__ArgumentList__Group_2_1__1__Impl" + // InternalSolverLanguageParser.g:6913:1: rule__ArgumentList__Group_2_1__1__Impl : ( ( rule__ArgumentList__ArgumentsAssignment_2_1_1 ) ) ; + public final void rule__ArgumentList__Group_2_1__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5185:1: ( ( ( rule__Call__ArgumentListAssignment_2 ) ) ) - // InternalSolverLanguageParser.g:5186:1: ( ( rule__Call__ArgumentListAssignment_2 ) ) + // InternalSolverLanguageParser.g:6917:1: ( ( ( rule__ArgumentList__ArgumentsAssignment_2_1_1 ) ) ) + // InternalSolverLanguageParser.g:6918:1: ( ( rule__ArgumentList__ArgumentsAssignment_2_1_1 ) ) { - // InternalSolverLanguageParser.g:5186:1: ( ( rule__Call__ArgumentListAssignment_2 ) ) - // InternalSolverLanguageParser.g:5187:2: ( rule__Call__ArgumentListAssignment_2 ) + // InternalSolverLanguageParser.g:6918:1: ( ( rule__ArgumentList__ArgumentsAssignment_2_1_1 ) ) + // InternalSolverLanguageParser.g:6919:2: ( rule__ArgumentList__ArgumentsAssignment_2_1_1 ) { - before(grammarAccess.getCallAccess().getArgumentListAssignment_2()); - // InternalSolverLanguageParser.g:5188:2: ( rule__Call__ArgumentListAssignment_2 ) - // InternalSolverLanguageParser.g:5188:3: rule__Call__ArgumentListAssignment_2 + before(grammarAccess.getArgumentListAccess().getArgumentsAssignment_2_1_1()); + // InternalSolverLanguageParser.g:6920:2: ( rule__ArgumentList__ArgumentsAssignment_2_1_1 ) + // InternalSolverLanguageParser.g:6920:3: rule__ArgumentList__ArgumentsAssignment_2_1_1 { pushFollow(FOLLOW_2); - rule__Call__ArgumentListAssignment_2(); + rule__ArgumentList__ArgumentsAssignment_2_1_1(); state._fsp--; } - after(grammarAccess.getCallAccess().getArgumentListAssignment_2()); + after(grammarAccess.getArgumentListAccess().getArgumentsAssignment_2_1_1()); } @@ -16212,26 +21458,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Call__Group__2__Impl" + // $ANTLR end "rule__ArgumentList__Group_2_1__1__Impl" - // $ANTLR start "rule__ArgumentList__Group__0" - // InternalSolverLanguageParser.g:5197:1: rule__ArgumentList__Group__0 : rule__ArgumentList__Group__0__Impl rule__ArgumentList__Group__1 ; - public final void rule__ArgumentList__Group__0() throws RecognitionException { + // $ANTLR start "rule__StarArgument__Group__0" + // InternalSolverLanguageParser.g:6929:1: rule__StarArgument__Group__0 : rule__StarArgument__Group__0__Impl rule__StarArgument__Group__1 ; + public final void rule__StarArgument__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5201:1: ( rule__ArgumentList__Group__0__Impl rule__ArgumentList__Group__1 ) - // InternalSolverLanguageParser.g:5202:2: rule__ArgumentList__Group__0__Impl rule__ArgumentList__Group__1 + // InternalSolverLanguageParser.g:6933:1: ( rule__StarArgument__Group__0__Impl rule__StarArgument__Group__1 ) + // InternalSolverLanguageParser.g:6934:2: rule__StarArgument__Group__0__Impl rule__StarArgument__Group__1 { - pushFollow(FOLLOW_12); - rule__ArgumentList__Group__0__Impl(); + pushFollow(FOLLOW_46); + rule__StarArgument__Group__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__ArgumentList__Group__1(); + rule__StarArgument__Group__1(); state._fsp--; @@ -16250,29 +21496,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ArgumentList__Group__0" + // $ANTLR end "rule__StarArgument__Group__0" - // $ANTLR start "rule__ArgumentList__Group__0__Impl" - // InternalSolverLanguageParser.g:5209:1: rule__ArgumentList__Group__0__Impl : ( () ) ; - public final void rule__ArgumentList__Group__0__Impl() throws RecognitionException { + // $ANTLR start "rule__StarArgument__Group__0__Impl" + // InternalSolverLanguageParser.g:6941:1: rule__StarArgument__Group__0__Impl : ( () ) ; + public final void rule__StarArgument__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5213:1: ( ( () ) ) - // InternalSolverLanguageParser.g:5214:1: ( () ) + // InternalSolverLanguageParser.g:6945:1: ( ( () ) ) + // InternalSolverLanguageParser.g:6946:1: ( () ) { - // InternalSolverLanguageParser.g:5214:1: ( () ) - // InternalSolverLanguageParser.g:5215:2: () + // InternalSolverLanguageParser.g:6946:1: ( () ) + // InternalSolverLanguageParser.g:6947:2: () { - before(grammarAccess.getArgumentListAccess().getArgumentListAction_0()); - // InternalSolverLanguageParser.g:5216:2: () - // InternalSolverLanguageParser.g:5216:3: + before(grammarAccess.getStarArgumentAccess().getStarArgumentAction_0()); + // InternalSolverLanguageParser.g:6948:2: () + // InternalSolverLanguageParser.g:6948:3: { } - after(grammarAccess.getArgumentListAccess().getArgumentListAction_0()); + after(grammarAccess.getStarArgumentAccess().getStarArgumentAction_0()); } @@ -16287,26 +21533,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ArgumentList__Group__0__Impl" + // $ANTLR end "rule__StarArgument__Group__0__Impl" - // $ANTLR start "rule__ArgumentList__Group__1" - // InternalSolverLanguageParser.g:5224:1: rule__ArgumentList__Group__1 : rule__ArgumentList__Group__1__Impl rule__ArgumentList__Group__2 ; - public final void rule__ArgumentList__Group__1() throws RecognitionException { + // $ANTLR start "rule__StarArgument__Group__1" + // InternalSolverLanguageParser.g:6956:1: rule__StarArgument__Group__1 : rule__StarArgument__Group__1__Impl ; + public final void rule__StarArgument__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5228:1: ( rule__ArgumentList__Group__1__Impl rule__ArgumentList__Group__2 ) - // InternalSolverLanguageParser.g:5229:2: rule__ArgumentList__Group__1__Impl rule__ArgumentList__Group__2 + // InternalSolverLanguageParser.g:6960:1: ( rule__StarArgument__Group__1__Impl ) + // InternalSolverLanguageParser.g:6961:2: rule__StarArgument__Group__1__Impl { - pushFollow(FOLLOW_35); - rule__ArgumentList__Group__1__Impl(); - - state._fsp--; - pushFollow(FOLLOW_2); - rule__ArgumentList__Group__2(); + rule__StarArgument__Group__1__Impl(); state._fsp--; @@ -16325,25 +21566,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ArgumentList__Group__1" + // $ANTLR end "rule__StarArgument__Group__1" - // $ANTLR start "rule__ArgumentList__Group__1__Impl" - // InternalSolverLanguageParser.g:5236:1: rule__ArgumentList__Group__1__Impl : ( LeftParenthesis ) ; - public final void rule__ArgumentList__Group__1__Impl() throws RecognitionException { + // $ANTLR start "rule__StarArgument__Group__1__Impl" + // InternalSolverLanguageParser.g:6967:1: rule__StarArgument__Group__1__Impl : ( Asterisk ) ; + public final void rule__StarArgument__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5240:1: ( ( LeftParenthesis ) ) - // InternalSolverLanguageParser.g:5241:1: ( LeftParenthesis ) + // InternalSolverLanguageParser.g:6971:1: ( ( Asterisk ) ) + // InternalSolverLanguageParser.g:6972:1: ( Asterisk ) { - // InternalSolverLanguageParser.g:5241:1: ( LeftParenthesis ) - // InternalSolverLanguageParser.g:5242:2: LeftParenthesis + // InternalSolverLanguageParser.g:6972:1: ( Asterisk ) + // InternalSolverLanguageParser.g:6973:2: Asterisk { - before(grammarAccess.getArgumentListAccess().getLeftParenthesisKeyword_1()); - match(input,LeftParenthesis,FOLLOW_2); - after(grammarAccess.getArgumentListAccess().getLeftParenthesisKeyword_1()); + before(grammarAccess.getStarArgumentAccess().getAsteriskKeyword_1()); + match(input,Asterisk,FOLLOW_2); + after(grammarAccess.getStarArgumentAccess().getAsteriskKeyword_1()); } @@ -16362,26 +21603,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ArgumentList__Group__1__Impl" + // $ANTLR end "rule__StarArgument__Group__1__Impl" - // $ANTLR start "rule__ArgumentList__Group__2" - // InternalSolverLanguageParser.g:5251:1: rule__ArgumentList__Group__2 : rule__ArgumentList__Group__2__Impl rule__ArgumentList__Group__3 ; - public final void rule__ArgumentList__Group__2() throws RecognitionException { + // $ANTLR start "rule__TypedArgument__Group__0" + // InternalSolverLanguageParser.g:6983:1: rule__TypedArgument__Group__0 : rule__TypedArgument__Group__0__Impl rule__TypedArgument__Group__1 ; + public final void rule__TypedArgument__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5255:1: ( rule__ArgumentList__Group__2__Impl rule__ArgumentList__Group__3 ) - // InternalSolverLanguageParser.g:5256:2: rule__ArgumentList__Group__2__Impl rule__ArgumentList__Group__3 + // InternalSolverLanguageParser.g:6987:1: ( rule__TypedArgument__Group__0__Impl rule__TypedArgument__Group__1 ) + // InternalSolverLanguageParser.g:6988:2: rule__TypedArgument__Group__0__Impl rule__TypedArgument__Group__1 { - pushFollow(FOLLOW_35); - rule__ArgumentList__Group__2__Impl(); + pushFollow(FOLLOW_9); + rule__TypedArgument__Group__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__ArgumentList__Group__3(); + rule__TypedArgument__Group__1(); state._fsp--; @@ -16400,46 +21641,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ArgumentList__Group__2" + // $ANTLR end "rule__TypedArgument__Group__0" - // $ANTLR start "rule__ArgumentList__Group__2__Impl" - // InternalSolverLanguageParser.g:5263:1: rule__ArgumentList__Group__2__Impl : ( ( rule__ArgumentList__Group_2__0 )? ) ; - public final void rule__ArgumentList__Group__2__Impl() throws RecognitionException { + // $ANTLR start "rule__TypedArgument__Group__0__Impl" + // InternalSolverLanguageParser.g:6995:1: rule__TypedArgument__Group__0__Impl : ( ( rule__TypedArgument__TypeAssignment_0 ) ) ; + public final void rule__TypedArgument__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5267:1: ( ( ( rule__ArgumentList__Group_2__0 )? ) ) - // InternalSolverLanguageParser.g:5268:1: ( ( rule__ArgumentList__Group_2__0 )? ) + // InternalSolverLanguageParser.g:6999:1: ( ( ( rule__TypedArgument__TypeAssignment_0 ) ) ) + // InternalSolverLanguageParser.g:7000:1: ( ( rule__TypedArgument__TypeAssignment_0 ) ) { - // InternalSolverLanguageParser.g:5268:1: ( ( rule__ArgumentList__Group_2__0 )? ) - // InternalSolverLanguageParser.g:5269:2: ( rule__ArgumentList__Group_2__0 )? + // InternalSolverLanguageParser.g:7000:1: ( ( rule__TypedArgument__TypeAssignment_0 ) ) + // InternalSolverLanguageParser.g:7001:2: ( rule__TypedArgument__TypeAssignment_0 ) { - before(grammarAccess.getArgumentListAccess().getGroup_2()); - // InternalSolverLanguageParser.g:5270:2: ( rule__ArgumentList__Group_2__0 )? - int alt40=2; - int LA40_0 = input.LA(1); - - if ( (LA40_0==Current||LA40_0==Unknown||(LA40_0>=Count && LA40_0<=False)||(LA40_0>=Must && LA40_0<=Prod)||LA40_0==True||(LA40_0>=Avg && LA40_0<=Inf)||(LA40_0>=Max && LA40_0<=Sum)||(LA40_0>=ExclamationMark && LA40_0<=LeftParenthesis)||(LA40_0>=Asterisk && LA40_0<=PlusSign)||LA40_0==HyphenMinus||LA40_0==LeftSquareBracket||(LA40_0>=RULE_STRING && LA40_0<=RULE_QUOTED_ID)||(LA40_0>=RULE_ID && LA40_0<=RULE_INT)) ) { - alt40=1; - } - switch (alt40) { - case 1 : - // InternalSolverLanguageParser.g:5270:3: rule__ArgumentList__Group_2__0 - { - pushFollow(FOLLOW_2); - rule__ArgumentList__Group_2__0(); - - state._fsp--; + before(grammarAccess.getTypedArgumentAccess().getTypeAssignment_0()); + // InternalSolverLanguageParser.g:7002:2: ( rule__TypedArgument__TypeAssignment_0 ) + // InternalSolverLanguageParser.g:7002:3: rule__TypedArgument__TypeAssignment_0 + { + pushFollow(FOLLOW_2); + rule__TypedArgument__TypeAssignment_0(); + state._fsp--; - } - break; } - after(grammarAccess.getArgumentListAccess().getGroup_2()); + after(grammarAccess.getTypedArgumentAccess().getTypeAssignment_0()); } @@ -16458,21 +21688,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ArgumentList__Group__2__Impl" + // $ANTLR end "rule__TypedArgument__Group__0__Impl" - // $ANTLR start "rule__ArgumentList__Group__3" - // InternalSolverLanguageParser.g:5278:1: rule__ArgumentList__Group__3 : rule__ArgumentList__Group__3__Impl ; - public final void rule__ArgumentList__Group__3() throws RecognitionException { + // $ANTLR start "rule__TypedArgument__Group__1" + // InternalSolverLanguageParser.g:7010:1: rule__TypedArgument__Group__1 : rule__TypedArgument__Group__1__Impl ; + public final void rule__TypedArgument__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5282:1: ( rule__ArgumentList__Group__3__Impl ) - // InternalSolverLanguageParser.g:5283:2: rule__ArgumentList__Group__3__Impl + // InternalSolverLanguageParser.g:7014:1: ( rule__TypedArgument__Group__1__Impl ) + // InternalSolverLanguageParser.g:7015:2: rule__TypedArgument__Group__1__Impl { pushFollow(FOLLOW_2); - rule__ArgumentList__Group__3__Impl(); + rule__TypedArgument__Group__1__Impl(); state._fsp--; @@ -16491,25 +21721,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ArgumentList__Group__3" + // $ANTLR end "rule__TypedArgument__Group__1" - // $ANTLR start "rule__ArgumentList__Group__3__Impl" - // InternalSolverLanguageParser.g:5289:1: rule__ArgumentList__Group__3__Impl : ( RightParenthesis ) ; - public final void rule__ArgumentList__Group__3__Impl() throws RecognitionException { + // $ANTLR start "rule__TypedArgument__Group__1__Impl" + // InternalSolverLanguageParser.g:7021:1: rule__TypedArgument__Group__1__Impl : ( ( rule__TypedArgument__VariableAssignment_1 ) ) ; + public final void rule__TypedArgument__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5293:1: ( ( RightParenthesis ) ) - // InternalSolverLanguageParser.g:5294:1: ( RightParenthesis ) + // InternalSolverLanguageParser.g:7025:1: ( ( ( rule__TypedArgument__VariableAssignment_1 ) ) ) + // InternalSolverLanguageParser.g:7026:1: ( ( rule__TypedArgument__VariableAssignment_1 ) ) { - // InternalSolverLanguageParser.g:5294:1: ( RightParenthesis ) - // InternalSolverLanguageParser.g:5295:2: RightParenthesis + // InternalSolverLanguageParser.g:7026:1: ( ( rule__TypedArgument__VariableAssignment_1 ) ) + // InternalSolverLanguageParser.g:7027:2: ( rule__TypedArgument__VariableAssignment_1 ) { - before(grammarAccess.getArgumentListAccess().getRightParenthesisKeyword_3()); - match(input,RightParenthesis,FOLLOW_2); - after(grammarAccess.getArgumentListAccess().getRightParenthesisKeyword_3()); + before(grammarAccess.getTypedArgumentAccess().getVariableAssignment_1()); + // InternalSolverLanguageParser.g:7028:2: ( rule__TypedArgument__VariableAssignment_1 ) + // InternalSolverLanguageParser.g:7028:3: rule__TypedArgument__VariableAssignment_1 + { + pushFollow(FOLLOW_2); + rule__TypedArgument__VariableAssignment_1(); + + state._fsp--; + + + } + + after(grammarAccess.getTypedArgumentAccess().getVariableAssignment_1()); } @@ -16528,26 +21768,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ArgumentList__Group__3__Impl" + // $ANTLR end "rule__TypedArgument__Group__1__Impl" - // $ANTLR start "rule__ArgumentList__Group_2__0" - // InternalSolverLanguageParser.g:5305:1: rule__ArgumentList__Group_2__0 : rule__ArgumentList__Group_2__0__Impl rule__ArgumentList__Group_2__1 ; - public final void rule__ArgumentList__Group_2__0() throws RecognitionException { + // $ANTLR start "rule__TypedStarArgument__Group__0" + // InternalSolverLanguageParser.g:7037:1: rule__TypedStarArgument__Group__0 : rule__TypedStarArgument__Group__0__Impl rule__TypedStarArgument__Group__1 ; + public final void rule__TypedStarArgument__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5309:1: ( rule__ArgumentList__Group_2__0__Impl rule__ArgumentList__Group_2__1 ) - // InternalSolverLanguageParser.g:5310:2: rule__ArgumentList__Group_2__0__Impl rule__ArgumentList__Group_2__1 + // InternalSolverLanguageParser.g:7041:1: ( rule__TypedStarArgument__Group__0__Impl rule__TypedStarArgument__Group__1 ) + // InternalSolverLanguageParser.g:7042:2: rule__TypedStarArgument__Group__0__Impl rule__TypedStarArgument__Group__1 { - pushFollow(FOLLOW_21); - rule__ArgumentList__Group_2__0__Impl(); + pushFollow(FOLLOW_46); + rule__TypedStarArgument__Group__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__ArgumentList__Group_2__1(); + rule__TypedStarArgument__Group__1(); state._fsp--; @@ -16566,35 +21806,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ArgumentList__Group_2__0" + // $ANTLR end "rule__TypedStarArgument__Group__0" - // $ANTLR start "rule__ArgumentList__Group_2__0__Impl" - // InternalSolverLanguageParser.g:5317:1: rule__ArgumentList__Group_2__0__Impl : ( ( rule__ArgumentList__ArgumentsAssignment_2_0 ) ) ; - public final void rule__ArgumentList__Group_2__0__Impl() throws RecognitionException { + // $ANTLR start "rule__TypedStarArgument__Group__0__Impl" + // InternalSolverLanguageParser.g:7049:1: rule__TypedStarArgument__Group__0__Impl : ( ( rule__TypedStarArgument__TypeAssignment_0 ) ) ; + public final void rule__TypedStarArgument__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5321:1: ( ( ( rule__ArgumentList__ArgumentsAssignment_2_0 ) ) ) - // InternalSolverLanguageParser.g:5322:1: ( ( rule__ArgumentList__ArgumentsAssignment_2_0 ) ) + // InternalSolverLanguageParser.g:7053:1: ( ( ( rule__TypedStarArgument__TypeAssignment_0 ) ) ) + // InternalSolverLanguageParser.g:7054:1: ( ( rule__TypedStarArgument__TypeAssignment_0 ) ) { - // InternalSolverLanguageParser.g:5322:1: ( ( rule__ArgumentList__ArgumentsAssignment_2_0 ) ) - // InternalSolverLanguageParser.g:5323:2: ( rule__ArgumentList__ArgumentsAssignment_2_0 ) + // InternalSolverLanguageParser.g:7054:1: ( ( rule__TypedStarArgument__TypeAssignment_0 ) ) + // InternalSolverLanguageParser.g:7055:2: ( rule__TypedStarArgument__TypeAssignment_0 ) { - before(grammarAccess.getArgumentListAccess().getArgumentsAssignment_2_0()); - // InternalSolverLanguageParser.g:5324:2: ( rule__ArgumentList__ArgumentsAssignment_2_0 ) - // InternalSolverLanguageParser.g:5324:3: rule__ArgumentList__ArgumentsAssignment_2_0 + before(grammarAccess.getTypedStarArgumentAccess().getTypeAssignment_0()); + // InternalSolverLanguageParser.g:7056:2: ( rule__TypedStarArgument__TypeAssignment_0 ) + // InternalSolverLanguageParser.g:7056:3: rule__TypedStarArgument__TypeAssignment_0 { pushFollow(FOLLOW_2); - rule__ArgumentList__ArgumentsAssignment_2_0(); + rule__TypedStarArgument__TypeAssignment_0(); state._fsp--; } - after(grammarAccess.getArgumentListAccess().getArgumentsAssignment_2_0()); + after(grammarAccess.getTypedStarArgumentAccess().getTypeAssignment_0()); } @@ -16613,21 +21853,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ArgumentList__Group_2__0__Impl" + // $ANTLR end "rule__TypedStarArgument__Group__0__Impl" - // $ANTLR start "rule__ArgumentList__Group_2__1" - // InternalSolverLanguageParser.g:5332:1: rule__ArgumentList__Group_2__1 : rule__ArgumentList__Group_2__1__Impl ; - public final void rule__ArgumentList__Group_2__1() throws RecognitionException { + // $ANTLR start "rule__TypedStarArgument__Group__1" + // InternalSolverLanguageParser.g:7064:1: rule__TypedStarArgument__Group__1 : rule__TypedStarArgument__Group__1__Impl ; + public final void rule__TypedStarArgument__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5336:1: ( rule__ArgumentList__Group_2__1__Impl ) - // InternalSolverLanguageParser.g:5337:2: rule__ArgumentList__Group_2__1__Impl + // InternalSolverLanguageParser.g:7068:1: ( rule__TypedStarArgument__Group__1__Impl ) + // InternalSolverLanguageParser.g:7069:2: rule__TypedStarArgument__Group__1__Impl { pushFollow(FOLLOW_2); - rule__ArgumentList__Group_2__1__Impl(); + rule__TypedStarArgument__Group__1__Impl(); state._fsp--; @@ -16646,53 +21886,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ArgumentList__Group_2__1" + // $ANTLR end "rule__TypedStarArgument__Group__1" - // $ANTLR start "rule__ArgumentList__Group_2__1__Impl" - // InternalSolverLanguageParser.g:5343:1: rule__ArgumentList__Group_2__1__Impl : ( ( rule__ArgumentList__Group_2_1__0 )* ) ; - public final void rule__ArgumentList__Group_2__1__Impl() throws RecognitionException { + // $ANTLR start "rule__TypedStarArgument__Group__1__Impl" + // InternalSolverLanguageParser.g:7075:1: rule__TypedStarArgument__Group__1__Impl : ( Asterisk ) ; + public final void rule__TypedStarArgument__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5347:1: ( ( ( rule__ArgumentList__Group_2_1__0 )* ) ) - // InternalSolverLanguageParser.g:5348:1: ( ( rule__ArgumentList__Group_2_1__0 )* ) + // InternalSolverLanguageParser.g:7079:1: ( ( Asterisk ) ) + // InternalSolverLanguageParser.g:7080:1: ( Asterisk ) { - // InternalSolverLanguageParser.g:5348:1: ( ( rule__ArgumentList__Group_2_1__0 )* ) - // InternalSolverLanguageParser.g:5349:2: ( rule__ArgumentList__Group_2_1__0 )* + // InternalSolverLanguageParser.g:7080:1: ( Asterisk ) + // InternalSolverLanguageParser.g:7081:2: Asterisk { - before(grammarAccess.getArgumentListAccess().getGroup_2_1()); - // InternalSolverLanguageParser.g:5350:2: ( rule__ArgumentList__Group_2_1__0 )* - loop41: - do { - int alt41=2; - int LA41_0 = input.LA(1); - - if ( (LA41_0==Comma) ) { - alt41=1; - } - - - switch (alt41) { - case 1 : - // InternalSolverLanguageParser.g:5350:3: rule__ArgumentList__Group_2_1__0 - { - pushFollow(FOLLOW_22); - rule__ArgumentList__Group_2_1__0(); - - state._fsp--; - - - } - break; - - default : - break loop41; - } - } while (true); - - after(grammarAccess.getArgumentListAccess().getGroup_2_1()); + before(grammarAccess.getTypedStarArgumentAccess().getAsteriskKeyword_1()); + match(input,Asterisk,FOLLOW_2); + after(grammarAccess.getTypedStarArgumentAccess().getAsteriskKeyword_1()); } @@ -16711,26 +21923,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ArgumentList__Group_2__1__Impl" + // $ANTLR end "rule__TypedStarArgument__Group__1__Impl" - // $ANTLR start "rule__ArgumentList__Group_2_1__0" - // InternalSolverLanguageParser.g:5359:1: rule__ArgumentList__Group_2_1__0 : rule__ArgumentList__Group_2_1__0__Impl rule__ArgumentList__Group_2_1__1 ; - public final void rule__ArgumentList__Group_2_1__0() throws RecognitionException { + // $ANTLR start "rule__Interval__Group__0" + // InternalSolverLanguageParser.g:7091:1: rule__Interval__Group__0 : rule__Interval__Group__0__Impl rule__Interval__Group__1 ; + public final void rule__Interval__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5363:1: ( rule__ArgumentList__Group_2_1__0__Impl rule__ArgumentList__Group_2_1__1 ) - // InternalSolverLanguageParser.g:5364:2: rule__ArgumentList__Group_2_1__0__Impl rule__ArgumentList__Group_2_1__1 + // InternalSolverLanguageParser.g:7095:1: ( rule__Interval__Group__0__Impl rule__Interval__Group__1 ) + // InternalSolverLanguageParser.g:7096:2: rule__Interval__Group__0__Impl rule__Interval__Group__1 { - pushFollow(FOLLOW_36); - rule__ArgumentList__Group_2_1__0__Impl(); + pushFollow(FOLLOW_7); + rule__Interval__Group__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__ArgumentList__Group_2_1__1(); + rule__Interval__Group__1(); state._fsp--; @@ -16749,25 +21961,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ArgumentList__Group_2_1__0" + // $ANTLR end "rule__Interval__Group__0" - // $ANTLR start "rule__ArgumentList__Group_2_1__0__Impl" - // InternalSolverLanguageParser.g:5371:1: rule__ArgumentList__Group_2_1__0__Impl : ( Comma ) ; - public final void rule__ArgumentList__Group_2_1__0__Impl() throws RecognitionException { + // $ANTLR start "rule__Interval__Group__0__Impl" + // InternalSolverLanguageParser.g:7103:1: rule__Interval__Group__0__Impl : ( LeftSquareBracket ) ; + public final void rule__Interval__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5375:1: ( ( Comma ) ) - // InternalSolverLanguageParser.g:5376:1: ( Comma ) + // InternalSolverLanguageParser.g:7107:1: ( ( LeftSquareBracket ) ) + // InternalSolverLanguageParser.g:7108:1: ( LeftSquareBracket ) { - // InternalSolverLanguageParser.g:5376:1: ( Comma ) - // InternalSolverLanguageParser.g:5377:2: Comma + // InternalSolverLanguageParser.g:7108:1: ( LeftSquareBracket ) + // InternalSolverLanguageParser.g:7109:2: LeftSquareBracket { - before(grammarAccess.getArgumentListAccess().getCommaKeyword_2_1_0()); - match(input,Comma,FOLLOW_2); - after(grammarAccess.getArgumentListAccess().getCommaKeyword_2_1_0()); + before(grammarAccess.getIntervalAccess().getLeftSquareBracketKeyword_0()); + match(input,LeftSquareBracket,FOLLOW_2); + after(grammarAccess.getIntervalAccess().getLeftSquareBracketKeyword_0()); } @@ -16786,21 +21998,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ArgumentList__Group_2_1__0__Impl" + // $ANTLR end "rule__Interval__Group__0__Impl" - // $ANTLR start "rule__ArgumentList__Group_2_1__1" - // InternalSolverLanguageParser.g:5386:1: rule__ArgumentList__Group_2_1__1 : rule__ArgumentList__Group_2_1__1__Impl ; - public final void rule__ArgumentList__Group_2_1__1() throws RecognitionException { + // $ANTLR start "rule__Interval__Group__1" + // InternalSolverLanguageParser.g:7118:1: rule__Interval__Group__1 : rule__Interval__Group__1__Impl rule__Interval__Group__2 ; + public final void rule__Interval__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5390:1: ( rule__ArgumentList__Group_2_1__1__Impl ) - // InternalSolverLanguageParser.g:5391:2: rule__ArgumentList__Group_2_1__1__Impl + // InternalSolverLanguageParser.g:7122:1: ( rule__Interval__Group__1__Impl rule__Interval__Group__2 ) + // InternalSolverLanguageParser.g:7123:2: rule__Interval__Group__1__Impl rule__Interval__Group__2 { + pushFollow(FOLLOW_47); + rule__Interval__Group__1__Impl(); + + state._fsp--; + pushFollow(FOLLOW_2); - rule__ArgumentList__Group_2_1__1__Impl(); + rule__Interval__Group__2(); state._fsp--; @@ -16819,35 +22036,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ArgumentList__Group_2_1__1" + // $ANTLR end "rule__Interval__Group__1" - // $ANTLR start "rule__ArgumentList__Group_2_1__1__Impl" - // InternalSolverLanguageParser.g:5397:1: rule__ArgumentList__Group_2_1__1__Impl : ( ( rule__ArgumentList__ArgumentsAssignment_2_1_1 ) ) ; - public final void rule__ArgumentList__Group_2_1__1__Impl() throws RecognitionException { + // $ANTLR start "rule__Interval__Group__1__Impl" + // InternalSolverLanguageParser.g:7130:1: rule__Interval__Group__1__Impl : ( ( rule__Interval__LowerBoundAssignment_1 ) ) ; + public final void rule__Interval__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5401:1: ( ( ( rule__ArgumentList__ArgumentsAssignment_2_1_1 ) ) ) - // InternalSolverLanguageParser.g:5402:1: ( ( rule__ArgumentList__ArgumentsAssignment_2_1_1 ) ) + // InternalSolverLanguageParser.g:7134:1: ( ( ( rule__Interval__LowerBoundAssignment_1 ) ) ) + // InternalSolverLanguageParser.g:7135:1: ( ( rule__Interval__LowerBoundAssignment_1 ) ) { - // InternalSolverLanguageParser.g:5402:1: ( ( rule__ArgumentList__ArgumentsAssignment_2_1_1 ) ) - // InternalSolverLanguageParser.g:5403:2: ( rule__ArgumentList__ArgumentsAssignment_2_1_1 ) + // InternalSolverLanguageParser.g:7135:1: ( ( rule__Interval__LowerBoundAssignment_1 ) ) + // InternalSolverLanguageParser.g:7136:2: ( rule__Interval__LowerBoundAssignment_1 ) { - before(grammarAccess.getArgumentListAccess().getArgumentsAssignment_2_1_1()); - // InternalSolverLanguageParser.g:5404:2: ( rule__ArgumentList__ArgumentsAssignment_2_1_1 ) - // InternalSolverLanguageParser.g:5404:3: rule__ArgumentList__ArgumentsAssignment_2_1_1 + before(grammarAccess.getIntervalAccess().getLowerBoundAssignment_1()); + // InternalSolverLanguageParser.g:7137:2: ( rule__Interval__LowerBoundAssignment_1 ) + // InternalSolverLanguageParser.g:7137:3: rule__Interval__LowerBoundAssignment_1 { pushFollow(FOLLOW_2); - rule__ArgumentList__ArgumentsAssignment_2_1_1(); + rule__Interval__LowerBoundAssignment_1(); state._fsp--; } - after(grammarAccess.getArgumentListAccess().getArgumentsAssignment_2_1_1()); + after(grammarAccess.getIntervalAccess().getLowerBoundAssignment_1()); } @@ -16866,26 +22083,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ArgumentList__Group_2_1__1__Impl" + // $ANTLR end "rule__Interval__Group__1__Impl" - // $ANTLR start "rule__StarArgument__Group__0" - // InternalSolverLanguageParser.g:5413:1: rule__StarArgument__Group__0 : rule__StarArgument__Group__0__Impl rule__StarArgument__Group__1 ; - public final void rule__StarArgument__Group__0() throws RecognitionException { + // $ANTLR start "rule__Interval__Group__2" + // InternalSolverLanguageParser.g:7145:1: rule__Interval__Group__2 : rule__Interval__Group__2__Impl rule__Interval__Group__3 ; + public final void rule__Interval__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5417:1: ( rule__StarArgument__Group__0__Impl rule__StarArgument__Group__1 ) - // InternalSolverLanguageParser.g:5418:2: rule__StarArgument__Group__0__Impl rule__StarArgument__Group__1 + // InternalSolverLanguageParser.g:7149:1: ( rule__Interval__Group__2__Impl rule__Interval__Group__3 ) + // InternalSolverLanguageParser.g:7150:2: rule__Interval__Group__2__Impl rule__Interval__Group__3 { - pushFollow(FOLLOW_37); - rule__StarArgument__Group__0__Impl(); + pushFollow(FOLLOW_7); + rule__Interval__Group__2__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__StarArgument__Group__1(); + rule__Interval__Group__3(); state._fsp--; @@ -16904,29 +22121,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__StarArgument__Group__0" + // $ANTLR end "rule__Interval__Group__2" - // $ANTLR start "rule__StarArgument__Group__0__Impl" - // InternalSolverLanguageParser.g:5425:1: rule__StarArgument__Group__0__Impl : ( () ) ; - public final void rule__StarArgument__Group__0__Impl() throws RecognitionException { + // $ANTLR start "rule__Interval__Group__2__Impl" + // InternalSolverLanguageParser.g:7157:1: rule__Interval__Group__2__Impl : ( FullStopFullStop ) ; + public final void rule__Interval__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5429:1: ( ( () ) ) - // InternalSolverLanguageParser.g:5430:1: ( () ) - { - // InternalSolverLanguageParser.g:5430:1: ( () ) - // InternalSolverLanguageParser.g:5431:2: () + // InternalSolverLanguageParser.g:7161:1: ( ( FullStopFullStop ) ) + // InternalSolverLanguageParser.g:7162:1: ( FullStopFullStop ) { - before(grammarAccess.getStarArgumentAccess().getStarArgumentAction_0()); - // InternalSolverLanguageParser.g:5432:2: () - // InternalSolverLanguageParser.g:5432:3: + // InternalSolverLanguageParser.g:7162:1: ( FullStopFullStop ) + // InternalSolverLanguageParser.g:7163:2: FullStopFullStop { - } - - after(grammarAccess.getStarArgumentAccess().getStarArgumentAction_0()); + before(grammarAccess.getIntervalAccess().getFullStopFullStopKeyword_2()); + match(input,FullStopFullStop,FOLLOW_2); + after(grammarAccess.getIntervalAccess().getFullStopFullStopKeyword_2()); } @@ -16934,6 +22147,10 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } finally { restoreStackSize(stackSize); @@ -16941,21 +22158,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__StarArgument__Group__0__Impl" + // $ANTLR end "rule__Interval__Group__2__Impl" - // $ANTLR start "rule__StarArgument__Group__1" - // InternalSolverLanguageParser.g:5440:1: rule__StarArgument__Group__1 : rule__StarArgument__Group__1__Impl ; - public final void rule__StarArgument__Group__1() throws RecognitionException { + // $ANTLR start "rule__Interval__Group__3" + // InternalSolverLanguageParser.g:7172:1: rule__Interval__Group__3 : rule__Interval__Group__3__Impl rule__Interval__Group__4 ; + public final void rule__Interval__Group__3() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5444:1: ( rule__StarArgument__Group__1__Impl ) - // InternalSolverLanguageParser.g:5445:2: rule__StarArgument__Group__1__Impl + // InternalSolverLanguageParser.g:7176:1: ( rule__Interval__Group__3__Impl rule__Interval__Group__4 ) + // InternalSolverLanguageParser.g:7177:2: rule__Interval__Group__3__Impl rule__Interval__Group__4 { + pushFollow(FOLLOW_48); + rule__Interval__Group__3__Impl(); + + state._fsp--; + pushFollow(FOLLOW_2); - rule__StarArgument__Group__1__Impl(); + rule__Interval__Group__4(); state._fsp--; @@ -16974,25 +22196,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__StarArgument__Group__1" + // $ANTLR end "rule__Interval__Group__3" - // $ANTLR start "rule__StarArgument__Group__1__Impl" - // InternalSolverLanguageParser.g:5451:1: rule__StarArgument__Group__1__Impl : ( Asterisk ) ; - public final void rule__StarArgument__Group__1__Impl() throws RecognitionException { + // $ANTLR start "rule__Interval__Group__3__Impl" + // InternalSolverLanguageParser.g:7184:1: rule__Interval__Group__3__Impl : ( ( rule__Interval__UpperBoundAssignment_3 ) ) ; + public final void rule__Interval__Group__3__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5455:1: ( ( Asterisk ) ) - // InternalSolverLanguageParser.g:5456:1: ( Asterisk ) + // InternalSolverLanguageParser.g:7188:1: ( ( ( rule__Interval__UpperBoundAssignment_3 ) ) ) + // InternalSolverLanguageParser.g:7189:1: ( ( rule__Interval__UpperBoundAssignment_3 ) ) { - // InternalSolverLanguageParser.g:5456:1: ( Asterisk ) - // InternalSolverLanguageParser.g:5457:2: Asterisk + // InternalSolverLanguageParser.g:7189:1: ( ( rule__Interval__UpperBoundAssignment_3 ) ) + // InternalSolverLanguageParser.g:7190:2: ( rule__Interval__UpperBoundAssignment_3 ) { - before(grammarAccess.getStarArgumentAccess().getAsteriskKeyword_1()); - match(input,Asterisk,FOLLOW_2); - after(grammarAccess.getStarArgumentAccess().getAsteriskKeyword_1()); + before(grammarAccess.getIntervalAccess().getUpperBoundAssignment_3()); + // InternalSolverLanguageParser.g:7191:2: ( rule__Interval__UpperBoundAssignment_3 ) + // InternalSolverLanguageParser.g:7191:3: rule__Interval__UpperBoundAssignment_3 + { + pushFollow(FOLLOW_2); + rule__Interval__UpperBoundAssignment_3(); + + state._fsp--; + + + } + + after(grammarAccess.getIntervalAccess().getUpperBoundAssignment_3()); } @@ -17011,26 +22243,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__StarArgument__Group__1__Impl" + // $ANTLR end "rule__Interval__Group__3__Impl" - // $ANTLR start "rule__TypedArgument__Group__0" - // InternalSolverLanguageParser.g:5467:1: rule__TypedArgument__Group__0 : rule__TypedArgument__Group__0__Impl rule__TypedArgument__Group__1 ; - public final void rule__TypedArgument__Group__0() throws RecognitionException { + // $ANTLR start "rule__Interval__Group__4" + // InternalSolverLanguageParser.g:7199:1: rule__Interval__Group__4 : rule__Interval__Group__4__Impl ; + public final void rule__Interval__Group__4() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5471:1: ( rule__TypedArgument__Group__0__Impl rule__TypedArgument__Group__1 ) - // InternalSolverLanguageParser.g:5472:2: rule__TypedArgument__Group__0__Impl rule__TypedArgument__Group__1 + // InternalSolverLanguageParser.g:7203:1: ( rule__Interval__Group__4__Impl ) + // InternalSolverLanguageParser.g:7204:2: rule__Interval__Group__4__Impl { - pushFollow(FOLLOW_9); - rule__TypedArgument__Group__0__Impl(); - - state._fsp--; - pushFollow(FOLLOW_2); - rule__TypedArgument__Group__1(); + rule__Interval__Group__4__Impl(); state._fsp--; @@ -17049,35 +22276,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__TypedArgument__Group__0" + // $ANTLR end "rule__Interval__Group__4" - // $ANTLR start "rule__TypedArgument__Group__0__Impl" - // InternalSolverLanguageParser.g:5479:1: rule__TypedArgument__Group__0__Impl : ( ( rule__TypedArgument__TypeAssignment_0 ) ) ; - public final void rule__TypedArgument__Group__0__Impl() throws RecognitionException { + // $ANTLR start "rule__Interval__Group__4__Impl" + // InternalSolverLanguageParser.g:7210:1: rule__Interval__Group__4__Impl : ( RightSquareBracket ) ; + public final void rule__Interval__Group__4__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5483:1: ( ( ( rule__TypedArgument__TypeAssignment_0 ) ) ) - // InternalSolverLanguageParser.g:5484:1: ( ( rule__TypedArgument__TypeAssignment_0 ) ) - { - // InternalSolverLanguageParser.g:5484:1: ( ( rule__TypedArgument__TypeAssignment_0 ) ) - // InternalSolverLanguageParser.g:5485:2: ( rule__TypedArgument__TypeAssignment_0 ) + // InternalSolverLanguageParser.g:7214:1: ( ( RightSquareBracket ) ) + // InternalSolverLanguageParser.g:7215:1: ( RightSquareBracket ) { - before(grammarAccess.getTypedArgumentAccess().getTypeAssignment_0()); - // InternalSolverLanguageParser.g:5486:2: ( rule__TypedArgument__TypeAssignment_0 ) - // InternalSolverLanguageParser.g:5486:3: rule__TypedArgument__TypeAssignment_0 + // InternalSolverLanguageParser.g:7215:1: ( RightSquareBracket ) + // InternalSolverLanguageParser.g:7216:2: RightSquareBracket { - pushFollow(FOLLOW_2); - rule__TypedArgument__TypeAssignment_0(); - - state._fsp--; - - - } - - after(grammarAccess.getTypedArgumentAccess().getTypeAssignment_0()); + before(grammarAccess.getIntervalAccess().getRightSquareBracketKeyword_4()); + match(input,RightSquareBracket,FOLLOW_2); + after(grammarAccess.getIntervalAccess().getRightSquareBracketKeyword_4()); } @@ -17096,21 +22313,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__TypedArgument__Group__0__Impl" + // $ANTLR end "rule__Interval__Group__4__Impl" - // $ANTLR start "rule__TypedArgument__Group__1" - // InternalSolverLanguageParser.g:5494:1: rule__TypedArgument__Group__1 : rule__TypedArgument__Group__1__Impl ; - public final void rule__TypedArgument__Group__1() throws RecognitionException { + // $ANTLR start "rule__InfinityLiteral__Group__0" + // InternalSolverLanguageParser.g:7226:1: rule__InfinityLiteral__Group__0 : rule__InfinityLiteral__Group__0__Impl rule__InfinityLiteral__Group__1 ; + public final void rule__InfinityLiteral__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5498:1: ( rule__TypedArgument__Group__1__Impl ) - // InternalSolverLanguageParser.g:5499:2: rule__TypedArgument__Group__1__Impl + // InternalSolverLanguageParser.g:7230:1: ( rule__InfinityLiteral__Group__0__Impl rule__InfinityLiteral__Group__1 ) + // InternalSolverLanguageParser.g:7231:2: rule__InfinityLiteral__Group__0__Impl rule__InfinityLiteral__Group__1 { + pushFollow(FOLLOW_49); + rule__InfinityLiteral__Group__0__Impl(); + + state._fsp--; + pushFollow(FOLLOW_2); - rule__TypedArgument__Group__1__Impl(); + rule__InfinityLiteral__Group__1(); state._fsp--; @@ -17129,35 +22351,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__TypedArgument__Group__1" + // $ANTLR end "rule__InfinityLiteral__Group__0" - // $ANTLR start "rule__TypedArgument__Group__1__Impl" - // InternalSolverLanguageParser.g:5505:1: rule__TypedArgument__Group__1__Impl : ( ( rule__TypedArgument__VariableAssignment_1 ) ) ; - public final void rule__TypedArgument__Group__1__Impl() throws RecognitionException { + // $ANTLR start "rule__InfinityLiteral__Group__0__Impl" + // InternalSolverLanguageParser.g:7238:1: rule__InfinityLiteral__Group__0__Impl : ( () ) ; + public final void rule__InfinityLiteral__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5509:1: ( ( ( rule__TypedArgument__VariableAssignment_1 ) ) ) - // InternalSolverLanguageParser.g:5510:1: ( ( rule__TypedArgument__VariableAssignment_1 ) ) + // InternalSolverLanguageParser.g:7242:1: ( ( () ) ) + // InternalSolverLanguageParser.g:7243:1: ( () ) { - // InternalSolverLanguageParser.g:5510:1: ( ( rule__TypedArgument__VariableAssignment_1 ) ) - // InternalSolverLanguageParser.g:5511:2: ( rule__TypedArgument__VariableAssignment_1 ) + // InternalSolverLanguageParser.g:7243:1: ( () ) + // InternalSolverLanguageParser.g:7244:2: () { - before(grammarAccess.getTypedArgumentAccess().getVariableAssignment_1()); - // InternalSolverLanguageParser.g:5512:2: ( rule__TypedArgument__VariableAssignment_1 ) - // InternalSolverLanguageParser.g:5512:3: rule__TypedArgument__VariableAssignment_1 + before(grammarAccess.getInfinityLiteralAccess().getInfinityLiteralAction_0()); + // InternalSolverLanguageParser.g:7245:2: () + // InternalSolverLanguageParser.g:7245:3: { - pushFollow(FOLLOW_2); - rule__TypedArgument__VariableAssignment_1(); - - state._fsp--; - - } - after(grammarAccess.getTypedArgumentAccess().getVariableAssignment_1()); + after(grammarAccess.getInfinityLiteralAccess().getInfinityLiteralAction_0()); } @@ -17165,10 +22381,6 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } finally { restoreStackSize(stackSize); @@ -17176,26 +22388,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__TypedArgument__Group__1__Impl" + // $ANTLR end "rule__InfinityLiteral__Group__0__Impl" - // $ANTLR start "rule__TypedStarArgument__Group__0" - // InternalSolverLanguageParser.g:5521:1: rule__TypedStarArgument__Group__0 : rule__TypedStarArgument__Group__0__Impl rule__TypedStarArgument__Group__1 ; - public final void rule__TypedStarArgument__Group__0() throws RecognitionException { + // $ANTLR start "rule__InfinityLiteral__Group__1" + // InternalSolverLanguageParser.g:7253:1: rule__InfinityLiteral__Group__1 : rule__InfinityLiteral__Group__1__Impl ; + public final void rule__InfinityLiteral__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5525:1: ( rule__TypedStarArgument__Group__0__Impl rule__TypedStarArgument__Group__1 ) - // InternalSolverLanguageParser.g:5526:2: rule__TypedStarArgument__Group__0__Impl rule__TypedStarArgument__Group__1 + // InternalSolverLanguageParser.g:7257:1: ( rule__InfinityLiteral__Group__1__Impl ) + // InternalSolverLanguageParser.g:7258:2: rule__InfinityLiteral__Group__1__Impl { - pushFollow(FOLLOW_37); - rule__TypedStarArgument__Group__0__Impl(); - - state._fsp--; - pushFollow(FOLLOW_2); - rule__TypedStarArgument__Group__1(); + rule__InfinityLiteral__Group__1__Impl(); state._fsp--; @@ -17214,35 +22421,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__TypedStarArgument__Group__0" + // $ANTLR end "rule__InfinityLiteral__Group__1" - // $ANTLR start "rule__TypedStarArgument__Group__0__Impl" - // InternalSolverLanguageParser.g:5533:1: rule__TypedStarArgument__Group__0__Impl : ( ( rule__TypedStarArgument__TypeAssignment_0 ) ) ; - public final void rule__TypedStarArgument__Group__0__Impl() throws RecognitionException { + // $ANTLR start "rule__InfinityLiteral__Group__1__Impl" + // InternalSolverLanguageParser.g:7264:1: rule__InfinityLiteral__Group__1__Impl : ( Inf ) ; + public final void rule__InfinityLiteral__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5537:1: ( ( ( rule__TypedStarArgument__TypeAssignment_0 ) ) ) - // InternalSolverLanguageParser.g:5538:1: ( ( rule__TypedStarArgument__TypeAssignment_0 ) ) - { - // InternalSolverLanguageParser.g:5538:1: ( ( rule__TypedStarArgument__TypeAssignment_0 ) ) - // InternalSolverLanguageParser.g:5539:2: ( rule__TypedStarArgument__TypeAssignment_0 ) + // InternalSolverLanguageParser.g:7268:1: ( ( Inf ) ) + // InternalSolverLanguageParser.g:7269:1: ( Inf ) { - before(grammarAccess.getTypedStarArgumentAccess().getTypeAssignment_0()); - // InternalSolverLanguageParser.g:5540:2: ( rule__TypedStarArgument__TypeAssignment_0 ) - // InternalSolverLanguageParser.g:5540:3: rule__TypedStarArgument__TypeAssignment_0 + // InternalSolverLanguageParser.g:7269:1: ( Inf ) + // InternalSolverLanguageParser.g:7270:2: Inf { - pushFollow(FOLLOW_2); - rule__TypedStarArgument__TypeAssignment_0(); - - state._fsp--; - - - } - - after(grammarAccess.getTypedStarArgumentAccess().getTypeAssignment_0()); + before(grammarAccess.getInfinityLiteralAccess().getInfKeyword_1()); + match(input,Inf,FOLLOW_2); + after(grammarAccess.getInfinityLiteralAccess().getInfKeyword_1()); } @@ -17261,21 +22458,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__TypedStarArgument__Group__0__Impl" + // $ANTLR end "rule__InfinityLiteral__Group__1__Impl" - // $ANTLR start "rule__TypedStarArgument__Group__1" - // InternalSolverLanguageParser.g:5548:1: rule__TypedStarArgument__Group__1 : rule__TypedStarArgument__Group__1__Impl ; - public final void rule__TypedStarArgument__Group__1() throws RecognitionException { + // $ANTLR start "rule__EmptyIntervalLiteral__Group__0" + // InternalSolverLanguageParser.g:7280:1: rule__EmptyIntervalLiteral__Group__0 : rule__EmptyIntervalLiteral__Group__0__Impl rule__EmptyIntervalLiteral__Group__1 ; + public final void rule__EmptyIntervalLiteral__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5552:1: ( rule__TypedStarArgument__Group__1__Impl ) - // InternalSolverLanguageParser.g:5553:2: rule__TypedStarArgument__Group__1__Impl + // InternalSolverLanguageParser.g:7284:1: ( rule__EmptyIntervalLiteral__Group__0__Impl rule__EmptyIntervalLiteral__Group__1 ) + // InternalSolverLanguageParser.g:7285:2: rule__EmptyIntervalLiteral__Group__0__Impl rule__EmptyIntervalLiteral__Group__1 { + pushFollow(FOLLOW_50); + rule__EmptyIntervalLiteral__Group__0__Impl(); + + state._fsp--; + pushFollow(FOLLOW_2); - rule__TypedStarArgument__Group__1__Impl(); + rule__EmptyIntervalLiteral__Group__1(); state._fsp--; @@ -17294,25 +22496,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__TypedStarArgument__Group__1" + // $ANTLR end "rule__EmptyIntervalLiteral__Group__0" - // $ANTLR start "rule__TypedStarArgument__Group__1__Impl" - // InternalSolverLanguageParser.g:5559:1: rule__TypedStarArgument__Group__1__Impl : ( Asterisk ) ; - public final void rule__TypedStarArgument__Group__1__Impl() throws RecognitionException { + // $ANTLR start "rule__EmptyIntervalLiteral__Group__0__Impl" + // InternalSolverLanguageParser.g:7292:1: rule__EmptyIntervalLiteral__Group__0__Impl : ( () ) ; + public final void rule__EmptyIntervalLiteral__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5563:1: ( ( Asterisk ) ) - // InternalSolverLanguageParser.g:5564:1: ( Asterisk ) + // InternalSolverLanguageParser.g:7296:1: ( ( () ) ) + // InternalSolverLanguageParser.g:7297:1: ( () ) { - // InternalSolverLanguageParser.g:5564:1: ( Asterisk ) - // InternalSolverLanguageParser.g:5565:2: Asterisk + // InternalSolverLanguageParser.g:7297:1: ( () ) + // InternalSolverLanguageParser.g:7298:2: () { - before(grammarAccess.getTypedStarArgumentAccess().getAsteriskKeyword_1()); - match(input,Asterisk,FOLLOW_2); - after(grammarAccess.getTypedStarArgumentAccess().getAsteriskKeyword_1()); + before(grammarAccess.getEmptyIntervalLiteralAccess().getEmptyIntervalLiteralAction_0()); + // InternalSolverLanguageParser.g:7299:2: () + // InternalSolverLanguageParser.g:7299:3: + { + } + + after(grammarAccess.getEmptyIntervalLiteralAccess().getEmptyIntervalLiteralAction_0()); } @@ -17320,10 +22526,6 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } finally { restoreStackSize(stackSize); @@ -17331,26 +22533,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__TypedStarArgument__Group__1__Impl" + // $ANTLR end "rule__EmptyIntervalLiteral__Group__0__Impl" - // $ANTLR start "rule__Interval__Group__0" - // InternalSolverLanguageParser.g:5575:1: rule__Interval__Group__0 : rule__Interval__Group__0__Impl rule__Interval__Group__1 ; - public final void rule__Interval__Group__0() throws RecognitionException { + // $ANTLR start "rule__EmptyIntervalLiteral__Group__1" + // InternalSolverLanguageParser.g:7307:1: rule__EmptyIntervalLiteral__Group__1 : rule__EmptyIntervalLiteral__Group__1__Impl ; + public final void rule__EmptyIntervalLiteral__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5579:1: ( rule__Interval__Group__0__Impl rule__Interval__Group__1 ) - // InternalSolverLanguageParser.g:5580:2: rule__Interval__Group__0__Impl rule__Interval__Group__1 + // InternalSolverLanguageParser.g:7311:1: ( rule__EmptyIntervalLiteral__Group__1__Impl ) + // InternalSolverLanguageParser.g:7312:2: rule__EmptyIntervalLiteral__Group__1__Impl { - pushFollow(FOLLOW_7); - rule__Interval__Group__0__Impl(); - - state._fsp--; - pushFollow(FOLLOW_2); - rule__Interval__Group__1(); + rule__EmptyIntervalLiteral__Group__1__Impl(); state._fsp--; @@ -17369,25 +22566,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Interval__Group__0" + // $ANTLR end "rule__EmptyIntervalLiteral__Group__1" - // $ANTLR start "rule__Interval__Group__0__Impl" - // InternalSolverLanguageParser.g:5587:1: rule__Interval__Group__0__Impl : ( LeftSquareBracket ) ; - public final void rule__Interval__Group__0__Impl() throws RecognitionException { + // $ANTLR start "rule__EmptyIntervalLiteral__Group__1__Impl" + // InternalSolverLanguageParser.g:7318:1: rule__EmptyIntervalLiteral__Group__1__Impl : ( Empty ) ; + public final void rule__EmptyIntervalLiteral__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5591:1: ( ( LeftSquareBracket ) ) - // InternalSolverLanguageParser.g:5592:1: ( LeftSquareBracket ) + // InternalSolverLanguageParser.g:7322:1: ( ( Empty ) ) + // InternalSolverLanguageParser.g:7323:1: ( Empty ) { - // InternalSolverLanguageParser.g:5592:1: ( LeftSquareBracket ) - // InternalSolverLanguageParser.g:5593:2: LeftSquareBracket + // InternalSolverLanguageParser.g:7323:1: ( Empty ) + // InternalSolverLanguageParser.g:7324:2: Empty { - before(grammarAccess.getIntervalAccess().getLeftSquareBracketKeyword_0()); - match(input,LeftSquareBracket,FOLLOW_2); - after(grammarAccess.getIntervalAccess().getLeftSquareBracketKeyword_0()); + before(grammarAccess.getEmptyIntervalLiteralAccess().getEmptyKeyword_1()); + match(input,Empty,FOLLOW_2); + after(grammarAccess.getEmptyIntervalLiteralAccess().getEmptyKeyword_1()); } @@ -17406,26 +22603,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Interval__Group__0__Impl" + // $ANTLR end "rule__EmptyIntervalLiteral__Group__1__Impl" - // $ANTLR start "rule__Interval__Group__1" - // InternalSolverLanguageParser.g:5602:1: rule__Interval__Group__1 : rule__Interval__Group__1__Impl rule__Interval__Group__2 ; - public final void rule__Interval__Group__1() throws RecognitionException { + // $ANTLR start "rule__ClassDefinition__Group__0" + // InternalSolverLanguageParser.g:7334:1: rule__ClassDefinition__Group__0 : rule__ClassDefinition__Group__0__Impl rule__ClassDefinition__Group__1 ; + public final void rule__ClassDefinition__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5606:1: ( rule__Interval__Group__1__Impl rule__Interval__Group__2 ) - // InternalSolverLanguageParser.g:5607:2: rule__Interval__Group__1__Impl rule__Interval__Group__2 + // InternalSolverLanguageParser.g:7338:1: ( rule__ClassDefinition__Group__0__Impl rule__ClassDefinition__Group__1 ) + // InternalSolverLanguageParser.g:7339:2: rule__ClassDefinition__Group__0__Impl rule__ClassDefinition__Group__1 { - pushFollow(FOLLOW_38); - rule__Interval__Group__1__Impl(); + pushFollow(FOLLOW_51); + rule__ClassDefinition__Group__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__Interval__Group__2(); + rule__ClassDefinition__Group__1(); state._fsp--; @@ -17444,35 +22641,46 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Interval__Group__1" + // $ANTLR end "rule__ClassDefinition__Group__0" - // $ANTLR start "rule__Interval__Group__1__Impl" - // InternalSolverLanguageParser.g:5614:1: rule__Interval__Group__1__Impl : ( ( rule__Interval__LowerBoundAssignment_1 ) ) ; - public final void rule__Interval__Group__1__Impl() throws RecognitionException { + // $ANTLR start "rule__ClassDefinition__Group__0__Impl" + // InternalSolverLanguageParser.g:7346:1: rule__ClassDefinition__Group__0__Impl : ( ( rule__ClassDefinition__AbstractAssignment_0 )? ) ; + public final void rule__ClassDefinition__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5618:1: ( ( ( rule__Interval__LowerBoundAssignment_1 ) ) ) - // InternalSolverLanguageParser.g:5619:1: ( ( rule__Interval__LowerBoundAssignment_1 ) ) - { - // InternalSolverLanguageParser.g:5619:1: ( ( rule__Interval__LowerBoundAssignment_1 ) ) - // InternalSolverLanguageParser.g:5620:2: ( rule__Interval__LowerBoundAssignment_1 ) + // InternalSolverLanguageParser.g:7350:1: ( ( ( rule__ClassDefinition__AbstractAssignment_0 )? ) ) + // InternalSolverLanguageParser.g:7351:1: ( ( rule__ClassDefinition__AbstractAssignment_0 )? ) { - before(grammarAccess.getIntervalAccess().getLowerBoundAssignment_1()); - // InternalSolverLanguageParser.g:5621:2: ( rule__Interval__LowerBoundAssignment_1 ) - // InternalSolverLanguageParser.g:5621:3: rule__Interval__LowerBoundAssignment_1 + // InternalSolverLanguageParser.g:7351:1: ( ( rule__ClassDefinition__AbstractAssignment_0 )? ) + // InternalSolverLanguageParser.g:7352:2: ( rule__ClassDefinition__AbstractAssignment_0 )? { - pushFollow(FOLLOW_2); - rule__Interval__LowerBoundAssignment_1(); + before(grammarAccess.getClassDefinitionAccess().getAbstractAssignment_0()); + // InternalSolverLanguageParser.g:7353:2: ( rule__ClassDefinition__AbstractAssignment_0 )? + int alt51=2; + int LA51_0 = input.LA(1); - state._fsp--; + if ( (LA51_0==Abstract) ) { + alt51=1; + } + switch (alt51) { + case 1 : + // InternalSolverLanguageParser.g:7353:3: rule__ClassDefinition__AbstractAssignment_0 + { + pushFollow(FOLLOW_2); + rule__ClassDefinition__AbstractAssignment_0(); + state._fsp--; + + + } + break; } - after(grammarAccess.getIntervalAccess().getLowerBoundAssignment_1()); + after(grammarAccess.getClassDefinitionAccess().getAbstractAssignment_0()); } @@ -17491,26 +22699,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Interval__Group__1__Impl" + // $ANTLR end "rule__ClassDefinition__Group__0__Impl" - // $ANTLR start "rule__Interval__Group__2" - // InternalSolverLanguageParser.g:5629:1: rule__Interval__Group__2 : rule__Interval__Group__2__Impl rule__Interval__Group__3 ; - public final void rule__Interval__Group__2() throws RecognitionException { + // $ANTLR start "rule__ClassDefinition__Group__1" + // InternalSolverLanguageParser.g:7361:1: rule__ClassDefinition__Group__1 : rule__ClassDefinition__Group__1__Impl rule__ClassDefinition__Group__2 ; + public final void rule__ClassDefinition__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5633:1: ( rule__Interval__Group__2__Impl rule__Interval__Group__3 ) - // InternalSolverLanguageParser.g:5634:2: rule__Interval__Group__2__Impl rule__Interval__Group__3 + // InternalSolverLanguageParser.g:7365:1: ( rule__ClassDefinition__Group__1__Impl rule__ClassDefinition__Group__2 ) + // InternalSolverLanguageParser.g:7366:2: rule__ClassDefinition__Group__1__Impl rule__ClassDefinition__Group__2 { - pushFollow(FOLLOW_7); - rule__Interval__Group__2__Impl(); + pushFollow(FOLLOW_21); + rule__ClassDefinition__Group__1__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__Interval__Group__3(); + rule__ClassDefinition__Group__2(); state._fsp--; @@ -17529,25 +22737,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Interval__Group__2" + // $ANTLR end "rule__ClassDefinition__Group__1" - // $ANTLR start "rule__Interval__Group__2__Impl" - // InternalSolverLanguageParser.g:5641:1: rule__Interval__Group__2__Impl : ( FullStopFullStop ) ; - public final void rule__Interval__Group__2__Impl() throws RecognitionException { + // $ANTLR start "rule__ClassDefinition__Group__1__Impl" + // InternalSolverLanguageParser.g:7373:1: rule__ClassDefinition__Group__1__Impl : ( Class ) ; + public final void rule__ClassDefinition__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5645:1: ( ( FullStopFullStop ) ) - // InternalSolverLanguageParser.g:5646:1: ( FullStopFullStop ) + // InternalSolverLanguageParser.g:7377:1: ( ( Class ) ) + // InternalSolverLanguageParser.g:7378:1: ( Class ) { - // InternalSolverLanguageParser.g:5646:1: ( FullStopFullStop ) - // InternalSolverLanguageParser.g:5647:2: FullStopFullStop + // InternalSolverLanguageParser.g:7378:1: ( Class ) + // InternalSolverLanguageParser.g:7379:2: Class { - before(grammarAccess.getIntervalAccess().getFullStopFullStopKeyword_2()); - match(input,FullStopFullStop,FOLLOW_2); - after(grammarAccess.getIntervalAccess().getFullStopFullStopKeyword_2()); + before(grammarAccess.getClassDefinitionAccess().getClassKeyword_1()); + match(input,Class,FOLLOW_2); + after(grammarAccess.getClassDefinitionAccess().getClassKeyword_1()); } @@ -17566,26 +22774,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Interval__Group__2__Impl" + // $ANTLR end "rule__ClassDefinition__Group__1__Impl" - // $ANTLR start "rule__Interval__Group__3" - // InternalSolverLanguageParser.g:5656:1: rule__Interval__Group__3 : rule__Interval__Group__3__Impl rule__Interval__Group__4 ; - public final void rule__Interval__Group__3() throws RecognitionException { + // $ANTLR start "rule__ClassDefinition__Group__2" + // InternalSolverLanguageParser.g:7388:1: rule__ClassDefinition__Group__2 : rule__ClassDefinition__Group__2__Impl rule__ClassDefinition__Group__3 ; + public final void rule__ClassDefinition__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5660:1: ( rule__Interval__Group__3__Impl rule__Interval__Group__4 ) - // InternalSolverLanguageParser.g:5661:2: rule__Interval__Group__3__Impl rule__Interval__Group__4 + // InternalSolverLanguageParser.g:7392:1: ( rule__ClassDefinition__Group__2__Impl rule__ClassDefinition__Group__3 ) + // InternalSolverLanguageParser.g:7393:2: rule__ClassDefinition__Group__2__Impl rule__ClassDefinition__Group__3 { - pushFollow(FOLLOW_39); - rule__Interval__Group__3__Impl(); + pushFollow(FOLLOW_52); + rule__ClassDefinition__Group__2__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__Interval__Group__4(); + rule__ClassDefinition__Group__3(); state._fsp--; @@ -17604,35 +22812,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Interval__Group__3" + // $ANTLR end "rule__ClassDefinition__Group__2" - // $ANTLR start "rule__Interval__Group__3__Impl" - // InternalSolverLanguageParser.g:5668:1: rule__Interval__Group__3__Impl : ( ( rule__Interval__UpperBoundAssignment_3 ) ) ; - public final void rule__Interval__Group__3__Impl() throws RecognitionException { + // $ANTLR start "rule__ClassDefinition__Group__2__Impl" + // InternalSolverLanguageParser.g:7400:1: rule__ClassDefinition__Group__2__Impl : ( ( rule__ClassDefinition__NameAssignment_2 ) ) ; + public final void rule__ClassDefinition__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5672:1: ( ( ( rule__Interval__UpperBoundAssignment_3 ) ) ) - // InternalSolverLanguageParser.g:5673:1: ( ( rule__Interval__UpperBoundAssignment_3 ) ) + // InternalSolverLanguageParser.g:7404:1: ( ( ( rule__ClassDefinition__NameAssignment_2 ) ) ) + // InternalSolverLanguageParser.g:7405:1: ( ( rule__ClassDefinition__NameAssignment_2 ) ) { - // InternalSolverLanguageParser.g:5673:1: ( ( rule__Interval__UpperBoundAssignment_3 ) ) - // InternalSolverLanguageParser.g:5674:2: ( rule__Interval__UpperBoundAssignment_3 ) + // InternalSolverLanguageParser.g:7405:1: ( ( rule__ClassDefinition__NameAssignment_2 ) ) + // InternalSolverLanguageParser.g:7406:2: ( rule__ClassDefinition__NameAssignment_2 ) { - before(grammarAccess.getIntervalAccess().getUpperBoundAssignment_3()); - // InternalSolverLanguageParser.g:5675:2: ( rule__Interval__UpperBoundAssignment_3 ) - // InternalSolverLanguageParser.g:5675:3: rule__Interval__UpperBoundAssignment_3 + before(grammarAccess.getClassDefinitionAccess().getNameAssignment_2()); + // InternalSolverLanguageParser.g:7407:2: ( rule__ClassDefinition__NameAssignment_2 ) + // InternalSolverLanguageParser.g:7407:3: rule__ClassDefinition__NameAssignment_2 { pushFollow(FOLLOW_2); - rule__Interval__UpperBoundAssignment_3(); + rule__ClassDefinition__NameAssignment_2(); state._fsp--; } - after(grammarAccess.getIntervalAccess().getUpperBoundAssignment_3()); + after(grammarAccess.getClassDefinitionAccess().getNameAssignment_2()); } @@ -17651,21 +22859,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Interval__Group__3__Impl" + // $ANTLR end "rule__ClassDefinition__Group__2__Impl" - // $ANTLR start "rule__Interval__Group__4" - // InternalSolverLanguageParser.g:5683:1: rule__Interval__Group__4 : rule__Interval__Group__4__Impl ; - public final void rule__Interval__Group__4() throws RecognitionException { + // $ANTLR start "rule__ClassDefinition__Group__3" + // InternalSolverLanguageParser.g:7415:1: rule__ClassDefinition__Group__3 : rule__ClassDefinition__Group__3__Impl rule__ClassDefinition__Group__4 ; + public final void rule__ClassDefinition__Group__3() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5687:1: ( rule__Interval__Group__4__Impl ) - // InternalSolverLanguageParser.g:5688:2: rule__Interval__Group__4__Impl + // InternalSolverLanguageParser.g:7419:1: ( rule__ClassDefinition__Group__3__Impl rule__ClassDefinition__Group__4 ) + // InternalSolverLanguageParser.g:7420:2: rule__ClassDefinition__Group__3__Impl rule__ClassDefinition__Group__4 { + pushFollow(FOLLOW_52); + rule__ClassDefinition__Group__3__Impl(); + + state._fsp--; + pushFollow(FOLLOW_2); - rule__Interval__Group__4__Impl(); + rule__ClassDefinition__Group__4(); state._fsp--; @@ -17684,25 +22897,46 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Interval__Group__4" + // $ANTLR end "rule__ClassDefinition__Group__3" - // $ANTLR start "rule__Interval__Group__4__Impl" - // InternalSolverLanguageParser.g:5694:1: rule__Interval__Group__4__Impl : ( RightSquareBracket ) ; - public final void rule__Interval__Group__4__Impl() throws RecognitionException { + // $ANTLR start "rule__ClassDefinition__Group__3__Impl" + // InternalSolverLanguageParser.g:7427:1: rule__ClassDefinition__Group__3__Impl : ( ( rule__ClassDefinition__Group_3__0 )? ) ; + public final void rule__ClassDefinition__Group__3__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5698:1: ( ( RightSquareBracket ) ) - // InternalSolverLanguageParser.g:5699:1: ( RightSquareBracket ) + // InternalSolverLanguageParser.g:7431:1: ( ( ( rule__ClassDefinition__Group_3__0 )? ) ) + // InternalSolverLanguageParser.g:7432:1: ( ( rule__ClassDefinition__Group_3__0 )? ) { - // InternalSolverLanguageParser.g:5699:1: ( RightSquareBracket ) - // InternalSolverLanguageParser.g:5700:2: RightSquareBracket + // InternalSolverLanguageParser.g:7432:1: ( ( rule__ClassDefinition__Group_3__0 )? ) + // InternalSolverLanguageParser.g:7433:2: ( rule__ClassDefinition__Group_3__0 )? { - before(grammarAccess.getIntervalAccess().getRightSquareBracketKeyword_4()); - match(input,RightSquareBracket,FOLLOW_2); - after(grammarAccess.getIntervalAccess().getRightSquareBracketKeyword_4()); + before(grammarAccess.getClassDefinitionAccess().getGroup_3()); + // InternalSolverLanguageParser.g:7434:2: ( rule__ClassDefinition__Group_3__0 )? + int alt52=2; + int LA52_0 = input.LA(1); + + if ( (LA52_0==Extends) ) { + alt52=1; + } + switch (alt52) { + case 1 : + // InternalSolverLanguageParser.g:7434:3: rule__ClassDefinition__Group_3__0 + { + pushFollow(FOLLOW_2); + rule__ClassDefinition__Group_3__0(); + + state._fsp--; + + + } + break; + + } + + after(grammarAccess.getClassDefinitionAccess().getGroup_3()); } @@ -17721,26 +22955,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Interval__Group__4__Impl" + // $ANTLR end "rule__ClassDefinition__Group__3__Impl" - // $ANTLR start "rule__InfinityLiteral__Group__0" - // InternalSolverLanguageParser.g:5710:1: rule__InfinityLiteral__Group__0 : rule__InfinityLiteral__Group__0__Impl rule__InfinityLiteral__Group__1 ; - public final void rule__InfinityLiteral__Group__0() throws RecognitionException { + // $ANTLR start "rule__ClassDefinition__Group__4" + // InternalSolverLanguageParser.g:7442:1: rule__ClassDefinition__Group__4 : rule__ClassDefinition__Group__4__Impl rule__ClassDefinition__Group__5 ; + public final void rule__ClassDefinition__Group__4() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5714:1: ( rule__InfinityLiteral__Group__0__Impl rule__InfinityLiteral__Group__1 ) - // InternalSolverLanguageParser.g:5715:2: rule__InfinityLiteral__Group__0__Impl rule__InfinityLiteral__Group__1 + // InternalSolverLanguageParser.g:7446:1: ( rule__ClassDefinition__Group__4__Impl rule__ClassDefinition__Group__5 ) + // InternalSolverLanguageParser.g:7447:2: rule__ClassDefinition__Group__4__Impl rule__ClassDefinition__Group__5 { - pushFollow(FOLLOW_40); - rule__InfinityLiteral__Group__0__Impl(); + pushFollow(FOLLOW_53); + rule__ClassDefinition__Group__4__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__InfinityLiteral__Group__1(); + rule__ClassDefinition__Group__5(); state._fsp--; @@ -17759,29 +22993,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__InfinityLiteral__Group__0" + // $ANTLR end "rule__ClassDefinition__Group__4" - // $ANTLR start "rule__InfinityLiteral__Group__0__Impl" - // InternalSolverLanguageParser.g:5722:1: rule__InfinityLiteral__Group__0__Impl : ( () ) ; - public final void rule__InfinityLiteral__Group__0__Impl() throws RecognitionException { + // $ANTLR start "rule__ClassDefinition__Group__4__Impl" + // InternalSolverLanguageParser.g:7454:1: rule__ClassDefinition__Group__4__Impl : ( LeftCurlyBracket ) ; + public final void rule__ClassDefinition__Group__4__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5726:1: ( ( () ) ) - // InternalSolverLanguageParser.g:5727:1: ( () ) + // InternalSolverLanguageParser.g:7458:1: ( ( LeftCurlyBracket ) ) + // InternalSolverLanguageParser.g:7459:1: ( LeftCurlyBracket ) { - // InternalSolverLanguageParser.g:5727:1: ( () ) - // InternalSolverLanguageParser.g:5728:2: () + // InternalSolverLanguageParser.g:7459:1: ( LeftCurlyBracket ) + // InternalSolverLanguageParser.g:7460:2: LeftCurlyBracket { - before(grammarAccess.getInfinityLiteralAccess().getInfinityLiteralAction_0()); - // InternalSolverLanguageParser.g:5729:2: () - // InternalSolverLanguageParser.g:5729:3: - { - } - - after(grammarAccess.getInfinityLiteralAccess().getInfinityLiteralAction_0()); + before(grammarAccess.getClassDefinitionAccess().getLeftCurlyBracketKeyword_4()); + match(input,LeftCurlyBracket,FOLLOW_2); + after(grammarAccess.getClassDefinitionAccess().getLeftCurlyBracketKeyword_4()); } @@ -17789,6 +23019,10 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } finally { restoreStackSize(stackSize); @@ -17796,21 +23030,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__InfinityLiteral__Group__0__Impl" + // $ANTLR end "rule__ClassDefinition__Group__4__Impl" - // $ANTLR start "rule__InfinityLiteral__Group__1" - // InternalSolverLanguageParser.g:5737:1: rule__InfinityLiteral__Group__1 : rule__InfinityLiteral__Group__1__Impl ; - public final void rule__InfinityLiteral__Group__1() throws RecognitionException { + // $ANTLR start "rule__ClassDefinition__Group__5" + // InternalSolverLanguageParser.g:7469:1: rule__ClassDefinition__Group__5 : rule__ClassDefinition__Group__5__Impl rule__ClassDefinition__Group__6 ; + public final void rule__ClassDefinition__Group__5() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5741:1: ( rule__InfinityLiteral__Group__1__Impl ) - // InternalSolverLanguageParser.g:5742:2: rule__InfinityLiteral__Group__1__Impl + // InternalSolverLanguageParser.g:7473:1: ( rule__ClassDefinition__Group__5__Impl rule__ClassDefinition__Group__6 ) + // InternalSolverLanguageParser.g:7474:2: rule__ClassDefinition__Group__5__Impl rule__ClassDefinition__Group__6 { + pushFollow(FOLLOW_53); + rule__ClassDefinition__Group__5__Impl(); + + state._fsp--; + pushFollow(FOLLOW_2); - rule__InfinityLiteral__Group__1__Impl(); + rule__ClassDefinition__Group__6(); state._fsp--; @@ -17829,25 +23068,53 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__InfinityLiteral__Group__1" + // $ANTLR end "rule__ClassDefinition__Group__5" - // $ANTLR start "rule__InfinityLiteral__Group__1__Impl" - // InternalSolverLanguageParser.g:5748:1: rule__InfinityLiteral__Group__1__Impl : ( Inf ) ; - public final void rule__InfinityLiteral__Group__1__Impl() throws RecognitionException { + // $ANTLR start "rule__ClassDefinition__Group__5__Impl" + // InternalSolverLanguageParser.g:7481:1: rule__ClassDefinition__Group__5__Impl : ( ( rule__ClassDefinition__MembersAssignment_5 )* ) ; + public final void rule__ClassDefinition__Group__5__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5752:1: ( ( Inf ) ) - // InternalSolverLanguageParser.g:5753:1: ( Inf ) + // InternalSolverLanguageParser.g:7485:1: ( ( ( rule__ClassDefinition__MembersAssignment_5 )* ) ) + // InternalSolverLanguageParser.g:7486:1: ( ( rule__ClassDefinition__MembersAssignment_5 )* ) { - // InternalSolverLanguageParser.g:5753:1: ( Inf ) - // InternalSolverLanguageParser.g:5754:2: Inf + // InternalSolverLanguageParser.g:7486:1: ( ( rule__ClassDefinition__MembersAssignment_5 )* ) + // InternalSolverLanguageParser.g:7487:2: ( rule__ClassDefinition__MembersAssignment_5 )* { - before(grammarAccess.getInfinityLiteralAccess().getInfKeyword_1()); - match(input,Inf,FOLLOW_2); - after(grammarAccess.getInfinityLiteralAccess().getInfKeyword_1()); + before(grammarAccess.getClassDefinitionAccess().getMembersAssignment_5()); + // InternalSolverLanguageParser.g:7488:2: ( rule__ClassDefinition__MembersAssignment_5 )* + loop53: + do { + int alt53=2; + int LA53_0 = input.LA(1); + + if ( (LA53_0==Contains||LA53_0==RULE_QUOTED_ID||LA53_0==RULE_ID) ) { + alt53=1; + } + + + switch (alt53) { + case 1 : + // InternalSolverLanguageParser.g:7488:3: rule__ClassDefinition__MembersAssignment_5 + { + pushFollow(FOLLOW_54); + rule__ClassDefinition__MembersAssignment_5(); + + state._fsp--; + + + } + break; + + default : + break loop53; + } + } while (true); + + after(grammarAccess.getClassDefinitionAccess().getMembersAssignment_5()); } @@ -17866,26 +23133,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__InfinityLiteral__Group__1__Impl" + // $ANTLR end "rule__ClassDefinition__Group__5__Impl" - // $ANTLR start "rule__EmptyIntervalLiteral__Group__0" - // InternalSolverLanguageParser.g:5764:1: rule__EmptyIntervalLiteral__Group__0 : rule__EmptyIntervalLiteral__Group__0__Impl rule__EmptyIntervalLiteral__Group__1 ; - public final void rule__EmptyIntervalLiteral__Group__0() throws RecognitionException { + // $ANTLR start "rule__ClassDefinition__Group__6" + // InternalSolverLanguageParser.g:7496:1: rule__ClassDefinition__Group__6 : rule__ClassDefinition__Group__6__Impl ; + public final void rule__ClassDefinition__Group__6() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5768:1: ( rule__EmptyIntervalLiteral__Group__0__Impl rule__EmptyIntervalLiteral__Group__1 ) - // InternalSolverLanguageParser.g:5769:2: rule__EmptyIntervalLiteral__Group__0__Impl rule__EmptyIntervalLiteral__Group__1 + // InternalSolverLanguageParser.g:7500:1: ( rule__ClassDefinition__Group__6__Impl ) + // InternalSolverLanguageParser.g:7501:2: rule__ClassDefinition__Group__6__Impl { - pushFollow(FOLLOW_41); - rule__EmptyIntervalLiteral__Group__0__Impl(); - - state._fsp--; - pushFollow(FOLLOW_2); - rule__EmptyIntervalLiteral__Group__1(); + rule__ClassDefinition__Group__6__Impl(); state._fsp--; @@ -17904,29 +23166,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__EmptyIntervalLiteral__Group__0" + // $ANTLR end "rule__ClassDefinition__Group__6" - // $ANTLR start "rule__EmptyIntervalLiteral__Group__0__Impl" - // InternalSolverLanguageParser.g:5776:1: rule__EmptyIntervalLiteral__Group__0__Impl : ( () ) ; - public final void rule__EmptyIntervalLiteral__Group__0__Impl() throws RecognitionException { + // $ANTLR start "rule__ClassDefinition__Group__6__Impl" + // InternalSolverLanguageParser.g:7507:1: rule__ClassDefinition__Group__6__Impl : ( RightCurlyBracket ) ; + public final void rule__ClassDefinition__Group__6__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5780:1: ( ( () ) ) - // InternalSolverLanguageParser.g:5781:1: ( () ) + // InternalSolverLanguageParser.g:7511:1: ( ( RightCurlyBracket ) ) + // InternalSolverLanguageParser.g:7512:1: ( RightCurlyBracket ) { - // InternalSolverLanguageParser.g:5781:1: ( () ) - // InternalSolverLanguageParser.g:5782:2: () + // InternalSolverLanguageParser.g:7512:1: ( RightCurlyBracket ) + // InternalSolverLanguageParser.g:7513:2: RightCurlyBracket { - before(grammarAccess.getEmptyIntervalLiteralAccess().getEmptyIntervalLiteralAction_0()); - // InternalSolverLanguageParser.g:5783:2: () - // InternalSolverLanguageParser.g:5783:3: - { - } - - after(grammarAccess.getEmptyIntervalLiteralAccess().getEmptyIntervalLiteralAction_0()); + before(grammarAccess.getClassDefinitionAccess().getRightCurlyBracketKeyword_6()); + match(input,RightCurlyBracket,FOLLOW_2); + after(grammarAccess.getClassDefinitionAccess().getRightCurlyBracketKeyword_6()); } @@ -17934,6 +23192,10 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } finally { restoreStackSize(stackSize); @@ -17941,21 +23203,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__EmptyIntervalLiteral__Group__0__Impl" + // $ANTLR end "rule__ClassDefinition__Group__6__Impl" - // $ANTLR start "rule__EmptyIntervalLiteral__Group__1" - // InternalSolverLanguageParser.g:5791:1: rule__EmptyIntervalLiteral__Group__1 : rule__EmptyIntervalLiteral__Group__1__Impl ; - public final void rule__EmptyIntervalLiteral__Group__1() throws RecognitionException { + // $ANTLR start "rule__ClassDefinition__Group_3__0" + // InternalSolverLanguageParser.g:7523:1: rule__ClassDefinition__Group_3__0 : rule__ClassDefinition__Group_3__0__Impl rule__ClassDefinition__Group_3__1 ; + public final void rule__ClassDefinition__Group_3__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5795:1: ( rule__EmptyIntervalLiteral__Group__1__Impl ) - // InternalSolverLanguageParser.g:5796:2: rule__EmptyIntervalLiteral__Group__1__Impl + // InternalSolverLanguageParser.g:7527:1: ( rule__ClassDefinition__Group_3__0__Impl rule__ClassDefinition__Group_3__1 ) + // InternalSolverLanguageParser.g:7528:2: rule__ClassDefinition__Group_3__0__Impl rule__ClassDefinition__Group_3__1 { + pushFollow(FOLLOW_9); + rule__ClassDefinition__Group_3__0__Impl(); + + state._fsp--; + pushFollow(FOLLOW_2); - rule__EmptyIntervalLiteral__Group__1__Impl(); + rule__ClassDefinition__Group_3__1(); state._fsp--; @@ -17974,25 +23241,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__EmptyIntervalLiteral__Group__1" + // $ANTLR end "rule__ClassDefinition__Group_3__0" - // $ANTLR start "rule__EmptyIntervalLiteral__Group__1__Impl" - // InternalSolverLanguageParser.g:5802:1: rule__EmptyIntervalLiteral__Group__1__Impl : ( Empty ) ; - public final void rule__EmptyIntervalLiteral__Group__1__Impl() throws RecognitionException { + // $ANTLR start "rule__ClassDefinition__Group_3__0__Impl" + // InternalSolverLanguageParser.g:7535:1: rule__ClassDefinition__Group_3__0__Impl : ( Extends ) ; + public final void rule__ClassDefinition__Group_3__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5806:1: ( ( Empty ) ) - // InternalSolverLanguageParser.g:5807:1: ( Empty ) + // InternalSolverLanguageParser.g:7539:1: ( ( Extends ) ) + // InternalSolverLanguageParser.g:7540:1: ( Extends ) { - // InternalSolverLanguageParser.g:5807:1: ( Empty ) - // InternalSolverLanguageParser.g:5808:2: Empty + // InternalSolverLanguageParser.g:7540:1: ( Extends ) + // InternalSolverLanguageParser.g:7541:2: Extends { - before(grammarAccess.getEmptyIntervalLiteralAccess().getEmptyKeyword_1()); - match(input,Empty,FOLLOW_2); - after(grammarAccess.getEmptyIntervalLiteralAccess().getEmptyKeyword_1()); + before(grammarAccess.getClassDefinitionAccess().getExtendsKeyword_3_0()); + match(input,Extends,FOLLOW_2); + after(grammarAccess.getClassDefinitionAccess().getExtendsKeyword_3_0()); } @@ -18011,26 +23278,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__EmptyIntervalLiteral__Group__1__Impl" + // $ANTLR end "rule__ClassDefinition__Group_3__0__Impl" - // $ANTLR start "rule__ClassDefinition__Group__0" - // InternalSolverLanguageParser.g:5818:1: rule__ClassDefinition__Group__0 : rule__ClassDefinition__Group__0__Impl rule__ClassDefinition__Group__1 ; - public final void rule__ClassDefinition__Group__0() throws RecognitionException { + // $ANTLR start "rule__ClassDefinition__Group_3__1" + // InternalSolverLanguageParser.g:7550:1: rule__ClassDefinition__Group_3__1 : rule__ClassDefinition__Group_3__1__Impl rule__ClassDefinition__Group_3__2 ; + public final void rule__ClassDefinition__Group_3__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5822:1: ( rule__ClassDefinition__Group__0__Impl rule__ClassDefinition__Group__1 ) - // InternalSolverLanguageParser.g:5823:2: rule__ClassDefinition__Group__0__Impl rule__ClassDefinition__Group__1 + // InternalSolverLanguageParser.g:7554:1: ( rule__ClassDefinition__Group_3__1__Impl rule__ClassDefinition__Group_3__2 ) + // InternalSolverLanguageParser.g:7555:2: rule__ClassDefinition__Group_3__1__Impl rule__ClassDefinition__Group_3__2 { - pushFollow(FOLLOW_42); - rule__ClassDefinition__Group__0__Impl(); + pushFollow(FOLLOW_19); + rule__ClassDefinition__Group_3__1__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__ClassDefinition__Group__1(); + rule__ClassDefinition__Group_3__2(); state._fsp--; @@ -18049,46 +23316,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ClassDefinition__Group__0" + // $ANTLR end "rule__ClassDefinition__Group_3__1" - // $ANTLR start "rule__ClassDefinition__Group__0__Impl" - // InternalSolverLanguageParser.g:5830:1: rule__ClassDefinition__Group__0__Impl : ( ( rule__ClassDefinition__AbstractAssignment_0 )? ) ; - public final void rule__ClassDefinition__Group__0__Impl() throws RecognitionException { + // $ANTLR start "rule__ClassDefinition__Group_3__1__Impl" + // InternalSolverLanguageParser.g:7562:1: rule__ClassDefinition__Group_3__1__Impl : ( ( rule__ClassDefinition__SuperclassesAssignment_3_1 ) ) ; + public final void rule__ClassDefinition__Group_3__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5834:1: ( ( ( rule__ClassDefinition__AbstractAssignment_0 )? ) ) - // InternalSolverLanguageParser.g:5835:1: ( ( rule__ClassDefinition__AbstractAssignment_0 )? ) + // InternalSolverLanguageParser.g:7566:1: ( ( ( rule__ClassDefinition__SuperclassesAssignment_3_1 ) ) ) + // InternalSolverLanguageParser.g:7567:1: ( ( rule__ClassDefinition__SuperclassesAssignment_3_1 ) ) { - // InternalSolverLanguageParser.g:5835:1: ( ( rule__ClassDefinition__AbstractAssignment_0 )? ) - // InternalSolverLanguageParser.g:5836:2: ( rule__ClassDefinition__AbstractAssignment_0 )? + // InternalSolverLanguageParser.g:7567:1: ( ( rule__ClassDefinition__SuperclassesAssignment_3_1 ) ) + // InternalSolverLanguageParser.g:7568:2: ( rule__ClassDefinition__SuperclassesAssignment_3_1 ) { - before(grammarAccess.getClassDefinitionAccess().getAbstractAssignment_0()); - // InternalSolverLanguageParser.g:5837:2: ( rule__ClassDefinition__AbstractAssignment_0 )? - int alt42=2; - int LA42_0 = input.LA(1); - - if ( (LA42_0==Abstract) ) { - alt42=1; - } - switch (alt42) { - case 1 : - // InternalSolverLanguageParser.g:5837:3: rule__ClassDefinition__AbstractAssignment_0 - { - pushFollow(FOLLOW_2); - rule__ClassDefinition__AbstractAssignment_0(); - - state._fsp--; - + before(grammarAccess.getClassDefinitionAccess().getSuperclassesAssignment_3_1()); + // InternalSolverLanguageParser.g:7569:2: ( rule__ClassDefinition__SuperclassesAssignment_3_1 ) + // InternalSolverLanguageParser.g:7569:3: rule__ClassDefinition__SuperclassesAssignment_3_1 + { + pushFollow(FOLLOW_2); + rule__ClassDefinition__SuperclassesAssignment_3_1(); + + state._fsp--; - } - break; } - after(grammarAccess.getClassDefinitionAccess().getAbstractAssignment_0()); + after(grammarAccess.getClassDefinitionAccess().getSuperclassesAssignment_3_1()); } @@ -18107,26 +23363,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ClassDefinition__Group__0__Impl" + // $ANTLR end "rule__ClassDefinition__Group_3__1__Impl" - // $ANTLR start "rule__ClassDefinition__Group__1" - // InternalSolverLanguageParser.g:5845:1: rule__ClassDefinition__Group__1 : rule__ClassDefinition__Group__1__Impl rule__ClassDefinition__Group__2 ; - public final void rule__ClassDefinition__Group__1() throws RecognitionException { + // $ANTLR start "rule__ClassDefinition__Group_3__2" + // InternalSolverLanguageParser.g:7577:1: rule__ClassDefinition__Group_3__2 : rule__ClassDefinition__Group_3__2__Impl ; + public final void rule__ClassDefinition__Group_3__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5849:1: ( rule__ClassDefinition__Group__1__Impl rule__ClassDefinition__Group__2 ) - // InternalSolverLanguageParser.g:5850:2: rule__ClassDefinition__Group__1__Impl rule__ClassDefinition__Group__2 + // InternalSolverLanguageParser.g:7581:1: ( rule__ClassDefinition__Group_3__2__Impl ) + // InternalSolverLanguageParser.g:7582:2: rule__ClassDefinition__Group_3__2__Impl { - pushFollow(FOLLOW_43); - rule__ClassDefinition__Group__1__Impl(); - - state._fsp--; - pushFollow(FOLLOW_2); - rule__ClassDefinition__Group__2(); + rule__ClassDefinition__Group_3__2__Impl(); state._fsp--; @@ -18145,25 +23396,53 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ClassDefinition__Group__1" + // $ANTLR end "rule__ClassDefinition__Group_3__2" - // $ANTLR start "rule__ClassDefinition__Group__1__Impl" - // InternalSolverLanguageParser.g:5857:1: rule__ClassDefinition__Group__1__Impl : ( Class ) ; - public final void rule__ClassDefinition__Group__1__Impl() throws RecognitionException { + // $ANTLR start "rule__ClassDefinition__Group_3__2__Impl" + // InternalSolverLanguageParser.g:7588:1: rule__ClassDefinition__Group_3__2__Impl : ( ( rule__ClassDefinition__Group_3_2__0 )* ) ; + public final void rule__ClassDefinition__Group_3__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5861:1: ( ( Class ) ) - // InternalSolverLanguageParser.g:5862:1: ( Class ) + // InternalSolverLanguageParser.g:7592:1: ( ( ( rule__ClassDefinition__Group_3_2__0 )* ) ) + // InternalSolverLanguageParser.g:7593:1: ( ( rule__ClassDefinition__Group_3_2__0 )* ) { - // InternalSolverLanguageParser.g:5862:1: ( Class ) - // InternalSolverLanguageParser.g:5863:2: Class + // InternalSolverLanguageParser.g:7593:1: ( ( rule__ClassDefinition__Group_3_2__0 )* ) + // InternalSolverLanguageParser.g:7594:2: ( rule__ClassDefinition__Group_3_2__0 )* { - before(grammarAccess.getClassDefinitionAccess().getClassKeyword_1()); - match(input,Class,FOLLOW_2); - after(grammarAccess.getClassDefinitionAccess().getClassKeyword_1()); + before(grammarAccess.getClassDefinitionAccess().getGroup_3_2()); + // InternalSolverLanguageParser.g:7595:2: ( rule__ClassDefinition__Group_3_2__0 )* + loop54: + do { + int alt54=2; + int LA54_0 = input.LA(1); + + if ( (LA54_0==Comma) ) { + alt54=1; + } + + + switch (alt54) { + case 1 : + // InternalSolverLanguageParser.g:7595:3: rule__ClassDefinition__Group_3_2__0 + { + pushFollow(FOLLOW_20); + rule__ClassDefinition__Group_3_2__0(); + + state._fsp--; + + + } + break; + + default : + break loop54; + } + } while (true); + + after(grammarAccess.getClassDefinitionAccess().getGroup_3_2()); } @@ -18182,26 +23461,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ClassDefinition__Group__1__Impl" + // $ANTLR end "rule__ClassDefinition__Group_3__2__Impl" - // $ANTLR start "rule__ClassDefinition__Group__2" - // InternalSolverLanguageParser.g:5872:1: rule__ClassDefinition__Group__2 : rule__ClassDefinition__Group__2__Impl rule__ClassDefinition__Group__3 ; - public final void rule__ClassDefinition__Group__2() throws RecognitionException { + // $ANTLR start "rule__ClassDefinition__Group_3_2__0" + // InternalSolverLanguageParser.g:7604:1: rule__ClassDefinition__Group_3_2__0 : rule__ClassDefinition__Group_3_2__0__Impl rule__ClassDefinition__Group_3_2__1 ; + public final void rule__ClassDefinition__Group_3_2__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5876:1: ( rule__ClassDefinition__Group__2__Impl rule__ClassDefinition__Group__3 ) - // InternalSolverLanguageParser.g:5877:2: rule__ClassDefinition__Group__2__Impl rule__ClassDefinition__Group__3 + // InternalSolverLanguageParser.g:7608:1: ( rule__ClassDefinition__Group_3_2__0__Impl rule__ClassDefinition__Group_3_2__1 ) + // InternalSolverLanguageParser.g:7609:2: rule__ClassDefinition__Group_3_2__0__Impl rule__ClassDefinition__Group_3_2__1 { - pushFollow(FOLLOW_44); - rule__ClassDefinition__Group__2__Impl(); + pushFollow(FOLLOW_9); + rule__ClassDefinition__Group_3_2__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__ClassDefinition__Group__3(); + rule__ClassDefinition__Group_3_2__1(); state._fsp--; @@ -18220,35 +23499,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ClassDefinition__Group__2" + // $ANTLR end "rule__ClassDefinition__Group_3_2__0" - // $ANTLR start "rule__ClassDefinition__Group__2__Impl" - // InternalSolverLanguageParser.g:5884:1: rule__ClassDefinition__Group__2__Impl : ( ( rule__ClassDefinition__NameAssignment_2 ) ) ; - public final void rule__ClassDefinition__Group__2__Impl() throws RecognitionException { + // $ANTLR start "rule__ClassDefinition__Group_3_2__0__Impl" + // InternalSolverLanguageParser.g:7616:1: rule__ClassDefinition__Group_3_2__0__Impl : ( Comma ) ; + public final void rule__ClassDefinition__Group_3_2__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5888:1: ( ( ( rule__ClassDefinition__NameAssignment_2 ) ) ) - // InternalSolverLanguageParser.g:5889:1: ( ( rule__ClassDefinition__NameAssignment_2 ) ) + // InternalSolverLanguageParser.g:7620:1: ( ( Comma ) ) + // InternalSolverLanguageParser.g:7621:1: ( Comma ) { - // InternalSolverLanguageParser.g:5889:1: ( ( rule__ClassDefinition__NameAssignment_2 ) ) - // InternalSolverLanguageParser.g:5890:2: ( rule__ClassDefinition__NameAssignment_2 ) + // InternalSolverLanguageParser.g:7621:1: ( Comma ) + // InternalSolverLanguageParser.g:7622:2: Comma { - before(grammarAccess.getClassDefinitionAccess().getNameAssignment_2()); - // InternalSolverLanguageParser.g:5891:2: ( rule__ClassDefinition__NameAssignment_2 ) - // InternalSolverLanguageParser.g:5891:3: rule__ClassDefinition__NameAssignment_2 - { - pushFollow(FOLLOW_2); - rule__ClassDefinition__NameAssignment_2(); - - state._fsp--; - - - } - - after(grammarAccess.getClassDefinitionAccess().getNameAssignment_2()); + before(grammarAccess.getClassDefinitionAccess().getCommaKeyword_3_2_0()); + match(input,Comma,FOLLOW_2); + after(grammarAccess.getClassDefinitionAccess().getCommaKeyword_3_2_0()); } @@ -18267,26 +23536,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ClassDefinition__Group__2__Impl" + // $ANTLR end "rule__ClassDefinition__Group_3_2__0__Impl" - // $ANTLR start "rule__ClassDefinition__Group__3" - // InternalSolverLanguageParser.g:5899:1: rule__ClassDefinition__Group__3 : rule__ClassDefinition__Group__3__Impl rule__ClassDefinition__Group__4 ; - public final void rule__ClassDefinition__Group__3() throws RecognitionException { + // $ANTLR start "rule__ClassDefinition__Group_3_2__1" + // InternalSolverLanguageParser.g:7631:1: rule__ClassDefinition__Group_3_2__1 : rule__ClassDefinition__Group_3_2__1__Impl ; + public final void rule__ClassDefinition__Group_3_2__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5903:1: ( rule__ClassDefinition__Group__3__Impl rule__ClassDefinition__Group__4 ) - // InternalSolverLanguageParser.g:5904:2: rule__ClassDefinition__Group__3__Impl rule__ClassDefinition__Group__4 + // InternalSolverLanguageParser.g:7635:1: ( rule__ClassDefinition__Group_3_2__1__Impl ) + // InternalSolverLanguageParser.g:7636:2: rule__ClassDefinition__Group_3_2__1__Impl { - pushFollow(FOLLOW_44); - rule__ClassDefinition__Group__3__Impl(); - - state._fsp--; - pushFollow(FOLLOW_2); - rule__ClassDefinition__Group__4(); + rule__ClassDefinition__Group_3_2__1__Impl(); state._fsp--; @@ -18305,46 +23569,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ClassDefinition__Group__3" + // $ANTLR end "rule__ClassDefinition__Group_3_2__1" - // $ANTLR start "rule__ClassDefinition__Group__3__Impl" - // InternalSolverLanguageParser.g:5911:1: rule__ClassDefinition__Group__3__Impl : ( ( rule__ClassDefinition__Group_3__0 )? ) ; - public final void rule__ClassDefinition__Group__3__Impl() throws RecognitionException { + // $ANTLR start "rule__ClassDefinition__Group_3_2__1__Impl" + // InternalSolverLanguageParser.g:7642:1: rule__ClassDefinition__Group_3_2__1__Impl : ( ( rule__ClassDefinition__SuperclassesAssignment_3_2_1 ) ) ; + public final void rule__ClassDefinition__Group_3_2__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5915:1: ( ( ( rule__ClassDefinition__Group_3__0 )? ) ) - // InternalSolverLanguageParser.g:5916:1: ( ( rule__ClassDefinition__Group_3__0 )? ) + // InternalSolverLanguageParser.g:7646:1: ( ( ( rule__ClassDefinition__SuperclassesAssignment_3_2_1 ) ) ) + // InternalSolverLanguageParser.g:7647:1: ( ( rule__ClassDefinition__SuperclassesAssignment_3_2_1 ) ) { - // InternalSolverLanguageParser.g:5916:1: ( ( rule__ClassDefinition__Group_3__0 )? ) - // InternalSolverLanguageParser.g:5917:2: ( rule__ClassDefinition__Group_3__0 )? + // InternalSolverLanguageParser.g:7647:1: ( ( rule__ClassDefinition__SuperclassesAssignment_3_2_1 ) ) + // InternalSolverLanguageParser.g:7648:2: ( rule__ClassDefinition__SuperclassesAssignment_3_2_1 ) { - before(grammarAccess.getClassDefinitionAccess().getGroup_3()); - // InternalSolverLanguageParser.g:5918:2: ( rule__ClassDefinition__Group_3__0 )? - int alt43=2; - int LA43_0 = input.LA(1); - - if ( (LA43_0==Extends) ) { - alt43=1; - } - switch (alt43) { - case 1 : - // InternalSolverLanguageParser.g:5918:3: rule__ClassDefinition__Group_3__0 - { - pushFollow(FOLLOW_2); - rule__ClassDefinition__Group_3__0(); - - state._fsp--; + before(grammarAccess.getClassDefinitionAccess().getSuperclassesAssignment_3_2_1()); + // InternalSolverLanguageParser.g:7649:2: ( rule__ClassDefinition__SuperclassesAssignment_3_2_1 ) + // InternalSolverLanguageParser.g:7649:3: rule__ClassDefinition__SuperclassesAssignment_3_2_1 + { + pushFollow(FOLLOW_2); + rule__ClassDefinition__SuperclassesAssignment_3_2_1(); + state._fsp--; - } - break; } - after(grammarAccess.getClassDefinitionAccess().getGroup_3()); + after(grammarAccess.getClassDefinitionAccess().getSuperclassesAssignment_3_2_1()); } @@ -18363,26 +23616,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ClassDefinition__Group__3__Impl" + // $ANTLR end "rule__ClassDefinition__Group_3_2__1__Impl" - // $ANTLR start "rule__ClassDefinition__Group__4" - // InternalSolverLanguageParser.g:5926:1: rule__ClassDefinition__Group__4 : rule__ClassDefinition__Group__4__Impl rule__ClassDefinition__Group__5 ; - public final void rule__ClassDefinition__Group__4() throws RecognitionException { + // $ANTLR start "rule__MemberDefinition__Group__0" + // InternalSolverLanguageParser.g:7658:1: rule__MemberDefinition__Group__0 : rule__MemberDefinition__Group__0__Impl rule__MemberDefinition__Group__1 ; + public final void rule__MemberDefinition__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5930:1: ( rule__ClassDefinition__Group__4__Impl rule__ClassDefinition__Group__5 ) - // InternalSolverLanguageParser.g:5931:2: rule__ClassDefinition__Group__4__Impl rule__ClassDefinition__Group__5 + // InternalSolverLanguageParser.g:7662:1: ( rule__MemberDefinition__Group__0__Impl rule__MemberDefinition__Group__1 ) + // InternalSolverLanguageParser.g:7663:2: rule__MemberDefinition__Group__0__Impl rule__MemberDefinition__Group__1 { - pushFollow(FOLLOW_45); - rule__ClassDefinition__Group__4__Impl(); + pushFollow(FOLLOW_55); + rule__MemberDefinition__Group__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__ClassDefinition__Group__5(); + rule__MemberDefinition__Group__1(); state._fsp--; @@ -18401,25 +23654,46 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ClassDefinition__Group__4" + // $ANTLR end "rule__MemberDefinition__Group__0" - // $ANTLR start "rule__ClassDefinition__Group__4__Impl" - // InternalSolverLanguageParser.g:5938:1: rule__ClassDefinition__Group__4__Impl : ( LeftCurlyBracket ) ; - public final void rule__ClassDefinition__Group__4__Impl() throws RecognitionException { + // $ANTLR start "rule__MemberDefinition__Group__0__Impl" + // InternalSolverLanguageParser.g:7670:1: rule__MemberDefinition__Group__0__Impl : ( ( rule__MemberDefinition__ContainmentAssignment_0 )? ) ; + public final void rule__MemberDefinition__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5942:1: ( ( LeftCurlyBracket ) ) - // InternalSolverLanguageParser.g:5943:1: ( LeftCurlyBracket ) + // InternalSolverLanguageParser.g:7674:1: ( ( ( rule__MemberDefinition__ContainmentAssignment_0 )? ) ) + // InternalSolverLanguageParser.g:7675:1: ( ( rule__MemberDefinition__ContainmentAssignment_0 )? ) { - // InternalSolverLanguageParser.g:5943:1: ( LeftCurlyBracket ) - // InternalSolverLanguageParser.g:5944:2: LeftCurlyBracket + // InternalSolverLanguageParser.g:7675:1: ( ( rule__MemberDefinition__ContainmentAssignment_0 )? ) + // InternalSolverLanguageParser.g:7676:2: ( rule__MemberDefinition__ContainmentAssignment_0 )? { - before(grammarAccess.getClassDefinitionAccess().getLeftCurlyBracketKeyword_4()); - match(input,LeftCurlyBracket,FOLLOW_2); - after(grammarAccess.getClassDefinitionAccess().getLeftCurlyBracketKeyword_4()); + before(grammarAccess.getMemberDefinitionAccess().getContainmentAssignment_0()); + // InternalSolverLanguageParser.g:7677:2: ( rule__MemberDefinition__ContainmentAssignment_0 )? + int alt55=2; + int LA55_0 = input.LA(1); + + if ( (LA55_0==Contains) ) { + alt55=1; + } + switch (alt55) { + case 1 : + // InternalSolverLanguageParser.g:7677:3: rule__MemberDefinition__ContainmentAssignment_0 + { + pushFollow(FOLLOW_2); + rule__MemberDefinition__ContainmentAssignment_0(); + + state._fsp--; + + + } + break; + + } + + after(grammarAccess.getMemberDefinitionAccess().getContainmentAssignment_0()); } @@ -18438,26 +23712,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ClassDefinition__Group__4__Impl" + // $ANTLR end "rule__MemberDefinition__Group__0__Impl" - // $ANTLR start "rule__ClassDefinition__Group__5" - // InternalSolverLanguageParser.g:5953:1: rule__ClassDefinition__Group__5 : rule__ClassDefinition__Group__5__Impl rule__ClassDefinition__Group__6 ; - public final void rule__ClassDefinition__Group__5() throws RecognitionException { + // $ANTLR start "rule__MemberDefinition__Group__1" + // InternalSolverLanguageParser.g:7685:1: rule__MemberDefinition__Group__1 : rule__MemberDefinition__Group__1__Impl rule__MemberDefinition__Group__2 ; + public final void rule__MemberDefinition__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5957:1: ( rule__ClassDefinition__Group__5__Impl rule__ClassDefinition__Group__6 ) - // InternalSolverLanguageParser.g:5958:2: rule__ClassDefinition__Group__5__Impl rule__ClassDefinition__Group__6 + // InternalSolverLanguageParser.g:7689:1: ( rule__MemberDefinition__Group__1__Impl rule__MemberDefinition__Group__2 ) + // InternalSolverLanguageParser.g:7690:2: rule__MemberDefinition__Group__1__Impl rule__MemberDefinition__Group__2 { - pushFollow(FOLLOW_45); - rule__ClassDefinition__Group__5__Impl(); + pushFollow(FOLLOW_56); + rule__MemberDefinition__Group__1__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__ClassDefinition__Group__6(); + rule__MemberDefinition__Group__2(); state._fsp--; @@ -18476,53 +23750,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ClassDefinition__Group__5" + // $ANTLR end "rule__MemberDefinition__Group__1" - // $ANTLR start "rule__ClassDefinition__Group__5__Impl" - // InternalSolverLanguageParser.g:5965:1: rule__ClassDefinition__Group__5__Impl : ( ( rule__ClassDefinition__MembersAssignment_5 )* ) ; - public final void rule__ClassDefinition__Group__5__Impl() throws RecognitionException { + // $ANTLR start "rule__MemberDefinition__Group__1__Impl" + // InternalSolverLanguageParser.g:7697:1: rule__MemberDefinition__Group__1__Impl : ( ( rule__MemberDefinition__TypeAssignment_1 ) ) ; + public final void rule__MemberDefinition__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5969:1: ( ( ( rule__ClassDefinition__MembersAssignment_5 )* ) ) - // InternalSolverLanguageParser.g:5970:1: ( ( rule__ClassDefinition__MembersAssignment_5 )* ) + // InternalSolverLanguageParser.g:7701:1: ( ( ( rule__MemberDefinition__TypeAssignment_1 ) ) ) + // InternalSolverLanguageParser.g:7702:1: ( ( rule__MemberDefinition__TypeAssignment_1 ) ) { - // InternalSolverLanguageParser.g:5970:1: ( ( rule__ClassDefinition__MembersAssignment_5 )* ) - // InternalSolverLanguageParser.g:5971:2: ( rule__ClassDefinition__MembersAssignment_5 )* + // InternalSolverLanguageParser.g:7702:1: ( ( rule__MemberDefinition__TypeAssignment_1 ) ) + // InternalSolverLanguageParser.g:7703:2: ( rule__MemberDefinition__TypeAssignment_1 ) { - before(grammarAccess.getClassDefinitionAccess().getMembersAssignment_5()); - // InternalSolverLanguageParser.g:5972:2: ( rule__ClassDefinition__MembersAssignment_5 )* - loop44: - do { - int alt44=2; - int LA44_0 = input.LA(1); - - if ( (LA44_0==Contains||LA44_0==RULE_QUOTED_ID||LA44_0==RULE_ID) ) { - alt44=1; - } - - - switch (alt44) { - case 1 : - // InternalSolverLanguageParser.g:5972:3: rule__ClassDefinition__MembersAssignment_5 - { - pushFollow(FOLLOW_46); - rule__ClassDefinition__MembersAssignment_5(); - - state._fsp--; + before(grammarAccess.getMemberDefinitionAccess().getTypeAssignment_1()); + // InternalSolverLanguageParser.g:7704:2: ( rule__MemberDefinition__TypeAssignment_1 ) + // InternalSolverLanguageParser.g:7704:3: rule__MemberDefinition__TypeAssignment_1 + { + pushFollow(FOLLOW_2); + rule__MemberDefinition__TypeAssignment_1(); + state._fsp--; - } - break; - default : - break loop44; - } - } while (true); + } - after(grammarAccess.getClassDefinitionAccess().getMembersAssignment_5()); + after(grammarAccess.getMemberDefinitionAccess().getTypeAssignment_1()); } @@ -18541,21 +23797,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ClassDefinition__Group__5__Impl" + // $ANTLR end "rule__MemberDefinition__Group__1__Impl" - // $ANTLR start "rule__ClassDefinition__Group__6" - // InternalSolverLanguageParser.g:5980:1: rule__ClassDefinition__Group__6 : rule__ClassDefinition__Group__6__Impl ; - public final void rule__ClassDefinition__Group__6() throws RecognitionException { + // $ANTLR start "rule__MemberDefinition__Group__2" + // InternalSolverLanguageParser.g:7712:1: rule__MemberDefinition__Group__2 : rule__MemberDefinition__Group__2__Impl rule__MemberDefinition__Group__3 ; + public final void rule__MemberDefinition__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5984:1: ( rule__ClassDefinition__Group__6__Impl ) - // InternalSolverLanguageParser.g:5985:2: rule__ClassDefinition__Group__6__Impl + // InternalSolverLanguageParser.g:7716:1: ( rule__MemberDefinition__Group__2__Impl rule__MemberDefinition__Group__3 ) + // InternalSolverLanguageParser.g:7717:2: rule__MemberDefinition__Group__2__Impl rule__MemberDefinition__Group__3 { + pushFollow(FOLLOW_56); + rule__MemberDefinition__Group__2__Impl(); + + state._fsp--; + pushFollow(FOLLOW_2); - rule__ClassDefinition__Group__6__Impl(); + rule__MemberDefinition__Group__3(); state._fsp--; @@ -18574,25 +23835,46 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ClassDefinition__Group__6" + // $ANTLR end "rule__MemberDefinition__Group__2" - // $ANTLR start "rule__ClassDefinition__Group__6__Impl" - // InternalSolverLanguageParser.g:5991:1: rule__ClassDefinition__Group__6__Impl : ( RightCurlyBracket ) ; - public final void rule__ClassDefinition__Group__6__Impl() throws RecognitionException { + // $ANTLR start "rule__MemberDefinition__Group__2__Impl" + // InternalSolverLanguageParser.g:7724:1: rule__MemberDefinition__Group__2__Impl : ( ( rule__MemberDefinition__MultiplicityAssignment_2 )? ) ; + public final void rule__MemberDefinition__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5995:1: ( ( RightCurlyBracket ) ) - // InternalSolverLanguageParser.g:5996:1: ( RightCurlyBracket ) + // InternalSolverLanguageParser.g:7728:1: ( ( ( rule__MemberDefinition__MultiplicityAssignment_2 )? ) ) + // InternalSolverLanguageParser.g:7729:1: ( ( rule__MemberDefinition__MultiplicityAssignment_2 )? ) { - // InternalSolverLanguageParser.g:5996:1: ( RightCurlyBracket ) - // InternalSolverLanguageParser.g:5997:2: RightCurlyBracket + // InternalSolverLanguageParser.g:7729:1: ( ( rule__MemberDefinition__MultiplicityAssignment_2 )? ) + // InternalSolverLanguageParser.g:7730:2: ( rule__MemberDefinition__MultiplicityAssignment_2 )? { - before(grammarAccess.getClassDefinitionAccess().getRightCurlyBracketKeyword_6()); - match(input,RightCurlyBracket,FOLLOW_2); - after(grammarAccess.getClassDefinitionAccess().getRightCurlyBracketKeyword_6()); + before(grammarAccess.getMemberDefinitionAccess().getMultiplicityAssignment_2()); + // InternalSolverLanguageParser.g:7731:2: ( rule__MemberDefinition__MultiplicityAssignment_2 )? + int alt56=2; + int LA56_0 = input.LA(1); + + if ( (LA56_0==LeftSquareBracket) ) { + alt56=1; + } + switch (alt56) { + case 1 : + // InternalSolverLanguageParser.g:7731:3: rule__MemberDefinition__MultiplicityAssignment_2 + { + pushFollow(FOLLOW_2); + rule__MemberDefinition__MultiplicityAssignment_2(); + + state._fsp--; + + + } + break; + + } + + after(grammarAccess.getMemberDefinitionAccess().getMultiplicityAssignment_2()); } @@ -18611,26 +23893,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ClassDefinition__Group__6__Impl" + // $ANTLR end "rule__MemberDefinition__Group__2__Impl" - // $ANTLR start "rule__ClassDefinition__Group_3__0" - // InternalSolverLanguageParser.g:6007:1: rule__ClassDefinition__Group_3__0 : rule__ClassDefinition__Group_3__0__Impl rule__ClassDefinition__Group_3__1 ; - public final void rule__ClassDefinition__Group_3__0() throws RecognitionException { + // $ANTLR start "rule__MemberDefinition__Group__3" + // InternalSolverLanguageParser.g:7739:1: rule__MemberDefinition__Group__3 : rule__MemberDefinition__Group__3__Impl rule__MemberDefinition__Group__4 ; + public final void rule__MemberDefinition__Group__3() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6011:1: ( rule__ClassDefinition__Group_3__0__Impl rule__ClassDefinition__Group_3__1 ) - // InternalSolverLanguageParser.g:6012:2: rule__ClassDefinition__Group_3__0__Impl rule__ClassDefinition__Group_3__1 + // InternalSolverLanguageParser.g:7743:1: ( rule__MemberDefinition__Group__3__Impl rule__MemberDefinition__Group__4 ) + // InternalSolverLanguageParser.g:7744:2: rule__MemberDefinition__Group__3__Impl rule__MemberDefinition__Group__4 { - pushFollow(FOLLOW_9); - rule__ClassDefinition__Group_3__0__Impl(); + pushFollow(FOLLOW_57); + rule__MemberDefinition__Group__3__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__ClassDefinition__Group_3__1(); + rule__MemberDefinition__Group__4(); state._fsp--; @@ -18649,25 +23931,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ClassDefinition__Group_3__0" + // $ANTLR end "rule__MemberDefinition__Group__3" - // $ANTLR start "rule__ClassDefinition__Group_3__0__Impl" - // InternalSolverLanguageParser.g:6019:1: rule__ClassDefinition__Group_3__0__Impl : ( Extends ) ; - public final void rule__ClassDefinition__Group_3__0__Impl() throws RecognitionException { + // $ANTLR start "rule__MemberDefinition__Group__3__Impl" + // InternalSolverLanguageParser.g:7751:1: rule__MemberDefinition__Group__3__Impl : ( ( rule__MemberDefinition__NameAssignment_3 ) ) ; + public final void rule__MemberDefinition__Group__3__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6023:1: ( ( Extends ) ) - // InternalSolverLanguageParser.g:6024:1: ( Extends ) + // InternalSolverLanguageParser.g:7755:1: ( ( ( rule__MemberDefinition__NameAssignment_3 ) ) ) + // InternalSolverLanguageParser.g:7756:1: ( ( rule__MemberDefinition__NameAssignment_3 ) ) { - // InternalSolverLanguageParser.g:6024:1: ( Extends ) - // InternalSolverLanguageParser.g:6025:2: Extends + // InternalSolverLanguageParser.g:7756:1: ( ( rule__MemberDefinition__NameAssignment_3 ) ) + // InternalSolverLanguageParser.g:7757:2: ( rule__MemberDefinition__NameAssignment_3 ) { - before(grammarAccess.getClassDefinitionAccess().getExtendsKeyword_3_0()); - match(input,Extends,FOLLOW_2); - after(grammarAccess.getClassDefinitionAccess().getExtendsKeyword_3_0()); + before(grammarAccess.getMemberDefinitionAccess().getNameAssignment_3()); + // InternalSolverLanguageParser.g:7758:2: ( rule__MemberDefinition__NameAssignment_3 ) + // InternalSolverLanguageParser.g:7758:3: rule__MemberDefinition__NameAssignment_3 + { + pushFollow(FOLLOW_2); + rule__MemberDefinition__NameAssignment_3(); + + state._fsp--; + + + } + + after(grammarAccess.getMemberDefinitionAccess().getNameAssignment_3()); } @@ -18686,26 +23978,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ClassDefinition__Group_3__0__Impl" + // $ANTLR end "rule__MemberDefinition__Group__3__Impl" - // $ANTLR start "rule__ClassDefinition__Group_3__1" - // InternalSolverLanguageParser.g:6034:1: rule__ClassDefinition__Group_3__1 : rule__ClassDefinition__Group_3__1__Impl rule__ClassDefinition__Group_3__2 ; - public final void rule__ClassDefinition__Group_3__1() throws RecognitionException { + // $ANTLR start "rule__MemberDefinition__Group__4" + // InternalSolverLanguageParser.g:7766:1: rule__MemberDefinition__Group__4 : rule__MemberDefinition__Group__4__Impl rule__MemberDefinition__Group__5 ; + public final void rule__MemberDefinition__Group__4() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6038:1: ( rule__ClassDefinition__Group_3__1__Impl rule__ClassDefinition__Group_3__2 ) - // InternalSolverLanguageParser.g:6039:2: rule__ClassDefinition__Group_3__1__Impl rule__ClassDefinition__Group_3__2 + // InternalSolverLanguageParser.g:7770:1: ( rule__MemberDefinition__Group__4__Impl rule__MemberDefinition__Group__5 ) + // InternalSolverLanguageParser.g:7771:2: rule__MemberDefinition__Group__4__Impl rule__MemberDefinition__Group__5 { - pushFollow(FOLLOW_21); - rule__ClassDefinition__Group_3__1__Impl(); + pushFollow(FOLLOW_57); + rule__MemberDefinition__Group__4__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__ClassDefinition__Group_3__2(); + rule__MemberDefinition__Group__5(); state._fsp--; @@ -18724,35 +24016,46 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ClassDefinition__Group_3__1" + // $ANTLR end "rule__MemberDefinition__Group__4" - // $ANTLR start "rule__ClassDefinition__Group_3__1__Impl" - // InternalSolverLanguageParser.g:6046:1: rule__ClassDefinition__Group_3__1__Impl : ( ( rule__ClassDefinition__SuperclassesAssignment_3_1 ) ) ; - public final void rule__ClassDefinition__Group_3__1__Impl() throws RecognitionException { + // $ANTLR start "rule__MemberDefinition__Group__4__Impl" + // InternalSolverLanguageParser.g:7778:1: rule__MemberDefinition__Group__4__Impl : ( ( rule__MemberDefinition__Group_4__0 )? ) ; + public final void rule__MemberDefinition__Group__4__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6050:1: ( ( ( rule__ClassDefinition__SuperclassesAssignment_3_1 ) ) ) - // InternalSolverLanguageParser.g:6051:1: ( ( rule__ClassDefinition__SuperclassesAssignment_3_1 ) ) + // InternalSolverLanguageParser.g:7782:1: ( ( ( rule__MemberDefinition__Group_4__0 )? ) ) + // InternalSolverLanguageParser.g:7783:1: ( ( rule__MemberDefinition__Group_4__0 )? ) { - // InternalSolverLanguageParser.g:6051:1: ( ( rule__ClassDefinition__SuperclassesAssignment_3_1 ) ) - // InternalSolverLanguageParser.g:6052:2: ( rule__ClassDefinition__SuperclassesAssignment_3_1 ) - { - before(grammarAccess.getClassDefinitionAccess().getSuperclassesAssignment_3_1()); - // InternalSolverLanguageParser.g:6053:2: ( rule__ClassDefinition__SuperclassesAssignment_3_1 ) - // InternalSolverLanguageParser.g:6053:3: rule__ClassDefinition__SuperclassesAssignment_3_1 + // InternalSolverLanguageParser.g:7783:1: ( ( rule__MemberDefinition__Group_4__0 )? ) + // InternalSolverLanguageParser.g:7784:2: ( rule__MemberDefinition__Group_4__0 )? { - pushFollow(FOLLOW_2); - rule__ClassDefinition__SuperclassesAssignment_3_1(); + before(grammarAccess.getMemberDefinitionAccess().getGroup_4()); + // InternalSolverLanguageParser.g:7785:2: ( rule__MemberDefinition__Group_4__0 )? + int alt57=2; + int LA57_0 = input.LA(1); + + if ( (LA57_0==Opposite) ) { + alt57=1; + } + switch (alt57) { + case 1 : + // InternalSolverLanguageParser.g:7785:3: rule__MemberDefinition__Group_4__0 + { + pushFollow(FOLLOW_2); + rule__MemberDefinition__Group_4__0(); + + state._fsp--; - state._fsp--; + } + break; } - after(grammarAccess.getClassDefinitionAccess().getSuperclassesAssignment_3_1()); + after(grammarAccess.getMemberDefinitionAccess().getGroup_4()); } @@ -18771,21 +24074,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ClassDefinition__Group_3__1__Impl" + // $ANTLR end "rule__MemberDefinition__Group__4__Impl" - // $ANTLR start "rule__ClassDefinition__Group_3__2" - // InternalSolverLanguageParser.g:6061:1: rule__ClassDefinition__Group_3__2 : rule__ClassDefinition__Group_3__2__Impl ; - public final void rule__ClassDefinition__Group_3__2() throws RecognitionException { + // $ANTLR start "rule__MemberDefinition__Group__5" + // InternalSolverLanguageParser.g:7793:1: rule__MemberDefinition__Group__5 : rule__MemberDefinition__Group__5__Impl ; + public final void rule__MemberDefinition__Group__5() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6065:1: ( rule__ClassDefinition__Group_3__2__Impl ) - // InternalSolverLanguageParser.g:6066:2: rule__ClassDefinition__Group_3__2__Impl + // InternalSolverLanguageParser.g:7797:1: ( rule__MemberDefinition__Group__5__Impl ) + // InternalSolverLanguageParser.g:7798:2: rule__MemberDefinition__Group__5__Impl { pushFollow(FOLLOW_2); - rule__ClassDefinition__Group_3__2__Impl(); + rule__MemberDefinition__Group__5__Impl(); state._fsp--; @@ -18804,53 +24107,42 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ClassDefinition__Group_3__2" + // $ANTLR end "rule__MemberDefinition__Group__5" - // $ANTLR start "rule__ClassDefinition__Group_3__2__Impl" - // InternalSolverLanguageParser.g:6072:1: rule__ClassDefinition__Group_3__2__Impl : ( ( rule__ClassDefinition__Group_3_2__0 )* ) ; - public final void rule__ClassDefinition__Group_3__2__Impl() throws RecognitionException { + // $ANTLR start "rule__MemberDefinition__Group__5__Impl" + // InternalSolverLanguageParser.g:7804:1: rule__MemberDefinition__Group__5__Impl : ( ( Semicolon )? ) ; + public final void rule__MemberDefinition__Group__5__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6076:1: ( ( ( rule__ClassDefinition__Group_3_2__0 )* ) ) - // InternalSolverLanguageParser.g:6077:1: ( ( rule__ClassDefinition__Group_3_2__0 )* ) + // InternalSolverLanguageParser.g:7808:1: ( ( ( Semicolon )? ) ) + // InternalSolverLanguageParser.g:7809:1: ( ( Semicolon )? ) { - // InternalSolverLanguageParser.g:6077:1: ( ( rule__ClassDefinition__Group_3_2__0 )* ) - // InternalSolverLanguageParser.g:6078:2: ( rule__ClassDefinition__Group_3_2__0 )* + // InternalSolverLanguageParser.g:7809:1: ( ( Semicolon )? ) + // InternalSolverLanguageParser.g:7810:2: ( Semicolon )? { - before(grammarAccess.getClassDefinitionAccess().getGroup_3_2()); - // InternalSolverLanguageParser.g:6079:2: ( rule__ClassDefinition__Group_3_2__0 )* - loop45: - do { - int alt45=2; - int LA45_0 = input.LA(1); - - if ( (LA45_0==Comma) ) { - alt45=1; - } - - - switch (alt45) { - case 1 : - // InternalSolverLanguageParser.g:6079:3: rule__ClassDefinition__Group_3_2__0 - { - pushFollow(FOLLOW_22); - rule__ClassDefinition__Group_3_2__0(); - - state._fsp--; + before(grammarAccess.getMemberDefinitionAccess().getSemicolonKeyword_5()); + // InternalSolverLanguageParser.g:7811:2: ( Semicolon )? + int alt58=2; + int LA58_0 = input.LA(1); + if ( (LA58_0==Semicolon) ) { + alt58=1; + } + switch (alt58) { + case 1 : + // InternalSolverLanguageParser.g:7811:3: Semicolon + { + match(input,Semicolon,FOLLOW_2); - } - break; + } + break; - default : - break loop45; - } - } while (true); + } - after(grammarAccess.getClassDefinitionAccess().getGroup_3_2()); + after(grammarAccess.getMemberDefinitionAccess().getSemicolonKeyword_5()); } @@ -18869,26 +24161,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ClassDefinition__Group_3__2__Impl" + // $ANTLR end "rule__MemberDefinition__Group__5__Impl" - // $ANTLR start "rule__ClassDefinition__Group_3_2__0" - // InternalSolverLanguageParser.g:6088:1: rule__ClassDefinition__Group_3_2__0 : rule__ClassDefinition__Group_3_2__0__Impl rule__ClassDefinition__Group_3_2__1 ; - public final void rule__ClassDefinition__Group_3_2__0() throws RecognitionException { + // $ANTLR start "rule__MemberDefinition__Group_4__0" + // InternalSolverLanguageParser.g:7820:1: rule__MemberDefinition__Group_4__0 : rule__MemberDefinition__Group_4__0__Impl rule__MemberDefinition__Group_4__1 ; + public final void rule__MemberDefinition__Group_4__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6092:1: ( rule__ClassDefinition__Group_3_2__0__Impl rule__ClassDefinition__Group_3_2__1 ) - // InternalSolverLanguageParser.g:6093:2: rule__ClassDefinition__Group_3_2__0__Impl rule__ClassDefinition__Group_3_2__1 + // InternalSolverLanguageParser.g:7824:1: ( rule__MemberDefinition__Group_4__0__Impl rule__MemberDefinition__Group_4__1 ) + // InternalSolverLanguageParser.g:7825:2: rule__MemberDefinition__Group_4__0__Impl rule__MemberDefinition__Group_4__1 { pushFollow(FOLLOW_9); - rule__ClassDefinition__Group_3_2__0__Impl(); + rule__MemberDefinition__Group_4__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__ClassDefinition__Group_3_2__1(); + rule__MemberDefinition__Group_4__1(); state._fsp--; @@ -18907,25 +24199,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ClassDefinition__Group_3_2__0" + // $ANTLR end "rule__MemberDefinition__Group_4__0" - // $ANTLR start "rule__ClassDefinition__Group_3_2__0__Impl" - // InternalSolverLanguageParser.g:6100:1: rule__ClassDefinition__Group_3_2__0__Impl : ( Comma ) ; - public final void rule__ClassDefinition__Group_3_2__0__Impl() throws RecognitionException { + // $ANTLR start "rule__MemberDefinition__Group_4__0__Impl" + // InternalSolverLanguageParser.g:7832:1: rule__MemberDefinition__Group_4__0__Impl : ( Opposite ) ; + public final void rule__MemberDefinition__Group_4__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6104:1: ( ( Comma ) ) - // InternalSolverLanguageParser.g:6105:1: ( Comma ) + // InternalSolverLanguageParser.g:7836:1: ( ( Opposite ) ) + // InternalSolverLanguageParser.g:7837:1: ( Opposite ) { - // InternalSolverLanguageParser.g:6105:1: ( Comma ) - // InternalSolverLanguageParser.g:6106:2: Comma + // InternalSolverLanguageParser.g:7837:1: ( Opposite ) + // InternalSolverLanguageParser.g:7838:2: Opposite { - before(grammarAccess.getClassDefinitionAccess().getCommaKeyword_3_2_0()); - match(input,Comma,FOLLOW_2); - after(grammarAccess.getClassDefinitionAccess().getCommaKeyword_3_2_0()); + before(grammarAccess.getMemberDefinitionAccess().getOppositeKeyword_4_0()); + match(input,Opposite,FOLLOW_2); + after(grammarAccess.getMemberDefinitionAccess().getOppositeKeyword_4_0()); } @@ -18944,21 +24236,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ClassDefinition__Group_3_2__0__Impl" + // $ANTLR end "rule__MemberDefinition__Group_4__0__Impl" - // $ANTLR start "rule__ClassDefinition__Group_3_2__1" - // InternalSolverLanguageParser.g:6115:1: rule__ClassDefinition__Group_3_2__1 : rule__ClassDefinition__Group_3_2__1__Impl ; - public final void rule__ClassDefinition__Group_3_2__1() throws RecognitionException { + // $ANTLR start "rule__MemberDefinition__Group_4__1" + // InternalSolverLanguageParser.g:7847:1: rule__MemberDefinition__Group_4__1 : rule__MemberDefinition__Group_4__1__Impl ; + public final void rule__MemberDefinition__Group_4__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6119:1: ( rule__ClassDefinition__Group_3_2__1__Impl ) - // InternalSolverLanguageParser.g:6120:2: rule__ClassDefinition__Group_3_2__1__Impl + // InternalSolverLanguageParser.g:7851:1: ( rule__MemberDefinition__Group_4__1__Impl ) + // InternalSolverLanguageParser.g:7852:2: rule__MemberDefinition__Group_4__1__Impl { pushFollow(FOLLOW_2); - rule__ClassDefinition__Group_3_2__1__Impl(); + rule__MemberDefinition__Group_4__1__Impl(); state._fsp--; @@ -18977,35 +24269,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ClassDefinition__Group_3_2__1" + // $ANTLR end "rule__MemberDefinition__Group_4__1" - // $ANTLR start "rule__ClassDefinition__Group_3_2__1__Impl" - // InternalSolverLanguageParser.g:6126:1: rule__ClassDefinition__Group_3_2__1__Impl : ( ( rule__ClassDefinition__SuperclassesAssignment_3_2_1 ) ) ; - public final void rule__ClassDefinition__Group_3_2__1__Impl() throws RecognitionException { + // $ANTLR start "rule__MemberDefinition__Group_4__1__Impl" + // InternalSolverLanguageParser.g:7858:1: rule__MemberDefinition__Group_4__1__Impl : ( ( rule__MemberDefinition__OppositeAssignment_4_1 ) ) ; + public final void rule__MemberDefinition__Group_4__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6130:1: ( ( ( rule__ClassDefinition__SuperclassesAssignment_3_2_1 ) ) ) - // InternalSolverLanguageParser.g:6131:1: ( ( rule__ClassDefinition__SuperclassesAssignment_3_2_1 ) ) + // InternalSolverLanguageParser.g:7862:1: ( ( ( rule__MemberDefinition__OppositeAssignment_4_1 ) ) ) + // InternalSolverLanguageParser.g:7863:1: ( ( rule__MemberDefinition__OppositeAssignment_4_1 ) ) { - // InternalSolverLanguageParser.g:6131:1: ( ( rule__ClassDefinition__SuperclassesAssignment_3_2_1 ) ) - // InternalSolverLanguageParser.g:6132:2: ( rule__ClassDefinition__SuperclassesAssignment_3_2_1 ) + // InternalSolverLanguageParser.g:7863:1: ( ( rule__MemberDefinition__OppositeAssignment_4_1 ) ) + // InternalSolverLanguageParser.g:7864:2: ( rule__MemberDefinition__OppositeAssignment_4_1 ) { - before(grammarAccess.getClassDefinitionAccess().getSuperclassesAssignment_3_2_1()); - // InternalSolverLanguageParser.g:6133:2: ( rule__ClassDefinition__SuperclassesAssignment_3_2_1 ) - // InternalSolverLanguageParser.g:6133:3: rule__ClassDefinition__SuperclassesAssignment_3_2_1 + before(grammarAccess.getMemberDefinitionAccess().getOppositeAssignment_4_1()); + // InternalSolverLanguageParser.g:7865:2: ( rule__MemberDefinition__OppositeAssignment_4_1 ) + // InternalSolverLanguageParser.g:7865:3: rule__MemberDefinition__OppositeAssignment_4_1 { pushFollow(FOLLOW_2); - rule__ClassDefinition__SuperclassesAssignment_3_2_1(); + rule__MemberDefinition__OppositeAssignment_4_1(); state._fsp--; } - after(grammarAccess.getClassDefinitionAccess().getSuperclassesAssignment_3_2_1()); + after(grammarAccess.getMemberDefinitionAccess().getOppositeAssignment_4_1()); } @@ -19024,26 +24316,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ClassDefinition__Group_3_2__1__Impl" + // $ANTLR end "rule__MemberDefinition__Group_4__1__Impl" - // $ANTLR start "rule__MemberDefinition__Group__0" - // InternalSolverLanguageParser.g:6142:1: rule__MemberDefinition__Group__0 : rule__MemberDefinition__Group__0__Impl rule__MemberDefinition__Group__1 ; - public final void rule__MemberDefinition__Group__0() throws RecognitionException { + // $ANTLR start "rule__ManyMultiplicity__Group__0" + // InternalSolverLanguageParser.g:7874:1: rule__ManyMultiplicity__Group__0 : rule__ManyMultiplicity__Group__0__Impl rule__ManyMultiplicity__Group__1 ; + public final void rule__ManyMultiplicity__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6146:1: ( rule__MemberDefinition__Group__0__Impl rule__MemberDefinition__Group__1 ) - // InternalSolverLanguageParser.g:6147:2: rule__MemberDefinition__Group__0__Impl rule__MemberDefinition__Group__1 + // InternalSolverLanguageParser.g:7878:1: ( rule__ManyMultiplicity__Group__0__Impl rule__ManyMultiplicity__Group__1 ) + // InternalSolverLanguageParser.g:7879:2: rule__ManyMultiplicity__Group__0__Impl rule__ManyMultiplicity__Group__1 { - pushFollow(FOLLOW_47); - rule__MemberDefinition__Group__0__Impl(); + pushFollow(FOLLOW_38); + rule__ManyMultiplicity__Group__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__MemberDefinition__Group__1(); + rule__ManyMultiplicity__Group__1(); state._fsp--; @@ -19062,46 +24354,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__MemberDefinition__Group__0" + // $ANTLR end "rule__ManyMultiplicity__Group__0" - // $ANTLR start "rule__MemberDefinition__Group__0__Impl" - // InternalSolverLanguageParser.g:6154:1: rule__MemberDefinition__Group__0__Impl : ( ( rule__MemberDefinition__ContainmentAssignment_0 )? ) ; - public final void rule__MemberDefinition__Group__0__Impl() throws RecognitionException { + // $ANTLR start "rule__ManyMultiplicity__Group__0__Impl" + // InternalSolverLanguageParser.g:7886:1: rule__ManyMultiplicity__Group__0__Impl : ( () ) ; + public final void rule__ManyMultiplicity__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6158:1: ( ( ( rule__MemberDefinition__ContainmentAssignment_0 )? ) ) - // InternalSolverLanguageParser.g:6159:1: ( ( rule__MemberDefinition__ContainmentAssignment_0 )? ) + // InternalSolverLanguageParser.g:7890:1: ( ( () ) ) + // InternalSolverLanguageParser.g:7891:1: ( () ) { - // InternalSolverLanguageParser.g:6159:1: ( ( rule__MemberDefinition__ContainmentAssignment_0 )? ) - // InternalSolverLanguageParser.g:6160:2: ( rule__MemberDefinition__ContainmentAssignment_0 )? + // InternalSolverLanguageParser.g:7891:1: ( () ) + // InternalSolverLanguageParser.g:7892:2: () + { + before(grammarAccess.getManyMultiplicityAccess().getManyMultiplicityAction_0()); + // InternalSolverLanguageParser.g:7893:2: () + // InternalSolverLanguageParser.g:7893:3: { - before(grammarAccess.getMemberDefinitionAccess().getContainmentAssignment_0()); - // InternalSolverLanguageParser.g:6161:2: ( rule__MemberDefinition__ContainmentAssignment_0 )? - int alt46=2; - int LA46_0 = input.LA(1); - - if ( (LA46_0==Contains) ) { - alt46=1; - } - switch (alt46) { - case 1 : - // InternalSolverLanguageParser.g:6161:3: rule__MemberDefinition__ContainmentAssignment_0 - { - pushFollow(FOLLOW_2); - rule__MemberDefinition__ContainmentAssignment_0(); - - state._fsp--; - - - } - break; - } - after(grammarAccess.getMemberDefinitionAccess().getContainmentAssignment_0()); + after(grammarAccess.getManyMultiplicityAccess().getManyMultiplicityAction_0()); } @@ -19109,10 +24384,6 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } finally { restoreStackSize(stackSize); @@ -19120,26 +24391,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__MemberDefinition__Group__0__Impl" + // $ANTLR end "rule__ManyMultiplicity__Group__0__Impl" - // $ANTLR start "rule__MemberDefinition__Group__1" - // InternalSolverLanguageParser.g:6169:1: rule__MemberDefinition__Group__1 : rule__MemberDefinition__Group__1__Impl rule__MemberDefinition__Group__2 ; - public final void rule__MemberDefinition__Group__1() throws RecognitionException { + // $ANTLR start "rule__ManyMultiplicity__Group__1" + // InternalSolverLanguageParser.g:7901:1: rule__ManyMultiplicity__Group__1 : rule__ManyMultiplicity__Group__1__Impl rule__ManyMultiplicity__Group__2 ; + public final void rule__ManyMultiplicity__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6173:1: ( rule__MemberDefinition__Group__1__Impl rule__MemberDefinition__Group__2 ) - // InternalSolverLanguageParser.g:6174:2: rule__MemberDefinition__Group__1__Impl rule__MemberDefinition__Group__2 + // InternalSolverLanguageParser.g:7905:1: ( rule__ManyMultiplicity__Group__1__Impl rule__ManyMultiplicity__Group__2 ) + // InternalSolverLanguageParser.g:7906:2: rule__ManyMultiplicity__Group__1__Impl rule__ManyMultiplicity__Group__2 { pushFollow(FOLLOW_48); - rule__MemberDefinition__Group__1__Impl(); + rule__ManyMultiplicity__Group__1__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__MemberDefinition__Group__2(); + rule__ManyMultiplicity__Group__2(); state._fsp--; @@ -19158,35 +24429,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__MemberDefinition__Group__1" + // $ANTLR end "rule__ManyMultiplicity__Group__1" - // $ANTLR start "rule__MemberDefinition__Group__1__Impl" - // InternalSolverLanguageParser.g:6181:1: rule__MemberDefinition__Group__1__Impl : ( ( rule__MemberDefinition__TypeAssignment_1 ) ) ; - public final void rule__MemberDefinition__Group__1__Impl() throws RecognitionException { + // $ANTLR start "rule__ManyMultiplicity__Group__1__Impl" + // InternalSolverLanguageParser.g:7913:1: rule__ManyMultiplicity__Group__1__Impl : ( LeftSquareBracket ) ; + public final void rule__ManyMultiplicity__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6185:1: ( ( ( rule__MemberDefinition__TypeAssignment_1 ) ) ) - // InternalSolverLanguageParser.g:6186:1: ( ( rule__MemberDefinition__TypeAssignment_1 ) ) + // InternalSolverLanguageParser.g:7917:1: ( ( LeftSquareBracket ) ) + // InternalSolverLanguageParser.g:7918:1: ( LeftSquareBracket ) { - // InternalSolverLanguageParser.g:6186:1: ( ( rule__MemberDefinition__TypeAssignment_1 ) ) - // InternalSolverLanguageParser.g:6187:2: ( rule__MemberDefinition__TypeAssignment_1 ) - { - before(grammarAccess.getMemberDefinitionAccess().getTypeAssignment_1()); - // InternalSolverLanguageParser.g:6188:2: ( rule__MemberDefinition__TypeAssignment_1 ) - // InternalSolverLanguageParser.g:6188:3: rule__MemberDefinition__TypeAssignment_1 + // InternalSolverLanguageParser.g:7918:1: ( LeftSquareBracket ) + // InternalSolverLanguageParser.g:7919:2: LeftSquareBracket { - pushFollow(FOLLOW_2); - rule__MemberDefinition__TypeAssignment_1(); - - state._fsp--; - - - } - - after(grammarAccess.getMemberDefinitionAccess().getTypeAssignment_1()); + before(grammarAccess.getManyMultiplicityAccess().getLeftSquareBracketKeyword_1()); + match(input,LeftSquareBracket,FOLLOW_2); + after(grammarAccess.getManyMultiplicityAccess().getLeftSquareBracketKeyword_1()); } @@ -19205,26 +24466,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__MemberDefinition__Group__1__Impl" + // $ANTLR end "rule__ManyMultiplicity__Group__1__Impl" - // $ANTLR start "rule__MemberDefinition__Group__2" - // InternalSolverLanguageParser.g:6196:1: rule__MemberDefinition__Group__2 : rule__MemberDefinition__Group__2__Impl rule__MemberDefinition__Group__3 ; - public final void rule__MemberDefinition__Group__2() throws RecognitionException { + // $ANTLR start "rule__ManyMultiplicity__Group__2" + // InternalSolverLanguageParser.g:7928:1: rule__ManyMultiplicity__Group__2 : rule__ManyMultiplicity__Group__2__Impl ; + public final void rule__ManyMultiplicity__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6200:1: ( rule__MemberDefinition__Group__2__Impl rule__MemberDefinition__Group__3 ) - // InternalSolverLanguageParser.g:6201:2: rule__MemberDefinition__Group__2__Impl rule__MemberDefinition__Group__3 + // InternalSolverLanguageParser.g:7932:1: ( rule__ManyMultiplicity__Group__2__Impl ) + // InternalSolverLanguageParser.g:7933:2: rule__ManyMultiplicity__Group__2__Impl { - pushFollow(FOLLOW_48); - rule__MemberDefinition__Group__2__Impl(); - - state._fsp--; - pushFollow(FOLLOW_2); - rule__MemberDefinition__Group__3(); + rule__ManyMultiplicity__Group__2__Impl(); state._fsp--; @@ -19234,55 +24490,34 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } catch (RecognitionException re) { reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__MemberDefinition__Group__2" - - - // $ANTLR start "rule__MemberDefinition__Group__2__Impl" - // InternalSolverLanguageParser.g:6208:1: rule__MemberDefinition__Group__2__Impl : ( ( rule__MemberDefinition__MultiplicityAssignment_2 )? ) ; - public final void rule__MemberDefinition__Group__2__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalSolverLanguageParser.g:6212:1: ( ( ( rule__MemberDefinition__MultiplicityAssignment_2 )? ) ) - // InternalSolverLanguageParser.g:6213:1: ( ( rule__MemberDefinition__MultiplicityAssignment_2 )? ) - { - // InternalSolverLanguageParser.g:6213:1: ( ( rule__MemberDefinition__MultiplicityAssignment_2 )? ) - // InternalSolverLanguageParser.g:6214:2: ( rule__MemberDefinition__MultiplicityAssignment_2 )? - { - before(grammarAccess.getMemberDefinitionAccess().getMultiplicityAssignment_2()); - // InternalSolverLanguageParser.g:6215:2: ( rule__MemberDefinition__MultiplicityAssignment_2 )? - int alt47=2; - int LA47_0 = input.LA(1); - - if ( (LA47_0==LeftSquareBracket) ) { - alt47=1; - } - switch (alt47) { - case 1 : - // InternalSolverLanguageParser.g:6215:3: rule__MemberDefinition__MultiplicityAssignment_2 - { - pushFollow(FOLLOW_2); - rule__MemberDefinition__MultiplicityAssignment_2(); + recover(input,re); + } + finally { - state._fsp--; + restoreStackSize(stackSize); + } + return ; + } + // $ANTLR end "rule__ManyMultiplicity__Group__2" - } - break; - } + // $ANTLR start "rule__ManyMultiplicity__Group__2__Impl" + // InternalSolverLanguageParser.g:7939:1: rule__ManyMultiplicity__Group__2__Impl : ( RightSquareBracket ) ; + public final void rule__ManyMultiplicity__Group__2__Impl() throws RecognitionException { - after(grammarAccess.getMemberDefinitionAccess().getMultiplicityAssignment_2()); + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:7943:1: ( ( RightSquareBracket ) ) + // InternalSolverLanguageParser.g:7944:1: ( RightSquareBracket ) + { + // InternalSolverLanguageParser.g:7944:1: ( RightSquareBracket ) + // InternalSolverLanguageParser.g:7945:2: RightSquareBracket + { + before(grammarAccess.getManyMultiplicityAccess().getRightSquareBracketKeyword_2()); + match(input,RightSquareBracket,FOLLOW_2); + after(grammarAccess.getManyMultiplicityAccess().getRightSquareBracketKeyword_2()); } @@ -19301,26 +24536,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__MemberDefinition__Group__2__Impl" + // $ANTLR end "rule__ManyMultiplicity__Group__2__Impl" - // $ANTLR start "rule__MemberDefinition__Group__3" - // InternalSolverLanguageParser.g:6223:1: rule__MemberDefinition__Group__3 : rule__MemberDefinition__Group__3__Impl rule__MemberDefinition__Group__4 ; - public final void rule__MemberDefinition__Group__3() throws RecognitionException { + // $ANTLR start "rule__ExactMultiplicity__Group__0" + // InternalSolverLanguageParser.g:7955:1: rule__ExactMultiplicity__Group__0 : rule__ExactMultiplicity__Group__0__Impl rule__ExactMultiplicity__Group__1 ; + public final void rule__ExactMultiplicity__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6227:1: ( rule__MemberDefinition__Group__3__Impl rule__MemberDefinition__Group__4 ) - // InternalSolverLanguageParser.g:6228:2: rule__MemberDefinition__Group__3__Impl rule__MemberDefinition__Group__4 + // InternalSolverLanguageParser.g:7959:1: ( rule__ExactMultiplicity__Group__0__Impl rule__ExactMultiplicity__Group__1 ) + // InternalSolverLanguageParser.g:7960:2: rule__ExactMultiplicity__Group__0__Impl rule__ExactMultiplicity__Group__1 { - pushFollow(FOLLOW_49); - rule__MemberDefinition__Group__3__Impl(); + pushFollow(FOLLOW_58); + rule__ExactMultiplicity__Group__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__MemberDefinition__Group__4(); + rule__ExactMultiplicity__Group__1(); state._fsp--; @@ -19339,35 +24574,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__MemberDefinition__Group__3" + // $ANTLR end "rule__ExactMultiplicity__Group__0" - // $ANTLR start "rule__MemberDefinition__Group__3__Impl" - // InternalSolverLanguageParser.g:6235:1: rule__MemberDefinition__Group__3__Impl : ( ( rule__MemberDefinition__NameAssignment_3 ) ) ; - public final void rule__MemberDefinition__Group__3__Impl() throws RecognitionException { + // $ANTLR start "rule__ExactMultiplicity__Group__0__Impl" + // InternalSolverLanguageParser.g:7967:1: rule__ExactMultiplicity__Group__0__Impl : ( LeftSquareBracket ) ; + public final void rule__ExactMultiplicity__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6239:1: ( ( ( rule__MemberDefinition__NameAssignment_3 ) ) ) - // InternalSolverLanguageParser.g:6240:1: ( ( rule__MemberDefinition__NameAssignment_3 ) ) + // InternalSolverLanguageParser.g:7971:1: ( ( LeftSquareBracket ) ) + // InternalSolverLanguageParser.g:7972:1: ( LeftSquareBracket ) { - // InternalSolverLanguageParser.g:6240:1: ( ( rule__MemberDefinition__NameAssignment_3 ) ) - // InternalSolverLanguageParser.g:6241:2: ( rule__MemberDefinition__NameAssignment_3 ) + // InternalSolverLanguageParser.g:7972:1: ( LeftSquareBracket ) + // InternalSolverLanguageParser.g:7973:2: LeftSquareBracket { - before(grammarAccess.getMemberDefinitionAccess().getNameAssignment_3()); - // InternalSolverLanguageParser.g:6242:2: ( rule__MemberDefinition__NameAssignment_3 ) - // InternalSolverLanguageParser.g:6242:3: rule__MemberDefinition__NameAssignment_3 - { - pushFollow(FOLLOW_2); - rule__MemberDefinition__NameAssignment_3(); - - state._fsp--; - - - } - - after(grammarAccess.getMemberDefinitionAccess().getNameAssignment_3()); + before(grammarAccess.getExactMultiplicityAccess().getLeftSquareBracketKeyword_0()); + match(input,LeftSquareBracket,FOLLOW_2); + after(grammarAccess.getExactMultiplicityAccess().getLeftSquareBracketKeyword_0()); } @@ -19386,26 +24611,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__MemberDefinition__Group__3__Impl" + // $ANTLR end "rule__ExactMultiplicity__Group__0__Impl" - // $ANTLR start "rule__MemberDefinition__Group__4" - // InternalSolverLanguageParser.g:6250:1: rule__MemberDefinition__Group__4 : rule__MemberDefinition__Group__4__Impl rule__MemberDefinition__Group__5 ; - public final void rule__MemberDefinition__Group__4() throws RecognitionException { + // $ANTLR start "rule__ExactMultiplicity__Group__1" + // InternalSolverLanguageParser.g:7982:1: rule__ExactMultiplicity__Group__1 : rule__ExactMultiplicity__Group__1__Impl rule__ExactMultiplicity__Group__2 ; + public final void rule__ExactMultiplicity__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6254:1: ( rule__MemberDefinition__Group__4__Impl rule__MemberDefinition__Group__5 ) - // InternalSolverLanguageParser.g:6255:2: rule__MemberDefinition__Group__4__Impl rule__MemberDefinition__Group__5 + // InternalSolverLanguageParser.g:7986:1: ( rule__ExactMultiplicity__Group__1__Impl rule__ExactMultiplicity__Group__2 ) + // InternalSolverLanguageParser.g:7987:2: rule__ExactMultiplicity__Group__1__Impl rule__ExactMultiplicity__Group__2 { - pushFollow(FOLLOW_49); - rule__MemberDefinition__Group__4__Impl(); + pushFollow(FOLLOW_48); + rule__ExactMultiplicity__Group__1__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__MemberDefinition__Group__5(); + rule__ExactMultiplicity__Group__2(); state._fsp--; @@ -19424,46 +24649,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__MemberDefinition__Group__4" + // $ANTLR end "rule__ExactMultiplicity__Group__1" - // $ANTLR start "rule__MemberDefinition__Group__4__Impl" - // InternalSolverLanguageParser.g:6262:1: rule__MemberDefinition__Group__4__Impl : ( ( rule__MemberDefinition__Group_4__0 )? ) ; - public final void rule__MemberDefinition__Group__4__Impl() throws RecognitionException { + // $ANTLR start "rule__ExactMultiplicity__Group__1__Impl" + // InternalSolverLanguageParser.g:7994:1: rule__ExactMultiplicity__Group__1__Impl : ( ( rule__ExactMultiplicity__MultiplicityAssignment_1 ) ) ; + public final void rule__ExactMultiplicity__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6266:1: ( ( ( rule__MemberDefinition__Group_4__0 )? ) ) - // InternalSolverLanguageParser.g:6267:1: ( ( rule__MemberDefinition__Group_4__0 )? ) + // InternalSolverLanguageParser.g:7998:1: ( ( ( rule__ExactMultiplicity__MultiplicityAssignment_1 ) ) ) + // InternalSolverLanguageParser.g:7999:1: ( ( rule__ExactMultiplicity__MultiplicityAssignment_1 ) ) { - // InternalSolverLanguageParser.g:6267:1: ( ( rule__MemberDefinition__Group_4__0 )? ) - // InternalSolverLanguageParser.g:6268:2: ( rule__MemberDefinition__Group_4__0 )? + // InternalSolverLanguageParser.g:7999:1: ( ( rule__ExactMultiplicity__MultiplicityAssignment_1 ) ) + // InternalSolverLanguageParser.g:8000:2: ( rule__ExactMultiplicity__MultiplicityAssignment_1 ) { - before(grammarAccess.getMemberDefinitionAccess().getGroup_4()); - // InternalSolverLanguageParser.g:6269:2: ( rule__MemberDefinition__Group_4__0 )? - int alt48=2; - int LA48_0 = input.LA(1); - - if ( (LA48_0==Opposite) ) { - alt48=1; - } - switch (alt48) { - case 1 : - // InternalSolverLanguageParser.g:6269:3: rule__MemberDefinition__Group_4__0 - { - pushFollow(FOLLOW_2); - rule__MemberDefinition__Group_4__0(); - - state._fsp--; + before(grammarAccess.getExactMultiplicityAccess().getMultiplicityAssignment_1()); + // InternalSolverLanguageParser.g:8001:2: ( rule__ExactMultiplicity__MultiplicityAssignment_1 ) + // InternalSolverLanguageParser.g:8001:3: rule__ExactMultiplicity__MultiplicityAssignment_1 + { + pushFollow(FOLLOW_2); + rule__ExactMultiplicity__MultiplicityAssignment_1(); + state._fsp--; - } - break; } - after(grammarAccess.getMemberDefinitionAccess().getGroup_4()); + after(grammarAccess.getExactMultiplicityAccess().getMultiplicityAssignment_1()); } @@ -19482,21 +24696,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__MemberDefinition__Group__4__Impl" + // $ANTLR end "rule__ExactMultiplicity__Group__1__Impl" - // $ANTLR start "rule__MemberDefinition__Group__5" - // InternalSolverLanguageParser.g:6277:1: rule__MemberDefinition__Group__5 : rule__MemberDefinition__Group__5__Impl ; - public final void rule__MemberDefinition__Group__5() throws RecognitionException { + // $ANTLR start "rule__ExactMultiplicity__Group__2" + // InternalSolverLanguageParser.g:8009:1: rule__ExactMultiplicity__Group__2 : rule__ExactMultiplicity__Group__2__Impl ; + public final void rule__ExactMultiplicity__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6281:1: ( rule__MemberDefinition__Group__5__Impl ) - // InternalSolverLanguageParser.g:6282:2: rule__MemberDefinition__Group__5__Impl + // InternalSolverLanguageParser.g:8013:1: ( rule__ExactMultiplicity__Group__2__Impl ) + // InternalSolverLanguageParser.g:8014:2: rule__ExactMultiplicity__Group__2__Impl { pushFollow(FOLLOW_2); - rule__MemberDefinition__Group__5__Impl(); + rule__ExactMultiplicity__Group__2__Impl(); state._fsp--; @@ -19515,42 +24729,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__MemberDefinition__Group__5" + // $ANTLR end "rule__ExactMultiplicity__Group__2" - // $ANTLR start "rule__MemberDefinition__Group__5__Impl" - // InternalSolverLanguageParser.g:6288:1: rule__MemberDefinition__Group__5__Impl : ( ( Semicolon )? ) ; - public final void rule__MemberDefinition__Group__5__Impl() throws RecognitionException { + // $ANTLR start "rule__ExactMultiplicity__Group__2__Impl" + // InternalSolverLanguageParser.g:8020:1: rule__ExactMultiplicity__Group__2__Impl : ( RightSquareBracket ) ; + public final void rule__ExactMultiplicity__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6292:1: ( ( ( Semicolon )? ) ) - // InternalSolverLanguageParser.g:6293:1: ( ( Semicolon )? ) + // InternalSolverLanguageParser.g:8024:1: ( ( RightSquareBracket ) ) + // InternalSolverLanguageParser.g:8025:1: ( RightSquareBracket ) { - // InternalSolverLanguageParser.g:6293:1: ( ( Semicolon )? ) - // InternalSolverLanguageParser.g:6294:2: ( Semicolon )? + // InternalSolverLanguageParser.g:8025:1: ( RightSquareBracket ) + // InternalSolverLanguageParser.g:8026:2: RightSquareBracket { - before(grammarAccess.getMemberDefinitionAccess().getSemicolonKeyword_5()); - // InternalSolverLanguageParser.g:6295:2: ( Semicolon )? - int alt49=2; - int LA49_0 = input.LA(1); - - if ( (LA49_0==Semicolon) ) { - alt49=1; - } - switch (alt49) { - case 1 : - // InternalSolverLanguageParser.g:6295:3: Semicolon - { - match(input,Semicolon,FOLLOW_2); - - } - break; - - } - - after(grammarAccess.getMemberDefinitionAccess().getSemicolonKeyword_5()); + before(grammarAccess.getExactMultiplicityAccess().getRightSquareBracketKeyword_2()); + match(input,RightSquareBracket,FOLLOW_2); + after(grammarAccess.getExactMultiplicityAccess().getRightSquareBracketKeyword_2()); } @@ -19569,26 +24766,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__MemberDefinition__Group__5__Impl" + // $ANTLR end "rule__ExactMultiplicity__Group__2__Impl" - // $ANTLR start "rule__MemberDefinition__Group_4__0" - // InternalSolverLanguageParser.g:6304:1: rule__MemberDefinition__Group_4__0 : rule__MemberDefinition__Group_4__0__Impl rule__MemberDefinition__Group_4__1 ; - public final void rule__MemberDefinition__Group_4__0() throws RecognitionException { + // $ANTLR start "rule__BoundedMultiplicity__Group__0" + // InternalSolverLanguageParser.g:8036:1: rule__BoundedMultiplicity__Group__0 : rule__BoundedMultiplicity__Group__0__Impl rule__BoundedMultiplicity__Group__1 ; + public final void rule__BoundedMultiplicity__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6308:1: ( rule__MemberDefinition__Group_4__0__Impl rule__MemberDefinition__Group_4__1 ) - // InternalSolverLanguageParser.g:6309:2: rule__MemberDefinition__Group_4__0__Impl rule__MemberDefinition__Group_4__1 + // InternalSolverLanguageParser.g:8040:1: ( rule__BoundedMultiplicity__Group__0__Impl rule__BoundedMultiplicity__Group__1 ) + // InternalSolverLanguageParser.g:8041:2: rule__BoundedMultiplicity__Group__0__Impl rule__BoundedMultiplicity__Group__1 { - pushFollow(FOLLOW_9); - rule__MemberDefinition__Group_4__0__Impl(); + pushFollow(FOLLOW_59); + rule__BoundedMultiplicity__Group__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__MemberDefinition__Group_4__1(); + rule__BoundedMultiplicity__Group__1(); state._fsp--; @@ -19607,25 +24804,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__MemberDefinition__Group_4__0" + // $ANTLR end "rule__BoundedMultiplicity__Group__0" - // $ANTLR start "rule__MemberDefinition__Group_4__0__Impl" - // InternalSolverLanguageParser.g:6316:1: rule__MemberDefinition__Group_4__0__Impl : ( Opposite ) ; - public final void rule__MemberDefinition__Group_4__0__Impl() throws RecognitionException { + // $ANTLR start "rule__BoundedMultiplicity__Group__0__Impl" + // InternalSolverLanguageParser.g:8048:1: rule__BoundedMultiplicity__Group__0__Impl : ( LeftSquareBracket ) ; + public final void rule__BoundedMultiplicity__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6320:1: ( ( Opposite ) ) - // InternalSolverLanguageParser.g:6321:1: ( Opposite ) + // InternalSolverLanguageParser.g:8052:1: ( ( LeftSquareBracket ) ) + // InternalSolverLanguageParser.g:8053:1: ( LeftSquareBracket ) { - // InternalSolverLanguageParser.g:6321:1: ( Opposite ) - // InternalSolverLanguageParser.g:6322:2: Opposite + // InternalSolverLanguageParser.g:8053:1: ( LeftSquareBracket ) + // InternalSolverLanguageParser.g:8054:2: LeftSquareBracket { - before(grammarAccess.getMemberDefinitionAccess().getOppositeKeyword_4_0()); - match(input,Opposite,FOLLOW_2); - after(grammarAccess.getMemberDefinitionAccess().getOppositeKeyword_4_0()); + before(grammarAccess.getBoundedMultiplicityAccess().getLeftSquareBracketKeyword_0()); + match(input,LeftSquareBracket,FOLLOW_2); + after(grammarAccess.getBoundedMultiplicityAccess().getLeftSquareBracketKeyword_0()); } @@ -19644,21 +24841,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__MemberDefinition__Group_4__0__Impl" + // $ANTLR end "rule__BoundedMultiplicity__Group__0__Impl" - // $ANTLR start "rule__MemberDefinition__Group_4__1" - // InternalSolverLanguageParser.g:6331:1: rule__MemberDefinition__Group_4__1 : rule__MemberDefinition__Group_4__1__Impl ; - public final void rule__MemberDefinition__Group_4__1() throws RecognitionException { + // $ANTLR start "rule__BoundedMultiplicity__Group__1" + // InternalSolverLanguageParser.g:8063:1: rule__BoundedMultiplicity__Group__1 : rule__BoundedMultiplicity__Group__1__Impl rule__BoundedMultiplicity__Group__2 ; + public final void rule__BoundedMultiplicity__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6335:1: ( rule__MemberDefinition__Group_4__1__Impl ) - // InternalSolverLanguageParser.g:6336:2: rule__MemberDefinition__Group_4__1__Impl + // InternalSolverLanguageParser.g:8067:1: ( rule__BoundedMultiplicity__Group__1__Impl rule__BoundedMultiplicity__Group__2 ) + // InternalSolverLanguageParser.g:8068:2: rule__BoundedMultiplicity__Group__1__Impl rule__BoundedMultiplicity__Group__2 { + pushFollow(FOLLOW_47); + rule__BoundedMultiplicity__Group__1__Impl(); + + state._fsp--; + pushFollow(FOLLOW_2); - rule__MemberDefinition__Group_4__1__Impl(); + rule__BoundedMultiplicity__Group__2(); state._fsp--; @@ -19677,35 +24879,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__MemberDefinition__Group_4__1" + // $ANTLR end "rule__BoundedMultiplicity__Group__1" - // $ANTLR start "rule__MemberDefinition__Group_4__1__Impl" - // InternalSolverLanguageParser.g:6342:1: rule__MemberDefinition__Group_4__1__Impl : ( ( rule__MemberDefinition__OppositeAssignment_4_1 ) ) ; - public final void rule__MemberDefinition__Group_4__1__Impl() throws RecognitionException { + // $ANTLR start "rule__BoundedMultiplicity__Group__1__Impl" + // InternalSolverLanguageParser.g:8075:1: rule__BoundedMultiplicity__Group__1__Impl : ( ( rule__BoundedMultiplicity__LowerBoundAssignment_1 ) ) ; + public final void rule__BoundedMultiplicity__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6346:1: ( ( ( rule__MemberDefinition__OppositeAssignment_4_1 ) ) ) - // InternalSolverLanguageParser.g:6347:1: ( ( rule__MemberDefinition__OppositeAssignment_4_1 ) ) + // InternalSolverLanguageParser.g:8079:1: ( ( ( rule__BoundedMultiplicity__LowerBoundAssignment_1 ) ) ) + // InternalSolverLanguageParser.g:8080:1: ( ( rule__BoundedMultiplicity__LowerBoundAssignment_1 ) ) { - // InternalSolverLanguageParser.g:6347:1: ( ( rule__MemberDefinition__OppositeAssignment_4_1 ) ) - // InternalSolverLanguageParser.g:6348:2: ( rule__MemberDefinition__OppositeAssignment_4_1 ) + // InternalSolverLanguageParser.g:8080:1: ( ( rule__BoundedMultiplicity__LowerBoundAssignment_1 ) ) + // InternalSolverLanguageParser.g:8081:2: ( rule__BoundedMultiplicity__LowerBoundAssignment_1 ) { - before(grammarAccess.getMemberDefinitionAccess().getOppositeAssignment_4_1()); - // InternalSolverLanguageParser.g:6349:2: ( rule__MemberDefinition__OppositeAssignment_4_1 ) - // InternalSolverLanguageParser.g:6349:3: rule__MemberDefinition__OppositeAssignment_4_1 + before(grammarAccess.getBoundedMultiplicityAccess().getLowerBoundAssignment_1()); + // InternalSolverLanguageParser.g:8082:2: ( rule__BoundedMultiplicity__LowerBoundAssignment_1 ) + // InternalSolverLanguageParser.g:8082:3: rule__BoundedMultiplicity__LowerBoundAssignment_1 { pushFollow(FOLLOW_2); - rule__MemberDefinition__OppositeAssignment_4_1(); + rule__BoundedMultiplicity__LowerBoundAssignment_1(); state._fsp--; } - after(grammarAccess.getMemberDefinitionAccess().getOppositeAssignment_4_1()); + after(grammarAccess.getBoundedMultiplicityAccess().getLowerBoundAssignment_1()); } @@ -19724,26 +24926,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__MemberDefinition__Group_4__1__Impl" + // $ANTLR end "rule__BoundedMultiplicity__Group__1__Impl" - // $ANTLR start "rule__ManyMultiplicity__Group__0" - // InternalSolverLanguageParser.g:6358:1: rule__ManyMultiplicity__Group__0 : rule__ManyMultiplicity__Group__0__Impl rule__ManyMultiplicity__Group__1 ; - public final void rule__ManyMultiplicity__Group__0() throws RecognitionException { + // $ANTLR start "rule__BoundedMultiplicity__Group__2" + // InternalSolverLanguageParser.g:8090:1: rule__BoundedMultiplicity__Group__2 : rule__BoundedMultiplicity__Group__2__Impl rule__BoundedMultiplicity__Group__3 ; + public final void rule__BoundedMultiplicity__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6362:1: ( rule__ManyMultiplicity__Group__0__Impl rule__ManyMultiplicity__Group__1 ) - // InternalSolverLanguageParser.g:6363:2: rule__ManyMultiplicity__Group__0__Impl rule__ManyMultiplicity__Group__1 + // InternalSolverLanguageParser.g:8094:1: ( rule__BoundedMultiplicity__Group__2__Impl rule__BoundedMultiplicity__Group__3 ) + // InternalSolverLanguageParser.g:8095:2: rule__BoundedMultiplicity__Group__2__Impl rule__BoundedMultiplicity__Group__3 { - pushFollow(FOLLOW_50); - rule__ManyMultiplicity__Group__0__Impl(); + pushFollow(FOLLOW_58); + rule__BoundedMultiplicity__Group__2__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__ManyMultiplicity__Group__1(); + rule__BoundedMultiplicity__Group__3(); state._fsp--; @@ -19762,29 +24964,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ManyMultiplicity__Group__0" + // $ANTLR end "rule__BoundedMultiplicity__Group__2" - // $ANTLR start "rule__ManyMultiplicity__Group__0__Impl" - // InternalSolverLanguageParser.g:6370:1: rule__ManyMultiplicity__Group__0__Impl : ( () ) ; - public final void rule__ManyMultiplicity__Group__0__Impl() throws RecognitionException { + // $ANTLR start "rule__BoundedMultiplicity__Group__2__Impl" + // InternalSolverLanguageParser.g:8102:1: rule__BoundedMultiplicity__Group__2__Impl : ( FullStopFullStop ) ; + public final void rule__BoundedMultiplicity__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6374:1: ( ( () ) ) - // InternalSolverLanguageParser.g:6375:1: ( () ) - { - // InternalSolverLanguageParser.g:6375:1: ( () ) - // InternalSolverLanguageParser.g:6376:2: () + // InternalSolverLanguageParser.g:8106:1: ( ( FullStopFullStop ) ) + // InternalSolverLanguageParser.g:8107:1: ( FullStopFullStop ) { - before(grammarAccess.getManyMultiplicityAccess().getManyMultiplicityAction_0()); - // InternalSolverLanguageParser.g:6377:2: () - // InternalSolverLanguageParser.g:6377:3: + // InternalSolverLanguageParser.g:8107:1: ( FullStopFullStop ) + // InternalSolverLanguageParser.g:8108:2: FullStopFullStop { - } - - after(grammarAccess.getManyMultiplicityAccess().getManyMultiplicityAction_0()); + before(grammarAccess.getBoundedMultiplicityAccess().getFullStopFullStopKeyword_2()); + match(input,FullStopFullStop,FOLLOW_2); + after(grammarAccess.getBoundedMultiplicityAccess().getFullStopFullStopKeyword_2()); } @@ -19792,6 +24990,10 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } finally { restoreStackSize(stackSize); @@ -19799,26 +25001,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ManyMultiplicity__Group__0__Impl" + // $ANTLR end "rule__BoundedMultiplicity__Group__2__Impl" - // $ANTLR start "rule__ManyMultiplicity__Group__1" - // InternalSolverLanguageParser.g:6385:1: rule__ManyMultiplicity__Group__1 : rule__ManyMultiplicity__Group__1__Impl rule__ManyMultiplicity__Group__2 ; - public final void rule__ManyMultiplicity__Group__1() throws RecognitionException { + // $ANTLR start "rule__BoundedMultiplicity__Group__3" + // InternalSolverLanguageParser.g:8117:1: rule__BoundedMultiplicity__Group__3 : rule__BoundedMultiplicity__Group__3__Impl rule__BoundedMultiplicity__Group__4 ; + public final void rule__BoundedMultiplicity__Group__3() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6389:1: ( rule__ManyMultiplicity__Group__1__Impl rule__ManyMultiplicity__Group__2 ) - // InternalSolverLanguageParser.g:6390:2: rule__ManyMultiplicity__Group__1__Impl rule__ManyMultiplicity__Group__2 + // InternalSolverLanguageParser.g:8121:1: ( rule__BoundedMultiplicity__Group__3__Impl rule__BoundedMultiplicity__Group__4 ) + // InternalSolverLanguageParser.g:8122:2: rule__BoundedMultiplicity__Group__3__Impl rule__BoundedMultiplicity__Group__4 { - pushFollow(FOLLOW_39); - rule__ManyMultiplicity__Group__1__Impl(); + pushFollow(FOLLOW_48); + rule__BoundedMultiplicity__Group__3__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__ManyMultiplicity__Group__2(); + rule__BoundedMultiplicity__Group__4(); state._fsp--; @@ -19837,25 +25039,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ManyMultiplicity__Group__1" + // $ANTLR end "rule__BoundedMultiplicity__Group__3" - // $ANTLR start "rule__ManyMultiplicity__Group__1__Impl" - // InternalSolverLanguageParser.g:6397:1: rule__ManyMultiplicity__Group__1__Impl : ( LeftSquareBracket ) ; - public final void rule__ManyMultiplicity__Group__1__Impl() throws RecognitionException { + // $ANTLR start "rule__BoundedMultiplicity__Group__3__Impl" + // InternalSolverLanguageParser.g:8129:1: rule__BoundedMultiplicity__Group__3__Impl : ( ( rule__BoundedMultiplicity__UpperBoundAssignment_3 ) ) ; + public final void rule__BoundedMultiplicity__Group__3__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6401:1: ( ( LeftSquareBracket ) ) - // InternalSolverLanguageParser.g:6402:1: ( LeftSquareBracket ) + // InternalSolverLanguageParser.g:8133:1: ( ( ( rule__BoundedMultiplicity__UpperBoundAssignment_3 ) ) ) + // InternalSolverLanguageParser.g:8134:1: ( ( rule__BoundedMultiplicity__UpperBoundAssignment_3 ) ) { - // InternalSolverLanguageParser.g:6402:1: ( LeftSquareBracket ) - // InternalSolverLanguageParser.g:6403:2: LeftSquareBracket + // InternalSolverLanguageParser.g:8134:1: ( ( rule__BoundedMultiplicity__UpperBoundAssignment_3 ) ) + // InternalSolverLanguageParser.g:8135:2: ( rule__BoundedMultiplicity__UpperBoundAssignment_3 ) { - before(grammarAccess.getManyMultiplicityAccess().getLeftSquareBracketKeyword_1()); - match(input,LeftSquareBracket,FOLLOW_2); - after(grammarAccess.getManyMultiplicityAccess().getLeftSquareBracketKeyword_1()); + before(grammarAccess.getBoundedMultiplicityAccess().getUpperBoundAssignment_3()); + // InternalSolverLanguageParser.g:8136:2: ( rule__BoundedMultiplicity__UpperBoundAssignment_3 ) + // InternalSolverLanguageParser.g:8136:3: rule__BoundedMultiplicity__UpperBoundAssignment_3 + { + pushFollow(FOLLOW_2); + rule__BoundedMultiplicity__UpperBoundAssignment_3(); + + state._fsp--; + + + } + + after(grammarAccess.getBoundedMultiplicityAccess().getUpperBoundAssignment_3()); } @@ -19874,21 +25086,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ManyMultiplicity__Group__1__Impl" + // $ANTLR end "rule__BoundedMultiplicity__Group__3__Impl" - // $ANTLR start "rule__ManyMultiplicity__Group__2" - // InternalSolverLanguageParser.g:6412:1: rule__ManyMultiplicity__Group__2 : rule__ManyMultiplicity__Group__2__Impl ; - public final void rule__ManyMultiplicity__Group__2() throws RecognitionException { + // $ANTLR start "rule__BoundedMultiplicity__Group__4" + // InternalSolverLanguageParser.g:8144:1: rule__BoundedMultiplicity__Group__4 : rule__BoundedMultiplicity__Group__4__Impl ; + public final void rule__BoundedMultiplicity__Group__4() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6416:1: ( rule__ManyMultiplicity__Group__2__Impl ) - // InternalSolverLanguageParser.g:6417:2: rule__ManyMultiplicity__Group__2__Impl + // InternalSolverLanguageParser.g:8148:1: ( rule__BoundedMultiplicity__Group__4__Impl ) + // InternalSolverLanguageParser.g:8149:2: rule__BoundedMultiplicity__Group__4__Impl { pushFollow(FOLLOW_2); - rule__ManyMultiplicity__Group__2__Impl(); + rule__BoundedMultiplicity__Group__4__Impl(); state._fsp--; @@ -19907,25 +25119,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ManyMultiplicity__Group__2" + // $ANTLR end "rule__BoundedMultiplicity__Group__4" - // $ANTLR start "rule__ManyMultiplicity__Group__2__Impl" - // InternalSolverLanguageParser.g:6423:1: rule__ManyMultiplicity__Group__2__Impl : ( RightSquareBracket ) ; - public final void rule__ManyMultiplicity__Group__2__Impl() throws RecognitionException { + // $ANTLR start "rule__BoundedMultiplicity__Group__4__Impl" + // InternalSolverLanguageParser.g:8155:1: rule__BoundedMultiplicity__Group__4__Impl : ( RightSquareBracket ) ; + public final void rule__BoundedMultiplicity__Group__4__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6427:1: ( ( RightSquareBracket ) ) - // InternalSolverLanguageParser.g:6428:1: ( RightSquareBracket ) + // InternalSolverLanguageParser.g:8159:1: ( ( RightSquareBracket ) ) + // InternalSolverLanguageParser.g:8160:1: ( RightSquareBracket ) { - // InternalSolverLanguageParser.g:6428:1: ( RightSquareBracket ) - // InternalSolverLanguageParser.g:6429:2: RightSquareBracket + // InternalSolverLanguageParser.g:8160:1: ( RightSquareBracket ) + // InternalSolverLanguageParser.g:8161:2: RightSquareBracket { - before(grammarAccess.getManyMultiplicityAccess().getRightSquareBracketKeyword_2()); + before(grammarAccess.getBoundedMultiplicityAccess().getRightSquareBracketKeyword_4()); match(input,RightSquareBracket,FOLLOW_2); - after(grammarAccess.getManyMultiplicityAccess().getRightSquareBracketKeyword_2()); + after(grammarAccess.getBoundedMultiplicityAccess().getRightSquareBracketKeyword_4()); } @@ -19944,26 +25156,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ManyMultiplicity__Group__2__Impl" + // $ANTLR end "rule__BoundedMultiplicity__Group__4__Impl" - // $ANTLR start "rule__ExactMultiplicity__Group__0" - // InternalSolverLanguageParser.g:6439:1: rule__ExactMultiplicity__Group__0 : rule__ExactMultiplicity__Group__0__Impl rule__ExactMultiplicity__Group__1 ; - public final void rule__ExactMultiplicity__Group__0() throws RecognitionException { + // $ANTLR start "rule__ExactScopeDefinition__Group__0" + // InternalSolverLanguageParser.g:8171:1: rule__ExactScopeDefinition__Group__0 : rule__ExactScopeDefinition__Group__0__Impl rule__ExactScopeDefinition__Group__1 ; + public final void rule__ExactScopeDefinition__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6443:1: ( rule__ExactMultiplicity__Group__0__Impl rule__ExactMultiplicity__Group__1 ) - // InternalSolverLanguageParser.g:6444:2: rule__ExactMultiplicity__Group__0__Impl rule__ExactMultiplicity__Group__1 + // InternalSolverLanguageParser.g:8175:1: ( rule__ExactScopeDefinition__Group__0__Impl rule__ExactScopeDefinition__Group__1 ) + // InternalSolverLanguageParser.g:8176:2: rule__ExactScopeDefinition__Group__0__Impl rule__ExactScopeDefinition__Group__1 { - pushFollow(FOLLOW_51); - rule__ExactMultiplicity__Group__0__Impl(); + pushFollow(FOLLOW_9); + rule__ExactScopeDefinition__Group__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__ExactMultiplicity__Group__1(); + rule__ExactScopeDefinition__Group__1(); state._fsp--; @@ -19982,25 +25194,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ExactMultiplicity__Group__0" + // $ANTLR end "rule__ExactScopeDefinition__Group__0" - // $ANTLR start "rule__ExactMultiplicity__Group__0__Impl" - // InternalSolverLanguageParser.g:6451:1: rule__ExactMultiplicity__Group__0__Impl : ( LeftSquareBracket ) ; - public final void rule__ExactMultiplicity__Group__0__Impl() throws RecognitionException { + // $ANTLR start "rule__ExactScopeDefinition__Group__0__Impl" + // InternalSolverLanguageParser.g:8183:1: rule__ExactScopeDefinition__Group__0__Impl : ( Scope ) ; + public final void rule__ExactScopeDefinition__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6455:1: ( ( LeftSquareBracket ) ) - // InternalSolverLanguageParser.g:6456:1: ( LeftSquareBracket ) + // InternalSolverLanguageParser.g:8187:1: ( ( Scope ) ) + // InternalSolverLanguageParser.g:8188:1: ( Scope ) { - // InternalSolverLanguageParser.g:6456:1: ( LeftSquareBracket ) - // InternalSolverLanguageParser.g:6457:2: LeftSquareBracket + // InternalSolverLanguageParser.g:8188:1: ( Scope ) + // InternalSolverLanguageParser.g:8189:2: Scope { - before(grammarAccess.getExactMultiplicityAccess().getLeftSquareBracketKeyword_0()); - match(input,LeftSquareBracket,FOLLOW_2); - after(grammarAccess.getExactMultiplicityAccess().getLeftSquareBracketKeyword_0()); + before(grammarAccess.getExactScopeDefinitionAccess().getScopeKeyword_0()); + match(input,Scope,FOLLOW_2); + after(grammarAccess.getExactScopeDefinitionAccess().getScopeKeyword_0()); } @@ -20019,26 +25231,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ExactMultiplicity__Group__0__Impl" + // $ANTLR end "rule__ExactScopeDefinition__Group__0__Impl" - // $ANTLR start "rule__ExactMultiplicity__Group__1" - // InternalSolverLanguageParser.g:6466:1: rule__ExactMultiplicity__Group__1 : rule__ExactMultiplicity__Group__1__Impl rule__ExactMultiplicity__Group__2 ; - public final void rule__ExactMultiplicity__Group__1() throws RecognitionException { + // $ANTLR start "rule__ExactScopeDefinition__Group__1" + // InternalSolverLanguageParser.g:8198:1: rule__ExactScopeDefinition__Group__1 : rule__ExactScopeDefinition__Group__1__Impl rule__ExactScopeDefinition__Group__2 ; + public final void rule__ExactScopeDefinition__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6470:1: ( rule__ExactMultiplicity__Group__1__Impl rule__ExactMultiplicity__Group__2 ) - // InternalSolverLanguageParser.g:6471:2: rule__ExactMultiplicity__Group__1__Impl rule__ExactMultiplicity__Group__2 + // InternalSolverLanguageParser.g:8202:1: ( rule__ExactScopeDefinition__Group__1__Impl rule__ExactScopeDefinition__Group__2 ) + // InternalSolverLanguageParser.g:8203:2: rule__ExactScopeDefinition__Group__1__Impl rule__ExactScopeDefinition__Group__2 { - pushFollow(FOLLOW_39); - rule__ExactMultiplicity__Group__1__Impl(); + pushFollow(FOLLOW_60); + rule__ExactScopeDefinition__Group__1__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__ExactMultiplicity__Group__2(); + rule__ExactScopeDefinition__Group__2(); state._fsp--; @@ -20057,35 +25269,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ExactMultiplicity__Group__1" + // $ANTLR end "rule__ExactScopeDefinition__Group__1" - // $ANTLR start "rule__ExactMultiplicity__Group__1__Impl" - // InternalSolverLanguageParser.g:6478:1: rule__ExactMultiplicity__Group__1__Impl : ( ( rule__ExactMultiplicity__MultiplicityAssignment_1 ) ) ; - public final void rule__ExactMultiplicity__Group__1__Impl() throws RecognitionException { + // $ANTLR start "rule__ExactScopeDefinition__Group__1__Impl" + // InternalSolverLanguageParser.g:8210:1: rule__ExactScopeDefinition__Group__1__Impl : ( ( rule__ExactScopeDefinition__TypeAssignment_1 ) ) ; + public final void rule__ExactScopeDefinition__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6482:1: ( ( ( rule__ExactMultiplicity__MultiplicityAssignment_1 ) ) ) - // InternalSolverLanguageParser.g:6483:1: ( ( rule__ExactMultiplicity__MultiplicityAssignment_1 ) ) + // InternalSolverLanguageParser.g:8214:1: ( ( ( rule__ExactScopeDefinition__TypeAssignment_1 ) ) ) + // InternalSolverLanguageParser.g:8215:1: ( ( rule__ExactScopeDefinition__TypeAssignment_1 ) ) { - // InternalSolverLanguageParser.g:6483:1: ( ( rule__ExactMultiplicity__MultiplicityAssignment_1 ) ) - // InternalSolverLanguageParser.g:6484:2: ( rule__ExactMultiplicity__MultiplicityAssignment_1 ) + // InternalSolverLanguageParser.g:8215:1: ( ( rule__ExactScopeDefinition__TypeAssignment_1 ) ) + // InternalSolverLanguageParser.g:8216:2: ( rule__ExactScopeDefinition__TypeAssignment_1 ) { - before(grammarAccess.getExactMultiplicityAccess().getMultiplicityAssignment_1()); - // InternalSolverLanguageParser.g:6485:2: ( rule__ExactMultiplicity__MultiplicityAssignment_1 ) - // InternalSolverLanguageParser.g:6485:3: rule__ExactMultiplicity__MultiplicityAssignment_1 + before(grammarAccess.getExactScopeDefinitionAccess().getTypeAssignment_1()); + // InternalSolverLanguageParser.g:8217:2: ( rule__ExactScopeDefinition__TypeAssignment_1 ) + // InternalSolverLanguageParser.g:8217:3: rule__ExactScopeDefinition__TypeAssignment_1 { pushFollow(FOLLOW_2); - rule__ExactMultiplicity__MultiplicityAssignment_1(); + rule__ExactScopeDefinition__TypeAssignment_1(); state._fsp--; } - after(grammarAccess.getExactMultiplicityAccess().getMultiplicityAssignment_1()); + after(grammarAccess.getExactScopeDefinitionAccess().getTypeAssignment_1()); } @@ -20104,21 +25316,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ExactMultiplicity__Group__1__Impl" + // $ANTLR end "rule__ExactScopeDefinition__Group__1__Impl" - // $ANTLR start "rule__ExactMultiplicity__Group__2" - // InternalSolverLanguageParser.g:6493:1: rule__ExactMultiplicity__Group__2 : rule__ExactMultiplicity__Group__2__Impl ; - public final void rule__ExactMultiplicity__Group__2() throws RecognitionException { + // $ANTLR start "rule__ExactScopeDefinition__Group__2" + // InternalSolverLanguageParser.g:8225:1: rule__ExactScopeDefinition__Group__2 : rule__ExactScopeDefinition__Group__2__Impl rule__ExactScopeDefinition__Group__3 ; + public final void rule__ExactScopeDefinition__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6497:1: ( rule__ExactMultiplicity__Group__2__Impl ) - // InternalSolverLanguageParser.g:6498:2: rule__ExactMultiplicity__Group__2__Impl + // InternalSolverLanguageParser.g:8229:1: ( rule__ExactScopeDefinition__Group__2__Impl rule__ExactScopeDefinition__Group__3 ) + // InternalSolverLanguageParser.g:8230:2: rule__ExactScopeDefinition__Group__2__Impl rule__ExactScopeDefinition__Group__3 { + pushFollow(FOLLOW_59); + rule__ExactScopeDefinition__Group__2__Impl(); + + state._fsp--; + pushFollow(FOLLOW_2); - rule__ExactMultiplicity__Group__2__Impl(); + rule__ExactScopeDefinition__Group__3(); state._fsp--; @@ -20137,25 +25354,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ExactMultiplicity__Group__2" + // $ANTLR end "rule__ExactScopeDefinition__Group__2" - // $ANTLR start "rule__ExactMultiplicity__Group__2__Impl" - // InternalSolverLanguageParser.g:6504:1: rule__ExactMultiplicity__Group__2__Impl : ( RightSquareBracket ) ; - public final void rule__ExactMultiplicity__Group__2__Impl() throws RecognitionException { + // $ANTLR start "rule__ExactScopeDefinition__Group__2__Impl" + // InternalSolverLanguageParser.g:8237:1: rule__ExactScopeDefinition__Group__2__Impl : ( EqualsSignEqualsSign ) ; + public final void rule__ExactScopeDefinition__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6508:1: ( ( RightSquareBracket ) ) - // InternalSolverLanguageParser.g:6509:1: ( RightSquareBracket ) + // InternalSolverLanguageParser.g:8241:1: ( ( EqualsSignEqualsSign ) ) + // InternalSolverLanguageParser.g:8242:1: ( EqualsSignEqualsSign ) { - // InternalSolverLanguageParser.g:6509:1: ( RightSquareBracket ) - // InternalSolverLanguageParser.g:6510:2: RightSquareBracket + // InternalSolverLanguageParser.g:8242:1: ( EqualsSignEqualsSign ) + // InternalSolverLanguageParser.g:8243:2: EqualsSignEqualsSign { - before(grammarAccess.getExactMultiplicityAccess().getRightSquareBracketKeyword_2()); - match(input,RightSquareBracket,FOLLOW_2); - after(grammarAccess.getExactMultiplicityAccess().getRightSquareBracketKeyword_2()); + before(grammarAccess.getExactScopeDefinitionAccess().getEqualsSignEqualsSignKeyword_2()); + match(input,EqualsSignEqualsSign,FOLLOW_2); + after(grammarAccess.getExactScopeDefinitionAccess().getEqualsSignEqualsSignKeyword_2()); } @@ -20174,26 +25391,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ExactMultiplicity__Group__2__Impl" + // $ANTLR end "rule__ExactScopeDefinition__Group__2__Impl" - // $ANTLR start "rule__BoundedMultiplicity__Group__0" - // InternalSolverLanguageParser.g:6520:1: rule__BoundedMultiplicity__Group__0 : rule__BoundedMultiplicity__Group__0__Impl rule__BoundedMultiplicity__Group__1 ; - public final void rule__BoundedMultiplicity__Group__0() throws RecognitionException { + // $ANTLR start "rule__ExactScopeDefinition__Group__3" + // InternalSolverLanguageParser.g:8252:1: rule__ExactScopeDefinition__Group__3 : rule__ExactScopeDefinition__Group__3__Impl ; + public final void rule__ExactScopeDefinition__Group__3() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6524:1: ( rule__BoundedMultiplicity__Group__0__Impl rule__BoundedMultiplicity__Group__1 ) - // InternalSolverLanguageParser.g:6525:2: rule__BoundedMultiplicity__Group__0__Impl rule__BoundedMultiplicity__Group__1 + // InternalSolverLanguageParser.g:8256:1: ( rule__ExactScopeDefinition__Group__3__Impl ) + // InternalSolverLanguageParser.g:8257:2: rule__ExactScopeDefinition__Group__3__Impl { - pushFollow(FOLLOW_52); - rule__BoundedMultiplicity__Group__0__Impl(); - - state._fsp--; - pushFollow(FOLLOW_2); - rule__BoundedMultiplicity__Group__1(); + rule__ExactScopeDefinition__Group__3__Impl(); state._fsp--; @@ -20212,25 +25424,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__BoundedMultiplicity__Group__0" + // $ANTLR end "rule__ExactScopeDefinition__Group__3" - // $ANTLR start "rule__BoundedMultiplicity__Group__0__Impl" - // InternalSolverLanguageParser.g:6532:1: rule__BoundedMultiplicity__Group__0__Impl : ( LeftSquareBracket ) ; - public final void rule__BoundedMultiplicity__Group__0__Impl() throws RecognitionException { + // $ANTLR start "rule__ExactScopeDefinition__Group__3__Impl" + // InternalSolverLanguageParser.g:8263:1: rule__ExactScopeDefinition__Group__3__Impl : ( ( rule__ExactScopeDefinition__ExactScopeAssignment_3 ) ) ; + public final void rule__ExactScopeDefinition__Group__3__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6536:1: ( ( LeftSquareBracket ) ) - // InternalSolverLanguageParser.g:6537:1: ( LeftSquareBracket ) + // InternalSolverLanguageParser.g:8267:1: ( ( ( rule__ExactScopeDefinition__ExactScopeAssignment_3 ) ) ) + // InternalSolverLanguageParser.g:8268:1: ( ( rule__ExactScopeDefinition__ExactScopeAssignment_3 ) ) { - // InternalSolverLanguageParser.g:6537:1: ( LeftSquareBracket ) - // InternalSolverLanguageParser.g:6538:2: LeftSquareBracket + // InternalSolverLanguageParser.g:8268:1: ( ( rule__ExactScopeDefinition__ExactScopeAssignment_3 ) ) + // InternalSolverLanguageParser.g:8269:2: ( rule__ExactScopeDefinition__ExactScopeAssignment_3 ) { - before(grammarAccess.getBoundedMultiplicityAccess().getLeftSquareBracketKeyword_0()); - match(input,LeftSquareBracket,FOLLOW_2); - after(grammarAccess.getBoundedMultiplicityAccess().getLeftSquareBracketKeyword_0()); + before(grammarAccess.getExactScopeDefinitionAccess().getExactScopeAssignment_3()); + // InternalSolverLanguageParser.g:8270:2: ( rule__ExactScopeDefinition__ExactScopeAssignment_3 ) + // InternalSolverLanguageParser.g:8270:3: rule__ExactScopeDefinition__ExactScopeAssignment_3 + { + pushFollow(FOLLOW_2); + rule__ExactScopeDefinition__ExactScopeAssignment_3(); + + state._fsp--; + + + } + + after(grammarAccess.getExactScopeDefinitionAccess().getExactScopeAssignment_3()); } @@ -20249,26 +25471,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__BoundedMultiplicity__Group__0__Impl" + // $ANTLR end "rule__ExactScopeDefinition__Group__3__Impl" - // $ANTLR start "rule__BoundedMultiplicity__Group__1" - // InternalSolverLanguageParser.g:6547:1: rule__BoundedMultiplicity__Group__1 : rule__BoundedMultiplicity__Group__1__Impl rule__BoundedMultiplicity__Group__2 ; - public final void rule__BoundedMultiplicity__Group__1() throws RecognitionException { + // $ANTLR start "rule__BoundedScopeDefinition__Group__0" + // InternalSolverLanguageParser.g:8279:1: rule__BoundedScopeDefinition__Group__0 : rule__BoundedScopeDefinition__Group__0__Impl rule__BoundedScopeDefinition__Group__1 ; + public final void rule__BoundedScopeDefinition__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6551:1: ( rule__BoundedMultiplicity__Group__1__Impl rule__BoundedMultiplicity__Group__2 ) - // InternalSolverLanguageParser.g:6552:2: rule__BoundedMultiplicity__Group__1__Impl rule__BoundedMultiplicity__Group__2 + // InternalSolverLanguageParser.g:8283:1: ( rule__BoundedScopeDefinition__Group__0__Impl rule__BoundedScopeDefinition__Group__1 ) + // InternalSolverLanguageParser.g:8284:2: rule__BoundedScopeDefinition__Group__0__Impl rule__BoundedScopeDefinition__Group__1 { - pushFollow(FOLLOW_38); - rule__BoundedMultiplicity__Group__1__Impl(); + pushFollow(FOLLOW_61); + rule__BoundedScopeDefinition__Group__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__BoundedMultiplicity__Group__2(); + rule__BoundedScopeDefinition__Group__1(); state._fsp--; @@ -20287,35 +25509,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__BoundedMultiplicity__Group__1" + // $ANTLR end "rule__BoundedScopeDefinition__Group__0" - // $ANTLR start "rule__BoundedMultiplicity__Group__1__Impl" - // InternalSolverLanguageParser.g:6559:1: rule__BoundedMultiplicity__Group__1__Impl : ( ( rule__BoundedMultiplicity__LowerBoundAssignment_1 ) ) ; - public final void rule__BoundedMultiplicity__Group__1__Impl() throws RecognitionException { + // $ANTLR start "rule__BoundedScopeDefinition__Group__0__Impl" + // InternalSolverLanguageParser.g:8291:1: rule__BoundedScopeDefinition__Group__0__Impl : ( Scope ) ; + public final void rule__BoundedScopeDefinition__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6563:1: ( ( ( rule__BoundedMultiplicity__LowerBoundAssignment_1 ) ) ) - // InternalSolverLanguageParser.g:6564:1: ( ( rule__BoundedMultiplicity__LowerBoundAssignment_1 ) ) + // InternalSolverLanguageParser.g:8295:1: ( ( Scope ) ) + // InternalSolverLanguageParser.g:8296:1: ( Scope ) { - // InternalSolverLanguageParser.g:6564:1: ( ( rule__BoundedMultiplicity__LowerBoundAssignment_1 ) ) - // InternalSolverLanguageParser.g:6565:2: ( rule__BoundedMultiplicity__LowerBoundAssignment_1 ) + // InternalSolverLanguageParser.g:8296:1: ( Scope ) + // InternalSolverLanguageParser.g:8297:2: Scope { - before(grammarAccess.getBoundedMultiplicityAccess().getLowerBoundAssignment_1()); - // InternalSolverLanguageParser.g:6566:2: ( rule__BoundedMultiplicity__LowerBoundAssignment_1 ) - // InternalSolverLanguageParser.g:6566:3: rule__BoundedMultiplicity__LowerBoundAssignment_1 - { - pushFollow(FOLLOW_2); - rule__BoundedMultiplicity__LowerBoundAssignment_1(); - - state._fsp--; - - - } - - after(grammarAccess.getBoundedMultiplicityAccess().getLowerBoundAssignment_1()); + before(grammarAccess.getBoundedScopeDefinitionAccess().getScopeKeyword_0()); + match(input,Scope,FOLLOW_2); + after(grammarAccess.getBoundedScopeDefinitionAccess().getScopeKeyword_0()); } @@ -20334,26 +25546,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__BoundedMultiplicity__Group__1__Impl" + // $ANTLR end "rule__BoundedScopeDefinition__Group__0__Impl" - // $ANTLR start "rule__BoundedMultiplicity__Group__2" - // InternalSolverLanguageParser.g:6574:1: rule__BoundedMultiplicity__Group__2 : rule__BoundedMultiplicity__Group__2__Impl rule__BoundedMultiplicity__Group__3 ; - public final void rule__BoundedMultiplicity__Group__2() throws RecognitionException { + // $ANTLR start "rule__BoundedScopeDefinition__Group__1" + // InternalSolverLanguageParser.g:8306:1: rule__BoundedScopeDefinition__Group__1 : rule__BoundedScopeDefinition__Group__1__Impl ; + public final void rule__BoundedScopeDefinition__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6578:1: ( rule__BoundedMultiplicity__Group__2__Impl rule__BoundedMultiplicity__Group__3 ) - // InternalSolverLanguageParser.g:6579:2: rule__BoundedMultiplicity__Group__2__Impl rule__BoundedMultiplicity__Group__3 + // InternalSolverLanguageParser.g:8310:1: ( rule__BoundedScopeDefinition__Group__1__Impl ) + // InternalSolverLanguageParser.g:8311:2: rule__BoundedScopeDefinition__Group__1__Impl { - pushFollow(FOLLOW_51); - rule__BoundedMultiplicity__Group__2__Impl(); - - state._fsp--; - pushFollow(FOLLOW_2); - rule__BoundedMultiplicity__Group__3(); + rule__BoundedScopeDefinition__Group__1__Impl(); state._fsp--; @@ -20372,25 +25579,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__BoundedMultiplicity__Group__2" + // $ANTLR end "rule__BoundedScopeDefinition__Group__1" - // $ANTLR start "rule__BoundedMultiplicity__Group__2__Impl" - // InternalSolverLanguageParser.g:6586:1: rule__BoundedMultiplicity__Group__2__Impl : ( FullStopFullStop ) ; - public final void rule__BoundedMultiplicity__Group__2__Impl() throws RecognitionException { + // $ANTLR start "rule__BoundedScopeDefinition__Group__1__Impl" + // InternalSolverLanguageParser.g:8317:1: rule__BoundedScopeDefinition__Group__1__Impl : ( ( rule__BoundedScopeDefinition__Alternatives_1 ) ) ; + public final void rule__BoundedScopeDefinition__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6590:1: ( ( FullStopFullStop ) ) - // InternalSolverLanguageParser.g:6591:1: ( FullStopFullStop ) + // InternalSolverLanguageParser.g:8321:1: ( ( ( rule__BoundedScopeDefinition__Alternatives_1 ) ) ) + // InternalSolverLanguageParser.g:8322:1: ( ( rule__BoundedScopeDefinition__Alternatives_1 ) ) { - // InternalSolverLanguageParser.g:6591:1: ( FullStopFullStop ) - // InternalSolverLanguageParser.g:6592:2: FullStopFullStop + // InternalSolverLanguageParser.g:8322:1: ( ( rule__BoundedScopeDefinition__Alternatives_1 ) ) + // InternalSolverLanguageParser.g:8323:2: ( rule__BoundedScopeDefinition__Alternatives_1 ) { - before(grammarAccess.getBoundedMultiplicityAccess().getFullStopFullStopKeyword_2()); - match(input,FullStopFullStop,FOLLOW_2); - after(grammarAccess.getBoundedMultiplicityAccess().getFullStopFullStopKeyword_2()); + before(grammarAccess.getBoundedScopeDefinitionAccess().getAlternatives_1()); + // InternalSolverLanguageParser.g:8324:2: ( rule__BoundedScopeDefinition__Alternatives_1 ) + // InternalSolverLanguageParser.g:8324:3: rule__BoundedScopeDefinition__Alternatives_1 + { + pushFollow(FOLLOW_2); + rule__BoundedScopeDefinition__Alternatives_1(); + + state._fsp--; + + + } + + after(grammarAccess.getBoundedScopeDefinitionAccess().getAlternatives_1()); } @@ -20409,26 +25626,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__BoundedMultiplicity__Group__2__Impl" + // $ANTLR end "rule__BoundedScopeDefinition__Group__1__Impl" - // $ANTLR start "rule__BoundedMultiplicity__Group__3" - // InternalSolverLanguageParser.g:6601:1: rule__BoundedMultiplicity__Group__3 : rule__BoundedMultiplicity__Group__3__Impl rule__BoundedMultiplicity__Group__4 ; - public final void rule__BoundedMultiplicity__Group__3() throws RecognitionException { + // $ANTLR start "rule__BoundedScopeDefinition__Group_1_0__0" + // InternalSolverLanguageParser.g:8333:1: rule__BoundedScopeDefinition__Group_1_0__0 : rule__BoundedScopeDefinition__Group_1_0__0__Impl rule__BoundedScopeDefinition__Group_1_0__1 ; + public final void rule__BoundedScopeDefinition__Group_1_0__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6605:1: ( rule__BoundedMultiplicity__Group__3__Impl rule__BoundedMultiplicity__Group__4 ) - // InternalSolverLanguageParser.g:6606:2: rule__BoundedMultiplicity__Group__3__Impl rule__BoundedMultiplicity__Group__4 + // InternalSolverLanguageParser.g:8337:1: ( rule__BoundedScopeDefinition__Group_1_0__0__Impl rule__BoundedScopeDefinition__Group_1_0__1 ) + // InternalSolverLanguageParser.g:8338:2: rule__BoundedScopeDefinition__Group_1_0__0__Impl rule__BoundedScopeDefinition__Group_1_0__1 { - pushFollow(FOLLOW_39); - rule__BoundedMultiplicity__Group__3__Impl(); + pushFollow(FOLLOW_61); + rule__BoundedScopeDefinition__Group_1_0__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__BoundedMultiplicity__Group__4(); + rule__BoundedScopeDefinition__Group_1_0__1(); state._fsp--; @@ -20447,35 +25664,46 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__BoundedMultiplicity__Group__3" + // $ANTLR end "rule__BoundedScopeDefinition__Group_1_0__0" - // $ANTLR start "rule__BoundedMultiplicity__Group__3__Impl" - // InternalSolverLanguageParser.g:6613:1: rule__BoundedMultiplicity__Group__3__Impl : ( ( rule__BoundedMultiplicity__UpperBoundAssignment_3 ) ) ; - public final void rule__BoundedMultiplicity__Group__3__Impl() throws RecognitionException { + // $ANTLR start "rule__BoundedScopeDefinition__Group_1_0__0__Impl" + // InternalSolverLanguageParser.g:8345:1: rule__BoundedScopeDefinition__Group_1_0__0__Impl : ( ( rule__BoundedScopeDefinition__Group_1_0_0__0 )? ) ; + public final void rule__BoundedScopeDefinition__Group_1_0__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6617:1: ( ( ( rule__BoundedMultiplicity__UpperBoundAssignment_3 ) ) ) - // InternalSolverLanguageParser.g:6618:1: ( ( rule__BoundedMultiplicity__UpperBoundAssignment_3 ) ) + // InternalSolverLanguageParser.g:8349:1: ( ( ( rule__BoundedScopeDefinition__Group_1_0_0__0 )? ) ) + // InternalSolverLanguageParser.g:8350:1: ( ( rule__BoundedScopeDefinition__Group_1_0_0__0 )? ) { - // InternalSolverLanguageParser.g:6618:1: ( ( rule__BoundedMultiplicity__UpperBoundAssignment_3 ) ) - // InternalSolverLanguageParser.g:6619:2: ( rule__BoundedMultiplicity__UpperBoundAssignment_3 ) + // InternalSolverLanguageParser.g:8350:1: ( ( rule__BoundedScopeDefinition__Group_1_0_0__0 )? ) + // InternalSolverLanguageParser.g:8351:2: ( rule__BoundedScopeDefinition__Group_1_0_0__0 )? { - before(grammarAccess.getBoundedMultiplicityAccess().getUpperBoundAssignment_3()); - // InternalSolverLanguageParser.g:6620:2: ( rule__BoundedMultiplicity__UpperBoundAssignment_3 ) - // InternalSolverLanguageParser.g:6620:3: rule__BoundedMultiplicity__UpperBoundAssignment_3 - { - pushFollow(FOLLOW_2); - rule__BoundedMultiplicity__UpperBoundAssignment_3(); + before(grammarAccess.getBoundedScopeDefinitionAccess().getGroup_1_0_0()); + // InternalSolverLanguageParser.g:8352:2: ( rule__BoundedScopeDefinition__Group_1_0_0__0 )? + int alt59=2; + int LA59_0 = input.LA(1); + + if ( (LA59_0==RULE_INT) ) { + alt59=1; + } + switch (alt59) { + case 1 : + // InternalSolverLanguageParser.g:8352:3: rule__BoundedScopeDefinition__Group_1_0_0__0 + { + pushFollow(FOLLOW_2); + rule__BoundedScopeDefinition__Group_1_0_0__0(); + + state._fsp--; - state._fsp--; + } + break; } - after(grammarAccess.getBoundedMultiplicityAccess().getUpperBoundAssignment_3()); + after(grammarAccess.getBoundedScopeDefinitionAccess().getGroup_1_0_0()); } @@ -20494,21 +25722,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__BoundedMultiplicity__Group__3__Impl" + // $ANTLR end "rule__BoundedScopeDefinition__Group_1_0__0__Impl" - // $ANTLR start "rule__BoundedMultiplicity__Group__4" - // InternalSolverLanguageParser.g:6628:1: rule__BoundedMultiplicity__Group__4 : rule__BoundedMultiplicity__Group__4__Impl ; - public final void rule__BoundedMultiplicity__Group__4() throws RecognitionException { + // $ANTLR start "rule__BoundedScopeDefinition__Group_1_0__1" + // InternalSolverLanguageParser.g:8360:1: rule__BoundedScopeDefinition__Group_1_0__1 : rule__BoundedScopeDefinition__Group_1_0__1__Impl rule__BoundedScopeDefinition__Group_1_0__2 ; + public final void rule__BoundedScopeDefinition__Group_1_0__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6632:1: ( rule__BoundedMultiplicity__Group__4__Impl ) - // InternalSolverLanguageParser.g:6633:2: rule__BoundedMultiplicity__Group__4__Impl + // InternalSolverLanguageParser.g:8364:1: ( rule__BoundedScopeDefinition__Group_1_0__1__Impl rule__BoundedScopeDefinition__Group_1_0__2 ) + // InternalSolverLanguageParser.g:8365:2: rule__BoundedScopeDefinition__Group_1_0__1__Impl rule__BoundedScopeDefinition__Group_1_0__2 { + pushFollow(FOLLOW_62); + rule__BoundedScopeDefinition__Group_1_0__1__Impl(); + + state._fsp--; + pushFollow(FOLLOW_2); - rule__BoundedMultiplicity__Group__4__Impl(); + rule__BoundedScopeDefinition__Group_1_0__2(); state._fsp--; @@ -20527,25 +25760,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__BoundedMultiplicity__Group__4" + // $ANTLR end "rule__BoundedScopeDefinition__Group_1_0__1" - // $ANTLR start "rule__BoundedMultiplicity__Group__4__Impl" - // InternalSolverLanguageParser.g:6639:1: rule__BoundedMultiplicity__Group__4__Impl : ( RightSquareBracket ) ; - public final void rule__BoundedMultiplicity__Group__4__Impl() throws RecognitionException { + // $ANTLR start "rule__BoundedScopeDefinition__Group_1_0__1__Impl" + // InternalSolverLanguageParser.g:8372:1: rule__BoundedScopeDefinition__Group_1_0__1__Impl : ( ( rule__BoundedScopeDefinition__TypeAssignment_1_0_1 ) ) ; + public final void rule__BoundedScopeDefinition__Group_1_0__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6643:1: ( ( RightSquareBracket ) ) - // InternalSolverLanguageParser.g:6644:1: ( RightSquareBracket ) + // InternalSolverLanguageParser.g:8376:1: ( ( ( rule__BoundedScopeDefinition__TypeAssignment_1_0_1 ) ) ) + // InternalSolverLanguageParser.g:8377:1: ( ( rule__BoundedScopeDefinition__TypeAssignment_1_0_1 ) ) { - // InternalSolverLanguageParser.g:6644:1: ( RightSquareBracket ) - // InternalSolverLanguageParser.g:6645:2: RightSquareBracket + // InternalSolverLanguageParser.g:8377:1: ( ( rule__BoundedScopeDefinition__TypeAssignment_1_0_1 ) ) + // InternalSolverLanguageParser.g:8378:2: ( rule__BoundedScopeDefinition__TypeAssignment_1_0_1 ) { - before(grammarAccess.getBoundedMultiplicityAccess().getRightSquareBracketKeyword_4()); - match(input,RightSquareBracket,FOLLOW_2); - after(grammarAccess.getBoundedMultiplicityAccess().getRightSquareBracketKeyword_4()); + before(grammarAccess.getBoundedScopeDefinitionAccess().getTypeAssignment_1_0_1()); + // InternalSolverLanguageParser.g:8379:2: ( rule__BoundedScopeDefinition__TypeAssignment_1_0_1 ) + // InternalSolverLanguageParser.g:8379:3: rule__BoundedScopeDefinition__TypeAssignment_1_0_1 + { + pushFollow(FOLLOW_2); + rule__BoundedScopeDefinition__TypeAssignment_1_0_1(); + + state._fsp--; + + + } + + after(grammarAccess.getBoundedScopeDefinitionAccess().getTypeAssignment_1_0_1()); } @@ -20564,26 +25807,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__BoundedMultiplicity__Group__4__Impl" + // $ANTLR end "rule__BoundedScopeDefinition__Group_1_0__1__Impl" - // $ANTLR start "rule__ExactScopeDefinition__Group__0" - // InternalSolverLanguageParser.g:6655:1: rule__ExactScopeDefinition__Group__0 : rule__ExactScopeDefinition__Group__0__Impl rule__ExactScopeDefinition__Group__1 ; - public final void rule__ExactScopeDefinition__Group__0() throws RecognitionException { + // $ANTLR start "rule__BoundedScopeDefinition__Group_1_0__2" + // InternalSolverLanguageParser.g:8387:1: rule__BoundedScopeDefinition__Group_1_0__2 : rule__BoundedScopeDefinition__Group_1_0__2__Impl rule__BoundedScopeDefinition__Group_1_0__3 ; + public final void rule__BoundedScopeDefinition__Group_1_0__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6659:1: ( rule__ExactScopeDefinition__Group__0__Impl rule__ExactScopeDefinition__Group__1 ) - // InternalSolverLanguageParser.g:6660:2: rule__ExactScopeDefinition__Group__0__Impl rule__ExactScopeDefinition__Group__1 + // InternalSolverLanguageParser.g:8391:1: ( rule__BoundedScopeDefinition__Group_1_0__2__Impl rule__BoundedScopeDefinition__Group_1_0__3 ) + // InternalSolverLanguageParser.g:8392:2: rule__BoundedScopeDefinition__Group_1_0__2__Impl rule__BoundedScopeDefinition__Group_1_0__3 { - pushFollow(FOLLOW_9); - rule__ExactScopeDefinition__Group__0__Impl(); + pushFollow(FOLLOW_59); + rule__BoundedScopeDefinition__Group_1_0__2__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__ExactScopeDefinition__Group__1(); + rule__BoundedScopeDefinition__Group_1_0__3(); state._fsp--; @@ -20602,25 +25845,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ExactScopeDefinition__Group__0" + // $ANTLR end "rule__BoundedScopeDefinition__Group_1_0__2" - // $ANTLR start "rule__ExactScopeDefinition__Group__0__Impl" - // InternalSolverLanguageParser.g:6667:1: rule__ExactScopeDefinition__Group__0__Impl : ( Scope ) ; - public final void rule__ExactScopeDefinition__Group__0__Impl() throws RecognitionException { + // $ANTLR start "rule__BoundedScopeDefinition__Group_1_0__2__Impl" + // InternalSolverLanguageParser.g:8399:1: rule__BoundedScopeDefinition__Group_1_0__2__Impl : ( LessThanSignEqualsSign ) ; + public final void rule__BoundedScopeDefinition__Group_1_0__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6671:1: ( ( Scope ) ) - // InternalSolverLanguageParser.g:6672:1: ( Scope ) + // InternalSolverLanguageParser.g:8403:1: ( ( LessThanSignEqualsSign ) ) + // InternalSolverLanguageParser.g:8404:1: ( LessThanSignEqualsSign ) { - // InternalSolverLanguageParser.g:6672:1: ( Scope ) - // InternalSolverLanguageParser.g:6673:2: Scope + // InternalSolverLanguageParser.g:8404:1: ( LessThanSignEqualsSign ) + // InternalSolverLanguageParser.g:8405:2: LessThanSignEqualsSign { - before(grammarAccess.getExactScopeDefinitionAccess().getScopeKeyword_0()); - match(input,Scope,FOLLOW_2); - after(grammarAccess.getExactScopeDefinitionAccess().getScopeKeyword_0()); + before(grammarAccess.getBoundedScopeDefinitionAccess().getLessThanSignEqualsSignKeyword_1_0_2()); + match(input,LessThanSignEqualsSign,FOLLOW_2); + after(grammarAccess.getBoundedScopeDefinitionAccess().getLessThanSignEqualsSignKeyword_1_0_2()); } @@ -20639,26 +25882,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ExactScopeDefinition__Group__0__Impl" + // $ANTLR end "rule__BoundedScopeDefinition__Group_1_0__2__Impl" - // $ANTLR start "rule__ExactScopeDefinition__Group__1" - // InternalSolverLanguageParser.g:6682:1: rule__ExactScopeDefinition__Group__1 : rule__ExactScopeDefinition__Group__1__Impl rule__ExactScopeDefinition__Group__2 ; - public final void rule__ExactScopeDefinition__Group__1() throws RecognitionException { + // $ANTLR start "rule__BoundedScopeDefinition__Group_1_0__3" + // InternalSolverLanguageParser.g:8414:1: rule__BoundedScopeDefinition__Group_1_0__3 : rule__BoundedScopeDefinition__Group_1_0__3__Impl ; + public final void rule__BoundedScopeDefinition__Group_1_0__3() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6686:1: ( rule__ExactScopeDefinition__Group__1__Impl rule__ExactScopeDefinition__Group__2 ) - // InternalSolverLanguageParser.g:6687:2: rule__ExactScopeDefinition__Group__1__Impl rule__ExactScopeDefinition__Group__2 + // InternalSolverLanguageParser.g:8418:1: ( rule__BoundedScopeDefinition__Group_1_0__3__Impl ) + // InternalSolverLanguageParser.g:8419:2: rule__BoundedScopeDefinition__Group_1_0__3__Impl { - pushFollow(FOLLOW_53); - rule__ExactScopeDefinition__Group__1__Impl(); - - state._fsp--; - pushFollow(FOLLOW_2); - rule__ExactScopeDefinition__Group__2(); + rule__BoundedScopeDefinition__Group_1_0__3__Impl(); state._fsp--; @@ -20677,35 +25915,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ExactScopeDefinition__Group__1" + // $ANTLR end "rule__BoundedScopeDefinition__Group_1_0__3" - // $ANTLR start "rule__ExactScopeDefinition__Group__1__Impl" - // InternalSolverLanguageParser.g:6694:1: rule__ExactScopeDefinition__Group__1__Impl : ( ( rule__ExactScopeDefinition__TypeAssignment_1 ) ) ; - public final void rule__ExactScopeDefinition__Group__1__Impl() throws RecognitionException { + // $ANTLR start "rule__BoundedScopeDefinition__Group_1_0__3__Impl" + // InternalSolverLanguageParser.g:8425:1: rule__BoundedScopeDefinition__Group_1_0__3__Impl : ( ( rule__BoundedScopeDefinition__UpperBoundAssignment_1_0_3 ) ) ; + public final void rule__BoundedScopeDefinition__Group_1_0__3__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6698:1: ( ( ( rule__ExactScopeDefinition__TypeAssignment_1 ) ) ) - // InternalSolverLanguageParser.g:6699:1: ( ( rule__ExactScopeDefinition__TypeAssignment_1 ) ) + // InternalSolverLanguageParser.g:8429:1: ( ( ( rule__BoundedScopeDefinition__UpperBoundAssignment_1_0_3 ) ) ) + // InternalSolverLanguageParser.g:8430:1: ( ( rule__BoundedScopeDefinition__UpperBoundAssignment_1_0_3 ) ) { - // InternalSolverLanguageParser.g:6699:1: ( ( rule__ExactScopeDefinition__TypeAssignment_1 ) ) - // InternalSolverLanguageParser.g:6700:2: ( rule__ExactScopeDefinition__TypeAssignment_1 ) + // InternalSolverLanguageParser.g:8430:1: ( ( rule__BoundedScopeDefinition__UpperBoundAssignment_1_0_3 ) ) + // InternalSolverLanguageParser.g:8431:2: ( rule__BoundedScopeDefinition__UpperBoundAssignment_1_0_3 ) { - before(grammarAccess.getExactScopeDefinitionAccess().getTypeAssignment_1()); - // InternalSolverLanguageParser.g:6701:2: ( rule__ExactScopeDefinition__TypeAssignment_1 ) - // InternalSolverLanguageParser.g:6701:3: rule__ExactScopeDefinition__TypeAssignment_1 + before(grammarAccess.getBoundedScopeDefinitionAccess().getUpperBoundAssignment_1_0_3()); + // InternalSolverLanguageParser.g:8432:2: ( rule__BoundedScopeDefinition__UpperBoundAssignment_1_0_3 ) + // InternalSolverLanguageParser.g:8432:3: rule__BoundedScopeDefinition__UpperBoundAssignment_1_0_3 { pushFollow(FOLLOW_2); - rule__ExactScopeDefinition__TypeAssignment_1(); + rule__BoundedScopeDefinition__UpperBoundAssignment_1_0_3(); state._fsp--; } - after(grammarAccess.getExactScopeDefinitionAccess().getTypeAssignment_1()); + after(grammarAccess.getBoundedScopeDefinitionAccess().getUpperBoundAssignment_1_0_3()); } @@ -20724,26 +25962,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ExactScopeDefinition__Group__1__Impl" + // $ANTLR end "rule__BoundedScopeDefinition__Group_1_0__3__Impl" - // $ANTLR start "rule__ExactScopeDefinition__Group__2" - // InternalSolverLanguageParser.g:6709:1: rule__ExactScopeDefinition__Group__2 : rule__ExactScopeDefinition__Group__2__Impl rule__ExactScopeDefinition__Group__3 ; - public final void rule__ExactScopeDefinition__Group__2() throws RecognitionException { + // $ANTLR start "rule__BoundedScopeDefinition__Group_1_0_0__0" + // InternalSolverLanguageParser.g:8441:1: rule__BoundedScopeDefinition__Group_1_0_0__0 : rule__BoundedScopeDefinition__Group_1_0_0__0__Impl rule__BoundedScopeDefinition__Group_1_0_0__1 ; + public final void rule__BoundedScopeDefinition__Group_1_0_0__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6713:1: ( rule__ExactScopeDefinition__Group__2__Impl rule__ExactScopeDefinition__Group__3 ) - // InternalSolverLanguageParser.g:6714:2: rule__ExactScopeDefinition__Group__2__Impl rule__ExactScopeDefinition__Group__3 + // InternalSolverLanguageParser.g:8445:1: ( rule__BoundedScopeDefinition__Group_1_0_0__0__Impl rule__BoundedScopeDefinition__Group_1_0_0__1 ) + // InternalSolverLanguageParser.g:8446:2: rule__BoundedScopeDefinition__Group_1_0_0__0__Impl rule__BoundedScopeDefinition__Group_1_0_0__1 { - pushFollow(FOLLOW_52); - rule__ExactScopeDefinition__Group__2__Impl(); + pushFollow(FOLLOW_62); + rule__BoundedScopeDefinition__Group_1_0_0__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__ExactScopeDefinition__Group__3(); + rule__BoundedScopeDefinition__Group_1_0_0__1(); state._fsp--; @@ -20762,25 +26000,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ExactScopeDefinition__Group__2" + // $ANTLR end "rule__BoundedScopeDefinition__Group_1_0_0__0" - // $ANTLR start "rule__ExactScopeDefinition__Group__2__Impl" - // InternalSolverLanguageParser.g:6721:1: rule__ExactScopeDefinition__Group__2__Impl : ( EqualsSignEqualsSign ) ; - public final void rule__ExactScopeDefinition__Group__2__Impl() throws RecognitionException { + // $ANTLR start "rule__BoundedScopeDefinition__Group_1_0_0__0__Impl" + // InternalSolverLanguageParser.g:8453:1: rule__BoundedScopeDefinition__Group_1_0_0__0__Impl : ( ( rule__BoundedScopeDefinition__LowerBoundAssignment_1_0_0_0 ) ) ; + public final void rule__BoundedScopeDefinition__Group_1_0_0__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6725:1: ( ( EqualsSignEqualsSign ) ) - // InternalSolverLanguageParser.g:6726:1: ( EqualsSignEqualsSign ) + // InternalSolverLanguageParser.g:8457:1: ( ( ( rule__BoundedScopeDefinition__LowerBoundAssignment_1_0_0_0 ) ) ) + // InternalSolverLanguageParser.g:8458:1: ( ( rule__BoundedScopeDefinition__LowerBoundAssignment_1_0_0_0 ) ) { - // InternalSolverLanguageParser.g:6726:1: ( EqualsSignEqualsSign ) - // InternalSolverLanguageParser.g:6727:2: EqualsSignEqualsSign + // InternalSolverLanguageParser.g:8458:1: ( ( rule__BoundedScopeDefinition__LowerBoundAssignment_1_0_0_0 ) ) + // InternalSolverLanguageParser.g:8459:2: ( rule__BoundedScopeDefinition__LowerBoundAssignment_1_0_0_0 ) { - before(grammarAccess.getExactScopeDefinitionAccess().getEqualsSignEqualsSignKeyword_2()); - match(input,EqualsSignEqualsSign,FOLLOW_2); - after(grammarAccess.getExactScopeDefinitionAccess().getEqualsSignEqualsSignKeyword_2()); + before(grammarAccess.getBoundedScopeDefinitionAccess().getLowerBoundAssignment_1_0_0_0()); + // InternalSolverLanguageParser.g:8460:2: ( rule__BoundedScopeDefinition__LowerBoundAssignment_1_0_0_0 ) + // InternalSolverLanguageParser.g:8460:3: rule__BoundedScopeDefinition__LowerBoundAssignment_1_0_0_0 + { + pushFollow(FOLLOW_2); + rule__BoundedScopeDefinition__LowerBoundAssignment_1_0_0_0(); + + state._fsp--; + + + } + + after(grammarAccess.getBoundedScopeDefinitionAccess().getLowerBoundAssignment_1_0_0_0()); } @@ -20799,21 +26047,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ExactScopeDefinition__Group__2__Impl" + // $ANTLR end "rule__BoundedScopeDefinition__Group_1_0_0__0__Impl" - // $ANTLR start "rule__ExactScopeDefinition__Group__3" - // InternalSolverLanguageParser.g:6736:1: rule__ExactScopeDefinition__Group__3 : rule__ExactScopeDefinition__Group__3__Impl ; - public final void rule__ExactScopeDefinition__Group__3() throws RecognitionException { + // $ANTLR start "rule__BoundedScopeDefinition__Group_1_0_0__1" + // InternalSolverLanguageParser.g:8468:1: rule__BoundedScopeDefinition__Group_1_0_0__1 : rule__BoundedScopeDefinition__Group_1_0_0__1__Impl ; + public final void rule__BoundedScopeDefinition__Group_1_0_0__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6740:1: ( rule__ExactScopeDefinition__Group__3__Impl ) - // InternalSolverLanguageParser.g:6741:2: rule__ExactScopeDefinition__Group__3__Impl + // InternalSolverLanguageParser.g:8472:1: ( rule__BoundedScopeDefinition__Group_1_0_0__1__Impl ) + // InternalSolverLanguageParser.g:8473:2: rule__BoundedScopeDefinition__Group_1_0_0__1__Impl { pushFollow(FOLLOW_2); - rule__ExactScopeDefinition__Group__3__Impl(); + rule__BoundedScopeDefinition__Group_1_0_0__1__Impl(); state._fsp--; @@ -20832,35 +26080,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ExactScopeDefinition__Group__3" + // $ANTLR end "rule__BoundedScopeDefinition__Group_1_0_0__1" - // $ANTLR start "rule__ExactScopeDefinition__Group__3__Impl" - // InternalSolverLanguageParser.g:6747:1: rule__ExactScopeDefinition__Group__3__Impl : ( ( rule__ExactScopeDefinition__ExactScopeAssignment_3 ) ) ; - public final void rule__ExactScopeDefinition__Group__3__Impl() throws RecognitionException { + // $ANTLR start "rule__BoundedScopeDefinition__Group_1_0_0__1__Impl" + // InternalSolverLanguageParser.g:8479:1: rule__BoundedScopeDefinition__Group_1_0_0__1__Impl : ( LessThanSignEqualsSign ) ; + public final void rule__BoundedScopeDefinition__Group_1_0_0__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6751:1: ( ( ( rule__ExactScopeDefinition__ExactScopeAssignment_3 ) ) ) - // InternalSolverLanguageParser.g:6752:1: ( ( rule__ExactScopeDefinition__ExactScopeAssignment_3 ) ) - { - // InternalSolverLanguageParser.g:6752:1: ( ( rule__ExactScopeDefinition__ExactScopeAssignment_3 ) ) - // InternalSolverLanguageParser.g:6753:2: ( rule__ExactScopeDefinition__ExactScopeAssignment_3 ) + // InternalSolverLanguageParser.g:8483:1: ( ( LessThanSignEqualsSign ) ) + // InternalSolverLanguageParser.g:8484:1: ( LessThanSignEqualsSign ) { - before(grammarAccess.getExactScopeDefinitionAccess().getExactScopeAssignment_3()); - // InternalSolverLanguageParser.g:6754:2: ( rule__ExactScopeDefinition__ExactScopeAssignment_3 ) - // InternalSolverLanguageParser.g:6754:3: rule__ExactScopeDefinition__ExactScopeAssignment_3 + // InternalSolverLanguageParser.g:8484:1: ( LessThanSignEqualsSign ) + // InternalSolverLanguageParser.g:8485:2: LessThanSignEqualsSign { - pushFollow(FOLLOW_2); - rule__ExactScopeDefinition__ExactScopeAssignment_3(); - - state._fsp--; - - - } - - after(grammarAccess.getExactScopeDefinitionAccess().getExactScopeAssignment_3()); + before(grammarAccess.getBoundedScopeDefinitionAccess().getLessThanSignEqualsSignKeyword_1_0_0_1()); + match(input,LessThanSignEqualsSign,FOLLOW_2); + after(grammarAccess.getBoundedScopeDefinitionAccess().getLessThanSignEqualsSignKeyword_1_0_0_1()); } @@ -20879,26 +26117,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ExactScopeDefinition__Group__3__Impl" + // $ANTLR end "rule__BoundedScopeDefinition__Group_1_0_0__1__Impl" - // $ANTLR start "rule__BoundedScopeDefinition__Group__0" - // InternalSolverLanguageParser.g:6763:1: rule__BoundedScopeDefinition__Group__0 : rule__BoundedScopeDefinition__Group__0__Impl rule__BoundedScopeDefinition__Group__1 ; - public final void rule__BoundedScopeDefinition__Group__0() throws RecognitionException { + // $ANTLR start "rule__BoundedScopeDefinition__Group_1_1__0" + // InternalSolverLanguageParser.g:8495:1: rule__BoundedScopeDefinition__Group_1_1__0 : rule__BoundedScopeDefinition__Group_1_1__0__Impl rule__BoundedScopeDefinition__Group_1_1__1 ; + public final void rule__BoundedScopeDefinition__Group_1_1__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6767:1: ( rule__BoundedScopeDefinition__Group__0__Impl rule__BoundedScopeDefinition__Group__1 ) - // InternalSolverLanguageParser.g:6768:2: rule__BoundedScopeDefinition__Group__0__Impl rule__BoundedScopeDefinition__Group__1 + // InternalSolverLanguageParser.g:8499:1: ( rule__BoundedScopeDefinition__Group_1_1__0__Impl rule__BoundedScopeDefinition__Group_1_1__1 ) + // InternalSolverLanguageParser.g:8500:2: rule__BoundedScopeDefinition__Group_1_1__0__Impl rule__BoundedScopeDefinition__Group_1_1__1 { - pushFollow(FOLLOW_54); - rule__BoundedScopeDefinition__Group__0__Impl(); + pushFollow(FOLLOW_63); + rule__BoundedScopeDefinition__Group_1_1__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__BoundedScopeDefinition__Group__1(); + rule__BoundedScopeDefinition__Group_1_1__1(); state._fsp--; @@ -20917,25 +26155,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__BoundedScopeDefinition__Group__0" + // $ANTLR end "rule__BoundedScopeDefinition__Group_1_1__0" - // $ANTLR start "rule__BoundedScopeDefinition__Group__0__Impl" - // InternalSolverLanguageParser.g:6775:1: rule__BoundedScopeDefinition__Group__0__Impl : ( Scope ) ; - public final void rule__BoundedScopeDefinition__Group__0__Impl() throws RecognitionException { + // $ANTLR start "rule__BoundedScopeDefinition__Group_1_1__0__Impl" + // InternalSolverLanguageParser.g:8507:1: rule__BoundedScopeDefinition__Group_1_1__0__Impl : ( ( rule__BoundedScopeDefinition__UpperBoundAssignment_1_1_0 ) ) ; + public final void rule__BoundedScopeDefinition__Group_1_1__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6779:1: ( ( Scope ) ) - // InternalSolverLanguageParser.g:6780:1: ( Scope ) + // InternalSolverLanguageParser.g:8511:1: ( ( ( rule__BoundedScopeDefinition__UpperBoundAssignment_1_1_0 ) ) ) + // InternalSolverLanguageParser.g:8512:1: ( ( rule__BoundedScopeDefinition__UpperBoundAssignment_1_1_0 ) ) { - // InternalSolverLanguageParser.g:6780:1: ( Scope ) - // InternalSolverLanguageParser.g:6781:2: Scope + // InternalSolverLanguageParser.g:8512:1: ( ( rule__BoundedScopeDefinition__UpperBoundAssignment_1_1_0 ) ) + // InternalSolverLanguageParser.g:8513:2: ( rule__BoundedScopeDefinition__UpperBoundAssignment_1_1_0 ) { - before(grammarAccess.getBoundedScopeDefinitionAccess().getScopeKeyword_0()); - match(input,Scope,FOLLOW_2); - after(grammarAccess.getBoundedScopeDefinitionAccess().getScopeKeyword_0()); + before(grammarAccess.getBoundedScopeDefinitionAccess().getUpperBoundAssignment_1_1_0()); + // InternalSolverLanguageParser.g:8514:2: ( rule__BoundedScopeDefinition__UpperBoundAssignment_1_1_0 ) + // InternalSolverLanguageParser.g:8514:3: rule__BoundedScopeDefinition__UpperBoundAssignment_1_1_0 + { + pushFollow(FOLLOW_2); + rule__BoundedScopeDefinition__UpperBoundAssignment_1_1_0(); + + state._fsp--; + + + } + + after(grammarAccess.getBoundedScopeDefinitionAccess().getUpperBoundAssignment_1_1_0()); } @@ -20954,21 +26202,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__BoundedScopeDefinition__Group__0__Impl" + // $ANTLR end "rule__BoundedScopeDefinition__Group_1_1__0__Impl" - // $ANTLR start "rule__BoundedScopeDefinition__Group__1" - // InternalSolverLanguageParser.g:6790:1: rule__BoundedScopeDefinition__Group__1 : rule__BoundedScopeDefinition__Group__1__Impl ; - public final void rule__BoundedScopeDefinition__Group__1() throws RecognitionException { + // $ANTLR start "rule__BoundedScopeDefinition__Group_1_1__1" + // InternalSolverLanguageParser.g:8522:1: rule__BoundedScopeDefinition__Group_1_1__1 : rule__BoundedScopeDefinition__Group_1_1__1__Impl rule__BoundedScopeDefinition__Group_1_1__2 ; + public final void rule__BoundedScopeDefinition__Group_1_1__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6794:1: ( rule__BoundedScopeDefinition__Group__1__Impl ) - // InternalSolverLanguageParser.g:6795:2: rule__BoundedScopeDefinition__Group__1__Impl + // InternalSolverLanguageParser.g:8526:1: ( rule__BoundedScopeDefinition__Group_1_1__1__Impl rule__BoundedScopeDefinition__Group_1_1__2 ) + // InternalSolverLanguageParser.g:8527:2: rule__BoundedScopeDefinition__Group_1_1__1__Impl rule__BoundedScopeDefinition__Group_1_1__2 { + pushFollow(FOLLOW_9); + rule__BoundedScopeDefinition__Group_1_1__1__Impl(); + + state._fsp--; + pushFollow(FOLLOW_2); - rule__BoundedScopeDefinition__Group__1__Impl(); + rule__BoundedScopeDefinition__Group_1_1__2(); state._fsp--; @@ -20987,35 +26240,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__BoundedScopeDefinition__Group__1" + // $ANTLR end "rule__BoundedScopeDefinition__Group_1_1__1" - // $ANTLR start "rule__BoundedScopeDefinition__Group__1__Impl" - // InternalSolverLanguageParser.g:6801:1: rule__BoundedScopeDefinition__Group__1__Impl : ( ( rule__BoundedScopeDefinition__Alternatives_1 ) ) ; - public final void rule__BoundedScopeDefinition__Group__1__Impl() throws RecognitionException { + // $ANTLR start "rule__BoundedScopeDefinition__Group_1_1__1__Impl" + // InternalSolverLanguageParser.g:8534:1: rule__BoundedScopeDefinition__Group_1_1__1__Impl : ( GreaterThanSignEqualsSign ) ; + public final void rule__BoundedScopeDefinition__Group_1_1__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6805:1: ( ( ( rule__BoundedScopeDefinition__Alternatives_1 ) ) ) - // InternalSolverLanguageParser.g:6806:1: ( ( rule__BoundedScopeDefinition__Alternatives_1 ) ) + // InternalSolverLanguageParser.g:8538:1: ( ( GreaterThanSignEqualsSign ) ) + // InternalSolverLanguageParser.g:8539:1: ( GreaterThanSignEqualsSign ) { - // InternalSolverLanguageParser.g:6806:1: ( ( rule__BoundedScopeDefinition__Alternatives_1 ) ) - // InternalSolverLanguageParser.g:6807:2: ( rule__BoundedScopeDefinition__Alternatives_1 ) - { - before(grammarAccess.getBoundedScopeDefinitionAccess().getAlternatives_1()); - // InternalSolverLanguageParser.g:6808:2: ( rule__BoundedScopeDefinition__Alternatives_1 ) - // InternalSolverLanguageParser.g:6808:3: rule__BoundedScopeDefinition__Alternatives_1 + // InternalSolverLanguageParser.g:8539:1: ( GreaterThanSignEqualsSign ) + // InternalSolverLanguageParser.g:8540:2: GreaterThanSignEqualsSign { - pushFollow(FOLLOW_2); - rule__BoundedScopeDefinition__Alternatives_1(); - - state._fsp--; - - - } - - after(grammarAccess.getBoundedScopeDefinitionAccess().getAlternatives_1()); + before(grammarAccess.getBoundedScopeDefinitionAccess().getGreaterThanSignEqualsSignKeyword_1_1_1()); + match(input,GreaterThanSignEqualsSign,FOLLOW_2); + after(grammarAccess.getBoundedScopeDefinitionAccess().getGreaterThanSignEqualsSignKeyword_1_1_1()); } @@ -21034,26 +26277,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__BoundedScopeDefinition__Group__1__Impl" + // $ANTLR end "rule__BoundedScopeDefinition__Group_1_1__1__Impl" - // $ANTLR start "rule__BoundedScopeDefinition__Group_1_0__0" - // InternalSolverLanguageParser.g:6817:1: rule__BoundedScopeDefinition__Group_1_0__0 : rule__BoundedScopeDefinition__Group_1_0__0__Impl rule__BoundedScopeDefinition__Group_1_0__1 ; - public final void rule__BoundedScopeDefinition__Group_1_0__0() throws RecognitionException { + // $ANTLR start "rule__BoundedScopeDefinition__Group_1_1__2" + // InternalSolverLanguageParser.g:8549:1: rule__BoundedScopeDefinition__Group_1_1__2 : rule__BoundedScopeDefinition__Group_1_1__2__Impl rule__BoundedScopeDefinition__Group_1_1__3 ; + public final void rule__BoundedScopeDefinition__Group_1_1__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6821:1: ( rule__BoundedScopeDefinition__Group_1_0__0__Impl rule__BoundedScopeDefinition__Group_1_0__1 ) - // InternalSolverLanguageParser.g:6822:2: rule__BoundedScopeDefinition__Group_1_0__0__Impl rule__BoundedScopeDefinition__Group_1_0__1 + // InternalSolverLanguageParser.g:8553:1: ( rule__BoundedScopeDefinition__Group_1_1__2__Impl rule__BoundedScopeDefinition__Group_1_1__3 ) + // InternalSolverLanguageParser.g:8554:2: rule__BoundedScopeDefinition__Group_1_1__2__Impl rule__BoundedScopeDefinition__Group_1_1__3 { - pushFollow(FOLLOW_54); - rule__BoundedScopeDefinition__Group_1_0__0__Impl(); + pushFollow(FOLLOW_63); + rule__BoundedScopeDefinition__Group_1_1__2__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__BoundedScopeDefinition__Group_1_0__1(); + rule__BoundedScopeDefinition__Group_1_1__3(); state._fsp--; @@ -21072,46 +26315,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__BoundedScopeDefinition__Group_1_0__0" + // $ANTLR end "rule__BoundedScopeDefinition__Group_1_1__2" - // $ANTLR start "rule__BoundedScopeDefinition__Group_1_0__0__Impl" - // InternalSolverLanguageParser.g:6829:1: rule__BoundedScopeDefinition__Group_1_0__0__Impl : ( ( rule__BoundedScopeDefinition__Group_1_0_0__0 )? ) ; - public final void rule__BoundedScopeDefinition__Group_1_0__0__Impl() throws RecognitionException { + // $ANTLR start "rule__BoundedScopeDefinition__Group_1_1__2__Impl" + // InternalSolverLanguageParser.g:8561:1: rule__BoundedScopeDefinition__Group_1_1__2__Impl : ( ( rule__BoundedScopeDefinition__TypeAssignment_1_1_2 ) ) ; + public final void rule__BoundedScopeDefinition__Group_1_1__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6833:1: ( ( ( rule__BoundedScopeDefinition__Group_1_0_0__0 )? ) ) - // InternalSolverLanguageParser.g:6834:1: ( ( rule__BoundedScopeDefinition__Group_1_0_0__0 )? ) + // InternalSolverLanguageParser.g:8565:1: ( ( ( rule__BoundedScopeDefinition__TypeAssignment_1_1_2 ) ) ) + // InternalSolverLanguageParser.g:8566:1: ( ( rule__BoundedScopeDefinition__TypeAssignment_1_1_2 ) ) { - // InternalSolverLanguageParser.g:6834:1: ( ( rule__BoundedScopeDefinition__Group_1_0_0__0 )? ) - // InternalSolverLanguageParser.g:6835:2: ( rule__BoundedScopeDefinition__Group_1_0_0__0 )? + // InternalSolverLanguageParser.g:8566:1: ( ( rule__BoundedScopeDefinition__TypeAssignment_1_1_2 ) ) + // InternalSolverLanguageParser.g:8567:2: ( rule__BoundedScopeDefinition__TypeAssignment_1_1_2 ) { - before(grammarAccess.getBoundedScopeDefinitionAccess().getGroup_1_0_0()); - // InternalSolverLanguageParser.g:6836:2: ( rule__BoundedScopeDefinition__Group_1_0_0__0 )? - int alt50=2; - int LA50_0 = input.LA(1); - - if ( (LA50_0==RULE_INT) ) { - alt50=1; - } - switch (alt50) { - case 1 : - // InternalSolverLanguageParser.g:6836:3: rule__BoundedScopeDefinition__Group_1_0_0__0 - { - pushFollow(FOLLOW_2); - rule__BoundedScopeDefinition__Group_1_0_0__0(); - - state._fsp--; + before(grammarAccess.getBoundedScopeDefinitionAccess().getTypeAssignment_1_1_2()); + // InternalSolverLanguageParser.g:8568:2: ( rule__BoundedScopeDefinition__TypeAssignment_1_1_2 ) + // InternalSolverLanguageParser.g:8568:3: rule__BoundedScopeDefinition__TypeAssignment_1_1_2 + { + pushFollow(FOLLOW_2); + rule__BoundedScopeDefinition__TypeAssignment_1_1_2(); + state._fsp--; - } - break; } - after(grammarAccess.getBoundedScopeDefinitionAccess().getGroup_1_0_0()); + after(grammarAccess.getBoundedScopeDefinitionAccess().getTypeAssignment_1_1_2()); } @@ -21130,26 +26362,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__BoundedScopeDefinition__Group_1_0__0__Impl" + // $ANTLR end "rule__BoundedScopeDefinition__Group_1_1__2__Impl" - // $ANTLR start "rule__BoundedScopeDefinition__Group_1_0__1" - // InternalSolverLanguageParser.g:6844:1: rule__BoundedScopeDefinition__Group_1_0__1 : rule__BoundedScopeDefinition__Group_1_0__1__Impl rule__BoundedScopeDefinition__Group_1_0__2 ; - public final void rule__BoundedScopeDefinition__Group_1_0__1() throws RecognitionException { + // $ANTLR start "rule__BoundedScopeDefinition__Group_1_1__3" + // InternalSolverLanguageParser.g:8576:1: rule__BoundedScopeDefinition__Group_1_1__3 : rule__BoundedScopeDefinition__Group_1_1__3__Impl ; + public final void rule__BoundedScopeDefinition__Group_1_1__3() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6848:1: ( rule__BoundedScopeDefinition__Group_1_0__1__Impl rule__BoundedScopeDefinition__Group_1_0__2 ) - // InternalSolverLanguageParser.g:6849:2: rule__BoundedScopeDefinition__Group_1_0__1__Impl rule__BoundedScopeDefinition__Group_1_0__2 + // InternalSolverLanguageParser.g:8580:1: ( rule__BoundedScopeDefinition__Group_1_1__3__Impl ) + // InternalSolverLanguageParser.g:8581:2: rule__BoundedScopeDefinition__Group_1_1__3__Impl { - pushFollow(FOLLOW_55); - rule__BoundedScopeDefinition__Group_1_0__1__Impl(); - - state._fsp--; - pushFollow(FOLLOW_2); - rule__BoundedScopeDefinition__Group_1_0__2(); + rule__BoundedScopeDefinition__Group_1_1__3__Impl(); state._fsp--; @@ -21168,35 +26395,46 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__BoundedScopeDefinition__Group_1_0__1" + // $ANTLR end "rule__BoundedScopeDefinition__Group_1_1__3" - // $ANTLR start "rule__BoundedScopeDefinition__Group_1_0__1__Impl" - // InternalSolverLanguageParser.g:6856:1: rule__BoundedScopeDefinition__Group_1_0__1__Impl : ( ( rule__BoundedScopeDefinition__TypeAssignment_1_0_1 ) ) ; - public final void rule__BoundedScopeDefinition__Group_1_0__1__Impl() throws RecognitionException { + // $ANTLR start "rule__BoundedScopeDefinition__Group_1_1__3__Impl" + // InternalSolverLanguageParser.g:8587:1: rule__BoundedScopeDefinition__Group_1_1__3__Impl : ( ( rule__BoundedScopeDefinition__Group_1_1_3__0 )? ) ; + public final void rule__BoundedScopeDefinition__Group_1_1__3__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6860:1: ( ( ( rule__BoundedScopeDefinition__TypeAssignment_1_0_1 ) ) ) - // InternalSolverLanguageParser.g:6861:1: ( ( rule__BoundedScopeDefinition__TypeAssignment_1_0_1 ) ) - { - // InternalSolverLanguageParser.g:6861:1: ( ( rule__BoundedScopeDefinition__TypeAssignment_1_0_1 ) ) - // InternalSolverLanguageParser.g:6862:2: ( rule__BoundedScopeDefinition__TypeAssignment_1_0_1 ) + // InternalSolverLanguageParser.g:8591:1: ( ( ( rule__BoundedScopeDefinition__Group_1_1_3__0 )? ) ) + // InternalSolverLanguageParser.g:8592:1: ( ( rule__BoundedScopeDefinition__Group_1_1_3__0 )? ) { - before(grammarAccess.getBoundedScopeDefinitionAccess().getTypeAssignment_1_0_1()); - // InternalSolverLanguageParser.g:6863:2: ( rule__BoundedScopeDefinition__TypeAssignment_1_0_1 ) - // InternalSolverLanguageParser.g:6863:3: rule__BoundedScopeDefinition__TypeAssignment_1_0_1 + // InternalSolverLanguageParser.g:8592:1: ( ( rule__BoundedScopeDefinition__Group_1_1_3__0 )? ) + // InternalSolverLanguageParser.g:8593:2: ( rule__BoundedScopeDefinition__Group_1_1_3__0 )? { - pushFollow(FOLLOW_2); - rule__BoundedScopeDefinition__TypeAssignment_1_0_1(); + before(grammarAccess.getBoundedScopeDefinitionAccess().getGroup_1_1_3()); + // InternalSolverLanguageParser.g:8594:2: ( rule__BoundedScopeDefinition__Group_1_1_3__0 )? + int alt60=2; + int LA60_0 = input.LA(1); - state._fsp--; + if ( (LA60_0==GreaterThanSignEqualsSign) ) { + alt60=1; + } + switch (alt60) { + case 1 : + // InternalSolverLanguageParser.g:8594:3: rule__BoundedScopeDefinition__Group_1_1_3__0 + { + pushFollow(FOLLOW_2); + rule__BoundedScopeDefinition__Group_1_1_3__0(); + state._fsp--; + + + } + break; } - after(grammarAccess.getBoundedScopeDefinitionAccess().getTypeAssignment_1_0_1()); + after(grammarAccess.getBoundedScopeDefinitionAccess().getGroup_1_1_3()); } @@ -21215,26 +26453,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__BoundedScopeDefinition__Group_1_0__1__Impl" + // $ANTLR end "rule__BoundedScopeDefinition__Group_1_1__3__Impl" - // $ANTLR start "rule__BoundedScopeDefinition__Group_1_0__2" - // InternalSolverLanguageParser.g:6871:1: rule__BoundedScopeDefinition__Group_1_0__2 : rule__BoundedScopeDefinition__Group_1_0__2__Impl rule__BoundedScopeDefinition__Group_1_0__3 ; - public final void rule__BoundedScopeDefinition__Group_1_0__2() throws RecognitionException { + // $ANTLR start "rule__BoundedScopeDefinition__Group_1_1_3__0" + // InternalSolverLanguageParser.g:8603:1: rule__BoundedScopeDefinition__Group_1_1_3__0 : rule__BoundedScopeDefinition__Group_1_1_3__0__Impl rule__BoundedScopeDefinition__Group_1_1_3__1 ; + public final void rule__BoundedScopeDefinition__Group_1_1_3__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6875:1: ( rule__BoundedScopeDefinition__Group_1_0__2__Impl rule__BoundedScopeDefinition__Group_1_0__3 ) - // InternalSolverLanguageParser.g:6876:2: rule__BoundedScopeDefinition__Group_1_0__2__Impl rule__BoundedScopeDefinition__Group_1_0__3 + // InternalSolverLanguageParser.g:8607:1: ( rule__BoundedScopeDefinition__Group_1_1_3__0__Impl rule__BoundedScopeDefinition__Group_1_1_3__1 ) + // InternalSolverLanguageParser.g:8608:2: rule__BoundedScopeDefinition__Group_1_1_3__0__Impl rule__BoundedScopeDefinition__Group_1_1_3__1 { - pushFollow(FOLLOW_52); - rule__BoundedScopeDefinition__Group_1_0__2__Impl(); + pushFollow(FOLLOW_59); + rule__BoundedScopeDefinition__Group_1_1_3__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__BoundedScopeDefinition__Group_1_0__3(); + rule__BoundedScopeDefinition__Group_1_1_3__1(); state._fsp--; @@ -21253,25 +26491,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__BoundedScopeDefinition__Group_1_0__2" + // $ANTLR end "rule__BoundedScopeDefinition__Group_1_1_3__0" - // $ANTLR start "rule__BoundedScopeDefinition__Group_1_0__2__Impl" - // InternalSolverLanguageParser.g:6883:1: rule__BoundedScopeDefinition__Group_1_0__2__Impl : ( LessThanSignEqualsSign ) ; - public final void rule__BoundedScopeDefinition__Group_1_0__2__Impl() throws RecognitionException { + // $ANTLR start "rule__BoundedScopeDefinition__Group_1_1_3__0__Impl" + // InternalSolverLanguageParser.g:8615:1: rule__BoundedScopeDefinition__Group_1_1_3__0__Impl : ( GreaterThanSignEqualsSign ) ; + public final void rule__BoundedScopeDefinition__Group_1_1_3__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6887:1: ( ( LessThanSignEqualsSign ) ) - // InternalSolverLanguageParser.g:6888:1: ( LessThanSignEqualsSign ) + // InternalSolverLanguageParser.g:8619:1: ( ( GreaterThanSignEqualsSign ) ) + // InternalSolverLanguageParser.g:8620:1: ( GreaterThanSignEqualsSign ) { - // InternalSolverLanguageParser.g:6888:1: ( LessThanSignEqualsSign ) - // InternalSolverLanguageParser.g:6889:2: LessThanSignEqualsSign + // InternalSolverLanguageParser.g:8620:1: ( GreaterThanSignEqualsSign ) + // InternalSolverLanguageParser.g:8621:2: GreaterThanSignEqualsSign { - before(grammarAccess.getBoundedScopeDefinitionAccess().getLessThanSignEqualsSignKeyword_1_0_2()); - match(input,LessThanSignEqualsSign,FOLLOW_2); - after(grammarAccess.getBoundedScopeDefinitionAccess().getLessThanSignEqualsSignKeyword_1_0_2()); + before(grammarAccess.getBoundedScopeDefinitionAccess().getGreaterThanSignEqualsSignKeyword_1_1_3_0()); + match(input,GreaterThanSignEqualsSign,FOLLOW_2); + after(grammarAccess.getBoundedScopeDefinitionAccess().getGreaterThanSignEqualsSignKeyword_1_1_3_0()); } @@ -21290,21 +26528,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__BoundedScopeDefinition__Group_1_0__2__Impl" + // $ANTLR end "rule__BoundedScopeDefinition__Group_1_1_3__0__Impl" - // $ANTLR start "rule__BoundedScopeDefinition__Group_1_0__3" - // InternalSolverLanguageParser.g:6898:1: rule__BoundedScopeDefinition__Group_1_0__3 : rule__BoundedScopeDefinition__Group_1_0__3__Impl ; - public final void rule__BoundedScopeDefinition__Group_1_0__3() throws RecognitionException { + // $ANTLR start "rule__BoundedScopeDefinition__Group_1_1_3__1" + // InternalSolverLanguageParser.g:8630:1: rule__BoundedScopeDefinition__Group_1_1_3__1 : rule__BoundedScopeDefinition__Group_1_1_3__1__Impl ; + public final void rule__BoundedScopeDefinition__Group_1_1_3__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6902:1: ( rule__BoundedScopeDefinition__Group_1_0__3__Impl ) - // InternalSolverLanguageParser.g:6903:2: rule__BoundedScopeDefinition__Group_1_0__3__Impl + // InternalSolverLanguageParser.g:8634:1: ( rule__BoundedScopeDefinition__Group_1_1_3__1__Impl ) + // InternalSolverLanguageParser.g:8635:2: rule__BoundedScopeDefinition__Group_1_1_3__1__Impl { pushFollow(FOLLOW_2); - rule__BoundedScopeDefinition__Group_1_0__3__Impl(); + rule__BoundedScopeDefinition__Group_1_1_3__1__Impl(); state._fsp--; @@ -21323,35 +26561,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__BoundedScopeDefinition__Group_1_0__3" + // $ANTLR end "rule__BoundedScopeDefinition__Group_1_1_3__1" - // $ANTLR start "rule__BoundedScopeDefinition__Group_1_0__3__Impl" - // InternalSolverLanguageParser.g:6909:1: rule__BoundedScopeDefinition__Group_1_0__3__Impl : ( ( rule__BoundedScopeDefinition__UpperBoundAssignment_1_0_3 ) ) ; - public final void rule__BoundedScopeDefinition__Group_1_0__3__Impl() throws RecognitionException { + // $ANTLR start "rule__BoundedScopeDefinition__Group_1_1_3__1__Impl" + // InternalSolverLanguageParser.g:8641:1: rule__BoundedScopeDefinition__Group_1_1_3__1__Impl : ( ( rule__BoundedScopeDefinition__LowerBoundAssignment_1_1_3_1 ) ) ; + public final void rule__BoundedScopeDefinition__Group_1_1_3__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6913:1: ( ( ( rule__BoundedScopeDefinition__UpperBoundAssignment_1_0_3 ) ) ) - // InternalSolverLanguageParser.g:6914:1: ( ( rule__BoundedScopeDefinition__UpperBoundAssignment_1_0_3 ) ) + // InternalSolverLanguageParser.g:8645:1: ( ( ( rule__BoundedScopeDefinition__LowerBoundAssignment_1_1_3_1 ) ) ) + // InternalSolverLanguageParser.g:8646:1: ( ( rule__BoundedScopeDefinition__LowerBoundAssignment_1_1_3_1 ) ) { - // InternalSolverLanguageParser.g:6914:1: ( ( rule__BoundedScopeDefinition__UpperBoundAssignment_1_0_3 ) ) - // InternalSolverLanguageParser.g:6915:2: ( rule__BoundedScopeDefinition__UpperBoundAssignment_1_0_3 ) + // InternalSolverLanguageParser.g:8646:1: ( ( rule__BoundedScopeDefinition__LowerBoundAssignment_1_1_3_1 ) ) + // InternalSolverLanguageParser.g:8647:2: ( rule__BoundedScopeDefinition__LowerBoundAssignment_1_1_3_1 ) { - before(grammarAccess.getBoundedScopeDefinitionAccess().getUpperBoundAssignment_1_0_3()); - // InternalSolverLanguageParser.g:6916:2: ( rule__BoundedScopeDefinition__UpperBoundAssignment_1_0_3 ) - // InternalSolverLanguageParser.g:6916:3: rule__BoundedScopeDefinition__UpperBoundAssignment_1_0_3 + before(grammarAccess.getBoundedScopeDefinitionAccess().getLowerBoundAssignment_1_1_3_1()); + // InternalSolverLanguageParser.g:8648:2: ( rule__BoundedScopeDefinition__LowerBoundAssignment_1_1_3_1 ) + // InternalSolverLanguageParser.g:8648:3: rule__BoundedScopeDefinition__LowerBoundAssignment_1_1_3_1 { pushFollow(FOLLOW_2); - rule__BoundedScopeDefinition__UpperBoundAssignment_1_0_3(); + rule__BoundedScopeDefinition__LowerBoundAssignment_1_1_3_1(); state._fsp--; } - after(grammarAccess.getBoundedScopeDefinitionAccess().getUpperBoundAssignment_1_0_3()); + after(grammarAccess.getBoundedScopeDefinitionAccess().getLowerBoundAssignment_1_1_3_1()); } @@ -21370,26 +26608,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__BoundedScopeDefinition__Group_1_0__3__Impl" + // $ANTLR end "rule__BoundedScopeDefinition__Group_1_1_3__1__Impl" - // $ANTLR start "rule__BoundedScopeDefinition__Group_1_0_0__0" - // InternalSolverLanguageParser.g:6925:1: rule__BoundedScopeDefinition__Group_1_0_0__0 : rule__BoundedScopeDefinition__Group_1_0_0__0__Impl rule__BoundedScopeDefinition__Group_1_0_0__1 ; - public final void rule__BoundedScopeDefinition__Group_1_0_0__0() throws RecognitionException { + // $ANTLR start "rule__LowerBoundedScopeDefinition__Group__0" + // InternalSolverLanguageParser.g:8657:1: rule__LowerBoundedScopeDefinition__Group__0 : rule__LowerBoundedScopeDefinition__Group__0__Impl rule__LowerBoundedScopeDefinition__Group__1 ; + public final void rule__LowerBoundedScopeDefinition__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6929:1: ( rule__BoundedScopeDefinition__Group_1_0_0__0__Impl rule__BoundedScopeDefinition__Group_1_0_0__1 ) - // InternalSolverLanguageParser.g:6930:2: rule__BoundedScopeDefinition__Group_1_0_0__0__Impl rule__BoundedScopeDefinition__Group_1_0_0__1 + // InternalSolverLanguageParser.g:8661:1: ( rule__LowerBoundedScopeDefinition__Group__0__Impl rule__LowerBoundedScopeDefinition__Group__1 ) + // InternalSolverLanguageParser.g:8662:2: rule__LowerBoundedScopeDefinition__Group__0__Impl rule__LowerBoundedScopeDefinition__Group__1 { - pushFollow(FOLLOW_55); - rule__BoundedScopeDefinition__Group_1_0_0__0__Impl(); + pushFollow(FOLLOW_61); + rule__LowerBoundedScopeDefinition__Group__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__BoundedScopeDefinition__Group_1_0_0__1(); + rule__LowerBoundedScopeDefinition__Group__1(); state._fsp--; @@ -21408,35 +26646,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__BoundedScopeDefinition__Group_1_0_0__0" + // $ANTLR end "rule__LowerBoundedScopeDefinition__Group__0" - // $ANTLR start "rule__BoundedScopeDefinition__Group_1_0_0__0__Impl" - // InternalSolverLanguageParser.g:6937:1: rule__BoundedScopeDefinition__Group_1_0_0__0__Impl : ( ( rule__BoundedScopeDefinition__LowerBoundAssignment_1_0_0_0 ) ) ; - public final void rule__BoundedScopeDefinition__Group_1_0_0__0__Impl() throws RecognitionException { + // $ANTLR start "rule__LowerBoundedScopeDefinition__Group__0__Impl" + // InternalSolverLanguageParser.g:8669:1: rule__LowerBoundedScopeDefinition__Group__0__Impl : ( Scope ) ; + public final void rule__LowerBoundedScopeDefinition__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6941:1: ( ( ( rule__BoundedScopeDefinition__LowerBoundAssignment_1_0_0_0 ) ) ) - // InternalSolverLanguageParser.g:6942:1: ( ( rule__BoundedScopeDefinition__LowerBoundAssignment_1_0_0_0 ) ) - { - // InternalSolverLanguageParser.g:6942:1: ( ( rule__BoundedScopeDefinition__LowerBoundAssignment_1_0_0_0 ) ) - // InternalSolverLanguageParser.g:6943:2: ( rule__BoundedScopeDefinition__LowerBoundAssignment_1_0_0_0 ) + // InternalSolverLanguageParser.g:8673:1: ( ( Scope ) ) + // InternalSolverLanguageParser.g:8674:1: ( Scope ) { - before(grammarAccess.getBoundedScopeDefinitionAccess().getLowerBoundAssignment_1_0_0_0()); - // InternalSolverLanguageParser.g:6944:2: ( rule__BoundedScopeDefinition__LowerBoundAssignment_1_0_0_0 ) - // InternalSolverLanguageParser.g:6944:3: rule__BoundedScopeDefinition__LowerBoundAssignment_1_0_0_0 + // InternalSolverLanguageParser.g:8674:1: ( Scope ) + // InternalSolverLanguageParser.g:8675:2: Scope { - pushFollow(FOLLOW_2); - rule__BoundedScopeDefinition__LowerBoundAssignment_1_0_0_0(); - - state._fsp--; - - - } - - after(grammarAccess.getBoundedScopeDefinitionAccess().getLowerBoundAssignment_1_0_0_0()); + before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getScopeKeyword_0()); + match(input,Scope,FOLLOW_2); + after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getScopeKeyword_0()); } @@ -21455,21 +26683,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__BoundedScopeDefinition__Group_1_0_0__0__Impl" + // $ANTLR end "rule__LowerBoundedScopeDefinition__Group__0__Impl" - // $ANTLR start "rule__BoundedScopeDefinition__Group_1_0_0__1" - // InternalSolverLanguageParser.g:6952:1: rule__BoundedScopeDefinition__Group_1_0_0__1 : rule__BoundedScopeDefinition__Group_1_0_0__1__Impl ; - public final void rule__BoundedScopeDefinition__Group_1_0_0__1() throws RecognitionException { + // $ANTLR start "rule__LowerBoundedScopeDefinition__Group__1" + // InternalSolverLanguageParser.g:8684:1: rule__LowerBoundedScopeDefinition__Group__1 : rule__LowerBoundedScopeDefinition__Group__1__Impl ; + public final void rule__LowerBoundedScopeDefinition__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6956:1: ( rule__BoundedScopeDefinition__Group_1_0_0__1__Impl ) - // InternalSolverLanguageParser.g:6957:2: rule__BoundedScopeDefinition__Group_1_0_0__1__Impl + // InternalSolverLanguageParser.g:8688:1: ( rule__LowerBoundedScopeDefinition__Group__1__Impl ) + // InternalSolverLanguageParser.g:8689:2: rule__LowerBoundedScopeDefinition__Group__1__Impl { pushFollow(FOLLOW_2); - rule__BoundedScopeDefinition__Group_1_0_0__1__Impl(); + rule__LowerBoundedScopeDefinition__Group__1__Impl(); state._fsp--; @@ -21488,25 +26716,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__BoundedScopeDefinition__Group_1_0_0__1" + // $ANTLR end "rule__LowerBoundedScopeDefinition__Group__1" - // $ANTLR start "rule__BoundedScopeDefinition__Group_1_0_0__1__Impl" - // InternalSolverLanguageParser.g:6963:1: rule__BoundedScopeDefinition__Group_1_0_0__1__Impl : ( LessThanSignEqualsSign ) ; - public final void rule__BoundedScopeDefinition__Group_1_0_0__1__Impl() throws RecognitionException { + // $ANTLR start "rule__LowerBoundedScopeDefinition__Group__1__Impl" + // InternalSolverLanguageParser.g:8695:1: rule__LowerBoundedScopeDefinition__Group__1__Impl : ( ( rule__LowerBoundedScopeDefinition__Alternatives_1 ) ) ; + public final void rule__LowerBoundedScopeDefinition__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6967:1: ( ( LessThanSignEqualsSign ) ) - // InternalSolverLanguageParser.g:6968:1: ( LessThanSignEqualsSign ) + // InternalSolverLanguageParser.g:8699:1: ( ( ( rule__LowerBoundedScopeDefinition__Alternatives_1 ) ) ) + // InternalSolverLanguageParser.g:8700:1: ( ( rule__LowerBoundedScopeDefinition__Alternatives_1 ) ) { - // InternalSolverLanguageParser.g:6968:1: ( LessThanSignEqualsSign ) - // InternalSolverLanguageParser.g:6969:2: LessThanSignEqualsSign + // InternalSolverLanguageParser.g:8700:1: ( ( rule__LowerBoundedScopeDefinition__Alternatives_1 ) ) + // InternalSolverLanguageParser.g:8701:2: ( rule__LowerBoundedScopeDefinition__Alternatives_1 ) { - before(grammarAccess.getBoundedScopeDefinitionAccess().getLessThanSignEqualsSignKeyword_1_0_0_1()); - match(input,LessThanSignEqualsSign,FOLLOW_2); - after(grammarAccess.getBoundedScopeDefinitionAccess().getLessThanSignEqualsSignKeyword_1_0_0_1()); + before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getAlternatives_1()); + // InternalSolverLanguageParser.g:8702:2: ( rule__LowerBoundedScopeDefinition__Alternatives_1 ) + // InternalSolverLanguageParser.g:8702:3: rule__LowerBoundedScopeDefinition__Alternatives_1 + { + pushFollow(FOLLOW_2); + rule__LowerBoundedScopeDefinition__Alternatives_1(); + + state._fsp--; + + + } + + after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getAlternatives_1()); } @@ -21525,26 +26763,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__BoundedScopeDefinition__Group_1_0_0__1__Impl" + // $ANTLR end "rule__LowerBoundedScopeDefinition__Group__1__Impl" - // $ANTLR start "rule__BoundedScopeDefinition__Group_1_1__0" - // InternalSolverLanguageParser.g:6979:1: rule__BoundedScopeDefinition__Group_1_1__0 : rule__BoundedScopeDefinition__Group_1_1__0__Impl rule__BoundedScopeDefinition__Group_1_1__1 ; - public final void rule__BoundedScopeDefinition__Group_1_1__0() throws RecognitionException { + // $ANTLR start "rule__LowerBoundedScopeDefinition__Group_1_0__0" + // InternalSolverLanguageParser.g:8711:1: rule__LowerBoundedScopeDefinition__Group_1_0__0 : rule__LowerBoundedScopeDefinition__Group_1_0__0__Impl rule__LowerBoundedScopeDefinition__Group_1_0__1 ; + public final void rule__LowerBoundedScopeDefinition__Group_1_0__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6983:1: ( rule__BoundedScopeDefinition__Group_1_1__0__Impl rule__BoundedScopeDefinition__Group_1_1__1 ) - // InternalSolverLanguageParser.g:6984:2: rule__BoundedScopeDefinition__Group_1_1__0__Impl rule__BoundedScopeDefinition__Group_1_1__1 + // InternalSolverLanguageParser.g:8715:1: ( rule__LowerBoundedScopeDefinition__Group_1_0__0__Impl rule__LowerBoundedScopeDefinition__Group_1_0__1 ) + // InternalSolverLanguageParser.g:8716:2: rule__LowerBoundedScopeDefinition__Group_1_0__0__Impl rule__LowerBoundedScopeDefinition__Group_1_0__1 { - pushFollow(FOLLOW_56); - rule__BoundedScopeDefinition__Group_1_1__0__Impl(); + pushFollow(FOLLOW_62); + rule__LowerBoundedScopeDefinition__Group_1_0__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__BoundedScopeDefinition__Group_1_1__1(); + rule__LowerBoundedScopeDefinition__Group_1_0__1(); state._fsp--; @@ -21563,35 +26801,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__BoundedScopeDefinition__Group_1_1__0" + // $ANTLR end "rule__LowerBoundedScopeDefinition__Group_1_0__0" - // $ANTLR start "rule__BoundedScopeDefinition__Group_1_1__0__Impl" - // InternalSolverLanguageParser.g:6991:1: rule__BoundedScopeDefinition__Group_1_1__0__Impl : ( ( rule__BoundedScopeDefinition__UpperBoundAssignment_1_1_0 ) ) ; - public final void rule__BoundedScopeDefinition__Group_1_1__0__Impl() throws RecognitionException { + // $ANTLR start "rule__LowerBoundedScopeDefinition__Group_1_0__0__Impl" + // InternalSolverLanguageParser.g:8723:1: rule__LowerBoundedScopeDefinition__Group_1_0__0__Impl : ( ( rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_0_0 ) ) ; + public final void rule__LowerBoundedScopeDefinition__Group_1_0__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6995:1: ( ( ( rule__BoundedScopeDefinition__UpperBoundAssignment_1_1_0 ) ) ) - // InternalSolverLanguageParser.g:6996:1: ( ( rule__BoundedScopeDefinition__UpperBoundAssignment_1_1_0 ) ) + // InternalSolverLanguageParser.g:8727:1: ( ( ( rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_0_0 ) ) ) + // InternalSolverLanguageParser.g:8728:1: ( ( rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_0_0 ) ) { - // InternalSolverLanguageParser.g:6996:1: ( ( rule__BoundedScopeDefinition__UpperBoundAssignment_1_1_0 ) ) - // InternalSolverLanguageParser.g:6997:2: ( rule__BoundedScopeDefinition__UpperBoundAssignment_1_1_0 ) + // InternalSolverLanguageParser.g:8728:1: ( ( rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_0_0 ) ) + // InternalSolverLanguageParser.g:8729:2: ( rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_0_0 ) { - before(grammarAccess.getBoundedScopeDefinitionAccess().getUpperBoundAssignment_1_1_0()); - // InternalSolverLanguageParser.g:6998:2: ( rule__BoundedScopeDefinition__UpperBoundAssignment_1_1_0 ) - // InternalSolverLanguageParser.g:6998:3: rule__BoundedScopeDefinition__UpperBoundAssignment_1_1_0 + before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getLowerBoundAssignment_1_0_0()); + // InternalSolverLanguageParser.g:8730:2: ( rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_0_0 ) + // InternalSolverLanguageParser.g:8730:3: rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_0_0 { pushFollow(FOLLOW_2); - rule__BoundedScopeDefinition__UpperBoundAssignment_1_1_0(); + rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_0_0(); state._fsp--; } - after(grammarAccess.getBoundedScopeDefinitionAccess().getUpperBoundAssignment_1_1_0()); + after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getLowerBoundAssignment_1_0_0()); } @@ -21610,26 +26848,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__BoundedScopeDefinition__Group_1_1__0__Impl" + // $ANTLR end "rule__LowerBoundedScopeDefinition__Group_1_0__0__Impl" - // $ANTLR start "rule__BoundedScopeDefinition__Group_1_1__1" - // InternalSolverLanguageParser.g:7006:1: rule__BoundedScopeDefinition__Group_1_1__1 : rule__BoundedScopeDefinition__Group_1_1__1__Impl rule__BoundedScopeDefinition__Group_1_1__2 ; - public final void rule__BoundedScopeDefinition__Group_1_1__1() throws RecognitionException { + // $ANTLR start "rule__LowerBoundedScopeDefinition__Group_1_0__1" + // InternalSolverLanguageParser.g:8738:1: rule__LowerBoundedScopeDefinition__Group_1_0__1 : rule__LowerBoundedScopeDefinition__Group_1_0__1__Impl rule__LowerBoundedScopeDefinition__Group_1_0__2 ; + public final void rule__LowerBoundedScopeDefinition__Group_1_0__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:7010:1: ( rule__BoundedScopeDefinition__Group_1_1__1__Impl rule__BoundedScopeDefinition__Group_1_1__2 ) - // InternalSolverLanguageParser.g:7011:2: rule__BoundedScopeDefinition__Group_1_1__1__Impl rule__BoundedScopeDefinition__Group_1_1__2 + // InternalSolverLanguageParser.g:8742:1: ( rule__LowerBoundedScopeDefinition__Group_1_0__1__Impl rule__LowerBoundedScopeDefinition__Group_1_0__2 ) + // InternalSolverLanguageParser.g:8743:2: rule__LowerBoundedScopeDefinition__Group_1_0__1__Impl rule__LowerBoundedScopeDefinition__Group_1_0__2 { pushFollow(FOLLOW_9); - rule__BoundedScopeDefinition__Group_1_1__1__Impl(); + rule__LowerBoundedScopeDefinition__Group_1_0__1__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__BoundedScopeDefinition__Group_1_1__2(); + rule__LowerBoundedScopeDefinition__Group_1_0__2(); state._fsp--; @@ -21648,25 +26886,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__BoundedScopeDefinition__Group_1_1__1" + // $ANTLR end "rule__LowerBoundedScopeDefinition__Group_1_0__1" - // $ANTLR start "rule__BoundedScopeDefinition__Group_1_1__1__Impl" - // InternalSolverLanguageParser.g:7018:1: rule__BoundedScopeDefinition__Group_1_1__1__Impl : ( GreaterThanSignEqualsSign ) ; - public final void rule__BoundedScopeDefinition__Group_1_1__1__Impl() throws RecognitionException { + // $ANTLR start "rule__LowerBoundedScopeDefinition__Group_1_0__1__Impl" + // InternalSolverLanguageParser.g:8750:1: rule__LowerBoundedScopeDefinition__Group_1_0__1__Impl : ( LessThanSignEqualsSign ) ; + public final void rule__LowerBoundedScopeDefinition__Group_1_0__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:7022:1: ( ( GreaterThanSignEqualsSign ) ) - // InternalSolverLanguageParser.g:7023:1: ( GreaterThanSignEqualsSign ) + // InternalSolverLanguageParser.g:8754:1: ( ( LessThanSignEqualsSign ) ) + // InternalSolverLanguageParser.g:8755:1: ( LessThanSignEqualsSign ) { - // InternalSolverLanguageParser.g:7023:1: ( GreaterThanSignEqualsSign ) - // InternalSolverLanguageParser.g:7024:2: GreaterThanSignEqualsSign + // InternalSolverLanguageParser.g:8755:1: ( LessThanSignEqualsSign ) + // InternalSolverLanguageParser.g:8756:2: LessThanSignEqualsSign { - before(grammarAccess.getBoundedScopeDefinitionAccess().getGreaterThanSignEqualsSignKeyword_1_1_1()); - match(input,GreaterThanSignEqualsSign,FOLLOW_2); - after(grammarAccess.getBoundedScopeDefinitionAccess().getGreaterThanSignEqualsSignKeyword_1_1_1()); + before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getLessThanSignEqualsSignKeyword_1_0_1()); + match(input,LessThanSignEqualsSign,FOLLOW_2); + after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getLessThanSignEqualsSignKeyword_1_0_1()); } @@ -21685,26 +26923,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__BoundedScopeDefinition__Group_1_1__1__Impl" + // $ANTLR end "rule__LowerBoundedScopeDefinition__Group_1_0__1__Impl" - // $ANTLR start "rule__BoundedScopeDefinition__Group_1_1__2" - // InternalSolverLanguageParser.g:7033:1: rule__BoundedScopeDefinition__Group_1_1__2 : rule__BoundedScopeDefinition__Group_1_1__2__Impl rule__BoundedScopeDefinition__Group_1_1__3 ; - public final void rule__BoundedScopeDefinition__Group_1_1__2() throws RecognitionException { + // $ANTLR start "rule__LowerBoundedScopeDefinition__Group_1_0__2" + // InternalSolverLanguageParser.g:8765:1: rule__LowerBoundedScopeDefinition__Group_1_0__2 : rule__LowerBoundedScopeDefinition__Group_1_0__2__Impl ; + public final void rule__LowerBoundedScopeDefinition__Group_1_0__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:7037:1: ( rule__BoundedScopeDefinition__Group_1_1__2__Impl rule__BoundedScopeDefinition__Group_1_1__3 ) - // InternalSolverLanguageParser.g:7038:2: rule__BoundedScopeDefinition__Group_1_1__2__Impl rule__BoundedScopeDefinition__Group_1_1__3 + // InternalSolverLanguageParser.g:8769:1: ( rule__LowerBoundedScopeDefinition__Group_1_0__2__Impl ) + // InternalSolverLanguageParser.g:8770:2: rule__LowerBoundedScopeDefinition__Group_1_0__2__Impl { - pushFollow(FOLLOW_56); - rule__BoundedScopeDefinition__Group_1_1__2__Impl(); - - state._fsp--; - pushFollow(FOLLOW_2); - rule__BoundedScopeDefinition__Group_1_1__3(); + rule__LowerBoundedScopeDefinition__Group_1_0__2__Impl(); state._fsp--; @@ -21723,35 +26956,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__BoundedScopeDefinition__Group_1_1__2" + // $ANTLR end "rule__LowerBoundedScopeDefinition__Group_1_0__2" - // $ANTLR start "rule__BoundedScopeDefinition__Group_1_1__2__Impl" - // InternalSolverLanguageParser.g:7045:1: rule__BoundedScopeDefinition__Group_1_1__2__Impl : ( ( rule__BoundedScopeDefinition__TypeAssignment_1_1_2 ) ) ; - public final void rule__BoundedScopeDefinition__Group_1_1__2__Impl() throws RecognitionException { + // $ANTLR start "rule__LowerBoundedScopeDefinition__Group_1_0__2__Impl" + // InternalSolverLanguageParser.g:8776:1: rule__LowerBoundedScopeDefinition__Group_1_0__2__Impl : ( ( rule__LowerBoundedScopeDefinition__TypeAssignment_1_0_2 ) ) ; + public final void rule__LowerBoundedScopeDefinition__Group_1_0__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:7049:1: ( ( ( rule__BoundedScopeDefinition__TypeAssignment_1_1_2 ) ) ) - // InternalSolverLanguageParser.g:7050:1: ( ( rule__BoundedScopeDefinition__TypeAssignment_1_1_2 ) ) + // InternalSolverLanguageParser.g:8780:1: ( ( ( rule__LowerBoundedScopeDefinition__TypeAssignment_1_0_2 ) ) ) + // InternalSolverLanguageParser.g:8781:1: ( ( rule__LowerBoundedScopeDefinition__TypeAssignment_1_0_2 ) ) { - // InternalSolverLanguageParser.g:7050:1: ( ( rule__BoundedScopeDefinition__TypeAssignment_1_1_2 ) ) - // InternalSolverLanguageParser.g:7051:2: ( rule__BoundedScopeDefinition__TypeAssignment_1_1_2 ) + // InternalSolverLanguageParser.g:8781:1: ( ( rule__LowerBoundedScopeDefinition__TypeAssignment_1_0_2 ) ) + // InternalSolverLanguageParser.g:8782:2: ( rule__LowerBoundedScopeDefinition__TypeAssignment_1_0_2 ) { - before(grammarAccess.getBoundedScopeDefinitionAccess().getTypeAssignment_1_1_2()); - // InternalSolverLanguageParser.g:7052:2: ( rule__BoundedScopeDefinition__TypeAssignment_1_1_2 ) - // InternalSolverLanguageParser.g:7052:3: rule__BoundedScopeDefinition__TypeAssignment_1_1_2 + before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getTypeAssignment_1_0_2()); + // InternalSolverLanguageParser.g:8783:2: ( rule__LowerBoundedScopeDefinition__TypeAssignment_1_0_2 ) + // InternalSolverLanguageParser.g:8783:3: rule__LowerBoundedScopeDefinition__TypeAssignment_1_0_2 { pushFollow(FOLLOW_2); - rule__BoundedScopeDefinition__TypeAssignment_1_1_2(); + rule__LowerBoundedScopeDefinition__TypeAssignment_1_0_2(); state._fsp--; } - after(grammarAccess.getBoundedScopeDefinitionAccess().getTypeAssignment_1_1_2()); + after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getTypeAssignment_1_0_2()); } @@ -21770,21 +27003,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__BoundedScopeDefinition__Group_1_1__2__Impl" + // $ANTLR end "rule__LowerBoundedScopeDefinition__Group_1_0__2__Impl" - // $ANTLR start "rule__BoundedScopeDefinition__Group_1_1__3" - // InternalSolverLanguageParser.g:7060:1: rule__BoundedScopeDefinition__Group_1_1__3 : rule__BoundedScopeDefinition__Group_1_1__3__Impl ; - public final void rule__BoundedScopeDefinition__Group_1_1__3() throws RecognitionException { + // $ANTLR start "rule__LowerBoundedScopeDefinition__Group_1_1__0" + // InternalSolverLanguageParser.g:8792:1: rule__LowerBoundedScopeDefinition__Group_1_1__0 : rule__LowerBoundedScopeDefinition__Group_1_1__0__Impl rule__LowerBoundedScopeDefinition__Group_1_1__1 ; + public final void rule__LowerBoundedScopeDefinition__Group_1_1__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:7064:1: ( rule__BoundedScopeDefinition__Group_1_1__3__Impl ) - // InternalSolverLanguageParser.g:7065:2: rule__BoundedScopeDefinition__Group_1_1__3__Impl + // InternalSolverLanguageParser.g:8796:1: ( rule__LowerBoundedScopeDefinition__Group_1_1__0__Impl rule__LowerBoundedScopeDefinition__Group_1_1__1 ) + // InternalSolverLanguageParser.g:8797:2: rule__LowerBoundedScopeDefinition__Group_1_1__0__Impl rule__LowerBoundedScopeDefinition__Group_1_1__1 { + pushFollow(FOLLOW_63); + rule__LowerBoundedScopeDefinition__Group_1_1__0__Impl(); + + state._fsp--; + pushFollow(FOLLOW_2); - rule__BoundedScopeDefinition__Group_1_1__3__Impl(); + rule__LowerBoundedScopeDefinition__Group_1_1__1(); state._fsp--; @@ -21803,46 +27041,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__BoundedScopeDefinition__Group_1_1__3" + // $ANTLR end "rule__LowerBoundedScopeDefinition__Group_1_1__0" - // $ANTLR start "rule__BoundedScopeDefinition__Group_1_1__3__Impl" - // InternalSolverLanguageParser.g:7071:1: rule__BoundedScopeDefinition__Group_1_1__3__Impl : ( ( rule__BoundedScopeDefinition__Group_1_1_3__0 )? ) ; - public final void rule__BoundedScopeDefinition__Group_1_1__3__Impl() throws RecognitionException { + // $ANTLR start "rule__LowerBoundedScopeDefinition__Group_1_1__0__Impl" + // InternalSolverLanguageParser.g:8804:1: rule__LowerBoundedScopeDefinition__Group_1_1__0__Impl : ( ( rule__LowerBoundedScopeDefinition__TypeAssignment_1_1_0 ) ) ; + public final void rule__LowerBoundedScopeDefinition__Group_1_1__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:7075:1: ( ( ( rule__BoundedScopeDefinition__Group_1_1_3__0 )? ) ) - // InternalSolverLanguageParser.g:7076:1: ( ( rule__BoundedScopeDefinition__Group_1_1_3__0 )? ) + // InternalSolverLanguageParser.g:8808:1: ( ( ( rule__LowerBoundedScopeDefinition__TypeAssignment_1_1_0 ) ) ) + // InternalSolverLanguageParser.g:8809:1: ( ( rule__LowerBoundedScopeDefinition__TypeAssignment_1_1_0 ) ) { - // InternalSolverLanguageParser.g:7076:1: ( ( rule__BoundedScopeDefinition__Group_1_1_3__0 )? ) - // InternalSolverLanguageParser.g:7077:2: ( rule__BoundedScopeDefinition__Group_1_1_3__0 )? + // InternalSolverLanguageParser.g:8809:1: ( ( rule__LowerBoundedScopeDefinition__TypeAssignment_1_1_0 ) ) + // InternalSolverLanguageParser.g:8810:2: ( rule__LowerBoundedScopeDefinition__TypeAssignment_1_1_0 ) { - before(grammarAccess.getBoundedScopeDefinitionAccess().getGroup_1_1_3()); - // InternalSolverLanguageParser.g:7078:2: ( rule__BoundedScopeDefinition__Group_1_1_3__0 )? - int alt51=2; - int LA51_0 = input.LA(1); - - if ( (LA51_0==GreaterThanSignEqualsSign) ) { - alt51=1; - } - switch (alt51) { - case 1 : - // InternalSolverLanguageParser.g:7078:3: rule__BoundedScopeDefinition__Group_1_1_3__0 - { - pushFollow(FOLLOW_2); - rule__BoundedScopeDefinition__Group_1_1_3__0(); - - state._fsp--; + before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getTypeAssignment_1_1_0()); + // InternalSolverLanguageParser.g:8811:2: ( rule__LowerBoundedScopeDefinition__TypeAssignment_1_1_0 ) + // InternalSolverLanguageParser.g:8811:3: rule__LowerBoundedScopeDefinition__TypeAssignment_1_1_0 + { + pushFollow(FOLLOW_2); + rule__LowerBoundedScopeDefinition__TypeAssignment_1_1_0(); + state._fsp--; - } - break; } - after(grammarAccess.getBoundedScopeDefinitionAccess().getGroup_1_1_3()); + after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getTypeAssignment_1_1_0()); } @@ -21861,26 +27088,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__BoundedScopeDefinition__Group_1_1__3__Impl" + // $ANTLR end "rule__LowerBoundedScopeDefinition__Group_1_1__0__Impl" - // $ANTLR start "rule__BoundedScopeDefinition__Group_1_1_3__0" - // InternalSolverLanguageParser.g:7087:1: rule__BoundedScopeDefinition__Group_1_1_3__0 : rule__BoundedScopeDefinition__Group_1_1_3__0__Impl rule__BoundedScopeDefinition__Group_1_1_3__1 ; - public final void rule__BoundedScopeDefinition__Group_1_1_3__0() throws RecognitionException { + // $ANTLR start "rule__LowerBoundedScopeDefinition__Group_1_1__1" + // InternalSolverLanguageParser.g:8819:1: rule__LowerBoundedScopeDefinition__Group_1_1__1 : rule__LowerBoundedScopeDefinition__Group_1_1__1__Impl rule__LowerBoundedScopeDefinition__Group_1_1__2 ; + public final void rule__LowerBoundedScopeDefinition__Group_1_1__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:7091:1: ( rule__BoundedScopeDefinition__Group_1_1_3__0__Impl rule__BoundedScopeDefinition__Group_1_1_3__1 ) - // InternalSolverLanguageParser.g:7092:2: rule__BoundedScopeDefinition__Group_1_1_3__0__Impl rule__BoundedScopeDefinition__Group_1_1_3__1 + // InternalSolverLanguageParser.g:8823:1: ( rule__LowerBoundedScopeDefinition__Group_1_1__1__Impl rule__LowerBoundedScopeDefinition__Group_1_1__2 ) + // InternalSolverLanguageParser.g:8824:2: rule__LowerBoundedScopeDefinition__Group_1_1__1__Impl rule__LowerBoundedScopeDefinition__Group_1_1__2 { - pushFollow(FOLLOW_52); - rule__BoundedScopeDefinition__Group_1_1_3__0__Impl(); + pushFollow(FOLLOW_59); + rule__LowerBoundedScopeDefinition__Group_1_1__1__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__BoundedScopeDefinition__Group_1_1_3__1(); + rule__LowerBoundedScopeDefinition__Group_1_1__2(); state._fsp--; @@ -21899,25 +27126,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__BoundedScopeDefinition__Group_1_1_3__0" + // $ANTLR end "rule__LowerBoundedScopeDefinition__Group_1_1__1" - // $ANTLR start "rule__BoundedScopeDefinition__Group_1_1_3__0__Impl" - // InternalSolverLanguageParser.g:7099:1: rule__BoundedScopeDefinition__Group_1_1_3__0__Impl : ( GreaterThanSignEqualsSign ) ; - public final void rule__BoundedScopeDefinition__Group_1_1_3__0__Impl() throws RecognitionException { + // $ANTLR start "rule__LowerBoundedScopeDefinition__Group_1_1__1__Impl" + // InternalSolverLanguageParser.g:8831:1: rule__LowerBoundedScopeDefinition__Group_1_1__1__Impl : ( GreaterThanSignEqualsSign ) ; + public final void rule__LowerBoundedScopeDefinition__Group_1_1__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:7103:1: ( ( GreaterThanSignEqualsSign ) ) - // InternalSolverLanguageParser.g:7104:1: ( GreaterThanSignEqualsSign ) + // InternalSolverLanguageParser.g:8835:1: ( ( GreaterThanSignEqualsSign ) ) + // InternalSolverLanguageParser.g:8836:1: ( GreaterThanSignEqualsSign ) { - // InternalSolverLanguageParser.g:7104:1: ( GreaterThanSignEqualsSign ) - // InternalSolverLanguageParser.g:7105:2: GreaterThanSignEqualsSign + // InternalSolverLanguageParser.g:8836:1: ( GreaterThanSignEqualsSign ) + // InternalSolverLanguageParser.g:8837:2: GreaterThanSignEqualsSign { - before(grammarAccess.getBoundedScopeDefinitionAccess().getGreaterThanSignEqualsSignKeyword_1_1_3_0()); + before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getGreaterThanSignEqualsSignKeyword_1_1_1()); match(input,GreaterThanSignEqualsSign,FOLLOW_2); - after(grammarAccess.getBoundedScopeDefinitionAccess().getGreaterThanSignEqualsSignKeyword_1_1_3_0()); + after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getGreaterThanSignEqualsSignKeyword_1_1_1()); } @@ -21936,21 +27163,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__BoundedScopeDefinition__Group_1_1_3__0__Impl" + // $ANTLR end "rule__LowerBoundedScopeDefinition__Group_1_1__1__Impl" - // $ANTLR start "rule__BoundedScopeDefinition__Group_1_1_3__1" - // InternalSolverLanguageParser.g:7114:1: rule__BoundedScopeDefinition__Group_1_1_3__1 : rule__BoundedScopeDefinition__Group_1_1_3__1__Impl ; - public final void rule__BoundedScopeDefinition__Group_1_1_3__1() throws RecognitionException { + // $ANTLR start "rule__LowerBoundedScopeDefinition__Group_1_1__2" + // InternalSolverLanguageParser.g:8846:1: rule__LowerBoundedScopeDefinition__Group_1_1__2 : rule__LowerBoundedScopeDefinition__Group_1_1__2__Impl ; + public final void rule__LowerBoundedScopeDefinition__Group_1_1__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:7118:1: ( rule__BoundedScopeDefinition__Group_1_1_3__1__Impl ) - // InternalSolverLanguageParser.g:7119:2: rule__BoundedScopeDefinition__Group_1_1_3__1__Impl + // InternalSolverLanguageParser.g:8850:1: ( rule__LowerBoundedScopeDefinition__Group_1_1__2__Impl ) + // InternalSolverLanguageParser.g:8851:2: rule__LowerBoundedScopeDefinition__Group_1_1__2__Impl { pushFollow(FOLLOW_2); - rule__BoundedScopeDefinition__Group_1_1_3__1__Impl(); + rule__LowerBoundedScopeDefinition__Group_1_1__2__Impl(); state._fsp--; @@ -21969,35 +27196,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__BoundedScopeDefinition__Group_1_1_3__1" + // $ANTLR end "rule__LowerBoundedScopeDefinition__Group_1_1__2" - // $ANTLR start "rule__BoundedScopeDefinition__Group_1_1_3__1__Impl" - // InternalSolverLanguageParser.g:7125:1: rule__BoundedScopeDefinition__Group_1_1_3__1__Impl : ( ( rule__BoundedScopeDefinition__LowerBoundAssignment_1_1_3_1 ) ) ; - public final void rule__BoundedScopeDefinition__Group_1_1_3__1__Impl() throws RecognitionException { + // $ANTLR start "rule__LowerBoundedScopeDefinition__Group_1_1__2__Impl" + // InternalSolverLanguageParser.g:8857:1: rule__LowerBoundedScopeDefinition__Group_1_1__2__Impl : ( ( rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_1_2 ) ) ; + public final void rule__LowerBoundedScopeDefinition__Group_1_1__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:7129:1: ( ( ( rule__BoundedScopeDefinition__LowerBoundAssignment_1_1_3_1 ) ) ) - // InternalSolverLanguageParser.g:7130:1: ( ( rule__BoundedScopeDefinition__LowerBoundAssignment_1_1_3_1 ) ) + // InternalSolverLanguageParser.g:8861:1: ( ( ( rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_1_2 ) ) ) + // InternalSolverLanguageParser.g:8862:1: ( ( rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_1_2 ) ) { - // InternalSolverLanguageParser.g:7130:1: ( ( rule__BoundedScopeDefinition__LowerBoundAssignment_1_1_3_1 ) ) - // InternalSolverLanguageParser.g:7131:2: ( rule__BoundedScopeDefinition__LowerBoundAssignment_1_1_3_1 ) + // InternalSolverLanguageParser.g:8862:1: ( ( rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_1_2 ) ) + // InternalSolverLanguageParser.g:8863:2: ( rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_1_2 ) { - before(grammarAccess.getBoundedScopeDefinitionAccess().getLowerBoundAssignment_1_1_3_1()); - // InternalSolverLanguageParser.g:7132:2: ( rule__BoundedScopeDefinition__LowerBoundAssignment_1_1_3_1 ) - // InternalSolverLanguageParser.g:7132:3: rule__BoundedScopeDefinition__LowerBoundAssignment_1_1_3_1 + before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getLowerBoundAssignment_1_1_2()); + // InternalSolverLanguageParser.g:8864:2: ( rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_1_2 ) + // InternalSolverLanguageParser.g:8864:3: rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_1_2 { pushFollow(FOLLOW_2); - rule__BoundedScopeDefinition__LowerBoundAssignment_1_1_3_1(); + rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_1_2(); state._fsp--; } - after(grammarAccess.getBoundedScopeDefinitionAccess().getLowerBoundAssignment_1_1_3_1()); + after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getLowerBoundAssignment_1_1_2()); } @@ -22016,26 +27243,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__BoundedScopeDefinition__Group_1_1_3__1__Impl" + // $ANTLR end "rule__LowerBoundedScopeDefinition__Group_1_1__2__Impl" - // $ANTLR start "rule__LowerBoundedScopeDefinition__Group__0" - // InternalSolverLanguageParser.g:7141:1: rule__LowerBoundedScopeDefinition__Group__0 : rule__LowerBoundedScopeDefinition__Group__0__Impl rule__LowerBoundedScopeDefinition__Group__1 ; - public final void rule__LowerBoundedScopeDefinition__Group__0() throws RecognitionException { + // $ANTLR start "rule__ObjectiveDefinition__Group__0" + // InternalSolverLanguageParser.g:8873:1: rule__ObjectiveDefinition__Group__0 : rule__ObjectiveDefinition__Group__0__Impl rule__ObjectiveDefinition__Group__1 ; + public final void rule__ObjectiveDefinition__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:7145:1: ( rule__LowerBoundedScopeDefinition__Group__0__Impl rule__LowerBoundedScopeDefinition__Group__1 ) - // InternalSolverLanguageParser.g:7146:2: rule__LowerBoundedScopeDefinition__Group__0__Impl rule__LowerBoundedScopeDefinition__Group__1 + // InternalSolverLanguageParser.g:8877:1: ( rule__ObjectiveDefinition__Group__0__Impl rule__ObjectiveDefinition__Group__1 ) + // InternalSolverLanguageParser.g:8878:2: rule__ObjectiveDefinition__Group__0__Impl rule__ObjectiveDefinition__Group__1 { - pushFollow(FOLLOW_54); - rule__LowerBoundedScopeDefinition__Group__0__Impl(); + pushFollow(FOLLOW_7); + rule__ObjectiveDefinition__Group__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__LowerBoundedScopeDefinition__Group__1(); + rule__ObjectiveDefinition__Group__1(); state._fsp--; @@ -22054,25 +27281,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__LowerBoundedScopeDefinition__Group__0" + // $ANTLR end "rule__ObjectiveDefinition__Group__0" - // $ANTLR start "rule__LowerBoundedScopeDefinition__Group__0__Impl" - // InternalSolverLanguageParser.g:7153:1: rule__LowerBoundedScopeDefinition__Group__0__Impl : ( Scope ) ; - public final void rule__LowerBoundedScopeDefinition__Group__0__Impl() throws RecognitionException { + // $ANTLR start "rule__ObjectiveDefinition__Group__0__Impl" + // InternalSolverLanguageParser.g:8885:1: rule__ObjectiveDefinition__Group__0__Impl : ( ( rule__ObjectiveDefinition__KindAssignment_0 ) ) ; + public final void rule__ObjectiveDefinition__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:7157:1: ( ( Scope ) ) - // InternalSolverLanguageParser.g:7158:1: ( Scope ) + // InternalSolverLanguageParser.g:8889:1: ( ( ( rule__ObjectiveDefinition__KindAssignment_0 ) ) ) + // InternalSolverLanguageParser.g:8890:1: ( ( rule__ObjectiveDefinition__KindAssignment_0 ) ) { - // InternalSolverLanguageParser.g:7158:1: ( Scope ) - // InternalSolverLanguageParser.g:7159:2: Scope + // InternalSolverLanguageParser.g:8890:1: ( ( rule__ObjectiveDefinition__KindAssignment_0 ) ) + // InternalSolverLanguageParser.g:8891:2: ( rule__ObjectiveDefinition__KindAssignment_0 ) { - before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getScopeKeyword_0()); - match(input,Scope,FOLLOW_2); - after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getScopeKeyword_0()); + before(grammarAccess.getObjectiveDefinitionAccess().getKindAssignment_0()); + // InternalSolverLanguageParser.g:8892:2: ( rule__ObjectiveDefinition__KindAssignment_0 ) + // InternalSolverLanguageParser.g:8892:3: rule__ObjectiveDefinition__KindAssignment_0 + { + pushFollow(FOLLOW_2); + rule__ObjectiveDefinition__KindAssignment_0(); + + state._fsp--; + + + } + + after(grammarAccess.getObjectiveDefinitionAccess().getKindAssignment_0()); } @@ -22091,21 +27328,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__LowerBoundedScopeDefinition__Group__0__Impl" + // $ANTLR end "rule__ObjectiveDefinition__Group__0__Impl" - // $ANTLR start "rule__LowerBoundedScopeDefinition__Group__1" - // InternalSolverLanguageParser.g:7168:1: rule__LowerBoundedScopeDefinition__Group__1 : rule__LowerBoundedScopeDefinition__Group__1__Impl ; - public final void rule__LowerBoundedScopeDefinition__Group__1() throws RecognitionException { + // $ANTLR start "rule__ObjectiveDefinition__Group__1" + // InternalSolverLanguageParser.g:8900:1: rule__ObjectiveDefinition__Group__1 : rule__ObjectiveDefinition__Group__1__Impl ; + public final void rule__ObjectiveDefinition__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:7172:1: ( rule__LowerBoundedScopeDefinition__Group__1__Impl ) - // InternalSolverLanguageParser.g:7173:2: rule__LowerBoundedScopeDefinition__Group__1__Impl + // InternalSolverLanguageParser.g:8904:1: ( rule__ObjectiveDefinition__Group__1__Impl ) + // InternalSolverLanguageParser.g:8905:2: rule__ObjectiveDefinition__Group__1__Impl { pushFollow(FOLLOW_2); - rule__LowerBoundedScopeDefinition__Group__1__Impl(); + rule__ObjectiveDefinition__Group__1__Impl(); state._fsp--; @@ -22124,35 +27361,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__LowerBoundedScopeDefinition__Group__1" + // $ANTLR end "rule__ObjectiveDefinition__Group__1" - // $ANTLR start "rule__LowerBoundedScopeDefinition__Group__1__Impl" - // InternalSolverLanguageParser.g:7179:1: rule__LowerBoundedScopeDefinition__Group__1__Impl : ( ( rule__LowerBoundedScopeDefinition__Alternatives_1 ) ) ; - public final void rule__LowerBoundedScopeDefinition__Group__1__Impl() throws RecognitionException { + // $ANTLR start "rule__ObjectiveDefinition__Group__1__Impl" + // InternalSolverLanguageParser.g:8911:1: rule__ObjectiveDefinition__Group__1__Impl : ( ( rule__ObjectiveDefinition__ObjectiveAssignment_1 ) ) ; + public final void rule__ObjectiveDefinition__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:7183:1: ( ( ( rule__LowerBoundedScopeDefinition__Alternatives_1 ) ) ) - // InternalSolverLanguageParser.g:7184:1: ( ( rule__LowerBoundedScopeDefinition__Alternatives_1 ) ) + // InternalSolverLanguageParser.g:8915:1: ( ( ( rule__ObjectiveDefinition__ObjectiveAssignment_1 ) ) ) + // InternalSolverLanguageParser.g:8916:1: ( ( rule__ObjectiveDefinition__ObjectiveAssignment_1 ) ) { - // InternalSolverLanguageParser.g:7184:1: ( ( rule__LowerBoundedScopeDefinition__Alternatives_1 ) ) - // InternalSolverLanguageParser.g:7185:2: ( rule__LowerBoundedScopeDefinition__Alternatives_1 ) + // InternalSolverLanguageParser.g:8916:1: ( ( rule__ObjectiveDefinition__ObjectiveAssignment_1 ) ) + // InternalSolverLanguageParser.g:8917:2: ( rule__ObjectiveDefinition__ObjectiveAssignment_1 ) { - before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getAlternatives_1()); - // InternalSolverLanguageParser.g:7186:2: ( rule__LowerBoundedScopeDefinition__Alternatives_1 ) - // InternalSolverLanguageParser.g:7186:3: rule__LowerBoundedScopeDefinition__Alternatives_1 + before(grammarAccess.getObjectiveDefinitionAccess().getObjectiveAssignment_1()); + // InternalSolverLanguageParser.g:8918:2: ( rule__ObjectiveDefinition__ObjectiveAssignment_1 ) + // InternalSolverLanguageParser.g:8918:3: rule__ObjectiveDefinition__ObjectiveAssignment_1 { pushFollow(FOLLOW_2); - rule__LowerBoundedScopeDefinition__Alternatives_1(); + rule__ObjectiveDefinition__ObjectiveAssignment_1(); state._fsp--; } - after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getAlternatives_1()); + after(grammarAccess.getObjectiveDefinitionAccess().getObjectiveAssignment_1()); } @@ -22171,26 +27408,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__LowerBoundedScopeDefinition__Group__1__Impl" + // $ANTLR end "rule__ObjectiveDefinition__Group__1__Impl" - // $ANTLR start "rule__LowerBoundedScopeDefinition__Group_1_0__0" - // InternalSolverLanguageParser.g:7195:1: rule__LowerBoundedScopeDefinition__Group_1_0__0 : rule__LowerBoundedScopeDefinition__Group_1_0__0__Impl rule__LowerBoundedScopeDefinition__Group_1_0__1 ; - public final void rule__LowerBoundedScopeDefinition__Group_1_0__0() throws RecognitionException { + // $ANTLR start "rule__Real__Group__0" + // InternalSolverLanguageParser.g:8927:1: rule__Real__Group__0 : rule__Real__Group__0__Impl rule__Real__Group__1 ; + public final void rule__Real__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:7199:1: ( rule__LowerBoundedScopeDefinition__Group_1_0__0__Impl rule__LowerBoundedScopeDefinition__Group_1_0__1 ) - // InternalSolverLanguageParser.g:7200:2: rule__LowerBoundedScopeDefinition__Group_1_0__0__Impl rule__LowerBoundedScopeDefinition__Group_1_0__1 + // InternalSolverLanguageParser.g:8931:1: ( rule__Real__Group__0__Impl rule__Real__Group__1 ) + // InternalSolverLanguageParser.g:8932:2: rule__Real__Group__0__Impl rule__Real__Group__1 { - pushFollow(FOLLOW_55); - rule__LowerBoundedScopeDefinition__Group_1_0__0__Impl(); + pushFollow(FOLLOW_64); + rule__Real__Group__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__LowerBoundedScopeDefinition__Group_1_0__1(); + rule__Real__Group__1(); state._fsp--; @@ -22209,35 +27446,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__LowerBoundedScopeDefinition__Group_1_0__0" + // $ANTLR end "rule__Real__Group__0" - // $ANTLR start "rule__LowerBoundedScopeDefinition__Group_1_0__0__Impl" - // InternalSolverLanguageParser.g:7207:1: rule__LowerBoundedScopeDefinition__Group_1_0__0__Impl : ( ( rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_0_0 ) ) ; - public final void rule__LowerBoundedScopeDefinition__Group_1_0__0__Impl() throws RecognitionException { + // $ANTLR start "rule__Real__Group__0__Impl" + // InternalSolverLanguageParser.g:8939:1: rule__Real__Group__0__Impl : ( RULE_INT ) ; + public final void rule__Real__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:7211:1: ( ( ( rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_0_0 ) ) ) - // InternalSolverLanguageParser.g:7212:1: ( ( rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_0_0 ) ) + // InternalSolverLanguageParser.g:8943:1: ( ( RULE_INT ) ) + // InternalSolverLanguageParser.g:8944:1: ( RULE_INT ) { - // InternalSolverLanguageParser.g:7212:1: ( ( rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_0_0 ) ) - // InternalSolverLanguageParser.g:7213:2: ( rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_0_0 ) + // InternalSolverLanguageParser.g:8944:1: ( RULE_INT ) + // InternalSolverLanguageParser.g:8945:2: RULE_INT { - before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getLowerBoundAssignment_1_0_0()); - // InternalSolverLanguageParser.g:7214:2: ( rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_0_0 ) - // InternalSolverLanguageParser.g:7214:3: rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_0_0 - { - pushFollow(FOLLOW_2); - rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_0_0(); - - state._fsp--; - - - } - - after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getLowerBoundAssignment_1_0_0()); + before(grammarAccess.getRealAccess().getINTTerminalRuleCall_0()); + match(input,RULE_INT,FOLLOW_2); + after(grammarAccess.getRealAccess().getINTTerminalRuleCall_0()); } @@ -22256,26 +27483,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__LowerBoundedScopeDefinition__Group_1_0__0__Impl" + // $ANTLR end "rule__Real__Group__0__Impl" - // $ANTLR start "rule__LowerBoundedScopeDefinition__Group_1_0__1" - // InternalSolverLanguageParser.g:7222:1: rule__LowerBoundedScopeDefinition__Group_1_0__1 : rule__LowerBoundedScopeDefinition__Group_1_0__1__Impl rule__LowerBoundedScopeDefinition__Group_1_0__2 ; - public final void rule__LowerBoundedScopeDefinition__Group_1_0__1() throws RecognitionException { + // $ANTLR start "rule__Real__Group__1" + // InternalSolverLanguageParser.g:8954:1: rule__Real__Group__1 : rule__Real__Group__1__Impl ; + public final void rule__Real__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:7226:1: ( rule__LowerBoundedScopeDefinition__Group_1_0__1__Impl rule__LowerBoundedScopeDefinition__Group_1_0__2 ) - // InternalSolverLanguageParser.g:7227:2: rule__LowerBoundedScopeDefinition__Group_1_0__1__Impl rule__LowerBoundedScopeDefinition__Group_1_0__2 + // InternalSolverLanguageParser.g:8958:1: ( rule__Real__Group__1__Impl ) + // InternalSolverLanguageParser.g:8959:2: rule__Real__Group__1__Impl { - pushFollow(FOLLOW_9); - rule__LowerBoundedScopeDefinition__Group_1_0__1__Impl(); - - state._fsp--; - pushFollow(FOLLOW_2); - rule__LowerBoundedScopeDefinition__Group_1_0__2(); + rule__Real__Group__1__Impl(); state._fsp--; @@ -22294,25 +27516,46 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__LowerBoundedScopeDefinition__Group_1_0__1" + // $ANTLR end "rule__Real__Group__1" - // $ANTLR start "rule__LowerBoundedScopeDefinition__Group_1_0__1__Impl" - // InternalSolverLanguageParser.g:7234:1: rule__LowerBoundedScopeDefinition__Group_1_0__1__Impl : ( LessThanSignEqualsSign ) ; - public final void rule__LowerBoundedScopeDefinition__Group_1_0__1__Impl() throws RecognitionException { + // $ANTLR start "rule__Real__Group__1__Impl" + // InternalSolverLanguageParser.g:8965:1: rule__Real__Group__1__Impl : ( ( rule__Real__Group_1__0 )? ) ; + public final void rule__Real__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:7238:1: ( ( LessThanSignEqualsSign ) ) - // InternalSolverLanguageParser.g:7239:1: ( LessThanSignEqualsSign ) + // InternalSolverLanguageParser.g:8969:1: ( ( ( rule__Real__Group_1__0 )? ) ) + // InternalSolverLanguageParser.g:8970:1: ( ( rule__Real__Group_1__0 )? ) { - // InternalSolverLanguageParser.g:7239:1: ( LessThanSignEqualsSign ) - // InternalSolverLanguageParser.g:7240:2: LessThanSignEqualsSign + // InternalSolverLanguageParser.g:8970:1: ( ( rule__Real__Group_1__0 )? ) + // InternalSolverLanguageParser.g:8971:2: ( rule__Real__Group_1__0 )? { - before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getLessThanSignEqualsSignKeyword_1_0_1()); - match(input,LessThanSignEqualsSign,FOLLOW_2); - after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getLessThanSignEqualsSignKeyword_1_0_1()); + before(grammarAccess.getRealAccess().getGroup_1()); + // InternalSolverLanguageParser.g:8972:2: ( rule__Real__Group_1__0 )? + int alt61=2; + int LA61_0 = input.LA(1); + + if ( (LA61_0==FullStop) ) { + alt61=1; + } + switch (alt61) { + case 1 : + // InternalSolverLanguageParser.g:8972:3: rule__Real__Group_1__0 + { + pushFollow(FOLLOW_2); + rule__Real__Group_1__0(); + + state._fsp--; + + + } + break; + + } + + after(grammarAccess.getRealAccess().getGroup_1()); } @@ -22331,21 +27574,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__LowerBoundedScopeDefinition__Group_1_0__1__Impl" + // $ANTLR end "rule__Real__Group__1__Impl" - // $ANTLR start "rule__LowerBoundedScopeDefinition__Group_1_0__2" - // InternalSolverLanguageParser.g:7249:1: rule__LowerBoundedScopeDefinition__Group_1_0__2 : rule__LowerBoundedScopeDefinition__Group_1_0__2__Impl ; - public final void rule__LowerBoundedScopeDefinition__Group_1_0__2() throws RecognitionException { + // $ANTLR start "rule__Real__Group_1__0" + // InternalSolverLanguageParser.g:8981:1: rule__Real__Group_1__0 : rule__Real__Group_1__0__Impl rule__Real__Group_1__1 ; + public final void rule__Real__Group_1__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:7253:1: ( rule__LowerBoundedScopeDefinition__Group_1_0__2__Impl ) - // InternalSolverLanguageParser.g:7254:2: rule__LowerBoundedScopeDefinition__Group_1_0__2__Impl + // InternalSolverLanguageParser.g:8985:1: ( rule__Real__Group_1__0__Impl rule__Real__Group_1__1 ) + // InternalSolverLanguageParser.g:8986:2: rule__Real__Group_1__0__Impl rule__Real__Group_1__1 { + pushFollow(FOLLOW_59); + rule__Real__Group_1__0__Impl(); + + state._fsp--; + pushFollow(FOLLOW_2); - rule__LowerBoundedScopeDefinition__Group_1_0__2__Impl(); + rule__Real__Group_1__1(); state._fsp--; @@ -22364,35 +27612,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__LowerBoundedScopeDefinition__Group_1_0__2" + // $ANTLR end "rule__Real__Group_1__0" - // $ANTLR start "rule__LowerBoundedScopeDefinition__Group_1_0__2__Impl" - // InternalSolverLanguageParser.g:7260:1: rule__LowerBoundedScopeDefinition__Group_1_0__2__Impl : ( ( rule__LowerBoundedScopeDefinition__TypeAssignment_1_0_2 ) ) ; - public final void rule__LowerBoundedScopeDefinition__Group_1_0__2__Impl() throws RecognitionException { + // $ANTLR start "rule__Real__Group_1__0__Impl" + // InternalSolverLanguageParser.g:8993:1: rule__Real__Group_1__0__Impl : ( FullStop ) ; + public final void rule__Real__Group_1__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:7264:1: ( ( ( rule__LowerBoundedScopeDefinition__TypeAssignment_1_0_2 ) ) ) - // InternalSolverLanguageParser.g:7265:1: ( ( rule__LowerBoundedScopeDefinition__TypeAssignment_1_0_2 ) ) - { - // InternalSolverLanguageParser.g:7265:1: ( ( rule__LowerBoundedScopeDefinition__TypeAssignment_1_0_2 ) ) - // InternalSolverLanguageParser.g:7266:2: ( rule__LowerBoundedScopeDefinition__TypeAssignment_1_0_2 ) + // InternalSolverLanguageParser.g:8997:1: ( ( FullStop ) ) + // InternalSolverLanguageParser.g:8998:1: ( FullStop ) { - before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getTypeAssignment_1_0_2()); - // InternalSolverLanguageParser.g:7267:2: ( rule__LowerBoundedScopeDefinition__TypeAssignment_1_0_2 ) - // InternalSolverLanguageParser.g:7267:3: rule__LowerBoundedScopeDefinition__TypeAssignment_1_0_2 + // InternalSolverLanguageParser.g:8998:1: ( FullStop ) + // InternalSolverLanguageParser.g:8999:2: FullStop { - pushFollow(FOLLOW_2); - rule__LowerBoundedScopeDefinition__TypeAssignment_1_0_2(); - - state._fsp--; - - - } - - after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getTypeAssignment_1_0_2()); + before(grammarAccess.getRealAccess().getFullStopKeyword_1_0()); + match(input,FullStop,FOLLOW_2); + after(grammarAccess.getRealAccess().getFullStopKeyword_1_0()); } @@ -22411,26 +27649,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__LowerBoundedScopeDefinition__Group_1_0__2__Impl" + // $ANTLR end "rule__Real__Group_1__0__Impl" - // $ANTLR start "rule__LowerBoundedScopeDefinition__Group_1_1__0" - // InternalSolverLanguageParser.g:7276:1: rule__LowerBoundedScopeDefinition__Group_1_1__0 : rule__LowerBoundedScopeDefinition__Group_1_1__0__Impl rule__LowerBoundedScopeDefinition__Group_1_1__1 ; - public final void rule__LowerBoundedScopeDefinition__Group_1_1__0() throws RecognitionException { + // $ANTLR start "rule__Real__Group_1__1" + // InternalSolverLanguageParser.g:9008:1: rule__Real__Group_1__1 : rule__Real__Group_1__1__Impl ; + public final void rule__Real__Group_1__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:7280:1: ( rule__LowerBoundedScopeDefinition__Group_1_1__0__Impl rule__LowerBoundedScopeDefinition__Group_1_1__1 ) - // InternalSolverLanguageParser.g:7281:2: rule__LowerBoundedScopeDefinition__Group_1_1__0__Impl rule__LowerBoundedScopeDefinition__Group_1_1__1 + // InternalSolverLanguageParser.g:9012:1: ( rule__Real__Group_1__1__Impl ) + // InternalSolverLanguageParser.g:9013:2: rule__Real__Group_1__1__Impl { - pushFollow(FOLLOW_56); - rule__LowerBoundedScopeDefinition__Group_1_1__0__Impl(); - - state._fsp--; - pushFollow(FOLLOW_2); - rule__LowerBoundedScopeDefinition__Group_1_1__1(); + rule__Real__Group_1__1__Impl(); state._fsp--; @@ -22449,35 +27682,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__LowerBoundedScopeDefinition__Group_1_1__0" + // $ANTLR end "rule__Real__Group_1__1" - // $ANTLR start "rule__LowerBoundedScopeDefinition__Group_1_1__0__Impl" - // InternalSolverLanguageParser.g:7288:1: rule__LowerBoundedScopeDefinition__Group_1_1__0__Impl : ( ( rule__LowerBoundedScopeDefinition__TypeAssignment_1_1_0 ) ) ; - public final void rule__LowerBoundedScopeDefinition__Group_1_1__0__Impl() throws RecognitionException { + // $ANTLR start "rule__Real__Group_1__1__Impl" + // InternalSolverLanguageParser.g:9019:1: rule__Real__Group_1__1__Impl : ( RULE_INT ) ; + public final void rule__Real__Group_1__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:7292:1: ( ( ( rule__LowerBoundedScopeDefinition__TypeAssignment_1_1_0 ) ) ) - // InternalSolverLanguageParser.g:7293:1: ( ( rule__LowerBoundedScopeDefinition__TypeAssignment_1_1_0 ) ) + // InternalSolverLanguageParser.g:9023:1: ( ( RULE_INT ) ) + // InternalSolverLanguageParser.g:9024:1: ( RULE_INT ) { - // InternalSolverLanguageParser.g:7293:1: ( ( rule__LowerBoundedScopeDefinition__TypeAssignment_1_1_0 ) ) - // InternalSolverLanguageParser.g:7294:2: ( rule__LowerBoundedScopeDefinition__TypeAssignment_1_1_0 ) + // InternalSolverLanguageParser.g:9024:1: ( RULE_INT ) + // InternalSolverLanguageParser.g:9025:2: RULE_INT { - before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getTypeAssignment_1_1_0()); - // InternalSolverLanguageParser.g:7295:2: ( rule__LowerBoundedScopeDefinition__TypeAssignment_1_1_0 ) - // InternalSolverLanguageParser.g:7295:3: rule__LowerBoundedScopeDefinition__TypeAssignment_1_1_0 - { - pushFollow(FOLLOW_2); - rule__LowerBoundedScopeDefinition__TypeAssignment_1_1_0(); - - state._fsp--; - - - } - - after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getTypeAssignment_1_1_0()); + before(grammarAccess.getRealAccess().getINTTerminalRuleCall_1_1()); + match(input,RULE_INT,FOLLOW_2); + after(grammarAccess.getRealAccess().getINTTerminalRuleCall_1_1()); } @@ -22496,26 +27719,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__LowerBoundedScopeDefinition__Group_1_1__0__Impl" + // $ANTLR end "rule__Real__Group_1__1__Impl" - // $ANTLR start "rule__LowerBoundedScopeDefinition__Group_1_1__1" - // InternalSolverLanguageParser.g:7303:1: rule__LowerBoundedScopeDefinition__Group_1_1__1 : rule__LowerBoundedScopeDefinition__Group_1_1__1__Impl rule__LowerBoundedScopeDefinition__Group_1_1__2 ; - public final void rule__LowerBoundedScopeDefinition__Group_1_1__1() throws RecognitionException { + // $ANTLR start "rule__QualifiedName__Group_0__0" + // InternalSolverLanguageParser.g:9035:1: rule__QualifiedName__Group_0__0 : rule__QualifiedName__Group_0__0__Impl rule__QualifiedName__Group_0__1 ; + public final void rule__QualifiedName__Group_0__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:7307:1: ( rule__LowerBoundedScopeDefinition__Group_1_1__1__Impl rule__LowerBoundedScopeDefinition__Group_1_1__2 ) - // InternalSolverLanguageParser.g:7308:2: rule__LowerBoundedScopeDefinition__Group_1_1__1__Impl rule__LowerBoundedScopeDefinition__Group_1_1__2 + // InternalSolverLanguageParser.g:9039:1: ( rule__QualifiedName__Group_0__0__Impl rule__QualifiedName__Group_0__1 ) + // InternalSolverLanguageParser.g:9040:2: rule__QualifiedName__Group_0__0__Impl rule__QualifiedName__Group_0__1 { - pushFollow(FOLLOW_52); - rule__LowerBoundedScopeDefinition__Group_1_1__1__Impl(); + pushFollow(FOLLOW_64); + rule__QualifiedName__Group_0__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__LowerBoundedScopeDefinition__Group_1_1__2(); + rule__QualifiedName__Group_0__1(); state._fsp--; @@ -22534,25 +27757,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__LowerBoundedScopeDefinition__Group_1_1__1" + // $ANTLR end "rule__QualifiedName__Group_0__0" - // $ANTLR start "rule__LowerBoundedScopeDefinition__Group_1_1__1__Impl" - // InternalSolverLanguageParser.g:7315:1: rule__LowerBoundedScopeDefinition__Group_1_1__1__Impl : ( GreaterThanSignEqualsSign ) ; - public final void rule__LowerBoundedScopeDefinition__Group_1_1__1__Impl() throws RecognitionException { + // $ANTLR start "rule__QualifiedName__Group_0__0__Impl" + // InternalSolverLanguageParser.g:9047:1: rule__QualifiedName__Group_0__0__Impl : ( RULE_ID ) ; + public final void rule__QualifiedName__Group_0__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:7319:1: ( ( GreaterThanSignEqualsSign ) ) - // InternalSolverLanguageParser.g:7320:1: ( GreaterThanSignEqualsSign ) + // InternalSolverLanguageParser.g:9051:1: ( ( RULE_ID ) ) + // InternalSolverLanguageParser.g:9052:1: ( RULE_ID ) { - // InternalSolverLanguageParser.g:7320:1: ( GreaterThanSignEqualsSign ) - // InternalSolverLanguageParser.g:7321:2: GreaterThanSignEqualsSign + // InternalSolverLanguageParser.g:9052:1: ( RULE_ID ) + // InternalSolverLanguageParser.g:9053:2: RULE_ID { - before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getGreaterThanSignEqualsSignKeyword_1_1_1()); - match(input,GreaterThanSignEqualsSign,FOLLOW_2); - after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getGreaterThanSignEqualsSignKeyword_1_1_1()); + before(grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_0_0()); + match(input,RULE_ID,FOLLOW_2); + after(grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_0_0()); } @@ -22571,21 +27794,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__LowerBoundedScopeDefinition__Group_1_1__1__Impl" + // $ANTLR end "rule__QualifiedName__Group_0__0__Impl" - // $ANTLR start "rule__LowerBoundedScopeDefinition__Group_1_1__2" - // InternalSolverLanguageParser.g:7330:1: rule__LowerBoundedScopeDefinition__Group_1_1__2 : rule__LowerBoundedScopeDefinition__Group_1_1__2__Impl ; - public final void rule__LowerBoundedScopeDefinition__Group_1_1__2() throws RecognitionException { + // $ANTLR start "rule__QualifiedName__Group_0__1" + // InternalSolverLanguageParser.g:9062:1: rule__QualifiedName__Group_0__1 : rule__QualifiedName__Group_0__1__Impl ; + public final void rule__QualifiedName__Group_0__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:7334:1: ( rule__LowerBoundedScopeDefinition__Group_1_1__2__Impl ) - // InternalSolverLanguageParser.g:7335:2: rule__LowerBoundedScopeDefinition__Group_1_1__2__Impl + // InternalSolverLanguageParser.g:9066:1: ( rule__QualifiedName__Group_0__1__Impl ) + // InternalSolverLanguageParser.g:9067:2: rule__QualifiedName__Group_0__1__Impl { pushFollow(FOLLOW_2); - rule__LowerBoundedScopeDefinition__Group_1_1__2__Impl(); + rule__QualifiedName__Group_0__1__Impl(); state._fsp--; @@ -22604,35 +27827,53 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__LowerBoundedScopeDefinition__Group_1_1__2" + // $ANTLR end "rule__QualifiedName__Group_0__1" - // $ANTLR start "rule__LowerBoundedScopeDefinition__Group_1_1__2__Impl" - // InternalSolverLanguageParser.g:7341:1: rule__LowerBoundedScopeDefinition__Group_1_1__2__Impl : ( ( rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_1_2 ) ) ; - public final void rule__LowerBoundedScopeDefinition__Group_1_1__2__Impl() throws RecognitionException { + // $ANTLR start "rule__QualifiedName__Group_0__1__Impl" + // InternalSolverLanguageParser.g:9073:1: rule__QualifiedName__Group_0__1__Impl : ( ( rule__QualifiedName__Group_0_1__0 )* ) ; + public final void rule__QualifiedName__Group_0__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:7345:1: ( ( ( rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_1_2 ) ) ) - // InternalSolverLanguageParser.g:7346:1: ( ( rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_1_2 ) ) - { - // InternalSolverLanguageParser.g:7346:1: ( ( rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_1_2 ) ) - // InternalSolverLanguageParser.g:7347:2: ( rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_1_2 ) + // InternalSolverLanguageParser.g:9077:1: ( ( ( rule__QualifiedName__Group_0_1__0 )* ) ) + // InternalSolverLanguageParser.g:9078:1: ( ( rule__QualifiedName__Group_0_1__0 )* ) { - before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getLowerBoundAssignment_1_1_2()); - // InternalSolverLanguageParser.g:7348:2: ( rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_1_2 ) - // InternalSolverLanguageParser.g:7348:3: rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_1_2 + // InternalSolverLanguageParser.g:9078:1: ( ( rule__QualifiedName__Group_0_1__0 )* ) + // InternalSolverLanguageParser.g:9079:2: ( rule__QualifiedName__Group_0_1__0 )* { - pushFollow(FOLLOW_2); - rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_1_2(); + before(grammarAccess.getQualifiedNameAccess().getGroup_0_1()); + // InternalSolverLanguageParser.g:9080:2: ( rule__QualifiedName__Group_0_1__0 )* + loop62: + do { + int alt62=2; + int LA62_0 = input.LA(1); - state._fsp--; + if ( (LA62_0==FullStop) ) { + alt62=1; + } - } + switch (alt62) { + case 1 : + // InternalSolverLanguageParser.g:9080:3: rule__QualifiedName__Group_0_1__0 + { + pushFollow(FOLLOW_65); + rule__QualifiedName__Group_0_1__0(); - after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getLowerBoundAssignment_1_1_2()); + state._fsp--; + + + } + break; + + default : + break loop62; + } + } while (true); + + after(grammarAccess.getQualifiedNameAccess().getGroup_0_1()); } @@ -22651,26 +27892,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__LowerBoundedScopeDefinition__Group_1_1__2__Impl" + // $ANTLR end "rule__QualifiedName__Group_0__1__Impl" - // $ANTLR start "rule__ObjectiveDefinition__Group__0" - // InternalSolverLanguageParser.g:7357:1: rule__ObjectiveDefinition__Group__0 : rule__ObjectiveDefinition__Group__0__Impl rule__ObjectiveDefinition__Group__1 ; - public final void rule__ObjectiveDefinition__Group__0() throws RecognitionException { + // $ANTLR start "rule__QualifiedName__Group_0_1__0" + // InternalSolverLanguageParser.g:9089:1: rule__QualifiedName__Group_0_1__0 : rule__QualifiedName__Group_0_1__0__Impl rule__QualifiedName__Group_0_1__1 ; + public final void rule__QualifiedName__Group_0_1__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:7361:1: ( rule__ObjectiveDefinition__Group__0__Impl rule__ObjectiveDefinition__Group__1 ) - // InternalSolverLanguageParser.g:7362:2: rule__ObjectiveDefinition__Group__0__Impl rule__ObjectiveDefinition__Group__1 + // InternalSolverLanguageParser.g:9093:1: ( rule__QualifiedName__Group_0_1__0__Impl rule__QualifiedName__Group_0_1__1 ) + // InternalSolverLanguageParser.g:9094:2: rule__QualifiedName__Group_0_1__0__Impl rule__QualifiedName__Group_0_1__1 { - pushFollow(FOLLOW_7); - rule__ObjectiveDefinition__Group__0__Impl(); + pushFollow(FOLLOW_21); + rule__QualifiedName__Group_0_1__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__ObjectiveDefinition__Group__1(); + rule__QualifiedName__Group_0_1__1(); state._fsp--; @@ -22689,37 +27930,60 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ObjectiveDefinition__Group__0" + // $ANTLR end "rule__QualifiedName__Group_0_1__0" - // $ANTLR start "rule__ObjectiveDefinition__Group__0__Impl" - // InternalSolverLanguageParser.g:7369:1: rule__ObjectiveDefinition__Group__0__Impl : ( ( rule__ObjectiveDefinition__KindAssignment_0 ) ) ; - public final void rule__ObjectiveDefinition__Group__0__Impl() throws RecognitionException { + // $ANTLR start "rule__QualifiedName__Group_0_1__0__Impl" + // InternalSolverLanguageParser.g:9101:1: rule__QualifiedName__Group_0_1__0__Impl : ( FullStop ) ; + public final void rule__QualifiedName__Group_0_1__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:7373:1: ( ( ( rule__ObjectiveDefinition__KindAssignment_0 ) ) ) - // InternalSolverLanguageParser.g:7374:1: ( ( rule__ObjectiveDefinition__KindAssignment_0 ) ) - { - // InternalSolverLanguageParser.g:7374:1: ( ( rule__ObjectiveDefinition__KindAssignment_0 ) ) - // InternalSolverLanguageParser.g:7375:2: ( rule__ObjectiveDefinition__KindAssignment_0 ) + // InternalSolverLanguageParser.g:9105:1: ( ( FullStop ) ) + // InternalSolverLanguageParser.g:9106:1: ( FullStop ) { - before(grammarAccess.getObjectiveDefinitionAccess().getKindAssignment_0()); - // InternalSolverLanguageParser.g:7376:2: ( rule__ObjectiveDefinition__KindAssignment_0 ) - // InternalSolverLanguageParser.g:7376:3: rule__ObjectiveDefinition__KindAssignment_0 + // InternalSolverLanguageParser.g:9106:1: ( FullStop ) + // InternalSolverLanguageParser.g:9107:2: FullStop { - pushFollow(FOLLOW_2); - rule__ObjectiveDefinition__KindAssignment_0(); + before(grammarAccess.getQualifiedNameAccess().getFullStopKeyword_0_1_0()); + match(input,FullStop,FOLLOW_2); + after(grammarAccess.getQualifiedNameAccess().getFullStopKeyword_0_1_0()); - state._fsp--; + } } - after(grammarAccess.getObjectiveDefinitionAccess().getKindAssignment_0()); + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__QualifiedName__Group_0_1__0__Impl" + + + // $ANTLR start "rule__QualifiedName__Group_0_1__1" + // InternalSolverLanguageParser.g:9116:1: rule__QualifiedName__Group_0_1__1 : rule__QualifiedName__Group_0_1__1__Impl ; + public final void rule__QualifiedName__Group_0_1__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:9120:1: ( rule__QualifiedName__Group_0_1__1__Impl ) + // InternalSolverLanguageParser.g:9121:2: rule__QualifiedName__Group_0_1__1__Impl + { + pushFollow(FOLLOW_2); + rule__QualifiedName__Group_0_1__1__Impl(); - } + state._fsp--; } @@ -22736,23 +28000,27 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ObjectiveDefinition__Group__0__Impl" + // $ANTLR end "rule__QualifiedName__Group_0_1__1" - // $ANTLR start "rule__ObjectiveDefinition__Group__1" - // InternalSolverLanguageParser.g:7384:1: rule__ObjectiveDefinition__Group__1 : rule__ObjectiveDefinition__Group__1__Impl ; - public final void rule__ObjectiveDefinition__Group__1() throws RecognitionException { + // $ANTLR start "rule__QualifiedName__Group_0_1__1__Impl" + // InternalSolverLanguageParser.g:9127:1: rule__QualifiedName__Group_0_1__1__Impl : ( RULE_ID ) ; + public final void rule__QualifiedName__Group_0_1__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:7388:1: ( rule__ObjectiveDefinition__Group__1__Impl ) - // InternalSolverLanguageParser.g:7389:2: rule__ObjectiveDefinition__Group__1__Impl + // InternalSolverLanguageParser.g:9131:1: ( ( RULE_ID ) ) + // InternalSolverLanguageParser.g:9132:1: ( RULE_ID ) { - pushFollow(FOLLOW_2); - rule__ObjectiveDefinition__Group__1__Impl(); + // InternalSolverLanguageParser.g:9132:1: ( RULE_ID ) + // InternalSolverLanguageParser.g:9133:2: RULE_ID + { + before(grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_0_1_1()); + match(input,RULE_ID,FOLLOW_2); + after(grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_0_1_1()); - state._fsp--; + } } @@ -22769,35 +28037,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ObjectiveDefinition__Group__1" + // $ANTLR end "rule__QualifiedName__Group_0_1__1__Impl" - // $ANTLR start "rule__ObjectiveDefinition__Group__1__Impl" - // InternalSolverLanguageParser.g:7395:1: rule__ObjectiveDefinition__Group__1__Impl : ( ( rule__ObjectiveDefinition__ObjectiveAssignment_1 ) ) ; - public final void rule__ObjectiveDefinition__Group__1__Impl() throws RecognitionException { + // $ANTLR start "rule__Problem__StatementsAssignment" + // InternalSolverLanguageParser.g:9143:1: rule__Problem__StatementsAssignment : ( ruleStatement ) ; + public final void rule__Problem__StatementsAssignment() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:7399:1: ( ( ( rule__ObjectiveDefinition__ObjectiveAssignment_1 ) ) ) - // InternalSolverLanguageParser.g:7400:1: ( ( rule__ObjectiveDefinition__ObjectiveAssignment_1 ) ) - { - // InternalSolverLanguageParser.g:7400:1: ( ( rule__ObjectiveDefinition__ObjectiveAssignment_1 ) ) - // InternalSolverLanguageParser.g:7401:2: ( rule__ObjectiveDefinition__ObjectiveAssignment_1 ) + // InternalSolverLanguageParser.g:9147:1: ( ( ruleStatement ) ) + // InternalSolverLanguageParser.g:9148:2: ( ruleStatement ) { - before(grammarAccess.getObjectiveDefinitionAccess().getObjectiveAssignment_1()); - // InternalSolverLanguageParser.g:7402:2: ( rule__ObjectiveDefinition__ObjectiveAssignment_1 ) - // InternalSolverLanguageParser.g:7402:3: rule__ObjectiveDefinition__ObjectiveAssignment_1 + // InternalSolverLanguageParser.g:9148:2: ( ruleStatement ) + // InternalSolverLanguageParser.g:9149:3: ruleStatement { + before(grammarAccess.getProblemAccess().getStatementsStatementParserRuleCall_0()); pushFollow(FOLLOW_2); - rule__ObjectiveDefinition__ObjectiveAssignment_1(); + ruleStatement(); state._fsp--; - - } - - after(grammarAccess.getObjectiveDefinitionAccess().getObjectiveAssignment_1()); + after(grammarAccess.getProblemAccess().getStatementsStatementParserRuleCall_0()); } @@ -22816,28 +28078,31 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ObjectiveDefinition__Group__1__Impl" + // $ANTLR end "rule__Problem__StatementsAssignment" - // $ANTLR start "rule__Real__Group__0" - // InternalSolverLanguageParser.g:7411:1: rule__Real__Group__0 : rule__Real__Group__0__Impl rule__Real__Group__1 ; - public final void rule__Real__Group__0() throws RecognitionException { + // $ANTLR start "rule__AssertionOrDefinition__RangeAssignment_1_0_2" + // InternalSolverLanguageParser.g:9158:1: rule__AssertionOrDefinition__RangeAssignment_1_0_2 : ( ruleExpression ) ; + public final void rule__AssertionOrDefinition__RangeAssignment_1_0_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:7415:1: ( rule__Real__Group__0__Impl rule__Real__Group__1 ) - // InternalSolverLanguageParser.g:7416:2: rule__Real__Group__0__Impl rule__Real__Group__1 + // InternalSolverLanguageParser.g:9162:1: ( ( ruleExpression ) ) + // InternalSolverLanguageParser.g:9163:2: ( ruleExpression ) { - pushFollow(FOLLOW_57); - rule__Real__Group__0__Impl(); + // InternalSolverLanguageParser.g:9163:2: ( ruleExpression ) + // InternalSolverLanguageParser.g:9164:3: ruleExpression + { + before(grammarAccess.getAssertionOrDefinitionAccess().getRangeExpressionParserRuleCall_1_0_2_0()); + pushFollow(FOLLOW_2); + ruleExpression(); state._fsp--; - pushFollow(FOLLOW_2); - rule__Real__Group__1(); + after(grammarAccess.getAssertionOrDefinitionAccess().getRangeExpressionParserRuleCall_1_0_2_0()); - state._fsp--; + } } @@ -22854,25 +28119,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Real__Group__0" + // $ANTLR end "rule__AssertionOrDefinition__RangeAssignment_1_0_2" - // $ANTLR start "rule__Real__Group__0__Impl" - // InternalSolverLanguageParser.g:7423:1: rule__Real__Group__0__Impl : ( RULE_INT ) ; - public final void rule__Real__Group__0__Impl() throws RecognitionException { + // $ANTLR start "rule__AssertionOrDefinition__BodyAssignment_1_1_2" + // InternalSolverLanguageParser.g:9173:1: rule__AssertionOrDefinition__BodyAssignment_1_1_2 : ( ruleExpression ) ; + public final void rule__AssertionOrDefinition__BodyAssignment_1_1_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:7427:1: ( ( RULE_INT ) ) - // InternalSolverLanguageParser.g:7428:1: ( RULE_INT ) + // InternalSolverLanguageParser.g:9177:1: ( ( ruleExpression ) ) + // InternalSolverLanguageParser.g:9178:2: ( ruleExpression ) { - // InternalSolverLanguageParser.g:7428:1: ( RULE_INT ) - // InternalSolverLanguageParser.g:7429:2: RULE_INT + // InternalSolverLanguageParser.g:9178:2: ( ruleExpression ) + // InternalSolverLanguageParser.g:9179:3: ruleExpression { - before(grammarAccess.getRealAccess().getINTTerminalRuleCall_0()); - match(input,RULE_INT,FOLLOW_2); - after(grammarAccess.getRealAccess().getINTTerminalRuleCall_0()); + before(grammarAccess.getAssertionOrDefinitionAccess().getBodyExpressionParserRuleCall_1_1_2_0()); + pushFollow(FOLLOW_2); + ruleExpression(); + + state._fsp--; + + after(grammarAccess.getAssertionOrDefinitionAccess().getBodyExpressionParserRuleCall_1_1_2_0()); } @@ -22891,24 +28160,32 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Real__Group__0__Impl" + // $ANTLR end "rule__AssertionOrDefinition__BodyAssignment_1_1_2" - // $ANTLR start "rule__Real__Group__1" - // InternalSolverLanguageParser.g:7438:1: rule__Real__Group__1 : rule__Real__Group__1__Impl ; - public final void rule__Real__Group__1() throws RecognitionException { + // $ANTLR start "rule__AssertionOrDefinition__BodyAssignment_1_2_2" + // InternalSolverLanguageParser.g:9188:1: rule__AssertionOrDefinition__BodyAssignment_1_2_2 : ( ruleExpression ) ; + public final void rule__AssertionOrDefinition__BodyAssignment_1_2_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:7442:1: ( rule__Real__Group__1__Impl ) - // InternalSolverLanguageParser.g:7443:2: rule__Real__Group__1__Impl + // InternalSolverLanguageParser.g:9192:1: ( ( ruleExpression ) ) + // InternalSolverLanguageParser.g:9193:2: ( ruleExpression ) + { + // InternalSolverLanguageParser.g:9193:2: ( ruleExpression ) + // InternalSolverLanguageParser.g:9194:3: ruleExpression { + before(grammarAccess.getAssertionOrDefinitionAccess().getBodyExpressionParserRuleCall_1_2_2_0()); pushFollow(FOLLOW_2); - rule__Real__Group__1__Impl(); + ruleExpression(); state._fsp--; + after(grammarAccess.getAssertionOrDefinitionAccess().getBodyExpressionParserRuleCall_1_2_2_0()); + + } + } @@ -22924,46 +28201,33 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Real__Group__1" + // $ANTLR end "rule__AssertionOrDefinition__BodyAssignment_1_2_2" - // $ANTLR start "rule__Real__Group__1__Impl" - // InternalSolverLanguageParser.g:7449:1: rule__Real__Group__1__Impl : ( ( rule__Real__Group_1__0 )? ) ; - public final void rule__Real__Group__1__Impl() throws RecognitionException { + // $ANTLR start "rule__PredicateDefinition__FunctionalAssignment_0_0_0" + // InternalSolverLanguageParser.g:9203:1: rule__PredicateDefinition__FunctionalAssignment_0_0_0 : ( ( Functional ) ) ; + public final void rule__PredicateDefinition__FunctionalAssignment_0_0_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:7453:1: ( ( ( rule__Real__Group_1__0 )? ) ) - // InternalSolverLanguageParser.g:7454:1: ( ( rule__Real__Group_1__0 )? ) + // InternalSolverLanguageParser.g:9207:1: ( ( ( Functional ) ) ) + // InternalSolverLanguageParser.g:9208:2: ( ( Functional ) ) { - // InternalSolverLanguageParser.g:7454:1: ( ( rule__Real__Group_1__0 )? ) - // InternalSolverLanguageParser.g:7455:2: ( rule__Real__Group_1__0 )? + // InternalSolverLanguageParser.g:9208:2: ( ( Functional ) ) + // InternalSolverLanguageParser.g:9209:3: ( Functional ) { - before(grammarAccess.getRealAccess().getGroup_1()); - // InternalSolverLanguageParser.g:7456:2: ( rule__Real__Group_1__0 )? - int alt52=2; - int LA52_0 = input.LA(1); - - if ( (LA52_0==FullStop) ) { - alt52=1; - } - switch (alt52) { - case 1 : - // InternalSolverLanguageParser.g:7456:3: rule__Real__Group_1__0 - { - pushFollow(FOLLOW_2); - rule__Real__Group_1__0(); - - state._fsp--; - - - } - break; + before(grammarAccess.getPredicateDefinitionAccess().getFunctionalFunctionalKeyword_0_0_0_0()); + // InternalSolverLanguageParser.g:9210:3: ( Functional ) + // InternalSolverLanguageParser.g:9211:4: Functional + { + before(grammarAccess.getPredicateDefinitionAccess().getFunctionalFunctionalKeyword_0_0_0_0()); + match(input,Functional,FOLLOW_2); + after(grammarAccess.getPredicateDefinitionAccess().getFunctionalFunctionalKeyword_0_0_0_0()); } - after(grammarAccess.getRealAccess().getGroup_1()); + after(grammarAccess.getPredicateDefinitionAccess().getFunctionalFunctionalKeyword_0_0_0_0()); } @@ -22982,28 +28246,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Real__Group__1__Impl" + // $ANTLR end "rule__PredicateDefinition__FunctionalAssignment_0_0_0" - // $ANTLR start "rule__Real__Group_1__0" - // InternalSolverLanguageParser.g:7465:1: rule__Real__Group_1__0 : rule__Real__Group_1__0__Impl rule__Real__Group_1__1 ; - public final void rule__Real__Group_1__0() throws RecognitionException { + // $ANTLR start "rule__PredicateDefinition__ErrorAssignment_0_0_1" + // InternalSolverLanguageParser.g:9222:1: rule__PredicateDefinition__ErrorAssignment_0_0_1 : ( ( Error ) ) ; + public final void rule__PredicateDefinition__ErrorAssignment_0_0_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:7469:1: ( rule__Real__Group_1__0__Impl rule__Real__Group_1__1 ) - // InternalSolverLanguageParser.g:7470:2: rule__Real__Group_1__0__Impl rule__Real__Group_1__1 + // InternalSolverLanguageParser.g:9226:1: ( ( ( Error ) ) ) + // InternalSolverLanguageParser.g:9227:2: ( ( Error ) ) { - pushFollow(FOLLOW_52); - rule__Real__Group_1__0__Impl(); + // InternalSolverLanguageParser.g:9227:2: ( ( Error ) ) + // InternalSolverLanguageParser.g:9228:3: ( Error ) + { + before(grammarAccess.getPredicateDefinitionAccess().getErrorErrorKeyword_0_0_1_0()); + // InternalSolverLanguageParser.g:9229:3: ( Error ) + // InternalSolverLanguageParser.g:9230:4: Error + { + before(grammarAccess.getPredicateDefinitionAccess().getErrorErrorKeyword_0_0_1_0()); + match(input,Error,FOLLOW_2); + after(grammarAccess.getPredicateDefinitionAccess().getErrorErrorKeyword_0_0_1_0()); - state._fsp--; + } - pushFollow(FOLLOW_2); - rule__Real__Group_1__1(); + after(grammarAccess.getPredicateDefinitionAccess().getErrorErrorKeyword_0_0_1_0()); - state._fsp--; + } } @@ -23020,25 +28291,33 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Real__Group_1__0" + // $ANTLR end "rule__PredicateDefinition__ErrorAssignment_0_0_1" - // $ANTLR start "rule__Real__Group_1__0__Impl" - // InternalSolverLanguageParser.g:7477:1: rule__Real__Group_1__0__Impl : ( FullStop ) ; - public final void rule__Real__Group_1__0__Impl() throws RecognitionException { + // $ANTLR start "rule__PredicateDefinition__ErrorAssignment_0_1_0" + // InternalSolverLanguageParser.g:9241:1: rule__PredicateDefinition__ErrorAssignment_0_1_0 : ( ( Error ) ) ; + public final void rule__PredicateDefinition__ErrorAssignment_0_1_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:7481:1: ( ( FullStop ) ) - // InternalSolverLanguageParser.g:7482:1: ( FullStop ) + // InternalSolverLanguageParser.g:9245:1: ( ( ( Error ) ) ) + // InternalSolverLanguageParser.g:9246:2: ( ( Error ) ) { - // InternalSolverLanguageParser.g:7482:1: ( FullStop ) - // InternalSolverLanguageParser.g:7483:2: FullStop + // InternalSolverLanguageParser.g:9246:2: ( ( Error ) ) + // InternalSolverLanguageParser.g:9247:3: ( Error ) { - before(grammarAccess.getRealAccess().getFullStopKeyword_1_0()); - match(input,FullStop,FOLLOW_2); - after(grammarAccess.getRealAccess().getFullStopKeyword_1_0()); + before(grammarAccess.getPredicateDefinitionAccess().getErrorErrorKeyword_0_1_0_0()); + // InternalSolverLanguageParser.g:9248:3: ( Error ) + // InternalSolverLanguageParser.g:9249:4: Error + { + before(grammarAccess.getPredicateDefinitionAccess().getErrorErrorKeyword_0_1_0_0()); + match(input,Error,FOLLOW_2); + after(grammarAccess.getPredicateDefinitionAccess().getErrorErrorKeyword_0_1_0_0()); + + } + + after(grammarAccess.getPredicateDefinitionAccess().getErrorErrorKeyword_0_1_0_0()); } @@ -23057,23 +28336,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Real__Group_1__0__Impl" + // $ANTLR end "rule__PredicateDefinition__ErrorAssignment_0_1_0" - // $ANTLR start "rule__Real__Group_1__1" - // InternalSolverLanguageParser.g:7492:1: rule__Real__Group_1__1 : rule__Real__Group_1__1__Impl ; - public final void rule__Real__Group_1__1() throws RecognitionException { + // $ANTLR start "rule__PredicateDefinition__FunctionalAssignment_0_1_1" + // InternalSolverLanguageParser.g:9260:1: rule__PredicateDefinition__FunctionalAssignment_0_1_1 : ( ( Functional ) ) ; + public final void rule__PredicateDefinition__FunctionalAssignment_0_1_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:7496:1: ( rule__Real__Group_1__1__Impl ) - // InternalSolverLanguageParser.g:7497:2: rule__Real__Group_1__1__Impl + // InternalSolverLanguageParser.g:9264:1: ( ( ( Functional ) ) ) + // InternalSolverLanguageParser.g:9265:2: ( ( Functional ) ) { - pushFollow(FOLLOW_2); - rule__Real__Group_1__1__Impl(); + // InternalSolverLanguageParser.g:9265:2: ( ( Functional ) ) + // InternalSolverLanguageParser.g:9266:3: ( Functional ) + { + before(grammarAccess.getPredicateDefinitionAccess().getFunctionalFunctionalKeyword_0_1_1_0()); + // InternalSolverLanguageParser.g:9267:3: ( Functional ) + // InternalSolverLanguageParser.g:9268:4: Functional + { + before(grammarAccess.getPredicateDefinitionAccess().getFunctionalFunctionalKeyword_0_1_1_0()); + match(input,Functional,FOLLOW_2); + after(grammarAccess.getPredicateDefinitionAccess().getFunctionalFunctionalKeyword_0_1_1_0()); - state._fsp--; + } + + after(grammarAccess.getPredicateDefinitionAccess().getFunctionalFunctionalKeyword_0_1_1_0()); + + } } @@ -23090,25 +28381,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Real__Group_1__1" + // $ANTLR end "rule__PredicateDefinition__FunctionalAssignment_0_1_1" - // $ANTLR start "rule__Real__Group_1__1__Impl" - // InternalSolverLanguageParser.g:7503:1: rule__Real__Group_1__1__Impl : ( RULE_INT ) ; - public final void rule__Real__Group_1__1__Impl() throws RecognitionException { + // $ANTLR start "rule__PredicateDefinition__HeadAssignment_1" + // InternalSolverLanguageParser.g:9279:1: rule__PredicateDefinition__HeadAssignment_1 : ( ruleCall ) ; + public final void rule__PredicateDefinition__HeadAssignment_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:7507:1: ( ( RULE_INT ) ) - // InternalSolverLanguageParser.g:7508:1: ( RULE_INT ) + // InternalSolverLanguageParser.g:9283:1: ( ( ruleCall ) ) + // InternalSolverLanguageParser.g:9284:2: ( ruleCall ) { - // InternalSolverLanguageParser.g:7508:1: ( RULE_INT ) - // InternalSolverLanguageParser.g:7509:2: RULE_INT + // InternalSolverLanguageParser.g:9284:2: ( ruleCall ) + // InternalSolverLanguageParser.g:9285:3: ruleCall { - before(grammarAccess.getRealAccess().getINTTerminalRuleCall_1_1()); - match(input,RULE_INT,FOLLOW_2); - after(grammarAccess.getRealAccess().getINTTerminalRuleCall_1_1()); + before(grammarAccess.getPredicateDefinitionAccess().getHeadCallParserRuleCall_1_0()); + pushFollow(FOLLOW_2); + ruleCall(); + + state._fsp--; + + after(grammarAccess.getPredicateDefinitionAccess().getHeadCallParserRuleCall_1_0()); } @@ -23127,28 +28422,31 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Real__Group_1__1__Impl" + // $ANTLR end "rule__PredicateDefinition__HeadAssignment_1" - // $ANTLR start "rule__QualifiedName__Group_0__0" - // InternalSolverLanguageParser.g:7519:1: rule__QualifiedName__Group_0__0 : rule__QualifiedName__Group_0__0__Impl rule__QualifiedName__Group_0__1 ; - public final void rule__QualifiedName__Group_0__0() throws RecognitionException { + // $ANTLR start "rule__PredicateDefinition__BodyAssignment_3" + // InternalSolverLanguageParser.g:9294:1: rule__PredicateDefinition__BodyAssignment_3 : ( ruleExpression ) ; + public final void rule__PredicateDefinition__BodyAssignment_3() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:7523:1: ( rule__QualifiedName__Group_0__0__Impl rule__QualifiedName__Group_0__1 ) - // InternalSolverLanguageParser.g:7524:2: rule__QualifiedName__Group_0__0__Impl rule__QualifiedName__Group_0__1 + // InternalSolverLanguageParser.g:9298:1: ( ( ruleExpression ) ) + // InternalSolverLanguageParser.g:9299:2: ( ruleExpression ) { - pushFollow(FOLLOW_57); - rule__QualifiedName__Group_0__0__Impl(); + // InternalSolverLanguageParser.g:9299:2: ( ruleExpression ) + // InternalSolverLanguageParser.g:9300:3: ruleExpression + { + before(grammarAccess.getPredicateDefinitionAccess().getBodyExpressionParserRuleCall_3_0()); + pushFollow(FOLLOW_2); + ruleExpression(); state._fsp--; - pushFollow(FOLLOW_2); - rule__QualifiedName__Group_0__1(); + after(grammarAccess.getPredicateDefinitionAccess().getBodyExpressionParserRuleCall_3_0()); - state._fsp--; + } } @@ -23165,25 +28463,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__QualifiedName__Group_0__0" + // $ANTLR end "rule__PredicateDefinition__BodyAssignment_3" - // $ANTLR start "rule__QualifiedName__Group_0__0__Impl" - // InternalSolverLanguageParser.g:7531:1: rule__QualifiedName__Group_0__0__Impl : ( RULE_ID ) ; - public final void rule__QualifiedName__Group_0__0__Impl() throws RecognitionException { + // $ANTLR start "rule__UnnamedErrorPrediateDefinition__ArgumentListAssignment_1" + // InternalSolverLanguageParser.g:9309:1: rule__UnnamedErrorPrediateDefinition__ArgumentListAssignment_1 : ( ruleArgumentList ) ; + public final void rule__UnnamedErrorPrediateDefinition__ArgumentListAssignment_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:7535:1: ( ( RULE_ID ) ) - // InternalSolverLanguageParser.g:7536:1: ( RULE_ID ) + // InternalSolverLanguageParser.g:9313:1: ( ( ruleArgumentList ) ) + // InternalSolverLanguageParser.g:9314:2: ( ruleArgumentList ) { - // InternalSolverLanguageParser.g:7536:1: ( RULE_ID ) - // InternalSolverLanguageParser.g:7537:2: RULE_ID + // InternalSolverLanguageParser.g:9314:2: ( ruleArgumentList ) + // InternalSolverLanguageParser.g:9315:3: ruleArgumentList { - before(grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_0_0()); - match(input,RULE_ID,FOLLOW_2); - after(grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_0_0()); + before(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getArgumentListArgumentListParserRuleCall_1_0()); + pushFollow(FOLLOW_2); + ruleArgumentList(); + + state._fsp--; + + after(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getArgumentListArgumentListParserRuleCall_1_0()); } @@ -23202,24 +28504,32 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__QualifiedName__Group_0__0__Impl" + // $ANTLR end "rule__UnnamedErrorPrediateDefinition__ArgumentListAssignment_1" - // $ANTLR start "rule__QualifiedName__Group_0__1" - // InternalSolverLanguageParser.g:7546:1: rule__QualifiedName__Group_0__1 : rule__QualifiedName__Group_0__1__Impl ; - public final void rule__QualifiedName__Group_0__1() throws RecognitionException { + // $ANTLR start "rule__UnnamedErrorPrediateDefinition__BodyAssignment_3" + // InternalSolverLanguageParser.g:9324:1: rule__UnnamedErrorPrediateDefinition__BodyAssignment_3 : ( ruleExpression ) ; + public final void rule__UnnamedErrorPrediateDefinition__BodyAssignment_3() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:7550:1: ( rule__QualifiedName__Group_0__1__Impl ) - // InternalSolverLanguageParser.g:7551:2: rule__QualifiedName__Group_0__1__Impl + // InternalSolverLanguageParser.g:9328:1: ( ( ruleExpression ) ) + // InternalSolverLanguageParser.g:9329:2: ( ruleExpression ) + { + // InternalSolverLanguageParser.g:9329:2: ( ruleExpression ) + // InternalSolverLanguageParser.g:9330:3: ruleExpression { + before(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getBodyExpressionParserRuleCall_3_0()); pushFollow(FOLLOW_2); - rule__QualifiedName__Group_0__1__Impl(); + ruleExpression(); state._fsp--; + after(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getBodyExpressionParserRuleCall_3_0()); + + } + } @@ -23235,53 +28545,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__QualifiedName__Group_0__1" - - - // $ANTLR start "rule__QualifiedName__Group_0__1__Impl" - // InternalSolverLanguageParser.g:7557:1: rule__QualifiedName__Group_0__1__Impl : ( ( rule__QualifiedName__Group_0_1__0 )* ) ; - public final void rule__QualifiedName__Group_0__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalSolverLanguageParser.g:7561:1: ( ( ( rule__QualifiedName__Group_0_1__0 )* ) ) - // InternalSolverLanguageParser.g:7562:1: ( ( rule__QualifiedName__Group_0_1__0 )* ) - { - // InternalSolverLanguageParser.g:7562:1: ( ( rule__QualifiedName__Group_0_1__0 )* ) - // InternalSolverLanguageParser.g:7563:2: ( rule__QualifiedName__Group_0_1__0 )* - { - before(grammarAccess.getQualifiedNameAccess().getGroup_0_1()); - // InternalSolverLanguageParser.g:7564:2: ( rule__QualifiedName__Group_0_1__0 )* - loop53: - do { - int alt53=2; - int LA53_0 = input.LA(1); - - if ( (LA53_0==FullStop) ) { - alt53=1; - } - - - switch (alt53) { - case 1 : - // InternalSolverLanguageParser.g:7564:3: rule__QualifiedName__Group_0_1__0 - { - pushFollow(FOLLOW_58); - rule__QualifiedName__Group_0_1__0(); + // $ANTLR end "rule__UnnamedErrorPrediateDefinition__BodyAssignment_3" - state._fsp--; + // $ANTLR start "rule__DefaultDefinition__HeadAssignment_1" + // InternalSolverLanguageParser.g:9339:1: rule__DefaultDefinition__HeadAssignment_1 : ( ruleCall ) ; + public final void rule__DefaultDefinition__HeadAssignment_1() throws RecognitionException { - } - break; + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:9343:1: ( ( ruleCall ) ) + // InternalSolverLanguageParser.g:9344:2: ( ruleCall ) + { + // InternalSolverLanguageParser.g:9344:2: ( ruleCall ) + // InternalSolverLanguageParser.g:9345:3: ruleCall + { + before(grammarAccess.getDefaultDefinitionAccess().getHeadCallParserRuleCall_1_0()); + pushFollow(FOLLOW_2); + ruleCall(); - default : - break loop53; - } - } while (true); + state._fsp--; - after(grammarAccess.getQualifiedNameAccess().getGroup_0_1()); + after(grammarAccess.getDefaultDefinitionAccess().getHeadCallParserRuleCall_1_0()); } @@ -23300,28 +28586,31 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__QualifiedName__Group_0__1__Impl" + // $ANTLR end "rule__DefaultDefinition__HeadAssignment_1" - // $ANTLR start "rule__QualifiedName__Group_0_1__0" - // InternalSolverLanguageParser.g:7573:1: rule__QualifiedName__Group_0_1__0 : rule__QualifiedName__Group_0_1__0__Impl rule__QualifiedName__Group_0_1__1 ; - public final void rule__QualifiedName__Group_0_1__0() throws RecognitionException { + // $ANTLR start "rule__DefaultDefinition__RangeAssignment_3" + // InternalSolverLanguageParser.g:9354:1: rule__DefaultDefinition__RangeAssignment_3 : ( ruleExpression ) ; + public final void rule__DefaultDefinition__RangeAssignment_3() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:7577:1: ( rule__QualifiedName__Group_0_1__0__Impl rule__QualifiedName__Group_0_1__1 ) - // InternalSolverLanguageParser.g:7578:2: rule__QualifiedName__Group_0_1__0__Impl rule__QualifiedName__Group_0_1__1 + // InternalSolverLanguageParser.g:9358:1: ( ( ruleExpression ) ) + // InternalSolverLanguageParser.g:9359:2: ( ruleExpression ) { - pushFollow(FOLLOW_43); - rule__QualifiedName__Group_0_1__0__Impl(); + // InternalSolverLanguageParser.g:9359:2: ( ruleExpression ) + // InternalSolverLanguageParser.g:9360:3: ruleExpression + { + before(grammarAccess.getDefaultDefinitionAccess().getRangeExpressionParserRuleCall_3_0()); + pushFollow(FOLLOW_2); + ruleExpression(); state._fsp--; - pushFollow(FOLLOW_2); - rule__QualifiedName__Group_0_1__1(); + after(grammarAccess.getDefaultDefinitionAccess().getRangeExpressionParserRuleCall_3_0()); - state._fsp--; + } } @@ -23338,25 +28627,37 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__QualifiedName__Group_0_1__0" + // $ANTLR end "rule__DefaultDefinition__RangeAssignment_3" - // $ANTLR start "rule__QualifiedName__Group_0_1__0__Impl" - // InternalSolverLanguageParser.g:7585:1: rule__QualifiedName__Group_0_1__0__Impl : ( FullStop ) ; - public final void rule__QualifiedName__Group_0_1__0__Impl() throws RecognitionException { + // $ANTLR start "rule__MetricDefinition__TypeAssignment_0" + // InternalSolverLanguageParser.g:9369:1: rule__MetricDefinition__TypeAssignment_0 : ( ( ruleQualifiedName ) ) ; + public final void rule__MetricDefinition__TypeAssignment_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:7589:1: ( ( FullStop ) ) - // InternalSolverLanguageParser.g:7590:1: ( FullStop ) + // InternalSolverLanguageParser.g:9373:1: ( ( ( ruleQualifiedName ) ) ) + // InternalSolverLanguageParser.g:9374:2: ( ( ruleQualifiedName ) ) { - // InternalSolverLanguageParser.g:7590:1: ( FullStop ) - // InternalSolverLanguageParser.g:7591:2: FullStop + // InternalSolverLanguageParser.g:9374:2: ( ( ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:9375:3: ( ruleQualifiedName ) { - before(grammarAccess.getQualifiedNameAccess().getFullStopKeyword_0_1_0()); - match(input,FullStop,FOLLOW_2); - after(grammarAccess.getQualifiedNameAccess().getFullStopKeyword_0_1_0()); + before(grammarAccess.getMetricDefinitionAccess().getTypeNamedElementCrossReference_0_0()); + // InternalSolverLanguageParser.g:9376:3: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:9377:4: ruleQualifiedName + { + before(grammarAccess.getMetricDefinitionAccess().getTypeNamedElementQualifiedNameParserRuleCall_0_0_1()); + pushFollow(FOLLOW_2); + ruleQualifiedName(); + + state._fsp--; + + after(grammarAccess.getMetricDefinitionAccess().getTypeNamedElementQualifiedNameParserRuleCall_0_0_1()); + + } + + after(grammarAccess.getMetricDefinitionAccess().getTypeNamedElementCrossReference_0_0()); } @@ -23375,24 +28676,32 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__QualifiedName__Group_0_1__0__Impl" + // $ANTLR end "rule__MetricDefinition__TypeAssignment_0" - // $ANTLR start "rule__QualifiedName__Group_0_1__1" - // InternalSolverLanguageParser.g:7600:1: rule__QualifiedName__Group_0_1__1 : rule__QualifiedName__Group_0_1__1__Impl ; - public final void rule__QualifiedName__Group_0_1__1() throws RecognitionException { + // $ANTLR start "rule__MetricDefinition__HeadAssignment_1" + // InternalSolverLanguageParser.g:9388:1: rule__MetricDefinition__HeadAssignment_1 : ( ruleCall ) ; + public final void rule__MetricDefinition__HeadAssignment_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:7604:1: ( rule__QualifiedName__Group_0_1__1__Impl ) - // InternalSolverLanguageParser.g:7605:2: rule__QualifiedName__Group_0_1__1__Impl + // InternalSolverLanguageParser.g:9392:1: ( ( ruleCall ) ) + // InternalSolverLanguageParser.g:9393:2: ( ruleCall ) { + // InternalSolverLanguageParser.g:9393:2: ( ruleCall ) + // InternalSolverLanguageParser.g:9394:3: ruleCall + { + before(grammarAccess.getMetricDefinitionAccess().getHeadCallParserRuleCall_1_0()); pushFollow(FOLLOW_2); - rule__QualifiedName__Group_0_1__1__Impl(); + ruleCall(); state._fsp--; + after(grammarAccess.getMetricDefinitionAccess().getHeadCallParserRuleCall_1_0()); + + } + } @@ -23408,25 +28717,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__QualifiedName__Group_0_1__1" + // $ANTLR end "rule__MetricDefinition__HeadAssignment_1" - // $ANTLR start "rule__QualifiedName__Group_0_1__1__Impl" - // InternalSolverLanguageParser.g:7611:1: rule__QualifiedName__Group_0_1__1__Impl : ( RULE_ID ) ; - public final void rule__QualifiedName__Group_0_1__1__Impl() throws RecognitionException { + // $ANTLR start "rule__MetricDefinition__BodyAssignment_3" + // InternalSolverLanguageParser.g:9403:1: rule__MetricDefinition__BodyAssignment_3 : ( ruleExpression ) ; + public final void rule__MetricDefinition__BodyAssignment_3() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:7615:1: ( ( RULE_ID ) ) - // InternalSolverLanguageParser.g:7616:1: ( RULE_ID ) + // InternalSolverLanguageParser.g:9407:1: ( ( ruleExpression ) ) + // InternalSolverLanguageParser.g:9408:2: ( ruleExpression ) { - // InternalSolverLanguageParser.g:7616:1: ( RULE_ID ) - // InternalSolverLanguageParser.g:7617:2: RULE_ID + // InternalSolverLanguageParser.g:9408:2: ( ruleExpression ) + // InternalSolverLanguageParser.g:9409:3: ruleExpression { - before(grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_0_1_1()); - match(input,RULE_ID,FOLLOW_2); - after(grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_0_1_1()); + before(grammarAccess.getMetricDefinitionAccess().getBodyExpressionParserRuleCall_3_0()); + pushFollow(FOLLOW_2); + ruleExpression(); + + state._fsp--; + + after(grammarAccess.getMetricDefinitionAccess().getBodyExpressionParserRuleCall_3_0()); } @@ -23445,29 +28758,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__QualifiedName__Group_0_1__1__Impl" + // $ANTLR end "rule__MetricDefinition__BodyAssignment_3" - // $ANTLR start "rule__Problem__StatementsAssignment" - // InternalSolverLanguageParser.g:7627:1: rule__Problem__StatementsAssignment : ( ruleStatement ) ; - public final void rule__Problem__StatementsAssignment() throws RecognitionException { + // $ANTLR start "rule__ExternPredicateDefinition__NameAssignment_1" + // InternalSolverLanguageParser.g:9418:1: rule__ExternPredicateDefinition__NameAssignment_1 : ( ruleQualifiedName ) ; + public final void rule__ExternPredicateDefinition__NameAssignment_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:7631:1: ( ( ruleStatement ) ) - // InternalSolverLanguageParser.g:7632:2: ( ruleStatement ) + // InternalSolverLanguageParser.g:9422:1: ( ( ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:9423:2: ( ruleQualifiedName ) { - // InternalSolverLanguageParser.g:7632:2: ( ruleStatement ) - // InternalSolverLanguageParser.g:7633:3: ruleStatement + // InternalSolverLanguageParser.g:9423:2: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:9424:3: ruleQualifiedName { - before(grammarAccess.getProblemAccess().getStatementsStatementParserRuleCall_0()); + before(grammarAccess.getExternPredicateDefinitionAccess().getNameQualifiedNameParserRuleCall_1_0()); pushFollow(FOLLOW_2); - ruleStatement(); + ruleQualifiedName(); state._fsp--; - after(grammarAccess.getProblemAccess().getStatementsStatementParserRuleCall_0()); + after(grammarAccess.getExternPredicateDefinitionAccess().getNameQualifiedNameParserRuleCall_1_0()); } @@ -23486,29 +28799,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Problem__StatementsAssignment" + // $ANTLR end "rule__ExternPredicateDefinition__NameAssignment_1" - // $ANTLR start "rule__AssertionOrDefinition__RangeAssignment_1_0_1_1" - // InternalSolverLanguageParser.g:7642:1: rule__AssertionOrDefinition__RangeAssignment_1_0_1_1 : ( ruleExpression ) ; - public final void rule__AssertionOrDefinition__RangeAssignment_1_0_1_1() throws RecognitionException { + // $ANTLR start "rule__ExternPredicateDefinition__ArgumentListAssignment_2" + // InternalSolverLanguageParser.g:9433:1: rule__ExternPredicateDefinition__ArgumentListAssignment_2 : ( ruleArgumentList ) ; + public final void rule__ExternPredicateDefinition__ArgumentListAssignment_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:7646:1: ( ( ruleExpression ) ) - // InternalSolverLanguageParser.g:7647:2: ( ruleExpression ) + // InternalSolverLanguageParser.g:9437:1: ( ( ruleArgumentList ) ) + // InternalSolverLanguageParser.g:9438:2: ( ruleArgumentList ) { - // InternalSolverLanguageParser.g:7647:2: ( ruleExpression ) - // InternalSolverLanguageParser.g:7648:3: ruleExpression + // InternalSolverLanguageParser.g:9438:2: ( ruleArgumentList ) + // InternalSolverLanguageParser.g:9439:3: ruleArgumentList { - before(grammarAccess.getAssertionOrDefinitionAccess().getRangeExpressionParserRuleCall_1_0_1_1_0()); + before(grammarAccess.getExternPredicateDefinitionAccess().getArgumentListArgumentListParserRuleCall_2_0()); pushFollow(FOLLOW_2); - ruleExpression(); + ruleArgumentList(); state._fsp--; - after(grammarAccess.getAssertionOrDefinitionAccess().getRangeExpressionParserRuleCall_1_0_1_1_0()); + after(grammarAccess.getExternPredicateDefinitionAccess().getArgumentListArgumentListParserRuleCall_2_0()); } @@ -23527,29 +28840,37 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__AssertionOrDefinition__RangeAssignment_1_0_1_1" + // $ANTLR end "rule__ExternPredicateDefinition__ArgumentListAssignment_2" - // $ANTLR start "rule__AssertionOrDefinition__BodyAssignment_1_1_2" - // InternalSolverLanguageParser.g:7657:1: rule__AssertionOrDefinition__BodyAssignment_1_1_2 : ( ruleExpression ) ; - public final void rule__AssertionOrDefinition__BodyAssignment_1_1_2() throws RecognitionException { + // $ANTLR start "rule__ExternMetricDefinition__TypeAssignment_1" + // InternalSolverLanguageParser.g:9448:1: rule__ExternMetricDefinition__TypeAssignment_1 : ( ( ruleQualifiedName ) ) ; + public final void rule__ExternMetricDefinition__TypeAssignment_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:7661:1: ( ( ruleExpression ) ) - // InternalSolverLanguageParser.g:7662:2: ( ruleExpression ) + // InternalSolverLanguageParser.g:9452:1: ( ( ( ruleQualifiedName ) ) ) + // InternalSolverLanguageParser.g:9453:2: ( ( ruleQualifiedName ) ) { - // InternalSolverLanguageParser.g:7662:2: ( ruleExpression ) - // InternalSolverLanguageParser.g:7663:3: ruleExpression + // InternalSolverLanguageParser.g:9453:2: ( ( ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:9454:3: ( ruleQualifiedName ) { - before(grammarAccess.getAssertionOrDefinitionAccess().getBodyExpressionParserRuleCall_1_1_2_0()); + before(grammarAccess.getExternMetricDefinitionAccess().getTypeNamedElementCrossReference_1_0()); + // InternalSolverLanguageParser.g:9455:3: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:9456:4: ruleQualifiedName + { + before(grammarAccess.getExternMetricDefinitionAccess().getTypeNamedElementQualifiedNameParserRuleCall_1_0_1()); pushFollow(FOLLOW_2); - ruleExpression(); + ruleQualifiedName(); state._fsp--; - after(grammarAccess.getAssertionOrDefinitionAccess().getBodyExpressionParserRuleCall_1_1_2_0()); + after(grammarAccess.getExternMetricDefinitionAccess().getTypeNamedElementQualifiedNameParserRuleCall_1_0_1()); + + } + + after(grammarAccess.getExternMetricDefinitionAccess().getTypeNamedElementCrossReference_1_0()); } @@ -23568,29 +28889,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__AssertionOrDefinition__BodyAssignment_1_1_2" + // $ANTLR end "rule__ExternMetricDefinition__TypeAssignment_1" - // $ANTLR start "rule__AssertionOrDefinition__BodyAssignment_1_2_2" - // InternalSolverLanguageParser.g:7672:1: rule__AssertionOrDefinition__BodyAssignment_1_2_2 : ( ruleExpression ) ; - public final void rule__AssertionOrDefinition__BodyAssignment_1_2_2() throws RecognitionException { + // $ANTLR start "rule__ExternMetricDefinition__NameAssignment_2" + // InternalSolverLanguageParser.g:9467:1: rule__ExternMetricDefinition__NameAssignment_2 : ( ruleQualifiedName ) ; + public final void rule__ExternMetricDefinition__NameAssignment_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:7676:1: ( ( ruleExpression ) ) - // InternalSolverLanguageParser.g:7677:2: ( ruleExpression ) + // InternalSolverLanguageParser.g:9471:1: ( ( ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:9472:2: ( ruleQualifiedName ) { - // InternalSolverLanguageParser.g:7677:2: ( ruleExpression ) - // InternalSolverLanguageParser.g:7678:3: ruleExpression + // InternalSolverLanguageParser.g:9472:2: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:9473:3: ruleQualifiedName { - before(grammarAccess.getAssertionOrDefinitionAccess().getBodyExpressionParserRuleCall_1_2_2_0()); + before(grammarAccess.getExternMetricDefinitionAccess().getNameQualifiedNameParserRuleCall_2_0()); pushFollow(FOLLOW_2); - ruleExpression(); + ruleQualifiedName(); state._fsp--; - after(grammarAccess.getAssertionOrDefinitionAccess().getBodyExpressionParserRuleCall_1_2_2_0()); + after(grammarAccess.getExternMetricDefinitionAccess().getNameQualifiedNameParserRuleCall_2_0()); } @@ -23609,33 +28930,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__AssertionOrDefinition__BodyAssignment_1_2_2" + // $ANTLR end "rule__ExternMetricDefinition__NameAssignment_2" - // $ANTLR start "rule__PredicateDefinition__FunctionalAssignment_0_0_0" - // InternalSolverLanguageParser.g:7687:1: rule__PredicateDefinition__FunctionalAssignment_0_0_0 : ( ( Functional ) ) ; - public final void rule__PredicateDefinition__FunctionalAssignment_0_0_0() throws RecognitionException { + // $ANTLR start "rule__ExternMetricDefinition__ArgumentListAssignment_3" + // InternalSolverLanguageParser.g:9482:1: rule__ExternMetricDefinition__ArgumentListAssignment_3 : ( ruleArgumentList ) ; + public final void rule__ExternMetricDefinition__ArgumentListAssignment_3() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:7691:1: ( ( ( Functional ) ) ) - // InternalSolverLanguageParser.g:7692:2: ( ( Functional ) ) + // InternalSolverLanguageParser.g:9486:1: ( ( ruleArgumentList ) ) + // InternalSolverLanguageParser.g:9487:2: ( ruleArgumentList ) { - // InternalSolverLanguageParser.g:7692:2: ( ( Functional ) ) - // InternalSolverLanguageParser.g:7693:3: ( Functional ) + // InternalSolverLanguageParser.g:9487:2: ( ruleArgumentList ) + // InternalSolverLanguageParser.g:9488:3: ruleArgumentList { - before(grammarAccess.getPredicateDefinitionAccess().getFunctionalFunctionalKeyword_0_0_0_0()); - // InternalSolverLanguageParser.g:7694:3: ( Functional ) - // InternalSolverLanguageParser.g:7695:4: Functional - { - before(grammarAccess.getPredicateDefinitionAccess().getFunctionalFunctionalKeyword_0_0_0_0()); - match(input,Functional,FOLLOW_2); - after(grammarAccess.getPredicateDefinitionAccess().getFunctionalFunctionalKeyword_0_0_0_0()); + before(grammarAccess.getExternMetricDefinitionAccess().getArgumentListArgumentListParserRuleCall_3_0()); + pushFollow(FOLLOW_2); + ruleArgumentList(); - } + state._fsp--; - after(grammarAccess.getPredicateDefinitionAccess().getFunctionalFunctionalKeyword_0_0_0_0()); + after(grammarAccess.getExternMetricDefinitionAccess().getArgumentListArgumentListParserRuleCall_3_0()); } @@ -23654,33 +28971,37 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__PredicateDefinition__FunctionalAssignment_0_0_0" + // $ANTLR end "rule__ExternMetricDefinition__ArgumentListAssignment_3" - // $ANTLR start "rule__PredicateDefinition__ErrorAssignment_0_0_1" - // InternalSolverLanguageParser.g:7706:1: rule__PredicateDefinition__ErrorAssignment_0_0_1 : ( ( Error ) ) ; - public final void rule__PredicateDefinition__ErrorAssignment_0_0_1() throws RecognitionException { + // $ANTLR start "rule__ExternAggregatorDefinition__TypeAssignment_1" + // InternalSolverLanguageParser.g:9497:1: rule__ExternAggregatorDefinition__TypeAssignment_1 : ( ( ruleQualifiedName ) ) ; + public final void rule__ExternAggregatorDefinition__TypeAssignment_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:7710:1: ( ( ( Error ) ) ) - // InternalSolverLanguageParser.g:7711:2: ( ( Error ) ) + // InternalSolverLanguageParser.g:9501:1: ( ( ( ruleQualifiedName ) ) ) + // InternalSolverLanguageParser.g:9502:2: ( ( ruleQualifiedName ) ) { - // InternalSolverLanguageParser.g:7711:2: ( ( Error ) ) - // InternalSolverLanguageParser.g:7712:3: ( Error ) + // InternalSolverLanguageParser.g:9502:2: ( ( ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:9503:3: ( ruleQualifiedName ) { - before(grammarAccess.getPredicateDefinitionAccess().getErrorErrorKeyword_0_0_1_0()); - // InternalSolverLanguageParser.g:7713:3: ( Error ) - // InternalSolverLanguageParser.g:7714:4: Error + before(grammarAccess.getExternAggregatorDefinitionAccess().getTypeNamedElementCrossReference_1_0()); + // InternalSolverLanguageParser.g:9504:3: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:9505:4: ruleQualifiedName { - before(grammarAccess.getPredicateDefinitionAccess().getErrorErrorKeyword_0_0_1_0()); - match(input,Error,FOLLOW_2); - after(grammarAccess.getPredicateDefinitionAccess().getErrorErrorKeyword_0_0_1_0()); + before(grammarAccess.getExternAggregatorDefinitionAccess().getTypeNamedElementQualifiedNameParserRuleCall_1_0_1()); + pushFollow(FOLLOW_2); + ruleQualifiedName(); + + state._fsp--; + + after(grammarAccess.getExternAggregatorDefinitionAccess().getTypeNamedElementQualifiedNameParserRuleCall_1_0_1()); } - after(grammarAccess.getPredicateDefinitionAccess().getErrorErrorKeyword_0_0_1_0()); + after(grammarAccess.getExternAggregatorDefinitionAccess().getTypeNamedElementCrossReference_1_0()); } @@ -23699,33 +29020,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__PredicateDefinition__ErrorAssignment_0_0_1" + // $ANTLR end "rule__ExternAggregatorDefinition__TypeAssignment_1" - // $ANTLR start "rule__PredicateDefinition__ErrorAssignment_0_1_0" - // InternalSolverLanguageParser.g:7725:1: rule__PredicateDefinition__ErrorAssignment_0_1_0 : ( ( Error ) ) ; - public final void rule__PredicateDefinition__ErrorAssignment_0_1_0() throws RecognitionException { + // $ANTLR start "rule__ExternAggregatorDefinition__NameAssignment_2" + // InternalSolverLanguageParser.g:9516:1: rule__ExternAggregatorDefinition__NameAssignment_2 : ( ruleQualifiedName ) ; + public final void rule__ExternAggregatorDefinition__NameAssignment_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:7729:1: ( ( ( Error ) ) ) - // InternalSolverLanguageParser.g:7730:2: ( ( Error ) ) + // InternalSolverLanguageParser.g:9520:1: ( ( ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:9521:2: ( ruleQualifiedName ) { - // InternalSolverLanguageParser.g:7730:2: ( ( Error ) ) - // InternalSolverLanguageParser.g:7731:3: ( Error ) - { - before(grammarAccess.getPredicateDefinitionAccess().getErrorErrorKeyword_0_1_0_0()); - // InternalSolverLanguageParser.g:7732:3: ( Error ) - // InternalSolverLanguageParser.g:7733:4: Error + // InternalSolverLanguageParser.g:9521:2: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:9522:3: ruleQualifiedName { - before(grammarAccess.getPredicateDefinitionAccess().getErrorErrorKeyword_0_1_0_0()); - match(input,Error,FOLLOW_2); - after(grammarAccess.getPredicateDefinitionAccess().getErrorErrorKeyword_0_1_0_0()); + before(grammarAccess.getExternAggregatorDefinitionAccess().getNameQualifiedNameParserRuleCall_2_0()); + pushFollow(FOLLOW_2); + ruleQualifiedName(); - } + state._fsp--; - after(grammarAccess.getPredicateDefinitionAccess().getErrorErrorKeyword_0_1_0_0()); + after(grammarAccess.getExternAggregatorDefinitionAccess().getNameQualifiedNameParserRuleCall_2_0()); } @@ -23744,33 +29061,37 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__PredicateDefinition__ErrorAssignment_0_1_0" + // $ANTLR end "rule__ExternAggregatorDefinition__NameAssignment_2" - // $ANTLR start "rule__PredicateDefinition__FunctionalAssignment_0_1_1" - // InternalSolverLanguageParser.g:7744:1: rule__PredicateDefinition__FunctionalAssignment_0_1_1 : ( ( Functional ) ) ; - public final void rule__PredicateDefinition__FunctionalAssignment_0_1_1() throws RecognitionException { + // $ANTLR start "rule__ExternAggregatorDefinition__InputTypeAssignment_4" + // InternalSolverLanguageParser.g:9531:1: rule__ExternAggregatorDefinition__InputTypeAssignment_4 : ( ( ruleQualifiedName ) ) ; + public final void rule__ExternAggregatorDefinition__InputTypeAssignment_4() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:7748:1: ( ( ( Functional ) ) ) - // InternalSolverLanguageParser.g:7749:2: ( ( Functional ) ) + // InternalSolverLanguageParser.g:9535:1: ( ( ( ruleQualifiedName ) ) ) + // InternalSolverLanguageParser.g:9536:2: ( ( ruleQualifiedName ) ) { - // InternalSolverLanguageParser.g:7749:2: ( ( Functional ) ) - // InternalSolverLanguageParser.g:7750:3: ( Functional ) + // InternalSolverLanguageParser.g:9536:2: ( ( ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:9537:3: ( ruleQualifiedName ) { - before(grammarAccess.getPredicateDefinitionAccess().getFunctionalFunctionalKeyword_0_1_1_0()); - // InternalSolverLanguageParser.g:7751:3: ( Functional ) - // InternalSolverLanguageParser.g:7752:4: Functional + before(grammarAccess.getExternAggregatorDefinitionAccess().getInputTypeNamedElementCrossReference_4_0()); + // InternalSolverLanguageParser.g:9538:3: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:9539:4: ruleQualifiedName { - before(grammarAccess.getPredicateDefinitionAccess().getFunctionalFunctionalKeyword_0_1_1_0()); - match(input,Functional,FOLLOW_2); - after(grammarAccess.getPredicateDefinitionAccess().getFunctionalFunctionalKeyword_0_1_1_0()); + before(grammarAccess.getExternAggregatorDefinitionAccess().getInputTypeNamedElementQualifiedNameParserRuleCall_4_0_1()); + pushFollow(FOLLOW_2); + ruleQualifiedName(); + + state._fsp--; + + after(grammarAccess.getExternAggregatorDefinitionAccess().getInputTypeNamedElementQualifiedNameParserRuleCall_4_0_1()); } - after(grammarAccess.getPredicateDefinitionAccess().getFunctionalFunctionalKeyword_0_1_1_0()); + after(grammarAccess.getExternAggregatorDefinitionAccess().getInputTypeNamedElementCrossReference_4_0()); } @@ -23789,29 +29110,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__PredicateDefinition__FunctionalAssignment_0_1_1" + // $ANTLR end "rule__ExternAggregatorDefinition__InputTypeAssignment_4" - // $ANTLR start "rule__PredicateDefinition__HeadAssignment_1" - // InternalSolverLanguageParser.g:7763:1: rule__PredicateDefinition__HeadAssignment_1 : ( ruleCall ) ; - public final void rule__PredicateDefinition__HeadAssignment_1() throws RecognitionException { + // $ANTLR start "rule__ExternDatatypeDefinition__NameAssignment_2" + // InternalSolverLanguageParser.g:9550:1: rule__ExternDatatypeDefinition__NameAssignment_2 : ( ruleQualifiedName ) ; + public final void rule__ExternDatatypeDefinition__NameAssignment_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:7767:1: ( ( ruleCall ) ) - // InternalSolverLanguageParser.g:7768:2: ( ruleCall ) + // InternalSolverLanguageParser.g:9554:1: ( ( ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:9555:2: ( ruleQualifiedName ) { - // InternalSolverLanguageParser.g:7768:2: ( ruleCall ) - // InternalSolverLanguageParser.g:7769:3: ruleCall + // InternalSolverLanguageParser.g:9555:2: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:9556:3: ruleQualifiedName { - before(grammarAccess.getPredicateDefinitionAccess().getHeadCallParserRuleCall_1_0()); + before(grammarAccess.getExternDatatypeDefinitionAccess().getNameQualifiedNameParserRuleCall_2_0()); pushFollow(FOLLOW_2); - ruleCall(); + ruleQualifiedName(); state._fsp--; - after(grammarAccess.getPredicateDefinitionAccess().getHeadCallParserRuleCall_1_0()); + after(grammarAccess.getExternDatatypeDefinitionAccess().getNameQualifiedNameParserRuleCall_2_0()); } @@ -23830,29 +29151,37 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__PredicateDefinition__HeadAssignment_1" + // $ANTLR end "rule__ExternDatatypeDefinition__NameAssignment_2" - // $ANTLR start "rule__PredicateDefinition__BodyAssignment_3" - // InternalSolverLanguageParser.g:7778:1: rule__PredicateDefinition__BodyAssignment_3 : ( ruleExpression ) ; - public final void rule__PredicateDefinition__BodyAssignment_3() throws RecognitionException { + // $ANTLR start "rule__ExternDatatypeDefinition__SupertypesAssignment_3_1" + // InternalSolverLanguageParser.g:9565:1: rule__ExternDatatypeDefinition__SupertypesAssignment_3_1 : ( ( ruleQualifiedName ) ) ; + public final void rule__ExternDatatypeDefinition__SupertypesAssignment_3_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:7782:1: ( ( ruleExpression ) ) - // InternalSolverLanguageParser.g:7783:2: ( ruleExpression ) + // InternalSolverLanguageParser.g:9569:1: ( ( ( ruleQualifiedName ) ) ) + // InternalSolverLanguageParser.g:9570:2: ( ( ruleQualifiedName ) ) { - // InternalSolverLanguageParser.g:7783:2: ( ruleExpression ) - // InternalSolverLanguageParser.g:7784:3: ruleExpression + // InternalSolverLanguageParser.g:9570:2: ( ( ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:9571:3: ( ruleQualifiedName ) { - before(grammarAccess.getPredicateDefinitionAccess().getBodyExpressionParserRuleCall_3_0()); + before(grammarAccess.getExternDatatypeDefinitionAccess().getSupertypesNamedElementCrossReference_3_1_0()); + // InternalSolverLanguageParser.g:9572:3: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:9573:4: ruleQualifiedName + { + before(grammarAccess.getExternDatatypeDefinitionAccess().getSupertypesNamedElementQualifiedNameParserRuleCall_3_1_0_1()); pushFollow(FOLLOW_2); - ruleExpression(); + ruleQualifiedName(); state._fsp--; - after(grammarAccess.getPredicateDefinitionAccess().getBodyExpressionParserRuleCall_3_0()); + after(grammarAccess.getExternDatatypeDefinitionAccess().getSupertypesNamedElementQualifiedNameParserRuleCall_3_1_0_1()); + + } + + after(grammarAccess.getExternDatatypeDefinitionAccess().getSupertypesNamedElementCrossReference_3_1_0()); } @@ -23871,29 +29200,37 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__PredicateDefinition__BodyAssignment_3" + // $ANTLR end "rule__ExternDatatypeDefinition__SupertypesAssignment_3_1" - // $ANTLR start "rule__UnnamedErrorPrediateDefinition__ArgumentListAssignment_1" - // InternalSolverLanguageParser.g:7793:1: rule__UnnamedErrorPrediateDefinition__ArgumentListAssignment_1 : ( ruleArgumentList ) ; - public final void rule__UnnamedErrorPrediateDefinition__ArgumentListAssignment_1() throws RecognitionException { + // $ANTLR start "rule__ExternDatatypeDefinition__SupertypesAssignment_3_2_1" + // InternalSolverLanguageParser.g:9584:1: rule__ExternDatatypeDefinition__SupertypesAssignment_3_2_1 : ( ( ruleQualifiedName ) ) ; + public final void rule__ExternDatatypeDefinition__SupertypesAssignment_3_2_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:7797:1: ( ( ruleArgumentList ) ) - // InternalSolverLanguageParser.g:7798:2: ( ruleArgumentList ) + // InternalSolverLanguageParser.g:9588:1: ( ( ( ruleQualifiedName ) ) ) + // InternalSolverLanguageParser.g:9589:2: ( ( ruleQualifiedName ) ) { - // InternalSolverLanguageParser.g:7798:2: ( ruleArgumentList ) - // InternalSolverLanguageParser.g:7799:3: ruleArgumentList + // InternalSolverLanguageParser.g:9589:2: ( ( ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:9590:3: ( ruleQualifiedName ) { - before(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getArgumentListArgumentListParserRuleCall_1_0()); + before(grammarAccess.getExternDatatypeDefinitionAccess().getSupertypesNamedElementCrossReference_3_2_1_0()); + // InternalSolverLanguageParser.g:9591:3: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:9592:4: ruleQualifiedName + { + before(grammarAccess.getExternDatatypeDefinitionAccess().getSupertypesNamedElementQualifiedNameParserRuleCall_3_2_1_0_1()); pushFollow(FOLLOW_2); - ruleArgumentList(); + ruleQualifiedName(); state._fsp--; - after(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getArgumentListArgumentListParserRuleCall_1_0()); + after(grammarAccess.getExternDatatypeDefinitionAccess().getSupertypesNamedElementQualifiedNameParserRuleCall_3_2_1_0_1()); + + } + + after(grammarAccess.getExternDatatypeDefinitionAccess().getSupertypesNamedElementCrossReference_3_2_1_0()); } @@ -23912,29 +29249,37 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__UnnamedErrorPrediateDefinition__ArgumentListAssignment_1" + // $ANTLR end "rule__ExternDatatypeDefinition__SupertypesAssignment_3_2_1" - // $ANTLR start "rule__UnnamedErrorPrediateDefinition__BodyAssignment_3" - // InternalSolverLanguageParser.g:7808:1: rule__UnnamedErrorPrediateDefinition__BodyAssignment_3 : ( ruleExpression ) ; - public final void rule__UnnamedErrorPrediateDefinition__BodyAssignment_3() throws RecognitionException { + // $ANTLR start "rule__Variable__TypeAssignment_0" + // InternalSolverLanguageParser.g:9603:1: rule__Variable__TypeAssignment_0 : ( ( ruleQualifiedName ) ) ; + public final void rule__Variable__TypeAssignment_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:7812:1: ( ( ruleExpression ) ) - // InternalSolverLanguageParser.g:7813:2: ( ruleExpression ) + // InternalSolverLanguageParser.g:9607:1: ( ( ( ruleQualifiedName ) ) ) + // InternalSolverLanguageParser.g:9608:2: ( ( ruleQualifiedName ) ) { - // InternalSolverLanguageParser.g:7813:2: ( ruleExpression ) - // InternalSolverLanguageParser.g:7814:3: ruleExpression + // InternalSolverLanguageParser.g:9608:2: ( ( ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:9609:3: ( ruleQualifiedName ) { - before(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getBodyExpressionParserRuleCall_3_0()); + before(grammarAccess.getVariableAccess().getTypeNamedElementCrossReference_0_0()); + // InternalSolverLanguageParser.g:9610:3: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:9611:4: ruleQualifiedName + { + before(grammarAccess.getVariableAccess().getTypeNamedElementQualifiedNameParserRuleCall_0_0_1()); pushFollow(FOLLOW_2); - ruleExpression(); + ruleQualifiedName(); state._fsp--; - after(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getBodyExpressionParserRuleCall_3_0()); + after(grammarAccess.getVariableAccess().getTypeNamedElementQualifiedNameParserRuleCall_0_0_1()); + + } + + after(grammarAccess.getVariableAccess().getTypeNamedElementCrossReference_0_0()); } @@ -23953,29 +29298,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__UnnamedErrorPrediateDefinition__BodyAssignment_3" + // $ANTLR end "rule__Variable__TypeAssignment_0" - // $ANTLR start "rule__DefaultDefinition__HeadAssignment_1" - // InternalSolverLanguageParser.g:7823:1: rule__DefaultDefinition__HeadAssignment_1 : ( ruleCall ) ; - public final void rule__DefaultDefinition__HeadAssignment_1() throws RecognitionException { + // $ANTLR start "rule__Variable__NameAssignment_1" + // InternalSolverLanguageParser.g:9622:1: rule__Variable__NameAssignment_1 : ( RULE_ID ) ; + public final void rule__Variable__NameAssignment_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:7827:1: ( ( ruleCall ) ) - // InternalSolverLanguageParser.g:7828:2: ( ruleCall ) + // InternalSolverLanguageParser.g:9626:1: ( ( RULE_ID ) ) + // InternalSolverLanguageParser.g:9627:2: ( RULE_ID ) { - // InternalSolverLanguageParser.g:7828:2: ( ruleCall ) - // InternalSolverLanguageParser.g:7829:3: ruleCall + // InternalSolverLanguageParser.g:9627:2: ( RULE_ID ) + // InternalSolverLanguageParser.g:9628:3: RULE_ID { - before(grammarAccess.getDefaultDefinitionAccess().getHeadCallParserRuleCall_1_0()); - pushFollow(FOLLOW_2); - ruleCall(); - - state._fsp--; - - after(grammarAccess.getDefaultDefinitionAccess().getHeadCallParserRuleCall_1_0()); + before(grammarAccess.getVariableAccess().getNameIDTerminalRuleCall_1_0()); + match(input,RULE_ID,FOLLOW_2); + after(grammarAccess.getVariableAccess().getNameIDTerminalRuleCall_1_0()); } @@ -23994,29 +29335,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__DefaultDefinition__HeadAssignment_1" + // $ANTLR end "rule__Variable__NameAssignment_1" - // $ANTLR start "rule__DefaultDefinition__RangeAssignment_3" - // InternalSolverLanguageParser.g:7838:1: rule__DefaultDefinition__RangeAssignment_3 : ( ruleExpression ) ; - public final void rule__DefaultDefinition__RangeAssignment_3() throws RecognitionException { + // $ANTLR start "rule__IfElse__ConditionAssignment_1" + // InternalSolverLanguageParser.g:9637:1: rule__IfElse__ConditionAssignment_1 : ( ruleExpression ) ; + public final void rule__IfElse__ConditionAssignment_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:7842:1: ( ( ruleExpression ) ) - // InternalSolverLanguageParser.g:7843:2: ( ruleExpression ) + // InternalSolverLanguageParser.g:9641:1: ( ( ruleExpression ) ) + // InternalSolverLanguageParser.g:9642:2: ( ruleExpression ) { - // InternalSolverLanguageParser.g:7843:2: ( ruleExpression ) - // InternalSolverLanguageParser.g:7844:3: ruleExpression + // InternalSolverLanguageParser.g:9642:2: ( ruleExpression ) + // InternalSolverLanguageParser.g:9643:3: ruleExpression { - before(grammarAccess.getDefaultDefinitionAccess().getRangeExpressionParserRuleCall_3_0()); + before(grammarAccess.getIfElseAccess().getConditionExpressionParserRuleCall_1_0()); pushFollow(FOLLOW_2); ruleExpression(); state._fsp--; - after(grammarAccess.getDefaultDefinitionAccess().getRangeExpressionParserRuleCall_3_0()); + after(grammarAccess.getIfElseAccess().getConditionExpressionParserRuleCall_1_0()); } @@ -24035,29 +29376,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__DefaultDefinition__RangeAssignment_3" + // $ANTLR end "rule__IfElse__ConditionAssignment_1" - // $ANTLR start "rule__ExternPredicateDefinition__HeadAssignment_1" - // InternalSolverLanguageParser.g:7853:1: rule__ExternPredicateDefinition__HeadAssignment_1 : ( ruleCall ) ; - public final void rule__ExternPredicateDefinition__HeadAssignment_1() throws RecognitionException { + // $ANTLR start "rule__IfElse__ThenAssignment_3" + // InternalSolverLanguageParser.g:9652:1: rule__IfElse__ThenAssignment_3 : ( ruleExpression ) ; + public final void rule__IfElse__ThenAssignment_3() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:7857:1: ( ( ruleCall ) ) - // InternalSolverLanguageParser.g:7858:2: ( ruleCall ) + // InternalSolverLanguageParser.g:9656:1: ( ( ruleExpression ) ) + // InternalSolverLanguageParser.g:9657:2: ( ruleExpression ) { - // InternalSolverLanguageParser.g:7858:2: ( ruleCall ) - // InternalSolverLanguageParser.g:7859:3: ruleCall + // InternalSolverLanguageParser.g:9657:2: ( ruleExpression ) + // InternalSolverLanguageParser.g:9658:3: ruleExpression { - before(grammarAccess.getExternPredicateDefinitionAccess().getHeadCallParserRuleCall_1_0()); + before(grammarAccess.getIfElseAccess().getThenExpressionParserRuleCall_3_0()); pushFollow(FOLLOW_2); - ruleCall(); + ruleExpression(); state._fsp--; - after(grammarAccess.getExternPredicateDefinitionAccess().getHeadCallParserRuleCall_1_0()); + after(grammarAccess.getIfElseAccess().getThenExpressionParserRuleCall_3_0()); } @@ -24076,29 +29417,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ExternPredicateDefinition__HeadAssignment_1" + // $ANTLR end "rule__IfElse__ThenAssignment_3" - // $ANTLR start "rule__MetricDefinition__TypeAssignment_0" - // InternalSolverLanguageParser.g:7868:1: rule__MetricDefinition__TypeAssignment_0 : ( ruleMetricType ) ; - public final void rule__MetricDefinition__TypeAssignment_0() throws RecognitionException { + // $ANTLR start "rule__IfElse__ElseAssignment_5" + // InternalSolverLanguageParser.g:9667:1: rule__IfElse__ElseAssignment_5 : ( ruleExpression ) ; + public final void rule__IfElse__ElseAssignment_5() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:7872:1: ( ( ruleMetricType ) ) - // InternalSolverLanguageParser.g:7873:2: ( ruleMetricType ) + // InternalSolverLanguageParser.g:9671:1: ( ( ruleExpression ) ) + // InternalSolverLanguageParser.g:9672:2: ( ruleExpression ) { - // InternalSolverLanguageParser.g:7873:2: ( ruleMetricType ) - // InternalSolverLanguageParser.g:7874:3: ruleMetricType + // InternalSolverLanguageParser.g:9672:2: ( ruleExpression ) + // InternalSolverLanguageParser.g:9673:3: ruleExpression { - before(grammarAccess.getMetricDefinitionAccess().getTypeMetricTypeEnumRuleCall_0_0()); + before(grammarAccess.getIfElseAccess().getElseExpressionParserRuleCall_5_0()); pushFollow(FOLLOW_2); - ruleMetricType(); + ruleExpression(); state._fsp--; - after(grammarAccess.getMetricDefinitionAccess().getTypeMetricTypeEnumRuleCall_0_0()); + after(grammarAccess.getIfElseAccess().getElseExpressionParserRuleCall_5_0()); } @@ -24117,29 +29458,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__MetricDefinition__TypeAssignment_0" + // $ANTLR end "rule__IfElse__ElseAssignment_5" - // $ANTLR start "rule__MetricDefinition__HeadAssignment_1" - // InternalSolverLanguageParser.g:7883:1: rule__MetricDefinition__HeadAssignment_1 : ( ruleExpression ) ; - public final void rule__MetricDefinition__HeadAssignment_1() throws RecognitionException { + // $ANTLR start "rule__Let__BindingsAssignment_1" + // InternalSolverLanguageParser.g:9682:1: rule__Let__BindingsAssignment_1 : ( ruleLetBinding ) ; + public final void rule__Let__BindingsAssignment_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:7887:1: ( ( ruleExpression ) ) - // InternalSolverLanguageParser.g:7888:2: ( ruleExpression ) + // InternalSolverLanguageParser.g:9686:1: ( ( ruleLetBinding ) ) + // InternalSolverLanguageParser.g:9687:2: ( ruleLetBinding ) { - // InternalSolverLanguageParser.g:7888:2: ( ruleExpression ) - // InternalSolverLanguageParser.g:7889:3: ruleExpression + // InternalSolverLanguageParser.g:9687:2: ( ruleLetBinding ) + // InternalSolverLanguageParser.g:9688:3: ruleLetBinding { - before(grammarAccess.getMetricDefinitionAccess().getHeadExpressionParserRuleCall_1_0()); + before(grammarAccess.getLetAccess().getBindingsLetBindingParserRuleCall_1_0()); pushFollow(FOLLOW_2); - ruleExpression(); + ruleLetBinding(); state._fsp--; - after(grammarAccess.getMetricDefinitionAccess().getHeadExpressionParserRuleCall_1_0()); + after(grammarAccess.getLetAccess().getBindingsLetBindingParserRuleCall_1_0()); } @@ -24158,29 +29499,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__MetricDefinition__HeadAssignment_1" + // $ANTLR end "rule__Let__BindingsAssignment_1" - // $ANTLR start "rule__MetricDefinition__BodyAssignment_3" - // InternalSolverLanguageParser.g:7898:1: rule__MetricDefinition__BodyAssignment_3 : ( ruleExpression ) ; - public final void rule__MetricDefinition__BodyAssignment_3() throws RecognitionException { + // $ANTLR start "rule__Let__BindingsAssignment_2_1" + // InternalSolverLanguageParser.g:9697:1: rule__Let__BindingsAssignment_2_1 : ( ruleLetBinding ) ; + public final void rule__Let__BindingsAssignment_2_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:7902:1: ( ( ruleExpression ) ) - // InternalSolverLanguageParser.g:7903:2: ( ruleExpression ) + // InternalSolverLanguageParser.g:9701:1: ( ( ruleLetBinding ) ) + // InternalSolverLanguageParser.g:9702:2: ( ruleLetBinding ) { - // InternalSolverLanguageParser.g:7903:2: ( ruleExpression ) - // InternalSolverLanguageParser.g:7904:3: ruleExpression + // InternalSolverLanguageParser.g:9702:2: ( ruleLetBinding ) + // InternalSolverLanguageParser.g:9703:3: ruleLetBinding { - before(grammarAccess.getMetricDefinitionAccess().getBodyExpressionParserRuleCall_3_0()); + before(grammarAccess.getLetAccess().getBindingsLetBindingParserRuleCall_2_1_0()); pushFollow(FOLLOW_2); - ruleExpression(); + ruleLetBinding(); state._fsp--; - after(grammarAccess.getMetricDefinitionAccess().getBodyExpressionParserRuleCall_3_0()); + after(grammarAccess.getLetAccess().getBindingsLetBindingParserRuleCall_2_1_0()); } @@ -24199,29 +29540,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__MetricDefinition__BodyAssignment_3" + // $ANTLR end "rule__Let__BindingsAssignment_2_1" - // $ANTLR start "rule__ExternMetricDefinition__TypeAssignment_1" - // InternalSolverLanguageParser.g:7913:1: rule__ExternMetricDefinition__TypeAssignment_1 : ( ruleMetricType ) ; - public final void rule__ExternMetricDefinition__TypeAssignment_1() throws RecognitionException { + // $ANTLR start "rule__Let__BodyAssignment_4" + // InternalSolverLanguageParser.g:9712:1: rule__Let__BodyAssignment_4 : ( ruleExpression ) ; + public final void rule__Let__BodyAssignment_4() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:7917:1: ( ( ruleMetricType ) ) - // InternalSolverLanguageParser.g:7918:2: ( ruleMetricType ) + // InternalSolverLanguageParser.g:9716:1: ( ( ruleExpression ) ) + // InternalSolverLanguageParser.g:9717:2: ( ruleExpression ) { - // InternalSolverLanguageParser.g:7918:2: ( ruleMetricType ) - // InternalSolverLanguageParser.g:7919:3: ruleMetricType + // InternalSolverLanguageParser.g:9717:2: ( ruleExpression ) + // InternalSolverLanguageParser.g:9718:3: ruleExpression { - before(grammarAccess.getExternMetricDefinitionAccess().getTypeMetricTypeEnumRuleCall_1_0()); + before(grammarAccess.getLetAccess().getBodyExpressionParserRuleCall_4_0()); pushFollow(FOLLOW_2); - ruleMetricType(); + ruleExpression(); state._fsp--; - after(grammarAccess.getExternMetricDefinitionAccess().getTypeMetricTypeEnumRuleCall_1_0()); + after(grammarAccess.getLetAccess().getBodyExpressionParserRuleCall_4_0()); } @@ -24240,29 +29581,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ExternMetricDefinition__TypeAssignment_1" + // $ANTLR end "rule__Let__BodyAssignment_4" - // $ANTLR start "rule__ExternMetricDefinition__HeadAssignment_2" - // InternalSolverLanguageParser.g:7928:1: rule__ExternMetricDefinition__HeadAssignment_2 : ( ruleCall ) ; - public final void rule__ExternMetricDefinition__HeadAssignment_2() throws RecognitionException { + // $ANTLR start "rule__LetBinding__VariableAssignment_0" + // InternalSolverLanguageParser.g:9727:1: rule__LetBinding__VariableAssignment_0 : ( ruleVariable ) ; + public final void rule__LetBinding__VariableAssignment_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:7932:1: ( ( ruleCall ) ) - // InternalSolverLanguageParser.g:7933:2: ( ruleCall ) + // InternalSolverLanguageParser.g:9731:1: ( ( ruleVariable ) ) + // InternalSolverLanguageParser.g:9732:2: ( ruleVariable ) { - // InternalSolverLanguageParser.g:7933:2: ( ruleCall ) - // InternalSolverLanguageParser.g:7934:3: ruleCall + // InternalSolverLanguageParser.g:9732:2: ( ruleVariable ) + // InternalSolverLanguageParser.g:9733:3: ruleVariable { - before(grammarAccess.getExternMetricDefinitionAccess().getHeadCallParserRuleCall_2_0()); + before(grammarAccess.getLetBindingAccess().getVariableVariableParserRuleCall_0_0()); pushFollow(FOLLOW_2); - ruleCall(); + ruleVariable(); state._fsp--; - after(grammarAccess.getExternMetricDefinitionAccess().getHeadCallParserRuleCall_2_0()); + after(grammarAccess.getLetBindingAccess().getVariableVariableParserRuleCall_0_0()); } @@ -24281,29 +29622,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ExternMetricDefinition__HeadAssignment_2" + // $ANTLR end "rule__LetBinding__VariableAssignment_0" - // $ANTLR start "rule__IfElse__ConditionAssignment_1" - // InternalSolverLanguageParser.g:7943:1: rule__IfElse__ConditionAssignment_1 : ( ruleExpression ) ; - public final void rule__IfElse__ConditionAssignment_1() throws RecognitionException { + // $ANTLR start "rule__LetBinding__ValueAssignment_2" + // InternalSolverLanguageParser.g:9742:1: rule__LetBinding__ValueAssignment_2 : ( ruleAdditiveExpression ) ; + public final void rule__LetBinding__ValueAssignment_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:7947:1: ( ( ruleExpression ) ) - // InternalSolverLanguageParser.g:7948:2: ( ruleExpression ) + // InternalSolverLanguageParser.g:9746:1: ( ( ruleAdditiveExpression ) ) + // InternalSolverLanguageParser.g:9747:2: ( ruleAdditiveExpression ) { - // InternalSolverLanguageParser.g:7948:2: ( ruleExpression ) - // InternalSolverLanguageParser.g:7949:3: ruleExpression + // InternalSolverLanguageParser.g:9747:2: ( ruleAdditiveExpression ) + // InternalSolverLanguageParser.g:9748:3: ruleAdditiveExpression { - before(grammarAccess.getIfElseAccess().getConditionExpressionParserRuleCall_1_0()); + before(grammarAccess.getLetBindingAccess().getValueAdditiveExpressionParserRuleCall_2_0()); pushFollow(FOLLOW_2); - ruleExpression(); + ruleAdditiveExpression(); state._fsp--; - after(grammarAccess.getIfElseAccess().getConditionExpressionParserRuleCall_1_0()); + after(grammarAccess.getLetBindingAccess().getValueAdditiveExpressionParserRuleCall_2_0()); } @@ -24322,29 +29663,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__IfElse__ConditionAssignment_1" + // $ANTLR end "rule__LetBinding__ValueAssignment_2" - // $ANTLR start "rule__IfElse__ThenAssignment_3" - // InternalSolverLanguageParser.g:7958:1: rule__IfElse__ThenAssignment_3 : ( ruleExpression ) ; - public final void rule__IfElse__ThenAssignment_3() throws RecognitionException { + // $ANTLR start "rule__ImplicationExpression__OpAssignment_1_1" + // InternalSolverLanguageParser.g:9757:1: rule__ImplicationExpression__OpAssignment_1_1 : ( ruleImplicationOperator ) ; + public final void rule__ImplicationExpression__OpAssignment_1_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:7962:1: ( ( ruleExpression ) ) - // InternalSolverLanguageParser.g:7963:2: ( ruleExpression ) + // InternalSolverLanguageParser.g:9761:1: ( ( ruleImplicationOperator ) ) + // InternalSolverLanguageParser.g:9762:2: ( ruleImplicationOperator ) { - // InternalSolverLanguageParser.g:7963:2: ( ruleExpression ) - // InternalSolverLanguageParser.g:7964:3: ruleExpression + // InternalSolverLanguageParser.g:9762:2: ( ruleImplicationOperator ) + // InternalSolverLanguageParser.g:9763:3: ruleImplicationOperator { - before(grammarAccess.getIfElseAccess().getThenExpressionParserRuleCall_3_0()); + before(grammarAccess.getImplicationExpressionAccess().getOpImplicationOperatorEnumRuleCall_1_1_0()); pushFollow(FOLLOW_2); - ruleExpression(); + ruleImplicationOperator(); state._fsp--; - after(grammarAccess.getIfElseAccess().getThenExpressionParserRuleCall_3_0()); + after(grammarAccess.getImplicationExpressionAccess().getOpImplicationOperatorEnumRuleCall_1_1_0()); } @@ -24363,29 +29704,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__IfElse__ThenAssignment_3" + // $ANTLR end "rule__ImplicationExpression__OpAssignment_1_1" - // $ANTLR start "rule__IfElse__ElseAssignment_5" - // InternalSolverLanguageParser.g:7973:1: rule__IfElse__ElseAssignment_5 : ( ruleExpression ) ; - public final void rule__IfElse__ElseAssignment_5() throws RecognitionException { + // $ANTLR start "rule__ImplicationExpression__RightAssignment_1_2" + // InternalSolverLanguageParser.g:9772:1: rule__ImplicationExpression__RightAssignment_1_2 : ( ruleImplicationExpression ) ; + public final void rule__ImplicationExpression__RightAssignment_1_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:7977:1: ( ( ruleExpression ) ) - // InternalSolverLanguageParser.g:7978:2: ( ruleExpression ) + // InternalSolverLanguageParser.g:9776:1: ( ( ruleImplicationExpression ) ) + // InternalSolverLanguageParser.g:9777:2: ( ruleImplicationExpression ) { - // InternalSolverLanguageParser.g:7978:2: ( ruleExpression ) - // InternalSolverLanguageParser.g:7979:3: ruleExpression + // InternalSolverLanguageParser.g:9777:2: ( ruleImplicationExpression ) + // InternalSolverLanguageParser.g:9778:3: ruleImplicationExpression { - before(grammarAccess.getIfElseAccess().getElseExpressionParserRuleCall_5_0()); + before(grammarAccess.getImplicationExpressionAccess().getRightImplicationExpressionParserRuleCall_1_2_0()); pushFollow(FOLLOW_2); - ruleExpression(); + ruleImplicationExpression(); state._fsp--; - after(grammarAccess.getIfElseAccess().getElseExpressionParserRuleCall_5_0()); + after(grammarAccess.getImplicationExpressionAccess().getRightImplicationExpressionParserRuleCall_1_2_0()); } @@ -24404,21 +29745,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__IfElse__ElseAssignment_5" + // $ANTLR end "rule__ImplicationExpression__RightAssignment_1_2" // $ANTLR start "rule__DisjunctiveExpression__ChildrenAssignment_1_0_1_1" - // InternalSolverLanguageParser.g:7988:1: rule__DisjunctiveExpression__ChildrenAssignment_1_0_1_1 : ( ruleConjunctiveExpression ) ; + // InternalSolverLanguageParser.g:9787:1: rule__DisjunctiveExpression__ChildrenAssignment_1_0_1_1 : ( ruleConjunctiveExpression ) ; public final void rule__DisjunctiveExpression__ChildrenAssignment_1_0_1_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:7992:1: ( ( ruleConjunctiveExpression ) ) - // InternalSolverLanguageParser.g:7993:2: ( ruleConjunctiveExpression ) + // InternalSolverLanguageParser.g:9791:1: ( ( ruleConjunctiveExpression ) ) + // InternalSolverLanguageParser.g:9792:2: ( ruleConjunctiveExpression ) { - // InternalSolverLanguageParser.g:7993:2: ( ruleConjunctiveExpression ) - // InternalSolverLanguageParser.g:7994:3: ruleConjunctiveExpression + // InternalSolverLanguageParser.g:9792:2: ( ruleConjunctiveExpression ) + // InternalSolverLanguageParser.g:9793:3: ruleConjunctiveExpression { before(grammarAccess.getDisjunctiveExpressionAccess().getChildrenConjunctiveExpressionParserRuleCall_1_0_1_1_0()); pushFollow(FOLLOW_2); @@ -24449,17 +29790,17 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR start "rule__DisjunctiveExpression__BodyAssignment_1_1_2" - // InternalSolverLanguageParser.g:8003:1: rule__DisjunctiveExpression__BodyAssignment_1_1_2 : ( ruleConjunctiveExpression ) ; + // InternalSolverLanguageParser.g:9802:1: rule__DisjunctiveExpression__BodyAssignment_1_1_2 : ( ruleConjunctiveExpression ) ; public final void rule__DisjunctiveExpression__BodyAssignment_1_1_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:8007:1: ( ( ruleConjunctiveExpression ) ) - // InternalSolverLanguageParser.g:8008:2: ( ruleConjunctiveExpression ) + // InternalSolverLanguageParser.g:9806:1: ( ( ruleConjunctiveExpression ) ) + // InternalSolverLanguageParser.g:9807:2: ( ruleConjunctiveExpression ) { - // InternalSolverLanguageParser.g:8008:2: ( ruleConjunctiveExpression ) - // InternalSolverLanguageParser.g:8009:3: ruleConjunctiveExpression + // InternalSolverLanguageParser.g:9807:2: ( ruleConjunctiveExpression ) + // InternalSolverLanguageParser.g:9808:3: ruleConjunctiveExpression { before(grammarAccess.getDisjunctiveExpressionAccess().getBodyConjunctiveExpressionParserRuleCall_1_1_2_0()); pushFollow(FOLLOW_2); @@ -24490,17 +29831,17 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR start "rule__DisjunctiveExpression__CasesAssignment_1_1_4_1" - // InternalSolverLanguageParser.g:8018:1: rule__DisjunctiveExpression__CasesAssignment_1_1_4_1 : ( ruleCase ) ; + // InternalSolverLanguageParser.g:9817:1: rule__DisjunctiveExpression__CasesAssignment_1_1_4_1 : ( ruleCase ) ; public final void rule__DisjunctiveExpression__CasesAssignment_1_1_4_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:8022:1: ( ( ruleCase ) ) - // InternalSolverLanguageParser.g:8023:2: ( ruleCase ) + // InternalSolverLanguageParser.g:9821:1: ( ( ruleCase ) ) + // InternalSolverLanguageParser.g:9822:2: ( ruleCase ) { - // InternalSolverLanguageParser.g:8023:2: ( ruleCase ) - // InternalSolverLanguageParser.g:8024:3: ruleCase + // InternalSolverLanguageParser.g:9822:2: ( ruleCase ) + // InternalSolverLanguageParser.g:9823:3: ruleCase { before(grammarAccess.getDisjunctiveExpressionAccess().getCasesCaseParserRuleCall_1_1_4_1_0()); pushFollow(FOLLOW_2); @@ -24531,17 +29872,17 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR start "rule__Case__ConditionAssignment_0" - // InternalSolverLanguageParser.g:8033:1: rule__Case__ConditionAssignment_0 : ( ruleConjunctiveExpression ) ; + // InternalSolverLanguageParser.g:9832:1: rule__Case__ConditionAssignment_0 : ( ruleConjunctiveExpression ) ; public final void rule__Case__ConditionAssignment_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:8037:1: ( ( ruleConjunctiveExpression ) ) - // InternalSolverLanguageParser.g:8038:2: ( ruleConjunctiveExpression ) + // InternalSolverLanguageParser.g:9836:1: ( ( ruleConjunctiveExpression ) ) + // InternalSolverLanguageParser.g:9837:2: ( ruleConjunctiveExpression ) { - // InternalSolverLanguageParser.g:8038:2: ( ruleConjunctiveExpression ) - // InternalSolverLanguageParser.g:8039:3: ruleConjunctiveExpression + // InternalSolverLanguageParser.g:9837:2: ( ruleConjunctiveExpression ) + // InternalSolverLanguageParser.g:9838:3: ruleConjunctiveExpression { before(grammarAccess.getCaseAccess().getConditionConjunctiveExpressionParserRuleCall_0_0()); pushFollow(FOLLOW_2); @@ -24572,17 +29913,17 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR start "rule__Case__BodyAssignment_2" - // InternalSolverLanguageParser.g:8048:1: rule__Case__BodyAssignment_2 : ( ruleConjunctiveExpression ) ; + // InternalSolverLanguageParser.g:9847:1: rule__Case__BodyAssignment_2 : ( ruleConjunctiveExpression ) ; public final void rule__Case__BodyAssignment_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:8052:1: ( ( ruleConjunctiveExpression ) ) - // InternalSolverLanguageParser.g:8053:2: ( ruleConjunctiveExpression ) + // InternalSolverLanguageParser.g:9851:1: ( ( ruleConjunctiveExpression ) ) + // InternalSolverLanguageParser.g:9852:2: ( ruleConjunctiveExpression ) { - // InternalSolverLanguageParser.g:8053:2: ( ruleConjunctiveExpression ) - // InternalSolverLanguageParser.g:8054:3: ruleConjunctiveExpression + // InternalSolverLanguageParser.g:9852:2: ( ruleConjunctiveExpression ) + // InternalSolverLanguageParser.g:9853:3: ruleConjunctiveExpression { before(grammarAccess.getCaseAccess().getBodyConjunctiveExpressionParserRuleCall_2_0()); pushFollow(FOLLOW_2); @@ -24613,17 +29954,17 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR start "rule__ConjunctiveExpression__ChildrenAssignment_1_1_1" - // InternalSolverLanguageParser.g:8063:1: rule__ConjunctiveExpression__ChildrenAssignment_1_1_1 : ( ruleComparisonExpression ) ; + // InternalSolverLanguageParser.g:9862:1: rule__ConjunctiveExpression__ChildrenAssignment_1_1_1 : ( ruleComparisonExpression ) ; public final void rule__ConjunctiveExpression__ChildrenAssignment_1_1_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:8067:1: ( ( ruleComparisonExpression ) ) - // InternalSolverLanguageParser.g:8068:2: ( ruleComparisonExpression ) + // InternalSolverLanguageParser.g:9866:1: ( ( ruleComparisonExpression ) ) + // InternalSolverLanguageParser.g:9867:2: ( ruleComparisonExpression ) { - // InternalSolverLanguageParser.g:8068:2: ( ruleComparisonExpression ) - // InternalSolverLanguageParser.g:8069:3: ruleComparisonExpression + // InternalSolverLanguageParser.g:9867:2: ( ruleComparisonExpression ) + // InternalSolverLanguageParser.g:9868:3: ruleComparisonExpression { before(grammarAccess.getConjunctiveExpressionAccess().getChildrenComparisonExpressionParserRuleCall_1_1_1_0()); pushFollow(FOLLOW_2); @@ -24654,17 +29995,17 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR start "rule__ComparisonExpression__OpAssignment_1_1" - // InternalSolverLanguageParser.g:8078:1: rule__ComparisonExpression__OpAssignment_1_1 : ( ruleComparisonOperator ) ; + // InternalSolverLanguageParser.g:9877:1: rule__ComparisonExpression__OpAssignment_1_1 : ( ruleComparisonOperator ) ; public final void rule__ComparisonExpression__OpAssignment_1_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:8082:1: ( ( ruleComparisonOperator ) ) - // InternalSolverLanguageParser.g:8083:2: ( ruleComparisonOperator ) + // InternalSolverLanguageParser.g:9881:1: ( ( ruleComparisonOperator ) ) + // InternalSolverLanguageParser.g:9882:2: ( ruleComparisonOperator ) { - // InternalSolverLanguageParser.g:8083:2: ( ruleComparisonOperator ) - // InternalSolverLanguageParser.g:8084:3: ruleComparisonOperator + // InternalSolverLanguageParser.g:9882:2: ( ruleComparisonOperator ) + // InternalSolverLanguageParser.g:9883:3: ruleComparisonOperator { before(grammarAccess.getComparisonExpressionAccess().getOpComparisonOperatorEnumRuleCall_1_1_0()); pushFollow(FOLLOW_2); @@ -24695,17 +30036,17 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR start "rule__ComparisonExpression__RightAssignment_1_2" - // InternalSolverLanguageParser.g:8093:1: rule__ComparisonExpression__RightAssignment_1_2 : ( ruleAdditiveExpression ) ; + // InternalSolverLanguageParser.g:9892:1: rule__ComparisonExpression__RightAssignment_1_2 : ( ruleAdditiveExpression ) ; public final void rule__ComparisonExpression__RightAssignment_1_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:8097:1: ( ( ruleAdditiveExpression ) ) - // InternalSolverLanguageParser.g:8098:2: ( ruleAdditiveExpression ) + // InternalSolverLanguageParser.g:9896:1: ( ( ruleAdditiveExpression ) ) + // InternalSolverLanguageParser.g:9897:2: ( ruleAdditiveExpression ) { - // InternalSolverLanguageParser.g:8098:2: ( ruleAdditiveExpression ) - // InternalSolverLanguageParser.g:8099:3: ruleAdditiveExpression + // InternalSolverLanguageParser.g:9897:2: ( ruleAdditiveExpression ) + // InternalSolverLanguageParser.g:9898:3: ruleAdditiveExpression { before(grammarAccess.getComparisonExpressionAccess().getRightAdditiveExpressionParserRuleCall_1_2_0()); pushFollow(FOLLOW_2); @@ -24736,17 +30077,17 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR start "rule__AdditiveExpression__OpAssignment_1_1" - // InternalSolverLanguageParser.g:8108:1: rule__AdditiveExpression__OpAssignment_1_1 : ( ruleAdditiveBinaryOperator ) ; + // InternalSolverLanguageParser.g:9907:1: rule__AdditiveExpression__OpAssignment_1_1 : ( ruleAdditiveBinaryOperator ) ; public final void rule__AdditiveExpression__OpAssignment_1_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:8112:1: ( ( ruleAdditiveBinaryOperator ) ) - // InternalSolverLanguageParser.g:8113:2: ( ruleAdditiveBinaryOperator ) + // InternalSolverLanguageParser.g:9911:1: ( ( ruleAdditiveBinaryOperator ) ) + // InternalSolverLanguageParser.g:9912:2: ( ruleAdditiveBinaryOperator ) { - // InternalSolverLanguageParser.g:8113:2: ( ruleAdditiveBinaryOperator ) - // InternalSolverLanguageParser.g:8114:3: ruleAdditiveBinaryOperator + // InternalSolverLanguageParser.g:9912:2: ( ruleAdditiveBinaryOperator ) + // InternalSolverLanguageParser.g:9913:3: ruleAdditiveBinaryOperator { before(grammarAccess.getAdditiveExpressionAccess().getOpAdditiveBinaryOperatorEnumRuleCall_1_1_0()); pushFollow(FOLLOW_2); @@ -24777,17 +30118,17 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR start "rule__AdditiveExpression__RightAssignment_1_2" - // InternalSolverLanguageParser.g:8123:1: rule__AdditiveExpression__RightAssignment_1_2 : ( ruleMultiplicativeExpression ) ; + // InternalSolverLanguageParser.g:9922:1: rule__AdditiveExpression__RightAssignment_1_2 : ( ruleMultiplicativeExpression ) ; public final void rule__AdditiveExpression__RightAssignment_1_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:8127:1: ( ( ruleMultiplicativeExpression ) ) - // InternalSolverLanguageParser.g:8128:2: ( ruleMultiplicativeExpression ) + // InternalSolverLanguageParser.g:9926:1: ( ( ruleMultiplicativeExpression ) ) + // InternalSolverLanguageParser.g:9927:2: ( ruleMultiplicativeExpression ) { - // InternalSolverLanguageParser.g:8128:2: ( ruleMultiplicativeExpression ) - // InternalSolverLanguageParser.g:8129:3: ruleMultiplicativeExpression + // InternalSolverLanguageParser.g:9927:2: ( ruleMultiplicativeExpression ) + // InternalSolverLanguageParser.g:9928:3: ruleMultiplicativeExpression { before(grammarAccess.getAdditiveExpressionAccess().getRightMultiplicativeExpressionParserRuleCall_1_2_0()); pushFollow(FOLLOW_2); @@ -24818,17 +30159,17 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR start "rule__MultiplicativeExpression__OpAssignment_1_1" - // InternalSolverLanguageParser.g:8138:1: rule__MultiplicativeExpression__OpAssignment_1_1 : ( ruleMultiplicativeBinaryOperator ) ; + // InternalSolverLanguageParser.g:9937:1: rule__MultiplicativeExpression__OpAssignment_1_1 : ( ruleMultiplicativeBinaryOperator ) ; public final void rule__MultiplicativeExpression__OpAssignment_1_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:8142:1: ( ( ruleMultiplicativeBinaryOperator ) ) - // InternalSolverLanguageParser.g:8143:2: ( ruleMultiplicativeBinaryOperator ) + // InternalSolverLanguageParser.g:9941:1: ( ( ruleMultiplicativeBinaryOperator ) ) + // InternalSolverLanguageParser.g:9942:2: ( ruleMultiplicativeBinaryOperator ) { - // InternalSolverLanguageParser.g:8143:2: ( ruleMultiplicativeBinaryOperator ) - // InternalSolverLanguageParser.g:8144:3: ruleMultiplicativeBinaryOperator + // InternalSolverLanguageParser.g:9942:2: ( ruleMultiplicativeBinaryOperator ) + // InternalSolverLanguageParser.g:9943:3: ruleMultiplicativeBinaryOperator { before(grammarAccess.getMultiplicativeExpressionAccess().getOpMultiplicativeBinaryOperatorEnumRuleCall_1_1_0()); pushFollow(FOLLOW_2); @@ -24859,17 +30200,17 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR start "rule__MultiplicativeExpression__RightAssignment_1_2" - // InternalSolverLanguageParser.g:8153:1: rule__MultiplicativeExpression__RightAssignment_1_2 : ( ruleExponentialExpression ) ; + // InternalSolverLanguageParser.g:9952:1: rule__MultiplicativeExpression__RightAssignment_1_2 : ( ruleExponentialExpression ) ; public final void rule__MultiplicativeExpression__RightAssignment_1_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:8157:1: ( ( ruleExponentialExpression ) ) - // InternalSolverLanguageParser.g:8158:2: ( ruleExponentialExpression ) + // InternalSolverLanguageParser.g:9956:1: ( ( ruleExponentialExpression ) ) + // InternalSolverLanguageParser.g:9957:2: ( ruleExponentialExpression ) { - // InternalSolverLanguageParser.g:8158:2: ( ruleExponentialExpression ) - // InternalSolverLanguageParser.g:8159:3: ruleExponentialExpression + // InternalSolverLanguageParser.g:9957:2: ( ruleExponentialExpression ) + // InternalSolverLanguageParser.g:9958:3: ruleExponentialExpression { before(grammarAccess.getMultiplicativeExpressionAccess().getRightExponentialExpressionParserRuleCall_1_2_0()); pushFollow(FOLLOW_2); @@ -24900,17 +30241,17 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR start "rule__ExponentialExpression__OpAssignment_1_1" - // InternalSolverLanguageParser.g:8168:1: rule__ExponentialExpression__OpAssignment_1_1 : ( ruleExponentialOp ) ; + // InternalSolverLanguageParser.g:9967:1: rule__ExponentialExpression__OpAssignment_1_1 : ( ruleExponentialOp ) ; public final void rule__ExponentialExpression__OpAssignment_1_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:8172:1: ( ( ruleExponentialOp ) ) - // InternalSolverLanguageParser.g:8173:2: ( ruleExponentialOp ) + // InternalSolverLanguageParser.g:9971:1: ( ( ruleExponentialOp ) ) + // InternalSolverLanguageParser.g:9972:2: ( ruleExponentialOp ) { - // InternalSolverLanguageParser.g:8173:2: ( ruleExponentialOp ) - // InternalSolverLanguageParser.g:8174:3: ruleExponentialOp + // InternalSolverLanguageParser.g:9972:2: ( ruleExponentialOp ) + // InternalSolverLanguageParser.g:9973:3: ruleExponentialOp { before(grammarAccess.getExponentialExpressionAccess().getOpExponentialOpEnumRuleCall_1_1_0()); pushFollow(FOLLOW_2); @@ -24941,25 +30282,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR start "rule__ExponentialExpression__RightAssignment_1_2" - // InternalSolverLanguageParser.g:8183:1: rule__ExponentialExpression__RightAssignment_1_2 : ( ruleExponentialExpression ) ; + // InternalSolverLanguageParser.g:9982:1: rule__ExponentialExpression__RightAssignment_1_2 : ( ruleCastExpression ) ; public final void rule__ExponentialExpression__RightAssignment_1_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:8187:1: ( ( ruleExponentialExpression ) ) - // InternalSolverLanguageParser.g:8188:2: ( ruleExponentialExpression ) + // InternalSolverLanguageParser.g:9986:1: ( ( ruleCastExpression ) ) + // InternalSolverLanguageParser.g:9987:2: ( ruleCastExpression ) { - // InternalSolverLanguageParser.g:8188:2: ( ruleExponentialExpression ) - // InternalSolverLanguageParser.g:8189:3: ruleExponentialExpression + // InternalSolverLanguageParser.g:9987:2: ( ruleCastExpression ) + // InternalSolverLanguageParser.g:9988:3: ruleCastExpression { - before(grammarAccess.getExponentialExpressionAccess().getRightExponentialExpressionParserRuleCall_1_2_0()); + before(grammarAccess.getExponentialExpressionAccess().getRightCastExpressionParserRuleCall_1_2_0()); pushFollow(FOLLOW_2); - ruleExponentialExpression(); + ruleCastExpression(); state._fsp--; - after(grammarAccess.getExponentialExpressionAccess().getRightExponentialExpressionParserRuleCall_1_2_0()); + after(grammarAccess.getExponentialExpressionAccess().getRightCastExpressionParserRuleCall_1_2_0()); } @@ -24981,18 +30322,67 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR end "rule__ExponentialExpression__RightAssignment_1_2" + // $ANTLR start "rule__CastExpression__TypeAssignment_1_2" + // InternalSolverLanguageParser.g:9997:1: rule__CastExpression__TypeAssignment_1_2 : ( ( ruleQualifiedName ) ) ; + public final void rule__CastExpression__TypeAssignment_1_2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:10001:1: ( ( ( ruleQualifiedName ) ) ) + // InternalSolverLanguageParser.g:10002:2: ( ( ruleQualifiedName ) ) + { + // InternalSolverLanguageParser.g:10002:2: ( ( ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:10003:3: ( ruleQualifiedName ) + { + before(grammarAccess.getCastExpressionAccess().getTypeNamedElementCrossReference_1_2_0()); + // InternalSolverLanguageParser.g:10004:3: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:10005:4: ruleQualifiedName + { + before(grammarAccess.getCastExpressionAccess().getTypeNamedElementQualifiedNameParserRuleCall_1_2_0_1()); + pushFollow(FOLLOW_2); + ruleQualifiedName(); + + state._fsp--; + + after(grammarAccess.getCastExpressionAccess().getTypeNamedElementQualifiedNameParserRuleCall_1_2_0_1()); + + } + + after(grammarAccess.getCastExpressionAccess().getTypeNamedElementCrossReference_1_2_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__CastExpression__TypeAssignment_1_2" + + // $ANTLR start "rule__UnaryExpression__OpAssignment_1_1" - // InternalSolverLanguageParser.g:8198:1: rule__UnaryExpression__OpAssignment_1_1 : ( ruleUnaryOp ) ; + // InternalSolverLanguageParser.g:10016:1: rule__UnaryExpression__OpAssignment_1_1 : ( ruleUnaryOp ) ; public final void rule__UnaryExpression__OpAssignment_1_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:8202:1: ( ( ruleUnaryOp ) ) - // InternalSolverLanguageParser.g:8203:2: ( ruleUnaryOp ) + // InternalSolverLanguageParser.g:10020:1: ( ( ruleUnaryOp ) ) + // InternalSolverLanguageParser.g:10021:2: ( ruleUnaryOp ) { - // InternalSolverLanguageParser.g:8203:2: ( ruleUnaryOp ) - // InternalSolverLanguageParser.g:8204:3: ruleUnaryOp + // InternalSolverLanguageParser.g:10021:2: ( ruleUnaryOp ) + // InternalSolverLanguageParser.g:10022:3: ruleUnaryOp { before(grammarAccess.getUnaryExpressionAccess().getOpUnaryOpEnumRuleCall_1_1_0()); pushFollow(FOLLOW_2); @@ -25023,17 +30413,17 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR start "rule__UnaryExpression__BodyAssignment_1_2" - // InternalSolverLanguageParser.g:8213:1: rule__UnaryExpression__BodyAssignment_1_2 : ( ruleAggregationExpression ) ; + // InternalSolverLanguageParser.g:10031:1: rule__UnaryExpression__BodyAssignment_1_2 : ( ruleAggregationExpression ) ; public final void rule__UnaryExpression__BodyAssignment_1_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:8217:1: ( ( ruleAggregationExpression ) ) - // InternalSolverLanguageParser.g:8218:2: ( ruleAggregationExpression ) + // InternalSolverLanguageParser.g:10035:1: ( ( ruleAggregationExpression ) ) + // InternalSolverLanguageParser.g:10036:2: ( ruleAggregationExpression ) { - // InternalSolverLanguageParser.g:8218:2: ( ruleAggregationExpression ) - // InternalSolverLanguageParser.g:8219:3: ruleAggregationExpression + // InternalSolverLanguageParser.g:10036:2: ( ruleAggregationExpression ) + // InternalSolverLanguageParser.g:10037:3: ruleAggregationExpression { before(grammarAccess.getUnaryExpressionAccess().getBodyAggregationExpressionParserRuleCall_1_2_0()); pushFollow(FOLLOW_2); @@ -25063,26 +30453,190 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR end "rule__UnaryExpression__BodyAssignment_1_2" - // $ANTLR start "rule__Count__BodyAssignment_2" - // InternalSolverLanguageParser.g:8228:1: rule__Count__BodyAssignment_2 : ( ruleExpression ) ; - public final void rule__Count__BodyAssignment_2() throws RecognitionException { + // $ANTLR start "rule__LocalVariables__VariablesAssignment_2_0" + // InternalSolverLanguageParser.g:10046:1: rule__LocalVariables__VariablesAssignment_2_0 : ( ruleVariable ) ; + public final void rule__LocalVariables__VariablesAssignment_2_0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:10050:1: ( ( ruleVariable ) ) + // InternalSolverLanguageParser.g:10051:2: ( ruleVariable ) + { + // InternalSolverLanguageParser.g:10051:2: ( ruleVariable ) + // InternalSolverLanguageParser.g:10052:3: ruleVariable + { + before(grammarAccess.getLocalVariablesAccess().getVariablesVariableParserRuleCall_2_0_0()); + pushFollow(FOLLOW_2); + ruleVariable(); + + state._fsp--; + + after(grammarAccess.getLocalVariablesAccess().getVariablesVariableParserRuleCall_2_0_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__LocalVariables__VariablesAssignment_2_0" + + + // $ANTLR start "rule__LocalVariables__VariablesAssignment_2_1_1" + // InternalSolverLanguageParser.g:10061:1: rule__LocalVariables__VariablesAssignment_2_1_1 : ( ruleVariable ) ; + public final void rule__LocalVariables__VariablesAssignment_2_1_1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:10065:1: ( ( ruleVariable ) ) + // InternalSolverLanguageParser.g:10066:2: ( ruleVariable ) + { + // InternalSolverLanguageParser.g:10066:2: ( ruleVariable ) + // InternalSolverLanguageParser.g:10067:3: ruleVariable + { + before(grammarAccess.getLocalVariablesAccess().getVariablesVariableParserRuleCall_2_1_1_0()); + pushFollow(FOLLOW_2); + ruleVariable(); + + state._fsp--; + + after(grammarAccess.getLocalVariablesAccess().getVariablesVariableParserRuleCall_2_1_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__LocalVariables__VariablesAssignment_2_1_1" + + + // $ANTLR start "rule__QuantifiedExpression__QuantifierAssignment_0" + // InternalSolverLanguageParser.g:10076:1: rule__QuantifiedExpression__QuantifierAssignment_0 : ( ruleQuantifier ) ; + public final void rule__QuantifiedExpression__QuantifierAssignment_0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:10080:1: ( ( ruleQuantifier ) ) + // InternalSolverLanguageParser.g:10081:2: ( ruleQuantifier ) + { + // InternalSolverLanguageParser.g:10081:2: ( ruleQuantifier ) + // InternalSolverLanguageParser.g:10082:3: ruleQuantifier + { + before(grammarAccess.getQuantifiedExpressionAccess().getQuantifierQuantifierEnumRuleCall_0_0()); + pushFollow(FOLLOW_2); + ruleQuantifier(); + + state._fsp--; + + after(grammarAccess.getQuantifiedExpressionAccess().getQuantifierQuantifierEnumRuleCall_0_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__QuantifiedExpression__QuantifierAssignment_0" + + + // $ANTLR start "rule__QuantifiedExpression__LocalVariablesAssignment_1" + // InternalSolverLanguageParser.g:10091:1: rule__QuantifiedExpression__LocalVariablesAssignment_1 : ( ruleLocalVariables ) ; + public final void rule__QuantifiedExpression__LocalVariablesAssignment_1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:10095:1: ( ( ruleLocalVariables ) ) + // InternalSolverLanguageParser.g:10096:2: ( ruleLocalVariables ) + { + // InternalSolverLanguageParser.g:10096:2: ( ruleLocalVariables ) + // InternalSolverLanguageParser.g:10097:3: ruleLocalVariables + { + before(grammarAccess.getQuantifiedExpressionAccess().getLocalVariablesLocalVariablesParserRuleCall_1_0()); + pushFollow(FOLLOW_2); + ruleLocalVariables(); + + state._fsp--; + + after(grammarAccess.getQuantifiedExpressionAccess().getLocalVariablesLocalVariablesParserRuleCall_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__QuantifiedExpression__LocalVariablesAssignment_1" + + + // $ANTLR start "rule__QuantifiedExpression__BodyAssignment_3" + // InternalSolverLanguageParser.g:10106:1: rule__QuantifiedExpression__BodyAssignment_3 : ( ruleExpression ) ; + public final void rule__QuantifiedExpression__BodyAssignment_3() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:8232:1: ( ( ruleExpression ) ) - // InternalSolverLanguageParser.g:8233:2: ( ruleExpression ) + // InternalSolverLanguageParser.g:10110:1: ( ( ruleExpression ) ) + // InternalSolverLanguageParser.g:10111:2: ( ruleExpression ) { - // InternalSolverLanguageParser.g:8233:2: ( ruleExpression ) - // InternalSolverLanguageParser.g:8234:3: ruleExpression + // InternalSolverLanguageParser.g:10111:2: ( ruleExpression ) + // InternalSolverLanguageParser.g:10112:3: ruleExpression { - before(grammarAccess.getCountAccess().getBodyExpressionParserRuleCall_2_0()); + before(grammarAccess.getQuantifiedExpressionAccess().getBodyExpressionParserRuleCall_3_0()); pushFollow(FOLLOW_2); ruleExpression(); state._fsp--; - after(grammarAccess.getCountAccess().getBodyExpressionParserRuleCall_2_0()); + after(grammarAccess.getQuantifiedExpressionAccess().getBodyExpressionParserRuleCall_3_0()); } @@ -25101,29 +30655,37 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Count__BodyAssignment_2" + // $ANTLR end "rule__QuantifiedExpression__BodyAssignment_3" // $ANTLR start "rule__Aggregation__OpAssignment_0" - // InternalSolverLanguageParser.g:8243:1: rule__Aggregation__OpAssignment_0 : ( ruleAggregationOp ) ; + // InternalSolverLanguageParser.g:10121:1: rule__Aggregation__OpAssignment_0 : ( ( ruleQualifiedName ) ) ; public final void rule__Aggregation__OpAssignment_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:8247:1: ( ( ruleAggregationOp ) ) - // InternalSolverLanguageParser.g:8248:2: ( ruleAggregationOp ) + // InternalSolverLanguageParser.g:10125:1: ( ( ( ruleQualifiedName ) ) ) + // InternalSolverLanguageParser.g:10126:2: ( ( ruleQualifiedName ) ) + { + // InternalSolverLanguageParser.g:10126:2: ( ( ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:10127:3: ( ruleQualifiedName ) { - // InternalSolverLanguageParser.g:8248:2: ( ruleAggregationOp ) - // InternalSolverLanguageParser.g:8249:3: ruleAggregationOp + before(grammarAccess.getAggregationAccess().getOpNamedElementCrossReference_0_0()); + // InternalSolverLanguageParser.g:10128:3: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:10129:4: ruleQualifiedName { - before(grammarAccess.getAggregationAccess().getOpAggregationOpEnumRuleCall_0_0()); + before(grammarAccess.getAggregationAccess().getOpNamedElementQualifiedNameParserRuleCall_0_0_1()); pushFollow(FOLLOW_2); - ruleAggregationOp(); + ruleQualifiedName(); state._fsp--; - after(grammarAccess.getAggregationAccess().getOpAggregationOpEnumRuleCall_0_0()); + after(grammarAccess.getAggregationAccess().getOpNamedElementQualifiedNameParserRuleCall_0_0_1()); + + } + + after(grammarAccess.getAggregationAccess().getOpNamedElementCrossReference_0_0()); } @@ -25145,26 +30707,67 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR end "rule__Aggregation__OpAssignment_0" - // $ANTLR start "rule__Aggregation__BodyAssignment_2" - // InternalSolverLanguageParser.g:8258:1: rule__Aggregation__BodyAssignment_2 : ( ruleExpression ) ; - public final void rule__Aggregation__BodyAssignment_2() throws RecognitionException { + // $ANTLR start "rule__Aggregation__LocalVariablesAssignment_1" + // InternalSolverLanguageParser.g:10140:1: rule__Aggregation__LocalVariablesAssignment_1 : ( ruleLocalVariables ) ; + public final void rule__Aggregation__LocalVariablesAssignment_1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:10144:1: ( ( ruleLocalVariables ) ) + // InternalSolverLanguageParser.g:10145:2: ( ruleLocalVariables ) + { + // InternalSolverLanguageParser.g:10145:2: ( ruleLocalVariables ) + // InternalSolverLanguageParser.g:10146:3: ruleLocalVariables + { + before(grammarAccess.getAggregationAccess().getLocalVariablesLocalVariablesParserRuleCall_1_0()); + pushFollow(FOLLOW_2); + ruleLocalVariables(); + + state._fsp--; + + after(grammarAccess.getAggregationAccess().getLocalVariablesLocalVariablesParserRuleCall_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Aggregation__LocalVariablesAssignment_1" + + + // $ANTLR start "rule__Aggregation__BodyAssignment_3" + // InternalSolverLanguageParser.g:10155:1: rule__Aggregation__BodyAssignment_3 : ( ruleExpression ) ; + public final void rule__Aggregation__BodyAssignment_3() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:8262:1: ( ( ruleExpression ) ) - // InternalSolverLanguageParser.g:8263:2: ( ruleExpression ) + // InternalSolverLanguageParser.g:10159:1: ( ( ruleExpression ) ) + // InternalSolverLanguageParser.g:10160:2: ( ruleExpression ) { - // InternalSolverLanguageParser.g:8263:2: ( ruleExpression ) - // InternalSolverLanguageParser.g:8264:3: ruleExpression + // InternalSolverLanguageParser.g:10160:2: ( ruleExpression ) + // InternalSolverLanguageParser.g:10161:3: ruleExpression { - before(grammarAccess.getAggregationAccess().getBodyExpressionParserRuleCall_2_0()); + before(grammarAccess.getAggregationAccess().getBodyExpressionParserRuleCall_3_0()); pushFollow(FOLLOW_2); ruleExpression(); state._fsp--; - after(grammarAccess.getAggregationAccess().getBodyExpressionParserRuleCall_2_0()); + after(grammarAccess.getAggregationAccess().getBodyExpressionParserRuleCall_3_0()); } @@ -25183,29 +30786,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Aggregation__BodyAssignment_2" + // $ANTLR end "rule__Aggregation__BodyAssignment_3" - // $ANTLR start "rule__Aggregation__ConditionAssignment_4" - // InternalSolverLanguageParser.g:8273:1: rule__Aggregation__ConditionAssignment_4 : ( ruleExpression ) ; - public final void rule__Aggregation__ConditionAssignment_4() throws RecognitionException { + // $ANTLR start "rule__Aggregation__ConditionAssignment_4_1" + // InternalSolverLanguageParser.g:10170:1: rule__Aggregation__ConditionAssignment_4_1 : ( ruleExpression ) ; + public final void rule__Aggregation__ConditionAssignment_4_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:8277:1: ( ( ruleExpression ) ) - // InternalSolverLanguageParser.g:8278:2: ( ruleExpression ) + // InternalSolverLanguageParser.g:10174:1: ( ( ruleExpression ) ) + // InternalSolverLanguageParser.g:10175:2: ( ruleExpression ) { - // InternalSolverLanguageParser.g:8278:2: ( ruleExpression ) - // InternalSolverLanguageParser.g:8279:3: ruleExpression + // InternalSolverLanguageParser.g:10175:2: ( ruleExpression ) + // InternalSolverLanguageParser.g:10176:3: ruleExpression { - before(grammarAccess.getAggregationAccess().getConditionExpressionParserRuleCall_4_0()); + before(grammarAccess.getAggregationAccess().getConditionExpressionParserRuleCall_4_1_0()); pushFollow(FOLLOW_2); ruleExpression(); state._fsp--; - after(grammarAccess.getAggregationAccess().getConditionExpressionParserRuleCall_4_0()); + after(grammarAccess.getAggregationAccess().getConditionExpressionParserRuleCall_4_1_0()); } @@ -25224,21 +30827,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Aggregation__ConditionAssignment_4" + // $ANTLR end "rule__Aggregation__ConditionAssignment_4_1" // $ANTLR start "rule__Call__FunctorAssignment_0" - // InternalSolverLanguageParser.g:8288:1: rule__Call__FunctorAssignment_0 : ( ruleReference ) ; + // InternalSolverLanguageParser.g:10185:1: rule__Call__FunctorAssignment_0 : ( ruleReference ) ; public final void rule__Call__FunctorAssignment_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:8292:1: ( ( ruleReference ) ) - // InternalSolverLanguageParser.g:8293:2: ( ruleReference ) + // InternalSolverLanguageParser.g:10189:1: ( ( ruleReference ) ) + // InternalSolverLanguageParser.g:10190:2: ( ruleReference ) { - // InternalSolverLanguageParser.g:8293:2: ( ruleReference ) - // InternalSolverLanguageParser.g:8294:3: ruleReference + // InternalSolverLanguageParser.g:10190:2: ( ruleReference ) + // InternalSolverLanguageParser.g:10191:3: ruleReference { before(grammarAccess.getCallAccess().getFunctorReferenceParserRuleCall_0_0()); pushFollow(FOLLOW_2); @@ -25269,17 +30872,17 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR start "rule__Call__TransitiveClosureAssignment_1_0" - // InternalSolverLanguageParser.g:8303:1: rule__Call__TransitiveClosureAssignment_1_0 : ( RULE_TRANSITIVE_CLOSURE ) ; + // InternalSolverLanguageParser.g:10200:1: rule__Call__TransitiveClosureAssignment_1_0 : ( RULE_TRANSITIVE_CLOSURE ) ; public final void rule__Call__TransitiveClosureAssignment_1_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:8307:1: ( ( RULE_TRANSITIVE_CLOSURE ) ) - // InternalSolverLanguageParser.g:8308:2: ( RULE_TRANSITIVE_CLOSURE ) + // InternalSolverLanguageParser.g:10204:1: ( ( RULE_TRANSITIVE_CLOSURE ) ) + // InternalSolverLanguageParser.g:10205:2: ( RULE_TRANSITIVE_CLOSURE ) { - // InternalSolverLanguageParser.g:8308:2: ( RULE_TRANSITIVE_CLOSURE ) - // InternalSolverLanguageParser.g:8309:3: RULE_TRANSITIVE_CLOSURE + // InternalSolverLanguageParser.g:10205:2: ( RULE_TRANSITIVE_CLOSURE ) + // InternalSolverLanguageParser.g:10206:3: RULE_TRANSITIVE_CLOSURE { before(grammarAccess.getCallAccess().getTransitiveClosureTRANSITIVE_CLOSURETerminalRuleCall_1_0_0()); match(input,RULE_TRANSITIVE_CLOSURE,FOLLOW_2); @@ -25306,17 +30909,17 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR start "rule__Call__ReflexiveTransitiveClosureAssignment_1_1" - // InternalSolverLanguageParser.g:8318:1: rule__Call__ReflexiveTransitiveClosureAssignment_1_1 : ( RULE_REFLEXIVE_TRANSITIVE_CLOSURE ) ; + // InternalSolverLanguageParser.g:10215:1: rule__Call__ReflexiveTransitiveClosureAssignment_1_1 : ( RULE_REFLEXIVE_TRANSITIVE_CLOSURE ) ; public final void rule__Call__ReflexiveTransitiveClosureAssignment_1_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:8322:1: ( ( RULE_REFLEXIVE_TRANSITIVE_CLOSURE ) ) - // InternalSolverLanguageParser.g:8323:2: ( RULE_REFLEXIVE_TRANSITIVE_CLOSURE ) + // InternalSolverLanguageParser.g:10219:1: ( ( RULE_REFLEXIVE_TRANSITIVE_CLOSURE ) ) + // InternalSolverLanguageParser.g:10220:2: ( RULE_REFLEXIVE_TRANSITIVE_CLOSURE ) { - // InternalSolverLanguageParser.g:8323:2: ( RULE_REFLEXIVE_TRANSITIVE_CLOSURE ) - // InternalSolverLanguageParser.g:8324:3: RULE_REFLEXIVE_TRANSITIVE_CLOSURE + // InternalSolverLanguageParser.g:10220:2: ( RULE_REFLEXIVE_TRANSITIVE_CLOSURE ) + // InternalSolverLanguageParser.g:10221:3: RULE_REFLEXIVE_TRANSITIVE_CLOSURE { before(grammarAccess.getCallAccess().getReflexiveTransitiveClosureREFLEXIVE_TRANSITIVE_CLOSURETerminalRuleCall_1_1_0()); match(input,RULE_REFLEXIVE_TRANSITIVE_CLOSURE,FOLLOW_2); @@ -25343,17 +30946,17 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR start "rule__Call__ArgumentListAssignment_2" - // InternalSolverLanguageParser.g:8333:1: rule__Call__ArgumentListAssignment_2 : ( ruleArgumentList ) ; + // InternalSolverLanguageParser.g:10230:1: rule__Call__ArgumentListAssignment_2 : ( ruleArgumentList ) ; public final void rule__Call__ArgumentListAssignment_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:8337:1: ( ( ruleArgumentList ) ) - // InternalSolverLanguageParser.g:8338:2: ( ruleArgumentList ) + // InternalSolverLanguageParser.g:10234:1: ( ( ruleArgumentList ) ) + // InternalSolverLanguageParser.g:10235:2: ( ruleArgumentList ) { - // InternalSolverLanguageParser.g:8338:2: ( ruleArgumentList ) - // InternalSolverLanguageParser.g:8339:3: ruleArgumentList + // InternalSolverLanguageParser.g:10235:2: ( ruleArgumentList ) + // InternalSolverLanguageParser.g:10236:3: ruleArgumentList { before(grammarAccess.getCallAccess().getArgumentListArgumentListParserRuleCall_2_0()); pushFollow(FOLLOW_2); @@ -25384,17 +30987,17 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR start "rule__ArgumentList__ArgumentsAssignment_2_0" - // InternalSolverLanguageParser.g:8348:1: rule__ArgumentList__ArgumentsAssignment_2_0 : ( ruleArgument ) ; + // InternalSolverLanguageParser.g:10245:1: rule__ArgumentList__ArgumentsAssignment_2_0 : ( ruleArgument ) ; public final void rule__ArgumentList__ArgumentsAssignment_2_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:8352:1: ( ( ruleArgument ) ) - // InternalSolverLanguageParser.g:8353:2: ( ruleArgument ) + // InternalSolverLanguageParser.g:10249:1: ( ( ruleArgument ) ) + // InternalSolverLanguageParser.g:10250:2: ( ruleArgument ) { - // InternalSolverLanguageParser.g:8353:2: ( ruleArgument ) - // InternalSolverLanguageParser.g:8354:3: ruleArgument + // InternalSolverLanguageParser.g:10250:2: ( ruleArgument ) + // InternalSolverLanguageParser.g:10251:3: ruleArgument { before(grammarAccess.getArgumentListAccess().getArgumentsArgumentParserRuleCall_2_0_0()); pushFollow(FOLLOW_2); @@ -25425,17 +31028,17 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR start "rule__ArgumentList__ArgumentsAssignment_2_1_1" - // InternalSolverLanguageParser.g:8363:1: rule__ArgumentList__ArgumentsAssignment_2_1_1 : ( ruleArgument ) ; + // InternalSolverLanguageParser.g:10260:1: rule__ArgumentList__ArgumentsAssignment_2_1_1 : ( ruleArgument ) ; public final void rule__ArgumentList__ArgumentsAssignment_2_1_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:8367:1: ( ( ruleArgument ) ) - // InternalSolverLanguageParser.g:8368:2: ( ruleArgument ) + // InternalSolverLanguageParser.g:10264:1: ( ( ruleArgument ) ) + // InternalSolverLanguageParser.g:10265:2: ( ruleArgument ) { - // InternalSolverLanguageParser.g:8368:2: ( ruleArgument ) - // InternalSolverLanguageParser.g:8369:3: ruleArgument + // InternalSolverLanguageParser.g:10265:2: ( ruleArgument ) + // InternalSolverLanguageParser.g:10266:3: ruleArgument { before(grammarAccess.getArgumentListAccess().getArgumentsArgumentParserRuleCall_2_1_1_0()); pushFollow(FOLLOW_2); @@ -25466,17 +31069,17 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR start "rule__ExpressionArgument__BodyAssignment" - // InternalSolverLanguageParser.g:8378:1: rule__ExpressionArgument__BodyAssignment : ( ruleComparisonExpression ) ; + // InternalSolverLanguageParser.g:10275:1: rule__ExpressionArgument__BodyAssignment : ( ruleComparisonExpression ) ; public final void rule__ExpressionArgument__BodyAssignment() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:8382:1: ( ( ruleComparisonExpression ) ) - // InternalSolverLanguageParser.g:8383:2: ( ruleComparisonExpression ) + // InternalSolverLanguageParser.g:10279:1: ( ( ruleComparisonExpression ) ) + // InternalSolverLanguageParser.g:10280:2: ( ruleComparisonExpression ) { - // InternalSolverLanguageParser.g:8383:2: ( ruleComparisonExpression ) - // InternalSolverLanguageParser.g:8384:3: ruleComparisonExpression + // InternalSolverLanguageParser.g:10280:2: ( ruleComparisonExpression ) + // InternalSolverLanguageParser.g:10281:3: ruleComparisonExpression { before(grammarAccess.getExpressionArgumentAccess().getBodyComparisonExpressionParserRuleCall_0()); pushFollow(FOLLOW_2); @@ -25507,21 +31110,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR start "rule__TypedArgument__TypeAssignment_0" - // InternalSolverLanguageParser.g:8393:1: rule__TypedArgument__TypeAssignment_0 : ( ( ruleQualifiedName ) ) ; + // InternalSolverLanguageParser.g:10290:1: rule__TypedArgument__TypeAssignment_0 : ( ( ruleQualifiedName ) ) ; public final void rule__TypedArgument__TypeAssignment_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:8397:1: ( ( ( ruleQualifiedName ) ) ) - // InternalSolverLanguageParser.g:8398:2: ( ( ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:10294:1: ( ( ( ruleQualifiedName ) ) ) + // InternalSolverLanguageParser.g:10295:2: ( ( ruleQualifiedName ) ) { - // InternalSolverLanguageParser.g:8398:2: ( ( ruleQualifiedName ) ) - // InternalSolverLanguageParser.g:8399:3: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:10295:2: ( ( ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:10296:3: ( ruleQualifiedName ) { before(grammarAccess.getTypedArgumentAccess().getTypeNamedElementCrossReference_0_0()); - // InternalSolverLanguageParser.g:8400:3: ( ruleQualifiedName ) - // InternalSolverLanguageParser.g:8401:4: ruleQualifiedName + // InternalSolverLanguageParser.g:10297:3: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:10298:4: ruleQualifiedName { before(grammarAccess.getTypedArgumentAccess().getTypeNamedElementQualifiedNameParserRuleCall_0_0_1()); pushFollow(FOLLOW_2); @@ -25556,21 +31159,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR start "rule__TypedArgument__VariableAssignment_1" - // InternalSolverLanguageParser.g:8412:1: rule__TypedArgument__VariableAssignment_1 : ( ( ruleQualifiedName ) ) ; + // InternalSolverLanguageParser.g:10309:1: rule__TypedArgument__VariableAssignment_1 : ( ( ruleQualifiedName ) ) ; public final void rule__TypedArgument__VariableAssignment_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:8416:1: ( ( ( ruleQualifiedName ) ) ) - // InternalSolverLanguageParser.g:8417:2: ( ( ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:10313:1: ( ( ( ruleQualifiedName ) ) ) + // InternalSolverLanguageParser.g:10314:2: ( ( ruleQualifiedName ) ) { - // InternalSolverLanguageParser.g:8417:2: ( ( ruleQualifiedName ) ) - // InternalSolverLanguageParser.g:8418:3: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:10314:2: ( ( ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:10315:3: ( ruleQualifiedName ) { before(grammarAccess.getTypedArgumentAccess().getVariableNamedElementCrossReference_1_0()); - // InternalSolverLanguageParser.g:8419:3: ( ruleQualifiedName ) - // InternalSolverLanguageParser.g:8420:4: ruleQualifiedName + // InternalSolverLanguageParser.g:10316:3: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:10317:4: ruleQualifiedName { before(grammarAccess.getTypedArgumentAccess().getVariableNamedElementQualifiedNameParserRuleCall_1_0_1()); pushFollow(FOLLOW_2); @@ -25605,21 +31208,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR start "rule__TypedStarArgument__TypeAssignment_0" - // InternalSolverLanguageParser.g:8431:1: rule__TypedStarArgument__TypeAssignment_0 : ( ( ruleQualifiedName ) ) ; + // InternalSolverLanguageParser.g:10328:1: rule__TypedStarArgument__TypeAssignment_0 : ( ( ruleQualifiedName ) ) ; public final void rule__TypedStarArgument__TypeAssignment_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:8435:1: ( ( ( ruleQualifiedName ) ) ) - // InternalSolverLanguageParser.g:8436:2: ( ( ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:10332:1: ( ( ( ruleQualifiedName ) ) ) + // InternalSolverLanguageParser.g:10333:2: ( ( ruleQualifiedName ) ) { - // InternalSolverLanguageParser.g:8436:2: ( ( ruleQualifiedName ) ) - // InternalSolverLanguageParser.g:8437:3: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:10333:2: ( ( ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:10334:3: ( ruleQualifiedName ) { before(grammarAccess.getTypedStarArgumentAccess().getTypeNamedElementCrossReference_0_0()); - // InternalSolverLanguageParser.g:8438:3: ( ruleQualifiedName ) - // InternalSolverLanguageParser.g:8439:4: ruleQualifiedName + // InternalSolverLanguageParser.g:10335:3: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:10336:4: ruleQualifiedName { before(grammarAccess.getTypedStarArgumentAccess().getTypeNamedElementQualifiedNameParserRuleCall_0_0_1()); pushFollow(FOLLOW_2); @@ -25654,21 +31257,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR start "rule__Reference__ReferredAssignment" - // InternalSolverLanguageParser.g:8450:1: rule__Reference__ReferredAssignment : ( ( ruleQualifiedName ) ) ; + // InternalSolverLanguageParser.g:10347:1: rule__Reference__ReferredAssignment : ( ( ruleQualifiedName ) ) ; public final void rule__Reference__ReferredAssignment() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:8454:1: ( ( ( ruleQualifiedName ) ) ) - // InternalSolverLanguageParser.g:8455:2: ( ( ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:10351:1: ( ( ( ruleQualifiedName ) ) ) + // InternalSolverLanguageParser.g:10352:2: ( ( ruleQualifiedName ) ) { - // InternalSolverLanguageParser.g:8455:2: ( ( ruleQualifiedName ) ) - // InternalSolverLanguageParser.g:8456:3: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:10352:2: ( ( ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:10353:3: ( ruleQualifiedName ) { before(grammarAccess.getReferenceAccess().getReferredNamedElementCrossReference_0()); - // InternalSolverLanguageParser.g:8457:3: ( ruleQualifiedName ) - // InternalSolverLanguageParser.g:8458:4: ruleQualifiedName + // InternalSolverLanguageParser.g:10354:3: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:10355:4: ruleQualifiedName { before(grammarAccess.getReferenceAccess().getReferredNamedElementQualifiedNameParserRuleCall_0_1()); pushFollow(FOLLOW_2); @@ -25703,17 +31306,17 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR start "rule__Interval__LowerBoundAssignment_1" - // InternalSolverLanguageParser.g:8469:1: rule__Interval__LowerBoundAssignment_1 : ( ruleExpression ) ; + // InternalSolverLanguageParser.g:10366:1: rule__Interval__LowerBoundAssignment_1 : ( ruleExpression ) ; public final void rule__Interval__LowerBoundAssignment_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:8473:1: ( ( ruleExpression ) ) - // InternalSolverLanguageParser.g:8474:2: ( ruleExpression ) + // InternalSolverLanguageParser.g:10370:1: ( ( ruleExpression ) ) + // InternalSolverLanguageParser.g:10371:2: ( ruleExpression ) { - // InternalSolverLanguageParser.g:8474:2: ( ruleExpression ) - // InternalSolverLanguageParser.g:8475:3: ruleExpression + // InternalSolverLanguageParser.g:10371:2: ( ruleExpression ) + // InternalSolverLanguageParser.g:10372:3: ruleExpression { before(grammarAccess.getIntervalAccess().getLowerBoundExpressionParserRuleCall_1_0()); pushFollow(FOLLOW_2); @@ -25744,17 +31347,17 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR start "rule__Interval__UpperBoundAssignment_3" - // InternalSolverLanguageParser.g:8484:1: rule__Interval__UpperBoundAssignment_3 : ( ruleExpression ) ; + // InternalSolverLanguageParser.g:10381:1: rule__Interval__UpperBoundAssignment_3 : ( ruleExpression ) ; public final void rule__Interval__UpperBoundAssignment_3() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:8488:1: ( ( ruleExpression ) ) - // InternalSolverLanguageParser.g:8489:2: ( ruleExpression ) + // InternalSolverLanguageParser.g:10385:1: ( ( ruleExpression ) ) + // InternalSolverLanguageParser.g:10386:2: ( ruleExpression ) { - // InternalSolverLanguageParser.g:8489:2: ( ruleExpression ) - // InternalSolverLanguageParser.g:8490:3: ruleExpression + // InternalSolverLanguageParser.g:10386:2: ( ruleExpression ) + // InternalSolverLanguageParser.g:10387:3: ruleExpression { before(grammarAccess.getIntervalAccess().getUpperBoundExpressionParserRuleCall_3_0()); pushFollow(FOLLOW_2); @@ -25785,17 +31388,17 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR start "rule__LogicLiteral__ValueAssignment" - // InternalSolverLanguageParser.g:8499:1: rule__LogicLiteral__ValueAssignment : ( ruleLogicValue ) ; + // InternalSolverLanguageParser.g:10396:1: rule__LogicLiteral__ValueAssignment : ( ruleLogicValue ) ; public final void rule__LogicLiteral__ValueAssignment() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:8503:1: ( ( ruleLogicValue ) ) - // InternalSolverLanguageParser.g:8504:2: ( ruleLogicValue ) + // InternalSolverLanguageParser.g:10400:1: ( ( ruleLogicValue ) ) + // InternalSolverLanguageParser.g:10401:2: ( ruleLogicValue ) { - // InternalSolverLanguageParser.g:8504:2: ( ruleLogicValue ) - // InternalSolverLanguageParser.g:8505:3: ruleLogicValue + // InternalSolverLanguageParser.g:10401:2: ( ruleLogicValue ) + // InternalSolverLanguageParser.g:10402:3: ruleLogicValue { before(grammarAccess.getLogicLiteralAccess().getValueLogicValueEnumRuleCall_0()); pushFollow(FOLLOW_2); @@ -25826,17 +31429,17 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR start "rule__NumericLiteral__ValueAssignment" - // InternalSolverLanguageParser.g:8514:1: rule__NumericLiteral__ValueAssignment : ( ruleReal ) ; + // InternalSolverLanguageParser.g:10411:1: rule__NumericLiteral__ValueAssignment : ( ruleReal ) ; public final void rule__NumericLiteral__ValueAssignment() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:8518:1: ( ( ruleReal ) ) - // InternalSolverLanguageParser.g:8519:2: ( ruleReal ) + // InternalSolverLanguageParser.g:10415:1: ( ( ruleReal ) ) + // InternalSolverLanguageParser.g:10416:2: ( ruleReal ) { - // InternalSolverLanguageParser.g:8519:2: ( ruleReal ) - // InternalSolverLanguageParser.g:8520:3: ruleReal + // InternalSolverLanguageParser.g:10416:2: ( ruleReal ) + // InternalSolverLanguageParser.g:10417:3: ruleReal { before(grammarAccess.getNumericLiteralAccess().getValueRealParserRuleCall_0()); pushFollow(FOLLOW_2); @@ -25867,17 +31470,17 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR start "rule__StringLiteral__ValueAssignment" - // InternalSolverLanguageParser.g:8529:1: rule__StringLiteral__ValueAssignment : ( RULE_STRING ) ; + // InternalSolverLanguageParser.g:10426:1: rule__StringLiteral__ValueAssignment : ( RULE_STRING ) ; public final void rule__StringLiteral__ValueAssignment() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:8533:1: ( ( RULE_STRING ) ) - // InternalSolverLanguageParser.g:8534:2: ( RULE_STRING ) + // InternalSolverLanguageParser.g:10430:1: ( ( RULE_STRING ) ) + // InternalSolverLanguageParser.g:10431:2: ( RULE_STRING ) { - // InternalSolverLanguageParser.g:8534:2: ( RULE_STRING ) - // InternalSolverLanguageParser.g:8535:3: RULE_STRING + // InternalSolverLanguageParser.g:10431:2: ( RULE_STRING ) + // InternalSolverLanguageParser.g:10432:3: RULE_STRING { before(grammarAccess.getStringLiteralAccess().getValueSTRINGTerminalRuleCall_0()); match(input,RULE_STRING,FOLLOW_2); @@ -25904,21 +31507,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR start "rule__ClassDefinition__AbstractAssignment_0" - // InternalSolverLanguageParser.g:8544:1: rule__ClassDefinition__AbstractAssignment_0 : ( ( Abstract ) ) ; + // InternalSolverLanguageParser.g:10441:1: rule__ClassDefinition__AbstractAssignment_0 : ( ( Abstract ) ) ; public final void rule__ClassDefinition__AbstractAssignment_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:8548:1: ( ( ( Abstract ) ) ) - // InternalSolverLanguageParser.g:8549:2: ( ( Abstract ) ) + // InternalSolverLanguageParser.g:10445:1: ( ( ( Abstract ) ) ) + // InternalSolverLanguageParser.g:10446:2: ( ( Abstract ) ) { - // InternalSolverLanguageParser.g:8549:2: ( ( Abstract ) ) - // InternalSolverLanguageParser.g:8550:3: ( Abstract ) + // InternalSolverLanguageParser.g:10446:2: ( ( Abstract ) ) + // InternalSolverLanguageParser.g:10447:3: ( Abstract ) { before(grammarAccess.getClassDefinitionAccess().getAbstractAbstractKeyword_0_0()); - // InternalSolverLanguageParser.g:8551:3: ( Abstract ) - // InternalSolverLanguageParser.g:8552:4: Abstract + // InternalSolverLanguageParser.g:10448:3: ( Abstract ) + // InternalSolverLanguageParser.g:10449:4: Abstract { before(grammarAccess.getClassDefinitionAccess().getAbstractAbstractKeyword_0_0()); match(input,Abstract,FOLLOW_2); @@ -25949,17 +31552,17 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR start "rule__ClassDefinition__NameAssignment_2" - // InternalSolverLanguageParser.g:8563:1: rule__ClassDefinition__NameAssignment_2 : ( RULE_ID ) ; + // InternalSolverLanguageParser.g:10460:1: rule__ClassDefinition__NameAssignment_2 : ( RULE_ID ) ; public final void rule__ClassDefinition__NameAssignment_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:8567:1: ( ( RULE_ID ) ) - // InternalSolverLanguageParser.g:8568:2: ( RULE_ID ) + // InternalSolverLanguageParser.g:10464:1: ( ( RULE_ID ) ) + // InternalSolverLanguageParser.g:10465:2: ( RULE_ID ) { - // InternalSolverLanguageParser.g:8568:2: ( RULE_ID ) - // InternalSolverLanguageParser.g:8569:3: RULE_ID + // InternalSolverLanguageParser.g:10465:2: ( RULE_ID ) + // InternalSolverLanguageParser.g:10466:3: RULE_ID { before(grammarAccess.getClassDefinitionAccess().getNameIDTerminalRuleCall_2_0()); match(input,RULE_ID,FOLLOW_2); @@ -25986,21 +31589,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR start "rule__ClassDefinition__SuperclassesAssignment_3_1" - // InternalSolverLanguageParser.g:8578:1: rule__ClassDefinition__SuperclassesAssignment_3_1 : ( ( ruleQualifiedName ) ) ; + // InternalSolverLanguageParser.g:10475:1: rule__ClassDefinition__SuperclassesAssignment_3_1 : ( ( ruleQualifiedName ) ) ; public final void rule__ClassDefinition__SuperclassesAssignment_3_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:8582:1: ( ( ( ruleQualifiedName ) ) ) - // InternalSolverLanguageParser.g:8583:2: ( ( ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:10479:1: ( ( ( ruleQualifiedName ) ) ) + // InternalSolverLanguageParser.g:10480:2: ( ( ruleQualifiedName ) ) { - // InternalSolverLanguageParser.g:8583:2: ( ( ruleQualifiedName ) ) - // InternalSolverLanguageParser.g:8584:3: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:10480:2: ( ( ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:10481:3: ( ruleQualifiedName ) { before(grammarAccess.getClassDefinitionAccess().getSuperclassesNamedElementCrossReference_3_1_0()); - // InternalSolverLanguageParser.g:8585:3: ( ruleQualifiedName ) - // InternalSolverLanguageParser.g:8586:4: ruleQualifiedName + // InternalSolverLanguageParser.g:10482:3: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:10483:4: ruleQualifiedName { before(grammarAccess.getClassDefinitionAccess().getSuperclassesNamedElementQualifiedNameParserRuleCall_3_1_0_1()); pushFollow(FOLLOW_2); @@ -26035,21 +31638,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR start "rule__ClassDefinition__SuperclassesAssignment_3_2_1" - // InternalSolverLanguageParser.g:8597:1: rule__ClassDefinition__SuperclassesAssignment_3_2_1 : ( ( ruleQualifiedName ) ) ; + // InternalSolverLanguageParser.g:10494:1: rule__ClassDefinition__SuperclassesAssignment_3_2_1 : ( ( ruleQualifiedName ) ) ; public final void rule__ClassDefinition__SuperclassesAssignment_3_2_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:8601:1: ( ( ( ruleQualifiedName ) ) ) - // InternalSolverLanguageParser.g:8602:2: ( ( ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:10498:1: ( ( ( ruleQualifiedName ) ) ) + // InternalSolverLanguageParser.g:10499:2: ( ( ruleQualifiedName ) ) { - // InternalSolverLanguageParser.g:8602:2: ( ( ruleQualifiedName ) ) - // InternalSolverLanguageParser.g:8603:3: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:10499:2: ( ( ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:10500:3: ( ruleQualifiedName ) { before(grammarAccess.getClassDefinitionAccess().getSuperclassesNamedElementCrossReference_3_2_1_0()); - // InternalSolverLanguageParser.g:8604:3: ( ruleQualifiedName ) - // InternalSolverLanguageParser.g:8605:4: ruleQualifiedName + // InternalSolverLanguageParser.g:10501:3: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:10502:4: ruleQualifiedName { before(grammarAccess.getClassDefinitionAccess().getSuperclassesNamedElementQualifiedNameParserRuleCall_3_2_1_0_1()); pushFollow(FOLLOW_2); @@ -26084,17 +31687,17 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR start "rule__ClassDefinition__MembersAssignment_5" - // InternalSolverLanguageParser.g:8616:1: rule__ClassDefinition__MembersAssignment_5 : ( ruleMemberDefinition ) ; + // InternalSolverLanguageParser.g:10513:1: rule__ClassDefinition__MembersAssignment_5 : ( ruleMemberDefinition ) ; public final void rule__ClassDefinition__MembersAssignment_5() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:8620:1: ( ( ruleMemberDefinition ) ) - // InternalSolverLanguageParser.g:8621:2: ( ruleMemberDefinition ) + // InternalSolverLanguageParser.g:10517:1: ( ( ruleMemberDefinition ) ) + // InternalSolverLanguageParser.g:10518:2: ( ruleMemberDefinition ) { - // InternalSolverLanguageParser.g:8621:2: ( ruleMemberDefinition ) - // InternalSolverLanguageParser.g:8622:3: ruleMemberDefinition + // InternalSolverLanguageParser.g:10518:2: ( ruleMemberDefinition ) + // InternalSolverLanguageParser.g:10519:3: ruleMemberDefinition { before(grammarAccess.getClassDefinitionAccess().getMembersMemberDefinitionParserRuleCall_5_0()); pushFollow(FOLLOW_2); @@ -26125,21 +31728,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR start "rule__MemberDefinition__ContainmentAssignment_0" - // InternalSolverLanguageParser.g:8631:1: rule__MemberDefinition__ContainmentAssignment_0 : ( ( Contains ) ) ; + // InternalSolverLanguageParser.g:10528:1: rule__MemberDefinition__ContainmentAssignment_0 : ( ( Contains ) ) ; public final void rule__MemberDefinition__ContainmentAssignment_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:8635:1: ( ( ( Contains ) ) ) - // InternalSolverLanguageParser.g:8636:2: ( ( Contains ) ) + // InternalSolverLanguageParser.g:10532:1: ( ( ( Contains ) ) ) + // InternalSolverLanguageParser.g:10533:2: ( ( Contains ) ) { - // InternalSolverLanguageParser.g:8636:2: ( ( Contains ) ) - // InternalSolverLanguageParser.g:8637:3: ( Contains ) + // InternalSolverLanguageParser.g:10533:2: ( ( Contains ) ) + // InternalSolverLanguageParser.g:10534:3: ( Contains ) { before(grammarAccess.getMemberDefinitionAccess().getContainmentContainsKeyword_0_0()); - // InternalSolverLanguageParser.g:8638:3: ( Contains ) - // InternalSolverLanguageParser.g:8639:4: Contains + // InternalSolverLanguageParser.g:10535:3: ( Contains ) + // InternalSolverLanguageParser.g:10536:4: Contains { before(grammarAccess.getMemberDefinitionAccess().getContainmentContainsKeyword_0_0()); match(input,Contains,FOLLOW_2); @@ -26170,21 +31773,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR start "rule__MemberDefinition__TypeAssignment_1" - // InternalSolverLanguageParser.g:8650:1: rule__MemberDefinition__TypeAssignment_1 : ( ( ruleQualifiedName ) ) ; + // InternalSolverLanguageParser.g:10547:1: rule__MemberDefinition__TypeAssignment_1 : ( ( ruleQualifiedName ) ) ; public final void rule__MemberDefinition__TypeAssignment_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:8654:1: ( ( ( ruleQualifiedName ) ) ) - // InternalSolverLanguageParser.g:8655:2: ( ( ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:10551:1: ( ( ( ruleQualifiedName ) ) ) + // InternalSolverLanguageParser.g:10552:2: ( ( ruleQualifiedName ) ) { - // InternalSolverLanguageParser.g:8655:2: ( ( ruleQualifiedName ) ) - // InternalSolverLanguageParser.g:8656:3: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:10552:2: ( ( ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:10553:3: ( ruleQualifiedName ) { before(grammarAccess.getMemberDefinitionAccess().getTypeNamedElementCrossReference_1_0()); - // InternalSolverLanguageParser.g:8657:3: ( ruleQualifiedName ) - // InternalSolverLanguageParser.g:8658:4: ruleQualifiedName + // InternalSolverLanguageParser.g:10554:3: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:10555:4: ruleQualifiedName { before(grammarAccess.getMemberDefinitionAccess().getTypeNamedElementQualifiedNameParserRuleCall_1_0_1()); pushFollow(FOLLOW_2); @@ -26219,17 +31822,17 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR start "rule__MemberDefinition__MultiplicityAssignment_2" - // InternalSolverLanguageParser.g:8669:1: rule__MemberDefinition__MultiplicityAssignment_2 : ( ruleMultiplicity ) ; + // InternalSolverLanguageParser.g:10566:1: rule__MemberDefinition__MultiplicityAssignment_2 : ( ruleMultiplicity ) ; public final void rule__MemberDefinition__MultiplicityAssignment_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:8673:1: ( ( ruleMultiplicity ) ) - // InternalSolverLanguageParser.g:8674:2: ( ruleMultiplicity ) + // InternalSolverLanguageParser.g:10570:1: ( ( ruleMultiplicity ) ) + // InternalSolverLanguageParser.g:10571:2: ( ruleMultiplicity ) { - // InternalSolverLanguageParser.g:8674:2: ( ruleMultiplicity ) - // InternalSolverLanguageParser.g:8675:3: ruleMultiplicity + // InternalSolverLanguageParser.g:10571:2: ( ruleMultiplicity ) + // InternalSolverLanguageParser.g:10572:3: ruleMultiplicity { before(grammarAccess.getMemberDefinitionAccess().getMultiplicityMultiplicityParserRuleCall_2_0()); pushFollow(FOLLOW_2); @@ -26260,17 +31863,17 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR start "rule__MemberDefinition__NameAssignment_3" - // InternalSolverLanguageParser.g:8684:1: rule__MemberDefinition__NameAssignment_3 : ( RULE_ID ) ; + // InternalSolverLanguageParser.g:10581:1: rule__MemberDefinition__NameAssignment_3 : ( RULE_ID ) ; public final void rule__MemberDefinition__NameAssignment_3() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:8688:1: ( ( RULE_ID ) ) - // InternalSolverLanguageParser.g:8689:2: ( RULE_ID ) + // InternalSolverLanguageParser.g:10585:1: ( ( RULE_ID ) ) + // InternalSolverLanguageParser.g:10586:2: ( RULE_ID ) { - // InternalSolverLanguageParser.g:8689:2: ( RULE_ID ) - // InternalSolverLanguageParser.g:8690:3: RULE_ID + // InternalSolverLanguageParser.g:10586:2: ( RULE_ID ) + // InternalSolverLanguageParser.g:10587:3: RULE_ID { before(grammarAccess.getMemberDefinitionAccess().getNameIDTerminalRuleCall_3_0()); match(input,RULE_ID,FOLLOW_2); @@ -26297,21 +31900,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR start "rule__MemberDefinition__OppositeAssignment_4_1" - // InternalSolverLanguageParser.g:8699:1: rule__MemberDefinition__OppositeAssignment_4_1 : ( ( ruleQualifiedName ) ) ; + // InternalSolverLanguageParser.g:10596:1: rule__MemberDefinition__OppositeAssignment_4_1 : ( ( ruleQualifiedName ) ) ; public final void rule__MemberDefinition__OppositeAssignment_4_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:8703:1: ( ( ( ruleQualifiedName ) ) ) - // InternalSolverLanguageParser.g:8704:2: ( ( ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:10600:1: ( ( ( ruleQualifiedName ) ) ) + // InternalSolverLanguageParser.g:10601:2: ( ( ruleQualifiedName ) ) { - // InternalSolverLanguageParser.g:8704:2: ( ( ruleQualifiedName ) ) - // InternalSolverLanguageParser.g:8705:3: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:10601:2: ( ( ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:10602:3: ( ruleQualifiedName ) { before(grammarAccess.getMemberDefinitionAccess().getOppositeNamedElementCrossReference_4_1_0()); - // InternalSolverLanguageParser.g:8706:3: ( ruleQualifiedName ) - // InternalSolverLanguageParser.g:8707:4: ruleQualifiedName + // InternalSolverLanguageParser.g:10603:3: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:10604:4: ruleQualifiedName { before(grammarAccess.getMemberDefinitionAccess().getOppositeNamedElementQualifiedNameParserRuleCall_4_1_0_1()); pushFollow(FOLLOW_2); @@ -26346,17 +31949,17 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR start "rule__ExactMultiplicity__MultiplicityAssignment_1" - // InternalSolverLanguageParser.g:8718:1: rule__ExactMultiplicity__MultiplicityAssignment_1 : ( ruleUpperMultiplicty ) ; + // InternalSolverLanguageParser.g:10615:1: rule__ExactMultiplicity__MultiplicityAssignment_1 : ( ruleUpperMultiplicty ) ; public final void rule__ExactMultiplicity__MultiplicityAssignment_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:8722:1: ( ( ruleUpperMultiplicty ) ) - // InternalSolverLanguageParser.g:8723:2: ( ruleUpperMultiplicty ) + // InternalSolverLanguageParser.g:10619:1: ( ( ruleUpperMultiplicty ) ) + // InternalSolverLanguageParser.g:10620:2: ( ruleUpperMultiplicty ) { - // InternalSolverLanguageParser.g:8723:2: ( ruleUpperMultiplicty ) - // InternalSolverLanguageParser.g:8724:3: ruleUpperMultiplicty + // InternalSolverLanguageParser.g:10620:2: ( ruleUpperMultiplicty ) + // InternalSolverLanguageParser.g:10621:3: ruleUpperMultiplicty { before(grammarAccess.getExactMultiplicityAccess().getMultiplicityUpperMultiplictyParserRuleCall_1_0()); pushFollow(FOLLOW_2); @@ -26387,17 +31990,17 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR start "rule__BoundedMultiplicity__LowerBoundAssignment_1" - // InternalSolverLanguageParser.g:8733:1: rule__BoundedMultiplicity__LowerBoundAssignment_1 : ( RULE_INT ) ; + // InternalSolverLanguageParser.g:10630:1: rule__BoundedMultiplicity__LowerBoundAssignment_1 : ( RULE_INT ) ; public final void rule__BoundedMultiplicity__LowerBoundAssignment_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:8737:1: ( ( RULE_INT ) ) - // InternalSolverLanguageParser.g:8738:2: ( RULE_INT ) + // InternalSolverLanguageParser.g:10634:1: ( ( RULE_INT ) ) + // InternalSolverLanguageParser.g:10635:2: ( RULE_INT ) { - // InternalSolverLanguageParser.g:8738:2: ( RULE_INT ) - // InternalSolverLanguageParser.g:8739:3: RULE_INT + // InternalSolverLanguageParser.g:10635:2: ( RULE_INT ) + // InternalSolverLanguageParser.g:10636:3: RULE_INT { before(grammarAccess.getBoundedMultiplicityAccess().getLowerBoundINTTerminalRuleCall_1_0()); match(input,RULE_INT,FOLLOW_2); @@ -26424,17 +32027,17 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR start "rule__BoundedMultiplicity__UpperBoundAssignment_3" - // InternalSolverLanguageParser.g:8748:1: rule__BoundedMultiplicity__UpperBoundAssignment_3 : ( ruleUpperMultiplicty ) ; + // InternalSolverLanguageParser.g:10645:1: rule__BoundedMultiplicity__UpperBoundAssignment_3 : ( ruleUpperMultiplicty ) ; public final void rule__BoundedMultiplicity__UpperBoundAssignment_3() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:8752:1: ( ( ruleUpperMultiplicty ) ) - // InternalSolverLanguageParser.g:8753:2: ( ruleUpperMultiplicty ) + // InternalSolverLanguageParser.g:10649:1: ( ( ruleUpperMultiplicty ) ) + // InternalSolverLanguageParser.g:10650:2: ( ruleUpperMultiplicty ) { - // InternalSolverLanguageParser.g:8753:2: ( ruleUpperMultiplicty ) - // InternalSolverLanguageParser.g:8754:3: ruleUpperMultiplicty + // InternalSolverLanguageParser.g:10650:2: ( ruleUpperMultiplicty ) + // InternalSolverLanguageParser.g:10651:3: ruleUpperMultiplicty { before(grammarAccess.getBoundedMultiplicityAccess().getUpperBoundUpperMultiplictyParserRuleCall_3_0()); pushFollow(FOLLOW_2); @@ -26465,21 +32068,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR start "rule__ExactScopeDefinition__TypeAssignment_1" - // InternalSolverLanguageParser.g:8763:1: rule__ExactScopeDefinition__TypeAssignment_1 : ( ( ruleQualifiedName ) ) ; + // InternalSolverLanguageParser.g:10660:1: rule__ExactScopeDefinition__TypeAssignment_1 : ( ( ruleQualifiedName ) ) ; public final void rule__ExactScopeDefinition__TypeAssignment_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:8767:1: ( ( ( ruleQualifiedName ) ) ) - // InternalSolverLanguageParser.g:8768:2: ( ( ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:10664:1: ( ( ( ruleQualifiedName ) ) ) + // InternalSolverLanguageParser.g:10665:2: ( ( ruleQualifiedName ) ) { - // InternalSolverLanguageParser.g:8768:2: ( ( ruleQualifiedName ) ) - // InternalSolverLanguageParser.g:8769:3: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:10665:2: ( ( ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:10666:3: ( ruleQualifiedName ) { before(grammarAccess.getExactScopeDefinitionAccess().getTypeNamedElementCrossReference_1_0()); - // InternalSolverLanguageParser.g:8770:3: ( ruleQualifiedName ) - // InternalSolverLanguageParser.g:8771:4: ruleQualifiedName + // InternalSolverLanguageParser.g:10667:3: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:10668:4: ruleQualifiedName { before(grammarAccess.getExactScopeDefinitionAccess().getTypeNamedElementQualifiedNameParserRuleCall_1_0_1()); pushFollow(FOLLOW_2); @@ -26514,17 +32117,17 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR start "rule__ExactScopeDefinition__ExactScopeAssignment_3" - // InternalSolverLanguageParser.g:8782:1: rule__ExactScopeDefinition__ExactScopeAssignment_3 : ( RULE_INT ) ; + // InternalSolverLanguageParser.g:10679:1: rule__ExactScopeDefinition__ExactScopeAssignment_3 : ( RULE_INT ) ; public final void rule__ExactScopeDefinition__ExactScopeAssignment_3() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:8786:1: ( ( RULE_INT ) ) - // InternalSolverLanguageParser.g:8787:2: ( RULE_INT ) + // InternalSolverLanguageParser.g:10683:1: ( ( RULE_INT ) ) + // InternalSolverLanguageParser.g:10684:2: ( RULE_INT ) { - // InternalSolverLanguageParser.g:8787:2: ( RULE_INT ) - // InternalSolverLanguageParser.g:8788:3: RULE_INT + // InternalSolverLanguageParser.g:10684:2: ( RULE_INT ) + // InternalSolverLanguageParser.g:10685:3: RULE_INT { before(grammarAccess.getExactScopeDefinitionAccess().getExactScopeINTTerminalRuleCall_3_0()); match(input,RULE_INT,FOLLOW_2); @@ -26551,17 +32154,17 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR start "rule__BoundedScopeDefinition__LowerBoundAssignment_1_0_0_0" - // InternalSolverLanguageParser.g:8797:1: rule__BoundedScopeDefinition__LowerBoundAssignment_1_0_0_0 : ( RULE_INT ) ; + // InternalSolverLanguageParser.g:10694:1: rule__BoundedScopeDefinition__LowerBoundAssignment_1_0_0_0 : ( RULE_INT ) ; public final void rule__BoundedScopeDefinition__LowerBoundAssignment_1_0_0_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:8801:1: ( ( RULE_INT ) ) - // InternalSolverLanguageParser.g:8802:2: ( RULE_INT ) + // InternalSolverLanguageParser.g:10698:1: ( ( RULE_INT ) ) + // InternalSolverLanguageParser.g:10699:2: ( RULE_INT ) { - // InternalSolverLanguageParser.g:8802:2: ( RULE_INT ) - // InternalSolverLanguageParser.g:8803:3: RULE_INT + // InternalSolverLanguageParser.g:10699:2: ( RULE_INT ) + // InternalSolverLanguageParser.g:10700:3: RULE_INT { before(grammarAccess.getBoundedScopeDefinitionAccess().getLowerBoundINTTerminalRuleCall_1_0_0_0_0()); match(input,RULE_INT,FOLLOW_2); @@ -26588,21 +32191,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR start "rule__BoundedScopeDefinition__TypeAssignment_1_0_1" - // InternalSolverLanguageParser.g:8812:1: rule__BoundedScopeDefinition__TypeAssignment_1_0_1 : ( ( ruleQualifiedName ) ) ; + // InternalSolverLanguageParser.g:10709:1: rule__BoundedScopeDefinition__TypeAssignment_1_0_1 : ( ( ruleQualifiedName ) ) ; public final void rule__BoundedScopeDefinition__TypeAssignment_1_0_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:8816:1: ( ( ( ruleQualifiedName ) ) ) - // InternalSolverLanguageParser.g:8817:2: ( ( ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:10713:1: ( ( ( ruleQualifiedName ) ) ) + // InternalSolverLanguageParser.g:10714:2: ( ( ruleQualifiedName ) ) { - // InternalSolverLanguageParser.g:8817:2: ( ( ruleQualifiedName ) ) - // InternalSolverLanguageParser.g:8818:3: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:10714:2: ( ( ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:10715:3: ( ruleQualifiedName ) { before(grammarAccess.getBoundedScopeDefinitionAccess().getTypeNamedElementCrossReference_1_0_1_0()); - // InternalSolverLanguageParser.g:8819:3: ( ruleQualifiedName ) - // InternalSolverLanguageParser.g:8820:4: ruleQualifiedName + // InternalSolverLanguageParser.g:10716:3: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:10717:4: ruleQualifiedName { before(grammarAccess.getBoundedScopeDefinitionAccess().getTypeNamedElementQualifiedNameParserRuleCall_1_0_1_0_1()); pushFollow(FOLLOW_2); @@ -26637,17 +32240,17 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR start "rule__BoundedScopeDefinition__UpperBoundAssignment_1_0_3" - // InternalSolverLanguageParser.g:8831:1: rule__BoundedScopeDefinition__UpperBoundAssignment_1_0_3 : ( RULE_INT ) ; + // InternalSolverLanguageParser.g:10728:1: rule__BoundedScopeDefinition__UpperBoundAssignment_1_0_3 : ( RULE_INT ) ; public final void rule__BoundedScopeDefinition__UpperBoundAssignment_1_0_3() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:8835:1: ( ( RULE_INT ) ) - // InternalSolverLanguageParser.g:8836:2: ( RULE_INT ) + // InternalSolverLanguageParser.g:10732:1: ( ( RULE_INT ) ) + // InternalSolverLanguageParser.g:10733:2: ( RULE_INT ) { - // InternalSolverLanguageParser.g:8836:2: ( RULE_INT ) - // InternalSolverLanguageParser.g:8837:3: RULE_INT + // InternalSolverLanguageParser.g:10733:2: ( RULE_INT ) + // InternalSolverLanguageParser.g:10734:3: RULE_INT { before(grammarAccess.getBoundedScopeDefinitionAccess().getUpperBoundINTTerminalRuleCall_1_0_3_0()); match(input,RULE_INT,FOLLOW_2); @@ -26674,17 +32277,17 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR start "rule__BoundedScopeDefinition__UpperBoundAssignment_1_1_0" - // InternalSolverLanguageParser.g:8846:1: rule__BoundedScopeDefinition__UpperBoundAssignment_1_1_0 : ( RULE_INT ) ; + // InternalSolverLanguageParser.g:10743:1: rule__BoundedScopeDefinition__UpperBoundAssignment_1_1_0 : ( RULE_INT ) ; public final void rule__BoundedScopeDefinition__UpperBoundAssignment_1_1_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:8850:1: ( ( RULE_INT ) ) - // InternalSolverLanguageParser.g:8851:2: ( RULE_INT ) + // InternalSolverLanguageParser.g:10747:1: ( ( RULE_INT ) ) + // InternalSolverLanguageParser.g:10748:2: ( RULE_INT ) { - // InternalSolverLanguageParser.g:8851:2: ( RULE_INT ) - // InternalSolverLanguageParser.g:8852:3: RULE_INT + // InternalSolverLanguageParser.g:10748:2: ( RULE_INT ) + // InternalSolverLanguageParser.g:10749:3: RULE_INT { before(grammarAccess.getBoundedScopeDefinitionAccess().getUpperBoundINTTerminalRuleCall_1_1_0_0()); match(input,RULE_INT,FOLLOW_2); @@ -26711,21 +32314,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR start "rule__BoundedScopeDefinition__TypeAssignment_1_1_2" - // InternalSolverLanguageParser.g:8861:1: rule__BoundedScopeDefinition__TypeAssignment_1_1_2 : ( ( ruleQualifiedName ) ) ; + // InternalSolverLanguageParser.g:10758:1: rule__BoundedScopeDefinition__TypeAssignment_1_1_2 : ( ( ruleQualifiedName ) ) ; public final void rule__BoundedScopeDefinition__TypeAssignment_1_1_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:8865:1: ( ( ( ruleQualifiedName ) ) ) - // InternalSolverLanguageParser.g:8866:2: ( ( ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:10762:1: ( ( ( ruleQualifiedName ) ) ) + // InternalSolverLanguageParser.g:10763:2: ( ( ruleQualifiedName ) ) { - // InternalSolverLanguageParser.g:8866:2: ( ( ruleQualifiedName ) ) - // InternalSolverLanguageParser.g:8867:3: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:10763:2: ( ( ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:10764:3: ( ruleQualifiedName ) { before(grammarAccess.getBoundedScopeDefinitionAccess().getTypeNamedElementCrossReference_1_1_2_0()); - // InternalSolverLanguageParser.g:8868:3: ( ruleQualifiedName ) - // InternalSolverLanguageParser.g:8869:4: ruleQualifiedName + // InternalSolverLanguageParser.g:10765:3: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:10766:4: ruleQualifiedName { before(grammarAccess.getBoundedScopeDefinitionAccess().getTypeNamedElementQualifiedNameParserRuleCall_1_1_2_0_1()); pushFollow(FOLLOW_2); @@ -26760,17 +32363,17 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR start "rule__BoundedScopeDefinition__LowerBoundAssignment_1_1_3_1" - // InternalSolverLanguageParser.g:8880:1: rule__BoundedScopeDefinition__LowerBoundAssignment_1_1_3_1 : ( RULE_INT ) ; + // InternalSolverLanguageParser.g:10777:1: rule__BoundedScopeDefinition__LowerBoundAssignment_1_1_3_1 : ( RULE_INT ) ; public final void rule__BoundedScopeDefinition__LowerBoundAssignment_1_1_3_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:8884:1: ( ( RULE_INT ) ) - // InternalSolverLanguageParser.g:8885:2: ( RULE_INT ) + // InternalSolverLanguageParser.g:10781:1: ( ( RULE_INT ) ) + // InternalSolverLanguageParser.g:10782:2: ( RULE_INT ) { - // InternalSolverLanguageParser.g:8885:2: ( RULE_INT ) - // InternalSolverLanguageParser.g:8886:3: RULE_INT + // InternalSolverLanguageParser.g:10782:2: ( RULE_INT ) + // InternalSolverLanguageParser.g:10783:3: RULE_INT { before(grammarAccess.getBoundedScopeDefinitionAccess().getLowerBoundINTTerminalRuleCall_1_1_3_1_0()); match(input,RULE_INT,FOLLOW_2); @@ -26797,17 +32400,17 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR start "rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_0_0" - // InternalSolverLanguageParser.g:8895:1: rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_0_0 : ( RULE_INT ) ; + // InternalSolverLanguageParser.g:10792:1: rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_0_0 : ( RULE_INT ) ; public final void rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_0_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:8899:1: ( ( RULE_INT ) ) - // InternalSolverLanguageParser.g:8900:2: ( RULE_INT ) + // InternalSolverLanguageParser.g:10796:1: ( ( RULE_INT ) ) + // InternalSolverLanguageParser.g:10797:2: ( RULE_INT ) { - // InternalSolverLanguageParser.g:8900:2: ( RULE_INT ) - // InternalSolverLanguageParser.g:8901:3: RULE_INT + // InternalSolverLanguageParser.g:10797:2: ( RULE_INT ) + // InternalSolverLanguageParser.g:10798:3: RULE_INT { before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getLowerBoundINTTerminalRuleCall_1_0_0_0()); match(input,RULE_INT,FOLLOW_2); @@ -26834,21 +32437,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR start "rule__LowerBoundedScopeDefinition__TypeAssignment_1_0_2" - // InternalSolverLanguageParser.g:8910:1: rule__LowerBoundedScopeDefinition__TypeAssignment_1_0_2 : ( ( ruleQualifiedName ) ) ; + // InternalSolverLanguageParser.g:10807:1: rule__LowerBoundedScopeDefinition__TypeAssignment_1_0_2 : ( ( ruleQualifiedName ) ) ; public final void rule__LowerBoundedScopeDefinition__TypeAssignment_1_0_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:8914:1: ( ( ( ruleQualifiedName ) ) ) - // InternalSolverLanguageParser.g:8915:2: ( ( ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:10811:1: ( ( ( ruleQualifiedName ) ) ) + // InternalSolverLanguageParser.g:10812:2: ( ( ruleQualifiedName ) ) { - // InternalSolverLanguageParser.g:8915:2: ( ( ruleQualifiedName ) ) - // InternalSolverLanguageParser.g:8916:3: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:10812:2: ( ( ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:10813:3: ( ruleQualifiedName ) { before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getTypeNamedElementCrossReference_1_0_2_0()); - // InternalSolverLanguageParser.g:8917:3: ( ruleQualifiedName ) - // InternalSolverLanguageParser.g:8918:4: ruleQualifiedName + // InternalSolverLanguageParser.g:10814:3: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:10815:4: ruleQualifiedName { before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getTypeNamedElementQualifiedNameParserRuleCall_1_0_2_0_1()); pushFollow(FOLLOW_2); @@ -26883,21 +32486,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR start "rule__LowerBoundedScopeDefinition__TypeAssignment_1_1_0" - // InternalSolverLanguageParser.g:8929:1: rule__LowerBoundedScopeDefinition__TypeAssignment_1_1_0 : ( ( ruleQualifiedName ) ) ; + // InternalSolverLanguageParser.g:10826:1: rule__LowerBoundedScopeDefinition__TypeAssignment_1_1_0 : ( ( ruleQualifiedName ) ) ; public final void rule__LowerBoundedScopeDefinition__TypeAssignment_1_1_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:8933:1: ( ( ( ruleQualifiedName ) ) ) - // InternalSolverLanguageParser.g:8934:2: ( ( ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:10830:1: ( ( ( ruleQualifiedName ) ) ) + // InternalSolverLanguageParser.g:10831:2: ( ( ruleQualifiedName ) ) { - // InternalSolverLanguageParser.g:8934:2: ( ( ruleQualifiedName ) ) - // InternalSolverLanguageParser.g:8935:3: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:10831:2: ( ( ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:10832:3: ( ruleQualifiedName ) { before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getTypeNamedElementCrossReference_1_1_0_0()); - // InternalSolverLanguageParser.g:8936:3: ( ruleQualifiedName ) - // InternalSolverLanguageParser.g:8937:4: ruleQualifiedName + // InternalSolverLanguageParser.g:10833:3: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:10834:4: ruleQualifiedName { before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getTypeNamedElementQualifiedNameParserRuleCall_1_1_0_0_1()); pushFollow(FOLLOW_2); @@ -26932,17 +32535,17 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR start "rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_1_2" - // InternalSolverLanguageParser.g:8948:1: rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_1_2 : ( RULE_INT ) ; + // InternalSolverLanguageParser.g:10845:1: rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_1_2 : ( RULE_INT ) ; public final void rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_1_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:8952:1: ( ( RULE_INT ) ) - // InternalSolverLanguageParser.g:8953:2: ( RULE_INT ) + // InternalSolverLanguageParser.g:10849:1: ( ( RULE_INT ) ) + // InternalSolverLanguageParser.g:10850:2: ( RULE_INT ) { - // InternalSolverLanguageParser.g:8953:2: ( RULE_INT ) - // InternalSolverLanguageParser.g:8954:3: RULE_INT + // InternalSolverLanguageParser.g:10850:2: ( RULE_INT ) + // InternalSolverLanguageParser.g:10851:3: RULE_INT { before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getLowerBoundINTTerminalRuleCall_1_1_2_0()); match(input,RULE_INT,FOLLOW_2); @@ -26969,17 +32572,17 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR start "rule__ObjectiveDefinition__KindAssignment_0" - // InternalSolverLanguageParser.g:8963:1: rule__ObjectiveDefinition__KindAssignment_0 : ( ruleObjectiveKind ) ; + // InternalSolverLanguageParser.g:10860:1: rule__ObjectiveDefinition__KindAssignment_0 : ( ruleObjectiveKind ) ; public final void rule__ObjectiveDefinition__KindAssignment_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:8967:1: ( ( ruleObjectiveKind ) ) - // InternalSolverLanguageParser.g:8968:2: ( ruleObjectiveKind ) + // InternalSolverLanguageParser.g:10864:1: ( ( ruleObjectiveKind ) ) + // InternalSolverLanguageParser.g:10865:2: ( ruleObjectiveKind ) { - // InternalSolverLanguageParser.g:8968:2: ( ruleObjectiveKind ) - // InternalSolverLanguageParser.g:8969:3: ruleObjectiveKind + // InternalSolverLanguageParser.g:10865:2: ( ruleObjectiveKind ) + // InternalSolverLanguageParser.g:10866:3: ruleObjectiveKind { before(grammarAccess.getObjectiveDefinitionAccess().getKindObjectiveKindEnumRuleCall_0_0()); pushFollow(FOLLOW_2); @@ -27010,17 +32613,17 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR start "rule__ObjectiveDefinition__ObjectiveAssignment_1" - // InternalSolverLanguageParser.g:8978:1: rule__ObjectiveDefinition__ObjectiveAssignment_1 : ( ruleExpression ) ; + // InternalSolverLanguageParser.g:10875:1: rule__ObjectiveDefinition__ObjectiveAssignment_1 : ( ruleExpression ) ; public final void rule__ObjectiveDefinition__ObjectiveAssignment_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:8982:1: ( ( ruleExpression ) ) - // InternalSolverLanguageParser.g:8983:2: ( ruleExpression ) + // InternalSolverLanguageParser.g:10879:1: ( ( ruleExpression ) ) + // InternalSolverLanguageParser.g:10880:2: ( ruleExpression ) { - // InternalSolverLanguageParser.g:8983:2: ( ruleExpression ) - // InternalSolverLanguageParser.g:8984:3: ruleExpression + // InternalSolverLanguageParser.g:10880:2: ( ruleExpression ) + // InternalSolverLanguageParser.g:10881:3: ruleExpression { before(grammarAccess.getObjectiveDefinitionAccess().getObjectiveExpressionParserRuleCall_1_0()); pushFollow(FOLLOW_2); @@ -27053,28 +32656,43 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP protected DFA2 dfa2 = new DFA2(this); + protected DFA8 dfa8 = new DFA8(this); protected DFA9 dfa9 = new DFA9(this); protected DFA11 dfa11 = new DFA11(this); protected DFA14 dfa14 = new DFA14(this); - static final String dfa_1s = "\15\uffff"; - static final String dfa_2s = "\1\5\1\uffff\1\5\2\uffff\1\36\7\uffff"; - static final String dfa_3s = "\1\123\1\uffff\1\122\2\uffff\1\122\7\uffff"; - static final String dfa_4s = "\1\uffff\1\1\1\uffff\1\2\1\4\1\uffff\1\6\1\10\1\11\1\12\1\3\1\5\1\7"; - static final String dfa_5s = "\15\uffff}>"; + static final String dfa_1s = "\33\uffff"; + static final String dfa_2s = "\1\4\1\uffff\2\40\1\4\2\uffff\1\7\3\uffff\1\105\2\uffff\2\54\1\uffff\1\40\1\105\1\uffff\3\54\1\105\2\uffff\1\54"; + static final String dfa_3s = "\1\106\1\uffff\3\105\2\uffff\1\105\3\uffff\1\105\2\uffff\2\105\1\uffff\2\105\1\uffff\2\74\2\105\2\uffff\1\74"; + static final String dfa_4s = "\1\uffff\1\1\3\uffff\1\2\1\4\1\uffff\1\12\1\13\1\14\1\uffff\1\5\1\3\2\uffff\1\11\2\uffff\1\6\4\uffff\1\10\1\7\1\uffff"; + static final String dfa_5s = "\33\uffff}>"; static final String[] dfa_6s = { - "\1\3\1\7\1\uffff\2\11\3\uffff\1\1\1\4\1\uffff\1\1\1\uffff\1\5\1\7\2\1\1\2\1\1\1\10\2\uffff\3\1\1\6\1\uffff\1\1\5\uffff\2\1\1\6\4\1\11\uffff\1\1\1\uffff\2\1\2\uffff\1\1\1\uffff\1\1\7\uffff\1\1\5\uffff\2\1\4\uffff\2\1", + "\1\5\1\10\2\uffff\2\12\1\uffff\1\1\1\6\1\uffff\2\1\1\7\1\1\1\10\2\1\1\4\1\1\1\11\1\uffff\1\1\1\uffff\1\1\1\uffff\3\1\11\uffff\1\1\1\uffff\2\1\2\uffff\1\1\1\uffff\1\1\7\uffff\1\1\5\uffff\1\1\1\3\4\uffff\1\2\1\1", "", - "\1\3\47\uffff\2\1\1\uffff\4\1\3\uffff\1\1\1\uffff\1\12\1\uffff\4\1\1\uffff\6\1\2\uffff\1\1\4\uffff\1\3\3\uffff\1\1\1\3", + "\2\1\1\uffff\6\1\1\uffff\1\1\1\uffff\1\1\1\uffff\4\1\1\13\7\1\1\uffff\2\1\3\uffff\1\14\1\uffff\3\1\1\14", + "\2\1\1\uffff\6\1\1\uffff\1\1\1\uffff\1\1\1\uffff\4\1\1\uffff\7\1\1\uffff\2\1\3\uffff\1\14\1\uffff\3\1\1\14", + "\1\5\33\uffff\2\1\1\uffff\6\1\1\uffff\1\1\1\uffff\1\15\1\uffff\4\1\1\uffff\6\1\2\uffff\1\1\4\uffff\1\5\3\uffff\1\1\1\5", "", "", - "\1\14\11\uffff\1\14\44\uffff\1\13\4\uffff\1\13", + "\1\20\70\uffff\1\17\4\uffff\1\16", "", "", "", + "\1\21", "", "", + "\1\23\5\uffff\1\22\15\uffff\1\25\4\uffff\1\24", + "\1\23\23\uffff\1\25\4\uffff\1\24", "", - "" + "\2\1\1\uffff\6\1\1\uffff\1\1\1\uffff\1\1\1\uffff\4\1\1\13\7\1\1\uffff\2\1\3\uffff\1\14\1\uffff\3\1\1\14", + "\1\26", + "", + "\1\31\5\uffff\1\27\11\uffff\1\30", + "\1\31\17\uffff\1\30", + "\1\23\5\uffff\1\22\15\uffff\1\25\4\uffff\1\24", + "\1\32", + "", + "", + "\1\31\5\uffff\1\27\11\uffff\1\30" }; static final short[] dfa_1 = DFA.unpackEncodedString(dfa_1s); @@ -27098,26 +32716,24 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP this.transition = dfa_6; } public String getDescription() { - return "1586:1: rule__Statement__Alternatives_0 : ( ( ruleAssertionOrDefinition ) | ( rulePredicateDefinition ) | ( ruleUnnamedErrorPrediateDefinition ) | ( ruleDefaultDefinition ) | ( ruleExternPredicateDefinition ) | ( ruleMetricDefinition ) | ( ruleExternMetricDefinition ) | ( ruleClassDefinition ) | ( ruleScopeDefinition ) | ( ruleObjectiveDefinition ) );"; + return "1773:1: rule__Statement__Alternatives_0 : ( ( ruleAssertionOrDefinition ) | ( rulePredicateDefinition ) | ( ruleUnnamedErrorPrediateDefinition ) | ( ruleDefaultDefinition ) | ( ruleMetricDefinition ) | ( ruleExternPredicateDefinition ) | ( ruleExternMetricDefinition ) | ( ruleExternAggregatorDefinition ) | ( ruleExternDatatypeDefinition ) | ( ruleClassDefinition ) | ( ruleScopeDefinition ) | ( ruleObjectiveDefinition ) );"; } } - static final String dfa_7s = "\12\uffff"; - static final String dfa_8s = "\1\uffff\2\7\6\uffff\1\7"; - static final String dfa_9s = "\1\20\2\32\3\uffff\1\122\2\uffff\1\32"; - static final String dfa_10s = "\1\123\2\121\3\uffff\1\122\2\uffff\1\121"; - static final String dfa_11s = "\3\uffff\1\3\1\4\1\5\1\uffff\1\1\1\2\1\uffff"; - static final String dfa_12s = "\12\uffff}>"; + static final String dfa_7s = "\10\uffff"; + static final String dfa_8s = "\1\uffff\2\3\4\uffff\1\3"; + static final String dfa_9s = "\1\16\2\30\2\uffff\1\105\1\uffff\1\30"; + static final String dfa_10s = "\1\106\2\104\2\uffff\1\105\1\uffff\1\104"; + static final String dfa_11s = "\3\uffff\1\1\1\2\1\uffff\1\3\1\uffff"; + static final String dfa_12s = "\10\uffff}>"; static final String[] dfa_13s = { - "\1\4\4\uffff\3\4\10\uffff\1\4\6\uffff\1\4\21\uffff\1\5\14\uffff\1\3\5\uffff\1\4\1\2\4\uffff\1\1\1\4", - "\1\7\4\uffff\1\7\15\uffff\7\7\3\uffff\1\7\1\uffff\1\10\5\7\1\6\6\7\1\uffff\2\7\1\uffff\2\7\3\uffff\2\10\1\7", - "\1\7\4\uffff\1\7\15\uffff\7\7\3\uffff\1\7\1\uffff\1\10\5\7\1\uffff\6\7\1\uffff\2\7\1\uffff\2\7\3\uffff\2\10\1\7", + "\1\3\1\4\1\uffff\1\4\1\uffff\1\4\3\3\4\uffff\1\3\1\uffff\1\3\16\uffff\1\3\14\uffff\1\3\5\uffff\1\3\1\2\4\uffff\1\1\1\3", + "\1\3\1\uffff\1\3\5\uffff\11\3\1\uffff\1\3\1\uffff\6\3\1\5\6\3\1\6\2\3\1\6\2\3\3\uffff\3\3", + "\1\3\1\uffff\1\3\5\uffff\11\3\1\uffff\1\3\1\uffff\6\3\1\uffff\6\3\1\6\2\3\1\6\2\3\3\uffff\3\3", "", "", + "\1\7", "", - "\1\11", - "", - "", - "\1\7\4\uffff\1\7\15\uffff\7\7\3\uffff\1\7\1\uffff\1\10\5\7\1\6\6\7\1\uffff\2\7\1\uffff\2\7\3\uffff\2\10\1\7" + "\1\3\1\uffff\1\3\5\uffff\11\3\1\uffff\1\3\1\uffff\6\3\1\5\6\3\1\6\2\3\1\6\2\3\3\uffff\3\3" }; static final short[] dfa_7 = DFA.unpackEncodedString(dfa_7s); @@ -27128,11 +32744,11 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP static final short[] dfa_12 = DFA.unpackEncodedString(dfa_12s); static final short[][] dfa_13 = unpackEncodedStringArray(dfa_13s); - class DFA9 extends DFA { + class DFA8 extends DFA { - public DFA9(BaseRecognizer recognizer) { + public DFA8(BaseRecognizer recognizer) { this.recognizer = recognizer; - this.decisionNumber = 9; + this.decisionNumber = 8; this.eot = dfa_7; this.eof = dfa_8; this.min = dfa_9; @@ -27142,156 +32758,207 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP this.transition = dfa_13; } public String getDescription() { - return "1793:1: rule__AtomicExpression__Alternatives : ( ( ruleReference ) | ( ruleCall ) | ( ruleInterval ) | ( ruleLiteral ) | ( ( rule__AtomicExpression__Group_4__0 ) ) );"; + return "1971:1: rule__AggregationExpression__Alternatives : ( ( ruleAtomicExpression ) | ( ruleQuantifiedExpression ) | ( ruleAggregation ) );"; + } + } + static final String dfa_14s = "\12\uffff"; + static final String dfa_15s = "\1\uffff\2\7\6\uffff\1\7"; + static final String dfa_16s = "\1\16\2\30\3\uffff\1\105\2\uffff\1\30"; + static final String dfa_17s = "\1\106\2\104\3\uffff\1\105\2\uffff\1\104"; + static final String dfa_18s = "\3\uffff\1\3\1\4\1\5\1\uffff\1\1\1\2\1\uffff"; + static final String dfa_19s = "\12\uffff}>"; + static final String[] dfa_20s = { + "\1\4\5\uffff\3\4\4\uffff\1\4\1\uffff\1\4\16\uffff\1\5\14\uffff\1\3\5\uffff\1\4\1\2\4\uffff\1\1\1\4", + "\1\7\1\uffff\1\7\5\uffff\11\7\1\uffff\1\7\1\uffff\1\10\5\7\1\6\6\7\1\uffff\2\7\1\uffff\2\7\3\uffff\2\10\1\7", + "\1\7\1\uffff\1\7\5\uffff\11\7\1\uffff\1\7\1\uffff\1\10\5\7\1\uffff\6\7\1\uffff\2\7\1\uffff\2\7\3\uffff\2\10\1\7", + "", + "", + "", + "\1\11", + "", + "", + "\1\7\1\uffff\1\7\5\uffff\11\7\1\uffff\1\7\1\uffff\1\10\5\7\1\6\6\7\1\uffff\2\7\1\uffff\2\7\3\uffff\2\10\1\7" + }; + + static final short[] dfa_14 = DFA.unpackEncodedString(dfa_14s); + static final short[] dfa_15 = DFA.unpackEncodedString(dfa_15s); + static final char[] dfa_16 = DFA.unpackEncodedStringToUnsignedChars(dfa_16s); + static final char[] dfa_17 = DFA.unpackEncodedStringToUnsignedChars(dfa_17s); + static final short[] dfa_18 = DFA.unpackEncodedString(dfa_18s); + static final short[] dfa_19 = DFA.unpackEncodedString(dfa_19s); + static final short[][] dfa_20 = unpackEncodedStringArray(dfa_20s); + + class DFA9 extends DFA { + + public DFA9(BaseRecognizer recognizer) { + this.recognizer = recognizer; + this.decisionNumber = 9; + this.eot = dfa_14; + this.eof = dfa_15; + this.min = dfa_16; + this.max = dfa_17; + this.accept = dfa_18; + this.special = dfa_19; + this.transition = dfa_20; + } + public String getDescription() { + return "1998:1: rule__AtomicExpression__Alternatives : ( ( ruleReference ) | ( ruleCall ) | ( ruleInterval ) | ( ruleLiteral ) | ( ( rule__AtomicExpression__Group_4__0 ) ) );"; } } - static final String dfa_14s = "\1\uffff\2\3\3\uffff\1\11\1\uffff\1\3\1\uffff"; - static final String dfa_15s = "\1\15\2\55\2\uffff\1\122\1\15\1\uffff\1\55\1\uffff"; - static final String dfa_16s = "\1\123\2\122\2\uffff\1\122\1\123\1\uffff\1\122\1\uffff"; - static final String dfa_17s = "\3\uffff\1\1\1\2\2\uffff\1\3\1\uffff\1\4"; - static final String[] dfa_18s = { - "\1\3\2\uffff\1\3\3\uffff\4\3\3\uffff\3\3\2\uffff\1\3\5\uffff\2\3\1\uffff\4\3\13\uffff\2\3\1\uffff\1\4\1\3\1\uffff\1\3\7\uffff\1\3\5\uffff\1\3\1\2\4\uffff\1\1\1\3", - "\1\3\3\uffff\3\3\3\uffff\1\3\1\uffff\2\3\1\6\3\3\1\5\1\3\2\uffff\1\3\1\uffff\1\3\2\uffff\1\3\4\uffff\1\7\1\uffff\2\3\1\uffff\1\7", - "\1\3\3\uffff\3\3\3\uffff\1\3\1\uffff\2\3\1\6\3\3\1\uffff\1\3\2\uffff\1\3\1\uffff\1\3\2\uffff\1\3\4\uffff\1\7\1\uffff\2\3\1\uffff\1\7", + static final String dfa_21s = "\1\uffff\2\3\4\uffff\1\11\1\3\1\uffff"; + static final String dfa_22s = "\1\13\2\40\2\uffff\1\105\1\uffff\1\13\1\40\1\uffff"; + static final String dfa_23s = "\1\106\2\105\2\uffff\1\105\1\uffff\1\106\1\105\1\uffff"; + static final String dfa_24s = "\3\uffff\1\1\1\2\1\uffff\1\3\2\uffff\1\4"; + static final String[] dfa_25s = { + "\1\3\2\uffff\2\3\1\uffff\1\3\1\uffff\4\3\2\uffff\1\3\1\uffff\1\3\1\uffff\1\3\1\uffff\1\3\13\uffff\2\3\1\uffff\1\4\1\3\1\uffff\1\3\7\uffff\1\3\5\uffff\1\3\1\2\4\uffff\1\1\1\3", + "\1\3\3\uffff\2\3\1\uffff\2\3\1\uffff\1\3\1\uffff\2\3\1\7\3\3\1\5\1\3\2\uffff\1\3\1\uffff\2\3\1\uffff\2\3\3\uffff\1\6\1\uffff\2\3\1\uffff\1\6", + "\1\3\3\uffff\2\3\1\uffff\2\3\1\uffff\1\3\1\uffff\2\3\1\7\3\3\1\uffff\1\3\2\uffff\1\3\1\uffff\2\3\1\uffff\2\3\3\uffff\1\6\1\uffff\2\3\1\uffff\1\6", "", "", "\1\10", - "\1\3\2\uffff\1\3\3\uffff\4\3\3\uffff\3\3\2\uffff\1\3\5\uffff\2\3\1\uffff\4\3\13\uffff\2\3\1\11\1\uffff\1\3\1\11\1\3\7\uffff\1\3\5\uffff\2\3\4\uffff\2\3", "", - "\1\3\3\uffff\3\3\3\uffff\1\3\1\uffff\2\3\1\6\3\3\1\5\1\3\2\uffff\1\3\1\uffff\1\3\2\uffff\1\3\4\uffff\1\7\1\uffff\2\3\1\uffff\1\7", + "\1\3\2\uffff\2\3\1\uffff\1\3\1\uffff\4\3\2\uffff\1\3\1\uffff\1\3\1\uffff\1\3\1\uffff\1\3\13\uffff\2\3\1\11\1\uffff\1\3\1\11\1\3\7\uffff\1\3\5\uffff\2\3\4\uffff\2\3", + "\1\3\3\uffff\2\3\1\uffff\2\3\1\uffff\1\3\1\uffff\2\3\1\7\3\3\1\5\1\3\2\uffff\1\3\1\uffff\2\3\1\uffff\2\3\3\uffff\1\6\1\uffff\2\3\1\uffff\1\6", "" }; - static final short[] dfa_14 = DFA.unpackEncodedString(dfa_14s); - static final char[] dfa_15 = DFA.unpackEncodedStringToUnsignedChars(dfa_15s); - static final char[] dfa_16 = DFA.unpackEncodedStringToUnsignedChars(dfa_16s); - static final short[] dfa_17 = DFA.unpackEncodedString(dfa_17s); - static final short[][] dfa_18 = unpackEncodedStringArray(dfa_18s); + static final short[] dfa_21 = DFA.unpackEncodedString(dfa_21s); + static final char[] dfa_22 = DFA.unpackEncodedStringToUnsignedChars(dfa_22s); + static final char[] dfa_23 = DFA.unpackEncodedStringToUnsignedChars(dfa_23s); + static final short[] dfa_24 = DFA.unpackEncodedString(dfa_24s); + static final short[][] dfa_25 = unpackEncodedStringArray(dfa_25s); class DFA11 extends DFA { public DFA11(BaseRecognizer recognizer) { this.recognizer = recognizer; this.decisionNumber = 11; - this.eot = dfa_7; - this.eof = dfa_14; - this.min = dfa_15; - this.max = dfa_16; - this.accept = dfa_17; - this.special = dfa_12; - this.transition = dfa_18; + this.eot = dfa_14; + this.eof = dfa_21; + this.min = dfa_22; + this.max = dfa_23; + this.accept = dfa_24; + this.special = dfa_19; + this.transition = dfa_25; } public String getDescription() { - return "1853:1: rule__Argument__Alternatives : ( ( ruleExpressionArgument ) | ( ruleStarArgument ) | ( ruleTypedArgument ) | ( ruleTypedStarArgument ) );"; + return "2058:1: rule__Argument__Alternatives : ( ( ruleExpressionArgument ) | ( ruleStarArgument ) | ( ruleTypedArgument ) | ( ruleTypedStarArgument ) );"; } } - static final String dfa_19s = "\17\uffff"; - static final String dfa_20s = "\13\uffff\2\7\1\uffff\1\7"; - static final String dfa_21s = "\1\30\1\115\3\61\1\122\3\uffff\1\115\3\61\1\122\1\61"; - static final String dfa_22s = "\1\30\1\123\1\77\2\63\1\122\3\uffff\1\122\1\77\2\121\1\122\1\121"; - static final String dfa_23s = "\6\uffff\1\2\1\3\1\1\6\uffff"; - static final String dfa_24s = "\17\uffff}>"; - static final String[] dfa_25s = { + static final String dfa_26s = "\17\uffff"; + static final String dfa_27s = "\13\uffff\2\6\1\uffff\1\6"; + static final String dfa_28s = "\1\27\1\100\3\44\1\105\3\uffff\1\100\3\44\1\105\1\44"; + static final String dfa_29s = "\1\27\1\106\1\62\2\47\1\105\3\uffff\1\105\1\62\2\104\1\105\1\104"; + static final String dfa_30s = "\6\uffff\1\3\1\2\1\1\6\uffff"; + static final String dfa_31s = "\17\uffff}>"; + static final String[] dfa_32s = { "\1\1", "\1\3\4\uffff\1\2\1\4", - "\1\6\1\10\1\7\13\uffff\1\5", - "\1\6\1\10\1\7", - "\1\11\1\uffff\1\6", + "\1\7\1\10\1\uffff\1\6\12\uffff\1\5", + "\1\7\1\10\1\uffff\1\6", + "\1\11\2\uffff\1\7", "\1\12", "", "", "", "\1\14\4\uffff\1\13", - "\1\6\1\10\1\7\13\uffff\1\5", - "\1\6\15\uffff\1\15\21\uffff\1\7", - "\1\6\37\uffff\1\7", + "\1\7\1\10\1\uffff\1\6\12\uffff\1\5", + "\1\7\15\uffff\1\15\21\uffff\1\6", + "\1\7\37\uffff\1\6", "\1\16", - "\1\6\15\uffff\1\15\21\uffff\1\7" + "\1\7\15\uffff\1\15\21\uffff\1\6" }; - static final short[] dfa_19 = DFA.unpackEncodedString(dfa_19s); - static final short[] dfa_20 = DFA.unpackEncodedString(dfa_20s); - static final char[] dfa_21 = DFA.unpackEncodedStringToUnsignedChars(dfa_21s); - static final char[] dfa_22 = DFA.unpackEncodedStringToUnsignedChars(dfa_22s); - static final short[] dfa_23 = DFA.unpackEncodedString(dfa_23s); - static final short[] dfa_24 = DFA.unpackEncodedString(dfa_24s); - static final short[][] dfa_25 = unpackEncodedStringArray(dfa_25s); + static final short[] dfa_26 = DFA.unpackEncodedString(dfa_26s); + static final short[] dfa_27 = DFA.unpackEncodedString(dfa_27s); + static final char[] dfa_28 = DFA.unpackEncodedStringToUnsignedChars(dfa_28s); + static final char[] dfa_29 = DFA.unpackEncodedStringToUnsignedChars(dfa_29s); + static final short[] dfa_30 = DFA.unpackEncodedString(dfa_30s); + static final short[] dfa_31 = DFA.unpackEncodedString(dfa_31s); + static final short[][] dfa_32 = unpackEncodedStringArray(dfa_32s); class DFA14 extends DFA { public DFA14(BaseRecognizer recognizer) { this.recognizer = recognizer; this.decisionNumber = 14; - this.eot = dfa_19; - this.eof = dfa_20; - this.min = dfa_21; - this.max = dfa_22; - this.accept = dfa_23; - this.special = dfa_24; - this.transition = dfa_25; + this.eot = dfa_26; + this.eof = dfa_27; + this.min = dfa_28; + this.max = dfa_29; + this.accept = dfa_30; + this.special = dfa_31; + this.transition = dfa_32; } public String getDescription() { - return "1952:1: rule__ScopeDefinition__Alternatives : ( ( ruleExactScopeDefinition ) | ( ruleBoundedScopeDefinition ) | ( ruleLowerBoundedScopeDefinition ) );"; + return "2157:1: rule__ScopeDefinition__Alternatives : ( ( ruleExactScopeDefinition ) | ( ruleBoundedScopeDefinition ) | ( ruleLowerBoundedScopeDefinition ) );"; } } 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[]{0x53401FC179FD6362L,0x00000000000C3040L}); - public static final BitSet FOLLOW_4 = new BitSet(new long[]{0x0000000000000000L,0x0000000000020000L}); - public static final BitSet FOLLOW_5 = new BitSet(new long[]{0x0001000000000000L,0x0000000000000012L}); - public static final BitSet FOLLOW_6 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000002L}); - public static final BitSet FOLLOW_7 = new BitSet(new long[]{0x53401EC138F12000L,0x00000000000C3040L}); - public static final BitSet FOLLOW_8 = new BitSet(new long[]{0x0001000000000000L}); - public static final BitSet FOLLOW_9 = new BitSet(new long[]{0x0000000000000000L,0x0000000000042000L}); - public static final BitSet FOLLOW_10 = new BitSet(new long[]{0x0000000000400000L}); - public static final BitSet FOLLOW_11 = new BitSet(new long[]{0x0000000000000020L}); - public static final BitSet FOLLOW_12 = new BitSet(new long[]{0x0200000000000000L}); - public static final BitSet FOLLOW_13 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000010L}); - public static final BitSet FOLLOW_14 = new BitSet(new long[]{0x0000010040000000L}); - public static final BitSet FOLLOW_15 = new BitSet(new long[]{0x0000000080000000L}); - public static final BitSet FOLLOW_16 = new BitSet(new long[]{0x0000000004000000L}); - public static final BitSet FOLLOW_17 = new BitSet(new long[]{0x0000400000000000L,0x0000000000000004L}); - public static final BitSet FOLLOW_18 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000004L}); - public static final BitSet FOLLOW_19 = new BitSet(new long[]{0x0000000000000002L,0x0000000000000004L}); - public static final BitSet FOLLOW_20 = new BitSet(new long[]{0x0000400000000000L}); - public static final BitSet FOLLOW_21 = new BitSet(new long[]{0x2000000000000000L}); - public static final BitSet FOLLOW_22 = new BitSet(new long[]{0x2000000000000002L}); - public static final BitSet FOLLOW_23 = new BitSet(new long[]{0x008E200000000000L,0x0000000000000028L}); - public static final BitSet FOLLOW_24 = new BitSet(new long[]{0x5000000000000000L}); - public static final BitSet FOLLOW_25 = new BitSet(new long[]{0x5000000000000002L}); - public static final BitSet FOLLOW_26 = new BitSet(new long[]{0x0800000000000000L,0x0000000000000001L}); - public static final BitSet FOLLOW_27 = new BitSet(new long[]{0x0800000000000002L,0x0000000000000001L}); - public static final BitSet FOLLOW_28 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000100L}); - public static final BitSet FOLLOW_29 = new BitSet(new long[]{0x02001AC130F10000L,0x00000000000C3040L}); - public static final BitSet FOLLOW_30 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000200L}); - public static final BitSet FOLLOW_31 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000800L}); - public static final BitSet FOLLOW_32 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000400L}); - public static final BitSet FOLLOW_33 = new BitSet(new long[]{0x0400000000000000L}); - public static final BitSet FOLLOW_34 = new BitSet(new long[]{0x0200000000000000L,0x0000000000018000L}); - public static final BitSet FOLLOW_35 = new BitSet(new long[]{0x5F401EC138F12000L,0x00000000000C3040L}); - public static final BitSet FOLLOW_36 = new BitSet(new long[]{0x5B401EC138F12000L,0x00000000000C3040L}); - public static final BitSet FOLLOW_37 = new BitSet(new long[]{0x0800000000000000L}); - public static final BitSet FOLLOW_38 = new BitSet(new long[]{0x0000800000000000L}); - public static final BitSet FOLLOW_39 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000080L}); - public static final BitSet FOLLOW_40 = new BitSet(new long[]{0x0000008000000000L}); - public static final BitSet FOLLOW_41 = new BitSet(new long[]{0x0000000000200000L}); - public static final BitSet FOLLOW_42 = new BitSet(new long[]{0x0000000000080040L}); - public static final BitSet FOLLOW_43 = new BitSet(new long[]{0x0000000000000000L,0x0000000000040000L}); - public static final BitSet FOLLOW_44 = new BitSet(new long[]{0x0000000000008000L,0x0000000000000200L}); - public static final BitSet FOLLOW_45 = new BitSet(new long[]{0x0000000000000080L,0x0000000000042800L}); - public static final BitSet FOLLOW_46 = new BitSet(new long[]{0x0000000000000082L,0x0000000000042000L}); - public static final BitSet FOLLOW_47 = new BitSet(new long[]{0x0000000000000080L,0x0000000000042000L}); - public static final BitSet FOLLOW_48 = new BitSet(new long[]{0x0000000000000000L,0x0000000000040040L}); - public static final BitSet FOLLOW_49 = new BitSet(new long[]{0x0000000000000400L,0x0000000000000004L}); - public static final BitSet FOLLOW_50 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000040L}); - public static final BitSet FOLLOW_51 = new BitSet(new long[]{0x0800000000000000L,0x0000000000080000L}); - public static final BitSet FOLLOW_52 = new BitSet(new long[]{0x0000000000000000L,0x0000000000080000L}); - public static final BitSet FOLLOW_53 = new BitSet(new long[]{0x0004000000000000L}); - public static final BitSet FOLLOW_54 = new BitSet(new long[]{0x0000000000000000L,0x00000000000C2000L}); - public static final BitSet FOLLOW_55 = new BitSet(new long[]{0x0002000000000000L}); - public static final BitSet FOLLOW_56 = new BitSet(new long[]{0x0008000000000000L}); - public static final BitSet FOLLOW_57 = new BitSet(new long[]{0x8000000000000000L}); - public static final BitSet FOLLOW_58 = new BitSet(new long[]{0x8000000000000002L}); + public static final BitSet FOLLOW_3 = new BitSet(new long[]{0x82029A00EAFFDB32L,0x0000000000000061L}); + public static final BitSet FOLLOW_4 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000010L}); + public static final BitSet FOLLOW_5 = new BitSet(new long[]{0x0090000800000000L}); + public static final BitSet FOLLOW_6 = new BitSet(new long[]{0x0010000000000000L}); + public static final BitSet FOLLOW_7 = new BitSet(new long[]{0x82029A00EA7AC800L,0x0000000000000061L}); + public static final BitSet FOLLOW_8 = new BitSet(new long[]{0x0000000800000000L}); + public static final BitSet FOLLOW_9 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000021L}); + public static final BitSet FOLLOW_10 = new BitSet(new long[]{0x0000000000200000L}); + public static final BitSet FOLLOW_11 = new BitSet(new long[]{0x0000000000000010L}); + public static final BitSet FOLLOW_12 = new BitSet(new long[]{0x0000100000000000L}); + public static final BitSet FOLLOW_13 = new BitSet(new long[]{0x0080000000000000L}); + public static final BitSet FOLLOW_14 = new BitSet(new long[]{0x1000000000000000L}); + public static final BitSet FOLLOW_15 = new BitSet(new long[]{0x0000000010000000L}); + public static final BitSet FOLLOW_16 = new BitSet(new long[]{0x4000000000000000L}); + public static final BitSet FOLLOW_17 = new BitSet(new long[]{0x0000000000000080L}); + public static final BitSet FOLLOW_18 = new BitSet(new long[]{0x0000000000002000L}); + public static final BitSet FOLLOW_19 = new BitSet(new long[]{0x0001000000000000L}); + public static final BitSet FOLLOW_20 = new BitSet(new long[]{0x0001000000000002L}); + public static final BitSet FOLLOW_21 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000020L}); + public static final BitSet FOLLOW_22 = new BitSet(new long[]{0x0000000004000000L}); + public static final BitSet FOLLOW_23 = new BitSet(new long[]{0x0000000001000000L}); + public static final BitSet FOLLOW_24 = new BitSet(new long[]{0x0001040000000000L}); + public static final BitSet FOLLOW_25 = new BitSet(new long[]{0x0000004000000000L}); + public static final BitSet FOLLOW_26 = new BitSet(new long[]{0x0020000200000000L}); + public static final BitSet FOLLOW_27 = new BitSet(new long[]{0x0020000000000000L}); + public static final BitSet FOLLOW_28 = new BitSet(new long[]{0x0020000000000002L}); + public static final BitSet FOLLOW_29 = new BitSet(new long[]{0x0000000200000000L}); + public static final BitSet FOLLOW_30 = new BitSet(new long[]{0x014004B100000000L}); + public static final BitSet FOLLOW_31 = new BitSet(new long[]{0x0002800000000000L}); + public static final BitSet FOLLOW_32 = new BitSet(new long[]{0x0002800000000002L}); + public static final BitSet FOLLOW_33 = new BitSet(new long[]{0x0008400000000000L}); + public static final BitSet FOLLOW_34 = new BitSet(new long[]{0x0008400000000002L}); + public static final BitSet FOLLOW_35 = new BitSet(new long[]{0x0800000000000000L}); + public static final BitSet FOLLOW_36 = new BitSet(new long[]{0x0000010000000000L}); + public static final BitSet FOLLOW_37 = new BitSet(new long[]{0x82001000287AC000L,0x0000000000000061L}); + public static final BitSet FOLLOW_38 = new BitSet(new long[]{0x0200000000000000L}); + public static final BitSet FOLLOW_39 = new BitSet(new long[]{0x0400000000000000L,0x0000000000000021L}); + public static final BitSet FOLLOW_40 = new BitSet(new long[]{0x1200000000000000L}); + public static final BitSet FOLLOW_41 = new BitSet(new long[]{0x6000000000000000L}); + public static final BitSet FOLLOW_42 = new BitSet(new long[]{0x0000200000000000L}); + public static final BitSet FOLLOW_43 = new BitSet(new long[]{0x0000100000000000L,0x000000000000000CL}); + public static final BitSet FOLLOW_44 = new BitSet(new long[]{0x8202FA00EA7AC800L,0x0000000000000061L}); + public static final BitSet FOLLOW_45 = new BitSet(new long[]{0x8202DA00EA7AC800L,0x0000000000000061L}); + public static final BitSet FOLLOW_46 = new BitSet(new long[]{0x0000400000000000L}); + public static final BitSet FOLLOW_47 = new BitSet(new long[]{0x0000000400000000L}); + public static final BitSet FOLLOW_48 = new BitSet(new long[]{0x0400000000000000L}); + public static final BitSet FOLLOW_49 = new BitSet(new long[]{0x0000000020000000L}); + public static final BitSet FOLLOW_50 = new BitSet(new long[]{0x0000000000100000L}); + public static final BitSet FOLLOW_51 = new BitSet(new long[]{0x0000000000040020L}); + public static final BitSet FOLLOW_52 = new BitSet(new long[]{0x1000000000002000L}); + public static final BitSet FOLLOW_53 = new BitSet(new long[]{0x4000000000000040L,0x0000000000000021L}); + public static final BitSet FOLLOW_54 = new BitSet(new long[]{0x0000000000000042L,0x0000000000000021L}); + public static final BitSet FOLLOW_55 = new BitSet(new long[]{0x0000000000000040L,0x0000000000000021L}); + public static final BitSet FOLLOW_56 = new BitSet(new long[]{0x0200000000000000L,0x0000000000000020L}); + public static final BitSet FOLLOW_57 = new BitSet(new long[]{0x0020000000000400L}); + public static final BitSet FOLLOW_58 = new BitSet(new long[]{0x0000400000000000L,0x0000000000000040L}); + public static final BitSet FOLLOW_59 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000040L}); + public static final BitSet FOLLOW_60 = new BitSet(new long[]{0x0000002000000000L}); + public static final BitSet FOLLOW_61 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000061L}); + public static final BitSet FOLLOW_62 = new BitSet(new long[]{0x0000001000000000L}); + public static final BitSet FOLLOW_63 = new BitSet(new long[]{0x0000008000000000L}); + public static final BitSet FOLLOW_64 = new BitSet(new long[]{0x0004000000000000L}); + public static final BitSet FOLLOW_65 = new BitSet(new long[]{0x0004000000000002L}); } \ No newline at end of file diff --git a/Application/org.eclipse.viatra.solver.language.ide/src-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/internal/InternalSolverLanguageParser.tokens b/Application/org.eclipse.viatra.solver.language.ide/src-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/internal/InternalSolverLanguageParser.tokens index 81343db5..736b2f0a 100644 --- a/Application/org.eclipse.viatra.solver.language.ide/src-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/internal/InternalSolverLanguageParser.tokens +++ b/Application/org.eclipse.viatra.solver.language.ide/src-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/internal/InternalSolverLanguageParser.tokens @@ -1,83 +1,70 @@ -'!'=56 -'!='=45 -'('=57 -')'=58 -'*'=59 -'+'=60 -','=61 -'-'=62 -'->'=46 -'.'=63 -'..'=47 -'/'=64 -':'=65 -':-'=48 -';'=66 -'<'=67 -'<='=49 -'='=68 -'=='=50 -'>'=69 -'>='=51 -'ADD'=33 -'DIV'=34 -'EQ'=52 -'GREATER'=11 -'GREATER_EQ'=4 -'IN'=53 -'LESS'=25 -'LESS_EQ'=12 -'MUL'=35 -'NOT_EQ'=17 -'POW'=36 -'SUB'=37 -'['=70 -']'=71 -'^'=72 -'abstract'=6 -'avg'=38 -'class'=19 -'contains'=7 -'count'=20 -'current'=13 -'default'=14 -'else'=26 -'empty'=21 -'error'=22 -'extends'=15 -'extern'=18 -'false'=23 -'functional'=5 -'if'=54 -'in'=55 -'inf'=39 -'int'=40 -'max'=41 +'!'=43 +'!='=32 +'('=44 +')'=45 +'*'=46 +'+'=47 +','=48 +'-'=49 +'->'=33 +'.'=50 +'..'=34 +'...'=28 +'/'=51 +':'=52 +':-'=35 +';'=53 +'<'=54 +'<='=36 +'='=55 +'=='=37 +'=>'=38 +'>'=56 +'>='=39 +'['=57 +']'=58 +'^'=59 +'abstract'=5 +'as'=40 +'class'=18 +'contains'=6 +'count'=19 +'current'=11 +'datatype'=7 +'default'=12 +'else'=24 +'empty'=20 +'error'=21 +'exists'=15 +'extends'=13 +'extern'=16 +'false'=22 +'forall'=17 +'functional'=4 +'if'=41 +'in'=42 +'inf'=29 +'let'=30 'maximize'=8 -'may'=42 -'min'=43 +'may'=31 'minimize'=9 -'must'=27 -'only'=28 +'must'=25 'opposite'=10 -'prod'=29 -'real'=30 -'scope'=24 -'sum'=44 -'then'=31 -'true'=32 -'unknown'=16 -'{'=73 -'|'=74 -'}'=75 -RULE_ANY_OTHER=86 -RULE_FULL_STOP=81 -RULE_ID=82 -RULE_INT=83 -RULE_ML_COMMENT=84 -RULE_QUOTED_ID=77 -RULE_REFLEXIVE_TRANSITIVE_CLOSURE=80 -RULE_SL_COMMENT=78 -RULE_STRING=76 -RULE_TRANSITIVE_CLOSURE=79 -RULE_WS=85 +'scope'=23 +'then'=26 +'true'=27 +'unknown'=14 +'{'=60 +'|'=61 +'}'=62 +RULE_ANY_OTHER=73 +RULE_FULL_STOP=68 +RULE_ID=69 +RULE_INT=70 +RULE_ML_COMMENT=71 +RULE_QUOTED_ID=64 +RULE_REFLEXIVE_TRANSITIVE_CLOSURE=67 +RULE_SL_COMMENT=65 +RULE_STRING=63 +RULE_TRANSITIVE_CLOSURE=66 +RULE_WS=72 diff --git a/Application/org.eclipse.viatra.solver.language.ide/src-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/lexer/InternalSolverLanguageLexer.g b/Application/org.eclipse.viatra.solver.language.ide/src-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/lexer/InternalSolverLanguageLexer.g index 309435e3..77e9557a 100644 --- a/Application/org.eclipse.viatra.solver.language.ide/src-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/lexer/InternalSolverLanguageLexer.g +++ b/Application/org.eclipse.viatra.solver.language.ide/src-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/lexer/InternalSolverLanguageLexer.g @@ -11,24 +11,20 @@ package org.eclipse.viatra.solver.language.ide.contentassist.antlr.lexer; import org.eclipse.xtext.ide.editor.contentassist.antlr.internal.Lexer; } -GREATER_EQ : 'GREATER_EQ'; - Functional : 'functional'; Abstract : 'abstract'; Contains : 'contains'; +Datatype : 'datatype'; + Maximize : 'maximize'; Minimize : 'minimize'; Opposite : 'opposite'; -GREATER : 'GREATER'; - -LESS_EQ : 'LESS_EQ'; - Current : 'current'; Default : 'default'; @@ -37,10 +33,12 @@ Extends : 'extends'; Unknown : 'unknown'; -NOT_EQ : 'NOT_EQ'; +Exists : 'exists'; Extern : 'extern'; +Forall : 'forall'; + Class : 'class'; Count : 'count'; @@ -53,46 +51,22 @@ False : 'false'; Scope : 'scope'; -LESS : 'LESS'; - Else : 'else'; Must : 'must'; -Only : 'only'; - -Prod : 'prod'; - -Real : 'real'; - Then : 'then'; True : 'true'; -ADD : 'ADD'; - -DIV : 'DIV'; - -MUL : 'MUL'; - -POW : 'POW'; - -SUB : 'SUB'; - -Avg : 'avg'; +FullStopFullStopFullStop : '...'; Inf : 'inf'; -Int : 'int'; - -Max : 'max'; +Let : 'let'; May : 'may'; -Min : 'min'; - -Sum : 'sum'; - ExclamationMarkEqualsSign : '!='; HyphenMinusGreaterThanSign : '->'; @@ -105,11 +79,11 @@ LessThanSignEqualsSign : '<='; EqualsSignEqualsSign : '=='; -GreaterThanSignEqualsSign : '>='; +EqualsSignGreaterThanSign : '=>'; -EQ : 'EQ'; +GreaterThanSignEqualsSign : '>='; -IN : 'IN'; +As : 'as'; If : 'if'; diff --git a/Application/org.eclipse.viatra.solver.language.ide/src-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/lexer/InternalSolverLanguageLexer.java b/Application/org.eclipse.viatra.solver.language.ide/src-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/lexer/InternalSolverLanguageLexer.java index 86514bf5..541338df 100644 --- a/Application/org.eclipse.viatra.solver.language.ide/src-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/lexer/InternalSolverLanguageLexer.java +++ b/Application/org.eclipse.viatra.solver.language.ide/src-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/lexer/InternalSolverLanguageLexer.java @@ -12,90 +12,77 @@ import java.util.ArrayList; @SuppressWarnings("all") public class InternalSolverLanguageLexer extends Lexer { - public static final int ADD=33; - public static final int True=32; - public static final int GREATER_EQ=4; - public static final int Count=20; - public static final int False=23; - public static final int Must=27; - public static final int LessThanSign=67; - public static final int LeftParenthesis=57; - public static final int Unknown=16; - public static final int RULE_REFLEXIVE_TRANSITIVE_CLOSURE=80; - public static final int FullStopFullStop=47; - public static final int Real=30; - public static final int Then=31; - public static final int Extends=15; - public static final int RightSquareBracket=71; - public static final int ExclamationMark=56; + public static final int EqualsSignGreaterThanSign=38; + public static final int True=27; + public static final int Count=19; + public static final int False=22; + public static final int Must=25; + public static final int FullStopFullStopFullStop=28; + public static final int LessThanSign=54; + public static final int Datatype=7; + public static final int LeftParenthesis=44; + public static final int Unknown=14; + public static final int RULE_REFLEXIVE_TRANSITIVE_CLOSURE=67; + public static final int FullStopFullStop=34; + public static final int Then=26; + public static final int Extends=13; + public static final int Forall=17; + public static final int RightSquareBracket=58; + public static final int ExclamationMark=43; public static final int Opposite=10; - public static final int SUB=37; - public static final int GreaterThanSign=69; - public static final int NOT_EQ=17; - public static final int RULE_ID=82; - public static final int MUL=35; - public static final int IN=53; - public static final int RULE_QUOTED_ID=77; - public static final int RightParenthesis=58; - public static final int Sum=44; - public static final int EQ=52; - public static final int GreaterThanSignEqualsSign=51; - public static final int Functional=5; - public static final int EqualsSignEqualsSign=50; - public static final int Avg=38; - public static final int Min=43; - public static final int VerticalLine=74; - public static final int PlusSign=60; - public static final int RULE_INT=83; - public static final int Contains=7; - public static final int RULE_ML_COMMENT=84; - public static final int POW=36; - public static final int RULE_TRANSITIVE_CLOSURE=79; - public static final int Class=19; - public static final int LESS=25; - public static final int LeftSquareBracket=70; - public static final int RULE_FULL_STOP=81; - public static final int Current=13; - public static final int If=54; - public static final int Inf=39; - public static final int LESS_EQ=12; - public static final int May=42; - public static final int Max=41; - public static final int In=55; - public static final int RULE_STRING=76; - public static final int Int=40; - public static final int Extern=18; - public static final int RULE_SL_COMMENT=78; - public static final int Prod=29; - public static final int Comma=61; - public static final int EqualsSign=68; - public static final int Empty=21; - public static final int HyphenMinus=62; + public static final int GreaterThanSign=56; + public static final int RULE_ID=69; + public static final int RULE_QUOTED_ID=64; + public static final int RightParenthesis=45; + public static final int GreaterThanSignEqualsSign=39; + public static final int Functional=4; + public static final int EqualsSignEqualsSign=37; + public static final int VerticalLine=61; + public static final int PlusSign=47; + public static final int RULE_INT=70; + public static final int Contains=6; + public static final int RULE_ML_COMMENT=71; + public static final int RULE_TRANSITIVE_CLOSURE=66; + public static final int Class=18; + public static final int LeftSquareBracket=57; + public static final int RULE_FULL_STOP=68; + public static final int Current=11; + public static final int If=41; + public static final int Inf=29; + public static final int May=31; + public static final int In=42; + public static final int RULE_STRING=63; + public static final int Extern=16; + public static final int RULE_SL_COMMENT=65; + public static final int Comma=48; + public static final int EqualsSign=55; + public static final int Empty=20; + public static final int As=40; + public static final int HyphenMinus=49; public static final int Maximize=8; - public static final int LessThanSignEqualsSign=49; - public static final int Solidus=64; - public static final int Colon=65; - public static final int RightCurlyBracket=75; + public static final int LessThanSignEqualsSign=36; + public static final int Solidus=51; + public static final int Colon=52; + public static final int RightCurlyBracket=62; public static final int EOF=-1; - public static final int Asterisk=59; - public static final int FullStop=63; - public static final int RULE_WS=85; - public static final int Abstract=6; + public static final int Asterisk=46; + public static final int FullStop=50; + public static final int RULE_WS=72; + public static final int Abstract=5; public static final int Minimize=9; - public static final int GREATER=11; - public static final int LeftCurlyBracket=73; - public static final int Error=22; - public static final int Only=28; - public static final int RULE_ANY_OTHER=86; - public static final int Default=14; - public static final int ColonHyphenMinus=48; - public static final int CircumflexAccent=72; - public static final int DIV=34; - public static final int Semicolon=66; - public static final int Scope=24; - public static final int Else=26; - public static final int ExclamationMarkEqualsSign=45; - public static final int HyphenMinusGreaterThanSign=46; + public static final int LeftCurlyBracket=60; + public static final int Error=21; + public static final int RULE_ANY_OTHER=73; + public static final int Default=12; + public static final int ColonHyphenMinus=35; + public static final int CircumflexAccent=59; + public static final int Semicolon=53; + public static final int Scope=23; + public static final int Exists=15; + public static final int Else=24; + public static final int Let=30; + public static final int ExclamationMarkEqualsSign=32; + public static final int HyphenMinusGreaterThanSign=33; // delegates // delegators @@ -110,34 +97,13 @@ public class InternalSolverLanguageLexer extends Lexer { } public String getGrammarFileName() { return "InternalSolverLanguageLexer.g"; } - // $ANTLR start "GREATER_EQ" - public final void mGREATER_EQ() throws RecognitionException { - try { - int _type = GREATER_EQ; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:14:12: ( 'GREATER_EQ' ) - // InternalSolverLanguageLexer.g:14:14: 'GREATER_EQ' - { - match("GREATER_EQ"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "GREATER_EQ" - // $ANTLR start "Functional" public final void mFunctional() throws RecognitionException { try { int _type = Functional; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:16:12: ( 'functional' ) - // InternalSolverLanguageLexer.g:16:14: 'functional' + // InternalSolverLanguageLexer.g:14:12: ( 'functional' ) + // InternalSolverLanguageLexer.g:14:14: 'functional' { match("functional"); @@ -157,8 +123,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = Abstract; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:18:10: ( 'abstract' ) - // InternalSolverLanguageLexer.g:18:12: 'abstract' + // InternalSolverLanguageLexer.g:16:10: ( 'abstract' ) + // InternalSolverLanguageLexer.g:16:12: 'abstract' { match("abstract"); @@ -178,8 +144,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = Contains; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:20:10: ( 'contains' ) - // InternalSolverLanguageLexer.g:20:12: 'contains' + // InternalSolverLanguageLexer.g:18:10: ( 'contains' ) + // InternalSolverLanguageLexer.g:18:12: 'contains' { match("contains"); @@ -194,6 +160,27 @@ public class InternalSolverLanguageLexer extends Lexer { } // $ANTLR end "Contains" + // $ANTLR start "Datatype" + public final void mDatatype() throws RecognitionException { + try { + int _type = Datatype; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalSolverLanguageLexer.g:20:10: ( 'datatype' ) + // InternalSolverLanguageLexer.g:20:12: 'datatype' + { + match("datatype"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "Datatype" + // $ANTLR start "Maximize" public final void mMaximize() throws RecognitionException { try { @@ -257,55 +244,13 @@ public class InternalSolverLanguageLexer extends Lexer { } // $ANTLR end "Opposite" - // $ANTLR start "GREATER" - public final void mGREATER() throws RecognitionException { - try { - int _type = GREATER; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:28:9: ( 'GREATER' ) - // InternalSolverLanguageLexer.g:28:11: 'GREATER' - { - match("GREATER"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "GREATER" - - // $ANTLR start "LESS_EQ" - public final void mLESS_EQ() throws RecognitionException { - try { - int _type = LESS_EQ; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:30:9: ( 'LESS_EQ' ) - // InternalSolverLanguageLexer.g:30:11: 'LESS_EQ' - { - match("LESS_EQ"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "LESS_EQ" - // $ANTLR start "Current" public final void mCurrent() throws RecognitionException { try { int _type = Current; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:32:9: ( 'current' ) - // InternalSolverLanguageLexer.g:32:11: 'current' + // InternalSolverLanguageLexer.g:28:9: ( 'current' ) + // InternalSolverLanguageLexer.g:28:11: 'current' { match("current"); @@ -325,8 +270,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = Default; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:34:9: ( 'default' ) - // InternalSolverLanguageLexer.g:34:11: 'default' + // InternalSolverLanguageLexer.g:30:9: ( 'default' ) + // InternalSolverLanguageLexer.g:30:11: 'default' { match("default"); @@ -346,8 +291,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = Extends; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:36:9: ( 'extends' ) - // InternalSolverLanguageLexer.g:36:11: 'extends' + // InternalSolverLanguageLexer.g:32:9: ( 'extends' ) + // InternalSolverLanguageLexer.g:32:11: 'extends' { match("extends"); @@ -367,8 +312,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = Unknown; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:38:9: ( 'unknown' ) - // InternalSolverLanguageLexer.g:38:11: 'unknown' + // InternalSolverLanguageLexer.g:34:9: ( 'unknown' ) + // InternalSolverLanguageLexer.g:34:11: 'unknown' { match("unknown"); @@ -383,15 +328,15 @@ public class InternalSolverLanguageLexer extends Lexer { } // $ANTLR end "Unknown" - // $ANTLR start "NOT_EQ" - public final void mNOT_EQ() throws RecognitionException { + // $ANTLR start "Exists" + public final void mExists() throws RecognitionException { try { - int _type = NOT_EQ; + int _type = Exists; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:40:8: ( 'NOT_EQ' ) - // InternalSolverLanguageLexer.g:40:10: 'NOT_EQ' + // InternalSolverLanguageLexer.g:36:8: ( 'exists' ) + // InternalSolverLanguageLexer.g:36:10: 'exists' { - match("NOT_EQ"); + match("exists"); } @@ -402,15 +347,15 @@ public class InternalSolverLanguageLexer extends Lexer { finally { } } - // $ANTLR end "NOT_EQ" + // $ANTLR end "Exists" // $ANTLR start "Extern" public final void mExtern() throws RecognitionException { try { int _type = Extern; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:42:8: ( 'extern' ) - // InternalSolverLanguageLexer.g:42:10: 'extern' + // InternalSolverLanguageLexer.g:38:8: ( 'extern' ) + // InternalSolverLanguageLexer.g:38:10: 'extern' { match("extern"); @@ -425,13 +370,34 @@ public class InternalSolverLanguageLexer extends Lexer { } // $ANTLR end "Extern" + // $ANTLR start "Forall" + public final void mForall() throws RecognitionException { + try { + int _type = Forall; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalSolverLanguageLexer.g:40:8: ( 'forall' ) + // InternalSolverLanguageLexer.g:40:10: 'forall' + { + match("forall"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "Forall" + // $ANTLR start "Class" public final void mClass() throws RecognitionException { try { int _type = Class; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:44:7: ( 'class' ) - // InternalSolverLanguageLexer.g:44:9: 'class' + // InternalSolverLanguageLexer.g:42:7: ( 'class' ) + // InternalSolverLanguageLexer.g:42:9: 'class' { match("class"); @@ -451,8 +417,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = Count; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:46:7: ( 'count' ) - // InternalSolverLanguageLexer.g:46:9: 'count' + // InternalSolverLanguageLexer.g:44:7: ( 'count' ) + // InternalSolverLanguageLexer.g:44:9: 'count' { match("count"); @@ -472,8 +438,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = Empty; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:48:7: ( 'empty' ) - // InternalSolverLanguageLexer.g:48:9: 'empty' + // InternalSolverLanguageLexer.g:46:7: ( 'empty' ) + // InternalSolverLanguageLexer.g:46:9: 'empty' { match("empty"); @@ -493,8 +459,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = Error; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:50:7: ( 'error' ) - // InternalSolverLanguageLexer.g:50:9: 'error' + // InternalSolverLanguageLexer.g:48:7: ( 'error' ) + // InternalSolverLanguageLexer.g:48:9: 'error' { match("error"); @@ -514,8 +480,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = False; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:52:7: ( 'false' ) - // InternalSolverLanguageLexer.g:52:9: 'false' + // InternalSolverLanguageLexer.g:50:7: ( 'false' ) + // InternalSolverLanguageLexer.g:50:9: 'false' { match("false"); @@ -535,8 +501,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = Scope; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:54:7: ( 'scope' ) - // InternalSolverLanguageLexer.g:54:9: 'scope' + // InternalSolverLanguageLexer.g:52:7: ( 'scope' ) + // InternalSolverLanguageLexer.g:52:9: 'scope' { match("scope"); @@ -551,34 +517,13 @@ public class InternalSolverLanguageLexer extends Lexer { } // $ANTLR end "Scope" - // $ANTLR start "LESS" - public final void mLESS() throws RecognitionException { - try { - int _type = LESS; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:56:6: ( 'LESS' ) - // InternalSolverLanguageLexer.g:56:8: 'LESS' - { - match("LESS"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "LESS" - // $ANTLR start "Else" public final void mElse() throws RecognitionException { try { int _type = Else; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:58:6: ( 'else' ) - // InternalSolverLanguageLexer.g:58:8: 'else' + // InternalSolverLanguageLexer.g:54:6: ( 'else' ) + // InternalSolverLanguageLexer.g:54:8: 'else' { match("else"); @@ -598,8 +543,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = Must; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:60:6: ( 'must' ) - // InternalSolverLanguageLexer.g:60:8: 'must' + // InternalSolverLanguageLexer.g:56:6: ( 'must' ) + // InternalSolverLanguageLexer.g:56:8: 'must' { match("must"); @@ -614,76 +559,13 @@ public class InternalSolverLanguageLexer extends Lexer { } // $ANTLR end "Must" - // $ANTLR start "Only" - public final void mOnly() throws RecognitionException { - try { - int _type = Only; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:62:6: ( 'only' ) - // InternalSolverLanguageLexer.g:62:8: 'only' - { - match("only"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "Only" - - // $ANTLR start "Prod" - public final void mProd() throws RecognitionException { - try { - int _type = Prod; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:64:6: ( 'prod' ) - // InternalSolverLanguageLexer.g:64:8: 'prod' - { - match("prod"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "Prod" - - // $ANTLR start "Real" - public final void mReal() throws RecognitionException { - try { - int _type = Real; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:66:6: ( 'real' ) - // InternalSolverLanguageLexer.g:66:8: 'real' - { - match("real"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "Real" - // $ANTLR start "Then" public final void mThen() throws RecognitionException { try { int _type = Then; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:68:6: ( 'then' ) - // InternalSolverLanguageLexer.g:68:8: 'then' + // InternalSolverLanguageLexer.g:58:6: ( 'then' ) + // InternalSolverLanguageLexer.g:58:8: 'then' { match("then"); @@ -703,8 +585,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = True; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:70:6: ( 'true' ) - // InternalSolverLanguageLexer.g:70:8: 'true' + // InternalSolverLanguageLexer.g:60:6: ( 'true' ) + // InternalSolverLanguageLexer.g:60:8: 'true' { match("true"); @@ -719,120 +601,15 @@ public class InternalSolverLanguageLexer extends Lexer { } // $ANTLR end "True" - // $ANTLR start "ADD" - public final void mADD() throws RecognitionException { - try { - int _type = ADD; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:72:5: ( 'ADD' ) - // InternalSolverLanguageLexer.g:72:7: 'ADD' - { - match("ADD"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "ADD" - - // $ANTLR start "DIV" - public final void mDIV() throws RecognitionException { - try { - int _type = DIV; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:74:5: ( 'DIV' ) - // InternalSolverLanguageLexer.g:74:7: 'DIV' - { - match("DIV"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "DIV" - - // $ANTLR start "MUL" - public final void mMUL() throws RecognitionException { - try { - int _type = MUL; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:76:5: ( 'MUL' ) - // InternalSolverLanguageLexer.g:76:7: 'MUL' - { - match("MUL"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "MUL" - - // $ANTLR start "POW" - public final void mPOW() throws RecognitionException { - try { - int _type = POW; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:78:5: ( 'POW' ) - // InternalSolverLanguageLexer.g:78:7: 'POW' - { - match("POW"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "POW" - - // $ANTLR start "SUB" - public final void mSUB() throws RecognitionException { - try { - int _type = SUB; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:80:5: ( 'SUB' ) - // InternalSolverLanguageLexer.g:80:7: 'SUB' - { - match("SUB"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "SUB" - - // $ANTLR start "Avg" - public final void mAvg() throws RecognitionException { + // $ANTLR start "FullStopFullStopFullStop" + public final void mFullStopFullStopFullStop() throws RecognitionException { try { - int _type = Avg; + int _type = FullStopFullStopFullStop; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:82:5: ( 'avg' ) - // InternalSolverLanguageLexer.g:82:7: 'avg' + // InternalSolverLanguageLexer.g:62:26: ( '...' ) + // InternalSolverLanguageLexer.g:62:28: '...' { - match("avg"); + match("..."); } @@ -843,15 +620,15 @@ public class InternalSolverLanguageLexer extends Lexer { finally { } } - // $ANTLR end "Avg" + // $ANTLR end "FullStopFullStopFullStop" // $ANTLR start "Inf" public final void mInf() throws RecognitionException { try { int _type = Inf; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:84:5: ( 'inf' ) - // InternalSolverLanguageLexer.g:84:7: 'inf' + // InternalSolverLanguageLexer.g:64:5: ( 'inf' ) + // InternalSolverLanguageLexer.g:64:7: 'inf' { match("inf"); @@ -866,36 +643,15 @@ public class InternalSolverLanguageLexer extends Lexer { } // $ANTLR end "Inf" - // $ANTLR start "Int" - public final void mInt() throws RecognitionException { - try { - int _type = Int; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:86:5: ( 'int' ) - // InternalSolverLanguageLexer.g:86:7: 'int' - { - match("int"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "Int" - - // $ANTLR start "Max" - public final void mMax() throws RecognitionException { + // $ANTLR start "Let" + public final void mLet() throws RecognitionException { try { - int _type = Max; + int _type = Let; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:88:5: ( 'max' ) - // InternalSolverLanguageLexer.g:88:7: 'max' + // InternalSolverLanguageLexer.g:66:5: ( 'let' ) + // InternalSolverLanguageLexer.g:66:7: 'let' { - match("max"); + match("let"); } @@ -906,15 +662,15 @@ public class InternalSolverLanguageLexer extends Lexer { finally { } } - // $ANTLR end "Max" + // $ANTLR end "Let" // $ANTLR start "May" public final void mMay() throws RecognitionException { try { int _type = May; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:90:5: ( 'may' ) - // InternalSolverLanguageLexer.g:90:7: 'may' + // InternalSolverLanguageLexer.g:68:5: ( 'may' ) + // InternalSolverLanguageLexer.g:68:7: 'may' { match("may"); @@ -929,55 +685,13 @@ public class InternalSolverLanguageLexer extends Lexer { } // $ANTLR end "May" - // $ANTLR start "Min" - public final void mMin() throws RecognitionException { - try { - int _type = Min; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:92:5: ( 'min' ) - // InternalSolverLanguageLexer.g:92:7: 'min' - { - match("min"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "Min" - - // $ANTLR start "Sum" - public final void mSum() throws RecognitionException { - try { - int _type = Sum; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:94:5: ( 'sum' ) - // InternalSolverLanguageLexer.g:94:7: 'sum' - { - match("sum"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "Sum" - // $ANTLR start "ExclamationMarkEqualsSign" public final void mExclamationMarkEqualsSign() throws RecognitionException { try { int _type = ExclamationMarkEqualsSign; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:96:27: ( '!=' ) - // InternalSolverLanguageLexer.g:96:29: '!=' + // InternalSolverLanguageLexer.g:70:27: ( '!=' ) + // InternalSolverLanguageLexer.g:70:29: '!=' { match("!="); @@ -997,8 +711,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = HyphenMinusGreaterThanSign; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:98:28: ( '->' ) - // InternalSolverLanguageLexer.g:98:30: '->' + // InternalSolverLanguageLexer.g:72:28: ( '->' ) + // InternalSolverLanguageLexer.g:72:30: '->' { match("->"); @@ -1018,8 +732,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = FullStopFullStop; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:100:18: ( '..' ) - // InternalSolverLanguageLexer.g:100:20: '..' + // InternalSolverLanguageLexer.g:74:18: ( '..' ) + // InternalSolverLanguageLexer.g:74:20: '..' { match(".."); @@ -1039,8 +753,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = ColonHyphenMinus; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:102:18: ( ':-' ) - // InternalSolverLanguageLexer.g:102:20: ':-' + // InternalSolverLanguageLexer.g:76:18: ( ':-' ) + // InternalSolverLanguageLexer.g:76:20: ':-' { match(":-"); @@ -1060,8 +774,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = LessThanSignEqualsSign; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:104:24: ( '<=' ) - // InternalSolverLanguageLexer.g:104:26: '<=' + // InternalSolverLanguageLexer.g:78:24: ( '<=' ) + // InternalSolverLanguageLexer.g:78:26: '<=' { match("<="); @@ -1081,8 +795,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = EqualsSignEqualsSign; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:106:22: ( '==' ) - // InternalSolverLanguageLexer.g:106:24: '==' + // InternalSolverLanguageLexer.g:80:22: ( '==' ) + // InternalSolverLanguageLexer.g:80:24: '==' { match("=="); @@ -1097,15 +811,15 @@ public class InternalSolverLanguageLexer extends Lexer { } // $ANTLR end "EqualsSignEqualsSign" - // $ANTLR start "GreaterThanSignEqualsSign" - public final void mGreaterThanSignEqualsSign() throws RecognitionException { + // $ANTLR start "EqualsSignGreaterThanSign" + public final void mEqualsSignGreaterThanSign() throws RecognitionException { try { - int _type = GreaterThanSignEqualsSign; + int _type = EqualsSignGreaterThanSign; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:108:27: ( '>=' ) - // InternalSolverLanguageLexer.g:108:29: '>=' + // InternalSolverLanguageLexer.g:82:27: ( '=>' ) + // InternalSolverLanguageLexer.g:82:29: '=>' { - match(">="); + match("=>"); } @@ -1116,17 +830,17 @@ public class InternalSolverLanguageLexer extends Lexer { finally { } } - // $ANTLR end "GreaterThanSignEqualsSign" + // $ANTLR end "EqualsSignGreaterThanSign" - // $ANTLR start "EQ" - public final void mEQ() throws RecognitionException { + // $ANTLR start "GreaterThanSignEqualsSign" + public final void mGreaterThanSignEqualsSign() throws RecognitionException { try { - int _type = EQ; + int _type = GreaterThanSignEqualsSign; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:110:4: ( 'EQ' ) - // InternalSolverLanguageLexer.g:110:6: 'EQ' + // InternalSolverLanguageLexer.g:84:27: ( '>=' ) + // InternalSolverLanguageLexer.g:84:29: '>=' { - match("EQ"); + match(">="); } @@ -1137,17 +851,17 @@ public class InternalSolverLanguageLexer extends Lexer { finally { } } - // $ANTLR end "EQ" + // $ANTLR end "GreaterThanSignEqualsSign" - // $ANTLR start "IN" - public final void mIN() throws RecognitionException { + // $ANTLR start "As" + public final void mAs() throws RecognitionException { try { - int _type = IN; + int _type = As; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:112:4: ( 'IN' ) - // InternalSolverLanguageLexer.g:112:6: 'IN' + // InternalSolverLanguageLexer.g:86:4: ( 'as' ) + // InternalSolverLanguageLexer.g:86:6: 'as' { - match("IN"); + match("as"); } @@ -1158,15 +872,15 @@ public class InternalSolverLanguageLexer extends Lexer { finally { } } - // $ANTLR end "IN" + // $ANTLR end "As" // $ANTLR start "If" public final void mIf() throws RecognitionException { try { int _type = If; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:114:4: ( 'if' ) - // InternalSolverLanguageLexer.g:114:6: 'if' + // InternalSolverLanguageLexer.g:88:4: ( 'if' ) + // InternalSolverLanguageLexer.g:88:6: 'if' { match("if"); @@ -1186,8 +900,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = In; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:116:4: ( 'in' ) - // InternalSolverLanguageLexer.g:116:6: 'in' + // InternalSolverLanguageLexer.g:90:4: ( 'in' ) + // InternalSolverLanguageLexer.g:90:6: 'in' { match("in"); @@ -1207,8 +921,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = ExclamationMark; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:118:17: ( '!' ) - // InternalSolverLanguageLexer.g:118:19: '!' + // InternalSolverLanguageLexer.g:92:17: ( '!' ) + // InternalSolverLanguageLexer.g:92:19: '!' { match('!'); @@ -1227,8 +941,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = LeftParenthesis; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:120:17: ( '(' ) - // InternalSolverLanguageLexer.g:120:19: '(' + // InternalSolverLanguageLexer.g:94:17: ( '(' ) + // InternalSolverLanguageLexer.g:94:19: '(' { match('('); @@ -1247,8 +961,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = RightParenthesis; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:122:18: ( ')' ) - // InternalSolverLanguageLexer.g:122:20: ')' + // InternalSolverLanguageLexer.g:96:18: ( ')' ) + // InternalSolverLanguageLexer.g:96:20: ')' { match(')'); @@ -1267,8 +981,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = Asterisk; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:124:10: ( '*' ) - // InternalSolverLanguageLexer.g:124:12: '*' + // InternalSolverLanguageLexer.g:98:10: ( '*' ) + // InternalSolverLanguageLexer.g:98:12: '*' { match('*'); @@ -1287,8 +1001,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = PlusSign; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:126:10: ( '+' ) - // InternalSolverLanguageLexer.g:126:12: '+' + // InternalSolverLanguageLexer.g:100:10: ( '+' ) + // InternalSolverLanguageLexer.g:100:12: '+' { match('+'); @@ -1307,8 +1021,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = Comma; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:128:7: ( ',' ) - // InternalSolverLanguageLexer.g:128:9: ',' + // InternalSolverLanguageLexer.g:102:7: ( ',' ) + // InternalSolverLanguageLexer.g:102:9: ',' { match(','); @@ -1327,8 +1041,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = HyphenMinus; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:130:13: ( '-' ) - // InternalSolverLanguageLexer.g:130:15: '-' + // InternalSolverLanguageLexer.g:104:13: ( '-' ) + // InternalSolverLanguageLexer.g:104:15: '-' { match('-'); @@ -1347,8 +1061,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = FullStop; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:132:10: ( '.' ) - // InternalSolverLanguageLexer.g:132:12: '.' + // InternalSolverLanguageLexer.g:106:10: ( '.' ) + // InternalSolverLanguageLexer.g:106:12: '.' { match('.'); @@ -1367,8 +1081,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = Solidus; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:134:9: ( '/' ) - // InternalSolverLanguageLexer.g:134:11: '/' + // InternalSolverLanguageLexer.g:108:9: ( '/' ) + // InternalSolverLanguageLexer.g:108:11: '/' { match('/'); @@ -1387,8 +1101,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = Colon; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:136:7: ( ':' ) - // InternalSolverLanguageLexer.g:136:9: ':' + // InternalSolverLanguageLexer.g:110:7: ( ':' ) + // InternalSolverLanguageLexer.g:110:9: ':' { match(':'); @@ -1407,8 +1121,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = Semicolon; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:138:11: ( ';' ) - // InternalSolverLanguageLexer.g:138:13: ';' + // InternalSolverLanguageLexer.g:112:11: ( ';' ) + // InternalSolverLanguageLexer.g:112:13: ';' { match(';'); @@ -1427,8 +1141,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = LessThanSign; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:140:14: ( '<' ) - // InternalSolverLanguageLexer.g:140:16: '<' + // InternalSolverLanguageLexer.g:114:14: ( '<' ) + // InternalSolverLanguageLexer.g:114:16: '<' { match('<'); @@ -1447,8 +1161,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = EqualsSign; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:142:12: ( '=' ) - // InternalSolverLanguageLexer.g:142:14: '=' + // InternalSolverLanguageLexer.g:116:12: ( '=' ) + // InternalSolverLanguageLexer.g:116:14: '=' { match('='); @@ -1467,8 +1181,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = GreaterThanSign; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:144:17: ( '>' ) - // InternalSolverLanguageLexer.g:144:19: '>' + // InternalSolverLanguageLexer.g:118:17: ( '>' ) + // InternalSolverLanguageLexer.g:118:19: '>' { match('>'); @@ -1487,8 +1201,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = LeftSquareBracket; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:146:19: ( '[' ) - // InternalSolverLanguageLexer.g:146:21: '[' + // InternalSolverLanguageLexer.g:120:19: ( '[' ) + // InternalSolverLanguageLexer.g:120:21: '[' { match('['); @@ -1507,8 +1221,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = RightSquareBracket; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:148:20: ( ']' ) - // InternalSolverLanguageLexer.g:148:22: ']' + // InternalSolverLanguageLexer.g:122:20: ( ']' ) + // InternalSolverLanguageLexer.g:122:22: ']' { match(']'); @@ -1527,8 +1241,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = CircumflexAccent; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:150:18: ( '^' ) - // InternalSolverLanguageLexer.g:150:20: '^' + // InternalSolverLanguageLexer.g:124:18: ( '^' ) + // InternalSolverLanguageLexer.g:124:20: '^' { match('^'); @@ -1547,8 +1261,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = LeftCurlyBracket; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:152:18: ( '{' ) - // InternalSolverLanguageLexer.g:152:20: '{' + // InternalSolverLanguageLexer.g:126:18: ( '{' ) + // InternalSolverLanguageLexer.g:126:20: '{' { match('{'); @@ -1567,8 +1281,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = VerticalLine; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:154:14: ( '|' ) - // InternalSolverLanguageLexer.g:154:16: '|' + // InternalSolverLanguageLexer.g:128:14: ( '|' ) + // InternalSolverLanguageLexer.g:128:16: '|' { match('|'); @@ -1587,8 +1301,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = RightCurlyBracket; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:156:19: ( '}' ) - // InternalSolverLanguageLexer.g:156:21: '}' + // InternalSolverLanguageLexer.g:130:19: ( '}' ) + // InternalSolverLanguageLexer.g:130:21: '}' { match('}'); @@ -1607,11 +1321,11 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = RULE_STRING; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:158:13: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' ) - // InternalSolverLanguageLexer.g:158:15: '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' + // InternalSolverLanguageLexer.g:132:13: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' ) + // InternalSolverLanguageLexer.g:132:15: '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' { match('\"'); - // InternalSolverLanguageLexer.g:158:19: ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* + // InternalSolverLanguageLexer.g:132:19: ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* loop1: do { int alt1=3; @@ -1627,7 +1341,7 @@ public class InternalSolverLanguageLexer extends Lexer { switch (alt1) { case 1 : - // InternalSolverLanguageLexer.g:158:20: '\\\\' . + // InternalSolverLanguageLexer.g:132:20: '\\\\' . { match('\\'); matchAny(); @@ -1635,7 +1349,7 @@ public class InternalSolverLanguageLexer extends Lexer { } break; case 2 : - // InternalSolverLanguageLexer.g:158:27: ~ ( ( '\\\\' | '\"' ) ) + // InternalSolverLanguageLexer.g:132:27: ~ ( ( '\\\\' | '\"' ) ) { if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { input.consume(); @@ -1672,11 +1386,11 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = RULE_QUOTED_ID; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:160:16: ( '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) - // InternalSolverLanguageLexer.g:160:18: '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' + // InternalSolverLanguageLexer.g:134:16: ( '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) + // InternalSolverLanguageLexer.g:134:18: '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' { match('\''); - // InternalSolverLanguageLexer.g:160:23: ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* + // InternalSolverLanguageLexer.g:134:23: ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* loop2: do { int alt2=3; @@ -1692,7 +1406,7 @@ public class InternalSolverLanguageLexer extends Lexer { switch (alt2) { case 1 : - // InternalSolverLanguageLexer.g:160:24: '\\\\' . + // InternalSolverLanguageLexer.g:134:24: '\\\\' . { match('\\'); matchAny(); @@ -1700,7 +1414,7 @@ public class InternalSolverLanguageLexer extends Lexer { } break; case 2 : - // InternalSolverLanguageLexer.g:160:31: ~ ( ( '\\\\' | '\\'' ) ) + // InternalSolverLanguageLexer.g:134:31: ~ ( ( '\\\\' | '\\'' ) ) { if ( (input.LA(1)>='\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { input.consume(); @@ -1737,10 +1451,10 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = RULE_SL_COMMENT; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:162:17: ( ( '%' | '//' ) (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? ) - // InternalSolverLanguageLexer.g:162:19: ( '%' | '//' ) (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? + // InternalSolverLanguageLexer.g:136:17: ( ( '%' | '//' ) (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? ) + // InternalSolverLanguageLexer.g:136:19: ( '%' | '//' ) (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? { - // InternalSolverLanguageLexer.g:162:19: ( '%' | '//' ) + // InternalSolverLanguageLexer.g:136:19: ( '%' | '//' ) int alt3=2; int LA3_0 = input.LA(1); @@ -1758,14 +1472,14 @@ public class InternalSolverLanguageLexer extends Lexer { } switch (alt3) { case 1 : - // InternalSolverLanguageLexer.g:162:20: '%' + // InternalSolverLanguageLexer.g:136:20: '%' { match('%'); } break; case 2 : - // InternalSolverLanguageLexer.g:162:24: '//' + // InternalSolverLanguageLexer.g:136:24: '//' { match("//"); @@ -1775,7 +1489,7 @@ public class InternalSolverLanguageLexer extends Lexer { } - // InternalSolverLanguageLexer.g:162:30: (~ ( ( '\\n' | '\\r' ) ) )* + // InternalSolverLanguageLexer.g:136:30: (~ ( ( '\\n' | '\\r' ) ) )* loop4: do { int alt4=2; @@ -1788,7 +1502,7 @@ public class InternalSolverLanguageLexer extends Lexer { switch (alt4) { case 1 : - // InternalSolverLanguageLexer.g:162:30: ~ ( ( '\\n' | '\\r' ) ) + // InternalSolverLanguageLexer.g:136:30: ~ ( ( '\\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(); @@ -1808,7 +1522,7 @@ public class InternalSolverLanguageLexer extends Lexer { } } while (true); - // InternalSolverLanguageLexer.g:162:46: ( ( '\\r' )? '\\n' )? + // InternalSolverLanguageLexer.g:136:46: ( ( '\\r' )? '\\n' )? int alt6=2; int LA6_0 = input.LA(1); @@ -1817,9 +1531,9 @@ public class InternalSolverLanguageLexer extends Lexer { } switch (alt6) { case 1 : - // InternalSolverLanguageLexer.g:162:47: ( '\\r' )? '\\n' + // InternalSolverLanguageLexer.g:136:47: ( '\\r' )? '\\n' { - // InternalSolverLanguageLexer.g:162:47: ( '\\r' )? + // InternalSolverLanguageLexer.g:136:47: ( '\\r' )? int alt5=2; int LA5_0 = input.LA(1); @@ -1828,7 +1542,7 @@ public class InternalSolverLanguageLexer extends Lexer { } switch (alt5) { case 1 : - // InternalSolverLanguageLexer.g:162:47: '\\r' + // InternalSolverLanguageLexer.g:136:47: '\\r' { match('\r'); @@ -1858,8 +1572,8 @@ public class InternalSolverLanguageLexer extends Lexer { // $ANTLR start "RULE_TRANSITIVE_CLOSURE" public final void mRULE_TRANSITIVE_CLOSURE() throws RecognitionException { try { - // InternalSolverLanguageLexer.g:164:34: () - // InternalSolverLanguageLexer.g:164:36: + // InternalSolverLanguageLexer.g:138:34: () + // InternalSolverLanguageLexer.g:138:36: { } @@ -1872,8 +1586,8 @@ public class InternalSolverLanguageLexer extends Lexer { // $ANTLR start "RULE_REFLEXIVE_TRANSITIVE_CLOSURE" public final void mRULE_REFLEXIVE_TRANSITIVE_CLOSURE() throws RecognitionException { try { - // InternalSolverLanguageLexer.g:166:44: () - // InternalSolverLanguageLexer.g:166:46: + // InternalSolverLanguageLexer.g:140:44: () + // InternalSolverLanguageLexer.g:140:46: { } @@ -1886,8 +1600,8 @@ public class InternalSolverLanguageLexer extends Lexer { // $ANTLR start "RULE_FULL_STOP" public final void mRULE_FULL_STOP() throws RecognitionException { try { - // InternalSolverLanguageLexer.g:168:25: () - // InternalSolverLanguageLexer.g:168:27: + // InternalSolverLanguageLexer.g:142:25: () + // InternalSolverLanguageLexer.g:142:27: { } @@ -1902,10 +1616,10 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = RULE_ID; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:170:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* ) - // InternalSolverLanguageLexer.g:170:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* + // InternalSolverLanguageLexer.g:144:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* ) + // InternalSolverLanguageLexer.g:144:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* { - // InternalSolverLanguageLexer.g:170:11: ( '^' )? + // InternalSolverLanguageLexer.g:144:11: ( '^' )? int alt7=2; int LA7_0 = input.LA(1); @@ -1914,7 +1628,7 @@ public class InternalSolverLanguageLexer extends Lexer { } switch (alt7) { case 1 : - // InternalSolverLanguageLexer.g:170:11: '^' + // InternalSolverLanguageLexer.g:144:11: '^' { match('^'); @@ -1932,7 +1646,7 @@ public class InternalSolverLanguageLexer extends Lexer { recover(mse); throw mse;} - // InternalSolverLanguageLexer.g:170:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* + // InternalSolverLanguageLexer.g:144:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* loop8: do { int alt8=2; @@ -1981,10 +1695,10 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = RULE_INT; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:172:10: ( ( '0' .. '9' )+ ) - // InternalSolverLanguageLexer.g:172:12: ( '0' .. '9' )+ + // InternalSolverLanguageLexer.g:146:10: ( ( '0' .. '9' )+ ) + // InternalSolverLanguageLexer.g:146:12: ( '0' .. '9' )+ { - // InternalSolverLanguageLexer.g:172:12: ( '0' .. '9' )+ + // InternalSolverLanguageLexer.g:146:12: ( '0' .. '9' )+ int cnt9=0; loop9: do { @@ -1998,7 +1712,7 @@ public class InternalSolverLanguageLexer extends Lexer { switch (alt9) { case 1 : - // InternalSolverLanguageLexer.g:172:13: '0' .. '9' + // InternalSolverLanguageLexer.g:146:13: '0' .. '9' { matchRange('0','9'); @@ -2030,12 +1744,12 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = RULE_ML_COMMENT; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:174:17: ( '/*' ( options {greedy=false; } : . )* '*/' ) - // InternalSolverLanguageLexer.g:174:19: '/*' ( options {greedy=false; } : . )* '*/' + // InternalSolverLanguageLexer.g:148:17: ( '/*' ( options {greedy=false; } : . )* '*/' ) + // InternalSolverLanguageLexer.g:148:19: '/*' ( options {greedy=false; } : . )* '*/' { match("/*"); - // InternalSolverLanguageLexer.g:174:24: ( options {greedy=false; } : . )* + // InternalSolverLanguageLexer.g:148:24: ( options {greedy=false; } : . )* loop10: do { int alt10=2; @@ -2060,7 +1774,7 @@ public class InternalSolverLanguageLexer extends Lexer { switch (alt10) { case 1 : - // InternalSolverLanguageLexer.g:174:52: . + // InternalSolverLanguageLexer.g:148:52: . { matchAny(); @@ -2090,10 +1804,10 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = RULE_WS; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:176:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ ) - // InternalSolverLanguageLexer.g:176:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ + // InternalSolverLanguageLexer.g:150:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ ) + // InternalSolverLanguageLexer.g:150:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ { - // InternalSolverLanguageLexer.g:176:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ + // InternalSolverLanguageLexer.g:150:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ int cnt11=0; loop11: do { @@ -2147,8 +1861,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = RULE_ANY_OTHER; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:178:16: ( . ) - // InternalSolverLanguageLexer.g:178:18: . + // InternalSolverLanguageLexer.g:152:16: ( . ) + // InternalSolverLanguageLexer.g:152:18: . { matchAny(); @@ -2163,565 +1877,474 @@ public class InternalSolverLanguageLexer extends Lexer { // $ANTLR end "RULE_ANY_OTHER" public void mTokens() throws RecognitionException { - // InternalSolverLanguageLexer.g:1:8: ( GREATER_EQ | Functional | Abstract | Contains | Maximize | Minimize | Opposite | GREATER | LESS_EQ | Current | Default | Extends | Unknown | NOT_EQ | Extern | Class | Count | Empty | Error | False | Scope | LESS | Else | Must | Only | Prod | Real | Then | True | ADD | DIV | MUL | POW | SUB | Avg | Inf | Int | Max | May | Min | Sum | ExclamationMarkEqualsSign | HyphenMinusGreaterThanSign | FullStopFullStop | ColonHyphenMinus | LessThanSignEqualsSign | EqualsSignEqualsSign | GreaterThanSignEqualsSign | EQ | IN | If | In | ExclamationMark | LeftParenthesis | RightParenthesis | Asterisk | PlusSign | Comma | HyphenMinus | FullStop | Solidus | Colon | Semicolon | LessThanSign | EqualsSign | GreaterThanSign | LeftSquareBracket | RightSquareBracket | CircumflexAccent | LeftCurlyBracket | VerticalLine | RightCurlyBracket | RULE_STRING | RULE_QUOTED_ID | RULE_SL_COMMENT | RULE_ID | RULE_INT | RULE_ML_COMMENT | RULE_WS | RULE_ANY_OTHER ) - int alt12=80; + // InternalSolverLanguageLexer.g:1:8: ( Functional | Abstract | Contains | Datatype | Maximize | Minimize | Opposite | Current | Default | Extends | Unknown | Exists | Extern | Forall | Class | Count | Empty | Error | False | Scope | Else | Must | Then | True | FullStopFullStopFullStop | Inf | Let | May | ExclamationMarkEqualsSign | HyphenMinusGreaterThanSign | FullStopFullStop | ColonHyphenMinus | LessThanSignEqualsSign | EqualsSignEqualsSign | EqualsSignGreaterThanSign | GreaterThanSignEqualsSign | As | If | In | ExclamationMark | LeftParenthesis | RightParenthesis | Asterisk | PlusSign | Comma | HyphenMinus | FullStop | Solidus | Colon | Semicolon | LessThanSign | EqualsSign | GreaterThanSign | LeftSquareBracket | RightSquareBracket | CircumflexAccent | LeftCurlyBracket | VerticalLine | RightCurlyBracket | RULE_STRING | RULE_QUOTED_ID | RULE_SL_COMMENT | RULE_ID | RULE_INT | RULE_ML_COMMENT | RULE_WS | RULE_ANY_OTHER ) + int alt12=67; alt12 = dfa12.predict(input); switch (alt12) { case 1 : - // InternalSolverLanguageLexer.g:1:10: GREATER_EQ + // InternalSolverLanguageLexer.g:1:10: Functional { - mGREATER_EQ(); + mFunctional(); } break; case 2 : - // InternalSolverLanguageLexer.g:1:21: Functional + // InternalSolverLanguageLexer.g:1:21: Abstract { - mFunctional(); + mAbstract(); } break; case 3 : - // InternalSolverLanguageLexer.g:1:32: Abstract + // InternalSolverLanguageLexer.g:1:30: Contains { - mAbstract(); + mContains(); } break; case 4 : - // InternalSolverLanguageLexer.g:1:41: Contains + // InternalSolverLanguageLexer.g:1:39: Datatype { - mContains(); + mDatatype(); } break; case 5 : - // InternalSolverLanguageLexer.g:1:50: Maximize + // InternalSolverLanguageLexer.g:1:48: Maximize { mMaximize(); } break; case 6 : - // InternalSolverLanguageLexer.g:1:59: Minimize + // InternalSolverLanguageLexer.g:1:57: Minimize { mMinimize(); } break; case 7 : - // InternalSolverLanguageLexer.g:1:68: Opposite + // InternalSolverLanguageLexer.g:1:66: Opposite { mOpposite(); } break; case 8 : - // InternalSolverLanguageLexer.g:1:77: GREATER + // InternalSolverLanguageLexer.g:1:75: Current { - mGREATER(); + mCurrent(); } break; case 9 : - // InternalSolverLanguageLexer.g:1:85: LESS_EQ + // InternalSolverLanguageLexer.g:1:83: Default { - mLESS_EQ(); + mDefault(); } break; case 10 : - // InternalSolverLanguageLexer.g:1:93: Current + // InternalSolverLanguageLexer.g:1:91: Extends { - mCurrent(); + mExtends(); } break; case 11 : - // InternalSolverLanguageLexer.g:1:101: Default + // InternalSolverLanguageLexer.g:1:99: Unknown { - mDefault(); + mUnknown(); } break; case 12 : - // InternalSolverLanguageLexer.g:1:109: Extends + // InternalSolverLanguageLexer.g:1:107: Exists { - mExtends(); + mExists(); } break; case 13 : - // InternalSolverLanguageLexer.g:1:117: Unknown + // InternalSolverLanguageLexer.g:1:114: Extern { - mUnknown(); + mExtern(); } break; case 14 : - // InternalSolverLanguageLexer.g:1:125: NOT_EQ + // InternalSolverLanguageLexer.g:1:121: Forall { - mNOT_EQ(); + mForall(); } break; case 15 : - // InternalSolverLanguageLexer.g:1:132: Extern + // InternalSolverLanguageLexer.g:1:128: Class { - mExtern(); + mClass(); } break; case 16 : - // InternalSolverLanguageLexer.g:1:139: Class + // InternalSolverLanguageLexer.g:1:134: Count { - mClass(); + mCount(); } break; case 17 : - // InternalSolverLanguageLexer.g:1:145: Count + // InternalSolverLanguageLexer.g:1:140: Empty { - mCount(); + mEmpty(); } break; case 18 : - // InternalSolverLanguageLexer.g:1:151: Empty + // InternalSolverLanguageLexer.g:1:146: Error { - mEmpty(); + mError(); } break; case 19 : - // InternalSolverLanguageLexer.g:1:157: Error + // InternalSolverLanguageLexer.g:1:152: False { - mError(); + mFalse(); } break; case 20 : - // InternalSolverLanguageLexer.g:1:163: False + // InternalSolverLanguageLexer.g:1:158: Scope { - mFalse(); + mScope(); } break; case 21 : - // InternalSolverLanguageLexer.g:1:169: Scope + // InternalSolverLanguageLexer.g:1:164: Else { - mScope(); + mElse(); } break; case 22 : - // InternalSolverLanguageLexer.g:1:175: LESS + // InternalSolverLanguageLexer.g:1:169: Must { - mLESS(); + mMust(); } break; case 23 : - // InternalSolverLanguageLexer.g:1:180: Else + // InternalSolverLanguageLexer.g:1:174: Then { - mElse(); + mThen(); } break; case 24 : - // InternalSolverLanguageLexer.g:1:185: Must + // InternalSolverLanguageLexer.g:1:179: True { - mMust(); + mTrue(); } break; case 25 : - // InternalSolverLanguageLexer.g:1:190: Only + // InternalSolverLanguageLexer.g:1:184: FullStopFullStopFullStop { - mOnly(); + mFullStopFullStopFullStop(); } break; case 26 : - // InternalSolverLanguageLexer.g:1:195: Prod + // InternalSolverLanguageLexer.g:1:209: Inf { - mProd(); + mInf(); } break; case 27 : - // InternalSolverLanguageLexer.g:1:200: Real + // InternalSolverLanguageLexer.g:1:213: Let { - mReal(); + mLet(); } break; case 28 : - // InternalSolverLanguageLexer.g:1:205: Then + // InternalSolverLanguageLexer.g:1:217: May { - mThen(); + mMay(); } break; case 29 : - // InternalSolverLanguageLexer.g:1:210: True + // InternalSolverLanguageLexer.g:1:221: ExclamationMarkEqualsSign { - mTrue(); + mExclamationMarkEqualsSign(); } break; case 30 : - // InternalSolverLanguageLexer.g:1:215: ADD + // InternalSolverLanguageLexer.g:1:247: HyphenMinusGreaterThanSign { - mADD(); + mHyphenMinusGreaterThanSign(); } break; case 31 : - // InternalSolverLanguageLexer.g:1:219: DIV + // InternalSolverLanguageLexer.g:1:274: FullStopFullStop { - mDIV(); + mFullStopFullStop(); } break; case 32 : - // InternalSolverLanguageLexer.g:1:223: MUL + // InternalSolverLanguageLexer.g:1:291: ColonHyphenMinus { - mMUL(); + mColonHyphenMinus(); } break; case 33 : - // InternalSolverLanguageLexer.g:1:227: POW + // InternalSolverLanguageLexer.g:1:308: LessThanSignEqualsSign { - mPOW(); + mLessThanSignEqualsSign(); } break; case 34 : - // InternalSolverLanguageLexer.g:1:231: SUB + // InternalSolverLanguageLexer.g:1:331: EqualsSignEqualsSign { - mSUB(); + mEqualsSignEqualsSign(); } break; case 35 : - // InternalSolverLanguageLexer.g:1:235: Avg + // InternalSolverLanguageLexer.g:1:352: EqualsSignGreaterThanSign { - mAvg(); + mEqualsSignGreaterThanSign(); } break; case 36 : - // InternalSolverLanguageLexer.g:1:239: Inf + // InternalSolverLanguageLexer.g:1:378: GreaterThanSignEqualsSign { - mInf(); + mGreaterThanSignEqualsSign(); } break; case 37 : - // InternalSolverLanguageLexer.g:1:243: Int + // InternalSolverLanguageLexer.g:1:404: As { - mInt(); + mAs(); } break; case 38 : - // InternalSolverLanguageLexer.g:1:247: Max - { - mMax(); - - } - break; - case 39 : - // InternalSolverLanguageLexer.g:1:251: May - { - mMay(); - - } - break; - case 40 : - // InternalSolverLanguageLexer.g:1:255: Min - { - mMin(); - - } - break; - case 41 : - // InternalSolverLanguageLexer.g:1:259: Sum - { - mSum(); - - } - break; - case 42 : - // InternalSolverLanguageLexer.g:1:263: ExclamationMarkEqualsSign - { - mExclamationMarkEqualsSign(); - - } - break; - case 43 : - // InternalSolverLanguageLexer.g:1:289: HyphenMinusGreaterThanSign - { - mHyphenMinusGreaterThanSign(); - - } - break; - case 44 : - // InternalSolverLanguageLexer.g:1:316: FullStopFullStop - { - mFullStopFullStop(); - - } - break; - case 45 : - // InternalSolverLanguageLexer.g:1:333: ColonHyphenMinus - { - mColonHyphenMinus(); - - } - break; - case 46 : - // InternalSolverLanguageLexer.g:1:350: LessThanSignEqualsSign - { - mLessThanSignEqualsSign(); - - } - break; - case 47 : - // InternalSolverLanguageLexer.g:1:373: EqualsSignEqualsSign - { - mEqualsSignEqualsSign(); - - } - break; - case 48 : - // InternalSolverLanguageLexer.g:1:394: GreaterThanSignEqualsSign - { - mGreaterThanSignEqualsSign(); - - } - break; - case 49 : - // InternalSolverLanguageLexer.g:1:420: EQ - { - mEQ(); - - } - break; - case 50 : - // InternalSolverLanguageLexer.g:1:423: IN - { - mIN(); - - } - break; - case 51 : - // InternalSolverLanguageLexer.g:1:426: If + // InternalSolverLanguageLexer.g:1:407: If { mIf(); } break; - case 52 : - // InternalSolverLanguageLexer.g:1:429: In + case 39 : + // InternalSolverLanguageLexer.g:1:410: In { mIn(); } break; - case 53 : - // InternalSolverLanguageLexer.g:1:432: ExclamationMark + case 40 : + // InternalSolverLanguageLexer.g:1:413: ExclamationMark { mExclamationMark(); } break; - case 54 : - // InternalSolverLanguageLexer.g:1:448: LeftParenthesis + case 41 : + // InternalSolverLanguageLexer.g:1:429: LeftParenthesis { mLeftParenthesis(); } break; - case 55 : - // InternalSolverLanguageLexer.g:1:464: RightParenthesis + case 42 : + // InternalSolverLanguageLexer.g:1:445: RightParenthesis { mRightParenthesis(); } break; - case 56 : - // InternalSolverLanguageLexer.g:1:481: Asterisk + case 43 : + // InternalSolverLanguageLexer.g:1:462: Asterisk { mAsterisk(); } break; - case 57 : - // InternalSolverLanguageLexer.g:1:490: PlusSign + case 44 : + // InternalSolverLanguageLexer.g:1:471: PlusSign { mPlusSign(); } break; - case 58 : - // InternalSolverLanguageLexer.g:1:499: Comma + case 45 : + // InternalSolverLanguageLexer.g:1:480: Comma { mComma(); } break; - case 59 : - // InternalSolverLanguageLexer.g:1:505: HyphenMinus + case 46 : + // InternalSolverLanguageLexer.g:1:486: HyphenMinus { mHyphenMinus(); } break; - case 60 : - // InternalSolverLanguageLexer.g:1:517: FullStop + case 47 : + // InternalSolverLanguageLexer.g:1:498: FullStop { mFullStop(); } break; - case 61 : - // InternalSolverLanguageLexer.g:1:526: Solidus + case 48 : + // InternalSolverLanguageLexer.g:1:507: Solidus { mSolidus(); } break; - case 62 : - // InternalSolverLanguageLexer.g:1:534: Colon + case 49 : + // InternalSolverLanguageLexer.g:1:515: Colon { mColon(); } break; - case 63 : - // InternalSolverLanguageLexer.g:1:540: Semicolon + case 50 : + // InternalSolverLanguageLexer.g:1:521: Semicolon { mSemicolon(); } break; - case 64 : - // InternalSolverLanguageLexer.g:1:550: LessThanSign + case 51 : + // InternalSolverLanguageLexer.g:1:531: LessThanSign { mLessThanSign(); } break; - case 65 : - // InternalSolverLanguageLexer.g:1:563: EqualsSign + case 52 : + // InternalSolverLanguageLexer.g:1:544: EqualsSign { mEqualsSign(); } break; - case 66 : - // InternalSolverLanguageLexer.g:1:574: GreaterThanSign + case 53 : + // InternalSolverLanguageLexer.g:1:555: GreaterThanSign { mGreaterThanSign(); } break; - case 67 : - // InternalSolverLanguageLexer.g:1:590: LeftSquareBracket + case 54 : + // InternalSolverLanguageLexer.g:1:571: LeftSquareBracket { mLeftSquareBracket(); } break; - case 68 : - // InternalSolverLanguageLexer.g:1:608: RightSquareBracket + case 55 : + // InternalSolverLanguageLexer.g:1:589: RightSquareBracket { mRightSquareBracket(); } break; - case 69 : - // InternalSolverLanguageLexer.g:1:627: CircumflexAccent + case 56 : + // InternalSolverLanguageLexer.g:1:608: CircumflexAccent { mCircumflexAccent(); } break; - case 70 : - // InternalSolverLanguageLexer.g:1:644: LeftCurlyBracket + case 57 : + // InternalSolverLanguageLexer.g:1:625: LeftCurlyBracket { mLeftCurlyBracket(); } break; - case 71 : - // InternalSolverLanguageLexer.g:1:661: VerticalLine + case 58 : + // InternalSolverLanguageLexer.g:1:642: VerticalLine { mVerticalLine(); } break; - case 72 : - // InternalSolverLanguageLexer.g:1:674: RightCurlyBracket + case 59 : + // InternalSolverLanguageLexer.g:1:655: RightCurlyBracket { mRightCurlyBracket(); } break; - case 73 : - // InternalSolverLanguageLexer.g:1:692: RULE_STRING + case 60 : + // InternalSolverLanguageLexer.g:1:673: RULE_STRING { mRULE_STRING(); } break; - case 74 : - // InternalSolverLanguageLexer.g:1:704: RULE_QUOTED_ID + case 61 : + // InternalSolverLanguageLexer.g:1:685: RULE_QUOTED_ID { mRULE_QUOTED_ID(); } break; - case 75 : - // InternalSolverLanguageLexer.g:1:719: RULE_SL_COMMENT + case 62 : + // InternalSolverLanguageLexer.g:1:700: RULE_SL_COMMENT { mRULE_SL_COMMENT(); } break; - case 76 : - // InternalSolverLanguageLexer.g:1:735: RULE_ID + case 63 : + // InternalSolverLanguageLexer.g:1:716: RULE_ID { mRULE_ID(); } break; - case 77 : - // InternalSolverLanguageLexer.g:1:743: RULE_INT + case 64 : + // InternalSolverLanguageLexer.g:1:724: RULE_INT { mRULE_INT(); } break; - case 78 : - // InternalSolverLanguageLexer.g:1:752: RULE_ML_COMMENT + case 65 : + // InternalSolverLanguageLexer.g:1:733: RULE_ML_COMMENT { mRULE_ML_COMMENT(); } break; - case 79 : - // InternalSolverLanguageLexer.g:1:768: RULE_WS + case 66 : + // InternalSolverLanguageLexer.g:1:749: RULE_WS { mRULE_WS(); } break; - case 80 : - // InternalSolverLanguageLexer.g:1:776: RULE_ANY_OTHER + case 67 : + // InternalSolverLanguageLexer.g:1:757: RULE_ANY_OTHER { mRULE_ANY_OTHER(); @@ -2735,104 +2358,90 @@ public class InternalSolverLanguageLexer extends Lexer { protected DFA12 dfa12 = new DFA12(this); static final String DFA12_eotS = - "\1\uffff\25\64\1\127\1\131\1\133\1\135\1\137\1\141\1\143\2\64\5\uffff\1\155\3\uffff\1\161\3\uffff\2\62\5\uffff\1\64\1\uffff\37\64\1\u009d\1\u009e\16\uffff\1\u009f\1\u00a0\23\uffff\4\64\1\u00a5\4\64\1\u00ab\1\u00ac\1\u00ae\14\64\1\u00bb\4\64\1\u00c0\1\u00c1\1\u00c2\1\u00c3\1\u00c4\1\u00c5\1\u00c6\4\uffff\4\64\1\uffff\5\64\2\uffff\1\64\1\uffff\1\u00d1\1\64\1\u00d3\1\u00d5\4\64\1\u00db\3\64\1\uffff\1\u00df\1\u00e0\1\u00e1\1\u00e2\7\uffff\2\64\1\u00e5\2\64\1\u00e8\1\64\1\u00ea\2\64\1\uffff\1\64\1\uffff\1\64\1\uffff\3\64\1\u00f2\1\u00f3\1\uffff\2\64\1\u00f6\4\uffff\2\64\1\uffff\2\64\1\uffff\1\64\1\uffff\6\64\1\u0102\2\uffff\1\64\1\u0104\1\uffff\1\u0106\3\64\1\u010a\3\64\1\u010e\1\u010f\1\u0110\1\uffff\1\u0111\1\uffff\1\64\1\uffff\1\64\1\u0114\1\u0115\1\uffff\1\u0116\1\u0117\1\u0118\4\uffff\2\64\5\uffff\1\u011b\1\u011c\2\uffff"; + "\1\uffff\12\53\1\100\2\53\1\105\1\107\1\111\1\113\1\116\1\120\5\uffff\1\130\3\uffff\1\134\3\uffff\2\47\5\uffff\3\53\1\uffff\1\53\1\150\21\53\1\176\1\uffff\1\u0080\1\u0081\1\53\40\uffff\4\53\1\uffff\7\53\1\u008e\14\53\2\uffff\1\u009b\2\uffff\1\u009c\13\53\1\uffff\1\53\1\u00a9\5\53\1\u00b0\2\53\1\u00b3\1\u00b4\2\uffff\2\53\1\u00b7\2\53\1\u00ba\1\53\1\u00bc\4\53\1\uffff\4\53\1\u00c5\1\u00c6\1\uffff\1\53\1\u00c8\2\uffff\1\53\1\u00ca\1\uffff\2\53\1\uffff\1\53\1\uffff\6\53\1\u00d4\1\u00d5\2\uffff\1\53\1\uffff\1\53\1\uffff\2\53\1\u00da\1\53\1\u00dc\3\53\1\u00e0\2\uffff\1\u00e1\1\53\1\u00e3\1\u00e4\1\uffff\1\u00e5\1\uffff\1\u00e6\1\u00e7\1\u00e8\2\uffff\1\53\6\uffff\1\u00ea\1\uffff"; static final String DFA12_eofS = - "\u011d\uffff"; + "\u00eb\uffff"; static final String DFA12_minS = - "\1\0\1\122\1\141\1\142\1\154\1\141\1\156\1\105\1\145\1\154\1\156\1\117\1\143\1\162\1\145\1\150\1\104\1\111\1\125\1\117\1\125\1\146\1\75\1\76\1\56\1\55\3\75\1\121\1\116\5\uffff\1\52\3\uffff\1\101\3\uffff\2\0\5\uffff\1\105\1\uffff\1\156\1\154\1\163\1\147\1\156\1\162\1\141\1\170\1\156\1\163\1\160\1\154\1\123\1\146\1\164\1\160\1\162\1\163\1\153\1\124\1\157\1\155\1\157\1\141\1\145\1\165\1\104\1\126\1\114\1\127\1\102\2\60\16\uffff\2\60\23\uffff\1\101\1\143\1\163\1\164\1\60\1\164\1\156\1\162\1\163\3\60\1\164\1\157\1\171\1\123\1\141\1\145\1\164\1\157\1\145\1\156\1\137\1\160\1\60\1\144\1\154\1\156\1\145\7\60\4\uffff\1\124\1\164\1\145\1\162\1\uffff\1\141\1\164\1\145\1\163\1\155\2\uffff\1\155\1\uffff\1\60\1\163\2\60\1\165\1\156\1\171\1\162\1\60\1\157\1\105\1\145\1\uffff\4\60\7\uffff\1\105\1\151\1\60\1\141\1\151\1\60\1\156\1\60\2\151\1\uffff\1\151\1\uffff\1\105\1\uffff\1\154\1\144\1\156\2\60\1\uffff\1\167\1\121\1\60\4\uffff\1\122\1\157\1\uffff\1\143\1\156\1\uffff\1\164\1\uffff\2\172\1\164\1\121\1\164\1\163\1\60\2\uffff\1\156\1\60\1\uffff\1\60\1\156\1\164\1\163\1\60\3\145\3\60\1\uffff\1\60\1\uffff\1\105\1\uffff\1\141\2\60\1\uffff\3\60\4\uffff\1\121\1\154\5\uffff\2\60\2\uffff"; + "\1\0\1\141\1\142\1\154\2\141\1\160\1\154\1\156\1\143\1\150\1\56\1\146\1\145\1\75\1\76\1\55\3\75\5\uffff\1\52\3\uffff\1\101\3\uffff\2\0\5\uffff\1\156\1\162\1\154\1\uffff\1\163\1\60\1\156\1\162\1\141\1\164\1\146\1\170\1\156\1\163\1\160\1\151\1\160\1\162\1\163\1\153\1\157\1\145\1\165\1\56\1\uffff\2\60\1\164\40\uffff\1\143\1\141\1\163\1\164\1\uffff\1\164\1\156\1\162\1\163\2\141\1\151\1\60\1\151\1\164\1\157\1\145\1\163\1\164\1\157\1\145\1\156\1\160\1\156\1\145\2\uffff\1\60\2\uffff\1\60\1\164\1\154\1\145\1\162\1\141\1\164\1\145\1\163\1\164\1\165\1\155\1\uffff\1\155\1\60\1\163\1\156\1\164\1\171\1\162\1\60\1\157\1\145\2\60\2\uffff\1\151\1\154\1\60\1\141\1\151\1\60\1\156\1\60\1\171\1\154\2\151\1\uffff\1\151\1\144\1\156\1\163\2\60\1\uffff\1\167\1\60\2\uffff\1\157\1\60\1\uffff\1\143\1\156\1\uffff\1\164\1\uffff\1\160\1\164\2\172\1\164\1\163\2\60\2\uffff\1\156\1\uffff\1\156\1\uffff\1\164\1\163\1\60\1\145\1\60\3\145\1\60\2\uffff\1\60\1\141\2\60\1\uffff\1\60\1\uffff\3\60\2\uffff\1\154\6\uffff\1\60\1\uffff"; static final String DFA12_maxS = - "\1\uffff\1\122\1\165\1\166\2\165\1\160\1\105\1\145\1\170\1\156\1\117\1\165\1\162\1\145\1\162\1\104\1\111\1\125\1\117\1\125\1\156\1\75\1\76\1\56\1\55\3\75\1\121\1\116\5\uffff\1\57\3\uffff\1\172\3\uffff\2\uffff\5\uffff\1\105\1\uffff\1\156\1\154\1\163\1\147\1\165\1\162\1\141\1\171\1\156\1\163\1\160\1\154\1\123\1\146\1\164\1\160\1\162\1\163\1\153\1\124\1\157\1\155\1\157\1\141\1\145\1\165\1\104\1\126\1\114\1\127\1\102\2\172\16\uffff\2\172\23\uffff\1\101\1\143\1\163\1\164\1\172\1\164\1\156\1\162\1\163\3\172\1\164\1\157\1\171\1\123\1\141\1\145\1\164\1\157\1\145\1\156\1\137\1\160\1\172\1\144\1\154\1\156\1\145\7\172\4\uffff\1\124\1\164\1\145\1\162\1\uffff\1\141\1\164\1\145\1\163\1\155\2\uffff\1\155\1\uffff\1\172\1\163\2\172\1\165\1\162\1\171\1\162\1\172\1\157\1\105\1\145\1\uffff\4\172\7\uffff\1\105\1\151\1\172\1\141\1\151\1\172\1\156\1\172\2\151\1\uffff\1\151\1\uffff\1\105\1\uffff\1\154\1\144\1\156\2\172\1\uffff\1\167\1\121\1\172\4\uffff\1\122\1\157\1\uffff\1\143\1\156\1\uffff\1\164\1\uffff\2\172\1\164\1\121\1\164\1\163\1\172\2\uffff\1\156\1\172\1\uffff\1\172\1\156\1\164\1\163\1\172\3\145\3\172\1\uffff\1\172\1\uffff\1\105\1\uffff\1\141\2\172\1\uffff\3\172\4\uffff\1\121\1\154\5\uffff\2\172\2\uffff"; + "\1\uffff\1\165\1\163\1\165\1\145\1\165\1\160\1\170\1\156\1\143\1\162\1\56\1\156\1\145\1\75\1\76\1\55\1\75\1\76\1\75\5\uffff\1\57\3\uffff\1\172\3\uffff\2\uffff\5\uffff\1\156\1\162\1\154\1\uffff\1\163\1\172\1\165\1\162\1\141\1\164\1\146\1\171\1\156\1\163\1\160\1\164\1\160\1\162\1\163\1\153\1\157\1\145\1\165\1\56\1\uffff\2\172\1\164\40\uffff\1\143\1\141\1\163\1\164\1\uffff\1\164\1\156\1\162\1\163\2\141\1\151\1\172\1\151\1\164\1\157\1\145\1\163\1\164\1\157\1\145\1\156\1\160\1\156\1\145\2\uffff\1\172\2\uffff\1\172\1\164\1\154\1\145\1\162\1\141\1\164\1\145\1\163\1\164\1\165\1\155\1\uffff\1\155\1\172\1\163\1\162\1\164\1\171\1\162\1\172\1\157\1\145\2\172\2\uffff\1\151\1\154\1\172\1\141\1\151\1\172\1\156\1\172\1\171\1\154\2\151\1\uffff\1\151\1\144\1\156\1\163\2\172\1\uffff\1\167\1\172\2\uffff\1\157\1\172\1\uffff\1\143\1\156\1\uffff\1\164\1\uffff\1\160\1\164\2\172\1\164\1\163\2\172\2\uffff\1\156\1\uffff\1\156\1\uffff\1\164\1\163\1\172\1\145\1\172\3\145\1\172\2\uffff\1\172\1\141\2\172\1\uffff\1\172\1\uffff\3\172\2\uffff\1\154\6\uffff\1\172\1\uffff"; static final String DFA12_acceptS = - "\37\uffff\1\66\1\67\1\70\1\71\1\72\1\uffff\1\77\1\103\1\104\1\uffff\1\106\1\107\1\110\2\uffff\1\113\1\114\1\115\1\117\1\120\1\uffff\1\114\41\uffff\1\52\1\65\1\53\1\73\1\54\1\74\1\55\1\76\1\56\1\100\1\57\1\101\1\60\1\102\2\uffff\1\66\1\67\1\70\1\71\1\72\1\113\1\116\1\75\1\77\1\103\1\104\1\105\1\106\1\107\1\110\1\111\1\112\1\115\1\117\44\uffff\1\64\1\63\1\61\1\62\4\uffff\1\43\5\uffff\1\46\1\47\1\uffff\1\50\14\uffff\1\51\4\uffff\1\36\1\37\1\40\1\41\1\42\1\44\1\45\12\uffff\1\30\1\uffff\1\31\1\uffff\1\26\5\uffff\1\27\3\uffff\1\32\1\33\1\34\1\35\2\uffff\1\24\2\uffff\1\21\1\uffff\1\20\7\uffff\1\22\1\23\2\uffff\1\25\13\uffff\1\17\1\uffff\1\16\1\uffff\1\10\3\uffff\1\12\3\uffff\1\11\1\13\1\14\1\15\2\uffff\1\3\1\4\1\5\1\6\1\7\2\uffff\1\1\1\2"; + "\24\uffff\1\51\1\52\1\53\1\54\1\55\1\uffff\1\62\1\66\1\67\1\uffff\1\71\1\72\1\73\2\uffff\1\76\1\77\1\100\1\102\1\103\3\uffff\1\77\24\uffff\1\57\3\uffff\1\35\1\50\1\36\1\56\1\40\1\61\1\41\1\63\1\42\1\43\1\64\1\44\1\65\1\51\1\52\1\53\1\54\1\55\1\76\1\101\1\60\1\62\1\66\1\67\1\70\1\71\1\72\1\73\1\74\1\75\1\100\1\102\4\uffff\1\45\24\uffff\1\31\1\37\1\uffff\1\47\1\46\14\uffff\1\34\14\uffff\1\32\1\33\14\uffff\1\26\6\uffff\1\25\2\uffff\1\27\1\30\2\uffff\1\23\2\uffff\1\20\1\uffff\1\17\10\uffff\1\21\1\22\1\uffff\1\24\1\uffff\1\16\11\uffff\1\15\1\14\4\uffff\1\10\1\uffff\1\11\3\uffff\1\12\1\13\1\uffff\1\2\1\3\1\4\1\5\1\6\1\7\1\uffff\1\1"; static final String DFA12_specialS = - "\1\1\53\uffff\1\0\1\2\u00ef\uffff}>"; + "\1\2\40\uffff\1\0\1\1\u00c8\uffff}>"; static final String[] DFA12_transitionS = { - "\11\62\2\61\2\62\1\61\22\62\1\61\1\26\1\54\2\62\1\56\1\62\1\55\1\37\1\40\1\41\1\42\1\43\1\27\1\30\1\44\12\60\1\31\1\45\1\32\1\33\1\34\2\62\1\20\2\57\1\21\1\35\1\57\1\1\1\57\1\36\2\57\1\7\1\22\1\13\1\57\1\23\2\57\1\24\7\57\1\46\1\62\1\47\1\50\1\57\1\62\1\3\1\57\1\4\1\10\1\11\1\2\2\57\1\25\3\57\1\5\1\57\1\6\1\15\1\57\1\16\1\14\1\17\1\12\5\57\1\51\1\52\1\53\uff82\62", - "\1\63", - "\1\66\23\uffff\1\65", - "\1\67\23\uffff\1\70", - "\1\73\2\uffff\1\71\5\uffff\1\72", - "\1\74\7\uffff\1\75\13\uffff\1\76", - "\1\100\1\uffff\1\77", - "\1\101", - "\1\102", - "\1\106\1\104\4\uffff\1\105\5\uffff\1\103", - "\1\107", + "\11\47\2\46\2\47\1\46\22\47\1\46\1\16\1\41\2\47\1\43\1\47\1\42\1\24\1\25\1\26\1\27\1\30\1\17\1\13\1\31\12\45\1\20\1\32\1\21\1\22\1\23\2\47\32\44\1\33\1\47\1\34\1\35\1\44\1\47\1\2\1\44\1\3\1\4\1\7\1\1\2\44\1\14\2\44\1\15\1\5\1\44\1\6\3\44\1\11\1\12\1\10\5\44\1\36\1\37\1\40\uff82\47", + "\1\52\15\uffff\1\51\5\uffff\1\50", + "\1\54\20\uffff\1\55", + "\1\60\2\uffff\1\56\5\uffff\1\57", + "\1\61\3\uffff\1\62", + "\1\63\7\uffff\1\64\13\uffff\1\65", + "\1\66", + "\1\72\1\70\4\uffff\1\71\5\uffff\1\67", + "\1\73", + "\1\74", + "\1\75\11\uffff\1\76", + "\1\77", + "\1\102\7\uffff\1\101", + "\1\103", + "\1\104", + "\1\106", "\1\110", - "\1\111\21\uffff\1\112", - "\1\113", - "\1\114", - "\1\115\11\uffff\1\116", + "\1\112", + "\1\114\1\115", "\1\117", - "\1\120", - "\1\121", - "\1\122", - "\1\123", - "\1\125\7\uffff\1\124", - "\1\126", - "\1\130", - "\1\132", - "\1\134", - "\1\136", - "\1\140", - "\1\142", - "\1\144", - "\1\145", "", "", "", "", "", - "\1\154\4\uffff\1\153", + "\1\127\4\uffff\1\126", "", "", "", - "\32\64\4\uffff\1\64\1\uffff\32\64", + "\32\53\4\uffff\1\53\1\uffff\32\53", "", "", "", - "\0\165", - "\0\166", + "\0\140", + "\0\141", "", "", "", "", "", + "\1\144", + "\1\145", + "\1\146", + "", + "\1\147", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\1\151\6\uffff\1\152", + "\1\153", + "\1\154", + "\1\155", + "\1\156", + "\1\157\1\160", + "\1\161", + "\1\162", + "\1\163", + "\1\165\12\uffff\1\164", + "\1\166", + "\1\167", + "\1\170", "\1\171", - "", "\1\172", "\1\173", "\1\174", "\1\175", - "\1\176\6\uffff\1\177", - "\1\u0080", - "\1\u0081", - "\1\u0082\1\u0083", - "\1\u0084", - "\1\u0085", - "\1\u0086", - "\1\u0087", - "\1\u0088", - "\1\u0089", - "\1\u008a", - "\1\u008b", - "\1\u008c", - "\1\u008d", - "\1\u008e", - "\1\u008f", - "\1\u0090", - "\1\u0091", - "\1\u0092", - "\1\u0093", - "\1\u0094", - "\1\u0095", - "\1\u0096", - "\1\u0097", - "\1\u0098", - "\1\u0099", - "\1\u009a", - "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\5\64\1\u009b\15\64\1\u009c\6\64", - "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64", + "", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\5\53\1\177\24\53", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\1\u0082", + "", + "", + "", + "", "", "", "", @@ -2847,8 +2456,6 @@ public class InternalSolverLanguageLexer extends Lexer { "", "", "", - "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64", - "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64", "", "", "", @@ -2863,174 +2470,140 @@ public class InternalSolverLanguageLexer extends Lexer { "", "", "", + "\1\u0083", + "\1\u0084", + "\1\u0085", + "\1\u0086", "", + "\1\u0087", + "\1\u0088", + "\1\u0089", + "\1\u008a", + "\1\u008b", + "\1\u008c", + "\1\u008d", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\1\u008f", + "\1\u0090", + "\1\u0091", + "\1\u0092", + "\1\u0093", + "\1\u0094", + "\1\u0095", + "\1\u0096", + "\1\u0097", + "\1\u0098", + "\1\u0099", + "\1\u009a", "", "", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", "", "", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\1\u009d", + "\1\u009e", + "\1\u009f", + "\1\u00a0", "\1\u00a1", "\1\u00a2", "\1\u00a3", "\1\u00a4", - "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64", + "\1\u00a5", "\1\u00a6", "\1\u00a7", + "", "\1\u00a8", - "\1\u00a9", - "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\10\64\1\u00aa\21\64", - "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64", - "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\10\64\1\u00ad\21\64", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\1\u00aa", + "\1\u00ab\3\uffff\1\u00ac", + "\1\u00ad", + "\1\u00ae", "\1\u00af", - "\1\u00b0", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", "\1\u00b1", "\1\u00b2", - "\1\u00b3", - "\1\u00b4", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "", + "", "\1\u00b5", "\1\u00b6", - "\1\u00b7", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", "\1\u00b8", "\1\u00b9", - "\1\u00ba", - "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64", - "\1\u00bc", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\1\u00bb", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", "\1\u00bd", "\1\u00be", "\1\u00bf", - "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64", - "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64", - "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64", - "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64", - "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64", - "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64", - "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64", + "\1\u00c0", "", + "\1\u00c1", + "\1\u00c2", + "\1\u00c3", + "\1\u00c4", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", "", + "\1\u00c7", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", "", "", - "\1\u00c7", - "\1\u00c8", "\1\u00c9", - "\1\u00ca", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", "", "\1\u00cb", "\1\u00cc", + "", "\1\u00cd", + "", "\1\u00ce", "\1\u00cf", - "", - "", "\1\u00d0", - "", - "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64", + "\1\u00d1", "\1\u00d2", - "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64", - "\12\64\7\uffff\32\64\4\uffff\1\u00d4\1\uffff\32\64", + "\1\u00d3", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "", + "", "\1\u00d6", - "\1\u00d7\3\uffff\1\u00d8", + "", + "\1\u00d7", + "", + "\1\u00d8", "\1\u00d9", - "\1\u00da", - "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64", - "\1\u00dc", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\1\u00db", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", "\1\u00dd", "\1\u00de", - "", - "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64", - "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64", - "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64", - "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64", + "\1\u00df", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", "", "", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\1\u00e2", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", "", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", "", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", "", "", - "", - "\1\u00e3", - "\1\u00e4", - "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64", - "\1\u00e6", - "\1\u00e7", - "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64", "\1\u00e9", - "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64", - "\1\u00eb", - "\1\u00ec", - "", - "\1\u00ed", - "", - "\1\u00ee", - "", - "\1\u00ef", - "\1\u00f0", - "\1\u00f1", - "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64", - "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64", - "", - "\1\u00f4", - "\1\u00f5", - "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64", - "", - "", - "", - "", - "\1\u00f7", - "\1\u00f8", - "", - "\1\u00f9", - "\1\u00fa", - "", - "\1\u00fb", - "", - "\1\u00fc", - "\1\u00fd", - "\1\u00fe", - "\1\u00ff", - "\1\u0100", - "\1\u0101", - "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64", - "", - "", - "\1\u0103", - "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64", "", - "\12\64\7\uffff\32\64\4\uffff\1\u0105\1\uffff\32\64", - "\1\u0107", - "\1\u0108", - "\1\u0109", - "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64", - "\1\u010b", - "\1\u010c", - "\1\u010d", - "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64", - "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64", - "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64", "", - "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64", "", - "\1\u0112", "", - "\1\u0113", - "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64", - "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64", "", - "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64", - "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64", - "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64", - "", - "", - "", - "", - "\1\u0119", - "\1\u011a", - "", - "", - "", - "", - "", - "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64", - "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64", "", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", "" }; @@ -3064,135 +2637,113 @@ public class InternalSolverLanguageLexer extends Lexer { this.transition = DFA12_transition; } public String getDescription() { - return "1:1: Tokens : ( GREATER_EQ | Functional | Abstract | Contains | Maximize | Minimize | Opposite | GREATER | LESS_EQ | Current | Default | Extends | Unknown | NOT_EQ | Extern | Class | Count | Empty | Error | False | Scope | LESS | Else | Must | Only | Prod | Real | Then | True | ADD | DIV | MUL | POW | SUB | Avg | Inf | Int | Max | May | Min | Sum | ExclamationMarkEqualsSign | HyphenMinusGreaterThanSign | FullStopFullStop | ColonHyphenMinus | LessThanSignEqualsSign | EqualsSignEqualsSign | GreaterThanSignEqualsSign | EQ | IN | If | In | ExclamationMark | LeftParenthesis | RightParenthesis | Asterisk | PlusSign | Comma | HyphenMinus | FullStop | Solidus | Colon | Semicolon | LessThanSign | EqualsSign | GreaterThanSign | LeftSquareBracket | RightSquareBracket | CircumflexAccent | LeftCurlyBracket | VerticalLine | RightCurlyBracket | RULE_STRING | RULE_QUOTED_ID | RULE_SL_COMMENT | RULE_ID | RULE_INT | RULE_ML_COMMENT | RULE_WS | RULE_ANY_OTHER );"; + return "1:1: Tokens : ( Functional | Abstract | Contains | Datatype | Maximize | Minimize | Opposite | Current | Default | Extends | Unknown | Exists | Extern | Forall | Class | Count | Empty | Error | False | Scope | Else | Must | Then | True | FullStopFullStopFullStop | Inf | Let | May | ExclamationMarkEqualsSign | HyphenMinusGreaterThanSign | FullStopFullStop | ColonHyphenMinus | LessThanSignEqualsSign | EqualsSignEqualsSign | EqualsSignGreaterThanSign | GreaterThanSignEqualsSign | As | If | In | ExclamationMark | LeftParenthesis | RightParenthesis | Asterisk | PlusSign | Comma | HyphenMinus | FullStop | Solidus | Colon | Semicolon | LessThanSign | EqualsSign | GreaterThanSign | LeftSquareBracket | RightSquareBracket | CircumflexAccent | LeftCurlyBracket | VerticalLine | RightCurlyBracket | RULE_STRING | RULE_QUOTED_ID | RULE_SL_COMMENT | RULE_ID | RULE_INT | RULE_ML_COMMENT | RULE_WS | RULE_ANY_OTHER );"; } public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { IntStream input = _input; int _s = s; switch ( s ) { case 0 : - int LA12_44 = input.LA(1); + int LA12_33 = input.LA(1); s = -1; - if ( ((LA12_44>='\u0000' && LA12_44<='\uFFFF')) ) {s = 117;} + if ( ((LA12_33>='\u0000' && LA12_33<='\uFFFF')) ) {s = 96;} - else s = 50; + else s = 39; if ( s>=0 ) return s; break; case 1 : - int LA12_0 = input.LA(1); + int LA12_34 = input.LA(1); s = -1; - if ( (LA12_0=='G') ) {s = 1;} - - else if ( (LA12_0=='f') ) {s = 2;} - - else if ( (LA12_0=='a') ) {s = 3;} - - else if ( (LA12_0=='c') ) {s = 4;} - - else if ( (LA12_0=='m') ) {s = 5;} - - else if ( (LA12_0=='o') ) {s = 6;} + if ( ((LA12_34>='\u0000' && LA12_34<='\uFFFF')) ) {s = 97;} - else if ( (LA12_0=='L') ) {s = 7;} + else s = 39; - else if ( (LA12_0=='d') ) {s = 8;} - - else if ( (LA12_0=='e') ) {s = 9;} - - else if ( (LA12_0=='u') ) {s = 10;} - - else if ( (LA12_0=='N') ) {s = 11;} - - else if ( (LA12_0=='s') ) {s = 12;} - - else if ( (LA12_0=='p') ) {s = 13;} - - else if ( (LA12_0=='r') ) {s = 14;} + if ( s>=0 ) return s; + break; + case 2 : + int LA12_0 = input.LA(1); - else if ( (LA12_0=='t') ) {s = 15;} + s = -1; + if ( (LA12_0=='f') ) {s = 1;} - else if ( (LA12_0=='A') ) {s = 16;} + else if ( (LA12_0=='a') ) {s = 2;} - else if ( (LA12_0=='D') ) {s = 17;} + else if ( (LA12_0=='c') ) {s = 3;} - else if ( (LA12_0=='M') ) {s = 18;} + else if ( (LA12_0=='d') ) {s = 4;} - else if ( (LA12_0=='P') ) {s = 19;} + else if ( (LA12_0=='m') ) {s = 5;} - else if ( (LA12_0=='S') ) {s = 20;} + else if ( (LA12_0=='o') ) {s = 6;} - else if ( (LA12_0=='i') ) {s = 21;} + else if ( (LA12_0=='e') ) {s = 7;} - else if ( (LA12_0=='!') ) {s = 22;} + else if ( (LA12_0=='u') ) {s = 8;} - else if ( (LA12_0=='-') ) {s = 23;} + else if ( (LA12_0=='s') ) {s = 9;} - else if ( (LA12_0=='.') ) {s = 24;} + else if ( (LA12_0=='t') ) {s = 10;} - else if ( (LA12_0==':') ) {s = 25;} + else if ( (LA12_0=='.') ) {s = 11;} - else if ( (LA12_0=='<') ) {s = 26;} + else if ( (LA12_0=='i') ) {s = 12;} - else if ( (LA12_0=='=') ) {s = 27;} + else if ( (LA12_0=='l') ) {s = 13;} - else if ( (LA12_0=='>') ) {s = 28;} + else if ( (LA12_0=='!') ) {s = 14;} - else if ( (LA12_0=='E') ) {s = 29;} + else if ( (LA12_0=='-') ) {s = 15;} - else if ( (LA12_0=='I') ) {s = 30;} + else if ( (LA12_0==':') ) {s = 16;} - else if ( (LA12_0=='(') ) {s = 31;} + else if ( (LA12_0=='<') ) {s = 17;} - else if ( (LA12_0==')') ) {s = 32;} + else if ( (LA12_0=='=') ) {s = 18;} - else if ( (LA12_0=='*') ) {s = 33;} + else if ( (LA12_0=='>') ) {s = 19;} - else if ( (LA12_0=='+') ) {s = 34;} + else if ( (LA12_0=='(') ) {s = 20;} - else if ( (LA12_0==',') ) {s = 35;} + else if ( (LA12_0==')') ) {s = 21;} - else if ( (LA12_0=='/') ) {s = 36;} + else if ( (LA12_0=='*') ) {s = 22;} - else if ( (LA12_0==';') ) {s = 37;} + else if ( (LA12_0=='+') ) {s = 23;} - else if ( (LA12_0=='[') ) {s = 38;} + else if ( (LA12_0==',') ) {s = 24;} - else if ( (LA12_0==']') ) {s = 39;} + else if ( (LA12_0=='/') ) {s = 25;} - else if ( (LA12_0=='^') ) {s = 40;} + else if ( (LA12_0==';') ) {s = 26;} - else if ( (LA12_0=='{') ) {s = 41;} + else if ( (LA12_0=='[') ) {s = 27;} - else if ( (LA12_0=='|') ) {s = 42;} + else if ( (LA12_0==']') ) {s = 28;} - else if ( (LA12_0=='}') ) {s = 43;} + else if ( (LA12_0=='^') ) {s = 29;} - else if ( (LA12_0=='\"') ) {s = 44;} + else if ( (LA12_0=='{') ) {s = 30;} - else if ( (LA12_0=='\'') ) {s = 45;} + else if ( (LA12_0=='|') ) {s = 31;} - else if ( (LA12_0=='%') ) {s = 46;} + else if ( (LA12_0=='}') ) {s = 32;} - else if ( ((LA12_0>='B' && LA12_0<='C')||LA12_0=='F'||LA12_0=='H'||(LA12_0>='J' && LA12_0<='K')||LA12_0=='O'||(LA12_0>='Q' && LA12_0<='R')||(LA12_0>='T' && LA12_0<='Z')||LA12_0=='_'||LA12_0=='b'||(LA12_0>='g' && LA12_0<='h')||(LA12_0>='j' && LA12_0<='l')||LA12_0=='n'||LA12_0=='q'||(LA12_0>='v' && LA12_0<='z')) ) {s = 47;} + else if ( (LA12_0=='\"') ) {s = 33;} - else if ( ((LA12_0>='0' && LA12_0<='9')) ) {s = 48;} + else if ( (LA12_0=='\'') ) {s = 34;} - else if ( ((LA12_0>='\t' && LA12_0<='\n')||LA12_0=='\r'||LA12_0==' ') ) {s = 49;} + 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<='\uFFFF')) ) {s = 50;} + else if ( ((LA12_0>='A' && LA12_0<='Z')||LA12_0=='_'||LA12_0=='b'||(LA12_0>='g' && LA12_0<='h')||(LA12_0>='j' && LA12_0<='k')||LA12_0=='n'||(LA12_0>='p' && LA12_0<='r')||(LA12_0>='v' && LA12_0<='z')) ) {s = 36;} - if ( s>=0 ) return s; - break; - case 2 : - int LA12_45 = input.LA(1); + else if ( ((LA12_0>='0' && LA12_0<='9')) ) {s = 37;} - s = -1; - if ( ((LA12_45>='\u0000' && LA12_45<='\uFFFF')) ) {s = 118;} + else if ( ((LA12_0>='\t' && LA12_0<='\n')||LA12_0=='\r'||LA12_0==' ') ) {s = 38;} - else s = 50; + 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<='\uFFFF')) ) {s = 39;} if ( s>=0 ) return s; break; diff --git a/Application/org.eclipse.viatra.solver.language.ide/src-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/lexer/InternalSolverLanguageLexer.tokens b/Application/org.eclipse.viatra.solver.language.ide/src-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/lexer/InternalSolverLanguageLexer.tokens index 133cc9d6..178103e2 100644 --- a/Application/org.eclipse.viatra.solver.language.ide/src-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/lexer/InternalSolverLanguageLexer.tokens +++ b/Application/org.eclipse.viatra.solver.language.ide/src-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/lexer/InternalSolverLanguageLexer.tokens @@ -1,83 +1,70 @@ -ADD=33 -Abstract=6 -Asterisk=59 -Avg=38 -CircumflexAccent=72 -Class=19 -Colon=65 -ColonHyphenMinus=48 -Comma=61 -Contains=7 -Count=20 -Current=13 -DIV=34 -Default=14 -EQ=52 -Else=26 -Empty=21 -EqualsSign=68 -EqualsSignEqualsSign=50 -Error=22 -ExclamationMark=56 -ExclamationMarkEqualsSign=45 -Extends=15 -Extern=18 -False=23 -FullStop=63 -FullStopFullStop=47 -Functional=5 -GREATER=11 -GREATER_EQ=4 -GreaterThanSign=69 -GreaterThanSignEqualsSign=51 -HyphenMinus=62 -HyphenMinusGreaterThanSign=46 -IN=53 -If=54 -In=55 -Inf=39 -Int=40 -LESS=25 -LESS_EQ=12 -LeftCurlyBracket=73 -LeftParenthesis=57 -LeftSquareBracket=70 -LessThanSign=67 -LessThanSignEqualsSign=49 -MUL=35 -Max=41 +Abstract=5 +As=40 +Asterisk=46 +CircumflexAccent=59 +Class=18 +Colon=52 +ColonHyphenMinus=35 +Comma=48 +Contains=6 +Count=19 +Current=11 +Datatype=7 +Default=12 +Else=24 +Empty=20 +EqualsSign=55 +EqualsSignEqualsSign=37 +EqualsSignGreaterThanSign=38 +Error=21 +ExclamationMark=43 +ExclamationMarkEqualsSign=32 +Exists=15 +Extends=13 +Extern=16 +False=22 +Forall=17 +FullStop=50 +FullStopFullStop=34 +FullStopFullStopFullStop=28 +Functional=4 +GreaterThanSign=56 +GreaterThanSignEqualsSign=39 +HyphenMinus=49 +HyphenMinusGreaterThanSign=33 +If=41 +In=42 +Inf=29 +LeftCurlyBracket=60 +LeftParenthesis=44 +LeftSquareBracket=57 +LessThanSign=54 +LessThanSignEqualsSign=36 +Let=30 Maximize=8 -May=42 -Min=43 +May=31 Minimize=9 -Must=27 -NOT_EQ=17 -Only=28 +Must=25 Opposite=10 -POW=36 -PlusSign=60 -Prod=29 -RULE_ANY_OTHER=86 -RULE_FULL_STOP=81 -RULE_ID=82 -RULE_INT=83 -RULE_ML_COMMENT=84 -RULE_QUOTED_ID=77 -RULE_REFLEXIVE_TRANSITIVE_CLOSURE=80 -RULE_SL_COMMENT=78 -RULE_STRING=76 -RULE_TRANSITIVE_CLOSURE=79 -RULE_WS=85 -Real=30 -RightCurlyBracket=75 -RightParenthesis=58 -RightSquareBracket=71 -SUB=37 -Scope=24 -Semicolon=66 -Solidus=64 -Sum=44 -Then=31 -True=32 -Unknown=16 -VerticalLine=74 +PlusSign=47 +RULE_ANY_OTHER=73 +RULE_FULL_STOP=68 +RULE_ID=69 +RULE_INT=70 +RULE_ML_COMMENT=71 +RULE_QUOTED_ID=64 +RULE_REFLEXIVE_TRANSITIVE_CLOSURE=67 +RULE_SL_COMMENT=65 +RULE_STRING=63 +RULE_TRANSITIVE_CLOSURE=66 +RULE_WS=72 +RightCurlyBracket=62 +RightParenthesis=45 +RightSquareBracket=58 +Scope=23 +Semicolon=53 +Solidus=51 +Then=26 +True=27 +Unknown=14 +VerticalLine=61 diff --git a/Application/org.eclipse.viatra.solver.language.ui/src-gen/org/eclipse/viatra/solver/language/ui/contentassist/AbstractSolverLanguageProposalProvider.java b/Application/org.eclipse.viatra.solver.language.ui/src-gen/org/eclipse/viatra/solver/language/ui/contentassist/AbstractSolverLanguageProposalProvider.java index 4beca20e..5ee4eb1b 100644 --- a/Application/org.eclipse.viatra.solver.language.ui/src-gen/org/eclipse/viatra/solver/language/ui/contentassist/AbstractSolverLanguageProposalProvider.java +++ b/Application/org.eclipse.viatra.solver.language.ui/src-gen/org/eclipse/viatra/solver/language/ui/contentassist/AbstractSolverLanguageProposalProvider.java @@ -51,11 +51,8 @@ public abstract class AbstractSolverLanguageProposalProvider extends TerminalsPr public void completeDefaultDefinition_Range(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); } - public void completeExternPredicateDefinition_Head(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); - } public void completeMetricDefinition_Type(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); } public void completeMetricDefinition_Head(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); @@ -63,10 +60,40 @@ public abstract class AbstractSolverLanguageProposalProvider extends TerminalsPr public void completeMetricDefinition_Body(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); } + public void completeExternPredicateDefinition_Name(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeExternPredicateDefinition_ArgumentList(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } public void completeExternMetricDefinition_Type(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); + } + public void completeExternMetricDefinition_Name(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeExternMetricDefinition_ArgumentList(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeExternAggregatorDefinition_Type(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); + } + public void completeExternAggregatorDefinition_Name(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeExternAggregatorDefinition_InputType(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); + } + public void completeExternDatatypeDefinition_Name(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); } - public void completeExternMetricDefinition_Head(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + public void completeExternDatatypeDefinition_Supertypes(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); + } + public void completeVariable_Type(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); + } + public void completeVariable_Name(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); } public void completeIfElse_Condition(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { @@ -78,6 +105,24 @@ public abstract class AbstractSolverLanguageProposalProvider extends TerminalsPr public void completeIfElse_Else(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); } + public void completeLet_Bindings(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeLet_Body(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeLetBinding_Variable(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeLetBinding_Value(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeImplicationExpression_Op(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeImplicationExpression_Right(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } public void completeDisjunctiveExpression_Children(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); } @@ -120,16 +165,31 @@ public abstract class AbstractSolverLanguageProposalProvider extends TerminalsPr public void completeExponentialExpression_Right(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); } + public void completeCastExpression_Type(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); + } public void completeUnaryExpression_Op(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); } public void completeUnaryExpression_Body(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); } - public void completeCount_Body(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + public void completeLocalVariables_Variables(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeQuantifiedExpression_Quantifier(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeQuantifiedExpression_LocalVariables(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeQuantifiedExpression_Body(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); } public void completeAggregation_Op(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); + } + public void completeAggregation_LocalVariables(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); } public void completeAggregation_Body(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { @@ -246,9 +306,6 @@ public abstract class AbstractSolverLanguageProposalProvider extends TerminalsPr public void completeObjectiveDefinition_Objective(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); } - public void completeNamedElement_Name(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); - } public void complete_Problem(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { // subclasses may override @@ -268,16 +325,22 @@ public abstract class AbstractSolverLanguageProposalProvider extends TerminalsPr public void complete_DefaultDefinition(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { // subclasses may override } + public void complete_MetricDefinition(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } public void complete_ExternPredicateDefinition(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { // subclasses may override } - public void complete_MetricType(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + public void complete_ExternMetricDefinition(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { // subclasses may override } - public void complete_MetricDefinition(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + public void complete_ExternAggregatorDefinition(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { // subclasses may override } - public void complete_ExternMetricDefinition(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + public void complete_ExternDatatypeDefinition(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_Variable(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { // subclasses may override } public void complete_Expression(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { @@ -286,6 +349,18 @@ public abstract class AbstractSolverLanguageProposalProvider extends TerminalsPr public void complete_IfElse(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { // subclasses may override } + public void complete_Let(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_LetBinding(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_ImplicationOperator(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_ImplicationExpression(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } public void complete_DisjunctiveExpression(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { // subclasses may override } @@ -295,9 +370,6 @@ public abstract class AbstractSolverLanguageProposalProvider extends TerminalsPr public void complete_ConjunctiveExpression(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { // subclasses may override } - public void complete_BinaryOperator(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } public void complete_ComparisonOperator(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { // subclasses may override } @@ -322,6 +394,9 @@ public abstract class AbstractSolverLanguageProposalProvider extends TerminalsPr public void complete_ExponentialExpression(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { // subclasses may override } + public void complete_CastExpression(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } public void complete_UnaryOp(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { // subclasses may override } @@ -331,10 +406,13 @@ public abstract class AbstractSolverLanguageProposalProvider extends TerminalsPr public void complete_AggregationExpression(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { // subclasses may override } - public void complete_Count(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + public void complete_LocalVariables(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { // subclasses may override } - public void complete_AggregationOp(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + public void complete_Quantifier(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_QuantifiedExpression(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { // subclasses may override } public void complete_Aggregation(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { @@ -454,7 +532,4 @@ public abstract class AbstractSolverLanguageProposalProvider extends TerminalsPr public void complete_FULL_STOP(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { // subclasses may override } - public void complete_NamedElement(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } } diff --git a/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/ui/syntaxcoloring/.SolverSemanticHighlightCalculator.xtendbin b/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/ui/syntaxcoloring/.SolverSemanticHighlightCalculator.xtendbin index a71f12bf..d0f29da0 100644 Binary files a/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/ui/syntaxcoloring/.SolverSemanticHighlightCalculator.xtendbin and b/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/ui/syntaxcoloring/.SolverSemanticHighlightCalculator.xtendbin differ diff --git a/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/ui/syntaxcoloring/.SolverSemanticTextAttributeProvider.xtendbin b/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/ui/syntaxcoloring/.SolverSemanticTextAttributeProvider.xtendbin index 2972aaaa..1a22dc64 100644 Binary files a/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/ui/syntaxcoloring/.SolverSemanticTextAttributeProvider.xtendbin and b/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/ui/syntaxcoloring/.SolverSemanticTextAttributeProvider.xtendbin differ diff --git a/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/validation/.SolverLanguageValidator.xtendbin b/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/validation/.SolverLanguageValidator.xtendbin index 0aec0cb3..88122ad9 100644 Binary files a/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/validation/.SolverLanguageValidator.xtendbin and b/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/validation/.SolverLanguageValidator.xtendbin differ diff --git a/Application/org.eclipse.viatra.solver.language/.classpath b/Application/org.eclipse.viatra.solver.language/.classpath index 1287f96c..6b0b4bdb 100644 --- a/Application/org.eclipse.viatra.solver.language/.classpath +++ b/Application/org.eclipse.viatra.solver.language/.classpath @@ -1,9 +1,10 @@ - - - - - - - - - + + + + + + + + + + diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Aggregation.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Aggregation.java new file mode 100644 index 00000000..f6159bd8 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Aggregation.java @@ -0,0 +1,115 @@ +/** + * generated by Xtext 2.21.0 + */ +package org.eclipse.viatra.solver.language.solverLanguage; + + +/** + * + * A representation of the model object 'Aggregation'. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.Aggregation#getOp Op}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.Aggregation#getLocalVariables Local Variables}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.Aggregation#getBody Body}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.Aggregation#getCondition Condition}
    • + *
    + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getAggregation() + * @model + * @generated + */ +public interface Aggregation extends Expression { + /** + * Returns the value of the 'Op' reference. + * + * + * @return the value of the 'Op' reference. + * @see #setOp(NamedElement) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getAggregation_Op() + * @model + * @generated + */ + NamedElement getOp(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.Aggregation#getOp Op}' reference. + * + * + * @param value the new value of the 'Op' reference. + * @see #getOp() + * @generated + */ + void setOp(NamedElement value); + + /** + * Returns the value of the 'Local Variables' containment reference. + * + * + * @return the value of the 'Local Variables' containment reference. + * @see #setLocalVariables(LocalVariables) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getAggregation_LocalVariables() + * @model containment="true" + * @generated + */ + LocalVariables getLocalVariables(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.Aggregation#getLocalVariables Local Variables}' containment reference. + * + * + * @param value the new value of the 'Local Variables' containment reference. + * @see #getLocalVariables() + * @generated + */ + void setLocalVariables(LocalVariables value); + + /** + * Returns the value of the 'Body' containment reference. + * + * + * @return the value of the 'Body' containment reference. + * @see #setBody(Expression) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getAggregation_Body() + * @model containment="true" + * @generated + */ + Expression getBody(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.Aggregation#getBody Body}' containment reference. + * + * + * @param value the new value of the 'Body' containment reference. + * @see #getBody() + * @generated + */ + void setBody(Expression value); + + /** + * Returns the value of the 'Condition' containment reference. + * + * + * @return the value of the 'Condition' containment reference. + * @see #setCondition(Expression) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getAggregation_Condition() + * @model containment="true" + * @generated + */ + Expression getCondition(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.Aggregation#getCondition Condition}' containment reference. + * + * + * @param value the new value of the 'Condition' containment reference. + * @see #getCondition() + * @generated + */ + void setCondition(Expression value); + +} // Aggregation diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Argument.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Argument.java new file mode 100644 index 00000000..3f5d1b45 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Argument.java @@ -0,0 +1,19 @@ +/** + * generated by Xtext 2.21.0 + */ +package org.eclipse.viatra.solver.language.solverLanguage; + +import org.eclipse.emf.ecore.EObject; + +/** + * + * A representation of the model object 'Argument'. + * + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getArgument() + * @model + * @generated + */ +public interface Argument extends EObject { +} // Argument diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/ArgumentList.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/ArgumentList.java new file mode 100644 index 00000000..2be01423 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/ArgumentList.java @@ -0,0 +1,39 @@ +/** + * generated by Xtext 2.21.0 + */ +package org.eclipse.viatra.solver.language.solverLanguage; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EObject; + +/** + * + * A representation of the model object 'Argument List'. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.ArgumentList#getArguments Arguments}
    • + *
    + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getArgumentList() + * @model + * @generated + */ +public interface ArgumentList extends EObject { + /** + * Returns the value of the 'Arguments' containment reference list. + * The list contents are of type {@link org.eclipse.viatra.solver.language.solverLanguage.Argument}. + * + * + * @return the value of the 'Arguments' containment reference list. + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getArgumentList_Arguments() + * @model containment="true" + * @generated + */ + EList getArguments(); + +} // ArgumentList diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/BinaryExpression.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/BinaryExpression.java new file mode 100644 index 00000000..6b50beba --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/BinaryExpression.java @@ -0,0 +1,95 @@ +/** + * generated by Xtext 2.21.0 + */ +package org.eclipse.viatra.solver.language.solverLanguage; + + +/** + * + * A representation of the model object 'Binary Expression'. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.BinaryExpression#getLeft Left}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.BinaryExpression#getOp Op}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.BinaryExpression#getRight Right}
    • + *
    + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getBinaryExpression() + * @model + * @generated + */ +public interface BinaryExpression extends Expression { + /** + * Returns the value of the 'Left' containment reference. + * + * + * @return the value of the 'Left' containment reference. + * @see #setLeft(Expression) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getBinaryExpression_Left() + * @model containment="true" + * @generated + */ + Expression getLeft(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.BinaryExpression#getLeft Left}' containment reference. + * + * + * @param value the new value of the 'Left' containment reference. + * @see #getLeft() + * @generated + */ + void setLeft(Expression value); + + /** + * Returns the value of the 'Op' attribute. + * The literals are from the enumeration {@link org.eclipse.viatra.solver.language.solverLanguage.BinaryOperator}. + * + * + * @return the value of the 'Op' attribute. + * @see org.eclipse.viatra.solver.language.solverLanguage.BinaryOperator + * @see #setOp(BinaryOperator) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getBinaryExpression_Op() + * @model + * @generated + */ + BinaryOperator getOp(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.BinaryExpression#getOp Op}' attribute. + * + * + * @param value the new value of the 'Op' attribute. + * @see org.eclipse.viatra.solver.language.solverLanguage.BinaryOperator + * @see #getOp() + * @generated + */ + void setOp(BinaryOperator value); + + /** + * Returns the value of the 'Right' containment reference. + * + * + * @return the value of the 'Right' containment reference. + * @see #setRight(Expression) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getBinaryExpression_Right() + * @model containment="true" + * @generated + */ + Expression getRight(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.BinaryExpression#getRight Right}' containment reference. + * + * + * @param value the new value of the 'Right' containment reference. + * @see #getRight() + * @generated + */ + void setRight(Expression value); + +} // BinaryExpression diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/BinaryOperator.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/BinaryOperator.java new file mode 100644 index 00000000..ce34afc7 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/BinaryOperator.java @@ -0,0 +1,463 @@ +/** + * generated by Xtext 2.21.0 + */ +package org.eclipse.viatra.solver.language.solverLanguage; + +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 'Binary Operator', + * and utility methods for working with them. + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getBinaryOperator() + * @model + * @generated + */ +public enum BinaryOperator implements Enumerator { + /** + * The 'EQ' literal object. + * + * + * @see #EQ_VALUE + * @generated + * @ordered + */ + EQ(0, "EQ", "EQ"), + + /** + * The 'NOT EQ' literal object. + * + * + * @see #NOT_EQ_VALUE + * @generated + * @ordered + */ + NOT_EQ(1, "NOT_EQ", "NOT_EQ"), + + /** + * The 'LESS' literal object. + * + * + * @see #LESS_VALUE + * @generated + * @ordered + */ + LESS(2, "LESS", "LESS"), + + /** + * The 'LESS EQ' literal object. + * + * + * @see #LESS_EQ_VALUE + * @generated + * @ordered + */ + LESS_EQ(3, "LESS_EQ", "LESS_EQ"), + + /** + * The 'GREATER' literal object. + * + * + * @see #GREATER_VALUE + * @generated + * @ordered + */ + GREATER(4, "GREATER", "GREATER"), + + /** + * The 'GREATER EQ' literal object. + * + * + * @see #GREATER_EQ_VALUE + * @generated + * @ordered + */ + GREATER_EQ(5, "GREATER_EQ", "GREATER_EQ"), + + /** + * The 'IN' literal object. + * + * + * @see #IN_VALUE + * @generated + * @ordered + */ + IN(6, "IN", "IN"), + + /** + * The 'ADD' literal object. + * + * + * @see #ADD_VALUE + * @generated + * @ordered + */ + ADD(7, "ADD", "ADD"), + + /** + * The 'SUB' literal object. + * + * + * @see #SUB_VALUE + * @generated + * @ordered + */ + SUB(8, "SUB", "SUB"), + + /** + * The 'MUL' literal object. + * + * + * @see #MUL_VALUE + * @generated + * @ordered + */ + MUL(9, "MUL", "MUL"), + + /** + * The 'DIV' literal object. + * + * + * @see #DIV_VALUE + * @generated + * @ordered + */ + DIV(10, "DIV", "DIV"), + + /** + * The 'POW' literal object. + * + * + * @see #POW_VALUE + * @generated + * @ordered + */ + POW(11, "POW", "POW"), + + /** + * The 'IMPLIES' literal object. + * + * + * @see #IMPLIES_VALUE + * @generated + * @ordered + */ + IMPLIES(12, "IMPLIES", "IMPLIES"); + + /** + * The 'EQ' literal value. + * + * + * @see #EQ + * @model + * @generated + * @ordered + */ + public static final int EQ_VALUE = 0; + + /** + * The 'NOT EQ' literal value. + * + * + * @see #NOT_EQ + * @model + * @generated + * @ordered + */ + public static final int NOT_EQ_VALUE = 1; + + /** + * The 'LESS' literal value. + * + * + * @see #LESS + * @model + * @generated + * @ordered + */ + public static final int LESS_VALUE = 2; + + /** + * The 'LESS EQ' literal value. + * + * + * @see #LESS_EQ + * @model + * @generated + * @ordered + */ + public static final int LESS_EQ_VALUE = 3; + + /** + * The 'GREATER' literal value. + * + * + * @see #GREATER + * @model + * @generated + * @ordered + */ + public static final int GREATER_VALUE = 4; + + /** + * The 'GREATER EQ' literal value. + * + * + * @see #GREATER_EQ + * @model + * @generated + * @ordered + */ + public static final int GREATER_EQ_VALUE = 5; + + /** + * The 'IN' literal value. + * + * + * @see #IN + * @model + * @generated + * @ordered + */ + public static final int IN_VALUE = 6; + + /** + * The 'ADD' literal value. + * + * + * @see #ADD + * @model + * @generated + * @ordered + */ + public static final int ADD_VALUE = 7; + + /** + * The 'SUB' literal value. + * + * + * @see #SUB + * @model + * @generated + * @ordered + */ + public static final int SUB_VALUE = 8; + + /** + * The 'MUL' literal value. + * + * + * @see #MUL + * @model + * @generated + * @ordered + */ + public static final int MUL_VALUE = 9; + + /** + * The 'DIV' literal value. + * + * + * @see #DIV + * @model + * @generated + * @ordered + */ + public static final int DIV_VALUE = 10; + + /** + * The 'POW' literal value. + * + * + * @see #POW + * @model + * @generated + * @ordered + */ + public static final int POW_VALUE = 11; + + /** + * The 'IMPLIES' literal value. + * + * + * @see #IMPLIES + * @model + * @generated + * @ordered + */ + public static final int IMPLIES_VALUE = 12; + + /** + * An array of all the 'Binary Operator' enumerators. + * + * + * @generated + */ + private static final BinaryOperator[] VALUES_ARRAY = + new BinaryOperator[] { + EQ, + NOT_EQ, + LESS, + LESS_EQ, + GREATER, + GREATER_EQ, + IN, + ADD, + SUB, + MUL, + DIV, + POW, + IMPLIES, + }; + + /** + * A public read-only list of all the 'Binary Operator' enumerators. + * + * + * @generated + */ + public static final List VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); + + /** + * Returns the 'Binary Operator' literal with the specified literal value. + * + * + * @param literal the literal. + * @return the matching enumerator or null. + * @generated + */ + public static BinaryOperator get(String literal) { + for (int i = 0; i < VALUES_ARRAY.length; ++i) { + BinaryOperator result = VALUES_ARRAY[i]; + if (result.toString().equals(literal)) { + return result; + } + } + return null; + } + + /** + * Returns the 'Binary Operator' literal with the specified name. + * + * + * @param name the name. + * @return the matching enumerator or null. + * @generated + */ + public static BinaryOperator getByName(String name) { + for (int i = 0; i < VALUES_ARRAY.length; ++i) { + BinaryOperator result = VALUES_ARRAY[i]; + if (result.getName().equals(name)) { + return result; + } + } + return null; + } + + /** + * Returns the 'Binary Operator' literal with the specified integer value. + * + * + * @param value the integer value. + * @return the matching enumerator or null. + * @generated + */ + public static BinaryOperator get(int value) { + switch (value) { + case EQ_VALUE: return EQ; + case NOT_EQ_VALUE: return NOT_EQ; + case LESS_VALUE: return LESS; + case LESS_EQ_VALUE: return LESS_EQ; + case GREATER_VALUE: return GREATER; + case GREATER_EQ_VALUE: return GREATER_EQ; + case IN_VALUE: return IN; + case ADD_VALUE: return ADD; + case SUB_VALUE: return SUB; + case MUL_VALUE: return MUL; + case DIV_VALUE: return DIV; + case POW_VALUE: return POW; + case IMPLIES_VALUE: return IMPLIES; + } + 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 BinaryOperator(int value, String name, String literal) { + this.value = value; + this.name = name; + this.literal = literal; + } + + /** + * + * + * @generated + */ + @Override + public int getValue() { + return value; + } + + /** + * + * + * @generated + */ + @Override + public String getName() { + return name; + } + + /** + * + * + * @generated + */ + @Override + public String getLiteral() { + return literal; + } + + /** + * Returns the literal value of the enumerator, which is its string representation. + * + * + * @generated + */ + @Override + public String toString() { + return literal; + } + +} //BinaryOperator diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/BoundedMultiplicity.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/BoundedMultiplicity.java new file mode 100644 index 00000000..e0cea7d4 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/BoundedMultiplicity.java @@ -0,0 +1,69 @@ +/** + * generated by Xtext 2.21.0 + */ +package org.eclipse.viatra.solver.language.solverLanguage; + + +/** + * + * A representation of the model object 'Bounded Multiplicity'. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.BoundedMultiplicity#getLowerBound Lower Bound}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.BoundedMultiplicity#getUpperBound Upper Bound}
    • + *
    + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getBoundedMultiplicity() + * @model + * @generated + */ +public interface BoundedMultiplicity extends Multiplicity { + /** + * Returns the value of the 'Lower Bound' attribute. + * + * + * @return the value of the 'Lower Bound' attribute. + * @see #setLowerBound(int) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getBoundedMultiplicity_LowerBound() + * @model + * @generated + */ + int getLowerBound(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.BoundedMultiplicity#getLowerBound Lower Bound}' attribute. + * + * + * @param value the new value of the 'Lower Bound' attribute. + * @see #getLowerBound() + * @generated + */ + void setLowerBound(int value); + + /** + * Returns the value of the 'Upper Bound' attribute. + * + * + * @return the value of the 'Upper Bound' attribute. + * @see #setUpperBound(int) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getBoundedMultiplicity_UpperBound() + * @model + * @generated + */ + int getUpperBound(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.BoundedMultiplicity#getUpperBound Upper Bound}' attribute. + * + * + * @param value the new value of the 'Upper Bound' attribute. + * @see #getUpperBound() + * @generated + */ + void setUpperBound(int value); + +} // BoundedMultiplicity diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/BoundedScopeDefinition.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/BoundedScopeDefinition.java new file mode 100644 index 00000000..81f87193 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/BoundedScopeDefinition.java @@ -0,0 +1,69 @@ +/** + * generated by Xtext 2.21.0 + */ +package org.eclipse.viatra.solver.language.solverLanguage; + + +/** + * + * A representation of the model object 'Bounded Scope Definition'. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.BoundedScopeDefinition#getLowerBound Lower Bound}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.BoundedScopeDefinition#getUpperBound Upper Bound}
    • + *
    + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getBoundedScopeDefinition() + * @model + * @generated + */ +public interface BoundedScopeDefinition extends ScopeDefinition { + /** + * Returns the value of the 'Lower Bound' attribute. + * + * + * @return the value of the 'Lower Bound' attribute. + * @see #setLowerBound(int) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getBoundedScopeDefinition_LowerBound() + * @model + * @generated + */ + int getLowerBound(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.BoundedScopeDefinition#getLowerBound Lower Bound}' attribute. + * + * + * @param value the new value of the 'Lower Bound' attribute. + * @see #getLowerBound() + * @generated + */ + void setLowerBound(int value); + + /** + * Returns the value of the 'Upper Bound' attribute. + * + * + * @return the value of the 'Upper Bound' attribute. + * @see #setUpperBound(int) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getBoundedScopeDefinition_UpperBound() + * @model + * @generated + */ + int getUpperBound(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.BoundedScopeDefinition#getUpperBound Upper Bound}' attribute. + * + * + * @param value the new value of the 'Upper Bound' attribute. + * @see #getUpperBound() + * @generated + */ + void setUpperBound(int value); + +} // BoundedScopeDefinition diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Call.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Call.java new file mode 100644 index 00000000..ab0940bb --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Call.java @@ -0,0 +1,115 @@ +/** + * generated by Xtext 2.21.0 + */ +package org.eclipse.viatra.solver.language.solverLanguage; + + +/** + * + * A representation of the model object 'Call'. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.Call#getFunctor Functor}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.Call#isTransitiveClosure Transitive Closure}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.Call#isReflexiveTransitiveClosure Reflexive Transitive Closure}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.Call#getArgumentList Argument List}
    • + *
    + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getCall() + * @model + * @generated + */ +public interface Call extends Expression { + /** + * Returns the value of the 'Functor' containment reference. + * + * + * @return the value of the 'Functor' containment reference. + * @see #setFunctor(Reference) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getCall_Functor() + * @model containment="true" + * @generated + */ + Reference getFunctor(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.Call#getFunctor Functor}' containment reference. + * + * + * @param value the new value of the 'Functor' containment reference. + * @see #getFunctor() + * @generated + */ + void setFunctor(Reference value); + + /** + * Returns the value of the 'Transitive Closure' attribute. + * + * + * @return the value of the 'Transitive Closure' attribute. + * @see #setTransitiveClosure(boolean) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getCall_TransitiveClosure() + * @model + * @generated + */ + boolean isTransitiveClosure(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.Call#isTransitiveClosure Transitive Closure}' attribute. + * + * + * @param value the new value of the 'Transitive Closure' attribute. + * @see #isTransitiveClosure() + * @generated + */ + void setTransitiveClosure(boolean value); + + /** + * Returns the value of the 'Reflexive Transitive Closure' attribute. + * + * + * @return the value of the 'Reflexive Transitive Closure' attribute. + * @see #setReflexiveTransitiveClosure(boolean) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getCall_ReflexiveTransitiveClosure() + * @model + * @generated + */ + boolean isReflexiveTransitiveClosure(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.Call#isReflexiveTransitiveClosure Reflexive Transitive Closure}' attribute. + * + * + * @param value the new value of the 'Reflexive Transitive Closure' attribute. + * @see #isReflexiveTransitiveClosure() + * @generated + */ + void setReflexiveTransitiveClosure(boolean value); + + /** + * Returns the value of the 'Argument List' containment reference. + * + * + * @return the value of the 'Argument List' containment reference. + * @see #setArgumentList(ArgumentList) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getCall_ArgumentList() + * @model containment="true" + * @generated + */ + ArgumentList getArgumentList(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.Call#getArgumentList Argument List}' containment reference. + * + * + * @param value the new value of the 'Argument List' containment reference. + * @see #getArgumentList() + * @generated + */ + void setArgumentList(ArgumentList value); + +} // Call diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Case.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Case.java new file mode 100644 index 00000000..f2d2e5a7 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Case.java @@ -0,0 +1,69 @@ +/** + * generated by Xtext 2.21.0 + */ +package org.eclipse.viatra.solver.language.solverLanguage; + + +/** + * + * A representation of the model object 'Case'. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.Case#getBody Body}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.Case#getCondition Condition}
    • + *
    + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getCase() + * @model + * @generated + */ +public interface Case extends Expression { + /** + * Returns the value of the 'Body' containment reference. + * + * + * @return the value of the 'Body' containment reference. + * @see #setBody(Expression) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getCase_Body() + * @model containment="true" + * @generated + */ + Expression getBody(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.Case#getBody Body}' containment reference. + * + * + * @param value the new value of the 'Body' containment reference. + * @see #getBody() + * @generated + */ + void setBody(Expression value); + + /** + * Returns the value of the 'Condition' containment reference. + * + * + * @return the value of the 'Condition' containment reference. + * @see #setCondition(Expression) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getCase_Condition() + * @model containment="true" + * @generated + */ + Expression getCondition(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.Case#getCondition Condition}' containment reference. + * + * + * @param value the new value of the 'Condition' containment reference. + * @see #getCondition() + * @generated + */ + void setCondition(Expression value); + +} // Case diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/CastExpression.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/CastExpression.java new file mode 100644 index 00000000..d8fe4945 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/CastExpression.java @@ -0,0 +1,69 @@ +/** + * generated by Xtext 2.21.0 + */ +package org.eclipse.viatra.solver.language.solverLanguage; + + +/** + * + * A representation of the model object 'Cast Expression'. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.CastExpression#getBody Body}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.CastExpression#getType Type}
    • + *
    + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getCastExpression() + * @model + * @generated + */ +public interface CastExpression extends Expression { + /** + * Returns the value of the 'Body' containment reference. + * + * + * @return the value of the 'Body' containment reference. + * @see #setBody(Expression) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getCastExpression_Body() + * @model containment="true" + * @generated + */ + Expression getBody(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.CastExpression#getBody Body}' containment reference. + * + * + * @param value the new value of the 'Body' containment reference. + * @see #getBody() + * @generated + */ + void setBody(Expression value); + + /** + * Returns the value of the 'Type' reference. + * + * + * @return the value of the 'Type' reference. + * @see #setType(NamedElement) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getCastExpression_Type() + * @model + * @generated + */ + NamedElement getType(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.CastExpression#getType Type}' reference. + * + * + * @param value the new value of the 'Type' reference. + * @see #getType() + * @generated + */ + void setType(NamedElement value); + +} // CastExpression diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/ClassDefinition.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/ClassDefinition.java new file mode 100644 index 00000000..0963c7a1 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/ClassDefinition.java @@ -0,0 +1,96 @@ +/** + * generated by Xtext 2.21.0 + */ +package org.eclipse.viatra.solver.language.solverLanguage; + +import org.eclipse.emf.common.util.EList; + +/** + * + * A representation of the model object 'Class Definition'. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.ClassDefinition#isAbstract Abstract}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.ClassDefinition#getName Name}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.ClassDefinition#getSuperclasses Superclasses}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.ClassDefinition#getMembers Members}
    • + *
    + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getClassDefinition() + * @model + * @generated + */ +public interface ClassDefinition extends Statement { + /** + * Returns the value of the 'Abstract' attribute. + * + * + * @return the value of the 'Abstract' attribute. + * @see #setAbstract(boolean) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getClassDefinition_Abstract() + * @model + * @generated + */ + boolean isAbstract(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.ClassDefinition#isAbstract Abstract}' attribute. + * + * + * @param value the new value of the 'Abstract' attribute. + * @see #isAbstract() + * @generated + */ + void setAbstract(boolean value); + + /** + * Returns the value of the 'Name' attribute. + * + * + * @return the value of the 'Name' attribute. + * @see #setName(String) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getClassDefinition_Name() + * @model + * @generated + */ + String getName(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.ClassDefinition#getName Name}' attribute. + * + * + * @param value the new value of the 'Name' attribute. + * @see #getName() + * @generated + */ + void setName(String value); + + /** + * Returns the value of the 'Superclasses' reference list. + * The list contents are of type {@link org.eclipse.viatra.solver.language.solverLanguage.NamedElement}. + * + * + * @return the value of the 'Superclasses' reference list. + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getClassDefinition_Superclasses() + * @model + * @generated + */ + EList getSuperclasses(); + + /** + * Returns the value of the 'Members' containment reference list. + * The list contents are of type {@link org.eclipse.viatra.solver.language.solverLanguage.MemberDefinition}. + * + * + * @return the value of the 'Members' containment reference list. + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getClassDefinition_Members() + * @model containment="true" + * @generated + */ + EList getMembers(); + +} // ClassDefinition diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Comparison.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Comparison.java new file mode 100644 index 00000000..5187c5db --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Comparison.java @@ -0,0 +1,95 @@ +/** + * generated by Xtext 2.21.0 + */ +package org.eclipse.viatra.solver.language.solverLanguage; + + +/** + * + * A representation of the model object 'Comparison'. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.Comparison#getLeft Left}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.Comparison#getOp Op}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.Comparison#getRight Right}
    • + *
    + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getComparison() + * @model + * @generated + */ +public interface Comparison extends Expression { + /** + * Returns the value of the 'Left' containment reference. + * + * + * @return the value of the 'Left' containment reference. + * @see #setLeft(Expression) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getComparison_Left() + * @model containment="true" + * @generated + */ + Expression getLeft(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.Comparison#getLeft Left}' containment reference. + * + * + * @param value the new value of the 'Left' containment reference. + * @see #getLeft() + * @generated + */ + void setLeft(Expression value); + + /** + * Returns the value of the 'Op' attribute. + * The literals are from the enumeration {@link org.eclipse.viatra.solver.language.solverLanguage.BinaryOperator}. + * + * + * @return the value of the 'Op' attribute. + * @see org.eclipse.viatra.solver.language.solverLanguage.BinaryOperator + * @see #setOp(BinaryOperator) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getComparison_Op() + * @model + * @generated + */ + BinaryOperator getOp(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.Comparison#getOp Op}' attribute. + * + * + * @param value the new value of the 'Op' attribute. + * @see org.eclipse.viatra.solver.language.solverLanguage.BinaryOperator + * @see #getOp() + * @generated + */ + void setOp(BinaryOperator value); + + /** + * Returns the value of the 'Right' containment reference. + * + * + * @return the value of the 'Right' containment reference. + * @see #setRight(Expression) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getComparison_Right() + * @model containment="true" + * @generated + */ + Expression getRight(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.Comparison#getRight Right}' containment reference. + * + * + * @param value the new value of the 'Right' containment reference. + * @see #getRight() + * @generated + */ + void setRight(Expression value); + +} // Comparison diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Conjunction.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Conjunction.java new file mode 100644 index 00000000..788f5a97 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Conjunction.java @@ -0,0 +1,37 @@ +/** + * generated by Xtext 2.21.0 + */ +package org.eclipse.viatra.solver.language.solverLanguage; + +import org.eclipse.emf.common.util.EList; + +/** + * + * A representation of the model object 'Conjunction'. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.Conjunction#getChildren Children}
    • + *
    + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getConjunction() + * @model + * @generated + */ +public interface Conjunction extends Expression { + /** + * Returns the value of the 'Children' containment reference list. + * The list contents are of type {@link org.eclipse.viatra.solver.language.solverLanguage.Expression}. + * + * + * @return the value of the 'Children' containment reference list. + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getConjunction_Children() + * @model containment="true" + * @generated + */ + EList getChildren(); + +} // Conjunction diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/DefaultDefinition.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/DefaultDefinition.java new file mode 100644 index 00000000..ac5f6f32 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/DefaultDefinition.java @@ -0,0 +1,69 @@ +/** + * generated by Xtext 2.21.0 + */ +package org.eclipse.viatra.solver.language.solverLanguage; + + +/** + * + * A representation of the model object 'Default Definition'. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.DefaultDefinition#getHead Head}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.DefaultDefinition#getRange Range}
    • + *
    + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getDefaultDefinition() + * @model + * @generated + */ +public interface DefaultDefinition extends Statement { + /** + * Returns the value of the 'Head' containment reference. + * + * + * @return the value of the 'Head' containment reference. + * @see #setHead(Call) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getDefaultDefinition_Head() + * @model containment="true" + * @generated + */ + Call getHead(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.DefaultDefinition#getHead Head}' containment reference. + * + * + * @param value the new value of the 'Head' containment reference. + * @see #getHead() + * @generated + */ + void setHead(Call value); + + /** + * Returns the value of the 'Range' containment reference. + * + * + * @return the value of the 'Range' containment reference. + * @see #setRange(Expression) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getDefaultDefinition_Range() + * @model containment="true" + * @generated + */ + Expression getRange(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.DefaultDefinition#getRange Range}' containment reference. + * + * + * @param value the new value of the 'Range' containment reference. + * @see #getRange() + * @generated + */ + void setRange(Expression value); + +} // DefaultDefinition diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Disjunction.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Disjunction.java new file mode 100644 index 00000000..eb1cafde --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Disjunction.java @@ -0,0 +1,37 @@ +/** + * generated by Xtext 2.21.0 + */ +package org.eclipse.viatra.solver.language.solverLanguage; + +import org.eclipse.emf.common.util.EList; + +/** + * + * A representation of the model object 'Disjunction'. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.Disjunction#getChildren Children}
    • + *
    + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getDisjunction() + * @model + * @generated + */ +public interface Disjunction extends Expression { + /** + * Returns the value of the 'Children' containment reference list. + * The list contents are of type {@link org.eclipse.viatra.solver.language.solverLanguage.Expression}. + * + * + * @return the value of the 'Children' containment reference list. + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getDisjunction_Children() + * @model containment="true" + * @generated + */ + EList getChildren(); + +} // Disjunction diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/EmptyIntervalLiteral.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/EmptyIntervalLiteral.java new file mode 100644 index 00000000..b3e5ccf7 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/EmptyIntervalLiteral.java @@ -0,0 +1,18 @@ +/** + * generated by Xtext 2.21.0 + */ +package org.eclipse.viatra.solver.language.solverLanguage; + + +/** + * + * A representation of the model object 'Empty Interval Literal'. + * + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getEmptyIntervalLiteral() + * @model + * @generated + */ +public interface EmptyIntervalLiteral extends Literal { +} // EmptyIntervalLiteral diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/ExactMultiplicity.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/ExactMultiplicity.java new file mode 100644 index 00000000..666c2f43 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/ExactMultiplicity.java @@ -0,0 +1,46 @@ +/** + * generated by Xtext 2.21.0 + */ +package org.eclipse.viatra.solver.language.solverLanguage; + + +/** + * + * A representation of the model object 'Exact Multiplicity'. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.ExactMultiplicity#getMultiplicity Multiplicity}
    • + *
    + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getExactMultiplicity() + * @model + * @generated + */ +public interface ExactMultiplicity extends Multiplicity { + /** + * Returns the value of the 'Multiplicity' attribute. + * + * + * @return the value of the 'Multiplicity' attribute. + * @see #setMultiplicity(int) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getExactMultiplicity_Multiplicity() + * @model + * @generated + */ + int getMultiplicity(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.ExactMultiplicity#getMultiplicity Multiplicity}' attribute. + * + * + * @param value the new value of the 'Multiplicity' attribute. + * @see #getMultiplicity() + * @generated + */ + void setMultiplicity(int value); + +} // ExactMultiplicity diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/ExactScopeDefinition.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/ExactScopeDefinition.java new file mode 100644 index 00000000..035329e2 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/ExactScopeDefinition.java @@ -0,0 +1,46 @@ +/** + * generated by Xtext 2.21.0 + */ +package org.eclipse.viatra.solver.language.solverLanguage; + + +/** + * + * A representation of the model object 'Exact Scope Definition'. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.ExactScopeDefinition#getExactScope Exact Scope}
    • + *
    + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getExactScopeDefinition() + * @model + * @generated + */ +public interface ExactScopeDefinition extends ScopeDefinition { + /** + * Returns the value of the 'Exact Scope' attribute. + * + * + * @return the value of the 'Exact Scope' attribute. + * @see #setExactScope(int) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getExactScopeDefinition_ExactScope() + * @model + * @generated + */ + int getExactScope(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.ExactScopeDefinition#getExactScope Exact Scope}' attribute. + * + * + * @param value the new value of the 'Exact Scope' attribute. + * @see #getExactScope() + * @generated + */ + void setExactScope(int value); + +} // ExactScopeDefinition diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Expression.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Expression.java new file mode 100644 index 00000000..2034cdfd --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Expression.java @@ -0,0 +1,18 @@ +/** + * generated by Xtext 2.21.0 + */ +package org.eclipse.viatra.solver.language.solverLanguage; + + +/** + * + * A representation of the model object 'Expression'. + * + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getExpression() + * @model abstract="true" + * @generated + */ +public interface Expression extends Statement { +} // Expression diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/ExpressionArgument.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/ExpressionArgument.java new file mode 100644 index 00000000..26f6142e --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/ExpressionArgument.java @@ -0,0 +1,46 @@ +/** + * generated by Xtext 2.21.0 + */ +package org.eclipse.viatra.solver.language.solverLanguage; + + +/** + * + * A representation of the model object 'Expression Argument'. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.ExpressionArgument#getBody Body}
    • + *
    + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getExpressionArgument() + * @model + * @generated + */ +public interface ExpressionArgument extends Argument { + /** + * Returns the value of the 'Body' containment reference. + * + * + * @return the value of the 'Body' containment reference. + * @see #setBody(Expression) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getExpressionArgument_Body() + * @model containment="true" + * @generated + */ + Expression getBody(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.ExpressionArgument#getBody Body}' containment reference. + * + * + * @param value the new value of the 'Body' containment reference. + * @see #getBody() + * @generated + */ + void setBody(Expression value); + +} // ExpressionArgument diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/ExternAggregatorDefinition.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/ExternAggregatorDefinition.java new file mode 100644 index 00000000..eb6b8cdf --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/ExternAggregatorDefinition.java @@ -0,0 +1,92 @@ +/** + * generated by Xtext 2.21.0 + */ +package org.eclipse.viatra.solver.language.solverLanguage; + + +/** + * + * A representation of the model object 'Extern Aggregator Definition'. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.ExternAggregatorDefinition#getType Type}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.ExternAggregatorDefinition#getName Name}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.ExternAggregatorDefinition#getInputType Input Type}
    • + *
    + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getExternAggregatorDefinition() + * @model + * @generated + */ +public interface ExternAggregatorDefinition extends Statement { + /** + * Returns the value of the 'Type' reference. + * + * + * @return the value of the 'Type' reference. + * @see #setType(NamedElement) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getExternAggregatorDefinition_Type() + * @model + * @generated + */ + NamedElement getType(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.ExternAggregatorDefinition#getType Type}' reference. + * + * + * @param value the new value of the 'Type' reference. + * @see #getType() + * @generated + */ + void setType(NamedElement value); + + /** + * Returns the value of the 'Name' attribute. + * + * + * @return the value of the 'Name' attribute. + * @see #setName(String) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getExternAggregatorDefinition_Name() + * @model + * @generated + */ + String getName(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.ExternAggregatorDefinition#getName Name}' attribute. + * + * + * @param value the new value of the 'Name' attribute. + * @see #getName() + * @generated + */ + void setName(String value); + + /** + * Returns the value of the 'Input Type' reference. + * + * + * @return the value of the 'Input Type' reference. + * @see #setInputType(NamedElement) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getExternAggregatorDefinition_InputType() + * @model + * @generated + */ + NamedElement getInputType(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.ExternAggregatorDefinition#getInputType Input Type}' reference. + * + * + * @param value the new value of the 'Input Type' reference. + * @see #getInputType() + * @generated + */ + void setInputType(NamedElement value); + +} // ExternAggregatorDefinition diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/ExternDatatypeDefinition.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/ExternDatatypeDefinition.java new file mode 100644 index 00000000..a0fb33eb --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/ExternDatatypeDefinition.java @@ -0,0 +1,60 @@ +/** + * generated by Xtext 2.21.0 + */ +package org.eclipse.viatra.solver.language.solverLanguage; + +import org.eclipse.emf.common.util.EList; + +/** + * + * A representation of the model object 'Extern Datatype Definition'. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.ExternDatatypeDefinition#getName Name}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.ExternDatatypeDefinition#getSupertypes Supertypes}
    • + *
    + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getExternDatatypeDefinition() + * @model + * @generated + */ +public interface ExternDatatypeDefinition extends Statement { + /** + * Returns the value of the 'Name' attribute. + * + * + * @return the value of the 'Name' attribute. + * @see #setName(String) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getExternDatatypeDefinition_Name() + * @model + * @generated + */ + String getName(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.ExternDatatypeDefinition#getName Name}' attribute. + * + * + * @param value the new value of the 'Name' attribute. + * @see #getName() + * @generated + */ + void setName(String value); + + /** + * Returns the value of the 'Supertypes' reference list. + * The list contents are of type {@link org.eclipse.viatra.solver.language.solverLanguage.NamedElement}. + * + * + * @return the value of the 'Supertypes' reference list. + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getExternDatatypeDefinition_Supertypes() + * @model + * @generated + */ + EList getSupertypes(); + +} // ExternDatatypeDefinition diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/ExternMetricDefinition.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/ExternMetricDefinition.java new file mode 100644 index 00000000..45cac1e2 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/ExternMetricDefinition.java @@ -0,0 +1,92 @@ +/** + * generated by Xtext 2.21.0 + */ +package org.eclipse.viatra.solver.language.solverLanguage; + + +/** + * + * A representation of the model object 'Extern Metric Definition'. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.ExternMetricDefinition#getType Type}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.ExternMetricDefinition#getName Name}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.ExternMetricDefinition#getArgumentList Argument List}
    • + *
    + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getExternMetricDefinition() + * @model + * @generated + */ +public interface ExternMetricDefinition extends Statement { + /** + * Returns the value of the 'Type' reference. + * + * + * @return the value of the 'Type' reference. + * @see #setType(NamedElement) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getExternMetricDefinition_Type() + * @model + * @generated + */ + NamedElement getType(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.ExternMetricDefinition#getType Type}' reference. + * + * + * @param value the new value of the 'Type' reference. + * @see #getType() + * @generated + */ + void setType(NamedElement value); + + /** + * Returns the value of the 'Name' attribute. + * + * + * @return the value of the 'Name' attribute. + * @see #setName(String) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getExternMetricDefinition_Name() + * @model + * @generated + */ + String getName(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.ExternMetricDefinition#getName Name}' attribute. + * + * + * @param value the new value of the 'Name' attribute. + * @see #getName() + * @generated + */ + void setName(String value); + + /** + * Returns the value of the 'Argument List' containment reference. + * + * + * @return the value of the 'Argument List' containment reference. + * @see #setArgumentList(ArgumentList) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getExternMetricDefinition_ArgumentList() + * @model containment="true" + * @generated + */ + ArgumentList getArgumentList(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.ExternMetricDefinition#getArgumentList Argument List}' containment reference. + * + * + * @param value the new value of the 'Argument List' containment reference. + * @see #getArgumentList() + * @generated + */ + void setArgumentList(ArgumentList value); + +} // ExternMetricDefinition diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/ExternPredicateDefinition.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/ExternPredicateDefinition.java new file mode 100644 index 00000000..647f7b91 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/ExternPredicateDefinition.java @@ -0,0 +1,69 @@ +/** + * generated by Xtext 2.21.0 + */ +package org.eclipse.viatra.solver.language.solverLanguage; + + +/** + * + * A representation of the model object 'Extern Predicate Definition'. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.ExternPredicateDefinition#getName Name}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.ExternPredicateDefinition#getArgumentList Argument List}
    • + *
    + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getExternPredicateDefinition() + * @model + * @generated + */ +public interface ExternPredicateDefinition extends Statement { + /** + * Returns the value of the 'Name' attribute. + * + * + * @return the value of the 'Name' attribute. + * @see #setName(String) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getExternPredicateDefinition_Name() + * @model + * @generated + */ + String getName(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.ExternPredicateDefinition#getName Name}' attribute. + * + * + * @param value the new value of the 'Name' attribute. + * @see #getName() + * @generated + */ + void setName(String value); + + /** + * Returns the value of the 'Argument List' containment reference. + * + * + * @return the value of the 'Argument List' containment reference. + * @see #setArgumentList(ArgumentList) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getExternPredicateDefinition_ArgumentList() + * @model containment="true" + * @generated + */ + ArgumentList getArgumentList(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.ExternPredicateDefinition#getArgumentList Argument List}' containment reference. + * + * + * @param value the new value of the 'Argument List' containment reference. + * @see #getArgumentList() + * @generated + */ + void setArgumentList(ArgumentList value); + +} // ExternPredicateDefinition diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Functor.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Functor.java new file mode 100644 index 00000000..45861d3e --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Functor.java @@ -0,0 +1,37 @@ +/** + * generated by Xtext 2.21.0 + */ +package org.eclipse.viatra.solver.language.solverLanguage; + +import org.eclipse.emf.common.util.EList; + +/** + * + * A representation of the model object 'Functor'. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.Functor#getParameters Parameters}
    • + *
    + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getFunctor() + * @model abstract="true" + * @generated + */ +public interface Functor extends NamedElement { + /** + * Returns the value of the 'Parameters' reference list. + * The list contents are of type {@link org.eclipse.viatra.solver.language.solverLanguage.Variable}. + * + * + * @return the value of the 'Parameters' reference list. + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getFunctor_Parameters() + * @model + * @generated + */ + EList getParameters(); + +} // Functor diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/IfElse.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/IfElse.java new file mode 100644 index 00000000..d32ca1e3 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/IfElse.java @@ -0,0 +1,92 @@ +/** + * generated by Xtext 2.21.0 + */ +package org.eclipse.viatra.solver.language.solverLanguage; + + +/** + * + * A representation of the model object 'If Else'. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.IfElse#getThen Then}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.IfElse#getElse Else}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.IfElse#getCondition Condition}
    • + *
    + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getIfElse() + * @model + * @generated + */ +public interface IfElse extends Expression { + /** + * Returns the value of the 'Then' containment reference. + * + * + * @return the value of the 'Then' containment reference. + * @see #setThen(Expression) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getIfElse_Then() + * @model containment="true" + * @generated + */ + Expression getThen(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.IfElse#getThen Then}' containment reference. + * + * + * @param value the new value of the 'Then' containment reference. + * @see #getThen() + * @generated + */ + void setThen(Expression value); + + /** + * Returns the value of the 'Else' containment reference. + * + * + * @return the value of the 'Else' containment reference. + * @see #setElse(Expression) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getIfElse_Else() + * @model containment="true" + * @generated + */ + Expression getElse(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.IfElse#getElse Else}' containment reference. + * + * + * @param value the new value of the 'Else' containment reference. + * @see #getElse() + * @generated + */ + void setElse(Expression value); + + /** + * Returns the value of the 'Condition' containment reference. + * + * + * @return the value of the 'Condition' containment reference. + * @see #setCondition(Expression) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getIfElse_Condition() + * @model containment="true" + * @generated + */ + Expression getCondition(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.IfElse#getCondition Condition}' containment reference. + * + * + * @param value the new value of the 'Condition' containment reference. + * @see #getCondition() + * @generated + */ + void setCondition(Expression value); + +} // IfElse diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/InfinityLiteral.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/InfinityLiteral.java new file mode 100644 index 00000000..5a584019 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/InfinityLiteral.java @@ -0,0 +1,18 @@ +/** + * generated by Xtext 2.21.0 + */ +package org.eclipse.viatra.solver.language.solverLanguage; + + +/** + * + * A representation of the model object 'Infinity Literal'. + * + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getInfinityLiteral() + * @model + * @generated + */ +public interface InfinityLiteral extends Literal { +} // InfinityLiteral diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Interpretation.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Interpretation.java new file mode 100644 index 00000000..4d1b6b77 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Interpretation.java @@ -0,0 +1,69 @@ +/** + * generated by Xtext 2.21.0 + */ +package org.eclipse.viatra.solver.language.solverLanguage; + + +/** + * + * A representation of the model object 'Interpretation'. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.Interpretation#getBody Body}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.Interpretation#getRange Range}
    • + *
    + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getInterpretation() + * @model + * @generated + */ +public interface Interpretation extends Statement { + /** + * Returns the value of the 'Body' containment reference. + * + * + * @return the value of the 'Body' containment reference. + * @see #setBody(Expression) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getInterpretation_Body() + * @model containment="true" + * @generated + */ + Expression getBody(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.Interpretation#getBody Body}' containment reference. + * + * + * @param value the new value of the 'Body' containment reference. + * @see #getBody() + * @generated + */ + void setBody(Expression value); + + /** + * Returns the value of the 'Range' containment reference. + * + * + * @return the value of the 'Range' containment reference. + * @see #setRange(Expression) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getInterpretation_Range() + * @model containment="true" + * @generated + */ + Expression getRange(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.Interpretation#getRange Range}' containment reference. + * + * + * @param value the new value of the 'Range' containment reference. + * @see #getRange() + * @generated + */ + void setRange(Expression value); + +} // Interpretation diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Interval.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Interval.java new file mode 100644 index 00000000..39e4cbf3 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Interval.java @@ -0,0 +1,69 @@ +/** + * generated by Xtext 2.21.0 + */ +package org.eclipse.viatra.solver.language.solverLanguage; + + +/** + * + * A representation of the model object 'Interval'. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.Interval#getLowerBound Lower Bound}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.Interval#getUpperBound Upper Bound}
    • + *
    + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getInterval() + * @model + * @generated + */ +public interface Interval extends Expression { + /** + * Returns the value of the 'Lower Bound' containment reference. + * + * + * @return the value of the 'Lower Bound' containment reference. + * @see #setLowerBound(Expression) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getInterval_LowerBound() + * @model containment="true" + * @generated + */ + Expression getLowerBound(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.Interval#getLowerBound Lower Bound}' containment reference. + * + * + * @param value the new value of the 'Lower Bound' containment reference. + * @see #getLowerBound() + * @generated + */ + void setLowerBound(Expression value); + + /** + * Returns the value of the 'Upper Bound' containment reference. + * + * + * @return the value of the 'Upper Bound' containment reference. + * @see #setUpperBound(Expression) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getInterval_UpperBound() + * @model containment="true" + * @generated + */ + Expression getUpperBound(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.Interval#getUpperBound Upper Bound}' containment reference. + * + * + * @param value the new value of the 'Upper Bound' containment reference. + * @see #getUpperBound() + * @generated + */ + void setUpperBound(Expression value); + +} // Interval diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Let.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Let.java new file mode 100644 index 00000000..d3e76c1e --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Let.java @@ -0,0 +1,60 @@ +/** + * generated by Xtext 2.21.0 + */ +package org.eclipse.viatra.solver.language.solverLanguage; + +import org.eclipse.emf.common.util.EList; + +/** + * + * A representation of the model object 'Let'. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.Let#getBindings Bindings}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.Let#getBody Body}
    • + *
    + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getLet() + * @model + * @generated + */ +public interface Let extends Expression { + /** + * Returns the value of the 'Bindings' containment reference list. + * The list contents are of type {@link org.eclipse.viatra.solver.language.solverLanguage.LetBinding}. + * + * + * @return the value of the 'Bindings' containment reference list. + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getLet_Bindings() + * @model containment="true" + * @generated + */ + EList getBindings(); + + /** + * Returns the value of the 'Body' containment reference. + * + * + * @return the value of the 'Body' containment reference. + * @see #setBody(Expression) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getLet_Body() + * @model containment="true" + * @generated + */ + Expression getBody(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.Let#getBody Body}' containment reference. + * + * + * @param value the new value of the 'Body' containment reference. + * @see #getBody() + * @generated + */ + void setBody(Expression value); + +} // Let diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/LetBinding.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/LetBinding.java new file mode 100644 index 00000000..f6569b11 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/LetBinding.java @@ -0,0 +1,70 @@ +/** + * generated by Xtext 2.21.0 + */ +package org.eclipse.viatra.solver.language.solverLanguage; + +import org.eclipse.emf.ecore.EObject; + +/** + * + * A representation of the model object 'Let Binding'. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.LetBinding#getVariable Variable}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.LetBinding#getValue Value}
    • + *
    + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getLetBinding() + * @model + * @generated + */ +public interface LetBinding extends EObject { + /** + * Returns the value of the 'Variable' containment reference. + * + * + * @return the value of the 'Variable' containment reference. + * @see #setVariable(NamedElement) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getLetBinding_Variable() + * @model containment="true" + * @generated + */ + NamedElement getVariable(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.LetBinding#getVariable Variable}' containment reference. + * + * + * @param value the new value of the 'Variable' containment reference. + * @see #getVariable() + * @generated + */ + void setVariable(NamedElement value); + + /** + * Returns the value of the 'Value' containment reference. + * + * + * @return the value of the 'Value' containment reference. + * @see #setValue(Expression) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getLetBinding_Value() + * @model containment="true" + * @generated + */ + Expression getValue(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.LetBinding#getValue Value}' containment reference. + * + * + * @param value the new value of the 'Value' containment reference. + * @see #getValue() + * @generated + */ + void setValue(Expression value); + +} // LetBinding diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Literal.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Literal.java new file mode 100644 index 00000000..c7f7a31a --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Literal.java @@ -0,0 +1,18 @@ +/** + * generated by Xtext 2.21.0 + */ +package org.eclipse.viatra.solver.language.solverLanguage; + + +/** + * + * A representation of the model object 'Literal'. + * + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getLiteral() + * @model + * @generated + */ +public interface Literal extends Expression { +} // Literal diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/LocalVariables.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/LocalVariables.java new file mode 100644 index 00000000..d5edda19 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/LocalVariables.java @@ -0,0 +1,39 @@ +/** + * generated by Xtext 2.21.0 + */ +package org.eclipse.viatra.solver.language.solverLanguage; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EObject; + +/** + * + * A representation of the model object 'Local Variables'. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.LocalVariables#getVariables Variables}
    • + *
    + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getLocalVariables() + * @model + * @generated + */ +public interface LocalVariables extends EObject { + /** + * Returns the value of the 'Variables' containment reference list. + * The list contents are of type {@link org.eclipse.viatra.solver.language.solverLanguage.NamedElement}. + * + * + * @return the value of the 'Variables' containment reference list. + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getLocalVariables_Variables() + * @model containment="true" + * @generated + */ + EList getVariables(); + +} // LocalVariables diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/LogicLiteral.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/LogicLiteral.java new file mode 100644 index 00000000..8c60650b --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/LogicLiteral.java @@ -0,0 +1,49 @@ +/** + * generated by Xtext 2.21.0 + */ +package org.eclipse.viatra.solver.language.solverLanguage; + + +/** + * + * A representation of the model object 'Logic Literal'. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.LogicLiteral#getValue Value}
    • + *
    + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getLogicLiteral() + * @model + * @generated + */ +public interface LogicLiteral extends Literal { + /** + * Returns the value of the 'Value' attribute. + * The literals are from the enumeration {@link org.eclipse.viatra.solver.language.solverLanguage.LogicValue}. + * + * + * @return the value of the 'Value' attribute. + * @see org.eclipse.viatra.solver.language.solverLanguage.LogicValue + * @see #setValue(LogicValue) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getLogicLiteral_Value() + * @model + * @generated + */ + LogicValue getValue(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.LogicLiteral#getValue Value}' attribute. + * + * + * @param value the new value of the 'Value' attribute. + * @see org.eclipse.viatra.solver.language.solverLanguage.LogicValue + * @see #getValue() + * @generated + */ + void setValue(LogicValue value); + +} // LogicLiteral diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/LogicValue.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/LogicValue.java new file mode 100644 index 00000000..5f129c05 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/LogicValue.java @@ -0,0 +1,256 @@ +/** + * generated by Xtext 2.21.0 + */ +package org.eclipse.viatra.solver.language.solverLanguage; + +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 'Logic Value', + * and utility methods for working with them. + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getLogicValue() + * @model + * @generated + */ +public enum LogicValue implements Enumerator { + /** + * The 'TRUE' literal object. + * + * + * @see #TRUE_VALUE + * @generated + * @ordered + */ + TRUE(0, "TRUE", "true"), + + /** + * The 'FALSE' literal object. + * + * + * @see #FALSE_VALUE + * @generated + * @ordered + */ + FALSE(1, "FALSE", "false"), + + /** + * The 'UNKNOWN' literal object. + * + * + * @see #UNKNOWN_VALUE + * @generated + * @ordered + */ + UNKNOWN(2, "UNKNOWN", "unknown"), + + /** + * The 'ERROR' literal object. + * + * + * @see #ERROR_VALUE + * @generated + * @ordered + */ + ERROR(3, "ERROR", "error"); + + /** + * The 'TRUE' literal value. + * + * + * @see #TRUE + * @model literal="true" + * @generated + * @ordered + */ + public static final int TRUE_VALUE = 0; + + /** + * The 'FALSE' literal value. + * + * + * @see #FALSE + * @model literal="false" + * @generated + * @ordered + */ + public static final int FALSE_VALUE = 1; + + /** + * The 'UNKNOWN' literal value. + * + * + * @see #UNKNOWN + * @model literal="unknown" + * @generated + * @ordered + */ + public static final int UNKNOWN_VALUE = 2; + + /** + * The 'ERROR' literal value. + * + * + * @see #ERROR + * @model literal="error" + * @generated + * @ordered + */ + public static final int ERROR_VALUE = 3; + + /** + * An array of all the 'Logic Value' enumerators. + * + * + * @generated + */ + private static final LogicValue[] VALUES_ARRAY = + new LogicValue[] { + TRUE, + FALSE, + UNKNOWN, + ERROR, + }; + + /** + * A public read-only list of all the 'Logic Value' enumerators. + * + * + * @generated + */ + public static final List VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); + + /** + * Returns the 'Logic Value' literal with the specified literal value. + * + * + * @param literal the literal. + * @return the matching enumerator or null. + * @generated + */ + public static LogicValue get(String literal) { + for (int i = 0; i < VALUES_ARRAY.length; ++i) { + LogicValue result = VALUES_ARRAY[i]; + if (result.toString().equals(literal)) { + return result; + } + } + return null; + } + + /** + * Returns the 'Logic Value' literal with the specified name. + * + * + * @param name the name. + * @return the matching enumerator or null. + * @generated + */ + public static LogicValue getByName(String name) { + for (int i = 0; i < VALUES_ARRAY.length; ++i) { + LogicValue result = VALUES_ARRAY[i]; + if (result.getName().equals(name)) { + return result; + } + } + return null; + } + + /** + * Returns the 'Logic Value' literal with the specified integer value. + * + * + * @param value the integer value. + * @return the matching enumerator or null. + * @generated + */ + public static LogicValue get(int value) { + switch (value) { + case TRUE_VALUE: return TRUE; + case FALSE_VALUE: return FALSE; + case UNKNOWN_VALUE: return UNKNOWN; + case ERROR_VALUE: return ERROR; + } + 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 LogicValue(int value, String name, String literal) { + this.value = value; + this.name = name; + this.literal = literal; + } + + /** + * + * + * @generated + */ + @Override + public int getValue() { + return value; + } + + /** + * + * + * @generated + */ + @Override + public String getName() { + return name; + } + + /** + * + * + * @generated + */ + @Override + public String getLiteral() { + return literal; + } + + /** + * Returns the literal value of the enumerator, which is its string representation. + * + * + * @generated + */ + @Override + public String toString() { + return literal; + } + +} //LogicValue diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/LowerBoundedScopeDefinition.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/LowerBoundedScopeDefinition.java new file mode 100644 index 00000000..1c1c6764 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/LowerBoundedScopeDefinition.java @@ -0,0 +1,46 @@ +/** + * generated by Xtext 2.21.0 + */ +package org.eclipse.viatra.solver.language.solverLanguage; + + +/** + * + * A representation of the model object 'Lower Bounded Scope Definition'. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.LowerBoundedScopeDefinition#getLowerBound Lower Bound}
    • + *
    + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getLowerBoundedScopeDefinition() + * @model + * @generated + */ +public interface LowerBoundedScopeDefinition extends ScopeDefinition { + /** + * Returns the value of the 'Lower Bound' attribute. + * + * + * @return the value of the 'Lower Bound' attribute. + * @see #setLowerBound(int) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getLowerBoundedScopeDefinition_LowerBound() + * @model + * @generated + */ + int getLowerBound(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.LowerBoundedScopeDefinition#getLowerBound Lower Bound}' attribute. + * + * + * @param value the new value of the 'Lower Bound' attribute. + * @see #getLowerBound() + * @generated + */ + void setLowerBound(int value); + +} // LowerBoundedScopeDefinition diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/ManyMultiplicity.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/ManyMultiplicity.java new file mode 100644 index 00000000..2d40f570 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/ManyMultiplicity.java @@ -0,0 +1,18 @@ +/** + * generated by Xtext 2.21.0 + */ +package org.eclipse.viatra.solver.language.solverLanguage; + + +/** + * + * A representation of the model object 'Many Multiplicity'. + * + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getManyMultiplicity() + * @model + * @generated + */ +public interface ManyMultiplicity extends Multiplicity { +} // ManyMultiplicity diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/MemberDefinition.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/MemberDefinition.java new file mode 100644 index 00000000..6a8d507e --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/MemberDefinition.java @@ -0,0 +1,139 @@ +/** + * generated by Xtext 2.21.0 + */ +package org.eclipse.viatra.solver.language.solverLanguage; + +import org.eclipse.emf.ecore.EObject; + +/** + * + * A representation of the model object 'Member Definition'. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.MemberDefinition#isContainment Containment}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.MemberDefinition#getType Type}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.MemberDefinition#getMultiplicity Multiplicity}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.MemberDefinition#getName Name}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.MemberDefinition#getOpposite Opposite}
    • + *
    + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getMemberDefinition() + * @model + * @generated + */ +public interface MemberDefinition extends EObject { + /** + * Returns the value of the 'Containment' attribute. + * + * + * @return the value of the 'Containment' attribute. + * @see #setContainment(boolean) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getMemberDefinition_Containment() + * @model + * @generated + */ + boolean isContainment(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.MemberDefinition#isContainment Containment}' attribute. + * + * + * @param value the new value of the 'Containment' attribute. + * @see #isContainment() + * @generated + */ + void setContainment(boolean value); + + /** + * Returns the value of the 'Type' reference. + * + * + * @return the value of the 'Type' reference. + * @see #setType(NamedElement) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getMemberDefinition_Type() + * @model + * @generated + */ + NamedElement getType(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.MemberDefinition#getType Type}' reference. + * + * + * @param value the new value of the 'Type' reference. + * @see #getType() + * @generated + */ + void setType(NamedElement value); + + /** + * Returns the value of the 'Multiplicity' containment reference. + * + * + * @return the value of the 'Multiplicity' containment reference. + * @see #setMultiplicity(Multiplicity) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getMemberDefinition_Multiplicity() + * @model containment="true" + * @generated + */ + Multiplicity getMultiplicity(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.MemberDefinition#getMultiplicity Multiplicity}' containment reference. + * + * + * @param value the new value of the 'Multiplicity' containment reference. + * @see #getMultiplicity() + * @generated + */ + void setMultiplicity(Multiplicity value); + + /** + * Returns the value of the 'Name' attribute. + * + * + * @return the value of the 'Name' attribute. + * @see #setName(String) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getMemberDefinition_Name() + * @model + * @generated + */ + String getName(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.MemberDefinition#getName Name}' attribute. + * + * + * @param value the new value of the 'Name' attribute. + * @see #getName() + * @generated + */ + void setName(String value); + + /** + * Returns the value of the 'Opposite' reference. + * + * + * @return the value of the 'Opposite' reference. + * @see #setOpposite(NamedElement) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getMemberDefinition_Opposite() + * @model + * @generated + */ + NamedElement getOpposite(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.MemberDefinition#getOpposite Opposite}' reference. + * + * + * @param value the new value of the 'Opposite' reference. + * @see #getOpposite() + * @generated + */ + void setOpposite(NamedElement value); + +} // MemberDefinition diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Metric.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Metric.java new file mode 100644 index 00000000..02724d03 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Metric.java @@ -0,0 +1,46 @@ +/** + * generated by Xtext 2.21.0 + */ +package org.eclipse.viatra.solver.language.solverLanguage; + + +/** + * + * A representation of the model object 'Metric'. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.Metric#getReturnType Return Type}
    • + *
    + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getMetric() + * @model + * @generated + */ +public interface Metric extends Functor { + /** + * Returns the value of the 'Return Type' reference. + * + * + * @return the value of the 'Return Type' reference. + * @see #setReturnType(NamedElement) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getMetric_ReturnType() + * @model + * @generated + */ + NamedElement getReturnType(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.Metric#getReturnType Return Type}' reference. + * + * + * @param value the new value of the 'Return Type' reference. + * @see #getReturnType() + * @generated + */ + void setReturnType(NamedElement value); + +} // Metric diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/MetricDefinition.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/MetricDefinition.java new file mode 100644 index 00000000..fa86f55e --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/MetricDefinition.java @@ -0,0 +1,92 @@ +/** + * generated by Xtext 2.21.0 + */ +package org.eclipse.viatra.solver.language.solverLanguage; + + +/** + * + * A representation of the model object 'Metric Definition'. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.MetricDefinition#getHead Head}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.MetricDefinition#getBody Body}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.MetricDefinition#getType Type}
    • + *
    + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getMetricDefinition() + * @model + * @generated + */ +public interface MetricDefinition extends Statement { + /** + * Returns the value of the 'Head' containment reference. + * + * + * @return the value of the 'Head' containment reference. + * @see #setHead(Expression) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getMetricDefinition_Head() + * @model containment="true" + * @generated + */ + Expression getHead(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.MetricDefinition#getHead Head}' containment reference. + * + * + * @param value the new value of the 'Head' containment reference. + * @see #getHead() + * @generated + */ + void setHead(Expression value); + + /** + * Returns the value of the 'Body' containment reference. + * + * + * @return the value of the 'Body' containment reference. + * @see #setBody(Expression) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getMetricDefinition_Body() + * @model containment="true" + * @generated + */ + Expression getBody(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.MetricDefinition#getBody Body}' containment reference. + * + * + * @param value the new value of the 'Body' containment reference. + * @see #getBody() + * @generated + */ + void setBody(Expression value); + + /** + * Returns the value of the 'Type' reference. + * + * + * @return the value of the 'Type' reference. + * @see #setType(NamedElement) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getMetricDefinition_Type() + * @model + * @generated + */ + NamedElement getType(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.MetricDefinition#getType Type}' reference. + * + * + * @param value the new value of the 'Type' reference. + * @see #getType() + * @generated + */ + void setType(NamedElement value); + +} // MetricDefinition diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Multiplicity.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Multiplicity.java new file mode 100644 index 00000000..5b6f1306 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Multiplicity.java @@ -0,0 +1,19 @@ +/** + * generated by Xtext 2.21.0 + */ +package org.eclipse.viatra.solver.language.solverLanguage; + +import org.eclipse.emf.ecore.EObject; + +/** + * + * A representation of the model object 'Multiplicity'. + * + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getMultiplicity() + * @model + * @generated + */ +public interface Multiplicity extends EObject { +} // Multiplicity diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/NamedElement.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/NamedElement.java new file mode 100644 index 00000000..4daa21ab --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/NamedElement.java @@ -0,0 +1,47 @@ +/** + * generated by Xtext 2.21.0 + */ +package org.eclipse.viatra.solver.language.solverLanguage; + +import org.eclipse.emf.ecore.EObject; + +/** + * + * A representation of the model object 'Named Element'. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.NamedElement#getName Name}
    • + *
    + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getNamedElement() + * @model + * @generated + */ +public interface NamedElement extends EObject { + /** + * Returns the value of the 'Name' attribute. + * + * + * @return the value of the 'Name' attribute. + * @see #setName(String) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getNamedElement_Name() + * @model + * @generated + */ + String getName(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.NamedElement#getName Name}' attribute. + * + * + * @param value the new value of the 'Name' attribute. + * @see #getName() + * @generated + */ + void setName(String value); + +} // NamedElement diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Node.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Node.java new file mode 100644 index 00000000..f9c5d833 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Node.java @@ -0,0 +1,46 @@ +/** + * generated by Xtext 2.21.0 + */ +package org.eclipse.viatra.solver.language.solverLanguage; + + +/** + * + * A representation of the model object 'Node'. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.Node#isWithId With Id}
    • + *
    + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getNode() + * @model + * @generated + */ +public interface Node extends NamedElement { + /** + * Returns the value of the 'With Id' attribute. + * + * + * @return the value of the 'With Id' attribute. + * @see #setWithId(boolean) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getNode_WithId() + * @model + * @generated + */ + boolean isWithId(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.Node#isWithId With Id}' attribute. + * + * + * @param value the new value of the 'With Id' attribute. + * @see #isWithId() + * @generated + */ + void setWithId(boolean value); + +} // Node diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/NumericLiteral.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/NumericLiteral.java new file mode 100644 index 00000000..dcefba48 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/NumericLiteral.java @@ -0,0 +1,47 @@ +/** + * generated by Xtext 2.21.0 + */ +package org.eclipse.viatra.solver.language.solverLanguage; + +import java.math.BigDecimal; + +/** + * + * A representation of the model object 'Numeric Literal'. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.NumericLiteral#getValue Value}
    • + *
    + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getNumericLiteral() + * @model + * @generated + */ +public interface NumericLiteral extends Literal { + /** + * Returns the value of the 'Value' attribute. + * + * + * @return the value of the 'Value' attribute. + * @see #setValue(BigDecimal) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getNumericLiteral_Value() + * @model + * @generated + */ + BigDecimal getValue(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.NumericLiteral#getValue Value}' attribute. + * + * + * @param value the new value of the 'Value' attribute. + * @see #getValue() + * @generated + */ + void setValue(BigDecimal value); + +} // NumericLiteral diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/ObjectiveDefinition.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/ObjectiveDefinition.java new file mode 100644 index 00000000..ffd46d01 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/ObjectiveDefinition.java @@ -0,0 +1,72 @@ +/** + * generated by Xtext 2.21.0 + */ +package org.eclipse.viatra.solver.language.solverLanguage; + + +/** + * + * A representation of the model object 'Objective Definition'. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.ObjectiveDefinition#getKind Kind}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.ObjectiveDefinition#getObjective Objective}
    • + *
    + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getObjectiveDefinition() + * @model + * @generated + */ +public interface ObjectiveDefinition extends Statement { + /** + * Returns the value of the 'Kind' attribute. + * The literals are from the enumeration {@link org.eclipse.viatra.solver.language.solverLanguage.ObjectiveKind}. + * + * + * @return the value of the 'Kind' attribute. + * @see org.eclipse.viatra.solver.language.solverLanguage.ObjectiveKind + * @see #setKind(ObjectiveKind) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getObjectiveDefinition_Kind() + * @model + * @generated + */ + ObjectiveKind getKind(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.ObjectiveDefinition#getKind Kind}' attribute. + * + * + * @param value the new value of the 'Kind' attribute. + * @see org.eclipse.viatra.solver.language.solverLanguage.ObjectiveKind + * @see #getKind() + * @generated + */ + void setKind(ObjectiveKind value); + + /** + * Returns the value of the 'Objective' containment reference. + * + * + * @return the value of the 'Objective' containment reference. + * @see #setObjective(Expression) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getObjectiveDefinition_Objective() + * @model containment="true" + * @generated + */ + Expression getObjective(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.ObjectiveDefinition#getObjective Objective}' containment reference. + * + * + * @param value the new value of the 'Objective' containment reference. + * @see #getObjective() + * @generated + */ + void setObjective(Expression value); + +} // ObjectiveDefinition diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/ObjectiveKind.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/ObjectiveKind.java new file mode 100644 index 00000000..72f5947c --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/ObjectiveKind.java @@ -0,0 +1,210 @@ +/** + * generated by Xtext 2.21.0 + */ +package org.eclipse.viatra.solver.language.solverLanguage; + +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 'Objective Kind', + * and utility methods for working with them. + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getObjectiveKind() + * @model + * @generated + */ +public enum ObjectiveKind implements Enumerator { + /** + * The 'MINIMIZE' literal object. + * + * + * @see #MINIMIZE_VALUE + * @generated + * @ordered + */ + MINIMIZE(0, "MINIMIZE", "minimize"), + + /** + * The 'MAXIMIZE' literal object. + * + * + * @see #MAXIMIZE_VALUE + * @generated + * @ordered + */ + MAXIMIZE(1, "MAXIMIZE", "maximize"); + + /** + * The 'MINIMIZE' literal value. + * + * + * @see #MINIMIZE + * @model literal="minimize" + * @generated + * @ordered + */ + public static final int MINIMIZE_VALUE = 0; + + /** + * The 'MAXIMIZE' literal value. + * + * + * @see #MAXIMIZE + * @model literal="maximize" + * @generated + * @ordered + */ + public static final int MAXIMIZE_VALUE = 1; + + /** + * An array of all the 'Objective Kind' enumerators. + * + * + * @generated + */ + private static final ObjectiveKind[] VALUES_ARRAY = + new ObjectiveKind[] { + MINIMIZE, + MAXIMIZE, + }; + + /** + * A public read-only list of all the 'Objective Kind' enumerators. + * + * + * @generated + */ + public static final List VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); + + /** + * Returns the 'Objective Kind' literal with the specified literal value. + * + * + * @param literal the literal. + * @return the matching enumerator or null. + * @generated + */ + public static ObjectiveKind get(String literal) { + for (int i = 0; i < VALUES_ARRAY.length; ++i) { + ObjectiveKind result = VALUES_ARRAY[i]; + if (result.toString().equals(literal)) { + return result; + } + } + return null; + } + + /** + * Returns the 'Objective Kind' literal with the specified name. + * + * + * @param name the name. + * @return the matching enumerator or null. + * @generated + */ + public static ObjectiveKind getByName(String name) { + for (int i = 0; i < VALUES_ARRAY.length; ++i) { + ObjectiveKind result = VALUES_ARRAY[i]; + if (result.getName().equals(name)) { + return result; + } + } + return null; + } + + /** + * Returns the 'Objective Kind' literal with the specified integer value. + * + * + * @param value the integer value. + * @return the matching enumerator or null. + * @generated + */ + public static ObjectiveKind get(int value) { + switch (value) { + case MINIMIZE_VALUE: return MINIMIZE; + case MAXIMIZE_VALUE: return MAXIMIZE; + } + 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 ObjectiveKind(int value, String name, String literal) { + this.value = value; + this.name = name; + this.literal = literal; + } + + /** + * + * + * @generated + */ + @Override + public int getValue() { + return value; + } + + /** + * + * + * @generated + */ + @Override + public String getName() { + return name; + } + + /** + * + * + * @generated + */ + @Override + public String getLiteral() { + return literal; + } + + /** + * Returns the literal value of the enumerator, which is its string representation. + * + * + * @generated + */ + @Override + public String toString() { + return literal; + } + +} //ObjectiveKind diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Predicate.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Predicate.java new file mode 100644 index 00000000..cfeaa0f2 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Predicate.java @@ -0,0 +1,18 @@ +/** + * generated by Xtext 2.21.0 + */ +package org.eclipse.viatra.solver.language.solverLanguage; + + +/** + * + * A representation of the model object 'Predicate'. + * + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getPredicate() + * @model + * @generated + */ +public interface Predicate extends Functor { +} // Predicate diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/PredicateDefinition.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/PredicateDefinition.java new file mode 100644 index 00000000..ff248906 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/PredicateDefinition.java @@ -0,0 +1,115 @@ +/** + * generated by Xtext 2.21.0 + */ +package org.eclipse.viatra.solver.language.solverLanguage; + + +/** + * + * A representation of the model object 'Predicate Definition'. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.PredicateDefinition#getHead Head}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.PredicateDefinition#getBody Body}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.PredicateDefinition#isFunctional Functional}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.PredicateDefinition#isError Error}
    • + *
    + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getPredicateDefinition() + * @model + * @generated + */ +public interface PredicateDefinition extends Statement { + /** + * Returns the value of the 'Head' containment reference. + * + * + * @return the value of the 'Head' containment reference. + * @see #setHead(Expression) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getPredicateDefinition_Head() + * @model containment="true" + * @generated + */ + Expression getHead(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.PredicateDefinition#getHead Head}' containment reference. + * + * + * @param value the new value of the 'Head' containment reference. + * @see #getHead() + * @generated + */ + void setHead(Expression value); + + /** + * Returns the value of the 'Body' containment reference. + * + * + * @return the value of the 'Body' containment reference. + * @see #setBody(Expression) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getPredicateDefinition_Body() + * @model containment="true" + * @generated + */ + Expression getBody(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.PredicateDefinition#getBody Body}' containment reference. + * + * + * @param value the new value of the 'Body' containment reference. + * @see #getBody() + * @generated + */ + void setBody(Expression value); + + /** + * Returns the value of the 'Functional' attribute. + * + * + * @return the value of the 'Functional' attribute. + * @see #setFunctional(boolean) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getPredicateDefinition_Functional() + * @model + * @generated + */ + boolean isFunctional(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.PredicateDefinition#isFunctional Functional}' attribute. + * + * + * @param value the new value of the 'Functional' attribute. + * @see #isFunctional() + * @generated + */ + void setFunctional(boolean value); + + /** + * Returns the value of the 'Error' attribute. + * + * + * @return the value of the 'Error' attribute. + * @see #setError(boolean) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getPredicateDefinition_Error() + * @model + * @generated + */ + boolean isError(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.PredicateDefinition#isError Error}' attribute. + * + * + * @param value the new value of the 'Error' attribute. + * @see #isError() + * @generated + */ + void setError(boolean value); + +} // PredicateDefinition diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Problem.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Problem.java new file mode 100644 index 00000000..56fac081 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Problem.java @@ -0,0 +1,39 @@ +/** + * generated by Xtext 2.21.0 + */ +package org.eclipse.viatra.solver.language.solverLanguage; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EObject; + +/** + * + * A representation of the model object 'Problem'. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.Problem#getStatements Statements}
    • + *
    + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getProblem() + * @model + * @generated + */ +public interface Problem extends EObject { + /** + * Returns the value of the 'Statements' containment reference list. + * The list contents are of type {@link org.eclipse.viatra.solver.language.solverLanguage.Statement}. + * + * + * @return the value of the 'Statements' containment reference list. + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getProblem_Statements() + * @model containment="true" + * @generated + */ + EList getStatements(); + +} // Problem diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/QuantifiedExpression.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/QuantifiedExpression.java new file mode 100644 index 00000000..0b2edb36 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/QuantifiedExpression.java @@ -0,0 +1,95 @@ +/** + * generated by Xtext 2.21.0 + */ +package org.eclipse.viatra.solver.language.solverLanguage; + + +/** + * + * A representation of the model object 'Quantified Expression'. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.QuantifiedExpression#getLocalVariables Local Variables}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.QuantifiedExpression#getBody Body}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.QuantifiedExpression#getQuantifier Quantifier}
    • + *
    + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getQuantifiedExpression() + * @model + * @generated + */ +public interface QuantifiedExpression extends Expression { + /** + * Returns the value of the 'Local Variables' containment reference. + * + * + * @return the value of the 'Local Variables' containment reference. + * @see #setLocalVariables(LocalVariables) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getQuantifiedExpression_LocalVariables() + * @model containment="true" + * @generated + */ + LocalVariables getLocalVariables(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.QuantifiedExpression#getLocalVariables Local Variables}' containment reference. + * + * + * @param value the new value of the 'Local Variables' containment reference. + * @see #getLocalVariables() + * @generated + */ + void setLocalVariables(LocalVariables value); + + /** + * Returns the value of the 'Body' containment reference. + * + * + * @return the value of the 'Body' containment reference. + * @see #setBody(Expression) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getQuantifiedExpression_Body() + * @model containment="true" + * @generated + */ + Expression getBody(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.QuantifiedExpression#getBody Body}' containment reference. + * + * + * @param value the new value of the 'Body' containment reference. + * @see #getBody() + * @generated + */ + void setBody(Expression value); + + /** + * Returns the value of the 'Quantifier' attribute. + * The literals are from the enumeration {@link org.eclipse.viatra.solver.language.solverLanguage.Quantifier}. + * + * + * @return the value of the 'Quantifier' attribute. + * @see org.eclipse.viatra.solver.language.solverLanguage.Quantifier + * @see #setQuantifier(Quantifier) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getQuantifiedExpression_Quantifier() + * @model + * @generated + */ + Quantifier getQuantifier(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.QuantifiedExpression#getQuantifier Quantifier}' attribute. + * + * + * @param value the new value of the 'Quantifier' attribute. + * @see org.eclipse.viatra.solver.language.solverLanguage.Quantifier + * @see #getQuantifier() + * @generated + */ + void setQuantifier(Quantifier value); + +} // QuantifiedExpression diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Quantifier.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Quantifier.java new file mode 100644 index 00000000..4c674fe0 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Quantifier.java @@ -0,0 +1,233 @@ +/** + * generated by Xtext 2.21.0 + */ +package org.eclipse.viatra.solver.language.solverLanguage; + +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 'Quantifier', + * and utility methods for working with them. + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getQuantifier() + * @model + * @generated + */ +public enum Quantifier implements Enumerator { + /** + * The 'EXISTS' literal object. + * + * + * @see #EXISTS_VALUE + * @generated + * @ordered + */ + EXISTS(0, "EXISTS", "EXISTS"), + + /** + * The 'FORALL' literal object. + * + * + * @see #FORALL_VALUE + * @generated + * @ordered + */ + FORALL(1, "FORALL", "FORALL"), + + /** + * The 'COUNT' literal object. + * + * + * @see #COUNT_VALUE + * @generated + * @ordered + */ + COUNT(2, "COUNT", "COUNT"); + + /** + * The 'EXISTS' literal value. + * + * + * @see #EXISTS + * @model + * @generated + * @ordered + */ + public static final int EXISTS_VALUE = 0; + + /** + * The 'FORALL' literal value. + * + * + * @see #FORALL + * @model + * @generated + * @ordered + */ + public static final int FORALL_VALUE = 1; + + /** + * The 'COUNT' literal value. + * + * + * @see #COUNT + * @model + * @generated + * @ordered + */ + public static final int COUNT_VALUE = 2; + + /** + * An array of all the 'Quantifier' enumerators. + * + * + * @generated + */ + private static final Quantifier[] VALUES_ARRAY = + new Quantifier[] { + EXISTS, + FORALL, + COUNT, + }; + + /** + * A public read-only list of all the 'Quantifier' enumerators. + * + * + * @generated + */ + public static final List VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); + + /** + * Returns the 'Quantifier' literal with the specified literal value. + * + * + * @param literal the literal. + * @return the matching enumerator or null. + * @generated + */ + public static Quantifier get(String literal) { + for (int i = 0; i < VALUES_ARRAY.length; ++i) { + Quantifier result = VALUES_ARRAY[i]; + if (result.toString().equals(literal)) { + return result; + } + } + return null; + } + + /** + * Returns the 'Quantifier' literal with the specified name. + * + * + * @param name the name. + * @return the matching enumerator or null. + * @generated + */ + public static Quantifier getByName(String name) { + for (int i = 0; i < VALUES_ARRAY.length; ++i) { + Quantifier result = VALUES_ARRAY[i]; + if (result.getName().equals(name)) { + return result; + } + } + return null; + } + + /** + * Returns the 'Quantifier' literal with the specified integer value. + * + * + * @param value the integer value. + * @return the matching enumerator or null. + * @generated + */ + public static Quantifier get(int value) { + switch (value) { + case EXISTS_VALUE: return EXISTS; + case FORALL_VALUE: return FORALL; + case COUNT_VALUE: return COUNT; + } + 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 Quantifier(int value, String name, String literal) { + this.value = value; + this.name = name; + this.literal = literal; + } + + /** + * + * + * @generated + */ + @Override + public int getValue() { + return value; + } + + /** + * + * + * @generated + */ + @Override + public String getName() { + return name; + } + + /** + * + * + * @generated + */ + @Override + public String getLiteral() { + return literal; + } + + /** + * Returns the literal value of the enumerator, which is its string representation. + * + * + * @generated + */ + @Override + public String toString() { + return literal; + } + +} //Quantifier diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Reference.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Reference.java new file mode 100644 index 00000000..5fd43f34 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Reference.java @@ -0,0 +1,46 @@ +/** + * generated by Xtext 2.21.0 + */ +package org.eclipse.viatra.solver.language.solverLanguage; + + +/** + * + * A representation of the model object 'Reference'. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.Reference#getReferred Referred}
    • + *
    + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getReference() + * @model + * @generated + */ +public interface Reference extends Expression { + /** + * Returns the value of the 'Referred' reference. + * + * + * @return the value of the 'Referred' reference. + * @see #setReferred(NamedElement) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getReference_Referred() + * @model + * @generated + */ + NamedElement getReferred(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.Reference#getReferred Referred}' reference. + * + * + * @param value the new value of the 'Referred' reference. + * @see #getReferred() + * @generated + */ + void setReferred(NamedElement value); + +} // Reference diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/ScopeDefinition.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/ScopeDefinition.java new file mode 100644 index 00000000..6cd03ef0 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/ScopeDefinition.java @@ -0,0 +1,46 @@ +/** + * generated by Xtext 2.21.0 + */ +package org.eclipse.viatra.solver.language.solverLanguage; + + +/** + * + * A representation of the model object 'Scope Definition'. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.ScopeDefinition#getType Type}
    • + *
    + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getScopeDefinition() + * @model + * @generated + */ +public interface ScopeDefinition extends Statement { + /** + * Returns the value of the 'Type' reference. + * + * + * @return the value of the 'Type' reference. + * @see #setType(NamedElement) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getScopeDefinition_Type() + * @model + * @generated + */ + NamedElement getType(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.ScopeDefinition#getType Type}' reference. + * + * + * @param value the new value of the 'Type' reference. + * @see #getType() + * @generated + */ + void setType(NamedElement value); + +} // ScopeDefinition diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/SolverLanguageFactory.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/SolverLanguageFactory.java new file mode 100644 index 00000000..6589eaa4 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/SolverLanguageFactory.java @@ -0,0 +1,538 @@ +/** + * generated by Xtext 2.21.0 + */ +package org.eclipse.viatra.solver.language.solverLanguage; + +import org.eclipse.emf.ecore.EFactory; + +/** + * + * The Factory for the model. + * It provides a create method for each non-abstract class of the model. + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage + * @generated + */ +public interface SolverLanguageFactory extends EFactory { + /** + * The singleton instance of the factory. + * + * + * @generated + */ + SolverLanguageFactory eINSTANCE = org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguageFactoryImpl.init(); + + /** + * Returns a new object of class 'Problem'. + * + * + * @return a new object of class 'Problem'. + * @generated + */ + Problem createProblem(); + + /** + * Returns a new object of class 'Statement'. + * + * + * @return a new object of class 'Statement'. + * @generated + */ + Statement createStatement(); + + /** + * Returns a new object of class 'Predicate Definition'. + * + * + * @return a new object of class 'Predicate Definition'. + * @generated + */ + PredicateDefinition createPredicateDefinition(); + + /** + * Returns a new object of class 'Unnamed Error Prediate Definition'. + * + * + * @return a new object of class 'Unnamed Error Prediate Definition'. + * @generated + */ + UnnamedErrorPrediateDefinition createUnnamedErrorPrediateDefinition(); + + /** + * Returns a new object of class 'Default Definition'. + * + * + * @return a new object of class 'Default Definition'. + * @generated + */ + DefaultDefinition createDefaultDefinition(); + + /** + * Returns a new object of class 'Metric Definition'. + * + * + * @return a new object of class 'Metric Definition'. + * @generated + */ + MetricDefinition createMetricDefinition(); + + /** + * Returns a new object of class 'Extern Predicate Definition'. + * + * + * @return a new object of class 'Extern Predicate Definition'. + * @generated + */ + ExternPredicateDefinition createExternPredicateDefinition(); + + /** + * Returns a new object of class 'Extern Metric Definition'. + * + * + * @return a new object of class 'Extern Metric Definition'. + * @generated + */ + ExternMetricDefinition createExternMetricDefinition(); + + /** + * Returns a new object of class 'Extern Aggregator Definition'. + * + * + * @return a new object of class 'Extern Aggregator Definition'. + * @generated + */ + ExternAggregatorDefinition createExternAggregatorDefinition(); + + /** + * Returns a new object of class 'Extern Datatype Definition'. + * + * + * @return a new object of class 'Extern Datatype Definition'. + * @generated + */ + ExternDatatypeDefinition createExternDatatypeDefinition(); + + /** + * Returns a new object of class 'Named Element'. + * + * + * @return a new object of class 'Named Element'. + * @generated + */ + NamedElement createNamedElement(); + + /** + * Returns a new object of class 'If Else'. + * + * + * @return a new object of class 'If Else'. + * @generated + */ + IfElse createIfElse(); + + /** + * Returns a new object of class 'Let'. + * + * + * @return a new object of class 'Let'. + * @generated + */ + Let createLet(); + + /** + * Returns a new object of class 'Let Binding'. + * + * + * @return a new object of class 'Let Binding'. + * @generated + */ + LetBinding createLetBinding(); + + /** + * Returns a new object of class 'Case'. + * + * + * @return a new object of class 'Case'. + * @generated + */ + Case createCase(); + + /** + * Returns a new object of class 'Local Variables'. + * + * + * @return a new object of class 'Local Variables'. + * @generated + */ + LocalVariables createLocalVariables(); + + /** + * Returns a new object of class 'Quantified Expression'. + * + * + * @return a new object of class 'Quantified Expression'. + * @generated + */ + QuantifiedExpression createQuantifiedExpression(); + + /** + * Returns a new object of class 'Aggregation'. + * + * + * @return a new object of class 'Aggregation'. + * @generated + */ + Aggregation createAggregation(); + + /** + * Returns a new object of class 'Call'. + * + * + * @return a new object of class 'Call'. + * @generated + */ + Call createCall(); + + /** + * Returns a new object of class 'Argument List'. + * + * + * @return a new object of class 'Argument List'. + * @generated + */ + ArgumentList createArgumentList(); + + /** + * Returns a new object of class 'Argument'. + * + * + * @return a new object of class 'Argument'. + * @generated + */ + Argument createArgument(); + + /** + * Returns a new object of class 'Expression Argument'. + * + * + * @return a new object of class 'Expression Argument'. + * @generated + */ + ExpressionArgument createExpressionArgument(); + + /** + * Returns a new object of class 'Star Argument'. + * + * + * @return a new object of class 'Star Argument'. + * @generated + */ + StarArgument createStarArgument(); + + /** + * Returns a new object of class 'Typed Argument'. + * + * + * @return a new object of class 'Typed Argument'. + * @generated + */ + TypedArgument createTypedArgument(); + + /** + * Returns a new object of class 'Typed Star Argument'. + * + * + * @return a new object of class 'Typed Star Argument'. + * @generated + */ + TypedStarArgument createTypedStarArgument(); + + /** + * Returns a new object of class 'Reference'. + * + * + * @return a new object of class 'Reference'. + * @generated + */ + Reference createReference(); + + /** + * Returns a new object of class 'Interval'. + * + * + * @return a new object of class 'Interval'. + * @generated + */ + Interval createInterval(); + + /** + * Returns a new object of class 'Literal'. + * + * + * @return a new object of class 'Literal'. + * @generated + */ + Literal createLiteral(); + + /** + * Returns a new object of class 'Logic Literal'. + * + * + * @return a new object of class 'Logic Literal'. + * @generated + */ + LogicLiteral createLogicLiteral(); + + /** + * Returns a new object of class 'Numeric Literal'. + * + * + * @return a new object of class 'Numeric Literal'. + * @generated + */ + NumericLiteral createNumericLiteral(); + + /** + * Returns a new object of class 'Infinity Literal'. + * + * + * @return a new object of class 'Infinity Literal'. + * @generated + */ + InfinityLiteral createInfinityLiteral(); + + /** + * Returns a new object of class 'Empty Interval Literal'. + * + * + * @return a new object of class 'Empty Interval Literal'. + * @generated + */ + EmptyIntervalLiteral createEmptyIntervalLiteral(); + + /** + * Returns a new object of class 'String Literal'. + * + * + * @return a new object of class 'String Literal'. + * @generated + */ + StringLiteral createStringLiteral(); + + /** + * Returns a new object of class 'Class Definition'. + * + * + * @return a new object of class 'Class Definition'. + * @generated + */ + ClassDefinition createClassDefinition(); + + /** + * Returns a new object of class 'Member Definition'. + * + * + * @return a new object of class 'Member Definition'. + * @generated + */ + MemberDefinition createMemberDefinition(); + + /** + * Returns a new object of class 'Multiplicity'. + * + * + * @return a new object of class 'Multiplicity'. + * @generated + */ + Multiplicity createMultiplicity(); + + /** + * Returns a new object of class 'Many Multiplicity'. + * + * + * @return a new object of class 'Many Multiplicity'. + * @generated + */ + ManyMultiplicity createManyMultiplicity(); + + /** + * Returns a new object of class 'Exact Multiplicity'. + * + * + * @return a new object of class 'Exact Multiplicity'. + * @generated + */ + ExactMultiplicity createExactMultiplicity(); + + /** + * Returns a new object of class 'Bounded Multiplicity'. + * + * + * @return a new object of class 'Bounded Multiplicity'. + * @generated + */ + BoundedMultiplicity createBoundedMultiplicity(); + + /** + * Returns a new object of class 'Scope Definition'. + * + * + * @return a new object of class 'Scope Definition'. + * @generated + */ + ScopeDefinition createScopeDefinition(); + + /** + * Returns a new object of class 'Exact Scope Definition'. + * + * + * @return a new object of class 'Exact Scope Definition'. + * @generated + */ + ExactScopeDefinition createExactScopeDefinition(); + + /** + * Returns a new object of class 'Bounded Scope Definition'. + * + * + * @return a new object of class 'Bounded Scope Definition'. + * @generated + */ + BoundedScopeDefinition createBoundedScopeDefinition(); + + /** + * Returns a new object of class 'Lower Bounded Scope Definition'. + * + * + * @return a new object of class 'Lower Bounded Scope Definition'. + * @generated + */ + LowerBoundedScopeDefinition createLowerBoundedScopeDefinition(); + + /** + * Returns a new object of class 'Objective Definition'. + * + * + * @return a new object of class 'Objective Definition'. + * @generated + */ + ObjectiveDefinition createObjectiveDefinition(); + + /** + * Returns a new object of class 'Interpretation'. + * + * + * @return a new object of class 'Interpretation'. + * @generated + */ + Interpretation createInterpretation(); + + /** + * Returns a new object of class 'Variable'. + * + * + * @return a new object of class 'Variable'. + * @generated + */ + Variable createVariable(); + + /** + * Returns a new object of class 'Disjunction'. + * + * + * @return a new object of class 'Disjunction'. + * @generated + */ + Disjunction createDisjunction(); + + /** + * Returns a new object of class 'Switch'. + * + * + * @return a new object of class 'Switch'. + * @generated + */ + Switch createSwitch(); + + /** + * Returns a new object of class 'Conjunction'. + * + * + * @return a new object of class 'Conjunction'. + * @generated + */ + Conjunction createConjunction(); + + /** + * Returns a new object of class 'Comparison'. + * + * + * @return a new object of class 'Comparison'. + * @generated + */ + Comparison createComparison(); + + /** + * Returns a new object of class 'Binary Expression'. + * + * + * @return a new object of class 'Binary Expression'. + * @generated + */ + BinaryExpression createBinaryExpression(); + + /** + * Returns a new object of class 'Cast Expression'. + * + * + * @return a new object of class 'Cast Expression'. + * @generated + */ + CastExpression createCastExpression(); + + /** + * Returns a new object of class 'Unary Expression'. + * + * + * @return a new object of class 'Unary Expression'. + * @generated + */ + UnaryExpression createUnaryExpression(); + + /** + * Returns a new object of class 'Node'. + * + * + * @return a new object of class 'Node'. + * @generated + */ + Node createNode(); + + /** + * Returns a new object of class 'Predicate'. + * + * + * @return a new object of class 'Predicate'. + * @generated + */ + Predicate createPredicate(); + + /** + * Returns a new object of class 'Metric'. + * + * + * @return a new object of class 'Metric'. + * @generated + */ + Metric createMetric(); + + /** + * Returns the package supported by this factory. + * + * + * @return the package supported by this factory. + * @generated + */ + SolverLanguagePackage getSolverLanguagePackage(); + +} //SolverLanguageFactory diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/SolverLanguagePackage.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/SolverLanguagePackage.java new file mode 100644 index 00000000..9e01d8db --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/SolverLanguagePackage.java @@ -0,0 +1,5191 @@ +/** + * generated by Xtext 2.21.0 + */ +package org.eclipse.viatra.solver.language.solverLanguage; + +import org.eclipse.emf.ecore.EAttribute; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EEnum; +import org.eclipse.emf.ecore.EPackage; +import org.eclipse.emf.ecore.EReference; + +/** + * + * The Package for the model. + * It contains accessors for the meta objects to represent + *
      + *
    • each class,
    • + *
    • each feature of each class,
    • + *
    • each enum,
    • + *
    • and each data type
    • + *
    + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguageFactory + * @model kind="package" + * @generated + */ +public interface SolverLanguagePackage extends EPackage { + /** + * The package name. + * + * + * @generated + */ + String eNAME = "solverLanguage"; + + /** + * The package namespace URI. + * + * + * @generated + */ + String eNS_URI = "http://www.eclipse.org/viatra/solver/language/SolverLanguage"; + + /** + * The package namespace name. + * + * + * @generated + */ + String eNS_PREFIX = "solverLanguage"; + + /** + * The singleton instance of the package. + * + * + * @generated + */ + SolverLanguagePackage eINSTANCE = org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl.init(); + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ProblemImpl Problem}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ProblemImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getProblem() + * @generated + */ + int PROBLEM = 0; + + /** + * The feature id for the 'Statements' containment reference list. + * + * + * @generated + * @ordered + */ + int PROBLEM__STATEMENTS = 0; + + /** + * The number of structural features of the 'Problem' class. + * + * + * @generated + * @ordered + */ + int PROBLEM_FEATURE_COUNT = 1; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.StatementImpl Statement}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.StatementImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getStatement() + * @generated + */ + int STATEMENT = 1; + + /** + * The number of structural features of the 'Statement' class. + * + * + * @generated + * @ordered + */ + int STATEMENT_FEATURE_COUNT = 0; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.PredicateDefinitionImpl Predicate Definition}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.PredicateDefinitionImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getPredicateDefinition() + * @generated + */ + int PREDICATE_DEFINITION = 2; + + /** + * The feature id for the 'Head' containment reference. + * + * + * @generated + * @ordered + */ + int PREDICATE_DEFINITION__HEAD = STATEMENT_FEATURE_COUNT + 0; + + /** + * The feature id for the 'Body' containment reference. + * + * + * @generated + * @ordered + */ + int PREDICATE_DEFINITION__BODY = STATEMENT_FEATURE_COUNT + 1; + + /** + * The feature id for the 'Functional' attribute. + * + * + * @generated + * @ordered + */ + int PREDICATE_DEFINITION__FUNCTIONAL = STATEMENT_FEATURE_COUNT + 2; + + /** + * The feature id for the 'Error' attribute. + * + * + * @generated + * @ordered + */ + int PREDICATE_DEFINITION__ERROR = STATEMENT_FEATURE_COUNT + 3; + + /** + * The number of structural features of the 'Predicate Definition' class. + * + * + * @generated + * @ordered + */ + int PREDICATE_DEFINITION_FEATURE_COUNT = STATEMENT_FEATURE_COUNT + 4; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.UnnamedErrorPrediateDefinitionImpl Unnamed Error Prediate Definition}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.UnnamedErrorPrediateDefinitionImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getUnnamedErrorPrediateDefinition() + * @generated + */ + int UNNAMED_ERROR_PREDIATE_DEFINITION = 3; + + /** + * The feature id for the 'Argument List' containment reference. + * + * + * @generated + * @ordered + */ + int UNNAMED_ERROR_PREDIATE_DEFINITION__ARGUMENT_LIST = STATEMENT_FEATURE_COUNT + 0; + + /** + * The feature id for the 'Body' containment reference. + * + * + * @generated + * @ordered + */ + int UNNAMED_ERROR_PREDIATE_DEFINITION__BODY = STATEMENT_FEATURE_COUNT + 1; + + /** + * The number of structural features of the 'Unnamed Error Prediate Definition' class. + * + * + * @generated + * @ordered + */ + int UNNAMED_ERROR_PREDIATE_DEFINITION_FEATURE_COUNT = STATEMENT_FEATURE_COUNT + 2; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.DefaultDefinitionImpl Default Definition}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.DefaultDefinitionImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getDefaultDefinition() + * @generated + */ + int DEFAULT_DEFINITION = 4; + + /** + * The feature id for the 'Head' containment reference. + * + * + * @generated + * @ordered + */ + int DEFAULT_DEFINITION__HEAD = STATEMENT_FEATURE_COUNT + 0; + + /** + * The feature id for the 'Range' containment reference. + * + * + * @generated + * @ordered + */ + int DEFAULT_DEFINITION__RANGE = STATEMENT_FEATURE_COUNT + 1; + + /** + * The number of structural features of the 'Default Definition' class. + * + * + * @generated + * @ordered + */ + int DEFAULT_DEFINITION_FEATURE_COUNT = STATEMENT_FEATURE_COUNT + 2; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.MetricDefinitionImpl Metric Definition}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.MetricDefinitionImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getMetricDefinition() + * @generated + */ + int METRIC_DEFINITION = 5; + + /** + * The feature id for the 'Head' containment reference. + * + * + * @generated + * @ordered + */ + int METRIC_DEFINITION__HEAD = STATEMENT_FEATURE_COUNT + 0; + + /** + * The feature id for the 'Body' containment reference. + * + * + * @generated + * @ordered + */ + int METRIC_DEFINITION__BODY = STATEMENT_FEATURE_COUNT + 1; + + /** + * The feature id for the 'Type' reference. + * + * + * @generated + * @ordered + */ + int METRIC_DEFINITION__TYPE = STATEMENT_FEATURE_COUNT + 2; + + /** + * The number of structural features of the 'Metric Definition' class. + * + * + * @generated + * @ordered + */ + int METRIC_DEFINITION_FEATURE_COUNT = STATEMENT_FEATURE_COUNT + 3; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExternPredicateDefinitionImpl Extern Predicate Definition}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ExternPredicateDefinitionImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getExternPredicateDefinition() + * @generated + */ + int EXTERN_PREDICATE_DEFINITION = 6; + + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + int EXTERN_PREDICATE_DEFINITION__NAME = STATEMENT_FEATURE_COUNT + 0; + + /** + * The feature id for the 'Argument List' containment reference. + * + * + * @generated + * @ordered + */ + int EXTERN_PREDICATE_DEFINITION__ARGUMENT_LIST = STATEMENT_FEATURE_COUNT + 1; + + /** + * The number of structural features of the 'Extern Predicate Definition' class. + * + * + * @generated + * @ordered + */ + int EXTERN_PREDICATE_DEFINITION_FEATURE_COUNT = STATEMENT_FEATURE_COUNT + 2; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExternMetricDefinitionImpl Extern Metric Definition}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ExternMetricDefinitionImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getExternMetricDefinition() + * @generated + */ + int EXTERN_METRIC_DEFINITION = 7; + + /** + * The feature id for the 'Type' reference. + * + * + * @generated + * @ordered + */ + int EXTERN_METRIC_DEFINITION__TYPE = STATEMENT_FEATURE_COUNT + 0; + + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + int EXTERN_METRIC_DEFINITION__NAME = STATEMENT_FEATURE_COUNT + 1; + + /** + * The feature id for the 'Argument List' containment reference. + * + * + * @generated + * @ordered + */ + int EXTERN_METRIC_DEFINITION__ARGUMENT_LIST = STATEMENT_FEATURE_COUNT + 2; + + /** + * The number of structural features of the 'Extern Metric Definition' class. + * + * + * @generated + * @ordered + */ + int EXTERN_METRIC_DEFINITION_FEATURE_COUNT = STATEMENT_FEATURE_COUNT + 3; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExternAggregatorDefinitionImpl Extern Aggregator Definition}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ExternAggregatorDefinitionImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getExternAggregatorDefinition() + * @generated + */ + int EXTERN_AGGREGATOR_DEFINITION = 8; + + /** + * The feature id for the 'Type' reference. + * + * + * @generated + * @ordered + */ + int EXTERN_AGGREGATOR_DEFINITION__TYPE = STATEMENT_FEATURE_COUNT + 0; + + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + int EXTERN_AGGREGATOR_DEFINITION__NAME = STATEMENT_FEATURE_COUNT + 1; + + /** + * The feature id for the 'Input Type' reference. + * + * + * @generated + * @ordered + */ + int EXTERN_AGGREGATOR_DEFINITION__INPUT_TYPE = STATEMENT_FEATURE_COUNT + 2; + + /** + * The number of structural features of the 'Extern Aggregator Definition' class. + * + * + * @generated + * @ordered + */ + int EXTERN_AGGREGATOR_DEFINITION_FEATURE_COUNT = STATEMENT_FEATURE_COUNT + 3; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExternDatatypeDefinitionImpl Extern Datatype Definition}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ExternDatatypeDefinitionImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getExternDatatypeDefinition() + * @generated + */ + int EXTERN_DATATYPE_DEFINITION = 9; + + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + int EXTERN_DATATYPE_DEFINITION__NAME = STATEMENT_FEATURE_COUNT + 0; + + /** + * The feature id for the 'Supertypes' reference list. + * + * + * @generated + * @ordered + */ + int EXTERN_DATATYPE_DEFINITION__SUPERTYPES = STATEMENT_FEATURE_COUNT + 1; + + /** + * The number of structural features of the 'Extern Datatype Definition' class. + * + * + * @generated + * @ordered + */ + int EXTERN_DATATYPE_DEFINITION_FEATURE_COUNT = STATEMENT_FEATURE_COUNT + 2; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.NamedElementImpl Named Element}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.NamedElementImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getNamedElement() + * @generated + */ + int NAMED_ELEMENT = 10; + + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + int NAMED_ELEMENT__NAME = 0; + + /** + * The number of structural features of the 'Named Element' class. + * + * + * @generated + * @ordered + */ + int NAMED_ELEMENT_FEATURE_COUNT = 1; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExpressionImpl Expression}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ExpressionImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getExpression() + * @generated + */ + int EXPRESSION = 11; + + /** + * The number of structural features of the 'Expression' class. + * + * + * @generated + * @ordered + */ + int EXPRESSION_FEATURE_COUNT = STATEMENT_FEATURE_COUNT + 0; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.IfElseImpl If Else}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.IfElseImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getIfElse() + * @generated + */ + int IF_ELSE = 12; + + /** + * The feature id for the 'Then' containment reference. + * + * + * @generated + * @ordered + */ + int IF_ELSE__THEN = EXPRESSION_FEATURE_COUNT + 0; + + /** + * The feature id for the 'Else' containment reference. + * + * + * @generated + * @ordered + */ + int IF_ELSE__ELSE = EXPRESSION_FEATURE_COUNT + 1; + + /** + * The feature id for the 'Condition' containment reference. + * + * + * @generated + * @ordered + */ + int IF_ELSE__CONDITION = EXPRESSION_FEATURE_COUNT + 2; + + /** + * The number of structural features of the 'If Else' class. + * + * + * @generated + * @ordered + */ + int IF_ELSE_FEATURE_COUNT = EXPRESSION_FEATURE_COUNT + 3; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.LetImpl Let}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.LetImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getLet() + * @generated + */ + int LET = 13; + + /** + * The feature id for the 'Bindings' containment reference list. + * + * + * @generated + * @ordered + */ + int LET__BINDINGS = EXPRESSION_FEATURE_COUNT + 0; + + /** + * The feature id for the 'Body' containment reference. + * + * + * @generated + * @ordered + */ + int LET__BODY = EXPRESSION_FEATURE_COUNT + 1; + + /** + * The number of structural features of the 'Let' class. + * + * + * @generated + * @ordered + */ + int LET_FEATURE_COUNT = EXPRESSION_FEATURE_COUNT + 2; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.LetBindingImpl Let Binding}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.LetBindingImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getLetBinding() + * @generated + */ + int LET_BINDING = 14; + + /** + * The feature id for the 'Variable' containment reference. + * + * + * @generated + * @ordered + */ + int LET_BINDING__VARIABLE = 0; + + /** + * The feature id for the 'Value' containment reference. + * + * + * @generated + * @ordered + */ + int LET_BINDING__VALUE = 1; + + /** + * The number of structural features of the 'Let Binding' class. + * + * + * @generated + * @ordered + */ + int LET_BINDING_FEATURE_COUNT = 2; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.CaseImpl Case}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.CaseImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getCase() + * @generated + */ + int CASE = 15; + + /** + * The feature id for the 'Body' containment reference. + * + * + * @generated + * @ordered + */ + int CASE__BODY = EXPRESSION_FEATURE_COUNT + 0; + + /** + * The feature id for the 'Condition' containment reference. + * + * + * @generated + * @ordered + */ + int CASE__CONDITION = EXPRESSION_FEATURE_COUNT + 1; + + /** + * The number of structural features of the 'Case' class. + * + * + * @generated + * @ordered + */ + int CASE_FEATURE_COUNT = EXPRESSION_FEATURE_COUNT + 2; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.LocalVariablesImpl Local Variables}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.LocalVariablesImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getLocalVariables() + * @generated + */ + int LOCAL_VARIABLES = 16; + + /** + * The feature id for the 'Variables' containment reference list. + * + * + * @generated + * @ordered + */ + int LOCAL_VARIABLES__VARIABLES = 0; + + /** + * The number of structural features of the 'Local Variables' class. + * + * + * @generated + * @ordered + */ + int LOCAL_VARIABLES_FEATURE_COUNT = 1; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.QuantifiedExpressionImpl Quantified Expression}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.QuantifiedExpressionImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getQuantifiedExpression() + * @generated + */ + int QUANTIFIED_EXPRESSION = 17; + + /** + * The feature id for the 'Local Variables' containment reference. + * + * + * @generated + * @ordered + */ + int QUANTIFIED_EXPRESSION__LOCAL_VARIABLES = EXPRESSION_FEATURE_COUNT + 0; + + /** + * The feature id for the 'Body' containment reference. + * + * + * @generated + * @ordered + */ + int QUANTIFIED_EXPRESSION__BODY = EXPRESSION_FEATURE_COUNT + 1; + + /** + * The feature id for the 'Quantifier' attribute. + * + * + * @generated + * @ordered + */ + int QUANTIFIED_EXPRESSION__QUANTIFIER = EXPRESSION_FEATURE_COUNT + 2; + + /** + * The number of structural features of the 'Quantified Expression' class. + * + * + * @generated + * @ordered + */ + int QUANTIFIED_EXPRESSION_FEATURE_COUNT = EXPRESSION_FEATURE_COUNT + 3; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.AggregationImpl Aggregation}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.AggregationImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getAggregation() + * @generated + */ + int AGGREGATION = 18; + + /** + * The feature id for the 'Op' reference. + * + * + * @generated + * @ordered + */ + int AGGREGATION__OP = EXPRESSION_FEATURE_COUNT + 0; + + /** + * The feature id for the 'Local Variables' containment reference. + * + * + * @generated + * @ordered + */ + int AGGREGATION__LOCAL_VARIABLES = EXPRESSION_FEATURE_COUNT + 1; + + /** + * The feature id for the 'Body' containment reference. + * + * + * @generated + * @ordered + */ + int AGGREGATION__BODY = EXPRESSION_FEATURE_COUNT + 2; + + /** + * The feature id for the 'Condition' containment reference. + * + * + * @generated + * @ordered + */ + int AGGREGATION__CONDITION = EXPRESSION_FEATURE_COUNT + 3; + + /** + * The number of structural features of the 'Aggregation' class. + * + * + * @generated + * @ordered + */ + int AGGREGATION_FEATURE_COUNT = EXPRESSION_FEATURE_COUNT + 4; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.CallImpl Call}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.CallImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getCall() + * @generated + */ + int CALL = 19; + + /** + * The feature id for the 'Functor' containment reference. + * + * + * @generated + * @ordered + */ + int CALL__FUNCTOR = EXPRESSION_FEATURE_COUNT + 0; + + /** + * The feature id for the 'Transitive Closure' attribute. + * + * + * @generated + * @ordered + */ + int CALL__TRANSITIVE_CLOSURE = EXPRESSION_FEATURE_COUNT + 1; + + /** + * The feature id for the 'Reflexive Transitive Closure' attribute. + * + * + * @generated + * @ordered + */ + int CALL__REFLEXIVE_TRANSITIVE_CLOSURE = EXPRESSION_FEATURE_COUNT + 2; + + /** + * The feature id for the 'Argument List' containment reference. + * + * + * @generated + * @ordered + */ + int CALL__ARGUMENT_LIST = EXPRESSION_FEATURE_COUNT + 3; + + /** + * The number of structural features of the 'Call' class. + * + * + * @generated + * @ordered + */ + int CALL_FEATURE_COUNT = EXPRESSION_FEATURE_COUNT + 4; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ArgumentListImpl Argument List}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ArgumentListImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getArgumentList() + * @generated + */ + int ARGUMENT_LIST = 20; + + /** + * The feature id for the 'Arguments' containment reference list. + * + * + * @generated + * @ordered + */ + int ARGUMENT_LIST__ARGUMENTS = 0; + + /** + * The number of structural features of the 'Argument List' class. + * + * + * @generated + * @ordered + */ + int ARGUMENT_LIST_FEATURE_COUNT = 1; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ArgumentImpl Argument}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ArgumentImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getArgument() + * @generated + */ + int ARGUMENT = 21; + + /** + * The number of structural features of the 'Argument' class. + * + * + * @generated + * @ordered + */ + int ARGUMENT_FEATURE_COUNT = 0; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExpressionArgumentImpl Expression Argument}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ExpressionArgumentImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getExpressionArgument() + * @generated + */ + int EXPRESSION_ARGUMENT = 22; + + /** + * The feature id for the 'Body' containment reference. + * + * + * @generated + * @ordered + */ + int EXPRESSION_ARGUMENT__BODY = ARGUMENT_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'Expression Argument' class. + * + * + * @generated + * @ordered + */ + int EXPRESSION_ARGUMENT_FEATURE_COUNT = ARGUMENT_FEATURE_COUNT + 1; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.StarArgumentImpl Star Argument}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.StarArgumentImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getStarArgument() + * @generated + */ + int STAR_ARGUMENT = 23; + + /** + * The number of structural features of the 'Star Argument' class. + * + * + * @generated + * @ordered + */ + int STAR_ARGUMENT_FEATURE_COUNT = ARGUMENT_FEATURE_COUNT + 0; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.TypedArgumentImpl Typed Argument}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.TypedArgumentImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getTypedArgument() + * @generated + */ + int TYPED_ARGUMENT = 24; + + /** + * The feature id for the 'Type' reference. + * + * + * @generated + * @ordered + */ + int TYPED_ARGUMENT__TYPE = ARGUMENT_FEATURE_COUNT + 0; + + /** + * The feature id for the 'Variable' reference. + * + * + * @generated + * @ordered + */ + int TYPED_ARGUMENT__VARIABLE = ARGUMENT_FEATURE_COUNT + 1; + + /** + * The number of structural features of the 'Typed Argument' class. + * + * + * @generated + * @ordered + */ + int TYPED_ARGUMENT_FEATURE_COUNT = ARGUMENT_FEATURE_COUNT + 2; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.TypedStarArgumentImpl Typed Star Argument}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.TypedStarArgumentImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getTypedStarArgument() + * @generated + */ + int TYPED_STAR_ARGUMENT = 25; + + /** + * The feature id for the 'Type' reference. + * + * + * @generated + * @ordered + */ + int TYPED_STAR_ARGUMENT__TYPE = ARGUMENT_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'Typed Star Argument' class. + * + * + * @generated + * @ordered + */ + int TYPED_STAR_ARGUMENT_FEATURE_COUNT = ARGUMENT_FEATURE_COUNT + 1; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ReferenceImpl Reference}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ReferenceImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getReference() + * @generated + */ + int REFERENCE = 26; + + /** + * The feature id for the 'Referred' reference. + * + * + * @generated + * @ordered + */ + int REFERENCE__REFERRED = EXPRESSION_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'Reference' class. + * + * + * @generated + * @ordered + */ + int REFERENCE_FEATURE_COUNT = EXPRESSION_FEATURE_COUNT + 1; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.IntervalImpl Interval}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.IntervalImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getInterval() + * @generated + */ + int INTERVAL = 27; + + /** + * The feature id for the 'Lower Bound' containment reference. + * + * + * @generated + * @ordered + */ + int INTERVAL__LOWER_BOUND = EXPRESSION_FEATURE_COUNT + 0; + + /** + * The feature id for the 'Upper Bound' containment reference. + * + * + * @generated + * @ordered + */ + int INTERVAL__UPPER_BOUND = EXPRESSION_FEATURE_COUNT + 1; + + /** + * The number of structural features of the 'Interval' class. + * + * + * @generated + * @ordered + */ + int INTERVAL_FEATURE_COUNT = EXPRESSION_FEATURE_COUNT + 2; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.LiteralImpl Literal}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.LiteralImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getLiteral() + * @generated + */ + int LITERAL = 28; + + /** + * The number of structural features of the 'Literal' class. + * + * + * @generated + * @ordered + */ + int LITERAL_FEATURE_COUNT = EXPRESSION_FEATURE_COUNT + 0; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.LogicLiteralImpl Logic Literal}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.LogicLiteralImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getLogicLiteral() + * @generated + */ + int LOGIC_LITERAL = 29; + + /** + * The feature id for the 'Value' attribute. + * + * + * @generated + * @ordered + */ + int LOGIC_LITERAL__VALUE = LITERAL_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'Logic Literal' class. + * + * + * @generated + * @ordered + */ + int LOGIC_LITERAL_FEATURE_COUNT = LITERAL_FEATURE_COUNT + 1; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.NumericLiteralImpl Numeric Literal}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.NumericLiteralImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getNumericLiteral() + * @generated + */ + int NUMERIC_LITERAL = 30; + + /** + * The feature id for the 'Value' attribute. + * + * + * @generated + * @ordered + */ + int NUMERIC_LITERAL__VALUE = LITERAL_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'Numeric Literal' class. + * + * + * @generated + * @ordered + */ + int NUMERIC_LITERAL_FEATURE_COUNT = LITERAL_FEATURE_COUNT + 1; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.InfinityLiteralImpl Infinity Literal}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.InfinityLiteralImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getInfinityLiteral() + * @generated + */ + int INFINITY_LITERAL = 31; + + /** + * The number of structural features of the 'Infinity Literal' class. + * + * + * @generated + * @ordered + */ + int INFINITY_LITERAL_FEATURE_COUNT = LITERAL_FEATURE_COUNT + 0; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.EmptyIntervalLiteralImpl Empty Interval Literal}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.EmptyIntervalLiteralImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getEmptyIntervalLiteral() + * @generated + */ + int EMPTY_INTERVAL_LITERAL = 32; + + /** + * The number of structural features of the 'Empty Interval Literal' class. + * + * + * @generated + * @ordered + */ + int EMPTY_INTERVAL_LITERAL_FEATURE_COUNT = LITERAL_FEATURE_COUNT + 0; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.StringLiteralImpl String Literal}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.StringLiteralImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getStringLiteral() + * @generated + */ + int STRING_LITERAL = 33; + + /** + * The feature id for the 'Value' attribute. + * + * + * @generated + * @ordered + */ + int STRING_LITERAL__VALUE = LITERAL_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'String Literal' class. + * + * + * @generated + * @ordered + */ + int STRING_LITERAL_FEATURE_COUNT = LITERAL_FEATURE_COUNT + 1; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ClassDefinitionImpl Class Definition}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ClassDefinitionImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getClassDefinition() + * @generated + */ + int CLASS_DEFINITION = 34; + + /** + * The feature id for the 'Abstract' attribute. + * + * + * @generated + * @ordered + */ + int CLASS_DEFINITION__ABSTRACT = STATEMENT_FEATURE_COUNT + 0; + + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + int CLASS_DEFINITION__NAME = STATEMENT_FEATURE_COUNT + 1; + + /** + * The feature id for the 'Superclasses' reference list. + * + * + * @generated + * @ordered + */ + int CLASS_DEFINITION__SUPERCLASSES = STATEMENT_FEATURE_COUNT + 2; + + /** + * The feature id for the 'Members' containment reference list. + * + * + * @generated + * @ordered + */ + int CLASS_DEFINITION__MEMBERS = STATEMENT_FEATURE_COUNT + 3; + + /** + * The number of structural features of the 'Class Definition' class. + * + * + * @generated + * @ordered + */ + int CLASS_DEFINITION_FEATURE_COUNT = STATEMENT_FEATURE_COUNT + 4; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.MemberDefinitionImpl Member Definition}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.MemberDefinitionImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getMemberDefinition() + * @generated + */ + int MEMBER_DEFINITION = 35; + + /** + * The feature id for the 'Containment' attribute. + * + * + * @generated + * @ordered + */ + int MEMBER_DEFINITION__CONTAINMENT = 0; + + /** + * The feature id for the 'Type' reference. + * + * + * @generated + * @ordered + */ + int MEMBER_DEFINITION__TYPE = 1; + + /** + * The feature id for the 'Multiplicity' containment reference. + * + * + * @generated + * @ordered + */ + int MEMBER_DEFINITION__MULTIPLICITY = 2; + + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + int MEMBER_DEFINITION__NAME = 3; + + /** + * The feature id for the 'Opposite' reference. + * + * + * @generated + * @ordered + */ + int MEMBER_DEFINITION__OPPOSITE = 4; + + /** + * The number of structural features of the 'Member Definition' class. + * + * + * @generated + * @ordered + */ + int MEMBER_DEFINITION_FEATURE_COUNT = 5; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.MultiplicityImpl Multiplicity}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.MultiplicityImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getMultiplicity() + * @generated + */ + int MULTIPLICITY = 36; + + /** + * The number of structural features of the 'Multiplicity' class. + * + * + * @generated + * @ordered + */ + int MULTIPLICITY_FEATURE_COUNT = 0; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ManyMultiplicityImpl Many Multiplicity}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ManyMultiplicityImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getManyMultiplicity() + * @generated + */ + int MANY_MULTIPLICITY = 37; + + /** + * The number of structural features of the 'Many Multiplicity' class. + * + * + * @generated + * @ordered + */ + int MANY_MULTIPLICITY_FEATURE_COUNT = MULTIPLICITY_FEATURE_COUNT + 0; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExactMultiplicityImpl Exact Multiplicity}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ExactMultiplicityImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getExactMultiplicity() + * @generated + */ + int EXACT_MULTIPLICITY = 38; + + /** + * The feature id for the 'Multiplicity' attribute. + * + * + * @generated + * @ordered + */ + int EXACT_MULTIPLICITY__MULTIPLICITY = MULTIPLICITY_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'Exact Multiplicity' class. + * + * + * @generated + * @ordered + */ + int EXACT_MULTIPLICITY_FEATURE_COUNT = MULTIPLICITY_FEATURE_COUNT + 1; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.BoundedMultiplicityImpl Bounded Multiplicity}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.BoundedMultiplicityImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getBoundedMultiplicity() + * @generated + */ + int BOUNDED_MULTIPLICITY = 39; + + /** + * The feature id for the 'Lower Bound' attribute. + * + * + * @generated + * @ordered + */ + int BOUNDED_MULTIPLICITY__LOWER_BOUND = MULTIPLICITY_FEATURE_COUNT + 0; + + /** + * The feature id for the 'Upper Bound' attribute. + * + * + * @generated + * @ordered + */ + int BOUNDED_MULTIPLICITY__UPPER_BOUND = MULTIPLICITY_FEATURE_COUNT + 1; + + /** + * The number of structural features of the 'Bounded Multiplicity' class. + * + * + * @generated + * @ordered + */ + int BOUNDED_MULTIPLICITY_FEATURE_COUNT = MULTIPLICITY_FEATURE_COUNT + 2; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ScopeDefinitionImpl Scope Definition}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ScopeDefinitionImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getScopeDefinition() + * @generated + */ + int SCOPE_DEFINITION = 40; + + /** + * The feature id for the 'Type' reference. + * + * + * @generated + * @ordered + */ + int SCOPE_DEFINITION__TYPE = STATEMENT_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'Scope Definition' class. + * + * + * @generated + * @ordered + */ + int SCOPE_DEFINITION_FEATURE_COUNT = STATEMENT_FEATURE_COUNT + 1; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExactScopeDefinitionImpl Exact Scope Definition}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ExactScopeDefinitionImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getExactScopeDefinition() + * @generated + */ + int EXACT_SCOPE_DEFINITION = 41; + + /** + * The feature id for the 'Type' reference. + * + * + * @generated + * @ordered + */ + int EXACT_SCOPE_DEFINITION__TYPE = SCOPE_DEFINITION__TYPE; + + /** + * The feature id for the 'Exact Scope' attribute. + * + * + * @generated + * @ordered + */ + int EXACT_SCOPE_DEFINITION__EXACT_SCOPE = SCOPE_DEFINITION_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'Exact Scope Definition' class. + * + * + * @generated + * @ordered + */ + int EXACT_SCOPE_DEFINITION_FEATURE_COUNT = SCOPE_DEFINITION_FEATURE_COUNT + 1; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.BoundedScopeDefinitionImpl Bounded Scope Definition}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.BoundedScopeDefinitionImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getBoundedScopeDefinition() + * @generated + */ + int BOUNDED_SCOPE_DEFINITION = 42; + + /** + * The feature id for the 'Type' reference. + * + * + * @generated + * @ordered + */ + int BOUNDED_SCOPE_DEFINITION__TYPE = SCOPE_DEFINITION__TYPE; + + /** + * The feature id for the 'Lower Bound' attribute. + * + * + * @generated + * @ordered + */ + int BOUNDED_SCOPE_DEFINITION__LOWER_BOUND = SCOPE_DEFINITION_FEATURE_COUNT + 0; + + /** + * The feature id for the 'Upper Bound' attribute. + * + * + * @generated + * @ordered + */ + int BOUNDED_SCOPE_DEFINITION__UPPER_BOUND = SCOPE_DEFINITION_FEATURE_COUNT + 1; + + /** + * The number of structural features of the 'Bounded Scope Definition' class. + * + * + * @generated + * @ordered + */ + int BOUNDED_SCOPE_DEFINITION_FEATURE_COUNT = SCOPE_DEFINITION_FEATURE_COUNT + 2; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.LowerBoundedScopeDefinitionImpl Lower Bounded Scope Definition}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.LowerBoundedScopeDefinitionImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getLowerBoundedScopeDefinition() + * @generated + */ + int LOWER_BOUNDED_SCOPE_DEFINITION = 43; + + /** + * The feature id for the 'Type' reference. + * + * + * @generated + * @ordered + */ + int LOWER_BOUNDED_SCOPE_DEFINITION__TYPE = SCOPE_DEFINITION__TYPE; + + /** + * The feature id for the 'Lower Bound' attribute. + * + * + * @generated + * @ordered + */ + int LOWER_BOUNDED_SCOPE_DEFINITION__LOWER_BOUND = SCOPE_DEFINITION_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'Lower Bounded Scope Definition' class. + * + * + * @generated + * @ordered + */ + int LOWER_BOUNDED_SCOPE_DEFINITION_FEATURE_COUNT = SCOPE_DEFINITION_FEATURE_COUNT + 1; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ObjectiveDefinitionImpl Objective Definition}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ObjectiveDefinitionImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getObjectiveDefinition() + * @generated + */ + int OBJECTIVE_DEFINITION = 44; + + /** + * The feature id for the 'Kind' attribute. + * + * + * @generated + * @ordered + */ + int OBJECTIVE_DEFINITION__KIND = STATEMENT_FEATURE_COUNT + 0; + + /** + * The feature id for the 'Objective' containment reference. + * + * + * @generated + * @ordered + */ + int OBJECTIVE_DEFINITION__OBJECTIVE = STATEMENT_FEATURE_COUNT + 1; + + /** + * The number of structural features of the 'Objective Definition' class. + * + * + * @generated + * @ordered + */ + int OBJECTIVE_DEFINITION_FEATURE_COUNT = STATEMENT_FEATURE_COUNT + 2; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.InterpretationImpl Interpretation}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.InterpretationImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getInterpretation() + * @generated + */ + int INTERPRETATION = 45; + + /** + * The feature id for the 'Body' containment reference. + * + * + * @generated + * @ordered + */ + int INTERPRETATION__BODY = STATEMENT_FEATURE_COUNT + 0; + + /** + * The feature id for the 'Range' containment reference. + * + * + * @generated + * @ordered + */ + int INTERPRETATION__RANGE = STATEMENT_FEATURE_COUNT + 1; + + /** + * The number of structural features of the 'Interpretation' class. + * + * + * @generated + * @ordered + */ + int INTERPRETATION_FEATURE_COUNT = STATEMENT_FEATURE_COUNT + 2; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.VariableImpl Variable}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.VariableImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getVariable() + * @generated + */ + int VARIABLE = 46; + + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + int VARIABLE__NAME = NAMED_ELEMENT__NAME; + + /** + * The feature id for the 'Type' reference. + * + * + * @generated + * @ordered + */ + int VARIABLE__TYPE = NAMED_ELEMENT_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'Variable' class. + * + * + * @generated + * @ordered + */ + int VARIABLE_FEATURE_COUNT = NAMED_ELEMENT_FEATURE_COUNT + 1; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.DisjunctionImpl Disjunction}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.DisjunctionImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getDisjunction() + * @generated + */ + int DISJUNCTION = 47; + + /** + * The feature id for the 'Children' containment reference list. + * + * + * @generated + * @ordered + */ + int DISJUNCTION__CHILDREN = EXPRESSION_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'Disjunction' class. + * + * + * @generated + * @ordered + */ + int DISJUNCTION_FEATURE_COUNT = EXPRESSION_FEATURE_COUNT + 1; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.SwitchImpl Switch}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SwitchImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getSwitch() + * @generated + */ + int SWITCH = 48; + + /** + * The feature id for the 'Cases' containment reference list. + * + * + * @generated + * @ordered + */ + int SWITCH__CASES = EXPRESSION_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'Switch' class. + * + * + * @generated + * @ordered + */ + int SWITCH_FEATURE_COUNT = EXPRESSION_FEATURE_COUNT + 1; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ConjunctionImpl Conjunction}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ConjunctionImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getConjunction() + * @generated + */ + int CONJUNCTION = 49; + + /** + * The feature id for the 'Children' containment reference list. + * + * + * @generated + * @ordered + */ + int CONJUNCTION__CHILDREN = EXPRESSION_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'Conjunction' class. + * + * + * @generated + * @ordered + */ + int CONJUNCTION_FEATURE_COUNT = EXPRESSION_FEATURE_COUNT + 1; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ComparisonImpl Comparison}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ComparisonImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getComparison() + * @generated + */ + int COMPARISON = 50; + + /** + * The feature id for the 'Left' containment reference. + * + * + * @generated + * @ordered + */ + int COMPARISON__LEFT = EXPRESSION_FEATURE_COUNT + 0; + + /** + * The feature id for the 'Op' attribute. + * + * + * @generated + * @ordered + */ + int COMPARISON__OP = EXPRESSION_FEATURE_COUNT + 1; + + /** + * The feature id for the 'Right' containment reference. + * + * + * @generated + * @ordered + */ + int COMPARISON__RIGHT = EXPRESSION_FEATURE_COUNT + 2; + + /** + * The number of structural features of the 'Comparison' class. + * + * + * @generated + * @ordered + */ + int COMPARISON_FEATURE_COUNT = EXPRESSION_FEATURE_COUNT + 3; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.BinaryExpressionImpl Binary Expression}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.BinaryExpressionImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getBinaryExpression() + * @generated + */ + int BINARY_EXPRESSION = 51; + + /** + * The feature id for the 'Left' containment reference. + * + * + * @generated + * @ordered + */ + int BINARY_EXPRESSION__LEFT = EXPRESSION_FEATURE_COUNT + 0; + + /** + * The feature id for the 'Op' attribute. + * + * + * @generated + * @ordered + */ + int BINARY_EXPRESSION__OP = EXPRESSION_FEATURE_COUNT + 1; + + /** + * The feature id for the 'Right' containment reference. + * + * + * @generated + * @ordered + */ + int BINARY_EXPRESSION__RIGHT = EXPRESSION_FEATURE_COUNT + 2; + + /** + * The number of structural features of the 'Binary Expression' class. + * + * + * @generated + * @ordered + */ + int BINARY_EXPRESSION_FEATURE_COUNT = EXPRESSION_FEATURE_COUNT + 3; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.CastExpressionImpl Cast Expression}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.CastExpressionImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getCastExpression() + * @generated + */ + int CAST_EXPRESSION = 52; + + /** + * The feature id for the 'Body' containment reference. + * + * + * @generated + * @ordered + */ + int CAST_EXPRESSION__BODY = EXPRESSION_FEATURE_COUNT + 0; + + /** + * The feature id for the 'Type' reference. + * + * + * @generated + * @ordered + */ + int CAST_EXPRESSION__TYPE = EXPRESSION_FEATURE_COUNT + 1; + + /** + * The number of structural features of the 'Cast Expression' class. + * + * + * @generated + * @ordered + */ + int CAST_EXPRESSION_FEATURE_COUNT = EXPRESSION_FEATURE_COUNT + 2; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.UnaryExpressionImpl Unary Expression}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.UnaryExpressionImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getUnaryExpression() + * @generated + */ + int UNARY_EXPRESSION = 53; + + /** + * The feature id for the 'Op' attribute. + * + * + * @generated + * @ordered + */ + int UNARY_EXPRESSION__OP = EXPRESSION_FEATURE_COUNT + 0; + + /** + * The feature id for the 'Body' containment reference. + * + * + * @generated + * @ordered + */ + int UNARY_EXPRESSION__BODY = EXPRESSION_FEATURE_COUNT + 1; + + /** + * The number of structural features of the 'Unary Expression' class. + * + * + * @generated + * @ordered + */ + int UNARY_EXPRESSION_FEATURE_COUNT = EXPRESSION_FEATURE_COUNT + 2; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.NodeImpl Node}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.NodeImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getNode() + * @generated + */ + int NODE = 54; + + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + int NODE__NAME = NAMED_ELEMENT__NAME; + + /** + * The feature id for the 'With Id' attribute. + * + * + * @generated + * @ordered + */ + int NODE__WITH_ID = NAMED_ELEMENT_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'Node' class. + * + * + * @generated + * @ordered + */ + int NODE_FEATURE_COUNT = NAMED_ELEMENT_FEATURE_COUNT + 1; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.FunctorImpl Functor}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.FunctorImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getFunctor() + * @generated + */ + int FUNCTOR = 55; + + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + int FUNCTOR__NAME = NAMED_ELEMENT__NAME; + + /** + * The feature id for the 'Parameters' reference list. + * + * + * @generated + * @ordered + */ + int FUNCTOR__PARAMETERS = NAMED_ELEMENT_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'Functor' class. + * + * + * @generated + * @ordered + */ + int FUNCTOR_FEATURE_COUNT = NAMED_ELEMENT_FEATURE_COUNT + 1; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.PredicateImpl Predicate}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.PredicateImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getPredicate() + * @generated + */ + int PREDICATE = 56; + + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + int PREDICATE__NAME = FUNCTOR__NAME; + + /** + * The feature id for the 'Parameters' reference list. + * + * + * @generated + * @ordered + */ + int PREDICATE__PARAMETERS = FUNCTOR__PARAMETERS; + + /** + * The number of structural features of the 'Predicate' class. + * + * + * @generated + * @ordered + */ + int PREDICATE_FEATURE_COUNT = FUNCTOR_FEATURE_COUNT + 0; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.MetricImpl Metric}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.MetricImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getMetric() + * @generated + */ + int METRIC = 57; + + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + int METRIC__NAME = FUNCTOR__NAME; + + /** + * The feature id for the 'Parameters' reference list. + * + * + * @generated + * @ordered + */ + int METRIC__PARAMETERS = FUNCTOR__PARAMETERS; + + /** + * The feature id for the 'Return Type' reference. + * + * + * @generated + * @ordered + */ + int METRIC__RETURN_TYPE = FUNCTOR_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'Metric' class. + * + * + * @generated + * @ordered + */ + int METRIC_FEATURE_COUNT = FUNCTOR_FEATURE_COUNT + 1; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.BinaryOperator Binary Operator}' enum. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.BinaryOperator + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getBinaryOperator() + * @generated + */ + int BINARY_OPERATOR = 58; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.UnaryOp Unary Op}' enum. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.UnaryOp + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getUnaryOp() + * @generated + */ + int UNARY_OP = 59; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.LogicValue Logic Value}' enum. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.LogicValue + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getLogicValue() + * @generated + */ + int LOGIC_VALUE = 60; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.ObjectiveKind Objective Kind}' enum. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.ObjectiveKind + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getObjectiveKind() + * @generated + */ + int OBJECTIVE_KIND = 61; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.Quantifier Quantifier}' enum. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.Quantifier + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getQuantifier() + * @generated + */ + int QUANTIFIER = 62; + + + /** + * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.Problem Problem}'. + * + * + * @return the meta object for class 'Problem'. + * @see org.eclipse.viatra.solver.language.solverLanguage.Problem + * @generated + */ + EClass getProblem(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.viatra.solver.language.solverLanguage.Problem#getStatements Statements}'. + * + * + * @return the meta object for the containment reference list 'Statements'. + * @see org.eclipse.viatra.solver.language.solverLanguage.Problem#getStatements() + * @see #getProblem() + * @generated + */ + EReference getProblem_Statements(); + + /** + * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.Statement Statement}'. + * + * + * @return the meta object for class 'Statement'. + * @see org.eclipse.viatra.solver.language.solverLanguage.Statement + * @generated + */ + EClass getStatement(); + + /** + * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.PredicateDefinition Predicate Definition}'. + * + * + * @return the meta object for class 'Predicate Definition'. + * @see org.eclipse.viatra.solver.language.solverLanguage.PredicateDefinition + * @generated + */ + EClass getPredicateDefinition(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.PredicateDefinition#getHead Head}'. + * + * + * @return the meta object for the containment reference 'Head'. + * @see org.eclipse.viatra.solver.language.solverLanguage.PredicateDefinition#getHead() + * @see #getPredicateDefinition() + * @generated + */ + EReference getPredicateDefinition_Head(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.PredicateDefinition#getBody Body}'. + * + * + * @return the meta object for the containment reference 'Body'. + * @see org.eclipse.viatra.solver.language.solverLanguage.PredicateDefinition#getBody() + * @see #getPredicateDefinition() + * @generated + */ + EReference getPredicateDefinition_Body(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.PredicateDefinition#isFunctional Functional}'. + * + * + * @return the meta object for the attribute 'Functional'. + * @see org.eclipse.viatra.solver.language.solverLanguage.PredicateDefinition#isFunctional() + * @see #getPredicateDefinition() + * @generated + */ + EAttribute getPredicateDefinition_Functional(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.PredicateDefinition#isError Error}'. + * + * + * @return the meta object for the attribute 'Error'. + * @see org.eclipse.viatra.solver.language.solverLanguage.PredicateDefinition#isError() + * @see #getPredicateDefinition() + * @generated + */ + EAttribute getPredicateDefinition_Error(); + + /** + * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.UnnamedErrorPrediateDefinition Unnamed Error Prediate Definition}'. + * + * + * @return the meta object for class 'Unnamed Error Prediate Definition'. + * @see org.eclipse.viatra.solver.language.solverLanguage.UnnamedErrorPrediateDefinition + * @generated + */ + EClass getUnnamedErrorPrediateDefinition(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.UnnamedErrorPrediateDefinition#getArgumentList Argument List}'. + * + * + * @return the meta object for the containment reference 'Argument List'. + * @see org.eclipse.viatra.solver.language.solverLanguage.UnnamedErrorPrediateDefinition#getArgumentList() + * @see #getUnnamedErrorPrediateDefinition() + * @generated + */ + EReference getUnnamedErrorPrediateDefinition_ArgumentList(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.UnnamedErrorPrediateDefinition#getBody Body}'. + * + * + * @return the meta object for the containment reference 'Body'. + * @see org.eclipse.viatra.solver.language.solverLanguage.UnnamedErrorPrediateDefinition#getBody() + * @see #getUnnamedErrorPrediateDefinition() + * @generated + */ + EReference getUnnamedErrorPrediateDefinition_Body(); + + /** + * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.DefaultDefinition Default Definition}'. + * + * + * @return the meta object for class 'Default Definition'. + * @see org.eclipse.viatra.solver.language.solverLanguage.DefaultDefinition + * @generated + */ + EClass getDefaultDefinition(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.DefaultDefinition#getHead Head}'. + * + * + * @return the meta object for the containment reference 'Head'. + * @see org.eclipse.viatra.solver.language.solverLanguage.DefaultDefinition#getHead() + * @see #getDefaultDefinition() + * @generated + */ + EReference getDefaultDefinition_Head(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.DefaultDefinition#getRange Range}'. + * + * + * @return the meta object for the containment reference 'Range'. + * @see org.eclipse.viatra.solver.language.solverLanguage.DefaultDefinition#getRange() + * @see #getDefaultDefinition() + * @generated + */ + EReference getDefaultDefinition_Range(); + + /** + * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.MetricDefinition Metric Definition}'. + * + * + * @return the meta object for class 'Metric Definition'. + * @see org.eclipse.viatra.solver.language.solverLanguage.MetricDefinition + * @generated + */ + EClass getMetricDefinition(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.MetricDefinition#getHead Head}'. + * + * + * @return the meta object for the containment reference 'Head'. + * @see org.eclipse.viatra.solver.language.solverLanguage.MetricDefinition#getHead() + * @see #getMetricDefinition() + * @generated + */ + EReference getMetricDefinition_Head(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.MetricDefinition#getBody Body}'. + * + * + * @return the meta object for the containment reference 'Body'. + * @see org.eclipse.viatra.solver.language.solverLanguage.MetricDefinition#getBody() + * @see #getMetricDefinition() + * @generated + */ + EReference getMetricDefinition_Body(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.viatra.solver.language.solverLanguage.MetricDefinition#getType Type}'. + * + * + * @return the meta object for the reference 'Type'. + * @see org.eclipse.viatra.solver.language.solverLanguage.MetricDefinition#getType() + * @see #getMetricDefinition() + * @generated + */ + EReference getMetricDefinition_Type(); + + /** + * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.ExternPredicateDefinition Extern Predicate Definition}'. + * + * + * @return the meta object for class 'Extern Predicate Definition'. + * @see org.eclipse.viatra.solver.language.solverLanguage.ExternPredicateDefinition + * @generated + */ + EClass getExternPredicateDefinition(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.ExternPredicateDefinition#getName Name}'. + * + * + * @return the meta object for the attribute 'Name'. + * @see org.eclipse.viatra.solver.language.solverLanguage.ExternPredicateDefinition#getName() + * @see #getExternPredicateDefinition() + * @generated + */ + EAttribute getExternPredicateDefinition_Name(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.ExternPredicateDefinition#getArgumentList Argument List}'. + * + * + * @return the meta object for the containment reference 'Argument List'. + * @see org.eclipse.viatra.solver.language.solverLanguage.ExternPredicateDefinition#getArgumentList() + * @see #getExternPredicateDefinition() + * @generated + */ + EReference getExternPredicateDefinition_ArgumentList(); + + /** + * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.ExternMetricDefinition Extern Metric Definition}'. + * + * + * @return the meta object for class 'Extern Metric Definition'. + * @see org.eclipse.viatra.solver.language.solverLanguage.ExternMetricDefinition + * @generated + */ + EClass getExternMetricDefinition(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.viatra.solver.language.solverLanguage.ExternMetricDefinition#getType Type}'. + * + * + * @return the meta object for the reference 'Type'. + * @see org.eclipse.viatra.solver.language.solverLanguage.ExternMetricDefinition#getType() + * @see #getExternMetricDefinition() + * @generated + */ + EReference getExternMetricDefinition_Type(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.ExternMetricDefinition#getName Name}'. + * + * + * @return the meta object for the attribute 'Name'. + * @see org.eclipse.viatra.solver.language.solverLanguage.ExternMetricDefinition#getName() + * @see #getExternMetricDefinition() + * @generated + */ + EAttribute getExternMetricDefinition_Name(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.ExternMetricDefinition#getArgumentList Argument List}'. + * + * + * @return the meta object for the containment reference 'Argument List'. + * @see org.eclipse.viatra.solver.language.solverLanguage.ExternMetricDefinition#getArgumentList() + * @see #getExternMetricDefinition() + * @generated + */ + EReference getExternMetricDefinition_ArgumentList(); + + /** + * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.ExternAggregatorDefinition Extern Aggregator Definition}'. + * + * + * @return the meta object for class 'Extern Aggregator Definition'. + * @see org.eclipse.viatra.solver.language.solverLanguage.ExternAggregatorDefinition + * @generated + */ + EClass getExternAggregatorDefinition(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.viatra.solver.language.solverLanguage.ExternAggregatorDefinition#getType Type}'. + * + * + * @return the meta object for the reference 'Type'. + * @see org.eclipse.viatra.solver.language.solverLanguage.ExternAggregatorDefinition#getType() + * @see #getExternAggregatorDefinition() + * @generated + */ + EReference getExternAggregatorDefinition_Type(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.ExternAggregatorDefinition#getName Name}'. + * + * + * @return the meta object for the attribute 'Name'. + * @see org.eclipse.viatra.solver.language.solverLanguage.ExternAggregatorDefinition#getName() + * @see #getExternAggregatorDefinition() + * @generated + */ + EAttribute getExternAggregatorDefinition_Name(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.viatra.solver.language.solverLanguage.ExternAggregatorDefinition#getInputType Input Type}'. + * + * + * @return the meta object for the reference 'Input Type'. + * @see org.eclipse.viatra.solver.language.solverLanguage.ExternAggregatorDefinition#getInputType() + * @see #getExternAggregatorDefinition() + * @generated + */ + EReference getExternAggregatorDefinition_InputType(); + + /** + * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.ExternDatatypeDefinition Extern Datatype Definition}'. + * + * + * @return the meta object for class 'Extern Datatype Definition'. + * @see org.eclipse.viatra.solver.language.solverLanguage.ExternDatatypeDefinition + * @generated + */ + EClass getExternDatatypeDefinition(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.ExternDatatypeDefinition#getName Name}'. + * + * + * @return the meta object for the attribute 'Name'. + * @see org.eclipse.viatra.solver.language.solverLanguage.ExternDatatypeDefinition#getName() + * @see #getExternDatatypeDefinition() + * @generated + */ + EAttribute getExternDatatypeDefinition_Name(); + + /** + * Returns the meta object for the reference list '{@link org.eclipse.viatra.solver.language.solverLanguage.ExternDatatypeDefinition#getSupertypes Supertypes}'. + * + * + * @return the meta object for the reference list 'Supertypes'. + * @see org.eclipse.viatra.solver.language.solverLanguage.ExternDatatypeDefinition#getSupertypes() + * @see #getExternDatatypeDefinition() + * @generated + */ + EReference getExternDatatypeDefinition_Supertypes(); + + /** + * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.NamedElement Named Element}'. + * + * + * @return the meta object for class 'Named Element'. + * @see org.eclipse.viatra.solver.language.solverLanguage.NamedElement + * @generated + */ + EClass getNamedElement(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.NamedElement#getName Name}'. + * + * + * @return the meta object for the attribute 'Name'. + * @see org.eclipse.viatra.solver.language.solverLanguage.NamedElement#getName() + * @see #getNamedElement() + * @generated + */ + EAttribute getNamedElement_Name(); + + /** + * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.Expression Expression}'. + * + * + * @return the meta object for class 'Expression'. + * @see org.eclipse.viatra.solver.language.solverLanguage.Expression + * @generated + */ + EClass getExpression(); + + /** + * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.IfElse If Else}'. + * + * + * @return the meta object for class 'If Else'. + * @see org.eclipse.viatra.solver.language.solverLanguage.IfElse + * @generated + */ + EClass getIfElse(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.IfElse#getThen Then}'. + * + * + * @return the meta object for the containment reference 'Then'. + * @see org.eclipse.viatra.solver.language.solverLanguage.IfElse#getThen() + * @see #getIfElse() + * @generated + */ + EReference getIfElse_Then(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.IfElse#getElse Else}'. + * + * + * @return the meta object for the containment reference 'Else'. + * @see org.eclipse.viatra.solver.language.solverLanguage.IfElse#getElse() + * @see #getIfElse() + * @generated + */ + EReference getIfElse_Else(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.IfElse#getCondition Condition}'. + * + * + * @return the meta object for the containment reference 'Condition'. + * @see org.eclipse.viatra.solver.language.solverLanguage.IfElse#getCondition() + * @see #getIfElse() + * @generated + */ + EReference getIfElse_Condition(); + + /** + * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.Let Let}'. + * + * + * @return the meta object for class 'Let'. + * @see org.eclipse.viatra.solver.language.solverLanguage.Let + * @generated + */ + EClass getLet(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.viatra.solver.language.solverLanguage.Let#getBindings Bindings}'. + * + * + * @return the meta object for the containment reference list 'Bindings'. + * @see org.eclipse.viatra.solver.language.solverLanguage.Let#getBindings() + * @see #getLet() + * @generated + */ + EReference getLet_Bindings(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.Let#getBody Body}'. + * + * + * @return the meta object for the containment reference 'Body'. + * @see org.eclipse.viatra.solver.language.solverLanguage.Let#getBody() + * @see #getLet() + * @generated + */ + EReference getLet_Body(); + + /** + * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.LetBinding Let Binding}'. + * + * + * @return the meta object for class 'Let Binding'. + * @see org.eclipse.viatra.solver.language.solverLanguage.LetBinding + * @generated + */ + EClass getLetBinding(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.LetBinding#getVariable Variable}'. + * + * + * @return the meta object for the containment reference 'Variable'. + * @see org.eclipse.viatra.solver.language.solverLanguage.LetBinding#getVariable() + * @see #getLetBinding() + * @generated + */ + EReference getLetBinding_Variable(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.LetBinding#getValue Value}'. + * + * + * @return the meta object for the containment reference 'Value'. + * @see org.eclipse.viatra.solver.language.solverLanguage.LetBinding#getValue() + * @see #getLetBinding() + * @generated + */ + EReference getLetBinding_Value(); + + /** + * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.Case Case}'. + * + * + * @return the meta object for class 'Case'. + * @see org.eclipse.viatra.solver.language.solverLanguage.Case + * @generated + */ + EClass getCase(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.Case#getBody Body}'. + * + * + * @return the meta object for the containment reference 'Body'. + * @see org.eclipse.viatra.solver.language.solverLanguage.Case#getBody() + * @see #getCase() + * @generated + */ + EReference getCase_Body(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.Case#getCondition Condition}'. + * + * + * @return the meta object for the containment reference 'Condition'. + * @see org.eclipse.viatra.solver.language.solverLanguage.Case#getCondition() + * @see #getCase() + * @generated + */ + EReference getCase_Condition(); + + /** + * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.LocalVariables Local Variables}'. + * + * + * @return the meta object for class 'Local Variables'. + * @see org.eclipse.viatra.solver.language.solverLanguage.LocalVariables + * @generated + */ + EClass getLocalVariables(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.viatra.solver.language.solverLanguage.LocalVariables#getVariables Variables}'. + * + * + * @return the meta object for the containment reference list 'Variables'. + * @see org.eclipse.viatra.solver.language.solverLanguage.LocalVariables#getVariables() + * @see #getLocalVariables() + * @generated + */ + EReference getLocalVariables_Variables(); + + /** + * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.QuantifiedExpression Quantified Expression}'. + * + * + * @return the meta object for class 'Quantified Expression'. + * @see org.eclipse.viatra.solver.language.solverLanguage.QuantifiedExpression + * @generated + */ + EClass getQuantifiedExpression(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.QuantifiedExpression#getLocalVariables Local Variables}'. + * + * + * @return the meta object for the containment reference 'Local Variables'. + * @see org.eclipse.viatra.solver.language.solverLanguage.QuantifiedExpression#getLocalVariables() + * @see #getQuantifiedExpression() + * @generated + */ + EReference getQuantifiedExpression_LocalVariables(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.QuantifiedExpression#getBody Body}'. + * + * + * @return the meta object for the containment reference 'Body'. + * @see org.eclipse.viatra.solver.language.solverLanguage.QuantifiedExpression#getBody() + * @see #getQuantifiedExpression() + * @generated + */ + EReference getQuantifiedExpression_Body(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.QuantifiedExpression#getQuantifier Quantifier}'. + * + * + * @return the meta object for the attribute 'Quantifier'. + * @see org.eclipse.viatra.solver.language.solverLanguage.QuantifiedExpression#getQuantifier() + * @see #getQuantifiedExpression() + * @generated + */ + EAttribute getQuantifiedExpression_Quantifier(); + + /** + * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.Aggregation Aggregation}'. + * + * + * @return the meta object for class 'Aggregation'. + * @see org.eclipse.viatra.solver.language.solverLanguage.Aggregation + * @generated + */ + EClass getAggregation(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.viatra.solver.language.solverLanguage.Aggregation#getOp Op}'. + * + * + * @return the meta object for the reference 'Op'. + * @see org.eclipse.viatra.solver.language.solverLanguage.Aggregation#getOp() + * @see #getAggregation() + * @generated + */ + EReference getAggregation_Op(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.Aggregation#getLocalVariables Local Variables}'. + * + * + * @return the meta object for the containment reference 'Local Variables'. + * @see org.eclipse.viatra.solver.language.solverLanguage.Aggregation#getLocalVariables() + * @see #getAggregation() + * @generated + */ + EReference getAggregation_LocalVariables(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.Aggregation#getBody Body}'. + * + * + * @return the meta object for the containment reference 'Body'. + * @see org.eclipse.viatra.solver.language.solverLanguage.Aggregation#getBody() + * @see #getAggregation() + * @generated + */ + EReference getAggregation_Body(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.Aggregation#getCondition Condition}'. + * + * + * @return the meta object for the containment reference 'Condition'. + * @see org.eclipse.viatra.solver.language.solverLanguage.Aggregation#getCondition() + * @see #getAggregation() + * @generated + */ + EReference getAggregation_Condition(); + + /** + * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.Call Call}'. + * + * + * @return the meta object for class 'Call'. + * @see org.eclipse.viatra.solver.language.solverLanguage.Call + * @generated + */ + EClass getCall(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.Call#getFunctor Functor}'. + * + * + * @return the meta object for the containment reference 'Functor'. + * @see org.eclipse.viatra.solver.language.solverLanguage.Call#getFunctor() + * @see #getCall() + * @generated + */ + EReference getCall_Functor(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.Call#isTransitiveClosure Transitive Closure}'. + * + * + * @return the meta object for the attribute 'Transitive Closure'. + * @see org.eclipse.viatra.solver.language.solverLanguage.Call#isTransitiveClosure() + * @see #getCall() + * @generated + */ + EAttribute getCall_TransitiveClosure(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.Call#isReflexiveTransitiveClosure Reflexive Transitive Closure}'. + * + * + * @return the meta object for the attribute 'Reflexive Transitive Closure'. + * @see org.eclipse.viatra.solver.language.solverLanguage.Call#isReflexiveTransitiveClosure() + * @see #getCall() + * @generated + */ + EAttribute getCall_ReflexiveTransitiveClosure(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.Call#getArgumentList Argument List}'. + * + * + * @return the meta object for the containment reference 'Argument List'. + * @see org.eclipse.viatra.solver.language.solverLanguage.Call#getArgumentList() + * @see #getCall() + * @generated + */ + EReference getCall_ArgumentList(); + + /** + * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.ArgumentList Argument List}'. + * + * + * @return the meta object for class 'Argument List'. + * @see org.eclipse.viatra.solver.language.solverLanguage.ArgumentList + * @generated + */ + EClass getArgumentList(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.viatra.solver.language.solverLanguage.ArgumentList#getArguments Arguments}'. + * + * + * @return the meta object for the containment reference list 'Arguments'. + * @see org.eclipse.viatra.solver.language.solverLanguage.ArgumentList#getArguments() + * @see #getArgumentList() + * @generated + */ + EReference getArgumentList_Arguments(); + + /** + * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.Argument Argument}'. + * + * + * @return the meta object for class 'Argument'. + * @see org.eclipse.viatra.solver.language.solverLanguage.Argument + * @generated + */ + EClass getArgument(); + + /** + * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.ExpressionArgument Expression Argument}'. + * + * + * @return the meta object for class 'Expression Argument'. + * @see org.eclipse.viatra.solver.language.solverLanguage.ExpressionArgument + * @generated + */ + EClass getExpressionArgument(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.ExpressionArgument#getBody Body}'. + * + * + * @return the meta object for the containment reference 'Body'. + * @see org.eclipse.viatra.solver.language.solverLanguage.ExpressionArgument#getBody() + * @see #getExpressionArgument() + * @generated + */ + EReference getExpressionArgument_Body(); + + /** + * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.StarArgument Star Argument}'. + * + * + * @return the meta object for class 'Star Argument'. + * @see org.eclipse.viatra.solver.language.solverLanguage.StarArgument + * @generated + */ + EClass getStarArgument(); + + /** + * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.TypedArgument Typed Argument}'. + * + * + * @return the meta object for class 'Typed Argument'. + * @see org.eclipse.viatra.solver.language.solverLanguage.TypedArgument + * @generated + */ + EClass getTypedArgument(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.viatra.solver.language.solverLanguage.TypedArgument#getType Type}'. + * + * + * @return the meta object for the reference 'Type'. + * @see org.eclipse.viatra.solver.language.solverLanguage.TypedArgument#getType() + * @see #getTypedArgument() + * @generated + */ + EReference getTypedArgument_Type(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.viatra.solver.language.solverLanguage.TypedArgument#getVariable Variable}'. + * + * + * @return the meta object for the reference 'Variable'. + * @see org.eclipse.viatra.solver.language.solverLanguage.TypedArgument#getVariable() + * @see #getTypedArgument() + * @generated + */ + EReference getTypedArgument_Variable(); + + /** + * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.TypedStarArgument Typed Star Argument}'. + * + * + * @return the meta object for class 'Typed Star Argument'. + * @see org.eclipse.viatra.solver.language.solverLanguage.TypedStarArgument + * @generated + */ + EClass getTypedStarArgument(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.viatra.solver.language.solverLanguage.TypedStarArgument#getType Type}'. + * + * + * @return the meta object for the reference 'Type'. + * @see org.eclipse.viatra.solver.language.solverLanguage.TypedStarArgument#getType() + * @see #getTypedStarArgument() + * @generated + */ + EReference getTypedStarArgument_Type(); + + /** + * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.Reference Reference}'. + * + * + * @return the meta object for class 'Reference'. + * @see org.eclipse.viatra.solver.language.solverLanguage.Reference + * @generated + */ + EClass getReference(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.viatra.solver.language.solverLanguage.Reference#getReferred Referred}'. + * + * + * @return the meta object for the reference 'Referred'. + * @see org.eclipse.viatra.solver.language.solverLanguage.Reference#getReferred() + * @see #getReference() + * @generated + */ + EReference getReference_Referred(); + + /** + * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.Interval Interval}'. + * + * + * @return the meta object for class 'Interval'. + * @see org.eclipse.viatra.solver.language.solverLanguage.Interval + * @generated + */ + EClass getInterval(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.Interval#getLowerBound Lower Bound}'. + * + * + * @return the meta object for the containment reference 'Lower Bound'. + * @see org.eclipse.viatra.solver.language.solverLanguage.Interval#getLowerBound() + * @see #getInterval() + * @generated + */ + EReference getInterval_LowerBound(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.Interval#getUpperBound Upper Bound}'. + * + * + * @return the meta object for the containment reference 'Upper Bound'. + * @see org.eclipse.viatra.solver.language.solverLanguage.Interval#getUpperBound() + * @see #getInterval() + * @generated + */ + EReference getInterval_UpperBound(); + + /** + * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.Literal Literal}'. + * + * + * @return the meta object for class 'Literal'. + * @see org.eclipse.viatra.solver.language.solverLanguage.Literal + * @generated + */ + EClass getLiteral(); + + /** + * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.LogicLiteral Logic Literal}'. + * + * + * @return the meta object for class 'Logic Literal'. + * @see org.eclipse.viatra.solver.language.solverLanguage.LogicLiteral + * @generated + */ + EClass getLogicLiteral(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.LogicLiteral#getValue Value}'. + * + * + * @return the meta object for the attribute 'Value'. + * @see org.eclipse.viatra.solver.language.solverLanguage.LogicLiteral#getValue() + * @see #getLogicLiteral() + * @generated + */ + EAttribute getLogicLiteral_Value(); + + /** + * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.NumericLiteral Numeric Literal}'. + * + * + * @return the meta object for class 'Numeric Literal'. + * @see org.eclipse.viatra.solver.language.solverLanguage.NumericLiteral + * @generated + */ + EClass getNumericLiteral(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.NumericLiteral#getValue Value}'. + * + * + * @return the meta object for the attribute 'Value'. + * @see org.eclipse.viatra.solver.language.solverLanguage.NumericLiteral#getValue() + * @see #getNumericLiteral() + * @generated + */ + EAttribute getNumericLiteral_Value(); + + /** + * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.InfinityLiteral Infinity Literal}'. + * + * + * @return the meta object for class 'Infinity Literal'. + * @see org.eclipse.viatra.solver.language.solverLanguage.InfinityLiteral + * @generated + */ + EClass getInfinityLiteral(); + + /** + * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.EmptyIntervalLiteral Empty Interval Literal}'. + * + * + * @return the meta object for class 'Empty Interval Literal'. + * @see org.eclipse.viatra.solver.language.solverLanguage.EmptyIntervalLiteral + * @generated + */ + EClass getEmptyIntervalLiteral(); + + /** + * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.StringLiteral String Literal}'. + * + * + * @return the meta object for class 'String Literal'. + * @see org.eclipse.viatra.solver.language.solverLanguage.StringLiteral + * @generated + */ + EClass getStringLiteral(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.StringLiteral#getValue Value}'. + * + * + * @return the meta object for the attribute 'Value'. + * @see org.eclipse.viatra.solver.language.solverLanguage.StringLiteral#getValue() + * @see #getStringLiteral() + * @generated + */ + EAttribute getStringLiteral_Value(); + + /** + * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.ClassDefinition Class Definition}'. + * + * + * @return the meta object for class 'Class Definition'. + * @see org.eclipse.viatra.solver.language.solverLanguage.ClassDefinition + * @generated + */ + EClass getClassDefinition(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.ClassDefinition#isAbstract Abstract}'. + * + * + * @return the meta object for the attribute 'Abstract'. + * @see org.eclipse.viatra.solver.language.solverLanguage.ClassDefinition#isAbstract() + * @see #getClassDefinition() + * @generated + */ + EAttribute getClassDefinition_Abstract(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.ClassDefinition#getName Name}'. + * + * + * @return the meta object for the attribute 'Name'. + * @see org.eclipse.viatra.solver.language.solverLanguage.ClassDefinition#getName() + * @see #getClassDefinition() + * @generated + */ + EAttribute getClassDefinition_Name(); + + /** + * Returns the meta object for the reference list '{@link org.eclipse.viatra.solver.language.solverLanguage.ClassDefinition#getSuperclasses Superclasses}'. + * + * + * @return the meta object for the reference list 'Superclasses'. + * @see org.eclipse.viatra.solver.language.solverLanguage.ClassDefinition#getSuperclasses() + * @see #getClassDefinition() + * @generated + */ + EReference getClassDefinition_Superclasses(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.viatra.solver.language.solverLanguage.ClassDefinition#getMembers Members}'. + * + * + * @return the meta object for the containment reference list 'Members'. + * @see org.eclipse.viatra.solver.language.solverLanguage.ClassDefinition#getMembers() + * @see #getClassDefinition() + * @generated + */ + EReference getClassDefinition_Members(); + + /** + * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.MemberDefinition Member Definition}'. + * + * + * @return the meta object for class 'Member Definition'. + * @see org.eclipse.viatra.solver.language.solverLanguage.MemberDefinition + * @generated + */ + EClass getMemberDefinition(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.MemberDefinition#isContainment Containment}'. + * + * + * @return the meta object for the attribute 'Containment'. + * @see org.eclipse.viatra.solver.language.solverLanguage.MemberDefinition#isContainment() + * @see #getMemberDefinition() + * @generated + */ + EAttribute getMemberDefinition_Containment(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.viatra.solver.language.solverLanguage.MemberDefinition#getType Type}'. + * + * + * @return the meta object for the reference 'Type'. + * @see org.eclipse.viatra.solver.language.solverLanguage.MemberDefinition#getType() + * @see #getMemberDefinition() + * @generated + */ + EReference getMemberDefinition_Type(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.MemberDefinition#getMultiplicity Multiplicity}'. + * + * + * @return the meta object for the containment reference 'Multiplicity'. + * @see org.eclipse.viatra.solver.language.solverLanguage.MemberDefinition#getMultiplicity() + * @see #getMemberDefinition() + * @generated + */ + EReference getMemberDefinition_Multiplicity(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.MemberDefinition#getName Name}'. + * + * + * @return the meta object for the attribute 'Name'. + * @see org.eclipse.viatra.solver.language.solverLanguage.MemberDefinition#getName() + * @see #getMemberDefinition() + * @generated + */ + EAttribute getMemberDefinition_Name(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.viatra.solver.language.solverLanguage.MemberDefinition#getOpposite Opposite}'. + * + * + * @return the meta object for the reference 'Opposite'. + * @see org.eclipse.viatra.solver.language.solverLanguage.MemberDefinition#getOpposite() + * @see #getMemberDefinition() + * @generated + */ + EReference getMemberDefinition_Opposite(); + + /** + * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.Multiplicity Multiplicity}'. + * + * + * @return the meta object for class 'Multiplicity'. + * @see org.eclipse.viatra.solver.language.solverLanguage.Multiplicity + * @generated + */ + EClass getMultiplicity(); + + /** + * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.ManyMultiplicity Many Multiplicity}'. + * + * + * @return the meta object for class 'Many Multiplicity'. + * @see org.eclipse.viatra.solver.language.solverLanguage.ManyMultiplicity + * @generated + */ + EClass getManyMultiplicity(); + + /** + * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.ExactMultiplicity Exact Multiplicity}'. + * + * + * @return the meta object for class 'Exact Multiplicity'. + * @see org.eclipse.viatra.solver.language.solverLanguage.ExactMultiplicity + * @generated + */ + EClass getExactMultiplicity(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.ExactMultiplicity#getMultiplicity Multiplicity}'. + * + * + * @return the meta object for the attribute 'Multiplicity'. + * @see org.eclipse.viatra.solver.language.solverLanguage.ExactMultiplicity#getMultiplicity() + * @see #getExactMultiplicity() + * @generated + */ + EAttribute getExactMultiplicity_Multiplicity(); + + /** + * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.BoundedMultiplicity Bounded Multiplicity}'. + * + * + * @return the meta object for class 'Bounded Multiplicity'. + * @see org.eclipse.viatra.solver.language.solverLanguage.BoundedMultiplicity + * @generated + */ + EClass getBoundedMultiplicity(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.BoundedMultiplicity#getLowerBound Lower Bound}'. + * + * + * @return the meta object for the attribute 'Lower Bound'. + * @see org.eclipse.viatra.solver.language.solverLanguage.BoundedMultiplicity#getLowerBound() + * @see #getBoundedMultiplicity() + * @generated + */ + EAttribute getBoundedMultiplicity_LowerBound(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.BoundedMultiplicity#getUpperBound Upper Bound}'. + * + * + * @return the meta object for the attribute 'Upper Bound'. + * @see org.eclipse.viatra.solver.language.solverLanguage.BoundedMultiplicity#getUpperBound() + * @see #getBoundedMultiplicity() + * @generated + */ + EAttribute getBoundedMultiplicity_UpperBound(); + + /** + * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.ScopeDefinition Scope Definition}'. + * + * + * @return the meta object for class 'Scope Definition'. + * @see org.eclipse.viatra.solver.language.solverLanguage.ScopeDefinition + * @generated + */ + EClass getScopeDefinition(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.viatra.solver.language.solverLanguage.ScopeDefinition#getType Type}'. + * + * + * @return the meta object for the reference 'Type'. + * @see org.eclipse.viatra.solver.language.solverLanguage.ScopeDefinition#getType() + * @see #getScopeDefinition() + * @generated + */ + EReference getScopeDefinition_Type(); + + /** + * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.ExactScopeDefinition Exact Scope Definition}'. + * + * + * @return the meta object for class 'Exact Scope Definition'. + * @see org.eclipse.viatra.solver.language.solverLanguage.ExactScopeDefinition + * @generated + */ + EClass getExactScopeDefinition(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.ExactScopeDefinition#getExactScope Exact Scope}'. + * + * + * @return the meta object for the attribute 'Exact Scope'. + * @see org.eclipse.viatra.solver.language.solverLanguage.ExactScopeDefinition#getExactScope() + * @see #getExactScopeDefinition() + * @generated + */ + EAttribute getExactScopeDefinition_ExactScope(); + + /** + * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.BoundedScopeDefinition Bounded Scope Definition}'. + * + * + * @return the meta object for class 'Bounded Scope Definition'. + * @see org.eclipse.viatra.solver.language.solverLanguage.BoundedScopeDefinition + * @generated + */ + EClass getBoundedScopeDefinition(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.BoundedScopeDefinition#getLowerBound Lower Bound}'. + * + * + * @return the meta object for the attribute 'Lower Bound'. + * @see org.eclipse.viatra.solver.language.solverLanguage.BoundedScopeDefinition#getLowerBound() + * @see #getBoundedScopeDefinition() + * @generated + */ + EAttribute getBoundedScopeDefinition_LowerBound(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.BoundedScopeDefinition#getUpperBound Upper Bound}'. + * + * + * @return the meta object for the attribute 'Upper Bound'. + * @see org.eclipse.viatra.solver.language.solverLanguage.BoundedScopeDefinition#getUpperBound() + * @see #getBoundedScopeDefinition() + * @generated + */ + EAttribute getBoundedScopeDefinition_UpperBound(); + + /** + * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.LowerBoundedScopeDefinition Lower Bounded Scope Definition}'. + * + * + * @return the meta object for class 'Lower Bounded Scope Definition'. + * @see org.eclipse.viatra.solver.language.solverLanguage.LowerBoundedScopeDefinition + * @generated + */ + EClass getLowerBoundedScopeDefinition(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.LowerBoundedScopeDefinition#getLowerBound Lower Bound}'. + * + * + * @return the meta object for the attribute 'Lower Bound'. + * @see org.eclipse.viatra.solver.language.solverLanguage.LowerBoundedScopeDefinition#getLowerBound() + * @see #getLowerBoundedScopeDefinition() + * @generated + */ + EAttribute getLowerBoundedScopeDefinition_LowerBound(); + + /** + * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.ObjectiveDefinition Objective Definition}'. + * + * + * @return the meta object for class 'Objective Definition'. + * @see org.eclipse.viatra.solver.language.solverLanguage.ObjectiveDefinition + * @generated + */ + EClass getObjectiveDefinition(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.ObjectiveDefinition#getKind Kind}'. + * + * + * @return the meta object for the attribute 'Kind'. + * @see org.eclipse.viatra.solver.language.solverLanguage.ObjectiveDefinition#getKind() + * @see #getObjectiveDefinition() + * @generated + */ + EAttribute getObjectiveDefinition_Kind(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.ObjectiveDefinition#getObjective Objective}'. + * + * + * @return the meta object for the containment reference 'Objective'. + * @see org.eclipse.viatra.solver.language.solverLanguage.ObjectiveDefinition#getObjective() + * @see #getObjectiveDefinition() + * @generated + */ + EReference getObjectiveDefinition_Objective(); + + /** + * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.Interpretation Interpretation}'. + * + * + * @return the meta object for class 'Interpretation'. + * @see org.eclipse.viatra.solver.language.solverLanguage.Interpretation + * @generated + */ + EClass getInterpretation(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.Interpretation#getBody Body}'. + * + * + * @return the meta object for the containment reference 'Body'. + * @see org.eclipse.viatra.solver.language.solverLanguage.Interpretation#getBody() + * @see #getInterpretation() + * @generated + */ + EReference getInterpretation_Body(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.Interpretation#getRange Range}'. + * + * + * @return the meta object for the containment reference 'Range'. + * @see org.eclipse.viatra.solver.language.solverLanguage.Interpretation#getRange() + * @see #getInterpretation() + * @generated + */ + EReference getInterpretation_Range(); + + /** + * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.Variable Variable}'. + * + * + * @return the meta object for class 'Variable'. + * @see org.eclipse.viatra.solver.language.solverLanguage.Variable + * @generated + */ + EClass getVariable(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.viatra.solver.language.solverLanguage.Variable#getType Type}'. + * + * + * @return the meta object for the reference 'Type'. + * @see org.eclipse.viatra.solver.language.solverLanguage.Variable#getType() + * @see #getVariable() + * @generated + */ + EReference getVariable_Type(); + + /** + * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.Disjunction Disjunction}'. + * + * + * @return the meta object for class 'Disjunction'. + * @see org.eclipse.viatra.solver.language.solverLanguage.Disjunction + * @generated + */ + EClass getDisjunction(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.viatra.solver.language.solverLanguage.Disjunction#getChildren Children}'. + * + * + * @return the meta object for the containment reference list 'Children'. + * @see org.eclipse.viatra.solver.language.solverLanguage.Disjunction#getChildren() + * @see #getDisjunction() + * @generated + */ + EReference getDisjunction_Children(); + + /** + * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.Switch Switch}'. + * + * + * @return the meta object for class 'Switch'. + * @see org.eclipse.viatra.solver.language.solverLanguage.Switch + * @generated + */ + EClass getSwitch(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.viatra.solver.language.solverLanguage.Switch#getCases Cases}'. + * + * + * @return the meta object for the containment reference list 'Cases'. + * @see org.eclipse.viatra.solver.language.solverLanguage.Switch#getCases() + * @see #getSwitch() + * @generated + */ + EReference getSwitch_Cases(); + + /** + * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.Conjunction Conjunction}'. + * + * + * @return the meta object for class 'Conjunction'. + * @see org.eclipse.viatra.solver.language.solverLanguage.Conjunction + * @generated + */ + EClass getConjunction(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.viatra.solver.language.solverLanguage.Conjunction#getChildren Children}'. + * + * + * @return the meta object for the containment reference list 'Children'. + * @see org.eclipse.viatra.solver.language.solverLanguage.Conjunction#getChildren() + * @see #getConjunction() + * @generated + */ + EReference getConjunction_Children(); + + /** + * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.Comparison Comparison}'. + * + * + * @return the meta object for class 'Comparison'. + * @see org.eclipse.viatra.solver.language.solverLanguage.Comparison + * @generated + */ + EClass getComparison(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.Comparison#getLeft Left}'. + * + * + * @return the meta object for the containment reference 'Left'. + * @see org.eclipse.viatra.solver.language.solverLanguage.Comparison#getLeft() + * @see #getComparison() + * @generated + */ + EReference getComparison_Left(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.Comparison#getOp Op}'. + * + * + * @return the meta object for the attribute 'Op'. + * @see org.eclipse.viatra.solver.language.solverLanguage.Comparison#getOp() + * @see #getComparison() + * @generated + */ + EAttribute getComparison_Op(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.Comparison#getRight Right}'. + * + * + * @return the meta object for the containment reference 'Right'. + * @see org.eclipse.viatra.solver.language.solverLanguage.Comparison#getRight() + * @see #getComparison() + * @generated + */ + EReference getComparison_Right(); + + /** + * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.BinaryExpression Binary Expression}'. + * + * + * @return the meta object for class 'Binary Expression'. + * @see org.eclipse.viatra.solver.language.solverLanguage.BinaryExpression + * @generated + */ + EClass getBinaryExpression(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.BinaryExpression#getLeft Left}'. + * + * + * @return the meta object for the containment reference 'Left'. + * @see org.eclipse.viatra.solver.language.solverLanguage.BinaryExpression#getLeft() + * @see #getBinaryExpression() + * @generated + */ + EReference getBinaryExpression_Left(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.BinaryExpression#getOp Op}'. + * + * + * @return the meta object for the attribute 'Op'. + * @see org.eclipse.viatra.solver.language.solverLanguage.BinaryExpression#getOp() + * @see #getBinaryExpression() + * @generated + */ + EAttribute getBinaryExpression_Op(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.BinaryExpression#getRight Right}'. + * + * + * @return the meta object for the containment reference 'Right'. + * @see org.eclipse.viatra.solver.language.solverLanguage.BinaryExpression#getRight() + * @see #getBinaryExpression() + * @generated + */ + EReference getBinaryExpression_Right(); + + /** + * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.CastExpression Cast Expression}'. + * + * + * @return the meta object for class 'Cast Expression'. + * @see org.eclipse.viatra.solver.language.solverLanguage.CastExpression + * @generated + */ + EClass getCastExpression(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.CastExpression#getBody Body}'. + * + * + * @return the meta object for the containment reference 'Body'. + * @see org.eclipse.viatra.solver.language.solverLanguage.CastExpression#getBody() + * @see #getCastExpression() + * @generated + */ + EReference getCastExpression_Body(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.viatra.solver.language.solverLanguage.CastExpression#getType Type}'. + * + * + * @return the meta object for the reference 'Type'. + * @see org.eclipse.viatra.solver.language.solverLanguage.CastExpression#getType() + * @see #getCastExpression() + * @generated + */ + EReference getCastExpression_Type(); + + /** + * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.UnaryExpression Unary Expression}'. + * + * + * @return the meta object for class 'Unary Expression'. + * @see org.eclipse.viatra.solver.language.solverLanguage.UnaryExpression + * @generated + */ + EClass getUnaryExpression(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.UnaryExpression#getOp Op}'. + * + * + * @return the meta object for the attribute 'Op'. + * @see org.eclipse.viatra.solver.language.solverLanguage.UnaryExpression#getOp() + * @see #getUnaryExpression() + * @generated + */ + EAttribute getUnaryExpression_Op(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.UnaryExpression#getBody Body}'. + * + * + * @return the meta object for the containment reference 'Body'. + * @see org.eclipse.viatra.solver.language.solverLanguage.UnaryExpression#getBody() + * @see #getUnaryExpression() + * @generated + */ + EReference getUnaryExpression_Body(); + + /** + * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.Node Node}'. + * + * + * @return the meta object for class 'Node'. + * @see org.eclipse.viatra.solver.language.solverLanguage.Node + * @generated + */ + EClass getNode(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.Node#isWithId With Id}'. + * + * + * @return the meta object for the attribute 'With Id'. + * @see org.eclipse.viatra.solver.language.solverLanguage.Node#isWithId() + * @see #getNode() + * @generated + */ + EAttribute getNode_WithId(); + + /** + * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.Functor Functor}'. + * + * + * @return the meta object for class 'Functor'. + * @see org.eclipse.viatra.solver.language.solverLanguage.Functor + * @generated + */ + EClass getFunctor(); + + /** + * Returns the meta object for the reference list '{@link org.eclipse.viatra.solver.language.solverLanguage.Functor#getParameters Parameters}'. + * + * + * @return the meta object for the reference list 'Parameters'. + * @see org.eclipse.viatra.solver.language.solverLanguage.Functor#getParameters() + * @see #getFunctor() + * @generated + */ + EReference getFunctor_Parameters(); + + /** + * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.Predicate Predicate}'. + * + * + * @return the meta object for class 'Predicate'. + * @see org.eclipse.viatra.solver.language.solverLanguage.Predicate + * @generated + */ + EClass getPredicate(); + + /** + * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.Metric Metric}'. + * + * + * @return the meta object for class 'Metric'. + * @see org.eclipse.viatra.solver.language.solverLanguage.Metric + * @generated + */ + EClass getMetric(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.viatra.solver.language.solverLanguage.Metric#getReturnType Return Type}'. + * + * + * @return the meta object for the reference 'Return Type'. + * @see org.eclipse.viatra.solver.language.solverLanguage.Metric#getReturnType() + * @see #getMetric() + * @generated + */ + EReference getMetric_ReturnType(); + + /** + * Returns the meta object for enum '{@link org.eclipse.viatra.solver.language.solverLanguage.BinaryOperator Binary Operator}'. + * + * + * @return the meta object for enum 'Binary Operator'. + * @see org.eclipse.viatra.solver.language.solverLanguage.BinaryOperator + * @generated + */ + EEnum getBinaryOperator(); + + /** + * Returns the meta object for enum '{@link org.eclipse.viatra.solver.language.solverLanguage.UnaryOp Unary Op}'. + * + * + * @return the meta object for enum 'Unary Op'. + * @see org.eclipse.viatra.solver.language.solverLanguage.UnaryOp + * @generated + */ + EEnum getUnaryOp(); + + /** + * Returns the meta object for enum '{@link org.eclipse.viatra.solver.language.solverLanguage.LogicValue Logic Value}'. + * + * + * @return the meta object for enum 'Logic Value'. + * @see org.eclipse.viatra.solver.language.solverLanguage.LogicValue + * @generated + */ + EEnum getLogicValue(); + + /** + * Returns the meta object for enum '{@link org.eclipse.viatra.solver.language.solverLanguage.ObjectiveKind Objective Kind}'. + * + * + * @return the meta object for enum 'Objective Kind'. + * @see org.eclipse.viatra.solver.language.solverLanguage.ObjectiveKind + * @generated + */ + EEnum getObjectiveKind(); + + /** + * Returns the meta object for enum '{@link org.eclipse.viatra.solver.language.solverLanguage.Quantifier Quantifier}'. + * + * + * @return the meta object for enum 'Quantifier'. + * @see org.eclipse.viatra.solver.language.solverLanguage.Quantifier + * @generated + */ + EEnum getQuantifier(); + + /** + * Returns the factory that creates the instances of the model. + * + * + * @return the factory that creates the instances of the model. + * @generated + */ + SolverLanguageFactory getSolverLanguageFactory(); + + /** + * + * Defines literals for the meta objects that represent + *
      + *
    • each class,
    • + *
    • each feature of each class,
    • + *
    • each enum,
    • + *
    • and each data type
    • + *
    + * + * @generated + */ + interface Literals { + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ProblemImpl Problem}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ProblemImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getProblem() + * @generated + */ + EClass PROBLEM = eINSTANCE.getProblem(); + + /** + * The meta object literal for the 'Statements' containment reference list feature. + * + * + * @generated + */ + EReference PROBLEM__STATEMENTS = eINSTANCE.getProblem_Statements(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.StatementImpl Statement}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.StatementImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getStatement() + * @generated + */ + EClass STATEMENT = eINSTANCE.getStatement(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.PredicateDefinitionImpl Predicate Definition}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.PredicateDefinitionImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getPredicateDefinition() + * @generated + */ + EClass PREDICATE_DEFINITION = eINSTANCE.getPredicateDefinition(); + + /** + * The meta object literal for the 'Head' containment reference feature. + * + * + * @generated + */ + EReference PREDICATE_DEFINITION__HEAD = eINSTANCE.getPredicateDefinition_Head(); + + /** + * The meta object literal for the 'Body' containment reference feature. + * + * + * @generated + */ + EReference PREDICATE_DEFINITION__BODY = eINSTANCE.getPredicateDefinition_Body(); + + /** + * The meta object literal for the 'Functional' attribute feature. + * + * + * @generated + */ + EAttribute PREDICATE_DEFINITION__FUNCTIONAL = eINSTANCE.getPredicateDefinition_Functional(); + + /** + * The meta object literal for the 'Error' attribute feature. + * + * + * @generated + */ + EAttribute PREDICATE_DEFINITION__ERROR = eINSTANCE.getPredicateDefinition_Error(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.UnnamedErrorPrediateDefinitionImpl Unnamed Error Prediate Definition}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.UnnamedErrorPrediateDefinitionImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getUnnamedErrorPrediateDefinition() + * @generated + */ + EClass UNNAMED_ERROR_PREDIATE_DEFINITION = eINSTANCE.getUnnamedErrorPrediateDefinition(); + + /** + * The meta object literal for the 'Argument List' containment reference feature. + * + * + * @generated + */ + EReference UNNAMED_ERROR_PREDIATE_DEFINITION__ARGUMENT_LIST = eINSTANCE.getUnnamedErrorPrediateDefinition_ArgumentList(); + + /** + * The meta object literal for the 'Body' containment reference feature. + * + * + * @generated + */ + EReference UNNAMED_ERROR_PREDIATE_DEFINITION__BODY = eINSTANCE.getUnnamedErrorPrediateDefinition_Body(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.DefaultDefinitionImpl Default Definition}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.DefaultDefinitionImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getDefaultDefinition() + * @generated + */ + EClass DEFAULT_DEFINITION = eINSTANCE.getDefaultDefinition(); + + /** + * The meta object literal for the 'Head' containment reference feature. + * + * + * @generated + */ + EReference DEFAULT_DEFINITION__HEAD = eINSTANCE.getDefaultDefinition_Head(); + + /** + * The meta object literal for the 'Range' containment reference feature. + * + * + * @generated + */ + EReference DEFAULT_DEFINITION__RANGE = eINSTANCE.getDefaultDefinition_Range(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.MetricDefinitionImpl Metric Definition}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.MetricDefinitionImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getMetricDefinition() + * @generated + */ + EClass METRIC_DEFINITION = eINSTANCE.getMetricDefinition(); + + /** + * The meta object literal for the 'Head' containment reference feature. + * + * + * @generated + */ + EReference METRIC_DEFINITION__HEAD = eINSTANCE.getMetricDefinition_Head(); + + /** + * The meta object literal for the 'Body' containment reference feature. + * + * + * @generated + */ + EReference METRIC_DEFINITION__BODY = eINSTANCE.getMetricDefinition_Body(); + + /** + * The meta object literal for the 'Type' reference feature. + * + * + * @generated + */ + EReference METRIC_DEFINITION__TYPE = eINSTANCE.getMetricDefinition_Type(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExternPredicateDefinitionImpl Extern Predicate Definition}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ExternPredicateDefinitionImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getExternPredicateDefinition() + * @generated + */ + EClass EXTERN_PREDICATE_DEFINITION = eINSTANCE.getExternPredicateDefinition(); + + /** + * The meta object literal for the 'Name' attribute feature. + * + * + * @generated + */ + EAttribute EXTERN_PREDICATE_DEFINITION__NAME = eINSTANCE.getExternPredicateDefinition_Name(); + + /** + * The meta object literal for the 'Argument List' containment reference feature. + * + * + * @generated + */ + EReference EXTERN_PREDICATE_DEFINITION__ARGUMENT_LIST = eINSTANCE.getExternPredicateDefinition_ArgumentList(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExternMetricDefinitionImpl Extern Metric Definition}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ExternMetricDefinitionImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getExternMetricDefinition() + * @generated + */ + EClass EXTERN_METRIC_DEFINITION = eINSTANCE.getExternMetricDefinition(); + + /** + * The meta object literal for the 'Type' reference feature. + * + * + * @generated + */ + EReference EXTERN_METRIC_DEFINITION__TYPE = eINSTANCE.getExternMetricDefinition_Type(); + + /** + * The meta object literal for the 'Name' attribute feature. + * + * + * @generated + */ + EAttribute EXTERN_METRIC_DEFINITION__NAME = eINSTANCE.getExternMetricDefinition_Name(); + + /** + * The meta object literal for the 'Argument List' containment reference feature. + * + * + * @generated + */ + EReference EXTERN_METRIC_DEFINITION__ARGUMENT_LIST = eINSTANCE.getExternMetricDefinition_ArgumentList(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExternAggregatorDefinitionImpl Extern Aggregator Definition}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ExternAggregatorDefinitionImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getExternAggregatorDefinition() + * @generated + */ + EClass EXTERN_AGGREGATOR_DEFINITION = eINSTANCE.getExternAggregatorDefinition(); + + /** + * The meta object literal for the 'Type' reference feature. + * + * + * @generated + */ + EReference EXTERN_AGGREGATOR_DEFINITION__TYPE = eINSTANCE.getExternAggregatorDefinition_Type(); + + /** + * The meta object literal for the 'Name' attribute feature. + * + * + * @generated + */ + EAttribute EXTERN_AGGREGATOR_DEFINITION__NAME = eINSTANCE.getExternAggregatorDefinition_Name(); + + /** + * The meta object literal for the 'Input Type' reference feature. + * + * + * @generated + */ + EReference EXTERN_AGGREGATOR_DEFINITION__INPUT_TYPE = eINSTANCE.getExternAggregatorDefinition_InputType(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExternDatatypeDefinitionImpl Extern Datatype Definition}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ExternDatatypeDefinitionImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getExternDatatypeDefinition() + * @generated + */ + EClass EXTERN_DATATYPE_DEFINITION = eINSTANCE.getExternDatatypeDefinition(); + + /** + * The meta object literal for the 'Name' attribute feature. + * + * + * @generated + */ + EAttribute EXTERN_DATATYPE_DEFINITION__NAME = eINSTANCE.getExternDatatypeDefinition_Name(); + + /** + * The meta object literal for the 'Supertypes' reference list feature. + * + * + * @generated + */ + EReference EXTERN_DATATYPE_DEFINITION__SUPERTYPES = eINSTANCE.getExternDatatypeDefinition_Supertypes(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.NamedElementImpl Named Element}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.NamedElementImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getNamedElement() + * @generated + */ + EClass NAMED_ELEMENT = eINSTANCE.getNamedElement(); + + /** + * The meta object literal for the 'Name' attribute feature. + * + * + * @generated + */ + EAttribute NAMED_ELEMENT__NAME = eINSTANCE.getNamedElement_Name(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExpressionImpl Expression}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ExpressionImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getExpression() + * @generated + */ + EClass EXPRESSION = eINSTANCE.getExpression(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.IfElseImpl If Else}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.IfElseImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getIfElse() + * @generated + */ + EClass IF_ELSE = eINSTANCE.getIfElse(); + + /** + * The meta object literal for the 'Then' containment reference feature. + * + * + * @generated + */ + EReference IF_ELSE__THEN = eINSTANCE.getIfElse_Then(); + + /** + * The meta object literal for the 'Else' containment reference feature. + * + * + * @generated + */ + EReference IF_ELSE__ELSE = eINSTANCE.getIfElse_Else(); + + /** + * The meta object literal for the 'Condition' containment reference feature. + * + * + * @generated + */ + EReference IF_ELSE__CONDITION = eINSTANCE.getIfElse_Condition(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.LetImpl Let}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.LetImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getLet() + * @generated + */ + EClass LET = eINSTANCE.getLet(); + + /** + * The meta object literal for the 'Bindings' containment reference list feature. + * + * + * @generated + */ + EReference LET__BINDINGS = eINSTANCE.getLet_Bindings(); + + /** + * The meta object literal for the 'Body' containment reference feature. + * + * + * @generated + */ + EReference LET__BODY = eINSTANCE.getLet_Body(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.LetBindingImpl Let Binding}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.LetBindingImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getLetBinding() + * @generated + */ + EClass LET_BINDING = eINSTANCE.getLetBinding(); + + /** + * The meta object literal for the 'Variable' containment reference feature. + * + * + * @generated + */ + EReference LET_BINDING__VARIABLE = eINSTANCE.getLetBinding_Variable(); + + /** + * The meta object literal for the 'Value' containment reference feature. + * + * + * @generated + */ + EReference LET_BINDING__VALUE = eINSTANCE.getLetBinding_Value(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.CaseImpl Case}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.CaseImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getCase() + * @generated + */ + EClass CASE = eINSTANCE.getCase(); + + /** + * The meta object literal for the 'Body' containment reference feature. + * + * + * @generated + */ + EReference CASE__BODY = eINSTANCE.getCase_Body(); + + /** + * The meta object literal for the 'Condition' containment reference feature. + * + * + * @generated + */ + EReference CASE__CONDITION = eINSTANCE.getCase_Condition(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.LocalVariablesImpl Local Variables}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.LocalVariablesImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getLocalVariables() + * @generated + */ + EClass LOCAL_VARIABLES = eINSTANCE.getLocalVariables(); + + /** + * The meta object literal for the 'Variables' containment reference list feature. + * + * + * @generated + */ + EReference LOCAL_VARIABLES__VARIABLES = eINSTANCE.getLocalVariables_Variables(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.QuantifiedExpressionImpl Quantified Expression}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.QuantifiedExpressionImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getQuantifiedExpression() + * @generated + */ + EClass QUANTIFIED_EXPRESSION = eINSTANCE.getQuantifiedExpression(); + + /** + * The meta object literal for the 'Local Variables' containment reference feature. + * + * + * @generated + */ + EReference QUANTIFIED_EXPRESSION__LOCAL_VARIABLES = eINSTANCE.getQuantifiedExpression_LocalVariables(); + + /** + * The meta object literal for the 'Body' containment reference feature. + * + * + * @generated + */ + EReference QUANTIFIED_EXPRESSION__BODY = eINSTANCE.getQuantifiedExpression_Body(); + + /** + * The meta object literal for the 'Quantifier' attribute feature. + * + * + * @generated + */ + EAttribute QUANTIFIED_EXPRESSION__QUANTIFIER = eINSTANCE.getQuantifiedExpression_Quantifier(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.AggregationImpl Aggregation}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.AggregationImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getAggregation() + * @generated + */ + EClass AGGREGATION = eINSTANCE.getAggregation(); + + /** + * The meta object literal for the 'Op' reference feature. + * + * + * @generated + */ + EReference AGGREGATION__OP = eINSTANCE.getAggregation_Op(); + + /** + * The meta object literal for the 'Local Variables' containment reference feature. + * + * + * @generated + */ + EReference AGGREGATION__LOCAL_VARIABLES = eINSTANCE.getAggregation_LocalVariables(); + + /** + * The meta object literal for the 'Body' containment reference feature. + * + * + * @generated + */ + EReference AGGREGATION__BODY = eINSTANCE.getAggregation_Body(); + + /** + * The meta object literal for the 'Condition' containment reference feature. + * + * + * @generated + */ + EReference AGGREGATION__CONDITION = eINSTANCE.getAggregation_Condition(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.CallImpl Call}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.CallImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getCall() + * @generated + */ + EClass CALL = eINSTANCE.getCall(); + + /** + * The meta object literal for the 'Functor' containment reference feature. + * + * + * @generated + */ + EReference CALL__FUNCTOR = eINSTANCE.getCall_Functor(); + + /** + * The meta object literal for the 'Transitive Closure' attribute feature. + * + * + * @generated + */ + EAttribute CALL__TRANSITIVE_CLOSURE = eINSTANCE.getCall_TransitiveClosure(); + + /** + * The meta object literal for the 'Reflexive Transitive Closure' attribute feature. + * + * + * @generated + */ + EAttribute CALL__REFLEXIVE_TRANSITIVE_CLOSURE = eINSTANCE.getCall_ReflexiveTransitiveClosure(); + + /** + * The meta object literal for the 'Argument List' containment reference feature. + * + * + * @generated + */ + EReference CALL__ARGUMENT_LIST = eINSTANCE.getCall_ArgumentList(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ArgumentListImpl Argument List}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ArgumentListImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getArgumentList() + * @generated + */ + EClass ARGUMENT_LIST = eINSTANCE.getArgumentList(); + + /** + * The meta object literal for the 'Arguments' containment reference list feature. + * + * + * @generated + */ + EReference ARGUMENT_LIST__ARGUMENTS = eINSTANCE.getArgumentList_Arguments(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ArgumentImpl Argument}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ArgumentImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getArgument() + * @generated + */ + EClass ARGUMENT = eINSTANCE.getArgument(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExpressionArgumentImpl Expression Argument}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ExpressionArgumentImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getExpressionArgument() + * @generated + */ + EClass EXPRESSION_ARGUMENT = eINSTANCE.getExpressionArgument(); + + /** + * The meta object literal for the 'Body' containment reference feature. + * + * + * @generated + */ + EReference EXPRESSION_ARGUMENT__BODY = eINSTANCE.getExpressionArgument_Body(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.StarArgumentImpl Star Argument}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.StarArgumentImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getStarArgument() + * @generated + */ + EClass STAR_ARGUMENT = eINSTANCE.getStarArgument(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.TypedArgumentImpl Typed Argument}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.TypedArgumentImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getTypedArgument() + * @generated + */ + EClass TYPED_ARGUMENT = eINSTANCE.getTypedArgument(); + + /** + * The meta object literal for the 'Type' reference feature. + * + * + * @generated + */ + EReference TYPED_ARGUMENT__TYPE = eINSTANCE.getTypedArgument_Type(); + + /** + * The meta object literal for the 'Variable' reference feature. + * + * + * @generated + */ + EReference TYPED_ARGUMENT__VARIABLE = eINSTANCE.getTypedArgument_Variable(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.TypedStarArgumentImpl Typed Star Argument}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.TypedStarArgumentImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getTypedStarArgument() + * @generated + */ + EClass TYPED_STAR_ARGUMENT = eINSTANCE.getTypedStarArgument(); + + /** + * The meta object literal for the 'Type' reference feature. + * + * + * @generated + */ + EReference TYPED_STAR_ARGUMENT__TYPE = eINSTANCE.getTypedStarArgument_Type(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ReferenceImpl Reference}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ReferenceImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getReference() + * @generated + */ + EClass REFERENCE = eINSTANCE.getReference(); + + /** + * The meta object literal for the 'Referred' reference feature. + * + * + * @generated + */ + EReference REFERENCE__REFERRED = eINSTANCE.getReference_Referred(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.IntervalImpl Interval}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.IntervalImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getInterval() + * @generated + */ + EClass INTERVAL = eINSTANCE.getInterval(); + + /** + * The meta object literal for the 'Lower Bound' containment reference feature. + * + * + * @generated + */ + EReference INTERVAL__LOWER_BOUND = eINSTANCE.getInterval_LowerBound(); + + /** + * The meta object literal for the 'Upper Bound' containment reference feature. + * + * + * @generated + */ + EReference INTERVAL__UPPER_BOUND = eINSTANCE.getInterval_UpperBound(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.LiteralImpl Literal}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.LiteralImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getLiteral() + * @generated + */ + EClass LITERAL = eINSTANCE.getLiteral(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.LogicLiteralImpl Logic Literal}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.LogicLiteralImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getLogicLiteral() + * @generated + */ + EClass LOGIC_LITERAL = eINSTANCE.getLogicLiteral(); + + /** + * The meta object literal for the 'Value' attribute feature. + * + * + * @generated + */ + EAttribute LOGIC_LITERAL__VALUE = eINSTANCE.getLogicLiteral_Value(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.NumericLiteralImpl Numeric Literal}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.NumericLiteralImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getNumericLiteral() + * @generated + */ + EClass NUMERIC_LITERAL = eINSTANCE.getNumericLiteral(); + + /** + * The meta object literal for the 'Value' attribute feature. + * + * + * @generated + */ + EAttribute NUMERIC_LITERAL__VALUE = eINSTANCE.getNumericLiteral_Value(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.InfinityLiteralImpl Infinity Literal}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.InfinityLiteralImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getInfinityLiteral() + * @generated + */ + EClass INFINITY_LITERAL = eINSTANCE.getInfinityLiteral(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.EmptyIntervalLiteralImpl Empty Interval Literal}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.EmptyIntervalLiteralImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getEmptyIntervalLiteral() + * @generated + */ + EClass EMPTY_INTERVAL_LITERAL = eINSTANCE.getEmptyIntervalLiteral(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.StringLiteralImpl String Literal}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.StringLiteralImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getStringLiteral() + * @generated + */ + EClass STRING_LITERAL = eINSTANCE.getStringLiteral(); + + /** + * The meta object literal for the 'Value' attribute feature. + * + * + * @generated + */ + EAttribute STRING_LITERAL__VALUE = eINSTANCE.getStringLiteral_Value(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ClassDefinitionImpl Class Definition}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ClassDefinitionImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getClassDefinition() + * @generated + */ + EClass CLASS_DEFINITION = eINSTANCE.getClassDefinition(); + + /** + * The meta object literal for the 'Abstract' attribute feature. + * + * + * @generated + */ + EAttribute CLASS_DEFINITION__ABSTRACT = eINSTANCE.getClassDefinition_Abstract(); + + /** + * The meta object literal for the 'Name' attribute feature. + * + * + * @generated + */ + EAttribute CLASS_DEFINITION__NAME = eINSTANCE.getClassDefinition_Name(); + + /** + * The meta object literal for the 'Superclasses' reference list feature. + * + * + * @generated + */ + EReference CLASS_DEFINITION__SUPERCLASSES = eINSTANCE.getClassDefinition_Superclasses(); + + /** + * The meta object literal for the 'Members' containment reference list feature. + * + * + * @generated + */ + EReference CLASS_DEFINITION__MEMBERS = eINSTANCE.getClassDefinition_Members(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.MemberDefinitionImpl Member Definition}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.MemberDefinitionImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getMemberDefinition() + * @generated + */ + EClass MEMBER_DEFINITION = eINSTANCE.getMemberDefinition(); + + /** + * The meta object literal for the 'Containment' attribute feature. + * + * + * @generated + */ + EAttribute MEMBER_DEFINITION__CONTAINMENT = eINSTANCE.getMemberDefinition_Containment(); + + /** + * The meta object literal for the 'Type' reference feature. + * + * + * @generated + */ + EReference MEMBER_DEFINITION__TYPE = eINSTANCE.getMemberDefinition_Type(); + + /** + * The meta object literal for the 'Multiplicity' containment reference feature. + * + * + * @generated + */ + EReference MEMBER_DEFINITION__MULTIPLICITY = eINSTANCE.getMemberDefinition_Multiplicity(); + + /** + * The meta object literal for the 'Name' attribute feature. + * + * + * @generated + */ + EAttribute MEMBER_DEFINITION__NAME = eINSTANCE.getMemberDefinition_Name(); + + /** + * The meta object literal for the 'Opposite' reference feature. + * + * + * @generated + */ + EReference MEMBER_DEFINITION__OPPOSITE = eINSTANCE.getMemberDefinition_Opposite(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.MultiplicityImpl Multiplicity}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.MultiplicityImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getMultiplicity() + * @generated + */ + EClass MULTIPLICITY = eINSTANCE.getMultiplicity(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ManyMultiplicityImpl Many Multiplicity}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ManyMultiplicityImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getManyMultiplicity() + * @generated + */ + EClass MANY_MULTIPLICITY = eINSTANCE.getManyMultiplicity(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExactMultiplicityImpl Exact Multiplicity}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ExactMultiplicityImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getExactMultiplicity() + * @generated + */ + EClass EXACT_MULTIPLICITY = eINSTANCE.getExactMultiplicity(); + + /** + * The meta object literal for the 'Multiplicity' attribute feature. + * + * + * @generated + */ + EAttribute EXACT_MULTIPLICITY__MULTIPLICITY = eINSTANCE.getExactMultiplicity_Multiplicity(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.BoundedMultiplicityImpl Bounded Multiplicity}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.BoundedMultiplicityImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getBoundedMultiplicity() + * @generated + */ + EClass BOUNDED_MULTIPLICITY = eINSTANCE.getBoundedMultiplicity(); + + /** + * The meta object literal for the 'Lower Bound' attribute feature. + * + * + * @generated + */ + EAttribute BOUNDED_MULTIPLICITY__LOWER_BOUND = eINSTANCE.getBoundedMultiplicity_LowerBound(); + + /** + * The meta object literal for the 'Upper Bound' attribute feature. + * + * + * @generated + */ + EAttribute BOUNDED_MULTIPLICITY__UPPER_BOUND = eINSTANCE.getBoundedMultiplicity_UpperBound(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ScopeDefinitionImpl Scope Definition}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ScopeDefinitionImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getScopeDefinition() + * @generated + */ + EClass SCOPE_DEFINITION = eINSTANCE.getScopeDefinition(); + + /** + * The meta object literal for the 'Type' reference feature. + * + * + * @generated + */ + EReference SCOPE_DEFINITION__TYPE = eINSTANCE.getScopeDefinition_Type(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExactScopeDefinitionImpl Exact Scope Definition}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ExactScopeDefinitionImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getExactScopeDefinition() + * @generated + */ + EClass EXACT_SCOPE_DEFINITION = eINSTANCE.getExactScopeDefinition(); + + /** + * The meta object literal for the 'Exact Scope' attribute feature. + * + * + * @generated + */ + EAttribute EXACT_SCOPE_DEFINITION__EXACT_SCOPE = eINSTANCE.getExactScopeDefinition_ExactScope(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.BoundedScopeDefinitionImpl Bounded Scope Definition}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.BoundedScopeDefinitionImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getBoundedScopeDefinition() + * @generated + */ + EClass BOUNDED_SCOPE_DEFINITION = eINSTANCE.getBoundedScopeDefinition(); + + /** + * The meta object literal for the 'Lower Bound' attribute feature. + * + * + * @generated + */ + EAttribute BOUNDED_SCOPE_DEFINITION__LOWER_BOUND = eINSTANCE.getBoundedScopeDefinition_LowerBound(); + + /** + * The meta object literal for the 'Upper Bound' attribute feature. + * + * + * @generated + */ + EAttribute BOUNDED_SCOPE_DEFINITION__UPPER_BOUND = eINSTANCE.getBoundedScopeDefinition_UpperBound(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.LowerBoundedScopeDefinitionImpl Lower Bounded Scope Definition}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.LowerBoundedScopeDefinitionImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getLowerBoundedScopeDefinition() + * @generated + */ + EClass LOWER_BOUNDED_SCOPE_DEFINITION = eINSTANCE.getLowerBoundedScopeDefinition(); + + /** + * The meta object literal for the 'Lower Bound' attribute feature. + * + * + * @generated + */ + EAttribute LOWER_BOUNDED_SCOPE_DEFINITION__LOWER_BOUND = eINSTANCE.getLowerBoundedScopeDefinition_LowerBound(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ObjectiveDefinitionImpl Objective Definition}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ObjectiveDefinitionImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getObjectiveDefinition() + * @generated + */ + EClass OBJECTIVE_DEFINITION = eINSTANCE.getObjectiveDefinition(); + + /** + * The meta object literal for the 'Kind' attribute feature. + * + * + * @generated + */ + EAttribute OBJECTIVE_DEFINITION__KIND = eINSTANCE.getObjectiveDefinition_Kind(); + + /** + * The meta object literal for the 'Objective' containment reference feature. + * + * + * @generated + */ + EReference OBJECTIVE_DEFINITION__OBJECTIVE = eINSTANCE.getObjectiveDefinition_Objective(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.InterpretationImpl Interpretation}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.InterpretationImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getInterpretation() + * @generated + */ + EClass INTERPRETATION = eINSTANCE.getInterpretation(); + + /** + * The meta object literal for the 'Body' containment reference feature. + * + * + * @generated + */ + EReference INTERPRETATION__BODY = eINSTANCE.getInterpretation_Body(); + + /** + * The meta object literal for the 'Range' containment reference feature. + * + * + * @generated + */ + EReference INTERPRETATION__RANGE = eINSTANCE.getInterpretation_Range(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.VariableImpl Variable}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.VariableImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getVariable() + * @generated + */ + EClass VARIABLE = eINSTANCE.getVariable(); + + /** + * The meta object literal for the 'Type' reference feature. + * + * + * @generated + */ + EReference VARIABLE__TYPE = eINSTANCE.getVariable_Type(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.DisjunctionImpl Disjunction}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.DisjunctionImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getDisjunction() + * @generated + */ + EClass DISJUNCTION = eINSTANCE.getDisjunction(); + + /** + * The meta object literal for the 'Children' containment reference list feature. + * + * + * @generated + */ + EReference DISJUNCTION__CHILDREN = eINSTANCE.getDisjunction_Children(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.SwitchImpl Switch}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SwitchImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getSwitch() + * @generated + */ + EClass SWITCH = eINSTANCE.getSwitch(); + + /** + * The meta object literal for the 'Cases' containment reference list feature. + * + * + * @generated + */ + EReference SWITCH__CASES = eINSTANCE.getSwitch_Cases(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ConjunctionImpl Conjunction}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ConjunctionImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getConjunction() + * @generated + */ + EClass CONJUNCTION = eINSTANCE.getConjunction(); + + /** + * The meta object literal for the 'Children' containment reference list feature. + * + * + * @generated + */ + EReference CONJUNCTION__CHILDREN = eINSTANCE.getConjunction_Children(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ComparisonImpl Comparison}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ComparisonImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getComparison() + * @generated + */ + EClass COMPARISON = eINSTANCE.getComparison(); + + /** + * The meta object literal for the 'Left' containment reference feature. + * + * + * @generated + */ + EReference COMPARISON__LEFT = eINSTANCE.getComparison_Left(); + + /** + * The meta object literal for the 'Op' attribute feature. + * + * + * @generated + */ + EAttribute COMPARISON__OP = eINSTANCE.getComparison_Op(); + + /** + * The meta object literal for the 'Right' containment reference feature. + * + * + * @generated + */ + EReference COMPARISON__RIGHT = eINSTANCE.getComparison_Right(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.BinaryExpressionImpl Binary Expression}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.BinaryExpressionImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getBinaryExpression() + * @generated + */ + EClass BINARY_EXPRESSION = eINSTANCE.getBinaryExpression(); + + /** + * The meta object literal for the 'Left' containment reference feature. + * + * + * @generated + */ + EReference BINARY_EXPRESSION__LEFT = eINSTANCE.getBinaryExpression_Left(); + + /** + * The meta object literal for the 'Op' attribute feature. + * + * + * @generated + */ + EAttribute BINARY_EXPRESSION__OP = eINSTANCE.getBinaryExpression_Op(); + + /** + * The meta object literal for the 'Right' containment reference feature. + * + * + * @generated + */ + EReference BINARY_EXPRESSION__RIGHT = eINSTANCE.getBinaryExpression_Right(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.CastExpressionImpl Cast Expression}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.CastExpressionImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getCastExpression() + * @generated + */ + EClass CAST_EXPRESSION = eINSTANCE.getCastExpression(); + + /** + * The meta object literal for the 'Body' containment reference feature. + * + * + * @generated + */ + EReference CAST_EXPRESSION__BODY = eINSTANCE.getCastExpression_Body(); + + /** + * The meta object literal for the 'Type' reference feature. + * + * + * @generated + */ + EReference CAST_EXPRESSION__TYPE = eINSTANCE.getCastExpression_Type(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.UnaryExpressionImpl Unary Expression}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.UnaryExpressionImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getUnaryExpression() + * @generated + */ + EClass UNARY_EXPRESSION = eINSTANCE.getUnaryExpression(); + + /** + * The meta object literal for the 'Op' attribute feature. + * + * + * @generated + */ + EAttribute UNARY_EXPRESSION__OP = eINSTANCE.getUnaryExpression_Op(); + + /** + * The meta object literal for the 'Body' containment reference feature. + * + * + * @generated + */ + EReference UNARY_EXPRESSION__BODY = eINSTANCE.getUnaryExpression_Body(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.NodeImpl Node}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.NodeImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getNode() + * @generated + */ + EClass NODE = eINSTANCE.getNode(); + + /** + * The meta object literal for the 'With Id' attribute feature. + * + * + * @generated + */ + EAttribute NODE__WITH_ID = eINSTANCE.getNode_WithId(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.FunctorImpl Functor}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.FunctorImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getFunctor() + * @generated + */ + EClass FUNCTOR = eINSTANCE.getFunctor(); + + /** + * The meta object literal for the 'Parameters' reference list feature. + * + * + * @generated + */ + EReference FUNCTOR__PARAMETERS = eINSTANCE.getFunctor_Parameters(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.PredicateImpl Predicate}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.PredicateImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getPredicate() + * @generated + */ + EClass PREDICATE = eINSTANCE.getPredicate(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.MetricImpl Metric}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.MetricImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getMetric() + * @generated + */ + EClass METRIC = eINSTANCE.getMetric(); + + /** + * The meta object literal for the 'Return Type' reference feature. + * + * + * @generated + */ + EReference METRIC__RETURN_TYPE = eINSTANCE.getMetric_ReturnType(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.BinaryOperator Binary Operator}' enum. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.BinaryOperator + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getBinaryOperator() + * @generated + */ + EEnum BINARY_OPERATOR = eINSTANCE.getBinaryOperator(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.UnaryOp Unary Op}' enum. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.UnaryOp + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getUnaryOp() + * @generated + */ + EEnum UNARY_OP = eINSTANCE.getUnaryOp(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.LogicValue Logic Value}' enum. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.LogicValue + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getLogicValue() + * @generated + */ + EEnum LOGIC_VALUE = eINSTANCE.getLogicValue(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.ObjectiveKind Objective Kind}' enum. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.ObjectiveKind + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getObjectiveKind() + * @generated + */ + EEnum OBJECTIVE_KIND = eINSTANCE.getObjectiveKind(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.Quantifier Quantifier}' enum. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.Quantifier + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getQuantifier() + * @generated + */ + EEnum QUANTIFIER = eINSTANCE.getQuantifier(); + + } + +} //SolverLanguagePackage diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/StarArgument.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/StarArgument.java new file mode 100644 index 00000000..1abc7ea1 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/StarArgument.java @@ -0,0 +1,18 @@ +/** + * generated by Xtext 2.21.0 + */ +package org.eclipse.viatra.solver.language.solverLanguage; + + +/** + * + * A representation of the model object 'Star Argument'. + * + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getStarArgument() + * @model + * @generated + */ +public interface StarArgument extends Argument { +} // StarArgument diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Statement.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Statement.java new file mode 100644 index 00000000..2dd89f73 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Statement.java @@ -0,0 +1,19 @@ +/** + * generated by Xtext 2.21.0 + */ +package org.eclipse.viatra.solver.language.solverLanguage; + +import org.eclipse.emf.ecore.EObject; + +/** + * + * A representation of the model object 'Statement'. + * + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getStatement() + * @model + * @generated + */ +public interface Statement extends EObject { +} // Statement diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/StringLiteral.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/StringLiteral.java new file mode 100644 index 00000000..7272e64a --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/StringLiteral.java @@ -0,0 +1,46 @@ +/** + * generated by Xtext 2.21.0 + */ +package org.eclipse.viatra.solver.language.solverLanguage; + + +/** + * + * A representation of the model object 'String Literal'. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.StringLiteral#getValue Value}
    • + *
    + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getStringLiteral() + * @model + * @generated + */ +public interface StringLiteral extends Literal { + /** + * Returns the value of the 'Value' attribute. + * + * + * @return the value of the 'Value' attribute. + * @see #setValue(String) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getStringLiteral_Value() + * @model + * @generated + */ + String getValue(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.StringLiteral#getValue Value}' attribute. + * + * + * @param value the new value of the 'Value' attribute. + * @see #getValue() + * @generated + */ + void setValue(String value); + +} // StringLiteral diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Switch.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Switch.java new file mode 100644 index 00000000..fc181c0b --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Switch.java @@ -0,0 +1,37 @@ +/** + * generated by Xtext 2.21.0 + */ +package org.eclipse.viatra.solver.language.solverLanguage; + +import org.eclipse.emf.common.util.EList; + +/** + * + * A representation of the model object 'Switch'. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.Switch#getCases Cases}
    • + *
    + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getSwitch() + * @model + * @generated + */ +public interface Switch extends Expression { + /** + * Returns the value of the 'Cases' containment reference list. + * The list contents are of type {@link org.eclipse.viatra.solver.language.solverLanguage.Case}. + * + * + * @return the value of the 'Cases' containment reference list. + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getSwitch_Cases() + * @model containment="true" + * @generated + */ + EList getCases(); + +} // Switch diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/TypedArgument.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/TypedArgument.java new file mode 100644 index 00000000..04744ad9 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/TypedArgument.java @@ -0,0 +1,69 @@ +/** + * generated by Xtext 2.21.0 + */ +package org.eclipse.viatra.solver.language.solverLanguage; + + +/** + * + * A representation of the model object 'Typed Argument'. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.TypedArgument#getType Type}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.TypedArgument#getVariable Variable}
    • + *
    + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getTypedArgument() + * @model + * @generated + */ +public interface TypedArgument extends Argument { + /** + * Returns the value of the 'Type' reference. + * + * + * @return the value of the 'Type' reference. + * @see #setType(NamedElement) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getTypedArgument_Type() + * @model + * @generated + */ + NamedElement getType(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.TypedArgument#getType Type}' reference. + * + * + * @param value the new value of the 'Type' reference. + * @see #getType() + * @generated + */ + void setType(NamedElement value); + + /** + * Returns the value of the 'Variable' reference. + * + * + * @return the value of the 'Variable' reference. + * @see #setVariable(NamedElement) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getTypedArgument_Variable() + * @model + * @generated + */ + NamedElement getVariable(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.TypedArgument#getVariable Variable}' reference. + * + * + * @param value the new value of the 'Variable' reference. + * @see #getVariable() + * @generated + */ + void setVariable(NamedElement value); + +} // TypedArgument diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/TypedStarArgument.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/TypedStarArgument.java new file mode 100644 index 00000000..53a18217 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/TypedStarArgument.java @@ -0,0 +1,46 @@ +/** + * generated by Xtext 2.21.0 + */ +package org.eclipse.viatra.solver.language.solverLanguage; + + +/** + * + * A representation of the model object 'Typed Star Argument'. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.TypedStarArgument#getType Type}
    • + *
    + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getTypedStarArgument() + * @model + * @generated + */ +public interface TypedStarArgument extends Argument { + /** + * Returns the value of the 'Type' reference. + * + * + * @return the value of the 'Type' reference. + * @see #setType(NamedElement) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getTypedStarArgument_Type() + * @model + * @generated + */ + NamedElement getType(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.TypedStarArgument#getType Type}' reference. + * + * + * @param value the new value of the 'Type' reference. + * @see #getType() + * @generated + */ + void setType(NamedElement value); + +} // TypedStarArgument diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/UnaryExpression.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/UnaryExpression.java new file mode 100644 index 00000000..c0a1ddc7 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/UnaryExpression.java @@ -0,0 +1,72 @@ +/** + * generated by Xtext 2.21.0 + */ +package org.eclipse.viatra.solver.language.solverLanguage; + + +/** + * + * A representation of the model object 'Unary Expression'. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.UnaryExpression#getOp Op}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.UnaryExpression#getBody Body}
    • + *
    + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getUnaryExpression() + * @model + * @generated + */ +public interface UnaryExpression extends Expression { + /** + * Returns the value of the 'Op' attribute. + * The literals are from the enumeration {@link org.eclipse.viatra.solver.language.solverLanguage.UnaryOp}. + * + * + * @return the value of the 'Op' attribute. + * @see org.eclipse.viatra.solver.language.solverLanguage.UnaryOp + * @see #setOp(UnaryOp) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getUnaryExpression_Op() + * @model + * @generated + */ + UnaryOp getOp(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.UnaryExpression#getOp Op}' attribute. + * + * + * @param value the new value of the 'Op' attribute. + * @see org.eclipse.viatra.solver.language.solverLanguage.UnaryOp + * @see #getOp() + * @generated + */ + void setOp(UnaryOp value); + + /** + * Returns the value of the 'Body' containment reference. + * + * + * @return the value of the 'Body' containment reference. + * @see #setBody(Expression) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getUnaryExpression_Body() + * @model containment="true" + * @generated + */ + Expression getBody(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.UnaryExpression#getBody Body}' containment reference. + * + * + * @param value the new value of the 'Body' containment reference. + * @see #getBody() + * @generated + */ + void setBody(Expression value); + +} // UnaryExpression diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/UnaryOp.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/UnaryOp.java new file mode 100644 index 00000000..fad289b1 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/UnaryOp.java @@ -0,0 +1,302 @@ +/** + * generated by Xtext 2.21.0 + */ +package org.eclipse.viatra.solver.language.solverLanguage; + +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 'Unary Op', + * and utility methods for working with them. + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getUnaryOp() + * @model + * @generated + */ +public enum UnaryOp implements Enumerator { + /** + * The 'NEG' literal object. + * + * + * @see #NEG_VALUE + * @generated + * @ordered + */ + NEG(0, "NEG", "!"), + + /** + * The 'PLUS' literal object. + * + * + * @see #PLUS_VALUE + * @generated + * @ordered + */ + PLUS(1, "PLUS", "+"), + + /** + * The 'MINUS' literal object. + * + * + * @see #MINUS_VALUE + * @generated + * @ordered + */ + MINUS(2, "MINUS", "-"), + + /** + * The 'MAY' literal object. + * + * + * @see #MAY_VALUE + * @generated + * @ordered + */ + MAY(3, "MAY", "may"), + + /** + * The 'MUST' literal object. + * + * + * @see #MUST_VALUE + * @generated + * @ordered + */ + MUST(4, "MUST", "must"), + + /** + * The 'CURRENT' literal object. + * + * + * @see #CURRENT_VALUE + * @generated + * @ordered + */ + CURRENT(5, "CURRENT", "current"); + + /** + * The 'NEG' literal value. + * + * + * @see #NEG + * @model literal="!" + * @generated + * @ordered + */ + public static final int NEG_VALUE = 0; + + /** + * The 'PLUS' literal value. + * + * + * @see #PLUS + * @model literal="+" + * @generated + * @ordered + */ + public static final int PLUS_VALUE = 1; + + /** + * The 'MINUS' literal value. + * + * + * @see #MINUS + * @model literal="-" + * @generated + * @ordered + */ + public static final int MINUS_VALUE = 2; + + /** + * The 'MAY' literal value. + * + * + * @see #MAY + * @model literal="may" + * @generated + * @ordered + */ + public static final int MAY_VALUE = 3; + + /** + * The 'MUST' literal value. + * + * + * @see #MUST + * @model literal="must" + * @generated + * @ordered + */ + public static final int MUST_VALUE = 4; + + /** + * The 'CURRENT' literal value. + * + * + * @see #CURRENT + * @model literal="current" + * @generated + * @ordered + */ + public static final int CURRENT_VALUE = 5; + + /** + * An array of all the 'Unary Op' enumerators. + * + * + * @generated + */ + private static final UnaryOp[] VALUES_ARRAY = + new UnaryOp[] { + NEG, + PLUS, + MINUS, + MAY, + MUST, + CURRENT, + }; + + /** + * A public read-only list of all the 'Unary Op' enumerators. + * + * + * @generated + */ + public static final List VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); + + /** + * Returns the 'Unary Op' literal with the specified literal value. + * + * + * @param literal the literal. + * @return the matching enumerator or null. + * @generated + */ + public static UnaryOp get(String literal) { + for (int i = 0; i < VALUES_ARRAY.length; ++i) { + UnaryOp result = VALUES_ARRAY[i]; + if (result.toString().equals(literal)) { + return result; + } + } + return null; + } + + /** + * Returns the 'Unary Op' literal with the specified name. + * + * + * @param name the name. + * @return the matching enumerator or null. + * @generated + */ + public static UnaryOp getByName(String name) { + for (int i = 0; i < VALUES_ARRAY.length; ++i) { + UnaryOp result = VALUES_ARRAY[i]; + if (result.getName().equals(name)) { + return result; + } + } + return null; + } + + /** + * Returns the 'Unary Op' literal with the specified integer value. + * + * + * @param value the integer value. + * @return the matching enumerator or null. + * @generated + */ + public static UnaryOp get(int value) { + switch (value) { + case NEG_VALUE: return NEG; + case PLUS_VALUE: return PLUS; + case MINUS_VALUE: return MINUS; + case MAY_VALUE: return MAY; + case MUST_VALUE: return MUST; + case CURRENT_VALUE: return CURRENT; + } + 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 UnaryOp(int value, String name, String literal) { + this.value = value; + this.name = name; + this.literal = literal; + } + + /** + * + * + * @generated + */ + @Override + public int getValue() { + return value; + } + + /** + * + * + * @generated + */ + @Override + public String getName() { + return name; + } + + /** + * + * + * @generated + */ + @Override + public String getLiteral() { + return literal; + } + + /** + * Returns the literal value of the enumerator, which is its string representation. + * + * + * @generated + */ + @Override + public String toString() { + return literal; + } + +} //UnaryOp diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/UnnamedErrorPrediateDefinition.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/UnnamedErrorPrediateDefinition.java new file mode 100644 index 00000000..fd916c18 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/UnnamedErrorPrediateDefinition.java @@ -0,0 +1,69 @@ +/** + * generated by Xtext 2.21.0 + */ +package org.eclipse.viatra.solver.language.solverLanguage; + + +/** + * + * A representation of the model object 'Unnamed Error Prediate Definition'. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.UnnamedErrorPrediateDefinition#getArgumentList Argument List}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.UnnamedErrorPrediateDefinition#getBody Body}
    • + *
    + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getUnnamedErrorPrediateDefinition() + * @model + * @generated + */ +public interface UnnamedErrorPrediateDefinition extends Statement { + /** + * Returns the value of the 'Argument List' containment reference. + * + * + * @return the value of the 'Argument List' containment reference. + * @see #setArgumentList(ArgumentList) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getUnnamedErrorPrediateDefinition_ArgumentList() + * @model containment="true" + * @generated + */ + ArgumentList getArgumentList(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.UnnamedErrorPrediateDefinition#getArgumentList Argument List}' containment reference. + * + * + * @param value the new value of the 'Argument List' containment reference. + * @see #getArgumentList() + * @generated + */ + void setArgumentList(ArgumentList value); + + /** + * Returns the value of the 'Body' containment reference. + * + * + * @return the value of the 'Body' containment reference. + * @see #setBody(Expression) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getUnnamedErrorPrediateDefinition_Body() + * @model containment="true" + * @generated + */ + Expression getBody(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.UnnamedErrorPrediateDefinition#getBody Body}' containment reference. + * + * + * @param value the new value of the 'Body' containment reference. + * @see #getBody() + * @generated + */ + void setBody(Expression value); + +} // UnnamedErrorPrediateDefinition diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Variable.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Variable.java new file mode 100644 index 00000000..581ce517 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Variable.java @@ -0,0 +1,46 @@ +/** + * generated by Xtext 2.21.0 + */ +package org.eclipse.viatra.solver.language.solverLanguage; + + +/** + * + * A representation of the model object 'Variable'. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.Variable#getType Type}
    • + *
    + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getVariable() + * @model + * @generated + */ +public interface Variable extends NamedElement { + /** + * Returns the value of the 'Type' reference. + * + * + * @return the value of the 'Type' reference. + * @see #setType(NamedElement) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getVariable_Type() + * @model + * @generated + */ + NamedElement getType(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.Variable#getType Type}' reference. + * + * + * @param value the new value of the 'Type' reference. + * @see #getType() + * @generated + */ + void setType(NamedElement value); + +} // Variable diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/AggregationImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/AggregationImpl.java new file mode 100644 index 00000000..0f0262df --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/AggregationImpl.java @@ -0,0 +1,378 @@ +/** + * generated by Xtext 2.21.0 + */ +package org.eclipse.viatra.solver.language.solverLanguage.impl; + +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.viatra.solver.language.solverLanguage.Aggregation; +import org.eclipse.viatra.solver.language.solverLanguage.Expression; +import org.eclipse.viatra.solver.language.solverLanguage.LocalVariables; +import org.eclipse.viatra.solver.language.solverLanguage.NamedElement; +import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; + +/** + * + * An implementation of the model object 'Aggregation'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.AggregationImpl#getOp Op}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.AggregationImpl#getLocalVariables Local Variables}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.AggregationImpl#getBody Body}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.AggregationImpl#getCondition Condition}
    • + *
    + * + * @generated + */ +public class AggregationImpl extends ExpressionImpl implements Aggregation { + /** + * The cached value of the '{@link #getOp() Op}' reference. + * + * + * @see #getOp() + * @generated + * @ordered + */ + protected NamedElement op; + + /** + * The cached value of the '{@link #getLocalVariables() Local Variables}' containment reference. + * + * + * @see #getLocalVariables() + * @generated + * @ordered + */ + protected LocalVariables localVariables; + + /** + * The cached value of the '{@link #getBody() Body}' containment reference. + * + * + * @see #getBody() + * @generated + * @ordered + */ + protected Expression body; + + /** + * The cached value of the '{@link #getCondition() Condition}' containment reference. + * + * + * @see #getCondition() + * @generated + * @ordered + */ + protected Expression condition; + + /** + * + * + * @generated + */ + protected AggregationImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return SolverLanguagePackage.Literals.AGGREGATION; + } + + /** + * + * + * @generated + */ + @Override + public NamedElement getOp() { + if (op != null && op.eIsProxy()) { + InternalEObject oldOp = (InternalEObject)op; + op = (NamedElement)eResolveProxy(oldOp); + if (op != oldOp) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, SolverLanguagePackage.AGGREGATION__OP, oldOp, op)); + } + } + return op; + } + + /** + * + * + * @generated + */ + public NamedElement basicGetOp() { + return op; + } + + /** + * + * + * @generated + */ + @Override + public void setOp(NamedElement newOp) { + NamedElement oldOp = op; + op = newOp; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.AGGREGATION__OP, oldOp, op)); + } + + /** + * + * + * @generated + */ + @Override + public LocalVariables getLocalVariables() { + return localVariables; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetLocalVariables(LocalVariables newLocalVariables, NotificationChain msgs) { + LocalVariables oldLocalVariables = localVariables; + localVariables = newLocalVariables; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.AGGREGATION__LOCAL_VARIABLES, oldLocalVariables, newLocalVariables); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + @Override + public void setLocalVariables(LocalVariables newLocalVariables) { + if (newLocalVariables != localVariables) { + NotificationChain msgs = null; + if (localVariables != null) + msgs = ((InternalEObject)localVariables).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.AGGREGATION__LOCAL_VARIABLES, null, msgs); + if (newLocalVariables != null) + msgs = ((InternalEObject)newLocalVariables).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.AGGREGATION__LOCAL_VARIABLES, null, msgs); + msgs = basicSetLocalVariables(newLocalVariables, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.AGGREGATION__LOCAL_VARIABLES, newLocalVariables, newLocalVariables)); + } + + /** + * + * + * @generated + */ + @Override + public Expression getBody() { + return body; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetBody(Expression newBody, NotificationChain msgs) { + Expression oldBody = body; + body = newBody; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.AGGREGATION__BODY, oldBody, newBody); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + @Override + public void setBody(Expression newBody) { + if (newBody != body) { + NotificationChain msgs = null; + if (body != null) + msgs = ((InternalEObject)body).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.AGGREGATION__BODY, null, msgs); + if (newBody != null) + msgs = ((InternalEObject)newBody).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.AGGREGATION__BODY, null, msgs); + msgs = basicSetBody(newBody, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.AGGREGATION__BODY, newBody, newBody)); + } + + /** + * + * + * @generated + */ + @Override + public Expression getCondition() { + return condition; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetCondition(Expression newCondition, NotificationChain msgs) { + Expression oldCondition = condition; + condition = newCondition; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.AGGREGATION__CONDITION, oldCondition, newCondition); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + @Override + public void setCondition(Expression newCondition) { + if (newCondition != condition) { + NotificationChain msgs = null; + if (condition != null) + msgs = ((InternalEObject)condition).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.AGGREGATION__CONDITION, null, msgs); + if (newCondition != null) + msgs = ((InternalEObject)newCondition).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.AGGREGATION__CONDITION, null, msgs); + msgs = basicSetCondition(newCondition, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.AGGREGATION__CONDITION, newCondition, newCondition)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case SolverLanguagePackage.AGGREGATION__LOCAL_VARIABLES: + return basicSetLocalVariables(null, msgs); + case SolverLanguagePackage.AGGREGATION__BODY: + return basicSetBody(null, msgs); + case SolverLanguagePackage.AGGREGATION__CONDITION: + return basicSetCondition(null, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case SolverLanguagePackage.AGGREGATION__OP: + if (resolve) return getOp(); + return basicGetOp(); + case SolverLanguagePackage.AGGREGATION__LOCAL_VARIABLES: + return getLocalVariables(); + case SolverLanguagePackage.AGGREGATION__BODY: + return getBody(); + case SolverLanguagePackage.AGGREGATION__CONDITION: + return getCondition(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case SolverLanguagePackage.AGGREGATION__OP: + setOp((NamedElement)newValue); + return; + case SolverLanguagePackage.AGGREGATION__LOCAL_VARIABLES: + setLocalVariables((LocalVariables)newValue); + return; + case SolverLanguagePackage.AGGREGATION__BODY: + setBody((Expression)newValue); + return; + case SolverLanguagePackage.AGGREGATION__CONDITION: + setCondition((Expression)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case SolverLanguagePackage.AGGREGATION__OP: + setOp((NamedElement)null); + return; + case SolverLanguagePackage.AGGREGATION__LOCAL_VARIABLES: + setLocalVariables((LocalVariables)null); + return; + case SolverLanguagePackage.AGGREGATION__BODY: + setBody((Expression)null); + return; + case SolverLanguagePackage.AGGREGATION__CONDITION: + setCondition((Expression)null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case SolverLanguagePackage.AGGREGATION__OP: + return op != null; + case SolverLanguagePackage.AGGREGATION__LOCAL_VARIABLES: + return localVariables != null; + case SolverLanguagePackage.AGGREGATION__BODY: + return body != null; + case SolverLanguagePackage.AGGREGATION__CONDITION: + return condition != null; + } + return super.eIsSet(featureID); + } + +} //AggregationImpl diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ArgumentImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ArgumentImpl.java new file mode 100644 index 00000000..afd14afa --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ArgumentImpl.java @@ -0,0 +1,40 @@ +/** + * generated by Xtext 2.21.0 + */ +package org.eclipse.viatra.solver.language.solverLanguage.impl; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +import org.eclipse.viatra.solver.language.solverLanguage.Argument; +import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; + +/** + * + * An implementation of the model object 'Argument'. + * + * + * @generated + */ +public class ArgumentImpl extends MinimalEObjectImpl.Container implements Argument { + /** + * + * + * @generated + */ + protected ArgumentImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return SolverLanguagePackage.Literals.ARGUMENT; + } + +} //ArgumentImpl diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ArgumentListImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ArgumentListImpl.java new file mode 100644 index 00000000..fce298f1 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ArgumentListImpl.java @@ -0,0 +1,154 @@ +/** + * generated by Xtext 2.21.0 + */ +package org.eclipse.viatra.solver.language.solverLanguage.impl; + +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.impl.MinimalEObjectImpl; + +import org.eclipse.emf.ecore.util.EObjectContainmentEList; +import org.eclipse.emf.ecore.util.InternalEList; + +import org.eclipse.viatra.solver.language.solverLanguage.Argument; +import org.eclipse.viatra.solver.language.solverLanguage.ArgumentList; +import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; + +/** + * + * An implementation of the model object 'Argument List'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.ArgumentListImpl#getArguments Arguments}
    • + *
    + * + * @generated + */ +public class ArgumentListImpl extends MinimalEObjectImpl.Container implements ArgumentList { + /** + * The cached value of the '{@link #getArguments() Arguments}' containment reference list. + * + * + * @see #getArguments() + * @generated + * @ordered + */ + protected EList arguments; + + /** + * + * + * @generated + */ + protected ArgumentListImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return SolverLanguagePackage.Literals.ARGUMENT_LIST; + } + + /** + * + * + * @generated + */ + @Override + public EList getArguments() { + if (arguments == null) { + arguments = new EObjectContainmentEList(Argument.class, this, SolverLanguagePackage.ARGUMENT_LIST__ARGUMENTS); + } + return arguments; + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case SolverLanguagePackage.ARGUMENT_LIST__ARGUMENTS: + return ((InternalEList)getArguments()).basicRemove(otherEnd, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case SolverLanguagePackage.ARGUMENT_LIST__ARGUMENTS: + return getArguments(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case SolverLanguagePackage.ARGUMENT_LIST__ARGUMENTS: + getArguments().clear(); + getArguments().addAll((Collection)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case SolverLanguagePackage.ARGUMENT_LIST__ARGUMENTS: + getArguments().clear(); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case SolverLanguagePackage.ARGUMENT_LIST__ARGUMENTS: + return arguments != null && !arguments.isEmpty(); + } + return super.eIsSet(featureID); + } + +} //ArgumentListImpl diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/BinaryExpressionImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/BinaryExpressionImpl.java new file mode 100644 index 00000000..e85a40f9 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/BinaryExpressionImpl.java @@ -0,0 +1,317 @@ +/** + * generated by Xtext 2.21.0 + */ +package org.eclipse.viatra.solver.language.solverLanguage.impl; + +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.viatra.solver.language.solverLanguage.BinaryExpression; +import org.eclipse.viatra.solver.language.solverLanguage.BinaryOperator; +import org.eclipse.viatra.solver.language.solverLanguage.Expression; +import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; + +/** + * + * An implementation of the model object 'Binary Expression'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.BinaryExpressionImpl#getLeft Left}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.BinaryExpressionImpl#getOp Op}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.BinaryExpressionImpl#getRight Right}
    • + *
    + * + * @generated + */ +public class BinaryExpressionImpl extends ExpressionImpl implements BinaryExpression { + /** + * The cached value of the '{@link #getLeft() Left}' containment reference. + * + * + * @see #getLeft() + * @generated + * @ordered + */ + protected Expression left; + + /** + * The default value of the '{@link #getOp() Op}' attribute. + * + * + * @see #getOp() + * @generated + * @ordered + */ + protected static final BinaryOperator OP_EDEFAULT = BinaryOperator.EQ; + + /** + * The cached value of the '{@link #getOp() Op}' attribute. + * + * + * @see #getOp() + * @generated + * @ordered + */ + protected BinaryOperator op = OP_EDEFAULT; + + /** + * The cached value of the '{@link #getRight() Right}' containment reference. + * + * + * @see #getRight() + * @generated + * @ordered + */ + protected Expression right; + + /** + * + * + * @generated + */ + protected BinaryExpressionImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return SolverLanguagePackage.Literals.BINARY_EXPRESSION; + } + + /** + * + * + * @generated + */ + @Override + public Expression getLeft() { + return left; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetLeft(Expression newLeft, NotificationChain msgs) { + Expression oldLeft = left; + left = newLeft; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.BINARY_EXPRESSION__LEFT, oldLeft, newLeft); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + @Override + public void setLeft(Expression newLeft) { + if (newLeft != left) { + NotificationChain msgs = null; + if (left != null) + msgs = ((InternalEObject)left).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.BINARY_EXPRESSION__LEFT, null, msgs); + if (newLeft != null) + msgs = ((InternalEObject)newLeft).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.BINARY_EXPRESSION__LEFT, null, msgs); + msgs = basicSetLeft(newLeft, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.BINARY_EXPRESSION__LEFT, newLeft, newLeft)); + } + + /** + * + * + * @generated + */ + @Override + public BinaryOperator getOp() { + return op; + } + + /** + * + * + * @generated + */ + @Override + public void setOp(BinaryOperator newOp) { + BinaryOperator oldOp = op; + op = newOp == null ? OP_EDEFAULT : newOp; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.BINARY_EXPRESSION__OP, oldOp, op)); + } + + /** + * + * + * @generated + */ + @Override + public Expression getRight() { + return right; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetRight(Expression newRight, NotificationChain msgs) { + Expression oldRight = right; + right = newRight; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.BINARY_EXPRESSION__RIGHT, oldRight, newRight); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + @Override + public void setRight(Expression newRight) { + if (newRight != right) { + NotificationChain msgs = null; + if (right != null) + msgs = ((InternalEObject)right).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.BINARY_EXPRESSION__RIGHT, null, msgs); + if (newRight != null) + msgs = ((InternalEObject)newRight).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.BINARY_EXPRESSION__RIGHT, null, msgs); + msgs = basicSetRight(newRight, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.BINARY_EXPRESSION__RIGHT, newRight, newRight)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case SolverLanguagePackage.BINARY_EXPRESSION__LEFT: + return basicSetLeft(null, msgs); + case SolverLanguagePackage.BINARY_EXPRESSION__RIGHT: + return basicSetRight(null, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case SolverLanguagePackage.BINARY_EXPRESSION__LEFT: + return getLeft(); + case SolverLanguagePackage.BINARY_EXPRESSION__OP: + return getOp(); + case SolverLanguagePackage.BINARY_EXPRESSION__RIGHT: + return getRight(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case SolverLanguagePackage.BINARY_EXPRESSION__LEFT: + setLeft((Expression)newValue); + return; + case SolverLanguagePackage.BINARY_EXPRESSION__OP: + setOp((BinaryOperator)newValue); + return; + case SolverLanguagePackage.BINARY_EXPRESSION__RIGHT: + setRight((Expression)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case SolverLanguagePackage.BINARY_EXPRESSION__LEFT: + setLeft((Expression)null); + return; + case SolverLanguagePackage.BINARY_EXPRESSION__OP: + setOp(OP_EDEFAULT); + return; + case SolverLanguagePackage.BINARY_EXPRESSION__RIGHT: + setRight((Expression)null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case SolverLanguagePackage.BINARY_EXPRESSION__LEFT: + return left != null; + case SolverLanguagePackage.BINARY_EXPRESSION__OP: + return op != OP_EDEFAULT; + case SolverLanguagePackage.BINARY_EXPRESSION__RIGHT: + return right != null; + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuilder result = new StringBuilder(super.toString()); + result.append(" (op: "); + result.append(op); + result.append(')'); + return result.toString(); + } + +} //BinaryExpressionImpl diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/BoundedMultiplicityImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/BoundedMultiplicityImpl.java new file mode 100644 index 00000000..9b4f0385 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/BoundedMultiplicityImpl.java @@ -0,0 +1,221 @@ +/** + * generated by Xtext 2.21.0 + */ +package org.eclipse.viatra.solver.language.solverLanguage.impl; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +import org.eclipse.viatra.solver.language.solverLanguage.BoundedMultiplicity; +import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; + +/** + * + * An implementation of the model object 'Bounded Multiplicity'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.BoundedMultiplicityImpl#getLowerBound Lower Bound}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.BoundedMultiplicityImpl#getUpperBound Upper Bound}
    • + *
    + * + * @generated + */ +public class BoundedMultiplicityImpl extends MultiplicityImpl implements BoundedMultiplicity { + /** + * The default value of the '{@link #getLowerBound() Lower Bound}' attribute. + * + * + * @see #getLowerBound() + * @generated + * @ordered + */ + protected static final int LOWER_BOUND_EDEFAULT = 0; + + /** + * The cached value of the '{@link #getLowerBound() Lower Bound}' attribute. + * + * + * @see #getLowerBound() + * @generated + * @ordered + */ + protected int lowerBound = LOWER_BOUND_EDEFAULT; + + /** + * The default value of the '{@link #getUpperBound() Upper Bound}' attribute. + * + * + * @see #getUpperBound() + * @generated + * @ordered + */ + protected static final int UPPER_BOUND_EDEFAULT = 0; + + /** + * The cached value of the '{@link #getUpperBound() Upper Bound}' attribute. + * + * + * @see #getUpperBound() + * @generated + * @ordered + */ + protected int upperBound = UPPER_BOUND_EDEFAULT; + + /** + * + * + * @generated + */ + protected BoundedMultiplicityImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return SolverLanguagePackage.Literals.BOUNDED_MULTIPLICITY; + } + + /** + * + * + * @generated + */ + @Override + public int getLowerBound() { + return lowerBound; + } + + /** + * + * + * @generated + */ + @Override + public void setLowerBound(int newLowerBound) { + int oldLowerBound = lowerBound; + lowerBound = newLowerBound; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.BOUNDED_MULTIPLICITY__LOWER_BOUND, oldLowerBound, lowerBound)); + } + + /** + * + * + * @generated + */ + @Override + public int getUpperBound() { + return upperBound; + } + + /** + * + * + * @generated + */ + @Override + public void setUpperBound(int newUpperBound) { + int oldUpperBound = upperBound; + upperBound = newUpperBound; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.BOUNDED_MULTIPLICITY__UPPER_BOUND, oldUpperBound, upperBound)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case SolverLanguagePackage.BOUNDED_MULTIPLICITY__LOWER_BOUND: + return getLowerBound(); + case SolverLanguagePackage.BOUNDED_MULTIPLICITY__UPPER_BOUND: + return getUpperBound(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case SolverLanguagePackage.BOUNDED_MULTIPLICITY__LOWER_BOUND: + setLowerBound((Integer)newValue); + return; + case SolverLanguagePackage.BOUNDED_MULTIPLICITY__UPPER_BOUND: + setUpperBound((Integer)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case SolverLanguagePackage.BOUNDED_MULTIPLICITY__LOWER_BOUND: + setLowerBound(LOWER_BOUND_EDEFAULT); + return; + case SolverLanguagePackage.BOUNDED_MULTIPLICITY__UPPER_BOUND: + setUpperBound(UPPER_BOUND_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case SolverLanguagePackage.BOUNDED_MULTIPLICITY__LOWER_BOUND: + return lowerBound != LOWER_BOUND_EDEFAULT; + case SolverLanguagePackage.BOUNDED_MULTIPLICITY__UPPER_BOUND: + return upperBound != UPPER_BOUND_EDEFAULT; + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuilder result = new StringBuilder(super.toString()); + result.append(" (lowerBound: "); + result.append(lowerBound); + result.append(", upperBound: "); + result.append(upperBound); + result.append(')'); + return result.toString(); + } + +} //BoundedMultiplicityImpl diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/BoundedScopeDefinitionImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/BoundedScopeDefinitionImpl.java new file mode 100644 index 00000000..7d3a981e --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/BoundedScopeDefinitionImpl.java @@ -0,0 +1,221 @@ +/** + * generated by Xtext 2.21.0 + */ +package org.eclipse.viatra.solver.language.solverLanguage.impl; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +import org.eclipse.viatra.solver.language.solverLanguage.BoundedScopeDefinition; +import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; + +/** + * + * An implementation of the model object 'Bounded Scope Definition'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.BoundedScopeDefinitionImpl#getLowerBound Lower Bound}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.BoundedScopeDefinitionImpl#getUpperBound Upper Bound}
    • + *
    + * + * @generated + */ +public class BoundedScopeDefinitionImpl extends ScopeDefinitionImpl implements BoundedScopeDefinition { + /** + * The default value of the '{@link #getLowerBound() Lower Bound}' attribute. + * + * + * @see #getLowerBound() + * @generated + * @ordered + */ + protected static final int LOWER_BOUND_EDEFAULT = 0; + + /** + * The cached value of the '{@link #getLowerBound() Lower Bound}' attribute. + * + * + * @see #getLowerBound() + * @generated + * @ordered + */ + protected int lowerBound = LOWER_BOUND_EDEFAULT; + + /** + * The default value of the '{@link #getUpperBound() Upper Bound}' attribute. + * + * + * @see #getUpperBound() + * @generated + * @ordered + */ + protected static final int UPPER_BOUND_EDEFAULT = 0; + + /** + * The cached value of the '{@link #getUpperBound() Upper Bound}' attribute. + * + * + * @see #getUpperBound() + * @generated + * @ordered + */ + protected int upperBound = UPPER_BOUND_EDEFAULT; + + /** + * + * + * @generated + */ + protected BoundedScopeDefinitionImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return SolverLanguagePackage.Literals.BOUNDED_SCOPE_DEFINITION; + } + + /** + * + * + * @generated + */ + @Override + public int getLowerBound() { + return lowerBound; + } + + /** + * + * + * @generated + */ + @Override + public void setLowerBound(int newLowerBound) { + int oldLowerBound = lowerBound; + lowerBound = newLowerBound; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.BOUNDED_SCOPE_DEFINITION__LOWER_BOUND, oldLowerBound, lowerBound)); + } + + /** + * + * + * @generated + */ + @Override + public int getUpperBound() { + return upperBound; + } + + /** + * + * + * @generated + */ + @Override + public void setUpperBound(int newUpperBound) { + int oldUpperBound = upperBound; + upperBound = newUpperBound; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.BOUNDED_SCOPE_DEFINITION__UPPER_BOUND, oldUpperBound, upperBound)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case SolverLanguagePackage.BOUNDED_SCOPE_DEFINITION__LOWER_BOUND: + return getLowerBound(); + case SolverLanguagePackage.BOUNDED_SCOPE_DEFINITION__UPPER_BOUND: + return getUpperBound(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case SolverLanguagePackage.BOUNDED_SCOPE_DEFINITION__LOWER_BOUND: + setLowerBound((Integer)newValue); + return; + case SolverLanguagePackage.BOUNDED_SCOPE_DEFINITION__UPPER_BOUND: + setUpperBound((Integer)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case SolverLanguagePackage.BOUNDED_SCOPE_DEFINITION__LOWER_BOUND: + setLowerBound(LOWER_BOUND_EDEFAULT); + return; + case SolverLanguagePackage.BOUNDED_SCOPE_DEFINITION__UPPER_BOUND: + setUpperBound(UPPER_BOUND_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case SolverLanguagePackage.BOUNDED_SCOPE_DEFINITION__LOWER_BOUND: + return lowerBound != LOWER_BOUND_EDEFAULT; + case SolverLanguagePackage.BOUNDED_SCOPE_DEFINITION__UPPER_BOUND: + return upperBound != UPPER_BOUND_EDEFAULT; + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuilder result = new StringBuilder(super.toString()); + result.append(" (lowerBound: "); + result.append(lowerBound); + result.append(", upperBound: "); + result.append(upperBound); + result.append(')'); + return result.toString(); + } + +} //BoundedScopeDefinitionImpl diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/CallImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/CallImpl.java new file mode 100644 index 00000000..bbc2dd4c --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/CallImpl.java @@ -0,0 +1,373 @@ +/** + * generated by Xtext 2.21.0 + */ +package org.eclipse.viatra.solver.language.solverLanguage.impl; + +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.viatra.solver.language.solverLanguage.ArgumentList; +import org.eclipse.viatra.solver.language.solverLanguage.Call; +import org.eclipse.viatra.solver.language.solverLanguage.Reference; +import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; + +/** + * + * An implementation of the model object 'Call'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.CallImpl#getFunctor Functor}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.CallImpl#isTransitiveClosure Transitive Closure}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.CallImpl#isReflexiveTransitiveClosure Reflexive Transitive Closure}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.CallImpl#getArgumentList Argument List}
    • + *
    + * + * @generated + */ +public class CallImpl extends ExpressionImpl implements Call { + /** + * The cached value of the '{@link #getFunctor() Functor}' containment reference. + * + * + * @see #getFunctor() + * @generated + * @ordered + */ + protected Reference functor; + + /** + * The default value of the '{@link #isTransitiveClosure() Transitive Closure}' attribute. + * + * + * @see #isTransitiveClosure() + * @generated + * @ordered + */ + protected static final boolean TRANSITIVE_CLOSURE_EDEFAULT = false; + + /** + * The cached value of the '{@link #isTransitiveClosure() Transitive Closure}' attribute. + * + * + * @see #isTransitiveClosure() + * @generated + * @ordered + */ + protected boolean transitiveClosure = TRANSITIVE_CLOSURE_EDEFAULT; + + /** + * The default value of the '{@link #isReflexiveTransitiveClosure() Reflexive Transitive Closure}' attribute. + * + * + * @see #isReflexiveTransitiveClosure() + * @generated + * @ordered + */ + protected static final boolean REFLEXIVE_TRANSITIVE_CLOSURE_EDEFAULT = false; + + /** + * The cached value of the '{@link #isReflexiveTransitiveClosure() Reflexive Transitive Closure}' attribute. + * + * + * @see #isReflexiveTransitiveClosure() + * @generated + * @ordered + */ + protected boolean reflexiveTransitiveClosure = REFLEXIVE_TRANSITIVE_CLOSURE_EDEFAULT; + + /** + * The cached value of the '{@link #getArgumentList() Argument List}' containment reference. + * + * + * @see #getArgumentList() + * @generated + * @ordered + */ + protected ArgumentList argumentList; + + /** + * + * + * @generated + */ + protected CallImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return SolverLanguagePackage.Literals.CALL; + } + + /** + * + * + * @generated + */ + @Override + public Reference getFunctor() { + return functor; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetFunctor(Reference newFunctor, NotificationChain msgs) { + Reference oldFunctor = functor; + functor = newFunctor; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.CALL__FUNCTOR, oldFunctor, newFunctor); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + @Override + public void setFunctor(Reference newFunctor) { + if (newFunctor != functor) { + NotificationChain msgs = null; + if (functor != null) + msgs = ((InternalEObject)functor).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.CALL__FUNCTOR, null, msgs); + if (newFunctor != null) + msgs = ((InternalEObject)newFunctor).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.CALL__FUNCTOR, null, msgs); + msgs = basicSetFunctor(newFunctor, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.CALL__FUNCTOR, newFunctor, newFunctor)); + } + + /** + * + * + * @generated + */ + @Override + public boolean isTransitiveClosure() { + return transitiveClosure; + } + + /** + * + * + * @generated + */ + @Override + public void setTransitiveClosure(boolean newTransitiveClosure) { + boolean oldTransitiveClosure = transitiveClosure; + transitiveClosure = newTransitiveClosure; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.CALL__TRANSITIVE_CLOSURE, oldTransitiveClosure, transitiveClosure)); + } + + /** + * + * + * @generated + */ + @Override + public boolean isReflexiveTransitiveClosure() { + return reflexiveTransitiveClosure; + } + + /** + * + * + * @generated + */ + @Override + public void setReflexiveTransitiveClosure(boolean newReflexiveTransitiveClosure) { + boolean oldReflexiveTransitiveClosure = reflexiveTransitiveClosure; + reflexiveTransitiveClosure = newReflexiveTransitiveClosure; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.CALL__REFLEXIVE_TRANSITIVE_CLOSURE, oldReflexiveTransitiveClosure, reflexiveTransitiveClosure)); + } + + /** + * + * + * @generated + */ + @Override + public ArgumentList getArgumentList() { + return argumentList; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetArgumentList(ArgumentList newArgumentList, NotificationChain msgs) { + ArgumentList oldArgumentList = argumentList; + argumentList = newArgumentList; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.CALL__ARGUMENT_LIST, oldArgumentList, newArgumentList); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + @Override + public void setArgumentList(ArgumentList newArgumentList) { + if (newArgumentList != argumentList) { + NotificationChain msgs = null; + if (argumentList != null) + msgs = ((InternalEObject)argumentList).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.CALL__ARGUMENT_LIST, null, msgs); + if (newArgumentList != null) + msgs = ((InternalEObject)newArgumentList).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.CALL__ARGUMENT_LIST, null, msgs); + msgs = basicSetArgumentList(newArgumentList, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.CALL__ARGUMENT_LIST, newArgumentList, newArgumentList)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case SolverLanguagePackage.CALL__FUNCTOR: + return basicSetFunctor(null, msgs); + case SolverLanguagePackage.CALL__ARGUMENT_LIST: + return basicSetArgumentList(null, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case SolverLanguagePackage.CALL__FUNCTOR: + return getFunctor(); + case SolverLanguagePackage.CALL__TRANSITIVE_CLOSURE: + return isTransitiveClosure(); + case SolverLanguagePackage.CALL__REFLEXIVE_TRANSITIVE_CLOSURE: + return isReflexiveTransitiveClosure(); + case SolverLanguagePackage.CALL__ARGUMENT_LIST: + return getArgumentList(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case SolverLanguagePackage.CALL__FUNCTOR: + setFunctor((Reference)newValue); + return; + case SolverLanguagePackage.CALL__TRANSITIVE_CLOSURE: + setTransitiveClosure((Boolean)newValue); + return; + case SolverLanguagePackage.CALL__REFLEXIVE_TRANSITIVE_CLOSURE: + setReflexiveTransitiveClosure((Boolean)newValue); + return; + case SolverLanguagePackage.CALL__ARGUMENT_LIST: + setArgumentList((ArgumentList)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case SolverLanguagePackage.CALL__FUNCTOR: + setFunctor((Reference)null); + return; + case SolverLanguagePackage.CALL__TRANSITIVE_CLOSURE: + setTransitiveClosure(TRANSITIVE_CLOSURE_EDEFAULT); + return; + case SolverLanguagePackage.CALL__REFLEXIVE_TRANSITIVE_CLOSURE: + setReflexiveTransitiveClosure(REFLEXIVE_TRANSITIVE_CLOSURE_EDEFAULT); + return; + case SolverLanguagePackage.CALL__ARGUMENT_LIST: + setArgumentList((ArgumentList)null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case SolverLanguagePackage.CALL__FUNCTOR: + return functor != null; + case SolverLanguagePackage.CALL__TRANSITIVE_CLOSURE: + return transitiveClosure != TRANSITIVE_CLOSURE_EDEFAULT; + case SolverLanguagePackage.CALL__REFLEXIVE_TRANSITIVE_CLOSURE: + return reflexiveTransitiveClosure != REFLEXIVE_TRANSITIVE_CLOSURE_EDEFAULT; + case SolverLanguagePackage.CALL__ARGUMENT_LIST: + return argumentList != null; + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuilder result = new StringBuilder(super.toString()); + result.append(" (transitiveClosure: "); + result.append(transitiveClosure); + result.append(", reflexiveTransitiveClosure: "); + result.append(reflexiveTransitiveClosure); + result.append(')'); + return result.toString(); + } + +} //CallImpl diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/CaseImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/CaseImpl.java new file mode 100644 index 00000000..d6905f3b --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/CaseImpl.java @@ -0,0 +1,246 @@ +/** + * generated by Xtext 2.21.0 + */ +package org.eclipse.viatra.solver.language.solverLanguage.impl; + +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.viatra.solver.language.solverLanguage.Case; +import org.eclipse.viatra.solver.language.solverLanguage.Expression; +import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; + +/** + * + * An implementation of the model object 'Case'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.CaseImpl#getBody Body}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.CaseImpl#getCondition Condition}
    • + *
    + * + * @generated + */ +public class CaseImpl extends ExpressionImpl implements Case { + /** + * The cached value of the '{@link #getBody() Body}' containment reference. + * + * + * @see #getBody() + * @generated + * @ordered + */ + protected Expression body; + + /** + * The cached value of the '{@link #getCondition() Condition}' containment reference. + * + * + * @see #getCondition() + * @generated + * @ordered + */ + protected Expression condition; + + /** + * + * + * @generated + */ + protected CaseImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return SolverLanguagePackage.Literals.CASE; + } + + /** + * + * + * @generated + */ + @Override + public Expression getBody() { + return body; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetBody(Expression newBody, NotificationChain msgs) { + Expression oldBody = body; + body = newBody; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.CASE__BODY, oldBody, newBody); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + @Override + public void setBody(Expression newBody) { + if (newBody != body) { + NotificationChain msgs = null; + if (body != null) + msgs = ((InternalEObject)body).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.CASE__BODY, null, msgs); + if (newBody != null) + msgs = ((InternalEObject)newBody).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.CASE__BODY, null, msgs); + msgs = basicSetBody(newBody, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.CASE__BODY, newBody, newBody)); + } + + /** + * + * + * @generated + */ + @Override + public Expression getCondition() { + return condition; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetCondition(Expression newCondition, NotificationChain msgs) { + Expression oldCondition = condition; + condition = newCondition; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.CASE__CONDITION, oldCondition, newCondition); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + @Override + public void setCondition(Expression newCondition) { + if (newCondition != condition) { + NotificationChain msgs = null; + if (condition != null) + msgs = ((InternalEObject)condition).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.CASE__CONDITION, null, msgs); + if (newCondition != null) + msgs = ((InternalEObject)newCondition).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.CASE__CONDITION, null, msgs); + msgs = basicSetCondition(newCondition, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.CASE__CONDITION, newCondition, newCondition)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case SolverLanguagePackage.CASE__BODY: + return basicSetBody(null, msgs); + case SolverLanguagePackage.CASE__CONDITION: + return basicSetCondition(null, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case SolverLanguagePackage.CASE__BODY: + return getBody(); + case SolverLanguagePackage.CASE__CONDITION: + return getCondition(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case SolverLanguagePackage.CASE__BODY: + setBody((Expression)newValue); + return; + case SolverLanguagePackage.CASE__CONDITION: + setCondition((Expression)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case SolverLanguagePackage.CASE__BODY: + setBody((Expression)null); + return; + case SolverLanguagePackage.CASE__CONDITION: + setCondition((Expression)null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case SolverLanguagePackage.CASE__BODY: + return body != null; + case SolverLanguagePackage.CASE__CONDITION: + return condition != null; + } + return super.eIsSet(featureID); + } + +} //CaseImpl diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/CastExpressionImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/CastExpressionImpl.java new file mode 100644 index 00000000..39e20e46 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/CastExpressionImpl.java @@ -0,0 +1,241 @@ +/** + * generated by Xtext 2.21.0 + */ +package org.eclipse.viatra.solver.language.solverLanguage.impl; + +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.viatra.solver.language.solverLanguage.CastExpression; +import org.eclipse.viatra.solver.language.solverLanguage.Expression; +import org.eclipse.viatra.solver.language.solverLanguage.NamedElement; +import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; + +/** + * + * An implementation of the model object 'Cast Expression'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.CastExpressionImpl#getBody Body}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.CastExpressionImpl#getType Type}
    • + *
    + * + * @generated + */ +public class CastExpressionImpl extends ExpressionImpl implements CastExpression { + /** + * The cached value of the '{@link #getBody() Body}' containment reference. + * + * + * @see #getBody() + * @generated + * @ordered + */ + protected Expression body; + + /** + * The cached value of the '{@link #getType() Type}' reference. + * + * + * @see #getType() + * @generated + * @ordered + */ + protected NamedElement type; + + /** + * + * + * @generated + */ + protected CastExpressionImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return SolverLanguagePackage.Literals.CAST_EXPRESSION; + } + + /** + * + * + * @generated + */ + @Override + public Expression getBody() { + return body; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetBody(Expression newBody, NotificationChain msgs) { + Expression oldBody = body; + body = newBody; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.CAST_EXPRESSION__BODY, oldBody, newBody); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + @Override + public void setBody(Expression newBody) { + if (newBody != body) { + NotificationChain msgs = null; + if (body != null) + msgs = ((InternalEObject)body).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.CAST_EXPRESSION__BODY, null, msgs); + if (newBody != null) + msgs = ((InternalEObject)newBody).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.CAST_EXPRESSION__BODY, null, msgs); + msgs = basicSetBody(newBody, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.CAST_EXPRESSION__BODY, newBody, newBody)); + } + + /** + * + * + * @generated + */ + @Override + public NamedElement getType() { + if (type != null && type.eIsProxy()) { + InternalEObject oldType = (InternalEObject)type; + type = (NamedElement)eResolveProxy(oldType); + if (type != oldType) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, SolverLanguagePackage.CAST_EXPRESSION__TYPE, oldType, type)); + } + } + return type; + } + + /** + * + * + * @generated + */ + public NamedElement basicGetType() { + return type; + } + + /** + * + * + * @generated + */ + @Override + public void setType(NamedElement newType) { + NamedElement oldType = type; + type = newType; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.CAST_EXPRESSION__TYPE, oldType, type)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case SolverLanguagePackage.CAST_EXPRESSION__BODY: + return basicSetBody(null, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case SolverLanguagePackage.CAST_EXPRESSION__BODY: + return getBody(); + case SolverLanguagePackage.CAST_EXPRESSION__TYPE: + if (resolve) return getType(); + return basicGetType(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case SolverLanguagePackage.CAST_EXPRESSION__BODY: + setBody((Expression)newValue); + return; + case SolverLanguagePackage.CAST_EXPRESSION__TYPE: + setType((NamedElement)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case SolverLanguagePackage.CAST_EXPRESSION__BODY: + setBody((Expression)null); + return; + case SolverLanguagePackage.CAST_EXPRESSION__TYPE: + setType((NamedElement)null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case SolverLanguagePackage.CAST_EXPRESSION__BODY: + return body != null; + case SolverLanguagePackage.CAST_EXPRESSION__TYPE: + return type != null; + } + return super.eIsSet(featureID); + } + +} //CastExpressionImpl diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ClassDefinitionImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ClassDefinitionImpl.java new file mode 100644 index 00000000..9fe48f0b --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ClassDefinitionImpl.java @@ -0,0 +1,318 @@ +/** + * generated by Xtext 2.21.0 + */ +package org.eclipse.viatra.solver.language.solverLanguage.impl; + +import java.util.Collection; + +import org.eclipse.emf.common.notify.Notification; +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.impl.ENotificationImpl; + +import org.eclipse.emf.ecore.util.EObjectContainmentEList; +import org.eclipse.emf.ecore.util.EObjectResolvingEList; +import org.eclipse.emf.ecore.util.InternalEList; + +import org.eclipse.viatra.solver.language.solverLanguage.ClassDefinition; +import org.eclipse.viatra.solver.language.solverLanguage.MemberDefinition; +import org.eclipse.viatra.solver.language.solverLanguage.NamedElement; +import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; + +/** + * + * An implementation of the model object 'Class Definition'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.ClassDefinitionImpl#isAbstract Abstract}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.ClassDefinitionImpl#getName Name}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.ClassDefinitionImpl#getSuperclasses Superclasses}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.ClassDefinitionImpl#getMembers Members}
    • + *
    + * + * @generated + */ +public class ClassDefinitionImpl extends StatementImpl implements ClassDefinition { + /** + * The default value of the '{@link #isAbstract() Abstract}' attribute. + * + * + * @see #isAbstract() + * @generated + * @ordered + */ + protected static final boolean ABSTRACT_EDEFAULT = false; + + /** + * The cached value of the '{@link #isAbstract() Abstract}' attribute. + * + * + * @see #isAbstract() + * @generated + * @ordered + */ + protected boolean abstract_ = ABSTRACT_EDEFAULT; + + /** + * The default value of the '{@link #getName() Name}' attribute. + * + * + * @see #getName() + * @generated + * @ordered + */ + protected static final String NAME_EDEFAULT = null; + + /** + * The cached value of the '{@link #getName() Name}' attribute. + * + * + * @see #getName() + * @generated + * @ordered + */ + protected String name = NAME_EDEFAULT; + + /** + * The cached value of the '{@link #getSuperclasses() Superclasses}' reference list. + * + * + * @see #getSuperclasses() + * @generated + * @ordered + */ + protected EList superclasses; + + /** + * The cached value of the '{@link #getMembers() Members}' containment reference list. + * + * + * @see #getMembers() + * @generated + * @ordered + */ + protected EList members; + + /** + * + * + * @generated + */ + protected ClassDefinitionImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return SolverLanguagePackage.Literals.CLASS_DEFINITION; + } + + /** + * + * + * @generated + */ + @Override + public boolean isAbstract() { + return abstract_; + } + + /** + * + * + * @generated + */ + @Override + public void setAbstract(boolean newAbstract) { + boolean oldAbstract = abstract_; + abstract_ = newAbstract; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.CLASS_DEFINITION__ABSTRACT, oldAbstract, abstract_)); + } + + /** + * + * + * @generated + */ + @Override + public String getName() { + return name; + } + + /** + * + * + * @generated + */ + @Override + public void setName(String newName) { + String oldName = name; + name = newName; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.CLASS_DEFINITION__NAME, oldName, name)); + } + + /** + * + * + * @generated + */ + @Override + public EList getSuperclasses() { + if (superclasses == null) { + superclasses = new EObjectResolvingEList(NamedElement.class, this, SolverLanguagePackage.CLASS_DEFINITION__SUPERCLASSES); + } + return superclasses; + } + + /** + * + * + * @generated + */ + @Override + public EList getMembers() { + if (members == null) { + members = new EObjectContainmentEList(MemberDefinition.class, this, SolverLanguagePackage.CLASS_DEFINITION__MEMBERS); + } + return members; + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case SolverLanguagePackage.CLASS_DEFINITION__MEMBERS: + return ((InternalEList)getMembers()).basicRemove(otherEnd, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case SolverLanguagePackage.CLASS_DEFINITION__ABSTRACT: + return isAbstract(); + case SolverLanguagePackage.CLASS_DEFINITION__NAME: + return getName(); + case SolverLanguagePackage.CLASS_DEFINITION__SUPERCLASSES: + return getSuperclasses(); + case SolverLanguagePackage.CLASS_DEFINITION__MEMBERS: + return getMembers(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case SolverLanguagePackage.CLASS_DEFINITION__ABSTRACT: + setAbstract((Boolean)newValue); + return; + case SolverLanguagePackage.CLASS_DEFINITION__NAME: + setName((String)newValue); + return; + case SolverLanguagePackage.CLASS_DEFINITION__SUPERCLASSES: + getSuperclasses().clear(); + getSuperclasses().addAll((Collection)newValue); + return; + case SolverLanguagePackage.CLASS_DEFINITION__MEMBERS: + getMembers().clear(); + getMembers().addAll((Collection)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case SolverLanguagePackage.CLASS_DEFINITION__ABSTRACT: + setAbstract(ABSTRACT_EDEFAULT); + return; + case SolverLanguagePackage.CLASS_DEFINITION__NAME: + setName(NAME_EDEFAULT); + return; + case SolverLanguagePackage.CLASS_DEFINITION__SUPERCLASSES: + getSuperclasses().clear(); + return; + case SolverLanguagePackage.CLASS_DEFINITION__MEMBERS: + getMembers().clear(); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case SolverLanguagePackage.CLASS_DEFINITION__ABSTRACT: + return abstract_ != ABSTRACT_EDEFAULT; + case SolverLanguagePackage.CLASS_DEFINITION__NAME: + return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); + case SolverLanguagePackage.CLASS_DEFINITION__SUPERCLASSES: + return superclasses != null && !superclasses.isEmpty(); + case SolverLanguagePackage.CLASS_DEFINITION__MEMBERS: + return members != null && !members.isEmpty(); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuilder result = new StringBuilder(super.toString()); + result.append(" (abstract: "); + result.append(abstract_); + result.append(", name: "); + result.append(name); + result.append(')'); + return result.toString(); + } + +} //ClassDefinitionImpl diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ComparisonImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ComparisonImpl.java new file mode 100644 index 00000000..37cc2e07 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ComparisonImpl.java @@ -0,0 +1,317 @@ +/** + * generated by Xtext 2.21.0 + */ +package org.eclipse.viatra.solver.language.solverLanguage.impl; + +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.viatra.solver.language.solverLanguage.BinaryOperator; +import org.eclipse.viatra.solver.language.solverLanguage.Comparison; +import org.eclipse.viatra.solver.language.solverLanguage.Expression; +import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; + +/** + * + * An implementation of the model object 'Comparison'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.ComparisonImpl#getLeft Left}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.ComparisonImpl#getOp Op}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.ComparisonImpl#getRight Right}
    • + *
    + * + * @generated + */ +public class ComparisonImpl extends ExpressionImpl implements Comparison { + /** + * The cached value of the '{@link #getLeft() Left}' containment reference. + * + * + * @see #getLeft() + * @generated + * @ordered + */ + protected Expression left; + + /** + * The default value of the '{@link #getOp() Op}' attribute. + * + * + * @see #getOp() + * @generated + * @ordered + */ + protected static final BinaryOperator OP_EDEFAULT = BinaryOperator.EQ; + + /** + * The cached value of the '{@link #getOp() Op}' attribute. + * + * + * @see #getOp() + * @generated + * @ordered + */ + protected BinaryOperator op = OP_EDEFAULT; + + /** + * The cached value of the '{@link #getRight() Right}' containment reference. + * + * + * @see #getRight() + * @generated + * @ordered + */ + protected Expression right; + + /** + * + * + * @generated + */ + protected ComparisonImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return SolverLanguagePackage.Literals.COMPARISON; + } + + /** + * + * + * @generated + */ + @Override + public Expression getLeft() { + return left; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetLeft(Expression newLeft, NotificationChain msgs) { + Expression oldLeft = left; + left = newLeft; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.COMPARISON__LEFT, oldLeft, newLeft); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + @Override + public void setLeft(Expression newLeft) { + if (newLeft != left) { + NotificationChain msgs = null; + if (left != null) + msgs = ((InternalEObject)left).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.COMPARISON__LEFT, null, msgs); + if (newLeft != null) + msgs = ((InternalEObject)newLeft).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.COMPARISON__LEFT, null, msgs); + msgs = basicSetLeft(newLeft, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.COMPARISON__LEFT, newLeft, newLeft)); + } + + /** + * + * + * @generated + */ + @Override + public BinaryOperator getOp() { + return op; + } + + /** + * + * + * @generated + */ + @Override + public void setOp(BinaryOperator newOp) { + BinaryOperator oldOp = op; + op = newOp == null ? OP_EDEFAULT : newOp; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.COMPARISON__OP, oldOp, op)); + } + + /** + * + * + * @generated + */ + @Override + public Expression getRight() { + return right; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetRight(Expression newRight, NotificationChain msgs) { + Expression oldRight = right; + right = newRight; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.COMPARISON__RIGHT, oldRight, newRight); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + @Override + public void setRight(Expression newRight) { + if (newRight != right) { + NotificationChain msgs = null; + if (right != null) + msgs = ((InternalEObject)right).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.COMPARISON__RIGHT, null, msgs); + if (newRight != null) + msgs = ((InternalEObject)newRight).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.COMPARISON__RIGHT, null, msgs); + msgs = basicSetRight(newRight, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.COMPARISON__RIGHT, newRight, newRight)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case SolverLanguagePackage.COMPARISON__LEFT: + return basicSetLeft(null, msgs); + case SolverLanguagePackage.COMPARISON__RIGHT: + return basicSetRight(null, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case SolverLanguagePackage.COMPARISON__LEFT: + return getLeft(); + case SolverLanguagePackage.COMPARISON__OP: + return getOp(); + case SolverLanguagePackage.COMPARISON__RIGHT: + return getRight(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case SolverLanguagePackage.COMPARISON__LEFT: + setLeft((Expression)newValue); + return; + case SolverLanguagePackage.COMPARISON__OP: + setOp((BinaryOperator)newValue); + return; + case SolverLanguagePackage.COMPARISON__RIGHT: + setRight((Expression)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case SolverLanguagePackage.COMPARISON__LEFT: + setLeft((Expression)null); + return; + case SolverLanguagePackage.COMPARISON__OP: + setOp(OP_EDEFAULT); + return; + case SolverLanguagePackage.COMPARISON__RIGHT: + setRight((Expression)null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case SolverLanguagePackage.COMPARISON__LEFT: + return left != null; + case SolverLanguagePackage.COMPARISON__OP: + return op != OP_EDEFAULT; + case SolverLanguagePackage.COMPARISON__RIGHT: + return right != null; + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuilder result = new StringBuilder(super.toString()); + result.append(" (op: "); + result.append(op); + result.append(')'); + return result.toString(); + } + +} //ComparisonImpl diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ConjunctionImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ConjunctionImpl.java new file mode 100644 index 00000000..cc689c0d --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ConjunctionImpl.java @@ -0,0 +1,152 @@ +/** + * generated by Xtext 2.21.0 + */ +package org.eclipse.viatra.solver.language.solverLanguage.impl; + +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; + +import org.eclipse.viatra.solver.language.solverLanguage.Conjunction; +import org.eclipse.viatra.solver.language.solverLanguage.Expression; +import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; + +/** + * + * An implementation of the model object 'Conjunction'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.ConjunctionImpl#getChildren Children}
    • + *
    + * + * @generated + */ +public class ConjunctionImpl extends ExpressionImpl implements Conjunction { + /** + * The cached value of the '{@link #getChildren() Children}' containment reference list. + * + * + * @see #getChildren() + * @generated + * @ordered + */ + protected EList children; + + /** + * + * + * @generated + */ + protected ConjunctionImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return SolverLanguagePackage.Literals.CONJUNCTION; + } + + /** + * + * + * @generated + */ + @Override + public EList getChildren() { + if (children == null) { + children = new EObjectContainmentEList(Expression.class, this, SolverLanguagePackage.CONJUNCTION__CHILDREN); + } + return children; + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case SolverLanguagePackage.CONJUNCTION__CHILDREN: + return ((InternalEList)getChildren()).basicRemove(otherEnd, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case SolverLanguagePackage.CONJUNCTION__CHILDREN: + return getChildren(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case SolverLanguagePackage.CONJUNCTION__CHILDREN: + getChildren().clear(); + getChildren().addAll((Collection)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case SolverLanguagePackage.CONJUNCTION__CHILDREN: + getChildren().clear(); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case SolverLanguagePackage.CONJUNCTION__CHILDREN: + return children != null && !children.isEmpty(); + } + return super.eIsSet(featureID); + } + +} //ConjunctionImpl diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/DefaultDefinitionImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/DefaultDefinitionImpl.java new file mode 100644 index 00000000..f1ad7bea --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/DefaultDefinitionImpl.java @@ -0,0 +1,247 @@ +/** + * generated by Xtext 2.21.0 + */ +package org.eclipse.viatra.solver.language.solverLanguage.impl; + +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.viatra.solver.language.solverLanguage.Call; +import org.eclipse.viatra.solver.language.solverLanguage.DefaultDefinition; +import org.eclipse.viatra.solver.language.solverLanguage.Expression; +import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; + +/** + * + * An implementation of the model object 'Default Definition'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.DefaultDefinitionImpl#getHead Head}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.DefaultDefinitionImpl#getRange Range}
    • + *
    + * + * @generated + */ +public class DefaultDefinitionImpl extends StatementImpl implements DefaultDefinition { + /** + * The cached value of the '{@link #getHead() Head}' containment reference. + * + * + * @see #getHead() + * @generated + * @ordered + */ + protected Call head; + + /** + * The cached value of the '{@link #getRange() Range}' containment reference. + * + * + * @see #getRange() + * @generated + * @ordered + */ + protected Expression range; + + /** + * + * + * @generated + */ + protected DefaultDefinitionImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return SolverLanguagePackage.Literals.DEFAULT_DEFINITION; + } + + /** + * + * + * @generated + */ + @Override + public Call getHead() { + return head; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetHead(Call newHead, NotificationChain msgs) { + Call oldHead = head; + head = newHead; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.DEFAULT_DEFINITION__HEAD, oldHead, newHead); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + @Override + public void setHead(Call newHead) { + if (newHead != head) { + NotificationChain msgs = null; + if (head != null) + msgs = ((InternalEObject)head).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.DEFAULT_DEFINITION__HEAD, null, msgs); + if (newHead != null) + msgs = ((InternalEObject)newHead).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.DEFAULT_DEFINITION__HEAD, null, msgs); + msgs = basicSetHead(newHead, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.DEFAULT_DEFINITION__HEAD, newHead, newHead)); + } + + /** + * + * + * @generated + */ + @Override + public Expression getRange() { + return range; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetRange(Expression newRange, NotificationChain msgs) { + Expression oldRange = range; + range = newRange; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.DEFAULT_DEFINITION__RANGE, oldRange, newRange); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + @Override + public void setRange(Expression newRange) { + if (newRange != range) { + NotificationChain msgs = null; + if (range != null) + msgs = ((InternalEObject)range).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.DEFAULT_DEFINITION__RANGE, null, msgs); + if (newRange != null) + msgs = ((InternalEObject)newRange).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.DEFAULT_DEFINITION__RANGE, null, msgs); + msgs = basicSetRange(newRange, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.DEFAULT_DEFINITION__RANGE, newRange, newRange)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case SolverLanguagePackage.DEFAULT_DEFINITION__HEAD: + return basicSetHead(null, msgs); + case SolverLanguagePackage.DEFAULT_DEFINITION__RANGE: + return basicSetRange(null, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case SolverLanguagePackage.DEFAULT_DEFINITION__HEAD: + return getHead(); + case SolverLanguagePackage.DEFAULT_DEFINITION__RANGE: + return getRange(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case SolverLanguagePackage.DEFAULT_DEFINITION__HEAD: + setHead((Call)newValue); + return; + case SolverLanguagePackage.DEFAULT_DEFINITION__RANGE: + setRange((Expression)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case SolverLanguagePackage.DEFAULT_DEFINITION__HEAD: + setHead((Call)null); + return; + case SolverLanguagePackage.DEFAULT_DEFINITION__RANGE: + setRange((Expression)null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case SolverLanguagePackage.DEFAULT_DEFINITION__HEAD: + return head != null; + case SolverLanguagePackage.DEFAULT_DEFINITION__RANGE: + return range != null; + } + return super.eIsSet(featureID); + } + +} //DefaultDefinitionImpl diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/DisjunctionImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/DisjunctionImpl.java new file mode 100644 index 00000000..47dd7bcc --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/DisjunctionImpl.java @@ -0,0 +1,152 @@ +/** + * generated by Xtext 2.21.0 + */ +package org.eclipse.viatra.solver.language.solverLanguage.impl; + +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; + +import org.eclipse.viatra.solver.language.solverLanguage.Disjunction; +import org.eclipse.viatra.solver.language.solverLanguage.Expression; +import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; + +/** + * + * An implementation of the model object 'Disjunction'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.DisjunctionImpl#getChildren Children}
    • + *
    + * + * @generated + */ +public class DisjunctionImpl extends ExpressionImpl implements Disjunction { + /** + * The cached value of the '{@link #getChildren() Children}' containment reference list. + * + * + * @see #getChildren() + * @generated + * @ordered + */ + protected EList children; + + /** + * + * + * @generated + */ + protected DisjunctionImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return SolverLanguagePackage.Literals.DISJUNCTION; + } + + /** + * + * + * @generated + */ + @Override + public EList getChildren() { + if (children == null) { + children = new EObjectContainmentEList(Expression.class, this, SolverLanguagePackage.DISJUNCTION__CHILDREN); + } + return children; + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case SolverLanguagePackage.DISJUNCTION__CHILDREN: + return ((InternalEList)getChildren()).basicRemove(otherEnd, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case SolverLanguagePackage.DISJUNCTION__CHILDREN: + return getChildren(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case SolverLanguagePackage.DISJUNCTION__CHILDREN: + getChildren().clear(); + getChildren().addAll((Collection)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case SolverLanguagePackage.DISJUNCTION__CHILDREN: + getChildren().clear(); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case SolverLanguagePackage.DISJUNCTION__CHILDREN: + return children != null && !children.isEmpty(); + } + return super.eIsSet(featureID); + } + +} //DisjunctionImpl diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/EmptyIntervalLiteralImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/EmptyIntervalLiteralImpl.java new file mode 100644 index 00000000..26717519 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/EmptyIntervalLiteralImpl.java @@ -0,0 +1,38 @@ +/** + * generated by Xtext 2.21.0 + */ +package org.eclipse.viatra.solver.language.solverLanguage.impl; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.viatra.solver.language.solverLanguage.EmptyIntervalLiteral; +import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; + +/** + * + * An implementation of the model object 'Empty Interval Literal'. + * + * + * @generated + */ +public class EmptyIntervalLiteralImpl extends LiteralImpl implements EmptyIntervalLiteral { + /** + * + * + * @generated + */ + protected EmptyIntervalLiteralImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return SolverLanguagePackage.Literals.EMPTY_INTERVAL_LITERAL; + } + +} //EmptyIntervalLiteralImpl diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExactMultiplicityImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExactMultiplicityImpl.java new file mode 100644 index 00000000..fdeeae5e --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExactMultiplicityImpl.java @@ -0,0 +1,165 @@ +/** + * generated by Xtext 2.21.0 + */ +package org.eclipse.viatra.solver.language.solverLanguage.impl; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +import org.eclipse.viatra.solver.language.solverLanguage.ExactMultiplicity; +import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; + +/** + * + * An implementation of the model object 'Exact Multiplicity'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExactMultiplicityImpl#getMultiplicity Multiplicity}
    • + *
    + * + * @generated + */ +public class ExactMultiplicityImpl extends MultiplicityImpl implements ExactMultiplicity { + /** + * The default value of the '{@link #getMultiplicity() Multiplicity}' attribute. + * + * + * @see #getMultiplicity() + * @generated + * @ordered + */ + protected static final int MULTIPLICITY_EDEFAULT = 0; + + /** + * The cached value of the '{@link #getMultiplicity() Multiplicity}' attribute. + * + * + * @see #getMultiplicity() + * @generated + * @ordered + */ + protected int multiplicity = MULTIPLICITY_EDEFAULT; + + /** + * + * + * @generated + */ + protected ExactMultiplicityImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return SolverLanguagePackage.Literals.EXACT_MULTIPLICITY; + } + + /** + * + * + * @generated + */ + @Override + public int getMultiplicity() { + return multiplicity; + } + + /** + * + * + * @generated + */ + @Override + public void setMultiplicity(int newMultiplicity) { + int oldMultiplicity = multiplicity; + multiplicity = newMultiplicity; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.EXACT_MULTIPLICITY__MULTIPLICITY, oldMultiplicity, multiplicity)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case SolverLanguagePackage.EXACT_MULTIPLICITY__MULTIPLICITY: + return getMultiplicity(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case SolverLanguagePackage.EXACT_MULTIPLICITY__MULTIPLICITY: + setMultiplicity((Integer)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case SolverLanguagePackage.EXACT_MULTIPLICITY__MULTIPLICITY: + setMultiplicity(MULTIPLICITY_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case SolverLanguagePackage.EXACT_MULTIPLICITY__MULTIPLICITY: + return multiplicity != MULTIPLICITY_EDEFAULT; + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuilder result = new StringBuilder(super.toString()); + result.append(" (multiplicity: "); + result.append(multiplicity); + result.append(')'); + return result.toString(); + } + +} //ExactMultiplicityImpl diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExactScopeDefinitionImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExactScopeDefinitionImpl.java new file mode 100644 index 00000000..d5a375b0 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExactScopeDefinitionImpl.java @@ -0,0 +1,165 @@ +/** + * generated by Xtext 2.21.0 + */ +package org.eclipse.viatra.solver.language.solverLanguage.impl; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +import org.eclipse.viatra.solver.language.solverLanguage.ExactScopeDefinition; +import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; + +/** + * + * An implementation of the model object 'Exact Scope Definition'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExactScopeDefinitionImpl#getExactScope Exact Scope}
    • + *
    + * + * @generated + */ +public class ExactScopeDefinitionImpl extends ScopeDefinitionImpl implements ExactScopeDefinition { + /** + * The default value of the '{@link #getExactScope() Exact Scope}' attribute. + * + * + * @see #getExactScope() + * @generated + * @ordered + */ + protected static final int EXACT_SCOPE_EDEFAULT = 0; + + /** + * The cached value of the '{@link #getExactScope() Exact Scope}' attribute. + * + * + * @see #getExactScope() + * @generated + * @ordered + */ + protected int exactScope = EXACT_SCOPE_EDEFAULT; + + /** + * + * + * @generated + */ + protected ExactScopeDefinitionImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return SolverLanguagePackage.Literals.EXACT_SCOPE_DEFINITION; + } + + /** + * + * + * @generated + */ + @Override + public int getExactScope() { + return exactScope; + } + + /** + * + * + * @generated + */ + @Override + public void setExactScope(int newExactScope) { + int oldExactScope = exactScope; + exactScope = newExactScope; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.EXACT_SCOPE_DEFINITION__EXACT_SCOPE, oldExactScope, exactScope)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case SolverLanguagePackage.EXACT_SCOPE_DEFINITION__EXACT_SCOPE: + return getExactScope(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case SolverLanguagePackage.EXACT_SCOPE_DEFINITION__EXACT_SCOPE: + setExactScope((Integer)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case SolverLanguagePackage.EXACT_SCOPE_DEFINITION__EXACT_SCOPE: + setExactScope(EXACT_SCOPE_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case SolverLanguagePackage.EXACT_SCOPE_DEFINITION__EXACT_SCOPE: + return exactScope != EXACT_SCOPE_EDEFAULT; + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuilder result = new StringBuilder(super.toString()); + result.append(" (exactScope: "); + result.append(exactScope); + result.append(')'); + return result.toString(); + } + +} //ExactScopeDefinitionImpl diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExpressionArgumentImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExpressionArgumentImpl.java new file mode 100644 index 00000000..798b4b68 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExpressionArgumentImpl.java @@ -0,0 +1,178 @@ +/** + * generated by Xtext 2.21.0 + */ +package org.eclipse.viatra.solver.language.solverLanguage.impl; + +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.viatra.solver.language.solverLanguage.Expression; +import org.eclipse.viatra.solver.language.solverLanguage.ExpressionArgument; +import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; + +/** + * + * An implementation of the model object 'Expression Argument'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExpressionArgumentImpl#getBody Body}
    • + *
    + * + * @generated + */ +public class ExpressionArgumentImpl extends ArgumentImpl implements ExpressionArgument { + /** + * The cached value of the '{@link #getBody() Body}' containment reference. + * + * + * @see #getBody() + * @generated + * @ordered + */ + protected Expression body; + + /** + * + * + * @generated + */ + protected ExpressionArgumentImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return SolverLanguagePackage.Literals.EXPRESSION_ARGUMENT; + } + + /** + * + * + * @generated + */ + @Override + public Expression getBody() { + return body; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetBody(Expression newBody, NotificationChain msgs) { + Expression oldBody = body; + body = newBody; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.EXPRESSION_ARGUMENT__BODY, oldBody, newBody); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + @Override + public void setBody(Expression newBody) { + if (newBody != body) { + NotificationChain msgs = null; + if (body != null) + msgs = ((InternalEObject)body).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.EXPRESSION_ARGUMENT__BODY, null, msgs); + if (newBody != null) + msgs = ((InternalEObject)newBody).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.EXPRESSION_ARGUMENT__BODY, null, msgs); + msgs = basicSetBody(newBody, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.EXPRESSION_ARGUMENT__BODY, newBody, newBody)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case SolverLanguagePackage.EXPRESSION_ARGUMENT__BODY: + return basicSetBody(null, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case SolverLanguagePackage.EXPRESSION_ARGUMENT__BODY: + return getBody(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case SolverLanguagePackage.EXPRESSION_ARGUMENT__BODY: + setBody((Expression)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case SolverLanguagePackage.EXPRESSION_ARGUMENT__BODY: + setBody((Expression)null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case SolverLanguagePackage.EXPRESSION_ARGUMENT__BODY: + return body != null; + } + return super.eIsSet(featureID); + } + +} //ExpressionArgumentImpl diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExpressionImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExpressionImpl.java new file mode 100644 index 00000000..5b1c5969 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExpressionImpl.java @@ -0,0 +1,38 @@ +/** + * generated by Xtext 2.21.0 + */ +package org.eclipse.viatra.solver.language.solverLanguage.impl; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.viatra.solver.language.solverLanguage.Expression; +import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; + +/** + * + * An implementation of the model object 'Expression'. + * + * + * @generated + */ +public abstract class ExpressionImpl extends StatementImpl implements Expression { + /** + * + * + * @generated + */ + protected ExpressionImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return SolverLanguagePackage.Literals.EXPRESSION; + } + +} //ExpressionImpl diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExternAggregatorDefinitionImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExternAggregatorDefinitionImpl.java new file mode 100644 index 00000000..2b4efc07 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExternAggregatorDefinitionImpl.java @@ -0,0 +1,291 @@ +/** + * generated by Xtext 2.21.0 + */ +package org.eclipse.viatra.solver.language.solverLanguage.impl; + +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.solver.language.solverLanguage.ExternAggregatorDefinition; +import org.eclipse.viatra.solver.language.solverLanguage.NamedElement; +import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; + +/** + * + * An implementation of the model object 'Extern Aggregator Definition'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExternAggregatorDefinitionImpl#getType Type}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExternAggregatorDefinitionImpl#getName Name}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExternAggregatorDefinitionImpl#getInputType Input Type}
    • + *
    + * + * @generated + */ +public class ExternAggregatorDefinitionImpl extends StatementImpl implements ExternAggregatorDefinition { + /** + * The cached value of the '{@link #getType() Type}' reference. + * + * + * @see #getType() + * @generated + * @ordered + */ + protected NamedElement type; + + /** + * The default value of the '{@link #getName() Name}' attribute. + * + * + * @see #getName() + * @generated + * @ordered + */ + protected static final String NAME_EDEFAULT = null; + + /** + * The cached value of the '{@link #getName() Name}' attribute. + * + * + * @see #getName() + * @generated + * @ordered + */ + protected String name = NAME_EDEFAULT; + + /** + * The cached value of the '{@link #getInputType() Input Type}' reference. + * + * + * @see #getInputType() + * @generated + * @ordered + */ + protected NamedElement inputType; + + /** + * + * + * @generated + */ + protected ExternAggregatorDefinitionImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return SolverLanguagePackage.Literals.EXTERN_AGGREGATOR_DEFINITION; + } + + /** + * + * + * @generated + */ + @Override + public NamedElement getType() { + if (type != null && type.eIsProxy()) { + InternalEObject oldType = (InternalEObject)type; + type = (NamedElement)eResolveProxy(oldType); + if (type != oldType) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, SolverLanguagePackage.EXTERN_AGGREGATOR_DEFINITION__TYPE, oldType, type)); + } + } + return type; + } + + /** + * + * + * @generated + */ + public NamedElement basicGetType() { + return type; + } + + /** + * + * + * @generated + */ + @Override + public void setType(NamedElement newType) { + NamedElement oldType = type; + type = newType; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.EXTERN_AGGREGATOR_DEFINITION__TYPE, oldType, type)); + } + + /** + * + * + * @generated + */ + @Override + public String getName() { + return name; + } + + /** + * + * + * @generated + */ + @Override + public void setName(String newName) { + String oldName = name; + name = newName; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.EXTERN_AGGREGATOR_DEFINITION__NAME, oldName, name)); + } + + /** + * + * + * @generated + */ + @Override + public NamedElement getInputType() { + if (inputType != null && inputType.eIsProxy()) { + InternalEObject oldInputType = (InternalEObject)inputType; + inputType = (NamedElement)eResolveProxy(oldInputType); + if (inputType != oldInputType) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, SolverLanguagePackage.EXTERN_AGGREGATOR_DEFINITION__INPUT_TYPE, oldInputType, inputType)); + } + } + return inputType; + } + + /** + * + * + * @generated + */ + public NamedElement basicGetInputType() { + return inputType; + } + + /** + * + * + * @generated + */ + @Override + public void setInputType(NamedElement newInputType) { + NamedElement oldInputType = inputType; + inputType = newInputType; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.EXTERN_AGGREGATOR_DEFINITION__INPUT_TYPE, oldInputType, inputType)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case SolverLanguagePackage.EXTERN_AGGREGATOR_DEFINITION__TYPE: + if (resolve) return getType(); + return basicGetType(); + case SolverLanguagePackage.EXTERN_AGGREGATOR_DEFINITION__NAME: + return getName(); + case SolverLanguagePackage.EXTERN_AGGREGATOR_DEFINITION__INPUT_TYPE: + if (resolve) return getInputType(); + return basicGetInputType(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case SolverLanguagePackage.EXTERN_AGGREGATOR_DEFINITION__TYPE: + setType((NamedElement)newValue); + return; + case SolverLanguagePackage.EXTERN_AGGREGATOR_DEFINITION__NAME: + setName((String)newValue); + return; + case SolverLanguagePackage.EXTERN_AGGREGATOR_DEFINITION__INPUT_TYPE: + setInputType((NamedElement)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case SolverLanguagePackage.EXTERN_AGGREGATOR_DEFINITION__TYPE: + setType((NamedElement)null); + return; + case SolverLanguagePackage.EXTERN_AGGREGATOR_DEFINITION__NAME: + setName(NAME_EDEFAULT); + return; + case SolverLanguagePackage.EXTERN_AGGREGATOR_DEFINITION__INPUT_TYPE: + setInputType((NamedElement)null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case SolverLanguagePackage.EXTERN_AGGREGATOR_DEFINITION__TYPE: + return type != null; + case SolverLanguagePackage.EXTERN_AGGREGATOR_DEFINITION__NAME: + return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); + case SolverLanguagePackage.EXTERN_AGGREGATOR_DEFINITION__INPUT_TYPE: + return inputType != null; + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuilder result = new StringBuilder(super.toString()); + result.append(" (name: "); + result.append(name); + result.append(')'); + return result.toString(); + } + +} //ExternAggregatorDefinitionImpl diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExternDatatypeDefinitionImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExternDatatypeDefinitionImpl.java new file mode 100644 index 00000000..d186fb95 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExternDatatypeDefinitionImpl.java @@ -0,0 +1,208 @@ +/** + * generated by Xtext 2.21.0 + */ +package org.eclipse.viatra.solver.language.solverLanguage.impl; + +import java.util.Collection; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +import org.eclipse.emf.ecore.util.EObjectResolvingEList; + +import org.eclipse.viatra.solver.language.solverLanguage.ExternDatatypeDefinition; +import org.eclipse.viatra.solver.language.solverLanguage.NamedElement; +import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; + +/** + * + * An implementation of the model object 'Extern Datatype Definition'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExternDatatypeDefinitionImpl#getName Name}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExternDatatypeDefinitionImpl#getSupertypes Supertypes}
    • + *
    + * + * @generated + */ +public class ExternDatatypeDefinitionImpl extends StatementImpl implements ExternDatatypeDefinition { + /** + * The default value of the '{@link #getName() Name}' attribute. + * + * + * @see #getName() + * @generated + * @ordered + */ + protected static final String NAME_EDEFAULT = null; + + /** + * The cached value of the '{@link #getName() Name}' attribute. + * + * + * @see #getName() + * @generated + * @ordered + */ + protected String name = NAME_EDEFAULT; + + /** + * The cached value of the '{@link #getSupertypes() Supertypes}' reference list. + * + * + * @see #getSupertypes() + * @generated + * @ordered + */ + protected EList supertypes; + + /** + * + * + * @generated + */ + protected ExternDatatypeDefinitionImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return SolverLanguagePackage.Literals.EXTERN_DATATYPE_DEFINITION; + } + + /** + * + * + * @generated + */ + @Override + public String getName() { + return name; + } + + /** + * + * + * @generated + */ + @Override + public void setName(String newName) { + String oldName = name; + name = newName; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.EXTERN_DATATYPE_DEFINITION__NAME, oldName, name)); + } + + /** + * + * + * @generated + */ + @Override + public EList getSupertypes() { + if (supertypes == null) { + supertypes = new EObjectResolvingEList(NamedElement.class, this, SolverLanguagePackage.EXTERN_DATATYPE_DEFINITION__SUPERTYPES); + } + return supertypes; + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case SolverLanguagePackage.EXTERN_DATATYPE_DEFINITION__NAME: + return getName(); + case SolverLanguagePackage.EXTERN_DATATYPE_DEFINITION__SUPERTYPES: + return getSupertypes(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case SolverLanguagePackage.EXTERN_DATATYPE_DEFINITION__NAME: + setName((String)newValue); + return; + case SolverLanguagePackage.EXTERN_DATATYPE_DEFINITION__SUPERTYPES: + getSupertypes().clear(); + getSupertypes().addAll((Collection)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case SolverLanguagePackage.EXTERN_DATATYPE_DEFINITION__NAME: + setName(NAME_EDEFAULT); + return; + case SolverLanguagePackage.EXTERN_DATATYPE_DEFINITION__SUPERTYPES: + getSupertypes().clear(); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case SolverLanguagePackage.EXTERN_DATATYPE_DEFINITION__NAME: + return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); + case SolverLanguagePackage.EXTERN_DATATYPE_DEFINITION__SUPERTYPES: + return supertypes != null && !supertypes.isEmpty(); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuilder result = new StringBuilder(super.toString()); + result.append(" (name: "); + result.append(name); + result.append(')'); + return result.toString(); + } + +} //ExternDatatypeDefinitionImpl diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExternMetricDefinitionImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExternMetricDefinitionImpl.java new file mode 100644 index 00000000..97c76273 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExternMetricDefinitionImpl.java @@ -0,0 +1,311 @@ +/** + * generated by Xtext 2.21.0 + */ +package org.eclipse.viatra.solver.language.solverLanguage.impl; + +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.viatra.solver.language.solverLanguage.ArgumentList; +import org.eclipse.viatra.solver.language.solverLanguage.ExternMetricDefinition; +import org.eclipse.viatra.solver.language.solverLanguage.NamedElement; +import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; + +/** + * + * An implementation of the model object 'Extern Metric Definition'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExternMetricDefinitionImpl#getType Type}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExternMetricDefinitionImpl#getName Name}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExternMetricDefinitionImpl#getArgumentList Argument List}
    • + *
    + * + * @generated + */ +public class ExternMetricDefinitionImpl extends StatementImpl implements ExternMetricDefinition { + /** + * The cached value of the '{@link #getType() Type}' reference. + * + * + * @see #getType() + * @generated + * @ordered + */ + protected NamedElement type; + + /** + * The default value of the '{@link #getName() Name}' attribute. + * + * + * @see #getName() + * @generated + * @ordered + */ + protected static final String NAME_EDEFAULT = null; + + /** + * The cached value of the '{@link #getName() Name}' attribute. + * + * + * @see #getName() + * @generated + * @ordered + */ + protected String name = NAME_EDEFAULT; + + /** + * The cached value of the '{@link #getArgumentList() Argument List}' containment reference. + * + * + * @see #getArgumentList() + * @generated + * @ordered + */ + protected ArgumentList argumentList; + + /** + * + * + * @generated + */ + protected ExternMetricDefinitionImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return SolverLanguagePackage.Literals.EXTERN_METRIC_DEFINITION; + } + + /** + * + * + * @generated + */ + @Override + public NamedElement getType() { + if (type != null && type.eIsProxy()) { + InternalEObject oldType = (InternalEObject)type; + type = (NamedElement)eResolveProxy(oldType); + if (type != oldType) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, SolverLanguagePackage.EXTERN_METRIC_DEFINITION__TYPE, oldType, type)); + } + } + return type; + } + + /** + * + * + * @generated + */ + public NamedElement basicGetType() { + return type; + } + + /** + * + * + * @generated + */ + @Override + public void setType(NamedElement newType) { + NamedElement oldType = type; + type = newType; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.EXTERN_METRIC_DEFINITION__TYPE, oldType, type)); + } + + /** + * + * + * @generated + */ + @Override + public String getName() { + return name; + } + + /** + * + * + * @generated + */ + @Override + public void setName(String newName) { + String oldName = name; + name = newName; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.EXTERN_METRIC_DEFINITION__NAME, oldName, name)); + } + + /** + * + * + * @generated + */ + @Override + public ArgumentList getArgumentList() { + return argumentList; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetArgumentList(ArgumentList newArgumentList, NotificationChain msgs) { + ArgumentList oldArgumentList = argumentList; + argumentList = newArgumentList; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.EXTERN_METRIC_DEFINITION__ARGUMENT_LIST, oldArgumentList, newArgumentList); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + @Override + public void setArgumentList(ArgumentList newArgumentList) { + if (newArgumentList != argumentList) { + NotificationChain msgs = null; + if (argumentList != null) + msgs = ((InternalEObject)argumentList).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.EXTERN_METRIC_DEFINITION__ARGUMENT_LIST, null, msgs); + if (newArgumentList != null) + msgs = ((InternalEObject)newArgumentList).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.EXTERN_METRIC_DEFINITION__ARGUMENT_LIST, null, msgs); + msgs = basicSetArgumentList(newArgumentList, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.EXTERN_METRIC_DEFINITION__ARGUMENT_LIST, newArgumentList, newArgumentList)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case SolverLanguagePackage.EXTERN_METRIC_DEFINITION__ARGUMENT_LIST: + return basicSetArgumentList(null, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case SolverLanguagePackage.EXTERN_METRIC_DEFINITION__TYPE: + if (resolve) return getType(); + return basicGetType(); + case SolverLanguagePackage.EXTERN_METRIC_DEFINITION__NAME: + return getName(); + case SolverLanguagePackage.EXTERN_METRIC_DEFINITION__ARGUMENT_LIST: + return getArgumentList(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case SolverLanguagePackage.EXTERN_METRIC_DEFINITION__TYPE: + setType((NamedElement)newValue); + return; + case SolverLanguagePackage.EXTERN_METRIC_DEFINITION__NAME: + setName((String)newValue); + return; + case SolverLanguagePackage.EXTERN_METRIC_DEFINITION__ARGUMENT_LIST: + setArgumentList((ArgumentList)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case SolverLanguagePackage.EXTERN_METRIC_DEFINITION__TYPE: + setType((NamedElement)null); + return; + case SolverLanguagePackage.EXTERN_METRIC_DEFINITION__NAME: + setName(NAME_EDEFAULT); + return; + case SolverLanguagePackage.EXTERN_METRIC_DEFINITION__ARGUMENT_LIST: + setArgumentList((ArgumentList)null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case SolverLanguagePackage.EXTERN_METRIC_DEFINITION__TYPE: + return type != null; + case SolverLanguagePackage.EXTERN_METRIC_DEFINITION__NAME: + return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); + case SolverLanguagePackage.EXTERN_METRIC_DEFINITION__ARGUMENT_LIST: + return argumentList != null; + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuilder result = new StringBuilder(super.toString()); + result.append(" (name: "); + result.append(name); + result.append(')'); + return result.toString(); + } + +} //ExternMetricDefinitionImpl diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExternPredicateDefinitionImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExternPredicateDefinitionImpl.java new file mode 100644 index 00000000..e59fa4e3 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExternPredicateDefinitionImpl.java @@ -0,0 +1,248 @@ +/** + * generated by Xtext 2.21.0 + */ +package org.eclipse.viatra.solver.language.solverLanguage.impl; + +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.viatra.solver.language.solverLanguage.ArgumentList; +import org.eclipse.viatra.solver.language.solverLanguage.ExternPredicateDefinition; +import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; + +/** + * + * An implementation of the model object 'Extern Predicate Definition'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExternPredicateDefinitionImpl#getName Name}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExternPredicateDefinitionImpl#getArgumentList Argument List}
    • + *
    + * + * @generated + */ +public class ExternPredicateDefinitionImpl extends StatementImpl implements ExternPredicateDefinition { + /** + * The default value of the '{@link #getName() Name}' attribute. + * + * + * @see #getName() + * @generated + * @ordered + */ + protected static final String NAME_EDEFAULT = null; + + /** + * The cached value of the '{@link #getName() Name}' attribute. + * + * + * @see #getName() + * @generated + * @ordered + */ + protected String name = NAME_EDEFAULT; + + /** + * The cached value of the '{@link #getArgumentList() Argument List}' containment reference. + * + * + * @see #getArgumentList() + * @generated + * @ordered + */ + protected ArgumentList argumentList; + + /** + * + * + * @generated + */ + protected ExternPredicateDefinitionImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return SolverLanguagePackage.Literals.EXTERN_PREDICATE_DEFINITION; + } + + /** + * + * + * @generated + */ + @Override + public String getName() { + return name; + } + + /** + * + * + * @generated + */ + @Override + public void setName(String newName) { + String oldName = name; + name = newName; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.EXTERN_PREDICATE_DEFINITION__NAME, oldName, name)); + } + + /** + * + * + * @generated + */ + @Override + public ArgumentList getArgumentList() { + return argumentList; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetArgumentList(ArgumentList newArgumentList, NotificationChain msgs) { + ArgumentList oldArgumentList = argumentList; + argumentList = newArgumentList; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.EXTERN_PREDICATE_DEFINITION__ARGUMENT_LIST, oldArgumentList, newArgumentList); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + @Override + public void setArgumentList(ArgumentList newArgumentList) { + if (newArgumentList != argumentList) { + NotificationChain msgs = null; + if (argumentList != null) + msgs = ((InternalEObject)argumentList).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.EXTERN_PREDICATE_DEFINITION__ARGUMENT_LIST, null, msgs); + if (newArgumentList != null) + msgs = ((InternalEObject)newArgumentList).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.EXTERN_PREDICATE_DEFINITION__ARGUMENT_LIST, null, msgs); + msgs = basicSetArgumentList(newArgumentList, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.EXTERN_PREDICATE_DEFINITION__ARGUMENT_LIST, newArgumentList, newArgumentList)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case SolverLanguagePackage.EXTERN_PREDICATE_DEFINITION__ARGUMENT_LIST: + return basicSetArgumentList(null, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case SolverLanguagePackage.EXTERN_PREDICATE_DEFINITION__NAME: + return getName(); + case SolverLanguagePackage.EXTERN_PREDICATE_DEFINITION__ARGUMENT_LIST: + return getArgumentList(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case SolverLanguagePackage.EXTERN_PREDICATE_DEFINITION__NAME: + setName((String)newValue); + return; + case SolverLanguagePackage.EXTERN_PREDICATE_DEFINITION__ARGUMENT_LIST: + setArgumentList((ArgumentList)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case SolverLanguagePackage.EXTERN_PREDICATE_DEFINITION__NAME: + setName(NAME_EDEFAULT); + return; + case SolverLanguagePackage.EXTERN_PREDICATE_DEFINITION__ARGUMENT_LIST: + setArgumentList((ArgumentList)null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case SolverLanguagePackage.EXTERN_PREDICATE_DEFINITION__NAME: + return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); + case SolverLanguagePackage.EXTERN_PREDICATE_DEFINITION__ARGUMENT_LIST: + return argumentList != null; + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuilder result = new StringBuilder(super.toString()); + result.append(" (name: "); + result.append(name); + result.append(')'); + return result.toString(); + } + +} //ExternPredicateDefinitionImpl diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/FunctorImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/FunctorImpl.java new file mode 100644 index 00000000..73bbc04f --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/FunctorImpl.java @@ -0,0 +1,134 @@ +/** + * generated by Xtext 2.21.0 + */ +package org.eclipse.viatra.solver.language.solverLanguage.impl; + +import java.util.Collection; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.emf.ecore.util.EObjectResolvingEList; + +import org.eclipse.viatra.solver.language.solverLanguage.Functor; +import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; +import org.eclipse.viatra.solver.language.solverLanguage.Variable; + +/** + * + * An implementation of the model object 'Functor'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.FunctorImpl#getParameters Parameters}
    • + *
    + * + * @generated + */ +public abstract class FunctorImpl extends NamedElementImpl implements Functor { + /** + * The cached value of the '{@link #getParameters() Parameters}' reference list. + * + * + * @see #getParameters() + * @generated + * @ordered + */ + protected EList parameters; + + /** + * + * + * @generated + */ + protected FunctorImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return SolverLanguagePackage.Literals.FUNCTOR; + } + + /** + * + * + * @generated + */ + @Override + public EList getParameters() { + if (parameters == null) { + parameters = new EObjectResolvingEList(Variable.class, this, SolverLanguagePackage.FUNCTOR__PARAMETERS); + } + return parameters; + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case SolverLanguagePackage.FUNCTOR__PARAMETERS: + return getParameters(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case SolverLanguagePackage.FUNCTOR__PARAMETERS: + getParameters().clear(); + getParameters().addAll((Collection)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case SolverLanguagePackage.FUNCTOR__PARAMETERS: + getParameters().clear(); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case SolverLanguagePackage.FUNCTOR__PARAMETERS: + return parameters != null && !parameters.isEmpty(); + } + return super.eIsSet(featureID); + } + +} //FunctorImpl diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/IfElseImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/IfElseImpl.java new file mode 100644 index 00000000..3c6bb17a --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/IfElseImpl.java @@ -0,0 +1,314 @@ +/** + * generated by Xtext 2.21.0 + */ +package org.eclipse.viatra.solver.language.solverLanguage.impl; + +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.viatra.solver.language.solverLanguage.Expression; +import org.eclipse.viatra.solver.language.solverLanguage.IfElse; +import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; + +/** + * + * An implementation of the model object 'If Else'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.IfElseImpl#getThen Then}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.IfElseImpl#getElse Else}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.IfElseImpl#getCondition Condition}
    • + *
    + * + * @generated + */ +public class IfElseImpl extends ExpressionImpl implements IfElse { + /** + * The cached value of the '{@link #getThen() Then}' containment reference. + * + * + * @see #getThen() + * @generated + * @ordered + */ + protected Expression then; + + /** + * The cached value of the '{@link #getElse() Else}' containment reference. + * + * + * @see #getElse() + * @generated + * @ordered + */ + protected Expression else_; + + /** + * The cached value of the '{@link #getCondition() Condition}' containment reference. + * + * + * @see #getCondition() + * @generated + * @ordered + */ + protected Expression condition; + + /** + * + * + * @generated + */ + protected IfElseImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return SolverLanguagePackage.Literals.IF_ELSE; + } + + /** + * + * + * @generated + */ + @Override + public Expression getThen() { + return then; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetThen(Expression newThen, NotificationChain msgs) { + Expression oldThen = then; + then = newThen; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.IF_ELSE__THEN, oldThen, newThen); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + @Override + public void setThen(Expression newThen) { + if (newThen != then) { + NotificationChain msgs = null; + if (then != null) + msgs = ((InternalEObject)then).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.IF_ELSE__THEN, null, msgs); + if (newThen != null) + msgs = ((InternalEObject)newThen).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.IF_ELSE__THEN, null, msgs); + msgs = basicSetThen(newThen, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.IF_ELSE__THEN, newThen, newThen)); + } + + /** + * + * + * @generated + */ + @Override + public Expression getElse() { + return else_; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetElse(Expression newElse, NotificationChain msgs) { + Expression oldElse = else_; + else_ = newElse; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.IF_ELSE__ELSE, oldElse, newElse); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + @Override + public void setElse(Expression newElse) { + if (newElse != else_) { + NotificationChain msgs = null; + if (else_ != null) + msgs = ((InternalEObject)else_).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.IF_ELSE__ELSE, null, msgs); + if (newElse != null) + msgs = ((InternalEObject)newElse).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.IF_ELSE__ELSE, null, msgs); + msgs = basicSetElse(newElse, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.IF_ELSE__ELSE, newElse, newElse)); + } + + /** + * + * + * @generated + */ + @Override + public Expression getCondition() { + return condition; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetCondition(Expression newCondition, NotificationChain msgs) { + Expression oldCondition = condition; + condition = newCondition; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.IF_ELSE__CONDITION, oldCondition, newCondition); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + @Override + public void setCondition(Expression newCondition) { + if (newCondition != condition) { + NotificationChain msgs = null; + if (condition != null) + msgs = ((InternalEObject)condition).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.IF_ELSE__CONDITION, null, msgs); + if (newCondition != null) + msgs = ((InternalEObject)newCondition).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.IF_ELSE__CONDITION, null, msgs); + msgs = basicSetCondition(newCondition, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.IF_ELSE__CONDITION, newCondition, newCondition)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case SolverLanguagePackage.IF_ELSE__THEN: + return basicSetThen(null, msgs); + case SolverLanguagePackage.IF_ELSE__ELSE: + return basicSetElse(null, msgs); + case SolverLanguagePackage.IF_ELSE__CONDITION: + return basicSetCondition(null, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case SolverLanguagePackage.IF_ELSE__THEN: + return getThen(); + case SolverLanguagePackage.IF_ELSE__ELSE: + return getElse(); + case SolverLanguagePackage.IF_ELSE__CONDITION: + return getCondition(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case SolverLanguagePackage.IF_ELSE__THEN: + setThen((Expression)newValue); + return; + case SolverLanguagePackage.IF_ELSE__ELSE: + setElse((Expression)newValue); + return; + case SolverLanguagePackage.IF_ELSE__CONDITION: + setCondition((Expression)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case SolverLanguagePackage.IF_ELSE__THEN: + setThen((Expression)null); + return; + case SolverLanguagePackage.IF_ELSE__ELSE: + setElse((Expression)null); + return; + case SolverLanguagePackage.IF_ELSE__CONDITION: + setCondition((Expression)null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case SolverLanguagePackage.IF_ELSE__THEN: + return then != null; + case SolverLanguagePackage.IF_ELSE__ELSE: + return else_ != null; + case SolverLanguagePackage.IF_ELSE__CONDITION: + return condition != null; + } + return super.eIsSet(featureID); + } + +} //IfElseImpl diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/InfinityLiteralImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/InfinityLiteralImpl.java new file mode 100644 index 00000000..348f51df --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/InfinityLiteralImpl.java @@ -0,0 +1,38 @@ +/** + * generated by Xtext 2.21.0 + */ +package org.eclipse.viatra.solver.language.solverLanguage.impl; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.viatra.solver.language.solverLanguage.InfinityLiteral; +import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; + +/** + * + * An implementation of the model object 'Infinity Literal'. + * + * + * @generated + */ +public class InfinityLiteralImpl extends LiteralImpl implements InfinityLiteral { + /** + * + * + * @generated + */ + protected InfinityLiteralImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return SolverLanguagePackage.Literals.INFINITY_LITERAL; + } + +} //InfinityLiteralImpl diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/InterpretationImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/InterpretationImpl.java new file mode 100644 index 00000000..fab8335a --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/InterpretationImpl.java @@ -0,0 +1,246 @@ +/** + * generated by Xtext 2.21.0 + */ +package org.eclipse.viatra.solver.language.solverLanguage.impl; + +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.viatra.solver.language.solverLanguage.Expression; +import org.eclipse.viatra.solver.language.solverLanguage.Interpretation; +import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; + +/** + * + * An implementation of the model object 'Interpretation'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.InterpretationImpl#getBody Body}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.InterpretationImpl#getRange Range}
    • + *
    + * + * @generated + */ +public class InterpretationImpl extends StatementImpl implements Interpretation { + /** + * The cached value of the '{@link #getBody() Body}' containment reference. + * + * + * @see #getBody() + * @generated + * @ordered + */ + protected Expression body; + + /** + * The cached value of the '{@link #getRange() Range}' containment reference. + * + * + * @see #getRange() + * @generated + * @ordered + */ + protected Expression range; + + /** + * + * + * @generated + */ + protected InterpretationImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return SolverLanguagePackage.Literals.INTERPRETATION; + } + + /** + * + * + * @generated + */ + @Override + public Expression getBody() { + return body; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetBody(Expression newBody, NotificationChain msgs) { + Expression oldBody = body; + body = newBody; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.INTERPRETATION__BODY, oldBody, newBody); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + @Override + public void setBody(Expression newBody) { + if (newBody != body) { + NotificationChain msgs = null; + if (body != null) + msgs = ((InternalEObject)body).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.INTERPRETATION__BODY, null, msgs); + if (newBody != null) + msgs = ((InternalEObject)newBody).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.INTERPRETATION__BODY, null, msgs); + msgs = basicSetBody(newBody, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.INTERPRETATION__BODY, newBody, newBody)); + } + + /** + * + * + * @generated + */ + @Override + public Expression getRange() { + return range; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetRange(Expression newRange, NotificationChain msgs) { + Expression oldRange = range; + range = newRange; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.INTERPRETATION__RANGE, oldRange, newRange); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + @Override + public void setRange(Expression newRange) { + if (newRange != range) { + NotificationChain msgs = null; + if (range != null) + msgs = ((InternalEObject)range).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.INTERPRETATION__RANGE, null, msgs); + if (newRange != null) + msgs = ((InternalEObject)newRange).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.INTERPRETATION__RANGE, null, msgs); + msgs = basicSetRange(newRange, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.INTERPRETATION__RANGE, newRange, newRange)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case SolverLanguagePackage.INTERPRETATION__BODY: + return basicSetBody(null, msgs); + case SolverLanguagePackage.INTERPRETATION__RANGE: + return basicSetRange(null, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case SolverLanguagePackage.INTERPRETATION__BODY: + return getBody(); + case SolverLanguagePackage.INTERPRETATION__RANGE: + return getRange(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case SolverLanguagePackage.INTERPRETATION__BODY: + setBody((Expression)newValue); + return; + case SolverLanguagePackage.INTERPRETATION__RANGE: + setRange((Expression)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case SolverLanguagePackage.INTERPRETATION__BODY: + setBody((Expression)null); + return; + case SolverLanguagePackage.INTERPRETATION__RANGE: + setRange((Expression)null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case SolverLanguagePackage.INTERPRETATION__BODY: + return body != null; + case SolverLanguagePackage.INTERPRETATION__RANGE: + return range != null; + } + return super.eIsSet(featureID); + } + +} //InterpretationImpl diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/IntervalImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/IntervalImpl.java new file mode 100644 index 00000000..a04dae76 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/IntervalImpl.java @@ -0,0 +1,246 @@ +/** + * generated by Xtext 2.21.0 + */ +package org.eclipse.viatra.solver.language.solverLanguage.impl; + +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.viatra.solver.language.solverLanguage.Expression; +import org.eclipse.viatra.solver.language.solverLanguage.Interval; +import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; + +/** + * + * An implementation of the model object 'Interval'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.IntervalImpl#getLowerBound Lower Bound}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.IntervalImpl#getUpperBound Upper Bound}
    • + *
    + * + * @generated + */ +public class IntervalImpl extends ExpressionImpl implements Interval { + /** + * The cached value of the '{@link #getLowerBound() Lower Bound}' containment reference. + * + * + * @see #getLowerBound() + * @generated + * @ordered + */ + protected Expression lowerBound; + + /** + * The cached value of the '{@link #getUpperBound() Upper Bound}' containment reference. + * + * + * @see #getUpperBound() + * @generated + * @ordered + */ + protected Expression upperBound; + + /** + * + * + * @generated + */ + protected IntervalImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return SolverLanguagePackage.Literals.INTERVAL; + } + + /** + * + * + * @generated + */ + @Override + public Expression getLowerBound() { + return lowerBound; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetLowerBound(Expression newLowerBound, NotificationChain msgs) { + Expression oldLowerBound = lowerBound; + lowerBound = newLowerBound; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.INTERVAL__LOWER_BOUND, oldLowerBound, newLowerBound); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + @Override + public void setLowerBound(Expression newLowerBound) { + if (newLowerBound != lowerBound) { + NotificationChain msgs = null; + if (lowerBound != null) + msgs = ((InternalEObject)lowerBound).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.INTERVAL__LOWER_BOUND, null, msgs); + if (newLowerBound != null) + msgs = ((InternalEObject)newLowerBound).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.INTERVAL__LOWER_BOUND, null, msgs); + msgs = basicSetLowerBound(newLowerBound, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.INTERVAL__LOWER_BOUND, newLowerBound, newLowerBound)); + } + + /** + * + * + * @generated + */ + @Override + public Expression getUpperBound() { + return upperBound; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetUpperBound(Expression newUpperBound, NotificationChain msgs) { + Expression oldUpperBound = upperBound; + upperBound = newUpperBound; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.INTERVAL__UPPER_BOUND, oldUpperBound, newUpperBound); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + @Override + public void setUpperBound(Expression newUpperBound) { + if (newUpperBound != upperBound) { + NotificationChain msgs = null; + if (upperBound != null) + msgs = ((InternalEObject)upperBound).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.INTERVAL__UPPER_BOUND, null, msgs); + if (newUpperBound != null) + msgs = ((InternalEObject)newUpperBound).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.INTERVAL__UPPER_BOUND, null, msgs); + msgs = basicSetUpperBound(newUpperBound, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.INTERVAL__UPPER_BOUND, newUpperBound, newUpperBound)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case SolverLanguagePackage.INTERVAL__LOWER_BOUND: + return basicSetLowerBound(null, msgs); + case SolverLanguagePackage.INTERVAL__UPPER_BOUND: + return basicSetUpperBound(null, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case SolverLanguagePackage.INTERVAL__LOWER_BOUND: + return getLowerBound(); + case SolverLanguagePackage.INTERVAL__UPPER_BOUND: + return getUpperBound(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case SolverLanguagePackage.INTERVAL__LOWER_BOUND: + setLowerBound((Expression)newValue); + return; + case SolverLanguagePackage.INTERVAL__UPPER_BOUND: + setUpperBound((Expression)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case SolverLanguagePackage.INTERVAL__LOWER_BOUND: + setLowerBound((Expression)null); + return; + case SolverLanguagePackage.INTERVAL__UPPER_BOUND: + setUpperBound((Expression)null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case SolverLanguagePackage.INTERVAL__LOWER_BOUND: + return lowerBound != null; + case SolverLanguagePackage.INTERVAL__UPPER_BOUND: + return upperBound != null; + } + return super.eIsSet(featureID); + } + +} //IntervalImpl diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/LetBindingImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/LetBindingImpl.java new file mode 100644 index 00000000..9788c44d --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/LetBindingImpl.java @@ -0,0 +1,248 @@ +/** + * generated by Xtext 2.21.0 + */ +package org.eclipse.viatra.solver.language.solverLanguage.impl; + +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; + +import org.eclipse.viatra.solver.language.solverLanguage.Expression; +import org.eclipse.viatra.solver.language.solverLanguage.LetBinding; +import org.eclipse.viatra.solver.language.solverLanguage.NamedElement; +import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; + +/** + * + * An implementation of the model object 'Let Binding'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.LetBindingImpl#getVariable Variable}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.LetBindingImpl#getValue Value}
    • + *
    + * + * @generated + */ +public class LetBindingImpl extends MinimalEObjectImpl.Container implements LetBinding { + /** + * The cached value of the '{@link #getVariable() Variable}' containment reference. + * + * + * @see #getVariable() + * @generated + * @ordered + */ + protected NamedElement variable; + + /** + * The cached value of the '{@link #getValue() Value}' containment reference. + * + * + * @see #getValue() + * @generated + * @ordered + */ + protected Expression value; + + /** + * + * + * @generated + */ + protected LetBindingImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return SolverLanguagePackage.Literals.LET_BINDING; + } + + /** + * + * + * @generated + */ + @Override + public NamedElement getVariable() { + return variable; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetVariable(NamedElement newVariable, NotificationChain msgs) { + NamedElement oldVariable = variable; + variable = newVariable; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.LET_BINDING__VARIABLE, oldVariable, newVariable); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + @Override + public void setVariable(NamedElement newVariable) { + if (newVariable != variable) { + NotificationChain msgs = null; + if (variable != null) + msgs = ((InternalEObject)variable).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.LET_BINDING__VARIABLE, null, msgs); + if (newVariable != null) + msgs = ((InternalEObject)newVariable).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.LET_BINDING__VARIABLE, null, msgs); + msgs = basicSetVariable(newVariable, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.LET_BINDING__VARIABLE, newVariable, newVariable)); + } + + /** + * + * + * @generated + */ + @Override + public Expression getValue() { + return value; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetValue(Expression newValue, NotificationChain msgs) { + Expression oldValue = value; + value = newValue; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.LET_BINDING__VALUE, oldValue, newValue); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + @Override + public void setValue(Expression newValue) { + if (newValue != value) { + NotificationChain msgs = null; + if (value != null) + msgs = ((InternalEObject)value).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.LET_BINDING__VALUE, null, msgs); + if (newValue != null) + msgs = ((InternalEObject)newValue).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.LET_BINDING__VALUE, null, msgs); + msgs = basicSetValue(newValue, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.LET_BINDING__VALUE, newValue, newValue)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case SolverLanguagePackage.LET_BINDING__VARIABLE: + return basicSetVariable(null, msgs); + case SolverLanguagePackage.LET_BINDING__VALUE: + return basicSetValue(null, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case SolverLanguagePackage.LET_BINDING__VARIABLE: + return getVariable(); + case SolverLanguagePackage.LET_BINDING__VALUE: + return getValue(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case SolverLanguagePackage.LET_BINDING__VARIABLE: + setVariable((NamedElement)newValue); + return; + case SolverLanguagePackage.LET_BINDING__VALUE: + setValue((Expression)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case SolverLanguagePackage.LET_BINDING__VARIABLE: + setVariable((NamedElement)null); + return; + case SolverLanguagePackage.LET_BINDING__VALUE: + setValue((Expression)null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case SolverLanguagePackage.LET_BINDING__VARIABLE: + return variable != null; + case SolverLanguagePackage.LET_BINDING__VALUE: + return value != null; + } + return super.eIsSet(featureID); + } + +} //LetBindingImpl diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/LetImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/LetImpl.java new file mode 100644 index 00000000..841c74c7 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/LetImpl.java @@ -0,0 +1,224 @@ +/** + * generated by Xtext 2.21.0 + */ +package org.eclipse.viatra.solver.language.solverLanguage.impl; + +import java.util.Collection; + +import org.eclipse.emf.common.notify.Notification; +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.impl.ENotificationImpl; + +import org.eclipse.emf.ecore.util.EObjectContainmentEList; +import org.eclipse.emf.ecore.util.InternalEList; + +import org.eclipse.viatra.solver.language.solverLanguage.Expression; +import org.eclipse.viatra.solver.language.solverLanguage.Let; +import org.eclipse.viatra.solver.language.solverLanguage.LetBinding; +import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; + +/** + * + * An implementation of the model object 'Let'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.LetImpl#getBindings Bindings}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.LetImpl#getBody Body}
    • + *
    + * + * @generated + */ +public class LetImpl extends ExpressionImpl implements Let { + /** + * The cached value of the '{@link #getBindings() Bindings}' containment reference list. + * + * + * @see #getBindings() + * @generated + * @ordered + */ + protected EList bindings; + + /** + * The cached value of the '{@link #getBody() Body}' containment reference. + * + * + * @see #getBody() + * @generated + * @ordered + */ + protected Expression body; + + /** + * + * + * @generated + */ + protected LetImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return SolverLanguagePackage.Literals.LET; + } + + /** + * + * + * @generated + */ + @Override + public EList getBindings() { + if (bindings == null) { + bindings = new EObjectContainmentEList(LetBinding.class, this, SolverLanguagePackage.LET__BINDINGS); + } + return bindings; + } + + /** + * + * + * @generated + */ + @Override + public Expression getBody() { + return body; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetBody(Expression newBody, NotificationChain msgs) { + Expression oldBody = body; + body = newBody; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.LET__BODY, oldBody, newBody); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + @Override + public void setBody(Expression newBody) { + if (newBody != body) { + NotificationChain msgs = null; + if (body != null) + msgs = ((InternalEObject)body).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.LET__BODY, null, msgs); + if (newBody != null) + msgs = ((InternalEObject)newBody).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.LET__BODY, null, msgs); + msgs = basicSetBody(newBody, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.LET__BODY, newBody, newBody)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case SolverLanguagePackage.LET__BINDINGS: + return ((InternalEList)getBindings()).basicRemove(otherEnd, msgs); + case SolverLanguagePackage.LET__BODY: + return basicSetBody(null, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case SolverLanguagePackage.LET__BINDINGS: + return getBindings(); + case SolverLanguagePackage.LET__BODY: + return getBody(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case SolverLanguagePackage.LET__BINDINGS: + getBindings().clear(); + getBindings().addAll((Collection)newValue); + return; + case SolverLanguagePackage.LET__BODY: + setBody((Expression)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case SolverLanguagePackage.LET__BINDINGS: + getBindings().clear(); + return; + case SolverLanguagePackage.LET__BODY: + setBody((Expression)null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case SolverLanguagePackage.LET__BINDINGS: + return bindings != null && !bindings.isEmpty(); + case SolverLanguagePackage.LET__BODY: + return body != null; + } + return super.eIsSet(featureID); + } + +} //LetImpl diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/LiteralImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/LiteralImpl.java new file mode 100644 index 00000000..671fa305 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/LiteralImpl.java @@ -0,0 +1,38 @@ +/** + * generated by Xtext 2.21.0 + */ +package org.eclipse.viatra.solver.language.solverLanguage.impl; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.viatra.solver.language.solverLanguage.Literal; +import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; + +/** + * + * An implementation of the model object 'Literal'. + * + * + * @generated + */ +public class LiteralImpl extends ExpressionImpl implements Literal { + /** + * + * + * @generated + */ + protected LiteralImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return SolverLanguagePackage.Literals.LITERAL; + } + +} //LiteralImpl diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/LocalVariablesImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/LocalVariablesImpl.java new file mode 100644 index 00000000..e34a61c6 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/LocalVariablesImpl.java @@ -0,0 +1,154 @@ +/** + * generated by Xtext 2.21.0 + */ +package org.eclipse.viatra.solver.language.solverLanguage.impl; + +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.impl.MinimalEObjectImpl; + +import org.eclipse.emf.ecore.util.EObjectContainmentEList; +import org.eclipse.emf.ecore.util.InternalEList; + +import org.eclipse.viatra.solver.language.solverLanguage.LocalVariables; +import org.eclipse.viatra.solver.language.solverLanguage.NamedElement; +import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; + +/** + * + * An implementation of the model object 'Local Variables'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.LocalVariablesImpl#getVariables Variables}
    • + *
    + * + * @generated + */ +public class LocalVariablesImpl extends MinimalEObjectImpl.Container implements LocalVariables { + /** + * The cached value of the '{@link #getVariables() Variables}' containment reference list. + * + * + * @see #getVariables() + * @generated + * @ordered + */ + protected EList variables; + + /** + * + * + * @generated + */ + protected LocalVariablesImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return SolverLanguagePackage.Literals.LOCAL_VARIABLES; + } + + /** + * + * + * @generated + */ + @Override + public EList getVariables() { + if (variables == null) { + variables = new EObjectContainmentEList(NamedElement.class, this, SolverLanguagePackage.LOCAL_VARIABLES__VARIABLES); + } + return variables; + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case SolverLanguagePackage.LOCAL_VARIABLES__VARIABLES: + return ((InternalEList)getVariables()).basicRemove(otherEnd, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case SolverLanguagePackage.LOCAL_VARIABLES__VARIABLES: + return getVariables(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case SolverLanguagePackage.LOCAL_VARIABLES__VARIABLES: + getVariables().clear(); + getVariables().addAll((Collection)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case SolverLanguagePackage.LOCAL_VARIABLES__VARIABLES: + getVariables().clear(); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case SolverLanguagePackage.LOCAL_VARIABLES__VARIABLES: + return variables != null && !variables.isEmpty(); + } + return super.eIsSet(featureID); + } + +} //LocalVariablesImpl diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/LogicLiteralImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/LogicLiteralImpl.java new file mode 100644 index 00000000..602edee1 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/LogicLiteralImpl.java @@ -0,0 +1,166 @@ +/** + * generated by Xtext 2.21.0 + */ +package org.eclipse.viatra.solver.language.solverLanguage.impl; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +import org.eclipse.viatra.solver.language.solverLanguage.LogicLiteral; +import org.eclipse.viatra.solver.language.solverLanguage.LogicValue; +import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; + +/** + * + * An implementation of the model object 'Logic Literal'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.LogicLiteralImpl#getValue Value}
    • + *
    + * + * @generated + */ +public class LogicLiteralImpl extends LiteralImpl implements LogicLiteral { + /** + * The default value of the '{@link #getValue() Value}' attribute. + * + * + * @see #getValue() + * @generated + * @ordered + */ + protected static final LogicValue VALUE_EDEFAULT = LogicValue.TRUE; + + /** + * The cached value of the '{@link #getValue() Value}' attribute. + * + * + * @see #getValue() + * @generated + * @ordered + */ + protected LogicValue value = VALUE_EDEFAULT; + + /** + * + * + * @generated + */ + protected LogicLiteralImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return SolverLanguagePackage.Literals.LOGIC_LITERAL; + } + + /** + * + * + * @generated + */ + @Override + public LogicValue getValue() { + return value; + } + + /** + * + * + * @generated + */ + @Override + public void setValue(LogicValue newValue) { + LogicValue oldValue = value; + value = newValue == null ? VALUE_EDEFAULT : newValue; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.LOGIC_LITERAL__VALUE, oldValue, value)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case SolverLanguagePackage.LOGIC_LITERAL__VALUE: + return getValue(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case SolverLanguagePackage.LOGIC_LITERAL__VALUE: + setValue((LogicValue)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case SolverLanguagePackage.LOGIC_LITERAL__VALUE: + setValue(VALUE_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case SolverLanguagePackage.LOGIC_LITERAL__VALUE: + return value != VALUE_EDEFAULT; + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuilder result = new StringBuilder(super.toString()); + result.append(" (value: "); + result.append(value); + result.append(')'); + return result.toString(); + } + +} //LogicLiteralImpl diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/LowerBoundedScopeDefinitionImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/LowerBoundedScopeDefinitionImpl.java new file mode 100644 index 00000000..0e33864d --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/LowerBoundedScopeDefinitionImpl.java @@ -0,0 +1,165 @@ +/** + * generated by Xtext 2.21.0 + */ +package org.eclipse.viatra.solver.language.solverLanguage.impl; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +import org.eclipse.viatra.solver.language.solverLanguage.LowerBoundedScopeDefinition; +import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; + +/** + * + * An implementation of the model object 'Lower Bounded Scope Definition'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.LowerBoundedScopeDefinitionImpl#getLowerBound Lower Bound}
    • + *
    + * + * @generated + */ +public class LowerBoundedScopeDefinitionImpl extends ScopeDefinitionImpl implements LowerBoundedScopeDefinition { + /** + * The default value of the '{@link #getLowerBound() Lower Bound}' attribute. + * + * + * @see #getLowerBound() + * @generated + * @ordered + */ + protected static final int LOWER_BOUND_EDEFAULT = 0; + + /** + * The cached value of the '{@link #getLowerBound() Lower Bound}' attribute. + * + * + * @see #getLowerBound() + * @generated + * @ordered + */ + protected int lowerBound = LOWER_BOUND_EDEFAULT; + + /** + * + * + * @generated + */ + protected LowerBoundedScopeDefinitionImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return SolverLanguagePackage.Literals.LOWER_BOUNDED_SCOPE_DEFINITION; + } + + /** + * + * + * @generated + */ + @Override + public int getLowerBound() { + return lowerBound; + } + + /** + * + * + * @generated + */ + @Override + public void setLowerBound(int newLowerBound) { + int oldLowerBound = lowerBound; + lowerBound = newLowerBound; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.LOWER_BOUNDED_SCOPE_DEFINITION__LOWER_BOUND, oldLowerBound, lowerBound)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case SolverLanguagePackage.LOWER_BOUNDED_SCOPE_DEFINITION__LOWER_BOUND: + return getLowerBound(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case SolverLanguagePackage.LOWER_BOUNDED_SCOPE_DEFINITION__LOWER_BOUND: + setLowerBound((Integer)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case SolverLanguagePackage.LOWER_BOUNDED_SCOPE_DEFINITION__LOWER_BOUND: + setLowerBound(LOWER_BOUND_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case SolverLanguagePackage.LOWER_BOUNDED_SCOPE_DEFINITION__LOWER_BOUND: + return lowerBound != LOWER_BOUND_EDEFAULT; + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuilder result = new StringBuilder(super.toString()); + result.append(" (lowerBound: "); + result.append(lowerBound); + result.append(')'); + return result.toString(); + } + +} //LowerBoundedScopeDefinitionImpl diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ManyMultiplicityImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ManyMultiplicityImpl.java new file mode 100644 index 00000000..20a59027 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ManyMultiplicityImpl.java @@ -0,0 +1,38 @@ +/** + * generated by Xtext 2.21.0 + */ +package org.eclipse.viatra.solver.language.solverLanguage.impl; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.viatra.solver.language.solverLanguage.ManyMultiplicity; +import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; + +/** + * + * An implementation of the model object 'Many Multiplicity'. + * + * + * @generated + */ +public class ManyMultiplicityImpl extends MultiplicityImpl implements ManyMultiplicity { + /** + * + * + * @generated + */ + protected ManyMultiplicityImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return SolverLanguagePackage.Literals.MANY_MULTIPLICITY; + } + +} //ManyMultiplicityImpl diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/MemberDefinitionImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/MemberDefinitionImpl.java new file mode 100644 index 00000000..f632faa4 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/MemberDefinitionImpl.java @@ -0,0 +1,430 @@ +/** + * generated by Xtext 2.21.0 + */ +package org.eclipse.viatra.solver.language.solverLanguage.impl; + +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; + +import org.eclipse.viatra.solver.language.solverLanguage.MemberDefinition; +import org.eclipse.viatra.solver.language.solverLanguage.Multiplicity; +import org.eclipse.viatra.solver.language.solverLanguage.NamedElement; +import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; + +/** + * + * An implementation of the model object 'Member Definition'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.MemberDefinitionImpl#isContainment Containment}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.MemberDefinitionImpl#getType Type}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.MemberDefinitionImpl#getMultiplicity Multiplicity}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.MemberDefinitionImpl#getName Name}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.MemberDefinitionImpl#getOpposite Opposite}
    • + *
    + * + * @generated + */ +public class MemberDefinitionImpl extends MinimalEObjectImpl.Container implements MemberDefinition { + /** + * The default value of the '{@link #isContainment() Containment}' attribute. + * + * + * @see #isContainment() + * @generated + * @ordered + */ + protected static final boolean CONTAINMENT_EDEFAULT = false; + + /** + * The cached value of the '{@link #isContainment() Containment}' attribute. + * + * + * @see #isContainment() + * @generated + * @ordered + */ + protected boolean containment = CONTAINMENT_EDEFAULT; + + /** + * The cached value of the '{@link #getType() Type}' reference. + * + * + * @see #getType() + * @generated + * @ordered + */ + protected NamedElement type; + + /** + * The cached value of the '{@link #getMultiplicity() Multiplicity}' containment reference. + * + * + * @see #getMultiplicity() + * @generated + * @ordered + */ + protected Multiplicity multiplicity; + + /** + * The default value of the '{@link #getName() Name}' attribute. + * + * + * @see #getName() + * @generated + * @ordered + */ + protected static final String NAME_EDEFAULT = null; + + /** + * The cached value of the '{@link #getName() Name}' attribute. + * + * + * @see #getName() + * @generated + * @ordered + */ + protected String name = NAME_EDEFAULT; + + /** + * The cached value of the '{@link #getOpposite() Opposite}' reference. + * + * + * @see #getOpposite() + * @generated + * @ordered + */ + protected NamedElement opposite; + + /** + * + * + * @generated + */ + protected MemberDefinitionImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return SolverLanguagePackage.Literals.MEMBER_DEFINITION; + } + + /** + * + * + * @generated + */ + @Override + public boolean isContainment() { + return containment; + } + + /** + * + * + * @generated + */ + @Override + public void setContainment(boolean newContainment) { + boolean oldContainment = containment; + containment = newContainment; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.MEMBER_DEFINITION__CONTAINMENT, oldContainment, containment)); + } + + /** + * + * + * @generated + */ + @Override + public NamedElement getType() { + if (type != null && type.eIsProxy()) { + InternalEObject oldType = (InternalEObject)type; + type = (NamedElement)eResolveProxy(oldType); + if (type != oldType) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, SolverLanguagePackage.MEMBER_DEFINITION__TYPE, oldType, type)); + } + } + return type; + } + + /** + * + * + * @generated + */ + public NamedElement basicGetType() { + return type; + } + + /** + * + * + * @generated + */ + @Override + public void setType(NamedElement newType) { + NamedElement oldType = type; + type = newType; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.MEMBER_DEFINITION__TYPE, oldType, type)); + } + + /** + * + * + * @generated + */ + @Override + public Multiplicity getMultiplicity() { + return multiplicity; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetMultiplicity(Multiplicity newMultiplicity, NotificationChain msgs) { + Multiplicity oldMultiplicity = multiplicity; + multiplicity = newMultiplicity; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.MEMBER_DEFINITION__MULTIPLICITY, oldMultiplicity, newMultiplicity); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + @Override + public void setMultiplicity(Multiplicity newMultiplicity) { + if (newMultiplicity != multiplicity) { + NotificationChain msgs = null; + if (multiplicity != null) + msgs = ((InternalEObject)multiplicity).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.MEMBER_DEFINITION__MULTIPLICITY, null, msgs); + if (newMultiplicity != null) + msgs = ((InternalEObject)newMultiplicity).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.MEMBER_DEFINITION__MULTIPLICITY, null, msgs); + msgs = basicSetMultiplicity(newMultiplicity, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.MEMBER_DEFINITION__MULTIPLICITY, newMultiplicity, newMultiplicity)); + } + + /** + * + * + * @generated + */ + @Override + public String getName() { + return name; + } + + /** + * + * + * @generated + */ + @Override + public void setName(String newName) { + String oldName = name; + name = newName; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.MEMBER_DEFINITION__NAME, oldName, name)); + } + + /** + * + * + * @generated + */ + @Override + public NamedElement getOpposite() { + if (opposite != null && opposite.eIsProxy()) { + InternalEObject oldOpposite = (InternalEObject)opposite; + opposite = (NamedElement)eResolveProxy(oldOpposite); + if (opposite != oldOpposite) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, SolverLanguagePackage.MEMBER_DEFINITION__OPPOSITE, oldOpposite, opposite)); + } + } + return opposite; + } + + /** + * + * + * @generated + */ + public NamedElement basicGetOpposite() { + return opposite; + } + + /** + * + * + * @generated + */ + @Override + public void setOpposite(NamedElement newOpposite) { + NamedElement oldOpposite = opposite; + opposite = newOpposite; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.MEMBER_DEFINITION__OPPOSITE, oldOpposite, opposite)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case SolverLanguagePackage.MEMBER_DEFINITION__MULTIPLICITY: + return basicSetMultiplicity(null, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case SolverLanguagePackage.MEMBER_DEFINITION__CONTAINMENT: + return isContainment(); + case SolverLanguagePackage.MEMBER_DEFINITION__TYPE: + if (resolve) return getType(); + return basicGetType(); + case SolverLanguagePackage.MEMBER_DEFINITION__MULTIPLICITY: + return getMultiplicity(); + case SolverLanguagePackage.MEMBER_DEFINITION__NAME: + return getName(); + case SolverLanguagePackage.MEMBER_DEFINITION__OPPOSITE: + if (resolve) return getOpposite(); + return basicGetOpposite(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case SolverLanguagePackage.MEMBER_DEFINITION__CONTAINMENT: + setContainment((Boolean)newValue); + return; + case SolverLanguagePackage.MEMBER_DEFINITION__TYPE: + setType((NamedElement)newValue); + return; + case SolverLanguagePackage.MEMBER_DEFINITION__MULTIPLICITY: + setMultiplicity((Multiplicity)newValue); + return; + case SolverLanguagePackage.MEMBER_DEFINITION__NAME: + setName((String)newValue); + return; + case SolverLanguagePackage.MEMBER_DEFINITION__OPPOSITE: + setOpposite((NamedElement)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case SolverLanguagePackage.MEMBER_DEFINITION__CONTAINMENT: + setContainment(CONTAINMENT_EDEFAULT); + return; + case SolverLanguagePackage.MEMBER_DEFINITION__TYPE: + setType((NamedElement)null); + return; + case SolverLanguagePackage.MEMBER_DEFINITION__MULTIPLICITY: + setMultiplicity((Multiplicity)null); + return; + case SolverLanguagePackage.MEMBER_DEFINITION__NAME: + setName(NAME_EDEFAULT); + return; + case SolverLanguagePackage.MEMBER_DEFINITION__OPPOSITE: + setOpposite((NamedElement)null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case SolverLanguagePackage.MEMBER_DEFINITION__CONTAINMENT: + return containment != CONTAINMENT_EDEFAULT; + case SolverLanguagePackage.MEMBER_DEFINITION__TYPE: + return type != null; + case SolverLanguagePackage.MEMBER_DEFINITION__MULTIPLICITY: + return multiplicity != null; + case SolverLanguagePackage.MEMBER_DEFINITION__NAME: + return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); + case SolverLanguagePackage.MEMBER_DEFINITION__OPPOSITE: + return opposite != null; + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuilder result = new StringBuilder(super.toString()); + result.append(" (containment: "); + result.append(containment); + result.append(", name: "); + result.append(name); + result.append(')'); + return result.toString(); + } + +} //MemberDefinitionImpl diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/MetricDefinitionImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/MetricDefinitionImpl.java new file mode 100644 index 00000000..d441b8c1 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/MetricDefinitionImpl.java @@ -0,0 +1,309 @@ +/** + * generated by Xtext 2.21.0 + */ +package org.eclipse.viatra.solver.language.solverLanguage.impl; + +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.viatra.solver.language.solverLanguage.Expression; +import org.eclipse.viatra.solver.language.solverLanguage.MetricDefinition; +import org.eclipse.viatra.solver.language.solverLanguage.NamedElement; +import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; + +/** + * + * An implementation of the model object 'Metric Definition'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.MetricDefinitionImpl#getHead Head}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.MetricDefinitionImpl#getBody Body}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.MetricDefinitionImpl#getType Type}
    • + *
    + * + * @generated + */ +public class MetricDefinitionImpl extends StatementImpl implements MetricDefinition { + /** + * The cached value of the '{@link #getHead() Head}' containment reference. + * + * + * @see #getHead() + * @generated + * @ordered + */ + protected Expression head; + + /** + * The cached value of the '{@link #getBody() Body}' containment reference. + * + * + * @see #getBody() + * @generated + * @ordered + */ + protected Expression body; + + /** + * The cached value of the '{@link #getType() Type}' reference. + * + * + * @see #getType() + * @generated + * @ordered + */ + protected NamedElement type; + + /** + * + * + * @generated + */ + protected MetricDefinitionImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return SolverLanguagePackage.Literals.METRIC_DEFINITION; + } + + /** + * + * + * @generated + */ + @Override + public Expression getHead() { + return head; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetHead(Expression newHead, NotificationChain msgs) { + Expression oldHead = head; + head = newHead; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.METRIC_DEFINITION__HEAD, oldHead, newHead); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + @Override + public void setHead(Expression newHead) { + if (newHead != head) { + NotificationChain msgs = null; + if (head != null) + msgs = ((InternalEObject)head).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.METRIC_DEFINITION__HEAD, null, msgs); + if (newHead != null) + msgs = ((InternalEObject)newHead).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.METRIC_DEFINITION__HEAD, null, msgs); + msgs = basicSetHead(newHead, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.METRIC_DEFINITION__HEAD, newHead, newHead)); + } + + /** + * + * + * @generated + */ + @Override + public Expression getBody() { + return body; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetBody(Expression newBody, NotificationChain msgs) { + Expression oldBody = body; + body = newBody; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.METRIC_DEFINITION__BODY, oldBody, newBody); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + @Override + public void setBody(Expression newBody) { + if (newBody != body) { + NotificationChain msgs = null; + if (body != null) + msgs = ((InternalEObject)body).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.METRIC_DEFINITION__BODY, null, msgs); + if (newBody != null) + msgs = ((InternalEObject)newBody).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.METRIC_DEFINITION__BODY, null, msgs); + msgs = basicSetBody(newBody, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.METRIC_DEFINITION__BODY, newBody, newBody)); + } + + /** + * + * + * @generated + */ + @Override + public NamedElement getType() { + if (type != null && type.eIsProxy()) { + InternalEObject oldType = (InternalEObject)type; + type = (NamedElement)eResolveProxy(oldType); + if (type != oldType) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, SolverLanguagePackage.METRIC_DEFINITION__TYPE, oldType, type)); + } + } + return type; + } + + /** + * + * + * @generated + */ + public NamedElement basicGetType() { + return type; + } + + /** + * + * + * @generated + */ + @Override + public void setType(NamedElement newType) { + NamedElement oldType = type; + type = newType; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.METRIC_DEFINITION__TYPE, oldType, type)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case SolverLanguagePackage.METRIC_DEFINITION__HEAD: + return basicSetHead(null, msgs); + case SolverLanguagePackage.METRIC_DEFINITION__BODY: + return basicSetBody(null, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case SolverLanguagePackage.METRIC_DEFINITION__HEAD: + return getHead(); + case SolverLanguagePackage.METRIC_DEFINITION__BODY: + return getBody(); + case SolverLanguagePackage.METRIC_DEFINITION__TYPE: + if (resolve) return getType(); + return basicGetType(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case SolverLanguagePackage.METRIC_DEFINITION__HEAD: + setHead((Expression)newValue); + return; + case SolverLanguagePackage.METRIC_DEFINITION__BODY: + setBody((Expression)newValue); + return; + case SolverLanguagePackage.METRIC_DEFINITION__TYPE: + setType((NamedElement)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case SolverLanguagePackage.METRIC_DEFINITION__HEAD: + setHead((Expression)null); + return; + case SolverLanguagePackage.METRIC_DEFINITION__BODY: + setBody((Expression)null); + return; + case SolverLanguagePackage.METRIC_DEFINITION__TYPE: + setType((NamedElement)null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case SolverLanguagePackage.METRIC_DEFINITION__HEAD: + return head != null; + case SolverLanguagePackage.METRIC_DEFINITION__BODY: + return body != null; + case SolverLanguagePackage.METRIC_DEFINITION__TYPE: + return type != null; + } + return super.eIsSet(featureID); + } + +} //MetricDefinitionImpl diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/MetricImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/MetricImpl.java new file mode 100644 index 00000000..41fbe6de --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/MetricImpl.java @@ -0,0 +1,159 @@ +/** + * generated by Xtext 2.21.0 + */ +package org.eclipse.viatra.solver.language.solverLanguage.impl; + +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.solver.language.solverLanguage.Metric; +import org.eclipse.viatra.solver.language.solverLanguage.NamedElement; +import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; + +/** + * + * An implementation of the model object 'Metric'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.MetricImpl#getReturnType Return Type}
    • + *
    + * + * @generated + */ +public class MetricImpl extends FunctorImpl implements Metric { + /** + * The cached value of the '{@link #getReturnType() Return Type}' reference. + * + * + * @see #getReturnType() + * @generated + * @ordered + */ + protected NamedElement returnType; + + /** + * + * + * @generated + */ + protected MetricImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return SolverLanguagePackage.Literals.METRIC; + } + + /** + * + * + * @generated + */ + @Override + public NamedElement getReturnType() { + if (returnType != null && returnType.eIsProxy()) { + InternalEObject oldReturnType = (InternalEObject)returnType; + returnType = (NamedElement)eResolveProxy(oldReturnType); + if (returnType != oldReturnType) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, SolverLanguagePackage.METRIC__RETURN_TYPE, oldReturnType, returnType)); + } + } + return returnType; + } + + /** + * + * + * @generated + */ + public NamedElement basicGetReturnType() { + return returnType; + } + + /** + * + * + * @generated + */ + @Override + public void setReturnType(NamedElement newReturnType) { + NamedElement oldReturnType = returnType; + returnType = newReturnType; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.METRIC__RETURN_TYPE, oldReturnType, returnType)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case SolverLanguagePackage.METRIC__RETURN_TYPE: + if (resolve) return getReturnType(); + return basicGetReturnType(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case SolverLanguagePackage.METRIC__RETURN_TYPE: + setReturnType((NamedElement)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case SolverLanguagePackage.METRIC__RETURN_TYPE: + setReturnType((NamedElement)null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case SolverLanguagePackage.METRIC__RETURN_TYPE: + return returnType != null; + } + return super.eIsSet(featureID); + } + +} //MetricImpl diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/MultiplicityImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/MultiplicityImpl.java new file mode 100644 index 00000000..e29fe9f6 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/MultiplicityImpl.java @@ -0,0 +1,40 @@ +/** + * generated by Xtext 2.21.0 + */ +package org.eclipse.viatra.solver.language.solverLanguage.impl; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +import org.eclipse.viatra.solver.language.solverLanguage.Multiplicity; +import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; + +/** + * + * An implementation of the model object 'Multiplicity'. + * + * + * @generated + */ +public class MultiplicityImpl extends MinimalEObjectImpl.Container implements Multiplicity { + /** + * + * + * @generated + */ + protected MultiplicityImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return SolverLanguagePackage.Literals.MULTIPLICITY; + } + +} //MultiplicityImpl diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/NamedElementImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/NamedElementImpl.java new file mode 100644 index 00000000..a6b102ac --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/NamedElementImpl.java @@ -0,0 +1,166 @@ +/** + * generated by Xtext 2.21.0 + */ +package org.eclipse.viatra.solver.language.solverLanguage.impl; + +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; + +import org.eclipse.viatra.solver.language.solverLanguage.NamedElement; +import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; + +/** + * + * An implementation of the model object 'Named Element'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.NamedElementImpl#getName Name}
    • + *
    + * + * @generated + */ +public class NamedElementImpl extends MinimalEObjectImpl.Container implements NamedElement { + /** + * The default value of the '{@link #getName() Name}' attribute. + * + * + * @see #getName() + * @generated + * @ordered + */ + protected static final String NAME_EDEFAULT = null; + + /** + * The cached value of the '{@link #getName() Name}' attribute. + * + * + * @see #getName() + * @generated + * @ordered + */ + protected String name = NAME_EDEFAULT; + + /** + * + * + * @generated + */ + protected NamedElementImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return SolverLanguagePackage.Literals.NAMED_ELEMENT; + } + + /** + * + * + * @generated + */ + @Override + public String getName() { + return name; + } + + /** + * + * + * @generated + */ + @Override + public void setName(String newName) { + String oldName = name; + name = newName; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.NAMED_ELEMENT__NAME, oldName, name)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case SolverLanguagePackage.NAMED_ELEMENT__NAME: + return getName(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case SolverLanguagePackage.NAMED_ELEMENT__NAME: + setName((String)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case SolverLanguagePackage.NAMED_ELEMENT__NAME: + setName(NAME_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case SolverLanguagePackage.NAMED_ELEMENT__NAME: + return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuilder result = new StringBuilder(super.toString()); + result.append(" (name: "); + result.append(name); + result.append(')'); + return result.toString(); + } + +} //NamedElementImpl diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/NodeImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/NodeImpl.java new file mode 100644 index 00000000..a4fcf51f --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/NodeImpl.java @@ -0,0 +1,165 @@ +/** + * generated by Xtext 2.21.0 + */ +package org.eclipse.viatra.solver.language.solverLanguage.impl; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +import org.eclipse.viatra.solver.language.solverLanguage.Node; +import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; + +/** + * + * An implementation of the model object 'Node'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.NodeImpl#isWithId With Id}
    • + *
    + * + * @generated + */ +public class NodeImpl extends NamedElementImpl implements Node { + /** + * The default value of the '{@link #isWithId() With Id}' attribute. + * + * + * @see #isWithId() + * @generated + * @ordered + */ + protected static final boolean WITH_ID_EDEFAULT = false; + + /** + * The cached value of the '{@link #isWithId() With Id}' attribute. + * + * + * @see #isWithId() + * @generated + * @ordered + */ + protected boolean withId = WITH_ID_EDEFAULT; + + /** + * + * + * @generated + */ + protected NodeImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return SolverLanguagePackage.Literals.NODE; + } + + /** + * + * + * @generated + */ + @Override + public boolean isWithId() { + return withId; + } + + /** + * + * + * @generated + */ + @Override + public void setWithId(boolean newWithId) { + boolean oldWithId = withId; + withId = newWithId; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.NODE__WITH_ID, oldWithId, withId)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case SolverLanguagePackage.NODE__WITH_ID: + return isWithId(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case SolverLanguagePackage.NODE__WITH_ID: + setWithId((Boolean)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case SolverLanguagePackage.NODE__WITH_ID: + setWithId(WITH_ID_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case SolverLanguagePackage.NODE__WITH_ID: + return withId != WITH_ID_EDEFAULT; + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuilder result = new StringBuilder(super.toString()); + result.append(" (withId: "); + result.append(withId); + result.append(')'); + return result.toString(); + } + +} //NodeImpl diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/NumericLiteralImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/NumericLiteralImpl.java new file mode 100644 index 00000000..ffd4294d --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/NumericLiteralImpl.java @@ -0,0 +1,167 @@ +/** + * generated by Xtext 2.21.0 + */ +package org.eclipse.viatra.solver.language.solverLanguage.impl; + +import java.math.BigDecimal; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +import org.eclipse.viatra.solver.language.solverLanguage.NumericLiteral; +import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; + +/** + * + * An implementation of the model object 'Numeric Literal'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.NumericLiteralImpl#getValue Value}
    • + *
    + * + * @generated + */ +public class NumericLiteralImpl extends LiteralImpl implements NumericLiteral { + /** + * The default value of the '{@link #getValue() Value}' attribute. + * + * + * @see #getValue() + * @generated + * @ordered + */ + protected static final BigDecimal VALUE_EDEFAULT = null; + + /** + * The cached value of the '{@link #getValue() Value}' attribute. + * + * + * @see #getValue() + * @generated + * @ordered + */ + protected BigDecimal value = VALUE_EDEFAULT; + + /** + * + * + * @generated + */ + protected NumericLiteralImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return SolverLanguagePackage.Literals.NUMERIC_LITERAL; + } + + /** + * + * + * @generated + */ + @Override + public BigDecimal getValue() { + return value; + } + + /** + * + * + * @generated + */ + @Override + public void setValue(BigDecimal newValue) { + BigDecimal oldValue = value; + value = newValue; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.NUMERIC_LITERAL__VALUE, oldValue, value)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case SolverLanguagePackage.NUMERIC_LITERAL__VALUE: + return getValue(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case SolverLanguagePackage.NUMERIC_LITERAL__VALUE: + setValue((BigDecimal)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case SolverLanguagePackage.NUMERIC_LITERAL__VALUE: + setValue(VALUE_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case SolverLanguagePackage.NUMERIC_LITERAL__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(); + + StringBuilder result = new StringBuilder(super.toString()); + result.append(" (value: "); + result.append(value); + result.append(')'); + return result.toString(); + } + +} //NumericLiteralImpl diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ObjectiveDefinitionImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ObjectiveDefinitionImpl.java new file mode 100644 index 00000000..7d0e4c50 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ObjectiveDefinitionImpl.java @@ -0,0 +1,249 @@ +/** + * generated by Xtext 2.21.0 + */ +package org.eclipse.viatra.solver.language.solverLanguage.impl; + +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.viatra.solver.language.solverLanguage.Expression; +import org.eclipse.viatra.solver.language.solverLanguage.ObjectiveDefinition; +import org.eclipse.viatra.solver.language.solverLanguage.ObjectiveKind; +import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; + +/** + * + * An implementation of the model object 'Objective Definition'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.ObjectiveDefinitionImpl#getKind Kind}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.ObjectiveDefinitionImpl#getObjective Objective}
    • + *
    + * + * @generated + */ +public class ObjectiveDefinitionImpl extends StatementImpl implements ObjectiveDefinition { + /** + * The default value of the '{@link #getKind() Kind}' attribute. + * + * + * @see #getKind() + * @generated + * @ordered + */ + protected static final ObjectiveKind KIND_EDEFAULT = ObjectiveKind.MINIMIZE; + + /** + * The cached value of the '{@link #getKind() Kind}' attribute. + * + * + * @see #getKind() + * @generated + * @ordered + */ + protected ObjectiveKind kind = KIND_EDEFAULT; + + /** + * The cached value of the '{@link #getObjective() Objective}' containment reference. + * + * + * @see #getObjective() + * @generated + * @ordered + */ + protected Expression objective; + + /** + * + * + * @generated + */ + protected ObjectiveDefinitionImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return SolverLanguagePackage.Literals.OBJECTIVE_DEFINITION; + } + + /** + * + * + * @generated + */ + @Override + public ObjectiveKind getKind() { + return kind; + } + + /** + * + * + * @generated + */ + @Override + public void setKind(ObjectiveKind newKind) { + ObjectiveKind oldKind = kind; + kind = newKind == null ? KIND_EDEFAULT : newKind; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.OBJECTIVE_DEFINITION__KIND, oldKind, kind)); + } + + /** + * + * + * @generated + */ + @Override + public Expression getObjective() { + return objective; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetObjective(Expression newObjective, NotificationChain msgs) { + Expression oldObjective = objective; + objective = newObjective; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.OBJECTIVE_DEFINITION__OBJECTIVE, oldObjective, newObjective); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + @Override + public void setObjective(Expression newObjective) { + if (newObjective != objective) { + NotificationChain msgs = null; + if (objective != null) + msgs = ((InternalEObject)objective).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.OBJECTIVE_DEFINITION__OBJECTIVE, null, msgs); + if (newObjective != null) + msgs = ((InternalEObject)newObjective).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.OBJECTIVE_DEFINITION__OBJECTIVE, null, msgs); + msgs = basicSetObjective(newObjective, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.OBJECTIVE_DEFINITION__OBJECTIVE, newObjective, newObjective)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case SolverLanguagePackage.OBJECTIVE_DEFINITION__OBJECTIVE: + return basicSetObjective(null, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case SolverLanguagePackage.OBJECTIVE_DEFINITION__KIND: + return getKind(); + case SolverLanguagePackage.OBJECTIVE_DEFINITION__OBJECTIVE: + return getObjective(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case SolverLanguagePackage.OBJECTIVE_DEFINITION__KIND: + setKind((ObjectiveKind)newValue); + return; + case SolverLanguagePackage.OBJECTIVE_DEFINITION__OBJECTIVE: + setObjective((Expression)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case SolverLanguagePackage.OBJECTIVE_DEFINITION__KIND: + setKind(KIND_EDEFAULT); + return; + case SolverLanguagePackage.OBJECTIVE_DEFINITION__OBJECTIVE: + setObjective((Expression)null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case SolverLanguagePackage.OBJECTIVE_DEFINITION__KIND: + return kind != KIND_EDEFAULT; + case SolverLanguagePackage.OBJECTIVE_DEFINITION__OBJECTIVE: + return objective != null; + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuilder result = new StringBuilder(super.toString()); + result.append(" (kind: "); + result.append(kind); + result.append(')'); + return result.toString(); + } + +} //ObjectiveDefinitionImpl diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/PredicateDefinitionImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/PredicateDefinitionImpl.java new file mode 100644 index 00000000..251a27d9 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/PredicateDefinitionImpl.java @@ -0,0 +1,372 @@ +/** + * generated by Xtext 2.21.0 + */ +package org.eclipse.viatra.solver.language.solverLanguage.impl; + +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.viatra.solver.language.solverLanguage.Expression; +import org.eclipse.viatra.solver.language.solverLanguage.PredicateDefinition; +import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; + +/** + * + * An implementation of the model object 'Predicate Definition'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.PredicateDefinitionImpl#getHead Head}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.PredicateDefinitionImpl#getBody Body}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.PredicateDefinitionImpl#isFunctional Functional}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.PredicateDefinitionImpl#isError Error}
    • + *
    + * + * @generated + */ +public class PredicateDefinitionImpl extends StatementImpl implements PredicateDefinition { + /** + * The cached value of the '{@link #getHead() Head}' containment reference. + * + * + * @see #getHead() + * @generated + * @ordered + */ + protected Expression head; + + /** + * The cached value of the '{@link #getBody() Body}' containment reference. + * + * + * @see #getBody() + * @generated + * @ordered + */ + protected Expression body; + + /** + * The default value of the '{@link #isFunctional() Functional}' attribute. + * + * + * @see #isFunctional() + * @generated + * @ordered + */ + protected static final boolean FUNCTIONAL_EDEFAULT = false; + + /** + * The cached value of the '{@link #isFunctional() Functional}' attribute. + * + * + * @see #isFunctional() + * @generated + * @ordered + */ + protected boolean functional = FUNCTIONAL_EDEFAULT; + + /** + * The default value of the '{@link #isError() Error}' attribute. + * + * + * @see #isError() + * @generated + * @ordered + */ + protected static final boolean ERROR_EDEFAULT = false; + + /** + * The cached value of the '{@link #isError() Error}' attribute. + * + * + * @see #isError() + * @generated + * @ordered + */ + protected boolean error = ERROR_EDEFAULT; + + /** + * + * + * @generated + */ + protected PredicateDefinitionImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return SolverLanguagePackage.Literals.PREDICATE_DEFINITION; + } + + /** + * + * + * @generated + */ + @Override + public Expression getHead() { + return head; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetHead(Expression newHead, NotificationChain msgs) { + Expression oldHead = head; + head = newHead; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.PREDICATE_DEFINITION__HEAD, oldHead, newHead); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + @Override + public void setHead(Expression newHead) { + if (newHead != head) { + NotificationChain msgs = null; + if (head != null) + msgs = ((InternalEObject)head).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.PREDICATE_DEFINITION__HEAD, null, msgs); + if (newHead != null) + msgs = ((InternalEObject)newHead).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.PREDICATE_DEFINITION__HEAD, null, msgs); + msgs = basicSetHead(newHead, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.PREDICATE_DEFINITION__HEAD, newHead, newHead)); + } + + /** + * + * + * @generated + */ + @Override + public Expression getBody() { + return body; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetBody(Expression newBody, NotificationChain msgs) { + Expression oldBody = body; + body = newBody; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.PREDICATE_DEFINITION__BODY, oldBody, newBody); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + @Override + public void setBody(Expression newBody) { + if (newBody != body) { + NotificationChain msgs = null; + if (body != null) + msgs = ((InternalEObject)body).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.PREDICATE_DEFINITION__BODY, null, msgs); + if (newBody != null) + msgs = ((InternalEObject)newBody).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.PREDICATE_DEFINITION__BODY, null, msgs); + msgs = basicSetBody(newBody, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.PREDICATE_DEFINITION__BODY, newBody, newBody)); + } + + /** + * + * + * @generated + */ + @Override + public boolean isFunctional() { + return functional; + } + + /** + * + * + * @generated + */ + @Override + public void setFunctional(boolean newFunctional) { + boolean oldFunctional = functional; + functional = newFunctional; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.PREDICATE_DEFINITION__FUNCTIONAL, oldFunctional, functional)); + } + + /** + * + * + * @generated + */ + @Override + public boolean isError() { + return error; + } + + /** + * + * + * @generated + */ + @Override + public void setError(boolean newError) { + boolean oldError = error; + error = newError; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.PREDICATE_DEFINITION__ERROR, oldError, error)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case SolverLanguagePackage.PREDICATE_DEFINITION__HEAD: + return basicSetHead(null, msgs); + case SolverLanguagePackage.PREDICATE_DEFINITION__BODY: + return basicSetBody(null, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case SolverLanguagePackage.PREDICATE_DEFINITION__HEAD: + return getHead(); + case SolverLanguagePackage.PREDICATE_DEFINITION__BODY: + return getBody(); + case SolverLanguagePackage.PREDICATE_DEFINITION__FUNCTIONAL: + return isFunctional(); + case SolverLanguagePackage.PREDICATE_DEFINITION__ERROR: + return isError(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case SolverLanguagePackage.PREDICATE_DEFINITION__HEAD: + setHead((Expression)newValue); + return; + case SolverLanguagePackage.PREDICATE_DEFINITION__BODY: + setBody((Expression)newValue); + return; + case SolverLanguagePackage.PREDICATE_DEFINITION__FUNCTIONAL: + setFunctional((Boolean)newValue); + return; + case SolverLanguagePackage.PREDICATE_DEFINITION__ERROR: + setError((Boolean)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case SolverLanguagePackage.PREDICATE_DEFINITION__HEAD: + setHead((Expression)null); + return; + case SolverLanguagePackage.PREDICATE_DEFINITION__BODY: + setBody((Expression)null); + return; + case SolverLanguagePackage.PREDICATE_DEFINITION__FUNCTIONAL: + setFunctional(FUNCTIONAL_EDEFAULT); + return; + case SolverLanguagePackage.PREDICATE_DEFINITION__ERROR: + setError(ERROR_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case SolverLanguagePackage.PREDICATE_DEFINITION__HEAD: + return head != null; + case SolverLanguagePackage.PREDICATE_DEFINITION__BODY: + return body != null; + case SolverLanguagePackage.PREDICATE_DEFINITION__FUNCTIONAL: + return functional != FUNCTIONAL_EDEFAULT; + case SolverLanguagePackage.PREDICATE_DEFINITION__ERROR: + return error != ERROR_EDEFAULT; + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuilder result = new StringBuilder(super.toString()); + result.append(" (functional: "); + result.append(functional); + result.append(", error: "); + result.append(error); + result.append(')'); + return result.toString(); + } + +} //PredicateDefinitionImpl diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/PredicateImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/PredicateImpl.java new file mode 100644 index 00000000..626b6419 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/PredicateImpl.java @@ -0,0 +1,38 @@ +/** + * generated by Xtext 2.21.0 + */ +package org.eclipse.viatra.solver.language.solverLanguage.impl; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.viatra.solver.language.solverLanguage.Predicate; +import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; + +/** + * + * An implementation of the model object 'Predicate'. + * + * + * @generated + */ +public class PredicateImpl extends FunctorImpl implements Predicate { + /** + * + * + * @generated + */ + protected PredicateImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return SolverLanguagePackage.Literals.PREDICATE; + } + +} //PredicateImpl diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ProblemImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ProblemImpl.java new file mode 100644 index 00000000..0a4ad5ce --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ProblemImpl.java @@ -0,0 +1,154 @@ +/** + * generated by Xtext 2.21.0 + */ +package org.eclipse.viatra.solver.language.solverLanguage.impl; + +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.impl.MinimalEObjectImpl; + +import org.eclipse.emf.ecore.util.EObjectContainmentEList; +import org.eclipse.emf.ecore.util.InternalEList; + +import org.eclipse.viatra.solver.language.solverLanguage.Problem; +import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; +import org.eclipse.viatra.solver.language.solverLanguage.Statement; + +/** + * + * An implementation of the model object 'Problem'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.ProblemImpl#getStatements Statements}
    • + *
    + * + * @generated + */ +public class ProblemImpl extends MinimalEObjectImpl.Container implements Problem { + /** + * The cached value of the '{@link #getStatements() Statements}' containment reference list. + * + * + * @see #getStatements() + * @generated + * @ordered + */ + protected EList statements; + + /** + * + * + * @generated + */ + protected ProblemImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return SolverLanguagePackage.Literals.PROBLEM; + } + + /** + * + * + * @generated + */ + @Override + public EList getStatements() { + if (statements == null) { + statements = new EObjectContainmentEList(Statement.class, this, SolverLanguagePackage.PROBLEM__STATEMENTS); + } + return statements; + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case SolverLanguagePackage.PROBLEM__STATEMENTS: + return ((InternalEList)getStatements()).basicRemove(otherEnd, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case SolverLanguagePackage.PROBLEM__STATEMENTS: + return getStatements(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case SolverLanguagePackage.PROBLEM__STATEMENTS: + getStatements().clear(); + getStatements().addAll((Collection)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case SolverLanguagePackage.PROBLEM__STATEMENTS: + getStatements().clear(); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case SolverLanguagePackage.PROBLEM__STATEMENTS: + return statements != null && !statements.isEmpty(); + } + return super.eIsSet(featureID); + } + +} //ProblemImpl diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/QuantifiedExpressionImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/QuantifiedExpressionImpl.java new file mode 100644 index 00000000..a1eecebd --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/QuantifiedExpressionImpl.java @@ -0,0 +1,318 @@ +/** + * generated by Xtext 2.21.0 + */ +package org.eclipse.viatra.solver.language.solverLanguage.impl; + +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.viatra.solver.language.solverLanguage.Expression; +import org.eclipse.viatra.solver.language.solverLanguage.LocalVariables; +import org.eclipse.viatra.solver.language.solverLanguage.QuantifiedExpression; +import org.eclipse.viatra.solver.language.solverLanguage.Quantifier; +import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; + +/** + * + * An implementation of the model object 'Quantified Expression'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.QuantifiedExpressionImpl#getLocalVariables Local Variables}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.QuantifiedExpressionImpl#getBody Body}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.QuantifiedExpressionImpl#getQuantifier Quantifier}
    • + *
    + * + * @generated + */ +public class QuantifiedExpressionImpl extends ExpressionImpl implements QuantifiedExpression { + /** + * The cached value of the '{@link #getLocalVariables() Local Variables}' containment reference. + * + * + * @see #getLocalVariables() + * @generated + * @ordered + */ + protected LocalVariables localVariables; + + /** + * The cached value of the '{@link #getBody() Body}' containment reference. + * + * + * @see #getBody() + * @generated + * @ordered + */ + protected Expression body; + + /** + * The default value of the '{@link #getQuantifier() Quantifier}' attribute. + * + * + * @see #getQuantifier() + * @generated + * @ordered + */ + protected static final Quantifier QUANTIFIER_EDEFAULT = Quantifier.EXISTS; + + /** + * The cached value of the '{@link #getQuantifier() Quantifier}' attribute. + * + * + * @see #getQuantifier() + * @generated + * @ordered + */ + protected Quantifier quantifier = QUANTIFIER_EDEFAULT; + + /** + * + * + * @generated + */ + protected QuantifiedExpressionImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return SolverLanguagePackage.Literals.QUANTIFIED_EXPRESSION; + } + + /** + * + * + * @generated + */ + @Override + public LocalVariables getLocalVariables() { + return localVariables; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetLocalVariables(LocalVariables newLocalVariables, NotificationChain msgs) { + LocalVariables oldLocalVariables = localVariables; + localVariables = newLocalVariables; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.QUANTIFIED_EXPRESSION__LOCAL_VARIABLES, oldLocalVariables, newLocalVariables); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + @Override + public void setLocalVariables(LocalVariables newLocalVariables) { + if (newLocalVariables != localVariables) { + NotificationChain msgs = null; + if (localVariables != null) + msgs = ((InternalEObject)localVariables).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.QUANTIFIED_EXPRESSION__LOCAL_VARIABLES, null, msgs); + if (newLocalVariables != null) + msgs = ((InternalEObject)newLocalVariables).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.QUANTIFIED_EXPRESSION__LOCAL_VARIABLES, null, msgs); + msgs = basicSetLocalVariables(newLocalVariables, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.QUANTIFIED_EXPRESSION__LOCAL_VARIABLES, newLocalVariables, newLocalVariables)); + } + + /** + * + * + * @generated + */ + @Override + public Expression getBody() { + return body; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetBody(Expression newBody, NotificationChain msgs) { + Expression oldBody = body; + body = newBody; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.QUANTIFIED_EXPRESSION__BODY, oldBody, newBody); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + @Override + public void setBody(Expression newBody) { + if (newBody != body) { + NotificationChain msgs = null; + if (body != null) + msgs = ((InternalEObject)body).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.QUANTIFIED_EXPRESSION__BODY, null, msgs); + if (newBody != null) + msgs = ((InternalEObject)newBody).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.QUANTIFIED_EXPRESSION__BODY, null, msgs); + msgs = basicSetBody(newBody, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.QUANTIFIED_EXPRESSION__BODY, newBody, newBody)); + } + + /** + * + * + * @generated + */ + @Override + public Quantifier getQuantifier() { + return quantifier; + } + + /** + * + * + * @generated + */ + @Override + public void setQuantifier(Quantifier newQuantifier) { + Quantifier oldQuantifier = quantifier; + quantifier = newQuantifier == null ? QUANTIFIER_EDEFAULT : newQuantifier; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.QUANTIFIED_EXPRESSION__QUANTIFIER, oldQuantifier, quantifier)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case SolverLanguagePackage.QUANTIFIED_EXPRESSION__LOCAL_VARIABLES: + return basicSetLocalVariables(null, msgs); + case SolverLanguagePackage.QUANTIFIED_EXPRESSION__BODY: + return basicSetBody(null, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case SolverLanguagePackage.QUANTIFIED_EXPRESSION__LOCAL_VARIABLES: + return getLocalVariables(); + case SolverLanguagePackage.QUANTIFIED_EXPRESSION__BODY: + return getBody(); + case SolverLanguagePackage.QUANTIFIED_EXPRESSION__QUANTIFIER: + return getQuantifier(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case SolverLanguagePackage.QUANTIFIED_EXPRESSION__LOCAL_VARIABLES: + setLocalVariables((LocalVariables)newValue); + return; + case SolverLanguagePackage.QUANTIFIED_EXPRESSION__BODY: + setBody((Expression)newValue); + return; + case SolverLanguagePackage.QUANTIFIED_EXPRESSION__QUANTIFIER: + setQuantifier((Quantifier)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case SolverLanguagePackage.QUANTIFIED_EXPRESSION__LOCAL_VARIABLES: + setLocalVariables((LocalVariables)null); + return; + case SolverLanguagePackage.QUANTIFIED_EXPRESSION__BODY: + setBody((Expression)null); + return; + case SolverLanguagePackage.QUANTIFIED_EXPRESSION__QUANTIFIER: + setQuantifier(QUANTIFIER_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case SolverLanguagePackage.QUANTIFIED_EXPRESSION__LOCAL_VARIABLES: + return localVariables != null; + case SolverLanguagePackage.QUANTIFIED_EXPRESSION__BODY: + return body != null; + case SolverLanguagePackage.QUANTIFIED_EXPRESSION__QUANTIFIER: + return quantifier != QUANTIFIER_EDEFAULT; + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuilder result = new StringBuilder(super.toString()); + result.append(" (quantifier: "); + result.append(quantifier); + result.append(')'); + return result.toString(); + } + +} //QuantifiedExpressionImpl diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ReferenceImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ReferenceImpl.java new file mode 100644 index 00000000..0be1aac7 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ReferenceImpl.java @@ -0,0 +1,159 @@ +/** + * generated by Xtext 2.21.0 + */ +package org.eclipse.viatra.solver.language.solverLanguage.impl; + +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.solver.language.solverLanguage.NamedElement; +import org.eclipse.viatra.solver.language.solverLanguage.Reference; +import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; + +/** + * + * An implementation of the model object 'Reference'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.ReferenceImpl#getReferred Referred}
    • + *
    + * + * @generated + */ +public class ReferenceImpl extends ExpressionImpl implements Reference { + /** + * The cached value of the '{@link #getReferred() Referred}' reference. + * + * + * @see #getReferred() + * @generated + * @ordered + */ + protected NamedElement referred; + + /** + * + * + * @generated + */ + protected ReferenceImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return SolverLanguagePackage.Literals.REFERENCE; + } + + /** + * + * + * @generated + */ + @Override + public NamedElement getReferred() { + if (referred != null && referred.eIsProxy()) { + InternalEObject oldReferred = (InternalEObject)referred; + referred = (NamedElement)eResolveProxy(oldReferred); + if (referred != oldReferred) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, SolverLanguagePackage.REFERENCE__REFERRED, oldReferred, referred)); + } + } + return referred; + } + + /** + * + * + * @generated + */ + public NamedElement basicGetReferred() { + return referred; + } + + /** + * + * + * @generated + */ + @Override + public void setReferred(NamedElement newReferred) { + NamedElement oldReferred = referred; + referred = newReferred; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.REFERENCE__REFERRED, oldReferred, referred)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case SolverLanguagePackage.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 SolverLanguagePackage.REFERENCE__REFERRED: + setReferred((NamedElement)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case SolverLanguagePackage.REFERENCE__REFERRED: + setReferred((NamedElement)null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case SolverLanguagePackage.REFERENCE__REFERRED: + return referred != null; + } + return super.eIsSet(featureID); + } + +} //ReferenceImpl diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ScopeDefinitionImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ScopeDefinitionImpl.java new file mode 100644 index 00000000..a4cf94a7 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ScopeDefinitionImpl.java @@ -0,0 +1,159 @@ +/** + * generated by Xtext 2.21.0 + */ +package org.eclipse.viatra.solver.language.solverLanguage.impl; + +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.solver.language.solverLanguage.NamedElement; +import org.eclipse.viatra.solver.language.solverLanguage.ScopeDefinition; +import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; + +/** + * + * An implementation of the model object 'Scope Definition'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.ScopeDefinitionImpl#getType Type}
    • + *
    + * + * @generated + */ +public class ScopeDefinitionImpl extends StatementImpl implements ScopeDefinition { + /** + * The cached value of the '{@link #getType() Type}' reference. + * + * + * @see #getType() + * @generated + * @ordered + */ + protected NamedElement type; + + /** + * + * + * @generated + */ + protected ScopeDefinitionImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return SolverLanguagePackage.Literals.SCOPE_DEFINITION; + } + + /** + * + * + * @generated + */ + @Override + public NamedElement getType() { + if (type != null && type.eIsProxy()) { + InternalEObject oldType = (InternalEObject)type; + type = (NamedElement)eResolveProxy(oldType); + if (type != oldType) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, SolverLanguagePackage.SCOPE_DEFINITION__TYPE, oldType, type)); + } + } + return type; + } + + /** + * + * + * @generated + */ + public NamedElement basicGetType() { + return type; + } + + /** + * + * + * @generated + */ + @Override + public void setType(NamedElement newType) { + NamedElement oldType = type; + type = newType; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.SCOPE_DEFINITION__TYPE, oldType, type)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case SolverLanguagePackage.SCOPE_DEFINITION__TYPE: + if (resolve) return getType(); + return basicGetType(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case SolverLanguagePackage.SCOPE_DEFINITION__TYPE: + setType((NamedElement)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case SolverLanguagePackage.SCOPE_DEFINITION__TYPE: + setType((NamedElement)null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case SolverLanguagePackage.SCOPE_DEFINITION__TYPE: + return type != null; + } + return super.eIsSet(featureID); + } + +} //ScopeDefinitionImpl diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/SolverLanguageFactoryImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/SolverLanguageFactoryImpl.java new file mode 100644 index 00000000..5787175b --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/SolverLanguageFactoryImpl.java @@ -0,0 +1,905 @@ +/** + * generated by Xtext 2.21.0 + */ +package org.eclipse.viatra.solver.language.solverLanguage.impl; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EDataType; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.EPackage; + +import org.eclipse.emf.ecore.impl.EFactoryImpl; + +import org.eclipse.emf.ecore.plugin.EcorePlugin; + +import org.eclipse.viatra.solver.language.solverLanguage.*; + +/** + * + * An implementation of the model Factory. + * + * @generated + */ +public class SolverLanguageFactoryImpl extends EFactoryImpl implements SolverLanguageFactory { + /** + * Creates the default factory implementation. + * + * + * @generated + */ + public static SolverLanguageFactory init() { + try { + SolverLanguageFactory theSolverLanguageFactory = (SolverLanguageFactory)EPackage.Registry.INSTANCE.getEFactory(SolverLanguagePackage.eNS_URI); + if (theSolverLanguageFactory != null) { + return theSolverLanguageFactory; + } + } + catch (Exception exception) { + EcorePlugin.INSTANCE.log(exception); + } + return new SolverLanguageFactoryImpl(); + } + + /** + * Creates an instance of the factory. + * + * + * @generated + */ + public SolverLanguageFactoryImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + public EObject create(EClass eClass) { + switch (eClass.getClassifierID()) { + case SolverLanguagePackage.PROBLEM: return createProblem(); + case SolverLanguagePackage.STATEMENT: return createStatement(); + case SolverLanguagePackage.PREDICATE_DEFINITION: return createPredicateDefinition(); + case SolverLanguagePackage.UNNAMED_ERROR_PREDIATE_DEFINITION: return createUnnamedErrorPrediateDefinition(); + case SolverLanguagePackage.DEFAULT_DEFINITION: return createDefaultDefinition(); + case SolverLanguagePackage.METRIC_DEFINITION: return createMetricDefinition(); + case SolverLanguagePackage.EXTERN_PREDICATE_DEFINITION: return createExternPredicateDefinition(); + case SolverLanguagePackage.EXTERN_METRIC_DEFINITION: return createExternMetricDefinition(); + case SolverLanguagePackage.EXTERN_AGGREGATOR_DEFINITION: return createExternAggregatorDefinition(); + case SolverLanguagePackage.EXTERN_DATATYPE_DEFINITION: return createExternDatatypeDefinition(); + case SolverLanguagePackage.NAMED_ELEMENT: return createNamedElement(); + case SolverLanguagePackage.IF_ELSE: return createIfElse(); + case SolverLanguagePackage.LET: return createLet(); + case SolverLanguagePackage.LET_BINDING: return createLetBinding(); + case SolverLanguagePackage.CASE: return createCase(); + case SolverLanguagePackage.LOCAL_VARIABLES: return createLocalVariables(); + case SolverLanguagePackage.QUANTIFIED_EXPRESSION: return createQuantifiedExpression(); + case SolverLanguagePackage.AGGREGATION: return createAggregation(); + case SolverLanguagePackage.CALL: return createCall(); + case SolverLanguagePackage.ARGUMENT_LIST: return createArgumentList(); + case SolverLanguagePackage.ARGUMENT: return createArgument(); + case SolverLanguagePackage.EXPRESSION_ARGUMENT: return createExpressionArgument(); + case SolverLanguagePackage.STAR_ARGUMENT: return createStarArgument(); + case SolverLanguagePackage.TYPED_ARGUMENT: return createTypedArgument(); + case SolverLanguagePackage.TYPED_STAR_ARGUMENT: return createTypedStarArgument(); + case SolverLanguagePackage.REFERENCE: return createReference(); + case SolverLanguagePackage.INTERVAL: return createInterval(); + case SolverLanguagePackage.LITERAL: return createLiteral(); + case SolverLanguagePackage.LOGIC_LITERAL: return createLogicLiteral(); + case SolverLanguagePackage.NUMERIC_LITERAL: return createNumericLiteral(); + case SolverLanguagePackage.INFINITY_LITERAL: return createInfinityLiteral(); + case SolverLanguagePackage.EMPTY_INTERVAL_LITERAL: return createEmptyIntervalLiteral(); + case SolverLanguagePackage.STRING_LITERAL: return createStringLiteral(); + case SolverLanguagePackage.CLASS_DEFINITION: return createClassDefinition(); + case SolverLanguagePackage.MEMBER_DEFINITION: return createMemberDefinition(); + case SolverLanguagePackage.MULTIPLICITY: return createMultiplicity(); + case SolverLanguagePackage.MANY_MULTIPLICITY: return createManyMultiplicity(); + case SolverLanguagePackage.EXACT_MULTIPLICITY: return createExactMultiplicity(); + case SolverLanguagePackage.BOUNDED_MULTIPLICITY: return createBoundedMultiplicity(); + case SolverLanguagePackage.SCOPE_DEFINITION: return createScopeDefinition(); + case SolverLanguagePackage.EXACT_SCOPE_DEFINITION: return createExactScopeDefinition(); + case SolverLanguagePackage.BOUNDED_SCOPE_DEFINITION: return createBoundedScopeDefinition(); + case SolverLanguagePackage.LOWER_BOUNDED_SCOPE_DEFINITION: return createLowerBoundedScopeDefinition(); + case SolverLanguagePackage.OBJECTIVE_DEFINITION: return createObjectiveDefinition(); + case SolverLanguagePackage.INTERPRETATION: return createInterpretation(); + case SolverLanguagePackage.VARIABLE: return createVariable(); + case SolverLanguagePackage.DISJUNCTION: return createDisjunction(); + case SolverLanguagePackage.SWITCH: return createSwitch(); + case SolverLanguagePackage.CONJUNCTION: return createConjunction(); + case SolverLanguagePackage.COMPARISON: return createComparison(); + case SolverLanguagePackage.BINARY_EXPRESSION: return createBinaryExpression(); + case SolverLanguagePackage.CAST_EXPRESSION: return createCastExpression(); + case SolverLanguagePackage.UNARY_EXPRESSION: return createUnaryExpression(); + case SolverLanguagePackage.NODE: return createNode(); + case SolverLanguagePackage.PREDICATE: return createPredicate(); + case SolverLanguagePackage.METRIC: return createMetric(); + default: + throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); + } + } + + /** + * + * + * @generated + */ + @Override + public Object createFromString(EDataType eDataType, String initialValue) { + switch (eDataType.getClassifierID()) { + case SolverLanguagePackage.BINARY_OPERATOR: + return createBinaryOperatorFromString(eDataType, initialValue); + case SolverLanguagePackage.UNARY_OP: + return createUnaryOpFromString(eDataType, initialValue); + case SolverLanguagePackage.LOGIC_VALUE: + return createLogicValueFromString(eDataType, initialValue); + case SolverLanguagePackage.OBJECTIVE_KIND: + return createObjectiveKindFromString(eDataType, initialValue); + case SolverLanguagePackage.QUANTIFIER: + return createQuantifierFromString(eDataType, initialValue); + default: + throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); + } + } + + /** + * + * + * @generated + */ + @Override + public String convertToString(EDataType eDataType, Object instanceValue) { + switch (eDataType.getClassifierID()) { + case SolverLanguagePackage.BINARY_OPERATOR: + return convertBinaryOperatorToString(eDataType, instanceValue); + case SolverLanguagePackage.UNARY_OP: + return convertUnaryOpToString(eDataType, instanceValue); + case SolverLanguagePackage.LOGIC_VALUE: + return convertLogicValueToString(eDataType, instanceValue); + case SolverLanguagePackage.OBJECTIVE_KIND: + return convertObjectiveKindToString(eDataType, instanceValue); + case SolverLanguagePackage.QUANTIFIER: + return convertQuantifierToString(eDataType, instanceValue); + default: + throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); + } + } + + /** + * + * + * @generated + */ + @Override + public Problem createProblem() { + ProblemImpl problem = new ProblemImpl(); + return problem; + } + + /** + * + * + * @generated + */ + @Override + public Statement createStatement() { + StatementImpl statement = new StatementImpl(); + return statement; + } + + /** + * + * + * @generated + */ + @Override + public PredicateDefinition createPredicateDefinition() { + PredicateDefinitionImpl predicateDefinition = new PredicateDefinitionImpl(); + return predicateDefinition; + } + + /** + * + * + * @generated + */ + @Override + public UnnamedErrorPrediateDefinition createUnnamedErrorPrediateDefinition() { + UnnamedErrorPrediateDefinitionImpl unnamedErrorPrediateDefinition = new UnnamedErrorPrediateDefinitionImpl(); + return unnamedErrorPrediateDefinition; + } + + /** + * + * + * @generated + */ + @Override + public DefaultDefinition createDefaultDefinition() { + DefaultDefinitionImpl defaultDefinition = new DefaultDefinitionImpl(); + return defaultDefinition; + } + + /** + * + * + * @generated + */ + @Override + public MetricDefinition createMetricDefinition() { + MetricDefinitionImpl metricDefinition = new MetricDefinitionImpl(); + return metricDefinition; + } + + /** + * + * + * @generated + */ + @Override + public ExternPredicateDefinition createExternPredicateDefinition() { + ExternPredicateDefinitionImpl externPredicateDefinition = new ExternPredicateDefinitionImpl(); + return externPredicateDefinition; + } + + /** + * + * + * @generated + */ + @Override + public ExternMetricDefinition createExternMetricDefinition() { + ExternMetricDefinitionImpl externMetricDefinition = new ExternMetricDefinitionImpl(); + return externMetricDefinition; + } + + /** + * + * + * @generated + */ + @Override + public ExternAggregatorDefinition createExternAggregatorDefinition() { + ExternAggregatorDefinitionImpl externAggregatorDefinition = new ExternAggregatorDefinitionImpl(); + return externAggregatorDefinition; + } + + /** + * + * + * @generated + */ + @Override + public ExternDatatypeDefinition createExternDatatypeDefinition() { + ExternDatatypeDefinitionImpl externDatatypeDefinition = new ExternDatatypeDefinitionImpl(); + return externDatatypeDefinition; + } + + /** + * + * + * @generated + */ + @Override + public NamedElement createNamedElement() { + NamedElementImpl namedElement = new NamedElementImpl(); + return namedElement; + } + + /** + * + * + * @generated + */ + @Override + public IfElse createIfElse() { + IfElseImpl ifElse = new IfElseImpl(); + return ifElse; + } + + /** + * + * + * @generated + */ + @Override + public Let createLet() { + LetImpl let = new LetImpl(); + return let; + } + + /** + * + * + * @generated + */ + @Override + public LetBinding createLetBinding() { + LetBindingImpl letBinding = new LetBindingImpl(); + return letBinding; + } + + /** + * + * + * @generated + */ + @Override + public Case createCase() { + CaseImpl case_ = new CaseImpl(); + return case_; + } + + /** + * + * + * @generated + */ + @Override + public LocalVariables createLocalVariables() { + LocalVariablesImpl localVariables = new LocalVariablesImpl(); + return localVariables; + } + + /** + * + * + * @generated + */ + @Override + public QuantifiedExpression createQuantifiedExpression() { + QuantifiedExpressionImpl quantifiedExpression = new QuantifiedExpressionImpl(); + return quantifiedExpression; + } + + /** + * + * + * @generated + */ + @Override + public Aggregation createAggregation() { + AggregationImpl aggregation = new AggregationImpl(); + return aggregation; + } + + /** + * + * + * @generated + */ + @Override + public Call createCall() { + CallImpl call = new CallImpl(); + return call; + } + + /** + * + * + * @generated + */ + @Override + public ArgumentList createArgumentList() { + ArgumentListImpl argumentList = new ArgumentListImpl(); + return argumentList; + } + + /** + * + * + * @generated + */ + @Override + public Argument createArgument() { + ArgumentImpl argument = new ArgumentImpl(); + return argument; + } + + /** + * + * + * @generated + */ + @Override + public ExpressionArgument createExpressionArgument() { + ExpressionArgumentImpl expressionArgument = new ExpressionArgumentImpl(); + return expressionArgument; + } + + /** + * + * + * @generated + */ + @Override + public StarArgument createStarArgument() { + StarArgumentImpl starArgument = new StarArgumentImpl(); + return starArgument; + } + + /** + * + * + * @generated + */ + @Override + public TypedArgument createTypedArgument() { + TypedArgumentImpl typedArgument = new TypedArgumentImpl(); + return typedArgument; + } + + /** + * + * + * @generated + */ + @Override + public TypedStarArgument createTypedStarArgument() { + TypedStarArgumentImpl typedStarArgument = new TypedStarArgumentImpl(); + return typedStarArgument; + } + + /** + * + * + * @generated + */ + @Override + public Reference createReference() { + ReferenceImpl reference = new ReferenceImpl(); + return reference; + } + + /** + * + * + * @generated + */ + @Override + public Interval createInterval() { + IntervalImpl interval = new IntervalImpl(); + return interval; + } + + /** + * + * + * @generated + */ + @Override + public Literal createLiteral() { + LiteralImpl literal = new LiteralImpl(); + return literal; + } + + /** + * + * + * @generated + */ + @Override + public LogicLiteral createLogicLiteral() { + LogicLiteralImpl logicLiteral = new LogicLiteralImpl(); + return logicLiteral; + } + + /** + * + * + * @generated + */ + @Override + public NumericLiteral createNumericLiteral() { + NumericLiteralImpl numericLiteral = new NumericLiteralImpl(); + return numericLiteral; + } + + /** + * + * + * @generated + */ + @Override + public InfinityLiteral createInfinityLiteral() { + InfinityLiteralImpl infinityLiteral = new InfinityLiteralImpl(); + return infinityLiteral; + } + + /** + * + * + * @generated + */ + @Override + public EmptyIntervalLiteral createEmptyIntervalLiteral() { + EmptyIntervalLiteralImpl emptyIntervalLiteral = new EmptyIntervalLiteralImpl(); + return emptyIntervalLiteral; + } + + /** + * + * + * @generated + */ + @Override + public StringLiteral createStringLiteral() { + StringLiteralImpl stringLiteral = new StringLiteralImpl(); + return stringLiteral; + } + + /** + * + * + * @generated + */ + @Override + public ClassDefinition createClassDefinition() { + ClassDefinitionImpl classDefinition = new ClassDefinitionImpl(); + return classDefinition; + } + + /** + * + * + * @generated + */ + @Override + public MemberDefinition createMemberDefinition() { + MemberDefinitionImpl memberDefinition = new MemberDefinitionImpl(); + return memberDefinition; + } + + /** + * + * + * @generated + */ + @Override + public Multiplicity createMultiplicity() { + MultiplicityImpl multiplicity = new MultiplicityImpl(); + return multiplicity; + } + + /** + * + * + * @generated + */ + @Override + public ManyMultiplicity createManyMultiplicity() { + ManyMultiplicityImpl manyMultiplicity = new ManyMultiplicityImpl(); + return manyMultiplicity; + } + + /** + * + * + * @generated + */ + @Override + public ExactMultiplicity createExactMultiplicity() { + ExactMultiplicityImpl exactMultiplicity = new ExactMultiplicityImpl(); + return exactMultiplicity; + } + + /** + * + * + * @generated + */ + @Override + public BoundedMultiplicity createBoundedMultiplicity() { + BoundedMultiplicityImpl boundedMultiplicity = new BoundedMultiplicityImpl(); + return boundedMultiplicity; + } + + /** + * + * + * @generated + */ + @Override + public ScopeDefinition createScopeDefinition() { + ScopeDefinitionImpl scopeDefinition = new ScopeDefinitionImpl(); + return scopeDefinition; + } + + /** + * + * + * @generated + */ + @Override + public ExactScopeDefinition createExactScopeDefinition() { + ExactScopeDefinitionImpl exactScopeDefinition = new ExactScopeDefinitionImpl(); + return exactScopeDefinition; + } + + /** + * + * + * @generated + */ + @Override + public BoundedScopeDefinition createBoundedScopeDefinition() { + BoundedScopeDefinitionImpl boundedScopeDefinition = new BoundedScopeDefinitionImpl(); + return boundedScopeDefinition; + } + + /** + * + * + * @generated + */ + @Override + public LowerBoundedScopeDefinition createLowerBoundedScopeDefinition() { + LowerBoundedScopeDefinitionImpl lowerBoundedScopeDefinition = new LowerBoundedScopeDefinitionImpl(); + return lowerBoundedScopeDefinition; + } + + /** + * + * + * @generated + */ + @Override + public ObjectiveDefinition createObjectiveDefinition() { + ObjectiveDefinitionImpl objectiveDefinition = new ObjectiveDefinitionImpl(); + return objectiveDefinition; + } + + /** + * + * + * @generated + */ + @Override + public Interpretation createInterpretation() { + InterpretationImpl interpretation = new InterpretationImpl(); + return interpretation; + } + + /** + * + * + * @generated + */ + @Override + public Variable createVariable() { + VariableImpl variable = new VariableImpl(); + return variable; + } + + /** + * + * + * @generated + */ + @Override + public Disjunction createDisjunction() { + DisjunctionImpl disjunction = new DisjunctionImpl(); + return disjunction; + } + + /** + * + * + * @generated + */ + @Override + public Switch createSwitch() { + SwitchImpl switch_ = new SwitchImpl(); + return switch_; + } + + /** + * + * + * @generated + */ + @Override + public Conjunction createConjunction() { + ConjunctionImpl conjunction = new ConjunctionImpl(); + return conjunction; + } + + /** + * + * + * @generated + */ + @Override + public Comparison createComparison() { + ComparisonImpl comparison = new ComparisonImpl(); + return comparison; + } + + /** + * + * + * @generated + */ + @Override + public BinaryExpression createBinaryExpression() { + BinaryExpressionImpl binaryExpression = new BinaryExpressionImpl(); + return binaryExpression; + } + + /** + * + * + * @generated + */ + @Override + public CastExpression createCastExpression() { + CastExpressionImpl castExpression = new CastExpressionImpl(); + return castExpression; + } + + /** + * + * + * @generated + */ + @Override + public UnaryExpression createUnaryExpression() { + UnaryExpressionImpl unaryExpression = new UnaryExpressionImpl(); + return unaryExpression; + } + + /** + * + * + * @generated + */ + @Override + public Node createNode() { + NodeImpl node = new NodeImpl(); + return node; + } + + /** + * + * + * @generated + */ + @Override + public Predicate createPredicate() { + PredicateImpl predicate = new PredicateImpl(); + return predicate; + } + + /** + * + * + * @generated + */ + @Override + public Metric createMetric() { + MetricImpl metric = new MetricImpl(); + return metric; + } + + /** + * + * + * @generated + */ + public BinaryOperator createBinaryOperatorFromString(EDataType eDataType, String initialValue) { + BinaryOperator result = BinaryOperator.get(initialValue); + if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); + return result; + } + + /** + * + * + * @generated + */ + public String convertBinaryOperatorToString(EDataType eDataType, Object instanceValue) { + return instanceValue == null ? null : instanceValue.toString(); + } + + /** + * + * + * @generated + */ + public UnaryOp createUnaryOpFromString(EDataType eDataType, String initialValue) { + UnaryOp result = UnaryOp.get(initialValue); + if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); + return result; + } + + /** + * + * + * @generated + */ + public String convertUnaryOpToString(EDataType eDataType, Object instanceValue) { + return instanceValue == null ? null : instanceValue.toString(); + } + + /** + * + * + * @generated + */ + public LogicValue createLogicValueFromString(EDataType eDataType, String initialValue) { + LogicValue result = LogicValue.get(initialValue); + if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); + return result; + } + + /** + * + * + * @generated + */ + public String convertLogicValueToString(EDataType eDataType, Object instanceValue) { + return instanceValue == null ? null : instanceValue.toString(); + } + + /** + * + * + * @generated + */ + public ObjectiveKind createObjectiveKindFromString(EDataType eDataType, String initialValue) { + ObjectiveKind result = ObjectiveKind.get(initialValue); + if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); + return result; + } + + /** + * + * + * @generated + */ + public String convertObjectiveKindToString(EDataType eDataType, Object instanceValue) { + return instanceValue == null ? null : instanceValue.toString(); + } + + /** + * + * + * @generated + */ + public Quantifier createQuantifierFromString(EDataType eDataType, String initialValue) { + Quantifier result = Quantifier.get(initialValue); + if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); + return result; + } + + /** + * + * + * @generated + */ + public String convertQuantifierToString(EDataType eDataType, Object instanceValue) { + return instanceValue == null ? null : instanceValue.toString(); + } + + /** + * + * + * @generated + */ + @Override + public SolverLanguagePackage getSolverLanguagePackage() { + return (SolverLanguagePackage)getEPackage(); + } + + /** + * + * + * @deprecated + * @generated + */ + @Deprecated + public static SolverLanguagePackage getPackage() { + return SolverLanguagePackage.eINSTANCE; + } + +} //SolverLanguageFactoryImpl diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/SolverLanguagePackageImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/SolverLanguagePackageImpl.java new file mode 100644 index 00000000..e8834386 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/SolverLanguagePackageImpl.java @@ -0,0 +1,2726 @@ +/** + * generated by Xtext 2.21.0 + */ +package org.eclipse.viatra.solver.language.solverLanguage.impl; + +import org.eclipse.emf.ecore.EAttribute; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EEnum; +import org.eclipse.emf.ecore.EPackage; +import org.eclipse.emf.ecore.EReference; + +import org.eclipse.emf.ecore.impl.EPackageImpl; + +import org.eclipse.viatra.solver.language.solverLanguage.Aggregation; +import org.eclipse.viatra.solver.language.solverLanguage.Argument; +import org.eclipse.viatra.solver.language.solverLanguage.ArgumentList; +import org.eclipse.viatra.solver.language.solverLanguage.BinaryExpression; +import org.eclipse.viatra.solver.language.solverLanguage.BinaryOperator; +import org.eclipse.viatra.solver.language.solverLanguage.BoundedMultiplicity; +import org.eclipse.viatra.solver.language.solverLanguage.BoundedScopeDefinition; +import org.eclipse.viatra.solver.language.solverLanguage.Call; +import org.eclipse.viatra.solver.language.solverLanguage.Case; +import org.eclipse.viatra.solver.language.solverLanguage.CastExpression; +import org.eclipse.viatra.solver.language.solverLanguage.ClassDefinition; +import org.eclipse.viatra.solver.language.solverLanguage.Comparison; +import org.eclipse.viatra.solver.language.solverLanguage.Conjunction; +import org.eclipse.viatra.solver.language.solverLanguage.DefaultDefinition; +import org.eclipse.viatra.solver.language.solverLanguage.Disjunction; +import org.eclipse.viatra.solver.language.solverLanguage.EmptyIntervalLiteral; +import org.eclipse.viatra.solver.language.solverLanguage.ExactMultiplicity; +import org.eclipse.viatra.solver.language.solverLanguage.ExactScopeDefinition; +import org.eclipse.viatra.solver.language.solverLanguage.Expression; +import org.eclipse.viatra.solver.language.solverLanguage.ExpressionArgument; +import org.eclipse.viatra.solver.language.solverLanguage.ExternAggregatorDefinition; +import org.eclipse.viatra.solver.language.solverLanguage.ExternDatatypeDefinition; +import org.eclipse.viatra.solver.language.solverLanguage.ExternMetricDefinition; +import org.eclipse.viatra.solver.language.solverLanguage.ExternPredicateDefinition; +import org.eclipse.viatra.solver.language.solverLanguage.Functor; +import org.eclipse.viatra.solver.language.solverLanguage.IfElse; +import org.eclipse.viatra.solver.language.solverLanguage.InfinityLiteral; +import org.eclipse.viatra.solver.language.solverLanguage.Interpretation; +import org.eclipse.viatra.solver.language.solverLanguage.Interval; +import org.eclipse.viatra.solver.language.solverLanguage.Let; +import org.eclipse.viatra.solver.language.solverLanguage.LetBinding; +import org.eclipse.viatra.solver.language.solverLanguage.Literal; +import org.eclipse.viatra.solver.language.solverLanguage.LocalVariables; +import org.eclipse.viatra.solver.language.solverLanguage.LogicLiteral; +import org.eclipse.viatra.solver.language.solverLanguage.LogicValue; +import org.eclipse.viatra.solver.language.solverLanguage.LowerBoundedScopeDefinition; +import org.eclipse.viatra.solver.language.solverLanguage.ManyMultiplicity; +import org.eclipse.viatra.solver.language.solverLanguage.MemberDefinition; +import org.eclipse.viatra.solver.language.solverLanguage.Metric; +import org.eclipse.viatra.solver.language.solverLanguage.MetricDefinition; +import org.eclipse.viatra.solver.language.solverLanguage.Multiplicity; +import org.eclipse.viatra.solver.language.solverLanguage.NamedElement; +import org.eclipse.viatra.solver.language.solverLanguage.Node; +import org.eclipse.viatra.solver.language.solverLanguage.NumericLiteral; +import org.eclipse.viatra.solver.language.solverLanguage.ObjectiveDefinition; +import org.eclipse.viatra.solver.language.solverLanguage.ObjectiveKind; +import org.eclipse.viatra.solver.language.solverLanguage.Predicate; +import org.eclipse.viatra.solver.language.solverLanguage.PredicateDefinition; +import org.eclipse.viatra.solver.language.solverLanguage.Problem; +import org.eclipse.viatra.solver.language.solverLanguage.QuantifiedExpression; +import org.eclipse.viatra.solver.language.solverLanguage.Quantifier; +import org.eclipse.viatra.solver.language.solverLanguage.Reference; +import org.eclipse.viatra.solver.language.solverLanguage.ScopeDefinition; +import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguageFactory; +import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; +import org.eclipse.viatra.solver.language.solverLanguage.StarArgument; +import org.eclipse.viatra.solver.language.solverLanguage.Statement; +import org.eclipse.viatra.solver.language.solverLanguage.StringLiteral; +import org.eclipse.viatra.solver.language.solverLanguage.Switch; +import org.eclipse.viatra.solver.language.solverLanguage.TypedArgument; +import org.eclipse.viatra.solver.language.solverLanguage.TypedStarArgument; +import org.eclipse.viatra.solver.language.solverLanguage.UnaryExpression; +import org.eclipse.viatra.solver.language.solverLanguage.UnaryOp; +import org.eclipse.viatra.solver.language.solverLanguage.UnnamedErrorPrediateDefinition; +import org.eclipse.viatra.solver.language.solverLanguage.Variable; + +/** + * + * An implementation of the model Package. + * + * @generated + */ +public class SolverLanguagePackageImpl extends EPackageImpl implements SolverLanguagePackage { + /** + * + * + * @generated + */ + private EClass problemEClass = null; + + /** + * + * + * @generated + */ + private EClass statementEClass = null; + + /** + * + * + * @generated + */ + private EClass predicateDefinitionEClass = null; + + /** + * + * + * @generated + */ + private EClass unnamedErrorPrediateDefinitionEClass = null; + + /** + * + * + * @generated + */ + private EClass defaultDefinitionEClass = null; + + /** + * + * + * @generated + */ + private EClass metricDefinitionEClass = null; + + /** + * + * + * @generated + */ + private EClass externPredicateDefinitionEClass = null; + + /** + * + * + * @generated + */ + private EClass externMetricDefinitionEClass = null; + + /** + * + * + * @generated + */ + private EClass externAggregatorDefinitionEClass = null; + + /** + * + * + * @generated + */ + private EClass externDatatypeDefinitionEClass = null; + + /** + * + * + * @generated + */ + private EClass namedElementEClass = null; + + /** + * + * + * @generated + */ + private EClass expressionEClass = null; + + /** + * + * + * @generated + */ + private EClass ifElseEClass = null; + + /** + * + * + * @generated + */ + private EClass letEClass = null; + + /** + * + * + * @generated + */ + private EClass letBindingEClass = null; + + /** + * + * + * @generated + */ + private EClass caseEClass = null; + + /** + * + * + * @generated + */ + private EClass localVariablesEClass = null; + + /** + * + * + * @generated + */ + private EClass quantifiedExpressionEClass = null; + + /** + * + * + * @generated + */ + private EClass aggregationEClass = null; + + /** + * + * + * @generated + */ + private EClass callEClass = null; + + /** + * + * + * @generated + */ + private EClass argumentListEClass = null; + + /** + * + * + * @generated + */ + private EClass argumentEClass = null; + + /** + * + * + * @generated + */ + private EClass expressionArgumentEClass = null; + + /** + * + * + * @generated + */ + private EClass starArgumentEClass = null; + + /** + * + * + * @generated + */ + private EClass typedArgumentEClass = null; + + /** + * + * + * @generated + */ + private EClass typedStarArgumentEClass = null; + + /** + * + * + * @generated + */ + private EClass referenceEClass = null; + + /** + * + * + * @generated + */ + private EClass intervalEClass = null; + + /** + * + * + * @generated + */ + private EClass literalEClass = null; + + /** + * + * + * @generated + */ + private EClass logicLiteralEClass = null; + + /** + * + * + * @generated + */ + private EClass numericLiteralEClass = null; + + /** + * + * + * @generated + */ + private EClass infinityLiteralEClass = null; + + /** + * + * + * @generated + */ + private EClass emptyIntervalLiteralEClass = null; + + /** + * + * + * @generated + */ + private EClass stringLiteralEClass = null; + + /** + * + * + * @generated + */ + private EClass classDefinitionEClass = null; + + /** + * + * + * @generated + */ + private EClass memberDefinitionEClass = null; + + /** + * + * + * @generated + */ + private EClass multiplicityEClass = null; + + /** + * + * + * @generated + */ + private EClass manyMultiplicityEClass = null; + + /** + * + * + * @generated + */ + private EClass exactMultiplicityEClass = null; + + /** + * + * + * @generated + */ + private EClass boundedMultiplicityEClass = null; + + /** + * + * + * @generated + */ + private EClass scopeDefinitionEClass = null; + + /** + * + * + * @generated + */ + private EClass exactScopeDefinitionEClass = null; + + /** + * + * + * @generated + */ + private EClass boundedScopeDefinitionEClass = null; + + /** + * + * + * @generated + */ + private EClass lowerBoundedScopeDefinitionEClass = null; + + /** + * + * + * @generated + */ + private EClass objectiveDefinitionEClass = null; + + /** + * + * + * @generated + */ + private EClass interpretationEClass = null; + + /** + * + * + * @generated + */ + private EClass variableEClass = null; + + /** + * + * + * @generated + */ + private EClass disjunctionEClass = null; + + /** + * + * + * @generated + */ + private EClass switchEClass = null; + + /** + * + * + * @generated + */ + private EClass conjunctionEClass = null; + + /** + * + * + * @generated + */ + private EClass comparisonEClass = null; + + /** + * + * + * @generated + */ + private EClass binaryExpressionEClass = null; + + /** + * + * + * @generated + */ + private EClass castExpressionEClass = null; + + /** + * + * + * @generated + */ + private EClass unaryExpressionEClass = null; + + /** + * + * + * @generated + */ + private EClass nodeEClass = null; + + /** + * + * + * @generated + */ + private EClass functorEClass = null; + + /** + * + * + * @generated + */ + private EClass predicateEClass = null; + + /** + * + * + * @generated + */ + private EClass metricEClass = null; + + /** + * + * + * @generated + */ + private EEnum binaryOperatorEEnum = null; + + /** + * + * + * @generated + */ + private EEnum unaryOpEEnum = null; + + /** + * + * + * @generated + */ + private EEnum logicValueEEnum = null; + + /** + * + * + * @generated + */ + private EEnum objectiveKindEEnum = null; + + /** + * + * + * @generated + */ + private EEnum quantifierEEnum = null; + + /** + * Creates an instance of the model Package, registered with + * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package + * package URI value. + *

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

    This method is used to initialize {@link SolverLanguagePackage#eINSTANCE} when that field is accessed. + * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. + * + * + * @see #eNS_URI + * @see #createPackageContents() + * @see #initializePackageContents() + * @generated + */ + public static SolverLanguagePackage init() { + if (isInited) return (SolverLanguagePackage)EPackage.Registry.INSTANCE.getEPackage(SolverLanguagePackage.eNS_URI); + + // Obtain or create and register package + Object registeredSolverLanguagePackage = EPackage.Registry.INSTANCE.get(eNS_URI); + SolverLanguagePackageImpl theSolverLanguagePackage = registeredSolverLanguagePackage instanceof SolverLanguagePackageImpl ? (SolverLanguagePackageImpl)registeredSolverLanguagePackage : new SolverLanguagePackageImpl(); + + isInited = true; + + // Create package meta-data objects + theSolverLanguagePackage.createPackageContents(); + + // Initialize created meta-data + theSolverLanguagePackage.initializePackageContents(); + + // Mark meta-data to indicate it can't be changed + theSolverLanguagePackage.freeze(); + + // Update the registry and return the package + EPackage.Registry.INSTANCE.put(SolverLanguagePackage.eNS_URI, theSolverLanguagePackage); + return theSolverLanguagePackage; + } + + /** + * + * + * @generated + */ + @Override + public EClass getProblem() { + return problemEClass; + } + + /** + * + * + * @generated + */ + @Override + public EReference getProblem_Statements() { + return (EReference)problemEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EClass getStatement() { + return statementEClass; + } + + /** + * + * + * @generated + */ + @Override + public EClass getPredicateDefinition() { + return predicateDefinitionEClass; + } + + /** + * + * + * @generated + */ + @Override + public EReference getPredicateDefinition_Head() { + return (EReference)predicateDefinitionEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EReference getPredicateDefinition_Body() { + return (EReference)predicateDefinitionEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getPredicateDefinition_Functional() { + return (EAttribute)predicateDefinitionEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getPredicateDefinition_Error() { + return (EAttribute)predicateDefinitionEClass.getEStructuralFeatures().get(3); + } + + /** + * + * + * @generated + */ + @Override + public EClass getUnnamedErrorPrediateDefinition() { + return unnamedErrorPrediateDefinitionEClass; + } + + /** + * + * + * @generated + */ + @Override + public EReference getUnnamedErrorPrediateDefinition_ArgumentList() { + return (EReference)unnamedErrorPrediateDefinitionEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EReference getUnnamedErrorPrediateDefinition_Body() { + return (EReference)unnamedErrorPrediateDefinitionEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + @Override + public EClass getDefaultDefinition() { + return defaultDefinitionEClass; + } + + /** + * + * + * @generated + */ + @Override + public EReference getDefaultDefinition_Head() { + return (EReference)defaultDefinitionEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EReference getDefaultDefinition_Range() { + return (EReference)defaultDefinitionEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + @Override + public EClass getMetricDefinition() { + return metricDefinitionEClass; + } + + /** + * + * + * @generated + */ + @Override + public EReference getMetricDefinition_Head() { + return (EReference)metricDefinitionEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EReference getMetricDefinition_Body() { + return (EReference)metricDefinitionEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + @Override + public EReference getMetricDefinition_Type() { + return (EReference)metricDefinitionEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + @Override + public EClass getExternPredicateDefinition() { + return externPredicateDefinitionEClass; + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getExternPredicateDefinition_Name() { + return (EAttribute)externPredicateDefinitionEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EReference getExternPredicateDefinition_ArgumentList() { + return (EReference)externPredicateDefinitionEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + @Override + public EClass getExternMetricDefinition() { + return externMetricDefinitionEClass; + } + + /** + * + * + * @generated + */ + @Override + public EReference getExternMetricDefinition_Type() { + return (EReference)externMetricDefinitionEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getExternMetricDefinition_Name() { + return (EAttribute)externMetricDefinitionEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + @Override + public EReference getExternMetricDefinition_ArgumentList() { + return (EReference)externMetricDefinitionEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + @Override + public EClass getExternAggregatorDefinition() { + return externAggregatorDefinitionEClass; + } + + /** + * + * + * @generated + */ + @Override + public EReference getExternAggregatorDefinition_Type() { + return (EReference)externAggregatorDefinitionEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getExternAggregatorDefinition_Name() { + return (EAttribute)externAggregatorDefinitionEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + @Override + public EReference getExternAggregatorDefinition_InputType() { + return (EReference)externAggregatorDefinitionEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + @Override + public EClass getExternDatatypeDefinition() { + return externDatatypeDefinitionEClass; + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getExternDatatypeDefinition_Name() { + return (EAttribute)externDatatypeDefinitionEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EReference getExternDatatypeDefinition_Supertypes() { + return (EReference)externDatatypeDefinitionEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + @Override + public EClass getNamedElement() { + return namedElementEClass; + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getNamedElement_Name() { + return (EAttribute)namedElementEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EClass getExpression() { + return expressionEClass; + } + + /** + * + * + * @generated + */ + @Override + public EClass getIfElse() { + return ifElseEClass; + } + + /** + * + * + * @generated + */ + @Override + public EReference getIfElse_Then() { + return (EReference)ifElseEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EReference getIfElse_Else() { + return (EReference)ifElseEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + @Override + public EReference getIfElse_Condition() { + return (EReference)ifElseEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + @Override + public EClass getLet() { + return letEClass; + } + + /** + * + * + * @generated + */ + @Override + public EReference getLet_Bindings() { + return (EReference)letEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EReference getLet_Body() { + return (EReference)letEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + @Override + public EClass getLetBinding() { + return letBindingEClass; + } + + /** + * + * + * @generated + */ + @Override + public EReference getLetBinding_Variable() { + return (EReference)letBindingEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EReference getLetBinding_Value() { + return (EReference)letBindingEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + @Override + public EClass getCase() { + return caseEClass; + } + + /** + * + * + * @generated + */ + @Override + public EReference getCase_Body() { + return (EReference)caseEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EReference getCase_Condition() { + return (EReference)caseEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + @Override + public EClass getLocalVariables() { + return localVariablesEClass; + } + + /** + * + * + * @generated + */ + @Override + public EReference getLocalVariables_Variables() { + return (EReference)localVariablesEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EClass getQuantifiedExpression() { + return quantifiedExpressionEClass; + } + + /** + * + * + * @generated + */ + @Override + public EReference getQuantifiedExpression_LocalVariables() { + return (EReference)quantifiedExpressionEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EReference getQuantifiedExpression_Body() { + return (EReference)quantifiedExpressionEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getQuantifiedExpression_Quantifier() { + return (EAttribute)quantifiedExpressionEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + @Override + public EClass getAggregation() { + return aggregationEClass; + } + + /** + * + * + * @generated + */ + @Override + public EReference getAggregation_Op() { + return (EReference)aggregationEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EReference getAggregation_LocalVariables() { + return (EReference)aggregationEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + @Override + public EReference getAggregation_Body() { + return (EReference)aggregationEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + @Override + public EReference getAggregation_Condition() { + return (EReference)aggregationEClass.getEStructuralFeatures().get(3); + } + + /** + * + * + * @generated + */ + @Override + public EClass getCall() { + return callEClass; + } + + /** + * + * + * @generated + */ + @Override + public EReference getCall_Functor() { + return (EReference)callEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getCall_TransitiveClosure() { + return (EAttribute)callEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getCall_ReflexiveTransitiveClosure() { + return (EAttribute)callEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + @Override + public EReference getCall_ArgumentList() { + return (EReference)callEClass.getEStructuralFeatures().get(3); + } + + /** + * + * + * @generated + */ + @Override + public EClass getArgumentList() { + return argumentListEClass; + } + + /** + * + * + * @generated + */ + @Override + public EReference getArgumentList_Arguments() { + return (EReference)argumentListEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EClass getArgument() { + return argumentEClass; + } + + /** + * + * + * @generated + */ + @Override + public EClass getExpressionArgument() { + return expressionArgumentEClass; + } + + /** + * + * + * @generated + */ + @Override + public EReference getExpressionArgument_Body() { + return (EReference)expressionArgumentEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EClass getStarArgument() { + return starArgumentEClass; + } + + /** + * + * + * @generated + */ + @Override + public EClass getTypedArgument() { + return typedArgumentEClass; + } + + /** + * + * + * @generated + */ + @Override + public EReference getTypedArgument_Type() { + return (EReference)typedArgumentEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EReference getTypedArgument_Variable() { + return (EReference)typedArgumentEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + @Override + public EClass getTypedStarArgument() { + return typedStarArgumentEClass; + } + + /** + * + * + * @generated + */ + @Override + public EReference getTypedStarArgument_Type() { + return (EReference)typedStarArgumentEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EClass getReference() { + return referenceEClass; + } + + /** + * + * + * @generated + */ + @Override + public EReference getReference_Referred() { + return (EReference)referenceEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EClass getInterval() { + return intervalEClass; + } + + /** + * + * + * @generated + */ + @Override + public EReference getInterval_LowerBound() { + return (EReference)intervalEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EReference getInterval_UpperBound() { + return (EReference)intervalEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + @Override + public EClass getLiteral() { + return literalEClass; + } + + /** + * + * + * @generated + */ + @Override + public EClass getLogicLiteral() { + return logicLiteralEClass; + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getLogicLiteral_Value() { + return (EAttribute)logicLiteralEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EClass getNumericLiteral() { + return numericLiteralEClass; + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getNumericLiteral_Value() { + return (EAttribute)numericLiteralEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EClass getInfinityLiteral() { + return infinityLiteralEClass; + } + + /** + * + * + * @generated + */ + @Override + public EClass getEmptyIntervalLiteral() { + return emptyIntervalLiteralEClass; + } + + /** + * + * + * @generated + */ + @Override + public EClass getStringLiteral() { + return stringLiteralEClass; + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getStringLiteral_Value() { + return (EAttribute)stringLiteralEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EClass getClassDefinition() { + return classDefinitionEClass; + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getClassDefinition_Abstract() { + return (EAttribute)classDefinitionEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getClassDefinition_Name() { + return (EAttribute)classDefinitionEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + @Override + public EReference getClassDefinition_Superclasses() { + return (EReference)classDefinitionEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + @Override + public EReference getClassDefinition_Members() { + return (EReference)classDefinitionEClass.getEStructuralFeatures().get(3); + } + + /** + * + * + * @generated + */ + @Override + public EClass getMemberDefinition() { + return memberDefinitionEClass; + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getMemberDefinition_Containment() { + return (EAttribute)memberDefinitionEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EReference getMemberDefinition_Type() { + return (EReference)memberDefinitionEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + @Override + public EReference getMemberDefinition_Multiplicity() { + return (EReference)memberDefinitionEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getMemberDefinition_Name() { + return (EAttribute)memberDefinitionEClass.getEStructuralFeatures().get(3); + } + + /** + * + * + * @generated + */ + @Override + public EReference getMemberDefinition_Opposite() { + return (EReference)memberDefinitionEClass.getEStructuralFeatures().get(4); + } + + /** + * + * + * @generated + */ + @Override + public EClass getMultiplicity() { + return multiplicityEClass; + } + + /** + * + * + * @generated + */ + @Override + public EClass getManyMultiplicity() { + return manyMultiplicityEClass; + } + + /** + * + * + * @generated + */ + @Override + public EClass getExactMultiplicity() { + return exactMultiplicityEClass; + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getExactMultiplicity_Multiplicity() { + return (EAttribute)exactMultiplicityEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EClass getBoundedMultiplicity() { + return boundedMultiplicityEClass; + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getBoundedMultiplicity_LowerBound() { + return (EAttribute)boundedMultiplicityEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getBoundedMultiplicity_UpperBound() { + return (EAttribute)boundedMultiplicityEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + @Override + public EClass getScopeDefinition() { + return scopeDefinitionEClass; + } + + /** + * + * + * @generated + */ + @Override + public EReference getScopeDefinition_Type() { + return (EReference)scopeDefinitionEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EClass getExactScopeDefinition() { + return exactScopeDefinitionEClass; + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getExactScopeDefinition_ExactScope() { + return (EAttribute)exactScopeDefinitionEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EClass getBoundedScopeDefinition() { + return boundedScopeDefinitionEClass; + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getBoundedScopeDefinition_LowerBound() { + return (EAttribute)boundedScopeDefinitionEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getBoundedScopeDefinition_UpperBound() { + return (EAttribute)boundedScopeDefinitionEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + @Override + public EClass getLowerBoundedScopeDefinition() { + return lowerBoundedScopeDefinitionEClass; + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getLowerBoundedScopeDefinition_LowerBound() { + return (EAttribute)lowerBoundedScopeDefinitionEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EClass getObjectiveDefinition() { + return objectiveDefinitionEClass; + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getObjectiveDefinition_Kind() { + return (EAttribute)objectiveDefinitionEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EReference getObjectiveDefinition_Objective() { + return (EReference)objectiveDefinitionEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + @Override + public EClass getInterpretation() { + return interpretationEClass; + } + + /** + * + * + * @generated + */ + @Override + public EReference getInterpretation_Body() { + return (EReference)interpretationEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EReference getInterpretation_Range() { + return (EReference)interpretationEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + @Override + public EClass getVariable() { + return variableEClass; + } + + /** + * + * + * @generated + */ + @Override + public EReference getVariable_Type() { + return (EReference)variableEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EClass getDisjunction() { + return disjunctionEClass; + } + + /** + * + * + * @generated + */ + @Override + public EReference getDisjunction_Children() { + return (EReference)disjunctionEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EClass getSwitch() { + return switchEClass; + } + + /** + * + * + * @generated + */ + @Override + public EReference getSwitch_Cases() { + return (EReference)switchEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EClass getConjunction() { + return conjunctionEClass; + } + + /** + * + * + * @generated + */ + @Override + public EReference getConjunction_Children() { + return (EReference)conjunctionEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EClass getComparison() { + return comparisonEClass; + } + + /** + * + * + * @generated + */ + @Override + public EReference getComparison_Left() { + return (EReference)comparisonEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getComparison_Op() { + return (EAttribute)comparisonEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + @Override + public EReference getComparison_Right() { + return (EReference)comparisonEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + @Override + public EClass getBinaryExpression() { + return binaryExpressionEClass; + } + + /** + * + * + * @generated + */ + @Override + public EReference getBinaryExpression_Left() { + return (EReference)binaryExpressionEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getBinaryExpression_Op() { + return (EAttribute)binaryExpressionEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + @Override + public EReference getBinaryExpression_Right() { + return (EReference)binaryExpressionEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + @Override + public EClass getCastExpression() { + return castExpressionEClass; + } + + /** + * + * + * @generated + */ + @Override + public EReference getCastExpression_Body() { + return (EReference)castExpressionEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EReference getCastExpression_Type() { + return (EReference)castExpressionEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + @Override + public EClass getUnaryExpression() { + return unaryExpressionEClass; + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getUnaryExpression_Op() { + return (EAttribute)unaryExpressionEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EReference getUnaryExpression_Body() { + return (EReference)unaryExpressionEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + @Override + public EClass getNode() { + return nodeEClass; + } + + /** + * + * + * @generated + */ + @Override + public EAttribute getNode_WithId() { + return (EAttribute)nodeEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EClass getFunctor() { + return functorEClass; + } + + /** + * + * + * @generated + */ + @Override + public EReference getFunctor_Parameters() { + return (EReference)functorEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EClass getPredicate() { + return predicateEClass; + } + + /** + * + * + * @generated + */ + @Override + public EClass getMetric() { + return metricEClass; + } + + /** + * + * + * @generated + */ + @Override + public EReference getMetric_ReturnType() { + return (EReference)metricEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + @Override + public EEnum getBinaryOperator() { + return binaryOperatorEEnum; + } + + /** + * + * + * @generated + */ + @Override + public EEnum getUnaryOp() { + return unaryOpEEnum; + } + + /** + * + * + * @generated + */ + @Override + public EEnum getLogicValue() { + return logicValueEEnum; + } + + /** + * + * + * @generated + */ + @Override + public EEnum getObjectiveKind() { + return objectiveKindEEnum; + } + + /** + * + * + * @generated + */ + @Override + public EEnum getQuantifier() { + return quantifierEEnum; + } + + /** + * + * + * @generated + */ + @Override + public SolverLanguageFactory getSolverLanguageFactory() { + return (SolverLanguageFactory)getEFactoryInstance(); + } + + /** + * + * + * @generated + */ + private boolean isCreated = false; + + /** + * Creates the meta-model objects for the package. This method is + * guarded to have no affect on any invocation but its first. + * + * + * @generated + */ + public void createPackageContents() { + if (isCreated) return; + isCreated = true; + + // Create classes and their features + problemEClass = createEClass(PROBLEM); + createEReference(problemEClass, PROBLEM__STATEMENTS); + + statementEClass = createEClass(STATEMENT); + + predicateDefinitionEClass = createEClass(PREDICATE_DEFINITION); + createEReference(predicateDefinitionEClass, PREDICATE_DEFINITION__HEAD); + createEReference(predicateDefinitionEClass, PREDICATE_DEFINITION__BODY); + createEAttribute(predicateDefinitionEClass, PREDICATE_DEFINITION__FUNCTIONAL); + createEAttribute(predicateDefinitionEClass, PREDICATE_DEFINITION__ERROR); + + unnamedErrorPrediateDefinitionEClass = createEClass(UNNAMED_ERROR_PREDIATE_DEFINITION); + createEReference(unnamedErrorPrediateDefinitionEClass, UNNAMED_ERROR_PREDIATE_DEFINITION__ARGUMENT_LIST); + createEReference(unnamedErrorPrediateDefinitionEClass, UNNAMED_ERROR_PREDIATE_DEFINITION__BODY); + + defaultDefinitionEClass = createEClass(DEFAULT_DEFINITION); + createEReference(defaultDefinitionEClass, DEFAULT_DEFINITION__HEAD); + createEReference(defaultDefinitionEClass, DEFAULT_DEFINITION__RANGE); + + metricDefinitionEClass = createEClass(METRIC_DEFINITION); + createEReference(metricDefinitionEClass, METRIC_DEFINITION__HEAD); + createEReference(metricDefinitionEClass, METRIC_DEFINITION__BODY); + createEReference(metricDefinitionEClass, METRIC_DEFINITION__TYPE); + + externPredicateDefinitionEClass = createEClass(EXTERN_PREDICATE_DEFINITION); + createEAttribute(externPredicateDefinitionEClass, EXTERN_PREDICATE_DEFINITION__NAME); + createEReference(externPredicateDefinitionEClass, EXTERN_PREDICATE_DEFINITION__ARGUMENT_LIST); + + externMetricDefinitionEClass = createEClass(EXTERN_METRIC_DEFINITION); + createEReference(externMetricDefinitionEClass, EXTERN_METRIC_DEFINITION__TYPE); + createEAttribute(externMetricDefinitionEClass, EXTERN_METRIC_DEFINITION__NAME); + createEReference(externMetricDefinitionEClass, EXTERN_METRIC_DEFINITION__ARGUMENT_LIST); + + externAggregatorDefinitionEClass = createEClass(EXTERN_AGGREGATOR_DEFINITION); + createEReference(externAggregatorDefinitionEClass, EXTERN_AGGREGATOR_DEFINITION__TYPE); + createEAttribute(externAggregatorDefinitionEClass, EXTERN_AGGREGATOR_DEFINITION__NAME); + createEReference(externAggregatorDefinitionEClass, EXTERN_AGGREGATOR_DEFINITION__INPUT_TYPE); + + externDatatypeDefinitionEClass = createEClass(EXTERN_DATATYPE_DEFINITION); + createEAttribute(externDatatypeDefinitionEClass, EXTERN_DATATYPE_DEFINITION__NAME); + createEReference(externDatatypeDefinitionEClass, EXTERN_DATATYPE_DEFINITION__SUPERTYPES); + + namedElementEClass = createEClass(NAMED_ELEMENT); + createEAttribute(namedElementEClass, NAMED_ELEMENT__NAME); + + expressionEClass = createEClass(EXPRESSION); + + ifElseEClass = createEClass(IF_ELSE); + createEReference(ifElseEClass, IF_ELSE__THEN); + createEReference(ifElseEClass, IF_ELSE__ELSE); + createEReference(ifElseEClass, IF_ELSE__CONDITION); + + letEClass = createEClass(LET); + createEReference(letEClass, LET__BINDINGS); + createEReference(letEClass, LET__BODY); + + letBindingEClass = createEClass(LET_BINDING); + createEReference(letBindingEClass, LET_BINDING__VARIABLE); + createEReference(letBindingEClass, LET_BINDING__VALUE); + + caseEClass = createEClass(CASE); + createEReference(caseEClass, CASE__BODY); + createEReference(caseEClass, CASE__CONDITION); + + localVariablesEClass = createEClass(LOCAL_VARIABLES); + createEReference(localVariablesEClass, LOCAL_VARIABLES__VARIABLES); + + quantifiedExpressionEClass = createEClass(QUANTIFIED_EXPRESSION); + createEReference(quantifiedExpressionEClass, QUANTIFIED_EXPRESSION__LOCAL_VARIABLES); + createEReference(quantifiedExpressionEClass, QUANTIFIED_EXPRESSION__BODY); + createEAttribute(quantifiedExpressionEClass, QUANTIFIED_EXPRESSION__QUANTIFIER); + + aggregationEClass = createEClass(AGGREGATION); + createEReference(aggregationEClass, AGGREGATION__OP); + createEReference(aggregationEClass, AGGREGATION__LOCAL_VARIABLES); + createEReference(aggregationEClass, AGGREGATION__BODY); + createEReference(aggregationEClass, AGGREGATION__CONDITION); + + callEClass = createEClass(CALL); + createEReference(callEClass, CALL__FUNCTOR); + createEAttribute(callEClass, CALL__TRANSITIVE_CLOSURE); + createEAttribute(callEClass, CALL__REFLEXIVE_TRANSITIVE_CLOSURE); + createEReference(callEClass, CALL__ARGUMENT_LIST); + + argumentListEClass = createEClass(ARGUMENT_LIST); + createEReference(argumentListEClass, ARGUMENT_LIST__ARGUMENTS); + + argumentEClass = createEClass(ARGUMENT); + + expressionArgumentEClass = createEClass(EXPRESSION_ARGUMENT); + createEReference(expressionArgumentEClass, EXPRESSION_ARGUMENT__BODY); + + starArgumentEClass = createEClass(STAR_ARGUMENT); + + typedArgumentEClass = createEClass(TYPED_ARGUMENT); + createEReference(typedArgumentEClass, TYPED_ARGUMENT__TYPE); + createEReference(typedArgumentEClass, TYPED_ARGUMENT__VARIABLE); + + typedStarArgumentEClass = createEClass(TYPED_STAR_ARGUMENT); + createEReference(typedStarArgumentEClass, TYPED_STAR_ARGUMENT__TYPE); + + referenceEClass = createEClass(REFERENCE); + createEReference(referenceEClass, REFERENCE__REFERRED); + + intervalEClass = createEClass(INTERVAL); + createEReference(intervalEClass, INTERVAL__LOWER_BOUND); + createEReference(intervalEClass, INTERVAL__UPPER_BOUND); + + literalEClass = createEClass(LITERAL); + + logicLiteralEClass = createEClass(LOGIC_LITERAL); + createEAttribute(logicLiteralEClass, LOGIC_LITERAL__VALUE); + + numericLiteralEClass = createEClass(NUMERIC_LITERAL); + createEAttribute(numericLiteralEClass, NUMERIC_LITERAL__VALUE); + + infinityLiteralEClass = createEClass(INFINITY_LITERAL); + + emptyIntervalLiteralEClass = createEClass(EMPTY_INTERVAL_LITERAL); + + stringLiteralEClass = createEClass(STRING_LITERAL); + createEAttribute(stringLiteralEClass, STRING_LITERAL__VALUE); + + classDefinitionEClass = createEClass(CLASS_DEFINITION); + createEAttribute(classDefinitionEClass, CLASS_DEFINITION__ABSTRACT); + createEAttribute(classDefinitionEClass, CLASS_DEFINITION__NAME); + createEReference(classDefinitionEClass, CLASS_DEFINITION__SUPERCLASSES); + createEReference(classDefinitionEClass, CLASS_DEFINITION__MEMBERS); + + memberDefinitionEClass = createEClass(MEMBER_DEFINITION); + createEAttribute(memberDefinitionEClass, MEMBER_DEFINITION__CONTAINMENT); + createEReference(memberDefinitionEClass, MEMBER_DEFINITION__TYPE); + createEReference(memberDefinitionEClass, MEMBER_DEFINITION__MULTIPLICITY); + createEAttribute(memberDefinitionEClass, MEMBER_DEFINITION__NAME); + createEReference(memberDefinitionEClass, MEMBER_DEFINITION__OPPOSITE); + + multiplicityEClass = createEClass(MULTIPLICITY); + + manyMultiplicityEClass = createEClass(MANY_MULTIPLICITY); + + exactMultiplicityEClass = createEClass(EXACT_MULTIPLICITY); + createEAttribute(exactMultiplicityEClass, EXACT_MULTIPLICITY__MULTIPLICITY); + + boundedMultiplicityEClass = createEClass(BOUNDED_MULTIPLICITY); + createEAttribute(boundedMultiplicityEClass, BOUNDED_MULTIPLICITY__LOWER_BOUND); + createEAttribute(boundedMultiplicityEClass, BOUNDED_MULTIPLICITY__UPPER_BOUND); + + scopeDefinitionEClass = createEClass(SCOPE_DEFINITION); + createEReference(scopeDefinitionEClass, SCOPE_DEFINITION__TYPE); + + exactScopeDefinitionEClass = createEClass(EXACT_SCOPE_DEFINITION); + createEAttribute(exactScopeDefinitionEClass, EXACT_SCOPE_DEFINITION__EXACT_SCOPE); + + boundedScopeDefinitionEClass = createEClass(BOUNDED_SCOPE_DEFINITION); + createEAttribute(boundedScopeDefinitionEClass, BOUNDED_SCOPE_DEFINITION__LOWER_BOUND); + createEAttribute(boundedScopeDefinitionEClass, BOUNDED_SCOPE_DEFINITION__UPPER_BOUND); + + lowerBoundedScopeDefinitionEClass = createEClass(LOWER_BOUNDED_SCOPE_DEFINITION); + createEAttribute(lowerBoundedScopeDefinitionEClass, LOWER_BOUNDED_SCOPE_DEFINITION__LOWER_BOUND); + + objectiveDefinitionEClass = createEClass(OBJECTIVE_DEFINITION); + createEAttribute(objectiveDefinitionEClass, OBJECTIVE_DEFINITION__KIND); + createEReference(objectiveDefinitionEClass, OBJECTIVE_DEFINITION__OBJECTIVE); + + interpretationEClass = createEClass(INTERPRETATION); + createEReference(interpretationEClass, INTERPRETATION__BODY); + createEReference(interpretationEClass, INTERPRETATION__RANGE); + + variableEClass = createEClass(VARIABLE); + createEReference(variableEClass, VARIABLE__TYPE); + + disjunctionEClass = createEClass(DISJUNCTION); + createEReference(disjunctionEClass, DISJUNCTION__CHILDREN); + + switchEClass = createEClass(SWITCH); + createEReference(switchEClass, SWITCH__CASES); + + conjunctionEClass = createEClass(CONJUNCTION); + createEReference(conjunctionEClass, CONJUNCTION__CHILDREN); + + comparisonEClass = createEClass(COMPARISON); + createEReference(comparisonEClass, COMPARISON__LEFT); + createEAttribute(comparisonEClass, COMPARISON__OP); + createEReference(comparisonEClass, COMPARISON__RIGHT); + + binaryExpressionEClass = createEClass(BINARY_EXPRESSION); + createEReference(binaryExpressionEClass, BINARY_EXPRESSION__LEFT); + createEAttribute(binaryExpressionEClass, BINARY_EXPRESSION__OP); + createEReference(binaryExpressionEClass, BINARY_EXPRESSION__RIGHT); + + castExpressionEClass = createEClass(CAST_EXPRESSION); + createEReference(castExpressionEClass, CAST_EXPRESSION__BODY); + createEReference(castExpressionEClass, CAST_EXPRESSION__TYPE); + + unaryExpressionEClass = createEClass(UNARY_EXPRESSION); + createEAttribute(unaryExpressionEClass, UNARY_EXPRESSION__OP); + createEReference(unaryExpressionEClass, UNARY_EXPRESSION__BODY); + + nodeEClass = createEClass(NODE); + createEAttribute(nodeEClass, NODE__WITH_ID); + + functorEClass = createEClass(FUNCTOR); + createEReference(functorEClass, FUNCTOR__PARAMETERS); + + predicateEClass = createEClass(PREDICATE); + + metricEClass = createEClass(METRIC); + createEReference(metricEClass, METRIC__RETURN_TYPE); + + // Create enums + binaryOperatorEEnum = createEEnum(BINARY_OPERATOR); + unaryOpEEnum = createEEnum(UNARY_OP); + logicValueEEnum = createEEnum(LOGIC_VALUE); + objectiveKindEEnum = createEEnum(OBJECTIVE_KIND); + quantifierEEnum = createEEnum(QUANTIFIER); + } + + /** + * + * + * @generated + */ + private boolean isInitialized = false; + + /** + * Complete the initialization of the package and its meta-model. This + * method is guarded to have no affect on any invocation but its first. + * + * + * @generated + */ + public void initializePackageContents() { + if (isInitialized) return; + isInitialized = true; + + // Initialize package + setName(eNAME); + setNsPrefix(eNS_PREFIX); + setNsURI(eNS_URI); + + // Create type parameters + + // Set bounds for type parameters + + // Add supertypes to classes + predicateDefinitionEClass.getESuperTypes().add(this.getStatement()); + unnamedErrorPrediateDefinitionEClass.getESuperTypes().add(this.getStatement()); + defaultDefinitionEClass.getESuperTypes().add(this.getStatement()); + metricDefinitionEClass.getESuperTypes().add(this.getStatement()); + externPredicateDefinitionEClass.getESuperTypes().add(this.getStatement()); + externMetricDefinitionEClass.getESuperTypes().add(this.getStatement()); + externAggregatorDefinitionEClass.getESuperTypes().add(this.getStatement()); + externDatatypeDefinitionEClass.getESuperTypes().add(this.getStatement()); + expressionEClass.getESuperTypes().add(this.getStatement()); + ifElseEClass.getESuperTypes().add(this.getExpression()); + letEClass.getESuperTypes().add(this.getExpression()); + caseEClass.getESuperTypes().add(this.getExpression()); + quantifiedExpressionEClass.getESuperTypes().add(this.getExpression()); + aggregationEClass.getESuperTypes().add(this.getExpression()); + callEClass.getESuperTypes().add(this.getExpression()); + expressionArgumentEClass.getESuperTypes().add(this.getArgument()); + starArgumentEClass.getESuperTypes().add(this.getArgument()); + typedArgumentEClass.getESuperTypes().add(this.getArgument()); + typedStarArgumentEClass.getESuperTypes().add(this.getArgument()); + referenceEClass.getESuperTypes().add(this.getExpression()); + intervalEClass.getESuperTypes().add(this.getExpression()); + literalEClass.getESuperTypes().add(this.getExpression()); + logicLiteralEClass.getESuperTypes().add(this.getLiteral()); + numericLiteralEClass.getESuperTypes().add(this.getLiteral()); + infinityLiteralEClass.getESuperTypes().add(this.getLiteral()); + emptyIntervalLiteralEClass.getESuperTypes().add(this.getLiteral()); + stringLiteralEClass.getESuperTypes().add(this.getLiteral()); + classDefinitionEClass.getESuperTypes().add(this.getStatement()); + manyMultiplicityEClass.getESuperTypes().add(this.getMultiplicity()); + exactMultiplicityEClass.getESuperTypes().add(this.getMultiplicity()); + boundedMultiplicityEClass.getESuperTypes().add(this.getMultiplicity()); + scopeDefinitionEClass.getESuperTypes().add(this.getStatement()); + exactScopeDefinitionEClass.getESuperTypes().add(this.getScopeDefinition()); + boundedScopeDefinitionEClass.getESuperTypes().add(this.getScopeDefinition()); + lowerBoundedScopeDefinitionEClass.getESuperTypes().add(this.getScopeDefinition()); + objectiveDefinitionEClass.getESuperTypes().add(this.getStatement()); + interpretationEClass.getESuperTypes().add(this.getStatement()); + variableEClass.getESuperTypes().add(this.getNamedElement()); + disjunctionEClass.getESuperTypes().add(this.getExpression()); + switchEClass.getESuperTypes().add(this.getExpression()); + conjunctionEClass.getESuperTypes().add(this.getExpression()); + comparisonEClass.getESuperTypes().add(this.getExpression()); + binaryExpressionEClass.getESuperTypes().add(this.getExpression()); + castExpressionEClass.getESuperTypes().add(this.getExpression()); + unaryExpressionEClass.getESuperTypes().add(this.getExpression()); + nodeEClass.getESuperTypes().add(this.getNamedElement()); + functorEClass.getESuperTypes().add(this.getNamedElement()); + predicateEClass.getESuperTypes().add(this.getFunctor()); + metricEClass.getESuperTypes().add(this.getFunctor()); + + // Initialize classes and features; add operations and parameters + initEClass(problemEClass, Problem.class, "Problem", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getProblem_Statements(), this.getStatement(), null, "statements", null, 0, -1, Problem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(statementEClass, Statement.class, "Statement", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(predicateDefinitionEClass, PredicateDefinition.class, "PredicateDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getPredicateDefinition_Head(), this.getExpression(), null, "head", null, 0, 1, PredicateDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getPredicateDefinition_Body(), this.getExpression(), null, "body", null, 0, 1, PredicateDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getPredicateDefinition_Functional(), ecorePackage.getEBoolean(), "functional", null, 0, 1, PredicateDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getPredicateDefinition_Error(), ecorePackage.getEBoolean(), "error", null, 0, 1, PredicateDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(unnamedErrorPrediateDefinitionEClass, UnnamedErrorPrediateDefinition.class, "UnnamedErrorPrediateDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getUnnamedErrorPrediateDefinition_ArgumentList(), this.getArgumentList(), null, "argumentList", null, 0, 1, UnnamedErrorPrediateDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getUnnamedErrorPrediateDefinition_Body(), this.getExpression(), null, "body", null, 0, 1, UnnamedErrorPrediateDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(defaultDefinitionEClass, DefaultDefinition.class, "DefaultDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getDefaultDefinition_Head(), this.getCall(), null, "head", null, 0, 1, DefaultDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getDefaultDefinition_Range(), this.getExpression(), null, "range", null, 0, 1, DefaultDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(metricDefinitionEClass, MetricDefinition.class, "MetricDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getMetricDefinition_Head(), this.getExpression(), null, "head", null, 0, 1, MetricDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getMetricDefinition_Body(), this.getExpression(), null, "body", null, 0, 1, MetricDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getMetricDefinition_Type(), this.getNamedElement(), null, "type", null, 0, 1, MetricDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(externPredicateDefinitionEClass, ExternPredicateDefinition.class, "ExternPredicateDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getExternPredicateDefinition_Name(), ecorePackage.getEString(), "name", null, 0, 1, ExternPredicateDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getExternPredicateDefinition_ArgumentList(), this.getArgumentList(), null, "argumentList", null, 0, 1, ExternPredicateDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(externMetricDefinitionEClass, ExternMetricDefinition.class, "ExternMetricDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getExternMetricDefinition_Type(), this.getNamedElement(), null, "type", null, 0, 1, ExternMetricDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getExternMetricDefinition_Name(), ecorePackage.getEString(), "name", null, 0, 1, ExternMetricDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getExternMetricDefinition_ArgumentList(), this.getArgumentList(), null, "argumentList", null, 0, 1, ExternMetricDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(externAggregatorDefinitionEClass, ExternAggregatorDefinition.class, "ExternAggregatorDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getExternAggregatorDefinition_Type(), this.getNamedElement(), null, "type", null, 0, 1, ExternAggregatorDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getExternAggregatorDefinition_Name(), ecorePackage.getEString(), "name", null, 0, 1, ExternAggregatorDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getExternAggregatorDefinition_InputType(), this.getNamedElement(), null, "inputType", null, 0, 1, ExternAggregatorDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(externDatatypeDefinitionEClass, ExternDatatypeDefinition.class, "ExternDatatypeDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getExternDatatypeDefinition_Name(), ecorePackage.getEString(), "name", null, 0, 1, ExternDatatypeDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getExternDatatypeDefinition_Supertypes(), this.getNamedElement(), null, "supertypes", null, 0, -1, ExternDatatypeDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(namedElementEClass, NamedElement.class, "NamedElement", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getNamedElement_Name(), ecorePackage.getEString(), "name", null, 0, 1, NamedElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(expressionEClass, Expression.class, "Expression", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(ifElseEClass, IfElse.class, "IfElse", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getIfElse_Then(), this.getExpression(), null, "then", null, 0, 1, IfElse.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getIfElse_Else(), this.getExpression(), null, "else", null, 0, 1, IfElse.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getIfElse_Condition(), this.getExpression(), null, "condition", null, 0, 1, IfElse.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(letEClass, Let.class, "Let", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getLet_Bindings(), this.getLetBinding(), null, "bindings", null, 0, -1, Let.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getLet_Body(), this.getExpression(), null, "body", null, 0, 1, Let.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(letBindingEClass, LetBinding.class, "LetBinding", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getLetBinding_Variable(), this.getNamedElement(), null, "variable", null, 0, 1, LetBinding.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getLetBinding_Value(), this.getExpression(), null, "value", null, 0, 1, LetBinding.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(caseEClass, Case.class, "Case", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getCase_Body(), this.getExpression(), null, "body", null, 0, 1, Case.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getCase_Condition(), this.getExpression(), null, "condition", null, 0, 1, Case.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(localVariablesEClass, LocalVariables.class, "LocalVariables", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getLocalVariables_Variables(), this.getNamedElement(), null, "variables", null, 0, -1, LocalVariables.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(quantifiedExpressionEClass, QuantifiedExpression.class, "QuantifiedExpression", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getQuantifiedExpression_LocalVariables(), this.getLocalVariables(), null, "localVariables", null, 0, 1, QuantifiedExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getQuantifiedExpression_Body(), this.getExpression(), null, "body", null, 0, 1, QuantifiedExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getQuantifiedExpression_Quantifier(), this.getQuantifier(), "quantifier", null, 0, 1, QuantifiedExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(aggregationEClass, Aggregation.class, "Aggregation", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getAggregation_Op(), this.getNamedElement(), null, "op", null, 0, 1, Aggregation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getAggregation_LocalVariables(), this.getLocalVariables(), null, "localVariables", null, 0, 1, Aggregation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getAggregation_Body(), this.getExpression(), null, "body", null, 0, 1, Aggregation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getAggregation_Condition(), this.getExpression(), null, "condition", null, 0, 1, Aggregation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(callEClass, Call.class, "Call", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getCall_Functor(), this.getReference(), null, "functor", null, 0, 1, Call.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getCall_TransitiveClosure(), ecorePackage.getEBoolean(), "transitiveClosure", null, 0, 1, Call.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getCall_ReflexiveTransitiveClosure(), ecorePackage.getEBoolean(), "reflexiveTransitiveClosure", null, 0, 1, Call.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getCall_ArgumentList(), this.getArgumentList(), null, "argumentList", null, 0, 1, Call.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(argumentListEClass, ArgumentList.class, "ArgumentList", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getArgumentList_Arguments(), this.getArgument(), null, "arguments", null, 0, -1, ArgumentList.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(argumentEClass, Argument.class, "Argument", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(expressionArgumentEClass, ExpressionArgument.class, "ExpressionArgument", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getExpressionArgument_Body(), this.getExpression(), null, "body", null, 0, 1, ExpressionArgument.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(starArgumentEClass, StarArgument.class, "StarArgument", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(typedArgumentEClass, TypedArgument.class, "TypedArgument", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getTypedArgument_Type(), this.getNamedElement(), null, "type", null, 0, 1, TypedArgument.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getTypedArgument_Variable(), this.getNamedElement(), null, "variable", null, 0, 1, TypedArgument.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(typedStarArgumentEClass, TypedStarArgument.class, "TypedStarArgument", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getTypedStarArgument_Type(), this.getNamedElement(), null, "type", null, 0, 1, TypedStarArgument.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(referenceEClass, Reference.class, "Reference", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getReference_Referred(), this.getNamedElement(), null, "referred", null, 0, 1, Reference.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(intervalEClass, Interval.class, "Interval", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getInterval_LowerBound(), this.getExpression(), null, "lowerBound", null, 0, 1, Interval.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getInterval_UpperBound(), this.getExpression(), null, "upperBound", null, 0, 1, Interval.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(literalEClass, Literal.class, "Literal", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(logicLiteralEClass, LogicLiteral.class, "LogicLiteral", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getLogicLiteral_Value(), this.getLogicValue(), "value", null, 0, 1, LogicLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(numericLiteralEClass, NumericLiteral.class, "NumericLiteral", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getNumericLiteral_Value(), ecorePackage.getEBigDecimal(), "value", null, 0, 1, NumericLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(infinityLiteralEClass, InfinityLiteral.class, "InfinityLiteral", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(emptyIntervalLiteralEClass, EmptyIntervalLiteral.class, "EmptyIntervalLiteral", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(stringLiteralEClass, StringLiteral.class, "StringLiteral", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getStringLiteral_Value(), ecorePackage.getEString(), "value", null, 0, 1, StringLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(classDefinitionEClass, ClassDefinition.class, "ClassDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getClassDefinition_Abstract(), ecorePackage.getEBoolean(), "abstract", null, 0, 1, ClassDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getClassDefinition_Name(), ecorePackage.getEString(), "name", null, 0, 1, ClassDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getClassDefinition_Superclasses(), this.getNamedElement(), null, "superclasses", null, 0, -1, ClassDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getClassDefinition_Members(), this.getMemberDefinition(), null, "members", null, 0, -1, ClassDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(memberDefinitionEClass, MemberDefinition.class, "MemberDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getMemberDefinition_Containment(), ecorePackage.getEBoolean(), "containment", null, 0, 1, MemberDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getMemberDefinition_Type(), this.getNamedElement(), null, "type", null, 0, 1, MemberDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getMemberDefinition_Multiplicity(), this.getMultiplicity(), null, "multiplicity", null, 0, 1, MemberDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getMemberDefinition_Name(), ecorePackage.getEString(), "name", null, 0, 1, MemberDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getMemberDefinition_Opposite(), this.getNamedElement(), null, "opposite", null, 0, 1, MemberDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(multiplicityEClass, Multiplicity.class, "Multiplicity", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(manyMultiplicityEClass, ManyMultiplicity.class, "ManyMultiplicity", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(exactMultiplicityEClass, ExactMultiplicity.class, "ExactMultiplicity", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getExactMultiplicity_Multiplicity(), ecorePackage.getEInt(), "multiplicity", null, 0, 1, ExactMultiplicity.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(boundedMultiplicityEClass, BoundedMultiplicity.class, "BoundedMultiplicity", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getBoundedMultiplicity_LowerBound(), ecorePackage.getEInt(), "lowerBound", null, 0, 1, BoundedMultiplicity.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getBoundedMultiplicity_UpperBound(), ecorePackage.getEInt(), "upperBound", null, 0, 1, BoundedMultiplicity.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(scopeDefinitionEClass, ScopeDefinition.class, "ScopeDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getScopeDefinition_Type(), this.getNamedElement(), null, "type", null, 0, 1, ScopeDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(exactScopeDefinitionEClass, ExactScopeDefinition.class, "ExactScopeDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getExactScopeDefinition_ExactScope(), ecorePackage.getEInt(), "exactScope", null, 0, 1, ExactScopeDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(boundedScopeDefinitionEClass, BoundedScopeDefinition.class, "BoundedScopeDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getBoundedScopeDefinition_LowerBound(), ecorePackage.getEInt(), "lowerBound", null, 0, 1, BoundedScopeDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getBoundedScopeDefinition_UpperBound(), ecorePackage.getEInt(), "upperBound", null, 0, 1, BoundedScopeDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(lowerBoundedScopeDefinitionEClass, LowerBoundedScopeDefinition.class, "LowerBoundedScopeDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getLowerBoundedScopeDefinition_LowerBound(), ecorePackage.getEInt(), "lowerBound", null, 0, 1, LowerBoundedScopeDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(objectiveDefinitionEClass, ObjectiveDefinition.class, "ObjectiveDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getObjectiveDefinition_Kind(), this.getObjectiveKind(), "kind", null, 0, 1, ObjectiveDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getObjectiveDefinition_Objective(), this.getExpression(), null, "objective", null, 0, 1, ObjectiveDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(interpretationEClass, Interpretation.class, "Interpretation", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getInterpretation_Body(), this.getExpression(), null, "body", null, 0, 1, Interpretation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getInterpretation_Range(), this.getExpression(), null, "range", null, 0, 1, Interpretation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(variableEClass, Variable.class, "Variable", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getVariable_Type(), this.getNamedElement(), null, "type", null, 0, 1, Variable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(disjunctionEClass, Disjunction.class, "Disjunction", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getDisjunction_Children(), this.getExpression(), null, "children", null, 0, -1, Disjunction.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(switchEClass, Switch.class, "Switch", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getSwitch_Cases(), this.getCase(), null, "cases", null, 0, -1, Switch.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(conjunctionEClass, Conjunction.class, "Conjunction", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getConjunction_Children(), this.getExpression(), null, "children", null, 0, -1, Conjunction.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(comparisonEClass, Comparison.class, "Comparison", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getComparison_Left(), this.getExpression(), null, "left", null, 0, 1, Comparison.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getComparison_Op(), this.getBinaryOperator(), "op", null, 0, 1, Comparison.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getComparison_Right(), this.getExpression(), null, "right", null, 0, 1, Comparison.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(binaryExpressionEClass, BinaryExpression.class, "BinaryExpression", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getBinaryExpression_Left(), this.getExpression(), null, "left", null, 0, 1, BinaryExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getBinaryExpression_Op(), this.getBinaryOperator(), "op", null, 0, 1, BinaryExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getBinaryExpression_Right(), this.getExpression(), null, "right", null, 0, 1, BinaryExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(castExpressionEClass, CastExpression.class, "CastExpression", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getCastExpression_Body(), this.getExpression(), null, "body", null, 0, 1, CastExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getCastExpression_Type(), this.getNamedElement(), null, "type", null, 0, 1, CastExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(unaryExpressionEClass, UnaryExpression.class, "UnaryExpression", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getUnaryExpression_Op(), this.getUnaryOp(), "op", null, 0, 1, UnaryExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getUnaryExpression_Body(), this.getExpression(), null, "body", null, 0, 1, UnaryExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(nodeEClass, Node.class, "Node", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getNode_WithId(), ecorePackage.getEBoolean(), "withId", null, 0, 1, Node.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(functorEClass, Functor.class, "Functor", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getFunctor_Parameters(), this.getVariable(), null, "parameters", null, 0, -1, Functor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(predicateEClass, Predicate.class, "Predicate", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(metricEClass, Metric.class, "Metric", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getMetric_ReturnType(), this.getNamedElement(), null, "returnType", null, 0, 1, Metric.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + // Initialize enums and add enum literals + initEEnum(binaryOperatorEEnum, BinaryOperator.class, "BinaryOperator"); + addEEnumLiteral(binaryOperatorEEnum, BinaryOperator.EQ); + addEEnumLiteral(binaryOperatorEEnum, BinaryOperator.NOT_EQ); + addEEnumLiteral(binaryOperatorEEnum, BinaryOperator.LESS); + addEEnumLiteral(binaryOperatorEEnum, BinaryOperator.LESS_EQ); + addEEnumLiteral(binaryOperatorEEnum, BinaryOperator.GREATER); + addEEnumLiteral(binaryOperatorEEnum, BinaryOperator.GREATER_EQ); + addEEnumLiteral(binaryOperatorEEnum, BinaryOperator.IN); + addEEnumLiteral(binaryOperatorEEnum, BinaryOperator.ADD); + addEEnumLiteral(binaryOperatorEEnum, BinaryOperator.SUB); + addEEnumLiteral(binaryOperatorEEnum, BinaryOperator.MUL); + addEEnumLiteral(binaryOperatorEEnum, BinaryOperator.DIV); + addEEnumLiteral(binaryOperatorEEnum, BinaryOperator.POW); + addEEnumLiteral(binaryOperatorEEnum, BinaryOperator.IMPLIES); + + initEEnum(unaryOpEEnum, UnaryOp.class, "UnaryOp"); + addEEnumLiteral(unaryOpEEnum, UnaryOp.NEG); + addEEnumLiteral(unaryOpEEnum, UnaryOp.PLUS); + addEEnumLiteral(unaryOpEEnum, UnaryOp.MINUS); + addEEnumLiteral(unaryOpEEnum, UnaryOp.MAY); + addEEnumLiteral(unaryOpEEnum, UnaryOp.MUST); + addEEnumLiteral(unaryOpEEnum, UnaryOp.CURRENT); + + initEEnum(logicValueEEnum, LogicValue.class, "LogicValue"); + addEEnumLiteral(logicValueEEnum, LogicValue.TRUE); + addEEnumLiteral(logicValueEEnum, LogicValue.FALSE); + addEEnumLiteral(logicValueEEnum, LogicValue.UNKNOWN); + addEEnumLiteral(logicValueEEnum, LogicValue.ERROR); + + initEEnum(objectiveKindEEnum, ObjectiveKind.class, "ObjectiveKind"); + addEEnumLiteral(objectiveKindEEnum, ObjectiveKind.MINIMIZE); + addEEnumLiteral(objectiveKindEEnum, ObjectiveKind.MAXIMIZE); + + initEEnum(quantifierEEnum, Quantifier.class, "Quantifier"); + addEEnumLiteral(quantifierEEnum, Quantifier.EXISTS); + addEEnumLiteral(quantifierEEnum, Quantifier.FORALL); + addEEnumLiteral(quantifierEEnum, Quantifier.COUNT); + + // Create resource + createResource(eNS_URI); + } + +} //SolverLanguagePackageImpl diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/StarArgumentImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/StarArgumentImpl.java new file mode 100644 index 00000000..93d3ce7f --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/StarArgumentImpl.java @@ -0,0 +1,38 @@ +/** + * generated by Xtext 2.21.0 + */ +package org.eclipse.viatra.solver.language.solverLanguage.impl; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; +import org.eclipse.viatra.solver.language.solverLanguage.StarArgument; + +/** + * + * An implementation of the model object 'Star Argument'. + * + * + * @generated + */ +public class StarArgumentImpl extends ArgumentImpl implements StarArgument { + /** + * + * + * @generated + */ + protected StarArgumentImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return SolverLanguagePackage.Literals.STAR_ARGUMENT; + } + +} //StarArgumentImpl diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/StatementImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/StatementImpl.java new file mode 100644 index 00000000..bf4d9e6a --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/StatementImpl.java @@ -0,0 +1,40 @@ +/** + * generated by Xtext 2.21.0 + */ +package org.eclipse.viatra.solver.language.solverLanguage.impl; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; +import org.eclipse.viatra.solver.language.solverLanguage.Statement; + +/** + * + * An implementation of the model object 'Statement'. + * + * + * @generated + */ +public class StatementImpl extends MinimalEObjectImpl.Container implements Statement { + /** + * + * + * @generated + */ + protected StatementImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return SolverLanguagePackage.Literals.STATEMENT; + } + +} //StatementImpl diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/StringLiteralImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/StringLiteralImpl.java new file mode 100644 index 00000000..30bef702 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/StringLiteralImpl.java @@ -0,0 +1,165 @@ +/** + * generated by Xtext 2.21.0 + */ +package org.eclipse.viatra.solver.language.solverLanguage.impl; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; +import org.eclipse.viatra.solver.language.solverLanguage.StringLiteral; + +/** + * + * An implementation of the model object 'String Literal'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.StringLiteralImpl#getValue Value}
    • + *
    + * + * @generated + */ +public class StringLiteralImpl extends LiteralImpl implements StringLiteral { + /** + * 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 StringLiteralImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return SolverLanguagePackage.Literals.STRING_LITERAL; + } + + /** + * + * + * @generated + */ + @Override + public String getValue() { + return value; + } + + /** + * + * + * @generated + */ + @Override + public void setValue(String newValue) { + String oldValue = value; + value = newValue; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.STRING_LITERAL__VALUE, oldValue, value)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case SolverLanguagePackage.STRING_LITERAL__VALUE: + return getValue(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case SolverLanguagePackage.STRING_LITERAL__VALUE: + setValue((String)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case SolverLanguagePackage.STRING_LITERAL__VALUE: + setValue(VALUE_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case SolverLanguagePackage.STRING_LITERAL__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(); + + StringBuilder result = new StringBuilder(super.toString()); + result.append(" (value: "); + result.append(value); + result.append(')'); + return result.toString(); + } + +} //StringLiteralImpl diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/SwitchImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/SwitchImpl.java new file mode 100644 index 00000000..23215a72 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/SwitchImpl.java @@ -0,0 +1,152 @@ +/** + * generated by Xtext 2.21.0 + */ +package org.eclipse.viatra.solver.language.solverLanguage.impl; + +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; + +import org.eclipse.viatra.solver.language.solverLanguage.Case; +import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; +import org.eclipse.viatra.solver.language.solverLanguage.Switch; + +/** + * + * An implementation of the model object 'Switch'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.SwitchImpl#getCases Cases}
    • + *
    + * + * @generated + */ +public class SwitchImpl extends ExpressionImpl implements Switch { + /** + * The cached value of the '{@link #getCases() Cases}' containment reference list. + * + * + * @see #getCases() + * @generated + * @ordered + */ + protected EList cases; + + /** + * + * + * @generated + */ + protected SwitchImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return SolverLanguagePackage.Literals.SWITCH; + } + + /** + * + * + * @generated + */ + @Override + public EList getCases() { + if (cases == null) { + cases = new EObjectContainmentEList(Case.class, this, SolverLanguagePackage.SWITCH__CASES); + } + return cases; + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case SolverLanguagePackage.SWITCH__CASES: + return ((InternalEList)getCases()).basicRemove(otherEnd, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case SolverLanguagePackage.SWITCH__CASES: + return getCases(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case SolverLanguagePackage.SWITCH__CASES: + getCases().clear(); + getCases().addAll((Collection)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case SolverLanguagePackage.SWITCH__CASES: + getCases().clear(); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case SolverLanguagePackage.SWITCH__CASES: + return cases != null && !cases.isEmpty(); + } + return super.eIsSet(featureID); + } + +} //SwitchImpl diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/TypedArgumentImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/TypedArgumentImpl.java new file mode 100644 index 00000000..03032f1c --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/TypedArgumentImpl.java @@ -0,0 +1,221 @@ +/** + * generated by Xtext 2.21.0 + */ +package org.eclipse.viatra.solver.language.solverLanguage.impl; + +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.solver.language.solverLanguage.NamedElement; +import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; +import org.eclipse.viatra.solver.language.solverLanguage.TypedArgument; + +/** + * + * An implementation of the model object 'Typed Argument'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.TypedArgumentImpl#getType Type}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.TypedArgumentImpl#getVariable Variable}
    • + *
    + * + * @generated + */ +public class TypedArgumentImpl extends ArgumentImpl implements TypedArgument { + /** + * The cached value of the '{@link #getType() Type}' reference. + * + * + * @see #getType() + * @generated + * @ordered + */ + protected NamedElement type; + + /** + * The cached value of the '{@link #getVariable() Variable}' reference. + * + * + * @see #getVariable() + * @generated + * @ordered + */ + protected NamedElement variable; + + /** + * + * + * @generated + */ + protected TypedArgumentImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return SolverLanguagePackage.Literals.TYPED_ARGUMENT; + } + + /** + * + * + * @generated + */ + @Override + public NamedElement getType() { + if (type != null && type.eIsProxy()) { + InternalEObject oldType = (InternalEObject)type; + type = (NamedElement)eResolveProxy(oldType); + if (type != oldType) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, SolverLanguagePackage.TYPED_ARGUMENT__TYPE, oldType, type)); + } + } + return type; + } + + /** + * + * + * @generated + */ + public NamedElement basicGetType() { + return type; + } + + /** + * + * + * @generated + */ + @Override + public void setType(NamedElement newType) { + NamedElement oldType = type; + type = newType; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.TYPED_ARGUMENT__TYPE, oldType, type)); + } + + /** + * + * + * @generated + */ + @Override + public NamedElement getVariable() { + if (variable != null && variable.eIsProxy()) { + InternalEObject oldVariable = (InternalEObject)variable; + variable = (NamedElement)eResolveProxy(oldVariable); + if (variable != oldVariable) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, SolverLanguagePackage.TYPED_ARGUMENT__VARIABLE, oldVariable, variable)); + } + } + return variable; + } + + /** + * + * + * @generated + */ + public NamedElement basicGetVariable() { + return variable; + } + + /** + * + * + * @generated + */ + @Override + public void setVariable(NamedElement newVariable) { + NamedElement oldVariable = variable; + variable = newVariable; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.TYPED_ARGUMENT__VARIABLE, oldVariable, variable)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case SolverLanguagePackage.TYPED_ARGUMENT__TYPE: + if (resolve) return getType(); + return basicGetType(); + case SolverLanguagePackage.TYPED_ARGUMENT__VARIABLE: + if (resolve) return getVariable(); + return basicGetVariable(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case SolverLanguagePackage.TYPED_ARGUMENT__TYPE: + setType((NamedElement)newValue); + return; + case SolverLanguagePackage.TYPED_ARGUMENT__VARIABLE: + setVariable((NamedElement)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case SolverLanguagePackage.TYPED_ARGUMENT__TYPE: + setType((NamedElement)null); + return; + case SolverLanguagePackage.TYPED_ARGUMENT__VARIABLE: + setVariable((NamedElement)null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case SolverLanguagePackage.TYPED_ARGUMENT__TYPE: + return type != null; + case SolverLanguagePackage.TYPED_ARGUMENT__VARIABLE: + return variable != null; + } + return super.eIsSet(featureID); + } + +} //TypedArgumentImpl diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/TypedStarArgumentImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/TypedStarArgumentImpl.java new file mode 100644 index 00000000..c806b3c2 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/TypedStarArgumentImpl.java @@ -0,0 +1,159 @@ +/** + * generated by Xtext 2.21.0 + */ +package org.eclipse.viatra.solver.language.solverLanguage.impl; + +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.solver.language.solverLanguage.NamedElement; +import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; +import org.eclipse.viatra.solver.language.solverLanguage.TypedStarArgument; + +/** + * + * An implementation of the model object 'Typed Star Argument'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.TypedStarArgumentImpl#getType Type}
    • + *
    + * + * @generated + */ +public class TypedStarArgumentImpl extends ArgumentImpl implements TypedStarArgument { + /** + * The cached value of the '{@link #getType() Type}' reference. + * + * + * @see #getType() + * @generated + * @ordered + */ + protected NamedElement type; + + /** + * + * + * @generated + */ + protected TypedStarArgumentImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return SolverLanguagePackage.Literals.TYPED_STAR_ARGUMENT; + } + + /** + * + * + * @generated + */ + @Override + public NamedElement getType() { + if (type != null && type.eIsProxy()) { + InternalEObject oldType = (InternalEObject)type; + type = (NamedElement)eResolveProxy(oldType); + if (type != oldType) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, SolverLanguagePackage.TYPED_STAR_ARGUMENT__TYPE, oldType, type)); + } + } + return type; + } + + /** + * + * + * @generated + */ + public NamedElement basicGetType() { + return type; + } + + /** + * + * + * @generated + */ + @Override + public void setType(NamedElement newType) { + NamedElement oldType = type; + type = newType; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.TYPED_STAR_ARGUMENT__TYPE, oldType, type)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case SolverLanguagePackage.TYPED_STAR_ARGUMENT__TYPE: + if (resolve) return getType(); + return basicGetType(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case SolverLanguagePackage.TYPED_STAR_ARGUMENT__TYPE: + setType((NamedElement)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case SolverLanguagePackage.TYPED_STAR_ARGUMENT__TYPE: + setType((NamedElement)null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case SolverLanguagePackage.TYPED_STAR_ARGUMENT__TYPE: + return type != null; + } + return super.eIsSet(featureID); + } + +} //TypedStarArgumentImpl diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/UnaryExpressionImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/UnaryExpressionImpl.java new file mode 100644 index 00000000..a3a7b1dc --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/UnaryExpressionImpl.java @@ -0,0 +1,249 @@ +/** + * generated by Xtext 2.21.0 + */ +package org.eclipse.viatra.solver.language.solverLanguage.impl; + +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.viatra.solver.language.solverLanguage.Expression; +import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; +import org.eclipse.viatra.solver.language.solverLanguage.UnaryExpression; +import org.eclipse.viatra.solver.language.solverLanguage.UnaryOp; + +/** + * + * An implementation of the model object 'Unary Expression'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.UnaryExpressionImpl#getOp Op}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.UnaryExpressionImpl#getBody Body}
    • + *
    + * + * @generated + */ +public class UnaryExpressionImpl extends ExpressionImpl implements UnaryExpression { + /** + * The default value of the '{@link #getOp() Op}' attribute. + * + * + * @see #getOp() + * @generated + * @ordered + */ + protected static final UnaryOp OP_EDEFAULT = UnaryOp.NEG; + + /** + * The cached value of the '{@link #getOp() Op}' attribute. + * + * + * @see #getOp() + * @generated + * @ordered + */ + protected UnaryOp op = OP_EDEFAULT; + + /** + * The cached value of the '{@link #getBody() Body}' containment reference. + * + * + * @see #getBody() + * @generated + * @ordered + */ + protected Expression body; + + /** + * + * + * @generated + */ + protected UnaryExpressionImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return SolverLanguagePackage.Literals.UNARY_EXPRESSION; + } + + /** + * + * + * @generated + */ + @Override + public UnaryOp getOp() { + return op; + } + + /** + * + * + * @generated + */ + @Override + public void setOp(UnaryOp newOp) { + UnaryOp oldOp = op; + op = newOp == null ? OP_EDEFAULT : newOp; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.UNARY_EXPRESSION__OP, oldOp, op)); + } + + /** + * + * + * @generated + */ + @Override + public Expression getBody() { + return body; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetBody(Expression newBody, NotificationChain msgs) { + Expression oldBody = body; + body = newBody; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.UNARY_EXPRESSION__BODY, oldBody, newBody); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + @Override + public void setBody(Expression newBody) { + if (newBody != body) { + NotificationChain msgs = null; + if (body != null) + msgs = ((InternalEObject)body).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.UNARY_EXPRESSION__BODY, null, msgs); + if (newBody != null) + msgs = ((InternalEObject)newBody).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.UNARY_EXPRESSION__BODY, null, msgs); + msgs = basicSetBody(newBody, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.UNARY_EXPRESSION__BODY, newBody, newBody)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case SolverLanguagePackage.UNARY_EXPRESSION__BODY: + return basicSetBody(null, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case SolverLanguagePackage.UNARY_EXPRESSION__OP: + return getOp(); + case SolverLanguagePackage.UNARY_EXPRESSION__BODY: + return getBody(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case SolverLanguagePackage.UNARY_EXPRESSION__OP: + setOp((UnaryOp)newValue); + return; + case SolverLanguagePackage.UNARY_EXPRESSION__BODY: + setBody((Expression)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case SolverLanguagePackage.UNARY_EXPRESSION__OP: + setOp(OP_EDEFAULT); + return; + case SolverLanguagePackage.UNARY_EXPRESSION__BODY: + setBody((Expression)null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case SolverLanguagePackage.UNARY_EXPRESSION__OP: + return op != OP_EDEFAULT; + case SolverLanguagePackage.UNARY_EXPRESSION__BODY: + return body != null; + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuilder result = new StringBuilder(super.toString()); + result.append(" (op: "); + result.append(op); + result.append(')'); + return result.toString(); + } + +} //UnaryExpressionImpl diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/UnnamedErrorPrediateDefinitionImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/UnnamedErrorPrediateDefinitionImpl.java new file mode 100644 index 00000000..35450b74 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/UnnamedErrorPrediateDefinitionImpl.java @@ -0,0 +1,247 @@ +/** + * generated by Xtext 2.21.0 + */ +package org.eclipse.viatra.solver.language.solverLanguage.impl; + +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.viatra.solver.language.solverLanguage.ArgumentList; +import org.eclipse.viatra.solver.language.solverLanguage.Expression; +import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; +import org.eclipse.viatra.solver.language.solverLanguage.UnnamedErrorPrediateDefinition; + +/** + * + * An implementation of the model object 'Unnamed Error Prediate Definition'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.UnnamedErrorPrediateDefinitionImpl#getArgumentList Argument List}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.UnnamedErrorPrediateDefinitionImpl#getBody Body}
    • + *
    + * + * @generated + */ +public class UnnamedErrorPrediateDefinitionImpl extends StatementImpl implements UnnamedErrorPrediateDefinition { + /** + * The cached value of the '{@link #getArgumentList() Argument List}' containment reference. + * + * + * @see #getArgumentList() + * @generated + * @ordered + */ + protected ArgumentList argumentList; + + /** + * The cached value of the '{@link #getBody() Body}' containment reference. + * + * + * @see #getBody() + * @generated + * @ordered + */ + protected Expression body; + + /** + * + * + * @generated + */ + protected UnnamedErrorPrediateDefinitionImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return SolverLanguagePackage.Literals.UNNAMED_ERROR_PREDIATE_DEFINITION; + } + + /** + * + * + * @generated + */ + @Override + public ArgumentList getArgumentList() { + return argumentList; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetArgumentList(ArgumentList newArgumentList, NotificationChain msgs) { + ArgumentList oldArgumentList = argumentList; + argumentList = newArgumentList; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.UNNAMED_ERROR_PREDIATE_DEFINITION__ARGUMENT_LIST, oldArgumentList, newArgumentList); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + @Override + public void setArgumentList(ArgumentList newArgumentList) { + if (newArgumentList != argumentList) { + NotificationChain msgs = null; + if (argumentList != null) + msgs = ((InternalEObject)argumentList).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.UNNAMED_ERROR_PREDIATE_DEFINITION__ARGUMENT_LIST, null, msgs); + if (newArgumentList != null) + msgs = ((InternalEObject)newArgumentList).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.UNNAMED_ERROR_PREDIATE_DEFINITION__ARGUMENT_LIST, null, msgs); + msgs = basicSetArgumentList(newArgumentList, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.UNNAMED_ERROR_PREDIATE_DEFINITION__ARGUMENT_LIST, newArgumentList, newArgumentList)); + } + + /** + * + * + * @generated + */ + @Override + public Expression getBody() { + return body; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetBody(Expression newBody, NotificationChain msgs) { + Expression oldBody = body; + body = newBody; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.UNNAMED_ERROR_PREDIATE_DEFINITION__BODY, oldBody, newBody); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + @Override + public void setBody(Expression newBody) { + if (newBody != body) { + NotificationChain msgs = null; + if (body != null) + msgs = ((InternalEObject)body).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.UNNAMED_ERROR_PREDIATE_DEFINITION__BODY, null, msgs); + if (newBody != null) + msgs = ((InternalEObject)newBody).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.UNNAMED_ERROR_PREDIATE_DEFINITION__BODY, null, msgs); + msgs = basicSetBody(newBody, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.UNNAMED_ERROR_PREDIATE_DEFINITION__BODY, newBody, newBody)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case SolverLanguagePackage.UNNAMED_ERROR_PREDIATE_DEFINITION__ARGUMENT_LIST: + return basicSetArgumentList(null, msgs); + case SolverLanguagePackage.UNNAMED_ERROR_PREDIATE_DEFINITION__BODY: + return basicSetBody(null, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case SolverLanguagePackage.UNNAMED_ERROR_PREDIATE_DEFINITION__ARGUMENT_LIST: + return getArgumentList(); + case SolverLanguagePackage.UNNAMED_ERROR_PREDIATE_DEFINITION__BODY: + return getBody(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case SolverLanguagePackage.UNNAMED_ERROR_PREDIATE_DEFINITION__ARGUMENT_LIST: + setArgumentList((ArgumentList)newValue); + return; + case SolverLanguagePackage.UNNAMED_ERROR_PREDIATE_DEFINITION__BODY: + setBody((Expression)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case SolverLanguagePackage.UNNAMED_ERROR_PREDIATE_DEFINITION__ARGUMENT_LIST: + setArgumentList((ArgumentList)null); + return; + case SolverLanguagePackage.UNNAMED_ERROR_PREDIATE_DEFINITION__BODY: + setBody((Expression)null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case SolverLanguagePackage.UNNAMED_ERROR_PREDIATE_DEFINITION__ARGUMENT_LIST: + return argumentList != null; + case SolverLanguagePackage.UNNAMED_ERROR_PREDIATE_DEFINITION__BODY: + return body != null; + } + return super.eIsSet(featureID); + } + +} //UnnamedErrorPrediateDefinitionImpl diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/VariableImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/VariableImpl.java new file mode 100644 index 00000000..1762d35c --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/VariableImpl.java @@ -0,0 +1,159 @@ +/** + * generated by Xtext 2.21.0 + */ +package org.eclipse.viatra.solver.language.solverLanguage.impl; + +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.solver.language.solverLanguage.NamedElement; +import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; +import org.eclipse.viatra.solver.language.solverLanguage.Variable; + +/** + * + * An implementation of the model object 'Variable'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.VariableImpl#getType Type}
    • + *
    + * + * @generated + */ +public class VariableImpl extends NamedElementImpl implements Variable { + /** + * The cached value of the '{@link #getType() Type}' reference. + * + * + * @see #getType() + * @generated + * @ordered + */ + protected NamedElement type; + + /** + * + * + * @generated + */ + protected VariableImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return SolverLanguagePackage.Literals.VARIABLE; + } + + /** + * + * + * @generated + */ + @Override + public NamedElement getType() { + if (type != null && type.eIsProxy()) { + InternalEObject oldType = (InternalEObject)type; + type = (NamedElement)eResolveProxy(oldType); + if (type != oldType) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, SolverLanguagePackage.VARIABLE__TYPE, oldType, type)); + } + } + return type; + } + + /** + * + * + * @generated + */ + public NamedElement basicGetType() { + return type; + } + + /** + * + * + * @generated + */ + @Override + public void setType(NamedElement newType) { + NamedElement oldType = type; + type = newType; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.VARIABLE__TYPE, oldType, type)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case SolverLanguagePackage.VARIABLE__TYPE: + if (resolve) return getType(); + return basicGetType(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case SolverLanguagePackage.VARIABLE__TYPE: + setType((NamedElement)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case SolverLanguagePackage.VARIABLE__TYPE: + setType((NamedElement)null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case SolverLanguagePackage.VARIABLE__TYPE: + return type != null; + } + return super.eIsSet(featureID); + } + +} //VariableImpl diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/util/SolverLanguageAdapterFactory.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/util/SolverLanguageAdapterFactory.java new file mode 100644 index 00000000..23971e9d --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/util/SolverLanguageAdapterFactory.java @@ -0,0 +1,1147 @@ +/** + * generated by Xtext 2.21.0 + */ +package org.eclipse.viatra.solver.language.solverLanguage.util; + +import org.eclipse.emf.common.notify.Adapter; +import org.eclipse.emf.common.notify.Notifier; + +import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl; + +import org.eclipse.emf.ecore.EObject; + +import org.eclipse.viatra.solver.language.solverLanguage.*; + +/** + * + * The Adapter Factory for the model. + * It provides an adapter createXXX method for each class of the model. + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage + * @generated + */ +public class SolverLanguageAdapterFactory extends AdapterFactoryImpl { + /** + * The cached model package. + * + * + * @generated + */ + protected static SolverLanguagePackage modelPackage; + + /** + * Creates an instance of the adapter factory. + * + * + * @generated + */ + public SolverLanguageAdapterFactory() { + if (modelPackage == null) { + modelPackage = SolverLanguagePackage.eINSTANCE; + } + } + + /** + * Returns whether this factory is applicable for the type of the object. + * + * This implementation returns true if the object is either the model's package or is an instance object of the model. + * + * @return whether this factory is applicable for the type of the object. + * @generated + */ + @Override + public boolean isFactoryForType(Object object) { + if (object == modelPackage) { + return true; + } + if (object instanceof EObject) { + return ((EObject)object).eClass().getEPackage() == modelPackage; + } + return false; + } + + /** + * The switch that delegates to the createXXX methods. + * + * + * @generated + */ + protected SolverLanguageSwitch modelSwitch = + new SolverLanguageSwitch() { + @Override + public Adapter caseProblem(Problem object) { + return createProblemAdapter(); + } + @Override + public Adapter caseStatement(Statement object) { + return createStatementAdapter(); + } + @Override + public Adapter casePredicateDefinition(PredicateDefinition object) { + return createPredicateDefinitionAdapter(); + } + @Override + public Adapter caseUnnamedErrorPrediateDefinition(UnnamedErrorPrediateDefinition object) { + return createUnnamedErrorPrediateDefinitionAdapter(); + } + @Override + public Adapter caseDefaultDefinition(DefaultDefinition object) { + return createDefaultDefinitionAdapter(); + } + @Override + public Adapter caseMetricDefinition(MetricDefinition object) { + return createMetricDefinitionAdapter(); + } + @Override + public Adapter caseExternPredicateDefinition(ExternPredicateDefinition object) { + return createExternPredicateDefinitionAdapter(); + } + @Override + public Adapter caseExternMetricDefinition(ExternMetricDefinition object) { + return createExternMetricDefinitionAdapter(); + } + @Override + public Adapter caseExternAggregatorDefinition(ExternAggregatorDefinition object) { + return createExternAggregatorDefinitionAdapter(); + } + @Override + public Adapter caseExternDatatypeDefinition(ExternDatatypeDefinition object) { + return createExternDatatypeDefinitionAdapter(); + } + @Override + public Adapter caseNamedElement(NamedElement object) { + return createNamedElementAdapter(); + } + @Override + public Adapter caseExpression(Expression object) { + return createExpressionAdapter(); + } + @Override + public Adapter caseIfElse(IfElse object) { + return createIfElseAdapter(); + } + @Override + public Adapter caseLet(Let object) { + return createLetAdapter(); + } + @Override + public Adapter caseLetBinding(LetBinding object) { + return createLetBindingAdapter(); + } + @Override + public Adapter caseCase(Case object) { + return createCaseAdapter(); + } + @Override + public Adapter caseLocalVariables(LocalVariables object) { + return createLocalVariablesAdapter(); + } + @Override + public Adapter caseQuantifiedExpression(QuantifiedExpression object) { + return createQuantifiedExpressionAdapter(); + } + @Override + public Adapter caseAggregation(Aggregation object) { + return createAggregationAdapter(); + } + @Override + public Adapter caseCall(Call object) { + return createCallAdapter(); + } + @Override + public Adapter caseArgumentList(ArgumentList object) { + return createArgumentListAdapter(); + } + @Override + public Adapter caseArgument(Argument object) { + return createArgumentAdapter(); + } + @Override + public Adapter caseExpressionArgument(ExpressionArgument object) { + return createExpressionArgumentAdapter(); + } + @Override + public Adapter caseStarArgument(StarArgument object) { + return createStarArgumentAdapter(); + } + @Override + public Adapter caseTypedArgument(TypedArgument object) { + return createTypedArgumentAdapter(); + } + @Override + public Adapter caseTypedStarArgument(TypedStarArgument object) { + return createTypedStarArgumentAdapter(); + } + @Override + public Adapter caseReference(Reference object) { + return createReferenceAdapter(); + } + @Override + public Adapter caseInterval(Interval object) { + return createIntervalAdapter(); + } + @Override + public Adapter caseLiteral(Literal object) { + return createLiteralAdapter(); + } + @Override + public Adapter caseLogicLiteral(LogicLiteral object) { + return createLogicLiteralAdapter(); + } + @Override + public Adapter caseNumericLiteral(NumericLiteral object) { + return createNumericLiteralAdapter(); + } + @Override + public Adapter caseInfinityLiteral(InfinityLiteral object) { + return createInfinityLiteralAdapter(); + } + @Override + public Adapter caseEmptyIntervalLiteral(EmptyIntervalLiteral object) { + return createEmptyIntervalLiteralAdapter(); + } + @Override + public Adapter caseStringLiteral(StringLiteral object) { + return createStringLiteralAdapter(); + } + @Override + public Adapter caseClassDefinition(ClassDefinition object) { + return createClassDefinitionAdapter(); + } + @Override + public Adapter caseMemberDefinition(MemberDefinition object) { + return createMemberDefinitionAdapter(); + } + @Override + public Adapter caseMultiplicity(Multiplicity object) { + return createMultiplicityAdapter(); + } + @Override + public Adapter caseManyMultiplicity(ManyMultiplicity object) { + return createManyMultiplicityAdapter(); + } + @Override + public Adapter caseExactMultiplicity(ExactMultiplicity object) { + return createExactMultiplicityAdapter(); + } + @Override + public Adapter caseBoundedMultiplicity(BoundedMultiplicity object) { + return createBoundedMultiplicityAdapter(); + } + @Override + public Adapter caseScopeDefinition(ScopeDefinition object) { + return createScopeDefinitionAdapter(); + } + @Override + public Adapter caseExactScopeDefinition(ExactScopeDefinition object) { + return createExactScopeDefinitionAdapter(); + } + @Override + public Adapter caseBoundedScopeDefinition(BoundedScopeDefinition object) { + return createBoundedScopeDefinitionAdapter(); + } + @Override + public Adapter caseLowerBoundedScopeDefinition(LowerBoundedScopeDefinition object) { + return createLowerBoundedScopeDefinitionAdapter(); + } + @Override + public Adapter caseObjectiveDefinition(ObjectiveDefinition object) { + return createObjectiveDefinitionAdapter(); + } + @Override + public Adapter caseInterpretation(Interpretation object) { + return createInterpretationAdapter(); + } + @Override + public Adapter caseVariable(Variable object) { + return createVariableAdapter(); + } + @Override + public Adapter caseDisjunction(Disjunction object) { + return createDisjunctionAdapter(); + } + @Override + public Adapter caseSwitch(Switch object) { + return createSwitchAdapter(); + } + @Override + public Adapter caseConjunction(Conjunction object) { + return createConjunctionAdapter(); + } + @Override + public Adapter caseComparison(Comparison object) { + return createComparisonAdapter(); + } + @Override + public Adapter caseBinaryExpression(BinaryExpression object) { + return createBinaryExpressionAdapter(); + } + @Override + public Adapter caseCastExpression(CastExpression object) { + return createCastExpressionAdapter(); + } + @Override + public Adapter caseUnaryExpression(UnaryExpression object) { + return createUnaryExpressionAdapter(); + } + @Override + public Adapter caseNode(Node object) { + return createNodeAdapter(); + } + @Override + public Adapter caseFunctor(Functor object) { + return createFunctorAdapter(); + } + @Override + public Adapter casePredicate(Predicate object) { + return createPredicateAdapter(); + } + @Override + public Adapter caseMetric(Metric object) { + return createMetricAdapter(); + } + @Override + public Adapter defaultCase(EObject object) { + return createEObjectAdapter(); + } + }; + + /** + * Creates an adapter for the target. + * + * + * @param target the object to adapt. + * @return the adapter for the target. + * @generated + */ + @Override + public Adapter createAdapter(Notifier target) { + return modelSwitch.doSwitch((EObject)target); + } + + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.Problem Problem}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.viatra.solver.language.solverLanguage.Problem + * @generated + */ + public Adapter createProblemAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.Statement Statement}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.viatra.solver.language.solverLanguage.Statement + * @generated + */ + public Adapter createStatementAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.PredicateDefinition Predicate Definition}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.viatra.solver.language.solverLanguage.PredicateDefinition + * @generated + */ + public Adapter createPredicateDefinitionAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.UnnamedErrorPrediateDefinition Unnamed Error Prediate Definition}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.viatra.solver.language.solverLanguage.UnnamedErrorPrediateDefinition + * @generated + */ + public Adapter createUnnamedErrorPrediateDefinitionAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.DefaultDefinition Default Definition}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.viatra.solver.language.solverLanguage.DefaultDefinition + * @generated + */ + public Adapter createDefaultDefinitionAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.MetricDefinition Metric Definition}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.viatra.solver.language.solverLanguage.MetricDefinition + * @generated + */ + public Adapter createMetricDefinitionAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.ExternPredicateDefinition Extern Predicate Definition}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.viatra.solver.language.solverLanguage.ExternPredicateDefinition + * @generated + */ + public Adapter createExternPredicateDefinitionAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.ExternMetricDefinition Extern Metric Definition}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.viatra.solver.language.solverLanguage.ExternMetricDefinition + * @generated + */ + public Adapter createExternMetricDefinitionAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.ExternAggregatorDefinition Extern Aggregator Definition}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.viatra.solver.language.solverLanguage.ExternAggregatorDefinition + * @generated + */ + public Adapter createExternAggregatorDefinitionAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.ExternDatatypeDefinition Extern Datatype Definition}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.viatra.solver.language.solverLanguage.ExternDatatypeDefinition + * @generated + */ + public Adapter createExternDatatypeDefinitionAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.NamedElement Named Element}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.viatra.solver.language.solverLanguage.NamedElement + * @generated + */ + public Adapter createNamedElementAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.Expression Expression}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.viatra.solver.language.solverLanguage.Expression + * @generated + */ + public Adapter createExpressionAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.IfElse If Else}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.viatra.solver.language.solverLanguage.IfElse + * @generated + */ + public Adapter createIfElseAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.Let Let}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.viatra.solver.language.solverLanguage.Let + * @generated + */ + public Adapter createLetAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.LetBinding Let Binding}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.viatra.solver.language.solverLanguage.LetBinding + * @generated + */ + public Adapter createLetBindingAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.Case Case}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.viatra.solver.language.solverLanguage.Case + * @generated + */ + public Adapter createCaseAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.LocalVariables Local Variables}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.viatra.solver.language.solverLanguage.LocalVariables + * @generated + */ + public Adapter createLocalVariablesAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.QuantifiedExpression Quantified Expression}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.viatra.solver.language.solverLanguage.QuantifiedExpression + * @generated + */ + public Adapter createQuantifiedExpressionAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.Aggregation Aggregation}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.viatra.solver.language.solverLanguage.Aggregation + * @generated + */ + public Adapter createAggregationAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.Call Call}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.viatra.solver.language.solverLanguage.Call + * @generated + */ + public Adapter createCallAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.ArgumentList Argument List}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.viatra.solver.language.solverLanguage.ArgumentList + * @generated + */ + public Adapter createArgumentListAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.Argument Argument}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.viatra.solver.language.solverLanguage.Argument + * @generated + */ + public Adapter createArgumentAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.ExpressionArgument Expression Argument}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.viatra.solver.language.solverLanguage.ExpressionArgument + * @generated + */ + public Adapter createExpressionArgumentAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.StarArgument Star Argument}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.viatra.solver.language.solverLanguage.StarArgument + * @generated + */ + public Adapter createStarArgumentAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.TypedArgument Typed Argument}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.viatra.solver.language.solverLanguage.TypedArgument + * @generated + */ + public Adapter createTypedArgumentAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.TypedStarArgument Typed Star Argument}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.viatra.solver.language.solverLanguage.TypedStarArgument + * @generated + */ + public Adapter createTypedStarArgumentAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.Reference Reference}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.viatra.solver.language.solverLanguage.Reference + * @generated + */ + public Adapter createReferenceAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.Interval Interval}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.viatra.solver.language.solverLanguage.Interval + * @generated + */ + public Adapter createIntervalAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.Literal Literal}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.viatra.solver.language.solverLanguage.Literal + * @generated + */ + public Adapter createLiteralAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.LogicLiteral Logic Literal}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.viatra.solver.language.solverLanguage.LogicLiteral + * @generated + */ + public Adapter createLogicLiteralAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.NumericLiteral Numeric Literal}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.viatra.solver.language.solverLanguage.NumericLiteral + * @generated + */ + public Adapter createNumericLiteralAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.InfinityLiteral Infinity Literal}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.viatra.solver.language.solverLanguage.InfinityLiteral + * @generated + */ + public Adapter createInfinityLiteralAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.EmptyIntervalLiteral Empty Interval Literal}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.viatra.solver.language.solverLanguage.EmptyIntervalLiteral + * @generated + */ + public Adapter createEmptyIntervalLiteralAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.StringLiteral String Literal}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.viatra.solver.language.solverLanguage.StringLiteral + * @generated + */ + public Adapter createStringLiteralAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.ClassDefinition Class Definition}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.viatra.solver.language.solverLanguage.ClassDefinition + * @generated + */ + public Adapter createClassDefinitionAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.MemberDefinition Member Definition}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.viatra.solver.language.solverLanguage.MemberDefinition + * @generated + */ + public Adapter createMemberDefinitionAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.Multiplicity Multiplicity}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.viatra.solver.language.solverLanguage.Multiplicity + * @generated + */ + public Adapter createMultiplicityAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.ManyMultiplicity Many Multiplicity}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.viatra.solver.language.solverLanguage.ManyMultiplicity + * @generated + */ + public Adapter createManyMultiplicityAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.ExactMultiplicity Exact Multiplicity}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.viatra.solver.language.solverLanguage.ExactMultiplicity + * @generated + */ + public Adapter createExactMultiplicityAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.BoundedMultiplicity Bounded Multiplicity}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.viatra.solver.language.solverLanguage.BoundedMultiplicity + * @generated + */ + public Adapter createBoundedMultiplicityAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.ScopeDefinition Scope Definition}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.viatra.solver.language.solverLanguage.ScopeDefinition + * @generated + */ + public Adapter createScopeDefinitionAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.ExactScopeDefinition Exact Scope Definition}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.viatra.solver.language.solverLanguage.ExactScopeDefinition + * @generated + */ + public Adapter createExactScopeDefinitionAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.BoundedScopeDefinition Bounded Scope Definition}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.viatra.solver.language.solverLanguage.BoundedScopeDefinition + * @generated + */ + public Adapter createBoundedScopeDefinitionAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.LowerBoundedScopeDefinition Lower Bounded Scope Definition}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.viatra.solver.language.solverLanguage.LowerBoundedScopeDefinition + * @generated + */ + public Adapter createLowerBoundedScopeDefinitionAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.ObjectiveDefinition Objective Definition}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.viatra.solver.language.solverLanguage.ObjectiveDefinition + * @generated + */ + public Adapter createObjectiveDefinitionAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.Interpretation Interpretation}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.viatra.solver.language.solverLanguage.Interpretation + * @generated + */ + public Adapter createInterpretationAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.Variable Variable}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.viatra.solver.language.solverLanguage.Variable + * @generated + */ + public Adapter createVariableAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.Disjunction Disjunction}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.viatra.solver.language.solverLanguage.Disjunction + * @generated + */ + public Adapter createDisjunctionAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.Switch Switch}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.viatra.solver.language.solverLanguage.Switch + * @generated + */ + public Adapter createSwitchAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.Conjunction Conjunction}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.viatra.solver.language.solverLanguage.Conjunction + * @generated + */ + public Adapter createConjunctionAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.Comparison Comparison}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.viatra.solver.language.solverLanguage.Comparison + * @generated + */ + public Adapter createComparisonAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.BinaryExpression Binary Expression}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.viatra.solver.language.solverLanguage.BinaryExpression + * @generated + */ + public Adapter createBinaryExpressionAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.CastExpression Cast Expression}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.viatra.solver.language.solverLanguage.CastExpression + * @generated + */ + public Adapter createCastExpressionAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.UnaryExpression Unary Expression}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.viatra.solver.language.solverLanguage.UnaryExpression + * @generated + */ + public Adapter createUnaryExpressionAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.Node Node}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.viatra.solver.language.solverLanguage.Node + * @generated + */ + public Adapter createNodeAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.Functor Functor}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.viatra.solver.language.solverLanguage.Functor + * @generated + */ + public Adapter createFunctorAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.Predicate Predicate}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.viatra.solver.language.solverLanguage.Predicate + * @generated + */ + public Adapter createPredicateAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.Metric Metric}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.viatra.solver.language.solverLanguage.Metric + * @generated + */ + public Adapter createMetricAdapter() { + return null; + } + + /** + * Creates a new adapter for the default case. + * + * This default implementation returns null. + * + * @return the new adapter. + * @generated + */ + public Adapter createEObjectAdapter() { + return null; + } + +} //SolverLanguageAdapterFactory diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/util/SolverLanguageSwitch.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/util/SolverLanguageSwitch.java new file mode 100644 index 00000000..4e5929e6 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/util/SolverLanguageSwitch.java @@ -0,0 +1,1388 @@ +/** + * generated by Xtext 2.21.0 + */ +package org.eclipse.viatra.solver.language.solverLanguage.util; + +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.EPackage; + +import org.eclipse.emf.ecore.util.Switch; + +import org.eclipse.viatra.solver.language.solverLanguage.*; + +/** + * + * The Switch for the model's inheritance hierarchy. + * It supports the call {@link #doSwitch(EObject) doSwitch(object)} + * to invoke the caseXXX method for each class of the model, + * starting with the actual class of the object + * and proceeding up the inheritance hierarchy + * until a non-null result is returned, + * which is the result of the switch. + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage + * @generated + */ +public class SolverLanguageSwitch extends Switch { + /** + * The cached model package + * + * + * @generated + */ + protected static SolverLanguagePackage modelPackage; + + /** + * Creates an instance of the switch. + * + * + * @generated + */ + public SolverLanguageSwitch() { + if (modelPackage == null) { + modelPackage = SolverLanguagePackage.eINSTANCE; + } + } + + /** + * Checks whether this is a switch for the given package. + * + * + * @param ePackage the package in question. + * @return whether this is a switch for the given package. + * @generated + */ + @Override + protected boolean isSwitchFor(EPackage ePackage) { + return ePackage == modelPackage; + } + + /** + * Calls caseXXX for each class of the model until one returns a non null result; it yields that result. + * + * + * @return the first non-null result returned by a caseXXX call. + * @generated + */ + @Override + protected T doSwitch(int classifierID, EObject theEObject) { + switch (classifierID) { + case SolverLanguagePackage.PROBLEM: { + Problem problem = (Problem)theEObject; + T result = caseProblem(problem); + if (result == null) result = defaultCase(theEObject); + return result; + } + case SolverLanguagePackage.STATEMENT: { + Statement statement = (Statement)theEObject; + T result = caseStatement(statement); + if (result == null) result = defaultCase(theEObject); + return result; + } + case SolverLanguagePackage.PREDICATE_DEFINITION: { + PredicateDefinition predicateDefinition = (PredicateDefinition)theEObject; + T result = casePredicateDefinition(predicateDefinition); + if (result == null) result = caseStatement(predicateDefinition); + if (result == null) result = defaultCase(theEObject); + return result; + } + case SolverLanguagePackage.UNNAMED_ERROR_PREDIATE_DEFINITION: { + UnnamedErrorPrediateDefinition unnamedErrorPrediateDefinition = (UnnamedErrorPrediateDefinition)theEObject; + T result = caseUnnamedErrorPrediateDefinition(unnamedErrorPrediateDefinition); + if (result == null) result = caseStatement(unnamedErrorPrediateDefinition); + if (result == null) result = defaultCase(theEObject); + return result; + } + case SolverLanguagePackage.DEFAULT_DEFINITION: { + DefaultDefinition defaultDefinition = (DefaultDefinition)theEObject; + T result = caseDefaultDefinition(defaultDefinition); + if (result == null) result = caseStatement(defaultDefinition); + if (result == null) result = defaultCase(theEObject); + return result; + } + case SolverLanguagePackage.METRIC_DEFINITION: { + MetricDefinition metricDefinition = (MetricDefinition)theEObject; + T result = caseMetricDefinition(metricDefinition); + if (result == null) result = caseStatement(metricDefinition); + if (result == null) result = defaultCase(theEObject); + return result; + } + case SolverLanguagePackage.EXTERN_PREDICATE_DEFINITION: { + ExternPredicateDefinition externPredicateDefinition = (ExternPredicateDefinition)theEObject; + T result = caseExternPredicateDefinition(externPredicateDefinition); + if (result == null) result = caseStatement(externPredicateDefinition); + if (result == null) result = defaultCase(theEObject); + return result; + } + case SolverLanguagePackage.EXTERN_METRIC_DEFINITION: { + ExternMetricDefinition externMetricDefinition = (ExternMetricDefinition)theEObject; + T result = caseExternMetricDefinition(externMetricDefinition); + if (result == null) result = caseStatement(externMetricDefinition); + if (result == null) result = defaultCase(theEObject); + return result; + } + case SolverLanguagePackage.EXTERN_AGGREGATOR_DEFINITION: { + ExternAggregatorDefinition externAggregatorDefinition = (ExternAggregatorDefinition)theEObject; + T result = caseExternAggregatorDefinition(externAggregatorDefinition); + if (result == null) result = caseStatement(externAggregatorDefinition); + if (result == null) result = defaultCase(theEObject); + return result; + } + case SolverLanguagePackage.EXTERN_DATATYPE_DEFINITION: { + ExternDatatypeDefinition externDatatypeDefinition = (ExternDatatypeDefinition)theEObject; + T result = caseExternDatatypeDefinition(externDatatypeDefinition); + if (result == null) result = caseStatement(externDatatypeDefinition); + if (result == null) result = defaultCase(theEObject); + return result; + } + case SolverLanguagePackage.NAMED_ELEMENT: { + NamedElement namedElement = (NamedElement)theEObject; + T result = caseNamedElement(namedElement); + if (result == null) result = defaultCase(theEObject); + return result; + } + case SolverLanguagePackage.EXPRESSION: { + Expression expression = (Expression)theEObject; + T result = caseExpression(expression); + if (result == null) result = caseStatement(expression); + if (result == null) result = defaultCase(theEObject); + return result; + } + case SolverLanguagePackage.IF_ELSE: { + IfElse ifElse = (IfElse)theEObject; + T result = caseIfElse(ifElse); + if (result == null) result = caseExpression(ifElse); + if (result == null) result = caseStatement(ifElse); + if (result == null) result = defaultCase(theEObject); + return result; + } + case SolverLanguagePackage.LET: { + Let let = (Let)theEObject; + T result = caseLet(let); + if (result == null) result = caseExpression(let); + if (result == null) result = caseStatement(let); + if (result == null) result = defaultCase(theEObject); + return result; + } + case SolverLanguagePackage.LET_BINDING: { + LetBinding letBinding = (LetBinding)theEObject; + T result = caseLetBinding(letBinding); + if (result == null) result = defaultCase(theEObject); + return result; + } + case SolverLanguagePackage.CASE: { + Case case_ = (Case)theEObject; + T result = caseCase(case_); + if (result == null) result = caseExpression(case_); + if (result == null) result = caseStatement(case_); + if (result == null) result = defaultCase(theEObject); + return result; + } + case SolverLanguagePackage.LOCAL_VARIABLES: { + LocalVariables localVariables = (LocalVariables)theEObject; + T result = caseLocalVariables(localVariables); + if (result == null) result = defaultCase(theEObject); + return result; + } + case SolverLanguagePackage.QUANTIFIED_EXPRESSION: { + QuantifiedExpression quantifiedExpression = (QuantifiedExpression)theEObject; + T result = caseQuantifiedExpression(quantifiedExpression); + if (result == null) result = caseExpression(quantifiedExpression); + if (result == null) result = caseStatement(quantifiedExpression); + if (result == null) result = defaultCase(theEObject); + return result; + } + case SolverLanguagePackage.AGGREGATION: { + Aggregation aggregation = (Aggregation)theEObject; + T result = caseAggregation(aggregation); + if (result == null) result = caseExpression(aggregation); + if (result == null) result = caseStatement(aggregation); + if (result == null) result = defaultCase(theEObject); + return result; + } + case SolverLanguagePackage.CALL: { + Call call = (Call)theEObject; + T result = caseCall(call); + if (result == null) result = caseExpression(call); + if (result == null) result = caseStatement(call); + if (result == null) result = defaultCase(theEObject); + return result; + } + case SolverLanguagePackage.ARGUMENT_LIST: { + ArgumentList argumentList = (ArgumentList)theEObject; + T result = caseArgumentList(argumentList); + if (result == null) result = defaultCase(theEObject); + return result; + } + case SolverLanguagePackage.ARGUMENT: { + Argument argument = (Argument)theEObject; + T result = caseArgument(argument); + if (result == null) result = defaultCase(theEObject); + return result; + } + case SolverLanguagePackage.EXPRESSION_ARGUMENT: { + ExpressionArgument expressionArgument = (ExpressionArgument)theEObject; + T result = caseExpressionArgument(expressionArgument); + if (result == null) result = caseArgument(expressionArgument); + if (result == null) result = defaultCase(theEObject); + return result; + } + case SolverLanguagePackage.STAR_ARGUMENT: { + StarArgument starArgument = (StarArgument)theEObject; + T result = caseStarArgument(starArgument); + if (result == null) result = caseArgument(starArgument); + if (result == null) result = defaultCase(theEObject); + return result; + } + case SolverLanguagePackage.TYPED_ARGUMENT: { + TypedArgument typedArgument = (TypedArgument)theEObject; + T result = caseTypedArgument(typedArgument); + if (result == null) result = caseArgument(typedArgument); + if (result == null) result = defaultCase(theEObject); + return result; + } + case SolverLanguagePackage.TYPED_STAR_ARGUMENT: { + TypedStarArgument typedStarArgument = (TypedStarArgument)theEObject; + T result = caseTypedStarArgument(typedStarArgument); + if (result == null) result = caseArgument(typedStarArgument); + if (result == null) result = defaultCase(theEObject); + return result; + } + case SolverLanguagePackage.REFERENCE: { + Reference reference = (Reference)theEObject; + T result = caseReference(reference); + if (result == null) result = caseExpression(reference); + if (result == null) result = caseStatement(reference); + if (result == null) result = defaultCase(theEObject); + return result; + } + case SolverLanguagePackage.INTERVAL: { + Interval interval = (Interval)theEObject; + T result = caseInterval(interval); + if (result == null) result = caseExpression(interval); + if (result == null) result = caseStatement(interval); + if (result == null) result = defaultCase(theEObject); + return result; + } + case SolverLanguagePackage.LITERAL: { + Literal literal = (Literal)theEObject; + T result = caseLiteral(literal); + if (result == null) result = caseExpression(literal); + if (result == null) result = caseStatement(literal); + if (result == null) result = defaultCase(theEObject); + return result; + } + case SolverLanguagePackage.LOGIC_LITERAL: { + LogicLiteral logicLiteral = (LogicLiteral)theEObject; + T result = caseLogicLiteral(logicLiteral); + if (result == null) result = caseLiteral(logicLiteral); + if (result == null) result = caseExpression(logicLiteral); + if (result == null) result = caseStatement(logicLiteral); + if (result == null) result = defaultCase(theEObject); + return result; + } + case SolverLanguagePackage.NUMERIC_LITERAL: { + NumericLiteral numericLiteral = (NumericLiteral)theEObject; + T result = caseNumericLiteral(numericLiteral); + if (result == null) result = caseLiteral(numericLiteral); + if (result == null) result = caseExpression(numericLiteral); + if (result == null) result = caseStatement(numericLiteral); + if (result == null) result = defaultCase(theEObject); + return result; + } + case SolverLanguagePackage.INFINITY_LITERAL: { + InfinityLiteral infinityLiteral = (InfinityLiteral)theEObject; + T result = caseInfinityLiteral(infinityLiteral); + if (result == null) result = caseLiteral(infinityLiteral); + if (result == null) result = caseExpression(infinityLiteral); + if (result == null) result = caseStatement(infinityLiteral); + if (result == null) result = defaultCase(theEObject); + return result; + } + case SolverLanguagePackage.EMPTY_INTERVAL_LITERAL: { + EmptyIntervalLiteral emptyIntervalLiteral = (EmptyIntervalLiteral)theEObject; + T result = caseEmptyIntervalLiteral(emptyIntervalLiteral); + if (result == null) result = caseLiteral(emptyIntervalLiteral); + if (result == null) result = caseExpression(emptyIntervalLiteral); + if (result == null) result = caseStatement(emptyIntervalLiteral); + if (result == null) result = defaultCase(theEObject); + return result; + } + case SolverLanguagePackage.STRING_LITERAL: { + StringLiteral stringLiteral = (StringLiteral)theEObject; + T result = caseStringLiteral(stringLiteral); + if (result == null) result = caseLiteral(stringLiteral); + if (result == null) result = caseExpression(stringLiteral); + if (result == null) result = caseStatement(stringLiteral); + if (result == null) result = defaultCase(theEObject); + return result; + } + case SolverLanguagePackage.CLASS_DEFINITION: { + ClassDefinition classDefinition = (ClassDefinition)theEObject; + T result = caseClassDefinition(classDefinition); + if (result == null) result = caseStatement(classDefinition); + if (result == null) result = defaultCase(theEObject); + return result; + } + case SolverLanguagePackage.MEMBER_DEFINITION: { + MemberDefinition memberDefinition = (MemberDefinition)theEObject; + T result = caseMemberDefinition(memberDefinition); + if (result == null) result = defaultCase(theEObject); + return result; + } + case SolverLanguagePackage.MULTIPLICITY: { + Multiplicity multiplicity = (Multiplicity)theEObject; + T result = caseMultiplicity(multiplicity); + if (result == null) result = defaultCase(theEObject); + return result; + } + case SolverLanguagePackage.MANY_MULTIPLICITY: { + ManyMultiplicity manyMultiplicity = (ManyMultiplicity)theEObject; + T result = caseManyMultiplicity(manyMultiplicity); + if (result == null) result = caseMultiplicity(manyMultiplicity); + if (result == null) result = defaultCase(theEObject); + return result; + } + case SolverLanguagePackage.EXACT_MULTIPLICITY: { + ExactMultiplicity exactMultiplicity = (ExactMultiplicity)theEObject; + T result = caseExactMultiplicity(exactMultiplicity); + if (result == null) result = caseMultiplicity(exactMultiplicity); + if (result == null) result = defaultCase(theEObject); + return result; + } + case SolverLanguagePackage.BOUNDED_MULTIPLICITY: { + BoundedMultiplicity boundedMultiplicity = (BoundedMultiplicity)theEObject; + T result = caseBoundedMultiplicity(boundedMultiplicity); + if (result == null) result = caseMultiplicity(boundedMultiplicity); + if (result == null) result = defaultCase(theEObject); + return result; + } + case SolverLanguagePackage.SCOPE_DEFINITION: { + ScopeDefinition scopeDefinition = (ScopeDefinition)theEObject; + T result = caseScopeDefinition(scopeDefinition); + if (result == null) result = caseStatement(scopeDefinition); + if (result == null) result = defaultCase(theEObject); + return result; + } + case SolverLanguagePackage.EXACT_SCOPE_DEFINITION: { + ExactScopeDefinition exactScopeDefinition = (ExactScopeDefinition)theEObject; + T result = caseExactScopeDefinition(exactScopeDefinition); + if (result == null) result = caseScopeDefinition(exactScopeDefinition); + if (result == null) result = caseStatement(exactScopeDefinition); + if (result == null) result = defaultCase(theEObject); + return result; + } + case SolverLanguagePackage.BOUNDED_SCOPE_DEFINITION: { + BoundedScopeDefinition boundedScopeDefinition = (BoundedScopeDefinition)theEObject; + T result = caseBoundedScopeDefinition(boundedScopeDefinition); + if (result == null) result = caseScopeDefinition(boundedScopeDefinition); + if (result == null) result = caseStatement(boundedScopeDefinition); + if (result == null) result = defaultCase(theEObject); + return result; + } + case SolverLanguagePackage.LOWER_BOUNDED_SCOPE_DEFINITION: { + LowerBoundedScopeDefinition lowerBoundedScopeDefinition = (LowerBoundedScopeDefinition)theEObject; + T result = caseLowerBoundedScopeDefinition(lowerBoundedScopeDefinition); + if (result == null) result = caseScopeDefinition(lowerBoundedScopeDefinition); + if (result == null) result = caseStatement(lowerBoundedScopeDefinition); + if (result == null) result = defaultCase(theEObject); + return result; + } + case SolverLanguagePackage.OBJECTIVE_DEFINITION: { + ObjectiveDefinition objectiveDefinition = (ObjectiveDefinition)theEObject; + T result = caseObjectiveDefinition(objectiveDefinition); + if (result == null) result = caseStatement(objectiveDefinition); + if (result == null) result = defaultCase(theEObject); + return result; + } + case SolverLanguagePackage.INTERPRETATION: { + Interpretation interpretation = (Interpretation)theEObject; + T result = caseInterpretation(interpretation); + if (result == null) result = caseStatement(interpretation); + if (result == null) result = defaultCase(theEObject); + return result; + } + case SolverLanguagePackage.VARIABLE: { + Variable variable = (Variable)theEObject; + T result = caseVariable(variable); + if (result == null) result = caseNamedElement(variable); + if (result == null) result = defaultCase(theEObject); + return result; + } + case SolverLanguagePackage.DISJUNCTION: { + Disjunction disjunction = (Disjunction)theEObject; + T result = caseDisjunction(disjunction); + if (result == null) result = caseExpression(disjunction); + if (result == null) result = caseStatement(disjunction); + if (result == null) result = defaultCase(theEObject); + return result; + } + case SolverLanguagePackage.SWITCH: { + org.eclipse.viatra.solver.language.solverLanguage.Switch switch_ = (org.eclipse.viatra.solver.language.solverLanguage.Switch)theEObject; + T result = caseSwitch(switch_); + if (result == null) result = caseExpression(switch_); + if (result == null) result = caseStatement(switch_); + if (result == null) result = defaultCase(theEObject); + return result; + } + case SolverLanguagePackage.CONJUNCTION: { + Conjunction conjunction = (Conjunction)theEObject; + T result = caseConjunction(conjunction); + if (result == null) result = caseExpression(conjunction); + if (result == null) result = caseStatement(conjunction); + if (result == null) result = defaultCase(theEObject); + return result; + } + case SolverLanguagePackage.COMPARISON: { + Comparison comparison = (Comparison)theEObject; + T result = caseComparison(comparison); + if (result == null) result = caseExpression(comparison); + if (result == null) result = caseStatement(comparison); + if (result == null) result = defaultCase(theEObject); + return result; + } + case SolverLanguagePackage.BINARY_EXPRESSION: { + BinaryExpression binaryExpression = (BinaryExpression)theEObject; + T result = caseBinaryExpression(binaryExpression); + if (result == null) result = caseExpression(binaryExpression); + if (result == null) result = caseStatement(binaryExpression); + if (result == null) result = defaultCase(theEObject); + return result; + } + case SolverLanguagePackage.CAST_EXPRESSION: { + CastExpression castExpression = (CastExpression)theEObject; + T result = caseCastExpression(castExpression); + if (result == null) result = caseExpression(castExpression); + if (result == null) result = caseStatement(castExpression); + if (result == null) result = defaultCase(theEObject); + return result; + } + case SolverLanguagePackage.UNARY_EXPRESSION: { + UnaryExpression unaryExpression = (UnaryExpression)theEObject; + T result = caseUnaryExpression(unaryExpression); + if (result == null) result = caseExpression(unaryExpression); + if (result == null) result = caseStatement(unaryExpression); + if (result == null) result = defaultCase(theEObject); + return result; + } + case SolverLanguagePackage.NODE: { + Node node = (Node)theEObject; + T result = caseNode(node); + if (result == null) result = caseNamedElement(node); + if (result == null) result = defaultCase(theEObject); + return result; + } + case SolverLanguagePackage.FUNCTOR: { + Functor functor = (Functor)theEObject; + T result = caseFunctor(functor); + if (result == null) result = caseNamedElement(functor); + if (result == null) result = defaultCase(theEObject); + return result; + } + case SolverLanguagePackage.PREDICATE: { + Predicate predicate = (Predicate)theEObject; + T result = casePredicate(predicate); + if (result == null) result = caseFunctor(predicate); + if (result == null) result = caseNamedElement(predicate); + if (result == null) result = defaultCase(theEObject); + return result; + } + case SolverLanguagePackage.METRIC: { + Metric metric = (Metric)theEObject; + T result = caseMetric(metric); + if (result == null) result = caseFunctor(metric); + if (result == null) result = caseNamedElement(metric); + if (result == null) result = defaultCase(theEObject); + return result; + } + default: return defaultCase(theEObject); + } + } + + /** + * Returns the result of interpreting the object as an instance of 'Problem'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Problem'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseProblem(Problem object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Statement'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Statement'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseStatement(Statement object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Predicate Definition'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Predicate Definition'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T casePredicateDefinition(PredicateDefinition object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Unnamed Error Prediate Definition'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Unnamed Error Prediate Definition'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseUnnamedErrorPrediateDefinition(UnnamedErrorPrediateDefinition object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Default Definition'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Default Definition'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseDefaultDefinition(DefaultDefinition object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Metric Definition'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Metric Definition'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseMetricDefinition(MetricDefinition object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Extern Predicate Definition'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Extern Predicate Definition'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseExternPredicateDefinition(ExternPredicateDefinition object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Extern Metric Definition'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Extern Metric Definition'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseExternMetricDefinition(ExternMetricDefinition object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Extern Aggregator Definition'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Extern Aggregator Definition'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseExternAggregatorDefinition(ExternAggregatorDefinition object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Extern Datatype Definition'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Extern Datatype Definition'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseExternDatatypeDefinition(ExternDatatypeDefinition object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Named Element'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Named Element'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseNamedElement(NamedElement object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Expression'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Expression'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseExpression(Expression object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'If Else'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'If Else'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseIfElse(IfElse object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Let'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Let'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseLet(Let object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Let Binding'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Let Binding'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseLetBinding(LetBinding object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Case'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Case'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseCase(Case object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Local Variables'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Local Variables'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseLocalVariables(LocalVariables object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Quantified Expression'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Quantified Expression'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseQuantifiedExpression(QuantifiedExpression object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Aggregation'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Aggregation'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseAggregation(Aggregation object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Call'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Call'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseCall(Call object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Argument List'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Argument List'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseArgumentList(ArgumentList object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Argument'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Argument'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseArgument(Argument object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Expression Argument'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Expression Argument'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseExpressionArgument(ExpressionArgument object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Star Argument'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Star Argument'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseStarArgument(StarArgument object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Typed Argument'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Typed Argument'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseTypedArgument(TypedArgument object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Typed Star Argument'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Typed Star Argument'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseTypedStarArgument(TypedStarArgument object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Reference'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Reference'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseReference(Reference object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Interval'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Interval'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseInterval(Interval object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Literal'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Literal'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseLiteral(Literal object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Logic Literal'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Logic Literal'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseLogicLiteral(LogicLiteral object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Numeric Literal'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Numeric Literal'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseNumericLiteral(NumericLiteral object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Infinity Literal'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Infinity Literal'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseInfinityLiteral(InfinityLiteral object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Empty Interval Literal'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Empty Interval Literal'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseEmptyIntervalLiteral(EmptyIntervalLiteral object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'String Literal'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'String Literal'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseStringLiteral(StringLiteral object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Class Definition'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Class Definition'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseClassDefinition(ClassDefinition object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Member Definition'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Member Definition'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseMemberDefinition(MemberDefinition object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Multiplicity'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Multiplicity'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseMultiplicity(Multiplicity object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Many Multiplicity'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Many Multiplicity'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseManyMultiplicity(ManyMultiplicity object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Exact Multiplicity'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Exact Multiplicity'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseExactMultiplicity(ExactMultiplicity object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Bounded Multiplicity'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Bounded Multiplicity'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseBoundedMultiplicity(BoundedMultiplicity object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Scope Definition'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Scope Definition'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseScopeDefinition(ScopeDefinition object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Exact Scope Definition'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Exact Scope Definition'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseExactScopeDefinition(ExactScopeDefinition object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Bounded Scope Definition'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Bounded Scope Definition'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseBoundedScopeDefinition(BoundedScopeDefinition object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Lower Bounded Scope Definition'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Lower Bounded Scope Definition'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseLowerBoundedScopeDefinition(LowerBoundedScopeDefinition object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Objective Definition'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Objective Definition'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseObjectiveDefinition(ObjectiveDefinition object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Interpretation'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Interpretation'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseInterpretation(Interpretation object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Variable'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Variable'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseVariable(Variable object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Disjunction'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Disjunction'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseDisjunction(Disjunction object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Switch'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Switch'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseSwitch(org.eclipse.viatra.solver.language.solverLanguage.Switch object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Conjunction'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Conjunction'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseConjunction(Conjunction object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Comparison'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Comparison'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseComparison(Comparison object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Binary Expression'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Binary Expression'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseBinaryExpression(BinaryExpression object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Cast Expression'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Cast Expression'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseCastExpression(CastExpression object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Unary Expression'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Unary Expression'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseUnaryExpression(UnaryExpression object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Node'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Node'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseNode(Node object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Functor'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Functor'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseFunctor(Functor object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Predicate'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Predicate'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T casePredicate(Predicate object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Metric'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Metric'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseMetric(Metric object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'EObject'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch, but this is the last case anyway. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'EObject'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) + * @generated + */ + @Override + public T defaultCase(EObject object) { + return null; + } + +} //SolverLanguageSwitch diff --git a/Application/org.eclipse.viatra.solver.language/model/SolverLanguage.ecore b/Application/org.eclipse.viatra.solver.language/model/SolverLanguage.ecore new file mode 100644 index 00000000..905e5a90 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language/model/SolverLanguage.ecore @@ -0,0 +1,291 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Application/org.eclipse.viatra.solver.language/model/SolverLanguage.genmodel b/Application/org.eclipse.viatra.solver.language/model/SolverLanguage.genmodel new file mode 100644 index 00000000..2325d668 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language/model/SolverLanguage.genmodel @@ -0,0 +1,249 @@ + + + SolverLanguage.ecore + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Application/org.eclipse.viatra.solver.language/model/generated/SolverLanguage.ecore b/Application/org.eclipse.viatra.solver.language/model/generated/SolverLanguage.ecore deleted file mode 100644 index bd516038..00000000 --- a/Application/org.eclipse.viatra.solver.language/model/generated/SolverLanguage.ecore +++ /dev/null @@ -1,243 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Application/org.eclipse.viatra.solver.language/model/generated/SolverLanguage.genmodel b/Application/org.eclipse.viatra.solver.language/model/generated/SolverLanguage.genmodel deleted file mode 100644 index 53c17e2a..00000000 --- a/Application/org.eclipse.viatra.solver.language/model/generated/SolverLanguage.genmodel +++ /dev/null @@ -1,211 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Application/org.eclipse.viatra.solver.language/plugin.properties b/Application/org.eclipse.viatra.solver.language/plugin.properties new file mode 100644 index 00000000..a81f16eb --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language/plugin.properties @@ -0,0 +1,4 @@ +# generated by Xtext 2.21.0 + +pluginName = org.eclipse.viatra.solver.language +providerName = My Company diff --git a/Application/org.eclipse.viatra.solver.language/plugin.xml b/Application/org.eclipse.viatra.solver.language/plugin.xml index 3e332568..79c1ea47 100644 --- a/Application/org.eclipse.viatra.solver.language/plugin.xml +++ b/Application/org.eclipse.viatra.solver.language/plugin.xml @@ -5,6 +5,6 @@ + genModel = "model/SolverLanguage.genmodel" />
    diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/SolverLanguage.xtextbin b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/SolverLanguage.xtextbin index da698ba6..da513ba9 100644 Binary files a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/SolverLanguage.xtextbin and b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/SolverLanguage.xtextbin differ diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/SolverLanguageStandaloneSetupGenerated.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/SolverLanguageStandaloneSetupGenerated.java index 33c82701..c487738b 100644 --- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/SolverLanguageStandaloneSetupGenerated.java +++ b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/SolverLanguageStandaloneSetupGenerated.java @@ -5,9 +5,7 @@ package org.eclipse.viatra.solver.language; import com.google.inject.Guice; import com.google.inject.Injector; -import org.eclipse.emf.ecore.EPackage; import org.eclipse.emf.ecore.resource.Resource; -import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; import org.eclipse.xtext.ISetup; import org.eclipse.xtext.common.TerminalsStandaloneSetup; import org.eclipse.xtext.resource.IResourceFactory; @@ -30,9 +28,6 @@ public class SolverLanguageStandaloneSetupGenerated implements ISetup { } public void register(Injector injector) { - if (!EPackage.Registry.INSTANCE.containsKey("http://www.eclipse.org/viatra/solver/language/SolverLanguage")) { - EPackage.Registry.INSTANCE.put("http://www.eclipse.org/viatra/solver/language/SolverLanguage", SolverLanguagePackage.eINSTANCE); - } IResourceFactory resourceFactory = injector.getInstance(IResourceFactory.class); IResourceServiceProvider serviceProvider = injector.getInstance(IResourceServiceProvider.class); diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/parser/antlr/internal/InternalSolverLanguageParser.g b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/parser/antlr/internal/InternalSolverLanguageParser.g index 6cd0341f..8ec69aaa 100644 --- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/parser/antlr/internal/InternalSolverLanguageParser.g +++ b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/parser/antlr/internal/InternalSolverLanguageParser.g @@ -144,20 +144,20 @@ ruleStatement returns [EObject current=null] } | { - newCompositeNode(grammarAccess.getStatementAccess().getExternPredicateDefinitionParserRuleCall_0_4()); + newCompositeNode(grammarAccess.getStatementAccess().getMetricDefinitionParserRuleCall_0_4()); } - this_ExternPredicateDefinition_4=ruleExternPredicateDefinition + this_MetricDefinition_4=ruleMetricDefinition { - $current = $this_ExternPredicateDefinition_4.current; + $current = $this_MetricDefinition_4.current; afterParserOrEnumRuleCall(); } | { - newCompositeNode(grammarAccess.getStatementAccess().getMetricDefinitionParserRuleCall_0_5()); + newCompositeNode(grammarAccess.getStatementAccess().getExternPredicateDefinitionParserRuleCall_0_5()); } - this_MetricDefinition_5=ruleMetricDefinition + this_ExternPredicateDefinition_5=ruleExternPredicateDefinition { - $current = $this_MetricDefinition_5.current; + $current = $this_ExternPredicateDefinition_5.current; afterParserOrEnumRuleCall(); } | @@ -171,35 +171,53 @@ ruleStatement returns [EObject current=null] } | { - newCompositeNode(grammarAccess.getStatementAccess().getClassDefinitionParserRuleCall_0_7()); + newCompositeNode(grammarAccess.getStatementAccess().getExternAggregatorDefinitionParserRuleCall_0_7()); } - this_ClassDefinition_7=ruleClassDefinition + this_ExternAggregatorDefinition_7=ruleExternAggregatorDefinition { - $current = $this_ClassDefinition_7.current; + $current = $this_ExternAggregatorDefinition_7.current; afterParserOrEnumRuleCall(); } | { - newCompositeNode(grammarAccess.getStatementAccess().getScopeDefinitionParserRuleCall_0_8()); + newCompositeNode(grammarAccess.getStatementAccess().getExternDatatypeDefinitionParserRuleCall_0_8()); } - this_ScopeDefinition_8=ruleScopeDefinition + this_ExternDatatypeDefinition_8=ruleExternDatatypeDefinition { - $current = $this_ScopeDefinition_8.current; + $current = $this_ExternDatatypeDefinition_8.current; afterParserOrEnumRuleCall(); } | { - newCompositeNode(grammarAccess.getStatementAccess().getObjectiveDefinitionParserRuleCall_0_9()); + newCompositeNode(grammarAccess.getStatementAccess().getClassDefinitionParserRuleCall_0_9()); } - this_ObjectiveDefinition_9=ruleObjectiveDefinition + this_ClassDefinition_9=ruleClassDefinition { - $current = $this_ObjectiveDefinition_9.current; + $current = $this_ClassDefinition_9.current; + afterParserOrEnumRuleCall(); + } + | + { + newCompositeNode(grammarAccess.getStatementAccess().getScopeDefinitionParserRuleCall_0_10()); + } + this_ScopeDefinition_10=ruleScopeDefinition + { + $current = $this_ScopeDefinition_10.current; + afterParserOrEnumRuleCall(); + } + | + { + newCompositeNode(grammarAccess.getStatementAccess().getObjectiveDefinitionParserRuleCall_0_11()); + } + this_ObjectiveDefinition_11=ruleObjectiveDefinition + { + $current = $this_ObjectiveDefinition_11.current; afterParserOrEnumRuleCall(); } ) - this_FULL_STOP_10=RULE_FULL_STOP + this_FULL_STOP_12=RULE_FULL_STOP { - newLeafNode(this_FULL_STOP_10, grammarAccess.getStatementAccess().getFULL_STOPTerminalRuleCall_1()); + newLeafNode(this_FULL_STOP_12, grammarAccess.getStatementAccess().getFULL_STOPTerminalRuleCall_1()); } ) ; @@ -233,35 +251,33 @@ ruleAssertionOrDefinition returns [EObject current=null] ( { $current = forceCreateModelElementAndSet( - grammarAccess.getAssertionOrDefinitionAccess().getAssertionBodyAction_1_0_0(), + grammarAccess.getAssertionOrDefinitionAccess().getInterpretationBodyAction_1_0_0(), $current); } ) + otherlv_2=Colon + { + newLeafNode(otherlv_2, grammarAccess.getAssertionOrDefinitionAccess().getColonKeyword_1_0_1()); + } ( - otherlv_2=Colon - { - newLeafNode(otherlv_2, grammarAccess.getAssertionOrDefinitionAccess().getColonKeyword_1_0_1_0()); - } ( - ( - { - newCompositeNode(grammarAccess.getAssertionOrDefinitionAccess().getRangeExpressionParserRuleCall_1_0_1_1_0()); - } - lv_range_3_0=ruleExpression - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getAssertionOrDefinitionRule()); - } - set( - $current, - "range", - lv_range_3_0, - "org.eclipse.viatra.solver.language.SolverLanguage.Expression"); - afterParserOrEnumRuleCall(); + { + newCompositeNode(grammarAccess.getAssertionOrDefinitionAccess().getRangeExpressionParserRuleCall_1_0_2_0()); + } + lv_range_3_0=ruleExpression + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getAssertionOrDefinitionRule()); } - ) + set( + $current, + "range", + lv_range_3_0, + "org.eclipse.viatra.solver.language.SolverLanguage.Expression"); + afterParserOrEnumRuleCall(); + } ) - )? + ) ) | ( @@ -329,7 +345,7 @@ ruleAssertionOrDefinition returns [EObject current=null] ) ) ) - ) + )? ) ; @@ -587,6 +603,83 @@ ruleDefaultDefinition returns [EObject current=null] ) ; +// Entry rule entryRuleMetricDefinition +entryRuleMetricDefinition returns [EObject current=null]: + { newCompositeNode(grammarAccess.getMetricDefinitionRule()); } + iv_ruleMetricDefinition=ruleMetricDefinition + { $current=$iv_ruleMetricDefinition.current; } + EOF; + +// Rule MetricDefinition +ruleMetricDefinition returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + ( + { + if ($current==null) { + $current = createModelElement(grammarAccess.getMetricDefinitionRule()); + } + } + { + newCompositeNode(grammarAccess.getMetricDefinitionAccess().getTypeNamedElementCrossReference_0_0()); + } + ruleQualifiedName + { + afterParserOrEnumRuleCall(); + } + ) + ) + ( + ( + { + newCompositeNode(grammarAccess.getMetricDefinitionAccess().getHeadCallParserRuleCall_1_0()); + } + lv_head_1_0=ruleCall + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getMetricDefinitionRule()); + } + set( + $current, + "head", + lv_head_1_0, + "org.eclipse.viatra.solver.language.SolverLanguage.Call"); + afterParserOrEnumRuleCall(); + } + ) + ) + otherlv_2=EqualsSign + { + newLeafNode(otherlv_2, grammarAccess.getMetricDefinitionAccess().getEqualsSignKeyword_2()); + } + ( + ( + { + newCompositeNode(grammarAccess.getMetricDefinitionAccess().getBodyExpressionParserRuleCall_3_0()); + } + lv_body_3_0=ruleExpression + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getMetricDefinitionRule()); + } + set( + $current, + "body", + lv_body_3_0, + "org.eclipse.viatra.solver.language.SolverLanguage.Expression"); + afterParserOrEnumRuleCall(); + } + ) + ) + ) +; + // Entry rule entryRuleExternPredicateDefinition entryRuleExternPredicateDefinition returns [EObject current=null]: { newCompositeNode(grammarAccess.getExternPredicateDefinitionRule()); } @@ -610,18 +703,37 @@ ruleExternPredicateDefinition returns [EObject current=null] ( ( { - newCompositeNode(grammarAccess.getExternPredicateDefinitionAccess().getHeadCallParserRuleCall_1_0()); + newCompositeNode(grammarAccess.getExternPredicateDefinitionAccess().getNameQualifiedNameParserRuleCall_1_0()); } - lv_head_1_0=ruleCall + lv_name_1_0=ruleQualifiedName { if ($current==null) { $current = createModelElementForParent(grammarAccess.getExternPredicateDefinitionRule()); } set( $current, - "head", - lv_head_1_0, - "org.eclipse.viatra.solver.language.SolverLanguage.Call"); + "name", + lv_name_1_0, + "org.eclipse.viatra.solver.language.SolverLanguage.QualifiedName"); + afterParserOrEnumRuleCall(); + } + ) + ) + ( + ( + { + newCompositeNode(grammarAccess.getExternPredicateDefinitionAccess().getArgumentListArgumentListParserRuleCall_2_0()); + } + lv_argumentList_2_0=ruleArgumentList + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getExternPredicateDefinitionRule()); + } + set( + $current, + "argumentList", + lv_argumentList_2_0, + "org.eclipse.viatra.solver.language.SolverLanguage.ArgumentList"); afterParserOrEnumRuleCall(); } ) @@ -629,15 +741,15 @@ ruleExternPredicateDefinition returns [EObject current=null] ) ; -// Entry rule entryRuleMetricDefinition -entryRuleMetricDefinition returns [EObject current=null]: - { newCompositeNode(grammarAccess.getMetricDefinitionRule()); } - iv_ruleMetricDefinition=ruleMetricDefinition - { $current=$iv_ruleMetricDefinition.current; } +// Entry rule entryRuleExternMetricDefinition +entryRuleExternMetricDefinition returns [EObject current=null]: + { newCompositeNode(grammarAccess.getExternMetricDefinitionRule()); } + iv_ruleExternMetricDefinition=ruleExternMetricDefinition + { $current=$iv_ruleExternMetricDefinition.current; } EOF; -// Rule MetricDefinition -ruleMetricDefinition returns [EObject current=null] +// Rule ExternMetricDefinition +ruleExternMetricDefinition returns [EObject current=null] @init { enterRule(); } @@ -645,21 +757,41 @@ ruleMetricDefinition returns [EObject current=null] leaveRule(); }: ( + otherlv_0=Extern + { + newLeafNode(otherlv_0, grammarAccess.getExternMetricDefinitionAccess().getExternKeyword_0()); + } ( ( { - newCompositeNode(grammarAccess.getMetricDefinitionAccess().getTypeMetricTypeEnumRuleCall_0_0()); + if ($current==null) { + $current = createModelElement(grammarAccess.getExternMetricDefinitionRule()); + } } - lv_type_0_0=ruleMetricType + { + newCompositeNode(grammarAccess.getExternMetricDefinitionAccess().getTypeNamedElementCrossReference_1_0()); + } + ruleQualifiedName + { + afterParserOrEnumRuleCall(); + } + ) + ) + ( + ( + { + newCompositeNode(grammarAccess.getExternMetricDefinitionAccess().getNameQualifiedNameParserRuleCall_2_0()); + } + lv_name_2_0=ruleQualifiedName { if ($current==null) { - $current = createModelElementForParent(grammarAccess.getMetricDefinitionRule()); + $current = createModelElementForParent(grammarAccess.getExternMetricDefinitionRule()); } set( $current, - "type", - lv_type_0_0, - "org.eclipse.viatra.solver.language.SolverLanguage.MetricType"); + "name", + lv_name_2_0, + "org.eclipse.viatra.solver.language.SolverLanguage.QualifiedName"); afterParserOrEnumRuleCall(); } ) @@ -667,57 +799,120 @@ ruleMetricDefinition returns [EObject current=null] ( ( { - newCompositeNode(grammarAccess.getMetricDefinitionAccess().getHeadExpressionParserRuleCall_1_0()); + newCompositeNode(grammarAccess.getExternMetricDefinitionAccess().getArgumentListArgumentListParserRuleCall_3_0()); } - lv_head_1_0=ruleExpression + lv_argumentList_3_0=ruleArgumentList { if ($current==null) { - $current = createModelElementForParent(grammarAccess.getMetricDefinitionRule()); + $current = createModelElementForParent(grammarAccess.getExternMetricDefinitionRule()); } set( $current, - "head", - lv_head_1_0, - "org.eclipse.viatra.solver.language.SolverLanguage.Expression"); + "argumentList", + lv_argumentList_3_0, + "org.eclipse.viatra.solver.language.SolverLanguage.ArgumentList"); afterParserOrEnumRuleCall(); } ) ) - otherlv_2=EqualsSign + ) +; + +// Entry rule entryRuleExternAggregatorDefinition +entryRuleExternAggregatorDefinition returns [EObject current=null]: + { newCompositeNode(grammarAccess.getExternAggregatorDefinitionRule()); } + iv_ruleExternAggregatorDefinition=ruleExternAggregatorDefinition + { $current=$iv_ruleExternAggregatorDefinition.current; } + EOF; + +// Rule ExternAggregatorDefinition +ruleExternAggregatorDefinition returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0=Extern { - newLeafNode(otherlv_2, grammarAccess.getMetricDefinitionAccess().getEqualsSignKeyword_2()); + newLeafNode(otherlv_0, grammarAccess.getExternAggregatorDefinitionAccess().getExternKeyword_0()); } ( ( { - newCompositeNode(grammarAccess.getMetricDefinitionAccess().getBodyExpressionParserRuleCall_3_0()); + if ($current==null) { + $current = createModelElement(grammarAccess.getExternAggregatorDefinitionRule()); + } } - lv_body_3_0=ruleExpression + { + newCompositeNode(grammarAccess.getExternAggregatorDefinitionAccess().getTypeNamedElementCrossReference_1_0()); + } + ruleQualifiedName + { + afterParserOrEnumRuleCall(); + } + ) + ) + ( + ( + { + newCompositeNode(grammarAccess.getExternAggregatorDefinitionAccess().getNameQualifiedNameParserRuleCall_2_0()); + } + lv_name_2_0=ruleQualifiedName { if ($current==null) { - $current = createModelElementForParent(grammarAccess.getMetricDefinitionRule()); + $current = createModelElementForParent(grammarAccess.getExternAggregatorDefinitionRule()); } set( $current, - "body", - lv_body_3_0, - "org.eclipse.viatra.solver.language.SolverLanguage.Expression"); + "name", + lv_name_2_0, + "org.eclipse.viatra.solver.language.SolverLanguage.QualifiedName"); afterParserOrEnumRuleCall(); } ) ) + otherlv_3=LeftCurlyBracket + { + newLeafNode(otherlv_3, grammarAccess.getExternAggregatorDefinitionAccess().getLeftCurlyBracketKeyword_3()); + } + ( + ( + { + if ($current==null) { + $current = createModelElement(grammarAccess.getExternAggregatorDefinitionRule()); + } + } + { + newCompositeNode(grammarAccess.getExternAggregatorDefinitionAccess().getInputTypeNamedElementCrossReference_4_0()); + } + ruleQualifiedName + { + afterParserOrEnumRuleCall(); + } + ) + ) + otherlv_5=FullStopFullStopFullStop + { + newLeafNode(otherlv_5, grammarAccess.getExternAggregatorDefinitionAccess().getFullStopFullStopFullStopKeyword_5()); + } + otherlv_6=RightCurlyBracket + { + newLeafNode(otherlv_6, grammarAccess.getExternAggregatorDefinitionAccess().getRightCurlyBracketKeyword_6()); + } ) ; -// Entry rule entryRuleExternMetricDefinition -entryRuleExternMetricDefinition returns [EObject current=null]: - { newCompositeNode(grammarAccess.getExternMetricDefinitionRule()); } - iv_ruleExternMetricDefinition=ruleExternMetricDefinition - { $current=$iv_ruleExternMetricDefinition.current; } +// Entry rule entryRuleExternDatatypeDefinition +entryRuleExternDatatypeDefinition returns [EObject current=null]: + { newCompositeNode(grammarAccess.getExternDatatypeDefinitionRule()); } + iv_ruleExternDatatypeDefinition=ruleExternDatatypeDefinition + { $current=$iv_ruleExternDatatypeDefinition.current; } EOF; -// Rule ExternMetricDefinition -ruleExternMetricDefinition returns [EObject current=null] +// Rule ExternDatatypeDefinition +ruleExternDatatypeDefinition returns [EObject current=null] @init { enterRule(); } @@ -727,45 +922,127 @@ ruleExternMetricDefinition returns [EObject current=null] ( otherlv_0=Extern { - newLeafNode(otherlv_0, grammarAccess.getExternMetricDefinitionAccess().getExternKeyword_0()); + newLeafNode(otherlv_0, grammarAccess.getExternDatatypeDefinitionAccess().getExternKeyword_0()); + } + otherlv_1=Datatype + { + newLeafNode(otherlv_1, grammarAccess.getExternDatatypeDefinitionAccess().getDatatypeKeyword_1()); } ( ( { - newCompositeNode(grammarAccess.getExternMetricDefinitionAccess().getTypeMetricTypeEnumRuleCall_1_0()); + newCompositeNode(grammarAccess.getExternDatatypeDefinitionAccess().getNameQualifiedNameParserRuleCall_2_0()); } - lv_type_1_0=ruleMetricType + lv_name_2_0=ruleQualifiedName { if ($current==null) { - $current = createModelElementForParent(grammarAccess.getExternMetricDefinitionRule()); + $current = createModelElementForParent(grammarAccess.getExternDatatypeDefinitionRule()); } set( $current, - "type", - lv_type_1_0, - "org.eclipse.viatra.solver.language.SolverLanguage.MetricType"); + "name", + lv_name_2_0, + "org.eclipse.viatra.solver.language.SolverLanguage.QualifiedName"); afterParserOrEnumRuleCall(); } ) ) ( + otherlv_3=Extends + { + newLeafNode(otherlv_3, grammarAccess.getExternDatatypeDefinitionAccess().getExtendsKeyword_3_0()); + } ( + ( + { + if ($current==null) { + $current = createModelElement(grammarAccess.getExternDatatypeDefinitionRule()); + } + } + { + newCompositeNode(grammarAccess.getExternDatatypeDefinitionAccess().getSupertypesNamedElementCrossReference_3_1_0()); + } + ruleQualifiedName + { + afterParserOrEnumRuleCall(); + } + ) + ) + ( + otherlv_5=Comma { - newCompositeNode(grammarAccess.getExternMetricDefinitionAccess().getHeadCallParserRuleCall_2_0()); + newLeafNode(otherlv_5, grammarAccess.getExternDatatypeDefinitionAccess().getCommaKeyword_3_2_0()); } - lv_head_2_0=ruleCall + ( + ( + { + if ($current==null) { + $current = createModelElement(grammarAccess.getExternDatatypeDefinitionRule()); + } + } + { + newCompositeNode(grammarAccess.getExternDatatypeDefinitionAccess().getSupertypesNamedElementCrossReference_3_2_1_0()); + } + ruleQualifiedName + { + afterParserOrEnumRuleCall(); + } + ) + ) + )* + ) + ) +; + +// Entry rule entryRuleVariable +entryRuleVariable returns [EObject current=null]: + { newCompositeNode(grammarAccess.getVariableRule()); } + iv_ruleVariable=ruleVariable + { $current=$iv_ruleVariable.current; } + EOF; + +// Rule Variable +ruleVariable returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + ( { if ($current==null) { - $current = createModelElementForParent(grammarAccess.getExternMetricDefinitionRule()); + $current = createModelElement(grammarAccess.getVariableRule()); } - set( - $current, - "head", - lv_head_2_0, - "org.eclipse.viatra.solver.language.SolverLanguage.Call"); + } + { + newCompositeNode(grammarAccess.getVariableAccess().getTypeNamedElementCrossReference_0_0()); + } + ruleQualifiedName + { afterParserOrEnumRuleCall(); } ) + )? + ( + ( + lv_name_1_0=RULE_ID + { + newLeafNode(lv_name_1_0, grammarAccess.getVariableAccess().getNameIDTerminalRuleCall_1_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getVariableRule()); + } + setWithLastConsumed( + $current, + "name", + lv_name_1_0, + "org.eclipse.xtext.common.Terminals.ID"); + } + ) ) ) ; @@ -796,11 +1073,20 @@ ruleExpression returns [EObject current=null] } | { - newCompositeNode(grammarAccess.getExpressionAccess().getDisjunctiveExpressionParserRuleCall_1()); + newCompositeNode(grammarAccess.getExpressionAccess().getLetParserRuleCall_1()); + } + this_Let_1=ruleLet + { + $current = $this_Let_1.current; + afterParserOrEnumRuleCall(); + } + | + { + newCompositeNode(grammarAccess.getExpressionAccess().getImplicationExpressionParserRuleCall_2()); } - this_DisjunctiveExpression_1=ruleDisjunctiveExpression + this_ImplicationExpression_2=ruleImplicationExpression { - $current = $this_DisjunctiveExpression_1.current; + $current = $this_ImplicationExpression_2.current; afterParserOrEnumRuleCall(); } ) @@ -870,23 +1156,174 @@ ruleIfElse returns [EObject current=null] ) otherlv_4=Else { - newLeafNode(otherlv_4, grammarAccess.getIfElseAccess().getElseKeyword_4()); + newLeafNode(otherlv_4, grammarAccess.getIfElseAccess().getElseKeyword_4()); + } + ( + ( + { + newCompositeNode(grammarAccess.getIfElseAccess().getElseExpressionParserRuleCall_5_0()); + } + lv_else_5_0=ruleExpression + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getIfElseRule()); + } + set( + $current, + "else", + lv_else_5_0, + "org.eclipse.viatra.solver.language.SolverLanguage.Expression"); + afterParserOrEnumRuleCall(); + } + ) + ) + ) +; + +// Entry rule entryRuleLet +entryRuleLet returns [EObject current=null]: + { newCompositeNode(grammarAccess.getLetRule()); } + iv_ruleLet=ruleLet + { $current=$iv_ruleLet.current; } + EOF; + +// Rule Let +ruleLet returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0=Let + { + newLeafNode(otherlv_0, grammarAccess.getLetAccess().getLetKeyword_0()); + } + ( + ( + { + newCompositeNode(grammarAccess.getLetAccess().getBindingsLetBindingParserRuleCall_1_0()); + } + lv_bindings_1_0=ruleLetBinding + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getLetRule()); + } + add( + $current, + "bindings", + lv_bindings_1_0, + "org.eclipse.viatra.solver.language.SolverLanguage.LetBinding"); + afterParserOrEnumRuleCall(); + } + ) + ) + ( + otherlv_2=Comma + { + newLeafNode(otherlv_2, grammarAccess.getLetAccess().getCommaKeyword_2_0()); + } + ( + ( + { + newCompositeNode(grammarAccess.getLetAccess().getBindingsLetBindingParserRuleCall_2_1_0()); + } + lv_bindings_3_0=ruleLetBinding + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getLetRule()); + } + add( + $current, + "bindings", + lv_bindings_3_0, + "org.eclipse.viatra.solver.language.SolverLanguage.LetBinding"); + afterParserOrEnumRuleCall(); + } + ) + ) + )* + otherlv_4=In + { + newLeafNode(otherlv_4, grammarAccess.getLetAccess().getInKeyword_3()); + } + ( + ( + { + newCompositeNode(grammarAccess.getLetAccess().getBodyExpressionParserRuleCall_4_0()); + } + lv_body_5_0=ruleExpression + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getLetRule()); + } + set( + $current, + "body", + lv_body_5_0, + "org.eclipse.viatra.solver.language.SolverLanguage.Expression"); + afterParserOrEnumRuleCall(); + } + ) + ) + ) +; + +// Entry rule entryRuleLetBinding +entryRuleLetBinding returns [EObject current=null]: + { newCompositeNode(grammarAccess.getLetBindingRule()); } + iv_ruleLetBinding=ruleLetBinding + { $current=$iv_ruleLetBinding.current; } + EOF; + +// Rule LetBinding +ruleLetBinding returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + ( + { + newCompositeNode(grammarAccess.getLetBindingAccess().getVariableVariableParserRuleCall_0_0()); + } + lv_variable_0_0=ruleVariable + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getLetBindingRule()); + } + set( + $current, + "variable", + lv_variable_0_0, + "org.eclipse.viatra.solver.language.SolverLanguage.Variable"); + afterParserOrEnumRuleCall(); + } + ) + ) + otherlv_1=EqualsSign + { + newLeafNode(otherlv_1, grammarAccess.getLetBindingAccess().getEqualsSignKeyword_1()); } ( ( { - newCompositeNode(grammarAccess.getIfElseAccess().getElseExpressionParserRuleCall_5_0()); + newCompositeNode(grammarAccess.getLetBindingAccess().getValueAdditiveExpressionParserRuleCall_2_0()); } - lv_else_5_0=ruleExpression + lv_value_2_0=ruleAdditiveExpression { if ($current==null) { - $current = createModelElementForParent(grammarAccess.getIfElseRule()); + $current = createModelElementForParent(grammarAccess.getLetBindingRule()); } set( $current, - "else", - lv_else_5_0, - "org.eclipse.viatra.solver.language.SolverLanguage.Expression"); + "value", + lv_value_2_0, + "org.eclipse.viatra.solver.language.SolverLanguage.AdditiveExpression"); afterParserOrEnumRuleCall(); } ) @@ -894,6 +1331,80 @@ ruleIfElse returns [EObject current=null] ) ; +// Entry rule entryRuleImplicationExpression +entryRuleImplicationExpression returns [EObject current=null]: + { newCompositeNode(grammarAccess.getImplicationExpressionRule()); } + iv_ruleImplicationExpression=ruleImplicationExpression + { $current=$iv_ruleImplicationExpression.current; } + EOF; + +// Rule ImplicationExpression +ruleImplicationExpression returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + { + newCompositeNode(grammarAccess.getImplicationExpressionAccess().getDisjunctiveExpressionParserRuleCall_0()); + } + this_DisjunctiveExpression_0=ruleDisjunctiveExpression + { + $current = $this_DisjunctiveExpression_0.current; + afterParserOrEnumRuleCall(); + } + ( + ( + { + $current = forceCreateModelElementAndSet( + grammarAccess.getImplicationExpressionAccess().getBinaryExpressionLeftAction_1_0(), + $current); + } + ) + ( + ( + { + newCompositeNode(grammarAccess.getImplicationExpressionAccess().getOpImplicationOperatorEnumRuleCall_1_1_0()); + } + lv_op_2_0=ruleImplicationOperator + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getImplicationExpressionRule()); + } + set( + $current, + "op", + lv_op_2_0, + "org.eclipse.viatra.solver.language.SolverLanguage.ImplicationOperator"); + afterParserOrEnumRuleCall(); + } + ) + ) + ( + ( + { + newCompositeNode(grammarAccess.getImplicationExpressionAccess().getRightImplicationExpressionParserRuleCall_1_2_0()); + } + lv_right_3_0=ruleImplicationExpression + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getImplicationExpressionRule()); + } + set( + $current, + "right", + lv_right_3_0, + "org.eclipse.viatra.solver.language.SolverLanguage.ImplicationExpression"); + afterParserOrEnumRuleCall(); + } + ) + ) + )? + ) +; + // Entry rule entryRuleDisjunctiveExpression entryRuleDisjunctiveExpression returns [EObject current=null]: { newCompositeNode(grammarAccess.getDisjunctiveExpressionRule()); } @@ -1383,11 +1894,11 @@ ruleExponentialExpression returns [EObject current=null] }: ( { - newCompositeNode(grammarAccess.getExponentialExpressionAccess().getUnaryExpressionParserRuleCall_0()); + newCompositeNode(grammarAccess.getExponentialExpressionAccess().getCastExpressionParserRuleCall_0()); } - this_UnaryExpression_0=ruleUnaryExpression + this_CastExpression_0=ruleCastExpression { - $current = $this_UnaryExpression_0.current; + $current = $this_CastExpression_0.current; afterParserOrEnumRuleCall(); } ( @@ -1420,9 +1931,9 @@ ruleExponentialExpression returns [EObject current=null] ( ( { - newCompositeNode(grammarAccess.getExponentialExpressionAccess().getRightExponentialExpressionParserRuleCall_1_2_0()); + newCompositeNode(grammarAccess.getExponentialExpressionAccess().getRightCastExpressionParserRuleCall_1_2_0()); } - lv_right_3_0=ruleExponentialExpression + lv_right_3_0=ruleCastExpression { if ($current==null) { $current = createModelElementForParent(grammarAccess.getExponentialExpressionRule()); @@ -1431,7 +1942,63 @@ ruleExponentialExpression returns [EObject current=null] $current, "right", lv_right_3_0, - "org.eclipse.viatra.solver.language.SolverLanguage.ExponentialExpression"); + "org.eclipse.viatra.solver.language.SolverLanguage.CastExpression"); + afterParserOrEnumRuleCall(); + } + ) + ) + )? + ) +; + +// Entry rule entryRuleCastExpression +entryRuleCastExpression returns [EObject current=null]: + { newCompositeNode(grammarAccess.getCastExpressionRule()); } + iv_ruleCastExpression=ruleCastExpression + { $current=$iv_ruleCastExpression.current; } + EOF; + +// Rule CastExpression +ruleCastExpression returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + { + newCompositeNode(grammarAccess.getCastExpressionAccess().getUnaryExpressionParserRuleCall_0()); + } + this_UnaryExpression_0=ruleUnaryExpression + { + $current = $this_UnaryExpression_0.current; + afterParserOrEnumRuleCall(); + } + ( + ( + { + $current = forceCreateModelElementAndSet( + grammarAccess.getCastExpressionAccess().getCastExpressionBodyAction_1_0(), + $current); + } + ) + otherlv_2=As + { + newLeafNode(otherlv_2, grammarAccess.getCastExpressionAccess().getAsKeyword_1_1()); + } + ( + ( + { + if ($current==null) { + $current = createModelElement(grammarAccess.getCastExpressionRule()); + } + } + { + newCompositeNode(grammarAccess.getCastExpressionAccess().getTypeNamedElementCrossReference_1_2_0()); + } + ruleQualifiedName + { afterParserOrEnumRuleCall(); } ) @@ -1541,11 +2108,11 @@ ruleAggregationExpression returns [EObject current=null] } | { - newCompositeNode(grammarAccess.getAggregationExpressionAccess().getCountParserRuleCall_1()); + newCompositeNode(grammarAccess.getAggregationExpressionAccess().getQuantifiedExpressionParserRuleCall_1()); } - this_Count_1=ruleCount + this_QuantifiedExpression_1=ruleQuantifiedExpression { - $current = $this_Count_1.current; + $current = $this_QuantifiedExpression_1.current; afterParserOrEnumRuleCall(); } | @@ -1560,15 +2127,15 @@ ruleAggregationExpression returns [EObject current=null] ) ; -// Entry rule entryRuleCount -entryRuleCount returns [EObject current=null]: - { newCompositeNode(grammarAccess.getCountRule()); } - iv_ruleCount=ruleCount - { $current=$iv_ruleCount.current; } +// Entry rule entryRuleLocalVariables +entryRuleLocalVariables returns [EObject current=null]: + { newCompositeNode(grammarAccess.getLocalVariablesRule()); } + iv_ruleLocalVariables=ruleLocalVariables + { $current=$iv_ruleLocalVariables.current; } EOF; -// Rule Count -ruleCount returns [EObject current=null] +// Rule LocalVariables +ruleLocalVariables returns [EObject current=null] @init { enterRule(); } @@ -1576,36 +2143,150 @@ ruleCount returns [EObject current=null] leaveRule(); }: ( - otherlv_0=Count + ( + { + $current = forceCreateModelElement( + grammarAccess.getLocalVariablesAccess().getLocalVariablesAction_0(), + $current); + } + ) + otherlv_1=LeftSquareBracket + { + newLeafNode(otherlv_1, grammarAccess.getLocalVariablesAccess().getLeftSquareBracketKeyword_1()); + } + ( + ( + ( + { + newCompositeNode(grammarAccess.getLocalVariablesAccess().getVariablesVariableParserRuleCall_2_0_0()); + } + lv_variables_2_0=ruleVariable + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getLocalVariablesRule()); + } + add( + $current, + "variables", + lv_variables_2_0, + "org.eclipse.viatra.solver.language.SolverLanguage.Variable"); + afterParserOrEnumRuleCall(); + } + ) + ) + ( + otherlv_3=Comma + { + newLeafNode(otherlv_3, grammarAccess.getLocalVariablesAccess().getCommaKeyword_2_1_0()); + } + ( + ( + { + newCompositeNode(grammarAccess.getLocalVariablesAccess().getVariablesVariableParserRuleCall_2_1_1_0()); + } + lv_variables_4_0=ruleVariable + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getLocalVariablesRule()); + } + add( + $current, + "variables", + lv_variables_4_0, + "org.eclipse.viatra.solver.language.SolverLanguage.Variable"); + afterParserOrEnumRuleCall(); + } + ) + ) + )* + )? + otherlv_5=RightSquareBracket { - newLeafNode(otherlv_0, grammarAccess.getCountAccess().getCountKeyword_0()); + newLeafNode(otherlv_5, grammarAccess.getLocalVariablesAccess().getRightSquareBracketKeyword_3()); } - otherlv_1=LeftCurlyBracket + ) +; + +// Entry rule entryRuleQuantifiedExpression +entryRuleQuantifiedExpression returns [EObject current=null]: + { newCompositeNode(grammarAccess.getQuantifiedExpressionRule()); } + iv_ruleQuantifiedExpression=ruleQuantifiedExpression + { $current=$iv_ruleQuantifiedExpression.current; } + EOF; + +// Rule QuantifiedExpression +ruleQuantifiedExpression returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + ( + { + newCompositeNode(grammarAccess.getQuantifiedExpressionAccess().getQuantifierQuantifierEnumRuleCall_0_0()); + } + lv_quantifier_0_0=ruleQuantifier + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getQuantifiedExpressionRule()); + } + set( + $current, + "quantifier", + lv_quantifier_0_0, + "org.eclipse.viatra.solver.language.SolverLanguage.Quantifier"); + afterParserOrEnumRuleCall(); + } + ) + ) + ( + ( + { + newCompositeNode(grammarAccess.getQuantifiedExpressionAccess().getLocalVariablesLocalVariablesParserRuleCall_1_0()); + } + lv_localVariables_1_0=ruleLocalVariables + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getQuantifiedExpressionRule()); + } + set( + $current, + "localVariables", + lv_localVariables_1_0, + "org.eclipse.viatra.solver.language.SolverLanguage.LocalVariables"); + afterParserOrEnumRuleCall(); + } + ) + )? + otherlv_2=LeftCurlyBracket { - newLeafNode(otherlv_1, grammarAccess.getCountAccess().getLeftCurlyBracketKeyword_1()); + newLeafNode(otherlv_2, grammarAccess.getQuantifiedExpressionAccess().getLeftCurlyBracketKeyword_2()); } ( ( { - newCompositeNode(grammarAccess.getCountAccess().getBodyExpressionParserRuleCall_2_0()); + newCompositeNode(grammarAccess.getQuantifiedExpressionAccess().getBodyExpressionParserRuleCall_3_0()); } - lv_body_2_0=ruleExpression + lv_body_3_0=ruleExpression { if ($current==null) { - $current = createModelElementForParent(grammarAccess.getCountRule()); + $current = createModelElementForParent(grammarAccess.getQuantifiedExpressionRule()); } set( $current, "body", - lv_body_2_0, + lv_body_3_0, "org.eclipse.viatra.solver.language.SolverLanguage.Expression"); afterParserOrEnumRuleCall(); } ) ) - otherlv_3=RightCurlyBracket + otherlv_4=RightCurlyBracket { - newLeafNode(otherlv_3, grammarAccess.getCountAccess().getRightCurlyBracketKeyword_3()); + newLeafNode(otherlv_4, grammarAccess.getQuantifiedExpressionAccess().getRightCurlyBracketKeyword_4()); } ) ; @@ -1628,72 +2309,90 @@ ruleAggregation returns [EObject current=null] ( ( ( - { - newCompositeNode(grammarAccess.getAggregationAccess().getOpAggregationOpEnumRuleCall_0_0()); - } - lv_op_0_0=ruleAggregationOp { if ($current==null) { - $current = createModelElementForParent(grammarAccess.getAggregationRule()); + $current = createModelElement(grammarAccess.getAggregationRule()); } - set( - $current, - "op", - lv_op_0_0, - "org.eclipse.viatra.solver.language.SolverLanguage.AggregationOp"); + } + { + newCompositeNode(grammarAccess.getAggregationAccess().getOpNamedElementCrossReference_0_0()); + } + ruleQualifiedName + { afterParserOrEnumRuleCall(); } ) ) - otherlv_1=LeftCurlyBracket - { - newLeafNode(otherlv_1, grammarAccess.getAggregationAccess().getLeftCurlyBracketKeyword_1()); - } ( ( { - newCompositeNode(grammarAccess.getAggregationAccess().getBodyExpressionParserRuleCall_2_0()); + newCompositeNode(grammarAccess.getAggregationAccess().getLocalVariablesLocalVariablesParserRuleCall_1_0()); } - lv_body_2_0=ruleExpression + lv_localVariables_1_0=ruleLocalVariables { if ($current==null) { $current = createModelElementForParent(grammarAccess.getAggregationRule()); } set( $current, - "body", - lv_body_2_0, - "org.eclipse.viatra.solver.language.SolverLanguage.Expression"); + "localVariables", + lv_localVariables_1_0, + "org.eclipse.viatra.solver.language.SolverLanguage.LocalVariables"); afterParserOrEnumRuleCall(); } ) - ) - otherlv_3=VerticalLine + )? + otherlv_2=LeftCurlyBracket { - newLeafNode(otherlv_3, grammarAccess.getAggregationAccess().getVerticalLineKeyword_3()); + newLeafNode(otherlv_2, grammarAccess.getAggregationAccess().getLeftCurlyBracketKeyword_2()); } ( ( { - newCompositeNode(grammarAccess.getAggregationAccess().getConditionExpressionParserRuleCall_4_0()); + newCompositeNode(grammarAccess.getAggregationAccess().getBodyExpressionParserRuleCall_3_0()); } - lv_condition_4_0=ruleExpression + lv_body_3_0=ruleExpression { if ($current==null) { $current = createModelElementForParent(grammarAccess.getAggregationRule()); } set( $current, - "condition", - lv_condition_4_0, + "body", + lv_body_3_0, "org.eclipse.viatra.solver.language.SolverLanguage.Expression"); afterParserOrEnumRuleCall(); } ) ) - otherlv_5=RightCurlyBracket + ( + otherlv_4=VerticalLine + { + newLeafNode(otherlv_4, grammarAccess.getAggregationAccess().getVerticalLineKeyword_4_0()); + } + ( + ( + { + newCompositeNode(grammarAccess.getAggregationAccess().getConditionExpressionParserRuleCall_4_1_0()); + } + lv_condition_5_0=ruleExpression + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getAggregationRule()); + } + set( + $current, + "condition", + lv_condition_5_0, + "org.eclipse.viatra.solver.language.SolverLanguage.Expression"); + afterParserOrEnumRuleCall(); + } + ) + ) + )? + otherlv_6=RightCurlyBracket { - newLeafNode(otherlv_5, grammarAccess.getAggregationAccess().getRightCurlyBracketKeyword_5()); + newLeafNode(otherlv_6, grammarAccess.getAggregationAccess().getRightCurlyBracketKeyword_5()); } ) ; @@ -3485,8 +4184,8 @@ finally { myHiddenTokenState.restore(); } -// Rule MetricType -ruleMetricType returns [Enumerator current=null] +// Rule ImplicationOperator +ruleImplicationOperator returns [Enumerator current=null] @init { enterRule(); } @@ -3494,21 +4193,11 @@ ruleMetricType returns [Enumerator current=null] leaveRule(); }: ( - ( - enumLiteral_0=Int - { - $current = grammarAccess.getMetricTypeAccess().getINTEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); - newLeafNode(enumLiteral_0, grammarAccess.getMetricTypeAccess().getINTEnumLiteralDeclaration_0()); - } - ) - | - ( - enumLiteral_1=Real - { - $current = grammarAccess.getMetricTypeAccess().getREALEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); - newLeafNode(enumLiteral_1, grammarAccess.getMetricTypeAccess().getREALEnumLiteralDeclaration_1()); - } - ) + enumLiteral_0=EqualsSignGreaterThanSign + { + $current = grammarAccess.getImplicationOperatorAccess().getIMPLIESEnumLiteralDeclaration().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_0, grammarAccess.getImplicationOperatorAccess().getIMPLIESEnumLiteralDeclaration()); + } ) ; @@ -3709,8 +4398,8 @@ ruleUnaryOp returns [Enumerator current=null] ) ; -// Rule AggregationOp -ruleAggregationOp returns [Enumerator current=null] +// Rule Quantifier +ruleQuantifier returns [Enumerator current=null] @init { enterRule(); } @@ -3719,50 +4408,26 @@ ruleAggregationOp returns [Enumerator current=null] }: ( ( - enumLiteral_0=Only - { - $current = grammarAccess.getAggregationOpAccess().getONLYEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); - newLeafNode(enumLiteral_0, grammarAccess.getAggregationOpAccess().getONLYEnumLiteralDeclaration_0()); - } - ) - | - ( - enumLiteral_1=Sum - { - $current = grammarAccess.getAggregationOpAccess().getSUMEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); - newLeafNode(enumLiteral_1, grammarAccess.getAggregationOpAccess().getSUMEnumLiteralDeclaration_1()); - } - ) - | - ( - enumLiteral_2=Prod - { - $current = grammarAccess.getAggregationOpAccess().getPRODEnumLiteralDeclaration_2().getEnumLiteral().getInstance(); - newLeafNode(enumLiteral_2, grammarAccess.getAggregationOpAccess().getPRODEnumLiteralDeclaration_2()); - } - ) - | - ( - enumLiteral_3=Avg + enumLiteral_0=Exists { - $current = grammarAccess.getAggregationOpAccess().getAVGEnumLiteralDeclaration_3().getEnumLiteral().getInstance(); - newLeafNode(enumLiteral_3, grammarAccess.getAggregationOpAccess().getAVGEnumLiteralDeclaration_3()); + $current = grammarAccess.getQuantifierAccess().getEXISTSEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_0, grammarAccess.getQuantifierAccess().getEXISTSEnumLiteralDeclaration_0()); } ) | ( - enumLiteral_4=Min + enumLiteral_1=Forall { - $current = grammarAccess.getAggregationOpAccess().getMINEnumLiteralDeclaration_4().getEnumLiteral().getInstance(); - newLeafNode(enumLiteral_4, grammarAccess.getAggregationOpAccess().getMINEnumLiteralDeclaration_4()); + $current = grammarAccess.getQuantifierAccess().getFORALLEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_1, grammarAccess.getQuantifierAccess().getFORALLEnumLiteralDeclaration_1()); } ) | ( - enumLiteral_5=Max + enumLiteral_2=Count { - $current = grammarAccess.getAggregationOpAccess().getMAXEnumLiteralDeclaration_5().getEnumLiteral().getInstance(); - newLeafNode(enumLiteral_5, grammarAccess.getAggregationOpAccess().getMAXEnumLiteralDeclaration_5()); + $current = grammarAccess.getQuantifierAccess().getCOUNTEnumLiteralDeclaration_2().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_2, grammarAccess.getQuantifierAccess().getCOUNTEnumLiteralDeclaration_2()); } ) ) diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/parser/antlr/internal/InternalSolverLanguageParser.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/parser/antlr/internal/InternalSolverLanguageParser.java index 7dbfa002..3e25746c 100644 --- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/parser/antlr/internal/InternalSolverLanguageParser.java +++ b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/parser/antlr/internal/InternalSolverLanguageParser.java @@ -22,92 +22,79 @@ import java.util.ArrayList; @SuppressWarnings("all") public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { public static final String[] tokenNames = new String[] { - "", "", "", "", "GREATER_EQ", "Functional", "Abstract", "Contains", "Maximize", "Minimize", "Opposite", "GREATER", "LESS_EQ", "Current", "Default", "Extends", "Unknown", "NOT_EQ", "Extern", "Class", "Count", "Empty", "Error", "False", "Scope", "LESS", "Else", "Must", "Only", "Prod", "Real", "Then", "True", "ADD", "DIV", "MUL", "POW", "SUB", "Avg", "Inf", "Int", "Max", "May", "Min", "Sum", "ExclamationMarkEqualsSign", "HyphenMinusGreaterThanSign", "FullStopFullStop", "ColonHyphenMinus", "LessThanSignEqualsSign", "EqualsSignEqualsSign", "GreaterThanSignEqualsSign", "EQ", "IN", "If", "In", "ExclamationMark", "LeftParenthesis", "RightParenthesis", "Asterisk", "PlusSign", "Comma", "HyphenMinus", "FullStop", "Solidus", "Colon", "Semicolon", "LessThanSign", "EqualsSign", "GreaterThanSign", "LeftSquareBracket", "RightSquareBracket", "CircumflexAccent", "LeftCurlyBracket", "VerticalLine", "RightCurlyBracket", "RULE_STRING", "RULE_QUOTED_ID", "RULE_SL_COMMENT", "RULE_TRANSITIVE_CLOSURE", "RULE_REFLEXIVE_TRANSITIVE_CLOSURE", "RULE_FULL_STOP", "RULE_ID", "RULE_INT", "RULE_ML_COMMENT", "RULE_WS", "RULE_ANY_OTHER" + "", "", "", "", "Functional", "Abstract", "Contains", "Datatype", "Maximize", "Minimize", "Opposite", "Current", "Default", "Extends", "Unknown", "Exists", "Extern", "Forall", "Class", "Count", "Empty", "Error", "False", "Scope", "Else", "Must", "Then", "True", "FullStopFullStopFullStop", "Inf", "Let", "May", "ExclamationMarkEqualsSign", "HyphenMinusGreaterThanSign", "FullStopFullStop", "ColonHyphenMinus", "LessThanSignEqualsSign", "EqualsSignEqualsSign", "EqualsSignGreaterThanSign", "GreaterThanSignEqualsSign", "As", "If", "In", "ExclamationMark", "LeftParenthesis", "RightParenthesis", "Asterisk", "PlusSign", "Comma", "HyphenMinus", "FullStop", "Solidus", "Colon", "Semicolon", "LessThanSign", "EqualsSign", "GreaterThanSign", "LeftSquareBracket", "RightSquareBracket", "CircumflexAccent", "LeftCurlyBracket", "VerticalLine", "RightCurlyBracket", "RULE_STRING", "RULE_QUOTED_ID", "RULE_SL_COMMENT", "RULE_TRANSITIVE_CLOSURE", "RULE_REFLEXIVE_TRANSITIVE_CLOSURE", "RULE_FULL_STOP", "RULE_ID", "RULE_INT", "RULE_ML_COMMENT", "RULE_WS", "RULE_ANY_OTHER" }; - public static final int ADD=33; - public static final int True=32; - public static final int GREATER_EQ=4; - public static final int Count=20; - public static final int False=23; - public static final int Must=27; - public static final int LessThanSign=67; - public static final int LeftParenthesis=57; - public static final int Unknown=16; - public static final int RULE_REFLEXIVE_TRANSITIVE_CLOSURE=80; - public static final int FullStopFullStop=47; - public static final int Real=30; - public static final int Then=31; - public static final int Extends=15; - public static final int RightSquareBracket=71; - public static final int ExclamationMark=56; + public static final int EqualsSignGreaterThanSign=38; + public static final int True=27; + public static final int Count=19; + public static final int False=22; + public static final int Must=25; + public static final int FullStopFullStopFullStop=28; + public static final int LessThanSign=54; + public static final int Datatype=7; + public static final int LeftParenthesis=44; + public static final int Unknown=14; + public static final int RULE_REFLEXIVE_TRANSITIVE_CLOSURE=67; + public static final int FullStopFullStop=34; + public static final int Then=26; + public static final int Extends=13; + public static final int Forall=17; + public static final int RightSquareBracket=58; + public static final int ExclamationMark=43; public static final int Opposite=10; - public static final int SUB=37; - public static final int GreaterThanSign=69; - public static final int NOT_EQ=17; - public static final int RULE_ID=82; - public static final int MUL=35; - public static final int IN=53; - public static final int RULE_QUOTED_ID=77; - public static final int RightParenthesis=58; - public static final int Sum=44; - public static final int EQ=52; - public static final int GreaterThanSignEqualsSign=51; - public static final int Functional=5; - public static final int EqualsSignEqualsSign=50; - public static final int Avg=38; - public static final int Min=43; - public static final int VerticalLine=74; - public static final int PlusSign=60; - public static final int RULE_INT=83; - public static final int Contains=7; - public static final int RULE_ML_COMMENT=84; - public static final int POW=36; - public static final int RULE_TRANSITIVE_CLOSURE=79; - public static final int Class=19; - public static final int LESS=25; - public static final int LeftSquareBracket=70; - public static final int RULE_FULL_STOP=81; - public static final int Current=13; - public static final int If=54; - public static final int Inf=39; - public static final int LESS_EQ=12; - public static final int May=42; - public static final int Max=41; - public static final int In=55; - public static final int RULE_STRING=76; - public static final int Int=40; - public static final int Extern=18; - public static final int RULE_SL_COMMENT=78; - public static final int Prod=29; - public static final int Comma=61; - public static final int EqualsSign=68; - public static final int Empty=21; - public static final int HyphenMinus=62; + public static final int GreaterThanSign=56; + public static final int RULE_ID=69; + public static final int RULE_QUOTED_ID=64; + public static final int RightParenthesis=45; + public static final int GreaterThanSignEqualsSign=39; + public static final int Functional=4; + public static final int EqualsSignEqualsSign=37; + public static final int VerticalLine=61; + public static final int PlusSign=47; + public static final int RULE_INT=70; + public static final int Contains=6; + public static final int RULE_ML_COMMENT=71; + public static final int RULE_TRANSITIVE_CLOSURE=66; + public static final int Class=18; + public static final int LeftSquareBracket=57; + public static final int RULE_FULL_STOP=68; + public static final int Current=11; + public static final int If=41; + public static final int Inf=29; + public static final int May=31; + public static final int In=42; + public static final int RULE_STRING=63; + public static final int Extern=16; + public static final int RULE_SL_COMMENT=65; + public static final int Comma=48; + public static final int EqualsSign=55; + public static final int Empty=20; + public static final int As=40; + public static final int HyphenMinus=49; public static final int Maximize=8; - public static final int LessThanSignEqualsSign=49; - public static final int Solidus=64; - public static final int Colon=65; - public static final int RightCurlyBracket=75; + public static final int LessThanSignEqualsSign=36; + public static final int Solidus=51; + public static final int Colon=52; + public static final int RightCurlyBracket=62; public static final int EOF=-1; - public static final int Asterisk=59; - public static final int FullStop=63; - public static final int RULE_WS=85; - public static final int Abstract=6; + public static final int Asterisk=46; + public static final int FullStop=50; + public static final int RULE_WS=72; + public static final int Abstract=5; public static final int Minimize=9; - public static final int GREATER=11; - public static final int LeftCurlyBracket=73; - public static final int Error=22; - public static final int Only=28; - public static final int RULE_ANY_OTHER=86; - public static final int Default=14; - public static final int ColonHyphenMinus=48; - public static final int CircumflexAccent=72; - public static final int DIV=34; - public static final int Semicolon=66; - public static final int Scope=24; - public static final int Else=26; - public static final int ExclamationMarkEqualsSign=45; - public static final int HyphenMinusGreaterThanSign=46; + public static final int LeftCurlyBracket=60; + public static final int Error=21; + public static final int RULE_ANY_OTHER=73; + public static final int Default=12; + public static final int ColonHyphenMinus=35; + public static final int CircumflexAccent=59; + public static final int Semicolon=53; + public static final int Scope=23; + public static final int Exists=15; + public static final int Else=24; + public static final int Let=30; + public static final int ExclamationMarkEqualsSign=32; + public static final int HyphenMinusGreaterThanSign=33; // delegates // delegators @@ -205,7 +192,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { int alt1=2; int LA1_0 = input.LA(1); - if ( ((LA1_0>=Functional && LA1_0<=Abstract)||(LA1_0>=Maximize && LA1_0<=Minimize)||(LA1_0>=Current && LA1_0<=Default)||LA1_0==Unknown||(LA1_0>=Extern && LA1_0<=False)||LA1_0==Scope||(LA1_0>=Must && LA1_0<=Real)||LA1_0==True||(LA1_0>=Avg && LA1_0<=Sum)||LA1_0==If||(LA1_0>=ExclamationMark && LA1_0<=LeftParenthesis)||LA1_0==PlusSign||LA1_0==HyphenMinus||LA1_0==LeftSquareBracket||(LA1_0>=RULE_STRING && LA1_0<=RULE_QUOTED_ID)||(LA1_0>=RULE_ID && LA1_0<=RULE_INT)) ) { + if ( ((LA1_0>=Functional && LA1_0<=Abstract)||(LA1_0>=Maximize && LA1_0<=Minimize)||(LA1_0>=Current && LA1_0<=Default)||(LA1_0>=Unknown && LA1_0<=False)||LA1_0==Scope||LA1_0==Must||LA1_0==True||(LA1_0>=Inf && LA1_0<=May)||LA1_0==If||(LA1_0>=ExclamationMark && LA1_0<=LeftParenthesis)||LA1_0==PlusSign||LA1_0==HyphenMinus||LA1_0==LeftSquareBracket||(LA1_0>=RULE_STRING && LA1_0<=RULE_QUOTED_ID)||(LA1_0>=RULE_ID && LA1_0<=RULE_INT)) ) { alt1=1; } @@ -304,11 +291,11 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleStatement" - // InternalSolverLanguageParser.g:101:1: ruleStatement returns [EObject current=null] : ( (this_AssertionOrDefinition_0= ruleAssertionOrDefinition | this_PredicateDefinition_1= rulePredicateDefinition | this_UnnamedErrorPrediateDefinition_2= ruleUnnamedErrorPrediateDefinition | this_DefaultDefinition_3= ruleDefaultDefinition | this_ExternPredicateDefinition_4= ruleExternPredicateDefinition | this_MetricDefinition_5= ruleMetricDefinition | this_ExternMetricDefinition_6= ruleExternMetricDefinition | this_ClassDefinition_7= ruleClassDefinition | this_ScopeDefinition_8= ruleScopeDefinition | this_ObjectiveDefinition_9= ruleObjectiveDefinition ) this_FULL_STOP_10= RULE_FULL_STOP ) ; + // InternalSolverLanguageParser.g:101:1: ruleStatement returns [EObject current=null] : ( (this_AssertionOrDefinition_0= ruleAssertionOrDefinition | this_PredicateDefinition_1= rulePredicateDefinition | this_UnnamedErrorPrediateDefinition_2= ruleUnnamedErrorPrediateDefinition | this_DefaultDefinition_3= ruleDefaultDefinition | this_MetricDefinition_4= ruleMetricDefinition | this_ExternPredicateDefinition_5= ruleExternPredicateDefinition | this_ExternMetricDefinition_6= ruleExternMetricDefinition | this_ExternAggregatorDefinition_7= ruleExternAggregatorDefinition | this_ExternDatatypeDefinition_8= ruleExternDatatypeDefinition | this_ClassDefinition_9= ruleClassDefinition | this_ScopeDefinition_10= ruleScopeDefinition | this_ObjectiveDefinition_11= ruleObjectiveDefinition ) this_FULL_STOP_12= RULE_FULL_STOP ) ; public final EObject ruleStatement() throws RecognitionException { EObject current = null; - Token this_FULL_STOP_10=null; + Token this_FULL_STOP_12=null; EObject this_AssertionOrDefinition_0 = null; EObject this_PredicateDefinition_1 = null; @@ -317,31 +304,35 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { EObject this_DefaultDefinition_3 = null; - EObject this_ExternPredicateDefinition_4 = null; + EObject this_MetricDefinition_4 = null; - EObject this_MetricDefinition_5 = null; + EObject this_ExternPredicateDefinition_5 = null; EObject this_ExternMetricDefinition_6 = null; - EObject this_ClassDefinition_7 = null; + EObject this_ExternAggregatorDefinition_7 = null; - EObject this_ScopeDefinition_8 = null; + EObject this_ExternDatatypeDefinition_8 = null; - EObject this_ObjectiveDefinition_9 = null; + EObject this_ClassDefinition_9 = null; + + EObject this_ScopeDefinition_10 = null; + + EObject this_ObjectiveDefinition_11 = null; enterRule(); try { - // InternalSolverLanguageParser.g:107:2: ( ( (this_AssertionOrDefinition_0= ruleAssertionOrDefinition | this_PredicateDefinition_1= rulePredicateDefinition | this_UnnamedErrorPrediateDefinition_2= ruleUnnamedErrorPrediateDefinition | this_DefaultDefinition_3= ruleDefaultDefinition | this_ExternPredicateDefinition_4= ruleExternPredicateDefinition | this_MetricDefinition_5= ruleMetricDefinition | this_ExternMetricDefinition_6= ruleExternMetricDefinition | this_ClassDefinition_7= ruleClassDefinition | this_ScopeDefinition_8= ruleScopeDefinition | this_ObjectiveDefinition_9= ruleObjectiveDefinition ) this_FULL_STOP_10= RULE_FULL_STOP ) ) - // InternalSolverLanguageParser.g:108:2: ( (this_AssertionOrDefinition_0= ruleAssertionOrDefinition | this_PredicateDefinition_1= rulePredicateDefinition | this_UnnamedErrorPrediateDefinition_2= ruleUnnamedErrorPrediateDefinition | this_DefaultDefinition_3= ruleDefaultDefinition | this_ExternPredicateDefinition_4= ruleExternPredicateDefinition | this_MetricDefinition_5= ruleMetricDefinition | this_ExternMetricDefinition_6= ruleExternMetricDefinition | this_ClassDefinition_7= ruleClassDefinition | this_ScopeDefinition_8= ruleScopeDefinition | this_ObjectiveDefinition_9= ruleObjectiveDefinition ) this_FULL_STOP_10= RULE_FULL_STOP ) + // InternalSolverLanguageParser.g:107:2: ( ( (this_AssertionOrDefinition_0= ruleAssertionOrDefinition | this_PredicateDefinition_1= rulePredicateDefinition | this_UnnamedErrorPrediateDefinition_2= ruleUnnamedErrorPrediateDefinition | this_DefaultDefinition_3= ruleDefaultDefinition | this_MetricDefinition_4= ruleMetricDefinition | this_ExternPredicateDefinition_5= ruleExternPredicateDefinition | this_ExternMetricDefinition_6= ruleExternMetricDefinition | this_ExternAggregatorDefinition_7= ruleExternAggregatorDefinition | this_ExternDatatypeDefinition_8= ruleExternDatatypeDefinition | this_ClassDefinition_9= ruleClassDefinition | this_ScopeDefinition_10= ruleScopeDefinition | this_ObjectiveDefinition_11= ruleObjectiveDefinition ) this_FULL_STOP_12= RULE_FULL_STOP ) ) + // InternalSolverLanguageParser.g:108:2: ( (this_AssertionOrDefinition_0= ruleAssertionOrDefinition | this_PredicateDefinition_1= rulePredicateDefinition | this_UnnamedErrorPrediateDefinition_2= ruleUnnamedErrorPrediateDefinition | this_DefaultDefinition_3= ruleDefaultDefinition | this_MetricDefinition_4= ruleMetricDefinition | this_ExternPredicateDefinition_5= ruleExternPredicateDefinition | this_ExternMetricDefinition_6= ruleExternMetricDefinition | this_ExternAggregatorDefinition_7= ruleExternAggregatorDefinition | this_ExternDatatypeDefinition_8= ruleExternDatatypeDefinition | this_ClassDefinition_9= ruleClassDefinition | this_ScopeDefinition_10= ruleScopeDefinition | this_ObjectiveDefinition_11= ruleObjectiveDefinition ) this_FULL_STOP_12= RULE_FULL_STOP ) { - // InternalSolverLanguageParser.g:108:2: ( (this_AssertionOrDefinition_0= ruleAssertionOrDefinition | this_PredicateDefinition_1= rulePredicateDefinition | this_UnnamedErrorPrediateDefinition_2= ruleUnnamedErrorPrediateDefinition | this_DefaultDefinition_3= ruleDefaultDefinition | this_ExternPredicateDefinition_4= ruleExternPredicateDefinition | this_MetricDefinition_5= ruleMetricDefinition | this_ExternMetricDefinition_6= ruleExternMetricDefinition | this_ClassDefinition_7= ruleClassDefinition | this_ScopeDefinition_8= ruleScopeDefinition | this_ObjectiveDefinition_9= ruleObjectiveDefinition ) this_FULL_STOP_10= RULE_FULL_STOP ) - // InternalSolverLanguageParser.g:109:3: (this_AssertionOrDefinition_0= ruleAssertionOrDefinition | this_PredicateDefinition_1= rulePredicateDefinition | this_UnnamedErrorPrediateDefinition_2= ruleUnnamedErrorPrediateDefinition | this_DefaultDefinition_3= ruleDefaultDefinition | this_ExternPredicateDefinition_4= ruleExternPredicateDefinition | this_MetricDefinition_5= ruleMetricDefinition | this_ExternMetricDefinition_6= ruleExternMetricDefinition | this_ClassDefinition_7= ruleClassDefinition | this_ScopeDefinition_8= ruleScopeDefinition | this_ObjectiveDefinition_9= ruleObjectiveDefinition ) this_FULL_STOP_10= RULE_FULL_STOP + // InternalSolverLanguageParser.g:108:2: ( (this_AssertionOrDefinition_0= ruleAssertionOrDefinition | this_PredicateDefinition_1= rulePredicateDefinition | this_UnnamedErrorPrediateDefinition_2= ruleUnnamedErrorPrediateDefinition | this_DefaultDefinition_3= ruleDefaultDefinition | this_MetricDefinition_4= ruleMetricDefinition | this_ExternPredicateDefinition_5= ruleExternPredicateDefinition | this_ExternMetricDefinition_6= ruleExternMetricDefinition | this_ExternAggregatorDefinition_7= ruleExternAggregatorDefinition | this_ExternDatatypeDefinition_8= ruleExternDatatypeDefinition | this_ClassDefinition_9= ruleClassDefinition | this_ScopeDefinition_10= ruleScopeDefinition | this_ObjectiveDefinition_11= ruleObjectiveDefinition ) this_FULL_STOP_12= RULE_FULL_STOP ) + // InternalSolverLanguageParser.g:109:3: (this_AssertionOrDefinition_0= ruleAssertionOrDefinition | this_PredicateDefinition_1= rulePredicateDefinition | this_UnnamedErrorPrediateDefinition_2= ruleUnnamedErrorPrediateDefinition | this_DefaultDefinition_3= ruleDefaultDefinition | this_MetricDefinition_4= ruleMetricDefinition | this_ExternPredicateDefinition_5= ruleExternPredicateDefinition | this_ExternMetricDefinition_6= ruleExternMetricDefinition | this_ExternAggregatorDefinition_7= ruleExternAggregatorDefinition | this_ExternDatatypeDefinition_8= ruleExternDatatypeDefinition | this_ClassDefinition_9= ruleClassDefinition | this_ScopeDefinition_10= ruleScopeDefinition | this_ObjectiveDefinition_11= ruleObjectiveDefinition ) this_FULL_STOP_12= RULE_FULL_STOP { - // InternalSolverLanguageParser.g:109:3: (this_AssertionOrDefinition_0= ruleAssertionOrDefinition | this_PredicateDefinition_1= rulePredicateDefinition | this_UnnamedErrorPrediateDefinition_2= ruleUnnamedErrorPrediateDefinition | this_DefaultDefinition_3= ruleDefaultDefinition | this_ExternPredicateDefinition_4= ruleExternPredicateDefinition | this_MetricDefinition_5= ruleMetricDefinition | this_ExternMetricDefinition_6= ruleExternMetricDefinition | this_ClassDefinition_7= ruleClassDefinition | this_ScopeDefinition_8= ruleScopeDefinition | this_ObjectiveDefinition_9= ruleObjectiveDefinition ) - int alt2=10; + // InternalSolverLanguageParser.g:109:3: (this_AssertionOrDefinition_0= ruleAssertionOrDefinition | this_PredicateDefinition_1= rulePredicateDefinition | this_UnnamedErrorPrediateDefinition_2= ruleUnnamedErrorPrediateDefinition | this_DefaultDefinition_3= ruleDefaultDefinition | this_MetricDefinition_4= ruleMetricDefinition | this_ExternPredicateDefinition_5= ruleExternPredicateDefinition | this_ExternMetricDefinition_6= ruleExternMetricDefinition | this_ExternAggregatorDefinition_7= ruleExternAggregatorDefinition | this_ExternDatatypeDefinition_8= ruleExternDatatypeDefinition | this_ClassDefinition_9= ruleClassDefinition | this_ScopeDefinition_10= ruleScopeDefinition | this_ObjectiveDefinition_11= ruleObjectiveDefinition ) + int alt2=12; alt2 = dfa2.predict(input); switch (alt2) { case 1 : @@ -417,36 +408,36 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } break; case 5 : - // InternalSolverLanguageParser.g:146:4: this_ExternPredicateDefinition_4= ruleExternPredicateDefinition + // InternalSolverLanguageParser.g:146:4: this_MetricDefinition_4= ruleMetricDefinition { - newCompositeNode(grammarAccess.getStatementAccess().getExternPredicateDefinitionParserRuleCall_0_4()); + newCompositeNode(grammarAccess.getStatementAccess().getMetricDefinitionParserRuleCall_0_4()); pushFollow(FOLLOW_4); - this_ExternPredicateDefinition_4=ruleExternPredicateDefinition(); + this_MetricDefinition_4=ruleMetricDefinition(); state._fsp--; - current = this_ExternPredicateDefinition_4; + current = this_MetricDefinition_4; afterParserOrEnumRuleCall(); } break; case 6 : - // InternalSolverLanguageParser.g:155:4: this_MetricDefinition_5= ruleMetricDefinition + // InternalSolverLanguageParser.g:155:4: this_ExternPredicateDefinition_5= ruleExternPredicateDefinition { - newCompositeNode(grammarAccess.getStatementAccess().getMetricDefinitionParserRuleCall_0_5()); + newCompositeNode(grammarAccess.getStatementAccess().getExternPredicateDefinitionParserRuleCall_0_5()); pushFollow(FOLLOW_4); - this_MetricDefinition_5=ruleMetricDefinition(); + this_ExternPredicateDefinition_5=ruleExternPredicateDefinition(); state._fsp--; - current = this_MetricDefinition_5; + current = this_ExternPredicateDefinition_5; afterParserOrEnumRuleCall(); @@ -471,54 +462,90 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } break; case 8 : - // InternalSolverLanguageParser.g:173:4: this_ClassDefinition_7= ruleClassDefinition + // InternalSolverLanguageParser.g:173:4: this_ExternAggregatorDefinition_7= ruleExternAggregatorDefinition { - newCompositeNode(grammarAccess.getStatementAccess().getClassDefinitionParserRuleCall_0_7()); + newCompositeNode(grammarAccess.getStatementAccess().getExternAggregatorDefinitionParserRuleCall_0_7()); pushFollow(FOLLOW_4); - this_ClassDefinition_7=ruleClassDefinition(); + this_ExternAggregatorDefinition_7=ruleExternAggregatorDefinition(); state._fsp--; - current = this_ClassDefinition_7; + current = this_ExternAggregatorDefinition_7; afterParserOrEnumRuleCall(); } break; case 9 : - // InternalSolverLanguageParser.g:182:4: this_ScopeDefinition_8= ruleScopeDefinition + // InternalSolverLanguageParser.g:182:4: this_ExternDatatypeDefinition_8= ruleExternDatatypeDefinition { - newCompositeNode(grammarAccess.getStatementAccess().getScopeDefinitionParserRuleCall_0_8()); + newCompositeNode(grammarAccess.getStatementAccess().getExternDatatypeDefinitionParserRuleCall_0_8()); pushFollow(FOLLOW_4); - this_ScopeDefinition_8=ruleScopeDefinition(); + this_ExternDatatypeDefinition_8=ruleExternDatatypeDefinition(); state._fsp--; - current = this_ScopeDefinition_8; + current = this_ExternDatatypeDefinition_8; afterParserOrEnumRuleCall(); } break; case 10 : - // InternalSolverLanguageParser.g:191:4: this_ObjectiveDefinition_9= ruleObjectiveDefinition + // InternalSolverLanguageParser.g:191:4: this_ClassDefinition_9= ruleClassDefinition + { + + newCompositeNode(grammarAccess.getStatementAccess().getClassDefinitionParserRuleCall_0_9()); + + pushFollow(FOLLOW_4); + this_ClassDefinition_9=ruleClassDefinition(); + + state._fsp--; + + + current = this_ClassDefinition_9; + afterParserOrEnumRuleCall(); + + + } + break; + case 11 : + // InternalSolverLanguageParser.g:200:4: this_ScopeDefinition_10= ruleScopeDefinition + { + + newCompositeNode(grammarAccess.getStatementAccess().getScopeDefinitionParserRuleCall_0_10()); + + pushFollow(FOLLOW_4); + this_ScopeDefinition_10=ruleScopeDefinition(); + + state._fsp--; + + + current = this_ScopeDefinition_10; + afterParserOrEnumRuleCall(); + + + } + break; + case 12 : + // InternalSolverLanguageParser.g:209:4: this_ObjectiveDefinition_11= ruleObjectiveDefinition { - newCompositeNode(grammarAccess.getStatementAccess().getObjectiveDefinitionParserRuleCall_0_9()); + newCompositeNode(grammarAccess.getStatementAccess().getObjectiveDefinitionParserRuleCall_0_11()); pushFollow(FOLLOW_4); - this_ObjectiveDefinition_9=ruleObjectiveDefinition(); + this_ObjectiveDefinition_11=ruleObjectiveDefinition(); state._fsp--; - current = this_ObjectiveDefinition_9; + current = this_ObjectiveDefinition_11; afterParserOrEnumRuleCall(); @@ -527,9 +554,9 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } - this_FULL_STOP_10=(Token)match(input,RULE_FULL_STOP,FOLLOW_2); + this_FULL_STOP_12=(Token)match(input,RULE_FULL_STOP,FOLLOW_2); - newLeafNode(this_FULL_STOP_10, grammarAccess.getStatementAccess().getFULL_STOPTerminalRuleCall_1()); + newLeafNode(this_FULL_STOP_12, grammarAccess.getStatementAccess().getFULL_STOPTerminalRuleCall_1()); } @@ -554,7 +581,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleAssertionOrDefinition" - // InternalSolverLanguageParser.g:208:1: entryRuleAssertionOrDefinition returns [EObject current=null] : iv_ruleAssertionOrDefinition= ruleAssertionOrDefinition EOF ; + // InternalSolverLanguageParser.g:226:1: entryRuleAssertionOrDefinition returns [EObject current=null] : iv_ruleAssertionOrDefinition= ruleAssertionOrDefinition EOF ; public final EObject entryRuleAssertionOrDefinition() throws RecognitionException { EObject current = null; @@ -562,8 +589,8 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { try { - // InternalSolverLanguageParser.g:208:62: (iv_ruleAssertionOrDefinition= ruleAssertionOrDefinition EOF ) - // InternalSolverLanguageParser.g:209:2: iv_ruleAssertionOrDefinition= ruleAssertionOrDefinition EOF + // InternalSolverLanguageParser.g:226:62: (iv_ruleAssertionOrDefinition= ruleAssertionOrDefinition EOF ) + // InternalSolverLanguageParser.g:227:2: iv_ruleAssertionOrDefinition= ruleAssertionOrDefinition EOF { newCompositeNode(grammarAccess.getAssertionOrDefinitionRule()); pushFollow(FOLLOW_1); @@ -590,7 +617,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleAssertionOrDefinition" - // InternalSolverLanguageParser.g:215:1: ruleAssertionOrDefinition returns [EObject current=null] : (this_Expression_0= ruleExpression ( ( () (otherlv_2= Colon ( (lv_range_3_0= ruleExpression ) ) )? ) | ( () otherlv_5= ColonHyphenMinus ( (lv_body_6_0= ruleExpression ) ) ) | ( () otherlv_8= EqualsSign ( (lv_body_9_0= ruleExpression ) ) ) ) ) ; + // InternalSolverLanguageParser.g:233:1: ruleAssertionOrDefinition returns [EObject current=null] : (this_Expression_0= ruleExpression ( ( () otherlv_2= Colon ( (lv_range_3_0= ruleExpression ) ) ) | ( () otherlv_5= ColonHyphenMinus ( (lv_body_6_0= ruleExpression ) ) ) | ( () otherlv_8= EqualsSign ( (lv_body_9_0= ruleExpression ) ) ) )? ) ; public final EObject ruleAssertionOrDefinition() throws RecognitionException { EObject current = null; @@ -610,11 +637,11 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { enterRule(); try { - // InternalSolverLanguageParser.g:221:2: ( (this_Expression_0= ruleExpression ( ( () (otherlv_2= Colon ( (lv_range_3_0= ruleExpression ) ) )? ) | ( () otherlv_5= ColonHyphenMinus ( (lv_body_6_0= ruleExpression ) ) ) | ( () otherlv_8= EqualsSign ( (lv_body_9_0= ruleExpression ) ) ) ) ) ) - // InternalSolverLanguageParser.g:222:2: (this_Expression_0= ruleExpression ( ( () (otherlv_2= Colon ( (lv_range_3_0= ruleExpression ) ) )? ) | ( () otherlv_5= ColonHyphenMinus ( (lv_body_6_0= ruleExpression ) ) ) | ( () otherlv_8= EqualsSign ( (lv_body_9_0= ruleExpression ) ) ) ) ) + // InternalSolverLanguageParser.g:239:2: ( (this_Expression_0= ruleExpression ( ( () otherlv_2= Colon ( (lv_range_3_0= ruleExpression ) ) ) | ( () otherlv_5= ColonHyphenMinus ( (lv_body_6_0= ruleExpression ) ) ) | ( () otherlv_8= EqualsSign ( (lv_body_9_0= ruleExpression ) ) ) )? ) ) + // InternalSolverLanguageParser.g:240:2: (this_Expression_0= ruleExpression ( ( () otherlv_2= Colon ( (lv_range_3_0= ruleExpression ) ) ) | ( () otherlv_5= ColonHyphenMinus ( (lv_body_6_0= ruleExpression ) ) ) | ( () otherlv_8= EqualsSign ( (lv_body_9_0= ruleExpression ) ) ) )? ) { - // InternalSolverLanguageParser.g:222:2: (this_Expression_0= ruleExpression ( ( () (otherlv_2= Colon ( (lv_range_3_0= ruleExpression ) ) )? ) | ( () otherlv_5= ColonHyphenMinus ( (lv_body_6_0= ruleExpression ) ) ) | ( () otherlv_8= EqualsSign ( (lv_body_9_0= ruleExpression ) ) ) ) ) - // InternalSolverLanguageParser.g:223:3: this_Expression_0= ruleExpression ( ( () (otherlv_2= Colon ( (lv_range_3_0= ruleExpression ) ) )? ) | ( () otherlv_5= ColonHyphenMinus ( (lv_body_6_0= ruleExpression ) ) ) | ( () otherlv_8= EqualsSign ( (lv_body_9_0= ruleExpression ) ) ) ) + // InternalSolverLanguageParser.g:240:2: (this_Expression_0= ruleExpression ( ( () otherlv_2= Colon ( (lv_range_3_0= ruleExpression ) ) ) | ( () otherlv_5= ColonHyphenMinus ( (lv_body_6_0= ruleExpression ) ) ) | ( () otherlv_8= EqualsSign ( (lv_body_9_0= ruleExpression ) ) ) )? ) + // InternalSolverLanguageParser.g:241:3: this_Expression_0= ruleExpression ( ( () otherlv_2= Colon ( (lv_range_3_0= ruleExpression ) ) ) | ( () otherlv_5= ColonHyphenMinus ( (lv_body_6_0= ruleExpression ) ) ) | ( () otherlv_8= EqualsSign ( (lv_body_9_0= ruleExpression ) ) ) )? { newCompositeNode(grammarAccess.getAssertionOrDefinitionAccess().getExpressionParserRuleCall_0()); @@ -628,100 +655,76 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { current = this_Expression_0; afterParserOrEnumRuleCall(); - // InternalSolverLanguageParser.g:231:3: ( ( () (otherlv_2= Colon ( (lv_range_3_0= ruleExpression ) ) )? ) | ( () otherlv_5= ColonHyphenMinus ( (lv_body_6_0= ruleExpression ) ) ) | ( () otherlv_8= EqualsSign ( (lv_body_9_0= ruleExpression ) ) ) ) - int alt4=3; + // InternalSolverLanguageParser.g:249:3: ( ( () otherlv_2= Colon ( (lv_range_3_0= ruleExpression ) ) ) | ( () otherlv_5= ColonHyphenMinus ( (lv_body_6_0= ruleExpression ) ) ) | ( () otherlv_8= EqualsSign ( (lv_body_9_0= ruleExpression ) ) ) )? + int alt3=4; switch ( input.LA(1) ) { - case EOF: - case Colon: - case RULE_FULL_STOP: - { - alt4=1; - } - break; - case ColonHyphenMinus: - { - alt4=2; - } - break; - case EqualsSign: - { - alt4=3; - } - break; - default: - NoViableAltException nvae = - new NoViableAltException("", 4, 0, input); - - throw nvae; + case Colon: + { + alt3=1; + } + break; + case ColonHyphenMinus: + { + alt3=2; + } + break; + case EqualsSign: + { + alt3=3; + } + break; } - switch (alt4) { + switch (alt3) { case 1 : - // InternalSolverLanguageParser.g:232:4: ( () (otherlv_2= Colon ( (lv_range_3_0= ruleExpression ) ) )? ) + // InternalSolverLanguageParser.g:250:4: ( () otherlv_2= Colon ( (lv_range_3_0= ruleExpression ) ) ) { - // InternalSolverLanguageParser.g:232:4: ( () (otherlv_2= Colon ( (lv_range_3_0= ruleExpression ) ) )? ) - // InternalSolverLanguageParser.g:233:5: () (otherlv_2= Colon ( (lv_range_3_0= ruleExpression ) ) )? + // InternalSolverLanguageParser.g:250:4: ( () otherlv_2= Colon ( (lv_range_3_0= ruleExpression ) ) ) + // InternalSolverLanguageParser.g:251:5: () otherlv_2= Colon ( (lv_range_3_0= ruleExpression ) ) { - // InternalSolverLanguageParser.g:233:5: () - // InternalSolverLanguageParser.g:234:6: + // InternalSolverLanguageParser.g:251:5: () + // InternalSolverLanguageParser.g:252:6: { current = forceCreateModelElementAndSet( - grammarAccess.getAssertionOrDefinitionAccess().getAssertionBodyAction_1_0_0(), + grammarAccess.getAssertionOrDefinitionAccess().getInterpretationBodyAction_1_0_0(), current); } - // InternalSolverLanguageParser.g:240:5: (otherlv_2= Colon ( (lv_range_3_0= ruleExpression ) ) )? - int alt3=2; - int LA3_0 = input.LA(1); - - if ( (LA3_0==Colon) ) { - alt3=1; - } - switch (alt3) { - case 1 : - // InternalSolverLanguageParser.g:241:6: otherlv_2= Colon ( (lv_range_3_0= ruleExpression ) ) - { - otherlv_2=(Token)match(input,Colon,FOLLOW_6); - - newLeafNode(otherlv_2, grammarAccess.getAssertionOrDefinitionAccess().getColonKeyword_1_0_1_0()); - - // InternalSolverLanguageParser.g:245:6: ( (lv_range_3_0= ruleExpression ) ) - // InternalSolverLanguageParser.g:246:7: (lv_range_3_0= ruleExpression ) - { - // InternalSolverLanguageParser.g:246:7: (lv_range_3_0= ruleExpression ) - // InternalSolverLanguageParser.g:247:8: lv_range_3_0= ruleExpression - { - - newCompositeNode(grammarAccess.getAssertionOrDefinitionAccess().getRangeExpressionParserRuleCall_1_0_1_1_0()); - - pushFollow(FOLLOW_2); - lv_range_3_0=ruleExpression(); - - state._fsp--; + otherlv_2=(Token)match(input,Colon,FOLLOW_6); + newLeafNode(otherlv_2, grammarAccess.getAssertionOrDefinitionAccess().getColonKeyword_1_0_1()); + + // InternalSolverLanguageParser.g:262:5: ( (lv_range_3_0= ruleExpression ) ) + // InternalSolverLanguageParser.g:263:6: (lv_range_3_0= ruleExpression ) + { + // InternalSolverLanguageParser.g:263:6: (lv_range_3_0= ruleExpression ) + // InternalSolverLanguageParser.g:264:7: lv_range_3_0= ruleExpression + { - if (current==null) { - current = createModelElementForParent(grammarAccess.getAssertionOrDefinitionRule()); - } - set( - current, - "range", - lv_range_3_0, - "org.eclipse.viatra.solver.language.SolverLanguage.Expression"); - afterParserOrEnumRuleCall(); - + newCompositeNode(grammarAccess.getAssertionOrDefinitionAccess().getRangeExpressionParserRuleCall_1_0_2_0()); + + pushFollow(FOLLOW_2); + lv_range_3_0=ruleExpression(); - } + state._fsp--; - } + if (current==null) { + current = createModelElementForParent(grammarAccess.getAssertionOrDefinitionRule()); + } + set( + current, + "range", + lv_range_3_0, + "org.eclipse.viatra.solver.language.SolverLanguage.Expression"); + afterParserOrEnumRuleCall(); + + } - } - break; } @@ -732,13 +735,13 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } break; case 2 : - // InternalSolverLanguageParser.g:267:4: ( () otherlv_5= ColonHyphenMinus ( (lv_body_6_0= ruleExpression ) ) ) + // InternalSolverLanguageParser.g:283:4: ( () otherlv_5= ColonHyphenMinus ( (lv_body_6_0= ruleExpression ) ) ) { - // InternalSolverLanguageParser.g:267:4: ( () otherlv_5= ColonHyphenMinus ( (lv_body_6_0= ruleExpression ) ) ) - // InternalSolverLanguageParser.g:268:5: () otherlv_5= ColonHyphenMinus ( (lv_body_6_0= ruleExpression ) ) + // InternalSolverLanguageParser.g:283:4: ( () otherlv_5= ColonHyphenMinus ( (lv_body_6_0= ruleExpression ) ) ) + // InternalSolverLanguageParser.g:284:5: () otherlv_5= ColonHyphenMinus ( (lv_body_6_0= ruleExpression ) ) { - // InternalSolverLanguageParser.g:268:5: () - // InternalSolverLanguageParser.g:269:6: + // InternalSolverLanguageParser.g:284:5: () + // InternalSolverLanguageParser.g:285:6: { current = forceCreateModelElementAndSet( @@ -752,11 +755,11 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { newLeafNode(otherlv_5, grammarAccess.getAssertionOrDefinitionAccess().getColonHyphenMinusKeyword_1_1_1()); - // InternalSolverLanguageParser.g:279:5: ( (lv_body_6_0= ruleExpression ) ) - // InternalSolverLanguageParser.g:280:6: (lv_body_6_0= ruleExpression ) + // InternalSolverLanguageParser.g:295:5: ( (lv_body_6_0= ruleExpression ) ) + // InternalSolverLanguageParser.g:296:6: (lv_body_6_0= ruleExpression ) { - // InternalSolverLanguageParser.g:280:6: (lv_body_6_0= ruleExpression ) - // InternalSolverLanguageParser.g:281:7: lv_body_6_0= ruleExpression + // InternalSolverLanguageParser.g:296:6: (lv_body_6_0= ruleExpression ) + // InternalSolverLanguageParser.g:297:7: lv_body_6_0= ruleExpression { newCompositeNode(grammarAccess.getAssertionOrDefinitionAccess().getBodyExpressionParserRuleCall_1_1_2_0()); @@ -790,13 +793,13 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } break; case 3 : - // InternalSolverLanguageParser.g:300:4: ( () otherlv_8= EqualsSign ( (lv_body_9_0= ruleExpression ) ) ) + // InternalSolverLanguageParser.g:316:4: ( () otherlv_8= EqualsSign ( (lv_body_9_0= ruleExpression ) ) ) { - // InternalSolverLanguageParser.g:300:4: ( () otherlv_8= EqualsSign ( (lv_body_9_0= ruleExpression ) ) ) - // InternalSolverLanguageParser.g:301:5: () otherlv_8= EqualsSign ( (lv_body_9_0= ruleExpression ) ) + // InternalSolverLanguageParser.g:316:4: ( () otherlv_8= EqualsSign ( (lv_body_9_0= ruleExpression ) ) ) + // InternalSolverLanguageParser.g:317:5: () otherlv_8= EqualsSign ( (lv_body_9_0= ruleExpression ) ) { - // InternalSolverLanguageParser.g:301:5: () - // InternalSolverLanguageParser.g:302:6: + // InternalSolverLanguageParser.g:317:5: () + // InternalSolverLanguageParser.g:318:6: { current = forceCreateModelElementAndSet( @@ -810,11 +813,11 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { newLeafNode(otherlv_8, grammarAccess.getAssertionOrDefinitionAccess().getEqualsSignKeyword_1_2_1()); - // InternalSolverLanguageParser.g:312:5: ( (lv_body_9_0= ruleExpression ) ) - // InternalSolverLanguageParser.g:313:6: (lv_body_9_0= ruleExpression ) + // InternalSolverLanguageParser.g:328:5: ( (lv_body_9_0= ruleExpression ) ) + // InternalSolverLanguageParser.g:329:6: (lv_body_9_0= ruleExpression ) { - // InternalSolverLanguageParser.g:313:6: (lv_body_9_0= ruleExpression ) - // InternalSolverLanguageParser.g:314:7: lv_body_9_0= ruleExpression + // InternalSolverLanguageParser.g:329:6: (lv_body_9_0= ruleExpression ) + // InternalSolverLanguageParser.g:330:7: lv_body_9_0= ruleExpression { newCompositeNode(grammarAccess.getAssertionOrDefinitionAccess().getBodyExpressionParserRuleCall_1_2_2_0()); @@ -873,7 +876,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRulePredicateDefinition" - // InternalSolverLanguageParser.g:337:1: entryRulePredicateDefinition returns [EObject current=null] : iv_rulePredicateDefinition= rulePredicateDefinition EOF ; + // InternalSolverLanguageParser.g:353:1: entryRulePredicateDefinition returns [EObject current=null] : iv_rulePredicateDefinition= rulePredicateDefinition EOF ; public final EObject entryRulePredicateDefinition() throws RecognitionException { EObject current = null; @@ -881,8 +884,8 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { try { - // InternalSolverLanguageParser.g:337:60: (iv_rulePredicateDefinition= rulePredicateDefinition EOF ) - // InternalSolverLanguageParser.g:338:2: iv_rulePredicateDefinition= rulePredicateDefinition EOF + // InternalSolverLanguageParser.g:353:60: (iv_rulePredicateDefinition= rulePredicateDefinition EOF ) + // InternalSolverLanguageParser.g:354:2: iv_rulePredicateDefinition= rulePredicateDefinition EOF { newCompositeNode(grammarAccess.getPredicateDefinitionRule()); pushFollow(FOLLOW_1); @@ -909,7 +912,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "rulePredicateDefinition" - // InternalSolverLanguageParser.g:344:1: rulePredicateDefinition returns [EObject current=null] : ( ( ( ( (lv_functional_0_0= Functional ) ) ( (lv_error_1_0= Error ) )? ) | ( ( (lv_error_2_0= Error ) ) ( (lv_functional_3_0= Functional ) )? ) ) ( (lv_head_4_0= ruleCall ) ) otherlv_5= ColonHyphenMinus ( (lv_body_6_0= ruleExpression ) ) ) ; + // InternalSolverLanguageParser.g:360:1: rulePredicateDefinition returns [EObject current=null] : ( ( ( ( (lv_functional_0_0= Functional ) ) ( (lv_error_1_0= Error ) )? ) | ( ( (lv_error_2_0= Error ) ) ( (lv_functional_3_0= Functional ) )? ) ) ( (lv_head_4_0= ruleCall ) ) otherlv_5= ColonHyphenMinus ( (lv_body_6_0= ruleExpression ) ) ) ; public final EObject rulePredicateDefinition() throws RecognitionException { EObject current = null; @@ -927,40 +930,40 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { enterRule(); try { - // InternalSolverLanguageParser.g:350:2: ( ( ( ( ( (lv_functional_0_0= Functional ) ) ( (lv_error_1_0= Error ) )? ) | ( ( (lv_error_2_0= Error ) ) ( (lv_functional_3_0= Functional ) )? ) ) ( (lv_head_4_0= ruleCall ) ) otherlv_5= ColonHyphenMinus ( (lv_body_6_0= ruleExpression ) ) ) ) - // InternalSolverLanguageParser.g:351:2: ( ( ( ( (lv_functional_0_0= Functional ) ) ( (lv_error_1_0= Error ) )? ) | ( ( (lv_error_2_0= Error ) ) ( (lv_functional_3_0= Functional ) )? ) ) ( (lv_head_4_0= ruleCall ) ) otherlv_5= ColonHyphenMinus ( (lv_body_6_0= ruleExpression ) ) ) + // InternalSolverLanguageParser.g:366:2: ( ( ( ( ( (lv_functional_0_0= Functional ) ) ( (lv_error_1_0= Error ) )? ) | ( ( (lv_error_2_0= Error ) ) ( (lv_functional_3_0= Functional ) )? ) ) ( (lv_head_4_0= ruleCall ) ) otherlv_5= ColonHyphenMinus ( (lv_body_6_0= ruleExpression ) ) ) ) + // InternalSolverLanguageParser.g:367:2: ( ( ( ( (lv_functional_0_0= Functional ) ) ( (lv_error_1_0= Error ) )? ) | ( ( (lv_error_2_0= Error ) ) ( (lv_functional_3_0= Functional ) )? ) ) ( (lv_head_4_0= ruleCall ) ) otherlv_5= ColonHyphenMinus ( (lv_body_6_0= ruleExpression ) ) ) { - // InternalSolverLanguageParser.g:351:2: ( ( ( ( (lv_functional_0_0= Functional ) ) ( (lv_error_1_0= Error ) )? ) | ( ( (lv_error_2_0= Error ) ) ( (lv_functional_3_0= Functional ) )? ) ) ( (lv_head_4_0= ruleCall ) ) otherlv_5= ColonHyphenMinus ( (lv_body_6_0= ruleExpression ) ) ) - // InternalSolverLanguageParser.g:352:3: ( ( ( (lv_functional_0_0= Functional ) ) ( (lv_error_1_0= Error ) )? ) | ( ( (lv_error_2_0= Error ) ) ( (lv_functional_3_0= Functional ) )? ) ) ( (lv_head_4_0= ruleCall ) ) otherlv_5= ColonHyphenMinus ( (lv_body_6_0= ruleExpression ) ) + // InternalSolverLanguageParser.g:367:2: ( ( ( ( (lv_functional_0_0= Functional ) ) ( (lv_error_1_0= Error ) )? ) | ( ( (lv_error_2_0= Error ) ) ( (lv_functional_3_0= Functional ) )? ) ) ( (lv_head_4_0= ruleCall ) ) otherlv_5= ColonHyphenMinus ( (lv_body_6_0= ruleExpression ) ) ) + // InternalSolverLanguageParser.g:368:3: ( ( ( (lv_functional_0_0= Functional ) ) ( (lv_error_1_0= Error ) )? ) | ( ( (lv_error_2_0= Error ) ) ( (lv_functional_3_0= Functional ) )? ) ) ( (lv_head_4_0= ruleCall ) ) otherlv_5= ColonHyphenMinus ( (lv_body_6_0= ruleExpression ) ) { - // InternalSolverLanguageParser.g:352:3: ( ( ( (lv_functional_0_0= Functional ) ) ( (lv_error_1_0= Error ) )? ) | ( ( (lv_error_2_0= Error ) ) ( (lv_functional_3_0= Functional ) )? ) ) - int alt7=2; - int LA7_0 = input.LA(1); + // InternalSolverLanguageParser.g:368:3: ( ( ( (lv_functional_0_0= Functional ) ) ( (lv_error_1_0= Error ) )? ) | ( ( (lv_error_2_0= Error ) ) ( (lv_functional_3_0= Functional ) )? ) ) + int alt6=2; + int LA6_0 = input.LA(1); - if ( (LA7_0==Functional) ) { - alt7=1; + if ( (LA6_0==Functional) ) { + alt6=1; } - else if ( (LA7_0==Error) ) { - alt7=2; + else if ( (LA6_0==Error) ) { + alt6=2; } else { NoViableAltException nvae = - new NoViableAltException("", 7, 0, input); + new NoViableAltException("", 6, 0, input); throw nvae; } - switch (alt7) { + switch (alt6) { case 1 : - // InternalSolverLanguageParser.g:353:4: ( ( (lv_functional_0_0= Functional ) ) ( (lv_error_1_0= Error ) )? ) + // InternalSolverLanguageParser.g:369:4: ( ( (lv_functional_0_0= Functional ) ) ( (lv_error_1_0= Error ) )? ) { - // InternalSolverLanguageParser.g:353:4: ( ( (lv_functional_0_0= Functional ) ) ( (lv_error_1_0= Error ) )? ) - // InternalSolverLanguageParser.g:354:5: ( (lv_functional_0_0= Functional ) ) ( (lv_error_1_0= Error ) )? + // InternalSolverLanguageParser.g:369:4: ( ( (lv_functional_0_0= Functional ) ) ( (lv_error_1_0= Error ) )? ) + // InternalSolverLanguageParser.g:370:5: ( (lv_functional_0_0= Functional ) ) ( (lv_error_1_0= Error ) )? { - // InternalSolverLanguageParser.g:354:5: ( (lv_functional_0_0= Functional ) ) - // InternalSolverLanguageParser.g:355:6: (lv_functional_0_0= Functional ) + // InternalSolverLanguageParser.g:370:5: ( (lv_functional_0_0= Functional ) ) + // InternalSolverLanguageParser.g:371:6: (lv_functional_0_0= Functional ) { - // InternalSolverLanguageParser.g:355:6: (lv_functional_0_0= Functional ) - // InternalSolverLanguageParser.g:356:7: lv_functional_0_0= Functional + // InternalSolverLanguageParser.g:371:6: (lv_functional_0_0= Functional ) + // InternalSolverLanguageParser.g:372:7: lv_functional_0_0= Functional { lv_functional_0_0=(Token)match(input,Functional,FOLLOW_7); @@ -978,19 +981,19 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } - // InternalSolverLanguageParser.g:368:5: ( (lv_error_1_0= Error ) )? - int alt5=2; - int LA5_0 = input.LA(1); + // InternalSolverLanguageParser.g:384:5: ( (lv_error_1_0= Error ) )? + int alt4=2; + int LA4_0 = input.LA(1); - if ( (LA5_0==Error) ) { - alt5=1; + if ( (LA4_0==Error) ) { + alt4=1; } - switch (alt5) { + switch (alt4) { case 1 : - // InternalSolverLanguageParser.g:369:6: (lv_error_1_0= Error ) + // InternalSolverLanguageParser.g:385:6: (lv_error_1_0= Error ) { - // InternalSolverLanguageParser.g:369:6: (lv_error_1_0= Error ) - // InternalSolverLanguageParser.g:370:7: lv_error_1_0= Error + // InternalSolverLanguageParser.g:385:6: (lv_error_1_0= Error ) + // InternalSolverLanguageParser.g:386:7: lv_error_1_0= Error { lv_error_1_0=(Token)match(input,Error,FOLLOW_8); @@ -1018,16 +1021,16 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } break; case 2 : - // InternalSolverLanguageParser.g:384:4: ( ( (lv_error_2_0= Error ) ) ( (lv_functional_3_0= Functional ) )? ) + // InternalSolverLanguageParser.g:400:4: ( ( (lv_error_2_0= Error ) ) ( (lv_functional_3_0= Functional ) )? ) { - // InternalSolverLanguageParser.g:384:4: ( ( (lv_error_2_0= Error ) ) ( (lv_functional_3_0= Functional ) )? ) - // InternalSolverLanguageParser.g:385:5: ( (lv_error_2_0= Error ) ) ( (lv_functional_3_0= Functional ) )? + // InternalSolverLanguageParser.g:400:4: ( ( (lv_error_2_0= Error ) ) ( (lv_functional_3_0= Functional ) )? ) + // InternalSolverLanguageParser.g:401:5: ( (lv_error_2_0= Error ) ) ( (lv_functional_3_0= Functional ) )? { - // InternalSolverLanguageParser.g:385:5: ( (lv_error_2_0= Error ) ) - // InternalSolverLanguageParser.g:386:6: (lv_error_2_0= Error ) + // InternalSolverLanguageParser.g:401:5: ( (lv_error_2_0= Error ) ) + // InternalSolverLanguageParser.g:402:6: (lv_error_2_0= Error ) { - // InternalSolverLanguageParser.g:386:6: (lv_error_2_0= Error ) - // InternalSolverLanguageParser.g:387:7: lv_error_2_0= Error + // InternalSolverLanguageParser.g:402:6: (lv_error_2_0= Error ) + // InternalSolverLanguageParser.g:403:7: lv_error_2_0= Error { lv_error_2_0=(Token)match(input,Error,FOLLOW_9); @@ -1045,19 +1048,19 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } - // InternalSolverLanguageParser.g:399:5: ( (lv_functional_3_0= Functional ) )? - int alt6=2; - int LA6_0 = input.LA(1); + // InternalSolverLanguageParser.g:415:5: ( (lv_functional_3_0= Functional ) )? + int alt5=2; + int LA5_0 = input.LA(1); - if ( (LA6_0==Functional) ) { - alt6=1; + if ( (LA5_0==Functional) ) { + alt5=1; } - switch (alt6) { + switch (alt5) { case 1 : - // InternalSolverLanguageParser.g:400:6: (lv_functional_3_0= Functional ) + // InternalSolverLanguageParser.g:416:6: (lv_functional_3_0= Functional ) { - // InternalSolverLanguageParser.g:400:6: (lv_functional_3_0= Functional ) - // InternalSolverLanguageParser.g:401:7: lv_functional_3_0= Functional + // InternalSolverLanguageParser.g:416:6: (lv_functional_3_0= Functional ) + // InternalSolverLanguageParser.g:417:7: lv_functional_3_0= Functional { lv_functional_3_0=(Token)match(input,Functional,FOLLOW_8); @@ -1087,11 +1090,11 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } - // InternalSolverLanguageParser.g:415:3: ( (lv_head_4_0= ruleCall ) ) - // InternalSolverLanguageParser.g:416:4: (lv_head_4_0= ruleCall ) + // InternalSolverLanguageParser.g:431:3: ( (lv_head_4_0= ruleCall ) ) + // InternalSolverLanguageParser.g:432:4: (lv_head_4_0= ruleCall ) { - // InternalSolverLanguageParser.g:416:4: (lv_head_4_0= ruleCall ) - // InternalSolverLanguageParser.g:417:5: lv_head_4_0= ruleCall + // InternalSolverLanguageParser.g:432:4: (lv_head_4_0= ruleCall ) + // InternalSolverLanguageParser.g:433:5: lv_head_4_0= ruleCall { newCompositeNode(grammarAccess.getPredicateDefinitionAccess().getHeadCallParserRuleCall_1_0()); @@ -1122,11 +1125,11 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { newLeafNode(otherlv_5, grammarAccess.getPredicateDefinitionAccess().getColonHyphenMinusKeyword_2()); - // InternalSolverLanguageParser.g:438:3: ( (lv_body_6_0= ruleExpression ) ) - // InternalSolverLanguageParser.g:439:4: (lv_body_6_0= ruleExpression ) + // InternalSolverLanguageParser.g:454:3: ( (lv_body_6_0= ruleExpression ) ) + // InternalSolverLanguageParser.g:455:4: (lv_body_6_0= ruleExpression ) { - // InternalSolverLanguageParser.g:439:4: (lv_body_6_0= ruleExpression ) - // InternalSolverLanguageParser.g:440:5: lv_body_6_0= ruleExpression + // InternalSolverLanguageParser.g:455:4: (lv_body_6_0= ruleExpression ) + // InternalSolverLanguageParser.g:456:5: lv_body_6_0= ruleExpression { newCompositeNode(grammarAccess.getPredicateDefinitionAccess().getBodyExpressionParserRuleCall_3_0()); @@ -1176,7 +1179,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleUnnamedErrorPrediateDefinition" - // InternalSolverLanguageParser.g:461:1: entryRuleUnnamedErrorPrediateDefinition returns [EObject current=null] : iv_ruleUnnamedErrorPrediateDefinition= ruleUnnamedErrorPrediateDefinition EOF ; + // InternalSolverLanguageParser.g:477:1: entryRuleUnnamedErrorPrediateDefinition returns [EObject current=null] : iv_ruleUnnamedErrorPrediateDefinition= ruleUnnamedErrorPrediateDefinition EOF ; public final EObject entryRuleUnnamedErrorPrediateDefinition() throws RecognitionException { EObject current = null; @@ -1184,8 +1187,8 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { try { - // InternalSolverLanguageParser.g:461:71: (iv_ruleUnnamedErrorPrediateDefinition= ruleUnnamedErrorPrediateDefinition EOF ) - // InternalSolverLanguageParser.g:462:2: iv_ruleUnnamedErrorPrediateDefinition= ruleUnnamedErrorPrediateDefinition EOF + // InternalSolverLanguageParser.g:477:71: (iv_ruleUnnamedErrorPrediateDefinition= ruleUnnamedErrorPrediateDefinition EOF ) + // InternalSolverLanguageParser.g:478:2: iv_ruleUnnamedErrorPrediateDefinition= ruleUnnamedErrorPrediateDefinition EOF { newCompositeNode(grammarAccess.getUnnamedErrorPrediateDefinitionRule()); pushFollow(FOLLOW_1); @@ -1212,7 +1215,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleUnnamedErrorPrediateDefinition" - // InternalSolverLanguageParser.g:468:1: ruleUnnamedErrorPrediateDefinition returns [EObject current=null] : (otherlv_0= Error ( (lv_argumentList_1_0= ruleArgumentList ) ) otherlv_2= ColonHyphenMinus ( (lv_body_3_0= ruleExpression ) ) ) ; + // InternalSolverLanguageParser.g:484:1: ruleUnnamedErrorPrediateDefinition returns [EObject current=null] : (otherlv_0= Error ( (lv_argumentList_1_0= ruleArgumentList ) ) otherlv_2= ColonHyphenMinus ( (lv_body_3_0= ruleExpression ) ) ) ; public final EObject ruleUnnamedErrorPrediateDefinition() throws RecognitionException { EObject current = null; @@ -1227,21 +1230,21 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { enterRule(); try { - // InternalSolverLanguageParser.g:474:2: ( (otherlv_0= Error ( (lv_argumentList_1_0= ruleArgumentList ) ) otherlv_2= ColonHyphenMinus ( (lv_body_3_0= ruleExpression ) ) ) ) - // InternalSolverLanguageParser.g:475:2: (otherlv_0= Error ( (lv_argumentList_1_0= ruleArgumentList ) ) otherlv_2= ColonHyphenMinus ( (lv_body_3_0= ruleExpression ) ) ) + // InternalSolverLanguageParser.g:490:2: ( (otherlv_0= Error ( (lv_argumentList_1_0= ruleArgumentList ) ) otherlv_2= ColonHyphenMinus ( (lv_body_3_0= ruleExpression ) ) ) ) + // InternalSolverLanguageParser.g:491:2: (otherlv_0= Error ( (lv_argumentList_1_0= ruleArgumentList ) ) otherlv_2= ColonHyphenMinus ( (lv_body_3_0= ruleExpression ) ) ) { - // InternalSolverLanguageParser.g:475:2: (otherlv_0= Error ( (lv_argumentList_1_0= ruleArgumentList ) ) otherlv_2= ColonHyphenMinus ( (lv_body_3_0= ruleExpression ) ) ) - // InternalSolverLanguageParser.g:476:3: otherlv_0= Error ( (lv_argumentList_1_0= ruleArgumentList ) ) otherlv_2= ColonHyphenMinus ( (lv_body_3_0= ruleExpression ) ) + // InternalSolverLanguageParser.g:491:2: (otherlv_0= Error ( (lv_argumentList_1_0= ruleArgumentList ) ) otherlv_2= ColonHyphenMinus ( (lv_body_3_0= ruleExpression ) ) ) + // InternalSolverLanguageParser.g:492:3: otherlv_0= Error ( (lv_argumentList_1_0= ruleArgumentList ) ) otherlv_2= ColonHyphenMinus ( (lv_body_3_0= ruleExpression ) ) { otherlv_0=(Token)match(input,Error,FOLLOW_11); newLeafNode(otherlv_0, grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getErrorKeyword_0()); - // InternalSolverLanguageParser.g:480:3: ( (lv_argumentList_1_0= ruleArgumentList ) ) - // InternalSolverLanguageParser.g:481:4: (lv_argumentList_1_0= ruleArgumentList ) + // InternalSolverLanguageParser.g:496:3: ( (lv_argumentList_1_0= ruleArgumentList ) ) + // InternalSolverLanguageParser.g:497:4: (lv_argumentList_1_0= ruleArgumentList ) { - // InternalSolverLanguageParser.g:481:4: (lv_argumentList_1_0= ruleArgumentList ) - // InternalSolverLanguageParser.g:482:5: lv_argumentList_1_0= ruleArgumentList + // InternalSolverLanguageParser.g:497:4: (lv_argumentList_1_0= ruleArgumentList ) + // InternalSolverLanguageParser.g:498:5: lv_argumentList_1_0= ruleArgumentList { newCompositeNode(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getArgumentListArgumentListParserRuleCall_1_0()); @@ -1272,11 +1275,11 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { newLeafNode(otherlv_2, grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getColonHyphenMinusKeyword_2()); - // InternalSolverLanguageParser.g:503:3: ( (lv_body_3_0= ruleExpression ) ) - // InternalSolverLanguageParser.g:504:4: (lv_body_3_0= ruleExpression ) + // InternalSolverLanguageParser.g:519:3: ( (lv_body_3_0= ruleExpression ) ) + // InternalSolverLanguageParser.g:520:4: (lv_body_3_0= ruleExpression ) { - // InternalSolverLanguageParser.g:504:4: (lv_body_3_0= ruleExpression ) - // InternalSolverLanguageParser.g:505:5: lv_body_3_0= ruleExpression + // InternalSolverLanguageParser.g:520:4: (lv_body_3_0= ruleExpression ) + // InternalSolverLanguageParser.g:521:5: lv_body_3_0= ruleExpression { newCompositeNode(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getBodyExpressionParserRuleCall_3_0()); @@ -1326,7 +1329,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleDefaultDefinition" - // InternalSolverLanguageParser.g:526:1: entryRuleDefaultDefinition returns [EObject current=null] : iv_ruleDefaultDefinition= ruleDefaultDefinition EOF ; + // InternalSolverLanguageParser.g:542:1: entryRuleDefaultDefinition returns [EObject current=null] : iv_ruleDefaultDefinition= ruleDefaultDefinition EOF ; public final EObject entryRuleDefaultDefinition() throws RecognitionException { EObject current = null; @@ -1334,8 +1337,8 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { try { - // InternalSolverLanguageParser.g:526:58: (iv_ruleDefaultDefinition= ruleDefaultDefinition EOF ) - // InternalSolverLanguageParser.g:527:2: iv_ruleDefaultDefinition= ruleDefaultDefinition EOF + // InternalSolverLanguageParser.g:542:58: (iv_ruleDefaultDefinition= ruleDefaultDefinition EOF ) + // InternalSolverLanguageParser.g:543:2: iv_ruleDefaultDefinition= ruleDefaultDefinition EOF { newCompositeNode(grammarAccess.getDefaultDefinitionRule()); pushFollow(FOLLOW_1); @@ -1362,7 +1365,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleDefaultDefinition" - // InternalSolverLanguageParser.g:533:1: ruleDefaultDefinition returns [EObject current=null] : (otherlv_0= Default ( (lv_head_1_0= ruleCall ) ) otherlv_2= Colon ( (lv_range_3_0= ruleExpression ) ) ) ; + // InternalSolverLanguageParser.g:549:1: ruleDefaultDefinition returns [EObject current=null] : (otherlv_0= Default ( (lv_head_1_0= ruleCall ) ) otherlv_2= Colon ( (lv_range_3_0= ruleExpression ) ) ) ; public final EObject ruleDefaultDefinition() throws RecognitionException { EObject current = null; @@ -1377,21 +1380,21 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { enterRule(); try { - // InternalSolverLanguageParser.g:539:2: ( (otherlv_0= Default ( (lv_head_1_0= ruleCall ) ) otherlv_2= Colon ( (lv_range_3_0= ruleExpression ) ) ) ) - // InternalSolverLanguageParser.g:540:2: (otherlv_0= Default ( (lv_head_1_0= ruleCall ) ) otherlv_2= Colon ( (lv_range_3_0= ruleExpression ) ) ) + // InternalSolverLanguageParser.g:555:2: ( (otherlv_0= Default ( (lv_head_1_0= ruleCall ) ) otherlv_2= Colon ( (lv_range_3_0= ruleExpression ) ) ) ) + // InternalSolverLanguageParser.g:556:2: (otherlv_0= Default ( (lv_head_1_0= ruleCall ) ) otherlv_2= Colon ( (lv_range_3_0= ruleExpression ) ) ) { - // InternalSolverLanguageParser.g:540:2: (otherlv_0= Default ( (lv_head_1_0= ruleCall ) ) otherlv_2= Colon ( (lv_range_3_0= ruleExpression ) ) ) - // InternalSolverLanguageParser.g:541:3: otherlv_0= Default ( (lv_head_1_0= ruleCall ) ) otherlv_2= Colon ( (lv_range_3_0= ruleExpression ) ) + // InternalSolverLanguageParser.g:556:2: (otherlv_0= Default ( (lv_head_1_0= ruleCall ) ) otherlv_2= Colon ( (lv_range_3_0= ruleExpression ) ) ) + // InternalSolverLanguageParser.g:557:3: otherlv_0= Default ( (lv_head_1_0= ruleCall ) ) otherlv_2= Colon ( (lv_range_3_0= ruleExpression ) ) { otherlv_0=(Token)match(input,Default,FOLLOW_8); newLeafNode(otherlv_0, grammarAccess.getDefaultDefinitionAccess().getDefaultKeyword_0()); - // InternalSolverLanguageParser.g:545:3: ( (lv_head_1_0= ruleCall ) ) - // InternalSolverLanguageParser.g:546:4: (lv_head_1_0= ruleCall ) + // InternalSolverLanguageParser.g:561:3: ( (lv_head_1_0= ruleCall ) ) + // InternalSolverLanguageParser.g:562:4: (lv_head_1_0= ruleCall ) { - // InternalSolverLanguageParser.g:546:4: (lv_head_1_0= ruleCall ) - // InternalSolverLanguageParser.g:547:5: lv_head_1_0= ruleCall + // InternalSolverLanguageParser.g:562:4: (lv_head_1_0= ruleCall ) + // InternalSolverLanguageParser.g:563:5: lv_head_1_0= ruleCall { newCompositeNode(grammarAccess.getDefaultDefinitionAccess().getHeadCallParserRuleCall_1_0()); @@ -1422,11 +1425,11 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { newLeafNode(otherlv_2, grammarAccess.getDefaultDefinitionAccess().getColonKeyword_2()); - // InternalSolverLanguageParser.g:568:3: ( (lv_range_3_0= ruleExpression ) ) - // InternalSolverLanguageParser.g:569:4: (lv_range_3_0= ruleExpression ) + // InternalSolverLanguageParser.g:584:3: ( (lv_range_3_0= ruleExpression ) ) + // InternalSolverLanguageParser.g:585:4: (lv_range_3_0= ruleExpression ) { - // InternalSolverLanguageParser.g:569:4: (lv_range_3_0= ruleExpression ) - // InternalSolverLanguageParser.g:570:5: lv_range_3_0= ruleExpression + // InternalSolverLanguageParser.g:585:4: (lv_range_3_0= ruleExpression ) + // InternalSolverLanguageParser.g:586:5: lv_range_3_0= ruleExpression { newCompositeNode(grammarAccess.getDefaultDefinitionAccess().getRangeExpressionParserRuleCall_3_0()); @@ -1475,120 +1478,8 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR end "ruleDefaultDefinition" - // $ANTLR start "entryRuleExternPredicateDefinition" - // InternalSolverLanguageParser.g:591:1: entryRuleExternPredicateDefinition returns [EObject current=null] : iv_ruleExternPredicateDefinition= ruleExternPredicateDefinition EOF ; - public final EObject entryRuleExternPredicateDefinition() throws RecognitionException { - EObject current = null; - - EObject iv_ruleExternPredicateDefinition = null; - - - try { - // InternalSolverLanguageParser.g:591:66: (iv_ruleExternPredicateDefinition= ruleExternPredicateDefinition EOF ) - // InternalSolverLanguageParser.g:592:2: iv_ruleExternPredicateDefinition= ruleExternPredicateDefinition EOF - { - newCompositeNode(grammarAccess.getExternPredicateDefinitionRule()); - pushFollow(FOLLOW_1); - iv_ruleExternPredicateDefinition=ruleExternPredicateDefinition(); - - state._fsp--; - - current =iv_ruleExternPredicateDefinition; - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleExternPredicateDefinition" - - - // $ANTLR start "ruleExternPredicateDefinition" - // InternalSolverLanguageParser.g:598:1: ruleExternPredicateDefinition returns [EObject current=null] : (otherlv_0= Extern ( (lv_head_1_0= ruleCall ) ) ) ; - public final EObject ruleExternPredicateDefinition() throws RecognitionException { - EObject current = null; - - Token otherlv_0=null; - EObject lv_head_1_0 = null; - - - - enterRule(); - - try { - // InternalSolverLanguageParser.g:604:2: ( (otherlv_0= Extern ( (lv_head_1_0= ruleCall ) ) ) ) - // InternalSolverLanguageParser.g:605:2: (otherlv_0= Extern ( (lv_head_1_0= ruleCall ) ) ) - { - // InternalSolverLanguageParser.g:605:2: (otherlv_0= Extern ( (lv_head_1_0= ruleCall ) ) ) - // InternalSolverLanguageParser.g:606:3: otherlv_0= Extern ( (lv_head_1_0= ruleCall ) ) - { - otherlv_0=(Token)match(input,Extern,FOLLOW_8); - - newLeafNode(otherlv_0, grammarAccess.getExternPredicateDefinitionAccess().getExternKeyword_0()); - - // InternalSolverLanguageParser.g:610:3: ( (lv_head_1_0= ruleCall ) ) - // InternalSolverLanguageParser.g:611:4: (lv_head_1_0= ruleCall ) - { - // InternalSolverLanguageParser.g:611:4: (lv_head_1_0= ruleCall ) - // InternalSolverLanguageParser.g:612:5: lv_head_1_0= ruleCall - { - - newCompositeNode(grammarAccess.getExternPredicateDefinitionAccess().getHeadCallParserRuleCall_1_0()); - - pushFollow(FOLLOW_2); - lv_head_1_0=ruleCall(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getExternPredicateDefinitionRule()); - } - set( - current, - "head", - lv_head_1_0, - "org.eclipse.viatra.solver.language.SolverLanguage.Call"); - afterParserOrEnumRuleCall(); - - - } - - - } - - - } - - - } - - - leaveRule(); - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleExternPredicateDefinition" - - // $ANTLR start "entryRuleMetricDefinition" - // InternalSolverLanguageParser.g:633:1: entryRuleMetricDefinition returns [EObject current=null] : iv_ruleMetricDefinition= ruleMetricDefinition EOF ; + // InternalSolverLanguageParser.g:607:1: entryRuleMetricDefinition returns [EObject current=null] : iv_ruleMetricDefinition= ruleMetricDefinition EOF ; public final EObject entryRuleMetricDefinition() throws RecognitionException { EObject current = null; @@ -1596,8 +1487,8 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { try { - // InternalSolverLanguageParser.g:633:57: (iv_ruleMetricDefinition= ruleMetricDefinition EOF ) - // InternalSolverLanguageParser.g:634:2: iv_ruleMetricDefinition= ruleMetricDefinition EOF + // InternalSolverLanguageParser.g:607:57: (iv_ruleMetricDefinition= ruleMetricDefinition EOF ) + // InternalSolverLanguageParser.g:608:2: iv_ruleMetricDefinition= ruleMetricDefinition EOF { newCompositeNode(grammarAccess.getMetricDefinitionRule()); pushFollow(FOLLOW_1); @@ -1624,13 +1515,11 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleMetricDefinition" - // InternalSolverLanguageParser.g:640:1: ruleMetricDefinition returns [EObject current=null] : ( ( (lv_type_0_0= ruleMetricType ) ) ( (lv_head_1_0= ruleExpression ) ) otherlv_2= EqualsSign ( (lv_body_3_0= ruleExpression ) ) ) ; + // InternalSolverLanguageParser.g:614:1: ruleMetricDefinition returns [EObject current=null] : ( ( ( ruleQualifiedName ) ) ( (lv_head_1_0= ruleCall ) ) otherlv_2= EqualsSign ( (lv_body_3_0= ruleExpression ) ) ) ; public final EObject ruleMetricDefinition() throws RecognitionException { EObject current = null; Token otherlv_2=null; - Enumerator lv_type_0_0 = null; - EObject lv_head_1_0 = null; EObject lv_body_3_0 = null; @@ -1640,35 +1529,32 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { enterRule(); try { - // InternalSolverLanguageParser.g:646:2: ( ( ( (lv_type_0_0= ruleMetricType ) ) ( (lv_head_1_0= ruleExpression ) ) otherlv_2= EqualsSign ( (lv_body_3_0= ruleExpression ) ) ) ) - // InternalSolverLanguageParser.g:647:2: ( ( (lv_type_0_0= ruleMetricType ) ) ( (lv_head_1_0= ruleExpression ) ) otherlv_2= EqualsSign ( (lv_body_3_0= ruleExpression ) ) ) + // InternalSolverLanguageParser.g:620:2: ( ( ( ( ruleQualifiedName ) ) ( (lv_head_1_0= ruleCall ) ) otherlv_2= EqualsSign ( (lv_body_3_0= ruleExpression ) ) ) ) + // InternalSolverLanguageParser.g:621:2: ( ( ( ruleQualifiedName ) ) ( (lv_head_1_0= ruleCall ) ) otherlv_2= EqualsSign ( (lv_body_3_0= ruleExpression ) ) ) { - // InternalSolverLanguageParser.g:647:2: ( ( (lv_type_0_0= ruleMetricType ) ) ( (lv_head_1_0= ruleExpression ) ) otherlv_2= EqualsSign ( (lv_body_3_0= ruleExpression ) ) ) - // InternalSolverLanguageParser.g:648:3: ( (lv_type_0_0= ruleMetricType ) ) ( (lv_head_1_0= ruleExpression ) ) otherlv_2= EqualsSign ( (lv_body_3_0= ruleExpression ) ) + // InternalSolverLanguageParser.g:621:2: ( ( ( ruleQualifiedName ) ) ( (lv_head_1_0= ruleCall ) ) otherlv_2= EqualsSign ( (lv_body_3_0= ruleExpression ) ) ) + // InternalSolverLanguageParser.g:622:3: ( ( ruleQualifiedName ) ) ( (lv_head_1_0= ruleCall ) ) otherlv_2= EqualsSign ( (lv_body_3_0= ruleExpression ) ) { - // InternalSolverLanguageParser.g:648:3: ( (lv_type_0_0= ruleMetricType ) ) - // InternalSolverLanguageParser.g:649:4: (lv_type_0_0= ruleMetricType ) + // InternalSolverLanguageParser.g:622:3: ( ( ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:623:4: ( ruleQualifiedName ) { - // InternalSolverLanguageParser.g:649:4: (lv_type_0_0= ruleMetricType ) - // InternalSolverLanguageParser.g:650:5: lv_type_0_0= ruleMetricType + // InternalSolverLanguageParser.g:623:4: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:624:5: ruleQualifiedName { - newCompositeNode(grammarAccess.getMetricDefinitionAccess().getTypeMetricTypeEnumRuleCall_0_0()); + if (current==null) { + current = createModelElement(grammarAccess.getMetricDefinitionRule()); + } - pushFollow(FOLLOW_6); - lv_type_0_0=ruleMetricType(); + + newCompositeNode(grammarAccess.getMetricDefinitionAccess().getTypeNamedElementCrossReference_0_0()); + + pushFollow(FOLLOW_8); + ruleQualifiedName(); state._fsp--; - if (current==null) { - current = createModelElementForParent(grammarAccess.getMetricDefinitionRule()); - } - set( - current, - "type", - lv_type_0_0, - "org.eclipse.viatra.solver.language.SolverLanguage.MetricType"); afterParserOrEnumRuleCall(); @@ -1677,17 +1563,17 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } - // InternalSolverLanguageParser.g:667:3: ( (lv_head_1_0= ruleExpression ) ) - // InternalSolverLanguageParser.g:668:4: (lv_head_1_0= ruleExpression ) + // InternalSolverLanguageParser.g:638:3: ( (lv_head_1_0= ruleCall ) ) + // InternalSolverLanguageParser.g:639:4: (lv_head_1_0= ruleCall ) { - // InternalSolverLanguageParser.g:668:4: (lv_head_1_0= ruleExpression ) - // InternalSolverLanguageParser.g:669:5: lv_head_1_0= ruleExpression + // InternalSolverLanguageParser.g:639:4: (lv_head_1_0= ruleCall ) + // InternalSolverLanguageParser.g:640:5: lv_head_1_0= ruleCall { - newCompositeNode(grammarAccess.getMetricDefinitionAccess().getHeadExpressionParserRuleCall_1_0()); + newCompositeNode(grammarAccess.getMetricDefinitionAccess().getHeadCallParserRuleCall_1_0()); pushFollow(FOLLOW_13); - lv_head_1_0=ruleExpression(); + lv_head_1_0=ruleCall(); state._fsp--; @@ -1699,7 +1585,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { current, "head", lv_head_1_0, - "org.eclipse.viatra.solver.language.SolverLanguage.Expression"); + "org.eclipse.viatra.solver.language.SolverLanguage.Call"); afterParserOrEnumRuleCall(); @@ -1712,11 +1598,11 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { newLeafNode(otherlv_2, grammarAccess.getMetricDefinitionAccess().getEqualsSignKeyword_2()); - // InternalSolverLanguageParser.g:690:3: ( (lv_body_3_0= ruleExpression ) ) - // InternalSolverLanguageParser.g:691:4: (lv_body_3_0= ruleExpression ) + // InternalSolverLanguageParser.g:661:3: ( (lv_body_3_0= ruleExpression ) ) + // InternalSolverLanguageParser.g:662:4: (lv_body_3_0= ruleExpression ) { - // InternalSolverLanguageParser.g:691:4: (lv_body_3_0= ruleExpression ) - // InternalSolverLanguageParser.g:692:5: lv_body_3_0= ruleExpression + // InternalSolverLanguageParser.g:662:4: (lv_body_3_0= ruleExpression ) + // InternalSolverLanguageParser.g:663:5: lv_body_3_0= ruleExpression { newCompositeNode(grammarAccess.getMetricDefinitionAccess().getBodyExpressionParserRuleCall_3_0()); @@ -1765,25 +1651,25 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR end "ruleMetricDefinition" - // $ANTLR start "entryRuleExternMetricDefinition" - // InternalSolverLanguageParser.g:713:1: entryRuleExternMetricDefinition returns [EObject current=null] : iv_ruleExternMetricDefinition= ruleExternMetricDefinition EOF ; - public final EObject entryRuleExternMetricDefinition() throws RecognitionException { + // $ANTLR start "entryRuleExternPredicateDefinition" + // InternalSolverLanguageParser.g:684:1: entryRuleExternPredicateDefinition returns [EObject current=null] : iv_ruleExternPredicateDefinition= ruleExternPredicateDefinition EOF ; + public final EObject entryRuleExternPredicateDefinition() throws RecognitionException { EObject current = null; - EObject iv_ruleExternMetricDefinition = null; + EObject iv_ruleExternPredicateDefinition = null; try { - // InternalSolverLanguageParser.g:713:63: (iv_ruleExternMetricDefinition= ruleExternMetricDefinition EOF ) - // InternalSolverLanguageParser.g:714:2: iv_ruleExternMetricDefinition= ruleExternMetricDefinition EOF + // InternalSolverLanguageParser.g:684:66: (iv_ruleExternPredicateDefinition= ruleExternPredicateDefinition EOF ) + // InternalSolverLanguageParser.g:685:2: iv_ruleExternPredicateDefinition= ruleExternPredicateDefinition EOF { - newCompositeNode(grammarAccess.getExternMetricDefinitionRule()); + newCompositeNode(grammarAccess.getExternPredicateDefinitionRule()); pushFollow(FOLLOW_1); - iv_ruleExternMetricDefinition=ruleExternMetricDefinition(); + iv_ruleExternPredicateDefinition=ruleExternPredicateDefinition(); state._fsp--; - current =iv_ruleExternMetricDefinition; + current =iv_ruleExternPredicateDefinition; match(input,EOF,FOLLOW_2); } @@ -1798,57 +1684,57 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } return current; } - // $ANTLR end "entryRuleExternMetricDefinition" + // $ANTLR end "entryRuleExternPredicateDefinition" - // $ANTLR start "ruleExternMetricDefinition" - // InternalSolverLanguageParser.g:720:1: ruleExternMetricDefinition returns [EObject current=null] : (otherlv_0= Extern ( (lv_type_1_0= ruleMetricType ) ) ( (lv_head_2_0= ruleCall ) ) ) ; - public final EObject ruleExternMetricDefinition() throws RecognitionException { + // $ANTLR start "ruleExternPredicateDefinition" + // InternalSolverLanguageParser.g:691:1: ruleExternPredicateDefinition returns [EObject current=null] : (otherlv_0= Extern ( (lv_name_1_0= ruleQualifiedName ) ) ( (lv_argumentList_2_0= ruleArgumentList ) ) ) ; + public final EObject ruleExternPredicateDefinition() throws RecognitionException { EObject current = null; Token otherlv_0=null; - Enumerator lv_type_1_0 = null; + AntlrDatatypeRuleToken lv_name_1_0 = null; - EObject lv_head_2_0 = null; + EObject lv_argumentList_2_0 = null; enterRule(); try { - // InternalSolverLanguageParser.g:726:2: ( (otherlv_0= Extern ( (lv_type_1_0= ruleMetricType ) ) ( (lv_head_2_0= ruleCall ) ) ) ) - // InternalSolverLanguageParser.g:727:2: (otherlv_0= Extern ( (lv_type_1_0= ruleMetricType ) ) ( (lv_head_2_0= ruleCall ) ) ) + // InternalSolverLanguageParser.g:697:2: ( (otherlv_0= Extern ( (lv_name_1_0= ruleQualifiedName ) ) ( (lv_argumentList_2_0= ruleArgumentList ) ) ) ) + // InternalSolverLanguageParser.g:698:2: (otherlv_0= Extern ( (lv_name_1_0= ruleQualifiedName ) ) ( (lv_argumentList_2_0= ruleArgumentList ) ) ) { - // InternalSolverLanguageParser.g:727:2: (otherlv_0= Extern ( (lv_type_1_0= ruleMetricType ) ) ( (lv_head_2_0= ruleCall ) ) ) - // InternalSolverLanguageParser.g:728:3: otherlv_0= Extern ( (lv_type_1_0= ruleMetricType ) ) ( (lv_head_2_0= ruleCall ) ) + // InternalSolverLanguageParser.g:698:2: (otherlv_0= Extern ( (lv_name_1_0= ruleQualifiedName ) ) ( (lv_argumentList_2_0= ruleArgumentList ) ) ) + // InternalSolverLanguageParser.g:699:3: otherlv_0= Extern ( (lv_name_1_0= ruleQualifiedName ) ) ( (lv_argumentList_2_0= ruleArgumentList ) ) { - otherlv_0=(Token)match(input,Extern,FOLLOW_14); + otherlv_0=(Token)match(input,Extern,FOLLOW_8); - newLeafNode(otherlv_0, grammarAccess.getExternMetricDefinitionAccess().getExternKeyword_0()); + newLeafNode(otherlv_0, grammarAccess.getExternPredicateDefinitionAccess().getExternKeyword_0()); - // InternalSolverLanguageParser.g:732:3: ( (lv_type_1_0= ruleMetricType ) ) - // InternalSolverLanguageParser.g:733:4: (lv_type_1_0= ruleMetricType ) + // InternalSolverLanguageParser.g:703:3: ( (lv_name_1_0= ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:704:4: (lv_name_1_0= ruleQualifiedName ) { - // InternalSolverLanguageParser.g:733:4: (lv_type_1_0= ruleMetricType ) - // InternalSolverLanguageParser.g:734:5: lv_type_1_0= ruleMetricType + // InternalSolverLanguageParser.g:704:4: (lv_name_1_0= ruleQualifiedName ) + // InternalSolverLanguageParser.g:705:5: lv_name_1_0= ruleQualifiedName { - newCompositeNode(grammarAccess.getExternMetricDefinitionAccess().getTypeMetricTypeEnumRuleCall_1_0()); + newCompositeNode(grammarAccess.getExternPredicateDefinitionAccess().getNameQualifiedNameParserRuleCall_1_0()); - pushFollow(FOLLOW_8); - lv_type_1_0=ruleMetricType(); + pushFollow(FOLLOW_11); + lv_name_1_0=ruleQualifiedName(); state._fsp--; if (current==null) { - current = createModelElementForParent(grammarAccess.getExternMetricDefinitionRule()); + current = createModelElementForParent(grammarAccess.getExternPredicateDefinitionRule()); } set( current, - "type", - lv_type_1_0, - "org.eclipse.viatra.solver.language.SolverLanguage.MetricType"); + "name", + lv_name_1_0, + "org.eclipse.viatra.solver.language.SolverLanguage.QualifiedName"); afterParserOrEnumRuleCall(); @@ -1857,29 +1743,29 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } - // InternalSolverLanguageParser.g:751:3: ( (lv_head_2_0= ruleCall ) ) - // InternalSolverLanguageParser.g:752:4: (lv_head_2_0= ruleCall ) + // InternalSolverLanguageParser.g:722:3: ( (lv_argumentList_2_0= ruleArgumentList ) ) + // InternalSolverLanguageParser.g:723:4: (lv_argumentList_2_0= ruleArgumentList ) { - // InternalSolverLanguageParser.g:752:4: (lv_head_2_0= ruleCall ) - // InternalSolverLanguageParser.g:753:5: lv_head_2_0= ruleCall + // InternalSolverLanguageParser.g:723:4: (lv_argumentList_2_0= ruleArgumentList ) + // InternalSolverLanguageParser.g:724:5: lv_argumentList_2_0= ruleArgumentList { - newCompositeNode(grammarAccess.getExternMetricDefinitionAccess().getHeadCallParserRuleCall_2_0()); + newCompositeNode(grammarAccess.getExternPredicateDefinitionAccess().getArgumentListArgumentListParserRuleCall_2_0()); pushFollow(FOLLOW_2); - lv_head_2_0=ruleCall(); + lv_argumentList_2_0=ruleArgumentList(); state._fsp--; if (current==null) { - current = createModelElementForParent(grammarAccess.getExternMetricDefinitionRule()); + current = createModelElementForParent(grammarAccess.getExternPredicateDefinitionRule()); } set( current, - "head", - lv_head_2_0, - "org.eclipse.viatra.solver.language.SolverLanguage.Call"); + "argumentList", + lv_argumentList_2_0, + "org.eclipse.viatra.solver.language.SolverLanguage.ArgumentList"); afterParserOrEnumRuleCall(); @@ -1907,28 +1793,28 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } return current; } - // $ANTLR end "ruleExternMetricDefinition" + // $ANTLR end "ruleExternPredicateDefinition" - // $ANTLR start "entryRuleExpression" - // InternalSolverLanguageParser.g:774:1: entryRuleExpression returns [EObject current=null] : iv_ruleExpression= ruleExpression EOF ; - public final EObject entryRuleExpression() throws RecognitionException { + // $ANTLR start "entryRuleExternMetricDefinition" + // InternalSolverLanguageParser.g:745:1: entryRuleExternMetricDefinition returns [EObject current=null] : iv_ruleExternMetricDefinition= ruleExternMetricDefinition EOF ; + public final EObject entryRuleExternMetricDefinition() throws RecognitionException { EObject current = null; - EObject iv_ruleExpression = null; + EObject iv_ruleExternMetricDefinition = null; try { - // InternalSolverLanguageParser.g:774:51: (iv_ruleExpression= ruleExpression EOF ) - // InternalSolverLanguageParser.g:775:2: iv_ruleExpression= ruleExpression EOF + // InternalSolverLanguageParser.g:745:63: (iv_ruleExternMetricDefinition= ruleExternMetricDefinition EOF ) + // InternalSolverLanguageParser.g:746:2: iv_ruleExternMetricDefinition= ruleExternMetricDefinition EOF { - newCompositeNode(grammarAccess.getExpressionRule()); + newCompositeNode(grammarAccess.getExternMetricDefinitionRule()); pushFollow(FOLLOW_1); - iv_ruleExpression=ruleExpression(); + iv_ruleExternMetricDefinition=ruleExternMetricDefinition(); state._fsp--; - current =iv_ruleExpression; + current =iv_ruleExternMetricDefinition; match(input,EOF,FOLLOW_2); } @@ -1943,79 +1829,1244 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } return current; } - // $ANTLR end "entryRuleExpression" + // $ANTLR end "entryRuleExternMetricDefinition" - // $ANTLR start "ruleExpression" - // InternalSolverLanguageParser.g:781:1: ruleExpression returns [EObject current=null] : (this_IfElse_0= ruleIfElse | this_DisjunctiveExpression_1= ruleDisjunctiveExpression ) ; - public final EObject ruleExpression() throws RecognitionException { + // $ANTLR start "ruleExternMetricDefinition" + // InternalSolverLanguageParser.g:752:1: ruleExternMetricDefinition returns [EObject current=null] : (otherlv_0= Extern ( ( ruleQualifiedName ) ) ( (lv_name_2_0= ruleQualifiedName ) ) ( (lv_argumentList_3_0= ruleArgumentList ) ) ) ; + public final EObject ruleExternMetricDefinition() throws RecognitionException { + EObject current = null; + + Token otherlv_0=null; + AntlrDatatypeRuleToken lv_name_2_0 = null; + + EObject lv_argumentList_3_0 = null; + + + + enterRule(); + + try { + // InternalSolverLanguageParser.g:758:2: ( (otherlv_0= Extern ( ( ruleQualifiedName ) ) ( (lv_name_2_0= ruleQualifiedName ) ) ( (lv_argumentList_3_0= ruleArgumentList ) ) ) ) + // InternalSolverLanguageParser.g:759:2: (otherlv_0= Extern ( ( ruleQualifiedName ) ) ( (lv_name_2_0= ruleQualifiedName ) ) ( (lv_argumentList_3_0= ruleArgumentList ) ) ) + { + // InternalSolverLanguageParser.g:759:2: (otherlv_0= Extern ( ( ruleQualifiedName ) ) ( (lv_name_2_0= ruleQualifiedName ) ) ( (lv_argumentList_3_0= ruleArgumentList ) ) ) + // InternalSolverLanguageParser.g:760:3: otherlv_0= Extern ( ( ruleQualifiedName ) ) ( (lv_name_2_0= ruleQualifiedName ) ) ( (lv_argumentList_3_0= ruleArgumentList ) ) + { + otherlv_0=(Token)match(input,Extern,FOLLOW_8); + + newLeafNode(otherlv_0, grammarAccess.getExternMetricDefinitionAccess().getExternKeyword_0()); + + // InternalSolverLanguageParser.g:764:3: ( ( ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:765:4: ( ruleQualifiedName ) + { + // InternalSolverLanguageParser.g:765:4: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:766:5: ruleQualifiedName + { + + if (current==null) { + current = createModelElement(grammarAccess.getExternMetricDefinitionRule()); + } + + + newCompositeNode(grammarAccess.getExternMetricDefinitionAccess().getTypeNamedElementCrossReference_1_0()); + + pushFollow(FOLLOW_8); + ruleQualifiedName(); + + state._fsp--; + + + afterParserOrEnumRuleCall(); + + + } + + + } + + // InternalSolverLanguageParser.g:780:3: ( (lv_name_2_0= ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:781:4: (lv_name_2_0= ruleQualifiedName ) + { + // InternalSolverLanguageParser.g:781:4: (lv_name_2_0= ruleQualifiedName ) + // InternalSolverLanguageParser.g:782:5: lv_name_2_0= ruleQualifiedName + { + + newCompositeNode(grammarAccess.getExternMetricDefinitionAccess().getNameQualifiedNameParserRuleCall_2_0()); + + pushFollow(FOLLOW_11); + lv_name_2_0=ruleQualifiedName(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getExternMetricDefinitionRule()); + } + set( + current, + "name", + lv_name_2_0, + "org.eclipse.viatra.solver.language.SolverLanguage.QualifiedName"); + afterParserOrEnumRuleCall(); + + + } + + + } + + // InternalSolverLanguageParser.g:799:3: ( (lv_argumentList_3_0= ruleArgumentList ) ) + // InternalSolverLanguageParser.g:800:4: (lv_argumentList_3_0= ruleArgumentList ) + { + // InternalSolverLanguageParser.g:800:4: (lv_argumentList_3_0= ruleArgumentList ) + // InternalSolverLanguageParser.g:801:5: lv_argumentList_3_0= ruleArgumentList + { + + newCompositeNode(grammarAccess.getExternMetricDefinitionAccess().getArgumentListArgumentListParserRuleCall_3_0()); + + pushFollow(FOLLOW_2); + lv_argumentList_3_0=ruleArgumentList(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getExternMetricDefinitionRule()); + } + set( + current, + "argumentList", + lv_argumentList_3_0, + "org.eclipse.viatra.solver.language.SolverLanguage.ArgumentList"); + afterParserOrEnumRuleCall(); + + + } + + + } + + + } + + + } + + + leaveRule(); + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleExternMetricDefinition" + + + // $ANTLR start "entryRuleExternAggregatorDefinition" + // InternalSolverLanguageParser.g:822:1: entryRuleExternAggregatorDefinition returns [EObject current=null] : iv_ruleExternAggregatorDefinition= ruleExternAggregatorDefinition EOF ; + public final EObject entryRuleExternAggregatorDefinition() throws RecognitionException { + EObject current = null; + + EObject iv_ruleExternAggregatorDefinition = null; + + + try { + // InternalSolverLanguageParser.g:822:67: (iv_ruleExternAggregatorDefinition= ruleExternAggregatorDefinition EOF ) + // InternalSolverLanguageParser.g:823:2: iv_ruleExternAggregatorDefinition= ruleExternAggregatorDefinition EOF + { + newCompositeNode(grammarAccess.getExternAggregatorDefinitionRule()); + pushFollow(FOLLOW_1); + iv_ruleExternAggregatorDefinition=ruleExternAggregatorDefinition(); + + state._fsp--; + + current =iv_ruleExternAggregatorDefinition; + match(input,EOF,FOLLOW_2); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleExternAggregatorDefinition" + + + // $ANTLR start "ruleExternAggregatorDefinition" + // InternalSolverLanguageParser.g:829:1: ruleExternAggregatorDefinition returns [EObject current=null] : (otherlv_0= Extern ( ( ruleQualifiedName ) ) ( (lv_name_2_0= ruleQualifiedName ) ) otherlv_3= LeftCurlyBracket ( ( ruleQualifiedName ) ) otherlv_5= FullStopFullStopFullStop otherlv_6= RightCurlyBracket ) ; + public final EObject ruleExternAggregatorDefinition() throws RecognitionException { + EObject current = null; + + Token otherlv_0=null; + Token otherlv_3=null; + Token otherlv_5=null; + Token otherlv_6=null; + AntlrDatatypeRuleToken lv_name_2_0 = null; + + + + enterRule(); + + try { + // InternalSolverLanguageParser.g:835:2: ( (otherlv_0= Extern ( ( ruleQualifiedName ) ) ( (lv_name_2_0= ruleQualifiedName ) ) otherlv_3= LeftCurlyBracket ( ( ruleQualifiedName ) ) otherlv_5= FullStopFullStopFullStop otherlv_6= RightCurlyBracket ) ) + // InternalSolverLanguageParser.g:836:2: (otherlv_0= Extern ( ( ruleQualifiedName ) ) ( (lv_name_2_0= ruleQualifiedName ) ) otherlv_3= LeftCurlyBracket ( ( ruleQualifiedName ) ) otherlv_5= FullStopFullStopFullStop otherlv_6= RightCurlyBracket ) + { + // InternalSolverLanguageParser.g:836:2: (otherlv_0= Extern ( ( ruleQualifiedName ) ) ( (lv_name_2_0= ruleQualifiedName ) ) otherlv_3= LeftCurlyBracket ( ( ruleQualifiedName ) ) otherlv_5= FullStopFullStopFullStop otherlv_6= RightCurlyBracket ) + // InternalSolverLanguageParser.g:837:3: otherlv_0= Extern ( ( ruleQualifiedName ) ) ( (lv_name_2_0= ruleQualifiedName ) ) otherlv_3= LeftCurlyBracket ( ( ruleQualifiedName ) ) otherlv_5= FullStopFullStopFullStop otherlv_6= RightCurlyBracket + { + otherlv_0=(Token)match(input,Extern,FOLLOW_8); + + newLeafNode(otherlv_0, grammarAccess.getExternAggregatorDefinitionAccess().getExternKeyword_0()); + + // InternalSolverLanguageParser.g:841:3: ( ( ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:842:4: ( ruleQualifiedName ) + { + // InternalSolverLanguageParser.g:842:4: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:843:5: ruleQualifiedName + { + + if (current==null) { + current = createModelElement(grammarAccess.getExternAggregatorDefinitionRule()); + } + + + newCompositeNode(grammarAccess.getExternAggregatorDefinitionAccess().getTypeNamedElementCrossReference_1_0()); + + pushFollow(FOLLOW_8); + ruleQualifiedName(); + + state._fsp--; + + + afterParserOrEnumRuleCall(); + + + } + + + } + + // InternalSolverLanguageParser.g:857:3: ( (lv_name_2_0= ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:858:4: (lv_name_2_0= ruleQualifiedName ) + { + // InternalSolverLanguageParser.g:858:4: (lv_name_2_0= ruleQualifiedName ) + // InternalSolverLanguageParser.g:859:5: lv_name_2_0= ruleQualifiedName + { + + newCompositeNode(grammarAccess.getExternAggregatorDefinitionAccess().getNameQualifiedNameParserRuleCall_2_0()); + + pushFollow(FOLLOW_14); + lv_name_2_0=ruleQualifiedName(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getExternAggregatorDefinitionRule()); + } + set( + current, + "name", + lv_name_2_0, + "org.eclipse.viatra.solver.language.SolverLanguage.QualifiedName"); + afterParserOrEnumRuleCall(); + + + } + + + } + + otherlv_3=(Token)match(input,LeftCurlyBracket,FOLLOW_8); + + newLeafNode(otherlv_3, grammarAccess.getExternAggregatorDefinitionAccess().getLeftCurlyBracketKeyword_3()); + + // InternalSolverLanguageParser.g:880:3: ( ( ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:881:4: ( ruleQualifiedName ) + { + // InternalSolverLanguageParser.g:881:4: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:882:5: ruleQualifiedName + { + + if (current==null) { + current = createModelElement(grammarAccess.getExternAggregatorDefinitionRule()); + } + + + newCompositeNode(grammarAccess.getExternAggregatorDefinitionAccess().getInputTypeNamedElementCrossReference_4_0()); + + pushFollow(FOLLOW_15); + ruleQualifiedName(); + + state._fsp--; + + + afterParserOrEnumRuleCall(); + + + } + + + } + + otherlv_5=(Token)match(input,FullStopFullStopFullStop,FOLLOW_16); + + newLeafNode(otherlv_5, grammarAccess.getExternAggregatorDefinitionAccess().getFullStopFullStopFullStopKeyword_5()); + + otherlv_6=(Token)match(input,RightCurlyBracket,FOLLOW_2); + + newLeafNode(otherlv_6, grammarAccess.getExternAggregatorDefinitionAccess().getRightCurlyBracketKeyword_6()); + + + } + + + } + + + leaveRule(); + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleExternAggregatorDefinition" + + + // $ANTLR start "entryRuleExternDatatypeDefinition" + // InternalSolverLanguageParser.g:908:1: entryRuleExternDatatypeDefinition returns [EObject current=null] : iv_ruleExternDatatypeDefinition= ruleExternDatatypeDefinition EOF ; + public final EObject entryRuleExternDatatypeDefinition() throws RecognitionException { + EObject current = null; + + EObject iv_ruleExternDatatypeDefinition = null; + + + try { + // InternalSolverLanguageParser.g:908:65: (iv_ruleExternDatatypeDefinition= ruleExternDatatypeDefinition EOF ) + // InternalSolverLanguageParser.g:909:2: iv_ruleExternDatatypeDefinition= ruleExternDatatypeDefinition EOF + { + newCompositeNode(grammarAccess.getExternDatatypeDefinitionRule()); + pushFollow(FOLLOW_1); + iv_ruleExternDatatypeDefinition=ruleExternDatatypeDefinition(); + + state._fsp--; + + current =iv_ruleExternDatatypeDefinition; + match(input,EOF,FOLLOW_2); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleExternDatatypeDefinition" + + + // $ANTLR start "ruleExternDatatypeDefinition" + // InternalSolverLanguageParser.g:915:1: ruleExternDatatypeDefinition returns [EObject current=null] : (otherlv_0= Extern otherlv_1= Datatype ( (lv_name_2_0= ruleQualifiedName ) ) (otherlv_3= Extends ( ( ruleQualifiedName ) ) (otherlv_5= Comma ( ( ruleQualifiedName ) ) )* ) ) ; + public final EObject ruleExternDatatypeDefinition() throws RecognitionException { + EObject current = null; + + Token otherlv_0=null; + Token otherlv_1=null; + Token otherlv_3=null; + Token otherlv_5=null; + AntlrDatatypeRuleToken lv_name_2_0 = null; + + + + enterRule(); + + try { + // InternalSolverLanguageParser.g:921:2: ( (otherlv_0= Extern otherlv_1= Datatype ( (lv_name_2_0= ruleQualifiedName ) ) (otherlv_3= Extends ( ( ruleQualifiedName ) ) (otherlv_5= Comma ( ( ruleQualifiedName ) ) )* ) ) ) + // InternalSolverLanguageParser.g:922:2: (otherlv_0= Extern otherlv_1= Datatype ( (lv_name_2_0= ruleQualifiedName ) ) (otherlv_3= Extends ( ( ruleQualifiedName ) ) (otherlv_5= Comma ( ( ruleQualifiedName ) ) )* ) ) + { + // InternalSolverLanguageParser.g:922:2: (otherlv_0= Extern otherlv_1= Datatype ( (lv_name_2_0= ruleQualifiedName ) ) (otherlv_3= Extends ( ( ruleQualifiedName ) ) (otherlv_5= Comma ( ( ruleQualifiedName ) ) )* ) ) + // InternalSolverLanguageParser.g:923:3: otherlv_0= Extern otherlv_1= Datatype ( (lv_name_2_0= ruleQualifiedName ) ) (otherlv_3= Extends ( ( ruleQualifiedName ) ) (otherlv_5= Comma ( ( ruleQualifiedName ) ) )* ) + { + otherlv_0=(Token)match(input,Extern,FOLLOW_17); + + newLeafNode(otherlv_0, grammarAccess.getExternDatatypeDefinitionAccess().getExternKeyword_0()); + + otherlv_1=(Token)match(input,Datatype,FOLLOW_8); + + newLeafNode(otherlv_1, grammarAccess.getExternDatatypeDefinitionAccess().getDatatypeKeyword_1()); + + // InternalSolverLanguageParser.g:931:3: ( (lv_name_2_0= ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:932:4: (lv_name_2_0= ruleQualifiedName ) + { + // InternalSolverLanguageParser.g:932:4: (lv_name_2_0= ruleQualifiedName ) + // InternalSolverLanguageParser.g:933:5: lv_name_2_0= ruleQualifiedName + { + + newCompositeNode(grammarAccess.getExternDatatypeDefinitionAccess().getNameQualifiedNameParserRuleCall_2_0()); + + pushFollow(FOLLOW_18); + lv_name_2_0=ruleQualifiedName(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getExternDatatypeDefinitionRule()); + } + set( + current, + "name", + lv_name_2_0, + "org.eclipse.viatra.solver.language.SolverLanguage.QualifiedName"); + afterParserOrEnumRuleCall(); + + + } + + + } + + // InternalSolverLanguageParser.g:950:3: (otherlv_3= Extends ( ( ruleQualifiedName ) ) (otherlv_5= Comma ( ( ruleQualifiedName ) ) )* ) + // InternalSolverLanguageParser.g:951:4: otherlv_3= Extends ( ( ruleQualifiedName ) ) (otherlv_5= Comma ( ( ruleQualifiedName ) ) )* + { + otherlv_3=(Token)match(input,Extends,FOLLOW_8); + + newLeafNode(otherlv_3, grammarAccess.getExternDatatypeDefinitionAccess().getExtendsKeyword_3_0()); + + // InternalSolverLanguageParser.g:955:4: ( ( ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:956:5: ( ruleQualifiedName ) + { + // InternalSolverLanguageParser.g:956:5: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:957:6: ruleQualifiedName + { + + if (current==null) { + current = createModelElement(grammarAccess.getExternDatatypeDefinitionRule()); + } + + + newCompositeNode(grammarAccess.getExternDatatypeDefinitionAccess().getSupertypesNamedElementCrossReference_3_1_0()); + + pushFollow(FOLLOW_19); + ruleQualifiedName(); + + state._fsp--; + + + afterParserOrEnumRuleCall(); + + + } + + + } + + // InternalSolverLanguageParser.g:971:4: (otherlv_5= Comma ( ( ruleQualifiedName ) ) )* + loop7: + do { + int alt7=2; + int LA7_0 = input.LA(1); + + if ( (LA7_0==Comma) ) { + alt7=1; + } + + + switch (alt7) { + case 1 : + // InternalSolverLanguageParser.g:972:5: otherlv_5= Comma ( ( ruleQualifiedName ) ) + { + otherlv_5=(Token)match(input,Comma,FOLLOW_8); + + newLeafNode(otherlv_5, grammarAccess.getExternDatatypeDefinitionAccess().getCommaKeyword_3_2_0()); + + // InternalSolverLanguageParser.g:976:5: ( ( ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:977:6: ( ruleQualifiedName ) + { + // InternalSolverLanguageParser.g:977:6: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:978:7: ruleQualifiedName + { + + if (current==null) { + current = createModelElement(grammarAccess.getExternDatatypeDefinitionRule()); + } + + + newCompositeNode(grammarAccess.getExternDatatypeDefinitionAccess().getSupertypesNamedElementCrossReference_3_2_1_0()); + + pushFollow(FOLLOW_19); + ruleQualifiedName(); + + state._fsp--; + + + afterParserOrEnumRuleCall(); + + + } + + + } + + + } + break; + + default : + break loop7; + } + } while (true); + + + } + + + } + + + } + + + leaveRule(); + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleExternDatatypeDefinition" + + + // $ANTLR start "entryRuleVariable" + // InternalSolverLanguageParser.g:998:1: entryRuleVariable returns [EObject current=null] : iv_ruleVariable= ruleVariable EOF ; + public final EObject entryRuleVariable() throws RecognitionException { + EObject current = null; + + EObject iv_ruleVariable = null; + + + try { + // InternalSolverLanguageParser.g:998:49: (iv_ruleVariable= ruleVariable EOF ) + // InternalSolverLanguageParser.g:999:2: iv_ruleVariable= ruleVariable EOF + { + newCompositeNode(grammarAccess.getVariableRule()); + pushFollow(FOLLOW_1); + iv_ruleVariable=ruleVariable(); + + state._fsp--; + + current =iv_ruleVariable; + match(input,EOF,FOLLOW_2); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleVariable" + + + // $ANTLR start "ruleVariable" + // InternalSolverLanguageParser.g:1005:1: ruleVariable returns [EObject current=null] : ( ( ( ruleQualifiedName ) )? ( (lv_name_1_0= RULE_ID ) ) ) ; + public final EObject ruleVariable() throws RecognitionException { + EObject current = null; + + Token lv_name_1_0=null; + + + enterRule(); + + try { + // InternalSolverLanguageParser.g:1011:2: ( ( ( ( ruleQualifiedName ) )? ( (lv_name_1_0= RULE_ID ) ) ) ) + // InternalSolverLanguageParser.g:1012:2: ( ( ( ruleQualifiedName ) )? ( (lv_name_1_0= RULE_ID ) ) ) + { + // InternalSolverLanguageParser.g:1012:2: ( ( ( ruleQualifiedName ) )? ( (lv_name_1_0= RULE_ID ) ) ) + // InternalSolverLanguageParser.g:1013:3: ( ( ruleQualifiedName ) )? ( (lv_name_1_0= RULE_ID ) ) + { + // InternalSolverLanguageParser.g:1013:3: ( ( ruleQualifiedName ) )? + int alt8=2; + int LA8_0 = input.LA(1); + + if ( (LA8_0==RULE_ID) ) { + int LA8_1 = input.LA(2); + + if ( (LA8_1==FullStop||LA8_1==RULE_ID) ) { + alt8=1; + } + } + else if ( (LA8_0==RULE_QUOTED_ID) ) { + alt8=1; + } + switch (alt8) { + case 1 : + // InternalSolverLanguageParser.g:1014:4: ( ruleQualifiedName ) + { + // InternalSolverLanguageParser.g:1014:4: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:1015:5: ruleQualifiedName + { + + if (current==null) { + current = createModelElement(grammarAccess.getVariableRule()); + } + + + newCompositeNode(grammarAccess.getVariableAccess().getTypeNamedElementCrossReference_0_0()); + + pushFollow(FOLLOW_20); + ruleQualifiedName(); + + state._fsp--; + + + afterParserOrEnumRuleCall(); + + + } + + + } + break; + + } + + // InternalSolverLanguageParser.g:1029:3: ( (lv_name_1_0= RULE_ID ) ) + // InternalSolverLanguageParser.g:1030:4: (lv_name_1_0= RULE_ID ) + { + // InternalSolverLanguageParser.g:1030:4: (lv_name_1_0= RULE_ID ) + // InternalSolverLanguageParser.g:1031:5: lv_name_1_0= RULE_ID + { + lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_2); + + newLeafNode(lv_name_1_0, grammarAccess.getVariableAccess().getNameIDTerminalRuleCall_1_0()); + + + if (current==null) { + current = createModelElement(grammarAccess.getVariableRule()); + } + setWithLastConsumed( + current, + "name", + lv_name_1_0, + "org.eclipse.xtext.common.Terminals.ID"); + + + } + + + } + + + } + + + } + + + leaveRule(); + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleVariable" + + + // $ANTLR start "entryRuleExpression" + // InternalSolverLanguageParser.g:1051:1: entryRuleExpression returns [EObject current=null] : iv_ruleExpression= ruleExpression EOF ; + public final EObject entryRuleExpression() throws RecognitionException { + EObject current = null; + + EObject iv_ruleExpression = null; + + + try { + // InternalSolverLanguageParser.g:1051:51: (iv_ruleExpression= ruleExpression EOF ) + // InternalSolverLanguageParser.g:1052:2: iv_ruleExpression= ruleExpression EOF + { + newCompositeNode(grammarAccess.getExpressionRule()); + pushFollow(FOLLOW_1); + iv_ruleExpression=ruleExpression(); + + state._fsp--; + + current =iv_ruleExpression; + match(input,EOF,FOLLOW_2); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleExpression" + + + // $ANTLR start "ruleExpression" + // InternalSolverLanguageParser.g:1058:1: ruleExpression returns [EObject current=null] : (this_IfElse_0= ruleIfElse | this_Let_1= ruleLet | this_ImplicationExpression_2= ruleImplicationExpression ) ; + public final EObject ruleExpression() throws RecognitionException { + EObject current = null; + + EObject this_IfElse_0 = null; + + EObject this_Let_1 = null; + + EObject this_ImplicationExpression_2 = null; + + + + enterRule(); + + try { + // InternalSolverLanguageParser.g:1064:2: ( (this_IfElse_0= ruleIfElse | this_Let_1= ruleLet | this_ImplicationExpression_2= ruleImplicationExpression ) ) + // InternalSolverLanguageParser.g:1065:2: (this_IfElse_0= ruleIfElse | this_Let_1= ruleLet | this_ImplicationExpression_2= ruleImplicationExpression ) + { + // InternalSolverLanguageParser.g:1065:2: (this_IfElse_0= ruleIfElse | this_Let_1= ruleLet | this_ImplicationExpression_2= ruleImplicationExpression ) + int alt9=3; + switch ( input.LA(1) ) { + case If: + { + alt9=1; + } + break; + case Let: + { + alt9=2; + } + break; + case Current: + case Unknown: + case Exists: + case Forall: + case Count: + case Empty: + case Error: + case False: + case Must: + case True: + case Inf: + case May: + case ExclamationMark: + case LeftParenthesis: + case PlusSign: + case HyphenMinus: + case LeftSquareBracket: + case RULE_STRING: + case RULE_QUOTED_ID: + case RULE_ID: + case RULE_INT: + { + alt9=3; + } + break; + default: + NoViableAltException nvae = + new NoViableAltException("", 9, 0, input); + + throw nvae; + } + + switch (alt9) { + case 1 : + // InternalSolverLanguageParser.g:1066:3: this_IfElse_0= ruleIfElse + { + + newCompositeNode(grammarAccess.getExpressionAccess().getIfElseParserRuleCall_0()); + + pushFollow(FOLLOW_2); + this_IfElse_0=ruleIfElse(); + + state._fsp--; + + + current = this_IfElse_0; + afterParserOrEnumRuleCall(); + + + } + break; + case 2 : + // InternalSolverLanguageParser.g:1075:3: this_Let_1= ruleLet + { + + newCompositeNode(grammarAccess.getExpressionAccess().getLetParserRuleCall_1()); + + pushFollow(FOLLOW_2); + this_Let_1=ruleLet(); + + state._fsp--; + + + current = this_Let_1; + afterParserOrEnumRuleCall(); + + + } + break; + case 3 : + // InternalSolverLanguageParser.g:1084:3: this_ImplicationExpression_2= ruleImplicationExpression + { + + newCompositeNode(grammarAccess.getExpressionAccess().getImplicationExpressionParserRuleCall_2()); + + pushFollow(FOLLOW_2); + this_ImplicationExpression_2=ruleImplicationExpression(); + + state._fsp--; + + + current = this_ImplicationExpression_2; + afterParserOrEnumRuleCall(); + + + } + break; + + } + + + } + + + leaveRule(); + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleExpression" + + + // $ANTLR start "entryRuleIfElse" + // InternalSolverLanguageParser.g:1096:1: entryRuleIfElse returns [EObject current=null] : iv_ruleIfElse= ruleIfElse EOF ; + public final EObject entryRuleIfElse() throws RecognitionException { EObject current = null; - EObject this_IfElse_0 = null; + EObject iv_ruleIfElse = null; + + + try { + // InternalSolverLanguageParser.g:1096:47: (iv_ruleIfElse= ruleIfElse EOF ) + // InternalSolverLanguageParser.g:1097:2: iv_ruleIfElse= ruleIfElse EOF + { + newCompositeNode(grammarAccess.getIfElseRule()); + pushFollow(FOLLOW_1); + iv_ruleIfElse=ruleIfElse(); + + state._fsp--; + + current =iv_ruleIfElse; + match(input,EOF,FOLLOW_2); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleIfElse" + + + // $ANTLR start "ruleIfElse" + // InternalSolverLanguageParser.g:1103:1: ruleIfElse returns [EObject current=null] : (otherlv_0= If ( (lv_condition_1_0= ruleExpression ) ) otherlv_2= Then ( (lv_then_3_0= ruleExpression ) ) otherlv_4= Else ( (lv_else_5_0= ruleExpression ) ) ) ; + public final EObject ruleIfElse() throws RecognitionException { + EObject current = null; + + Token otherlv_0=null; + Token otherlv_2=null; + Token otherlv_4=null; + EObject lv_condition_1_0 = null; + + EObject lv_then_3_0 = null; - EObject this_DisjunctiveExpression_1 = null; + EObject lv_else_5_0 = null; enterRule(); try { - // InternalSolverLanguageParser.g:787:2: ( (this_IfElse_0= ruleIfElse | this_DisjunctiveExpression_1= ruleDisjunctiveExpression ) ) - // InternalSolverLanguageParser.g:788:2: (this_IfElse_0= ruleIfElse | this_DisjunctiveExpression_1= ruleDisjunctiveExpression ) + // InternalSolverLanguageParser.g:1109:2: ( (otherlv_0= If ( (lv_condition_1_0= ruleExpression ) ) otherlv_2= Then ( (lv_then_3_0= ruleExpression ) ) otherlv_4= Else ( (lv_else_5_0= ruleExpression ) ) ) ) + // InternalSolverLanguageParser.g:1110:2: (otherlv_0= If ( (lv_condition_1_0= ruleExpression ) ) otherlv_2= Then ( (lv_then_3_0= ruleExpression ) ) otherlv_4= Else ( (lv_else_5_0= ruleExpression ) ) ) { - // InternalSolverLanguageParser.g:788:2: (this_IfElse_0= ruleIfElse | this_DisjunctiveExpression_1= ruleDisjunctiveExpression ) - int alt8=2; - int LA8_0 = input.LA(1); + // InternalSolverLanguageParser.g:1110:2: (otherlv_0= If ( (lv_condition_1_0= ruleExpression ) ) otherlv_2= Then ( (lv_then_3_0= ruleExpression ) ) otherlv_4= Else ( (lv_else_5_0= ruleExpression ) ) ) + // InternalSolverLanguageParser.g:1111:3: otherlv_0= If ( (lv_condition_1_0= ruleExpression ) ) otherlv_2= Then ( (lv_then_3_0= ruleExpression ) ) otherlv_4= Else ( (lv_else_5_0= ruleExpression ) ) + { + otherlv_0=(Token)match(input,If,FOLLOW_6); + + newLeafNode(otherlv_0, grammarAccess.getIfElseAccess().getIfKeyword_0()); + + // InternalSolverLanguageParser.g:1115:3: ( (lv_condition_1_0= ruleExpression ) ) + // InternalSolverLanguageParser.g:1116:4: (lv_condition_1_0= ruleExpression ) + { + // InternalSolverLanguageParser.g:1116:4: (lv_condition_1_0= ruleExpression ) + // InternalSolverLanguageParser.g:1117:5: lv_condition_1_0= ruleExpression + { + + newCompositeNode(grammarAccess.getIfElseAccess().getConditionExpressionParserRuleCall_1_0()); + + pushFollow(FOLLOW_21); + lv_condition_1_0=ruleExpression(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getIfElseRule()); + } + set( + current, + "condition", + lv_condition_1_0, + "org.eclipse.viatra.solver.language.SolverLanguage.Expression"); + afterParserOrEnumRuleCall(); + - if ( (LA8_0==If) ) { - alt8=1; } - else if ( (LA8_0==Current||LA8_0==Unknown||(LA8_0>=Count && LA8_0<=False)||(LA8_0>=Must && LA8_0<=Prod)||LA8_0==True||(LA8_0>=Avg && LA8_0<=Inf)||(LA8_0>=Max && LA8_0<=Sum)||(LA8_0>=ExclamationMark && LA8_0<=LeftParenthesis)||LA8_0==PlusSign||LA8_0==HyphenMinus||LA8_0==LeftSquareBracket||(LA8_0>=RULE_STRING && LA8_0<=RULE_QUOTED_ID)||(LA8_0>=RULE_ID && LA8_0<=RULE_INT)) ) { - alt8=2; + + } - else { - NoViableAltException nvae = - new NoViableAltException("", 8, 0, input); - throw nvae; - } - switch (alt8) { - case 1 : - // InternalSolverLanguageParser.g:789:3: this_IfElse_0= ruleIfElse - { + otherlv_2=(Token)match(input,Then,FOLLOW_6); + + newLeafNode(otherlv_2, grammarAccess.getIfElseAccess().getThenKeyword_2()); + + // InternalSolverLanguageParser.g:1138:3: ( (lv_then_3_0= ruleExpression ) ) + // InternalSolverLanguageParser.g:1139:4: (lv_then_3_0= ruleExpression ) + { + // InternalSolverLanguageParser.g:1139:4: (lv_then_3_0= ruleExpression ) + // InternalSolverLanguageParser.g:1140:5: lv_then_3_0= ruleExpression + { + + newCompositeNode(grammarAccess.getIfElseAccess().getThenExpressionParserRuleCall_3_0()); + + pushFollow(FOLLOW_22); + lv_then_3_0=ruleExpression(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getIfElseRule()); + } + set( + current, + "then", + lv_then_3_0, + "org.eclipse.viatra.solver.language.SolverLanguage.Expression"); + afterParserOrEnumRuleCall(); + + + } + + + } + + otherlv_4=(Token)match(input,Else,FOLLOW_6); + + newLeafNode(otherlv_4, grammarAccess.getIfElseAccess().getElseKeyword_4()); + + // InternalSolverLanguageParser.g:1161:3: ( (lv_else_5_0= ruleExpression ) ) + // InternalSolverLanguageParser.g:1162:4: (lv_else_5_0= ruleExpression ) + { + // InternalSolverLanguageParser.g:1162:4: (lv_else_5_0= ruleExpression ) + // InternalSolverLanguageParser.g:1163:5: lv_else_5_0= ruleExpression + { + + newCompositeNode(grammarAccess.getIfElseAccess().getElseExpressionParserRuleCall_5_0()); + + pushFollow(FOLLOW_2); + lv_else_5_0=ruleExpression(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getIfElseRule()); + } + set( + current, + "else", + lv_else_5_0, + "org.eclipse.viatra.solver.language.SolverLanguage.Expression"); + afterParserOrEnumRuleCall(); + + + } + + + } + + + } + + + } + + + leaveRule(); + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleIfElse" + + + // $ANTLR start "entryRuleLet" + // InternalSolverLanguageParser.g:1184:1: entryRuleLet returns [EObject current=null] : iv_ruleLet= ruleLet EOF ; + public final EObject entryRuleLet() throws RecognitionException { + EObject current = null; + + EObject iv_ruleLet = null; + + + try { + // InternalSolverLanguageParser.g:1184:44: (iv_ruleLet= ruleLet EOF ) + // InternalSolverLanguageParser.g:1185:2: iv_ruleLet= ruleLet EOF + { + newCompositeNode(grammarAccess.getLetRule()); + pushFollow(FOLLOW_1); + iv_ruleLet=ruleLet(); + + state._fsp--; + + current =iv_ruleLet; + match(input,EOF,FOLLOW_2); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleLet" + + + // $ANTLR start "ruleLet" + // InternalSolverLanguageParser.g:1191:1: ruleLet returns [EObject current=null] : (otherlv_0= Let ( (lv_bindings_1_0= ruleLetBinding ) ) (otherlv_2= Comma ( (lv_bindings_3_0= ruleLetBinding ) ) )* otherlv_4= In ( (lv_body_5_0= ruleExpression ) ) ) ; + public final EObject ruleLet() throws RecognitionException { + EObject current = null; + + Token otherlv_0=null; + Token otherlv_2=null; + Token otherlv_4=null; + EObject lv_bindings_1_0 = null; + + EObject lv_bindings_3_0 = null; + + EObject lv_body_5_0 = null; + + + + enterRule(); + + try { + // InternalSolverLanguageParser.g:1197:2: ( (otherlv_0= Let ( (lv_bindings_1_0= ruleLetBinding ) ) (otherlv_2= Comma ( (lv_bindings_3_0= ruleLetBinding ) ) )* otherlv_4= In ( (lv_body_5_0= ruleExpression ) ) ) ) + // InternalSolverLanguageParser.g:1198:2: (otherlv_0= Let ( (lv_bindings_1_0= ruleLetBinding ) ) (otherlv_2= Comma ( (lv_bindings_3_0= ruleLetBinding ) ) )* otherlv_4= In ( (lv_body_5_0= ruleExpression ) ) ) + { + // InternalSolverLanguageParser.g:1198:2: (otherlv_0= Let ( (lv_bindings_1_0= ruleLetBinding ) ) (otherlv_2= Comma ( (lv_bindings_3_0= ruleLetBinding ) ) )* otherlv_4= In ( (lv_body_5_0= ruleExpression ) ) ) + // InternalSolverLanguageParser.g:1199:3: otherlv_0= Let ( (lv_bindings_1_0= ruleLetBinding ) ) (otherlv_2= Comma ( (lv_bindings_3_0= ruleLetBinding ) ) )* otherlv_4= In ( (lv_body_5_0= ruleExpression ) ) + { + otherlv_0=(Token)match(input,Let,FOLLOW_8); + + newLeafNode(otherlv_0, grammarAccess.getLetAccess().getLetKeyword_0()); + + // InternalSolverLanguageParser.g:1203:3: ( (lv_bindings_1_0= ruleLetBinding ) ) + // InternalSolverLanguageParser.g:1204:4: (lv_bindings_1_0= ruleLetBinding ) + { + // InternalSolverLanguageParser.g:1204:4: (lv_bindings_1_0= ruleLetBinding ) + // InternalSolverLanguageParser.g:1205:5: lv_bindings_1_0= ruleLetBinding + { + + newCompositeNode(grammarAccess.getLetAccess().getBindingsLetBindingParserRuleCall_1_0()); + + pushFollow(FOLLOW_23); + lv_bindings_1_0=ruleLetBinding(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getLetRule()); + } + add( + current, + "bindings", + lv_bindings_1_0, + "org.eclipse.viatra.solver.language.SolverLanguage.LetBinding"); + afterParserOrEnumRuleCall(); + + + } + + + } + + // InternalSolverLanguageParser.g:1222:3: (otherlv_2= Comma ( (lv_bindings_3_0= ruleLetBinding ) ) )* + loop10: + do { + int alt10=2; + int LA10_0 = input.LA(1); + + if ( (LA10_0==Comma) ) { + alt10=1; + } + + + switch (alt10) { + case 1 : + // InternalSolverLanguageParser.g:1223:4: otherlv_2= Comma ( (lv_bindings_3_0= ruleLetBinding ) ) + { + otherlv_2=(Token)match(input,Comma,FOLLOW_8); + + newLeafNode(otherlv_2, grammarAccess.getLetAccess().getCommaKeyword_2_0()); + + // InternalSolverLanguageParser.g:1227:4: ( (lv_bindings_3_0= ruleLetBinding ) ) + // InternalSolverLanguageParser.g:1228:5: (lv_bindings_3_0= ruleLetBinding ) + { + // InternalSolverLanguageParser.g:1228:5: (lv_bindings_3_0= ruleLetBinding ) + // InternalSolverLanguageParser.g:1229:6: lv_bindings_3_0= ruleLetBinding + { + + newCompositeNode(grammarAccess.getLetAccess().getBindingsLetBindingParserRuleCall_2_1_0()); + + pushFollow(FOLLOW_23); + lv_bindings_3_0=ruleLetBinding(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getLetRule()); + } + add( + current, + "bindings", + lv_bindings_3_0, + "org.eclipse.viatra.solver.language.SolverLanguage.LetBinding"); + afterParserOrEnumRuleCall(); + + + } + + + } - newCompositeNode(grammarAccess.getExpressionAccess().getIfElseParserRuleCall_0()); - - pushFollow(FOLLOW_2); - this_IfElse_0=ruleIfElse(); - state._fsp--; + } + break; + default : + break loop10; + } + } while (true); - current = this_IfElse_0; - afterParserOrEnumRuleCall(); - + otherlv_4=(Token)match(input,In,FOLLOW_6); - } - break; - case 2 : - // InternalSolverLanguageParser.g:798:3: this_DisjunctiveExpression_1= ruleDisjunctiveExpression - { + newLeafNode(otherlv_4, grammarAccess.getLetAccess().getInKeyword_3()); + + // InternalSolverLanguageParser.g:1251:3: ( (lv_body_5_0= ruleExpression ) ) + // InternalSolverLanguageParser.g:1252:4: (lv_body_5_0= ruleExpression ) + { + // InternalSolverLanguageParser.g:1252:4: (lv_body_5_0= ruleExpression ) + // InternalSolverLanguageParser.g:1253:5: lv_body_5_0= ruleExpression + { - newCompositeNode(grammarAccess.getExpressionAccess().getDisjunctiveExpressionParserRuleCall_1()); - - pushFollow(FOLLOW_2); - this_DisjunctiveExpression_1=ruleDisjunctiveExpression(); + newCompositeNode(grammarAccess.getLetAccess().getBodyExpressionParserRuleCall_4_0()); + + pushFollow(FOLLOW_2); + lv_body_5_0=ruleExpression(); - state._fsp--; + state._fsp--; - current = this_DisjunctiveExpression_1; - afterParserOrEnumRuleCall(); - + if (current==null) { + current = createModelElementForParent(grammarAccess.getLetRule()); + } + set( + current, + "body", + lv_body_5_0, + "org.eclipse.viatra.solver.language.SolverLanguage.Expression"); + afterParserOrEnumRuleCall(); + + + } + + + } - } - break; } @@ -2035,28 +3086,28 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } return current; } - // $ANTLR end "ruleExpression" + // $ANTLR end "ruleLet" - // $ANTLR start "entryRuleIfElse" - // InternalSolverLanguageParser.g:810:1: entryRuleIfElse returns [EObject current=null] : iv_ruleIfElse= ruleIfElse EOF ; - public final EObject entryRuleIfElse() throws RecognitionException { + // $ANTLR start "entryRuleLetBinding" + // InternalSolverLanguageParser.g:1274:1: entryRuleLetBinding returns [EObject current=null] : iv_ruleLetBinding= ruleLetBinding EOF ; + public final EObject entryRuleLetBinding() throws RecognitionException { EObject current = null; - EObject iv_ruleIfElse = null; + EObject iv_ruleLetBinding = null; try { - // InternalSolverLanguageParser.g:810:47: (iv_ruleIfElse= ruleIfElse EOF ) - // InternalSolverLanguageParser.g:811:2: iv_ruleIfElse= ruleIfElse EOF + // InternalSolverLanguageParser.g:1274:51: (iv_ruleLetBinding= ruleLetBinding EOF ) + // InternalSolverLanguageParser.g:1275:2: iv_ruleLetBinding= ruleLetBinding EOF { - newCompositeNode(grammarAccess.getIfElseRule()); + newCompositeNode(grammarAccess.getLetBindingRule()); pushFollow(FOLLOW_1); - iv_ruleIfElse=ruleIfElse(); + iv_ruleLetBinding=ruleLetBinding(); state._fsp--; - current =iv_ruleIfElse; + current =iv_ruleLetBinding; match(input,EOF,FOLLOW_2); } @@ -2071,61 +3122,53 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } return current; } - // $ANTLR end "entryRuleIfElse" + // $ANTLR end "entryRuleLetBinding" - // $ANTLR start "ruleIfElse" - // InternalSolverLanguageParser.g:817:1: ruleIfElse returns [EObject current=null] : (otherlv_0= If ( (lv_condition_1_0= ruleExpression ) ) otherlv_2= Then ( (lv_then_3_0= ruleExpression ) ) otherlv_4= Else ( (lv_else_5_0= ruleExpression ) ) ) ; - public final EObject ruleIfElse() throws RecognitionException { + // $ANTLR start "ruleLetBinding" + // InternalSolverLanguageParser.g:1281:1: ruleLetBinding returns [EObject current=null] : ( ( (lv_variable_0_0= ruleVariable ) ) otherlv_1= EqualsSign ( (lv_value_2_0= ruleAdditiveExpression ) ) ) ; + public final EObject ruleLetBinding() throws RecognitionException { EObject current = null; - Token otherlv_0=null; - Token otherlv_2=null; - Token otherlv_4=null; - EObject lv_condition_1_0 = null; - - EObject lv_then_3_0 = null; + Token otherlv_1=null; + EObject lv_variable_0_0 = null; - EObject lv_else_5_0 = null; + EObject lv_value_2_0 = null; enterRule(); try { - // InternalSolverLanguageParser.g:823:2: ( (otherlv_0= If ( (lv_condition_1_0= ruleExpression ) ) otherlv_2= Then ( (lv_then_3_0= ruleExpression ) ) otherlv_4= Else ( (lv_else_5_0= ruleExpression ) ) ) ) - // InternalSolverLanguageParser.g:824:2: (otherlv_0= If ( (lv_condition_1_0= ruleExpression ) ) otherlv_2= Then ( (lv_then_3_0= ruleExpression ) ) otherlv_4= Else ( (lv_else_5_0= ruleExpression ) ) ) + // InternalSolverLanguageParser.g:1287:2: ( ( ( (lv_variable_0_0= ruleVariable ) ) otherlv_1= EqualsSign ( (lv_value_2_0= ruleAdditiveExpression ) ) ) ) + // InternalSolverLanguageParser.g:1288:2: ( ( (lv_variable_0_0= ruleVariable ) ) otherlv_1= EqualsSign ( (lv_value_2_0= ruleAdditiveExpression ) ) ) { - // InternalSolverLanguageParser.g:824:2: (otherlv_0= If ( (lv_condition_1_0= ruleExpression ) ) otherlv_2= Then ( (lv_then_3_0= ruleExpression ) ) otherlv_4= Else ( (lv_else_5_0= ruleExpression ) ) ) - // InternalSolverLanguageParser.g:825:3: otherlv_0= If ( (lv_condition_1_0= ruleExpression ) ) otherlv_2= Then ( (lv_then_3_0= ruleExpression ) ) otherlv_4= Else ( (lv_else_5_0= ruleExpression ) ) + // InternalSolverLanguageParser.g:1288:2: ( ( (lv_variable_0_0= ruleVariable ) ) otherlv_1= EqualsSign ( (lv_value_2_0= ruleAdditiveExpression ) ) ) + // InternalSolverLanguageParser.g:1289:3: ( (lv_variable_0_0= ruleVariable ) ) otherlv_1= EqualsSign ( (lv_value_2_0= ruleAdditiveExpression ) ) { - otherlv_0=(Token)match(input,If,FOLLOW_6); - - newLeafNode(otherlv_0, grammarAccess.getIfElseAccess().getIfKeyword_0()); - - // InternalSolverLanguageParser.g:829:3: ( (lv_condition_1_0= ruleExpression ) ) - // InternalSolverLanguageParser.g:830:4: (lv_condition_1_0= ruleExpression ) + // InternalSolverLanguageParser.g:1289:3: ( (lv_variable_0_0= ruleVariable ) ) + // InternalSolverLanguageParser.g:1290:4: (lv_variable_0_0= ruleVariable ) { - // InternalSolverLanguageParser.g:830:4: (lv_condition_1_0= ruleExpression ) - // InternalSolverLanguageParser.g:831:5: lv_condition_1_0= ruleExpression + // InternalSolverLanguageParser.g:1290:4: (lv_variable_0_0= ruleVariable ) + // InternalSolverLanguageParser.g:1291:5: lv_variable_0_0= ruleVariable { - newCompositeNode(grammarAccess.getIfElseAccess().getConditionExpressionParserRuleCall_1_0()); + newCompositeNode(grammarAccess.getLetBindingAccess().getVariableVariableParserRuleCall_0_0()); - pushFollow(FOLLOW_15); - lv_condition_1_0=ruleExpression(); + pushFollow(FOLLOW_13); + lv_variable_0_0=ruleVariable(); state._fsp--; if (current==null) { - current = createModelElementForParent(grammarAccess.getIfElseRule()); + current = createModelElementForParent(grammarAccess.getLetBindingRule()); } set( current, - "condition", - lv_condition_1_0, - "org.eclipse.viatra.solver.language.SolverLanguage.Expression"); + "variable", + lv_variable_0_0, + "org.eclipse.viatra.solver.language.SolverLanguage.Variable"); afterParserOrEnumRuleCall(); @@ -2134,33 +3177,33 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } - otherlv_2=(Token)match(input,Then,FOLLOW_6); + otherlv_1=(Token)match(input,EqualsSign,FOLLOW_6); - newLeafNode(otherlv_2, grammarAccess.getIfElseAccess().getThenKeyword_2()); + newLeafNode(otherlv_1, grammarAccess.getLetBindingAccess().getEqualsSignKeyword_1()); - // InternalSolverLanguageParser.g:852:3: ( (lv_then_3_0= ruleExpression ) ) - // InternalSolverLanguageParser.g:853:4: (lv_then_3_0= ruleExpression ) + // InternalSolverLanguageParser.g:1312:3: ( (lv_value_2_0= ruleAdditiveExpression ) ) + // InternalSolverLanguageParser.g:1313:4: (lv_value_2_0= ruleAdditiveExpression ) { - // InternalSolverLanguageParser.g:853:4: (lv_then_3_0= ruleExpression ) - // InternalSolverLanguageParser.g:854:5: lv_then_3_0= ruleExpression + // InternalSolverLanguageParser.g:1313:4: (lv_value_2_0= ruleAdditiveExpression ) + // InternalSolverLanguageParser.g:1314:5: lv_value_2_0= ruleAdditiveExpression { - newCompositeNode(grammarAccess.getIfElseAccess().getThenExpressionParserRuleCall_3_0()); + newCompositeNode(grammarAccess.getLetBindingAccess().getValueAdditiveExpressionParserRuleCall_2_0()); - pushFollow(FOLLOW_16); - lv_then_3_0=ruleExpression(); + pushFollow(FOLLOW_2); + lv_value_2_0=ruleAdditiveExpression(); state._fsp--; if (current==null) { - current = createModelElementForParent(grammarAccess.getIfElseRule()); + current = createModelElementForParent(grammarAccess.getLetBindingRule()); } set( current, - "then", - lv_then_3_0, - "org.eclipse.viatra.solver.language.SolverLanguage.Expression"); + "value", + lv_value_2_0, + "org.eclipse.viatra.solver.language.SolverLanguage.AdditiveExpression"); afterParserOrEnumRuleCall(); @@ -2169,38 +3212,185 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } - otherlv_4=(Token)match(input,Else,FOLLOW_6); - newLeafNode(otherlv_4, grammarAccess.getIfElseAccess().getElseKeyword_4()); - - // InternalSolverLanguageParser.g:875:3: ( (lv_else_5_0= ruleExpression ) ) - // InternalSolverLanguageParser.g:876:4: (lv_else_5_0= ruleExpression ) + } + + + } + + + leaveRule(); + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleLetBinding" + + + // $ANTLR start "entryRuleImplicationExpression" + // InternalSolverLanguageParser.g:1335:1: entryRuleImplicationExpression returns [EObject current=null] : iv_ruleImplicationExpression= ruleImplicationExpression EOF ; + public final EObject entryRuleImplicationExpression() throws RecognitionException { + EObject current = null; + + EObject iv_ruleImplicationExpression = null; + + + try { + // InternalSolverLanguageParser.g:1335:62: (iv_ruleImplicationExpression= ruleImplicationExpression EOF ) + // InternalSolverLanguageParser.g:1336:2: iv_ruleImplicationExpression= ruleImplicationExpression EOF + { + newCompositeNode(grammarAccess.getImplicationExpressionRule()); + pushFollow(FOLLOW_1); + iv_ruleImplicationExpression=ruleImplicationExpression(); + + state._fsp--; + + current =iv_ruleImplicationExpression; + match(input,EOF,FOLLOW_2); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleImplicationExpression" + + + // $ANTLR start "ruleImplicationExpression" + // InternalSolverLanguageParser.g:1342:1: ruleImplicationExpression returns [EObject current=null] : (this_DisjunctiveExpression_0= ruleDisjunctiveExpression ( () ( (lv_op_2_0= ruleImplicationOperator ) ) ( (lv_right_3_0= ruleImplicationExpression ) ) )? ) ; + public final EObject ruleImplicationExpression() throws RecognitionException { + EObject current = null; + + EObject this_DisjunctiveExpression_0 = null; + + Enumerator lv_op_2_0 = null; + + EObject lv_right_3_0 = null; + + + + enterRule(); + + try { + // InternalSolverLanguageParser.g:1348:2: ( (this_DisjunctiveExpression_0= ruleDisjunctiveExpression ( () ( (lv_op_2_0= ruleImplicationOperator ) ) ( (lv_right_3_0= ruleImplicationExpression ) ) )? ) ) + // InternalSolverLanguageParser.g:1349:2: (this_DisjunctiveExpression_0= ruleDisjunctiveExpression ( () ( (lv_op_2_0= ruleImplicationOperator ) ) ( (lv_right_3_0= ruleImplicationExpression ) ) )? ) { - // InternalSolverLanguageParser.g:876:4: (lv_else_5_0= ruleExpression ) - // InternalSolverLanguageParser.g:877:5: lv_else_5_0= ruleExpression + // InternalSolverLanguageParser.g:1349:2: (this_DisjunctiveExpression_0= ruleDisjunctiveExpression ( () ( (lv_op_2_0= ruleImplicationOperator ) ) ( (lv_right_3_0= ruleImplicationExpression ) ) )? ) + // InternalSolverLanguageParser.g:1350:3: this_DisjunctiveExpression_0= ruleDisjunctiveExpression ( () ( (lv_op_2_0= ruleImplicationOperator ) ) ( (lv_right_3_0= ruleImplicationExpression ) ) )? { - newCompositeNode(grammarAccess.getIfElseAccess().getElseExpressionParserRuleCall_5_0()); - - pushFollow(FOLLOW_2); - lv_else_5_0=ruleExpression(); + newCompositeNode(grammarAccess.getImplicationExpressionAccess().getDisjunctiveExpressionParserRuleCall_0()); + + pushFollow(FOLLOW_24); + this_DisjunctiveExpression_0=ruleDisjunctiveExpression(); state._fsp--; - if (current==null) { - current = createModelElementForParent(grammarAccess.getIfElseRule()); - } - set( - current, - "else", - lv_else_5_0, - "org.eclipse.viatra.solver.language.SolverLanguage.Expression"); - afterParserOrEnumRuleCall(); - + current = this_DisjunctiveExpression_0; + afterParserOrEnumRuleCall(); + + // InternalSolverLanguageParser.g:1358:3: ( () ( (lv_op_2_0= ruleImplicationOperator ) ) ( (lv_right_3_0= ruleImplicationExpression ) ) )? + int alt11=2; + int LA11_0 = input.LA(1); + if ( (LA11_0==EqualsSignGreaterThanSign) ) { + alt11=1; } + switch (alt11) { + case 1 : + // InternalSolverLanguageParser.g:1359:4: () ( (lv_op_2_0= ruleImplicationOperator ) ) ( (lv_right_3_0= ruleImplicationExpression ) ) + { + // InternalSolverLanguageParser.g:1359:4: () + // InternalSolverLanguageParser.g:1360:5: + { + + current = forceCreateModelElementAndSet( + grammarAccess.getImplicationExpressionAccess().getBinaryExpressionLeftAction_1_0(), + current); + + + } + + // InternalSolverLanguageParser.g:1366:4: ( (lv_op_2_0= ruleImplicationOperator ) ) + // InternalSolverLanguageParser.g:1367:5: (lv_op_2_0= ruleImplicationOperator ) + { + // InternalSolverLanguageParser.g:1367:5: (lv_op_2_0= ruleImplicationOperator ) + // InternalSolverLanguageParser.g:1368:6: lv_op_2_0= ruleImplicationOperator + { + + newCompositeNode(grammarAccess.getImplicationExpressionAccess().getOpImplicationOperatorEnumRuleCall_1_1_0()); + + pushFollow(FOLLOW_6); + lv_op_2_0=ruleImplicationOperator(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getImplicationExpressionRule()); + } + set( + current, + "op", + lv_op_2_0, + "org.eclipse.viatra.solver.language.SolverLanguage.ImplicationOperator"); + afterParserOrEnumRuleCall(); + + + } + + + } + + // InternalSolverLanguageParser.g:1385:4: ( (lv_right_3_0= ruleImplicationExpression ) ) + // InternalSolverLanguageParser.g:1386:5: (lv_right_3_0= ruleImplicationExpression ) + { + // InternalSolverLanguageParser.g:1386:5: (lv_right_3_0= ruleImplicationExpression ) + // InternalSolverLanguageParser.g:1387:6: lv_right_3_0= ruleImplicationExpression + { + + newCompositeNode(grammarAccess.getImplicationExpressionAccess().getRightImplicationExpressionParserRuleCall_1_2_0()); + + pushFollow(FOLLOW_2); + lv_right_3_0=ruleImplicationExpression(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getImplicationExpressionRule()); + } + set( + current, + "right", + lv_right_3_0, + "org.eclipse.viatra.solver.language.SolverLanguage.ImplicationExpression"); + afterParserOrEnumRuleCall(); + + + } + + } + + + } + break; } @@ -2223,11 +3413,11 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } return current; } - // $ANTLR end "ruleIfElse" + // $ANTLR end "ruleImplicationExpression" // $ANTLR start "entryRuleDisjunctiveExpression" - // InternalSolverLanguageParser.g:898:1: entryRuleDisjunctiveExpression returns [EObject current=null] : iv_ruleDisjunctiveExpression= ruleDisjunctiveExpression EOF ; + // InternalSolverLanguageParser.g:1409:1: entryRuleDisjunctiveExpression returns [EObject current=null] : iv_ruleDisjunctiveExpression= ruleDisjunctiveExpression EOF ; public final EObject entryRuleDisjunctiveExpression() throws RecognitionException { EObject current = null; @@ -2235,8 +3425,8 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { try { - // InternalSolverLanguageParser.g:898:62: (iv_ruleDisjunctiveExpression= ruleDisjunctiveExpression EOF ) - // InternalSolverLanguageParser.g:899:2: iv_ruleDisjunctiveExpression= ruleDisjunctiveExpression EOF + // InternalSolverLanguageParser.g:1409:62: (iv_ruleDisjunctiveExpression= ruleDisjunctiveExpression EOF ) + // InternalSolverLanguageParser.g:1410:2: iv_ruleDisjunctiveExpression= ruleDisjunctiveExpression EOF { newCompositeNode(grammarAccess.getDisjunctiveExpressionRule()); pushFollow(FOLLOW_1); @@ -2263,7 +3453,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleDisjunctiveExpression" - // InternalSolverLanguageParser.g:905:1: ruleDisjunctiveExpression returns [EObject current=null] : (this_ConjunctiveExpression_0= ruleConjunctiveExpression ( ( () (otherlv_2= Semicolon ( (lv_children_3_0= ruleConjunctiveExpression ) ) )+ ) | ( () otherlv_5= HyphenMinusGreaterThanSign ( (lv_body_6_0= ruleConjunctiveExpression ) ) () (otherlv_8= Semicolon ( (lv_cases_9_0= ruleCase ) ) )* ) )? ) ; + // InternalSolverLanguageParser.g:1416:1: ruleDisjunctiveExpression returns [EObject current=null] : (this_ConjunctiveExpression_0= ruleConjunctiveExpression ( ( () (otherlv_2= Semicolon ( (lv_children_3_0= ruleConjunctiveExpression ) ) )+ ) | ( () otherlv_5= HyphenMinusGreaterThanSign ( (lv_body_6_0= ruleConjunctiveExpression ) ) () (otherlv_8= Semicolon ( (lv_cases_9_0= ruleCase ) ) )* ) )? ) ; public final EObject ruleDisjunctiveExpression() throws RecognitionException { EObject current = null; @@ -2283,16 +3473,16 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { enterRule(); try { - // InternalSolverLanguageParser.g:911:2: ( (this_ConjunctiveExpression_0= ruleConjunctiveExpression ( ( () (otherlv_2= Semicolon ( (lv_children_3_0= ruleConjunctiveExpression ) ) )+ ) | ( () otherlv_5= HyphenMinusGreaterThanSign ( (lv_body_6_0= ruleConjunctiveExpression ) ) () (otherlv_8= Semicolon ( (lv_cases_9_0= ruleCase ) ) )* ) )? ) ) - // InternalSolverLanguageParser.g:912:2: (this_ConjunctiveExpression_0= ruleConjunctiveExpression ( ( () (otherlv_2= Semicolon ( (lv_children_3_0= ruleConjunctiveExpression ) ) )+ ) | ( () otherlv_5= HyphenMinusGreaterThanSign ( (lv_body_6_0= ruleConjunctiveExpression ) ) () (otherlv_8= Semicolon ( (lv_cases_9_0= ruleCase ) ) )* ) )? ) + // InternalSolverLanguageParser.g:1422:2: ( (this_ConjunctiveExpression_0= ruleConjunctiveExpression ( ( () (otherlv_2= Semicolon ( (lv_children_3_0= ruleConjunctiveExpression ) ) )+ ) | ( () otherlv_5= HyphenMinusGreaterThanSign ( (lv_body_6_0= ruleConjunctiveExpression ) ) () (otherlv_8= Semicolon ( (lv_cases_9_0= ruleCase ) ) )* ) )? ) ) + // InternalSolverLanguageParser.g:1423:2: (this_ConjunctiveExpression_0= ruleConjunctiveExpression ( ( () (otherlv_2= Semicolon ( (lv_children_3_0= ruleConjunctiveExpression ) ) )+ ) | ( () otherlv_5= HyphenMinusGreaterThanSign ( (lv_body_6_0= ruleConjunctiveExpression ) ) () (otherlv_8= Semicolon ( (lv_cases_9_0= ruleCase ) ) )* ) )? ) { - // InternalSolverLanguageParser.g:912:2: (this_ConjunctiveExpression_0= ruleConjunctiveExpression ( ( () (otherlv_2= Semicolon ( (lv_children_3_0= ruleConjunctiveExpression ) ) )+ ) | ( () otherlv_5= HyphenMinusGreaterThanSign ( (lv_body_6_0= ruleConjunctiveExpression ) ) () (otherlv_8= Semicolon ( (lv_cases_9_0= ruleCase ) ) )* ) )? ) - // InternalSolverLanguageParser.g:913:3: this_ConjunctiveExpression_0= ruleConjunctiveExpression ( ( () (otherlv_2= Semicolon ( (lv_children_3_0= ruleConjunctiveExpression ) ) )+ ) | ( () otherlv_5= HyphenMinusGreaterThanSign ( (lv_body_6_0= ruleConjunctiveExpression ) ) () (otherlv_8= Semicolon ( (lv_cases_9_0= ruleCase ) ) )* ) )? + // InternalSolverLanguageParser.g:1423:2: (this_ConjunctiveExpression_0= ruleConjunctiveExpression ( ( () (otherlv_2= Semicolon ( (lv_children_3_0= ruleConjunctiveExpression ) ) )+ ) | ( () otherlv_5= HyphenMinusGreaterThanSign ( (lv_body_6_0= ruleConjunctiveExpression ) ) () (otherlv_8= Semicolon ( (lv_cases_9_0= ruleCase ) ) )* ) )? ) + // InternalSolverLanguageParser.g:1424:3: this_ConjunctiveExpression_0= ruleConjunctiveExpression ( ( () (otherlv_2= Semicolon ( (lv_children_3_0= ruleConjunctiveExpression ) ) )+ ) | ( () otherlv_5= HyphenMinusGreaterThanSign ( (lv_body_6_0= ruleConjunctiveExpression ) ) () (otherlv_8= Semicolon ( (lv_cases_9_0= ruleCase ) ) )* ) )? { newCompositeNode(grammarAccess.getDisjunctiveExpressionAccess().getConjunctiveExpressionParserRuleCall_0()); - pushFollow(FOLLOW_17); + pushFollow(FOLLOW_25); this_ConjunctiveExpression_0=ruleConjunctiveExpression(); state._fsp--; @@ -2301,25 +3491,25 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { current = this_ConjunctiveExpression_0; afterParserOrEnumRuleCall(); - // InternalSolverLanguageParser.g:921:3: ( ( () (otherlv_2= Semicolon ( (lv_children_3_0= ruleConjunctiveExpression ) ) )+ ) | ( () otherlv_5= HyphenMinusGreaterThanSign ( (lv_body_6_0= ruleConjunctiveExpression ) ) () (otherlv_8= Semicolon ( (lv_cases_9_0= ruleCase ) ) )* ) )? - int alt11=3; - int LA11_0 = input.LA(1); + // InternalSolverLanguageParser.g:1432:3: ( ( () (otherlv_2= Semicolon ( (lv_children_3_0= ruleConjunctiveExpression ) ) )+ ) | ( () otherlv_5= HyphenMinusGreaterThanSign ( (lv_body_6_0= ruleConjunctiveExpression ) ) () (otherlv_8= Semicolon ( (lv_cases_9_0= ruleCase ) ) )* ) )? + int alt14=3; + int LA14_0 = input.LA(1); - if ( (LA11_0==Semicolon) ) { - alt11=1; + if ( (LA14_0==Semicolon) ) { + alt14=1; } - else if ( (LA11_0==HyphenMinusGreaterThanSign) ) { - alt11=2; + else if ( (LA14_0==HyphenMinusGreaterThanSign) ) { + alt14=2; } - switch (alt11) { + switch (alt14) { case 1 : - // InternalSolverLanguageParser.g:922:4: ( () (otherlv_2= Semicolon ( (lv_children_3_0= ruleConjunctiveExpression ) ) )+ ) + // InternalSolverLanguageParser.g:1433:4: ( () (otherlv_2= Semicolon ( (lv_children_3_0= ruleConjunctiveExpression ) ) )+ ) { - // InternalSolverLanguageParser.g:922:4: ( () (otherlv_2= Semicolon ( (lv_children_3_0= ruleConjunctiveExpression ) ) )+ ) - // InternalSolverLanguageParser.g:923:5: () (otherlv_2= Semicolon ( (lv_children_3_0= ruleConjunctiveExpression ) ) )+ + // InternalSolverLanguageParser.g:1433:4: ( () (otherlv_2= Semicolon ( (lv_children_3_0= ruleConjunctiveExpression ) ) )+ ) + // InternalSolverLanguageParser.g:1434:5: () (otherlv_2= Semicolon ( (lv_children_3_0= ruleConjunctiveExpression ) ) )+ { - // InternalSolverLanguageParser.g:923:5: () - // InternalSolverLanguageParser.g:924:6: + // InternalSolverLanguageParser.g:1434:5: () + // InternalSolverLanguageParser.g:1435:6: { current = forceCreateModelElementAndAdd( @@ -2329,36 +3519,36 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } - // InternalSolverLanguageParser.g:930:5: (otherlv_2= Semicolon ( (lv_children_3_0= ruleConjunctiveExpression ) ) )+ - int cnt9=0; - loop9: + // InternalSolverLanguageParser.g:1441:5: (otherlv_2= Semicolon ( (lv_children_3_0= ruleConjunctiveExpression ) ) )+ + int cnt12=0; + loop12: do { - int alt9=2; - int LA9_0 = input.LA(1); + int alt12=2; + int LA12_0 = input.LA(1); - if ( (LA9_0==Semicolon) ) { - alt9=1; + if ( (LA12_0==Semicolon) ) { + alt12=1; } - switch (alt9) { + switch (alt12) { case 1 : - // InternalSolverLanguageParser.g:931:6: otherlv_2= Semicolon ( (lv_children_3_0= ruleConjunctiveExpression ) ) + // InternalSolverLanguageParser.g:1442:6: otherlv_2= Semicolon ( (lv_children_3_0= ruleConjunctiveExpression ) ) { otherlv_2=(Token)match(input,Semicolon,FOLLOW_6); newLeafNode(otherlv_2, grammarAccess.getDisjunctiveExpressionAccess().getSemicolonKeyword_1_0_1_0()); - // InternalSolverLanguageParser.g:935:6: ( (lv_children_3_0= ruleConjunctiveExpression ) ) - // InternalSolverLanguageParser.g:936:7: (lv_children_3_0= ruleConjunctiveExpression ) + // InternalSolverLanguageParser.g:1446:6: ( (lv_children_3_0= ruleConjunctiveExpression ) ) + // InternalSolverLanguageParser.g:1447:7: (lv_children_3_0= ruleConjunctiveExpression ) { - // InternalSolverLanguageParser.g:936:7: (lv_children_3_0= ruleConjunctiveExpression ) - // InternalSolverLanguageParser.g:937:8: lv_children_3_0= ruleConjunctiveExpression + // InternalSolverLanguageParser.g:1447:7: (lv_children_3_0= ruleConjunctiveExpression ) + // InternalSolverLanguageParser.g:1448:8: lv_children_3_0= ruleConjunctiveExpression { newCompositeNode(grammarAccess.getDisjunctiveExpressionAccess().getChildrenConjunctiveExpressionParserRuleCall_1_0_1_1_0()); - pushFollow(FOLLOW_18); + pushFollow(FOLLOW_26); lv_children_3_0=ruleConjunctiveExpression(); state._fsp--; @@ -2385,12 +3575,12 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { break; default : - if ( cnt9 >= 1 ) break loop9; + if ( cnt12 >= 1 ) break loop12; EarlyExitException eee = - new EarlyExitException(9, input); + new EarlyExitException(12, input); throw eee; } - cnt9++; + cnt12++; } while (true); @@ -2400,13 +3590,13 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } break; case 2 : - // InternalSolverLanguageParser.g:957:4: ( () otherlv_5= HyphenMinusGreaterThanSign ( (lv_body_6_0= ruleConjunctiveExpression ) ) () (otherlv_8= Semicolon ( (lv_cases_9_0= ruleCase ) ) )* ) + // InternalSolverLanguageParser.g:1468:4: ( () otherlv_5= HyphenMinusGreaterThanSign ( (lv_body_6_0= ruleConjunctiveExpression ) ) () (otherlv_8= Semicolon ( (lv_cases_9_0= ruleCase ) ) )* ) { - // InternalSolverLanguageParser.g:957:4: ( () otherlv_5= HyphenMinusGreaterThanSign ( (lv_body_6_0= ruleConjunctiveExpression ) ) () (otherlv_8= Semicolon ( (lv_cases_9_0= ruleCase ) ) )* ) - // InternalSolverLanguageParser.g:958:5: () otherlv_5= HyphenMinusGreaterThanSign ( (lv_body_6_0= ruleConjunctiveExpression ) ) () (otherlv_8= Semicolon ( (lv_cases_9_0= ruleCase ) ) )* + // InternalSolverLanguageParser.g:1468:4: ( () otherlv_5= HyphenMinusGreaterThanSign ( (lv_body_6_0= ruleConjunctiveExpression ) ) () (otherlv_8= Semicolon ( (lv_cases_9_0= ruleCase ) ) )* ) + // InternalSolverLanguageParser.g:1469:5: () otherlv_5= HyphenMinusGreaterThanSign ( (lv_body_6_0= ruleConjunctiveExpression ) ) () (otherlv_8= Semicolon ( (lv_cases_9_0= ruleCase ) ) )* { - // InternalSolverLanguageParser.g:958:5: () - // InternalSolverLanguageParser.g:959:6: + // InternalSolverLanguageParser.g:1469:5: () + // InternalSolverLanguageParser.g:1470:6: { current = forceCreateModelElementAndSet( @@ -2420,16 +3610,16 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { newLeafNode(otherlv_5, grammarAccess.getDisjunctiveExpressionAccess().getHyphenMinusGreaterThanSignKeyword_1_1_1()); - // InternalSolverLanguageParser.g:969:5: ( (lv_body_6_0= ruleConjunctiveExpression ) ) - // InternalSolverLanguageParser.g:970:6: (lv_body_6_0= ruleConjunctiveExpression ) + // InternalSolverLanguageParser.g:1480:5: ( (lv_body_6_0= ruleConjunctiveExpression ) ) + // InternalSolverLanguageParser.g:1481:6: (lv_body_6_0= ruleConjunctiveExpression ) { - // InternalSolverLanguageParser.g:970:6: (lv_body_6_0= ruleConjunctiveExpression ) - // InternalSolverLanguageParser.g:971:7: lv_body_6_0= ruleConjunctiveExpression + // InternalSolverLanguageParser.g:1481:6: (lv_body_6_0= ruleConjunctiveExpression ) + // InternalSolverLanguageParser.g:1482:7: lv_body_6_0= ruleConjunctiveExpression { newCompositeNode(grammarAccess.getDisjunctiveExpressionAccess().getBodyConjunctiveExpressionParserRuleCall_1_1_2_0()); - pushFollow(FOLLOW_18); + pushFollow(FOLLOW_26); lv_body_6_0=ruleConjunctiveExpression(); state._fsp--; @@ -2451,8 +3641,8 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } - // InternalSolverLanguageParser.g:988:5: () - // InternalSolverLanguageParser.g:989:6: + // InternalSolverLanguageParser.g:1499:5: () + // InternalSolverLanguageParser.g:1500:6: { current = forceCreateModelElementAndAdd( @@ -2462,35 +3652,35 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } - // InternalSolverLanguageParser.g:995:5: (otherlv_8= Semicolon ( (lv_cases_9_0= ruleCase ) ) )* - loop10: + // InternalSolverLanguageParser.g:1506:5: (otherlv_8= Semicolon ( (lv_cases_9_0= ruleCase ) ) )* + loop13: do { - int alt10=2; - int LA10_0 = input.LA(1); + int alt13=2; + int LA13_0 = input.LA(1); - if ( (LA10_0==Semicolon) ) { - alt10=1; + if ( (LA13_0==Semicolon) ) { + alt13=1; } - switch (alt10) { + switch (alt13) { case 1 : - // InternalSolverLanguageParser.g:996:6: otherlv_8= Semicolon ( (lv_cases_9_0= ruleCase ) ) + // InternalSolverLanguageParser.g:1507:6: otherlv_8= Semicolon ( (lv_cases_9_0= ruleCase ) ) { otherlv_8=(Token)match(input,Semicolon,FOLLOW_6); newLeafNode(otherlv_8, grammarAccess.getDisjunctiveExpressionAccess().getSemicolonKeyword_1_1_4_0()); - // InternalSolverLanguageParser.g:1000:6: ( (lv_cases_9_0= ruleCase ) ) - // InternalSolverLanguageParser.g:1001:7: (lv_cases_9_0= ruleCase ) + // InternalSolverLanguageParser.g:1511:6: ( (lv_cases_9_0= ruleCase ) ) + // InternalSolverLanguageParser.g:1512:7: (lv_cases_9_0= ruleCase ) { - // InternalSolverLanguageParser.g:1001:7: (lv_cases_9_0= ruleCase ) - // InternalSolverLanguageParser.g:1002:8: lv_cases_9_0= ruleCase + // InternalSolverLanguageParser.g:1512:7: (lv_cases_9_0= ruleCase ) + // InternalSolverLanguageParser.g:1513:8: lv_cases_9_0= ruleCase { newCompositeNode(grammarAccess.getDisjunctiveExpressionAccess().getCasesCaseParserRuleCall_1_1_4_1_0()); - pushFollow(FOLLOW_18); + pushFollow(FOLLOW_26); lv_cases_9_0=ruleCase(); state._fsp--; @@ -2517,7 +3707,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { break; default : - break loop10; + break loop13; } } while (true); @@ -2553,7 +3743,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleCase" - // InternalSolverLanguageParser.g:1026:1: entryRuleCase returns [EObject current=null] : iv_ruleCase= ruleCase EOF ; + // InternalSolverLanguageParser.g:1537:1: entryRuleCase returns [EObject current=null] : iv_ruleCase= ruleCase EOF ; public final EObject entryRuleCase() throws RecognitionException { EObject current = null; @@ -2561,8 +3751,8 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { try { - // InternalSolverLanguageParser.g:1026:45: (iv_ruleCase= ruleCase EOF ) - // InternalSolverLanguageParser.g:1027:2: iv_ruleCase= ruleCase EOF + // InternalSolverLanguageParser.g:1537:45: (iv_ruleCase= ruleCase EOF ) + // InternalSolverLanguageParser.g:1538:2: iv_ruleCase= ruleCase EOF { newCompositeNode(grammarAccess.getCaseRule()); pushFollow(FOLLOW_1); @@ -2589,7 +3779,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleCase" - // InternalSolverLanguageParser.g:1033:1: ruleCase returns [EObject current=null] : ( ( (lv_condition_0_0= ruleConjunctiveExpression ) ) otherlv_1= HyphenMinusGreaterThanSign ( (lv_body_2_0= ruleConjunctiveExpression ) ) ) ; + // InternalSolverLanguageParser.g:1544:1: ruleCase returns [EObject current=null] : ( ( (lv_condition_0_0= ruleConjunctiveExpression ) ) otherlv_1= HyphenMinusGreaterThanSign ( (lv_body_2_0= ruleConjunctiveExpression ) ) ) ; public final EObject ruleCase() throws RecognitionException { EObject current = null; @@ -2603,22 +3793,22 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { enterRule(); try { - // InternalSolverLanguageParser.g:1039:2: ( ( ( (lv_condition_0_0= ruleConjunctiveExpression ) ) otherlv_1= HyphenMinusGreaterThanSign ( (lv_body_2_0= ruleConjunctiveExpression ) ) ) ) - // InternalSolverLanguageParser.g:1040:2: ( ( (lv_condition_0_0= ruleConjunctiveExpression ) ) otherlv_1= HyphenMinusGreaterThanSign ( (lv_body_2_0= ruleConjunctiveExpression ) ) ) + // InternalSolverLanguageParser.g:1550:2: ( ( ( (lv_condition_0_0= ruleConjunctiveExpression ) ) otherlv_1= HyphenMinusGreaterThanSign ( (lv_body_2_0= ruleConjunctiveExpression ) ) ) ) + // InternalSolverLanguageParser.g:1551:2: ( ( (lv_condition_0_0= ruleConjunctiveExpression ) ) otherlv_1= HyphenMinusGreaterThanSign ( (lv_body_2_0= ruleConjunctiveExpression ) ) ) { - // InternalSolverLanguageParser.g:1040:2: ( ( (lv_condition_0_0= ruleConjunctiveExpression ) ) otherlv_1= HyphenMinusGreaterThanSign ( (lv_body_2_0= ruleConjunctiveExpression ) ) ) - // InternalSolverLanguageParser.g:1041:3: ( (lv_condition_0_0= ruleConjunctiveExpression ) ) otherlv_1= HyphenMinusGreaterThanSign ( (lv_body_2_0= ruleConjunctiveExpression ) ) + // InternalSolverLanguageParser.g:1551:2: ( ( (lv_condition_0_0= ruleConjunctiveExpression ) ) otherlv_1= HyphenMinusGreaterThanSign ( (lv_body_2_0= ruleConjunctiveExpression ) ) ) + // InternalSolverLanguageParser.g:1552:3: ( (lv_condition_0_0= ruleConjunctiveExpression ) ) otherlv_1= HyphenMinusGreaterThanSign ( (lv_body_2_0= ruleConjunctiveExpression ) ) { - // InternalSolverLanguageParser.g:1041:3: ( (lv_condition_0_0= ruleConjunctiveExpression ) ) - // InternalSolverLanguageParser.g:1042:4: (lv_condition_0_0= ruleConjunctiveExpression ) + // InternalSolverLanguageParser.g:1552:3: ( (lv_condition_0_0= ruleConjunctiveExpression ) ) + // InternalSolverLanguageParser.g:1553:4: (lv_condition_0_0= ruleConjunctiveExpression ) { - // InternalSolverLanguageParser.g:1042:4: (lv_condition_0_0= ruleConjunctiveExpression ) - // InternalSolverLanguageParser.g:1043:5: lv_condition_0_0= ruleConjunctiveExpression + // InternalSolverLanguageParser.g:1553:4: (lv_condition_0_0= ruleConjunctiveExpression ) + // InternalSolverLanguageParser.g:1554:5: lv_condition_0_0= ruleConjunctiveExpression { newCompositeNode(grammarAccess.getCaseAccess().getConditionConjunctiveExpressionParserRuleCall_0_0()); - pushFollow(FOLLOW_19); + pushFollow(FOLLOW_27); lv_condition_0_0=ruleConjunctiveExpression(); state._fsp--; @@ -2644,11 +3834,11 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { newLeafNode(otherlv_1, grammarAccess.getCaseAccess().getHyphenMinusGreaterThanSignKeyword_1()); - // InternalSolverLanguageParser.g:1064:3: ( (lv_body_2_0= ruleConjunctiveExpression ) ) - // InternalSolverLanguageParser.g:1065:4: (lv_body_2_0= ruleConjunctiveExpression ) + // InternalSolverLanguageParser.g:1575:3: ( (lv_body_2_0= ruleConjunctiveExpression ) ) + // InternalSolverLanguageParser.g:1576:4: (lv_body_2_0= ruleConjunctiveExpression ) { - // InternalSolverLanguageParser.g:1065:4: (lv_body_2_0= ruleConjunctiveExpression ) - // InternalSolverLanguageParser.g:1066:5: lv_body_2_0= ruleConjunctiveExpression + // InternalSolverLanguageParser.g:1576:4: (lv_body_2_0= ruleConjunctiveExpression ) + // InternalSolverLanguageParser.g:1577:5: lv_body_2_0= ruleConjunctiveExpression { newCompositeNode(grammarAccess.getCaseAccess().getBodyConjunctiveExpressionParserRuleCall_2_0()); @@ -2698,7 +3888,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleConjunctiveExpression" - // InternalSolverLanguageParser.g:1087:1: entryRuleConjunctiveExpression returns [EObject current=null] : iv_ruleConjunctiveExpression= ruleConjunctiveExpression EOF ; + // InternalSolverLanguageParser.g:1598:1: entryRuleConjunctiveExpression returns [EObject current=null] : iv_ruleConjunctiveExpression= ruleConjunctiveExpression EOF ; public final EObject entryRuleConjunctiveExpression() throws RecognitionException { EObject current = null; @@ -2706,8 +3896,8 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { try { - // InternalSolverLanguageParser.g:1087:62: (iv_ruleConjunctiveExpression= ruleConjunctiveExpression EOF ) - // InternalSolverLanguageParser.g:1088:2: iv_ruleConjunctiveExpression= ruleConjunctiveExpression EOF + // InternalSolverLanguageParser.g:1598:62: (iv_ruleConjunctiveExpression= ruleConjunctiveExpression EOF ) + // InternalSolverLanguageParser.g:1599:2: iv_ruleConjunctiveExpression= ruleConjunctiveExpression EOF { newCompositeNode(grammarAccess.getConjunctiveExpressionRule()); pushFollow(FOLLOW_1); @@ -2734,7 +3924,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleConjunctiveExpression" - // InternalSolverLanguageParser.g:1094:1: ruleConjunctiveExpression returns [EObject current=null] : (this_ComparisonExpression_0= ruleComparisonExpression ( () (otherlv_2= Comma ( (lv_children_3_0= ruleComparisonExpression ) ) )+ )? ) ; + // InternalSolverLanguageParser.g:1605:1: ruleConjunctiveExpression returns [EObject current=null] : (this_ComparisonExpression_0= ruleComparisonExpression ( () (otherlv_2= Comma ( (lv_children_3_0= ruleComparisonExpression ) ) )+ )? ) ; public final EObject ruleConjunctiveExpression() throws RecognitionException { EObject current = null; @@ -2748,16 +3938,16 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { enterRule(); try { - // InternalSolverLanguageParser.g:1100:2: ( (this_ComparisonExpression_0= ruleComparisonExpression ( () (otherlv_2= Comma ( (lv_children_3_0= ruleComparisonExpression ) ) )+ )? ) ) - // InternalSolverLanguageParser.g:1101:2: (this_ComparisonExpression_0= ruleComparisonExpression ( () (otherlv_2= Comma ( (lv_children_3_0= ruleComparisonExpression ) ) )+ )? ) + // InternalSolverLanguageParser.g:1611:2: ( (this_ComparisonExpression_0= ruleComparisonExpression ( () (otherlv_2= Comma ( (lv_children_3_0= ruleComparisonExpression ) ) )+ )? ) ) + // InternalSolverLanguageParser.g:1612:2: (this_ComparisonExpression_0= ruleComparisonExpression ( () (otherlv_2= Comma ( (lv_children_3_0= ruleComparisonExpression ) ) )+ )? ) { - // InternalSolverLanguageParser.g:1101:2: (this_ComparisonExpression_0= ruleComparisonExpression ( () (otherlv_2= Comma ( (lv_children_3_0= ruleComparisonExpression ) ) )+ )? ) - // InternalSolverLanguageParser.g:1102:3: this_ComparisonExpression_0= ruleComparisonExpression ( () (otherlv_2= Comma ( (lv_children_3_0= ruleComparisonExpression ) ) )+ )? + // InternalSolverLanguageParser.g:1612:2: (this_ComparisonExpression_0= ruleComparisonExpression ( () (otherlv_2= Comma ( (lv_children_3_0= ruleComparisonExpression ) ) )+ )? ) + // InternalSolverLanguageParser.g:1613:3: this_ComparisonExpression_0= ruleComparisonExpression ( () (otherlv_2= Comma ( (lv_children_3_0= ruleComparisonExpression ) ) )+ )? { newCompositeNode(grammarAccess.getConjunctiveExpressionAccess().getComparisonExpressionParserRuleCall_0()); - pushFollow(FOLLOW_20); + pushFollow(FOLLOW_19); this_ComparisonExpression_0=ruleComparisonExpression(); state._fsp--; @@ -2766,19 +3956,19 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { current = this_ComparisonExpression_0; afterParserOrEnumRuleCall(); - // InternalSolverLanguageParser.g:1110:3: ( () (otherlv_2= Comma ( (lv_children_3_0= ruleComparisonExpression ) ) )+ )? - int alt13=2; - int LA13_0 = input.LA(1); + // InternalSolverLanguageParser.g:1621:3: ( () (otherlv_2= Comma ( (lv_children_3_0= ruleComparisonExpression ) ) )+ )? + int alt16=2; + int LA16_0 = input.LA(1); - if ( (LA13_0==Comma) ) { - alt13=1; + if ( (LA16_0==Comma) ) { + alt16=1; } - switch (alt13) { + switch (alt16) { case 1 : - // InternalSolverLanguageParser.g:1111:4: () (otherlv_2= Comma ( (lv_children_3_0= ruleComparisonExpression ) ) )+ + // InternalSolverLanguageParser.g:1622:4: () (otherlv_2= Comma ( (lv_children_3_0= ruleComparisonExpression ) ) )+ { - // InternalSolverLanguageParser.g:1111:4: () - // InternalSolverLanguageParser.g:1112:5: + // InternalSolverLanguageParser.g:1622:4: () + // InternalSolverLanguageParser.g:1623:5: { current = forceCreateModelElementAndAdd( @@ -2788,36 +3978,36 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } - // InternalSolverLanguageParser.g:1118:4: (otherlv_2= Comma ( (lv_children_3_0= ruleComparisonExpression ) ) )+ - int cnt12=0; - loop12: + // InternalSolverLanguageParser.g:1629:4: (otherlv_2= Comma ( (lv_children_3_0= ruleComparisonExpression ) ) )+ + int cnt15=0; + loop15: do { - int alt12=2; - int LA12_0 = input.LA(1); + int alt15=2; + int LA15_0 = input.LA(1); - if ( (LA12_0==Comma) ) { - alt12=1; + if ( (LA15_0==Comma) ) { + alt15=1; } - switch (alt12) { + switch (alt15) { case 1 : - // InternalSolverLanguageParser.g:1119:5: otherlv_2= Comma ( (lv_children_3_0= ruleComparisonExpression ) ) + // InternalSolverLanguageParser.g:1630:5: otherlv_2= Comma ( (lv_children_3_0= ruleComparisonExpression ) ) { otherlv_2=(Token)match(input,Comma,FOLLOW_6); newLeafNode(otherlv_2, grammarAccess.getConjunctiveExpressionAccess().getCommaKeyword_1_1_0()); - // InternalSolverLanguageParser.g:1123:5: ( (lv_children_3_0= ruleComparisonExpression ) ) - // InternalSolverLanguageParser.g:1124:6: (lv_children_3_0= ruleComparisonExpression ) + // InternalSolverLanguageParser.g:1634:5: ( (lv_children_3_0= ruleComparisonExpression ) ) + // InternalSolverLanguageParser.g:1635:6: (lv_children_3_0= ruleComparisonExpression ) { - // InternalSolverLanguageParser.g:1124:6: (lv_children_3_0= ruleComparisonExpression ) - // InternalSolverLanguageParser.g:1125:7: lv_children_3_0= ruleComparisonExpression + // InternalSolverLanguageParser.g:1635:6: (lv_children_3_0= ruleComparisonExpression ) + // InternalSolverLanguageParser.g:1636:7: lv_children_3_0= ruleComparisonExpression { newCompositeNode(grammarAccess.getConjunctiveExpressionAccess().getChildrenComparisonExpressionParserRuleCall_1_1_1_0()); - pushFollow(FOLLOW_20); + pushFollow(FOLLOW_19); lv_children_3_0=ruleComparisonExpression(); state._fsp--; @@ -2844,12 +4034,12 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { break; default : - if ( cnt12 >= 1 ) break loop12; + if ( cnt15 >= 1 ) break loop15; EarlyExitException eee = - new EarlyExitException(12, input); + new EarlyExitException(15, input); throw eee; } - cnt12++; + cnt15++; } while (true); @@ -2881,7 +4071,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleComparisonExpression" - // InternalSolverLanguageParser.g:1148:1: entryRuleComparisonExpression returns [EObject current=null] : iv_ruleComparisonExpression= ruleComparisonExpression EOF ; + // InternalSolverLanguageParser.g:1659:1: entryRuleComparisonExpression returns [EObject current=null] : iv_ruleComparisonExpression= ruleComparisonExpression EOF ; public final EObject entryRuleComparisonExpression() throws RecognitionException { EObject current = null; @@ -2889,8 +4079,8 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { try { - // InternalSolverLanguageParser.g:1148:61: (iv_ruleComparisonExpression= ruleComparisonExpression EOF ) - // InternalSolverLanguageParser.g:1149:2: iv_ruleComparisonExpression= ruleComparisonExpression EOF + // InternalSolverLanguageParser.g:1659:61: (iv_ruleComparisonExpression= ruleComparisonExpression EOF ) + // InternalSolverLanguageParser.g:1660:2: iv_ruleComparisonExpression= ruleComparisonExpression EOF { newCompositeNode(grammarAccess.getComparisonExpressionRule()); pushFollow(FOLLOW_1); @@ -2917,7 +4107,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleComparisonExpression" - // InternalSolverLanguageParser.g:1155:1: ruleComparisonExpression returns [EObject current=null] : (this_AdditiveExpression_0= ruleAdditiveExpression ( () ( (lv_op_2_0= ruleComparisonOperator ) ) ( (lv_right_3_0= ruleAdditiveExpression ) ) )? ) ; + // InternalSolverLanguageParser.g:1666:1: ruleComparisonExpression returns [EObject current=null] : (this_AdditiveExpression_0= ruleAdditiveExpression ( () ( (lv_op_2_0= ruleComparisonOperator ) ) ( (lv_right_3_0= ruleAdditiveExpression ) ) )? ) ; public final EObject ruleComparisonExpression() throws RecognitionException { EObject current = null; @@ -2932,16 +4122,16 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { enterRule(); try { - // InternalSolverLanguageParser.g:1161:2: ( (this_AdditiveExpression_0= ruleAdditiveExpression ( () ( (lv_op_2_0= ruleComparisonOperator ) ) ( (lv_right_3_0= ruleAdditiveExpression ) ) )? ) ) - // InternalSolverLanguageParser.g:1162:2: (this_AdditiveExpression_0= ruleAdditiveExpression ( () ( (lv_op_2_0= ruleComparisonOperator ) ) ( (lv_right_3_0= ruleAdditiveExpression ) ) )? ) + // InternalSolverLanguageParser.g:1672:2: ( (this_AdditiveExpression_0= ruleAdditiveExpression ( () ( (lv_op_2_0= ruleComparisonOperator ) ) ( (lv_right_3_0= ruleAdditiveExpression ) ) )? ) ) + // InternalSolverLanguageParser.g:1673:2: (this_AdditiveExpression_0= ruleAdditiveExpression ( () ( (lv_op_2_0= ruleComparisonOperator ) ) ( (lv_right_3_0= ruleAdditiveExpression ) ) )? ) { - // InternalSolverLanguageParser.g:1162:2: (this_AdditiveExpression_0= ruleAdditiveExpression ( () ( (lv_op_2_0= ruleComparisonOperator ) ) ( (lv_right_3_0= ruleAdditiveExpression ) ) )? ) - // InternalSolverLanguageParser.g:1163:3: this_AdditiveExpression_0= ruleAdditiveExpression ( () ( (lv_op_2_0= ruleComparisonOperator ) ) ( (lv_right_3_0= ruleAdditiveExpression ) ) )? + // InternalSolverLanguageParser.g:1673:2: (this_AdditiveExpression_0= ruleAdditiveExpression ( () ( (lv_op_2_0= ruleComparisonOperator ) ) ( (lv_right_3_0= ruleAdditiveExpression ) ) )? ) + // InternalSolverLanguageParser.g:1674:3: this_AdditiveExpression_0= ruleAdditiveExpression ( () ( (lv_op_2_0= ruleComparisonOperator ) ) ( (lv_right_3_0= ruleAdditiveExpression ) ) )? { newCompositeNode(grammarAccess.getComparisonExpressionAccess().getAdditiveExpressionParserRuleCall_0()); - pushFollow(FOLLOW_21); + pushFollow(FOLLOW_28); this_AdditiveExpression_0=ruleAdditiveExpression(); state._fsp--; @@ -2950,19 +4140,19 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { current = this_AdditiveExpression_0; afterParserOrEnumRuleCall(); - // InternalSolverLanguageParser.g:1171:3: ( () ( (lv_op_2_0= ruleComparisonOperator ) ) ( (lv_right_3_0= ruleAdditiveExpression ) ) )? - int alt14=2; - int LA14_0 = input.LA(1); + // InternalSolverLanguageParser.g:1682:3: ( () ( (lv_op_2_0= ruleComparisonOperator ) ) ( (lv_right_3_0= ruleAdditiveExpression ) ) )? + int alt17=2; + int LA17_0 = input.LA(1); - if ( (LA14_0==ExclamationMarkEqualsSign||(LA14_0>=LessThanSignEqualsSign && LA14_0<=GreaterThanSignEqualsSign)||LA14_0==In||LA14_0==LessThanSign||LA14_0==GreaterThanSign) ) { - alt14=1; + if ( (LA17_0==ExclamationMarkEqualsSign||(LA17_0>=LessThanSignEqualsSign && LA17_0<=EqualsSignEqualsSign)||LA17_0==GreaterThanSignEqualsSign||LA17_0==In||LA17_0==LessThanSign||LA17_0==GreaterThanSign) ) { + alt17=1; } - switch (alt14) { + switch (alt17) { case 1 : - // InternalSolverLanguageParser.g:1172:4: () ( (lv_op_2_0= ruleComparisonOperator ) ) ( (lv_right_3_0= ruleAdditiveExpression ) ) + // InternalSolverLanguageParser.g:1683:4: () ( (lv_op_2_0= ruleComparisonOperator ) ) ( (lv_right_3_0= ruleAdditiveExpression ) ) { - // InternalSolverLanguageParser.g:1172:4: () - // InternalSolverLanguageParser.g:1173:5: + // InternalSolverLanguageParser.g:1683:4: () + // InternalSolverLanguageParser.g:1684:5: { current = forceCreateModelElementAndSet( @@ -2972,11 +4162,11 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } - // InternalSolverLanguageParser.g:1179:4: ( (lv_op_2_0= ruleComparisonOperator ) ) - // InternalSolverLanguageParser.g:1180:5: (lv_op_2_0= ruleComparisonOperator ) + // InternalSolverLanguageParser.g:1690:4: ( (lv_op_2_0= ruleComparisonOperator ) ) + // InternalSolverLanguageParser.g:1691:5: (lv_op_2_0= ruleComparisonOperator ) { - // InternalSolverLanguageParser.g:1180:5: (lv_op_2_0= ruleComparisonOperator ) - // InternalSolverLanguageParser.g:1181:6: lv_op_2_0= ruleComparisonOperator + // InternalSolverLanguageParser.g:1691:5: (lv_op_2_0= ruleComparisonOperator ) + // InternalSolverLanguageParser.g:1692:6: lv_op_2_0= ruleComparisonOperator { newCompositeNode(grammarAccess.getComparisonExpressionAccess().getOpComparisonOperatorEnumRuleCall_1_1_0()); @@ -3003,11 +4193,11 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } - // InternalSolverLanguageParser.g:1198:4: ( (lv_right_3_0= ruleAdditiveExpression ) ) - // InternalSolverLanguageParser.g:1199:5: (lv_right_3_0= ruleAdditiveExpression ) + // InternalSolverLanguageParser.g:1709:4: ( (lv_right_3_0= ruleAdditiveExpression ) ) + // InternalSolverLanguageParser.g:1710:5: (lv_right_3_0= ruleAdditiveExpression ) { - // InternalSolverLanguageParser.g:1199:5: (lv_right_3_0= ruleAdditiveExpression ) - // InternalSolverLanguageParser.g:1200:6: lv_right_3_0= ruleAdditiveExpression + // InternalSolverLanguageParser.g:1710:5: (lv_right_3_0= ruleAdditiveExpression ) + // InternalSolverLanguageParser.g:1711:6: lv_right_3_0= ruleAdditiveExpression { newCompositeNode(grammarAccess.getComparisonExpressionAccess().getRightAdditiveExpressionParserRuleCall_1_2_0()); @@ -3063,7 +4253,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleAdditiveExpression" - // InternalSolverLanguageParser.g:1222:1: entryRuleAdditiveExpression returns [EObject current=null] : iv_ruleAdditiveExpression= ruleAdditiveExpression EOF ; + // InternalSolverLanguageParser.g:1733:1: entryRuleAdditiveExpression returns [EObject current=null] : iv_ruleAdditiveExpression= ruleAdditiveExpression EOF ; public final EObject entryRuleAdditiveExpression() throws RecognitionException { EObject current = null; @@ -3071,8 +4261,8 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { try { - // InternalSolverLanguageParser.g:1222:59: (iv_ruleAdditiveExpression= ruleAdditiveExpression EOF ) - // InternalSolverLanguageParser.g:1223:2: iv_ruleAdditiveExpression= ruleAdditiveExpression EOF + // InternalSolverLanguageParser.g:1733:59: (iv_ruleAdditiveExpression= ruleAdditiveExpression EOF ) + // InternalSolverLanguageParser.g:1734:2: iv_ruleAdditiveExpression= ruleAdditiveExpression EOF { newCompositeNode(grammarAccess.getAdditiveExpressionRule()); pushFollow(FOLLOW_1); @@ -3099,7 +4289,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleAdditiveExpression" - // InternalSolverLanguageParser.g:1229:1: ruleAdditiveExpression returns [EObject current=null] : (this_MultiplicativeExpression_0= ruleMultiplicativeExpression ( () ( (lv_op_2_0= ruleAdditiveBinaryOperator ) ) ( (lv_right_3_0= ruleMultiplicativeExpression ) ) )* ) ; + // InternalSolverLanguageParser.g:1740:1: ruleAdditiveExpression returns [EObject current=null] : (this_MultiplicativeExpression_0= ruleMultiplicativeExpression ( () ( (lv_op_2_0= ruleAdditiveBinaryOperator ) ) ( (lv_right_3_0= ruleMultiplicativeExpression ) ) )* ) ; public final EObject ruleAdditiveExpression() throws RecognitionException { EObject current = null; @@ -3114,16 +4304,16 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { enterRule(); try { - // InternalSolverLanguageParser.g:1235:2: ( (this_MultiplicativeExpression_0= ruleMultiplicativeExpression ( () ( (lv_op_2_0= ruleAdditiveBinaryOperator ) ) ( (lv_right_3_0= ruleMultiplicativeExpression ) ) )* ) ) - // InternalSolverLanguageParser.g:1236:2: (this_MultiplicativeExpression_0= ruleMultiplicativeExpression ( () ( (lv_op_2_0= ruleAdditiveBinaryOperator ) ) ( (lv_right_3_0= ruleMultiplicativeExpression ) ) )* ) + // InternalSolverLanguageParser.g:1746:2: ( (this_MultiplicativeExpression_0= ruleMultiplicativeExpression ( () ( (lv_op_2_0= ruleAdditiveBinaryOperator ) ) ( (lv_right_3_0= ruleMultiplicativeExpression ) ) )* ) ) + // InternalSolverLanguageParser.g:1747:2: (this_MultiplicativeExpression_0= ruleMultiplicativeExpression ( () ( (lv_op_2_0= ruleAdditiveBinaryOperator ) ) ( (lv_right_3_0= ruleMultiplicativeExpression ) ) )* ) { - // InternalSolverLanguageParser.g:1236:2: (this_MultiplicativeExpression_0= ruleMultiplicativeExpression ( () ( (lv_op_2_0= ruleAdditiveBinaryOperator ) ) ( (lv_right_3_0= ruleMultiplicativeExpression ) ) )* ) - // InternalSolverLanguageParser.g:1237:3: this_MultiplicativeExpression_0= ruleMultiplicativeExpression ( () ( (lv_op_2_0= ruleAdditiveBinaryOperator ) ) ( (lv_right_3_0= ruleMultiplicativeExpression ) ) )* + // InternalSolverLanguageParser.g:1747:2: (this_MultiplicativeExpression_0= ruleMultiplicativeExpression ( () ( (lv_op_2_0= ruleAdditiveBinaryOperator ) ) ( (lv_right_3_0= ruleMultiplicativeExpression ) ) )* ) + // InternalSolverLanguageParser.g:1748:3: this_MultiplicativeExpression_0= ruleMultiplicativeExpression ( () ( (lv_op_2_0= ruleAdditiveBinaryOperator ) ) ( (lv_right_3_0= ruleMultiplicativeExpression ) ) )* { newCompositeNode(grammarAccess.getAdditiveExpressionAccess().getMultiplicativeExpressionParserRuleCall_0()); - pushFollow(FOLLOW_22); + pushFollow(FOLLOW_29); this_MultiplicativeExpression_0=ruleMultiplicativeExpression(); state._fsp--; @@ -3132,23 +4322,23 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { current = this_MultiplicativeExpression_0; afterParserOrEnumRuleCall(); - // InternalSolverLanguageParser.g:1245:3: ( () ( (lv_op_2_0= ruleAdditiveBinaryOperator ) ) ( (lv_right_3_0= ruleMultiplicativeExpression ) ) )* - loop15: + // InternalSolverLanguageParser.g:1756:3: ( () ( (lv_op_2_0= ruleAdditiveBinaryOperator ) ) ( (lv_right_3_0= ruleMultiplicativeExpression ) ) )* + loop18: do { - int alt15=2; - int LA15_0 = input.LA(1); + int alt18=2; + int LA18_0 = input.LA(1); - if ( (LA15_0==PlusSign||LA15_0==HyphenMinus) ) { - alt15=1; + if ( (LA18_0==PlusSign||LA18_0==HyphenMinus) ) { + alt18=1; } - switch (alt15) { + switch (alt18) { case 1 : - // InternalSolverLanguageParser.g:1246:4: () ( (lv_op_2_0= ruleAdditiveBinaryOperator ) ) ( (lv_right_3_0= ruleMultiplicativeExpression ) ) + // InternalSolverLanguageParser.g:1757:4: () ( (lv_op_2_0= ruleAdditiveBinaryOperator ) ) ( (lv_right_3_0= ruleMultiplicativeExpression ) ) { - // InternalSolverLanguageParser.g:1246:4: () - // InternalSolverLanguageParser.g:1247:5: + // InternalSolverLanguageParser.g:1757:4: () + // InternalSolverLanguageParser.g:1758:5: { current = forceCreateModelElementAndSet( @@ -3158,11 +4348,11 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } - // InternalSolverLanguageParser.g:1253:4: ( (lv_op_2_0= ruleAdditiveBinaryOperator ) ) - // InternalSolverLanguageParser.g:1254:5: (lv_op_2_0= ruleAdditiveBinaryOperator ) + // InternalSolverLanguageParser.g:1764:4: ( (lv_op_2_0= ruleAdditiveBinaryOperator ) ) + // InternalSolverLanguageParser.g:1765:5: (lv_op_2_0= ruleAdditiveBinaryOperator ) { - // InternalSolverLanguageParser.g:1254:5: (lv_op_2_0= ruleAdditiveBinaryOperator ) - // InternalSolverLanguageParser.g:1255:6: lv_op_2_0= ruleAdditiveBinaryOperator + // InternalSolverLanguageParser.g:1765:5: (lv_op_2_0= ruleAdditiveBinaryOperator ) + // InternalSolverLanguageParser.g:1766:6: lv_op_2_0= ruleAdditiveBinaryOperator { newCompositeNode(grammarAccess.getAdditiveExpressionAccess().getOpAdditiveBinaryOperatorEnumRuleCall_1_1_0()); @@ -3189,16 +4379,16 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } - // InternalSolverLanguageParser.g:1272:4: ( (lv_right_3_0= ruleMultiplicativeExpression ) ) - // InternalSolverLanguageParser.g:1273:5: (lv_right_3_0= ruleMultiplicativeExpression ) + // InternalSolverLanguageParser.g:1783:4: ( (lv_right_3_0= ruleMultiplicativeExpression ) ) + // InternalSolverLanguageParser.g:1784:5: (lv_right_3_0= ruleMultiplicativeExpression ) { - // InternalSolverLanguageParser.g:1273:5: (lv_right_3_0= ruleMultiplicativeExpression ) - // InternalSolverLanguageParser.g:1274:6: lv_right_3_0= ruleMultiplicativeExpression + // InternalSolverLanguageParser.g:1784:5: (lv_right_3_0= ruleMultiplicativeExpression ) + // InternalSolverLanguageParser.g:1785:6: lv_right_3_0= ruleMultiplicativeExpression { newCompositeNode(grammarAccess.getAdditiveExpressionAccess().getRightMultiplicativeExpressionParserRuleCall_1_2_0()); - pushFollow(FOLLOW_22); + pushFollow(FOLLOW_29); lv_right_3_0=ruleMultiplicativeExpression(); state._fsp--; @@ -3225,7 +4415,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { break; default : - break loop15; + break loop18; } } while (true); @@ -3252,7 +4442,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleMultiplicativeExpression" - // InternalSolverLanguageParser.g:1296:1: entryRuleMultiplicativeExpression returns [EObject current=null] : iv_ruleMultiplicativeExpression= ruleMultiplicativeExpression EOF ; + // InternalSolverLanguageParser.g:1807:1: entryRuleMultiplicativeExpression returns [EObject current=null] : iv_ruleMultiplicativeExpression= ruleMultiplicativeExpression EOF ; public final EObject entryRuleMultiplicativeExpression() throws RecognitionException { EObject current = null; @@ -3260,8 +4450,8 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { try { - // InternalSolverLanguageParser.g:1296:65: (iv_ruleMultiplicativeExpression= ruleMultiplicativeExpression EOF ) - // InternalSolverLanguageParser.g:1297:2: iv_ruleMultiplicativeExpression= ruleMultiplicativeExpression EOF + // InternalSolverLanguageParser.g:1807:65: (iv_ruleMultiplicativeExpression= ruleMultiplicativeExpression EOF ) + // InternalSolverLanguageParser.g:1808:2: iv_ruleMultiplicativeExpression= ruleMultiplicativeExpression EOF { newCompositeNode(grammarAccess.getMultiplicativeExpressionRule()); pushFollow(FOLLOW_1); @@ -3288,7 +4478,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleMultiplicativeExpression" - // InternalSolverLanguageParser.g:1303:1: ruleMultiplicativeExpression returns [EObject current=null] : (this_ExponentialExpression_0= ruleExponentialExpression ( () ( (lv_op_2_0= ruleMultiplicativeBinaryOperator ) ) ( (lv_right_3_0= ruleExponentialExpression ) ) )* ) ; + // InternalSolverLanguageParser.g:1814:1: ruleMultiplicativeExpression returns [EObject current=null] : (this_ExponentialExpression_0= ruleExponentialExpression ( () ( (lv_op_2_0= ruleMultiplicativeBinaryOperator ) ) ( (lv_right_3_0= ruleExponentialExpression ) ) )* ) ; public final EObject ruleMultiplicativeExpression() throws RecognitionException { EObject current = null; @@ -3303,16 +4493,16 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { enterRule(); try { - // InternalSolverLanguageParser.g:1309:2: ( (this_ExponentialExpression_0= ruleExponentialExpression ( () ( (lv_op_2_0= ruleMultiplicativeBinaryOperator ) ) ( (lv_right_3_0= ruleExponentialExpression ) ) )* ) ) - // InternalSolverLanguageParser.g:1310:2: (this_ExponentialExpression_0= ruleExponentialExpression ( () ( (lv_op_2_0= ruleMultiplicativeBinaryOperator ) ) ( (lv_right_3_0= ruleExponentialExpression ) ) )* ) + // InternalSolverLanguageParser.g:1820:2: ( (this_ExponentialExpression_0= ruleExponentialExpression ( () ( (lv_op_2_0= ruleMultiplicativeBinaryOperator ) ) ( (lv_right_3_0= ruleExponentialExpression ) ) )* ) ) + // InternalSolverLanguageParser.g:1821:2: (this_ExponentialExpression_0= ruleExponentialExpression ( () ( (lv_op_2_0= ruleMultiplicativeBinaryOperator ) ) ( (lv_right_3_0= ruleExponentialExpression ) ) )* ) { - // InternalSolverLanguageParser.g:1310:2: (this_ExponentialExpression_0= ruleExponentialExpression ( () ( (lv_op_2_0= ruleMultiplicativeBinaryOperator ) ) ( (lv_right_3_0= ruleExponentialExpression ) ) )* ) - // InternalSolverLanguageParser.g:1311:3: this_ExponentialExpression_0= ruleExponentialExpression ( () ( (lv_op_2_0= ruleMultiplicativeBinaryOperator ) ) ( (lv_right_3_0= ruleExponentialExpression ) ) )* + // InternalSolverLanguageParser.g:1821:2: (this_ExponentialExpression_0= ruleExponentialExpression ( () ( (lv_op_2_0= ruleMultiplicativeBinaryOperator ) ) ( (lv_right_3_0= ruleExponentialExpression ) ) )* ) + // InternalSolverLanguageParser.g:1822:3: this_ExponentialExpression_0= ruleExponentialExpression ( () ( (lv_op_2_0= ruleMultiplicativeBinaryOperator ) ) ( (lv_right_3_0= ruleExponentialExpression ) ) )* { newCompositeNode(grammarAccess.getMultiplicativeExpressionAccess().getExponentialExpressionParserRuleCall_0()); - pushFollow(FOLLOW_23); + pushFollow(FOLLOW_30); this_ExponentialExpression_0=ruleExponentialExpression(); state._fsp--; @@ -3321,23 +4511,23 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { current = this_ExponentialExpression_0; afterParserOrEnumRuleCall(); - // InternalSolverLanguageParser.g:1319:3: ( () ( (lv_op_2_0= ruleMultiplicativeBinaryOperator ) ) ( (lv_right_3_0= ruleExponentialExpression ) ) )* - loop16: + // InternalSolverLanguageParser.g:1830:3: ( () ( (lv_op_2_0= ruleMultiplicativeBinaryOperator ) ) ( (lv_right_3_0= ruleExponentialExpression ) ) )* + loop19: do { - int alt16=2; - int LA16_0 = input.LA(1); + int alt19=2; + int LA19_0 = input.LA(1); - if ( (LA16_0==Asterisk||LA16_0==Solidus) ) { - alt16=1; + if ( (LA19_0==Asterisk||LA19_0==Solidus) ) { + alt19=1; } - switch (alt16) { + switch (alt19) { case 1 : - // InternalSolverLanguageParser.g:1320:4: () ( (lv_op_2_0= ruleMultiplicativeBinaryOperator ) ) ( (lv_right_3_0= ruleExponentialExpression ) ) + // InternalSolverLanguageParser.g:1831:4: () ( (lv_op_2_0= ruleMultiplicativeBinaryOperator ) ) ( (lv_right_3_0= ruleExponentialExpression ) ) { - // InternalSolverLanguageParser.g:1320:4: () - // InternalSolverLanguageParser.g:1321:5: + // InternalSolverLanguageParser.g:1831:4: () + // InternalSolverLanguageParser.g:1832:5: { current = forceCreateModelElementAndSet( @@ -3347,11 +4537,11 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } - // InternalSolverLanguageParser.g:1327:4: ( (lv_op_2_0= ruleMultiplicativeBinaryOperator ) ) - // InternalSolverLanguageParser.g:1328:5: (lv_op_2_0= ruleMultiplicativeBinaryOperator ) + // InternalSolverLanguageParser.g:1838:4: ( (lv_op_2_0= ruleMultiplicativeBinaryOperator ) ) + // InternalSolverLanguageParser.g:1839:5: (lv_op_2_0= ruleMultiplicativeBinaryOperator ) { - // InternalSolverLanguageParser.g:1328:5: (lv_op_2_0= ruleMultiplicativeBinaryOperator ) - // InternalSolverLanguageParser.g:1329:6: lv_op_2_0= ruleMultiplicativeBinaryOperator + // InternalSolverLanguageParser.g:1839:5: (lv_op_2_0= ruleMultiplicativeBinaryOperator ) + // InternalSolverLanguageParser.g:1840:6: lv_op_2_0= ruleMultiplicativeBinaryOperator { newCompositeNode(grammarAccess.getMultiplicativeExpressionAccess().getOpMultiplicativeBinaryOperatorEnumRuleCall_1_1_0()); @@ -3378,16 +4568,16 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } - // InternalSolverLanguageParser.g:1346:4: ( (lv_right_3_0= ruleExponentialExpression ) ) - // InternalSolverLanguageParser.g:1347:5: (lv_right_3_0= ruleExponentialExpression ) + // InternalSolverLanguageParser.g:1857:4: ( (lv_right_3_0= ruleExponentialExpression ) ) + // InternalSolverLanguageParser.g:1858:5: (lv_right_3_0= ruleExponentialExpression ) { - // InternalSolverLanguageParser.g:1347:5: (lv_right_3_0= ruleExponentialExpression ) - // InternalSolverLanguageParser.g:1348:6: lv_right_3_0= ruleExponentialExpression + // InternalSolverLanguageParser.g:1858:5: (lv_right_3_0= ruleExponentialExpression ) + // InternalSolverLanguageParser.g:1859:6: lv_right_3_0= ruleExponentialExpression { newCompositeNode(grammarAccess.getMultiplicativeExpressionAccess().getRightExponentialExpressionParserRuleCall_1_2_0()); - pushFollow(FOLLOW_23); + pushFollow(FOLLOW_30); lv_right_3_0=ruleExponentialExpression(); state._fsp--; @@ -3414,7 +4604,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { break; default : - break loop16; + break loop19; } } while (true); @@ -3441,7 +4631,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleExponentialExpression" - // InternalSolverLanguageParser.g:1370:1: entryRuleExponentialExpression returns [EObject current=null] : iv_ruleExponentialExpression= ruleExponentialExpression EOF ; + // InternalSolverLanguageParser.g:1881:1: entryRuleExponentialExpression returns [EObject current=null] : iv_ruleExponentialExpression= ruleExponentialExpression EOF ; public final EObject entryRuleExponentialExpression() throws RecognitionException { EObject current = null; @@ -3449,8 +4639,8 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { try { - // InternalSolverLanguageParser.g:1370:62: (iv_ruleExponentialExpression= ruleExponentialExpression EOF ) - // InternalSolverLanguageParser.g:1371:2: iv_ruleExponentialExpression= ruleExponentialExpression EOF + // InternalSolverLanguageParser.g:1881:62: (iv_ruleExponentialExpression= ruleExponentialExpression EOF ) + // InternalSolverLanguageParser.g:1882:2: iv_ruleExponentialExpression= ruleExponentialExpression EOF { newCompositeNode(grammarAccess.getExponentialExpressionRule()); pushFollow(FOLLOW_1); @@ -3477,11 +4667,11 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleExponentialExpression" - // InternalSolverLanguageParser.g:1377:1: ruleExponentialExpression returns [EObject current=null] : (this_UnaryExpression_0= ruleUnaryExpression ( () ( (lv_op_2_0= ruleExponentialOp ) ) ( (lv_right_3_0= ruleExponentialExpression ) ) )? ) ; + // InternalSolverLanguageParser.g:1888:1: ruleExponentialExpression returns [EObject current=null] : (this_CastExpression_0= ruleCastExpression ( () ( (lv_op_2_0= ruleExponentialOp ) ) ( (lv_right_3_0= ruleCastExpression ) ) )? ) ; public final EObject ruleExponentialExpression() throws RecognitionException { EObject current = null; - EObject this_UnaryExpression_0 = null; + EObject this_CastExpression_0 = null; Enumerator lv_op_2_0 = null; @@ -3492,37 +4682,37 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { enterRule(); try { - // InternalSolverLanguageParser.g:1383:2: ( (this_UnaryExpression_0= ruleUnaryExpression ( () ( (lv_op_2_0= ruleExponentialOp ) ) ( (lv_right_3_0= ruleExponentialExpression ) ) )? ) ) - // InternalSolverLanguageParser.g:1384:2: (this_UnaryExpression_0= ruleUnaryExpression ( () ( (lv_op_2_0= ruleExponentialOp ) ) ( (lv_right_3_0= ruleExponentialExpression ) ) )? ) + // InternalSolverLanguageParser.g:1894:2: ( (this_CastExpression_0= ruleCastExpression ( () ( (lv_op_2_0= ruleExponentialOp ) ) ( (lv_right_3_0= ruleCastExpression ) ) )? ) ) + // InternalSolverLanguageParser.g:1895:2: (this_CastExpression_0= ruleCastExpression ( () ( (lv_op_2_0= ruleExponentialOp ) ) ( (lv_right_3_0= ruleCastExpression ) ) )? ) { - // InternalSolverLanguageParser.g:1384:2: (this_UnaryExpression_0= ruleUnaryExpression ( () ( (lv_op_2_0= ruleExponentialOp ) ) ( (lv_right_3_0= ruleExponentialExpression ) ) )? ) - // InternalSolverLanguageParser.g:1385:3: this_UnaryExpression_0= ruleUnaryExpression ( () ( (lv_op_2_0= ruleExponentialOp ) ) ( (lv_right_3_0= ruleExponentialExpression ) ) )? + // InternalSolverLanguageParser.g:1895:2: (this_CastExpression_0= ruleCastExpression ( () ( (lv_op_2_0= ruleExponentialOp ) ) ( (lv_right_3_0= ruleCastExpression ) ) )? ) + // InternalSolverLanguageParser.g:1896:3: this_CastExpression_0= ruleCastExpression ( () ( (lv_op_2_0= ruleExponentialOp ) ) ( (lv_right_3_0= ruleCastExpression ) ) )? { - newCompositeNode(grammarAccess.getExponentialExpressionAccess().getUnaryExpressionParserRuleCall_0()); + newCompositeNode(grammarAccess.getExponentialExpressionAccess().getCastExpressionParserRuleCall_0()); - pushFollow(FOLLOW_24); - this_UnaryExpression_0=ruleUnaryExpression(); + pushFollow(FOLLOW_31); + this_CastExpression_0=ruleCastExpression(); state._fsp--; - current = this_UnaryExpression_0; + current = this_CastExpression_0; afterParserOrEnumRuleCall(); - // InternalSolverLanguageParser.g:1393:3: ( () ( (lv_op_2_0= ruleExponentialOp ) ) ( (lv_right_3_0= ruleExponentialExpression ) ) )? - int alt17=2; - int LA17_0 = input.LA(1); + // InternalSolverLanguageParser.g:1904:3: ( () ( (lv_op_2_0= ruleExponentialOp ) ) ( (lv_right_3_0= ruleCastExpression ) ) )? + int alt20=2; + int LA20_0 = input.LA(1); - if ( (LA17_0==CircumflexAccent) ) { - alt17=1; + if ( (LA20_0==CircumflexAccent) ) { + alt20=1; } - switch (alt17) { + switch (alt20) { case 1 : - // InternalSolverLanguageParser.g:1394:4: () ( (lv_op_2_0= ruleExponentialOp ) ) ( (lv_right_3_0= ruleExponentialExpression ) ) + // InternalSolverLanguageParser.g:1905:4: () ( (lv_op_2_0= ruleExponentialOp ) ) ( (lv_right_3_0= ruleCastExpression ) ) { - // InternalSolverLanguageParser.g:1394:4: () - // InternalSolverLanguageParser.g:1395:5: + // InternalSolverLanguageParser.g:1905:4: () + // InternalSolverLanguageParser.g:1906:5: { current = forceCreateModelElementAndSet( @@ -3532,11 +4722,11 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } - // InternalSolverLanguageParser.g:1401:4: ( (lv_op_2_0= ruleExponentialOp ) ) - // InternalSolverLanguageParser.g:1402:5: (lv_op_2_0= ruleExponentialOp ) + // InternalSolverLanguageParser.g:1912:4: ( (lv_op_2_0= ruleExponentialOp ) ) + // InternalSolverLanguageParser.g:1913:5: (lv_op_2_0= ruleExponentialOp ) { - // InternalSolverLanguageParser.g:1402:5: (lv_op_2_0= ruleExponentialOp ) - // InternalSolverLanguageParser.g:1403:6: lv_op_2_0= ruleExponentialOp + // InternalSolverLanguageParser.g:1913:5: (lv_op_2_0= ruleExponentialOp ) + // InternalSolverLanguageParser.g:1914:6: lv_op_2_0= ruleExponentialOp { newCompositeNode(grammarAccess.getExponentialExpressionAccess().getOpExponentialOpEnumRuleCall_1_1_0()); @@ -3563,17 +4753,17 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } - // InternalSolverLanguageParser.g:1420:4: ( (lv_right_3_0= ruleExponentialExpression ) ) - // InternalSolverLanguageParser.g:1421:5: (lv_right_3_0= ruleExponentialExpression ) + // InternalSolverLanguageParser.g:1931:4: ( (lv_right_3_0= ruleCastExpression ) ) + // InternalSolverLanguageParser.g:1932:5: (lv_right_3_0= ruleCastExpression ) { - // InternalSolverLanguageParser.g:1421:5: (lv_right_3_0= ruleExponentialExpression ) - // InternalSolverLanguageParser.g:1422:6: lv_right_3_0= ruleExponentialExpression + // InternalSolverLanguageParser.g:1932:5: (lv_right_3_0= ruleCastExpression ) + // InternalSolverLanguageParser.g:1933:6: lv_right_3_0= ruleCastExpression { - newCompositeNode(grammarAccess.getExponentialExpressionAccess().getRightExponentialExpressionParserRuleCall_1_2_0()); + newCompositeNode(grammarAccess.getExponentialExpressionAccess().getRightCastExpressionParserRuleCall_1_2_0()); pushFollow(FOLLOW_2); - lv_right_3_0=ruleExponentialExpression(); + lv_right_3_0=ruleCastExpression(); state._fsp--; @@ -3585,7 +4775,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { current, "right", lv_right_3_0, - "org.eclipse.viatra.solver.language.SolverLanguage.ExponentialExpression"); + "org.eclipse.viatra.solver.language.SolverLanguage.CastExpression"); afterParserOrEnumRuleCall(); @@ -3622,8 +4812,157 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR end "ruleExponentialExpression" + // $ANTLR start "entryRuleCastExpression" + // InternalSolverLanguageParser.g:1955:1: entryRuleCastExpression returns [EObject current=null] : iv_ruleCastExpression= ruleCastExpression EOF ; + public final EObject entryRuleCastExpression() throws RecognitionException { + EObject current = null; + + EObject iv_ruleCastExpression = null; + + + try { + // InternalSolverLanguageParser.g:1955:55: (iv_ruleCastExpression= ruleCastExpression EOF ) + // InternalSolverLanguageParser.g:1956:2: iv_ruleCastExpression= ruleCastExpression EOF + { + newCompositeNode(grammarAccess.getCastExpressionRule()); + pushFollow(FOLLOW_1); + iv_ruleCastExpression=ruleCastExpression(); + + state._fsp--; + + current =iv_ruleCastExpression; + match(input,EOF,FOLLOW_2); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleCastExpression" + + + // $ANTLR start "ruleCastExpression" + // InternalSolverLanguageParser.g:1962:1: ruleCastExpression returns [EObject current=null] : (this_UnaryExpression_0= ruleUnaryExpression ( () otherlv_2= As ( ( ruleQualifiedName ) ) )? ) ; + public final EObject ruleCastExpression() throws RecognitionException { + EObject current = null; + + Token otherlv_2=null; + EObject this_UnaryExpression_0 = null; + + + + enterRule(); + + try { + // InternalSolverLanguageParser.g:1968:2: ( (this_UnaryExpression_0= ruleUnaryExpression ( () otherlv_2= As ( ( ruleQualifiedName ) ) )? ) ) + // InternalSolverLanguageParser.g:1969:2: (this_UnaryExpression_0= ruleUnaryExpression ( () otherlv_2= As ( ( ruleQualifiedName ) ) )? ) + { + // InternalSolverLanguageParser.g:1969:2: (this_UnaryExpression_0= ruleUnaryExpression ( () otherlv_2= As ( ( ruleQualifiedName ) ) )? ) + // InternalSolverLanguageParser.g:1970:3: this_UnaryExpression_0= ruleUnaryExpression ( () otherlv_2= As ( ( ruleQualifiedName ) ) )? + { + + newCompositeNode(grammarAccess.getCastExpressionAccess().getUnaryExpressionParserRuleCall_0()); + + pushFollow(FOLLOW_32); + this_UnaryExpression_0=ruleUnaryExpression(); + + state._fsp--; + + + current = this_UnaryExpression_0; + afterParserOrEnumRuleCall(); + + // InternalSolverLanguageParser.g:1978:3: ( () otherlv_2= As ( ( ruleQualifiedName ) ) )? + int alt21=2; + int LA21_0 = input.LA(1); + + if ( (LA21_0==As) ) { + alt21=1; + } + switch (alt21) { + case 1 : + // InternalSolverLanguageParser.g:1979:4: () otherlv_2= As ( ( ruleQualifiedName ) ) + { + // InternalSolverLanguageParser.g:1979:4: () + // InternalSolverLanguageParser.g:1980:5: + { + + current = forceCreateModelElementAndSet( + grammarAccess.getCastExpressionAccess().getCastExpressionBodyAction_1_0(), + current); + + + } + + otherlv_2=(Token)match(input,As,FOLLOW_8); + + newLeafNode(otherlv_2, grammarAccess.getCastExpressionAccess().getAsKeyword_1_1()); + + // InternalSolverLanguageParser.g:1990:4: ( ( ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:1991:5: ( ruleQualifiedName ) + { + // InternalSolverLanguageParser.g:1991:5: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:1992:6: ruleQualifiedName + { + + if (current==null) { + current = createModelElement(grammarAccess.getCastExpressionRule()); + } + + + newCompositeNode(grammarAccess.getCastExpressionAccess().getTypeNamedElementCrossReference_1_2_0()); + + pushFollow(FOLLOW_2); + ruleQualifiedName(); + + state._fsp--; + + + afterParserOrEnumRuleCall(); + + + } + + + } + + + } + break; + + } + + + } + + + } + + + leaveRule(); + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleCastExpression" + + // $ANTLR start "entryRuleUnaryExpression" - // InternalSolverLanguageParser.g:1444:1: entryRuleUnaryExpression returns [EObject current=null] : iv_ruleUnaryExpression= ruleUnaryExpression EOF ; + // InternalSolverLanguageParser.g:2011:1: entryRuleUnaryExpression returns [EObject current=null] : iv_ruleUnaryExpression= ruleUnaryExpression EOF ; public final EObject entryRuleUnaryExpression() throws RecognitionException { EObject current = null; @@ -3631,8 +4970,8 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { try { - // InternalSolverLanguageParser.g:1444:56: (iv_ruleUnaryExpression= ruleUnaryExpression EOF ) - // InternalSolverLanguageParser.g:1445:2: iv_ruleUnaryExpression= ruleUnaryExpression EOF + // InternalSolverLanguageParser.g:2011:56: (iv_ruleUnaryExpression= ruleUnaryExpression EOF ) + // InternalSolverLanguageParser.g:2012:2: iv_ruleUnaryExpression= ruleUnaryExpression EOF { newCompositeNode(grammarAccess.getUnaryExpressionRule()); pushFollow(FOLLOW_1); @@ -3659,7 +4998,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleUnaryExpression" - // InternalSolverLanguageParser.g:1451:1: ruleUnaryExpression returns [EObject current=null] : (this_AggregationExpression_0= ruleAggregationExpression | ( () ( (lv_op_2_0= ruleUnaryOp ) ) ( (lv_body_3_0= ruleAggregationExpression ) ) ) ) ; + // InternalSolverLanguageParser.g:2018:1: ruleUnaryExpression returns [EObject current=null] : (this_AggregationExpression_0= ruleAggregationExpression | ( () ( (lv_op_2_0= ruleUnaryOp ) ) ( (lv_body_3_0= ruleAggregationExpression ) ) ) ) ; public final EObject ruleUnaryExpression() throws RecognitionException { EObject current = null; @@ -3674,28 +5013,28 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { enterRule(); try { - // InternalSolverLanguageParser.g:1457:2: ( (this_AggregationExpression_0= ruleAggregationExpression | ( () ( (lv_op_2_0= ruleUnaryOp ) ) ( (lv_body_3_0= ruleAggregationExpression ) ) ) ) ) - // InternalSolverLanguageParser.g:1458:2: (this_AggregationExpression_0= ruleAggregationExpression | ( () ( (lv_op_2_0= ruleUnaryOp ) ) ( (lv_body_3_0= ruleAggregationExpression ) ) ) ) + // InternalSolverLanguageParser.g:2024:2: ( (this_AggregationExpression_0= ruleAggregationExpression | ( () ( (lv_op_2_0= ruleUnaryOp ) ) ( (lv_body_3_0= ruleAggregationExpression ) ) ) ) ) + // InternalSolverLanguageParser.g:2025:2: (this_AggregationExpression_0= ruleAggregationExpression | ( () ( (lv_op_2_0= ruleUnaryOp ) ) ( (lv_body_3_0= ruleAggregationExpression ) ) ) ) { - // InternalSolverLanguageParser.g:1458:2: (this_AggregationExpression_0= ruleAggregationExpression | ( () ( (lv_op_2_0= ruleUnaryOp ) ) ( (lv_body_3_0= ruleAggregationExpression ) ) ) ) - int alt18=2; - int LA18_0 = input.LA(1); + // InternalSolverLanguageParser.g:2025:2: (this_AggregationExpression_0= ruleAggregationExpression | ( () ( (lv_op_2_0= ruleUnaryOp ) ) ( (lv_body_3_0= ruleAggregationExpression ) ) ) ) + int alt22=2; + int LA22_0 = input.LA(1); - if ( (LA18_0==Unknown||(LA18_0>=Count && LA18_0<=False)||(LA18_0>=Only && LA18_0<=Prod)||LA18_0==True||(LA18_0>=Avg && LA18_0<=Inf)||LA18_0==Max||(LA18_0>=Min && LA18_0<=Sum)||LA18_0==LeftParenthesis||LA18_0==LeftSquareBracket||(LA18_0>=RULE_STRING && LA18_0<=RULE_QUOTED_ID)||(LA18_0>=RULE_ID && LA18_0<=RULE_INT)) ) { - alt18=1; + if ( ((LA22_0>=Unknown && LA22_0<=Exists)||LA22_0==Forall||(LA22_0>=Count && LA22_0<=False)||LA22_0==True||LA22_0==Inf||LA22_0==LeftParenthesis||LA22_0==LeftSquareBracket||(LA22_0>=RULE_STRING && LA22_0<=RULE_QUOTED_ID)||(LA22_0>=RULE_ID && LA22_0<=RULE_INT)) ) { + alt22=1; } - else if ( (LA18_0==Current||LA18_0==Must||LA18_0==May||LA18_0==ExclamationMark||LA18_0==PlusSign||LA18_0==HyphenMinus) ) { - alt18=2; + else if ( (LA22_0==Current||LA22_0==Must||LA22_0==May||LA22_0==ExclamationMark||LA22_0==PlusSign||LA22_0==HyphenMinus) ) { + alt22=2; } else { NoViableAltException nvae = - new NoViableAltException("", 18, 0, input); + new NoViableAltException("", 22, 0, input); throw nvae; } - switch (alt18) { + switch (alt22) { case 1 : - // InternalSolverLanguageParser.g:1459:3: this_AggregationExpression_0= ruleAggregationExpression + // InternalSolverLanguageParser.g:2026:3: this_AggregationExpression_0= ruleAggregationExpression { newCompositeNode(grammarAccess.getUnaryExpressionAccess().getAggregationExpressionParserRuleCall_0()); @@ -3713,13 +5052,13 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } break; case 2 : - // InternalSolverLanguageParser.g:1468:3: ( () ( (lv_op_2_0= ruleUnaryOp ) ) ( (lv_body_3_0= ruleAggregationExpression ) ) ) + // InternalSolverLanguageParser.g:2035:3: ( () ( (lv_op_2_0= ruleUnaryOp ) ) ( (lv_body_3_0= ruleAggregationExpression ) ) ) { - // InternalSolverLanguageParser.g:1468:3: ( () ( (lv_op_2_0= ruleUnaryOp ) ) ( (lv_body_3_0= ruleAggregationExpression ) ) ) - // InternalSolverLanguageParser.g:1469:4: () ( (lv_op_2_0= ruleUnaryOp ) ) ( (lv_body_3_0= ruleAggregationExpression ) ) + // InternalSolverLanguageParser.g:2035:3: ( () ( (lv_op_2_0= ruleUnaryOp ) ) ( (lv_body_3_0= ruleAggregationExpression ) ) ) + // InternalSolverLanguageParser.g:2036:4: () ( (lv_op_2_0= ruleUnaryOp ) ) ( (lv_body_3_0= ruleAggregationExpression ) ) { - // InternalSolverLanguageParser.g:1469:4: () - // InternalSolverLanguageParser.g:1470:5: + // InternalSolverLanguageParser.g:2036:4: () + // InternalSolverLanguageParser.g:2037:5: { current = forceCreateModelElement( @@ -3729,16 +5068,16 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } - // InternalSolverLanguageParser.g:1476:4: ( (lv_op_2_0= ruleUnaryOp ) ) - // InternalSolverLanguageParser.g:1477:5: (lv_op_2_0= ruleUnaryOp ) + // InternalSolverLanguageParser.g:2043:4: ( (lv_op_2_0= ruleUnaryOp ) ) + // InternalSolverLanguageParser.g:2044:5: (lv_op_2_0= ruleUnaryOp ) { - // InternalSolverLanguageParser.g:1477:5: (lv_op_2_0= ruleUnaryOp ) - // InternalSolverLanguageParser.g:1478:6: lv_op_2_0= ruleUnaryOp + // InternalSolverLanguageParser.g:2044:5: (lv_op_2_0= ruleUnaryOp ) + // InternalSolverLanguageParser.g:2045:6: lv_op_2_0= ruleUnaryOp { newCompositeNode(grammarAccess.getUnaryExpressionAccess().getOpUnaryOpEnumRuleCall_1_1_0()); - pushFollow(FOLLOW_25); + pushFollow(FOLLOW_33); lv_op_2_0=ruleUnaryOp(); state._fsp--; @@ -3760,11 +5099,11 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } - // InternalSolverLanguageParser.g:1495:4: ( (lv_body_3_0= ruleAggregationExpression ) ) - // InternalSolverLanguageParser.g:1496:5: (lv_body_3_0= ruleAggregationExpression ) + // InternalSolverLanguageParser.g:2062:4: ( (lv_body_3_0= ruleAggregationExpression ) ) + // InternalSolverLanguageParser.g:2063:5: (lv_body_3_0= ruleAggregationExpression ) { - // InternalSolverLanguageParser.g:1496:5: (lv_body_3_0= ruleAggregationExpression ) - // InternalSolverLanguageParser.g:1497:6: lv_body_3_0= ruleAggregationExpression + // InternalSolverLanguageParser.g:2063:5: (lv_body_3_0= ruleAggregationExpression ) + // InternalSolverLanguageParser.g:2064:6: lv_body_3_0= ruleAggregationExpression { newCompositeNode(grammarAccess.getUnaryExpressionAccess().getBodyAggregationExpressionParserRuleCall_1_2_0()); @@ -3816,28 +5155,163 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } return current; } - // $ANTLR end "ruleUnaryExpression" + // $ANTLR end "ruleUnaryExpression" + + + // $ANTLR start "entryRuleAggregationExpression" + // InternalSolverLanguageParser.g:2086:1: entryRuleAggregationExpression returns [EObject current=null] : iv_ruleAggregationExpression= ruleAggregationExpression EOF ; + public final EObject entryRuleAggregationExpression() throws RecognitionException { + EObject current = null; + + EObject iv_ruleAggregationExpression = null; + + + try { + // InternalSolverLanguageParser.g:2086:62: (iv_ruleAggregationExpression= ruleAggregationExpression EOF ) + // InternalSolverLanguageParser.g:2087:2: iv_ruleAggregationExpression= ruleAggregationExpression EOF + { + newCompositeNode(grammarAccess.getAggregationExpressionRule()); + pushFollow(FOLLOW_1); + iv_ruleAggregationExpression=ruleAggregationExpression(); + + state._fsp--; + + current =iv_ruleAggregationExpression; + match(input,EOF,FOLLOW_2); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleAggregationExpression" + + + // $ANTLR start "ruleAggregationExpression" + // InternalSolverLanguageParser.g:2093:1: ruleAggregationExpression returns [EObject current=null] : (this_AtomicExpression_0= ruleAtomicExpression | this_QuantifiedExpression_1= ruleQuantifiedExpression | this_Aggregation_2= ruleAggregation ) ; + public final EObject ruleAggregationExpression() throws RecognitionException { + EObject current = null; + + EObject this_AtomicExpression_0 = null; + + EObject this_QuantifiedExpression_1 = null; + + EObject this_Aggregation_2 = null; + + + + enterRule(); + + try { + // InternalSolverLanguageParser.g:2099:2: ( (this_AtomicExpression_0= ruleAtomicExpression | this_QuantifiedExpression_1= ruleQuantifiedExpression | this_Aggregation_2= ruleAggregation ) ) + // InternalSolverLanguageParser.g:2100:2: (this_AtomicExpression_0= ruleAtomicExpression | this_QuantifiedExpression_1= ruleQuantifiedExpression | this_Aggregation_2= ruleAggregation ) + { + // InternalSolverLanguageParser.g:2100:2: (this_AtomicExpression_0= ruleAtomicExpression | this_QuantifiedExpression_1= ruleQuantifiedExpression | this_Aggregation_2= ruleAggregation ) + int alt23=3; + alt23 = dfa23.predict(input); + switch (alt23) { + case 1 : + // InternalSolverLanguageParser.g:2101:3: this_AtomicExpression_0= ruleAtomicExpression + { + + newCompositeNode(grammarAccess.getAggregationExpressionAccess().getAtomicExpressionParserRuleCall_0()); + + pushFollow(FOLLOW_2); + this_AtomicExpression_0=ruleAtomicExpression(); + + state._fsp--; + + + current = this_AtomicExpression_0; + afterParserOrEnumRuleCall(); + + + } + break; + case 2 : + // InternalSolverLanguageParser.g:2110:3: this_QuantifiedExpression_1= ruleQuantifiedExpression + { + + newCompositeNode(grammarAccess.getAggregationExpressionAccess().getQuantifiedExpressionParserRuleCall_1()); + + pushFollow(FOLLOW_2); + this_QuantifiedExpression_1=ruleQuantifiedExpression(); + + state._fsp--; + + + current = this_QuantifiedExpression_1; + afterParserOrEnumRuleCall(); + + + } + break; + case 3 : + // InternalSolverLanguageParser.g:2119:3: this_Aggregation_2= ruleAggregation + { + + newCompositeNode(grammarAccess.getAggregationExpressionAccess().getAggregationParserRuleCall_2()); + + pushFollow(FOLLOW_2); + this_Aggregation_2=ruleAggregation(); + + state._fsp--; + + + current = this_Aggregation_2; + afterParserOrEnumRuleCall(); + + + } + break; + + } + + + } + + + leaveRule(); + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleAggregationExpression" - // $ANTLR start "entryRuleAggregationExpression" - // InternalSolverLanguageParser.g:1519:1: entryRuleAggregationExpression returns [EObject current=null] : iv_ruleAggregationExpression= ruleAggregationExpression EOF ; - public final EObject entryRuleAggregationExpression() throws RecognitionException { + // $ANTLR start "entryRuleLocalVariables" + // InternalSolverLanguageParser.g:2131:1: entryRuleLocalVariables returns [EObject current=null] : iv_ruleLocalVariables= ruleLocalVariables EOF ; + public final EObject entryRuleLocalVariables() throws RecognitionException { EObject current = null; - EObject iv_ruleAggregationExpression = null; + EObject iv_ruleLocalVariables = null; try { - // InternalSolverLanguageParser.g:1519:62: (iv_ruleAggregationExpression= ruleAggregationExpression EOF ) - // InternalSolverLanguageParser.g:1520:2: iv_ruleAggregationExpression= ruleAggregationExpression EOF + // InternalSolverLanguageParser.g:2131:55: (iv_ruleLocalVariables= ruleLocalVariables EOF ) + // InternalSolverLanguageParser.g:2132:2: iv_ruleLocalVariables= ruleLocalVariables EOF { - newCompositeNode(grammarAccess.getAggregationExpressionRule()); + newCompositeNode(grammarAccess.getLocalVariablesRule()); pushFollow(FOLLOW_1); - iv_ruleAggregationExpression=ruleAggregationExpression(); + iv_ruleLocalVariables=ruleLocalVariables(); state._fsp--; - current =iv_ruleAggregationExpression; + current =iv_ruleLocalVariables; match(input,EOF,FOLLOW_2); } @@ -3852,127 +5326,161 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } return current; } - // $ANTLR end "entryRuleAggregationExpression" + // $ANTLR end "entryRuleLocalVariables" - // $ANTLR start "ruleAggregationExpression" - // InternalSolverLanguageParser.g:1526:1: ruleAggregationExpression returns [EObject current=null] : (this_AtomicExpression_0= ruleAtomicExpression | this_Count_1= ruleCount | this_Aggregation_2= ruleAggregation ) ; - public final EObject ruleAggregationExpression() throws RecognitionException { + // $ANTLR start "ruleLocalVariables" + // InternalSolverLanguageParser.g:2138:1: ruleLocalVariables returns [EObject current=null] : ( () otherlv_1= LeftSquareBracket ( ( (lv_variables_2_0= ruleVariable ) ) (otherlv_3= Comma ( (lv_variables_4_0= ruleVariable ) ) )* )? otherlv_5= RightSquareBracket ) ; + public final EObject ruleLocalVariables() throws RecognitionException { EObject current = null; - EObject this_AtomicExpression_0 = null; - - EObject this_Count_1 = null; + Token otherlv_1=null; + Token otherlv_3=null; + Token otherlv_5=null; + EObject lv_variables_2_0 = null; - EObject this_Aggregation_2 = null; + EObject lv_variables_4_0 = null; enterRule(); try { - // InternalSolverLanguageParser.g:1532:2: ( (this_AtomicExpression_0= ruleAtomicExpression | this_Count_1= ruleCount | this_Aggregation_2= ruleAggregation ) ) - // InternalSolverLanguageParser.g:1533:2: (this_AtomicExpression_0= ruleAtomicExpression | this_Count_1= ruleCount | this_Aggregation_2= ruleAggregation ) + // InternalSolverLanguageParser.g:2144:2: ( ( () otherlv_1= LeftSquareBracket ( ( (lv_variables_2_0= ruleVariable ) ) (otherlv_3= Comma ( (lv_variables_4_0= ruleVariable ) ) )* )? otherlv_5= RightSquareBracket ) ) + // InternalSolverLanguageParser.g:2145:2: ( () otherlv_1= LeftSquareBracket ( ( (lv_variables_2_0= ruleVariable ) ) (otherlv_3= Comma ( (lv_variables_4_0= ruleVariable ) ) )* )? otherlv_5= RightSquareBracket ) + { + // InternalSolverLanguageParser.g:2145:2: ( () otherlv_1= LeftSquareBracket ( ( (lv_variables_2_0= ruleVariable ) ) (otherlv_3= Comma ( (lv_variables_4_0= ruleVariable ) ) )* )? otherlv_5= RightSquareBracket ) + // InternalSolverLanguageParser.g:2146:3: () otherlv_1= LeftSquareBracket ( ( (lv_variables_2_0= ruleVariable ) ) (otherlv_3= Comma ( (lv_variables_4_0= ruleVariable ) ) )* )? otherlv_5= RightSquareBracket + { + // InternalSolverLanguageParser.g:2146:3: () + // InternalSolverLanguageParser.g:2147:4: { - // InternalSolverLanguageParser.g:1533:2: (this_AtomicExpression_0= ruleAtomicExpression | this_Count_1= ruleCount | this_Aggregation_2= ruleAggregation ) - int alt19=3; - switch ( input.LA(1) ) { - case Unknown: - case Empty: - case Error: - case False: - case True: - case Inf: - case LeftParenthesis: - case LeftSquareBracket: - case RULE_STRING: - case RULE_QUOTED_ID: - case RULE_ID: - case RULE_INT: - { - alt19=1; - } - break; - case Count: - { - alt19=2; - } - break; - case Only: - case Prod: - case Avg: - case Max: - case Min: - case Sum: - { - alt19=3; - } - break; - default: - NoViableAltException nvae = - new NoViableAltException("", 19, 0, input); - throw nvae; + current = forceCreateModelElement( + grammarAccess.getLocalVariablesAccess().getLocalVariablesAction_0(), + current); + + } - switch (alt19) { + otherlv_1=(Token)match(input,LeftSquareBracket,FOLLOW_34); + + newLeafNode(otherlv_1, grammarAccess.getLocalVariablesAccess().getLeftSquareBracketKeyword_1()); + + // InternalSolverLanguageParser.g:2157:3: ( ( (lv_variables_2_0= ruleVariable ) ) (otherlv_3= Comma ( (lv_variables_4_0= ruleVariable ) ) )* )? + int alt25=2; + int LA25_0 = input.LA(1); + + if ( (LA25_0==RULE_QUOTED_ID||LA25_0==RULE_ID) ) { + alt25=1; + } + switch (alt25) { case 1 : - // InternalSolverLanguageParser.g:1534:3: this_AtomicExpression_0= ruleAtomicExpression + // InternalSolverLanguageParser.g:2158:4: ( (lv_variables_2_0= ruleVariable ) ) (otherlv_3= Comma ( (lv_variables_4_0= ruleVariable ) ) )* + { + // InternalSolverLanguageParser.g:2158:4: ( (lv_variables_2_0= ruleVariable ) ) + // InternalSolverLanguageParser.g:2159:5: (lv_variables_2_0= ruleVariable ) + { + // InternalSolverLanguageParser.g:2159:5: (lv_variables_2_0= ruleVariable ) + // InternalSolverLanguageParser.g:2160:6: lv_variables_2_0= ruleVariable { - newCompositeNode(grammarAccess.getAggregationExpressionAccess().getAtomicExpressionParserRuleCall_0()); - - pushFollow(FOLLOW_2); - this_AtomicExpression_0=ruleAtomicExpression(); + newCompositeNode(grammarAccess.getLocalVariablesAccess().getVariablesVariableParserRuleCall_2_0_0()); + + pushFollow(FOLLOW_35); + lv_variables_2_0=ruleVariable(); state._fsp--; - current = this_AtomicExpression_0; - afterParserOrEnumRuleCall(); - + if (current==null) { + current = createModelElementForParent(grammarAccess.getLocalVariablesRule()); + } + add( + current, + "variables", + lv_variables_2_0, + "org.eclipse.viatra.solver.language.SolverLanguage.Variable"); + afterParserOrEnumRuleCall(); + } - break; - case 2 : - // InternalSolverLanguageParser.g:1543:3: this_Count_1= ruleCount - { - newCompositeNode(grammarAccess.getAggregationExpressionAccess().getCountParserRuleCall_1()); - - pushFollow(FOLLOW_2); - this_Count_1=ruleCount(); - state._fsp--; + } + // InternalSolverLanguageParser.g:2177:4: (otherlv_3= Comma ( (lv_variables_4_0= ruleVariable ) ) )* + loop24: + do { + int alt24=2; + int LA24_0 = input.LA(1); - current = this_Count_1; - afterParserOrEnumRuleCall(); - + if ( (LA24_0==Comma) ) { + alt24=1; + } - } - break; - case 3 : - // InternalSolverLanguageParser.g:1552:3: this_Aggregation_2= ruleAggregation - { - newCompositeNode(grammarAccess.getAggregationExpressionAccess().getAggregationParserRuleCall_2()); - - pushFollow(FOLLOW_2); - this_Aggregation_2=ruleAggregation(); + switch (alt24) { + case 1 : + // InternalSolverLanguageParser.g:2178:5: otherlv_3= Comma ( (lv_variables_4_0= ruleVariable ) ) + { + otherlv_3=(Token)match(input,Comma,FOLLOW_8); - state._fsp--; + newLeafNode(otherlv_3, grammarAccess.getLocalVariablesAccess().getCommaKeyword_2_1_0()); + + // InternalSolverLanguageParser.g:2182:5: ( (lv_variables_4_0= ruleVariable ) ) + // InternalSolverLanguageParser.g:2183:6: (lv_variables_4_0= ruleVariable ) + { + // InternalSolverLanguageParser.g:2183:6: (lv_variables_4_0= ruleVariable ) + // InternalSolverLanguageParser.g:2184:7: lv_variables_4_0= ruleVariable + { + newCompositeNode(grammarAccess.getLocalVariablesAccess().getVariablesVariableParserRuleCall_2_1_1_0()); + + pushFollow(FOLLOW_35); + lv_variables_4_0=ruleVariable(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getLocalVariablesRule()); + } + add( + current, + "variables", + lv_variables_4_0, + "org.eclipse.viatra.solver.language.SolverLanguage.Variable"); + afterParserOrEnumRuleCall(); + + + } + + + } + + + } + break; + + default : + break loop24; + } + } while (true); - current = this_Aggregation_2; - afterParserOrEnumRuleCall(); - } break; } + otherlv_5=(Token)match(input,RightSquareBracket,FOLLOW_2); + + newLeafNode(otherlv_5, grammarAccess.getLocalVariablesAccess().getRightSquareBracketKeyword_3()); + + + } + } @@ -3989,28 +5497,28 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } return current; } - // $ANTLR end "ruleAggregationExpression" + // $ANTLR end "ruleLocalVariables" - // $ANTLR start "entryRuleCount" - // InternalSolverLanguageParser.g:1564:1: entryRuleCount returns [EObject current=null] : iv_ruleCount= ruleCount EOF ; - public final EObject entryRuleCount() throws RecognitionException { + // $ANTLR start "entryRuleQuantifiedExpression" + // InternalSolverLanguageParser.g:2211:1: entryRuleQuantifiedExpression returns [EObject current=null] : iv_ruleQuantifiedExpression= ruleQuantifiedExpression EOF ; + public final EObject entryRuleQuantifiedExpression() throws RecognitionException { EObject current = null; - EObject iv_ruleCount = null; + EObject iv_ruleQuantifiedExpression = null; try { - // InternalSolverLanguageParser.g:1564:46: (iv_ruleCount= ruleCount EOF ) - // InternalSolverLanguageParser.g:1565:2: iv_ruleCount= ruleCount EOF + // InternalSolverLanguageParser.g:2211:61: (iv_ruleQuantifiedExpression= ruleQuantifiedExpression EOF ) + // InternalSolverLanguageParser.g:2212:2: iv_ruleQuantifiedExpression= ruleQuantifiedExpression EOF { - newCompositeNode(grammarAccess.getCountRule()); + newCompositeNode(grammarAccess.getQuantifiedExpressionRule()); pushFollow(FOLLOW_1); - iv_ruleCount=ruleCount(); + iv_ruleQuantifiedExpression=ruleQuantifiedExpression(); state._fsp--; - current =iv_ruleCount; + current =iv_ruleQuantifiedExpression; match(input,EOF,FOLLOW_2); } @@ -4025,60 +5533,132 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } return current; } - // $ANTLR end "entryRuleCount" + // $ANTLR end "entryRuleQuantifiedExpression" - // $ANTLR start "ruleCount" - // InternalSolverLanguageParser.g:1571:1: ruleCount returns [EObject current=null] : (otherlv_0= Count otherlv_1= LeftCurlyBracket ( (lv_body_2_0= ruleExpression ) ) otherlv_3= RightCurlyBracket ) ; - public final EObject ruleCount() throws RecognitionException { + // $ANTLR start "ruleQuantifiedExpression" + // InternalSolverLanguageParser.g:2218:1: ruleQuantifiedExpression returns [EObject current=null] : ( ( (lv_quantifier_0_0= ruleQuantifier ) ) ( (lv_localVariables_1_0= ruleLocalVariables ) )? otherlv_2= LeftCurlyBracket ( (lv_body_3_0= ruleExpression ) ) otherlv_4= RightCurlyBracket ) ; + public final EObject ruleQuantifiedExpression() throws RecognitionException { EObject current = null; - Token otherlv_0=null; - Token otherlv_1=null; - Token otherlv_3=null; - EObject lv_body_2_0 = null; + Token otherlv_2=null; + Token otherlv_4=null; + Enumerator lv_quantifier_0_0 = null; + + EObject lv_localVariables_1_0 = null; + + EObject lv_body_3_0 = null; enterRule(); try { - // InternalSolverLanguageParser.g:1577:2: ( (otherlv_0= Count otherlv_1= LeftCurlyBracket ( (lv_body_2_0= ruleExpression ) ) otherlv_3= RightCurlyBracket ) ) - // InternalSolverLanguageParser.g:1578:2: (otherlv_0= Count otherlv_1= LeftCurlyBracket ( (lv_body_2_0= ruleExpression ) ) otherlv_3= RightCurlyBracket ) + // InternalSolverLanguageParser.g:2224:2: ( ( ( (lv_quantifier_0_0= ruleQuantifier ) ) ( (lv_localVariables_1_0= ruleLocalVariables ) )? otherlv_2= LeftCurlyBracket ( (lv_body_3_0= ruleExpression ) ) otherlv_4= RightCurlyBracket ) ) + // InternalSolverLanguageParser.g:2225:2: ( ( (lv_quantifier_0_0= ruleQuantifier ) ) ( (lv_localVariables_1_0= ruleLocalVariables ) )? otherlv_2= LeftCurlyBracket ( (lv_body_3_0= ruleExpression ) ) otherlv_4= RightCurlyBracket ) + { + // InternalSolverLanguageParser.g:2225:2: ( ( (lv_quantifier_0_0= ruleQuantifier ) ) ( (lv_localVariables_1_0= ruleLocalVariables ) )? otherlv_2= LeftCurlyBracket ( (lv_body_3_0= ruleExpression ) ) otherlv_4= RightCurlyBracket ) + // InternalSolverLanguageParser.g:2226:3: ( (lv_quantifier_0_0= ruleQuantifier ) ) ( (lv_localVariables_1_0= ruleLocalVariables ) )? otherlv_2= LeftCurlyBracket ( (lv_body_3_0= ruleExpression ) ) otherlv_4= RightCurlyBracket + { + // InternalSolverLanguageParser.g:2226:3: ( (lv_quantifier_0_0= ruleQuantifier ) ) + // InternalSolverLanguageParser.g:2227:4: (lv_quantifier_0_0= ruleQuantifier ) { - // InternalSolverLanguageParser.g:1578:2: (otherlv_0= Count otherlv_1= LeftCurlyBracket ( (lv_body_2_0= ruleExpression ) ) otherlv_3= RightCurlyBracket ) - // InternalSolverLanguageParser.g:1579:3: otherlv_0= Count otherlv_1= LeftCurlyBracket ( (lv_body_2_0= ruleExpression ) ) otherlv_3= RightCurlyBracket + // InternalSolverLanguageParser.g:2227:4: (lv_quantifier_0_0= ruleQuantifier ) + // InternalSolverLanguageParser.g:2228:5: lv_quantifier_0_0= ruleQuantifier { - otherlv_0=(Token)match(input,Count,FOLLOW_26); - newLeafNode(otherlv_0, grammarAccess.getCountAccess().getCountKeyword_0()); - - otherlv_1=(Token)match(input,LeftCurlyBracket,FOLLOW_6); + newCompositeNode(grammarAccess.getQuantifiedExpressionAccess().getQuantifierQuantifierEnumRuleCall_0_0()); + + pushFollow(FOLLOW_36); + lv_quantifier_0_0=ruleQuantifier(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getQuantifiedExpressionRule()); + } + set( + current, + "quantifier", + lv_quantifier_0_0, + "org.eclipse.viatra.solver.language.SolverLanguage.Quantifier"); + afterParserOrEnumRuleCall(); + + + } + + + } + + // InternalSolverLanguageParser.g:2245:3: ( (lv_localVariables_1_0= ruleLocalVariables ) )? + int alt26=2; + int LA26_0 = input.LA(1); + + if ( (LA26_0==LeftSquareBracket) ) { + alt26=1; + } + switch (alt26) { + case 1 : + // InternalSolverLanguageParser.g:2246:4: (lv_localVariables_1_0= ruleLocalVariables ) + { + // InternalSolverLanguageParser.g:2246:4: (lv_localVariables_1_0= ruleLocalVariables ) + // InternalSolverLanguageParser.g:2247:5: lv_localVariables_1_0= ruleLocalVariables + { + + newCompositeNode(grammarAccess.getQuantifiedExpressionAccess().getLocalVariablesLocalVariablesParserRuleCall_1_0()); + + pushFollow(FOLLOW_14); + lv_localVariables_1_0=ruleLocalVariables(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getQuantifiedExpressionRule()); + } + set( + current, + "localVariables", + lv_localVariables_1_0, + "org.eclipse.viatra.solver.language.SolverLanguage.LocalVariables"); + afterParserOrEnumRuleCall(); + + + } + + + } + break; + + } - newLeafNode(otherlv_1, grammarAccess.getCountAccess().getLeftCurlyBracketKeyword_1()); + otherlv_2=(Token)match(input,LeftCurlyBracket,FOLLOW_6); + + newLeafNode(otherlv_2, grammarAccess.getQuantifiedExpressionAccess().getLeftCurlyBracketKeyword_2()); - // InternalSolverLanguageParser.g:1587:3: ( (lv_body_2_0= ruleExpression ) ) - // InternalSolverLanguageParser.g:1588:4: (lv_body_2_0= ruleExpression ) + // InternalSolverLanguageParser.g:2268:3: ( (lv_body_3_0= ruleExpression ) ) + // InternalSolverLanguageParser.g:2269:4: (lv_body_3_0= ruleExpression ) { - // InternalSolverLanguageParser.g:1588:4: (lv_body_2_0= ruleExpression ) - // InternalSolverLanguageParser.g:1589:5: lv_body_2_0= ruleExpression + // InternalSolverLanguageParser.g:2269:4: (lv_body_3_0= ruleExpression ) + // InternalSolverLanguageParser.g:2270:5: lv_body_3_0= ruleExpression { - newCompositeNode(grammarAccess.getCountAccess().getBodyExpressionParserRuleCall_2_0()); + newCompositeNode(grammarAccess.getQuantifiedExpressionAccess().getBodyExpressionParserRuleCall_3_0()); - pushFollow(FOLLOW_27); - lv_body_2_0=ruleExpression(); + pushFollow(FOLLOW_16); + lv_body_3_0=ruleExpression(); state._fsp--; if (current==null) { - current = createModelElementForParent(grammarAccess.getCountRule()); + current = createModelElementForParent(grammarAccess.getQuantifiedExpressionRule()); } set( current, "body", - lv_body_2_0, + lv_body_3_0, "org.eclipse.viatra.solver.language.SolverLanguage.Expression"); afterParserOrEnumRuleCall(); @@ -4088,9 +5668,9 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } - otherlv_3=(Token)match(input,RightCurlyBracket,FOLLOW_2); + otherlv_4=(Token)match(input,RightCurlyBracket,FOLLOW_2); - newLeafNode(otherlv_3, grammarAccess.getCountAccess().getRightCurlyBracketKeyword_3()); + newLeafNode(otherlv_4, grammarAccess.getQuantifiedExpressionAccess().getRightCurlyBracketKeyword_4()); } @@ -4111,11 +5691,11 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } return current; } - // $ANTLR end "ruleCount" + // $ANTLR end "ruleQuantifiedExpression" // $ANTLR start "entryRuleAggregation" - // InternalSolverLanguageParser.g:1614:1: entryRuleAggregation returns [EObject current=null] : iv_ruleAggregation= ruleAggregation EOF ; + // InternalSolverLanguageParser.g:2295:1: entryRuleAggregation returns [EObject current=null] : iv_ruleAggregation= ruleAggregation EOF ; public final EObject entryRuleAggregation() throws RecognitionException { EObject current = null; @@ -4123,8 +5703,8 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { try { - // InternalSolverLanguageParser.g:1614:52: (iv_ruleAggregation= ruleAggregation EOF ) - // InternalSolverLanguageParser.g:1615:2: iv_ruleAggregation= ruleAggregation EOF + // InternalSolverLanguageParser.g:2295:52: (iv_ruleAggregation= ruleAggregation EOF ) + // InternalSolverLanguageParser.g:2296:2: iv_ruleAggregation= ruleAggregation EOF { newCompositeNode(grammarAccess.getAggregationRule()); pushFollow(FOLLOW_1); @@ -4151,53 +5731,50 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleAggregation" - // InternalSolverLanguageParser.g:1621:1: ruleAggregation returns [EObject current=null] : ( ( (lv_op_0_0= ruleAggregationOp ) ) otherlv_1= LeftCurlyBracket ( (lv_body_2_0= ruleExpression ) ) otherlv_3= VerticalLine ( (lv_condition_4_0= ruleExpression ) ) otherlv_5= RightCurlyBracket ) ; + // InternalSolverLanguageParser.g:2302:1: ruleAggregation returns [EObject current=null] : ( ( ( ruleQualifiedName ) ) ( (lv_localVariables_1_0= ruleLocalVariables ) )? otherlv_2= LeftCurlyBracket ( (lv_body_3_0= ruleExpression ) ) (otherlv_4= VerticalLine ( (lv_condition_5_0= ruleExpression ) ) )? otherlv_6= RightCurlyBracket ) ; public final EObject ruleAggregation() throws RecognitionException { EObject current = null; - Token otherlv_1=null; - Token otherlv_3=null; - Token otherlv_5=null; - Enumerator lv_op_0_0 = null; + Token otherlv_2=null; + Token otherlv_4=null; + Token otherlv_6=null; + EObject lv_localVariables_1_0 = null; - EObject lv_body_2_0 = null; + EObject lv_body_3_0 = null; - EObject lv_condition_4_0 = null; + EObject lv_condition_5_0 = null; enterRule(); try { - // InternalSolverLanguageParser.g:1627:2: ( ( ( (lv_op_0_0= ruleAggregationOp ) ) otherlv_1= LeftCurlyBracket ( (lv_body_2_0= ruleExpression ) ) otherlv_3= VerticalLine ( (lv_condition_4_0= ruleExpression ) ) otherlv_5= RightCurlyBracket ) ) - // InternalSolverLanguageParser.g:1628:2: ( ( (lv_op_0_0= ruleAggregationOp ) ) otherlv_1= LeftCurlyBracket ( (lv_body_2_0= ruleExpression ) ) otherlv_3= VerticalLine ( (lv_condition_4_0= ruleExpression ) ) otherlv_5= RightCurlyBracket ) + // InternalSolverLanguageParser.g:2308:2: ( ( ( ( ruleQualifiedName ) ) ( (lv_localVariables_1_0= ruleLocalVariables ) )? otherlv_2= LeftCurlyBracket ( (lv_body_3_0= ruleExpression ) ) (otherlv_4= VerticalLine ( (lv_condition_5_0= ruleExpression ) ) )? otherlv_6= RightCurlyBracket ) ) + // InternalSolverLanguageParser.g:2309:2: ( ( ( ruleQualifiedName ) ) ( (lv_localVariables_1_0= ruleLocalVariables ) )? otherlv_2= LeftCurlyBracket ( (lv_body_3_0= ruleExpression ) ) (otherlv_4= VerticalLine ( (lv_condition_5_0= ruleExpression ) ) )? otherlv_6= RightCurlyBracket ) { - // InternalSolverLanguageParser.g:1628:2: ( ( (lv_op_0_0= ruleAggregationOp ) ) otherlv_1= LeftCurlyBracket ( (lv_body_2_0= ruleExpression ) ) otherlv_3= VerticalLine ( (lv_condition_4_0= ruleExpression ) ) otherlv_5= RightCurlyBracket ) - // InternalSolverLanguageParser.g:1629:3: ( (lv_op_0_0= ruleAggregationOp ) ) otherlv_1= LeftCurlyBracket ( (lv_body_2_0= ruleExpression ) ) otherlv_3= VerticalLine ( (lv_condition_4_0= ruleExpression ) ) otherlv_5= RightCurlyBracket + // InternalSolverLanguageParser.g:2309:2: ( ( ( ruleQualifiedName ) ) ( (lv_localVariables_1_0= ruleLocalVariables ) )? otherlv_2= LeftCurlyBracket ( (lv_body_3_0= ruleExpression ) ) (otherlv_4= VerticalLine ( (lv_condition_5_0= ruleExpression ) ) )? otherlv_6= RightCurlyBracket ) + // InternalSolverLanguageParser.g:2310:3: ( ( ruleQualifiedName ) ) ( (lv_localVariables_1_0= ruleLocalVariables ) )? otherlv_2= LeftCurlyBracket ( (lv_body_3_0= ruleExpression ) ) (otherlv_4= VerticalLine ( (lv_condition_5_0= ruleExpression ) ) )? otherlv_6= RightCurlyBracket { - // InternalSolverLanguageParser.g:1629:3: ( (lv_op_0_0= ruleAggregationOp ) ) - // InternalSolverLanguageParser.g:1630:4: (lv_op_0_0= ruleAggregationOp ) + // InternalSolverLanguageParser.g:2310:3: ( ( ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:2311:4: ( ruleQualifiedName ) { - // InternalSolverLanguageParser.g:1630:4: (lv_op_0_0= ruleAggregationOp ) - // InternalSolverLanguageParser.g:1631:5: lv_op_0_0= ruleAggregationOp + // InternalSolverLanguageParser.g:2311:4: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:2312:5: ruleQualifiedName { - newCompositeNode(grammarAccess.getAggregationAccess().getOpAggregationOpEnumRuleCall_0_0()); + if (current==null) { + current = createModelElement(grammarAccess.getAggregationRule()); + } + + + newCompositeNode(grammarAccess.getAggregationAccess().getOpNamedElementCrossReference_0_0()); - pushFollow(FOLLOW_26); - lv_op_0_0=ruleAggregationOp(); + pushFollow(FOLLOW_36); + ruleQualifiedName(); state._fsp--; - if (current==null) { - current = createModelElementForParent(grammarAccess.getAggregationRule()); - } - set( - current, - "op", - lv_op_0_0, - "org.eclipse.viatra.solver.language.SolverLanguage.AggregationOp"); afterParserOrEnumRuleCall(); @@ -4206,21 +5783,63 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } - otherlv_1=(Token)match(input,LeftCurlyBracket,FOLLOW_6); + // InternalSolverLanguageParser.g:2326:3: ( (lv_localVariables_1_0= ruleLocalVariables ) )? + int alt27=2; + int LA27_0 = input.LA(1); + + if ( (LA27_0==LeftSquareBracket) ) { + alt27=1; + } + switch (alt27) { + case 1 : + // InternalSolverLanguageParser.g:2327:4: (lv_localVariables_1_0= ruleLocalVariables ) + { + // InternalSolverLanguageParser.g:2327:4: (lv_localVariables_1_0= ruleLocalVariables ) + // InternalSolverLanguageParser.g:2328:5: lv_localVariables_1_0= ruleLocalVariables + { + + newCompositeNode(grammarAccess.getAggregationAccess().getLocalVariablesLocalVariablesParserRuleCall_1_0()); + + pushFollow(FOLLOW_14); + lv_localVariables_1_0=ruleLocalVariables(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getAggregationRule()); + } + set( + current, + "localVariables", + lv_localVariables_1_0, + "org.eclipse.viatra.solver.language.SolverLanguage.LocalVariables"); + afterParserOrEnumRuleCall(); + + + } + + + } + break; + + } + + otherlv_2=(Token)match(input,LeftCurlyBracket,FOLLOW_6); - newLeafNode(otherlv_1, grammarAccess.getAggregationAccess().getLeftCurlyBracketKeyword_1()); + newLeafNode(otherlv_2, grammarAccess.getAggregationAccess().getLeftCurlyBracketKeyword_2()); - // InternalSolverLanguageParser.g:1652:3: ( (lv_body_2_0= ruleExpression ) ) - // InternalSolverLanguageParser.g:1653:4: (lv_body_2_0= ruleExpression ) + // InternalSolverLanguageParser.g:2349:3: ( (lv_body_3_0= ruleExpression ) ) + // InternalSolverLanguageParser.g:2350:4: (lv_body_3_0= ruleExpression ) { - // InternalSolverLanguageParser.g:1653:4: (lv_body_2_0= ruleExpression ) - // InternalSolverLanguageParser.g:1654:5: lv_body_2_0= ruleExpression + // InternalSolverLanguageParser.g:2350:4: (lv_body_3_0= ruleExpression ) + // InternalSolverLanguageParser.g:2351:5: lv_body_3_0= ruleExpression { - newCompositeNode(grammarAccess.getAggregationAccess().getBodyExpressionParserRuleCall_2_0()); + newCompositeNode(grammarAccess.getAggregationAccess().getBodyExpressionParserRuleCall_3_0()); - pushFollow(FOLLOW_28); - lv_body_2_0=ruleExpression(); + pushFollow(FOLLOW_37); + lv_body_3_0=ruleExpression(); state._fsp--; @@ -4231,7 +5850,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { set( current, "body", - lv_body_2_0, + lv_body_3_0, "org.eclipse.viatra.solver.language.SolverLanguage.Expression"); afterParserOrEnumRuleCall(); @@ -4239,46 +5858,63 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } - } + } + + // InternalSolverLanguageParser.g:2368:3: (otherlv_4= VerticalLine ( (lv_condition_5_0= ruleExpression ) ) )? + int alt28=2; + int LA28_0 = input.LA(1); + + if ( (LA28_0==VerticalLine) ) { + alt28=1; + } + switch (alt28) { + case 1 : + // InternalSolverLanguageParser.g:2369:4: otherlv_4= VerticalLine ( (lv_condition_5_0= ruleExpression ) ) + { + otherlv_4=(Token)match(input,VerticalLine,FOLLOW_6); + + newLeafNode(otherlv_4, grammarAccess.getAggregationAccess().getVerticalLineKeyword_4_0()); + + // InternalSolverLanguageParser.g:2373:4: ( (lv_condition_5_0= ruleExpression ) ) + // InternalSolverLanguageParser.g:2374:5: (lv_condition_5_0= ruleExpression ) + { + // InternalSolverLanguageParser.g:2374:5: (lv_condition_5_0= ruleExpression ) + // InternalSolverLanguageParser.g:2375:6: lv_condition_5_0= ruleExpression + { + + newCompositeNode(grammarAccess.getAggregationAccess().getConditionExpressionParserRuleCall_4_1_0()); + + pushFollow(FOLLOW_16); + lv_condition_5_0=ruleExpression(); - otherlv_3=(Token)match(input,VerticalLine,FOLLOW_6); + state._fsp--; - newLeafNode(otherlv_3, grammarAccess.getAggregationAccess().getVerticalLineKeyword_3()); - - // InternalSolverLanguageParser.g:1675:3: ( (lv_condition_4_0= ruleExpression ) ) - // InternalSolverLanguageParser.g:1676:4: (lv_condition_4_0= ruleExpression ) - { - // InternalSolverLanguageParser.g:1676:4: (lv_condition_4_0= ruleExpression ) - // InternalSolverLanguageParser.g:1677:5: lv_condition_4_0= ruleExpression - { - newCompositeNode(grammarAccess.getAggregationAccess().getConditionExpressionParserRuleCall_4_0()); - - pushFollow(FOLLOW_27); - lv_condition_4_0=ruleExpression(); + if (current==null) { + current = createModelElementForParent(grammarAccess.getAggregationRule()); + } + set( + current, + "condition", + lv_condition_5_0, + "org.eclipse.viatra.solver.language.SolverLanguage.Expression"); + afterParserOrEnumRuleCall(); + - state._fsp--; + } - if (current==null) { - current = createModelElementForParent(grammarAccess.getAggregationRule()); - } - set( - current, - "condition", - lv_condition_4_0, - "org.eclipse.viatra.solver.language.SolverLanguage.Expression"); - afterParserOrEnumRuleCall(); - + } - } + } + break; } - otherlv_5=(Token)match(input,RightCurlyBracket,FOLLOW_2); + otherlv_6=(Token)match(input,RightCurlyBracket,FOLLOW_2); - newLeafNode(otherlv_5, grammarAccess.getAggregationAccess().getRightCurlyBracketKeyword_5()); + newLeafNode(otherlv_6, grammarAccess.getAggregationAccess().getRightCurlyBracketKeyword_5()); } @@ -4303,7 +5939,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleAtomicExpression" - // InternalSolverLanguageParser.g:1702:1: entryRuleAtomicExpression returns [EObject current=null] : iv_ruleAtomicExpression= ruleAtomicExpression EOF ; + // InternalSolverLanguageParser.g:2401:1: entryRuleAtomicExpression returns [EObject current=null] : iv_ruleAtomicExpression= ruleAtomicExpression EOF ; public final EObject entryRuleAtomicExpression() throws RecognitionException { EObject current = null; @@ -4311,8 +5947,8 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { try { - // InternalSolverLanguageParser.g:1702:57: (iv_ruleAtomicExpression= ruleAtomicExpression EOF ) - // InternalSolverLanguageParser.g:1703:2: iv_ruleAtomicExpression= ruleAtomicExpression EOF + // InternalSolverLanguageParser.g:2401:57: (iv_ruleAtomicExpression= ruleAtomicExpression EOF ) + // InternalSolverLanguageParser.g:2402:2: iv_ruleAtomicExpression= ruleAtomicExpression EOF { newCompositeNode(grammarAccess.getAtomicExpressionRule()); pushFollow(FOLLOW_1); @@ -4339,7 +5975,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleAtomicExpression" - // InternalSolverLanguageParser.g:1709:1: ruleAtomicExpression returns [EObject current=null] : (this_Reference_0= ruleReference | this_Call_1= ruleCall | this_Interval_2= ruleInterval | this_Literal_3= ruleLiteral | (otherlv_4= LeftParenthesis this_Expression_5= ruleExpression otherlv_6= RightParenthesis ) ) ; + // InternalSolverLanguageParser.g:2408:1: ruleAtomicExpression returns [EObject current=null] : (this_Reference_0= ruleReference | this_Call_1= ruleCall | this_Interval_2= ruleInterval | this_Literal_3= ruleLiteral | (otherlv_4= LeftParenthesis this_Expression_5= ruleExpression otherlv_6= RightParenthesis ) ) ; public final EObject ruleAtomicExpression() throws RecognitionException { EObject current = null; @@ -4360,15 +5996,15 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { enterRule(); try { - // InternalSolverLanguageParser.g:1715:2: ( (this_Reference_0= ruleReference | this_Call_1= ruleCall | this_Interval_2= ruleInterval | this_Literal_3= ruleLiteral | (otherlv_4= LeftParenthesis this_Expression_5= ruleExpression otherlv_6= RightParenthesis ) ) ) - // InternalSolverLanguageParser.g:1716:2: (this_Reference_0= ruleReference | this_Call_1= ruleCall | this_Interval_2= ruleInterval | this_Literal_3= ruleLiteral | (otherlv_4= LeftParenthesis this_Expression_5= ruleExpression otherlv_6= RightParenthesis ) ) + // InternalSolverLanguageParser.g:2414:2: ( (this_Reference_0= ruleReference | this_Call_1= ruleCall | this_Interval_2= ruleInterval | this_Literal_3= ruleLiteral | (otherlv_4= LeftParenthesis this_Expression_5= ruleExpression otherlv_6= RightParenthesis ) ) ) + // InternalSolverLanguageParser.g:2415:2: (this_Reference_0= ruleReference | this_Call_1= ruleCall | this_Interval_2= ruleInterval | this_Literal_3= ruleLiteral | (otherlv_4= LeftParenthesis this_Expression_5= ruleExpression otherlv_6= RightParenthesis ) ) { - // InternalSolverLanguageParser.g:1716:2: (this_Reference_0= ruleReference | this_Call_1= ruleCall | this_Interval_2= ruleInterval | this_Literal_3= ruleLiteral | (otherlv_4= LeftParenthesis this_Expression_5= ruleExpression otherlv_6= RightParenthesis ) ) - int alt20=5; - alt20 = dfa20.predict(input); - switch (alt20) { + // InternalSolverLanguageParser.g:2415:2: (this_Reference_0= ruleReference | this_Call_1= ruleCall | this_Interval_2= ruleInterval | this_Literal_3= ruleLiteral | (otherlv_4= LeftParenthesis this_Expression_5= ruleExpression otherlv_6= RightParenthesis ) ) + int alt29=5; + alt29 = dfa29.predict(input); + switch (alt29) { case 1 : - // InternalSolverLanguageParser.g:1717:3: this_Reference_0= ruleReference + // InternalSolverLanguageParser.g:2416:3: this_Reference_0= ruleReference { newCompositeNode(grammarAccess.getAtomicExpressionAccess().getReferenceParserRuleCall_0()); @@ -4386,7 +6022,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } break; case 2 : - // InternalSolverLanguageParser.g:1726:3: this_Call_1= ruleCall + // InternalSolverLanguageParser.g:2425:3: this_Call_1= ruleCall { newCompositeNode(grammarAccess.getAtomicExpressionAccess().getCallParserRuleCall_1()); @@ -4404,7 +6040,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } break; case 3 : - // InternalSolverLanguageParser.g:1735:3: this_Interval_2= ruleInterval + // InternalSolverLanguageParser.g:2434:3: this_Interval_2= ruleInterval { newCompositeNode(grammarAccess.getAtomicExpressionAccess().getIntervalParserRuleCall_2()); @@ -4422,7 +6058,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } break; case 4 : - // InternalSolverLanguageParser.g:1744:3: this_Literal_3= ruleLiteral + // InternalSolverLanguageParser.g:2443:3: this_Literal_3= ruleLiteral { newCompositeNode(grammarAccess.getAtomicExpressionAccess().getLiteralParserRuleCall_3()); @@ -4440,10 +6076,10 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } break; case 5 : - // InternalSolverLanguageParser.g:1753:3: (otherlv_4= LeftParenthesis this_Expression_5= ruleExpression otherlv_6= RightParenthesis ) + // InternalSolverLanguageParser.g:2452:3: (otherlv_4= LeftParenthesis this_Expression_5= ruleExpression otherlv_6= RightParenthesis ) { - // InternalSolverLanguageParser.g:1753:3: (otherlv_4= LeftParenthesis this_Expression_5= ruleExpression otherlv_6= RightParenthesis ) - // InternalSolverLanguageParser.g:1754:4: otherlv_4= LeftParenthesis this_Expression_5= ruleExpression otherlv_6= RightParenthesis + // InternalSolverLanguageParser.g:2452:3: (otherlv_4= LeftParenthesis this_Expression_5= ruleExpression otherlv_6= RightParenthesis ) + // InternalSolverLanguageParser.g:2453:4: otherlv_4= LeftParenthesis this_Expression_5= ruleExpression otherlv_6= RightParenthesis { otherlv_4=(Token)match(input,LeftParenthesis,FOLLOW_6); @@ -4452,7 +6088,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { newCompositeNode(grammarAccess.getAtomicExpressionAccess().getExpressionParserRuleCall_4_1()); - pushFollow(FOLLOW_29); + pushFollow(FOLLOW_38); this_Expression_5=ruleExpression(); state._fsp--; @@ -4494,7 +6130,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleCall" - // InternalSolverLanguageParser.g:1775:1: entryRuleCall returns [EObject current=null] : iv_ruleCall= ruleCall EOF ; + // InternalSolverLanguageParser.g:2474:1: entryRuleCall returns [EObject current=null] : iv_ruleCall= ruleCall EOF ; public final EObject entryRuleCall() throws RecognitionException { EObject current = null; @@ -4502,8 +6138,8 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { try { - // InternalSolverLanguageParser.g:1775:45: (iv_ruleCall= ruleCall EOF ) - // InternalSolverLanguageParser.g:1776:2: iv_ruleCall= ruleCall EOF + // InternalSolverLanguageParser.g:2474:45: (iv_ruleCall= ruleCall EOF ) + // InternalSolverLanguageParser.g:2475:2: iv_ruleCall= ruleCall EOF { newCompositeNode(grammarAccess.getCallRule()); pushFollow(FOLLOW_1); @@ -4530,7 +6166,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleCall" - // InternalSolverLanguageParser.g:1782:1: ruleCall returns [EObject current=null] : ( ( (lv_functor_0_0= ruleReference ) ) ( ( (lv_transitiveClosure_1_0= RULE_TRANSITIVE_CLOSURE ) ) | ( (lv_reflexiveTransitiveClosure_2_0= RULE_REFLEXIVE_TRANSITIVE_CLOSURE ) ) )? ( (lv_argumentList_3_0= ruleArgumentList ) ) ) ; + // InternalSolverLanguageParser.g:2481:1: ruleCall returns [EObject current=null] : ( ( (lv_functor_0_0= ruleReference ) ) ( ( (lv_transitiveClosure_1_0= RULE_TRANSITIVE_CLOSURE ) ) | ( (lv_reflexiveTransitiveClosure_2_0= RULE_REFLEXIVE_TRANSITIVE_CLOSURE ) ) )? ( (lv_argumentList_3_0= ruleArgumentList ) ) ) ; public final EObject ruleCall() throws RecognitionException { EObject current = null; @@ -4545,22 +6181,22 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { enterRule(); try { - // InternalSolverLanguageParser.g:1788:2: ( ( ( (lv_functor_0_0= ruleReference ) ) ( ( (lv_transitiveClosure_1_0= RULE_TRANSITIVE_CLOSURE ) ) | ( (lv_reflexiveTransitiveClosure_2_0= RULE_REFLEXIVE_TRANSITIVE_CLOSURE ) ) )? ( (lv_argumentList_3_0= ruleArgumentList ) ) ) ) - // InternalSolverLanguageParser.g:1789:2: ( ( (lv_functor_0_0= ruleReference ) ) ( ( (lv_transitiveClosure_1_0= RULE_TRANSITIVE_CLOSURE ) ) | ( (lv_reflexiveTransitiveClosure_2_0= RULE_REFLEXIVE_TRANSITIVE_CLOSURE ) ) )? ( (lv_argumentList_3_0= ruleArgumentList ) ) ) + // InternalSolverLanguageParser.g:2487:2: ( ( ( (lv_functor_0_0= ruleReference ) ) ( ( (lv_transitiveClosure_1_0= RULE_TRANSITIVE_CLOSURE ) ) | ( (lv_reflexiveTransitiveClosure_2_0= RULE_REFLEXIVE_TRANSITIVE_CLOSURE ) ) )? ( (lv_argumentList_3_0= ruleArgumentList ) ) ) ) + // InternalSolverLanguageParser.g:2488:2: ( ( (lv_functor_0_0= ruleReference ) ) ( ( (lv_transitiveClosure_1_0= RULE_TRANSITIVE_CLOSURE ) ) | ( (lv_reflexiveTransitiveClosure_2_0= RULE_REFLEXIVE_TRANSITIVE_CLOSURE ) ) )? ( (lv_argumentList_3_0= ruleArgumentList ) ) ) { - // InternalSolverLanguageParser.g:1789:2: ( ( (lv_functor_0_0= ruleReference ) ) ( ( (lv_transitiveClosure_1_0= RULE_TRANSITIVE_CLOSURE ) ) | ( (lv_reflexiveTransitiveClosure_2_0= RULE_REFLEXIVE_TRANSITIVE_CLOSURE ) ) )? ( (lv_argumentList_3_0= ruleArgumentList ) ) ) - // InternalSolverLanguageParser.g:1790:3: ( (lv_functor_0_0= ruleReference ) ) ( ( (lv_transitiveClosure_1_0= RULE_TRANSITIVE_CLOSURE ) ) | ( (lv_reflexiveTransitiveClosure_2_0= RULE_REFLEXIVE_TRANSITIVE_CLOSURE ) ) )? ( (lv_argumentList_3_0= ruleArgumentList ) ) + // InternalSolverLanguageParser.g:2488:2: ( ( (lv_functor_0_0= ruleReference ) ) ( ( (lv_transitiveClosure_1_0= RULE_TRANSITIVE_CLOSURE ) ) | ( (lv_reflexiveTransitiveClosure_2_0= RULE_REFLEXIVE_TRANSITIVE_CLOSURE ) ) )? ( (lv_argumentList_3_0= ruleArgumentList ) ) ) + // InternalSolverLanguageParser.g:2489:3: ( (lv_functor_0_0= ruleReference ) ) ( ( (lv_transitiveClosure_1_0= RULE_TRANSITIVE_CLOSURE ) ) | ( (lv_reflexiveTransitiveClosure_2_0= RULE_REFLEXIVE_TRANSITIVE_CLOSURE ) ) )? ( (lv_argumentList_3_0= ruleArgumentList ) ) { - // InternalSolverLanguageParser.g:1790:3: ( (lv_functor_0_0= ruleReference ) ) - // InternalSolverLanguageParser.g:1791:4: (lv_functor_0_0= ruleReference ) + // InternalSolverLanguageParser.g:2489:3: ( (lv_functor_0_0= ruleReference ) ) + // InternalSolverLanguageParser.g:2490:4: (lv_functor_0_0= ruleReference ) { - // InternalSolverLanguageParser.g:1791:4: (lv_functor_0_0= ruleReference ) - // InternalSolverLanguageParser.g:1792:5: lv_functor_0_0= ruleReference + // InternalSolverLanguageParser.g:2490:4: (lv_functor_0_0= ruleReference ) + // InternalSolverLanguageParser.g:2491:5: lv_functor_0_0= ruleReference { newCompositeNode(grammarAccess.getCallAccess().getFunctorReferenceParserRuleCall_0_0()); - pushFollow(FOLLOW_30); + pushFollow(FOLLOW_39); lv_functor_0_0=ruleReference(); state._fsp--; @@ -4582,25 +6218,25 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } - // InternalSolverLanguageParser.g:1809:3: ( ( (lv_transitiveClosure_1_0= RULE_TRANSITIVE_CLOSURE ) ) | ( (lv_reflexiveTransitiveClosure_2_0= RULE_REFLEXIVE_TRANSITIVE_CLOSURE ) ) )? - int alt21=3; - int LA21_0 = input.LA(1); + // InternalSolverLanguageParser.g:2508:3: ( ( (lv_transitiveClosure_1_0= RULE_TRANSITIVE_CLOSURE ) ) | ( (lv_reflexiveTransitiveClosure_2_0= RULE_REFLEXIVE_TRANSITIVE_CLOSURE ) ) )? + int alt30=3; + int LA30_0 = input.LA(1); - if ( (LA21_0==RULE_TRANSITIVE_CLOSURE) ) { - alt21=1; + if ( (LA30_0==RULE_TRANSITIVE_CLOSURE) ) { + alt30=1; } - else if ( (LA21_0==RULE_REFLEXIVE_TRANSITIVE_CLOSURE) ) { - alt21=2; + else if ( (LA30_0==RULE_REFLEXIVE_TRANSITIVE_CLOSURE) ) { + alt30=2; } - switch (alt21) { + switch (alt30) { case 1 : - // InternalSolverLanguageParser.g:1810:4: ( (lv_transitiveClosure_1_0= RULE_TRANSITIVE_CLOSURE ) ) + // InternalSolverLanguageParser.g:2509:4: ( (lv_transitiveClosure_1_0= RULE_TRANSITIVE_CLOSURE ) ) { - // InternalSolverLanguageParser.g:1810:4: ( (lv_transitiveClosure_1_0= RULE_TRANSITIVE_CLOSURE ) ) - // InternalSolverLanguageParser.g:1811:5: (lv_transitiveClosure_1_0= RULE_TRANSITIVE_CLOSURE ) + // InternalSolverLanguageParser.g:2509:4: ( (lv_transitiveClosure_1_0= RULE_TRANSITIVE_CLOSURE ) ) + // InternalSolverLanguageParser.g:2510:5: (lv_transitiveClosure_1_0= RULE_TRANSITIVE_CLOSURE ) { - // InternalSolverLanguageParser.g:1811:5: (lv_transitiveClosure_1_0= RULE_TRANSITIVE_CLOSURE ) - // InternalSolverLanguageParser.g:1812:6: lv_transitiveClosure_1_0= RULE_TRANSITIVE_CLOSURE + // InternalSolverLanguageParser.g:2510:5: (lv_transitiveClosure_1_0= RULE_TRANSITIVE_CLOSURE ) + // InternalSolverLanguageParser.g:2511:6: lv_transitiveClosure_1_0= RULE_TRANSITIVE_CLOSURE { lv_transitiveClosure_1_0=(Token)match(input,RULE_TRANSITIVE_CLOSURE,FOLLOW_11); @@ -4626,13 +6262,13 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } break; case 2 : - // InternalSolverLanguageParser.g:1829:4: ( (lv_reflexiveTransitiveClosure_2_0= RULE_REFLEXIVE_TRANSITIVE_CLOSURE ) ) + // InternalSolverLanguageParser.g:2528:4: ( (lv_reflexiveTransitiveClosure_2_0= RULE_REFLEXIVE_TRANSITIVE_CLOSURE ) ) { - // InternalSolverLanguageParser.g:1829:4: ( (lv_reflexiveTransitiveClosure_2_0= RULE_REFLEXIVE_TRANSITIVE_CLOSURE ) ) - // InternalSolverLanguageParser.g:1830:5: (lv_reflexiveTransitiveClosure_2_0= RULE_REFLEXIVE_TRANSITIVE_CLOSURE ) + // InternalSolverLanguageParser.g:2528:4: ( (lv_reflexiveTransitiveClosure_2_0= RULE_REFLEXIVE_TRANSITIVE_CLOSURE ) ) + // InternalSolverLanguageParser.g:2529:5: (lv_reflexiveTransitiveClosure_2_0= RULE_REFLEXIVE_TRANSITIVE_CLOSURE ) { - // InternalSolverLanguageParser.g:1830:5: (lv_reflexiveTransitiveClosure_2_0= RULE_REFLEXIVE_TRANSITIVE_CLOSURE ) - // InternalSolverLanguageParser.g:1831:6: lv_reflexiveTransitiveClosure_2_0= RULE_REFLEXIVE_TRANSITIVE_CLOSURE + // InternalSolverLanguageParser.g:2529:5: (lv_reflexiveTransitiveClosure_2_0= RULE_REFLEXIVE_TRANSITIVE_CLOSURE ) + // InternalSolverLanguageParser.g:2530:6: lv_reflexiveTransitiveClosure_2_0= RULE_REFLEXIVE_TRANSITIVE_CLOSURE { lv_reflexiveTransitiveClosure_2_0=(Token)match(input,RULE_REFLEXIVE_TRANSITIVE_CLOSURE,FOLLOW_11); @@ -4660,11 +6296,11 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } - // InternalSolverLanguageParser.g:1848:3: ( (lv_argumentList_3_0= ruleArgumentList ) ) - // InternalSolverLanguageParser.g:1849:4: (lv_argumentList_3_0= ruleArgumentList ) + // InternalSolverLanguageParser.g:2547:3: ( (lv_argumentList_3_0= ruleArgumentList ) ) + // InternalSolverLanguageParser.g:2548:4: (lv_argumentList_3_0= ruleArgumentList ) { - // InternalSolverLanguageParser.g:1849:4: (lv_argumentList_3_0= ruleArgumentList ) - // InternalSolverLanguageParser.g:1850:5: lv_argumentList_3_0= ruleArgumentList + // InternalSolverLanguageParser.g:2548:4: (lv_argumentList_3_0= ruleArgumentList ) + // InternalSolverLanguageParser.g:2549:5: lv_argumentList_3_0= ruleArgumentList { newCompositeNode(grammarAccess.getCallAccess().getArgumentListArgumentListParserRuleCall_2_0()); @@ -4714,7 +6350,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleArgumentList" - // InternalSolverLanguageParser.g:1871:1: entryRuleArgumentList returns [EObject current=null] : iv_ruleArgumentList= ruleArgumentList EOF ; + // InternalSolverLanguageParser.g:2570:1: entryRuleArgumentList returns [EObject current=null] : iv_ruleArgumentList= ruleArgumentList EOF ; public final EObject entryRuleArgumentList() throws RecognitionException { EObject current = null; @@ -4722,8 +6358,8 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { try { - // InternalSolverLanguageParser.g:1871:53: (iv_ruleArgumentList= ruleArgumentList EOF ) - // InternalSolverLanguageParser.g:1872:2: iv_ruleArgumentList= ruleArgumentList EOF + // InternalSolverLanguageParser.g:2570:53: (iv_ruleArgumentList= ruleArgumentList EOF ) + // InternalSolverLanguageParser.g:2571:2: iv_ruleArgumentList= ruleArgumentList EOF { newCompositeNode(grammarAccess.getArgumentListRule()); pushFollow(FOLLOW_1); @@ -4750,7 +6386,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleArgumentList" - // InternalSolverLanguageParser.g:1878:1: ruleArgumentList returns [EObject current=null] : ( () otherlv_1= LeftParenthesis ( ( (lv_arguments_2_0= ruleArgument ) ) (otherlv_3= Comma ( (lv_arguments_4_0= ruleArgument ) ) )* )? otherlv_5= RightParenthesis ) ; + // InternalSolverLanguageParser.g:2577:1: ruleArgumentList returns [EObject current=null] : ( () otherlv_1= LeftParenthesis ( ( (lv_arguments_2_0= ruleArgument ) ) (otherlv_3= Comma ( (lv_arguments_4_0= ruleArgument ) ) )* )? otherlv_5= RightParenthesis ) ; public final EObject ruleArgumentList() throws RecognitionException { EObject current = null; @@ -4766,14 +6402,14 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { enterRule(); try { - // InternalSolverLanguageParser.g:1884:2: ( ( () otherlv_1= LeftParenthesis ( ( (lv_arguments_2_0= ruleArgument ) ) (otherlv_3= Comma ( (lv_arguments_4_0= ruleArgument ) ) )* )? otherlv_5= RightParenthesis ) ) - // InternalSolverLanguageParser.g:1885:2: ( () otherlv_1= LeftParenthesis ( ( (lv_arguments_2_0= ruleArgument ) ) (otherlv_3= Comma ( (lv_arguments_4_0= ruleArgument ) ) )* )? otherlv_5= RightParenthesis ) + // InternalSolverLanguageParser.g:2583:2: ( ( () otherlv_1= LeftParenthesis ( ( (lv_arguments_2_0= ruleArgument ) ) (otherlv_3= Comma ( (lv_arguments_4_0= ruleArgument ) ) )* )? otherlv_5= RightParenthesis ) ) + // InternalSolverLanguageParser.g:2584:2: ( () otherlv_1= LeftParenthesis ( ( (lv_arguments_2_0= ruleArgument ) ) (otherlv_3= Comma ( (lv_arguments_4_0= ruleArgument ) ) )* )? otherlv_5= RightParenthesis ) { - // InternalSolverLanguageParser.g:1885:2: ( () otherlv_1= LeftParenthesis ( ( (lv_arguments_2_0= ruleArgument ) ) (otherlv_3= Comma ( (lv_arguments_4_0= ruleArgument ) ) )* )? otherlv_5= RightParenthesis ) - // InternalSolverLanguageParser.g:1886:3: () otherlv_1= LeftParenthesis ( ( (lv_arguments_2_0= ruleArgument ) ) (otherlv_3= Comma ( (lv_arguments_4_0= ruleArgument ) ) )* )? otherlv_5= RightParenthesis + // InternalSolverLanguageParser.g:2584:2: ( () otherlv_1= LeftParenthesis ( ( (lv_arguments_2_0= ruleArgument ) ) (otherlv_3= Comma ( (lv_arguments_4_0= ruleArgument ) ) )* )? otherlv_5= RightParenthesis ) + // InternalSolverLanguageParser.g:2585:3: () otherlv_1= LeftParenthesis ( ( (lv_arguments_2_0= ruleArgument ) ) (otherlv_3= Comma ( (lv_arguments_4_0= ruleArgument ) ) )* )? otherlv_5= RightParenthesis { - // InternalSolverLanguageParser.g:1886:3: () - // InternalSolverLanguageParser.g:1887:4: + // InternalSolverLanguageParser.g:2585:3: () + // InternalSolverLanguageParser.g:2586:4: { current = forceCreateModelElement( @@ -4783,31 +6419,31 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } - otherlv_1=(Token)match(input,LeftParenthesis,FOLLOW_31); + otherlv_1=(Token)match(input,LeftParenthesis,FOLLOW_40); newLeafNode(otherlv_1, grammarAccess.getArgumentListAccess().getLeftParenthesisKeyword_1()); - // InternalSolverLanguageParser.g:1897:3: ( ( (lv_arguments_2_0= ruleArgument ) ) (otherlv_3= Comma ( (lv_arguments_4_0= ruleArgument ) ) )* )? - int alt23=2; - int LA23_0 = input.LA(1); + // InternalSolverLanguageParser.g:2596:3: ( ( (lv_arguments_2_0= ruleArgument ) ) (otherlv_3= Comma ( (lv_arguments_4_0= ruleArgument ) ) )* )? + int alt32=2; + int LA32_0 = input.LA(1); - if ( (LA23_0==Current||LA23_0==Unknown||(LA23_0>=Count && LA23_0<=False)||(LA23_0>=Must && LA23_0<=Prod)||LA23_0==True||(LA23_0>=Avg && LA23_0<=Inf)||(LA23_0>=Max && LA23_0<=Sum)||(LA23_0>=ExclamationMark && LA23_0<=LeftParenthesis)||(LA23_0>=Asterisk && LA23_0<=PlusSign)||LA23_0==HyphenMinus||LA23_0==LeftSquareBracket||(LA23_0>=RULE_STRING && LA23_0<=RULE_QUOTED_ID)||(LA23_0>=RULE_ID && LA23_0<=RULE_INT)) ) { - alt23=1; + if ( (LA32_0==Current||(LA32_0>=Unknown && LA32_0<=Exists)||LA32_0==Forall||(LA32_0>=Count && LA32_0<=False)||LA32_0==Must||LA32_0==True||LA32_0==Inf||LA32_0==May||(LA32_0>=ExclamationMark && LA32_0<=LeftParenthesis)||(LA32_0>=Asterisk && LA32_0<=PlusSign)||LA32_0==HyphenMinus||LA32_0==LeftSquareBracket||(LA32_0>=RULE_STRING && LA32_0<=RULE_QUOTED_ID)||(LA32_0>=RULE_ID && LA32_0<=RULE_INT)) ) { + alt32=1; } - switch (alt23) { + switch (alt32) { case 1 : - // InternalSolverLanguageParser.g:1898:4: ( (lv_arguments_2_0= ruleArgument ) ) (otherlv_3= Comma ( (lv_arguments_4_0= ruleArgument ) ) )* + // InternalSolverLanguageParser.g:2597:4: ( (lv_arguments_2_0= ruleArgument ) ) (otherlv_3= Comma ( (lv_arguments_4_0= ruleArgument ) ) )* { - // InternalSolverLanguageParser.g:1898:4: ( (lv_arguments_2_0= ruleArgument ) ) - // InternalSolverLanguageParser.g:1899:5: (lv_arguments_2_0= ruleArgument ) + // InternalSolverLanguageParser.g:2597:4: ( (lv_arguments_2_0= ruleArgument ) ) + // InternalSolverLanguageParser.g:2598:5: (lv_arguments_2_0= ruleArgument ) { - // InternalSolverLanguageParser.g:1899:5: (lv_arguments_2_0= ruleArgument ) - // InternalSolverLanguageParser.g:1900:6: lv_arguments_2_0= ruleArgument + // InternalSolverLanguageParser.g:2598:5: (lv_arguments_2_0= ruleArgument ) + // InternalSolverLanguageParser.g:2599:6: lv_arguments_2_0= ruleArgument { newCompositeNode(grammarAccess.getArgumentListAccess().getArgumentsArgumentParserRuleCall_2_0_0()); - pushFollow(FOLLOW_32); + pushFollow(FOLLOW_41); lv_arguments_2_0=ruleArgument(); state._fsp--; @@ -4829,35 +6465,35 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } - // InternalSolverLanguageParser.g:1917:4: (otherlv_3= Comma ( (lv_arguments_4_0= ruleArgument ) ) )* - loop22: + // InternalSolverLanguageParser.g:2616:4: (otherlv_3= Comma ( (lv_arguments_4_0= ruleArgument ) ) )* + loop31: do { - int alt22=2; - int LA22_0 = input.LA(1); + int alt31=2; + int LA31_0 = input.LA(1); - if ( (LA22_0==Comma) ) { - alt22=1; + if ( (LA31_0==Comma) ) { + alt31=1; } - switch (alt22) { + switch (alt31) { case 1 : - // InternalSolverLanguageParser.g:1918:5: otherlv_3= Comma ( (lv_arguments_4_0= ruleArgument ) ) + // InternalSolverLanguageParser.g:2617:5: otherlv_3= Comma ( (lv_arguments_4_0= ruleArgument ) ) { - otherlv_3=(Token)match(input,Comma,FOLLOW_33); + otherlv_3=(Token)match(input,Comma,FOLLOW_42); newLeafNode(otherlv_3, grammarAccess.getArgumentListAccess().getCommaKeyword_2_1_0()); - // InternalSolverLanguageParser.g:1922:5: ( (lv_arguments_4_0= ruleArgument ) ) - // InternalSolverLanguageParser.g:1923:6: (lv_arguments_4_0= ruleArgument ) + // InternalSolverLanguageParser.g:2621:5: ( (lv_arguments_4_0= ruleArgument ) ) + // InternalSolverLanguageParser.g:2622:6: (lv_arguments_4_0= ruleArgument ) { - // InternalSolverLanguageParser.g:1923:6: (lv_arguments_4_0= ruleArgument ) - // InternalSolverLanguageParser.g:1924:7: lv_arguments_4_0= ruleArgument + // InternalSolverLanguageParser.g:2622:6: (lv_arguments_4_0= ruleArgument ) + // InternalSolverLanguageParser.g:2623:7: lv_arguments_4_0= ruleArgument { newCompositeNode(grammarAccess.getArgumentListAccess().getArgumentsArgumentParserRuleCall_2_1_1_0()); - pushFollow(FOLLOW_32); + pushFollow(FOLLOW_41); lv_arguments_4_0=ruleArgument(); state._fsp--; @@ -4884,7 +6520,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { break; default : - break loop22; + break loop31; } } while (true); @@ -4921,7 +6557,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleArgument" - // InternalSolverLanguageParser.g:1951:1: entryRuleArgument returns [EObject current=null] : iv_ruleArgument= ruleArgument EOF ; + // InternalSolverLanguageParser.g:2650:1: entryRuleArgument returns [EObject current=null] : iv_ruleArgument= ruleArgument EOF ; public final EObject entryRuleArgument() throws RecognitionException { EObject current = null; @@ -4929,8 +6565,8 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { try { - // InternalSolverLanguageParser.g:1951:49: (iv_ruleArgument= ruleArgument EOF ) - // InternalSolverLanguageParser.g:1952:2: iv_ruleArgument= ruleArgument EOF + // InternalSolverLanguageParser.g:2650:49: (iv_ruleArgument= ruleArgument EOF ) + // InternalSolverLanguageParser.g:2651:2: iv_ruleArgument= ruleArgument EOF { newCompositeNode(grammarAccess.getArgumentRule()); pushFollow(FOLLOW_1); @@ -4957,7 +6593,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleArgument" - // InternalSolverLanguageParser.g:1958:1: ruleArgument returns [EObject current=null] : (this_ExpressionArgument_0= ruleExpressionArgument | this_StarArgument_1= ruleStarArgument | this_TypedArgument_2= ruleTypedArgument | this_TypedStarArgument_3= ruleTypedStarArgument ) ; + // InternalSolverLanguageParser.g:2657:1: ruleArgument returns [EObject current=null] : (this_ExpressionArgument_0= ruleExpressionArgument | this_StarArgument_1= ruleStarArgument | this_TypedArgument_2= ruleTypedArgument | this_TypedStarArgument_3= ruleTypedStarArgument ) ; public final EObject ruleArgument() throws RecognitionException { EObject current = null; @@ -4974,15 +6610,15 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { enterRule(); try { - // InternalSolverLanguageParser.g:1964:2: ( (this_ExpressionArgument_0= ruleExpressionArgument | this_StarArgument_1= ruleStarArgument | this_TypedArgument_2= ruleTypedArgument | this_TypedStarArgument_3= ruleTypedStarArgument ) ) - // InternalSolverLanguageParser.g:1965:2: (this_ExpressionArgument_0= ruleExpressionArgument | this_StarArgument_1= ruleStarArgument | this_TypedArgument_2= ruleTypedArgument | this_TypedStarArgument_3= ruleTypedStarArgument ) + // InternalSolverLanguageParser.g:2663:2: ( (this_ExpressionArgument_0= ruleExpressionArgument | this_StarArgument_1= ruleStarArgument | this_TypedArgument_2= ruleTypedArgument | this_TypedStarArgument_3= ruleTypedStarArgument ) ) + // InternalSolverLanguageParser.g:2664:2: (this_ExpressionArgument_0= ruleExpressionArgument | this_StarArgument_1= ruleStarArgument | this_TypedArgument_2= ruleTypedArgument | this_TypedStarArgument_3= ruleTypedStarArgument ) { - // InternalSolverLanguageParser.g:1965:2: (this_ExpressionArgument_0= ruleExpressionArgument | this_StarArgument_1= ruleStarArgument | this_TypedArgument_2= ruleTypedArgument | this_TypedStarArgument_3= ruleTypedStarArgument ) - int alt24=4; - alt24 = dfa24.predict(input); - switch (alt24) { + // InternalSolverLanguageParser.g:2664:2: (this_ExpressionArgument_0= ruleExpressionArgument | this_StarArgument_1= ruleStarArgument | this_TypedArgument_2= ruleTypedArgument | this_TypedStarArgument_3= ruleTypedStarArgument ) + int alt33=4; + alt33 = dfa33.predict(input); + switch (alt33) { case 1 : - // InternalSolverLanguageParser.g:1966:3: this_ExpressionArgument_0= ruleExpressionArgument + // InternalSolverLanguageParser.g:2665:3: this_ExpressionArgument_0= ruleExpressionArgument { newCompositeNode(grammarAccess.getArgumentAccess().getExpressionArgumentParserRuleCall_0()); @@ -5000,7 +6636,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } break; case 2 : - // InternalSolverLanguageParser.g:1975:3: this_StarArgument_1= ruleStarArgument + // InternalSolverLanguageParser.g:2674:3: this_StarArgument_1= ruleStarArgument { newCompositeNode(grammarAccess.getArgumentAccess().getStarArgumentParserRuleCall_1()); @@ -5018,7 +6654,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } break; case 3 : - // InternalSolverLanguageParser.g:1984:3: this_TypedArgument_2= ruleTypedArgument + // InternalSolverLanguageParser.g:2683:3: this_TypedArgument_2= ruleTypedArgument { newCompositeNode(grammarAccess.getArgumentAccess().getTypedArgumentParserRuleCall_2()); @@ -5036,7 +6672,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } break; case 4 : - // InternalSolverLanguageParser.g:1993:3: this_TypedStarArgument_3= ruleTypedStarArgument + // InternalSolverLanguageParser.g:2692:3: this_TypedStarArgument_3= ruleTypedStarArgument { newCompositeNode(grammarAccess.getArgumentAccess().getTypedStarArgumentParserRuleCall_3()); @@ -5076,7 +6712,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleExpressionArgument" - // InternalSolverLanguageParser.g:2005:1: entryRuleExpressionArgument returns [EObject current=null] : iv_ruleExpressionArgument= ruleExpressionArgument EOF ; + // InternalSolverLanguageParser.g:2704:1: entryRuleExpressionArgument returns [EObject current=null] : iv_ruleExpressionArgument= ruleExpressionArgument EOF ; public final EObject entryRuleExpressionArgument() throws RecognitionException { EObject current = null; @@ -5084,8 +6720,8 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { try { - // InternalSolverLanguageParser.g:2005:59: (iv_ruleExpressionArgument= ruleExpressionArgument EOF ) - // InternalSolverLanguageParser.g:2006:2: iv_ruleExpressionArgument= ruleExpressionArgument EOF + // InternalSolverLanguageParser.g:2704:59: (iv_ruleExpressionArgument= ruleExpressionArgument EOF ) + // InternalSolverLanguageParser.g:2705:2: iv_ruleExpressionArgument= ruleExpressionArgument EOF { newCompositeNode(grammarAccess.getExpressionArgumentRule()); pushFollow(FOLLOW_1); @@ -5112,7 +6748,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleExpressionArgument" - // InternalSolverLanguageParser.g:2012:1: ruleExpressionArgument returns [EObject current=null] : ( (lv_body_0_0= ruleComparisonExpression ) ) ; + // InternalSolverLanguageParser.g:2711:1: ruleExpressionArgument returns [EObject current=null] : ( (lv_body_0_0= ruleComparisonExpression ) ) ; public final EObject ruleExpressionArgument() throws RecognitionException { EObject current = null; @@ -5123,14 +6759,14 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { enterRule(); try { - // InternalSolverLanguageParser.g:2018:2: ( ( (lv_body_0_0= ruleComparisonExpression ) ) ) - // InternalSolverLanguageParser.g:2019:2: ( (lv_body_0_0= ruleComparisonExpression ) ) + // InternalSolverLanguageParser.g:2717:2: ( ( (lv_body_0_0= ruleComparisonExpression ) ) ) + // InternalSolverLanguageParser.g:2718:2: ( (lv_body_0_0= ruleComparisonExpression ) ) { - // InternalSolverLanguageParser.g:2019:2: ( (lv_body_0_0= ruleComparisonExpression ) ) - // InternalSolverLanguageParser.g:2020:3: (lv_body_0_0= ruleComparisonExpression ) + // InternalSolverLanguageParser.g:2718:2: ( (lv_body_0_0= ruleComparisonExpression ) ) + // InternalSolverLanguageParser.g:2719:3: (lv_body_0_0= ruleComparisonExpression ) { - // InternalSolverLanguageParser.g:2020:3: (lv_body_0_0= ruleComparisonExpression ) - // InternalSolverLanguageParser.g:2021:4: lv_body_0_0= ruleComparisonExpression + // InternalSolverLanguageParser.g:2719:3: (lv_body_0_0= ruleComparisonExpression ) + // InternalSolverLanguageParser.g:2720:4: lv_body_0_0= ruleComparisonExpression { newCompositeNode(grammarAccess.getExpressionArgumentAccess().getBodyComparisonExpressionParserRuleCall_0()); @@ -5177,7 +6813,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleStarArgument" - // InternalSolverLanguageParser.g:2041:1: entryRuleStarArgument returns [EObject current=null] : iv_ruleStarArgument= ruleStarArgument EOF ; + // InternalSolverLanguageParser.g:2740:1: entryRuleStarArgument returns [EObject current=null] : iv_ruleStarArgument= ruleStarArgument EOF ; public final EObject entryRuleStarArgument() throws RecognitionException { EObject current = null; @@ -5185,8 +6821,8 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { try { - // InternalSolverLanguageParser.g:2041:53: (iv_ruleStarArgument= ruleStarArgument EOF ) - // InternalSolverLanguageParser.g:2042:2: iv_ruleStarArgument= ruleStarArgument EOF + // InternalSolverLanguageParser.g:2740:53: (iv_ruleStarArgument= ruleStarArgument EOF ) + // InternalSolverLanguageParser.g:2741:2: iv_ruleStarArgument= ruleStarArgument EOF { newCompositeNode(grammarAccess.getStarArgumentRule()); pushFollow(FOLLOW_1); @@ -5213,7 +6849,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleStarArgument" - // InternalSolverLanguageParser.g:2048:1: ruleStarArgument returns [EObject current=null] : ( () otherlv_1= Asterisk ) ; + // InternalSolverLanguageParser.g:2747:1: ruleStarArgument returns [EObject current=null] : ( () otherlv_1= Asterisk ) ; public final EObject ruleStarArgument() throws RecognitionException { EObject current = null; @@ -5223,14 +6859,14 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { enterRule(); try { - // InternalSolverLanguageParser.g:2054:2: ( ( () otherlv_1= Asterisk ) ) - // InternalSolverLanguageParser.g:2055:2: ( () otherlv_1= Asterisk ) + // InternalSolverLanguageParser.g:2753:2: ( ( () otherlv_1= Asterisk ) ) + // InternalSolverLanguageParser.g:2754:2: ( () otherlv_1= Asterisk ) { - // InternalSolverLanguageParser.g:2055:2: ( () otherlv_1= Asterisk ) - // InternalSolverLanguageParser.g:2056:3: () otherlv_1= Asterisk + // InternalSolverLanguageParser.g:2754:2: ( () otherlv_1= Asterisk ) + // InternalSolverLanguageParser.g:2755:3: () otherlv_1= Asterisk { - // InternalSolverLanguageParser.g:2056:3: () - // InternalSolverLanguageParser.g:2057:4: + // InternalSolverLanguageParser.g:2755:3: () + // InternalSolverLanguageParser.g:2756:4: { current = forceCreateModelElement( @@ -5267,7 +6903,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleTypedArgument" - // InternalSolverLanguageParser.g:2071:1: entryRuleTypedArgument returns [EObject current=null] : iv_ruleTypedArgument= ruleTypedArgument EOF ; + // InternalSolverLanguageParser.g:2770:1: entryRuleTypedArgument returns [EObject current=null] : iv_ruleTypedArgument= ruleTypedArgument EOF ; public final EObject entryRuleTypedArgument() throws RecognitionException { EObject current = null; @@ -5275,8 +6911,8 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { try { - // InternalSolverLanguageParser.g:2071:54: (iv_ruleTypedArgument= ruleTypedArgument EOF ) - // InternalSolverLanguageParser.g:2072:2: iv_ruleTypedArgument= ruleTypedArgument EOF + // InternalSolverLanguageParser.g:2770:54: (iv_ruleTypedArgument= ruleTypedArgument EOF ) + // InternalSolverLanguageParser.g:2771:2: iv_ruleTypedArgument= ruleTypedArgument EOF { newCompositeNode(grammarAccess.getTypedArgumentRule()); pushFollow(FOLLOW_1); @@ -5303,7 +6939,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleTypedArgument" - // InternalSolverLanguageParser.g:2078:1: ruleTypedArgument returns [EObject current=null] : ( ( ( ruleQualifiedName ) ) ( ( ruleQualifiedName ) ) ) ; + // InternalSolverLanguageParser.g:2777:1: ruleTypedArgument returns [EObject current=null] : ( ( ( ruleQualifiedName ) ) ( ( ruleQualifiedName ) ) ) ; public final EObject ruleTypedArgument() throws RecognitionException { EObject current = null; @@ -5311,17 +6947,17 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { enterRule(); try { - // InternalSolverLanguageParser.g:2084:2: ( ( ( ( ruleQualifiedName ) ) ( ( ruleQualifiedName ) ) ) ) - // InternalSolverLanguageParser.g:2085:2: ( ( ( ruleQualifiedName ) ) ( ( ruleQualifiedName ) ) ) + // InternalSolverLanguageParser.g:2783:2: ( ( ( ( ruleQualifiedName ) ) ( ( ruleQualifiedName ) ) ) ) + // InternalSolverLanguageParser.g:2784:2: ( ( ( ruleQualifiedName ) ) ( ( ruleQualifiedName ) ) ) { - // InternalSolverLanguageParser.g:2085:2: ( ( ( ruleQualifiedName ) ) ( ( ruleQualifiedName ) ) ) - // InternalSolverLanguageParser.g:2086:3: ( ( ruleQualifiedName ) ) ( ( ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:2784:2: ( ( ( ruleQualifiedName ) ) ( ( ruleQualifiedName ) ) ) + // InternalSolverLanguageParser.g:2785:3: ( ( ruleQualifiedName ) ) ( ( ruleQualifiedName ) ) { - // InternalSolverLanguageParser.g:2086:3: ( ( ruleQualifiedName ) ) - // InternalSolverLanguageParser.g:2087:4: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:2785:3: ( ( ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:2786:4: ( ruleQualifiedName ) { - // InternalSolverLanguageParser.g:2087:4: ( ruleQualifiedName ) - // InternalSolverLanguageParser.g:2088:5: ruleQualifiedName + // InternalSolverLanguageParser.g:2786:4: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:2787:5: ruleQualifiedName { if (current==null) { @@ -5345,11 +6981,11 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } - // InternalSolverLanguageParser.g:2102:3: ( ( ruleQualifiedName ) ) - // InternalSolverLanguageParser.g:2103:4: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:2801:3: ( ( ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:2802:4: ( ruleQualifiedName ) { - // InternalSolverLanguageParser.g:2103:4: ( ruleQualifiedName ) - // InternalSolverLanguageParser.g:2104:5: ruleQualifiedName + // InternalSolverLanguageParser.g:2802:4: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:2803:5: ruleQualifiedName { if (current==null) { @@ -5396,7 +7032,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleTypedStarArgument" - // InternalSolverLanguageParser.g:2122:1: entryRuleTypedStarArgument returns [EObject current=null] : iv_ruleTypedStarArgument= ruleTypedStarArgument EOF ; + // InternalSolverLanguageParser.g:2821:1: entryRuleTypedStarArgument returns [EObject current=null] : iv_ruleTypedStarArgument= ruleTypedStarArgument EOF ; public final EObject entryRuleTypedStarArgument() throws RecognitionException { EObject current = null; @@ -5404,8 +7040,8 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { try { - // InternalSolverLanguageParser.g:2122:58: (iv_ruleTypedStarArgument= ruleTypedStarArgument EOF ) - // InternalSolverLanguageParser.g:2123:2: iv_ruleTypedStarArgument= ruleTypedStarArgument EOF + // InternalSolverLanguageParser.g:2821:58: (iv_ruleTypedStarArgument= ruleTypedStarArgument EOF ) + // InternalSolverLanguageParser.g:2822:2: iv_ruleTypedStarArgument= ruleTypedStarArgument EOF { newCompositeNode(grammarAccess.getTypedStarArgumentRule()); pushFollow(FOLLOW_1); @@ -5432,7 +7068,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleTypedStarArgument" - // InternalSolverLanguageParser.g:2129:1: ruleTypedStarArgument returns [EObject current=null] : ( ( ( ruleQualifiedName ) ) otherlv_1= Asterisk ) ; + // InternalSolverLanguageParser.g:2828:1: ruleTypedStarArgument returns [EObject current=null] : ( ( ( ruleQualifiedName ) ) otherlv_1= Asterisk ) ; public final EObject ruleTypedStarArgument() throws RecognitionException { EObject current = null; @@ -5442,17 +7078,17 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { enterRule(); try { - // InternalSolverLanguageParser.g:2135:2: ( ( ( ( ruleQualifiedName ) ) otherlv_1= Asterisk ) ) - // InternalSolverLanguageParser.g:2136:2: ( ( ( ruleQualifiedName ) ) otherlv_1= Asterisk ) + // InternalSolverLanguageParser.g:2834:2: ( ( ( ( ruleQualifiedName ) ) otherlv_1= Asterisk ) ) + // InternalSolverLanguageParser.g:2835:2: ( ( ( ruleQualifiedName ) ) otherlv_1= Asterisk ) { - // InternalSolverLanguageParser.g:2136:2: ( ( ( ruleQualifiedName ) ) otherlv_1= Asterisk ) - // InternalSolverLanguageParser.g:2137:3: ( ( ruleQualifiedName ) ) otherlv_1= Asterisk + // InternalSolverLanguageParser.g:2835:2: ( ( ( ruleQualifiedName ) ) otherlv_1= Asterisk ) + // InternalSolverLanguageParser.g:2836:3: ( ( ruleQualifiedName ) ) otherlv_1= Asterisk { - // InternalSolverLanguageParser.g:2137:3: ( ( ruleQualifiedName ) ) - // InternalSolverLanguageParser.g:2138:4: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:2836:3: ( ( ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:2837:4: ( ruleQualifiedName ) { - // InternalSolverLanguageParser.g:2138:4: ( ruleQualifiedName ) - // InternalSolverLanguageParser.g:2139:5: ruleQualifiedName + // InternalSolverLanguageParser.g:2837:4: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:2838:5: ruleQualifiedName { if (current==null) { @@ -5462,7 +7098,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { newCompositeNode(grammarAccess.getTypedStarArgumentAccess().getTypeNamedElementCrossReference_0_0()); - pushFollow(FOLLOW_34); + pushFollow(FOLLOW_43); ruleQualifiedName(); state._fsp--; @@ -5503,7 +7139,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleReference" - // InternalSolverLanguageParser.g:2161:1: entryRuleReference returns [EObject current=null] : iv_ruleReference= ruleReference EOF ; + // InternalSolverLanguageParser.g:2860:1: entryRuleReference returns [EObject current=null] : iv_ruleReference= ruleReference EOF ; public final EObject entryRuleReference() throws RecognitionException { EObject current = null; @@ -5511,8 +7147,8 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { try { - // InternalSolverLanguageParser.g:2161:50: (iv_ruleReference= ruleReference EOF ) - // InternalSolverLanguageParser.g:2162:2: iv_ruleReference= ruleReference EOF + // InternalSolverLanguageParser.g:2860:50: (iv_ruleReference= ruleReference EOF ) + // InternalSolverLanguageParser.g:2861:2: iv_ruleReference= ruleReference EOF { newCompositeNode(grammarAccess.getReferenceRule()); pushFollow(FOLLOW_1); @@ -5539,7 +7175,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleReference" - // InternalSolverLanguageParser.g:2168:1: ruleReference returns [EObject current=null] : ( ( ruleQualifiedName ) ) ; + // InternalSolverLanguageParser.g:2867:1: ruleReference returns [EObject current=null] : ( ( ruleQualifiedName ) ) ; public final EObject ruleReference() throws RecognitionException { EObject current = null; @@ -5547,14 +7183,14 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { enterRule(); try { - // InternalSolverLanguageParser.g:2174:2: ( ( ( ruleQualifiedName ) ) ) - // InternalSolverLanguageParser.g:2175:2: ( ( ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:2873:2: ( ( ( ruleQualifiedName ) ) ) + // InternalSolverLanguageParser.g:2874:2: ( ( ruleQualifiedName ) ) { - // InternalSolverLanguageParser.g:2175:2: ( ( ruleQualifiedName ) ) - // InternalSolverLanguageParser.g:2176:3: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:2874:2: ( ( ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:2875:3: ( ruleQualifiedName ) { - // InternalSolverLanguageParser.g:2176:3: ( ruleQualifiedName ) - // InternalSolverLanguageParser.g:2177:4: ruleQualifiedName + // InternalSolverLanguageParser.g:2875:3: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:2876:4: ruleQualifiedName { if (current==null) { @@ -5598,7 +7234,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleInterval" - // InternalSolverLanguageParser.g:2194:1: entryRuleInterval returns [EObject current=null] : iv_ruleInterval= ruleInterval EOF ; + // InternalSolverLanguageParser.g:2893:1: entryRuleInterval returns [EObject current=null] : iv_ruleInterval= ruleInterval EOF ; public final EObject entryRuleInterval() throws RecognitionException { EObject current = null; @@ -5606,8 +7242,8 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { try { - // InternalSolverLanguageParser.g:2194:49: (iv_ruleInterval= ruleInterval EOF ) - // InternalSolverLanguageParser.g:2195:2: iv_ruleInterval= ruleInterval EOF + // InternalSolverLanguageParser.g:2893:49: (iv_ruleInterval= ruleInterval EOF ) + // InternalSolverLanguageParser.g:2894:2: iv_ruleInterval= ruleInterval EOF { newCompositeNode(grammarAccess.getIntervalRule()); pushFollow(FOLLOW_1); @@ -5634,7 +7270,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleInterval" - // InternalSolverLanguageParser.g:2201:1: ruleInterval returns [EObject current=null] : (otherlv_0= LeftSquareBracket ( (lv_lowerBound_1_0= ruleExpression ) ) otherlv_2= FullStopFullStop ( (lv_upperBound_3_0= ruleExpression ) ) otherlv_4= RightSquareBracket ) ; + // InternalSolverLanguageParser.g:2900:1: ruleInterval returns [EObject current=null] : (otherlv_0= LeftSquareBracket ( (lv_lowerBound_1_0= ruleExpression ) ) otherlv_2= FullStopFullStop ( (lv_upperBound_3_0= ruleExpression ) ) otherlv_4= RightSquareBracket ) ; public final EObject ruleInterval() throws RecognitionException { EObject current = null; @@ -5650,26 +7286,26 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { enterRule(); try { - // InternalSolverLanguageParser.g:2207:2: ( (otherlv_0= LeftSquareBracket ( (lv_lowerBound_1_0= ruleExpression ) ) otherlv_2= FullStopFullStop ( (lv_upperBound_3_0= ruleExpression ) ) otherlv_4= RightSquareBracket ) ) - // InternalSolverLanguageParser.g:2208:2: (otherlv_0= LeftSquareBracket ( (lv_lowerBound_1_0= ruleExpression ) ) otherlv_2= FullStopFullStop ( (lv_upperBound_3_0= ruleExpression ) ) otherlv_4= RightSquareBracket ) + // InternalSolverLanguageParser.g:2906:2: ( (otherlv_0= LeftSquareBracket ( (lv_lowerBound_1_0= ruleExpression ) ) otherlv_2= FullStopFullStop ( (lv_upperBound_3_0= ruleExpression ) ) otherlv_4= RightSquareBracket ) ) + // InternalSolverLanguageParser.g:2907:2: (otherlv_0= LeftSquareBracket ( (lv_lowerBound_1_0= ruleExpression ) ) otherlv_2= FullStopFullStop ( (lv_upperBound_3_0= ruleExpression ) ) otherlv_4= RightSquareBracket ) { - // InternalSolverLanguageParser.g:2208:2: (otherlv_0= LeftSquareBracket ( (lv_lowerBound_1_0= ruleExpression ) ) otherlv_2= FullStopFullStop ( (lv_upperBound_3_0= ruleExpression ) ) otherlv_4= RightSquareBracket ) - // InternalSolverLanguageParser.g:2209:3: otherlv_0= LeftSquareBracket ( (lv_lowerBound_1_0= ruleExpression ) ) otherlv_2= FullStopFullStop ( (lv_upperBound_3_0= ruleExpression ) ) otherlv_4= RightSquareBracket + // InternalSolverLanguageParser.g:2907:2: (otherlv_0= LeftSquareBracket ( (lv_lowerBound_1_0= ruleExpression ) ) otherlv_2= FullStopFullStop ( (lv_upperBound_3_0= ruleExpression ) ) otherlv_4= RightSquareBracket ) + // InternalSolverLanguageParser.g:2908:3: otherlv_0= LeftSquareBracket ( (lv_lowerBound_1_0= ruleExpression ) ) otherlv_2= FullStopFullStop ( (lv_upperBound_3_0= ruleExpression ) ) otherlv_4= RightSquareBracket { otherlv_0=(Token)match(input,LeftSquareBracket,FOLLOW_6); newLeafNode(otherlv_0, grammarAccess.getIntervalAccess().getLeftSquareBracketKeyword_0()); - // InternalSolverLanguageParser.g:2213:3: ( (lv_lowerBound_1_0= ruleExpression ) ) - // InternalSolverLanguageParser.g:2214:4: (lv_lowerBound_1_0= ruleExpression ) + // InternalSolverLanguageParser.g:2912:3: ( (lv_lowerBound_1_0= ruleExpression ) ) + // InternalSolverLanguageParser.g:2913:4: (lv_lowerBound_1_0= ruleExpression ) { - // InternalSolverLanguageParser.g:2214:4: (lv_lowerBound_1_0= ruleExpression ) - // InternalSolverLanguageParser.g:2215:5: lv_lowerBound_1_0= ruleExpression + // InternalSolverLanguageParser.g:2913:4: (lv_lowerBound_1_0= ruleExpression ) + // InternalSolverLanguageParser.g:2914:5: lv_lowerBound_1_0= ruleExpression { newCompositeNode(grammarAccess.getIntervalAccess().getLowerBoundExpressionParserRuleCall_1_0()); - pushFollow(FOLLOW_35); + pushFollow(FOLLOW_44); lv_lowerBound_1_0=ruleExpression(); state._fsp--; @@ -5695,16 +7331,16 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { newLeafNode(otherlv_2, grammarAccess.getIntervalAccess().getFullStopFullStopKeyword_2()); - // InternalSolverLanguageParser.g:2236:3: ( (lv_upperBound_3_0= ruleExpression ) ) - // InternalSolverLanguageParser.g:2237:4: (lv_upperBound_3_0= ruleExpression ) + // InternalSolverLanguageParser.g:2935:3: ( (lv_upperBound_3_0= ruleExpression ) ) + // InternalSolverLanguageParser.g:2936:4: (lv_upperBound_3_0= ruleExpression ) { - // InternalSolverLanguageParser.g:2237:4: (lv_upperBound_3_0= ruleExpression ) - // InternalSolverLanguageParser.g:2238:5: lv_upperBound_3_0= ruleExpression + // InternalSolverLanguageParser.g:2936:4: (lv_upperBound_3_0= ruleExpression ) + // InternalSolverLanguageParser.g:2937:5: lv_upperBound_3_0= ruleExpression { newCompositeNode(grammarAccess.getIntervalAccess().getUpperBoundExpressionParserRuleCall_3_0()); - pushFollow(FOLLOW_36); + pushFollow(FOLLOW_45); lv_upperBound_3_0=ruleExpression(); state._fsp--; @@ -5753,7 +7389,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleLiteral" - // InternalSolverLanguageParser.g:2263:1: entryRuleLiteral returns [EObject current=null] : iv_ruleLiteral= ruleLiteral EOF ; + // InternalSolverLanguageParser.g:2962:1: entryRuleLiteral returns [EObject current=null] : iv_ruleLiteral= ruleLiteral EOF ; public final EObject entryRuleLiteral() throws RecognitionException { EObject current = null; @@ -5761,8 +7397,8 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { try { - // InternalSolverLanguageParser.g:2263:48: (iv_ruleLiteral= ruleLiteral EOF ) - // InternalSolverLanguageParser.g:2264:2: iv_ruleLiteral= ruleLiteral EOF + // InternalSolverLanguageParser.g:2962:48: (iv_ruleLiteral= ruleLiteral EOF ) + // InternalSolverLanguageParser.g:2963:2: iv_ruleLiteral= ruleLiteral EOF { newCompositeNode(grammarAccess.getLiteralRule()); pushFollow(FOLLOW_1); @@ -5789,7 +7425,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleLiteral" - // InternalSolverLanguageParser.g:2270:1: ruleLiteral returns [EObject current=null] : (this_LogicLiteral_0= ruleLogicLiteral | this_NumericLiteral_1= ruleNumericLiteral | this_InfinityLiteral_2= ruleInfinityLiteral | this_EmptyIntervalLiteral_3= ruleEmptyIntervalLiteral | this_StringLiteral_4= ruleStringLiteral ) ; + // InternalSolverLanguageParser.g:2969:1: ruleLiteral returns [EObject current=null] : (this_LogicLiteral_0= ruleLogicLiteral | this_NumericLiteral_1= ruleNumericLiteral | this_InfinityLiteral_2= ruleInfinityLiteral | this_EmptyIntervalLiteral_3= ruleEmptyIntervalLiteral | this_StringLiteral_4= ruleStringLiteral ) ; public final EObject ruleLiteral() throws RecognitionException { EObject current = null; @@ -5808,50 +7444,50 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { enterRule(); try { - // InternalSolverLanguageParser.g:2276:2: ( (this_LogicLiteral_0= ruleLogicLiteral | this_NumericLiteral_1= ruleNumericLiteral | this_InfinityLiteral_2= ruleInfinityLiteral | this_EmptyIntervalLiteral_3= ruleEmptyIntervalLiteral | this_StringLiteral_4= ruleStringLiteral ) ) - // InternalSolverLanguageParser.g:2277:2: (this_LogicLiteral_0= ruleLogicLiteral | this_NumericLiteral_1= ruleNumericLiteral | this_InfinityLiteral_2= ruleInfinityLiteral | this_EmptyIntervalLiteral_3= ruleEmptyIntervalLiteral | this_StringLiteral_4= ruleStringLiteral ) + // InternalSolverLanguageParser.g:2975:2: ( (this_LogicLiteral_0= ruleLogicLiteral | this_NumericLiteral_1= ruleNumericLiteral | this_InfinityLiteral_2= ruleInfinityLiteral | this_EmptyIntervalLiteral_3= ruleEmptyIntervalLiteral | this_StringLiteral_4= ruleStringLiteral ) ) + // InternalSolverLanguageParser.g:2976:2: (this_LogicLiteral_0= ruleLogicLiteral | this_NumericLiteral_1= ruleNumericLiteral | this_InfinityLiteral_2= ruleInfinityLiteral | this_EmptyIntervalLiteral_3= ruleEmptyIntervalLiteral | this_StringLiteral_4= ruleStringLiteral ) { - // InternalSolverLanguageParser.g:2277:2: (this_LogicLiteral_0= ruleLogicLiteral | this_NumericLiteral_1= ruleNumericLiteral | this_InfinityLiteral_2= ruleInfinityLiteral | this_EmptyIntervalLiteral_3= ruleEmptyIntervalLiteral | this_StringLiteral_4= ruleStringLiteral ) - int alt25=5; + // InternalSolverLanguageParser.g:2976:2: (this_LogicLiteral_0= ruleLogicLiteral | this_NumericLiteral_1= ruleNumericLiteral | this_InfinityLiteral_2= ruleInfinityLiteral | this_EmptyIntervalLiteral_3= ruleEmptyIntervalLiteral | this_StringLiteral_4= ruleStringLiteral ) + int alt34=5; switch ( input.LA(1) ) { case Unknown: case Error: case False: case True: { - alt25=1; + alt34=1; } break; case RULE_INT: { - alt25=2; + alt34=2; } break; case Inf: { - alt25=3; + alt34=3; } break; case Empty: { - alt25=4; + alt34=4; } break; case RULE_STRING: { - alt25=5; + alt34=5; } break; default: NoViableAltException nvae = - new NoViableAltException("", 25, 0, input); + new NoViableAltException("", 34, 0, input); throw nvae; } - switch (alt25) { + switch (alt34) { case 1 : - // InternalSolverLanguageParser.g:2278:3: this_LogicLiteral_0= ruleLogicLiteral + // InternalSolverLanguageParser.g:2977:3: this_LogicLiteral_0= ruleLogicLiteral { newCompositeNode(grammarAccess.getLiteralAccess().getLogicLiteralParserRuleCall_0()); @@ -5869,7 +7505,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } break; case 2 : - // InternalSolverLanguageParser.g:2287:3: this_NumericLiteral_1= ruleNumericLiteral + // InternalSolverLanguageParser.g:2986:3: this_NumericLiteral_1= ruleNumericLiteral { newCompositeNode(grammarAccess.getLiteralAccess().getNumericLiteralParserRuleCall_1()); @@ -5887,7 +7523,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } break; case 3 : - // InternalSolverLanguageParser.g:2296:3: this_InfinityLiteral_2= ruleInfinityLiteral + // InternalSolverLanguageParser.g:2995:3: this_InfinityLiteral_2= ruleInfinityLiteral { newCompositeNode(grammarAccess.getLiteralAccess().getInfinityLiteralParserRuleCall_2()); @@ -5905,7 +7541,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } break; case 4 : - // InternalSolverLanguageParser.g:2305:3: this_EmptyIntervalLiteral_3= ruleEmptyIntervalLiteral + // InternalSolverLanguageParser.g:3004:3: this_EmptyIntervalLiteral_3= ruleEmptyIntervalLiteral { newCompositeNode(grammarAccess.getLiteralAccess().getEmptyIntervalLiteralParserRuleCall_3()); @@ -5923,7 +7559,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } break; case 5 : - // InternalSolverLanguageParser.g:2314:3: this_StringLiteral_4= ruleStringLiteral + // InternalSolverLanguageParser.g:3013:3: this_StringLiteral_4= ruleStringLiteral { newCompositeNode(grammarAccess.getLiteralAccess().getStringLiteralParserRuleCall_4()); @@ -5963,7 +7599,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleLogicLiteral" - // InternalSolverLanguageParser.g:2326:1: entryRuleLogicLiteral returns [EObject current=null] : iv_ruleLogicLiteral= ruleLogicLiteral EOF ; + // InternalSolverLanguageParser.g:3025:1: entryRuleLogicLiteral returns [EObject current=null] : iv_ruleLogicLiteral= ruleLogicLiteral EOF ; public final EObject entryRuleLogicLiteral() throws RecognitionException { EObject current = null; @@ -5971,8 +7607,8 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { try { - // InternalSolverLanguageParser.g:2326:53: (iv_ruleLogicLiteral= ruleLogicLiteral EOF ) - // InternalSolverLanguageParser.g:2327:2: iv_ruleLogicLiteral= ruleLogicLiteral EOF + // InternalSolverLanguageParser.g:3025:53: (iv_ruleLogicLiteral= ruleLogicLiteral EOF ) + // InternalSolverLanguageParser.g:3026:2: iv_ruleLogicLiteral= ruleLogicLiteral EOF { newCompositeNode(grammarAccess.getLogicLiteralRule()); pushFollow(FOLLOW_1); @@ -5999,7 +7635,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleLogicLiteral" - // InternalSolverLanguageParser.g:2333:1: ruleLogicLiteral returns [EObject current=null] : ( (lv_value_0_0= ruleLogicValue ) ) ; + // InternalSolverLanguageParser.g:3032:1: ruleLogicLiteral returns [EObject current=null] : ( (lv_value_0_0= ruleLogicValue ) ) ; public final EObject ruleLogicLiteral() throws RecognitionException { EObject current = null; @@ -6010,14 +7646,14 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { enterRule(); try { - // InternalSolverLanguageParser.g:2339:2: ( ( (lv_value_0_0= ruleLogicValue ) ) ) - // InternalSolverLanguageParser.g:2340:2: ( (lv_value_0_0= ruleLogicValue ) ) + // InternalSolverLanguageParser.g:3038:2: ( ( (lv_value_0_0= ruleLogicValue ) ) ) + // InternalSolverLanguageParser.g:3039:2: ( (lv_value_0_0= ruleLogicValue ) ) { - // InternalSolverLanguageParser.g:2340:2: ( (lv_value_0_0= ruleLogicValue ) ) - // InternalSolverLanguageParser.g:2341:3: (lv_value_0_0= ruleLogicValue ) + // InternalSolverLanguageParser.g:3039:2: ( (lv_value_0_0= ruleLogicValue ) ) + // InternalSolverLanguageParser.g:3040:3: (lv_value_0_0= ruleLogicValue ) { - // InternalSolverLanguageParser.g:2341:3: (lv_value_0_0= ruleLogicValue ) - // InternalSolverLanguageParser.g:2342:4: lv_value_0_0= ruleLogicValue + // InternalSolverLanguageParser.g:3040:3: (lv_value_0_0= ruleLogicValue ) + // InternalSolverLanguageParser.g:3041:4: lv_value_0_0= ruleLogicValue { newCompositeNode(grammarAccess.getLogicLiteralAccess().getValueLogicValueEnumRuleCall_0()); @@ -6064,7 +7700,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleNumericLiteral" - // InternalSolverLanguageParser.g:2362:1: entryRuleNumericLiteral returns [EObject current=null] : iv_ruleNumericLiteral= ruleNumericLiteral EOF ; + // InternalSolverLanguageParser.g:3061:1: entryRuleNumericLiteral returns [EObject current=null] : iv_ruleNumericLiteral= ruleNumericLiteral EOF ; public final EObject entryRuleNumericLiteral() throws RecognitionException { EObject current = null; @@ -6072,8 +7708,8 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { try { - // InternalSolverLanguageParser.g:2362:55: (iv_ruleNumericLiteral= ruleNumericLiteral EOF ) - // InternalSolverLanguageParser.g:2363:2: iv_ruleNumericLiteral= ruleNumericLiteral EOF + // InternalSolverLanguageParser.g:3061:55: (iv_ruleNumericLiteral= ruleNumericLiteral EOF ) + // InternalSolverLanguageParser.g:3062:2: iv_ruleNumericLiteral= ruleNumericLiteral EOF { newCompositeNode(grammarAccess.getNumericLiteralRule()); pushFollow(FOLLOW_1); @@ -6100,7 +7736,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleNumericLiteral" - // InternalSolverLanguageParser.g:2369:1: ruleNumericLiteral returns [EObject current=null] : ( (lv_value_0_0= ruleReal ) ) ; + // InternalSolverLanguageParser.g:3068:1: ruleNumericLiteral returns [EObject current=null] : ( (lv_value_0_0= ruleReal ) ) ; public final EObject ruleNumericLiteral() throws RecognitionException { EObject current = null; @@ -6111,14 +7747,14 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { enterRule(); try { - // InternalSolverLanguageParser.g:2375:2: ( ( (lv_value_0_0= ruleReal ) ) ) - // InternalSolverLanguageParser.g:2376:2: ( (lv_value_0_0= ruleReal ) ) + // InternalSolverLanguageParser.g:3074:2: ( ( (lv_value_0_0= ruleReal ) ) ) + // InternalSolverLanguageParser.g:3075:2: ( (lv_value_0_0= ruleReal ) ) { - // InternalSolverLanguageParser.g:2376:2: ( (lv_value_0_0= ruleReal ) ) - // InternalSolverLanguageParser.g:2377:3: (lv_value_0_0= ruleReal ) + // InternalSolverLanguageParser.g:3075:2: ( (lv_value_0_0= ruleReal ) ) + // InternalSolverLanguageParser.g:3076:3: (lv_value_0_0= ruleReal ) { - // InternalSolverLanguageParser.g:2377:3: (lv_value_0_0= ruleReal ) - // InternalSolverLanguageParser.g:2378:4: lv_value_0_0= ruleReal + // InternalSolverLanguageParser.g:3076:3: (lv_value_0_0= ruleReal ) + // InternalSolverLanguageParser.g:3077:4: lv_value_0_0= ruleReal { newCompositeNode(grammarAccess.getNumericLiteralAccess().getValueRealParserRuleCall_0()); @@ -6165,7 +7801,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleInfinityLiteral" - // InternalSolverLanguageParser.g:2398:1: entryRuleInfinityLiteral returns [EObject current=null] : iv_ruleInfinityLiteral= ruleInfinityLiteral EOF ; + // InternalSolverLanguageParser.g:3097:1: entryRuleInfinityLiteral returns [EObject current=null] : iv_ruleInfinityLiteral= ruleInfinityLiteral EOF ; public final EObject entryRuleInfinityLiteral() throws RecognitionException { EObject current = null; @@ -6173,8 +7809,8 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { try { - // InternalSolverLanguageParser.g:2398:56: (iv_ruleInfinityLiteral= ruleInfinityLiteral EOF ) - // InternalSolverLanguageParser.g:2399:2: iv_ruleInfinityLiteral= ruleInfinityLiteral EOF + // InternalSolverLanguageParser.g:3097:56: (iv_ruleInfinityLiteral= ruleInfinityLiteral EOF ) + // InternalSolverLanguageParser.g:3098:2: iv_ruleInfinityLiteral= ruleInfinityLiteral EOF { newCompositeNode(grammarAccess.getInfinityLiteralRule()); pushFollow(FOLLOW_1); @@ -6201,7 +7837,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleInfinityLiteral" - // InternalSolverLanguageParser.g:2405:1: ruleInfinityLiteral returns [EObject current=null] : ( () otherlv_1= Inf ) ; + // InternalSolverLanguageParser.g:3104:1: ruleInfinityLiteral returns [EObject current=null] : ( () otherlv_1= Inf ) ; public final EObject ruleInfinityLiteral() throws RecognitionException { EObject current = null; @@ -6211,14 +7847,14 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { enterRule(); try { - // InternalSolverLanguageParser.g:2411:2: ( ( () otherlv_1= Inf ) ) - // InternalSolverLanguageParser.g:2412:2: ( () otherlv_1= Inf ) + // InternalSolverLanguageParser.g:3110:2: ( ( () otherlv_1= Inf ) ) + // InternalSolverLanguageParser.g:3111:2: ( () otherlv_1= Inf ) { - // InternalSolverLanguageParser.g:2412:2: ( () otherlv_1= Inf ) - // InternalSolverLanguageParser.g:2413:3: () otherlv_1= Inf + // InternalSolverLanguageParser.g:3111:2: ( () otherlv_1= Inf ) + // InternalSolverLanguageParser.g:3112:3: () otherlv_1= Inf { - // InternalSolverLanguageParser.g:2413:3: () - // InternalSolverLanguageParser.g:2414:4: + // InternalSolverLanguageParser.g:3112:3: () + // InternalSolverLanguageParser.g:3113:4: { current = forceCreateModelElement( @@ -6255,7 +7891,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleEmptyIntervalLiteral" - // InternalSolverLanguageParser.g:2428:1: entryRuleEmptyIntervalLiteral returns [EObject current=null] : iv_ruleEmptyIntervalLiteral= ruleEmptyIntervalLiteral EOF ; + // InternalSolverLanguageParser.g:3127:1: entryRuleEmptyIntervalLiteral returns [EObject current=null] : iv_ruleEmptyIntervalLiteral= ruleEmptyIntervalLiteral EOF ; public final EObject entryRuleEmptyIntervalLiteral() throws RecognitionException { EObject current = null; @@ -6263,8 +7899,8 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { try { - // InternalSolverLanguageParser.g:2428:61: (iv_ruleEmptyIntervalLiteral= ruleEmptyIntervalLiteral EOF ) - // InternalSolverLanguageParser.g:2429:2: iv_ruleEmptyIntervalLiteral= ruleEmptyIntervalLiteral EOF + // InternalSolverLanguageParser.g:3127:61: (iv_ruleEmptyIntervalLiteral= ruleEmptyIntervalLiteral EOF ) + // InternalSolverLanguageParser.g:3128:2: iv_ruleEmptyIntervalLiteral= ruleEmptyIntervalLiteral EOF { newCompositeNode(grammarAccess.getEmptyIntervalLiteralRule()); pushFollow(FOLLOW_1); @@ -6291,7 +7927,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleEmptyIntervalLiteral" - // InternalSolverLanguageParser.g:2435:1: ruleEmptyIntervalLiteral returns [EObject current=null] : ( () otherlv_1= Empty ) ; + // InternalSolverLanguageParser.g:3134:1: ruleEmptyIntervalLiteral returns [EObject current=null] : ( () otherlv_1= Empty ) ; public final EObject ruleEmptyIntervalLiteral() throws RecognitionException { EObject current = null; @@ -6301,14 +7937,14 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { enterRule(); try { - // InternalSolverLanguageParser.g:2441:2: ( ( () otherlv_1= Empty ) ) - // InternalSolverLanguageParser.g:2442:2: ( () otherlv_1= Empty ) + // InternalSolverLanguageParser.g:3140:2: ( ( () otherlv_1= Empty ) ) + // InternalSolverLanguageParser.g:3141:2: ( () otherlv_1= Empty ) { - // InternalSolverLanguageParser.g:2442:2: ( () otherlv_1= Empty ) - // InternalSolverLanguageParser.g:2443:3: () otherlv_1= Empty + // InternalSolverLanguageParser.g:3141:2: ( () otherlv_1= Empty ) + // InternalSolverLanguageParser.g:3142:3: () otherlv_1= Empty { - // InternalSolverLanguageParser.g:2443:3: () - // InternalSolverLanguageParser.g:2444:4: + // InternalSolverLanguageParser.g:3142:3: () + // InternalSolverLanguageParser.g:3143:4: { current = forceCreateModelElement( @@ -6345,7 +7981,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleStringLiteral" - // InternalSolverLanguageParser.g:2458:1: entryRuleStringLiteral returns [EObject current=null] : iv_ruleStringLiteral= ruleStringLiteral EOF ; + // InternalSolverLanguageParser.g:3157:1: entryRuleStringLiteral returns [EObject current=null] : iv_ruleStringLiteral= ruleStringLiteral EOF ; public final EObject entryRuleStringLiteral() throws RecognitionException { EObject current = null; @@ -6353,8 +7989,8 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { try { - // InternalSolverLanguageParser.g:2458:54: (iv_ruleStringLiteral= ruleStringLiteral EOF ) - // InternalSolverLanguageParser.g:2459:2: iv_ruleStringLiteral= ruleStringLiteral EOF + // InternalSolverLanguageParser.g:3157:54: (iv_ruleStringLiteral= ruleStringLiteral EOF ) + // InternalSolverLanguageParser.g:3158:2: iv_ruleStringLiteral= ruleStringLiteral EOF { newCompositeNode(grammarAccess.getStringLiteralRule()); pushFollow(FOLLOW_1); @@ -6381,7 +8017,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleStringLiteral" - // InternalSolverLanguageParser.g:2465:1: ruleStringLiteral returns [EObject current=null] : ( (lv_value_0_0= RULE_STRING ) ) ; + // InternalSolverLanguageParser.g:3164:1: ruleStringLiteral returns [EObject current=null] : ( (lv_value_0_0= RULE_STRING ) ) ; public final EObject ruleStringLiteral() throws RecognitionException { EObject current = null; @@ -6391,14 +8027,14 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { enterRule(); try { - // InternalSolverLanguageParser.g:2471:2: ( ( (lv_value_0_0= RULE_STRING ) ) ) - // InternalSolverLanguageParser.g:2472:2: ( (lv_value_0_0= RULE_STRING ) ) + // InternalSolverLanguageParser.g:3170:2: ( ( (lv_value_0_0= RULE_STRING ) ) ) + // InternalSolverLanguageParser.g:3171:2: ( (lv_value_0_0= RULE_STRING ) ) { - // InternalSolverLanguageParser.g:2472:2: ( (lv_value_0_0= RULE_STRING ) ) - // InternalSolverLanguageParser.g:2473:3: (lv_value_0_0= RULE_STRING ) + // InternalSolverLanguageParser.g:3171:2: ( (lv_value_0_0= RULE_STRING ) ) + // InternalSolverLanguageParser.g:3172:3: (lv_value_0_0= RULE_STRING ) { - // InternalSolverLanguageParser.g:2473:3: (lv_value_0_0= RULE_STRING ) - // InternalSolverLanguageParser.g:2474:4: lv_value_0_0= RULE_STRING + // InternalSolverLanguageParser.g:3172:3: (lv_value_0_0= RULE_STRING ) + // InternalSolverLanguageParser.g:3173:4: lv_value_0_0= RULE_STRING { lv_value_0_0=(Token)match(input,RULE_STRING,FOLLOW_2); @@ -6440,7 +8076,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleClassDefinition" - // InternalSolverLanguageParser.g:2493:1: entryRuleClassDefinition returns [EObject current=null] : iv_ruleClassDefinition= ruleClassDefinition EOF ; + // InternalSolverLanguageParser.g:3192:1: entryRuleClassDefinition returns [EObject current=null] : iv_ruleClassDefinition= ruleClassDefinition EOF ; public final EObject entryRuleClassDefinition() throws RecognitionException { EObject current = null; @@ -6448,8 +8084,8 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { try { - // InternalSolverLanguageParser.g:2493:56: (iv_ruleClassDefinition= ruleClassDefinition EOF ) - // InternalSolverLanguageParser.g:2494:2: iv_ruleClassDefinition= ruleClassDefinition EOF + // InternalSolverLanguageParser.g:3192:56: (iv_ruleClassDefinition= ruleClassDefinition EOF ) + // InternalSolverLanguageParser.g:3193:2: iv_ruleClassDefinition= ruleClassDefinition EOF { newCompositeNode(grammarAccess.getClassDefinitionRule()); pushFollow(FOLLOW_1); @@ -6476,7 +8112,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleClassDefinition" - // InternalSolverLanguageParser.g:2500:1: ruleClassDefinition returns [EObject current=null] : ( ( (lv_abstract_0_0= Abstract ) )? otherlv_1= Class ( (lv_name_2_0= RULE_ID ) ) (otherlv_3= Extends ( ( ruleQualifiedName ) ) (otherlv_5= Comma ( ( ruleQualifiedName ) ) )* )? otherlv_7= LeftCurlyBracket ( (lv_members_8_0= ruleMemberDefinition ) )* otherlv_9= RightCurlyBracket ) ; + // InternalSolverLanguageParser.g:3199:1: ruleClassDefinition returns [EObject current=null] : ( ( (lv_abstract_0_0= Abstract ) )? otherlv_1= Class ( (lv_name_2_0= RULE_ID ) ) (otherlv_3= Extends ( ( ruleQualifiedName ) ) (otherlv_5= Comma ( ( ruleQualifiedName ) ) )* )? otherlv_7= LeftCurlyBracket ( (lv_members_8_0= ruleMemberDefinition ) )* otherlv_9= RightCurlyBracket ) ; public final EObject ruleClassDefinition() throws RecognitionException { EObject current = null; @@ -6494,27 +8130,27 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { enterRule(); try { - // InternalSolverLanguageParser.g:2506:2: ( ( ( (lv_abstract_0_0= Abstract ) )? otherlv_1= Class ( (lv_name_2_0= RULE_ID ) ) (otherlv_3= Extends ( ( ruleQualifiedName ) ) (otherlv_5= Comma ( ( ruleQualifiedName ) ) )* )? otherlv_7= LeftCurlyBracket ( (lv_members_8_0= ruleMemberDefinition ) )* otherlv_9= RightCurlyBracket ) ) - // InternalSolverLanguageParser.g:2507:2: ( ( (lv_abstract_0_0= Abstract ) )? otherlv_1= Class ( (lv_name_2_0= RULE_ID ) ) (otherlv_3= Extends ( ( ruleQualifiedName ) ) (otherlv_5= Comma ( ( ruleQualifiedName ) ) )* )? otherlv_7= LeftCurlyBracket ( (lv_members_8_0= ruleMemberDefinition ) )* otherlv_9= RightCurlyBracket ) + // InternalSolverLanguageParser.g:3205:2: ( ( ( (lv_abstract_0_0= Abstract ) )? otherlv_1= Class ( (lv_name_2_0= RULE_ID ) ) (otherlv_3= Extends ( ( ruleQualifiedName ) ) (otherlv_5= Comma ( ( ruleQualifiedName ) ) )* )? otherlv_7= LeftCurlyBracket ( (lv_members_8_0= ruleMemberDefinition ) )* otherlv_9= RightCurlyBracket ) ) + // InternalSolverLanguageParser.g:3206:2: ( ( (lv_abstract_0_0= Abstract ) )? otherlv_1= Class ( (lv_name_2_0= RULE_ID ) ) (otherlv_3= Extends ( ( ruleQualifiedName ) ) (otherlv_5= Comma ( ( ruleQualifiedName ) ) )* )? otherlv_7= LeftCurlyBracket ( (lv_members_8_0= ruleMemberDefinition ) )* otherlv_9= RightCurlyBracket ) { - // InternalSolverLanguageParser.g:2507:2: ( ( (lv_abstract_0_0= Abstract ) )? otherlv_1= Class ( (lv_name_2_0= RULE_ID ) ) (otherlv_3= Extends ( ( ruleQualifiedName ) ) (otherlv_5= Comma ( ( ruleQualifiedName ) ) )* )? otherlv_7= LeftCurlyBracket ( (lv_members_8_0= ruleMemberDefinition ) )* otherlv_9= RightCurlyBracket ) - // InternalSolverLanguageParser.g:2508:3: ( (lv_abstract_0_0= Abstract ) )? otherlv_1= Class ( (lv_name_2_0= RULE_ID ) ) (otherlv_3= Extends ( ( ruleQualifiedName ) ) (otherlv_5= Comma ( ( ruleQualifiedName ) ) )* )? otherlv_7= LeftCurlyBracket ( (lv_members_8_0= ruleMemberDefinition ) )* otherlv_9= RightCurlyBracket + // InternalSolverLanguageParser.g:3206:2: ( ( (lv_abstract_0_0= Abstract ) )? otherlv_1= Class ( (lv_name_2_0= RULE_ID ) ) (otherlv_3= Extends ( ( ruleQualifiedName ) ) (otherlv_5= Comma ( ( ruleQualifiedName ) ) )* )? otherlv_7= LeftCurlyBracket ( (lv_members_8_0= ruleMemberDefinition ) )* otherlv_9= RightCurlyBracket ) + // InternalSolverLanguageParser.g:3207:3: ( (lv_abstract_0_0= Abstract ) )? otherlv_1= Class ( (lv_name_2_0= RULE_ID ) ) (otherlv_3= Extends ( ( ruleQualifiedName ) ) (otherlv_5= Comma ( ( ruleQualifiedName ) ) )* )? otherlv_7= LeftCurlyBracket ( (lv_members_8_0= ruleMemberDefinition ) )* otherlv_9= RightCurlyBracket { - // InternalSolverLanguageParser.g:2508:3: ( (lv_abstract_0_0= Abstract ) )? - int alt26=2; - int LA26_0 = input.LA(1); + // InternalSolverLanguageParser.g:3207:3: ( (lv_abstract_0_0= Abstract ) )? + int alt35=2; + int LA35_0 = input.LA(1); - if ( (LA26_0==Abstract) ) { - alt26=1; + if ( (LA35_0==Abstract) ) { + alt35=1; } - switch (alt26) { + switch (alt35) { case 1 : - // InternalSolverLanguageParser.g:2509:4: (lv_abstract_0_0= Abstract ) + // InternalSolverLanguageParser.g:3208:4: (lv_abstract_0_0= Abstract ) { - // InternalSolverLanguageParser.g:2509:4: (lv_abstract_0_0= Abstract ) - // InternalSolverLanguageParser.g:2510:5: lv_abstract_0_0= Abstract + // InternalSolverLanguageParser.g:3208:4: (lv_abstract_0_0= Abstract ) + // InternalSolverLanguageParser.g:3209:5: lv_abstract_0_0= Abstract { - lv_abstract_0_0=(Token)match(input,Abstract,FOLLOW_37); + lv_abstract_0_0=(Token)match(input,Abstract,FOLLOW_46); newLeafNode(lv_abstract_0_0, grammarAccess.getClassDefinitionAccess().getAbstractAbstractKeyword_0_0()); @@ -6533,17 +8169,17 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } - otherlv_1=(Token)match(input,Class,FOLLOW_38); + otherlv_1=(Token)match(input,Class,FOLLOW_20); newLeafNode(otherlv_1, grammarAccess.getClassDefinitionAccess().getClassKeyword_1()); - // InternalSolverLanguageParser.g:2526:3: ( (lv_name_2_0= RULE_ID ) ) - // InternalSolverLanguageParser.g:2527:4: (lv_name_2_0= RULE_ID ) + // InternalSolverLanguageParser.g:3225:3: ( (lv_name_2_0= RULE_ID ) ) + // InternalSolverLanguageParser.g:3226:4: (lv_name_2_0= RULE_ID ) { - // InternalSolverLanguageParser.g:2527:4: (lv_name_2_0= RULE_ID ) - // InternalSolverLanguageParser.g:2528:5: lv_name_2_0= RULE_ID + // InternalSolverLanguageParser.g:3226:4: (lv_name_2_0= RULE_ID ) + // InternalSolverLanguageParser.g:3227:5: lv_name_2_0= RULE_ID { - lv_name_2_0=(Token)match(input,RULE_ID,FOLLOW_39); + lv_name_2_0=(Token)match(input,RULE_ID,FOLLOW_47); newLeafNode(lv_name_2_0, grammarAccess.getClassDefinitionAccess().getNameIDTerminalRuleCall_2_0()); @@ -6563,26 +8199,26 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } - // InternalSolverLanguageParser.g:2544:3: (otherlv_3= Extends ( ( ruleQualifiedName ) ) (otherlv_5= Comma ( ( ruleQualifiedName ) ) )* )? - int alt28=2; - int LA28_0 = input.LA(1); + // InternalSolverLanguageParser.g:3243:3: (otherlv_3= Extends ( ( ruleQualifiedName ) ) (otherlv_5= Comma ( ( ruleQualifiedName ) ) )* )? + int alt37=2; + int LA37_0 = input.LA(1); - if ( (LA28_0==Extends) ) { - alt28=1; + if ( (LA37_0==Extends) ) { + alt37=1; } - switch (alt28) { + switch (alt37) { case 1 : - // InternalSolverLanguageParser.g:2545:4: otherlv_3= Extends ( ( ruleQualifiedName ) ) (otherlv_5= Comma ( ( ruleQualifiedName ) ) )* + // InternalSolverLanguageParser.g:3244:4: otherlv_3= Extends ( ( ruleQualifiedName ) ) (otherlv_5= Comma ( ( ruleQualifiedName ) ) )* { otherlv_3=(Token)match(input,Extends,FOLLOW_8); newLeafNode(otherlv_3, grammarAccess.getClassDefinitionAccess().getExtendsKeyword_3_0()); - // InternalSolverLanguageParser.g:2549:4: ( ( ruleQualifiedName ) ) - // InternalSolverLanguageParser.g:2550:5: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:3248:4: ( ( ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:3249:5: ( ruleQualifiedName ) { - // InternalSolverLanguageParser.g:2550:5: ( ruleQualifiedName ) - // InternalSolverLanguageParser.g:2551:6: ruleQualifiedName + // InternalSolverLanguageParser.g:3249:5: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:3250:6: ruleQualifiedName { if (current==null) { @@ -6592,7 +8228,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { newCompositeNode(grammarAccess.getClassDefinitionAccess().getSuperclassesNamedElementCrossReference_3_1_0()); - pushFollow(FOLLOW_40); + pushFollow(FOLLOW_48); ruleQualifiedName(); state._fsp--; @@ -6606,30 +8242,30 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } - // InternalSolverLanguageParser.g:2565:4: (otherlv_5= Comma ( ( ruleQualifiedName ) ) )* - loop27: + // InternalSolverLanguageParser.g:3264:4: (otherlv_5= Comma ( ( ruleQualifiedName ) ) )* + loop36: do { - int alt27=2; - int LA27_0 = input.LA(1); + int alt36=2; + int LA36_0 = input.LA(1); - if ( (LA27_0==Comma) ) { - alt27=1; + if ( (LA36_0==Comma) ) { + alt36=1; } - switch (alt27) { + switch (alt36) { case 1 : - // InternalSolverLanguageParser.g:2566:5: otherlv_5= Comma ( ( ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:3265:5: otherlv_5= Comma ( ( ruleQualifiedName ) ) { otherlv_5=(Token)match(input,Comma,FOLLOW_8); newLeafNode(otherlv_5, grammarAccess.getClassDefinitionAccess().getCommaKeyword_3_2_0()); - // InternalSolverLanguageParser.g:2570:5: ( ( ruleQualifiedName ) ) - // InternalSolverLanguageParser.g:2571:6: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:3269:5: ( ( ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:3270:6: ( ruleQualifiedName ) { - // InternalSolverLanguageParser.g:2571:6: ( ruleQualifiedName ) - // InternalSolverLanguageParser.g:2572:7: ruleQualifiedName + // InternalSolverLanguageParser.g:3270:6: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:3271:7: ruleQualifiedName { if (current==null) { @@ -6639,7 +8275,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { newCompositeNode(grammarAccess.getClassDefinitionAccess().getSuperclassesNamedElementCrossReference_3_2_1_0()); - pushFollow(FOLLOW_40); + pushFollow(FOLLOW_48); ruleQualifiedName(); state._fsp--; @@ -6658,7 +8294,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { break; default : - break loop27; + break loop36; } } while (true); @@ -6668,32 +8304,32 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } - otherlv_7=(Token)match(input,LeftCurlyBracket,FOLLOW_41); + otherlv_7=(Token)match(input,LeftCurlyBracket,FOLLOW_49); newLeafNode(otherlv_7, grammarAccess.getClassDefinitionAccess().getLeftCurlyBracketKeyword_4()); - // InternalSolverLanguageParser.g:2592:3: ( (lv_members_8_0= ruleMemberDefinition ) )* - loop29: + // InternalSolverLanguageParser.g:3291:3: ( (lv_members_8_0= ruleMemberDefinition ) )* + loop38: do { - int alt29=2; - int LA29_0 = input.LA(1); + int alt38=2; + int LA38_0 = input.LA(1); - if ( (LA29_0==Contains||LA29_0==RULE_QUOTED_ID||LA29_0==RULE_ID) ) { - alt29=1; + if ( (LA38_0==Contains||LA38_0==RULE_QUOTED_ID||LA38_0==RULE_ID) ) { + alt38=1; } - switch (alt29) { + switch (alt38) { case 1 : - // InternalSolverLanguageParser.g:2593:4: (lv_members_8_0= ruleMemberDefinition ) + // InternalSolverLanguageParser.g:3292:4: (lv_members_8_0= ruleMemberDefinition ) { - // InternalSolverLanguageParser.g:2593:4: (lv_members_8_0= ruleMemberDefinition ) - // InternalSolverLanguageParser.g:2594:5: lv_members_8_0= ruleMemberDefinition + // InternalSolverLanguageParser.g:3292:4: (lv_members_8_0= ruleMemberDefinition ) + // InternalSolverLanguageParser.g:3293:5: lv_members_8_0= ruleMemberDefinition { newCompositeNode(grammarAccess.getClassDefinitionAccess().getMembersMemberDefinitionParserRuleCall_5_0()); - pushFollow(FOLLOW_41); + pushFollow(FOLLOW_49); lv_members_8_0=ruleMemberDefinition(); state._fsp--; @@ -6717,7 +8353,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { break; default : - break loop29; + break loop38; } } while (true); @@ -6748,7 +8384,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleMemberDefinition" - // InternalSolverLanguageParser.g:2619:1: entryRuleMemberDefinition returns [EObject current=null] : iv_ruleMemberDefinition= ruleMemberDefinition EOF ; + // InternalSolverLanguageParser.g:3318:1: entryRuleMemberDefinition returns [EObject current=null] : iv_ruleMemberDefinition= ruleMemberDefinition EOF ; public final EObject entryRuleMemberDefinition() throws RecognitionException { EObject current = null; @@ -6756,8 +8392,8 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { try { - // InternalSolverLanguageParser.g:2619:57: (iv_ruleMemberDefinition= ruleMemberDefinition EOF ) - // InternalSolverLanguageParser.g:2620:2: iv_ruleMemberDefinition= ruleMemberDefinition EOF + // InternalSolverLanguageParser.g:3318:57: (iv_ruleMemberDefinition= ruleMemberDefinition EOF ) + // InternalSolverLanguageParser.g:3319:2: iv_ruleMemberDefinition= ruleMemberDefinition EOF { newCompositeNode(grammarAccess.getMemberDefinitionRule()); pushFollow(FOLLOW_1); @@ -6784,7 +8420,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleMemberDefinition" - // InternalSolverLanguageParser.g:2626:1: ruleMemberDefinition returns [EObject current=null] : ( ( (lv_containment_0_0= Contains ) )? ( ( ruleQualifiedName ) ) ( (lv_multiplicity_2_0= ruleMultiplicity ) )? ( (lv_name_3_0= RULE_ID ) ) (otherlv_4= Opposite ( ( ruleQualifiedName ) ) )? (otherlv_6= Semicolon )? ) ; + // InternalSolverLanguageParser.g:3325:1: ruleMemberDefinition returns [EObject current=null] : ( ( (lv_containment_0_0= Contains ) )? ( ( ruleQualifiedName ) ) ( (lv_multiplicity_2_0= ruleMultiplicity ) )? ( (lv_name_3_0= RULE_ID ) ) (otherlv_4= Opposite ( ( ruleQualifiedName ) ) )? (otherlv_6= Semicolon )? ) ; public final EObject ruleMemberDefinition() throws RecognitionException { EObject current = null; @@ -6799,25 +8435,25 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { enterRule(); try { - // InternalSolverLanguageParser.g:2632:2: ( ( ( (lv_containment_0_0= Contains ) )? ( ( ruleQualifiedName ) ) ( (lv_multiplicity_2_0= ruleMultiplicity ) )? ( (lv_name_3_0= RULE_ID ) ) (otherlv_4= Opposite ( ( ruleQualifiedName ) ) )? (otherlv_6= Semicolon )? ) ) - // InternalSolverLanguageParser.g:2633:2: ( ( (lv_containment_0_0= Contains ) )? ( ( ruleQualifiedName ) ) ( (lv_multiplicity_2_0= ruleMultiplicity ) )? ( (lv_name_3_0= RULE_ID ) ) (otherlv_4= Opposite ( ( ruleQualifiedName ) ) )? (otherlv_6= Semicolon )? ) + // InternalSolverLanguageParser.g:3331:2: ( ( ( (lv_containment_0_0= Contains ) )? ( ( ruleQualifiedName ) ) ( (lv_multiplicity_2_0= ruleMultiplicity ) )? ( (lv_name_3_0= RULE_ID ) ) (otherlv_4= Opposite ( ( ruleQualifiedName ) ) )? (otherlv_6= Semicolon )? ) ) + // InternalSolverLanguageParser.g:3332:2: ( ( (lv_containment_0_0= Contains ) )? ( ( ruleQualifiedName ) ) ( (lv_multiplicity_2_0= ruleMultiplicity ) )? ( (lv_name_3_0= RULE_ID ) ) (otherlv_4= Opposite ( ( ruleQualifiedName ) ) )? (otherlv_6= Semicolon )? ) { - // InternalSolverLanguageParser.g:2633:2: ( ( (lv_containment_0_0= Contains ) )? ( ( ruleQualifiedName ) ) ( (lv_multiplicity_2_0= ruleMultiplicity ) )? ( (lv_name_3_0= RULE_ID ) ) (otherlv_4= Opposite ( ( ruleQualifiedName ) ) )? (otherlv_6= Semicolon )? ) - // InternalSolverLanguageParser.g:2634:3: ( (lv_containment_0_0= Contains ) )? ( ( ruleQualifiedName ) ) ( (lv_multiplicity_2_0= ruleMultiplicity ) )? ( (lv_name_3_0= RULE_ID ) ) (otherlv_4= Opposite ( ( ruleQualifiedName ) ) )? (otherlv_6= Semicolon )? + // InternalSolverLanguageParser.g:3332:2: ( ( (lv_containment_0_0= Contains ) )? ( ( ruleQualifiedName ) ) ( (lv_multiplicity_2_0= ruleMultiplicity ) )? ( (lv_name_3_0= RULE_ID ) ) (otherlv_4= Opposite ( ( ruleQualifiedName ) ) )? (otherlv_6= Semicolon )? ) + // InternalSolverLanguageParser.g:3333:3: ( (lv_containment_0_0= Contains ) )? ( ( ruleQualifiedName ) ) ( (lv_multiplicity_2_0= ruleMultiplicity ) )? ( (lv_name_3_0= RULE_ID ) ) (otherlv_4= Opposite ( ( ruleQualifiedName ) ) )? (otherlv_6= Semicolon )? { - // InternalSolverLanguageParser.g:2634:3: ( (lv_containment_0_0= Contains ) )? - int alt30=2; - int LA30_0 = input.LA(1); + // InternalSolverLanguageParser.g:3333:3: ( (lv_containment_0_0= Contains ) )? + int alt39=2; + int LA39_0 = input.LA(1); - if ( (LA30_0==Contains) ) { - alt30=1; + if ( (LA39_0==Contains) ) { + alt39=1; } - switch (alt30) { + switch (alt39) { case 1 : - // InternalSolverLanguageParser.g:2635:4: (lv_containment_0_0= Contains ) + // InternalSolverLanguageParser.g:3334:4: (lv_containment_0_0= Contains ) { - // InternalSolverLanguageParser.g:2635:4: (lv_containment_0_0= Contains ) - // InternalSolverLanguageParser.g:2636:5: lv_containment_0_0= Contains + // InternalSolverLanguageParser.g:3334:4: (lv_containment_0_0= Contains ) + // InternalSolverLanguageParser.g:3335:5: lv_containment_0_0= Contains { lv_containment_0_0=(Token)match(input,Contains,FOLLOW_8); @@ -6838,11 +8474,11 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } - // InternalSolverLanguageParser.g:2648:3: ( ( ruleQualifiedName ) ) - // InternalSolverLanguageParser.g:2649:4: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:3347:3: ( ( ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:3348:4: ( ruleQualifiedName ) { - // InternalSolverLanguageParser.g:2649:4: ( ruleQualifiedName ) - // InternalSolverLanguageParser.g:2650:5: ruleQualifiedName + // InternalSolverLanguageParser.g:3348:4: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:3349:5: ruleQualifiedName { if (current==null) { @@ -6852,7 +8488,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { newCompositeNode(grammarAccess.getMemberDefinitionAccess().getTypeNamedElementCrossReference_1_0()); - pushFollow(FOLLOW_42); + pushFollow(FOLLOW_50); ruleQualifiedName(); state._fsp--; @@ -6866,24 +8502,24 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } - // InternalSolverLanguageParser.g:2664:3: ( (lv_multiplicity_2_0= ruleMultiplicity ) )? - int alt31=2; - int LA31_0 = input.LA(1); + // InternalSolverLanguageParser.g:3363:3: ( (lv_multiplicity_2_0= ruleMultiplicity ) )? + int alt40=2; + int LA40_0 = input.LA(1); - if ( (LA31_0==LeftSquareBracket) ) { - alt31=1; + if ( (LA40_0==LeftSquareBracket) ) { + alt40=1; } - switch (alt31) { + switch (alt40) { case 1 : - // InternalSolverLanguageParser.g:2665:4: (lv_multiplicity_2_0= ruleMultiplicity ) + // InternalSolverLanguageParser.g:3364:4: (lv_multiplicity_2_0= ruleMultiplicity ) { - // InternalSolverLanguageParser.g:2665:4: (lv_multiplicity_2_0= ruleMultiplicity ) - // InternalSolverLanguageParser.g:2666:5: lv_multiplicity_2_0= ruleMultiplicity + // InternalSolverLanguageParser.g:3364:4: (lv_multiplicity_2_0= ruleMultiplicity ) + // InternalSolverLanguageParser.g:3365:5: lv_multiplicity_2_0= ruleMultiplicity { newCompositeNode(grammarAccess.getMemberDefinitionAccess().getMultiplicityMultiplicityParserRuleCall_2_0()); - pushFollow(FOLLOW_38); + pushFollow(FOLLOW_20); lv_multiplicity_2_0=ruleMultiplicity(); state._fsp--; @@ -6908,13 +8544,13 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } - // InternalSolverLanguageParser.g:2683:3: ( (lv_name_3_0= RULE_ID ) ) - // InternalSolverLanguageParser.g:2684:4: (lv_name_3_0= RULE_ID ) + // InternalSolverLanguageParser.g:3382:3: ( (lv_name_3_0= RULE_ID ) ) + // InternalSolverLanguageParser.g:3383:4: (lv_name_3_0= RULE_ID ) { - // InternalSolverLanguageParser.g:2684:4: (lv_name_3_0= RULE_ID ) - // InternalSolverLanguageParser.g:2685:5: lv_name_3_0= RULE_ID + // InternalSolverLanguageParser.g:3383:4: (lv_name_3_0= RULE_ID ) + // InternalSolverLanguageParser.g:3384:5: lv_name_3_0= RULE_ID { - lv_name_3_0=(Token)match(input,RULE_ID,FOLLOW_43); + lv_name_3_0=(Token)match(input,RULE_ID,FOLLOW_51); newLeafNode(lv_name_3_0, grammarAccess.getMemberDefinitionAccess().getNameIDTerminalRuleCall_3_0()); @@ -6934,26 +8570,26 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } - // InternalSolverLanguageParser.g:2701:3: (otherlv_4= Opposite ( ( ruleQualifiedName ) ) )? - int alt32=2; - int LA32_0 = input.LA(1); + // InternalSolverLanguageParser.g:3400:3: (otherlv_4= Opposite ( ( ruleQualifiedName ) ) )? + int alt41=2; + int LA41_0 = input.LA(1); - if ( (LA32_0==Opposite) ) { - alt32=1; + if ( (LA41_0==Opposite) ) { + alt41=1; } - switch (alt32) { + switch (alt41) { case 1 : - // InternalSolverLanguageParser.g:2702:4: otherlv_4= Opposite ( ( ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:3401:4: otherlv_4= Opposite ( ( ruleQualifiedName ) ) { otherlv_4=(Token)match(input,Opposite,FOLLOW_8); newLeafNode(otherlv_4, grammarAccess.getMemberDefinitionAccess().getOppositeKeyword_4_0()); - // InternalSolverLanguageParser.g:2706:4: ( ( ruleQualifiedName ) ) - // InternalSolverLanguageParser.g:2707:5: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:3405:4: ( ( ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:3406:5: ( ruleQualifiedName ) { - // InternalSolverLanguageParser.g:2707:5: ( ruleQualifiedName ) - // InternalSolverLanguageParser.g:2708:6: ruleQualifiedName + // InternalSolverLanguageParser.g:3406:5: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:3407:6: ruleQualifiedName { if (current==null) { @@ -6963,7 +8599,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { newCompositeNode(grammarAccess.getMemberDefinitionAccess().getOppositeNamedElementCrossReference_4_1_0()); - pushFollow(FOLLOW_18); + pushFollow(FOLLOW_26); ruleQualifiedName(); state._fsp--; @@ -6983,16 +8619,16 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } - // InternalSolverLanguageParser.g:2723:3: (otherlv_6= Semicolon )? - int alt33=2; - int LA33_0 = input.LA(1); + // InternalSolverLanguageParser.g:3422:3: (otherlv_6= Semicolon )? + int alt42=2; + int LA42_0 = input.LA(1); - if ( (LA33_0==Semicolon) ) { - alt33=1; + if ( (LA42_0==Semicolon) ) { + alt42=1; } - switch (alt33) { + switch (alt42) { case 1 : - // InternalSolverLanguageParser.g:2724:4: otherlv_6= Semicolon + // InternalSolverLanguageParser.g:3423:4: otherlv_6= Semicolon { otherlv_6=(Token)match(input,Semicolon,FOLLOW_2); @@ -7027,7 +8663,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleMultiplicity" - // InternalSolverLanguageParser.g:2733:1: entryRuleMultiplicity returns [EObject current=null] : iv_ruleMultiplicity= ruleMultiplicity EOF ; + // InternalSolverLanguageParser.g:3432:1: entryRuleMultiplicity returns [EObject current=null] : iv_ruleMultiplicity= ruleMultiplicity EOF ; public final EObject entryRuleMultiplicity() throws RecognitionException { EObject current = null; @@ -7035,8 +8671,8 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { try { - // InternalSolverLanguageParser.g:2733:53: (iv_ruleMultiplicity= ruleMultiplicity EOF ) - // InternalSolverLanguageParser.g:2734:2: iv_ruleMultiplicity= ruleMultiplicity EOF + // InternalSolverLanguageParser.g:3432:53: (iv_ruleMultiplicity= ruleMultiplicity EOF ) + // InternalSolverLanguageParser.g:3433:2: iv_ruleMultiplicity= ruleMultiplicity EOF { newCompositeNode(grammarAccess.getMultiplicityRule()); pushFollow(FOLLOW_1); @@ -7063,7 +8699,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleMultiplicity" - // InternalSolverLanguageParser.g:2740:1: ruleMultiplicity returns [EObject current=null] : (this_ManyMultiplicity_0= ruleManyMultiplicity | this_ExactMultiplicity_1= ruleExactMultiplicity | this_BoundedMultiplicity_2= ruleBoundedMultiplicity ) ; + // InternalSolverLanguageParser.g:3439:1: ruleMultiplicity returns [EObject current=null] : (this_ManyMultiplicity_0= ruleManyMultiplicity | this_ExactMultiplicity_1= ruleExactMultiplicity | this_BoundedMultiplicity_2= ruleBoundedMultiplicity ) ; public final EObject ruleMultiplicity() throws RecognitionException { EObject current = null; @@ -7078,28 +8714,28 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { enterRule(); try { - // InternalSolverLanguageParser.g:2746:2: ( (this_ManyMultiplicity_0= ruleManyMultiplicity | this_ExactMultiplicity_1= ruleExactMultiplicity | this_BoundedMultiplicity_2= ruleBoundedMultiplicity ) ) - // InternalSolverLanguageParser.g:2747:2: (this_ManyMultiplicity_0= ruleManyMultiplicity | this_ExactMultiplicity_1= ruleExactMultiplicity | this_BoundedMultiplicity_2= ruleBoundedMultiplicity ) + // InternalSolverLanguageParser.g:3445:2: ( (this_ManyMultiplicity_0= ruleManyMultiplicity | this_ExactMultiplicity_1= ruleExactMultiplicity | this_BoundedMultiplicity_2= ruleBoundedMultiplicity ) ) + // InternalSolverLanguageParser.g:3446:2: (this_ManyMultiplicity_0= ruleManyMultiplicity | this_ExactMultiplicity_1= ruleExactMultiplicity | this_BoundedMultiplicity_2= ruleBoundedMultiplicity ) { - // InternalSolverLanguageParser.g:2747:2: (this_ManyMultiplicity_0= ruleManyMultiplicity | this_ExactMultiplicity_1= ruleExactMultiplicity | this_BoundedMultiplicity_2= ruleBoundedMultiplicity ) - int alt34=3; - int LA34_0 = input.LA(1); + // InternalSolverLanguageParser.g:3446:2: (this_ManyMultiplicity_0= ruleManyMultiplicity | this_ExactMultiplicity_1= ruleExactMultiplicity | this_BoundedMultiplicity_2= ruleBoundedMultiplicity ) + int alt43=3; + int LA43_0 = input.LA(1); - if ( (LA34_0==LeftSquareBracket) ) { + if ( (LA43_0==LeftSquareBracket) ) { switch ( input.LA(2) ) { case RULE_INT: { - int LA34_2 = input.LA(3); + int LA43_2 = input.LA(3); - if ( (LA34_2==FullStopFullStop) ) { - alt34=3; + if ( (LA43_2==FullStopFullStop) ) { + alt43=3; } - else if ( (LA34_2==RightSquareBracket) ) { - alt34=2; + else if ( (LA43_2==RightSquareBracket) ) { + alt43=2; } else { NoViableAltException nvae = - new NoViableAltException("", 34, 2, input); + new NoViableAltException("", 43, 2, input); throw nvae; } @@ -7107,17 +8743,17 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { break; case Asterisk: { - alt34=2; + alt43=2; } break; case RightSquareBracket: { - alt34=1; + alt43=1; } break; default: NoViableAltException nvae = - new NoViableAltException("", 34, 1, input); + new NoViableAltException("", 43, 1, input); throw nvae; } @@ -7125,13 +8761,13 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } else { NoViableAltException nvae = - new NoViableAltException("", 34, 0, input); + new NoViableAltException("", 43, 0, input); throw nvae; } - switch (alt34) { + switch (alt43) { case 1 : - // InternalSolverLanguageParser.g:2748:3: this_ManyMultiplicity_0= ruleManyMultiplicity + // InternalSolverLanguageParser.g:3447:3: this_ManyMultiplicity_0= ruleManyMultiplicity { newCompositeNode(grammarAccess.getMultiplicityAccess().getManyMultiplicityParserRuleCall_0()); @@ -7149,7 +8785,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } break; case 2 : - // InternalSolverLanguageParser.g:2757:3: this_ExactMultiplicity_1= ruleExactMultiplicity + // InternalSolverLanguageParser.g:3456:3: this_ExactMultiplicity_1= ruleExactMultiplicity { newCompositeNode(grammarAccess.getMultiplicityAccess().getExactMultiplicityParserRuleCall_1()); @@ -7167,7 +8803,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } break; case 3 : - // InternalSolverLanguageParser.g:2766:3: this_BoundedMultiplicity_2= ruleBoundedMultiplicity + // InternalSolverLanguageParser.g:3465:3: this_BoundedMultiplicity_2= ruleBoundedMultiplicity { newCompositeNode(grammarAccess.getMultiplicityAccess().getBoundedMultiplicityParserRuleCall_2()); @@ -7207,7 +8843,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleManyMultiplicity" - // InternalSolverLanguageParser.g:2778:1: entryRuleManyMultiplicity returns [EObject current=null] : iv_ruleManyMultiplicity= ruleManyMultiplicity EOF ; + // InternalSolverLanguageParser.g:3477:1: entryRuleManyMultiplicity returns [EObject current=null] : iv_ruleManyMultiplicity= ruleManyMultiplicity EOF ; public final EObject entryRuleManyMultiplicity() throws RecognitionException { EObject current = null; @@ -7215,8 +8851,8 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { try { - // InternalSolverLanguageParser.g:2778:57: (iv_ruleManyMultiplicity= ruleManyMultiplicity EOF ) - // InternalSolverLanguageParser.g:2779:2: iv_ruleManyMultiplicity= ruleManyMultiplicity EOF + // InternalSolverLanguageParser.g:3477:57: (iv_ruleManyMultiplicity= ruleManyMultiplicity EOF ) + // InternalSolverLanguageParser.g:3478:2: iv_ruleManyMultiplicity= ruleManyMultiplicity EOF { newCompositeNode(grammarAccess.getManyMultiplicityRule()); pushFollow(FOLLOW_1); @@ -7243,7 +8879,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleManyMultiplicity" - // InternalSolverLanguageParser.g:2785:1: ruleManyMultiplicity returns [EObject current=null] : ( () otherlv_1= LeftSquareBracket otherlv_2= RightSquareBracket ) ; + // InternalSolverLanguageParser.g:3484:1: ruleManyMultiplicity returns [EObject current=null] : ( () otherlv_1= LeftSquareBracket otherlv_2= RightSquareBracket ) ; public final EObject ruleManyMultiplicity() throws RecognitionException { EObject current = null; @@ -7254,14 +8890,14 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { enterRule(); try { - // InternalSolverLanguageParser.g:2791:2: ( ( () otherlv_1= LeftSquareBracket otherlv_2= RightSquareBracket ) ) - // InternalSolverLanguageParser.g:2792:2: ( () otherlv_1= LeftSquareBracket otherlv_2= RightSquareBracket ) + // InternalSolverLanguageParser.g:3490:2: ( ( () otherlv_1= LeftSquareBracket otherlv_2= RightSquareBracket ) ) + // InternalSolverLanguageParser.g:3491:2: ( () otherlv_1= LeftSquareBracket otherlv_2= RightSquareBracket ) { - // InternalSolverLanguageParser.g:2792:2: ( () otherlv_1= LeftSquareBracket otherlv_2= RightSquareBracket ) - // InternalSolverLanguageParser.g:2793:3: () otherlv_1= LeftSquareBracket otherlv_2= RightSquareBracket + // InternalSolverLanguageParser.g:3491:2: ( () otherlv_1= LeftSquareBracket otherlv_2= RightSquareBracket ) + // InternalSolverLanguageParser.g:3492:3: () otherlv_1= LeftSquareBracket otherlv_2= RightSquareBracket { - // InternalSolverLanguageParser.g:2793:3: () - // InternalSolverLanguageParser.g:2794:4: + // InternalSolverLanguageParser.g:3492:3: () + // InternalSolverLanguageParser.g:3493:4: { current = forceCreateModelElement( @@ -7271,7 +8907,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } - otherlv_1=(Token)match(input,LeftSquareBracket,FOLLOW_36); + otherlv_1=(Token)match(input,LeftSquareBracket,FOLLOW_45); newLeafNode(otherlv_1, grammarAccess.getManyMultiplicityAccess().getLeftSquareBracketKeyword_1()); @@ -7302,7 +8938,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleExactMultiplicity" - // InternalSolverLanguageParser.g:2812:1: entryRuleExactMultiplicity returns [EObject current=null] : iv_ruleExactMultiplicity= ruleExactMultiplicity EOF ; + // InternalSolverLanguageParser.g:3511:1: entryRuleExactMultiplicity returns [EObject current=null] : iv_ruleExactMultiplicity= ruleExactMultiplicity EOF ; public final EObject entryRuleExactMultiplicity() throws RecognitionException { EObject current = null; @@ -7310,8 +8946,8 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { try { - // InternalSolverLanguageParser.g:2812:58: (iv_ruleExactMultiplicity= ruleExactMultiplicity EOF ) - // InternalSolverLanguageParser.g:2813:2: iv_ruleExactMultiplicity= ruleExactMultiplicity EOF + // InternalSolverLanguageParser.g:3511:58: (iv_ruleExactMultiplicity= ruleExactMultiplicity EOF ) + // InternalSolverLanguageParser.g:3512:2: iv_ruleExactMultiplicity= ruleExactMultiplicity EOF { newCompositeNode(grammarAccess.getExactMultiplicityRule()); pushFollow(FOLLOW_1); @@ -7338,7 +8974,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleExactMultiplicity" - // InternalSolverLanguageParser.g:2819:1: ruleExactMultiplicity returns [EObject current=null] : (otherlv_0= LeftSquareBracket ( (lv_multiplicity_1_0= ruleUpperMultiplicty ) ) otherlv_2= RightSquareBracket ) ; + // InternalSolverLanguageParser.g:3518:1: ruleExactMultiplicity returns [EObject current=null] : (otherlv_0= LeftSquareBracket ( (lv_multiplicity_1_0= ruleUpperMultiplicty ) ) otherlv_2= RightSquareBracket ) ; public final EObject ruleExactMultiplicity() throws RecognitionException { EObject current = null; @@ -7351,26 +8987,26 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { enterRule(); try { - // InternalSolverLanguageParser.g:2825:2: ( (otherlv_0= LeftSquareBracket ( (lv_multiplicity_1_0= ruleUpperMultiplicty ) ) otherlv_2= RightSquareBracket ) ) - // InternalSolverLanguageParser.g:2826:2: (otherlv_0= LeftSquareBracket ( (lv_multiplicity_1_0= ruleUpperMultiplicty ) ) otherlv_2= RightSquareBracket ) + // InternalSolverLanguageParser.g:3524:2: ( (otherlv_0= LeftSquareBracket ( (lv_multiplicity_1_0= ruleUpperMultiplicty ) ) otherlv_2= RightSquareBracket ) ) + // InternalSolverLanguageParser.g:3525:2: (otherlv_0= LeftSquareBracket ( (lv_multiplicity_1_0= ruleUpperMultiplicty ) ) otherlv_2= RightSquareBracket ) { - // InternalSolverLanguageParser.g:2826:2: (otherlv_0= LeftSquareBracket ( (lv_multiplicity_1_0= ruleUpperMultiplicty ) ) otherlv_2= RightSquareBracket ) - // InternalSolverLanguageParser.g:2827:3: otherlv_0= LeftSquareBracket ( (lv_multiplicity_1_0= ruleUpperMultiplicty ) ) otherlv_2= RightSquareBracket + // InternalSolverLanguageParser.g:3525:2: (otherlv_0= LeftSquareBracket ( (lv_multiplicity_1_0= ruleUpperMultiplicty ) ) otherlv_2= RightSquareBracket ) + // InternalSolverLanguageParser.g:3526:3: otherlv_0= LeftSquareBracket ( (lv_multiplicity_1_0= ruleUpperMultiplicty ) ) otherlv_2= RightSquareBracket { - otherlv_0=(Token)match(input,LeftSquareBracket,FOLLOW_44); + otherlv_0=(Token)match(input,LeftSquareBracket,FOLLOW_52); newLeafNode(otherlv_0, grammarAccess.getExactMultiplicityAccess().getLeftSquareBracketKeyword_0()); - // InternalSolverLanguageParser.g:2831:3: ( (lv_multiplicity_1_0= ruleUpperMultiplicty ) ) - // InternalSolverLanguageParser.g:2832:4: (lv_multiplicity_1_0= ruleUpperMultiplicty ) + // InternalSolverLanguageParser.g:3530:3: ( (lv_multiplicity_1_0= ruleUpperMultiplicty ) ) + // InternalSolverLanguageParser.g:3531:4: (lv_multiplicity_1_0= ruleUpperMultiplicty ) { - // InternalSolverLanguageParser.g:2832:4: (lv_multiplicity_1_0= ruleUpperMultiplicty ) - // InternalSolverLanguageParser.g:2833:5: lv_multiplicity_1_0= ruleUpperMultiplicty + // InternalSolverLanguageParser.g:3531:4: (lv_multiplicity_1_0= ruleUpperMultiplicty ) + // InternalSolverLanguageParser.g:3532:5: lv_multiplicity_1_0= ruleUpperMultiplicty { newCompositeNode(grammarAccess.getExactMultiplicityAccess().getMultiplicityUpperMultiplictyParserRuleCall_1_0()); - pushFollow(FOLLOW_36); + pushFollow(FOLLOW_45); lv_multiplicity_1_0=ruleUpperMultiplicty(); state._fsp--; @@ -7419,7 +9055,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleBoundedMultiplicity" - // InternalSolverLanguageParser.g:2858:1: entryRuleBoundedMultiplicity returns [EObject current=null] : iv_ruleBoundedMultiplicity= ruleBoundedMultiplicity EOF ; + // InternalSolverLanguageParser.g:3557:1: entryRuleBoundedMultiplicity returns [EObject current=null] : iv_ruleBoundedMultiplicity= ruleBoundedMultiplicity EOF ; public final EObject entryRuleBoundedMultiplicity() throws RecognitionException { EObject current = null; @@ -7427,8 +9063,8 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { try { - // InternalSolverLanguageParser.g:2858:60: (iv_ruleBoundedMultiplicity= ruleBoundedMultiplicity EOF ) - // InternalSolverLanguageParser.g:2859:2: iv_ruleBoundedMultiplicity= ruleBoundedMultiplicity EOF + // InternalSolverLanguageParser.g:3557:60: (iv_ruleBoundedMultiplicity= ruleBoundedMultiplicity EOF ) + // InternalSolverLanguageParser.g:3558:2: iv_ruleBoundedMultiplicity= ruleBoundedMultiplicity EOF { newCompositeNode(grammarAccess.getBoundedMultiplicityRule()); pushFollow(FOLLOW_1); @@ -7455,7 +9091,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleBoundedMultiplicity" - // InternalSolverLanguageParser.g:2865:1: ruleBoundedMultiplicity returns [EObject current=null] : (otherlv_0= LeftSquareBracket ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= FullStopFullStop ( (lv_upperBound_3_0= ruleUpperMultiplicty ) ) otherlv_4= RightSquareBracket ) ; + // InternalSolverLanguageParser.g:3564:1: ruleBoundedMultiplicity returns [EObject current=null] : (otherlv_0= LeftSquareBracket ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= FullStopFullStop ( (lv_upperBound_3_0= ruleUpperMultiplicty ) ) otherlv_4= RightSquareBracket ) ; public final EObject ruleBoundedMultiplicity() throws RecognitionException { EObject current = null; @@ -7470,23 +9106,23 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { enterRule(); try { - // InternalSolverLanguageParser.g:2871:2: ( (otherlv_0= LeftSquareBracket ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= FullStopFullStop ( (lv_upperBound_3_0= ruleUpperMultiplicty ) ) otherlv_4= RightSquareBracket ) ) - // InternalSolverLanguageParser.g:2872:2: (otherlv_0= LeftSquareBracket ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= FullStopFullStop ( (lv_upperBound_3_0= ruleUpperMultiplicty ) ) otherlv_4= RightSquareBracket ) + // InternalSolverLanguageParser.g:3570:2: ( (otherlv_0= LeftSquareBracket ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= FullStopFullStop ( (lv_upperBound_3_0= ruleUpperMultiplicty ) ) otherlv_4= RightSquareBracket ) ) + // InternalSolverLanguageParser.g:3571:2: (otherlv_0= LeftSquareBracket ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= FullStopFullStop ( (lv_upperBound_3_0= ruleUpperMultiplicty ) ) otherlv_4= RightSquareBracket ) { - // InternalSolverLanguageParser.g:2872:2: (otherlv_0= LeftSquareBracket ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= FullStopFullStop ( (lv_upperBound_3_0= ruleUpperMultiplicty ) ) otherlv_4= RightSquareBracket ) - // InternalSolverLanguageParser.g:2873:3: otherlv_0= LeftSquareBracket ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= FullStopFullStop ( (lv_upperBound_3_0= ruleUpperMultiplicty ) ) otherlv_4= RightSquareBracket + // InternalSolverLanguageParser.g:3571:2: (otherlv_0= LeftSquareBracket ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= FullStopFullStop ( (lv_upperBound_3_0= ruleUpperMultiplicty ) ) otherlv_4= RightSquareBracket ) + // InternalSolverLanguageParser.g:3572:3: otherlv_0= LeftSquareBracket ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= FullStopFullStop ( (lv_upperBound_3_0= ruleUpperMultiplicty ) ) otherlv_4= RightSquareBracket { - otherlv_0=(Token)match(input,LeftSquareBracket,FOLLOW_45); + otherlv_0=(Token)match(input,LeftSquareBracket,FOLLOW_53); newLeafNode(otherlv_0, grammarAccess.getBoundedMultiplicityAccess().getLeftSquareBracketKeyword_0()); - // InternalSolverLanguageParser.g:2877:3: ( (lv_lowerBound_1_0= RULE_INT ) ) - // InternalSolverLanguageParser.g:2878:4: (lv_lowerBound_1_0= RULE_INT ) + // InternalSolverLanguageParser.g:3576:3: ( (lv_lowerBound_1_0= RULE_INT ) ) + // InternalSolverLanguageParser.g:3577:4: (lv_lowerBound_1_0= RULE_INT ) { - // InternalSolverLanguageParser.g:2878:4: (lv_lowerBound_1_0= RULE_INT ) - // InternalSolverLanguageParser.g:2879:5: lv_lowerBound_1_0= RULE_INT + // InternalSolverLanguageParser.g:3577:4: (lv_lowerBound_1_0= RULE_INT ) + // InternalSolverLanguageParser.g:3578:5: lv_lowerBound_1_0= RULE_INT { - lv_lowerBound_1_0=(Token)match(input,RULE_INT,FOLLOW_35); + lv_lowerBound_1_0=(Token)match(input,RULE_INT,FOLLOW_44); newLeafNode(lv_lowerBound_1_0, grammarAccess.getBoundedMultiplicityAccess().getLowerBoundINTTerminalRuleCall_1_0()); @@ -7506,20 +9142,20 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } - otherlv_2=(Token)match(input,FullStopFullStop,FOLLOW_44); + otherlv_2=(Token)match(input,FullStopFullStop,FOLLOW_52); newLeafNode(otherlv_2, grammarAccess.getBoundedMultiplicityAccess().getFullStopFullStopKeyword_2()); - // InternalSolverLanguageParser.g:2899:3: ( (lv_upperBound_3_0= ruleUpperMultiplicty ) ) - // InternalSolverLanguageParser.g:2900:4: (lv_upperBound_3_0= ruleUpperMultiplicty ) + // InternalSolverLanguageParser.g:3598:3: ( (lv_upperBound_3_0= ruleUpperMultiplicty ) ) + // InternalSolverLanguageParser.g:3599:4: (lv_upperBound_3_0= ruleUpperMultiplicty ) { - // InternalSolverLanguageParser.g:2900:4: (lv_upperBound_3_0= ruleUpperMultiplicty ) - // InternalSolverLanguageParser.g:2901:5: lv_upperBound_3_0= ruleUpperMultiplicty + // InternalSolverLanguageParser.g:3599:4: (lv_upperBound_3_0= ruleUpperMultiplicty ) + // InternalSolverLanguageParser.g:3600:5: lv_upperBound_3_0= ruleUpperMultiplicty { newCompositeNode(grammarAccess.getBoundedMultiplicityAccess().getUpperBoundUpperMultiplictyParserRuleCall_3_0()); - pushFollow(FOLLOW_36); + pushFollow(FOLLOW_45); lv_upperBound_3_0=ruleUpperMultiplicty(); state._fsp--; @@ -7568,7 +9204,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleScopeDefinition" - // InternalSolverLanguageParser.g:2926:1: entryRuleScopeDefinition returns [EObject current=null] : iv_ruleScopeDefinition= ruleScopeDefinition EOF ; + // InternalSolverLanguageParser.g:3625:1: entryRuleScopeDefinition returns [EObject current=null] : iv_ruleScopeDefinition= ruleScopeDefinition EOF ; public final EObject entryRuleScopeDefinition() throws RecognitionException { EObject current = null; @@ -7576,8 +9212,8 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { try { - // InternalSolverLanguageParser.g:2926:56: (iv_ruleScopeDefinition= ruleScopeDefinition EOF ) - // InternalSolverLanguageParser.g:2927:2: iv_ruleScopeDefinition= ruleScopeDefinition EOF + // InternalSolverLanguageParser.g:3625:56: (iv_ruleScopeDefinition= ruleScopeDefinition EOF ) + // InternalSolverLanguageParser.g:3626:2: iv_ruleScopeDefinition= ruleScopeDefinition EOF { newCompositeNode(grammarAccess.getScopeDefinitionRule()); pushFollow(FOLLOW_1); @@ -7604,7 +9240,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleScopeDefinition" - // InternalSolverLanguageParser.g:2933:1: ruleScopeDefinition returns [EObject current=null] : (this_ExactScopeDefinition_0= ruleExactScopeDefinition | this_BoundedScopeDefinition_1= ruleBoundedScopeDefinition | this_LowerBoundedScopeDefinition_2= ruleLowerBoundedScopeDefinition ) ; + // InternalSolverLanguageParser.g:3632:1: ruleScopeDefinition returns [EObject current=null] : (this_ExactScopeDefinition_0= ruleExactScopeDefinition | this_BoundedScopeDefinition_1= ruleBoundedScopeDefinition | this_LowerBoundedScopeDefinition_2= ruleLowerBoundedScopeDefinition ) ; public final EObject ruleScopeDefinition() throws RecognitionException { EObject current = null; @@ -7619,15 +9255,15 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { enterRule(); try { - // InternalSolverLanguageParser.g:2939:2: ( (this_ExactScopeDefinition_0= ruleExactScopeDefinition | this_BoundedScopeDefinition_1= ruleBoundedScopeDefinition | this_LowerBoundedScopeDefinition_2= ruleLowerBoundedScopeDefinition ) ) - // InternalSolverLanguageParser.g:2940:2: (this_ExactScopeDefinition_0= ruleExactScopeDefinition | this_BoundedScopeDefinition_1= ruleBoundedScopeDefinition | this_LowerBoundedScopeDefinition_2= ruleLowerBoundedScopeDefinition ) + // InternalSolverLanguageParser.g:3638:2: ( (this_ExactScopeDefinition_0= ruleExactScopeDefinition | this_BoundedScopeDefinition_1= ruleBoundedScopeDefinition | this_LowerBoundedScopeDefinition_2= ruleLowerBoundedScopeDefinition ) ) + // InternalSolverLanguageParser.g:3639:2: (this_ExactScopeDefinition_0= ruleExactScopeDefinition | this_BoundedScopeDefinition_1= ruleBoundedScopeDefinition | this_LowerBoundedScopeDefinition_2= ruleLowerBoundedScopeDefinition ) { - // InternalSolverLanguageParser.g:2940:2: (this_ExactScopeDefinition_0= ruleExactScopeDefinition | this_BoundedScopeDefinition_1= ruleBoundedScopeDefinition | this_LowerBoundedScopeDefinition_2= ruleLowerBoundedScopeDefinition ) - int alt35=3; - alt35 = dfa35.predict(input); - switch (alt35) { + // InternalSolverLanguageParser.g:3639:2: (this_ExactScopeDefinition_0= ruleExactScopeDefinition | this_BoundedScopeDefinition_1= ruleBoundedScopeDefinition | this_LowerBoundedScopeDefinition_2= ruleLowerBoundedScopeDefinition ) + int alt44=3; + alt44 = dfa44.predict(input); + switch (alt44) { case 1 : - // InternalSolverLanguageParser.g:2941:3: this_ExactScopeDefinition_0= ruleExactScopeDefinition + // InternalSolverLanguageParser.g:3640:3: this_ExactScopeDefinition_0= ruleExactScopeDefinition { newCompositeNode(grammarAccess.getScopeDefinitionAccess().getExactScopeDefinitionParserRuleCall_0()); @@ -7645,7 +9281,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } break; case 2 : - // InternalSolverLanguageParser.g:2950:3: this_BoundedScopeDefinition_1= ruleBoundedScopeDefinition + // InternalSolverLanguageParser.g:3649:3: this_BoundedScopeDefinition_1= ruleBoundedScopeDefinition { newCompositeNode(grammarAccess.getScopeDefinitionAccess().getBoundedScopeDefinitionParserRuleCall_1()); @@ -7663,7 +9299,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } break; case 3 : - // InternalSolverLanguageParser.g:2959:3: this_LowerBoundedScopeDefinition_2= ruleLowerBoundedScopeDefinition + // InternalSolverLanguageParser.g:3658:3: this_LowerBoundedScopeDefinition_2= ruleLowerBoundedScopeDefinition { newCompositeNode(grammarAccess.getScopeDefinitionAccess().getLowerBoundedScopeDefinitionParserRuleCall_2()); @@ -7703,7 +9339,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleExactScopeDefinition" - // InternalSolverLanguageParser.g:2971:1: entryRuleExactScopeDefinition returns [EObject current=null] : iv_ruleExactScopeDefinition= ruleExactScopeDefinition EOF ; + // InternalSolverLanguageParser.g:3670:1: entryRuleExactScopeDefinition returns [EObject current=null] : iv_ruleExactScopeDefinition= ruleExactScopeDefinition EOF ; public final EObject entryRuleExactScopeDefinition() throws RecognitionException { EObject current = null; @@ -7711,8 +9347,8 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { try { - // InternalSolverLanguageParser.g:2971:61: (iv_ruleExactScopeDefinition= ruleExactScopeDefinition EOF ) - // InternalSolverLanguageParser.g:2972:2: iv_ruleExactScopeDefinition= ruleExactScopeDefinition EOF + // InternalSolverLanguageParser.g:3670:61: (iv_ruleExactScopeDefinition= ruleExactScopeDefinition EOF ) + // InternalSolverLanguageParser.g:3671:2: iv_ruleExactScopeDefinition= ruleExactScopeDefinition EOF { newCompositeNode(grammarAccess.getExactScopeDefinitionRule()); pushFollow(FOLLOW_1); @@ -7739,7 +9375,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleExactScopeDefinition" - // InternalSolverLanguageParser.g:2978:1: ruleExactScopeDefinition returns [EObject current=null] : (otherlv_0= Scope ( ( ruleQualifiedName ) ) otherlv_2= EqualsSignEqualsSign ( (lv_exactScope_3_0= RULE_INT ) ) ) ; + // InternalSolverLanguageParser.g:3677:1: ruleExactScopeDefinition returns [EObject current=null] : (otherlv_0= Scope ( ( ruleQualifiedName ) ) otherlv_2= EqualsSignEqualsSign ( (lv_exactScope_3_0= RULE_INT ) ) ) ; public final EObject ruleExactScopeDefinition() throws RecognitionException { EObject current = null; @@ -7751,21 +9387,21 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { enterRule(); try { - // InternalSolverLanguageParser.g:2984:2: ( (otherlv_0= Scope ( ( ruleQualifiedName ) ) otherlv_2= EqualsSignEqualsSign ( (lv_exactScope_3_0= RULE_INT ) ) ) ) - // InternalSolverLanguageParser.g:2985:2: (otherlv_0= Scope ( ( ruleQualifiedName ) ) otherlv_2= EqualsSignEqualsSign ( (lv_exactScope_3_0= RULE_INT ) ) ) + // InternalSolverLanguageParser.g:3683:2: ( (otherlv_0= Scope ( ( ruleQualifiedName ) ) otherlv_2= EqualsSignEqualsSign ( (lv_exactScope_3_0= RULE_INT ) ) ) ) + // InternalSolverLanguageParser.g:3684:2: (otherlv_0= Scope ( ( ruleQualifiedName ) ) otherlv_2= EqualsSignEqualsSign ( (lv_exactScope_3_0= RULE_INT ) ) ) { - // InternalSolverLanguageParser.g:2985:2: (otherlv_0= Scope ( ( ruleQualifiedName ) ) otherlv_2= EqualsSignEqualsSign ( (lv_exactScope_3_0= RULE_INT ) ) ) - // InternalSolverLanguageParser.g:2986:3: otherlv_0= Scope ( ( ruleQualifiedName ) ) otherlv_2= EqualsSignEqualsSign ( (lv_exactScope_3_0= RULE_INT ) ) + // InternalSolverLanguageParser.g:3684:2: (otherlv_0= Scope ( ( ruleQualifiedName ) ) otherlv_2= EqualsSignEqualsSign ( (lv_exactScope_3_0= RULE_INT ) ) ) + // InternalSolverLanguageParser.g:3685:3: otherlv_0= Scope ( ( ruleQualifiedName ) ) otherlv_2= EqualsSignEqualsSign ( (lv_exactScope_3_0= RULE_INT ) ) { otherlv_0=(Token)match(input,Scope,FOLLOW_8); newLeafNode(otherlv_0, grammarAccess.getExactScopeDefinitionAccess().getScopeKeyword_0()); - // InternalSolverLanguageParser.g:2990:3: ( ( ruleQualifiedName ) ) - // InternalSolverLanguageParser.g:2991:4: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:3689:3: ( ( ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:3690:4: ( ruleQualifiedName ) { - // InternalSolverLanguageParser.g:2991:4: ( ruleQualifiedName ) - // InternalSolverLanguageParser.g:2992:5: ruleQualifiedName + // InternalSolverLanguageParser.g:3690:4: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:3691:5: ruleQualifiedName { if (current==null) { @@ -7775,7 +9411,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { newCompositeNode(grammarAccess.getExactScopeDefinitionAccess().getTypeNamedElementCrossReference_1_0()); - pushFollow(FOLLOW_46); + pushFollow(FOLLOW_54); ruleQualifiedName(); state._fsp--; @@ -7789,15 +9425,15 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } - otherlv_2=(Token)match(input,EqualsSignEqualsSign,FOLLOW_45); + otherlv_2=(Token)match(input,EqualsSignEqualsSign,FOLLOW_53); newLeafNode(otherlv_2, grammarAccess.getExactScopeDefinitionAccess().getEqualsSignEqualsSignKeyword_2()); - // InternalSolverLanguageParser.g:3010:3: ( (lv_exactScope_3_0= RULE_INT ) ) - // InternalSolverLanguageParser.g:3011:4: (lv_exactScope_3_0= RULE_INT ) + // InternalSolverLanguageParser.g:3709:3: ( (lv_exactScope_3_0= RULE_INT ) ) + // InternalSolverLanguageParser.g:3710:4: (lv_exactScope_3_0= RULE_INT ) { - // InternalSolverLanguageParser.g:3011:4: (lv_exactScope_3_0= RULE_INT ) - // InternalSolverLanguageParser.g:3012:5: lv_exactScope_3_0= RULE_INT + // InternalSolverLanguageParser.g:3710:4: (lv_exactScope_3_0= RULE_INT ) + // InternalSolverLanguageParser.g:3711:5: lv_exactScope_3_0= RULE_INT { lv_exactScope_3_0=(Token)match(input,RULE_INT,FOLLOW_2); @@ -7842,7 +9478,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleBoundedScopeDefinition" - // InternalSolverLanguageParser.g:3032:1: entryRuleBoundedScopeDefinition returns [EObject current=null] : iv_ruleBoundedScopeDefinition= ruleBoundedScopeDefinition EOF ; + // InternalSolverLanguageParser.g:3731:1: entryRuleBoundedScopeDefinition returns [EObject current=null] : iv_ruleBoundedScopeDefinition= ruleBoundedScopeDefinition EOF ; public final EObject entryRuleBoundedScopeDefinition() throws RecognitionException { EObject current = null; @@ -7850,8 +9486,8 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { try { - // InternalSolverLanguageParser.g:3032:63: (iv_ruleBoundedScopeDefinition= ruleBoundedScopeDefinition EOF ) - // InternalSolverLanguageParser.g:3033:2: iv_ruleBoundedScopeDefinition= ruleBoundedScopeDefinition EOF + // InternalSolverLanguageParser.g:3731:63: (iv_ruleBoundedScopeDefinition= ruleBoundedScopeDefinition EOF ) + // InternalSolverLanguageParser.g:3732:2: iv_ruleBoundedScopeDefinition= ruleBoundedScopeDefinition EOF { newCompositeNode(grammarAccess.getBoundedScopeDefinitionRule()); pushFollow(FOLLOW_1); @@ -7878,7 +9514,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleBoundedScopeDefinition" - // InternalSolverLanguageParser.g:3039:1: ruleBoundedScopeDefinition returns [EObject current=null] : (otherlv_0= Scope ( ( ( ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= LessThanSignEqualsSign )? ( ( ruleQualifiedName ) ) otherlv_4= LessThanSignEqualsSign ( (lv_upperBound_5_0= RULE_INT ) ) ) | ( ( (lv_upperBound_6_0= RULE_INT ) ) otherlv_7= GreaterThanSignEqualsSign ( ( ruleQualifiedName ) ) (otherlv_9= GreaterThanSignEqualsSign ( (lv_lowerBound_10_0= RULE_INT ) ) )? ) ) ) ; + // InternalSolverLanguageParser.g:3738:1: ruleBoundedScopeDefinition returns [EObject current=null] : (otherlv_0= Scope ( ( ( ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= LessThanSignEqualsSign )? ( ( ruleQualifiedName ) ) otherlv_4= LessThanSignEqualsSign ( (lv_upperBound_5_0= RULE_INT ) ) ) | ( ( (lv_upperBound_6_0= RULE_INT ) ) otherlv_7= GreaterThanSignEqualsSign ( ( ruleQualifiedName ) ) (otherlv_9= GreaterThanSignEqualsSign ( (lv_lowerBound_10_0= RULE_INT ) ) )? ) ) ) ; public final EObject ruleBoundedScopeDefinition() throws RecognitionException { EObject current = null; @@ -7896,70 +9532,70 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { enterRule(); try { - // InternalSolverLanguageParser.g:3045:2: ( (otherlv_0= Scope ( ( ( ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= LessThanSignEqualsSign )? ( ( ruleQualifiedName ) ) otherlv_4= LessThanSignEqualsSign ( (lv_upperBound_5_0= RULE_INT ) ) ) | ( ( (lv_upperBound_6_0= RULE_INT ) ) otherlv_7= GreaterThanSignEqualsSign ( ( ruleQualifiedName ) ) (otherlv_9= GreaterThanSignEqualsSign ( (lv_lowerBound_10_0= RULE_INT ) ) )? ) ) ) ) - // InternalSolverLanguageParser.g:3046:2: (otherlv_0= Scope ( ( ( ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= LessThanSignEqualsSign )? ( ( ruleQualifiedName ) ) otherlv_4= LessThanSignEqualsSign ( (lv_upperBound_5_0= RULE_INT ) ) ) | ( ( (lv_upperBound_6_0= RULE_INT ) ) otherlv_7= GreaterThanSignEqualsSign ( ( ruleQualifiedName ) ) (otherlv_9= GreaterThanSignEqualsSign ( (lv_lowerBound_10_0= RULE_INT ) ) )? ) ) ) + // InternalSolverLanguageParser.g:3744:2: ( (otherlv_0= Scope ( ( ( ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= LessThanSignEqualsSign )? ( ( ruleQualifiedName ) ) otherlv_4= LessThanSignEqualsSign ( (lv_upperBound_5_0= RULE_INT ) ) ) | ( ( (lv_upperBound_6_0= RULE_INT ) ) otherlv_7= GreaterThanSignEqualsSign ( ( ruleQualifiedName ) ) (otherlv_9= GreaterThanSignEqualsSign ( (lv_lowerBound_10_0= RULE_INT ) ) )? ) ) ) ) + // InternalSolverLanguageParser.g:3745:2: (otherlv_0= Scope ( ( ( ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= LessThanSignEqualsSign )? ( ( ruleQualifiedName ) ) otherlv_4= LessThanSignEqualsSign ( (lv_upperBound_5_0= RULE_INT ) ) ) | ( ( (lv_upperBound_6_0= RULE_INT ) ) otherlv_7= GreaterThanSignEqualsSign ( ( ruleQualifiedName ) ) (otherlv_9= GreaterThanSignEqualsSign ( (lv_lowerBound_10_0= RULE_INT ) ) )? ) ) ) { - // InternalSolverLanguageParser.g:3046:2: (otherlv_0= Scope ( ( ( ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= LessThanSignEqualsSign )? ( ( ruleQualifiedName ) ) otherlv_4= LessThanSignEqualsSign ( (lv_upperBound_5_0= RULE_INT ) ) ) | ( ( (lv_upperBound_6_0= RULE_INT ) ) otherlv_7= GreaterThanSignEqualsSign ( ( ruleQualifiedName ) ) (otherlv_9= GreaterThanSignEqualsSign ( (lv_lowerBound_10_0= RULE_INT ) ) )? ) ) ) - // InternalSolverLanguageParser.g:3047:3: otherlv_0= Scope ( ( ( ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= LessThanSignEqualsSign )? ( ( ruleQualifiedName ) ) otherlv_4= LessThanSignEqualsSign ( (lv_upperBound_5_0= RULE_INT ) ) ) | ( ( (lv_upperBound_6_0= RULE_INT ) ) otherlv_7= GreaterThanSignEqualsSign ( ( ruleQualifiedName ) ) (otherlv_9= GreaterThanSignEqualsSign ( (lv_lowerBound_10_0= RULE_INT ) ) )? ) ) + // InternalSolverLanguageParser.g:3745:2: (otherlv_0= Scope ( ( ( ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= LessThanSignEqualsSign )? ( ( ruleQualifiedName ) ) otherlv_4= LessThanSignEqualsSign ( (lv_upperBound_5_0= RULE_INT ) ) ) | ( ( (lv_upperBound_6_0= RULE_INT ) ) otherlv_7= GreaterThanSignEqualsSign ( ( ruleQualifiedName ) ) (otherlv_9= GreaterThanSignEqualsSign ( (lv_lowerBound_10_0= RULE_INT ) ) )? ) ) ) + // InternalSolverLanguageParser.g:3746:3: otherlv_0= Scope ( ( ( ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= LessThanSignEqualsSign )? ( ( ruleQualifiedName ) ) otherlv_4= LessThanSignEqualsSign ( (lv_upperBound_5_0= RULE_INT ) ) ) | ( ( (lv_upperBound_6_0= RULE_INT ) ) otherlv_7= GreaterThanSignEqualsSign ( ( ruleQualifiedName ) ) (otherlv_9= GreaterThanSignEqualsSign ( (lv_lowerBound_10_0= RULE_INT ) ) )? ) ) { - otherlv_0=(Token)match(input,Scope,FOLLOW_47); + otherlv_0=(Token)match(input,Scope,FOLLOW_55); newLeafNode(otherlv_0, grammarAccess.getBoundedScopeDefinitionAccess().getScopeKeyword_0()); - // InternalSolverLanguageParser.g:3051:3: ( ( ( ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= LessThanSignEqualsSign )? ( ( ruleQualifiedName ) ) otherlv_4= LessThanSignEqualsSign ( (lv_upperBound_5_0= RULE_INT ) ) ) | ( ( (lv_upperBound_6_0= RULE_INT ) ) otherlv_7= GreaterThanSignEqualsSign ( ( ruleQualifiedName ) ) (otherlv_9= GreaterThanSignEqualsSign ( (lv_lowerBound_10_0= RULE_INT ) ) )? ) ) - int alt38=2; - int LA38_0 = input.LA(1); + // InternalSolverLanguageParser.g:3750:3: ( ( ( ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= LessThanSignEqualsSign )? ( ( ruleQualifiedName ) ) otherlv_4= LessThanSignEqualsSign ( (lv_upperBound_5_0= RULE_INT ) ) ) | ( ( (lv_upperBound_6_0= RULE_INT ) ) otherlv_7= GreaterThanSignEqualsSign ( ( ruleQualifiedName ) ) (otherlv_9= GreaterThanSignEqualsSign ( (lv_lowerBound_10_0= RULE_INT ) ) )? ) ) + int alt47=2; + int LA47_0 = input.LA(1); - if ( (LA38_0==RULE_INT) ) { - int LA38_1 = input.LA(2); + if ( (LA47_0==RULE_INT) ) { + int LA47_1 = input.LA(2); - if ( (LA38_1==GreaterThanSignEqualsSign) ) { - alt38=2; + if ( (LA47_1==GreaterThanSignEqualsSign) ) { + alt47=2; } - else if ( (LA38_1==LessThanSignEqualsSign) ) { - alt38=1; + else if ( (LA47_1==LessThanSignEqualsSign) ) { + alt47=1; } else { NoViableAltException nvae = - new NoViableAltException("", 38, 1, input); + new NoViableAltException("", 47, 1, input); throw nvae; } } - else if ( (LA38_0==RULE_QUOTED_ID||LA38_0==RULE_ID) ) { - alt38=1; + else if ( (LA47_0==RULE_QUOTED_ID||LA47_0==RULE_ID) ) { + alt47=1; } else { NoViableAltException nvae = - new NoViableAltException("", 38, 0, input); + new NoViableAltException("", 47, 0, input); throw nvae; } - switch (alt38) { + switch (alt47) { case 1 : - // InternalSolverLanguageParser.g:3052:4: ( ( ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= LessThanSignEqualsSign )? ( ( ruleQualifiedName ) ) otherlv_4= LessThanSignEqualsSign ( (lv_upperBound_5_0= RULE_INT ) ) ) + // InternalSolverLanguageParser.g:3751:4: ( ( ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= LessThanSignEqualsSign )? ( ( ruleQualifiedName ) ) otherlv_4= LessThanSignEqualsSign ( (lv_upperBound_5_0= RULE_INT ) ) ) { - // InternalSolverLanguageParser.g:3052:4: ( ( ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= LessThanSignEqualsSign )? ( ( ruleQualifiedName ) ) otherlv_4= LessThanSignEqualsSign ( (lv_upperBound_5_0= RULE_INT ) ) ) - // InternalSolverLanguageParser.g:3053:5: ( ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= LessThanSignEqualsSign )? ( ( ruleQualifiedName ) ) otherlv_4= LessThanSignEqualsSign ( (lv_upperBound_5_0= RULE_INT ) ) + // InternalSolverLanguageParser.g:3751:4: ( ( ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= LessThanSignEqualsSign )? ( ( ruleQualifiedName ) ) otherlv_4= LessThanSignEqualsSign ( (lv_upperBound_5_0= RULE_INT ) ) ) + // InternalSolverLanguageParser.g:3752:5: ( ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= LessThanSignEqualsSign )? ( ( ruleQualifiedName ) ) otherlv_4= LessThanSignEqualsSign ( (lv_upperBound_5_0= RULE_INT ) ) { - // InternalSolverLanguageParser.g:3053:5: ( ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= LessThanSignEqualsSign )? - int alt36=2; - int LA36_0 = input.LA(1); + // InternalSolverLanguageParser.g:3752:5: ( ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= LessThanSignEqualsSign )? + int alt45=2; + int LA45_0 = input.LA(1); - if ( (LA36_0==RULE_INT) ) { - alt36=1; + if ( (LA45_0==RULE_INT) ) { + alt45=1; } - switch (alt36) { + switch (alt45) { case 1 : - // InternalSolverLanguageParser.g:3054:6: ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= LessThanSignEqualsSign + // InternalSolverLanguageParser.g:3753:6: ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= LessThanSignEqualsSign { - // InternalSolverLanguageParser.g:3054:6: ( (lv_lowerBound_1_0= RULE_INT ) ) - // InternalSolverLanguageParser.g:3055:7: (lv_lowerBound_1_0= RULE_INT ) + // InternalSolverLanguageParser.g:3753:6: ( (lv_lowerBound_1_0= RULE_INT ) ) + // InternalSolverLanguageParser.g:3754:7: (lv_lowerBound_1_0= RULE_INT ) { - // InternalSolverLanguageParser.g:3055:7: (lv_lowerBound_1_0= RULE_INT ) - // InternalSolverLanguageParser.g:3056:8: lv_lowerBound_1_0= RULE_INT + // InternalSolverLanguageParser.g:3754:7: (lv_lowerBound_1_0= RULE_INT ) + // InternalSolverLanguageParser.g:3755:8: lv_lowerBound_1_0= RULE_INT { - lv_lowerBound_1_0=(Token)match(input,RULE_INT,FOLLOW_48); + lv_lowerBound_1_0=(Token)match(input,RULE_INT,FOLLOW_56); newLeafNode(lv_lowerBound_1_0, grammarAccess.getBoundedScopeDefinitionAccess().getLowerBoundINTTerminalRuleCall_1_0_0_0_0()); @@ -7989,11 +9625,11 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } - // InternalSolverLanguageParser.g:3077:5: ( ( ruleQualifiedName ) ) - // InternalSolverLanguageParser.g:3078:6: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:3776:5: ( ( ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:3777:6: ( ruleQualifiedName ) { - // InternalSolverLanguageParser.g:3078:6: ( ruleQualifiedName ) - // InternalSolverLanguageParser.g:3079:7: ruleQualifiedName + // InternalSolverLanguageParser.g:3777:6: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:3778:7: ruleQualifiedName { if (current==null) { @@ -8003,7 +9639,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { newCompositeNode(grammarAccess.getBoundedScopeDefinitionAccess().getTypeNamedElementCrossReference_1_0_1_0()); - pushFollow(FOLLOW_48); + pushFollow(FOLLOW_56); ruleQualifiedName(); state._fsp--; @@ -8017,15 +9653,15 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } - otherlv_4=(Token)match(input,LessThanSignEqualsSign,FOLLOW_45); + otherlv_4=(Token)match(input,LessThanSignEqualsSign,FOLLOW_53); newLeafNode(otherlv_4, grammarAccess.getBoundedScopeDefinitionAccess().getLessThanSignEqualsSignKeyword_1_0_2()); - // InternalSolverLanguageParser.g:3097:5: ( (lv_upperBound_5_0= RULE_INT ) ) - // InternalSolverLanguageParser.g:3098:6: (lv_upperBound_5_0= RULE_INT ) + // InternalSolverLanguageParser.g:3796:5: ( (lv_upperBound_5_0= RULE_INT ) ) + // InternalSolverLanguageParser.g:3797:6: (lv_upperBound_5_0= RULE_INT ) { - // InternalSolverLanguageParser.g:3098:6: (lv_upperBound_5_0= RULE_INT ) - // InternalSolverLanguageParser.g:3099:7: lv_upperBound_5_0= RULE_INT + // InternalSolverLanguageParser.g:3797:6: (lv_upperBound_5_0= RULE_INT ) + // InternalSolverLanguageParser.g:3798:7: lv_upperBound_5_0= RULE_INT { lv_upperBound_5_0=(Token)match(input,RULE_INT,FOLLOW_2); @@ -8054,18 +9690,18 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } break; case 2 : - // InternalSolverLanguageParser.g:3117:4: ( ( (lv_upperBound_6_0= RULE_INT ) ) otherlv_7= GreaterThanSignEqualsSign ( ( ruleQualifiedName ) ) (otherlv_9= GreaterThanSignEqualsSign ( (lv_lowerBound_10_0= RULE_INT ) ) )? ) + // InternalSolverLanguageParser.g:3816:4: ( ( (lv_upperBound_6_0= RULE_INT ) ) otherlv_7= GreaterThanSignEqualsSign ( ( ruleQualifiedName ) ) (otherlv_9= GreaterThanSignEqualsSign ( (lv_lowerBound_10_0= RULE_INT ) ) )? ) { - // InternalSolverLanguageParser.g:3117:4: ( ( (lv_upperBound_6_0= RULE_INT ) ) otherlv_7= GreaterThanSignEqualsSign ( ( ruleQualifiedName ) ) (otherlv_9= GreaterThanSignEqualsSign ( (lv_lowerBound_10_0= RULE_INT ) ) )? ) - // InternalSolverLanguageParser.g:3118:5: ( (lv_upperBound_6_0= RULE_INT ) ) otherlv_7= GreaterThanSignEqualsSign ( ( ruleQualifiedName ) ) (otherlv_9= GreaterThanSignEqualsSign ( (lv_lowerBound_10_0= RULE_INT ) ) )? + // InternalSolverLanguageParser.g:3816:4: ( ( (lv_upperBound_6_0= RULE_INT ) ) otherlv_7= GreaterThanSignEqualsSign ( ( ruleQualifiedName ) ) (otherlv_9= GreaterThanSignEqualsSign ( (lv_lowerBound_10_0= RULE_INT ) ) )? ) + // InternalSolverLanguageParser.g:3817:5: ( (lv_upperBound_6_0= RULE_INT ) ) otherlv_7= GreaterThanSignEqualsSign ( ( ruleQualifiedName ) ) (otherlv_9= GreaterThanSignEqualsSign ( (lv_lowerBound_10_0= RULE_INT ) ) )? { - // InternalSolverLanguageParser.g:3118:5: ( (lv_upperBound_6_0= RULE_INT ) ) - // InternalSolverLanguageParser.g:3119:6: (lv_upperBound_6_0= RULE_INT ) + // InternalSolverLanguageParser.g:3817:5: ( (lv_upperBound_6_0= RULE_INT ) ) + // InternalSolverLanguageParser.g:3818:6: (lv_upperBound_6_0= RULE_INT ) { - // InternalSolverLanguageParser.g:3119:6: (lv_upperBound_6_0= RULE_INT ) - // InternalSolverLanguageParser.g:3120:7: lv_upperBound_6_0= RULE_INT + // InternalSolverLanguageParser.g:3818:6: (lv_upperBound_6_0= RULE_INT ) + // InternalSolverLanguageParser.g:3819:7: lv_upperBound_6_0= RULE_INT { - lv_upperBound_6_0=(Token)match(input,RULE_INT,FOLLOW_49); + lv_upperBound_6_0=(Token)match(input,RULE_INT,FOLLOW_57); newLeafNode(lv_upperBound_6_0, grammarAccess.getBoundedScopeDefinitionAccess().getUpperBoundINTTerminalRuleCall_1_1_0_0()); @@ -8089,11 +9725,11 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { newLeafNode(otherlv_7, grammarAccess.getBoundedScopeDefinitionAccess().getGreaterThanSignEqualsSignKeyword_1_1_1()); - // InternalSolverLanguageParser.g:3140:5: ( ( ruleQualifiedName ) ) - // InternalSolverLanguageParser.g:3141:6: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:3839:5: ( ( ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:3840:6: ( ruleQualifiedName ) { - // InternalSolverLanguageParser.g:3141:6: ( ruleQualifiedName ) - // InternalSolverLanguageParser.g:3142:7: ruleQualifiedName + // InternalSolverLanguageParser.g:3840:6: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:3841:7: ruleQualifiedName { if (current==null) { @@ -8103,7 +9739,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { newCompositeNode(grammarAccess.getBoundedScopeDefinitionAccess().getTypeNamedElementCrossReference_1_1_2_0()); - pushFollow(FOLLOW_50); + pushFollow(FOLLOW_58); ruleQualifiedName(); state._fsp--; @@ -8117,26 +9753,26 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } - // InternalSolverLanguageParser.g:3156:5: (otherlv_9= GreaterThanSignEqualsSign ( (lv_lowerBound_10_0= RULE_INT ) ) )? - int alt37=2; - int LA37_0 = input.LA(1); + // InternalSolverLanguageParser.g:3855:5: (otherlv_9= GreaterThanSignEqualsSign ( (lv_lowerBound_10_0= RULE_INT ) ) )? + int alt46=2; + int LA46_0 = input.LA(1); - if ( (LA37_0==GreaterThanSignEqualsSign) ) { - alt37=1; + if ( (LA46_0==GreaterThanSignEqualsSign) ) { + alt46=1; } - switch (alt37) { + switch (alt46) { case 1 : - // InternalSolverLanguageParser.g:3157:6: otherlv_9= GreaterThanSignEqualsSign ( (lv_lowerBound_10_0= RULE_INT ) ) + // InternalSolverLanguageParser.g:3856:6: otherlv_9= GreaterThanSignEqualsSign ( (lv_lowerBound_10_0= RULE_INT ) ) { - otherlv_9=(Token)match(input,GreaterThanSignEqualsSign,FOLLOW_45); + otherlv_9=(Token)match(input,GreaterThanSignEqualsSign,FOLLOW_53); newLeafNode(otherlv_9, grammarAccess.getBoundedScopeDefinitionAccess().getGreaterThanSignEqualsSignKeyword_1_1_3_0()); - // InternalSolverLanguageParser.g:3161:6: ( (lv_lowerBound_10_0= RULE_INT ) ) - // InternalSolverLanguageParser.g:3162:7: (lv_lowerBound_10_0= RULE_INT ) + // InternalSolverLanguageParser.g:3860:6: ( (lv_lowerBound_10_0= RULE_INT ) ) + // InternalSolverLanguageParser.g:3861:7: (lv_lowerBound_10_0= RULE_INT ) { - // InternalSolverLanguageParser.g:3162:7: (lv_lowerBound_10_0= RULE_INT ) - // InternalSolverLanguageParser.g:3163:8: lv_lowerBound_10_0= RULE_INT + // InternalSolverLanguageParser.g:3861:7: (lv_lowerBound_10_0= RULE_INT ) + // InternalSolverLanguageParser.g:3862:8: lv_lowerBound_10_0= RULE_INT { lv_lowerBound_10_0=(Token)match(input,RULE_INT,FOLLOW_2); @@ -8196,7 +9832,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleLowerBoundedScopeDefinition" - // InternalSolverLanguageParser.g:3186:1: entryRuleLowerBoundedScopeDefinition returns [EObject current=null] : iv_ruleLowerBoundedScopeDefinition= ruleLowerBoundedScopeDefinition EOF ; + // InternalSolverLanguageParser.g:3885:1: entryRuleLowerBoundedScopeDefinition returns [EObject current=null] : iv_ruleLowerBoundedScopeDefinition= ruleLowerBoundedScopeDefinition EOF ; public final EObject entryRuleLowerBoundedScopeDefinition() throws RecognitionException { EObject current = null; @@ -8204,8 +9840,8 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { try { - // InternalSolverLanguageParser.g:3186:68: (iv_ruleLowerBoundedScopeDefinition= ruleLowerBoundedScopeDefinition EOF ) - // InternalSolverLanguageParser.g:3187:2: iv_ruleLowerBoundedScopeDefinition= ruleLowerBoundedScopeDefinition EOF + // InternalSolverLanguageParser.g:3885:68: (iv_ruleLowerBoundedScopeDefinition= ruleLowerBoundedScopeDefinition EOF ) + // InternalSolverLanguageParser.g:3886:2: iv_ruleLowerBoundedScopeDefinition= ruleLowerBoundedScopeDefinition EOF { newCompositeNode(grammarAccess.getLowerBoundedScopeDefinitionRule()); pushFollow(FOLLOW_1); @@ -8232,7 +9868,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleLowerBoundedScopeDefinition" - // InternalSolverLanguageParser.g:3193:1: ruleLowerBoundedScopeDefinition returns [EObject current=null] : (otherlv_0= Scope ( ( ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= LessThanSignEqualsSign ( ( ruleQualifiedName ) ) ) | ( ( ( ruleQualifiedName ) ) otherlv_5= GreaterThanSignEqualsSign ( (lv_lowerBound_6_0= RULE_INT ) ) ) ) ) ; + // InternalSolverLanguageParser.g:3892:1: ruleLowerBoundedScopeDefinition returns [EObject current=null] : (otherlv_0= Scope ( ( ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= LessThanSignEqualsSign ( ( ruleQualifiedName ) ) ) | ( ( ( ruleQualifiedName ) ) otherlv_5= GreaterThanSignEqualsSign ( (lv_lowerBound_6_0= RULE_INT ) ) ) ) ) ; public final EObject ruleLowerBoundedScopeDefinition() throws RecognitionException { EObject current = null; @@ -8246,46 +9882,46 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { enterRule(); try { - // InternalSolverLanguageParser.g:3199:2: ( (otherlv_0= Scope ( ( ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= LessThanSignEqualsSign ( ( ruleQualifiedName ) ) ) | ( ( ( ruleQualifiedName ) ) otherlv_5= GreaterThanSignEqualsSign ( (lv_lowerBound_6_0= RULE_INT ) ) ) ) ) ) - // InternalSolverLanguageParser.g:3200:2: (otherlv_0= Scope ( ( ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= LessThanSignEqualsSign ( ( ruleQualifiedName ) ) ) | ( ( ( ruleQualifiedName ) ) otherlv_5= GreaterThanSignEqualsSign ( (lv_lowerBound_6_0= RULE_INT ) ) ) ) ) + // InternalSolverLanguageParser.g:3898:2: ( (otherlv_0= Scope ( ( ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= LessThanSignEqualsSign ( ( ruleQualifiedName ) ) ) | ( ( ( ruleQualifiedName ) ) otherlv_5= GreaterThanSignEqualsSign ( (lv_lowerBound_6_0= RULE_INT ) ) ) ) ) ) + // InternalSolverLanguageParser.g:3899:2: (otherlv_0= Scope ( ( ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= LessThanSignEqualsSign ( ( ruleQualifiedName ) ) ) | ( ( ( ruleQualifiedName ) ) otherlv_5= GreaterThanSignEqualsSign ( (lv_lowerBound_6_0= RULE_INT ) ) ) ) ) { - // InternalSolverLanguageParser.g:3200:2: (otherlv_0= Scope ( ( ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= LessThanSignEqualsSign ( ( ruleQualifiedName ) ) ) | ( ( ( ruleQualifiedName ) ) otherlv_5= GreaterThanSignEqualsSign ( (lv_lowerBound_6_0= RULE_INT ) ) ) ) ) - // InternalSolverLanguageParser.g:3201:3: otherlv_0= Scope ( ( ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= LessThanSignEqualsSign ( ( ruleQualifiedName ) ) ) | ( ( ( ruleQualifiedName ) ) otherlv_5= GreaterThanSignEqualsSign ( (lv_lowerBound_6_0= RULE_INT ) ) ) ) + // InternalSolverLanguageParser.g:3899:2: (otherlv_0= Scope ( ( ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= LessThanSignEqualsSign ( ( ruleQualifiedName ) ) ) | ( ( ( ruleQualifiedName ) ) otherlv_5= GreaterThanSignEqualsSign ( (lv_lowerBound_6_0= RULE_INT ) ) ) ) ) + // InternalSolverLanguageParser.g:3900:3: otherlv_0= Scope ( ( ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= LessThanSignEqualsSign ( ( ruleQualifiedName ) ) ) | ( ( ( ruleQualifiedName ) ) otherlv_5= GreaterThanSignEqualsSign ( (lv_lowerBound_6_0= RULE_INT ) ) ) ) { - otherlv_0=(Token)match(input,Scope,FOLLOW_47); + otherlv_0=(Token)match(input,Scope,FOLLOW_55); newLeafNode(otherlv_0, grammarAccess.getLowerBoundedScopeDefinitionAccess().getScopeKeyword_0()); - // InternalSolverLanguageParser.g:3205:3: ( ( ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= LessThanSignEqualsSign ( ( ruleQualifiedName ) ) ) | ( ( ( ruleQualifiedName ) ) otherlv_5= GreaterThanSignEqualsSign ( (lv_lowerBound_6_0= RULE_INT ) ) ) ) - int alt39=2; - int LA39_0 = input.LA(1); + // InternalSolverLanguageParser.g:3904:3: ( ( ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= LessThanSignEqualsSign ( ( ruleQualifiedName ) ) ) | ( ( ( ruleQualifiedName ) ) otherlv_5= GreaterThanSignEqualsSign ( (lv_lowerBound_6_0= RULE_INT ) ) ) ) + int alt48=2; + int LA48_0 = input.LA(1); - if ( (LA39_0==RULE_INT) ) { - alt39=1; + if ( (LA48_0==RULE_INT) ) { + alt48=1; } - else if ( (LA39_0==RULE_QUOTED_ID||LA39_0==RULE_ID) ) { - alt39=2; + else if ( (LA48_0==RULE_QUOTED_ID||LA48_0==RULE_ID) ) { + alt48=2; } else { NoViableAltException nvae = - new NoViableAltException("", 39, 0, input); + new NoViableAltException("", 48, 0, input); throw nvae; } - switch (alt39) { + switch (alt48) { case 1 : - // InternalSolverLanguageParser.g:3206:4: ( ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= LessThanSignEqualsSign ( ( ruleQualifiedName ) ) ) + // InternalSolverLanguageParser.g:3905:4: ( ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= LessThanSignEqualsSign ( ( ruleQualifiedName ) ) ) { - // InternalSolverLanguageParser.g:3206:4: ( ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= LessThanSignEqualsSign ( ( ruleQualifiedName ) ) ) - // InternalSolverLanguageParser.g:3207:5: ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= LessThanSignEqualsSign ( ( ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:3905:4: ( ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= LessThanSignEqualsSign ( ( ruleQualifiedName ) ) ) + // InternalSolverLanguageParser.g:3906:5: ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= LessThanSignEqualsSign ( ( ruleQualifiedName ) ) { - // InternalSolverLanguageParser.g:3207:5: ( (lv_lowerBound_1_0= RULE_INT ) ) - // InternalSolverLanguageParser.g:3208:6: (lv_lowerBound_1_0= RULE_INT ) + // InternalSolverLanguageParser.g:3906:5: ( (lv_lowerBound_1_0= RULE_INT ) ) + // InternalSolverLanguageParser.g:3907:6: (lv_lowerBound_1_0= RULE_INT ) { - // InternalSolverLanguageParser.g:3208:6: (lv_lowerBound_1_0= RULE_INT ) - // InternalSolverLanguageParser.g:3209:7: lv_lowerBound_1_0= RULE_INT + // InternalSolverLanguageParser.g:3907:6: (lv_lowerBound_1_0= RULE_INT ) + // InternalSolverLanguageParser.g:3908:7: lv_lowerBound_1_0= RULE_INT { - lv_lowerBound_1_0=(Token)match(input,RULE_INT,FOLLOW_48); + lv_lowerBound_1_0=(Token)match(input,RULE_INT,FOLLOW_56); newLeafNode(lv_lowerBound_1_0, grammarAccess.getLowerBoundedScopeDefinitionAccess().getLowerBoundINTTerminalRuleCall_1_0_0_0()); @@ -8309,11 +9945,11 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { newLeafNode(otherlv_2, grammarAccess.getLowerBoundedScopeDefinitionAccess().getLessThanSignEqualsSignKeyword_1_0_1()); - // InternalSolverLanguageParser.g:3229:5: ( ( ruleQualifiedName ) ) - // InternalSolverLanguageParser.g:3230:6: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:3928:5: ( ( ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:3929:6: ( ruleQualifiedName ) { - // InternalSolverLanguageParser.g:3230:6: ( ruleQualifiedName ) - // InternalSolverLanguageParser.g:3231:7: ruleQualifiedName + // InternalSolverLanguageParser.g:3929:6: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:3930:7: ruleQualifiedName { if (current==null) { @@ -8344,16 +9980,16 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } break; case 2 : - // InternalSolverLanguageParser.g:3247:4: ( ( ( ruleQualifiedName ) ) otherlv_5= GreaterThanSignEqualsSign ( (lv_lowerBound_6_0= RULE_INT ) ) ) + // InternalSolverLanguageParser.g:3946:4: ( ( ( ruleQualifiedName ) ) otherlv_5= GreaterThanSignEqualsSign ( (lv_lowerBound_6_0= RULE_INT ) ) ) { - // InternalSolverLanguageParser.g:3247:4: ( ( ( ruleQualifiedName ) ) otherlv_5= GreaterThanSignEqualsSign ( (lv_lowerBound_6_0= RULE_INT ) ) ) - // InternalSolverLanguageParser.g:3248:5: ( ( ruleQualifiedName ) ) otherlv_5= GreaterThanSignEqualsSign ( (lv_lowerBound_6_0= RULE_INT ) ) + // InternalSolverLanguageParser.g:3946:4: ( ( ( ruleQualifiedName ) ) otherlv_5= GreaterThanSignEqualsSign ( (lv_lowerBound_6_0= RULE_INT ) ) ) + // InternalSolverLanguageParser.g:3947:5: ( ( ruleQualifiedName ) ) otherlv_5= GreaterThanSignEqualsSign ( (lv_lowerBound_6_0= RULE_INT ) ) { - // InternalSolverLanguageParser.g:3248:5: ( ( ruleQualifiedName ) ) - // InternalSolverLanguageParser.g:3249:6: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:3947:5: ( ( ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:3948:6: ( ruleQualifiedName ) { - // InternalSolverLanguageParser.g:3249:6: ( ruleQualifiedName ) - // InternalSolverLanguageParser.g:3250:7: ruleQualifiedName + // InternalSolverLanguageParser.g:3948:6: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:3949:7: ruleQualifiedName { if (current==null) { @@ -8363,7 +9999,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { newCompositeNode(grammarAccess.getLowerBoundedScopeDefinitionAccess().getTypeNamedElementCrossReference_1_1_0_0()); - pushFollow(FOLLOW_49); + pushFollow(FOLLOW_57); ruleQualifiedName(); state._fsp--; @@ -8377,15 +10013,15 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } - otherlv_5=(Token)match(input,GreaterThanSignEqualsSign,FOLLOW_45); + otherlv_5=(Token)match(input,GreaterThanSignEqualsSign,FOLLOW_53); newLeafNode(otherlv_5, grammarAccess.getLowerBoundedScopeDefinitionAccess().getGreaterThanSignEqualsSignKeyword_1_1_1()); - // InternalSolverLanguageParser.g:3268:5: ( (lv_lowerBound_6_0= RULE_INT ) ) - // InternalSolverLanguageParser.g:3269:6: (lv_lowerBound_6_0= RULE_INT ) + // InternalSolverLanguageParser.g:3967:5: ( (lv_lowerBound_6_0= RULE_INT ) ) + // InternalSolverLanguageParser.g:3968:6: (lv_lowerBound_6_0= RULE_INT ) { - // InternalSolverLanguageParser.g:3269:6: (lv_lowerBound_6_0= RULE_INT ) - // InternalSolverLanguageParser.g:3270:7: lv_lowerBound_6_0= RULE_INT + // InternalSolverLanguageParser.g:3968:6: (lv_lowerBound_6_0= RULE_INT ) + // InternalSolverLanguageParser.g:3969:7: lv_lowerBound_6_0= RULE_INT { lv_lowerBound_6_0=(Token)match(input,RULE_INT,FOLLOW_2); @@ -8439,7 +10075,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleObjectiveDefinition" - // InternalSolverLanguageParser.g:3292:1: entryRuleObjectiveDefinition returns [EObject current=null] : iv_ruleObjectiveDefinition= ruleObjectiveDefinition EOF ; + // InternalSolverLanguageParser.g:3991:1: entryRuleObjectiveDefinition returns [EObject current=null] : iv_ruleObjectiveDefinition= ruleObjectiveDefinition EOF ; public final EObject entryRuleObjectiveDefinition() throws RecognitionException { EObject current = null; @@ -8447,8 +10083,8 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { try { - // InternalSolverLanguageParser.g:3292:60: (iv_ruleObjectiveDefinition= ruleObjectiveDefinition EOF ) - // InternalSolverLanguageParser.g:3293:2: iv_ruleObjectiveDefinition= ruleObjectiveDefinition EOF + // InternalSolverLanguageParser.g:3991:60: (iv_ruleObjectiveDefinition= ruleObjectiveDefinition EOF ) + // InternalSolverLanguageParser.g:3992:2: iv_ruleObjectiveDefinition= ruleObjectiveDefinition EOF { newCompositeNode(grammarAccess.getObjectiveDefinitionRule()); pushFollow(FOLLOW_1); @@ -8475,7 +10111,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleObjectiveDefinition" - // InternalSolverLanguageParser.g:3299:1: ruleObjectiveDefinition returns [EObject current=null] : ( ( (lv_kind_0_0= ruleObjectiveKind ) ) ( (lv_objective_1_0= ruleExpression ) ) ) ; + // InternalSolverLanguageParser.g:3998:1: ruleObjectiveDefinition returns [EObject current=null] : ( ( (lv_kind_0_0= ruleObjectiveKind ) ) ( (lv_objective_1_0= ruleExpression ) ) ) ; public final EObject ruleObjectiveDefinition() throws RecognitionException { EObject current = null; @@ -8488,17 +10124,17 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { enterRule(); try { - // InternalSolverLanguageParser.g:3305:2: ( ( ( (lv_kind_0_0= ruleObjectiveKind ) ) ( (lv_objective_1_0= ruleExpression ) ) ) ) - // InternalSolverLanguageParser.g:3306:2: ( ( (lv_kind_0_0= ruleObjectiveKind ) ) ( (lv_objective_1_0= ruleExpression ) ) ) + // InternalSolverLanguageParser.g:4004:2: ( ( ( (lv_kind_0_0= ruleObjectiveKind ) ) ( (lv_objective_1_0= ruleExpression ) ) ) ) + // InternalSolverLanguageParser.g:4005:2: ( ( (lv_kind_0_0= ruleObjectiveKind ) ) ( (lv_objective_1_0= ruleExpression ) ) ) { - // InternalSolverLanguageParser.g:3306:2: ( ( (lv_kind_0_0= ruleObjectiveKind ) ) ( (lv_objective_1_0= ruleExpression ) ) ) - // InternalSolverLanguageParser.g:3307:3: ( (lv_kind_0_0= ruleObjectiveKind ) ) ( (lv_objective_1_0= ruleExpression ) ) + // InternalSolverLanguageParser.g:4005:2: ( ( (lv_kind_0_0= ruleObjectiveKind ) ) ( (lv_objective_1_0= ruleExpression ) ) ) + // InternalSolverLanguageParser.g:4006:3: ( (lv_kind_0_0= ruleObjectiveKind ) ) ( (lv_objective_1_0= ruleExpression ) ) { - // InternalSolverLanguageParser.g:3307:3: ( (lv_kind_0_0= ruleObjectiveKind ) ) - // InternalSolverLanguageParser.g:3308:4: (lv_kind_0_0= ruleObjectiveKind ) + // InternalSolverLanguageParser.g:4006:3: ( (lv_kind_0_0= ruleObjectiveKind ) ) + // InternalSolverLanguageParser.g:4007:4: (lv_kind_0_0= ruleObjectiveKind ) { - // InternalSolverLanguageParser.g:3308:4: (lv_kind_0_0= ruleObjectiveKind ) - // InternalSolverLanguageParser.g:3309:5: lv_kind_0_0= ruleObjectiveKind + // InternalSolverLanguageParser.g:4007:4: (lv_kind_0_0= ruleObjectiveKind ) + // InternalSolverLanguageParser.g:4008:5: lv_kind_0_0= ruleObjectiveKind { newCompositeNode(grammarAccess.getObjectiveDefinitionAccess().getKindObjectiveKindEnumRuleCall_0_0()); @@ -8525,11 +10161,11 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } - // InternalSolverLanguageParser.g:3326:3: ( (lv_objective_1_0= ruleExpression ) ) - // InternalSolverLanguageParser.g:3327:4: (lv_objective_1_0= ruleExpression ) + // InternalSolverLanguageParser.g:4025:3: ( (lv_objective_1_0= ruleExpression ) ) + // InternalSolverLanguageParser.g:4026:4: (lv_objective_1_0= ruleExpression ) { - // InternalSolverLanguageParser.g:3327:4: (lv_objective_1_0= ruleExpression ) - // InternalSolverLanguageParser.g:3328:5: lv_objective_1_0= ruleExpression + // InternalSolverLanguageParser.g:4026:4: (lv_objective_1_0= ruleExpression ) + // InternalSolverLanguageParser.g:4027:5: lv_objective_1_0= ruleExpression { newCompositeNode(grammarAccess.getObjectiveDefinitionAccess().getObjectiveExpressionParserRuleCall_1_0()); @@ -8579,7 +10215,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleUpperMultiplicty" - // InternalSolverLanguageParser.g:3349:1: entryRuleUpperMultiplicty returns [String current=null] : iv_ruleUpperMultiplicty= ruleUpperMultiplicty EOF ; + // InternalSolverLanguageParser.g:4048:1: entryRuleUpperMultiplicty returns [String current=null] : iv_ruleUpperMultiplicty= ruleUpperMultiplicty EOF ; public final String entryRuleUpperMultiplicty() throws RecognitionException { String current = null; @@ -8587,8 +10223,8 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { try { - // InternalSolverLanguageParser.g:3349:56: (iv_ruleUpperMultiplicty= ruleUpperMultiplicty EOF ) - // InternalSolverLanguageParser.g:3350:2: iv_ruleUpperMultiplicty= ruleUpperMultiplicty EOF + // InternalSolverLanguageParser.g:4048:56: (iv_ruleUpperMultiplicty= ruleUpperMultiplicty EOF ) + // InternalSolverLanguageParser.g:4049:2: iv_ruleUpperMultiplicty= ruleUpperMultiplicty EOF { newCompositeNode(grammarAccess.getUpperMultiplictyRule()); pushFollow(FOLLOW_1); @@ -8615,7 +10251,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleUpperMultiplicty" - // InternalSolverLanguageParser.g:3356:1: ruleUpperMultiplicty returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_INT_0= RULE_INT | kw= Asterisk ) ; + // InternalSolverLanguageParser.g:4055:1: ruleUpperMultiplicty returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_INT_0= RULE_INT | kw= Asterisk ) ; public final AntlrDatatypeRuleToken ruleUpperMultiplicty() throws RecognitionException { AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); @@ -8626,28 +10262,28 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { enterRule(); try { - // InternalSolverLanguageParser.g:3362:2: ( (this_INT_0= RULE_INT | kw= Asterisk ) ) - // InternalSolverLanguageParser.g:3363:2: (this_INT_0= RULE_INT | kw= Asterisk ) + // InternalSolverLanguageParser.g:4061:2: ( (this_INT_0= RULE_INT | kw= Asterisk ) ) + // InternalSolverLanguageParser.g:4062:2: (this_INT_0= RULE_INT | kw= Asterisk ) { - // InternalSolverLanguageParser.g:3363:2: (this_INT_0= RULE_INT | kw= Asterisk ) - int alt40=2; - int LA40_0 = input.LA(1); + // InternalSolverLanguageParser.g:4062:2: (this_INT_0= RULE_INT | kw= Asterisk ) + int alt49=2; + int LA49_0 = input.LA(1); - if ( (LA40_0==RULE_INT) ) { - alt40=1; + if ( (LA49_0==RULE_INT) ) { + alt49=1; } - else if ( (LA40_0==Asterisk) ) { - alt40=2; + else if ( (LA49_0==Asterisk) ) { + alt49=2; } else { NoViableAltException nvae = - new NoViableAltException("", 40, 0, input); + new NoViableAltException("", 49, 0, input); throw nvae; } - switch (alt40) { + switch (alt49) { case 1 : - // InternalSolverLanguageParser.g:3364:3: this_INT_0= RULE_INT + // InternalSolverLanguageParser.g:4063:3: this_INT_0= RULE_INT { this_INT_0=(Token)match(input,RULE_INT,FOLLOW_2); @@ -8660,7 +10296,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } break; case 2 : - // InternalSolverLanguageParser.g:3372:3: kw= Asterisk + // InternalSolverLanguageParser.g:4071:3: kw= Asterisk { kw=(Token)match(input,Asterisk,FOLLOW_2); @@ -8693,7 +10329,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleReal" - // InternalSolverLanguageParser.g:3381:1: entryRuleReal returns [String current=null] : iv_ruleReal= ruleReal EOF ; + // InternalSolverLanguageParser.g:4080:1: entryRuleReal returns [String current=null] : iv_ruleReal= ruleReal EOF ; public final String entryRuleReal() throws RecognitionException { String current = null; @@ -8704,8 +10340,8 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens(); try { - // InternalSolverLanguageParser.g:3383:2: (iv_ruleReal= ruleReal EOF ) - // InternalSolverLanguageParser.g:3384:2: iv_ruleReal= ruleReal EOF + // InternalSolverLanguageParser.g:4082:2: (iv_ruleReal= ruleReal EOF ) + // InternalSolverLanguageParser.g:4083:2: iv_ruleReal= ruleReal EOF { newCompositeNode(grammarAccess.getRealRule()); pushFollow(FOLLOW_1); @@ -8735,7 +10371,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleReal" - // InternalSolverLanguageParser.g:3393:1: ruleReal returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_INT_0= RULE_INT (kw= FullStop this_INT_2= RULE_INT )? ) ; + // InternalSolverLanguageParser.g:4092:1: ruleReal returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_INT_0= RULE_INT (kw= FullStop this_INT_2= RULE_INT )? ) ; public final AntlrDatatypeRuleToken ruleReal() throws RecognitionException { AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); @@ -8748,31 +10384,31 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens(); try { - // InternalSolverLanguageParser.g:3400:2: ( (this_INT_0= RULE_INT (kw= FullStop this_INT_2= RULE_INT )? ) ) - // InternalSolverLanguageParser.g:3401:2: (this_INT_0= RULE_INT (kw= FullStop this_INT_2= RULE_INT )? ) + // InternalSolverLanguageParser.g:4099:2: ( (this_INT_0= RULE_INT (kw= FullStop this_INT_2= RULE_INT )? ) ) + // InternalSolverLanguageParser.g:4100:2: (this_INT_0= RULE_INT (kw= FullStop this_INT_2= RULE_INT )? ) { - // InternalSolverLanguageParser.g:3401:2: (this_INT_0= RULE_INT (kw= FullStop this_INT_2= RULE_INT )? ) - // InternalSolverLanguageParser.g:3402:3: this_INT_0= RULE_INT (kw= FullStop this_INT_2= RULE_INT )? + // InternalSolverLanguageParser.g:4100:2: (this_INT_0= RULE_INT (kw= FullStop this_INT_2= RULE_INT )? ) + // InternalSolverLanguageParser.g:4101:3: this_INT_0= RULE_INT (kw= FullStop this_INT_2= RULE_INT )? { - this_INT_0=(Token)match(input,RULE_INT,FOLLOW_51); + this_INT_0=(Token)match(input,RULE_INT,FOLLOW_59); current.merge(this_INT_0); newLeafNode(this_INT_0, grammarAccess.getRealAccess().getINTTerminalRuleCall_0()); - // InternalSolverLanguageParser.g:3409:3: (kw= FullStop this_INT_2= RULE_INT )? - int alt41=2; - int LA41_0 = input.LA(1); + // InternalSolverLanguageParser.g:4108:3: (kw= FullStop this_INT_2= RULE_INT )? + int alt50=2; + int LA50_0 = input.LA(1); - if ( (LA41_0==FullStop) ) { - alt41=1; + if ( (LA50_0==FullStop) ) { + alt50=1; } - switch (alt41) { + switch (alt50) { case 1 : - // InternalSolverLanguageParser.g:3410:4: kw= FullStop this_INT_2= RULE_INT + // InternalSolverLanguageParser.g:4109:4: kw= FullStop this_INT_2= RULE_INT { - kw=(Token)match(input,FullStop,FOLLOW_45); + kw=(Token)match(input,FullStop,FOLLOW_53); current.merge(kw); newLeafNode(kw, grammarAccess.getRealAccess().getFullStopKeyword_1_0()); @@ -8816,7 +10452,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleQualifiedName" - // InternalSolverLanguageParser.g:3430:1: entryRuleQualifiedName returns [String current=null] : iv_ruleQualifiedName= ruleQualifiedName EOF ; + // InternalSolverLanguageParser.g:4129:1: entryRuleQualifiedName returns [String current=null] : iv_ruleQualifiedName= ruleQualifiedName EOF ; public final String entryRuleQualifiedName() throws RecognitionException { String current = null; @@ -8827,8 +10463,8 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens(); try { - // InternalSolverLanguageParser.g:3432:2: (iv_ruleQualifiedName= ruleQualifiedName EOF ) - // InternalSolverLanguageParser.g:3433:2: iv_ruleQualifiedName= ruleQualifiedName EOF + // InternalSolverLanguageParser.g:4131:2: (iv_ruleQualifiedName= ruleQualifiedName EOF ) + // InternalSolverLanguageParser.g:4132:2: iv_ruleQualifiedName= ruleQualifiedName EOF { newCompositeNode(grammarAccess.getQualifiedNameRule()); pushFollow(FOLLOW_1); @@ -8858,7 +10494,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleQualifiedName" - // InternalSolverLanguageParser.g:3442:1: ruleQualifiedName returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : ( (this_ID_0= RULE_ID (kw= FullStop this_ID_2= RULE_ID )* ) | this_QUOTED_ID_3= RULE_QUOTED_ID ) ; + // InternalSolverLanguageParser.g:4141:1: ruleQualifiedName returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : ( (this_ID_0= RULE_ID (kw= FullStop this_ID_2= RULE_ID )* ) | this_QUOTED_ID_3= RULE_QUOTED_ID ) ; public final AntlrDatatypeRuleToken ruleQualifiedName() throws RecognitionException { AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); @@ -8872,60 +10508,60 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens(); try { - // InternalSolverLanguageParser.g:3449:2: ( ( (this_ID_0= RULE_ID (kw= FullStop this_ID_2= RULE_ID )* ) | this_QUOTED_ID_3= RULE_QUOTED_ID ) ) - // InternalSolverLanguageParser.g:3450:2: ( (this_ID_0= RULE_ID (kw= FullStop this_ID_2= RULE_ID )* ) | this_QUOTED_ID_3= RULE_QUOTED_ID ) + // InternalSolverLanguageParser.g:4148:2: ( ( (this_ID_0= RULE_ID (kw= FullStop this_ID_2= RULE_ID )* ) | this_QUOTED_ID_3= RULE_QUOTED_ID ) ) + // InternalSolverLanguageParser.g:4149:2: ( (this_ID_0= RULE_ID (kw= FullStop this_ID_2= RULE_ID )* ) | this_QUOTED_ID_3= RULE_QUOTED_ID ) { - // InternalSolverLanguageParser.g:3450:2: ( (this_ID_0= RULE_ID (kw= FullStop this_ID_2= RULE_ID )* ) | this_QUOTED_ID_3= RULE_QUOTED_ID ) - int alt43=2; - int LA43_0 = input.LA(1); + // InternalSolverLanguageParser.g:4149:2: ( (this_ID_0= RULE_ID (kw= FullStop this_ID_2= RULE_ID )* ) | this_QUOTED_ID_3= RULE_QUOTED_ID ) + int alt52=2; + int LA52_0 = input.LA(1); - if ( (LA43_0==RULE_ID) ) { - alt43=1; + if ( (LA52_0==RULE_ID) ) { + alt52=1; } - else if ( (LA43_0==RULE_QUOTED_ID) ) { - alt43=2; + else if ( (LA52_0==RULE_QUOTED_ID) ) { + alt52=2; } else { NoViableAltException nvae = - new NoViableAltException("", 43, 0, input); + new NoViableAltException("", 52, 0, input); throw nvae; } - switch (alt43) { + switch (alt52) { case 1 : - // InternalSolverLanguageParser.g:3451:3: (this_ID_0= RULE_ID (kw= FullStop this_ID_2= RULE_ID )* ) + // InternalSolverLanguageParser.g:4150:3: (this_ID_0= RULE_ID (kw= FullStop this_ID_2= RULE_ID )* ) { - // InternalSolverLanguageParser.g:3451:3: (this_ID_0= RULE_ID (kw= FullStop this_ID_2= RULE_ID )* ) - // InternalSolverLanguageParser.g:3452:4: this_ID_0= RULE_ID (kw= FullStop this_ID_2= RULE_ID )* + // InternalSolverLanguageParser.g:4150:3: (this_ID_0= RULE_ID (kw= FullStop this_ID_2= RULE_ID )* ) + // InternalSolverLanguageParser.g:4151:4: this_ID_0= RULE_ID (kw= FullStop this_ID_2= RULE_ID )* { - this_ID_0=(Token)match(input,RULE_ID,FOLLOW_51); + this_ID_0=(Token)match(input,RULE_ID,FOLLOW_59); current.merge(this_ID_0); newLeafNode(this_ID_0, grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_0_0()); - // InternalSolverLanguageParser.g:3459:4: (kw= FullStop this_ID_2= RULE_ID )* - loop42: + // InternalSolverLanguageParser.g:4158:4: (kw= FullStop this_ID_2= RULE_ID )* + loop51: do { - int alt42=2; - int LA42_0 = input.LA(1); + int alt51=2; + int LA51_0 = input.LA(1); - if ( (LA42_0==FullStop) ) { - alt42=1; + if ( (LA51_0==FullStop) ) { + alt51=1; } - switch (alt42) { + switch (alt51) { case 1 : - // InternalSolverLanguageParser.g:3460:5: kw= FullStop this_ID_2= RULE_ID + // InternalSolverLanguageParser.g:4159:5: kw= FullStop this_ID_2= RULE_ID { - kw=(Token)match(input,FullStop,FOLLOW_38); + kw=(Token)match(input,FullStop,FOLLOW_20); current.merge(kw); newLeafNode(kw, grammarAccess.getQualifiedNameAccess().getFullStopKeyword_0_1_0()); - this_ID_2=(Token)match(input,RULE_ID,FOLLOW_51); + this_ID_2=(Token)match(input,RULE_ID,FOLLOW_59); current.merge(this_ID_2); @@ -8937,7 +10573,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { break; default : - break loop42; + break loop51; } } while (true); @@ -8948,7 +10584,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } break; case 2 : - // InternalSolverLanguageParser.g:3475:3: this_QUOTED_ID_3= RULE_QUOTED_ID + // InternalSolverLanguageParser.g:4174:3: this_QUOTED_ID_3= RULE_QUOTED_ID { this_QUOTED_ID_3=(Token)match(input,RULE_QUOTED_ID,FOLLOW_2); @@ -8985,72 +10621,28 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR end "ruleQualifiedName" - // $ANTLR start "ruleMetricType" - // InternalSolverLanguageParser.g:3489:1: ruleMetricType returns [Enumerator current=null] : ( (enumLiteral_0= Int ) | (enumLiteral_1= Real ) ) ; - public final Enumerator ruleMetricType() throws RecognitionException { + // $ANTLR start "ruleImplicationOperator" + // InternalSolverLanguageParser.g:4188:1: ruleImplicationOperator returns [Enumerator current=null] : (enumLiteral_0= EqualsSignGreaterThanSign ) ; + public final Enumerator ruleImplicationOperator() throws RecognitionException { Enumerator current = null; Token enumLiteral_0=null; - Token enumLiteral_1=null; enterRule(); try { - // InternalSolverLanguageParser.g:3495:2: ( ( (enumLiteral_0= Int ) | (enumLiteral_1= Real ) ) ) - // InternalSolverLanguageParser.g:3496:2: ( (enumLiteral_0= Int ) | (enumLiteral_1= Real ) ) + // InternalSolverLanguageParser.g:4194:2: ( (enumLiteral_0= EqualsSignGreaterThanSign ) ) + // InternalSolverLanguageParser.g:4195:2: (enumLiteral_0= EqualsSignGreaterThanSign ) { - // InternalSolverLanguageParser.g:3496:2: ( (enumLiteral_0= Int ) | (enumLiteral_1= Real ) ) - int alt44=2; - int LA44_0 = input.LA(1); - - if ( (LA44_0==Int) ) { - alt44=1; - } - else if ( (LA44_0==Real) ) { - alt44=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 44, 0, input); - - throw nvae; - } - switch (alt44) { - case 1 : - // InternalSolverLanguageParser.g:3497:3: (enumLiteral_0= Int ) - { - // InternalSolverLanguageParser.g:3497:3: (enumLiteral_0= Int ) - // InternalSolverLanguageParser.g:3498:4: enumLiteral_0= Int - { - enumLiteral_0=(Token)match(input,Int,FOLLOW_2); - - current = grammarAccess.getMetricTypeAccess().getINTEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); - newLeafNode(enumLiteral_0, grammarAccess.getMetricTypeAccess().getINTEnumLiteralDeclaration_0()); - - - } - - - } - break; - case 2 : - // InternalSolverLanguageParser.g:3505:3: (enumLiteral_1= Real ) - { - // InternalSolverLanguageParser.g:3505:3: (enumLiteral_1= Real ) - // InternalSolverLanguageParser.g:3506:4: enumLiteral_1= Real - { - enumLiteral_1=(Token)match(input,Real,FOLLOW_2); - - current = grammarAccess.getMetricTypeAccess().getREALEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); - newLeafNode(enumLiteral_1, grammarAccess.getMetricTypeAccess().getREALEnumLiteralDeclaration_1()); - - - } - + // InternalSolverLanguageParser.g:4195:2: (enumLiteral_0= EqualsSignGreaterThanSign ) + // InternalSolverLanguageParser.g:4196:3: enumLiteral_0= EqualsSignGreaterThanSign + { + enumLiteral_0=(Token)match(input,EqualsSignGreaterThanSign,FOLLOW_2); - } - break; + current = grammarAccess.getImplicationOperatorAccess().getIMPLIESEnumLiteralDeclaration().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_0, grammarAccess.getImplicationOperatorAccess().getIMPLIESEnumLiteralDeclaration()); + } @@ -9070,11 +10662,11 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } return current; } - // $ANTLR end "ruleMetricType" + // $ANTLR end "ruleImplicationOperator" // $ANTLR start "ruleComparisonOperator" - // InternalSolverLanguageParser.g:3516:1: ruleComparisonOperator returns [Enumerator current=null] : ( (enumLiteral_0= EqualsSignEqualsSign ) | (enumLiteral_1= ExclamationMarkEqualsSign ) | (enumLiteral_2= LessThanSign ) | (enumLiteral_3= LessThanSignEqualsSign ) | (enumLiteral_4= GreaterThanSign ) | (enumLiteral_5= GreaterThanSignEqualsSign ) | (enumLiteral_6= In ) ) ; + // InternalSolverLanguageParser.g:4205:1: ruleComparisonOperator returns [Enumerator current=null] : ( (enumLiteral_0= EqualsSignEqualsSign ) | (enumLiteral_1= ExclamationMarkEqualsSign ) | (enumLiteral_2= LessThanSign ) | (enumLiteral_3= LessThanSignEqualsSign ) | (enumLiteral_4= GreaterThanSign ) | (enumLiteral_5= GreaterThanSignEqualsSign ) | (enumLiteral_6= In ) ) ; public final Enumerator ruleComparisonOperator() throws RecognitionException { Enumerator current = null; @@ -9090,60 +10682,60 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { enterRule(); try { - // InternalSolverLanguageParser.g:3522:2: ( ( (enumLiteral_0= EqualsSignEqualsSign ) | (enumLiteral_1= ExclamationMarkEqualsSign ) | (enumLiteral_2= LessThanSign ) | (enumLiteral_3= LessThanSignEqualsSign ) | (enumLiteral_4= GreaterThanSign ) | (enumLiteral_5= GreaterThanSignEqualsSign ) | (enumLiteral_6= In ) ) ) - // InternalSolverLanguageParser.g:3523:2: ( (enumLiteral_0= EqualsSignEqualsSign ) | (enumLiteral_1= ExclamationMarkEqualsSign ) | (enumLiteral_2= LessThanSign ) | (enumLiteral_3= LessThanSignEqualsSign ) | (enumLiteral_4= GreaterThanSign ) | (enumLiteral_5= GreaterThanSignEqualsSign ) | (enumLiteral_6= In ) ) + // InternalSolverLanguageParser.g:4211:2: ( ( (enumLiteral_0= EqualsSignEqualsSign ) | (enumLiteral_1= ExclamationMarkEqualsSign ) | (enumLiteral_2= LessThanSign ) | (enumLiteral_3= LessThanSignEqualsSign ) | (enumLiteral_4= GreaterThanSign ) | (enumLiteral_5= GreaterThanSignEqualsSign ) | (enumLiteral_6= In ) ) ) + // InternalSolverLanguageParser.g:4212:2: ( (enumLiteral_0= EqualsSignEqualsSign ) | (enumLiteral_1= ExclamationMarkEqualsSign ) | (enumLiteral_2= LessThanSign ) | (enumLiteral_3= LessThanSignEqualsSign ) | (enumLiteral_4= GreaterThanSign ) | (enumLiteral_5= GreaterThanSignEqualsSign ) | (enumLiteral_6= In ) ) { - // InternalSolverLanguageParser.g:3523:2: ( (enumLiteral_0= EqualsSignEqualsSign ) | (enumLiteral_1= ExclamationMarkEqualsSign ) | (enumLiteral_2= LessThanSign ) | (enumLiteral_3= LessThanSignEqualsSign ) | (enumLiteral_4= GreaterThanSign ) | (enumLiteral_5= GreaterThanSignEqualsSign ) | (enumLiteral_6= In ) ) - int alt45=7; + // InternalSolverLanguageParser.g:4212:2: ( (enumLiteral_0= EqualsSignEqualsSign ) | (enumLiteral_1= ExclamationMarkEqualsSign ) | (enumLiteral_2= LessThanSign ) | (enumLiteral_3= LessThanSignEqualsSign ) | (enumLiteral_4= GreaterThanSign ) | (enumLiteral_5= GreaterThanSignEqualsSign ) | (enumLiteral_6= In ) ) + int alt53=7; switch ( input.LA(1) ) { case EqualsSignEqualsSign: { - alt45=1; + alt53=1; } break; case ExclamationMarkEqualsSign: { - alt45=2; + alt53=2; } break; case LessThanSign: { - alt45=3; + alt53=3; } break; case LessThanSignEqualsSign: { - alt45=4; + alt53=4; } break; case GreaterThanSign: { - alt45=5; + alt53=5; } break; case GreaterThanSignEqualsSign: { - alt45=6; + alt53=6; } break; case In: { - alt45=7; + alt53=7; } break; default: NoViableAltException nvae = - new NoViableAltException("", 45, 0, input); + new NoViableAltException("", 53, 0, input); throw nvae; } - switch (alt45) { + switch (alt53) { case 1 : - // InternalSolverLanguageParser.g:3524:3: (enumLiteral_0= EqualsSignEqualsSign ) + // InternalSolverLanguageParser.g:4213:3: (enumLiteral_0= EqualsSignEqualsSign ) { - // InternalSolverLanguageParser.g:3524:3: (enumLiteral_0= EqualsSignEqualsSign ) - // InternalSolverLanguageParser.g:3525:4: enumLiteral_0= EqualsSignEqualsSign + // InternalSolverLanguageParser.g:4213:3: (enumLiteral_0= EqualsSignEqualsSign ) + // InternalSolverLanguageParser.g:4214:4: enumLiteral_0= EqualsSignEqualsSign { enumLiteral_0=(Token)match(input,EqualsSignEqualsSign,FOLLOW_2); @@ -9157,10 +10749,10 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } break; case 2 : - // InternalSolverLanguageParser.g:3532:3: (enumLiteral_1= ExclamationMarkEqualsSign ) + // InternalSolverLanguageParser.g:4221:3: (enumLiteral_1= ExclamationMarkEqualsSign ) { - // InternalSolverLanguageParser.g:3532:3: (enumLiteral_1= ExclamationMarkEqualsSign ) - // InternalSolverLanguageParser.g:3533:4: enumLiteral_1= ExclamationMarkEqualsSign + // InternalSolverLanguageParser.g:4221:3: (enumLiteral_1= ExclamationMarkEqualsSign ) + // InternalSolverLanguageParser.g:4222:4: enumLiteral_1= ExclamationMarkEqualsSign { enumLiteral_1=(Token)match(input,ExclamationMarkEqualsSign,FOLLOW_2); @@ -9174,10 +10766,10 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } break; case 3 : - // InternalSolverLanguageParser.g:3540:3: (enumLiteral_2= LessThanSign ) + // InternalSolverLanguageParser.g:4229:3: (enumLiteral_2= LessThanSign ) { - // InternalSolverLanguageParser.g:3540:3: (enumLiteral_2= LessThanSign ) - // InternalSolverLanguageParser.g:3541:4: enumLiteral_2= LessThanSign + // InternalSolverLanguageParser.g:4229:3: (enumLiteral_2= LessThanSign ) + // InternalSolverLanguageParser.g:4230:4: enumLiteral_2= LessThanSign { enumLiteral_2=(Token)match(input,LessThanSign,FOLLOW_2); @@ -9191,10 +10783,10 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } break; case 4 : - // InternalSolverLanguageParser.g:3548:3: (enumLiteral_3= LessThanSignEqualsSign ) + // InternalSolverLanguageParser.g:4237:3: (enumLiteral_3= LessThanSignEqualsSign ) { - // InternalSolverLanguageParser.g:3548:3: (enumLiteral_3= LessThanSignEqualsSign ) - // InternalSolverLanguageParser.g:3549:4: enumLiteral_3= LessThanSignEqualsSign + // InternalSolverLanguageParser.g:4237:3: (enumLiteral_3= LessThanSignEqualsSign ) + // InternalSolverLanguageParser.g:4238:4: enumLiteral_3= LessThanSignEqualsSign { enumLiteral_3=(Token)match(input,LessThanSignEqualsSign,FOLLOW_2); @@ -9208,10 +10800,10 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } break; case 5 : - // InternalSolverLanguageParser.g:3556:3: (enumLiteral_4= GreaterThanSign ) + // InternalSolverLanguageParser.g:4245:3: (enumLiteral_4= GreaterThanSign ) { - // InternalSolverLanguageParser.g:3556:3: (enumLiteral_4= GreaterThanSign ) - // InternalSolverLanguageParser.g:3557:4: enumLiteral_4= GreaterThanSign + // InternalSolverLanguageParser.g:4245:3: (enumLiteral_4= GreaterThanSign ) + // InternalSolverLanguageParser.g:4246:4: enumLiteral_4= GreaterThanSign { enumLiteral_4=(Token)match(input,GreaterThanSign,FOLLOW_2); @@ -9225,10 +10817,10 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } break; case 6 : - // InternalSolverLanguageParser.g:3564:3: (enumLiteral_5= GreaterThanSignEqualsSign ) + // InternalSolverLanguageParser.g:4253:3: (enumLiteral_5= GreaterThanSignEqualsSign ) { - // InternalSolverLanguageParser.g:3564:3: (enumLiteral_5= GreaterThanSignEqualsSign ) - // InternalSolverLanguageParser.g:3565:4: enumLiteral_5= GreaterThanSignEqualsSign + // InternalSolverLanguageParser.g:4253:3: (enumLiteral_5= GreaterThanSignEqualsSign ) + // InternalSolverLanguageParser.g:4254:4: enumLiteral_5= GreaterThanSignEqualsSign { enumLiteral_5=(Token)match(input,GreaterThanSignEqualsSign,FOLLOW_2); @@ -9242,10 +10834,10 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } break; case 7 : - // InternalSolverLanguageParser.g:3572:3: (enumLiteral_6= In ) + // InternalSolverLanguageParser.g:4261:3: (enumLiteral_6= In ) { - // InternalSolverLanguageParser.g:3572:3: (enumLiteral_6= In ) - // InternalSolverLanguageParser.g:3573:4: enumLiteral_6= In + // InternalSolverLanguageParser.g:4261:3: (enumLiteral_6= In ) + // InternalSolverLanguageParser.g:4262:4: enumLiteral_6= In { enumLiteral_6=(Token)match(input,In,FOLLOW_2); @@ -9281,7 +10873,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleAdditiveBinaryOperator" - // InternalSolverLanguageParser.g:3583:1: ruleAdditiveBinaryOperator returns [Enumerator current=null] : ( (enumLiteral_0= PlusSign ) | (enumLiteral_1= HyphenMinus ) ) ; + // InternalSolverLanguageParser.g:4272:1: ruleAdditiveBinaryOperator returns [Enumerator current=null] : ( (enumLiteral_0= PlusSign ) | (enumLiteral_1= HyphenMinus ) ) ; public final Enumerator ruleAdditiveBinaryOperator() throws RecognitionException { Enumerator current = null; @@ -9292,31 +10884,31 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { enterRule(); try { - // InternalSolverLanguageParser.g:3589:2: ( ( (enumLiteral_0= PlusSign ) | (enumLiteral_1= HyphenMinus ) ) ) - // InternalSolverLanguageParser.g:3590:2: ( (enumLiteral_0= PlusSign ) | (enumLiteral_1= HyphenMinus ) ) + // InternalSolverLanguageParser.g:4278:2: ( ( (enumLiteral_0= PlusSign ) | (enumLiteral_1= HyphenMinus ) ) ) + // InternalSolverLanguageParser.g:4279:2: ( (enumLiteral_0= PlusSign ) | (enumLiteral_1= HyphenMinus ) ) { - // InternalSolverLanguageParser.g:3590:2: ( (enumLiteral_0= PlusSign ) | (enumLiteral_1= HyphenMinus ) ) - int alt46=2; - int LA46_0 = input.LA(1); + // InternalSolverLanguageParser.g:4279:2: ( (enumLiteral_0= PlusSign ) | (enumLiteral_1= HyphenMinus ) ) + int alt54=2; + int LA54_0 = input.LA(1); - if ( (LA46_0==PlusSign) ) { - alt46=1; + if ( (LA54_0==PlusSign) ) { + alt54=1; } - else if ( (LA46_0==HyphenMinus) ) { - alt46=2; + else if ( (LA54_0==HyphenMinus) ) { + alt54=2; } else { NoViableAltException nvae = - new NoViableAltException("", 46, 0, input); + new NoViableAltException("", 54, 0, input); throw nvae; } - switch (alt46) { + switch (alt54) { case 1 : - // InternalSolverLanguageParser.g:3591:3: (enumLiteral_0= PlusSign ) + // InternalSolverLanguageParser.g:4280:3: (enumLiteral_0= PlusSign ) { - // InternalSolverLanguageParser.g:3591:3: (enumLiteral_0= PlusSign ) - // InternalSolverLanguageParser.g:3592:4: enumLiteral_0= PlusSign + // InternalSolverLanguageParser.g:4280:3: (enumLiteral_0= PlusSign ) + // InternalSolverLanguageParser.g:4281:4: enumLiteral_0= PlusSign { enumLiteral_0=(Token)match(input,PlusSign,FOLLOW_2); @@ -9330,10 +10922,10 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } break; case 2 : - // InternalSolverLanguageParser.g:3599:3: (enumLiteral_1= HyphenMinus ) + // InternalSolverLanguageParser.g:4288:3: (enumLiteral_1= HyphenMinus ) { - // InternalSolverLanguageParser.g:3599:3: (enumLiteral_1= HyphenMinus ) - // InternalSolverLanguageParser.g:3600:4: enumLiteral_1= HyphenMinus + // InternalSolverLanguageParser.g:4288:3: (enumLiteral_1= HyphenMinus ) + // InternalSolverLanguageParser.g:4289:4: enumLiteral_1= HyphenMinus { enumLiteral_1=(Token)match(input,HyphenMinus,FOLLOW_2); @@ -9369,7 +10961,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleMultiplicativeBinaryOperator" - // InternalSolverLanguageParser.g:3610:1: ruleMultiplicativeBinaryOperator returns [Enumerator current=null] : ( (enumLiteral_0= Asterisk ) | (enumLiteral_1= Solidus ) ) ; + // InternalSolverLanguageParser.g:4299:1: ruleMultiplicativeBinaryOperator returns [Enumerator current=null] : ( (enumLiteral_0= Asterisk ) | (enumLiteral_1= Solidus ) ) ; public final Enumerator ruleMultiplicativeBinaryOperator() throws RecognitionException { Enumerator current = null; @@ -9380,31 +10972,31 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { enterRule(); try { - // InternalSolverLanguageParser.g:3616:2: ( ( (enumLiteral_0= Asterisk ) | (enumLiteral_1= Solidus ) ) ) - // InternalSolverLanguageParser.g:3617:2: ( (enumLiteral_0= Asterisk ) | (enumLiteral_1= Solidus ) ) + // InternalSolverLanguageParser.g:4305:2: ( ( (enumLiteral_0= Asterisk ) | (enumLiteral_1= Solidus ) ) ) + // InternalSolverLanguageParser.g:4306:2: ( (enumLiteral_0= Asterisk ) | (enumLiteral_1= Solidus ) ) { - // InternalSolverLanguageParser.g:3617:2: ( (enumLiteral_0= Asterisk ) | (enumLiteral_1= Solidus ) ) - int alt47=2; - int LA47_0 = input.LA(1); + // InternalSolverLanguageParser.g:4306:2: ( (enumLiteral_0= Asterisk ) | (enumLiteral_1= Solidus ) ) + int alt55=2; + int LA55_0 = input.LA(1); - if ( (LA47_0==Asterisk) ) { - alt47=1; + if ( (LA55_0==Asterisk) ) { + alt55=1; } - else if ( (LA47_0==Solidus) ) { - alt47=2; + else if ( (LA55_0==Solidus) ) { + alt55=2; } else { NoViableAltException nvae = - new NoViableAltException("", 47, 0, input); + new NoViableAltException("", 55, 0, input); throw nvae; } - switch (alt47) { + switch (alt55) { case 1 : - // InternalSolverLanguageParser.g:3618:3: (enumLiteral_0= Asterisk ) + // InternalSolverLanguageParser.g:4307:3: (enumLiteral_0= Asterisk ) { - // InternalSolverLanguageParser.g:3618:3: (enumLiteral_0= Asterisk ) - // InternalSolverLanguageParser.g:3619:4: enumLiteral_0= Asterisk + // InternalSolverLanguageParser.g:4307:3: (enumLiteral_0= Asterisk ) + // InternalSolverLanguageParser.g:4308:4: enumLiteral_0= Asterisk { enumLiteral_0=(Token)match(input,Asterisk,FOLLOW_2); @@ -9418,10 +11010,10 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } break; case 2 : - // InternalSolverLanguageParser.g:3626:3: (enumLiteral_1= Solidus ) + // InternalSolverLanguageParser.g:4315:3: (enumLiteral_1= Solidus ) { - // InternalSolverLanguageParser.g:3626:3: (enumLiteral_1= Solidus ) - // InternalSolverLanguageParser.g:3627:4: enumLiteral_1= Solidus + // InternalSolverLanguageParser.g:4315:3: (enumLiteral_1= Solidus ) + // InternalSolverLanguageParser.g:4316:4: enumLiteral_1= Solidus { enumLiteral_1=(Token)match(input,Solidus,FOLLOW_2); @@ -9457,7 +11049,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleExponentialOp" - // InternalSolverLanguageParser.g:3637:1: ruleExponentialOp returns [Enumerator current=null] : (enumLiteral_0= CircumflexAccent ) ; + // InternalSolverLanguageParser.g:4326:1: ruleExponentialOp returns [Enumerator current=null] : (enumLiteral_0= CircumflexAccent ) ; public final Enumerator ruleExponentialOp() throws RecognitionException { Enumerator current = null; @@ -9467,11 +11059,11 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { enterRule(); try { - // InternalSolverLanguageParser.g:3643:2: ( (enumLiteral_0= CircumflexAccent ) ) - // InternalSolverLanguageParser.g:3644:2: (enumLiteral_0= CircumflexAccent ) + // InternalSolverLanguageParser.g:4332:2: ( (enumLiteral_0= CircumflexAccent ) ) + // InternalSolverLanguageParser.g:4333:2: (enumLiteral_0= CircumflexAccent ) { - // InternalSolverLanguageParser.g:3644:2: (enumLiteral_0= CircumflexAccent ) - // InternalSolverLanguageParser.g:3645:3: enumLiteral_0= CircumflexAccent + // InternalSolverLanguageParser.g:4333:2: (enumLiteral_0= CircumflexAccent ) + // InternalSolverLanguageParser.g:4334:3: enumLiteral_0= CircumflexAccent { enumLiteral_0=(Token)match(input,CircumflexAccent,FOLLOW_2); @@ -9501,7 +11093,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleUnaryOp" - // InternalSolverLanguageParser.g:3654:1: ruleUnaryOp returns [Enumerator current=null] : ( (enumLiteral_0= ExclamationMark ) | (enumLiteral_1= PlusSign ) | (enumLiteral_2= HyphenMinus ) | (enumLiteral_3= May ) | (enumLiteral_4= Must ) | (enumLiteral_5= Current ) ) ; + // InternalSolverLanguageParser.g:4343:1: ruleUnaryOp returns [Enumerator current=null] : ( (enumLiteral_0= ExclamationMark ) | (enumLiteral_1= PlusSign ) | (enumLiteral_2= HyphenMinus ) | (enumLiteral_3= May ) | (enumLiteral_4= Must ) | (enumLiteral_5= Current ) ) ; public final Enumerator ruleUnaryOp() throws RecognitionException { Enumerator current = null; @@ -9516,55 +11108,55 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { enterRule(); try { - // InternalSolverLanguageParser.g:3660:2: ( ( (enumLiteral_0= ExclamationMark ) | (enumLiteral_1= PlusSign ) | (enumLiteral_2= HyphenMinus ) | (enumLiteral_3= May ) | (enumLiteral_4= Must ) | (enumLiteral_5= Current ) ) ) - // InternalSolverLanguageParser.g:3661:2: ( (enumLiteral_0= ExclamationMark ) | (enumLiteral_1= PlusSign ) | (enumLiteral_2= HyphenMinus ) | (enumLiteral_3= May ) | (enumLiteral_4= Must ) | (enumLiteral_5= Current ) ) + // InternalSolverLanguageParser.g:4349:2: ( ( (enumLiteral_0= ExclamationMark ) | (enumLiteral_1= PlusSign ) | (enumLiteral_2= HyphenMinus ) | (enumLiteral_3= May ) | (enumLiteral_4= Must ) | (enumLiteral_5= Current ) ) ) + // InternalSolverLanguageParser.g:4350:2: ( (enumLiteral_0= ExclamationMark ) | (enumLiteral_1= PlusSign ) | (enumLiteral_2= HyphenMinus ) | (enumLiteral_3= May ) | (enumLiteral_4= Must ) | (enumLiteral_5= Current ) ) { - // InternalSolverLanguageParser.g:3661:2: ( (enumLiteral_0= ExclamationMark ) | (enumLiteral_1= PlusSign ) | (enumLiteral_2= HyphenMinus ) | (enumLiteral_3= May ) | (enumLiteral_4= Must ) | (enumLiteral_5= Current ) ) - int alt48=6; + // InternalSolverLanguageParser.g:4350:2: ( (enumLiteral_0= ExclamationMark ) | (enumLiteral_1= PlusSign ) | (enumLiteral_2= HyphenMinus ) | (enumLiteral_3= May ) | (enumLiteral_4= Must ) | (enumLiteral_5= Current ) ) + int alt56=6; switch ( input.LA(1) ) { case ExclamationMark: { - alt48=1; + alt56=1; } break; case PlusSign: { - alt48=2; + alt56=2; } break; case HyphenMinus: { - alt48=3; + alt56=3; } break; case May: { - alt48=4; + alt56=4; } break; case Must: { - alt48=5; + alt56=5; } break; case Current: { - alt48=6; + alt56=6; } break; default: NoViableAltException nvae = - new NoViableAltException("", 48, 0, input); + new NoViableAltException("", 56, 0, input); throw nvae; } - switch (alt48) { + switch (alt56) { case 1 : - // InternalSolverLanguageParser.g:3662:3: (enumLiteral_0= ExclamationMark ) + // InternalSolverLanguageParser.g:4351:3: (enumLiteral_0= ExclamationMark ) { - // InternalSolverLanguageParser.g:3662:3: (enumLiteral_0= ExclamationMark ) - // InternalSolverLanguageParser.g:3663:4: enumLiteral_0= ExclamationMark + // InternalSolverLanguageParser.g:4351:3: (enumLiteral_0= ExclamationMark ) + // InternalSolverLanguageParser.g:4352:4: enumLiteral_0= ExclamationMark { enumLiteral_0=(Token)match(input,ExclamationMark,FOLLOW_2); @@ -9578,10 +11170,10 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } break; case 2 : - // InternalSolverLanguageParser.g:3670:3: (enumLiteral_1= PlusSign ) + // InternalSolverLanguageParser.g:4359:3: (enumLiteral_1= PlusSign ) { - // InternalSolverLanguageParser.g:3670:3: (enumLiteral_1= PlusSign ) - // InternalSolverLanguageParser.g:3671:4: enumLiteral_1= PlusSign + // InternalSolverLanguageParser.g:4359:3: (enumLiteral_1= PlusSign ) + // InternalSolverLanguageParser.g:4360:4: enumLiteral_1= PlusSign { enumLiteral_1=(Token)match(input,PlusSign,FOLLOW_2); @@ -9595,10 +11187,10 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } break; case 3 : - // InternalSolverLanguageParser.g:3678:3: (enumLiteral_2= HyphenMinus ) + // InternalSolverLanguageParser.g:4367:3: (enumLiteral_2= HyphenMinus ) { - // InternalSolverLanguageParser.g:3678:3: (enumLiteral_2= HyphenMinus ) - // InternalSolverLanguageParser.g:3679:4: enumLiteral_2= HyphenMinus + // InternalSolverLanguageParser.g:4367:3: (enumLiteral_2= HyphenMinus ) + // InternalSolverLanguageParser.g:4368:4: enumLiteral_2= HyphenMinus { enumLiteral_2=(Token)match(input,HyphenMinus,FOLLOW_2); @@ -9612,10 +11204,10 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } break; case 4 : - // InternalSolverLanguageParser.g:3686:3: (enumLiteral_3= May ) + // InternalSolverLanguageParser.g:4375:3: (enumLiteral_3= May ) { - // InternalSolverLanguageParser.g:3686:3: (enumLiteral_3= May ) - // InternalSolverLanguageParser.g:3687:4: enumLiteral_3= May + // InternalSolverLanguageParser.g:4375:3: (enumLiteral_3= May ) + // InternalSolverLanguageParser.g:4376:4: enumLiteral_3= May { enumLiteral_3=(Token)match(input,May,FOLLOW_2); @@ -9629,10 +11221,10 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } break; case 5 : - // InternalSolverLanguageParser.g:3694:3: (enumLiteral_4= Must ) + // InternalSolverLanguageParser.g:4383:3: (enumLiteral_4= Must ) { - // InternalSolverLanguageParser.g:3694:3: (enumLiteral_4= Must ) - // InternalSolverLanguageParser.g:3695:4: enumLiteral_4= Must + // InternalSolverLanguageParser.g:4383:3: (enumLiteral_4= Must ) + // InternalSolverLanguageParser.g:4384:4: enumLiteral_4= Must { enumLiteral_4=(Token)match(input,Must,FOLLOW_2); @@ -9646,10 +11238,10 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } break; case 6 : - // InternalSolverLanguageParser.g:3702:3: (enumLiteral_5= Current ) + // InternalSolverLanguageParser.g:4391:3: (enumLiteral_5= Current ) { - // InternalSolverLanguageParser.g:3702:3: (enumLiteral_5= Current ) - // InternalSolverLanguageParser.g:3703:4: enumLiteral_5= Current + // InternalSolverLanguageParser.g:4391:3: (enumLiteral_5= Current ) + // InternalSolverLanguageParser.g:4392:4: enumLiteral_5= Current { enumLiteral_5=(Token)match(input,Current,FOLLOW_2); @@ -9684,76 +11276,58 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR end "ruleUnaryOp" - // $ANTLR start "ruleAggregationOp" - // InternalSolverLanguageParser.g:3713:1: ruleAggregationOp returns [Enumerator current=null] : ( (enumLiteral_0= Only ) | (enumLiteral_1= Sum ) | (enumLiteral_2= Prod ) | (enumLiteral_3= Avg ) | (enumLiteral_4= Min ) | (enumLiteral_5= Max ) ) ; - public final Enumerator ruleAggregationOp() throws RecognitionException { + // $ANTLR start "ruleQuantifier" + // InternalSolverLanguageParser.g:4402:1: ruleQuantifier returns [Enumerator current=null] : ( (enumLiteral_0= Exists ) | (enumLiteral_1= Forall ) | (enumLiteral_2= Count ) ) ; + public final Enumerator ruleQuantifier() throws RecognitionException { Enumerator current = null; Token enumLiteral_0=null; Token enumLiteral_1=null; Token enumLiteral_2=null; - Token enumLiteral_3=null; - Token enumLiteral_4=null; - Token enumLiteral_5=null; enterRule(); try { - // InternalSolverLanguageParser.g:3719:2: ( ( (enumLiteral_0= Only ) | (enumLiteral_1= Sum ) | (enumLiteral_2= Prod ) | (enumLiteral_3= Avg ) | (enumLiteral_4= Min ) | (enumLiteral_5= Max ) ) ) - // InternalSolverLanguageParser.g:3720:2: ( (enumLiteral_0= Only ) | (enumLiteral_1= Sum ) | (enumLiteral_2= Prod ) | (enumLiteral_3= Avg ) | (enumLiteral_4= Min ) | (enumLiteral_5= Max ) ) + // InternalSolverLanguageParser.g:4408:2: ( ( (enumLiteral_0= Exists ) | (enumLiteral_1= Forall ) | (enumLiteral_2= Count ) ) ) + // InternalSolverLanguageParser.g:4409:2: ( (enumLiteral_0= Exists ) | (enumLiteral_1= Forall ) | (enumLiteral_2= Count ) ) { - // InternalSolverLanguageParser.g:3720:2: ( (enumLiteral_0= Only ) | (enumLiteral_1= Sum ) | (enumLiteral_2= Prod ) | (enumLiteral_3= Avg ) | (enumLiteral_4= Min ) | (enumLiteral_5= Max ) ) - int alt49=6; + // InternalSolverLanguageParser.g:4409:2: ( (enumLiteral_0= Exists ) | (enumLiteral_1= Forall ) | (enumLiteral_2= Count ) ) + int alt57=3; switch ( input.LA(1) ) { - case Only: - { - alt49=1; - } - break; - case Sum: - { - alt49=2; - } - break; - case Prod: - { - alt49=3; - } - break; - case Avg: + case Exists: { - alt49=4; + alt57=1; } break; - case Min: + case Forall: { - alt49=5; + alt57=2; } break; - case Max: + case Count: { - alt49=6; + alt57=3; } break; default: NoViableAltException nvae = - new NoViableAltException("", 49, 0, input); + new NoViableAltException("", 57, 0, input); throw nvae; } - switch (alt49) { + switch (alt57) { case 1 : - // InternalSolverLanguageParser.g:3721:3: (enumLiteral_0= Only ) + // InternalSolverLanguageParser.g:4410:3: (enumLiteral_0= Exists ) { - // InternalSolverLanguageParser.g:3721:3: (enumLiteral_0= Only ) - // InternalSolverLanguageParser.g:3722:4: enumLiteral_0= Only + // InternalSolverLanguageParser.g:4410:3: (enumLiteral_0= Exists ) + // InternalSolverLanguageParser.g:4411:4: enumLiteral_0= Exists { - enumLiteral_0=(Token)match(input,Only,FOLLOW_2); + enumLiteral_0=(Token)match(input,Exists,FOLLOW_2); - current = grammarAccess.getAggregationOpAccess().getONLYEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); - newLeafNode(enumLiteral_0, grammarAccess.getAggregationOpAccess().getONLYEnumLiteralDeclaration_0()); + current = grammarAccess.getQuantifierAccess().getEXISTSEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_0, grammarAccess.getQuantifierAccess().getEXISTSEnumLiteralDeclaration_0()); } @@ -9762,15 +11336,15 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } break; case 2 : - // InternalSolverLanguageParser.g:3729:3: (enumLiteral_1= Sum ) + // InternalSolverLanguageParser.g:4418:3: (enumLiteral_1= Forall ) { - // InternalSolverLanguageParser.g:3729:3: (enumLiteral_1= Sum ) - // InternalSolverLanguageParser.g:3730:4: enumLiteral_1= Sum + // InternalSolverLanguageParser.g:4418:3: (enumLiteral_1= Forall ) + // InternalSolverLanguageParser.g:4419:4: enumLiteral_1= Forall { - enumLiteral_1=(Token)match(input,Sum,FOLLOW_2); + enumLiteral_1=(Token)match(input,Forall,FOLLOW_2); - current = grammarAccess.getAggregationOpAccess().getSUMEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); - newLeafNode(enumLiteral_1, grammarAccess.getAggregationOpAccess().getSUMEnumLiteralDeclaration_1()); + current = grammarAccess.getQuantifierAccess().getFORALLEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_1, grammarAccess.getQuantifierAccess().getFORALLEnumLiteralDeclaration_1()); } @@ -9779,66 +11353,15 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } break; case 3 : - // InternalSolverLanguageParser.g:3737:3: (enumLiteral_2= Prod ) - { - // InternalSolverLanguageParser.g:3737:3: (enumLiteral_2= Prod ) - // InternalSolverLanguageParser.g:3738:4: enumLiteral_2= Prod - { - enumLiteral_2=(Token)match(input,Prod,FOLLOW_2); - - current = grammarAccess.getAggregationOpAccess().getPRODEnumLiteralDeclaration_2().getEnumLiteral().getInstance(); - newLeafNode(enumLiteral_2, grammarAccess.getAggregationOpAccess().getPRODEnumLiteralDeclaration_2()); - - - } - - - } - break; - case 4 : - // InternalSolverLanguageParser.g:3745:3: (enumLiteral_3= Avg ) - { - // InternalSolverLanguageParser.g:3745:3: (enumLiteral_3= Avg ) - // InternalSolverLanguageParser.g:3746:4: enumLiteral_3= Avg - { - enumLiteral_3=(Token)match(input,Avg,FOLLOW_2); - - current = grammarAccess.getAggregationOpAccess().getAVGEnumLiteralDeclaration_3().getEnumLiteral().getInstance(); - newLeafNode(enumLiteral_3, grammarAccess.getAggregationOpAccess().getAVGEnumLiteralDeclaration_3()); - - - } - - - } - break; - case 5 : - // InternalSolverLanguageParser.g:3753:3: (enumLiteral_4= Min ) - { - // InternalSolverLanguageParser.g:3753:3: (enumLiteral_4= Min ) - // InternalSolverLanguageParser.g:3754:4: enumLiteral_4= Min - { - enumLiteral_4=(Token)match(input,Min,FOLLOW_2); - - current = grammarAccess.getAggregationOpAccess().getMINEnumLiteralDeclaration_4().getEnumLiteral().getInstance(); - newLeafNode(enumLiteral_4, grammarAccess.getAggregationOpAccess().getMINEnumLiteralDeclaration_4()); - - - } - - - } - break; - case 6 : - // InternalSolverLanguageParser.g:3761:3: (enumLiteral_5= Max ) + // InternalSolverLanguageParser.g:4426:3: (enumLiteral_2= Count ) { - // InternalSolverLanguageParser.g:3761:3: (enumLiteral_5= Max ) - // InternalSolverLanguageParser.g:3762:4: enumLiteral_5= Max + // InternalSolverLanguageParser.g:4426:3: (enumLiteral_2= Count ) + // InternalSolverLanguageParser.g:4427:4: enumLiteral_2= Count { - enumLiteral_5=(Token)match(input,Max,FOLLOW_2); + enumLiteral_2=(Token)match(input,Count,FOLLOW_2); - current = grammarAccess.getAggregationOpAccess().getMAXEnumLiteralDeclaration_5().getEnumLiteral().getInstance(); - newLeafNode(enumLiteral_5, grammarAccess.getAggregationOpAccess().getMAXEnumLiteralDeclaration_5()); + current = grammarAccess.getQuantifierAccess().getCOUNTEnumLiteralDeclaration_2().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_2, grammarAccess.getQuantifierAccess().getCOUNTEnumLiteralDeclaration_2()); } @@ -9865,11 +11388,11 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } return current; } - // $ANTLR end "ruleAggregationOp" + // $ANTLR end "ruleQuantifier" // $ANTLR start "ruleLogicValue" - // InternalSolverLanguageParser.g:3772:1: ruleLogicValue returns [Enumerator current=null] : ( (enumLiteral_0= True ) | (enumLiteral_1= False ) | (enumLiteral_2= Unknown ) | (enumLiteral_3= Error ) ) ; + // InternalSolverLanguageParser.g:4437:1: ruleLogicValue returns [Enumerator current=null] : ( (enumLiteral_0= True ) | (enumLiteral_1= False ) | (enumLiteral_2= Unknown ) | (enumLiteral_3= Error ) ) ; public final Enumerator ruleLogicValue() throws RecognitionException { Enumerator current = null; @@ -9882,45 +11405,45 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { enterRule(); try { - // InternalSolverLanguageParser.g:3778:2: ( ( (enumLiteral_0= True ) | (enumLiteral_1= False ) | (enumLiteral_2= Unknown ) | (enumLiteral_3= Error ) ) ) - // InternalSolverLanguageParser.g:3779:2: ( (enumLiteral_0= True ) | (enumLiteral_1= False ) | (enumLiteral_2= Unknown ) | (enumLiteral_3= Error ) ) + // InternalSolverLanguageParser.g:4443:2: ( ( (enumLiteral_0= True ) | (enumLiteral_1= False ) | (enumLiteral_2= Unknown ) | (enumLiteral_3= Error ) ) ) + // InternalSolverLanguageParser.g:4444:2: ( (enumLiteral_0= True ) | (enumLiteral_1= False ) | (enumLiteral_2= Unknown ) | (enumLiteral_3= Error ) ) { - // InternalSolverLanguageParser.g:3779:2: ( (enumLiteral_0= True ) | (enumLiteral_1= False ) | (enumLiteral_2= Unknown ) | (enumLiteral_3= Error ) ) - int alt50=4; + // InternalSolverLanguageParser.g:4444:2: ( (enumLiteral_0= True ) | (enumLiteral_1= False ) | (enumLiteral_2= Unknown ) | (enumLiteral_3= Error ) ) + int alt58=4; switch ( input.LA(1) ) { case True: { - alt50=1; + alt58=1; } break; case False: { - alt50=2; + alt58=2; } break; case Unknown: { - alt50=3; + alt58=3; } break; case Error: { - alt50=4; + alt58=4; } break; default: NoViableAltException nvae = - new NoViableAltException("", 50, 0, input); + new NoViableAltException("", 58, 0, input); throw nvae; } - switch (alt50) { + switch (alt58) { case 1 : - // InternalSolverLanguageParser.g:3780:3: (enumLiteral_0= True ) + // InternalSolverLanguageParser.g:4445:3: (enumLiteral_0= True ) { - // InternalSolverLanguageParser.g:3780:3: (enumLiteral_0= True ) - // InternalSolverLanguageParser.g:3781:4: enumLiteral_0= True + // InternalSolverLanguageParser.g:4445:3: (enumLiteral_0= True ) + // InternalSolverLanguageParser.g:4446:4: enumLiteral_0= True { enumLiteral_0=(Token)match(input,True,FOLLOW_2); @@ -9934,10 +11457,10 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } break; case 2 : - // InternalSolverLanguageParser.g:3788:3: (enumLiteral_1= False ) + // InternalSolverLanguageParser.g:4453:3: (enumLiteral_1= False ) { - // InternalSolverLanguageParser.g:3788:3: (enumLiteral_1= False ) - // InternalSolverLanguageParser.g:3789:4: enumLiteral_1= False + // InternalSolverLanguageParser.g:4453:3: (enumLiteral_1= False ) + // InternalSolverLanguageParser.g:4454:4: enumLiteral_1= False { enumLiteral_1=(Token)match(input,False,FOLLOW_2); @@ -9951,10 +11474,10 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } break; case 3 : - // InternalSolverLanguageParser.g:3796:3: (enumLiteral_2= Unknown ) + // InternalSolverLanguageParser.g:4461:3: (enumLiteral_2= Unknown ) { - // InternalSolverLanguageParser.g:3796:3: (enumLiteral_2= Unknown ) - // InternalSolverLanguageParser.g:3797:4: enumLiteral_2= Unknown + // InternalSolverLanguageParser.g:4461:3: (enumLiteral_2= Unknown ) + // InternalSolverLanguageParser.g:4462:4: enumLiteral_2= Unknown { enumLiteral_2=(Token)match(input,Unknown,FOLLOW_2); @@ -9968,10 +11491,10 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } break; case 4 : - // InternalSolverLanguageParser.g:3804:3: (enumLiteral_3= Error ) + // InternalSolverLanguageParser.g:4469:3: (enumLiteral_3= Error ) { - // InternalSolverLanguageParser.g:3804:3: (enumLiteral_3= Error ) - // InternalSolverLanguageParser.g:3805:4: enumLiteral_3= Error + // InternalSolverLanguageParser.g:4469:3: (enumLiteral_3= Error ) + // InternalSolverLanguageParser.g:4470:4: enumLiteral_3= Error { enumLiteral_3=(Token)match(input,Error,FOLLOW_2); @@ -10007,7 +11530,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleObjectiveKind" - // InternalSolverLanguageParser.g:3815:1: ruleObjectiveKind returns [Enumerator current=null] : ( (enumLiteral_0= Minimize ) | (enumLiteral_1= Maximize ) ) ; + // InternalSolverLanguageParser.g:4480:1: ruleObjectiveKind returns [Enumerator current=null] : ( (enumLiteral_0= Minimize ) | (enumLiteral_1= Maximize ) ) ; public final Enumerator ruleObjectiveKind() throws RecognitionException { Enumerator current = null; @@ -10018,31 +11541,31 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { enterRule(); try { - // InternalSolverLanguageParser.g:3821:2: ( ( (enumLiteral_0= Minimize ) | (enumLiteral_1= Maximize ) ) ) - // InternalSolverLanguageParser.g:3822:2: ( (enumLiteral_0= Minimize ) | (enumLiteral_1= Maximize ) ) + // InternalSolverLanguageParser.g:4486:2: ( ( (enumLiteral_0= Minimize ) | (enumLiteral_1= Maximize ) ) ) + // InternalSolverLanguageParser.g:4487:2: ( (enumLiteral_0= Minimize ) | (enumLiteral_1= Maximize ) ) { - // InternalSolverLanguageParser.g:3822:2: ( (enumLiteral_0= Minimize ) | (enumLiteral_1= Maximize ) ) - int alt51=2; - int LA51_0 = input.LA(1); + // InternalSolverLanguageParser.g:4487:2: ( (enumLiteral_0= Minimize ) | (enumLiteral_1= Maximize ) ) + int alt59=2; + int LA59_0 = input.LA(1); - if ( (LA51_0==Minimize) ) { - alt51=1; + if ( (LA59_0==Minimize) ) { + alt59=1; } - else if ( (LA51_0==Maximize) ) { - alt51=2; + else if ( (LA59_0==Maximize) ) { + alt59=2; } else { NoViableAltException nvae = - new NoViableAltException("", 51, 0, input); + new NoViableAltException("", 59, 0, input); throw nvae; } - switch (alt51) { + switch (alt59) { case 1 : - // InternalSolverLanguageParser.g:3823:3: (enumLiteral_0= Minimize ) + // InternalSolverLanguageParser.g:4488:3: (enumLiteral_0= Minimize ) { - // InternalSolverLanguageParser.g:3823:3: (enumLiteral_0= Minimize ) - // InternalSolverLanguageParser.g:3824:4: enumLiteral_0= Minimize + // InternalSolverLanguageParser.g:4488:3: (enumLiteral_0= Minimize ) + // InternalSolverLanguageParser.g:4489:4: enumLiteral_0= Minimize { enumLiteral_0=(Token)match(input,Minimize,FOLLOW_2); @@ -10056,10 +11579,10 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } break; case 2 : - // InternalSolverLanguageParser.g:3831:3: (enumLiteral_1= Maximize ) + // InternalSolverLanguageParser.g:4496:3: (enumLiteral_1= Maximize ) { - // InternalSolverLanguageParser.g:3831:3: (enumLiteral_1= Maximize ) - // InternalSolverLanguageParser.g:3832:4: enumLiteral_1= Maximize + // InternalSolverLanguageParser.g:4496:3: (enumLiteral_1= Maximize ) + // InternalSolverLanguageParser.g:4497:4: enumLiteral_1= Maximize { enumLiteral_1=(Token)match(input,Maximize,FOLLOW_2); @@ -10097,28 +11620,43 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { protected DFA2 dfa2 = new DFA2(this); - protected DFA20 dfa20 = new DFA20(this); - protected DFA24 dfa24 = new DFA24(this); - protected DFA35 dfa35 = new DFA35(this); - static final String dfa_1s = "\15\uffff"; - static final String dfa_2s = "\1\5\1\uffff\1\5\2\uffff\1\36\7\uffff"; - static final String dfa_3s = "\1\123\1\uffff\1\122\2\uffff\1\122\7\uffff"; - static final String dfa_4s = "\1\uffff\1\1\1\uffff\1\2\1\4\1\uffff\1\6\1\10\1\11\1\12\1\3\1\5\1\7"; - static final String dfa_5s = "\15\uffff}>"; + protected DFA23 dfa23 = new DFA23(this); + protected DFA29 dfa29 = new DFA29(this); + protected DFA33 dfa33 = new DFA33(this); + protected DFA44 dfa44 = new DFA44(this); + static final String dfa_1s = "\33\uffff"; + static final String dfa_2s = "\1\4\1\uffff\2\40\1\4\2\uffff\1\7\3\uffff\1\105\2\uffff\2\54\1\uffff\1\40\1\105\2\54\1\uffff\1\54\1\105\2\uffff\1\54"; + static final String dfa_3s = "\1\106\1\uffff\3\105\2\uffff\1\105\3\uffff\1\105\2\uffff\2\105\1\uffff\2\105\2\74\1\uffff\2\105\2\uffff\1\74"; + static final String dfa_4s = "\1\uffff\1\1\3\uffff\1\2\1\4\1\uffff\1\12\1\13\1\14\1\uffff\1\5\1\3\2\uffff\1\11\4\uffff\1\6\2\uffff\1\7\1\10\1\uffff"; + static final String dfa_5s = "\33\uffff}>"; static final String[] dfa_6s = { - "\1\3\1\7\1\uffff\2\11\3\uffff\1\1\1\4\1\uffff\1\1\1\uffff\1\5\1\7\2\1\1\2\1\1\1\10\2\uffff\3\1\1\6\1\uffff\1\1\5\uffff\2\1\1\6\4\1\11\uffff\1\1\1\uffff\2\1\2\uffff\1\1\1\uffff\1\1\7\uffff\1\1\5\uffff\2\1\4\uffff\2\1", + "\1\5\1\10\2\uffff\2\12\1\uffff\1\1\1\6\1\uffff\2\1\1\7\1\1\1\10\2\1\1\4\1\1\1\11\1\uffff\1\1\1\uffff\1\1\1\uffff\3\1\11\uffff\1\1\1\uffff\2\1\2\uffff\1\1\1\uffff\1\1\7\uffff\1\1\5\uffff\1\1\1\3\4\uffff\1\2\1\1", "", - "\1\3\47\uffff\2\1\1\uffff\4\1\3\uffff\1\1\1\uffff\1\12\1\uffff\4\1\1\uffff\6\1\2\uffff\1\1\4\uffff\1\3\3\uffff\1\1\1\3", + "\2\1\1\uffff\6\1\1\uffff\1\1\1\uffff\1\1\1\uffff\4\1\1\13\7\1\1\uffff\2\1\3\uffff\1\14\1\uffff\3\1\1\14", + "\2\1\1\uffff\6\1\1\uffff\1\1\1\uffff\1\1\1\uffff\4\1\1\uffff\7\1\1\uffff\2\1\3\uffff\1\14\1\uffff\3\1\1\14", + "\1\5\33\uffff\2\1\1\uffff\6\1\1\uffff\1\1\1\uffff\1\15\1\uffff\4\1\1\uffff\6\1\2\uffff\1\1\4\uffff\1\5\3\uffff\1\1\1\5", "", "", - "\1\14\11\uffff\1\14\44\uffff\1\13\4\uffff\1\13", + "\1\20\70\uffff\1\17\4\uffff\1\16", "", "", "", + "\1\21", "", "", + "\1\25\5\uffff\1\22\15\uffff\1\24\4\uffff\1\23", + "\1\25\23\uffff\1\24\4\uffff\1\23", "", - "" + "\2\1\1\uffff\6\1\1\uffff\1\1\1\uffff\1\1\1\uffff\4\1\1\13\7\1\1\uffff\2\1\3\uffff\1\14\1\uffff\3\1\1\14", + "\1\26", + "\1\30\5\uffff\1\27\11\uffff\1\31", + "\1\30\17\uffff\1\31", + "", + "\1\25\5\uffff\1\22\15\uffff\1\24\4\uffff\1\23", + "\1\32", + "", + "", + "\1\30\5\uffff\1\27\11\uffff\1\31" }; static final short[] dfa_1 = DFA.unpackEncodedString(dfa_1s); @@ -10142,26 +11680,24 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { this.transition = dfa_6; } public String getDescription() { - return "109:3: (this_AssertionOrDefinition_0= ruleAssertionOrDefinition | this_PredicateDefinition_1= rulePredicateDefinition | this_UnnamedErrorPrediateDefinition_2= ruleUnnamedErrorPrediateDefinition | this_DefaultDefinition_3= ruleDefaultDefinition | this_ExternPredicateDefinition_4= ruleExternPredicateDefinition | this_MetricDefinition_5= ruleMetricDefinition | this_ExternMetricDefinition_6= ruleExternMetricDefinition | this_ClassDefinition_7= ruleClassDefinition | this_ScopeDefinition_8= ruleScopeDefinition | this_ObjectiveDefinition_9= ruleObjectiveDefinition )"; + return "109:3: (this_AssertionOrDefinition_0= ruleAssertionOrDefinition | this_PredicateDefinition_1= rulePredicateDefinition | this_UnnamedErrorPrediateDefinition_2= ruleUnnamedErrorPrediateDefinition | this_DefaultDefinition_3= ruleDefaultDefinition | this_MetricDefinition_4= ruleMetricDefinition | this_ExternPredicateDefinition_5= ruleExternPredicateDefinition | this_ExternMetricDefinition_6= ruleExternMetricDefinition | this_ExternAggregatorDefinition_7= ruleExternAggregatorDefinition | this_ExternDatatypeDefinition_8= ruleExternDatatypeDefinition | this_ClassDefinition_9= ruleClassDefinition | this_ScopeDefinition_10= ruleScopeDefinition | this_ObjectiveDefinition_11= ruleObjectiveDefinition )"; } } - static final String dfa_7s = "\12\uffff"; - static final String dfa_8s = "\1\uffff\2\10\6\uffff\1\10"; - static final String dfa_9s = "\1\20\2\32\3\uffff\1\122\2\uffff\1\32"; - static final String dfa_10s = "\1\123\2\121\3\uffff\1\122\2\uffff\1\121"; - static final String dfa_11s = "\3\uffff\1\3\1\4\1\5\1\uffff\1\2\1\1\1\uffff"; - static final String dfa_12s = "\12\uffff}>"; + static final String dfa_7s = "\10\uffff"; + static final String dfa_8s = "\1\uffff\2\3\4\uffff\1\3"; + static final String dfa_9s = "\1\16\2\30\2\uffff\1\105\1\uffff\1\30"; + static final String dfa_10s = "\1\106\2\104\2\uffff\1\105\1\uffff\1\104"; + static final String dfa_11s = "\3\uffff\1\1\1\2\1\uffff\1\3\1\uffff"; + static final String dfa_12s = "\10\uffff}>"; static final String[] dfa_13s = { - "\1\4\4\uffff\3\4\10\uffff\1\4\6\uffff\1\4\21\uffff\1\5\14\uffff\1\3\5\uffff\1\4\1\2\4\uffff\1\1\1\4", - "\1\10\4\uffff\1\10\15\uffff\7\10\3\uffff\1\10\1\uffff\1\7\5\10\1\6\6\10\1\uffff\2\10\1\uffff\2\10\3\uffff\2\7\1\10", - "\1\10\4\uffff\1\10\15\uffff\7\10\3\uffff\1\10\1\uffff\1\7\5\10\1\uffff\6\10\1\uffff\2\10\1\uffff\2\10\3\uffff\2\7\1\10", - "", - "", + "\1\3\1\4\1\uffff\1\4\1\uffff\1\4\3\3\4\uffff\1\3\1\uffff\1\3\16\uffff\1\3\14\uffff\1\3\5\uffff\1\3\1\2\4\uffff\1\1\1\3", + "\1\3\1\uffff\1\3\5\uffff\11\3\1\uffff\1\3\1\uffff\6\3\1\5\6\3\1\6\2\3\1\6\2\3\3\uffff\3\3", + "\1\3\1\uffff\1\3\5\uffff\11\3\1\uffff\1\3\1\uffff\6\3\1\uffff\6\3\1\6\2\3\1\6\2\3\3\uffff\3\3", "", - "\1\11", "", + "\1\7", "", - "\1\10\4\uffff\1\10\15\uffff\7\10\3\uffff\1\10\1\uffff\1\7\5\10\1\6\6\10\1\uffff\2\10\1\uffff\2\10\3\uffff\2\7\1\10" + "\1\3\1\uffff\1\3\5\uffff\11\3\1\uffff\1\3\1\uffff\6\3\1\5\6\3\1\6\2\3\1\6\2\3\3\uffff\3\3" }; static final short[] dfa_7 = DFA.unpackEncodedString(dfa_7s); @@ -10172,11 +11708,11 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { static final short[] dfa_12 = DFA.unpackEncodedString(dfa_12s); static final short[][] dfa_13 = unpackEncodedStringArray(dfa_13s); - class DFA20 extends DFA { + class DFA23 extends DFA { - public DFA20(BaseRecognizer recognizer) { + public DFA23(BaseRecognizer recognizer) { this.recognizer = recognizer; - this.decisionNumber = 20; + this.decisionNumber = 23; this.eot = dfa_7; this.eof = dfa_8; this.min = dfa_9; @@ -10186,60 +11722,104 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { this.transition = dfa_13; } public String getDescription() { - return "1716:2: (this_Reference_0= ruleReference | this_Call_1= ruleCall | this_Interval_2= ruleInterval | this_Literal_3= ruleLiteral | (otherlv_4= LeftParenthesis this_Expression_5= ruleExpression otherlv_6= RightParenthesis ) )"; + return "2100:2: (this_AtomicExpression_0= ruleAtomicExpression | this_QuantifiedExpression_1= ruleQuantifiedExpression | this_Aggregation_2= ruleAggregation )"; } } - static final String dfa_14s = "\1\uffff\2\3\3\uffff\1\11\1\uffff\1\3\1\uffff"; - static final String dfa_15s = "\1\15\2\55\2\uffff\1\122\1\15\1\uffff\1\55\1\uffff"; - static final String dfa_16s = "\1\123\2\122\2\uffff\1\122\1\123\1\uffff\1\122\1\uffff"; - static final String dfa_17s = "\3\uffff\1\1\1\2\2\uffff\1\3\1\uffff\1\4"; - static final String[] dfa_18s = { - "\1\3\2\uffff\1\3\3\uffff\4\3\3\uffff\3\3\2\uffff\1\3\5\uffff\2\3\1\uffff\4\3\13\uffff\2\3\1\uffff\1\4\1\3\1\uffff\1\3\7\uffff\1\3\5\uffff\1\3\1\2\4\uffff\1\1\1\3", - "\1\3\3\uffff\3\3\3\uffff\1\3\1\uffff\2\3\1\6\3\3\1\5\1\3\2\uffff\1\3\1\uffff\1\3\2\uffff\1\3\4\uffff\1\7\1\uffff\2\3\1\uffff\1\7", - "\1\3\3\uffff\3\3\3\uffff\1\3\1\uffff\2\3\1\6\3\3\1\uffff\1\3\2\uffff\1\3\1\uffff\1\3\2\uffff\1\3\4\uffff\1\7\1\uffff\2\3\1\uffff\1\7", + static final String dfa_14s = "\12\uffff"; + static final String dfa_15s = "\1\uffff\2\10\6\uffff\1\10"; + static final String dfa_16s = "\1\16\2\30\3\uffff\1\105\2\uffff\1\30"; + static final String dfa_17s = "\1\106\2\104\3\uffff\1\105\2\uffff\1\104"; + static final String dfa_18s = "\3\uffff\1\3\1\4\1\5\1\uffff\1\2\1\1\1\uffff"; + static final String dfa_19s = "\12\uffff}>"; + static final String[] dfa_20s = { + "\1\4\5\uffff\3\4\4\uffff\1\4\1\uffff\1\4\16\uffff\1\5\14\uffff\1\3\5\uffff\1\4\1\2\4\uffff\1\1\1\4", + "\1\10\1\uffff\1\10\5\uffff\11\10\1\uffff\1\10\1\uffff\1\7\5\10\1\6\6\10\1\uffff\2\10\1\uffff\2\10\3\uffff\2\7\1\10", + "\1\10\1\uffff\1\10\5\uffff\11\10\1\uffff\1\10\1\uffff\1\7\5\10\1\uffff\6\10\1\uffff\2\10\1\uffff\2\10\3\uffff\2\7\1\10", "", "", - "\1\10", - "\1\3\2\uffff\1\3\3\uffff\4\3\3\uffff\3\3\2\uffff\1\3\5\uffff\2\3\1\uffff\4\3\13\uffff\2\3\1\11\1\uffff\1\3\1\11\1\3\7\uffff\1\3\5\uffff\2\3\4\uffff\2\3", "", - "\1\3\3\uffff\3\3\3\uffff\1\3\1\uffff\2\3\1\6\3\3\1\5\1\3\2\uffff\1\3\1\uffff\1\3\2\uffff\1\3\4\uffff\1\7\1\uffff\2\3\1\uffff\1\7", - "" + "\1\11", + "", + "", + "\1\10\1\uffff\1\10\5\uffff\11\10\1\uffff\1\10\1\uffff\1\7\5\10\1\6\6\10\1\uffff\2\10\1\uffff\2\10\3\uffff\2\7\1\10" }; + static final short[] dfa_14 = DFA.unpackEncodedString(dfa_14s); - static final char[] dfa_15 = DFA.unpackEncodedStringToUnsignedChars(dfa_15s); + static final short[] dfa_15 = DFA.unpackEncodedString(dfa_15s); static final char[] dfa_16 = DFA.unpackEncodedStringToUnsignedChars(dfa_16s); - static final short[] dfa_17 = DFA.unpackEncodedString(dfa_17s); - static final short[][] dfa_18 = unpackEncodedStringArray(dfa_18s); + static final char[] dfa_17 = DFA.unpackEncodedStringToUnsignedChars(dfa_17s); + static final short[] dfa_18 = DFA.unpackEncodedString(dfa_18s); + static final short[] dfa_19 = DFA.unpackEncodedString(dfa_19s); + static final short[][] dfa_20 = unpackEncodedStringArray(dfa_20s); - class DFA24 extends DFA { + class DFA29 extends DFA { - public DFA24(BaseRecognizer recognizer) { + public DFA29(BaseRecognizer recognizer) { this.recognizer = recognizer; - this.decisionNumber = 24; - this.eot = dfa_7; - this.eof = dfa_14; - this.min = dfa_15; - this.max = dfa_16; - this.accept = dfa_17; - this.special = dfa_12; - this.transition = dfa_18; + this.decisionNumber = 29; + this.eot = dfa_14; + this.eof = dfa_15; + this.min = dfa_16; + this.max = dfa_17; + this.accept = dfa_18; + this.special = dfa_19; + this.transition = dfa_20; } public String getDescription() { - return "1965:2: (this_ExpressionArgument_0= ruleExpressionArgument | this_StarArgument_1= ruleStarArgument | this_TypedArgument_2= ruleTypedArgument | this_TypedStarArgument_3= ruleTypedStarArgument )"; + return "2415:2: (this_Reference_0= ruleReference | this_Call_1= ruleCall | this_Interval_2= ruleInterval | this_Literal_3= ruleLiteral | (otherlv_4= LeftParenthesis this_Expression_5= ruleExpression otherlv_6= RightParenthesis ) )"; } } - static final String dfa_19s = "\17\uffff"; - static final String dfa_20s = "\12\uffff\2\10\2\uffff\1\10"; - static final String dfa_21s = "\1\30\1\115\3\61\1\115\1\uffff\1\122\2\uffff\3\61\1\122\1\61"; - static final String dfa_22s = "\1\30\1\123\1\63\1\77\1\63\1\122\1\uffff\1\122\2\uffff\2\121\1\77\1\122\1\121"; - static final String dfa_23s = "\6\uffff\1\2\1\uffff\1\3\1\1\5\uffff"; - static final String dfa_24s = "\17\uffff}>"; + static final String dfa_21s = "\1\uffff\2\3\3\uffff\1\11\1\uffff\1\3\1\uffff"; + static final String dfa_22s = "\1\13\2\40\2\uffff\1\105\1\13\1\uffff\1\40\1\uffff"; + static final String dfa_23s = "\1\106\2\105\2\uffff\1\105\1\106\1\uffff\1\105\1\uffff"; + static final String dfa_24s = "\3\uffff\1\1\1\2\2\uffff\1\3\1\uffff\1\4"; static final String[] dfa_25s = { + "\1\3\2\uffff\2\3\1\uffff\1\3\1\uffff\4\3\2\uffff\1\3\1\uffff\1\3\1\uffff\1\3\1\uffff\1\3\13\uffff\2\3\1\uffff\1\4\1\3\1\uffff\1\3\7\uffff\1\3\5\uffff\1\3\1\2\4\uffff\1\1\1\3", + "\1\3\3\uffff\2\3\1\uffff\2\3\1\uffff\1\3\1\uffff\2\3\1\6\3\3\1\5\1\3\2\uffff\1\3\1\uffff\2\3\1\uffff\2\3\3\uffff\1\7\1\uffff\2\3\1\uffff\1\7", + "\1\3\3\uffff\2\3\1\uffff\2\3\1\uffff\1\3\1\uffff\2\3\1\6\3\3\1\uffff\1\3\2\uffff\1\3\1\uffff\2\3\1\uffff\2\3\3\uffff\1\7\1\uffff\2\3\1\uffff\1\7", + "", + "", + "\1\10", + "\1\3\2\uffff\2\3\1\uffff\1\3\1\uffff\4\3\2\uffff\1\3\1\uffff\1\3\1\uffff\1\3\1\uffff\1\3\13\uffff\2\3\1\11\1\uffff\1\3\1\11\1\3\7\uffff\1\3\5\uffff\2\3\4\uffff\2\3", + "", + "\1\3\3\uffff\2\3\1\uffff\2\3\1\uffff\1\3\1\uffff\2\3\1\6\3\3\1\5\1\3\2\uffff\1\3\1\uffff\2\3\1\uffff\2\3\3\uffff\1\7\1\uffff\2\3\1\uffff\1\7", + "" + }; + static final short[] dfa_21 = DFA.unpackEncodedString(dfa_21s); + static final char[] dfa_22 = DFA.unpackEncodedStringToUnsignedChars(dfa_22s); + static final char[] dfa_23 = DFA.unpackEncodedStringToUnsignedChars(dfa_23s); + static final short[] dfa_24 = DFA.unpackEncodedString(dfa_24s); + static final short[][] dfa_25 = unpackEncodedStringArray(dfa_25s); + + class DFA33 extends DFA { + + public DFA33(BaseRecognizer recognizer) { + this.recognizer = recognizer; + this.decisionNumber = 33; + this.eot = dfa_14; + this.eof = dfa_21; + this.min = dfa_22; + this.max = dfa_23; + this.accept = dfa_24; + this.special = dfa_19; + this.transition = dfa_25; + } + public String getDescription() { + return "2664:2: (this_ExpressionArgument_0= ruleExpressionArgument | this_StarArgument_1= ruleStarArgument | this_TypedArgument_2= ruleTypedArgument | this_TypedStarArgument_3= ruleTypedStarArgument )"; + } + } + static final String dfa_26s = "\17\uffff"; + static final String dfa_27s = "\12\uffff\2\10\2\uffff\1\10"; + static final String dfa_28s = "\1\27\1\100\3\44\1\100\1\uffff\1\105\2\uffff\3\44\1\105\1\44"; + static final String dfa_29s = "\1\27\1\106\1\47\1\62\1\47\1\105\1\uffff\1\105\2\uffff\2\104\1\62\1\105\1\104"; + static final String dfa_30s = "\6\uffff\1\2\1\uffff\1\3\1\1\5\uffff"; + static final String dfa_31s = "\17\uffff}>"; + static final String[] dfa_32s = { "\1\1", "\1\4\4\uffff\1\3\1\2", - "\1\5\1\uffff\1\6", - "\1\6\1\11\1\10\13\uffff\1\7", - "\1\6\1\11\1\10", + "\1\5\2\uffff\1\6", + "\1\6\1\11\1\uffff\1\10\12\uffff\1\7", + "\1\6\1\11\1\uffff\1\10", "\1\13\4\uffff\1\12", "", "\1\14", @@ -10247,88 +11827,96 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { "", "\1\6\15\uffff\1\15\21\uffff\1\10", "\1\6\37\uffff\1\10", - "\1\6\1\11\1\10\13\uffff\1\7", + "\1\6\1\11\1\uffff\1\10\12\uffff\1\7", "\1\16", "\1\6\15\uffff\1\15\21\uffff\1\10" }; - static final short[] dfa_19 = DFA.unpackEncodedString(dfa_19s); - static final short[] dfa_20 = DFA.unpackEncodedString(dfa_20s); - static final char[] dfa_21 = DFA.unpackEncodedStringToUnsignedChars(dfa_21s); - static final char[] dfa_22 = DFA.unpackEncodedStringToUnsignedChars(dfa_22s); - static final short[] dfa_23 = DFA.unpackEncodedString(dfa_23s); - static final short[] dfa_24 = DFA.unpackEncodedString(dfa_24s); - static final short[][] dfa_25 = unpackEncodedStringArray(dfa_25s); + static final short[] dfa_26 = DFA.unpackEncodedString(dfa_26s); + static final short[] dfa_27 = DFA.unpackEncodedString(dfa_27s); + static final char[] dfa_28 = DFA.unpackEncodedStringToUnsignedChars(dfa_28s); + static final char[] dfa_29 = DFA.unpackEncodedStringToUnsignedChars(dfa_29s); + static final short[] dfa_30 = DFA.unpackEncodedString(dfa_30s); + static final short[] dfa_31 = DFA.unpackEncodedString(dfa_31s); + static final short[][] dfa_32 = unpackEncodedStringArray(dfa_32s); - class DFA35 extends DFA { + class DFA44 extends DFA { - public DFA35(BaseRecognizer recognizer) { + public DFA44(BaseRecognizer recognizer) { this.recognizer = recognizer; - this.decisionNumber = 35; - this.eot = dfa_19; - this.eof = dfa_20; - this.min = dfa_21; - this.max = dfa_22; - this.accept = dfa_23; - this.special = dfa_24; - this.transition = dfa_25; + this.decisionNumber = 44; + this.eot = dfa_26; + this.eof = dfa_27; + this.min = dfa_28; + this.max = dfa_29; + this.accept = dfa_30; + this.special = dfa_31; + this.transition = dfa_32; } public String getDescription() { - return "2940:2: (this_ExactScopeDefinition_0= ruleExactScopeDefinition | this_BoundedScopeDefinition_1= ruleBoundedScopeDefinition | this_LowerBoundedScopeDefinition_2= ruleLowerBoundedScopeDefinition )"; + return "3639:2: (this_ExactScopeDefinition_0= ruleExactScopeDefinition | this_BoundedScopeDefinition_1= ruleBoundedScopeDefinition | this_LowerBoundedScopeDefinition_2= ruleLowerBoundedScopeDefinition )"; } } 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[]{0x53401FC179FD6362L,0x00000000000C3040L}); - public static final BitSet FOLLOW_4 = new BitSet(new long[]{0x0000000000000000L,0x0000000000020000L}); - public static final BitSet FOLLOW_5 = new BitSet(new long[]{0x0001000000000002L,0x0000000000000012L}); - public static final BitSet FOLLOW_6 = new BitSet(new long[]{0x53401EC138F12000L,0x00000000000C3040L}); - public static final BitSet FOLLOW_7 = new BitSet(new long[]{0x0000000000400000L,0x0000000000042000L}); - public static final BitSet FOLLOW_8 = new BitSet(new long[]{0x0000000000000000L,0x0000000000042000L}); - public static final BitSet FOLLOW_9 = new BitSet(new long[]{0x0000000000000020L,0x0000000000042000L}); - public static final BitSet FOLLOW_10 = new BitSet(new long[]{0x0001000000000000L}); - public static final BitSet FOLLOW_11 = new BitSet(new long[]{0x0200000000000000L}); - public static final BitSet FOLLOW_12 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000002L}); - public static final BitSet FOLLOW_13 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000010L}); - public static final BitSet FOLLOW_14 = new BitSet(new long[]{0x0000010040000000L}); - public static final BitSet FOLLOW_15 = new BitSet(new long[]{0x0000000080000000L}); - public static final BitSet FOLLOW_16 = new BitSet(new long[]{0x0000000004000000L}); - public static final BitSet FOLLOW_17 = new BitSet(new long[]{0x0000400000000002L,0x0000000000000004L}); - public static final BitSet FOLLOW_18 = new BitSet(new long[]{0x0000000000000002L,0x0000000000000004L}); - public static final BitSet FOLLOW_19 = new BitSet(new long[]{0x0000400000000000L}); - public static final BitSet FOLLOW_20 = new BitSet(new long[]{0x2000000000000002L}); - public static final BitSet FOLLOW_21 = new BitSet(new long[]{0x008E200000000002L,0x0000000000000028L}); - public static final BitSet FOLLOW_22 = new BitSet(new long[]{0x5000000000000002L}); - public static final BitSet FOLLOW_23 = new BitSet(new long[]{0x0800000000000002L,0x0000000000000001L}); - public static final BitSet FOLLOW_24 = new BitSet(new long[]{0x0000000000000002L,0x0000000000000100L}); - public static final BitSet FOLLOW_25 = new BitSet(new long[]{0x02001AC130F10000L,0x00000000000C3040L}); - public static final BitSet FOLLOW_26 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000200L}); - public static final BitSet FOLLOW_27 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000800L}); - public static final BitSet FOLLOW_28 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000400L}); - public static final BitSet FOLLOW_29 = new BitSet(new long[]{0x0400000000000000L}); - public static final BitSet FOLLOW_30 = new BitSet(new long[]{0x0200000000000000L,0x0000000000018000L}); - public static final BitSet FOLLOW_31 = new BitSet(new long[]{0x5F401EC138F12000L,0x00000000000C3040L}); - public static final BitSet FOLLOW_32 = new BitSet(new long[]{0x2400000000000000L}); - public static final BitSet FOLLOW_33 = new BitSet(new long[]{0x5B401EC138F12000L,0x00000000000C3040L}); - public static final BitSet FOLLOW_34 = new BitSet(new long[]{0x0800000000000000L}); - public static final BitSet FOLLOW_35 = new BitSet(new long[]{0x0000800000000000L}); - public static final BitSet FOLLOW_36 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000080L}); - public static final BitSet FOLLOW_37 = new BitSet(new long[]{0x0000000000080000L}); - public static final BitSet FOLLOW_38 = new BitSet(new long[]{0x0000000000000000L,0x0000000000040000L}); - public static final BitSet FOLLOW_39 = new BitSet(new long[]{0x0000000000008000L,0x0000000000000200L}); - public static final BitSet FOLLOW_40 = new BitSet(new long[]{0x2000000000000000L,0x0000000000000200L}); - public static final BitSet FOLLOW_41 = new BitSet(new long[]{0x0000000000000080L,0x0000000000042800L}); - public static final BitSet FOLLOW_42 = new BitSet(new long[]{0x0000000000000000L,0x0000000000040040L}); - public static final BitSet FOLLOW_43 = new BitSet(new long[]{0x0000000000000402L,0x0000000000000004L}); - public static final BitSet FOLLOW_44 = new BitSet(new long[]{0x0800000000000000L,0x0000000000080000L}); - public static final BitSet FOLLOW_45 = new BitSet(new long[]{0x0000000000000000L,0x0000000000080000L}); - public static final BitSet FOLLOW_46 = new BitSet(new long[]{0x0004000000000000L}); - public static final BitSet FOLLOW_47 = new BitSet(new long[]{0x0000000000000000L,0x00000000000C2000L}); - public static final BitSet FOLLOW_48 = new BitSet(new long[]{0x0002000000000000L}); - public static final BitSet FOLLOW_49 = new BitSet(new long[]{0x0008000000000000L}); - public static final BitSet FOLLOW_50 = new BitSet(new long[]{0x0008000000000002L}); - public static final BitSet FOLLOW_51 = new BitSet(new long[]{0x8000000000000002L}); + public static final BitSet FOLLOW_3 = new BitSet(new long[]{0x82029A00EAFFDB32L,0x0000000000000061L}); + public static final BitSet FOLLOW_4 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000010L}); + public static final BitSet FOLLOW_5 = new BitSet(new long[]{0x0090000800000002L}); + public static final BitSet FOLLOW_6 = new BitSet(new long[]{0x82029A00EA7AC800L,0x0000000000000061L}); + public static final BitSet FOLLOW_7 = new BitSet(new long[]{0x0000000000200000L,0x0000000000000021L}); + public static final BitSet FOLLOW_8 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000021L}); + public static final BitSet FOLLOW_9 = new BitSet(new long[]{0x0000000000000010L,0x0000000000000021L}); + public static final BitSet FOLLOW_10 = new BitSet(new long[]{0x0000000800000000L}); + public static final BitSet FOLLOW_11 = new BitSet(new long[]{0x0000100000000000L}); + public static final BitSet FOLLOW_12 = new BitSet(new long[]{0x0010000000000000L}); + public static final BitSet FOLLOW_13 = new BitSet(new long[]{0x0080000000000000L}); + public static final BitSet FOLLOW_14 = new BitSet(new long[]{0x1000000000000000L}); + public static final BitSet FOLLOW_15 = new BitSet(new long[]{0x0000000010000000L}); + public static final BitSet FOLLOW_16 = new BitSet(new long[]{0x4000000000000000L}); + public static final BitSet FOLLOW_17 = new BitSet(new long[]{0x0000000000000080L}); + public static final BitSet FOLLOW_18 = new BitSet(new long[]{0x0000000000002000L}); + public static final BitSet FOLLOW_19 = new BitSet(new long[]{0x0001000000000002L}); + public static final BitSet FOLLOW_20 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000020L}); + public static final BitSet FOLLOW_21 = new BitSet(new long[]{0x0000000004000000L}); + public static final BitSet FOLLOW_22 = new BitSet(new long[]{0x0000000001000000L}); + public static final BitSet FOLLOW_23 = new BitSet(new long[]{0x0001040000000000L}); + public static final BitSet FOLLOW_24 = new BitSet(new long[]{0x0000004000000002L}); + public static final BitSet FOLLOW_25 = new BitSet(new long[]{0x0020000200000002L}); + public static final BitSet FOLLOW_26 = new BitSet(new long[]{0x0020000000000002L}); + public static final BitSet FOLLOW_27 = new BitSet(new long[]{0x0000000200000000L}); + public static final BitSet FOLLOW_28 = new BitSet(new long[]{0x014004B100000002L}); + public static final BitSet FOLLOW_29 = new BitSet(new long[]{0x0002800000000002L}); + public static final BitSet FOLLOW_30 = new BitSet(new long[]{0x0008400000000002L}); + public static final BitSet FOLLOW_31 = new BitSet(new long[]{0x0800000000000002L}); + public static final BitSet FOLLOW_32 = new BitSet(new long[]{0x0000010000000002L}); + public static final BitSet FOLLOW_33 = new BitSet(new long[]{0x82001000287AC000L,0x0000000000000061L}); + public static final BitSet FOLLOW_34 = new BitSet(new long[]{0x0400000000000000L,0x0000000000000021L}); + public static final BitSet FOLLOW_35 = new BitSet(new long[]{0x0401000000000000L}); + public static final BitSet FOLLOW_36 = new BitSet(new long[]{0x1200000000000000L}); + public static final BitSet FOLLOW_37 = new BitSet(new long[]{0x6000000000000000L}); + public static final BitSet FOLLOW_38 = new BitSet(new long[]{0x0000200000000000L}); + public static final BitSet FOLLOW_39 = new BitSet(new long[]{0x0000100000000000L,0x000000000000000CL}); + public static final BitSet FOLLOW_40 = new BitSet(new long[]{0x8202FA00EA7AC800L,0x0000000000000061L}); + public static final BitSet FOLLOW_41 = new BitSet(new long[]{0x0001200000000000L}); + public static final BitSet FOLLOW_42 = new BitSet(new long[]{0x8202DA00EA7AC800L,0x0000000000000061L}); + public static final BitSet FOLLOW_43 = new BitSet(new long[]{0x0000400000000000L}); + public static final BitSet FOLLOW_44 = new BitSet(new long[]{0x0000000400000000L}); + public static final BitSet FOLLOW_45 = new BitSet(new long[]{0x0400000000000000L}); + public static final BitSet FOLLOW_46 = new BitSet(new long[]{0x0000000000040000L}); + public static final BitSet FOLLOW_47 = new BitSet(new long[]{0x1000000000002000L}); + public static final BitSet FOLLOW_48 = new BitSet(new long[]{0x1001000000000000L}); + public static final BitSet FOLLOW_49 = new BitSet(new long[]{0x4000000000000040L,0x0000000000000021L}); + public static final BitSet FOLLOW_50 = new BitSet(new long[]{0x0200000000000000L,0x0000000000000020L}); + public static final BitSet FOLLOW_51 = new BitSet(new long[]{0x0020000000000402L}); + public static final BitSet FOLLOW_52 = new BitSet(new long[]{0x0000400000000000L,0x0000000000000040L}); + public static final BitSet FOLLOW_53 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000040L}); + public static final BitSet FOLLOW_54 = new BitSet(new long[]{0x0000002000000000L}); + public static final BitSet FOLLOW_55 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000061L}); + public static final BitSet FOLLOW_56 = new BitSet(new long[]{0x0000001000000000L}); + public static final BitSet FOLLOW_57 = new BitSet(new long[]{0x0000008000000000L}); + public static final BitSet FOLLOW_58 = new BitSet(new long[]{0x0000008000000002L}); + public static final BitSet FOLLOW_59 = new BitSet(new long[]{0x0004000000000002L}); } \ No newline at end of file diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/parser/antlr/internal/InternalSolverLanguageParser.tokens b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/parser/antlr/internal/InternalSolverLanguageParser.tokens index 81343db5..736b2f0a 100644 --- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/parser/antlr/internal/InternalSolverLanguageParser.tokens +++ b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/parser/antlr/internal/InternalSolverLanguageParser.tokens @@ -1,83 +1,70 @@ -'!'=56 -'!='=45 -'('=57 -')'=58 -'*'=59 -'+'=60 -','=61 -'-'=62 -'->'=46 -'.'=63 -'..'=47 -'/'=64 -':'=65 -':-'=48 -';'=66 -'<'=67 -'<='=49 -'='=68 -'=='=50 -'>'=69 -'>='=51 -'ADD'=33 -'DIV'=34 -'EQ'=52 -'GREATER'=11 -'GREATER_EQ'=4 -'IN'=53 -'LESS'=25 -'LESS_EQ'=12 -'MUL'=35 -'NOT_EQ'=17 -'POW'=36 -'SUB'=37 -'['=70 -']'=71 -'^'=72 -'abstract'=6 -'avg'=38 -'class'=19 -'contains'=7 -'count'=20 -'current'=13 -'default'=14 -'else'=26 -'empty'=21 -'error'=22 -'extends'=15 -'extern'=18 -'false'=23 -'functional'=5 -'if'=54 -'in'=55 -'inf'=39 -'int'=40 -'max'=41 +'!'=43 +'!='=32 +'('=44 +')'=45 +'*'=46 +'+'=47 +','=48 +'-'=49 +'->'=33 +'.'=50 +'..'=34 +'...'=28 +'/'=51 +':'=52 +':-'=35 +';'=53 +'<'=54 +'<='=36 +'='=55 +'=='=37 +'=>'=38 +'>'=56 +'>='=39 +'['=57 +']'=58 +'^'=59 +'abstract'=5 +'as'=40 +'class'=18 +'contains'=6 +'count'=19 +'current'=11 +'datatype'=7 +'default'=12 +'else'=24 +'empty'=20 +'error'=21 +'exists'=15 +'extends'=13 +'extern'=16 +'false'=22 +'forall'=17 +'functional'=4 +'if'=41 +'in'=42 +'inf'=29 +'let'=30 'maximize'=8 -'may'=42 -'min'=43 +'may'=31 'minimize'=9 -'must'=27 -'only'=28 +'must'=25 'opposite'=10 -'prod'=29 -'real'=30 -'scope'=24 -'sum'=44 -'then'=31 -'true'=32 -'unknown'=16 -'{'=73 -'|'=74 -'}'=75 -RULE_ANY_OTHER=86 -RULE_FULL_STOP=81 -RULE_ID=82 -RULE_INT=83 -RULE_ML_COMMENT=84 -RULE_QUOTED_ID=77 -RULE_REFLEXIVE_TRANSITIVE_CLOSURE=80 -RULE_SL_COMMENT=78 -RULE_STRING=76 -RULE_TRANSITIVE_CLOSURE=79 -RULE_WS=85 +'scope'=23 +'then'=26 +'true'=27 +'unknown'=14 +'{'=60 +'|'=61 +'}'=62 +RULE_ANY_OTHER=73 +RULE_FULL_STOP=68 +RULE_ID=69 +RULE_INT=70 +RULE_ML_COMMENT=71 +RULE_QUOTED_ID=64 +RULE_REFLEXIVE_TRANSITIVE_CLOSURE=67 +RULE_SL_COMMENT=65 +RULE_STRING=63 +RULE_TRANSITIVE_CLOSURE=66 +RULE_WS=72 diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/parser/antlr/lexer/InternalSolverLanguageLexer.g b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/parser/antlr/lexer/InternalSolverLanguageLexer.g index 1a29e53b..3c496e8a 100644 --- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/parser/antlr/lexer/InternalSolverLanguageLexer.g +++ b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/parser/antlr/lexer/InternalSolverLanguageLexer.g @@ -11,24 +11,20 @@ package org.eclipse.viatra.solver.language.parser.antlr.lexer; import org.eclipse.xtext.parser.antlr.Lexer; } -GREATER_EQ : 'GREATER_EQ'; - Functional : 'functional'; Abstract : 'abstract'; Contains : 'contains'; +Datatype : 'datatype'; + Maximize : 'maximize'; Minimize : 'minimize'; Opposite : 'opposite'; -GREATER : 'GREATER'; - -LESS_EQ : 'LESS_EQ'; - Current : 'current'; Default : 'default'; @@ -37,10 +33,12 @@ Extends : 'extends'; Unknown : 'unknown'; -NOT_EQ : 'NOT_EQ'; +Exists : 'exists'; Extern : 'extern'; +Forall : 'forall'; + Class : 'class'; Count : 'count'; @@ -53,46 +51,22 @@ False : 'false'; Scope : 'scope'; -LESS : 'LESS'; - Else : 'else'; Must : 'must'; -Only : 'only'; - -Prod : 'prod'; - -Real : 'real'; - Then : 'then'; True : 'true'; -ADD : 'ADD'; - -DIV : 'DIV'; - -MUL : 'MUL'; - -POW : 'POW'; - -SUB : 'SUB'; - -Avg : 'avg'; +FullStopFullStopFullStop : '...'; Inf : 'inf'; -Int : 'int'; - -Max : 'max'; +Let : 'let'; May : 'may'; -Min : 'min'; - -Sum : 'sum'; - ExclamationMarkEqualsSign : '!='; HyphenMinusGreaterThanSign : '->'; @@ -105,11 +79,11 @@ LessThanSignEqualsSign : '<='; EqualsSignEqualsSign : '=='; -GreaterThanSignEqualsSign : '>='; +EqualsSignGreaterThanSign : '=>'; -EQ : 'EQ'; +GreaterThanSignEqualsSign : '>='; -IN : 'IN'; +As : 'as'; If : 'if'; diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/parser/antlr/lexer/InternalSolverLanguageLexer.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/parser/antlr/lexer/InternalSolverLanguageLexer.java index b46f86fc..b113baaf 100644 --- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/parser/antlr/lexer/InternalSolverLanguageLexer.java +++ b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/parser/antlr/lexer/InternalSolverLanguageLexer.java @@ -12,90 +12,77 @@ import java.util.ArrayList; @SuppressWarnings("all") public class InternalSolverLanguageLexer extends Lexer { - public static final int ADD=33; - public static final int True=32; - public static final int GREATER_EQ=4; - public static final int Count=20; - public static final int False=23; - public static final int Must=27; - public static final int LessThanSign=67; - public static final int LeftParenthesis=57; - public static final int Unknown=16; - public static final int RULE_REFLEXIVE_TRANSITIVE_CLOSURE=80; - public static final int FullStopFullStop=47; - public static final int Real=30; - public static final int Then=31; - public static final int Extends=15; - public static final int RightSquareBracket=71; - public static final int ExclamationMark=56; + public static final int EqualsSignGreaterThanSign=38; + public static final int True=27; + public static final int Count=19; + public static final int False=22; + public static final int Must=25; + public static final int FullStopFullStopFullStop=28; + public static final int LessThanSign=54; + public static final int Datatype=7; + public static final int LeftParenthesis=44; + public static final int Unknown=14; + public static final int RULE_REFLEXIVE_TRANSITIVE_CLOSURE=67; + public static final int FullStopFullStop=34; + public static final int Then=26; + public static final int Extends=13; + public static final int Forall=17; + public static final int RightSquareBracket=58; + public static final int ExclamationMark=43; public static final int Opposite=10; - public static final int SUB=37; - public static final int GreaterThanSign=69; - public static final int NOT_EQ=17; - public static final int RULE_ID=82; - public static final int MUL=35; - public static final int IN=53; - public static final int RULE_QUOTED_ID=77; - public static final int RightParenthesis=58; - public static final int Sum=44; - public static final int EQ=52; - public static final int GreaterThanSignEqualsSign=51; - public static final int Functional=5; - public static final int EqualsSignEqualsSign=50; - public static final int Avg=38; - public static final int Min=43; - public static final int VerticalLine=74; - public static final int PlusSign=60; - public static final int RULE_INT=83; - public static final int Contains=7; - public static final int RULE_ML_COMMENT=84; - public static final int POW=36; - public static final int RULE_TRANSITIVE_CLOSURE=79; - public static final int Class=19; - public static final int LESS=25; - public static final int LeftSquareBracket=70; - public static final int RULE_FULL_STOP=81; - public static final int Current=13; - public static final int If=54; - public static final int Inf=39; - public static final int LESS_EQ=12; - public static final int May=42; - public static final int Max=41; - public static final int In=55; - public static final int RULE_STRING=76; - public static final int Int=40; - public static final int Extern=18; - public static final int RULE_SL_COMMENT=78; - public static final int Prod=29; - public static final int Comma=61; - public static final int EqualsSign=68; - public static final int Empty=21; - public static final int HyphenMinus=62; + public static final int GreaterThanSign=56; + public static final int RULE_ID=69; + public static final int RULE_QUOTED_ID=64; + public static final int RightParenthesis=45; + public static final int GreaterThanSignEqualsSign=39; + public static final int Functional=4; + public static final int EqualsSignEqualsSign=37; + public static final int VerticalLine=61; + public static final int PlusSign=47; + public static final int RULE_INT=70; + public static final int Contains=6; + public static final int RULE_ML_COMMENT=71; + public static final int RULE_TRANSITIVE_CLOSURE=66; + public static final int Class=18; + public static final int LeftSquareBracket=57; + public static final int RULE_FULL_STOP=68; + public static final int Current=11; + public static final int If=41; + public static final int Inf=29; + public static final int May=31; + public static final int In=42; + public static final int RULE_STRING=63; + public static final int Extern=16; + public static final int RULE_SL_COMMENT=65; + public static final int Comma=48; + public static final int EqualsSign=55; + public static final int Empty=20; + public static final int As=40; + public static final int HyphenMinus=49; public static final int Maximize=8; - public static final int LessThanSignEqualsSign=49; - public static final int Solidus=64; - public static final int Colon=65; - public static final int RightCurlyBracket=75; + public static final int LessThanSignEqualsSign=36; + public static final int Solidus=51; + public static final int Colon=52; + public static final int RightCurlyBracket=62; public static final int EOF=-1; - public static final int Asterisk=59; - public static final int FullStop=63; - public static final int RULE_WS=85; - public static final int Abstract=6; + public static final int Asterisk=46; + public static final int FullStop=50; + public static final int RULE_WS=72; + public static final int Abstract=5; public static final int Minimize=9; - public static final int GREATER=11; - public static final int LeftCurlyBracket=73; - public static final int Error=22; - public static final int Only=28; - public static final int RULE_ANY_OTHER=86; - public static final int Default=14; - public static final int ColonHyphenMinus=48; - public static final int CircumflexAccent=72; - public static final int DIV=34; - public static final int Semicolon=66; - public static final int Scope=24; - public static final int Else=26; - public static final int ExclamationMarkEqualsSign=45; - public static final int HyphenMinusGreaterThanSign=46; + public static final int LeftCurlyBracket=60; + public static final int Error=21; + public static final int RULE_ANY_OTHER=73; + public static final int Default=12; + public static final int ColonHyphenMinus=35; + public static final int CircumflexAccent=59; + public static final int Semicolon=53; + public static final int Scope=23; + public static final int Exists=15; + public static final int Else=24; + public static final int Let=30; + public static final int ExclamationMarkEqualsSign=32; + public static final int HyphenMinusGreaterThanSign=33; // delegates // delegators @@ -110,34 +97,13 @@ public class InternalSolverLanguageLexer extends Lexer { } public String getGrammarFileName() { return "InternalSolverLanguageLexer.g"; } - // $ANTLR start "GREATER_EQ" - public final void mGREATER_EQ() throws RecognitionException { - try { - int _type = GREATER_EQ; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:14:12: ( 'GREATER_EQ' ) - // InternalSolverLanguageLexer.g:14:14: 'GREATER_EQ' - { - match("GREATER_EQ"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "GREATER_EQ" - // $ANTLR start "Functional" public final void mFunctional() throws RecognitionException { try { int _type = Functional; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:16:12: ( 'functional' ) - // InternalSolverLanguageLexer.g:16:14: 'functional' + // InternalSolverLanguageLexer.g:14:12: ( 'functional' ) + // InternalSolverLanguageLexer.g:14:14: 'functional' { match("functional"); @@ -157,8 +123,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = Abstract; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:18:10: ( 'abstract' ) - // InternalSolverLanguageLexer.g:18:12: 'abstract' + // InternalSolverLanguageLexer.g:16:10: ( 'abstract' ) + // InternalSolverLanguageLexer.g:16:12: 'abstract' { match("abstract"); @@ -178,8 +144,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = Contains; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:20:10: ( 'contains' ) - // InternalSolverLanguageLexer.g:20:12: 'contains' + // InternalSolverLanguageLexer.g:18:10: ( 'contains' ) + // InternalSolverLanguageLexer.g:18:12: 'contains' { match("contains"); @@ -194,6 +160,27 @@ public class InternalSolverLanguageLexer extends Lexer { } // $ANTLR end "Contains" + // $ANTLR start "Datatype" + public final void mDatatype() throws RecognitionException { + try { + int _type = Datatype; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalSolverLanguageLexer.g:20:10: ( 'datatype' ) + // InternalSolverLanguageLexer.g:20:12: 'datatype' + { + match("datatype"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "Datatype" + // $ANTLR start "Maximize" public final void mMaximize() throws RecognitionException { try { @@ -257,55 +244,13 @@ public class InternalSolverLanguageLexer extends Lexer { } // $ANTLR end "Opposite" - // $ANTLR start "GREATER" - public final void mGREATER() throws RecognitionException { - try { - int _type = GREATER; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:28:9: ( 'GREATER' ) - // InternalSolverLanguageLexer.g:28:11: 'GREATER' - { - match("GREATER"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "GREATER" - - // $ANTLR start "LESS_EQ" - public final void mLESS_EQ() throws RecognitionException { - try { - int _type = LESS_EQ; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:30:9: ( 'LESS_EQ' ) - // InternalSolverLanguageLexer.g:30:11: 'LESS_EQ' - { - match("LESS_EQ"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "LESS_EQ" - // $ANTLR start "Current" public final void mCurrent() throws RecognitionException { try { int _type = Current; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:32:9: ( 'current' ) - // InternalSolverLanguageLexer.g:32:11: 'current' + // InternalSolverLanguageLexer.g:28:9: ( 'current' ) + // InternalSolverLanguageLexer.g:28:11: 'current' { match("current"); @@ -325,8 +270,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = Default; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:34:9: ( 'default' ) - // InternalSolverLanguageLexer.g:34:11: 'default' + // InternalSolverLanguageLexer.g:30:9: ( 'default' ) + // InternalSolverLanguageLexer.g:30:11: 'default' { match("default"); @@ -346,8 +291,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = Extends; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:36:9: ( 'extends' ) - // InternalSolverLanguageLexer.g:36:11: 'extends' + // InternalSolverLanguageLexer.g:32:9: ( 'extends' ) + // InternalSolverLanguageLexer.g:32:11: 'extends' { match("extends"); @@ -367,8 +312,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = Unknown; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:38:9: ( 'unknown' ) - // InternalSolverLanguageLexer.g:38:11: 'unknown' + // InternalSolverLanguageLexer.g:34:9: ( 'unknown' ) + // InternalSolverLanguageLexer.g:34:11: 'unknown' { match("unknown"); @@ -383,15 +328,15 @@ public class InternalSolverLanguageLexer extends Lexer { } // $ANTLR end "Unknown" - // $ANTLR start "NOT_EQ" - public final void mNOT_EQ() throws RecognitionException { + // $ANTLR start "Exists" + public final void mExists() throws RecognitionException { try { - int _type = NOT_EQ; + int _type = Exists; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:40:8: ( 'NOT_EQ' ) - // InternalSolverLanguageLexer.g:40:10: 'NOT_EQ' + // InternalSolverLanguageLexer.g:36:8: ( 'exists' ) + // InternalSolverLanguageLexer.g:36:10: 'exists' { - match("NOT_EQ"); + match("exists"); } @@ -402,15 +347,15 @@ public class InternalSolverLanguageLexer extends Lexer { finally { } } - // $ANTLR end "NOT_EQ" + // $ANTLR end "Exists" // $ANTLR start "Extern" public final void mExtern() throws RecognitionException { try { int _type = Extern; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:42:8: ( 'extern' ) - // InternalSolverLanguageLexer.g:42:10: 'extern' + // InternalSolverLanguageLexer.g:38:8: ( 'extern' ) + // InternalSolverLanguageLexer.g:38:10: 'extern' { match("extern"); @@ -425,13 +370,34 @@ public class InternalSolverLanguageLexer extends Lexer { } // $ANTLR end "Extern" + // $ANTLR start "Forall" + public final void mForall() throws RecognitionException { + try { + int _type = Forall; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalSolverLanguageLexer.g:40:8: ( 'forall' ) + // InternalSolverLanguageLexer.g:40:10: 'forall' + { + match("forall"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "Forall" + // $ANTLR start "Class" public final void mClass() throws RecognitionException { try { int _type = Class; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:44:7: ( 'class' ) - // InternalSolverLanguageLexer.g:44:9: 'class' + // InternalSolverLanguageLexer.g:42:7: ( 'class' ) + // InternalSolverLanguageLexer.g:42:9: 'class' { match("class"); @@ -451,8 +417,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = Count; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:46:7: ( 'count' ) - // InternalSolverLanguageLexer.g:46:9: 'count' + // InternalSolverLanguageLexer.g:44:7: ( 'count' ) + // InternalSolverLanguageLexer.g:44:9: 'count' { match("count"); @@ -472,8 +438,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = Empty; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:48:7: ( 'empty' ) - // InternalSolverLanguageLexer.g:48:9: 'empty' + // InternalSolverLanguageLexer.g:46:7: ( 'empty' ) + // InternalSolverLanguageLexer.g:46:9: 'empty' { match("empty"); @@ -493,8 +459,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = Error; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:50:7: ( 'error' ) - // InternalSolverLanguageLexer.g:50:9: 'error' + // InternalSolverLanguageLexer.g:48:7: ( 'error' ) + // InternalSolverLanguageLexer.g:48:9: 'error' { match("error"); @@ -514,8 +480,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = False; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:52:7: ( 'false' ) - // InternalSolverLanguageLexer.g:52:9: 'false' + // InternalSolverLanguageLexer.g:50:7: ( 'false' ) + // InternalSolverLanguageLexer.g:50:9: 'false' { match("false"); @@ -535,8 +501,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = Scope; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:54:7: ( 'scope' ) - // InternalSolverLanguageLexer.g:54:9: 'scope' + // InternalSolverLanguageLexer.g:52:7: ( 'scope' ) + // InternalSolverLanguageLexer.g:52:9: 'scope' { match("scope"); @@ -551,34 +517,13 @@ public class InternalSolverLanguageLexer extends Lexer { } // $ANTLR end "Scope" - // $ANTLR start "LESS" - public final void mLESS() throws RecognitionException { - try { - int _type = LESS; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:56:6: ( 'LESS' ) - // InternalSolverLanguageLexer.g:56:8: 'LESS' - { - match("LESS"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "LESS" - // $ANTLR start "Else" public final void mElse() throws RecognitionException { try { int _type = Else; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:58:6: ( 'else' ) - // InternalSolverLanguageLexer.g:58:8: 'else' + // InternalSolverLanguageLexer.g:54:6: ( 'else' ) + // InternalSolverLanguageLexer.g:54:8: 'else' { match("else"); @@ -598,8 +543,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = Must; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:60:6: ( 'must' ) - // InternalSolverLanguageLexer.g:60:8: 'must' + // InternalSolverLanguageLexer.g:56:6: ( 'must' ) + // InternalSolverLanguageLexer.g:56:8: 'must' { match("must"); @@ -614,76 +559,13 @@ public class InternalSolverLanguageLexer extends Lexer { } // $ANTLR end "Must" - // $ANTLR start "Only" - public final void mOnly() throws RecognitionException { - try { - int _type = Only; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:62:6: ( 'only' ) - // InternalSolverLanguageLexer.g:62:8: 'only' - { - match("only"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "Only" - - // $ANTLR start "Prod" - public final void mProd() throws RecognitionException { - try { - int _type = Prod; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:64:6: ( 'prod' ) - // InternalSolverLanguageLexer.g:64:8: 'prod' - { - match("prod"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "Prod" - - // $ANTLR start "Real" - public final void mReal() throws RecognitionException { - try { - int _type = Real; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:66:6: ( 'real' ) - // InternalSolverLanguageLexer.g:66:8: 'real' - { - match("real"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "Real" - // $ANTLR start "Then" public final void mThen() throws RecognitionException { try { int _type = Then; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:68:6: ( 'then' ) - // InternalSolverLanguageLexer.g:68:8: 'then' + // InternalSolverLanguageLexer.g:58:6: ( 'then' ) + // InternalSolverLanguageLexer.g:58:8: 'then' { match("then"); @@ -703,8 +585,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = True; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:70:6: ( 'true' ) - // InternalSolverLanguageLexer.g:70:8: 'true' + // InternalSolverLanguageLexer.g:60:6: ( 'true' ) + // InternalSolverLanguageLexer.g:60:8: 'true' { match("true"); @@ -719,120 +601,15 @@ public class InternalSolverLanguageLexer extends Lexer { } // $ANTLR end "True" - // $ANTLR start "ADD" - public final void mADD() throws RecognitionException { - try { - int _type = ADD; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:72:5: ( 'ADD' ) - // InternalSolverLanguageLexer.g:72:7: 'ADD' - { - match("ADD"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "ADD" - - // $ANTLR start "DIV" - public final void mDIV() throws RecognitionException { - try { - int _type = DIV; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:74:5: ( 'DIV' ) - // InternalSolverLanguageLexer.g:74:7: 'DIV' - { - match("DIV"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "DIV" - - // $ANTLR start "MUL" - public final void mMUL() throws RecognitionException { - try { - int _type = MUL; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:76:5: ( 'MUL' ) - // InternalSolverLanguageLexer.g:76:7: 'MUL' - { - match("MUL"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "MUL" - - // $ANTLR start "POW" - public final void mPOW() throws RecognitionException { - try { - int _type = POW; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:78:5: ( 'POW' ) - // InternalSolverLanguageLexer.g:78:7: 'POW' - { - match("POW"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "POW" - - // $ANTLR start "SUB" - public final void mSUB() throws RecognitionException { - try { - int _type = SUB; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:80:5: ( 'SUB' ) - // InternalSolverLanguageLexer.g:80:7: 'SUB' - { - match("SUB"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "SUB" - - // $ANTLR start "Avg" - public final void mAvg() throws RecognitionException { + // $ANTLR start "FullStopFullStopFullStop" + public final void mFullStopFullStopFullStop() throws RecognitionException { try { - int _type = Avg; + int _type = FullStopFullStopFullStop; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:82:5: ( 'avg' ) - // InternalSolverLanguageLexer.g:82:7: 'avg' + // InternalSolverLanguageLexer.g:62:26: ( '...' ) + // InternalSolverLanguageLexer.g:62:28: '...' { - match("avg"); + match("..."); } @@ -843,15 +620,15 @@ public class InternalSolverLanguageLexer extends Lexer { finally { } } - // $ANTLR end "Avg" + // $ANTLR end "FullStopFullStopFullStop" // $ANTLR start "Inf" public final void mInf() throws RecognitionException { try { int _type = Inf; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:84:5: ( 'inf' ) - // InternalSolverLanguageLexer.g:84:7: 'inf' + // InternalSolverLanguageLexer.g:64:5: ( 'inf' ) + // InternalSolverLanguageLexer.g:64:7: 'inf' { match("inf"); @@ -866,36 +643,15 @@ public class InternalSolverLanguageLexer extends Lexer { } // $ANTLR end "Inf" - // $ANTLR start "Int" - public final void mInt() throws RecognitionException { - try { - int _type = Int; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:86:5: ( 'int' ) - // InternalSolverLanguageLexer.g:86:7: 'int' - { - match("int"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "Int" - - // $ANTLR start "Max" - public final void mMax() throws RecognitionException { + // $ANTLR start "Let" + public final void mLet() throws RecognitionException { try { - int _type = Max; + int _type = Let; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:88:5: ( 'max' ) - // InternalSolverLanguageLexer.g:88:7: 'max' + // InternalSolverLanguageLexer.g:66:5: ( 'let' ) + // InternalSolverLanguageLexer.g:66:7: 'let' { - match("max"); + match("let"); } @@ -906,15 +662,15 @@ public class InternalSolverLanguageLexer extends Lexer { finally { } } - // $ANTLR end "Max" + // $ANTLR end "Let" // $ANTLR start "May" public final void mMay() throws RecognitionException { try { int _type = May; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:90:5: ( 'may' ) - // InternalSolverLanguageLexer.g:90:7: 'may' + // InternalSolverLanguageLexer.g:68:5: ( 'may' ) + // InternalSolverLanguageLexer.g:68:7: 'may' { match("may"); @@ -929,55 +685,13 @@ public class InternalSolverLanguageLexer extends Lexer { } // $ANTLR end "May" - // $ANTLR start "Min" - public final void mMin() throws RecognitionException { - try { - int _type = Min; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:92:5: ( 'min' ) - // InternalSolverLanguageLexer.g:92:7: 'min' - { - match("min"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "Min" - - // $ANTLR start "Sum" - public final void mSum() throws RecognitionException { - try { - int _type = Sum; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:94:5: ( 'sum' ) - // InternalSolverLanguageLexer.g:94:7: 'sum' - { - match("sum"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "Sum" - // $ANTLR start "ExclamationMarkEqualsSign" public final void mExclamationMarkEqualsSign() throws RecognitionException { try { int _type = ExclamationMarkEqualsSign; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:96:27: ( '!=' ) - // InternalSolverLanguageLexer.g:96:29: '!=' + // InternalSolverLanguageLexer.g:70:27: ( '!=' ) + // InternalSolverLanguageLexer.g:70:29: '!=' { match("!="); @@ -997,8 +711,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = HyphenMinusGreaterThanSign; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:98:28: ( '->' ) - // InternalSolverLanguageLexer.g:98:30: '->' + // InternalSolverLanguageLexer.g:72:28: ( '->' ) + // InternalSolverLanguageLexer.g:72:30: '->' { match("->"); @@ -1018,8 +732,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = FullStopFullStop; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:100:18: ( '..' ) - // InternalSolverLanguageLexer.g:100:20: '..' + // InternalSolverLanguageLexer.g:74:18: ( '..' ) + // InternalSolverLanguageLexer.g:74:20: '..' { match(".."); @@ -1039,8 +753,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = ColonHyphenMinus; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:102:18: ( ':-' ) - // InternalSolverLanguageLexer.g:102:20: ':-' + // InternalSolverLanguageLexer.g:76:18: ( ':-' ) + // InternalSolverLanguageLexer.g:76:20: ':-' { match(":-"); @@ -1060,8 +774,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = LessThanSignEqualsSign; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:104:24: ( '<=' ) - // InternalSolverLanguageLexer.g:104:26: '<=' + // InternalSolverLanguageLexer.g:78:24: ( '<=' ) + // InternalSolverLanguageLexer.g:78:26: '<=' { match("<="); @@ -1081,8 +795,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = EqualsSignEqualsSign; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:106:22: ( '==' ) - // InternalSolverLanguageLexer.g:106:24: '==' + // InternalSolverLanguageLexer.g:80:22: ( '==' ) + // InternalSolverLanguageLexer.g:80:24: '==' { match("=="); @@ -1097,15 +811,15 @@ public class InternalSolverLanguageLexer extends Lexer { } // $ANTLR end "EqualsSignEqualsSign" - // $ANTLR start "GreaterThanSignEqualsSign" - public final void mGreaterThanSignEqualsSign() throws RecognitionException { + // $ANTLR start "EqualsSignGreaterThanSign" + public final void mEqualsSignGreaterThanSign() throws RecognitionException { try { - int _type = GreaterThanSignEqualsSign; + int _type = EqualsSignGreaterThanSign; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:108:27: ( '>=' ) - // InternalSolverLanguageLexer.g:108:29: '>=' + // InternalSolverLanguageLexer.g:82:27: ( '=>' ) + // InternalSolverLanguageLexer.g:82:29: '=>' { - match(">="); + match("=>"); } @@ -1116,17 +830,17 @@ public class InternalSolverLanguageLexer extends Lexer { finally { } } - // $ANTLR end "GreaterThanSignEqualsSign" + // $ANTLR end "EqualsSignGreaterThanSign" - // $ANTLR start "EQ" - public final void mEQ() throws RecognitionException { + // $ANTLR start "GreaterThanSignEqualsSign" + public final void mGreaterThanSignEqualsSign() throws RecognitionException { try { - int _type = EQ; + int _type = GreaterThanSignEqualsSign; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:110:4: ( 'EQ' ) - // InternalSolverLanguageLexer.g:110:6: 'EQ' + // InternalSolverLanguageLexer.g:84:27: ( '>=' ) + // InternalSolverLanguageLexer.g:84:29: '>=' { - match("EQ"); + match(">="); } @@ -1137,17 +851,17 @@ public class InternalSolverLanguageLexer extends Lexer { finally { } } - // $ANTLR end "EQ" + // $ANTLR end "GreaterThanSignEqualsSign" - // $ANTLR start "IN" - public final void mIN() throws RecognitionException { + // $ANTLR start "As" + public final void mAs() throws RecognitionException { try { - int _type = IN; + int _type = As; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:112:4: ( 'IN' ) - // InternalSolverLanguageLexer.g:112:6: 'IN' + // InternalSolverLanguageLexer.g:86:4: ( 'as' ) + // InternalSolverLanguageLexer.g:86:6: 'as' { - match("IN"); + match("as"); } @@ -1158,15 +872,15 @@ public class InternalSolverLanguageLexer extends Lexer { finally { } } - // $ANTLR end "IN" + // $ANTLR end "As" // $ANTLR start "If" public final void mIf() throws RecognitionException { try { int _type = If; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:114:4: ( 'if' ) - // InternalSolverLanguageLexer.g:114:6: 'if' + // InternalSolverLanguageLexer.g:88:4: ( 'if' ) + // InternalSolverLanguageLexer.g:88:6: 'if' { match("if"); @@ -1186,8 +900,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = In; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:116:4: ( 'in' ) - // InternalSolverLanguageLexer.g:116:6: 'in' + // InternalSolverLanguageLexer.g:90:4: ( 'in' ) + // InternalSolverLanguageLexer.g:90:6: 'in' { match("in"); @@ -1207,8 +921,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = ExclamationMark; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:118:17: ( '!' ) - // InternalSolverLanguageLexer.g:118:19: '!' + // InternalSolverLanguageLexer.g:92:17: ( '!' ) + // InternalSolverLanguageLexer.g:92:19: '!' { match('!'); @@ -1227,8 +941,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = LeftParenthesis; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:120:17: ( '(' ) - // InternalSolverLanguageLexer.g:120:19: '(' + // InternalSolverLanguageLexer.g:94:17: ( '(' ) + // InternalSolverLanguageLexer.g:94:19: '(' { match('('); @@ -1247,8 +961,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = RightParenthesis; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:122:18: ( ')' ) - // InternalSolverLanguageLexer.g:122:20: ')' + // InternalSolverLanguageLexer.g:96:18: ( ')' ) + // InternalSolverLanguageLexer.g:96:20: ')' { match(')'); @@ -1267,8 +981,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = Asterisk; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:124:10: ( '*' ) - // InternalSolverLanguageLexer.g:124:12: '*' + // InternalSolverLanguageLexer.g:98:10: ( '*' ) + // InternalSolverLanguageLexer.g:98:12: '*' { match('*'); @@ -1287,8 +1001,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = PlusSign; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:126:10: ( '+' ) - // InternalSolverLanguageLexer.g:126:12: '+' + // InternalSolverLanguageLexer.g:100:10: ( '+' ) + // InternalSolverLanguageLexer.g:100:12: '+' { match('+'); @@ -1307,8 +1021,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = Comma; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:128:7: ( ',' ) - // InternalSolverLanguageLexer.g:128:9: ',' + // InternalSolverLanguageLexer.g:102:7: ( ',' ) + // InternalSolverLanguageLexer.g:102:9: ',' { match(','); @@ -1327,8 +1041,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = HyphenMinus; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:130:13: ( '-' ) - // InternalSolverLanguageLexer.g:130:15: '-' + // InternalSolverLanguageLexer.g:104:13: ( '-' ) + // InternalSolverLanguageLexer.g:104:15: '-' { match('-'); @@ -1347,8 +1061,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = FullStop; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:132:10: ( '.' ) - // InternalSolverLanguageLexer.g:132:12: '.' + // InternalSolverLanguageLexer.g:106:10: ( '.' ) + // InternalSolverLanguageLexer.g:106:12: '.' { match('.'); @@ -1367,8 +1081,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = Solidus; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:134:9: ( '/' ) - // InternalSolverLanguageLexer.g:134:11: '/' + // InternalSolverLanguageLexer.g:108:9: ( '/' ) + // InternalSolverLanguageLexer.g:108:11: '/' { match('/'); @@ -1387,8 +1101,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = Colon; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:136:7: ( ':' ) - // InternalSolverLanguageLexer.g:136:9: ':' + // InternalSolverLanguageLexer.g:110:7: ( ':' ) + // InternalSolverLanguageLexer.g:110:9: ':' { match(':'); @@ -1407,8 +1121,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = Semicolon; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:138:11: ( ';' ) - // InternalSolverLanguageLexer.g:138:13: ';' + // InternalSolverLanguageLexer.g:112:11: ( ';' ) + // InternalSolverLanguageLexer.g:112:13: ';' { match(';'); @@ -1427,8 +1141,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = LessThanSign; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:140:14: ( '<' ) - // InternalSolverLanguageLexer.g:140:16: '<' + // InternalSolverLanguageLexer.g:114:14: ( '<' ) + // InternalSolverLanguageLexer.g:114:16: '<' { match('<'); @@ -1447,8 +1161,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = EqualsSign; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:142:12: ( '=' ) - // InternalSolverLanguageLexer.g:142:14: '=' + // InternalSolverLanguageLexer.g:116:12: ( '=' ) + // InternalSolverLanguageLexer.g:116:14: '=' { match('='); @@ -1467,8 +1181,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = GreaterThanSign; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:144:17: ( '>' ) - // InternalSolverLanguageLexer.g:144:19: '>' + // InternalSolverLanguageLexer.g:118:17: ( '>' ) + // InternalSolverLanguageLexer.g:118:19: '>' { match('>'); @@ -1487,8 +1201,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = LeftSquareBracket; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:146:19: ( '[' ) - // InternalSolverLanguageLexer.g:146:21: '[' + // InternalSolverLanguageLexer.g:120:19: ( '[' ) + // InternalSolverLanguageLexer.g:120:21: '[' { match('['); @@ -1507,8 +1221,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = RightSquareBracket; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:148:20: ( ']' ) - // InternalSolverLanguageLexer.g:148:22: ']' + // InternalSolverLanguageLexer.g:122:20: ( ']' ) + // InternalSolverLanguageLexer.g:122:22: ']' { match(']'); @@ -1527,8 +1241,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = CircumflexAccent; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:150:18: ( '^' ) - // InternalSolverLanguageLexer.g:150:20: '^' + // InternalSolverLanguageLexer.g:124:18: ( '^' ) + // InternalSolverLanguageLexer.g:124:20: '^' { match('^'); @@ -1547,8 +1261,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = LeftCurlyBracket; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:152:18: ( '{' ) - // InternalSolverLanguageLexer.g:152:20: '{' + // InternalSolverLanguageLexer.g:126:18: ( '{' ) + // InternalSolverLanguageLexer.g:126:20: '{' { match('{'); @@ -1567,8 +1281,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = VerticalLine; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:154:14: ( '|' ) - // InternalSolverLanguageLexer.g:154:16: '|' + // InternalSolverLanguageLexer.g:128:14: ( '|' ) + // InternalSolverLanguageLexer.g:128:16: '|' { match('|'); @@ -1587,8 +1301,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = RightCurlyBracket; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:156:19: ( '}' ) - // InternalSolverLanguageLexer.g:156:21: '}' + // InternalSolverLanguageLexer.g:130:19: ( '}' ) + // InternalSolverLanguageLexer.g:130:21: '}' { match('}'); @@ -1607,11 +1321,11 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = RULE_STRING; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:158:13: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' ) - // InternalSolverLanguageLexer.g:158:15: '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' + // InternalSolverLanguageLexer.g:132:13: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' ) + // InternalSolverLanguageLexer.g:132:15: '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' { match('\"'); - // InternalSolverLanguageLexer.g:158:19: ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* + // InternalSolverLanguageLexer.g:132:19: ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* loop1: do { int alt1=3; @@ -1627,7 +1341,7 @@ public class InternalSolverLanguageLexer extends Lexer { switch (alt1) { case 1 : - // InternalSolverLanguageLexer.g:158:20: '\\\\' . + // InternalSolverLanguageLexer.g:132:20: '\\\\' . { match('\\'); matchAny(); @@ -1635,7 +1349,7 @@ public class InternalSolverLanguageLexer extends Lexer { } break; case 2 : - // InternalSolverLanguageLexer.g:158:27: ~ ( ( '\\\\' | '\"' ) ) + // InternalSolverLanguageLexer.g:132:27: ~ ( ( '\\\\' | '\"' ) ) { if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { input.consume(); @@ -1672,11 +1386,11 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = RULE_QUOTED_ID; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:160:16: ( '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) - // InternalSolverLanguageLexer.g:160:18: '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' + // InternalSolverLanguageLexer.g:134:16: ( '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) + // InternalSolverLanguageLexer.g:134:18: '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' { match('\''); - // InternalSolverLanguageLexer.g:160:23: ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* + // InternalSolverLanguageLexer.g:134:23: ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* loop2: do { int alt2=3; @@ -1692,7 +1406,7 @@ public class InternalSolverLanguageLexer extends Lexer { switch (alt2) { case 1 : - // InternalSolverLanguageLexer.g:160:24: '\\\\' . + // InternalSolverLanguageLexer.g:134:24: '\\\\' . { match('\\'); matchAny(); @@ -1700,7 +1414,7 @@ public class InternalSolverLanguageLexer extends Lexer { } break; case 2 : - // InternalSolverLanguageLexer.g:160:31: ~ ( ( '\\\\' | '\\'' ) ) + // InternalSolverLanguageLexer.g:134:31: ~ ( ( '\\\\' | '\\'' ) ) { if ( (input.LA(1)>='\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { input.consume(); @@ -1737,10 +1451,10 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = RULE_SL_COMMENT; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:162:17: ( ( '%' | '//' ) (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? ) - // InternalSolverLanguageLexer.g:162:19: ( '%' | '//' ) (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? + // InternalSolverLanguageLexer.g:136:17: ( ( '%' | '//' ) (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? ) + // InternalSolverLanguageLexer.g:136:19: ( '%' | '//' ) (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? { - // InternalSolverLanguageLexer.g:162:19: ( '%' | '//' ) + // InternalSolverLanguageLexer.g:136:19: ( '%' | '//' ) int alt3=2; int LA3_0 = input.LA(1); @@ -1758,14 +1472,14 @@ public class InternalSolverLanguageLexer extends Lexer { } switch (alt3) { case 1 : - // InternalSolverLanguageLexer.g:162:20: '%' + // InternalSolverLanguageLexer.g:136:20: '%' { match('%'); } break; case 2 : - // InternalSolverLanguageLexer.g:162:24: '//' + // InternalSolverLanguageLexer.g:136:24: '//' { match("//"); @@ -1775,7 +1489,7 @@ public class InternalSolverLanguageLexer extends Lexer { } - // InternalSolverLanguageLexer.g:162:30: (~ ( ( '\\n' | '\\r' ) ) )* + // InternalSolverLanguageLexer.g:136:30: (~ ( ( '\\n' | '\\r' ) ) )* loop4: do { int alt4=2; @@ -1788,7 +1502,7 @@ public class InternalSolverLanguageLexer extends Lexer { switch (alt4) { case 1 : - // InternalSolverLanguageLexer.g:162:30: ~ ( ( '\\n' | '\\r' ) ) + // InternalSolverLanguageLexer.g:136:30: ~ ( ( '\\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(); @@ -1808,7 +1522,7 @@ public class InternalSolverLanguageLexer extends Lexer { } } while (true); - // InternalSolverLanguageLexer.g:162:46: ( ( '\\r' )? '\\n' )? + // InternalSolverLanguageLexer.g:136:46: ( ( '\\r' )? '\\n' )? int alt6=2; int LA6_0 = input.LA(1); @@ -1817,9 +1531,9 @@ public class InternalSolverLanguageLexer extends Lexer { } switch (alt6) { case 1 : - // InternalSolverLanguageLexer.g:162:47: ( '\\r' )? '\\n' + // InternalSolverLanguageLexer.g:136:47: ( '\\r' )? '\\n' { - // InternalSolverLanguageLexer.g:162:47: ( '\\r' )? + // InternalSolverLanguageLexer.g:136:47: ( '\\r' )? int alt5=2; int LA5_0 = input.LA(1); @@ -1828,7 +1542,7 @@ public class InternalSolverLanguageLexer extends Lexer { } switch (alt5) { case 1 : - // InternalSolverLanguageLexer.g:162:47: '\\r' + // InternalSolverLanguageLexer.g:136:47: '\\r' { match('\r'); @@ -1858,8 +1572,8 @@ public class InternalSolverLanguageLexer extends Lexer { // $ANTLR start "RULE_TRANSITIVE_CLOSURE" public final void mRULE_TRANSITIVE_CLOSURE() throws RecognitionException { try { - // InternalSolverLanguageLexer.g:164:34: () - // InternalSolverLanguageLexer.g:164:36: + // InternalSolverLanguageLexer.g:138:34: () + // InternalSolverLanguageLexer.g:138:36: { } @@ -1872,8 +1586,8 @@ public class InternalSolverLanguageLexer extends Lexer { // $ANTLR start "RULE_REFLEXIVE_TRANSITIVE_CLOSURE" public final void mRULE_REFLEXIVE_TRANSITIVE_CLOSURE() throws RecognitionException { try { - // InternalSolverLanguageLexer.g:166:44: () - // InternalSolverLanguageLexer.g:166:46: + // InternalSolverLanguageLexer.g:140:44: () + // InternalSolverLanguageLexer.g:140:46: { } @@ -1886,8 +1600,8 @@ public class InternalSolverLanguageLexer extends Lexer { // $ANTLR start "RULE_FULL_STOP" public final void mRULE_FULL_STOP() throws RecognitionException { try { - // InternalSolverLanguageLexer.g:168:25: () - // InternalSolverLanguageLexer.g:168:27: + // InternalSolverLanguageLexer.g:142:25: () + // InternalSolverLanguageLexer.g:142:27: { } @@ -1902,10 +1616,10 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = RULE_ID; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:170:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* ) - // InternalSolverLanguageLexer.g:170:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* + // InternalSolverLanguageLexer.g:144:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* ) + // InternalSolverLanguageLexer.g:144:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* { - // InternalSolverLanguageLexer.g:170:11: ( '^' )? + // InternalSolverLanguageLexer.g:144:11: ( '^' )? int alt7=2; int LA7_0 = input.LA(1); @@ -1914,7 +1628,7 @@ public class InternalSolverLanguageLexer extends Lexer { } switch (alt7) { case 1 : - // InternalSolverLanguageLexer.g:170:11: '^' + // InternalSolverLanguageLexer.g:144:11: '^' { match('^'); @@ -1932,7 +1646,7 @@ public class InternalSolverLanguageLexer extends Lexer { recover(mse); throw mse;} - // InternalSolverLanguageLexer.g:170:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* + // InternalSolverLanguageLexer.g:144:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* loop8: do { int alt8=2; @@ -1981,10 +1695,10 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = RULE_INT; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:172:10: ( ( '0' .. '9' )+ ) - // InternalSolverLanguageLexer.g:172:12: ( '0' .. '9' )+ + // InternalSolverLanguageLexer.g:146:10: ( ( '0' .. '9' )+ ) + // InternalSolverLanguageLexer.g:146:12: ( '0' .. '9' )+ { - // InternalSolverLanguageLexer.g:172:12: ( '0' .. '9' )+ + // InternalSolverLanguageLexer.g:146:12: ( '0' .. '9' )+ int cnt9=0; loop9: do { @@ -1998,7 +1712,7 @@ public class InternalSolverLanguageLexer extends Lexer { switch (alt9) { case 1 : - // InternalSolverLanguageLexer.g:172:13: '0' .. '9' + // InternalSolverLanguageLexer.g:146:13: '0' .. '9' { matchRange('0','9'); @@ -2030,12 +1744,12 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = RULE_ML_COMMENT; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:174:17: ( '/*' ( options {greedy=false; } : . )* '*/' ) - // InternalSolverLanguageLexer.g:174:19: '/*' ( options {greedy=false; } : . )* '*/' + // InternalSolverLanguageLexer.g:148:17: ( '/*' ( options {greedy=false; } : . )* '*/' ) + // InternalSolverLanguageLexer.g:148:19: '/*' ( options {greedy=false; } : . )* '*/' { match("/*"); - // InternalSolverLanguageLexer.g:174:24: ( options {greedy=false; } : . )* + // InternalSolverLanguageLexer.g:148:24: ( options {greedy=false; } : . )* loop10: do { int alt10=2; @@ -2060,7 +1774,7 @@ public class InternalSolverLanguageLexer extends Lexer { switch (alt10) { case 1 : - // InternalSolverLanguageLexer.g:174:52: . + // InternalSolverLanguageLexer.g:148:52: . { matchAny(); @@ -2090,10 +1804,10 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = RULE_WS; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:176:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ ) - // InternalSolverLanguageLexer.g:176:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ + // InternalSolverLanguageLexer.g:150:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ ) + // InternalSolverLanguageLexer.g:150:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ { - // InternalSolverLanguageLexer.g:176:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ + // InternalSolverLanguageLexer.g:150:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ int cnt11=0; loop11: do { @@ -2147,8 +1861,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = RULE_ANY_OTHER; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:178:16: ( . ) - // InternalSolverLanguageLexer.g:178:18: . + // InternalSolverLanguageLexer.g:152:16: ( . ) + // InternalSolverLanguageLexer.g:152:18: . { matchAny(); @@ -2163,565 +1877,474 @@ public class InternalSolverLanguageLexer extends Lexer { // $ANTLR end "RULE_ANY_OTHER" public void mTokens() throws RecognitionException { - // InternalSolverLanguageLexer.g:1:8: ( GREATER_EQ | Functional | Abstract | Contains | Maximize | Minimize | Opposite | GREATER | LESS_EQ | Current | Default | Extends | Unknown | NOT_EQ | Extern | Class | Count | Empty | Error | False | Scope | LESS | Else | Must | Only | Prod | Real | Then | True | ADD | DIV | MUL | POW | SUB | Avg | Inf | Int | Max | May | Min | Sum | ExclamationMarkEqualsSign | HyphenMinusGreaterThanSign | FullStopFullStop | ColonHyphenMinus | LessThanSignEqualsSign | EqualsSignEqualsSign | GreaterThanSignEqualsSign | EQ | IN | If | In | ExclamationMark | LeftParenthesis | RightParenthesis | Asterisk | PlusSign | Comma | HyphenMinus | FullStop | Solidus | Colon | Semicolon | LessThanSign | EqualsSign | GreaterThanSign | LeftSquareBracket | RightSquareBracket | CircumflexAccent | LeftCurlyBracket | VerticalLine | RightCurlyBracket | RULE_STRING | RULE_QUOTED_ID | RULE_SL_COMMENT | RULE_ID | RULE_INT | RULE_ML_COMMENT | RULE_WS | RULE_ANY_OTHER ) - int alt12=80; + // InternalSolverLanguageLexer.g:1:8: ( Functional | Abstract | Contains | Datatype | Maximize | Minimize | Opposite | Current | Default | Extends | Unknown | Exists | Extern | Forall | Class | Count | Empty | Error | False | Scope | Else | Must | Then | True | FullStopFullStopFullStop | Inf | Let | May | ExclamationMarkEqualsSign | HyphenMinusGreaterThanSign | FullStopFullStop | ColonHyphenMinus | LessThanSignEqualsSign | EqualsSignEqualsSign | EqualsSignGreaterThanSign | GreaterThanSignEqualsSign | As | If | In | ExclamationMark | LeftParenthesis | RightParenthesis | Asterisk | PlusSign | Comma | HyphenMinus | FullStop | Solidus | Colon | Semicolon | LessThanSign | EqualsSign | GreaterThanSign | LeftSquareBracket | RightSquareBracket | CircumflexAccent | LeftCurlyBracket | VerticalLine | RightCurlyBracket | RULE_STRING | RULE_QUOTED_ID | RULE_SL_COMMENT | RULE_ID | RULE_INT | RULE_ML_COMMENT | RULE_WS | RULE_ANY_OTHER ) + int alt12=67; alt12 = dfa12.predict(input); switch (alt12) { case 1 : - // InternalSolverLanguageLexer.g:1:10: GREATER_EQ + // InternalSolverLanguageLexer.g:1:10: Functional { - mGREATER_EQ(); + mFunctional(); } break; case 2 : - // InternalSolverLanguageLexer.g:1:21: Functional + // InternalSolverLanguageLexer.g:1:21: Abstract { - mFunctional(); + mAbstract(); } break; case 3 : - // InternalSolverLanguageLexer.g:1:32: Abstract + // InternalSolverLanguageLexer.g:1:30: Contains { - mAbstract(); + mContains(); } break; case 4 : - // InternalSolverLanguageLexer.g:1:41: Contains + // InternalSolverLanguageLexer.g:1:39: Datatype { - mContains(); + mDatatype(); } break; case 5 : - // InternalSolverLanguageLexer.g:1:50: Maximize + // InternalSolverLanguageLexer.g:1:48: Maximize { mMaximize(); } break; case 6 : - // InternalSolverLanguageLexer.g:1:59: Minimize + // InternalSolverLanguageLexer.g:1:57: Minimize { mMinimize(); } break; case 7 : - // InternalSolverLanguageLexer.g:1:68: Opposite + // InternalSolverLanguageLexer.g:1:66: Opposite { mOpposite(); } break; case 8 : - // InternalSolverLanguageLexer.g:1:77: GREATER + // InternalSolverLanguageLexer.g:1:75: Current { - mGREATER(); + mCurrent(); } break; case 9 : - // InternalSolverLanguageLexer.g:1:85: LESS_EQ + // InternalSolverLanguageLexer.g:1:83: Default { - mLESS_EQ(); + mDefault(); } break; case 10 : - // InternalSolverLanguageLexer.g:1:93: Current + // InternalSolverLanguageLexer.g:1:91: Extends { - mCurrent(); + mExtends(); } break; case 11 : - // InternalSolverLanguageLexer.g:1:101: Default + // InternalSolverLanguageLexer.g:1:99: Unknown { - mDefault(); + mUnknown(); } break; case 12 : - // InternalSolverLanguageLexer.g:1:109: Extends + // InternalSolverLanguageLexer.g:1:107: Exists { - mExtends(); + mExists(); } break; case 13 : - // InternalSolverLanguageLexer.g:1:117: Unknown + // InternalSolverLanguageLexer.g:1:114: Extern { - mUnknown(); + mExtern(); } break; case 14 : - // InternalSolverLanguageLexer.g:1:125: NOT_EQ + // InternalSolverLanguageLexer.g:1:121: Forall { - mNOT_EQ(); + mForall(); } break; case 15 : - // InternalSolverLanguageLexer.g:1:132: Extern + // InternalSolverLanguageLexer.g:1:128: Class { - mExtern(); + mClass(); } break; case 16 : - // InternalSolverLanguageLexer.g:1:139: Class + // InternalSolverLanguageLexer.g:1:134: Count { - mClass(); + mCount(); } break; case 17 : - // InternalSolverLanguageLexer.g:1:145: Count + // InternalSolverLanguageLexer.g:1:140: Empty { - mCount(); + mEmpty(); } break; case 18 : - // InternalSolverLanguageLexer.g:1:151: Empty + // InternalSolverLanguageLexer.g:1:146: Error { - mEmpty(); + mError(); } break; case 19 : - // InternalSolverLanguageLexer.g:1:157: Error + // InternalSolverLanguageLexer.g:1:152: False { - mError(); + mFalse(); } break; case 20 : - // InternalSolverLanguageLexer.g:1:163: False + // InternalSolverLanguageLexer.g:1:158: Scope { - mFalse(); + mScope(); } break; case 21 : - // InternalSolverLanguageLexer.g:1:169: Scope + // InternalSolverLanguageLexer.g:1:164: Else { - mScope(); + mElse(); } break; case 22 : - // InternalSolverLanguageLexer.g:1:175: LESS + // InternalSolverLanguageLexer.g:1:169: Must { - mLESS(); + mMust(); } break; case 23 : - // InternalSolverLanguageLexer.g:1:180: Else + // InternalSolverLanguageLexer.g:1:174: Then { - mElse(); + mThen(); } break; case 24 : - // InternalSolverLanguageLexer.g:1:185: Must + // InternalSolverLanguageLexer.g:1:179: True { - mMust(); + mTrue(); } break; case 25 : - // InternalSolverLanguageLexer.g:1:190: Only + // InternalSolverLanguageLexer.g:1:184: FullStopFullStopFullStop { - mOnly(); + mFullStopFullStopFullStop(); } break; case 26 : - // InternalSolverLanguageLexer.g:1:195: Prod + // InternalSolverLanguageLexer.g:1:209: Inf { - mProd(); + mInf(); } break; case 27 : - // InternalSolverLanguageLexer.g:1:200: Real + // InternalSolverLanguageLexer.g:1:213: Let { - mReal(); + mLet(); } break; case 28 : - // InternalSolverLanguageLexer.g:1:205: Then + // InternalSolverLanguageLexer.g:1:217: May { - mThen(); + mMay(); } break; case 29 : - // InternalSolverLanguageLexer.g:1:210: True + // InternalSolverLanguageLexer.g:1:221: ExclamationMarkEqualsSign { - mTrue(); + mExclamationMarkEqualsSign(); } break; case 30 : - // InternalSolverLanguageLexer.g:1:215: ADD + // InternalSolverLanguageLexer.g:1:247: HyphenMinusGreaterThanSign { - mADD(); + mHyphenMinusGreaterThanSign(); } break; case 31 : - // InternalSolverLanguageLexer.g:1:219: DIV + // InternalSolverLanguageLexer.g:1:274: FullStopFullStop { - mDIV(); + mFullStopFullStop(); } break; case 32 : - // InternalSolverLanguageLexer.g:1:223: MUL + // InternalSolverLanguageLexer.g:1:291: ColonHyphenMinus { - mMUL(); + mColonHyphenMinus(); } break; case 33 : - // InternalSolverLanguageLexer.g:1:227: POW + // InternalSolverLanguageLexer.g:1:308: LessThanSignEqualsSign { - mPOW(); + mLessThanSignEqualsSign(); } break; case 34 : - // InternalSolverLanguageLexer.g:1:231: SUB + // InternalSolverLanguageLexer.g:1:331: EqualsSignEqualsSign { - mSUB(); + mEqualsSignEqualsSign(); } break; case 35 : - // InternalSolverLanguageLexer.g:1:235: Avg + // InternalSolverLanguageLexer.g:1:352: EqualsSignGreaterThanSign { - mAvg(); + mEqualsSignGreaterThanSign(); } break; case 36 : - // InternalSolverLanguageLexer.g:1:239: Inf + // InternalSolverLanguageLexer.g:1:378: GreaterThanSignEqualsSign { - mInf(); + mGreaterThanSignEqualsSign(); } break; case 37 : - // InternalSolverLanguageLexer.g:1:243: Int + // InternalSolverLanguageLexer.g:1:404: As { - mInt(); + mAs(); } break; case 38 : - // InternalSolverLanguageLexer.g:1:247: Max - { - mMax(); - - } - break; - case 39 : - // InternalSolverLanguageLexer.g:1:251: May - { - mMay(); - - } - break; - case 40 : - // InternalSolverLanguageLexer.g:1:255: Min - { - mMin(); - - } - break; - case 41 : - // InternalSolverLanguageLexer.g:1:259: Sum - { - mSum(); - - } - break; - case 42 : - // InternalSolverLanguageLexer.g:1:263: ExclamationMarkEqualsSign - { - mExclamationMarkEqualsSign(); - - } - break; - case 43 : - // InternalSolverLanguageLexer.g:1:289: HyphenMinusGreaterThanSign - { - mHyphenMinusGreaterThanSign(); - - } - break; - case 44 : - // InternalSolverLanguageLexer.g:1:316: FullStopFullStop - { - mFullStopFullStop(); - - } - break; - case 45 : - // InternalSolverLanguageLexer.g:1:333: ColonHyphenMinus - { - mColonHyphenMinus(); - - } - break; - case 46 : - // InternalSolverLanguageLexer.g:1:350: LessThanSignEqualsSign - { - mLessThanSignEqualsSign(); - - } - break; - case 47 : - // InternalSolverLanguageLexer.g:1:373: EqualsSignEqualsSign - { - mEqualsSignEqualsSign(); - - } - break; - case 48 : - // InternalSolverLanguageLexer.g:1:394: GreaterThanSignEqualsSign - { - mGreaterThanSignEqualsSign(); - - } - break; - case 49 : - // InternalSolverLanguageLexer.g:1:420: EQ - { - mEQ(); - - } - break; - case 50 : - // InternalSolverLanguageLexer.g:1:423: IN - { - mIN(); - - } - break; - case 51 : - // InternalSolverLanguageLexer.g:1:426: If + // InternalSolverLanguageLexer.g:1:407: If { mIf(); } break; - case 52 : - // InternalSolverLanguageLexer.g:1:429: In + case 39 : + // InternalSolverLanguageLexer.g:1:410: In { mIn(); } break; - case 53 : - // InternalSolverLanguageLexer.g:1:432: ExclamationMark + case 40 : + // InternalSolverLanguageLexer.g:1:413: ExclamationMark { mExclamationMark(); } break; - case 54 : - // InternalSolverLanguageLexer.g:1:448: LeftParenthesis + case 41 : + // InternalSolverLanguageLexer.g:1:429: LeftParenthesis { mLeftParenthesis(); } break; - case 55 : - // InternalSolverLanguageLexer.g:1:464: RightParenthesis + case 42 : + // InternalSolverLanguageLexer.g:1:445: RightParenthesis { mRightParenthesis(); } break; - case 56 : - // InternalSolverLanguageLexer.g:1:481: Asterisk + case 43 : + // InternalSolverLanguageLexer.g:1:462: Asterisk { mAsterisk(); } break; - case 57 : - // InternalSolverLanguageLexer.g:1:490: PlusSign + case 44 : + // InternalSolverLanguageLexer.g:1:471: PlusSign { mPlusSign(); } break; - case 58 : - // InternalSolverLanguageLexer.g:1:499: Comma + case 45 : + // InternalSolverLanguageLexer.g:1:480: Comma { mComma(); } break; - case 59 : - // InternalSolverLanguageLexer.g:1:505: HyphenMinus + case 46 : + // InternalSolverLanguageLexer.g:1:486: HyphenMinus { mHyphenMinus(); } break; - case 60 : - // InternalSolverLanguageLexer.g:1:517: FullStop + case 47 : + // InternalSolverLanguageLexer.g:1:498: FullStop { mFullStop(); } break; - case 61 : - // InternalSolverLanguageLexer.g:1:526: Solidus + case 48 : + // InternalSolverLanguageLexer.g:1:507: Solidus { mSolidus(); } break; - case 62 : - // InternalSolverLanguageLexer.g:1:534: Colon + case 49 : + // InternalSolverLanguageLexer.g:1:515: Colon { mColon(); } break; - case 63 : - // InternalSolverLanguageLexer.g:1:540: Semicolon + case 50 : + // InternalSolverLanguageLexer.g:1:521: Semicolon { mSemicolon(); } break; - case 64 : - // InternalSolverLanguageLexer.g:1:550: LessThanSign + case 51 : + // InternalSolverLanguageLexer.g:1:531: LessThanSign { mLessThanSign(); } break; - case 65 : - // InternalSolverLanguageLexer.g:1:563: EqualsSign + case 52 : + // InternalSolverLanguageLexer.g:1:544: EqualsSign { mEqualsSign(); } break; - case 66 : - // InternalSolverLanguageLexer.g:1:574: GreaterThanSign + case 53 : + // InternalSolverLanguageLexer.g:1:555: GreaterThanSign { mGreaterThanSign(); } break; - case 67 : - // InternalSolverLanguageLexer.g:1:590: LeftSquareBracket + case 54 : + // InternalSolverLanguageLexer.g:1:571: LeftSquareBracket { mLeftSquareBracket(); } break; - case 68 : - // InternalSolverLanguageLexer.g:1:608: RightSquareBracket + case 55 : + // InternalSolverLanguageLexer.g:1:589: RightSquareBracket { mRightSquareBracket(); } break; - case 69 : - // InternalSolverLanguageLexer.g:1:627: CircumflexAccent + case 56 : + // InternalSolverLanguageLexer.g:1:608: CircumflexAccent { mCircumflexAccent(); } break; - case 70 : - // InternalSolverLanguageLexer.g:1:644: LeftCurlyBracket + case 57 : + // InternalSolverLanguageLexer.g:1:625: LeftCurlyBracket { mLeftCurlyBracket(); } break; - case 71 : - // InternalSolverLanguageLexer.g:1:661: VerticalLine + case 58 : + // InternalSolverLanguageLexer.g:1:642: VerticalLine { mVerticalLine(); } break; - case 72 : - // InternalSolverLanguageLexer.g:1:674: RightCurlyBracket + case 59 : + // InternalSolverLanguageLexer.g:1:655: RightCurlyBracket { mRightCurlyBracket(); } break; - case 73 : - // InternalSolverLanguageLexer.g:1:692: RULE_STRING + case 60 : + // InternalSolverLanguageLexer.g:1:673: RULE_STRING { mRULE_STRING(); } break; - case 74 : - // InternalSolverLanguageLexer.g:1:704: RULE_QUOTED_ID + case 61 : + // InternalSolverLanguageLexer.g:1:685: RULE_QUOTED_ID { mRULE_QUOTED_ID(); } break; - case 75 : - // InternalSolverLanguageLexer.g:1:719: RULE_SL_COMMENT + case 62 : + // InternalSolverLanguageLexer.g:1:700: RULE_SL_COMMENT { mRULE_SL_COMMENT(); } break; - case 76 : - // InternalSolverLanguageLexer.g:1:735: RULE_ID + case 63 : + // InternalSolverLanguageLexer.g:1:716: RULE_ID { mRULE_ID(); } break; - case 77 : - // InternalSolverLanguageLexer.g:1:743: RULE_INT + case 64 : + // InternalSolverLanguageLexer.g:1:724: RULE_INT { mRULE_INT(); } break; - case 78 : - // InternalSolverLanguageLexer.g:1:752: RULE_ML_COMMENT + case 65 : + // InternalSolverLanguageLexer.g:1:733: RULE_ML_COMMENT { mRULE_ML_COMMENT(); } break; - case 79 : - // InternalSolverLanguageLexer.g:1:768: RULE_WS + case 66 : + // InternalSolverLanguageLexer.g:1:749: RULE_WS { mRULE_WS(); } break; - case 80 : - // InternalSolverLanguageLexer.g:1:776: RULE_ANY_OTHER + case 67 : + // InternalSolverLanguageLexer.g:1:757: RULE_ANY_OTHER { mRULE_ANY_OTHER(); @@ -2735,104 +2358,90 @@ public class InternalSolverLanguageLexer extends Lexer { protected DFA12 dfa12 = new DFA12(this); static final String DFA12_eotS = - "\1\uffff\25\64\1\127\1\131\1\133\1\135\1\137\1\141\1\143\2\64\5\uffff\1\155\3\uffff\1\161\3\uffff\2\62\5\uffff\1\64\1\uffff\37\64\1\u009d\1\u009e\16\uffff\1\u009f\1\u00a0\23\uffff\4\64\1\u00a5\4\64\1\u00ab\1\u00ac\1\u00ae\14\64\1\u00bb\4\64\1\u00c0\1\u00c1\1\u00c2\1\u00c3\1\u00c4\1\u00c5\1\u00c6\4\uffff\4\64\1\uffff\5\64\2\uffff\1\64\1\uffff\1\u00d1\1\64\1\u00d3\1\u00d5\4\64\1\u00db\3\64\1\uffff\1\u00df\1\u00e0\1\u00e1\1\u00e2\7\uffff\2\64\1\u00e5\2\64\1\u00e8\1\64\1\u00ea\2\64\1\uffff\1\64\1\uffff\1\64\1\uffff\3\64\1\u00f2\1\u00f3\1\uffff\2\64\1\u00f6\4\uffff\2\64\1\uffff\2\64\1\uffff\1\64\1\uffff\6\64\1\u0102\2\uffff\1\64\1\u0104\1\uffff\1\u0106\3\64\1\u010a\3\64\1\u010e\1\u010f\1\u0110\1\uffff\1\u0111\1\uffff\1\64\1\uffff\1\64\1\u0114\1\u0115\1\uffff\1\u0116\1\u0117\1\u0118\4\uffff\2\64\5\uffff\1\u011b\1\u011c\2\uffff"; + "\1\uffff\12\53\1\100\2\53\1\105\1\107\1\111\1\113\1\116\1\120\5\uffff\1\130\3\uffff\1\134\3\uffff\2\47\5\uffff\3\53\1\uffff\1\53\1\150\21\53\1\176\1\uffff\1\u0080\1\u0081\1\53\40\uffff\4\53\1\uffff\7\53\1\u008e\14\53\2\uffff\1\u009b\2\uffff\1\u009c\13\53\1\uffff\1\53\1\u00a9\5\53\1\u00b0\2\53\1\u00b3\1\u00b4\2\uffff\2\53\1\u00b7\2\53\1\u00ba\1\53\1\u00bc\4\53\1\uffff\4\53\1\u00c5\1\u00c6\1\uffff\1\53\1\u00c8\2\uffff\1\53\1\u00ca\1\uffff\2\53\1\uffff\1\53\1\uffff\6\53\1\u00d4\1\u00d5\2\uffff\1\53\1\uffff\1\53\1\uffff\2\53\1\u00da\1\53\1\u00dc\3\53\1\u00e0\2\uffff\1\u00e1\1\53\1\u00e3\1\u00e4\1\uffff\1\u00e5\1\uffff\1\u00e6\1\u00e7\1\u00e8\2\uffff\1\53\6\uffff\1\u00ea\1\uffff"; static final String DFA12_eofS = - "\u011d\uffff"; + "\u00eb\uffff"; static final String DFA12_minS = - "\1\0\1\122\1\141\1\142\1\154\1\141\1\156\1\105\1\145\1\154\1\156\1\117\1\143\1\162\1\145\1\150\1\104\1\111\1\125\1\117\1\125\1\146\1\75\1\76\1\56\1\55\3\75\1\121\1\116\5\uffff\1\52\3\uffff\1\101\3\uffff\2\0\5\uffff\1\105\1\uffff\1\156\1\154\1\163\1\147\1\156\1\162\1\141\1\170\1\156\1\163\1\160\1\154\1\123\1\146\1\164\1\160\1\162\1\163\1\153\1\124\1\157\1\155\1\157\1\141\1\145\1\165\1\104\1\126\1\114\1\127\1\102\2\60\16\uffff\2\60\23\uffff\1\101\1\143\1\163\1\164\1\60\1\164\1\156\1\162\1\163\3\60\1\164\1\157\1\171\1\123\1\141\1\145\1\164\1\157\1\145\1\156\1\137\1\160\1\60\1\144\1\154\1\156\1\145\7\60\4\uffff\1\124\1\164\1\145\1\162\1\uffff\1\141\1\164\1\145\1\163\1\155\2\uffff\1\155\1\uffff\1\60\1\163\2\60\1\165\1\156\1\171\1\162\1\60\1\157\1\105\1\145\1\uffff\4\60\7\uffff\1\105\1\151\1\60\1\141\1\151\1\60\1\156\1\60\2\151\1\uffff\1\151\1\uffff\1\105\1\uffff\1\154\1\144\1\156\2\60\1\uffff\1\167\1\121\1\60\4\uffff\1\122\1\157\1\uffff\1\143\1\156\1\uffff\1\164\1\uffff\2\172\1\164\1\121\1\164\1\163\1\60\2\uffff\1\156\1\60\1\uffff\1\60\1\156\1\164\1\163\1\60\3\145\3\60\1\uffff\1\60\1\uffff\1\105\1\uffff\1\141\2\60\1\uffff\3\60\4\uffff\1\121\1\154\5\uffff\2\60\2\uffff"; + "\1\0\1\141\1\142\1\154\2\141\1\160\1\154\1\156\1\143\1\150\1\56\1\146\1\145\1\75\1\76\1\55\3\75\5\uffff\1\52\3\uffff\1\101\3\uffff\2\0\5\uffff\1\156\1\162\1\154\1\uffff\1\163\1\60\1\156\1\162\1\141\1\164\1\146\1\170\1\156\1\163\1\160\1\151\1\160\1\162\1\163\1\153\1\157\1\145\1\165\1\56\1\uffff\2\60\1\164\40\uffff\1\143\1\141\1\163\1\164\1\uffff\1\164\1\156\1\162\1\163\2\141\1\151\1\60\1\151\1\164\1\157\1\145\1\163\1\164\1\157\1\145\1\156\1\160\1\156\1\145\2\uffff\1\60\2\uffff\1\60\1\164\1\154\1\145\1\162\1\141\1\164\1\145\1\163\1\164\1\165\1\155\1\uffff\1\155\1\60\1\163\1\156\1\164\1\171\1\162\1\60\1\157\1\145\2\60\2\uffff\1\151\1\154\1\60\1\141\1\151\1\60\1\156\1\60\1\171\1\154\2\151\1\uffff\1\151\1\144\1\156\1\163\2\60\1\uffff\1\167\1\60\2\uffff\1\157\1\60\1\uffff\1\143\1\156\1\uffff\1\164\1\uffff\1\160\1\164\2\172\1\164\1\163\2\60\2\uffff\1\156\1\uffff\1\156\1\uffff\1\164\1\163\1\60\1\145\1\60\3\145\1\60\2\uffff\1\60\1\141\2\60\1\uffff\1\60\1\uffff\3\60\2\uffff\1\154\6\uffff\1\60\1\uffff"; static final String DFA12_maxS = - "\1\uffff\1\122\1\165\1\166\2\165\1\160\1\105\1\145\1\170\1\156\1\117\1\165\1\162\1\145\1\162\1\104\1\111\1\125\1\117\1\125\1\156\1\75\1\76\1\56\1\55\3\75\1\121\1\116\5\uffff\1\57\3\uffff\1\172\3\uffff\2\uffff\5\uffff\1\105\1\uffff\1\156\1\154\1\163\1\147\1\165\1\162\1\141\1\171\1\156\1\163\1\160\1\154\1\123\1\146\1\164\1\160\1\162\1\163\1\153\1\124\1\157\1\155\1\157\1\141\1\145\1\165\1\104\1\126\1\114\1\127\1\102\2\172\16\uffff\2\172\23\uffff\1\101\1\143\1\163\1\164\1\172\1\164\1\156\1\162\1\163\3\172\1\164\1\157\1\171\1\123\1\141\1\145\1\164\1\157\1\145\1\156\1\137\1\160\1\172\1\144\1\154\1\156\1\145\7\172\4\uffff\1\124\1\164\1\145\1\162\1\uffff\1\141\1\164\1\145\1\163\1\155\2\uffff\1\155\1\uffff\1\172\1\163\2\172\1\165\1\162\1\171\1\162\1\172\1\157\1\105\1\145\1\uffff\4\172\7\uffff\1\105\1\151\1\172\1\141\1\151\1\172\1\156\1\172\2\151\1\uffff\1\151\1\uffff\1\105\1\uffff\1\154\1\144\1\156\2\172\1\uffff\1\167\1\121\1\172\4\uffff\1\122\1\157\1\uffff\1\143\1\156\1\uffff\1\164\1\uffff\2\172\1\164\1\121\1\164\1\163\1\172\2\uffff\1\156\1\172\1\uffff\1\172\1\156\1\164\1\163\1\172\3\145\3\172\1\uffff\1\172\1\uffff\1\105\1\uffff\1\141\2\172\1\uffff\3\172\4\uffff\1\121\1\154\5\uffff\2\172\2\uffff"; + "\1\uffff\1\165\1\163\1\165\1\145\1\165\1\160\1\170\1\156\1\143\1\162\1\56\1\156\1\145\1\75\1\76\1\55\1\75\1\76\1\75\5\uffff\1\57\3\uffff\1\172\3\uffff\2\uffff\5\uffff\1\156\1\162\1\154\1\uffff\1\163\1\172\1\165\1\162\1\141\1\164\1\146\1\171\1\156\1\163\1\160\1\164\1\160\1\162\1\163\1\153\1\157\1\145\1\165\1\56\1\uffff\2\172\1\164\40\uffff\1\143\1\141\1\163\1\164\1\uffff\1\164\1\156\1\162\1\163\2\141\1\151\1\172\1\151\1\164\1\157\1\145\1\163\1\164\1\157\1\145\1\156\1\160\1\156\1\145\2\uffff\1\172\2\uffff\1\172\1\164\1\154\1\145\1\162\1\141\1\164\1\145\1\163\1\164\1\165\1\155\1\uffff\1\155\1\172\1\163\1\162\1\164\1\171\1\162\1\172\1\157\1\145\2\172\2\uffff\1\151\1\154\1\172\1\141\1\151\1\172\1\156\1\172\1\171\1\154\2\151\1\uffff\1\151\1\144\1\156\1\163\2\172\1\uffff\1\167\1\172\2\uffff\1\157\1\172\1\uffff\1\143\1\156\1\uffff\1\164\1\uffff\1\160\1\164\2\172\1\164\1\163\2\172\2\uffff\1\156\1\uffff\1\156\1\uffff\1\164\1\163\1\172\1\145\1\172\3\145\1\172\2\uffff\1\172\1\141\2\172\1\uffff\1\172\1\uffff\3\172\2\uffff\1\154\6\uffff\1\172\1\uffff"; static final String DFA12_acceptS = - "\37\uffff\1\66\1\67\1\70\1\71\1\72\1\uffff\1\77\1\103\1\104\1\uffff\1\106\1\107\1\110\2\uffff\1\113\1\114\1\115\1\117\1\120\1\uffff\1\114\41\uffff\1\52\1\65\1\53\1\73\1\54\1\74\1\55\1\76\1\56\1\100\1\57\1\101\1\60\1\102\2\uffff\1\66\1\67\1\70\1\71\1\72\1\113\1\116\1\75\1\77\1\103\1\104\1\105\1\106\1\107\1\110\1\111\1\112\1\115\1\117\44\uffff\1\64\1\63\1\61\1\62\4\uffff\1\43\5\uffff\1\46\1\47\1\uffff\1\50\14\uffff\1\51\4\uffff\1\36\1\37\1\40\1\41\1\42\1\44\1\45\12\uffff\1\30\1\uffff\1\31\1\uffff\1\26\5\uffff\1\27\3\uffff\1\32\1\33\1\34\1\35\2\uffff\1\24\2\uffff\1\21\1\uffff\1\20\7\uffff\1\22\1\23\2\uffff\1\25\13\uffff\1\17\1\uffff\1\16\1\uffff\1\10\3\uffff\1\12\3\uffff\1\11\1\13\1\14\1\15\2\uffff\1\3\1\4\1\5\1\6\1\7\2\uffff\1\1\1\2"; + "\24\uffff\1\51\1\52\1\53\1\54\1\55\1\uffff\1\62\1\66\1\67\1\uffff\1\71\1\72\1\73\2\uffff\1\76\1\77\1\100\1\102\1\103\3\uffff\1\77\24\uffff\1\57\3\uffff\1\35\1\50\1\36\1\56\1\40\1\61\1\41\1\63\1\42\1\43\1\64\1\44\1\65\1\51\1\52\1\53\1\54\1\55\1\76\1\101\1\60\1\62\1\66\1\67\1\70\1\71\1\72\1\73\1\74\1\75\1\100\1\102\4\uffff\1\45\24\uffff\1\31\1\37\1\uffff\1\47\1\46\14\uffff\1\34\14\uffff\1\32\1\33\14\uffff\1\26\6\uffff\1\25\2\uffff\1\27\1\30\2\uffff\1\23\2\uffff\1\20\1\uffff\1\17\10\uffff\1\21\1\22\1\uffff\1\24\1\uffff\1\16\11\uffff\1\15\1\14\4\uffff\1\10\1\uffff\1\11\3\uffff\1\12\1\13\1\uffff\1\2\1\3\1\4\1\5\1\6\1\7\1\uffff\1\1"; static final String DFA12_specialS = - "\1\1\53\uffff\1\0\1\2\u00ef\uffff}>"; + "\1\2\40\uffff\1\0\1\1\u00c8\uffff}>"; static final String[] DFA12_transitionS = { - "\11\62\2\61\2\62\1\61\22\62\1\61\1\26\1\54\2\62\1\56\1\62\1\55\1\37\1\40\1\41\1\42\1\43\1\27\1\30\1\44\12\60\1\31\1\45\1\32\1\33\1\34\2\62\1\20\2\57\1\21\1\35\1\57\1\1\1\57\1\36\2\57\1\7\1\22\1\13\1\57\1\23\2\57\1\24\7\57\1\46\1\62\1\47\1\50\1\57\1\62\1\3\1\57\1\4\1\10\1\11\1\2\2\57\1\25\3\57\1\5\1\57\1\6\1\15\1\57\1\16\1\14\1\17\1\12\5\57\1\51\1\52\1\53\uff82\62", - "\1\63", - "\1\66\23\uffff\1\65", - "\1\67\23\uffff\1\70", - "\1\73\2\uffff\1\71\5\uffff\1\72", - "\1\74\7\uffff\1\75\13\uffff\1\76", - "\1\100\1\uffff\1\77", - "\1\101", - "\1\102", - "\1\106\1\104\4\uffff\1\105\5\uffff\1\103", - "\1\107", + "\11\47\2\46\2\47\1\46\22\47\1\46\1\16\1\41\2\47\1\43\1\47\1\42\1\24\1\25\1\26\1\27\1\30\1\17\1\13\1\31\12\45\1\20\1\32\1\21\1\22\1\23\2\47\32\44\1\33\1\47\1\34\1\35\1\44\1\47\1\2\1\44\1\3\1\4\1\7\1\1\2\44\1\14\2\44\1\15\1\5\1\44\1\6\3\44\1\11\1\12\1\10\5\44\1\36\1\37\1\40\uff82\47", + "\1\52\15\uffff\1\51\5\uffff\1\50", + "\1\54\20\uffff\1\55", + "\1\60\2\uffff\1\56\5\uffff\1\57", + "\1\61\3\uffff\1\62", + "\1\63\7\uffff\1\64\13\uffff\1\65", + "\1\66", + "\1\72\1\70\4\uffff\1\71\5\uffff\1\67", + "\1\73", + "\1\74", + "\1\75\11\uffff\1\76", + "\1\77", + "\1\102\7\uffff\1\101", + "\1\103", + "\1\104", + "\1\106", "\1\110", - "\1\111\21\uffff\1\112", - "\1\113", - "\1\114", - "\1\115\11\uffff\1\116", + "\1\112", + "\1\114\1\115", "\1\117", - "\1\120", - "\1\121", - "\1\122", - "\1\123", - "\1\125\7\uffff\1\124", - "\1\126", - "\1\130", - "\1\132", - "\1\134", - "\1\136", - "\1\140", - "\1\142", - "\1\144", - "\1\145", "", "", "", "", "", - "\1\154\4\uffff\1\153", + "\1\127\4\uffff\1\126", "", "", "", - "\32\64\4\uffff\1\64\1\uffff\32\64", + "\32\53\4\uffff\1\53\1\uffff\32\53", "", "", "", - "\0\165", - "\0\166", + "\0\140", + "\0\141", "", "", "", "", "", + "\1\144", + "\1\145", + "\1\146", + "", + "\1\147", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\1\151\6\uffff\1\152", + "\1\153", + "\1\154", + "\1\155", + "\1\156", + "\1\157\1\160", + "\1\161", + "\1\162", + "\1\163", + "\1\165\12\uffff\1\164", + "\1\166", + "\1\167", + "\1\170", "\1\171", - "", "\1\172", "\1\173", "\1\174", "\1\175", - "\1\176\6\uffff\1\177", - "\1\u0080", - "\1\u0081", - "\1\u0082\1\u0083", - "\1\u0084", - "\1\u0085", - "\1\u0086", - "\1\u0087", - "\1\u0088", - "\1\u0089", - "\1\u008a", - "\1\u008b", - "\1\u008c", - "\1\u008d", - "\1\u008e", - "\1\u008f", - "\1\u0090", - "\1\u0091", - "\1\u0092", - "\1\u0093", - "\1\u0094", - "\1\u0095", - "\1\u0096", - "\1\u0097", - "\1\u0098", - "\1\u0099", - "\1\u009a", - "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\5\64\1\u009b\15\64\1\u009c\6\64", - "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64", + "", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\5\53\1\177\24\53", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\1\u0082", + "", + "", + "", + "", "", "", "", @@ -2847,8 +2456,6 @@ public class InternalSolverLanguageLexer extends Lexer { "", "", "", - "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64", - "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64", "", "", "", @@ -2863,174 +2470,140 @@ public class InternalSolverLanguageLexer extends Lexer { "", "", "", + "\1\u0083", + "\1\u0084", + "\1\u0085", + "\1\u0086", "", + "\1\u0087", + "\1\u0088", + "\1\u0089", + "\1\u008a", + "\1\u008b", + "\1\u008c", + "\1\u008d", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\1\u008f", + "\1\u0090", + "\1\u0091", + "\1\u0092", + "\1\u0093", + "\1\u0094", + "\1\u0095", + "\1\u0096", + "\1\u0097", + "\1\u0098", + "\1\u0099", + "\1\u009a", "", "", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", "", "", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\1\u009d", + "\1\u009e", + "\1\u009f", + "\1\u00a0", "\1\u00a1", "\1\u00a2", "\1\u00a3", "\1\u00a4", - "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64", + "\1\u00a5", "\1\u00a6", "\1\u00a7", + "", "\1\u00a8", - "\1\u00a9", - "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\10\64\1\u00aa\21\64", - "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64", - "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\10\64\1\u00ad\21\64", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\1\u00aa", + "\1\u00ab\3\uffff\1\u00ac", + "\1\u00ad", + "\1\u00ae", "\1\u00af", - "\1\u00b0", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", "\1\u00b1", "\1\u00b2", - "\1\u00b3", - "\1\u00b4", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "", + "", "\1\u00b5", "\1\u00b6", - "\1\u00b7", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", "\1\u00b8", "\1\u00b9", - "\1\u00ba", - "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64", - "\1\u00bc", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\1\u00bb", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", "\1\u00bd", "\1\u00be", "\1\u00bf", - "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64", - "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64", - "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64", - "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64", - "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64", - "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64", - "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64", + "\1\u00c0", "", + "\1\u00c1", + "\1\u00c2", + "\1\u00c3", + "\1\u00c4", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", "", + "\1\u00c7", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", "", "", - "\1\u00c7", - "\1\u00c8", "\1\u00c9", - "\1\u00ca", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", "", "\1\u00cb", "\1\u00cc", + "", "\1\u00cd", + "", "\1\u00ce", "\1\u00cf", - "", - "", "\1\u00d0", - "", - "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64", + "\1\u00d1", "\1\u00d2", - "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64", - "\12\64\7\uffff\32\64\4\uffff\1\u00d4\1\uffff\32\64", + "\1\u00d3", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "", + "", "\1\u00d6", - "\1\u00d7\3\uffff\1\u00d8", + "", + "\1\u00d7", + "", + "\1\u00d8", "\1\u00d9", - "\1\u00da", - "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64", - "\1\u00dc", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\1\u00db", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", "\1\u00dd", "\1\u00de", - "", - "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64", - "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64", - "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64", - "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64", + "\1\u00df", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", "", "", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\1\u00e2", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", "", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", "", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", "", "", - "", - "\1\u00e3", - "\1\u00e4", - "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64", - "\1\u00e6", - "\1\u00e7", - "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64", "\1\u00e9", - "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64", - "\1\u00eb", - "\1\u00ec", - "", - "\1\u00ed", - "", - "\1\u00ee", - "", - "\1\u00ef", - "\1\u00f0", - "\1\u00f1", - "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64", - "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64", - "", - "\1\u00f4", - "\1\u00f5", - "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64", - "", - "", - "", - "", - "\1\u00f7", - "\1\u00f8", - "", - "\1\u00f9", - "\1\u00fa", - "", - "\1\u00fb", - "", - "\1\u00fc", - "\1\u00fd", - "\1\u00fe", - "\1\u00ff", - "\1\u0100", - "\1\u0101", - "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64", - "", - "", - "\1\u0103", - "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64", "", - "\12\64\7\uffff\32\64\4\uffff\1\u0105\1\uffff\32\64", - "\1\u0107", - "\1\u0108", - "\1\u0109", - "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64", - "\1\u010b", - "\1\u010c", - "\1\u010d", - "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64", - "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64", - "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64", "", - "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64", "", - "\1\u0112", "", - "\1\u0113", - "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64", - "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64", "", - "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64", - "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64", - "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64", - "", - "", - "", - "", - "\1\u0119", - "\1\u011a", - "", - "", - "", - "", - "", - "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64", - "\12\64\7\uffff\32\64\4\uffff\1\64\1\uffff\32\64", "", + "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", "" }; @@ -3064,135 +2637,113 @@ public class InternalSolverLanguageLexer extends Lexer { this.transition = DFA12_transition; } public String getDescription() { - return "1:1: Tokens : ( GREATER_EQ | Functional | Abstract | Contains | Maximize | Minimize | Opposite | GREATER | LESS_EQ | Current | Default | Extends | Unknown | NOT_EQ | Extern | Class | Count | Empty | Error | False | Scope | LESS | Else | Must | Only | Prod | Real | Then | True | ADD | DIV | MUL | POW | SUB | Avg | Inf | Int | Max | May | Min | Sum | ExclamationMarkEqualsSign | HyphenMinusGreaterThanSign | FullStopFullStop | ColonHyphenMinus | LessThanSignEqualsSign | EqualsSignEqualsSign | GreaterThanSignEqualsSign | EQ | IN | If | In | ExclamationMark | LeftParenthesis | RightParenthesis | Asterisk | PlusSign | Comma | HyphenMinus | FullStop | Solidus | Colon | Semicolon | LessThanSign | EqualsSign | GreaterThanSign | LeftSquareBracket | RightSquareBracket | CircumflexAccent | LeftCurlyBracket | VerticalLine | RightCurlyBracket | RULE_STRING | RULE_QUOTED_ID | RULE_SL_COMMENT | RULE_ID | RULE_INT | RULE_ML_COMMENT | RULE_WS | RULE_ANY_OTHER );"; + return "1:1: Tokens : ( Functional | Abstract | Contains | Datatype | Maximize | Minimize | Opposite | Current | Default | Extends | Unknown | Exists | Extern | Forall | Class | Count | Empty | Error | False | Scope | Else | Must | Then | True | FullStopFullStopFullStop | Inf | Let | May | ExclamationMarkEqualsSign | HyphenMinusGreaterThanSign | FullStopFullStop | ColonHyphenMinus | LessThanSignEqualsSign | EqualsSignEqualsSign | EqualsSignGreaterThanSign | GreaterThanSignEqualsSign | As | If | In | ExclamationMark | LeftParenthesis | RightParenthesis | Asterisk | PlusSign | Comma | HyphenMinus | FullStop | Solidus | Colon | Semicolon | LessThanSign | EqualsSign | GreaterThanSign | LeftSquareBracket | RightSquareBracket | CircumflexAccent | LeftCurlyBracket | VerticalLine | RightCurlyBracket | RULE_STRING | RULE_QUOTED_ID | RULE_SL_COMMENT | RULE_ID | RULE_INT | RULE_ML_COMMENT | RULE_WS | RULE_ANY_OTHER );"; } public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { IntStream input = _input; int _s = s; switch ( s ) { case 0 : - int LA12_44 = input.LA(1); + int LA12_33 = input.LA(1); s = -1; - if ( ((LA12_44>='\u0000' && LA12_44<='\uFFFF')) ) {s = 117;} + if ( ((LA12_33>='\u0000' && LA12_33<='\uFFFF')) ) {s = 96;} - else s = 50; + else s = 39; if ( s>=0 ) return s; break; case 1 : - int LA12_0 = input.LA(1); + int LA12_34 = input.LA(1); s = -1; - if ( (LA12_0=='G') ) {s = 1;} - - else if ( (LA12_0=='f') ) {s = 2;} - - else if ( (LA12_0=='a') ) {s = 3;} - - else if ( (LA12_0=='c') ) {s = 4;} - - else if ( (LA12_0=='m') ) {s = 5;} - - else if ( (LA12_0=='o') ) {s = 6;} + if ( ((LA12_34>='\u0000' && LA12_34<='\uFFFF')) ) {s = 97;} - else if ( (LA12_0=='L') ) {s = 7;} + else s = 39; - else if ( (LA12_0=='d') ) {s = 8;} - - else if ( (LA12_0=='e') ) {s = 9;} - - else if ( (LA12_0=='u') ) {s = 10;} - - else if ( (LA12_0=='N') ) {s = 11;} - - else if ( (LA12_0=='s') ) {s = 12;} - - else if ( (LA12_0=='p') ) {s = 13;} - - else if ( (LA12_0=='r') ) {s = 14;} + if ( s>=0 ) return s; + break; + case 2 : + int LA12_0 = input.LA(1); - else if ( (LA12_0=='t') ) {s = 15;} + s = -1; + if ( (LA12_0=='f') ) {s = 1;} - else if ( (LA12_0=='A') ) {s = 16;} + else if ( (LA12_0=='a') ) {s = 2;} - else if ( (LA12_0=='D') ) {s = 17;} + else if ( (LA12_0=='c') ) {s = 3;} - else if ( (LA12_0=='M') ) {s = 18;} + else if ( (LA12_0=='d') ) {s = 4;} - else if ( (LA12_0=='P') ) {s = 19;} + else if ( (LA12_0=='m') ) {s = 5;} - else if ( (LA12_0=='S') ) {s = 20;} + else if ( (LA12_0=='o') ) {s = 6;} - else if ( (LA12_0=='i') ) {s = 21;} + else if ( (LA12_0=='e') ) {s = 7;} - else if ( (LA12_0=='!') ) {s = 22;} + else if ( (LA12_0=='u') ) {s = 8;} - else if ( (LA12_0=='-') ) {s = 23;} + else if ( (LA12_0=='s') ) {s = 9;} - else if ( (LA12_0=='.') ) {s = 24;} + else if ( (LA12_0=='t') ) {s = 10;} - else if ( (LA12_0==':') ) {s = 25;} + else if ( (LA12_0=='.') ) {s = 11;} - else if ( (LA12_0=='<') ) {s = 26;} + else if ( (LA12_0=='i') ) {s = 12;} - else if ( (LA12_0=='=') ) {s = 27;} + else if ( (LA12_0=='l') ) {s = 13;} - else if ( (LA12_0=='>') ) {s = 28;} + else if ( (LA12_0=='!') ) {s = 14;} - else if ( (LA12_0=='E') ) {s = 29;} + else if ( (LA12_0=='-') ) {s = 15;} - else if ( (LA12_0=='I') ) {s = 30;} + else if ( (LA12_0==':') ) {s = 16;} - else if ( (LA12_0=='(') ) {s = 31;} + else if ( (LA12_0=='<') ) {s = 17;} - else if ( (LA12_0==')') ) {s = 32;} + else if ( (LA12_0=='=') ) {s = 18;} - else if ( (LA12_0=='*') ) {s = 33;} + else if ( (LA12_0=='>') ) {s = 19;} - else if ( (LA12_0=='+') ) {s = 34;} + else if ( (LA12_0=='(') ) {s = 20;} - else if ( (LA12_0==',') ) {s = 35;} + else if ( (LA12_0==')') ) {s = 21;} - else if ( (LA12_0=='/') ) {s = 36;} + else if ( (LA12_0=='*') ) {s = 22;} - else if ( (LA12_0==';') ) {s = 37;} + else if ( (LA12_0=='+') ) {s = 23;} - else if ( (LA12_0=='[') ) {s = 38;} + else if ( (LA12_0==',') ) {s = 24;} - else if ( (LA12_0==']') ) {s = 39;} + else if ( (LA12_0=='/') ) {s = 25;} - else if ( (LA12_0=='^') ) {s = 40;} + else if ( (LA12_0==';') ) {s = 26;} - else if ( (LA12_0=='{') ) {s = 41;} + else if ( (LA12_0=='[') ) {s = 27;} - else if ( (LA12_0=='|') ) {s = 42;} + else if ( (LA12_0==']') ) {s = 28;} - else if ( (LA12_0=='}') ) {s = 43;} + else if ( (LA12_0=='^') ) {s = 29;} - else if ( (LA12_0=='\"') ) {s = 44;} + else if ( (LA12_0=='{') ) {s = 30;} - else if ( (LA12_0=='\'') ) {s = 45;} + else if ( (LA12_0=='|') ) {s = 31;} - else if ( (LA12_0=='%') ) {s = 46;} + else if ( (LA12_0=='}') ) {s = 32;} - else if ( ((LA12_0>='B' && LA12_0<='C')||LA12_0=='F'||LA12_0=='H'||(LA12_0>='J' && LA12_0<='K')||LA12_0=='O'||(LA12_0>='Q' && LA12_0<='R')||(LA12_0>='T' && LA12_0<='Z')||LA12_0=='_'||LA12_0=='b'||(LA12_0>='g' && LA12_0<='h')||(LA12_0>='j' && LA12_0<='l')||LA12_0=='n'||LA12_0=='q'||(LA12_0>='v' && LA12_0<='z')) ) {s = 47;} + else if ( (LA12_0=='\"') ) {s = 33;} - else if ( ((LA12_0>='0' && LA12_0<='9')) ) {s = 48;} + else if ( (LA12_0=='\'') ) {s = 34;} - else if ( ((LA12_0>='\t' && LA12_0<='\n')||LA12_0=='\r'||LA12_0==' ') ) {s = 49;} + 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<='\uFFFF')) ) {s = 50;} + else if ( ((LA12_0>='A' && LA12_0<='Z')||LA12_0=='_'||LA12_0=='b'||(LA12_0>='g' && LA12_0<='h')||(LA12_0>='j' && LA12_0<='k')||LA12_0=='n'||(LA12_0>='p' && LA12_0<='r')||(LA12_0>='v' && LA12_0<='z')) ) {s = 36;} - if ( s>=0 ) return s; - break; - case 2 : - int LA12_45 = input.LA(1); + else if ( ((LA12_0>='0' && LA12_0<='9')) ) {s = 37;} - s = -1; - if ( ((LA12_45>='\u0000' && LA12_45<='\uFFFF')) ) {s = 118;} + else if ( ((LA12_0>='\t' && LA12_0<='\n')||LA12_0=='\r'||LA12_0==' ') ) {s = 38;} - else s = 50; + 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<='\uFFFF')) ) {s = 39;} if ( s>=0 ) return s; break; diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/parser/antlr/lexer/InternalSolverLanguageLexer.tokens b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/parser/antlr/lexer/InternalSolverLanguageLexer.tokens index 133cc9d6..178103e2 100644 --- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/parser/antlr/lexer/InternalSolverLanguageLexer.tokens +++ b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/parser/antlr/lexer/InternalSolverLanguageLexer.tokens @@ -1,83 +1,70 @@ -ADD=33 -Abstract=6 -Asterisk=59 -Avg=38 -CircumflexAccent=72 -Class=19 -Colon=65 -ColonHyphenMinus=48 -Comma=61 -Contains=7 -Count=20 -Current=13 -DIV=34 -Default=14 -EQ=52 -Else=26 -Empty=21 -EqualsSign=68 -EqualsSignEqualsSign=50 -Error=22 -ExclamationMark=56 -ExclamationMarkEqualsSign=45 -Extends=15 -Extern=18 -False=23 -FullStop=63 -FullStopFullStop=47 -Functional=5 -GREATER=11 -GREATER_EQ=4 -GreaterThanSign=69 -GreaterThanSignEqualsSign=51 -HyphenMinus=62 -HyphenMinusGreaterThanSign=46 -IN=53 -If=54 -In=55 -Inf=39 -Int=40 -LESS=25 -LESS_EQ=12 -LeftCurlyBracket=73 -LeftParenthesis=57 -LeftSquareBracket=70 -LessThanSign=67 -LessThanSignEqualsSign=49 -MUL=35 -Max=41 +Abstract=5 +As=40 +Asterisk=46 +CircumflexAccent=59 +Class=18 +Colon=52 +ColonHyphenMinus=35 +Comma=48 +Contains=6 +Count=19 +Current=11 +Datatype=7 +Default=12 +Else=24 +Empty=20 +EqualsSign=55 +EqualsSignEqualsSign=37 +EqualsSignGreaterThanSign=38 +Error=21 +ExclamationMark=43 +ExclamationMarkEqualsSign=32 +Exists=15 +Extends=13 +Extern=16 +False=22 +Forall=17 +FullStop=50 +FullStopFullStop=34 +FullStopFullStopFullStop=28 +Functional=4 +GreaterThanSign=56 +GreaterThanSignEqualsSign=39 +HyphenMinus=49 +HyphenMinusGreaterThanSign=33 +If=41 +In=42 +Inf=29 +LeftCurlyBracket=60 +LeftParenthesis=44 +LeftSquareBracket=57 +LessThanSign=54 +LessThanSignEqualsSign=36 +Let=30 Maximize=8 -May=42 -Min=43 +May=31 Minimize=9 -Must=27 -NOT_EQ=17 -Only=28 +Must=25 Opposite=10 -POW=36 -PlusSign=60 -Prod=29 -RULE_ANY_OTHER=86 -RULE_FULL_STOP=81 -RULE_ID=82 -RULE_INT=83 -RULE_ML_COMMENT=84 -RULE_QUOTED_ID=77 -RULE_REFLEXIVE_TRANSITIVE_CLOSURE=80 -RULE_SL_COMMENT=78 -RULE_STRING=76 -RULE_TRANSITIVE_CLOSURE=79 -RULE_WS=85 -Real=30 -RightCurlyBracket=75 -RightParenthesis=58 -RightSquareBracket=71 -SUB=37 -Scope=24 -Semicolon=66 -Solidus=64 -Sum=44 -Then=31 -True=32 -Unknown=16 -VerticalLine=74 +PlusSign=47 +RULE_ANY_OTHER=73 +RULE_FULL_STOP=68 +RULE_ID=69 +RULE_INT=70 +RULE_ML_COMMENT=71 +RULE_QUOTED_ID=64 +RULE_REFLEXIVE_TRANSITIVE_CLOSURE=67 +RULE_SL_COMMENT=65 +RULE_STRING=63 +RULE_TRANSITIVE_CLOSURE=66 +RULE_WS=72 +RightCurlyBracket=62 +RightParenthesis=45 +RightSquareBracket=58 +Scope=23 +Semicolon=53 +Solidus=51 +Then=26 +True=27 +Unknown=14 +VerticalLine=61 diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/serializer/SolverLanguageSemanticSequencer.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/serializer/SolverLanguageSemanticSequencer.java index 5cb73796..dc93975f 100644 --- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/serializer/SolverLanguageSemanticSequencer.java +++ b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/serializer/SolverLanguageSemanticSequencer.java @@ -10,37 +10,42 @@ import org.eclipse.emf.ecore.EPackage; import org.eclipse.viatra.solver.language.services.SolverLanguageGrammarAccess; import org.eclipse.viatra.solver.language.solverLanguage.Aggregation; import org.eclipse.viatra.solver.language.solverLanguage.ArgumentList; -import org.eclipse.viatra.solver.language.solverLanguage.Assertion; import org.eclipse.viatra.solver.language.solverLanguage.BinaryExpression; import org.eclipse.viatra.solver.language.solverLanguage.BoundedMultiplicity; import org.eclipse.viatra.solver.language.solverLanguage.BoundedScopeDefinition; import org.eclipse.viatra.solver.language.solverLanguage.Call; import org.eclipse.viatra.solver.language.solverLanguage.Case; +import org.eclipse.viatra.solver.language.solverLanguage.CastExpression; import org.eclipse.viatra.solver.language.solverLanguage.ClassDefinition; import org.eclipse.viatra.solver.language.solverLanguage.Comparison; import org.eclipse.viatra.solver.language.solverLanguage.Conjunction; -import org.eclipse.viatra.solver.language.solverLanguage.Count; import org.eclipse.viatra.solver.language.solverLanguage.DefaultDefinition; import org.eclipse.viatra.solver.language.solverLanguage.Disjunction; import org.eclipse.viatra.solver.language.solverLanguage.EmptyIntervalLiteral; import org.eclipse.viatra.solver.language.solverLanguage.ExactMultiplicity; import org.eclipse.viatra.solver.language.solverLanguage.ExactScopeDefinition; import org.eclipse.viatra.solver.language.solverLanguage.ExpressionArgument; +import org.eclipse.viatra.solver.language.solverLanguage.ExternAggregatorDefinition; +import org.eclipse.viatra.solver.language.solverLanguage.ExternDatatypeDefinition; import org.eclipse.viatra.solver.language.solverLanguage.ExternMetricDefinition; import org.eclipse.viatra.solver.language.solverLanguage.ExternPredicateDefinition; import org.eclipse.viatra.solver.language.solverLanguage.IfElse; import org.eclipse.viatra.solver.language.solverLanguage.InfinityLiteral; +import org.eclipse.viatra.solver.language.solverLanguage.Interpretation; import org.eclipse.viatra.solver.language.solverLanguage.Interval; +import org.eclipse.viatra.solver.language.solverLanguage.Let; +import org.eclipse.viatra.solver.language.solverLanguage.LetBinding; +import org.eclipse.viatra.solver.language.solverLanguage.LocalVariables; import org.eclipse.viatra.solver.language.solverLanguage.LogicLiteral; import org.eclipse.viatra.solver.language.solverLanguage.LowerBoundedScopeDefinition; import org.eclipse.viatra.solver.language.solverLanguage.ManyMultiplicity; import org.eclipse.viatra.solver.language.solverLanguage.MemberDefinition; import org.eclipse.viatra.solver.language.solverLanguage.MetricDefinition; -import org.eclipse.viatra.solver.language.solverLanguage.NamedElement; import org.eclipse.viatra.solver.language.solverLanguage.NumericLiteral; import org.eclipse.viatra.solver.language.solverLanguage.ObjectiveDefinition; import org.eclipse.viatra.solver.language.solverLanguage.PredicateDefinition; import org.eclipse.viatra.solver.language.solverLanguage.Problem; +import org.eclipse.viatra.solver.language.solverLanguage.QuantifiedExpression; import org.eclipse.viatra.solver.language.solverLanguage.Reference; import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; import org.eclipse.viatra.solver.language.solverLanguage.StarArgument; @@ -50,6 +55,7 @@ import org.eclipse.viatra.solver.language.solverLanguage.TypedArgument; import org.eclipse.viatra.solver.language.solverLanguage.TypedStarArgument; import org.eclipse.viatra.solver.language.solverLanguage.UnaryExpression; import org.eclipse.viatra.solver.language.solverLanguage.UnnamedErrorPrediateDefinition; +import org.eclipse.viatra.solver.language.solverLanguage.Variable; import org.eclipse.xtext.Action; import org.eclipse.xtext.Parameter; import org.eclipse.xtext.ParserRule; @@ -78,11 +84,8 @@ public class SolverLanguageSemanticSequencer extends AbstractDelegatingSemanticS case SolverLanguagePackage.ARGUMENT_LIST: sequence_ArgumentList(context, (ArgumentList) semanticObject); return; - case SolverLanguagePackage.ASSERTION: - sequence_AssertionOrDefinition(context, (Assertion) semanticObject); - return; case SolverLanguagePackage.BINARY_EXPRESSION: - sequence_AdditiveExpression_ExponentialExpression_MultiplicativeExpression(context, (BinaryExpression) semanticObject); + sequence_AdditiveExpression_ExponentialExpression_ImplicationExpression_MultiplicativeExpression(context, (BinaryExpression) semanticObject); return; case SolverLanguagePackage.BOUNDED_MULTIPLICITY: sequence_BoundedMultiplicity(context, (BoundedMultiplicity) semanticObject); @@ -103,6 +106,9 @@ public class SolverLanguageSemanticSequencer extends AbstractDelegatingSemanticS return; } else break; + case SolverLanguagePackage.CAST_EXPRESSION: + sequence_CastExpression(context, (CastExpression) semanticObject); + return; case SolverLanguagePackage.CLASS_DEFINITION: sequence_ClassDefinition(context, (ClassDefinition) semanticObject); return; @@ -112,9 +118,6 @@ public class SolverLanguageSemanticSequencer extends AbstractDelegatingSemanticS case SolverLanguagePackage.CONJUNCTION: sequence_ConjunctiveExpression(context, (Conjunction) semanticObject); return; - case SolverLanguagePackage.COUNT: - sequence_Count(context, (Count) semanticObject); - return; case SolverLanguagePackage.DEFAULT_DEFINITION: sequence_DefaultDefinition(context, (DefaultDefinition) semanticObject); return; @@ -133,6 +136,12 @@ public class SolverLanguageSemanticSequencer extends AbstractDelegatingSemanticS case SolverLanguagePackage.EXPRESSION_ARGUMENT: sequence_ExpressionArgument(context, (ExpressionArgument) semanticObject); return; + case SolverLanguagePackage.EXTERN_AGGREGATOR_DEFINITION: + sequence_ExternAggregatorDefinition(context, (ExternAggregatorDefinition) semanticObject); + return; + case SolverLanguagePackage.EXTERN_DATATYPE_DEFINITION: + sequence_ExternDatatypeDefinition(context, (ExternDatatypeDefinition) semanticObject); + return; case SolverLanguagePackage.EXTERN_METRIC_DEFINITION: sequence_ExternMetricDefinition(context, (ExternMetricDefinition) semanticObject); return; @@ -145,9 +154,21 @@ public class SolverLanguageSemanticSequencer extends AbstractDelegatingSemanticS case SolverLanguagePackage.INFINITY_LITERAL: sequence_InfinityLiteral(context, (InfinityLiteral) semanticObject); return; + case SolverLanguagePackage.INTERPRETATION: + sequence_AssertionOrDefinition(context, (Interpretation) semanticObject); + return; case SolverLanguagePackage.INTERVAL: sequence_Interval(context, (Interval) semanticObject); return; + case SolverLanguagePackage.LET: + sequence_Let(context, (Let) semanticObject); + return; + case SolverLanguagePackage.LET_BINDING: + sequence_LetBinding(context, (LetBinding) semanticObject); + return; + case SolverLanguagePackage.LOCAL_VARIABLES: + sequence_LocalVariables(context, (LocalVariables) semanticObject); + return; case SolverLanguagePackage.LOGIC_LITERAL: sequence_LogicLiteral(context, (LogicLiteral) semanticObject); return; @@ -174,9 +195,6 @@ public class SolverLanguageSemanticSequencer extends AbstractDelegatingSemanticS return; } else break; - case SolverLanguagePackage.NAMED_ELEMENT: - sequence_NamedElement(context, (NamedElement) semanticObject); - return; case SolverLanguagePackage.NUMERIC_LITERAL: sequence_NumericLiteral(context, (NumericLiteral) semanticObject); return; @@ -200,6 +218,9 @@ public class SolverLanguageSemanticSequencer extends AbstractDelegatingSemanticS case SolverLanguagePackage.PROBLEM: sequence_Problem(context, (Problem) semanticObject); return; + case SolverLanguagePackage.QUANTIFIED_EXPRESSION: + sequence_QuantifiedExpression(context, (QuantifiedExpression) semanticObject); + return; case SolverLanguagePackage.REFERENCE: sequence_Reference(context, (Reference) semanticObject); return; @@ -224,6 +245,9 @@ public class SolverLanguageSemanticSequencer extends AbstractDelegatingSemanticS case SolverLanguagePackage.UNNAMED_ERROR_PREDIATE_DEFINITION: sequence_UnnamedErrorPrediateDefinition(context, (UnnamedErrorPrediateDefinition) semanticObject); return; + case SolverLanguagePackage.VARIABLE: + sequence_Variable(context, (Variable) semanticObject); + return; } if (errorAcceptor != null) errorAcceptor.accept(diagnosticProvider.createInvalidContextOrTypeDiagnostic(semanticObject, context)); @@ -231,10 +255,14 @@ public class SolverLanguageSemanticSequencer extends AbstractDelegatingSemanticS /** * Contexts: - * AssertionOrDefinition.Assertion_1_0_0 returns BinaryExpression + * Statement returns BinaryExpression + * AssertionOrDefinition returns BinaryExpression + * AssertionOrDefinition.Interpretation_1_0_0 returns BinaryExpression * AssertionOrDefinition.PredicateDefinition_1_1_0 returns BinaryExpression * AssertionOrDefinition.MetricDefinition_1_2_0 returns BinaryExpression * Expression returns BinaryExpression + * ImplicationExpression returns BinaryExpression + * ImplicationExpression.BinaryExpression_1_0 returns BinaryExpression * DisjunctiveExpression returns BinaryExpression * DisjunctiveExpression.Disjunction_1_0_0 returns BinaryExpression * DisjunctiveExpression.Case_1_1_0 returns BinaryExpression @@ -248,28 +276,35 @@ public class SolverLanguageSemanticSequencer extends AbstractDelegatingSemanticS * MultiplicativeExpression.BinaryExpression_1_0 returns BinaryExpression * ExponentialExpression returns BinaryExpression * ExponentialExpression.BinaryExpression_1_0 returns BinaryExpression + * CastExpression returns BinaryExpression + * CastExpression.CastExpression_1_0 returns BinaryExpression * UnaryExpression returns BinaryExpression * AggregationExpression returns BinaryExpression * AtomicExpression returns BinaryExpression * * Constraint: * ( + * (left=ImplicationExpression_BinaryExpression_1_0 op=ImplicationOperator right=ImplicationExpression) | * (left=AdditiveExpression_BinaryExpression_1_0 op=AdditiveBinaryOperator right=MultiplicativeExpression) | * (left=MultiplicativeExpression_BinaryExpression_1_0 op=MultiplicativeBinaryOperator right=ExponentialExpression) | - * (left=ExponentialExpression_BinaryExpression_1_0 op=ExponentialOp right=ExponentialExpression) + * (left=ExponentialExpression_BinaryExpression_1_0 op=ExponentialOp right=CastExpression) * ) */ - protected void sequence_AdditiveExpression_ExponentialExpression_MultiplicativeExpression(ISerializationContext context, BinaryExpression semanticObject) { + protected void sequence_AdditiveExpression_ExponentialExpression_ImplicationExpression_MultiplicativeExpression(ISerializationContext context, BinaryExpression semanticObject) { genericSequencer.createSequence(context, semanticObject); } /** * Contexts: - * AssertionOrDefinition.Assertion_1_0_0 returns Aggregation + * Statement returns Aggregation + * AssertionOrDefinition returns Aggregation + * AssertionOrDefinition.Interpretation_1_0_0 returns Aggregation * AssertionOrDefinition.PredicateDefinition_1_1_0 returns Aggregation * AssertionOrDefinition.MetricDefinition_1_2_0 returns Aggregation * Expression returns Aggregation + * ImplicationExpression returns Aggregation + * ImplicationExpression.BinaryExpression_1_0 returns Aggregation * DisjunctiveExpression returns Aggregation * DisjunctiveExpression.Disjunction_1_0_0 returns Aggregation * DisjunctiveExpression.Case_1_1_0 returns Aggregation @@ -283,28 +318,18 @@ public class SolverLanguageSemanticSequencer extends AbstractDelegatingSemanticS * MultiplicativeExpression.BinaryExpression_1_0 returns Aggregation * ExponentialExpression returns Aggregation * ExponentialExpression.BinaryExpression_1_0 returns Aggregation + * CastExpression returns Aggregation + * CastExpression.CastExpression_1_0 returns Aggregation * UnaryExpression returns Aggregation * AggregationExpression returns Aggregation * Aggregation returns Aggregation * AtomicExpression returns Aggregation * * Constraint: - * (op=AggregationOp body=Expression condition=Expression) + * (op=[NamedElement|QualifiedName] localVariables=LocalVariables? body=Expression condition=Expression?) */ protected void sequence_Aggregation(ISerializationContext context, Aggregation semanticObject) { - if (errorAcceptor != null) { - if (transientValues.isValueTransient(semanticObject, SolverLanguagePackage.Literals.AGGREGATION__OP) == ValueTransient.YES) - errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, SolverLanguagePackage.Literals.AGGREGATION__OP)); - if (transientValues.isValueTransient(semanticObject, SolverLanguagePackage.Literals.AGGREGATION__BODY) == ValueTransient.YES) - errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, SolverLanguagePackage.Literals.AGGREGATION__BODY)); - if (transientValues.isValueTransient(semanticObject, SolverLanguagePackage.Literals.AGGREGATION__CONDITION) == ValueTransient.YES) - errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, SolverLanguagePackage.Literals.AGGREGATION__CONDITION)); - } - SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); - feeder.accept(grammarAccess.getAggregationAccess().getOpAggregationOpEnumRuleCall_0_0(), semanticObject.getOp()); - feeder.accept(grammarAccess.getAggregationAccess().getBodyExpressionParserRuleCall_2_0(), semanticObject.getBody()); - feeder.accept(grammarAccess.getAggregationAccess().getConditionExpressionParserRuleCall_4_0(), semanticObject.getCondition()); - feeder.finish(); + genericSequencer.createSequence(context, semanticObject); } @@ -322,14 +347,23 @@ public class SolverLanguageSemanticSequencer extends AbstractDelegatingSemanticS /** * Contexts: - * Statement returns Assertion - * AssertionOrDefinition returns Assertion + * Statement returns Interpretation + * AssertionOrDefinition returns Interpretation * * Constraint: - * (body=AssertionOrDefinition_Assertion_1_0_0 range=Expression?) + * (body=AssertionOrDefinition_Interpretation_1_0_0 range=Expression) */ - protected void sequence_AssertionOrDefinition(ISerializationContext context, Assertion semanticObject) { - genericSequencer.createSequence(context, semanticObject); + protected void sequence_AssertionOrDefinition(ISerializationContext context, Interpretation semanticObject) { + if (errorAcceptor != null) { + if (transientValues.isValueTransient(semanticObject, SolverLanguagePackage.Literals.INTERPRETATION__BODY) == ValueTransient.YES) + errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, SolverLanguagePackage.Literals.INTERPRETATION__BODY)); + if (transientValues.isValueTransient(semanticObject, SolverLanguagePackage.Literals.INTERPRETATION__RANGE) == ValueTransient.YES) + errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, SolverLanguagePackage.Literals.INTERPRETATION__RANGE)); + } + SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); + feeder.accept(grammarAccess.getAssertionOrDefinitionAccess().getInterpretationBodyAction_1_0_0(), semanticObject.getBody()); + feeder.accept(grammarAccess.getAssertionOrDefinitionAccess().getRangeExpressionParserRuleCall_1_0_2_0(), semanticObject.getRange()); + feeder.finish(); } @@ -359,7 +393,7 @@ public class SolverLanguageSemanticSequencer extends AbstractDelegatingSemanticS * Statement returns MetricDefinition * * Constraint: - * ((head=AssertionOrDefinition_MetricDefinition_1_2_0 body=Expression) | (type=MetricType head=Expression body=Expression)) + * ((head=AssertionOrDefinition_MetricDefinition_1_2_0 body=Expression) | (type=[NamedElement|QualifiedName] head=Call body=Expression)) */ protected void sequence_AssertionOrDefinition_MetricDefinition(ISerializationContext context, MetricDefinition semanticObject) { genericSequencer.createSequence(context, semanticObject); @@ -440,10 +474,14 @@ public class SolverLanguageSemanticSequencer extends AbstractDelegatingSemanticS /** * Contexts: - * AssertionOrDefinition.Assertion_1_0_0 returns Call + * Statement returns Call + * AssertionOrDefinition returns Call + * AssertionOrDefinition.Interpretation_1_0_0 returns Call * AssertionOrDefinition.PredicateDefinition_1_1_0 returns Call * AssertionOrDefinition.MetricDefinition_1_2_0 returns Call * Expression returns Call + * ImplicationExpression returns Call + * ImplicationExpression.BinaryExpression_1_0 returns Call * DisjunctiveExpression returns Call * DisjunctiveExpression.Disjunction_1_0_0 returns Call * DisjunctiveExpression.Case_1_1_0 returns Call @@ -457,6 +495,8 @@ public class SolverLanguageSemanticSequencer extends AbstractDelegatingSemanticS * MultiplicativeExpression.BinaryExpression_1_0 returns Call * ExponentialExpression returns Call * ExponentialExpression.BinaryExpression_1_0 returns Call + * CastExpression returns Call + * CastExpression.CastExpression_1_0 returns Call * UnaryExpression returns Call * AggregationExpression returns Call * AtomicExpression returns Call @@ -495,6 +535,52 @@ public class SolverLanguageSemanticSequencer extends AbstractDelegatingSemanticS } + /** + * Contexts: + * Statement returns CastExpression + * AssertionOrDefinition returns CastExpression + * AssertionOrDefinition.Interpretation_1_0_0 returns CastExpression + * AssertionOrDefinition.PredicateDefinition_1_1_0 returns CastExpression + * AssertionOrDefinition.MetricDefinition_1_2_0 returns CastExpression + * Expression returns CastExpression + * ImplicationExpression returns CastExpression + * ImplicationExpression.BinaryExpression_1_0 returns CastExpression + * DisjunctiveExpression returns CastExpression + * DisjunctiveExpression.Disjunction_1_0_0 returns CastExpression + * DisjunctiveExpression.Case_1_1_0 returns CastExpression + * ConjunctiveExpression returns CastExpression + * ConjunctiveExpression.Conjunction_1_0 returns CastExpression + * ComparisonExpression returns CastExpression + * ComparisonExpression.Comparison_1_0 returns CastExpression + * AdditiveExpression returns CastExpression + * AdditiveExpression.BinaryExpression_1_0 returns CastExpression + * MultiplicativeExpression returns CastExpression + * MultiplicativeExpression.BinaryExpression_1_0 returns CastExpression + * ExponentialExpression returns CastExpression + * ExponentialExpression.BinaryExpression_1_0 returns CastExpression + * CastExpression returns CastExpression + * CastExpression.CastExpression_1_0 returns CastExpression + * UnaryExpression returns CastExpression + * AggregationExpression returns CastExpression + * AtomicExpression returns CastExpression + * + * Constraint: + * (body=CastExpression_CastExpression_1_0 type=[NamedElement|QualifiedName]) + */ + protected void sequence_CastExpression(ISerializationContext context, CastExpression semanticObject) { + if (errorAcceptor != null) { + if (transientValues.isValueTransient(semanticObject, SolverLanguagePackage.Literals.CAST_EXPRESSION__BODY) == ValueTransient.YES) + errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, SolverLanguagePackage.Literals.CAST_EXPRESSION__BODY)); + if (transientValues.isValueTransient(semanticObject, SolverLanguagePackage.Literals.CAST_EXPRESSION__TYPE) == ValueTransient.YES) + errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, SolverLanguagePackage.Literals.CAST_EXPRESSION__TYPE)); + } + SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); + feeder.accept(grammarAccess.getCastExpressionAccess().getCastExpressionBodyAction_1_0(), semanticObject.getBody()); + feeder.accept(grammarAccess.getCastExpressionAccess().getTypeNamedElementQualifiedNameParserRuleCall_1_2_0_1(), semanticObject.eGet(SolverLanguagePackage.Literals.CAST_EXPRESSION__TYPE, false)); + feeder.finish(); + } + + /** * Contexts: * Statement returns ClassDefinition @@ -515,10 +601,14 @@ public class SolverLanguageSemanticSequencer extends AbstractDelegatingSemanticS /** * Contexts: - * AssertionOrDefinition.Assertion_1_0_0 returns Comparison + * Statement returns Comparison + * AssertionOrDefinition returns Comparison + * AssertionOrDefinition.Interpretation_1_0_0 returns Comparison * AssertionOrDefinition.PredicateDefinition_1_1_0 returns Comparison * AssertionOrDefinition.MetricDefinition_1_2_0 returns Comparison * Expression returns Comparison + * ImplicationExpression returns Comparison + * ImplicationExpression.BinaryExpression_1_0 returns Comparison * DisjunctiveExpression returns Comparison * DisjunctiveExpression.Disjunction_1_0_0 returns Comparison * DisjunctiveExpression.Case_1_1_0 returns Comparison @@ -532,6 +622,8 @@ public class SolverLanguageSemanticSequencer extends AbstractDelegatingSemanticS * MultiplicativeExpression.BinaryExpression_1_0 returns Comparison * ExponentialExpression returns Comparison * ExponentialExpression.BinaryExpression_1_0 returns Comparison + * CastExpression returns Comparison + * CastExpression.CastExpression_1_0 returns Comparison * UnaryExpression returns Comparison * AggregationExpression returns Comparison * AtomicExpression returns Comparison @@ -558,10 +650,14 @@ public class SolverLanguageSemanticSequencer extends AbstractDelegatingSemanticS /** * Contexts: - * AssertionOrDefinition.Assertion_1_0_0 returns Conjunction + * Statement returns Conjunction + * AssertionOrDefinition returns Conjunction + * AssertionOrDefinition.Interpretation_1_0_0 returns Conjunction * AssertionOrDefinition.PredicateDefinition_1_1_0 returns Conjunction * AssertionOrDefinition.MetricDefinition_1_2_0 returns Conjunction * Expression returns Conjunction + * ImplicationExpression returns Conjunction + * ImplicationExpression.BinaryExpression_1_0 returns Conjunction * DisjunctiveExpression returns Conjunction * DisjunctiveExpression.Disjunction_1_0_0 returns Conjunction * DisjunctiveExpression.Case_1_1_0 returns Conjunction @@ -575,6 +671,8 @@ public class SolverLanguageSemanticSequencer extends AbstractDelegatingSemanticS * MultiplicativeExpression.BinaryExpression_1_0 returns Conjunction * ExponentialExpression returns Conjunction * ExponentialExpression.BinaryExpression_1_0 returns Conjunction + * CastExpression returns Conjunction + * CastExpression.CastExpression_1_0 returns Conjunction * UnaryExpression returns Conjunction * AggregationExpression returns Conjunction * AtomicExpression returns Conjunction @@ -587,44 +685,6 @@ public class SolverLanguageSemanticSequencer extends AbstractDelegatingSemanticS } - /** - * Contexts: - * AssertionOrDefinition.Assertion_1_0_0 returns Count - * AssertionOrDefinition.PredicateDefinition_1_1_0 returns Count - * AssertionOrDefinition.MetricDefinition_1_2_0 returns Count - * Expression returns Count - * DisjunctiveExpression returns Count - * DisjunctiveExpression.Disjunction_1_0_0 returns Count - * DisjunctiveExpression.Case_1_1_0 returns Count - * ConjunctiveExpression returns Count - * ConjunctiveExpression.Conjunction_1_0 returns Count - * ComparisonExpression returns Count - * ComparisonExpression.Comparison_1_0 returns Count - * AdditiveExpression returns Count - * AdditiveExpression.BinaryExpression_1_0 returns Count - * MultiplicativeExpression returns Count - * MultiplicativeExpression.BinaryExpression_1_0 returns Count - * ExponentialExpression returns Count - * ExponentialExpression.BinaryExpression_1_0 returns Count - * UnaryExpression returns Count - * AggregationExpression returns Count - * Count returns Count - * AtomicExpression returns Count - * - * Constraint: - * body=Expression - */ - protected void sequence_Count(ISerializationContext context, Count semanticObject) { - if (errorAcceptor != null) { - if (transientValues.isValueTransient(semanticObject, SolverLanguagePackage.Literals.COUNT__BODY) == ValueTransient.YES) - errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, SolverLanguagePackage.Literals.COUNT__BODY)); - } - SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); - feeder.accept(grammarAccess.getCountAccess().getBodyExpressionParserRuleCall_2_0(), semanticObject.getBody()); - feeder.finish(); - } - - /** * Contexts: * Statement returns DefaultDefinition @@ -649,10 +709,14 @@ public class SolverLanguageSemanticSequencer extends AbstractDelegatingSemanticS /** * Contexts: - * AssertionOrDefinition.Assertion_1_0_0 returns Disjunction + * Statement returns Disjunction + * AssertionOrDefinition returns Disjunction + * AssertionOrDefinition.Interpretation_1_0_0 returns Disjunction * AssertionOrDefinition.PredicateDefinition_1_1_0 returns Disjunction * AssertionOrDefinition.MetricDefinition_1_2_0 returns Disjunction * Expression returns Disjunction + * ImplicationExpression returns Disjunction + * ImplicationExpression.BinaryExpression_1_0 returns Disjunction * DisjunctiveExpression returns Disjunction * DisjunctiveExpression.Disjunction_1_0_0 returns Disjunction * DisjunctiveExpression.Case_1_1_0 returns Disjunction @@ -666,6 +730,8 @@ public class SolverLanguageSemanticSequencer extends AbstractDelegatingSemanticS * MultiplicativeExpression.BinaryExpression_1_0 returns Disjunction * ExponentialExpression returns Disjunction * ExponentialExpression.BinaryExpression_1_0 returns Disjunction + * CastExpression returns Disjunction + * CastExpression.CastExpression_1_0 returns Disjunction * UnaryExpression returns Disjunction * AggregationExpression returns Disjunction * AtomicExpression returns Disjunction @@ -680,10 +746,14 @@ public class SolverLanguageSemanticSequencer extends AbstractDelegatingSemanticS /** * Contexts: - * AssertionOrDefinition.Assertion_1_0_0 returns Switch + * Statement returns Switch + * AssertionOrDefinition returns Switch + * AssertionOrDefinition.Interpretation_1_0_0 returns Switch * AssertionOrDefinition.PredicateDefinition_1_1_0 returns Switch * AssertionOrDefinition.MetricDefinition_1_2_0 returns Switch * Expression returns Switch + * ImplicationExpression returns Switch + * ImplicationExpression.BinaryExpression_1_0 returns Switch * DisjunctiveExpression returns Switch * DisjunctiveExpression.Disjunction_1_0_0 returns Switch * DisjunctiveExpression.Case_1_1_0 returns Switch @@ -697,6 +767,8 @@ public class SolverLanguageSemanticSequencer extends AbstractDelegatingSemanticS * MultiplicativeExpression.BinaryExpression_1_0 returns Switch * ExponentialExpression returns Switch * ExponentialExpression.BinaryExpression_1_0 returns Switch + * CastExpression returns Switch + * CastExpression.CastExpression_1_0 returns Switch * UnaryExpression returns Switch * AggregationExpression returns Switch * AtomicExpression returns Switch @@ -732,10 +804,14 @@ public class SolverLanguageSemanticSequencer extends AbstractDelegatingSemanticS /** * Contexts: - * AssertionOrDefinition.Assertion_1_0_0 returns EmptyIntervalLiteral + * Statement returns EmptyIntervalLiteral + * AssertionOrDefinition returns EmptyIntervalLiteral + * AssertionOrDefinition.Interpretation_1_0_0 returns EmptyIntervalLiteral * AssertionOrDefinition.PredicateDefinition_1_1_0 returns EmptyIntervalLiteral * AssertionOrDefinition.MetricDefinition_1_2_0 returns EmptyIntervalLiteral * Expression returns EmptyIntervalLiteral + * ImplicationExpression returns EmptyIntervalLiteral + * ImplicationExpression.BinaryExpression_1_0 returns EmptyIntervalLiteral * DisjunctiveExpression returns EmptyIntervalLiteral * DisjunctiveExpression.Disjunction_1_0_0 returns EmptyIntervalLiteral * DisjunctiveExpression.Case_1_1_0 returns EmptyIntervalLiteral @@ -749,6 +825,8 @@ public class SolverLanguageSemanticSequencer extends AbstractDelegatingSemanticS * MultiplicativeExpression.BinaryExpression_1_0 returns EmptyIntervalLiteral * ExponentialExpression returns EmptyIntervalLiteral * ExponentialExpression.BinaryExpression_1_0 returns EmptyIntervalLiteral + * CastExpression returns EmptyIntervalLiteral + * CastExpression.CastExpression_1_0 returns EmptyIntervalLiteral * UnaryExpression returns EmptyIntervalLiteral * AggregationExpression returns EmptyIntervalLiteral * AtomicExpression returns EmptyIntervalLiteral @@ -824,24 +902,65 @@ public class SolverLanguageSemanticSequencer extends AbstractDelegatingSemanticS } + /** + * Contexts: + * Statement returns ExternAggregatorDefinition + * ExternAggregatorDefinition returns ExternAggregatorDefinition + * + * Constraint: + * (type=[NamedElement|QualifiedName] name=QualifiedName inputType=[NamedElement|QualifiedName]) + */ + protected void sequence_ExternAggregatorDefinition(ISerializationContext context, ExternAggregatorDefinition semanticObject) { + if (errorAcceptor != null) { + if (transientValues.isValueTransient(semanticObject, SolverLanguagePackage.Literals.EXTERN_AGGREGATOR_DEFINITION__TYPE) == ValueTransient.YES) + errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, SolverLanguagePackage.Literals.EXTERN_AGGREGATOR_DEFINITION__TYPE)); + if (transientValues.isValueTransient(semanticObject, SolverLanguagePackage.Literals.EXTERN_AGGREGATOR_DEFINITION__NAME) == ValueTransient.YES) + errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, SolverLanguagePackage.Literals.EXTERN_AGGREGATOR_DEFINITION__NAME)); + if (transientValues.isValueTransient(semanticObject, SolverLanguagePackage.Literals.EXTERN_AGGREGATOR_DEFINITION__INPUT_TYPE) == ValueTransient.YES) + errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, SolverLanguagePackage.Literals.EXTERN_AGGREGATOR_DEFINITION__INPUT_TYPE)); + } + SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); + feeder.accept(grammarAccess.getExternAggregatorDefinitionAccess().getTypeNamedElementQualifiedNameParserRuleCall_1_0_1(), semanticObject.eGet(SolverLanguagePackage.Literals.EXTERN_AGGREGATOR_DEFINITION__TYPE, false)); + feeder.accept(grammarAccess.getExternAggregatorDefinitionAccess().getNameQualifiedNameParserRuleCall_2_0(), semanticObject.getName()); + feeder.accept(grammarAccess.getExternAggregatorDefinitionAccess().getInputTypeNamedElementQualifiedNameParserRuleCall_4_0_1(), semanticObject.eGet(SolverLanguagePackage.Literals.EXTERN_AGGREGATOR_DEFINITION__INPUT_TYPE, false)); + feeder.finish(); + } + + + /** + * Contexts: + * Statement returns ExternDatatypeDefinition + * ExternDatatypeDefinition returns ExternDatatypeDefinition + * + * Constraint: + * (name=QualifiedName supertypes+=[NamedElement|QualifiedName] supertypes+=[NamedElement|QualifiedName]*) + */ + protected void sequence_ExternDatatypeDefinition(ISerializationContext context, ExternDatatypeDefinition semanticObject) { + genericSequencer.createSequence(context, semanticObject); + } + + /** * Contexts: * Statement returns ExternMetricDefinition * ExternMetricDefinition returns ExternMetricDefinition * * Constraint: - * (type=MetricType head=Call) + * (type=[NamedElement|QualifiedName] name=QualifiedName argumentList=ArgumentList) */ protected void sequence_ExternMetricDefinition(ISerializationContext context, ExternMetricDefinition semanticObject) { if (errorAcceptor != null) { if (transientValues.isValueTransient(semanticObject, SolverLanguagePackage.Literals.EXTERN_METRIC_DEFINITION__TYPE) == ValueTransient.YES) errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, SolverLanguagePackage.Literals.EXTERN_METRIC_DEFINITION__TYPE)); - if (transientValues.isValueTransient(semanticObject, SolverLanguagePackage.Literals.EXTERN_METRIC_DEFINITION__HEAD) == ValueTransient.YES) - errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, SolverLanguagePackage.Literals.EXTERN_METRIC_DEFINITION__HEAD)); + if (transientValues.isValueTransient(semanticObject, SolverLanguagePackage.Literals.EXTERN_METRIC_DEFINITION__NAME) == ValueTransient.YES) + errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, SolverLanguagePackage.Literals.EXTERN_METRIC_DEFINITION__NAME)); + if (transientValues.isValueTransient(semanticObject, SolverLanguagePackage.Literals.EXTERN_METRIC_DEFINITION__ARGUMENT_LIST) == ValueTransient.YES) + errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, SolverLanguagePackage.Literals.EXTERN_METRIC_DEFINITION__ARGUMENT_LIST)); } SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); - feeder.accept(grammarAccess.getExternMetricDefinitionAccess().getTypeMetricTypeEnumRuleCall_1_0(), semanticObject.getType()); - feeder.accept(grammarAccess.getExternMetricDefinitionAccess().getHeadCallParserRuleCall_2_0(), semanticObject.getHead()); + feeder.accept(grammarAccess.getExternMetricDefinitionAccess().getTypeNamedElementQualifiedNameParserRuleCall_1_0_1(), semanticObject.eGet(SolverLanguagePackage.Literals.EXTERN_METRIC_DEFINITION__TYPE, false)); + feeder.accept(grammarAccess.getExternMetricDefinitionAccess().getNameQualifiedNameParserRuleCall_2_0(), semanticObject.getName()); + feeder.accept(grammarAccess.getExternMetricDefinitionAccess().getArgumentListArgumentListParserRuleCall_3_0(), semanticObject.getArgumentList()); feeder.finish(); } @@ -852,26 +971,33 @@ public class SolverLanguageSemanticSequencer extends AbstractDelegatingSemanticS * ExternPredicateDefinition returns ExternPredicateDefinition * * Constraint: - * head=Call + * (name=QualifiedName argumentList=ArgumentList) */ protected void sequence_ExternPredicateDefinition(ISerializationContext context, ExternPredicateDefinition semanticObject) { if (errorAcceptor != null) { - if (transientValues.isValueTransient(semanticObject, SolverLanguagePackage.Literals.EXTERN_PREDICATE_DEFINITION__HEAD) == ValueTransient.YES) - errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, SolverLanguagePackage.Literals.EXTERN_PREDICATE_DEFINITION__HEAD)); + if (transientValues.isValueTransient(semanticObject, SolverLanguagePackage.Literals.EXTERN_PREDICATE_DEFINITION__NAME) == ValueTransient.YES) + errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, SolverLanguagePackage.Literals.EXTERN_PREDICATE_DEFINITION__NAME)); + if (transientValues.isValueTransient(semanticObject, SolverLanguagePackage.Literals.EXTERN_PREDICATE_DEFINITION__ARGUMENT_LIST) == ValueTransient.YES) + errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, SolverLanguagePackage.Literals.EXTERN_PREDICATE_DEFINITION__ARGUMENT_LIST)); } SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); - feeder.accept(grammarAccess.getExternPredicateDefinitionAccess().getHeadCallParserRuleCall_1_0(), semanticObject.getHead()); + feeder.accept(grammarAccess.getExternPredicateDefinitionAccess().getNameQualifiedNameParserRuleCall_1_0(), semanticObject.getName()); + feeder.accept(grammarAccess.getExternPredicateDefinitionAccess().getArgumentListArgumentListParserRuleCall_2_0(), semanticObject.getArgumentList()); feeder.finish(); } /** * Contexts: - * AssertionOrDefinition.Assertion_1_0_0 returns IfElse + * Statement returns IfElse + * AssertionOrDefinition returns IfElse + * AssertionOrDefinition.Interpretation_1_0_0 returns IfElse * AssertionOrDefinition.PredicateDefinition_1_1_0 returns IfElse * AssertionOrDefinition.MetricDefinition_1_2_0 returns IfElse * Expression returns IfElse * IfElse returns IfElse + * ImplicationExpression returns IfElse + * ImplicationExpression.BinaryExpression_1_0 returns IfElse * DisjunctiveExpression returns IfElse * DisjunctiveExpression.Disjunction_1_0_0 returns IfElse * DisjunctiveExpression.Case_1_1_0 returns IfElse @@ -885,6 +1011,8 @@ public class SolverLanguageSemanticSequencer extends AbstractDelegatingSemanticS * MultiplicativeExpression.BinaryExpression_1_0 returns IfElse * ExponentialExpression returns IfElse * ExponentialExpression.BinaryExpression_1_0 returns IfElse + * CastExpression returns IfElse + * CastExpression.CastExpression_1_0 returns IfElse * UnaryExpression returns IfElse * AggregationExpression returns IfElse * AtomicExpression returns IfElse @@ -911,10 +1039,14 @@ public class SolverLanguageSemanticSequencer extends AbstractDelegatingSemanticS /** * Contexts: - * AssertionOrDefinition.Assertion_1_0_0 returns InfinityLiteral + * Statement returns InfinityLiteral + * AssertionOrDefinition returns InfinityLiteral + * AssertionOrDefinition.Interpretation_1_0_0 returns InfinityLiteral * AssertionOrDefinition.PredicateDefinition_1_1_0 returns InfinityLiteral * AssertionOrDefinition.MetricDefinition_1_2_0 returns InfinityLiteral * Expression returns InfinityLiteral + * ImplicationExpression returns InfinityLiteral + * ImplicationExpression.BinaryExpression_1_0 returns InfinityLiteral * DisjunctiveExpression returns InfinityLiteral * DisjunctiveExpression.Disjunction_1_0_0 returns InfinityLiteral * DisjunctiveExpression.Case_1_1_0 returns InfinityLiteral @@ -928,6 +1060,8 @@ public class SolverLanguageSemanticSequencer extends AbstractDelegatingSemanticS * MultiplicativeExpression.BinaryExpression_1_0 returns InfinityLiteral * ExponentialExpression returns InfinityLiteral * ExponentialExpression.BinaryExpression_1_0 returns InfinityLiteral + * CastExpression returns InfinityLiteral + * CastExpression.CastExpression_1_0 returns InfinityLiteral * UnaryExpression returns InfinityLiteral * AggregationExpression returns InfinityLiteral * AtomicExpression returns InfinityLiteral @@ -944,10 +1078,14 @@ public class SolverLanguageSemanticSequencer extends AbstractDelegatingSemanticS /** * Contexts: - * AssertionOrDefinition.Assertion_1_0_0 returns Interval + * Statement returns Interval + * AssertionOrDefinition returns Interval + * AssertionOrDefinition.Interpretation_1_0_0 returns Interval * AssertionOrDefinition.PredicateDefinition_1_1_0 returns Interval * AssertionOrDefinition.MetricDefinition_1_2_0 returns Interval * Expression returns Interval + * ImplicationExpression returns Interval + * ImplicationExpression.BinaryExpression_1_0 returns Interval * DisjunctiveExpression returns Interval * DisjunctiveExpression.Disjunction_1_0_0 returns Interval * DisjunctiveExpression.Case_1_1_0 returns Interval @@ -961,6 +1099,8 @@ public class SolverLanguageSemanticSequencer extends AbstractDelegatingSemanticS * MultiplicativeExpression.BinaryExpression_1_0 returns Interval * ExponentialExpression returns Interval * ExponentialExpression.BinaryExpression_1_0 returns Interval + * CastExpression returns Interval + * CastExpression.CastExpression_1_0 returns Interval * UnaryExpression returns Interval * AggregationExpression returns Interval * AtomicExpression returns Interval @@ -985,10 +1125,85 @@ public class SolverLanguageSemanticSequencer extends AbstractDelegatingSemanticS /** * Contexts: - * AssertionOrDefinition.Assertion_1_0_0 returns LogicLiteral + * LetBinding returns LetBinding + * + * Constraint: + * (variable=Variable value=AdditiveExpression) + */ + protected void sequence_LetBinding(ISerializationContext context, LetBinding semanticObject) { + if (errorAcceptor != null) { + if (transientValues.isValueTransient(semanticObject, SolverLanguagePackage.Literals.LET_BINDING__VARIABLE) == ValueTransient.YES) + errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, SolverLanguagePackage.Literals.LET_BINDING__VARIABLE)); + if (transientValues.isValueTransient(semanticObject, SolverLanguagePackage.Literals.LET_BINDING__VALUE) == ValueTransient.YES) + errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, SolverLanguagePackage.Literals.LET_BINDING__VALUE)); + } + SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); + feeder.accept(grammarAccess.getLetBindingAccess().getVariableVariableParserRuleCall_0_0(), semanticObject.getVariable()); + feeder.accept(grammarAccess.getLetBindingAccess().getValueAdditiveExpressionParserRuleCall_2_0(), semanticObject.getValue()); + feeder.finish(); + } + + + /** + * Contexts: + * Statement returns Let + * AssertionOrDefinition returns Let + * AssertionOrDefinition.Interpretation_1_0_0 returns Let + * AssertionOrDefinition.PredicateDefinition_1_1_0 returns Let + * AssertionOrDefinition.MetricDefinition_1_2_0 returns Let + * Expression returns Let + * Let returns Let + * ImplicationExpression returns Let + * ImplicationExpression.BinaryExpression_1_0 returns Let + * DisjunctiveExpression returns Let + * DisjunctiveExpression.Disjunction_1_0_0 returns Let + * DisjunctiveExpression.Case_1_1_0 returns Let + * ConjunctiveExpression returns Let + * ConjunctiveExpression.Conjunction_1_0 returns Let + * ComparisonExpression returns Let + * ComparisonExpression.Comparison_1_0 returns Let + * AdditiveExpression returns Let + * AdditiveExpression.BinaryExpression_1_0 returns Let + * MultiplicativeExpression returns Let + * MultiplicativeExpression.BinaryExpression_1_0 returns Let + * ExponentialExpression returns Let + * ExponentialExpression.BinaryExpression_1_0 returns Let + * CastExpression returns Let + * CastExpression.CastExpression_1_0 returns Let + * UnaryExpression returns Let + * AggregationExpression returns Let + * AtomicExpression returns Let + * + * Constraint: + * (bindings+=LetBinding bindings+=LetBinding* body=Expression) + */ + protected void sequence_Let(ISerializationContext context, Let semanticObject) { + genericSequencer.createSequence(context, semanticObject); + } + + + /** + * Contexts: + * LocalVariables returns LocalVariables + * + * Constraint: + * (variables+=Variable variables+=Variable*)? + */ + protected void sequence_LocalVariables(ISerializationContext context, LocalVariables semanticObject) { + genericSequencer.createSequence(context, semanticObject); + } + + + /** + * Contexts: + * Statement returns LogicLiteral + * AssertionOrDefinition returns LogicLiteral + * AssertionOrDefinition.Interpretation_1_0_0 returns LogicLiteral * AssertionOrDefinition.PredicateDefinition_1_1_0 returns LogicLiteral * AssertionOrDefinition.MetricDefinition_1_2_0 returns LogicLiteral * Expression returns LogicLiteral + * ImplicationExpression returns LogicLiteral + * ImplicationExpression.BinaryExpression_1_0 returns LogicLiteral * DisjunctiveExpression returns LogicLiteral * DisjunctiveExpression.Disjunction_1_0_0 returns LogicLiteral * DisjunctiveExpression.Case_1_1_0 returns LogicLiteral @@ -1002,6 +1217,8 @@ public class SolverLanguageSemanticSequencer extends AbstractDelegatingSemanticS * MultiplicativeExpression.BinaryExpression_1_0 returns LogicLiteral * ExponentialExpression returns LogicLiteral * ExponentialExpression.BinaryExpression_1_0 returns LogicLiteral + * CastExpression returns LogicLiteral + * CastExpression.CastExpression_1_0 returns LogicLiteral * UnaryExpression returns LogicLiteral * AggregationExpression returns LogicLiteral * AtomicExpression returns LogicLiteral @@ -1066,7 +1283,7 @@ public class SolverLanguageSemanticSequencer extends AbstractDelegatingSemanticS * MetricDefinition returns MetricDefinition * * Constraint: - * (type=MetricType head=Expression body=Expression) + * (type=[NamedElement|QualifiedName] head=Call body=Expression) */ protected void sequence_MetricDefinition(ISerializationContext context, MetricDefinition semanticObject) { if (errorAcceptor != null) { @@ -1078,8 +1295,8 @@ public class SolverLanguageSemanticSequencer extends AbstractDelegatingSemanticS errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, SolverLanguagePackage.Literals.METRIC_DEFINITION__BODY)); } SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); - feeder.accept(grammarAccess.getMetricDefinitionAccess().getTypeMetricTypeEnumRuleCall_0_0(), semanticObject.getType()); - feeder.accept(grammarAccess.getMetricDefinitionAccess().getHeadExpressionParserRuleCall_1_0(), semanticObject.getHead()); + feeder.accept(grammarAccess.getMetricDefinitionAccess().getTypeNamedElementQualifiedNameParserRuleCall_0_0_1(), semanticObject.eGet(SolverLanguagePackage.Literals.METRIC_DEFINITION__TYPE, false)); + feeder.accept(grammarAccess.getMetricDefinitionAccess().getHeadCallParserRuleCall_1_0(), semanticObject.getHead()); feeder.accept(grammarAccess.getMetricDefinitionAccess().getBodyExpressionParserRuleCall_3_0(), semanticObject.getBody()); feeder.finish(); } @@ -1087,28 +1304,14 @@ public class SolverLanguageSemanticSequencer extends AbstractDelegatingSemanticS /** * Contexts: - * NamedElement returns NamedElement - * - * Constraint: - * name=QualifiedName - */ - protected void sequence_NamedElement(ISerializationContext context, NamedElement semanticObject) { - if (errorAcceptor != null) { - if (transientValues.isValueTransient(semanticObject, SolverLanguagePackage.Literals.NAMED_ELEMENT__NAME) == ValueTransient.YES) - errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, SolverLanguagePackage.Literals.NAMED_ELEMENT__NAME)); - } - SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); - feeder.accept(grammarAccess.getNamedElementAccess().getNameQualifiedNameParserRuleCall_0(), semanticObject.getName()); - feeder.finish(); - } - - - /** - * Contexts: - * AssertionOrDefinition.Assertion_1_0_0 returns NumericLiteral + * Statement returns NumericLiteral + * AssertionOrDefinition returns NumericLiteral + * AssertionOrDefinition.Interpretation_1_0_0 returns NumericLiteral * AssertionOrDefinition.PredicateDefinition_1_1_0 returns NumericLiteral * AssertionOrDefinition.MetricDefinition_1_2_0 returns NumericLiteral * Expression returns NumericLiteral + * ImplicationExpression returns NumericLiteral + * ImplicationExpression.BinaryExpression_1_0 returns NumericLiteral * DisjunctiveExpression returns NumericLiteral * DisjunctiveExpression.Disjunction_1_0_0 returns NumericLiteral * DisjunctiveExpression.Case_1_1_0 returns NumericLiteral @@ -1122,6 +1325,8 @@ public class SolverLanguageSemanticSequencer extends AbstractDelegatingSemanticS * MultiplicativeExpression.BinaryExpression_1_0 returns NumericLiteral * ExponentialExpression returns NumericLiteral * ExponentialExpression.BinaryExpression_1_0 returns NumericLiteral + * CastExpression returns NumericLiteral + * CastExpression.CastExpression_1_0 returns NumericLiteral * UnaryExpression returns NumericLiteral * AggregationExpression returns NumericLiteral * AtomicExpression returns NumericLiteral @@ -1190,10 +1395,52 @@ public class SolverLanguageSemanticSequencer extends AbstractDelegatingSemanticS /** * Contexts: - * AssertionOrDefinition.Assertion_1_0_0 returns Reference + * Statement returns QuantifiedExpression + * AssertionOrDefinition returns QuantifiedExpression + * AssertionOrDefinition.Interpretation_1_0_0 returns QuantifiedExpression + * AssertionOrDefinition.PredicateDefinition_1_1_0 returns QuantifiedExpression + * AssertionOrDefinition.MetricDefinition_1_2_0 returns QuantifiedExpression + * Expression returns QuantifiedExpression + * ImplicationExpression returns QuantifiedExpression + * ImplicationExpression.BinaryExpression_1_0 returns QuantifiedExpression + * DisjunctiveExpression returns QuantifiedExpression + * DisjunctiveExpression.Disjunction_1_0_0 returns QuantifiedExpression + * DisjunctiveExpression.Case_1_1_0 returns QuantifiedExpression + * ConjunctiveExpression returns QuantifiedExpression + * ConjunctiveExpression.Conjunction_1_0 returns QuantifiedExpression + * ComparisonExpression returns QuantifiedExpression + * ComparisonExpression.Comparison_1_0 returns QuantifiedExpression + * AdditiveExpression returns QuantifiedExpression + * AdditiveExpression.BinaryExpression_1_0 returns QuantifiedExpression + * MultiplicativeExpression returns QuantifiedExpression + * MultiplicativeExpression.BinaryExpression_1_0 returns QuantifiedExpression + * ExponentialExpression returns QuantifiedExpression + * ExponentialExpression.BinaryExpression_1_0 returns QuantifiedExpression + * CastExpression returns QuantifiedExpression + * CastExpression.CastExpression_1_0 returns QuantifiedExpression + * UnaryExpression returns QuantifiedExpression + * AggregationExpression returns QuantifiedExpression + * QuantifiedExpression returns QuantifiedExpression + * AtomicExpression returns QuantifiedExpression + * + * Constraint: + * (quantifier=Quantifier localVariables=LocalVariables? body=Expression) + */ + protected void sequence_QuantifiedExpression(ISerializationContext context, QuantifiedExpression semanticObject) { + genericSequencer.createSequence(context, semanticObject); + } + + + /** + * Contexts: + * Statement returns Reference + * AssertionOrDefinition returns Reference + * AssertionOrDefinition.Interpretation_1_0_0 returns Reference * AssertionOrDefinition.PredicateDefinition_1_1_0 returns Reference * AssertionOrDefinition.MetricDefinition_1_2_0 returns Reference * Expression returns Reference + * ImplicationExpression returns Reference + * ImplicationExpression.BinaryExpression_1_0 returns Reference * DisjunctiveExpression returns Reference * DisjunctiveExpression.Disjunction_1_0_0 returns Reference * DisjunctiveExpression.Case_1_1_0 returns Reference @@ -1207,6 +1454,8 @@ public class SolverLanguageSemanticSequencer extends AbstractDelegatingSemanticS * MultiplicativeExpression.BinaryExpression_1_0 returns Reference * ExponentialExpression returns Reference * ExponentialExpression.BinaryExpression_1_0 returns Reference + * CastExpression returns Reference + * CastExpression.CastExpression_1_0 returns Reference * UnaryExpression returns Reference * AggregationExpression returns Reference * AtomicExpression returns Reference @@ -1241,10 +1490,14 @@ public class SolverLanguageSemanticSequencer extends AbstractDelegatingSemanticS /** * Contexts: - * AssertionOrDefinition.Assertion_1_0_0 returns StringLiteral + * Statement returns StringLiteral + * AssertionOrDefinition returns StringLiteral + * AssertionOrDefinition.Interpretation_1_0_0 returns StringLiteral * AssertionOrDefinition.PredicateDefinition_1_1_0 returns StringLiteral * AssertionOrDefinition.MetricDefinition_1_2_0 returns StringLiteral * Expression returns StringLiteral + * ImplicationExpression returns StringLiteral + * ImplicationExpression.BinaryExpression_1_0 returns StringLiteral * DisjunctiveExpression returns StringLiteral * DisjunctiveExpression.Disjunction_1_0_0 returns StringLiteral * DisjunctiveExpression.Case_1_1_0 returns StringLiteral @@ -1258,6 +1511,8 @@ public class SolverLanguageSemanticSequencer extends AbstractDelegatingSemanticS * MultiplicativeExpression.BinaryExpression_1_0 returns StringLiteral * ExponentialExpression returns StringLiteral * ExponentialExpression.BinaryExpression_1_0 returns StringLiteral + * CastExpression returns StringLiteral + * CastExpression.CastExpression_1_0 returns StringLiteral * UnaryExpression returns StringLiteral * AggregationExpression returns StringLiteral * AtomicExpression returns StringLiteral @@ -1321,10 +1576,14 @@ public class SolverLanguageSemanticSequencer extends AbstractDelegatingSemanticS /** * Contexts: - * AssertionOrDefinition.Assertion_1_0_0 returns UnaryExpression + * Statement returns UnaryExpression + * AssertionOrDefinition returns UnaryExpression + * AssertionOrDefinition.Interpretation_1_0_0 returns UnaryExpression * AssertionOrDefinition.PredicateDefinition_1_1_0 returns UnaryExpression * AssertionOrDefinition.MetricDefinition_1_2_0 returns UnaryExpression * Expression returns UnaryExpression + * ImplicationExpression returns UnaryExpression + * ImplicationExpression.BinaryExpression_1_0 returns UnaryExpression * DisjunctiveExpression returns UnaryExpression * DisjunctiveExpression.Disjunction_1_0_0 returns UnaryExpression * DisjunctiveExpression.Case_1_1_0 returns UnaryExpression @@ -1338,6 +1597,8 @@ public class SolverLanguageSemanticSequencer extends AbstractDelegatingSemanticS * MultiplicativeExpression.BinaryExpression_1_0 returns UnaryExpression * ExponentialExpression returns UnaryExpression * ExponentialExpression.BinaryExpression_1_0 returns UnaryExpression + * CastExpression returns UnaryExpression + * CastExpression.CastExpression_1_0 returns UnaryExpression * UnaryExpression returns UnaryExpression * AggregationExpression returns UnaryExpression * AtomicExpression returns UnaryExpression @@ -1381,4 +1642,16 @@ public class SolverLanguageSemanticSequencer extends AbstractDelegatingSemanticS } + /** + * Contexts: + * Variable returns Variable + * + * Constraint: + * (type=[NamedElement|QualifiedName]? name=ID) + */ + protected void sequence_Variable(ISerializationContext context, Variable semanticObject) { + genericSequencer.createSequence(context, semanticObject); + } + + } diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/serializer/SolverLanguageSyntacticSequencer.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/serializer/SolverLanguageSyntacticSequencer.java index 1fa1a820..8b187721 100644 --- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/serializer/SolverLanguageSyntacticSequencer.java +++ b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/serializer/SolverLanguageSyntacticSequencer.java @@ -83,18 +83,22 @@ public class SolverLanguageSyntacticSequencer extends AbstractSyntacticSequencer * * This ambiguous syntax occurs at: * (rule start) (ambiguity) '[' lowerBound=Expression - * (rule start) (ambiguity) 'count' '{' body=Expression * (rule start) (ambiguity) 'empty' (rule start) + * (rule start) (ambiguity) 'empty' FULL_STOP (rule start) * (rule start) (ambiguity) 'if' condition=Expression * (rule start) (ambiguity) 'inf' (rule start) + * (rule start) (ambiguity) 'inf' FULL_STOP (rule start) + * (rule start) (ambiguity) 'let' bindings+=LetBinding * (rule start) (ambiguity) functor=Reference - * (rule start) (ambiguity) op=AggregationOp * (rule start) (ambiguity) op=UnaryOp + * (rule start) (ambiguity) op=[NamedElement|QualifiedName] + * (rule start) (ambiguity) quantifier=Quantifier * (rule start) (ambiguity) referred=[NamedElement|QualifiedName] * (rule start) (ambiguity) value=LogicValue * (rule start) (ambiguity) value=Real * (rule start) (ambiguity) value=STRING * (rule start) (ambiguity) {BinaryExpression.left=} + * (rule start) (ambiguity) {CastExpression.body=} * (rule start) (ambiguity) {Comparison.left=} * (rule start) (ambiguity) {Conjunction.children+=} * (rule start) (ambiguity) {Disjunction.children+=} @@ -109,11 +113,13 @@ public class SolverLanguageSyntacticSequencer extends AbstractSyntacticSequencer * '('+ * * This ambiguous syntax occurs at: - * (rule start) (ambiguity) 'count' '{' body=Expression * (rule start) (ambiguity) 'if' condition=Expression - * (rule start) (ambiguity) op=AggregationOp + * (rule start) (ambiguity) 'let' bindings+=LetBinding * (rule start) (ambiguity) op=UnaryOp + * (rule start) (ambiguity) op=[NamedElement|QualifiedName] + * (rule start) (ambiguity) quantifier=Quantifier * (rule start) (ambiguity) {BinaryExpression.left=} + * (rule start) (ambiguity) {CastExpression.body=} * (rule start) (ambiguity) {Comparison.left=} * (rule start) (ambiguity) {Conjunction.children+=} * (rule start) (ambiguity) {Disjunction.children+=} diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/services/SolverLanguageGrammarAccess.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/services/SolverLanguageGrammarAccess.java index 0252938a..ed1569a5 100644 --- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/services/SolverLanguageGrammarAccess.java +++ b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/services/SolverLanguageGrammarAccess.java @@ -50,28 +50,30 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder { private final RuleCall cPredicateDefinitionParserRuleCall_0_1 = (RuleCall)cAlternatives_0.eContents().get(1); private final RuleCall cUnnamedErrorPrediateDefinitionParserRuleCall_0_2 = (RuleCall)cAlternatives_0.eContents().get(2); private final RuleCall cDefaultDefinitionParserRuleCall_0_3 = (RuleCall)cAlternatives_0.eContents().get(3); - private final RuleCall cExternPredicateDefinitionParserRuleCall_0_4 = (RuleCall)cAlternatives_0.eContents().get(4); - private final RuleCall cMetricDefinitionParserRuleCall_0_5 = (RuleCall)cAlternatives_0.eContents().get(5); + private final RuleCall cMetricDefinitionParserRuleCall_0_4 = (RuleCall)cAlternatives_0.eContents().get(4); + private final RuleCall cExternPredicateDefinitionParserRuleCall_0_5 = (RuleCall)cAlternatives_0.eContents().get(5); private final RuleCall cExternMetricDefinitionParserRuleCall_0_6 = (RuleCall)cAlternatives_0.eContents().get(6); - private final RuleCall cClassDefinitionParserRuleCall_0_7 = (RuleCall)cAlternatives_0.eContents().get(7); - private final RuleCall cScopeDefinitionParserRuleCall_0_8 = (RuleCall)cAlternatives_0.eContents().get(8); - private final RuleCall cObjectiveDefinitionParserRuleCall_0_9 = (RuleCall)cAlternatives_0.eContents().get(9); + private final RuleCall cExternAggregatorDefinitionParserRuleCall_0_7 = (RuleCall)cAlternatives_0.eContents().get(7); + private final RuleCall cExternDatatypeDefinitionParserRuleCall_0_8 = (RuleCall)cAlternatives_0.eContents().get(8); + private final RuleCall cClassDefinitionParserRuleCall_0_9 = (RuleCall)cAlternatives_0.eContents().get(9); + private final RuleCall cScopeDefinitionParserRuleCall_0_10 = (RuleCall)cAlternatives_0.eContents().get(10); + private final RuleCall cObjectiveDefinitionParserRuleCall_0_11 = (RuleCall)cAlternatives_0.eContents().get(11); private final RuleCall cFULL_STOPTerminalRuleCall_1 = (RuleCall)cGroup.eContents().get(1); //Statement: - // (AssertionOrDefinition | PredicateDefinition | UnnamedErrorPrediateDefinition | DefaultDefinition | - // ExternPredicateDefinition | MetricDefinition | ExternMetricDefinition | ClassDefinition | ScopeDefinition | - // ObjectiveDefinition) FULL_STOP; + // (AssertionOrDefinition | PredicateDefinition | UnnamedErrorPrediateDefinition | DefaultDefinition | MetricDefinition + // | ExternPredicateDefinition | ExternMetricDefinition | ExternAggregatorDefinition | ExternDatatypeDefinition | + // ClassDefinition | ScopeDefinition | ObjectiveDefinition) FULL_STOP; @Override public ParserRule getRule() { return rule; } - //(AssertionOrDefinition | PredicateDefinition | UnnamedErrorPrediateDefinition | DefaultDefinition | - //ExternPredicateDefinition | MetricDefinition | ExternMetricDefinition | ClassDefinition | ScopeDefinition | - //ObjectiveDefinition) FULL_STOP + //(AssertionOrDefinition | PredicateDefinition | UnnamedErrorPrediateDefinition | DefaultDefinition | MetricDefinition | + //ExternPredicateDefinition | ExternMetricDefinition | ExternAggregatorDefinition | ExternDatatypeDefinition | + //ClassDefinition | ScopeDefinition | ObjectiveDefinition) FULL_STOP public Group getGroup() { return cGroup; } - //(AssertionOrDefinition | PredicateDefinition | UnnamedErrorPrediateDefinition | DefaultDefinition | - //ExternPredicateDefinition | MetricDefinition | ExternMetricDefinition | ClassDefinition | ScopeDefinition | - //ObjectiveDefinition) + //(AssertionOrDefinition | PredicateDefinition | UnnamedErrorPrediateDefinition | DefaultDefinition | MetricDefinition | + //ExternPredicateDefinition | ExternMetricDefinition | ExternAggregatorDefinition | ExternDatatypeDefinition | + //ClassDefinition | ScopeDefinition | ObjectiveDefinition) public Alternatives getAlternatives_0() { return cAlternatives_0; } //AssertionOrDefinition @@ -86,23 +88,29 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder { //DefaultDefinition public RuleCall getDefaultDefinitionParserRuleCall_0_3() { return cDefaultDefinitionParserRuleCall_0_3; } - //ExternPredicateDefinition - public RuleCall getExternPredicateDefinitionParserRuleCall_0_4() { return cExternPredicateDefinitionParserRuleCall_0_4; } - //MetricDefinition - public RuleCall getMetricDefinitionParserRuleCall_0_5() { return cMetricDefinitionParserRuleCall_0_5; } + public RuleCall getMetricDefinitionParserRuleCall_0_4() { return cMetricDefinitionParserRuleCall_0_4; } + + //ExternPredicateDefinition + public RuleCall getExternPredicateDefinitionParserRuleCall_0_5() { return cExternPredicateDefinitionParserRuleCall_0_5; } //ExternMetricDefinition public RuleCall getExternMetricDefinitionParserRuleCall_0_6() { return cExternMetricDefinitionParserRuleCall_0_6; } + //ExternAggregatorDefinition + public RuleCall getExternAggregatorDefinitionParserRuleCall_0_7() { return cExternAggregatorDefinitionParserRuleCall_0_7; } + + //ExternDatatypeDefinition + public RuleCall getExternDatatypeDefinitionParserRuleCall_0_8() { return cExternDatatypeDefinitionParserRuleCall_0_8; } + //ClassDefinition - public RuleCall getClassDefinitionParserRuleCall_0_7() { return cClassDefinitionParserRuleCall_0_7; } + public RuleCall getClassDefinitionParserRuleCall_0_9() { return cClassDefinitionParserRuleCall_0_9; } //ScopeDefinition - public RuleCall getScopeDefinitionParserRuleCall_0_8() { return cScopeDefinitionParserRuleCall_0_8; } + public RuleCall getScopeDefinitionParserRuleCall_0_10() { return cScopeDefinitionParserRuleCall_0_10; } //ObjectiveDefinition - public RuleCall getObjectiveDefinitionParserRuleCall_0_9() { return cObjectiveDefinitionParserRuleCall_0_9; } + public RuleCall getObjectiveDefinitionParserRuleCall_0_11() { return cObjectiveDefinitionParserRuleCall_0_11; } //FULL_STOP public RuleCall getFULL_STOPTerminalRuleCall_1() { return cFULL_STOPTerminalRuleCall_1; } @@ -113,11 +121,10 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder { private final RuleCall cExpressionParserRuleCall_0 = (RuleCall)cGroup.eContents().get(0); private final Alternatives cAlternatives_1 = (Alternatives)cGroup.eContents().get(1); private final Group cGroup_1_0 = (Group)cAlternatives_1.eContents().get(0); - private final Action cAssertionBodyAction_1_0_0 = (Action)cGroup_1_0.eContents().get(0); - private final Group cGroup_1_0_1 = (Group)cGroup_1_0.eContents().get(1); - private final Keyword cColonKeyword_1_0_1_0 = (Keyword)cGroup_1_0_1.eContents().get(0); - private final Assignment cRangeAssignment_1_0_1_1 = (Assignment)cGroup_1_0_1.eContents().get(1); - private final RuleCall cRangeExpressionParserRuleCall_1_0_1_1_0 = (RuleCall)cRangeAssignment_1_0_1_1.eContents().get(0); + private final Action cInterpretationBodyAction_1_0_0 = (Action)cGroup_1_0.eContents().get(0); + private final Keyword cColonKeyword_1_0_1 = (Keyword)cGroup_1_0.eContents().get(1); + private final Assignment cRangeAssignment_1_0_2 = (Assignment)cGroup_1_0.eContents().get(2); + private final RuleCall cRangeExpressionParserRuleCall_1_0_2_0 = (RuleCall)cRangeAssignment_1_0_2.eContents().get(0); private final Group cGroup_1_1 = (Group)cAlternatives_1.eContents().get(1); private final Action cPredicateDefinitionHeadAction_1_1_0 = (Action)cGroup_1_1.eContents().get(0); private final Keyword cColonHyphenMinusKeyword_1_1_1 = (Keyword)cGroup_1_1.eContents().get(1); @@ -130,38 +137,35 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder { private final RuleCall cBodyExpressionParserRuleCall_1_2_2_0 = (RuleCall)cBodyAssignment_1_2_2.eContents().get(0); //AssertionOrDefinition Statement: - // Expression ({Assertion.body=current} (":" range=Expression)? | {PredicateDefinition.head=current} ":-" - // body=Expression | {MetricDefinition.head=current} "=" body=Expression); + // Expression ({Interpretation.body=current} ":" range=Expression | {PredicateDefinition.head=current} ":-" + // body=Expression | {MetricDefinition.head=current} "=" body=Expression)?; @Override public ParserRule getRule() { return rule; } - //Expression ({Assertion.body=current} (":" range=Expression)? | {PredicateDefinition.head=current} ":-" body=Expression | - //{MetricDefinition.head=current} "=" body=Expression) + //Expression ({Interpretation.body=current} ":" range=Expression | {PredicateDefinition.head=current} ":-" body=Expression + //| {MetricDefinition.head=current} "=" body=Expression)? public Group getGroup() { return cGroup; } //Expression public RuleCall getExpressionParserRuleCall_0() { return cExpressionParserRuleCall_0; } - //({Assertion.body=current} (":" range=Expression)? | {PredicateDefinition.head=current} ":-" body=Expression | - //{MetricDefinition.head=current} "=" body=Expression) + //({Interpretation.body=current} ":" range=Expression | {PredicateDefinition.head=current} ":-" body=Expression | + //{MetricDefinition.head=current} "=" body=Expression)? public Alternatives getAlternatives_1() { return cAlternatives_1; } - //{Assertion.body=current} (":" range=Expression)? + //{Interpretation.body=current} ":" range=Expression public Group getGroup_1_0() { return cGroup_1_0; } - //{Assertion.body=current} - public Action getAssertionBodyAction_1_0_0() { return cAssertionBodyAction_1_0_0; } - - //(":" range=Expression)? - public Group getGroup_1_0_1() { return cGroup_1_0_1; } + //{Interpretation.body=current} + public Action getInterpretationBodyAction_1_0_0() { return cInterpretationBodyAction_1_0_0; } //":" - public Keyword getColonKeyword_1_0_1_0() { return cColonKeyword_1_0_1_0; } + public Keyword getColonKeyword_1_0_1() { return cColonKeyword_1_0_1; } //range=Expression - public Assignment getRangeAssignment_1_0_1_1() { return cRangeAssignment_1_0_1_1; } + public Assignment getRangeAssignment_1_0_2() { return cRangeAssignment_1_0_2; } //Expression - public RuleCall getRangeExpressionParserRuleCall_1_0_1_1_0() { return cRangeExpressionParserRuleCall_1_0_1_1_0; } + public RuleCall getRangeExpressionParserRuleCall_1_0_2_0() { return cRangeExpressionParserRuleCall_1_0_2_0; } //{PredicateDefinition.head=current} ":-" body=Expression public Group getGroup_1_1() { return cGroup_1_1; } @@ -338,58 +342,39 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder { //Expression public RuleCall getRangeExpressionParserRuleCall_3_0() { return cRangeExpressionParserRuleCall_3_0; } } - public class ExternPredicateDefinitionElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.ExternPredicateDefinition"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final Keyword cExternKeyword_0 = (Keyword)cGroup.eContents().get(0); - private final Assignment cHeadAssignment_1 = (Assignment)cGroup.eContents().get(1); - private final RuleCall cHeadCallParserRuleCall_1_0 = (RuleCall)cHeadAssignment_1.eContents().get(0); - - //ExternPredicateDefinition: - // "extern" head=Call; - @Override public ParserRule getRule() { return rule; } - - //"extern" head=Call - public Group getGroup() { return cGroup; } - - //"extern" - public Keyword getExternKeyword_0() { return cExternKeyword_0; } - - //head=Call - public Assignment getHeadAssignment_1() { return cHeadAssignment_1; } - - //Call - public RuleCall getHeadCallParserRuleCall_1_0() { return cHeadCallParserRuleCall_1_0; } - } public class MetricDefinitionElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.MetricDefinition"); private final Group cGroup = (Group)rule.eContents().get(1); private final Assignment cTypeAssignment_0 = (Assignment)cGroup.eContents().get(0); - private final RuleCall cTypeMetricTypeEnumRuleCall_0_0 = (RuleCall)cTypeAssignment_0.eContents().get(0); + private final CrossReference cTypeNamedElementCrossReference_0_0 = (CrossReference)cTypeAssignment_0.eContents().get(0); + private final RuleCall cTypeNamedElementQualifiedNameParserRuleCall_0_0_1 = (RuleCall)cTypeNamedElementCrossReference_0_0.eContents().get(1); private final Assignment cHeadAssignment_1 = (Assignment)cGroup.eContents().get(1); - private final RuleCall cHeadExpressionParserRuleCall_1_0 = (RuleCall)cHeadAssignment_1.eContents().get(0); + private final RuleCall cHeadCallParserRuleCall_1_0 = (RuleCall)cHeadAssignment_1.eContents().get(0); private final Keyword cEqualsSignKeyword_2 = (Keyword)cGroup.eContents().get(2); private final Assignment cBodyAssignment_3 = (Assignment)cGroup.eContents().get(3); private final RuleCall cBodyExpressionParserRuleCall_3_0 = (RuleCall)cBodyAssignment_3.eContents().get(0); //MetricDefinition: - // type=MetricType head=Expression "=" body=Expression; + // type=[NamedElement|QualifiedName] head=Call "=" body=Expression; @Override public ParserRule getRule() { return rule; } - //type=MetricType head=Expression "=" body=Expression + //type=[NamedElement|QualifiedName] head=Call "=" body=Expression public Group getGroup() { return cGroup; } - //type=MetricType + //type=[NamedElement|QualifiedName] public Assignment getTypeAssignment_0() { return cTypeAssignment_0; } - //MetricType - public RuleCall getTypeMetricTypeEnumRuleCall_0_0() { return cTypeMetricTypeEnumRuleCall_0_0; } + //[NamedElement|QualifiedName] + public CrossReference getTypeNamedElementCrossReference_0_0() { return cTypeNamedElementCrossReference_0_0; } + + //QualifiedName + public RuleCall getTypeNamedElementQualifiedNameParserRuleCall_0_0_1() { return cTypeNamedElementQualifiedNameParserRuleCall_0_0_1; } - //head=Expression + //head=Call public Assignment getHeadAssignment_1() { return cHeadAssignment_1; } - //Expression - public RuleCall getHeadExpressionParserRuleCall_1_0() { return cHeadExpressionParserRuleCall_1_0; } + //Call + public RuleCall getHeadCallParserRuleCall_1_0() { return cHeadCallParserRuleCall_1_0; } //"=" public Keyword getEqualsSignKeyword_2() { return cEqualsSignKeyword_2; } @@ -400,55 +385,261 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder { //Expression public RuleCall getBodyExpressionParserRuleCall_3_0() { return cBodyExpressionParserRuleCall_3_0; } } + public class ExternPredicateDefinitionElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.ExternPredicateDefinition"); + private final Group cGroup = (Group)rule.eContents().get(1); + private final Keyword cExternKeyword_0 = (Keyword)cGroup.eContents().get(0); + private final Assignment cNameAssignment_1 = (Assignment)cGroup.eContents().get(1); + private final RuleCall cNameQualifiedNameParserRuleCall_1_0 = (RuleCall)cNameAssignment_1.eContents().get(0); + private final Assignment cArgumentListAssignment_2 = (Assignment)cGroup.eContents().get(2); + private final RuleCall cArgumentListArgumentListParserRuleCall_2_0 = (RuleCall)cArgumentListAssignment_2.eContents().get(0); + + //ExternPredicateDefinition: + // "extern" name=QualifiedName argumentList=ArgumentList; + @Override public ParserRule getRule() { return rule; } + + //"extern" name=QualifiedName argumentList=ArgumentList + public Group getGroup() { return cGroup; } + + //"extern" + public Keyword getExternKeyword_0() { return cExternKeyword_0; } + + //name=QualifiedName + public Assignment getNameAssignment_1() { return cNameAssignment_1; } + + //QualifiedName + public RuleCall getNameQualifiedNameParserRuleCall_1_0() { return cNameQualifiedNameParserRuleCall_1_0; } + + //argumentList=ArgumentList + public Assignment getArgumentListAssignment_2() { return cArgumentListAssignment_2; } + + //ArgumentList + public RuleCall getArgumentListArgumentListParserRuleCall_2_0() { return cArgumentListArgumentListParserRuleCall_2_0; } + } public class ExternMetricDefinitionElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.ExternMetricDefinition"); private final Group cGroup = (Group)rule.eContents().get(1); private final Keyword cExternKeyword_0 = (Keyword)cGroup.eContents().get(0); private final Assignment cTypeAssignment_1 = (Assignment)cGroup.eContents().get(1); - private final RuleCall cTypeMetricTypeEnumRuleCall_1_0 = (RuleCall)cTypeAssignment_1.eContents().get(0); - private final Assignment cHeadAssignment_2 = (Assignment)cGroup.eContents().get(2); - private final RuleCall cHeadCallParserRuleCall_2_0 = (RuleCall)cHeadAssignment_2.eContents().get(0); + private final CrossReference cTypeNamedElementCrossReference_1_0 = (CrossReference)cTypeAssignment_1.eContents().get(0); + private final RuleCall cTypeNamedElementQualifiedNameParserRuleCall_1_0_1 = (RuleCall)cTypeNamedElementCrossReference_1_0.eContents().get(1); + private final Assignment cNameAssignment_2 = (Assignment)cGroup.eContents().get(2); + private final RuleCall cNameQualifiedNameParserRuleCall_2_0 = (RuleCall)cNameAssignment_2.eContents().get(0); + private final Assignment cArgumentListAssignment_3 = (Assignment)cGroup.eContents().get(3); + private final RuleCall cArgumentListArgumentListParserRuleCall_3_0 = (RuleCall)cArgumentListAssignment_3.eContents().get(0); //ExternMetricDefinition: - // "extern" type=MetricType head=Call; + // "extern" type=[NamedElement|QualifiedName] name=QualifiedName argumentList=ArgumentList; @Override public ParserRule getRule() { return rule; } - //"extern" type=MetricType head=Call + //"extern" type=[NamedElement|QualifiedName] name=QualifiedName argumentList=ArgumentList public Group getGroup() { return cGroup; } //"extern" public Keyword getExternKeyword_0() { return cExternKeyword_0; } - //type=MetricType + //type=[NamedElement|QualifiedName] public Assignment getTypeAssignment_1() { return cTypeAssignment_1; } - //MetricType - public RuleCall getTypeMetricTypeEnumRuleCall_1_0() { return cTypeMetricTypeEnumRuleCall_1_0; } + //[NamedElement|QualifiedName] + public CrossReference getTypeNamedElementCrossReference_1_0() { return cTypeNamedElementCrossReference_1_0; } - //head=Call - public Assignment getHeadAssignment_2() { return cHeadAssignment_2; } + //QualifiedName + public RuleCall getTypeNamedElementQualifiedNameParserRuleCall_1_0_1() { return cTypeNamedElementQualifiedNameParserRuleCall_1_0_1; } - //Call - public RuleCall getHeadCallParserRuleCall_2_0() { return cHeadCallParserRuleCall_2_0; } + //name=QualifiedName + public Assignment getNameAssignment_2() { return cNameAssignment_2; } + + //QualifiedName + public RuleCall getNameQualifiedNameParserRuleCall_2_0() { return cNameQualifiedNameParserRuleCall_2_0; } + + //argumentList=ArgumentList + public Assignment getArgumentListAssignment_3() { return cArgumentListAssignment_3; } + + //ArgumentList + public RuleCall getArgumentListArgumentListParserRuleCall_3_0() { return cArgumentListArgumentListParserRuleCall_3_0; } + } + public class ExternAggregatorDefinitionElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.ExternAggregatorDefinition"); + private final Group cGroup = (Group)rule.eContents().get(1); + private final Keyword cExternKeyword_0 = (Keyword)cGroup.eContents().get(0); + private final Assignment cTypeAssignment_1 = (Assignment)cGroup.eContents().get(1); + private final CrossReference cTypeNamedElementCrossReference_1_0 = (CrossReference)cTypeAssignment_1.eContents().get(0); + private final RuleCall cTypeNamedElementQualifiedNameParserRuleCall_1_0_1 = (RuleCall)cTypeNamedElementCrossReference_1_0.eContents().get(1); + private final Assignment cNameAssignment_2 = (Assignment)cGroup.eContents().get(2); + private final RuleCall cNameQualifiedNameParserRuleCall_2_0 = (RuleCall)cNameAssignment_2.eContents().get(0); + private final Keyword cLeftCurlyBracketKeyword_3 = (Keyword)cGroup.eContents().get(3); + private final Assignment cInputTypeAssignment_4 = (Assignment)cGroup.eContents().get(4); + private final CrossReference cInputTypeNamedElementCrossReference_4_0 = (CrossReference)cInputTypeAssignment_4.eContents().get(0); + private final RuleCall cInputTypeNamedElementQualifiedNameParserRuleCall_4_0_1 = (RuleCall)cInputTypeNamedElementCrossReference_4_0.eContents().get(1); + private final Keyword cFullStopFullStopFullStopKeyword_5 = (Keyword)cGroup.eContents().get(5); + private final Keyword cRightCurlyBracketKeyword_6 = (Keyword)cGroup.eContents().get(6); + + //ExternAggregatorDefinition: + // "extern" type=[NamedElement|QualifiedName] name=QualifiedName "{" inputType=[NamedElement|QualifiedName] "..." "}"; + @Override public ParserRule getRule() { return rule; } + + //"extern" type=[NamedElement|QualifiedName] name=QualifiedName "{" inputType=[NamedElement|QualifiedName] "..." "}" + public Group getGroup() { return cGroup; } + + //"extern" + public Keyword getExternKeyword_0() { return cExternKeyword_0; } + + //type=[NamedElement|QualifiedName] + public Assignment getTypeAssignment_1() { return cTypeAssignment_1; } + + //[NamedElement|QualifiedName] + public CrossReference getTypeNamedElementCrossReference_1_0() { return cTypeNamedElementCrossReference_1_0; } + + //QualifiedName + public RuleCall getTypeNamedElementQualifiedNameParserRuleCall_1_0_1() { return cTypeNamedElementQualifiedNameParserRuleCall_1_0_1; } + + //name=QualifiedName + public Assignment getNameAssignment_2() { return cNameAssignment_2; } + + //QualifiedName + public RuleCall getNameQualifiedNameParserRuleCall_2_0() { return cNameQualifiedNameParserRuleCall_2_0; } + + //"{" + public Keyword getLeftCurlyBracketKeyword_3() { return cLeftCurlyBracketKeyword_3; } + + //inputType=[NamedElement|QualifiedName] + public Assignment getInputTypeAssignment_4() { return cInputTypeAssignment_4; } + + //[NamedElement|QualifiedName] + public CrossReference getInputTypeNamedElementCrossReference_4_0() { return cInputTypeNamedElementCrossReference_4_0; } + + //QualifiedName + public RuleCall getInputTypeNamedElementQualifiedNameParserRuleCall_4_0_1() { return cInputTypeNamedElementQualifiedNameParserRuleCall_4_0_1; } + + //"..." + public Keyword getFullStopFullStopFullStopKeyword_5() { return cFullStopFullStopFullStopKeyword_5; } + + //"}" + public Keyword getRightCurlyBracketKeyword_6() { return cRightCurlyBracketKeyword_6; } + } + public class ExternDatatypeDefinitionElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.ExternDatatypeDefinition"); + private final Group cGroup = (Group)rule.eContents().get(1); + private final Keyword cExternKeyword_0 = (Keyword)cGroup.eContents().get(0); + private final Keyword cDatatypeKeyword_1 = (Keyword)cGroup.eContents().get(1); + private final Assignment cNameAssignment_2 = (Assignment)cGroup.eContents().get(2); + private final RuleCall cNameQualifiedNameParserRuleCall_2_0 = (RuleCall)cNameAssignment_2.eContents().get(0); + private final Group cGroup_3 = (Group)cGroup.eContents().get(3); + private final Keyword cExtendsKeyword_3_0 = (Keyword)cGroup_3.eContents().get(0); + private final Assignment cSupertypesAssignment_3_1 = (Assignment)cGroup_3.eContents().get(1); + private final CrossReference cSupertypesNamedElementCrossReference_3_1_0 = (CrossReference)cSupertypesAssignment_3_1.eContents().get(0); + private final RuleCall cSupertypesNamedElementQualifiedNameParserRuleCall_3_1_0_1 = (RuleCall)cSupertypesNamedElementCrossReference_3_1_0.eContents().get(1); + private final Group cGroup_3_2 = (Group)cGroup_3.eContents().get(2); + private final Keyword cCommaKeyword_3_2_0 = (Keyword)cGroup_3_2.eContents().get(0); + private final Assignment cSupertypesAssignment_3_2_1 = (Assignment)cGroup_3_2.eContents().get(1); + private final CrossReference cSupertypesNamedElementCrossReference_3_2_1_0 = (CrossReference)cSupertypesAssignment_3_2_1.eContents().get(0); + private final RuleCall cSupertypesNamedElementQualifiedNameParserRuleCall_3_2_1_0_1 = (RuleCall)cSupertypesNamedElementCrossReference_3_2_1_0.eContents().get(1); + + //ExternDatatypeDefinition: + // "extern" "datatype" name=QualifiedName ("extends" supertypes+=[NamedElement|QualifiedName] ("," + // supertypes+=[NamedElement|QualifiedName])*); + @Override public ParserRule getRule() { return rule; } + + //"extern" "datatype" name=QualifiedName ("extends" supertypes+=[NamedElement|QualifiedName] ("," + //supertypes+=[NamedElement|QualifiedName])*) + public Group getGroup() { return cGroup; } + + //"extern" + public Keyword getExternKeyword_0() { return cExternKeyword_0; } + + //"datatype" + public Keyword getDatatypeKeyword_1() { return cDatatypeKeyword_1; } + + //name=QualifiedName + public Assignment getNameAssignment_2() { return cNameAssignment_2; } + + //QualifiedName + public RuleCall getNameQualifiedNameParserRuleCall_2_0() { return cNameQualifiedNameParserRuleCall_2_0; } + + //("extends" supertypes+=[NamedElement|QualifiedName] ("," supertypes+=[NamedElement|QualifiedName])*) + public Group getGroup_3() { return cGroup_3; } + + //"extends" + public Keyword getExtendsKeyword_3_0() { return cExtendsKeyword_3_0; } + + //supertypes+=[NamedElement|QualifiedName] + public Assignment getSupertypesAssignment_3_1() { return cSupertypesAssignment_3_1; } + + //[NamedElement|QualifiedName] + public CrossReference getSupertypesNamedElementCrossReference_3_1_0() { return cSupertypesNamedElementCrossReference_3_1_0; } + + //QualifiedName + public RuleCall getSupertypesNamedElementQualifiedNameParserRuleCall_3_1_0_1() { return cSupertypesNamedElementQualifiedNameParserRuleCall_3_1_0_1; } + + //("," supertypes+=[NamedElement|QualifiedName])* + public Group getGroup_3_2() { return cGroup_3_2; } + + //"," + public Keyword getCommaKeyword_3_2_0() { return cCommaKeyword_3_2_0; } + + //supertypes+=[NamedElement|QualifiedName] + public Assignment getSupertypesAssignment_3_2_1() { return cSupertypesAssignment_3_2_1; } + + //[NamedElement|QualifiedName] + public CrossReference getSupertypesNamedElementCrossReference_3_2_1_0() { return cSupertypesNamedElementCrossReference_3_2_1_0; } + + //QualifiedName + public RuleCall getSupertypesNamedElementQualifiedNameParserRuleCall_3_2_1_0_1() { return cSupertypesNamedElementQualifiedNameParserRuleCall_3_2_1_0_1; } + } + public class VariableElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.Variable"); + private final Group cGroup = (Group)rule.eContents().get(1); + private final Assignment cTypeAssignment_0 = (Assignment)cGroup.eContents().get(0); + private final CrossReference cTypeNamedElementCrossReference_0_0 = (CrossReference)cTypeAssignment_0.eContents().get(0); + private final RuleCall cTypeNamedElementQualifiedNameParserRuleCall_0_0_1 = (RuleCall)cTypeNamedElementCrossReference_0_0.eContents().get(1); + private final Assignment cNameAssignment_1 = (Assignment)cGroup.eContents().get(1); + private final RuleCall cNameIDTerminalRuleCall_1_0 = (RuleCall)cNameAssignment_1.eContents().get(0); + + //Variable: + // type=[NamedElement|QualifiedName]? name=ID; + @Override public ParserRule getRule() { return rule; } + + //type=[NamedElement|QualifiedName]? name=ID + public Group getGroup() { return cGroup; } + + //type=[NamedElement|QualifiedName]? + public Assignment getTypeAssignment_0() { return cTypeAssignment_0; } + + //[NamedElement|QualifiedName] + public CrossReference getTypeNamedElementCrossReference_0_0() { return cTypeNamedElementCrossReference_0_0; } + + //QualifiedName + public RuleCall getTypeNamedElementQualifiedNameParserRuleCall_0_0_1() { return cTypeNamedElementQualifiedNameParserRuleCall_0_0_1; } + + //name=ID + public Assignment getNameAssignment_1() { return cNameAssignment_1; } + + //ID + public RuleCall getNameIDTerminalRuleCall_1_0() { return cNameIDTerminalRuleCall_1_0; } } public class ExpressionElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.Expression"); private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); private final RuleCall cIfElseParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); - private final RuleCall cDisjunctiveExpressionParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); + private final RuleCall cLetParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); + private final RuleCall cImplicationExpressionParserRuleCall_2 = (RuleCall)cAlternatives.eContents().get(2); //Expression: - // IfElse | DisjunctiveExpression; + // IfElse | Let | ImplicationExpression; @Override public ParserRule getRule() { return rule; } - //IfElse | DisjunctiveExpression + //IfElse | Let | ImplicationExpression public Alternatives getAlternatives() { return cAlternatives; } //IfElse public RuleCall getIfElseParserRuleCall_0() { return cIfElseParserRuleCall_0; } - //DisjunctiveExpression - public RuleCall getDisjunctiveExpressionParserRuleCall_1() { return cDisjunctiveExpressionParserRuleCall_1; } + //Let + public RuleCall getLetParserRuleCall_1() { return cLetParserRuleCall_1; } + + //ImplicationExpression + public RuleCall getImplicationExpressionParserRuleCall_2() { return cImplicationExpressionParserRuleCall_2; } } public class IfElseElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.IfElse"); @@ -497,6 +688,127 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder { //Expression public RuleCall getElseExpressionParserRuleCall_5_0() { return cElseExpressionParserRuleCall_5_0; } } + public class LetElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.Let"); + private final Group cGroup = (Group)rule.eContents().get(1); + private final Keyword cLetKeyword_0 = (Keyword)cGroup.eContents().get(0); + private final Assignment cBindingsAssignment_1 = (Assignment)cGroup.eContents().get(1); + private final RuleCall cBindingsLetBindingParserRuleCall_1_0 = (RuleCall)cBindingsAssignment_1.eContents().get(0); + private final Group cGroup_2 = (Group)cGroup.eContents().get(2); + private final Keyword cCommaKeyword_2_0 = (Keyword)cGroup_2.eContents().get(0); + private final Assignment cBindingsAssignment_2_1 = (Assignment)cGroup_2.eContents().get(1); + private final RuleCall cBindingsLetBindingParserRuleCall_2_1_0 = (RuleCall)cBindingsAssignment_2_1.eContents().get(0); + private final Keyword cInKeyword_3 = (Keyword)cGroup.eContents().get(3); + private final Assignment cBodyAssignment_4 = (Assignment)cGroup.eContents().get(4); + private final RuleCall cBodyExpressionParserRuleCall_4_0 = (RuleCall)cBodyAssignment_4.eContents().get(0); + + //Let: + // "let" bindings+=LetBinding ("," bindings+=LetBinding)* "in" body=Expression; + @Override public ParserRule getRule() { return rule; } + + //"let" bindings+=LetBinding ("," bindings+=LetBinding)* "in" body=Expression + public Group getGroup() { return cGroup; } + + //"let" + public Keyword getLetKeyword_0() { return cLetKeyword_0; } + + //bindings+=LetBinding + public Assignment getBindingsAssignment_1() { return cBindingsAssignment_1; } + + //LetBinding + public RuleCall getBindingsLetBindingParserRuleCall_1_0() { return cBindingsLetBindingParserRuleCall_1_0; } + + //("," bindings+=LetBinding)* + public Group getGroup_2() { return cGroup_2; } + + //"," + public Keyword getCommaKeyword_2_0() { return cCommaKeyword_2_0; } + + //bindings+=LetBinding + public Assignment getBindingsAssignment_2_1() { return cBindingsAssignment_2_1; } + + //LetBinding + public RuleCall getBindingsLetBindingParserRuleCall_2_1_0() { return cBindingsLetBindingParserRuleCall_2_1_0; } + + //"in" + public Keyword getInKeyword_3() { return cInKeyword_3; } + + //body=Expression + public Assignment getBodyAssignment_4() { return cBodyAssignment_4; } + + //Expression + public RuleCall getBodyExpressionParserRuleCall_4_0() { return cBodyExpressionParserRuleCall_4_0; } + } + public class LetBindingElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.LetBinding"); + private final Group cGroup = (Group)rule.eContents().get(1); + private final Assignment cVariableAssignment_0 = (Assignment)cGroup.eContents().get(0); + private final RuleCall cVariableVariableParserRuleCall_0_0 = (RuleCall)cVariableAssignment_0.eContents().get(0); + private final Keyword cEqualsSignKeyword_1 = (Keyword)cGroup.eContents().get(1); + private final Assignment cValueAssignment_2 = (Assignment)cGroup.eContents().get(2); + private final RuleCall cValueAdditiveExpressionParserRuleCall_2_0 = (RuleCall)cValueAssignment_2.eContents().get(0); + + //LetBinding: + // variable=Variable "=" value=AdditiveExpression; + @Override public ParserRule getRule() { return rule; } + + //variable=Variable "=" value=AdditiveExpression + public Group getGroup() { return cGroup; } + + //variable=Variable + public Assignment getVariableAssignment_0() { return cVariableAssignment_0; } + + //Variable + public RuleCall getVariableVariableParserRuleCall_0_0() { return cVariableVariableParserRuleCall_0_0; } + + //"=" + public Keyword getEqualsSignKeyword_1() { return cEqualsSignKeyword_1; } + + //value=AdditiveExpression + public Assignment getValueAssignment_2() { return cValueAssignment_2; } + + //AdditiveExpression + public RuleCall getValueAdditiveExpressionParserRuleCall_2_0() { return cValueAdditiveExpressionParserRuleCall_2_0; } + } + public class ImplicationExpressionElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.ImplicationExpression"); + private final Group cGroup = (Group)rule.eContents().get(1); + private final RuleCall cDisjunctiveExpressionParserRuleCall_0 = (RuleCall)cGroup.eContents().get(0); + private final Group cGroup_1 = (Group)cGroup.eContents().get(1); + private final Action cBinaryExpressionLeftAction_1_0 = (Action)cGroup_1.eContents().get(0); + private final Assignment cOpAssignment_1_1 = (Assignment)cGroup_1.eContents().get(1); + private final RuleCall cOpImplicationOperatorEnumRuleCall_1_1_0 = (RuleCall)cOpAssignment_1_1.eContents().get(0); + private final Assignment cRightAssignment_1_2 = (Assignment)cGroup_1.eContents().get(2); + private final RuleCall cRightImplicationExpressionParserRuleCall_1_2_0 = (RuleCall)cRightAssignment_1_2.eContents().get(0); + + //ImplicationExpression Expression: + // DisjunctiveExpression ({BinaryExpression.left=current} op=ImplicationOperator right=ImplicationExpression)?; + @Override public ParserRule getRule() { return rule; } + + //DisjunctiveExpression ({BinaryExpression.left=current} op=ImplicationOperator right=ImplicationExpression)? + public Group getGroup() { return cGroup; } + + //DisjunctiveExpression + public RuleCall getDisjunctiveExpressionParserRuleCall_0() { return cDisjunctiveExpressionParserRuleCall_0; } + + //({BinaryExpression.left=current} op=ImplicationOperator right=ImplicationExpression)? + public Group getGroup_1() { return cGroup_1; } + + //{BinaryExpression.left=current} + public Action getBinaryExpressionLeftAction_1_0() { return cBinaryExpressionLeftAction_1_0; } + + //op=ImplicationOperator + public Assignment getOpAssignment_1_1() { return cOpAssignment_1_1; } + + //ImplicationOperator + public RuleCall getOpImplicationOperatorEnumRuleCall_1_1_0() { return cOpImplicationOperatorEnumRuleCall_1_1_0; } + + //right=ImplicationExpression + public Assignment getRightAssignment_1_2() { return cRightAssignment_1_2; } + + //ImplicationExpression + public RuleCall getRightImplicationExpressionParserRuleCall_1_2_0() { return cRightImplicationExpressionParserRuleCall_1_2_0; } + } public class DisjunctiveExpressionElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.DisjunctiveExpression"); private final Group cGroup = (Group)rule.eContents().get(1); @@ -773,25 +1085,25 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder { public class ExponentialExpressionElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.ExponentialExpression"); private final Group cGroup = (Group)rule.eContents().get(1); - private final RuleCall cUnaryExpressionParserRuleCall_0 = (RuleCall)cGroup.eContents().get(0); + private final RuleCall cCastExpressionParserRuleCall_0 = (RuleCall)cGroup.eContents().get(0); private final Group cGroup_1 = (Group)cGroup.eContents().get(1); private final Action cBinaryExpressionLeftAction_1_0 = (Action)cGroup_1.eContents().get(0); private final Assignment cOpAssignment_1_1 = (Assignment)cGroup_1.eContents().get(1); private final RuleCall cOpExponentialOpEnumRuleCall_1_1_0 = (RuleCall)cOpAssignment_1_1.eContents().get(0); private final Assignment cRightAssignment_1_2 = (Assignment)cGroup_1.eContents().get(2); - private final RuleCall cRightExponentialExpressionParserRuleCall_1_2_0 = (RuleCall)cRightAssignment_1_2.eContents().get(0); + private final RuleCall cRightCastExpressionParserRuleCall_1_2_0 = (RuleCall)cRightAssignment_1_2.eContents().get(0); //ExponentialExpression Expression: - // UnaryExpression ({BinaryExpression.left=current} op=ExponentialOp right=ExponentialExpression)?; + // CastExpression ({BinaryExpression.left=current} op=ExponentialOp right=CastExpression)?; @Override public ParserRule getRule() { return rule; } - //UnaryExpression ({BinaryExpression.left=current} op=ExponentialOp right=ExponentialExpression)? + //CastExpression ({BinaryExpression.left=current} op=ExponentialOp right=CastExpression)? public Group getGroup() { return cGroup; } - //UnaryExpression - public RuleCall getUnaryExpressionParserRuleCall_0() { return cUnaryExpressionParserRuleCall_0; } + //CastExpression + public RuleCall getCastExpressionParserRuleCall_0() { return cCastExpressionParserRuleCall_0; } - //({BinaryExpression.left=current} op=ExponentialOp right=ExponentialExpression)? + //({BinaryExpression.left=current} op=ExponentialOp right=CastExpression)? public Group getGroup_1() { return cGroup_1; } //{BinaryExpression.left=current} @@ -803,11 +1115,50 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder { //ExponentialOp public RuleCall getOpExponentialOpEnumRuleCall_1_1_0() { return cOpExponentialOpEnumRuleCall_1_1_0; } - //right=ExponentialExpression + //right=CastExpression public Assignment getRightAssignment_1_2() { return cRightAssignment_1_2; } - //ExponentialExpression - public RuleCall getRightExponentialExpressionParserRuleCall_1_2_0() { return cRightExponentialExpressionParserRuleCall_1_2_0; } + //CastExpression + public RuleCall getRightCastExpressionParserRuleCall_1_2_0() { return cRightCastExpressionParserRuleCall_1_2_0; } + } + public class CastExpressionElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.CastExpression"); + private final Group cGroup = (Group)rule.eContents().get(1); + private final RuleCall cUnaryExpressionParserRuleCall_0 = (RuleCall)cGroup.eContents().get(0); + private final Group cGroup_1 = (Group)cGroup.eContents().get(1); + private final Action cCastExpressionBodyAction_1_0 = (Action)cGroup_1.eContents().get(0); + private final Keyword cAsKeyword_1_1 = (Keyword)cGroup_1.eContents().get(1); + private final Assignment cTypeAssignment_1_2 = (Assignment)cGroup_1.eContents().get(2); + private final CrossReference cTypeNamedElementCrossReference_1_2_0 = (CrossReference)cTypeAssignment_1_2.eContents().get(0); + private final RuleCall cTypeNamedElementQualifiedNameParserRuleCall_1_2_0_1 = (RuleCall)cTypeNamedElementCrossReference_1_2_0.eContents().get(1); + + //CastExpression Expression: + // UnaryExpression ({CastExpression.body=current} "as" type=[NamedElement|QualifiedName])?; + @Override public ParserRule getRule() { return rule; } + + //UnaryExpression ({CastExpression.body=current} "as" type=[NamedElement|QualifiedName])? + public Group getGroup() { return cGroup; } + + //UnaryExpression + public RuleCall getUnaryExpressionParserRuleCall_0() { return cUnaryExpressionParserRuleCall_0; } + + //({CastExpression.body=current} "as" type=[NamedElement|QualifiedName])? + public Group getGroup_1() { return cGroup_1; } + + //{CastExpression.body=current} + public Action getCastExpressionBodyAction_1_0() { return cCastExpressionBodyAction_1_0; } + + //"as" + public Keyword getAsKeyword_1_1() { return cAsKeyword_1_1; } + + //type=[NamedElement|QualifiedName] + public Assignment getTypeAssignment_1_2() { return cTypeAssignment_1_2; } + + //[NamedElement|QualifiedName] + public CrossReference getTypeNamedElementCrossReference_1_2_0() { return cTypeNamedElementCrossReference_1_2_0; } + + //QualifiedName + public RuleCall getTypeNamedElementQualifiedNameParserRuleCall_1_2_0_1() { return cTypeNamedElementQualifiedNameParserRuleCall_1_2_0_1; } } public class UnaryExpressionElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.UnaryExpression"); @@ -852,99 +1203,178 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.AggregationExpression"); private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); private final RuleCall cAtomicExpressionParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); - private final RuleCall cCountParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); + private final RuleCall cQuantifiedExpressionParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); private final RuleCall cAggregationParserRuleCall_2 = (RuleCall)cAlternatives.eContents().get(2); //AggregationExpression Expression: - // AtomicExpression | Count | Aggregation; + // AtomicExpression | QuantifiedExpression | Aggregation; @Override public ParserRule getRule() { return rule; } - //AtomicExpression | Count | Aggregation + //AtomicExpression | QuantifiedExpression | Aggregation public Alternatives getAlternatives() { return cAlternatives; } //AtomicExpression public RuleCall getAtomicExpressionParserRuleCall_0() { return cAtomicExpressionParserRuleCall_0; } - //Count - public RuleCall getCountParserRuleCall_1() { return cCountParserRuleCall_1; } + //QuantifiedExpression + public RuleCall getQuantifiedExpressionParserRuleCall_1() { return cQuantifiedExpressionParserRuleCall_1; } //Aggregation public RuleCall getAggregationParserRuleCall_2() { return cAggregationParserRuleCall_2; } } - public class CountElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.Count"); + public class LocalVariablesElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.LocalVariables"); private final Group cGroup = (Group)rule.eContents().get(1); - private final Keyword cCountKeyword_0 = (Keyword)cGroup.eContents().get(0); - private final Keyword cLeftCurlyBracketKeyword_1 = (Keyword)cGroup.eContents().get(1); - private final Assignment cBodyAssignment_2 = (Assignment)cGroup.eContents().get(2); - private final RuleCall cBodyExpressionParserRuleCall_2_0 = (RuleCall)cBodyAssignment_2.eContents().get(0); - private final Keyword cRightCurlyBracketKeyword_3 = (Keyword)cGroup.eContents().get(3); + private final Action cLocalVariablesAction_0 = (Action)cGroup.eContents().get(0); + private final Keyword cLeftSquareBracketKeyword_1 = (Keyword)cGroup.eContents().get(1); + private final Group cGroup_2 = (Group)cGroup.eContents().get(2); + private final Assignment cVariablesAssignment_2_0 = (Assignment)cGroup_2.eContents().get(0); + private final RuleCall cVariablesVariableParserRuleCall_2_0_0 = (RuleCall)cVariablesAssignment_2_0.eContents().get(0); + private final Group cGroup_2_1 = (Group)cGroup_2.eContents().get(1); + private final Keyword cCommaKeyword_2_1_0 = (Keyword)cGroup_2_1.eContents().get(0); + private final Assignment cVariablesAssignment_2_1_1 = (Assignment)cGroup_2_1.eContents().get(1); + private final RuleCall cVariablesVariableParserRuleCall_2_1_1_0 = (RuleCall)cVariablesAssignment_2_1_1.eContents().get(0); + private final Keyword cRightSquareBracketKeyword_3 = (Keyword)cGroup.eContents().get(3); - //Count: - // "count" "{" body=Expression "}"; + //LocalVariables: + // {LocalVariables} "[" (variables+=Variable ("," variables+=Variable)*)? "]"; @Override public ParserRule getRule() { return rule; } - //"count" "{" body=Expression "}" + //{LocalVariables} "[" (variables+=Variable ("," variables+=Variable)*)? "]" public Group getGroup() { return cGroup; } - //"count" - public Keyword getCountKeyword_0() { return cCountKeyword_0; } + //{LocalVariables} + public Action getLocalVariablesAction_0() { return cLocalVariablesAction_0; } + + //"[" + public Keyword getLeftSquareBracketKeyword_1() { return cLeftSquareBracketKeyword_1; } + + //(variables+=Variable ("," variables+=Variable)*)? + public Group getGroup_2() { return cGroup_2; } + + //variables+=Variable + public Assignment getVariablesAssignment_2_0() { return cVariablesAssignment_2_0; } + + //Variable + public RuleCall getVariablesVariableParserRuleCall_2_0_0() { return cVariablesVariableParserRuleCall_2_0_0; } + + //("," variables+=Variable)* + public Group getGroup_2_1() { return cGroup_2_1; } + + //"," + public Keyword getCommaKeyword_2_1_0() { return cCommaKeyword_2_1_0; } + + //variables+=Variable + public Assignment getVariablesAssignment_2_1_1() { return cVariablesAssignment_2_1_1; } + + //Variable + public RuleCall getVariablesVariableParserRuleCall_2_1_1_0() { return cVariablesVariableParserRuleCall_2_1_1_0; } + + //"]" + public Keyword getRightSquareBracketKeyword_3() { return cRightSquareBracketKeyword_3; } + } + public class QuantifiedExpressionElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.QuantifiedExpression"); + private final Group cGroup = (Group)rule.eContents().get(1); + private final Assignment cQuantifierAssignment_0 = (Assignment)cGroup.eContents().get(0); + private final RuleCall cQuantifierQuantifierEnumRuleCall_0_0 = (RuleCall)cQuantifierAssignment_0.eContents().get(0); + private final Assignment cLocalVariablesAssignment_1 = (Assignment)cGroup.eContents().get(1); + private final RuleCall cLocalVariablesLocalVariablesParserRuleCall_1_0 = (RuleCall)cLocalVariablesAssignment_1.eContents().get(0); + private final Keyword cLeftCurlyBracketKeyword_2 = (Keyword)cGroup.eContents().get(2); + private final Assignment cBodyAssignment_3 = (Assignment)cGroup.eContents().get(3); + private final RuleCall cBodyExpressionParserRuleCall_3_0 = (RuleCall)cBodyAssignment_3.eContents().get(0); + private final Keyword cRightCurlyBracketKeyword_4 = (Keyword)cGroup.eContents().get(4); + + //QuantifiedExpression: + // quantifier=Quantifier localVariables=LocalVariables? "{" body=Expression "}"; + @Override public ParserRule getRule() { return rule; } + + //quantifier=Quantifier localVariables=LocalVariables? "{" body=Expression "}" + public Group getGroup() { return cGroup; } + + //quantifier=Quantifier + public Assignment getQuantifierAssignment_0() { return cQuantifierAssignment_0; } + + //Quantifier + public RuleCall getQuantifierQuantifierEnumRuleCall_0_0() { return cQuantifierQuantifierEnumRuleCall_0_0; } + + //localVariables=LocalVariables? + public Assignment getLocalVariablesAssignment_1() { return cLocalVariablesAssignment_1; } + + //LocalVariables + public RuleCall getLocalVariablesLocalVariablesParserRuleCall_1_0() { return cLocalVariablesLocalVariablesParserRuleCall_1_0; } //"{" - public Keyword getLeftCurlyBracketKeyword_1() { return cLeftCurlyBracketKeyword_1; } + public Keyword getLeftCurlyBracketKeyword_2() { return cLeftCurlyBracketKeyword_2; } //body=Expression - public Assignment getBodyAssignment_2() { return cBodyAssignment_2; } + public Assignment getBodyAssignment_3() { return cBodyAssignment_3; } //Expression - public RuleCall getBodyExpressionParserRuleCall_2_0() { return cBodyExpressionParserRuleCall_2_0; } + public RuleCall getBodyExpressionParserRuleCall_3_0() { return cBodyExpressionParserRuleCall_3_0; } //"}" - public Keyword getRightCurlyBracketKeyword_3() { return cRightCurlyBracketKeyword_3; } + public Keyword getRightCurlyBracketKeyword_4() { return cRightCurlyBracketKeyword_4; } } public class AggregationElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.Aggregation"); private final Group cGroup = (Group)rule.eContents().get(1); private final Assignment cOpAssignment_0 = (Assignment)cGroup.eContents().get(0); - private final RuleCall cOpAggregationOpEnumRuleCall_0_0 = (RuleCall)cOpAssignment_0.eContents().get(0); - private final Keyword cLeftCurlyBracketKeyword_1 = (Keyword)cGroup.eContents().get(1); - private final Assignment cBodyAssignment_2 = (Assignment)cGroup.eContents().get(2); - private final RuleCall cBodyExpressionParserRuleCall_2_0 = (RuleCall)cBodyAssignment_2.eContents().get(0); - private final Keyword cVerticalLineKeyword_3 = (Keyword)cGroup.eContents().get(3); - private final Assignment cConditionAssignment_4 = (Assignment)cGroup.eContents().get(4); - private final RuleCall cConditionExpressionParserRuleCall_4_0 = (RuleCall)cConditionAssignment_4.eContents().get(0); + private final CrossReference cOpNamedElementCrossReference_0_0 = (CrossReference)cOpAssignment_0.eContents().get(0); + private final RuleCall cOpNamedElementQualifiedNameParserRuleCall_0_0_1 = (RuleCall)cOpNamedElementCrossReference_0_0.eContents().get(1); + private final Assignment cLocalVariablesAssignment_1 = (Assignment)cGroup.eContents().get(1); + private final RuleCall cLocalVariablesLocalVariablesParserRuleCall_1_0 = (RuleCall)cLocalVariablesAssignment_1.eContents().get(0); + private final Keyword cLeftCurlyBracketKeyword_2 = (Keyword)cGroup.eContents().get(2); + private final Assignment cBodyAssignment_3 = (Assignment)cGroup.eContents().get(3); + private final RuleCall cBodyExpressionParserRuleCall_3_0 = (RuleCall)cBodyAssignment_3.eContents().get(0); + private final Group cGroup_4 = (Group)cGroup.eContents().get(4); + private final Keyword cVerticalLineKeyword_4_0 = (Keyword)cGroup_4.eContents().get(0); + private final Assignment cConditionAssignment_4_1 = (Assignment)cGroup_4.eContents().get(1); + private final RuleCall cConditionExpressionParserRuleCall_4_1_0 = (RuleCall)cConditionAssignment_4_1.eContents().get(0); private final Keyword cRightCurlyBracketKeyword_5 = (Keyword)cGroup.eContents().get(5); //Aggregation: - // op=AggregationOp "{" body=Expression "|" condition=Expression "}"; + // op=[NamedElement|QualifiedName] localVariables=LocalVariables? "{" body=Expression ("|" condition=Expression)? "}"; @Override public ParserRule getRule() { return rule; } - //op=AggregationOp "{" body=Expression "|" condition=Expression "}" + //op=[NamedElement|QualifiedName] localVariables=LocalVariables? "{" body=Expression ("|" condition=Expression)? "}" public Group getGroup() { return cGroup; } - //op=AggregationOp + //op=[NamedElement|QualifiedName] public Assignment getOpAssignment_0() { return cOpAssignment_0; } - //AggregationOp - public RuleCall getOpAggregationOpEnumRuleCall_0_0() { return cOpAggregationOpEnumRuleCall_0_0; } + //[NamedElement|QualifiedName] + public CrossReference getOpNamedElementCrossReference_0_0() { return cOpNamedElementCrossReference_0_0; } + + //QualifiedName + public RuleCall getOpNamedElementQualifiedNameParserRuleCall_0_0_1() { return cOpNamedElementQualifiedNameParserRuleCall_0_0_1; } + + //localVariables=LocalVariables? + public Assignment getLocalVariablesAssignment_1() { return cLocalVariablesAssignment_1; } + + //LocalVariables + public RuleCall getLocalVariablesLocalVariablesParserRuleCall_1_0() { return cLocalVariablesLocalVariablesParserRuleCall_1_0; } //"{" - public Keyword getLeftCurlyBracketKeyword_1() { return cLeftCurlyBracketKeyword_1; } + public Keyword getLeftCurlyBracketKeyword_2() { return cLeftCurlyBracketKeyword_2; } //body=Expression - public Assignment getBodyAssignment_2() { return cBodyAssignment_2; } + public Assignment getBodyAssignment_3() { return cBodyAssignment_3; } //Expression - public RuleCall getBodyExpressionParserRuleCall_2_0() { return cBodyExpressionParserRuleCall_2_0; } + public RuleCall getBodyExpressionParserRuleCall_3_0() { return cBodyExpressionParserRuleCall_3_0; } + + //("|" condition=Expression)? + public Group getGroup_4() { return cGroup_4; } //"|" - public Keyword getVerticalLineKeyword_3() { return cVerticalLineKeyword_3; } + public Keyword getVerticalLineKeyword_4_0() { return cVerticalLineKeyword_4_0; } //condition=Expression - public Assignment getConditionAssignment_4() { return cConditionAssignment_4; } + public Assignment getConditionAssignment_4_1() { return cConditionAssignment_4_1; } //Expression - public RuleCall getConditionExpressionParserRuleCall_4_0() { return cConditionExpressionParserRuleCall_4_0; } + public RuleCall getConditionExpressionParserRuleCall_4_1_0() { return cConditionExpressionParserRuleCall_4_1_0; } //"}" public Keyword getRightCurlyBracketKeyword_5() { return cRightCurlyBracketKeyword_5; } @@ -2018,155 +2448,21 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder { //QUOTED_ID public RuleCall getQUOTED_IDTerminalRuleCall_1() { return cQUOTED_IDTerminalRuleCall_1; } } - public class NamedElementElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.NamedElement"); - private final Assignment cNameAssignment = (Assignment)rule.eContents().get(1); - private final RuleCall cNameQualifiedNameParserRuleCall_0 = (RuleCall)cNameAssignment.eContents().get(0); - - //NamedElement: - // name=QualifiedName; - @Override public ParserRule getRule() { return rule; } - - //name=QualifiedName - public Assignment getNameAssignment() { return cNameAssignment; } - - //QualifiedName - public RuleCall getNameQualifiedNameParserRuleCall_0() { return cNameQualifiedNameParserRuleCall_0; } - } - public class MetricTypeElements extends AbstractEnumRuleElementFinder { - private final EnumRule rule = (EnumRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.MetricType"); - private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); - private final EnumLiteralDeclaration cINTEnumLiteralDeclaration_0 = (EnumLiteralDeclaration)cAlternatives.eContents().get(0); - private final Keyword cINTIntKeyword_0_0 = (Keyword)cINTEnumLiteralDeclaration_0.eContents().get(0); - private final EnumLiteralDeclaration cREALEnumLiteralDeclaration_1 = (EnumLiteralDeclaration)cAlternatives.eContents().get(1); - private final Keyword cREALRealKeyword_1_0 = (Keyword)cREALEnumLiteralDeclaration_1.eContents().get(0); + public class ImplicationOperatorElements extends AbstractEnumRuleElementFinder { + private final EnumRule rule = (EnumRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.ImplicationOperator"); + private final EnumLiteralDeclaration cIMPLIESEnumLiteralDeclaration = (EnumLiteralDeclaration)rule.eContents().get(1); + private final Keyword cIMPLIESEqualsSignGreaterThanSignKeyword_0 = (Keyword)cIMPLIESEnumLiteralDeclaration.eContents().get(0); - //enum MetricType: - // INT="int" | REAL="real"; + //enum ImplicationOperator returns BinaryOperator: + // IMPLIES="=>"; public EnumRule getRule() { return rule; } - //INT="int" | REAL="real" - public Alternatives getAlternatives() { return cAlternatives; } - - //INT="int" - public EnumLiteralDeclaration getINTEnumLiteralDeclaration_0() { return cINTEnumLiteralDeclaration_0; } - - //"int" - public Keyword getINTIntKeyword_0_0() { return cINTIntKeyword_0_0; } + //IMPLIES="=>" + public EnumLiteralDeclaration getIMPLIESEnumLiteralDeclaration() { return cIMPLIESEnumLiteralDeclaration; } - //REAL="real" - public EnumLiteralDeclaration getREALEnumLiteralDeclaration_1() { return cREALEnumLiteralDeclaration_1; } - - //"real" - public Keyword getREALRealKeyword_1_0() { return cREALRealKeyword_1_0; } - } - public class BinaryOperatorElements extends AbstractEnumRuleElementFinder { - private final EnumRule rule = (EnumRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.BinaryOperator"); - private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); - private final EnumLiteralDeclaration cEQEnumLiteralDeclaration_0 = (EnumLiteralDeclaration)cAlternatives.eContents().get(0); - private final Keyword cEQEQKeyword_0_0 = (Keyword)cEQEnumLiteralDeclaration_0.eContents().get(0); - private final EnumLiteralDeclaration cNOT_EQEnumLiteralDeclaration_1 = (EnumLiteralDeclaration)cAlternatives.eContents().get(1); - private final Keyword cNOT_EQNOT_EQKeyword_1_0 = (Keyword)cNOT_EQEnumLiteralDeclaration_1.eContents().get(0); - private final EnumLiteralDeclaration cLESSEnumLiteralDeclaration_2 = (EnumLiteralDeclaration)cAlternatives.eContents().get(2); - private final Keyword cLESSLESSKeyword_2_0 = (Keyword)cLESSEnumLiteralDeclaration_2.eContents().get(0); - private final EnumLiteralDeclaration cLESS_EQEnumLiteralDeclaration_3 = (EnumLiteralDeclaration)cAlternatives.eContents().get(3); - private final Keyword cLESS_EQLESS_EQKeyword_3_0 = (Keyword)cLESS_EQEnumLiteralDeclaration_3.eContents().get(0); - private final EnumLiteralDeclaration cGREATEREnumLiteralDeclaration_4 = (EnumLiteralDeclaration)cAlternatives.eContents().get(4); - private final Keyword cGREATERGREATERKeyword_4_0 = (Keyword)cGREATEREnumLiteralDeclaration_4.eContents().get(0); - private final EnumLiteralDeclaration cGREATER_EQEnumLiteralDeclaration_5 = (EnumLiteralDeclaration)cAlternatives.eContents().get(5); - private final Keyword cGREATER_EQGREATER_EQKeyword_5_0 = (Keyword)cGREATER_EQEnumLiteralDeclaration_5.eContents().get(0); - private final EnumLiteralDeclaration cINEnumLiteralDeclaration_6 = (EnumLiteralDeclaration)cAlternatives.eContents().get(6); - private final Keyword cININKeyword_6_0 = (Keyword)cINEnumLiteralDeclaration_6.eContents().get(0); - private final EnumLiteralDeclaration cADDEnumLiteralDeclaration_7 = (EnumLiteralDeclaration)cAlternatives.eContents().get(7); - private final Keyword cADDADDKeyword_7_0 = (Keyword)cADDEnumLiteralDeclaration_7.eContents().get(0); - private final EnumLiteralDeclaration cSUBEnumLiteralDeclaration_8 = (EnumLiteralDeclaration)cAlternatives.eContents().get(8); - private final Keyword cSUBSUBKeyword_8_0 = (Keyword)cSUBEnumLiteralDeclaration_8.eContents().get(0); - private final EnumLiteralDeclaration cMULEnumLiteralDeclaration_9 = (EnumLiteralDeclaration)cAlternatives.eContents().get(9); - private final Keyword cMULMULKeyword_9_0 = (Keyword)cMULEnumLiteralDeclaration_9.eContents().get(0); - private final EnumLiteralDeclaration cDIVEnumLiteralDeclaration_10 = (EnumLiteralDeclaration)cAlternatives.eContents().get(10); - private final Keyword cDIVDIVKeyword_10_0 = (Keyword)cDIVEnumLiteralDeclaration_10.eContents().get(0); - private final EnumLiteralDeclaration cPOWEnumLiteralDeclaration_11 = (EnumLiteralDeclaration)cAlternatives.eContents().get(11); - private final Keyword cPOWPOWKeyword_11_0 = (Keyword)cPOWEnumLiteralDeclaration_11.eContents().get(0); - - //enum BinaryOperator: - // EQ | NOT_EQ | LESS | LESS_EQ | GREATER | GREATER_EQ | IN | ADD | SUB | MUL | DIV | POW; - public EnumRule getRule() { return rule; } - - //EQ | NOT_EQ | LESS | LESS_EQ | GREATER | GREATER_EQ | IN | ADD | SUB | MUL | DIV | POW - public Alternatives getAlternatives() { return cAlternatives; } - - //EQ - public EnumLiteralDeclaration getEQEnumLiteralDeclaration_0() { return cEQEnumLiteralDeclaration_0; } - - //"EQ" - public Keyword getEQEQKeyword_0_0() { return cEQEQKeyword_0_0; } - - //NOT_EQ - public EnumLiteralDeclaration getNOT_EQEnumLiteralDeclaration_1() { return cNOT_EQEnumLiteralDeclaration_1; } - - //"NOT_EQ" - public Keyword getNOT_EQNOT_EQKeyword_1_0() { return cNOT_EQNOT_EQKeyword_1_0; } - - //LESS - public EnumLiteralDeclaration getLESSEnumLiteralDeclaration_2() { return cLESSEnumLiteralDeclaration_2; } - - //"LESS" - public Keyword getLESSLESSKeyword_2_0() { return cLESSLESSKeyword_2_0; } - - //LESS_EQ - public EnumLiteralDeclaration getLESS_EQEnumLiteralDeclaration_3() { return cLESS_EQEnumLiteralDeclaration_3; } - - //"LESS_EQ" - public Keyword getLESS_EQLESS_EQKeyword_3_0() { return cLESS_EQLESS_EQKeyword_3_0; } - - //GREATER - public EnumLiteralDeclaration getGREATEREnumLiteralDeclaration_4() { return cGREATEREnumLiteralDeclaration_4; } - - //"GREATER" - public Keyword getGREATERGREATERKeyword_4_0() { return cGREATERGREATERKeyword_4_0; } - - //GREATER_EQ - public EnumLiteralDeclaration getGREATER_EQEnumLiteralDeclaration_5() { return cGREATER_EQEnumLiteralDeclaration_5; } - - //"GREATER_EQ" - public Keyword getGREATER_EQGREATER_EQKeyword_5_0() { return cGREATER_EQGREATER_EQKeyword_5_0; } - - //IN - public EnumLiteralDeclaration getINEnumLiteralDeclaration_6() { return cINEnumLiteralDeclaration_6; } - - //"IN" - public Keyword getININKeyword_6_0() { return cININKeyword_6_0; } - - //ADD - public EnumLiteralDeclaration getADDEnumLiteralDeclaration_7() { return cADDEnumLiteralDeclaration_7; } - - //"ADD" - public Keyword getADDADDKeyword_7_0() { return cADDADDKeyword_7_0; } - - //SUB - public EnumLiteralDeclaration getSUBEnumLiteralDeclaration_8() { return cSUBEnumLiteralDeclaration_8; } - - //"SUB" - public Keyword getSUBSUBKeyword_8_0() { return cSUBSUBKeyword_8_0; } - - //MUL - public EnumLiteralDeclaration getMULEnumLiteralDeclaration_9() { return cMULEnumLiteralDeclaration_9; } - - //"MUL" - public Keyword getMULMULKeyword_9_0() { return cMULMULKeyword_9_0; } - - //DIV - public EnumLiteralDeclaration getDIVEnumLiteralDeclaration_10() { return cDIVEnumLiteralDeclaration_10; } - - //"DIV" - public Keyword getDIVDIVKeyword_10_0() { return cDIVDIVKeyword_10_0; } - - //POW - public EnumLiteralDeclaration getPOWEnumLiteralDeclaration_11() { return cPOWEnumLiteralDeclaration_11; } - - //"POW" - public Keyword getPOWPOWKeyword_11_0() { return cPOWPOWKeyword_11_0; } + //"=>" + public Keyword getIMPLIESEqualsSignGreaterThanSignKeyword_0() { return cIMPLIESEqualsSignGreaterThanSignKeyword_0; } } public class ComparisonOperatorElements extends AbstractEnumRuleElementFinder { private final EnumRule rule = (EnumRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.ComparisonOperator"); @@ -2363,64 +2659,40 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder { //"current" public Keyword getCURRENTCurrentKeyword_5_0() { return cCURRENTCurrentKeyword_5_0; } } - public class AggregationOpElements extends AbstractEnumRuleElementFinder { - private final EnumRule rule = (EnumRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.AggregationOp"); + public class QuantifierElements extends AbstractEnumRuleElementFinder { + private final EnumRule rule = (EnumRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.Quantifier"); private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); - private final EnumLiteralDeclaration cONLYEnumLiteralDeclaration_0 = (EnumLiteralDeclaration)cAlternatives.eContents().get(0); - private final Keyword cONLYOnlyKeyword_0_0 = (Keyword)cONLYEnumLiteralDeclaration_0.eContents().get(0); - private final EnumLiteralDeclaration cSUMEnumLiteralDeclaration_1 = (EnumLiteralDeclaration)cAlternatives.eContents().get(1); - private final Keyword cSUMSumKeyword_1_0 = (Keyword)cSUMEnumLiteralDeclaration_1.eContents().get(0); - private final EnumLiteralDeclaration cPRODEnumLiteralDeclaration_2 = (EnumLiteralDeclaration)cAlternatives.eContents().get(2); - private final Keyword cPRODProdKeyword_2_0 = (Keyword)cPRODEnumLiteralDeclaration_2.eContents().get(0); - private final EnumLiteralDeclaration cAVGEnumLiteralDeclaration_3 = (EnumLiteralDeclaration)cAlternatives.eContents().get(3); - private final Keyword cAVGAvgKeyword_3_0 = (Keyword)cAVGEnumLiteralDeclaration_3.eContents().get(0); - private final EnumLiteralDeclaration cMINEnumLiteralDeclaration_4 = (EnumLiteralDeclaration)cAlternatives.eContents().get(4); - private final Keyword cMINMinKeyword_4_0 = (Keyword)cMINEnumLiteralDeclaration_4.eContents().get(0); - private final EnumLiteralDeclaration cMAXEnumLiteralDeclaration_5 = (EnumLiteralDeclaration)cAlternatives.eContents().get(5); - private final Keyword cMAXMaxKeyword_5_0 = (Keyword)cMAXEnumLiteralDeclaration_5.eContents().get(0); - - //enum AggregationOp: - // ONLY="only" | SUM="sum" | PROD="prod" | AVG="avg" | MIN="min" | MAX="max"; + private final EnumLiteralDeclaration cEXISTSEnumLiteralDeclaration_0 = (EnumLiteralDeclaration)cAlternatives.eContents().get(0); + private final Keyword cEXISTSExistsKeyword_0_0 = (Keyword)cEXISTSEnumLiteralDeclaration_0.eContents().get(0); + private final EnumLiteralDeclaration cFORALLEnumLiteralDeclaration_1 = (EnumLiteralDeclaration)cAlternatives.eContents().get(1); + private final Keyword cFORALLForallKeyword_1_0 = (Keyword)cFORALLEnumLiteralDeclaration_1.eContents().get(0); + private final EnumLiteralDeclaration cCOUNTEnumLiteralDeclaration_2 = (EnumLiteralDeclaration)cAlternatives.eContents().get(2); + private final Keyword cCOUNTCountKeyword_2_0 = (Keyword)cCOUNTEnumLiteralDeclaration_2.eContents().get(0); + + //enum Quantifier: + // EXISTS="exists" | FORALL="forall" | COUNT="count"; public EnumRule getRule() { return rule; } - //ONLY="only" | SUM="sum" | PROD="prod" | AVG="avg" | MIN="min" | MAX="max" + //EXISTS="exists" | FORALL="forall" | COUNT="count" public Alternatives getAlternatives() { return cAlternatives; } - //ONLY="only" - public EnumLiteralDeclaration getONLYEnumLiteralDeclaration_0() { return cONLYEnumLiteralDeclaration_0; } - - //"only" - public Keyword getONLYOnlyKeyword_0_0() { return cONLYOnlyKeyword_0_0; } + //EXISTS="exists" + public EnumLiteralDeclaration getEXISTSEnumLiteralDeclaration_0() { return cEXISTSEnumLiteralDeclaration_0; } - //SUM="sum" - public EnumLiteralDeclaration getSUMEnumLiteralDeclaration_1() { return cSUMEnumLiteralDeclaration_1; } + //"exists" + public Keyword getEXISTSExistsKeyword_0_0() { return cEXISTSExistsKeyword_0_0; } - //"sum" - public Keyword getSUMSumKeyword_1_0() { return cSUMSumKeyword_1_0; } + //FORALL="forall" + public EnumLiteralDeclaration getFORALLEnumLiteralDeclaration_1() { return cFORALLEnumLiteralDeclaration_1; } - //PROD="prod" - public EnumLiteralDeclaration getPRODEnumLiteralDeclaration_2() { return cPRODEnumLiteralDeclaration_2; } + //"forall" + public Keyword getFORALLForallKeyword_1_0() { return cFORALLForallKeyword_1_0; } - //"prod" - public Keyword getPRODProdKeyword_2_0() { return cPRODProdKeyword_2_0; } + //COUNT="count" + public EnumLiteralDeclaration getCOUNTEnumLiteralDeclaration_2() { return cCOUNTEnumLiteralDeclaration_2; } - //AVG="avg" - public EnumLiteralDeclaration getAVGEnumLiteralDeclaration_3() { return cAVGEnumLiteralDeclaration_3; } - - //"avg" - public Keyword getAVGAvgKeyword_3_0() { return cAVGAvgKeyword_3_0; } - - //MIN="min" - public EnumLiteralDeclaration getMINEnumLiteralDeclaration_4() { return cMINEnumLiteralDeclaration_4; } - - //"min" - public Keyword getMINMinKeyword_4_0() { return cMINMinKeyword_4_0; } - - //MAX="max" - public EnumLiteralDeclaration getMAXEnumLiteralDeclaration_5() { return cMAXEnumLiteralDeclaration_5; } - - //"max" - public Keyword getMAXMaxKeyword_5_0() { return cMAXMaxKeyword_5_0; } + //"count" + public Keyword getCOUNTCountKeyword_2_0() { return cCOUNTCountKeyword_2_0; } } public class LogicValueElements extends AbstractEnumRuleElementFinder { private final EnumRule rule = (EnumRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.LogicValue"); @@ -2499,16 +2771,21 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder { private final PredicateDefinitionElements pPredicateDefinition; private final UnnamedErrorPrediateDefinitionElements pUnnamedErrorPrediateDefinition; private final DefaultDefinitionElements pDefaultDefinition; - private final ExternPredicateDefinitionElements pExternPredicateDefinition; - private final MetricTypeElements eMetricType; private final MetricDefinitionElements pMetricDefinition; + private final ExternPredicateDefinitionElements pExternPredicateDefinition; private final ExternMetricDefinitionElements pExternMetricDefinition; + private final ExternAggregatorDefinitionElements pExternAggregatorDefinition; + private final ExternDatatypeDefinitionElements pExternDatatypeDefinition; + private final VariableElements pVariable; private final ExpressionElements pExpression; private final IfElseElements pIfElse; + private final LetElements pLet; + private final LetBindingElements pLetBinding; + private final ImplicationOperatorElements eImplicationOperator; + private final ImplicationExpressionElements pImplicationExpression; private final DisjunctiveExpressionElements pDisjunctiveExpression; private final CaseElements pCase; private final ConjunctiveExpressionElements pConjunctiveExpression; - private final BinaryOperatorElements eBinaryOperator; private final ComparisonOperatorElements eComparisonOperator; private final ComparisonExpressionElements pComparisonExpression; private final AdditiveBinaryOperatorElements eAdditiveBinaryOperator; @@ -2517,11 +2794,13 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder { private final MultiplicativeExpressionElements pMultiplicativeExpression; private final ExponentialOpElements eExponentialOp; private final ExponentialExpressionElements pExponentialExpression; + private final CastExpressionElements pCastExpression; private final UnaryOpElements eUnaryOp; private final UnaryExpressionElements pUnaryExpression; private final AggregationExpressionElements pAggregationExpression; - private final CountElements pCount; - private final AggregationOpElements eAggregationOp; + private final LocalVariablesElements pLocalVariables; + private final QuantifierElements eQuantifier; + private final QuantifiedExpressionElements pQuantifiedExpression; private final AggregationElements pAggregation; private final AtomicExpressionElements pAtomicExpression; private final CallElements pCall; @@ -2561,7 +2840,6 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder { private final TerminalRule tTRANSITIVE_CLOSURE; private final TerminalRule tREFLEXIVE_TRANSITIVE_CLOSURE; private final TerminalRule tFULL_STOP; - private final NamedElementElements pNamedElement; private final Grammar grammar; @@ -2578,16 +2856,21 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder { this.pPredicateDefinition = new PredicateDefinitionElements(); this.pUnnamedErrorPrediateDefinition = new UnnamedErrorPrediateDefinitionElements(); this.pDefaultDefinition = new DefaultDefinitionElements(); - this.pExternPredicateDefinition = new ExternPredicateDefinitionElements(); - this.eMetricType = new MetricTypeElements(); this.pMetricDefinition = new MetricDefinitionElements(); + this.pExternPredicateDefinition = new ExternPredicateDefinitionElements(); this.pExternMetricDefinition = new ExternMetricDefinitionElements(); + this.pExternAggregatorDefinition = new ExternAggregatorDefinitionElements(); + this.pExternDatatypeDefinition = new ExternDatatypeDefinitionElements(); + this.pVariable = new VariableElements(); this.pExpression = new ExpressionElements(); this.pIfElse = new IfElseElements(); + this.pLet = new LetElements(); + this.pLetBinding = new LetBindingElements(); + this.eImplicationOperator = new ImplicationOperatorElements(); + this.pImplicationExpression = new ImplicationExpressionElements(); this.pDisjunctiveExpression = new DisjunctiveExpressionElements(); this.pCase = new CaseElements(); this.pConjunctiveExpression = new ConjunctiveExpressionElements(); - this.eBinaryOperator = new BinaryOperatorElements(); this.eComparisonOperator = new ComparisonOperatorElements(); this.pComparisonExpression = new ComparisonExpressionElements(); this.eAdditiveBinaryOperator = new AdditiveBinaryOperatorElements(); @@ -2596,11 +2879,13 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder { this.pMultiplicativeExpression = new MultiplicativeExpressionElements(); this.eExponentialOp = new ExponentialOpElements(); this.pExponentialExpression = new ExponentialExpressionElements(); + this.pCastExpression = new CastExpressionElements(); this.eUnaryOp = new UnaryOpElements(); this.pUnaryExpression = new UnaryExpressionElements(); this.pAggregationExpression = new AggregationExpressionElements(); - this.pCount = new CountElements(); - this.eAggregationOp = new AggregationOpElements(); + this.pLocalVariables = new LocalVariablesElements(); + this.eQuantifier = new QuantifierElements(); + this.pQuantifiedExpression = new QuantifiedExpressionElements(); this.pAggregation = new AggregationElements(); this.pAtomicExpression = new AtomicExpressionElements(); this.pCall = new CallElements(); @@ -2640,7 +2925,6 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder { this.tTRANSITIVE_CLOSURE = (TerminalRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.TRANSITIVE_CLOSURE"); this.tREFLEXIVE_TRANSITIVE_CLOSURE = (TerminalRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.REFLEXIVE_TRANSITIVE_CLOSURE"); this.tFULL_STOP = (TerminalRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.FULL_STOP"); - this.pNamedElement = new NamedElementElements(); } protected Grammar internalFindGrammar(GrammarProvider grammarProvider) { @@ -2681,9 +2965,9 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder { } //Statement: - // (AssertionOrDefinition | PredicateDefinition | UnnamedErrorPrediateDefinition | DefaultDefinition | - // ExternPredicateDefinition | MetricDefinition | ExternMetricDefinition | ClassDefinition | ScopeDefinition | - // ObjectiveDefinition) FULL_STOP; + // (AssertionOrDefinition | PredicateDefinition | UnnamedErrorPrediateDefinition | DefaultDefinition | MetricDefinition + // | ExternPredicateDefinition | ExternMetricDefinition | ExternAggregatorDefinition | ExternDatatypeDefinition | + // ClassDefinition | ScopeDefinition | ObjectiveDefinition) FULL_STOP; public StatementElements getStatementAccess() { return pStatement; } @@ -2693,8 +2977,8 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder { } //AssertionOrDefinition Statement: - // Expression ({Assertion.body=current} (":" range=Expression)? | {PredicateDefinition.head=current} ":-" - // body=Expression | {MetricDefinition.head=current} "=" body=Expression); + // Expression ({Interpretation.body=current} ":" range=Expression | {PredicateDefinition.head=current} ":-" + // body=Expression | {MetricDefinition.head=current} "=" body=Expression)?; public AssertionOrDefinitionElements getAssertionOrDefinitionAccess() { return pAssertionOrDefinition; } @@ -2733,8 +3017,18 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder { return getDefaultDefinitionAccess().getRule(); } + //MetricDefinition: + // type=[NamedElement|QualifiedName] head=Call "=" body=Expression; + public MetricDefinitionElements getMetricDefinitionAccess() { + return pMetricDefinition; + } + + public ParserRule getMetricDefinitionRule() { + return getMetricDefinitionAccess().getRule(); + } + //ExternPredicateDefinition: - // "extern" head=Call; + // "extern" name=QualifiedName argumentList=ArgumentList; public ExternPredicateDefinitionElements getExternPredicateDefinitionAccess() { return pExternPredicateDefinition; } @@ -2743,38 +3037,49 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder { return getExternPredicateDefinitionAccess().getRule(); } - //enum MetricType: - // INT="int" | REAL="real"; - public MetricTypeElements getMetricTypeAccess() { - return eMetricType; + //ExternMetricDefinition: + // "extern" type=[NamedElement|QualifiedName] name=QualifiedName argumentList=ArgumentList; + public ExternMetricDefinitionElements getExternMetricDefinitionAccess() { + return pExternMetricDefinition; } - public EnumRule getMetricTypeRule() { - return getMetricTypeAccess().getRule(); + public ParserRule getExternMetricDefinitionRule() { + return getExternMetricDefinitionAccess().getRule(); } - //MetricDefinition: - // type=MetricType head=Expression "=" body=Expression; - public MetricDefinitionElements getMetricDefinitionAccess() { - return pMetricDefinition; + //ExternAggregatorDefinition: + // "extern" type=[NamedElement|QualifiedName] name=QualifiedName "{" inputType=[NamedElement|QualifiedName] "..." "}"; + public ExternAggregatorDefinitionElements getExternAggregatorDefinitionAccess() { + return pExternAggregatorDefinition; } - public ParserRule getMetricDefinitionRule() { - return getMetricDefinitionAccess().getRule(); + public ParserRule getExternAggregatorDefinitionRule() { + return getExternAggregatorDefinitionAccess().getRule(); } - //ExternMetricDefinition: - // "extern" type=MetricType head=Call; - public ExternMetricDefinitionElements getExternMetricDefinitionAccess() { - return pExternMetricDefinition; + //ExternDatatypeDefinition: + // "extern" "datatype" name=QualifiedName ("extends" supertypes+=[NamedElement|QualifiedName] ("," + // supertypes+=[NamedElement|QualifiedName])*); + public ExternDatatypeDefinitionElements getExternDatatypeDefinitionAccess() { + return pExternDatatypeDefinition; } - public ParserRule getExternMetricDefinitionRule() { - return getExternMetricDefinitionAccess().getRule(); + public ParserRule getExternDatatypeDefinitionRule() { + return getExternDatatypeDefinitionAccess().getRule(); + } + + //Variable: + // type=[NamedElement|QualifiedName]? name=ID; + public VariableElements getVariableAccess() { + return pVariable; + } + + public ParserRule getVariableRule() { + return getVariableAccess().getRule(); } //Expression: - // IfElse | DisjunctiveExpression; + // IfElse | Let | ImplicationExpression; public ExpressionElements getExpressionAccess() { return pExpression; } @@ -2793,6 +3098,46 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder { return getIfElseAccess().getRule(); } + //Let: + // "let" bindings+=LetBinding ("," bindings+=LetBinding)* "in" body=Expression; + public LetElements getLetAccess() { + return pLet; + } + + public ParserRule getLetRule() { + return getLetAccess().getRule(); + } + + //LetBinding: + // variable=Variable "=" value=AdditiveExpression; + public LetBindingElements getLetBindingAccess() { + return pLetBinding; + } + + public ParserRule getLetBindingRule() { + return getLetBindingAccess().getRule(); + } + + //enum ImplicationOperator returns BinaryOperator: + // IMPLIES="=>"; + public ImplicationOperatorElements getImplicationOperatorAccess() { + return eImplicationOperator; + } + + public EnumRule getImplicationOperatorRule() { + return getImplicationOperatorAccess().getRule(); + } + + //ImplicationExpression Expression: + // DisjunctiveExpression ({BinaryExpression.left=current} op=ImplicationOperator right=ImplicationExpression)?; + public ImplicationExpressionElements getImplicationExpressionAccess() { + return pImplicationExpression; + } + + public ParserRule getImplicationExpressionRule() { + return getImplicationExpressionAccess().getRule(); + } + //DisjunctiveExpression Expression: // ConjunctiveExpression ({Disjunction.children+=current} (";" children+=ConjunctiveExpression)+ | // {Case.condition=current} "->" body=ConjunctiveExpression {Switch.cases+=current} (";" cases+=Case)*)?; @@ -2824,16 +3169,6 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder { return getConjunctiveExpressionAccess().getRule(); } - //enum BinaryOperator: - // EQ | NOT_EQ | LESS | LESS_EQ | GREATER | GREATER_EQ | IN | ADD | SUB | MUL | DIV | POW; - public BinaryOperatorElements getBinaryOperatorAccess() { - return eBinaryOperator; - } - - public EnumRule getBinaryOperatorRule() { - return getBinaryOperatorAccess().getRule(); - } - //enum ComparisonOperator returns BinaryOperator: // EQ="==" | NOT_EQ="!=" | LESS="<" | LESS_EQ="<=" | GREATER=">" | GREATER_EQ=">=" | IN="in"; public ComparisonOperatorElements getComparisonOperatorAccess() { @@ -2905,7 +3240,7 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder { } //ExponentialExpression Expression: - // UnaryExpression ({BinaryExpression.left=current} op=ExponentialOp right=ExponentialExpression)?; + // CastExpression ({BinaryExpression.left=current} op=ExponentialOp right=CastExpression)?; public ExponentialExpressionElements getExponentialExpressionAccess() { return pExponentialExpression; } @@ -2914,6 +3249,16 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder { return getExponentialExpressionAccess().getRule(); } + //CastExpression Expression: + // UnaryExpression ({CastExpression.body=current} "as" type=[NamedElement|QualifiedName])?; + public CastExpressionElements getCastExpressionAccess() { + return pCastExpression; + } + + public ParserRule getCastExpressionRule() { + return getCastExpressionAccess().getRule(); + } + //enum UnaryOp: // NEG="!" | PLUS="+" | MINUS="-" | MAY="may" | MUST="must" | CURRENT="current"; public UnaryOpElements getUnaryOpAccess() { @@ -2935,7 +3280,7 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder { } //AggregationExpression Expression: - // AtomicExpression | Count | Aggregation; + // AtomicExpression | QuantifiedExpression | Aggregation; public AggregationExpressionElements getAggregationExpressionAccess() { return pAggregationExpression; } @@ -2944,28 +3289,38 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder { return getAggregationExpressionAccess().getRule(); } - //Count: - // "count" "{" body=Expression "}"; - public CountElements getCountAccess() { - return pCount; + //LocalVariables: + // {LocalVariables} "[" (variables+=Variable ("," variables+=Variable)*)? "]"; + public LocalVariablesElements getLocalVariablesAccess() { + return pLocalVariables; + } + + public ParserRule getLocalVariablesRule() { + return getLocalVariablesAccess().getRule(); + } + + //enum Quantifier: + // EXISTS="exists" | FORALL="forall" | COUNT="count"; + public QuantifierElements getQuantifierAccess() { + return eQuantifier; } - public ParserRule getCountRule() { - return getCountAccess().getRule(); + public EnumRule getQuantifierRule() { + return getQuantifierAccess().getRule(); } - //enum AggregationOp: - // ONLY="only" | SUM="sum" | PROD="prod" | AVG="avg" | MIN="min" | MAX="max"; - public AggregationOpElements getAggregationOpAccess() { - return eAggregationOp; + //QuantifiedExpression: + // quantifier=Quantifier localVariables=LocalVariables? "{" body=Expression "}"; + public QuantifiedExpressionElements getQuantifiedExpressionAccess() { + return pQuantifiedExpression; } - public EnumRule getAggregationOpRule() { - return getAggregationOpAccess().getRule(); + public ParserRule getQuantifiedExpressionRule() { + return getQuantifiedExpressionAccess().getRule(); } //Aggregation: - // op=AggregationOp "{" body=Expression "|" condition=Expression "}"; + // op=[NamedElement|QualifiedName] localVariables=LocalVariables? "{" body=Expression ("|" condition=Expression)? "}"; public AggregationElements getAggregationAccess() { return pAggregation; } @@ -3338,16 +3693,6 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder { return tFULL_STOP; } - //NamedElement: - // name=QualifiedName; - public NamedElementElements getNamedElementAccess() { - return pNamedElement; - } - - public ParserRule getNamedElementRule() { - return getNamedElementAccess().getRule(); - } - //terminal ID: // '^'? ('a'..'z' | 'A'..'Z' | '_') ('a'..'z' | 'A'..'Z' | '_' | '0'..'9')*; public TerminalRule getIDRule() { diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Aggregation.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Aggregation.java deleted file mode 100644 index 8641f197..00000000 --- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Aggregation.java +++ /dev/null @@ -1,96 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage; - - -/** - * - * A representation of the model object 'Aggregation'. - * - * - *

    - * The following features are supported: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.Aggregation#getOp Op}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.Aggregation#getBody Body}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.Aggregation#getCondition Condition}
    • - *
    - * - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getAggregation() - * @model - * @generated - */ -public interface Aggregation extends Expression -{ - /** - * Returns the value of the 'Op' attribute. - * The literals are from the enumeration {@link org.eclipse.viatra.solver.language.solverLanguage.AggregationOp}. - * - * - * @return the value of the 'Op' attribute. - * @see org.eclipse.viatra.solver.language.solverLanguage.AggregationOp - * @see #setOp(AggregationOp) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getAggregation_Op() - * @model - * @generated - */ - AggregationOp getOp(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.Aggregation#getOp Op}' attribute. - * - * - * @param value the new value of the 'Op' attribute. - * @see org.eclipse.viatra.solver.language.solverLanguage.AggregationOp - * @see #getOp() - * @generated - */ - void setOp(AggregationOp value); - - /** - * Returns the value of the 'Body' containment reference. - * - * - * @return the value of the 'Body' containment reference. - * @see #setBody(Expression) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getAggregation_Body() - * @model containment="true" - * @generated - */ - Expression getBody(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.Aggregation#getBody Body}' containment reference. - * - * - * @param value the new value of the 'Body' containment reference. - * @see #getBody() - * @generated - */ - void setBody(Expression value); - - /** - * Returns the value of the 'Condition' containment reference. - * - * - * @return the value of the 'Condition' containment reference. - * @see #setCondition(Expression) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getAggregation_Condition() - * @model containment="true" - * @generated - */ - Expression getCondition(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.Aggregation#getCondition Condition}' containment reference. - * - * - * @param value the new value of the 'Condition' containment reference. - * @see #getCondition() - * @generated - */ - void setCondition(Expression value); - -} // Aggregation diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/AggregationOp.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/AggregationOp.java deleted file mode 100644 index 1a0664ed..00000000 --- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/AggregationOp.java +++ /dev/null @@ -1,317 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage; - -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 'Aggregation Op', - * and utility methods for working with them. - * - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getAggregationOp() - * @model - * @generated - */ -public enum AggregationOp implements Enumerator -{ - /** - * The 'ONLY' literal object. - * - * - * @see #ONLY_VALUE - * @generated - * @ordered - */ - ONLY(0, "ONLY", "only"), - - /** - * The 'SUM' literal object. - * - * - * @see #SUM_VALUE - * @generated - * @ordered - */ - SUM(1, "SUM", "sum"), - - /** - * The 'PROD' literal object. - * - * - * @see #PROD_VALUE - * @generated - * @ordered - */ - PROD(2, "PROD", "prod"), - - /** - * The 'AVG' literal object. - * - * - * @see #AVG_VALUE - * @generated - * @ordered - */ - AVG(3, "AVG", "avg"), - - /** - * The 'MIN' literal object. - * - * - * @see #MIN_VALUE - * @generated - * @ordered - */ - MIN(4, "MIN", "min"), - - /** - * The 'MAX' literal object. - * - * - * @see #MAX_VALUE - * @generated - * @ordered - */ - MAX(5, "MAX", "max"); - - /** - * The 'ONLY' literal value. - * - * - * @see #ONLY - * @model literal="only" - * @generated - * @ordered - */ - public static final int ONLY_VALUE = 0; - - /** - * The 'SUM' literal value. - * - * - * @see #SUM - * @model literal="sum" - * @generated - * @ordered - */ - public static final int SUM_VALUE = 1; - - /** - * The 'PROD' literal value. - * - * - * @see #PROD - * @model literal="prod" - * @generated - * @ordered - */ - public static final int PROD_VALUE = 2; - - /** - * The 'AVG' literal value. - * - * - * @see #AVG - * @model literal="avg" - * @generated - * @ordered - */ - public static final int AVG_VALUE = 3; - - /** - * The 'MIN' literal value. - * - * - * @see #MIN - * @model literal="min" - * @generated - * @ordered - */ - public static final int MIN_VALUE = 4; - - /** - * The 'MAX' literal value. - * - * - * @see #MAX - * @model literal="max" - * @generated - * @ordered - */ - public static final int MAX_VALUE = 5; - - /** - * An array of all the 'Aggregation Op' enumerators. - * - * - * @generated - */ - private static final AggregationOp[] VALUES_ARRAY = - new AggregationOp[] - { - ONLY, - SUM, - PROD, - AVG, - MIN, - MAX, - }; - - /** - * A public read-only list of all the 'Aggregation Op' enumerators. - * - * - * @generated - */ - public static final List VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); - - /** - * Returns the 'Aggregation Op' literal with the specified literal value. - * - * - * @param literal the literal. - * @return the matching enumerator or null. - * @generated - */ - public static AggregationOp get(String literal) - { - for (int i = 0; i < VALUES_ARRAY.length; ++i) - { - AggregationOp result = VALUES_ARRAY[i]; - if (result.toString().equals(literal)) - { - return result; - } - } - return null; - } - - /** - * Returns the 'Aggregation Op' literal with the specified name. - * - * - * @param name the name. - * @return the matching enumerator or null. - * @generated - */ - public static AggregationOp getByName(String name) - { - for (int i = 0; i < VALUES_ARRAY.length; ++i) - { - AggregationOp result = VALUES_ARRAY[i]; - if (result.getName().equals(name)) - { - return result; - } - } - return null; - } - - /** - * Returns the 'Aggregation Op' literal with the specified integer value. - * - * - * @param value the integer value. - * @return the matching enumerator or null. - * @generated - */ - public static AggregationOp get(int value) - { - switch (value) - { - case ONLY_VALUE: return ONLY; - case SUM_VALUE: return SUM; - case PROD_VALUE: return PROD; - case AVG_VALUE: return AVG; - case MIN_VALUE: return MIN; - case MAX_VALUE: return MAX; - } - 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 AggregationOp(int value, String name, String literal) - { - this.value = value; - this.name = name; - this.literal = literal; - } - - /** - * - * - * @generated - */ - @Override - public int getValue() - { - return value; - } - - /** - * - * - * @generated - */ - @Override - public String getName() - { - return name; - } - - /** - * - * - * @generated - */ - @Override - public String getLiteral() - { - return literal; - } - - /** - * Returns the literal value of the enumerator, which is its string representation. - * - * - * @generated - */ - @Override - public String toString() - { - return literal; - } - -} //AggregationOp diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Argument.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Argument.java deleted file mode 100644 index 73c79940..00000000 --- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Argument.java +++ /dev/null @@ -1,20 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage; - -import org.eclipse.emf.ecore.EObject; - -/** - * - * A representation of the model object 'Argument'. - * - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getArgument() - * @model - * @generated - */ -public interface Argument extends EObject -{ -} // Argument diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/ArgumentList.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/ArgumentList.java deleted file mode 100644 index 4a932fea..00000000 --- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/ArgumentList.java +++ /dev/null @@ -1,40 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage; - -import org.eclipse.emf.common.util.EList; - -import org.eclipse.emf.ecore.EObject; - -/** - * - * A representation of the model object 'Argument List'. - * - * - *

    - * The following features are supported: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.ArgumentList#getArguments Arguments}
    • - *
    - * - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getArgumentList() - * @model - * @generated - */ -public interface ArgumentList extends EObject -{ - /** - * Returns the value of the 'Arguments' containment reference list. - * The list contents are of type {@link org.eclipse.viatra.solver.language.solverLanguage.Argument}. - * - * - * @return the value of the 'Arguments' containment reference list. - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getArgumentList_Arguments() - * @model containment="true" - * @generated - */ - EList getArguments(); - -} // ArgumentList diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Assertion.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Assertion.java deleted file mode 100644 index b67d81ca..00000000 --- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Assertion.java +++ /dev/null @@ -1,70 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage; - - -/** - * - * A representation of the model object 'Assertion'. - * - * - *

    - * The following features are supported: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.Assertion#getBody Body}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.Assertion#getRange Range}
    • - *
    - * - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getAssertion() - * @model - * @generated - */ -public interface Assertion extends Statement -{ - /** - * Returns the value of the 'Body' containment reference. - * - * - * @return the value of the 'Body' containment reference. - * @see #setBody(Expression) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getAssertion_Body() - * @model containment="true" - * @generated - */ - Expression getBody(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.Assertion#getBody Body}' containment reference. - * - * - * @param value the new value of the 'Body' containment reference. - * @see #getBody() - * @generated - */ - void setBody(Expression value); - - /** - * Returns the value of the 'Range' containment reference. - * - * - * @return the value of the 'Range' containment reference. - * @see #setRange(Expression) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getAssertion_Range() - * @model containment="true" - * @generated - */ - Expression getRange(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.Assertion#getRange Range}' containment reference. - * - * - * @param value the new value of the 'Range' containment reference. - * @see #getRange() - * @generated - */ - void setRange(Expression value); - -} // Assertion diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/BinaryExpression.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/BinaryExpression.java deleted file mode 100644 index 8a81e68b..00000000 --- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/BinaryExpression.java +++ /dev/null @@ -1,96 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage; - - -/** - * - * A representation of the model object 'Binary Expression'. - * - * - *

    - * The following features are supported: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.BinaryExpression#getLeft Left}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.BinaryExpression#getOp Op}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.BinaryExpression#getRight Right}
    • - *
    - * - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getBinaryExpression() - * @model - * @generated - */ -public interface BinaryExpression extends Expression -{ - /** - * Returns the value of the 'Left' containment reference. - * - * - * @return the value of the 'Left' containment reference. - * @see #setLeft(Expression) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getBinaryExpression_Left() - * @model containment="true" - * @generated - */ - Expression getLeft(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.BinaryExpression#getLeft Left}' containment reference. - * - * - * @param value the new value of the 'Left' containment reference. - * @see #getLeft() - * @generated - */ - void setLeft(Expression value); - - /** - * Returns the value of the 'Op' attribute. - * The literals are from the enumeration {@link org.eclipse.viatra.solver.language.solverLanguage.BinaryOperator}. - * - * - * @return the value of the 'Op' attribute. - * @see org.eclipse.viatra.solver.language.solverLanguage.BinaryOperator - * @see #setOp(BinaryOperator) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getBinaryExpression_Op() - * @model - * @generated - */ - BinaryOperator getOp(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.BinaryExpression#getOp Op}' attribute. - * - * - * @param value the new value of the 'Op' attribute. - * @see org.eclipse.viatra.solver.language.solverLanguage.BinaryOperator - * @see #getOp() - * @generated - */ - void setOp(BinaryOperator value); - - /** - * Returns the value of the 'Right' containment reference. - * - * - * @return the value of the 'Right' containment reference. - * @see #setRight(Expression) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getBinaryExpression_Right() - * @model containment="true" - * @generated - */ - Expression getRight(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.BinaryExpression#getRight Right}' containment reference. - * - * - * @param value the new value of the 'Right' containment reference. - * @see #getRight() - * @generated - */ - void setRight(Expression value); - -} // BinaryExpression diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/BinaryOperator.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/BinaryOperator.java deleted file mode 100644 index 9e8e073a..00000000 --- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/BinaryOperator.java +++ /dev/null @@ -1,455 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage; - -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 'Binary Operator', - * and utility methods for working with them. - * - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getBinaryOperator() - * @model - * @generated - */ -public enum BinaryOperator implements Enumerator -{ - /** - * The 'EQ' literal object. - * - * - * @see #EQ_VALUE - * @generated - * @ordered - */ - EQ(0, "EQ", "EQ"), - - /** - * The 'NOT EQ' literal object. - * - * - * @see #NOT_EQ_VALUE - * @generated - * @ordered - */ - NOT_EQ(1, "NOT_EQ", "NOT_EQ"), - - /** - * The 'LESS' literal object. - * - * - * @see #LESS_VALUE - * @generated - * @ordered - */ - LESS(2, "LESS", "LESS"), - - /** - * The 'LESS EQ' literal object. - * - * - * @see #LESS_EQ_VALUE - * @generated - * @ordered - */ - LESS_EQ(3, "LESS_EQ", "LESS_EQ"), - - /** - * The 'GREATER' literal object. - * - * - * @see #GREATER_VALUE - * @generated - * @ordered - */ - GREATER(4, "GREATER", "GREATER"), - - /** - * The 'GREATER EQ' literal object. - * - * - * @see #GREATER_EQ_VALUE - * @generated - * @ordered - */ - GREATER_EQ(5, "GREATER_EQ", "GREATER_EQ"), - - /** - * The 'IN' literal object. - * - * - * @see #IN_VALUE - * @generated - * @ordered - */ - IN(6, "IN", "IN"), - - /** - * The 'ADD' literal object. - * - * - * @see #ADD_VALUE - * @generated - * @ordered - */ - ADD(7, "ADD", "ADD"), - - /** - * The 'SUB' literal object. - * - * - * @see #SUB_VALUE - * @generated - * @ordered - */ - SUB(8, "SUB", "SUB"), - - /** - * The 'MUL' literal object. - * - * - * @see #MUL_VALUE - * @generated - * @ordered - */ - MUL(9, "MUL", "MUL"), - - /** - * The 'DIV' literal object. - * - * - * @see #DIV_VALUE - * @generated - * @ordered - */ - DIV(10, "DIV", "DIV"), - - /** - * The 'POW' literal object. - * - * - * @see #POW_VALUE - * @generated - * @ordered - */ - POW(11, "POW", "POW"); - - /** - * The 'EQ' literal value. - * - * - * @see #EQ - * @model - * @generated - * @ordered - */ - public static final int EQ_VALUE = 0; - - /** - * The 'NOT EQ' literal value. - * - * - * @see #NOT_EQ - * @model - * @generated - * @ordered - */ - public static final int NOT_EQ_VALUE = 1; - - /** - * The 'LESS' literal value. - * - * - * @see #LESS - * @model - * @generated - * @ordered - */ - public static final int LESS_VALUE = 2; - - /** - * The 'LESS EQ' literal value. - * - * - * @see #LESS_EQ - * @model - * @generated - * @ordered - */ - public static final int LESS_EQ_VALUE = 3; - - /** - * The 'GREATER' literal value. - * - * - * @see #GREATER - * @model - * @generated - * @ordered - */ - public static final int GREATER_VALUE = 4; - - /** - * The 'GREATER EQ' literal value. - * - * - * @see #GREATER_EQ - * @model - * @generated - * @ordered - */ - public static final int GREATER_EQ_VALUE = 5; - - /** - * The 'IN' literal value. - * - * - * @see #IN - * @model - * @generated - * @ordered - */ - public static final int IN_VALUE = 6; - - /** - * The 'ADD' literal value. - * - * - * @see #ADD - * @model - * @generated - * @ordered - */ - public static final int ADD_VALUE = 7; - - /** - * The 'SUB' literal value. - * - * - * @see #SUB - * @model - * @generated - * @ordered - */ - public static final int SUB_VALUE = 8; - - /** - * The 'MUL' literal value. - * - * - * @see #MUL - * @model - * @generated - * @ordered - */ - public static final int MUL_VALUE = 9; - - /** - * The 'DIV' literal value. - * - * - * @see #DIV - * @model - * @generated - * @ordered - */ - public static final int DIV_VALUE = 10; - - /** - * The 'POW' literal value. - * - * - * @see #POW - * @model - * @generated - * @ordered - */ - public static final int POW_VALUE = 11; - - /** - * An array of all the 'Binary Operator' enumerators. - * - * - * @generated - */ - private static final BinaryOperator[] VALUES_ARRAY = - new BinaryOperator[] - { - EQ, - NOT_EQ, - LESS, - LESS_EQ, - GREATER, - GREATER_EQ, - IN, - ADD, - SUB, - MUL, - DIV, - POW, - }; - - /** - * A public read-only list of all the 'Binary Operator' enumerators. - * - * - * @generated - */ - public static final List VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); - - /** - * Returns the 'Binary Operator' literal with the specified literal value. - * - * - * @param literal the literal. - * @return the matching enumerator or null. - * @generated - */ - public static BinaryOperator get(String literal) - { - for (int i = 0; i < VALUES_ARRAY.length; ++i) - { - BinaryOperator result = VALUES_ARRAY[i]; - if (result.toString().equals(literal)) - { - return result; - } - } - return null; - } - - /** - * Returns the 'Binary Operator' literal with the specified name. - * - * - * @param name the name. - * @return the matching enumerator or null. - * @generated - */ - public static BinaryOperator getByName(String name) - { - for (int i = 0; i < VALUES_ARRAY.length; ++i) - { - BinaryOperator result = VALUES_ARRAY[i]; - if (result.getName().equals(name)) - { - return result; - } - } - return null; - } - - /** - * Returns the 'Binary Operator' literal with the specified integer value. - * - * - * @param value the integer value. - * @return the matching enumerator or null. - * @generated - */ - public static BinaryOperator get(int value) - { - switch (value) - { - case EQ_VALUE: return EQ; - case NOT_EQ_VALUE: return NOT_EQ; - case LESS_VALUE: return LESS; - case LESS_EQ_VALUE: return LESS_EQ; - case GREATER_VALUE: return GREATER; - case GREATER_EQ_VALUE: return GREATER_EQ; - case IN_VALUE: return IN; - case ADD_VALUE: return ADD; - case SUB_VALUE: return SUB; - case MUL_VALUE: return MUL; - case DIV_VALUE: return DIV; - case POW_VALUE: return POW; - } - 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 BinaryOperator(int value, String name, String literal) - { - this.value = value; - this.name = name; - this.literal = literal; - } - - /** - * - * - * @generated - */ - @Override - public int getValue() - { - return value; - } - - /** - * - * - * @generated - */ - @Override - public String getName() - { - return name; - } - - /** - * - * - * @generated - */ - @Override - public String getLiteral() - { - return literal; - } - - /** - * Returns the literal value of the enumerator, which is its string representation. - * - * - * @generated - */ - @Override - public String toString() - { - return literal; - } - -} //BinaryOperator diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/BoundedMultiplicity.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/BoundedMultiplicity.java deleted file mode 100644 index 8e81e1a2..00000000 --- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/BoundedMultiplicity.java +++ /dev/null @@ -1,70 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage; - - -/** - * - * A representation of the model object 'Bounded Multiplicity'. - * - * - *

    - * The following features are supported: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.BoundedMultiplicity#getLowerBound Lower Bound}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.BoundedMultiplicity#getUpperBound Upper Bound}
    • - *
    - * - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getBoundedMultiplicity() - * @model - * @generated - */ -public interface BoundedMultiplicity extends Multiplicity -{ - /** - * Returns the value of the 'Lower Bound' attribute. - * - * - * @return the value of the 'Lower Bound' attribute. - * @see #setLowerBound(int) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getBoundedMultiplicity_LowerBound() - * @model - * @generated - */ - int getLowerBound(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.BoundedMultiplicity#getLowerBound Lower Bound}' attribute. - * - * - * @param value the new value of the 'Lower Bound' attribute. - * @see #getLowerBound() - * @generated - */ - void setLowerBound(int value); - - /** - * Returns the value of the 'Upper Bound' attribute. - * - * - * @return the value of the 'Upper Bound' attribute. - * @see #setUpperBound(int) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getBoundedMultiplicity_UpperBound() - * @model - * @generated - */ - int getUpperBound(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.BoundedMultiplicity#getUpperBound Upper Bound}' attribute. - * - * - * @param value the new value of the 'Upper Bound' attribute. - * @see #getUpperBound() - * @generated - */ - void setUpperBound(int value); - -} // BoundedMultiplicity diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/BoundedScopeDefinition.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/BoundedScopeDefinition.java deleted file mode 100644 index 1e76e86a..00000000 --- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/BoundedScopeDefinition.java +++ /dev/null @@ -1,70 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage; - - -/** - * - * A representation of the model object 'Bounded Scope Definition'. - * - * - *

    - * The following features are supported: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.BoundedScopeDefinition#getLowerBound Lower Bound}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.BoundedScopeDefinition#getUpperBound Upper Bound}
    • - *
    - * - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getBoundedScopeDefinition() - * @model - * @generated - */ -public interface BoundedScopeDefinition extends ScopeDefinition -{ - /** - * Returns the value of the 'Lower Bound' attribute. - * - * - * @return the value of the 'Lower Bound' attribute. - * @see #setLowerBound(int) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getBoundedScopeDefinition_LowerBound() - * @model - * @generated - */ - int getLowerBound(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.BoundedScopeDefinition#getLowerBound Lower Bound}' attribute. - * - * - * @param value the new value of the 'Lower Bound' attribute. - * @see #getLowerBound() - * @generated - */ - void setLowerBound(int value); - - /** - * Returns the value of the 'Upper Bound' attribute. - * - * - * @return the value of the 'Upper Bound' attribute. - * @see #setUpperBound(int) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getBoundedScopeDefinition_UpperBound() - * @model - * @generated - */ - int getUpperBound(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.BoundedScopeDefinition#getUpperBound Upper Bound}' attribute. - * - * - * @param value the new value of the 'Upper Bound' attribute. - * @see #getUpperBound() - * @generated - */ - void setUpperBound(int value); - -} // BoundedScopeDefinition diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Call.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Call.java deleted file mode 100644 index 70f7d15e..00000000 --- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Call.java +++ /dev/null @@ -1,116 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage; - - -/** - * - * A representation of the model object 'Call'. - * - * - *

    - * The following features are supported: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.Call#getFunctor Functor}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.Call#isTransitiveClosure Transitive Closure}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.Call#isReflexiveTransitiveClosure Reflexive Transitive Closure}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.Call#getArgumentList Argument List}
    • - *
    - * - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getCall() - * @model - * @generated - */ -public interface Call extends Expression -{ - /** - * Returns the value of the 'Functor' containment reference. - * - * - * @return the value of the 'Functor' containment reference. - * @see #setFunctor(Reference) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getCall_Functor() - * @model containment="true" - * @generated - */ - Reference getFunctor(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.Call#getFunctor Functor}' containment reference. - * - * - * @param value the new value of the 'Functor' containment reference. - * @see #getFunctor() - * @generated - */ - void setFunctor(Reference value); - - /** - * Returns the value of the 'Transitive Closure' attribute. - * - * - * @return the value of the 'Transitive Closure' attribute. - * @see #setTransitiveClosure(boolean) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getCall_TransitiveClosure() - * @model - * @generated - */ - boolean isTransitiveClosure(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.Call#isTransitiveClosure Transitive Closure}' attribute. - * - * - * @param value the new value of the 'Transitive Closure' attribute. - * @see #isTransitiveClosure() - * @generated - */ - void setTransitiveClosure(boolean value); - - /** - * Returns the value of the 'Reflexive Transitive Closure' attribute. - * - * - * @return the value of the 'Reflexive Transitive Closure' attribute. - * @see #setReflexiveTransitiveClosure(boolean) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getCall_ReflexiveTransitiveClosure() - * @model - * @generated - */ - boolean isReflexiveTransitiveClosure(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.Call#isReflexiveTransitiveClosure Reflexive Transitive Closure}' attribute. - * - * - * @param value the new value of the 'Reflexive Transitive Closure' attribute. - * @see #isReflexiveTransitiveClosure() - * @generated - */ - void setReflexiveTransitiveClosure(boolean value); - - /** - * Returns the value of the 'Argument List' containment reference. - * - * - * @return the value of the 'Argument List' containment reference. - * @see #setArgumentList(ArgumentList) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getCall_ArgumentList() - * @model containment="true" - * @generated - */ - ArgumentList getArgumentList(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.Call#getArgumentList Argument List}' containment reference. - * - * - * @param value the new value of the 'Argument List' containment reference. - * @see #getArgumentList() - * @generated - */ - void setArgumentList(ArgumentList value); - -} // Call diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Case.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Case.java deleted file mode 100644 index 970d1de2..00000000 --- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Case.java +++ /dev/null @@ -1,70 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage; - - -/** - * - * A representation of the model object 'Case'. - * - * - *

    - * The following features are supported: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.Case#getCondition Condition}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.Case#getBody Body}
    • - *
    - * - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getCase() - * @model - * @generated - */ -public interface Case extends Expression -{ - /** - * Returns the value of the 'Condition' containment reference. - * - * - * @return the value of the 'Condition' containment reference. - * @see #setCondition(Expression) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getCase_Condition() - * @model containment="true" - * @generated - */ - Expression getCondition(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.Case#getCondition Condition}' containment reference. - * - * - * @param value the new value of the 'Condition' containment reference. - * @see #getCondition() - * @generated - */ - void setCondition(Expression value); - - /** - * Returns the value of the 'Body' containment reference. - * - * - * @return the value of the 'Body' containment reference. - * @see #setBody(Expression) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getCase_Body() - * @model containment="true" - * @generated - */ - Expression getBody(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.Case#getBody Body}' containment reference. - * - * - * @param value the new value of the 'Body' containment reference. - * @see #getBody() - * @generated - */ - void setBody(Expression value); - -} // Case diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/ClassDefinition.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/ClassDefinition.java deleted file mode 100644 index 9db15bfe..00000000 --- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/ClassDefinition.java +++ /dev/null @@ -1,97 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage; - -import org.eclipse.emf.common.util.EList; - -/** - * - * A representation of the model object 'Class Definition'. - * - * - *

    - * The following features are supported: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.ClassDefinition#isAbstract Abstract}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.ClassDefinition#getName Name}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.ClassDefinition#getSuperclasses Superclasses}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.ClassDefinition#getMembers Members}
    • - *
    - * - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getClassDefinition() - * @model - * @generated - */ -public interface ClassDefinition extends Statement -{ - /** - * Returns the value of the 'Abstract' attribute. - * - * - * @return the value of the 'Abstract' attribute. - * @see #setAbstract(boolean) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getClassDefinition_Abstract() - * @model - * @generated - */ - boolean isAbstract(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.ClassDefinition#isAbstract Abstract}' attribute. - * - * - * @param value the new value of the 'Abstract' attribute. - * @see #isAbstract() - * @generated - */ - void setAbstract(boolean value); - - /** - * Returns the value of the 'Name' attribute. - * - * - * @return the value of the 'Name' attribute. - * @see #setName(String) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getClassDefinition_Name() - * @model - * @generated - */ - String getName(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.ClassDefinition#getName Name}' attribute. - * - * - * @param value the new value of the 'Name' attribute. - * @see #getName() - * @generated - */ - void setName(String value); - - /** - * Returns the value of the 'Superclasses' reference list. - * The list contents are of type {@link org.eclipse.viatra.solver.language.solverLanguage.NamedElement}. - * - * - * @return the value of the 'Superclasses' reference list. - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getClassDefinition_Superclasses() - * @model - * @generated - */ - EList getSuperclasses(); - - /** - * Returns the value of the 'Members' containment reference list. - * The list contents are of type {@link org.eclipse.viatra.solver.language.solverLanguage.MemberDefinition}. - * - * - * @return the value of the 'Members' containment reference list. - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getClassDefinition_Members() - * @model containment="true" - * @generated - */ - EList getMembers(); - -} // ClassDefinition diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Comparison.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Comparison.java deleted file mode 100644 index 43e9341a..00000000 --- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Comparison.java +++ /dev/null @@ -1,96 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage; - - -/** - * - * A representation of the model object 'Comparison'. - * - * - *

    - * The following features are supported: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.Comparison#getLeft Left}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.Comparison#getOp Op}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.Comparison#getRight Right}
    • - *
    - * - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getComparison() - * @model - * @generated - */ -public interface Comparison extends Expression -{ - /** - * Returns the value of the 'Left' containment reference. - * - * - * @return the value of the 'Left' containment reference. - * @see #setLeft(Expression) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getComparison_Left() - * @model containment="true" - * @generated - */ - Expression getLeft(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.Comparison#getLeft Left}' containment reference. - * - * - * @param value the new value of the 'Left' containment reference. - * @see #getLeft() - * @generated - */ - void setLeft(Expression value); - - /** - * Returns the value of the 'Op' attribute. - * The literals are from the enumeration {@link org.eclipse.viatra.solver.language.solverLanguage.BinaryOperator}. - * - * - * @return the value of the 'Op' attribute. - * @see org.eclipse.viatra.solver.language.solverLanguage.BinaryOperator - * @see #setOp(BinaryOperator) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getComparison_Op() - * @model - * @generated - */ - BinaryOperator getOp(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.Comparison#getOp Op}' attribute. - * - * - * @param value the new value of the 'Op' attribute. - * @see org.eclipse.viatra.solver.language.solverLanguage.BinaryOperator - * @see #getOp() - * @generated - */ - void setOp(BinaryOperator value); - - /** - * Returns the value of the 'Right' containment reference. - * - * - * @return the value of the 'Right' containment reference. - * @see #setRight(Expression) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getComparison_Right() - * @model containment="true" - * @generated - */ - Expression getRight(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.Comparison#getRight Right}' containment reference. - * - * - * @param value the new value of the 'Right' containment reference. - * @see #getRight() - * @generated - */ - void setRight(Expression value); - -} // Comparison diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Conjunction.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Conjunction.java deleted file mode 100644 index 9f1967c0..00000000 --- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Conjunction.java +++ /dev/null @@ -1,38 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage; - -import org.eclipse.emf.common.util.EList; - -/** - * - * A representation of the model object 'Conjunction'. - * - * - *

    - * The following features are supported: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.Conjunction#getChildren Children}
    • - *
    - * - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getConjunction() - * @model - * @generated - */ -public interface Conjunction extends Expression -{ - /** - * Returns the value of the 'Children' containment reference list. - * The list contents are of type {@link org.eclipse.viatra.solver.language.solverLanguage.Expression}. - * - * - * @return the value of the 'Children' containment reference list. - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getConjunction_Children() - * @model containment="true" - * @generated - */ - EList getChildren(); - -} // Conjunction diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Count.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Count.java deleted file mode 100644 index f4b95a1e..00000000 --- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Count.java +++ /dev/null @@ -1,47 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage; - - -/** - * - * A representation of the model object 'Count'. - * - * - *

    - * The following features are supported: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.Count#getBody Body}
    • - *
    - * - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getCount() - * @model - * @generated - */ -public interface Count extends Expression -{ - /** - * Returns the value of the 'Body' containment reference. - * - * - * @return the value of the 'Body' containment reference. - * @see #setBody(Expression) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getCount_Body() - * @model containment="true" - * @generated - */ - Expression getBody(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.Count#getBody Body}' containment reference. - * - * - * @param value the new value of the 'Body' containment reference. - * @see #getBody() - * @generated - */ - void setBody(Expression value); - -} // Count diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/DefaultDefinition.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/DefaultDefinition.java deleted file mode 100644 index c088f8d7..00000000 --- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/DefaultDefinition.java +++ /dev/null @@ -1,70 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage; - - -/** - * - * A representation of the model object 'Default Definition'. - * - * - *

    - * The following features are supported: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.DefaultDefinition#getHead Head}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.DefaultDefinition#getRange Range}
    • - *
    - * - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getDefaultDefinition() - * @model - * @generated - */ -public interface DefaultDefinition extends Statement -{ - /** - * Returns the value of the 'Head' containment reference. - * - * - * @return the value of the 'Head' containment reference. - * @see #setHead(Call) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getDefaultDefinition_Head() - * @model containment="true" - * @generated - */ - Call getHead(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.DefaultDefinition#getHead Head}' containment reference. - * - * - * @param value the new value of the 'Head' containment reference. - * @see #getHead() - * @generated - */ - void setHead(Call value); - - /** - * Returns the value of the 'Range' containment reference. - * - * - * @return the value of the 'Range' containment reference. - * @see #setRange(Expression) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getDefaultDefinition_Range() - * @model containment="true" - * @generated - */ - Expression getRange(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.DefaultDefinition#getRange Range}' containment reference. - * - * - * @param value the new value of the 'Range' containment reference. - * @see #getRange() - * @generated - */ - void setRange(Expression value); - -} // DefaultDefinition diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Disjunction.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Disjunction.java deleted file mode 100644 index 724fc04a..00000000 --- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Disjunction.java +++ /dev/null @@ -1,38 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage; - -import org.eclipse.emf.common.util.EList; - -/** - * - * A representation of the model object 'Disjunction'. - * - * - *

    - * The following features are supported: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.Disjunction#getChildren Children}
    • - *
    - * - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getDisjunction() - * @model - * @generated - */ -public interface Disjunction extends Expression -{ - /** - * Returns the value of the 'Children' containment reference list. - * The list contents are of type {@link org.eclipse.viatra.solver.language.solverLanguage.Expression}. - * - * - * @return the value of the 'Children' containment reference list. - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getDisjunction_Children() - * @model containment="true" - * @generated - */ - EList getChildren(); - -} // Disjunction diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/EmptyIntervalLiteral.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/EmptyIntervalLiteral.java deleted file mode 100644 index 03f09681..00000000 --- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/EmptyIntervalLiteral.java +++ /dev/null @@ -1,19 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage; - - -/** - * - * A representation of the model object 'Empty Interval Literal'. - * - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getEmptyIntervalLiteral() - * @model - * @generated - */ -public interface EmptyIntervalLiteral extends Literal -{ -} // EmptyIntervalLiteral diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/ExactMultiplicity.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/ExactMultiplicity.java deleted file mode 100644 index 33e88fc4..00000000 --- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/ExactMultiplicity.java +++ /dev/null @@ -1,47 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage; - - -/** - * - * A representation of the model object 'Exact Multiplicity'. - * - * - *

    - * The following features are supported: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.ExactMultiplicity#getMultiplicity Multiplicity}
    • - *
    - * - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getExactMultiplicity() - * @model - * @generated - */ -public interface ExactMultiplicity extends Multiplicity -{ - /** - * Returns the value of the 'Multiplicity' attribute. - * - * - * @return the value of the 'Multiplicity' attribute. - * @see #setMultiplicity(int) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getExactMultiplicity_Multiplicity() - * @model - * @generated - */ - int getMultiplicity(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.ExactMultiplicity#getMultiplicity Multiplicity}' attribute. - * - * - * @param value the new value of the 'Multiplicity' attribute. - * @see #getMultiplicity() - * @generated - */ - void setMultiplicity(int value); - -} // ExactMultiplicity diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/ExactScopeDefinition.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/ExactScopeDefinition.java deleted file mode 100644 index 50eb6a00..00000000 --- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/ExactScopeDefinition.java +++ /dev/null @@ -1,47 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage; - - -/** - * - * A representation of the model object 'Exact Scope Definition'. - * - * - *

    - * The following features are supported: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.ExactScopeDefinition#getExactScope Exact Scope}
    • - *
    - * - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getExactScopeDefinition() - * @model - * @generated - */ -public interface ExactScopeDefinition extends ScopeDefinition -{ - /** - * Returns the value of the 'Exact Scope' attribute. - * - * - * @return the value of the 'Exact Scope' attribute. - * @see #setExactScope(int) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getExactScopeDefinition_ExactScope() - * @model - * @generated - */ - int getExactScope(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.ExactScopeDefinition#getExactScope Exact Scope}' attribute. - * - * - * @param value the new value of the 'Exact Scope' attribute. - * @see #getExactScope() - * @generated - */ - void setExactScope(int value); - -} // ExactScopeDefinition diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Expression.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Expression.java deleted file mode 100644 index 1ecd89a5..00000000 --- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Expression.java +++ /dev/null @@ -1,19 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage; - - -/** - * - * A representation of the model object 'Expression'. - * - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getExpression() - * @model - * @generated - */ -public interface Expression extends Statement -{ -} // Expression diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/ExpressionArgument.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/ExpressionArgument.java deleted file mode 100644 index 518693a1..00000000 --- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/ExpressionArgument.java +++ /dev/null @@ -1,47 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage; - - -/** - * - * A representation of the model object 'Expression Argument'. - * - * - *

    - * The following features are supported: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.ExpressionArgument#getBody Body}
    • - *
    - * - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getExpressionArgument() - * @model - * @generated - */ -public interface ExpressionArgument extends Argument -{ - /** - * Returns the value of the 'Body' containment reference. - * - * - * @return the value of the 'Body' containment reference. - * @see #setBody(Expression) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getExpressionArgument_Body() - * @model containment="true" - * @generated - */ - Expression getBody(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.ExpressionArgument#getBody Body}' containment reference. - * - * - * @param value the new value of the 'Body' containment reference. - * @see #getBody() - * @generated - */ - void setBody(Expression value); - -} // ExpressionArgument diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/ExternMetricDefinition.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/ExternMetricDefinition.java deleted file mode 100644 index 086c4b27..00000000 --- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/ExternMetricDefinition.java +++ /dev/null @@ -1,73 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage; - - -/** - * - * A representation of the model object 'Extern Metric Definition'. - * - * - *

    - * The following features are supported: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.ExternMetricDefinition#getType Type}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.ExternMetricDefinition#getHead Head}
    • - *
    - * - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getExternMetricDefinition() - * @model - * @generated - */ -public interface ExternMetricDefinition extends Statement -{ - /** - * Returns the value of the 'Type' attribute. - * The literals are from the enumeration {@link org.eclipse.viatra.solver.language.solverLanguage.MetricType}. - * - * - * @return the value of the 'Type' attribute. - * @see org.eclipse.viatra.solver.language.solverLanguage.MetricType - * @see #setType(MetricType) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getExternMetricDefinition_Type() - * @model - * @generated - */ - MetricType getType(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.ExternMetricDefinition#getType Type}' attribute. - * - * - * @param value the new value of the 'Type' attribute. - * @see org.eclipse.viatra.solver.language.solverLanguage.MetricType - * @see #getType() - * @generated - */ - void setType(MetricType value); - - /** - * Returns the value of the 'Head' containment reference. - * - * - * @return the value of the 'Head' containment reference. - * @see #setHead(Call) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getExternMetricDefinition_Head() - * @model containment="true" - * @generated - */ - Call getHead(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.ExternMetricDefinition#getHead Head}' containment reference. - * - * - * @param value the new value of the 'Head' containment reference. - * @see #getHead() - * @generated - */ - void setHead(Call value); - -} // ExternMetricDefinition diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/ExternPredicateDefinition.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/ExternPredicateDefinition.java deleted file mode 100644 index 56e6b645..00000000 --- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/ExternPredicateDefinition.java +++ /dev/null @@ -1,47 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage; - - -/** - * - * A representation of the model object 'Extern Predicate Definition'. - * - * - *

    - * The following features are supported: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.ExternPredicateDefinition#getHead Head}
    • - *
    - * - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getExternPredicateDefinition() - * @model - * @generated - */ -public interface ExternPredicateDefinition extends Statement -{ - /** - * Returns the value of the 'Head' containment reference. - * - * - * @return the value of the 'Head' containment reference. - * @see #setHead(Call) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getExternPredicateDefinition_Head() - * @model containment="true" - * @generated - */ - Call getHead(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.ExternPredicateDefinition#getHead Head}' containment reference. - * - * - * @param value the new value of the 'Head' containment reference. - * @see #getHead() - * @generated - */ - void setHead(Call value); - -} // ExternPredicateDefinition diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/IfElse.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/IfElse.java deleted file mode 100644 index f08a8420..00000000 --- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/IfElse.java +++ /dev/null @@ -1,93 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage; - - -/** - * - * A representation of the model object 'If Else'. - * - * - *

    - * The following features are supported: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.IfElse#getCondition Condition}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.IfElse#getThen Then}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.IfElse#getElse Else}
    • - *
    - * - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getIfElse() - * @model - * @generated - */ -public interface IfElse extends Expression -{ - /** - * Returns the value of the 'Condition' containment reference. - * - * - * @return the value of the 'Condition' containment reference. - * @see #setCondition(Expression) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getIfElse_Condition() - * @model containment="true" - * @generated - */ - Expression getCondition(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.IfElse#getCondition Condition}' containment reference. - * - * - * @param value the new value of the 'Condition' containment reference. - * @see #getCondition() - * @generated - */ - void setCondition(Expression value); - - /** - * Returns the value of the 'Then' containment reference. - * - * - * @return the value of the 'Then' containment reference. - * @see #setThen(Expression) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getIfElse_Then() - * @model containment="true" - * @generated - */ - Expression getThen(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.IfElse#getThen Then}' containment reference. - * - * - * @param value the new value of the 'Then' containment reference. - * @see #getThen() - * @generated - */ - void setThen(Expression value); - - /** - * Returns the value of the 'Else' containment reference. - * - * - * @return the value of the 'Else' containment reference. - * @see #setElse(Expression) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getIfElse_Else() - * @model containment="true" - * @generated - */ - Expression getElse(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.IfElse#getElse Else}' containment reference. - * - * - * @param value the new value of the 'Else' containment reference. - * @see #getElse() - * @generated - */ - void setElse(Expression value); - -} // IfElse diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/InfinityLiteral.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/InfinityLiteral.java deleted file mode 100644 index 24e9633b..00000000 --- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/InfinityLiteral.java +++ /dev/null @@ -1,19 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage; - - -/** - * - * A representation of the model object 'Infinity Literal'. - * - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getInfinityLiteral() - * @model - * @generated - */ -public interface InfinityLiteral extends Literal -{ -} // InfinityLiteral diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Interval.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Interval.java deleted file mode 100644 index 3431ef8b..00000000 --- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Interval.java +++ /dev/null @@ -1,70 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage; - - -/** - * - * A representation of the model object 'Interval'. - * - * - *

    - * The following features are supported: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.Interval#getLowerBound Lower Bound}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.Interval#getUpperBound Upper Bound}
    • - *
    - * - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getInterval() - * @model - * @generated - */ -public interface Interval extends Expression -{ - /** - * Returns the value of the 'Lower Bound' containment reference. - * - * - * @return the value of the 'Lower Bound' containment reference. - * @see #setLowerBound(Expression) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getInterval_LowerBound() - * @model containment="true" - * @generated - */ - Expression getLowerBound(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.Interval#getLowerBound Lower Bound}' containment reference. - * - * - * @param value the new value of the 'Lower Bound' containment reference. - * @see #getLowerBound() - * @generated - */ - void setLowerBound(Expression value); - - /** - * Returns the value of the 'Upper Bound' containment reference. - * - * - * @return the value of the 'Upper Bound' containment reference. - * @see #setUpperBound(Expression) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getInterval_UpperBound() - * @model containment="true" - * @generated - */ - Expression getUpperBound(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.Interval#getUpperBound Upper Bound}' containment reference. - * - * - * @param value the new value of the 'Upper Bound' containment reference. - * @see #getUpperBound() - * @generated - */ - void setUpperBound(Expression value); - -} // Interval diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Literal.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Literal.java deleted file mode 100644 index 67d4e64f..00000000 --- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Literal.java +++ /dev/null @@ -1,19 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage; - - -/** - * - * A representation of the model object 'Literal'. - * - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getLiteral() - * @model - * @generated - */ -public interface Literal extends Expression -{ -} // Literal diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/LogicLiteral.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/LogicLiteral.java deleted file mode 100644 index b3eb1523..00000000 --- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/LogicLiteral.java +++ /dev/null @@ -1,50 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage; - - -/** - * - * A representation of the model object 'Logic Literal'. - * - * - *

    - * The following features are supported: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.LogicLiteral#getValue Value}
    • - *
    - * - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getLogicLiteral() - * @model - * @generated - */ -public interface LogicLiteral extends Literal -{ - /** - * Returns the value of the 'Value' attribute. - * The literals are from the enumeration {@link org.eclipse.viatra.solver.language.solverLanguage.LogicValue}. - * - * - * @return the value of the 'Value' attribute. - * @see org.eclipse.viatra.solver.language.solverLanguage.LogicValue - * @see #setValue(LogicValue) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getLogicLiteral_Value() - * @model - * @generated - */ - LogicValue getValue(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.LogicLiteral#getValue Value}' attribute. - * - * - * @param value the new value of the 'Value' attribute. - * @see org.eclipse.viatra.solver.language.solverLanguage.LogicValue - * @see #getValue() - * @generated - */ - void setValue(LogicValue value); - -} // LogicLiteral diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/LogicValue.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/LogicValue.java deleted file mode 100644 index 61be81f7..00000000 --- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/LogicValue.java +++ /dev/null @@ -1,271 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage; - -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 'Logic Value', - * and utility methods for working with them. - * - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getLogicValue() - * @model - * @generated - */ -public enum LogicValue implements Enumerator -{ - /** - * The 'TRUE' literal object. - * - * - * @see #TRUE_VALUE - * @generated - * @ordered - */ - TRUE(0, "TRUE", "true"), - - /** - * The 'FALSE' literal object. - * - * - * @see #FALSE_VALUE - * @generated - * @ordered - */ - FALSE(1, "FALSE", "false"), - - /** - * The 'UNKNOWN' literal object. - * - * - * @see #UNKNOWN_VALUE - * @generated - * @ordered - */ - UNKNOWN(2, "UNKNOWN", "unknown"), - - /** - * The 'ERROR' literal object. - * - * - * @see #ERROR_VALUE - * @generated - * @ordered - */ - ERROR(3, "ERROR", "error"); - - /** - * The 'TRUE' literal value. - * - * - * @see #TRUE - * @model literal="true" - * @generated - * @ordered - */ - public static final int TRUE_VALUE = 0; - - /** - * The 'FALSE' literal value. - * - * - * @see #FALSE - * @model literal="false" - * @generated - * @ordered - */ - public static final int FALSE_VALUE = 1; - - /** - * The 'UNKNOWN' literal value. - * - * - * @see #UNKNOWN - * @model literal="unknown" - * @generated - * @ordered - */ - public static final int UNKNOWN_VALUE = 2; - - /** - * The 'ERROR' literal value. - * - * - * @see #ERROR - * @model literal="error" - * @generated - * @ordered - */ - public static final int ERROR_VALUE = 3; - - /** - * An array of all the 'Logic Value' enumerators. - * - * - * @generated - */ - private static final LogicValue[] VALUES_ARRAY = - new LogicValue[] - { - TRUE, - FALSE, - UNKNOWN, - ERROR, - }; - - /** - * A public read-only list of all the 'Logic Value' enumerators. - * - * - * @generated - */ - public static final List VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); - - /** - * Returns the 'Logic Value' literal with the specified literal value. - * - * - * @param literal the literal. - * @return the matching enumerator or null. - * @generated - */ - public static LogicValue get(String literal) - { - for (int i = 0; i < VALUES_ARRAY.length; ++i) - { - LogicValue result = VALUES_ARRAY[i]; - if (result.toString().equals(literal)) - { - return result; - } - } - return null; - } - - /** - * Returns the 'Logic Value' literal with the specified name. - * - * - * @param name the name. - * @return the matching enumerator or null. - * @generated - */ - public static LogicValue getByName(String name) - { - for (int i = 0; i < VALUES_ARRAY.length; ++i) - { - LogicValue result = VALUES_ARRAY[i]; - if (result.getName().equals(name)) - { - return result; - } - } - return null; - } - - /** - * Returns the 'Logic Value' literal with the specified integer value. - * - * - * @param value the integer value. - * @return the matching enumerator or null. - * @generated - */ - public static LogicValue get(int value) - { - switch (value) - { - case TRUE_VALUE: return TRUE; - case FALSE_VALUE: return FALSE; - case UNKNOWN_VALUE: return UNKNOWN; - case ERROR_VALUE: return ERROR; - } - 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 LogicValue(int value, String name, String literal) - { - this.value = value; - this.name = name; - this.literal = literal; - } - - /** - * - * - * @generated - */ - @Override - public int getValue() - { - return value; - } - - /** - * - * - * @generated - */ - @Override - public String getName() - { - return name; - } - - /** - * - * - * @generated - */ - @Override - public String getLiteral() - { - return literal; - } - - /** - * Returns the literal value of the enumerator, which is its string representation. - * - * - * @generated - */ - @Override - public String toString() - { - return literal; - } - -} //LogicValue diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/LowerBoundedScopeDefinition.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/LowerBoundedScopeDefinition.java deleted file mode 100644 index 57edcfda..00000000 --- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/LowerBoundedScopeDefinition.java +++ /dev/null @@ -1,47 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage; - - -/** - * - * A representation of the model object 'Lower Bounded Scope Definition'. - * - * - *

    - * The following features are supported: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.LowerBoundedScopeDefinition#getLowerBound Lower Bound}
    • - *
    - * - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getLowerBoundedScopeDefinition() - * @model - * @generated - */ -public interface LowerBoundedScopeDefinition extends ScopeDefinition -{ - /** - * Returns the value of the 'Lower Bound' attribute. - * - * - * @return the value of the 'Lower Bound' attribute. - * @see #setLowerBound(int) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getLowerBoundedScopeDefinition_LowerBound() - * @model - * @generated - */ - int getLowerBound(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.LowerBoundedScopeDefinition#getLowerBound Lower Bound}' attribute. - * - * - * @param value the new value of the 'Lower Bound' attribute. - * @see #getLowerBound() - * @generated - */ - void setLowerBound(int value); - -} // LowerBoundedScopeDefinition diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/ManyMultiplicity.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/ManyMultiplicity.java deleted file mode 100644 index 4a667d4a..00000000 --- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/ManyMultiplicity.java +++ /dev/null @@ -1,19 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage; - - -/** - * - * A representation of the model object 'Many Multiplicity'. - * - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getManyMultiplicity() - * @model - * @generated - */ -public interface ManyMultiplicity extends Multiplicity -{ -} // ManyMultiplicity diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/MemberDefinition.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/MemberDefinition.java deleted file mode 100644 index 3b413c11..00000000 --- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/MemberDefinition.java +++ /dev/null @@ -1,140 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage; - -import org.eclipse.emf.ecore.EObject; - -/** - * - * A representation of the model object 'Member Definition'. - * - * - *

    - * The following features are supported: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.MemberDefinition#isContainment Containment}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.MemberDefinition#getType Type}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.MemberDefinition#getMultiplicity Multiplicity}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.MemberDefinition#getName Name}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.MemberDefinition#getOpposite Opposite}
    • - *
    - * - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getMemberDefinition() - * @model - * @generated - */ -public interface MemberDefinition extends EObject -{ - /** - * Returns the value of the 'Containment' attribute. - * - * - * @return the value of the 'Containment' attribute. - * @see #setContainment(boolean) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getMemberDefinition_Containment() - * @model - * @generated - */ - boolean isContainment(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.MemberDefinition#isContainment Containment}' attribute. - * - * - * @param value the new value of the 'Containment' attribute. - * @see #isContainment() - * @generated - */ - void setContainment(boolean value); - - /** - * Returns the value of the 'Type' reference. - * - * - * @return the value of the 'Type' reference. - * @see #setType(NamedElement) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getMemberDefinition_Type() - * @model - * @generated - */ - NamedElement getType(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.MemberDefinition#getType Type}' reference. - * - * - * @param value the new value of the 'Type' reference. - * @see #getType() - * @generated - */ - void setType(NamedElement value); - - /** - * Returns the value of the 'Multiplicity' containment reference. - * - * - * @return the value of the 'Multiplicity' containment reference. - * @see #setMultiplicity(Multiplicity) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getMemberDefinition_Multiplicity() - * @model containment="true" - * @generated - */ - Multiplicity getMultiplicity(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.MemberDefinition#getMultiplicity Multiplicity}' containment reference. - * - * - * @param value the new value of the 'Multiplicity' containment reference. - * @see #getMultiplicity() - * @generated - */ - void setMultiplicity(Multiplicity value); - - /** - * Returns the value of the 'Name' attribute. - * - * - * @return the value of the 'Name' attribute. - * @see #setName(String) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getMemberDefinition_Name() - * @model - * @generated - */ - String getName(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.MemberDefinition#getName Name}' attribute. - * - * - * @param value the new value of the 'Name' attribute. - * @see #getName() - * @generated - */ - void setName(String value); - - /** - * Returns the value of the 'Opposite' reference. - * - * - * @return the value of the 'Opposite' reference. - * @see #setOpposite(NamedElement) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getMemberDefinition_Opposite() - * @model - * @generated - */ - NamedElement getOpposite(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.MemberDefinition#getOpposite Opposite}' reference. - * - * - * @param value the new value of the 'Opposite' reference. - * @see #getOpposite() - * @generated - */ - void setOpposite(NamedElement value); - -} // MemberDefinition diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/MetricDefinition.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/MetricDefinition.java deleted file mode 100644 index a35ab60c..00000000 --- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/MetricDefinition.java +++ /dev/null @@ -1,96 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage; - - -/** - * - * A representation of the model object 'Metric Definition'. - * - * - *

    - * The following features are supported: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.MetricDefinition#getHead Head}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.MetricDefinition#getBody Body}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.MetricDefinition#getType Type}
    • - *
    - * - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getMetricDefinition() - * @model - * @generated - */ -public interface MetricDefinition extends Statement -{ - /** - * Returns the value of the 'Head' containment reference. - * - * - * @return the value of the 'Head' containment reference. - * @see #setHead(Expression) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getMetricDefinition_Head() - * @model containment="true" - * @generated - */ - Expression getHead(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.MetricDefinition#getHead Head}' containment reference. - * - * - * @param value the new value of the 'Head' containment reference. - * @see #getHead() - * @generated - */ - void setHead(Expression value); - - /** - * Returns the value of the 'Body' containment reference. - * - * - * @return the value of the 'Body' containment reference. - * @see #setBody(Expression) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getMetricDefinition_Body() - * @model containment="true" - * @generated - */ - Expression getBody(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.MetricDefinition#getBody Body}' containment reference. - * - * - * @param value the new value of the 'Body' containment reference. - * @see #getBody() - * @generated - */ - void setBody(Expression value); - - /** - * Returns the value of the 'Type' attribute. - * The literals are from the enumeration {@link org.eclipse.viatra.solver.language.solverLanguage.MetricType}. - * - * - * @return the value of the 'Type' attribute. - * @see org.eclipse.viatra.solver.language.solverLanguage.MetricType - * @see #setType(MetricType) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getMetricDefinition_Type() - * @model - * @generated - */ - MetricType getType(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.MetricDefinition#getType Type}' attribute. - * - * - * @param value the new value of the 'Type' attribute. - * @see org.eclipse.viatra.solver.language.solverLanguage.MetricType - * @see #getType() - * @generated - */ - void setType(MetricType value); - -} // MetricDefinition diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/MetricType.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/MetricType.java deleted file mode 100644 index 0aa6a805..00000000 --- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/MetricType.java +++ /dev/null @@ -1,225 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage; - -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 'Metric Type', - * and utility methods for working with them. - * - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getMetricType() - * @model - * @generated - */ -public enum MetricType implements Enumerator -{ - /** - * The 'INT' literal object. - * - * - * @see #INT_VALUE - * @generated - * @ordered - */ - INT(0, "INT", "int"), - - /** - * The 'REAL' literal object. - * - * - * @see #REAL_VALUE - * @generated - * @ordered - */ - REAL(1, "REAL", "real"); - - /** - * The 'INT' literal value. - * - * - * @see #INT - * @model literal="int" - * @generated - * @ordered - */ - public static final int INT_VALUE = 0; - - /** - * The 'REAL' literal value. - * - * - * @see #REAL - * @model literal="real" - * @generated - * @ordered - */ - public static final int REAL_VALUE = 1; - - /** - * An array of all the 'Metric Type' enumerators. - * - * - * @generated - */ - private static final MetricType[] VALUES_ARRAY = - new MetricType[] - { - INT, - REAL, - }; - - /** - * A public read-only list of all the 'Metric Type' enumerators. - * - * - * @generated - */ - public static final List VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); - - /** - * Returns the 'Metric Type' literal with the specified literal value. - * - * - * @param literal the literal. - * @return the matching enumerator or null. - * @generated - */ - public static MetricType get(String literal) - { - for (int i = 0; i < VALUES_ARRAY.length; ++i) - { - MetricType result = VALUES_ARRAY[i]; - if (result.toString().equals(literal)) - { - return result; - } - } - return null; - } - - /** - * Returns the 'Metric Type' literal with the specified name. - * - * - * @param name the name. - * @return the matching enumerator or null. - * @generated - */ - public static MetricType getByName(String name) - { - for (int i = 0; i < VALUES_ARRAY.length; ++i) - { - MetricType result = VALUES_ARRAY[i]; - if (result.getName().equals(name)) - { - return result; - } - } - return null; - } - - /** - * Returns the 'Metric Type' literal with the specified integer value. - * - * - * @param value the integer value. - * @return the matching enumerator or null. - * @generated - */ - public static MetricType get(int value) - { - switch (value) - { - case INT_VALUE: return INT; - case REAL_VALUE: return REAL; - } - 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 MetricType(int value, String name, String literal) - { - this.value = value; - this.name = name; - this.literal = literal; - } - - /** - * - * - * @generated - */ - @Override - public int getValue() - { - return value; - } - - /** - * - * - * @generated - */ - @Override - public String getName() - { - return name; - } - - /** - * - * - * @generated - */ - @Override - public String getLiteral() - { - return literal; - } - - /** - * Returns the literal value of the enumerator, which is its string representation. - * - * - * @generated - */ - @Override - public String toString() - { - return literal; - } - -} //MetricType diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Multiplicity.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Multiplicity.java deleted file mode 100644 index 1cbfadd6..00000000 --- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Multiplicity.java +++ /dev/null @@ -1,20 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage; - -import org.eclipse.emf.ecore.EObject; - -/** - * - * A representation of the model object 'Multiplicity'. - * - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getMultiplicity() - * @model - * @generated - */ -public interface Multiplicity extends EObject -{ -} // Multiplicity diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/NamedElement.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/NamedElement.java deleted file mode 100644 index 0372da14..00000000 --- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/NamedElement.java +++ /dev/null @@ -1,48 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage; - -import org.eclipse.emf.ecore.EObject; - -/** - * - * A representation of the model object 'Named Element'. - * - * - *

    - * The following features are supported: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.NamedElement#getName Name}
    • - *
    - * - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getNamedElement() - * @model - * @generated - */ -public interface NamedElement extends EObject -{ - /** - * Returns the value of the 'Name' attribute. - * - * - * @return the value of the 'Name' attribute. - * @see #setName(String) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getNamedElement_Name() - * @model - * @generated - */ - String getName(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.NamedElement#getName Name}' attribute. - * - * - * @param value the new value of the 'Name' attribute. - * @see #getName() - * @generated - */ - void setName(String value); - -} // NamedElement diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/NumericLiteral.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/NumericLiteral.java deleted file mode 100644 index 9e30d508..00000000 --- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/NumericLiteral.java +++ /dev/null @@ -1,48 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage; - -import java.math.BigDecimal; - -/** - * - * A representation of the model object 'Numeric Literal'. - * - * - *

    - * The following features are supported: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.NumericLiteral#getValue Value}
    • - *
    - * - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getNumericLiteral() - * @model - * @generated - */ -public interface NumericLiteral extends Literal -{ - /** - * Returns the value of the 'Value' attribute. - * - * - * @return the value of the 'Value' attribute. - * @see #setValue(BigDecimal) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getNumericLiteral_Value() - * @model - * @generated - */ - BigDecimal getValue(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.NumericLiteral#getValue Value}' attribute. - * - * - * @param value the new value of the 'Value' attribute. - * @see #getValue() - * @generated - */ - void setValue(BigDecimal value); - -} // NumericLiteral diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/ObjectiveDefinition.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/ObjectiveDefinition.java deleted file mode 100644 index 417a389c..00000000 --- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/ObjectiveDefinition.java +++ /dev/null @@ -1,73 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage; - - -/** - * - * A representation of the model object 'Objective Definition'. - * - * - *

    - * The following features are supported: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.ObjectiveDefinition#getKind Kind}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.ObjectiveDefinition#getObjective Objective}
    • - *
    - * - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getObjectiveDefinition() - * @model - * @generated - */ -public interface ObjectiveDefinition extends Statement -{ - /** - * Returns the value of the 'Kind' attribute. - * The literals are from the enumeration {@link org.eclipse.viatra.solver.language.solverLanguage.ObjectiveKind}. - * - * - * @return the value of the 'Kind' attribute. - * @see org.eclipse.viatra.solver.language.solverLanguage.ObjectiveKind - * @see #setKind(ObjectiveKind) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getObjectiveDefinition_Kind() - * @model - * @generated - */ - ObjectiveKind getKind(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.ObjectiveDefinition#getKind Kind}' attribute. - * - * - * @param value the new value of the 'Kind' attribute. - * @see org.eclipse.viatra.solver.language.solverLanguage.ObjectiveKind - * @see #getKind() - * @generated - */ - void setKind(ObjectiveKind value); - - /** - * Returns the value of the 'Objective' containment reference. - * - * - * @return the value of the 'Objective' containment reference. - * @see #setObjective(Expression) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getObjectiveDefinition_Objective() - * @model containment="true" - * @generated - */ - Expression getObjective(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.ObjectiveDefinition#getObjective Objective}' containment reference. - * - * - * @param value the new value of the 'Objective' containment reference. - * @see #getObjective() - * @generated - */ - void setObjective(Expression value); - -} // ObjectiveDefinition diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/ObjectiveKind.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/ObjectiveKind.java deleted file mode 100644 index d3a4f626..00000000 --- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/ObjectiveKind.java +++ /dev/null @@ -1,225 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage; - -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 'Objective Kind', - * and utility methods for working with them. - * - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getObjectiveKind() - * @model - * @generated - */ -public enum ObjectiveKind implements Enumerator -{ - /** - * The 'MINIMIZE' literal object. - * - * - * @see #MINIMIZE_VALUE - * @generated - * @ordered - */ - MINIMIZE(0, "MINIMIZE", "minimize"), - - /** - * The 'MAXIMIZE' literal object. - * - * - * @see #MAXIMIZE_VALUE - * @generated - * @ordered - */ - MAXIMIZE(1, "MAXIMIZE", "maximize"); - - /** - * The 'MINIMIZE' literal value. - * - * - * @see #MINIMIZE - * @model literal="minimize" - * @generated - * @ordered - */ - public static final int MINIMIZE_VALUE = 0; - - /** - * The 'MAXIMIZE' literal value. - * - * - * @see #MAXIMIZE - * @model literal="maximize" - * @generated - * @ordered - */ - public static final int MAXIMIZE_VALUE = 1; - - /** - * An array of all the 'Objective Kind' enumerators. - * - * - * @generated - */ - private static final ObjectiveKind[] VALUES_ARRAY = - new ObjectiveKind[] - { - MINIMIZE, - MAXIMIZE, - }; - - /** - * A public read-only list of all the 'Objective Kind' enumerators. - * - * - * @generated - */ - public static final List VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); - - /** - * Returns the 'Objective Kind' literal with the specified literal value. - * - * - * @param literal the literal. - * @return the matching enumerator or null. - * @generated - */ - public static ObjectiveKind get(String literal) - { - for (int i = 0; i < VALUES_ARRAY.length; ++i) - { - ObjectiveKind result = VALUES_ARRAY[i]; - if (result.toString().equals(literal)) - { - return result; - } - } - return null; - } - - /** - * Returns the 'Objective Kind' literal with the specified name. - * - * - * @param name the name. - * @return the matching enumerator or null. - * @generated - */ - public static ObjectiveKind getByName(String name) - { - for (int i = 0; i < VALUES_ARRAY.length; ++i) - { - ObjectiveKind result = VALUES_ARRAY[i]; - if (result.getName().equals(name)) - { - return result; - } - } - return null; - } - - /** - * Returns the 'Objective Kind' literal with the specified integer value. - * - * - * @param value the integer value. - * @return the matching enumerator or null. - * @generated - */ - public static ObjectiveKind get(int value) - { - switch (value) - { - case MINIMIZE_VALUE: return MINIMIZE; - case MAXIMIZE_VALUE: return MAXIMIZE; - } - 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 ObjectiveKind(int value, String name, String literal) - { - this.value = value; - this.name = name; - this.literal = literal; - } - - /** - * - * - * @generated - */ - @Override - public int getValue() - { - return value; - } - - /** - * - * - * @generated - */ - @Override - public String getName() - { - return name; - } - - /** - * - * - * @generated - */ - @Override - public String getLiteral() - { - return literal; - } - - /** - * Returns the literal value of the enumerator, which is its string representation. - * - * - * @generated - */ - @Override - public String toString() - { - return literal; - } - -} //ObjectiveKind diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/PredicateDefinition.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/PredicateDefinition.java deleted file mode 100644 index 256cb5ac..00000000 --- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/PredicateDefinition.java +++ /dev/null @@ -1,116 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage; - - -/** - * - * A representation of the model object 'Predicate Definition'. - * - * - *

    - * The following features are supported: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.PredicateDefinition#getHead Head}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.PredicateDefinition#getBody Body}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.PredicateDefinition#isFunctional Functional}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.PredicateDefinition#isError Error}
    • - *
    - * - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getPredicateDefinition() - * @model - * @generated - */ -public interface PredicateDefinition extends Statement -{ - /** - * Returns the value of the 'Head' containment reference. - * - * - * @return the value of the 'Head' containment reference. - * @see #setHead(Expression) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getPredicateDefinition_Head() - * @model containment="true" - * @generated - */ - Expression getHead(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.PredicateDefinition#getHead Head}' containment reference. - * - * - * @param value the new value of the 'Head' containment reference. - * @see #getHead() - * @generated - */ - void setHead(Expression value); - - /** - * Returns the value of the 'Body' containment reference. - * - * - * @return the value of the 'Body' containment reference. - * @see #setBody(Expression) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getPredicateDefinition_Body() - * @model containment="true" - * @generated - */ - Expression getBody(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.PredicateDefinition#getBody Body}' containment reference. - * - * - * @param value the new value of the 'Body' containment reference. - * @see #getBody() - * @generated - */ - void setBody(Expression value); - - /** - * Returns the value of the 'Functional' attribute. - * - * - * @return the value of the 'Functional' attribute. - * @see #setFunctional(boolean) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getPredicateDefinition_Functional() - * @model - * @generated - */ - boolean isFunctional(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.PredicateDefinition#isFunctional Functional}' attribute. - * - * - * @param value the new value of the 'Functional' attribute. - * @see #isFunctional() - * @generated - */ - void setFunctional(boolean value); - - /** - * Returns the value of the 'Error' attribute. - * - * - * @return the value of the 'Error' attribute. - * @see #setError(boolean) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getPredicateDefinition_Error() - * @model - * @generated - */ - boolean isError(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.PredicateDefinition#isError Error}' attribute. - * - * - * @param value the new value of the 'Error' attribute. - * @see #isError() - * @generated - */ - void setError(boolean value); - -} // PredicateDefinition diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Problem.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Problem.java deleted file mode 100644 index 2383bf18..00000000 --- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Problem.java +++ /dev/null @@ -1,40 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage; - -import org.eclipse.emf.common.util.EList; - -import org.eclipse.emf.ecore.EObject; - -/** - * - * A representation of the model object 'Problem'. - * - * - *

    - * The following features are supported: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.Problem#getStatements Statements}
    • - *
    - * - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getProblem() - * @model - * @generated - */ -public interface Problem extends EObject -{ - /** - * Returns the value of the 'Statements' containment reference list. - * The list contents are of type {@link org.eclipse.viatra.solver.language.solverLanguage.Statement}. - * - * - * @return the value of the 'Statements' containment reference list. - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getProblem_Statements() - * @model containment="true" - * @generated - */ - EList getStatements(); - -} // Problem diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Reference.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Reference.java deleted file mode 100644 index 6adb6a9d..00000000 --- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Reference.java +++ /dev/null @@ -1,47 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage; - - -/** - * - * A representation of the model object 'Reference'. - * - * - *

    - * The following features are supported: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.Reference#getReferred Referred}
    • - *
    - * - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getReference() - * @model - * @generated - */ -public interface Reference extends Expression -{ - /** - * Returns the value of the 'Referred' reference. - * - * - * @return the value of the 'Referred' reference. - * @see #setReferred(NamedElement) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getReference_Referred() - * @model - * @generated - */ - NamedElement getReferred(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.Reference#getReferred Referred}' reference. - * - * - * @param value the new value of the 'Referred' reference. - * @see #getReferred() - * @generated - */ - void setReferred(NamedElement value); - -} // Reference diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/ScopeDefinition.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/ScopeDefinition.java deleted file mode 100644 index 42fb6513..00000000 --- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/ScopeDefinition.java +++ /dev/null @@ -1,47 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage; - - -/** - * - * A representation of the model object 'Scope Definition'. - * - * - *

    - * The following features are supported: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.ScopeDefinition#getType Type}
    • - *
    - * - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getScopeDefinition() - * @model - * @generated - */ -public interface ScopeDefinition extends Statement -{ - /** - * Returns the value of the 'Type' reference. - * - * - * @return the value of the 'Type' reference. - * @see #setType(NamedElement) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getScopeDefinition_Type() - * @model - * @generated - */ - NamedElement getType(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.ScopeDefinition#getType Type}' reference. - * - * - * @param value the new value of the 'Type' reference. - * @see #getType() - * @generated - */ - void setType(NamedElement value); - -} // ScopeDefinition diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/SolverLanguageFactory.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/SolverLanguageFactory.java deleted file mode 100644 index f6e293b9..00000000 --- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/SolverLanguageFactory.java +++ /dev/null @@ -1,458 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage; - -import org.eclipse.emf.ecore.EFactory; - -/** - * - * The Factory for the model. - * It provides a create method for each non-abstract class of the model. - * - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage - * @generated - */ -public interface SolverLanguageFactory extends EFactory -{ - /** - * The singleton instance of the factory. - * - * - * @generated - */ - SolverLanguageFactory eINSTANCE = org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguageFactoryImpl.init(); - - /** - * Returns a new object of class 'Problem'. - * - * - * @return a new object of class 'Problem'. - * @generated - */ - Problem createProblem(); - - /** - * Returns a new object of class 'Statement'. - * - * - * @return a new object of class 'Statement'. - * @generated - */ - Statement createStatement(); - - /** - * Returns a new object of class 'Predicate Definition'. - * - * - * @return a new object of class 'Predicate Definition'. - * @generated - */ - PredicateDefinition createPredicateDefinition(); - - /** - * Returns a new object of class 'Unnamed Error Prediate Definition'. - * - * - * @return a new object of class 'Unnamed Error Prediate Definition'. - * @generated - */ - UnnamedErrorPrediateDefinition createUnnamedErrorPrediateDefinition(); - - /** - * Returns a new object of class 'Default Definition'. - * - * - * @return a new object of class 'Default Definition'. - * @generated - */ - DefaultDefinition createDefaultDefinition(); - - /** - * Returns a new object of class 'Extern Predicate Definition'. - * - * - * @return a new object of class 'Extern Predicate Definition'. - * @generated - */ - ExternPredicateDefinition createExternPredicateDefinition(); - - /** - * Returns a new object of class 'Metric Definition'. - * - * - * @return a new object of class 'Metric Definition'. - * @generated - */ - MetricDefinition createMetricDefinition(); - - /** - * Returns a new object of class 'Extern Metric Definition'. - * - * - * @return a new object of class 'Extern Metric Definition'. - * @generated - */ - ExternMetricDefinition createExternMetricDefinition(); - - /** - * Returns a new object of class 'Expression'. - * - * - * @return a new object of class 'Expression'. - * @generated - */ - Expression createExpression(); - - /** - * Returns a new object of class 'If Else'. - * - * - * @return a new object of class 'If Else'. - * @generated - */ - IfElse createIfElse(); - - /** - * Returns a new object of class 'Case'. - * - * - * @return a new object of class 'Case'. - * @generated - */ - Case createCase(); - - /** - * Returns a new object of class 'Count'. - * - * - * @return a new object of class 'Count'. - * @generated - */ - Count createCount(); - - /** - * Returns a new object of class 'Aggregation'. - * - * - * @return a new object of class 'Aggregation'. - * @generated - */ - Aggregation createAggregation(); - - /** - * Returns a new object of class 'Call'. - * - * - * @return a new object of class 'Call'. - * @generated - */ - Call createCall(); - - /** - * Returns a new object of class 'Argument List'. - * - * - * @return a new object of class 'Argument List'. - * @generated - */ - ArgumentList createArgumentList(); - - /** - * Returns a new object of class 'Argument'. - * - * - * @return a new object of class 'Argument'. - * @generated - */ - Argument createArgument(); - - /** - * Returns a new object of class 'Expression Argument'. - * - * - * @return a new object of class 'Expression Argument'. - * @generated - */ - ExpressionArgument createExpressionArgument(); - - /** - * Returns a new object of class 'Star Argument'. - * - * - * @return a new object of class 'Star Argument'. - * @generated - */ - StarArgument createStarArgument(); - - /** - * Returns a new object of class 'Typed Argument'. - * - * - * @return a new object of class 'Typed Argument'. - * @generated - */ - TypedArgument createTypedArgument(); - - /** - * Returns a new object of class 'Typed Star Argument'. - * - * - * @return a new object of class 'Typed Star Argument'. - * @generated - */ - TypedStarArgument createTypedStarArgument(); - - /** - * Returns a new object of class 'Reference'. - * - * - * @return a new object of class 'Reference'. - * @generated - */ - Reference createReference(); - - /** - * Returns a new object of class 'Interval'. - * - * - * @return a new object of class 'Interval'. - * @generated - */ - Interval createInterval(); - - /** - * Returns a new object of class 'Literal'. - * - * - * @return a new object of class 'Literal'. - * @generated - */ - Literal createLiteral(); - - /** - * Returns a new object of class 'Logic Literal'. - * - * - * @return a new object of class 'Logic Literal'. - * @generated - */ - LogicLiteral createLogicLiteral(); - - /** - * Returns a new object of class 'Numeric Literal'. - * - * - * @return a new object of class 'Numeric Literal'. - * @generated - */ - NumericLiteral createNumericLiteral(); - - /** - * Returns a new object of class 'Infinity Literal'. - * - * - * @return a new object of class 'Infinity Literal'. - * @generated - */ - InfinityLiteral createInfinityLiteral(); - - /** - * Returns a new object of class 'Empty Interval Literal'. - * - * - * @return a new object of class 'Empty Interval Literal'. - * @generated - */ - EmptyIntervalLiteral createEmptyIntervalLiteral(); - - /** - * Returns a new object of class 'String Literal'. - * - * - * @return a new object of class 'String Literal'. - * @generated - */ - StringLiteral createStringLiteral(); - - /** - * Returns a new object of class 'Class Definition'. - * - * - * @return a new object of class 'Class Definition'. - * @generated - */ - ClassDefinition createClassDefinition(); - - /** - * Returns a new object of class 'Member Definition'. - * - * - * @return a new object of class 'Member Definition'. - * @generated - */ - MemberDefinition createMemberDefinition(); - - /** - * Returns a new object of class 'Multiplicity'. - * - * - * @return a new object of class 'Multiplicity'. - * @generated - */ - Multiplicity createMultiplicity(); - - /** - * Returns a new object of class 'Many Multiplicity'. - * - * - * @return a new object of class 'Many Multiplicity'. - * @generated - */ - ManyMultiplicity createManyMultiplicity(); - - /** - * Returns a new object of class 'Exact Multiplicity'. - * - * - * @return a new object of class 'Exact Multiplicity'. - * @generated - */ - ExactMultiplicity createExactMultiplicity(); - - /** - * Returns a new object of class 'Bounded Multiplicity'. - * - * - * @return a new object of class 'Bounded Multiplicity'. - * @generated - */ - BoundedMultiplicity createBoundedMultiplicity(); - - /** - * Returns a new object of class 'Scope Definition'. - * - * - * @return a new object of class 'Scope Definition'. - * @generated - */ - ScopeDefinition createScopeDefinition(); - - /** - * Returns a new object of class 'Exact Scope Definition'. - * - * - * @return a new object of class 'Exact Scope Definition'. - * @generated - */ - ExactScopeDefinition createExactScopeDefinition(); - - /** - * Returns a new object of class 'Bounded Scope Definition'. - * - * - * @return a new object of class 'Bounded Scope Definition'. - * @generated - */ - BoundedScopeDefinition createBoundedScopeDefinition(); - - /** - * Returns a new object of class 'Lower Bounded Scope Definition'. - * - * - * @return a new object of class 'Lower Bounded Scope Definition'. - * @generated - */ - LowerBoundedScopeDefinition createLowerBoundedScopeDefinition(); - - /** - * Returns a new object of class 'Objective Definition'. - * - * - * @return a new object of class 'Objective Definition'. - * @generated - */ - ObjectiveDefinition createObjectiveDefinition(); - - /** - * Returns a new object of class 'Named Element'. - * - * - * @return a new object of class 'Named Element'. - * @generated - */ - NamedElement createNamedElement(); - - /** - * Returns a new object of class 'Assertion'. - * - * - * @return a new object of class 'Assertion'. - * @generated - */ - Assertion createAssertion(); - - /** - * Returns a new object of class 'Disjunction'. - * - * - * @return a new object of class 'Disjunction'. - * @generated - */ - Disjunction createDisjunction(); - - /** - * Returns a new object of class 'Switch'. - * - * - * @return a new object of class 'Switch'. - * @generated - */ - Switch createSwitch(); - - /** - * Returns a new object of class 'Conjunction'. - * - * - * @return a new object of class 'Conjunction'. - * @generated - */ - Conjunction createConjunction(); - - /** - * Returns a new object of class 'Comparison'. - * - * - * @return a new object of class 'Comparison'. - * @generated - */ - Comparison createComparison(); - - /** - * Returns a new object of class 'Binary Expression'. - * - * - * @return a new object of class 'Binary Expression'. - * @generated - */ - BinaryExpression createBinaryExpression(); - - /** - * Returns a new object of class 'Unary Expression'. - * - * - * @return a new object of class 'Unary Expression'. - * @generated - */ - UnaryExpression createUnaryExpression(); - - /** - * Returns the package supported by this factory. - * - * - * @return the package supported by this factory. - * @generated - */ - SolverLanguagePackage getSolverLanguagePackage(); - -} //SolverLanguageFactory diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/SolverLanguagePackage.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/SolverLanguagePackage.java deleted file mode 100644 index ac9279c3..00000000 --- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/SolverLanguagePackage.java +++ /dev/null @@ -1,4143 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage; - -import org.eclipse.emf.ecore.EAttribute; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EEnum; -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.emf.ecore.EReference; - -/** - * - * The Package for the model. - * It contains accessors for the meta objects to represent - *
      - *
    • each class,
    • - *
    • each feature of each class,
    • - *
    • each enum,
    • - *
    • and each data type
    • - *
    - * - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguageFactory - * @model kind="package" - * @generated - */ -public interface SolverLanguagePackage extends EPackage -{ - /** - * The package name. - * - * - * @generated - */ - String eNAME = "solverLanguage"; - - /** - * The package namespace URI. - * - * - * @generated - */ - String eNS_URI = "http://www.eclipse.org/viatra/solver/language/SolverLanguage"; - - /** - * The package namespace name. - * - * - * @generated - */ - String eNS_PREFIX = "solverLanguage"; - - /** - * The singleton instance of the package. - * - * - * @generated - */ - SolverLanguagePackage eINSTANCE = org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl.init(); - - /** - * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ProblemImpl Problem}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ProblemImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getProblem() - * @generated - */ - int PROBLEM = 0; - - /** - * The feature id for the 'Statements' containment reference list. - * - * - * @generated - * @ordered - */ - int PROBLEM__STATEMENTS = 0; - - /** - * The number of structural features of the 'Problem' class. - * - * - * @generated - * @ordered - */ - int PROBLEM_FEATURE_COUNT = 1; - - /** - * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.StatementImpl Statement}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.StatementImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getStatement() - * @generated - */ - int STATEMENT = 1; - - /** - * The number of structural features of the 'Statement' class. - * - * - * @generated - * @ordered - */ - int STATEMENT_FEATURE_COUNT = 0; - - /** - * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.PredicateDefinitionImpl Predicate Definition}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.PredicateDefinitionImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getPredicateDefinition() - * @generated - */ - int PREDICATE_DEFINITION = 2; - - /** - * The feature id for the 'Head' containment reference. - * - * - * @generated - * @ordered - */ - int PREDICATE_DEFINITION__HEAD = STATEMENT_FEATURE_COUNT + 0; - - /** - * The feature id for the 'Body' containment reference. - * - * - * @generated - * @ordered - */ - int PREDICATE_DEFINITION__BODY = STATEMENT_FEATURE_COUNT + 1; - - /** - * The feature id for the 'Functional' attribute. - * - * - * @generated - * @ordered - */ - int PREDICATE_DEFINITION__FUNCTIONAL = STATEMENT_FEATURE_COUNT + 2; - - /** - * The feature id for the 'Error' attribute. - * - * - * @generated - * @ordered - */ - int PREDICATE_DEFINITION__ERROR = STATEMENT_FEATURE_COUNT + 3; - - /** - * The number of structural features of the 'Predicate Definition' class. - * - * - * @generated - * @ordered - */ - int PREDICATE_DEFINITION_FEATURE_COUNT = STATEMENT_FEATURE_COUNT + 4; - - /** - * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.UnnamedErrorPrediateDefinitionImpl Unnamed Error Prediate Definition}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.UnnamedErrorPrediateDefinitionImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getUnnamedErrorPrediateDefinition() - * @generated - */ - int UNNAMED_ERROR_PREDIATE_DEFINITION = 3; - - /** - * The feature id for the 'Argument List' containment reference. - * - * - * @generated - * @ordered - */ - int UNNAMED_ERROR_PREDIATE_DEFINITION__ARGUMENT_LIST = STATEMENT_FEATURE_COUNT + 0; - - /** - * The feature id for the 'Body' containment reference. - * - * - * @generated - * @ordered - */ - int UNNAMED_ERROR_PREDIATE_DEFINITION__BODY = STATEMENT_FEATURE_COUNT + 1; - - /** - * The number of structural features of the 'Unnamed Error Prediate Definition' class. - * - * - * @generated - * @ordered - */ - int UNNAMED_ERROR_PREDIATE_DEFINITION_FEATURE_COUNT = STATEMENT_FEATURE_COUNT + 2; - - /** - * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.DefaultDefinitionImpl Default Definition}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.DefaultDefinitionImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getDefaultDefinition() - * @generated - */ - int DEFAULT_DEFINITION = 4; - - /** - * The feature id for the 'Head' containment reference. - * - * - * @generated - * @ordered - */ - int DEFAULT_DEFINITION__HEAD = STATEMENT_FEATURE_COUNT + 0; - - /** - * The feature id for the 'Range' containment reference. - * - * - * @generated - * @ordered - */ - int DEFAULT_DEFINITION__RANGE = STATEMENT_FEATURE_COUNT + 1; - - /** - * The number of structural features of the 'Default Definition' class. - * - * - * @generated - * @ordered - */ - int DEFAULT_DEFINITION_FEATURE_COUNT = STATEMENT_FEATURE_COUNT + 2; - - /** - * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExternPredicateDefinitionImpl Extern Predicate Definition}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ExternPredicateDefinitionImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getExternPredicateDefinition() - * @generated - */ - int EXTERN_PREDICATE_DEFINITION = 5; - - /** - * The feature id for the 'Head' containment reference. - * - * - * @generated - * @ordered - */ - int EXTERN_PREDICATE_DEFINITION__HEAD = STATEMENT_FEATURE_COUNT + 0; - - /** - * The number of structural features of the 'Extern Predicate Definition' class. - * - * - * @generated - * @ordered - */ - int EXTERN_PREDICATE_DEFINITION_FEATURE_COUNT = STATEMENT_FEATURE_COUNT + 1; - - /** - * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.MetricDefinitionImpl Metric Definition}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.MetricDefinitionImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getMetricDefinition() - * @generated - */ - int METRIC_DEFINITION = 6; - - /** - * The feature id for the 'Head' containment reference. - * - * - * @generated - * @ordered - */ - int METRIC_DEFINITION__HEAD = STATEMENT_FEATURE_COUNT + 0; - - /** - * The feature id for the 'Body' containment reference. - * - * - * @generated - * @ordered - */ - int METRIC_DEFINITION__BODY = STATEMENT_FEATURE_COUNT + 1; - - /** - * The feature id for the 'Type' attribute. - * - * - * @generated - * @ordered - */ - int METRIC_DEFINITION__TYPE = STATEMENT_FEATURE_COUNT + 2; - - /** - * The number of structural features of the 'Metric Definition' class. - * - * - * @generated - * @ordered - */ - int METRIC_DEFINITION_FEATURE_COUNT = STATEMENT_FEATURE_COUNT + 3; - - /** - * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExternMetricDefinitionImpl Extern Metric Definition}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ExternMetricDefinitionImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getExternMetricDefinition() - * @generated - */ - int EXTERN_METRIC_DEFINITION = 7; - - /** - * The feature id for the 'Type' attribute. - * - * - * @generated - * @ordered - */ - int EXTERN_METRIC_DEFINITION__TYPE = STATEMENT_FEATURE_COUNT + 0; - - /** - * The feature id for the 'Head' containment reference. - * - * - * @generated - * @ordered - */ - int EXTERN_METRIC_DEFINITION__HEAD = STATEMENT_FEATURE_COUNT + 1; - - /** - * The number of structural features of the 'Extern Metric Definition' class. - * - * - * @generated - * @ordered - */ - int EXTERN_METRIC_DEFINITION_FEATURE_COUNT = STATEMENT_FEATURE_COUNT + 2; - - /** - * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExpressionImpl Expression}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ExpressionImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getExpression() - * @generated - */ - int EXPRESSION = 8; - - /** - * The number of structural features of the 'Expression' class. - * - * - * @generated - * @ordered - */ - int EXPRESSION_FEATURE_COUNT = STATEMENT_FEATURE_COUNT + 0; - - /** - * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.IfElseImpl If Else}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.IfElseImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getIfElse() - * @generated - */ - int IF_ELSE = 9; - - /** - * The feature id for the 'Condition' containment reference. - * - * - * @generated - * @ordered - */ - int IF_ELSE__CONDITION = EXPRESSION_FEATURE_COUNT + 0; - - /** - * The feature id for the 'Then' containment reference. - * - * - * @generated - * @ordered - */ - int IF_ELSE__THEN = EXPRESSION_FEATURE_COUNT + 1; - - /** - * The feature id for the 'Else' containment reference. - * - * - * @generated - * @ordered - */ - int IF_ELSE__ELSE = EXPRESSION_FEATURE_COUNT + 2; - - /** - * The number of structural features of the 'If Else' class. - * - * - * @generated - * @ordered - */ - int IF_ELSE_FEATURE_COUNT = EXPRESSION_FEATURE_COUNT + 3; - - /** - * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.CaseImpl Case}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.CaseImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getCase() - * @generated - */ - int CASE = 10; - - /** - * The feature id for the 'Condition' containment reference. - * - * - * @generated - * @ordered - */ - int CASE__CONDITION = EXPRESSION_FEATURE_COUNT + 0; - - /** - * The feature id for the 'Body' containment reference. - * - * - * @generated - * @ordered - */ - int CASE__BODY = EXPRESSION_FEATURE_COUNT + 1; - - /** - * The number of structural features of the 'Case' class. - * - * - * @generated - * @ordered - */ - int CASE_FEATURE_COUNT = EXPRESSION_FEATURE_COUNT + 2; - - /** - * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.CountImpl Count}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.CountImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getCount() - * @generated - */ - int COUNT = 11; - - /** - * The feature id for the 'Body' containment reference. - * - * - * @generated - * @ordered - */ - int COUNT__BODY = EXPRESSION_FEATURE_COUNT + 0; - - /** - * The number of structural features of the 'Count' class. - * - * - * @generated - * @ordered - */ - int COUNT_FEATURE_COUNT = EXPRESSION_FEATURE_COUNT + 1; - - /** - * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.AggregationImpl Aggregation}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.AggregationImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getAggregation() - * @generated - */ - int AGGREGATION = 12; - - /** - * The feature id for the 'Op' attribute. - * - * - * @generated - * @ordered - */ - int AGGREGATION__OP = EXPRESSION_FEATURE_COUNT + 0; - - /** - * The feature id for the 'Body' containment reference. - * - * - * @generated - * @ordered - */ - int AGGREGATION__BODY = EXPRESSION_FEATURE_COUNT + 1; - - /** - * The feature id for the 'Condition' containment reference. - * - * - * @generated - * @ordered - */ - int AGGREGATION__CONDITION = EXPRESSION_FEATURE_COUNT + 2; - - /** - * The number of structural features of the 'Aggregation' class. - * - * - * @generated - * @ordered - */ - int AGGREGATION_FEATURE_COUNT = EXPRESSION_FEATURE_COUNT + 3; - - /** - * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.CallImpl Call}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.CallImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getCall() - * @generated - */ - int CALL = 13; - - /** - * The feature id for the 'Functor' containment reference. - * - * - * @generated - * @ordered - */ - int CALL__FUNCTOR = EXPRESSION_FEATURE_COUNT + 0; - - /** - * The feature id for the 'Transitive Closure' attribute. - * - * - * @generated - * @ordered - */ - int CALL__TRANSITIVE_CLOSURE = EXPRESSION_FEATURE_COUNT + 1; - - /** - * The feature id for the 'Reflexive Transitive Closure' attribute. - * - * - * @generated - * @ordered - */ - int CALL__REFLEXIVE_TRANSITIVE_CLOSURE = EXPRESSION_FEATURE_COUNT + 2; - - /** - * The feature id for the 'Argument List' containment reference. - * - * - * @generated - * @ordered - */ - int CALL__ARGUMENT_LIST = EXPRESSION_FEATURE_COUNT + 3; - - /** - * The number of structural features of the 'Call' class. - * - * - * @generated - * @ordered - */ - int CALL_FEATURE_COUNT = EXPRESSION_FEATURE_COUNT + 4; - - /** - * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ArgumentListImpl Argument List}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ArgumentListImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getArgumentList() - * @generated - */ - int ARGUMENT_LIST = 14; - - /** - * The feature id for the 'Arguments' containment reference list. - * - * - * @generated - * @ordered - */ - int ARGUMENT_LIST__ARGUMENTS = 0; - - /** - * The number of structural features of the 'Argument List' class. - * - * - * @generated - * @ordered - */ - int ARGUMENT_LIST_FEATURE_COUNT = 1; - - /** - * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ArgumentImpl Argument}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ArgumentImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getArgument() - * @generated - */ - int ARGUMENT = 15; - - /** - * The number of structural features of the 'Argument' class. - * - * - * @generated - * @ordered - */ - int ARGUMENT_FEATURE_COUNT = 0; - - /** - * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExpressionArgumentImpl Expression Argument}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ExpressionArgumentImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getExpressionArgument() - * @generated - */ - int EXPRESSION_ARGUMENT = 16; - - /** - * The feature id for the 'Body' containment reference. - * - * - * @generated - * @ordered - */ - int EXPRESSION_ARGUMENT__BODY = ARGUMENT_FEATURE_COUNT + 0; - - /** - * The number of structural features of the 'Expression Argument' class. - * - * - * @generated - * @ordered - */ - int EXPRESSION_ARGUMENT_FEATURE_COUNT = ARGUMENT_FEATURE_COUNT + 1; - - /** - * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.StarArgumentImpl Star Argument}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.StarArgumentImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getStarArgument() - * @generated - */ - int STAR_ARGUMENT = 17; - - /** - * The number of structural features of the 'Star Argument' class. - * - * - * @generated - * @ordered - */ - int STAR_ARGUMENT_FEATURE_COUNT = ARGUMENT_FEATURE_COUNT + 0; - - /** - * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.TypedArgumentImpl Typed Argument}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.TypedArgumentImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getTypedArgument() - * @generated - */ - int TYPED_ARGUMENT = 18; - - /** - * The feature id for the 'Type' reference. - * - * - * @generated - * @ordered - */ - int TYPED_ARGUMENT__TYPE = ARGUMENT_FEATURE_COUNT + 0; - - /** - * The feature id for the 'Variable' reference. - * - * - * @generated - * @ordered - */ - int TYPED_ARGUMENT__VARIABLE = ARGUMENT_FEATURE_COUNT + 1; - - /** - * The number of structural features of the 'Typed Argument' class. - * - * - * @generated - * @ordered - */ - int TYPED_ARGUMENT_FEATURE_COUNT = ARGUMENT_FEATURE_COUNT + 2; - - /** - * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.TypedStarArgumentImpl Typed Star Argument}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.TypedStarArgumentImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getTypedStarArgument() - * @generated - */ - int TYPED_STAR_ARGUMENT = 19; - - /** - * The feature id for the 'Type' reference. - * - * - * @generated - * @ordered - */ - int TYPED_STAR_ARGUMENT__TYPE = ARGUMENT_FEATURE_COUNT + 0; - - /** - * The number of structural features of the 'Typed Star Argument' class. - * - * - * @generated - * @ordered - */ - int TYPED_STAR_ARGUMENT_FEATURE_COUNT = ARGUMENT_FEATURE_COUNT + 1; - - /** - * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ReferenceImpl Reference}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ReferenceImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getReference() - * @generated - */ - int REFERENCE = 20; - - /** - * The feature id for the 'Referred' reference. - * - * - * @generated - * @ordered - */ - int REFERENCE__REFERRED = EXPRESSION_FEATURE_COUNT + 0; - - /** - * The number of structural features of the 'Reference' class. - * - * - * @generated - * @ordered - */ - int REFERENCE_FEATURE_COUNT = EXPRESSION_FEATURE_COUNT + 1; - - /** - * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.IntervalImpl Interval}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.IntervalImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getInterval() - * @generated - */ - int INTERVAL = 21; - - /** - * The feature id for the 'Lower Bound' containment reference. - * - * - * @generated - * @ordered - */ - int INTERVAL__LOWER_BOUND = EXPRESSION_FEATURE_COUNT + 0; - - /** - * The feature id for the 'Upper Bound' containment reference. - * - * - * @generated - * @ordered - */ - int INTERVAL__UPPER_BOUND = EXPRESSION_FEATURE_COUNT + 1; - - /** - * The number of structural features of the 'Interval' class. - * - * - * @generated - * @ordered - */ - int INTERVAL_FEATURE_COUNT = EXPRESSION_FEATURE_COUNT + 2; - - /** - * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.LiteralImpl Literal}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.LiteralImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getLiteral() - * @generated - */ - int LITERAL = 22; - - /** - * The number of structural features of the 'Literal' class. - * - * - * @generated - * @ordered - */ - int LITERAL_FEATURE_COUNT = EXPRESSION_FEATURE_COUNT + 0; - - /** - * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.LogicLiteralImpl Logic Literal}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.LogicLiteralImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getLogicLiteral() - * @generated - */ - int LOGIC_LITERAL = 23; - - /** - * The feature id for the 'Value' attribute. - * - * - * @generated - * @ordered - */ - int LOGIC_LITERAL__VALUE = LITERAL_FEATURE_COUNT + 0; - - /** - * The number of structural features of the 'Logic Literal' class. - * - * - * @generated - * @ordered - */ - int LOGIC_LITERAL_FEATURE_COUNT = LITERAL_FEATURE_COUNT + 1; - - /** - * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.NumericLiteralImpl Numeric Literal}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.NumericLiteralImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getNumericLiteral() - * @generated - */ - int NUMERIC_LITERAL = 24; - - /** - * The feature id for the 'Value' attribute. - * - * - * @generated - * @ordered - */ - int NUMERIC_LITERAL__VALUE = LITERAL_FEATURE_COUNT + 0; - - /** - * The number of structural features of the 'Numeric Literal' class. - * - * - * @generated - * @ordered - */ - int NUMERIC_LITERAL_FEATURE_COUNT = LITERAL_FEATURE_COUNT + 1; - - /** - * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.InfinityLiteralImpl Infinity Literal}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.InfinityLiteralImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getInfinityLiteral() - * @generated - */ - int INFINITY_LITERAL = 25; - - /** - * The number of structural features of the 'Infinity Literal' class. - * - * - * @generated - * @ordered - */ - int INFINITY_LITERAL_FEATURE_COUNT = LITERAL_FEATURE_COUNT + 0; - - /** - * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.EmptyIntervalLiteralImpl Empty Interval Literal}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.EmptyIntervalLiteralImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getEmptyIntervalLiteral() - * @generated - */ - int EMPTY_INTERVAL_LITERAL = 26; - - /** - * The number of structural features of the 'Empty Interval Literal' class. - * - * - * @generated - * @ordered - */ - int EMPTY_INTERVAL_LITERAL_FEATURE_COUNT = LITERAL_FEATURE_COUNT + 0; - - /** - * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.StringLiteralImpl String Literal}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.StringLiteralImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getStringLiteral() - * @generated - */ - int STRING_LITERAL = 27; - - /** - * The feature id for the 'Value' attribute. - * - * - * @generated - * @ordered - */ - int STRING_LITERAL__VALUE = LITERAL_FEATURE_COUNT + 0; - - /** - * The number of structural features of the 'String Literal' class. - * - * - * @generated - * @ordered - */ - int STRING_LITERAL_FEATURE_COUNT = LITERAL_FEATURE_COUNT + 1; - - /** - * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ClassDefinitionImpl Class Definition}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ClassDefinitionImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getClassDefinition() - * @generated - */ - int CLASS_DEFINITION = 28; - - /** - * The feature id for the 'Abstract' attribute. - * - * - * @generated - * @ordered - */ - int CLASS_DEFINITION__ABSTRACT = STATEMENT_FEATURE_COUNT + 0; - - /** - * The feature id for the 'Name' attribute. - * - * - * @generated - * @ordered - */ - int CLASS_DEFINITION__NAME = STATEMENT_FEATURE_COUNT + 1; - - /** - * The feature id for the 'Superclasses' reference list. - * - * - * @generated - * @ordered - */ - int CLASS_DEFINITION__SUPERCLASSES = STATEMENT_FEATURE_COUNT + 2; - - /** - * The feature id for the 'Members' containment reference list. - * - * - * @generated - * @ordered - */ - int CLASS_DEFINITION__MEMBERS = STATEMENT_FEATURE_COUNT + 3; - - /** - * The number of structural features of the 'Class Definition' class. - * - * - * @generated - * @ordered - */ - int CLASS_DEFINITION_FEATURE_COUNT = STATEMENT_FEATURE_COUNT + 4; - - /** - * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.MemberDefinitionImpl Member Definition}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.MemberDefinitionImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getMemberDefinition() - * @generated - */ - int MEMBER_DEFINITION = 29; - - /** - * The feature id for the 'Containment' attribute. - * - * - * @generated - * @ordered - */ - int MEMBER_DEFINITION__CONTAINMENT = 0; - - /** - * The feature id for the 'Type' reference. - * - * - * @generated - * @ordered - */ - int MEMBER_DEFINITION__TYPE = 1; - - /** - * The feature id for the 'Multiplicity' containment reference. - * - * - * @generated - * @ordered - */ - int MEMBER_DEFINITION__MULTIPLICITY = 2; - - /** - * The feature id for the 'Name' attribute. - * - * - * @generated - * @ordered - */ - int MEMBER_DEFINITION__NAME = 3; - - /** - * The feature id for the 'Opposite' reference. - * - * - * @generated - * @ordered - */ - int MEMBER_DEFINITION__OPPOSITE = 4; - - /** - * The number of structural features of the 'Member Definition' class. - * - * - * @generated - * @ordered - */ - int MEMBER_DEFINITION_FEATURE_COUNT = 5; - - /** - * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.MultiplicityImpl Multiplicity}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.MultiplicityImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getMultiplicity() - * @generated - */ - int MULTIPLICITY = 30; - - /** - * The number of structural features of the 'Multiplicity' class. - * - * - * @generated - * @ordered - */ - int MULTIPLICITY_FEATURE_COUNT = 0; - - /** - * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ManyMultiplicityImpl Many Multiplicity}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ManyMultiplicityImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getManyMultiplicity() - * @generated - */ - int MANY_MULTIPLICITY = 31; - - /** - * The number of structural features of the 'Many Multiplicity' class. - * - * - * @generated - * @ordered - */ - int MANY_MULTIPLICITY_FEATURE_COUNT = MULTIPLICITY_FEATURE_COUNT + 0; - - /** - * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExactMultiplicityImpl Exact Multiplicity}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ExactMultiplicityImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getExactMultiplicity() - * @generated - */ - int EXACT_MULTIPLICITY = 32; - - /** - * The feature id for the 'Multiplicity' attribute. - * - * - * @generated - * @ordered - */ - int EXACT_MULTIPLICITY__MULTIPLICITY = MULTIPLICITY_FEATURE_COUNT + 0; - - /** - * The number of structural features of the 'Exact Multiplicity' class. - * - * - * @generated - * @ordered - */ - int EXACT_MULTIPLICITY_FEATURE_COUNT = MULTIPLICITY_FEATURE_COUNT + 1; - - /** - * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.BoundedMultiplicityImpl Bounded Multiplicity}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.BoundedMultiplicityImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getBoundedMultiplicity() - * @generated - */ - int BOUNDED_MULTIPLICITY = 33; - - /** - * The feature id for the 'Lower Bound' attribute. - * - * - * @generated - * @ordered - */ - int BOUNDED_MULTIPLICITY__LOWER_BOUND = MULTIPLICITY_FEATURE_COUNT + 0; - - /** - * The feature id for the 'Upper Bound' attribute. - * - * - * @generated - * @ordered - */ - int BOUNDED_MULTIPLICITY__UPPER_BOUND = MULTIPLICITY_FEATURE_COUNT + 1; - - /** - * The number of structural features of the 'Bounded Multiplicity' class. - * - * - * @generated - * @ordered - */ - int BOUNDED_MULTIPLICITY_FEATURE_COUNT = MULTIPLICITY_FEATURE_COUNT + 2; - - /** - * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ScopeDefinitionImpl Scope Definition}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ScopeDefinitionImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getScopeDefinition() - * @generated - */ - int SCOPE_DEFINITION = 34; - - /** - * The feature id for the 'Type' reference. - * - * - * @generated - * @ordered - */ - int SCOPE_DEFINITION__TYPE = STATEMENT_FEATURE_COUNT + 0; - - /** - * The number of structural features of the 'Scope Definition' class. - * - * - * @generated - * @ordered - */ - int SCOPE_DEFINITION_FEATURE_COUNT = STATEMENT_FEATURE_COUNT + 1; - - /** - * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExactScopeDefinitionImpl Exact Scope Definition}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ExactScopeDefinitionImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getExactScopeDefinition() - * @generated - */ - int EXACT_SCOPE_DEFINITION = 35; - - /** - * The feature id for the 'Type' reference. - * - * - * @generated - * @ordered - */ - int EXACT_SCOPE_DEFINITION__TYPE = SCOPE_DEFINITION__TYPE; - - /** - * The feature id for the 'Exact Scope' attribute. - * - * - * @generated - * @ordered - */ - int EXACT_SCOPE_DEFINITION__EXACT_SCOPE = SCOPE_DEFINITION_FEATURE_COUNT + 0; - - /** - * The number of structural features of the 'Exact Scope Definition' class. - * - * - * @generated - * @ordered - */ - int EXACT_SCOPE_DEFINITION_FEATURE_COUNT = SCOPE_DEFINITION_FEATURE_COUNT + 1; - - /** - * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.BoundedScopeDefinitionImpl Bounded Scope Definition}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.BoundedScopeDefinitionImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getBoundedScopeDefinition() - * @generated - */ - int BOUNDED_SCOPE_DEFINITION = 36; - - /** - * The feature id for the 'Type' reference. - * - * - * @generated - * @ordered - */ - int BOUNDED_SCOPE_DEFINITION__TYPE = SCOPE_DEFINITION__TYPE; - - /** - * The feature id for the 'Lower Bound' attribute. - * - * - * @generated - * @ordered - */ - int BOUNDED_SCOPE_DEFINITION__LOWER_BOUND = SCOPE_DEFINITION_FEATURE_COUNT + 0; - - /** - * The feature id for the 'Upper Bound' attribute. - * - * - * @generated - * @ordered - */ - int BOUNDED_SCOPE_DEFINITION__UPPER_BOUND = SCOPE_DEFINITION_FEATURE_COUNT + 1; - - /** - * The number of structural features of the 'Bounded Scope Definition' class. - * - * - * @generated - * @ordered - */ - int BOUNDED_SCOPE_DEFINITION_FEATURE_COUNT = SCOPE_DEFINITION_FEATURE_COUNT + 2; - - /** - * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.LowerBoundedScopeDefinitionImpl Lower Bounded Scope Definition}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.LowerBoundedScopeDefinitionImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getLowerBoundedScopeDefinition() - * @generated - */ - int LOWER_BOUNDED_SCOPE_DEFINITION = 37; - - /** - * The feature id for the 'Type' reference. - * - * - * @generated - * @ordered - */ - int LOWER_BOUNDED_SCOPE_DEFINITION__TYPE = SCOPE_DEFINITION__TYPE; - - /** - * The feature id for the 'Lower Bound' attribute. - * - * - * @generated - * @ordered - */ - int LOWER_BOUNDED_SCOPE_DEFINITION__LOWER_BOUND = SCOPE_DEFINITION_FEATURE_COUNT + 0; - - /** - * The number of structural features of the 'Lower Bounded Scope Definition' class. - * - * - * @generated - * @ordered - */ - int LOWER_BOUNDED_SCOPE_DEFINITION_FEATURE_COUNT = SCOPE_DEFINITION_FEATURE_COUNT + 1; - - /** - * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ObjectiveDefinitionImpl Objective Definition}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ObjectiveDefinitionImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getObjectiveDefinition() - * @generated - */ - int OBJECTIVE_DEFINITION = 38; - - /** - * The feature id for the 'Kind' attribute. - * - * - * @generated - * @ordered - */ - int OBJECTIVE_DEFINITION__KIND = STATEMENT_FEATURE_COUNT + 0; - - /** - * The feature id for the 'Objective' containment reference. - * - * - * @generated - * @ordered - */ - int OBJECTIVE_DEFINITION__OBJECTIVE = STATEMENT_FEATURE_COUNT + 1; - - /** - * The number of structural features of the 'Objective Definition' class. - * - * - * @generated - * @ordered - */ - int OBJECTIVE_DEFINITION_FEATURE_COUNT = STATEMENT_FEATURE_COUNT + 2; - - /** - * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.NamedElementImpl Named Element}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.NamedElementImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getNamedElement() - * @generated - */ - int NAMED_ELEMENT = 39; - - /** - * The feature id for the 'Name' attribute. - * - * - * @generated - * @ordered - */ - int NAMED_ELEMENT__NAME = 0; - - /** - * The number of structural features of the 'Named Element' class. - * - * - * @generated - * @ordered - */ - int NAMED_ELEMENT_FEATURE_COUNT = 1; - - /** - * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.AssertionImpl Assertion}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.AssertionImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getAssertion() - * @generated - */ - int ASSERTION = 40; - - /** - * The feature id for the 'Body' containment reference. - * - * - * @generated - * @ordered - */ - int ASSERTION__BODY = STATEMENT_FEATURE_COUNT + 0; - - /** - * The feature id for the 'Range' containment reference. - * - * - * @generated - * @ordered - */ - int ASSERTION__RANGE = STATEMENT_FEATURE_COUNT + 1; - - /** - * The number of structural features of the 'Assertion' class. - * - * - * @generated - * @ordered - */ - int ASSERTION_FEATURE_COUNT = STATEMENT_FEATURE_COUNT + 2; - - /** - * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.DisjunctionImpl Disjunction}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.DisjunctionImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getDisjunction() - * @generated - */ - int DISJUNCTION = 41; - - /** - * The feature id for the 'Children' containment reference list. - * - * - * @generated - * @ordered - */ - int DISJUNCTION__CHILDREN = EXPRESSION_FEATURE_COUNT + 0; - - /** - * The number of structural features of the 'Disjunction' class. - * - * - * @generated - * @ordered - */ - int DISJUNCTION_FEATURE_COUNT = EXPRESSION_FEATURE_COUNT + 1; - - /** - * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.SwitchImpl Switch}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SwitchImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getSwitch() - * @generated - */ - int SWITCH = 42; - - /** - * The feature id for the 'Cases' containment reference list. - * - * - * @generated - * @ordered - */ - int SWITCH__CASES = EXPRESSION_FEATURE_COUNT + 0; - - /** - * The number of structural features of the 'Switch' class. - * - * - * @generated - * @ordered - */ - int SWITCH_FEATURE_COUNT = EXPRESSION_FEATURE_COUNT + 1; - - /** - * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ConjunctionImpl Conjunction}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ConjunctionImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getConjunction() - * @generated - */ - int CONJUNCTION = 43; - - /** - * The feature id for the 'Children' containment reference list. - * - * - * @generated - * @ordered - */ - int CONJUNCTION__CHILDREN = EXPRESSION_FEATURE_COUNT + 0; - - /** - * The number of structural features of the 'Conjunction' class. - * - * - * @generated - * @ordered - */ - int CONJUNCTION_FEATURE_COUNT = EXPRESSION_FEATURE_COUNT + 1; - - /** - * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ComparisonImpl Comparison}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ComparisonImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getComparison() - * @generated - */ - int COMPARISON = 44; - - /** - * The feature id for the 'Left' containment reference. - * - * - * @generated - * @ordered - */ - int COMPARISON__LEFT = EXPRESSION_FEATURE_COUNT + 0; - - /** - * The feature id for the 'Op' attribute. - * - * - * @generated - * @ordered - */ - int COMPARISON__OP = EXPRESSION_FEATURE_COUNT + 1; - - /** - * The feature id for the 'Right' containment reference. - * - * - * @generated - * @ordered - */ - int COMPARISON__RIGHT = EXPRESSION_FEATURE_COUNT + 2; - - /** - * The number of structural features of the 'Comparison' class. - * - * - * @generated - * @ordered - */ - int COMPARISON_FEATURE_COUNT = EXPRESSION_FEATURE_COUNT + 3; - - /** - * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.BinaryExpressionImpl Binary Expression}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.BinaryExpressionImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getBinaryExpression() - * @generated - */ - int BINARY_EXPRESSION = 45; - - /** - * The feature id for the 'Left' containment reference. - * - * - * @generated - * @ordered - */ - int BINARY_EXPRESSION__LEFT = EXPRESSION_FEATURE_COUNT + 0; - - /** - * The feature id for the 'Op' attribute. - * - * - * @generated - * @ordered - */ - int BINARY_EXPRESSION__OP = EXPRESSION_FEATURE_COUNT + 1; - - /** - * The feature id for the 'Right' containment reference. - * - * - * @generated - * @ordered - */ - int BINARY_EXPRESSION__RIGHT = EXPRESSION_FEATURE_COUNT + 2; - - /** - * The number of structural features of the 'Binary Expression' class. - * - * - * @generated - * @ordered - */ - int BINARY_EXPRESSION_FEATURE_COUNT = EXPRESSION_FEATURE_COUNT + 3; - - /** - * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.UnaryExpressionImpl Unary Expression}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.UnaryExpressionImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getUnaryExpression() - * @generated - */ - int UNARY_EXPRESSION = 46; - - /** - * The feature id for the 'Op' attribute. - * - * - * @generated - * @ordered - */ - int UNARY_EXPRESSION__OP = EXPRESSION_FEATURE_COUNT + 0; - - /** - * The feature id for the 'Body' containment reference. - * - * - * @generated - * @ordered - */ - int UNARY_EXPRESSION__BODY = EXPRESSION_FEATURE_COUNT + 1; - - /** - * The number of structural features of the 'Unary Expression' class. - * - * - * @generated - * @ordered - */ - int UNARY_EXPRESSION_FEATURE_COUNT = EXPRESSION_FEATURE_COUNT + 2; - - /** - * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.MetricType Metric Type}' enum. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.MetricType - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getMetricType() - * @generated - */ - int METRIC_TYPE = 47; - - /** - * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.BinaryOperator Binary Operator}' enum. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.BinaryOperator - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getBinaryOperator() - * @generated - */ - int BINARY_OPERATOR = 48; - - /** - * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.UnaryOp Unary Op}' enum. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.UnaryOp - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getUnaryOp() - * @generated - */ - int UNARY_OP = 49; - - /** - * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.AggregationOp Aggregation Op}' enum. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.AggregationOp - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getAggregationOp() - * @generated - */ - int AGGREGATION_OP = 50; - - /** - * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.LogicValue Logic Value}' enum. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.LogicValue - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getLogicValue() - * @generated - */ - int LOGIC_VALUE = 51; - - /** - * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.ObjectiveKind Objective Kind}' enum. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.ObjectiveKind - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getObjectiveKind() - * @generated - */ - int OBJECTIVE_KIND = 52; - - - /** - * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.Problem Problem}'. - * - * - * @return the meta object for class 'Problem'. - * @see org.eclipse.viatra.solver.language.solverLanguage.Problem - * @generated - */ - EClass getProblem(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.viatra.solver.language.solverLanguage.Problem#getStatements Statements}'. - * - * - * @return the meta object for the containment reference list 'Statements'. - * @see org.eclipse.viatra.solver.language.solverLanguage.Problem#getStatements() - * @see #getProblem() - * @generated - */ - EReference getProblem_Statements(); - - /** - * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.Statement Statement}'. - * - * - * @return the meta object for class 'Statement'. - * @see org.eclipse.viatra.solver.language.solverLanguage.Statement - * @generated - */ - EClass getStatement(); - - /** - * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.PredicateDefinition Predicate Definition}'. - * - * - * @return the meta object for class 'Predicate Definition'. - * @see org.eclipse.viatra.solver.language.solverLanguage.PredicateDefinition - * @generated - */ - EClass getPredicateDefinition(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.PredicateDefinition#getHead Head}'. - * - * - * @return the meta object for the containment reference 'Head'. - * @see org.eclipse.viatra.solver.language.solverLanguage.PredicateDefinition#getHead() - * @see #getPredicateDefinition() - * @generated - */ - EReference getPredicateDefinition_Head(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.PredicateDefinition#getBody Body}'. - * - * - * @return the meta object for the containment reference 'Body'. - * @see org.eclipse.viatra.solver.language.solverLanguage.PredicateDefinition#getBody() - * @see #getPredicateDefinition() - * @generated - */ - EReference getPredicateDefinition_Body(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.PredicateDefinition#isFunctional Functional}'. - * - * - * @return the meta object for the attribute 'Functional'. - * @see org.eclipse.viatra.solver.language.solverLanguage.PredicateDefinition#isFunctional() - * @see #getPredicateDefinition() - * @generated - */ - EAttribute getPredicateDefinition_Functional(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.PredicateDefinition#isError Error}'. - * - * - * @return the meta object for the attribute 'Error'. - * @see org.eclipse.viatra.solver.language.solverLanguage.PredicateDefinition#isError() - * @see #getPredicateDefinition() - * @generated - */ - EAttribute getPredicateDefinition_Error(); - - /** - * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.UnnamedErrorPrediateDefinition Unnamed Error Prediate Definition}'. - * - * - * @return the meta object for class 'Unnamed Error Prediate Definition'. - * @see org.eclipse.viatra.solver.language.solverLanguage.UnnamedErrorPrediateDefinition - * @generated - */ - EClass getUnnamedErrorPrediateDefinition(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.UnnamedErrorPrediateDefinition#getArgumentList Argument List}'. - * - * - * @return the meta object for the containment reference 'Argument List'. - * @see org.eclipse.viatra.solver.language.solverLanguage.UnnamedErrorPrediateDefinition#getArgumentList() - * @see #getUnnamedErrorPrediateDefinition() - * @generated - */ - EReference getUnnamedErrorPrediateDefinition_ArgumentList(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.UnnamedErrorPrediateDefinition#getBody Body}'. - * - * - * @return the meta object for the containment reference 'Body'. - * @see org.eclipse.viatra.solver.language.solverLanguage.UnnamedErrorPrediateDefinition#getBody() - * @see #getUnnamedErrorPrediateDefinition() - * @generated - */ - EReference getUnnamedErrorPrediateDefinition_Body(); - - /** - * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.DefaultDefinition Default Definition}'. - * - * - * @return the meta object for class 'Default Definition'. - * @see org.eclipse.viatra.solver.language.solverLanguage.DefaultDefinition - * @generated - */ - EClass getDefaultDefinition(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.DefaultDefinition#getHead Head}'. - * - * - * @return the meta object for the containment reference 'Head'. - * @see org.eclipse.viatra.solver.language.solverLanguage.DefaultDefinition#getHead() - * @see #getDefaultDefinition() - * @generated - */ - EReference getDefaultDefinition_Head(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.DefaultDefinition#getRange Range}'. - * - * - * @return the meta object for the containment reference 'Range'. - * @see org.eclipse.viatra.solver.language.solverLanguage.DefaultDefinition#getRange() - * @see #getDefaultDefinition() - * @generated - */ - EReference getDefaultDefinition_Range(); - - /** - * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.ExternPredicateDefinition Extern Predicate Definition}'. - * - * - * @return the meta object for class 'Extern Predicate Definition'. - * @see org.eclipse.viatra.solver.language.solverLanguage.ExternPredicateDefinition - * @generated - */ - EClass getExternPredicateDefinition(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.ExternPredicateDefinition#getHead Head}'. - * - * - * @return the meta object for the containment reference 'Head'. - * @see org.eclipse.viatra.solver.language.solverLanguage.ExternPredicateDefinition#getHead() - * @see #getExternPredicateDefinition() - * @generated - */ - EReference getExternPredicateDefinition_Head(); - - /** - * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.MetricDefinition Metric Definition}'. - * - * - * @return the meta object for class 'Metric Definition'. - * @see org.eclipse.viatra.solver.language.solverLanguage.MetricDefinition - * @generated - */ - EClass getMetricDefinition(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.MetricDefinition#getHead Head}'. - * - * - * @return the meta object for the containment reference 'Head'. - * @see org.eclipse.viatra.solver.language.solverLanguage.MetricDefinition#getHead() - * @see #getMetricDefinition() - * @generated - */ - EReference getMetricDefinition_Head(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.MetricDefinition#getBody Body}'. - * - * - * @return the meta object for the containment reference 'Body'. - * @see org.eclipse.viatra.solver.language.solverLanguage.MetricDefinition#getBody() - * @see #getMetricDefinition() - * @generated - */ - EReference getMetricDefinition_Body(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.MetricDefinition#getType Type}'. - * - * - * @return the meta object for the attribute 'Type'. - * @see org.eclipse.viatra.solver.language.solverLanguage.MetricDefinition#getType() - * @see #getMetricDefinition() - * @generated - */ - EAttribute getMetricDefinition_Type(); - - /** - * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.ExternMetricDefinition Extern Metric Definition}'. - * - * - * @return the meta object for class 'Extern Metric Definition'. - * @see org.eclipse.viatra.solver.language.solverLanguage.ExternMetricDefinition - * @generated - */ - EClass getExternMetricDefinition(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.ExternMetricDefinition#getType Type}'. - * - * - * @return the meta object for the attribute 'Type'. - * @see org.eclipse.viatra.solver.language.solverLanguage.ExternMetricDefinition#getType() - * @see #getExternMetricDefinition() - * @generated - */ - EAttribute getExternMetricDefinition_Type(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.ExternMetricDefinition#getHead Head}'. - * - * - * @return the meta object for the containment reference 'Head'. - * @see org.eclipse.viatra.solver.language.solverLanguage.ExternMetricDefinition#getHead() - * @see #getExternMetricDefinition() - * @generated - */ - EReference getExternMetricDefinition_Head(); - - /** - * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.Expression Expression}'. - * - * - * @return the meta object for class 'Expression'. - * @see org.eclipse.viatra.solver.language.solverLanguage.Expression - * @generated - */ - EClass getExpression(); - - /** - * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.IfElse If Else}'. - * - * - * @return the meta object for class 'If Else'. - * @see org.eclipse.viatra.solver.language.solverLanguage.IfElse - * @generated - */ - EClass getIfElse(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.IfElse#getCondition Condition}'. - * - * - * @return the meta object for the containment reference 'Condition'. - * @see org.eclipse.viatra.solver.language.solverLanguage.IfElse#getCondition() - * @see #getIfElse() - * @generated - */ - EReference getIfElse_Condition(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.IfElse#getThen Then}'. - * - * - * @return the meta object for the containment reference 'Then'. - * @see org.eclipse.viatra.solver.language.solverLanguage.IfElse#getThen() - * @see #getIfElse() - * @generated - */ - EReference getIfElse_Then(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.IfElse#getElse Else}'. - * - * - * @return the meta object for the containment reference 'Else'. - * @see org.eclipse.viatra.solver.language.solverLanguage.IfElse#getElse() - * @see #getIfElse() - * @generated - */ - EReference getIfElse_Else(); - - /** - * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.Case Case}'. - * - * - * @return the meta object for class 'Case'. - * @see org.eclipse.viatra.solver.language.solverLanguage.Case - * @generated - */ - EClass getCase(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.Case#getCondition Condition}'. - * - * - * @return the meta object for the containment reference 'Condition'. - * @see org.eclipse.viatra.solver.language.solverLanguage.Case#getCondition() - * @see #getCase() - * @generated - */ - EReference getCase_Condition(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.Case#getBody Body}'. - * - * - * @return the meta object for the containment reference 'Body'. - * @see org.eclipse.viatra.solver.language.solverLanguage.Case#getBody() - * @see #getCase() - * @generated - */ - EReference getCase_Body(); - - /** - * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.Count Count}'. - * - * - * @return the meta object for class 'Count'. - * @see org.eclipse.viatra.solver.language.solverLanguage.Count - * @generated - */ - EClass getCount(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.Count#getBody Body}'. - * - * - * @return the meta object for the containment reference 'Body'. - * @see org.eclipse.viatra.solver.language.solverLanguage.Count#getBody() - * @see #getCount() - * @generated - */ - EReference getCount_Body(); - - /** - * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.Aggregation Aggregation}'. - * - * - * @return the meta object for class 'Aggregation'. - * @see org.eclipse.viatra.solver.language.solverLanguage.Aggregation - * @generated - */ - EClass getAggregation(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.Aggregation#getOp Op}'. - * - * - * @return the meta object for the attribute 'Op'. - * @see org.eclipse.viatra.solver.language.solverLanguage.Aggregation#getOp() - * @see #getAggregation() - * @generated - */ - EAttribute getAggregation_Op(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.Aggregation#getBody Body}'. - * - * - * @return the meta object for the containment reference 'Body'. - * @see org.eclipse.viatra.solver.language.solverLanguage.Aggregation#getBody() - * @see #getAggregation() - * @generated - */ - EReference getAggregation_Body(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.Aggregation#getCondition Condition}'. - * - * - * @return the meta object for the containment reference 'Condition'. - * @see org.eclipse.viatra.solver.language.solverLanguage.Aggregation#getCondition() - * @see #getAggregation() - * @generated - */ - EReference getAggregation_Condition(); - - /** - * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.Call Call}'. - * - * - * @return the meta object for class 'Call'. - * @see org.eclipse.viatra.solver.language.solverLanguage.Call - * @generated - */ - EClass getCall(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.Call#getFunctor Functor}'. - * - * - * @return the meta object for the containment reference 'Functor'. - * @see org.eclipse.viatra.solver.language.solverLanguage.Call#getFunctor() - * @see #getCall() - * @generated - */ - EReference getCall_Functor(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.Call#isTransitiveClosure Transitive Closure}'. - * - * - * @return the meta object for the attribute 'Transitive Closure'. - * @see org.eclipse.viatra.solver.language.solverLanguage.Call#isTransitiveClosure() - * @see #getCall() - * @generated - */ - EAttribute getCall_TransitiveClosure(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.Call#isReflexiveTransitiveClosure Reflexive Transitive Closure}'. - * - * - * @return the meta object for the attribute 'Reflexive Transitive Closure'. - * @see org.eclipse.viatra.solver.language.solverLanguage.Call#isReflexiveTransitiveClosure() - * @see #getCall() - * @generated - */ - EAttribute getCall_ReflexiveTransitiveClosure(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.Call#getArgumentList Argument List}'. - * - * - * @return the meta object for the containment reference 'Argument List'. - * @see org.eclipse.viatra.solver.language.solverLanguage.Call#getArgumentList() - * @see #getCall() - * @generated - */ - EReference getCall_ArgumentList(); - - /** - * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.ArgumentList Argument List}'. - * - * - * @return the meta object for class 'Argument List'. - * @see org.eclipse.viatra.solver.language.solverLanguage.ArgumentList - * @generated - */ - EClass getArgumentList(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.viatra.solver.language.solverLanguage.ArgumentList#getArguments Arguments}'. - * - * - * @return the meta object for the containment reference list 'Arguments'. - * @see org.eclipse.viatra.solver.language.solverLanguage.ArgumentList#getArguments() - * @see #getArgumentList() - * @generated - */ - EReference getArgumentList_Arguments(); - - /** - * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.Argument Argument}'. - * - * - * @return the meta object for class 'Argument'. - * @see org.eclipse.viatra.solver.language.solverLanguage.Argument - * @generated - */ - EClass getArgument(); - - /** - * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.ExpressionArgument Expression Argument}'. - * - * - * @return the meta object for class 'Expression Argument'. - * @see org.eclipse.viatra.solver.language.solverLanguage.ExpressionArgument - * @generated - */ - EClass getExpressionArgument(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.ExpressionArgument#getBody Body}'. - * - * - * @return the meta object for the containment reference 'Body'. - * @see org.eclipse.viatra.solver.language.solverLanguage.ExpressionArgument#getBody() - * @see #getExpressionArgument() - * @generated - */ - EReference getExpressionArgument_Body(); - - /** - * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.StarArgument Star Argument}'. - * - * - * @return the meta object for class 'Star Argument'. - * @see org.eclipse.viatra.solver.language.solverLanguage.StarArgument - * @generated - */ - EClass getStarArgument(); - - /** - * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.TypedArgument Typed Argument}'. - * - * - * @return the meta object for class 'Typed Argument'. - * @see org.eclipse.viatra.solver.language.solverLanguage.TypedArgument - * @generated - */ - EClass getTypedArgument(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.viatra.solver.language.solverLanguage.TypedArgument#getType Type}'. - * - * - * @return the meta object for the reference 'Type'. - * @see org.eclipse.viatra.solver.language.solverLanguage.TypedArgument#getType() - * @see #getTypedArgument() - * @generated - */ - EReference getTypedArgument_Type(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.viatra.solver.language.solverLanguage.TypedArgument#getVariable Variable}'. - * - * - * @return the meta object for the reference 'Variable'. - * @see org.eclipse.viatra.solver.language.solverLanguage.TypedArgument#getVariable() - * @see #getTypedArgument() - * @generated - */ - EReference getTypedArgument_Variable(); - - /** - * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.TypedStarArgument Typed Star Argument}'. - * - * - * @return the meta object for class 'Typed Star Argument'. - * @see org.eclipse.viatra.solver.language.solverLanguage.TypedStarArgument - * @generated - */ - EClass getTypedStarArgument(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.viatra.solver.language.solverLanguage.TypedStarArgument#getType Type}'. - * - * - * @return the meta object for the reference 'Type'. - * @see org.eclipse.viatra.solver.language.solverLanguage.TypedStarArgument#getType() - * @see #getTypedStarArgument() - * @generated - */ - EReference getTypedStarArgument_Type(); - - /** - * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.Reference Reference}'. - * - * - * @return the meta object for class 'Reference'. - * @see org.eclipse.viatra.solver.language.solverLanguage.Reference - * @generated - */ - EClass getReference(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.viatra.solver.language.solverLanguage.Reference#getReferred Referred}'. - * - * - * @return the meta object for the reference 'Referred'. - * @see org.eclipse.viatra.solver.language.solverLanguage.Reference#getReferred() - * @see #getReference() - * @generated - */ - EReference getReference_Referred(); - - /** - * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.Interval Interval}'. - * - * - * @return the meta object for class 'Interval'. - * @see org.eclipse.viatra.solver.language.solverLanguage.Interval - * @generated - */ - EClass getInterval(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.Interval#getLowerBound Lower Bound}'. - * - * - * @return the meta object for the containment reference 'Lower Bound'. - * @see org.eclipse.viatra.solver.language.solverLanguage.Interval#getLowerBound() - * @see #getInterval() - * @generated - */ - EReference getInterval_LowerBound(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.Interval#getUpperBound Upper Bound}'. - * - * - * @return the meta object for the containment reference 'Upper Bound'. - * @see org.eclipse.viatra.solver.language.solverLanguage.Interval#getUpperBound() - * @see #getInterval() - * @generated - */ - EReference getInterval_UpperBound(); - - /** - * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.Literal Literal}'. - * - * - * @return the meta object for class 'Literal'. - * @see org.eclipse.viatra.solver.language.solverLanguage.Literal - * @generated - */ - EClass getLiteral(); - - /** - * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.LogicLiteral Logic Literal}'. - * - * - * @return the meta object for class 'Logic Literal'. - * @see org.eclipse.viatra.solver.language.solverLanguage.LogicLiteral - * @generated - */ - EClass getLogicLiteral(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.LogicLiteral#getValue Value}'. - * - * - * @return the meta object for the attribute 'Value'. - * @see org.eclipse.viatra.solver.language.solverLanguage.LogicLiteral#getValue() - * @see #getLogicLiteral() - * @generated - */ - EAttribute getLogicLiteral_Value(); - - /** - * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.NumericLiteral Numeric Literal}'. - * - * - * @return the meta object for class 'Numeric Literal'. - * @see org.eclipse.viatra.solver.language.solverLanguage.NumericLiteral - * @generated - */ - EClass getNumericLiteral(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.NumericLiteral#getValue Value}'. - * - * - * @return the meta object for the attribute 'Value'. - * @see org.eclipse.viatra.solver.language.solverLanguage.NumericLiteral#getValue() - * @see #getNumericLiteral() - * @generated - */ - EAttribute getNumericLiteral_Value(); - - /** - * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.InfinityLiteral Infinity Literal}'. - * - * - * @return the meta object for class 'Infinity Literal'. - * @see org.eclipse.viatra.solver.language.solverLanguage.InfinityLiteral - * @generated - */ - EClass getInfinityLiteral(); - - /** - * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.EmptyIntervalLiteral Empty Interval Literal}'. - * - * - * @return the meta object for class 'Empty Interval Literal'. - * @see org.eclipse.viatra.solver.language.solverLanguage.EmptyIntervalLiteral - * @generated - */ - EClass getEmptyIntervalLiteral(); - - /** - * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.StringLiteral String Literal}'. - * - * - * @return the meta object for class 'String Literal'. - * @see org.eclipse.viatra.solver.language.solverLanguage.StringLiteral - * @generated - */ - EClass getStringLiteral(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.StringLiteral#getValue Value}'. - * - * - * @return the meta object for the attribute 'Value'. - * @see org.eclipse.viatra.solver.language.solverLanguage.StringLiteral#getValue() - * @see #getStringLiteral() - * @generated - */ - EAttribute getStringLiteral_Value(); - - /** - * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.ClassDefinition Class Definition}'. - * - * - * @return the meta object for class 'Class Definition'. - * @see org.eclipse.viatra.solver.language.solverLanguage.ClassDefinition - * @generated - */ - EClass getClassDefinition(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.ClassDefinition#isAbstract Abstract}'. - * - * - * @return the meta object for the attribute 'Abstract'. - * @see org.eclipse.viatra.solver.language.solverLanguage.ClassDefinition#isAbstract() - * @see #getClassDefinition() - * @generated - */ - EAttribute getClassDefinition_Abstract(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.ClassDefinition#getName Name}'. - * - * - * @return the meta object for the attribute 'Name'. - * @see org.eclipse.viatra.solver.language.solverLanguage.ClassDefinition#getName() - * @see #getClassDefinition() - * @generated - */ - EAttribute getClassDefinition_Name(); - - /** - * Returns the meta object for the reference list '{@link org.eclipse.viatra.solver.language.solverLanguage.ClassDefinition#getSuperclasses Superclasses}'. - * - * - * @return the meta object for the reference list 'Superclasses'. - * @see org.eclipse.viatra.solver.language.solverLanguage.ClassDefinition#getSuperclasses() - * @see #getClassDefinition() - * @generated - */ - EReference getClassDefinition_Superclasses(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.viatra.solver.language.solverLanguage.ClassDefinition#getMembers Members}'. - * - * - * @return the meta object for the containment reference list 'Members'. - * @see org.eclipse.viatra.solver.language.solverLanguage.ClassDefinition#getMembers() - * @see #getClassDefinition() - * @generated - */ - EReference getClassDefinition_Members(); - - /** - * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.MemberDefinition Member Definition}'. - * - * - * @return the meta object for class 'Member Definition'. - * @see org.eclipse.viatra.solver.language.solverLanguage.MemberDefinition - * @generated - */ - EClass getMemberDefinition(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.MemberDefinition#isContainment Containment}'. - * - * - * @return the meta object for the attribute 'Containment'. - * @see org.eclipse.viatra.solver.language.solverLanguage.MemberDefinition#isContainment() - * @see #getMemberDefinition() - * @generated - */ - EAttribute getMemberDefinition_Containment(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.viatra.solver.language.solverLanguage.MemberDefinition#getType Type}'. - * - * - * @return the meta object for the reference 'Type'. - * @see org.eclipse.viatra.solver.language.solverLanguage.MemberDefinition#getType() - * @see #getMemberDefinition() - * @generated - */ - EReference getMemberDefinition_Type(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.MemberDefinition#getMultiplicity Multiplicity}'. - * - * - * @return the meta object for the containment reference 'Multiplicity'. - * @see org.eclipse.viatra.solver.language.solverLanguage.MemberDefinition#getMultiplicity() - * @see #getMemberDefinition() - * @generated - */ - EReference getMemberDefinition_Multiplicity(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.MemberDefinition#getName Name}'. - * - * - * @return the meta object for the attribute 'Name'. - * @see org.eclipse.viatra.solver.language.solverLanguage.MemberDefinition#getName() - * @see #getMemberDefinition() - * @generated - */ - EAttribute getMemberDefinition_Name(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.viatra.solver.language.solverLanguage.MemberDefinition#getOpposite Opposite}'. - * - * - * @return the meta object for the reference 'Opposite'. - * @see org.eclipse.viatra.solver.language.solverLanguage.MemberDefinition#getOpposite() - * @see #getMemberDefinition() - * @generated - */ - EReference getMemberDefinition_Opposite(); - - /** - * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.Multiplicity Multiplicity}'. - * - * - * @return the meta object for class 'Multiplicity'. - * @see org.eclipse.viatra.solver.language.solverLanguage.Multiplicity - * @generated - */ - EClass getMultiplicity(); - - /** - * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.ManyMultiplicity Many Multiplicity}'. - * - * - * @return the meta object for class 'Many Multiplicity'. - * @see org.eclipse.viatra.solver.language.solverLanguage.ManyMultiplicity - * @generated - */ - EClass getManyMultiplicity(); - - /** - * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.ExactMultiplicity Exact Multiplicity}'. - * - * - * @return the meta object for class 'Exact Multiplicity'. - * @see org.eclipse.viatra.solver.language.solverLanguage.ExactMultiplicity - * @generated - */ - EClass getExactMultiplicity(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.ExactMultiplicity#getMultiplicity Multiplicity}'. - * - * - * @return the meta object for the attribute 'Multiplicity'. - * @see org.eclipse.viatra.solver.language.solverLanguage.ExactMultiplicity#getMultiplicity() - * @see #getExactMultiplicity() - * @generated - */ - EAttribute getExactMultiplicity_Multiplicity(); - - /** - * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.BoundedMultiplicity Bounded Multiplicity}'. - * - * - * @return the meta object for class 'Bounded Multiplicity'. - * @see org.eclipse.viatra.solver.language.solverLanguage.BoundedMultiplicity - * @generated - */ - EClass getBoundedMultiplicity(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.BoundedMultiplicity#getLowerBound Lower Bound}'. - * - * - * @return the meta object for the attribute 'Lower Bound'. - * @see org.eclipse.viatra.solver.language.solverLanguage.BoundedMultiplicity#getLowerBound() - * @see #getBoundedMultiplicity() - * @generated - */ - EAttribute getBoundedMultiplicity_LowerBound(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.BoundedMultiplicity#getUpperBound Upper Bound}'. - * - * - * @return the meta object for the attribute 'Upper Bound'. - * @see org.eclipse.viatra.solver.language.solverLanguage.BoundedMultiplicity#getUpperBound() - * @see #getBoundedMultiplicity() - * @generated - */ - EAttribute getBoundedMultiplicity_UpperBound(); - - /** - * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.ScopeDefinition Scope Definition}'. - * - * - * @return the meta object for class 'Scope Definition'. - * @see org.eclipse.viatra.solver.language.solverLanguage.ScopeDefinition - * @generated - */ - EClass getScopeDefinition(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.viatra.solver.language.solverLanguage.ScopeDefinition#getType Type}'. - * - * - * @return the meta object for the reference 'Type'. - * @see org.eclipse.viatra.solver.language.solverLanguage.ScopeDefinition#getType() - * @see #getScopeDefinition() - * @generated - */ - EReference getScopeDefinition_Type(); - - /** - * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.ExactScopeDefinition Exact Scope Definition}'. - * - * - * @return the meta object for class 'Exact Scope Definition'. - * @see org.eclipse.viatra.solver.language.solverLanguage.ExactScopeDefinition - * @generated - */ - EClass getExactScopeDefinition(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.ExactScopeDefinition#getExactScope Exact Scope}'. - * - * - * @return the meta object for the attribute 'Exact Scope'. - * @see org.eclipse.viatra.solver.language.solverLanguage.ExactScopeDefinition#getExactScope() - * @see #getExactScopeDefinition() - * @generated - */ - EAttribute getExactScopeDefinition_ExactScope(); - - /** - * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.BoundedScopeDefinition Bounded Scope Definition}'. - * - * - * @return the meta object for class 'Bounded Scope Definition'. - * @see org.eclipse.viatra.solver.language.solverLanguage.BoundedScopeDefinition - * @generated - */ - EClass getBoundedScopeDefinition(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.BoundedScopeDefinition#getLowerBound Lower Bound}'. - * - * - * @return the meta object for the attribute 'Lower Bound'. - * @see org.eclipse.viatra.solver.language.solverLanguage.BoundedScopeDefinition#getLowerBound() - * @see #getBoundedScopeDefinition() - * @generated - */ - EAttribute getBoundedScopeDefinition_LowerBound(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.BoundedScopeDefinition#getUpperBound Upper Bound}'. - * - * - * @return the meta object for the attribute 'Upper Bound'. - * @see org.eclipse.viatra.solver.language.solverLanguage.BoundedScopeDefinition#getUpperBound() - * @see #getBoundedScopeDefinition() - * @generated - */ - EAttribute getBoundedScopeDefinition_UpperBound(); - - /** - * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.LowerBoundedScopeDefinition Lower Bounded Scope Definition}'. - * - * - * @return the meta object for class 'Lower Bounded Scope Definition'. - * @see org.eclipse.viatra.solver.language.solverLanguage.LowerBoundedScopeDefinition - * @generated - */ - EClass getLowerBoundedScopeDefinition(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.LowerBoundedScopeDefinition#getLowerBound Lower Bound}'. - * - * - * @return the meta object for the attribute 'Lower Bound'. - * @see org.eclipse.viatra.solver.language.solverLanguage.LowerBoundedScopeDefinition#getLowerBound() - * @see #getLowerBoundedScopeDefinition() - * @generated - */ - EAttribute getLowerBoundedScopeDefinition_LowerBound(); - - /** - * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.ObjectiveDefinition Objective Definition}'. - * - * - * @return the meta object for class 'Objective Definition'. - * @see org.eclipse.viatra.solver.language.solverLanguage.ObjectiveDefinition - * @generated - */ - EClass getObjectiveDefinition(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.ObjectiveDefinition#getKind Kind}'. - * - * - * @return the meta object for the attribute 'Kind'. - * @see org.eclipse.viatra.solver.language.solverLanguage.ObjectiveDefinition#getKind() - * @see #getObjectiveDefinition() - * @generated - */ - EAttribute getObjectiveDefinition_Kind(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.ObjectiveDefinition#getObjective Objective}'. - * - * - * @return the meta object for the containment reference 'Objective'. - * @see org.eclipse.viatra.solver.language.solverLanguage.ObjectiveDefinition#getObjective() - * @see #getObjectiveDefinition() - * @generated - */ - EReference getObjectiveDefinition_Objective(); - - /** - * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.NamedElement Named Element}'. - * - * - * @return the meta object for class 'Named Element'. - * @see org.eclipse.viatra.solver.language.solverLanguage.NamedElement - * @generated - */ - EClass getNamedElement(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.NamedElement#getName Name}'. - * - * - * @return the meta object for the attribute 'Name'. - * @see org.eclipse.viatra.solver.language.solverLanguage.NamedElement#getName() - * @see #getNamedElement() - * @generated - */ - EAttribute getNamedElement_Name(); - - /** - * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.Assertion Assertion}'. - * - * - * @return the meta object for class 'Assertion'. - * @see org.eclipse.viatra.solver.language.solverLanguage.Assertion - * @generated - */ - EClass getAssertion(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.Assertion#getBody Body}'. - * - * - * @return the meta object for the containment reference 'Body'. - * @see org.eclipse.viatra.solver.language.solverLanguage.Assertion#getBody() - * @see #getAssertion() - * @generated - */ - EReference getAssertion_Body(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.Assertion#getRange Range}'. - * - * - * @return the meta object for the containment reference 'Range'. - * @see org.eclipse.viatra.solver.language.solverLanguage.Assertion#getRange() - * @see #getAssertion() - * @generated - */ - EReference getAssertion_Range(); - - /** - * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.Disjunction Disjunction}'. - * - * - * @return the meta object for class 'Disjunction'. - * @see org.eclipse.viatra.solver.language.solverLanguage.Disjunction - * @generated - */ - EClass getDisjunction(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.viatra.solver.language.solverLanguage.Disjunction#getChildren Children}'. - * - * - * @return the meta object for the containment reference list 'Children'. - * @see org.eclipse.viatra.solver.language.solverLanguage.Disjunction#getChildren() - * @see #getDisjunction() - * @generated - */ - EReference getDisjunction_Children(); - - /** - * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.Switch Switch}'. - * - * - * @return the meta object for class 'Switch'. - * @see org.eclipse.viatra.solver.language.solverLanguage.Switch - * @generated - */ - EClass getSwitch(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.viatra.solver.language.solverLanguage.Switch#getCases Cases}'. - * - * - * @return the meta object for the containment reference list 'Cases'. - * @see org.eclipse.viatra.solver.language.solverLanguage.Switch#getCases() - * @see #getSwitch() - * @generated - */ - EReference getSwitch_Cases(); - - /** - * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.Conjunction Conjunction}'. - * - * - * @return the meta object for class 'Conjunction'. - * @see org.eclipse.viatra.solver.language.solverLanguage.Conjunction - * @generated - */ - EClass getConjunction(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.viatra.solver.language.solverLanguage.Conjunction#getChildren Children}'. - * - * - * @return the meta object for the containment reference list 'Children'. - * @see org.eclipse.viatra.solver.language.solverLanguage.Conjunction#getChildren() - * @see #getConjunction() - * @generated - */ - EReference getConjunction_Children(); - - /** - * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.Comparison Comparison}'. - * - * - * @return the meta object for class 'Comparison'. - * @see org.eclipse.viatra.solver.language.solverLanguage.Comparison - * @generated - */ - EClass getComparison(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.Comparison#getLeft Left}'. - * - * - * @return the meta object for the containment reference 'Left'. - * @see org.eclipse.viatra.solver.language.solverLanguage.Comparison#getLeft() - * @see #getComparison() - * @generated - */ - EReference getComparison_Left(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.Comparison#getOp Op}'. - * - * - * @return the meta object for the attribute 'Op'. - * @see org.eclipse.viatra.solver.language.solverLanguage.Comparison#getOp() - * @see #getComparison() - * @generated - */ - EAttribute getComparison_Op(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.Comparison#getRight Right}'. - * - * - * @return the meta object for the containment reference 'Right'. - * @see org.eclipse.viatra.solver.language.solverLanguage.Comparison#getRight() - * @see #getComparison() - * @generated - */ - EReference getComparison_Right(); - - /** - * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.BinaryExpression Binary Expression}'. - * - * - * @return the meta object for class 'Binary Expression'. - * @see org.eclipse.viatra.solver.language.solverLanguage.BinaryExpression - * @generated - */ - EClass getBinaryExpression(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.BinaryExpression#getLeft Left}'. - * - * - * @return the meta object for the containment reference 'Left'. - * @see org.eclipse.viatra.solver.language.solverLanguage.BinaryExpression#getLeft() - * @see #getBinaryExpression() - * @generated - */ - EReference getBinaryExpression_Left(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.BinaryExpression#getOp Op}'. - * - * - * @return the meta object for the attribute 'Op'. - * @see org.eclipse.viatra.solver.language.solverLanguage.BinaryExpression#getOp() - * @see #getBinaryExpression() - * @generated - */ - EAttribute getBinaryExpression_Op(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.BinaryExpression#getRight Right}'. - * - * - * @return the meta object for the containment reference 'Right'. - * @see org.eclipse.viatra.solver.language.solverLanguage.BinaryExpression#getRight() - * @see #getBinaryExpression() - * @generated - */ - EReference getBinaryExpression_Right(); - - /** - * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.UnaryExpression Unary Expression}'. - * - * - * @return the meta object for class 'Unary Expression'. - * @see org.eclipse.viatra.solver.language.solverLanguage.UnaryExpression - * @generated - */ - EClass getUnaryExpression(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.UnaryExpression#getOp Op}'. - * - * - * @return the meta object for the attribute 'Op'. - * @see org.eclipse.viatra.solver.language.solverLanguage.UnaryExpression#getOp() - * @see #getUnaryExpression() - * @generated - */ - EAttribute getUnaryExpression_Op(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.UnaryExpression#getBody Body}'. - * - * - * @return the meta object for the containment reference 'Body'. - * @see org.eclipse.viatra.solver.language.solverLanguage.UnaryExpression#getBody() - * @see #getUnaryExpression() - * @generated - */ - EReference getUnaryExpression_Body(); - - /** - * Returns the meta object for enum '{@link org.eclipse.viatra.solver.language.solverLanguage.MetricType Metric Type}'. - * - * - * @return the meta object for enum 'Metric Type'. - * @see org.eclipse.viatra.solver.language.solverLanguage.MetricType - * @generated - */ - EEnum getMetricType(); - - /** - * Returns the meta object for enum '{@link org.eclipse.viatra.solver.language.solverLanguage.BinaryOperator Binary Operator}'. - * - * - * @return the meta object for enum 'Binary Operator'. - * @see org.eclipse.viatra.solver.language.solverLanguage.BinaryOperator - * @generated - */ - EEnum getBinaryOperator(); - - /** - * Returns the meta object for enum '{@link org.eclipse.viatra.solver.language.solverLanguage.UnaryOp Unary Op}'. - * - * - * @return the meta object for enum 'Unary Op'. - * @see org.eclipse.viatra.solver.language.solverLanguage.UnaryOp - * @generated - */ - EEnum getUnaryOp(); - - /** - * Returns the meta object for enum '{@link org.eclipse.viatra.solver.language.solverLanguage.AggregationOp Aggregation Op}'. - * - * - * @return the meta object for enum 'Aggregation Op'. - * @see org.eclipse.viatra.solver.language.solverLanguage.AggregationOp - * @generated - */ - EEnum getAggregationOp(); - - /** - * Returns the meta object for enum '{@link org.eclipse.viatra.solver.language.solverLanguage.LogicValue Logic Value}'. - * - * - * @return the meta object for enum 'Logic Value'. - * @see org.eclipse.viatra.solver.language.solverLanguage.LogicValue - * @generated - */ - EEnum getLogicValue(); - - /** - * Returns the meta object for enum '{@link org.eclipse.viatra.solver.language.solverLanguage.ObjectiveKind Objective Kind}'. - * - * - * @return the meta object for enum 'Objective Kind'. - * @see org.eclipse.viatra.solver.language.solverLanguage.ObjectiveKind - * @generated - */ - EEnum getObjectiveKind(); - - /** - * Returns the factory that creates the instances of the model. - * - * - * @return the factory that creates the instances of the model. - * @generated - */ - SolverLanguageFactory getSolverLanguageFactory(); - - /** - * - * Defines literals for the meta objects that represent - *
      - *
    • each class,
    • - *
    • each feature of each class,
    • - *
    • each enum,
    • - *
    • and each data type
    • - *
    - * - * @generated - */ - interface Literals - { - /** - * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ProblemImpl Problem}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ProblemImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getProblem() - * @generated - */ - EClass PROBLEM = eINSTANCE.getProblem(); - - /** - * The meta object literal for the 'Statements' containment reference list feature. - * - * - * @generated - */ - EReference PROBLEM__STATEMENTS = eINSTANCE.getProblem_Statements(); - - /** - * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.StatementImpl Statement}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.StatementImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getStatement() - * @generated - */ - EClass STATEMENT = eINSTANCE.getStatement(); - - /** - * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.PredicateDefinitionImpl Predicate Definition}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.PredicateDefinitionImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getPredicateDefinition() - * @generated - */ - EClass PREDICATE_DEFINITION = eINSTANCE.getPredicateDefinition(); - - /** - * The meta object literal for the 'Head' containment reference feature. - * - * - * @generated - */ - EReference PREDICATE_DEFINITION__HEAD = eINSTANCE.getPredicateDefinition_Head(); - - /** - * The meta object literal for the 'Body' containment reference feature. - * - * - * @generated - */ - EReference PREDICATE_DEFINITION__BODY = eINSTANCE.getPredicateDefinition_Body(); - - /** - * The meta object literal for the 'Functional' attribute feature. - * - * - * @generated - */ - EAttribute PREDICATE_DEFINITION__FUNCTIONAL = eINSTANCE.getPredicateDefinition_Functional(); - - /** - * The meta object literal for the 'Error' attribute feature. - * - * - * @generated - */ - EAttribute PREDICATE_DEFINITION__ERROR = eINSTANCE.getPredicateDefinition_Error(); - - /** - * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.UnnamedErrorPrediateDefinitionImpl Unnamed Error Prediate Definition}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.UnnamedErrorPrediateDefinitionImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getUnnamedErrorPrediateDefinition() - * @generated - */ - EClass UNNAMED_ERROR_PREDIATE_DEFINITION = eINSTANCE.getUnnamedErrorPrediateDefinition(); - - /** - * The meta object literal for the 'Argument List' containment reference feature. - * - * - * @generated - */ - EReference UNNAMED_ERROR_PREDIATE_DEFINITION__ARGUMENT_LIST = eINSTANCE.getUnnamedErrorPrediateDefinition_ArgumentList(); - - /** - * The meta object literal for the 'Body' containment reference feature. - * - * - * @generated - */ - EReference UNNAMED_ERROR_PREDIATE_DEFINITION__BODY = eINSTANCE.getUnnamedErrorPrediateDefinition_Body(); - - /** - * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.DefaultDefinitionImpl Default Definition}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.DefaultDefinitionImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getDefaultDefinition() - * @generated - */ - EClass DEFAULT_DEFINITION = eINSTANCE.getDefaultDefinition(); - - /** - * The meta object literal for the 'Head' containment reference feature. - * - * - * @generated - */ - EReference DEFAULT_DEFINITION__HEAD = eINSTANCE.getDefaultDefinition_Head(); - - /** - * The meta object literal for the 'Range' containment reference feature. - * - * - * @generated - */ - EReference DEFAULT_DEFINITION__RANGE = eINSTANCE.getDefaultDefinition_Range(); - - /** - * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExternPredicateDefinitionImpl Extern Predicate Definition}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ExternPredicateDefinitionImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getExternPredicateDefinition() - * @generated - */ - EClass EXTERN_PREDICATE_DEFINITION = eINSTANCE.getExternPredicateDefinition(); - - /** - * The meta object literal for the 'Head' containment reference feature. - * - * - * @generated - */ - EReference EXTERN_PREDICATE_DEFINITION__HEAD = eINSTANCE.getExternPredicateDefinition_Head(); - - /** - * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.MetricDefinitionImpl Metric Definition}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.MetricDefinitionImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getMetricDefinition() - * @generated - */ - EClass METRIC_DEFINITION = eINSTANCE.getMetricDefinition(); - - /** - * The meta object literal for the 'Head' containment reference feature. - * - * - * @generated - */ - EReference METRIC_DEFINITION__HEAD = eINSTANCE.getMetricDefinition_Head(); - - /** - * The meta object literal for the 'Body' containment reference feature. - * - * - * @generated - */ - EReference METRIC_DEFINITION__BODY = eINSTANCE.getMetricDefinition_Body(); - - /** - * The meta object literal for the 'Type' attribute feature. - * - * - * @generated - */ - EAttribute METRIC_DEFINITION__TYPE = eINSTANCE.getMetricDefinition_Type(); - - /** - * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExternMetricDefinitionImpl Extern Metric Definition}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ExternMetricDefinitionImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getExternMetricDefinition() - * @generated - */ - EClass EXTERN_METRIC_DEFINITION = eINSTANCE.getExternMetricDefinition(); - - /** - * The meta object literal for the 'Type' attribute feature. - * - * - * @generated - */ - EAttribute EXTERN_METRIC_DEFINITION__TYPE = eINSTANCE.getExternMetricDefinition_Type(); - - /** - * The meta object literal for the 'Head' containment reference feature. - * - * - * @generated - */ - EReference EXTERN_METRIC_DEFINITION__HEAD = eINSTANCE.getExternMetricDefinition_Head(); - - /** - * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExpressionImpl Expression}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ExpressionImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getExpression() - * @generated - */ - EClass EXPRESSION = eINSTANCE.getExpression(); - - /** - * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.IfElseImpl If Else}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.IfElseImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getIfElse() - * @generated - */ - EClass IF_ELSE = eINSTANCE.getIfElse(); - - /** - * The meta object literal for the 'Condition' containment reference feature. - * - * - * @generated - */ - EReference IF_ELSE__CONDITION = eINSTANCE.getIfElse_Condition(); - - /** - * The meta object literal for the 'Then' containment reference feature. - * - * - * @generated - */ - EReference IF_ELSE__THEN = eINSTANCE.getIfElse_Then(); - - /** - * The meta object literal for the 'Else' containment reference feature. - * - * - * @generated - */ - EReference IF_ELSE__ELSE = eINSTANCE.getIfElse_Else(); - - /** - * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.CaseImpl Case}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.CaseImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getCase() - * @generated - */ - EClass CASE = eINSTANCE.getCase(); - - /** - * The meta object literal for the 'Condition' containment reference feature. - * - * - * @generated - */ - EReference CASE__CONDITION = eINSTANCE.getCase_Condition(); - - /** - * The meta object literal for the 'Body' containment reference feature. - * - * - * @generated - */ - EReference CASE__BODY = eINSTANCE.getCase_Body(); - - /** - * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.CountImpl Count}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.CountImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getCount() - * @generated - */ - EClass COUNT = eINSTANCE.getCount(); - - /** - * The meta object literal for the 'Body' containment reference feature. - * - * - * @generated - */ - EReference COUNT__BODY = eINSTANCE.getCount_Body(); - - /** - * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.AggregationImpl Aggregation}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.AggregationImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getAggregation() - * @generated - */ - EClass AGGREGATION = eINSTANCE.getAggregation(); - - /** - * The meta object literal for the 'Op' attribute feature. - * - * - * @generated - */ - EAttribute AGGREGATION__OP = eINSTANCE.getAggregation_Op(); - - /** - * The meta object literal for the 'Body' containment reference feature. - * - * - * @generated - */ - EReference AGGREGATION__BODY = eINSTANCE.getAggregation_Body(); - - /** - * The meta object literal for the 'Condition' containment reference feature. - * - * - * @generated - */ - EReference AGGREGATION__CONDITION = eINSTANCE.getAggregation_Condition(); - - /** - * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.CallImpl Call}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.CallImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getCall() - * @generated - */ - EClass CALL = eINSTANCE.getCall(); - - /** - * The meta object literal for the 'Functor' containment reference feature. - * - * - * @generated - */ - EReference CALL__FUNCTOR = eINSTANCE.getCall_Functor(); - - /** - * The meta object literal for the 'Transitive Closure' attribute feature. - * - * - * @generated - */ - EAttribute CALL__TRANSITIVE_CLOSURE = eINSTANCE.getCall_TransitiveClosure(); - - /** - * The meta object literal for the 'Reflexive Transitive Closure' attribute feature. - * - * - * @generated - */ - EAttribute CALL__REFLEXIVE_TRANSITIVE_CLOSURE = eINSTANCE.getCall_ReflexiveTransitiveClosure(); - - /** - * The meta object literal for the 'Argument List' containment reference feature. - * - * - * @generated - */ - EReference CALL__ARGUMENT_LIST = eINSTANCE.getCall_ArgumentList(); - - /** - * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ArgumentListImpl Argument List}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ArgumentListImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getArgumentList() - * @generated - */ - EClass ARGUMENT_LIST = eINSTANCE.getArgumentList(); - - /** - * The meta object literal for the 'Arguments' containment reference list feature. - * - * - * @generated - */ - EReference ARGUMENT_LIST__ARGUMENTS = eINSTANCE.getArgumentList_Arguments(); - - /** - * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ArgumentImpl Argument}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ArgumentImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getArgument() - * @generated - */ - EClass ARGUMENT = eINSTANCE.getArgument(); - - /** - * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExpressionArgumentImpl Expression Argument}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ExpressionArgumentImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getExpressionArgument() - * @generated - */ - EClass EXPRESSION_ARGUMENT = eINSTANCE.getExpressionArgument(); - - /** - * The meta object literal for the 'Body' containment reference feature. - * - * - * @generated - */ - EReference EXPRESSION_ARGUMENT__BODY = eINSTANCE.getExpressionArgument_Body(); - - /** - * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.StarArgumentImpl Star Argument}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.StarArgumentImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getStarArgument() - * @generated - */ - EClass STAR_ARGUMENT = eINSTANCE.getStarArgument(); - - /** - * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.TypedArgumentImpl Typed Argument}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.TypedArgumentImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getTypedArgument() - * @generated - */ - EClass TYPED_ARGUMENT = eINSTANCE.getTypedArgument(); - - /** - * The meta object literal for the 'Type' reference feature. - * - * - * @generated - */ - EReference TYPED_ARGUMENT__TYPE = eINSTANCE.getTypedArgument_Type(); - - /** - * The meta object literal for the 'Variable' reference feature. - * - * - * @generated - */ - EReference TYPED_ARGUMENT__VARIABLE = eINSTANCE.getTypedArgument_Variable(); - - /** - * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.TypedStarArgumentImpl Typed Star Argument}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.TypedStarArgumentImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getTypedStarArgument() - * @generated - */ - EClass TYPED_STAR_ARGUMENT = eINSTANCE.getTypedStarArgument(); - - /** - * The meta object literal for the 'Type' reference feature. - * - * - * @generated - */ - EReference TYPED_STAR_ARGUMENT__TYPE = eINSTANCE.getTypedStarArgument_Type(); - - /** - * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ReferenceImpl Reference}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ReferenceImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getReference() - * @generated - */ - EClass REFERENCE = eINSTANCE.getReference(); - - /** - * The meta object literal for the 'Referred' reference feature. - * - * - * @generated - */ - EReference REFERENCE__REFERRED = eINSTANCE.getReference_Referred(); - - /** - * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.IntervalImpl Interval}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.IntervalImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getInterval() - * @generated - */ - EClass INTERVAL = eINSTANCE.getInterval(); - - /** - * The meta object literal for the 'Lower Bound' containment reference feature. - * - * - * @generated - */ - EReference INTERVAL__LOWER_BOUND = eINSTANCE.getInterval_LowerBound(); - - /** - * The meta object literal for the 'Upper Bound' containment reference feature. - * - * - * @generated - */ - EReference INTERVAL__UPPER_BOUND = eINSTANCE.getInterval_UpperBound(); - - /** - * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.LiteralImpl Literal}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.LiteralImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getLiteral() - * @generated - */ - EClass LITERAL = eINSTANCE.getLiteral(); - - /** - * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.LogicLiteralImpl Logic Literal}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.LogicLiteralImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getLogicLiteral() - * @generated - */ - EClass LOGIC_LITERAL = eINSTANCE.getLogicLiteral(); - - /** - * The meta object literal for the 'Value' attribute feature. - * - * - * @generated - */ - EAttribute LOGIC_LITERAL__VALUE = eINSTANCE.getLogicLiteral_Value(); - - /** - * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.NumericLiteralImpl Numeric Literal}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.NumericLiteralImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getNumericLiteral() - * @generated - */ - EClass NUMERIC_LITERAL = eINSTANCE.getNumericLiteral(); - - /** - * The meta object literal for the 'Value' attribute feature. - * - * - * @generated - */ - EAttribute NUMERIC_LITERAL__VALUE = eINSTANCE.getNumericLiteral_Value(); - - /** - * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.InfinityLiteralImpl Infinity Literal}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.InfinityLiteralImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getInfinityLiteral() - * @generated - */ - EClass INFINITY_LITERAL = eINSTANCE.getInfinityLiteral(); - - /** - * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.EmptyIntervalLiteralImpl Empty Interval Literal}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.EmptyIntervalLiteralImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getEmptyIntervalLiteral() - * @generated - */ - EClass EMPTY_INTERVAL_LITERAL = eINSTANCE.getEmptyIntervalLiteral(); - - /** - * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.StringLiteralImpl String Literal}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.StringLiteralImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getStringLiteral() - * @generated - */ - EClass STRING_LITERAL = eINSTANCE.getStringLiteral(); - - /** - * The meta object literal for the 'Value' attribute feature. - * - * - * @generated - */ - EAttribute STRING_LITERAL__VALUE = eINSTANCE.getStringLiteral_Value(); - - /** - * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ClassDefinitionImpl Class Definition}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ClassDefinitionImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getClassDefinition() - * @generated - */ - EClass CLASS_DEFINITION = eINSTANCE.getClassDefinition(); - - /** - * The meta object literal for the 'Abstract' attribute feature. - * - * - * @generated - */ - EAttribute CLASS_DEFINITION__ABSTRACT = eINSTANCE.getClassDefinition_Abstract(); - - /** - * The meta object literal for the 'Name' attribute feature. - * - * - * @generated - */ - EAttribute CLASS_DEFINITION__NAME = eINSTANCE.getClassDefinition_Name(); - - /** - * The meta object literal for the 'Superclasses' reference list feature. - * - * - * @generated - */ - EReference CLASS_DEFINITION__SUPERCLASSES = eINSTANCE.getClassDefinition_Superclasses(); - - /** - * The meta object literal for the 'Members' containment reference list feature. - * - * - * @generated - */ - EReference CLASS_DEFINITION__MEMBERS = eINSTANCE.getClassDefinition_Members(); - - /** - * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.MemberDefinitionImpl Member Definition}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.MemberDefinitionImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getMemberDefinition() - * @generated - */ - EClass MEMBER_DEFINITION = eINSTANCE.getMemberDefinition(); - - /** - * The meta object literal for the 'Containment' attribute feature. - * - * - * @generated - */ - EAttribute MEMBER_DEFINITION__CONTAINMENT = eINSTANCE.getMemberDefinition_Containment(); - - /** - * The meta object literal for the 'Type' reference feature. - * - * - * @generated - */ - EReference MEMBER_DEFINITION__TYPE = eINSTANCE.getMemberDefinition_Type(); - - /** - * The meta object literal for the 'Multiplicity' containment reference feature. - * - * - * @generated - */ - EReference MEMBER_DEFINITION__MULTIPLICITY = eINSTANCE.getMemberDefinition_Multiplicity(); - - /** - * The meta object literal for the 'Name' attribute feature. - * - * - * @generated - */ - EAttribute MEMBER_DEFINITION__NAME = eINSTANCE.getMemberDefinition_Name(); - - /** - * The meta object literal for the 'Opposite' reference feature. - * - * - * @generated - */ - EReference MEMBER_DEFINITION__OPPOSITE = eINSTANCE.getMemberDefinition_Opposite(); - - /** - * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.MultiplicityImpl Multiplicity}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.MultiplicityImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getMultiplicity() - * @generated - */ - EClass MULTIPLICITY = eINSTANCE.getMultiplicity(); - - /** - * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ManyMultiplicityImpl Many Multiplicity}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ManyMultiplicityImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getManyMultiplicity() - * @generated - */ - EClass MANY_MULTIPLICITY = eINSTANCE.getManyMultiplicity(); - - /** - * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExactMultiplicityImpl Exact Multiplicity}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ExactMultiplicityImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getExactMultiplicity() - * @generated - */ - EClass EXACT_MULTIPLICITY = eINSTANCE.getExactMultiplicity(); - - /** - * The meta object literal for the 'Multiplicity' attribute feature. - * - * - * @generated - */ - EAttribute EXACT_MULTIPLICITY__MULTIPLICITY = eINSTANCE.getExactMultiplicity_Multiplicity(); - - /** - * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.BoundedMultiplicityImpl Bounded Multiplicity}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.BoundedMultiplicityImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getBoundedMultiplicity() - * @generated - */ - EClass BOUNDED_MULTIPLICITY = eINSTANCE.getBoundedMultiplicity(); - - /** - * The meta object literal for the 'Lower Bound' attribute feature. - * - * - * @generated - */ - EAttribute BOUNDED_MULTIPLICITY__LOWER_BOUND = eINSTANCE.getBoundedMultiplicity_LowerBound(); - - /** - * The meta object literal for the 'Upper Bound' attribute feature. - * - * - * @generated - */ - EAttribute BOUNDED_MULTIPLICITY__UPPER_BOUND = eINSTANCE.getBoundedMultiplicity_UpperBound(); - - /** - * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ScopeDefinitionImpl Scope Definition}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ScopeDefinitionImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getScopeDefinition() - * @generated - */ - EClass SCOPE_DEFINITION = eINSTANCE.getScopeDefinition(); - - /** - * The meta object literal for the 'Type' reference feature. - * - * - * @generated - */ - EReference SCOPE_DEFINITION__TYPE = eINSTANCE.getScopeDefinition_Type(); - - /** - * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExactScopeDefinitionImpl Exact Scope Definition}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ExactScopeDefinitionImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getExactScopeDefinition() - * @generated - */ - EClass EXACT_SCOPE_DEFINITION = eINSTANCE.getExactScopeDefinition(); - - /** - * The meta object literal for the 'Exact Scope' attribute feature. - * - * - * @generated - */ - EAttribute EXACT_SCOPE_DEFINITION__EXACT_SCOPE = eINSTANCE.getExactScopeDefinition_ExactScope(); - - /** - * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.BoundedScopeDefinitionImpl Bounded Scope Definition}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.BoundedScopeDefinitionImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getBoundedScopeDefinition() - * @generated - */ - EClass BOUNDED_SCOPE_DEFINITION = eINSTANCE.getBoundedScopeDefinition(); - - /** - * The meta object literal for the 'Lower Bound' attribute feature. - * - * - * @generated - */ - EAttribute BOUNDED_SCOPE_DEFINITION__LOWER_BOUND = eINSTANCE.getBoundedScopeDefinition_LowerBound(); - - /** - * The meta object literal for the 'Upper Bound' attribute feature. - * - * - * @generated - */ - EAttribute BOUNDED_SCOPE_DEFINITION__UPPER_BOUND = eINSTANCE.getBoundedScopeDefinition_UpperBound(); - - /** - * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.LowerBoundedScopeDefinitionImpl Lower Bounded Scope Definition}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.LowerBoundedScopeDefinitionImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getLowerBoundedScopeDefinition() - * @generated - */ - EClass LOWER_BOUNDED_SCOPE_DEFINITION = eINSTANCE.getLowerBoundedScopeDefinition(); - - /** - * The meta object literal for the 'Lower Bound' attribute feature. - * - * - * @generated - */ - EAttribute LOWER_BOUNDED_SCOPE_DEFINITION__LOWER_BOUND = eINSTANCE.getLowerBoundedScopeDefinition_LowerBound(); - - /** - * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ObjectiveDefinitionImpl Objective Definition}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ObjectiveDefinitionImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getObjectiveDefinition() - * @generated - */ - EClass OBJECTIVE_DEFINITION = eINSTANCE.getObjectiveDefinition(); - - /** - * The meta object literal for the 'Kind' attribute feature. - * - * - * @generated - */ - EAttribute OBJECTIVE_DEFINITION__KIND = eINSTANCE.getObjectiveDefinition_Kind(); - - /** - * The meta object literal for the 'Objective' containment reference feature. - * - * - * @generated - */ - EReference OBJECTIVE_DEFINITION__OBJECTIVE = eINSTANCE.getObjectiveDefinition_Objective(); - - /** - * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.NamedElementImpl Named Element}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.NamedElementImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getNamedElement() - * @generated - */ - EClass NAMED_ELEMENT = eINSTANCE.getNamedElement(); - - /** - * The meta object literal for the 'Name' attribute feature. - * - * - * @generated - */ - EAttribute NAMED_ELEMENT__NAME = eINSTANCE.getNamedElement_Name(); - - /** - * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.AssertionImpl Assertion}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.AssertionImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getAssertion() - * @generated - */ - EClass ASSERTION = eINSTANCE.getAssertion(); - - /** - * The meta object literal for the 'Body' containment reference feature. - * - * - * @generated - */ - EReference ASSERTION__BODY = eINSTANCE.getAssertion_Body(); - - /** - * The meta object literal for the 'Range' containment reference feature. - * - * - * @generated - */ - EReference ASSERTION__RANGE = eINSTANCE.getAssertion_Range(); - - /** - * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.DisjunctionImpl Disjunction}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.DisjunctionImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getDisjunction() - * @generated - */ - EClass DISJUNCTION = eINSTANCE.getDisjunction(); - - /** - * The meta object literal for the 'Children' containment reference list feature. - * - * - * @generated - */ - EReference DISJUNCTION__CHILDREN = eINSTANCE.getDisjunction_Children(); - - /** - * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.SwitchImpl Switch}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SwitchImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getSwitch() - * @generated - */ - EClass SWITCH = eINSTANCE.getSwitch(); - - /** - * The meta object literal for the 'Cases' containment reference list feature. - * - * - * @generated - */ - EReference SWITCH__CASES = eINSTANCE.getSwitch_Cases(); - - /** - * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ConjunctionImpl Conjunction}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ConjunctionImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getConjunction() - * @generated - */ - EClass CONJUNCTION = eINSTANCE.getConjunction(); - - /** - * The meta object literal for the 'Children' containment reference list feature. - * - * - * @generated - */ - EReference CONJUNCTION__CHILDREN = eINSTANCE.getConjunction_Children(); - - /** - * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ComparisonImpl Comparison}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ComparisonImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getComparison() - * @generated - */ - EClass COMPARISON = eINSTANCE.getComparison(); - - /** - * The meta object literal for the 'Left' containment reference feature. - * - * - * @generated - */ - EReference COMPARISON__LEFT = eINSTANCE.getComparison_Left(); - - /** - * The meta object literal for the 'Op' attribute feature. - * - * - * @generated - */ - EAttribute COMPARISON__OP = eINSTANCE.getComparison_Op(); - - /** - * The meta object literal for the 'Right' containment reference feature. - * - * - * @generated - */ - EReference COMPARISON__RIGHT = eINSTANCE.getComparison_Right(); - - /** - * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.BinaryExpressionImpl Binary Expression}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.BinaryExpressionImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getBinaryExpression() - * @generated - */ - EClass BINARY_EXPRESSION = eINSTANCE.getBinaryExpression(); - - /** - * The meta object literal for the 'Left' containment reference feature. - * - * - * @generated - */ - EReference BINARY_EXPRESSION__LEFT = eINSTANCE.getBinaryExpression_Left(); - - /** - * The meta object literal for the 'Op' attribute feature. - * - * - * @generated - */ - EAttribute BINARY_EXPRESSION__OP = eINSTANCE.getBinaryExpression_Op(); - - /** - * The meta object literal for the 'Right' containment reference feature. - * - * - * @generated - */ - EReference BINARY_EXPRESSION__RIGHT = eINSTANCE.getBinaryExpression_Right(); - - /** - * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.UnaryExpressionImpl Unary Expression}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.UnaryExpressionImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getUnaryExpression() - * @generated - */ - EClass UNARY_EXPRESSION = eINSTANCE.getUnaryExpression(); - - /** - * The meta object literal for the 'Op' attribute feature. - * - * - * @generated - */ - EAttribute UNARY_EXPRESSION__OP = eINSTANCE.getUnaryExpression_Op(); - - /** - * The meta object literal for the 'Body' containment reference feature. - * - * - * @generated - */ - EReference UNARY_EXPRESSION__BODY = eINSTANCE.getUnaryExpression_Body(); - - /** - * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.MetricType Metric Type}' enum. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.MetricType - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getMetricType() - * @generated - */ - EEnum METRIC_TYPE = eINSTANCE.getMetricType(); - - /** - * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.BinaryOperator Binary Operator}' enum. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.BinaryOperator - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getBinaryOperator() - * @generated - */ - EEnum BINARY_OPERATOR = eINSTANCE.getBinaryOperator(); - - /** - * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.UnaryOp Unary Op}' enum. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.UnaryOp - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getUnaryOp() - * @generated - */ - EEnum UNARY_OP = eINSTANCE.getUnaryOp(); - - /** - * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.AggregationOp Aggregation Op}' enum. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.AggregationOp - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getAggregationOp() - * @generated - */ - EEnum AGGREGATION_OP = eINSTANCE.getAggregationOp(); - - /** - * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.LogicValue Logic Value}' enum. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.LogicValue - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getLogicValue() - * @generated - */ - EEnum LOGIC_VALUE = eINSTANCE.getLogicValue(); - - /** - * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.ObjectiveKind Objective Kind}' enum. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.ObjectiveKind - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getObjectiveKind() - * @generated - */ - EEnum OBJECTIVE_KIND = eINSTANCE.getObjectiveKind(); - - } - -} //SolverLanguagePackage diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/StarArgument.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/StarArgument.java deleted file mode 100644 index 4e4bed1b..00000000 --- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/StarArgument.java +++ /dev/null @@ -1,19 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage; - - -/** - * - * A representation of the model object 'Star Argument'. - * - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getStarArgument() - * @model - * @generated - */ -public interface StarArgument extends Argument -{ -} // StarArgument diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Statement.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Statement.java deleted file mode 100644 index 7c8d208f..00000000 --- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Statement.java +++ /dev/null @@ -1,20 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage; - -import org.eclipse.emf.ecore.EObject; - -/** - * - * A representation of the model object 'Statement'. - * - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getStatement() - * @model - * @generated - */ -public interface Statement extends EObject -{ -} // Statement diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/StringLiteral.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/StringLiteral.java deleted file mode 100644 index dc4d6487..00000000 --- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/StringLiteral.java +++ /dev/null @@ -1,47 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage; - - -/** - * - * A representation of the model object 'String Literal'. - * - * - *

    - * The following features are supported: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.StringLiteral#getValue Value}
    • - *
    - * - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getStringLiteral() - * @model - * @generated - */ -public interface StringLiteral extends Literal -{ - /** - * Returns the value of the 'Value' attribute. - * - * - * @return the value of the 'Value' attribute. - * @see #setValue(String) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getStringLiteral_Value() - * @model - * @generated - */ - String getValue(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.StringLiteral#getValue Value}' attribute. - * - * - * @param value the new value of the 'Value' attribute. - * @see #getValue() - * @generated - */ - void setValue(String value); - -} // StringLiteral diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Switch.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Switch.java deleted file mode 100644 index 92504b5d..00000000 --- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Switch.java +++ /dev/null @@ -1,38 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage; - -import org.eclipse.emf.common.util.EList; - -/** - * - * A representation of the model object 'Switch'. - * - * - *

    - * The following features are supported: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.Switch#getCases Cases}
    • - *
    - * - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getSwitch() - * @model - * @generated - */ -public interface Switch extends Expression -{ - /** - * Returns the value of the 'Cases' containment reference list. - * The list contents are of type {@link org.eclipse.viatra.solver.language.solverLanguage.Case}. - * - * - * @return the value of the 'Cases' containment reference list. - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getSwitch_Cases() - * @model containment="true" - * @generated - */ - EList getCases(); - -} // Switch diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/TypedArgument.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/TypedArgument.java deleted file mode 100644 index f903338a..00000000 --- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/TypedArgument.java +++ /dev/null @@ -1,70 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage; - - -/** - * - * A representation of the model object 'Typed Argument'. - * - * - *

    - * The following features are supported: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.TypedArgument#getType Type}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.TypedArgument#getVariable Variable}
    • - *
    - * - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getTypedArgument() - * @model - * @generated - */ -public interface TypedArgument extends Argument -{ - /** - * Returns the value of the 'Type' reference. - * - * - * @return the value of the 'Type' reference. - * @see #setType(NamedElement) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getTypedArgument_Type() - * @model - * @generated - */ - NamedElement getType(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.TypedArgument#getType Type}' reference. - * - * - * @param value the new value of the 'Type' reference. - * @see #getType() - * @generated - */ - void setType(NamedElement value); - - /** - * Returns the value of the 'Variable' reference. - * - * - * @return the value of the 'Variable' reference. - * @see #setVariable(NamedElement) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getTypedArgument_Variable() - * @model - * @generated - */ - NamedElement getVariable(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.TypedArgument#getVariable Variable}' reference. - * - * - * @param value the new value of the 'Variable' reference. - * @see #getVariable() - * @generated - */ - void setVariable(NamedElement value); - -} // TypedArgument diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/TypedStarArgument.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/TypedStarArgument.java deleted file mode 100644 index 2b8bc002..00000000 --- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/TypedStarArgument.java +++ /dev/null @@ -1,47 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage; - - -/** - * - * A representation of the model object 'Typed Star Argument'. - * - * - *

    - * The following features are supported: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.TypedStarArgument#getType Type}
    • - *
    - * - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getTypedStarArgument() - * @model - * @generated - */ -public interface TypedStarArgument extends Argument -{ - /** - * Returns the value of the 'Type' reference. - * - * - * @return the value of the 'Type' reference. - * @see #setType(NamedElement) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getTypedStarArgument_Type() - * @model - * @generated - */ - NamedElement getType(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.TypedStarArgument#getType Type}' reference. - * - * - * @param value the new value of the 'Type' reference. - * @see #getType() - * @generated - */ - void setType(NamedElement value); - -} // TypedStarArgument diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/UnaryExpression.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/UnaryExpression.java deleted file mode 100644 index 5c2356cd..00000000 --- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/UnaryExpression.java +++ /dev/null @@ -1,73 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage; - - -/** - * - * A representation of the model object 'Unary Expression'. - * - * - *

    - * The following features are supported: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.UnaryExpression#getOp Op}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.UnaryExpression#getBody Body}
    • - *
    - * - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getUnaryExpression() - * @model - * @generated - */ -public interface UnaryExpression extends Expression -{ - /** - * Returns the value of the 'Op' attribute. - * The literals are from the enumeration {@link org.eclipse.viatra.solver.language.solverLanguage.UnaryOp}. - * - * - * @return the value of the 'Op' attribute. - * @see org.eclipse.viatra.solver.language.solverLanguage.UnaryOp - * @see #setOp(UnaryOp) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getUnaryExpression_Op() - * @model - * @generated - */ - UnaryOp getOp(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.UnaryExpression#getOp Op}' attribute. - * - * - * @param value the new value of the 'Op' attribute. - * @see org.eclipse.viatra.solver.language.solverLanguage.UnaryOp - * @see #getOp() - * @generated - */ - void setOp(UnaryOp value); - - /** - * Returns the value of the 'Body' containment reference. - * - * - * @return the value of the 'Body' containment reference. - * @see #setBody(Expression) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getUnaryExpression_Body() - * @model containment="true" - * @generated - */ - Expression getBody(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.UnaryExpression#getBody Body}' containment reference. - * - * - * @param value the new value of the 'Body' containment reference. - * @see #getBody() - * @generated - */ - void setBody(Expression value); - -} // UnaryExpression diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/UnaryOp.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/UnaryOp.java deleted file mode 100644 index e426f4f1..00000000 --- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/UnaryOp.java +++ /dev/null @@ -1,317 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage; - -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 'Unary Op', - * and utility methods for working with them. - * - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getUnaryOp() - * @model - * @generated - */ -public enum UnaryOp implements Enumerator -{ - /** - * The 'NEG' literal object. - * - * - * @see #NEG_VALUE - * @generated - * @ordered - */ - NEG(0, "NEG", "!"), - - /** - * The 'PLUS' literal object. - * - * - * @see #PLUS_VALUE - * @generated - * @ordered - */ - PLUS(1, "PLUS", "+"), - - /** - * The 'MINUS' literal object. - * - * - * @see #MINUS_VALUE - * @generated - * @ordered - */ - MINUS(2, "MINUS", "-"), - - /** - * The 'MAY' literal object. - * - * - * @see #MAY_VALUE - * @generated - * @ordered - */ - MAY(3, "MAY", "may"), - - /** - * The 'MUST' literal object. - * - * - * @see #MUST_VALUE - * @generated - * @ordered - */ - MUST(4, "MUST", "must"), - - /** - * The 'CURRENT' literal object. - * - * - * @see #CURRENT_VALUE - * @generated - * @ordered - */ - CURRENT(5, "CURRENT", "current"); - - /** - * The 'NEG' literal value. - * - * - * @see #NEG - * @model literal="!" - * @generated - * @ordered - */ - public static final int NEG_VALUE = 0; - - /** - * The 'PLUS' literal value. - * - * - * @see #PLUS - * @model literal="+" - * @generated - * @ordered - */ - public static final int PLUS_VALUE = 1; - - /** - * The 'MINUS' literal value. - * - * - * @see #MINUS - * @model literal="-" - * @generated - * @ordered - */ - public static final int MINUS_VALUE = 2; - - /** - * The 'MAY' literal value. - * - * - * @see #MAY - * @model literal="may" - * @generated - * @ordered - */ - public static final int MAY_VALUE = 3; - - /** - * The 'MUST' literal value. - * - * - * @see #MUST - * @model literal="must" - * @generated - * @ordered - */ - public static final int MUST_VALUE = 4; - - /** - * The 'CURRENT' literal value. - * - * - * @see #CURRENT - * @model literal="current" - * @generated - * @ordered - */ - public static final int CURRENT_VALUE = 5; - - /** - * An array of all the 'Unary Op' enumerators. - * - * - * @generated - */ - private static final UnaryOp[] VALUES_ARRAY = - new UnaryOp[] - { - NEG, - PLUS, - MINUS, - MAY, - MUST, - CURRENT, - }; - - /** - * A public read-only list of all the 'Unary Op' enumerators. - * - * - * @generated - */ - public static final List VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); - - /** - * Returns the 'Unary Op' literal with the specified literal value. - * - * - * @param literal the literal. - * @return the matching enumerator or null. - * @generated - */ - public static UnaryOp get(String literal) - { - for (int i = 0; i < VALUES_ARRAY.length; ++i) - { - UnaryOp result = VALUES_ARRAY[i]; - if (result.toString().equals(literal)) - { - return result; - } - } - return null; - } - - /** - * Returns the 'Unary Op' literal with the specified name. - * - * - * @param name the name. - * @return the matching enumerator or null. - * @generated - */ - public static UnaryOp getByName(String name) - { - for (int i = 0; i < VALUES_ARRAY.length; ++i) - { - UnaryOp result = VALUES_ARRAY[i]; - if (result.getName().equals(name)) - { - return result; - } - } - return null; - } - - /** - * Returns the 'Unary Op' literal with the specified integer value. - * - * - * @param value the integer value. - * @return the matching enumerator or null. - * @generated - */ - public static UnaryOp get(int value) - { - switch (value) - { - case NEG_VALUE: return NEG; - case PLUS_VALUE: return PLUS; - case MINUS_VALUE: return MINUS; - case MAY_VALUE: return MAY; - case MUST_VALUE: return MUST; - case CURRENT_VALUE: return CURRENT; - } - 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 UnaryOp(int value, String name, String literal) - { - this.value = value; - this.name = name; - this.literal = literal; - } - - /** - * - * - * @generated - */ - @Override - public int getValue() - { - return value; - } - - /** - * - * - * @generated - */ - @Override - public String getName() - { - return name; - } - - /** - * - * - * @generated - */ - @Override - public String getLiteral() - { - return literal; - } - - /** - * Returns the literal value of the enumerator, which is its string representation. - * - * - * @generated - */ - @Override - public String toString() - { - return literal; - } - -} //UnaryOp diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/UnnamedErrorPrediateDefinition.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/UnnamedErrorPrediateDefinition.java deleted file mode 100644 index 54621550..00000000 --- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/UnnamedErrorPrediateDefinition.java +++ /dev/null @@ -1,70 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage; - - -/** - * - * A representation of the model object 'Unnamed Error Prediate Definition'. - * - * - *

    - * The following features are supported: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.UnnamedErrorPrediateDefinition#getArgumentList Argument List}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.UnnamedErrorPrediateDefinition#getBody Body}
    • - *
    - * - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getUnnamedErrorPrediateDefinition() - * @model - * @generated - */ -public interface UnnamedErrorPrediateDefinition extends Statement -{ - /** - * Returns the value of the 'Argument List' containment reference. - * - * - * @return the value of the 'Argument List' containment reference. - * @see #setArgumentList(ArgumentList) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getUnnamedErrorPrediateDefinition_ArgumentList() - * @model containment="true" - * @generated - */ - ArgumentList getArgumentList(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.UnnamedErrorPrediateDefinition#getArgumentList Argument List}' containment reference. - * - * - * @param value the new value of the 'Argument List' containment reference. - * @see #getArgumentList() - * @generated - */ - void setArgumentList(ArgumentList value); - - /** - * Returns the value of the 'Body' containment reference. - * - * - * @return the value of the 'Body' containment reference. - * @see #setBody(Expression) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getUnnamedErrorPrediateDefinition_Body() - * @model containment="true" - * @generated - */ - Expression getBody(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.UnnamedErrorPrediateDefinition#getBody Body}' containment reference. - * - * - * @param value the new value of the 'Body' containment reference. - * @see #getBody() - * @generated - */ - void setBody(Expression value); - -} // UnnamedErrorPrediateDefinition diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/AggregationImpl.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/AggregationImpl.java deleted file mode 100644 index 542f3c40..00000000 --- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/AggregationImpl.java +++ /dev/null @@ -1,343 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage.impl; - -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.viatra.solver.language.solverLanguage.Aggregation; -import org.eclipse.viatra.solver.language.solverLanguage.AggregationOp; -import org.eclipse.viatra.solver.language.solverLanguage.Expression; -import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; - -/** - * - * An implementation of the model object 'Aggregation'. - * - *

    - * The following features are implemented: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.AggregationImpl#getOp Op}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.AggregationImpl#getBody Body}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.AggregationImpl#getCondition Condition}
    • - *
    - * - * @generated - */ -public class AggregationImpl extends ExpressionImpl implements Aggregation -{ - /** - * The default value of the '{@link #getOp() Op}' attribute. - * - * - * @see #getOp() - * @generated - * @ordered - */ - protected static final AggregationOp OP_EDEFAULT = AggregationOp.ONLY; - - /** - * The cached value of the '{@link #getOp() Op}' attribute. - * - * - * @see #getOp() - * @generated - * @ordered - */ - protected AggregationOp op = OP_EDEFAULT; - - /** - * The cached value of the '{@link #getBody() Body}' containment reference. - * - * - * @see #getBody() - * @generated - * @ordered - */ - protected Expression body; - - /** - * The cached value of the '{@link #getCondition() Condition}' containment reference. - * - * - * @see #getCondition() - * @generated - * @ordered - */ - protected Expression condition; - - /** - * - * - * @generated - */ - protected AggregationImpl() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return SolverLanguagePackage.Literals.AGGREGATION; - } - - /** - * - * - * @generated - */ - @Override - public AggregationOp getOp() - { - return op; - } - - /** - * - * - * @generated - */ - @Override - public void setOp(AggregationOp newOp) - { - AggregationOp oldOp = op; - op = newOp == null ? OP_EDEFAULT : newOp; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.AGGREGATION__OP, oldOp, op)); - } - - /** - * - * - * @generated - */ - @Override - public Expression getBody() - { - return body; - } - - /** - * - * - * @generated - */ - public NotificationChain basicSetBody(Expression newBody, NotificationChain msgs) - { - Expression oldBody = body; - body = newBody; - if (eNotificationRequired()) - { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.AGGREGATION__BODY, oldBody, newBody); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * - * - * @generated - */ - @Override - public void setBody(Expression newBody) - { - if (newBody != body) - { - NotificationChain msgs = null; - if (body != null) - msgs = ((InternalEObject)body).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.AGGREGATION__BODY, null, msgs); - if (newBody != null) - msgs = ((InternalEObject)newBody).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.AGGREGATION__BODY, null, msgs); - msgs = basicSetBody(newBody, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.AGGREGATION__BODY, newBody, newBody)); - } - - /** - * - * - * @generated - */ - @Override - public Expression getCondition() - { - return condition; - } - - /** - * - * - * @generated - */ - public NotificationChain basicSetCondition(Expression newCondition, NotificationChain msgs) - { - Expression oldCondition = condition; - condition = newCondition; - if (eNotificationRequired()) - { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.AGGREGATION__CONDITION, oldCondition, newCondition); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * - * - * @generated - */ - @Override - public void setCondition(Expression newCondition) - { - if (newCondition != condition) - { - NotificationChain msgs = null; - if (condition != null) - msgs = ((InternalEObject)condition).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.AGGREGATION__CONDITION, null, msgs); - if (newCondition != null) - msgs = ((InternalEObject)newCondition).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.AGGREGATION__CONDITION, null, msgs); - msgs = basicSetCondition(newCondition, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.AGGREGATION__CONDITION, newCondition, newCondition)); - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) - { - switch (featureID) - { - case SolverLanguagePackage.AGGREGATION__BODY: - return basicSetBody(null, msgs); - case SolverLanguagePackage.AGGREGATION__CONDITION: - return basicSetCondition(null, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case SolverLanguagePackage.AGGREGATION__OP: - return getOp(); - case SolverLanguagePackage.AGGREGATION__BODY: - return getBody(); - case SolverLanguagePackage.AGGREGATION__CONDITION: - return getCondition(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case SolverLanguagePackage.AGGREGATION__OP: - setOp((AggregationOp)newValue); - return; - case SolverLanguagePackage.AGGREGATION__BODY: - setBody((Expression)newValue); - return; - case SolverLanguagePackage.AGGREGATION__CONDITION: - setCondition((Expression)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case SolverLanguagePackage.AGGREGATION__OP: - setOp(OP_EDEFAULT); - return; - case SolverLanguagePackage.AGGREGATION__BODY: - setBody((Expression)null); - return; - case SolverLanguagePackage.AGGREGATION__CONDITION: - setCondition((Expression)null); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case SolverLanguagePackage.AGGREGATION__OP: - return op != OP_EDEFAULT; - case SolverLanguagePackage.AGGREGATION__BODY: - return body != null; - case SolverLanguagePackage.AGGREGATION__CONDITION: - return condition != null; - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() - { - if (eIsProxy()) return super.toString(); - - StringBuilder result = new StringBuilder(super.toString()); - result.append(" (op: "); - result.append(op); - result.append(')'); - return result.toString(); - } - -} //AggregationImpl diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ArgumentImpl.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ArgumentImpl.java deleted file mode 100644 index d8bf8d91..00000000 --- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ArgumentImpl.java +++ /dev/null @@ -1,43 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage.impl; - -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; - -import org.eclipse.viatra.solver.language.solverLanguage.Argument; -import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; - -/** - * - * An implementation of the model object 'Argument'. - * - * - * @generated - */ -public class ArgumentImpl extends MinimalEObjectImpl.Container implements Argument -{ - /** - * - * - * @generated - */ - protected ArgumentImpl() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return SolverLanguagePackage.Literals.ARGUMENT; - } - -} //ArgumentImpl diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ArgumentListImpl.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ArgumentListImpl.java deleted file mode 100644 index 8c16fb4f..00000000 --- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ArgumentListImpl.java +++ /dev/null @@ -1,169 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage.impl; - -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.impl.MinimalEObjectImpl; - -import org.eclipse.emf.ecore.util.EObjectContainmentEList; -import org.eclipse.emf.ecore.util.InternalEList; - -import org.eclipse.viatra.solver.language.solverLanguage.Argument; -import org.eclipse.viatra.solver.language.solverLanguage.ArgumentList; -import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; - -/** - * - * An implementation of the model object 'Argument List'. - * - *

    - * The following features are implemented: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.ArgumentListImpl#getArguments Arguments}
    • - *
    - * - * @generated - */ -public class ArgumentListImpl extends MinimalEObjectImpl.Container implements ArgumentList -{ - /** - * The cached value of the '{@link #getArguments() Arguments}' containment reference list. - * - * - * @see #getArguments() - * @generated - * @ordered - */ - protected EList arguments; - - /** - * - * - * @generated - */ - protected ArgumentListImpl() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return SolverLanguagePackage.Literals.ARGUMENT_LIST; - } - - /** - * - * - * @generated - */ - @Override - public EList getArguments() - { - if (arguments == null) - { - arguments = new EObjectContainmentEList(Argument.class, this, SolverLanguagePackage.ARGUMENT_LIST__ARGUMENTS); - } - return arguments; - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) - { - switch (featureID) - { - case SolverLanguagePackage.ARGUMENT_LIST__ARGUMENTS: - return ((InternalEList)getArguments()).basicRemove(otherEnd, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case SolverLanguagePackage.ARGUMENT_LIST__ARGUMENTS: - return getArguments(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case SolverLanguagePackage.ARGUMENT_LIST__ARGUMENTS: - getArguments().clear(); - getArguments().addAll((Collection)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case SolverLanguagePackage.ARGUMENT_LIST__ARGUMENTS: - getArguments().clear(); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case SolverLanguagePackage.ARGUMENT_LIST__ARGUMENTS: - return arguments != null && !arguments.isEmpty(); - } - return super.eIsSet(featureID); - } - -} //ArgumentListImpl diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/AssertionImpl.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/AssertionImpl.java deleted file mode 100644 index 8165b62e..00000000 --- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/AssertionImpl.java +++ /dev/null @@ -1,269 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage.impl; - -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.viatra.solver.language.solverLanguage.Assertion; -import org.eclipse.viatra.solver.language.solverLanguage.Expression; -import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; - -/** - * - * An implementation of the model object 'Assertion'. - * - *

    - * The following features are implemented: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.AssertionImpl#getBody Body}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.AssertionImpl#getRange Range}
    • - *
    - * - * @generated - */ -public class AssertionImpl extends StatementImpl implements Assertion -{ - /** - * The cached value of the '{@link #getBody() Body}' containment reference. - * - * - * @see #getBody() - * @generated - * @ordered - */ - protected Expression body; - - /** - * The cached value of the '{@link #getRange() Range}' containment reference. - * - * - * @see #getRange() - * @generated - * @ordered - */ - protected Expression range; - - /** - * - * - * @generated - */ - protected AssertionImpl() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return SolverLanguagePackage.Literals.ASSERTION; - } - - /** - * - * - * @generated - */ - @Override - public Expression getBody() - { - return body; - } - - /** - * - * - * @generated - */ - public NotificationChain basicSetBody(Expression newBody, NotificationChain msgs) - { - Expression oldBody = body; - body = newBody; - if (eNotificationRequired()) - { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.ASSERTION__BODY, oldBody, newBody); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * - * - * @generated - */ - @Override - public void setBody(Expression newBody) - { - if (newBody != body) - { - NotificationChain msgs = null; - if (body != null) - msgs = ((InternalEObject)body).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.ASSERTION__BODY, null, msgs); - if (newBody != null) - msgs = ((InternalEObject)newBody).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.ASSERTION__BODY, null, msgs); - msgs = basicSetBody(newBody, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.ASSERTION__BODY, newBody, newBody)); - } - - /** - * - * - * @generated - */ - @Override - public Expression getRange() - { - return range; - } - - /** - * - * - * @generated - */ - public NotificationChain basicSetRange(Expression newRange, NotificationChain msgs) - { - Expression oldRange = range; - range = newRange; - if (eNotificationRequired()) - { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.ASSERTION__RANGE, oldRange, newRange); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * - * - * @generated - */ - @Override - public void setRange(Expression newRange) - { - if (newRange != range) - { - NotificationChain msgs = null; - if (range != null) - msgs = ((InternalEObject)range).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.ASSERTION__RANGE, null, msgs); - if (newRange != null) - msgs = ((InternalEObject)newRange).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.ASSERTION__RANGE, null, msgs); - msgs = basicSetRange(newRange, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.ASSERTION__RANGE, newRange, newRange)); - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) - { - switch (featureID) - { - case SolverLanguagePackage.ASSERTION__BODY: - return basicSetBody(null, msgs); - case SolverLanguagePackage.ASSERTION__RANGE: - return basicSetRange(null, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case SolverLanguagePackage.ASSERTION__BODY: - return getBody(); - case SolverLanguagePackage.ASSERTION__RANGE: - return getRange(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case SolverLanguagePackage.ASSERTION__BODY: - setBody((Expression)newValue); - return; - case SolverLanguagePackage.ASSERTION__RANGE: - setRange((Expression)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case SolverLanguagePackage.ASSERTION__BODY: - setBody((Expression)null); - return; - case SolverLanguagePackage.ASSERTION__RANGE: - setRange((Expression)null); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case SolverLanguagePackage.ASSERTION__BODY: - return body != null; - case SolverLanguagePackage.ASSERTION__RANGE: - return range != null; - } - return super.eIsSet(featureID); - } - -} //AssertionImpl diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/BinaryExpressionImpl.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/BinaryExpressionImpl.java deleted file mode 100644 index adc94c4a..00000000 --- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/BinaryExpressionImpl.java +++ /dev/null @@ -1,343 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage.impl; - -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.viatra.solver.language.solverLanguage.BinaryExpression; -import org.eclipse.viatra.solver.language.solverLanguage.BinaryOperator; -import org.eclipse.viatra.solver.language.solverLanguage.Expression; -import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; - -/** - * - * An implementation of the model object 'Binary Expression'. - * - *

    - * The following features are implemented: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.BinaryExpressionImpl#getLeft Left}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.BinaryExpressionImpl#getOp Op}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.BinaryExpressionImpl#getRight Right}
    • - *
    - * - * @generated - */ -public class BinaryExpressionImpl extends ExpressionImpl implements BinaryExpression -{ - /** - * The cached value of the '{@link #getLeft() Left}' containment reference. - * - * - * @see #getLeft() - * @generated - * @ordered - */ - protected Expression left; - - /** - * The default value of the '{@link #getOp() Op}' attribute. - * - * - * @see #getOp() - * @generated - * @ordered - */ - protected static final BinaryOperator OP_EDEFAULT = BinaryOperator.EQ; - - /** - * The cached value of the '{@link #getOp() Op}' attribute. - * - * - * @see #getOp() - * @generated - * @ordered - */ - protected BinaryOperator op = OP_EDEFAULT; - - /** - * The cached value of the '{@link #getRight() Right}' containment reference. - * - * - * @see #getRight() - * @generated - * @ordered - */ - protected Expression right; - - /** - * - * - * @generated - */ - protected BinaryExpressionImpl() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return SolverLanguagePackage.Literals.BINARY_EXPRESSION; - } - - /** - * - * - * @generated - */ - @Override - public Expression getLeft() - { - return left; - } - - /** - * - * - * @generated - */ - public NotificationChain basicSetLeft(Expression newLeft, NotificationChain msgs) - { - Expression oldLeft = left; - left = newLeft; - if (eNotificationRequired()) - { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.BINARY_EXPRESSION__LEFT, oldLeft, newLeft); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * - * - * @generated - */ - @Override - public void setLeft(Expression newLeft) - { - if (newLeft != left) - { - NotificationChain msgs = null; - if (left != null) - msgs = ((InternalEObject)left).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.BINARY_EXPRESSION__LEFT, null, msgs); - if (newLeft != null) - msgs = ((InternalEObject)newLeft).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.BINARY_EXPRESSION__LEFT, null, msgs); - msgs = basicSetLeft(newLeft, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.BINARY_EXPRESSION__LEFT, newLeft, newLeft)); - } - - /** - * - * - * @generated - */ - @Override - public BinaryOperator getOp() - { - return op; - } - - /** - * - * - * @generated - */ - @Override - public void setOp(BinaryOperator newOp) - { - BinaryOperator oldOp = op; - op = newOp == null ? OP_EDEFAULT : newOp; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.BINARY_EXPRESSION__OP, oldOp, op)); - } - - /** - * - * - * @generated - */ - @Override - public Expression getRight() - { - return right; - } - - /** - * - * - * @generated - */ - public NotificationChain basicSetRight(Expression newRight, NotificationChain msgs) - { - Expression oldRight = right; - right = newRight; - if (eNotificationRequired()) - { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.BINARY_EXPRESSION__RIGHT, oldRight, newRight); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * - * - * @generated - */ - @Override - public void setRight(Expression newRight) - { - if (newRight != right) - { - NotificationChain msgs = null; - if (right != null) - msgs = ((InternalEObject)right).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.BINARY_EXPRESSION__RIGHT, null, msgs); - if (newRight != null) - msgs = ((InternalEObject)newRight).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.BINARY_EXPRESSION__RIGHT, null, msgs); - msgs = basicSetRight(newRight, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.BINARY_EXPRESSION__RIGHT, newRight, newRight)); - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) - { - switch (featureID) - { - case SolverLanguagePackage.BINARY_EXPRESSION__LEFT: - return basicSetLeft(null, msgs); - case SolverLanguagePackage.BINARY_EXPRESSION__RIGHT: - return basicSetRight(null, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case SolverLanguagePackage.BINARY_EXPRESSION__LEFT: - return getLeft(); - case SolverLanguagePackage.BINARY_EXPRESSION__OP: - return getOp(); - case SolverLanguagePackage.BINARY_EXPRESSION__RIGHT: - return getRight(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case SolverLanguagePackage.BINARY_EXPRESSION__LEFT: - setLeft((Expression)newValue); - return; - case SolverLanguagePackage.BINARY_EXPRESSION__OP: - setOp((BinaryOperator)newValue); - return; - case SolverLanguagePackage.BINARY_EXPRESSION__RIGHT: - setRight((Expression)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case SolverLanguagePackage.BINARY_EXPRESSION__LEFT: - setLeft((Expression)null); - return; - case SolverLanguagePackage.BINARY_EXPRESSION__OP: - setOp(OP_EDEFAULT); - return; - case SolverLanguagePackage.BINARY_EXPRESSION__RIGHT: - setRight((Expression)null); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case SolverLanguagePackage.BINARY_EXPRESSION__LEFT: - return left != null; - case SolverLanguagePackage.BINARY_EXPRESSION__OP: - return op != OP_EDEFAULT; - case SolverLanguagePackage.BINARY_EXPRESSION__RIGHT: - return right != null; - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() - { - if (eIsProxy()) return super.toString(); - - StringBuilder result = new StringBuilder(super.toString()); - result.append(" (op: "); - result.append(op); - result.append(')'); - return result.toString(); - } - -} //BinaryExpressionImpl diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/BoundedMultiplicityImpl.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/BoundedMultiplicityImpl.java deleted file mode 100644 index 45a105e0..00000000 --- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/BoundedMultiplicityImpl.java +++ /dev/null @@ -1,237 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage.impl; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -import org.eclipse.viatra.solver.language.solverLanguage.BoundedMultiplicity; -import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; - -/** - * - * An implementation of the model object 'Bounded Multiplicity'. - * - *

    - * The following features are implemented: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.BoundedMultiplicityImpl#getLowerBound Lower Bound}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.BoundedMultiplicityImpl#getUpperBound Upper Bound}
    • - *
    - * - * @generated - */ -public class BoundedMultiplicityImpl extends MultiplicityImpl implements BoundedMultiplicity -{ - /** - * The default value of the '{@link #getLowerBound() Lower Bound}' attribute. - * - * - * @see #getLowerBound() - * @generated - * @ordered - */ - protected static final int LOWER_BOUND_EDEFAULT = 0; - - /** - * The cached value of the '{@link #getLowerBound() Lower Bound}' attribute. - * - * - * @see #getLowerBound() - * @generated - * @ordered - */ - protected int lowerBound = LOWER_BOUND_EDEFAULT; - - /** - * The default value of the '{@link #getUpperBound() Upper Bound}' attribute. - * - * - * @see #getUpperBound() - * @generated - * @ordered - */ - protected static final int UPPER_BOUND_EDEFAULT = 0; - - /** - * The cached value of the '{@link #getUpperBound() Upper Bound}' attribute. - * - * - * @see #getUpperBound() - * @generated - * @ordered - */ - protected int upperBound = UPPER_BOUND_EDEFAULT; - - /** - * - * - * @generated - */ - protected BoundedMultiplicityImpl() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return SolverLanguagePackage.Literals.BOUNDED_MULTIPLICITY; - } - - /** - * - * - * @generated - */ - @Override - public int getLowerBound() - { - return lowerBound; - } - - /** - * - * - * @generated - */ - @Override - public void setLowerBound(int newLowerBound) - { - int oldLowerBound = lowerBound; - lowerBound = newLowerBound; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.BOUNDED_MULTIPLICITY__LOWER_BOUND, oldLowerBound, lowerBound)); - } - - /** - * - * - * @generated - */ - @Override - public int getUpperBound() - { - return upperBound; - } - - /** - * - * - * @generated - */ - @Override - public void setUpperBound(int newUpperBound) - { - int oldUpperBound = upperBound; - upperBound = newUpperBound; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.BOUNDED_MULTIPLICITY__UPPER_BOUND, oldUpperBound, upperBound)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case SolverLanguagePackage.BOUNDED_MULTIPLICITY__LOWER_BOUND: - return getLowerBound(); - case SolverLanguagePackage.BOUNDED_MULTIPLICITY__UPPER_BOUND: - return getUpperBound(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case SolverLanguagePackage.BOUNDED_MULTIPLICITY__LOWER_BOUND: - setLowerBound((Integer)newValue); - return; - case SolverLanguagePackage.BOUNDED_MULTIPLICITY__UPPER_BOUND: - setUpperBound((Integer)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case SolverLanguagePackage.BOUNDED_MULTIPLICITY__LOWER_BOUND: - setLowerBound(LOWER_BOUND_EDEFAULT); - return; - case SolverLanguagePackage.BOUNDED_MULTIPLICITY__UPPER_BOUND: - setUpperBound(UPPER_BOUND_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case SolverLanguagePackage.BOUNDED_MULTIPLICITY__LOWER_BOUND: - return lowerBound != LOWER_BOUND_EDEFAULT; - case SolverLanguagePackage.BOUNDED_MULTIPLICITY__UPPER_BOUND: - return upperBound != UPPER_BOUND_EDEFAULT; - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() - { - if (eIsProxy()) return super.toString(); - - StringBuilder result = new StringBuilder(super.toString()); - result.append(" (lowerBound: "); - result.append(lowerBound); - result.append(", upperBound: "); - result.append(upperBound); - result.append(')'); - return result.toString(); - } - -} //BoundedMultiplicityImpl diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/BoundedScopeDefinitionImpl.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/BoundedScopeDefinitionImpl.java deleted file mode 100644 index 36bf4f96..00000000 --- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/BoundedScopeDefinitionImpl.java +++ /dev/null @@ -1,237 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage.impl; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -import org.eclipse.viatra.solver.language.solverLanguage.BoundedScopeDefinition; -import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; - -/** - * - * An implementation of the model object 'Bounded Scope Definition'. - * - *

    - * The following features are implemented: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.BoundedScopeDefinitionImpl#getLowerBound Lower Bound}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.BoundedScopeDefinitionImpl#getUpperBound Upper Bound}
    • - *
    - * - * @generated - */ -public class BoundedScopeDefinitionImpl extends ScopeDefinitionImpl implements BoundedScopeDefinition -{ - /** - * The default value of the '{@link #getLowerBound() Lower Bound}' attribute. - * - * - * @see #getLowerBound() - * @generated - * @ordered - */ - protected static final int LOWER_BOUND_EDEFAULT = 0; - - /** - * The cached value of the '{@link #getLowerBound() Lower Bound}' attribute. - * - * - * @see #getLowerBound() - * @generated - * @ordered - */ - protected int lowerBound = LOWER_BOUND_EDEFAULT; - - /** - * The default value of the '{@link #getUpperBound() Upper Bound}' attribute. - * - * - * @see #getUpperBound() - * @generated - * @ordered - */ - protected static final int UPPER_BOUND_EDEFAULT = 0; - - /** - * The cached value of the '{@link #getUpperBound() Upper Bound}' attribute. - * - * - * @see #getUpperBound() - * @generated - * @ordered - */ - protected int upperBound = UPPER_BOUND_EDEFAULT; - - /** - * - * - * @generated - */ - protected BoundedScopeDefinitionImpl() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return SolverLanguagePackage.Literals.BOUNDED_SCOPE_DEFINITION; - } - - /** - * - * - * @generated - */ - @Override - public int getLowerBound() - { - return lowerBound; - } - - /** - * - * - * @generated - */ - @Override - public void setLowerBound(int newLowerBound) - { - int oldLowerBound = lowerBound; - lowerBound = newLowerBound; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.BOUNDED_SCOPE_DEFINITION__LOWER_BOUND, oldLowerBound, lowerBound)); - } - - /** - * - * - * @generated - */ - @Override - public int getUpperBound() - { - return upperBound; - } - - /** - * - * - * @generated - */ - @Override - public void setUpperBound(int newUpperBound) - { - int oldUpperBound = upperBound; - upperBound = newUpperBound; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.BOUNDED_SCOPE_DEFINITION__UPPER_BOUND, oldUpperBound, upperBound)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case SolverLanguagePackage.BOUNDED_SCOPE_DEFINITION__LOWER_BOUND: - return getLowerBound(); - case SolverLanguagePackage.BOUNDED_SCOPE_DEFINITION__UPPER_BOUND: - return getUpperBound(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case SolverLanguagePackage.BOUNDED_SCOPE_DEFINITION__LOWER_BOUND: - setLowerBound((Integer)newValue); - return; - case SolverLanguagePackage.BOUNDED_SCOPE_DEFINITION__UPPER_BOUND: - setUpperBound((Integer)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case SolverLanguagePackage.BOUNDED_SCOPE_DEFINITION__LOWER_BOUND: - setLowerBound(LOWER_BOUND_EDEFAULT); - return; - case SolverLanguagePackage.BOUNDED_SCOPE_DEFINITION__UPPER_BOUND: - setUpperBound(UPPER_BOUND_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case SolverLanguagePackage.BOUNDED_SCOPE_DEFINITION__LOWER_BOUND: - return lowerBound != LOWER_BOUND_EDEFAULT; - case SolverLanguagePackage.BOUNDED_SCOPE_DEFINITION__UPPER_BOUND: - return upperBound != UPPER_BOUND_EDEFAULT; - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() - { - if (eIsProxy()) return super.toString(); - - StringBuilder result = new StringBuilder(super.toString()); - result.append(" (lowerBound: "); - result.append(lowerBound); - result.append(", upperBound: "); - result.append(upperBound); - result.append(')'); - return result.toString(); - } - -} //BoundedScopeDefinitionImpl diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/CallImpl.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/CallImpl.java deleted file mode 100644 index 01712ad3..00000000 --- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/CallImpl.java +++ /dev/null @@ -1,401 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage.impl; - -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.viatra.solver.language.solverLanguage.ArgumentList; -import org.eclipse.viatra.solver.language.solverLanguage.Call; -import org.eclipse.viatra.solver.language.solverLanguage.Reference; -import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; - -/** - * - * An implementation of the model object 'Call'. - * - *

    - * The following features are implemented: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.CallImpl#getFunctor Functor}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.CallImpl#isTransitiveClosure Transitive Closure}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.CallImpl#isReflexiveTransitiveClosure Reflexive Transitive Closure}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.CallImpl#getArgumentList Argument List}
    • - *
    - * - * @generated - */ -public class CallImpl extends ExpressionImpl implements Call -{ - /** - * The cached value of the '{@link #getFunctor() Functor}' containment reference. - * - * - * @see #getFunctor() - * @generated - * @ordered - */ - protected Reference functor; - - /** - * The default value of the '{@link #isTransitiveClosure() Transitive Closure}' attribute. - * - * - * @see #isTransitiveClosure() - * @generated - * @ordered - */ - protected static final boolean TRANSITIVE_CLOSURE_EDEFAULT = false; - - /** - * The cached value of the '{@link #isTransitiveClosure() Transitive Closure}' attribute. - * - * - * @see #isTransitiveClosure() - * @generated - * @ordered - */ - protected boolean transitiveClosure = TRANSITIVE_CLOSURE_EDEFAULT; - - /** - * The default value of the '{@link #isReflexiveTransitiveClosure() Reflexive Transitive Closure}' attribute. - * - * - * @see #isReflexiveTransitiveClosure() - * @generated - * @ordered - */ - protected static final boolean REFLEXIVE_TRANSITIVE_CLOSURE_EDEFAULT = false; - - /** - * The cached value of the '{@link #isReflexiveTransitiveClosure() Reflexive Transitive Closure}' attribute. - * - * - * @see #isReflexiveTransitiveClosure() - * @generated - * @ordered - */ - protected boolean reflexiveTransitiveClosure = REFLEXIVE_TRANSITIVE_CLOSURE_EDEFAULT; - - /** - * The cached value of the '{@link #getArgumentList() Argument List}' containment reference. - * - * - * @see #getArgumentList() - * @generated - * @ordered - */ - protected ArgumentList argumentList; - - /** - * - * - * @generated - */ - protected CallImpl() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return SolverLanguagePackage.Literals.CALL; - } - - /** - * - * - * @generated - */ - @Override - public Reference getFunctor() - { - return functor; - } - - /** - * - * - * @generated - */ - public NotificationChain basicSetFunctor(Reference newFunctor, NotificationChain msgs) - { - Reference oldFunctor = functor; - functor = newFunctor; - if (eNotificationRequired()) - { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.CALL__FUNCTOR, oldFunctor, newFunctor); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * - * - * @generated - */ - @Override - public void setFunctor(Reference newFunctor) - { - if (newFunctor != functor) - { - NotificationChain msgs = null; - if (functor != null) - msgs = ((InternalEObject)functor).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.CALL__FUNCTOR, null, msgs); - if (newFunctor != null) - msgs = ((InternalEObject)newFunctor).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.CALL__FUNCTOR, null, msgs); - msgs = basicSetFunctor(newFunctor, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.CALL__FUNCTOR, newFunctor, newFunctor)); - } - - /** - * - * - * @generated - */ - @Override - public boolean isTransitiveClosure() - { - return transitiveClosure; - } - - /** - * - * - * @generated - */ - @Override - public void setTransitiveClosure(boolean newTransitiveClosure) - { - boolean oldTransitiveClosure = transitiveClosure; - transitiveClosure = newTransitiveClosure; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.CALL__TRANSITIVE_CLOSURE, oldTransitiveClosure, transitiveClosure)); - } - - /** - * - * - * @generated - */ - @Override - public boolean isReflexiveTransitiveClosure() - { - return reflexiveTransitiveClosure; - } - - /** - * - * - * @generated - */ - @Override - public void setReflexiveTransitiveClosure(boolean newReflexiveTransitiveClosure) - { - boolean oldReflexiveTransitiveClosure = reflexiveTransitiveClosure; - reflexiveTransitiveClosure = newReflexiveTransitiveClosure; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.CALL__REFLEXIVE_TRANSITIVE_CLOSURE, oldReflexiveTransitiveClosure, reflexiveTransitiveClosure)); - } - - /** - * - * - * @generated - */ - @Override - public ArgumentList getArgumentList() - { - return argumentList; - } - - /** - * - * - * @generated - */ - public NotificationChain basicSetArgumentList(ArgumentList newArgumentList, NotificationChain msgs) - { - ArgumentList oldArgumentList = argumentList; - argumentList = newArgumentList; - if (eNotificationRequired()) - { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.CALL__ARGUMENT_LIST, oldArgumentList, newArgumentList); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * - * - * @generated - */ - @Override - public void setArgumentList(ArgumentList newArgumentList) - { - if (newArgumentList != argumentList) - { - NotificationChain msgs = null; - if (argumentList != null) - msgs = ((InternalEObject)argumentList).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.CALL__ARGUMENT_LIST, null, msgs); - if (newArgumentList != null) - msgs = ((InternalEObject)newArgumentList).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.CALL__ARGUMENT_LIST, null, msgs); - msgs = basicSetArgumentList(newArgumentList, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.CALL__ARGUMENT_LIST, newArgumentList, newArgumentList)); - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) - { - switch (featureID) - { - case SolverLanguagePackage.CALL__FUNCTOR: - return basicSetFunctor(null, msgs); - case SolverLanguagePackage.CALL__ARGUMENT_LIST: - return basicSetArgumentList(null, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case SolverLanguagePackage.CALL__FUNCTOR: - return getFunctor(); - case SolverLanguagePackage.CALL__TRANSITIVE_CLOSURE: - return isTransitiveClosure(); - case SolverLanguagePackage.CALL__REFLEXIVE_TRANSITIVE_CLOSURE: - return isReflexiveTransitiveClosure(); - case SolverLanguagePackage.CALL__ARGUMENT_LIST: - return getArgumentList(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case SolverLanguagePackage.CALL__FUNCTOR: - setFunctor((Reference)newValue); - return; - case SolverLanguagePackage.CALL__TRANSITIVE_CLOSURE: - setTransitiveClosure((Boolean)newValue); - return; - case SolverLanguagePackage.CALL__REFLEXIVE_TRANSITIVE_CLOSURE: - setReflexiveTransitiveClosure((Boolean)newValue); - return; - case SolverLanguagePackage.CALL__ARGUMENT_LIST: - setArgumentList((ArgumentList)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case SolverLanguagePackage.CALL__FUNCTOR: - setFunctor((Reference)null); - return; - case SolverLanguagePackage.CALL__TRANSITIVE_CLOSURE: - setTransitiveClosure(TRANSITIVE_CLOSURE_EDEFAULT); - return; - case SolverLanguagePackage.CALL__REFLEXIVE_TRANSITIVE_CLOSURE: - setReflexiveTransitiveClosure(REFLEXIVE_TRANSITIVE_CLOSURE_EDEFAULT); - return; - case SolverLanguagePackage.CALL__ARGUMENT_LIST: - setArgumentList((ArgumentList)null); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case SolverLanguagePackage.CALL__FUNCTOR: - return functor != null; - case SolverLanguagePackage.CALL__TRANSITIVE_CLOSURE: - return transitiveClosure != TRANSITIVE_CLOSURE_EDEFAULT; - case SolverLanguagePackage.CALL__REFLEXIVE_TRANSITIVE_CLOSURE: - return reflexiveTransitiveClosure != REFLEXIVE_TRANSITIVE_CLOSURE_EDEFAULT; - case SolverLanguagePackage.CALL__ARGUMENT_LIST: - return argumentList != null; - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() - { - if (eIsProxy()) return super.toString(); - - StringBuilder result = new StringBuilder(super.toString()); - result.append(" (transitiveClosure: "); - result.append(transitiveClosure); - result.append(", reflexiveTransitiveClosure: "); - result.append(reflexiveTransitiveClosure); - result.append(')'); - return result.toString(); - } - -} //CallImpl diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/CaseImpl.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/CaseImpl.java deleted file mode 100644 index 47245831..00000000 --- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/CaseImpl.java +++ /dev/null @@ -1,269 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage.impl; - -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.viatra.solver.language.solverLanguage.Case; -import org.eclipse.viatra.solver.language.solverLanguage.Expression; -import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; - -/** - * - * An implementation of the model object 'Case'. - * - *

    - * The following features are implemented: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.CaseImpl#getCondition Condition}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.CaseImpl#getBody Body}
    • - *
    - * - * @generated - */ -public class CaseImpl extends ExpressionImpl implements Case -{ - /** - * The cached value of the '{@link #getCondition() Condition}' containment reference. - * - * - * @see #getCondition() - * @generated - * @ordered - */ - protected Expression condition; - - /** - * The cached value of the '{@link #getBody() Body}' containment reference. - * - * - * @see #getBody() - * @generated - * @ordered - */ - protected Expression body; - - /** - * - * - * @generated - */ - protected CaseImpl() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return SolverLanguagePackage.Literals.CASE; - } - - /** - * - * - * @generated - */ - @Override - public Expression getCondition() - { - return condition; - } - - /** - * - * - * @generated - */ - public NotificationChain basicSetCondition(Expression newCondition, NotificationChain msgs) - { - Expression oldCondition = condition; - condition = newCondition; - if (eNotificationRequired()) - { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.CASE__CONDITION, oldCondition, newCondition); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * - * - * @generated - */ - @Override - public void setCondition(Expression newCondition) - { - if (newCondition != condition) - { - NotificationChain msgs = null; - if (condition != null) - msgs = ((InternalEObject)condition).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.CASE__CONDITION, null, msgs); - if (newCondition != null) - msgs = ((InternalEObject)newCondition).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.CASE__CONDITION, null, msgs); - msgs = basicSetCondition(newCondition, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.CASE__CONDITION, newCondition, newCondition)); - } - - /** - * - * - * @generated - */ - @Override - public Expression getBody() - { - return body; - } - - /** - * - * - * @generated - */ - public NotificationChain basicSetBody(Expression newBody, NotificationChain msgs) - { - Expression oldBody = body; - body = newBody; - if (eNotificationRequired()) - { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.CASE__BODY, oldBody, newBody); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * - * - * @generated - */ - @Override - public void setBody(Expression newBody) - { - if (newBody != body) - { - NotificationChain msgs = null; - if (body != null) - msgs = ((InternalEObject)body).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.CASE__BODY, null, msgs); - if (newBody != null) - msgs = ((InternalEObject)newBody).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.CASE__BODY, null, msgs); - msgs = basicSetBody(newBody, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.CASE__BODY, newBody, newBody)); - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) - { - switch (featureID) - { - case SolverLanguagePackage.CASE__CONDITION: - return basicSetCondition(null, msgs); - case SolverLanguagePackage.CASE__BODY: - return basicSetBody(null, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case SolverLanguagePackage.CASE__CONDITION: - return getCondition(); - case SolverLanguagePackage.CASE__BODY: - return getBody(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case SolverLanguagePackage.CASE__CONDITION: - setCondition((Expression)newValue); - return; - case SolverLanguagePackage.CASE__BODY: - setBody((Expression)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case SolverLanguagePackage.CASE__CONDITION: - setCondition((Expression)null); - return; - case SolverLanguagePackage.CASE__BODY: - setBody((Expression)null); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case SolverLanguagePackage.CASE__CONDITION: - return condition != null; - case SolverLanguagePackage.CASE__BODY: - return body != null; - } - return super.eIsSet(featureID); - } - -} //CaseImpl diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ClassDefinitionImpl.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ClassDefinitionImpl.java deleted file mode 100644 index f0a81764..00000000 --- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ClassDefinitionImpl.java +++ /dev/null @@ -1,340 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage.impl; - -import java.util.Collection; - -import org.eclipse.emf.common.notify.Notification; -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.impl.ENotificationImpl; - -import org.eclipse.emf.ecore.util.EObjectContainmentEList; -import org.eclipse.emf.ecore.util.EObjectResolvingEList; -import org.eclipse.emf.ecore.util.InternalEList; - -import org.eclipse.viatra.solver.language.solverLanguage.ClassDefinition; -import org.eclipse.viatra.solver.language.solverLanguage.MemberDefinition; -import org.eclipse.viatra.solver.language.solverLanguage.NamedElement; -import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; - -/** - * - * An implementation of the model object 'Class Definition'. - * - *

    - * The following features are implemented: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.ClassDefinitionImpl#isAbstract Abstract}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.ClassDefinitionImpl#getName Name}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.ClassDefinitionImpl#getSuperclasses Superclasses}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.ClassDefinitionImpl#getMembers Members}
    • - *
    - * - * @generated - */ -public class ClassDefinitionImpl extends StatementImpl implements ClassDefinition -{ - /** - * The default value of the '{@link #isAbstract() Abstract}' attribute. - * - * - * @see #isAbstract() - * @generated - * @ordered - */ - protected static final boolean ABSTRACT_EDEFAULT = false; - - /** - * The cached value of the '{@link #isAbstract() Abstract}' attribute. - * - * - * @see #isAbstract() - * @generated - * @ordered - */ - protected boolean abstract_ = ABSTRACT_EDEFAULT; - - /** - * The default value of the '{@link #getName() Name}' attribute. - * - * - * @see #getName() - * @generated - * @ordered - */ - protected static final String NAME_EDEFAULT = null; - - /** - * The cached value of the '{@link #getName() Name}' attribute. - * - * - * @see #getName() - * @generated - * @ordered - */ - protected String name = NAME_EDEFAULT; - - /** - * The cached value of the '{@link #getSuperclasses() Superclasses}' reference list. - * - * - * @see #getSuperclasses() - * @generated - * @ordered - */ - protected EList superclasses; - - /** - * The cached value of the '{@link #getMembers() Members}' containment reference list. - * - * - * @see #getMembers() - * @generated - * @ordered - */ - protected EList members; - - /** - * - * - * @generated - */ - protected ClassDefinitionImpl() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return SolverLanguagePackage.Literals.CLASS_DEFINITION; - } - - /** - * - * - * @generated - */ - @Override - public boolean isAbstract() - { - return abstract_; - } - - /** - * - * - * @generated - */ - @Override - public void setAbstract(boolean newAbstract) - { - boolean oldAbstract = abstract_; - abstract_ = newAbstract; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.CLASS_DEFINITION__ABSTRACT, oldAbstract, abstract_)); - } - - /** - * - * - * @generated - */ - @Override - public String getName() - { - return name; - } - - /** - * - * - * @generated - */ - @Override - public void setName(String newName) - { - String oldName = name; - name = newName; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.CLASS_DEFINITION__NAME, oldName, name)); - } - - /** - * - * - * @generated - */ - @Override - public EList getSuperclasses() - { - if (superclasses == null) - { - superclasses = new EObjectResolvingEList(NamedElement.class, this, SolverLanguagePackage.CLASS_DEFINITION__SUPERCLASSES); - } - return superclasses; - } - - /** - * - * - * @generated - */ - @Override - public EList getMembers() - { - if (members == null) - { - members = new EObjectContainmentEList(MemberDefinition.class, this, SolverLanguagePackage.CLASS_DEFINITION__MEMBERS); - } - return members; - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) - { - switch (featureID) - { - case SolverLanguagePackage.CLASS_DEFINITION__MEMBERS: - return ((InternalEList)getMembers()).basicRemove(otherEnd, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case SolverLanguagePackage.CLASS_DEFINITION__ABSTRACT: - return isAbstract(); - case SolverLanguagePackage.CLASS_DEFINITION__NAME: - return getName(); - case SolverLanguagePackage.CLASS_DEFINITION__SUPERCLASSES: - return getSuperclasses(); - case SolverLanguagePackage.CLASS_DEFINITION__MEMBERS: - return getMembers(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case SolverLanguagePackage.CLASS_DEFINITION__ABSTRACT: - setAbstract((Boolean)newValue); - return; - case SolverLanguagePackage.CLASS_DEFINITION__NAME: - setName((String)newValue); - return; - case SolverLanguagePackage.CLASS_DEFINITION__SUPERCLASSES: - getSuperclasses().clear(); - getSuperclasses().addAll((Collection)newValue); - return; - case SolverLanguagePackage.CLASS_DEFINITION__MEMBERS: - getMembers().clear(); - getMembers().addAll((Collection)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case SolverLanguagePackage.CLASS_DEFINITION__ABSTRACT: - setAbstract(ABSTRACT_EDEFAULT); - return; - case SolverLanguagePackage.CLASS_DEFINITION__NAME: - setName(NAME_EDEFAULT); - return; - case SolverLanguagePackage.CLASS_DEFINITION__SUPERCLASSES: - getSuperclasses().clear(); - return; - case SolverLanguagePackage.CLASS_DEFINITION__MEMBERS: - getMembers().clear(); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case SolverLanguagePackage.CLASS_DEFINITION__ABSTRACT: - return abstract_ != ABSTRACT_EDEFAULT; - case SolverLanguagePackage.CLASS_DEFINITION__NAME: - return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); - case SolverLanguagePackage.CLASS_DEFINITION__SUPERCLASSES: - return superclasses != null && !superclasses.isEmpty(); - case SolverLanguagePackage.CLASS_DEFINITION__MEMBERS: - return members != null && !members.isEmpty(); - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() - { - if (eIsProxy()) return super.toString(); - - StringBuilder result = new StringBuilder(super.toString()); - result.append(" (abstract: "); - result.append(abstract_); - result.append(", name: "); - result.append(name); - result.append(')'); - return result.toString(); - } - -} //ClassDefinitionImpl diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ComparisonImpl.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ComparisonImpl.java deleted file mode 100644 index 9e62d7ef..00000000 --- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ComparisonImpl.java +++ /dev/null @@ -1,343 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage.impl; - -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.viatra.solver.language.solverLanguage.BinaryOperator; -import org.eclipse.viatra.solver.language.solverLanguage.Comparison; -import org.eclipse.viatra.solver.language.solverLanguage.Expression; -import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; - -/** - * - * An implementation of the model object 'Comparison'. - * - *

    - * The following features are implemented: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.ComparisonImpl#getLeft Left}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.ComparisonImpl#getOp Op}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.ComparisonImpl#getRight Right}
    • - *
    - * - * @generated - */ -public class ComparisonImpl extends ExpressionImpl implements Comparison -{ - /** - * The cached value of the '{@link #getLeft() Left}' containment reference. - * - * - * @see #getLeft() - * @generated - * @ordered - */ - protected Expression left; - - /** - * The default value of the '{@link #getOp() Op}' attribute. - * - * - * @see #getOp() - * @generated - * @ordered - */ - protected static final BinaryOperator OP_EDEFAULT = BinaryOperator.EQ; - - /** - * The cached value of the '{@link #getOp() Op}' attribute. - * - * - * @see #getOp() - * @generated - * @ordered - */ - protected BinaryOperator op = OP_EDEFAULT; - - /** - * The cached value of the '{@link #getRight() Right}' containment reference. - * - * - * @see #getRight() - * @generated - * @ordered - */ - protected Expression right; - - /** - * - * - * @generated - */ - protected ComparisonImpl() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return SolverLanguagePackage.Literals.COMPARISON; - } - - /** - * - * - * @generated - */ - @Override - public Expression getLeft() - { - return left; - } - - /** - * - * - * @generated - */ - public NotificationChain basicSetLeft(Expression newLeft, NotificationChain msgs) - { - Expression oldLeft = left; - left = newLeft; - if (eNotificationRequired()) - { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.COMPARISON__LEFT, oldLeft, newLeft); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * - * - * @generated - */ - @Override - public void setLeft(Expression newLeft) - { - if (newLeft != left) - { - NotificationChain msgs = null; - if (left != null) - msgs = ((InternalEObject)left).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.COMPARISON__LEFT, null, msgs); - if (newLeft != null) - msgs = ((InternalEObject)newLeft).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.COMPARISON__LEFT, null, msgs); - msgs = basicSetLeft(newLeft, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.COMPARISON__LEFT, newLeft, newLeft)); - } - - /** - * - * - * @generated - */ - @Override - public BinaryOperator getOp() - { - return op; - } - - /** - * - * - * @generated - */ - @Override - public void setOp(BinaryOperator newOp) - { - BinaryOperator oldOp = op; - op = newOp == null ? OP_EDEFAULT : newOp; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.COMPARISON__OP, oldOp, op)); - } - - /** - * - * - * @generated - */ - @Override - public Expression getRight() - { - return right; - } - - /** - * - * - * @generated - */ - public NotificationChain basicSetRight(Expression newRight, NotificationChain msgs) - { - Expression oldRight = right; - right = newRight; - if (eNotificationRequired()) - { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.COMPARISON__RIGHT, oldRight, newRight); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * - * - * @generated - */ - @Override - public void setRight(Expression newRight) - { - if (newRight != right) - { - NotificationChain msgs = null; - if (right != null) - msgs = ((InternalEObject)right).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.COMPARISON__RIGHT, null, msgs); - if (newRight != null) - msgs = ((InternalEObject)newRight).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.COMPARISON__RIGHT, null, msgs); - msgs = basicSetRight(newRight, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.COMPARISON__RIGHT, newRight, newRight)); - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) - { - switch (featureID) - { - case SolverLanguagePackage.COMPARISON__LEFT: - return basicSetLeft(null, msgs); - case SolverLanguagePackage.COMPARISON__RIGHT: - return basicSetRight(null, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case SolverLanguagePackage.COMPARISON__LEFT: - return getLeft(); - case SolverLanguagePackage.COMPARISON__OP: - return getOp(); - case SolverLanguagePackage.COMPARISON__RIGHT: - return getRight(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case SolverLanguagePackage.COMPARISON__LEFT: - setLeft((Expression)newValue); - return; - case SolverLanguagePackage.COMPARISON__OP: - setOp((BinaryOperator)newValue); - return; - case SolverLanguagePackage.COMPARISON__RIGHT: - setRight((Expression)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case SolverLanguagePackage.COMPARISON__LEFT: - setLeft((Expression)null); - return; - case SolverLanguagePackage.COMPARISON__OP: - setOp(OP_EDEFAULT); - return; - case SolverLanguagePackage.COMPARISON__RIGHT: - setRight((Expression)null); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case SolverLanguagePackage.COMPARISON__LEFT: - return left != null; - case SolverLanguagePackage.COMPARISON__OP: - return op != OP_EDEFAULT; - case SolverLanguagePackage.COMPARISON__RIGHT: - return right != null; - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() - { - if (eIsProxy()) return super.toString(); - - StringBuilder result = new StringBuilder(super.toString()); - result.append(" (op: "); - result.append(op); - result.append(')'); - return result.toString(); - } - -} //ComparisonImpl diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ConjunctionImpl.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ConjunctionImpl.java deleted file mode 100644 index 6a1e995a..00000000 --- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ConjunctionImpl.java +++ /dev/null @@ -1,167 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage.impl; - -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; - -import org.eclipse.viatra.solver.language.solverLanguage.Conjunction; -import org.eclipse.viatra.solver.language.solverLanguage.Expression; -import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; - -/** - * - * An implementation of the model object 'Conjunction'. - * - *

    - * The following features are implemented: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.ConjunctionImpl#getChildren Children}
    • - *
    - * - * @generated - */ -public class ConjunctionImpl extends ExpressionImpl implements Conjunction -{ - /** - * The cached value of the '{@link #getChildren() Children}' containment reference list. - * - * - * @see #getChildren() - * @generated - * @ordered - */ - protected EList children; - - /** - * - * - * @generated - */ - protected ConjunctionImpl() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return SolverLanguagePackage.Literals.CONJUNCTION; - } - - /** - * - * - * @generated - */ - @Override - public EList getChildren() - { - if (children == null) - { - children = new EObjectContainmentEList(Expression.class, this, SolverLanguagePackage.CONJUNCTION__CHILDREN); - } - return children; - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) - { - switch (featureID) - { - case SolverLanguagePackage.CONJUNCTION__CHILDREN: - return ((InternalEList)getChildren()).basicRemove(otherEnd, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case SolverLanguagePackage.CONJUNCTION__CHILDREN: - return getChildren(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case SolverLanguagePackage.CONJUNCTION__CHILDREN: - getChildren().clear(); - getChildren().addAll((Collection)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case SolverLanguagePackage.CONJUNCTION__CHILDREN: - getChildren().clear(); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case SolverLanguagePackage.CONJUNCTION__CHILDREN: - return children != null && !children.isEmpty(); - } - return super.eIsSet(featureID); - } - -} //ConjunctionImpl diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/CountImpl.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/CountImpl.java deleted file mode 100644 index 1609245f..00000000 --- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/CountImpl.java +++ /dev/null @@ -1,196 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage.impl; - -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.viatra.solver.language.solverLanguage.Count; -import org.eclipse.viatra.solver.language.solverLanguage.Expression; -import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; - -/** - * - * An implementation of the model object 'Count'. - * - *

    - * The following features are implemented: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.CountImpl#getBody Body}
    • - *
    - * - * @generated - */ -public class CountImpl extends ExpressionImpl implements Count -{ - /** - * The cached value of the '{@link #getBody() Body}' containment reference. - * - * - * @see #getBody() - * @generated - * @ordered - */ - protected Expression body; - - /** - * - * - * @generated - */ - protected CountImpl() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return SolverLanguagePackage.Literals.COUNT; - } - - /** - * - * - * @generated - */ - @Override - public Expression getBody() - { - return body; - } - - /** - * - * - * @generated - */ - public NotificationChain basicSetBody(Expression newBody, NotificationChain msgs) - { - Expression oldBody = body; - body = newBody; - if (eNotificationRequired()) - { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.COUNT__BODY, oldBody, newBody); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * - * - * @generated - */ - @Override - public void setBody(Expression newBody) - { - if (newBody != body) - { - NotificationChain msgs = null; - if (body != null) - msgs = ((InternalEObject)body).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.COUNT__BODY, null, msgs); - if (newBody != null) - msgs = ((InternalEObject)newBody).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.COUNT__BODY, null, msgs); - msgs = basicSetBody(newBody, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.COUNT__BODY, newBody, newBody)); - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) - { - switch (featureID) - { - case SolverLanguagePackage.COUNT__BODY: - return basicSetBody(null, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case SolverLanguagePackage.COUNT__BODY: - return getBody(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case SolverLanguagePackage.COUNT__BODY: - setBody((Expression)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case SolverLanguagePackage.COUNT__BODY: - setBody((Expression)null); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case SolverLanguagePackage.COUNT__BODY: - return body != null; - } - return super.eIsSet(featureID); - } - -} //CountImpl diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/DefaultDefinitionImpl.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/DefaultDefinitionImpl.java deleted file mode 100644 index c1eaa71a..00000000 --- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/DefaultDefinitionImpl.java +++ /dev/null @@ -1,270 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage.impl; - -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.viatra.solver.language.solverLanguage.Call; -import org.eclipse.viatra.solver.language.solverLanguage.DefaultDefinition; -import org.eclipse.viatra.solver.language.solverLanguage.Expression; -import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; - -/** - * - * An implementation of the model object 'Default Definition'. - * - *

    - * The following features are implemented: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.DefaultDefinitionImpl#getHead Head}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.DefaultDefinitionImpl#getRange Range}
    • - *
    - * - * @generated - */ -public class DefaultDefinitionImpl extends StatementImpl implements DefaultDefinition -{ - /** - * The cached value of the '{@link #getHead() Head}' containment reference. - * - * - * @see #getHead() - * @generated - * @ordered - */ - protected Call head; - - /** - * The cached value of the '{@link #getRange() Range}' containment reference. - * - * - * @see #getRange() - * @generated - * @ordered - */ - protected Expression range; - - /** - * - * - * @generated - */ - protected DefaultDefinitionImpl() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return SolverLanguagePackage.Literals.DEFAULT_DEFINITION; - } - - /** - * - * - * @generated - */ - @Override - public Call getHead() - { - return head; - } - - /** - * - * - * @generated - */ - public NotificationChain basicSetHead(Call newHead, NotificationChain msgs) - { - Call oldHead = head; - head = newHead; - if (eNotificationRequired()) - { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.DEFAULT_DEFINITION__HEAD, oldHead, newHead); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * - * - * @generated - */ - @Override - public void setHead(Call newHead) - { - if (newHead != head) - { - NotificationChain msgs = null; - if (head != null) - msgs = ((InternalEObject)head).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.DEFAULT_DEFINITION__HEAD, null, msgs); - if (newHead != null) - msgs = ((InternalEObject)newHead).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.DEFAULT_DEFINITION__HEAD, null, msgs); - msgs = basicSetHead(newHead, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.DEFAULT_DEFINITION__HEAD, newHead, newHead)); - } - - /** - * - * - * @generated - */ - @Override - public Expression getRange() - { - return range; - } - - /** - * - * - * @generated - */ - public NotificationChain basicSetRange(Expression newRange, NotificationChain msgs) - { - Expression oldRange = range; - range = newRange; - if (eNotificationRequired()) - { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.DEFAULT_DEFINITION__RANGE, oldRange, newRange); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * - * - * @generated - */ - @Override - public void setRange(Expression newRange) - { - if (newRange != range) - { - NotificationChain msgs = null; - if (range != null) - msgs = ((InternalEObject)range).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.DEFAULT_DEFINITION__RANGE, null, msgs); - if (newRange != null) - msgs = ((InternalEObject)newRange).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.DEFAULT_DEFINITION__RANGE, null, msgs); - msgs = basicSetRange(newRange, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.DEFAULT_DEFINITION__RANGE, newRange, newRange)); - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) - { - switch (featureID) - { - case SolverLanguagePackage.DEFAULT_DEFINITION__HEAD: - return basicSetHead(null, msgs); - case SolverLanguagePackage.DEFAULT_DEFINITION__RANGE: - return basicSetRange(null, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case SolverLanguagePackage.DEFAULT_DEFINITION__HEAD: - return getHead(); - case SolverLanguagePackage.DEFAULT_DEFINITION__RANGE: - return getRange(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case SolverLanguagePackage.DEFAULT_DEFINITION__HEAD: - setHead((Call)newValue); - return; - case SolverLanguagePackage.DEFAULT_DEFINITION__RANGE: - setRange((Expression)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case SolverLanguagePackage.DEFAULT_DEFINITION__HEAD: - setHead((Call)null); - return; - case SolverLanguagePackage.DEFAULT_DEFINITION__RANGE: - setRange((Expression)null); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case SolverLanguagePackage.DEFAULT_DEFINITION__HEAD: - return head != null; - case SolverLanguagePackage.DEFAULT_DEFINITION__RANGE: - return range != null; - } - return super.eIsSet(featureID); - } - -} //DefaultDefinitionImpl diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/DisjunctionImpl.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/DisjunctionImpl.java deleted file mode 100644 index ecdb14d8..00000000 --- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/DisjunctionImpl.java +++ /dev/null @@ -1,167 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage.impl; - -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; - -import org.eclipse.viatra.solver.language.solverLanguage.Disjunction; -import org.eclipse.viatra.solver.language.solverLanguage.Expression; -import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; - -/** - * - * An implementation of the model object 'Disjunction'. - * - *

    - * The following features are implemented: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.DisjunctionImpl#getChildren Children}
    • - *
    - * - * @generated - */ -public class DisjunctionImpl extends ExpressionImpl implements Disjunction -{ - /** - * The cached value of the '{@link #getChildren() Children}' containment reference list. - * - * - * @see #getChildren() - * @generated - * @ordered - */ - protected EList children; - - /** - * - * - * @generated - */ - protected DisjunctionImpl() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return SolverLanguagePackage.Literals.DISJUNCTION; - } - - /** - * - * - * @generated - */ - @Override - public EList getChildren() - { - if (children == null) - { - children = new EObjectContainmentEList(Expression.class, this, SolverLanguagePackage.DISJUNCTION__CHILDREN); - } - return children; - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) - { - switch (featureID) - { - case SolverLanguagePackage.DISJUNCTION__CHILDREN: - return ((InternalEList)getChildren()).basicRemove(otherEnd, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case SolverLanguagePackage.DISJUNCTION__CHILDREN: - return getChildren(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case SolverLanguagePackage.DISJUNCTION__CHILDREN: - getChildren().clear(); - getChildren().addAll((Collection)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case SolverLanguagePackage.DISJUNCTION__CHILDREN: - getChildren().clear(); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case SolverLanguagePackage.DISJUNCTION__CHILDREN: - return children != null && !children.isEmpty(); - } - return super.eIsSet(featureID); - } - -} //DisjunctionImpl diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/EmptyIntervalLiteralImpl.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/EmptyIntervalLiteralImpl.java deleted file mode 100644 index 1ebf38ad..00000000 --- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/EmptyIntervalLiteralImpl.java +++ /dev/null @@ -1,41 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage.impl; - -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.viatra.solver.language.solverLanguage.EmptyIntervalLiteral; -import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; - -/** - * - * An implementation of the model object 'Empty Interval Literal'. - * - * - * @generated - */ -public class EmptyIntervalLiteralImpl extends LiteralImpl implements EmptyIntervalLiteral -{ - /** - * - * - * @generated - */ - protected EmptyIntervalLiteralImpl() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return SolverLanguagePackage.Literals.EMPTY_INTERVAL_LITERAL; - } - -} //EmptyIntervalLiteralImpl diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExactMultiplicityImpl.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExactMultiplicityImpl.java deleted file mode 100644 index 3751de39..00000000 --- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExactMultiplicityImpl.java +++ /dev/null @@ -1,179 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage.impl; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -import org.eclipse.viatra.solver.language.solverLanguage.ExactMultiplicity; -import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; - -/** - * - * An implementation of the model object 'Exact Multiplicity'. - * - *

    - * The following features are implemented: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExactMultiplicityImpl#getMultiplicity Multiplicity}
    • - *
    - * - * @generated - */ -public class ExactMultiplicityImpl extends MultiplicityImpl implements ExactMultiplicity -{ - /** - * The default value of the '{@link #getMultiplicity() Multiplicity}' attribute. - * - * - * @see #getMultiplicity() - * @generated - * @ordered - */ - protected static final int MULTIPLICITY_EDEFAULT = 0; - - /** - * The cached value of the '{@link #getMultiplicity() Multiplicity}' attribute. - * - * - * @see #getMultiplicity() - * @generated - * @ordered - */ - protected int multiplicity = MULTIPLICITY_EDEFAULT; - - /** - * - * - * @generated - */ - protected ExactMultiplicityImpl() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return SolverLanguagePackage.Literals.EXACT_MULTIPLICITY; - } - - /** - * - * - * @generated - */ - @Override - public int getMultiplicity() - { - return multiplicity; - } - - /** - * - * - * @generated - */ - @Override - public void setMultiplicity(int newMultiplicity) - { - int oldMultiplicity = multiplicity; - multiplicity = newMultiplicity; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.EXACT_MULTIPLICITY__MULTIPLICITY, oldMultiplicity, multiplicity)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case SolverLanguagePackage.EXACT_MULTIPLICITY__MULTIPLICITY: - return getMultiplicity(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case SolverLanguagePackage.EXACT_MULTIPLICITY__MULTIPLICITY: - setMultiplicity((Integer)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case SolverLanguagePackage.EXACT_MULTIPLICITY__MULTIPLICITY: - setMultiplicity(MULTIPLICITY_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case SolverLanguagePackage.EXACT_MULTIPLICITY__MULTIPLICITY: - return multiplicity != MULTIPLICITY_EDEFAULT; - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() - { - if (eIsProxy()) return super.toString(); - - StringBuilder result = new StringBuilder(super.toString()); - result.append(" (multiplicity: "); - result.append(multiplicity); - result.append(')'); - return result.toString(); - } - -} //ExactMultiplicityImpl diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExactScopeDefinitionImpl.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExactScopeDefinitionImpl.java deleted file mode 100644 index faf51904..00000000 --- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExactScopeDefinitionImpl.java +++ /dev/null @@ -1,179 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage.impl; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -import org.eclipse.viatra.solver.language.solverLanguage.ExactScopeDefinition; -import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; - -/** - * - * An implementation of the model object 'Exact Scope Definition'. - * - *

    - * The following features are implemented: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExactScopeDefinitionImpl#getExactScope Exact Scope}
    • - *
    - * - * @generated - */ -public class ExactScopeDefinitionImpl extends ScopeDefinitionImpl implements ExactScopeDefinition -{ - /** - * The default value of the '{@link #getExactScope() Exact Scope}' attribute. - * - * - * @see #getExactScope() - * @generated - * @ordered - */ - protected static final int EXACT_SCOPE_EDEFAULT = 0; - - /** - * The cached value of the '{@link #getExactScope() Exact Scope}' attribute. - * - * - * @see #getExactScope() - * @generated - * @ordered - */ - protected int exactScope = EXACT_SCOPE_EDEFAULT; - - /** - * - * - * @generated - */ - protected ExactScopeDefinitionImpl() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return SolverLanguagePackage.Literals.EXACT_SCOPE_DEFINITION; - } - - /** - * - * - * @generated - */ - @Override - public int getExactScope() - { - return exactScope; - } - - /** - * - * - * @generated - */ - @Override - public void setExactScope(int newExactScope) - { - int oldExactScope = exactScope; - exactScope = newExactScope; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.EXACT_SCOPE_DEFINITION__EXACT_SCOPE, oldExactScope, exactScope)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case SolverLanguagePackage.EXACT_SCOPE_DEFINITION__EXACT_SCOPE: - return getExactScope(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case SolverLanguagePackage.EXACT_SCOPE_DEFINITION__EXACT_SCOPE: - setExactScope((Integer)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case SolverLanguagePackage.EXACT_SCOPE_DEFINITION__EXACT_SCOPE: - setExactScope(EXACT_SCOPE_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case SolverLanguagePackage.EXACT_SCOPE_DEFINITION__EXACT_SCOPE: - return exactScope != EXACT_SCOPE_EDEFAULT; - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() - { - if (eIsProxy()) return super.toString(); - - StringBuilder result = new StringBuilder(super.toString()); - result.append(" (exactScope: "); - result.append(exactScope); - result.append(')'); - return result.toString(); - } - -} //ExactScopeDefinitionImpl diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExpressionArgumentImpl.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExpressionArgumentImpl.java deleted file mode 100644 index f83c1cb3..00000000 --- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExpressionArgumentImpl.java +++ /dev/null @@ -1,196 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage.impl; - -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.viatra.solver.language.solverLanguage.Expression; -import org.eclipse.viatra.solver.language.solverLanguage.ExpressionArgument; -import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; - -/** - * - * An implementation of the model object 'Expression Argument'. - * - *

    - * The following features are implemented: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExpressionArgumentImpl#getBody Body}
    • - *
    - * - * @generated - */ -public class ExpressionArgumentImpl extends ArgumentImpl implements ExpressionArgument -{ - /** - * The cached value of the '{@link #getBody() Body}' containment reference. - * - * - * @see #getBody() - * @generated - * @ordered - */ - protected Expression body; - - /** - * - * - * @generated - */ - protected ExpressionArgumentImpl() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return SolverLanguagePackage.Literals.EXPRESSION_ARGUMENT; - } - - /** - * - * - * @generated - */ - @Override - public Expression getBody() - { - return body; - } - - /** - * - * - * @generated - */ - public NotificationChain basicSetBody(Expression newBody, NotificationChain msgs) - { - Expression oldBody = body; - body = newBody; - if (eNotificationRequired()) - { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.EXPRESSION_ARGUMENT__BODY, oldBody, newBody); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * - * - * @generated - */ - @Override - public void setBody(Expression newBody) - { - if (newBody != body) - { - NotificationChain msgs = null; - if (body != null) - msgs = ((InternalEObject)body).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.EXPRESSION_ARGUMENT__BODY, null, msgs); - if (newBody != null) - msgs = ((InternalEObject)newBody).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.EXPRESSION_ARGUMENT__BODY, null, msgs); - msgs = basicSetBody(newBody, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.EXPRESSION_ARGUMENT__BODY, newBody, newBody)); - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) - { - switch (featureID) - { - case SolverLanguagePackage.EXPRESSION_ARGUMENT__BODY: - return basicSetBody(null, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case SolverLanguagePackage.EXPRESSION_ARGUMENT__BODY: - return getBody(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case SolverLanguagePackage.EXPRESSION_ARGUMENT__BODY: - setBody((Expression)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case SolverLanguagePackage.EXPRESSION_ARGUMENT__BODY: - setBody((Expression)null); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case SolverLanguagePackage.EXPRESSION_ARGUMENT__BODY: - return body != null; - } - return super.eIsSet(featureID); - } - -} //ExpressionArgumentImpl diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExpressionImpl.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExpressionImpl.java deleted file mode 100644 index 585e3c41..00000000 --- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExpressionImpl.java +++ /dev/null @@ -1,41 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage.impl; - -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.viatra.solver.language.solverLanguage.Expression; -import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; - -/** - * - * An implementation of the model object 'Expression'. - * - * - * @generated - */ -public class ExpressionImpl extends StatementImpl implements Expression -{ - /** - * - * - * @generated - */ - protected ExpressionImpl() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return SolverLanguagePackage.Literals.EXPRESSION; - } - -} //ExpressionImpl diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExternMetricDefinitionImpl.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExternMetricDefinitionImpl.java deleted file mode 100644 index e324c38a..00000000 --- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExternMetricDefinitionImpl.java +++ /dev/null @@ -1,270 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage.impl; - -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.viatra.solver.language.solverLanguage.Call; -import org.eclipse.viatra.solver.language.solverLanguage.ExternMetricDefinition; -import org.eclipse.viatra.solver.language.solverLanguage.MetricType; -import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; - -/** - * - * An implementation of the model object 'Extern Metric Definition'. - * - *

    - * The following features are implemented: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExternMetricDefinitionImpl#getType Type}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExternMetricDefinitionImpl#getHead Head}
    • - *
    - * - * @generated - */ -public class ExternMetricDefinitionImpl extends StatementImpl implements ExternMetricDefinition -{ - /** - * The default value of the '{@link #getType() Type}' attribute. - * - * - * @see #getType() - * @generated - * @ordered - */ - protected static final MetricType TYPE_EDEFAULT = MetricType.INT; - - /** - * The cached value of the '{@link #getType() Type}' attribute. - * - * - * @see #getType() - * @generated - * @ordered - */ - protected MetricType type = TYPE_EDEFAULT; - - /** - * The cached value of the '{@link #getHead() Head}' containment reference. - * - * - * @see #getHead() - * @generated - * @ordered - */ - protected Call head; - - /** - * - * - * @generated - */ - protected ExternMetricDefinitionImpl() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return SolverLanguagePackage.Literals.EXTERN_METRIC_DEFINITION; - } - - /** - * - * - * @generated - */ - @Override - public MetricType getType() - { - return type; - } - - /** - * - * - * @generated - */ - @Override - public void setType(MetricType newType) - { - MetricType oldType = type; - type = newType == null ? TYPE_EDEFAULT : newType; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.EXTERN_METRIC_DEFINITION__TYPE, oldType, type)); - } - - /** - * - * - * @generated - */ - @Override - public Call getHead() - { - return head; - } - - /** - * - * - * @generated - */ - public NotificationChain basicSetHead(Call newHead, NotificationChain msgs) - { - Call oldHead = head; - head = newHead; - if (eNotificationRequired()) - { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.EXTERN_METRIC_DEFINITION__HEAD, oldHead, newHead); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * - * - * @generated - */ - @Override - public void setHead(Call newHead) - { - if (newHead != head) - { - NotificationChain msgs = null; - if (head != null) - msgs = ((InternalEObject)head).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.EXTERN_METRIC_DEFINITION__HEAD, null, msgs); - if (newHead != null) - msgs = ((InternalEObject)newHead).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.EXTERN_METRIC_DEFINITION__HEAD, null, msgs); - msgs = basicSetHead(newHead, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.EXTERN_METRIC_DEFINITION__HEAD, newHead, newHead)); - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) - { - switch (featureID) - { - case SolverLanguagePackage.EXTERN_METRIC_DEFINITION__HEAD: - return basicSetHead(null, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case SolverLanguagePackage.EXTERN_METRIC_DEFINITION__TYPE: - return getType(); - case SolverLanguagePackage.EXTERN_METRIC_DEFINITION__HEAD: - return getHead(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case SolverLanguagePackage.EXTERN_METRIC_DEFINITION__TYPE: - setType((MetricType)newValue); - return; - case SolverLanguagePackage.EXTERN_METRIC_DEFINITION__HEAD: - setHead((Call)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case SolverLanguagePackage.EXTERN_METRIC_DEFINITION__TYPE: - setType(TYPE_EDEFAULT); - return; - case SolverLanguagePackage.EXTERN_METRIC_DEFINITION__HEAD: - setHead((Call)null); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case SolverLanguagePackage.EXTERN_METRIC_DEFINITION__TYPE: - return type != TYPE_EDEFAULT; - case SolverLanguagePackage.EXTERN_METRIC_DEFINITION__HEAD: - return head != null; - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() - { - if (eIsProxy()) return super.toString(); - - StringBuilder result = new StringBuilder(super.toString()); - result.append(" (type: "); - result.append(type); - result.append(')'); - return result.toString(); - } - -} //ExternMetricDefinitionImpl diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExternPredicateDefinitionImpl.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExternPredicateDefinitionImpl.java deleted file mode 100644 index 0605cb0f..00000000 --- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExternPredicateDefinitionImpl.java +++ /dev/null @@ -1,196 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage.impl; - -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.viatra.solver.language.solverLanguage.Call; -import org.eclipse.viatra.solver.language.solverLanguage.ExternPredicateDefinition; -import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; - -/** - * - * An implementation of the model object 'Extern Predicate Definition'. - * - *

    - * The following features are implemented: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExternPredicateDefinitionImpl#getHead Head}
    • - *
    - * - * @generated - */ -public class ExternPredicateDefinitionImpl extends StatementImpl implements ExternPredicateDefinition -{ - /** - * The cached value of the '{@link #getHead() Head}' containment reference. - * - * - * @see #getHead() - * @generated - * @ordered - */ - protected Call head; - - /** - * - * - * @generated - */ - protected ExternPredicateDefinitionImpl() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return SolverLanguagePackage.Literals.EXTERN_PREDICATE_DEFINITION; - } - - /** - * - * - * @generated - */ - @Override - public Call getHead() - { - return head; - } - - /** - * - * - * @generated - */ - public NotificationChain basicSetHead(Call newHead, NotificationChain msgs) - { - Call oldHead = head; - head = newHead; - if (eNotificationRequired()) - { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.EXTERN_PREDICATE_DEFINITION__HEAD, oldHead, newHead); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * - * - * @generated - */ - @Override - public void setHead(Call newHead) - { - if (newHead != head) - { - NotificationChain msgs = null; - if (head != null) - msgs = ((InternalEObject)head).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.EXTERN_PREDICATE_DEFINITION__HEAD, null, msgs); - if (newHead != null) - msgs = ((InternalEObject)newHead).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.EXTERN_PREDICATE_DEFINITION__HEAD, null, msgs); - msgs = basicSetHead(newHead, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.EXTERN_PREDICATE_DEFINITION__HEAD, newHead, newHead)); - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) - { - switch (featureID) - { - case SolverLanguagePackage.EXTERN_PREDICATE_DEFINITION__HEAD: - return basicSetHead(null, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case SolverLanguagePackage.EXTERN_PREDICATE_DEFINITION__HEAD: - return getHead(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case SolverLanguagePackage.EXTERN_PREDICATE_DEFINITION__HEAD: - setHead((Call)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case SolverLanguagePackage.EXTERN_PREDICATE_DEFINITION__HEAD: - setHead((Call)null); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case SolverLanguagePackage.EXTERN_PREDICATE_DEFINITION__HEAD: - return head != null; - } - return super.eIsSet(featureID); - } - -} //ExternPredicateDefinitionImpl diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/IfElseImpl.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/IfElseImpl.java deleted file mode 100644 index 1b873568..00000000 --- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/IfElseImpl.java +++ /dev/null @@ -1,342 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage.impl; - -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.viatra.solver.language.solverLanguage.Expression; -import org.eclipse.viatra.solver.language.solverLanguage.IfElse; -import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; - -/** - * - * An implementation of the model object 'If Else'. - * - *

    - * The following features are implemented: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.IfElseImpl#getCondition Condition}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.IfElseImpl#getThen Then}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.IfElseImpl#getElse Else}
    • - *
    - * - * @generated - */ -public class IfElseImpl extends ExpressionImpl implements IfElse -{ - /** - * The cached value of the '{@link #getCondition() Condition}' containment reference. - * - * - * @see #getCondition() - * @generated - * @ordered - */ - protected Expression condition; - - /** - * The cached value of the '{@link #getThen() Then}' containment reference. - * - * - * @see #getThen() - * @generated - * @ordered - */ - protected Expression then; - - /** - * The cached value of the '{@link #getElse() Else}' containment reference. - * - * - * @see #getElse() - * @generated - * @ordered - */ - protected Expression else_; - - /** - * - * - * @generated - */ - protected IfElseImpl() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return SolverLanguagePackage.Literals.IF_ELSE; - } - - /** - * - * - * @generated - */ - @Override - public Expression getCondition() - { - return condition; - } - - /** - * - * - * @generated - */ - public NotificationChain basicSetCondition(Expression newCondition, NotificationChain msgs) - { - Expression oldCondition = condition; - condition = newCondition; - if (eNotificationRequired()) - { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.IF_ELSE__CONDITION, oldCondition, newCondition); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * - * - * @generated - */ - @Override - public void setCondition(Expression newCondition) - { - if (newCondition != condition) - { - NotificationChain msgs = null; - if (condition != null) - msgs = ((InternalEObject)condition).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.IF_ELSE__CONDITION, null, msgs); - if (newCondition != null) - msgs = ((InternalEObject)newCondition).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.IF_ELSE__CONDITION, null, msgs); - msgs = basicSetCondition(newCondition, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.IF_ELSE__CONDITION, newCondition, newCondition)); - } - - /** - * - * - * @generated - */ - @Override - public Expression getThen() - { - return then; - } - - /** - * - * - * @generated - */ - public NotificationChain basicSetThen(Expression newThen, NotificationChain msgs) - { - Expression oldThen = then; - then = newThen; - if (eNotificationRequired()) - { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.IF_ELSE__THEN, oldThen, newThen); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * - * - * @generated - */ - @Override - public void setThen(Expression newThen) - { - if (newThen != then) - { - NotificationChain msgs = null; - if (then != null) - msgs = ((InternalEObject)then).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.IF_ELSE__THEN, null, msgs); - if (newThen != null) - msgs = ((InternalEObject)newThen).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.IF_ELSE__THEN, null, msgs); - msgs = basicSetThen(newThen, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.IF_ELSE__THEN, newThen, newThen)); - } - - /** - * - * - * @generated - */ - @Override - public Expression getElse() - { - return else_; - } - - /** - * - * - * @generated - */ - public NotificationChain basicSetElse(Expression newElse, NotificationChain msgs) - { - Expression oldElse = else_; - else_ = newElse; - if (eNotificationRequired()) - { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.IF_ELSE__ELSE, oldElse, newElse); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * - * - * @generated - */ - @Override - public void setElse(Expression newElse) - { - if (newElse != else_) - { - NotificationChain msgs = null; - if (else_ != null) - msgs = ((InternalEObject)else_).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.IF_ELSE__ELSE, null, msgs); - if (newElse != null) - msgs = ((InternalEObject)newElse).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.IF_ELSE__ELSE, null, msgs); - msgs = basicSetElse(newElse, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.IF_ELSE__ELSE, newElse, newElse)); - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) - { - switch (featureID) - { - case SolverLanguagePackage.IF_ELSE__CONDITION: - return basicSetCondition(null, msgs); - case SolverLanguagePackage.IF_ELSE__THEN: - return basicSetThen(null, msgs); - case SolverLanguagePackage.IF_ELSE__ELSE: - return basicSetElse(null, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case SolverLanguagePackage.IF_ELSE__CONDITION: - return getCondition(); - case SolverLanguagePackage.IF_ELSE__THEN: - return getThen(); - case SolverLanguagePackage.IF_ELSE__ELSE: - return getElse(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case SolverLanguagePackage.IF_ELSE__CONDITION: - setCondition((Expression)newValue); - return; - case SolverLanguagePackage.IF_ELSE__THEN: - setThen((Expression)newValue); - return; - case SolverLanguagePackage.IF_ELSE__ELSE: - setElse((Expression)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case SolverLanguagePackage.IF_ELSE__CONDITION: - setCondition((Expression)null); - return; - case SolverLanguagePackage.IF_ELSE__THEN: - setThen((Expression)null); - return; - case SolverLanguagePackage.IF_ELSE__ELSE: - setElse((Expression)null); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case SolverLanguagePackage.IF_ELSE__CONDITION: - return condition != null; - case SolverLanguagePackage.IF_ELSE__THEN: - return then != null; - case SolverLanguagePackage.IF_ELSE__ELSE: - return else_ != null; - } - return super.eIsSet(featureID); - } - -} //IfElseImpl diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/InfinityLiteralImpl.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/InfinityLiteralImpl.java deleted file mode 100644 index e796f5a0..00000000 --- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/InfinityLiteralImpl.java +++ /dev/null @@ -1,41 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage.impl; - -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.viatra.solver.language.solverLanguage.InfinityLiteral; -import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; - -/** - * - * An implementation of the model object 'Infinity Literal'. - * - * - * @generated - */ -public class InfinityLiteralImpl extends LiteralImpl implements InfinityLiteral -{ - /** - * - * - * @generated - */ - protected InfinityLiteralImpl() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return SolverLanguagePackage.Literals.INFINITY_LITERAL; - } - -} //InfinityLiteralImpl diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/IntervalImpl.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/IntervalImpl.java deleted file mode 100644 index e6107ef8..00000000 --- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/IntervalImpl.java +++ /dev/null @@ -1,269 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage.impl; - -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.viatra.solver.language.solverLanguage.Expression; -import org.eclipse.viatra.solver.language.solverLanguage.Interval; -import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; - -/** - * - * An implementation of the model object 'Interval'. - * - *

    - * The following features are implemented: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.IntervalImpl#getLowerBound Lower Bound}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.IntervalImpl#getUpperBound Upper Bound}
    • - *
    - * - * @generated - */ -public class IntervalImpl extends ExpressionImpl implements Interval -{ - /** - * The cached value of the '{@link #getLowerBound() Lower Bound}' containment reference. - * - * - * @see #getLowerBound() - * @generated - * @ordered - */ - protected Expression lowerBound; - - /** - * The cached value of the '{@link #getUpperBound() Upper Bound}' containment reference. - * - * - * @see #getUpperBound() - * @generated - * @ordered - */ - protected Expression upperBound; - - /** - * - * - * @generated - */ - protected IntervalImpl() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return SolverLanguagePackage.Literals.INTERVAL; - } - - /** - * - * - * @generated - */ - @Override - public Expression getLowerBound() - { - return lowerBound; - } - - /** - * - * - * @generated - */ - public NotificationChain basicSetLowerBound(Expression newLowerBound, NotificationChain msgs) - { - Expression oldLowerBound = lowerBound; - lowerBound = newLowerBound; - if (eNotificationRequired()) - { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.INTERVAL__LOWER_BOUND, oldLowerBound, newLowerBound); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * - * - * @generated - */ - @Override - public void setLowerBound(Expression newLowerBound) - { - if (newLowerBound != lowerBound) - { - NotificationChain msgs = null; - if (lowerBound != null) - msgs = ((InternalEObject)lowerBound).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.INTERVAL__LOWER_BOUND, null, msgs); - if (newLowerBound != null) - msgs = ((InternalEObject)newLowerBound).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.INTERVAL__LOWER_BOUND, null, msgs); - msgs = basicSetLowerBound(newLowerBound, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.INTERVAL__LOWER_BOUND, newLowerBound, newLowerBound)); - } - - /** - * - * - * @generated - */ - @Override - public Expression getUpperBound() - { - return upperBound; - } - - /** - * - * - * @generated - */ - public NotificationChain basicSetUpperBound(Expression newUpperBound, NotificationChain msgs) - { - Expression oldUpperBound = upperBound; - upperBound = newUpperBound; - if (eNotificationRequired()) - { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.INTERVAL__UPPER_BOUND, oldUpperBound, newUpperBound); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * - * - * @generated - */ - @Override - public void setUpperBound(Expression newUpperBound) - { - if (newUpperBound != upperBound) - { - NotificationChain msgs = null; - if (upperBound != null) - msgs = ((InternalEObject)upperBound).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.INTERVAL__UPPER_BOUND, null, msgs); - if (newUpperBound != null) - msgs = ((InternalEObject)newUpperBound).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.INTERVAL__UPPER_BOUND, null, msgs); - msgs = basicSetUpperBound(newUpperBound, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.INTERVAL__UPPER_BOUND, newUpperBound, newUpperBound)); - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) - { - switch (featureID) - { - case SolverLanguagePackage.INTERVAL__LOWER_BOUND: - return basicSetLowerBound(null, msgs); - case SolverLanguagePackage.INTERVAL__UPPER_BOUND: - return basicSetUpperBound(null, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case SolverLanguagePackage.INTERVAL__LOWER_BOUND: - return getLowerBound(); - case SolverLanguagePackage.INTERVAL__UPPER_BOUND: - return getUpperBound(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case SolverLanguagePackage.INTERVAL__LOWER_BOUND: - setLowerBound((Expression)newValue); - return; - case SolverLanguagePackage.INTERVAL__UPPER_BOUND: - setUpperBound((Expression)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case SolverLanguagePackage.INTERVAL__LOWER_BOUND: - setLowerBound((Expression)null); - return; - case SolverLanguagePackage.INTERVAL__UPPER_BOUND: - setUpperBound((Expression)null); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case SolverLanguagePackage.INTERVAL__LOWER_BOUND: - return lowerBound != null; - case SolverLanguagePackage.INTERVAL__UPPER_BOUND: - return upperBound != null; - } - return super.eIsSet(featureID); - } - -} //IntervalImpl diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/LiteralImpl.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/LiteralImpl.java deleted file mode 100644 index 2983566c..00000000 --- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/LiteralImpl.java +++ /dev/null @@ -1,41 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage.impl; - -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.viatra.solver.language.solverLanguage.Literal; -import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; - -/** - * - * An implementation of the model object 'Literal'. - * - * - * @generated - */ -public class LiteralImpl extends ExpressionImpl implements Literal -{ - /** - * - * - * @generated - */ - protected LiteralImpl() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return SolverLanguagePackage.Literals.LITERAL; - } - -} //LiteralImpl diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/LogicLiteralImpl.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/LogicLiteralImpl.java deleted file mode 100644 index 2bc27a20..00000000 --- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/LogicLiteralImpl.java +++ /dev/null @@ -1,180 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage.impl; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -import org.eclipse.viatra.solver.language.solverLanguage.LogicLiteral; -import org.eclipse.viatra.solver.language.solverLanguage.LogicValue; -import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; - -/** - * - * An implementation of the model object 'Logic Literal'. - * - *

    - * The following features are implemented: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.LogicLiteralImpl#getValue Value}
    • - *
    - * - * @generated - */ -public class LogicLiteralImpl extends LiteralImpl implements LogicLiteral -{ - /** - * The default value of the '{@link #getValue() Value}' attribute. - * - * - * @see #getValue() - * @generated - * @ordered - */ - protected static final LogicValue VALUE_EDEFAULT = LogicValue.TRUE; - - /** - * The cached value of the '{@link #getValue() Value}' attribute. - * - * - * @see #getValue() - * @generated - * @ordered - */ - protected LogicValue value = VALUE_EDEFAULT; - - /** - * - * - * @generated - */ - protected LogicLiteralImpl() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return SolverLanguagePackage.Literals.LOGIC_LITERAL; - } - - /** - * - * - * @generated - */ - @Override - public LogicValue getValue() - { - return value; - } - - /** - * - * - * @generated - */ - @Override - public void setValue(LogicValue newValue) - { - LogicValue oldValue = value; - value = newValue == null ? VALUE_EDEFAULT : newValue; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.LOGIC_LITERAL__VALUE, oldValue, value)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case SolverLanguagePackage.LOGIC_LITERAL__VALUE: - return getValue(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case SolverLanguagePackage.LOGIC_LITERAL__VALUE: - setValue((LogicValue)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case SolverLanguagePackage.LOGIC_LITERAL__VALUE: - setValue(VALUE_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case SolverLanguagePackage.LOGIC_LITERAL__VALUE: - return value != VALUE_EDEFAULT; - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() - { - if (eIsProxy()) return super.toString(); - - StringBuilder result = new StringBuilder(super.toString()); - result.append(" (value: "); - result.append(value); - result.append(')'); - return result.toString(); - } - -} //LogicLiteralImpl diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/LowerBoundedScopeDefinitionImpl.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/LowerBoundedScopeDefinitionImpl.java deleted file mode 100644 index 5eb671f3..00000000 --- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/LowerBoundedScopeDefinitionImpl.java +++ /dev/null @@ -1,179 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage.impl; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -import org.eclipse.viatra.solver.language.solverLanguage.LowerBoundedScopeDefinition; -import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; - -/** - * - * An implementation of the model object 'Lower Bounded Scope Definition'. - * - *

    - * The following features are implemented: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.LowerBoundedScopeDefinitionImpl#getLowerBound Lower Bound}
    • - *
    - * - * @generated - */ -public class LowerBoundedScopeDefinitionImpl extends ScopeDefinitionImpl implements LowerBoundedScopeDefinition -{ - /** - * The default value of the '{@link #getLowerBound() Lower Bound}' attribute. - * - * - * @see #getLowerBound() - * @generated - * @ordered - */ - protected static final int LOWER_BOUND_EDEFAULT = 0; - - /** - * The cached value of the '{@link #getLowerBound() Lower Bound}' attribute. - * - * - * @see #getLowerBound() - * @generated - * @ordered - */ - protected int lowerBound = LOWER_BOUND_EDEFAULT; - - /** - * - * - * @generated - */ - protected LowerBoundedScopeDefinitionImpl() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return SolverLanguagePackage.Literals.LOWER_BOUNDED_SCOPE_DEFINITION; - } - - /** - * - * - * @generated - */ - @Override - public int getLowerBound() - { - return lowerBound; - } - - /** - * - * - * @generated - */ - @Override - public void setLowerBound(int newLowerBound) - { - int oldLowerBound = lowerBound; - lowerBound = newLowerBound; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.LOWER_BOUNDED_SCOPE_DEFINITION__LOWER_BOUND, oldLowerBound, lowerBound)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case SolverLanguagePackage.LOWER_BOUNDED_SCOPE_DEFINITION__LOWER_BOUND: - return getLowerBound(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case SolverLanguagePackage.LOWER_BOUNDED_SCOPE_DEFINITION__LOWER_BOUND: - setLowerBound((Integer)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case SolverLanguagePackage.LOWER_BOUNDED_SCOPE_DEFINITION__LOWER_BOUND: - setLowerBound(LOWER_BOUND_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case SolverLanguagePackage.LOWER_BOUNDED_SCOPE_DEFINITION__LOWER_BOUND: - return lowerBound != LOWER_BOUND_EDEFAULT; - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() - { - if (eIsProxy()) return super.toString(); - - StringBuilder result = new StringBuilder(super.toString()); - result.append(" (lowerBound: "); - result.append(lowerBound); - result.append(')'); - return result.toString(); - } - -} //LowerBoundedScopeDefinitionImpl diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ManyMultiplicityImpl.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ManyMultiplicityImpl.java deleted file mode 100644 index c248b4ea..00000000 --- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ManyMultiplicityImpl.java +++ /dev/null @@ -1,41 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage.impl; - -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.viatra.solver.language.solverLanguage.ManyMultiplicity; -import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; - -/** - * - * An implementation of the model object 'Many Multiplicity'. - * - * - * @generated - */ -public class ManyMultiplicityImpl extends MultiplicityImpl implements ManyMultiplicity -{ - /** - * - * - * @generated - */ - protected ManyMultiplicityImpl() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return SolverLanguagePackage.Literals.MANY_MULTIPLICITY; - } - -} //ManyMultiplicityImpl diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/MemberDefinitionImpl.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/MemberDefinitionImpl.java deleted file mode 100644 index 69021347..00000000 --- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/MemberDefinitionImpl.java +++ /dev/null @@ -1,463 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage.impl; - -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; - -import org.eclipse.viatra.solver.language.solverLanguage.MemberDefinition; -import org.eclipse.viatra.solver.language.solverLanguage.Multiplicity; -import org.eclipse.viatra.solver.language.solverLanguage.NamedElement; -import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; - -/** - * - * An implementation of the model object 'Member Definition'. - * - *

    - * The following features are implemented: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.MemberDefinitionImpl#isContainment Containment}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.MemberDefinitionImpl#getType Type}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.MemberDefinitionImpl#getMultiplicity Multiplicity}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.MemberDefinitionImpl#getName Name}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.MemberDefinitionImpl#getOpposite Opposite}
    • - *
    - * - * @generated - */ -public class MemberDefinitionImpl extends MinimalEObjectImpl.Container implements MemberDefinition -{ - /** - * The default value of the '{@link #isContainment() Containment}' attribute. - * - * - * @see #isContainment() - * @generated - * @ordered - */ - protected static final boolean CONTAINMENT_EDEFAULT = false; - - /** - * The cached value of the '{@link #isContainment() Containment}' attribute. - * - * - * @see #isContainment() - * @generated - * @ordered - */ - protected boolean containment = CONTAINMENT_EDEFAULT; - - /** - * The cached value of the '{@link #getType() Type}' reference. - * - * - * @see #getType() - * @generated - * @ordered - */ - protected NamedElement type; - - /** - * The cached value of the '{@link #getMultiplicity() Multiplicity}' containment reference. - * - * - * @see #getMultiplicity() - * @generated - * @ordered - */ - protected Multiplicity multiplicity; - - /** - * The default value of the '{@link #getName() Name}' attribute. - * - * - * @see #getName() - * @generated - * @ordered - */ - protected static final String NAME_EDEFAULT = null; - - /** - * The cached value of the '{@link #getName() Name}' attribute. - * - * - * @see #getName() - * @generated - * @ordered - */ - protected String name = NAME_EDEFAULT; - - /** - * The cached value of the '{@link #getOpposite() Opposite}' reference. - * - * - * @see #getOpposite() - * @generated - * @ordered - */ - protected NamedElement opposite; - - /** - * - * - * @generated - */ - protected MemberDefinitionImpl() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return SolverLanguagePackage.Literals.MEMBER_DEFINITION; - } - - /** - * - * - * @generated - */ - @Override - public boolean isContainment() - { - return containment; - } - - /** - * - * - * @generated - */ - @Override - public void setContainment(boolean newContainment) - { - boolean oldContainment = containment; - containment = newContainment; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.MEMBER_DEFINITION__CONTAINMENT, oldContainment, containment)); - } - - /** - * - * - * @generated - */ - @Override - public NamedElement getType() - { - if (type != null && type.eIsProxy()) - { - InternalEObject oldType = (InternalEObject)type; - type = (NamedElement)eResolveProxy(oldType); - if (type != oldType) - { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, SolverLanguagePackage.MEMBER_DEFINITION__TYPE, oldType, type)); - } - } - return type; - } - - /** - * - * - * @generated - */ - public NamedElement basicGetType() - { - return type; - } - - /** - * - * - * @generated - */ - @Override - public void setType(NamedElement newType) - { - NamedElement oldType = type; - type = newType; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.MEMBER_DEFINITION__TYPE, oldType, type)); - } - - /** - * - * - * @generated - */ - @Override - public Multiplicity getMultiplicity() - { - return multiplicity; - } - - /** - * - * - * @generated - */ - public NotificationChain basicSetMultiplicity(Multiplicity newMultiplicity, NotificationChain msgs) - { - Multiplicity oldMultiplicity = multiplicity; - multiplicity = newMultiplicity; - if (eNotificationRequired()) - { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.MEMBER_DEFINITION__MULTIPLICITY, oldMultiplicity, newMultiplicity); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * - * - * @generated - */ - @Override - public void setMultiplicity(Multiplicity newMultiplicity) - { - if (newMultiplicity != multiplicity) - { - NotificationChain msgs = null; - if (multiplicity != null) - msgs = ((InternalEObject)multiplicity).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.MEMBER_DEFINITION__MULTIPLICITY, null, msgs); - if (newMultiplicity != null) - msgs = ((InternalEObject)newMultiplicity).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.MEMBER_DEFINITION__MULTIPLICITY, null, msgs); - msgs = basicSetMultiplicity(newMultiplicity, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.MEMBER_DEFINITION__MULTIPLICITY, newMultiplicity, newMultiplicity)); - } - - /** - * - * - * @generated - */ - @Override - public String getName() - { - return name; - } - - /** - * - * - * @generated - */ - @Override - public void setName(String newName) - { - String oldName = name; - name = newName; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.MEMBER_DEFINITION__NAME, oldName, name)); - } - - /** - * - * - * @generated - */ - @Override - public NamedElement getOpposite() - { - if (opposite != null && opposite.eIsProxy()) - { - InternalEObject oldOpposite = (InternalEObject)opposite; - opposite = (NamedElement)eResolveProxy(oldOpposite); - if (opposite != oldOpposite) - { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, SolverLanguagePackage.MEMBER_DEFINITION__OPPOSITE, oldOpposite, opposite)); - } - } - return opposite; - } - - /** - * - * - * @generated - */ - public NamedElement basicGetOpposite() - { - return opposite; - } - - /** - * - * - * @generated - */ - @Override - public void setOpposite(NamedElement newOpposite) - { - NamedElement oldOpposite = opposite; - opposite = newOpposite; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.MEMBER_DEFINITION__OPPOSITE, oldOpposite, opposite)); - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) - { - switch (featureID) - { - case SolverLanguagePackage.MEMBER_DEFINITION__MULTIPLICITY: - return basicSetMultiplicity(null, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case SolverLanguagePackage.MEMBER_DEFINITION__CONTAINMENT: - return isContainment(); - case SolverLanguagePackage.MEMBER_DEFINITION__TYPE: - if (resolve) return getType(); - return basicGetType(); - case SolverLanguagePackage.MEMBER_DEFINITION__MULTIPLICITY: - return getMultiplicity(); - case SolverLanguagePackage.MEMBER_DEFINITION__NAME: - return getName(); - case SolverLanguagePackage.MEMBER_DEFINITION__OPPOSITE: - if (resolve) return getOpposite(); - return basicGetOpposite(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case SolverLanguagePackage.MEMBER_DEFINITION__CONTAINMENT: - setContainment((Boolean)newValue); - return; - case SolverLanguagePackage.MEMBER_DEFINITION__TYPE: - setType((NamedElement)newValue); - return; - case SolverLanguagePackage.MEMBER_DEFINITION__MULTIPLICITY: - setMultiplicity((Multiplicity)newValue); - return; - case SolverLanguagePackage.MEMBER_DEFINITION__NAME: - setName((String)newValue); - return; - case SolverLanguagePackage.MEMBER_DEFINITION__OPPOSITE: - setOpposite((NamedElement)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case SolverLanguagePackage.MEMBER_DEFINITION__CONTAINMENT: - setContainment(CONTAINMENT_EDEFAULT); - return; - case SolverLanguagePackage.MEMBER_DEFINITION__TYPE: - setType((NamedElement)null); - return; - case SolverLanguagePackage.MEMBER_DEFINITION__MULTIPLICITY: - setMultiplicity((Multiplicity)null); - return; - case SolverLanguagePackage.MEMBER_DEFINITION__NAME: - setName(NAME_EDEFAULT); - return; - case SolverLanguagePackage.MEMBER_DEFINITION__OPPOSITE: - setOpposite((NamedElement)null); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case SolverLanguagePackage.MEMBER_DEFINITION__CONTAINMENT: - return containment != CONTAINMENT_EDEFAULT; - case SolverLanguagePackage.MEMBER_DEFINITION__TYPE: - return type != null; - case SolverLanguagePackage.MEMBER_DEFINITION__MULTIPLICITY: - return multiplicity != null; - case SolverLanguagePackage.MEMBER_DEFINITION__NAME: - return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); - case SolverLanguagePackage.MEMBER_DEFINITION__OPPOSITE: - return opposite != null; - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() - { - if (eIsProxy()) return super.toString(); - - StringBuilder result = new StringBuilder(super.toString()); - result.append(" (containment: "); - result.append(containment); - result.append(", name: "); - result.append(name); - result.append(')'); - return result.toString(); - } - -} //MemberDefinitionImpl diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/MetricDefinitionImpl.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/MetricDefinitionImpl.java deleted file mode 100644 index 8f84d2f1..00000000 --- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/MetricDefinitionImpl.java +++ /dev/null @@ -1,343 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage.impl; - -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.viatra.solver.language.solverLanguage.Expression; -import org.eclipse.viatra.solver.language.solverLanguage.MetricDefinition; -import org.eclipse.viatra.solver.language.solverLanguage.MetricType; -import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; - -/** - * - * An implementation of the model object 'Metric Definition'. - * - *

    - * The following features are implemented: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.MetricDefinitionImpl#getHead Head}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.MetricDefinitionImpl#getBody Body}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.MetricDefinitionImpl#getType Type}
    • - *
    - * - * @generated - */ -public class MetricDefinitionImpl extends StatementImpl implements MetricDefinition -{ - /** - * The cached value of the '{@link #getHead() Head}' containment reference. - * - * - * @see #getHead() - * @generated - * @ordered - */ - protected Expression head; - - /** - * The cached value of the '{@link #getBody() Body}' containment reference. - * - * - * @see #getBody() - * @generated - * @ordered - */ - protected Expression body; - - /** - * The default value of the '{@link #getType() Type}' attribute. - * - * - * @see #getType() - * @generated - * @ordered - */ - protected static final MetricType TYPE_EDEFAULT = MetricType.INT; - - /** - * The cached value of the '{@link #getType() Type}' attribute. - * - * - * @see #getType() - * @generated - * @ordered - */ - protected MetricType type = TYPE_EDEFAULT; - - /** - * - * - * @generated - */ - protected MetricDefinitionImpl() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return SolverLanguagePackage.Literals.METRIC_DEFINITION; - } - - /** - * - * - * @generated - */ - @Override - public Expression getHead() - { - return head; - } - - /** - * - * - * @generated - */ - public NotificationChain basicSetHead(Expression newHead, NotificationChain msgs) - { - Expression oldHead = head; - head = newHead; - if (eNotificationRequired()) - { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.METRIC_DEFINITION__HEAD, oldHead, newHead); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * - * - * @generated - */ - @Override - public void setHead(Expression newHead) - { - if (newHead != head) - { - NotificationChain msgs = null; - if (head != null) - msgs = ((InternalEObject)head).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.METRIC_DEFINITION__HEAD, null, msgs); - if (newHead != null) - msgs = ((InternalEObject)newHead).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.METRIC_DEFINITION__HEAD, null, msgs); - msgs = basicSetHead(newHead, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.METRIC_DEFINITION__HEAD, newHead, newHead)); - } - - /** - * - * - * @generated - */ - @Override - public Expression getBody() - { - return body; - } - - /** - * - * - * @generated - */ - public NotificationChain basicSetBody(Expression newBody, NotificationChain msgs) - { - Expression oldBody = body; - body = newBody; - if (eNotificationRequired()) - { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.METRIC_DEFINITION__BODY, oldBody, newBody); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * - * - * @generated - */ - @Override - public void setBody(Expression newBody) - { - if (newBody != body) - { - NotificationChain msgs = null; - if (body != null) - msgs = ((InternalEObject)body).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.METRIC_DEFINITION__BODY, null, msgs); - if (newBody != null) - msgs = ((InternalEObject)newBody).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.METRIC_DEFINITION__BODY, null, msgs); - msgs = basicSetBody(newBody, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.METRIC_DEFINITION__BODY, newBody, newBody)); - } - - /** - * - * - * @generated - */ - @Override - public MetricType getType() - { - return type; - } - - /** - * - * - * @generated - */ - @Override - public void setType(MetricType newType) - { - MetricType oldType = type; - type = newType == null ? TYPE_EDEFAULT : newType; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.METRIC_DEFINITION__TYPE, oldType, type)); - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) - { - switch (featureID) - { - case SolverLanguagePackage.METRIC_DEFINITION__HEAD: - return basicSetHead(null, msgs); - case SolverLanguagePackage.METRIC_DEFINITION__BODY: - return basicSetBody(null, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case SolverLanguagePackage.METRIC_DEFINITION__HEAD: - return getHead(); - case SolverLanguagePackage.METRIC_DEFINITION__BODY: - return getBody(); - case SolverLanguagePackage.METRIC_DEFINITION__TYPE: - return getType(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case SolverLanguagePackage.METRIC_DEFINITION__HEAD: - setHead((Expression)newValue); - return; - case SolverLanguagePackage.METRIC_DEFINITION__BODY: - setBody((Expression)newValue); - return; - case SolverLanguagePackage.METRIC_DEFINITION__TYPE: - setType((MetricType)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case SolverLanguagePackage.METRIC_DEFINITION__HEAD: - setHead((Expression)null); - return; - case SolverLanguagePackage.METRIC_DEFINITION__BODY: - setBody((Expression)null); - return; - case SolverLanguagePackage.METRIC_DEFINITION__TYPE: - setType(TYPE_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case SolverLanguagePackage.METRIC_DEFINITION__HEAD: - return head != null; - case SolverLanguagePackage.METRIC_DEFINITION__BODY: - return body != null; - case SolverLanguagePackage.METRIC_DEFINITION__TYPE: - return type != TYPE_EDEFAULT; - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() - { - if (eIsProxy()) return super.toString(); - - StringBuilder result = new StringBuilder(super.toString()); - result.append(" (type: "); - result.append(type); - result.append(')'); - return result.toString(); - } - -} //MetricDefinitionImpl diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/MultiplicityImpl.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/MultiplicityImpl.java deleted file mode 100644 index 935cf5be..00000000 --- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/MultiplicityImpl.java +++ /dev/null @@ -1,43 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage.impl; - -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; - -import org.eclipse.viatra.solver.language.solverLanguage.Multiplicity; -import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; - -/** - * - * An implementation of the model object 'Multiplicity'. - * - * - * @generated - */ -public class MultiplicityImpl extends MinimalEObjectImpl.Container implements Multiplicity -{ - /** - * - * - * @generated - */ - protected MultiplicityImpl() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return SolverLanguagePackage.Literals.MULTIPLICITY; - } - -} //MultiplicityImpl diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/NamedElementImpl.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/NamedElementImpl.java deleted file mode 100644 index a94f9894..00000000 --- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/NamedElementImpl.java +++ /dev/null @@ -1,180 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage.impl; - -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; - -import org.eclipse.viatra.solver.language.solverLanguage.NamedElement; -import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; - -/** - * - * An implementation of the model object 'Named Element'. - * - *

    - * The following features are implemented: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.NamedElementImpl#getName Name}
    • - *
    - * - * @generated - */ -public class NamedElementImpl extends MinimalEObjectImpl.Container implements NamedElement -{ - /** - * The default value of the '{@link #getName() Name}' attribute. - * - * - * @see #getName() - * @generated - * @ordered - */ - protected static final String NAME_EDEFAULT = null; - - /** - * The cached value of the '{@link #getName() Name}' attribute. - * - * - * @see #getName() - * @generated - * @ordered - */ - protected String name = NAME_EDEFAULT; - - /** - * - * - * @generated - */ - protected NamedElementImpl() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return SolverLanguagePackage.Literals.NAMED_ELEMENT; - } - - /** - * - * - * @generated - */ - @Override - public String getName() - { - return name; - } - - /** - * - * - * @generated - */ - @Override - public void setName(String newName) - { - String oldName = name; - name = newName; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.NAMED_ELEMENT__NAME, oldName, name)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case SolverLanguagePackage.NAMED_ELEMENT__NAME: - return getName(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case SolverLanguagePackage.NAMED_ELEMENT__NAME: - setName((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case SolverLanguagePackage.NAMED_ELEMENT__NAME: - setName(NAME_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case SolverLanguagePackage.NAMED_ELEMENT__NAME: - return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() - { - if (eIsProxy()) return super.toString(); - - StringBuilder result = new StringBuilder(super.toString()); - result.append(" (name: "); - result.append(name); - result.append(')'); - return result.toString(); - } - -} //NamedElementImpl diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/NumericLiteralImpl.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/NumericLiteralImpl.java deleted file mode 100644 index 04622dfb..00000000 --- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/NumericLiteralImpl.java +++ /dev/null @@ -1,181 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage.impl; - -import java.math.BigDecimal; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -import org.eclipse.viatra.solver.language.solverLanguage.NumericLiteral; -import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; - -/** - * - * An implementation of the model object 'Numeric Literal'. - * - *

    - * The following features are implemented: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.NumericLiteralImpl#getValue Value}
    • - *
    - * - * @generated - */ -public class NumericLiteralImpl extends LiteralImpl implements NumericLiteral -{ - /** - * The default value of the '{@link #getValue() Value}' attribute. - * - * - * @see #getValue() - * @generated - * @ordered - */ - protected static final BigDecimal VALUE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getValue() Value}' attribute. - * - * - * @see #getValue() - * @generated - * @ordered - */ - protected BigDecimal value = VALUE_EDEFAULT; - - /** - * - * - * @generated - */ - protected NumericLiteralImpl() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return SolverLanguagePackage.Literals.NUMERIC_LITERAL; - } - - /** - * - * - * @generated - */ - @Override - public BigDecimal getValue() - { - return value; - } - - /** - * - * - * @generated - */ - @Override - public void setValue(BigDecimal newValue) - { - BigDecimal oldValue = value; - value = newValue; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.NUMERIC_LITERAL__VALUE, oldValue, value)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case SolverLanguagePackage.NUMERIC_LITERAL__VALUE: - return getValue(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case SolverLanguagePackage.NUMERIC_LITERAL__VALUE: - setValue((BigDecimal)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case SolverLanguagePackage.NUMERIC_LITERAL__VALUE: - setValue(VALUE_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case SolverLanguagePackage.NUMERIC_LITERAL__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(); - - StringBuilder result = new StringBuilder(super.toString()); - result.append(" (value: "); - result.append(value); - result.append(')'); - return result.toString(); - } - -} //NumericLiteralImpl diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ObjectiveDefinitionImpl.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ObjectiveDefinitionImpl.java deleted file mode 100644 index 43b16e31..00000000 --- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ObjectiveDefinitionImpl.java +++ /dev/null @@ -1,270 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage.impl; - -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.viatra.solver.language.solverLanguage.Expression; -import org.eclipse.viatra.solver.language.solverLanguage.ObjectiveDefinition; -import org.eclipse.viatra.solver.language.solverLanguage.ObjectiveKind; -import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; - -/** - * - * An implementation of the model object 'Objective Definition'. - * - *

    - * The following features are implemented: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.ObjectiveDefinitionImpl#getKind Kind}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.ObjectiveDefinitionImpl#getObjective Objective}
    • - *
    - * - * @generated - */ -public class ObjectiveDefinitionImpl extends StatementImpl implements ObjectiveDefinition -{ - /** - * The default value of the '{@link #getKind() Kind}' attribute. - * - * - * @see #getKind() - * @generated - * @ordered - */ - protected static final ObjectiveKind KIND_EDEFAULT = ObjectiveKind.MINIMIZE; - - /** - * The cached value of the '{@link #getKind() Kind}' attribute. - * - * - * @see #getKind() - * @generated - * @ordered - */ - protected ObjectiveKind kind = KIND_EDEFAULT; - - /** - * The cached value of the '{@link #getObjective() Objective}' containment reference. - * - * - * @see #getObjective() - * @generated - * @ordered - */ - protected Expression objective; - - /** - * - * - * @generated - */ - protected ObjectiveDefinitionImpl() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return SolverLanguagePackage.Literals.OBJECTIVE_DEFINITION; - } - - /** - * - * - * @generated - */ - @Override - public ObjectiveKind getKind() - { - return kind; - } - - /** - * - * - * @generated - */ - @Override - public void setKind(ObjectiveKind newKind) - { - ObjectiveKind oldKind = kind; - kind = newKind == null ? KIND_EDEFAULT : newKind; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.OBJECTIVE_DEFINITION__KIND, oldKind, kind)); - } - - /** - * - * - * @generated - */ - @Override - public Expression getObjective() - { - return objective; - } - - /** - * - * - * @generated - */ - public NotificationChain basicSetObjective(Expression newObjective, NotificationChain msgs) - { - Expression oldObjective = objective; - objective = newObjective; - if (eNotificationRequired()) - { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.OBJECTIVE_DEFINITION__OBJECTIVE, oldObjective, newObjective); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * - * - * @generated - */ - @Override - public void setObjective(Expression newObjective) - { - if (newObjective != objective) - { - NotificationChain msgs = null; - if (objective != null) - msgs = ((InternalEObject)objective).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.OBJECTIVE_DEFINITION__OBJECTIVE, null, msgs); - if (newObjective != null) - msgs = ((InternalEObject)newObjective).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.OBJECTIVE_DEFINITION__OBJECTIVE, null, msgs); - msgs = basicSetObjective(newObjective, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.OBJECTIVE_DEFINITION__OBJECTIVE, newObjective, newObjective)); - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) - { - switch (featureID) - { - case SolverLanguagePackage.OBJECTIVE_DEFINITION__OBJECTIVE: - return basicSetObjective(null, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case SolverLanguagePackage.OBJECTIVE_DEFINITION__KIND: - return getKind(); - case SolverLanguagePackage.OBJECTIVE_DEFINITION__OBJECTIVE: - return getObjective(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case SolverLanguagePackage.OBJECTIVE_DEFINITION__KIND: - setKind((ObjectiveKind)newValue); - return; - case SolverLanguagePackage.OBJECTIVE_DEFINITION__OBJECTIVE: - setObjective((Expression)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case SolverLanguagePackage.OBJECTIVE_DEFINITION__KIND: - setKind(KIND_EDEFAULT); - return; - case SolverLanguagePackage.OBJECTIVE_DEFINITION__OBJECTIVE: - setObjective((Expression)null); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case SolverLanguagePackage.OBJECTIVE_DEFINITION__KIND: - return kind != KIND_EDEFAULT; - case SolverLanguagePackage.OBJECTIVE_DEFINITION__OBJECTIVE: - return objective != null; - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() - { - if (eIsProxy()) return super.toString(); - - StringBuilder result = new StringBuilder(super.toString()); - result.append(" (kind: "); - result.append(kind); - result.append(')'); - return result.toString(); - } - -} //ObjectiveDefinitionImpl diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/PredicateDefinitionImpl.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/PredicateDefinitionImpl.java deleted file mode 100644 index 50130f01..00000000 --- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/PredicateDefinitionImpl.java +++ /dev/null @@ -1,400 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage.impl; - -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.viatra.solver.language.solverLanguage.Expression; -import org.eclipse.viatra.solver.language.solverLanguage.PredicateDefinition; -import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; - -/** - * - * An implementation of the model object 'Predicate Definition'. - * - *

    - * The following features are implemented: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.PredicateDefinitionImpl#getHead Head}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.PredicateDefinitionImpl#getBody Body}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.PredicateDefinitionImpl#isFunctional Functional}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.PredicateDefinitionImpl#isError Error}
    • - *
    - * - * @generated - */ -public class PredicateDefinitionImpl extends StatementImpl implements PredicateDefinition -{ - /** - * The cached value of the '{@link #getHead() Head}' containment reference. - * - * - * @see #getHead() - * @generated - * @ordered - */ - protected Expression head; - - /** - * The cached value of the '{@link #getBody() Body}' containment reference. - * - * - * @see #getBody() - * @generated - * @ordered - */ - protected Expression body; - - /** - * The default value of the '{@link #isFunctional() Functional}' attribute. - * - * - * @see #isFunctional() - * @generated - * @ordered - */ - protected static final boolean FUNCTIONAL_EDEFAULT = false; - - /** - * The cached value of the '{@link #isFunctional() Functional}' attribute. - * - * - * @see #isFunctional() - * @generated - * @ordered - */ - protected boolean functional = FUNCTIONAL_EDEFAULT; - - /** - * The default value of the '{@link #isError() Error}' attribute. - * - * - * @see #isError() - * @generated - * @ordered - */ - protected static final boolean ERROR_EDEFAULT = false; - - /** - * The cached value of the '{@link #isError() Error}' attribute. - * - * - * @see #isError() - * @generated - * @ordered - */ - protected boolean error = ERROR_EDEFAULT; - - /** - * - * - * @generated - */ - protected PredicateDefinitionImpl() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return SolverLanguagePackage.Literals.PREDICATE_DEFINITION; - } - - /** - * - * - * @generated - */ - @Override - public Expression getHead() - { - return head; - } - - /** - * - * - * @generated - */ - public NotificationChain basicSetHead(Expression newHead, NotificationChain msgs) - { - Expression oldHead = head; - head = newHead; - if (eNotificationRequired()) - { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.PREDICATE_DEFINITION__HEAD, oldHead, newHead); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * - * - * @generated - */ - @Override - public void setHead(Expression newHead) - { - if (newHead != head) - { - NotificationChain msgs = null; - if (head != null) - msgs = ((InternalEObject)head).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.PREDICATE_DEFINITION__HEAD, null, msgs); - if (newHead != null) - msgs = ((InternalEObject)newHead).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.PREDICATE_DEFINITION__HEAD, null, msgs); - msgs = basicSetHead(newHead, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.PREDICATE_DEFINITION__HEAD, newHead, newHead)); - } - - /** - * - * - * @generated - */ - @Override - public Expression getBody() - { - return body; - } - - /** - * - * - * @generated - */ - public NotificationChain basicSetBody(Expression newBody, NotificationChain msgs) - { - Expression oldBody = body; - body = newBody; - if (eNotificationRequired()) - { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.PREDICATE_DEFINITION__BODY, oldBody, newBody); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * - * - * @generated - */ - @Override - public void setBody(Expression newBody) - { - if (newBody != body) - { - NotificationChain msgs = null; - if (body != null) - msgs = ((InternalEObject)body).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.PREDICATE_DEFINITION__BODY, null, msgs); - if (newBody != null) - msgs = ((InternalEObject)newBody).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.PREDICATE_DEFINITION__BODY, null, msgs); - msgs = basicSetBody(newBody, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.PREDICATE_DEFINITION__BODY, newBody, newBody)); - } - - /** - * - * - * @generated - */ - @Override - public boolean isFunctional() - { - return functional; - } - - /** - * - * - * @generated - */ - @Override - public void setFunctional(boolean newFunctional) - { - boolean oldFunctional = functional; - functional = newFunctional; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.PREDICATE_DEFINITION__FUNCTIONAL, oldFunctional, functional)); - } - - /** - * - * - * @generated - */ - @Override - public boolean isError() - { - return error; - } - - /** - * - * - * @generated - */ - @Override - public void setError(boolean newError) - { - boolean oldError = error; - error = newError; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.PREDICATE_DEFINITION__ERROR, oldError, error)); - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) - { - switch (featureID) - { - case SolverLanguagePackage.PREDICATE_DEFINITION__HEAD: - return basicSetHead(null, msgs); - case SolverLanguagePackage.PREDICATE_DEFINITION__BODY: - return basicSetBody(null, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case SolverLanguagePackage.PREDICATE_DEFINITION__HEAD: - return getHead(); - case SolverLanguagePackage.PREDICATE_DEFINITION__BODY: - return getBody(); - case SolverLanguagePackage.PREDICATE_DEFINITION__FUNCTIONAL: - return isFunctional(); - case SolverLanguagePackage.PREDICATE_DEFINITION__ERROR: - return isError(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case SolverLanguagePackage.PREDICATE_DEFINITION__HEAD: - setHead((Expression)newValue); - return; - case SolverLanguagePackage.PREDICATE_DEFINITION__BODY: - setBody((Expression)newValue); - return; - case SolverLanguagePackage.PREDICATE_DEFINITION__FUNCTIONAL: - setFunctional((Boolean)newValue); - return; - case SolverLanguagePackage.PREDICATE_DEFINITION__ERROR: - setError((Boolean)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case SolverLanguagePackage.PREDICATE_DEFINITION__HEAD: - setHead((Expression)null); - return; - case SolverLanguagePackage.PREDICATE_DEFINITION__BODY: - setBody((Expression)null); - return; - case SolverLanguagePackage.PREDICATE_DEFINITION__FUNCTIONAL: - setFunctional(FUNCTIONAL_EDEFAULT); - return; - case SolverLanguagePackage.PREDICATE_DEFINITION__ERROR: - setError(ERROR_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case SolverLanguagePackage.PREDICATE_DEFINITION__HEAD: - return head != null; - case SolverLanguagePackage.PREDICATE_DEFINITION__BODY: - return body != null; - case SolverLanguagePackage.PREDICATE_DEFINITION__FUNCTIONAL: - return functional != FUNCTIONAL_EDEFAULT; - case SolverLanguagePackage.PREDICATE_DEFINITION__ERROR: - return error != ERROR_EDEFAULT; - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() - { - if (eIsProxy()) return super.toString(); - - StringBuilder result = new StringBuilder(super.toString()); - result.append(" (functional: "); - result.append(functional); - result.append(", error: "); - result.append(error); - result.append(')'); - return result.toString(); - } - -} //PredicateDefinitionImpl diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ProblemImpl.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ProblemImpl.java deleted file mode 100644 index 744e604d..00000000 --- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ProblemImpl.java +++ /dev/null @@ -1,169 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage.impl; - -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.impl.MinimalEObjectImpl; - -import org.eclipse.emf.ecore.util.EObjectContainmentEList; -import org.eclipse.emf.ecore.util.InternalEList; - -import org.eclipse.viatra.solver.language.solverLanguage.Problem; -import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; -import org.eclipse.viatra.solver.language.solverLanguage.Statement; - -/** - * - * An implementation of the model object 'Problem'. - * - *

    - * The following features are implemented: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.ProblemImpl#getStatements Statements}
    • - *
    - * - * @generated - */ -public class ProblemImpl extends MinimalEObjectImpl.Container implements Problem -{ - /** - * The cached value of the '{@link #getStatements() Statements}' containment reference list. - * - * - * @see #getStatements() - * @generated - * @ordered - */ - protected EList statements; - - /** - * - * - * @generated - */ - protected ProblemImpl() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return SolverLanguagePackage.Literals.PROBLEM; - } - - /** - * - * - * @generated - */ - @Override - public EList getStatements() - { - if (statements == null) - { - statements = new EObjectContainmentEList(Statement.class, this, SolverLanguagePackage.PROBLEM__STATEMENTS); - } - return statements; - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) - { - switch (featureID) - { - case SolverLanguagePackage.PROBLEM__STATEMENTS: - return ((InternalEList)getStatements()).basicRemove(otherEnd, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case SolverLanguagePackage.PROBLEM__STATEMENTS: - return getStatements(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case SolverLanguagePackage.PROBLEM__STATEMENTS: - getStatements().clear(); - getStatements().addAll((Collection)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case SolverLanguagePackage.PROBLEM__STATEMENTS: - getStatements().clear(); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case SolverLanguagePackage.PROBLEM__STATEMENTS: - return statements != null && !statements.isEmpty(); - } - return super.eIsSet(featureID); - } - -} //ProblemImpl diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ReferenceImpl.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ReferenceImpl.java deleted file mode 100644 index be44c0e9..00000000 --- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ReferenceImpl.java +++ /dev/null @@ -1,175 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage.impl; - -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.solver.language.solverLanguage.NamedElement; -import org.eclipse.viatra.solver.language.solverLanguage.Reference; -import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; - -/** - * - * An implementation of the model object 'Reference'. - * - *

    - * The following features are implemented: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.ReferenceImpl#getReferred Referred}
    • - *
    - * - * @generated - */ -public class ReferenceImpl extends ExpressionImpl implements Reference -{ - /** - * The cached value of the '{@link #getReferred() Referred}' reference. - * - * - * @see #getReferred() - * @generated - * @ordered - */ - protected NamedElement referred; - - /** - * - * - * @generated - */ - protected ReferenceImpl() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return SolverLanguagePackage.Literals.REFERENCE; - } - - /** - * - * - * @generated - */ - @Override - public NamedElement getReferred() - { - if (referred != null && referred.eIsProxy()) - { - InternalEObject oldReferred = (InternalEObject)referred; - referred = (NamedElement)eResolveProxy(oldReferred); - if (referred != oldReferred) - { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, SolverLanguagePackage.REFERENCE__REFERRED, oldReferred, referred)); - } - } - return referred; - } - - /** - * - * - * @generated - */ - public NamedElement basicGetReferred() - { - return referred; - } - - /** - * - * - * @generated - */ - @Override - public void setReferred(NamedElement newReferred) - { - NamedElement oldReferred = referred; - referred = newReferred; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.REFERENCE__REFERRED, oldReferred, referred)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case SolverLanguagePackage.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 SolverLanguagePackage.REFERENCE__REFERRED: - setReferred((NamedElement)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case SolverLanguagePackage.REFERENCE__REFERRED: - setReferred((NamedElement)null); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case SolverLanguagePackage.REFERENCE__REFERRED: - return referred != null; - } - return super.eIsSet(featureID); - } - -} //ReferenceImpl diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ScopeDefinitionImpl.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ScopeDefinitionImpl.java deleted file mode 100644 index be109307..00000000 --- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ScopeDefinitionImpl.java +++ /dev/null @@ -1,175 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage.impl; - -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.solver.language.solverLanguage.NamedElement; -import org.eclipse.viatra.solver.language.solverLanguage.ScopeDefinition; -import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; - -/** - * - * An implementation of the model object 'Scope Definition'. - * - *

    - * The following features are implemented: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.ScopeDefinitionImpl#getType Type}
    • - *
    - * - * @generated - */ -public class ScopeDefinitionImpl extends StatementImpl implements ScopeDefinition -{ - /** - * The cached value of the '{@link #getType() Type}' reference. - * - * - * @see #getType() - * @generated - * @ordered - */ - protected NamedElement type; - - /** - * - * - * @generated - */ - protected ScopeDefinitionImpl() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return SolverLanguagePackage.Literals.SCOPE_DEFINITION; - } - - /** - * - * - * @generated - */ - @Override - public NamedElement getType() - { - if (type != null && type.eIsProxy()) - { - InternalEObject oldType = (InternalEObject)type; - type = (NamedElement)eResolveProxy(oldType); - if (type != oldType) - { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, SolverLanguagePackage.SCOPE_DEFINITION__TYPE, oldType, type)); - } - } - return type; - } - - /** - * - * - * @generated - */ - public NamedElement basicGetType() - { - return type; - } - - /** - * - * - * @generated - */ - @Override - public void setType(NamedElement newType) - { - NamedElement oldType = type; - type = newType; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.SCOPE_DEFINITION__TYPE, oldType, type)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case SolverLanguagePackage.SCOPE_DEFINITION__TYPE: - if (resolve) return getType(); - return basicGetType(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case SolverLanguagePackage.SCOPE_DEFINITION__TYPE: - setType((NamedElement)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case SolverLanguagePackage.SCOPE_DEFINITION__TYPE: - setType((NamedElement)null); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case SolverLanguagePackage.SCOPE_DEFINITION__TYPE: - return type != null; - } - return super.eIsSet(featureID); - } - -} //ScopeDefinitionImpl diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/SolverLanguageFactoryImpl.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/SolverLanguageFactoryImpl.java deleted file mode 100644 index 509d7568..00000000 --- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/SolverLanguageFactoryImpl.java +++ /dev/null @@ -1,894 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage.impl; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EDataType; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.EPackage; - -import org.eclipse.emf.ecore.impl.EFactoryImpl; - -import org.eclipse.emf.ecore.plugin.EcorePlugin; - -import org.eclipse.viatra.solver.language.solverLanguage.*; - -/** - * - * An implementation of the model Factory. - * - * @generated - */ -public class SolverLanguageFactoryImpl extends EFactoryImpl implements SolverLanguageFactory -{ - /** - * Creates the default factory implementation. - * - * - * @generated - */ - public static SolverLanguageFactory init() - { - try - { - SolverLanguageFactory theSolverLanguageFactory = (SolverLanguageFactory)EPackage.Registry.INSTANCE.getEFactory(SolverLanguagePackage.eNS_URI); - if (theSolverLanguageFactory != null) - { - return theSolverLanguageFactory; - } - } - catch (Exception exception) - { - EcorePlugin.INSTANCE.log(exception); - } - return new SolverLanguageFactoryImpl(); - } - - /** - * Creates an instance of the factory. - * - * - * @generated - */ - public SolverLanguageFactoryImpl() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - public EObject create(EClass eClass) - { - switch (eClass.getClassifierID()) - { - case SolverLanguagePackage.PROBLEM: return createProblem(); - case SolverLanguagePackage.STATEMENT: return createStatement(); - case SolverLanguagePackage.PREDICATE_DEFINITION: return createPredicateDefinition(); - case SolverLanguagePackage.UNNAMED_ERROR_PREDIATE_DEFINITION: return createUnnamedErrorPrediateDefinition(); - case SolverLanguagePackage.DEFAULT_DEFINITION: return createDefaultDefinition(); - case SolverLanguagePackage.EXTERN_PREDICATE_DEFINITION: return createExternPredicateDefinition(); - case SolverLanguagePackage.METRIC_DEFINITION: return createMetricDefinition(); - case SolverLanguagePackage.EXTERN_METRIC_DEFINITION: return createExternMetricDefinition(); - case SolverLanguagePackage.EXPRESSION: return createExpression(); - case SolverLanguagePackage.IF_ELSE: return createIfElse(); - case SolverLanguagePackage.CASE: return createCase(); - case SolverLanguagePackage.COUNT: return createCount(); - case SolverLanguagePackage.AGGREGATION: return createAggregation(); - case SolverLanguagePackage.CALL: return createCall(); - case SolverLanguagePackage.ARGUMENT_LIST: return createArgumentList(); - case SolverLanguagePackage.ARGUMENT: return createArgument(); - case SolverLanguagePackage.EXPRESSION_ARGUMENT: return createExpressionArgument(); - case SolverLanguagePackage.STAR_ARGUMENT: return createStarArgument(); - case SolverLanguagePackage.TYPED_ARGUMENT: return createTypedArgument(); - case SolverLanguagePackage.TYPED_STAR_ARGUMENT: return createTypedStarArgument(); - case SolverLanguagePackage.REFERENCE: return createReference(); - case SolverLanguagePackage.INTERVAL: return createInterval(); - case SolverLanguagePackage.LITERAL: return createLiteral(); - case SolverLanguagePackage.LOGIC_LITERAL: return createLogicLiteral(); - case SolverLanguagePackage.NUMERIC_LITERAL: return createNumericLiteral(); - case SolverLanguagePackage.INFINITY_LITERAL: return createInfinityLiteral(); - case SolverLanguagePackage.EMPTY_INTERVAL_LITERAL: return createEmptyIntervalLiteral(); - case SolverLanguagePackage.STRING_LITERAL: return createStringLiteral(); - case SolverLanguagePackage.CLASS_DEFINITION: return createClassDefinition(); - case SolverLanguagePackage.MEMBER_DEFINITION: return createMemberDefinition(); - case SolverLanguagePackage.MULTIPLICITY: return createMultiplicity(); - case SolverLanguagePackage.MANY_MULTIPLICITY: return createManyMultiplicity(); - case SolverLanguagePackage.EXACT_MULTIPLICITY: return createExactMultiplicity(); - case SolverLanguagePackage.BOUNDED_MULTIPLICITY: return createBoundedMultiplicity(); - case SolverLanguagePackage.SCOPE_DEFINITION: return createScopeDefinition(); - case SolverLanguagePackage.EXACT_SCOPE_DEFINITION: return createExactScopeDefinition(); - case SolverLanguagePackage.BOUNDED_SCOPE_DEFINITION: return createBoundedScopeDefinition(); - case SolverLanguagePackage.LOWER_BOUNDED_SCOPE_DEFINITION: return createLowerBoundedScopeDefinition(); - case SolverLanguagePackage.OBJECTIVE_DEFINITION: return createObjectiveDefinition(); - case SolverLanguagePackage.NAMED_ELEMENT: return createNamedElement(); - case SolverLanguagePackage.ASSERTION: return createAssertion(); - case SolverLanguagePackage.DISJUNCTION: return createDisjunction(); - case SolverLanguagePackage.SWITCH: return createSwitch(); - case SolverLanguagePackage.CONJUNCTION: return createConjunction(); - case SolverLanguagePackage.COMPARISON: return createComparison(); - case SolverLanguagePackage.BINARY_EXPRESSION: return createBinaryExpression(); - case SolverLanguagePackage.UNARY_EXPRESSION: return createUnaryExpression(); - default: - throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); - } - } - - /** - * - * - * @generated - */ - @Override - public Object createFromString(EDataType eDataType, String initialValue) - { - switch (eDataType.getClassifierID()) - { - case SolverLanguagePackage.METRIC_TYPE: - return createMetricTypeFromString(eDataType, initialValue); - case SolverLanguagePackage.BINARY_OPERATOR: - return createBinaryOperatorFromString(eDataType, initialValue); - case SolverLanguagePackage.UNARY_OP: - return createUnaryOpFromString(eDataType, initialValue); - case SolverLanguagePackage.AGGREGATION_OP: - return createAggregationOpFromString(eDataType, initialValue); - case SolverLanguagePackage.LOGIC_VALUE: - return createLogicValueFromString(eDataType, initialValue); - case SolverLanguagePackage.OBJECTIVE_KIND: - return createObjectiveKindFromString(eDataType, initialValue); - default: - throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); - } - } - - /** - * - * - * @generated - */ - @Override - public String convertToString(EDataType eDataType, Object instanceValue) - { - switch (eDataType.getClassifierID()) - { - case SolverLanguagePackage.METRIC_TYPE: - return convertMetricTypeToString(eDataType, instanceValue); - case SolverLanguagePackage.BINARY_OPERATOR: - return convertBinaryOperatorToString(eDataType, instanceValue); - case SolverLanguagePackage.UNARY_OP: - return convertUnaryOpToString(eDataType, instanceValue); - case SolverLanguagePackage.AGGREGATION_OP: - return convertAggregationOpToString(eDataType, instanceValue); - case SolverLanguagePackage.LOGIC_VALUE: - return convertLogicValueToString(eDataType, instanceValue); - case SolverLanguagePackage.OBJECTIVE_KIND: - return convertObjectiveKindToString(eDataType, instanceValue); - default: - throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); - } - } - - /** - * - * - * @generated - */ - @Override - public Problem createProblem() - { - ProblemImpl problem = new ProblemImpl(); - return problem; - } - - /** - * - * - * @generated - */ - @Override - public Statement createStatement() - { - StatementImpl statement = new StatementImpl(); - return statement; - } - - /** - * - * - * @generated - */ - @Override - public PredicateDefinition createPredicateDefinition() - { - PredicateDefinitionImpl predicateDefinition = new PredicateDefinitionImpl(); - return predicateDefinition; - } - - /** - * - * - * @generated - */ - @Override - public UnnamedErrorPrediateDefinition createUnnamedErrorPrediateDefinition() - { - UnnamedErrorPrediateDefinitionImpl unnamedErrorPrediateDefinition = new UnnamedErrorPrediateDefinitionImpl(); - return unnamedErrorPrediateDefinition; - } - - /** - * - * - * @generated - */ - @Override - public DefaultDefinition createDefaultDefinition() - { - DefaultDefinitionImpl defaultDefinition = new DefaultDefinitionImpl(); - return defaultDefinition; - } - - /** - * - * - * @generated - */ - @Override - public ExternPredicateDefinition createExternPredicateDefinition() - { - ExternPredicateDefinitionImpl externPredicateDefinition = new ExternPredicateDefinitionImpl(); - return externPredicateDefinition; - } - - /** - * - * - * @generated - */ - @Override - public MetricDefinition createMetricDefinition() - { - MetricDefinitionImpl metricDefinition = new MetricDefinitionImpl(); - return metricDefinition; - } - - /** - * - * - * @generated - */ - @Override - public ExternMetricDefinition createExternMetricDefinition() - { - ExternMetricDefinitionImpl externMetricDefinition = new ExternMetricDefinitionImpl(); - return externMetricDefinition; - } - - /** - * - * - * @generated - */ - @Override - public Expression createExpression() - { - ExpressionImpl expression = new ExpressionImpl(); - return expression; - } - - /** - * - * - * @generated - */ - @Override - public IfElse createIfElse() - { - IfElseImpl ifElse = new IfElseImpl(); - return ifElse; - } - - /** - * - * - * @generated - */ - @Override - public Case createCase() - { - CaseImpl case_ = new CaseImpl(); - return case_; - } - - /** - * - * - * @generated - */ - @Override - public Count createCount() - { - CountImpl count = new CountImpl(); - return count; - } - - /** - * - * - * @generated - */ - @Override - public Aggregation createAggregation() - { - AggregationImpl aggregation = new AggregationImpl(); - return aggregation; - } - - /** - * - * - * @generated - */ - @Override - public Call createCall() - { - CallImpl call = new CallImpl(); - return call; - } - - /** - * - * - * @generated - */ - @Override - public ArgumentList createArgumentList() - { - ArgumentListImpl argumentList = new ArgumentListImpl(); - return argumentList; - } - - /** - * - * - * @generated - */ - @Override - public Argument createArgument() - { - ArgumentImpl argument = new ArgumentImpl(); - return argument; - } - - /** - * - * - * @generated - */ - @Override - public ExpressionArgument createExpressionArgument() - { - ExpressionArgumentImpl expressionArgument = new ExpressionArgumentImpl(); - return expressionArgument; - } - - /** - * - * - * @generated - */ - @Override - public StarArgument createStarArgument() - { - StarArgumentImpl starArgument = new StarArgumentImpl(); - return starArgument; - } - - /** - * - * - * @generated - */ - @Override - public TypedArgument createTypedArgument() - { - TypedArgumentImpl typedArgument = new TypedArgumentImpl(); - return typedArgument; - } - - /** - * - * - * @generated - */ - @Override - public TypedStarArgument createTypedStarArgument() - { - TypedStarArgumentImpl typedStarArgument = new TypedStarArgumentImpl(); - return typedStarArgument; - } - - /** - * - * - * @generated - */ - @Override - public Reference createReference() - { - ReferenceImpl reference = new ReferenceImpl(); - return reference; - } - - /** - * - * - * @generated - */ - @Override - public Interval createInterval() - { - IntervalImpl interval = new IntervalImpl(); - return interval; - } - - /** - * - * - * @generated - */ - @Override - public Literal createLiteral() - { - LiteralImpl literal = new LiteralImpl(); - return literal; - } - - /** - * - * - * @generated - */ - @Override - public LogicLiteral createLogicLiteral() - { - LogicLiteralImpl logicLiteral = new LogicLiteralImpl(); - return logicLiteral; - } - - /** - * - * - * @generated - */ - @Override - public NumericLiteral createNumericLiteral() - { - NumericLiteralImpl numericLiteral = new NumericLiteralImpl(); - return numericLiteral; - } - - /** - * - * - * @generated - */ - @Override - public InfinityLiteral createInfinityLiteral() - { - InfinityLiteralImpl infinityLiteral = new InfinityLiteralImpl(); - return infinityLiteral; - } - - /** - * - * - * @generated - */ - @Override - public EmptyIntervalLiteral createEmptyIntervalLiteral() - { - EmptyIntervalLiteralImpl emptyIntervalLiteral = new EmptyIntervalLiteralImpl(); - return emptyIntervalLiteral; - } - - /** - * - * - * @generated - */ - @Override - public StringLiteral createStringLiteral() - { - StringLiteralImpl stringLiteral = new StringLiteralImpl(); - return stringLiteral; - } - - /** - * - * - * @generated - */ - @Override - public ClassDefinition createClassDefinition() - { - ClassDefinitionImpl classDefinition = new ClassDefinitionImpl(); - return classDefinition; - } - - /** - * - * - * @generated - */ - @Override - public MemberDefinition createMemberDefinition() - { - MemberDefinitionImpl memberDefinition = new MemberDefinitionImpl(); - return memberDefinition; - } - - /** - * - * - * @generated - */ - @Override - public Multiplicity createMultiplicity() - { - MultiplicityImpl multiplicity = new MultiplicityImpl(); - return multiplicity; - } - - /** - * - * - * @generated - */ - @Override - public ManyMultiplicity createManyMultiplicity() - { - ManyMultiplicityImpl manyMultiplicity = new ManyMultiplicityImpl(); - return manyMultiplicity; - } - - /** - * - * - * @generated - */ - @Override - public ExactMultiplicity createExactMultiplicity() - { - ExactMultiplicityImpl exactMultiplicity = new ExactMultiplicityImpl(); - return exactMultiplicity; - } - - /** - * - * - * @generated - */ - @Override - public BoundedMultiplicity createBoundedMultiplicity() - { - BoundedMultiplicityImpl boundedMultiplicity = new BoundedMultiplicityImpl(); - return boundedMultiplicity; - } - - /** - * - * - * @generated - */ - @Override - public ScopeDefinition createScopeDefinition() - { - ScopeDefinitionImpl scopeDefinition = new ScopeDefinitionImpl(); - return scopeDefinition; - } - - /** - * - * - * @generated - */ - @Override - public ExactScopeDefinition createExactScopeDefinition() - { - ExactScopeDefinitionImpl exactScopeDefinition = new ExactScopeDefinitionImpl(); - return exactScopeDefinition; - } - - /** - * - * - * @generated - */ - @Override - public BoundedScopeDefinition createBoundedScopeDefinition() - { - BoundedScopeDefinitionImpl boundedScopeDefinition = new BoundedScopeDefinitionImpl(); - return boundedScopeDefinition; - } - - /** - * - * - * @generated - */ - @Override - public LowerBoundedScopeDefinition createLowerBoundedScopeDefinition() - { - LowerBoundedScopeDefinitionImpl lowerBoundedScopeDefinition = new LowerBoundedScopeDefinitionImpl(); - return lowerBoundedScopeDefinition; - } - - /** - * - * - * @generated - */ - @Override - public ObjectiveDefinition createObjectiveDefinition() - { - ObjectiveDefinitionImpl objectiveDefinition = new ObjectiveDefinitionImpl(); - return objectiveDefinition; - } - - /** - * - * - * @generated - */ - @Override - public NamedElement createNamedElement() - { - NamedElementImpl namedElement = new NamedElementImpl(); - return namedElement; - } - - /** - * - * - * @generated - */ - @Override - public Assertion createAssertion() - { - AssertionImpl assertion = new AssertionImpl(); - return assertion; - } - - /** - * - * - * @generated - */ - @Override - public Disjunction createDisjunction() - { - DisjunctionImpl disjunction = new DisjunctionImpl(); - return disjunction; - } - - /** - * - * - * @generated - */ - @Override - public Switch createSwitch() - { - SwitchImpl switch_ = new SwitchImpl(); - return switch_; - } - - /** - * - * - * @generated - */ - @Override - public Conjunction createConjunction() - { - ConjunctionImpl conjunction = new ConjunctionImpl(); - return conjunction; - } - - /** - * - * - * @generated - */ - @Override - public Comparison createComparison() - { - ComparisonImpl comparison = new ComparisonImpl(); - return comparison; - } - - /** - * - * - * @generated - */ - @Override - public BinaryExpression createBinaryExpression() - { - BinaryExpressionImpl binaryExpression = new BinaryExpressionImpl(); - return binaryExpression; - } - - /** - * - * - * @generated - */ - @Override - public UnaryExpression createUnaryExpression() - { - UnaryExpressionImpl unaryExpression = new UnaryExpressionImpl(); - return unaryExpression; - } - - /** - * - * - * @generated - */ - public MetricType createMetricTypeFromString(EDataType eDataType, String initialValue) - { - MetricType result = MetricType.get(initialValue); - if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); - return result; - } - - /** - * - * - * @generated - */ - public String convertMetricTypeToString(EDataType eDataType, Object instanceValue) - { - return instanceValue == null ? null : instanceValue.toString(); - } - - /** - * - * - * @generated - */ - public BinaryOperator createBinaryOperatorFromString(EDataType eDataType, String initialValue) - { - BinaryOperator result = BinaryOperator.get(initialValue); - if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); - return result; - } - - /** - * - * - * @generated - */ - public String convertBinaryOperatorToString(EDataType eDataType, Object instanceValue) - { - return instanceValue == null ? null : instanceValue.toString(); - } - - /** - * - * - * @generated - */ - public UnaryOp createUnaryOpFromString(EDataType eDataType, String initialValue) - { - UnaryOp result = UnaryOp.get(initialValue); - if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); - return result; - } - - /** - * - * - * @generated - */ - public String convertUnaryOpToString(EDataType eDataType, Object instanceValue) - { - return instanceValue == null ? null : instanceValue.toString(); - } - - /** - * - * - * @generated - */ - public AggregationOp createAggregationOpFromString(EDataType eDataType, String initialValue) - { - AggregationOp result = AggregationOp.get(initialValue); - if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); - return result; - } - - /** - * - * - * @generated - */ - public String convertAggregationOpToString(EDataType eDataType, Object instanceValue) - { - return instanceValue == null ? null : instanceValue.toString(); - } - - /** - * - * - * @generated - */ - public LogicValue createLogicValueFromString(EDataType eDataType, String initialValue) - { - LogicValue result = LogicValue.get(initialValue); - if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); - return result; - } - - /** - * - * - * @generated - */ - public String convertLogicValueToString(EDataType eDataType, Object instanceValue) - { - return instanceValue == null ? null : instanceValue.toString(); - } - - /** - * - * - * @generated - */ - public ObjectiveKind createObjectiveKindFromString(EDataType eDataType, String initialValue) - { - ObjectiveKind result = ObjectiveKind.get(initialValue); - if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); - return result; - } - - /** - * - * - * @generated - */ - public String convertObjectiveKindToString(EDataType eDataType, Object instanceValue) - { - return instanceValue == null ? null : instanceValue.toString(); - } - - /** - * - * - * @generated - */ - @Override - public SolverLanguagePackage getSolverLanguagePackage() - { - return (SolverLanguagePackage)getEPackage(); - } - - /** - * - * - * @deprecated - * @generated - */ - @Deprecated - public static SolverLanguagePackage getPackage() - { - return SolverLanguagePackage.eINSTANCE; - } - -} //SolverLanguageFactoryImpl diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/SolverLanguagePackageImpl.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/SolverLanguagePackageImpl.java deleted file mode 100644 index 39f811b9..00000000 --- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/SolverLanguagePackageImpl.java +++ /dev/null @@ -1,2379 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage.impl; - -import org.eclipse.emf.ecore.EAttribute; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EEnum; -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.emf.ecore.EReference; - -import org.eclipse.emf.ecore.impl.EPackageImpl; - -import org.eclipse.viatra.solver.language.solverLanguage.Aggregation; -import org.eclipse.viatra.solver.language.solverLanguage.AggregationOp; -import org.eclipse.viatra.solver.language.solverLanguage.Argument; -import org.eclipse.viatra.solver.language.solverLanguage.ArgumentList; -import org.eclipse.viatra.solver.language.solverLanguage.Assertion; -import org.eclipse.viatra.solver.language.solverLanguage.BinaryExpression; -import org.eclipse.viatra.solver.language.solverLanguage.BinaryOperator; -import org.eclipse.viatra.solver.language.solverLanguage.BoundedMultiplicity; -import org.eclipse.viatra.solver.language.solverLanguage.BoundedScopeDefinition; -import org.eclipse.viatra.solver.language.solverLanguage.Call; -import org.eclipse.viatra.solver.language.solverLanguage.Case; -import org.eclipse.viatra.solver.language.solverLanguage.ClassDefinition; -import org.eclipse.viatra.solver.language.solverLanguage.Comparison; -import org.eclipse.viatra.solver.language.solverLanguage.Conjunction; -import org.eclipse.viatra.solver.language.solverLanguage.Count; -import org.eclipse.viatra.solver.language.solverLanguage.DefaultDefinition; -import org.eclipse.viatra.solver.language.solverLanguage.Disjunction; -import org.eclipse.viatra.solver.language.solverLanguage.EmptyIntervalLiteral; -import org.eclipse.viatra.solver.language.solverLanguage.ExactMultiplicity; -import org.eclipse.viatra.solver.language.solverLanguage.ExactScopeDefinition; -import org.eclipse.viatra.solver.language.solverLanguage.Expression; -import org.eclipse.viatra.solver.language.solverLanguage.ExpressionArgument; -import org.eclipse.viatra.solver.language.solverLanguage.ExternMetricDefinition; -import org.eclipse.viatra.solver.language.solverLanguage.ExternPredicateDefinition; -import org.eclipse.viatra.solver.language.solverLanguage.IfElse; -import org.eclipse.viatra.solver.language.solverLanguage.InfinityLiteral; -import org.eclipse.viatra.solver.language.solverLanguage.Interval; -import org.eclipse.viatra.solver.language.solverLanguage.Literal; -import org.eclipse.viatra.solver.language.solverLanguage.LogicLiteral; -import org.eclipse.viatra.solver.language.solverLanguage.LogicValue; -import org.eclipse.viatra.solver.language.solverLanguage.LowerBoundedScopeDefinition; -import org.eclipse.viatra.solver.language.solverLanguage.ManyMultiplicity; -import org.eclipse.viatra.solver.language.solverLanguage.MemberDefinition; -import org.eclipse.viatra.solver.language.solverLanguage.MetricDefinition; -import org.eclipse.viatra.solver.language.solverLanguage.MetricType; -import org.eclipse.viatra.solver.language.solverLanguage.Multiplicity; -import org.eclipse.viatra.solver.language.solverLanguage.NamedElement; -import org.eclipse.viatra.solver.language.solverLanguage.NumericLiteral; -import org.eclipse.viatra.solver.language.solverLanguage.ObjectiveDefinition; -import org.eclipse.viatra.solver.language.solverLanguage.ObjectiveKind; -import org.eclipse.viatra.solver.language.solverLanguage.PredicateDefinition; -import org.eclipse.viatra.solver.language.solverLanguage.Problem; -import org.eclipse.viatra.solver.language.solverLanguage.Reference; -import org.eclipse.viatra.solver.language.solverLanguage.ScopeDefinition; -import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguageFactory; -import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; -import org.eclipse.viatra.solver.language.solverLanguage.StarArgument; -import org.eclipse.viatra.solver.language.solverLanguage.Statement; -import org.eclipse.viatra.solver.language.solverLanguage.StringLiteral; -import org.eclipse.viatra.solver.language.solverLanguage.Switch; -import org.eclipse.viatra.solver.language.solverLanguage.TypedArgument; -import org.eclipse.viatra.solver.language.solverLanguage.TypedStarArgument; -import org.eclipse.viatra.solver.language.solverLanguage.UnaryExpression; -import org.eclipse.viatra.solver.language.solverLanguage.UnaryOp; -import org.eclipse.viatra.solver.language.solverLanguage.UnnamedErrorPrediateDefinition; - -/** - * - * An implementation of the model Package. - * - * @generated - */ -public class SolverLanguagePackageImpl extends EPackageImpl implements SolverLanguagePackage -{ - /** - * - * - * @generated - */ - private EClass problemEClass = null; - - /** - * - * - * @generated - */ - private EClass statementEClass = null; - - /** - * - * - * @generated - */ - private EClass predicateDefinitionEClass = null; - - /** - * - * - * @generated - */ - private EClass unnamedErrorPrediateDefinitionEClass = null; - - /** - * - * - * @generated - */ - private EClass defaultDefinitionEClass = null; - - /** - * - * - * @generated - */ - private EClass externPredicateDefinitionEClass = null; - - /** - * - * - * @generated - */ - private EClass metricDefinitionEClass = null; - - /** - * - * - * @generated - */ - private EClass externMetricDefinitionEClass = null; - - /** - * - * - * @generated - */ - private EClass expressionEClass = null; - - /** - * - * - * @generated - */ - private EClass ifElseEClass = null; - - /** - * - * - * @generated - */ - private EClass caseEClass = null; - - /** - * - * - * @generated - */ - private EClass countEClass = null; - - /** - * - * - * @generated - */ - private EClass aggregationEClass = null; - - /** - * - * - * @generated - */ - private EClass callEClass = null; - - /** - * - * - * @generated - */ - private EClass argumentListEClass = null; - - /** - * - * - * @generated - */ - private EClass argumentEClass = null; - - /** - * - * - * @generated - */ - private EClass expressionArgumentEClass = null; - - /** - * - * - * @generated - */ - private EClass starArgumentEClass = null; - - /** - * - * - * @generated - */ - private EClass typedArgumentEClass = null; - - /** - * - * - * @generated - */ - private EClass typedStarArgumentEClass = null; - - /** - * - * - * @generated - */ - private EClass referenceEClass = null; - - /** - * - * - * @generated - */ - private EClass intervalEClass = null; - - /** - * - * - * @generated - */ - private EClass literalEClass = null; - - /** - * - * - * @generated - */ - private EClass logicLiteralEClass = null; - - /** - * - * - * @generated - */ - private EClass numericLiteralEClass = null; - - /** - * - * - * @generated - */ - private EClass infinityLiteralEClass = null; - - /** - * - * - * @generated - */ - private EClass emptyIntervalLiteralEClass = null; - - /** - * - * - * @generated - */ - private EClass stringLiteralEClass = null; - - /** - * - * - * @generated - */ - private EClass classDefinitionEClass = null; - - /** - * - * - * @generated - */ - private EClass memberDefinitionEClass = null; - - /** - * - * - * @generated - */ - private EClass multiplicityEClass = null; - - /** - * - * - * @generated - */ - private EClass manyMultiplicityEClass = null; - - /** - * - * - * @generated - */ - private EClass exactMultiplicityEClass = null; - - /** - * - * - * @generated - */ - private EClass boundedMultiplicityEClass = null; - - /** - * - * - * @generated - */ - private EClass scopeDefinitionEClass = null; - - /** - * - * - * @generated - */ - private EClass exactScopeDefinitionEClass = null; - - /** - * - * - * @generated - */ - private EClass boundedScopeDefinitionEClass = null; - - /** - * - * - * @generated - */ - private EClass lowerBoundedScopeDefinitionEClass = null; - - /** - * - * - * @generated - */ - private EClass objectiveDefinitionEClass = null; - - /** - * - * - * @generated - */ - private EClass namedElementEClass = null; - - /** - * - * - * @generated - */ - private EClass assertionEClass = null; - - /** - * - * - * @generated - */ - private EClass disjunctionEClass = null; - - /** - * - * - * @generated - */ - private EClass switchEClass = null; - - /** - * - * - * @generated - */ - private EClass conjunctionEClass = null; - - /** - * - * - * @generated - */ - private EClass comparisonEClass = null; - - /** - * - * - * @generated - */ - private EClass binaryExpressionEClass = null; - - /** - * - * - * @generated - */ - private EClass unaryExpressionEClass = null; - - /** - * - * - * @generated - */ - private EEnum metricTypeEEnum = null; - - /** - * - * - * @generated - */ - private EEnum binaryOperatorEEnum = null; - - /** - * - * - * @generated - */ - private EEnum unaryOpEEnum = null; - - /** - * - * - * @generated - */ - private EEnum aggregationOpEEnum = null; - - /** - * - * - * @generated - */ - private EEnum logicValueEEnum = null; - - /** - * - * - * @generated - */ - private EEnum objectiveKindEEnum = null; - - /** - * Creates an instance of the model Package, registered with - * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package - * package URI value. - *

    Note: the correct way to create the package is via the static - * factory method {@link #init init()}, which also performs - * initialization of the package, or returns the registered package, - * if one already exists. - * - * - * @see org.eclipse.emf.ecore.EPackage.Registry - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#eNS_URI - * @see #init() - * @generated - */ - private SolverLanguagePackageImpl() - { - super(eNS_URI, SolverLanguageFactory.eINSTANCE); - } - - /** - * - * - * @generated - */ - private static boolean isInited = false; - - /** - * Creates, registers, and initializes the Package for this model, and for any others upon which it depends. - * - *

    This method is used to initialize {@link SolverLanguagePackage#eINSTANCE} when that field is accessed. - * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. - * - * - * @see #eNS_URI - * @see #createPackageContents() - * @see #initializePackageContents() - * @generated - */ - public static SolverLanguagePackage init() - { - if (isInited) return (SolverLanguagePackage)EPackage.Registry.INSTANCE.getEPackage(SolverLanguagePackage.eNS_URI); - - // Obtain or create and register package - Object registeredSolverLanguagePackage = EPackage.Registry.INSTANCE.get(eNS_URI); - SolverLanguagePackageImpl theSolverLanguagePackage = registeredSolverLanguagePackage instanceof SolverLanguagePackageImpl ? (SolverLanguagePackageImpl)registeredSolverLanguagePackage : new SolverLanguagePackageImpl(); - - isInited = true; - - // Create package meta-data objects - theSolverLanguagePackage.createPackageContents(); - - // Initialize created meta-data - theSolverLanguagePackage.initializePackageContents(); - - // Mark meta-data to indicate it can't be changed - theSolverLanguagePackage.freeze(); - - // Update the registry and return the package - EPackage.Registry.INSTANCE.put(SolverLanguagePackage.eNS_URI, theSolverLanguagePackage); - return theSolverLanguagePackage; - } - - /** - * - * - * @generated - */ - @Override - public EClass getProblem() - { - return problemEClass; - } - - /** - * - * - * @generated - */ - @Override - public EReference getProblem_Statements() - { - return (EReference)problemEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EClass getStatement() - { - return statementEClass; - } - - /** - * - * - * @generated - */ - @Override - public EClass getPredicateDefinition() - { - return predicateDefinitionEClass; - } - - /** - * - * - * @generated - */ - @Override - public EReference getPredicateDefinition_Head() - { - return (EReference)predicateDefinitionEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EReference getPredicateDefinition_Body() - { - return (EReference)predicateDefinitionEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getPredicateDefinition_Functional() - { - return (EAttribute)predicateDefinitionEClass.getEStructuralFeatures().get(2); - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getPredicateDefinition_Error() - { - return (EAttribute)predicateDefinitionEClass.getEStructuralFeatures().get(3); - } - - /** - * - * - * @generated - */ - @Override - public EClass getUnnamedErrorPrediateDefinition() - { - return unnamedErrorPrediateDefinitionEClass; - } - - /** - * - * - * @generated - */ - @Override - public EReference getUnnamedErrorPrediateDefinition_ArgumentList() - { - return (EReference)unnamedErrorPrediateDefinitionEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EReference getUnnamedErrorPrediateDefinition_Body() - { - return (EReference)unnamedErrorPrediateDefinitionEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - @Override - public EClass getDefaultDefinition() - { - return defaultDefinitionEClass; - } - - /** - * - * - * @generated - */ - @Override - public EReference getDefaultDefinition_Head() - { - return (EReference)defaultDefinitionEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EReference getDefaultDefinition_Range() - { - return (EReference)defaultDefinitionEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - @Override - public EClass getExternPredicateDefinition() - { - return externPredicateDefinitionEClass; - } - - /** - * - * - * @generated - */ - @Override - public EReference getExternPredicateDefinition_Head() - { - return (EReference)externPredicateDefinitionEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EClass getMetricDefinition() - { - return metricDefinitionEClass; - } - - /** - * - * - * @generated - */ - @Override - public EReference getMetricDefinition_Head() - { - return (EReference)metricDefinitionEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EReference getMetricDefinition_Body() - { - return (EReference)metricDefinitionEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getMetricDefinition_Type() - { - return (EAttribute)metricDefinitionEClass.getEStructuralFeatures().get(2); - } - - /** - * - * - * @generated - */ - @Override - public EClass getExternMetricDefinition() - { - return externMetricDefinitionEClass; - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getExternMetricDefinition_Type() - { - return (EAttribute)externMetricDefinitionEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EReference getExternMetricDefinition_Head() - { - return (EReference)externMetricDefinitionEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - @Override - public EClass getExpression() - { - return expressionEClass; - } - - /** - * - * - * @generated - */ - @Override - public EClass getIfElse() - { - return ifElseEClass; - } - - /** - * - * - * @generated - */ - @Override - public EReference getIfElse_Condition() - { - return (EReference)ifElseEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EReference getIfElse_Then() - { - return (EReference)ifElseEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - @Override - public EReference getIfElse_Else() - { - return (EReference)ifElseEClass.getEStructuralFeatures().get(2); - } - - /** - * - * - * @generated - */ - @Override - public EClass getCase() - { - return caseEClass; - } - - /** - * - * - * @generated - */ - @Override - public EReference getCase_Condition() - { - return (EReference)caseEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EReference getCase_Body() - { - return (EReference)caseEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - @Override - public EClass getCount() - { - return countEClass; - } - - /** - * - * - * @generated - */ - @Override - public EReference getCount_Body() - { - return (EReference)countEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EClass getAggregation() - { - return aggregationEClass; - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getAggregation_Op() - { - return (EAttribute)aggregationEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EReference getAggregation_Body() - { - return (EReference)aggregationEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - @Override - public EReference getAggregation_Condition() - { - return (EReference)aggregationEClass.getEStructuralFeatures().get(2); - } - - /** - * - * - * @generated - */ - @Override - public EClass getCall() - { - return callEClass; - } - - /** - * - * - * @generated - */ - @Override - public EReference getCall_Functor() - { - return (EReference)callEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getCall_TransitiveClosure() - { - return (EAttribute)callEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getCall_ReflexiveTransitiveClosure() - { - return (EAttribute)callEClass.getEStructuralFeatures().get(2); - } - - /** - * - * - * @generated - */ - @Override - public EReference getCall_ArgumentList() - { - return (EReference)callEClass.getEStructuralFeatures().get(3); - } - - /** - * - * - * @generated - */ - @Override - public EClass getArgumentList() - { - return argumentListEClass; - } - - /** - * - * - * @generated - */ - @Override - public EReference getArgumentList_Arguments() - { - return (EReference)argumentListEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EClass getArgument() - { - return argumentEClass; - } - - /** - * - * - * @generated - */ - @Override - public EClass getExpressionArgument() - { - return expressionArgumentEClass; - } - - /** - * - * - * @generated - */ - @Override - public EReference getExpressionArgument_Body() - { - return (EReference)expressionArgumentEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EClass getStarArgument() - { - return starArgumentEClass; - } - - /** - * - * - * @generated - */ - @Override - public EClass getTypedArgument() - { - return typedArgumentEClass; - } - - /** - * - * - * @generated - */ - @Override - public EReference getTypedArgument_Type() - { - return (EReference)typedArgumentEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EReference getTypedArgument_Variable() - { - return (EReference)typedArgumentEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - @Override - public EClass getTypedStarArgument() - { - return typedStarArgumentEClass; - } - - /** - * - * - * @generated - */ - @Override - public EReference getTypedStarArgument_Type() - { - return (EReference)typedStarArgumentEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EClass getReference() - { - return referenceEClass; - } - - /** - * - * - * @generated - */ - @Override - public EReference getReference_Referred() - { - return (EReference)referenceEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EClass getInterval() - { - return intervalEClass; - } - - /** - * - * - * @generated - */ - @Override - public EReference getInterval_LowerBound() - { - return (EReference)intervalEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EReference getInterval_UpperBound() - { - return (EReference)intervalEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - @Override - public EClass getLiteral() - { - return literalEClass; - } - - /** - * - * - * @generated - */ - @Override - public EClass getLogicLiteral() - { - return logicLiteralEClass; - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getLogicLiteral_Value() - { - return (EAttribute)logicLiteralEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EClass getNumericLiteral() - { - return numericLiteralEClass; - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getNumericLiteral_Value() - { - return (EAttribute)numericLiteralEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EClass getInfinityLiteral() - { - return infinityLiteralEClass; - } - - /** - * - * - * @generated - */ - @Override - public EClass getEmptyIntervalLiteral() - { - return emptyIntervalLiteralEClass; - } - - /** - * - * - * @generated - */ - @Override - public EClass getStringLiteral() - { - return stringLiteralEClass; - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getStringLiteral_Value() - { - return (EAttribute)stringLiteralEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EClass getClassDefinition() - { - return classDefinitionEClass; - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getClassDefinition_Abstract() - { - return (EAttribute)classDefinitionEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getClassDefinition_Name() - { - return (EAttribute)classDefinitionEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - @Override - public EReference getClassDefinition_Superclasses() - { - return (EReference)classDefinitionEClass.getEStructuralFeatures().get(2); - } - - /** - * - * - * @generated - */ - @Override - public EReference getClassDefinition_Members() - { - return (EReference)classDefinitionEClass.getEStructuralFeatures().get(3); - } - - /** - * - * - * @generated - */ - @Override - public EClass getMemberDefinition() - { - return memberDefinitionEClass; - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getMemberDefinition_Containment() - { - return (EAttribute)memberDefinitionEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EReference getMemberDefinition_Type() - { - return (EReference)memberDefinitionEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - @Override - public EReference getMemberDefinition_Multiplicity() - { - return (EReference)memberDefinitionEClass.getEStructuralFeatures().get(2); - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getMemberDefinition_Name() - { - return (EAttribute)memberDefinitionEClass.getEStructuralFeatures().get(3); - } - - /** - * - * - * @generated - */ - @Override - public EReference getMemberDefinition_Opposite() - { - return (EReference)memberDefinitionEClass.getEStructuralFeatures().get(4); - } - - /** - * - * - * @generated - */ - @Override - public EClass getMultiplicity() - { - return multiplicityEClass; - } - - /** - * - * - * @generated - */ - @Override - public EClass getManyMultiplicity() - { - return manyMultiplicityEClass; - } - - /** - * - * - * @generated - */ - @Override - public EClass getExactMultiplicity() - { - return exactMultiplicityEClass; - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getExactMultiplicity_Multiplicity() - { - return (EAttribute)exactMultiplicityEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EClass getBoundedMultiplicity() - { - return boundedMultiplicityEClass; - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getBoundedMultiplicity_LowerBound() - { - return (EAttribute)boundedMultiplicityEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getBoundedMultiplicity_UpperBound() - { - return (EAttribute)boundedMultiplicityEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - @Override - public EClass getScopeDefinition() - { - return scopeDefinitionEClass; - } - - /** - * - * - * @generated - */ - @Override - public EReference getScopeDefinition_Type() - { - return (EReference)scopeDefinitionEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EClass getExactScopeDefinition() - { - return exactScopeDefinitionEClass; - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getExactScopeDefinition_ExactScope() - { - return (EAttribute)exactScopeDefinitionEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EClass getBoundedScopeDefinition() - { - return boundedScopeDefinitionEClass; - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getBoundedScopeDefinition_LowerBound() - { - return (EAttribute)boundedScopeDefinitionEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getBoundedScopeDefinition_UpperBound() - { - return (EAttribute)boundedScopeDefinitionEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - @Override - public EClass getLowerBoundedScopeDefinition() - { - return lowerBoundedScopeDefinitionEClass; - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getLowerBoundedScopeDefinition_LowerBound() - { - return (EAttribute)lowerBoundedScopeDefinitionEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EClass getObjectiveDefinition() - { - return objectiveDefinitionEClass; - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getObjectiveDefinition_Kind() - { - return (EAttribute)objectiveDefinitionEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EReference getObjectiveDefinition_Objective() - { - return (EReference)objectiveDefinitionEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - @Override - public EClass getNamedElement() - { - return namedElementEClass; - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getNamedElement_Name() - { - return (EAttribute)namedElementEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EClass getAssertion() - { - return assertionEClass; - } - - /** - * - * - * @generated - */ - @Override - public EReference getAssertion_Body() - { - return (EReference)assertionEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EReference getAssertion_Range() - { - return (EReference)assertionEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - @Override - public EClass getDisjunction() - { - return disjunctionEClass; - } - - /** - * - * - * @generated - */ - @Override - public EReference getDisjunction_Children() - { - return (EReference)disjunctionEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EClass getSwitch() - { - return switchEClass; - } - - /** - * - * - * @generated - */ - @Override - public EReference getSwitch_Cases() - { - return (EReference)switchEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EClass getConjunction() - { - return conjunctionEClass; - } - - /** - * - * - * @generated - */ - @Override - public EReference getConjunction_Children() - { - return (EReference)conjunctionEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EClass getComparison() - { - return comparisonEClass; - } - - /** - * - * - * @generated - */ - @Override - public EReference getComparison_Left() - { - return (EReference)comparisonEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getComparison_Op() - { - return (EAttribute)comparisonEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - @Override - public EReference getComparison_Right() - { - return (EReference)comparisonEClass.getEStructuralFeatures().get(2); - } - - /** - * - * - * @generated - */ - @Override - public EClass getBinaryExpression() - { - return binaryExpressionEClass; - } - - /** - * - * - * @generated - */ - @Override - public EReference getBinaryExpression_Left() - { - return (EReference)binaryExpressionEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getBinaryExpression_Op() - { - return (EAttribute)binaryExpressionEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - @Override - public EReference getBinaryExpression_Right() - { - return (EReference)binaryExpressionEClass.getEStructuralFeatures().get(2); - } - - /** - * - * - * @generated - */ - @Override - public EClass getUnaryExpression() - { - return unaryExpressionEClass; - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getUnaryExpression_Op() - { - return (EAttribute)unaryExpressionEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EReference getUnaryExpression_Body() - { - return (EReference)unaryExpressionEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - @Override - public EEnum getMetricType() - { - return metricTypeEEnum; - } - - /** - * - * - * @generated - */ - @Override - public EEnum getBinaryOperator() - { - return binaryOperatorEEnum; - } - - /** - * - * - * @generated - */ - @Override - public EEnum getUnaryOp() - { - return unaryOpEEnum; - } - - /** - * - * - * @generated - */ - @Override - public EEnum getAggregationOp() - { - return aggregationOpEEnum; - } - - /** - * - * - * @generated - */ - @Override - public EEnum getLogicValue() - { - return logicValueEEnum; - } - - /** - * - * - * @generated - */ - @Override - public EEnum getObjectiveKind() - { - return objectiveKindEEnum; - } - - /** - * - * - * @generated - */ - @Override - public SolverLanguageFactory getSolverLanguageFactory() - { - return (SolverLanguageFactory)getEFactoryInstance(); - } - - /** - * - * - * @generated - */ - private boolean isCreated = false; - - /** - * Creates the meta-model objects for the package. This method is - * guarded to have no affect on any invocation but its first. - * - * - * @generated - */ - public void createPackageContents() - { - if (isCreated) return; - isCreated = true; - - // Create classes and their features - problemEClass = createEClass(PROBLEM); - createEReference(problemEClass, PROBLEM__STATEMENTS); - - statementEClass = createEClass(STATEMENT); - - predicateDefinitionEClass = createEClass(PREDICATE_DEFINITION); - createEReference(predicateDefinitionEClass, PREDICATE_DEFINITION__HEAD); - createEReference(predicateDefinitionEClass, PREDICATE_DEFINITION__BODY); - createEAttribute(predicateDefinitionEClass, PREDICATE_DEFINITION__FUNCTIONAL); - createEAttribute(predicateDefinitionEClass, PREDICATE_DEFINITION__ERROR); - - unnamedErrorPrediateDefinitionEClass = createEClass(UNNAMED_ERROR_PREDIATE_DEFINITION); - createEReference(unnamedErrorPrediateDefinitionEClass, UNNAMED_ERROR_PREDIATE_DEFINITION__ARGUMENT_LIST); - createEReference(unnamedErrorPrediateDefinitionEClass, UNNAMED_ERROR_PREDIATE_DEFINITION__BODY); - - defaultDefinitionEClass = createEClass(DEFAULT_DEFINITION); - createEReference(defaultDefinitionEClass, DEFAULT_DEFINITION__HEAD); - createEReference(defaultDefinitionEClass, DEFAULT_DEFINITION__RANGE); - - externPredicateDefinitionEClass = createEClass(EXTERN_PREDICATE_DEFINITION); - createEReference(externPredicateDefinitionEClass, EXTERN_PREDICATE_DEFINITION__HEAD); - - metricDefinitionEClass = createEClass(METRIC_DEFINITION); - createEReference(metricDefinitionEClass, METRIC_DEFINITION__HEAD); - createEReference(metricDefinitionEClass, METRIC_DEFINITION__BODY); - createEAttribute(metricDefinitionEClass, METRIC_DEFINITION__TYPE); - - externMetricDefinitionEClass = createEClass(EXTERN_METRIC_DEFINITION); - createEAttribute(externMetricDefinitionEClass, EXTERN_METRIC_DEFINITION__TYPE); - createEReference(externMetricDefinitionEClass, EXTERN_METRIC_DEFINITION__HEAD); - - expressionEClass = createEClass(EXPRESSION); - - ifElseEClass = createEClass(IF_ELSE); - createEReference(ifElseEClass, IF_ELSE__CONDITION); - createEReference(ifElseEClass, IF_ELSE__THEN); - createEReference(ifElseEClass, IF_ELSE__ELSE); - - caseEClass = createEClass(CASE); - createEReference(caseEClass, CASE__CONDITION); - createEReference(caseEClass, CASE__BODY); - - countEClass = createEClass(COUNT); - createEReference(countEClass, COUNT__BODY); - - aggregationEClass = createEClass(AGGREGATION); - createEAttribute(aggregationEClass, AGGREGATION__OP); - createEReference(aggregationEClass, AGGREGATION__BODY); - createEReference(aggregationEClass, AGGREGATION__CONDITION); - - callEClass = createEClass(CALL); - createEReference(callEClass, CALL__FUNCTOR); - createEAttribute(callEClass, CALL__TRANSITIVE_CLOSURE); - createEAttribute(callEClass, CALL__REFLEXIVE_TRANSITIVE_CLOSURE); - createEReference(callEClass, CALL__ARGUMENT_LIST); - - argumentListEClass = createEClass(ARGUMENT_LIST); - createEReference(argumentListEClass, ARGUMENT_LIST__ARGUMENTS); - - argumentEClass = createEClass(ARGUMENT); - - expressionArgumentEClass = createEClass(EXPRESSION_ARGUMENT); - createEReference(expressionArgumentEClass, EXPRESSION_ARGUMENT__BODY); - - starArgumentEClass = createEClass(STAR_ARGUMENT); - - typedArgumentEClass = createEClass(TYPED_ARGUMENT); - createEReference(typedArgumentEClass, TYPED_ARGUMENT__TYPE); - createEReference(typedArgumentEClass, TYPED_ARGUMENT__VARIABLE); - - typedStarArgumentEClass = createEClass(TYPED_STAR_ARGUMENT); - createEReference(typedStarArgumentEClass, TYPED_STAR_ARGUMENT__TYPE); - - referenceEClass = createEClass(REFERENCE); - createEReference(referenceEClass, REFERENCE__REFERRED); - - intervalEClass = createEClass(INTERVAL); - createEReference(intervalEClass, INTERVAL__LOWER_BOUND); - createEReference(intervalEClass, INTERVAL__UPPER_BOUND); - - literalEClass = createEClass(LITERAL); - - logicLiteralEClass = createEClass(LOGIC_LITERAL); - createEAttribute(logicLiteralEClass, LOGIC_LITERAL__VALUE); - - numericLiteralEClass = createEClass(NUMERIC_LITERAL); - createEAttribute(numericLiteralEClass, NUMERIC_LITERAL__VALUE); - - infinityLiteralEClass = createEClass(INFINITY_LITERAL); - - emptyIntervalLiteralEClass = createEClass(EMPTY_INTERVAL_LITERAL); - - stringLiteralEClass = createEClass(STRING_LITERAL); - createEAttribute(stringLiteralEClass, STRING_LITERAL__VALUE); - - classDefinitionEClass = createEClass(CLASS_DEFINITION); - createEAttribute(classDefinitionEClass, CLASS_DEFINITION__ABSTRACT); - createEAttribute(classDefinitionEClass, CLASS_DEFINITION__NAME); - createEReference(classDefinitionEClass, CLASS_DEFINITION__SUPERCLASSES); - createEReference(classDefinitionEClass, CLASS_DEFINITION__MEMBERS); - - memberDefinitionEClass = createEClass(MEMBER_DEFINITION); - createEAttribute(memberDefinitionEClass, MEMBER_DEFINITION__CONTAINMENT); - createEReference(memberDefinitionEClass, MEMBER_DEFINITION__TYPE); - createEReference(memberDefinitionEClass, MEMBER_DEFINITION__MULTIPLICITY); - createEAttribute(memberDefinitionEClass, MEMBER_DEFINITION__NAME); - createEReference(memberDefinitionEClass, MEMBER_DEFINITION__OPPOSITE); - - multiplicityEClass = createEClass(MULTIPLICITY); - - manyMultiplicityEClass = createEClass(MANY_MULTIPLICITY); - - exactMultiplicityEClass = createEClass(EXACT_MULTIPLICITY); - createEAttribute(exactMultiplicityEClass, EXACT_MULTIPLICITY__MULTIPLICITY); - - boundedMultiplicityEClass = createEClass(BOUNDED_MULTIPLICITY); - createEAttribute(boundedMultiplicityEClass, BOUNDED_MULTIPLICITY__LOWER_BOUND); - createEAttribute(boundedMultiplicityEClass, BOUNDED_MULTIPLICITY__UPPER_BOUND); - - scopeDefinitionEClass = createEClass(SCOPE_DEFINITION); - createEReference(scopeDefinitionEClass, SCOPE_DEFINITION__TYPE); - - exactScopeDefinitionEClass = createEClass(EXACT_SCOPE_DEFINITION); - createEAttribute(exactScopeDefinitionEClass, EXACT_SCOPE_DEFINITION__EXACT_SCOPE); - - boundedScopeDefinitionEClass = createEClass(BOUNDED_SCOPE_DEFINITION); - createEAttribute(boundedScopeDefinitionEClass, BOUNDED_SCOPE_DEFINITION__LOWER_BOUND); - createEAttribute(boundedScopeDefinitionEClass, BOUNDED_SCOPE_DEFINITION__UPPER_BOUND); - - lowerBoundedScopeDefinitionEClass = createEClass(LOWER_BOUNDED_SCOPE_DEFINITION); - createEAttribute(lowerBoundedScopeDefinitionEClass, LOWER_BOUNDED_SCOPE_DEFINITION__LOWER_BOUND); - - objectiveDefinitionEClass = createEClass(OBJECTIVE_DEFINITION); - createEAttribute(objectiveDefinitionEClass, OBJECTIVE_DEFINITION__KIND); - createEReference(objectiveDefinitionEClass, OBJECTIVE_DEFINITION__OBJECTIVE); - - namedElementEClass = createEClass(NAMED_ELEMENT); - createEAttribute(namedElementEClass, NAMED_ELEMENT__NAME); - - assertionEClass = createEClass(ASSERTION); - createEReference(assertionEClass, ASSERTION__BODY); - createEReference(assertionEClass, ASSERTION__RANGE); - - disjunctionEClass = createEClass(DISJUNCTION); - createEReference(disjunctionEClass, DISJUNCTION__CHILDREN); - - switchEClass = createEClass(SWITCH); - createEReference(switchEClass, SWITCH__CASES); - - conjunctionEClass = createEClass(CONJUNCTION); - createEReference(conjunctionEClass, CONJUNCTION__CHILDREN); - - comparisonEClass = createEClass(COMPARISON); - createEReference(comparisonEClass, COMPARISON__LEFT); - createEAttribute(comparisonEClass, COMPARISON__OP); - createEReference(comparisonEClass, COMPARISON__RIGHT); - - binaryExpressionEClass = createEClass(BINARY_EXPRESSION); - createEReference(binaryExpressionEClass, BINARY_EXPRESSION__LEFT); - createEAttribute(binaryExpressionEClass, BINARY_EXPRESSION__OP); - createEReference(binaryExpressionEClass, BINARY_EXPRESSION__RIGHT); - - unaryExpressionEClass = createEClass(UNARY_EXPRESSION); - createEAttribute(unaryExpressionEClass, UNARY_EXPRESSION__OP); - createEReference(unaryExpressionEClass, UNARY_EXPRESSION__BODY); - - // Create enums - metricTypeEEnum = createEEnum(METRIC_TYPE); - binaryOperatorEEnum = createEEnum(BINARY_OPERATOR); - unaryOpEEnum = createEEnum(UNARY_OP); - aggregationOpEEnum = createEEnum(AGGREGATION_OP); - logicValueEEnum = createEEnum(LOGIC_VALUE); - objectiveKindEEnum = createEEnum(OBJECTIVE_KIND); - } - - /** - * - * - * @generated - */ - private boolean isInitialized = false; - - /** - * Complete the initialization of the package and its meta-model. This - * method is guarded to have no affect on any invocation but its first. - * - * - * @generated - */ - public void initializePackageContents() - { - if (isInitialized) return; - isInitialized = true; - - // Initialize package - setName(eNAME); - setNsPrefix(eNS_PREFIX); - setNsURI(eNS_URI); - - // Create type parameters - - // Set bounds for type parameters - - // Add supertypes to classes - predicateDefinitionEClass.getESuperTypes().add(this.getStatement()); - unnamedErrorPrediateDefinitionEClass.getESuperTypes().add(this.getStatement()); - defaultDefinitionEClass.getESuperTypes().add(this.getStatement()); - externPredicateDefinitionEClass.getESuperTypes().add(this.getStatement()); - metricDefinitionEClass.getESuperTypes().add(this.getStatement()); - externMetricDefinitionEClass.getESuperTypes().add(this.getStatement()); - expressionEClass.getESuperTypes().add(this.getStatement()); - ifElseEClass.getESuperTypes().add(this.getExpression()); - caseEClass.getESuperTypes().add(this.getExpression()); - countEClass.getESuperTypes().add(this.getExpression()); - aggregationEClass.getESuperTypes().add(this.getExpression()); - callEClass.getESuperTypes().add(this.getExpression()); - expressionArgumentEClass.getESuperTypes().add(this.getArgument()); - starArgumentEClass.getESuperTypes().add(this.getArgument()); - typedArgumentEClass.getESuperTypes().add(this.getArgument()); - typedStarArgumentEClass.getESuperTypes().add(this.getArgument()); - referenceEClass.getESuperTypes().add(this.getExpression()); - intervalEClass.getESuperTypes().add(this.getExpression()); - literalEClass.getESuperTypes().add(this.getExpression()); - logicLiteralEClass.getESuperTypes().add(this.getLiteral()); - numericLiteralEClass.getESuperTypes().add(this.getLiteral()); - infinityLiteralEClass.getESuperTypes().add(this.getLiteral()); - emptyIntervalLiteralEClass.getESuperTypes().add(this.getLiteral()); - stringLiteralEClass.getESuperTypes().add(this.getLiteral()); - classDefinitionEClass.getESuperTypes().add(this.getStatement()); - manyMultiplicityEClass.getESuperTypes().add(this.getMultiplicity()); - exactMultiplicityEClass.getESuperTypes().add(this.getMultiplicity()); - boundedMultiplicityEClass.getESuperTypes().add(this.getMultiplicity()); - scopeDefinitionEClass.getESuperTypes().add(this.getStatement()); - exactScopeDefinitionEClass.getESuperTypes().add(this.getScopeDefinition()); - boundedScopeDefinitionEClass.getESuperTypes().add(this.getScopeDefinition()); - lowerBoundedScopeDefinitionEClass.getESuperTypes().add(this.getScopeDefinition()); - objectiveDefinitionEClass.getESuperTypes().add(this.getStatement()); - assertionEClass.getESuperTypes().add(this.getStatement()); - disjunctionEClass.getESuperTypes().add(this.getExpression()); - switchEClass.getESuperTypes().add(this.getExpression()); - conjunctionEClass.getESuperTypes().add(this.getExpression()); - comparisonEClass.getESuperTypes().add(this.getExpression()); - binaryExpressionEClass.getESuperTypes().add(this.getExpression()); - unaryExpressionEClass.getESuperTypes().add(this.getExpression()); - - // Initialize classes and features; add operations and parameters - initEClass(problemEClass, Problem.class, "Problem", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getProblem_Statements(), this.getStatement(), null, "statements", null, 0, -1, Problem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(statementEClass, Statement.class, "Statement", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - - initEClass(predicateDefinitionEClass, PredicateDefinition.class, "PredicateDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getPredicateDefinition_Head(), this.getExpression(), null, "head", null, 0, 1, PredicateDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getPredicateDefinition_Body(), this.getExpression(), null, "body", null, 0, 1, PredicateDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getPredicateDefinition_Functional(), ecorePackage.getEBoolean(), "functional", null, 0, 1, PredicateDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getPredicateDefinition_Error(), ecorePackage.getEBoolean(), "error", null, 0, 1, PredicateDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(unnamedErrorPrediateDefinitionEClass, UnnamedErrorPrediateDefinition.class, "UnnamedErrorPrediateDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getUnnamedErrorPrediateDefinition_ArgumentList(), this.getArgumentList(), null, "argumentList", null, 0, 1, UnnamedErrorPrediateDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getUnnamedErrorPrediateDefinition_Body(), this.getExpression(), null, "body", null, 0, 1, UnnamedErrorPrediateDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(defaultDefinitionEClass, DefaultDefinition.class, "DefaultDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getDefaultDefinition_Head(), this.getCall(), null, "head", null, 0, 1, DefaultDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getDefaultDefinition_Range(), this.getExpression(), null, "range", null, 0, 1, DefaultDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(externPredicateDefinitionEClass, ExternPredicateDefinition.class, "ExternPredicateDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getExternPredicateDefinition_Head(), this.getCall(), null, "head", null, 0, 1, ExternPredicateDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(metricDefinitionEClass, MetricDefinition.class, "MetricDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getMetricDefinition_Head(), this.getExpression(), null, "head", null, 0, 1, MetricDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getMetricDefinition_Body(), this.getExpression(), null, "body", null, 0, 1, MetricDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getMetricDefinition_Type(), this.getMetricType(), "type", null, 0, 1, MetricDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(externMetricDefinitionEClass, ExternMetricDefinition.class, "ExternMetricDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getExternMetricDefinition_Type(), this.getMetricType(), "type", null, 0, 1, ExternMetricDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getExternMetricDefinition_Head(), this.getCall(), null, "head", null, 0, 1, ExternMetricDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(expressionEClass, Expression.class, "Expression", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - - initEClass(ifElseEClass, IfElse.class, "IfElse", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getIfElse_Condition(), this.getExpression(), null, "condition", null, 0, 1, IfElse.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getIfElse_Then(), this.getExpression(), null, "then", null, 0, 1, IfElse.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getIfElse_Else(), this.getExpression(), null, "else", null, 0, 1, IfElse.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(caseEClass, Case.class, "Case", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getCase_Condition(), this.getExpression(), null, "condition", null, 0, 1, Case.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getCase_Body(), this.getExpression(), null, "body", null, 0, 1, Case.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(countEClass, Count.class, "Count", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getCount_Body(), this.getExpression(), null, "body", null, 0, 1, Count.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(aggregationEClass, Aggregation.class, "Aggregation", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getAggregation_Op(), this.getAggregationOp(), "op", null, 0, 1, Aggregation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getAggregation_Body(), this.getExpression(), null, "body", null, 0, 1, Aggregation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getAggregation_Condition(), this.getExpression(), null, "condition", null, 0, 1, Aggregation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(callEClass, Call.class, "Call", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getCall_Functor(), this.getReference(), null, "functor", null, 0, 1, Call.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getCall_TransitiveClosure(), ecorePackage.getEBoolean(), "transitiveClosure", null, 0, 1, Call.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getCall_ReflexiveTransitiveClosure(), ecorePackage.getEBoolean(), "reflexiveTransitiveClosure", null, 0, 1, Call.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getCall_ArgumentList(), this.getArgumentList(), null, "argumentList", null, 0, 1, Call.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(argumentListEClass, ArgumentList.class, "ArgumentList", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getArgumentList_Arguments(), this.getArgument(), null, "arguments", null, 0, -1, ArgumentList.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(argumentEClass, Argument.class, "Argument", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - - initEClass(expressionArgumentEClass, ExpressionArgument.class, "ExpressionArgument", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getExpressionArgument_Body(), this.getExpression(), null, "body", null, 0, 1, ExpressionArgument.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(starArgumentEClass, StarArgument.class, "StarArgument", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - - initEClass(typedArgumentEClass, TypedArgument.class, "TypedArgument", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getTypedArgument_Type(), this.getNamedElement(), null, "type", null, 0, 1, TypedArgument.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getTypedArgument_Variable(), this.getNamedElement(), null, "variable", null, 0, 1, TypedArgument.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(typedStarArgumentEClass, TypedStarArgument.class, "TypedStarArgument", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getTypedStarArgument_Type(), this.getNamedElement(), null, "type", null, 0, 1, TypedStarArgument.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(referenceEClass, Reference.class, "Reference", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getReference_Referred(), this.getNamedElement(), null, "referred", null, 0, 1, Reference.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(intervalEClass, Interval.class, "Interval", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getInterval_LowerBound(), this.getExpression(), null, "lowerBound", null, 0, 1, Interval.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getInterval_UpperBound(), this.getExpression(), null, "upperBound", null, 0, 1, Interval.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(literalEClass, Literal.class, "Literal", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - - initEClass(logicLiteralEClass, LogicLiteral.class, "LogicLiteral", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getLogicLiteral_Value(), this.getLogicValue(), "value", null, 0, 1, LogicLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(numericLiteralEClass, NumericLiteral.class, "NumericLiteral", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getNumericLiteral_Value(), ecorePackage.getEBigDecimal(), "value", null, 0, 1, NumericLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(infinityLiteralEClass, InfinityLiteral.class, "InfinityLiteral", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - - initEClass(emptyIntervalLiteralEClass, EmptyIntervalLiteral.class, "EmptyIntervalLiteral", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - - initEClass(stringLiteralEClass, StringLiteral.class, "StringLiteral", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getStringLiteral_Value(), ecorePackage.getEString(), "value", null, 0, 1, StringLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(classDefinitionEClass, ClassDefinition.class, "ClassDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getClassDefinition_Abstract(), ecorePackage.getEBoolean(), "abstract", null, 0, 1, ClassDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getClassDefinition_Name(), ecorePackage.getEString(), "name", null, 0, 1, ClassDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getClassDefinition_Superclasses(), this.getNamedElement(), null, "superclasses", null, 0, -1, ClassDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getClassDefinition_Members(), this.getMemberDefinition(), null, "members", null, 0, -1, ClassDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(memberDefinitionEClass, MemberDefinition.class, "MemberDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getMemberDefinition_Containment(), ecorePackage.getEBoolean(), "containment", null, 0, 1, MemberDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getMemberDefinition_Type(), this.getNamedElement(), null, "type", null, 0, 1, MemberDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getMemberDefinition_Multiplicity(), this.getMultiplicity(), null, "multiplicity", null, 0, 1, MemberDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getMemberDefinition_Name(), ecorePackage.getEString(), "name", null, 0, 1, MemberDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getMemberDefinition_Opposite(), this.getNamedElement(), null, "opposite", null, 0, 1, MemberDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(multiplicityEClass, Multiplicity.class, "Multiplicity", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - - initEClass(manyMultiplicityEClass, ManyMultiplicity.class, "ManyMultiplicity", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - - initEClass(exactMultiplicityEClass, ExactMultiplicity.class, "ExactMultiplicity", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getExactMultiplicity_Multiplicity(), ecorePackage.getEInt(), "multiplicity", null, 0, 1, ExactMultiplicity.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(boundedMultiplicityEClass, BoundedMultiplicity.class, "BoundedMultiplicity", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getBoundedMultiplicity_LowerBound(), ecorePackage.getEInt(), "lowerBound", null, 0, 1, BoundedMultiplicity.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getBoundedMultiplicity_UpperBound(), ecorePackage.getEInt(), "upperBound", null, 0, 1, BoundedMultiplicity.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(scopeDefinitionEClass, ScopeDefinition.class, "ScopeDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getScopeDefinition_Type(), this.getNamedElement(), null, "type", null, 0, 1, ScopeDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(exactScopeDefinitionEClass, ExactScopeDefinition.class, "ExactScopeDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getExactScopeDefinition_ExactScope(), ecorePackage.getEInt(), "exactScope", null, 0, 1, ExactScopeDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(boundedScopeDefinitionEClass, BoundedScopeDefinition.class, "BoundedScopeDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getBoundedScopeDefinition_LowerBound(), ecorePackage.getEInt(), "lowerBound", null, 0, 1, BoundedScopeDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getBoundedScopeDefinition_UpperBound(), ecorePackage.getEInt(), "upperBound", null, 0, 1, BoundedScopeDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(lowerBoundedScopeDefinitionEClass, LowerBoundedScopeDefinition.class, "LowerBoundedScopeDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getLowerBoundedScopeDefinition_LowerBound(), ecorePackage.getEInt(), "lowerBound", null, 0, 1, LowerBoundedScopeDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(objectiveDefinitionEClass, ObjectiveDefinition.class, "ObjectiveDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getObjectiveDefinition_Kind(), this.getObjectiveKind(), "kind", null, 0, 1, ObjectiveDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getObjectiveDefinition_Objective(), this.getExpression(), null, "objective", null, 0, 1, ObjectiveDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(namedElementEClass, NamedElement.class, "NamedElement", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getNamedElement_Name(), ecorePackage.getEString(), "name", null, 0, 1, NamedElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(assertionEClass, Assertion.class, "Assertion", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getAssertion_Body(), this.getExpression(), null, "body", null, 0, 1, Assertion.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getAssertion_Range(), this.getExpression(), null, "range", null, 0, 1, Assertion.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(disjunctionEClass, Disjunction.class, "Disjunction", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getDisjunction_Children(), this.getExpression(), null, "children", null, 0, -1, Disjunction.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(switchEClass, Switch.class, "Switch", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getSwitch_Cases(), this.getCase(), null, "cases", null, 0, -1, Switch.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(conjunctionEClass, Conjunction.class, "Conjunction", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getConjunction_Children(), this.getExpression(), null, "children", null, 0, -1, Conjunction.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(comparisonEClass, Comparison.class, "Comparison", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getComparison_Left(), this.getExpression(), null, "left", null, 0, 1, Comparison.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getComparison_Op(), this.getBinaryOperator(), "op", null, 0, 1, Comparison.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getComparison_Right(), this.getExpression(), null, "right", null, 0, 1, Comparison.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(binaryExpressionEClass, BinaryExpression.class, "BinaryExpression", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getBinaryExpression_Left(), this.getExpression(), null, "left", null, 0, 1, BinaryExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getBinaryExpression_Op(), this.getBinaryOperator(), "op", null, 0, 1, BinaryExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getBinaryExpression_Right(), this.getExpression(), null, "right", null, 0, 1, BinaryExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(unaryExpressionEClass, UnaryExpression.class, "UnaryExpression", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getUnaryExpression_Op(), this.getUnaryOp(), "op", null, 0, 1, UnaryExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getUnaryExpression_Body(), this.getExpression(), null, "body", null, 0, 1, UnaryExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - // Initialize enums and add enum literals - initEEnum(metricTypeEEnum, MetricType.class, "MetricType"); - addEEnumLiteral(metricTypeEEnum, MetricType.INT); - addEEnumLiteral(metricTypeEEnum, MetricType.REAL); - - initEEnum(binaryOperatorEEnum, BinaryOperator.class, "BinaryOperator"); - addEEnumLiteral(binaryOperatorEEnum, BinaryOperator.EQ); - addEEnumLiteral(binaryOperatorEEnum, BinaryOperator.NOT_EQ); - addEEnumLiteral(binaryOperatorEEnum, BinaryOperator.LESS); - addEEnumLiteral(binaryOperatorEEnum, BinaryOperator.LESS_EQ); - addEEnumLiteral(binaryOperatorEEnum, BinaryOperator.GREATER); - addEEnumLiteral(binaryOperatorEEnum, BinaryOperator.GREATER_EQ); - addEEnumLiteral(binaryOperatorEEnum, BinaryOperator.IN); - addEEnumLiteral(binaryOperatorEEnum, BinaryOperator.ADD); - addEEnumLiteral(binaryOperatorEEnum, BinaryOperator.SUB); - addEEnumLiteral(binaryOperatorEEnum, BinaryOperator.MUL); - addEEnumLiteral(binaryOperatorEEnum, BinaryOperator.DIV); - addEEnumLiteral(binaryOperatorEEnum, BinaryOperator.POW); - - initEEnum(unaryOpEEnum, UnaryOp.class, "UnaryOp"); - addEEnumLiteral(unaryOpEEnum, UnaryOp.NEG); - addEEnumLiteral(unaryOpEEnum, UnaryOp.PLUS); - addEEnumLiteral(unaryOpEEnum, UnaryOp.MINUS); - addEEnumLiteral(unaryOpEEnum, UnaryOp.MAY); - addEEnumLiteral(unaryOpEEnum, UnaryOp.MUST); - addEEnumLiteral(unaryOpEEnum, UnaryOp.CURRENT); - - initEEnum(aggregationOpEEnum, AggregationOp.class, "AggregationOp"); - addEEnumLiteral(aggregationOpEEnum, AggregationOp.ONLY); - addEEnumLiteral(aggregationOpEEnum, AggregationOp.SUM); - addEEnumLiteral(aggregationOpEEnum, AggregationOp.PROD); - addEEnumLiteral(aggregationOpEEnum, AggregationOp.AVG); - addEEnumLiteral(aggregationOpEEnum, AggregationOp.MIN); - addEEnumLiteral(aggregationOpEEnum, AggregationOp.MAX); - - initEEnum(logicValueEEnum, LogicValue.class, "LogicValue"); - addEEnumLiteral(logicValueEEnum, LogicValue.TRUE); - addEEnumLiteral(logicValueEEnum, LogicValue.FALSE); - addEEnumLiteral(logicValueEEnum, LogicValue.UNKNOWN); - addEEnumLiteral(logicValueEEnum, LogicValue.ERROR); - - initEEnum(objectiveKindEEnum, ObjectiveKind.class, "ObjectiveKind"); - addEEnumLiteral(objectiveKindEEnum, ObjectiveKind.MINIMIZE); - addEEnumLiteral(objectiveKindEEnum, ObjectiveKind.MAXIMIZE); - - // Create resource - createResource(eNS_URI); - } - -} //SolverLanguagePackageImpl diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/StarArgumentImpl.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/StarArgumentImpl.java deleted file mode 100644 index b0cecaab..00000000 --- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/StarArgumentImpl.java +++ /dev/null @@ -1,41 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage.impl; - -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; -import org.eclipse.viatra.solver.language.solverLanguage.StarArgument; - -/** - * - * An implementation of the model object 'Star Argument'. - * - * - * @generated - */ -public class StarArgumentImpl extends ArgumentImpl implements StarArgument -{ - /** - * - * - * @generated - */ - protected StarArgumentImpl() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return SolverLanguagePackage.Literals.STAR_ARGUMENT; - } - -} //StarArgumentImpl diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/StatementImpl.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/StatementImpl.java deleted file mode 100644 index d349d1a4..00000000 --- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/StatementImpl.java +++ /dev/null @@ -1,43 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage.impl; - -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; - -import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; -import org.eclipse.viatra.solver.language.solverLanguage.Statement; - -/** - * - * An implementation of the model object 'Statement'. - * - * - * @generated - */ -public class StatementImpl extends MinimalEObjectImpl.Container implements Statement -{ - /** - * - * - * @generated - */ - protected StatementImpl() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return SolverLanguagePackage.Literals.STATEMENT; - } - -} //StatementImpl diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/StringLiteralImpl.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/StringLiteralImpl.java deleted file mode 100644 index 2b0b2720..00000000 --- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/StringLiteralImpl.java +++ /dev/null @@ -1,179 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage.impl; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; -import org.eclipse.viatra.solver.language.solverLanguage.StringLiteral; - -/** - * - * An implementation of the model object 'String Literal'. - * - *

    - * The following features are implemented: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.StringLiteralImpl#getValue Value}
    • - *
    - * - * @generated - */ -public class StringLiteralImpl extends LiteralImpl implements StringLiteral -{ - /** - * 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 StringLiteralImpl() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return SolverLanguagePackage.Literals.STRING_LITERAL; - } - - /** - * - * - * @generated - */ - @Override - public String getValue() - { - return value; - } - - /** - * - * - * @generated - */ - @Override - public void setValue(String newValue) - { - String oldValue = value; - value = newValue; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.STRING_LITERAL__VALUE, oldValue, value)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case SolverLanguagePackage.STRING_LITERAL__VALUE: - return getValue(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case SolverLanguagePackage.STRING_LITERAL__VALUE: - setValue((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case SolverLanguagePackage.STRING_LITERAL__VALUE: - setValue(VALUE_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case SolverLanguagePackage.STRING_LITERAL__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(); - - StringBuilder result = new StringBuilder(super.toString()); - result.append(" (value: "); - result.append(value); - result.append(')'); - return result.toString(); - } - -} //StringLiteralImpl diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/SwitchImpl.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/SwitchImpl.java deleted file mode 100644 index fefd5be6..00000000 --- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/SwitchImpl.java +++ /dev/null @@ -1,167 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage.impl; - -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; - -import org.eclipse.viatra.solver.language.solverLanguage.Case; -import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; -import org.eclipse.viatra.solver.language.solverLanguage.Switch; - -/** - * - * An implementation of the model object 'Switch'. - * - *

    - * The following features are implemented: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.SwitchImpl#getCases Cases}
    • - *
    - * - * @generated - */ -public class SwitchImpl extends ExpressionImpl implements Switch -{ - /** - * The cached value of the '{@link #getCases() Cases}' containment reference list. - * - * - * @see #getCases() - * @generated - * @ordered - */ - protected EList cases; - - /** - * - * - * @generated - */ - protected SwitchImpl() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return SolverLanguagePackage.Literals.SWITCH; - } - - /** - * - * - * @generated - */ - @Override - public EList getCases() - { - if (cases == null) - { - cases = new EObjectContainmentEList(Case.class, this, SolverLanguagePackage.SWITCH__CASES); - } - return cases; - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) - { - switch (featureID) - { - case SolverLanguagePackage.SWITCH__CASES: - return ((InternalEList)getCases()).basicRemove(otherEnd, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case SolverLanguagePackage.SWITCH__CASES: - return getCases(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case SolverLanguagePackage.SWITCH__CASES: - getCases().clear(); - getCases().addAll((Collection)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case SolverLanguagePackage.SWITCH__CASES: - getCases().clear(); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case SolverLanguagePackage.SWITCH__CASES: - return cases != null && !cases.isEmpty(); - } - return super.eIsSet(featureID); - } - -} //SwitchImpl diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/TypedArgumentImpl.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/TypedArgumentImpl.java deleted file mode 100644 index 2d93f402..00000000 --- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/TypedArgumentImpl.java +++ /dev/null @@ -1,242 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage.impl; - -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.solver.language.solverLanguage.NamedElement; -import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; -import org.eclipse.viatra.solver.language.solverLanguage.TypedArgument; - -/** - * - * An implementation of the model object 'Typed Argument'. - * - *

    - * The following features are implemented: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.TypedArgumentImpl#getType Type}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.TypedArgumentImpl#getVariable Variable}
    • - *
    - * - * @generated - */ -public class TypedArgumentImpl extends ArgumentImpl implements TypedArgument -{ - /** - * The cached value of the '{@link #getType() Type}' reference. - * - * - * @see #getType() - * @generated - * @ordered - */ - protected NamedElement type; - - /** - * The cached value of the '{@link #getVariable() Variable}' reference. - * - * - * @see #getVariable() - * @generated - * @ordered - */ - protected NamedElement variable; - - /** - * - * - * @generated - */ - protected TypedArgumentImpl() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return SolverLanguagePackage.Literals.TYPED_ARGUMENT; - } - - /** - * - * - * @generated - */ - @Override - public NamedElement getType() - { - if (type != null && type.eIsProxy()) - { - InternalEObject oldType = (InternalEObject)type; - type = (NamedElement)eResolveProxy(oldType); - if (type != oldType) - { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, SolverLanguagePackage.TYPED_ARGUMENT__TYPE, oldType, type)); - } - } - return type; - } - - /** - * - * - * @generated - */ - public NamedElement basicGetType() - { - return type; - } - - /** - * - * - * @generated - */ - @Override - public void setType(NamedElement newType) - { - NamedElement oldType = type; - type = newType; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.TYPED_ARGUMENT__TYPE, oldType, type)); - } - - /** - * - * - * @generated - */ - @Override - public NamedElement getVariable() - { - if (variable != null && variable.eIsProxy()) - { - InternalEObject oldVariable = (InternalEObject)variable; - variable = (NamedElement)eResolveProxy(oldVariable); - if (variable != oldVariable) - { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, SolverLanguagePackage.TYPED_ARGUMENT__VARIABLE, oldVariable, variable)); - } - } - return variable; - } - - /** - * - * - * @generated - */ - public NamedElement basicGetVariable() - { - return variable; - } - - /** - * - * - * @generated - */ - @Override - public void setVariable(NamedElement newVariable) - { - NamedElement oldVariable = variable; - variable = newVariable; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.TYPED_ARGUMENT__VARIABLE, oldVariable, variable)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case SolverLanguagePackage.TYPED_ARGUMENT__TYPE: - if (resolve) return getType(); - return basicGetType(); - case SolverLanguagePackage.TYPED_ARGUMENT__VARIABLE: - if (resolve) return getVariable(); - return basicGetVariable(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case SolverLanguagePackage.TYPED_ARGUMENT__TYPE: - setType((NamedElement)newValue); - return; - case SolverLanguagePackage.TYPED_ARGUMENT__VARIABLE: - setVariable((NamedElement)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case SolverLanguagePackage.TYPED_ARGUMENT__TYPE: - setType((NamedElement)null); - return; - case SolverLanguagePackage.TYPED_ARGUMENT__VARIABLE: - setVariable((NamedElement)null); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case SolverLanguagePackage.TYPED_ARGUMENT__TYPE: - return type != null; - case SolverLanguagePackage.TYPED_ARGUMENT__VARIABLE: - return variable != null; - } - return super.eIsSet(featureID); - } - -} //TypedArgumentImpl diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/TypedStarArgumentImpl.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/TypedStarArgumentImpl.java deleted file mode 100644 index dd2b46bc..00000000 --- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/TypedStarArgumentImpl.java +++ /dev/null @@ -1,175 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage.impl; - -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.solver.language.solverLanguage.NamedElement; -import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; -import org.eclipse.viatra.solver.language.solverLanguage.TypedStarArgument; - -/** - * - * An implementation of the model object 'Typed Star Argument'. - * - *

    - * The following features are implemented: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.TypedStarArgumentImpl#getType Type}
    • - *
    - * - * @generated - */ -public class TypedStarArgumentImpl extends ArgumentImpl implements TypedStarArgument -{ - /** - * The cached value of the '{@link #getType() Type}' reference. - * - * - * @see #getType() - * @generated - * @ordered - */ - protected NamedElement type; - - /** - * - * - * @generated - */ - protected TypedStarArgumentImpl() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return SolverLanguagePackage.Literals.TYPED_STAR_ARGUMENT; - } - - /** - * - * - * @generated - */ - @Override - public NamedElement getType() - { - if (type != null && type.eIsProxy()) - { - InternalEObject oldType = (InternalEObject)type; - type = (NamedElement)eResolveProxy(oldType); - if (type != oldType) - { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, SolverLanguagePackage.TYPED_STAR_ARGUMENT__TYPE, oldType, type)); - } - } - return type; - } - - /** - * - * - * @generated - */ - public NamedElement basicGetType() - { - return type; - } - - /** - * - * - * @generated - */ - @Override - public void setType(NamedElement newType) - { - NamedElement oldType = type; - type = newType; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.TYPED_STAR_ARGUMENT__TYPE, oldType, type)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case SolverLanguagePackage.TYPED_STAR_ARGUMENT__TYPE: - if (resolve) return getType(); - return basicGetType(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case SolverLanguagePackage.TYPED_STAR_ARGUMENT__TYPE: - setType((NamedElement)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case SolverLanguagePackage.TYPED_STAR_ARGUMENT__TYPE: - setType((NamedElement)null); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case SolverLanguagePackage.TYPED_STAR_ARGUMENT__TYPE: - return type != null; - } - return super.eIsSet(featureID); - } - -} //TypedStarArgumentImpl diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/UnaryExpressionImpl.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/UnaryExpressionImpl.java deleted file mode 100644 index ee5ebfbb..00000000 --- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/UnaryExpressionImpl.java +++ /dev/null @@ -1,270 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage.impl; - -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.viatra.solver.language.solverLanguage.Expression; -import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; -import org.eclipse.viatra.solver.language.solverLanguage.UnaryExpression; -import org.eclipse.viatra.solver.language.solverLanguage.UnaryOp; - -/** - * - * An implementation of the model object 'Unary Expression'. - * - *

    - * The following features are implemented: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.UnaryExpressionImpl#getOp Op}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.UnaryExpressionImpl#getBody Body}
    • - *
    - * - * @generated - */ -public class UnaryExpressionImpl extends ExpressionImpl implements UnaryExpression -{ - /** - * The default value of the '{@link #getOp() Op}' attribute. - * - * - * @see #getOp() - * @generated - * @ordered - */ - protected static final UnaryOp OP_EDEFAULT = UnaryOp.NEG; - - /** - * The cached value of the '{@link #getOp() Op}' attribute. - * - * - * @see #getOp() - * @generated - * @ordered - */ - protected UnaryOp op = OP_EDEFAULT; - - /** - * The cached value of the '{@link #getBody() Body}' containment reference. - * - * - * @see #getBody() - * @generated - * @ordered - */ - protected Expression body; - - /** - * - * - * @generated - */ - protected UnaryExpressionImpl() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return SolverLanguagePackage.Literals.UNARY_EXPRESSION; - } - - /** - * - * - * @generated - */ - @Override - public UnaryOp getOp() - { - return op; - } - - /** - * - * - * @generated - */ - @Override - public void setOp(UnaryOp newOp) - { - UnaryOp oldOp = op; - op = newOp == null ? OP_EDEFAULT : newOp; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.UNARY_EXPRESSION__OP, oldOp, op)); - } - - /** - * - * - * @generated - */ - @Override - public Expression getBody() - { - return body; - } - - /** - * - * - * @generated - */ - public NotificationChain basicSetBody(Expression newBody, NotificationChain msgs) - { - Expression oldBody = body; - body = newBody; - if (eNotificationRequired()) - { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.UNARY_EXPRESSION__BODY, oldBody, newBody); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * - * - * @generated - */ - @Override - public void setBody(Expression newBody) - { - if (newBody != body) - { - NotificationChain msgs = null; - if (body != null) - msgs = ((InternalEObject)body).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.UNARY_EXPRESSION__BODY, null, msgs); - if (newBody != null) - msgs = ((InternalEObject)newBody).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.UNARY_EXPRESSION__BODY, null, msgs); - msgs = basicSetBody(newBody, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.UNARY_EXPRESSION__BODY, newBody, newBody)); - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) - { - switch (featureID) - { - case SolverLanguagePackage.UNARY_EXPRESSION__BODY: - return basicSetBody(null, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case SolverLanguagePackage.UNARY_EXPRESSION__OP: - return getOp(); - case SolverLanguagePackage.UNARY_EXPRESSION__BODY: - return getBody(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case SolverLanguagePackage.UNARY_EXPRESSION__OP: - setOp((UnaryOp)newValue); - return; - case SolverLanguagePackage.UNARY_EXPRESSION__BODY: - setBody((Expression)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case SolverLanguagePackage.UNARY_EXPRESSION__OP: - setOp(OP_EDEFAULT); - return; - case SolverLanguagePackage.UNARY_EXPRESSION__BODY: - setBody((Expression)null); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case SolverLanguagePackage.UNARY_EXPRESSION__OP: - return op != OP_EDEFAULT; - case SolverLanguagePackage.UNARY_EXPRESSION__BODY: - return body != null; - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() - { - if (eIsProxy()) return super.toString(); - - StringBuilder result = new StringBuilder(super.toString()); - result.append(" (op: "); - result.append(op); - result.append(')'); - return result.toString(); - } - -} //UnaryExpressionImpl diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/UnnamedErrorPrediateDefinitionImpl.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/UnnamedErrorPrediateDefinitionImpl.java deleted file mode 100644 index cd6a3271..00000000 --- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/UnnamedErrorPrediateDefinitionImpl.java +++ /dev/null @@ -1,270 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage.impl; - -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.viatra.solver.language.solverLanguage.ArgumentList; -import org.eclipse.viatra.solver.language.solverLanguage.Expression; -import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; -import org.eclipse.viatra.solver.language.solverLanguage.UnnamedErrorPrediateDefinition; - -/** - * - * An implementation of the model object 'Unnamed Error Prediate Definition'. - * - *

    - * The following features are implemented: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.UnnamedErrorPrediateDefinitionImpl#getArgumentList Argument List}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.UnnamedErrorPrediateDefinitionImpl#getBody Body}
    • - *
    - * - * @generated - */ -public class UnnamedErrorPrediateDefinitionImpl extends StatementImpl implements UnnamedErrorPrediateDefinition -{ - /** - * The cached value of the '{@link #getArgumentList() Argument List}' containment reference. - * - * - * @see #getArgumentList() - * @generated - * @ordered - */ - protected ArgumentList argumentList; - - /** - * The cached value of the '{@link #getBody() Body}' containment reference. - * - * - * @see #getBody() - * @generated - * @ordered - */ - protected Expression body; - - /** - * - * - * @generated - */ - protected UnnamedErrorPrediateDefinitionImpl() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return SolverLanguagePackage.Literals.UNNAMED_ERROR_PREDIATE_DEFINITION; - } - - /** - * - * - * @generated - */ - @Override - public ArgumentList getArgumentList() - { - return argumentList; - } - - /** - * - * - * @generated - */ - public NotificationChain basicSetArgumentList(ArgumentList newArgumentList, NotificationChain msgs) - { - ArgumentList oldArgumentList = argumentList; - argumentList = newArgumentList; - if (eNotificationRequired()) - { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.UNNAMED_ERROR_PREDIATE_DEFINITION__ARGUMENT_LIST, oldArgumentList, newArgumentList); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * - * - * @generated - */ - @Override - public void setArgumentList(ArgumentList newArgumentList) - { - if (newArgumentList != argumentList) - { - NotificationChain msgs = null; - if (argumentList != null) - msgs = ((InternalEObject)argumentList).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.UNNAMED_ERROR_PREDIATE_DEFINITION__ARGUMENT_LIST, null, msgs); - if (newArgumentList != null) - msgs = ((InternalEObject)newArgumentList).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.UNNAMED_ERROR_PREDIATE_DEFINITION__ARGUMENT_LIST, null, msgs); - msgs = basicSetArgumentList(newArgumentList, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.UNNAMED_ERROR_PREDIATE_DEFINITION__ARGUMENT_LIST, newArgumentList, newArgumentList)); - } - - /** - * - * - * @generated - */ - @Override - public Expression getBody() - { - return body; - } - - /** - * - * - * @generated - */ - public NotificationChain basicSetBody(Expression newBody, NotificationChain msgs) - { - Expression oldBody = body; - body = newBody; - if (eNotificationRequired()) - { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.UNNAMED_ERROR_PREDIATE_DEFINITION__BODY, oldBody, newBody); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * - * - * @generated - */ - @Override - public void setBody(Expression newBody) - { - if (newBody != body) - { - NotificationChain msgs = null; - if (body != null) - msgs = ((InternalEObject)body).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.UNNAMED_ERROR_PREDIATE_DEFINITION__BODY, null, msgs); - if (newBody != null) - msgs = ((InternalEObject)newBody).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.UNNAMED_ERROR_PREDIATE_DEFINITION__BODY, null, msgs); - msgs = basicSetBody(newBody, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.UNNAMED_ERROR_PREDIATE_DEFINITION__BODY, newBody, newBody)); - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) - { - switch (featureID) - { - case SolverLanguagePackage.UNNAMED_ERROR_PREDIATE_DEFINITION__ARGUMENT_LIST: - return basicSetArgumentList(null, msgs); - case SolverLanguagePackage.UNNAMED_ERROR_PREDIATE_DEFINITION__BODY: - return basicSetBody(null, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case SolverLanguagePackage.UNNAMED_ERROR_PREDIATE_DEFINITION__ARGUMENT_LIST: - return getArgumentList(); - case SolverLanguagePackage.UNNAMED_ERROR_PREDIATE_DEFINITION__BODY: - return getBody(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case SolverLanguagePackage.UNNAMED_ERROR_PREDIATE_DEFINITION__ARGUMENT_LIST: - setArgumentList((ArgumentList)newValue); - return; - case SolverLanguagePackage.UNNAMED_ERROR_PREDIATE_DEFINITION__BODY: - setBody((Expression)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case SolverLanguagePackage.UNNAMED_ERROR_PREDIATE_DEFINITION__ARGUMENT_LIST: - setArgumentList((ArgumentList)null); - return; - case SolverLanguagePackage.UNNAMED_ERROR_PREDIATE_DEFINITION__BODY: - setBody((Expression)null); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case SolverLanguagePackage.UNNAMED_ERROR_PREDIATE_DEFINITION__ARGUMENT_LIST: - return argumentList != null; - case SolverLanguagePackage.UNNAMED_ERROR_PREDIATE_DEFINITION__BODY: - return body != null; - } - return super.eIsSet(featureID); - } - -} //UnnamedErrorPrediateDefinitionImpl diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/util/SolverLanguageAdapterFactory.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/util/SolverLanguageAdapterFactory.java deleted file mode 100644 index 37b20718..00000000 --- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/util/SolverLanguageAdapterFactory.java +++ /dev/null @@ -1,1053 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage.util; - -import org.eclipse.emf.common.notify.Adapter; -import org.eclipse.emf.common.notify.Notifier; - -import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl; - -import org.eclipse.emf.ecore.EObject; - -import org.eclipse.viatra.solver.language.solverLanguage.*; - -/** - * - * The Adapter Factory for the model. - * It provides an adapter createXXX method for each class of the model. - * - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage - * @generated - */ -public class SolverLanguageAdapterFactory extends AdapterFactoryImpl -{ - /** - * The cached model package. - * - * - * @generated - */ - protected static SolverLanguagePackage modelPackage; - - /** - * Creates an instance of the adapter factory. - * - * - * @generated - */ - public SolverLanguageAdapterFactory() - { - if (modelPackage == null) - { - modelPackage = SolverLanguagePackage.eINSTANCE; - } - } - - /** - * Returns whether this factory is applicable for the type of the object. - * - * This implementation returns true if the object is either the model's package or is an instance object of the model. - * - * @return whether this factory is applicable for the type of the object. - * @generated - */ - @Override - public boolean isFactoryForType(Object object) - { - if (object == modelPackage) - { - return true; - } - if (object instanceof EObject) - { - return ((EObject)object).eClass().getEPackage() == modelPackage; - } - return false; - } - - /** - * The switch that delegates to the createXXX methods. - * - * - * @generated - */ - protected SolverLanguageSwitch modelSwitch = - new SolverLanguageSwitch() - { - @Override - public Adapter caseProblem(Problem object) - { - return createProblemAdapter(); - } - @Override - public Adapter caseStatement(Statement object) - { - return createStatementAdapter(); - } - @Override - public Adapter casePredicateDefinition(PredicateDefinition object) - { - return createPredicateDefinitionAdapter(); - } - @Override - public Adapter caseUnnamedErrorPrediateDefinition(UnnamedErrorPrediateDefinition object) - { - return createUnnamedErrorPrediateDefinitionAdapter(); - } - @Override - public Adapter caseDefaultDefinition(DefaultDefinition object) - { - return createDefaultDefinitionAdapter(); - } - @Override - public Adapter caseExternPredicateDefinition(ExternPredicateDefinition object) - { - return createExternPredicateDefinitionAdapter(); - } - @Override - public Adapter caseMetricDefinition(MetricDefinition object) - { - return createMetricDefinitionAdapter(); - } - @Override - public Adapter caseExternMetricDefinition(ExternMetricDefinition object) - { - return createExternMetricDefinitionAdapter(); - } - @Override - public Adapter caseExpression(Expression object) - { - return createExpressionAdapter(); - } - @Override - public Adapter caseIfElse(IfElse object) - { - return createIfElseAdapter(); - } - @Override - public Adapter caseCase(Case object) - { - return createCaseAdapter(); - } - @Override - public Adapter caseCount(Count object) - { - return createCountAdapter(); - } - @Override - public Adapter caseAggregation(Aggregation object) - { - return createAggregationAdapter(); - } - @Override - public Adapter caseCall(Call object) - { - return createCallAdapter(); - } - @Override - public Adapter caseArgumentList(ArgumentList object) - { - return createArgumentListAdapter(); - } - @Override - public Adapter caseArgument(Argument object) - { - return createArgumentAdapter(); - } - @Override - public Adapter caseExpressionArgument(ExpressionArgument object) - { - return createExpressionArgumentAdapter(); - } - @Override - public Adapter caseStarArgument(StarArgument object) - { - return createStarArgumentAdapter(); - } - @Override - public Adapter caseTypedArgument(TypedArgument object) - { - return createTypedArgumentAdapter(); - } - @Override - public Adapter caseTypedStarArgument(TypedStarArgument object) - { - return createTypedStarArgumentAdapter(); - } - @Override - public Adapter caseReference(Reference object) - { - return createReferenceAdapter(); - } - @Override - public Adapter caseInterval(Interval object) - { - return createIntervalAdapter(); - } - @Override - public Adapter caseLiteral(Literal object) - { - return createLiteralAdapter(); - } - @Override - public Adapter caseLogicLiteral(LogicLiteral object) - { - return createLogicLiteralAdapter(); - } - @Override - public Adapter caseNumericLiteral(NumericLiteral object) - { - return createNumericLiteralAdapter(); - } - @Override - public Adapter caseInfinityLiteral(InfinityLiteral object) - { - return createInfinityLiteralAdapter(); - } - @Override - public Adapter caseEmptyIntervalLiteral(EmptyIntervalLiteral object) - { - return createEmptyIntervalLiteralAdapter(); - } - @Override - public Adapter caseStringLiteral(StringLiteral object) - { - return createStringLiteralAdapter(); - } - @Override - public Adapter caseClassDefinition(ClassDefinition object) - { - return createClassDefinitionAdapter(); - } - @Override - public Adapter caseMemberDefinition(MemberDefinition object) - { - return createMemberDefinitionAdapter(); - } - @Override - public Adapter caseMultiplicity(Multiplicity object) - { - return createMultiplicityAdapter(); - } - @Override - public Adapter caseManyMultiplicity(ManyMultiplicity object) - { - return createManyMultiplicityAdapter(); - } - @Override - public Adapter caseExactMultiplicity(ExactMultiplicity object) - { - return createExactMultiplicityAdapter(); - } - @Override - public Adapter caseBoundedMultiplicity(BoundedMultiplicity object) - { - return createBoundedMultiplicityAdapter(); - } - @Override - public Adapter caseScopeDefinition(ScopeDefinition object) - { - return createScopeDefinitionAdapter(); - } - @Override - public Adapter caseExactScopeDefinition(ExactScopeDefinition object) - { - return createExactScopeDefinitionAdapter(); - } - @Override - public Adapter caseBoundedScopeDefinition(BoundedScopeDefinition object) - { - return createBoundedScopeDefinitionAdapter(); - } - @Override - public Adapter caseLowerBoundedScopeDefinition(LowerBoundedScopeDefinition object) - { - return createLowerBoundedScopeDefinitionAdapter(); - } - @Override - public Adapter caseObjectiveDefinition(ObjectiveDefinition object) - { - return createObjectiveDefinitionAdapter(); - } - @Override - public Adapter caseNamedElement(NamedElement object) - { - return createNamedElementAdapter(); - } - @Override - public Adapter caseAssertion(Assertion object) - { - return createAssertionAdapter(); - } - @Override - public Adapter caseDisjunction(Disjunction object) - { - return createDisjunctionAdapter(); - } - @Override - public Adapter caseSwitch(Switch object) - { - return createSwitchAdapter(); - } - @Override - public Adapter caseConjunction(Conjunction object) - { - return createConjunctionAdapter(); - } - @Override - public Adapter caseComparison(Comparison object) - { - return createComparisonAdapter(); - } - @Override - public Adapter caseBinaryExpression(BinaryExpression object) - { - return createBinaryExpressionAdapter(); - } - @Override - public Adapter caseUnaryExpression(UnaryExpression object) - { - return createUnaryExpressionAdapter(); - } - @Override - public Adapter defaultCase(EObject object) - { - return createEObjectAdapter(); - } - }; - - /** - * Creates an adapter for the target. - * - * - * @param target the object to adapt. - * @return the adapter for the target. - * @generated - */ - @Override - public Adapter createAdapter(Notifier target) - { - return modelSwitch.doSwitch((EObject)target); - } - - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.Problem Problem}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.viatra.solver.language.solverLanguage.Problem - * @generated - */ - public Adapter createProblemAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.Statement Statement}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.viatra.solver.language.solverLanguage.Statement - * @generated - */ - public Adapter createStatementAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.PredicateDefinition Predicate Definition}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.viatra.solver.language.solverLanguage.PredicateDefinition - * @generated - */ - public Adapter createPredicateDefinitionAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.UnnamedErrorPrediateDefinition Unnamed Error Prediate Definition}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.viatra.solver.language.solverLanguage.UnnamedErrorPrediateDefinition - * @generated - */ - public Adapter createUnnamedErrorPrediateDefinitionAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.DefaultDefinition Default Definition}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.viatra.solver.language.solverLanguage.DefaultDefinition - * @generated - */ - public Adapter createDefaultDefinitionAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.ExternPredicateDefinition Extern Predicate Definition}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.viatra.solver.language.solverLanguage.ExternPredicateDefinition - * @generated - */ - public Adapter createExternPredicateDefinitionAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.MetricDefinition Metric Definition}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.viatra.solver.language.solverLanguage.MetricDefinition - * @generated - */ - public Adapter createMetricDefinitionAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.ExternMetricDefinition Extern Metric Definition}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.viatra.solver.language.solverLanguage.ExternMetricDefinition - * @generated - */ - public Adapter createExternMetricDefinitionAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.Expression Expression}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.viatra.solver.language.solverLanguage.Expression - * @generated - */ - public Adapter createExpressionAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.IfElse If Else}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.viatra.solver.language.solverLanguage.IfElse - * @generated - */ - public Adapter createIfElseAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.Case Case}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.viatra.solver.language.solverLanguage.Case - * @generated - */ - public Adapter createCaseAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.Count Count}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.viatra.solver.language.solverLanguage.Count - * @generated - */ - public Adapter createCountAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.Aggregation Aggregation}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.viatra.solver.language.solverLanguage.Aggregation - * @generated - */ - public Adapter createAggregationAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.Call Call}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.viatra.solver.language.solverLanguage.Call - * @generated - */ - public Adapter createCallAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.ArgumentList Argument List}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.viatra.solver.language.solverLanguage.ArgumentList - * @generated - */ - public Adapter createArgumentListAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.Argument Argument}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.viatra.solver.language.solverLanguage.Argument - * @generated - */ - public Adapter createArgumentAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.ExpressionArgument Expression Argument}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.viatra.solver.language.solverLanguage.ExpressionArgument - * @generated - */ - public Adapter createExpressionArgumentAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.StarArgument Star Argument}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.viatra.solver.language.solverLanguage.StarArgument - * @generated - */ - public Adapter createStarArgumentAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.TypedArgument Typed Argument}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.viatra.solver.language.solverLanguage.TypedArgument - * @generated - */ - public Adapter createTypedArgumentAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.TypedStarArgument Typed Star Argument}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.viatra.solver.language.solverLanguage.TypedStarArgument - * @generated - */ - public Adapter createTypedStarArgumentAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.Reference Reference}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.viatra.solver.language.solverLanguage.Reference - * @generated - */ - public Adapter createReferenceAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.Interval Interval}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.viatra.solver.language.solverLanguage.Interval - * @generated - */ - public Adapter createIntervalAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.Literal Literal}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.viatra.solver.language.solverLanguage.Literal - * @generated - */ - public Adapter createLiteralAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.LogicLiteral Logic Literal}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.viatra.solver.language.solverLanguage.LogicLiteral - * @generated - */ - public Adapter createLogicLiteralAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.NumericLiteral Numeric Literal}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.viatra.solver.language.solverLanguage.NumericLiteral - * @generated - */ - public Adapter createNumericLiteralAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.InfinityLiteral Infinity Literal}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.viatra.solver.language.solverLanguage.InfinityLiteral - * @generated - */ - public Adapter createInfinityLiteralAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.EmptyIntervalLiteral Empty Interval Literal}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.viatra.solver.language.solverLanguage.EmptyIntervalLiteral - * @generated - */ - public Adapter createEmptyIntervalLiteralAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.StringLiteral String Literal}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.viatra.solver.language.solverLanguage.StringLiteral - * @generated - */ - public Adapter createStringLiteralAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.ClassDefinition Class Definition}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.viatra.solver.language.solverLanguage.ClassDefinition - * @generated - */ - public Adapter createClassDefinitionAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.MemberDefinition Member Definition}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.viatra.solver.language.solverLanguage.MemberDefinition - * @generated - */ - public Adapter createMemberDefinitionAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.Multiplicity Multiplicity}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.viatra.solver.language.solverLanguage.Multiplicity - * @generated - */ - public Adapter createMultiplicityAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.ManyMultiplicity Many Multiplicity}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.viatra.solver.language.solverLanguage.ManyMultiplicity - * @generated - */ - public Adapter createManyMultiplicityAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.ExactMultiplicity Exact Multiplicity}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.viatra.solver.language.solverLanguage.ExactMultiplicity - * @generated - */ - public Adapter createExactMultiplicityAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.BoundedMultiplicity Bounded Multiplicity}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.viatra.solver.language.solverLanguage.BoundedMultiplicity - * @generated - */ - public Adapter createBoundedMultiplicityAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.ScopeDefinition Scope Definition}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.viatra.solver.language.solverLanguage.ScopeDefinition - * @generated - */ - public Adapter createScopeDefinitionAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.ExactScopeDefinition Exact Scope Definition}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.viatra.solver.language.solverLanguage.ExactScopeDefinition - * @generated - */ - public Adapter createExactScopeDefinitionAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.BoundedScopeDefinition Bounded Scope Definition}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.viatra.solver.language.solverLanguage.BoundedScopeDefinition - * @generated - */ - public Adapter createBoundedScopeDefinitionAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.LowerBoundedScopeDefinition Lower Bounded Scope Definition}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.viatra.solver.language.solverLanguage.LowerBoundedScopeDefinition - * @generated - */ - public Adapter createLowerBoundedScopeDefinitionAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.ObjectiveDefinition Objective Definition}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.viatra.solver.language.solverLanguage.ObjectiveDefinition - * @generated - */ - public Adapter createObjectiveDefinitionAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.NamedElement Named Element}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.viatra.solver.language.solverLanguage.NamedElement - * @generated - */ - public Adapter createNamedElementAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.Assertion Assertion}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.viatra.solver.language.solverLanguage.Assertion - * @generated - */ - public Adapter createAssertionAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.Disjunction Disjunction}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.viatra.solver.language.solverLanguage.Disjunction - * @generated - */ - public Adapter createDisjunctionAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.Switch Switch}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.viatra.solver.language.solverLanguage.Switch - * @generated - */ - public Adapter createSwitchAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.Conjunction Conjunction}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.viatra.solver.language.solverLanguage.Conjunction - * @generated - */ - public Adapter createConjunctionAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.Comparison Comparison}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.viatra.solver.language.solverLanguage.Comparison - * @generated - */ - public Adapter createComparisonAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.BinaryExpression Binary Expression}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.viatra.solver.language.solverLanguage.BinaryExpression - * @generated - */ - public Adapter createBinaryExpressionAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.UnaryExpression Unary Expression}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.viatra.solver.language.solverLanguage.UnaryExpression - * @generated - */ - public Adapter createUnaryExpressionAdapter() - { - return null; - } - - /** - * Creates a new adapter for the default case. - * - * This default implementation returns null. - * - * @return the new adapter. - * @generated - */ - public Adapter createEObjectAdapter() - { - return null; - } - -} //SolverLanguageAdapterFactory diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/util/SolverLanguageSwitch.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/util/SolverLanguageSwitch.java deleted file mode 100644 index 79a98ff7..00000000 --- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/util/SolverLanguageSwitch.java +++ /dev/null @@ -1,1245 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage.util; - -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.EPackage; - -import org.eclipse.emf.ecore.util.Switch; - -import org.eclipse.viatra.solver.language.solverLanguage.*; - -/** - * - * The Switch for the model's inheritance hierarchy. - * It supports the call {@link #doSwitch(EObject) doSwitch(object)} - * to invoke the caseXXX method for each class of the model, - * starting with the actual class of the object - * and proceeding up the inheritance hierarchy - * until a non-null result is returned, - * which is the result of the switch. - * - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage - * @generated - */ -public class SolverLanguageSwitch extends Switch -{ - /** - * The cached model package - * - * - * @generated - */ - protected static SolverLanguagePackage modelPackage; - - /** - * Creates an instance of the switch. - * - * - * @generated - */ - public SolverLanguageSwitch() - { - if (modelPackage == null) - { - modelPackage = SolverLanguagePackage.eINSTANCE; - } - } - - /** - * Checks whether this is a switch for the given package. - * - * - * @param ePackage the package in question. - * @return whether this is a switch for the given package. - * @generated - */ - @Override - protected boolean isSwitchFor(EPackage ePackage) - { - return ePackage == modelPackage; - } - - /** - * Calls caseXXX for each class of the model until one returns a non null result; it yields that result. - * - * - * @return the first non-null result returned by a caseXXX call. - * @generated - */ - @Override - protected T doSwitch(int classifierID, EObject theEObject) - { - switch (classifierID) - { - case SolverLanguagePackage.PROBLEM: - { - Problem problem = (Problem)theEObject; - T result = caseProblem(problem); - if (result == null) result = defaultCase(theEObject); - return result; - } - case SolverLanguagePackage.STATEMENT: - { - Statement statement = (Statement)theEObject; - T result = caseStatement(statement); - if (result == null) result = defaultCase(theEObject); - return result; - } - case SolverLanguagePackage.PREDICATE_DEFINITION: - { - PredicateDefinition predicateDefinition = (PredicateDefinition)theEObject; - T result = casePredicateDefinition(predicateDefinition); - if (result == null) result = caseStatement(predicateDefinition); - if (result == null) result = defaultCase(theEObject); - return result; - } - case SolverLanguagePackage.UNNAMED_ERROR_PREDIATE_DEFINITION: - { - UnnamedErrorPrediateDefinition unnamedErrorPrediateDefinition = (UnnamedErrorPrediateDefinition)theEObject; - T result = caseUnnamedErrorPrediateDefinition(unnamedErrorPrediateDefinition); - if (result == null) result = caseStatement(unnamedErrorPrediateDefinition); - if (result == null) result = defaultCase(theEObject); - return result; - } - case SolverLanguagePackage.DEFAULT_DEFINITION: - { - DefaultDefinition defaultDefinition = (DefaultDefinition)theEObject; - T result = caseDefaultDefinition(defaultDefinition); - if (result == null) result = caseStatement(defaultDefinition); - if (result == null) result = defaultCase(theEObject); - return result; - } - case SolverLanguagePackage.EXTERN_PREDICATE_DEFINITION: - { - ExternPredicateDefinition externPredicateDefinition = (ExternPredicateDefinition)theEObject; - T result = caseExternPredicateDefinition(externPredicateDefinition); - if (result == null) result = caseStatement(externPredicateDefinition); - if (result == null) result = defaultCase(theEObject); - return result; - } - case SolverLanguagePackage.METRIC_DEFINITION: - { - MetricDefinition metricDefinition = (MetricDefinition)theEObject; - T result = caseMetricDefinition(metricDefinition); - if (result == null) result = caseStatement(metricDefinition); - if (result == null) result = defaultCase(theEObject); - return result; - } - case SolverLanguagePackage.EXTERN_METRIC_DEFINITION: - { - ExternMetricDefinition externMetricDefinition = (ExternMetricDefinition)theEObject; - T result = caseExternMetricDefinition(externMetricDefinition); - if (result == null) result = caseStatement(externMetricDefinition); - if (result == null) result = defaultCase(theEObject); - return result; - } - case SolverLanguagePackage.EXPRESSION: - { - Expression expression = (Expression)theEObject; - T result = caseExpression(expression); - if (result == null) result = caseStatement(expression); - if (result == null) result = defaultCase(theEObject); - return result; - } - case SolverLanguagePackage.IF_ELSE: - { - IfElse ifElse = (IfElse)theEObject; - T result = caseIfElse(ifElse); - if (result == null) result = caseExpression(ifElse); - if (result == null) result = caseStatement(ifElse); - if (result == null) result = defaultCase(theEObject); - return result; - } - case SolverLanguagePackage.CASE: - { - Case case_ = (Case)theEObject; - T result = caseCase(case_); - if (result == null) result = caseExpression(case_); - if (result == null) result = caseStatement(case_); - if (result == null) result = defaultCase(theEObject); - return result; - } - case SolverLanguagePackage.COUNT: - { - Count count = (Count)theEObject; - T result = caseCount(count); - if (result == null) result = caseExpression(count); - if (result == null) result = caseStatement(count); - if (result == null) result = defaultCase(theEObject); - return result; - } - case SolverLanguagePackage.AGGREGATION: - { - Aggregation aggregation = (Aggregation)theEObject; - T result = caseAggregation(aggregation); - if (result == null) result = caseExpression(aggregation); - if (result == null) result = caseStatement(aggregation); - if (result == null) result = defaultCase(theEObject); - return result; - } - case SolverLanguagePackage.CALL: - { - Call call = (Call)theEObject; - T result = caseCall(call); - if (result == null) result = caseExpression(call); - if (result == null) result = caseStatement(call); - if (result == null) result = defaultCase(theEObject); - return result; - } - case SolverLanguagePackage.ARGUMENT_LIST: - { - ArgumentList argumentList = (ArgumentList)theEObject; - T result = caseArgumentList(argumentList); - if (result == null) result = defaultCase(theEObject); - return result; - } - case SolverLanguagePackage.ARGUMENT: - { - Argument argument = (Argument)theEObject; - T result = caseArgument(argument); - if (result == null) result = defaultCase(theEObject); - return result; - } - case SolverLanguagePackage.EXPRESSION_ARGUMENT: - { - ExpressionArgument expressionArgument = (ExpressionArgument)theEObject; - T result = caseExpressionArgument(expressionArgument); - if (result == null) result = caseArgument(expressionArgument); - if (result == null) result = defaultCase(theEObject); - return result; - } - case SolverLanguagePackage.STAR_ARGUMENT: - { - StarArgument starArgument = (StarArgument)theEObject; - T result = caseStarArgument(starArgument); - if (result == null) result = caseArgument(starArgument); - if (result == null) result = defaultCase(theEObject); - return result; - } - case SolverLanguagePackage.TYPED_ARGUMENT: - { - TypedArgument typedArgument = (TypedArgument)theEObject; - T result = caseTypedArgument(typedArgument); - if (result == null) result = caseArgument(typedArgument); - if (result == null) result = defaultCase(theEObject); - return result; - } - case SolverLanguagePackage.TYPED_STAR_ARGUMENT: - { - TypedStarArgument typedStarArgument = (TypedStarArgument)theEObject; - T result = caseTypedStarArgument(typedStarArgument); - if (result == null) result = caseArgument(typedStarArgument); - if (result == null) result = defaultCase(theEObject); - return result; - } - case SolverLanguagePackage.REFERENCE: - { - Reference reference = (Reference)theEObject; - T result = caseReference(reference); - if (result == null) result = caseExpression(reference); - if (result == null) result = caseStatement(reference); - if (result == null) result = defaultCase(theEObject); - return result; - } - case SolverLanguagePackage.INTERVAL: - { - Interval interval = (Interval)theEObject; - T result = caseInterval(interval); - if (result == null) result = caseExpression(interval); - if (result == null) result = caseStatement(interval); - if (result == null) result = defaultCase(theEObject); - return result; - } - case SolverLanguagePackage.LITERAL: - { - Literal literal = (Literal)theEObject; - T result = caseLiteral(literal); - if (result == null) result = caseExpression(literal); - if (result == null) result = caseStatement(literal); - if (result == null) result = defaultCase(theEObject); - return result; - } - case SolverLanguagePackage.LOGIC_LITERAL: - { - LogicLiteral logicLiteral = (LogicLiteral)theEObject; - T result = caseLogicLiteral(logicLiteral); - if (result == null) result = caseLiteral(logicLiteral); - if (result == null) result = caseExpression(logicLiteral); - if (result == null) result = caseStatement(logicLiteral); - if (result == null) result = defaultCase(theEObject); - return result; - } - case SolverLanguagePackage.NUMERIC_LITERAL: - { - NumericLiteral numericLiteral = (NumericLiteral)theEObject; - T result = caseNumericLiteral(numericLiteral); - if (result == null) result = caseLiteral(numericLiteral); - if (result == null) result = caseExpression(numericLiteral); - if (result == null) result = caseStatement(numericLiteral); - if (result == null) result = defaultCase(theEObject); - return result; - } - case SolverLanguagePackage.INFINITY_LITERAL: - { - InfinityLiteral infinityLiteral = (InfinityLiteral)theEObject; - T result = caseInfinityLiteral(infinityLiteral); - if (result == null) result = caseLiteral(infinityLiteral); - if (result == null) result = caseExpression(infinityLiteral); - if (result == null) result = caseStatement(infinityLiteral); - if (result == null) result = defaultCase(theEObject); - return result; - } - case SolverLanguagePackage.EMPTY_INTERVAL_LITERAL: - { - EmptyIntervalLiteral emptyIntervalLiteral = (EmptyIntervalLiteral)theEObject; - T result = caseEmptyIntervalLiteral(emptyIntervalLiteral); - if (result == null) result = caseLiteral(emptyIntervalLiteral); - if (result == null) result = caseExpression(emptyIntervalLiteral); - if (result == null) result = caseStatement(emptyIntervalLiteral); - if (result == null) result = defaultCase(theEObject); - return result; - } - case SolverLanguagePackage.STRING_LITERAL: - { - StringLiteral stringLiteral = (StringLiteral)theEObject; - T result = caseStringLiteral(stringLiteral); - if (result == null) result = caseLiteral(stringLiteral); - if (result == null) result = caseExpression(stringLiteral); - if (result == null) result = caseStatement(stringLiteral); - if (result == null) result = defaultCase(theEObject); - return result; - } - case SolverLanguagePackage.CLASS_DEFINITION: - { - ClassDefinition classDefinition = (ClassDefinition)theEObject; - T result = caseClassDefinition(classDefinition); - if (result == null) result = caseStatement(classDefinition); - if (result == null) result = defaultCase(theEObject); - return result; - } - case SolverLanguagePackage.MEMBER_DEFINITION: - { - MemberDefinition memberDefinition = (MemberDefinition)theEObject; - T result = caseMemberDefinition(memberDefinition); - if (result == null) result = defaultCase(theEObject); - return result; - } - case SolverLanguagePackage.MULTIPLICITY: - { - Multiplicity multiplicity = (Multiplicity)theEObject; - T result = caseMultiplicity(multiplicity); - if (result == null) result = defaultCase(theEObject); - return result; - } - case SolverLanguagePackage.MANY_MULTIPLICITY: - { - ManyMultiplicity manyMultiplicity = (ManyMultiplicity)theEObject; - T result = caseManyMultiplicity(manyMultiplicity); - if (result == null) result = caseMultiplicity(manyMultiplicity); - if (result == null) result = defaultCase(theEObject); - return result; - } - case SolverLanguagePackage.EXACT_MULTIPLICITY: - { - ExactMultiplicity exactMultiplicity = (ExactMultiplicity)theEObject; - T result = caseExactMultiplicity(exactMultiplicity); - if (result == null) result = caseMultiplicity(exactMultiplicity); - if (result == null) result = defaultCase(theEObject); - return result; - } - case SolverLanguagePackage.BOUNDED_MULTIPLICITY: - { - BoundedMultiplicity boundedMultiplicity = (BoundedMultiplicity)theEObject; - T result = caseBoundedMultiplicity(boundedMultiplicity); - if (result == null) result = caseMultiplicity(boundedMultiplicity); - if (result == null) result = defaultCase(theEObject); - return result; - } - case SolverLanguagePackage.SCOPE_DEFINITION: - { - ScopeDefinition scopeDefinition = (ScopeDefinition)theEObject; - T result = caseScopeDefinition(scopeDefinition); - if (result == null) result = caseStatement(scopeDefinition); - if (result == null) result = defaultCase(theEObject); - return result; - } - case SolverLanguagePackage.EXACT_SCOPE_DEFINITION: - { - ExactScopeDefinition exactScopeDefinition = (ExactScopeDefinition)theEObject; - T result = caseExactScopeDefinition(exactScopeDefinition); - if (result == null) result = caseScopeDefinition(exactScopeDefinition); - if (result == null) result = caseStatement(exactScopeDefinition); - if (result == null) result = defaultCase(theEObject); - return result; - } - case SolverLanguagePackage.BOUNDED_SCOPE_DEFINITION: - { - BoundedScopeDefinition boundedScopeDefinition = (BoundedScopeDefinition)theEObject; - T result = caseBoundedScopeDefinition(boundedScopeDefinition); - if (result == null) result = caseScopeDefinition(boundedScopeDefinition); - if (result == null) result = caseStatement(boundedScopeDefinition); - if (result == null) result = defaultCase(theEObject); - return result; - } - case SolverLanguagePackage.LOWER_BOUNDED_SCOPE_DEFINITION: - { - LowerBoundedScopeDefinition lowerBoundedScopeDefinition = (LowerBoundedScopeDefinition)theEObject; - T result = caseLowerBoundedScopeDefinition(lowerBoundedScopeDefinition); - if (result == null) result = caseScopeDefinition(lowerBoundedScopeDefinition); - if (result == null) result = caseStatement(lowerBoundedScopeDefinition); - if (result == null) result = defaultCase(theEObject); - return result; - } - case SolverLanguagePackage.OBJECTIVE_DEFINITION: - { - ObjectiveDefinition objectiveDefinition = (ObjectiveDefinition)theEObject; - T result = caseObjectiveDefinition(objectiveDefinition); - if (result == null) result = caseStatement(objectiveDefinition); - if (result == null) result = defaultCase(theEObject); - return result; - } - case SolverLanguagePackage.NAMED_ELEMENT: - { - NamedElement namedElement = (NamedElement)theEObject; - T result = caseNamedElement(namedElement); - if (result == null) result = defaultCase(theEObject); - return result; - } - case SolverLanguagePackage.ASSERTION: - { - Assertion assertion = (Assertion)theEObject; - T result = caseAssertion(assertion); - if (result == null) result = caseStatement(assertion); - if (result == null) result = defaultCase(theEObject); - return result; - } - case SolverLanguagePackage.DISJUNCTION: - { - Disjunction disjunction = (Disjunction)theEObject; - T result = caseDisjunction(disjunction); - if (result == null) result = caseExpression(disjunction); - if (result == null) result = caseStatement(disjunction); - if (result == null) result = defaultCase(theEObject); - return result; - } - case SolverLanguagePackage.SWITCH: - { - org.eclipse.viatra.solver.language.solverLanguage.Switch switch_ = (org.eclipse.viatra.solver.language.solverLanguage.Switch)theEObject; - T result = caseSwitch(switch_); - if (result == null) result = caseExpression(switch_); - if (result == null) result = caseStatement(switch_); - if (result == null) result = defaultCase(theEObject); - return result; - } - case SolverLanguagePackage.CONJUNCTION: - { - Conjunction conjunction = (Conjunction)theEObject; - T result = caseConjunction(conjunction); - if (result == null) result = caseExpression(conjunction); - if (result == null) result = caseStatement(conjunction); - if (result == null) result = defaultCase(theEObject); - return result; - } - case SolverLanguagePackage.COMPARISON: - { - Comparison comparison = (Comparison)theEObject; - T result = caseComparison(comparison); - if (result == null) result = caseExpression(comparison); - if (result == null) result = caseStatement(comparison); - if (result == null) result = defaultCase(theEObject); - return result; - } - case SolverLanguagePackage.BINARY_EXPRESSION: - { - BinaryExpression binaryExpression = (BinaryExpression)theEObject; - T result = caseBinaryExpression(binaryExpression); - if (result == null) result = caseExpression(binaryExpression); - if (result == null) result = caseStatement(binaryExpression); - if (result == null) result = defaultCase(theEObject); - return result; - } - case SolverLanguagePackage.UNARY_EXPRESSION: - { - UnaryExpression unaryExpression = (UnaryExpression)theEObject; - T result = caseUnaryExpression(unaryExpression); - if (result == null) result = caseExpression(unaryExpression); - if (result == null) result = caseStatement(unaryExpression); - if (result == null) result = defaultCase(theEObject); - return result; - } - default: return defaultCase(theEObject); - } - } - - /** - * Returns the result of interpreting the object as an instance of 'Problem'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Problem'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseProblem(Problem object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Statement'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Statement'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseStatement(Statement object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Predicate Definition'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Predicate Definition'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T casePredicateDefinition(PredicateDefinition object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Unnamed Error Prediate Definition'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Unnamed Error Prediate Definition'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseUnnamedErrorPrediateDefinition(UnnamedErrorPrediateDefinition object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Default Definition'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Default Definition'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseDefaultDefinition(DefaultDefinition object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Extern Predicate Definition'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Extern Predicate Definition'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseExternPredicateDefinition(ExternPredicateDefinition object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Metric Definition'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Metric Definition'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseMetricDefinition(MetricDefinition object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Extern Metric Definition'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Extern Metric Definition'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseExternMetricDefinition(ExternMetricDefinition object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Expression'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Expression'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseExpression(Expression object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'If Else'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'If Else'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseIfElse(IfElse object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Case'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Case'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseCase(Case object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Count'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Count'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseCount(Count object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Aggregation'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Aggregation'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseAggregation(Aggregation object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Call'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Call'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseCall(Call object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Argument List'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Argument List'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseArgumentList(ArgumentList object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Argument'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Argument'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseArgument(Argument object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Expression Argument'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Expression Argument'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseExpressionArgument(ExpressionArgument object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Star Argument'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Star Argument'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseStarArgument(StarArgument object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Typed Argument'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Typed Argument'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseTypedArgument(TypedArgument object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Typed Star Argument'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Typed Star Argument'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseTypedStarArgument(TypedStarArgument object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Reference'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Reference'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseReference(Reference object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Interval'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Interval'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseInterval(Interval object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Literal'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Literal'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseLiteral(Literal object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Logic Literal'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Logic Literal'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseLogicLiteral(LogicLiteral object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Numeric Literal'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Numeric Literal'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseNumericLiteral(NumericLiteral object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Infinity Literal'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Infinity Literal'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseInfinityLiteral(InfinityLiteral object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Empty Interval Literal'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Empty Interval Literal'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseEmptyIntervalLiteral(EmptyIntervalLiteral object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'String Literal'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'String Literal'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseStringLiteral(StringLiteral object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Class Definition'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Class Definition'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseClassDefinition(ClassDefinition object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Member Definition'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Member Definition'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseMemberDefinition(MemberDefinition object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Multiplicity'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Multiplicity'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseMultiplicity(Multiplicity object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Many Multiplicity'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Many Multiplicity'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseManyMultiplicity(ManyMultiplicity object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Exact Multiplicity'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Exact Multiplicity'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseExactMultiplicity(ExactMultiplicity object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Bounded Multiplicity'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Bounded Multiplicity'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseBoundedMultiplicity(BoundedMultiplicity object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Scope Definition'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Scope Definition'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseScopeDefinition(ScopeDefinition object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Exact Scope Definition'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Exact Scope Definition'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseExactScopeDefinition(ExactScopeDefinition object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Bounded Scope Definition'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Bounded Scope Definition'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseBoundedScopeDefinition(BoundedScopeDefinition object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Lower Bounded Scope Definition'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Lower Bounded Scope Definition'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseLowerBoundedScopeDefinition(LowerBoundedScopeDefinition object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Objective Definition'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Objective Definition'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseObjectiveDefinition(ObjectiveDefinition object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Named Element'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Named Element'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseNamedElement(NamedElement object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Assertion'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Assertion'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseAssertion(Assertion object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Disjunction'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Disjunction'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseDisjunction(Disjunction object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Switch'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Switch'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseSwitch(org.eclipse.viatra.solver.language.solverLanguage.Switch object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Conjunction'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Conjunction'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseConjunction(Conjunction object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Comparison'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Comparison'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseComparison(Comparison object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Binary Expression'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Binary Expression'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseBinaryExpression(BinaryExpression object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Unary Expression'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Unary Expression'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseUnaryExpression(UnaryExpression object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'EObject'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch, but this is the last case anyway. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'EObject'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) - * @generated - */ - @Override - public T defaultCase(EObject object) - { - return null; - } - -} //SolverLanguageSwitch diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/validation/AbstractSolverLanguageValidator.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/validation/AbstractSolverLanguageValidator.java index 55314a22..1bcc7538 100644 --- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/validation/AbstractSolverLanguageValidator.java +++ b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/validation/AbstractSolverLanguageValidator.java @@ -13,7 +13,7 @@ public abstract class AbstractSolverLanguageValidator extends AbstractDeclarativ @Override protected List getEPackages() { List result = new ArrayList(); - result.add(org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage.eINSTANCE); + result.add(EPackage.Registry.INSTANCE.getEPackage("http://www.eclipse.org/viatra/solver/language/SolverLanguage")); return result; } } diff --git a/Application/org.eclipse.viatra.solver.language/src/org/eclipse/viatra/solver/language/GenerateSolverLanguage.mwe2 b/Application/org.eclipse.viatra.solver.language/src/org/eclipse/viatra/solver/language/GenerateSolverLanguage.mwe2 index 7f95e737..50072f0d 100644 --- a/Application/org.eclipse.viatra.solver.language/src/org/eclipse/viatra/solver/language/GenerateSolverLanguage.mwe2 +++ b/Application/org.eclipse.viatra.solver.language/src/org/eclipse/viatra/solver/language/GenerateSolverLanguage.mwe2 @@ -32,6 +32,7 @@ Workflow { language = StandardLanguage { name = "org.eclipse.viatra.solver.language.SolverLanguage" fileExtensions = "vsc" + referencedResource = "platform:/resource/org.eclipse.viatra.solver.language/model/SolverLanguage.genmodel" serializer = { generateStub = false diff --git a/Application/org.eclipse.viatra.solver.language/src/org/eclipse/viatra/solver/language/SolverLanguage.xtext b/Application/org.eclipse.viatra.solver.language/src/org/eclipse/viatra/solver/language/SolverLanguage.xtext index 1306b626..d0578d78 100644 --- a/Application/org.eclipse.viatra.solver.language/src/org/eclipse/viatra/solver/language/SolverLanguage.xtext +++ b/Application/org.eclipse.viatra.solver.language/src/org/eclipse/viatra/solver/language/SolverLanguage.xtext @@ -1,22 +1,23 @@ grammar org.eclipse.viatra.solver.language.SolverLanguage with org.eclipse.xtext.common.Terminals import "http://www.eclipse.org/emf/2002/Ecore" as ecore -generate solverLanguage "http://www.eclipse.org/viatra/solver/language/SolverLanguage" +import "http://www.eclipse.org/viatra/solver/language/SolverLanguage" Problem: (statements+=Statement)*; Statement: ( - AssertionOrDefinition | PredicateDefinition | UnnamedErrorPrediateDefinition | DefaultDefinition | ExternPredicateDefinition | - MetricDefinition | ExternMetricDefinition | ClassDefinition | ScopeDefinition | ObjectiveDefinition + AssertionOrDefinition | PredicateDefinition | UnnamedErrorPrediateDefinition | DefaultDefinition | MetricDefinition | + ExternPredicateDefinition | ExternMetricDefinition | ExternAggregatorDefinition | ExternDatatypeDefinition | + ClassDefinition | ScopeDefinition | ObjectiveDefinition ) FULL_STOP; AssertionOrDefinition returns Statement: Expression ( - {Assertion.body=current} (":" range=Expression)? | + {Interpretation.body=current} ":" range=Expression | {PredicateDefinition.head=current} ":-" body=Expression | {MetricDefinition.head=current} "=" body=Expression - ); + )?; PredicateDefinition: (functional?="functional" error?="error"? | error?="error" functional?="functional"?) head=Call ":-" body=Expression; @@ -27,24 +28,42 @@ UnnamedErrorPrediateDefinition: DefaultDefinition: "default" head=Call ":" range=Expression; +MetricDefinition: + type=[NamedElement|QualifiedName] head=Call "=" body=Expression; + ExternPredicateDefinition: - "extern" head=Call; + "extern" name=QualifiedName argumentList=ArgumentList; -enum MetricType: - INT="int" | REAL="real"; +ExternMetricDefinition: + "extern" type=[NamedElement|QualifiedName] name=QualifiedName argumentList=ArgumentList; -MetricDefinition: - type=MetricType head=Expression "=" body=Expression; +ExternAggregatorDefinition: + "extern" type=[NamedElement|QualifiedName] name=QualifiedName "{" inputType=[NamedElement|QualifiedName] "..." "}"; -ExternMetricDefinition: - "extern" type=MetricType head=Call; +ExternDatatypeDefinition: + "extern" "datatype" name=QualifiedName ("extends" supertypes+=[NamedElement|QualifiedName] ("," supertypes+=[NamedElement|QualifiedName])*); + +Variable: + type=[NamedElement|QualifiedName]? name=ID; Expression: - IfElse | DisjunctiveExpression; + IfElse | Let | ImplicationExpression; IfElse: "if" condition=Expression "then" then=Expression "else" else=Expression; +Let: + "let" bindings+=LetBinding ("," bindings+=LetBinding)* "in" body=Expression; + +LetBinding: + variable=Variable "=" value=AdditiveExpression; + +enum ImplicationOperator returns BinaryOperator: + IMPLIES = "=>"; + +ImplicationExpression returns Expression: + DisjunctiveExpression ({BinaryExpression.left=current} op=ImplicationOperator right=ImplicationExpression)?; + DisjunctiveExpression returns Expression: ConjunctiveExpression ( {Disjunction.children+=current} (";" children+=ConjunctiveExpression)+ | @@ -57,9 +76,6 @@ Case: ConjunctiveExpression returns Expression: ComparisonExpression ({Conjunction.children+=current} ("," children+=ComparisonExpression)+)?; -enum BinaryOperator: - EQ | NOT_EQ | LESS | LESS_EQ | GREATER | GREATER_EQ | IN | ADD | SUB | MUL | DIV | POW; - enum ComparisonOperator returns BinaryOperator: EQ="==" | NOT_EQ="!=" | LESS="<" | LESS_EQ="<=" | GREATER=">" | GREATER_EQ=">=" | IN="in"; @@ -82,7 +98,10 @@ enum ExponentialOp returns BinaryOperator: POW="^"; ExponentialExpression returns Expression: - UnaryExpression ({BinaryExpression.left=current} op=ExponentialOp right=ExponentialExpression)?; + CastExpression ({BinaryExpression.left=current} op=ExponentialOp right=CastExpression)?; + +CastExpression returns Expression: + UnaryExpression ({CastExpression.body=current} "as" type=[NamedElement|QualifiedName])?; enum UnaryOp: NEG="!" | PLUS="+" | MINUS="-" | MAY="may" | MUST="must" | CURRENT="current"; @@ -91,16 +110,19 @@ UnaryExpression returns Expression: AggregationExpression | {UnaryExpression} op=UnaryOp body=AggregationExpression; AggregationExpression returns Expression: - AtomicExpression | Count | Aggregation; + AtomicExpression | QuantifiedExpression | Aggregation; -Count: - "count" "{" body=Expression "}"; +LocalVariables: + {LocalVariables} "[" (variables+=Variable ("," variables+=Variable)*)? "]"; -enum AggregationOp: - ONLY="only" | SUM="sum" | PROD="prod" | AVG="avg" | MIN="min" | MAX="max"; +enum Quantifier: + EXISTS="exists" | FORALL="forall" | COUNT="count"; + +QuantifiedExpression: + quantifier=Quantifier localVariables=LocalVariables? "{" body=Expression "}"; Aggregation: - op=AggregationOp "{" body=Expression "|" condition=Expression "}"; + op=[NamedElement|QualifiedName] localVariables=LocalVariables? "{" body=Expression ("|" condition=Expression)? "}"; AtomicExpression returns Expression: Reference | Call | Interval | Literal | "(" Expression ")"; @@ -224,7 +246,4 @@ terminal REFLEXIVE_TRANSITIVE_CLOSURE: terminal FULL_STOP: "synthetic:FULL_STOP"; - -NamedElement: - name=QualifiedName; diff --git a/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/parser/antlr/.SolverLanguageTokenDefInjectingParser.xtendbin b/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/parser/antlr/.SolverLanguageTokenDefInjectingParser.xtendbin index d833165e..c8d4144d 100644 Binary files a/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/parser/antlr/.SolverLanguageTokenDefInjectingParser.xtendbin and b/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/parser/antlr/.SolverLanguageTokenDefInjectingParser.xtendbin differ diff --git a/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/serializer/.SolverLanguageSyntheticTokenSyntacticSequencer.xtendbin b/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/serializer/.SolverLanguageSyntheticTokenSyntacticSequencer.xtendbin index ff3dff94..b16c52f7 100644 Binary files a/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/serializer/.SolverLanguageSyntheticTokenSyntacticSequencer.xtendbin and b/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/serializer/.SolverLanguageSyntheticTokenSyntacticSequencer.xtendbin differ diff --git a/Tests/MODELS2020-CaseStudies/case.study.familyTree.run/bin/queries/.FamilyTreeConstraints.java._trace b/Tests/MODELS2020-CaseStudies/case.study.familyTree.run/bin/queries/.FamilyTreeConstraints.java._trace index 364eae66..b000501e 100644 Binary files a/Tests/MODELS2020-CaseStudies/case.study.familyTree.run/bin/queries/.FamilyTreeConstraints.java._trace and b/Tests/MODELS2020-CaseStudies/case.study.familyTree.run/bin/queries/.FamilyTreeConstraints.java._trace differ diff --git a/Tests/MODELS2020-CaseStudies/case.study.familyTree.run/bin/queries/.MemberIsItsOwnParent.java._trace b/Tests/MODELS2020-CaseStudies/case.study.familyTree.run/bin/queries/.MemberIsItsOwnParent.java._trace index 1b0dca98..aaf4d0c2 100644 Binary files a/Tests/MODELS2020-CaseStudies/case.study.familyTree.run/bin/queries/.MemberIsItsOwnParent.java._trace and b/Tests/MODELS2020-CaseStudies/case.study.familyTree.run/bin/queries/.MemberIsItsOwnParent.java._trace differ diff --git a/Tests/MODELS2020-CaseStudies/case.study.familyTree.run/bin/queries/.gitignore b/Tests/MODELS2020-CaseStudies/case.study.familyTree.run/bin/queries/.gitignore index 3be531f5..3b9ccef7 100644 --- a/Tests/MODELS2020-CaseStudies/case.study.familyTree.run/bin/queries/.gitignore +++ b/Tests/MODELS2020-CaseStudies/case.study.familyTree.run/bin/queries/.gitignore @@ -6,3 +6,4 @@ /.MemberHasNoParent.java._trace /.MemberHasParent.java._trace /.TwoMembersHaveNoParent.java._trace +/.NegativeAge.java._trace diff --git a/Tests/MODELS2020-CaseStudies/case.study.familyTree.run/bin/queries/familyTreeConstraints.vql b/Tests/MODELS2020-CaseStudies/case.study.familyTree.run/bin/queries/familyTreeConstraints.vql index e7b44f0b..fdbac640 100644 --- a/Tests/MODELS2020-CaseStudies/case.study.familyTree.run/bin/queries/familyTreeConstraints.vql +++ b/Tests/MODELS2020-CaseStudies/case.study.familyTree.run/bin/queries/familyTreeConstraints.vql @@ -9,25 +9,31 @@ pattern memberIsItsOwnParent(m: Member) = { m == p; } -//@Constraint(message="twoMembersHaveNoParent", severity="error", key={m1, m2}) -//pattern twoMembersHaveNoParent(m1:Member, m2:Member) = { -// neg find memberHasParent(m1); -// neg find memberHasParent(m2); -// m1 != m2; -//} -// -//pattern memberHasParent(m: Member) = { -// Member.parents(m, _); -//} -// -//@Constraint(message="parentTooYoung", severity="error", key={m, p}) -//pattern parentTooYoung(m: Member, p: Member) = { -// FamilyTree.members(_, m); -// Member.parents(m, p); -// Member.age(m, mAge); -// Member.age(p, pAge); -// check (mAge <= (pAge + 12)); -//} +@Constraint(message="twoMembersHaveNoParent", severity="error", key={m1, m2}) +pattern twoMembersHaveNoParent(m1:Member, m2:Member) = { + neg find memberHasParent(m1); + neg find memberHasParent(m2); + m1 != m2; +} + +pattern memberHasParent(m: Member) = { + Member.parents(m, _); +} + +@Constraint(message="negativeAge", severity="error",key={m}) +pattern negativeAge(m: Member) { + Member.age(m,mage); + check(mage<0); +} + +@Constraint(message="parentTooYoung", severity="error", key={c, p}) +pattern parentTooYoung(c: Member, p: Member) = { + FamilyTree.members(_, c); + Member.parents(c, p); + Member.age(c, cAge); + Member.age(p, pAge); + check (pAge <= (cAge + 12)); +} diff --git a/Tests/MODELS2020-CaseStudies/case.study.familyTree.run/plugin.xml b/Tests/MODELS2020-CaseStudies/case.study.familyTree.run/plugin.xml index b32b0215..4297ec89 100644 --- a/Tests/MODELS2020-CaseStudies/case.study.familyTree.run/plugin.xml +++ b/Tests/MODELS2020-CaseStudies/case.study.familyTree.run/plugin.xml @@ -1,7 +1,11 @@ - - - - - - - + + + + + + + + + + + diff --git a/Tests/MODELS2020-CaseStudies/case.study.familyTree.run/src-gen/queries/.FamilyTreeConstraints.java._trace b/Tests/MODELS2020-CaseStudies/case.study.familyTree.run/src-gen/queries/.FamilyTreeConstraints.java._trace index 364eae66..b000501e 100644 Binary files a/Tests/MODELS2020-CaseStudies/case.study.familyTree.run/src-gen/queries/.FamilyTreeConstraints.java._trace and b/Tests/MODELS2020-CaseStudies/case.study.familyTree.run/src-gen/queries/.FamilyTreeConstraints.java._trace differ diff --git a/Tests/MODELS2020-CaseStudies/case.study.familyTree.run/src-gen/queries/.MemberIsItsOwnParent.java._trace b/Tests/MODELS2020-CaseStudies/case.study.familyTree.run/src-gen/queries/.MemberIsItsOwnParent.java._trace index 1b0dca98..aaf4d0c2 100644 Binary files a/Tests/MODELS2020-CaseStudies/case.study.familyTree.run/src-gen/queries/.MemberIsItsOwnParent.java._trace and b/Tests/MODELS2020-CaseStudies/case.study.familyTree.run/src-gen/queries/.MemberIsItsOwnParent.java._trace differ diff --git a/Tests/MODELS2020-CaseStudies/case.study.familyTree.run/src-gen/queries/.gitignore b/Tests/MODELS2020-CaseStudies/case.study.familyTree.run/src-gen/queries/.gitignore index 3be531f5..3b9ccef7 100644 --- a/Tests/MODELS2020-CaseStudies/case.study.familyTree.run/src-gen/queries/.gitignore +++ b/Tests/MODELS2020-CaseStudies/case.study.familyTree.run/src-gen/queries/.gitignore @@ -6,3 +6,4 @@ /.MemberHasNoParent.java._trace /.MemberHasParent.java._trace /.TwoMembersHaveNoParent.java._trace +/.NegativeAge.java._trace diff --git a/Tests/MODELS2020-CaseStudies/case.study.familyTree.run/src-gen/queries/FamilyTreeConstraints.java b/Tests/MODELS2020-CaseStudies/case.study.familyTree.run/src-gen/queries/FamilyTreeConstraints.java index a5c375c6..1d991140 100644 --- a/Tests/MODELS2020-CaseStudies/case.study.familyTree.run/src-gen/queries/FamilyTreeConstraints.java +++ b/Tests/MODELS2020-CaseStudies/case.study.familyTree.run/src-gen/queries/FamilyTreeConstraints.java @@ -1,53 +1,97 @@ -/** - * Generated from platform:/resource/case.study.familyTree.run/src/queries/familyTreeConstraints.vql - */ -package queries; - -import org.eclipse.viatra.query.runtime.api.ViatraQueryEngine; -import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedPatternGroup; -import queries.MemberIsItsOwnParent; - -/** - * A pattern group formed of all public patterns defined in familyTreeConstraints.vql. - * - *

    Use the static instance as any {@link interface org.eclipse.viatra.query.runtime.api.IQueryGroup}, to conveniently prepare - * a VIATRA Query engine for matching all patterns originally defined in file familyTreeConstraints.vql, - * in order to achieve better performance than one-by-one on-demand matcher initialization. - * - *

    From package queries, the group contains the definition of the following patterns:

      - *
    • memberIsItsOwnParent
    • - *
    - * - * @see IQueryGroup - * - */ -@SuppressWarnings("all") -public final class FamilyTreeConstraints extends BaseGeneratedPatternGroup { - /** - * Access the pattern group. - * - * @return the singleton instance of the group - * @throws ViatraQueryRuntimeException if there was an error loading the generated code of pattern specifications - * - */ - public static FamilyTreeConstraints instance() { - if (INSTANCE == null) { - INSTANCE = new FamilyTreeConstraints(); - } - return INSTANCE; - } - - private static FamilyTreeConstraints INSTANCE; - - private FamilyTreeConstraints() { - querySpecifications.add(MemberIsItsOwnParent.instance()); - } - - public MemberIsItsOwnParent getMemberIsItsOwnParent() { - return MemberIsItsOwnParent.instance(); - } - - public MemberIsItsOwnParent.Matcher getMemberIsItsOwnParent(final ViatraQueryEngine engine) { - return MemberIsItsOwnParent.Matcher.on(engine); - } -} +/** + * Generated from platform:/resource/case.study.familyTree.run/src/queries/familyTreeConstraints.vql + */ +package queries; + +import org.eclipse.viatra.query.runtime.api.ViatraQueryEngine; +import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedPatternGroup; +import queries.MemberHasParent; +import queries.MemberIsItsOwnParent; +import queries.NegativeAge; +import queries.ParentTooYoung; +import queries.TwoMembersHaveNoParent; + +/** + * A pattern group formed of all public patterns defined in familyTreeConstraints.vql. + * + *

    Use the static instance as any {@link interface org.eclipse.viatra.query.runtime.api.IQueryGroup}, to conveniently prepare + * a VIATRA Query engine for matching all patterns originally defined in file familyTreeConstraints.vql, + * in order to achieve better performance than one-by-one on-demand matcher initialization. + * + *

    From package queries, the group contains the definition of the following patterns:

      + *
    • memberIsItsOwnParent
    • + *
    • twoMembersHaveNoParent
    • + *
    • memberHasParent
    • + *
    • negativeAge
    • + *
    • parentTooYoung
    • + *
    + * + * @see IQueryGroup + * + */ +@SuppressWarnings("all") +public final class FamilyTreeConstraints extends BaseGeneratedPatternGroup { + /** + * Access the pattern group. + * + * @return the singleton instance of the group + * @throws ViatraQueryRuntimeException if there was an error loading the generated code of pattern specifications + * + */ + public static FamilyTreeConstraints instance() { + if (INSTANCE == null) { + INSTANCE = new FamilyTreeConstraints(); + } + return INSTANCE; + } + + private static FamilyTreeConstraints INSTANCE; + + private FamilyTreeConstraints() { + querySpecifications.add(MemberIsItsOwnParent.instance()); + querySpecifications.add(TwoMembersHaveNoParent.instance()); + querySpecifications.add(MemberHasParent.instance()); + querySpecifications.add(NegativeAge.instance()); + querySpecifications.add(ParentTooYoung.instance()); + } + + public MemberIsItsOwnParent getMemberIsItsOwnParent() { + return MemberIsItsOwnParent.instance(); + } + + public MemberIsItsOwnParent.Matcher getMemberIsItsOwnParent(final ViatraQueryEngine engine) { + return MemberIsItsOwnParent.Matcher.on(engine); + } + + public TwoMembersHaveNoParent getTwoMembersHaveNoParent() { + return TwoMembersHaveNoParent.instance(); + } + + public TwoMembersHaveNoParent.Matcher getTwoMembersHaveNoParent(final ViatraQueryEngine engine) { + return TwoMembersHaveNoParent.Matcher.on(engine); + } + + public MemberHasParent getMemberHasParent() { + return MemberHasParent.instance(); + } + + public MemberHasParent.Matcher getMemberHasParent(final ViatraQueryEngine engine) { + return MemberHasParent.Matcher.on(engine); + } + + public NegativeAge getNegativeAge() { + return NegativeAge.instance(); + } + + public NegativeAge.Matcher getNegativeAge(final ViatraQueryEngine engine) { + return NegativeAge.Matcher.on(engine); + } + + public ParentTooYoung getParentTooYoung() { + return ParentTooYoung.instance(); + } + + public ParentTooYoung.Matcher getParentTooYoung(final ViatraQueryEngine engine) { + return ParentTooYoung.Matcher.on(engine); + } +} diff --git a/Tests/MODELS2020-CaseStudies/case.study.familyTree.run/src-gen/queries/MemberHasParent.java b/Tests/MODELS2020-CaseStudies/case.study.familyTree.run/src-gen/queries/MemberHasParent.java new file mode 100644 index 00000000..83bb4aac --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/case.study.familyTree.run/src-gen/queries/MemberHasParent.java @@ -0,0 +1,551 @@ +/** + * Generated from platform:/resource/case.study.familyTree.run/src/queries/familyTreeConstraints.vql + */ +package queries; + +import familytree.Member; +import java.util.Arrays; +import java.util.Collection; +import java.util.LinkedHashSet; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import java.util.Set; +import java.util.function.Consumer; +import java.util.stream.Collectors; +import java.util.stream.Stream; +import org.apache.log4j.Logger; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.viatra.query.runtime.api.IPatternMatch; +import org.eclipse.viatra.query.runtime.api.IQuerySpecification; +import org.eclipse.viatra.query.runtime.api.ViatraQueryEngine; +import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFPQuery; +import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFQuerySpecification; +import org.eclipse.viatra.query.runtime.api.impl.BaseMatcher; +import org.eclipse.viatra.query.runtime.api.impl.BasePatternMatch; +import org.eclipse.viatra.query.runtime.emf.types.EClassTransitiveInstancesKey; +import org.eclipse.viatra.query.runtime.emf.types.EStructuralFeatureInstancesKey; +import org.eclipse.viatra.query.runtime.matchers.backend.QueryEvaluationHint; +import org.eclipse.viatra.query.runtime.matchers.psystem.PBody; +import org.eclipse.viatra.query.runtime.matchers.psystem.PVariable; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.Equality; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.ExportedParameter; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicenumerables.TypeConstraint; +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameter; +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameterDirection; +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PVisibility; +import org.eclipse.viatra.query.runtime.matchers.tuple.Tuple; +import org.eclipse.viatra.query.runtime.matchers.tuple.Tuples; +import org.eclipse.viatra.query.runtime.util.ViatraQueryLoggingUtil; + +/** + * A pattern-specific query specification that can instantiate Matcher in a type-safe way. + * + *

    Original source: + *

    + *         pattern memberHasParent(m: Member) = {
    + *         	Member.parents(m, _);
    + *         }
    + * 
    + * + * @see Matcher + * @see Match + * + */ +@SuppressWarnings("all") +public final class MemberHasParent extends BaseGeneratedEMFQuerySpecification { + /** + * Pattern-specific match representation of the queries.memberHasParent pattern, + * to be used in conjunction with {@link Matcher}. + * + *

    Class fields correspond to parameters of the pattern. Fields with value null are considered unassigned. + * Each instance is a (possibly partial) substitution of pattern parameters, + * usable to represent a match of the pattern in the result of a query, + * or to specify the bound (fixed) input parameters when issuing a query. + * + * @see Matcher + * + */ + public static abstract class Match extends BasePatternMatch { + private Member fM; + + private static List parameterNames = makeImmutableList("m"); + + private Match(final Member pM) { + this.fM = pM; + } + + @Override + public Object get(final String parameterName) { + switch(parameterName) { + case "m": return this.fM; + default: return null; + } + } + + @Override + public Object get(final int index) { + switch(index) { + case 0: return this.fM; + default: return null; + } + } + + public Member getM() { + return this.fM; + } + + @Override + public boolean set(final String parameterName, final Object newValue) { + if (!isMutable()) throw new java.lang.UnsupportedOperationException(); + if ("m".equals(parameterName) ) { + this.fM = (Member) newValue; + return true; + } + return false; + } + + public void setM(final Member pM) { + if (!isMutable()) throw new java.lang.UnsupportedOperationException(); + this.fM = pM; + } + + @Override + public String patternName() { + return "queries.memberHasParent"; + } + + @Override + public List parameterNames() { + return MemberHasParent.Match.parameterNames; + } + + @Override + public Object[] toArray() { + return new Object[]{fM}; + } + + @Override + public MemberHasParent.Match toImmutable() { + return isMutable() ? newMatch(fM) : this; + } + + @Override + public String prettyPrint() { + StringBuilder result = new StringBuilder(); + result.append("\"m\"=" + prettyPrintValue(fM)); + return result.toString(); + } + + @Override + public int hashCode() { + return Objects.hash(fM); + } + + @Override + public boolean equals(final Object obj) { + if (this == obj) + return true; + if (obj == null) { + return false; + } + if ((obj instanceof MemberHasParent.Match)) { + MemberHasParent.Match other = (MemberHasParent.Match) obj; + return Objects.equals(fM, other.fM); + } else { + // this should be infrequent + if (!(obj instanceof IPatternMatch)) { + return false; + } + IPatternMatch otherSig = (IPatternMatch) obj; + return Objects.equals(specification(), otherSig.specification()) && Arrays.deepEquals(toArray(), otherSig.toArray()); + } + } + + @Override + public MemberHasParent specification() { + return MemberHasParent.instance(); + } + + /** + * Returns an empty, mutable match. + * Fields of the mutable match can be filled to create a partial match, usable as matcher input. + * + * @return the empty match. + * + */ + public static MemberHasParent.Match newEmptyMatch() { + return new Mutable(null); + } + + /** + * Returns a mutable (partial) match. + * Fields of the mutable match can be filled to create a partial match, usable as matcher input. + * + * @param pM the fixed value of pattern parameter m, or null if not bound. + * @return the new, mutable (partial) match object. + * + */ + public static MemberHasParent.Match newMutableMatch(final Member pM) { + return new Mutable(pM); + } + + /** + * Returns a new (partial) match. + * This can be used e.g. to call the matcher with a partial match. + *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. + * @param pM the fixed value of pattern parameter m, or null if not bound. + * @return the (partial) match object. + * + */ + public static MemberHasParent.Match newMatch(final Member pM) { + return new Immutable(pM); + } + + private static final class Mutable extends MemberHasParent.Match { + Mutable(final Member pM) { + super(pM); + } + + @Override + public boolean isMutable() { + return true; + } + } + + private static final class Immutable extends MemberHasParent.Match { + Immutable(final Member pM) { + super(pM); + } + + @Override + public boolean isMutable() { + return false; + } + } + } + + /** + * Generated pattern matcher API of the queries.memberHasParent pattern, + * providing pattern-specific query methods. + * + *

    Use the pattern matcher on a given model via {@link #on(ViatraQueryEngine)}, + * e.g. in conjunction with {@link ViatraQueryEngine#on(QueryScope)}. + * + *

    Matches of the pattern will be represented as {@link Match}. + * + *

    Original source: + *

    +   * pattern memberHasParent(m: Member) = {
    +   * 	Member.parents(m, _);
    +   * }
    +   * 
    + * + * @see Match + * @see MemberHasParent + * + */ + public static class Matcher extends BaseMatcher { + /** + * Initializes the pattern matcher within an existing VIATRA Query engine. + * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. + * + * @param engine the existing VIATRA Query engine in which this matcher will be created. + * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation + * + */ + public static MemberHasParent.Matcher on(final ViatraQueryEngine engine) { + // check if matcher already exists + Matcher matcher = engine.getExistingMatcher(querySpecification()); + if (matcher == null) { + matcher = (Matcher)engine.getMatcher(querySpecification()); + } + return matcher; + } + + /** + * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation + * @return an initialized matcher + * @noreference This method is for internal matcher initialization by the framework, do not call it manually. + * + */ + public static MemberHasParent.Matcher create() { + return new Matcher(); + } + + private static final int POSITION_M = 0; + + private static final Logger LOGGER = ViatraQueryLoggingUtil.getLogger(MemberHasParent.Matcher.class); + + /** + * Initializes the pattern matcher within an existing VIATRA Query engine. + * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. + * + * @param engine the existing VIATRA Query engine in which this matcher will be created. + * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation + * + */ + private Matcher() { + super(querySpecification()); + } + + /** + * Returns the set of all matches of the pattern that conform to the given fixed values of some parameters. + * @param pM the fixed value of pattern parameter m, or null if not bound. + * @return matches represented as a Match object. + * + */ + public Collection getAllMatches(final Member pM) { + return rawStreamAllMatches(new Object[]{pM}).collect(Collectors.toSet()); + } + + /** + * Returns a stream of all matches of the pattern that conform to the given fixed values of some parameters. + *

    + * NOTE: It is important not to modify the source model while the stream is being processed. + * If the match set of the pattern changes during processing, the contents of the stream is undefined. + * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. + * @param pM the fixed value of pattern parameter m, or null if not bound. + * @return a stream of matches represented as a Match object. + * + */ + public Stream streamAllMatches(final Member pM) { + return rawStreamAllMatches(new Object[]{pM}); + } + + /** + * Returns an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. + * Neither determinism nor randomness of selection is guaranteed. + * @param pM the fixed value of pattern parameter m, or null if not bound. + * @return a match represented as a Match object, or null if no match is found. + * + */ + public Optional getOneArbitraryMatch(final Member pM) { + return rawGetOneArbitraryMatch(new Object[]{pM}); + } + + /** + * Indicates whether the given combination of specified pattern parameters constitute a valid pattern match, + * under any possible substitution of the unspecified parameters (if any). + * @param pM the fixed value of pattern parameter m, or null if not bound. + * @return true if the input is a valid (partial) match of the pattern. + * + */ + public boolean hasMatch(final Member pM) { + return rawHasMatch(new Object[]{pM}); + } + + /** + * Returns the number of all matches of the pattern that conform to the given fixed values of some parameters. + * @param pM the fixed value of pattern parameter m, or null if not bound. + * @return the number of pattern matches found. + * + */ + public int countMatches(final Member pM) { + return rawCountMatches(new Object[]{pM}); + } + + /** + * Executes the given processor on an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. + * Neither determinism nor randomness of selection is guaranteed. + * @param pM the fixed value of pattern parameter m, or null if not bound. + * @param processor the action that will process the selected match. + * @return true if the pattern has at least one match with the given parameter values, false if the processor was not invoked + * + */ + public boolean forOneArbitraryMatch(final Member pM, final Consumer processor) { + return rawForOneArbitraryMatch(new Object[]{pM}, processor); + } + + /** + * Returns a new (partial) match. + * This can be used e.g. to call the matcher with a partial match. + *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. + * @param pM the fixed value of pattern parameter m, or null if not bound. + * @return the (partial) match object. + * + */ + public MemberHasParent.Match newMatch(final Member pM) { + return MemberHasParent.Match.newMatch(pM); + } + + /** + * Retrieve the set of values that occur in matches for m. + * @return the Set of all values or empty set if there are no matches + * + */ + protected Stream rawStreamAllValuesOfm(final Object[] parameters) { + return rawStreamAllValues(POSITION_M, parameters).map(Member.class::cast); + } + + /** + * Retrieve the set of values that occur in matches for m. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOfm() { + return rawStreamAllValuesOfm(emptyArray()).collect(Collectors.toSet()); + } + + /** + * Retrieve the set of values that occur in matches for m. + * @return the Set of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOfm() { + return rawStreamAllValuesOfm(emptyArray()); + } + + @Override + protected MemberHasParent.Match tupleToMatch(final Tuple t) { + try { + return MemberHasParent.Match.newMatch((Member) t.get(POSITION_M)); + } catch(ClassCastException e) { + LOGGER.error("Element(s) in tuple not properly typed!",e); + return null; + } + } + + @Override + protected MemberHasParent.Match arrayToMatch(final Object[] match) { + try { + return MemberHasParent.Match.newMatch((Member) match[POSITION_M]); + } catch(ClassCastException e) { + LOGGER.error("Element(s) in array not properly typed!",e); + return null; + } + } + + @Override + protected MemberHasParent.Match arrayToMatchMutable(final Object[] match) { + try { + return MemberHasParent.Match.newMutableMatch((Member) match[POSITION_M]); + } catch(ClassCastException e) { + LOGGER.error("Element(s) in array not properly typed!",e); + return null; + } + } + + /** + * @return the singleton instance of the query specification of this pattern + * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded + * + */ + public static IQuerySpecification querySpecification() { + return MemberHasParent.instance(); + } + } + + private MemberHasParent() { + super(GeneratedPQuery.INSTANCE); + } + + /** + * @return the singleton instance of the query specification + * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded + * + */ + public static MemberHasParent instance() { + try{ + return LazyHolder.INSTANCE; + } catch (ExceptionInInitializerError err) { + throw processInitializerError(err); + } + } + + @Override + protected MemberHasParent.Matcher instantiate(final ViatraQueryEngine engine) { + return MemberHasParent.Matcher.on(engine); + } + + @Override + public MemberHasParent.Matcher instantiate() { + return MemberHasParent.Matcher.create(); + } + + @Override + public MemberHasParent.Match newEmptyMatch() { + return MemberHasParent.Match.newEmptyMatch(); + } + + @Override + public MemberHasParent.Match newMatch(final Object... parameters) { + return MemberHasParent.Match.newMatch((familytree.Member) parameters[0]); + } + + /** + * Inner class allowing the singleton instance of {@link MemberHasParent} to be created + * not at the class load time of the outer class, + * but rather at the first call to {@link MemberHasParent#instance()}. + * + *

    This workaround is required e.g. to support recursion. + * + */ + private static class LazyHolder { + private static final MemberHasParent INSTANCE = new MemberHasParent(); + + /** + * Statically initializes the query specification after the field {@link #INSTANCE} is assigned. + * This initialization order is required to support indirect recursion. + * + *

    The static initializer is defined using a helper field to work around limitations of the code generator. + * + */ + private static final Object STATIC_INITIALIZER = ensureInitialized(); + + public static Object ensureInitialized() { + INSTANCE.ensureInitializedInternal(); + return null; + } + } + + private static class GeneratedPQuery extends BaseGeneratedEMFPQuery { + private static final MemberHasParent.GeneratedPQuery INSTANCE = new GeneratedPQuery(); + + private final PParameter parameter_m = new PParameter("m", "familytree.Member", new EClassTransitiveInstancesKey((EClass)getClassifierLiteralSafe("http://www.example.org/familytree", "Member")), PParameterDirection.INOUT); + + private final List parameters = Arrays.asList(parameter_m); + + private GeneratedPQuery() { + super(PVisibility.PUBLIC); + } + + @Override + public String getFullyQualifiedName() { + return "queries.memberHasParent"; + } + + @Override + public List getParameterNames() { + return Arrays.asList("m"); + } + + @Override + public List getParameters() { + return parameters; + } + + @Override + public Set doGetContainedBodies() { + setEvaluationHints(new QueryEvaluationHint(null, QueryEvaluationHint.BackendRequirement.UNSPECIFIED)); + Set bodies = new LinkedHashSet<>(); + { + PBody body = new PBody(this); + PVariable var_m = body.getOrCreateVariableByName("m"); + PVariable var___0_ = body.getOrCreateVariableByName("_<0>"); + new TypeConstraint(body, Tuples.flatTupleOf(var_m), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.example.org/familytree", "Member"))); + body.setSymbolicParameters(Arrays.asList( + new ExportedParameter(body, var_m, parameter_m) + )); + // Member.parents(m, _) + new TypeConstraint(body, Tuples.flatTupleOf(var_m), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.example.org/familytree", "Member"))); + PVariable var__virtual_0_ = body.getOrCreateVariableByName(".virtual{0}"); + new TypeConstraint(body, Tuples.flatTupleOf(var_m, var__virtual_0_), new EStructuralFeatureInstancesKey(getFeatureLiteral("http://www.example.org/familytree", "Member", "parents"))); + new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_0_), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.example.org/familytree", "Member"))); + new Equality(body, var__virtual_0_, var___0_); + bodies.add(body); + } + return bodies; + } + } +} diff --git a/Tests/MODELS2020-CaseStudies/case.study.familyTree.run/src-gen/queries/MemberIsItsOwnParent.java b/Tests/MODELS2020-CaseStudies/case.study.familyTree.run/src-gen/queries/MemberIsItsOwnParent.java index 67cdafb5..63cb882d 100644 --- a/Tests/MODELS2020-CaseStudies/case.study.familyTree.run/src-gen/queries/MemberIsItsOwnParent.java +++ b/Tests/MODELS2020-CaseStudies/case.study.familyTree.run/src-gen/queries/MemberIsItsOwnParent.java @@ -1,577 +1,577 @@ -/** - * Generated from platform:/resource/case.study.familyTree.run/src/queries/familyTreeConstraints.vql - */ -package queries; - -import familytree.Member; -import java.util.Arrays; -import java.util.Collection; -import java.util.LinkedHashSet; -import java.util.List; -import java.util.Objects; -import java.util.Optional; -import java.util.Set; -import java.util.function.Consumer; -import java.util.stream.Collectors; -import java.util.stream.Stream; -import org.apache.log4j.Logger; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.viatra.query.runtime.api.IPatternMatch; -import org.eclipse.viatra.query.runtime.api.IQuerySpecification; -import org.eclipse.viatra.query.runtime.api.ViatraQueryEngine; -import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFPQuery; -import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFQuerySpecification; -import org.eclipse.viatra.query.runtime.api.impl.BaseMatcher; -import org.eclipse.viatra.query.runtime.api.impl.BasePatternMatch; -import org.eclipse.viatra.query.runtime.emf.types.EClassTransitiveInstancesKey; -import org.eclipse.viatra.query.runtime.emf.types.EStructuralFeatureInstancesKey; -import org.eclipse.viatra.query.runtime.matchers.backend.QueryEvaluationHint; -import org.eclipse.viatra.query.runtime.matchers.psystem.PBody; -import org.eclipse.viatra.query.runtime.matchers.psystem.PVariable; -import org.eclipse.viatra.query.runtime.matchers.psystem.annotations.PAnnotation; -import org.eclipse.viatra.query.runtime.matchers.psystem.annotations.ParameterReference; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.Equality; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.ExportedParameter; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicenumerables.TypeConstraint; -import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameter; -import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameterDirection; -import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PVisibility; -import org.eclipse.viatra.query.runtime.matchers.tuple.Tuple; -import org.eclipse.viatra.query.runtime.matchers.tuple.Tuples; -import org.eclipse.viatra.query.runtime.util.ViatraQueryLoggingUtil; - -/** - * A pattern-specific query specification that can instantiate Matcher in a type-safe way. - * - *

    Original source: - *

    - *         {@literal @}Constraint(message="memberIsItsOwnParent", severity="error", key={m})
    - *         pattern memberIsItsOwnParent(m: Member) = {
    - *         	FamilyTree.members(_, m);
    - *         	Member.parents(m, p);
    - *         	m == p;
    - *         }
    - * 
    - * - * @see Matcher - * @see Match - * - */ -@SuppressWarnings("all") -public final class MemberIsItsOwnParent extends BaseGeneratedEMFQuerySpecification { - /** - * Pattern-specific match representation of the queries.memberIsItsOwnParent pattern, - * to be used in conjunction with {@link Matcher}. - * - *

    Class fields correspond to parameters of the pattern. Fields with value null are considered unassigned. - * Each instance is a (possibly partial) substitution of pattern parameters, - * usable to represent a match of the pattern in the result of a query, - * or to specify the bound (fixed) input parameters when issuing a query. - * - * @see Matcher - * - */ - public static abstract class Match extends BasePatternMatch { - private Member fM; - - private static List parameterNames = makeImmutableList("m"); - - private Match(final Member pM) { - this.fM = pM; - } - - @Override - public Object get(final String parameterName) { - switch(parameterName) { - case "m": return this.fM; - default: return null; - } - } - - @Override - public Object get(final int index) { - switch(index) { - case 0: return this.fM; - default: return null; - } - } - - public Member getM() { - return this.fM; - } - - @Override - public boolean set(final String parameterName, final Object newValue) { - if (!isMutable()) throw new java.lang.UnsupportedOperationException(); - if ("m".equals(parameterName) ) { - this.fM = (Member) newValue; - return true; - } - return false; - } - - public void setM(final Member pM) { - if (!isMutable()) throw new java.lang.UnsupportedOperationException(); - this.fM = pM; - } - - @Override - public String patternName() { - return "queries.memberIsItsOwnParent"; - } - - @Override - public List parameterNames() { - return MemberIsItsOwnParent.Match.parameterNames; - } - - @Override - public Object[] toArray() { - return new Object[]{fM}; - } - - @Override - public MemberIsItsOwnParent.Match toImmutable() { - return isMutable() ? newMatch(fM) : this; - } - - @Override - public String prettyPrint() { - StringBuilder result = new StringBuilder(); - result.append("\"m\"=" + prettyPrintValue(fM)); - return result.toString(); - } - - @Override - public int hashCode() { - return Objects.hash(fM); - } - - @Override - public boolean equals(final Object obj) { - if (this == obj) - return true; - if (obj == null) { - return false; - } - if ((obj instanceof MemberIsItsOwnParent.Match)) { - MemberIsItsOwnParent.Match other = (MemberIsItsOwnParent.Match) obj; - return Objects.equals(fM, other.fM); - } else { - // this should be infrequent - if (!(obj instanceof IPatternMatch)) { - return false; - } - IPatternMatch otherSig = (IPatternMatch) obj; - return Objects.equals(specification(), otherSig.specification()) && Arrays.deepEquals(toArray(), otherSig.toArray()); - } - } - - @Override - public MemberIsItsOwnParent specification() { - return MemberIsItsOwnParent.instance(); - } - - /** - * Returns an empty, mutable match. - * Fields of the mutable match can be filled to create a partial match, usable as matcher input. - * - * @return the empty match. - * - */ - public static MemberIsItsOwnParent.Match newEmptyMatch() { - return new Mutable(null); - } - - /** - * Returns a mutable (partial) match. - * Fields of the mutable match can be filled to create a partial match, usable as matcher input. - * - * @param pM the fixed value of pattern parameter m, or null if not bound. - * @return the new, mutable (partial) match object. - * - */ - public static MemberIsItsOwnParent.Match newMutableMatch(final Member pM) { - return new Mutable(pM); - } - - /** - * Returns a new (partial) match. - * This can be used e.g. to call the matcher with a partial match. - *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. - * @param pM the fixed value of pattern parameter m, or null if not bound. - * @return the (partial) match object. - * - */ - public static MemberIsItsOwnParent.Match newMatch(final Member pM) { - return new Immutable(pM); - } - - private static final class Mutable extends MemberIsItsOwnParent.Match { - Mutable(final Member pM) { - super(pM); - } - - @Override - public boolean isMutable() { - return true; - } - } - - private static final class Immutable extends MemberIsItsOwnParent.Match { - Immutable(final Member pM) { - super(pM); - } - - @Override - public boolean isMutable() { - return false; - } - } - } - - /** - * Generated pattern matcher API of the queries.memberIsItsOwnParent pattern, - * providing pattern-specific query methods. - * - *

    Use the pattern matcher on a given model via {@link #on(ViatraQueryEngine)}, - * e.g. in conjunction with {@link ViatraQueryEngine#on(QueryScope)}. - * - *

    Matches of the pattern will be represented as {@link Match}. - * - *

    Original source: - *

    -   * {@literal @}Constraint(message="memberIsItsOwnParent", severity="error", key={m})
    -   * pattern memberIsItsOwnParent(m: Member) = {
    -   * 	FamilyTree.members(_, m);
    -   * 	Member.parents(m, p);
    -   * 	m == p;
    -   * }
    -   * 
    - * - * @see Match - * @see MemberIsItsOwnParent - * - */ - public static class Matcher extends BaseMatcher { - /** - * Initializes the pattern matcher within an existing VIATRA Query engine. - * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. - * - * @param engine the existing VIATRA Query engine in which this matcher will be created. - * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation - * - */ - public static MemberIsItsOwnParent.Matcher on(final ViatraQueryEngine engine) { - // check if matcher already exists - Matcher matcher = engine.getExistingMatcher(querySpecification()); - if (matcher == null) { - matcher = (Matcher)engine.getMatcher(querySpecification()); - } - return matcher; - } - - /** - * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation - * @return an initialized matcher - * @noreference This method is for internal matcher initialization by the framework, do not call it manually. - * - */ - public static MemberIsItsOwnParent.Matcher create() { - return new Matcher(); - } - - private static final int POSITION_M = 0; - - private static final Logger LOGGER = ViatraQueryLoggingUtil.getLogger(MemberIsItsOwnParent.Matcher.class); - - /** - * Initializes the pattern matcher within an existing VIATRA Query engine. - * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. - * - * @param engine the existing VIATRA Query engine in which this matcher will be created. - * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation - * - */ - private Matcher() { - super(querySpecification()); - } - - /** - * Returns the set of all matches of the pattern that conform to the given fixed values of some parameters. - * @param pM the fixed value of pattern parameter m, or null if not bound. - * @return matches represented as a Match object. - * - */ - public Collection getAllMatches(final Member pM) { - return rawStreamAllMatches(new Object[]{pM}).collect(Collectors.toSet()); - } - - /** - * Returns a stream of all matches of the pattern that conform to the given fixed values of some parameters. - *

    - * NOTE: It is important not to modify the source model while the stream is being processed. - * If the match set of the pattern changes during processing, the contents of the stream is undefined. - * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. - * @param pM the fixed value of pattern parameter m, or null if not bound. - * @return a stream of matches represented as a Match object. - * - */ - public Stream streamAllMatches(final Member pM) { - return rawStreamAllMatches(new Object[]{pM}); - } - - /** - * Returns an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. - * Neither determinism nor randomness of selection is guaranteed. - * @param pM the fixed value of pattern parameter m, or null if not bound. - * @return a match represented as a Match object, or null if no match is found. - * - */ - public Optional getOneArbitraryMatch(final Member pM) { - return rawGetOneArbitraryMatch(new Object[]{pM}); - } - - /** - * Indicates whether the given combination of specified pattern parameters constitute a valid pattern match, - * under any possible substitution of the unspecified parameters (if any). - * @param pM the fixed value of pattern parameter m, or null if not bound. - * @return true if the input is a valid (partial) match of the pattern. - * - */ - public boolean hasMatch(final Member pM) { - return rawHasMatch(new Object[]{pM}); - } - - /** - * Returns the number of all matches of the pattern that conform to the given fixed values of some parameters. - * @param pM the fixed value of pattern parameter m, or null if not bound. - * @return the number of pattern matches found. - * - */ - public int countMatches(final Member pM) { - return rawCountMatches(new Object[]{pM}); - } - - /** - * Executes the given processor on an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. - * Neither determinism nor randomness of selection is guaranteed. - * @param pM the fixed value of pattern parameter m, or null if not bound. - * @param processor the action that will process the selected match. - * @return true if the pattern has at least one match with the given parameter values, false if the processor was not invoked - * - */ - public boolean forOneArbitraryMatch(final Member pM, final Consumer processor) { - return rawForOneArbitraryMatch(new Object[]{pM}, processor); - } - - /** - * Returns a new (partial) match. - * This can be used e.g. to call the matcher with a partial match. - *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. - * @param pM the fixed value of pattern parameter m, or null if not bound. - * @return the (partial) match object. - * - */ - public MemberIsItsOwnParent.Match newMatch(final Member pM) { - return MemberIsItsOwnParent.Match.newMatch(pM); - } - - /** - * Retrieve the set of values that occur in matches for m. - * @return the Set of all values or empty set if there are no matches - * - */ - protected Stream rawStreamAllValuesOfm(final Object[] parameters) { - return rawStreamAllValues(POSITION_M, parameters).map(Member.class::cast); - } - - /** - * Retrieve the set of values that occur in matches for m. - * @return the Set of all values or empty set if there are no matches - * - */ - public Set getAllValuesOfm() { - return rawStreamAllValuesOfm(emptyArray()).collect(Collectors.toSet()); - } - - /** - * Retrieve the set of values that occur in matches for m. - * @return the Set of all values or empty set if there are no matches - * - */ - public Stream streamAllValuesOfm() { - return rawStreamAllValuesOfm(emptyArray()); - } - - @Override - protected MemberIsItsOwnParent.Match tupleToMatch(final Tuple t) { - try { - return MemberIsItsOwnParent.Match.newMatch((Member) t.get(POSITION_M)); - } catch(ClassCastException e) { - LOGGER.error("Element(s) in tuple not properly typed!",e); - return null; - } - } - - @Override - protected MemberIsItsOwnParent.Match arrayToMatch(final Object[] match) { - try { - return MemberIsItsOwnParent.Match.newMatch((Member) match[POSITION_M]); - } catch(ClassCastException e) { - LOGGER.error("Element(s) in array not properly typed!",e); - return null; - } - } - - @Override - protected MemberIsItsOwnParent.Match arrayToMatchMutable(final Object[] match) { - try { - return MemberIsItsOwnParent.Match.newMutableMatch((Member) match[POSITION_M]); - } catch(ClassCastException e) { - LOGGER.error("Element(s) in array not properly typed!",e); - return null; - } - } - - /** - * @return the singleton instance of the query specification of this pattern - * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded - * - */ - public static IQuerySpecification querySpecification() { - return MemberIsItsOwnParent.instance(); - } - } - - private MemberIsItsOwnParent() { - super(GeneratedPQuery.INSTANCE); - } - - /** - * @return the singleton instance of the query specification - * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded - * - */ - public static MemberIsItsOwnParent instance() { - try{ - return LazyHolder.INSTANCE; - } catch (ExceptionInInitializerError err) { - throw processInitializerError(err); - } - } - - @Override - protected MemberIsItsOwnParent.Matcher instantiate(final ViatraQueryEngine engine) { - return MemberIsItsOwnParent.Matcher.on(engine); - } - - @Override - public MemberIsItsOwnParent.Matcher instantiate() { - return MemberIsItsOwnParent.Matcher.create(); - } - - @Override - public MemberIsItsOwnParent.Match newEmptyMatch() { - return MemberIsItsOwnParent.Match.newEmptyMatch(); - } - - @Override - public MemberIsItsOwnParent.Match newMatch(final Object... parameters) { - return MemberIsItsOwnParent.Match.newMatch((familytree.Member) parameters[0]); - } - - /** - * Inner class allowing the singleton instance of {@link MemberIsItsOwnParent} to be created - * not at the class load time of the outer class, - * but rather at the first call to {@link MemberIsItsOwnParent#instance()}. - * - *

    This workaround is required e.g. to support recursion. - * - */ - private static class LazyHolder { - private static final MemberIsItsOwnParent INSTANCE = new MemberIsItsOwnParent(); - - /** - * Statically initializes the query specification after the field {@link #INSTANCE} is assigned. - * This initialization order is required to support indirect recursion. - * - *

    The static initializer is defined using a helper field to work around limitations of the code generator. - * - */ - private static final Object STATIC_INITIALIZER = ensureInitialized(); - - public static Object ensureInitialized() { - INSTANCE.ensureInitializedInternal(); - return null; - } - } - - private static class GeneratedPQuery extends BaseGeneratedEMFPQuery { - private static final MemberIsItsOwnParent.GeneratedPQuery INSTANCE = new GeneratedPQuery(); - - private final PParameter parameter_m = new PParameter("m", "familytree.Member", new EClassTransitiveInstancesKey((EClass)getClassifierLiteralSafe("http://www.example.org/familytree", "Member")), PParameterDirection.INOUT); - - private final List parameters = Arrays.asList(parameter_m); - - private GeneratedPQuery() { - super(PVisibility.PUBLIC); - } - - @Override - public String getFullyQualifiedName() { - return "queries.memberIsItsOwnParent"; - } - - @Override - public List getParameterNames() { - return Arrays.asList("m"); - } - - @Override - public List getParameters() { - return parameters; - } - - @Override - public Set doGetContainedBodies() { - setEvaluationHints(new QueryEvaluationHint(null, QueryEvaluationHint.BackendRequirement.UNSPECIFIED)); - Set bodies = new LinkedHashSet<>(); - { - PBody body = new PBody(this); - PVariable var_m = body.getOrCreateVariableByName("m"); - PVariable var___0_ = body.getOrCreateVariableByName("_<0>"); - PVariable var_p = body.getOrCreateVariableByName("p"); - new TypeConstraint(body, Tuples.flatTupleOf(var_m), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.example.org/familytree", "Member"))); - body.setSymbolicParameters(Arrays.asList( - new ExportedParameter(body, var_m, parameter_m) - )); - // FamilyTree.members(_, m) - new TypeConstraint(body, Tuples.flatTupleOf(var___0_), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.example.org/familytree", "FamilyTree"))); - PVariable var__virtual_0_ = body.getOrCreateVariableByName(".virtual{0}"); - new TypeConstraint(body, Tuples.flatTupleOf(var___0_, var__virtual_0_), new EStructuralFeatureInstancesKey(getFeatureLiteral("http://www.example.org/familytree", "FamilyTree", "members"))); - new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_0_), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.example.org/familytree", "Member"))); - new Equality(body, var__virtual_0_, var_m); - // Member.parents(m, p) - new TypeConstraint(body, Tuples.flatTupleOf(var_m), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.example.org/familytree", "Member"))); - PVariable var__virtual_1_ = body.getOrCreateVariableByName(".virtual{1}"); - new TypeConstraint(body, Tuples.flatTupleOf(var_m, var__virtual_1_), new EStructuralFeatureInstancesKey(getFeatureLiteral("http://www.example.org/familytree", "Member", "parents"))); - new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_1_), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.example.org/familytree", "Member"))); - new Equality(body, var__virtual_1_, var_p); - // m == p - new Equality(body, var_m, var_p); - bodies.add(body); - } - { - PAnnotation annotation = new PAnnotation("Constraint"); - annotation.addAttribute("message", "memberIsItsOwnParent"); - annotation.addAttribute("severity", "error"); - annotation.addAttribute("key", Arrays.asList(new Object[] { - new ParameterReference("m") - })); - addAnnotation(annotation); - } - return bodies; - } - } -} +/** + * Generated from platform:/resource/case.study.familyTree.run/src/queries/familyTreeConstraints.vql + */ +package queries; + +import familytree.Member; +import java.util.Arrays; +import java.util.Collection; +import java.util.LinkedHashSet; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import java.util.Set; +import java.util.function.Consumer; +import java.util.stream.Collectors; +import java.util.stream.Stream; +import org.apache.log4j.Logger; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.viatra.query.runtime.api.IPatternMatch; +import org.eclipse.viatra.query.runtime.api.IQuerySpecification; +import org.eclipse.viatra.query.runtime.api.ViatraQueryEngine; +import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFPQuery; +import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFQuerySpecification; +import org.eclipse.viatra.query.runtime.api.impl.BaseMatcher; +import org.eclipse.viatra.query.runtime.api.impl.BasePatternMatch; +import org.eclipse.viatra.query.runtime.emf.types.EClassTransitiveInstancesKey; +import org.eclipse.viatra.query.runtime.emf.types.EStructuralFeatureInstancesKey; +import org.eclipse.viatra.query.runtime.matchers.backend.QueryEvaluationHint; +import org.eclipse.viatra.query.runtime.matchers.psystem.PBody; +import org.eclipse.viatra.query.runtime.matchers.psystem.PVariable; +import org.eclipse.viatra.query.runtime.matchers.psystem.annotations.PAnnotation; +import org.eclipse.viatra.query.runtime.matchers.psystem.annotations.ParameterReference; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.Equality; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.ExportedParameter; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicenumerables.TypeConstraint; +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameter; +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameterDirection; +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PVisibility; +import org.eclipse.viatra.query.runtime.matchers.tuple.Tuple; +import org.eclipse.viatra.query.runtime.matchers.tuple.Tuples; +import org.eclipse.viatra.query.runtime.util.ViatraQueryLoggingUtil; + +/** + * A pattern-specific query specification that can instantiate Matcher in a type-safe way. + * + *

    Original source: + *

    + *         {@literal @}Constraint(message="memberIsItsOwnParent", severity="error", key={m})
    + *         pattern memberIsItsOwnParent(m: Member) = {
    + *         	FamilyTree.members(_, m);
    + *         	Member.parents(m, p);
    + *         	m == p;
    + *         }
    + * 
    + * + * @see Matcher + * @see Match + * + */ +@SuppressWarnings("all") +public final class MemberIsItsOwnParent extends BaseGeneratedEMFQuerySpecification { + /** + * Pattern-specific match representation of the queries.memberIsItsOwnParent pattern, + * to be used in conjunction with {@link Matcher}. + * + *

    Class fields correspond to parameters of the pattern. Fields with value null are considered unassigned. + * Each instance is a (possibly partial) substitution of pattern parameters, + * usable to represent a match of the pattern in the result of a query, + * or to specify the bound (fixed) input parameters when issuing a query. + * + * @see Matcher + * + */ + public static abstract class Match extends BasePatternMatch { + private Member fM; + + private static List parameterNames = makeImmutableList("m"); + + private Match(final Member pM) { + this.fM = pM; + } + + @Override + public Object get(final String parameterName) { + switch(parameterName) { + case "m": return this.fM; + default: return null; + } + } + + @Override + public Object get(final int index) { + switch(index) { + case 0: return this.fM; + default: return null; + } + } + + public Member getM() { + return this.fM; + } + + @Override + public boolean set(final String parameterName, final Object newValue) { + if (!isMutable()) throw new java.lang.UnsupportedOperationException(); + if ("m".equals(parameterName) ) { + this.fM = (Member) newValue; + return true; + } + return false; + } + + public void setM(final Member pM) { + if (!isMutable()) throw new java.lang.UnsupportedOperationException(); + this.fM = pM; + } + + @Override + public String patternName() { + return "queries.memberIsItsOwnParent"; + } + + @Override + public List parameterNames() { + return MemberIsItsOwnParent.Match.parameterNames; + } + + @Override + public Object[] toArray() { + return new Object[]{fM}; + } + + @Override + public MemberIsItsOwnParent.Match toImmutable() { + return isMutable() ? newMatch(fM) : this; + } + + @Override + public String prettyPrint() { + StringBuilder result = new StringBuilder(); + result.append("\"m\"=" + prettyPrintValue(fM)); + return result.toString(); + } + + @Override + public int hashCode() { + return Objects.hash(fM); + } + + @Override + public boolean equals(final Object obj) { + if (this == obj) + return true; + if (obj == null) { + return false; + } + if ((obj instanceof MemberIsItsOwnParent.Match)) { + MemberIsItsOwnParent.Match other = (MemberIsItsOwnParent.Match) obj; + return Objects.equals(fM, other.fM); + } else { + // this should be infrequent + if (!(obj instanceof IPatternMatch)) { + return false; + } + IPatternMatch otherSig = (IPatternMatch) obj; + return Objects.equals(specification(), otherSig.specification()) && Arrays.deepEquals(toArray(), otherSig.toArray()); + } + } + + @Override + public MemberIsItsOwnParent specification() { + return MemberIsItsOwnParent.instance(); + } + + /** + * Returns an empty, mutable match. + * Fields of the mutable match can be filled to create a partial match, usable as matcher input. + * + * @return the empty match. + * + */ + public static MemberIsItsOwnParent.Match newEmptyMatch() { + return new Mutable(null); + } + + /** + * Returns a mutable (partial) match. + * Fields of the mutable match can be filled to create a partial match, usable as matcher input. + * + * @param pM the fixed value of pattern parameter m, or null if not bound. + * @return the new, mutable (partial) match object. + * + */ + public static MemberIsItsOwnParent.Match newMutableMatch(final Member pM) { + return new Mutable(pM); + } + + /** + * Returns a new (partial) match. + * This can be used e.g. to call the matcher with a partial match. + *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. + * @param pM the fixed value of pattern parameter m, or null if not bound. + * @return the (partial) match object. + * + */ + public static MemberIsItsOwnParent.Match newMatch(final Member pM) { + return new Immutable(pM); + } + + private static final class Mutable extends MemberIsItsOwnParent.Match { + Mutable(final Member pM) { + super(pM); + } + + @Override + public boolean isMutable() { + return true; + } + } + + private static final class Immutable extends MemberIsItsOwnParent.Match { + Immutable(final Member pM) { + super(pM); + } + + @Override + public boolean isMutable() { + return false; + } + } + } + + /** + * Generated pattern matcher API of the queries.memberIsItsOwnParent pattern, + * providing pattern-specific query methods. + * + *

    Use the pattern matcher on a given model via {@link #on(ViatraQueryEngine)}, + * e.g. in conjunction with {@link ViatraQueryEngine#on(QueryScope)}. + * + *

    Matches of the pattern will be represented as {@link Match}. + * + *

    Original source: + *

    +   * {@literal @}Constraint(message="memberIsItsOwnParent", severity="error", key={m})
    +   * pattern memberIsItsOwnParent(m: Member) = {
    +   * 	FamilyTree.members(_, m);
    +   * 	Member.parents(m, p);
    +   * 	m == p;
    +   * }
    +   * 
    + * + * @see Match + * @see MemberIsItsOwnParent + * + */ + public static class Matcher extends BaseMatcher { + /** + * Initializes the pattern matcher within an existing VIATRA Query engine. + * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. + * + * @param engine the existing VIATRA Query engine in which this matcher will be created. + * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation + * + */ + public static MemberIsItsOwnParent.Matcher on(final ViatraQueryEngine engine) { + // check if matcher already exists + Matcher matcher = engine.getExistingMatcher(querySpecification()); + if (matcher == null) { + matcher = (Matcher)engine.getMatcher(querySpecification()); + } + return matcher; + } + + /** + * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation + * @return an initialized matcher + * @noreference This method is for internal matcher initialization by the framework, do not call it manually. + * + */ + public static MemberIsItsOwnParent.Matcher create() { + return new Matcher(); + } + + private static final int POSITION_M = 0; + + private static final Logger LOGGER = ViatraQueryLoggingUtil.getLogger(MemberIsItsOwnParent.Matcher.class); + + /** + * Initializes the pattern matcher within an existing VIATRA Query engine. + * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. + * + * @param engine the existing VIATRA Query engine in which this matcher will be created. + * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation + * + */ + private Matcher() { + super(querySpecification()); + } + + /** + * Returns the set of all matches of the pattern that conform to the given fixed values of some parameters. + * @param pM the fixed value of pattern parameter m, or null if not bound. + * @return matches represented as a Match object. + * + */ + public Collection getAllMatches(final Member pM) { + return rawStreamAllMatches(new Object[]{pM}).collect(Collectors.toSet()); + } + + /** + * Returns a stream of all matches of the pattern that conform to the given fixed values of some parameters. + *

    + * NOTE: It is important not to modify the source model while the stream is being processed. + * If the match set of the pattern changes during processing, the contents of the stream is undefined. + * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. + * @param pM the fixed value of pattern parameter m, or null if not bound. + * @return a stream of matches represented as a Match object. + * + */ + public Stream streamAllMatches(final Member pM) { + return rawStreamAllMatches(new Object[]{pM}); + } + + /** + * Returns an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. + * Neither determinism nor randomness of selection is guaranteed. + * @param pM the fixed value of pattern parameter m, or null if not bound. + * @return a match represented as a Match object, or null if no match is found. + * + */ + public Optional getOneArbitraryMatch(final Member pM) { + return rawGetOneArbitraryMatch(new Object[]{pM}); + } + + /** + * Indicates whether the given combination of specified pattern parameters constitute a valid pattern match, + * under any possible substitution of the unspecified parameters (if any). + * @param pM the fixed value of pattern parameter m, or null if not bound. + * @return true if the input is a valid (partial) match of the pattern. + * + */ + public boolean hasMatch(final Member pM) { + return rawHasMatch(new Object[]{pM}); + } + + /** + * Returns the number of all matches of the pattern that conform to the given fixed values of some parameters. + * @param pM the fixed value of pattern parameter m, or null if not bound. + * @return the number of pattern matches found. + * + */ + public int countMatches(final Member pM) { + return rawCountMatches(new Object[]{pM}); + } + + /** + * Executes the given processor on an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. + * Neither determinism nor randomness of selection is guaranteed. + * @param pM the fixed value of pattern parameter m, or null if not bound. + * @param processor the action that will process the selected match. + * @return true if the pattern has at least one match with the given parameter values, false if the processor was not invoked + * + */ + public boolean forOneArbitraryMatch(final Member pM, final Consumer processor) { + return rawForOneArbitraryMatch(new Object[]{pM}, processor); + } + + /** + * Returns a new (partial) match. + * This can be used e.g. to call the matcher with a partial match. + *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. + * @param pM the fixed value of pattern parameter m, or null if not bound. + * @return the (partial) match object. + * + */ + public MemberIsItsOwnParent.Match newMatch(final Member pM) { + return MemberIsItsOwnParent.Match.newMatch(pM); + } + + /** + * Retrieve the set of values that occur in matches for m. + * @return the Set of all values or empty set if there are no matches + * + */ + protected Stream rawStreamAllValuesOfm(final Object[] parameters) { + return rawStreamAllValues(POSITION_M, parameters).map(Member.class::cast); + } + + /** + * Retrieve the set of values that occur in matches for m. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOfm() { + return rawStreamAllValuesOfm(emptyArray()).collect(Collectors.toSet()); + } + + /** + * Retrieve the set of values that occur in matches for m. + * @return the Set of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOfm() { + return rawStreamAllValuesOfm(emptyArray()); + } + + @Override + protected MemberIsItsOwnParent.Match tupleToMatch(final Tuple t) { + try { + return MemberIsItsOwnParent.Match.newMatch((Member) t.get(POSITION_M)); + } catch(ClassCastException e) { + LOGGER.error("Element(s) in tuple not properly typed!",e); + return null; + } + } + + @Override + protected MemberIsItsOwnParent.Match arrayToMatch(final Object[] match) { + try { + return MemberIsItsOwnParent.Match.newMatch((Member) match[POSITION_M]); + } catch(ClassCastException e) { + LOGGER.error("Element(s) in array not properly typed!",e); + return null; + } + } + + @Override + protected MemberIsItsOwnParent.Match arrayToMatchMutable(final Object[] match) { + try { + return MemberIsItsOwnParent.Match.newMutableMatch((Member) match[POSITION_M]); + } catch(ClassCastException e) { + LOGGER.error("Element(s) in array not properly typed!",e); + return null; + } + } + + /** + * @return the singleton instance of the query specification of this pattern + * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded + * + */ + public static IQuerySpecification querySpecification() { + return MemberIsItsOwnParent.instance(); + } + } + + private MemberIsItsOwnParent() { + super(GeneratedPQuery.INSTANCE); + } + + /** + * @return the singleton instance of the query specification + * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded + * + */ + public static MemberIsItsOwnParent instance() { + try{ + return LazyHolder.INSTANCE; + } catch (ExceptionInInitializerError err) { + throw processInitializerError(err); + } + } + + @Override + protected MemberIsItsOwnParent.Matcher instantiate(final ViatraQueryEngine engine) { + return MemberIsItsOwnParent.Matcher.on(engine); + } + + @Override + public MemberIsItsOwnParent.Matcher instantiate() { + return MemberIsItsOwnParent.Matcher.create(); + } + + @Override + public MemberIsItsOwnParent.Match newEmptyMatch() { + return MemberIsItsOwnParent.Match.newEmptyMatch(); + } + + @Override + public MemberIsItsOwnParent.Match newMatch(final Object... parameters) { + return MemberIsItsOwnParent.Match.newMatch((familytree.Member) parameters[0]); + } + + /** + * Inner class allowing the singleton instance of {@link MemberIsItsOwnParent} to be created + * not at the class load time of the outer class, + * but rather at the first call to {@link MemberIsItsOwnParent#instance()}. + * + *

    This workaround is required e.g. to support recursion. + * + */ + private static class LazyHolder { + private static final MemberIsItsOwnParent INSTANCE = new MemberIsItsOwnParent(); + + /** + * Statically initializes the query specification after the field {@link #INSTANCE} is assigned. + * This initialization order is required to support indirect recursion. + * + *

    The static initializer is defined using a helper field to work around limitations of the code generator. + * + */ + private static final Object STATIC_INITIALIZER = ensureInitialized(); + + public static Object ensureInitialized() { + INSTANCE.ensureInitializedInternal(); + return null; + } + } + + private static class GeneratedPQuery extends BaseGeneratedEMFPQuery { + private static final MemberIsItsOwnParent.GeneratedPQuery INSTANCE = new GeneratedPQuery(); + + private final PParameter parameter_m = new PParameter("m", "familytree.Member", new EClassTransitiveInstancesKey((EClass)getClassifierLiteralSafe("http://www.example.org/familytree", "Member")), PParameterDirection.INOUT); + + private final List parameters = Arrays.asList(parameter_m); + + private GeneratedPQuery() { + super(PVisibility.PUBLIC); + } + + @Override + public String getFullyQualifiedName() { + return "queries.memberIsItsOwnParent"; + } + + @Override + public List getParameterNames() { + return Arrays.asList("m"); + } + + @Override + public List getParameters() { + return parameters; + } + + @Override + public Set doGetContainedBodies() { + setEvaluationHints(new QueryEvaluationHint(null, QueryEvaluationHint.BackendRequirement.UNSPECIFIED)); + Set bodies = new LinkedHashSet<>(); + { + PBody body = new PBody(this); + PVariable var_m = body.getOrCreateVariableByName("m"); + PVariable var___0_ = body.getOrCreateVariableByName("_<0>"); + PVariable var_p = body.getOrCreateVariableByName("p"); + new TypeConstraint(body, Tuples.flatTupleOf(var_m), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.example.org/familytree", "Member"))); + body.setSymbolicParameters(Arrays.asList( + new ExportedParameter(body, var_m, parameter_m) + )); + // FamilyTree.members(_, m) + new TypeConstraint(body, Tuples.flatTupleOf(var___0_), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.example.org/familytree", "FamilyTree"))); + PVariable var__virtual_0_ = body.getOrCreateVariableByName(".virtual{0}"); + new TypeConstraint(body, Tuples.flatTupleOf(var___0_, var__virtual_0_), new EStructuralFeatureInstancesKey(getFeatureLiteral("http://www.example.org/familytree", "FamilyTree", "members"))); + new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_0_), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.example.org/familytree", "Member"))); + new Equality(body, var__virtual_0_, var_m); + // Member.parents(m, p) + new TypeConstraint(body, Tuples.flatTupleOf(var_m), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.example.org/familytree", "Member"))); + PVariable var__virtual_1_ = body.getOrCreateVariableByName(".virtual{1}"); + new TypeConstraint(body, Tuples.flatTupleOf(var_m, var__virtual_1_), new EStructuralFeatureInstancesKey(getFeatureLiteral("http://www.example.org/familytree", "Member", "parents"))); + new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_1_), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.example.org/familytree", "Member"))); + new Equality(body, var__virtual_1_, var_p); + // m == p + new Equality(body, var_m, var_p); + bodies.add(body); + } + { + PAnnotation annotation = new PAnnotation("Constraint"); + annotation.addAttribute("message", "memberIsItsOwnParent"); + annotation.addAttribute("severity", "error"); + annotation.addAttribute("key", Arrays.asList(new Object[] { + new ParameterReference("m") + })); + addAnnotation(annotation); + } + return bodies; + } + } +} diff --git a/Tests/MODELS2020-CaseStudies/case.study.familyTree.run/src-gen/queries/NegativeAge.java b/Tests/MODELS2020-CaseStudies/case.study.familyTree.run/src-gen/queries/NegativeAge.java new file mode 100644 index 00000000..44ae6496 --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/case.study.familyTree.run/src-gen/queries/NegativeAge.java @@ -0,0 +1,593 @@ +/** + * Generated from platform:/resource/case.study.familyTree.run/src/queries/familyTreeConstraints.vql + */ +package queries; + +import familytree.Member; +import java.util.Arrays; +import java.util.Collection; +import java.util.LinkedHashSet; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import java.util.Set; +import java.util.function.Consumer; +import java.util.stream.Collectors; +import java.util.stream.Stream; +import org.apache.log4j.Logger; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EDataType; +import org.eclipse.viatra.query.runtime.api.IPatternMatch; +import org.eclipse.viatra.query.runtime.api.IQuerySpecification; +import org.eclipse.viatra.query.runtime.api.ViatraQueryEngine; +import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFPQuery; +import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFQuerySpecification; +import org.eclipse.viatra.query.runtime.api.impl.BaseMatcher; +import org.eclipse.viatra.query.runtime.api.impl.BasePatternMatch; +import org.eclipse.viatra.query.runtime.emf.types.EClassTransitiveInstancesKey; +import org.eclipse.viatra.query.runtime.emf.types.EDataTypeInSlotsKey; +import org.eclipse.viatra.query.runtime.emf.types.EStructuralFeatureInstancesKey; +import org.eclipse.viatra.query.runtime.matchers.backend.QueryEvaluationHint; +import org.eclipse.viatra.query.runtime.matchers.psystem.IExpressionEvaluator; +import org.eclipse.viatra.query.runtime.matchers.psystem.IValueProvider; +import org.eclipse.viatra.query.runtime.matchers.psystem.PBody; +import org.eclipse.viatra.query.runtime.matchers.psystem.PVariable; +import org.eclipse.viatra.query.runtime.matchers.psystem.annotations.PAnnotation; +import org.eclipse.viatra.query.runtime.matchers.psystem.annotations.ParameterReference; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.Equality; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.ExportedParameter; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.ExpressionEvaluation; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicenumerables.TypeConstraint; +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameter; +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameterDirection; +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PVisibility; +import org.eclipse.viatra.query.runtime.matchers.tuple.Tuple; +import org.eclipse.viatra.query.runtime.matchers.tuple.Tuples; +import org.eclipse.viatra.query.runtime.util.ViatraQueryLoggingUtil; + +/** + * A pattern-specific query specification that can instantiate Matcher in a type-safe way. + * + *

    Original source: + *

    + *         {@literal @}Constraint(message="negativeAge", severity="error",key={m})
    + *         pattern negativeAge(m: Member) {
    + *         	Member.age(m,mage);
    + *         	check(mage{@literal <}0);
    + *         }
    + * 
    + * + * @see Matcher + * @see Match + * + */ +@SuppressWarnings("all") +public final class NegativeAge extends BaseGeneratedEMFQuerySpecification { + /** + * Pattern-specific match representation of the queries.negativeAge pattern, + * to be used in conjunction with {@link Matcher}. + * + *

    Class fields correspond to parameters of the pattern. Fields with value null are considered unassigned. + * Each instance is a (possibly partial) substitution of pattern parameters, + * usable to represent a match of the pattern in the result of a query, + * or to specify the bound (fixed) input parameters when issuing a query. + * + * @see Matcher + * + */ + public static abstract class Match extends BasePatternMatch { + private Member fM; + + private static List parameterNames = makeImmutableList("m"); + + private Match(final Member pM) { + this.fM = pM; + } + + @Override + public Object get(final String parameterName) { + switch(parameterName) { + case "m": return this.fM; + default: return null; + } + } + + @Override + public Object get(final int index) { + switch(index) { + case 0: return this.fM; + default: return null; + } + } + + public Member getM() { + return this.fM; + } + + @Override + public boolean set(final String parameterName, final Object newValue) { + if (!isMutable()) throw new java.lang.UnsupportedOperationException(); + if ("m".equals(parameterName) ) { + this.fM = (Member) newValue; + return true; + } + return false; + } + + public void setM(final Member pM) { + if (!isMutable()) throw new java.lang.UnsupportedOperationException(); + this.fM = pM; + } + + @Override + public String patternName() { + return "queries.negativeAge"; + } + + @Override + public List parameterNames() { + return NegativeAge.Match.parameterNames; + } + + @Override + public Object[] toArray() { + return new Object[]{fM}; + } + + @Override + public NegativeAge.Match toImmutable() { + return isMutable() ? newMatch(fM) : this; + } + + @Override + public String prettyPrint() { + StringBuilder result = new StringBuilder(); + result.append("\"m\"=" + prettyPrintValue(fM)); + return result.toString(); + } + + @Override + public int hashCode() { + return Objects.hash(fM); + } + + @Override + public boolean equals(final Object obj) { + if (this == obj) + return true; + if (obj == null) { + return false; + } + if ((obj instanceof NegativeAge.Match)) { + NegativeAge.Match other = (NegativeAge.Match) obj; + return Objects.equals(fM, other.fM); + } else { + // this should be infrequent + if (!(obj instanceof IPatternMatch)) { + return false; + } + IPatternMatch otherSig = (IPatternMatch) obj; + return Objects.equals(specification(), otherSig.specification()) && Arrays.deepEquals(toArray(), otherSig.toArray()); + } + } + + @Override + public NegativeAge specification() { + return NegativeAge.instance(); + } + + /** + * Returns an empty, mutable match. + * Fields of the mutable match can be filled to create a partial match, usable as matcher input. + * + * @return the empty match. + * + */ + public static NegativeAge.Match newEmptyMatch() { + return new Mutable(null); + } + + /** + * Returns a mutable (partial) match. + * Fields of the mutable match can be filled to create a partial match, usable as matcher input. + * + * @param pM the fixed value of pattern parameter m, or null if not bound. + * @return the new, mutable (partial) match object. + * + */ + public static NegativeAge.Match newMutableMatch(final Member pM) { + return new Mutable(pM); + } + + /** + * Returns a new (partial) match. + * This can be used e.g. to call the matcher with a partial match. + *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. + * @param pM the fixed value of pattern parameter m, or null if not bound. + * @return the (partial) match object. + * + */ + public static NegativeAge.Match newMatch(final Member pM) { + return new Immutable(pM); + } + + private static final class Mutable extends NegativeAge.Match { + Mutable(final Member pM) { + super(pM); + } + + @Override + public boolean isMutable() { + return true; + } + } + + private static final class Immutable extends NegativeAge.Match { + Immutable(final Member pM) { + super(pM); + } + + @Override + public boolean isMutable() { + return false; + } + } + } + + /** + * Generated pattern matcher API of the queries.negativeAge pattern, + * providing pattern-specific query methods. + * + *

    Use the pattern matcher on a given model via {@link #on(ViatraQueryEngine)}, + * e.g. in conjunction with {@link ViatraQueryEngine#on(QueryScope)}. + * + *

    Matches of the pattern will be represented as {@link Match}. + * + *

    Original source: + *

    +   * {@literal @}Constraint(message="negativeAge", severity="error",key={m})
    +   * pattern negativeAge(m: Member) {
    +   * 	Member.age(m,mage);
    +   * 	check(mage{@literal <}0);
    +   * }
    +   * 
    + * + * @see Match + * @see NegativeAge + * + */ + public static class Matcher extends BaseMatcher { + /** + * Initializes the pattern matcher within an existing VIATRA Query engine. + * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. + * + * @param engine the existing VIATRA Query engine in which this matcher will be created. + * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation + * + */ + public static NegativeAge.Matcher on(final ViatraQueryEngine engine) { + // check if matcher already exists + Matcher matcher = engine.getExistingMatcher(querySpecification()); + if (matcher == null) { + matcher = (Matcher)engine.getMatcher(querySpecification()); + } + return matcher; + } + + /** + * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation + * @return an initialized matcher + * @noreference This method is for internal matcher initialization by the framework, do not call it manually. + * + */ + public static NegativeAge.Matcher create() { + return new Matcher(); + } + + private static final int POSITION_M = 0; + + private static final Logger LOGGER = ViatraQueryLoggingUtil.getLogger(NegativeAge.Matcher.class); + + /** + * Initializes the pattern matcher within an existing VIATRA Query engine. + * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. + * + * @param engine the existing VIATRA Query engine in which this matcher will be created. + * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation + * + */ + private Matcher() { + super(querySpecification()); + } + + /** + * Returns the set of all matches of the pattern that conform to the given fixed values of some parameters. + * @param pM the fixed value of pattern parameter m, or null if not bound. + * @return matches represented as a Match object. + * + */ + public Collection getAllMatches(final Member pM) { + return rawStreamAllMatches(new Object[]{pM}).collect(Collectors.toSet()); + } + + /** + * Returns a stream of all matches of the pattern that conform to the given fixed values of some parameters. + *

    + * NOTE: It is important not to modify the source model while the stream is being processed. + * If the match set of the pattern changes during processing, the contents of the stream is undefined. + * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. + * @param pM the fixed value of pattern parameter m, or null if not bound. + * @return a stream of matches represented as a Match object. + * + */ + public Stream streamAllMatches(final Member pM) { + return rawStreamAllMatches(new Object[]{pM}); + } + + /** + * Returns an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. + * Neither determinism nor randomness of selection is guaranteed. + * @param pM the fixed value of pattern parameter m, or null if not bound. + * @return a match represented as a Match object, or null if no match is found. + * + */ + public Optional getOneArbitraryMatch(final Member pM) { + return rawGetOneArbitraryMatch(new Object[]{pM}); + } + + /** + * Indicates whether the given combination of specified pattern parameters constitute a valid pattern match, + * under any possible substitution of the unspecified parameters (if any). + * @param pM the fixed value of pattern parameter m, or null if not bound. + * @return true if the input is a valid (partial) match of the pattern. + * + */ + public boolean hasMatch(final Member pM) { + return rawHasMatch(new Object[]{pM}); + } + + /** + * Returns the number of all matches of the pattern that conform to the given fixed values of some parameters. + * @param pM the fixed value of pattern parameter m, or null if not bound. + * @return the number of pattern matches found. + * + */ + public int countMatches(final Member pM) { + return rawCountMatches(new Object[]{pM}); + } + + /** + * Executes the given processor on an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. + * Neither determinism nor randomness of selection is guaranteed. + * @param pM the fixed value of pattern parameter m, or null if not bound. + * @param processor the action that will process the selected match. + * @return true if the pattern has at least one match with the given parameter values, false if the processor was not invoked + * + */ + public boolean forOneArbitraryMatch(final Member pM, final Consumer processor) { + return rawForOneArbitraryMatch(new Object[]{pM}, processor); + } + + /** + * Returns a new (partial) match. + * This can be used e.g. to call the matcher with a partial match. + *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. + * @param pM the fixed value of pattern parameter m, or null if not bound. + * @return the (partial) match object. + * + */ + public NegativeAge.Match newMatch(final Member pM) { + return NegativeAge.Match.newMatch(pM); + } + + /** + * Retrieve the set of values that occur in matches for m. + * @return the Set of all values or empty set if there are no matches + * + */ + protected Stream rawStreamAllValuesOfm(final Object[] parameters) { + return rawStreamAllValues(POSITION_M, parameters).map(Member.class::cast); + } + + /** + * Retrieve the set of values that occur in matches for m. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOfm() { + return rawStreamAllValuesOfm(emptyArray()).collect(Collectors.toSet()); + } + + /** + * Retrieve the set of values that occur in matches for m. + * @return the Set of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOfm() { + return rawStreamAllValuesOfm(emptyArray()); + } + + @Override + protected NegativeAge.Match tupleToMatch(final Tuple t) { + try { + return NegativeAge.Match.newMatch((Member) t.get(POSITION_M)); + } catch(ClassCastException e) { + LOGGER.error("Element(s) in tuple not properly typed!",e); + return null; + } + } + + @Override + protected NegativeAge.Match arrayToMatch(final Object[] match) { + try { + return NegativeAge.Match.newMatch((Member) match[POSITION_M]); + } catch(ClassCastException e) { + LOGGER.error("Element(s) in array not properly typed!",e); + return null; + } + } + + @Override + protected NegativeAge.Match arrayToMatchMutable(final Object[] match) { + try { + return NegativeAge.Match.newMutableMatch((Member) match[POSITION_M]); + } catch(ClassCastException e) { + LOGGER.error("Element(s) in array not properly typed!",e); + return null; + } + } + + /** + * @return the singleton instance of the query specification of this pattern + * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded + * + */ + public static IQuerySpecification querySpecification() { + return NegativeAge.instance(); + } + } + + private NegativeAge() { + super(GeneratedPQuery.INSTANCE); + } + + /** + * @return the singleton instance of the query specification + * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded + * + */ + public static NegativeAge instance() { + try{ + return LazyHolder.INSTANCE; + } catch (ExceptionInInitializerError err) { + throw processInitializerError(err); + } + } + + @Override + protected NegativeAge.Matcher instantiate(final ViatraQueryEngine engine) { + return NegativeAge.Matcher.on(engine); + } + + @Override + public NegativeAge.Matcher instantiate() { + return NegativeAge.Matcher.create(); + } + + @Override + public NegativeAge.Match newEmptyMatch() { + return NegativeAge.Match.newEmptyMatch(); + } + + @Override + public NegativeAge.Match newMatch(final Object... parameters) { + return NegativeAge.Match.newMatch((familytree.Member) parameters[0]); + } + + /** + * Inner class allowing the singleton instance of {@link NegativeAge} to be created + * not at the class load time of the outer class, + * but rather at the first call to {@link NegativeAge#instance()}. + * + *

    This workaround is required e.g. to support recursion. + * + */ + private static class LazyHolder { + private static final NegativeAge INSTANCE = new NegativeAge(); + + /** + * Statically initializes the query specification after the field {@link #INSTANCE} is assigned. + * This initialization order is required to support indirect recursion. + * + *

    The static initializer is defined using a helper field to work around limitations of the code generator. + * + */ + private static final Object STATIC_INITIALIZER = ensureInitialized(); + + public static Object ensureInitialized() { + INSTANCE.ensureInitializedInternal(); + return null; + } + } + + private static class GeneratedPQuery extends BaseGeneratedEMFPQuery { + private static final NegativeAge.GeneratedPQuery INSTANCE = new GeneratedPQuery(); + + private final PParameter parameter_m = new PParameter("m", "familytree.Member", new EClassTransitiveInstancesKey((EClass)getClassifierLiteralSafe("http://www.example.org/familytree", "Member")), PParameterDirection.INOUT); + + private final List parameters = Arrays.asList(parameter_m); + + private GeneratedPQuery() { + super(PVisibility.PUBLIC); + } + + @Override + public String getFullyQualifiedName() { + return "queries.negativeAge"; + } + + @Override + public List getParameterNames() { + return Arrays.asList("m"); + } + + @Override + public List getParameters() { + return parameters; + } + + @Override + public Set doGetContainedBodies() { + setEvaluationHints(new QueryEvaluationHint(null, QueryEvaluationHint.BackendRequirement.UNSPECIFIED)); + Set bodies = new LinkedHashSet<>(); + { + PBody body = new PBody(this); + PVariable var_m = body.getOrCreateVariableByName("m"); + PVariable var_mage = body.getOrCreateVariableByName("mage"); + new TypeConstraint(body, Tuples.flatTupleOf(var_m), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.example.org/familytree", "Member"))); + body.setSymbolicParameters(Arrays.asList( + new ExportedParameter(body, var_m, parameter_m) + )); + // Member.age(m,mage) + new TypeConstraint(body, Tuples.flatTupleOf(var_m), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.example.org/familytree", "Member"))); + PVariable var__virtual_0_ = body.getOrCreateVariableByName(".virtual{0}"); + new TypeConstraint(body, Tuples.flatTupleOf(var_m, var__virtual_0_), new EStructuralFeatureInstancesKey(getFeatureLiteral("http://www.example.org/familytree", "Member", "age"))); + new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_0_), new EDataTypeInSlotsKey((EDataType)getClassifierLiteral("http://www.eclipse.org/emf/2002/Ecore", "EInt"))); + new Equality(body, var__virtual_0_, var_mage); + // check(mage<0) + new ExpressionEvaluation(body, new IExpressionEvaluator() { + + @Override + public String getShortDescription() { + return "Expression evaluation from pattern negativeAge"; + } + + @Override + public Iterable getInputParameterNames() { + return Arrays.asList("mage");} + + @Override + public Object evaluateExpression(IValueProvider provider) throws Exception { + Integer mage = (Integer) provider.getValue("mage"); + return evaluateExpression_1_1(mage); + } + }, null); + bodies.add(body); + } + { + PAnnotation annotation = new PAnnotation("Constraint"); + annotation.addAttribute("message", "negativeAge"); + annotation.addAttribute("severity", "error"); + annotation.addAttribute("key", Arrays.asList(new Object[] { + new ParameterReference("m") + })); + addAnnotation(annotation); + } + return bodies; + } + } + + private static boolean evaluateExpression_1_1(final Integer mage) { + return ((mage).intValue() < 0); + } +} diff --git a/Tests/MODELS2020-CaseStudies/case.study.familyTree.run/src-gen/queries/ParentTooYoung.java b/Tests/MODELS2020-CaseStudies/case.study.familyTree.run/src-gen/queries/ParentTooYoung.java new file mode 100644 index 00000000..5ed9df5e --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/case.study.familyTree.run/src-gen/queries/ParentTooYoung.java @@ -0,0 +1,775 @@ +/** + * Generated from platform:/resource/case.study.familyTree.run/src/queries/familyTreeConstraints.vql + */ +package queries; + +import familytree.Member; +import java.util.Arrays; +import java.util.Collection; +import java.util.LinkedHashSet; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import java.util.Set; +import java.util.function.Consumer; +import java.util.stream.Collectors; +import java.util.stream.Stream; +import org.apache.log4j.Logger; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EDataType; +import org.eclipse.viatra.query.runtime.api.IPatternMatch; +import org.eclipse.viatra.query.runtime.api.IQuerySpecification; +import org.eclipse.viatra.query.runtime.api.ViatraQueryEngine; +import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFPQuery; +import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFQuerySpecification; +import org.eclipse.viatra.query.runtime.api.impl.BaseMatcher; +import org.eclipse.viatra.query.runtime.api.impl.BasePatternMatch; +import org.eclipse.viatra.query.runtime.emf.types.EClassTransitiveInstancesKey; +import org.eclipse.viatra.query.runtime.emf.types.EDataTypeInSlotsKey; +import org.eclipse.viatra.query.runtime.emf.types.EStructuralFeatureInstancesKey; +import org.eclipse.viatra.query.runtime.matchers.backend.QueryEvaluationHint; +import org.eclipse.viatra.query.runtime.matchers.psystem.IExpressionEvaluator; +import org.eclipse.viatra.query.runtime.matchers.psystem.IValueProvider; +import org.eclipse.viatra.query.runtime.matchers.psystem.PBody; +import org.eclipse.viatra.query.runtime.matchers.psystem.PVariable; +import org.eclipse.viatra.query.runtime.matchers.psystem.annotations.PAnnotation; +import org.eclipse.viatra.query.runtime.matchers.psystem.annotations.ParameterReference; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.Equality; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.ExportedParameter; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.ExpressionEvaluation; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicenumerables.TypeConstraint; +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameter; +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameterDirection; +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PVisibility; +import org.eclipse.viatra.query.runtime.matchers.tuple.Tuple; +import org.eclipse.viatra.query.runtime.matchers.tuple.Tuples; +import org.eclipse.viatra.query.runtime.util.ViatraQueryLoggingUtil; + +/** + * A pattern-specific query specification that can instantiate Matcher in a type-safe way. + * + *

    Original source: + *

    + *         {@literal @}Constraint(message="parentTooYoung", severity="error", key={c, p})
    + *         pattern parentTooYoung(c: Member, p: Member) = {
    + *         	FamilyTree.members(_, c);
    + *         	Member.parents(c, p);
    + *         	Member.age(c, cAge);
    + *         	Member.age(p, pAge);
    + *         	check (pAge {@literal <}= (cAge + 12));
    + *         }
    + * 
    + * + * @see Matcher + * @see Match + * + */ +@SuppressWarnings("all") +public final class ParentTooYoung extends BaseGeneratedEMFQuerySpecification { + /** + * Pattern-specific match representation of the queries.parentTooYoung pattern, + * to be used in conjunction with {@link Matcher}. + * + *

    Class fields correspond to parameters of the pattern. Fields with value null are considered unassigned. + * Each instance is a (possibly partial) substitution of pattern parameters, + * usable to represent a match of the pattern in the result of a query, + * or to specify the bound (fixed) input parameters when issuing a query. + * + * @see Matcher + * + */ + public static abstract class Match extends BasePatternMatch { + private Member fC; + + private Member fP; + + private static List parameterNames = makeImmutableList("c", "p"); + + private Match(final Member pC, final Member pP) { + this.fC = pC; + this.fP = pP; + } + + @Override + public Object get(final String parameterName) { + switch(parameterName) { + case "c": return this.fC; + case "p": return this.fP; + default: return null; + } + } + + @Override + public Object get(final int index) { + switch(index) { + case 0: return this.fC; + case 1: return this.fP; + default: return null; + } + } + + public Member getC() { + return this.fC; + } + + public Member getP() { + return this.fP; + } + + @Override + public boolean set(final String parameterName, final Object newValue) { + if (!isMutable()) throw new java.lang.UnsupportedOperationException(); + if ("c".equals(parameterName) ) { + this.fC = (Member) newValue; + return true; + } + if ("p".equals(parameterName) ) { + this.fP = (Member) newValue; + return true; + } + return false; + } + + public void setC(final Member pC) { + if (!isMutable()) throw new java.lang.UnsupportedOperationException(); + this.fC = pC; + } + + public void setP(final Member pP) { + if (!isMutable()) throw new java.lang.UnsupportedOperationException(); + this.fP = pP; + } + + @Override + public String patternName() { + return "queries.parentTooYoung"; + } + + @Override + public List parameterNames() { + return ParentTooYoung.Match.parameterNames; + } + + @Override + public Object[] toArray() { + return new Object[]{fC, fP}; + } + + @Override + public ParentTooYoung.Match toImmutable() { + return isMutable() ? newMatch(fC, fP) : this; + } + + @Override + public String prettyPrint() { + StringBuilder result = new StringBuilder(); + result.append("\"c\"=" + prettyPrintValue(fC) + ", "); + result.append("\"p\"=" + prettyPrintValue(fP)); + return result.toString(); + } + + @Override + public int hashCode() { + return Objects.hash(fC, fP); + } + + @Override + public boolean equals(final Object obj) { + if (this == obj) + return true; + if (obj == null) { + return false; + } + if ((obj instanceof ParentTooYoung.Match)) { + ParentTooYoung.Match other = (ParentTooYoung.Match) obj; + return Objects.equals(fC, other.fC) && Objects.equals(fP, other.fP); + } else { + // this should be infrequent + if (!(obj instanceof IPatternMatch)) { + return false; + } + IPatternMatch otherSig = (IPatternMatch) obj; + return Objects.equals(specification(), otherSig.specification()) && Arrays.deepEquals(toArray(), otherSig.toArray()); + } + } + + @Override + public ParentTooYoung specification() { + return ParentTooYoung.instance(); + } + + /** + * Returns an empty, mutable match. + * Fields of the mutable match can be filled to create a partial match, usable as matcher input. + * + * @return the empty match. + * + */ + public static ParentTooYoung.Match newEmptyMatch() { + return new Mutable(null, null); + } + + /** + * Returns a mutable (partial) match. + * Fields of the mutable match can be filled to create a partial match, usable as matcher input. + * + * @param pC the fixed value of pattern parameter c, or null if not bound. + * @param pP the fixed value of pattern parameter p, or null if not bound. + * @return the new, mutable (partial) match object. + * + */ + public static ParentTooYoung.Match newMutableMatch(final Member pC, final Member pP) { + return new Mutable(pC, pP); + } + + /** + * Returns a new (partial) match. + * This can be used e.g. to call the matcher with a partial match. + *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. + * @param pC the fixed value of pattern parameter c, or null if not bound. + * @param pP the fixed value of pattern parameter p, or null if not bound. + * @return the (partial) match object. + * + */ + public static ParentTooYoung.Match newMatch(final Member pC, final Member pP) { + return new Immutable(pC, pP); + } + + private static final class Mutable extends ParentTooYoung.Match { + Mutable(final Member pC, final Member pP) { + super(pC, pP); + } + + @Override + public boolean isMutable() { + return true; + } + } + + private static final class Immutable extends ParentTooYoung.Match { + Immutable(final Member pC, final Member pP) { + super(pC, pP); + } + + @Override + public boolean isMutable() { + return false; + } + } + } + + /** + * Generated pattern matcher API of the queries.parentTooYoung pattern, + * providing pattern-specific query methods. + * + *

    Use the pattern matcher on a given model via {@link #on(ViatraQueryEngine)}, + * e.g. in conjunction with {@link ViatraQueryEngine#on(QueryScope)}. + * + *

    Matches of the pattern will be represented as {@link Match}. + * + *

    Original source: + *

    +   * {@literal @}Constraint(message="parentTooYoung", severity="error", key={c, p})
    +   * pattern parentTooYoung(c: Member, p: Member) = {
    +   * 	FamilyTree.members(_, c);
    +   * 	Member.parents(c, p);
    +   * 	Member.age(c, cAge);
    +   * 	Member.age(p, pAge);
    +   * 	check (pAge {@literal <}= (cAge + 12));
    +   * }
    +   * 
    + * + * @see Match + * @see ParentTooYoung + * + */ + public static class Matcher extends BaseMatcher { + /** + * Initializes the pattern matcher within an existing VIATRA Query engine. + * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. + * + * @param engine the existing VIATRA Query engine in which this matcher will be created. + * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation + * + */ + public static ParentTooYoung.Matcher on(final ViatraQueryEngine engine) { + // check if matcher already exists + Matcher matcher = engine.getExistingMatcher(querySpecification()); + if (matcher == null) { + matcher = (Matcher)engine.getMatcher(querySpecification()); + } + return matcher; + } + + /** + * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation + * @return an initialized matcher + * @noreference This method is for internal matcher initialization by the framework, do not call it manually. + * + */ + public static ParentTooYoung.Matcher create() { + return new Matcher(); + } + + private static final int POSITION_C = 0; + + private static final int POSITION_P = 1; + + private static final Logger LOGGER = ViatraQueryLoggingUtil.getLogger(ParentTooYoung.Matcher.class); + + /** + * Initializes the pattern matcher within an existing VIATRA Query engine. + * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. + * + * @param engine the existing VIATRA Query engine in which this matcher will be created. + * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation + * + */ + private Matcher() { + super(querySpecification()); + } + + /** + * Returns the set of all matches of the pattern that conform to the given fixed values of some parameters. + * @param pC the fixed value of pattern parameter c, or null if not bound. + * @param pP the fixed value of pattern parameter p, or null if not bound. + * @return matches represented as a Match object. + * + */ + public Collection getAllMatches(final Member pC, final Member pP) { + return rawStreamAllMatches(new Object[]{pC, pP}).collect(Collectors.toSet()); + } + + /** + * Returns a stream of all matches of the pattern that conform to the given fixed values of some parameters. + *

    + * NOTE: It is important not to modify the source model while the stream is being processed. + * If the match set of the pattern changes during processing, the contents of the stream is undefined. + * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. + * @param pC the fixed value of pattern parameter c, or null if not bound. + * @param pP the fixed value of pattern parameter p, or null if not bound. + * @return a stream of matches represented as a Match object. + * + */ + public Stream streamAllMatches(final Member pC, final Member pP) { + return rawStreamAllMatches(new Object[]{pC, pP}); + } + + /** + * Returns an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. + * Neither determinism nor randomness of selection is guaranteed. + * @param pC the fixed value of pattern parameter c, or null if not bound. + * @param pP the fixed value of pattern parameter p, or null if not bound. + * @return a match represented as a Match object, or null if no match is found. + * + */ + public Optional getOneArbitraryMatch(final Member pC, final Member pP) { + return rawGetOneArbitraryMatch(new Object[]{pC, pP}); + } + + /** + * Indicates whether the given combination of specified pattern parameters constitute a valid pattern match, + * under any possible substitution of the unspecified parameters (if any). + * @param pC the fixed value of pattern parameter c, or null if not bound. + * @param pP the fixed value of pattern parameter p, or null if not bound. + * @return true if the input is a valid (partial) match of the pattern. + * + */ + public boolean hasMatch(final Member pC, final Member pP) { + return rawHasMatch(new Object[]{pC, pP}); + } + + /** + * Returns the number of all matches of the pattern that conform to the given fixed values of some parameters. + * @param pC the fixed value of pattern parameter c, or null if not bound. + * @param pP the fixed value of pattern parameter p, or null if not bound. + * @return the number of pattern matches found. + * + */ + public int countMatches(final Member pC, final Member pP) { + return rawCountMatches(new Object[]{pC, pP}); + } + + /** + * Executes the given processor on an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. + * Neither determinism nor randomness of selection is guaranteed. + * @param pC the fixed value of pattern parameter c, or null if not bound. + * @param pP the fixed value of pattern parameter p, or null if not bound. + * @param processor the action that will process the selected match. + * @return true if the pattern has at least one match with the given parameter values, false if the processor was not invoked + * + */ + public boolean forOneArbitraryMatch(final Member pC, final Member pP, final Consumer processor) { + return rawForOneArbitraryMatch(new Object[]{pC, pP}, processor); + } + + /** + * Returns a new (partial) match. + * This can be used e.g. to call the matcher with a partial match. + *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. + * @param pC the fixed value of pattern parameter c, or null if not bound. + * @param pP the fixed value of pattern parameter p, or null if not bound. + * @return the (partial) match object. + * + */ + public ParentTooYoung.Match newMatch(final Member pC, final Member pP) { + return ParentTooYoung.Match.newMatch(pC, pP); + } + + /** + * Retrieve the set of values that occur in matches for c. + * @return the Set of all values or empty set if there are no matches + * + */ + protected Stream rawStreamAllValuesOfc(final Object[] parameters) { + return rawStreamAllValues(POSITION_C, parameters).map(Member.class::cast); + } + + /** + * Retrieve the set of values that occur in matches for c. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOfc() { + return rawStreamAllValuesOfc(emptyArray()).collect(Collectors.toSet()); + } + + /** + * Retrieve the set of values that occur in matches for c. + * @return the Set of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOfc() { + return rawStreamAllValuesOfc(emptyArray()); + } + + /** + * Retrieve the set of values that occur in matches for c. + *

    + * NOTE: It is important not to modify the source model while the stream is being processed. + * If the match set of the pattern changes during processing, the contents of the stream is undefined. + * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. + * + * @return the Stream of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOfc(final ParentTooYoung.Match partialMatch) { + return rawStreamAllValuesOfc(partialMatch.toArray()); + } + + /** + * Retrieve the set of values that occur in matches for c. + *

    + * NOTE: It is important not to modify the source model while the stream is being processed. + * If the match set of the pattern changes during processing, the contents of the stream is undefined. + * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. + * + * @return the Stream of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOfc(final Member pP) { + return rawStreamAllValuesOfc(new Object[]{null, pP}); + } + + /** + * Retrieve the set of values that occur in matches for c. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOfc(final ParentTooYoung.Match partialMatch) { + return rawStreamAllValuesOfc(partialMatch.toArray()).collect(Collectors.toSet()); + } + + /** + * Retrieve the set of values that occur in matches for c. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOfc(final Member pP) { + return rawStreamAllValuesOfc(new Object[]{null, pP}).collect(Collectors.toSet()); + } + + /** + * Retrieve the set of values that occur in matches for p. + * @return the Set of all values or empty set if there are no matches + * + */ + protected Stream rawStreamAllValuesOfp(final Object[] parameters) { + return rawStreamAllValues(POSITION_P, parameters).map(Member.class::cast); + } + + /** + * Retrieve the set of values that occur in matches for p. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOfp() { + return rawStreamAllValuesOfp(emptyArray()).collect(Collectors.toSet()); + } + + /** + * Retrieve the set of values that occur in matches for p. + * @return the Set of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOfp() { + return rawStreamAllValuesOfp(emptyArray()); + } + + /** + * Retrieve the set of values that occur in matches for p. + *

    + * NOTE: It is important not to modify the source model while the stream is being processed. + * If the match set of the pattern changes during processing, the contents of the stream is undefined. + * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. + * + * @return the Stream of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOfp(final ParentTooYoung.Match partialMatch) { + return rawStreamAllValuesOfp(partialMatch.toArray()); + } + + /** + * Retrieve the set of values that occur in matches for p. + *

    + * NOTE: It is important not to modify the source model while the stream is being processed. + * If the match set of the pattern changes during processing, the contents of the stream is undefined. + * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. + * + * @return the Stream of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOfp(final Member pC) { + return rawStreamAllValuesOfp(new Object[]{pC, null}); + } + + /** + * Retrieve the set of values that occur in matches for p. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOfp(final ParentTooYoung.Match partialMatch) { + return rawStreamAllValuesOfp(partialMatch.toArray()).collect(Collectors.toSet()); + } + + /** + * Retrieve the set of values that occur in matches for p. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOfp(final Member pC) { + return rawStreamAllValuesOfp(new Object[]{pC, null}).collect(Collectors.toSet()); + } + + @Override + protected ParentTooYoung.Match tupleToMatch(final Tuple t) { + try { + return ParentTooYoung.Match.newMatch((Member) t.get(POSITION_C), (Member) t.get(POSITION_P)); + } catch(ClassCastException e) { + LOGGER.error("Element(s) in tuple not properly typed!",e); + return null; + } + } + + @Override + protected ParentTooYoung.Match arrayToMatch(final Object[] match) { + try { + return ParentTooYoung.Match.newMatch((Member) match[POSITION_C], (Member) match[POSITION_P]); + } catch(ClassCastException e) { + LOGGER.error("Element(s) in array not properly typed!",e); + return null; + } + } + + @Override + protected ParentTooYoung.Match arrayToMatchMutable(final Object[] match) { + try { + return ParentTooYoung.Match.newMutableMatch((Member) match[POSITION_C], (Member) match[POSITION_P]); + } catch(ClassCastException e) { + LOGGER.error("Element(s) in array not properly typed!",e); + return null; + } + } + + /** + * @return the singleton instance of the query specification of this pattern + * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded + * + */ + public static IQuerySpecification querySpecification() { + return ParentTooYoung.instance(); + } + } + + private ParentTooYoung() { + super(GeneratedPQuery.INSTANCE); + } + + /** + * @return the singleton instance of the query specification + * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded + * + */ + public static ParentTooYoung instance() { + try{ + return LazyHolder.INSTANCE; + } catch (ExceptionInInitializerError err) { + throw processInitializerError(err); + } + } + + @Override + protected ParentTooYoung.Matcher instantiate(final ViatraQueryEngine engine) { + return ParentTooYoung.Matcher.on(engine); + } + + @Override + public ParentTooYoung.Matcher instantiate() { + return ParentTooYoung.Matcher.create(); + } + + @Override + public ParentTooYoung.Match newEmptyMatch() { + return ParentTooYoung.Match.newEmptyMatch(); + } + + @Override + public ParentTooYoung.Match newMatch(final Object... parameters) { + return ParentTooYoung.Match.newMatch((familytree.Member) parameters[0], (familytree.Member) parameters[1]); + } + + /** + * Inner class allowing the singleton instance of {@link ParentTooYoung} to be created + * not at the class load time of the outer class, + * but rather at the first call to {@link ParentTooYoung#instance()}. + * + *

    This workaround is required e.g. to support recursion. + * + */ + private static class LazyHolder { + private static final ParentTooYoung INSTANCE = new ParentTooYoung(); + + /** + * Statically initializes the query specification after the field {@link #INSTANCE} is assigned. + * This initialization order is required to support indirect recursion. + * + *

    The static initializer is defined using a helper field to work around limitations of the code generator. + * + */ + private static final Object STATIC_INITIALIZER = ensureInitialized(); + + public static Object ensureInitialized() { + INSTANCE.ensureInitializedInternal(); + return null; + } + } + + private static class GeneratedPQuery extends BaseGeneratedEMFPQuery { + private static final ParentTooYoung.GeneratedPQuery INSTANCE = new GeneratedPQuery(); + + private final PParameter parameter_c = new PParameter("c", "familytree.Member", new EClassTransitiveInstancesKey((EClass)getClassifierLiteralSafe("http://www.example.org/familytree", "Member")), PParameterDirection.INOUT); + + private final PParameter parameter_p = new PParameter("p", "familytree.Member", new EClassTransitiveInstancesKey((EClass)getClassifierLiteralSafe("http://www.example.org/familytree", "Member")), PParameterDirection.INOUT); + + private final List parameters = Arrays.asList(parameter_c, parameter_p); + + private GeneratedPQuery() { + super(PVisibility.PUBLIC); + } + + @Override + public String getFullyQualifiedName() { + return "queries.parentTooYoung"; + } + + @Override + public List getParameterNames() { + return Arrays.asList("c","p"); + } + + @Override + public List getParameters() { + return parameters; + } + + @Override + public Set doGetContainedBodies() { + setEvaluationHints(new QueryEvaluationHint(null, QueryEvaluationHint.BackendRequirement.UNSPECIFIED)); + Set bodies = new LinkedHashSet<>(); + { + PBody body = new PBody(this); + PVariable var_c = body.getOrCreateVariableByName("c"); + PVariable var_p = body.getOrCreateVariableByName("p"); + PVariable var___0_ = body.getOrCreateVariableByName("_<0>"); + PVariable var_cAge = body.getOrCreateVariableByName("cAge"); + PVariable var_pAge = body.getOrCreateVariableByName("pAge"); + new TypeConstraint(body, Tuples.flatTupleOf(var_c), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.example.org/familytree", "Member"))); + new TypeConstraint(body, Tuples.flatTupleOf(var_p), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.example.org/familytree", "Member"))); + body.setSymbolicParameters(Arrays.asList( + new ExportedParameter(body, var_c, parameter_c), + new ExportedParameter(body, var_p, parameter_p) + )); + // FamilyTree.members(_, c) + new TypeConstraint(body, Tuples.flatTupleOf(var___0_), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.example.org/familytree", "FamilyTree"))); + PVariable var__virtual_0_ = body.getOrCreateVariableByName(".virtual{0}"); + new TypeConstraint(body, Tuples.flatTupleOf(var___0_, var__virtual_0_), new EStructuralFeatureInstancesKey(getFeatureLiteral("http://www.example.org/familytree", "FamilyTree", "members"))); + new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_0_), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.example.org/familytree", "Member"))); + new Equality(body, var__virtual_0_, var_c); + // Member.parents(c, p) + new TypeConstraint(body, Tuples.flatTupleOf(var_c), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.example.org/familytree", "Member"))); + PVariable var__virtual_1_ = body.getOrCreateVariableByName(".virtual{1}"); + new TypeConstraint(body, Tuples.flatTupleOf(var_c, var__virtual_1_), new EStructuralFeatureInstancesKey(getFeatureLiteral("http://www.example.org/familytree", "Member", "parents"))); + new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_1_), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.example.org/familytree", "Member"))); + new Equality(body, var__virtual_1_, var_p); + // Member.age(c, cAge) + new TypeConstraint(body, Tuples.flatTupleOf(var_c), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.example.org/familytree", "Member"))); + PVariable var__virtual_2_ = body.getOrCreateVariableByName(".virtual{2}"); + new TypeConstraint(body, Tuples.flatTupleOf(var_c, var__virtual_2_), new EStructuralFeatureInstancesKey(getFeatureLiteral("http://www.example.org/familytree", "Member", "age"))); + new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_2_), new EDataTypeInSlotsKey((EDataType)getClassifierLiteral("http://www.eclipse.org/emf/2002/Ecore", "EInt"))); + new Equality(body, var__virtual_2_, var_cAge); + // Member.age(p, pAge) + new TypeConstraint(body, Tuples.flatTupleOf(var_p), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.example.org/familytree", "Member"))); + PVariable var__virtual_3_ = body.getOrCreateVariableByName(".virtual{3}"); + new TypeConstraint(body, Tuples.flatTupleOf(var_p, var__virtual_3_), new EStructuralFeatureInstancesKey(getFeatureLiteral("http://www.example.org/familytree", "Member", "age"))); + new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_3_), new EDataTypeInSlotsKey((EDataType)getClassifierLiteral("http://www.eclipse.org/emf/2002/Ecore", "EInt"))); + new Equality(body, var__virtual_3_, var_pAge); + // check (pAge <= (cAge + 12)) + new ExpressionEvaluation(body, new IExpressionEvaluator() { + + @Override + public String getShortDescription() { + return "Expression evaluation from pattern parentTooYoung"; + } + + @Override + public Iterable getInputParameterNames() { + return Arrays.asList("cAge", "pAge");} + + @Override + public Object evaluateExpression(IValueProvider provider) throws Exception { + Integer cAge = (Integer) provider.getValue("cAge"); + Integer pAge = (Integer) provider.getValue("pAge"); + return evaluateExpression_1_1(cAge, pAge); + } + }, null); + bodies.add(body); + } + { + PAnnotation annotation = new PAnnotation("Constraint"); + annotation.addAttribute("message", "parentTooYoung"); + annotation.addAttribute("severity", "error"); + annotation.addAttribute("key", Arrays.asList(new Object[] { + new ParameterReference("c"), + new ParameterReference("p") + })); + addAnnotation(annotation); + } + return bodies; + } + } + + private static boolean evaluateExpression_1_1(final Integer cAge, final Integer pAge) { + return ((pAge).intValue() <= ((cAge).intValue() + 12)); + } +} diff --git a/Tests/MODELS2020-CaseStudies/case.study.familyTree.run/src-gen/queries/TwoMembersHaveNoParent.java b/Tests/MODELS2020-CaseStudies/case.study.familyTree.run/src-gen/queries/TwoMembersHaveNoParent.java new file mode 100644 index 00000000..365939dd --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/case.study.familyTree.run/src-gen/queries/TwoMembersHaveNoParent.java @@ -0,0 +1,723 @@ +/** + * Generated from platform:/resource/case.study.familyTree.run/src/queries/familyTreeConstraints.vql + */ +package queries; + +import familytree.Member; +import java.util.Arrays; +import java.util.Collection; +import java.util.LinkedHashSet; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import java.util.Set; +import java.util.function.Consumer; +import java.util.stream.Collectors; +import java.util.stream.Stream; +import org.apache.log4j.Logger; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.viatra.query.runtime.api.IPatternMatch; +import org.eclipse.viatra.query.runtime.api.IQuerySpecification; +import org.eclipse.viatra.query.runtime.api.ViatraQueryEngine; +import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFPQuery; +import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFQuerySpecification; +import org.eclipse.viatra.query.runtime.api.impl.BaseMatcher; +import org.eclipse.viatra.query.runtime.api.impl.BasePatternMatch; +import org.eclipse.viatra.query.runtime.emf.types.EClassTransitiveInstancesKey; +import org.eclipse.viatra.query.runtime.matchers.backend.QueryEvaluationHint; +import org.eclipse.viatra.query.runtime.matchers.psystem.PBody; +import org.eclipse.viatra.query.runtime.matchers.psystem.PVariable; +import org.eclipse.viatra.query.runtime.matchers.psystem.annotations.PAnnotation; +import org.eclipse.viatra.query.runtime.matchers.psystem.annotations.ParameterReference; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.ExportedParameter; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.Inequality; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.NegativePatternCall; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicenumerables.TypeConstraint; +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameter; +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameterDirection; +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PVisibility; +import org.eclipse.viatra.query.runtime.matchers.tuple.Tuple; +import org.eclipse.viatra.query.runtime.matchers.tuple.Tuples; +import org.eclipse.viatra.query.runtime.util.ViatraQueryLoggingUtil; +import queries.MemberHasParent; + +/** + * A pattern-specific query specification that can instantiate Matcher in a type-safe way. + * + *

    Original source: + *

    + *         {@literal @}Constraint(message="twoMembersHaveNoParent", severity="error", key={m1, m2})
    + *         pattern twoMembersHaveNoParent(m1:Member, m2:Member) = {
    + *         	neg find memberHasParent(m1);
    + *         	neg find memberHasParent(m2);
    + *         	m1 != m2;
    + *         }
    + * 
    + * + * @see Matcher + * @see Match + * + */ +@SuppressWarnings("all") +public final class TwoMembersHaveNoParent extends BaseGeneratedEMFQuerySpecification { + /** + * Pattern-specific match representation of the queries.twoMembersHaveNoParent pattern, + * to be used in conjunction with {@link Matcher}. + * + *

    Class fields correspond to parameters of the pattern. Fields with value null are considered unassigned. + * Each instance is a (possibly partial) substitution of pattern parameters, + * usable to represent a match of the pattern in the result of a query, + * or to specify the bound (fixed) input parameters when issuing a query. + * + * @see Matcher + * + */ + public static abstract class Match extends BasePatternMatch { + private Member fM1; + + private Member fM2; + + private static List parameterNames = makeImmutableList("m1", "m2"); + + private Match(final Member pM1, final Member pM2) { + this.fM1 = pM1; + this.fM2 = pM2; + } + + @Override + public Object get(final String parameterName) { + switch(parameterName) { + case "m1": return this.fM1; + case "m2": return this.fM2; + default: return null; + } + } + + @Override + public Object get(final int index) { + switch(index) { + case 0: return this.fM1; + case 1: return this.fM2; + default: return null; + } + } + + public Member getM1() { + return this.fM1; + } + + public Member getM2() { + return this.fM2; + } + + @Override + public boolean set(final String parameterName, final Object newValue) { + if (!isMutable()) throw new java.lang.UnsupportedOperationException(); + if ("m1".equals(parameterName) ) { + this.fM1 = (Member) newValue; + return true; + } + if ("m2".equals(parameterName) ) { + this.fM2 = (Member) newValue; + return true; + } + return false; + } + + public void setM1(final Member pM1) { + if (!isMutable()) throw new java.lang.UnsupportedOperationException(); + this.fM1 = pM1; + } + + public void setM2(final Member pM2) { + if (!isMutable()) throw new java.lang.UnsupportedOperationException(); + this.fM2 = pM2; + } + + @Override + public String patternName() { + return "queries.twoMembersHaveNoParent"; + } + + @Override + public List parameterNames() { + return TwoMembersHaveNoParent.Match.parameterNames; + } + + @Override + public Object[] toArray() { + return new Object[]{fM1, fM2}; + } + + @Override + public TwoMembersHaveNoParent.Match toImmutable() { + return isMutable() ? newMatch(fM1, fM2) : this; + } + + @Override + public String prettyPrint() { + StringBuilder result = new StringBuilder(); + result.append("\"m1\"=" + prettyPrintValue(fM1) + ", "); + result.append("\"m2\"=" + prettyPrintValue(fM2)); + return result.toString(); + } + + @Override + public int hashCode() { + return Objects.hash(fM1, fM2); + } + + @Override + public boolean equals(final Object obj) { + if (this == obj) + return true; + if (obj == null) { + return false; + } + if ((obj instanceof TwoMembersHaveNoParent.Match)) { + TwoMembersHaveNoParent.Match other = (TwoMembersHaveNoParent.Match) obj; + return Objects.equals(fM1, other.fM1) && Objects.equals(fM2, other.fM2); + } else { + // this should be infrequent + if (!(obj instanceof IPatternMatch)) { + return false; + } + IPatternMatch otherSig = (IPatternMatch) obj; + return Objects.equals(specification(), otherSig.specification()) && Arrays.deepEquals(toArray(), otherSig.toArray()); + } + } + + @Override + public TwoMembersHaveNoParent specification() { + return TwoMembersHaveNoParent.instance(); + } + + /** + * Returns an empty, mutable match. + * Fields of the mutable match can be filled to create a partial match, usable as matcher input. + * + * @return the empty match. + * + */ + public static TwoMembersHaveNoParent.Match newEmptyMatch() { + return new Mutable(null, null); + } + + /** + * Returns a mutable (partial) match. + * Fields of the mutable match can be filled to create a partial match, usable as matcher input. + * + * @param pM1 the fixed value of pattern parameter m1, or null if not bound. + * @param pM2 the fixed value of pattern parameter m2, or null if not bound. + * @return the new, mutable (partial) match object. + * + */ + public static TwoMembersHaveNoParent.Match newMutableMatch(final Member pM1, final Member pM2) { + return new Mutable(pM1, pM2); + } + + /** + * Returns a new (partial) match. + * This can be used e.g. to call the matcher with a partial match. + *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. + * @param pM1 the fixed value of pattern parameter m1, or null if not bound. + * @param pM2 the fixed value of pattern parameter m2, or null if not bound. + * @return the (partial) match object. + * + */ + public static TwoMembersHaveNoParent.Match newMatch(final Member pM1, final Member pM2) { + return new Immutable(pM1, pM2); + } + + private static final class Mutable extends TwoMembersHaveNoParent.Match { + Mutable(final Member pM1, final Member pM2) { + super(pM1, pM2); + } + + @Override + public boolean isMutable() { + return true; + } + } + + private static final class Immutable extends TwoMembersHaveNoParent.Match { + Immutable(final Member pM1, final Member pM2) { + super(pM1, pM2); + } + + @Override + public boolean isMutable() { + return false; + } + } + } + + /** + * Generated pattern matcher API of the queries.twoMembersHaveNoParent pattern, + * providing pattern-specific query methods. + * + *

    Use the pattern matcher on a given model via {@link #on(ViatraQueryEngine)}, + * e.g. in conjunction with {@link ViatraQueryEngine#on(QueryScope)}. + * + *

    Matches of the pattern will be represented as {@link Match}. + * + *

    Original source: + *

    +   * {@literal @}Constraint(message="twoMembersHaveNoParent", severity="error", key={m1, m2})
    +   * pattern twoMembersHaveNoParent(m1:Member, m2:Member) = {
    +   * 	neg find memberHasParent(m1);
    +   * 	neg find memberHasParent(m2);
    +   * 	m1 != m2;
    +   * }
    +   * 
    + * + * @see Match + * @see TwoMembersHaveNoParent + * + */ + public static class Matcher extends BaseMatcher { + /** + * Initializes the pattern matcher within an existing VIATRA Query engine. + * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. + * + * @param engine the existing VIATRA Query engine in which this matcher will be created. + * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation + * + */ + public static TwoMembersHaveNoParent.Matcher on(final ViatraQueryEngine engine) { + // check if matcher already exists + Matcher matcher = engine.getExistingMatcher(querySpecification()); + if (matcher == null) { + matcher = (Matcher)engine.getMatcher(querySpecification()); + } + return matcher; + } + + /** + * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation + * @return an initialized matcher + * @noreference This method is for internal matcher initialization by the framework, do not call it manually. + * + */ + public static TwoMembersHaveNoParent.Matcher create() { + return new Matcher(); + } + + private static final int POSITION_M1 = 0; + + private static final int POSITION_M2 = 1; + + private static final Logger LOGGER = ViatraQueryLoggingUtil.getLogger(TwoMembersHaveNoParent.Matcher.class); + + /** + * Initializes the pattern matcher within an existing VIATRA Query engine. + * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. + * + * @param engine the existing VIATRA Query engine in which this matcher will be created. + * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation + * + */ + private Matcher() { + super(querySpecification()); + } + + /** + * Returns the set of all matches of the pattern that conform to the given fixed values of some parameters. + * @param pM1 the fixed value of pattern parameter m1, or null if not bound. + * @param pM2 the fixed value of pattern parameter m2, or null if not bound. + * @return matches represented as a Match object. + * + */ + public Collection getAllMatches(final Member pM1, final Member pM2) { + return rawStreamAllMatches(new Object[]{pM1, pM2}).collect(Collectors.toSet()); + } + + /** + * Returns a stream of all matches of the pattern that conform to the given fixed values of some parameters. + *

    + * NOTE: It is important not to modify the source model while the stream is being processed. + * If the match set of the pattern changes during processing, the contents of the stream is undefined. + * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. + * @param pM1 the fixed value of pattern parameter m1, or null if not bound. + * @param pM2 the fixed value of pattern parameter m2, or null if not bound. + * @return a stream of matches represented as a Match object. + * + */ + public Stream streamAllMatches(final Member pM1, final Member pM2) { + return rawStreamAllMatches(new Object[]{pM1, pM2}); + } + + /** + * Returns an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. + * Neither determinism nor randomness of selection is guaranteed. + * @param pM1 the fixed value of pattern parameter m1, or null if not bound. + * @param pM2 the fixed value of pattern parameter m2, or null if not bound. + * @return a match represented as a Match object, or null if no match is found. + * + */ + public Optional getOneArbitraryMatch(final Member pM1, final Member pM2) { + return rawGetOneArbitraryMatch(new Object[]{pM1, pM2}); + } + + /** + * Indicates whether the given combination of specified pattern parameters constitute a valid pattern match, + * under any possible substitution of the unspecified parameters (if any). + * @param pM1 the fixed value of pattern parameter m1, or null if not bound. + * @param pM2 the fixed value of pattern parameter m2, or null if not bound. + * @return true if the input is a valid (partial) match of the pattern. + * + */ + public boolean hasMatch(final Member pM1, final Member pM2) { + return rawHasMatch(new Object[]{pM1, pM2}); + } + + /** + * Returns the number of all matches of the pattern that conform to the given fixed values of some parameters. + * @param pM1 the fixed value of pattern parameter m1, or null if not bound. + * @param pM2 the fixed value of pattern parameter m2, or null if not bound. + * @return the number of pattern matches found. + * + */ + public int countMatches(final Member pM1, final Member pM2) { + return rawCountMatches(new Object[]{pM1, pM2}); + } + + /** + * Executes the given processor on an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. + * Neither determinism nor randomness of selection is guaranteed. + * @param pM1 the fixed value of pattern parameter m1, or null if not bound. + * @param pM2 the fixed value of pattern parameter m2, or null if not bound. + * @param processor the action that will process the selected match. + * @return true if the pattern has at least one match with the given parameter values, false if the processor was not invoked + * + */ + public boolean forOneArbitraryMatch(final Member pM1, final Member pM2, final Consumer processor) { + return rawForOneArbitraryMatch(new Object[]{pM1, pM2}, processor); + } + + /** + * Returns a new (partial) match. + * This can be used e.g. to call the matcher with a partial match. + *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. + * @param pM1 the fixed value of pattern parameter m1, or null if not bound. + * @param pM2 the fixed value of pattern parameter m2, or null if not bound. + * @return the (partial) match object. + * + */ + public TwoMembersHaveNoParent.Match newMatch(final Member pM1, final Member pM2) { + return TwoMembersHaveNoParent.Match.newMatch(pM1, pM2); + } + + /** + * Retrieve the set of values that occur in matches for m1. + * @return the Set of all values or empty set if there are no matches + * + */ + protected Stream rawStreamAllValuesOfm1(final Object[] parameters) { + return rawStreamAllValues(POSITION_M1, parameters).map(Member.class::cast); + } + + /** + * Retrieve the set of values that occur in matches for m1. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOfm1() { + return rawStreamAllValuesOfm1(emptyArray()).collect(Collectors.toSet()); + } + + /** + * Retrieve the set of values that occur in matches for m1. + * @return the Set of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOfm1() { + return rawStreamAllValuesOfm1(emptyArray()); + } + + /** + * Retrieve the set of values that occur in matches for m1. + *

    + * NOTE: It is important not to modify the source model while the stream is being processed. + * If the match set of the pattern changes during processing, the contents of the stream is undefined. + * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. + * + * @return the Stream of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOfm1(final TwoMembersHaveNoParent.Match partialMatch) { + return rawStreamAllValuesOfm1(partialMatch.toArray()); + } + + /** + * Retrieve the set of values that occur in matches for m1. + *

    + * NOTE: It is important not to modify the source model while the stream is being processed. + * If the match set of the pattern changes during processing, the contents of the stream is undefined. + * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. + * + * @return the Stream of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOfm1(final Member pM2) { + return rawStreamAllValuesOfm1(new Object[]{null, pM2}); + } + + /** + * Retrieve the set of values that occur in matches for m1. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOfm1(final TwoMembersHaveNoParent.Match partialMatch) { + return rawStreamAllValuesOfm1(partialMatch.toArray()).collect(Collectors.toSet()); + } + + /** + * Retrieve the set of values that occur in matches for m1. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOfm1(final Member pM2) { + return rawStreamAllValuesOfm1(new Object[]{null, pM2}).collect(Collectors.toSet()); + } + + /** + * Retrieve the set of values that occur in matches for m2. + * @return the Set of all values or empty set if there are no matches + * + */ + protected Stream rawStreamAllValuesOfm2(final Object[] parameters) { + return rawStreamAllValues(POSITION_M2, parameters).map(Member.class::cast); + } + + /** + * Retrieve the set of values that occur in matches for m2. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOfm2() { + return rawStreamAllValuesOfm2(emptyArray()).collect(Collectors.toSet()); + } + + /** + * Retrieve the set of values that occur in matches for m2. + * @return the Set of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOfm2() { + return rawStreamAllValuesOfm2(emptyArray()); + } + + /** + * Retrieve the set of values that occur in matches for m2. + *

    + * NOTE: It is important not to modify the source model while the stream is being processed. + * If the match set of the pattern changes during processing, the contents of the stream is undefined. + * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. + * + * @return the Stream of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOfm2(final TwoMembersHaveNoParent.Match partialMatch) { + return rawStreamAllValuesOfm2(partialMatch.toArray()); + } + + /** + * Retrieve the set of values that occur in matches for m2. + *

    + * NOTE: It is important not to modify the source model while the stream is being processed. + * If the match set of the pattern changes during processing, the contents of the stream is undefined. + * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. + * + * @return the Stream of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOfm2(final Member pM1) { + return rawStreamAllValuesOfm2(new Object[]{pM1, null}); + } + + /** + * Retrieve the set of values that occur in matches for m2. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOfm2(final TwoMembersHaveNoParent.Match partialMatch) { + return rawStreamAllValuesOfm2(partialMatch.toArray()).collect(Collectors.toSet()); + } + + /** + * Retrieve the set of values that occur in matches for m2. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOfm2(final Member pM1) { + return rawStreamAllValuesOfm2(new Object[]{pM1, null}).collect(Collectors.toSet()); + } + + @Override + protected TwoMembersHaveNoParent.Match tupleToMatch(final Tuple t) { + try { + return TwoMembersHaveNoParent.Match.newMatch((Member) t.get(POSITION_M1), (Member) t.get(POSITION_M2)); + } catch(ClassCastException e) { + LOGGER.error("Element(s) in tuple not properly typed!",e); + return null; + } + } + + @Override + protected TwoMembersHaveNoParent.Match arrayToMatch(final Object[] match) { + try { + return TwoMembersHaveNoParent.Match.newMatch((Member) match[POSITION_M1], (Member) match[POSITION_M2]); + } catch(ClassCastException e) { + LOGGER.error("Element(s) in array not properly typed!",e); + return null; + } + } + + @Override + protected TwoMembersHaveNoParent.Match arrayToMatchMutable(final Object[] match) { + try { + return TwoMembersHaveNoParent.Match.newMutableMatch((Member) match[POSITION_M1], (Member) match[POSITION_M2]); + } catch(ClassCastException e) { + LOGGER.error("Element(s) in array not properly typed!",e); + return null; + } + } + + /** + * @return the singleton instance of the query specification of this pattern + * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded + * + */ + public static IQuerySpecification querySpecification() { + return TwoMembersHaveNoParent.instance(); + } + } + + private TwoMembersHaveNoParent() { + super(GeneratedPQuery.INSTANCE); + } + + /** + * @return the singleton instance of the query specification + * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded + * + */ + public static TwoMembersHaveNoParent instance() { + try{ + return LazyHolder.INSTANCE; + } catch (ExceptionInInitializerError err) { + throw processInitializerError(err); + } + } + + @Override + protected TwoMembersHaveNoParent.Matcher instantiate(final ViatraQueryEngine engine) { + return TwoMembersHaveNoParent.Matcher.on(engine); + } + + @Override + public TwoMembersHaveNoParent.Matcher instantiate() { + return TwoMembersHaveNoParent.Matcher.create(); + } + + @Override + public TwoMembersHaveNoParent.Match newEmptyMatch() { + return TwoMembersHaveNoParent.Match.newEmptyMatch(); + } + + @Override + public TwoMembersHaveNoParent.Match newMatch(final Object... parameters) { + return TwoMembersHaveNoParent.Match.newMatch((familytree.Member) parameters[0], (familytree.Member) parameters[1]); + } + + /** + * Inner class allowing the singleton instance of {@link TwoMembersHaveNoParent} to be created + * not at the class load time of the outer class, + * but rather at the first call to {@link TwoMembersHaveNoParent#instance()}. + * + *

    This workaround is required e.g. to support recursion. + * + */ + private static class LazyHolder { + private static final TwoMembersHaveNoParent INSTANCE = new TwoMembersHaveNoParent(); + + /** + * Statically initializes the query specification after the field {@link #INSTANCE} is assigned. + * This initialization order is required to support indirect recursion. + * + *

    The static initializer is defined using a helper field to work around limitations of the code generator. + * + */ + private static final Object STATIC_INITIALIZER = ensureInitialized(); + + public static Object ensureInitialized() { + INSTANCE.ensureInitializedInternal(); + return null; + } + } + + private static class GeneratedPQuery extends BaseGeneratedEMFPQuery { + private static final TwoMembersHaveNoParent.GeneratedPQuery INSTANCE = new GeneratedPQuery(); + + private final PParameter parameter_m1 = new PParameter("m1", "familytree.Member", new EClassTransitiveInstancesKey((EClass)getClassifierLiteralSafe("http://www.example.org/familytree", "Member")), PParameterDirection.INOUT); + + private final PParameter parameter_m2 = new PParameter("m2", "familytree.Member", new EClassTransitiveInstancesKey((EClass)getClassifierLiteralSafe("http://www.example.org/familytree", "Member")), PParameterDirection.INOUT); + + private final List parameters = Arrays.asList(parameter_m1, parameter_m2); + + private GeneratedPQuery() { + super(PVisibility.PUBLIC); + } + + @Override + public String getFullyQualifiedName() { + return "queries.twoMembersHaveNoParent"; + } + + @Override + public List getParameterNames() { + return Arrays.asList("m1","m2"); + } + + @Override + public List getParameters() { + return parameters; + } + + @Override + public Set doGetContainedBodies() { + setEvaluationHints(new QueryEvaluationHint(null, QueryEvaluationHint.BackendRequirement.UNSPECIFIED)); + Set bodies = new LinkedHashSet<>(); + { + PBody body = new PBody(this); + PVariable var_m1 = body.getOrCreateVariableByName("m1"); + PVariable var_m2 = body.getOrCreateVariableByName("m2"); + new TypeConstraint(body, Tuples.flatTupleOf(var_m1), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.example.org/familytree", "Member"))); + new TypeConstraint(body, Tuples.flatTupleOf(var_m2), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.example.org/familytree", "Member"))); + body.setSymbolicParameters(Arrays.asList( + new ExportedParameter(body, var_m1, parameter_m1), + new ExportedParameter(body, var_m2, parameter_m2) + )); + // neg find memberHasParent(m1) + new NegativePatternCall(body, Tuples.flatTupleOf(var_m1), MemberHasParent.instance().getInternalQueryRepresentation()); + // neg find memberHasParent(m2) + new NegativePatternCall(body, Tuples.flatTupleOf(var_m2), MemberHasParent.instance().getInternalQueryRepresentation()); + // m1 != m2 + new Inequality(body, var_m1, var_m2); + bodies.add(body); + } + { + PAnnotation annotation = new PAnnotation("Constraint"); + annotation.addAttribute("message", "twoMembersHaveNoParent"); + annotation.addAttribute("severity", "error"); + annotation.addAttribute("key", Arrays.asList(new Object[] { + new ParameterReference("m1"), + new ParameterReference("m2") + })); + addAnnotation(annotation); + } + return bodies; + } + } +} diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.originalFiles/xtend-gen/converter/.UML2TGF.xtendbin b/Tests/MODELS2020-CaseStudies/case.study.pledge.originalFiles/xtend-gen/converter/.UML2TGF.xtendbin index 2890feb7..d5f0c05c 100644 Binary files a/Tests/MODELS2020-CaseStudies/case.study.pledge.originalFiles/xtend-gen/converter/.UML2TGF.xtendbin and b/Tests/MODELS2020-CaseStudies/case.study.pledge.originalFiles/xtend-gen/converter/.UML2TGF.xtendbin differ diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.originalFiles/xtend-gen/converter/.gitignore b/Tests/MODELS2020-CaseStudies/case.study.pledge.originalFiles/xtend-gen/converter/.gitignore index 2df5d1c0..7a39cb70 100644 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.originalFiles/xtend-gen/converter/.gitignore +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.originalFiles/xtend-gen/converter/.gitignore @@ -1 +1,3 @@ /.UML2TGF.java._trace +/.UML2TGF.xtendbin +/UML2TGF.java diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/bin/.gitignore b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/bin/.gitignore index 07e30191..e8806810 100644 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/bin/.gitignore +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/bin/.gitignore @@ -1 +1,2 @@ /run/ +/queries/ diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/plugin.xml b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/plugin.xml index 63aa0b02..8b036ff2 100644 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/plugin.xml +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/plugin.xml @@ -1,42 +1,42 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/xtend-gen/run/.GeneratePledgeModels.xtendbin b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/xtend-gen/run/.GeneratePledgeModels.xtendbin index c5572067..0b00309c 100644 Binary files a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/xtend-gen/run/.GeneratePledgeModels.xtendbin and b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/xtend-gen/run/.GeneratePledgeModels.xtendbin differ -- cgit v1.2.3-70-g09d2 From 42c58bbeead1dae09c51f47abc8e10dfbb9c3f9f Mon Sep 17 00:00:00 2001 From: Kristóf Marussy Date: Tue, 23 Jun 2020 15:17:00 +0200 Subject: New configuration language parser WIP --- .../.ApplicationConfigurationIdeModule.xtendbin | Bin 1701 -> 1701 bytes .../ide/.ApplicationConfigurationIdeSetup.xtendbin | Bin 2526 -> 2526 bytes .../contentassist/antlr/SolverLanguageParser.java | 281 +- .../antlr/internal/InternalSolverLanguageParser.g | 6848 +++-- .../internal/InternalSolverLanguageParser.java | 25127 +++++++++++-------- .../internal/InternalSolverLanguageParser.tokens | 139 +- .../antlr/lexer/InternalSolverLanguageLexer.g | 30 +- .../antlr/lexer/InternalSolverLanguageLexer.java | 1325 +- .../antlr/lexer/InternalSolverLanguageLexer.tokens | 139 +- .../.classpath | 7 + .../.gitignore | 1 + .../.project | 35 + .../.settings/org.eclipse.jdt.core.prefs | 8 + .../META-INF/MANIFEST.MF | 16 + .../build.properties | 10 + .../model/model.aird | 6757 +++++ .../model/model.ecore | 327 + .../model/model.genmodel | 287 + .../plugin.properties | 4 + .../plugin.xml | 17 + .../language/solverLanguage/AbstractAssertion.java | 67 + .../solverLanguage/AggregateExpression.java | 59 + .../language/solverLanguage/Aggregation.java | 67 + .../solverLanguage/AggregationOperator.java | 67 + .../solver/language/solverLanguage/Argument.java | 18 + .../language/solverLanguage/ArgumentList.java | 38 + .../solver/language/solverLanguage/Assertion.java | 16 + .../solver/language/solverLanguage/Attribute.java | 70 + .../language/solverLanguage/AttributeKind.java | 250 + .../language/solverLanguage/BaseRelation.java | 16 + .../language/solverLanguage/BinaryExpression.java | 93 + .../language/solverLanguage/BinaryOperator.java | 435 + .../solverLanguage/BoundedMultiplicity.java | 67 + .../language/solverLanguage/BoundedScope.java | 67 + .../solver/language/solverLanguage/Call.java | 67 + .../solver/language/solverLanguage/Case.java | 67 + .../language/solverLanguage/CastExpression.java | 67 + .../language/solverLanguage/ClassDeclaration.java | 118 + .../solverLanguage/ConditionalExpression.java | 90 + .../language/solverLanguage/Conjunction.java | 16 + .../solver/language/solverLanguage/Count.java | 16 + .../solver/language/solverLanguage/Datatype.java | 16 + .../language/solverLanguage/DefaultAssertion.java | 16 + .../language/solverLanguage/Disjunction.java | 16 + .../language/solverLanguage/EmptyLiteral.java | 16 + .../language/solverLanguage/EnumDeclaration.java | 59 + .../language/solverLanguage/EnumLiteral.java | 46 + .../language/solverLanguage/ExactMultiplicity.java | 44 + .../solver/language/solverLanguage/ExactScope.java | 44 + .../solver/language/solverLanguage/Expression.java | 36 + .../solverLanguage/ExpressionArgument.java | 44 + .../ExternAggregationOperatorDeclaration.java | 67 + .../solverLanguage/ExternDatatypeDeclaration.java | 16 + .../language/solverLanguage/ExternDeclaration.java | 44 + .../solverLanguage/ExternFunctionDeclaration.java | 44 + .../solverLanguage/ExternFunctorDeclaration.java | 44 + .../solverLanguage/ExternPredicateDeclaration.java | 16 + .../solver/language/solverLanguage/Field.java | 161 + .../solver/language/solverLanguage/Forall.java | 44 + .../solver/language/solverLanguage/Function.java | 44 + .../solverLanguage/FunctionDefinition.java | 44 + .../solver/language/solverLanguage/Functor.java | 36 + .../language/solverLanguage/FunctorDefiniton.java | 67 + .../solver/language/solverLanguage/Import.java | 46 + .../language/solverLanguage/InfinityLiteral.java | 16 + .../solverLanguage/InlinePredicateAttrributes.java | 69 + .../solver/language/solverLanguage/IntLiteral.java | 44 + .../solver/language/solverLanguage/Interval.java | 67 + .../solver/language/solverLanguage/LetBinding.java | 115 + .../language/solverLanguage/LetExpression.java | 59 + .../solver/language/solverLanguage/Literal.java | 16 + .../language/solverLanguage/LogicLiteral.java | 47 + .../solver/language/solverLanguage/LogicValue.java | 250 + .../language/solverLanguage/LowerBoundedScope.java | 44 + .../solver/language/solverLanguage/Metric.java | 16 + .../language/solverLanguage/MultiaryExpession.java | 36 + .../language/solverLanguage/Multiplicity.java | 18 + .../language/solverLanguage/NamespaceImport.java | 44 + .../solver/language/solverLanguage/Node.java | 44 + .../solverLanguage/ObjectiveDeclaration.java | 70 + .../language/solverLanguage/ObjectiveKind.java | 204 + .../solver/language/solverLanguage/Operator.java | 16 + .../language/solverLanguage/PathComponent.java | 115 + .../solver/language/solverLanguage/Predicate.java | 16 + .../solverLanguage/PredicateDefinition.java | 16 + .../solver/language/solverLanguage/Problem.java | 87 + .../language/solverLanguage/RealLiteral.java | 46 + .../solver/language/solverLanguage/Reference.java | 36 + .../solver/language/solverLanguage/Relation.java | 16 + .../language/solverLanguage/ScopeDeclaration.java | 44 + .../solverLanguage/SolverLanguageFactory.java | 592 + .../solverLanguage/SolverLanguagePackage.java | 7554 ++++++ .../language/solverLanguage/StarArgument.java | 16 + .../solver/language/solverLanguage/Statement.java | 18 + .../language/solverLanguage/StringLiteral.java | 44 + .../solver/language/solverLanguage/Switch.java | 36 + .../solver/language/solverLanguage/Symbol.java | 46 + .../language/solverLanguage/TypeReference.java | 69 + .../language/solverLanguage/TypedArgument.java | 44 + .../language/solverLanguage/TypedStarArgument.java | 16 + .../solverLanguage/TypedVariableArgument.java | 44 + .../language/solverLanguage/UnaryExpression.java | 70 + .../language/solverLanguage/UnaryOperator.java | 250 + .../solverLanguage/UnboundedMultiplicity.java | 16 + .../UnnamedErrorPredicateDefintion.java | 67 + .../solver/language/solverLanguage/UriImport.java | 44 + .../solver/language/solverLanguage/Variable.java | 44 + .../solverLanguage/impl/AbstractAssertionImpl.java | 255 + .../impl/AggregateExpressionImpl.java | 228 + .../solverLanguage/impl/AggregationImpl.java | 245 + .../impl/AggregationOperatorImpl.java | 222 + .../language/solverLanguage/impl/ArgumentImpl.java | 39 + .../solverLanguage/impl/ArgumentListImpl.java | 153 + .../solverLanguage/impl/AssertionImpl.java | 37 + .../solverLanguage/impl/AttributeImpl.java | 230 + .../solverLanguage/impl/BaseRelationImpl.java | 37 + .../solverLanguage/impl/BinaryExpressionImpl.java | 326 + .../impl/BoundedMultiplicityImpl.java | 219 + .../solverLanguage/impl/BoundedScopeImpl.java | 219 + .../language/solverLanguage/impl/CallImpl.java | 256 + .../language/solverLanguage/impl/CaseImpl.java | 254 + .../solverLanguage/impl/CastExpressionImpl.java | 246 + .../solverLanguage/impl/ClassDeclarationImpl.java | 371 + .../impl/ConditionalExpressionImpl.java | 328 + .../solverLanguage/impl/ConjunctionImpl.java | 37 + .../language/solverLanguage/impl/CountImpl.java | 37 + .../language/solverLanguage/impl/DatatypeImpl.java | 37 + .../solverLanguage/impl/DefaultAssertionImpl.java | 37 + .../solverLanguage/impl/DisjunctionImpl.java | 37 + .../solverLanguage/impl/EmptyLiteralImpl.java | 37 + .../solverLanguage/impl/EnumDeclarationImpl.java | 224 + .../solverLanguage/impl/EnumLiteralImpl.java | 165 + .../solverLanguage/impl/ExactMultiplicityImpl.java | 164 + .../solverLanguage/impl/ExactScopeImpl.java | 164 + .../impl/ExpressionArgumentImpl.java | 182 + .../solverLanguage/impl/ExpressionImpl.java | 151 + .../ExternAggregationOperatorDeclarationImpl.java | 227 + .../impl/ExternDatatypeDeclarationImpl.java | 37 + .../solverLanguage/impl/ExternDeclarationImpl.java | 164 + .../impl/ExternFunctionDeclarationImpl.java | 159 + .../impl/ExternFunctorDeclarationImpl.java | 184 + .../impl/ExternPredicateDeclarationImpl.java | 260 + .../language/solverLanguage/impl/FieldImpl.java | 488 + .../language/solverLanguage/impl/ForallImpl.java | 182 + .../impl/FunctionDefinitionImpl.java | 159 + .../language/solverLanguage/impl/FunctionImpl.java | 159 + .../solverLanguage/impl/FunctorDefinitonImpl.java | 255 + .../language/solverLanguage/impl/FunctorImpl.java | 151 + .../language/solverLanguage/impl/ImportImpl.java | 165 + .../solverLanguage/impl/InfinityLiteralImpl.java | 37 + .../solverLanguage/impl/IntLiteralImpl.java | 164 + .../language/solverLanguage/impl/IntervalImpl.java | 255 + .../solverLanguage/impl/LetBindingImpl.java | 391 + .../solverLanguage/impl/LetExpressionImpl.java | 228 + .../language/solverLanguage/impl/LiteralImpl.java | 37 + .../solverLanguage/impl/LogicLiteralImpl.java | 165 + .../solverLanguage/impl/LowerBoundedScopeImpl.java | 164 + .../language/solverLanguage/impl/MetricImpl.java | 37 + .../solverLanguage/impl/MultiaryExpessionImpl.java | 151 + .../solverLanguage/impl/MultiplicityImpl.java | 39 + .../solverLanguage/impl/NamespaceImportImpl.java | 166 + .../language/solverLanguage/impl/NodeImpl.java | 163 + .../impl/ObjectiveDeclarationImpl.java | 253 + .../language/solverLanguage/impl/OperatorImpl.java | 37 + .../solverLanguage/impl/PathComponentImpl.java | 341 + .../impl/PredicateDefinitionImpl.java | 260 + .../solverLanguage/impl/PredicateImpl.java | 37 + .../language/solverLanguage/impl/ProblemImpl.java | 298 + .../solverLanguage/impl/RealLiteralImpl.java | 166 + .../solverLanguage/impl/ReferenceImpl.java | 151 + .../language/solverLanguage/impl/RelationImpl.java | 37 + .../solverLanguage/impl/ScopeDeclarationImpl.java | 159 + .../impl/SolverLanguageFactoryImpl.java | 985 + .../impl/SolverLanguagePackageImpl.java | 3364 +++ .../solverLanguage/impl/StarArgumentImpl.java | 37 + .../solverLanguage/impl/StatementImpl.java | 39 + .../solverLanguage/impl/StringLiteralImpl.java | 164 + .../language/solverLanguage/impl/SwitchImpl.java | 150 + .../language/solverLanguage/impl/SymbolImpl.java | 164 + .../solverLanguage/impl/TypeReferenceImpl.java | 230 + .../solverLanguage/impl/TypedArgumentImpl.java | 182 + .../solverLanguage/impl/TypedStarArgumentImpl.java | 37 + .../impl/TypedVariableArgumentImpl.java | 164 + .../solverLanguage/impl/UnaryExpressionImpl.java | 253 + .../impl/UnboundedMultiplicityImpl.java | 37 + .../impl/UnnamedErrorPredicateDefintionImpl.java | 262 + .../solverLanguage/impl/UriImportImpl.java | 163 + .../language/solverLanguage/impl/VariableImpl.java | 182 + .../util/SolverLanguageAdapterFactory.java | 1620 ++ .../solverLanguage/util/SolverLanguageSwitch.java | 2114 ++ .../AbstractSolverLanguageProposalProvider.java | 288 +- .../.SolverSemanticHighlightCalculator.xtendbin | Bin 5334 -> 5334 bytes .../.SolverSemanticTextAttributeProvider.xtendbin | Bin 4902 -> 4902 bytes .../validation/.SolverLanguageValidator.xtendbin | Bin 1717 -> 1717 bytes .../org.eclipse.viatra.solver.language/.classpath | 1 - .../META-INF/MANIFEST.MF | 10 +- .../build.properties | 3 +- .../language/solverLanguage/Aggregation.java | 115 - .../solver/language/solverLanguage/Argument.java | 19 - .../language/solverLanguage/ArgumentList.java | 39 - .../language/solverLanguage/BinaryExpression.java | 95 - .../language/solverLanguage/BinaryOperator.java | 463 - .../solverLanguage/BoundedMultiplicity.java | 69 - .../solverLanguage/BoundedScopeDefinition.java | 69 - .../solver/language/solverLanguage/Call.java | 115 - .../solver/language/solverLanguage/Case.java | 69 - .../language/solverLanguage/CastExpression.java | 69 - .../language/solverLanguage/ClassDefinition.java | 96 - .../solver/language/solverLanguage/Comparison.java | 95 - .../language/solverLanguage/Conjunction.java | 37 - .../language/solverLanguage/DefaultDefinition.java | 69 - .../language/solverLanguage/Disjunction.java | 37 - .../solverLanguage/EmptyIntervalLiteral.java | 18 - .../language/solverLanguage/ExactMultiplicity.java | 46 - .../solverLanguage/ExactScopeDefinition.java | 46 - .../solver/language/solverLanguage/Expression.java | 18 - .../solverLanguage/ExpressionArgument.java | 46 - .../solverLanguage/ExternAggregatorDefinition.java | 92 - .../solverLanguage/ExternDatatypeDefinition.java | 60 - .../solverLanguage/ExternMetricDefinition.java | 92 - .../solverLanguage/ExternPredicateDefinition.java | 69 - .../solver/language/solverLanguage/Functor.java | 37 - .../solver/language/solverLanguage/IfElse.java | 92 - .../language/solverLanguage/InfinityLiteral.java | 18 - .../language/solverLanguage/Interpretation.java | 69 - .../solver/language/solverLanguage/Interval.java | 69 - .../viatra/solver/language/solverLanguage/Let.java | 60 - .../solver/language/solverLanguage/LetBinding.java | 70 - .../solver/language/solverLanguage/Literal.java | 18 - .../language/solverLanguage/LocalVariables.java | 39 - .../language/solverLanguage/LogicLiteral.java | 49 - .../solver/language/solverLanguage/LogicValue.java | 256 - .../LowerBoundedScopeDefinition.java | 46 - .../language/solverLanguage/ManyMultiplicity.java | 18 - .../language/solverLanguage/MemberDefinition.java | 139 - .../solver/language/solverLanguage/Metric.java | 46 - .../language/solverLanguage/MetricDefinition.java | 92 - .../language/solverLanguage/Multiplicity.java | 19 - .../language/solverLanguage/NamedElement.java | 47 - .../solver/language/solverLanguage/Node.java | 46 - .../language/solverLanguage/NumericLiteral.java | 47 - .../solverLanguage/ObjectiveDefinition.java | 72 - .../language/solverLanguage/ObjectiveKind.java | 210 - .../solver/language/solverLanguage/Predicate.java | 18 - .../solverLanguage/PredicateDefinition.java | 115 - .../solver/language/solverLanguage/Problem.java | 39 - .../solverLanguage/QuantifiedExpression.java | 95 - .../solver/language/solverLanguage/Quantifier.java | 233 - .../solver/language/solverLanguage/Reference.java | 46 - .../language/solverLanguage/ScopeDefinition.java | 46 - .../solverLanguage/SolverLanguageFactory.java | 538 - .../solverLanguage/SolverLanguagePackage.java | 5191 ---- .../language/solverLanguage/StarArgument.java | 18 - .../solver/language/solverLanguage/Statement.java | 19 - .../language/solverLanguage/StringLiteral.java | 46 - .../solver/language/solverLanguage/Switch.java | 37 - .../language/solverLanguage/TypedArgument.java | 69 - .../language/solverLanguage/TypedStarArgument.java | 46 - .../language/solverLanguage/UnaryExpression.java | 72 - .../solver/language/solverLanguage/UnaryOp.java | 302 - .../UnnamedErrorPrediateDefinition.java | 69 - .../solver/language/solverLanguage/Variable.java | 46 - .../solverLanguage/impl/AggregationImpl.java | 378 - .../language/solverLanguage/impl/ArgumentImpl.java | 40 - .../solverLanguage/impl/ArgumentListImpl.java | 154 - .../solverLanguage/impl/BinaryExpressionImpl.java | 317 - .../impl/BoundedMultiplicityImpl.java | 221 - .../impl/BoundedScopeDefinitionImpl.java | 221 - .../language/solverLanguage/impl/CallImpl.java | 373 - .../language/solverLanguage/impl/CaseImpl.java | 246 - .../solverLanguage/impl/CastExpressionImpl.java | 241 - .../solverLanguage/impl/ClassDefinitionImpl.java | 318 - .../solverLanguage/impl/ComparisonImpl.java | 317 - .../solverLanguage/impl/ConjunctionImpl.java | 152 - .../solverLanguage/impl/DefaultDefinitionImpl.java | 247 - .../solverLanguage/impl/DisjunctionImpl.java | 152 - .../impl/EmptyIntervalLiteralImpl.java | 38 - .../solverLanguage/impl/ExactMultiplicityImpl.java | 165 - .../impl/ExactScopeDefinitionImpl.java | 165 - .../impl/ExpressionArgumentImpl.java | 178 - .../solverLanguage/impl/ExpressionImpl.java | 38 - .../impl/ExternAggregatorDefinitionImpl.java | 291 - .../impl/ExternDatatypeDefinitionImpl.java | 208 - .../impl/ExternMetricDefinitionImpl.java | 311 - .../impl/ExternPredicateDefinitionImpl.java | 248 - .../language/solverLanguage/impl/FunctorImpl.java | 134 - .../language/solverLanguage/impl/IfElseImpl.java | 314 - .../solverLanguage/impl/InfinityLiteralImpl.java | 38 - .../solverLanguage/impl/InterpretationImpl.java | 246 - .../language/solverLanguage/impl/IntervalImpl.java | 246 - .../solverLanguage/impl/LetBindingImpl.java | 248 - .../language/solverLanguage/impl/LetImpl.java | 224 - .../language/solverLanguage/impl/LiteralImpl.java | 38 - .../solverLanguage/impl/LocalVariablesImpl.java | 154 - .../solverLanguage/impl/LogicLiteralImpl.java | 166 - .../impl/LowerBoundedScopeDefinitionImpl.java | 165 - .../solverLanguage/impl/ManyMultiplicityImpl.java | 38 - .../solverLanguage/impl/MemberDefinitionImpl.java | 430 - .../solverLanguage/impl/MetricDefinitionImpl.java | 309 - .../language/solverLanguage/impl/MetricImpl.java | 159 - .../solverLanguage/impl/MultiplicityImpl.java | 40 - .../solverLanguage/impl/NamedElementImpl.java | 166 - .../language/solverLanguage/impl/NodeImpl.java | 165 - .../solverLanguage/impl/NumericLiteralImpl.java | 167 - .../impl/ObjectiveDefinitionImpl.java | 249 - .../impl/PredicateDefinitionImpl.java | 372 - .../solverLanguage/impl/PredicateImpl.java | 38 - .../language/solverLanguage/impl/ProblemImpl.java | 154 - .../impl/QuantifiedExpressionImpl.java | 318 - .../solverLanguage/impl/ReferenceImpl.java | 159 - .../solverLanguage/impl/ScopeDefinitionImpl.java | 159 - .../impl/SolverLanguageFactoryImpl.java | 905 - .../impl/SolverLanguagePackageImpl.java | 2726 -- .../solverLanguage/impl/StarArgumentImpl.java | 38 - .../solverLanguage/impl/StatementImpl.java | 40 - .../solverLanguage/impl/StringLiteralImpl.java | 165 - .../language/solverLanguage/impl/SwitchImpl.java | 152 - .../solverLanguage/impl/TypedArgumentImpl.java | 221 - .../solverLanguage/impl/TypedStarArgumentImpl.java | 159 - .../solverLanguage/impl/UnaryExpressionImpl.java | 249 - .../impl/UnnamedErrorPrediateDefinitionImpl.java | 247 - .../language/solverLanguage/impl/VariableImpl.java | 159 - .../util/SolverLanguageAdapterFactory.java | 1147 - .../solverLanguage/util/SolverLanguageSwitch.java | 1388 - .../model/SolverLanguage.ecore | 291 - .../model/SolverLanguage.genmodel | 249 - .../org.eclipse.viatra.solver.language/plugin.xml | 8 +- .../AbstractSolverLanguageRuntimeModule.java | 7 + .../viatra/solver/language/SolverLanguage.xtextbin | Bin 13021 -> 14135 bytes .../antlr/internal/InternalSolverLanguageParser.g | 2941 ++- .../internal/InternalSolverLanguageParser.java | 9569 ++++--- .../internal/InternalSolverLanguageParser.tokens | 139 +- .../antlr/lexer/InternalSolverLanguageLexer.g | 30 +- .../antlr/lexer/InternalSolverLanguageLexer.java | 1325 +- .../antlr/lexer/InternalSolverLanguageLexer.tokens | 139 +- .../SolverLanguageSemanticSequencer.java | 1375 +- .../SolverLanguageSyntacticSequencer.java | 87 +- .../services/SolverLanguageGrammarAccess.java | 2840 ++- .../solver/language/GenerateSolverLanguage.mwe2 | 2 +- .../viatra/solver/language/SolverLanguage.xtext | 215 +- .../parser/antlr/SolverLanguageTokenSource.java | 47 +- ....SolverLanguageTokenDefInjectingParser.xtendbin | Bin 2742 -> 2742 bytes ...nguageSyntheticTokenSyntacticSequencer.xtendbin | Bin 2758 -> 2758 bytes .../xtend-gen/converter/.UML2TGF.xtendbin | Bin 6885 -> 6885 bytes 344 files changed, 73587 insertions(+), 50107 deletions(-) create mode 100644 Application/org.eclipse.viatra.solver.language.model/.classpath create mode 100644 Application/org.eclipse.viatra.solver.language.model/.gitignore create mode 100644 Application/org.eclipse.viatra.solver.language.model/.project create mode 100644 Application/org.eclipse.viatra.solver.language.model/.settings/org.eclipse.jdt.core.prefs create mode 100644 Application/org.eclipse.viatra.solver.language.model/META-INF/MANIFEST.MF create mode 100644 Application/org.eclipse.viatra.solver.language.model/build.properties create mode 100644 Application/org.eclipse.viatra.solver.language.model/model/model.aird create mode 100644 Application/org.eclipse.viatra.solver.language.model/model/model.ecore create mode 100644 Application/org.eclipse.viatra.solver.language.model/model/model.genmodel create mode 100644 Application/org.eclipse.viatra.solver.language.model/plugin.properties create mode 100644 Application/org.eclipse.viatra.solver.language.model/plugin.xml create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/AbstractAssertion.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/AggregateExpression.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Aggregation.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/AggregationOperator.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Argument.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/ArgumentList.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Assertion.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Attribute.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/AttributeKind.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/BaseRelation.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/BinaryExpression.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/BinaryOperator.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/BoundedMultiplicity.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/BoundedScope.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Call.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Case.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/CastExpression.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/ClassDeclaration.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/ConditionalExpression.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Conjunction.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Count.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Datatype.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/DefaultAssertion.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Disjunction.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/EmptyLiteral.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/EnumDeclaration.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/EnumLiteral.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/ExactMultiplicity.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/ExactScope.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Expression.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/ExpressionArgument.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/ExternAggregationOperatorDeclaration.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/ExternDatatypeDeclaration.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/ExternDeclaration.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/ExternFunctionDeclaration.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/ExternFunctorDeclaration.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/ExternPredicateDeclaration.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Field.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Forall.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Function.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/FunctionDefinition.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Functor.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/FunctorDefiniton.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Import.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/InfinityLiteral.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/InlinePredicateAttrributes.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/IntLiteral.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Interval.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/LetBinding.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/LetExpression.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Literal.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/LogicLiteral.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/LogicValue.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/LowerBoundedScope.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Metric.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/MultiaryExpession.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Multiplicity.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/NamespaceImport.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Node.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/ObjectiveDeclaration.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/ObjectiveKind.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Operator.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/PathComponent.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Predicate.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/PredicateDefinition.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Problem.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/RealLiteral.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Reference.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Relation.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/ScopeDeclaration.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/SolverLanguageFactory.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/SolverLanguagePackage.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/StarArgument.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Statement.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/StringLiteral.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Switch.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Symbol.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/TypeReference.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/TypedArgument.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/TypedStarArgument.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/TypedVariableArgument.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/UnaryExpression.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/UnaryOperator.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/UnboundedMultiplicity.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/UnnamedErrorPredicateDefintion.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/UriImport.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Variable.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/AbstractAssertionImpl.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/AggregateExpressionImpl.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/AggregationImpl.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/AggregationOperatorImpl.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ArgumentImpl.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ArgumentListImpl.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/AssertionImpl.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/AttributeImpl.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/BaseRelationImpl.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/BinaryExpressionImpl.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/BoundedMultiplicityImpl.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/BoundedScopeImpl.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/CallImpl.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/CaseImpl.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/CastExpressionImpl.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ClassDeclarationImpl.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ConditionalExpressionImpl.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ConjunctionImpl.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/CountImpl.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/DatatypeImpl.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/DefaultAssertionImpl.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/DisjunctionImpl.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/EmptyLiteralImpl.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/EnumDeclarationImpl.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/EnumLiteralImpl.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExactMultiplicityImpl.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExactScopeImpl.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExpressionArgumentImpl.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExpressionImpl.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExternAggregationOperatorDeclarationImpl.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExternDatatypeDeclarationImpl.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExternDeclarationImpl.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExternFunctionDeclarationImpl.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExternFunctorDeclarationImpl.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExternPredicateDeclarationImpl.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/FieldImpl.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ForallImpl.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/FunctionDefinitionImpl.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/FunctionImpl.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/FunctorDefinitonImpl.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/FunctorImpl.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ImportImpl.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/InfinityLiteralImpl.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/IntLiteralImpl.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/IntervalImpl.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/LetBindingImpl.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/LetExpressionImpl.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/LiteralImpl.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/LogicLiteralImpl.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/LowerBoundedScopeImpl.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/MetricImpl.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/MultiaryExpessionImpl.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/MultiplicityImpl.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/NamespaceImportImpl.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/NodeImpl.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ObjectiveDeclarationImpl.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/OperatorImpl.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/PathComponentImpl.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/PredicateDefinitionImpl.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/PredicateImpl.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ProblemImpl.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/RealLiteralImpl.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ReferenceImpl.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/RelationImpl.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ScopeDeclarationImpl.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/SolverLanguageFactoryImpl.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/SolverLanguagePackageImpl.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/StarArgumentImpl.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/StatementImpl.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/StringLiteralImpl.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/SwitchImpl.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/SymbolImpl.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/TypeReferenceImpl.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/TypedArgumentImpl.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/TypedStarArgumentImpl.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/TypedVariableArgumentImpl.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/UnaryExpressionImpl.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/UnboundedMultiplicityImpl.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/UnnamedErrorPredicateDefintionImpl.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/UriImportImpl.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/VariableImpl.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/util/SolverLanguageAdapterFactory.java create mode 100644 Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/util/SolverLanguageSwitch.java delete mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Aggregation.java delete mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Argument.java delete mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/ArgumentList.java delete mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/BinaryExpression.java delete mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/BinaryOperator.java delete mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/BoundedMultiplicity.java delete mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/BoundedScopeDefinition.java delete mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Call.java delete mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Case.java delete mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/CastExpression.java delete mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/ClassDefinition.java delete mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Comparison.java delete mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Conjunction.java delete mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/DefaultDefinition.java delete mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Disjunction.java delete mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/EmptyIntervalLiteral.java delete mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/ExactMultiplicity.java delete mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/ExactScopeDefinition.java delete mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Expression.java delete mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/ExpressionArgument.java delete mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/ExternAggregatorDefinition.java delete mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/ExternDatatypeDefinition.java delete mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/ExternMetricDefinition.java delete mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/ExternPredicateDefinition.java delete mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Functor.java delete mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/IfElse.java delete mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/InfinityLiteral.java delete mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Interpretation.java delete mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Interval.java delete mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Let.java delete mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/LetBinding.java delete mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Literal.java delete mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/LocalVariables.java delete mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/LogicLiteral.java delete mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/LogicValue.java delete mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/LowerBoundedScopeDefinition.java delete mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/ManyMultiplicity.java delete mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/MemberDefinition.java delete mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Metric.java delete mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/MetricDefinition.java delete mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Multiplicity.java delete mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/NamedElement.java delete mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Node.java delete mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/NumericLiteral.java delete mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/ObjectiveDefinition.java delete mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/ObjectiveKind.java delete mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Predicate.java delete mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/PredicateDefinition.java delete mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Problem.java delete mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/QuantifiedExpression.java delete mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Quantifier.java delete mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Reference.java delete mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/ScopeDefinition.java delete mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/SolverLanguageFactory.java delete mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/SolverLanguagePackage.java delete mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/StarArgument.java delete mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Statement.java delete mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/StringLiteral.java delete mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Switch.java delete mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/TypedArgument.java delete mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/TypedStarArgument.java delete mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/UnaryExpression.java delete mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/UnaryOp.java delete mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/UnnamedErrorPrediateDefinition.java delete mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Variable.java delete mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/AggregationImpl.java delete mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ArgumentImpl.java delete mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ArgumentListImpl.java delete mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/BinaryExpressionImpl.java delete mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/BoundedMultiplicityImpl.java delete mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/BoundedScopeDefinitionImpl.java delete mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/CallImpl.java delete mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/CaseImpl.java delete mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/CastExpressionImpl.java delete mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ClassDefinitionImpl.java delete mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ComparisonImpl.java delete mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ConjunctionImpl.java delete mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/DefaultDefinitionImpl.java delete mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/DisjunctionImpl.java delete mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/EmptyIntervalLiteralImpl.java delete mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExactMultiplicityImpl.java delete mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExactScopeDefinitionImpl.java delete mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExpressionArgumentImpl.java delete mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExpressionImpl.java delete mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExternAggregatorDefinitionImpl.java delete mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExternDatatypeDefinitionImpl.java delete mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExternMetricDefinitionImpl.java delete mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExternPredicateDefinitionImpl.java delete mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/FunctorImpl.java delete mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/IfElseImpl.java delete mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/InfinityLiteralImpl.java delete mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/InterpretationImpl.java delete mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/IntervalImpl.java delete mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/LetBindingImpl.java delete mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/LetImpl.java delete mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/LiteralImpl.java delete mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/LocalVariablesImpl.java delete mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/LogicLiteralImpl.java delete mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/LowerBoundedScopeDefinitionImpl.java delete mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ManyMultiplicityImpl.java delete mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/MemberDefinitionImpl.java delete mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/MetricDefinitionImpl.java delete mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/MetricImpl.java delete mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/MultiplicityImpl.java delete mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/NamedElementImpl.java delete mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/NodeImpl.java delete mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/NumericLiteralImpl.java delete mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ObjectiveDefinitionImpl.java delete mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/PredicateDefinitionImpl.java delete mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/PredicateImpl.java delete mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ProblemImpl.java delete mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/QuantifiedExpressionImpl.java delete mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ReferenceImpl.java delete mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ScopeDefinitionImpl.java delete mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/SolverLanguageFactoryImpl.java delete mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/SolverLanguagePackageImpl.java delete mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/StarArgumentImpl.java delete mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/StatementImpl.java delete mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/StringLiteralImpl.java delete mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/SwitchImpl.java delete mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/TypedArgumentImpl.java delete mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/TypedStarArgumentImpl.java delete mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/UnaryExpressionImpl.java delete mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/UnnamedErrorPrediateDefinitionImpl.java delete mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/VariableImpl.java delete mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/util/SolverLanguageAdapterFactory.java delete mode 100644 Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/util/SolverLanguageSwitch.java delete mode 100644 Application/org.eclipse.viatra.solver.language/model/SolverLanguage.ecore delete mode 100644 Application/org.eclipse.viatra.solver.language/model/SolverLanguage.genmodel (limited to 'Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner') diff --git a/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeModule.xtendbin b/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeModule.xtendbin index fae8ba45..917be1cc 100644 Binary files a/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeModule.xtendbin and b/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeModule.xtendbin differ diff --git a/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeSetup.xtendbin b/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeSetup.xtendbin index e820bee5..b0c68e2a 100644 Binary files a/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeSetup.xtendbin and b/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeSetup.xtendbin differ diff --git a/Application/org.eclipse.viatra.solver.language.ide/src-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/SolverLanguageParser.java b/Application/org.eclipse.viatra.solver.language.ide/src-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/SolverLanguageParser.java index a84662a2..584cec38 100644 --- a/Application/org.eclipse.viatra.solver.language.ide/src-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/SolverLanguageParser.java +++ b/Application/org.eclipse.viatra.solver.language.ide/src-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/SolverLanguageParser.java @@ -33,54 +33,65 @@ public class SolverLanguageParser extends AbstractContentAssistParser { } private static void init(ImmutableMap.Builder builder, SolverLanguageGrammarAccess grammarAccess) { - builder.put(grammarAccess.getStatementAccess().getAlternatives_0(), "rule__Statement__Alternatives_0"); + builder.put(grammarAccess.getStatementAccess().getAlternatives(), "rule__Statement__Alternatives"); + builder.put(grammarAccess.getImportAccess().getAlternatives(), "rule__Import__Alternatives"); builder.put(grammarAccess.getAssertionOrDefinitionAccess().getAlternatives_1(), "rule__AssertionOrDefinition__Alternatives_1"); builder.put(grammarAccess.getPredicateDefinitionAccess().getAlternatives_0(), "rule__PredicateDefinition__Alternatives_0"); + builder.put(grammarAccess.getExternDeclarationAccess().getAlternatives(), "rule__ExternDeclaration__Alternatives"); builder.put(grammarAccess.getExpressionAccess().getAlternatives(), "rule__Expression__Alternatives"); builder.put(grammarAccess.getDisjunctiveExpressionAccess().getAlternatives_1(), "rule__DisjunctiveExpression__Alternatives_1"); builder.put(grammarAccess.getUnaryExpressionAccess().getAlternatives(), "rule__UnaryExpression__Alternatives"); - builder.put(grammarAccess.getAggregationExpressionAccess().getAlternatives(), "rule__AggregationExpression__Alternatives"); + builder.put(grammarAccess.getBracedAggregateExpressionAccess().getAlternatives(), "rule__BracedAggregateExpression__Alternatives"); builder.put(grammarAccess.getAtomicExpressionAccess().getAlternatives(), "rule__AtomicExpression__Alternatives"); - builder.put(grammarAccess.getCallAccess().getAlternatives_1(), "rule__Call__Alternatives_1"); builder.put(grammarAccess.getArgumentAccess().getAlternatives(), "rule__Argument__Alternatives"); + builder.put(grammarAccess.getPathComponentAccess().getAlternatives_2(), "rule__PathComponent__Alternatives_2"); builder.put(grammarAccess.getLiteralAccess().getAlternatives(), "rule__Literal__Alternatives"); + builder.put(grammarAccess.getClassDeclarationAccess().getAlternatives_4(), "rule__ClassDeclaration__Alternatives_4"); + builder.put(grammarAccess.getFieldAccess().getAlternatives_0(), "rule__Field__Alternatives_0"); builder.put(grammarAccess.getMultiplicityAccess().getAlternatives(), "rule__Multiplicity__Alternatives"); - builder.put(grammarAccess.getScopeDefinitionAccess().getAlternatives(), "rule__ScopeDefinition__Alternatives"); - builder.put(grammarAccess.getBoundedScopeDefinitionAccess().getAlternatives_1(), "rule__BoundedScopeDefinition__Alternatives_1"); - builder.put(grammarAccess.getLowerBoundedScopeDefinitionAccess().getAlternatives_1(), "rule__LowerBoundedScopeDefinition__Alternatives_1"); + builder.put(grammarAccess.getEnumDeclarationAccess().getAlternatives_2(), "rule__EnumDeclaration__Alternatives_2"); + builder.put(grammarAccess.getScopeDeclarationAccess().getAlternatives(), "rule__ScopeDeclaration__Alternatives"); + builder.put(grammarAccess.getBoundedScopeAccess().getAlternatives_1(), "rule__BoundedScope__Alternatives_1"); + builder.put(grammarAccess.getLowerBoundedScopeAccess().getAlternatives_1(), "rule__LowerBoundedScope__Alternatives_1"); builder.put(grammarAccess.getUpperMultiplictyAccess().getAlternatives(), "rule__UpperMultiplicty__Alternatives"); - builder.put(grammarAccess.getQualifiedNameAccess().getAlternatives(), "rule__QualifiedName__Alternatives"); + builder.put(grammarAccess.getQualifiedNameSegmentAccess().getAlternatives(), "rule__QualifiedNameSegment__Alternatives"); + builder.put(grammarAccess.getAttributeKindAccess().getAlternatives(), "rule__AttributeKind__Alternatives"); builder.put(grammarAccess.getComparisonOperatorAccess().getAlternatives(), "rule__ComparisonOperator__Alternatives"); builder.put(grammarAccess.getAdditiveBinaryOperatorAccess().getAlternatives(), "rule__AdditiveBinaryOperator__Alternatives"); builder.put(grammarAccess.getMultiplicativeBinaryOperatorAccess().getAlternatives(), "rule__MultiplicativeBinaryOperator__Alternatives"); - builder.put(grammarAccess.getUnaryOpAccess().getAlternatives(), "rule__UnaryOp__Alternatives"); - builder.put(grammarAccess.getQuantifierAccess().getAlternatives(), "rule__Quantifier__Alternatives"); + builder.put(grammarAccess.getUnaryOperatorAccess().getAlternatives(), "rule__UnaryOperator__Alternatives"); builder.put(grammarAccess.getLogicValueAccess().getAlternatives(), "rule__LogicValue__Alternatives"); builder.put(grammarAccess.getObjectiveKindAccess().getAlternatives(), "rule__ObjectiveKind__Alternatives"); - builder.put(grammarAccess.getStatementAccess().getGroup(), "rule__Statement__Group__0"); + builder.put(grammarAccess.getProblemAccess().getGroup(), "rule__Problem__Group__0"); + builder.put(grammarAccess.getProblemAccess().getGroup_0(), "rule__Problem__Group_0__0"); + builder.put(grammarAccess.getUriImportAccess().getGroup(), "rule__UriImport__Group__0"); + builder.put(grammarAccess.getUriImportAccess().getGroup_2(), "rule__UriImport__Group_2__0"); + builder.put(grammarAccess.getNamespaceImportAccess().getGroup(), "rule__NamespaceImport__Group__0"); + builder.put(grammarAccess.getNamespaceImportAccess().getGroup_2(), "rule__NamespaceImport__Group_2__0"); builder.put(grammarAccess.getAssertionOrDefinitionAccess().getGroup(), "rule__AssertionOrDefinition__Group__0"); builder.put(grammarAccess.getAssertionOrDefinitionAccess().getGroup_1_0(), "rule__AssertionOrDefinition__Group_1_0__0"); + builder.put(grammarAccess.getAssertionOrDefinitionAccess().getGroup_1_0_1(), "rule__AssertionOrDefinition__Group_1_0_1__0"); builder.put(grammarAccess.getAssertionOrDefinitionAccess().getGroup_1_1(), "rule__AssertionOrDefinition__Group_1_1__0"); builder.put(grammarAccess.getAssertionOrDefinitionAccess().getGroup_1_2(), "rule__AssertionOrDefinition__Group_1_2__0"); builder.put(grammarAccess.getPredicateDefinitionAccess().getGroup(), "rule__PredicateDefinition__Group__0"); builder.put(grammarAccess.getPredicateDefinitionAccess().getGroup_0_0(), "rule__PredicateDefinition__Group_0_0__0"); builder.put(grammarAccess.getPredicateDefinitionAccess().getGroup_0_1(), "rule__PredicateDefinition__Group_0_1__0"); - builder.put(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getGroup(), "rule__UnnamedErrorPrediateDefinition__Group__0"); - builder.put(grammarAccess.getDefaultDefinitionAccess().getGroup(), "rule__DefaultDefinition__Group__0"); - builder.put(grammarAccess.getMetricDefinitionAccess().getGroup(), "rule__MetricDefinition__Group__0"); - builder.put(grammarAccess.getExternPredicateDefinitionAccess().getGroup(), "rule__ExternPredicateDefinition__Group__0"); - builder.put(grammarAccess.getExternMetricDefinitionAccess().getGroup(), "rule__ExternMetricDefinition__Group__0"); - builder.put(grammarAccess.getExternAggregatorDefinitionAccess().getGroup(), "rule__ExternAggregatorDefinition__Group__0"); - builder.put(grammarAccess.getExternDatatypeDefinitionAccess().getGroup(), "rule__ExternDatatypeDefinition__Group__0"); - builder.put(grammarAccess.getExternDatatypeDefinitionAccess().getGroup_3(), "rule__ExternDatatypeDefinition__Group_3__0"); - builder.put(grammarAccess.getExternDatatypeDefinitionAccess().getGroup_3_2(), "rule__ExternDatatypeDefinition__Group_3_2__0"); - builder.put(grammarAccess.getVariableAccess().getGroup(), "rule__Variable__Group__0"); - builder.put(grammarAccess.getIfElseAccess().getGroup(), "rule__IfElse__Group__0"); - builder.put(grammarAccess.getLetAccess().getGroup(), "rule__Let__Group__0"); - builder.put(grammarAccess.getLetAccess().getGroup_2(), "rule__Let__Group_2__0"); + builder.put(grammarAccess.getUnnamedErrorPredicateDefintionAccess().getGroup(), "rule__UnnamedErrorPredicateDefintion__Group__0"); + builder.put(grammarAccess.getDefaultAssertionAccess().getGroup(), "rule__DefaultAssertion__Group__0"); + builder.put(grammarAccess.getDefaultAssertionAccess().getGroup_2(), "rule__DefaultAssertion__Group_2__0"); + builder.put(grammarAccess.getFunctionDefinitionAccess().getGroup(), "rule__FunctionDefinition__Group__0"); + builder.put(grammarAccess.getTypeReferenceAccess().getGroup(), "rule__TypeReference__Group__0"); + builder.put(grammarAccess.getAttributeAccess().getGroup(), "rule__Attribute__Group__0"); + builder.put(grammarAccess.getExternPredicateDeclarationAccess().getGroup(), "rule__ExternPredicateDeclaration__Group__0"); + builder.put(grammarAccess.getExternFunctionDeclarationAccess().getGroup(), "rule__ExternFunctionDeclaration__Group__0"); + builder.put(grammarAccess.getExternAggregationOperatorDeclarationAccess().getGroup(), "rule__ExternAggregationOperatorDeclaration__Group__0"); + builder.put(grammarAccess.getExternDatatypeDeclarationAccess().getGroup(), "rule__ExternDatatypeDeclaration__Group__0"); + builder.put(grammarAccess.getExpressionAccess().getGroup_2(), "rule__Expression__Group_2__0"); + builder.put(grammarAccess.getExpressionAccess().getGroup_2_1(), "rule__Expression__Group_2_1__0"); + builder.put(grammarAccess.getConditionalExpressionAccess().getGroup(), "rule__ConditionalExpression__Group__0"); + builder.put(grammarAccess.getLetExpressionAccess().getGroup(), "rule__LetExpression__Group__0"); + builder.put(grammarAccess.getLetExpressionAccess().getGroup_2(), "rule__LetExpression__Group_2__0"); builder.put(grammarAccess.getLetBindingAccess().getGroup(), "rule__LetBinding__Group__0"); - builder.put(grammarAccess.getImplicationExpressionAccess().getGroup(), "rule__ImplicationExpression__Group__0"); - builder.put(grammarAccess.getImplicationExpressionAccess().getGroup_1(), "rule__ImplicationExpression__Group_1__0"); builder.put(grammarAccess.getDisjunctiveExpressionAccess().getGroup(), "rule__DisjunctiveExpression__Group__0"); builder.put(grammarAccess.getDisjunctiveExpressionAccess().getGroup_1_0(), "rule__DisjunctiveExpression__Group_1_0__0"); builder.put(grammarAccess.getDisjunctiveExpressionAccess().getGroup_1_0_1(), "rule__DisjunctiveExpression__Group_1_0_1__0"); @@ -101,47 +112,56 @@ public class SolverLanguageParser extends AbstractContentAssistParser { builder.put(grammarAccess.getCastExpressionAccess().getGroup(), "rule__CastExpression__Group__0"); builder.put(grammarAccess.getCastExpressionAccess().getGroup_1(), "rule__CastExpression__Group_1__0"); builder.put(grammarAccess.getUnaryExpressionAccess().getGroup_1(), "rule__UnaryExpression__Group_1__0"); - builder.put(grammarAccess.getLocalVariablesAccess().getGroup(), "rule__LocalVariables__Group__0"); - builder.put(grammarAccess.getLocalVariablesAccess().getGroup_2(), "rule__LocalVariables__Group_2__0"); - builder.put(grammarAccess.getLocalVariablesAccess().getGroup_2_1(), "rule__LocalVariables__Group_2_1__0"); - builder.put(grammarAccess.getQuantifiedExpressionAccess().getGroup(), "rule__QuantifiedExpression__Group__0"); builder.put(grammarAccess.getAggregationAccess().getGroup(), "rule__Aggregation__Group__0"); - builder.put(grammarAccess.getAggregationAccess().getGroup_4(), "rule__Aggregation__Group_4__0"); + builder.put(grammarAccess.getCountAccess().getGroup(), "rule__Count__Group__0"); builder.put(grammarAccess.getAtomicExpressionAccess().getGroup_4(), "rule__AtomicExpression__Group_4__0"); builder.put(grammarAccess.getCallAccess().getGroup(), "rule__Call__Group__0"); builder.put(grammarAccess.getArgumentListAccess().getGroup(), "rule__ArgumentList__Group__0"); builder.put(grammarAccess.getArgumentListAccess().getGroup_2(), "rule__ArgumentList__Group_2__0"); builder.put(grammarAccess.getArgumentListAccess().getGroup_2_1(), "rule__ArgumentList__Group_2_1__0"); builder.put(grammarAccess.getStarArgumentAccess().getGroup(), "rule__StarArgument__Group__0"); - builder.put(grammarAccess.getTypedArgumentAccess().getGroup(), "rule__TypedArgument__Group__0"); + builder.put(grammarAccess.getTypedVariableArgumentAccess().getGroup(), "rule__TypedVariableArgument__Group__0"); builder.put(grammarAccess.getTypedStarArgumentAccess().getGroup(), "rule__TypedStarArgument__Group__0"); + builder.put(grammarAccess.getReferenceAccess().getGroup(), "rule__Reference__Group__0"); + builder.put(grammarAccess.getReferenceAccess().getGroup_1(), "rule__Reference__Group_1__0"); + builder.put(grammarAccess.getPathComponentAccess().getGroup(), "rule__PathComponent__Group__0"); builder.put(grammarAccess.getIntervalAccess().getGroup(), "rule__Interval__Group__0"); builder.put(grammarAccess.getInfinityLiteralAccess().getGroup(), "rule__InfinityLiteral__Group__0"); - builder.put(grammarAccess.getEmptyIntervalLiteralAccess().getGroup(), "rule__EmptyIntervalLiteral__Group__0"); - builder.put(grammarAccess.getClassDefinitionAccess().getGroup(), "rule__ClassDefinition__Group__0"); - builder.put(grammarAccess.getClassDefinitionAccess().getGroup_3(), "rule__ClassDefinition__Group_3__0"); - builder.put(grammarAccess.getClassDefinitionAccess().getGroup_3_2(), "rule__ClassDefinition__Group_3_2__0"); - builder.put(grammarAccess.getMemberDefinitionAccess().getGroup(), "rule__MemberDefinition__Group__0"); - builder.put(grammarAccess.getMemberDefinitionAccess().getGroup_4(), "rule__MemberDefinition__Group_4__0"); - builder.put(grammarAccess.getManyMultiplicityAccess().getGroup(), "rule__ManyMultiplicity__Group__0"); + builder.put(grammarAccess.getEmptyLiteralAccess().getGroup(), "rule__EmptyLiteral__Group__0"); + builder.put(grammarAccess.getClassDeclarationAccess().getGroup(), "rule__ClassDeclaration__Group__0"); + builder.put(grammarAccess.getClassDeclarationAccess().getGroup_3(), "rule__ClassDeclaration__Group_3__0"); + builder.put(grammarAccess.getClassDeclarationAccess().getGroup_3_2(), "rule__ClassDeclaration__Group_3_2__0"); + builder.put(grammarAccess.getClassDeclarationAccess().getGroup_4_0(), "rule__ClassDeclaration__Group_4_0__0"); + builder.put(grammarAccess.getFieldAccess().getGroup(), "rule__Field__Group__0"); + builder.put(grammarAccess.getFieldAccess().getGroup_4(), "rule__Field__Group_4__0"); + builder.put(grammarAccess.getUnboundedMultiplicityAccess().getGroup(), "rule__UnboundedMultiplicity__Group__0"); builder.put(grammarAccess.getExactMultiplicityAccess().getGroup(), "rule__ExactMultiplicity__Group__0"); builder.put(grammarAccess.getBoundedMultiplicityAccess().getGroup(), "rule__BoundedMultiplicity__Group__0"); - builder.put(grammarAccess.getExactScopeDefinitionAccess().getGroup(), "rule__ExactScopeDefinition__Group__0"); - builder.put(grammarAccess.getBoundedScopeDefinitionAccess().getGroup(), "rule__BoundedScopeDefinition__Group__0"); - builder.put(grammarAccess.getBoundedScopeDefinitionAccess().getGroup_1_0(), "rule__BoundedScopeDefinition__Group_1_0__0"); - builder.put(grammarAccess.getBoundedScopeDefinitionAccess().getGroup_1_0_0(), "rule__BoundedScopeDefinition__Group_1_0_0__0"); - builder.put(grammarAccess.getBoundedScopeDefinitionAccess().getGroup_1_1(), "rule__BoundedScopeDefinition__Group_1_1__0"); - builder.put(grammarAccess.getBoundedScopeDefinitionAccess().getGroup_1_1_3(), "rule__BoundedScopeDefinition__Group_1_1_3__0"); - builder.put(grammarAccess.getLowerBoundedScopeDefinitionAccess().getGroup(), "rule__LowerBoundedScopeDefinition__Group__0"); - builder.put(grammarAccess.getLowerBoundedScopeDefinitionAccess().getGroup_1_0(), "rule__LowerBoundedScopeDefinition__Group_1_0__0"); - builder.put(grammarAccess.getLowerBoundedScopeDefinitionAccess().getGroup_1_1(), "rule__LowerBoundedScopeDefinition__Group_1_1__0"); - builder.put(grammarAccess.getObjectiveDefinitionAccess().getGroup(), "rule__ObjectiveDefinition__Group__0"); + builder.put(grammarAccess.getEnumDeclarationAccess().getGroup(), "rule__EnumDeclaration__Group__0"); + builder.put(grammarAccess.getEnumDeclarationAccess().getGroup_2_0(), "rule__EnumDeclaration__Group_2_0__0"); + builder.put(grammarAccess.getEnumDeclarationAccess().getGroup_2_0_1(), "rule__EnumDeclaration__Group_2_0_1__0"); + builder.put(grammarAccess.getEnumDeclarationAccess().getGroup_2_0_1_1(), "rule__EnumDeclaration__Group_2_0_1_1__0"); + builder.put(grammarAccess.getExactScopeAccess().getGroup(), "rule__ExactScope__Group__0"); + builder.put(grammarAccess.getBoundedScopeAccess().getGroup(), "rule__BoundedScope__Group__0"); + builder.put(grammarAccess.getBoundedScopeAccess().getGroup_1_0(), "rule__BoundedScope__Group_1_0__0"); + builder.put(grammarAccess.getBoundedScopeAccess().getGroup_1_0_0(), "rule__BoundedScope__Group_1_0_0__0"); + builder.put(grammarAccess.getBoundedScopeAccess().getGroup_1_1(), "rule__BoundedScope__Group_1_1__0"); + builder.put(grammarAccess.getBoundedScopeAccess().getGroup_1_1_3(), "rule__BoundedScope__Group_1_1_3__0"); + builder.put(grammarAccess.getLowerBoundedScopeAccess().getGroup(), "rule__LowerBoundedScope__Group__0"); + builder.put(grammarAccess.getLowerBoundedScopeAccess().getGroup_1_0(), "rule__LowerBoundedScope__Group_1_0__0"); + builder.put(grammarAccess.getLowerBoundedScopeAccess().getGroup_1_1(), "rule__LowerBoundedScope__Group_1_1__0"); + builder.put(grammarAccess.getObjectiveDeclarationAccess().getGroup(), "rule__ObjectiveDeclaration__Group__0"); builder.put(grammarAccess.getRealAccess().getGroup(), "rule__Real__Group__0"); - builder.put(grammarAccess.getRealAccess().getGroup_1(), "rule__Real__Group_1__0"); - builder.put(grammarAccess.getQualifiedNameAccess().getGroup_0(), "rule__QualifiedName__Group_0__0"); - builder.put(grammarAccess.getQualifiedNameAccess().getGroup_0_1(), "rule__QualifiedName__Group_0_1__0"); - builder.put(grammarAccess.getProblemAccess().getStatementsAssignment(), "rule__Problem__StatementsAssignment"); - builder.put(grammarAccess.getAssertionOrDefinitionAccess().getRangeAssignment_1_0_2(), "rule__AssertionOrDefinition__RangeAssignment_1_0_2"); + builder.put(grammarAccess.getQualifiedNameAccess().getGroup(), "rule__QualifiedName__Group__0"); + builder.put(grammarAccess.getQualifiedNameAccess().getGroup_1(), "rule__QualifiedName__Group_1__0"); + builder.put(grammarAccess.getProblemAccess().getNameAssignment_0_1(), "rule__Problem__NameAssignment_0_1"); + builder.put(grammarAccess.getProblemAccess().getImportsAssignment_1(), "rule__Problem__ImportsAssignment_1"); + builder.put(grammarAccess.getProblemAccess().getStatementsAssignment_2(), "rule__Problem__StatementsAssignment_2"); + builder.put(grammarAccess.getUriImportAccess().getUriAssignment_1(), "rule__UriImport__UriAssignment_1"); + builder.put(grammarAccess.getUriImportAccess().getAliasAssignment_2_1(), "rule__UriImport__AliasAssignment_2_1"); + builder.put(grammarAccess.getNamespaceImportAccess().getImportedNamespaceAssignment_1(), "rule__NamespaceImport__ImportedNamespaceAssignment_1"); + builder.put(grammarAccess.getNamespaceImportAccess().getAliasAssignment_2_1(), "rule__NamespaceImport__AliasAssignment_2_1"); + builder.put(grammarAccess.getAssertionOrDefinitionAccess().getRangeAssignment_1_0_1_1(), "rule__AssertionOrDefinition__RangeAssignment_1_0_1_1"); builder.put(grammarAccess.getAssertionOrDefinitionAccess().getBodyAssignment_1_1_2(), "rule__AssertionOrDefinition__BodyAssignment_1_1_2"); builder.put(grammarAccess.getAssertionOrDefinitionAccess().getBodyAssignment_1_2_2(), "rule__AssertionOrDefinition__BodyAssignment_1_2_2"); builder.put(grammarAccess.getPredicateDefinitionAccess().getFunctionalAssignment_0_0_0(), "rule__PredicateDefinition__FunctionalAssignment_0_0_0"); @@ -150,36 +170,38 @@ public class SolverLanguageParser extends AbstractContentAssistParser { builder.put(grammarAccess.getPredicateDefinitionAccess().getFunctionalAssignment_0_1_1(), "rule__PredicateDefinition__FunctionalAssignment_0_1_1"); builder.put(grammarAccess.getPredicateDefinitionAccess().getHeadAssignment_1(), "rule__PredicateDefinition__HeadAssignment_1"); builder.put(grammarAccess.getPredicateDefinitionAccess().getBodyAssignment_3(), "rule__PredicateDefinition__BodyAssignment_3"); - builder.put(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getArgumentListAssignment_1(), "rule__UnnamedErrorPrediateDefinition__ArgumentListAssignment_1"); - builder.put(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getBodyAssignment_3(), "rule__UnnamedErrorPrediateDefinition__BodyAssignment_3"); - builder.put(grammarAccess.getDefaultDefinitionAccess().getHeadAssignment_1(), "rule__DefaultDefinition__HeadAssignment_1"); - builder.put(grammarAccess.getDefaultDefinitionAccess().getRangeAssignment_3(), "rule__DefaultDefinition__RangeAssignment_3"); - builder.put(grammarAccess.getMetricDefinitionAccess().getTypeAssignment_0(), "rule__MetricDefinition__TypeAssignment_0"); - builder.put(grammarAccess.getMetricDefinitionAccess().getHeadAssignment_1(), "rule__MetricDefinition__HeadAssignment_1"); - builder.put(grammarAccess.getMetricDefinitionAccess().getBodyAssignment_3(), "rule__MetricDefinition__BodyAssignment_3"); - builder.put(grammarAccess.getExternPredicateDefinitionAccess().getNameAssignment_1(), "rule__ExternPredicateDefinition__NameAssignment_1"); - builder.put(grammarAccess.getExternPredicateDefinitionAccess().getArgumentListAssignment_2(), "rule__ExternPredicateDefinition__ArgumentListAssignment_2"); - builder.put(grammarAccess.getExternMetricDefinitionAccess().getTypeAssignment_1(), "rule__ExternMetricDefinition__TypeAssignment_1"); - builder.put(grammarAccess.getExternMetricDefinitionAccess().getNameAssignment_2(), "rule__ExternMetricDefinition__NameAssignment_2"); - builder.put(grammarAccess.getExternMetricDefinitionAccess().getArgumentListAssignment_3(), "rule__ExternMetricDefinition__ArgumentListAssignment_3"); - builder.put(grammarAccess.getExternAggregatorDefinitionAccess().getTypeAssignment_1(), "rule__ExternAggregatorDefinition__TypeAssignment_1"); - builder.put(grammarAccess.getExternAggregatorDefinitionAccess().getNameAssignment_2(), "rule__ExternAggregatorDefinition__NameAssignment_2"); - builder.put(grammarAccess.getExternAggregatorDefinitionAccess().getInputTypeAssignment_4(), "rule__ExternAggregatorDefinition__InputTypeAssignment_4"); - builder.put(grammarAccess.getExternDatatypeDefinitionAccess().getNameAssignment_2(), "rule__ExternDatatypeDefinition__NameAssignment_2"); - builder.put(grammarAccess.getExternDatatypeDefinitionAccess().getSupertypesAssignment_3_1(), "rule__ExternDatatypeDefinition__SupertypesAssignment_3_1"); - builder.put(grammarAccess.getExternDatatypeDefinitionAccess().getSupertypesAssignment_3_2_1(), "rule__ExternDatatypeDefinition__SupertypesAssignment_3_2_1"); - builder.put(grammarAccess.getVariableAccess().getTypeAssignment_0(), "rule__Variable__TypeAssignment_0"); - builder.put(grammarAccess.getVariableAccess().getNameAssignment_1(), "rule__Variable__NameAssignment_1"); - builder.put(grammarAccess.getIfElseAccess().getConditionAssignment_1(), "rule__IfElse__ConditionAssignment_1"); - builder.put(grammarAccess.getIfElseAccess().getThenAssignment_3(), "rule__IfElse__ThenAssignment_3"); - builder.put(grammarAccess.getIfElseAccess().getElseAssignment_5(), "rule__IfElse__ElseAssignment_5"); - builder.put(grammarAccess.getLetAccess().getBindingsAssignment_1(), "rule__Let__BindingsAssignment_1"); - builder.put(grammarAccess.getLetAccess().getBindingsAssignment_2_1(), "rule__Let__BindingsAssignment_2_1"); - builder.put(grammarAccess.getLetAccess().getBodyAssignment_4(), "rule__Let__BodyAssignment_4"); - builder.put(grammarAccess.getLetBindingAccess().getVariableAssignment_0(), "rule__LetBinding__VariableAssignment_0"); - builder.put(grammarAccess.getLetBindingAccess().getValueAssignment_2(), "rule__LetBinding__ValueAssignment_2"); - builder.put(grammarAccess.getImplicationExpressionAccess().getOpAssignment_1_1(), "rule__ImplicationExpression__OpAssignment_1_1"); - builder.put(grammarAccess.getImplicationExpressionAccess().getRightAssignment_1_2(), "rule__ImplicationExpression__RightAssignment_1_2"); + builder.put(grammarAccess.getUnnamedErrorPredicateDefintionAccess().getArgumentListAssignment_1(), "rule__UnnamedErrorPredicateDefintion__ArgumentListAssignment_1"); + builder.put(grammarAccess.getUnnamedErrorPredicateDefintionAccess().getBodyAssignment_3(), "rule__UnnamedErrorPredicateDefintion__BodyAssignment_3"); + builder.put(grammarAccess.getDefaultAssertionAccess().getExpressionAssignment_1(), "rule__DefaultAssertion__ExpressionAssignment_1"); + builder.put(grammarAccess.getDefaultAssertionAccess().getRangeAssignment_2_1(), "rule__DefaultAssertion__RangeAssignment_2_1"); + builder.put(grammarAccess.getFunctionDefinitionAccess().getResultTypeAssignment_0(), "rule__FunctionDefinition__ResultTypeAssignment_0"); + builder.put(grammarAccess.getFunctionDefinitionAccess().getHeadAssignment_1(), "rule__FunctionDefinition__HeadAssignment_1"); + builder.put(grammarAccess.getFunctionDefinitionAccess().getBodyAssignment_3(), "rule__FunctionDefinition__BodyAssignment_3"); + builder.put(grammarAccess.getTypeReferenceAccess().getTypeAssignment_0(), "rule__TypeReference__TypeAssignment_0"); + builder.put(grammarAccess.getTypeReferenceAccess().getForceObjectTypeAssignment_1(), "rule__TypeReference__ForceObjectTypeAssignment_1"); + builder.put(grammarAccess.getAttributeAccess().getKindAssignment_0(), "rule__Attribute__KindAssignment_0"); + builder.put(grammarAccess.getAttributeAccess().getTargetAssignment_1(), "rule__Attribute__TargetAssignment_1"); + builder.put(grammarAccess.getExternPredicateDeclarationAccess().getFunctionalAssignment_1_0(), "rule__ExternPredicateDeclaration__FunctionalAssignment_1_0"); + builder.put(grammarAccess.getExternPredicateDeclarationAccess().getErrorAssignment_1_1(), "rule__ExternPredicateDeclaration__ErrorAssignment_1_1"); + builder.put(grammarAccess.getExternPredicateDeclarationAccess().getNameAssignment_2(), "rule__ExternPredicateDeclaration__NameAssignment_2"); + builder.put(grammarAccess.getExternPredicateDeclarationAccess().getArgumentListAssignment_3(), "rule__ExternPredicateDeclaration__ArgumentListAssignment_3"); + builder.put(grammarAccess.getExternFunctionDeclarationAccess().getResultTypeAssignment_1(), "rule__ExternFunctionDeclaration__ResultTypeAssignment_1"); + builder.put(grammarAccess.getExternFunctionDeclarationAccess().getNameAssignment_2(), "rule__ExternFunctionDeclaration__NameAssignment_2"); + builder.put(grammarAccess.getExternFunctionDeclarationAccess().getArgumentListAssignment_3(), "rule__ExternFunctionDeclaration__ArgumentListAssignment_3"); + builder.put(grammarAccess.getExternAggregationOperatorDeclarationAccess().getResultTypeAssignment_1(), "rule__ExternAggregationOperatorDeclaration__ResultTypeAssignment_1"); + builder.put(grammarAccess.getExternAggregationOperatorDeclarationAccess().getNameAssignment_2(), "rule__ExternAggregationOperatorDeclaration__NameAssignment_2"); + builder.put(grammarAccess.getExternAggregationOperatorDeclarationAccess().getArgumentTypeAssignment_4(), "rule__ExternAggregationOperatorDeclaration__ArgumentTypeAssignment_4"); + builder.put(grammarAccess.getExternDatatypeDeclarationAccess().getNameAssignment_2(), "rule__ExternDatatypeDeclaration__NameAssignment_2"); + builder.put(grammarAccess.getExpressionAccess().getBodyAssignment_2_1_2(), "rule__Expression__BodyAssignment_2_1_2"); + builder.put(grammarAccess.getConditionalExpressionAccess().getConditionAssignment_1(), "rule__ConditionalExpression__ConditionAssignment_1"); + builder.put(grammarAccess.getConditionalExpressionAccess().getThenAssignment_3(), "rule__ConditionalExpression__ThenAssignment_3"); + builder.put(grammarAccess.getConditionalExpressionAccess().getElseAssignment_5(), "rule__ConditionalExpression__ElseAssignment_5"); + builder.put(grammarAccess.getLetExpressionAccess().getBindingsAssignment_1(), "rule__LetExpression__BindingsAssignment_1"); + builder.put(grammarAccess.getLetExpressionAccess().getBindingsAssignment_2_1(), "rule__LetExpression__BindingsAssignment_2_1"); + builder.put(grammarAccess.getLetExpressionAccess().getBodyAssignment_4(), "rule__LetExpression__BodyAssignment_4"); + builder.put(grammarAccess.getLetBindingAccess().getTypeAssignment_0(), "rule__LetBinding__TypeAssignment_0"); + builder.put(grammarAccess.getLetBindingAccess().getNameAssignment_1(), "rule__LetBinding__NameAssignment_1"); + builder.put(grammarAccess.getLetBindingAccess().getValueAssignment_3(), "rule__LetBinding__ValueAssignment_3"); builder.put(grammarAccess.getDisjunctiveExpressionAccess().getChildrenAssignment_1_0_1_1(), "rule__DisjunctiveExpression__ChildrenAssignment_1_0_1_1"); builder.put(grammarAccess.getDisjunctiveExpressionAccess().getBodyAssignment_1_1_2(), "rule__DisjunctiveExpression__BodyAssignment_1_1_2"); builder.put(grammarAccess.getDisjunctiveExpressionAccess().getCasesAssignment_1_1_4_1(), "rule__DisjunctiveExpression__CasesAssignment_1_1_4_1"); @@ -194,61 +216,68 @@ public class SolverLanguageParser extends AbstractContentAssistParser { builder.put(grammarAccess.getMultiplicativeExpressionAccess().getRightAssignment_1_2(), "rule__MultiplicativeExpression__RightAssignment_1_2"); builder.put(grammarAccess.getExponentialExpressionAccess().getOpAssignment_1_1(), "rule__ExponentialExpression__OpAssignment_1_1"); builder.put(grammarAccess.getExponentialExpressionAccess().getRightAssignment_1_2(), "rule__ExponentialExpression__RightAssignment_1_2"); - builder.put(grammarAccess.getCastExpressionAccess().getTypeAssignment_1_2(), "rule__CastExpression__TypeAssignment_1_2"); + builder.put(grammarAccess.getCastExpressionAccess().getTargetTypeAssignment_1_2(), "rule__CastExpression__TargetTypeAssignment_1_2"); builder.put(grammarAccess.getUnaryExpressionAccess().getOpAssignment_1_1(), "rule__UnaryExpression__OpAssignment_1_1"); builder.put(grammarAccess.getUnaryExpressionAccess().getBodyAssignment_1_2(), "rule__UnaryExpression__BodyAssignment_1_2"); - builder.put(grammarAccess.getLocalVariablesAccess().getVariablesAssignment_2_0(), "rule__LocalVariables__VariablesAssignment_2_0"); - builder.put(grammarAccess.getLocalVariablesAccess().getVariablesAssignment_2_1_1(), "rule__LocalVariables__VariablesAssignment_2_1_1"); - builder.put(grammarAccess.getQuantifiedExpressionAccess().getQuantifierAssignment_0(), "rule__QuantifiedExpression__QuantifierAssignment_0"); - builder.put(grammarAccess.getQuantifiedExpressionAccess().getLocalVariablesAssignment_1(), "rule__QuantifiedExpression__LocalVariablesAssignment_1"); - builder.put(grammarAccess.getQuantifiedExpressionAccess().getBodyAssignment_3(), "rule__QuantifiedExpression__BodyAssignment_3"); builder.put(grammarAccess.getAggregationAccess().getOpAssignment_0(), "rule__Aggregation__OpAssignment_0"); - builder.put(grammarAccess.getAggregationAccess().getLocalVariablesAssignment_1(), "rule__Aggregation__LocalVariablesAssignment_1"); - builder.put(grammarAccess.getAggregationAccess().getBodyAssignment_3(), "rule__Aggregation__BodyAssignment_3"); - builder.put(grammarAccess.getAggregationAccess().getConditionAssignment_4_1(), "rule__Aggregation__ConditionAssignment_4_1"); + builder.put(grammarAccess.getAggregationAccess().getValueAssignment_2(), "rule__Aggregation__ValueAssignment_2"); + builder.put(grammarAccess.getAggregationAccess().getConditionAssignment_4(), "rule__Aggregation__ConditionAssignment_4"); + builder.put(grammarAccess.getCountAccess().getConditionAssignment_2(), "rule__Count__ConditionAssignment_2"); builder.put(grammarAccess.getCallAccess().getFunctorAssignment_0(), "rule__Call__FunctorAssignment_0"); - builder.put(grammarAccess.getCallAccess().getTransitiveClosureAssignment_1_0(), "rule__Call__TransitiveClosureAssignment_1_0"); - builder.put(grammarAccess.getCallAccess().getReflexiveTransitiveClosureAssignment_1_1(), "rule__Call__ReflexiveTransitiveClosureAssignment_1_1"); - builder.put(grammarAccess.getCallAccess().getArgumentListAssignment_2(), "rule__Call__ArgumentListAssignment_2"); + builder.put(grammarAccess.getCallAccess().getArgumentListAssignment_1(), "rule__Call__ArgumentListAssignment_1"); builder.put(grammarAccess.getArgumentListAccess().getArgumentsAssignment_2_0(), "rule__ArgumentList__ArgumentsAssignment_2_0"); builder.put(grammarAccess.getArgumentListAccess().getArgumentsAssignment_2_1_1(), "rule__ArgumentList__ArgumentsAssignment_2_1_1"); - builder.put(grammarAccess.getExpressionArgumentAccess().getBodyAssignment(), "rule__ExpressionArgument__BodyAssignment"); - builder.put(grammarAccess.getTypedArgumentAccess().getTypeAssignment_0(), "rule__TypedArgument__TypeAssignment_0"); - builder.put(grammarAccess.getTypedArgumentAccess().getVariableAssignment_1(), "rule__TypedArgument__VariableAssignment_1"); - builder.put(grammarAccess.getTypedStarArgumentAccess().getTypeAssignment_0(), "rule__TypedStarArgument__TypeAssignment_0"); - builder.put(grammarAccess.getReferenceAccess().getReferredAssignment(), "rule__Reference__ReferredAssignment"); + builder.put(grammarAccess.getExpressionArgumentAccess().getExpressionAssignment(), "rule__ExpressionArgument__ExpressionAssignment"); + builder.put(grammarAccess.getTypedVariableArgumentAccess().getTypeReferenceAssignment_0(), "rule__TypedVariableArgument__TypeReferenceAssignment_0"); + builder.put(grammarAccess.getTypedVariableArgumentAccess().getNameAssignment_1(), "rule__TypedVariableArgument__NameAssignment_1"); + builder.put(grammarAccess.getTypedStarArgumentAccess().getTypeReferenceAssignment_0(), "rule__TypedStarArgument__TypeReferenceAssignment_0"); + builder.put(grammarAccess.getReferenceAccess().getComponentsAssignment_0(), "rule__Reference__ComponentsAssignment_0"); + builder.put(grammarAccess.getReferenceAccess().getComponentsAssignment_1_1(), "rule__Reference__ComponentsAssignment_1_1"); + builder.put(grammarAccess.getPathComponentAccess().getInverseAssignment_0(), "rule__PathComponent__InverseAssignment_0"); + builder.put(grammarAccess.getPathComponentAccess().getSymbolAssignment_1(), "rule__PathComponent__SymbolAssignment_1"); + builder.put(grammarAccess.getPathComponentAccess().getTransitiveClosureAssignment_2_0(), "rule__PathComponent__TransitiveClosureAssignment_2_0"); + builder.put(grammarAccess.getPathComponentAccess().getReflexiveTransitiveClosureAssignment_2_1(), "rule__PathComponent__ReflexiveTransitiveClosureAssignment_2_1"); builder.put(grammarAccess.getIntervalAccess().getLowerBoundAssignment_1(), "rule__Interval__LowerBoundAssignment_1"); builder.put(grammarAccess.getIntervalAccess().getUpperBoundAssignment_3(), "rule__Interval__UpperBoundAssignment_3"); builder.put(grammarAccess.getLogicLiteralAccess().getValueAssignment(), "rule__LogicLiteral__ValueAssignment"); - builder.put(grammarAccess.getNumericLiteralAccess().getValueAssignment(), "rule__NumericLiteral__ValueAssignment"); + builder.put(grammarAccess.getIntLiteralAccess().getValueAssignment(), "rule__IntLiteral__ValueAssignment"); + builder.put(grammarAccess.getRealLiteralAccess().getValueAssignment(), "rule__RealLiteral__ValueAssignment"); builder.put(grammarAccess.getStringLiteralAccess().getValueAssignment(), "rule__StringLiteral__ValueAssignment"); - builder.put(grammarAccess.getClassDefinitionAccess().getAbstractAssignment_0(), "rule__ClassDefinition__AbstractAssignment_0"); - builder.put(grammarAccess.getClassDefinitionAccess().getNameAssignment_2(), "rule__ClassDefinition__NameAssignment_2"); - builder.put(grammarAccess.getClassDefinitionAccess().getSuperclassesAssignment_3_1(), "rule__ClassDefinition__SuperclassesAssignment_3_1"); - builder.put(grammarAccess.getClassDefinitionAccess().getSuperclassesAssignment_3_2_1(), "rule__ClassDefinition__SuperclassesAssignment_3_2_1"); - builder.put(grammarAccess.getClassDefinitionAccess().getMembersAssignment_5(), "rule__ClassDefinition__MembersAssignment_5"); - builder.put(grammarAccess.getMemberDefinitionAccess().getContainmentAssignment_0(), "rule__MemberDefinition__ContainmentAssignment_0"); - builder.put(grammarAccess.getMemberDefinitionAccess().getTypeAssignment_1(), "rule__MemberDefinition__TypeAssignment_1"); - builder.put(grammarAccess.getMemberDefinitionAccess().getMultiplicityAssignment_2(), "rule__MemberDefinition__MultiplicityAssignment_2"); - builder.put(grammarAccess.getMemberDefinitionAccess().getNameAssignment_3(), "rule__MemberDefinition__NameAssignment_3"); - builder.put(grammarAccess.getMemberDefinitionAccess().getOppositeAssignment_4_1(), "rule__MemberDefinition__OppositeAssignment_4_1"); - builder.put(grammarAccess.getExactMultiplicityAccess().getMultiplicityAssignment_1(), "rule__ExactMultiplicity__MultiplicityAssignment_1"); + builder.put(grammarAccess.getClassDeclarationAccess().getAbstractAssignment_0_0(), "rule__ClassDeclaration__AbstractAssignment_0_0"); + builder.put(grammarAccess.getClassDeclarationAccess().getRootAssignment_0_1(), "rule__ClassDeclaration__RootAssignment_0_1"); + builder.put(grammarAccess.getClassDeclarationAccess().getNameAssignment_2(), "rule__ClassDeclaration__NameAssignment_2"); + builder.put(grammarAccess.getClassDeclarationAccess().getSupertypesAssignment_3_1(), "rule__ClassDeclaration__SupertypesAssignment_3_1"); + builder.put(grammarAccess.getClassDeclarationAccess().getSupertypesAssignment_3_2_1(), "rule__ClassDeclaration__SupertypesAssignment_3_2_1"); + builder.put(grammarAccess.getClassDeclarationAccess().getFieldsAssignment_4_0_1(), "rule__ClassDeclaration__FieldsAssignment_4_0_1"); + builder.put(grammarAccess.getFieldAccess().getContainmentAssignment_0_0(), "rule__Field__ContainmentAssignment_0_0"); + builder.put(grammarAccess.getFieldAccess().getCrossReferenceAssignment_0_1(), "rule__Field__CrossReferenceAssignment_0_1"); + builder.put(grammarAccess.getFieldAccess().getTypeAssignment_1(), "rule__Field__TypeAssignment_1"); + builder.put(grammarAccess.getFieldAccess().getMultiplicityAssignment_2(), "rule__Field__MultiplicityAssignment_2"); + builder.put(grammarAccess.getFieldAccess().getNameAssignment_3(), "rule__Field__NameAssignment_3"); + builder.put(grammarAccess.getFieldAccess().getOppositeAssignment_4_1(), "rule__Field__OppositeAssignment_4_1"); + builder.put(grammarAccess.getExactMultiplicityAccess().getValueAssignment_1(), "rule__ExactMultiplicity__ValueAssignment_1"); builder.put(grammarAccess.getBoundedMultiplicityAccess().getLowerBoundAssignment_1(), "rule__BoundedMultiplicity__LowerBoundAssignment_1"); builder.put(grammarAccess.getBoundedMultiplicityAccess().getUpperBoundAssignment_3(), "rule__BoundedMultiplicity__UpperBoundAssignment_3"); - builder.put(grammarAccess.getExactScopeDefinitionAccess().getTypeAssignment_1(), "rule__ExactScopeDefinition__TypeAssignment_1"); - builder.put(grammarAccess.getExactScopeDefinitionAccess().getExactScopeAssignment_3(), "rule__ExactScopeDefinition__ExactScopeAssignment_3"); - builder.put(grammarAccess.getBoundedScopeDefinitionAccess().getLowerBoundAssignment_1_0_0_0(), "rule__BoundedScopeDefinition__LowerBoundAssignment_1_0_0_0"); - builder.put(grammarAccess.getBoundedScopeDefinitionAccess().getTypeAssignment_1_0_1(), "rule__BoundedScopeDefinition__TypeAssignment_1_0_1"); - builder.put(grammarAccess.getBoundedScopeDefinitionAccess().getUpperBoundAssignment_1_0_3(), "rule__BoundedScopeDefinition__UpperBoundAssignment_1_0_3"); - builder.put(grammarAccess.getBoundedScopeDefinitionAccess().getUpperBoundAssignment_1_1_0(), "rule__BoundedScopeDefinition__UpperBoundAssignment_1_1_0"); - builder.put(grammarAccess.getBoundedScopeDefinitionAccess().getTypeAssignment_1_1_2(), "rule__BoundedScopeDefinition__TypeAssignment_1_1_2"); - builder.put(grammarAccess.getBoundedScopeDefinitionAccess().getLowerBoundAssignment_1_1_3_1(), "rule__BoundedScopeDefinition__LowerBoundAssignment_1_1_3_1"); - builder.put(grammarAccess.getLowerBoundedScopeDefinitionAccess().getLowerBoundAssignment_1_0_0(), "rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_0_0"); - builder.put(grammarAccess.getLowerBoundedScopeDefinitionAccess().getTypeAssignment_1_0_2(), "rule__LowerBoundedScopeDefinition__TypeAssignment_1_0_2"); - builder.put(grammarAccess.getLowerBoundedScopeDefinitionAccess().getTypeAssignment_1_1_0(), "rule__LowerBoundedScopeDefinition__TypeAssignment_1_1_0"); - builder.put(grammarAccess.getLowerBoundedScopeDefinitionAccess().getLowerBoundAssignment_1_1_2(), "rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_1_2"); - builder.put(grammarAccess.getObjectiveDefinitionAccess().getKindAssignment_0(), "rule__ObjectiveDefinition__KindAssignment_0"); - builder.put(grammarAccess.getObjectiveDefinitionAccess().getObjectiveAssignment_1(), "rule__ObjectiveDefinition__ObjectiveAssignment_1"); + builder.put(grammarAccess.getEnumDeclarationAccess().getNameAssignment_1(), "rule__EnumDeclaration__NameAssignment_1"); + builder.put(grammarAccess.getEnumDeclarationAccess().getLiteralsAssignment_2_0_1_0(), "rule__EnumDeclaration__LiteralsAssignment_2_0_1_0"); + builder.put(grammarAccess.getEnumDeclarationAccess().getLiteralsAssignment_2_0_1_1_1(), "rule__EnumDeclaration__LiteralsAssignment_2_0_1_1_1"); + builder.put(grammarAccess.getEnumLiteralAccess().getNameAssignment(), "rule__EnumLiteral__NameAssignment"); + builder.put(grammarAccess.getExactScopeAccess().getTypeAssignment_1(), "rule__ExactScope__TypeAssignment_1"); + builder.put(grammarAccess.getExactScopeAccess().getSizeAssignment_3(), "rule__ExactScope__SizeAssignment_3"); + builder.put(grammarAccess.getBoundedScopeAccess().getLowerBoundAssignment_1_0_0_0(), "rule__BoundedScope__LowerBoundAssignment_1_0_0_0"); + builder.put(grammarAccess.getBoundedScopeAccess().getTypeAssignment_1_0_1(), "rule__BoundedScope__TypeAssignment_1_0_1"); + builder.put(grammarAccess.getBoundedScopeAccess().getUpperBoundAssignment_1_0_3(), "rule__BoundedScope__UpperBoundAssignment_1_0_3"); + builder.put(grammarAccess.getBoundedScopeAccess().getUpperBoundAssignment_1_1_0(), "rule__BoundedScope__UpperBoundAssignment_1_1_0"); + builder.put(grammarAccess.getBoundedScopeAccess().getTypeAssignment_1_1_2(), "rule__BoundedScope__TypeAssignment_1_1_2"); + builder.put(grammarAccess.getBoundedScopeAccess().getLowerBoundAssignment_1_1_3_1(), "rule__BoundedScope__LowerBoundAssignment_1_1_3_1"); + builder.put(grammarAccess.getLowerBoundedScopeAccess().getLowerBoundAssignment_1_0_0(), "rule__LowerBoundedScope__LowerBoundAssignment_1_0_0"); + builder.put(grammarAccess.getLowerBoundedScopeAccess().getTypeAssignment_1_0_2(), "rule__LowerBoundedScope__TypeAssignment_1_0_2"); + builder.put(grammarAccess.getLowerBoundedScopeAccess().getTypeAssignment_1_1_0(), "rule__LowerBoundedScope__TypeAssignment_1_1_0"); + builder.put(grammarAccess.getLowerBoundedScopeAccess().getLowerBoundAssignment_1_1_2(), "rule__LowerBoundedScope__LowerBoundAssignment_1_1_2"); + builder.put(grammarAccess.getObjectiveDeclarationAccess().getKindAssignment_0(), "rule__ObjectiveDeclaration__KindAssignment_0"); + builder.put(grammarAccess.getObjectiveDeclarationAccess().getObjectiveAssignment_1(), "rule__ObjectiveDeclaration__ObjectiveAssignment_1"); + builder.put(grammarAccess.getExternPredicateDeclarationAccess().getUnorderedGroup_1(), "rule__ExternPredicateDeclaration__UnorderedGroup_1"); + builder.put(grammarAccess.getClassDeclarationAccess().getUnorderedGroup_0(), "rule__ClassDeclaration__UnorderedGroup_0"); } } diff --git a/Application/org.eclipse.viatra.solver.language.ide/src-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/internal/InternalSolverLanguageParser.g b/Application/org.eclipse.viatra.solver.language.ide/src-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/internal/InternalSolverLanguageParser.g index a56b7fe0..107d9b8a 100644 --- a/Application/org.eclipse.viatra.solver.language.ide/src-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/internal/InternalSolverLanguageParser.g +++ b/Application/org.eclipse.viatra.solver.language.ide/src-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/internal/InternalSolverLanguageParser.g @@ -45,16 +45,19 @@ import org.eclipse.viatra.solver.language.services.SolverLanguageGrammarAccess; tokenNameToValue.put("LessThanSign", "'<'"); tokenNameToValue.put("EqualsSign", "'='"); tokenNameToValue.put("GreaterThanSign", "'>'"); + tokenNameToValue.put("QuestionMark", "'?'"); tokenNameToValue.put("LeftSquareBracket", "'['"); tokenNameToValue.put("RightSquareBracket", "']'"); tokenNameToValue.put("CircumflexAccent", "'^'"); tokenNameToValue.put("LeftCurlyBracket", "'{'"); tokenNameToValue.put("VerticalLine", "'|'"); tokenNameToValue.put("RightCurlyBracket", "'}'"); + tokenNameToValue.put("Tilde", "'~'"); tokenNameToValue.put("ExclamationMarkEqualsSign", "'!='"); tokenNameToValue.put("HyphenMinusGreaterThanSign", "'->'"); - tokenNameToValue.put("FullStopFullStop", "'..'"); tokenNameToValue.put("ColonHyphenMinus", "':-'"); + tokenNameToValue.put("ColonColon", "'::'"); + tokenNameToValue.put("ColonEqualsSign", "':='"); tokenNameToValue.put("LessThanSignEqualsSign", "'<='"); tokenNameToValue.put("EqualsSignEqualsSign", "'=='"); tokenNameToValue.put("EqualsSignGreaterThanSign", "'=>'"); @@ -65,9 +68,9 @@ import org.eclipse.viatra.solver.language.services.SolverLanguageGrammarAccess; tokenNameToValue.put("FullStopFullStopFullStop", "'...'"); tokenNameToValue.put("Inf", "'inf'"); tokenNameToValue.put("Let", "'let'"); - tokenNameToValue.put("May", "'may'"); tokenNameToValue.put("Else", "'else'"); - tokenNameToValue.put("Must", "'must'"); + tokenNameToValue.put("Enum", "'enum'"); + tokenNameToValue.put("Root", "'root'"); tokenNameToValue.put("Then", "'then'"); tokenNameToValue.put("True", "'true'"); tokenNameToValue.put("Class", "'class'"); @@ -76,12 +79,13 @@ import org.eclipse.viatra.solver.language.services.SolverLanguageGrammarAccess; tokenNameToValue.put("Error", "'error'"); tokenNameToValue.put("False", "'false'"); tokenNameToValue.put("Scope", "'scope'"); - tokenNameToValue.put("Exists", "'exists'"); tokenNameToValue.put("Extern", "'extern'"); - tokenNameToValue.put("Forall", "'forall'"); - tokenNameToValue.put("Current", "'current'"); + tokenNameToValue.put("Import", "'import'"); + tokenNameToValue.put("Object", "'object'"); + tokenNameToValue.put("Refers", "'refers'"); tokenNameToValue.put("Default", "'default'"); tokenNameToValue.put("Extends", "'extends'"); + tokenNameToValue.put("Problem", "'problem'"); tokenNameToValue.put("Unknown", "'unknown'"); tokenNameToValue.put("Abstract", "'abstract'"); tokenNameToValue.put("Contains", "'contains'"); @@ -90,6 +94,7 @@ import org.eclipse.viatra.solver.language.services.SolverLanguageGrammarAccess; tokenNameToValue.put("Minimize", "'minimize'"); tokenNameToValue.put("Opposite", "'opposite'"); tokenNameToValue.put("Functional", "'functional'"); + tokenNameToValue.put("Containment", "'containment'"); } public void setGrammarAccess(SolverLanguageGrammarAccess grammarAccess) { @@ -126,9 +131,9 @@ ruleProblem } : ( - { before(grammarAccess.getProblemAccess().getStatementsAssignment()); } - (rule__Problem__StatementsAssignment)* - { after(grammarAccess.getProblemAccess().getStatementsAssignment()); } + { before(grammarAccess.getProblemAccess().getGroup()); } + (rule__Problem__Group__0) + { after(grammarAccess.getProblemAccess().getGroup()); } ) ; finally { @@ -151,9 +156,84 @@ ruleStatement } : ( - { before(grammarAccess.getStatementAccess().getGroup()); } - (rule__Statement__Group__0) - { after(grammarAccess.getStatementAccess().getGroup()); } + { before(grammarAccess.getStatementAccess().getAlternatives()); } + (rule__Statement__Alternatives) + { after(grammarAccess.getStatementAccess().getAlternatives()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Entry rule entryRuleImport +entryRuleImport +: +{ before(grammarAccess.getImportRule()); } + ruleImport +{ after(grammarAccess.getImportRule()); } + EOF +; + +// Rule Import +ruleImport + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getImportAccess().getAlternatives()); } + (rule__Import__Alternatives) + { after(grammarAccess.getImportAccess().getAlternatives()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Entry rule entryRuleUriImport +entryRuleUriImport +: +{ before(grammarAccess.getUriImportRule()); } + ruleUriImport +{ after(grammarAccess.getUriImportRule()); } + EOF +; + +// Rule UriImport +ruleUriImport + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getUriImportAccess().getGroup()); } + (rule__UriImport__Group__0) + { after(grammarAccess.getUriImportAccess().getGroup()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Entry rule entryRuleNamespaceImport +entryRuleNamespaceImport +: +{ before(grammarAccess.getNamespaceImportRule()); } + ruleNamespaceImport +{ after(grammarAccess.getNamespaceImportRule()); } + EOF +; + +// Rule NamespaceImport +ruleNamespaceImport + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getNamespaceImportAccess().getGroup()); } + (rule__NamespaceImport__Group__0) + { after(grammarAccess.getNamespaceImportAccess().getGroup()); } ) ; finally { @@ -210,200 +290,250 @@ finally { restoreStackSize(stackSize); } -// Entry rule entryRuleUnnamedErrorPrediateDefinition -entryRuleUnnamedErrorPrediateDefinition +// Entry rule entryRuleUnnamedErrorPredicateDefintion +entryRuleUnnamedErrorPredicateDefintion +: +{ before(grammarAccess.getUnnamedErrorPredicateDefintionRule()); } + ruleUnnamedErrorPredicateDefintion +{ after(grammarAccess.getUnnamedErrorPredicateDefintionRule()); } + EOF +; + +// Rule UnnamedErrorPredicateDefintion +ruleUnnamedErrorPredicateDefintion + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getUnnamedErrorPredicateDefintionAccess().getGroup()); } + (rule__UnnamedErrorPredicateDefintion__Group__0) + { after(grammarAccess.getUnnamedErrorPredicateDefintionAccess().getGroup()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Entry rule entryRuleDefaultAssertion +entryRuleDefaultAssertion +: +{ before(grammarAccess.getDefaultAssertionRule()); } + ruleDefaultAssertion +{ after(grammarAccess.getDefaultAssertionRule()); } + EOF +; + +// Rule DefaultAssertion +ruleDefaultAssertion + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getDefaultAssertionAccess().getGroup()); } + (rule__DefaultAssertion__Group__0) + { after(grammarAccess.getDefaultAssertionAccess().getGroup()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Entry rule entryRuleFunctionDefinition +entryRuleFunctionDefinition : -{ before(grammarAccess.getUnnamedErrorPrediateDefinitionRule()); } - ruleUnnamedErrorPrediateDefinition -{ after(grammarAccess.getUnnamedErrorPrediateDefinitionRule()); } +{ before(grammarAccess.getFunctionDefinitionRule()); } + ruleFunctionDefinition +{ after(grammarAccess.getFunctionDefinitionRule()); } EOF ; -// Rule UnnamedErrorPrediateDefinition -ruleUnnamedErrorPrediateDefinition +// Rule FunctionDefinition +ruleFunctionDefinition @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getGroup()); } - (rule__UnnamedErrorPrediateDefinition__Group__0) - { after(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getGroup()); } + { before(grammarAccess.getFunctionDefinitionAccess().getGroup()); } + (rule__FunctionDefinition__Group__0) + { after(grammarAccess.getFunctionDefinitionAccess().getGroup()); } ) ; finally { restoreStackSize(stackSize); } -// Entry rule entryRuleDefaultDefinition -entryRuleDefaultDefinition +// Entry rule entryRuleTypeReference +entryRuleTypeReference : -{ before(grammarAccess.getDefaultDefinitionRule()); } - ruleDefaultDefinition -{ after(grammarAccess.getDefaultDefinitionRule()); } +{ before(grammarAccess.getTypeReferenceRule()); } + ruleTypeReference +{ after(grammarAccess.getTypeReferenceRule()); } EOF ; -// Rule DefaultDefinition -ruleDefaultDefinition +// Rule TypeReference +ruleTypeReference @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getDefaultDefinitionAccess().getGroup()); } - (rule__DefaultDefinition__Group__0) - { after(grammarAccess.getDefaultDefinitionAccess().getGroup()); } + { before(grammarAccess.getTypeReferenceAccess().getGroup()); } + (rule__TypeReference__Group__0) + { after(grammarAccess.getTypeReferenceAccess().getGroup()); } ) ; finally { restoreStackSize(stackSize); } -// Entry rule entryRuleMetricDefinition -entryRuleMetricDefinition +// Entry rule entryRuleAttribute +entryRuleAttribute : -{ before(grammarAccess.getMetricDefinitionRule()); } - ruleMetricDefinition -{ after(grammarAccess.getMetricDefinitionRule()); } +{ before(grammarAccess.getAttributeRule()); } + ruleAttribute +{ after(grammarAccess.getAttributeRule()); } EOF ; -// Rule MetricDefinition -ruleMetricDefinition +// Rule Attribute +ruleAttribute @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getMetricDefinitionAccess().getGroup()); } - (rule__MetricDefinition__Group__0) - { after(grammarAccess.getMetricDefinitionAccess().getGroup()); } + { before(grammarAccess.getAttributeAccess().getGroup()); } + (rule__Attribute__Group__0) + { after(grammarAccess.getAttributeAccess().getGroup()); } ) ; finally { restoreStackSize(stackSize); } -// Entry rule entryRuleExternPredicateDefinition -entryRuleExternPredicateDefinition +// Entry rule entryRuleExternDeclaration +entryRuleExternDeclaration : -{ before(grammarAccess.getExternPredicateDefinitionRule()); } - ruleExternPredicateDefinition -{ after(grammarAccess.getExternPredicateDefinitionRule()); } +{ before(grammarAccess.getExternDeclarationRule()); } + ruleExternDeclaration +{ after(grammarAccess.getExternDeclarationRule()); } EOF ; -// Rule ExternPredicateDefinition -ruleExternPredicateDefinition +// Rule ExternDeclaration +ruleExternDeclaration @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getExternPredicateDefinitionAccess().getGroup()); } - (rule__ExternPredicateDefinition__Group__0) - { after(grammarAccess.getExternPredicateDefinitionAccess().getGroup()); } + { before(grammarAccess.getExternDeclarationAccess().getAlternatives()); } + (rule__ExternDeclaration__Alternatives) + { after(grammarAccess.getExternDeclarationAccess().getAlternatives()); } ) ; finally { restoreStackSize(stackSize); } -// Entry rule entryRuleExternMetricDefinition -entryRuleExternMetricDefinition +// Entry rule entryRuleExternPredicateDeclaration +entryRuleExternPredicateDeclaration : -{ before(grammarAccess.getExternMetricDefinitionRule()); } - ruleExternMetricDefinition -{ after(grammarAccess.getExternMetricDefinitionRule()); } +{ before(grammarAccess.getExternPredicateDeclarationRule()); } + ruleExternPredicateDeclaration +{ after(grammarAccess.getExternPredicateDeclarationRule()); } EOF ; -// Rule ExternMetricDefinition -ruleExternMetricDefinition +// Rule ExternPredicateDeclaration +ruleExternPredicateDeclaration @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getExternMetricDefinitionAccess().getGroup()); } - (rule__ExternMetricDefinition__Group__0) - { after(grammarAccess.getExternMetricDefinitionAccess().getGroup()); } + { before(grammarAccess.getExternPredicateDeclarationAccess().getGroup()); } + (rule__ExternPredicateDeclaration__Group__0) + { after(grammarAccess.getExternPredicateDeclarationAccess().getGroup()); } ) ; finally { restoreStackSize(stackSize); } -// Entry rule entryRuleExternAggregatorDefinition -entryRuleExternAggregatorDefinition +// Entry rule entryRuleExternFunctionDeclaration +entryRuleExternFunctionDeclaration : -{ before(grammarAccess.getExternAggregatorDefinitionRule()); } - ruleExternAggregatorDefinition -{ after(grammarAccess.getExternAggregatorDefinitionRule()); } +{ before(grammarAccess.getExternFunctionDeclarationRule()); } + ruleExternFunctionDeclaration +{ after(grammarAccess.getExternFunctionDeclarationRule()); } EOF ; -// Rule ExternAggregatorDefinition -ruleExternAggregatorDefinition +// Rule ExternFunctionDeclaration +ruleExternFunctionDeclaration @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getExternAggregatorDefinitionAccess().getGroup()); } - (rule__ExternAggregatorDefinition__Group__0) - { after(grammarAccess.getExternAggregatorDefinitionAccess().getGroup()); } + { before(grammarAccess.getExternFunctionDeclarationAccess().getGroup()); } + (rule__ExternFunctionDeclaration__Group__0) + { after(grammarAccess.getExternFunctionDeclarationAccess().getGroup()); } ) ; finally { restoreStackSize(stackSize); } -// Entry rule entryRuleExternDatatypeDefinition -entryRuleExternDatatypeDefinition +// Entry rule entryRuleExternAggregationOperatorDeclaration +entryRuleExternAggregationOperatorDeclaration : -{ before(grammarAccess.getExternDatatypeDefinitionRule()); } - ruleExternDatatypeDefinition -{ after(grammarAccess.getExternDatatypeDefinitionRule()); } +{ before(grammarAccess.getExternAggregationOperatorDeclarationRule()); } + ruleExternAggregationOperatorDeclaration +{ after(grammarAccess.getExternAggregationOperatorDeclarationRule()); } EOF ; -// Rule ExternDatatypeDefinition -ruleExternDatatypeDefinition +// Rule ExternAggregationOperatorDeclaration +ruleExternAggregationOperatorDeclaration @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getExternDatatypeDefinitionAccess().getGroup()); } - (rule__ExternDatatypeDefinition__Group__0) - { after(grammarAccess.getExternDatatypeDefinitionAccess().getGroup()); } + { before(grammarAccess.getExternAggregationOperatorDeclarationAccess().getGroup()); } + (rule__ExternAggregationOperatorDeclaration__Group__0) + { after(grammarAccess.getExternAggregationOperatorDeclarationAccess().getGroup()); } ) ; finally { restoreStackSize(stackSize); } -// Entry rule entryRuleVariable -entryRuleVariable +// Entry rule entryRuleExternDatatypeDeclaration +entryRuleExternDatatypeDeclaration : -{ before(grammarAccess.getVariableRule()); } - ruleVariable -{ after(grammarAccess.getVariableRule()); } +{ before(grammarAccess.getExternDatatypeDeclarationRule()); } + ruleExternDatatypeDeclaration +{ after(grammarAccess.getExternDatatypeDeclarationRule()); } EOF ; -// Rule Variable -ruleVariable +// Rule ExternDatatypeDeclaration +ruleExternDatatypeDeclaration @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getVariableAccess().getGroup()); } - (rule__Variable__Group__0) - { after(grammarAccess.getVariableAccess().getGroup()); } + { before(grammarAccess.getExternDatatypeDeclarationAccess().getGroup()); } + (rule__ExternDatatypeDeclaration__Group__0) + { after(grammarAccess.getExternDatatypeDeclarationAccess().getGroup()); } ) ; finally { @@ -435,50 +565,50 @@ finally { restoreStackSize(stackSize); } -// Entry rule entryRuleIfElse -entryRuleIfElse +// Entry rule entryRuleConditionalExpression +entryRuleConditionalExpression : -{ before(grammarAccess.getIfElseRule()); } - ruleIfElse -{ after(grammarAccess.getIfElseRule()); } +{ before(grammarAccess.getConditionalExpressionRule()); } + ruleConditionalExpression +{ after(grammarAccess.getConditionalExpressionRule()); } EOF ; -// Rule IfElse -ruleIfElse +// Rule ConditionalExpression +ruleConditionalExpression @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getIfElseAccess().getGroup()); } - (rule__IfElse__Group__0) - { after(grammarAccess.getIfElseAccess().getGroup()); } + { before(grammarAccess.getConditionalExpressionAccess().getGroup()); } + (rule__ConditionalExpression__Group__0) + { after(grammarAccess.getConditionalExpressionAccess().getGroup()); } ) ; finally { restoreStackSize(stackSize); } -// Entry rule entryRuleLet -entryRuleLet +// Entry rule entryRuleLetExpression +entryRuleLetExpression : -{ before(grammarAccess.getLetRule()); } - ruleLet -{ after(grammarAccess.getLetRule()); } +{ before(grammarAccess.getLetExpressionRule()); } + ruleLetExpression +{ after(grammarAccess.getLetExpressionRule()); } EOF ; -// Rule Let -ruleLet +// Rule LetExpression +ruleLetExpression @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getLetAccess().getGroup()); } - (rule__Let__Group__0) - { after(grammarAccess.getLetAccess().getGroup()); } + { before(grammarAccess.getLetExpressionAccess().getGroup()); } + (rule__LetExpression__Group__0) + { after(grammarAccess.getLetExpressionAccess().getGroup()); } ) ; finally { @@ -510,31 +640,6 @@ finally { restoreStackSize(stackSize); } -// Entry rule entryRuleImplicationExpression -entryRuleImplicationExpression -: -{ before(grammarAccess.getImplicationExpressionRule()); } - ruleImplicationExpression -{ after(grammarAccess.getImplicationExpressionRule()); } - EOF -; - -// Rule ImplicationExpression -ruleImplicationExpression - @init { - int stackSize = keepStackSize(); - } - : - ( - { before(grammarAccess.getImplicationExpressionAccess().getGroup()); } - (rule__ImplicationExpression__Group__0) - { after(grammarAccess.getImplicationExpressionAccess().getGroup()); } - ) -; -finally { - restoreStackSize(stackSize); -} - // Entry rule entryRuleDisjunctiveExpression entryRuleDisjunctiveExpression : @@ -760,100 +865,75 @@ finally { restoreStackSize(stackSize); } -// Entry rule entryRuleAggregationExpression -entryRuleAggregationExpression -: -{ before(grammarAccess.getAggregationExpressionRule()); } - ruleAggregationExpression -{ after(grammarAccess.getAggregationExpressionRule()); } - EOF -; - -// Rule AggregationExpression -ruleAggregationExpression - @init { - int stackSize = keepStackSize(); - } - : - ( - { before(grammarAccess.getAggregationExpressionAccess().getAlternatives()); } - (rule__AggregationExpression__Alternatives) - { after(grammarAccess.getAggregationExpressionAccess().getAlternatives()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -// Entry rule entryRuleLocalVariables -entryRuleLocalVariables +// Entry rule entryRuleBracedAggregateExpression +entryRuleBracedAggregateExpression : -{ before(grammarAccess.getLocalVariablesRule()); } - ruleLocalVariables -{ after(grammarAccess.getLocalVariablesRule()); } +{ before(grammarAccess.getBracedAggregateExpressionRule()); } + ruleBracedAggregateExpression +{ after(grammarAccess.getBracedAggregateExpressionRule()); } EOF ; -// Rule LocalVariables -ruleLocalVariables +// Rule BracedAggregateExpression +ruleBracedAggregateExpression @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getLocalVariablesAccess().getGroup()); } - (rule__LocalVariables__Group__0) - { after(grammarAccess.getLocalVariablesAccess().getGroup()); } + { before(grammarAccess.getBracedAggregateExpressionAccess().getAlternatives()); } + (rule__BracedAggregateExpression__Alternatives) + { after(grammarAccess.getBracedAggregateExpressionAccess().getAlternatives()); } ) ; finally { restoreStackSize(stackSize); } -// Entry rule entryRuleQuantifiedExpression -entryRuleQuantifiedExpression +// Entry rule entryRuleAggregation +entryRuleAggregation : -{ before(grammarAccess.getQuantifiedExpressionRule()); } - ruleQuantifiedExpression -{ after(grammarAccess.getQuantifiedExpressionRule()); } +{ before(grammarAccess.getAggregationRule()); } + ruleAggregation +{ after(grammarAccess.getAggregationRule()); } EOF ; -// Rule QuantifiedExpression -ruleQuantifiedExpression +// Rule Aggregation +ruleAggregation @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getQuantifiedExpressionAccess().getGroup()); } - (rule__QuantifiedExpression__Group__0) - { after(grammarAccess.getQuantifiedExpressionAccess().getGroup()); } + { before(grammarAccess.getAggregationAccess().getGroup()); } + (rule__Aggregation__Group__0) + { after(grammarAccess.getAggregationAccess().getGroup()); } ) ; finally { restoreStackSize(stackSize); } -// Entry rule entryRuleAggregation -entryRuleAggregation +// Entry rule entryRuleCount +entryRuleCount : -{ before(grammarAccess.getAggregationRule()); } - ruleAggregation -{ after(grammarAccess.getAggregationRule()); } +{ before(grammarAccess.getCountRule()); } + ruleCount +{ after(grammarAccess.getCountRule()); } EOF ; -// Rule Aggregation -ruleAggregation +// Rule Count +ruleCount @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getAggregationAccess().getGroup()); } - (rule__Aggregation__Group__0) - { after(grammarAccess.getAggregationAccess().getGroup()); } + { before(grammarAccess.getCountAccess().getGroup()); } + (rule__Count__Group__0) + { after(grammarAccess.getCountAccess().getGroup()); } ) ; finally { @@ -976,9 +1056,9 @@ ruleExpressionArgument } : ( - { before(grammarAccess.getExpressionArgumentAccess().getBodyAssignment()); } - (rule__ExpressionArgument__BodyAssignment) - { after(grammarAccess.getExpressionArgumentAccess().getBodyAssignment()); } + { before(grammarAccess.getExpressionArgumentAccess().getExpressionAssignment()); } + (rule__ExpressionArgument__ExpressionAssignment) + { after(grammarAccess.getExpressionArgumentAccess().getExpressionAssignment()); } ) ; finally { @@ -1010,25 +1090,25 @@ finally { restoreStackSize(stackSize); } -// Entry rule entryRuleTypedArgument -entryRuleTypedArgument +// Entry rule entryRuleTypedVariableArgument +entryRuleTypedVariableArgument : -{ before(grammarAccess.getTypedArgumentRule()); } - ruleTypedArgument -{ after(grammarAccess.getTypedArgumentRule()); } +{ before(grammarAccess.getTypedVariableArgumentRule()); } + ruleTypedVariableArgument +{ after(grammarAccess.getTypedVariableArgumentRule()); } EOF ; -// Rule TypedArgument -ruleTypedArgument +// Rule TypedVariableArgument +ruleTypedVariableArgument @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getTypedArgumentAccess().getGroup()); } - (rule__TypedArgument__Group__0) - { after(grammarAccess.getTypedArgumentAccess().getGroup()); } + { before(grammarAccess.getTypedVariableArgumentAccess().getGroup()); } + (rule__TypedVariableArgument__Group__0) + { after(grammarAccess.getTypedVariableArgumentAccess().getGroup()); } ) ; finally { @@ -1076,9 +1156,34 @@ ruleReference } : ( - { before(grammarAccess.getReferenceAccess().getReferredAssignment()); } - (rule__Reference__ReferredAssignment) - { after(grammarAccess.getReferenceAccess().getReferredAssignment()); } + { before(grammarAccess.getReferenceAccess().getGroup()); } + (rule__Reference__Group__0) + { after(grammarAccess.getReferenceAccess().getGroup()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Entry rule entryRulePathComponent +entryRulePathComponent +: +{ before(grammarAccess.getPathComponentRule()); } + rulePathComponent +{ after(grammarAccess.getPathComponentRule()); } + EOF +; + +// Rule PathComponent +rulePathComponent + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getPathComponentAccess().getGroup()); } + (rule__PathComponent__Group__0) + { after(grammarAccess.getPathComponentAccess().getGroup()); } ) ; finally { @@ -1160,25 +1265,50 @@ finally { restoreStackSize(stackSize); } -// Entry rule entryRuleNumericLiteral -entryRuleNumericLiteral +// Entry rule entryRuleIntLiteral +entryRuleIntLiteral +: +{ before(grammarAccess.getIntLiteralRule()); } + ruleIntLiteral +{ after(grammarAccess.getIntLiteralRule()); } + EOF +; + +// Rule IntLiteral +ruleIntLiteral + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getIntLiteralAccess().getValueAssignment()); } + (rule__IntLiteral__ValueAssignment) + { after(grammarAccess.getIntLiteralAccess().getValueAssignment()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Entry rule entryRuleRealLiteral +entryRuleRealLiteral : -{ before(grammarAccess.getNumericLiteralRule()); } - ruleNumericLiteral -{ after(grammarAccess.getNumericLiteralRule()); } +{ before(grammarAccess.getRealLiteralRule()); } + ruleRealLiteral +{ after(grammarAccess.getRealLiteralRule()); } EOF ; -// Rule NumericLiteral -ruleNumericLiteral +// Rule RealLiteral +ruleRealLiteral @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getNumericLiteralAccess().getValueAssignment()); } - (rule__NumericLiteral__ValueAssignment) - { after(grammarAccess.getNumericLiteralAccess().getValueAssignment()); } + { before(grammarAccess.getRealLiteralAccess().getValueAssignment()); } + (rule__RealLiteral__ValueAssignment) + { after(grammarAccess.getRealLiteralAccess().getValueAssignment()); } ) ; finally { @@ -1210,25 +1340,25 @@ finally { restoreStackSize(stackSize); } -// Entry rule entryRuleEmptyIntervalLiteral -entryRuleEmptyIntervalLiteral +// Entry rule entryRuleEmptyLiteral +entryRuleEmptyLiteral : -{ before(grammarAccess.getEmptyIntervalLiteralRule()); } - ruleEmptyIntervalLiteral -{ after(grammarAccess.getEmptyIntervalLiteralRule()); } +{ before(grammarAccess.getEmptyLiteralRule()); } + ruleEmptyLiteral +{ after(grammarAccess.getEmptyLiteralRule()); } EOF ; -// Rule EmptyIntervalLiteral -ruleEmptyIntervalLiteral +// Rule EmptyLiteral +ruleEmptyLiteral @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getEmptyIntervalLiteralAccess().getGroup()); } - (rule__EmptyIntervalLiteral__Group__0) - { after(grammarAccess.getEmptyIntervalLiteralAccess().getGroup()); } + { before(grammarAccess.getEmptyLiteralAccess().getGroup()); } + (rule__EmptyLiteral__Group__0) + { after(grammarAccess.getEmptyLiteralAccess().getGroup()); } ) ; finally { @@ -1260,50 +1390,50 @@ finally { restoreStackSize(stackSize); } -// Entry rule entryRuleClassDefinition -entryRuleClassDefinition +// Entry rule entryRuleClassDeclaration +entryRuleClassDeclaration : -{ before(grammarAccess.getClassDefinitionRule()); } - ruleClassDefinition -{ after(grammarAccess.getClassDefinitionRule()); } +{ before(grammarAccess.getClassDeclarationRule()); } + ruleClassDeclaration +{ after(grammarAccess.getClassDeclarationRule()); } EOF ; -// Rule ClassDefinition -ruleClassDefinition +// Rule ClassDeclaration +ruleClassDeclaration @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getClassDefinitionAccess().getGroup()); } - (rule__ClassDefinition__Group__0) - { after(grammarAccess.getClassDefinitionAccess().getGroup()); } + { before(grammarAccess.getClassDeclarationAccess().getGroup()); } + (rule__ClassDeclaration__Group__0) + { after(grammarAccess.getClassDeclarationAccess().getGroup()); } ) ; finally { restoreStackSize(stackSize); } -// Entry rule entryRuleMemberDefinition -entryRuleMemberDefinition +// Entry rule entryRuleField +entryRuleField : -{ before(grammarAccess.getMemberDefinitionRule()); } - ruleMemberDefinition -{ after(grammarAccess.getMemberDefinitionRule()); } +{ before(grammarAccess.getFieldRule()); } + ruleField +{ after(grammarAccess.getFieldRule()); } EOF ; -// Rule MemberDefinition -ruleMemberDefinition +// Rule Field +ruleField @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getMemberDefinitionAccess().getGroup()); } - (rule__MemberDefinition__Group__0) - { after(grammarAccess.getMemberDefinitionAccess().getGroup()); } + { before(grammarAccess.getFieldAccess().getGroup()); } + (rule__Field__Group__0) + { after(grammarAccess.getFieldAccess().getGroup()); } ) ; finally { @@ -1335,25 +1465,25 @@ finally { restoreStackSize(stackSize); } -// Entry rule entryRuleManyMultiplicity -entryRuleManyMultiplicity +// Entry rule entryRuleUnboundedMultiplicity +entryRuleUnboundedMultiplicity : -{ before(grammarAccess.getManyMultiplicityRule()); } - ruleManyMultiplicity -{ after(grammarAccess.getManyMultiplicityRule()); } +{ before(grammarAccess.getUnboundedMultiplicityRule()); } + ruleUnboundedMultiplicity +{ after(grammarAccess.getUnboundedMultiplicityRule()); } EOF ; -// Rule ManyMultiplicity -ruleManyMultiplicity +// Rule UnboundedMultiplicity +ruleUnboundedMultiplicity @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getManyMultiplicityAccess().getGroup()); } - (rule__ManyMultiplicity__Group__0) - { after(grammarAccess.getManyMultiplicityAccess().getGroup()); } + { before(grammarAccess.getUnboundedMultiplicityAccess().getGroup()); } + (rule__UnboundedMultiplicity__Group__0) + { after(grammarAccess.getUnboundedMultiplicityAccess().getGroup()); } ) ; finally { @@ -1410,125 +1540,175 @@ finally { restoreStackSize(stackSize); } -// Entry rule entryRuleScopeDefinition -entryRuleScopeDefinition +// Entry rule entryRuleEnumDeclaration +entryRuleEnumDeclaration +: +{ before(grammarAccess.getEnumDeclarationRule()); } + ruleEnumDeclaration +{ after(grammarAccess.getEnumDeclarationRule()); } + EOF +; + +// Rule EnumDeclaration +ruleEnumDeclaration + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getEnumDeclarationAccess().getGroup()); } + (rule__EnumDeclaration__Group__0) + { after(grammarAccess.getEnumDeclarationAccess().getGroup()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Entry rule entryRuleEnumLiteral +entryRuleEnumLiteral +: +{ before(grammarAccess.getEnumLiteralRule()); } + ruleEnumLiteral +{ after(grammarAccess.getEnumLiteralRule()); } + EOF +; + +// Rule EnumLiteral +ruleEnumLiteral + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getEnumLiteralAccess().getNameAssignment()); } + (rule__EnumLiteral__NameAssignment) + { after(grammarAccess.getEnumLiteralAccess().getNameAssignment()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Entry rule entryRuleScopeDeclaration +entryRuleScopeDeclaration : -{ before(grammarAccess.getScopeDefinitionRule()); } - ruleScopeDefinition -{ after(grammarAccess.getScopeDefinitionRule()); } +{ before(grammarAccess.getScopeDeclarationRule()); } + ruleScopeDeclaration +{ after(grammarAccess.getScopeDeclarationRule()); } EOF ; -// Rule ScopeDefinition -ruleScopeDefinition +// Rule ScopeDeclaration +ruleScopeDeclaration @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getScopeDefinitionAccess().getAlternatives()); } - (rule__ScopeDefinition__Alternatives) - { after(grammarAccess.getScopeDefinitionAccess().getAlternatives()); } + { before(grammarAccess.getScopeDeclarationAccess().getAlternatives()); } + (rule__ScopeDeclaration__Alternatives) + { after(grammarAccess.getScopeDeclarationAccess().getAlternatives()); } ) ; finally { restoreStackSize(stackSize); } -// Entry rule entryRuleExactScopeDefinition -entryRuleExactScopeDefinition +// Entry rule entryRuleExactScope +entryRuleExactScope : -{ before(grammarAccess.getExactScopeDefinitionRule()); } - ruleExactScopeDefinition -{ after(grammarAccess.getExactScopeDefinitionRule()); } +{ before(grammarAccess.getExactScopeRule()); } + ruleExactScope +{ after(grammarAccess.getExactScopeRule()); } EOF ; -// Rule ExactScopeDefinition -ruleExactScopeDefinition +// Rule ExactScope +ruleExactScope @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getExactScopeDefinitionAccess().getGroup()); } - (rule__ExactScopeDefinition__Group__0) - { after(grammarAccess.getExactScopeDefinitionAccess().getGroup()); } + { before(grammarAccess.getExactScopeAccess().getGroup()); } + (rule__ExactScope__Group__0) + { after(grammarAccess.getExactScopeAccess().getGroup()); } ) ; finally { restoreStackSize(stackSize); } -// Entry rule entryRuleBoundedScopeDefinition -entryRuleBoundedScopeDefinition +// Entry rule entryRuleBoundedScope +entryRuleBoundedScope : -{ before(grammarAccess.getBoundedScopeDefinitionRule()); } - ruleBoundedScopeDefinition -{ after(grammarAccess.getBoundedScopeDefinitionRule()); } +{ before(grammarAccess.getBoundedScopeRule()); } + ruleBoundedScope +{ after(grammarAccess.getBoundedScopeRule()); } EOF ; -// Rule BoundedScopeDefinition -ruleBoundedScopeDefinition +// Rule BoundedScope +ruleBoundedScope @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getBoundedScopeDefinitionAccess().getGroup()); } - (rule__BoundedScopeDefinition__Group__0) - { after(grammarAccess.getBoundedScopeDefinitionAccess().getGroup()); } + { before(grammarAccess.getBoundedScopeAccess().getGroup()); } + (rule__BoundedScope__Group__0) + { after(grammarAccess.getBoundedScopeAccess().getGroup()); } ) ; finally { restoreStackSize(stackSize); } -// Entry rule entryRuleLowerBoundedScopeDefinition -entryRuleLowerBoundedScopeDefinition +// Entry rule entryRuleLowerBoundedScope +entryRuleLowerBoundedScope : -{ before(grammarAccess.getLowerBoundedScopeDefinitionRule()); } - ruleLowerBoundedScopeDefinition -{ after(grammarAccess.getLowerBoundedScopeDefinitionRule()); } +{ before(grammarAccess.getLowerBoundedScopeRule()); } + ruleLowerBoundedScope +{ after(grammarAccess.getLowerBoundedScopeRule()); } EOF ; -// Rule LowerBoundedScopeDefinition -ruleLowerBoundedScopeDefinition +// Rule LowerBoundedScope +ruleLowerBoundedScope @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getGroup()); } - (rule__LowerBoundedScopeDefinition__Group__0) - { after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getGroup()); } + { before(grammarAccess.getLowerBoundedScopeAccess().getGroup()); } + (rule__LowerBoundedScope__Group__0) + { after(grammarAccess.getLowerBoundedScopeAccess().getGroup()); } ) ; finally { restoreStackSize(stackSize); } -// Entry rule entryRuleObjectiveDefinition -entryRuleObjectiveDefinition +// Entry rule entryRuleObjectiveDeclaration +entryRuleObjectiveDeclaration : -{ before(grammarAccess.getObjectiveDefinitionRule()); } - ruleObjectiveDefinition -{ after(grammarAccess.getObjectiveDefinitionRule()); } +{ before(grammarAccess.getObjectiveDeclarationRule()); } + ruleObjectiveDeclaration +{ after(grammarAccess.getObjectiveDeclarationRule()); } EOF ; -// Rule ObjectiveDefinition -ruleObjectiveDefinition +// Rule ObjectiveDeclaration +ruleObjectiveDeclaration @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getObjectiveDefinitionAccess().getGroup()); } - (rule__ObjectiveDefinition__Group__0) - { after(grammarAccess.getObjectiveDefinitionAccess().getGroup()); } + { before(grammarAccess.getObjectiveDeclarationAccess().getGroup()); } + (rule__ObjectiveDeclaration__Group__0) + { after(grammarAccess.getObjectiveDeclarationAccess().getGroup()); } ) ; finally { @@ -1593,6 +1773,31 @@ finally { myHiddenTokenState.restore(); } +// Entry rule entryRuleQualifiedNameSegment +entryRuleQualifiedNameSegment +: +{ before(grammarAccess.getQualifiedNameSegmentRule()); } + ruleQualifiedNameSegment +{ after(grammarAccess.getQualifiedNameSegmentRule()); } + EOF +; + +// Rule QualifiedNameSegment +ruleQualifiedNameSegment + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getQualifiedNameSegmentAccess().getAlternatives()); } + (rule__QualifiedNameSegment__Alternatives) + { after(grammarAccess.getQualifiedNameSegmentAccess().getAlternatives()); } + ) +; +finally { + restoreStackSize(stackSize); +} + // Entry rule entryRuleQualifiedName entryRuleQualifiedName @init { @@ -1616,9 +1821,9 @@ ruleQualifiedName } : ( - { before(grammarAccess.getQualifiedNameAccess().getAlternatives()); } - (rule__QualifiedName__Alternatives) - { after(grammarAccess.getQualifiedNameAccess().getAlternatives()); } + { before(grammarAccess.getQualifiedNameAccess().getGroup()); } + (rule__QualifiedName__Group__0) + { after(grammarAccess.getQualifiedNameAccess().getGroup()); } ) ; finally { @@ -1626,16 +1831,16 @@ finally { myHiddenTokenState.restore(); } -// Rule ImplicationOperator -ruleImplicationOperator +// Rule AttributeKind +ruleAttributeKind @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getImplicationOperatorAccess().getIMPLIESEnumLiteralDeclaration()); } - (EqualsSignGreaterThanSign) - { after(grammarAccess.getImplicationOperatorAccess().getIMPLIESEnumLiteralDeclaration()); } + { before(grammarAccess.getAttributeKindAccess().getAlternatives()); } + (rule__AttributeKind__Alternatives) + { after(grammarAccess.getAttributeKindAccess().getAlternatives()); } ) ; finally { @@ -1706,32 +1911,16 @@ finally { restoreStackSize(stackSize); } -// Rule UnaryOp -ruleUnaryOp - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getUnaryOpAccess().getAlternatives()); } - (rule__UnaryOp__Alternatives) - { after(grammarAccess.getUnaryOpAccess().getAlternatives()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -// Rule Quantifier -ruleQuantifier +// Rule UnaryOperator +ruleUnaryOperator @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getQuantifierAccess().getAlternatives()); } - (rule__Quantifier__Alternatives) - { after(grammarAccess.getQuantifierAccess().getAlternatives()); } + { before(grammarAccess.getUnaryOperatorAccess().getAlternatives()); } + (rule__UnaryOperator__Alternatives) + { after(grammarAccess.getUnaryOperatorAccess().getAlternatives()); } ) ; finally { @@ -1770,81 +1959,96 @@ finally { restoreStackSize(stackSize); } -rule__Statement__Alternatives_0 +rule__Statement__Alternatives @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getStatementAccess().getAssertionOrDefinitionParserRuleCall_0_0()); } + { before(grammarAccess.getStatementAccess().getAssertionOrDefinitionParserRuleCall_0()); } ruleAssertionOrDefinition - { after(grammarAccess.getStatementAccess().getAssertionOrDefinitionParserRuleCall_0_0()); } + { after(grammarAccess.getStatementAccess().getAssertionOrDefinitionParserRuleCall_0()); } ) | ( - { before(grammarAccess.getStatementAccess().getPredicateDefinitionParserRuleCall_0_1()); } + { before(grammarAccess.getStatementAccess().getPredicateDefinitionParserRuleCall_1()); } rulePredicateDefinition - { after(grammarAccess.getStatementAccess().getPredicateDefinitionParserRuleCall_0_1()); } + { after(grammarAccess.getStatementAccess().getPredicateDefinitionParserRuleCall_1()); } ) | ( - { before(grammarAccess.getStatementAccess().getUnnamedErrorPrediateDefinitionParserRuleCall_0_2()); } - ruleUnnamedErrorPrediateDefinition - { after(grammarAccess.getStatementAccess().getUnnamedErrorPrediateDefinitionParserRuleCall_0_2()); } + { before(grammarAccess.getStatementAccess().getUnnamedErrorPredicateDefintionParserRuleCall_2()); } + ruleUnnamedErrorPredicateDefintion + { after(grammarAccess.getStatementAccess().getUnnamedErrorPredicateDefintionParserRuleCall_2()); } ) | ( - { before(grammarAccess.getStatementAccess().getDefaultDefinitionParserRuleCall_0_3()); } - ruleDefaultDefinition - { after(grammarAccess.getStatementAccess().getDefaultDefinitionParserRuleCall_0_3()); } + { before(grammarAccess.getStatementAccess().getDefaultAssertionParserRuleCall_3()); } + ruleDefaultAssertion + { after(grammarAccess.getStatementAccess().getDefaultAssertionParserRuleCall_3()); } ) | ( - { before(grammarAccess.getStatementAccess().getMetricDefinitionParserRuleCall_0_4()); } - ruleMetricDefinition - { after(grammarAccess.getStatementAccess().getMetricDefinitionParserRuleCall_0_4()); } + { before(grammarAccess.getStatementAccess().getFunctionDefinitionParserRuleCall_4()); } + ruleFunctionDefinition + { after(grammarAccess.getStatementAccess().getFunctionDefinitionParserRuleCall_4()); } ) | ( - { before(grammarAccess.getStatementAccess().getExternPredicateDefinitionParserRuleCall_0_5()); } - ruleExternPredicateDefinition - { after(grammarAccess.getStatementAccess().getExternPredicateDefinitionParserRuleCall_0_5()); } + { before(grammarAccess.getStatementAccess().getAttributeParserRuleCall_5()); } + ruleAttribute + { after(grammarAccess.getStatementAccess().getAttributeParserRuleCall_5()); } ) | ( - { before(grammarAccess.getStatementAccess().getExternMetricDefinitionParserRuleCall_0_6()); } - ruleExternMetricDefinition - { after(grammarAccess.getStatementAccess().getExternMetricDefinitionParserRuleCall_0_6()); } + { before(grammarAccess.getStatementAccess().getExternDeclarationParserRuleCall_6()); } + ruleExternDeclaration + { after(grammarAccess.getStatementAccess().getExternDeclarationParserRuleCall_6()); } ) | ( - { before(grammarAccess.getStatementAccess().getExternAggregatorDefinitionParserRuleCall_0_7()); } - ruleExternAggregatorDefinition - { after(grammarAccess.getStatementAccess().getExternAggregatorDefinitionParserRuleCall_0_7()); } + { before(grammarAccess.getStatementAccess().getScopeDeclarationParserRuleCall_7()); } + ruleScopeDeclaration + { after(grammarAccess.getStatementAccess().getScopeDeclarationParserRuleCall_7()); } ) | ( - { before(grammarAccess.getStatementAccess().getExternDatatypeDefinitionParserRuleCall_0_8()); } - ruleExternDatatypeDefinition - { after(grammarAccess.getStatementAccess().getExternDatatypeDefinitionParserRuleCall_0_8()); } + { before(grammarAccess.getStatementAccess().getObjectiveDeclarationParserRuleCall_8()); } + ruleObjectiveDeclaration + { after(grammarAccess.getStatementAccess().getObjectiveDeclarationParserRuleCall_8()); } ) | ( - { before(grammarAccess.getStatementAccess().getClassDefinitionParserRuleCall_0_9()); } - ruleClassDefinition - { after(grammarAccess.getStatementAccess().getClassDefinitionParserRuleCall_0_9()); } + { before(grammarAccess.getStatementAccess().getClassDeclarationParserRuleCall_9()); } + ruleClassDeclaration + { after(grammarAccess.getStatementAccess().getClassDeclarationParserRuleCall_9()); } ) | ( - { before(grammarAccess.getStatementAccess().getScopeDefinitionParserRuleCall_0_10()); } - ruleScopeDefinition - { after(grammarAccess.getStatementAccess().getScopeDefinitionParserRuleCall_0_10()); } + { before(grammarAccess.getStatementAccess().getEnumDeclarationParserRuleCall_10()); } + ruleEnumDeclaration + { after(grammarAccess.getStatementAccess().getEnumDeclarationParserRuleCall_10()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__Import__Alternatives + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getImportAccess().getUriImportParserRuleCall_0()); } + ruleUriImport + { after(grammarAccess.getImportAccess().getUriImportParserRuleCall_0()); } ) | ( - { before(grammarAccess.getStatementAccess().getObjectiveDefinitionParserRuleCall_0_11()); } - ruleObjectiveDefinition - { after(grammarAccess.getStatementAccess().getObjectiveDefinitionParserRuleCall_0_11()); } + { before(grammarAccess.getImportAccess().getNamespaceImportParserRuleCall_1()); } + ruleNamespaceImport + { after(grammarAccess.getImportAccess().getNamespaceImportParserRuleCall_1()); } ) ; finally { @@ -1899,27 +2103,60 @@ finally { restoreStackSize(stackSize); } +rule__ExternDeclaration__Alternatives + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getExternDeclarationAccess().getExternPredicateDeclarationParserRuleCall_0()); } + ruleExternPredicateDeclaration + { after(grammarAccess.getExternDeclarationAccess().getExternPredicateDeclarationParserRuleCall_0()); } + ) + | + ( + { before(grammarAccess.getExternDeclarationAccess().getExternFunctionDeclarationParserRuleCall_1()); } + ruleExternFunctionDeclaration + { after(grammarAccess.getExternDeclarationAccess().getExternFunctionDeclarationParserRuleCall_1()); } + ) + | + ( + { before(grammarAccess.getExternDeclarationAccess().getExternAggregationOperatorDeclarationParserRuleCall_2()); } + ruleExternAggregationOperatorDeclaration + { after(grammarAccess.getExternDeclarationAccess().getExternAggregationOperatorDeclarationParserRuleCall_2()); } + ) + | + ( + { before(grammarAccess.getExternDeclarationAccess().getExternDatatypeDeclarationParserRuleCall_3()); } + ruleExternDatatypeDeclaration + { after(grammarAccess.getExternDeclarationAccess().getExternDatatypeDeclarationParserRuleCall_3()); } + ) +; +finally { + restoreStackSize(stackSize); +} + rule__Expression__Alternatives @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getExpressionAccess().getIfElseParserRuleCall_0()); } - ruleIfElse - { after(grammarAccess.getExpressionAccess().getIfElseParserRuleCall_0()); } + { before(grammarAccess.getExpressionAccess().getConditionalExpressionParserRuleCall_0()); } + ruleConditionalExpression + { after(grammarAccess.getExpressionAccess().getConditionalExpressionParserRuleCall_0()); } ) | ( - { before(grammarAccess.getExpressionAccess().getLetParserRuleCall_1()); } - ruleLet - { after(grammarAccess.getExpressionAccess().getLetParserRuleCall_1()); } + { before(grammarAccess.getExpressionAccess().getLetExpressionParserRuleCall_1()); } + ruleLetExpression + { after(grammarAccess.getExpressionAccess().getLetExpressionParserRuleCall_1()); } ) | ( - { before(grammarAccess.getExpressionAccess().getImplicationExpressionParserRuleCall_2()); } - ruleImplicationExpression - { after(grammarAccess.getExpressionAccess().getImplicationExpressionParserRuleCall_2()); } + { before(grammarAccess.getExpressionAccess().getGroup_2()); } + (rule__Expression__Group_2__0) + { after(grammarAccess.getExpressionAccess().getGroup_2()); } ) ; finally { @@ -1953,9 +2190,9 @@ rule__UnaryExpression__Alternatives } : ( - { before(grammarAccess.getUnaryExpressionAccess().getAggregationExpressionParserRuleCall_0()); } - ruleAggregationExpression - { after(grammarAccess.getUnaryExpressionAccess().getAggregationExpressionParserRuleCall_0()); } + { before(grammarAccess.getUnaryExpressionAccess().getBracedAggregateExpressionParserRuleCall_0()); } + ruleBracedAggregateExpression + { after(grammarAccess.getUnaryExpressionAccess().getBracedAggregateExpressionParserRuleCall_0()); } ) | ( @@ -1968,27 +2205,27 @@ finally { restoreStackSize(stackSize); } -rule__AggregationExpression__Alternatives +rule__BracedAggregateExpression__Alternatives @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getAggregationExpressionAccess().getAtomicExpressionParserRuleCall_0()); } + { before(grammarAccess.getBracedAggregateExpressionAccess().getAtomicExpressionParserRuleCall_0()); } ruleAtomicExpression - { after(grammarAccess.getAggregationExpressionAccess().getAtomicExpressionParserRuleCall_0()); } + { after(grammarAccess.getBracedAggregateExpressionAccess().getAtomicExpressionParserRuleCall_0()); } ) | ( - { before(grammarAccess.getAggregationExpressionAccess().getQuantifiedExpressionParserRuleCall_1()); } - ruleQuantifiedExpression - { after(grammarAccess.getAggregationExpressionAccess().getQuantifiedExpressionParserRuleCall_1()); } + { before(grammarAccess.getBracedAggregateExpressionAccess().getAggregationParserRuleCall_1()); } + ruleAggregation + { after(grammarAccess.getBracedAggregateExpressionAccess().getAggregationParserRuleCall_1()); } ) | ( - { before(grammarAccess.getAggregationExpressionAccess().getAggregationParserRuleCall_2()); } - ruleAggregation - { after(grammarAccess.getAggregationExpressionAccess().getAggregationParserRuleCall_2()); } + { before(grammarAccess.getBracedAggregateExpressionAccess().getCountParserRuleCall_2()); } + ruleCount + { after(grammarAccess.getBracedAggregateExpressionAccess().getCountParserRuleCall_2()); } ) ; finally { @@ -2034,54 +2271,54 @@ finally { restoreStackSize(stackSize); } -rule__Call__Alternatives_1 +rule__Argument__Alternatives @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getCallAccess().getTransitiveClosureAssignment_1_0()); } - (rule__Call__TransitiveClosureAssignment_1_0) - { after(grammarAccess.getCallAccess().getTransitiveClosureAssignment_1_0()); } + { before(grammarAccess.getArgumentAccess().getExpressionArgumentParserRuleCall_0()); } + ruleExpressionArgument + { after(grammarAccess.getArgumentAccess().getExpressionArgumentParserRuleCall_0()); } ) | ( - { before(grammarAccess.getCallAccess().getReflexiveTransitiveClosureAssignment_1_1()); } - (rule__Call__ReflexiveTransitiveClosureAssignment_1_1) - { after(grammarAccess.getCallAccess().getReflexiveTransitiveClosureAssignment_1_1()); } + { before(grammarAccess.getArgumentAccess().getStarArgumentParserRuleCall_1()); } + ruleStarArgument + { after(grammarAccess.getArgumentAccess().getStarArgumentParserRuleCall_1()); } ) -; -finally { - restoreStackSize(stackSize); -} - -rule__Argument__Alternatives - @init { - int stackSize = keepStackSize(); - } -: + | ( - { before(grammarAccess.getArgumentAccess().getExpressionArgumentParserRuleCall_0()); } - ruleExpressionArgument - { after(grammarAccess.getArgumentAccess().getExpressionArgumentParserRuleCall_0()); } + { before(grammarAccess.getArgumentAccess().getTypedVariableArgumentParserRuleCall_2()); } + ruleTypedVariableArgument + { after(grammarAccess.getArgumentAccess().getTypedVariableArgumentParserRuleCall_2()); } ) | ( - { before(grammarAccess.getArgumentAccess().getStarArgumentParserRuleCall_1()); } - ruleStarArgument - { after(grammarAccess.getArgumentAccess().getStarArgumentParserRuleCall_1()); } + { before(grammarAccess.getArgumentAccess().getTypedStarArgumentParserRuleCall_3()); } + ruleTypedStarArgument + { after(grammarAccess.getArgumentAccess().getTypedStarArgumentParserRuleCall_3()); } ) - | +; +finally { + restoreStackSize(stackSize); +} + +rule__PathComponent__Alternatives_2 + @init { + int stackSize = keepStackSize(); + } +: ( - { before(grammarAccess.getArgumentAccess().getTypedArgumentParserRuleCall_2()); } - ruleTypedArgument - { after(grammarAccess.getArgumentAccess().getTypedArgumentParserRuleCall_2()); } + { before(grammarAccess.getPathComponentAccess().getTransitiveClosureAssignment_2_0()); } + (rule__PathComponent__TransitiveClosureAssignment_2_0) + { after(grammarAccess.getPathComponentAccess().getTransitiveClosureAssignment_2_0()); } ) | ( - { before(grammarAccess.getArgumentAccess().getTypedStarArgumentParserRuleCall_3()); } - ruleTypedStarArgument - { after(grammarAccess.getArgumentAccess().getTypedStarArgumentParserRuleCall_3()); } + { before(grammarAccess.getPathComponentAccess().getReflexiveTransitiveClosureAssignment_2_1()); } + (rule__PathComponent__ReflexiveTransitiveClosureAssignment_2_1) + { after(grammarAccess.getPathComponentAccess().getReflexiveTransitiveClosureAssignment_2_1()); } ) ; finally { @@ -2100,27 +2337,75 @@ rule__Literal__Alternatives ) | ( - { before(grammarAccess.getLiteralAccess().getNumericLiteralParserRuleCall_1()); } - ruleNumericLiteral - { after(grammarAccess.getLiteralAccess().getNumericLiteralParserRuleCall_1()); } + { before(grammarAccess.getLiteralAccess().getIntLiteralParserRuleCall_1()); } + ruleIntLiteral + { after(grammarAccess.getLiteralAccess().getIntLiteralParserRuleCall_1()); } ) | ( - { before(grammarAccess.getLiteralAccess().getInfinityLiteralParserRuleCall_2()); } + { before(grammarAccess.getLiteralAccess().getRealLiteralParserRuleCall_2()); } + ruleRealLiteral + { after(grammarAccess.getLiteralAccess().getRealLiteralParserRuleCall_2()); } + ) + | + ( + { before(grammarAccess.getLiteralAccess().getInfinityLiteralParserRuleCall_3()); } ruleInfinityLiteral - { after(grammarAccess.getLiteralAccess().getInfinityLiteralParserRuleCall_2()); } + { after(grammarAccess.getLiteralAccess().getInfinityLiteralParserRuleCall_3()); } ) | ( - { before(grammarAccess.getLiteralAccess().getEmptyIntervalLiteralParserRuleCall_3()); } - ruleEmptyIntervalLiteral - { after(grammarAccess.getLiteralAccess().getEmptyIntervalLiteralParserRuleCall_3()); } + { before(grammarAccess.getLiteralAccess().getEmptyLiteralParserRuleCall_4()); } + ruleEmptyLiteral + { after(grammarAccess.getLiteralAccess().getEmptyLiteralParserRuleCall_4()); } ) | ( - { before(grammarAccess.getLiteralAccess().getStringLiteralParserRuleCall_4()); } + { before(grammarAccess.getLiteralAccess().getStringLiteralParserRuleCall_5()); } ruleStringLiteral - { after(grammarAccess.getLiteralAccess().getStringLiteralParserRuleCall_4()); } + { after(grammarAccess.getLiteralAccess().getStringLiteralParserRuleCall_5()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__ClassDeclaration__Alternatives_4 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getClassDeclarationAccess().getGroup_4_0()); } + (rule__ClassDeclaration__Group_4_0__0) + { after(grammarAccess.getClassDeclarationAccess().getGroup_4_0()); } + ) + | + ( + { before(grammarAccess.getClassDeclarationAccess().getFULL_STOPTerminalRuleCall_4_1()); } + RULE_FULL_STOP + { after(grammarAccess.getClassDeclarationAccess().getFULL_STOPTerminalRuleCall_4_1()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__Field__Alternatives_0 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getFieldAccess().getContainmentAssignment_0_0()); } + (rule__Field__ContainmentAssignment_0_0) + { after(grammarAccess.getFieldAccess().getContainmentAssignment_0_0()); } + ) + | + ( + { before(grammarAccess.getFieldAccess().getCrossReferenceAssignment_0_1()); } + (rule__Field__CrossReferenceAssignment_0_1) + { after(grammarAccess.getFieldAccess().getCrossReferenceAssignment_0_1()); } ) ; finally { @@ -2133,9 +2418,9 @@ rule__Multiplicity__Alternatives } : ( - { before(grammarAccess.getMultiplicityAccess().getManyMultiplicityParserRuleCall_0()); } - ruleManyMultiplicity - { after(grammarAccess.getMultiplicityAccess().getManyMultiplicityParserRuleCall_0()); } + { before(grammarAccess.getMultiplicityAccess().getUnboundedMultiplicityParserRuleCall_0()); } + ruleUnboundedMultiplicity + { after(grammarAccess.getMultiplicityAccess().getUnboundedMultiplicityParserRuleCall_0()); } ) | ( @@ -2154,69 +2439,90 @@ finally { restoreStackSize(stackSize); } -rule__ScopeDefinition__Alternatives +rule__EnumDeclaration__Alternatives_2 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getEnumDeclarationAccess().getGroup_2_0()); } + (rule__EnumDeclaration__Group_2_0__0) + { after(grammarAccess.getEnumDeclarationAccess().getGroup_2_0()); } + ) + | + ( + { before(grammarAccess.getEnumDeclarationAccess().getFULL_STOPTerminalRuleCall_2_1()); } + RULE_FULL_STOP + { after(grammarAccess.getEnumDeclarationAccess().getFULL_STOPTerminalRuleCall_2_1()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__ScopeDeclaration__Alternatives @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getScopeDefinitionAccess().getExactScopeDefinitionParserRuleCall_0()); } - ruleExactScopeDefinition - { after(grammarAccess.getScopeDefinitionAccess().getExactScopeDefinitionParserRuleCall_0()); } + { before(grammarAccess.getScopeDeclarationAccess().getExactScopeParserRuleCall_0()); } + ruleExactScope + { after(grammarAccess.getScopeDeclarationAccess().getExactScopeParserRuleCall_0()); } ) | ( - { before(grammarAccess.getScopeDefinitionAccess().getBoundedScopeDefinitionParserRuleCall_1()); } - ruleBoundedScopeDefinition - { after(grammarAccess.getScopeDefinitionAccess().getBoundedScopeDefinitionParserRuleCall_1()); } + { before(grammarAccess.getScopeDeclarationAccess().getBoundedScopeParserRuleCall_1()); } + ruleBoundedScope + { after(grammarAccess.getScopeDeclarationAccess().getBoundedScopeParserRuleCall_1()); } ) | ( - { before(grammarAccess.getScopeDefinitionAccess().getLowerBoundedScopeDefinitionParserRuleCall_2()); } - ruleLowerBoundedScopeDefinition - { after(grammarAccess.getScopeDefinitionAccess().getLowerBoundedScopeDefinitionParserRuleCall_2()); } + { before(grammarAccess.getScopeDeclarationAccess().getLowerBoundedScopeParserRuleCall_2()); } + ruleLowerBoundedScope + { after(grammarAccess.getScopeDeclarationAccess().getLowerBoundedScopeParserRuleCall_2()); } ) ; finally { restoreStackSize(stackSize); } -rule__BoundedScopeDefinition__Alternatives_1 +rule__BoundedScope__Alternatives_1 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getBoundedScopeDefinitionAccess().getGroup_1_0()); } - (rule__BoundedScopeDefinition__Group_1_0__0) - { after(grammarAccess.getBoundedScopeDefinitionAccess().getGroup_1_0()); } + { before(grammarAccess.getBoundedScopeAccess().getGroup_1_0()); } + (rule__BoundedScope__Group_1_0__0) + { after(grammarAccess.getBoundedScopeAccess().getGroup_1_0()); } ) | ( - { before(grammarAccess.getBoundedScopeDefinitionAccess().getGroup_1_1()); } - (rule__BoundedScopeDefinition__Group_1_1__0) - { after(grammarAccess.getBoundedScopeDefinitionAccess().getGroup_1_1()); } + { before(grammarAccess.getBoundedScopeAccess().getGroup_1_1()); } + (rule__BoundedScope__Group_1_1__0) + { after(grammarAccess.getBoundedScopeAccess().getGroup_1_1()); } ) ; finally { restoreStackSize(stackSize); } -rule__LowerBoundedScopeDefinition__Alternatives_1 +rule__LowerBoundedScope__Alternatives_1 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getGroup_1_0()); } - (rule__LowerBoundedScopeDefinition__Group_1_0__0) - { after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getGroup_1_0()); } + { before(grammarAccess.getLowerBoundedScopeAccess().getGroup_1_0()); } + (rule__LowerBoundedScope__Group_1_0__0) + { after(grammarAccess.getLowerBoundedScopeAccess().getGroup_1_0()); } ) | ( - { before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getGroup_1_1()); } - (rule__LowerBoundedScopeDefinition__Group_1_1__0) - { after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getGroup_1_1()); } + { before(grammarAccess.getLowerBoundedScopeAccess().getGroup_1_1()); } + (rule__LowerBoundedScope__Group_1_1__0) + { after(grammarAccess.getLowerBoundedScopeAccess().getGroup_1_1()); } ) ; finally { @@ -2244,21 +2550,60 @@ finally { restoreStackSize(stackSize); } -rule__QualifiedName__Alternatives +rule__QualifiedNameSegment__Alternatives @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getQualifiedNameAccess().getGroup_0()); } - (rule__QualifiedName__Group_0__0) - { after(grammarAccess.getQualifiedNameAccess().getGroup_0()); } + { before(grammarAccess.getQualifiedNameSegmentAccess().getIDTerminalRuleCall_0()); } + RULE_ID + { after(grammarAccess.getQualifiedNameSegmentAccess().getIDTerminalRuleCall_0()); } ) | ( - { before(grammarAccess.getQualifiedNameAccess().getQUOTED_IDTerminalRuleCall_1()); } + { before(grammarAccess.getQualifiedNameSegmentAccess().getQUOTED_IDTerminalRuleCall_1()); } RULE_QUOTED_ID - { after(grammarAccess.getQualifiedNameAccess().getQUOTED_IDTerminalRuleCall_1()); } + { after(grammarAccess.getQualifiedNameSegmentAccess().getQUOTED_IDTerminalRuleCall_1()); } + ) + | + ( + { before(grammarAccess.getQualifiedNameSegmentAccess().getObjectKeyword_2()); } + Object + { after(grammarAccess.getQualifiedNameSegmentAccess().getObjectKeyword_2()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__AttributeKind__Alternatives + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getAttributeKindAccess().getFUNCTIONALEnumLiteralDeclaration_0()); } + (Functional) + { after(grammarAccess.getAttributeKindAccess().getFUNCTIONALEnumLiteralDeclaration_0()); } + ) + | + ( + { before(grammarAccess.getAttributeKindAccess().getERROREnumLiteralDeclaration_1()); } + (Error) + { after(grammarAccess.getAttributeKindAccess().getERROREnumLiteralDeclaration_1()); } + ) + | + ( + { before(grammarAccess.getAttributeKindAccess().getROOTEnumLiteralDeclaration_2()); } + (Root) + { after(grammarAccess.getAttributeKindAccess().getROOTEnumLiteralDeclaration_2()); } + ) + | + ( + { before(grammarAccess.getAttributeKindAccess().getCONTAINMENTEnumLiteralDeclaration_3()); } + (Containment) + { after(grammarAccess.getAttributeKindAccess().getCONTAINMENTEnumLiteralDeclaration_3()); } ) ; finally { @@ -2271,15 +2616,15 @@ rule__ComparisonOperator__Alternatives } : ( - { before(grammarAccess.getComparisonOperatorAccess().getEQEnumLiteralDeclaration_0()); } + { before(grammarAccess.getComparisonOperatorAccess().getEQUALSEnumLiteralDeclaration_0()); } (EqualsSignEqualsSign) - { after(grammarAccess.getComparisonOperatorAccess().getEQEnumLiteralDeclaration_0()); } + { after(grammarAccess.getComparisonOperatorAccess().getEQUALSEnumLiteralDeclaration_0()); } ) | ( - { before(grammarAccess.getComparisonOperatorAccess().getNOT_EQEnumLiteralDeclaration_1()); } + { before(grammarAccess.getComparisonOperatorAccess().getNOT_EQUALSEnumLiteralDeclaration_1()); } (ExclamationMarkEqualsSign) - { after(grammarAccess.getComparisonOperatorAccess().getNOT_EQEnumLiteralDeclaration_1()); } + { after(grammarAccess.getComparisonOperatorAccess().getNOT_EQUALSEnumLiteralDeclaration_1()); } ) | ( @@ -2289,9 +2634,9 @@ rule__ComparisonOperator__Alternatives ) | ( - { before(grammarAccess.getComparisonOperatorAccess().getLESS_EQEnumLiteralDeclaration_3()); } + { before(grammarAccess.getComparisonOperatorAccess().getLESS_EQUALSEnumLiteralDeclaration_3()); } (LessThanSignEqualsSign) - { after(grammarAccess.getComparisonOperatorAccess().getLESS_EQEnumLiteralDeclaration_3()); } + { after(grammarAccess.getComparisonOperatorAccess().getLESS_EQUALSEnumLiteralDeclaration_3()); } ) | ( @@ -2301,9 +2646,9 @@ rule__ComparisonOperator__Alternatives ) | ( - { before(grammarAccess.getComparisonOperatorAccess().getGREATER_EQEnumLiteralDeclaration_5()); } + { before(grammarAccess.getComparisonOperatorAccess().getGREATER_EQUALSEnumLiteralDeclaration_5()); } (GreaterThanSignEqualsSign) - { after(grammarAccess.getComparisonOperatorAccess().getGREATER_EQEnumLiteralDeclaration_5()); } + { after(grammarAccess.getComparisonOperatorAccess().getGREATER_EQUALSEnumLiteralDeclaration_5()); } ) | ( @@ -2322,15 +2667,15 @@ rule__AdditiveBinaryOperator__Alternatives } : ( - { before(grammarAccess.getAdditiveBinaryOperatorAccess().getADDEnumLiteralDeclaration_0()); } + { before(grammarAccess.getAdditiveBinaryOperatorAccess().getPLUSEnumLiteralDeclaration_0()); } (PlusSign) - { after(grammarAccess.getAdditiveBinaryOperatorAccess().getADDEnumLiteralDeclaration_0()); } + { after(grammarAccess.getAdditiveBinaryOperatorAccess().getPLUSEnumLiteralDeclaration_0()); } ) | ( - { before(grammarAccess.getAdditiveBinaryOperatorAccess().getSUBEnumLiteralDeclaration_1()); } + { before(grammarAccess.getAdditiveBinaryOperatorAccess().getMINUSEnumLiteralDeclaration_1()); } (HyphenMinus) - { after(grammarAccess.getAdditiveBinaryOperatorAccess().getSUBEnumLiteralDeclaration_1()); } + { after(grammarAccess.getAdditiveBinaryOperatorAccess().getMINUSEnumLiteralDeclaration_1()); } ) ; finally { @@ -2343,87 +2688,48 @@ rule__MultiplicativeBinaryOperator__Alternatives } : ( - { before(grammarAccess.getMultiplicativeBinaryOperatorAccess().getMULEnumLiteralDeclaration_0()); } + { before(grammarAccess.getMultiplicativeBinaryOperatorAccess().getMULTIPLYEnumLiteralDeclaration_0()); } (Asterisk) - { after(grammarAccess.getMultiplicativeBinaryOperatorAccess().getMULEnumLiteralDeclaration_0()); } + { after(grammarAccess.getMultiplicativeBinaryOperatorAccess().getMULTIPLYEnumLiteralDeclaration_0()); } ) | ( - { before(grammarAccess.getMultiplicativeBinaryOperatorAccess().getDIVEnumLiteralDeclaration_1()); } + { before(grammarAccess.getMultiplicativeBinaryOperatorAccess().getDIVIDEEnumLiteralDeclaration_1()); } (Solidus) - { after(grammarAccess.getMultiplicativeBinaryOperatorAccess().getDIVEnumLiteralDeclaration_1()); } + { after(grammarAccess.getMultiplicativeBinaryOperatorAccess().getDIVIDEEnumLiteralDeclaration_1()); } ) ; finally { restoreStackSize(stackSize); } -rule__UnaryOp__Alternatives +rule__UnaryOperator__Alternatives @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getUnaryOpAccess().getNEGEnumLiteralDeclaration_0()); } + { before(grammarAccess.getUnaryOperatorAccess().getNOTEnumLiteralDeclaration_0()); } (ExclamationMark) - { after(grammarAccess.getUnaryOpAccess().getNEGEnumLiteralDeclaration_0()); } + { after(grammarAccess.getUnaryOperatorAccess().getNOTEnumLiteralDeclaration_0()); } ) | ( - { before(grammarAccess.getUnaryOpAccess().getPLUSEnumLiteralDeclaration_1()); } + { before(grammarAccess.getUnaryOperatorAccess().getPLUSEnumLiteralDeclaration_1()); } (PlusSign) - { after(grammarAccess.getUnaryOpAccess().getPLUSEnumLiteralDeclaration_1()); } + { after(grammarAccess.getUnaryOperatorAccess().getPLUSEnumLiteralDeclaration_1()); } ) | ( - { before(grammarAccess.getUnaryOpAccess().getMINUSEnumLiteralDeclaration_2()); } + { before(grammarAccess.getUnaryOperatorAccess().getMINUSEnumLiteralDeclaration_2()); } (HyphenMinus) - { after(grammarAccess.getUnaryOpAccess().getMINUSEnumLiteralDeclaration_2()); } - ) - | - ( - { before(grammarAccess.getUnaryOpAccess().getMAYEnumLiteralDeclaration_3()); } - (May) - { after(grammarAccess.getUnaryOpAccess().getMAYEnumLiteralDeclaration_3()); } - ) - | - ( - { before(grammarAccess.getUnaryOpAccess().getMUSTEnumLiteralDeclaration_4()); } - (Must) - { after(grammarAccess.getUnaryOpAccess().getMUSTEnumLiteralDeclaration_4()); } - ) - | - ( - { before(grammarAccess.getUnaryOpAccess().getCURRENTEnumLiteralDeclaration_5()); } - (Current) - { after(grammarAccess.getUnaryOpAccess().getCURRENTEnumLiteralDeclaration_5()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__Quantifier__Alternatives - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getQuantifierAccess().getEXISTSEnumLiteralDeclaration_0()); } - (Exists) - { after(grammarAccess.getQuantifierAccess().getEXISTSEnumLiteralDeclaration_0()); } - ) - | - ( - { before(grammarAccess.getQuantifierAccess().getFORALLEnumLiteralDeclaration_1()); } - (Forall) - { after(grammarAccess.getQuantifierAccess().getFORALLEnumLiteralDeclaration_1()); } + { after(grammarAccess.getUnaryOperatorAccess().getMINUSEnumLiteralDeclaration_2()); } ) | ( - { before(grammarAccess.getQuantifierAccess().getCOUNTEnumLiteralDeclaration_2()); } - (Count) - { after(grammarAccess.getQuantifierAccess().getCOUNTEnumLiteralDeclaration_2()); } + { before(grammarAccess.getUnaryOperatorAccess().getMAYBEEnumLiteralDeclaration_3()); } + (QuestionMark) + { after(grammarAccess.getUnaryOperatorAccess().getMAYBEEnumLiteralDeclaration_3()); } ) ; finally { @@ -2469,284 +2775,284 @@ rule__ObjectiveKind__Alternatives } : ( - { before(grammarAccess.getObjectiveKindAccess().getMINIMIZEEnumLiteralDeclaration_0()); } + { before(grammarAccess.getObjectiveKindAccess().getMINIMIZATIONEnumLiteralDeclaration_0()); } (Minimize) - { after(grammarAccess.getObjectiveKindAccess().getMINIMIZEEnumLiteralDeclaration_0()); } + { after(grammarAccess.getObjectiveKindAccess().getMINIMIZATIONEnumLiteralDeclaration_0()); } ) | ( - { before(grammarAccess.getObjectiveKindAccess().getMAXIMIZEEnumLiteralDeclaration_1()); } + { before(grammarAccess.getObjectiveKindAccess().getMAXIMIZATIONEnumLiteralDeclaration_1()); } (Maximize) - { after(grammarAccess.getObjectiveKindAccess().getMAXIMIZEEnumLiteralDeclaration_1()); } + { after(grammarAccess.getObjectiveKindAccess().getMAXIMIZATIONEnumLiteralDeclaration_1()); } ) ; finally { restoreStackSize(stackSize); } -rule__Statement__Group__0 +rule__Problem__Group__0 @init { int stackSize = keepStackSize(); } : - rule__Statement__Group__0__Impl - rule__Statement__Group__1 + rule__Problem__Group__0__Impl + rule__Problem__Group__1 ; finally { restoreStackSize(stackSize); } -rule__Statement__Group__0__Impl +rule__Problem__Group__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getStatementAccess().getAlternatives_0()); } - (rule__Statement__Alternatives_0) - { after(grammarAccess.getStatementAccess().getAlternatives_0()); } + { before(grammarAccess.getProblemAccess().getGroup_0()); } + (rule__Problem__Group_0__0)? + { after(grammarAccess.getProblemAccess().getGroup_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__Statement__Group__1 +rule__Problem__Group__1 @init { int stackSize = keepStackSize(); } : - rule__Statement__Group__1__Impl + rule__Problem__Group__1__Impl + rule__Problem__Group__2 ; finally { restoreStackSize(stackSize); } -rule__Statement__Group__1__Impl +rule__Problem__Group__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getStatementAccess().getFULL_STOPTerminalRuleCall_1()); } - RULE_FULL_STOP - { after(grammarAccess.getStatementAccess().getFULL_STOPTerminalRuleCall_1()); } + { before(grammarAccess.getProblemAccess().getImportsAssignment_1()); } + (rule__Problem__ImportsAssignment_1)* + { after(grammarAccess.getProblemAccess().getImportsAssignment_1()); } ) ; finally { restoreStackSize(stackSize); } - -rule__AssertionOrDefinition__Group__0 +rule__Problem__Group__2 @init { int stackSize = keepStackSize(); } : - rule__AssertionOrDefinition__Group__0__Impl - rule__AssertionOrDefinition__Group__1 + rule__Problem__Group__2__Impl ; finally { restoreStackSize(stackSize); } -rule__AssertionOrDefinition__Group__0__Impl +rule__Problem__Group__2__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getAssertionOrDefinitionAccess().getExpressionParserRuleCall_0()); } - ruleExpression - { after(grammarAccess.getAssertionOrDefinitionAccess().getExpressionParserRuleCall_0()); } + { before(grammarAccess.getProblemAccess().getStatementsAssignment_2()); } + (rule__Problem__StatementsAssignment_2)* + { after(grammarAccess.getProblemAccess().getStatementsAssignment_2()); } ) ; finally { restoreStackSize(stackSize); } -rule__AssertionOrDefinition__Group__1 + +rule__Problem__Group_0__0 @init { int stackSize = keepStackSize(); } : - rule__AssertionOrDefinition__Group__1__Impl + rule__Problem__Group_0__0__Impl + rule__Problem__Group_0__1 ; finally { restoreStackSize(stackSize); } -rule__AssertionOrDefinition__Group__1__Impl +rule__Problem__Group_0__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getAssertionOrDefinitionAccess().getAlternatives_1()); } - (rule__AssertionOrDefinition__Alternatives_1)? - { after(grammarAccess.getAssertionOrDefinitionAccess().getAlternatives_1()); } + { before(grammarAccess.getProblemAccess().getProblemKeyword_0_0()); } + Problem + { after(grammarAccess.getProblemAccess().getProblemKeyword_0_0()); } ) ; finally { restoreStackSize(stackSize); } - -rule__AssertionOrDefinition__Group_1_0__0 +rule__Problem__Group_0__1 @init { int stackSize = keepStackSize(); } : - rule__AssertionOrDefinition__Group_1_0__0__Impl - rule__AssertionOrDefinition__Group_1_0__1 + rule__Problem__Group_0__1__Impl + rule__Problem__Group_0__2 ; finally { restoreStackSize(stackSize); } -rule__AssertionOrDefinition__Group_1_0__0__Impl +rule__Problem__Group_0__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getAssertionOrDefinitionAccess().getInterpretationBodyAction_1_0_0()); } - () - { after(grammarAccess.getAssertionOrDefinitionAccess().getInterpretationBodyAction_1_0_0()); } + { before(grammarAccess.getProblemAccess().getNameAssignment_0_1()); } + (rule__Problem__NameAssignment_0_1) + { after(grammarAccess.getProblemAccess().getNameAssignment_0_1()); } ) ; finally { restoreStackSize(stackSize); } -rule__AssertionOrDefinition__Group_1_0__1 +rule__Problem__Group_0__2 @init { int stackSize = keepStackSize(); } : - rule__AssertionOrDefinition__Group_1_0__1__Impl - rule__AssertionOrDefinition__Group_1_0__2 + rule__Problem__Group_0__2__Impl ; finally { restoreStackSize(stackSize); } -rule__AssertionOrDefinition__Group_1_0__1__Impl +rule__Problem__Group_0__2__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getAssertionOrDefinitionAccess().getColonKeyword_1_0_1()); } - Colon - { after(grammarAccess.getAssertionOrDefinitionAccess().getColonKeyword_1_0_1()); } + { before(grammarAccess.getProblemAccess().getFULL_STOPTerminalRuleCall_0_2()); } + RULE_FULL_STOP + { after(grammarAccess.getProblemAccess().getFULL_STOPTerminalRuleCall_0_2()); } ) ; finally { restoreStackSize(stackSize); } -rule__AssertionOrDefinition__Group_1_0__2 + +rule__UriImport__Group__0 @init { int stackSize = keepStackSize(); } : - rule__AssertionOrDefinition__Group_1_0__2__Impl + rule__UriImport__Group__0__Impl + rule__UriImport__Group__1 ; finally { restoreStackSize(stackSize); } -rule__AssertionOrDefinition__Group_1_0__2__Impl +rule__UriImport__Group__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getAssertionOrDefinitionAccess().getRangeAssignment_1_0_2()); } - (rule__AssertionOrDefinition__RangeAssignment_1_0_2) - { after(grammarAccess.getAssertionOrDefinitionAccess().getRangeAssignment_1_0_2()); } + { before(grammarAccess.getUriImportAccess().getImportKeyword_0()); } + Import + { after(grammarAccess.getUriImportAccess().getImportKeyword_0()); } ) ; finally { restoreStackSize(stackSize); } - -rule__AssertionOrDefinition__Group_1_1__0 +rule__UriImport__Group__1 @init { int stackSize = keepStackSize(); } : - rule__AssertionOrDefinition__Group_1_1__0__Impl - rule__AssertionOrDefinition__Group_1_1__1 + rule__UriImport__Group__1__Impl + rule__UriImport__Group__2 ; finally { restoreStackSize(stackSize); } -rule__AssertionOrDefinition__Group_1_1__0__Impl +rule__UriImport__Group__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getAssertionOrDefinitionAccess().getPredicateDefinitionHeadAction_1_1_0()); } - () - { after(grammarAccess.getAssertionOrDefinitionAccess().getPredicateDefinitionHeadAction_1_1_0()); } + { before(grammarAccess.getUriImportAccess().getUriAssignment_1()); } + (rule__UriImport__UriAssignment_1) + { after(grammarAccess.getUriImportAccess().getUriAssignment_1()); } ) ; finally { restoreStackSize(stackSize); } -rule__AssertionOrDefinition__Group_1_1__1 +rule__UriImport__Group__2 @init { int stackSize = keepStackSize(); } : - rule__AssertionOrDefinition__Group_1_1__1__Impl - rule__AssertionOrDefinition__Group_1_1__2 + rule__UriImport__Group__2__Impl + rule__UriImport__Group__3 ; finally { restoreStackSize(stackSize); } -rule__AssertionOrDefinition__Group_1_1__1__Impl +rule__UriImport__Group__2__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getAssertionOrDefinitionAccess().getColonHyphenMinusKeyword_1_1_1()); } - ColonHyphenMinus - { after(grammarAccess.getAssertionOrDefinitionAccess().getColonHyphenMinusKeyword_1_1_1()); } + { before(grammarAccess.getUriImportAccess().getGroup_2()); } + (rule__UriImport__Group_2__0) + { after(grammarAccess.getUriImportAccess().getGroup_2()); } ) ; finally { restoreStackSize(stackSize); } -rule__AssertionOrDefinition__Group_1_1__2 +rule__UriImport__Group__3 @init { int stackSize = keepStackSize(); } : - rule__AssertionOrDefinition__Group_1_1__2__Impl + rule__UriImport__Group__3__Impl ; finally { restoreStackSize(stackSize); } -rule__AssertionOrDefinition__Group_1_1__2__Impl +rule__UriImport__Group__3__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getAssertionOrDefinitionAccess().getBodyAssignment_1_1_2()); } - (rule__AssertionOrDefinition__BodyAssignment_1_1_2) - { after(grammarAccess.getAssertionOrDefinitionAccess().getBodyAssignment_1_1_2()); } + { before(grammarAccess.getUriImportAccess().getFULL_STOPTerminalRuleCall_3()); } + RULE_FULL_STOP + { after(grammarAccess.getUriImportAccess().getFULL_STOPTerminalRuleCall_3()); } ) ; finally { @@ -2754,296 +3060,296 @@ finally { } -rule__AssertionOrDefinition__Group_1_2__0 +rule__UriImport__Group_2__0 @init { int stackSize = keepStackSize(); } : - rule__AssertionOrDefinition__Group_1_2__0__Impl - rule__AssertionOrDefinition__Group_1_2__1 + rule__UriImport__Group_2__0__Impl + rule__UriImport__Group_2__1 ; finally { restoreStackSize(stackSize); } -rule__AssertionOrDefinition__Group_1_2__0__Impl +rule__UriImport__Group_2__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getAssertionOrDefinitionAccess().getMetricDefinitionHeadAction_1_2_0()); } - () - { after(grammarAccess.getAssertionOrDefinitionAccess().getMetricDefinitionHeadAction_1_2_0()); } + { before(grammarAccess.getUriImportAccess().getAsKeyword_2_0()); } + As + { after(grammarAccess.getUriImportAccess().getAsKeyword_2_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__AssertionOrDefinition__Group_1_2__1 +rule__UriImport__Group_2__1 @init { int stackSize = keepStackSize(); } : - rule__AssertionOrDefinition__Group_1_2__1__Impl - rule__AssertionOrDefinition__Group_1_2__2 + rule__UriImport__Group_2__1__Impl ; finally { restoreStackSize(stackSize); } -rule__AssertionOrDefinition__Group_1_2__1__Impl +rule__UriImport__Group_2__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getAssertionOrDefinitionAccess().getEqualsSignKeyword_1_2_1()); } - EqualsSign - { after(grammarAccess.getAssertionOrDefinitionAccess().getEqualsSignKeyword_1_2_1()); } + { before(grammarAccess.getUriImportAccess().getAliasAssignment_2_1()); } + (rule__UriImport__AliasAssignment_2_1) + { after(grammarAccess.getUriImportAccess().getAliasAssignment_2_1()); } ) ; finally { restoreStackSize(stackSize); } -rule__AssertionOrDefinition__Group_1_2__2 + +rule__NamespaceImport__Group__0 @init { int stackSize = keepStackSize(); } : - rule__AssertionOrDefinition__Group_1_2__2__Impl + rule__NamespaceImport__Group__0__Impl + rule__NamespaceImport__Group__1 ; finally { restoreStackSize(stackSize); } -rule__AssertionOrDefinition__Group_1_2__2__Impl +rule__NamespaceImport__Group__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getAssertionOrDefinitionAccess().getBodyAssignment_1_2_2()); } - (rule__AssertionOrDefinition__BodyAssignment_1_2_2) - { after(grammarAccess.getAssertionOrDefinitionAccess().getBodyAssignment_1_2_2()); } + { before(grammarAccess.getNamespaceImportAccess().getImportKeyword_0()); } + Import + { after(grammarAccess.getNamespaceImportAccess().getImportKeyword_0()); } ) ; finally { restoreStackSize(stackSize); } - -rule__PredicateDefinition__Group__0 +rule__NamespaceImport__Group__1 @init { int stackSize = keepStackSize(); } : - rule__PredicateDefinition__Group__0__Impl - rule__PredicateDefinition__Group__1 + rule__NamespaceImport__Group__1__Impl + rule__NamespaceImport__Group__2 ; finally { restoreStackSize(stackSize); } -rule__PredicateDefinition__Group__0__Impl +rule__NamespaceImport__Group__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getPredicateDefinitionAccess().getAlternatives_0()); } - (rule__PredicateDefinition__Alternatives_0) - { after(grammarAccess.getPredicateDefinitionAccess().getAlternatives_0()); } + { before(grammarAccess.getNamespaceImportAccess().getImportedNamespaceAssignment_1()); } + (rule__NamespaceImport__ImportedNamespaceAssignment_1) + { after(grammarAccess.getNamespaceImportAccess().getImportedNamespaceAssignment_1()); } ) ; finally { restoreStackSize(stackSize); } -rule__PredicateDefinition__Group__1 +rule__NamespaceImport__Group__2 @init { int stackSize = keepStackSize(); } : - rule__PredicateDefinition__Group__1__Impl - rule__PredicateDefinition__Group__2 + rule__NamespaceImport__Group__2__Impl + rule__NamespaceImport__Group__3 ; finally { restoreStackSize(stackSize); } -rule__PredicateDefinition__Group__1__Impl +rule__NamespaceImport__Group__2__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getPredicateDefinitionAccess().getHeadAssignment_1()); } - (rule__PredicateDefinition__HeadAssignment_1) - { after(grammarAccess.getPredicateDefinitionAccess().getHeadAssignment_1()); } + { before(grammarAccess.getNamespaceImportAccess().getGroup_2()); } + (rule__NamespaceImport__Group_2__0) + { after(grammarAccess.getNamespaceImportAccess().getGroup_2()); } ) ; finally { restoreStackSize(stackSize); } -rule__PredicateDefinition__Group__2 +rule__NamespaceImport__Group__3 @init { int stackSize = keepStackSize(); } : - rule__PredicateDefinition__Group__2__Impl - rule__PredicateDefinition__Group__3 + rule__NamespaceImport__Group__3__Impl ; finally { restoreStackSize(stackSize); } -rule__PredicateDefinition__Group__2__Impl +rule__NamespaceImport__Group__3__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getPredicateDefinitionAccess().getColonHyphenMinusKeyword_2()); } - ColonHyphenMinus - { after(grammarAccess.getPredicateDefinitionAccess().getColonHyphenMinusKeyword_2()); } + { before(grammarAccess.getNamespaceImportAccess().getFULL_STOPTerminalRuleCall_3()); } + RULE_FULL_STOP + { after(grammarAccess.getNamespaceImportAccess().getFULL_STOPTerminalRuleCall_3()); } ) ; finally { restoreStackSize(stackSize); } -rule__PredicateDefinition__Group__3 + +rule__NamespaceImport__Group_2__0 @init { int stackSize = keepStackSize(); } : - rule__PredicateDefinition__Group__3__Impl + rule__NamespaceImport__Group_2__0__Impl + rule__NamespaceImport__Group_2__1 ; finally { restoreStackSize(stackSize); } -rule__PredicateDefinition__Group__3__Impl +rule__NamespaceImport__Group_2__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getPredicateDefinitionAccess().getBodyAssignment_3()); } - (rule__PredicateDefinition__BodyAssignment_3) - { after(grammarAccess.getPredicateDefinitionAccess().getBodyAssignment_3()); } + { before(grammarAccess.getNamespaceImportAccess().getAsKeyword_2_0()); } + As + { after(grammarAccess.getNamespaceImportAccess().getAsKeyword_2_0()); } ) ; finally { restoreStackSize(stackSize); } - -rule__PredicateDefinition__Group_0_0__0 +rule__NamespaceImport__Group_2__1 @init { int stackSize = keepStackSize(); } : - rule__PredicateDefinition__Group_0_0__0__Impl - rule__PredicateDefinition__Group_0_0__1 + rule__NamespaceImport__Group_2__1__Impl ; finally { restoreStackSize(stackSize); } -rule__PredicateDefinition__Group_0_0__0__Impl +rule__NamespaceImport__Group_2__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getPredicateDefinitionAccess().getFunctionalAssignment_0_0_0()); } - (rule__PredicateDefinition__FunctionalAssignment_0_0_0) - { after(grammarAccess.getPredicateDefinitionAccess().getFunctionalAssignment_0_0_0()); } + { before(grammarAccess.getNamespaceImportAccess().getAliasAssignment_2_1()); } + (rule__NamespaceImport__AliasAssignment_2_1) + { after(grammarAccess.getNamespaceImportAccess().getAliasAssignment_2_1()); } ) ; finally { restoreStackSize(stackSize); } -rule__PredicateDefinition__Group_0_0__1 + +rule__AssertionOrDefinition__Group__0 @init { int stackSize = keepStackSize(); } : - rule__PredicateDefinition__Group_0_0__1__Impl + rule__AssertionOrDefinition__Group__0__Impl + rule__AssertionOrDefinition__Group__1 ; finally { restoreStackSize(stackSize); } -rule__PredicateDefinition__Group_0_0__1__Impl +rule__AssertionOrDefinition__Group__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getPredicateDefinitionAccess().getErrorAssignment_0_0_1()); } - (rule__PredicateDefinition__ErrorAssignment_0_0_1)? - { after(grammarAccess.getPredicateDefinitionAccess().getErrorAssignment_0_0_1()); } + { before(grammarAccess.getAssertionOrDefinitionAccess().getExpressionParserRuleCall_0()); } + ruleExpression + { after(grammarAccess.getAssertionOrDefinitionAccess().getExpressionParserRuleCall_0()); } ) ; finally { restoreStackSize(stackSize); } - -rule__PredicateDefinition__Group_0_1__0 +rule__AssertionOrDefinition__Group__1 @init { int stackSize = keepStackSize(); } : - rule__PredicateDefinition__Group_0_1__0__Impl - rule__PredicateDefinition__Group_0_1__1 + rule__AssertionOrDefinition__Group__1__Impl + rule__AssertionOrDefinition__Group__2 ; finally { restoreStackSize(stackSize); } -rule__PredicateDefinition__Group_0_1__0__Impl +rule__AssertionOrDefinition__Group__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getPredicateDefinitionAccess().getErrorAssignment_0_1_0()); } - (rule__PredicateDefinition__ErrorAssignment_0_1_0) - { after(grammarAccess.getPredicateDefinitionAccess().getErrorAssignment_0_1_0()); } + { before(grammarAccess.getAssertionOrDefinitionAccess().getAlternatives_1()); } + (rule__AssertionOrDefinition__Alternatives_1) + { after(grammarAccess.getAssertionOrDefinitionAccess().getAlternatives_1()); } ) ; finally { restoreStackSize(stackSize); } -rule__PredicateDefinition__Group_0_1__1 +rule__AssertionOrDefinition__Group__2 @init { int stackSize = keepStackSize(); } : - rule__PredicateDefinition__Group_0_1__1__Impl + rule__AssertionOrDefinition__Group__2__Impl ; finally { restoreStackSize(stackSize); } -rule__PredicateDefinition__Group_0_1__1__Impl +rule__AssertionOrDefinition__Group__2__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getPredicateDefinitionAccess().getFunctionalAssignment_0_1_1()); } - (rule__PredicateDefinition__FunctionalAssignment_0_1_1)? - { after(grammarAccess.getPredicateDefinitionAccess().getFunctionalAssignment_0_1_1()); } + { before(grammarAccess.getAssertionOrDefinitionAccess().getFULL_STOPTerminalRuleCall_2()); } + RULE_FULL_STOP + { after(grammarAccess.getAssertionOrDefinitionAccess().getFULL_STOPTerminalRuleCall_2()); } ) ; finally { @@ -3051,107 +3357,107 @@ finally { } -rule__UnnamedErrorPrediateDefinition__Group__0 +rule__AssertionOrDefinition__Group_1_0__0 @init { int stackSize = keepStackSize(); } : - rule__UnnamedErrorPrediateDefinition__Group__0__Impl - rule__UnnamedErrorPrediateDefinition__Group__1 + rule__AssertionOrDefinition__Group_1_0__0__Impl + rule__AssertionOrDefinition__Group_1_0__1 ; finally { restoreStackSize(stackSize); } -rule__UnnamedErrorPrediateDefinition__Group__0__Impl +rule__AssertionOrDefinition__Group_1_0__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getErrorKeyword_0()); } - Error - { after(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getErrorKeyword_0()); } + { before(grammarAccess.getAssertionOrDefinitionAccess().getAssertionExpressionAction_1_0_0()); } + () + { after(grammarAccess.getAssertionOrDefinitionAccess().getAssertionExpressionAction_1_0_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__UnnamedErrorPrediateDefinition__Group__1 +rule__AssertionOrDefinition__Group_1_0__1 @init { int stackSize = keepStackSize(); } : - rule__UnnamedErrorPrediateDefinition__Group__1__Impl - rule__UnnamedErrorPrediateDefinition__Group__2 + rule__AssertionOrDefinition__Group_1_0__1__Impl ; finally { restoreStackSize(stackSize); } -rule__UnnamedErrorPrediateDefinition__Group__1__Impl +rule__AssertionOrDefinition__Group_1_0__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getArgumentListAssignment_1()); } - (rule__UnnamedErrorPrediateDefinition__ArgumentListAssignment_1) - { after(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getArgumentListAssignment_1()); } + { before(grammarAccess.getAssertionOrDefinitionAccess().getGroup_1_0_1()); } + (rule__AssertionOrDefinition__Group_1_0_1__0)? + { after(grammarAccess.getAssertionOrDefinitionAccess().getGroup_1_0_1()); } ) ; finally { restoreStackSize(stackSize); } -rule__UnnamedErrorPrediateDefinition__Group__2 + +rule__AssertionOrDefinition__Group_1_0_1__0 @init { int stackSize = keepStackSize(); } : - rule__UnnamedErrorPrediateDefinition__Group__2__Impl - rule__UnnamedErrorPrediateDefinition__Group__3 + rule__AssertionOrDefinition__Group_1_0_1__0__Impl + rule__AssertionOrDefinition__Group_1_0_1__1 ; finally { restoreStackSize(stackSize); } -rule__UnnamedErrorPrediateDefinition__Group__2__Impl +rule__AssertionOrDefinition__Group_1_0_1__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getColonHyphenMinusKeyword_2()); } - ColonHyphenMinus - { after(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getColonHyphenMinusKeyword_2()); } + { before(grammarAccess.getAssertionOrDefinitionAccess().getColonKeyword_1_0_1_0()); } + Colon + { after(grammarAccess.getAssertionOrDefinitionAccess().getColonKeyword_1_0_1_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__UnnamedErrorPrediateDefinition__Group__3 +rule__AssertionOrDefinition__Group_1_0_1__1 @init { int stackSize = keepStackSize(); } : - rule__UnnamedErrorPrediateDefinition__Group__3__Impl + rule__AssertionOrDefinition__Group_1_0_1__1__Impl ; finally { restoreStackSize(stackSize); } -rule__UnnamedErrorPrediateDefinition__Group__3__Impl +rule__AssertionOrDefinition__Group_1_0_1__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getBodyAssignment_3()); } - (rule__UnnamedErrorPrediateDefinition__BodyAssignment_3) - { after(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getBodyAssignment_3()); } + { before(grammarAccess.getAssertionOrDefinitionAccess().getRangeAssignment_1_0_1_1()); } + (rule__AssertionOrDefinition__RangeAssignment_1_0_1_1) + { after(grammarAccess.getAssertionOrDefinitionAccess().getRangeAssignment_1_0_1_1()); } ) ; finally { @@ -3159,296 +3465,296 @@ finally { } -rule__DefaultDefinition__Group__0 +rule__AssertionOrDefinition__Group_1_1__0 @init { int stackSize = keepStackSize(); } : - rule__DefaultDefinition__Group__0__Impl - rule__DefaultDefinition__Group__1 + rule__AssertionOrDefinition__Group_1_1__0__Impl + rule__AssertionOrDefinition__Group_1_1__1 ; finally { restoreStackSize(stackSize); } -rule__DefaultDefinition__Group__0__Impl +rule__AssertionOrDefinition__Group_1_1__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getDefaultDefinitionAccess().getDefaultKeyword_0()); } - Default - { after(grammarAccess.getDefaultDefinitionAccess().getDefaultKeyword_0()); } + { before(grammarAccess.getAssertionOrDefinitionAccess().getPredicateDefinitionHeadAction_1_1_0()); } + () + { after(grammarAccess.getAssertionOrDefinitionAccess().getPredicateDefinitionHeadAction_1_1_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__DefaultDefinition__Group__1 +rule__AssertionOrDefinition__Group_1_1__1 @init { int stackSize = keepStackSize(); } : - rule__DefaultDefinition__Group__1__Impl - rule__DefaultDefinition__Group__2 + rule__AssertionOrDefinition__Group_1_1__1__Impl + rule__AssertionOrDefinition__Group_1_1__2 ; finally { restoreStackSize(stackSize); } -rule__DefaultDefinition__Group__1__Impl +rule__AssertionOrDefinition__Group_1_1__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getDefaultDefinitionAccess().getHeadAssignment_1()); } - (rule__DefaultDefinition__HeadAssignment_1) - { after(grammarAccess.getDefaultDefinitionAccess().getHeadAssignment_1()); } + { before(grammarAccess.getAssertionOrDefinitionAccess().getColonHyphenMinusKeyword_1_1_1()); } + ColonHyphenMinus + { after(grammarAccess.getAssertionOrDefinitionAccess().getColonHyphenMinusKeyword_1_1_1()); } ) ; finally { restoreStackSize(stackSize); } -rule__DefaultDefinition__Group__2 +rule__AssertionOrDefinition__Group_1_1__2 @init { int stackSize = keepStackSize(); } : - rule__DefaultDefinition__Group__2__Impl - rule__DefaultDefinition__Group__3 + rule__AssertionOrDefinition__Group_1_1__2__Impl ; finally { restoreStackSize(stackSize); } -rule__DefaultDefinition__Group__2__Impl +rule__AssertionOrDefinition__Group_1_1__2__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getDefaultDefinitionAccess().getColonKeyword_2()); } - Colon - { after(grammarAccess.getDefaultDefinitionAccess().getColonKeyword_2()); } + { before(grammarAccess.getAssertionOrDefinitionAccess().getBodyAssignment_1_1_2()); } + (rule__AssertionOrDefinition__BodyAssignment_1_1_2) + { after(grammarAccess.getAssertionOrDefinitionAccess().getBodyAssignment_1_1_2()); } ) ; finally { restoreStackSize(stackSize); } -rule__DefaultDefinition__Group__3 + +rule__AssertionOrDefinition__Group_1_2__0 @init { int stackSize = keepStackSize(); } : - rule__DefaultDefinition__Group__3__Impl + rule__AssertionOrDefinition__Group_1_2__0__Impl + rule__AssertionOrDefinition__Group_1_2__1 ; finally { restoreStackSize(stackSize); } -rule__DefaultDefinition__Group__3__Impl +rule__AssertionOrDefinition__Group_1_2__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getDefaultDefinitionAccess().getRangeAssignment_3()); } - (rule__DefaultDefinition__RangeAssignment_3) - { after(grammarAccess.getDefaultDefinitionAccess().getRangeAssignment_3()); } + { before(grammarAccess.getAssertionOrDefinitionAccess().getFunctionDefinitionHeadAction_1_2_0()); } + () + { after(grammarAccess.getAssertionOrDefinitionAccess().getFunctionDefinitionHeadAction_1_2_0()); } ) ; finally { restoreStackSize(stackSize); } - -rule__MetricDefinition__Group__0 +rule__AssertionOrDefinition__Group_1_2__1 @init { int stackSize = keepStackSize(); } : - rule__MetricDefinition__Group__0__Impl - rule__MetricDefinition__Group__1 + rule__AssertionOrDefinition__Group_1_2__1__Impl + rule__AssertionOrDefinition__Group_1_2__2 ; finally { restoreStackSize(stackSize); } -rule__MetricDefinition__Group__0__Impl +rule__AssertionOrDefinition__Group_1_2__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getMetricDefinitionAccess().getTypeAssignment_0()); } - (rule__MetricDefinition__TypeAssignment_0) - { after(grammarAccess.getMetricDefinitionAccess().getTypeAssignment_0()); } + { before(grammarAccess.getAssertionOrDefinitionAccess().getColonEqualsSignKeyword_1_2_1()); } + ColonEqualsSign + { after(grammarAccess.getAssertionOrDefinitionAccess().getColonEqualsSignKeyword_1_2_1()); } ) ; finally { restoreStackSize(stackSize); } -rule__MetricDefinition__Group__1 +rule__AssertionOrDefinition__Group_1_2__2 @init { int stackSize = keepStackSize(); } : - rule__MetricDefinition__Group__1__Impl - rule__MetricDefinition__Group__2 + rule__AssertionOrDefinition__Group_1_2__2__Impl ; finally { restoreStackSize(stackSize); } -rule__MetricDefinition__Group__1__Impl +rule__AssertionOrDefinition__Group_1_2__2__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getMetricDefinitionAccess().getHeadAssignment_1()); } - (rule__MetricDefinition__HeadAssignment_1) - { after(grammarAccess.getMetricDefinitionAccess().getHeadAssignment_1()); } + { before(grammarAccess.getAssertionOrDefinitionAccess().getBodyAssignment_1_2_2()); } + (rule__AssertionOrDefinition__BodyAssignment_1_2_2) + { after(grammarAccess.getAssertionOrDefinitionAccess().getBodyAssignment_1_2_2()); } ) ; finally { restoreStackSize(stackSize); } -rule__MetricDefinition__Group__2 + +rule__PredicateDefinition__Group__0 @init { int stackSize = keepStackSize(); } : - rule__MetricDefinition__Group__2__Impl - rule__MetricDefinition__Group__3 + rule__PredicateDefinition__Group__0__Impl + rule__PredicateDefinition__Group__1 ; finally { restoreStackSize(stackSize); } -rule__MetricDefinition__Group__2__Impl +rule__PredicateDefinition__Group__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getMetricDefinitionAccess().getEqualsSignKeyword_2()); } - EqualsSign - { after(grammarAccess.getMetricDefinitionAccess().getEqualsSignKeyword_2()); } + { before(grammarAccess.getPredicateDefinitionAccess().getAlternatives_0()); } + (rule__PredicateDefinition__Alternatives_0) + { after(grammarAccess.getPredicateDefinitionAccess().getAlternatives_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__MetricDefinition__Group__3 +rule__PredicateDefinition__Group__1 @init { int stackSize = keepStackSize(); } : - rule__MetricDefinition__Group__3__Impl + rule__PredicateDefinition__Group__1__Impl + rule__PredicateDefinition__Group__2 ; finally { restoreStackSize(stackSize); } -rule__MetricDefinition__Group__3__Impl +rule__PredicateDefinition__Group__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getMetricDefinitionAccess().getBodyAssignment_3()); } - (rule__MetricDefinition__BodyAssignment_3) - { after(grammarAccess.getMetricDefinitionAccess().getBodyAssignment_3()); } + { before(grammarAccess.getPredicateDefinitionAccess().getHeadAssignment_1()); } + (rule__PredicateDefinition__HeadAssignment_1) + { after(grammarAccess.getPredicateDefinitionAccess().getHeadAssignment_1()); } ) ; finally { restoreStackSize(stackSize); } - -rule__ExternPredicateDefinition__Group__0 +rule__PredicateDefinition__Group__2 @init { int stackSize = keepStackSize(); } : - rule__ExternPredicateDefinition__Group__0__Impl - rule__ExternPredicateDefinition__Group__1 + rule__PredicateDefinition__Group__2__Impl + rule__PredicateDefinition__Group__3 ; finally { restoreStackSize(stackSize); } -rule__ExternPredicateDefinition__Group__0__Impl +rule__PredicateDefinition__Group__2__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getExternPredicateDefinitionAccess().getExternKeyword_0()); } - Extern - { after(grammarAccess.getExternPredicateDefinitionAccess().getExternKeyword_0()); } + { before(grammarAccess.getPredicateDefinitionAccess().getColonHyphenMinusKeyword_2()); } + ColonHyphenMinus + { after(grammarAccess.getPredicateDefinitionAccess().getColonHyphenMinusKeyword_2()); } ) ; finally { restoreStackSize(stackSize); } -rule__ExternPredicateDefinition__Group__1 +rule__PredicateDefinition__Group__3 @init { int stackSize = keepStackSize(); } : - rule__ExternPredicateDefinition__Group__1__Impl - rule__ExternPredicateDefinition__Group__2 + rule__PredicateDefinition__Group__3__Impl + rule__PredicateDefinition__Group__4 ; finally { restoreStackSize(stackSize); } -rule__ExternPredicateDefinition__Group__1__Impl +rule__PredicateDefinition__Group__3__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getExternPredicateDefinitionAccess().getNameAssignment_1()); } - (rule__ExternPredicateDefinition__NameAssignment_1) - { after(grammarAccess.getExternPredicateDefinitionAccess().getNameAssignment_1()); } + { before(grammarAccess.getPredicateDefinitionAccess().getBodyAssignment_3()); } + (rule__PredicateDefinition__BodyAssignment_3) + { after(grammarAccess.getPredicateDefinitionAccess().getBodyAssignment_3()); } ) ; finally { restoreStackSize(stackSize); } -rule__ExternPredicateDefinition__Group__2 +rule__PredicateDefinition__Group__4 @init { int stackSize = keepStackSize(); } : - rule__ExternPredicateDefinition__Group__2__Impl + rule__PredicateDefinition__Group__4__Impl ; finally { restoreStackSize(stackSize); } -rule__ExternPredicateDefinition__Group__2__Impl +rule__PredicateDefinition__Group__4__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getExternPredicateDefinitionAccess().getArgumentListAssignment_2()); } - (rule__ExternPredicateDefinition__ArgumentListAssignment_2) - { after(grammarAccess.getExternPredicateDefinitionAccess().getArgumentListAssignment_2()); } + { before(grammarAccess.getPredicateDefinitionAccess().getFULL_STOPTerminalRuleCall_4()); } + RULE_FULL_STOP + { after(grammarAccess.getPredicateDefinitionAccess().getFULL_STOPTerminalRuleCall_4()); } ) ; finally { @@ -3456,107 +3762,107 @@ finally { } -rule__ExternMetricDefinition__Group__0 +rule__PredicateDefinition__Group_0_0__0 @init { int stackSize = keepStackSize(); } : - rule__ExternMetricDefinition__Group__0__Impl - rule__ExternMetricDefinition__Group__1 + rule__PredicateDefinition__Group_0_0__0__Impl + rule__PredicateDefinition__Group_0_0__1 ; finally { restoreStackSize(stackSize); } -rule__ExternMetricDefinition__Group__0__Impl +rule__PredicateDefinition__Group_0_0__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getExternMetricDefinitionAccess().getExternKeyword_0()); } - Extern - { after(grammarAccess.getExternMetricDefinitionAccess().getExternKeyword_0()); } + { before(grammarAccess.getPredicateDefinitionAccess().getFunctionalAssignment_0_0_0()); } + (rule__PredicateDefinition__FunctionalAssignment_0_0_0) + { after(grammarAccess.getPredicateDefinitionAccess().getFunctionalAssignment_0_0_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__ExternMetricDefinition__Group__1 +rule__PredicateDefinition__Group_0_0__1 @init { int stackSize = keepStackSize(); } : - rule__ExternMetricDefinition__Group__1__Impl - rule__ExternMetricDefinition__Group__2 + rule__PredicateDefinition__Group_0_0__1__Impl ; finally { restoreStackSize(stackSize); } -rule__ExternMetricDefinition__Group__1__Impl +rule__PredicateDefinition__Group_0_0__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getExternMetricDefinitionAccess().getTypeAssignment_1()); } - (rule__ExternMetricDefinition__TypeAssignment_1) - { after(grammarAccess.getExternMetricDefinitionAccess().getTypeAssignment_1()); } + { before(grammarAccess.getPredicateDefinitionAccess().getErrorAssignment_0_0_1()); } + (rule__PredicateDefinition__ErrorAssignment_0_0_1)? + { after(grammarAccess.getPredicateDefinitionAccess().getErrorAssignment_0_0_1()); } ) ; finally { restoreStackSize(stackSize); } -rule__ExternMetricDefinition__Group__2 + +rule__PredicateDefinition__Group_0_1__0 @init { int stackSize = keepStackSize(); } : - rule__ExternMetricDefinition__Group__2__Impl - rule__ExternMetricDefinition__Group__3 + rule__PredicateDefinition__Group_0_1__0__Impl + rule__PredicateDefinition__Group_0_1__1 ; finally { restoreStackSize(stackSize); } -rule__ExternMetricDefinition__Group__2__Impl +rule__PredicateDefinition__Group_0_1__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getExternMetricDefinitionAccess().getNameAssignment_2()); } - (rule__ExternMetricDefinition__NameAssignment_2) - { after(grammarAccess.getExternMetricDefinitionAccess().getNameAssignment_2()); } + { before(grammarAccess.getPredicateDefinitionAccess().getErrorAssignment_0_1_0()); } + (rule__PredicateDefinition__ErrorAssignment_0_1_0) + { after(grammarAccess.getPredicateDefinitionAccess().getErrorAssignment_0_1_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__ExternMetricDefinition__Group__3 +rule__PredicateDefinition__Group_0_1__1 @init { int stackSize = keepStackSize(); } : - rule__ExternMetricDefinition__Group__3__Impl + rule__PredicateDefinition__Group_0_1__1__Impl ; finally { restoreStackSize(stackSize); } -rule__ExternMetricDefinition__Group__3__Impl +rule__PredicateDefinition__Group_0_1__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getExternMetricDefinitionAccess().getArgumentListAssignment_3()); } - (rule__ExternMetricDefinition__ArgumentListAssignment_3) - { after(grammarAccess.getExternMetricDefinitionAccess().getArgumentListAssignment_3()); } + { before(grammarAccess.getPredicateDefinitionAccess().getFunctionalAssignment_0_1_1()); } + (rule__PredicateDefinition__FunctionalAssignment_0_1_1)? + { after(grammarAccess.getPredicateDefinitionAccess().getFunctionalAssignment_0_1_1()); } ) ; finally { @@ -3564,296 +3870,296 @@ finally { } -rule__ExternAggregatorDefinition__Group__0 +rule__UnnamedErrorPredicateDefintion__Group__0 @init { int stackSize = keepStackSize(); } : - rule__ExternAggregatorDefinition__Group__0__Impl - rule__ExternAggregatorDefinition__Group__1 + rule__UnnamedErrorPredicateDefintion__Group__0__Impl + rule__UnnamedErrorPredicateDefintion__Group__1 ; finally { restoreStackSize(stackSize); } -rule__ExternAggregatorDefinition__Group__0__Impl +rule__UnnamedErrorPredicateDefintion__Group__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getExternAggregatorDefinitionAccess().getExternKeyword_0()); } - Extern - { after(grammarAccess.getExternAggregatorDefinitionAccess().getExternKeyword_0()); } + { before(grammarAccess.getUnnamedErrorPredicateDefintionAccess().getErrorKeyword_0()); } + Error + { after(grammarAccess.getUnnamedErrorPredicateDefintionAccess().getErrorKeyword_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__ExternAggregatorDefinition__Group__1 +rule__UnnamedErrorPredicateDefintion__Group__1 @init { int stackSize = keepStackSize(); } : - rule__ExternAggregatorDefinition__Group__1__Impl - rule__ExternAggregatorDefinition__Group__2 + rule__UnnamedErrorPredicateDefintion__Group__1__Impl + rule__UnnamedErrorPredicateDefintion__Group__2 ; finally { restoreStackSize(stackSize); } -rule__ExternAggregatorDefinition__Group__1__Impl +rule__UnnamedErrorPredicateDefintion__Group__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getExternAggregatorDefinitionAccess().getTypeAssignment_1()); } - (rule__ExternAggregatorDefinition__TypeAssignment_1) - { after(grammarAccess.getExternAggregatorDefinitionAccess().getTypeAssignment_1()); } + { before(grammarAccess.getUnnamedErrorPredicateDefintionAccess().getArgumentListAssignment_1()); } + (rule__UnnamedErrorPredicateDefintion__ArgumentListAssignment_1) + { after(grammarAccess.getUnnamedErrorPredicateDefintionAccess().getArgumentListAssignment_1()); } ) ; finally { restoreStackSize(stackSize); } -rule__ExternAggregatorDefinition__Group__2 +rule__UnnamedErrorPredicateDefintion__Group__2 @init { int stackSize = keepStackSize(); } : - rule__ExternAggregatorDefinition__Group__2__Impl - rule__ExternAggregatorDefinition__Group__3 + rule__UnnamedErrorPredicateDefintion__Group__2__Impl + rule__UnnamedErrorPredicateDefintion__Group__3 ; finally { restoreStackSize(stackSize); } -rule__ExternAggregatorDefinition__Group__2__Impl +rule__UnnamedErrorPredicateDefintion__Group__2__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getExternAggregatorDefinitionAccess().getNameAssignment_2()); } - (rule__ExternAggregatorDefinition__NameAssignment_2) - { after(grammarAccess.getExternAggregatorDefinitionAccess().getNameAssignment_2()); } + { before(grammarAccess.getUnnamedErrorPredicateDefintionAccess().getColonHyphenMinusKeyword_2()); } + ColonHyphenMinus + { after(grammarAccess.getUnnamedErrorPredicateDefintionAccess().getColonHyphenMinusKeyword_2()); } ) ; finally { restoreStackSize(stackSize); } -rule__ExternAggregatorDefinition__Group__3 +rule__UnnamedErrorPredicateDefintion__Group__3 @init { int stackSize = keepStackSize(); } : - rule__ExternAggregatorDefinition__Group__3__Impl - rule__ExternAggregatorDefinition__Group__4 + rule__UnnamedErrorPredicateDefintion__Group__3__Impl + rule__UnnamedErrorPredicateDefintion__Group__4 ; finally { restoreStackSize(stackSize); } -rule__ExternAggregatorDefinition__Group__3__Impl +rule__UnnamedErrorPredicateDefintion__Group__3__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getExternAggregatorDefinitionAccess().getLeftCurlyBracketKeyword_3()); } - LeftCurlyBracket - { after(grammarAccess.getExternAggregatorDefinitionAccess().getLeftCurlyBracketKeyword_3()); } + { before(grammarAccess.getUnnamedErrorPredicateDefintionAccess().getBodyAssignment_3()); } + (rule__UnnamedErrorPredicateDefintion__BodyAssignment_3) + { after(grammarAccess.getUnnamedErrorPredicateDefintionAccess().getBodyAssignment_3()); } ) ; finally { restoreStackSize(stackSize); } -rule__ExternAggregatorDefinition__Group__4 +rule__UnnamedErrorPredicateDefintion__Group__4 @init { int stackSize = keepStackSize(); } : - rule__ExternAggregatorDefinition__Group__4__Impl - rule__ExternAggregatorDefinition__Group__5 + rule__UnnamedErrorPredicateDefintion__Group__4__Impl ; finally { restoreStackSize(stackSize); } -rule__ExternAggregatorDefinition__Group__4__Impl +rule__UnnamedErrorPredicateDefintion__Group__4__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getExternAggregatorDefinitionAccess().getInputTypeAssignment_4()); } - (rule__ExternAggregatorDefinition__InputTypeAssignment_4) - { after(grammarAccess.getExternAggregatorDefinitionAccess().getInputTypeAssignment_4()); } + { before(grammarAccess.getUnnamedErrorPredicateDefintionAccess().getFULL_STOPTerminalRuleCall_4()); } + RULE_FULL_STOP + { after(grammarAccess.getUnnamedErrorPredicateDefintionAccess().getFULL_STOPTerminalRuleCall_4()); } ) ; finally { restoreStackSize(stackSize); } -rule__ExternAggregatorDefinition__Group__5 + +rule__DefaultAssertion__Group__0 @init { int stackSize = keepStackSize(); } : - rule__ExternAggregatorDefinition__Group__5__Impl - rule__ExternAggregatorDefinition__Group__6 + rule__DefaultAssertion__Group__0__Impl + rule__DefaultAssertion__Group__1 ; finally { restoreStackSize(stackSize); } -rule__ExternAggregatorDefinition__Group__5__Impl +rule__DefaultAssertion__Group__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getExternAggregatorDefinitionAccess().getFullStopFullStopFullStopKeyword_5()); } - FullStopFullStopFullStop - { after(grammarAccess.getExternAggregatorDefinitionAccess().getFullStopFullStopFullStopKeyword_5()); } + { before(grammarAccess.getDefaultAssertionAccess().getDefaultKeyword_0()); } + Default + { after(grammarAccess.getDefaultAssertionAccess().getDefaultKeyword_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__ExternAggregatorDefinition__Group__6 +rule__DefaultAssertion__Group__1 @init { int stackSize = keepStackSize(); } : - rule__ExternAggregatorDefinition__Group__6__Impl + rule__DefaultAssertion__Group__1__Impl + rule__DefaultAssertion__Group__2 ; finally { restoreStackSize(stackSize); } -rule__ExternAggregatorDefinition__Group__6__Impl +rule__DefaultAssertion__Group__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getExternAggregatorDefinitionAccess().getRightCurlyBracketKeyword_6()); } - RightCurlyBracket - { after(grammarAccess.getExternAggregatorDefinitionAccess().getRightCurlyBracketKeyword_6()); } + { before(grammarAccess.getDefaultAssertionAccess().getExpressionAssignment_1()); } + (rule__DefaultAssertion__ExpressionAssignment_1) + { after(grammarAccess.getDefaultAssertionAccess().getExpressionAssignment_1()); } ) ; finally { restoreStackSize(stackSize); } - -rule__ExternDatatypeDefinition__Group__0 +rule__DefaultAssertion__Group__2 @init { int stackSize = keepStackSize(); } : - rule__ExternDatatypeDefinition__Group__0__Impl - rule__ExternDatatypeDefinition__Group__1 + rule__DefaultAssertion__Group__2__Impl + rule__DefaultAssertion__Group__3 ; finally { restoreStackSize(stackSize); } -rule__ExternDatatypeDefinition__Group__0__Impl +rule__DefaultAssertion__Group__2__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getExternDatatypeDefinitionAccess().getExternKeyword_0()); } - Extern - { after(grammarAccess.getExternDatatypeDefinitionAccess().getExternKeyword_0()); } + { before(grammarAccess.getDefaultAssertionAccess().getGroup_2()); } + (rule__DefaultAssertion__Group_2__0)? + { after(grammarAccess.getDefaultAssertionAccess().getGroup_2()); } ) ; finally { restoreStackSize(stackSize); } -rule__ExternDatatypeDefinition__Group__1 +rule__DefaultAssertion__Group__3 @init { int stackSize = keepStackSize(); } : - rule__ExternDatatypeDefinition__Group__1__Impl - rule__ExternDatatypeDefinition__Group__2 + rule__DefaultAssertion__Group__3__Impl ; finally { restoreStackSize(stackSize); } -rule__ExternDatatypeDefinition__Group__1__Impl +rule__DefaultAssertion__Group__3__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getExternDatatypeDefinitionAccess().getDatatypeKeyword_1()); } - Datatype - { after(grammarAccess.getExternDatatypeDefinitionAccess().getDatatypeKeyword_1()); } + { before(grammarAccess.getDefaultAssertionAccess().getFULL_STOPTerminalRuleCall_3()); } + RULE_FULL_STOP + { after(grammarAccess.getDefaultAssertionAccess().getFULL_STOPTerminalRuleCall_3()); } ) ; finally { restoreStackSize(stackSize); } -rule__ExternDatatypeDefinition__Group__2 + +rule__DefaultAssertion__Group_2__0 @init { int stackSize = keepStackSize(); } : - rule__ExternDatatypeDefinition__Group__2__Impl - rule__ExternDatatypeDefinition__Group__3 + rule__DefaultAssertion__Group_2__0__Impl + rule__DefaultAssertion__Group_2__1 ; finally { restoreStackSize(stackSize); } -rule__ExternDatatypeDefinition__Group__2__Impl +rule__DefaultAssertion__Group_2__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getExternDatatypeDefinitionAccess().getNameAssignment_2()); } - (rule__ExternDatatypeDefinition__NameAssignment_2) - { after(grammarAccess.getExternDatatypeDefinitionAccess().getNameAssignment_2()); } + { before(grammarAccess.getDefaultAssertionAccess().getColonKeyword_2_0()); } + Colon + { after(grammarAccess.getDefaultAssertionAccess().getColonKeyword_2_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__ExternDatatypeDefinition__Group__3 +rule__DefaultAssertion__Group_2__1 @init { int stackSize = keepStackSize(); } : - rule__ExternDatatypeDefinition__Group__3__Impl + rule__DefaultAssertion__Group_2__1__Impl ; finally { restoreStackSize(stackSize); } -rule__ExternDatatypeDefinition__Group__3__Impl +rule__DefaultAssertion__Group_2__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getExternDatatypeDefinitionAccess().getGroup_3()); } - (rule__ExternDatatypeDefinition__Group_3__0) - { after(grammarAccess.getExternDatatypeDefinitionAccess().getGroup_3()); } + { before(grammarAccess.getDefaultAssertionAccess().getRangeAssignment_2_1()); } + (rule__DefaultAssertion__RangeAssignment_2_1) + { after(grammarAccess.getDefaultAssertionAccess().getRangeAssignment_2_1()); } ) ; finally { @@ -3861,134 +4167,134 @@ finally { } -rule__ExternDatatypeDefinition__Group_3__0 +rule__FunctionDefinition__Group__0 @init { int stackSize = keepStackSize(); } : - rule__ExternDatatypeDefinition__Group_3__0__Impl - rule__ExternDatatypeDefinition__Group_3__1 + rule__FunctionDefinition__Group__0__Impl + rule__FunctionDefinition__Group__1 ; finally { restoreStackSize(stackSize); } -rule__ExternDatatypeDefinition__Group_3__0__Impl +rule__FunctionDefinition__Group__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getExternDatatypeDefinitionAccess().getExtendsKeyword_3_0()); } - Extends - { after(grammarAccess.getExternDatatypeDefinitionAccess().getExtendsKeyword_3_0()); } + { before(grammarAccess.getFunctionDefinitionAccess().getResultTypeAssignment_0()); } + (rule__FunctionDefinition__ResultTypeAssignment_0) + { after(grammarAccess.getFunctionDefinitionAccess().getResultTypeAssignment_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__ExternDatatypeDefinition__Group_3__1 +rule__FunctionDefinition__Group__1 @init { int stackSize = keepStackSize(); } : - rule__ExternDatatypeDefinition__Group_3__1__Impl - rule__ExternDatatypeDefinition__Group_3__2 + rule__FunctionDefinition__Group__1__Impl + rule__FunctionDefinition__Group__2 ; finally { restoreStackSize(stackSize); } -rule__ExternDatatypeDefinition__Group_3__1__Impl +rule__FunctionDefinition__Group__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getExternDatatypeDefinitionAccess().getSupertypesAssignment_3_1()); } - (rule__ExternDatatypeDefinition__SupertypesAssignment_3_1) - { after(grammarAccess.getExternDatatypeDefinitionAccess().getSupertypesAssignment_3_1()); } + { before(grammarAccess.getFunctionDefinitionAccess().getHeadAssignment_1()); } + (rule__FunctionDefinition__HeadAssignment_1) + { after(grammarAccess.getFunctionDefinitionAccess().getHeadAssignment_1()); } ) ; finally { restoreStackSize(stackSize); } -rule__ExternDatatypeDefinition__Group_3__2 +rule__FunctionDefinition__Group__2 @init { int stackSize = keepStackSize(); } : - rule__ExternDatatypeDefinition__Group_3__2__Impl + rule__FunctionDefinition__Group__2__Impl + rule__FunctionDefinition__Group__3 ; finally { restoreStackSize(stackSize); } -rule__ExternDatatypeDefinition__Group_3__2__Impl +rule__FunctionDefinition__Group__2__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getExternDatatypeDefinitionAccess().getGroup_3_2()); } - (rule__ExternDatatypeDefinition__Group_3_2__0)* - { after(grammarAccess.getExternDatatypeDefinitionAccess().getGroup_3_2()); } + { before(grammarAccess.getFunctionDefinitionAccess().getColonEqualsSignKeyword_2()); } + ColonEqualsSign + { after(grammarAccess.getFunctionDefinitionAccess().getColonEqualsSignKeyword_2()); } ) ; finally { restoreStackSize(stackSize); } - -rule__ExternDatatypeDefinition__Group_3_2__0 +rule__FunctionDefinition__Group__3 @init { int stackSize = keepStackSize(); } : - rule__ExternDatatypeDefinition__Group_3_2__0__Impl - rule__ExternDatatypeDefinition__Group_3_2__1 + rule__FunctionDefinition__Group__3__Impl + rule__FunctionDefinition__Group__4 ; finally { restoreStackSize(stackSize); } -rule__ExternDatatypeDefinition__Group_3_2__0__Impl +rule__FunctionDefinition__Group__3__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getExternDatatypeDefinitionAccess().getCommaKeyword_3_2_0()); } - Comma - { after(grammarAccess.getExternDatatypeDefinitionAccess().getCommaKeyword_3_2_0()); } + { before(grammarAccess.getFunctionDefinitionAccess().getBodyAssignment_3()); } + (rule__FunctionDefinition__BodyAssignment_3) + { after(grammarAccess.getFunctionDefinitionAccess().getBodyAssignment_3()); } ) ; finally { restoreStackSize(stackSize); } -rule__ExternDatatypeDefinition__Group_3_2__1 +rule__FunctionDefinition__Group__4 @init { int stackSize = keepStackSize(); } : - rule__ExternDatatypeDefinition__Group_3_2__1__Impl + rule__FunctionDefinition__Group__4__Impl ; finally { restoreStackSize(stackSize); } -rule__ExternDatatypeDefinition__Group_3_2__1__Impl +rule__FunctionDefinition__Group__4__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getExternDatatypeDefinitionAccess().getSupertypesAssignment_3_2_1()); } - (rule__ExternDatatypeDefinition__SupertypesAssignment_3_2_1) - { after(grammarAccess.getExternDatatypeDefinitionAccess().getSupertypesAssignment_3_2_1()); } + { before(grammarAccess.getFunctionDefinitionAccess().getFULL_STOPTerminalRuleCall_4()); } + RULE_FULL_STOP + { after(grammarAccess.getFunctionDefinitionAccess().getFULL_STOPTerminalRuleCall_4()); } ) ; finally { @@ -3996,53 +4302,53 @@ finally { } -rule__Variable__Group__0 +rule__TypeReference__Group__0 @init { int stackSize = keepStackSize(); } : - rule__Variable__Group__0__Impl - rule__Variable__Group__1 + rule__TypeReference__Group__0__Impl + rule__TypeReference__Group__1 ; finally { restoreStackSize(stackSize); } -rule__Variable__Group__0__Impl +rule__TypeReference__Group__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getVariableAccess().getTypeAssignment_0()); } - (rule__Variable__TypeAssignment_0)? - { after(grammarAccess.getVariableAccess().getTypeAssignment_0()); } + { before(grammarAccess.getTypeReferenceAccess().getTypeAssignment_0()); } + (rule__TypeReference__TypeAssignment_0) + { after(grammarAccess.getTypeReferenceAccess().getTypeAssignment_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__Variable__Group__1 +rule__TypeReference__Group__1 @init { int stackSize = keepStackSize(); } : - rule__Variable__Group__1__Impl + rule__TypeReference__Group__1__Impl ; finally { restoreStackSize(stackSize); } -rule__Variable__Group__1__Impl +rule__TypeReference__Group__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getVariableAccess().getNameAssignment_1()); } - (rule__Variable__NameAssignment_1) - { after(grammarAccess.getVariableAccess().getNameAssignment_1()); } + { before(grammarAccess.getTypeReferenceAccess().getForceObjectTypeAssignment_1()); } + (rule__TypeReference__ForceObjectTypeAssignment_1)? + { after(grammarAccess.getTypeReferenceAccess().getForceObjectTypeAssignment_1()); } ) ; finally { @@ -4050,350 +4356,350 @@ finally { } -rule__IfElse__Group__0 +rule__Attribute__Group__0 @init { int stackSize = keepStackSize(); } : - rule__IfElse__Group__0__Impl - rule__IfElse__Group__1 + rule__Attribute__Group__0__Impl + rule__Attribute__Group__1 ; finally { restoreStackSize(stackSize); } -rule__IfElse__Group__0__Impl +rule__Attribute__Group__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getIfElseAccess().getIfKeyword_0()); } - If - { after(grammarAccess.getIfElseAccess().getIfKeyword_0()); } + { before(grammarAccess.getAttributeAccess().getKindAssignment_0()); } + (rule__Attribute__KindAssignment_0) + { after(grammarAccess.getAttributeAccess().getKindAssignment_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__IfElse__Group__1 +rule__Attribute__Group__1 @init { int stackSize = keepStackSize(); } : - rule__IfElse__Group__1__Impl - rule__IfElse__Group__2 + rule__Attribute__Group__1__Impl + rule__Attribute__Group__2 ; finally { restoreStackSize(stackSize); } -rule__IfElse__Group__1__Impl +rule__Attribute__Group__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getIfElseAccess().getConditionAssignment_1()); } - (rule__IfElse__ConditionAssignment_1) - { after(grammarAccess.getIfElseAccess().getConditionAssignment_1()); } + { before(grammarAccess.getAttributeAccess().getTargetAssignment_1()); } + (rule__Attribute__TargetAssignment_1) + { after(grammarAccess.getAttributeAccess().getTargetAssignment_1()); } ) ; finally { restoreStackSize(stackSize); } -rule__IfElse__Group__2 +rule__Attribute__Group__2 @init { int stackSize = keepStackSize(); } : - rule__IfElse__Group__2__Impl - rule__IfElse__Group__3 + rule__Attribute__Group__2__Impl ; finally { restoreStackSize(stackSize); } -rule__IfElse__Group__2__Impl +rule__Attribute__Group__2__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getIfElseAccess().getThenKeyword_2()); } - Then - { after(grammarAccess.getIfElseAccess().getThenKeyword_2()); } + { before(grammarAccess.getAttributeAccess().getFULL_STOPTerminalRuleCall_2()); } + RULE_FULL_STOP + { after(grammarAccess.getAttributeAccess().getFULL_STOPTerminalRuleCall_2()); } ) ; finally { restoreStackSize(stackSize); } -rule__IfElse__Group__3 + +rule__ExternPredicateDeclaration__Group__0 @init { int stackSize = keepStackSize(); } : - rule__IfElse__Group__3__Impl - rule__IfElse__Group__4 + rule__ExternPredicateDeclaration__Group__0__Impl + rule__ExternPredicateDeclaration__Group__1 ; finally { restoreStackSize(stackSize); } -rule__IfElse__Group__3__Impl +rule__ExternPredicateDeclaration__Group__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getIfElseAccess().getThenAssignment_3()); } - (rule__IfElse__ThenAssignment_3) - { after(grammarAccess.getIfElseAccess().getThenAssignment_3()); } + { before(grammarAccess.getExternPredicateDeclarationAccess().getExternKeyword_0()); } + Extern + { after(grammarAccess.getExternPredicateDeclarationAccess().getExternKeyword_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__IfElse__Group__4 +rule__ExternPredicateDeclaration__Group__1 @init { int stackSize = keepStackSize(); } : - rule__IfElse__Group__4__Impl - rule__IfElse__Group__5 + rule__ExternPredicateDeclaration__Group__1__Impl + rule__ExternPredicateDeclaration__Group__2 ; finally { restoreStackSize(stackSize); } -rule__IfElse__Group__4__Impl +rule__ExternPredicateDeclaration__Group__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getIfElseAccess().getElseKeyword_4()); } - Else - { after(grammarAccess.getIfElseAccess().getElseKeyword_4()); } + { before(grammarAccess.getExternPredicateDeclarationAccess().getUnorderedGroup_1()); } + (rule__ExternPredicateDeclaration__UnorderedGroup_1) + { after(grammarAccess.getExternPredicateDeclarationAccess().getUnorderedGroup_1()); } ) ; finally { restoreStackSize(stackSize); } -rule__IfElse__Group__5 +rule__ExternPredicateDeclaration__Group__2 @init { int stackSize = keepStackSize(); } : - rule__IfElse__Group__5__Impl + rule__ExternPredicateDeclaration__Group__2__Impl + rule__ExternPredicateDeclaration__Group__3 ; finally { restoreStackSize(stackSize); } -rule__IfElse__Group__5__Impl +rule__ExternPredicateDeclaration__Group__2__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getIfElseAccess().getElseAssignment_5()); } - (rule__IfElse__ElseAssignment_5) - { after(grammarAccess.getIfElseAccess().getElseAssignment_5()); } + { before(grammarAccess.getExternPredicateDeclarationAccess().getNameAssignment_2()); } + (rule__ExternPredicateDeclaration__NameAssignment_2) + { after(grammarAccess.getExternPredicateDeclarationAccess().getNameAssignment_2()); } ) ; finally { restoreStackSize(stackSize); } - -rule__Let__Group__0 +rule__ExternPredicateDeclaration__Group__3 @init { int stackSize = keepStackSize(); } : - rule__Let__Group__0__Impl - rule__Let__Group__1 + rule__ExternPredicateDeclaration__Group__3__Impl + rule__ExternPredicateDeclaration__Group__4 ; finally { restoreStackSize(stackSize); } -rule__Let__Group__0__Impl +rule__ExternPredicateDeclaration__Group__3__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getLetAccess().getLetKeyword_0()); } - Let - { after(grammarAccess.getLetAccess().getLetKeyword_0()); } + { before(grammarAccess.getExternPredicateDeclarationAccess().getArgumentListAssignment_3()); } + (rule__ExternPredicateDeclaration__ArgumentListAssignment_3) + { after(grammarAccess.getExternPredicateDeclarationAccess().getArgumentListAssignment_3()); } ) ; finally { restoreStackSize(stackSize); } -rule__Let__Group__1 +rule__ExternPredicateDeclaration__Group__4 @init { int stackSize = keepStackSize(); } : - rule__Let__Group__1__Impl - rule__Let__Group__2 + rule__ExternPredicateDeclaration__Group__4__Impl ; finally { restoreStackSize(stackSize); } -rule__Let__Group__1__Impl +rule__ExternPredicateDeclaration__Group__4__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getLetAccess().getBindingsAssignment_1()); } - (rule__Let__BindingsAssignment_1) - { after(grammarAccess.getLetAccess().getBindingsAssignment_1()); } + { before(grammarAccess.getExternPredicateDeclarationAccess().getFULL_STOPTerminalRuleCall_4()); } + RULE_FULL_STOP + { after(grammarAccess.getExternPredicateDeclarationAccess().getFULL_STOPTerminalRuleCall_4()); } ) ; finally { restoreStackSize(stackSize); } -rule__Let__Group__2 + +rule__ExternFunctionDeclaration__Group__0 @init { int stackSize = keepStackSize(); } : - rule__Let__Group__2__Impl - rule__Let__Group__3 + rule__ExternFunctionDeclaration__Group__0__Impl + rule__ExternFunctionDeclaration__Group__1 ; finally { restoreStackSize(stackSize); } -rule__Let__Group__2__Impl +rule__ExternFunctionDeclaration__Group__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getLetAccess().getGroup_2()); } - (rule__Let__Group_2__0)* - { after(grammarAccess.getLetAccess().getGroup_2()); } + { before(grammarAccess.getExternFunctionDeclarationAccess().getExternKeyword_0()); } + Extern + { after(grammarAccess.getExternFunctionDeclarationAccess().getExternKeyword_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__Let__Group__3 +rule__ExternFunctionDeclaration__Group__1 @init { int stackSize = keepStackSize(); } : - rule__Let__Group__3__Impl - rule__Let__Group__4 + rule__ExternFunctionDeclaration__Group__1__Impl + rule__ExternFunctionDeclaration__Group__2 ; finally { restoreStackSize(stackSize); } -rule__Let__Group__3__Impl +rule__ExternFunctionDeclaration__Group__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getLetAccess().getInKeyword_3()); } - In - { after(grammarAccess.getLetAccess().getInKeyword_3()); } + { before(grammarAccess.getExternFunctionDeclarationAccess().getResultTypeAssignment_1()); } + (rule__ExternFunctionDeclaration__ResultTypeAssignment_1) + { after(grammarAccess.getExternFunctionDeclarationAccess().getResultTypeAssignment_1()); } ) ; finally { restoreStackSize(stackSize); } -rule__Let__Group__4 +rule__ExternFunctionDeclaration__Group__2 @init { int stackSize = keepStackSize(); } : - rule__Let__Group__4__Impl + rule__ExternFunctionDeclaration__Group__2__Impl + rule__ExternFunctionDeclaration__Group__3 ; finally { restoreStackSize(stackSize); } -rule__Let__Group__4__Impl +rule__ExternFunctionDeclaration__Group__2__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getLetAccess().getBodyAssignment_4()); } - (rule__Let__BodyAssignment_4) - { after(grammarAccess.getLetAccess().getBodyAssignment_4()); } + { before(grammarAccess.getExternFunctionDeclarationAccess().getNameAssignment_2()); } + (rule__ExternFunctionDeclaration__NameAssignment_2) + { after(grammarAccess.getExternFunctionDeclarationAccess().getNameAssignment_2()); } ) ; finally { restoreStackSize(stackSize); } - -rule__Let__Group_2__0 +rule__ExternFunctionDeclaration__Group__3 @init { int stackSize = keepStackSize(); } : - rule__Let__Group_2__0__Impl - rule__Let__Group_2__1 + rule__ExternFunctionDeclaration__Group__3__Impl + rule__ExternFunctionDeclaration__Group__4 ; finally { restoreStackSize(stackSize); } -rule__Let__Group_2__0__Impl +rule__ExternFunctionDeclaration__Group__3__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getLetAccess().getCommaKeyword_2_0()); } - Comma - { after(grammarAccess.getLetAccess().getCommaKeyword_2_0()); } + { before(grammarAccess.getExternFunctionDeclarationAccess().getArgumentListAssignment_3()); } + (rule__ExternFunctionDeclaration__ArgumentListAssignment_3) + { after(grammarAccess.getExternFunctionDeclarationAccess().getArgumentListAssignment_3()); } ) ; finally { restoreStackSize(stackSize); } -rule__Let__Group_2__1 +rule__ExternFunctionDeclaration__Group__4 @init { int stackSize = keepStackSize(); } : - rule__Let__Group_2__1__Impl + rule__ExternFunctionDeclaration__Group__4__Impl ; finally { restoreStackSize(stackSize); } -rule__Let__Group_2__1__Impl +rule__ExternFunctionDeclaration__Group__4__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getLetAccess().getBindingsAssignment_2_1()); } - (rule__Let__BindingsAssignment_2_1) - { after(grammarAccess.getLetAccess().getBindingsAssignment_2_1()); } + { before(grammarAccess.getExternFunctionDeclarationAccess().getFULL_STOPTerminalRuleCall_4()); } + RULE_FULL_STOP + { after(grammarAccess.getExternFunctionDeclarationAccess().getFULL_STOPTerminalRuleCall_4()); } ) ; finally { @@ -4401,215 +4707,215 @@ finally { } -rule__LetBinding__Group__0 +rule__ExternAggregationOperatorDeclaration__Group__0 @init { int stackSize = keepStackSize(); } : - rule__LetBinding__Group__0__Impl - rule__LetBinding__Group__1 + rule__ExternAggregationOperatorDeclaration__Group__0__Impl + rule__ExternAggregationOperatorDeclaration__Group__1 ; finally { restoreStackSize(stackSize); } -rule__LetBinding__Group__0__Impl +rule__ExternAggregationOperatorDeclaration__Group__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getLetBindingAccess().getVariableAssignment_0()); } - (rule__LetBinding__VariableAssignment_0) - { after(grammarAccess.getLetBindingAccess().getVariableAssignment_0()); } + { before(grammarAccess.getExternAggregationOperatorDeclarationAccess().getExternKeyword_0()); } + Extern + { after(grammarAccess.getExternAggregationOperatorDeclarationAccess().getExternKeyword_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__LetBinding__Group__1 +rule__ExternAggregationOperatorDeclaration__Group__1 @init { int stackSize = keepStackSize(); } : - rule__LetBinding__Group__1__Impl - rule__LetBinding__Group__2 + rule__ExternAggregationOperatorDeclaration__Group__1__Impl + rule__ExternAggregationOperatorDeclaration__Group__2 ; finally { restoreStackSize(stackSize); } -rule__LetBinding__Group__1__Impl +rule__ExternAggregationOperatorDeclaration__Group__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getLetBindingAccess().getEqualsSignKeyword_1()); } - EqualsSign - { after(grammarAccess.getLetBindingAccess().getEqualsSignKeyword_1()); } + { before(grammarAccess.getExternAggregationOperatorDeclarationAccess().getResultTypeAssignment_1()); } + (rule__ExternAggregationOperatorDeclaration__ResultTypeAssignment_1) + { after(grammarAccess.getExternAggregationOperatorDeclarationAccess().getResultTypeAssignment_1()); } ) ; finally { restoreStackSize(stackSize); } -rule__LetBinding__Group__2 +rule__ExternAggregationOperatorDeclaration__Group__2 @init { int stackSize = keepStackSize(); } : - rule__LetBinding__Group__2__Impl + rule__ExternAggregationOperatorDeclaration__Group__2__Impl + rule__ExternAggregationOperatorDeclaration__Group__3 ; finally { restoreStackSize(stackSize); } -rule__LetBinding__Group__2__Impl +rule__ExternAggregationOperatorDeclaration__Group__2__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getLetBindingAccess().getValueAssignment_2()); } - (rule__LetBinding__ValueAssignment_2) - { after(grammarAccess.getLetBindingAccess().getValueAssignment_2()); } + { before(grammarAccess.getExternAggregationOperatorDeclarationAccess().getNameAssignment_2()); } + (rule__ExternAggregationOperatorDeclaration__NameAssignment_2) + { after(grammarAccess.getExternAggregationOperatorDeclarationAccess().getNameAssignment_2()); } ) ; finally { restoreStackSize(stackSize); } - -rule__ImplicationExpression__Group__0 +rule__ExternAggregationOperatorDeclaration__Group__3 @init { int stackSize = keepStackSize(); } : - rule__ImplicationExpression__Group__0__Impl - rule__ImplicationExpression__Group__1 + rule__ExternAggregationOperatorDeclaration__Group__3__Impl + rule__ExternAggregationOperatorDeclaration__Group__4 ; finally { restoreStackSize(stackSize); } -rule__ImplicationExpression__Group__0__Impl +rule__ExternAggregationOperatorDeclaration__Group__3__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getImplicationExpressionAccess().getDisjunctiveExpressionParserRuleCall_0()); } - ruleDisjunctiveExpression - { after(grammarAccess.getImplicationExpressionAccess().getDisjunctiveExpressionParserRuleCall_0()); } + { before(grammarAccess.getExternAggregationOperatorDeclarationAccess().getLeftCurlyBracketKeyword_3()); } + LeftCurlyBracket + { after(grammarAccess.getExternAggregationOperatorDeclarationAccess().getLeftCurlyBracketKeyword_3()); } ) ; finally { restoreStackSize(stackSize); } -rule__ImplicationExpression__Group__1 +rule__ExternAggregationOperatorDeclaration__Group__4 @init { int stackSize = keepStackSize(); } : - rule__ImplicationExpression__Group__1__Impl + rule__ExternAggregationOperatorDeclaration__Group__4__Impl + rule__ExternAggregationOperatorDeclaration__Group__5 ; finally { restoreStackSize(stackSize); } -rule__ImplicationExpression__Group__1__Impl +rule__ExternAggregationOperatorDeclaration__Group__4__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getImplicationExpressionAccess().getGroup_1()); } - (rule__ImplicationExpression__Group_1__0)? - { after(grammarAccess.getImplicationExpressionAccess().getGroup_1()); } + { before(grammarAccess.getExternAggregationOperatorDeclarationAccess().getArgumentTypeAssignment_4()); } + (rule__ExternAggregationOperatorDeclaration__ArgumentTypeAssignment_4) + { after(grammarAccess.getExternAggregationOperatorDeclarationAccess().getArgumentTypeAssignment_4()); } ) ; finally { restoreStackSize(stackSize); } - -rule__ImplicationExpression__Group_1__0 +rule__ExternAggregationOperatorDeclaration__Group__5 @init { int stackSize = keepStackSize(); } : - rule__ImplicationExpression__Group_1__0__Impl - rule__ImplicationExpression__Group_1__1 + rule__ExternAggregationOperatorDeclaration__Group__5__Impl + rule__ExternAggregationOperatorDeclaration__Group__6 ; finally { restoreStackSize(stackSize); } -rule__ImplicationExpression__Group_1__0__Impl +rule__ExternAggregationOperatorDeclaration__Group__5__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getImplicationExpressionAccess().getBinaryExpressionLeftAction_1_0()); } - () - { after(grammarAccess.getImplicationExpressionAccess().getBinaryExpressionLeftAction_1_0()); } + { before(grammarAccess.getExternAggregationOperatorDeclarationAccess().getFullStopFullStopFullStopKeyword_5()); } + FullStopFullStopFullStop + { after(grammarAccess.getExternAggregationOperatorDeclarationAccess().getFullStopFullStopFullStopKeyword_5()); } ) ; finally { restoreStackSize(stackSize); } -rule__ImplicationExpression__Group_1__1 +rule__ExternAggregationOperatorDeclaration__Group__6 @init { int stackSize = keepStackSize(); } : - rule__ImplicationExpression__Group_1__1__Impl - rule__ImplicationExpression__Group_1__2 + rule__ExternAggregationOperatorDeclaration__Group__6__Impl + rule__ExternAggregationOperatorDeclaration__Group__7 ; finally { restoreStackSize(stackSize); } -rule__ImplicationExpression__Group_1__1__Impl +rule__ExternAggregationOperatorDeclaration__Group__6__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getImplicationExpressionAccess().getOpAssignment_1_1()); } - (rule__ImplicationExpression__OpAssignment_1_1) - { after(grammarAccess.getImplicationExpressionAccess().getOpAssignment_1_1()); } + { before(grammarAccess.getExternAggregationOperatorDeclarationAccess().getRightCurlyBracketKeyword_6()); } + RightCurlyBracket + { after(grammarAccess.getExternAggregationOperatorDeclarationAccess().getRightCurlyBracketKeyword_6()); } ) ; finally { restoreStackSize(stackSize); } -rule__ImplicationExpression__Group_1__2 +rule__ExternAggregationOperatorDeclaration__Group__7 @init { int stackSize = keepStackSize(); } : - rule__ImplicationExpression__Group_1__2__Impl + rule__ExternAggregationOperatorDeclaration__Group__7__Impl ; finally { restoreStackSize(stackSize); } -rule__ImplicationExpression__Group_1__2__Impl +rule__ExternAggregationOperatorDeclaration__Group__7__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getImplicationExpressionAccess().getRightAssignment_1_2()); } - (rule__ImplicationExpression__RightAssignment_1_2) - { after(grammarAccess.getImplicationExpressionAccess().getRightAssignment_1_2()); } + { before(grammarAccess.getExternAggregationOperatorDeclarationAccess().getFULL_STOPTerminalRuleCall_7()); } + RULE_FULL_STOP + { after(grammarAccess.getExternAggregationOperatorDeclarationAccess().getFULL_STOPTerminalRuleCall_7()); } ) ; finally { @@ -4617,114 +4923,107 @@ finally { } -rule__DisjunctiveExpression__Group__0 +rule__ExternDatatypeDeclaration__Group__0 @init { int stackSize = keepStackSize(); } : - rule__DisjunctiveExpression__Group__0__Impl - rule__DisjunctiveExpression__Group__1 + rule__ExternDatatypeDeclaration__Group__0__Impl + rule__ExternDatatypeDeclaration__Group__1 ; finally { restoreStackSize(stackSize); } -rule__DisjunctiveExpression__Group__0__Impl +rule__ExternDatatypeDeclaration__Group__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getDisjunctiveExpressionAccess().getConjunctiveExpressionParserRuleCall_0()); } - ruleConjunctiveExpression - { after(grammarAccess.getDisjunctiveExpressionAccess().getConjunctiveExpressionParserRuleCall_0()); } + { before(grammarAccess.getExternDatatypeDeclarationAccess().getExternKeyword_0()); } + Extern + { after(grammarAccess.getExternDatatypeDeclarationAccess().getExternKeyword_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__DisjunctiveExpression__Group__1 +rule__ExternDatatypeDeclaration__Group__1 @init { int stackSize = keepStackSize(); } : - rule__DisjunctiveExpression__Group__1__Impl + rule__ExternDatatypeDeclaration__Group__1__Impl + rule__ExternDatatypeDeclaration__Group__2 ; finally { restoreStackSize(stackSize); } -rule__DisjunctiveExpression__Group__1__Impl +rule__ExternDatatypeDeclaration__Group__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getDisjunctiveExpressionAccess().getAlternatives_1()); } - (rule__DisjunctiveExpression__Alternatives_1)? - { after(grammarAccess.getDisjunctiveExpressionAccess().getAlternatives_1()); } + { before(grammarAccess.getExternDatatypeDeclarationAccess().getDatatypeKeyword_1()); } + Datatype + { after(grammarAccess.getExternDatatypeDeclarationAccess().getDatatypeKeyword_1()); } ) ; finally { restoreStackSize(stackSize); } - -rule__DisjunctiveExpression__Group_1_0__0 +rule__ExternDatatypeDeclaration__Group__2 @init { int stackSize = keepStackSize(); } : - rule__DisjunctiveExpression__Group_1_0__0__Impl - rule__DisjunctiveExpression__Group_1_0__1 + rule__ExternDatatypeDeclaration__Group__2__Impl + rule__ExternDatatypeDeclaration__Group__3 ; finally { restoreStackSize(stackSize); } -rule__DisjunctiveExpression__Group_1_0__0__Impl +rule__ExternDatatypeDeclaration__Group__2__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getDisjunctiveExpressionAccess().getDisjunctionChildrenAction_1_0_0()); } - () - { after(grammarAccess.getDisjunctiveExpressionAccess().getDisjunctionChildrenAction_1_0_0()); } + { before(grammarAccess.getExternDatatypeDeclarationAccess().getNameAssignment_2()); } + (rule__ExternDatatypeDeclaration__NameAssignment_2) + { after(grammarAccess.getExternDatatypeDeclarationAccess().getNameAssignment_2()); } ) ; finally { restoreStackSize(stackSize); } -rule__DisjunctiveExpression__Group_1_0__1 +rule__ExternDatatypeDeclaration__Group__3 @init { int stackSize = keepStackSize(); } : - rule__DisjunctiveExpression__Group_1_0__1__Impl + rule__ExternDatatypeDeclaration__Group__3__Impl ; finally { restoreStackSize(stackSize); } -rule__DisjunctiveExpression__Group_1_0__1__Impl +rule__ExternDatatypeDeclaration__Group__3__Impl @init { int stackSize = keepStackSize(); } : ( - ( - { before(grammarAccess.getDisjunctiveExpressionAccess().getGroup_1_0_1()); } - (rule__DisjunctiveExpression__Group_1_0_1__0) - { after(grammarAccess.getDisjunctiveExpressionAccess().getGroup_1_0_1()); } - ) - ( - { before(grammarAccess.getDisjunctiveExpressionAccess().getGroup_1_0_1()); } - (rule__DisjunctiveExpression__Group_1_0_1__0)* - { after(grammarAccess.getDisjunctiveExpressionAccess().getGroup_1_0_1()); } - ) + { before(grammarAccess.getExternDatatypeDeclarationAccess().getFULL_STOPTerminalRuleCall_3()); } + RULE_FULL_STOP + { after(grammarAccess.getExternDatatypeDeclarationAccess().getFULL_STOPTerminalRuleCall_3()); } ) ; finally { @@ -4732,53 +5031,53 @@ finally { } -rule__DisjunctiveExpression__Group_1_0_1__0 +rule__Expression__Group_2__0 @init { int stackSize = keepStackSize(); } : - rule__DisjunctiveExpression__Group_1_0_1__0__Impl - rule__DisjunctiveExpression__Group_1_0_1__1 + rule__Expression__Group_2__0__Impl + rule__Expression__Group_2__1 ; finally { restoreStackSize(stackSize); } -rule__DisjunctiveExpression__Group_1_0_1__0__Impl +rule__Expression__Group_2__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getDisjunctiveExpressionAccess().getSemicolonKeyword_1_0_1_0()); } - Semicolon - { after(grammarAccess.getDisjunctiveExpressionAccess().getSemicolonKeyword_1_0_1_0()); } + { before(grammarAccess.getExpressionAccess().getDisjunctiveExpressionParserRuleCall_2_0()); } + ruleDisjunctiveExpression + { after(grammarAccess.getExpressionAccess().getDisjunctiveExpressionParserRuleCall_2_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__DisjunctiveExpression__Group_1_0_1__1 +rule__Expression__Group_2__1 @init { int stackSize = keepStackSize(); } : - rule__DisjunctiveExpression__Group_1_0_1__1__Impl + rule__Expression__Group_2__1__Impl ; finally { restoreStackSize(stackSize); } -rule__DisjunctiveExpression__Group_1_0_1__1__Impl +rule__Expression__Group_2__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getDisjunctiveExpressionAccess().getChildrenAssignment_1_0_1_1()); } - (rule__DisjunctiveExpression__ChildrenAssignment_1_0_1_1) - { after(grammarAccess.getDisjunctiveExpressionAccess().getChildrenAssignment_1_0_1_1()); } + { before(grammarAccess.getExpressionAccess().getGroup_2_1()); } + (rule__Expression__Group_2_1__0)? + { after(grammarAccess.getExpressionAccess().getGroup_2_1()); } ) ; finally { @@ -4786,384 +5085,377 @@ finally { } -rule__DisjunctiveExpression__Group_1_1__0 +rule__Expression__Group_2_1__0 @init { int stackSize = keepStackSize(); } : - rule__DisjunctiveExpression__Group_1_1__0__Impl - rule__DisjunctiveExpression__Group_1_1__1 + rule__Expression__Group_2_1__0__Impl + rule__Expression__Group_2_1__1 ; finally { restoreStackSize(stackSize); } -rule__DisjunctiveExpression__Group_1_1__0__Impl +rule__Expression__Group_2_1__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getDisjunctiveExpressionAccess().getCaseConditionAction_1_1_0()); } + { before(grammarAccess.getExpressionAccess().getForallConditionAction_2_1_0()); } () - { after(grammarAccess.getDisjunctiveExpressionAccess().getCaseConditionAction_1_1_0()); } + { after(grammarAccess.getExpressionAccess().getForallConditionAction_2_1_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__DisjunctiveExpression__Group_1_1__1 +rule__Expression__Group_2_1__1 @init { int stackSize = keepStackSize(); } : - rule__DisjunctiveExpression__Group_1_1__1__Impl - rule__DisjunctiveExpression__Group_1_1__2 + rule__Expression__Group_2_1__1__Impl + rule__Expression__Group_2_1__2 ; finally { restoreStackSize(stackSize); } -rule__DisjunctiveExpression__Group_1_1__1__Impl +rule__Expression__Group_2_1__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getDisjunctiveExpressionAccess().getHyphenMinusGreaterThanSignKeyword_1_1_1()); } - HyphenMinusGreaterThanSign - { after(grammarAccess.getDisjunctiveExpressionAccess().getHyphenMinusGreaterThanSignKeyword_1_1_1()); } + { before(grammarAccess.getExpressionAccess().getEqualsSignGreaterThanSignKeyword_2_1_1()); } + EqualsSignGreaterThanSign + { after(grammarAccess.getExpressionAccess().getEqualsSignGreaterThanSignKeyword_2_1_1()); } ) ; finally { restoreStackSize(stackSize); } -rule__DisjunctiveExpression__Group_1_1__2 +rule__Expression__Group_2_1__2 @init { int stackSize = keepStackSize(); } : - rule__DisjunctiveExpression__Group_1_1__2__Impl - rule__DisjunctiveExpression__Group_1_1__3 + rule__Expression__Group_2_1__2__Impl ; finally { restoreStackSize(stackSize); } -rule__DisjunctiveExpression__Group_1_1__2__Impl +rule__Expression__Group_2_1__2__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getDisjunctiveExpressionAccess().getBodyAssignment_1_1_2()); } - (rule__DisjunctiveExpression__BodyAssignment_1_1_2) - { after(grammarAccess.getDisjunctiveExpressionAccess().getBodyAssignment_1_1_2()); } + { before(grammarAccess.getExpressionAccess().getBodyAssignment_2_1_2()); } + (rule__Expression__BodyAssignment_2_1_2) + { after(grammarAccess.getExpressionAccess().getBodyAssignment_2_1_2()); } ) ; finally { restoreStackSize(stackSize); } -rule__DisjunctiveExpression__Group_1_1__3 + +rule__ConditionalExpression__Group__0 @init { int stackSize = keepStackSize(); } : - rule__DisjunctiveExpression__Group_1_1__3__Impl - rule__DisjunctiveExpression__Group_1_1__4 + rule__ConditionalExpression__Group__0__Impl + rule__ConditionalExpression__Group__1 ; finally { restoreStackSize(stackSize); } -rule__DisjunctiveExpression__Group_1_1__3__Impl +rule__ConditionalExpression__Group__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getDisjunctiveExpressionAccess().getSwitchCasesAction_1_1_3()); } - () - { after(grammarAccess.getDisjunctiveExpressionAccess().getSwitchCasesAction_1_1_3()); } + { before(grammarAccess.getConditionalExpressionAccess().getIfKeyword_0()); } + If + { after(grammarAccess.getConditionalExpressionAccess().getIfKeyword_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__DisjunctiveExpression__Group_1_1__4 +rule__ConditionalExpression__Group__1 @init { int stackSize = keepStackSize(); } : - rule__DisjunctiveExpression__Group_1_1__4__Impl + rule__ConditionalExpression__Group__1__Impl + rule__ConditionalExpression__Group__2 ; finally { restoreStackSize(stackSize); } -rule__DisjunctiveExpression__Group_1_1__4__Impl +rule__ConditionalExpression__Group__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getDisjunctiveExpressionAccess().getGroup_1_1_4()); } - (rule__DisjunctiveExpression__Group_1_1_4__0)* - { after(grammarAccess.getDisjunctiveExpressionAccess().getGroup_1_1_4()); } + { before(grammarAccess.getConditionalExpressionAccess().getConditionAssignment_1()); } + (rule__ConditionalExpression__ConditionAssignment_1) + { after(grammarAccess.getConditionalExpressionAccess().getConditionAssignment_1()); } ) ; finally { restoreStackSize(stackSize); } - -rule__DisjunctiveExpression__Group_1_1_4__0 +rule__ConditionalExpression__Group__2 @init { int stackSize = keepStackSize(); } : - rule__DisjunctiveExpression__Group_1_1_4__0__Impl - rule__DisjunctiveExpression__Group_1_1_4__1 + rule__ConditionalExpression__Group__2__Impl + rule__ConditionalExpression__Group__3 ; finally { restoreStackSize(stackSize); } -rule__DisjunctiveExpression__Group_1_1_4__0__Impl +rule__ConditionalExpression__Group__2__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getDisjunctiveExpressionAccess().getSemicolonKeyword_1_1_4_0()); } - Semicolon - { after(grammarAccess.getDisjunctiveExpressionAccess().getSemicolonKeyword_1_1_4_0()); } + { before(grammarAccess.getConditionalExpressionAccess().getThenKeyword_2()); } + Then + { after(grammarAccess.getConditionalExpressionAccess().getThenKeyword_2()); } ) ; finally { restoreStackSize(stackSize); } -rule__DisjunctiveExpression__Group_1_1_4__1 +rule__ConditionalExpression__Group__3 @init { int stackSize = keepStackSize(); } : - rule__DisjunctiveExpression__Group_1_1_4__1__Impl + rule__ConditionalExpression__Group__3__Impl + rule__ConditionalExpression__Group__4 ; finally { restoreStackSize(stackSize); } -rule__DisjunctiveExpression__Group_1_1_4__1__Impl +rule__ConditionalExpression__Group__3__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getDisjunctiveExpressionAccess().getCasesAssignment_1_1_4_1()); } - (rule__DisjunctiveExpression__CasesAssignment_1_1_4_1) - { after(grammarAccess.getDisjunctiveExpressionAccess().getCasesAssignment_1_1_4_1()); } + { before(grammarAccess.getConditionalExpressionAccess().getThenAssignment_3()); } + (rule__ConditionalExpression__ThenAssignment_3) + { after(grammarAccess.getConditionalExpressionAccess().getThenAssignment_3()); } ) ; finally { restoreStackSize(stackSize); } - -rule__Case__Group__0 +rule__ConditionalExpression__Group__4 @init { int stackSize = keepStackSize(); } : - rule__Case__Group__0__Impl - rule__Case__Group__1 + rule__ConditionalExpression__Group__4__Impl + rule__ConditionalExpression__Group__5 ; finally { restoreStackSize(stackSize); } -rule__Case__Group__0__Impl +rule__ConditionalExpression__Group__4__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getCaseAccess().getConditionAssignment_0()); } - (rule__Case__ConditionAssignment_0) - { after(grammarAccess.getCaseAccess().getConditionAssignment_0()); } + { before(grammarAccess.getConditionalExpressionAccess().getElseKeyword_4()); } + Else + { after(grammarAccess.getConditionalExpressionAccess().getElseKeyword_4()); } ) ; finally { restoreStackSize(stackSize); } -rule__Case__Group__1 +rule__ConditionalExpression__Group__5 @init { int stackSize = keepStackSize(); } : - rule__Case__Group__1__Impl - rule__Case__Group__2 + rule__ConditionalExpression__Group__5__Impl ; finally { restoreStackSize(stackSize); } -rule__Case__Group__1__Impl +rule__ConditionalExpression__Group__5__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getCaseAccess().getHyphenMinusGreaterThanSignKeyword_1()); } - HyphenMinusGreaterThanSign - { after(grammarAccess.getCaseAccess().getHyphenMinusGreaterThanSignKeyword_1()); } + { before(grammarAccess.getConditionalExpressionAccess().getElseAssignment_5()); } + (rule__ConditionalExpression__ElseAssignment_5) + { after(grammarAccess.getConditionalExpressionAccess().getElseAssignment_5()); } ) ; finally { restoreStackSize(stackSize); } -rule__Case__Group__2 + +rule__LetExpression__Group__0 @init { int stackSize = keepStackSize(); } : - rule__Case__Group__2__Impl + rule__LetExpression__Group__0__Impl + rule__LetExpression__Group__1 ; finally { restoreStackSize(stackSize); } -rule__Case__Group__2__Impl +rule__LetExpression__Group__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getCaseAccess().getBodyAssignment_2()); } - (rule__Case__BodyAssignment_2) - { after(grammarAccess.getCaseAccess().getBodyAssignment_2()); } + { before(grammarAccess.getLetExpressionAccess().getLetKeyword_0()); } + Let + { after(grammarAccess.getLetExpressionAccess().getLetKeyword_0()); } ) ; finally { restoreStackSize(stackSize); } - -rule__ConjunctiveExpression__Group__0 +rule__LetExpression__Group__1 @init { int stackSize = keepStackSize(); } : - rule__ConjunctiveExpression__Group__0__Impl - rule__ConjunctiveExpression__Group__1 + rule__LetExpression__Group__1__Impl + rule__LetExpression__Group__2 ; finally { restoreStackSize(stackSize); } -rule__ConjunctiveExpression__Group__0__Impl +rule__LetExpression__Group__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getConjunctiveExpressionAccess().getComparisonExpressionParserRuleCall_0()); } - ruleComparisonExpression - { after(grammarAccess.getConjunctiveExpressionAccess().getComparisonExpressionParserRuleCall_0()); } + { before(grammarAccess.getLetExpressionAccess().getBindingsAssignment_1()); } + (rule__LetExpression__BindingsAssignment_1) + { after(grammarAccess.getLetExpressionAccess().getBindingsAssignment_1()); } ) ; finally { restoreStackSize(stackSize); } -rule__ConjunctiveExpression__Group__1 +rule__LetExpression__Group__2 @init { int stackSize = keepStackSize(); } : - rule__ConjunctiveExpression__Group__1__Impl + rule__LetExpression__Group__2__Impl + rule__LetExpression__Group__3 ; finally { restoreStackSize(stackSize); } -rule__ConjunctiveExpression__Group__1__Impl +rule__LetExpression__Group__2__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getConjunctiveExpressionAccess().getGroup_1()); } - (rule__ConjunctiveExpression__Group_1__0)? - { after(grammarAccess.getConjunctiveExpressionAccess().getGroup_1()); } + { before(grammarAccess.getLetExpressionAccess().getGroup_2()); } + (rule__LetExpression__Group_2__0)* + { after(grammarAccess.getLetExpressionAccess().getGroup_2()); } ) ; finally { restoreStackSize(stackSize); } - -rule__ConjunctiveExpression__Group_1__0 +rule__LetExpression__Group__3 @init { int stackSize = keepStackSize(); } : - rule__ConjunctiveExpression__Group_1__0__Impl - rule__ConjunctiveExpression__Group_1__1 + rule__LetExpression__Group__3__Impl + rule__LetExpression__Group__4 ; finally { restoreStackSize(stackSize); } -rule__ConjunctiveExpression__Group_1__0__Impl +rule__LetExpression__Group__3__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getConjunctiveExpressionAccess().getConjunctionChildrenAction_1_0()); } - () - { after(grammarAccess.getConjunctiveExpressionAccess().getConjunctionChildrenAction_1_0()); } + { before(grammarAccess.getLetExpressionAccess().getInKeyword_3()); } + In + { after(grammarAccess.getLetExpressionAccess().getInKeyword_3()); } ) ; finally { restoreStackSize(stackSize); } -rule__ConjunctiveExpression__Group_1__1 +rule__LetExpression__Group__4 @init { int stackSize = keepStackSize(); } : - rule__ConjunctiveExpression__Group_1__1__Impl + rule__LetExpression__Group__4__Impl ; finally { restoreStackSize(stackSize); } -rule__ConjunctiveExpression__Group_1__1__Impl +rule__LetExpression__Group__4__Impl @init { int stackSize = keepStackSize(); } : ( - ( - { before(grammarAccess.getConjunctiveExpressionAccess().getGroup_1_1()); } - (rule__ConjunctiveExpression__Group_1_1__0) - { after(grammarAccess.getConjunctiveExpressionAccess().getGroup_1_1()); } - ) - ( - { before(grammarAccess.getConjunctiveExpressionAccess().getGroup_1_1()); } - (rule__ConjunctiveExpression__Group_1_1__0)* - { after(grammarAccess.getConjunctiveExpressionAccess().getGroup_1_1()); } - ) + { before(grammarAccess.getLetExpressionAccess().getBodyAssignment_4()); } + (rule__LetExpression__BodyAssignment_4) + { after(grammarAccess.getLetExpressionAccess().getBodyAssignment_4()); } ) ; finally { @@ -5171,53 +5463,53 @@ finally { } -rule__ConjunctiveExpression__Group_1_1__0 +rule__LetExpression__Group_2__0 @init { int stackSize = keepStackSize(); } : - rule__ConjunctiveExpression__Group_1_1__0__Impl - rule__ConjunctiveExpression__Group_1_1__1 + rule__LetExpression__Group_2__0__Impl + rule__LetExpression__Group_2__1 ; finally { restoreStackSize(stackSize); } -rule__ConjunctiveExpression__Group_1_1__0__Impl +rule__LetExpression__Group_2__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getConjunctiveExpressionAccess().getCommaKeyword_1_1_0()); } + { before(grammarAccess.getLetExpressionAccess().getCommaKeyword_2_0()); } Comma - { after(grammarAccess.getConjunctiveExpressionAccess().getCommaKeyword_1_1_0()); } + { after(grammarAccess.getLetExpressionAccess().getCommaKeyword_2_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__ConjunctiveExpression__Group_1_1__1 +rule__LetExpression__Group_2__1 @init { int stackSize = keepStackSize(); } : - rule__ConjunctiveExpression__Group_1_1__1__Impl + rule__LetExpression__Group_2__1__Impl ; finally { restoreStackSize(stackSize); } -rule__ConjunctiveExpression__Group_1_1__1__Impl +rule__LetExpression__Group_2__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getConjunctiveExpressionAccess().getChildrenAssignment_1_1_1()); } - (rule__ConjunctiveExpression__ChildrenAssignment_1_1_1) - { after(grammarAccess.getConjunctiveExpressionAccess().getChildrenAssignment_1_1_1()); } + { before(grammarAccess.getLetExpressionAccess().getBindingsAssignment_2_1()); } + (rule__LetExpression__BindingsAssignment_2_1) + { after(grammarAccess.getLetExpressionAccess().getBindingsAssignment_2_1()); } ) ; finally { @@ -5225,269 +5517,276 @@ finally { } -rule__ComparisonExpression__Group__0 +rule__LetBinding__Group__0 @init { int stackSize = keepStackSize(); } : - rule__ComparisonExpression__Group__0__Impl - rule__ComparisonExpression__Group__1 + rule__LetBinding__Group__0__Impl + rule__LetBinding__Group__1 ; finally { restoreStackSize(stackSize); } -rule__ComparisonExpression__Group__0__Impl +rule__LetBinding__Group__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getComparisonExpressionAccess().getAdditiveExpressionParserRuleCall_0()); } - ruleAdditiveExpression - { after(grammarAccess.getComparisonExpressionAccess().getAdditiveExpressionParserRuleCall_0()); } + { before(grammarAccess.getLetBindingAccess().getTypeAssignment_0()); } + (rule__LetBinding__TypeAssignment_0)? + { after(grammarAccess.getLetBindingAccess().getTypeAssignment_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__ComparisonExpression__Group__1 +rule__LetBinding__Group__1 @init { int stackSize = keepStackSize(); } : - rule__ComparisonExpression__Group__1__Impl + rule__LetBinding__Group__1__Impl + rule__LetBinding__Group__2 ; finally { restoreStackSize(stackSize); } -rule__ComparisonExpression__Group__1__Impl +rule__LetBinding__Group__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getComparisonExpressionAccess().getGroup_1()); } - (rule__ComparisonExpression__Group_1__0)? - { after(grammarAccess.getComparisonExpressionAccess().getGroup_1()); } + { before(grammarAccess.getLetBindingAccess().getNameAssignment_1()); } + (rule__LetBinding__NameAssignment_1) + { after(grammarAccess.getLetBindingAccess().getNameAssignment_1()); } ) ; finally { restoreStackSize(stackSize); } - -rule__ComparisonExpression__Group_1__0 +rule__LetBinding__Group__2 @init { int stackSize = keepStackSize(); } : - rule__ComparisonExpression__Group_1__0__Impl - rule__ComparisonExpression__Group_1__1 + rule__LetBinding__Group__2__Impl + rule__LetBinding__Group__3 ; finally { restoreStackSize(stackSize); } -rule__ComparisonExpression__Group_1__0__Impl +rule__LetBinding__Group__2__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getComparisonExpressionAccess().getComparisonLeftAction_1_0()); } - () - { after(grammarAccess.getComparisonExpressionAccess().getComparisonLeftAction_1_0()); } + { before(grammarAccess.getLetBindingAccess().getEqualsSignKeyword_2()); } + EqualsSign + { after(grammarAccess.getLetBindingAccess().getEqualsSignKeyword_2()); } ) ; finally { restoreStackSize(stackSize); } -rule__ComparisonExpression__Group_1__1 +rule__LetBinding__Group__3 @init { int stackSize = keepStackSize(); } : - rule__ComparisonExpression__Group_1__1__Impl - rule__ComparisonExpression__Group_1__2 + rule__LetBinding__Group__3__Impl ; finally { restoreStackSize(stackSize); } -rule__ComparisonExpression__Group_1__1__Impl +rule__LetBinding__Group__3__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getComparisonExpressionAccess().getOpAssignment_1_1()); } - (rule__ComparisonExpression__OpAssignment_1_1) - { after(grammarAccess.getComparisonExpressionAccess().getOpAssignment_1_1()); } + { before(grammarAccess.getLetBindingAccess().getValueAssignment_3()); } + (rule__LetBinding__ValueAssignment_3) + { after(grammarAccess.getLetBindingAccess().getValueAssignment_3()); } ) ; finally { restoreStackSize(stackSize); } -rule__ComparisonExpression__Group_1__2 + +rule__DisjunctiveExpression__Group__0 @init { int stackSize = keepStackSize(); } : - rule__ComparisonExpression__Group_1__2__Impl + rule__DisjunctiveExpression__Group__0__Impl + rule__DisjunctiveExpression__Group__1 ; finally { restoreStackSize(stackSize); } -rule__ComparisonExpression__Group_1__2__Impl +rule__DisjunctiveExpression__Group__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getComparisonExpressionAccess().getRightAssignment_1_2()); } - (rule__ComparisonExpression__RightAssignment_1_2) - { after(grammarAccess.getComparisonExpressionAccess().getRightAssignment_1_2()); } + { before(grammarAccess.getDisjunctiveExpressionAccess().getConjunctiveExpressionParserRuleCall_0()); } + ruleConjunctiveExpression + { after(grammarAccess.getDisjunctiveExpressionAccess().getConjunctiveExpressionParserRuleCall_0()); } ) ; finally { restoreStackSize(stackSize); } - -rule__AdditiveExpression__Group__0 +rule__DisjunctiveExpression__Group__1 @init { int stackSize = keepStackSize(); } : - rule__AdditiveExpression__Group__0__Impl - rule__AdditiveExpression__Group__1 + rule__DisjunctiveExpression__Group__1__Impl ; finally { restoreStackSize(stackSize); } -rule__AdditiveExpression__Group__0__Impl +rule__DisjunctiveExpression__Group__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getAdditiveExpressionAccess().getMultiplicativeExpressionParserRuleCall_0()); } - ruleMultiplicativeExpression - { after(grammarAccess.getAdditiveExpressionAccess().getMultiplicativeExpressionParserRuleCall_0()); } + { before(grammarAccess.getDisjunctiveExpressionAccess().getAlternatives_1()); } + (rule__DisjunctiveExpression__Alternatives_1)? + { after(grammarAccess.getDisjunctiveExpressionAccess().getAlternatives_1()); } ) ; finally { restoreStackSize(stackSize); } -rule__AdditiveExpression__Group__1 + +rule__DisjunctiveExpression__Group_1_0__0 @init { int stackSize = keepStackSize(); } : - rule__AdditiveExpression__Group__1__Impl + rule__DisjunctiveExpression__Group_1_0__0__Impl + rule__DisjunctiveExpression__Group_1_0__1 ; finally { restoreStackSize(stackSize); } -rule__AdditiveExpression__Group__1__Impl +rule__DisjunctiveExpression__Group_1_0__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getAdditiveExpressionAccess().getGroup_1()); } - (rule__AdditiveExpression__Group_1__0)* - { after(grammarAccess.getAdditiveExpressionAccess().getGroup_1()); } + { before(grammarAccess.getDisjunctiveExpressionAccess().getDisjunctionChildrenAction_1_0_0()); } + () + { after(grammarAccess.getDisjunctiveExpressionAccess().getDisjunctionChildrenAction_1_0_0()); } ) ; finally { restoreStackSize(stackSize); } - -rule__AdditiveExpression__Group_1__0 +rule__DisjunctiveExpression__Group_1_0__1 @init { int stackSize = keepStackSize(); } : - rule__AdditiveExpression__Group_1__0__Impl - rule__AdditiveExpression__Group_1__1 + rule__DisjunctiveExpression__Group_1_0__1__Impl ; finally { restoreStackSize(stackSize); } -rule__AdditiveExpression__Group_1__0__Impl +rule__DisjunctiveExpression__Group_1_0__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getAdditiveExpressionAccess().getBinaryExpressionLeftAction_1_0()); } - () - { after(grammarAccess.getAdditiveExpressionAccess().getBinaryExpressionLeftAction_1_0()); } + ( + { before(grammarAccess.getDisjunctiveExpressionAccess().getGroup_1_0_1()); } + (rule__DisjunctiveExpression__Group_1_0_1__0) + { after(grammarAccess.getDisjunctiveExpressionAccess().getGroup_1_0_1()); } + ) + ( + { before(grammarAccess.getDisjunctiveExpressionAccess().getGroup_1_0_1()); } + (rule__DisjunctiveExpression__Group_1_0_1__0)* + { after(grammarAccess.getDisjunctiveExpressionAccess().getGroup_1_0_1()); } + ) ) ; finally { restoreStackSize(stackSize); } -rule__AdditiveExpression__Group_1__1 + +rule__DisjunctiveExpression__Group_1_0_1__0 @init { int stackSize = keepStackSize(); } : - rule__AdditiveExpression__Group_1__1__Impl - rule__AdditiveExpression__Group_1__2 + rule__DisjunctiveExpression__Group_1_0_1__0__Impl + rule__DisjunctiveExpression__Group_1_0_1__1 ; finally { restoreStackSize(stackSize); } -rule__AdditiveExpression__Group_1__1__Impl +rule__DisjunctiveExpression__Group_1_0_1__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getAdditiveExpressionAccess().getOpAssignment_1_1()); } - (rule__AdditiveExpression__OpAssignment_1_1) - { after(grammarAccess.getAdditiveExpressionAccess().getOpAssignment_1_1()); } + { before(grammarAccess.getDisjunctiveExpressionAccess().getSemicolonKeyword_1_0_1_0()); } + Semicolon + { after(grammarAccess.getDisjunctiveExpressionAccess().getSemicolonKeyword_1_0_1_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__AdditiveExpression__Group_1__2 +rule__DisjunctiveExpression__Group_1_0_1__1 @init { int stackSize = keepStackSize(); } : - rule__AdditiveExpression__Group_1__2__Impl + rule__DisjunctiveExpression__Group_1_0_1__1__Impl ; finally { restoreStackSize(stackSize); } -rule__AdditiveExpression__Group_1__2__Impl +rule__DisjunctiveExpression__Group_1_0_1__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getAdditiveExpressionAccess().getRightAssignment_1_2()); } - (rule__AdditiveExpression__RightAssignment_1_2) - { after(grammarAccess.getAdditiveExpressionAccess().getRightAssignment_1_2()); } + { before(grammarAccess.getDisjunctiveExpressionAccess().getChildrenAssignment_1_0_1_1()); } + (rule__DisjunctiveExpression__ChildrenAssignment_1_0_1_1) + { after(grammarAccess.getDisjunctiveExpressionAccess().getChildrenAssignment_1_0_1_1()); } ) ; finally { @@ -5495,134 +5794,134 @@ finally { } -rule__MultiplicativeExpression__Group__0 +rule__DisjunctiveExpression__Group_1_1__0 @init { int stackSize = keepStackSize(); } : - rule__MultiplicativeExpression__Group__0__Impl - rule__MultiplicativeExpression__Group__1 + rule__DisjunctiveExpression__Group_1_1__0__Impl + rule__DisjunctiveExpression__Group_1_1__1 ; finally { restoreStackSize(stackSize); } -rule__MultiplicativeExpression__Group__0__Impl +rule__DisjunctiveExpression__Group_1_1__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getMultiplicativeExpressionAccess().getExponentialExpressionParserRuleCall_0()); } - ruleExponentialExpression - { after(grammarAccess.getMultiplicativeExpressionAccess().getExponentialExpressionParserRuleCall_0()); } + { before(grammarAccess.getDisjunctiveExpressionAccess().getCaseConditionAction_1_1_0()); } + () + { after(grammarAccess.getDisjunctiveExpressionAccess().getCaseConditionAction_1_1_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__MultiplicativeExpression__Group__1 +rule__DisjunctiveExpression__Group_1_1__1 @init { int stackSize = keepStackSize(); } : - rule__MultiplicativeExpression__Group__1__Impl + rule__DisjunctiveExpression__Group_1_1__1__Impl + rule__DisjunctiveExpression__Group_1_1__2 ; finally { restoreStackSize(stackSize); } -rule__MultiplicativeExpression__Group__1__Impl +rule__DisjunctiveExpression__Group_1_1__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getMultiplicativeExpressionAccess().getGroup_1()); } - (rule__MultiplicativeExpression__Group_1__0)* - { after(grammarAccess.getMultiplicativeExpressionAccess().getGroup_1()); } + { before(grammarAccess.getDisjunctiveExpressionAccess().getHyphenMinusGreaterThanSignKeyword_1_1_1()); } + HyphenMinusGreaterThanSign + { after(grammarAccess.getDisjunctiveExpressionAccess().getHyphenMinusGreaterThanSignKeyword_1_1_1()); } ) ; finally { restoreStackSize(stackSize); } - -rule__MultiplicativeExpression__Group_1__0 +rule__DisjunctiveExpression__Group_1_1__2 @init { int stackSize = keepStackSize(); } : - rule__MultiplicativeExpression__Group_1__0__Impl - rule__MultiplicativeExpression__Group_1__1 + rule__DisjunctiveExpression__Group_1_1__2__Impl + rule__DisjunctiveExpression__Group_1_1__3 ; finally { restoreStackSize(stackSize); } -rule__MultiplicativeExpression__Group_1__0__Impl +rule__DisjunctiveExpression__Group_1_1__2__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getMultiplicativeExpressionAccess().getBinaryExpressionLeftAction_1_0()); } - () - { after(grammarAccess.getMultiplicativeExpressionAccess().getBinaryExpressionLeftAction_1_0()); } -) + { before(grammarAccess.getDisjunctiveExpressionAccess().getBodyAssignment_1_1_2()); } + (rule__DisjunctiveExpression__BodyAssignment_1_1_2) + { after(grammarAccess.getDisjunctiveExpressionAccess().getBodyAssignment_1_1_2()); } +) ; finally { restoreStackSize(stackSize); } -rule__MultiplicativeExpression__Group_1__1 +rule__DisjunctiveExpression__Group_1_1__3 @init { int stackSize = keepStackSize(); } : - rule__MultiplicativeExpression__Group_1__1__Impl - rule__MultiplicativeExpression__Group_1__2 + rule__DisjunctiveExpression__Group_1_1__3__Impl + rule__DisjunctiveExpression__Group_1_1__4 ; finally { restoreStackSize(stackSize); } -rule__MultiplicativeExpression__Group_1__1__Impl +rule__DisjunctiveExpression__Group_1_1__3__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getMultiplicativeExpressionAccess().getOpAssignment_1_1()); } - (rule__MultiplicativeExpression__OpAssignment_1_1) - { after(grammarAccess.getMultiplicativeExpressionAccess().getOpAssignment_1_1()); } + { before(grammarAccess.getDisjunctiveExpressionAccess().getSwitchCasesAction_1_1_3()); } + () + { after(grammarAccess.getDisjunctiveExpressionAccess().getSwitchCasesAction_1_1_3()); } ) ; finally { restoreStackSize(stackSize); } -rule__MultiplicativeExpression__Group_1__2 +rule__DisjunctiveExpression__Group_1_1__4 @init { int stackSize = keepStackSize(); } : - rule__MultiplicativeExpression__Group_1__2__Impl + rule__DisjunctiveExpression__Group_1_1__4__Impl ; finally { restoreStackSize(stackSize); } -rule__MultiplicativeExpression__Group_1__2__Impl +rule__DisjunctiveExpression__Group_1_1__4__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getMultiplicativeExpressionAccess().getRightAssignment_1_2()); } - (rule__MultiplicativeExpression__RightAssignment_1_2) - { after(grammarAccess.getMultiplicativeExpressionAccess().getRightAssignment_1_2()); } + { before(grammarAccess.getDisjunctiveExpressionAccess().getGroup_1_1_4()); } + (rule__DisjunctiveExpression__Group_1_1_4__0)* + { after(grammarAccess.getDisjunctiveExpressionAccess().getGroup_1_1_4()); } ) ; finally { @@ -5630,53 +5929,53 @@ finally { } -rule__ExponentialExpression__Group__0 +rule__DisjunctiveExpression__Group_1_1_4__0 @init { int stackSize = keepStackSize(); } : - rule__ExponentialExpression__Group__0__Impl - rule__ExponentialExpression__Group__1 + rule__DisjunctiveExpression__Group_1_1_4__0__Impl + rule__DisjunctiveExpression__Group_1_1_4__1 ; finally { restoreStackSize(stackSize); } -rule__ExponentialExpression__Group__0__Impl +rule__DisjunctiveExpression__Group_1_1_4__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getExponentialExpressionAccess().getCastExpressionParserRuleCall_0()); } - ruleCastExpression - { after(grammarAccess.getExponentialExpressionAccess().getCastExpressionParserRuleCall_0()); } + { before(grammarAccess.getDisjunctiveExpressionAccess().getSemicolonKeyword_1_1_4_0()); } + Semicolon + { after(grammarAccess.getDisjunctiveExpressionAccess().getSemicolonKeyword_1_1_4_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__ExponentialExpression__Group__1 +rule__DisjunctiveExpression__Group_1_1_4__1 @init { int stackSize = keepStackSize(); } : - rule__ExponentialExpression__Group__1__Impl + rule__DisjunctiveExpression__Group_1_1_4__1__Impl ; finally { restoreStackSize(stackSize); } -rule__ExponentialExpression__Group__1__Impl +rule__DisjunctiveExpression__Group_1_1_4__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getExponentialExpressionAccess().getGroup_1()); } - (rule__ExponentialExpression__Group_1__0)? - { after(grammarAccess.getExponentialExpressionAccess().getGroup_1()); } + { before(grammarAccess.getDisjunctiveExpressionAccess().getCasesAssignment_1_1_4_1()); } + (rule__DisjunctiveExpression__CasesAssignment_1_1_4_1) + { after(grammarAccess.getDisjunctiveExpressionAccess().getCasesAssignment_1_1_4_1()); } ) ; finally { @@ -5684,80 +5983,80 @@ finally { } -rule__ExponentialExpression__Group_1__0 +rule__Case__Group__0 @init { int stackSize = keepStackSize(); } : - rule__ExponentialExpression__Group_1__0__Impl - rule__ExponentialExpression__Group_1__1 + rule__Case__Group__0__Impl + rule__Case__Group__1 ; finally { restoreStackSize(stackSize); } -rule__ExponentialExpression__Group_1__0__Impl +rule__Case__Group__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getExponentialExpressionAccess().getBinaryExpressionLeftAction_1_0()); } - () - { after(grammarAccess.getExponentialExpressionAccess().getBinaryExpressionLeftAction_1_0()); } + { before(grammarAccess.getCaseAccess().getConditionAssignment_0()); } + (rule__Case__ConditionAssignment_0) + { after(grammarAccess.getCaseAccess().getConditionAssignment_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__ExponentialExpression__Group_1__1 +rule__Case__Group__1 @init { int stackSize = keepStackSize(); } : - rule__ExponentialExpression__Group_1__1__Impl - rule__ExponentialExpression__Group_1__2 + rule__Case__Group__1__Impl + rule__Case__Group__2 ; finally { restoreStackSize(stackSize); } -rule__ExponentialExpression__Group_1__1__Impl +rule__Case__Group__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getExponentialExpressionAccess().getOpAssignment_1_1()); } - (rule__ExponentialExpression__OpAssignment_1_1) - { after(grammarAccess.getExponentialExpressionAccess().getOpAssignment_1_1()); } + { before(grammarAccess.getCaseAccess().getHyphenMinusGreaterThanSignKeyword_1()); } + HyphenMinusGreaterThanSign + { after(grammarAccess.getCaseAccess().getHyphenMinusGreaterThanSignKeyword_1()); } ) ; finally { restoreStackSize(stackSize); } -rule__ExponentialExpression__Group_1__2 +rule__Case__Group__2 @init { int stackSize = keepStackSize(); } : - rule__ExponentialExpression__Group_1__2__Impl + rule__Case__Group__2__Impl ; finally { restoreStackSize(stackSize); } -rule__ExponentialExpression__Group_1__2__Impl +rule__Case__Group__2__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getExponentialExpressionAccess().getRightAssignment_1_2()); } - (rule__ExponentialExpression__RightAssignment_1_2) - { after(grammarAccess.getExponentialExpressionAccess().getRightAssignment_1_2()); } + { before(grammarAccess.getCaseAccess().getBodyAssignment_2()); } + (rule__Case__BodyAssignment_2) + { after(grammarAccess.getCaseAccess().getBodyAssignment_2()); } ) ; finally { @@ -5765,53 +6064,53 @@ finally { } -rule__CastExpression__Group__0 +rule__ConjunctiveExpression__Group__0 @init { int stackSize = keepStackSize(); } : - rule__CastExpression__Group__0__Impl - rule__CastExpression__Group__1 + rule__ConjunctiveExpression__Group__0__Impl + rule__ConjunctiveExpression__Group__1 ; finally { restoreStackSize(stackSize); } -rule__CastExpression__Group__0__Impl +rule__ConjunctiveExpression__Group__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getCastExpressionAccess().getUnaryExpressionParserRuleCall_0()); } - ruleUnaryExpression - { after(grammarAccess.getCastExpressionAccess().getUnaryExpressionParserRuleCall_0()); } + { before(grammarAccess.getConjunctiveExpressionAccess().getComparisonExpressionParserRuleCall_0()); } + ruleComparisonExpression + { after(grammarAccess.getConjunctiveExpressionAccess().getComparisonExpressionParserRuleCall_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__CastExpression__Group__1 +rule__ConjunctiveExpression__Group__1 @init { int stackSize = keepStackSize(); } : - rule__CastExpression__Group__1__Impl + rule__ConjunctiveExpression__Group__1__Impl ; finally { restoreStackSize(stackSize); } -rule__CastExpression__Group__1__Impl +rule__ConjunctiveExpression__Group__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getCastExpressionAccess().getGroup_1()); } - (rule__CastExpression__Group_1__0)? - { after(grammarAccess.getCastExpressionAccess().getGroup_1()); } + { before(grammarAccess.getConjunctiveExpressionAccess().getGroup_1()); } + (rule__ConjunctiveExpression__Group_1__0)? + { after(grammarAccess.getConjunctiveExpressionAccess().getGroup_1()); } ) ; finally { @@ -5819,161 +6118,168 @@ finally { } -rule__CastExpression__Group_1__0 +rule__ConjunctiveExpression__Group_1__0 @init { int stackSize = keepStackSize(); } : - rule__CastExpression__Group_1__0__Impl - rule__CastExpression__Group_1__1 + rule__ConjunctiveExpression__Group_1__0__Impl + rule__ConjunctiveExpression__Group_1__1 ; finally { restoreStackSize(stackSize); } -rule__CastExpression__Group_1__0__Impl +rule__ConjunctiveExpression__Group_1__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getCastExpressionAccess().getCastExpressionBodyAction_1_0()); } + { before(grammarAccess.getConjunctiveExpressionAccess().getConjunctionChildrenAction_1_0()); } () - { after(grammarAccess.getCastExpressionAccess().getCastExpressionBodyAction_1_0()); } + { after(grammarAccess.getConjunctiveExpressionAccess().getConjunctionChildrenAction_1_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__CastExpression__Group_1__1 +rule__ConjunctiveExpression__Group_1__1 @init { int stackSize = keepStackSize(); } : - rule__CastExpression__Group_1__1__Impl - rule__CastExpression__Group_1__2 + rule__ConjunctiveExpression__Group_1__1__Impl ; finally { restoreStackSize(stackSize); } -rule__CastExpression__Group_1__1__Impl +rule__ConjunctiveExpression__Group_1__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getCastExpressionAccess().getAsKeyword_1_1()); } - As - { after(grammarAccess.getCastExpressionAccess().getAsKeyword_1_1()); } + ( + { before(grammarAccess.getConjunctiveExpressionAccess().getGroup_1_1()); } + (rule__ConjunctiveExpression__Group_1_1__0) + { after(grammarAccess.getConjunctiveExpressionAccess().getGroup_1_1()); } + ) + ( + { before(grammarAccess.getConjunctiveExpressionAccess().getGroup_1_1()); } + (rule__ConjunctiveExpression__Group_1_1__0)* + { after(grammarAccess.getConjunctiveExpressionAccess().getGroup_1_1()); } + ) ) ; finally { restoreStackSize(stackSize); } -rule__CastExpression__Group_1__2 + +rule__ConjunctiveExpression__Group_1_1__0 @init { int stackSize = keepStackSize(); } : - rule__CastExpression__Group_1__2__Impl + rule__ConjunctiveExpression__Group_1_1__0__Impl + rule__ConjunctiveExpression__Group_1_1__1 ; finally { restoreStackSize(stackSize); } -rule__CastExpression__Group_1__2__Impl +rule__ConjunctiveExpression__Group_1_1__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getCastExpressionAccess().getTypeAssignment_1_2()); } - (rule__CastExpression__TypeAssignment_1_2) - { after(grammarAccess.getCastExpressionAccess().getTypeAssignment_1_2()); } + { before(grammarAccess.getConjunctiveExpressionAccess().getCommaKeyword_1_1_0()); } + Comma + { after(grammarAccess.getConjunctiveExpressionAccess().getCommaKeyword_1_1_0()); } ) ; finally { restoreStackSize(stackSize); } - -rule__UnaryExpression__Group_1__0 +rule__ConjunctiveExpression__Group_1_1__1 @init { int stackSize = keepStackSize(); } : - rule__UnaryExpression__Group_1__0__Impl - rule__UnaryExpression__Group_1__1 + rule__ConjunctiveExpression__Group_1_1__1__Impl ; finally { restoreStackSize(stackSize); } -rule__UnaryExpression__Group_1__0__Impl +rule__ConjunctiveExpression__Group_1_1__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getUnaryExpressionAccess().getUnaryExpressionAction_1_0()); } - () - { after(grammarAccess.getUnaryExpressionAccess().getUnaryExpressionAction_1_0()); } + { before(grammarAccess.getConjunctiveExpressionAccess().getChildrenAssignment_1_1_1()); } + (rule__ConjunctiveExpression__ChildrenAssignment_1_1_1) + { after(grammarAccess.getConjunctiveExpressionAccess().getChildrenAssignment_1_1_1()); } ) ; finally { restoreStackSize(stackSize); } -rule__UnaryExpression__Group_1__1 + +rule__ComparisonExpression__Group__0 @init { int stackSize = keepStackSize(); } : - rule__UnaryExpression__Group_1__1__Impl - rule__UnaryExpression__Group_1__2 + rule__ComparisonExpression__Group__0__Impl + rule__ComparisonExpression__Group__1 ; finally { restoreStackSize(stackSize); } -rule__UnaryExpression__Group_1__1__Impl +rule__ComparisonExpression__Group__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getUnaryExpressionAccess().getOpAssignment_1_1()); } - (rule__UnaryExpression__OpAssignment_1_1) - { after(grammarAccess.getUnaryExpressionAccess().getOpAssignment_1_1()); } + { before(grammarAccess.getComparisonExpressionAccess().getAdditiveExpressionParserRuleCall_0()); } + ruleAdditiveExpression + { after(grammarAccess.getComparisonExpressionAccess().getAdditiveExpressionParserRuleCall_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__UnaryExpression__Group_1__2 +rule__ComparisonExpression__Group__1 @init { int stackSize = keepStackSize(); } : - rule__UnaryExpression__Group_1__2__Impl + rule__ComparisonExpression__Group__1__Impl ; finally { restoreStackSize(stackSize); } -rule__UnaryExpression__Group_1__2__Impl +rule__ComparisonExpression__Group__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getUnaryExpressionAccess().getBodyAssignment_1_2()); } - (rule__UnaryExpression__BodyAssignment_1_2) - { after(grammarAccess.getUnaryExpressionAccess().getBodyAssignment_1_2()); } + { before(grammarAccess.getComparisonExpressionAccess().getGroup_1()); } + (rule__ComparisonExpression__Group_1__0)? + { after(grammarAccess.getComparisonExpressionAccess().getGroup_1()); } ) ; finally { @@ -5981,350 +6287,1484 @@ finally { } -rule__LocalVariables__Group__0 +rule__ComparisonExpression__Group_1__0 @init { int stackSize = keepStackSize(); } : - rule__LocalVariables__Group__0__Impl - rule__LocalVariables__Group__1 + rule__ComparisonExpression__Group_1__0__Impl + rule__ComparisonExpression__Group_1__1 ; finally { restoreStackSize(stackSize); } -rule__LocalVariables__Group__0__Impl +rule__ComparisonExpression__Group_1__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getLocalVariablesAccess().getLocalVariablesAction_0()); } + { before(grammarAccess.getComparisonExpressionAccess().getBinaryExpressionLeftAction_1_0()); } () - { after(grammarAccess.getLocalVariablesAccess().getLocalVariablesAction_0()); } + { after(grammarAccess.getComparisonExpressionAccess().getBinaryExpressionLeftAction_1_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__LocalVariables__Group__1 +rule__ComparisonExpression__Group_1__1 @init { int stackSize = keepStackSize(); } : - rule__LocalVariables__Group__1__Impl - rule__LocalVariables__Group__2 + rule__ComparisonExpression__Group_1__1__Impl + rule__ComparisonExpression__Group_1__2 ; finally { restoreStackSize(stackSize); } -rule__LocalVariables__Group__1__Impl +rule__ComparisonExpression__Group_1__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getLocalVariablesAccess().getLeftSquareBracketKeyword_1()); } - LeftSquareBracket - { after(grammarAccess.getLocalVariablesAccess().getLeftSquareBracketKeyword_1()); } + { before(grammarAccess.getComparisonExpressionAccess().getOpAssignment_1_1()); } + (rule__ComparisonExpression__OpAssignment_1_1) + { after(grammarAccess.getComparisonExpressionAccess().getOpAssignment_1_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__ComparisonExpression__Group_1__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__ComparisonExpression__Group_1__2__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__ComparisonExpression__Group_1__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getComparisonExpressionAccess().getRightAssignment_1_2()); } + (rule__ComparisonExpression__RightAssignment_1_2) + { after(grammarAccess.getComparisonExpressionAccess().getRightAssignment_1_2()); } ) ; finally { restoreStackSize(stackSize); } -rule__LocalVariables__Group__2 + +rule__AdditiveExpression__Group__0 @init { int stackSize = keepStackSize(); } : - rule__LocalVariables__Group__2__Impl - rule__LocalVariables__Group__3 + rule__AdditiveExpression__Group__0__Impl + rule__AdditiveExpression__Group__1 ; finally { restoreStackSize(stackSize); } -rule__LocalVariables__Group__2__Impl +rule__AdditiveExpression__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getAdditiveExpressionAccess().getMultiplicativeExpressionParserRuleCall_0()); } + ruleMultiplicativeExpression + { after(grammarAccess.getAdditiveExpressionAccess().getMultiplicativeExpressionParserRuleCall_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__AdditiveExpression__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__AdditiveExpression__Group__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__AdditiveExpression__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getAdditiveExpressionAccess().getGroup_1()); } + (rule__AdditiveExpression__Group_1__0)* + { after(grammarAccess.getAdditiveExpressionAccess().getGroup_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__AdditiveExpression__Group_1__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__AdditiveExpression__Group_1__0__Impl + rule__AdditiveExpression__Group_1__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__AdditiveExpression__Group_1__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getAdditiveExpressionAccess().getBinaryExpressionLeftAction_1_0()); } + () + { after(grammarAccess.getAdditiveExpressionAccess().getBinaryExpressionLeftAction_1_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__AdditiveExpression__Group_1__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__AdditiveExpression__Group_1__1__Impl + rule__AdditiveExpression__Group_1__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__AdditiveExpression__Group_1__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getAdditiveExpressionAccess().getOpAssignment_1_1()); } + (rule__AdditiveExpression__OpAssignment_1_1) + { after(grammarAccess.getAdditiveExpressionAccess().getOpAssignment_1_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__AdditiveExpression__Group_1__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__AdditiveExpression__Group_1__2__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__AdditiveExpression__Group_1__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getAdditiveExpressionAccess().getRightAssignment_1_2()); } + (rule__AdditiveExpression__RightAssignment_1_2) + { after(grammarAccess.getAdditiveExpressionAccess().getRightAssignment_1_2()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__MultiplicativeExpression__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__MultiplicativeExpression__Group__0__Impl + rule__MultiplicativeExpression__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__MultiplicativeExpression__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getMultiplicativeExpressionAccess().getExponentialExpressionParserRuleCall_0()); } + ruleExponentialExpression + { after(grammarAccess.getMultiplicativeExpressionAccess().getExponentialExpressionParserRuleCall_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__MultiplicativeExpression__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__MultiplicativeExpression__Group__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__MultiplicativeExpression__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getMultiplicativeExpressionAccess().getGroup_1()); } + (rule__MultiplicativeExpression__Group_1__0)* + { after(grammarAccess.getMultiplicativeExpressionAccess().getGroup_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__MultiplicativeExpression__Group_1__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__MultiplicativeExpression__Group_1__0__Impl + rule__MultiplicativeExpression__Group_1__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__MultiplicativeExpression__Group_1__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getMultiplicativeExpressionAccess().getBinaryExpressionLeftAction_1_0()); } + () + { after(grammarAccess.getMultiplicativeExpressionAccess().getBinaryExpressionLeftAction_1_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__MultiplicativeExpression__Group_1__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__MultiplicativeExpression__Group_1__1__Impl + rule__MultiplicativeExpression__Group_1__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__MultiplicativeExpression__Group_1__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getMultiplicativeExpressionAccess().getOpAssignment_1_1()); } + (rule__MultiplicativeExpression__OpAssignment_1_1) + { after(grammarAccess.getMultiplicativeExpressionAccess().getOpAssignment_1_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__MultiplicativeExpression__Group_1__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__MultiplicativeExpression__Group_1__2__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__MultiplicativeExpression__Group_1__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getMultiplicativeExpressionAccess().getRightAssignment_1_2()); } + (rule__MultiplicativeExpression__RightAssignment_1_2) + { after(grammarAccess.getMultiplicativeExpressionAccess().getRightAssignment_1_2()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__ExponentialExpression__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__ExponentialExpression__Group__0__Impl + rule__ExponentialExpression__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__ExponentialExpression__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getExponentialExpressionAccess().getCastExpressionParserRuleCall_0()); } + ruleCastExpression + { after(grammarAccess.getExponentialExpressionAccess().getCastExpressionParserRuleCall_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__ExponentialExpression__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__ExponentialExpression__Group__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__ExponentialExpression__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getExponentialExpressionAccess().getGroup_1()); } + (rule__ExponentialExpression__Group_1__0)? + { after(grammarAccess.getExponentialExpressionAccess().getGroup_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__ExponentialExpression__Group_1__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__ExponentialExpression__Group_1__0__Impl + rule__ExponentialExpression__Group_1__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__ExponentialExpression__Group_1__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getExponentialExpressionAccess().getBinaryExpressionLeftAction_1_0()); } + () + { after(grammarAccess.getExponentialExpressionAccess().getBinaryExpressionLeftAction_1_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__ExponentialExpression__Group_1__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__ExponentialExpression__Group_1__1__Impl + rule__ExponentialExpression__Group_1__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__ExponentialExpression__Group_1__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getExponentialExpressionAccess().getOpAssignment_1_1()); } + (rule__ExponentialExpression__OpAssignment_1_1) + { after(grammarAccess.getExponentialExpressionAccess().getOpAssignment_1_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__ExponentialExpression__Group_1__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__ExponentialExpression__Group_1__2__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__ExponentialExpression__Group_1__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getExponentialExpressionAccess().getRightAssignment_1_2()); } + (rule__ExponentialExpression__RightAssignment_1_2) + { after(grammarAccess.getExponentialExpressionAccess().getRightAssignment_1_2()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__CastExpression__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__CastExpression__Group__0__Impl + rule__CastExpression__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__CastExpression__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getCastExpressionAccess().getUnaryExpressionParserRuleCall_0()); } + ruleUnaryExpression + { after(grammarAccess.getCastExpressionAccess().getUnaryExpressionParserRuleCall_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__CastExpression__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__CastExpression__Group__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__CastExpression__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getCastExpressionAccess().getGroup_1()); } + (rule__CastExpression__Group_1__0)? + { after(grammarAccess.getCastExpressionAccess().getGroup_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__CastExpression__Group_1__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__CastExpression__Group_1__0__Impl + rule__CastExpression__Group_1__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__CastExpression__Group_1__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getCastExpressionAccess().getCastExpressionBodyAction_1_0()); } + () + { after(grammarAccess.getCastExpressionAccess().getCastExpressionBodyAction_1_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__CastExpression__Group_1__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__CastExpression__Group_1__1__Impl + rule__CastExpression__Group_1__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__CastExpression__Group_1__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getCastExpressionAccess().getAsKeyword_1_1()); } + As + { after(grammarAccess.getCastExpressionAccess().getAsKeyword_1_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__CastExpression__Group_1__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__CastExpression__Group_1__2__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__CastExpression__Group_1__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getCastExpressionAccess().getTargetTypeAssignment_1_2()); } + (rule__CastExpression__TargetTypeAssignment_1_2) + { after(grammarAccess.getCastExpressionAccess().getTargetTypeAssignment_1_2()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__UnaryExpression__Group_1__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__UnaryExpression__Group_1__0__Impl + rule__UnaryExpression__Group_1__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__UnaryExpression__Group_1__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getUnaryExpressionAccess().getUnaryExpressionAction_1_0()); } + () + { after(grammarAccess.getUnaryExpressionAccess().getUnaryExpressionAction_1_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__UnaryExpression__Group_1__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__UnaryExpression__Group_1__1__Impl + rule__UnaryExpression__Group_1__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__UnaryExpression__Group_1__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getUnaryExpressionAccess().getOpAssignment_1_1()); } + (rule__UnaryExpression__OpAssignment_1_1) + { after(grammarAccess.getUnaryExpressionAccess().getOpAssignment_1_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__UnaryExpression__Group_1__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__UnaryExpression__Group_1__2__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__UnaryExpression__Group_1__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getUnaryExpressionAccess().getBodyAssignment_1_2()); } + (rule__UnaryExpression__BodyAssignment_1_2) + { after(grammarAccess.getUnaryExpressionAccess().getBodyAssignment_1_2()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__Aggregation__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__Aggregation__Group__0__Impl + rule__Aggregation__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__Aggregation__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getAggregationAccess().getOpAssignment_0()); } + (rule__Aggregation__OpAssignment_0) + { after(grammarAccess.getAggregationAccess().getOpAssignment_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__Aggregation__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__Aggregation__Group__1__Impl + rule__Aggregation__Group__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__Aggregation__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getAggregationAccess().getLeftCurlyBracketKeyword_1()); } + LeftCurlyBracket + { after(grammarAccess.getAggregationAccess().getLeftCurlyBracketKeyword_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__Aggregation__Group__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__Aggregation__Group__2__Impl + rule__Aggregation__Group__3 +; +finally { + restoreStackSize(stackSize); +} + +rule__Aggregation__Group__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getAggregationAccess().getValueAssignment_2()); } + (rule__Aggregation__ValueAssignment_2) + { after(grammarAccess.getAggregationAccess().getValueAssignment_2()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__Aggregation__Group__3 + @init { + int stackSize = keepStackSize(); + } +: + rule__Aggregation__Group__3__Impl + rule__Aggregation__Group__4 +; +finally { + restoreStackSize(stackSize); +} + +rule__Aggregation__Group__3__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getAggregationAccess().getVerticalLineKeyword_3()); } + VerticalLine + { after(grammarAccess.getAggregationAccess().getVerticalLineKeyword_3()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__Aggregation__Group__4 + @init { + int stackSize = keepStackSize(); + } +: + rule__Aggregation__Group__4__Impl + rule__Aggregation__Group__5 +; +finally { + restoreStackSize(stackSize); +} + +rule__Aggregation__Group__4__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getAggregationAccess().getConditionAssignment_4()); } + (rule__Aggregation__ConditionAssignment_4) + { after(grammarAccess.getAggregationAccess().getConditionAssignment_4()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__Aggregation__Group__5 + @init { + int stackSize = keepStackSize(); + } +: + rule__Aggregation__Group__5__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__Aggregation__Group__5__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getAggregationAccess().getRightCurlyBracketKeyword_5()); } + RightCurlyBracket + { after(grammarAccess.getAggregationAccess().getRightCurlyBracketKeyword_5()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__Count__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__Count__Group__0__Impl + rule__Count__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__Count__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getCountAccess().getCountKeyword_0()); } + Count + { after(grammarAccess.getCountAccess().getCountKeyword_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__Count__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__Count__Group__1__Impl + rule__Count__Group__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__Count__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getCountAccess().getLeftCurlyBracketKeyword_1()); } + LeftCurlyBracket + { after(grammarAccess.getCountAccess().getLeftCurlyBracketKeyword_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__Count__Group__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__Count__Group__2__Impl + rule__Count__Group__3 +; +finally { + restoreStackSize(stackSize); +} + +rule__Count__Group__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getCountAccess().getConditionAssignment_2()); } + (rule__Count__ConditionAssignment_2) + { after(grammarAccess.getCountAccess().getConditionAssignment_2()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__Count__Group__3 + @init { + int stackSize = keepStackSize(); + } +: + rule__Count__Group__3__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__Count__Group__3__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getCountAccess().getRightCurlyBracketKeyword_3()); } + RightCurlyBracket + { after(grammarAccess.getCountAccess().getRightCurlyBracketKeyword_3()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__AtomicExpression__Group_4__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__AtomicExpression__Group_4__0__Impl + rule__AtomicExpression__Group_4__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__AtomicExpression__Group_4__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getAtomicExpressionAccess().getLeftParenthesisKeyword_4_0()); } + LeftParenthesis + { after(grammarAccess.getAtomicExpressionAccess().getLeftParenthesisKeyword_4_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__AtomicExpression__Group_4__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__AtomicExpression__Group_4__1__Impl + rule__AtomicExpression__Group_4__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__AtomicExpression__Group_4__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getAtomicExpressionAccess().getExpressionParserRuleCall_4_1()); } + ruleExpression + { after(grammarAccess.getAtomicExpressionAccess().getExpressionParserRuleCall_4_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__AtomicExpression__Group_4__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__AtomicExpression__Group_4__2__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__AtomicExpression__Group_4__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getAtomicExpressionAccess().getRightParenthesisKeyword_4_2()); } + RightParenthesis + { after(grammarAccess.getAtomicExpressionAccess().getRightParenthesisKeyword_4_2()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__Call__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__Call__Group__0__Impl + rule__Call__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__Call__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getCallAccess().getFunctorAssignment_0()); } + (rule__Call__FunctorAssignment_0) + { after(grammarAccess.getCallAccess().getFunctorAssignment_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__Call__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__Call__Group__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__Call__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getCallAccess().getArgumentListAssignment_1()); } + (rule__Call__ArgumentListAssignment_1) + { after(grammarAccess.getCallAccess().getArgumentListAssignment_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__ArgumentList__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__ArgumentList__Group__0__Impl + rule__ArgumentList__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__ArgumentList__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getArgumentListAccess().getArgumentListAction_0()); } + () + { after(grammarAccess.getArgumentListAccess().getArgumentListAction_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__ArgumentList__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__ArgumentList__Group__1__Impl + rule__ArgumentList__Group__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__ArgumentList__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getArgumentListAccess().getLeftParenthesisKeyword_1()); } + LeftParenthesis + { after(grammarAccess.getArgumentListAccess().getLeftParenthesisKeyword_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__ArgumentList__Group__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__ArgumentList__Group__2__Impl + rule__ArgumentList__Group__3 +; +finally { + restoreStackSize(stackSize); +} + +rule__ArgumentList__Group__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getArgumentListAccess().getGroup_2()); } + (rule__ArgumentList__Group_2__0)? + { after(grammarAccess.getArgumentListAccess().getGroup_2()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__ArgumentList__Group__3 + @init { + int stackSize = keepStackSize(); + } +: + rule__ArgumentList__Group__3__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__ArgumentList__Group__3__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getLocalVariablesAccess().getGroup_2()); } - (rule__LocalVariables__Group_2__0)? - { after(grammarAccess.getLocalVariablesAccess().getGroup_2()); } + { before(grammarAccess.getArgumentListAccess().getRightParenthesisKeyword_3()); } + RightParenthesis + { after(grammarAccess.getArgumentListAccess().getRightParenthesisKeyword_3()); } ) ; finally { restoreStackSize(stackSize); } -rule__LocalVariables__Group__3 + +rule__ArgumentList__Group_2__0 @init { int stackSize = keepStackSize(); } : - rule__LocalVariables__Group__3__Impl + rule__ArgumentList__Group_2__0__Impl + rule__ArgumentList__Group_2__1 ; finally { restoreStackSize(stackSize); } -rule__LocalVariables__Group__3__Impl +rule__ArgumentList__Group_2__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getLocalVariablesAccess().getRightSquareBracketKeyword_3()); } - RightSquareBracket - { after(grammarAccess.getLocalVariablesAccess().getRightSquareBracketKeyword_3()); } + { before(grammarAccess.getArgumentListAccess().getArgumentsAssignment_2_0()); } + (rule__ArgumentList__ArgumentsAssignment_2_0) + { after(grammarAccess.getArgumentListAccess().getArgumentsAssignment_2_0()); } ) ; finally { restoreStackSize(stackSize); } - -rule__LocalVariables__Group_2__0 +rule__ArgumentList__Group_2__1 @init { int stackSize = keepStackSize(); } : - rule__LocalVariables__Group_2__0__Impl - rule__LocalVariables__Group_2__1 + rule__ArgumentList__Group_2__1__Impl ; finally { restoreStackSize(stackSize); } -rule__LocalVariables__Group_2__0__Impl +rule__ArgumentList__Group_2__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getLocalVariablesAccess().getVariablesAssignment_2_0()); } - (rule__LocalVariables__VariablesAssignment_2_0) - { after(grammarAccess.getLocalVariablesAccess().getVariablesAssignment_2_0()); } + { before(grammarAccess.getArgumentListAccess().getGroup_2_1()); } + (rule__ArgumentList__Group_2_1__0)* + { after(grammarAccess.getArgumentListAccess().getGroup_2_1()); } ) ; finally { restoreStackSize(stackSize); } -rule__LocalVariables__Group_2__1 + +rule__ArgumentList__Group_2_1__0 @init { int stackSize = keepStackSize(); } : - rule__LocalVariables__Group_2__1__Impl + rule__ArgumentList__Group_2_1__0__Impl + rule__ArgumentList__Group_2_1__1 ; finally { restoreStackSize(stackSize); } -rule__LocalVariables__Group_2__1__Impl +rule__ArgumentList__Group_2_1__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getLocalVariablesAccess().getGroup_2_1()); } - (rule__LocalVariables__Group_2_1__0)* - { after(grammarAccess.getLocalVariablesAccess().getGroup_2_1()); } + { before(grammarAccess.getArgumentListAccess().getCommaKeyword_2_1_0()); } + Comma + { after(grammarAccess.getArgumentListAccess().getCommaKeyword_2_1_0()); } ) ; finally { restoreStackSize(stackSize); } - -rule__LocalVariables__Group_2_1__0 +rule__ArgumentList__Group_2_1__1 @init { int stackSize = keepStackSize(); } : - rule__LocalVariables__Group_2_1__0__Impl - rule__LocalVariables__Group_2_1__1 + rule__ArgumentList__Group_2_1__1__Impl ; finally { restoreStackSize(stackSize); } -rule__LocalVariables__Group_2_1__0__Impl +rule__ArgumentList__Group_2_1__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getLocalVariablesAccess().getCommaKeyword_2_1_0()); } - Comma - { after(grammarAccess.getLocalVariablesAccess().getCommaKeyword_2_1_0()); } + { before(grammarAccess.getArgumentListAccess().getArgumentsAssignment_2_1_1()); } + (rule__ArgumentList__ArgumentsAssignment_2_1_1) + { after(grammarAccess.getArgumentListAccess().getArgumentsAssignment_2_1_1()); } ) ; finally { restoreStackSize(stackSize); } -rule__LocalVariables__Group_2_1__1 + +rule__StarArgument__Group__0 @init { int stackSize = keepStackSize(); } : - rule__LocalVariables__Group_2_1__1__Impl + rule__StarArgument__Group__0__Impl + rule__StarArgument__Group__1 ; finally { restoreStackSize(stackSize); } -rule__LocalVariables__Group_2_1__1__Impl +rule__StarArgument__Group__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getLocalVariablesAccess().getVariablesAssignment_2_1_1()); } - (rule__LocalVariables__VariablesAssignment_2_1_1) - { after(grammarAccess.getLocalVariablesAccess().getVariablesAssignment_2_1_1()); } + { before(grammarAccess.getStarArgumentAccess().getStarArgumentAction_0()); } + () + { after(grammarAccess.getStarArgumentAccess().getStarArgumentAction_0()); } ) ; finally { restoreStackSize(stackSize); } - -rule__QuantifiedExpression__Group__0 +rule__StarArgument__Group__1 @init { int stackSize = keepStackSize(); } : - rule__QuantifiedExpression__Group__0__Impl - rule__QuantifiedExpression__Group__1 + rule__StarArgument__Group__1__Impl ; finally { restoreStackSize(stackSize); } -rule__QuantifiedExpression__Group__0__Impl +rule__StarArgument__Group__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getQuantifiedExpressionAccess().getQuantifierAssignment_0()); } - (rule__QuantifiedExpression__QuantifierAssignment_0) - { after(grammarAccess.getQuantifiedExpressionAccess().getQuantifierAssignment_0()); } + { before(grammarAccess.getStarArgumentAccess().getAsteriskKeyword_1()); } + Asterisk + { after(grammarAccess.getStarArgumentAccess().getAsteriskKeyword_1()); } ) ; finally { restoreStackSize(stackSize); } -rule__QuantifiedExpression__Group__1 + +rule__TypedVariableArgument__Group__0 @init { int stackSize = keepStackSize(); } : - rule__QuantifiedExpression__Group__1__Impl - rule__QuantifiedExpression__Group__2 + rule__TypedVariableArgument__Group__0__Impl + rule__TypedVariableArgument__Group__1 ; finally { restoreStackSize(stackSize); } -rule__QuantifiedExpression__Group__1__Impl +rule__TypedVariableArgument__Group__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getQuantifiedExpressionAccess().getLocalVariablesAssignment_1()); } - (rule__QuantifiedExpression__LocalVariablesAssignment_1)? - { after(grammarAccess.getQuantifiedExpressionAccess().getLocalVariablesAssignment_1()); } + { before(grammarAccess.getTypedVariableArgumentAccess().getTypeReferenceAssignment_0()); } + (rule__TypedVariableArgument__TypeReferenceAssignment_0) + { after(grammarAccess.getTypedVariableArgumentAccess().getTypeReferenceAssignment_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__QuantifiedExpression__Group__2 +rule__TypedVariableArgument__Group__1 @init { int stackSize = keepStackSize(); } : - rule__QuantifiedExpression__Group__2__Impl - rule__QuantifiedExpression__Group__3 + rule__TypedVariableArgument__Group__1__Impl ; finally { restoreStackSize(stackSize); } -rule__QuantifiedExpression__Group__2__Impl +rule__TypedVariableArgument__Group__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getQuantifiedExpressionAccess().getLeftCurlyBracketKeyword_2()); } - LeftCurlyBracket - { after(grammarAccess.getQuantifiedExpressionAccess().getLeftCurlyBracketKeyword_2()); } + { before(grammarAccess.getTypedVariableArgumentAccess().getNameAssignment_1()); } + (rule__TypedVariableArgument__NameAssignment_1) + { after(grammarAccess.getTypedVariableArgumentAccess().getNameAssignment_1()); } ) ; finally { restoreStackSize(stackSize); } -rule__QuantifiedExpression__Group__3 + +rule__TypedStarArgument__Group__0 @init { int stackSize = keepStackSize(); } : - rule__QuantifiedExpression__Group__3__Impl - rule__QuantifiedExpression__Group__4 + rule__TypedStarArgument__Group__0__Impl + rule__TypedStarArgument__Group__1 ; finally { restoreStackSize(stackSize); } -rule__QuantifiedExpression__Group__3__Impl +rule__TypedStarArgument__Group__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getQuantifiedExpressionAccess().getBodyAssignment_3()); } - (rule__QuantifiedExpression__BodyAssignment_3) - { after(grammarAccess.getQuantifiedExpressionAccess().getBodyAssignment_3()); } + { before(grammarAccess.getTypedStarArgumentAccess().getTypeReferenceAssignment_0()); } + (rule__TypedStarArgument__TypeReferenceAssignment_0) + { after(grammarAccess.getTypedStarArgumentAccess().getTypeReferenceAssignment_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__QuantifiedExpression__Group__4 +rule__TypedStarArgument__Group__1 @init { int stackSize = keepStackSize(); } : - rule__QuantifiedExpression__Group__4__Impl + rule__TypedStarArgument__Group__1__Impl ; finally { restoreStackSize(stackSize); } -rule__QuantifiedExpression__Group__4__Impl +rule__TypedStarArgument__Group__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getQuantifiedExpressionAccess().getRightCurlyBracketKeyword_4()); } - RightCurlyBracket - { after(grammarAccess.getQuantifiedExpressionAccess().getRightCurlyBracketKeyword_4()); } + { before(grammarAccess.getTypedStarArgumentAccess().getAsteriskKeyword_1()); } + Asterisk + { after(grammarAccess.getTypedStarArgumentAccess().getAsteriskKeyword_1()); } ) ; finally { @@ -6332,377 +7772,377 @@ finally { } -rule__Aggregation__Group__0 +rule__Reference__Group__0 @init { int stackSize = keepStackSize(); } : - rule__Aggregation__Group__0__Impl - rule__Aggregation__Group__1 + rule__Reference__Group__0__Impl + rule__Reference__Group__1 ; finally { restoreStackSize(stackSize); } -rule__Aggregation__Group__0__Impl +rule__Reference__Group__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getAggregationAccess().getOpAssignment_0()); } - (rule__Aggregation__OpAssignment_0) - { after(grammarAccess.getAggregationAccess().getOpAssignment_0()); } + { before(grammarAccess.getReferenceAccess().getComponentsAssignment_0()); } + (rule__Reference__ComponentsAssignment_0) + { after(grammarAccess.getReferenceAccess().getComponentsAssignment_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__Aggregation__Group__1 +rule__Reference__Group__1 @init { int stackSize = keepStackSize(); } : - rule__Aggregation__Group__1__Impl - rule__Aggregation__Group__2 + rule__Reference__Group__1__Impl ; finally { restoreStackSize(stackSize); } -rule__Aggregation__Group__1__Impl +rule__Reference__Group__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getAggregationAccess().getLocalVariablesAssignment_1()); } - (rule__Aggregation__LocalVariablesAssignment_1)? - { after(grammarAccess.getAggregationAccess().getLocalVariablesAssignment_1()); } + { before(grammarAccess.getReferenceAccess().getGroup_1()); } + (rule__Reference__Group_1__0)* + { after(grammarAccess.getReferenceAccess().getGroup_1()); } ) ; finally { restoreStackSize(stackSize); } -rule__Aggregation__Group__2 + +rule__Reference__Group_1__0 @init { int stackSize = keepStackSize(); } : - rule__Aggregation__Group__2__Impl - rule__Aggregation__Group__3 + rule__Reference__Group_1__0__Impl + rule__Reference__Group_1__1 ; finally { restoreStackSize(stackSize); } -rule__Aggregation__Group__2__Impl +rule__Reference__Group_1__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getAggregationAccess().getLeftCurlyBracketKeyword_2()); } - LeftCurlyBracket - { after(grammarAccess.getAggregationAccess().getLeftCurlyBracketKeyword_2()); } + { before(grammarAccess.getReferenceAccess().getFullStopKeyword_1_0()); } + FullStop + { after(grammarAccess.getReferenceAccess().getFullStopKeyword_1_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__Aggregation__Group__3 +rule__Reference__Group_1__1 @init { int stackSize = keepStackSize(); } : - rule__Aggregation__Group__3__Impl - rule__Aggregation__Group__4 + rule__Reference__Group_1__1__Impl ; finally { restoreStackSize(stackSize); } -rule__Aggregation__Group__3__Impl +rule__Reference__Group_1__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getAggregationAccess().getBodyAssignment_3()); } - (rule__Aggregation__BodyAssignment_3) - { after(grammarAccess.getAggregationAccess().getBodyAssignment_3()); } + { before(grammarAccess.getReferenceAccess().getComponentsAssignment_1_1()); } + (rule__Reference__ComponentsAssignment_1_1) + { after(grammarAccess.getReferenceAccess().getComponentsAssignment_1_1()); } ) ; finally { restoreStackSize(stackSize); } -rule__Aggregation__Group__4 + +rule__PathComponent__Group__0 @init { int stackSize = keepStackSize(); } : - rule__Aggregation__Group__4__Impl - rule__Aggregation__Group__5 + rule__PathComponent__Group__0__Impl + rule__PathComponent__Group__1 ; finally { restoreStackSize(stackSize); } -rule__Aggregation__Group__4__Impl +rule__PathComponent__Group__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getAggregationAccess().getGroup_4()); } - (rule__Aggregation__Group_4__0)? - { after(grammarAccess.getAggregationAccess().getGroup_4()); } + { before(grammarAccess.getPathComponentAccess().getInverseAssignment_0()); } + (rule__PathComponent__InverseAssignment_0)? + { after(grammarAccess.getPathComponentAccess().getInverseAssignment_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__Aggregation__Group__5 +rule__PathComponent__Group__1 @init { int stackSize = keepStackSize(); } : - rule__Aggregation__Group__5__Impl + rule__PathComponent__Group__1__Impl + rule__PathComponent__Group__2 ; finally { restoreStackSize(stackSize); } -rule__Aggregation__Group__5__Impl +rule__PathComponent__Group__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getAggregationAccess().getRightCurlyBracketKeyword_5()); } - RightCurlyBracket - { after(grammarAccess.getAggregationAccess().getRightCurlyBracketKeyword_5()); } + { before(grammarAccess.getPathComponentAccess().getSymbolAssignment_1()); } + (rule__PathComponent__SymbolAssignment_1) + { after(grammarAccess.getPathComponentAccess().getSymbolAssignment_1()); } ) ; finally { restoreStackSize(stackSize); } - -rule__Aggregation__Group_4__0 +rule__PathComponent__Group__2 @init { int stackSize = keepStackSize(); } : - rule__Aggregation__Group_4__0__Impl - rule__Aggregation__Group_4__1 + rule__PathComponent__Group__2__Impl ; finally { restoreStackSize(stackSize); } -rule__Aggregation__Group_4__0__Impl +rule__PathComponent__Group__2__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getAggregationAccess().getVerticalLineKeyword_4_0()); } - VerticalLine - { after(grammarAccess.getAggregationAccess().getVerticalLineKeyword_4_0()); } + { before(grammarAccess.getPathComponentAccess().getAlternatives_2()); } + (rule__PathComponent__Alternatives_2)? + { after(grammarAccess.getPathComponentAccess().getAlternatives_2()); } ) ; finally { restoreStackSize(stackSize); } -rule__Aggregation__Group_4__1 + +rule__Interval__Group__0 @init { int stackSize = keepStackSize(); } : - rule__Aggregation__Group_4__1__Impl + rule__Interval__Group__0__Impl + rule__Interval__Group__1 ; finally { restoreStackSize(stackSize); } -rule__Aggregation__Group_4__1__Impl +rule__Interval__Group__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getAggregationAccess().getConditionAssignment_4_1()); } - (rule__Aggregation__ConditionAssignment_4_1) - { after(grammarAccess.getAggregationAccess().getConditionAssignment_4_1()); } + { before(grammarAccess.getIntervalAccess().getLeftSquareBracketKeyword_0()); } + LeftSquareBracket + { after(grammarAccess.getIntervalAccess().getLeftSquareBracketKeyword_0()); } ) ; finally { restoreStackSize(stackSize); } - -rule__AtomicExpression__Group_4__0 +rule__Interval__Group__1 @init { int stackSize = keepStackSize(); } : - rule__AtomicExpression__Group_4__0__Impl - rule__AtomicExpression__Group_4__1 + rule__Interval__Group__1__Impl + rule__Interval__Group__2 ; finally { restoreStackSize(stackSize); } -rule__AtomicExpression__Group_4__0__Impl +rule__Interval__Group__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getAtomicExpressionAccess().getLeftParenthesisKeyword_4_0()); } - LeftParenthesis - { after(grammarAccess.getAtomicExpressionAccess().getLeftParenthesisKeyword_4_0()); } + { before(grammarAccess.getIntervalAccess().getLowerBoundAssignment_1()); } + (rule__Interval__LowerBoundAssignment_1) + { after(grammarAccess.getIntervalAccess().getLowerBoundAssignment_1()); } ) ; finally { restoreStackSize(stackSize); } -rule__AtomicExpression__Group_4__1 +rule__Interval__Group__2 @init { int stackSize = keepStackSize(); } : - rule__AtomicExpression__Group_4__1__Impl - rule__AtomicExpression__Group_4__2 + rule__Interval__Group__2__Impl + rule__Interval__Group__3 ; finally { restoreStackSize(stackSize); } -rule__AtomicExpression__Group_4__1__Impl +rule__Interval__Group__2__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getAtomicExpressionAccess().getExpressionParserRuleCall_4_1()); } - ruleExpression - { after(grammarAccess.getAtomicExpressionAccess().getExpressionParserRuleCall_4_1()); } + { before(grammarAccess.getIntervalAccess().getCommaKeyword_2()); } + Comma + { after(grammarAccess.getIntervalAccess().getCommaKeyword_2()); } ) ; finally { restoreStackSize(stackSize); } -rule__AtomicExpression__Group_4__2 +rule__Interval__Group__3 @init { int stackSize = keepStackSize(); } : - rule__AtomicExpression__Group_4__2__Impl + rule__Interval__Group__3__Impl + rule__Interval__Group__4 ; finally { restoreStackSize(stackSize); } -rule__AtomicExpression__Group_4__2__Impl +rule__Interval__Group__3__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getAtomicExpressionAccess().getRightParenthesisKeyword_4_2()); } - RightParenthesis - { after(grammarAccess.getAtomicExpressionAccess().getRightParenthesisKeyword_4_2()); } + { before(grammarAccess.getIntervalAccess().getUpperBoundAssignment_3()); } + (rule__Interval__UpperBoundAssignment_3) + { after(grammarAccess.getIntervalAccess().getUpperBoundAssignment_3()); } ) ; finally { restoreStackSize(stackSize); } - -rule__Call__Group__0 +rule__Interval__Group__4 @init { int stackSize = keepStackSize(); } : - rule__Call__Group__0__Impl - rule__Call__Group__1 + rule__Interval__Group__4__Impl ; finally { restoreStackSize(stackSize); } -rule__Call__Group__0__Impl +rule__Interval__Group__4__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getCallAccess().getFunctorAssignment_0()); } - (rule__Call__FunctorAssignment_0) - { after(grammarAccess.getCallAccess().getFunctorAssignment_0()); } + { before(grammarAccess.getIntervalAccess().getRightSquareBracketKeyword_4()); } + RightSquareBracket + { after(grammarAccess.getIntervalAccess().getRightSquareBracketKeyword_4()); } ) ; finally { restoreStackSize(stackSize); } -rule__Call__Group__1 + +rule__InfinityLiteral__Group__0 @init { int stackSize = keepStackSize(); } : - rule__Call__Group__1__Impl - rule__Call__Group__2 + rule__InfinityLiteral__Group__0__Impl + rule__InfinityLiteral__Group__1 ; finally { restoreStackSize(stackSize); } -rule__Call__Group__1__Impl +rule__InfinityLiteral__Group__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getCallAccess().getAlternatives_1()); } - (rule__Call__Alternatives_1)? - { after(grammarAccess.getCallAccess().getAlternatives_1()); } + { before(grammarAccess.getInfinityLiteralAccess().getInfinityLiteralAction_0()); } + () + { after(grammarAccess.getInfinityLiteralAccess().getInfinityLiteralAction_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__Call__Group__2 +rule__InfinityLiteral__Group__1 @init { int stackSize = keepStackSize(); } : - rule__Call__Group__2__Impl + rule__InfinityLiteral__Group__1__Impl ; finally { restoreStackSize(stackSize); } -rule__Call__Group__2__Impl +rule__InfinityLiteral__Group__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getCallAccess().getArgumentListAssignment_2()); } - (rule__Call__ArgumentListAssignment_2) - { after(grammarAccess.getCallAccess().getArgumentListAssignment_2()); } + { before(grammarAccess.getInfinityLiteralAccess().getInfKeyword_1()); } + Inf + { after(grammarAccess.getInfinityLiteralAccess().getInfKeyword_1()); } ) ; finally { @@ -6710,269 +8150,269 @@ finally { } -rule__ArgumentList__Group__0 +rule__EmptyLiteral__Group__0 @init { int stackSize = keepStackSize(); } : - rule__ArgumentList__Group__0__Impl - rule__ArgumentList__Group__1 + rule__EmptyLiteral__Group__0__Impl + rule__EmptyLiteral__Group__1 ; finally { restoreStackSize(stackSize); } -rule__ArgumentList__Group__0__Impl +rule__EmptyLiteral__Group__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getArgumentListAccess().getArgumentListAction_0()); } + { before(grammarAccess.getEmptyLiteralAccess().getEmptyLiteralAction_0()); } () - { after(grammarAccess.getArgumentListAccess().getArgumentListAction_0()); } + { after(grammarAccess.getEmptyLiteralAccess().getEmptyLiteralAction_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__ArgumentList__Group__1 +rule__EmptyLiteral__Group__1 @init { int stackSize = keepStackSize(); } : - rule__ArgumentList__Group__1__Impl - rule__ArgumentList__Group__2 + rule__EmptyLiteral__Group__1__Impl ; finally { restoreStackSize(stackSize); } -rule__ArgumentList__Group__1__Impl +rule__EmptyLiteral__Group__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getArgumentListAccess().getLeftParenthesisKeyword_1()); } - LeftParenthesis - { after(grammarAccess.getArgumentListAccess().getLeftParenthesisKeyword_1()); } + { before(grammarAccess.getEmptyLiteralAccess().getEmptyKeyword_1()); } + Empty + { after(grammarAccess.getEmptyLiteralAccess().getEmptyKeyword_1()); } ) ; finally { restoreStackSize(stackSize); } -rule__ArgumentList__Group__2 + +rule__ClassDeclaration__Group__0 @init { int stackSize = keepStackSize(); } : - rule__ArgumentList__Group__2__Impl - rule__ArgumentList__Group__3 + rule__ClassDeclaration__Group__0__Impl + rule__ClassDeclaration__Group__1 ; finally { restoreStackSize(stackSize); } -rule__ArgumentList__Group__2__Impl +rule__ClassDeclaration__Group__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getArgumentListAccess().getGroup_2()); } - (rule__ArgumentList__Group_2__0)? - { after(grammarAccess.getArgumentListAccess().getGroup_2()); } + { before(grammarAccess.getClassDeclarationAccess().getUnorderedGroup_0()); } + (rule__ClassDeclaration__UnorderedGroup_0) + { after(grammarAccess.getClassDeclarationAccess().getUnorderedGroup_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__ArgumentList__Group__3 +rule__ClassDeclaration__Group__1 @init { int stackSize = keepStackSize(); } : - rule__ArgumentList__Group__3__Impl + rule__ClassDeclaration__Group__1__Impl + rule__ClassDeclaration__Group__2 ; finally { restoreStackSize(stackSize); } -rule__ArgumentList__Group__3__Impl +rule__ClassDeclaration__Group__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getArgumentListAccess().getRightParenthesisKeyword_3()); } - RightParenthesis - { after(grammarAccess.getArgumentListAccess().getRightParenthesisKeyword_3()); } + { before(grammarAccess.getClassDeclarationAccess().getClassKeyword_1()); } + Class + { after(grammarAccess.getClassDeclarationAccess().getClassKeyword_1()); } ) ; finally { restoreStackSize(stackSize); } - -rule__ArgumentList__Group_2__0 +rule__ClassDeclaration__Group__2 @init { int stackSize = keepStackSize(); } : - rule__ArgumentList__Group_2__0__Impl - rule__ArgumentList__Group_2__1 + rule__ClassDeclaration__Group__2__Impl + rule__ClassDeclaration__Group__3 ; finally { restoreStackSize(stackSize); } -rule__ArgumentList__Group_2__0__Impl +rule__ClassDeclaration__Group__2__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getArgumentListAccess().getArgumentsAssignment_2_0()); } - (rule__ArgumentList__ArgumentsAssignment_2_0) - { after(grammarAccess.getArgumentListAccess().getArgumentsAssignment_2_0()); } + { before(grammarAccess.getClassDeclarationAccess().getNameAssignment_2()); } + (rule__ClassDeclaration__NameAssignment_2) + { after(grammarAccess.getClassDeclarationAccess().getNameAssignment_2()); } ) ; finally { restoreStackSize(stackSize); } -rule__ArgumentList__Group_2__1 +rule__ClassDeclaration__Group__3 @init { int stackSize = keepStackSize(); } : - rule__ArgumentList__Group_2__1__Impl + rule__ClassDeclaration__Group__3__Impl + rule__ClassDeclaration__Group__4 ; finally { restoreStackSize(stackSize); } -rule__ArgumentList__Group_2__1__Impl +rule__ClassDeclaration__Group__3__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getArgumentListAccess().getGroup_2_1()); } - (rule__ArgumentList__Group_2_1__0)* - { after(grammarAccess.getArgumentListAccess().getGroup_2_1()); } + { before(grammarAccess.getClassDeclarationAccess().getGroup_3()); } + (rule__ClassDeclaration__Group_3__0)? + { after(grammarAccess.getClassDeclarationAccess().getGroup_3()); } ) ; finally { restoreStackSize(stackSize); } - -rule__ArgumentList__Group_2_1__0 +rule__ClassDeclaration__Group__4 @init { int stackSize = keepStackSize(); } : - rule__ArgumentList__Group_2_1__0__Impl - rule__ArgumentList__Group_2_1__1 + rule__ClassDeclaration__Group__4__Impl ; finally { restoreStackSize(stackSize); } -rule__ArgumentList__Group_2_1__0__Impl +rule__ClassDeclaration__Group__4__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getArgumentListAccess().getCommaKeyword_2_1_0()); } - Comma - { after(grammarAccess.getArgumentListAccess().getCommaKeyword_2_1_0()); } + { before(grammarAccess.getClassDeclarationAccess().getAlternatives_4()); } + (rule__ClassDeclaration__Alternatives_4) + { after(grammarAccess.getClassDeclarationAccess().getAlternatives_4()); } ) ; finally { restoreStackSize(stackSize); } -rule__ArgumentList__Group_2_1__1 + +rule__ClassDeclaration__Group_3__0 @init { int stackSize = keepStackSize(); } : - rule__ArgumentList__Group_2_1__1__Impl + rule__ClassDeclaration__Group_3__0__Impl + rule__ClassDeclaration__Group_3__1 ; finally { restoreStackSize(stackSize); } -rule__ArgumentList__Group_2_1__1__Impl +rule__ClassDeclaration__Group_3__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getArgumentListAccess().getArgumentsAssignment_2_1_1()); } - (rule__ArgumentList__ArgumentsAssignment_2_1_1) - { after(grammarAccess.getArgumentListAccess().getArgumentsAssignment_2_1_1()); } + { before(grammarAccess.getClassDeclarationAccess().getExtendsKeyword_3_0()); } + Extends + { after(grammarAccess.getClassDeclarationAccess().getExtendsKeyword_3_0()); } ) ; finally { restoreStackSize(stackSize); } - -rule__StarArgument__Group__0 +rule__ClassDeclaration__Group_3__1 @init { int stackSize = keepStackSize(); } : - rule__StarArgument__Group__0__Impl - rule__StarArgument__Group__1 + rule__ClassDeclaration__Group_3__1__Impl + rule__ClassDeclaration__Group_3__2 ; finally { restoreStackSize(stackSize); } -rule__StarArgument__Group__0__Impl +rule__ClassDeclaration__Group_3__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getStarArgumentAccess().getStarArgumentAction_0()); } - () - { after(grammarAccess.getStarArgumentAccess().getStarArgumentAction_0()); } + { before(grammarAccess.getClassDeclarationAccess().getSupertypesAssignment_3_1()); } + (rule__ClassDeclaration__SupertypesAssignment_3_1) + { after(grammarAccess.getClassDeclarationAccess().getSupertypesAssignment_3_1()); } ) ; finally { restoreStackSize(stackSize); } -rule__StarArgument__Group__1 +rule__ClassDeclaration__Group_3__2 @init { int stackSize = keepStackSize(); } : - rule__StarArgument__Group__1__Impl + rule__ClassDeclaration__Group_3__2__Impl ; finally { restoreStackSize(stackSize); } -rule__StarArgument__Group__1__Impl +rule__ClassDeclaration__Group_3__2__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getStarArgumentAccess().getAsteriskKeyword_1()); } - Asterisk - { after(grammarAccess.getStarArgumentAccess().getAsteriskKeyword_1()); } + { before(grammarAccess.getClassDeclarationAccess().getGroup_3_2()); } + (rule__ClassDeclaration__Group_3_2__0)* + { after(grammarAccess.getClassDeclarationAccess().getGroup_3_2()); } ) ; finally { @@ -6980,53 +8420,53 @@ finally { } -rule__TypedArgument__Group__0 +rule__ClassDeclaration__Group_3_2__0 @init { int stackSize = keepStackSize(); } : - rule__TypedArgument__Group__0__Impl - rule__TypedArgument__Group__1 + rule__ClassDeclaration__Group_3_2__0__Impl + rule__ClassDeclaration__Group_3_2__1 ; finally { restoreStackSize(stackSize); } -rule__TypedArgument__Group__0__Impl +rule__ClassDeclaration__Group_3_2__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getTypedArgumentAccess().getTypeAssignment_0()); } - (rule__TypedArgument__TypeAssignment_0) - { after(grammarAccess.getTypedArgumentAccess().getTypeAssignment_0()); } + { before(grammarAccess.getClassDeclarationAccess().getCommaKeyword_3_2_0()); } + Comma + { after(grammarAccess.getClassDeclarationAccess().getCommaKeyword_3_2_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__TypedArgument__Group__1 +rule__ClassDeclaration__Group_3_2__1 @init { int stackSize = keepStackSize(); } : - rule__TypedArgument__Group__1__Impl + rule__ClassDeclaration__Group_3_2__1__Impl ; finally { restoreStackSize(stackSize); } -rule__TypedArgument__Group__1__Impl +rule__ClassDeclaration__Group_3_2__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getTypedArgumentAccess().getVariableAssignment_1()); } - (rule__TypedArgument__VariableAssignment_1) - { after(grammarAccess.getTypedArgumentAccess().getVariableAssignment_1()); } + { before(grammarAccess.getClassDeclarationAccess().getSupertypesAssignment_3_2_1()); } + (rule__ClassDeclaration__SupertypesAssignment_3_2_1) + { after(grammarAccess.getClassDeclarationAccess().getSupertypesAssignment_3_2_1()); } ) ; finally { @@ -7034,242 +8474,242 @@ finally { } -rule__TypedStarArgument__Group__0 +rule__ClassDeclaration__Group_4_0__0 @init { int stackSize = keepStackSize(); } : - rule__TypedStarArgument__Group__0__Impl - rule__TypedStarArgument__Group__1 + rule__ClassDeclaration__Group_4_0__0__Impl + rule__ClassDeclaration__Group_4_0__1 ; finally { restoreStackSize(stackSize); } -rule__TypedStarArgument__Group__0__Impl +rule__ClassDeclaration__Group_4_0__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getTypedStarArgumentAccess().getTypeAssignment_0()); } - (rule__TypedStarArgument__TypeAssignment_0) - { after(grammarAccess.getTypedStarArgumentAccess().getTypeAssignment_0()); } + { before(grammarAccess.getClassDeclarationAccess().getLeftCurlyBracketKeyword_4_0_0()); } + LeftCurlyBracket + { after(grammarAccess.getClassDeclarationAccess().getLeftCurlyBracketKeyword_4_0_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__TypedStarArgument__Group__1 +rule__ClassDeclaration__Group_4_0__1 @init { int stackSize = keepStackSize(); } : - rule__TypedStarArgument__Group__1__Impl + rule__ClassDeclaration__Group_4_0__1__Impl + rule__ClassDeclaration__Group_4_0__2 ; finally { restoreStackSize(stackSize); } -rule__TypedStarArgument__Group__1__Impl +rule__ClassDeclaration__Group_4_0__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getTypedStarArgumentAccess().getAsteriskKeyword_1()); } - Asterisk - { after(grammarAccess.getTypedStarArgumentAccess().getAsteriskKeyword_1()); } + { before(grammarAccess.getClassDeclarationAccess().getFieldsAssignment_4_0_1()); } + (rule__ClassDeclaration__FieldsAssignment_4_0_1)* + { after(grammarAccess.getClassDeclarationAccess().getFieldsAssignment_4_0_1()); } ) ; finally { restoreStackSize(stackSize); } - -rule__Interval__Group__0 +rule__ClassDeclaration__Group_4_0__2 @init { int stackSize = keepStackSize(); } : - rule__Interval__Group__0__Impl - rule__Interval__Group__1 + rule__ClassDeclaration__Group_4_0__2__Impl ; finally { restoreStackSize(stackSize); } -rule__Interval__Group__0__Impl +rule__ClassDeclaration__Group_4_0__2__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getIntervalAccess().getLeftSquareBracketKeyword_0()); } - LeftSquareBracket - { after(grammarAccess.getIntervalAccess().getLeftSquareBracketKeyword_0()); } + { before(grammarAccess.getClassDeclarationAccess().getRightCurlyBracketKeyword_4_0_2()); } + RightCurlyBracket + { after(grammarAccess.getClassDeclarationAccess().getRightCurlyBracketKeyword_4_0_2()); } ) ; finally { restoreStackSize(stackSize); } -rule__Interval__Group__1 + +rule__Field__Group__0 @init { int stackSize = keepStackSize(); } : - rule__Interval__Group__1__Impl - rule__Interval__Group__2 + rule__Field__Group__0__Impl + rule__Field__Group__1 ; finally { restoreStackSize(stackSize); } -rule__Interval__Group__1__Impl +rule__Field__Group__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getIntervalAccess().getLowerBoundAssignment_1()); } - (rule__Interval__LowerBoundAssignment_1) - { after(grammarAccess.getIntervalAccess().getLowerBoundAssignment_1()); } + { before(grammarAccess.getFieldAccess().getAlternatives_0()); } + (rule__Field__Alternatives_0)? + { after(grammarAccess.getFieldAccess().getAlternatives_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__Interval__Group__2 +rule__Field__Group__1 @init { int stackSize = keepStackSize(); } : - rule__Interval__Group__2__Impl - rule__Interval__Group__3 + rule__Field__Group__1__Impl + rule__Field__Group__2 ; finally { restoreStackSize(stackSize); } -rule__Interval__Group__2__Impl +rule__Field__Group__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getIntervalAccess().getFullStopFullStopKeyword_2()); } - FullStopFullStop - { after(grammarAccess.getIntervalAccess().getFullStopFullStopKeyword_2()); } + { before(grammarAccess.getFieldAccess().getTypeAssignment_1()); } + (rule__Field__TypeAssignment_1) + { after(grammarAccess.getFieldAccess().getTypeAssignment_1()); } ) ; finally { restoreStackSize(stackSize); } -rule__Interval__Group__3 +rule__Field__Group__2 @init { int stackSize = keepStackSize(); } : - rule__Interval__Group__3__Impl - rule__Interval__Group__4 + rule__Field__Group__2__Impl + rule__Field__Group__3 ; finally { restoreStackSize(stackSize); } -rule__Interval__Group__3__Impl +rule__Field__Group__2__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getIntervalAccess().getUpperBoundAssignment_3()); } - (rule__Interval__UpperBoundAssignment_3) - { after(grammarAccess.getIntervalAccess().getUpperBoundAssignment_3()); } + { before(grammarAccess.getFieldAccess().getMultiplicityAssignment_2()); } + (rule__Field__MultiplicityAssignment_2)? + { after(grammarAccess.getFieldAccess().getMultiplicityAssignment_2()); } ) ; finally { restoreStackSize(stackSize); } -rule__Interval__Group__4 +rule__Field__Group__3 @init { int stackSize = keepStackSize(); } : - rule__Interval__Group__4__Impl + rule__Field__Group__3__Impl + rule__Field__Group__4 ; finally { restoreStackSize(stackSize); } -rule__Interval__Group__4__Impl +rule__Field__Group__3__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getIntervalAccess().getRightSquareBracketKeyword_4()); } - RightSquareBracket - { after(grammarAccess.getIntervalAccess().getRightSquareBracketKeyword_4()); } + { before(grammarAccess.getFieldAccess().getNameAssignment_3()); } + (rule__Field__NameAssignment_3) + { after(grammarAccess.getFieldAccess().getNameAssignment_3()); } ) ; finally { restoreStackSize(stackSize); } - -rule__InfinityLiteral__Group__0 +rule__Field__Group__4 @init { int stackSize = keepStackSize(); } : - rule__InfinityLiteral__Group__0__Impl - rule__InfinityLiteral__Group__1 + rule__Field__Group__4__Impl + rule__Field__Group__5 ; finally { restoreStackSize(stackSize); } -rule__InfinityLiteral__Group__0__Impl +rule__Field__Group__4__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getInfinityLiteralAccess().getInfinityLiteralAction_0()); } - () - { after(grammarAccess.getInfinityLiteralAccess().getInfinityLiteralAction_0()); } + { before(grammarAccess.getFieldAccess().getGroup_4()); } + (rule__Field__Group_4__0)? + { after(grammarAccess.getFieldAccess().getGroup_4()); } ) ; finally { restoreStackSize(stackSize); } -rule__InfinityLiteral__Group__1 +rule__Field__Group__5 @init { int stackSize = keepStackSize(); } : - rule__InfinityLiteral__Group__1__Impl + rule__Field__Group__5__Impl ; finally { restoreStackSize(stackSize); } -rule__InfinityLiteral__Group__1__Impl +rule__Field__Group__5__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getInfinityLiteralAccess().getInfKeyword_1()); } - Inf - { after(grammarAccess.getInfinityLiteralAccess().getInfKeyword_1()); } + { before(grammarAccess.getFieldAccess().getSemicolonKeyword_5()); } + (Semicolon)? + { after(grammarAccess.getFieldAccess().getSemicolonKeyword_5()); } ) ; finally { @@ -7277,53 +8717,53 @@ finally { } -rule__EmptyIntervalLiteral__Group__0 +rule__Field__Group_4__0 @init { int stackSize = keepStackSize(); } : - rule__EmptyIntervalLiteral__Group__0__Impl - rule__EmptyIntervalLiteral__Group__1 + rule__Field__Group_4__0__Impl + rule__Field__Group_4__1 ; finally { restoreStackSize(stackSize); } -rule__EmptyIntervalLiteral__Group__0__Impl +rule__Field__Group_4__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getEmptyIntervalLiteralAccess().getEmptyIntervalLiteralAction_0()); } - () - { after(grammarAccess.getEmptyIntervalLiteralAccess().getEmptyIntervalLiteralAction_0()); } + { before(grammarAccess.getFieldAccess().getOppositeKeyword_4_0()); } + Opposite + { after(grammarAccess.getFieldAccess().getOppositeKeyword_4_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__EmptyIntervalLiteral__Group__1 +rule__Field__Group_4__1 @init { int stackSize = keepStackSize(); } : - rule__EmptyIntervalLiteral__Group__1__Impl + rule__Field__Group_4__1__Impl ; finally { restoreStackSize(stackSize); } -rule__EmptyIntervalLiteral__Group__1__Impl +rule__Field__Group_4__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getEmptyIntervalLiteralAccess().getEmptyKeyword_1()); } - Empty - { after(grammarAccess.getEmptyIntervalLiteralAccess().getEmptyKeyword_1()); } + { before(grammarAccess.getFieldAccess().getOppositeAssignment_4_1()); } + (rule__Field__OppositeAssignment_4_1) + { after(grammarAccess.getFieldAccess().getOppositeAssignment_4_1()); } ) ; finally { @@ -7331,701 +8771,701 @@ finally { } -rule__ClassDefinition__Group__0 +rule__UnboundedMultiplicity__Group__0 @init { int stackSize = keepStackSize(); } : - rule__ClassDefinition__Group__0__Impl - rule__ClassDefinition__Group__1 + rule__UnboundedMultiplicity__Group__0__Impl + rule__UnboundedMultiplicity__Group__1 ; finally { restoreStackSize(stackSize); } -rule__ClassDefinition__Group__0__Impl +rule__UnboundedMultiplicity__Group__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getClassDefinitionAccess().getAbstractAssignment_0()); } - (rule__ClassDefinition__AbstractAssignment_0)? - { after(grammarAccess.getClassDefinitionAccess().getAbstractAssignment_0()); } + { before(grammarAccess.getUnboundedMultiplicityAccess().getUnboundedMultiplicityAction_0()); } + () + { after(grammarAccess.getUnboundedMultiplicityAccess().getUnboundedMultiplicityAction_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__ClassDefinition__Group__1 +rule__UnboundedMultiplicity__Group__1 @init { int stackSize = keepStackSize(); } : - rule__ClassDefinition__Group__1__Impl - rule__ClassDefinition__Group__2 + rule__UnboundedMultiplicity__Group__1__Impl + rule__UnboundedMultiplicity__Group__2 ; finally { restoreStackSize(stackSize); } -rule__ClassDefinition__Group__1__Impl +rule__UnboundedMultiplicity__Group__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getClassDefinitionAccess().getClassKeyword_1()); } - Class - { after(grammarAccess.getClassDefinitionAccess().getClassKeyword_1()); } + { before(grammarAccess.getUnboundedMultiplicityAccess().getLeftSquareBracketKeyword_1()); } + LeftSquareBracket + { after(grammarAccess.getUnboundedMultiplicityAccess().getLeftSquareBracketKeyword_1()); } ) ; finally { restoreStackSize(stackSize); } -rule__ClassDefinition__Group__2 +rule__UnboundedMultiplicity__Group__2 @init { int stackSize = keepStackSize(); } : - rule__ClassDefinition__Group__2__Impl - rule__ClassDefinition__Group__3 + rule__UnboundedMultiplicity__Group__2__Impl ; finally { restoreStackSize(stackSize); } -rule__ClassDefinition__Group__2__Impl +rule__UnboundedMultiplicity__Group__2__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getClassDefinitionAccess().getNameAssignment_2()); } - (rule__ClassDefinition__NameAssignment_2) - { after(grammarAccess.getClassDefinitionAccess().getNameAssignment_2()); } + { before(grammarAccess.getUnboundedMultiplicityAccess().getRightSquareBracketKeyword_2()); } + RightSquareBracket + { after(grammarAccess.getUnboundedMultiplicityAccess().getRightSquareBracketKeyword_2()); } ) ; finally { restoreStackSize(stackSize); } -rule__ClassDefinition__Group__3 + +rule__ExactMultiplicity__Group__0 @init { int stackSize = keepStackSize(); } : - rule__ClassDefinition__Group__3__Impl - rule__ClassDefinition__Group__4 + rule__ExactMultiplicity__Group__0__Impl + rule__ExactMultiplicity__Group__1 ; finally { restoreStackSize(stackSize); } -rule__ClassDefinition__Group__3__Impl +rule__ExactMultiplicity__Group__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getClassDefinitionAccess().getGroup_3()); } - (rule__ClassDefinition__Group_3__0)? - { after(grammarAccess.getClassDefinitionAccess().getGroup_3()); } + { before(grammarAccess.getExactMultiplicityAccess().getLeftSquareBracketKeyword_0()); } + LeftSquareBracket + { after(grammarAccess.getExactMultiplicityAccess().getLeftSquareBracketKeyword_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__ClassDefinition__Group__4 +rule__ExactMultiplicity__Group__1 @init { int stackSize = keepStackSize(); } : - rule__ClassDefinition__Group__4__Impl - rule__ClassDefinition__Group__5 + rule__ExactMultiplicity__Group__1__Impl + rule__ExactMultiplicity__Group__2 ; finally { restoreStackSize(stackSize); } -rule__ClassDefinition__Group__4__Impl +rule__ExactMultiplicity__Group__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getClassDefinitionAccess().getLeftCurlyBracketKeyword_4()); } - LeftCurlyBracket - { after(grammarAccess.getClassDefinitionAccess().getLeftCurlyBracketKeyword_4()); } + { before(grammarAccess.getExactMultiplicityAccess().getValueAssignment_1()); } + (rule__ExactMultiplicity__ValueAssignment_1) + { after(grammarAccess.getExactMultiplicityAccess().getValueAssignment_1()); } ) ; finally { restoreStackSize(stackSize); } -rule__ClassDefinition__Group__5 +rule__ExactMultiplicity__Group__2 @init { int stackSize = keepStackSize(); } : - rule__ClassDefinition__Group__5__Impl - rule__ClassDefinition__Group__6 + rule__ExactMultiplicity__Group__2__Impl ; finally { restoreStackSize(stackSize); } -rule__ClassDefinition__Group__5__Impl +rule__ExactMultiplicity__Group__2__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getClassDefinitionAccess().getMembersAssignment_5()); } - (rule__ClassDefinition__MembersAssignment_5)* - { after(grammarAccess.getClassDefinitionAccess().getMembersAssignment_5()); } + { before(grammarAccess.getExactMultiplicityAccess().getRightSquareBracketKeyword_2()); } + RightSquareBracket + { after(grammarAccess.getExactMultiplicityAccess().getRightSquareBracketKeyword_2()); } ) ; finally { restoreStackSize(stackSize); } -rule__ClassDefinition__Group__6 + +rule__BoundedMultiplicity__Group__0 @init { int stackSize = keepStackSize(); } : - rule__ClassDefinition__Group__6__Impl + rule__BoundedMultiplicity__Group__0__Impl + rule__BoundedMultiplicity__Group__1 ; finally { restoreStackSize(stackSize); } -rule__ClassDefinition__Group__6__Impl +rule__BoundedMultiplicity__Group__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getClassDefinitionAccess().getRightCurlyBracketKeyword_6()); } - RightCurlyBracket - { after(grammarAccess.getClassDefinitionAccess().getRightCurlyBracketKeyword_6()); } + { before(grammarAccess.getBoundedMultiplicityAccess().getLeftSquareBracketKeyword_0()); } + LeftSquareBracket + { after(grammarAccess.getBoundedMultiplicityAccess().getLeftSquareBracketKeyword_0()); } ) ; finally { restoreStackSize(stackSize); } - -rule__ClassDefinition__Group_3__0 +rule__BoundedMultiplicity__Group__1 @init { int stackSize = keepStackSize(); } : - rule__ClassDefinition__Group_3__0__Impl - rule__ClassDefinition__Group_3__1 + rule__BoundedMultiplicity__Group__1__Impl + rule__BoundedMultiplicity__Group__2 ; finally { restoreStackSize(stackSize); } -rule__ClassDefinition__Group_3__0__Impl +rule__BoundedMultiplicity__Group__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getClassDefinitionAccess().getExtendsKeyword_3_0()); } - Extends - { after(grammarAccess.getClassDefinitionAccess().getExtendsKeyword_3_0()); } + { before(grammarAccess.getBoundedMultiplicityAccess().getLowerBoundAssignment_1()); } + (rule__BoundedMultiplicity__LowerBoundAssignment_1) + { after(grammarAccess.getBoundedMultiplicityAccess().getLowerBoundAssignment_1()); } ) ; finally { restoreStackSize(stackSize); } -rule__ClassDefinition__Group_3__1 +rule__BoundedMultiplicity__Group__2 @init { int stackSize = keepStackSize(); } : - rule__ClassDefinition__Group_3__1__Impl - rule__ClassDefinition__Group_3__2 + rule__BoundedMultiplicity__Group__2__Impl + rule__BoundedMultiplicity__Group__3 ; finally { restoreStackSize(stackSize); } -rule__ClassDefinition__Group_3__1__Impl +rule__BoundedMultiplicity__Group__2__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getClassDefinitionAccess().getSuperclassesAssignment_3_1()); } - (rule__ClassDefinition__SuperclassesAssignment_3_1) - { after(grammarAccess.getClassDefinitionAccess().getSuperclassesAssignment_3_1()); } + { before(grammarAccess.getBoundedMultiplicityAccess().getCommaKeyword_2()); } + Comma + { after(grammarAccess.getBoundedMultiplicityAccess().getCommaKeyword_2()); } ) ; finally { restoreStackSize(stackSize); } -rule__ClassDefinition__Group_3__2 +rule__BoundedMultiplicity__Group__3 @init { int stackSize = keepStackSize(); } : - rule__ClassDefinition__Group_3__2__Impl + rule__BoundedMultiplicity__Group__3__Impl + rule__BoundedMultiplicity__Group__4 ; finally { restoreStackSize(stackSize); } -rule__ClassDefinition__Group_3__2__Impl +rule__BoundedMultiplicity__Group__3__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getClassDefinitionAccess().getGroup_3_2()); } - (rule__ClassDefinition__Group_3_2__0)* - { after(grammarAccess.getClassDefinitionAccess().getGroup_3_2()); } + { before(grammarAccess.getBoundedMultiplicityAccess().getUpperBoundAssignment_3()); } + (rule__BoundedMultiplicity__UpperBoundAssignment_3) + { after(grammarAccess.getBoundedMultiplicityAccess().getUpperBoundAssignment_3()); } ) ; finally { restoreStackSize(stackSize); } - -rule__ClassDefinition__Group_3_2__0 +rule__BoundedMultiplicity__Group__4 @init { int stackSize = keepStackSize(); } : - rule__ClassDefinition__Group_3_2__0__Impl - rule__ClassDefinition__Group_3_2__1 + rule__BoundedMultiplicity__Group__4__Impl ; finally { restoreStackSize(stackSize); } -rule__ClassDefinition__Group_3_2__0__Impl +rule__BoundedMultiplicity__Group__4__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getClassDefinitionAccess().getCommaKeyword_3_2_0()); } - Comma - { after(grammarAccess.getClassDefinitionAccess().getCommaKeyword_3_2_0()); } + { before(grammarAccess.getBoundedMultiplicityAccess().getRightSquareBracketKeyword_4()); } + RightSquareBracket + { after(grammarAccess.getBoundedMultiplicityAccess().getRightSquareBracketKeyword_4()); } ) ; finally { restoreStackSize(stackSize); } -rule__ClassDefinition__Group_3_2__1 + +rule__EnumDeclaration__Group__0 @init { int stackSize = keepStackSize(); } : - rule__ClassDefinition__Group_3_2__1__Impl + rule__EnumDeclaration__Group__0__Impl + rule__EnumDeclaration__Group__1 ; finally { restoreStackSize(stackSize); } -rule__ClassDefinition__Group_3_2__1__Impl +rule__EnumDeclaration__Group__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getClassDefinitionAccess().getSuperclassesAssignment_3_2_1()); } - (rule__ClassDefinition__SuperclassesAssignment_3_2_1) - { after(grammarAccess.getClassDefinitionAccess().getSuperclassesAssignment_3_2_1()); } + { before(grammarAccess.getEnumDeclarationAccess().getEnumKeyword_0()); } + Enum + { after(grammarAccess.getEnumDeclarationAccess().getEnumKeyword_0()); } ) ; finally { restoreStackSize(stackSize); } - -rule__MemberDefinition__Group__0 +rule__EnumDeclaration__Group__1 @init { int stackSize = keepStackSize(); } : - rule__MemberDefinition__Group__0__Impl - rule__MemberDefinition__Group__1 + rule__EnumDeclaration__Group__1__Impl + rule__EnumDeclaration__Group__2 ; finally { restoreStackSize(stackSize); } -rule__MemberDefinition__Group__0__Impl +rule__EnumDeclaration__Group__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getMemberDefinitionAccess().getContainmentAssignment_0()); } - (rule__MemberDefinition__ContainmentAssignment_0)? - { after(grammarAccess.getMemberDefinitionAccess().getContainmentAssignment_0()); } + { before(grammarAccess.getEnumDeclarationAccess().getNameAssignment_1()); } + (rule__EnumDeclaration__NameAssignment_1) + { after(grammarAccess.getEnumDeclarationAccess().getNameAssignment_1()); } ) ; finally { restoreStackSize(stackSize); } -rule__MemberDefinition__Group__1 +rule__EnumDeclaration__Group__2 @init { int stackSize = keepStackSize(); } : - rule__MemberDefinition__Group__1__Impl - rule__MemberDefinition__Group__2 + rule__EnumDeclaration__Group__2__Impl ; finally { restoreStackSize(stackSize); } -rule__MemberDefinition__Group__1__Impl +rule__EnumDeclaration__Group__2__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getMemberDefinitionAccess().getTypeAssignment_1()); } - (rule__MemberDefinition__TypeAssignment_1) - { after(grammarAccess.getMemberDefinitionAccess().getTypeAssignment_1()); } + { before(grammarAccess.getEnumDeclarationAccess().getAlternatives_2()); } + (rule__EnumDeclaration__Alternatives_2) + { after(grammarAccess.getEnumDeclarationAccess().getAlternatives_2()); } ) ; finally { restoreStackSize(stackSize); } -rule__MemberDefinition__Group__2 + +rule__EnumDeclaration__Group_2_0__0 @init { int stackSize = keepStackSize(); } : - rule__MemberDefinition__Group__2__Impl - rule__MemberDefinition__Group__3 + rule__EnumDeclaration__Group_2_0__0__Impl + rule__EnumDeclaration__Group_2_0__1 ; finally { restoreStackSize(stackSize); } -rule__MemberDefinition__Group__2__Impl +rule__EnumDeclaration__Group_2_0__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getMemberDefinitionAccess().getMultiplicityAssignment_2()); } - (rule__MemberDefinition__MultiplicityAssignment_2)? - { after(grammarAccess.getMemberDefinitionAccess().getMultiplicityAssignment_2()); } + { before(grammarAccess.getEnumDeclarationAccess().getLeftCurlyBracketKeyword_2_0_0()); } + LeftCurlyBracket + { after(grammarAccess.getEnumDeclarationAccess().getLeftCurlyBracketKeyword_2_0_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__MemberDefinition__Group__3 +rule__EnumDeclaration__Group_2_0__1 @init { int stackSize = keepStackSize(); } : - rule__MemberDefinition__Group__3__Impl - rule__MemberDefinition__Group__4 + rule__EnumDeclaration__Group_2_0__1__Impl + rule__EnumDeclaration__Group_2_0__2 ; finally { restoreStackSize(stackSize); } -rule__MemberDefinition__Group__3__Impl +rule__EnumDeclaration__Group_2_0__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getMemberDefinitionAccess().getNameAssignment_3()); } - (rule__MemberDefinition__NameAssignment_3) - { after(grammarAccess.getMemberDefinitionAccess().getNameAssignment_3()); } + { before(grammarAccess.getEnumDeclarationAccess().getGroup_2_0_1()); } + (rule__EnumDeclaration__Group_2_0_1__0)? + { after(grammarAccess.getEnumDeclarationAccess().getGroup_2_0_1()); } ) ; finally { restoreStackSize(stackSize); } -rule__MemberDefinition__Group__4 +rule__EnumDeclaration__Group_2_0__2 @init { int stackSize = keepStackSize(); } : - rule__MemberDefinition__Group__4__Impl - rule__MemberDefinition__Group__5 + rule__EnumDeclaration__Group_2_0__2__Impl ; finally { restoreStackSize(stackSize); } -rule__MemberDefinition__Group__4__Impl +rule__EnumDeclaration__Group_2_0__2__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getMemberDefinitionAccess().getGroup_4()); } - (rule__MemberDefinition__Group_4__0)? - { after(grammarAccess.getMemberDefinitionAccess().getGroup_4()); } + { before(grammarAccess.getEnumDeclarationAccess().getRightCurlyBracketKeyword_2_0_2()); } + RightCurlyBracket + { after(grammarAccess.getEnumDeclarationAccess().getRightCurlyBracketKeyword_2_0_2()); } ) ; finally { restoreStackSize(stackSize); } -rule__MemberDefinition__Group__5 + +rule__EnumDeclaration__Group_2_0_1__0 @init { int stackSize = keepStackSize(); } : - rule__MemberDefinition__Group__5__Impl + rule__EnumDeclaration__Group_2_0_1__0__Impl + rule__EnumDeclaration__Group_2_0_1__1 ; finally { restoreStackSize(stackSize); } -rule__MemberDefinition__Group__5__Impl +rule__EnumDeclaration__Group_2_0_1__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getMemberDefinitionAccess().getSemicolonKeyword_5()); } - (Semicolon)? - { after(grammarAccess.getMemberDefinitionAccess().getSemicolonKeyword_5()); } + { before(grammarAccess.getEnumDeclarationAccess().getLiteralsAssignment_2_0_1_0()); } + (rule__EnumDeclaration__LiteralsAssignment_2_0_1_0) + { after(grammarAccess.getEnumDeclarationAccess().getLiteralsAssignment_2_0_1_0()); } ) ; finally { restoreStackSize(stackSize); } - -rule__MemberDefinition__Group_4__0 +rule__EnumDeclaration__Group_2_0_1__1 @init { int stackSize = keepStackSize(); } : - rule__MemberDefinition__Group_4__0__Impl - rule__MemberDefinition__Group_4__1 + rule__EnumDeclaration__Group_2_0_1__1__Impl ; finally { restoreStackSize(stackSize); } -rule__MemberDefinition__Group_4__0__Impl +rule__EnumDeclaration__Group_2_0_1__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getMemberDefinitionAccess().getOppositeKeyword_4_0()); } - Opposite - { after(grammarAccess.getMemberDefinitionAccess().getOppositeKeyword_4_0()); } + { before(grammarAccess.getEnumDeclarationAccess().getGroup_2_0_1_1()); } + (rule__EnumDeclaration__Group_2_0_1_1__0)* + { after(grammarAccess.getEnumDeclarationAccess().getGroup_2_0_1_1()); } ) ; finally { restoreStackSize(stackSize); } -rule__MemberDefinition__Group_4__1 + +rule__EnumDeclaration__Group_2_0_1_1__0 @init { int stackSize = keepStackSize(); } : - rule__MemberDefinition__Group_4__1__Impl + rule__EnumDeclaration__Group_2_0_1_1__0__Impl + rule__EnumDeclaration__Group_2_0_1_1__1 ; finally { restoreStackSize(stackSize); } -rule__MemberDefinition__Group_4__1__Impl +rule__EnumDeclaration__Group_2_0_1_1__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getMemberDefinitionAccess().getOppositeAssignment_4_1()); } - (rule__MemberDefinition__OppositeAssignment_4_1) - { after(grammarAccess.getMemberDefinitionAccess().getOppositeAssignment_4_1()); } + { before(grammarAccess.getEnumDeclarationAccess().getCommaKeyword_2_0_1_1_0()); } + (Comma)? + { after(grammarAccess.getEnumDeclarationAccess().getCommaKeyword_2_0_1_1_0()); } ) ; finally { restoreStackSize(stackSize); } - -rule__ManyMultiplicity__Group__0 +rule__EnumDeclaration__Group_2_0_1_1__1 @init { int stackSize = keepStackSize(); } : - rule__ManyMultiplicity__Group__0__Impl - rule__ManyMultiplicity__Group__1 + rule__EnumDeclaration__Group_2_0_1_1__1__Impl ; finally { restoreStackSize(stackSize); } -rule__ManyMultiplicity__Group__0__Impl +rule__EnumDeclaration__Group_2_0_1_1__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getManyMultiplicityAccess().getManyMultiplicityAction_0()); } - () - { after(grammarAccess.getManyMultiplicityAccess().getManyMultiplicityAction_0()); } + { before(grammarAccess.getEnumDeclarationAccess().getLiteralsAssignment_2_0_1_1_1()); } + (rule__EnumDeclaration__LiteralsAssignment_2_0_1_1_1) + { after(grammarAccess.getEnumDeclarationAccess().getLiteralsAssignment_2_0_1_1_1()); } ) ; finally { restoreStackSize(stackSize); } -rule__ManyMultiplicity__Group__1 + +rule__ExactScope__Group__0 @init { int stackSize = keepStackSize(); } : - rule__ManyMultiplicity__Group__1__Impl - rule__ManyMultiplicity__Group__2 + rule__ExactScope__Group__0__Impl + rule__ExactScope__Group__1 ; finally { restoreStackSize(stackSize); } -rule__ManyMultiplicity__Group__1__Impl +rule__ExactScope__Group__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getManyMultiplicityAccess().getLeftSquareBracketKeyword_1()); } - LeftSquareBracket - { after(grammarAccess.getManyMultiplicityAccess().getLeftSquareBracketKeyword_1()); } + { before(grammarAccess.getExactScopeAccess().getScopeKeyword_0()); } + Scope + { after(grammarAccess.getExactScopeAccess().getScopeKeyword_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__ManyMultiplicity__Group__2 +rule__ExactScope__Group__1 @init { int stackSize = keepStackSize(); } : - rule__ManyMultiplicity__Group__2__Impl + rule__ExactScope__Group__1__Impl + rule__ExactScope__Group__2 ; finally { restoreStackSize(stackSize); } -rule__ManyMultiplicity__Group__2__Impl +rule__ExactScope__Group__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getManyMultiplicityAccess().getRightSquareBracketKeyword_2()); } - RightSquareBracket - { after(grammarAccess.getManyMultiplicityAccess().getRightSquareBracketKeyword_2()); } + { before(grammarAccess.getExactScopeAccess().getTypeAssignment_1()); } + (rule__ExactScope__TypeAssignment_1) + { after(grammarAccess.getExactScopeAccess().getTypeAssignment_1()); } ) ; finally { restoreStackSize(stackSize); } - -rule__ExactMultiplicity__Group__0 +rule__ExactScope__Group__2 @init { int stackSize = keepStackSize(); } : - rule__ExactMultiplicity__Group__0__Impl - rule__ExactMultiplicity__Group__1 + rule__ExactScope__Group__2__Impl + rule__ExactScope__Group__3 ; finally { restoreStackSize(stackSize); } -rule__ExactMultiplicity__Group__0__Impl +rule__ExactScope__Group__2__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getExactMultiplicityAccess().getLeftSquareBracketKeyword_0()); } - LeftSquareBracket - { after(grammarAccess.getExactMultiplicityAccess().getLeftSquareBracketKeyword_0()); } + { before(grammarAccess.getExactScopeAccess().getEqualsSignEqualsSignKeyword_2()); } + EqualsSignEqualsSign + { after(grammarAccess.getExactScopeAccess().getEqualsSignEqualsSignKeyword_2()); } ) ; finally { restoreStackSize(stackSize); } -rule__ExactMultiplicity__Group__1 +rule__ExactScope__Group__3 @init { int stackSize = keepStackSize(); } : - rule__ExactMultiplicity__Group__1__Impl - rule__ExactMultiplicity__Group__2 + rule__ExactScope__Group__3__Impl + rule__ExactScope__Group__4 ; finally { restoreStackSize(stackSize); } -rule__ExactMultiplicity__Group__1__Impl +rule__ExactScope__Group__3__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getExactMultiplicityAccess().getMultiplicityAssignment_1()); } - (rule__ExactMultiplicity__MultiplicityAssignment_1) - { after(grammarAccess.getExactMultiplicityAccess().getMultiplicityAssignment_1()); } + { before(grammarAccess.getExactScopeAccess().getSizeAssignment_3()); } + (rule__ExactScope__SizeAssignment_3) + { after(grammarAccess.getExactScopeAccess().getSizeAssignment_3()); } ) ; finally { restoreStackSize(stackSize); } -rule__ExactMultiplicity__Group__2 +rule__ExactScope__Group__4 @init { int stackSize = keepStackSize(); } : - rule__ExactMultiplicity__Group__2__Impl + rule__ExactScope__Group__4__Impl ; finally { restoreStackSize(stackSize); } -rule__ExactMultiplicity__Group__2__Impl +rule__ExactScope__Group__4__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getExactMultiplicityAccess().getRightSquareBracketKeyword_2()); } - RightSquareBracket - { after(grammarAccess.getExactMultiplicityAccess().getRightSquareBracketKeyword_2()); } + { before(grammarAccess.getExactScopeAccess().getFULL_STOPTerminalRuleCall_4()); } + RULE_FULL_STOP + { after(grammarAccess.getExactScopeAccess().getFULL_STOPTerminalRuleCall_4()); } ) ; finally { @@ -8033,242 +9473,242 @@ finally { } -rule__BoundedMultiplicity__Group__0 +rule__BoundedScope__Group__0 @init { int stackSize = keepStackSize(); } : - rule__BoundedMultiplicity__Group__0__Impl - rule__BoundedMultiplicity__Group__1 + rule__BoundedScope__Group__0__Impl + rule__BoundedScope__Group__1 ; finally { restoreStackSize(stackSize); } -rule__BoundedMultiplicity__Group__0__Impl +rule__BoundedScope__Group__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getBoundedMultiplicityAccess().getLeftSquareBracketKeyword_0()); } - LeftSquareBracket - { after(grammarAccess.getBoundedMultiplicityAccess().getLeftSquareBracketKeyword_0()); } + { before(grammarAccess.getBoundedScopeAccess().getScopeKeyword_0()); } + Scope + { after(grammarAccess.getBoundedScopeAccess().getScopeKeyword_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__BoundedMultiplicity__Group__1 +rule__BoundedScope__Group__1 @init { int stackSize = keepStackSize(); } : - rule__BoundedMultiplicity__Group__1__Impl - rule__BoundedMultiplicity__Group__2 + rule__BoundedScope__Group__1__Impl + rule__BoundedScope__Group__2 ; finally { restoreStackSize(stackSize); } -rule__BoundedMultiplicity__Group__1__Impl +rule__BoundedScope__Group__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getBoundedMultiplicityAccess().getLowerBoundAssignment_1()); } - (rule__BoundedMultiplicity__LowerBoundAssignment_1) - { after(grammarAccess.getBoundedMultiplicityAccess().getLowerBoundAssignment_1()); } + { before(grammarAccess.getBoundedScopeAccess().getAlternatives_1()); } + (rule__BoundedScope__Alternatives_1) + { after(grammarAccess.getBoundedScopeAccess().getAlternatives_1()); } ) ; finally { restoreStackSize(stackSize); } -rule__BoundedMultiplicity__Group__2 +rule__BoundedScope__Group__2 @init { int stackSize = keepStackSize(); } : - rule__BoundedMultiplicity__Group__2__Impl - rule__BoundedMultiplicity__Group__3 + rule__BoundedScope__Group__2__Impl ; finally { restoreStackSize(stackSize); } -rule__BoundedMultiplicity__Group__2__Impl +rule__BoundedScope__Group__2__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getBoundedMultiplicityAccess().getFullStopFullStopKeyword_2()); } - FullStopFullStop - { after(grammarAccess.getBoundedMultiplicityAccess().getFullStopFullStopKeyword_2()); } + { before(grammarAccess.getBoundedScopeAccess().getFULL_STOPTerminalRuleCall_2()); } + RULE_FULL_STOP + { after(grammarAccess.getBoundedScopeAccess().getFULL_STOPTerminalRuleCall_2()); } ) ; finally { restoreStackSize(stackSize); } -rule__BoundedMultiplicity__Group__3 + +rule__BoundedScope__Group_1_0__0 @init { int stackSize = keepStackSize(); } : - rule__BoundedMultiplicity__Group__3__Impl - rule__BoundedMultiplicity__Group__4 + rule__BoundedScope__Group_1_0__0__Impl + rule__BoundedScope__Group_1_0__1 ; finally { restoreStackSize(stackSize); } -rule__BoundedMultiplicity__Group__3__Impl +rule__BoundedScope__Group_1_0__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getBoundedMultiplicityAccess().getUpperBoundAssignment_3()); } - (rule__BoundedMultiplicity__UpperBoundAssignment_3) - { after(grammarAccess.getBoundedMultiplicityAccess().getUpperBoundAssignment_3()); } + { before(grammarAccess.getBoundedScopeAccess().getGroup_1_0_0()); } + (rule__BoundedScope__Group_1_0_0__0)? + { after(grammarAccess.getBoundedScopeAccess().getGroup_1_0_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__BoundedMultiplicity__Group__4 +rule__BoundedScope__Group_1_0__1 @init { int stackSize = keepStackSize(); } : - rule__BoundedMultiplicity__Group__4__Impl + rule__BoundedScope__Group_1_0__1__Impl + rule__BoundedScope__Group_1_0__2 ; finally { restoreStackSize(stackSize); } -rule__BoundedMultiplicity__Group__4__Impl +rule__BoundedScope__Group_1_0__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getBoundedMultiplicityAccess().getRightSquareBracketKeyword_4()); } - RightSquareBracket - { after(grammarAccess.getBoundedMultiplicityAccess().getRightSquareBracketKeyword_4()); } + { before(grammarAccess.getBoundedScopeAccess().getTypeAssignment_1_0_1()); } + (rule__BoundedScope__TypeAssignment_1_0_1) + { after(grammarAccess.getBoundedScopeAccess().getTypeAssignment_1_0_1()); } ) ; finally { restoreStackSize(stackSize); } - -rule__ExactScopeDefinition__Group__0 +rule__BoundedScope__Group_1_0__2 @init { int stackSize = keepStackSize(); } : - rule__ExactScopeDefinition__Group__0__Impl - rule__ExactScopeDefinition__Group__1 + rule__BoundedScope__Group_1_0__2__Impl + rule__BoundedScope__Group_1_0__3 ; finally { restoreStackSize(stackSize); } -rule__ExactScopeDefinition__Group__0__Impl +rule__BoundedScope__Group_1_0__2__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getExactScopeDefinitionAccess().getScopeKeyword_0()); } - Scope - { after(grammarAccess.getExactScopeDefinitionAccess().getScopeKeyword_0()); } + { before(grammarAccess.getBoundedScopeAccess().getLessThanSignEqualsSignKeyword_1_0_2()); } + LessThanSignEqualsSign + { after(grammarAccess.getBoundedScopeAccess().getLessThanSignEqualsSignKeyword_1_0_2()); } ) ; finally { restoreStackSize(stackSize); } -rule__ExactScopeDefinition__Group__1 +rule__BoundedScope__Group_1_0__3 @init { int stackSize = keepStackSize(); } : - rule__ExactScopeDefinition__Group__1__Impl - rule__ExactScopeDefinition__Group__2 + rule__BoundedScope__Group_1_0__3__Impl ; finally { restoreStackSize(stackSize); } -rule__ExactScopeDefinition__Group__1__Impl +rule__BoundedScope__Group_1_0__3__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getExactScopeDefinitionAccess().getTypeAssignment_1()); } - (rule__ExactScopeDefinition__TypeAssignment_1) - { after(grammarAccess.getExactScopeDefinitionAccess().getTypeAssignment_1()); } + { before(grammarAccess.getBoundedScopeAccess().getUpperBoundAssignment_1_0_3()); } + (rule__BoundedScope__UpperBoundAssignment_1_0_3) + { after(grammarAccess.getBoundedScopeAccess().getUpperBoundAssignment_1_0_3()); } ) ; finally { restoreStackSize(stackSize); } -rule__ExactScopeDefinition__Group__2 + +rule__BoundedScope__Group_1_0_0__0 @init { int stackSize = keepStackSize(); } : - rule__ExactScopeDefinition__Group__2__Impl - rule__ExactScopeDefinition__Group__3 + rule__BoundedScope__Group_1_0_0__0__Impl + rule__BoundedScope__Group_1_0_0__1 ; finally { restoreStackSize(stackSize); } -rule__ExactScopeDefinition__Group__2__Impl +rule__BoundedScope__Group_1_0_0__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getExactScopeDefinitionAccess().getEqualsSignEqualsSignKeyword_2()); } - EqualsSignEqualsSign - { after(grammarAccess.getExactScopeDefinitionAccess().getEqualsSignEqualsSignKeyword_2()); } + { before(grammarAccess.getBoundedScopeAccess().getLowerBoundAssignment_1_0_0_0()); } + (rule__BoundedScope__LowerBoundAssignment_1_0_0_0) + { after(grammarAccess.getBoundedScopeAccess().getLowerBoundAssignment_1_0_0_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__ExactScopeDefinition__Group__3 +rule__BoundedScope__Group_1_0_0__1 @init { int stackSize = keepStackSize(); } : - rule__ExactScopeDefinition__Group__3__Impl + rule__BoundedScope__Group_1_0_0__1__Impl ; finally { restoreStackSize(stackSize); } -rule__ExactScopeDefinition__Group__3__Impl +rule__BoundedScope__Group_1_0_0__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getExactScopeDefinitionAccess().getExactScopeAssignment_3()); } - (rule__ExactScopeDefinition__ExactScopeAssignment_3) - { after(grammarAccess.getExactScopeDefinitionAccess().getExactScopeAssignment_3()); } + { before(grammarAccess.getBoundedScopeAccess().getLessThanSignEqualsSignKeyword_1_0_0_1()); } + LessThanSignEqualsSign + { after(grammarAccess.getBoundedScopeAccess().getLessThanSignEqualsSignKeyword_1_0_0_1()); } ) ; finally { @@ -8276,161 +9716,161 @@ finally { } -rule__BoundedScopeDefinition__Group__0 +rule__BoundedScope__Group_1_1__0 @init { int stackSize = keepStackSize(); } : - rule__BoundedScopeDefinition__Group__0__Impl - rule__BoundedScopeDefinition__Group__1 + rule__BoundedScope__Group_1_1__0__Impl + rule__BoundedScope__Group_1_1__1 ; finally { restoreStackSize(stackSize); } -rule__BoundedScopeDefinition__Group__0__Impl +rule__BoundedScope__Group_1_1__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getBoundedScopeDefinitionAccess().getScopeKeyword_0()); } - Scope - { after(grammarAccess.getBoundedScopeDefinitionAccess().getScopeKeyword_0()); } + { before(grammarAccess.getBoundedScopeAccess().getUpperBoundAssignment_1_1_0()); } + (rule__BoundedScope__UpperBoundAssignment_1_1_0) + { after(grammarAccess.getBoundedScopeAccess().getUpperBoundAssignment_1_1_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__BoundedScopeDefinition__Group__1 +rule__BoundedScope__Group_1_1__1 @init { int stackSize = keepStackSize(); } : - rule__BoundedScopeDefinition__Group__1__Impl + rule__BoundedScope__Group_1_1__1__Impl + rule__BoundedScope__Group_1_1__2 ; finally { restoreStackSize(stackSize); } -rule__BoundedScopeDefinition__Group__1__Impl +rule__BoundedScope__Group_1_1__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getBoundedScopeDefinitionAccess().getAlternatives_1()); } - (rule__BoundedScopeDefinition__Alternatives_1) - { after(grammarAccess.getBoundedScopeDefinitionAccess().getAlternatives_1()); } + { before(grammarAccess.getBoundedScopeAccess().getGreaterThanSignEqualsSignKeyword_1_1_1()); } + GreaterThanSignEqualsSign + { after(grammarAccess.getBoundedScopeAccess().getGreaterThanSignEqualsSignKeyword_1_1_1()); } ) ; finally { restoreStackSize(stackSize); } - -rule__BoundedScopeDefinition__Group_1_0__0 +rule__BoundedScope__Group_1_1__2 @init { int stackSize = keepStackSize(); } : - rule__BoundedScopeDefinition__Group_1_0__0__Impl - rule__BoundedScopeDefinition__Group_1_0__1 + rule__BoundedScope__Group_1_1__2__Impl + rule__BoundedScope__Group_1_1__3 ; finally { restoreStackSize(stackSize); } -rule__BoundedScopeDefinition__Group_1_0__0__Impl +rule__BoundedScope__Group_1_1__2__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getBoundedScopeDefinitionAccess().getGroup_1_0_0()); } - (rule__BoundedScopeDefinition__Group_1_0_0__0)? - { after(grammarAccess.getBoundedScopeDefinitionAccess().getGroup_1_0_0()); } + { before(grammarAccess.getBoundedScopeAccess().getTypeAssignment_1_1_2()); } + (rule__BoundedScope__TypeAssignment_1_1_2) + { after(grammarAccess.getBoundedScopeAccess().getTypeAssignment_1_1_2()); } ) ; finally { restoreStackSize(stackSize); } -rule__BoundedScopeDefinition__Group_1_0__1 +rule__BoundedScope__Group_1_1__3 @init { int stackSize = keepStackSize(); } : - rule__BoundedScopeDefinition__Group_1_0__1__Impl - rule__BoundedScopeDefinition__Group_1_0__2 + rule__BoundedScope__Group_1_1__3__Impl ; finally { restoreStackSize(stackSize); } -rule__BoundedScopeDefinition__Group_1_0__1__Impl +rule__BoundedScope__Group_1_1__3__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getBoundedScopeDefinitionAccess().getTypeAssignment_1_0_1()); } - (rule__BoundedScopeDefinition__TypeAssignment_1_0_1) - { after(grammarAccess.getBoundedScopeDefinitionAccess().getTypeAssignment_1_0_1()); } + { before(grammarAccess.getBoundedScopeAccess().getGroup_1_1_3()); } + (rule__BoundedScope__Group_1_1_3__0)? + { after(grammarAccess.getBoundedScopeAccess().getGroup_1_1_3()); } ) ; finally { restoreStackSize(stackSize); } -rule__BoundedScopeDefinition__Group_1_0__2 + +rule__BoundedScope__Group_1_1_3__0 @init { int stackSize = keepStackSize(); } : - rule__BoundedScopeDefinition__Group_1_0__2__Impl - rule__BoundedScopeDefinition__Group_1_0__3 + rule__BoundedScope__Group_1_1_3__0__Impl + rule__BoundedScope__Group_1_1_3__1 ; finally { restoreStackSize(stackSize); } -rule__BoundedScopeDefinition__Group_1_0__2__Impl +rule__BoundedScope__Group_1_1_3__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getBoundedScopeDefinitionAccess().getLessThanSignEqualsSignKeyword_1_0_2()); } - LessThanSignEqualsSign - { after(grammarAccess.getBoundedScopeDefinitionAccess().getLessThanSignEqualsSignKeyword_1_0_2()); } + { before(grammarAccess.getBoundedScopeAccess().getGreaterThanSignEqualsSignKeyword_1_1_3_0()); } + GreaterThanSignEqualsSign + { after(grammarAccess.getBoundedScopeAccess().getGreaterThanSignEqualsSignKeyword_1_1_3_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__BoundedScopeDefinition__Group_1_0__3 +rule__BoundedScope__Group_1_1_3__1 @init { int stackSize = keepStackSize(); } : - rule__BoundedScopeDefinition__Group_1_0__3__Impl + rule__BoundedScope__Group_1_1_3__1__Impl ; finally { restoreStackSize(stackSize); } -rule__BoundedScopeDefinition__Group_1_0__3__Impl +rule__BoundedScope__Group_1_1_3__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getBoundedScopeDefinitionAccess().getUpperBoundAssignment_1_0_3()); } - (rule__BoundedScopeDefinition__UpperBoundAssignment_1_0_3) - { after(grammarAccess.getBoundedScopeDefinitionAccess().getUpperBoundAssignment_1_0_3()); } + { before(grammarAccess.getBoundedScopeAccess().getLowerBoundAssignment_1_1_3_1()); } + (rule__BoundedScope__LowerBoundAssignment_1_1_3_1) + { after(grammarAccess.getBoundedScopeAccess().getLowerBoundAssignment_1_1_3_1()); } ) ; finally { @@ -8438,161 +9878,161 @@ finally { } -rule__BoundedScopeDefinition__Group_1_0_0__0 +rule__LowerBoundedScope__Group__0 @init { int stackSize = keepStackSize(); } : - rule__BoundedScopeDefinition__Group_1_0_0__0__Impl - rule__BoundedScopeDefinition__Group_1_0_0__1 + rule__LowerBoundedScope__Group__0__Impl + rule__LowerBoundedScope__Group__1 ; finally { restoreStackSize(stackSize); } -rule__BoundedScopeDefinition__Group_1_0_0__0__Impl +rule__LowerBoundedScope__Group__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getBoundedScopeDefinitionAccess().getLowerBoundAssignment_1_0_0_0()); } - (rule__BoundedScopeDefinition__LowerBoundAssignment_1_0_0_0) - { after(grammarAccess.getBoundedScopeDefinitionAccess().getLowerBoundAssignment_1_0_0_0()); } + { before(grammarAccess.getLowerBoundedScopeAccess().getScopeKeyword_0()); } + Scope + { after(grammarAccess.getLowerBoundedScopeAccess().getScopeKeyword_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__BoundedScopeDefinition__Group_1_0_0__1 +rule__LowerBoundedScope__Group__1 @init { int stackSize = keepStackSize(); } : - rule__BoundedScopeDefinition__Group_1_0_0__1__Impl + rule__LowerBoundedScope__Group__1__Impl + rule__LowerBoundedScope__Group__2 ; finally { restoreStackSize(stackSize); } -rule__BoundedScopeDefinition__Group_1_0_0__1__Impl +rule__LowerBoundedScope__Group__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getBoundedScopeDefinitionAccess().getLessThanSignEqualsSignKeyword_1_0_0_1()); } - LessThanSignEqualsSign - { after(grammarAccess.getBoundedScopeDefinitionAccess().getLessThanSignEqualsSignKeyword_1_0_0_1()); } + { before(grammarAccess.getLowerBoundedScopeAccess().getAlternatives_1()); } + (rule__LowerBoundedScope__Alternatives_1) + { after(grammarAccess.getLowerBoundedScopeAccess().getAlternatives_1()); } ) ; finally { restoreStackSize(stackSize); } - -rule__BoundedScopeDefinition__Group_1_1__0 +rule__LowerBoundedScope__Group__2 @init { int stackSize = keepStackSize(); } : - rule__BoundedScopeDefinition__Group_1_1__0__Impl - rule__BoundedScopeDefinition__Group_1_1__1 + rule__LowerBoundedScope__Group__2__Impl ; finally { restoreStackSize(stackSize); } -rule__BoundedScopeDefinition__Group_1_1__0__Impl +rule__LowerBoundedScope__Group__2__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getBoundedScopeDefinitionAccess().getUpperBoundAssignment_1_1_0()); } - (rule__BoundedScopeDefinition__UpperBoundAssignment_1_1_0) - { after(grammarAccess.getBoundedScopeDefinitionAccess().getUpperBoundAssignment_1_1_0()); } + { before(grammarAccess.getLowerBoundedScopeAccess().getFULL_STOPTerminalRuleCall_2()); } + RULE_FULL_STOP + { after(grammarAccess.getLowerBoundedScopeAccess().getFULL_STOPTerminalRuleCall_2()); } ) ; finally { restoreStackSize(stackSize); } -rule__BoundedScopeDefinition__Group_1_1__1 + +rule__LowerBoundedScope__Group_1_0__0 @init { int stackSize = keepStackSize(); } : - rule__BoundedScopeDefinition__Group_1_1__1__Impl - rule__BoundedScopeDefinition__Group_1_1__2 + rule__LowerBoundedScope__Group_1_0__0__Impl + rule__LowerBoundedScope__Group_1_0__1 ; finally { restoreStackSize(stackSize); } -rule__BoundedScopeDefinition__Group_1_1__1__Impl +rule__LowerBoundedScope__Group_1_0__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getBoundedScopeDefinitionAccess().getGreaterThanSignEqualsSignKeyword_1_1_1()); } - GreaterThanSignEqualsSign - { after(grammarAccess.getBoundedScopeDefinitionAccess().getGreaterThanSignEqualsSignKeyword_1_1_1()); } + { before(grammarAccess.getLowerBoundedScopeAccess().getLowerBoundAssignment_1_0_0()); } + (rule__LowerBoundedScope__LowerBoundAssignment_1_0_0) + { after(grammarAccess.getLowerBoundedScopeAccess().getLowerBoundAssignment_1_0_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__BoundedScopeDefinition__Group_1_1__2 +rule__LowerBoundedScope__Group_1_0__1 @init { int stackSize = keepStackSize(); } : - rule__BoundedScopeDefinition__Group_1_1__2__Impl - rule__BoundedScopeDefinition__Group_1_1__3 + rule__LowerBoundedScope__Group_1_0__1__Impl + rule__LowerBoundedScope__Group_1_0__2 ; finally { restoreStackSize(stackSize); } -rule__BoundedScopeDefinition__Group_1_1__2__Impl +rule__LowerBoundedScope__Group_1_0__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getBoundedScopeDefinitionAccess().getTypeAssignment_1_1_2()); } - (rule__BoundedScopeDefinition__TypeAssignment_1_1_2) - { after(grammarAccess.getBoundedScopeDefinitionAccess().getTypeAssignment_1_1_2()); } + { before(grammarAccess.getLowerBoundedScopeAccess().getLessThanSignEqualsSignKeyword_1_0_1()); } + LessThanSignEqualsSign + { after(grammarAccess.getLowerBoundedScopeAccess().getLessThanSignEqualsSignKeyword_1_0_1()); } ) ; finally { restoreStackSize(stackSize); } -rule__BoundedScopeDefinition__Group_1_1__3 +rule__LowerBoundedScope__Group_1_0__2 @init { int stackSize = keepStackSize(); } : - rule__BoundedScopeDefinition__Group_1_1__3__Impl + rule__LowerBoundedScope__Group_1_0__2__Impl ; finally { restoreStackSize(stackSize); } -rule__BoundedScopeDefinition__Group_1_1__3__Impl +rule__LowerBoundedScope__Group_1_0__2__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getBoundedScopeDefinitionAccess().getGroup_1_1_3()); } - (rule__BoundedScopeDefinition__Group_1_1_3__0)? - { after(grammarAccess.getBoundedScopeDefinitionAccess().getGroup_1_1_3()); } + { before(grammarAccess.getLowerBoundedScopeAccess().getTypeAssignment_1_0_2()); } + (rule__LowerBoundedScope__TypeAssignment_1_0_2) + { after(grammarAccess.getLowerBoundedScopeAccess().getTypeAssignment_1_0_2()); } ) ; finally { @@ -8600,570 +10040,637 @@ finally { } -rule__BoundedScopeDefinition__Group_1_1_3__0 +rule__LowerBoundedScope__Group_1_1__0 @init { int stackSize = keepStackSize(); } : - rule__BoundedScopeDefinition__Group_1_1_3__0__Impl - rule__BoundedScopeDefinition__Group_1_1_3__1 + rule__LowerBoundedScope__Group_1_1__0__Impl + rule__LowerBoundedScope__Group_1_1__1 ; finally { restoreStackSize(stackSize); } -rule__BoundedScopeDefinition__Group_1_1_3__0__Impl +rule__LowerBoundedScope__Group_1_1__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getBoundedScopeDefinitionAccess().getGreaterThanSignEqualsSignKeyword_1_1_3_0()); } - GreaterThanSignEqualsSign - { after(grammarAccess.getBoundedScopeDefinitionAccess().getGreaterThanSignEqualsSignKeyword_1_1_3_0()); } + { before(grammarAccess.getLowerBoundedScopeAccess().getTypeAssignment_1_1_0()); } + (rule__LowerBoundedScope__TypeAssignment_1_1_0) + { after(grammarAccess.getLowerBoundedScopeAccess().getTypeAssignment_1_1_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__BoundedScopeDefinition__Group_1_1_3__1 +rule__LowerBoundedScope__Group_1_1__1 @init { int stackSize = keepStackSize(); } : - rule__BoundedScopeDefinition__Group_1_1_3__1__Impl + rule__LowerBoundedScope__Group_1_1__1__Impl + rule__LowerBoundedScope__Group_1_1__2 ; finally { restoreStackSize(stackSize); } -rule__BoundedScopeDefinition__Group_1_1_3__1__Impl +rule__LowerBoundedScope__Group_1_1__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getBoundedScopeDefinitionAccess().getLowerBoundAssignment_1_1_3_1()); } - (rule__BoundedScopeDefinition__LowerBoundAssignment_1_1_3_1) - { after(grammarAccess.getBoundedScopeDefinitionAccess().getLowerBoundAssignment_1_1_3_1()); } + { before(grammarAccess.getLowerBoundedScopeAccess().getGreaterThanSignEqualsSignKeyword_1_1_1()); } + GreaterThanSignEqualsSign + { after(grammarAccess.getLowerBoundedScopeAccess().getGreaterThanSignEqualsSignKeyword_1_1_1()); } ) ; finally { restoreStackSize(stackSize); } - -rule__LowerBoundedScopeDefinition__Group__0 +rule__LowerBoundedScope__Group_1_1__2 @init { int stackSize = keepStackSize(); } : - rule__LowerBoundedScopeDefinition__Group__0__Impl - rule__LowerBoundedScopeDefinition__Group__1 + rule__LowerBoundedScope__Group_1_1__2__Impl ; finally { restoreStackSize(stackSize); } -rule__LowerBoundedScopeDefinition__Group__0__Impl +rule__LowerBoundedScope__Group_1_1__2__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getScopeKeyword_0()); } - Scope - { after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getScopeKeyword_0()); } + { before(grammarAccess.getLowerBoundedScopeAccess().getLowerBoundAssignment_1_1_2()); } + (rule__LowerBoundedScope__LowerBoundAssignment_1_1_2) + { after(grammarAccess.getLowerBoundedScopeAccess().getLowerBoundAssignment_1_1_2()); } ) ; finally { restoreStackSize(stackSize); } -rule__LowerBoundedScopeDefinition__Group__1 + +rule__ObjectiveDeclaration__Group__0 @init { int stackSize = keepStackSize(); } : - rule__LowerBoundedScopeDefinition__Group__1__Impl + rule__ObjectiveDeclaration__Group__0__Impl + rule__ObjectiveDeclaration__Group__1 ; finally { restoreStackSize(stackSize); } -rule__LowerBoundedScopeDefinition__Group__1__Impl +rule__ObjectiveDeclaration__Group__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getAlternatives_1()); } - (rule__LowerBoundedScopeDefinition__Alternatives_1) - { after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getAlternatives_1()); } + { before(grammarAccess.getObjectiveDeclarationAccess().getKindAssignment_0()); } + (rule__ObjectiveDeclaration__KindAssignment_0) + { after(grammarAccess.getObjectiveDeclarationAccess().getKindAssignment_0()); } ) ; finally { restoreStackSize(stackSize); } - -rule__LowerBoundedScopeDefinition__Group_1_0__0 +rule__ObjectiveDeclaration__Group__1 @init { int stackSize = keepStackSize(); } : - rule__LowerBoundedScopeDefinition__Group_1_0__0__Impl - rule__LowerBoundedScopeDefinition__Group_1_0__1 + rule__ObjectiveDeclaration__Group__1__Impl + rule__ObjectiveDeclaration__Group__2 ; finally { restoreStackSize(stackSize); } -rule__LowerBoundedScopeDefinition__Group_1_0__0__Impl +rule__ObjectiveDeclaration__Group__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getLowerBoundAssignment_1_0_0()); } - (rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_0_0) - { after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getLowerBoundAssignment_1_0_0()); } + { before(grammarAccess.getObjectiveDeclarationAccess().getObjectiveAssignment_1()); } + (rule__ObjectiveDeclaration__ObjectiveAssignment_1) + { after(grammarAccess.getObjectiveDeclarationAccess().getObjectiveAssignment_1()); } ) ; finally { restoreStackSize(stackSize); } -rule__LowerBoundedScopeDefinition__Group_1_0__1 +rule__ObjectiveDeclaration__Group__2 @init { int stackSize = keepStackSize(); } : - rule__LowerBoundedScopeDefinition__Group_1_0__1__Impl - rule__LowerBoundedScopeDefinition__Group_1_0__2 + rule__ObjectiveDeclaration__Group__2__Impl ; finally { restoreStackSize(stackSize); } -rule__LowerBoundedScopeDefinition__Group_1_0__1__Impl +rule__ObjectiveDeclaration__Group__2__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getLessThanSignEqualsSignKeyword_1_0_1()); } - LessThanSignEqualsSign - { after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getLessThanSignEqualsSignKeyword_1_0_1()); } + { before(grammarAccess.getObjectiveDeclarationAccess().getFULL_STOPTerminalRuleCall_2()); } + RULE_FULL_STOP + { after(grammarAccess.getObjectiveDeclarationAccess().getFULL_STOPTerminalRuleCall_2()); } ) ; finally { restoreStackSize(stackSize); } -rule__LowerBoundedScopeDefinition__Group_1_0__2 + +rule__Real__Group__0 @init { int stackSize = keepStackSize(); } : - rule__LowerBoundedScopeDefinition__Group_1_0__2__Impl + rule__Real__Group__0__Impl + rule__Real__Group__1 ; finally { restoreStackSize(stackSize); } -rule__LowerBoundedScopeDefinition__Group_1_0__2__Impl +rule__Real__Group__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getTypeAssignment_1_0_2()); } - (rule__LowerBoundedScopeDefinition__TypeAssignment_1_0_2) - { after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getTypeAssignment_1_0_2()); } + { before(grammarAccess.getRealAccess().getINTTerminalRuleCall_0()); } + RULE_INT + { after(grammarAccess.getRealAccess().getINTTerminalRuleCall_0()); } ) ; finally { restoreStackSize(stackSize); } - -rule__LowerBoundedScopeDefinition__Group_1_1__0 +rule__Real__Group__1 @init { int stackSize = keepStackSize(); } : - rule__LowerBoundedScopeDefinition__Group_1_1__0__Impl - rule__LowerBoundedScopeDefinition__Group_1_1__1 + rule__Real__Group__1__Impl + rule__Real__Group__2 ; finally { restoreStackSize(stackSize); } -rule__LowerBoundedScopeDefinition__Group_1_1__0__Impl +rule__Real__Group__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getTypeAssignment_1_1_0()); } - (rule__LowerBoundedScopeDefinition__TypeAssignment_1_1_0) - { after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getTypeAssignment_1_1_0()); } + { before(grammarAccess.getRealAccess().getFullStopKeyword_1()); } + FullStop + { after(grammarAccess.getRealAccess().getFullStopKeyword_1()); } ) ; finally { restoreStackSize(stackSize); } -rule__LowerBoundedScopeDefinition__Group_1_1__1 +rule__Real__Group__2 @init { int stackSize = keepStackSize(); } : - rule__LowerBoundedScopeDefinition__Group_1_1__1__Impl - rule__LowerBoundedScopeDefinition__Group_1_1__2 + rule__Real__Group__2__Impl ; finally { restoreStackSize(stackSize); } -rule__LowerBoundedScopeDefinition__Group_1_1__1__Impl +rule__Real__Group__2__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getGreaterThanSignEqualsSignKeyword_1_1_1()); } - GreaterThanSignEqualsSign - { after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getGreaterThanSignEqualsSignKeyword_1_1_1()); } + { before(grammarAccess.getRealAccess().getINTTerminalRuleCall_2()); } + RULE_INT + { after(grammarAccess.getRealAccess().getINTTerminalRuleCall_2()); } ) ; finally { restoreStackSize(stackSize); } -rule__LowerBoundedScopeDefinition__Group_1_1__2 + +rule__QualifiedName__Group__0 @init { int stackSize = keepStackSize(); } : - rule__LowerBoundedScopeDefinition__Group_1_1__2__Impl + rule__QualifiedName__Group__0__Impl + rule__QualifiedName__Group__1 ; finally { restoreStackSize(stackSize); } -rule__LowerBoundedScopeDefinition__Group_1_1__2__Impl +rule__QualifiedName__Group__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getLowerBoundAssignment_1_1_2()); } - (rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_1_2) - { after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getLowerBoundAssignment_1_1_2()); } + { before(grammarAccess.getQualifiedNameAccess().getQualifiedNameSegmentParserRuleCall_0()); } + ruleQualifiedNameSegment + { after(grammarAccess.getQualifiedNameAccess().getQualifiedNameSegmentParserRuleCall_0()); } ) ; finally { restoreStackSize(stackSize); } - -rule__ObjectiveDefinition__Group__0 +rule__QualifiedName__Group__1 @init { int stackSize = keepStackSize(); } : - rule__ObjectiveDefinition__Group__0__Impl - rule__ObjectiveDefinition__Group__1 + rule__QualifiedName__Group__1__Impl ; finally { restoreStackSize(stackSize); } -rule__ObjectiveDefinition__Group__0__Impl +rule__QualifiedName__Group__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getObjectiveDefinitionAccess().getKindAssignment_0()); } - (rule__ObjectiveDefinition__KindAssignment_0) - { after(grammarAccess.getObjectiveDefinitionAccess().getKindAssignment_0()); } + { before(grammarAccess.getQualifiedNameAccess().getGroup_1()); } + (rule__QualifiedName__Group_1__0)* + { after(grammarAccess.getQualifiedNameAccess().getGroup_1()); } ) ; finally { restoreStackSize(stackSize); } -rule__ObjectiveDefinition__Group__1 + +rule__QualifiedName__Group_1__0 @init { int stackSize = keepStackSize(); } : - rule__ObjectiveDefinition__Group__1__Impl + rule__QualifiedName__Group_1__0__Impl + rule__QualifiedName__Group_1__1 ; finally { restoreStackSize(stackSize); } -rule__ObjectiveDefinition__Group__1__Impl +rule__QualifiedName__Group_1__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getObjectiveDefinitionAccess().getObjectiveAssignment_1()); } - (rule__ObjectiveDefinition__ObjectiveAssignment_1) - { after(grammarAccess.getObjectiveDefinitionAccess().getObjectiveAssignment_1()); } + { before(grammarAccess.getQualifiedNameAccess().getColonColonKeyword_1_0()); } + ColonColon + { after(grammarAccess.getQualifiedNameAccess().getColonColonKeyword_1_0()); } ) ; finally { restoreStackSize(stackSize); } - -rule__Real__Group__0 +rule__QualifiedName__Group_1__1 @init { int stackSize = keepStackSize(); } : - rule__Real__Group__0__Impl - rule__Real__Group__1 + rule__QualifiedName__Group_1__1__Impl ; finally { restoreStackSize(stackSize); } -rule__Real__Group__0__Impl +rule__QualifiedName__Group_1__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getRealAccess().getINTTerminalRuleCall_0()); } - RULE_INT - { after(grammarAccess.getRealAccess().getINTTerminalRuleCall_0()); } + { before(grammarAccess.getQualifiedNameAccess().getQualifiedNameSegmentParserRuleCall_1_1()); } + ruleQualifiedNameSegment + { after(grammarAccess.getQualifiedNameAccess().getQualifiedNameSegmentParserRuleCall_1_1()); } ) ; finally { restoreStackSize(stackSize); } -rule__Real__Group__1 + +rule__ExternPredicateDeclaration__UnorderedGroup_1 @init { int stackSize = keepStackSize(); + getUnorderedGroupHelper().enter(grammarAccess.getExternPredicateDeclarationAccess().getUnorderedGroup_1()); } : - rule__Real__Group__1__Impl + rule__ExternPredicateDeclaration__UnorderedGroup_1__0 + ? ; finally { + getUnorderedGroupHelper().leave(grammarAccess.getExternPredicateDeclarationAccess().getUnorderedGroup_1()); restoreStackSize(stackSize); } -rule__Real__Group__1__Impl +rule__ExternPredicateDeclaration__UnorderedGroup_1__Impl @init { int stackSize = keepStackSize(); + boolean selected = false; } : -( - { before(grammarAccess.getRealAccess().getGroup_1()); } - (rule__Real__Group_1__0)? - { after(grammarAccess.getRealAccess().getGroup_1()); } -) + ( + ( + {getUnorderedGroupHelper().canSelect(grammarAccess.getExternPredicateDeclarationAccess().getUnorderedGroup_1(), 0)}?=>( + { + getUnorderedGroupHelper().select(grammarAccess.getExternPredicateDeclarationAccess().getUnorderedGroup_1(), 0); + } + { + selected = true; + } + ( + { before(grammarAccess.getExternPredicateDeclarationAccess().getFunctionalAssignment_1_0()); } + (rule__ExternPredicateDeclaration__FunctionalAssignment_1_0) + { after(grammarAccess.getExternPredicateDeclarationAccess().getFunctionalAssignment_1_0()); } + ) + ) + )| + ( + {getUnorderedGroupHelper().canSelect(grammarAccess.getExternPredicateDeclarationAccess().getUnorderedGroup_1(), 1)}?=>( + { + getUnorderedGroupHelper().select(grammarAccess.getExternPredicateDeclarationAccess().getUnorderedGroup_1(), 1); + } + { + selected = true; + } + ( + { before(grammarAccess.getExternPredicateDeclarationAccess().getErrorAssignment_1_1()); } + (rule__ExternPredicateDeclaration__ErrorAssignment_1_1) + { after(grammarAccess.getExternPredicateDeclarationAccess().getErrorAssignment_1_1()); } + ) + ) + ) + ) ; finally { + if (selected) + getUnorderedGroupHelper().returnFromSelection(grammarAccess.getExternPredicateDeclarationAccess().getUnorderedGroup_1()); restoreStackSize(stackSize); } - -rule__Real__Group_1__0 +rule__ExternPredicateDeclaration__UnorderedGroup_1__0 @init { int stackSize = keepStackSize(); } : - rule__Real__Group_1__0__Impl - rule__Real__Group_1__1 + rule__ExternPredicateDeclaration__UnorderedGroup_1__Impl + rule__ExternPredicateDeclaration__UnorderedGroup_1__1? ; finally { restoreStackSize(stackSize); } -rule__Real__Group_1__0__Impl +rule__ExternPredicateDeclaration__UnorderedGroup_1__1 @init { int stackSize = keepStackSize(); } : -( - { before(grammarAccess.getRealAccess().getFullStopKeyword_1_0()); } - FullStop - { after(grammarAccess.getRealAccess().getFullStopKeyword_1_0()); } -) + rule__ExternPredicateDeclaration__UnorderedGroup_1__Impl ; finally { restoreStackSize(stackSize); } -rule__Real__Group_1__1 + +rule__ClassDeclaration__UnorderedGroup_0 @init { int stackSize = keepStackSize(); + getUnorderedGroupHelper().enter(grammarAccess.getClassDeclarationAccess().getUnorderedGroup_0()); } : - rule__Real__Group_1__1__Impl + rule__ClassDeclaration__UnorderedGroup_0__0 + ? ; finally { + getUnorderedGroupHelper().leave(grammarAccess.getClassDeclarationAccess().getUnorderedGroup_0()); restoreStackSize(stackSize); } -rule__Real__Group_1__1__Impl +rule__ClassDeclaration__UnorderedGroup_0__Impl @init { int stackSize = keepStackSize(); + boolean selected = false; } : -( - { before(grammarAccess.getRealAccess().getINTTerminalRuleCall_1_1()); } - RULE_INT - { after(grammarAccess.getRealAccess().getINTTerminalRuleCall_1_1()); } -) + ( + ( + {getUnorderedGroupHelper().canSelect(grammarAccess.getClassDeclarationAccess().getUnorderedGroup_0(), 0)}?=>( + { + getUnorderedGroupHelper().select(grammarAccess.getClassDeclarationAccess().getUnorderedGroup_0(), 0); + } + { + selected = true; + } + ( + { before(grammarAccess.getClassDeclarationAccess().getAbstractAssignment_0_0()); } + (rule__ClassDeclaration__AbstractAssignment_0_0) + { after(grammarAccess.getClassDeclarationAccess().getAbstractAssignment_0_0()); } + ) + ) + )| + ( + {getUnorderedGroupHelper().canSelect(grammarAccess.getClassDeclarationAccess().getUnorderedGroup_0(), 1)}?=>( + { + getUnorderedGroupHelper().select(grammarAccess.getClassDeclarationAccess().getUnorderedGroup_0(), 1); + } + { + selected = true; + } + ( + { before(grammarAccess.getClassDeclarationAccess().getRootAssignment_0_1()); } + (rule__ClassDeclaration__RootAssignment_0_1) + { after(grammarAccess.getClassDeclarationAccess().getRootAssignment_0_1()); } + ) + ) + ) + ) ; finally { + if (selected) + getUnorderedGroupHelper().returnFromSelection(grammarAccess.getClassDeclarationAccess().getUnorderedGroup_0()); restoreStackSize(stackSize); } - -rule__QualifiedName__Group_0__0 +rule__ClassDeclaration__UnorderedGroup_0__0 @init { int stackSize = keepStackSize(); } : - rule__QualifiedName__Group_0__0__Impl - rule__QualifiedName__Group_0__1 + rule__ClassDeclaration__UnorderedGroup_0__Impl + rule__ClassDeclaration__UnorderedGroup_0__1? ; finally { restoreStackSize(stackSize); } -rule__QualifiedName__Group_0__0__Impl +rule__ClassDeclaration__UnorderedGroup_0__1 @init { int stackSize = keepStackSize(); } : -( - { before(grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_0_0()); } - RULE_ID - { after(grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_0_0()); } -) + rule__ClassDeclaration__UnorderedGroup_0__Impl ; finally { restoreStackSize(stackSize); } -rule__QualifiedName__Group_0__1 + +rule__Problem__NameAssignment_0_1 @init { int stackSize = keepStackSize(); } : - rule__QualifiedName__Group_0__1__Impl + ( + { before(grammarAccess.getProblemAccess().getNameQualifiedNameParserRuleCall_0_1_0()); } + ruleQualifiedName + { after(grammarAccess.getProblemAccess().getNameQualifiedNameParserRuleCall_0_1_0()); } + ) ; finally { restoreStackSize(stackSize); } -rule__QualifiedName__Group_0__1__Impl +rule__Problem__ImportsAssignment_1 @init { int stackSize = keepStackSize(); } : -( - { before(grammarAccess.getQualifiedNameAccess().getGroup_0_1()); } - (rule__QualifiedName__Group_0_1__0)* - { after(grammarAccess.getQualifiedNameAccess().getGroup_0_1()); } -) + ( + { before(grammarAccess.getProblemAccess().getImportsImportParserRuleCall_1_0()); } + ruleImport + { after(grammarAccess.getProblemAccess().getImportsImportParserRuleCall_1_0()); } + ) ; finally { restoreStackSize(stackSize); } - -rule__QualifiedName__Group_0_1__0 +rule__Problem__StatementsAssignment_2 @init { int stackSize = keepStackSize(); } : - rule__QualifiedName__Group_0_1__0__Impl - rule__QualifiedName__Group_0_1__1 + ( + { before(grammarAccess.getProblemAccess().getStatementsStatementParserRuleCall_2_0()); } + ruleStatement + { after(grammarAccess.getProblemAccess().getStatementsStatementParserRuleCall_2_0()); } + ) ; finally { restoreStackSize(stackSize); } -rule__QualifiedName__Group_0_1__0__Impl +rule__UriImport__UriAssignment_1 @init { int stackSize = keepStackSize(); } : -( - { before(grammarAccess.getQualifiedNameAccess().getFullStopKeyword_0_1_0()); } - FullStop - { after(grammarAccess.getQualifiedNameAccess().getFullStopKeyword_0_1_0()); } -) + ( + { before(grammarAccess.getUriImportAccess().getUriSTRINGTerminalRuleCall_1_0()); } + RULE_STRING + { after(grammarAccess.getUriImportAccess().getUriSTRINGTerminalRuleCall_1_0()); } + ) ; finally { restoreStackSize(stackSize); } -rule__QualifiedName__Group_0_1__1 +rule__UriImport__AliasAssignment_2_1 @init { int stackSize = keepStackSize(); } : - rule__QualifiedName__Group_0_1__1__Impl + ( + { before(grammarAccess.getUriImportAccess().getAliasQualifiedNameParserRuleCall_2_1_0()); } + ruleQualifiedName + { after(grammarAccess.getUriImportAccess().getAliasQualifiedNameParserRuleCall_2_1_0()); } + ) ; finally { restoreStackSize(stackSize); } -rule__QualifiedName__Group_0_1__1__Impl +rule__NamespaceImport__ImportedNamespaceAssignment_1 @init { int stackSize = keepStackSize(); } : -( - { before(grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_0_1_1()); } - RULE_ID - { after(grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_0_1_1()); } -) + ( + { before(grammarAccess.getNamespaceImportAccess().getImportedNamespaceQualifiedNameParserRuleCall_1_0()); } + ruleQualifiedName + { after(grammarAccess.getNamespaceImportAccess().getImportedNamespaceQualifiedNameParserRuleCall_1_0()); } + ) ; finally { restoreStackSize(stackSize); } - -rule__Problem__StatementsAssignment +rule__NamespaceImport__AliasAssignment_2_1 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getProblemAccess().getStatementsStatementParserRuleCall_0()); } - ruleStatement - { after(grammarAccess.getProblemAccess().getStatementsStatementParserRuleCall_0()); } + { before(grammarAccess.getNamespaceImportAccess().getAliasQualifiedNameParserRuleCall_2_1_0()); } + ruleQualifiedName + { after(grammarAccess.getNamespaceImportAccess().getAliasQualifiedNameParserRuleCall_2_1_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__AssertionOrDefinition__RangeAssignment_1_0_2 +rule__AssertionOrDefinition__RangeAssignment_1_0_1_1 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getAssertionOrDefinitionAccess().getRangeExpressionParserRuleCall_1_0_2_0()); } + { before(grammarAccess.getAssertionOrDefinitionAccess().getRangeExpressionParserRuleCall_1_0_1_1_0()); } ruleExpression - { after(grammarAccess.getAssertionOrDefinitionAccess().getRangeExpressionParserRuleCall_1_0_2_0()); } + { after(grammarAccess.getAssertionOrDefinitionAccess().getRangeExpressionParserRuleCall_1_0_1_1_0()); } ) ; finally { @@ -9306,478 +10813,520 @@ finally { restoreStackSize(stackSize); } -rule__UnnamedErrorPrediateDefinition__ArgumentListAssignment_1 +rule__UnnamedErrorPredicateDefintion__ArgumentListAssignment_1 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getArgumentListArgumentListParserRuleCall_1_0()); } + { before(grammarAccess.getUnnamedErrorPredicateDefintionAccess().getArgumentListArgumentListParserRuleCall_1_0()); } ruleArgumentList - { after(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getArgumentListArgumentListParserRuleCall_1_0()); } + { after(grammarAccess.getUnnamedErrorPredicateDefintionAccess().getArgumentListArgumentListParserRuleCall_1_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__UnnamedErrorPrediateDefinition__BodyAssignment_3 +rule__UnnamedErrorPredicateDefintion__BodyAssignment_3 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getBodyExpressionParserRuleCall_3_0()); } + { before(grammarAccess.getUnnamedErrorPredicateDefintionAccess().getBodyExpressionParserRuleCall_3_0()); } ruleExpression - { after(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getBodyExpressionParserRuleCall_3_0()); } + { after(grammarAccess.getUnnamedErrorPredicateDefintionAccess().getBodyExpressionParserRuleCall_3_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__DefaultDefinition__HeadAssignment_1 +rule__DefaultAssertion__ExpressionAssignment_1 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getDefaultDefinitionAccess().getHeadCallParserRuleCall_1_0()); } + { before(grammarAccess.getDefaultAssertionAccess().getExpressionCallParserRuleCall_1_0()); } ruleCall - { after(grammarAccess.getDefaultDefinitionAccess().getHeadCallParserRuleCall_1_0()); } + { after(grammarAccess.getDefaultAssertionAccess().getExpressionCallParserRuleCall_1_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__DefaultDefinition__RangeAssignment_3 +rule__DefaultAssertion__RangeAssignment_2_1 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getDefaultDefinitionAccess().getRangeExpressionParserRuleCall_3_0()); } + { before(grammarAccess.getDefaultAssertionAccess().getRangeExpressionParserRuleCall_2_1_0()); } ruleExpression - { after(grammarAccess.getDefaultDefinitionAccess().getRangeExpressionParserRuleCall_3_0()); } + { after(grammarAccess.getDefaultAssertionAccess().getRangeExpressionParserRuleCall_2_1_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__MetricDefinition__TypeAssignment_0 +rule__FunctionDefinition__ResultTypeAssignment_0 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getMetricDefinitionAccess().getTypeNamedElementCrossReference_0_0()); } + { before(grammarAccess.getFunctionDefinitionAccess().getResultTypeSymbolCrossReference_0_0()); } ( - { before(grammarAccess.getMetricDefinitionAccess().getTypeNamedElementQualifiedNameParserRuleCall_0_0_1()); } + { before(grammarAccess.getFunctionDefinitionAccess().getResultTypeSymbolQualifiedNameParserRuleCall_0_0_1()); } ruleQualifiedName - { after(grammarAccess.getMetricDefinitionAccess().getTypeNamedElementQualifiedNameParserRuleCall_0_0_1()); } + { after(grammarAccess.getFunctionDefinitionAccess().getResultTypeSymbolQualifiedNameParserRuleCall_0_0_1()); } ) - { after(grammarAccess.getMetricDefinitionAccess().getTypeNamedElementCrossReference_0_0()); } + { after(grammarAccess.getFunctionDefinitionAccess().getResultTypeSymbolCrossReference_0_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__MetricDefinition__HeadAssignment_1 +rule__FunctionDefinition__HeadAssignment_1 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getMetricDefinitionAccess().getHeadCallParserRuleCall_1_0()); } + { before(grammarAccess.getFunctionDefinitionAccess().getHeadCallParserRuleCall_1_0()); } ruleCall - { after(grammarAccess.getMetricDefinitionAccess().getHeadCallParserRuleCall_1_0()); } + { after(grammarAccess.getFunctionDefinitionAccess().getHeadCallParserRuleCall_1_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__MetricDefinition__BodyAssignment_3 +rule__FunctionDefinition__BodyAssignment_3 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getMetricDefinitionAccess().getBodyExpressionParserRuleCall_3_0()); } + { before(grammarAccess.getFunctionDefinitionAccess().getBodyExpressionParserRuleCall_3_0()); } ruleExpression - { after(grammarAccess.getMetricDefinitionAccess().getBodyExpressionParserRuleCall_3_0()); } + { after(grammarAccess.getFunctionDefinitionAccess().getBodyExpressionParserRuleCall_3_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__ExternPredicateDefinition__NameAssignment_1 +rule__TypeReference__TypeAssignment_0 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getExternPredicateDefinitionAccess().getNameQualifiedNameParserRuleCall_1_0()); } - ruleQualifiedName - { after(grammarAccess.getExternPredicateDefinitionAccess().getNameQualifiedNameParserRuleCall_1_0()); } + { before(grammarAccess.getTypeReferenceAccess().getTypeSymbolCrossReference_0_0()); } + ( + { before(grammarAccess.getTypeReferenceAccess().getTypeSymbolQualifiedNameParserRuleCall_0_0_1()); } + ruleQualifiedName + { after(grammarAccess.getTypeReferenceAccess().getTypeSymbolQualifiedNameParserRuleCall_0_0_1()); } + ) + { after(grammarAccess.getTypeReferenceAccess().getTypeSymbolCrossReference_0_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__ExternPredicateDefinition__ArgumentListAssignment_2 +rule__TypeReference__ForceObjectTypeAssignment_1 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getExternPredicateDefinitionAccess().getArgumentListArgumentListParserRuleCall_2_0()); } - ruleArgumentList - { after(grammarAccess.getExternPredicateDefinitionAccess().getArgumentListArgumentListParserRuleCall_2_0()); } + { before(grammarAccess.getTypeReferenceAccess().getForceObjectTypeObjectKeyword_1_0()); } + ( + { before(grammarAccess.getTypeReferenceAccess().getForceObjectTypeObjectKeyword_1_0()); } + Object + { after(grammarAccess.getTypeReferenceAccess().getForceObjectTypeObjectKeyword_1_0()); } + ) + { after(grammarAccess.getTypeReferenceAccess().getForceObjectTypeObjectKeyword_1_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__ExternMetricDefinition__TypeAssignment_1 +rule__Attribute__KindAssignment_0 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getExternMetricDefinitionAccess().getTypeNamedElementCrossReference_1_0()); } - ( - { before(grammarAccess.getExternMetricDefinitionAccess().getTypeNamedElementQualifiedNameParserRuleCall_1_0_1()); } - ruleQualifiedName - { after(grammarAccess.getExternMetricDefinitionAccess().getTypeNamedElementQualifiedNameParserRuleCall_1_0_1()); } - ) - { after(grammarAccess.getExternMetricDefinitionAccess().getTypeNamedElementCrossReference_1_0()); } + { before(grammarAccess.getAttributeAccess().getKindAttributeKindEnumRuleCall_0_0()); } + ruleAttributeKind + { after(grammarAccess.getAttributeAccess().getKindAttributeKindEnumRuleCall_0_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__ExternMetricDefinition__NameAssignment_2 +rule__Attribute__TargetAssignment_1 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getExternMetricDefinitionAccess().getNameQualifiedNameParserRuleCall_2_0()); } - ruleQualifiedName - { after(grammarAccess.getExternMetricDefinitionAccess().getNameQualifiedNameParserRuleCall_2_0()); } + { before(grammarAccess.getAttributeAccess().getTargetSymbolCrossReference_1_0()); } + ( + { before(grammarAccess.getAttributeAccess().getTargetSymbolQualifiedNameParserRuleCall_1_0_1()); } + ruleQualifiedName + { after(grammarAccess.getAttributeAccess().getTargetSymbolQualifiedNameParserRuleCall_1_0_1()); } + ) + { after(grammarAccess.getAttributeAccess().getTargetSymbolCrossReference_1_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__ExternMetricDefinition__ArgumentListAssignment_3 +rule__ExternPredicateDeclaration__FunctionalAssignment_1_0 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getExternMetricDefinitionAccess().getArgumentListArgumentListParserRuleCall_3_0()); } - ruleArgumentList - { after(grammarAccess.getExternMetricDefinitionAccess().getArgumentListArgumentListParserRuleCall_3_0()); } + { before(grammarAccess.getExternPredicateDeclarationAccess().getFunctionalFunctionalKeyword_1_0_0()); } + ( + { before(grammarAccess.getExternPredicateDeclarationAccess().getFunctionalFunctionalKeyword_1_0_0()); } + Functional + { after(grammarAccess.getExternPredicateDeclarationAccess().getFunctionalFunctionalKeyword_1_0_0()); } + ) + { after(grammarAccess.getExternPredicateDeclarationAccess().getFunctionalFunctionalKeyword_1_0_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__ExternAggregatorDefinition__TypeAssignment_1 +rule__ExternPredicateDeclaration__ErrorAssignment_1_1 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getExternAggregatorDefinitionAccess().getTypeNamedElementCrossReference_1_0()); } + { before(grammarAccess.getExternPredicateDeclarationAccess().getErrorErrorKeyword_1_1_0()); } ( - { before(grammarAccess.getExternAggregatorDefinitionAccess().getTypeNamedElementQualifiedNameParserRuleCall_1_0_1()); } - ruleQualifiedName - { after(grammarAccess.getExternAggregatorDefinitionAccess().getTypeNamedElementQualifiedNameParserRuleCall_1_0_1()); } + { before(grammarAccess.getExternPredicateDeclarationAccess().getErrorErrorKeyword_1_1_0()); } + Error + { after(grammarAccess.getExternPredicateDeclarationAccess().getErrorErrorKeyword_1_1_0()); } ) - { after(grammarAccess.getExternAggregatorDefinitionAccess().getTypeNamedElementCrossReference_1_0()); } + { after(grammarAccess.getExternPredicateDeclarationAccess().getErrorErrorKeyword_1_1_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__ExternAggregatorDefinition__NameAssignment_2 +rule__ExternPredicateDeclaration__NameAssignment_2 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getExternAggregatorDefinitionAccess().getNameQualifiedNameParserRuleCall_2_0()); } + { before(grammarAccess.getExternPredicateDeclarationAccess().getNameQualifiedNameParserRuleCall_2_0()); } ruleQualifiedName - { after(grammarAccess.getExternAggregatorDefinitionAccess().getNameQualifiedNameParserRuleCall_2_0()); } + { after(grammarAccess.getExternPredicateDeclarationAccess().getNameQualifiedNameParserRuleCall_2_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__ExternPredicateDeclaration__ArgumentListAssignment_3 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getExternPredicateDeclarationAccess().getArgumentListArgumentListParserRuleCall_3_0()); } + ruleArgumentList + { after(grammarAccess.getExternPredicateDeclarationAccess().getArgumentListArgumentListParserRuleCall_3_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__ExternAggregatorDefinition__InputTypeAssignment_4 +rule__ExternFunctionDeclaration__ResultTypeAssignment_1 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getExternAggregatorDefinitionAccess().getInputTypeNamedElementCrossReference_4_0()); } + { before(grammarAccess.getExternFunctionDeclarationAccess().getResultTypeSymbolCrossReference_1_0()); } ( - { before(grammarAccess.getExternAggregatorDefinitionAccess().getInputTypeNamedElementQualifiedNameParserRuleCall_4_0_1()); } + { before(grammarAccess.getExternFunctionDeclarationAccess().getResultTypeSymbolQualifiedNameParserRuleCall_1_0_1()); } ruleQualifiedName - { after(grammarAccess.getExternAggregatorDefinitionAccess().getInputTypeNamedElementQualifiedNameParserRuleCall_4_0_1()); } + { after(grammarAccess.getExternFunctionDeclarationAccess().getResultTypeSymbolQualifiedNameParserRuleCall_1_0_1()); } ) - { after(grammarAccess.getExternAggregatorDefinitionAccess().getInputTypeNamedElementCrossReference_4_0()); } + { after(grammarAccess.getExternFunctionDeclarationAccess().getResultTypeSymbolCrossReference_1_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__ExternDatatypeDefinition__NameAssignment_2 +rule__ExternFunctionDeclaration__NameAssignment_2 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getExternDatatypeDefinitionAccess().getNameQualifiedNameParserRuleCall_2_0()); } + { before(grammarAccess.getExternFunctionDeclarationAccess().getNameQualifiedNameParserRuleCall_2_0()); } ruleQualifiedName - { after(grammarAccess.getExternDatatypeDefinitionAccess().getNameQualifiedNameParserRuleCall_2_0()); } + { after(grammarAccess.getExternFunctionDeclarationAccess().getNameQualifiedNameParserRuleCall_2_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__ExternDatatypeDefinition__SupertypesAssignment_3_1 +rule__ExternFunctionDeclaration__ArgumentListAssignment_3 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getExternDatatypeDefinitionAccess().getSupertypesNamedElementCrossReference_3_1_0()); } - ( - { before(grammarAccess.getExternDatatypeDefinitionAccess().getSupertypesNamedElementQualifiedNameParserRuleCall_3_1_0_1()); } - ruleQualifiedName - { after(grammarAccess.getExternDatatypeDefinitionAccess().getSupertypesNamedElementQualifiedNameParserRuleCall_3_1_0_1()); } - ) - { after(grammarAccess.getExternDatatypeDefinitionAccess().getSupertypesNamedElementCrossReference_3_1_0()); } + { before(grammarAccess.getExternFunctionDeclarationAccess().getArgumentListArgumentListParserRuleCall_3_0()); } + ruleArgumentList + { after(grammarAccess.getExternFunctionDeclarationAccess().getArgumentListArgumentListParserRuleCall_3_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__ExternDatatypeDefinition__SupertypesAssignment_3_2_1 +rule__ExternAggregationOperatorDeclaration__ResultTypeAssignment_1 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getExternDatatypeDefinitionAccess().getSupertypesNamedElementCrossReference_3_2_1_0()); } + { before(grammarAccess.getExternAggregationOperatorDeclarationAccess().getResultTypeSymbolCrossReference_1_0()); } ( - { before(grammarAccess.getExternDatatypeDefinitionAccess().getSupertypesNamedElementQualifiedNameParserRuleCall_3_2_1_0_1()); } + { before(grammarAccess.getExternAggregationOperatorDeclarationAccess().getResultTypeSymbolQualifiedNameParserRuleCall_1_0_1()); } ruleQualifiedName - { after(grammarAccess.getExternDatatypeDefinitionAccess().getSupertypesNamedElementQualifiedNameParserRuleCall_3_2_1_0_1()); } + { after(grammarAccess.getExternAggregationOperatorDeclarationAccess().getResultTypeSymbolQualifiedNameParserRuleCall_1_0_1()); } ) - { after(grammarAccess.getExternDatatypeDefinitionAccess().getSupertypesNamedElementCrossReference_3_2_1_0()); } + { after(grammarAccess.getExternAggregationOperatorDeclarationAccess().getResultTypeSymbolCrossReference_1_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__ExternAggregationOperatorDeclaration__NameAssignment_2 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getExternAggregationOperatorDeclarationAccess().getNameQualifiedNameParserRuleCall_2_0()); } + ruleQualifiedName + { after(grammarAccess.getExternAggregationOperatorDeclarationAccess().getNameQualifiedNameParserRuleCall_2_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__Variable__TypeAssignment_0 +rule__ExternAggregationOperatorDeclaration__ArgumentTypeAssignment_4 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getVariableAccess().getTypeNamedElementCrossReference_0_0()); } + { before(grammarAccess.getExternAggregationOperatorDeclarationAccess().getArgumentTypeSymbolCrossReference_4_0()); } ( - { before(grammarAccess.getVariableAccess().getTypeNamedElementQualifiedNameParserRuleCall_0_0_1()); } + { before(grammarAccess.getExternAggregationOperatorDeclarationAccess().getArgumentTypeSymbolQualifiedNameParserRuleCall_4_0_1()); } ruleQualifiedName - { after(grammarAccess.getVariableAccess().getTypeNamedElementQualifiedNameParserRuleCall_0_0_1()); } + { after(grammarAccess.getExternAggregationOperatorDeclarationAccess().getArgumentTypeSymbolQualifiedNameParserRuleCall_4_0_1()); } ) - { after(grammarAccess.getVariableAccess().getTypeNamedElementCrossReference_0_0()); } + { after(grammarAccess.getExternAggregationOperatorDeclarationAccess().getArgumentTypeSymbolCrossReference_4_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__Variable__NameAssignment_1 +rule__ExternDatatypeDeclaration__NameAssignment_2 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getVariableAccess().getNameIDTerminalRuleCall_1_0()); } - RULE_ID - { after(grammarAccess.getVariableAccess().getNameIDTerminalRuleCall_1_0()); } + { before(grammarAccess.getExternDatatypeDeclarationAccess().getNameQualifiedNameParserRuleCall_2_0()); } + ruleQualifiedName + { after(grammarAccess.getExternDatatypeDeclarationAccess().getNameQualifiedNameParserRuleCall_2_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__IfElse__ConditionAssignment_1 +rule__Expression__BodyAssignment_2_1_2 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getIfElseAccess().getConditionExpressionParserRuleCall_1_0()); } - ruleExpression - { after(grammarAccess.getIfElseAccess().getConditionExpressionParserRuleCall_1_0()); } + { before(grammarAccess.getExpressionAccess().getBodyDisjunctiveExpressionParserRuleCall_2_1_2_0()); } + ruleDisjunctiveExpression + { after(grammarAccess.getExpressionAccess().getBodyDisjunctiveExpressionParserRuleCall_2_1_2_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__IfElse__ThenAssignment_3 +rule__ConditionalExpression__ConditionAssignment_1 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getIfElseAccess().getThenExpressionParserRuleCall_3_0()); } - ruleExpression - { after(grammarAccess.getIfElseAccess().getThenExpressionParserRuleCall_3_0()); } + { before(grammarAccess.getConditionalExpressionAccess().getConditionDisjunctiveExpressionParserRuleCall_1_0()); } + ruleDisjunctiveExpression + { after(grammarAccess.getConditionalExpressionAccess().getConditionDisjunctiveExpressionParserRuleCall_1_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__IfElse__ElseAssignment_5 +rule__ConditionalExpression__ThenAssignment_3 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getIfElseAccess().getElseExpressionParserRuleCall_5_0()); } + { before(grammarAccess.getConditionalExpressionAccess().getThenExpressionParserRuleCall_3_0()); } ruleExpression - { after(grammarAccess.getIfElseAccess().getElseExpressionParserRuleCall_5_0()); } + { after(grammarAccess.getConditionalExpressionAccess().getThenExpressionParserRuleCall_3_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__Let__BindingsAssignment_1 +rule__ConditionalExpression__ElseAssignment_5 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getLetAccess().getBindingsLetBindingParserRuleCall_1_0()); } - ruleLetBinding - { after(grammarAccess.getLetAccess().getBindingsLetBindingParserRuleCall_1_0()); } + { before(grammarAccess.getConditionalExpressionAccess().getElseExpressionParserRuleCall_5_0()); } + ruleExpression + { after(grammarAccess.getConditionalExpressionAccess().getElseExpressionParserRuleCall_5_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__Let__BindingsAssignment_2_1 +rule__LetExpression__BindingsAssignment_1 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getLetAccess().getBindingsLetBindingParserRuleCall_2_1_0()); } + { before(grammarAccess.getLetExpressionAccess().getBindingsLetBindingParserRuleCall_1_0()); } ruleLetBinding - { after(grammarAccess.getLetAccess().getBindingsLetBindingParserRuleCall_2_1_0()); } + { after(grammarAccess.getLetExpressionAccess().getBindingsLetBindingParserRuleCall_1_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__Let__BodyAssignment_4 +rule__LetExpression__BindingsAssignment_2_1 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getLetAccess().getBodyExpressionParserRuleCall_4_0()); } - ruleExpression - { after(grammarAccess.getLetAccess().getBodyExpressionParserRuleCall_4_0()); } + { before(grammarAccess.getLetExpressionAccess().getBindingsLetBindingParserRuleCall_2_1_0()); } + ruleLetBinding + { after(grammarAccess.getLetExpressionAccess().getBindingsLetBindingParserRuleCall_2_1_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__LetBinding__VariableAssignment_0 +rule__LetExpression__BodyAssignment_4 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getLetBindingAccess().getVariableVariableParserRuleCall_0_0()); } - ruleVariable - { after(grammarAccess.getLetBindingAccess().getVariableVariableParserRuleCall_0_0()); } + { before(grammarAccess.getLetExpressionAccess().getBodyExpressionParserRuleCall_4_0()); } + ruleExpression + { after(grammarAccess.getLetExpressionAccess().getBodyExpressionParserRuleCall_4_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__LetBinding__ValueAssignment_2 +rule__LetBinding__TypeAssignment_0 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getLetBindingAccess().getValueAdditiveExpressionParserRuleCall_2_0()); } - ruleAdditiveExpression - { after(grammarAccess.getLetBindingAccess().getValueAdditiveExpressionParserRuleCall_2_0()); } + { before(grammarAccess.getLetBindingAccess().getTypeSymbolCrossReference_0_0()); } + ( + { before(grammarAccess.getLetBindingAccess().getTypeSymbolQualifiedNameParserRuleCall_0_0_1()); } + ruleQualifiedName + { after(grammarAccess.getLetBindingAccess().getTypeSymbolQualifiedNameParserRuleCall_0_0_1()); } + ) + { after(grammarAccess.getLetBindingAccess().getTypeSymbolCrossReference_0_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__ImplicationExpression__OpAssignment_1_1 +rule__LetBinding__NameAssignment_1 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getImplicationExpressionAccess().getOpImplicationOperatorEnumRuleCall_1_1_0()); } - ruleImplicationOperator - { after(grammarAccess.getImplicationExpressionAccess().getOpImplicationOperatorEnumRuleCall_1_1_0()); } + { before(grammarAccess.getLetBindingAccess().getNameIDTerminalRuleCall_1_0()); } + RULE_ID + { after(grammarAccess.getLetBindingAccess().getNameIDTerminalRuleCall_1_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__ImplicationExpression__RightAssignment_1_2 +rule__LetBinding__ValueAssignment_3 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getImplicationExpressionAccess().getRightImplicationExpressionParserRuleCall_1_2_0()); } - ruleImplicationExpression - { after(grammarAccess.getImplicationExpressionAccess().getRightImplicationExpressionParserRuleCall_1_2_0()); } + { before(grammarAccess.getLetBindingAccess().getValueAdditiveExpressionParserRuleCall_3_0()); } + ruleAdditiveExpression + { after(grammarAccess.getLetBindingAccess().getValueAdditiveExpressionParserRuleCall_3_0()); } ) ; finally { @@ -9994,19 +11543,19 @@ finally { restoreStackSize(stackSize); } -rule__CastExpression__TypeAssignment_1_2 +rule__CastExpression__TargetTypeAssignment_1_2 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getCastExpressionAccess().getTypeNamedElementCrossReference_1_2_0()); } + { before(grammarAccess.getCastExpressionAccess().getTargetTypeSymbolCrossReference_1_2_0()); } ( - { before(grammarAccess.getCastExpressionAccess().getTypeNamedElementQualifiedNameParserRuleCall_1_2_0_1()); } + { before(grammarAccess.getCastExpressionAccess().getTargetTypeSymbolQualifiedNameParserRuleCall_1_2_0_1()); } ruleQualifiedName - { after(grammarAccess.getCastExpressionAccess().getTypeNamedElementQualifiedNameParserRuleCall_1_2_0_1()); } + { after(grammarAccess.getCastExpressionAccess().getTargetTypeSymbolQualifiedNameParserRuleCall_1_2_0_1()); } ) - { after(grammarAccess.getCastExpressionAccess().getTypeNamedElementCrossReference_1_2_0()); } + { after(grammarAccess.getCastExpressionAccess().getTargetTypeSymbolCrossReference_1_2_0()); } ) ; finally { @@ -10019,9 +11568,9 @@ rule__UnaryExpression__OpAssignment_1_1 } : ( - { before(grammarAccess.getUnaryExpressionAccess().getOpUnaryOpEnumRuleCall_1_1_0()); } - ruleUnaryOp - { after(grammarAccess.getUnaryExpressionAccess().getOpUnaryOpEnumRuleCall_1_1_0()); } + { before(grammarAccess.getUnaryExpressionAccess().getOpUnaryOperatorEnumRuleCall_1_1_0()); } + ruleUnaryOperator + { after(grammarAccess.getUnaryExpressionAccess().getOpUnaryOperatorEnumRuleCall_1_1_0()); } ) ; finally { @@ -10034,593 +11583,608 @@ rule__UnaryExpression__BodyAssignment_1_2 } : ( - { before(grammarAccess.getUnaryExpressionAccess().getBodyAggregationExpressionParserRuleCall_1_2_0()); } - ruleAggregationExpression - { after(grammarAccess.getUnaryExpressionAccess().getBodyAggregationExpressionParserRuleCall_1_2_0()); } + { before(grammarAccess.getUnaryExpressionAccess().getBodyBracedAggregateExpressionParserRuleCall_1_2_0()); } + ruleBracedAggregateExpression + { after(grammarAccess.getUnaryExpressionAccess().getBodyBracedAggregateExpressionParserRuleCall_1_2_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__LocalVariables__VariablesAssignment_2_0 +rule__Aggregation__OpAssignment_0 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getLocalVariablesAccess().getVariablesVariableParserRuleCall_2_0_0()); } - ruleVariable - { after(grammarAccess.getLocalVariablesAccess().getVariablesVariableParserRuleCall_2_0_0()); } + { before(grammarAccess.getAggregationAccess().getOpSymbolCrossReference_0_0()); } + ( + { before(grammarAccess.getAggregationAccess().getOpSymbolQualifiedNameParserRuleCall_0_0_1()); } + ruleQualifiedName + { after(grammarAccess.getAggregationAccess().getOpSymbolQualifiedNameParserRuleCall_0_0_1()); } + ) + { after(grammarAccess.getAggregationAccess().getOpSymbolCrossReference_0_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__LocalVariables__VariablesAssignment_2_1_1 +rule__Aggregation__ValueAssignment_2 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getLocalVariablesAccess().getVariablesVariableParserRuleCall_2_1_1_0()); } - ruleVariable - { after(grammarAccess.getLocalVariablesAccess().getVariablesVariableParserRuleCall_2_1_1_0()); } + { before(grammarAccess.getAggregationAccess().getValueExpressionParserRuleCall_2_0()); } + ruleExpression + { after(grammarAccess.getAggregationAccess().getValueExpressionParserRuleCall_2_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__QuantifiedExpression__QuantifierAssignment_0 +rule__Aggregation__ConditionAssignment_4 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getQuantifiedExpressionAccess().getQuantifierQuantifierEnumRuleCall_0_0()); } - ruleQuantifier - { after(grammarAccess.getQuantifiedExpressionAccess().getQuantifierQuantifierEnumRuleCall_0_0()); } + { before(grammarAccess.getAggregationAccess().getConditionExpressionParserRuleCall_4_0()); } + ruleExpression + { after(grammarAccess.getAggregationAccess().getConditionExpressionParserRuleCall_4_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__QuantifiedExpression__LocalVariablesAssignment_1 +rule__Count__ConditionAssignment_2 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getQuantifiedExpressionAccess().getLocalVariablesLocalVariablesParserRuleCall_1_0()); } - ruleLocalVariables - { after(grammarAccess.getQuantifiedExpressionAccess().getLocalVariablesLocalVariablesParserRuleCall_1_0()); } + { before(grammarAccess.getCountAccess().getConditionExpressionParserRuleCall_2_0()); } + ruleExpression + { after(grammarAccess.getCountAccess().getConditionExpressionParserRuleCall_2_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__QuantifiedExpression__BodyAssignment_3 +rule__Call__FunctorAssignment_0 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getQuantifiedExpressionAccess().getBodyExpressionParserRuleCall_3_0()); } - ruleExpression - { after(grammarAccess.getQuantifiedExpressionAccess().getBodyExpressionParserRuleCall_3_0()); } + { before(grammarAccess.getCallAccess().getFunctorReferenceParserRuleCall_0_0()); } + ruleReference + { after(grammarAccess.getCallAccess().getFunctorReferenceParserRuleCall_0_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__Aggregation__OpAssignment_0 +rule__Call__ArgumentListAssignment_1 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getAggregationAccess().getOpNamedElementCrossReference_0_0()); } - ( - { before(grammarAccess.getAggregationAccess().getOpNamedElementQualifiedNameParserRuleCall_0_0_1()); } - ruleQualifiedName - { after(grammarAccess.getAggregationAccess().getOpNamedElementQualifiedNameParserRuleCall_0_0_1()); } - ) - { after(grammarAccess.getAggregationAccess().getOpNamedElementCrossReference_0_0()); } + { before(grammarAccess.getCallAccess().getArgumentListArgumentListParserRuleCall_1_0()); } + ruleArgumentList + { after(grammarAccess.getCallAccess().getArgumentListArgumentListParserRuleCall_1_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__Aggregation__LocalVariablesAssignment_1 +rule__ArgumentList__ArgumentsAssignment_2_0 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getAggregationAccess().getLocalVariablesLocalVariablesParserRuleCall_1_0()); } - ruleLocalVariables - { after(grammarAccess.getAggregationAccess().getLocalVariablesLocalVariablesParserRuleCall_1_0()); } + { before(grammarAccess.getArgumentListAccess().getArgumentsArgumentParserRuleCall_2_0_0()); } + ruleArgument + { after(grammarAccess.getArgumentListAccess().getArgumentsArgumentParserRuleCall_2_0_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__Aggregation__BodyAssignment_3 +rule__ArgumentList__ArgumentsAssignment_2_1_1 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getAggregationAccess().getBodyExpressionParserRuleCall_3_0()); } - ruleExpression - { after(grammarAccess.getAggregationAccess().getBodyExpressionParserRuleCall_3_0()); } + { before(grammarAccess.getArgumentListAccess().getArgumentsArgumentParserRuleCall_2_1_1_0()); } + ruleArgument + { after(grammarAccess.getArgumentListAccess().getArgumentsArgumentParserRuleCall_2_1_1_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__Aggregation__ConditionAssignment_4_1 +rule__ExpressionArgument__ExpressionAssignment @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getAggregationAccess().getConditionExpressionParserRuleCall_4_1_0()); } - ruleExpression - { after(grammarAccess.getAggregationAccess().getConditionExpressionParserRuleCall_4_1_0()); } + { before(grammarAccess.getExpressionArgumentAccess().getExpressionComparisonExpressionParserRuleCall_0()); } + ruleComparisonExpression + { after(grammarAccess.getExpressionArgumentAccess().getExpressionComparisonExpressionParserRuleCall_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__Call__FunctorAssignment_0 +rule__TypedVariableArgument__TypeReferenceAssignment_0 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getCallAccess().getFunctorReferenceParserRuleCall_0_0()); } - ruleReference - { after(grammarAccess.getCallAccess().getFunctorReferenceParserRuleCall_0_0()); } + { before(grammarAccess.getTypedVariableArgumentAccess().getTypeReferenceTypeReferenceParserRuleCall_0_0()); } + ruleTypeReference + { after(grammarAccess.getTypedVariableArgumentAccess().getTypeReferenceTypeReferenceParserRuleCall_0_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__Call__TransitiveClosureAssignment_1_0 +rule__TypedVariableArgument__NameAssignment_1 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getCallAccess().getTransitiveClosureTRANSITIVE_CLOSURETerminalRuleCall_1_0_0()); } - RULE_TRANSITIVE_CLOSURE - { after(grammarAccess.getCallAccess().getTransitiveClosureTRANSITIVE_CLOSURETerminalRuleCall_1_0_0()); } + { before(grammarAccess.getTypedVariableArgumentAccess().getNameIDTerminalRuleCall_1_0()); } + RULE_ID + { after(grammarAccess.getTypedVariableArgumentAccess().getNameIDTerminalRuleCall_1_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__Call__ReflexiveTransitiveClosureAssignment_1_1 +rule__TypedStarArgument__TypeReferenceAssignment_0 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getCallAccess().getReflexiveTransitiveClosureREFLEXIVE_TRANSITIVE_CLOSURETerminalRuleCall_1_1_0()); } - RULE_REFLEXIVE_TRANSITIVE_CLOSURE - { after(grammarAccess.getCallAccess().getReflexiveTransitiveClosureREFLEXIVE_TRANSITIVE_CLOSURETerminalRuleCall_1_1_0()); } + { before(grammarAccess.getTypedStarArgumentAccess().getTypeReferenceTypeReferenceParserRuleCall_0_0()); } + ruleTypeReference + { after(grammarAccess.getTypedStarArgumentAccess().getTypeReferenceTypeReferenceParserRuleCall_0_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__Call__ArgumentListAssignment_2 +rule__Reference__ComponentsAssignment_0 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getCallAccess().getArgumentListArgumentListParserRuleCall_2_0()); } - ruleArgumentList - { after(grammarAccess.getCallAccess().getArgumentListArgumentListParserRuleCall_2_0()); } + { before(grammarAccess.getReferenceAccess().getComponentsPathComponentParserRuleCall_0_0()); } + rulePathComponent + { after(grammarAccess.getReferenceAccess().getComponentsPathComponentParserRuleCall_0_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__ArgumentList__ArgumentsAssignment_2_0 +rule__Reference__ComponentsAssignment_1_1 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getArgumentListAccess().getArgumentsArgumentParserRuleCall_2_0_0()); } - ruleArgument - { after(grammarAccess.getArgumentListAccess().getArgumentsArgumentParserRuleCall_2_0_0()); } + { before(grammarAccess.getReferenceAccess().getComponentsPathComponentParserRuleCall_1_1_0()); } + rulePathComponent + { after(grammarAccess.getReferenceAccess().getComponentsPathComponentParserRuleCall_1_1_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__ArgumentList__ArgumentsAssignment_2_1_1 +rule__PathComponent__InverseAssignment_0 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getArgumentListAccess().getArgumentsArgumentParserRuleCall_2_1_1_0()); } - ruleArgument - { after(grammarAccess.getArgumentListAccess().getArgumentsArgumentParserRuleCall_2_1_1_0()); } + { before(grammarAccess.getPathComponentAccess().getInverseTildeKeyword_0_0()); } + ( + { before(grammarAccess.getPathComponentAccess().getInverseTildeKeyword_0_0()); } + Tilde + { after(grammarAccess.getPathComponentAccess().getInverseTildeKeyword_0_0()); } + ) + { after(grammarAccess.getPathComponentAccess().getInverseTildeKeyword_0_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__ExpressionArgument__BodyAssignment +rule__PathComponent__SymbolAssignment_1 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getExpressionArgumentAccess().getBodyComparisonExpressionParserRuleCall_0()); } - ruleComparisonExpression - { after(grammarAccess.getExpressionArgumentAccess().getBodyComparisonExpressionParserRuleCall_0()); } + { before(grammarAccess.getPathComponentAccess().getSymbolSymbolCrossReference_1_0()); } + ( + { before(grammarAccess.getPathComponentAccess().getSymbolSymbolQualifiedNameParserRuleCall_1_0_1()); } + ruleQualifiedName + { after(grammarAccess.getPathComponentAccess().getSymbolSymbolQualifiedNameParserRuleCall_1_0_1()); } + ) + { after(grammarAccess.getPathComponentAccess().getSymbolSymbolCrossReference_1_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__TypedArgument__TypeAssignment_0 +rule__PathComponent__TransitiveClosureAssignment_2_0 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getTypedArgumentAccess().getTypeNamedElementCrossReference_0_0()); } - ( - { before(grammarAccess.getTypedArgumentAccess().getTypeNamedElementQualifiedNameParserRuleCall_0_0_1()); } - ruleQualifiedName - { after(grammarAccess.getTypedArgumentAccess().getTypeNamedElementQualifiedNameParserRuleCall_0_0_1()); } - ) - { after(grammarAccess.getTypedArgumentAccess().getTypeNamedElementCrossReference_0_0()); } + { before(grammarAccess.getPathComponentAccess().getTransitiveClosureTRANSITIVE_CLOSURETerminalRuleCall_2_0_0()); } + RULE_TRANSITIVE_CLOSURE + { after(grammarAccess.getPathComponentAccess().getTransitiveClosureTRANSITIVE_CLOSURETerminalRuleCall_2_0_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__TypedArgument__VariableAssignment_1 +rule__PathComponent__ReflexiveTransitiveClosureAssignment_2_1 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getTypedArgumentAccess().getVariableNamedElementCrossReference_1_0()); } - ( - { before(grammarAccess.getTypedArgumentAccess().getVariableNamedElementQualifiedNameParserRuleCall_1_0_1()); } - ruleQualifiedName - { after(grammarAccess.getTypedArgumentAccess().getVariableNamedElementQualifiedNameParserRuleCall_1_0_1()); } - ) - { after(grammarAccess.getTypedArgumentAccess().getVariableNamedElementCrossReference_1_0()); } + { before(grammarAccess.getPathComponentAccess().getReflexiveTransitiveClosureREFLEXIVE_TRANSITIVE_CLOSURETerminalRuleCall_2_1_0()); } + RULE_REFLEXIVE_TRANSITIVE_CLOSURE + { after(grammarAccess.getPathComponentAccess().getReflexiveTransitiveClosureREFLEXIVE_TRANSITIVE_CLOSURETerminalRuleCall_2_1_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__TypedStarArgument__TypeAssignment_0 +rule__Interval__LowerBoundAssignment_1 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getTypedStarArgumentAccess().getTypeNamedElementCrossReference_0_0()); } - ( - { before(grammarAccess.getTypedStarArgumentAccess().getTypeNamedElementQualifiedNameParserRuleCall_0_0_1()); } - ruleQualifiedName - { after(grammarAccess.getTypedStarArgumentAccess().getTypeNamedElementQualifiedNameParserRuleCall_0_0_1()); } - ) - { after(grammarAccess.getTypedStarArgumentAccess().getTypeNamedElementCrossReference_0_0()); } + { before(grammarAccess.getIntervalAccess().getLowerBoundAdditiveExpressionParserRuleCall_1_0()); } + ruleAdditiveExpression + { after(grammarAccess.getIntervalAccess().getLowerBoundAdditiveExpressionParserRuleCall_1_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__Reference__ReferredAssignment +rule__Interval__UpperBoundAssignment_3 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getReferenceAccess().getReferredNamedElementCrossReference_0()); } - ( - { before(grammarAccess.getReferenceAccess().getReferredNamedElementQualifiedNameParserRuleCall_0_1()); } - ruleQualifiedName - { after(grammarAccess.getReferenceAccess().getReferredNamedElementQualifiedNameParserRuleCall_0_1()); } - ) - { after(grammarAccess.getReferenceAccess().getReferredNamedElementCrossReference_0()); } + { before(grammarAccess.getIntervalAccess().getUpperBoundAdditiveExpressionParserRuleCall_3_0()); } + ruleAdditiveExpression + { after(grammarAccess.getIntervalAccess().getUpperBoundAdditiveExpressionParserRuleCall_3_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__Interval__LowerBoundAssignment_1 +rule__LogicLiteral__ValueAssignment @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getIntervalAccess().getLowerBoundExpressionParserRuleCall_1_0()); } - ruleExpression - { after(grammarAccess.getIntervalAccess().getLowerBoundExpressionParserRuleCall_1_0()); } + { before(grammarAccess.getLogicLiteralAccess().getValueLogicValueEnumRuleCall_0()); } + ruleLogicValue + { after(grammarAccess.getLogicLiteralAccess().getValueLogicValueEnumRuleCall_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__Interval__UpperBoundAssignment_3 +rule__IntLiteral__ValueAssignment @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getIntervalAccess().getUpperBoundExpressionParserRuleCall_3_0()); } - ruleExpression - { after(grammarAccess.getIntervalAccess().getUpperBoundExpressionParserRuleCall_3_0()); } + { before(grammarAccess.getIntLiteralAccess().getValueINTTerminalRuleCall_0()); } + RULE_INT + { after(grammarAccess.getIntLiteralAccess().getValueINTTerminalRuleCall_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__LogicLiteral__ValueAssignment +rule__RealLiteral__ValueAssignment @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getLogicLiteralAccess().getValueLogicValueEnumRuleCall_0()); } - ruleLogicValue - { after(grammarAccess.getLogicLiteralAccess().getValueLogicValueEnumRuleCall_0()); } + { before(grammarAccess.getRealLiteralAccess().getValueRealParserRuleCall_0()); } + ruleReal + { after(grammarAccess.getRealLiteralAccess().getValueRealParserRuleCall_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__NumericLiteral__ValueAssignment +rule__StringLiteral__ValueAssignment @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getNumericLiteralAccess().getValueRealParserRuleCall_0()); } - ruleReal - { after(grammarAccess.getNumericLiteralAccess().getValueRealParserRuleCall_0()); } + { before(grammarAccess.getStringLiteralAccess().getValueSTRINGTerminalRuleCall_0()); } + RULE_STRING + { after(grammarAccess.getStringLiteralAccess().getValueSTRINGTerminalRuleCall_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__StringLiteral__ValueAssignment +rule__ClassDeclaration__AbstractAssignment_0_0 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getStringLiteralAccess().getValueSTRINGTerminalRuleCall_0()); } - RULE_STRING - { after(grammarAccess.getStringLiteralAccess().getValueSTRINGTerminalRuleCall_0()); } + { before(grammarAccess.getClassDeclarationAccess().getAbstractAbstractKeyword_0_0_0()); } + ( + { before(grammarAccess.getClassDeclarationAccess().getAbstractAbstractKeyword_0_0_0()); } + Abstract + { after(grammarAccess.getClassDeclarationAccess().getAbstractAbstractKeyword_0_0_0()); } + ) + { after(grammarAccess.getClassDeclarationAccess().getAbstractAbstractKeyword_0_0_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__ClassDefinition__AbstractAssignment_0 +rule__ClassDeclaration__RootAssignment_0_1 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getClassDefinitionAccess().getAbstractAbstractKeyword_0_0()); } + { before(grammarAccess.getClassDeclarationAccess().getRootRootKeyword_0_1_0()); } ( - { before(grammarAccess.getClassDefinitionAccess().getAbstractAbstractKeyword_0_0()); } - Abstract - { after(grammarAccess.getClassDefinitionAccess().getAbstractAbstractKeyword_0_0()); } + { before(grammarAccess.getClassDeclarationAccess().getRootRootKeyword_0_1_0()); } + Root + { after(grammarAccess.getClassDeclarationAccess().getRootRootKeyword_0_1_0()); } ) - { after(grammarAccess.getClassDefinitionAccess().getAbstractAbstractKeyword_0_0()); } + { after(grammarAccess.getClassDeclarationAccess().getRootRootKeyword_0_1_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__ClassDefinition__NameAssignment_2 +rule__ClassDeclaration__NameAssignment_2 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getClassDefinitionAccess().getNameIDTerminalRuleCall_2_0()); } + { before(grammarAccess.getClassDeclarationAccess().getNameIDTerminalRuleCall_2_0()); } RULE_ID - { after(grammarAccess.getClassDefinitionAccess().getNameIDTerminalRuleCall_2_0()); } + { after(grammarAccess.getClassDeclarationAccess().getNameIDTerminalRuleCall_2_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__ClassDefinition__SuperclassesAssignment_3_1 +rule__ClassDeclaration__SupertypesAssignment_3_1 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getClassDefinitionAccess().getSuperclassesNamedElementCrossReference_3_1_0()); } + { before(grammarAccess.getClassDeclarationAccess().getSupertypesSymbolCrossReference_3_1_0()); } ( - { before(grammarAccess.getClassDefinitionAccess().getSuperclassesNamedElementQualifiedNameParserRuleCall_3_1_0_1()); } + { before(grammarAccess.getClassDeclarationAccess().getSupertypesSymbolQualifiedNameParserRuleCall_3_1_0_1()); } ruleQualifiedName - { after(grammarAccess.getClassDefinitionAccess().getSuperclassesNamedElementQualifiedNameParserRuleCall_3_1_0_1()); } + { after(grammarAccess.getClassDeclarationAccess().getSupertypesSymbolQualifiedNameParserRuleCall_3_1_0_1()); } ) - { after(grammarAccess.getClassDefinitionAccess().getSuperclassesNamedElementCrossReference_3_1_0()); } + { after(grammarAccess.getClassDeclarationAccess().getSupertypesSymbolCrossReference_3_1_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__ClassDefinition__SuperclassesAssignment_3_2_1 +rule__ClassDeclaration__SupertypesAssignment_3_2_1 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getClassDefinitionAccess().getSuperclassesNamedElementCrossReference_3_2_1_0()); } + { before(grammarAccess.getClassDeclarationAccess().getSupertypesSymbolCrossReference_3_2_1_0()); } ( - { before(grammarAccess.getClassDefinitionAccess().getSuperclassesNamedElementQualifiedNameParserRuleCall_3_2_1_0_1()); } + { before(grammarAccess.getClassDeclarationAccess().getSupertypesSymbolQualifiedNameParserRuleCall_3_2_1_0_1()); } ruleQualifiedName - { after(grammarAccess.getClassDefinitionAccess().getSuperclassesNamedElementQualifiedNameParserRuleCall_3_2_1_0_1()); } + { after(grammarAccess.getClassDeclarationAccess().getSupertypesSymbolQualifiedNameParserRuleCall_3_2_1_0_1()); } ) - { after(grammarAccess.getClassDefinitionAccess().getSuperclassesNamedElementCrossReference_3_2_1_0()); } + { after(grammarAccess.getClassDeclarationAccess().getSupertypesSymbolCrossReference_3_2_1_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__ClassDefinition__MembersAssignment_5 +rule__ClassDeclaration__FieldsAssignment_4_0_1 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getClassDefinitionAccess().getMembersMemberDefinitionParserRuleCall_5_0()); } - ruleMemberDefinition - { after(grammarAccess.getClassDefinitionAccess().getMembersMemberDefinitionParserRuleCall_5_0()); } + { before(grammarAccess.getClassDeclarationAccess().getFieldsFieldParserRuleCall_4_0_1_0()); } + ruleField + { after(grammarAccess.getClassDeclarationAccess().getFieldsFieldParserRuleCall_4_0_1_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__MemberDefinition__ContainmentAssignment_0 +rule__Field__ContainmentAssignment_0_0 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getMemberDefinitionAccess().getContainmentContainsKeyword_0_0()); } + { before(grammarAccess.getFieldAccess().getContainmentContainsKeyword_0_0_0()); } ( - { before(grammarAccess.getMemberDefinitionAccess().getContainmentContainsKeyword_0_0()); } + { before(grammarAccess.getFieldAccess().getContainmentContainsKeyword_0_0_0()); } Contains - { after(grammarAccess.getMemberDefinitionAccess().getContainmentContainsKeyword_0_0()); } + { after(grammarAccess.getFieldAccess().getContainmentContainsKeyword_0_0_0()); } + ) + { after(grammarAccess.getFieldAccess().getContainmentContainsKeyword_0_0_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__Field__CrossReferenceAssignment_0_1 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getFieldAccess().getCrossReferenceRefersKeyword_0_1_0()); } + ( + { before(grammarAccess.getFieldAccess().getCrossReferenceRefersKeyword_0_1_0()); } + Refers + { after(grammarAccess.getFieldAccess().getCrossReferenceRefersKeyword_0_1_0()); } ) - { after(grammarAccess.getMemberDefinitionAccess().getContainmentContainsKeyword_0_0()); } + { after(grammarAccess.getFieldAccess().getCrossReferenceRefersKeyword_0_1_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__MemberDefinition__TypeAssignment_1 +rule__Field__TypeAssignment_1 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getMemberDefinitionAccess().getTypeNamedElementCrossReference_1_0()); } + { before(grammarAccess.getFieldAccess().getTypeSymbolCrossReference_1_0()); } ( - { before(grammarAccess.getMemberDefinitionAccess().getTypeNamedElementQualifiedNameParserRuleCall_1_0_1()); } + { before(grammarAccess.getFieldAccess().getTypeSymbolQualifiedNameParserRuleCall_1_0_1()); } ruleQualifiedName - { after(grammarAccess.getMemberDefinitionAccess().getTypeNamedElementQualifiedNameParserRuleCall_1_0_1()); } + { after(grammarAccess.getFieldAccess().getTypeSymbolQualifiedNameParserRuleCall_1_0_1()); } ) - { after(grammarAccess.getMemberDefinitionAccess().getTypeNamedElementCrossReference_1_0()); } + { after(grammarAccess.getFieldAccess().getTypeSymbolCrossReference_1_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__MemberDefinition__MultiplicityAssignment_2 +rule__Field__MultiplicityAssignment_2 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getMemberDefinitionAccess().getMultiplicityMultiplicityParserRuleCall_2_0()); } + { before(grammarAccess.getFieldAccess().getMultiplicityMultiplicityParserRuleCall_2_0()); } ruleMultiplicity - { after(grammarAccess.getMemberDefinitionAccess().getMultiplicityMultiplicityParserRuleCall_2_0()); } + { after(grammarAccess.getFieldAccess().getMultiplicityMultiplicityParserRuleCall_2_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__MemberDefinition__NameAssignment_3 +rule__Field__NameAssignment_3 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getMemberDefinitionAccess().getNameIDTerminalRuleCall_3_0()); } + { before(grammarAccess.getFieldAccess().getNameIDTerminalRuleCall_3_0()); } RULE_ID - { after(grammarAccess.getMemberDefinitionAccess().getNameIDTerminalRuleCall_3_0()); } + { after(grammarAccess.getFieldAccess().getNameIDTerminalRuleCall_3_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__MemberDefinition__OppositeAssignment_4_1 +rule__Field__OppositeAssignment_4_1 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getMemberDefinitionAccess().getOppositeNamedElementCrossReference_4_1_0()); } + { before(grammarAccess.getFieldAccess().getOppositeSymbolCrossReference_4_1_0()); } ( - { before(grammarAccess.getMemberDefinitionAccess().getOppositeNamedElementQualifiedNameParserRuleCall_4_1_0_1()); } + { before(grammarAccess.getFieldAccess().getOppositeSymbolQualifiedNameParserRuleCall_4_1_0_1()); } ruleQualifiedName - { after(grammarAccess.getMemberDefinitionAccess().getOppositeNamedElementQualifiedNameParserRuleCall_4_1_0_1()); } + { after(grammarAccess.getFieldAccess().getOppositeSymbolQualifiedNameParserRuleCall_4_1_0_1()); } ) - { after(grammarAccess.getMemberDefinitionAccess().getOppositeNamedElementCrossReference_4_1_0()); } + { after(grammarAccess.getFieldAccess().getOppositeSymbolCrossReference_4_1_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__ExactMultiplicity__MultiplicityAssignment_1 +rule__ExactMultiplicity__ValueAssignment_1 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getExactMultiplicityAccess().getMultiplicityUpperMultiplictyParserRuleCall_1_0()); } + { before(grammarAccess.getExactMultiplicityAccess().getValueUpperMultiplictyParserRuleCall_1_0()); } ruleUpperMultiplicty - { after(grammarAccess.getExactMultiplicityAccess().getMultiplicityUpperMultiplictyParserRuleCall_1_0()); } + { after(grammarAccess.getExactMultiplicityAccess().getValueUpperMultiplictyParserRuleCall_1_0()); } ) ; finally { @@ -10657,230 +12221,290 @@ finally { restoreStackSize(stackSize); } -rule__ExactScopeDefinition__TypeAssignment_1 +rule__EnumDeclaration__NameAssignment_1 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getEnumDeclarationAccess().getNameIDTerminalRuleCall_1_0()); } + RULE_ID + { after(grammarAccess.getEnumDeclarationAccess().getNameIDTerminalRuleCall_1_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__EnumDeclaration__LiteralsAssignment_2_0_1_0 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getEnumDeclarationAccess().getLiteralsEnumLiteralParserRuleCall_2_0_1_0_0()); } + ruleEnumLiteral + { after(grammarAccess.getEnumDeclarationAccess().getLiteralsEnumLiteralParserRuleCall_2_0_1_0_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__EnumDeclaration__LiteralsAssignment_2_0_1_1_1 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getEnumDeclarationAccess().getLiteralsEnumLiteralParserRuleCall_2_0_1_1_1_0()); } + ruleEnumLiteral + { after(grammarAccess.getEnumDeclarationAccess().getLiteralsEnumLiteralParserRuleCall_2_0_1_1_1_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__EnumLiteral__NameAssignment + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getEnumLiteralAccess().getNameIDTerminalRuleCall_0()); } + RULE_ID + { after(grammarAccess.getEnumLiteralAccess().getNameIDTerminalRuleCall_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__ExactScope__TypeAssignment_1 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getExactScopeDefinitionAccess().getTypeNamedElementCrossReference_1_0()); } + { before(grammarAccess.getExactScopeAccess().getTypeSymbolCrossReference_1_0()); } ( - { before(grammarAccess.getExactScopeDefinitionAccess().getTypeNamedElementQualifiedNameParserRuleCall_1_0_1()); } + { before(grammarAccess.getExactScopeAccess().getTypeSymbolQualifiedNameParserRuleCall_1_0_1()); } ruleQualifiedName - { after(grammarAccess.getExactScopeDefinitionAccess().getTypeNamedElementQualifiedNameParserRuleCall_1_0_1()); } + { after(grammarAccess.getExactScopeAccess().getTypeSymbolQualifiedNameParserRuleCall_1_0_1()); } ) - { after(grammarAccess.getExactScopeDefinitionAccess().getTypeNamedElementCrossReference_1_0()); } + { after(grammarAccess.getExactScopeAccess().getTypeSymbolCrossReference_1_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__ExactScopeDefinition__ExactScopeAssignment_3 +rule__ExactScope__SizeAssignment_3 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getExactScopeDefinitionAccess().getExactScopeINTTerminalRuleCall_3_0()); } + { before(grammarAccess.getExactScopeAccess().getSizeINTTerminalRuleCall_3_0()); } RULE_INT - { after(grammarAccess.getExactScopeDefinitionAccess().getExactScopeINTTerminalRuleCall_3_0()); } + { after(grammarAccess.getExactScopeAccess().getSizeINTTerminalRuleCall_3_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__BoundedScopeDefinition__LowerBoundAssignment_1_0_0_0 +rule__BoundedScope__LowerBoundAssignment_1_0_0_0 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getBoundedScopeDefinitionAccess().getLowerBoundINTTerminalRuleCall_1_0_0_0_0()); } + { before(grammarAccess.getBoundedScopeAccess().getLowerBoundINTTerminalRuleCall_1_0_0_0_0()); } RULE_INT - { after(grammarAccess.getBoundedScopeDefinitionAccess().getLowerBoundINTTerminalRuleCall_1_0_0_0_0()); } + { after(grammarAccess.getBoundedScopeAccess().getLowerBoundINTTerminalRuleCall_1_0_0_0_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__BoundedScopeDefinition__TypeAssignment_1_0_1 +rule__BoundedScope__TypeAssignment_1_0_1 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getBoundedScopeDefinitionAccess().getTypeNamedElementCrossReference_1_0_1_0()); } + { before(grammarAccess.getBoundedScopeAccess().getTypeSymbolCrossReference_1_0_1_0()); } ( - { before(grammarAccess.getBoundedScopeDefinitionAccess().getTypeNamedElementQualifiedNameParserRuleCall_1_0_1_0_1()); } + { before(grammarAccess.getBoundedScopeAccess().getTypeSymbolQualifiedNameParserRuleCall_1_0_1_0_1()); } ruleQualifiedName - { after(grammarAccess.getBoundedScopeDefinitionAccess().getTypeNamedElementQualifiedNameParserRuleCall_1_0_1_0_1()); } + { after(grammarAccess.getBoundedScopeAccess().getTypeSymbolQualifiedNameParserRuleCall_1_0_1_0_1()); } ) - { after(grammarAccess.getBoundedScopeDefinitionAccess().getTypeNamedElementCrossReference_1_0_1_0()); } + { after(grammarAccess.getBoundedScopeAccess().getTypeSymbolCrossReference_1_0_1_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__BoundedScopeDefinition__UpperBoundAssignment_1_0_3 +rule__BoundedScope__UpperBoundAssignment_1_0_3 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getBoundedScopeDefinitionAccess().getUpperBoundINTTerminalRuleCall_1_0_3_0()); } + { before(grammarAccess.getBoundedScopeAccess().getUpperBoundINTTerminalRuleCall_1_0_3_0()); } RULE_INT - { after(grammarAccess.getBoundedScopeDefinitionAccess().getUpperBoundINTTerminalRuleCall_1_0_3_0()); } + { after(grammarAccess.getBoundedScopeAccess().getUpperBoundINTTerminalRuleCall_1_0_3_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__BoundedScopeDefinition__UpperBoundAssignment_1_1_0 +rule__BoundedScope__UpperBoundAssignment_1_1_0 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getBoundedScopeDefinitionAccess().getUpperBoundINTTerminalRuleCall_1_1_0_0()); } + { before(grammarAccess.getBoundedScopeAccess().getUpperBoundINTTerminalRuleCall_1_1_0_0()); } RULE_INT - { after(grammarAccess.getBoundedScopeDefinitionAccess().getUpperBoundINTTerminalRuleCall_1_1_0_0()); } + { after(grammarAccess.getBoundedScopeAccess().getUpperBoundINTTerminalRuleCall_1_1_0_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__BoundedScopeDefinition__TypeAssignment_1_1_2 +rule__BoundedScope__TypeAssignment_1_1_2 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getBoundedScopeDefinitionAccess().getTypeNamedElementCrossReference_1_1_2_0()); } + { before(grammarAccess.getBoundedScopeAccess().getTypeSymbolCrossReference_1_1_2_0()); } ( - { before(grammarAccess.getBoundedScopeDefinitionAccess().getTypeNamedElementQualifiedNameParserRuleCall_1_1_2_0_1()); } + { before(grammarAccess.getBoundedScopeAccess().getTypeSymbolQualifiedNameParserRuleCall_1_1_2_0_1()); } ruleQualifiedName - { after(grammarAccess.getBoundedScopeDefinitionAccess().getTypeNamedElementQualifiedNameParserRuleCall_1_1_2_0_1()); } + { after(grammarAccess.getBoundedScopeAccess().getTypeSymbolQualifiedNameParserRuleCall_1_1_2_0_1()); } ) - { after(grammarAccess.getBoundedScopeDefinitionAccess().getTypeNamedElementCrossReference_1_1_2_0()); } + { after(grammarAccess.getBoundedScopeAccess().getTypeSymbolCrossReference_1_1_2_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__BoundedScopeDefinition__LowerBoundAssignment_1_1_3_1 +rule__BoundedScope__LowerBoundAssignment_1_1_3_1 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getBoundedScopeDefinitionAccess().getLowerBoundINTTerminalRuleCall_1_1_3_1_0()); } + { before(grammarAccess.getBoundedScopeAccess().getLowerBoundINTTerminalRuleCall_1_1_3_1_0()); } RULE_INT - { after(grammarAccess.getBoundedScopeDefinitionAccess().getLowerBoundINTTerminalRuleCall_1_1_3_1_0()); } + { after(grammarAccess.getBoundedScopeAccess().getLowerBoundINTTerminalRuleCall_1_1_3_1_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_0_0 +rule__LowerBoundedScope__LowerBoundAssignment_1_0_0 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getLowerBoundINTTerminalRuleCall_1_0_0_0()); } + { before(grammarAccess.getLowerBoundedScopeAccess().getLowerBoundINTTerminalRuleCall_1_0_0_0()); } RULE_INT - { after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getLowerBoundINTTerminalRuleCall_1_0_0_0()); } + { after(grammarAccess.getLowerBoundedScopeAccess().getLowerBoundINTTerminalRuleCall_1_0_0_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__LowerBoundedScopeDefinition__TypeAssignment_1_0_2 +rule__LowerBoundedScope__TypeAssignment_1_0_2 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getTypeNamedElementCrossReference_1_0_2_0()); } + { before(grammarAccess.getLowerBoundedScopeAccess().getTypeSymbolCrossReference_1_0_2_0()); } ( - { before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getTypeNamedElementQualifiedNameParserRuleCall_1_0_2_0_1()); } + { before(grammarAccess.getLowerBoundedScopeAccess().getTypeSymbolQualifiedNameParserRuleCall_1_0_2_0_1()); } ruleQualifiedName - { after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getTypeNamedElementQualifiedNameParserRuleCall_1_0_2_0_1()); } + { after(grammarAccess.getLowerBoundedScopeAccess().getTypeSymbolQualifiedNameParserRuleCall_1_0_2_0_1()); } ) - { after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getTypeNamedElementCrossReference_1_0_2_0()); } + { after(grammarAccess.getLowerBoundedScopeAccess().getTypeSymbolCrossReference_1_0_2_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__LowerBoundedScopeDefinition__TypeAssignment_1_1_0 +rule__LowerBoundedScope__TypeAssignment_1_1_0 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getTypeNamedElementCrossReference_1_1_0_0()); } + { before(grammarAccess.getLowerBoundedScopeAccess().getTypeSymbolCrossReference_1_1_0_0()); } ( - { before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getTypeNamedElementQualifiedNameParserRuleCall_1_1_0_0_1()); } + { before(grammarAccess.getLowerBoundedScopeAccess().getTypeSymbolQualifiedNameParserRuleCall_1_1_0_0_1()); } ruleQualifiedName - { after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getTypeNamedElementQualifiedNameParserRuleCall_1_1_0_0_1()); } + { after(grammarAccess.getLowerBoundedScopeAccess().getTypeSymbolQualifiedNameParserRuleCall_1_1_0_0_1()); } ) - { after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getTypeNamedElementCrossReference_1_1_0_0()); } + { after(grammarAccess.getLowerBoundedScopeAccess().getTypeSymbolCrossReference_1_1_0_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_1_2 +rule__LowerBoundedScope__LowerBoundAssignment_1_1_2 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getLowerBoundINTTerminalRuleCall_1_1_2_0()); } + { before(grammarAccess.getLowerBoundedScopeAccess().getLowerBoundINTTerminalRuleCall_1_1_2_0()); } RULE_INT - { after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getLowerBoundINTTerminalRuleCall_1_1_2_0()); } + { after(grammarAccess.getLowerBoundedScopeAccess().getLowerBoundINTTerminalRuleCall_1_1_2_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__ObjectiveDefinition__KindAssignment_0 +rule__ObjectiveDeclaration__KindAssignment_0 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getObjectiveDefinitionAccess().getKindObjectiveKindEnumRuleCall_0_0()); } + { before(grammarAccess.getObjectiveDeclarationAccess().getKindObjectiveKindEnumRuleCall_0_0()); } ruleObjectiveKind - { after(grammarAccess.getObjectiveDefinitionAccess().getKindObjectiveKindEnumRuleCall_0_0()); } + { after(grammarAccess.getObjectiveDeclarationAccess().getKindObjectiveKindEnumRuleCall_0_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__ObjectiveDefinition__ObjectiveAssignment_1 +rule__ObjectiveDeclaration__ObjectiveAssignment_1 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getObjectiveDefinitionAccess().getObjectiveExpressionParserRuleCall_1_0()); } + { before(grammarAccess.getObjectiveDeclarationAccess().getObjectiveExpressionParserRuleCall_1_0()); } ruleExpression - { after(grammarAccess.getObjectiveDefinitionAccess().getObjectiveExpressionParserRuleCall_1_0()); } + { after(grammarAccess.getObjectiveDeclarationAccess().getObjectiveExpressionParserRuleCall_1_0()); } ) ; finally { diff --git a/Application/org.eclipse.viatra.solver.language.ide/src-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/internal/InternalSolverLanguageParser.java b/Application/org.eclipse.viatra.solver.language.ide/src-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/internal/InternalSolverLanguageParser.java index 6af30519..470fd80a 100644 --- a/Application/org.eclipse.viatra.solver.language.ide/src-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/internal/InternalSolverLanguageParser.java +++ b/Application/org.eclipse.viatra.solver.language.ide/src-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/internal/InternalSolverLanguageParser.java @@ -24,79 +24,84 @@ import java.util.ArrayList; @SuppressWarnings("all") public class InternalSolverLanguageParser extends AbstractInternalContentAssistParser { public static final String[] tokenNames = new String[] { - "", "", "", "", "Functional", "Abstract", "Contains", "Datatype", "Maximize", "Minimize", "Opposite", "Current", "Default", "Extends", "Unknown", "Exists", "Extern", "Forall", "Class", "Count", "Empty", "Error", "False", "Scope", "Else", "Must", "Then", "True", "FullStopFullStopFullStop", "Inf", "Let", "May", "ExclamationMarkEqualsSign", "HyphenMinusGreaterThanSign", "FullStopFullStop", "ColonHyphenMinus", "LessThanSignEqualsSign", "EqualsSignEqualsSign", "EqualsSignGreaterThanSign", "GreaterThanSignEqualsSign", "As", "If", "In", "ExclamationMark", "LeftParenthesis", "RightParenthesis", "Asterisk", "PlusSign", "Comma", "HyphenMinus", "FullStop", "Solidus", "Colon", "Semicolon", "LessThanSign", "EqualsSign", "GreaterThanSign", "LeftSquareBracket", "RightSquareBracket", "CircumflexAccent", "LeftCurlyBracket", "VerticalLine", "RightCurlyBracket", "RULE_STRING", "RULE_QUOTED_ID", "RULE_SL_COMMENT", "RULE_TRANSITIVE_CLOSURE", "RULE_REFLEXIVE_TRANSITIVE_CLOSURE", "RULE_FULL_STOP", "RULE_ID", "RULE_INT", "RULE_ML_COMMENT", "RULE_WS", "RULE_ANY_OTHER" + "", "", "", "", "Containment", "Functional", "Abstract", "Contains", "Datatype", "Maximize", "Minimize", "Opposite", "Default", "Extends", "Problem", "Unknown", "Extern", "Import", "Object", "Refers", "Class", "Count", "Empty", "Error", "False", "Scope", "Else", "Enum", "Root", "Then", "True", "FullStopFullStopFullStop", "Inf", "Let", "ExclamationMarkEqualsSign", "HyphenMinusGreaterThanSign", "ColonHyphenMinus", "ColonColon", "ColonEqualsSign", "LessThanSignEqualsSign", "EqualsSignEqualsSign", "EqualsSignGreaterThanSign", "GreaterThanSignEqualsSign", "As", "If", "In", "ExclamationMark", "LeftParenthesis", "RightParenthesis", "Asterisk", "PlusSign", "Comma", "HyphenMinus", "FullStop", "Solidus", "Colon", "Semicolon", "LessThanSign", "EqualsSign", "GreaterThanSign", "QuestionMark", "LeftSquareBracket", "RightSquareBracket", "CircumflexAccent", "LeftCurlyBracket", "VerticalLine", "RightCurlyBracket", "Tilde", "RULE_STRING", "RULE_QUOTED_ID", "RULE_SL_COMMENT", "RULE_TRANSITIVE_CLOSURE", "RULE_REFLEXIVE_TRANSITIVE_CLOSURE", "RULE_FULL_STOP", "RULE_ID", "RULE_INT", "RULE_ML_COMMENT", "RULE_WS", "RULE_ANY_OTHER" }; - public static final int EqualsSignGreaterThanSign=38; - public static final int True=27; - public static final int Count=19; - public static final int False=22; - public static final int Must=25; - public static final int FullStopFullStopFullStop=28; - public static final int LessThanSign=54; - public static final int Datatype=7; - public static final int LeftParenthesis=44; - public static final int Unknown=14; - public static final int RULE_REFLEXIVE_TRANSITIVE_CLOSURE=67; - public static final int FullStopFullStop=34; - public static final int Then=26; + public static final int Enum=27; + public static final int Import=17; + public static final int EqualsSignGreaterThanSign=41; + public static final int True=30; + public static final int Count=21; + public static final int False=24; + public static final int FullStopFullStopFullStop=31; + public static final int LessThanSign=57; + public static final int Datatype=8; + public static final int LeftParenthesis=47; + public static final int Unknown=15; + public static final int RULE_REFLEXIVE_TRANSITIVE_CLOSURE=72; + public static final int Then=29; public static final int Extends=13; - public static final int Forall=17; - public static final int RightSquareBracket=58; - public static final int ExclamationMark=43; - public static final int Opposite=10; - public static final int GreaterThanSign=56; - public static final int RULE_ID=69; - public static final int RULE_QUOTED_ID=64; - public static final int RightParenthesis=45; - public static final int GreaterThanSignEqualsSign=39; - public static final int Functional=4; - public static final int EqualsSignEqualsSign=37; - public static final int VerticalLine=61; - public static final int PlusSign=47; - public static final int RULE_INT=70; - public static final int Contains=6; - public static final int RULE_ML_COMMENT=71; - public static final int RULE_TRANSITIVE_CLOSURE=66; - public static final int Class=18; - public static final int LeftSquareBracket=57; - public static final int RULE_FULL_STOP=68; - public static final int Current=11; - public static final int If=41; - public static final int Inf=29; - public static final int May=31; - public static final int In=42; - public static final int RULE_STRING=63; + public static final int RightSquareBracket=62; + public static final int ExclamationMark=46; + public static final int Opposite=11; + public static final int GreaterThanSign=59; + public static final int Root=28; + public static final int RULE_ID=74; + public static final int RULE_QUOTED_ID=69; + public static final int RightParenthesis=48; + public static final int ColonEqualsSign=38; + public static final int GreaterThanSignEqualsSign=42; + public static final int Functional=5; + public static final int ColonColon=37; + public static final int EqualsSignEqualsSign=40; + public static final int VerticalLine=65; + public static final int PlusSign=50; + public static final int RULE_INT=75; + public static final int Contains=7; + public static final int RULE_ML_COMMENT=76; + public static final int RULE_TRANSITIVE_CLOSURE=71; + public static final int Problem=14; + public static final int Object=18; + public static final int Class=20; + public static final int LeftSquareBracket=61; + public static final int RULE_FULL_STOP=73; + public static final int If=44; + public static final int Refers=19; + public static final int Inf=32; + public static final int In=45; + public static final int RULE_STRING=68; public static final int Extern=16; - public static final int RULE_SL_COMMENT=65; - public static final int Comma=48; - public static final int EqualsSign=55; - public static final int Empty=20; - public static final int As=40; - public static final int HyphenMinus=49; - public static final int Maximize=8; - public static final int LessThanSignEqualsSign=36; - public static final int Solidus=51; - public static final int Colon=52; - public static final int RightCurlyBracket=62; + public static final int RULE_SL_COMMENT=70; + public static final int Comma=51; + public static final int EqualsSign=58; + public static final int Empty=22; + public static final int As=43; + public static final int HyphenMinus=52; + public static final int Maximize=9; + public static final int LessThanSignEqualsSign=39; + public static final int Solidus=54; + public static final int Colon=55; + public static final int RightCurlyBracket=66; public static final int EOF=-1; - public static final int Asterisk=46; - public static final int FullStop=50; - public static final int RULE_WS=72; - public static final int Abstract=5; - public static final int Minimize=9; - public static final int LeftCurlyBracket=60; - public static final int Error=21; - public static final int RULE_ANY_OTHER=73; + public static final int Asterisk=49; + public static final int Containment=4; + public static final int FullStop=53; + public static final int RULE_WS=77; + public static final int Abstract=6; + public static final int Minimize=10; + public static final int LeftCurlyBracket=64; + public static final int Error=23; + public static final int Tilde=67; + public static final int RULE_ANY_OTHER=78; public static final int Default=12; - public static final int ColonHyphenMinus=35; - public static final int CircumflexAccent=59; - public static final int Semicolon=53; - public static final int Scope=23; - public static final int Exists=15; - public static final int Else=24; - public static final int Let=30; - public static final int ExclamationMarkEqualsSign=32; - public static final int HyphenMinusGreaterThanSign=33; + public static final int ColonHyphenMinus=36; + public static final int CircumflexAccent=63; + public static final int Semicolon=56; + public static final int Scope=25; + public static final int QuestionMark=60; + public static final int Else=26; + public static final int Let=33; + public static final int ExclamationMarkEqualsSign=34; + public static final int HyphenMinusGreaterThanSign=35; // delegates // delegators @@ -133,16 +138,19 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP tokenNameToValue.put("LessThanSign", "'<'"); tokenNameToValue.put("EqualsSign", "'='"); tokenNameToValue.put("GreaterThanSign", "'>'"); + tokenNameToValue.put("QuestionMark", "'?'"); tokenNameToValue.put("LeftSquareBracket", "'['"); tokenNameToValue.put("RightSquareBracket", "']'"); tokenNameToValue.put("CircumflexAccent", "'^'"); tokenNameToValue.put("LeftCurlyBracket", "'{'"); tokenNameToValue.put("VerticalLine", "'|'"); tokenNameToValue.put("RightCurlyBracket", "'}'"); + tokenNameToValue.put("Tilde", "'~'"); tokenNameToValue.put("ExclamationMarkEqualsSign", "'!='"); tokenNameToValue.put("HyphenMinusGreaterThanSign", "'->'"); - tokenNameToValue.put("FullStopFullStop", "'..'"); tokenNameToValue.put("ColonHyphenMinus", "':-'"); + tokenNameToValue.put("ColonColon", "'::'"); + tokenNameToValue.put("ColonEqualsSign", "':='"); tokenNameToValue.put("LessThanSignEqualsSign", "'<='"); tokenNameToValue.put("EqualsSignEqualsSign", "'=='"); tokenNameToValue.put("EqualsSignGreaterThanSign", "'=>'"); @@ -153,9 +161,9 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP tokenNameToValue.put("FullStopFullStopFullStop", "'...'"); tokenNameToValue.put("Inf", "'inf'"); tokenNameToValue.put("Let", "'let'"); - tokenNameToValue.put("May", "'may'"); tokenNameToValue.put("Else", "'else'"); - tokenNameToValue.put("Must", "'must'"); + tokenNameToValue.put("Enum", "'enum'"); + tokenNameToValue.put("Root", "'root'"); tokenNameToValue.put("Then", "'then'"); tokenNameToValue.put("True", "'true'"); tokenNameToValue.put("Class", "'class'"); @@ -164,12 +172,13 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP tokenNameToValue.put("Error", "'error'"); tokenNameToValue.put("False", "'false'"); tokenNameToValue.put("Scope", "'scope'"); - tokenNameToValue.put("Exists", "'exists'"); tokenNameToValue.put("Extern", "'extern'"); - tokenNameToValue.put("Forall", "'forall'"); - tokenNameToValue.put("Current", "'current'"); + tokenNameToValue.put("Import", "'import'"); + tokenNameToValue.put("Object", "'object'"); + tokenNameToValue.put("Refers", "'refers'"); tokenNameToValue.put("Default", "'default'"); tokenNameToValue.put("Extends", "'extends'"); + tokenNameToValue.put("Problem", "'problem'"); tokenNameToValue.put("Unknown", "'unknown'"); tokenNameToValue.put("Abstract", "'abstract'"); tokenNameToValue.put("Contains", "'contains'"); @@ -178,6 +187,7 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP tokenNameToValue.put("Minimize", "'minimize'"); tokenNameToValue.put("Opposite", "'opposite'"); tokenNameToValue.put("Functional", "'functional'"); + tokenNameToValue.put("Containment", "'containment'"); } public void setGrammarAccess(SolverLanguageGrammarAccess grammarAccess) { @@ -200,11 +210,11 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR start "entryRuleProblem" - // InternalSolverLanguageParser.g:114:1: entryRuleProblem : ruleProblem EOF ; + // InternalSolverLanguageParser.g:119:1: entryRuleProblem : ruleProblem EOF ; public final void entryRuleProblem() throws RecognitionException { try { - // InternalSolverLanguageParser.g:115:1: ( ruleProblem EOF ) - // InternalSolverLanguageParser.g:116:1: ruleProblem EOF + // InternalSolverLanguageParser.g:120:1: ( ruleProblem EOF ) + // InternalSolverLanguageParser.g:121:1: ruleProblem EOF { before(grammarAccess.getProblemRule()); pushFollow(FOLLOW_1); @@ -230,49 +240,31 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR start "ruleProblem" - // InternalSolverLanguageParser.g:123:1: ruleProblem : ( ( rule__Problem__StatementsAssignment )* ) ; + // InternalSolverLanguageParser.g:128:1: ruleProblem : ( ( rule__Problem__Group__0 ) ) ; public final void ruleProblem() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:127:2: ( ( ( rule__Problem__StatementsAssignment )* ) ) - // InternalSolverLanguageParser.g:128:2: ( ( rule__Problem__StatementsAssignment )* ) + // InternalSolverLanguageParser.g:132:2: ( ( ( rule__Problem__Group__0 ) ) ) + // InternalSolverLanguageParser.g:133:2: ( ( rule__Problem__Group__0 ) ) { - // InternalSolverLanguageParser.g:128:2: ( ( rule__Problem__StatementsAssignment )* ) - // InternalSolverLanguageParser.g:129:3: ( rule__Problem__StatementsAssignment )* + // InternalSolverLanguageParser.g:133:2: ( ( rule__Problem__Group__0 ) ) + // InternalSolverLanguageParser.g:134:3: ( rule__Problem__Group__0 ) { - before(grammarAccess.getProblemAccess().getStatementsAssignment()); - // InternalSolverLanguageParser.g:130:3: ( rule__Problem__StatementsAssignment )* - loop1: - do { - int alt1=2; - int LA1_0 = input.LA(1); - - if ( ((LA1_0>=Functional && LA1_0<=Abstract)||(LA1_0>=Maximize && LA1_0<=Minimize)||(LA1_0>=Current && LA1_0<=Default)||(LA1_0>=Unknown && LA1_0<=False)||LA1_0==Scope||LA1_0==Must||LA1_0==True||(LA1_0>=Inf && LA1_0<=May)||LA1_0==If||(LA1_0>=ExclamationMark && LA1_0<=LeftParenthesis)||LA1_0==PlusSign||LA1_0==HyphenMinus||LA1_0==LeftSquareBracket||(LA1_0>=RULE_STRING && LA1_0<=RULE_QUOTED_ID)||(LA1_0>=RULE_ID && LA1_0<=RULE_INT)) ) { - alt1=1; - } - - - switch (alt1) { - case 1 : - // InternalSolverLanguageParser.g:130:4: rule__Problem__StatementsAssignment - { - pushFollow(FOLLOW_3); - rule__Problem__StatementsAssignment(); - - state._fsp--; + before(grammarAccess.getProblemAccess().getGroup()); + // InternalSolverLanguageParser.g:135:3: ( rule__Problem__Group__0 ) + // InternalSolverLanguageParser.g:135:4: rule__Problem__Group__0 + { + pushFollow(FOLLOW_2); + rule__Problem__Group__0(); + state._fsp--; - } - break; - default : - break loop1; - } - } while (true); + } - after(grammarAccess.getProblemAccess().getStatementsAssignment()); + after(grammarAccess.getProblemAccess().getGroup()); } @@ -295,11 +287,11 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR start "entryRuleStatement" - // InternalSolverLanguageParser.g:139:1: entryRuleStatement : ruleStatement EOF ; + // InternalSolverLanguageParser.g:144:1: entryRuleStatement : ruleStatement EOF ; public final void entryRuleStatement() throws RecognitionException { try { - // InternalSolverLanguageParser.g:140:1: ( ruleStatement EOF ) - // InternalSolverLanguageParser.g:141:1: ruleStatement EOF + // InternalSolverLanguageParser.g:145:1: ( ruleStatement EOF ) + // InternalSolverLanguageParser.g:146:1: ruleStatement EOF { before(grammarAccess.getStatementRule()); pushFollow(FOLLOW_1); @@ -325,31 +317,31 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR start "ruleStatement" - // InternalSolverLanguageParser.g:148:1: ruleStatement : ( ( rule__Statement__Group__0 ) ) ; + // InternalSolverLanguageParser.g:153:1: ruleStatement : ( ( rule__Statement__Alternatives ) ) ; public final void ruleStatement() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:152:2: ( ( ( rule__Statement__Group__0 ) ) ) - // InternalSolverLanguageParser.g:153:2: ( ( rule__Statement__Group__0 ) ) + // InternalSolverLanguageParser.g:157:2: ( ( ( rule__Statement__Alternatives ) ) ) + // InternalSolverLanguageParser.g:158:2: ( ( rule__Statement__Alternatives ) ) { - // InternalSolverLanguageParser.g:153:2: ( ( rule__Statement__Group__0 ) ) - // InternalSolverLanguageParser.g:154:3: ( rule__Statement__Group__0 ) + // InternalSolverLanguageParser.g:158:2: ( ( rule__Statement__Alternatives ) ) + // InternalSolverLanguageParser.g:159:3: ( rule__Statement__Alternatives ) { - before(grammarAccess.getStatementAccess().getGroup()); - // InternalSolverLanguageParser.g:155:3: ( rule__Statement__Group__0 ) - // InternalSolverLanguageParser.g:155:4: rule__Statement__Group__0 + before(grammarAccess.getStatementAccess().getAlternatives()); + // InternalSolverLanguageParser.g:160:3: ( rule__Statement__Alternatives ) + // InternalSolverLanguageParser.g:160:4: rule__Statement__Alternatives { pushFollow(FOLLOW_2); - rule__Statement__Group__0(); + rule__Statement__Alternatives(); state._fsp--; } - after(grammarAccess.getStatementAccess().getGroup()); + after(grammarAccess.getStatementAccess().getAlternatives()); } @@ -371,20 +363,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR end "ruleStatement" - // $ANTLR start "entryRuleAssertionOrDefinition" - // InternalSolverLanguageParser.g:164:1: entryRuleAssertionOrDefinition : ruleAssertionOrDefinition EOF ; - public final void entryRuleAssertionOrDefinition() throws RecognitionException { + // $ANTLR start "entryRuleImport" + // InternalSolverLanguageParser.g:169:1: entryRuleImport : ruleImport EOF ; + public final void entryRuleImport() throws RecognitionException { try { - // InternalSolverLanguageParser.g:165:1: ( ruleAssertionOrDefinition EOF ) - // InternalSolverLanguageParser.g:166:1: ruleAssertionOrDefinition EOF + // InternalSolverLanguageParser.g:170:1: ( ruleImport EOF ) + // InternalSolverLanguageParser.g:171:1: ruleImport EOF { - before(grammarAccess.getAssertionOrDefinitionRule()); + before(grammarAccess.getImportRule()); pushFollow(FOLLOW_1); - ruleAssertionOrDefinition(); + ruleImport(); state._fsp--; - after(grammarAccess.getAssertionOrDefinitionRule()); + after(grammarAccess.getImportRule()); match(input,EOF,FOLLOW_2); } @@ -398,35 +390,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "entryRuleAssertionOrDefinition" + // $ANTLR end "entryRuleImport" - // $ANTLR start "ruleAssertionOrDefinition" - // InternalSolverLanguageParser.g:173:1: ruleAssertionOrDefinition : ( ( rule__AssertionOrDefinition__Group__0 ) ) ; - public final void ruleAssertionOrDefinition() throws RecognitionException { + // $ANTLR start "ruleImport" + // InternalSolverLanguageParser.g:178:1: ruleImport : ( ( rule__Import__Alternatives ) ) ; + public final void ruleImport() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:177:2: ( ( ( rule__AssertionOrDefinition__Group__0 ) ) ) - // InternalSolverLanguageParser.g:178:2: ( ( rule__AssertionOrDefinition__Group__0 ) ) + // InternalSolverLanguageParser.g:182:2: ( ( ( rule__Import__Alternatives ) ) ) + // InternalSolverLanguageParser.g:183:2: ( ( rule__Import__Alternatives ) ) { - // InternalSolverLanguageParser.g:178:2: ( ( rule__AssertionOrDefinition__Group__0 ) ) - // InternalSolverLanguageParser.g:179:3: ( rule__AssertionOrDefinition__Group__0 ) + // InternalSolverLanguageParser.g:183:2: ( ( rule__Import__Alternatives ) ) + // InternalSolverLanguageParser.g:184:3: ( rule__Import__Alternatives ) { - before(grammarAccess.getAssertionOrDefinitionAccess().getGroup()); - // InternalSolverLanguageParser.g:180:3: ( rule__AssertionOrDefinition__Group__0 ) - // InternalSolverLanguageParser.g:180:4: rule__AssertionOrDefinition__Group__0 + before(grammarAccess.getImportAccess().getAlternatives()); + // InternalSolverLanguageParser.g:185:3: ( rule__Import__Alternatives ) + // InternalSolverLanguageParser.g:185:4: rule__Import__Alternatives { pushFollow(FOLLOW_2); - rule__AssertionOrDefinition__Group__0(); + rule__Import__Alternatives(); state._fsp--; } - after(grammarAccess.getAssertionOrDefinitionAccess().getGroup()); + after(grammarAccess.getImportAccess().getAlternatives()); } @@ -445,23 +437,23 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "ruleAssertionOrDefinition" + // $ANTLR end "ruleImport" - // $ANTLR start "entryRulePredicateDefinition" - // InternalSolverLanguageParser.g:189:1: entryRulePredicateDefinition : rulePredicateDefinition EOF ; - public final void entryRulePredicateDefinition() throws RecognitionException { + // $ANTLR start "entryRuleUriImport" + // InternalSolverLanguageParser.g:194:1: entryRuleUriImport : ruleUriImport EOF ; + public final void entryRuleUriImport() throws RecognitionException { try { - // InternalSolverLanguageParser.g:190:1: ( rulePredicateDefinition EOF ) - // InternalSolverLanguageParser.g:191:1: rulePredicateDefinition EOF + // InternalSolverLanguageParser.g:195:1: ( ruleUriImport EOF ) + // InternalSolverLanguageParser.g:196:1: ruleUriImport EOF { - before(grammarAccess.getPredicateDefinitionRule()); + before(grammarAccess.getUriImportRule()); pushFollow(FOLLOW_1); - rulePredicateDefinition(); + ruleUriImport(); state._fsp--; - after(grammarAccess.getPredicateDefinitionRule()); + after(grammarAccess.getUriImportRule()); match(input,EOF,FOLLOW_2); } @@ -475,35 +467,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "entryRulePredicateDefinition" + // $ANTLR end "entryRuleUriImport" - // $ANTLR start "rulePredicateDefinition" - // InternalSolverLanguageParser.g:198:1: rulePredicateDefinition : ( ( rule__PredicateDefinition__Group__0 ) ) ; - public final void rulePredicateDefinition() throws RecognitionException { + // $ANTLR start "ruleUriImport" + // InternalSolverLanguageParser.g:203:1: ruleUriImport : ( ( rule__UriImport__Group__0 ) ) ; + public final void ruleUriImport() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:202:2: ( ( ( rule__PredicateDefinition__Group__0 ) ) ) - // InternalSolverLanguageParser.g:203:2: ( ( rule__PredicateDefinition__Group__0 ) ) + // InternalSolverLanguageParser.g:207:2: ( ( ( rule__UriImport__Group__0 ) ) ) + // InternalSolverLanguageParser.g:208:2: ( ( rule__UriImport__Group__0 ) ) { - // InternalSolverLanguageParser.g:203:2: ( ( rule__PredicateDefinition__Group__0 ) ) - // InternalSolverLanguageParser.g:204:3: ( rule__PredicateDefinition__Group__0 ) + // InternalSolverLanguageParser.g:208:2: ( ( rule__UriImport__Group__0 ) ) + // InternalSolverLanguageParser.g:209:3: ( rule__UriImport__Group__0 ) { - before(grammarAccess.getPredicateDefinitionAccess().getGroup()); - // InternalSolverLanguageParser.g:205:3: ( rule__PredicateDefinition__Group__0 ) - // InternalSolverLanguageParser.g:205:4: rule__PredicateDefinition__Group__0 + before(grammarAccess.getUriImportAccess().getGroup()); + // InternalSolverLanguageParser.g:210:3: ( rule__UriImport__Group__0 ) + // InternalSolverLanguageParser.g:210:4: rule__UriImport__Group__0 { pushFollow(FOLLOW_2); - rule__PredicateDefinition__Group__0(); + rule__UriImport__Group__0(); state._fsp--; } - after(grammarAccess.getPredicateDefinitionAccess().getGroup()); + after(grammarAccess.getUriImportAccess().getGroup()); } @@ -522,23 +514,23 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rulePredicateDefinition" + // $ANTLR end "ruleUriImport" - // $ANTLR start "entryRuleUnnamedErrorPrediateDefinition" - // InternalSolverLanguageParser.g:214:1: entryRuleUnnamedErrorPrediateDefinition : ruleUnnamedErrorPrediateDefinition EOF ; - public final void entryRuleUnnamedErrorPrediateDefinition() throws RecognitionException { + // $ANTLR start "entryRuleNamespaceImport" + // InternalSolverLanguageParser.g:219:1: entryRuleNamespaceImport : ruleNamespaceImport EOF ; + public final void entryRuleNamespaceImport() throws RecognitionException { try { - // InternalSolverLanguageParser.g:215:1: ( ruleUnnamedErrorPrediateDefinition EOF ) - // InternalSolverLanguageParser.g:216:1: ruleUnnamedErrorPrediateDefinition EOF + // InternalSolverLanguageParser.g:220:1: ( ruleNamespaceImport EOF ) + // InternalSolverLanguageParser.g:221:1: ruleNamespaceImport EOF { - before(grammarAccess.getUnnamedErrorPrediateDefinitionRule()); + before(grammarAccess.getNamespaceImportRule()); pushFollow(FOLLOW_1); - ruleUnnamedErrorPrediateDefinition(); + ruleNamespaceImport(); state._fsp--; - after(grammarAccess.getUnnamedErrorPrediateDefinitionRule()); + after(grammarAccess.getNamespaceImportRule()); match(input,EOF,FOLLOW_2); } @@ -552,35 +544,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "entryRuleUnnamedErrorPrediateDefinition" + // $ANTLR end "entryRuleNamespaceImport" - // $ANTLR start "ruleUnnamedErrorPrediateDefinition" - // InternalSolverLanguageParser.g:223:1: ruleUnnamedErrorPrediateDefinition : ( ( rule__UnnamedErrorPrediateDefinition__Group__0 ) ) ; - public final void ruleUnnamedErrorPrediateDefinition() throws RecognitionException { + // $ANTLR start "ruleNamespaceImport" + // InternalSolverLanguageParser.g:228:1: ruleNamespaceImport : ( ( rule__NamespaceImport__Group__0 ) ) ; + public final void ruleNamespaceImport() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:227:2: ( ( ( rule__UnnamedErrorPrediateDefinition__Group__0 ) ) ) - // InternalSolverLanguageParser.g:228:2: ( ( rule__UnnamedErrorPrediateDefinition__Group__0 ) ) + // InternalSolverLanguageParser.g:232:2: ( ( ( rule__NamespaceImport__Group__0 ) ) ) + // InternalSolverLanguageParser.g:233:2: ( ( rule__NamespaceImport__Group__0 ) ) { - // InternalSolverLanguageParser.g:228:2: ( ( rule__UnnamedErrorPrediateDefinition__Group__0 ) ) - // InternalSolverLanguageParser.g:229:3: ( rule__UnnamedErrorPrediateDefinition__Group__0 ) + // InternalSolverLanguageParser.g:233:2: ( ( rule__NamespaceImport__Group__0 ) ) + // InternalSolverLanguageParser.g:234:3: ( rule__NamespaceImport__Group__0 ) { - before(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getGroup()); - // InternalSolverLanguageParser.g:230:3: ( rule__UnnamedErrorPrediateDefinition__Group__0 ) - // InternalSolverLanguageParser.g:230:4: rule__UnnamedErrorPrediateDefinition__Group__0 + before(grammarAccess.getNamespaceImportAccess().getGroup()); + // InternalSolverLanguageParser.g:235:3: ( rule__NamespaceImport__Group__0 ) + // InternalSolverLanguageParser.g:235:4: rule__NamespaceImport__Group__0 { pushFollow(FOLLOW_2); - rule__UnnamedErrorPrediateDefinition__Group__0(); + rule__NamespaceImport__Group__0(); state._fsp--; } - after(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getGroup()); + after(grammarAccess.getNamespaceImportAccess().getGroup()); } @@ -599,23 +591,23 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "ruleUnnamedErrorPrediateDefinition" + // $ANTLR end "ruleNamespaceImport" - // $ANTLR start "entryRuleDefaultDefinition" - // InternalSolverLanguageParser.g:239:1: entryRuleDefaultDefinition : ruleDefaultDefinition EOF ; - public final void entryRuleDefaultDefinition() throws RecognitionException { + // $ANTLR start "entryRuleAssertionOrDefinition" + // InternalSolverLanguageParser.g:244:1: entryRuleAssertionOrDefinition : ruleAssertionOrDefinition EOF ; + public final void entryRuleAssertionOrDefinition() throws RecognitionException { try { - // InternalSolverLanguageParser.g:240:1: ( ruleDefaultDefinition EOF ) - // InternalSolverLanguageParser.g:241:1: ruleDefaultDefinition EOF + // InternalSolverLanguageParser.g:245:1: ( ruleAssertionOrDefinition EOF ) + // InternalSolverLanguageParser.g:246:1: ruleAssertionOrDefinition EOF { - before(grammarAccess.getDefaultDefinitionRule()); + before(grammarAccess.getAssertionOrDefinitionRule()); pushFollow(FOLLOW_1); - ruleDefaultDefinition(); + ruleAssertionOrDefinition(); state._fsp--; - after(grammarAccess.getDefaultDefinitionRule()); + after(grammarAccess.getAssertionOrDefinitionRule()); match(input,EOF,FOLLOW_2); } @@ -629,35 +621,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "entryRuleDefaultDefinition" + // $ANTLR end "entryRuleAssertionOrDefinition" - // $ANTLR start "ruleDefaultDefinition" - // InternalSolverLanguageParser.g:248:1: ruleDefaultDefinition : ( ( rule__DefaultDefinition__Group__0 ) ) ; - public final void ruleDefaultDefinition() throws RecognitionException { + // $ANTLR start "ruleAssertionOrDefinition" + // InternalSolverLanguageParser.g:253:1: ruleAssertionOrDefinition : ( ( rule__AssertionOrDefinition__Group__0 ) ) ; + public final void ruleAssertionOrDefinition() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:252:2: ( ( ( rule__DefaultDefinition__Group__0 ) ) ) - // InternalSolverLanguageParser.g:253:2: ( ( rule__DefaultDefinition__Group__0 ) ) + // InternalSolverLanguageParser.g:257:2: ( ( ( rule__AssertionOrDefinition__Group__0 ) ) ) + // InternalSolverLanguageParser.g:258:2: ( ( rule__AssertionOrDefinition__Group__0 ) ) { - // InternalSolverLanguageParser.g:253:2: ( ( rule__DefaultDefinition__Group__0 ) ) - // InternalSolverLanguageParser.g:254:3: ( rule__DefaultDefinition__Group__0 ) + // InternalSolverLanguageParser.g:258:2: ( ( rule__AssertionOrDefinition__Group__0 ) ) + // InternalSolverLanguageParser.g:259:3: ( rule__AssertionOrDefinition__Group__0 ) { - before(grammarAccess.getDefaultDefinitionAccess().getGroup()); - // InternalSolverLanguageParser.g:255:3: ( rule__DefaultDefinition__Group__0 ) - // InternalSolverLanguageParser.g:255:4: rule__DefaultDefinition__Group__0 + before(grammarAccess.getAssertionOrDefinitionAccess().getGroup()); + // InternalSolverLanguageParser.g:260:3: ( rule__AssertionOrDefinition__Group__0 ) + // InternalSolverLanguageParser.g:260:4: rule__AssertionOrDefinition__Group__0 { pushFollow(FOLLOW_2); - rule__DefaultDefinition__Group__0(); + rule__AssertionOrDefinition__Group__0(); state._fsp--; } - after(grammarAccess.getDefaultDefinitionAccess().getGroup()); + after(grammarAccess.getAssertionOrDefinitionAccess().getGroup()); } @@ -676,23 +668,23 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "ruleDefaultDefinition" + // $ANTLR end "ruleAssertionOrDefinition" - // $ANTLR start "entryRuleMetricDefinition" - // InternalSolverLanguageParser.g:264:1: entryRuleMetricDefinition : ruleMetricDefinition EOF ; - public final void entryRuleMetricDefinition() throws RecognitionException { + // $ANTLR start "entryRulePredicateDefinition" + // InternalSolverLanguageParser.g:269:1: entryRulePredicateDefinition : rulePredicateDefinition EOF ; + public final void entryRulePredicateDefinition() throws RecognitionException { try { - // InternalSolverLanguageParser.g:265:1: ( ruleMetricDefinition EOF ) - // InternalSolverLanguageParser.g:266:1: ruleMetricDefinition EOF + // InternalSolverLanguageParser.g:270:1: ( rulePredicateDefinition EOF ) + // InternalSolverLanguageParser.g:271:1: rulePredicateDefinition EOF { - before(grammarAccess.getMetricDefinitionRule()); + before(grammarAccess.getPredicateDefinitionRule()); pushFollow(FOLLOW_1); - ruleMetricDefinition(); + rulePredicateDefinition(); state._fsp--; - after(grammarAccess.getMetricDefinitionRule()); + after(grammarAccess.getPredicateDefinitionRule()); match(input,EOF,FOLLOW_2); } @@ -706,35 +698,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "entryRuleMetricDefinition" + // $ANTLR end "entryRulePredicateDefinition" - // $ANTLR start "ruleMetricDefinition" - // InternalSolverLanguageParser.g:273:1: ruleMetricDefinition : ( ( rule__MetricDefinition__Group__0 ) ) ; - public final void ruleMetricDefinition() throws RecognitionException { + // $ANTLR start "rulePredicateDefinition" + // InternalSolverLanguageParser.g:278:1: rulePredicateDefinition : ( ( rule__PredicateDefinition__Group__0 ) ) ; + public final void rulePredicateDefinition() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:277:2: ( ( ( rule__MetricDefinition__Group__0 ) ) ) - // InternalSolverLanguageParser.g:278:2: ( ( rule__MetricDefinition__Group__0 ) ) + // InternalSolverLanguageParser.g:282:2: ( ( ( rule__PredicateDefinition__Group__0 ) ) ) + // InternalSolverLanguageParser.g:283:2: ( ( rule__PredicateDefinition__Group__0 ) ) { - // InternalSolverLanguageParser.g:278:2: ( ( rule__MetricDefinition__Group__0 ) ) - // InternalSolverLanguageParser.g:279:3: ( rule__MetricDefinition__Group__0 ) + // InternalSolverLanguageParser.g:283:2: ( ( rule__PredicateDefinition__Group__0 ) ) + // InternalSolverLanguageParser.g:284:3: ( rule__PredicateDefinition__Group__0 ) { - before(grammarAccess.getMetricDefinitionAccess().getGroup()); - // InternalSolverLanguageParser.g:280:3: ( rule__MetricDefinition__Group__0 ) - // InternalSolverLanguageParser.g:280:4: rule__MetricDefinition__Group__0 + before(grammarAccess.getPredicateDefinitionAccess().getGroup()); + // InternalSolverLanguageParser.g:285:3: ( rule__PredicateDefinition__Group__0 ) + // InternalSolverLanguageParser.g:285:4: rule__PredicateDefinition__Group__0 { pushFollow(FOLLOW_2); - rule__MetricDefinition__Group__0(); + rule__PredicateDefinition__Group__0(); state._fsp--; } - after(grammarAccess.getMetricDefinitionAccess().getGroup()); + after(grammarAccess.getPredicateDefinitionAccess().getGroup()); } @@ -753,23 +745,23 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "ruleMetricDefinition" + // $ANTLR end "rulePredicateDefinition" - // $ANTLR start "entryRuleExternPredicateDefinition" - // InternalSolverLanguageParser.g:289:1: entryRuleExternPredicateDefinition : ruleExternPredicateDefinition EOF ; - public final void entryRuleExternPredicateDefinition() throws RecognitionException { + // $ANTLR start "entryRuleUnnamedErrorPredicateDefintion" + // InternalSolverLanguageParser.g:294:1: entryRuleUnnamedErrorPredicateDefintion : ruleUnnamedErrorPredicateDefintion EOF ; + public final void entryRuleUnnamedErrorPredicateDefintion() throws RecognitionException { try { - // InternalSolverLanguageParser.g:290:1: ( ruleExternPredicateDefinition EOF ) - // InternalSolverLanguageParser.g:291:1: ruleExternPredicateDefinition EOF + // InternalSolverLanguageParser.g:295:1: ( ruleUnnamedErrorPredicateDefintion EOF ) + // InternalSolverLanguageParser.g:296:1: ruleUnnamedErrorPredicateDefintion EOF { - before(grammarAccess.getExternPredicateDefinitionRule()); + before(grammarAccess.getUnnamedErrorPredicateDefintionRule()); pushFollow(FOLLOW_1); - ruleExternPredicateDefinition(); + ruleUnnamedErrorPredicateDefintion(); state._fsp--; - after(grammarAccess.getExternPredicateDefinitionRule()); + after(grammarAccess.getUnnamedErrorPredicateDefintionRule()); match(input,EOF,FOLLOW_2); } @@ -783,35 +775,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "entryRuleExternPredicateDefinition" + // $ANTLR end "entryRuleUnnamedErrorPredicateDefintion" - // $ANTLR start "ruleExternPredicateDefinition" - // InternalSolverLanguageParser.g:298:1: ruleExternPredicateDefinition : ( ( rule__ExternPredicateDefinition__Group__0 ) ) ; - public final void ruleExternPredicateDefinition() throws RecognitionException { + // $ANTLR start "ruleUnnamedErrorPredicateDefintion" + // InternalSolverLanguageParser.g:303:1: ruleUnnamedErrorPredicateDefintion : ( ( rule__UnnamedErrorPredicateDefintion__Group__0 ) ) ; + public final void ruleUnnamedErrorPredicateDefintion() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:302:2: ( ( ( rule__ExternPredicateDefinition__Group__0 ) ) ) - // InternalSolverLanguageParser.g:303:2: ( ( rule__ExternPredicateDefinition__Group__0 ) ) + // InternalSolverLanguageParser.g:307:2: ( ( ( rule__UnnamedErrorPredicateDefintion__Group__0 ) ) ) + // InternalSolverLanguageParser.g:308:2: ( ( rule__UnnamedErrorPredicateDefintion__Group__0 ) ) { - // InternalSolverLanguageParser.g:303:2: ( ( rule__ExternPredicateDefinition__Group__0 ) ) - // InternalSolverLanguageParser.g:304:3: ( rule__ExternPredicateDefinition__Group__0 ) + // InternalSolverLanguageParser.g:308:2: ( ( rule__UnnamedErrorPredicateDefintion__Group__0 ) ) + // InternalSolverLanguageParser.g:309:3: ( rule__UnnamedErrorPredicateDefintion__Group__0 ) { - before(grammarAccess.getExternPredicateDefinitionAccess().getGroup()); - // InternalSolverLanguageParser.g:305:3: ( rule__ExternPredicateDefinition__Group__0 ) - // InternalSolverLanguageParser.g:305:4: rule__ExternPredicateDefinition__Group__0 + before(grammarAccess.getUnnamedErrorPredicateDefintionAccess().getGroup()); + // InternalSolverLanguageParser.g:310:3: ( rule__UnnamedErrorPredicateDefintion__Group__0 ) + // InternalSolverLanguageParser.g:310:4: rule__UnnamedErrorPredicateDefintion__Group__0 { pushFollow(FOLLOW_2); - rule__ExternPredicateDefinition__Group__0(); + rule__UnnamedErrorPredicateDefintion__Group__0(); state._fsp--; } - after(grammarAccess.getExternPredicateDefinitionAccess().getGroup()); + after(grammarAccess.getUnnamedErrorPredicateDefintionAccess().getGroup()); } @@ -830,23 +822,23 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "ruleExternPredicateDefinition" + // $ANTLR end "ruleUnnamedErrorPredicateDefintion" - // $ANTLR start "entryRuleExternMetricDefinition" - // InternalSolverLanguageParser.g:314:1: entryRuleExternMetricDefinition : ruleExternMetricDefinition EOF ; - public final void entryRuleExternMetricDefinition() throws RecognitionException { + // $ANTLR start "entryRuleDefaultAssertion" + // InternalSolverLanguageParser.g:319:1: entryRuleDefaultAssertion : ruleDefaultAssertion EOF ; + public final void entryRuleDefaultAssertion() throws RecognitionException { try { - // InternalSolverLanguageParser.g:315:1: ( ruleExternMetricDefinition EOF ) - // InternalSolverLanguageParser.g:316:1: ruleExternMetricDefinition EOF + // InternalSolverLanguageParser.g:320:1: ( ruleDefaultAssertion EOF ) + // InternalSolverLanguageParser.g:321:1: ruleDefaultAssertion EOF { - before(grammarAccess.getExternMetricDefinitionRule()); + before(grammarAccess.getDefaultAssertionRule()); pushFollow(FOLLOW_1); - ruleExternMetricDefinition(); + ruleDefaultAssertion(); state._fsp--; - after(grammarAccess.getExternMetricDefinitionRule()); + after(grammarAccess.getDefaultAssertionRule()); match(input,EOF,FOLLOW_2); } @@ -860,35 +852,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "entryRuleExternMetricDefinition" + // $ANTLR end "entryRuleDefaultAssertion" - // $ANTLR start "ruleExternMetricDefinition" - // InternalSolverLanguageParser.g:323:1: ruleExternMetricDefinition : ( ( rule__ExternMetricDefinition__Group__0 ) ) ; - public final void ruleExternMetricDefinition() throws RecognitionException { + // $ANTLR start "ruleDefaultAssertion" + // InternalSolverLanguageParser.g:328:1: ruleDefaultAssertion : ( ( rule__DefaultAssertion__Group__0 ) ) ; + public final void ruleDefaultAssertion() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:327:2: ( ( ( rule__ExternMetricDefinition__Group__0 ) ) ) - // InternalSolverLanguageParser.g:328:2: ( ( rule__ExternMetricDefinition__Group__0 ) ) + // InternalSolverLanguageParser.g:332:2: ( ( ( rule__DefaultAssertion__Group__0 ) ) ) + // InternalSolverLanguageParser.g:333:2: ( ( rule__DefaultAssertion__Group__0 ) ) { - // InternalSolverLanguageParser.g:328:2: ( ( rule__ExternMetricDefinition__Group__0 ) ) - // InternalSolverLanguageParser.g:329:3: ( rule__ExternMetricDefinition__Group__0 ) + // InternalSolverLanguageParser.g:333:2: ( ( rule__DefaultAssertion__Group__0 ) ) + // InternalSolverLanguageParser.g:334:3: ( rule__DefaultAssertion__Group__0 ) { - before(grammarAccess.getExternMetricDefinitionAccess().getGroup()); - // InternalSolverLanguageParser.g:330:3: ( rule__ExternMetricDefinition__Group__0 ) - // InternalSolverLanguageParser.g:330:4: rule__ExternMetricDefinition__Group__0 + before(grammarAccess.getDefaultAssertionAccess().getGroup()); + // InternalSolverLanguageParser.g:335:3: ( rule__DefaultAssertion__Group__0 ) + // InternalSolverLanguageParser.g:335:4: rule__DefaultAssertion__Group__0 { pushFollow(FOLLOW_2); - rule__ExternMetricDefinition__Group__0(); + rule__DefaultAssertion__Group__0(); state._fsp--; } - after(grammarAccess.getExternMetricDefinitionAccess().getGroup()); + after(grammarAccess.getDefaultAssertionAccess().getGroup()); } @@ -907,23 +899,23 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "ruleExternMetricDefinition" + // $ANTLR end "ruleDefaultAssertion" - // $ANTLR start "entryRuleExternAggregatorDefinition" - // InternalSolverLanguageParser.g:339:1: entryRuleExternAggregatorDefinition : ruleExternAggregatorDefinition EOF ; - public final void entryRuleExternAggregatorDefinition() throws RecognitionException { + // $ANTLR start "entryRuleFunctionDefinition" + // InternalSolverLanguageParser.g:344:1: entryRuleFunctionDefinition : ruleFunctionDefinition EOF ; + public final void entryRuleFunctionDefinition() throws RecognitionException { try { - // InternalSolverLanguageParser.g:340:1: ( ruleExternAggregatorDefinition EOF ) - // InternalSolverLanguageParser.g:341:1: ruleExternAggregatorDefinition EOF + // InternalSolverLanguageParser.g:345:1: ( ruleFunctionDefinition EOF ) + // InternalSolverLanguageParser.g:346:1: ruleFunctionDefinition EOF { - before(grammarAccess.getExternAggregatorDefinitionRule()); + before(grammarAccess.getFunctionDefinitionRule()); pushFollow(FOLLOW_1); - ruleExternAggregatorDefinition(); + ruleFunctionDefinition(); state._fsp--; - after(grammarAccess.getExternAggregatorDefinitionRule()); + after(grammarAccess.getFunctionDefinitionRule()); match(input,EOF,FOLLOW_2); } @@ -937,35 +929,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "entryRuleExternAggregatorDefinition" + // $ANTLR end "entryRuleFunctionDefinition" - // $ANTLR start "ruleExternAggregatorDefinition" - // InternalSolverLanguageParser.g:348:1: ruleExternAggregatorDefinition : ( ( rule__ExternAggregatorDefinition__Group__0 ) ) ; - public final void ruleExternAggregatorDefinition() throws RecognitionException { + // $ANTLR start "ruleFunctionDefinition" + // InternalSolverLanguageParser.g:353:1: ruleFunctionDefinition : ( ( rule__FunctionDefinition__Group__0 ) ) ; + public final void ruleFunctionDefinition() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:352:2: ( ( ( rule__ExternAggregatorDefinition__Group__0 ) ) ) - // InternalSolverLanguageParser.g:353:2: ( ( rule__ExternAggregatorDefinition__Group__0 ) ) + // InternalSolverLanguageParser.g:357:2: ( ( ( rule__FunctionDefinition__Group__0 ) ) ) + // InternalSolverLanguageParser.g:358:2: ( ( rule__FunctionDefinition__Group__0 ) ) { - // InternalSolverLanguageParser.g:353:2: ( ( rule__ExternAggregatorDefinition__Group__0 ) ) - // InternalSolverLanguageParser.g:354:3: ( rule__ExternAggregatorDefinition__Group__0 ) + // InternalSolverLanguageParser.g:358:2: ( ( rule__FunctionDefinition__Group__0 ) ) + // InternalSolverLanguageParser.g:359:3: ( rule__FunctionDefinition__Group__0 ) { - before(grammarAccess.getExternAggregatorDefinitionAccess().getGroup()); - // InternalSolverLanguageParser.g:355:3: ( rule__ExternAggregatorDefinition__Group__0 ) - // InternalSolverLanguageParser.g:355:4: rule__ExternAggregatorDefinition__Group__0 + before(grammarAccess.getFunctionDefinitionAccess().getGroup()); + // InternalSolverLanguageParser.g:360:3: ( rule__FunctionDefinition__Group__0 ) + // InternalSolverLanguageParser.g:360:4: rule__FunctionDefinition__Group__0 { pushFollow(FOLLOW_2); - rule__ExternAggregatorDefinition__Group__0(); + rule__FunctionDefinition__Group__0(); state._fsp--; } - after(grammarAccess.getExternAggregatorDefinitionAccess().getGroup()); + after(grammarAccess.getFunctionDefinitionAccess().getGroup()); } @@ -984,23 +976,23 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "ruleExternAggregatorDefinition" + // $ANTLR end "ruleFunctionDefinition" - // $ANTLR start "entryRuleExternDatatypeDefinition" - // InternalSolverLanguageParser.g:364:1: entryRuleExternDatatypeDefinition : ruleExternDatatypeDefinition EOF ; - public final void entryRuleExternDatatypeDefinition() throws RecognitionException { + // $ANTLR start "entryRuleTypeReference" + // InternalSolverLanguageParser.g:369:1: entryRuleTypeReference : ruleTypeReference EOF ; + public final void entryRuleTypeReference() throws RecognitionException { try { - // InternalSolverLanguageParser.g:365:1: ( ruleExternDatatypeDefinition EOF ) - // InternalSolverLanguageParser.g:366:1: ruleExternDatatypeDefinition EOF + // InternalSolverLanguageParser.g:370:1: ( ruleTypeReference EOF ) + // InternalSolverLanguageParser.g:371:1: ruleTypeReference EOF { - before(grammarAccess.getExternDatatypeDefinitionRule()); + before(grammarAccess.getTypeReferenceRule()); pushFollow(FOLLOW_1); - ruleExternDatatypeDefinition(); + ruleTypeReference(); state._fsp--; - after(grammarAccess.getExternDatatypeDefinitionRule()); + after(grammarAccess.getTypeReferenceRule()); match(input,EOF,FOLLOW_2); } @@ -1014,35 +1006,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "entryRuleExternDatatypeDefinition" + // $ANTLR end "entryRuleTypeReference" - // $ANTLR start "ruleExternDatatypeDefinition" - // InternalSolverLanguageParser.g:373:1: ruleExternDatatypeDefinition : ( ( rule__ExternDatatypeDefinition__Group__0 ) ) ; - public final void ruleExternDatatypeDefinition() throws RecognitionException { + // $ANTLR start "ruleTypeReference" + // InternalSolverLanguageParser.g:378:1: ruleTypeReference : ( ( rule__TypeReference__Group__0 ) ) ; + public final void ruleTypeReference() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:377:2: ( ( ( rule__ExternDatatypeDefinition__Group__0 ) ) ) - // InternalSolverLanguageParser.g:378:2: ( ( rule__ExternDatatypeDefinition__Group__0 ) ) + // InternalSolverLanguageParser.g:382:2: ( ( ( rule__TypeReference__Group__0 ) ) ) + // InternalSolverLanguageParser.g:383:2: ( ( rule__TypeReference__Group__0 ) ) { - // InternalSolverLanguageParser.g:378:2: ( ( rule__ExternDatatypeDefinition__Group__0 ) ) - // InternalSolverLanguageParser.g:379:3: ( rule__ExternDatatypeDefinition__Group__0 ) + // InternalSolverLanguageParser.g:383:2: ( ( rule__TypeReference__Group__0 ) ) + // InternalSolverLanguageParser.g:384:3: ( rule__TypeReference__Group__0 ) { - before(grammarAccess.getExternDatatypeDefinitionAccess().getGroup()); - // InternalSolverLanguageParser.g:380:3: ( rule__ExternDatatypeDefinition__Group__0 ) - // InternalSolverLanguageParser.g:380:4: rule__ExternDatatypeDefinition__Group__0 + before(grammarAccess.getTypeReferenceAccess().getGroup()); + // InternalSolverLanguageParser.g:385:3: ( rule__TypeReference__Group__0 ) + // InternalSolverLanguageParser.g:385:4: rule__TypeReference__Group__0 { pushFollow(FOLLOW_2); - rule__ExternDatatypeDefinition__Group__0(); + rule__TypeReference__Group__0(); state._fsp--; } - after(grammarAccess.getExternDatatypeDefinitionAccess().getGroup()); + after(grammarAccess.getTypeReferenceAccess().getGroup()); } @@ -1061,23 +1053,23 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "ruleExternDatatypeDefinition" + // $ANTLR end "ruleTypeReference" - // $ANTLR start "entryRuleVariable" - // InternalSolverLanguageParser.g:389:1: entryRuleVariable : ruleVariable EOF ; - public final void entryRuleVariable() throws RecognitionException { + // $ANTLR start "entryRuleAttribute" + // InternalSolverLanguageParser.g:394:1: entryRuleAttribute : ruleAttribute EOF ; + public final void entryRuleAttribute() throws RecognitionException { try { - // InternalSolverLanguageParser.g:390:1: ( ruleVariable EOF ) - // InternalSolverLanguageParser.g:391:1: ruleVariable EOF + // InternalSolverLanguageParser.g:395:1: ( ruleAttribute EOF ) + // InternalSolverLanguageParser.g:396:1: ruleAttribute EOF { - before(grammarAccess.getVariableRule()); + before(grammarAccess.getAttributeRule()); pushFollow(FOLLOW_1); - ruleVariable(); + ruleAttribute(); state._fsp--; - after(grammarAccess.getVariableRule()); + after(grammarAccess.getAttributeRule()); match(input,EOF,FOLLOW_2); } @@ -1091,35 +1083,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "entryRuleVariable" + // $ANTLR end "entryRuleAttribute" - // $ANTLR start "ruleVariable" - // InternalSolverLanguageParser.g:398:1: ruleVariable : ( ( rule__Variable__Group__0 ) ) ; - public final void ruleVariable() throws RecognitionException { + // $ANTLR start "ruleAttribute" + // InternalSolverLanguageParser.g:403:1: ruleAttribute : ( ( rule__Attribute__Group__0 ) ) ; + public final void ruleAttribute() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:402:2: ( ( ( rule__Variable__Group__0 ) ) ) - // InternalSolverLanguageParser.g:403:2: ( ( rule__Variable__Group__0 ) ) + // InternalSolverLanguageParser.g:407:2: ( ( ( rule__Attribute__Group__0 ) ) ) + // InternalSolverLanguageParser.g:408:2: ( ( rule__Attribute__Group__0 ) ) { - // InternalSolverLanguageParser.g:403:2: ( ( rule__Variable__Group__0 ) ) - // InternalSolverLanguageParser.g:404:3: ( rule__Variable__Group__0 ) + // InternalSolverLanguageParser.g:408:2: ( ( rule__Attribute__Group__0 ) ) + // InternalSolverLanguageParser.g:409:3: ( rule__Attribute__Group__0 ) { - before(grammarAccess.getVariableAccess().getGroup()); - // InternalSolverLanguageParser.g:405:3: ( rule__Variable__Group__0 ) - // InternalSolverLanguageParser.g:405:4: rule__Variable__Group__0 + before(grammarAccess.getAttributeAccess().getGroup()); + // InternalSolverLanguageParser.g:410:3: ( rule__Attribute__Group__0 ) + // InternalSolverLanguageParser.g:410:4: rule__Attribute__Group__0 { pushFollow(FOLLOW_2); - rule__Variable__Group__0(); + rule__Attribute__Group__0(); state._fsp--; } - after(grammarAccess.getVariableAccess().getGroup()); + after(grammarAccess.getAttributeAccess().getGroup()); } @@ -1138,23 +1130,23 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "ruleVariable" + // $ANTLR end "ruleAttribute" - // $ANTLR start "entryRuleExpression" - // InternalSolverLanguageParser.g:414:1: entryRuleExpression : ruleExpression EOF ; - public final void entryRuleExpression() throws RecognitionException { + // $ANTLR start "entryRuleExternDeclaration" + // InternalSolverLanguageParser.g:419:1: entryRuleExternDeclaration : ruleExternDeclaration EOF ; + public final void entryRuleExternDeclaration() throws RecognitionException { try { - // InternalSolverLanguageParser.g:415:1: ( ruleExpression EOF ) - // InternalSolverLanguageParser.g:416:1: ruleExpression EOF + // InternalSolverLanguageParser.g:420:1: ( ruleExternDeclaration EOF ) + // InternalSolverLanguageParser.g:421:1: ruleExternDeclaration EOF { - before(grammarAccess.getExpressionRule()); + before(grammarAccess.getExternDeclarationRule()); pushFollow(FOLLOW_1); - ruleExpression(); + ruleExternDeclaration(); state._fsp--; - after(grammarAccess.getExpressionRule()); + after(grammarAccess.getExternDeclarationRule()); match(input,EOF,FOLLOW_2); } @@ -1168,35 +1160,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "entryRuleExpression" + // $ANTLR end "entryRuleExternDeclaration" - // $ANTLR start "ruleExpression" - // InternalSolverLanguageParser.g:423:1: ruleExpression : ( ( rule__Expression__Alternatives ) ) ; - public final void ruleExpression() throws RecognitionException { + // $ANTLR start "ruleExternDeclaration" + // InternalSolverLanguageParser.g:428:1: ruleExternDeclaration : ( ( rule__ExternDeclaration__Alternatives ) ) ; + public final void ruleExternDeclaration() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:427:2: ( ( ( rule__Expression__Alternatives ) ) ) - // InternalSolverLanguageParser.g:428:2: ( ( rule__Expression__Alternatives ) ) + // InternalSolverLanguageParser.g:432:2: ( ( ( rule__ExternDeclaration__Alternatives ) ) ) + // InternalSolverLanguageParser.g:433:2: ( ( rule__ExternDeclaration__Alternatives ) ) { - // InternalSolverLanguageParser.g:428:2: ( ( rule__Expression__Alternatives ) ) - // InternalSolverLanguageParser.g:429:3: ( rule__Expression__Alternatives ) + // InternalSolverLanguageParser.g:433:2: ( ( rule__ExternDeclaration__Alternatives ) ) + // InternalSolverLanguageParser.g:434:3: ( rule__ExternDeclaration__Alternatives ) { - before(grammarAccess.getExpressionAccess().getAlternatives()); - // InternalSolverLanguageParser.g:430:3: ( rule__Expression__Alternatives ) - // InternalSolverLanguageParser.g:430:4: rule__Expression__Alternatives + before(grammarAccess.getExternDeclarationAccess().getAlternatives()); + // InternalSolverLanguageParser.g:435:3: ( rule__ExternDeclaration__Alternatives ) + // InternalSolverLanguageParser.g:435:4: rule__ExternDeclaration__Alternatives { pushFollow(FOLLOW_2); - rule__Expression__Alternatives(); + rule__ExternDeclaration__Alternatives(); state._fsp--; } - after(grammarAccess.getExpressionAccess().getAlternatives()); + after(grammarAccess.getExternDeclarationAccess().getAlternatives()); } @@ -1215,23 +1207,23 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "ruleExpression" + // $ANTLR end "ruleExternDeclaration" - // $ANTLR start "entryRuleIfElse" - // InternalSolverLanguageParser.g:439:1: entryRuleIfElse : ruleIfElse EOF ; - public final void entryRuleIfElse() throws RecognitionException { + // $ANTLR start "entryRuleExternPredicateDeclaration" + // InternalSolverLanguageParser.g:444:1: entryRuleExternPredicateDeclaration : ruleExternPredicateDeclaration EOF ; + public final void entryRuleExternPredicateDeclaration() throws RecognitionException { try { - // InternalSolverLanguageParser.g:440:1: ( ruleIfElse EOF ) - // InternalSolverLanguageParser.g:441:1: ruleIfElse EOF + // InternalSolverLanguageParser.g:445:1: ( ruleExternPredicateDeclaration EOF ) + // InternalSolverLanguageParser.g:446:1: ruleExternPredicateDeclaration EOF { - before(grammarAccess.getIfElseRule()); + before(grammarAccess.getExternPredicateDeclarationRule()); pushFollow(FOLLOW_1); - ruleIfElse(); + ruleExternPredicateDeclaration(); state._fsp--; - after(grammarAccess.getIfElseRule()); + after(grammarAccess.getExternPredicateDeclarationRule()); match(input,EOF,FOLLOW_2); } @@ -1245,35 +1237,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "entryRuleIfElse" + // $ANTLR end "entryRuleExternPredicateDeclaration" - // $ANTLR start "ruleIfElse" - // InternalSolverLanguageParser.g:448:1: ruleIfElse : ( ( rule__IfElse__Group__0 ) ) ; - public final void ruleIfElse() throws RecognitionException { + // $ANTLR start "ruleExternPredicateDeclaration" + // InternalSolverLanguageParser.g:453:1: ruleExternPredicateDeclaration : ( ( rule__ExternPredicateDeclaration__Group__0 ) ) ; + public final void ruleExternPredicateDeclaration() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:452:2: ( ( ( rule__IfElse__Group__0 ) ) ) - // InternalSolverLanguageParser.g:453:2: ( ( rule__IfElse__Group__0 ) ) + // InternalSolverLanguageParser.g:457:2: ( ( ( rule__ExternPredicateDeclaration__Group__0 ) ) ) + // InternalSolverLanguageParser.g:458:2: ( ( rule__ExternPredicateDeclaration__Group__0 ) ) { - // InternalSolverLanguageParser.g:453:2: ( ( rule__IfElse__Group__0 ) ) - // InternalSolverLanguageParser.g:454:3: ( rule__IfElse__Group__0 ) + // InternalSolverLanguageParser.g:458:2: ( ( rule__ExternPredicateDeclaration__Group__0 ) ) + // InternalSolverLanguageParser.g:459:3: ( rule__ExternPredicateDeclaration__Group__0 ) { - before(grammarAccess.getIfElseAccess().getGroup()); - // InternalSolverLanguageParser.g:455:3: ( rule__IfElse__Group__0 ) - // InternalSolverLanguageParser.g:455:4: rule__IfElse__Group__0 + before(grammarAccess.getExternPredicateDeclarationAccess().getGroup()); + // InternalSolverLanguageParser.g:460:3: ( rule__ExternPredicateDeclaration__Group__0 ) + // InternalSolverLanguageParser.g:460:4: rule__ExternPredicateDeclaration__Group__0 { pushFollow(FOLLOW_2); - rule__IfElse__Group__0(); + rule__ExternPredicateDeclaration__Group__0(); state._fsp--; } - after(grammarAccess.getIfElseAccess().getGroup()); + after(grammarAccess.getExternPredicateDeclarationAccess().getGroup()); } @@ -1292,23 +1284,23 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "ruleIfElse" + // $ANTLR end "ruleExternPredicateDeclaration" - // $ANTLR start "entryRuleLet" - // InternalSolverLanguageParser.g:464:1: entryRuleLet : ruleLet EOF ; - public final void entryRuleLet() throws RecognitionException { + // $ANTLR start "entryRuleExternFunctionDeclaration" + // InternalSolverLanguageParser.g:469:1: entryRuleExternFunctionDeclaration : ruleExternFunctionDeclaration EOF ; + public final void entryRuleExternFunctionDeclaration() throws RecognitionException { try { - // InternalSolverLanguageParser.g:465:1: ( ruleLet EOF ) - // InternalSolverLanguageParser.g:466:1: ruleLet EOF + // InternalSolverLanguageParser.g:470:1: ( ruleExternFunctionDeclaration EOF ) + // InternalSolverLanguageParser.g:471:1: ruleExternFunctionDeclaration EOF { - before(grammarAccess.getLetRule()); + before(grammarAccess.getExternFunctionDeclarationRule()); pushFollow(FOLLOW_1); - ruleLet(); + ruleExternFunctionDeclaration(); state._fsp--; - after(grammarAccess.getLetRule()); + after(grammarAccess.getExternFunctionDeclarationRule()); match(input,EOF,FOLLOW_2); } @@ -1322,35 +1314,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "entryRuleLet" + // $ANTLR end "entryRuleExternFunctionDeclaration" - // $ANTLR start "ruleLet" - // InternalSolverLanguageParser.g:473:1: ruleLet : ( ( rule__Let__Group__0 ) ) ; - public final void ruleLet() throws RecognitionException { + // $ANTLR start "ruleExternFunctionDeclaration" + // InternalSolverLanguageParser.g:478:1: ruleExternFunctionDeclaration : ( ( rule__ExternFunctionDeclaration__Group__0 ) ) ; + public final void ruleExternFunctionDeclaration() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:477:2: ( ( ( rule__Let__Group__0 ) ) ) - // InternalSolverLanguageParser.g:478:2: ( ( rule__Let__Group__0 ) ) + // InternalSolverLanguageParser.g:482:2: ( ( ( rule__ExternFunctionDeclaration__Group__0 ) ) ) + // InternalSolverLanguageParser.g:483:2: ( ( rule__ExternFunctionDeclaration__Group__0 ) ) { - // InternalSolverLanguageParser.g:478:2: ( ( rule__Let__Group__0 ) ) - // InternalSolverLanguageParser.g:479:3: ( rule__Let__Group__0 ) + // InternalSolverLanguageParser.g:483:2: ( ( rule__ExternFunctionDeclaration__Group__0 ) ) + // InternalSolverLanguageParser.g:484:3: ( rule__ExternFunctionDeclaration__Group__0 ) { - before(grammarAccess.getLetAccess().getGroup()); - // InternalSolverLanguageParser.g:480:3: ( rule__Let__Group__0 ) - // InternalSolverLanguageParser.g:480:4: rule__Let__Group__0 + before(grammarAccess.getExternFunctionDeclarationAccess().getGroup()); + // InternalSolverLanguageParser.g:485:3: ( rule__ExternFunctionDeclaration__Group__0 ) + // InternalSolverLanguageParser.g:485:4: rule__ExternFunctionDeclaration__Group__0 { pushFollow(FOLLOW_2); - rule__Let__Group__0(); + rule__ExternFunctionDeclaration__Group__0(); state._fsp--; } - after(grammarAccess.getLetAccess().getGroup()); + after(grammarAccess.getExternFunctionDeclarationAccess().getGroup()); } @@ -1369,23 +1361,23 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "ruleLet" + // $ANTLR end "ruleExternFunctionDeclaration" - // $ANTLR start "entryRuleLetBinding" - // InternalSolverLanguageParser.g:489:1: entryRuleLetBinding : ruleLetBinding EOF ; - public final void entryRuleLetBinding() throws RecognitionException { + // $ANTLR start "entryRuleExternAggregationOperatorDeclaration" + // InternalSolverLanguageParser.g:494:1: entryRuleExternAggregationOperatorDeclaration : ruleExternAggregationOperatorDeclaration EOF ; + public final void entryRuleExternAggregationOperatorDeclaration() throws RecognitionException { try { - // InternalSolverLanguageParser.g:490:1: ( ruleLetBinding EOF ) - // InternalSolverLanguageParser.g:491:1: ruleLetBinding EOF + // InternalSolverLanguageParser.g:495:1: ( ruleExternAggregationOperatorDeclaration EOF ) + // InternalSolverLanguageParser.g:496:1: ruleExternAggregationOperatorDeclaration EOF { - before(grammarAccess.getLetBindingRule()); + before(grammarAccess.getExternAggregationOperatorDeclarationRule()); pushFollow(FOLLOW_1); - ruleLetBinding(); + ruleExternAggregationOperatorDeclaration(); state._fsp--; - after(grammarAccess.getLetBindingRule()); + after(grammarAccess.getExternAggregationOperatorDeclarationRule()); match(input,EOF,FOLLOW_2); } @@ -1399,35 +1391,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "entryRuleLetBinding" + // $ANTLR end "entryRuleExternAggregationOperatorDeclaration" - // $ANTLR start "ruleLetBinding" - // InternalSolverLanguageParser.g:498:1: ruleLetBinding : ( ( rule__LetBinding__Group__0 ) ) ; - public final void ruleLetBinding() throws RecognitionException { + // $ANTLR start "ruleExternAggregationOperatorDeclaration" + // InternalSolverLanguageParser.g:503:1: ruleExternAggregationOperatorDeclaration : ( ( rule__ExternAggregationOperatorDeclaration__Group__0 ) ) ; + public final void ruleExternAggregationOperatorDeclaration() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:502:2: ( ( ( rule__LetBinding__Group__0 ) ) ) - // InternalSolverLanguageParser.g:503:2: ( ( rule__LetBinding__Group__0 ) ) + // InternalSolverLanguageParser.g:507:2: ( ( ( rule__ExternAggregationOperatorDeclaration__Group__0 ) ) ) + // InternalSolverLanguageParser.g:508:2: ( ( rule__ExternAggregationOperatorDeclaration__Group__0 ) ) { - // InternalSolverLanguageParser.g:503:2: ( ( rule__LetBinding__Group__0 ) ) - // InternalSolverLanguageParser.g:504:3: ( rule__LetBinding__Group__0 ) + // InternalSolverLanguageParser.g:508:2: ( ( rule__ExternAggregationOperatorDeclaration__Group__0 ) ) + // InternalSolverLanguageParser.g:509:3: ( rule__ExternAggregationOperatorDeclaration__Group__0 ) { - before(grammarAccess.getLetBindingAccess().getGroup()); - // InternalSolverLanguageParser.g:505:3: ( rule__LetBinding__Group__0 ) - // InternalSolverLanguageParser.g:505:4: rule__LetBinding__Group__0 + before(grammarAccess.getExternAggregationOperatorDeclarationAccess().getGroup()); + // InternalSolverLanguageParser.g:510:3: ( rule__ExternAggregationOperatorDeclaration__Group__0 ) + // InternalSolverLanguageParser.g:510:4: rule__ExternAggregationOperatorDeclaration__Group__0 { pushFollow(FOLLOW_2); - rule__LetBinding__Group__0(); + rule__ExternAggregationOperatorDeclaration__Group__0(); state._fsp--; } - after(grammarAccess.getLetBindingAccess().getGroup()); + after(grammarAccess.getExternAggregationOperatorDeclarationAccess().getGroup()); } @@ -1446,23 +1438,23 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "ruleLetBinding" + // $ANTLR end "ruleExternAggregationOperatorDeclaration" - // $ANTLR start "entryRuleImplicationExpression" - // InternalSolverLanguageParser.g:514:1: entryRuleImplicationExpression : ruleImplicationExpression EOF ; - public final void entryRuleImplicationExpression() throws RecognitionException { + // $ANTLR start "entryRuleExternDatatypeDeclaration" + // InternalSolverLanguageParser.g:519:1: entryRuleExternDatatypeDeclaration : ruleExternDatatypeDeclaration EOF ; + public final void entryRuleExternDatatypeDeclaration() throws RecognitionException { try { - // InternalSolverLanguageParser.g:515:1: ( ruleImplicationExpression EOF ) - // InternalSolverLanguageParser.g:516:1: ruleImplicationExpression EOF + // InternalSolverLanguageParser.g:520:1: ( ruleExternDatatypeDeclaration EOF ) + // InternalSolverLanguageParser.g:521:1: ruleExternDatatypeDeclaration EOF { - before(grammarAccess.getImplicationExpressionRule()); + before(grammarAccess.getExternDatatypeDeclarationRule()); pushFollow(FOLLOW_1); - ruleImplicationExpression(); + ruleExternDatatypeDeclaration(); state._fsp--; - after(grammarAccess.getImplicationExpressionRule()); + after(grammarAccess.getExternDatatypeDeclarationRule()); match(input,EOF,FOLLOW_2); } @@ -1476,35 +1468,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "entryRuleImplicationExpression" + // $ANTLR end "entryRuleExternDatatypeDeclaration" - // $ANTLR start "ruleImplicationExpression" - // InternalSolverLanguageParser.g:523:1: ruleImplicationExpression : ( ( rule__ImplicationExpression__Group__0 ) ) ; - public final void ruleImplicationExpression() throws RecognitionException { + // $ANTLR start "ruleExternDatatypeDeclaration" + // InternalSolverLanguageParser.g:528:1: ruleExternDatatypeDeclaration : ( ( rule__ExternDatatypeDeclaration__Group__0 ) ) ; + public final void ruleExternDatatypeDeclaration() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:527:2: ( ( ( rule__ImplicationExpression__Group__0 ) ) ) - // InternalSolverLanguageParser.g:528:2: ( ( rule__ImplicationExpression__Group__0 ) ) + // InternalSolverLanguageParser.g:532:2: ( ( ( rule__ExternDatatypeDeclaration__Group__0 ) ) ) + // InternalSolverLanguageParser.g:533:2: ( ( rule__ExternDatatypeDeclaration__Group__0 ) ) { - // InternalSolverLanguageParser.g:528:2: ( ( rule__ImplicationExpression__Group__0 ) ) - // InternalSolverLanguageParser.g:529:3: ( rule__ImplicationExpression__Group__0 ) + // InternalSolverLanguageParser.g:533:2: ( ( rule__ExternDatatypeDeclaration__Group__0 ) ) + // InternalSolverLanguageParser.g:534:3: ( rule__ExternDatatypeDeclaration__Group__0 ) { - before(grammarAccess.getImplicationExpressionAccess().getGroup()); - // InternalSolverLanguageParser.g:530:3: ( rule__ImplicationExpression__Group__0 ) - // InternalSolverLanguageParser.g:530:4: rule__ImplicationExpression__Group__0 + before(grammarAccess.getExternDatatypeDeclarationAccess().getGroup()); + // InternalSolverLanguageParser.g:535:3: ( rule__ExternDatatypeDeclaration__Group__0 ) + // InternalSolverLanguageParser.g:535:4: rule__ExternDatatypeDeclaration__Group__0 { pushFollow(FOLLOW_2); - rule__ImplicationExpression__Group__0(); + rule__ExternDatatypeDeclaration__Group__0(); state._fsp--; } - after(grammarAccess.getImplicationExpressionAccess().getGroup()); + after(grammarAccess.getExternDatatypeDeclarationAccess().getGroup()); } @@ -1523,23 +1515,23 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "ruleImplicationExpression" + // $ANTLR end "ruleExternDatatypeDeclaration" - // $ANTLR start "entryRuleDisjunctiveExpression" - // InternalSolverLanguageParser.g:539:1: entryRuleDisjunctiveExpression : ruleDisjunctiveExpression EOF ; - public final void entryRuleDisjunctiveExpression() throws RecognitionException { + // $ANTLR start "entryRuleExpression" + // InternalSolverLanguageParser.g:544:1: entryRuleExpression : ruleExpression EOF ; + public final void entryRuleExpression() throws RecognitionException { try { - // InternalSolverLanguageParser.g:540:1: ( ruleDisjunctiveExpression EOF ) - // InternalSolverLanguageParser.g:541:1: ruleDisjunctiveExpression EOF + // InternalSolverLanguageParser.g:545:1: ( ruleExpression EOF ) + // InternalSolverLanguageParser.g:546:1: ruleExpression EOF { - before(grammarAccess.getDisjunctiveExpressionRule()); + before(grammarAccess.getExpressionRule()); pushFollow(FOLLOW_1); - ruleDisjunctiveExpression(); + ruleExpression(); state._fsp--; - after(grammarAccess.getDisjunctiveExpressionRule()); + after(grammarAccess.getExpressionRule()); match(input,EOF,FOLLOW_2); } @@ -1553,35 +1545,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "entryRuleDisjunctiveExpression" + // $ANTLR end "entryRuleExpression" - // $ANTLR start "ruleDisjunctiveExpression" - // InternalSolverLanguageParser.g:548:1: ruleDisjunctiveExpression : ( ( rule__DisjunctiveExpression__Group__0 ) ) ; - public final void ruleDisjunctiveExpression() throws RecognitionException { + // $ANTLR start "ruleExpression" + // InternalSolverLanguageParser.g:553:1: ruleExpression : ( ( rule__Expression__Alternatives ) ) ; + public final void ruleExpression() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:552:2: ( ( ( rule__DisjunctiveExpression__Group__0 ) ) ) - // InternalSolverLanguageParser.g:553:2: ( ( rule__DisjunctiveExpression__Group__0 ) ) + // InternalSolverLanguageParser.g:557:2: ( ( ( rule__Expression__Alternatives ) ) ) + // InternalSolverLanguageParser.g:558:2: ( ( rule__Expression__Alternatives ) ) { - // InternalSolverLanguageParser.g:553:2: ( ( rule__DisjunctiveExpression__Group__0 ) ) - // InternalSolverLanguageParser.g:554:3: ( rule__DisjunctiveExpression__Group__0 ) + // InternalSolverLanguageParser.g:558:2: ( ( rule__Expression__Alternatives ) ) + // InternalSolverLanguageParser.g:559:3: ( rule__Expression__Alternatives ) { - before(grammarAccess.getDisjunctiveExpressionAccess().getGroup()); - // InternalSolverLanguageParser.g:555:3: ( rule__DisjunctiveExpression__Group__0 ) - // InternalSolverLanguageParser.g:555:4: rule__DisjunctiveExpression__Group__0 + before(grammarAccess.getExpressionAccess().getAlternatives()); + // InternalSolverLanguageParser.g:560:3: ( rule__Expression__Alternatives ) + // InternalSolverLanguageParser.g:560:4: rule__Expression__Alternatives { pushFollow(FOLLOW_2); - rule__DisjunctiveExpression__Group__0(); + rule__Expression__Alternatives(); state._fsp--; } - after(grammarAccess.getDisjunctiveExpressionAccess().getGroup()); + after(grammarAccess.getExpressionAccess().getAlternatives()); } @@ -1600,23 +1592,23 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "ruleDisjunctiveExpression" + // $ANTLR end "ruleExpression" - // $ANTLR start "entryRuleCase" - // InternalSolverLanguageParser.g:564:1: entryRuleCase : ruleCase EOF ; - public final void entryRuleCase() throws RecognitionException { + // $ANTLR start "entryRuleConditionalExpression" + // InternalSolverLanguageParser.g:569:1: entryRuleConditionalExpression : ruleConditionalExpression EOF ; + public final void entryRuleConditionalExpression() throws RecognitionException { try { - // InternalSolverLanguageParser.g:565:1: ( ruleCase EOF ) - // InternalSolverLanguageParser.g:566:1: ruleCase EOF + // InternalSolverLanguageParser.g:570:1: ( ruleConditionalExpression EOF ) + // InternalSolverLanguageParser.g:571:1: ruleConditionalExpression EOF { - before(grammarAccess.getCaseRule()); + before(grammarAccess.getConditionalExpressionRule()); pushFollow(FOLLOW_1); - ruleCase(); + ruleConditionalExpression(); state._fsp--; - after(grammarAccess.getCaseRule()); + after(grammarAccess.getConditionalExpressionRule()); match(input,EOF,FOLLOW_2); } @@ -1630,35 +1622,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "entryRuleCase" + // $ANTLR end "entryRuleConditionalExpression" - // $ANTLR start "ruleCase" - // InternalSolverLanguageParser.g:573:1: ruleCase : ( ( rule__Case__Group__0 ) ) ; - public final void ruleCase() throws RecognitionException { + // $ANTLR start "ruleConditionalExpression" + // InternalSolverLanguageParser.g:578:1: ruleConditionalExpression : ( ( rule__ConditionalExpression__Group__0 ) ) ; + public final void ruleConditionalExpression() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:577:2: ( ( ( rule__Case__Group__0 ) ) ) - // InternalSolverLanguageParser.g:578:2: ( ( rule__Case__Group__0 ) ) + // InternalSolverLanguageParser.g:582:2: ( ( ( rule__ConditionalExpression__Group__0 ) ) ) + // InternalSolverLanguageParser.g:583:2: ( ( rule__ConditionalExpression__Group__0 ) ) { - // InternalSolverLanguageParser.g:578:2: ( ( rule__Case__Group__0 ) ) - // InternalSolverLanguageParser.g:579:3: ( rule__Case__Group__0 ) + // InternalSolverLanguageParser.g:583:2: ( ( rule__ConditionalExpression__Group__0 ) ) + // InternalSolverLanguageParser.g:584:3: ( rule__ConditionalExpression__Group__0 ) { - before(grammarAccess.getCaseAccess().getGroup()); - // InternalSolverLanguageParser.g:580:3: ( rule__Case__Group__0 ) - // InternalSolverLanguageParser.g:580:4: rule__Case__Group__0 + before(grammarAccess.getConditionalExpressionAccess().getGroup()); + // InternalSolverLanguageParser.g:585:3: ( rule__ConditionalExpression__Group__0 ) + // InternalSolverLanguageParser.g:585:4: rule__ConditionalExpression__Group__0 { pushFollow(FOLLOW_2); - rule__Case__Group__0(); + rule__ConditionalExpression__Group__0(); state._fsp--; } - after(grammarAccess.getCaseAccess().getGroup()); + after(grammarAccess.getConditionalExpressionAccess().getGroup()); } @@ -1677,23 +1669,23 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "ruleCase" + // $ANTLR end "ruleConditionalExpression" - // $ANTLR start "entryRuleConjunctiveExpression" - // InternalSolverLanguageParser.g:589:1: entryRuleConjunctiveExpression : ruleConjunctiveExpression EOF ; - public final void entryRuleConjunctiveExpression() throws RecognitionException { + // $ANTLR start "entryRuleLetExpression" + // InternalSolverLanguageParser.g:594:1: entryRuleLetExpression : ruleLetExpression EOF ; + public final void entryRuleLetExpression() throws RecognitionException { try { - // InternalSolverLanguageParser.g:590:1: ( ruleConjunctiveExpression EOF ) - // InternalSolverLanguageParser.g:591:1: ruleConjunctiveExpression EOF + // InternalSolverLanguageParser.g:595:1: ( ruleLetExpression EOF ) + // InternalSolverLanguageParser.g:596:1: ruleLetExpression EOF { - before(grammarAccess.getConjunctiveExpressionRule()); + before(grammarAccess.getLetExpressionRule()); pushFollow(FOLLOW_1); - ruleConjunctiveExpression(); + ruleLetExpression(); state._fsp--; - after(grammarAccess.getConjunctiveExpressionRule()); + after(grammarAccess.getLetExpressionRule()); match(input,EOF,FOLLOW_2); } @@ -1707,35 +1699,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "entryRuleConjunctiveExpression" + // $ANTLR end "entryRuleLetExpression" - // $ANTLR start "ruleConjunctiveExpression" - // InternalSolverLanguageParser.g:598:1: ruleConjunctiveExpression : ( ( rule__ConjunctiveExpression__Group__0 ) ) ; - public final void ruleConjunctiveExpression() throws RecognitionException { + // $ANTLR start "ruleLetExpression" + // InternalSolverLanguageParser.g:603:1: ruleLetExpression : ( ( rule__LetExpression__Group__0 ) ) ; + public final void ruleLetExpression() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:602:2: ( ( ( rule__ConjunctiveExpression__Group__0 ) ) ) - // InternalSolverLanguageParser.g:603:2: ( ( rule__ConjunctiveExpression__Group__0 ) ) + // InternalSolverLanguageParser.g:607:2: ( ( ( rule__LetExpression__Group__0 ) ) ) + // InternalSolverLanguageParser.g:608:2: ( ( rule__LetExpression__Group__0 ) ) { - // InternalSolverLanguageParser.g:603:2: ( ( rule__ConjunctiveExpression__Group__0 ) ) - // InternalSolverLanguageParser.g:604:3: ( rule__ConjunctiveExpression__Group__0 ) + // InternalSolverLanguageParser.g:608:2: ( ( rule__LetExpression__Group__0 ) ) + // InternalSolverLanguageParser.g:609:3: ( rule__LetExpression__Group__0 ) { - before(grammarAccess.getConjunctiveExpressionAccess().getGroup()); - // InternalSolverLanguageParser.g:605:3: ( rule__ConjunctiveExpression__Group__0 ) - // InternalSolverLanguageParser.g:605:4: rule__ConjunctiveExpression__Group__0 + before(grammarAccess.getLetExpressionAccess().getGroup()); + // InternalSolverLanguageParser.g:610:3: ( rule__LetExpression__Group__0 ) + // InternalSolverLanguageParser.g:610:4: rule__LetExpression__Group__0 { pushFollow(FOLLOW_2); - rule__ConjunctiveExpression__Group__0(); + rule__LetExpression__Group__0(); state._fsp--; } - after(grammarAccess.getConjunctiveExpressionAccess().getGroup()); + after(grammarAccess.getLetExpressionAccess().getGroup()); } @@ -1754,23 +1746,23 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "ruleConjunctiveExpression" + // $ANTLR end "ruleLetExpression" - // $ANTLR start "entryRuleComparisonExpression" - // InternalSolverLanguageParser.g:614:1: entryRuleComparisonExpression : ruleComparisonExpression EOF ; - public final void entryRuleComparisonExpression() throws RecognitionException { + // $ANTLR start "entryRuleLetBinding" + // InternalSolverLanguageParser.g:619:1: entryRuleLetBinding : ruleLetBinding EOF ; + public final void entryRuleLetBinding() throws RecognitionException { try { - // InternalSolverLanguageParser.g:615:1: ( ruleComparisonExpression EOF ) - // InternalSolverLanguageParser.g:616:1: ruleComparisonExpression EOF + // InternalSolverLanguageParser.g:620:1: ( ruleLetBinding EOF ) + // InternalSolverLanguageParser.g:621:1: ruleLetBinding EOF { - before(grammarAccess.getComparisonExpressionRule()); + before(grammarAccess.getLetBindingRule()); pushFollow(FOLLOW_1); - ruleComparisonExpression(); + ruleLetBinding(); state._fsp--; - after(grammarAccess.getComparisonExpressionRule()); + after(grammarAccess.getLetBindingRule()); match(input,EOF,FOLLOW_2); } @@ -1784,35 +1776,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "entryRuleComparisonExpression" + // $ANTLR end "entryRuleLetBinding" - // $ANTLR start "ruleComparisonExpression" - // InternalSolverLanguageParser.g:623:1: ruleComparisonExpression : ( ( rule__ComparisonExpression__Group__0 ) ) ; - public final void ruleComparisonExpression() throws RecognitionException { + // $ANTLR start "ruleLetBinding" + // InternalSolverLanguageParser.g:628:1: ruleLetBinding : ( ( rule__LetBinding__Group__0 ) ) ; + public final void ruleLetBinding() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:627:2: ( ( ( rule__ComparisonExpression__Group__0 ) ) ) - // InternalSolverLanguageParser.g:628:2: ( ( rule__ComparisonExpression__Group__0 ) ) + // InternalSolverLanguageParser.g:632:2: ( ( ( rule__LetBinding__Group__0 ) ) ) + // InternalSolverLanguageParser.g:633:2: ( ( rule__LetBinding__Group__0 ) ) { - // InternalSolverLanguageParser.g:628:2: ( ( rule__ComparisonExpression__Group__0 ) ) - // InternalSolverLanguageParser.g:629:3: ( rule__ComparisonExpression__Group__0 ) + // InternalSolverLanguageParser.g:633:2: ( ( rule__LetBinding__Group__0 ) ) + // InternalSolverLanguageParser.g:634:3: ( rule__LetBinding__Group__0 ) { - before(grammarAccess.getComparisonExpressionAccess().getGroup()); - // InternalSolverLanguageParser.g:630:3: ( rule__ComparisonExpression__Group__0 ) - // InternalSolverLanguageParser.g:630:4: rule__ComparisonExpression__Group__0 + before(grammarAccess.getLetBindingAccess().getGroup()); + // InternalSolverLanguageParser.g:635:3: ( rule__LetBinding__Group__0 ) + // InternalSolverLanguageParser.g:635:4: rule__LetBinding__Group__0 { pushFollow(FOLLOW_2); - rule__ComparisonExpression__Group__0(); + rule__LetBinding__Group__0(); state._fsp--; } - after(grammarAccess.getComparisonExpressionAccess().getGroup()); + after(grammarAccess.getLetBindingAccess().getGroup()); } @@ -1831,23 +1823,23 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "ruleComparisonExpression" + // $ANTLR end "ruleLetBinding" - // $ANTLR start "entryRuleAdditiveExpression" - // InternalSolverLanguageParser.g:639:1: entryRuleAdditiveExpression : ruleAdditiveExpression EOF ; - public final void entryRuleAdditiveExpression() throws RecognitionException { + // $ANTLR start "entryRuleDisjunctiveExpression" + // InternalSolverLanguageParser.g:644:1: entryRuleDisjunctiveExpression : ruleDisjunctiveExpression EOF ; + public final void entryRuleDisjunctiveExpression() throws RecognitionException { try { - // InternalSolverLanguageParser.g:640:1: ( ruleAdditiveExpression EOF ) - // InternalSolverLanguageParser.g:641:1: ruleAdditiveExpression EOF + // InternalSolverLanguageParser.g:645:1: ( ruleDisjunctiveExpression EOF ) + // InternalSolverLanguageParser.g:646:1: ruleDisjunctiveExpression EOF { - before(grammarAccess.getAdditiveExpressionRule()); + before(grammarAccess.getDisjunctiveExpressionRule()); pushFollow(FOLLOW_1); - ruleAdditiveExpression(); + ruleDisjunctiveExpression(); state._fsp--; - after(grammarAccess.getAdditiveExpressionRule()); + after(grammarAccess.getDisjunctiveExpressionRule()); match(input,EOF,FOLLOW_2); } @@ -1861,35 +1853,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "entryRuleAdditiveExpression" + // $ANTLR end "entryRuleDisjunctiveExpression" - // $ANTLR start "ruleAdditiveExpression" - // InternalSolverLanguageParser.g:648:1: ruleAdditiveExpression : ( ( rule__AdditiveExpression__Group__0 ) ) ; - public final void ruleAdditiveExpression() throws RecognitionException { + // $ANTLR start "ruleDisjunctiveExpression" + // InternalSolverLanguageParser.g:653:1: ruleDisjunctiveExpression : ( ( rule__DisjunctiveExpression__Group__0 ) ) ; + public final void ruleDisjunctiveExpression() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:652:2: ( ( ( rule__AdditiveExpression__Group__0 ) ) ) - // InternalSolverLanguageParser.g:653:2: ( ( rule__AdditiveExpression__Group__0 ) ) + // InternalSolverLanguageParser.g:657:2: ( ( ( rule__DisjunctiveExpression__Group__0 ) ) ) + // InternalSolverLanguageParser.g:658:2: ( ( rule__DisjunctiveExpression__Group__0 ) ) { - // InternalSolverLanguageParser.g:653:2: ( ( rule__AdditiveExpression__Group__0 ) ) - // InternalSolverLanguageParser.g:654:3: ( rule__AdditiveExpression__Group__0 ) + // InternalSolverLanguageParser.g:658:2: ( ( rule__DisjunctiveExpression__Group__0 ) ) + // InternalSolverLanguageParser.g:659:3: ( rule__DisjunctiveExpression__Group__0 ) { - before(grammarAccess.getAdditiveExpressionAccess().getGroup()); - // InternalSolverLanguageParser.g:655:3: ( rule__AdditiveExpression__Group__0 ) - // InternalSolverLanguageParser.g:655:4: rule__AdditiveExpression__Group__0 + before(grammarAccess.getDisjunctiveExpressionAccess().getGroup()); + // InternalSolverLanguageParser.g:660:3: ( rule__DisjunctiveExpression__Group__0 ) + // InternalSolverLanguageParser.g:660:4: rule__DisjunctiveExpression__Group__0 { pushFollow(FOLLOW_2); - rule__AdditiveExpression__Group__0(); + rule__DisjunctiveExpression__Group__0(); state._fsp--; } - after(grammarAccess.getAdditiveExpressionAccess().getGroup()); + after(grammarAccess.getDisjunctiveExpressionAccess().getGroup()); } @@ -1908,23 +1900,23 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "ruleAdditiveExpression" + // $ANTLR end "ruleDisjunctiveExpression" - // $ANTLR start "entryRuleMultiplicativeExpression" - // InternalSolverLanguageParser.g:664:1: entryRuleMultiplicativeExpression : ruleMultiplicativeExpression EOF ; - public final void entryRuleMultiplicativeExpression() throws RecognitionException { + // $ANTLR start "entryRuleCase" + // InternalSolverLanguageParser.g:669:1: entryRuleCase : ruleCase EOF ; + public final void entryRuleCase() throws RecognitionException { try { - // InternalSolverLanguageParser.g:665:1: ( ruleMultiplicativeExpression EOF ) - // InternalSolverLanguageParser.g:666:1: ruleMultiplicativeExpression EOF + // InternalSolverLanguageParser.g:670:1: ( ruleCase EOF ) + // InternalSolverLanguageParser.g:671:1: ruleCase EOF { - before(grammarAccess.getMultiplicativeExpressionRule()); + before(grammarAccess.getCaseRule()); pushFollow(FOLLOW_1); - ruleMultiplicativeExpression(); + ruleCase(); state._fsp--; - after(grammarAccess.getMultiplicativeExpressionRule()); + after(grammarAccess.getCaseRule()); match(input,EOF,FOLLOW_2); } @@ -1938,35 +1930,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "entryRuleMultiplicativeExpression" + // $ANTLR end "entryRuleCase" - // $ANTLR start "ruleMultiplicativeExpression" - // InternalSolverLanguageParser.g:673:1: ruleMultiplicativeExpression : ( ( rule__MultiplicativeExpression__Group__0 ) ) ; - public final void ruleMultiplicativeExpression() throws RecognitionException { + // $ANTLR start "ruleCase" + // InternalSolverLanguageParser.g:678:1: ruleCase : ( ( rule__Case__Group__0 ) ) ; + public final void ruleCase() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:677:2: ( ( ( rule__MultiplicativeExpression__Group__0 ) ) ) - // InternalSolverLanguageParser.g:678:2: ( ( rule__MultiplicativeExpression__Group__0 ) ) + // InternalSolverLanguageParser.g:682:2: ( ( ( rule__Case__Group__0 ) ) ) + // InternalSolverLanguageParser.g:683:2: ( ( rule__Case__Group__0 ) ) { - // InternalSolverLanguageParser.g:678:2: ( ( rule__MultiplicativeExpression__Group__0 ) ) - // InternalSolverLanguageParser.g:679:3: ( rule__MultiplicativeExpression__Group__0 ) + // InternalSolverLanguageParser.g:683:2: ( ( rule__Case__Group__0 ) ) + // InternalSolverLanguageParser.g:684:3: ( rule__Case__Group__0 ) { - before(grammarAccess.getMultiplicativeExpressionAccess().getGroup()); - // InternalSolverLanguageParser.g:680:3: ( rule__MultiplicativeExpression__Group__0 ) - // InternalSolverLanguageParser.g:680:4: rule__MultiplicativeExpression__Group__0 + before(grammarAccess.getCaseAccess().getGroup()); + // InternalSolverLanguageParser.g:685:3: ( rule__Case__Group__0 ) + // InternalSolverLanguageParser.g:685:4: rule__Case__Group__0 { pushFollow(FOLLOW_2); - rule__MultiplicativeExpression__Group__0(); + rule__Case__Group__0(); state._fsp--; } - after(grammarAccess.getMultiplicativeExpressionAccess().getGroup()); + after(grammarAccess.getCaseAccess().getGroup()); } @@ -1985,23 +1977,23 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "ruleMultiplicativeExpression" + // $ANTLR end "ruleCase" - // $ANTLR start "entryRuleExponentialExpression" - // InternalSolverLanguageParser.g:689:1: entryRuleExponentialExpression : ruleExponentialExpression EOF ; - public final void entryRuleExponentialExpression() throws RecognitionException { + // $ANTLR start "entryRuleConjunctiveExpression" + // InternalSolverLanguageParser.g:694:1: entryRuleConjunctiveExpression : ruleConjunctiveExpression EOF ; + public final void entryRuleConjunctiveExpression() throws RecognitionException { try { - // InternalSolverLanguageParser.g:690:1: ( ruleExponentialExpression EOF ) - // InternalSolverLanguageParser.g:691:1: ruleExponentialExpression EOF + // InternalSolverLanguageParser.g:695:1: ( ruleConjunctiveExpression EOF ) + // InternalSolverLanguageParser.g:696:1: ruleConjunctiveExpression EOF { - before(grammarAccess.getExponentialExpressionRule()); + before(grammarAccess.getConjunctiveExpressionRule()); pushFollow(FOLLOW_1); - ruleExponentialExpression(); + ruleConjunctiveExpression(); state._fsp--; - after(grammarAccess.getExponentialExpressionRule()); + after(grammarAccess.getConjunctiveExpressionRule()); match(input,EOF,FOLLOW_2); } @@ -2015,35 +2007,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "entryRuleExponentialExpression" + // $ANTLR end "entryRuleConjunctiveExpression" - // $ANTLR start "ruleExponentialExpression" - // InternalSolverLanguageParser.g:698:1: ruleExponentialExpression : ( ( rule__ExponentialExpression__Group__0 ) ) ; - public final void ruleExponentialExpression() throws RecognitionException { + // $ANTLR start "ruleConjunctiveExpression" + // InternalSolverLanguageParser.g:703:1: ruleConjunctiveExpression : ( ( rule__ConjunctiveExpression__Group__0 ) ) ; + public final void ruleConjunctiveExpression() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:702:2: ( ( ( rule__ExponentialExpression__Group__0 ) ) ) - // InternalSolverLanguageParser.g:703:2: ( ( rule__ExponentialExpression__Group__0 ) ) + // InternalSolverLanguageParser.g:707:2: ( ( ( rule__ConjunctiveExpression__Group__0 ) ) ) + // InternalSolverLanguageParser.g:708:2: ( ( rule__ConjunctiveExpression__Group__0 ) ) { - // InternalSolverLanguageParser.g:703:2: ( ( rule__ExponentialExpression__Group__0 ) ) - // InternalSolverLanguageParser.g:704:3: ( rule__ExponentialExpression__Group__0 ) + // InternalSolverLanguageParser.g:708:2: ( ( rule__ConjunctiveExpression__Group__0 ) ) + // InternalSolverLanguageParser.g:709:3: ( rule__ConjunctiveExpression__Group__0 ) { - before(grammarAccess.getExponentialExpressionAccess().getGroup()); - // InternalSolverLanguageParser.g:705:3: ( rule__ExponentialExpression__Group__0 ) - // InternalSolverLanguageParser.g:705:4: rule__ExponentialExpression__Group__0 + before(grammarAccess.getConjunctiveExpressionAccess().getGroup()); + // InternalSolverLanguageParser.g:710:3: ( rule__ConjunctiveExpression__Group__0 ) + // InternalSolverLanguageParser.g:710:4: rule__ConjunctiveExpression__Group__0 { pushFollow(FOLLOW_2); - rule__ExponentialExpression__Group__0(); + rule__ConjunctiveExpression__Group__0(); state._fsp--; } - after(grammarAccess.getExponentialExpressionAccess().getGroup()); + after(grammarAccess.getConjunctiveExpressionAccess().getGroup()); } @@ -2062,23 +2054,23 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "ruleExponentialExpression" + // $ANTLR end "ruleConjunctiveExpression" - // $ANTLR start "entryRuleCastExpression" - // InternalSolverLanguageParser.g:714:1: entryRuleCastExpression : ruleCastExpression EOF ; - public final void entryRuleCastExpression() throws RecognitionException { + // $ANTLR start "entryRuleComparisonExpression" + // InternalSolverLanguageParser.g:719:1: entryRuleComparisonExpression : ruleComparisonExpression EOF ; + public final void entryRuleComparisonExpression() throws RecognitionException { try { - // InternalSolverLanguageParser.g:715:1: ( ruleCastExpression EOF ) - // InternalSolverLanguageParser.g:716:1: ruleCastExpression EOF + // InternalSolverLanguageParser.g:720:1: ( ruleComparisonExpression EOF ) + // InternalSolverLanguageParser.g:721:1: ruleComparisonExpression EOF { - before(grammarAccess.getCastExpressionRule()); + before(grammarAccess.getComparisonExpressionRule()); pushFollow(FOLLOW_1); - ruleCastExpression(); + ruleComparisonExpression(); state._fsp--; - after(grammarAccess.getCastExpressionRule()); + after(grammarAccess.getComparisonExpressionRule()); match(input,EOF,FOLLOW_2); } @@ -2092,35 +2084,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "entryRuleCastExpression" + // $ANTLR end "entryRuleComparisonExpression" - // $ANTLR start "ruleCastExpression" - // InternalSolverLanguageParser.g:723:1: ruleCastExpression : ( ( rule__CastExpression__Group__0 ) ) ; - public final void ruleCastExpression() throws RecognitionException { + // $ANTLR start "ruleComparisonExpression" + // InternalSolverLanguageParser.g:728:1: ruleComparisonExpression : ( ( rule__ComparisonExpression__Group__0 ) ) ; + public final void ruleComparisonExpression() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:727:2: ( ( ( rule__CastExpression__Group__0 ) ) ) - // InternalSolverLanguageParser.g:728:2: ( ( rule__CastExpression__Group__0 ) ) + // InternalSolverLanguageParser.g:732:2: ( ( ( rule__ComparisonExpression__Group__0 ) ) ) + // InternalSolverLanguageParser.g:733:2: ( ( rule__ComparisonExpression__Group__0 ) ) { - // InternalSolverLanguageParser.g:728:2: ( ( rule__CastExpression__Group__0 ) ) - // InternalSolverLanguageParser.g:729:3: ( rule__CastExpression__Group__0 ) + // InternalSolverLanguageParser.g:733:2: ( ( rule__ComparisonExpression__Group__0 ) ) + // InternalSolverLanguageParser.g:734:3: ( rule__ComparisonExpression__Group__0 ) { - before(grammarAccess.getCastExpressionAccess().getGroup()); - // InternalSolverLanguageParser.g:730:3: ( rule__CastExpression__Group__0 ) - // InternalSolverLanguageParser.g:730:4: rule__CastExpression__Group__0 + before(grammarAccess.getComparisonExpressionAccess().getGroup()); + // InternalSolverLanguageParser.g:735:3: ( rule__ComparisonExpression__Group__0 ) + // InternalSolverLanguageParser.g:735:4: rule__ComparisonExpression__Group__0 { pushFollow(FOLLOW_2); - rule__CastExpression__Group__0(); + rule__ComparisonExpression__Group__0(); state._fsp--; } - after(grammarAccess.getCastExpressionAccess().getGroup()); + after(grammarAccess.getComparisonExpressionAccess().getGroup()); } @@ -2139,23 +2131,23 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "ruleCastExpression" + // $ANTLR end "ruleComparisonExpression" - // $ANTLR start "entryRuleUnaryExpression" - // InternalSolverLanguageParser.g:739:1: entryRuleUnaryExpression : ruleUnaryExpression EOF ; - public final void entryRuleUnaryExpression() throws RecognitionException { + // $ANTLR start "entryRuleAdditiveExpression" + // InternalSolverLanguageParser.g:744:1: entryRuleAdditiveExpression : ruleAdditiveExpression EOF ; + public final void entryRuleAdditiveExpression() throws RecognitionException { try { - // InternalSolverLanguageParser.g:740:1: ( ruleUnaryExpression EOF ) - // InternalSolverLanguageParser.g:741:1: ruleUnaryExpression EOF + // InternalSolverLanguageParser.g:745:1: ( ruleAdditiveExpression EOF ) + // InternalSolverLanguageParser.g:746:1: ruleAdditiveExpression EOF { - before(grammarAccess.getUnaryExpressionRule()); + before(grammarAccess.getAdditiveExpressionRule()); pushFollow(FOLLOW_1); - ruleUnaryExpression(); + ruleAdditiveExpression(); state._fsp--; - after(grammarAccess.getUnaryExpressionRule()); + after(grammarAccess.getAdditiveExpressionRule()); match(input,EOF,FOLLOW_2); } @@ -2169,35 +2161,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "entryRuleUnaryExpression" + // $ANTLR end "entryRuleAdditiveExpression" - // $ANTLR start "ruleUnaryExpression" - // InternalSolverLanguageParser.g:748:1: ruleUnaryExpression : ( ( rule__UnaryExpression__Alternatives ) ) ; - public final void ruleUnaryExpression() throws RecognitionException { + // $ANTLR start "ruleAdditiveExpression" + // InternalSolverLanguageParser.g:753:1: ruleAdditiveExpression : ( ( rule__AdditiveExpression__Group__0 ) ) ; + public final void ruleAdditiveExpression() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:752:2: ( ( ( rule__UnaryExpression__Alternatives ) ) ) - // InternalSolverLanguageParser.g:753:2: ( ( rule__UnaryExpression__Alternatives ) ) + // InternalSolverLanguageParser.g:757:2: ( ( ( rule__AdditiveExpression__Group__0 ) ) ) + // InternalSolverLanguageParser.g:758:2: ( ( rule__AdditiveExpression__Group__0 ) ) { - // InternalSolverLanguageParser.g:753:2: ( ( rule__UnaryExpression__Alternatives ) ) - // InternalSolverLanguageParser.g:754:3: ( rule__UnaryExpression__Alternatives ) + // InternalSolverLanguageParser.g:758:2: ( ( rule__AdditiveExpression__Group__0 ) ) + // InternalSolverLanguageParser.g:759:3: ( rule__AdditiveExpression__Group__0 ) { - before(grammarAccess.getUnaryExpressionAccess().getAlternatives()); - // InternalSolverLanguageParser.g:755:3: ( rule__UnaryExpression__Alternatives ) - // InternalSolverLanguageParser.g:755:4: rule__UnaryExpression__Alternatives + before(grammarAccess.getAdditiveExpressionAccess().getGroup()); + // InternalSolverLanguageParser.g:760:3: ( rule__AdditiveExpression__Group__0 ) + // InternalSolverLanguageParser.g:760:4: rule__AdditiveExpression__Group__0 { pushFollow(FOLLOW_2); - rule__UnaryExpression__Alternatives(); + rule__AdditiveExpression__Group__0(); state._fsp--; } - after(grammarAccess.getUnaryExpressionAccess().getAlternatives()); + after(grammarAccess.getAdditiveExpressionAccess().getGroup()); } @@ -2216,23 +2208,177 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "ruleUnaryExpression" + // $ANTLR end "ruleAdditiveExpression" + + + // $ANTLR start "entryRuleMultiplicativeExpression" + // InternalSolverLanguageParser.g:769:1: entryRuleMultiplicativeExpression : ruleMultiplicativeExpression EOF ; + public final void entryRuleMultiplicativeExpression() throws RecognitionException { + try { + // InternalSolverLanguageParser.g:770:1: ( ruleMultiplicativeExpression EOF ) + // InternalSolverLanguageParser.g:771:1: ruleMultiplicativeExpression EOF + { + before(grammarAccess.getMultiplicativeExpressionRule()); + pushFollow(FOLLOW_1); + ruleMultiplicativeExpression(); + + state._fsp--; + + after(grammarAccess.getMultiplicativeExpressionRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleMultiplicativeExpression" + + + // $ANTLR start "ruleMultiplicativeExpression" + // InternalSolverLanguageParser.g:778:1: ruleMultiplicativeExpression : ( ( rule__MultiplicativeExpression__Group__0 ) ) ; + public final void ruleMultiplicativeExpression() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:782:2: ( ( ( rule__MultiplicativeExpression__Group__0 ) ) ) + // InternalSolverLanguageParser.g:783:2: ( ( rule__MultiplicativeExpression__Group__0 ) ) + { + // InternalSolverLanguageParser.g:783:2: ( ( rule__MultiplicativeExpression__Group__0 ) ) + // InternalSolverLanguageParser.g:784:3: ( rule__MultiplicativeExpression__Group__0 ) + { + before(grammarAccess.getMultiplicativeExpressionAccess().getGroup()); + // InternalSolverLanguageParser.g:785:3: ( rule__MultiplicativeExpression__Group__0 ) + // InternalSolverLanguageParser.g:785:4: rule__MultiplicativeExpression__Group__0 + { + pushFollow(FOLLOW_2); + rule__MultiplicativeExpression__Group__0(); + + state._fsp--; + + + } + + after(grammarAccess.getMultiplicativeExpressionAccess().getGroup()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleMultiplicativeExpression" + + + // $ANTLR start "entryRuleExponentialExpression" + // InternalSolverLanguageParser.g:794:1: entryRuleExponentialExpression : ruleExponentialExpression EOF ; + public final void entryRuleExponentialExpression() throws RecognitionException { + try { + // InternalSolverLanguageParser.g:795:1: ( ruleExponentialExpression EOF ) + // InternalSolverLanguageParser.g:796:1: ruleExponentialExpression EOF + { + before(grammarAccess.getExponentialExpressionRule()); + pushFollow(FOLLOW_1); + ruleExponentialExpression(); + + state._fsp--; + + after(grammarAccess.getExponentialExpressionRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleExponentialExpression" + + + // $ANTLR start "ruleExponentialExpression" + // InternalSolverLanguageParser.g:803:1: ruleExponentialExpression : ( ( rule__ExponentialExpression__Group__0 ) ) ; + public final void ruleExponentialExpression() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:807:2: ( ( ( rule__ExponentialExpression__Group__0 ) ) ) + // InternalSolverLanguageParser.g:808:2: ( ( rule__ExponentialExpression__Group__0 ) ) + { + // InternalSolverLanguageParser.g:808:2: ( ( rule__ExponentialExpression__Group__0 ) ) + // InternalSolverLanguageParser.g:809:3: ( rule__ExponentialExpression__Group__0 ) + { + before(grammarAccess.getExponentialExpressionAccess().getGroup()); + // InternalSolverLanguageParser.g:810:3: ( rule__ExponentialExpression__Group__0 ) + // InternalSolverLanguageParser.g:810:4: rule__ExponentialExpression__Group__0 + { + pushFollow(FOLLOW_2); + rule__ExponentialExpression__Group__0(); + + state._fsp--; + + + } + + after(grammarAccess.getExponentialExpressionAccess().getGroup()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleExponentialExpression" - // $ANTLR start "entryRuleAggregationExpression" - // InternalSolverLanguageParser.g:764:1: entryRuleAggregationExpression : ruleAggregationExpression EOF ; - public final void entryRuleAggregationExpression() throws RecognitionException { + // $ANTLR start "entryRuleCastExpression" + // InternalSolverLanguageParser.g:819:1: entryRuleCastExpression : ruleCastExpression EOF ; + public final void entryRuleCastExpression() throws RecognitionException { try { - // InternalSolverLanguageParser.g:765:1: ( ruleAggregationExpression EOF ) - // InternalSolverLanguageParser.g:766:1: ruleAggregationExpression EOF + // InternalSolverLanguageParser.g:820:1: ( ruleCastExpression EOF ) + // InternalSolverLanguageParser.g:821:1: ruleCastExpression EOF { - before(grammarAccess.getAggregationExpressionRule()); + before(grammarAccess.getCastExpressionRule()); pushFollow(FOLLOW_1); - ruleAggregationExpression(); + ruleCastExpression(); state._fsp--; - after(grammarAccess.getAggregationExpressionRule()); + after(grammarAccess.getCastExpressionRule()); match(input,EOF,FOLLOW_2); } @@ -2246,35 +2392,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "entryRuleAggregationExpression" + // $ANTLR end "entryRuleCastExpression" - // $ANTLR start "ruleAggregationExpression" - // InternalSolverLanguageParser.g:773:1: ruleAggregationExpression : ( ( rule__AggregationExpression__Alternatives ) ) ; - public final void ruleAggregationExpression() throws RecognitionException { + // $ANTLR start "ruleCastExpression" + // InternalSolverLanguageParser.g:828:1: ruleCastExpression : ( ( rule__CastExpression__Group__0 ) ) ; + public final void ruleCastExpression() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:777:2: ( ( ( rule__AggregationExpression__Alternatives ) ) ) - // InternalSolverLanguageParser.g:778:2: ( ( rule__AggregationExpression__Alternatives ) ) + // InternalSolverLanguageParser.g:832:2: ( ( ( rule__CastExpression__Group__0 ) ) ) + // InternalSolverLanguageParser.g:833:2: ( ( rule__CastExpression__Group__0 ) ) { - // InternalSolverLanguageParser.g:778:2: ( ( rule__AggregationExpression__Alternatives ) ) - // InternalSolverLanguageParser.g:779:3: ( rule__AggregationExpression__Alternatives ) + // InternalSolverLanguageParser.g:833:2: ( ( rule__CastExpression__Group__0 ) ) + // InternalSolverLanguageParser.g:834:3: ( rule__CastExpression__Group__0 ) { - before(grammarAccess.getAggregationExpressionAccess().getAlternatives()); - // InternalSolverLanguageParser.g:780:3: ( rule__AggregationExpression__Alternatives ) - // InternalSolverLanguageParser.g:780:4: rule__AggregationExpression__Alternatives + before(grammarAccess.getCastExpressionAccess().getGroup()); + // InternalSolverLanguageParser.g:835:3: ( rule__CastExpression__Group__0 ) + // InternalSolverLanguageParser.g:835:4: rule__CastExpression__Group__0 { pushFollow(FOLLOW_2); - rule__AggregationExpression__Alternatives(); + rule__CastExpression__Group__0(); state._fsp--; } - after(grammarAccess.getAggregationExpressionAccess().getAlternatives()); + after(grammarAccess.getCastExpressionAccess().getGroup()); } @@ -2293,23 +2439,23 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "ruleAggregationExpression" + // $ANTLR end "ruleCastExpression" - // $ANTLR start "entryRuleLocalVariables" - // InternalSolverLanguageParser.g:789:1: entryRuleLocalVariables : ruleLocalVariables EOF ; - public final void entryRuleLocalVariables() throws RecognitionException { + // $ANTLR start "entryRuleUnaryExpression" + // InternalSolverLanguageParser.g:844:1: entryRuleUnaryExpression : ruleUnaryExpression EOF ; + public final void entryRuleUnaryExpression() throws RecognitionException { try { - // InternalSolverLanguageParser.g:790:1: ( ruleLocalVariables EOF ) - // InternalSolverLanguageParser.g:791:1: ruleLocalVariables EOF + // InternalSolverLanguageParser.g:845:1: ( ruleUnaryExpression EOF ) + // InternalSolverLanguageParser.g:846:1: ruleUnaryExpression EOF { - before(grammarAccess.getLocalVariablesRule()); + before(grammarAccess.getUnaryExpressionRule()); pushFollow(FOLLOW_1); - ruleLocalVariables(); + ruleUnaryExpression(); state._fsp--; - after(grammarAccess.getLocalVariablesRule()); + after(grammarAccess.getUnaryExpressionRule()); match(input,EOF,FOLLOW_2); } @@ -2323,35 +2469,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "entryRuleLocalVariables" + // $ANTLR end "entryRuleUnaryExpression" - // $ANTLR start "ruleLocalVariables" - // InternalSolverLanguageParser.g:798:1: ruleLocalVariables : ( ( rule__LocalVariables__Group__0 ) ) ; - public final void ruleLocalVariables() throws RecognitionException { + // $ANTLR start "ruleUnaryExpression" + // InternalSolverLanguageParser.g:853:1: ruleUnaryExpression : ( ( rule__UnaryExpression__Alternatives ) ) ; + public final void ruleUnaryExpression() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:802:2: ( ( ( rule__LocalVariables__Group__0 ) ) ) - // InternalSolverLanguageParser.g:803:2: ( ( rule__LocalVariables__Group__0 ) ) + // InternalSolverLanguageParser.g:857:2: ( ( ( rule__UnaryExpression__Alternatives ) ) ) + // InternalSolverLanguageParser.g:858:2: ( ( rule__UnaryExpression__Alternatives ) ) { - // InternalSolverLanguageParser.g:803:2: ( ( rule__LocalVariables__Group__0 ) ) - // InternalSolverLanguageParser.g:804:3: ( rule__LocalVariables__Group__0 ) + // InternalSolverLanguageParser.g:858:2: ( ( rule__UnaryExpression__Alternatives ) ) + // InternalSolverLanguageParser.g:859:3: ( rule__UnaryExpression__Alternatives ) { - before(grammarAccess.getLocalVariablesAccess().getGroup()); - // InternalSolverLanguageParser.g:805:3: ( rule__LocalVariables__Group__0 ) - // InternalSolverLanguageParser.g:805:4: rule__LocalVariables__Group__0 + before(grammarAccess.getUnaryExpressionAccess().getAlternatives()); + // InternalSolverLanguageParser.g:860:3: ( rule__UnaryExpression__Alternatives ) + // InternalSolverLanguageParser.g:860:4: rule__UnaryExpression__Alternatives { pushFollow(FOLLOW_2); - rule__LocalVariables__Group__0(); + rule__UnaryExpression__Alternatives(); state._fsp--; } - after(grammarAccess.getLocalVariablesAccess().getGroup()); + after(grammarAccess.getUnaryExpressionAccess().getAlternatives()); } @@ -2370,23 +2516,23 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "ruleLocalVariables" + // $ANTLR end "ruleUnaryExpression" - // $ANTLR start "entryRuleQuantifiedExpression" - // InternalSolverLanguageParser.g:814:1: entryRuleQuantifiedExpression : ruleQuantifiedExpression EOF ; - public final void entryRuleQuantifiedExpression() throws RecognitionException { + // $ANTLR start "entryRuleBracedAggregateExpression" + // InternalSolverLanguageParser.g:869:1: entryRuleBracedAggregateExpression : ruleBracedAggregateExpression EOF ; + public final void entryRuleBracedAggregateExpression() throws RecognitionException { try { - // InternalSolverLanguageParser.g:815:1: ( ruleQuantifiedExpression EOF ) - // InternalSolverLanguageParser.g:816:1: ruleQuantifiedExpression EOF + // InternalSolverLanguageParser.g:870:1: ( ruleBracedAggregateExpression EOF ) + // InternalSolverLanguageParser.g:871:1: ruleBracedAggregateExpression EOF { - before(grammarAccess.getQuantifiedExpressionRule()); + before(grammarAccess.getBracedAggregateExpressionRule()); pushFollow(FOLLOW_1); - ruleQuantifiedExpression(); + ruleBracedAggregateExpression(); state._fsp--; - after(grammarAccess.getQuantifiedExpressionRule()); + after(grammarAccess.getBracedAggregateExpressionRule()); match(input,EOF,FOLLOW_2); } @@ -2400,35 +2546,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "entryRuleQuantifiedExpression" + // $ANTLR end "entryRuleBracedAggregateExpression" - // $ANTLR start "ruleQuantifiedExpression" - // InternalSolverLanguageParser.g:823:1: ruleQuantifiedExpression : ( ( rule__QuantifiedExpression__Group__0 ) ) ; - public final void ruleQuantifiedExpression() throws RecognitionException { + // $ANTLR start "ruleBracedAggregateExpression" + // InternalSolverLanguageParser.g:878:1: ruleBracedAggregateExpression : ( ( rule__BracedAggregateExpression__Alternatives ) ) ; + public final void ruleBracedAggregateExpression() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:827:2: ( ( ( rule__QuantifiedExpression__Group__0 ) ) ) - // InternalSolverLanguageParser.g:828:2: ( ( rule__QuantifiedExpression__Group__0 ) ) + // InternalSolverLanguageParser.g:882:2: ( ( ( rule__BracedAggregateExpression__Alternatives ) ) ) + // InternalSolverLanguageParser.g:883:2: ( ( rule__BracedAggregateExpression__Alternatives ) ) { - // InternalSolverLanguageParser.g:828:2: ( ( rule__QuantifiedExpression__Group__0 ) ) - // InternalSolverLanguageParser.g:829:3: ( rule__QuantifiedExpression__Group__0 ) + // InternalSolverLanguageParser.g:883:2: ( ( rule__BracedAggregateExpression__Alternatives ) ) + // InternalSolverLanguageParser.g:884:3: ( rule__BracedAggregateExpression__Alternatives ) { - before(grammarAccess.getQuantifiedExpressionAccess().getGroup()); - // InternalSolverLanguageParser.g:830:3: ( rule__QuantifiedExpression__Group__0 ) - // InternalSolverLanguageParser.g:830:4: rule__QuantifiedExpression__Group__0 + before(grammarAccess.getBracedAggregateExpressionAccess().getAlternatives()); + // InternalSolverLanguageParser.g:885:3: ( rule__BracedAggregateExpression__Alternatives ) + // InternalSolverLanguageParser.g:885:4: rule__BracedAggregateExpression__Alternatives { pushFollow(FOLLOW_2); - rule__QuantifiedExpression__Group__0(); + rule__BracedAggregateExpression__Alternatives(); state._fsp--; } - after(grammarAccess.getQuantifiedExpressionAccess().getGroup()); + after(grammarAccess.getBracedAggregateExpressionAccess().getAlternatives()); } @@ -2447,15 +2593,15 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "ruleQuantifiedExpression" + // $ANTLR end "ruleBracedAggregateExpression" // $ANTLR start "entryRuleAggregation" - // InternalSolverLanguageParser.g:839:1: entryRuleAggregation : ruleAggregation EOF ; + // InternalSolverLanguageParser.g:894:1: entryRuleAggregation : ruleAggregation EOF ; public final void entryRuleAggregation() throws RecognitionException { try { - // InternalSolverLanguageParser.g:840:1: ( ruleAggregation EOF ) - // InternalSolverLanguageParser.g:841:1: ruleAggregation EOF + // InternalSolverLanguageParser.g:895:1: ( ruleAggregation EOF ) + // InternalSolverLanguageParser.g:896:1: ruleAggregation EOF { before(grammarAccess.getAggregationRule()); pushFollow(FOLLOW_1); @@ -2481,21 +2627,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR start "ruleAggregation" - // InternalSolverLanguageParser.g:848:1: ruleAggregation : ( ( rule__Aggregation__Group__0 ) ) ; + // InternalSolverLanguageParser.g:903:1: ruleAggregation : ( ( rule__Aggregation__Group__0 ) ) ; public final void ruleAggregation() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:852:2: ( ( ( rule__Aggregation__Group__0 ) ) ) - // InternalSolverLanguageParser.g:853:2: ( ( rule__Aggregation__Group__0 ) ) + // InternalSolverLanguageParser.g:907:2: ( ( ( rule__Aggregation__Group__0 ) ) ) + // InternalSolverLanguageParser.g:908:2: ( ( rule__Aggregation__Group__0 ) ) { - // InternalSolverLanguageParser.g:853:2: ( ( rule__Aggregation__Group__0 ) ) - // InternalSolverLanguageParser.g:854:3: ( rule__Aggregation__Group__0 ) + // InternalSolverLanguageParser.g:908:2: ( ( rule__Aggregation__Group__0 ) ) + // InternalSolverLanguageParser.g:909:3: ( rule__Aggregation__Group__0 ) { before(grammarAccess.getAggregationAccess().getGroup()); - // InternalSolverLanguageParser.g:855:3: ( rule__Aggregation__Group__0 ) - // InternalSolverLanguageParser.g:855:4: rule__Aggregation__Group__0 + // InternalSolverLanguageParser.g:910:3: ( rule__Aggregation__Group__0 ) + // InternalSolverLanguageParser.g:910:4: rule__Aggregation__Group__0 { pushFollow(FOLLOW_2); rule__Aggregation__Group__0(); @@ -2527,12 +2673,89 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR end "ruleAggregation" + // $ANTLR start "entryRuleCount" + // InternalSolverLanguageParser.g:919:1: entryRuleCount : ruleCount EOF ; + public final void entryRuleCount() throws RecognitionException { + try { + // InternalSolverLanguageParser.g:920:1: ( ruleCount EOF ) + // InternalSolverLanguageParser.g:921:1: ruleCount EOF + { + before(grammarAccess.getCountRule()); + pushFollow(FOLLOW_1); + ruleCount(); + + state._fsp--; + + after(grammarAccess.getCountRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleCount" + + + // $ANTLR start "ruleCount" + // InternalSolverLanguageParser.g:928:1: ruleCount : ( ( rule__Count__Group__0 ) ) ; + public final void ruleCount() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:932:2: ( ( ( rule__Count__Group__0 ) ) ) + // InternalSolverLanguageParser.g:933:2: ( ( rule__Count__Group__0 ) ) + { + // InternalSolverLanguageParser.g:933:2: ( ( rule__Count__Group__0 ) ) + // InternalSolverLanguageParser.g:934:3: ( rule__Count__Group__0 ) + { + before(grammarAccess.getCountAccess().getGroup()); + // InternalSolverLanguageParser.g:935:3: ( rule__Count__Group__0 ) + // InternalSolverLanguageParser.g:935:4: rule__Count__Group__0 + { + pushFollow(FOLLOW_2); + rule__Count__Group__0(); + + state._fsp--; + + + } + + after(grammarAccess.getCountAccess().getGroup()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleCount" + + // $ANTLR start "entryRuleAtomicExpression" - // InternalSolverLanguageParser.g:864:1: entryRuleAtomicExpression : ruleAtomicExpression EOF ; + // InternalSolverLanguageParser.g:944:1: entryRuleAtomicExpression : ruleAtomicExpression EOF ; public final void entryRuleAtomicExpression() throws RecognitionException { try { - // InternalSolverLanguageParser.g:865:1: ( ruleAtomicExpression EOF ) - // InternalSolverLanguageParser.g:866:1: ruleAtomicExpression EOF + // InternalSolverLanguageParser.g:945:1: ( ruleAtomicExpression EOF ) + // InternalSolverLanguageParser.g:946:1: ruleAtomicExpression EOF { before(grammarAccess.getAtomicExpressionRule()); pushFollow(FOLLOW_1); @@ -2558,21 +2781,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR start "ruleAtomicExpression" - // InternalSolverLanguageParser.g:873:1: ruleAtomicExpression : ( ( rule__AtomicExpression__Alternatives ) ) ; + // InternalSolverLanguageParser.g:953:1: ruleAtomicExpression : ( ( rule__AtomicExpression__Alternatives ) ) ; public final void ruleAtomicExpression() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:877:2: ( ( ( rule__AtomicExpression__Alternatives ) ) ) - // InternalSolverLanguageParser.g:878:2: ( ( rule__AtomicExpression__Alternatives ) ) + // InternalSolverLanguageParser.g:957:2: ( ( ( rule__AtomicExpression__Alternatives ) ) ) + // InternalSolverLanguageParser.g:958:2: ( ( rule__AtomicExpression__Alternatives ) ) { - // InternalSolverLanguageParser.g:878:2: ( ( rule__AtomicExpression__Alternatives ) ) - // InternalSolverLanguageParser.g:879:3: ( rule__AtomicExpression__Alternatives ) + // InternalSolverLanguageParser.g:958:2: ( ( rule__AtomicExpression__Alternatives ) ) + // InternalSolverLanguageParser.g:959:3: ( rule__AtomicExpression__Alternatives ) { before(grammarAccess.getAtomicExpressionAccess().getAlternatives()); - // InternalSolverLanguageParser.g:880:3: ( rule__AtomicExpression__Alternatives ) - // InternalSolverLanguageParser.g:880:4: rule__AtomicExpression__Alternatives + // InternalSolverLanguageParser.g:960:3: ( rule__AtomicExpression__Alternatives ) + // InternalSolverLanguageParser.g:960:4: rule__AtomicExpression__Alternatives { pushFollow(FOLLOW_2); rule__AtomicExpression__Alternatives(); @@ -2605,11 +2828,11 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR start "entryRuleCall" - // InternalSolverLanguageParser.g:889:1: entryRuleCall : ruleCall EOF ; + // InternalSolverLanguageParser.g:969:1: entryRuleCall : ruleCall EOF ; public final void entryRuleCall() throws RecognitionException { try { - // InternalSolverLanguageParser.g:890:1: ( ruleCall EOF ) - // InternalSolverLanguageParser.g:891:1: ruleCall EOF + // InternalSolverLanguageParser.g:970:1: ( ruleCall EOF ) + // InternalSolverLanguageParser.g:971:1: ruleCall EOF { before(grammarAccess.getCallRule()); pushFollow(FOLLOW_1); @@ -2635,21 +2858,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR start "ruleCall" - // InternalSolverLanguageParser.g:898:1: ruleCall : ( ( rule__Call__Group__0 ) ) ; + // InternalSolverLanguageParser.g:978:1: ruleCall : ( ( rule__Call__Group__0 ) ) ; public final void ruleCall() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:902:2: ( ( ( rule__Call__Group__0 ) ) ) - // InternalSolverLanguageParser.g:903:2: ( ( rule__Call__Group__0 ) ) + // InternalSolverLanguageParser.g:982:2: ( ( ( rule__Call__Group__0 ) ) ) + // InternalSolverLanguageParser.g:983:2: ( ( rule__Call__Group__0 ) ) { - // InternalSolverLanguageParser.g:903:2: ( ( rule__Call__Group__0 ) ) - // InternalSolverLanguageParser.g:904:3: ( rule__Call__Group__0 ) + // InternalSolverLanguageParser.g:983:2: ( ( rule__Call__Group__0 ) ) + // InternalSolverLanguageParser.g:984:3: ( rule__Call__Group__0 ) { before(grammarAccess.getCallAccess().getGroup()); - // InternalSolverLanguageParser.g:905:3: ( rule__Call__Group__0 ) - // InternalSolverLanguageParser.g:905:4: rule__Call__Group__0 + // InternalSolverLanguageParser.g:985:3: ( rule__Call__Group__0 ) + // InternalSolverLanguageParser.g:985:4: rule__Call__Group__0 { pushFollow(FOLLOW_2); rule__Call__Group__0(); @@ -2682,11 +2905,11 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR start "entryRuleArgumentList" - // InternalSolverLanguageParser.g:914:1: entryRuleArgumentList : ruleArgumentList EOF ; + // InternalSolverLanguageParser.g:994:1: entryRuleArgumentList : ruleArgumentList EOF ; public final void entryRuleArgumentList() throws RecognitionException { try { - // InternalSolverLanguageParser.g:915:1: ( ruleArgumentList EOF ) - // InternalSolverLanguageParser.g:916:1: ruleArgumentList EOF + // InternalSolverLanguageParser.g:995:1: ( ruleArgumentList EOF ) + // InternalSolverLanguageParser.g:996:1: ruleArgumentList EOF { before(grammarAccess.getArgumentListRule()); pushFollow(FOLLOW_1); @@ -2712,21 +2935,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR start "ruleArgumentList" - // InternalSolverLanguageParser.g:923:1: ruleArgumentList : ( ( rule__ArgumentList__Group__0 ) ) ; + // InternalSolverLanguageParser.g:1003:1: ruleArgumentList : ( ( rule__ArgumentList__Group__0 ) ) ; public final void ruleArgumentList() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:927:2: ( ( ( rule__ArgumentList__Group__0 ) ) ) - // InternalSolverLanguageParser.g:928:2: ( ( rule__ArgumentList__Group__0 ) ) + // InternalSolverLanguageParser.g:1007:2: ( ( ( rule__ArgumentList__Group__0 ) ) ) + // InternalSolverLanguageParser.g:1008:2: ( ( rule__ArgumentList__Group__0 ) ) { - // InternalSolverLanguageParser.g:928:2: ( ( rule__ArgumentList__Group__0 ) ) - // InternalSolverLanguageParser.g:929:3: ( rule__ArgumentList__Group__0 ) + // InternalSolverLanguageParser.g:1008:2: ( ( rule__ArgumentList__Group__0 ) ) + // InternalSolverLanguageParser.g:1009:3: ( rule__ArgumentList__Group__0 ) { before(grammarAccess.getArgumentListAccess().getGroup()); - // InternalSolverLanguageParser.g:930:3: ( rule__ArgumentList__Group__0 ) - // InternalSolverLanguageParser.g:930:4: rule__ArgumentList__Group__0 + // InternalSolverLanguageParser.g:1010:3: ( rule__ArgumentList__Group__0 ) + // InternalSolverLanguageParser.g:1010:4: rule__ArgumentList__Group__0 { pushFollow(FOLLOW_2); rule__ArgumentList__Group__0(); @@ -2759,11 +2982,11 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR start "entryRuleArgument" - // InternalSolverLanguageParser.g:939:1: entryRuleArgument : ruleArgument EOF ; + // InternalSolverLanguageParser.g:1019:1: entryRuleArgument : ruleArgument EOF ; public final void entryRuleArgument() throws RecognitionException { try { - // InternalSolverLanguageParser.g:940:1: ( ruleArgument EOF ) - // InternalSolverLanguageParser.g:941:1: ruleArgument EOF + // InternalSolverLanguageParser.g:1020:1: ( ruleArgument EOF ) + // InternalSolverLanguageParser.g:1021:1: ruleArgument EOF { before(grammarAccess.getArgumentRule()); pushFollow(FOLLOW_1); @@ -2789,21 +3012,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR start "ruleArgument" - // InternalSolverLanguageParser.g:948:1: ruleArgument : ( ( rule__Argument__Alternatives ) ) ; + // InternalSolverLanguageParser.g:1028:1: ruleArgument : ( ( rule__Argument__Alternatives ) ) ; public final void ruleArgument() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:952:2: ( ( ( rule__Argument__Alternatives ) ) ) - // InternalSolverLanguageParser.g:953:2: ( ( rule__Argument__Alternatives ) ) + // InternalSolverLanguageParser.g:1032:2: ( ( ( rule__Argument__Alternatives ) ) ) + // InternalSolverLanguageParser.g:1033:2: ( ( rule__Argument__Alternatives ) ) { - // InternalSolverLanguageParser.g:953:2: ( ( rule__Argument__Alternatives ) ) - // InternalSolverLanguageParser.g:954:3: ( rule__Argument__Alternatives ) + // InternalSolverLanguageParser.g:1033:2: ( ( rule__Argument__Alternatives ) ) + // InternalSolverLanguageParser.g:1034:3: ( rule__Argument__Alternatives ) { before(grammarAccess.getArgumentAccess().getAlternatives()); - // InternalSolverLanguageParser.g:955:3: ( rule__Argument__Alternatives ) - // InternalSolverLanguageParser.g:955:4: rule__Argument__Alternatives + // InternalSolverLanguageParser.g:1035:3: ( rule__Argument__Alternatives ) + // InternalSolverLanguageParser.g:1035:4: rule__Argument__Alternatives { pushFollow(FOLLOW_2); rule__Argument__Alternatives(); @@ -2836,11 +3059,11 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR start "entryRuleExpressionArgument" - // InternalSolverLanguageParser.g:964:1: entryRuleExpressionArgument : ruleExpressionArgument EOF ; + // InternalSolverLanguageParser.g:1044:1: entryRuleExpressionArgument : ruleExpressionArgument EOF ; public final void entryRuleExpressionArgument() throws RecognitionException { try { - // InternalSolverLanguageParser.g:965:1: ( ruleExpressionArgument EOF ) - // InternalSolverLanguageParser.g:966:1: ruleExpressionArgument EOF + // InternalSolverLanguageParser.g:1045:1: ( ruleExpressionArgument EOF ) + // InternalSolverLanguageParser.g:1046:1: ruleExpressionArgument EOF { before(grammarAccess.getExpressionArgumentRule()); pushFollow(FOLLOW_1); @@ -2866,31 +3089,31 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR start "ruleExpressionArgument" - // InternalSolverLanguageParser.g:973:1: ruleExpressionArgument : ( ( rule__ExpressionArgument__BodyAssignment ) ) ; + // InternalSolverLanguageParser.g:1053:1: ruleExpressionArgument : ( ( rule__ExpressionArgument__ExpressionAssignment ) ) ; public final void ruleExpressionArgument() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:977:2: ( ( ( rule__ExpressionArgument__BodyAssignment ) ) ) - // InternalSolverLanguageParser.g:978:2: ( ( rule__ExpressionArgument__BodyAssignment ) ) + // InternalSolverLanguageParser.g:1057:2: ( ( ( rule__ExpressionArgument__ExpressionAssignment ) ) ) + // InternalSolverLanguageParser.g:1058:2: ( ( rule__ExpressionArgument__ExpressionAssignment ) ) { - // InternalSolverLanguageParser.g:978:2: ( ( rule__ExpressionArgument__BodyAssignment ) ) - // InternalSolverLanguageParser.g:979:3: ( rule__ExpressionArgument__BodyAssignment ) + // InternalSolverLanguageParser.g:1058:2: ( ( rule__ExpressionArgument__ExpressionAssignment ) ) + // InternalSolverLanguageParser.g:1059:3: ( rule__ExpressionArgument__ExpressionAssignment ) { - before(grammarAccess.getExpressionArgumentAccess().getBodyAssignment()); - // InternalSolverLanguageParser.g:980:3: ( rule__ExpressionArgument__BodyAssignment ) - // InternalSolverLanguageParser.g:980:4: rule__ExpressionArgument__BodyAssignment + before(grammarAccess.getExpressionArgumentAccess().getExpressionAssignment()); + // InternalSolverLanguageParser.g:1060:3: ( rule__ExpressionArgument__ExpressionAssignment ) + // InternalSolverLanguageParser.g:1060:4: rule__ExpressionArgument__ExpressionAssignment { pushFollow(FOLLOW_2); - rule__ExpressionArgument__BodyAssignment(); + rule__ExpressionArgument__ExpressionAssignment(); state._fsp--; } - after(grammarAccess.getExpressionArgumentAccess().getBodyAssignment()); + after(grammarAccess.getExpressionArgumentAccess().getExpressionAssignment()); } @@ -2913,11 +3136,11 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR start "entryRuleStarArgument" - // InternalSolverLanguageParser.g:989:1: entryRuleStarArgument : ruleStarArgument EOF ; + // InternalSolverLanguageParser.g:1069:1: entryRuleStarArgument : ruleStarArgument EOF ; public final void entryRuleStarArgument() throws RecognitionException { try { - // InternalSolverLanguageParser.g:990:1: ( ruleStarArgument EOF ) - // InternalSolverLanguageParser.g:991:1: ruleStarArgument EOF + // InternalSolverLanguageParser.g:1070:1: ( ruleStarArgument EOF ) + // InternalSolverLanguageParser.g:1071:1: ruleStarArgument EOF { before(grammarAccess.getStarArgumentRule()); pushFollow(FOLLOW_1); @@ -2943,21 +3166,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR start "ruleStarArgument" - // InternalSolverLanguageParser.g:998:1: ruleStarArgument : ( ( rule__StarArgument__Group__0 ) ) ; + // InternalSolverLanguageParser.g:1078:1: ruleStarArgument : ( ( rule__StarArgument__Group__0 ) ) ; public final void ruleStarArgument() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:1002:2: ( ( ( rule__StarArgument__Group__0 ) ) ) - // InternalSolverLanguageParser.g:1003:2: ( ( rule__StarArgument__Group__0 ) ) + // InternalSolverLanguageParser.g:1082:2: ( ( ( rule__StarArgument__Group__0 ) ) ) + // InternalSolverLanguageParser.g:1083:2: ( ( rule__StarArgument__Group__0 ) ) { - // InternalSolverLanguageParser.g:1003:2: ( ( rule__StarArgument__Group__0 ) ) - // InternalSolverLanguageParser.g:1004:3: ( rule__StarArgument__Group__0 ) + // InternalSolverLanguageParser.g:1083:2: ( ( rule__StarArgument__Group__0 ) ) + // InternalSolverLanguageParser.g:1084:3: ( rule__StarArgument__Group__0 ) { before(grammarAccess.getStarArgumentAccess().getGroup()); - // InternalSolverLanguageParser.g:1005:3: ( rule__StarArgument__Group__0 ) - // InternalSolverLanguageParser.g:1005:4: rule__StarArgument__Group__0 + // InternalSolverLanguageParser.g:1085:3: ( rule__StarArgument__Group__0 ) + // InternalSolverLanguageParser.g:1085:4: rule__StarArgument__Group__0 { pushFollow(FOLLOW_2); rule__StarArgument__Group__0(); @@ -2989,20 +3212,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR end "ruleStarArgument" - // $ANTLR start "entryRuleTypedArgument" - // InternalSolverLanguageParser.g:1014:1: entryRuleTypedArgument : ruleTypedArgument EOF ; - public final void entryRuleTypedArgument() throws RecognitionException { + // $ANTLR start "entryRuleTypedVariableArgument" + // InternalSolverLanguageParser.g:1094:1: entryRuleTypedVariableArgument : ruleTypedVariableArgument EOF ; + public final void entryRuleTypedVariableArgument() throws RecognitionException { try { - // InternalSolverLanguageParser.g:1015:1: ( ruleTypedArgument EOF ) - // InternalSolverLanguageParser.g:1016:1: ruleTypedArgument EOF + // InternalSolverLanguageParser.g:1095:1: ( ruleTypedVariableArgument EOF ) + // InternalSolverLanguageParser.g:1096:1: ruleTypedVariableArgument EOF { - before(grammarAccess.getTypedArgumentRule()); + before(grammarAccess.getTypedVariableArgumentRule()); pushFollow(FOLLOW_1); - ruleTypedArgument(); + ruleTypedVariableArgument(); state._fsp--; - after(grammarAccess.getTypedArgumentRule()); + after(grammarAccess.getTypedVariableArgumentRule()); match(input,EOF,FOLLOW_2); } @@ -3016,35 +3239,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "entryRuleTypedArgument" + // $ANTLR end "entryRuleTypedVariableArgument" - // $ANTLR start "ruleTypedArgument" - // InternalSolverLanguageParser.g:1023:1: ruleTypedArgument : ( ( rule__TypedArgument__Group__0 ) ) ; - public final void ruleTypedArgument() throws RecognitionException { + // $ANTLR start "ruleTypedVariableArgument" + // InternalSolverLanguageParser.g:1103:1: ruleTypedVariableArgument : ( ( rule__TypedVariableArgument__Group__0 ) ) ; + public final void ruleTypedVariableArgument() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:1027:2: ( ( ( rule__TypedArgument__Group__0 ) ) ) - // InternalSolverLanguageParser.g:1028:2: ( ( rule__TypedArgument__Group__0 ) ) + // InternalSolverLanguageParser.g:1107:2: ( ( ( rule__TypedVariableArgument__Group__0 ) ) ) + // InternalSolverLanguageParser.g:1108:2: ( ( rule__TypedVariableArgument__Group__0 ) ) { - // InternalSolverLanguageParser.g:1028:2: ( ( rule__TypedArgument__Group__0 ) ) - // InternalSolverLanguageParser.g:1029:3: ( rule__TypedArgument__Group__0 ) + // InternalSolverLanguageParser.g:1108:2: ( ( rule__TypedVariableArgument__Group__0 ) ) + // InternalSolverLanguageParser.g:1109:3: ( rule__TypedVariableArgument__Group__0 ) { - before(grammarAccess.getTypedArgumentAccess().getGroup()); - // InternalSolverLanguageParser.g:1030:3: ( rule__TypedArgument__Group__0 ) - // InternalSolverLanguageParser.g:1030:4: rule__TypedArgument__Group__0 + before(grammarAccess.getTypedVariableArgumentAccess().getGroup()); + // InternalSolverLanguageParser.g:1110:3: ( rule__TypedVariableArgument__Group__0 ) + // InternalSolverLanguageParser.g:1110:4: rule__TypedVariableArgument__Group__0 { pushFollow(FOLLOW_2); - rule__TypedArgument__Group__0(); + rule__TypedVariableArgument__Group__0(); state._fsp--; } - after(grammarAccess.getTypedArgumentAccess().getGroup()); + after(grammarAccess.getTypedVariableArgumentAccess().getGroup()); } @@ -3063,15 +3286,15 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "ruleTypedArgument" + // $ANTLR end "ruleTypedVariableArgument" // $ANTLR start "entryRuleTypedStarArgument" - // InternalSolverLanguageParser.g:1039:1: entryRuleTypedStarArgument : ruleTypedStarArgument EOF ; + // InternalSolverLanguageParser.g:1119:1: entryRuleTypedStarArgument : ruleTypedStarArgument EOF ; public final void entryRuleTypedStarArgument() throws RecognitionException { try { - // InternalSolverLanguageParser.g:1040:1: ( ruleTypedStarArgument EOF ) - // InternalSolverLanguageParser.g:1041:1: ruleTypedStarArgument EOF + // InternalSolverLanguageParser.g:1120:1: ( ruleTypedStarArgument EOF ) + // InternalSolverLanguageParser.g:1121:1: ruleTypedStarArgument EOF { before(grammarAccess.getTypedStarArgumentRule()); pushFollow(FOLLOW_1); @@ -3097,21 +3320,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR start "ruleTypedStarArgument" - // InternalSolverLanguageParser.g:1048:1: ruleTypedStarArgument : ( ( rule__TypedStarArgument__Group__0 ) ) ; + // InternalSolverLanguageParser.g:1128:1: ruleTypedStarArgument : ( ( rule__TypedStarArgument__Group__0 ) ) ; public final void ruleTypedStarArgument() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:1052:2: ( ( ( rule__TypedStarArgument__Group__0 ) ) ) - // InternalSolverLanguageParser.g:1053:2: ( ( rule__TypedStarArgument__Group__0 ) ) + // InternalSolverLanguageParser.g:1132:2: ( ( ( rule__TypedStarArgument__Group__0 ) ) ) + // InternalSolverLanguageParser.g:1133:2: ( ( rule__TypedStarArgument__Group__0 ) ) { - // InternalSolverLanguageParser.g:1053:2: ( ( rule__TypedStarArgument__Group__0 ) ) - // InternalSolverLanguageParser.g:1054:3: ( rule__TypedStarArgument__Group__0 ) + // InternalSolverLanguageParser.g:1133:2: ( ( rule__TypedStarArgument__Group__0 ) ) + // InternalSolverLanguageParser.g:1134:3: ( rule__TypedStarArgument__Group__0 ) { before(grammarAccess.getTypedStarArgumentAccess().getGroup()); - // InternalSolverLanguageParser.g:1055:3: ( rule__TypedStarArgument__Group__0 ) - // InternalSolverLanguageParser.g:1055:4: rule__TypedStarArgument__Group__0 + // InternalSolverLanguageParser.g:1135:3: ( rule__TypedStarArgument__Group__0 ) + // InternalSolverLanguageParser.g:1135:4: rule__TypedStarArgument__Group__0 { pushFollow(FOLLOW_2); rule__TypedStarArgument__Group__0(); @@ -3144,11 +3367,11 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR start "entryRuleReference" - // InternalSolverLanguageParser.g:1064:1: entryRuleReference : ruleReference EOF ; + // InternalSolverLanguageParser.g:1144:1: entryRuleReference : ruleReference EOF ; public final void entryRuleReference() throws RecognitionException { try { - // InternalSolverLanguageParser.g:1065:1: ( ruleReference EOF ) - // InternalSolverLanguageParser.g:1066:1: ruleReference EOF + // InternalSolverLanguageParser.g:1145:1: ( ruleReference EOF ) + // InternalSolverLanguageParser.g:1146:1: ruleReference EOF { before(grammarAccess.getReferenceRule()); pushFollow(FOLLOW_1); @@ -3174,31 +3397,31 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR start "ruleReference" - // InternalSolverLanguageParser.g:1073:1: ruleReference : ( ( rule__Reference__ReferredAssignment ) ) ; + // InternalSolverLanguageParser.g:1153:1: ruleReference : ( ( rule__Reference__Group__0 ) ) ; public final void ruleReference() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:1077:2: ( ( ( rule__Reference__ReferredAssignment ) ) ) - // InternalSolverLanguageParser.g:1078:2: ( ( rule__Reference__ReferredAssignment ) ) + // InternalSolverLanguageParser.g:1157:2: ( ( ( rule__Reference__Group__0 ) ) ) + // InternalSolverLanguageParser.g:1158:2: ( ( rule__Reference__Group__0 ) ) { - // InternalSolverLanguageParser.g:1078:2: ( ( rule__Reference__ReferredAssignment ) ) - // InternalSolverLanguageParser.g:1079:3: ( rule__Reference__ReferredAssignment ) + // InternalSolverLanguageParser.g:1158:2: ( ( rule__Reference__Group__0 ) ) + // InternalSolverLanguageParser.g:1159:3: ( rule__Reference__Group__0 ) { - before(grammarAccess.getReferenceAccess().getReferredAssignment()); - // InternalSolverLanguageParser.g:1080:3: ( rule__Reference__ReferredAssignment ) - // InternalSolverLanguageParser.g:1080:4: rule__Reference__ReferredAssignment + before(grammarAccess.getReferenceAccess().getGroup()); + // InternalSolverLanguageParser.g:1160:3: ( rule__Reference__Group__0 ) + // InternalSolverLanguageParser.g:1160:4: rule__Reference__Group__0 { pushFollow(FOLLOW_2); - rule__Reference__ReferredAssignment(); + rule__Reference__Group__0(); state._fsp--; } - after(grammarAccess.getReferenceAccess().getReferredAssignment()); + after(grammarAccess.getReferenceAccess().getGroup()); } @@ -3220,20 +3443,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR end "ruleReference" - // $ANTLR start "entryRuleInterval" - // InternalSolverLanguageParser.g:1089:1: entryRuleInterval : ruleInterval EOF ; - public final void entryRuleInterval() throws RecognitionException { + // $ANTLR start "entryRulePathComponent" + // InternalSolverLanguageParser.g:1169:1: entryRulePathComponent : rulePathComponent EOF ; + public final void entryRulePathComponent() throws RecognitionException { try { - // InternalSolverLanguageParser.g:1090:1: ( ruleInterval EOF ) - // InternalSolverLanguageParser.g:1091:1: ruleInterval EOF + // InternalSolverLanguageParser.g:1170:1: ( rulePathComponent EOF ) + // InternalSolverLanguageParser.g:1171:1: rulePathComponent EOF { - before(grammarAccess.getIntervalRule()); + before(grammarAccess.getPathComponentRule()); pushFollow(FOLLOW_1); - ruleInterval(); + rulePathComponent(); state._fsp--; - after(grammarAccess.getIntervalRule()); + after(grammarAccess.getPathComponentRule()); match(input,EOF,FOLLOW_2); } @@ -3247,35 +3470,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "entryRuleInterval" + // $ANTLR end "entryRulePathComponent" - // $ANTLR start "ruleInterval" - // InternalSolverLanguageParser.g:1098:1: ruleInterval : ( ( rule__Interval__Group__0 ) ) ; - public final void ruleInterval() throws RecognitionException { + // $ANTLR start "rulePathComponent" + // InternalSolverLanguageParser.g:1178:1: rulePathComponent : ( ( rule__PathComponent__Group__0 ) ) ; + public final void rulePathComponent() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:1102:2: ( ( ( rule__Interval__Group__0 ) ) ) - // InternalSolverLanguageParser.g:1103:2: ( ( rule__Interval__Group__0 ) ) + // InternalSolverLanguageParser.g:1182:2: ( ( ( rule__PathComponent__Group__0 ) ) ) + // InternalSolverLanguageParser.g:1183:2: ( ( rule__PathComponent__Group__0 ) ) { - // InternalSolverLanguageParser.g:1103:2: ( ( rule__Interval__Group__0 ) ) - // InternalSolverLanguageParser.g:1104:3: ( rule__Interval__Group__0 ) + // InternalSolverLanguageParser.g:1183:2: ( ( rule__PathComponent__Group__0 ) ) + // InternalSolverLanguageParser.g:1184:3: ( rule__PathComponent__Group__0 ) { - before(grammarAccess.getIntervalAccess().getGroup()); - // InternalSolverLanguageParser.g:1105:3: ( rule__Interval__Group__0 ) - // InternalSolverLanguageParser.g:1105:4: rule__Interval__Group__0 + before(grammarAccess.getPathComponentAccess().getGroup()); + // InternalSolverLanguageParser.g:1185:3: ( rule__PathComponent__Group__0 ) + // InternalSolverLanguageParser.g:1185:4: rule__PathComponent__Group__0 { pushFollow(FOLLOW_2); - rule__Interval__Group__0(); + rule__PathComponent__Group__0(); state._fsp--; } - after(grammarAccess.getIntervalAccess().getGroup()); + after(grammarAccess.getPathComponentAccess().getGroup()); } @@ -3294,17 +3517,94 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "ruleInterval" + // $ANTLR end "rulePathComponent" - // $ANTLR start "entryRuleLiteral" - // InternalSolverLanguageParser.g:1114:1: entryRuleLiteral : ruleLiteral EOF ; - public final void entryRuleLiteral() throws RecognitionException { + // $ANTLR start "entryRuleInterval" + // InternalSolverLanguageParser.g:1194:1: entryRuleInterval : ruleInterval EOF ; + public final void entryRuleInterval() throws RecognitionException { try { - // InternalSolverLanguageParser.g:1115:1: ( ruleLiteral EOF ) - // InternalSolverLanguageParser.g:1116:1: ruleLiteral EOF + // InternalSolverLanguageParser.g:1195:1: ( ruleInterval EOF ) + // InternalSolverLanguageParser.g:1196:1: ruleInterval EOF { - before(grammarAccess.getLiteralRule()); + before(grammarAccess.getIntervalRule()); + pushFollow(FOLLOW_1); + ruleInterval(); + + state._fsp--; + + after(grammarAccess.getIntervalRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleInterval" + + + // $ANTLR start "ruleInterval" + // InternalSolverLanguageParser.g:1203:1: ruleInterval : ( ( rule__Interval__Group__0 ) ) ; + public final void ruleInterval() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:1207:2: ( ( ( rule__Interval__Group__0 ) ) ) + // InternalSolverLanguageParser.g:1208:2: ( ( rule__Interval__Group__0 ) ) + { + // InternalSolverLanguageParser.g:1208:2: ( ( rule__Interval__Group__0 ) ) + // InternalSolverLanguageParser.g:1209:3: ( rule__Interval__Group__0 ) + { + before(grammarAccess.getIntervalAccess().getGroup()); + // InternalSolverLanguageParser.g:1210:3: ( rule__Interval__Group__0 ) + // InternalSolverLanguageParser.g:1210:4: rule__Interval__Group__0 + { + pushFollow(FOLLOW_2); + rule__Interval__Group__0(); + + state._fsp--; + + + } + + after(grammarAccess.getIntervalAccess().getGroup()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleInterval" + + + // $ANTLR start "entryRuleLiteral" + // InternalSolverLanguageParser.g:1219:1: entryRuleLiteral : ruleLiteral EOF ; + public final void entryRuleLiteral() throws RecognitionException { + try { + // InternalSolverLanguageParser.g:1220:1: ( ruleLiteral EOF ) + // InternalSolverLanguageParser.g:1221:1: ruleLiteral EOF + { + before(grammarAccess.getLiteralRule()); pushFollow(FOLLOW_1); ruleLiteral(); @@ -3328,21 +3628,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR start "ruleLiteral" - // InternalSolverLanguageParser.g:1123:1: ruleLiteral : ( ( rule__Literal__Alternatives ) ) ; + // InternalSolverLanguageParser.g:1228:1: ruleLiteral : ( ( rule__Literal__Alternatives ) ) ; public final void ruleLiteral() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:1127:2: ( ( ( rule__Literal__Alternatives ) ) ) - // InternalSolverLanguageParser.g:1128:2: ( ( rule__Literal__Alternatives ) ) + // InternalSolverLanguageParser.g:1232:2: ( ( ( rule__Literal__Alternatives ) ) ) + // InternalSolverLanguageParser.g:1233:2: ( ( rule__Literal__Alternatives ) ) { - // InternalSolverLanguageParser.g:1128:2: ( ( rule__Literal__Alternatives ) ) - // InternalSolverLanguageParser.g:1129:3: ( rule__Literal__Alternatives ) + // InternalSolverLanguageParser.g:1233:2: ( ( rule__Literal__Alternatives ) ) + // InternalSolverLanguageParser.g:1234:3: ( rule__Literal__Alternatives ) { before(grammarAccess.getLiteralAccess().getAlternatives()); - // InternalSolverLanguageParser.g:1130:3: ( rule__Literal__Alternatives ) - // InternalSolverLanguageParser.g:1130:4: rule__Literal__Alternatives + // InternalSolverLanguageParser.g:1235:3: ( rule__Literal__Alternatives ) + // InternalSolverLanguageParser.g:1235:4: rule__Literal__Alternatives { pushFollow(FOLLOW_2); rule__Literal__Alternatives(); @@ -3375,11 +3675,11 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR start "entryRuleLogicLiteral" - // InternalSolverLanguageParser.g:1139:1: entryRuleLogicLiteral : ruleLogicLiteral EOF ; + // InternalSolverLanguageParser.g:1244:1: entryRuleLogicLiteral : ruleLogicLiteral EOF ; public final void entryRuleLogicLiteral() throws RecognitionException { try { - // InternalSolverLanguageParser.g:1140:1: ( ruleLogicLiteral EOF ) - // InternalSolverLanguageParser.g:1141:1: ruleLogicLiteral EOF + // InternalSolverLanguageParser.g:1245:1: ( ruleLogicLiteral EOF ) + // InternalSolverLanguageParser.g:1246:1: ruleLogicLiteral EOF { before(grammarAccess.getLogicLiteralRule()); pushFollow(FOLLOW_1); @@ -3405,21 +3705,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR start "ruleLogicLiteral" - // InternalSolverLanguageParser.g:1148:1: ruleLogicLiteral : ( ( rule__LogicLiteral__ValueAssignment ) ) ; + // InternalSolverLanguageParser.g:1253:1: ruleLogicLiteral : ( ( rule__LogicLiteral__ValueAssignment ) ) ; public final void ruleLogicLiteral() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:1152:2: ( ( ( rule__LogicLiteral__ValueAssignment ) ) ) - // InternalSolverLanguageParser.g:1153:2: ( ( rule__LogicLiteral__ValueAssignment ) ) + // InternalSolverLanguageParser.g:1257:2: ( ( ( rule__LogicLiteral__ValueAssignment ) ) ) + // InternalSolverLanguageParser.g:1258:2: ( ( rule__LogicLiteral__ValueAssignment ) ) { - // InternalSolverLanguageParser.g:1153:2: ( ( rule__LogicLiteral__ValueAssignment ) ) - // InternalSolverLanguageParser.g:1154:3: ( rule__LogicLiteral__ValueAssignment ) + // InternalSolverLanguageParser.g:1258:2: ( ( rule__LogicLiteral__ValueAssignment ) ) + // InternalSolverLanguageParser.g:1259:3: ( rule__LogicLiteral__ValueAssignment ) { before(grammarAccess.getLogicLiteralAccess().getValueAssignment()); - // InternalSolverLanguageParser.g:1155:3: ( rule__LogicLiteral__ValueAssignment ) - // InternalSolverLanguageParser.g:1155:4: rule__LogicLiteral__ValueAssignment + // InternalSolverLanguageParser.g:1260:3: ( rule__LogicLiteral__ValueAssignment ) + // InternalSolverLanguageParser.g:1260:4: rule__LogicLiteral__ValueAssignment { pushFollow(FOLLOW_2); rule__LogicLiteral__ValueAssignment(); @@ -3451,20 +3751,97 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR end "ruleLogicLiteral" - // $ANTLR start "entryRuleNumericLiteral" - // InternalSolverLanguageParser.g:1164:1: entryRuleNumericLiteral : ruleNumericLiteral EOF ; - public final void entryRuleNumericLiteral() throws RecognitionException { + // $ANTLR start "entryRuleIntLiteral" + // InternalSolverLanguageParser.g:1269:1: entryRuleIntLiteral : ruleIntLiteral EOF ; + public final void entryRuleIntLiteral() throws RecognitionException { + try { + // InternalSolverLanguageParser.g:1270:1: ( ruleIntLiteral EOF ) + // InternalSolverLanguageParser.g:1271:1: ruleIntLiteral EOF + { + before(grammarAccess.getIntLiteralRule()); + pushFollow(FOLLOW_1); + ruleIntLiteral(); + + state._fsp--; + + after(grammarAccess.getIntLiteralRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleIntLiteral" + + + // $ANTLR start "ruleIntLiteral" + // InternalSolverLanguageParser.g:1278:1: ruleIntLiteral : ( ( rule__IntLiteral__ValueAssignment ) ) ; + public final void ruleIntLiteral() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:1282:2: ( ( ( rule__IntLiteral__ValueAssignment ) ) ) + // InternalSolverLanguageParser.g:1283:2: ( ( rule__IntLiteral__ValueAssignment ) ) + { + // InternalSolverLanguageParser.g:1283:2: ( ( rule__IntLiteral__ValueAssignment ) ) + // InternalSolverLanguageParser.g:1284:3: ( rule__IntLiteral__ValueAssignment ) + { + before(grammarAccess.getIntLiteralAccess().getValueAssignment()); + // InternalSolverLanguageParser.g:1285:3: ( rule__IntLiteral__ValueAssignment ) + // InternalSolverLanguageParser.g:1285:4: rule__IntLiteral__ValueAssignment + { + pushFollow(FOLLOW_2); + rule__IntLiteral__ValueAssignment(); + + state._fsp--; + + + } + + after(grammarAccess.getIntLiteralAccess().getValueAssignment()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleIntLiteral" + + + // $ANTLR start "entryRuleRealLiteral" + // InternalSolverLanguageParser.g:1294:1: entryRuleRealLiteral : ruleRealLiteral EOF ; + public final void entryRuleRealLiteral() throws RecognitionException { try { - // InternalSolverLanguageParser.g:1165:1: ( ruleNumericLiteral EOF ) - // InternalSolverLanguageParser.g:1166:1: ruleNumericLiteral EOF + // InternalSolverLanguageParser.g:1295:1: ( ruleRealLiteral EOF ) + // InternalSolverLanguageParser.g:1296:1: ruleRealLiteral EOF { - before(grammarAccess.getNumericLiteralRule()); + before(grammarAccess.getRealLiteralRule()); pushFollow(FOLLOW_1); - ruleNumericLiteral(); + ruleRealLiteral(); state._fsp--; - after(grammarAccess.getNumericLiteralRule()); + after(grammarAccess.getRealLiteralRule()); match(input,EOF,FOLLOW_2); } @@ -3478,35 +3855,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "entryRuleNumericLiteral" + // $ANTLR end "entryRuleRealLiteral" - // $ANTLR start "ruleNumericLiteral" - // InternalSolverLanguageParser.g:1173:1: ruleNumericLiteral : ( ( rule__NumericLiteral__ValueAssignment ) ) ; - public final void ruleNumericLiteral() throws RecognitionException { + // $ANTLR start "ruleRealLiteral" + // InternalSolverLanguageParser.g:1303:1: ruleRealLiteral : ( ( rule__RealLiteral__ValueAssignment ) ) ; + public final void ruleRealLiteral() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:1177:2: ( ( ( rule__NumericLiteral__ValueAssignment ) ) ) - // InternalSolverLanguageParser.g:1178:2: ( ( rule__NumericLiteral__ValueAssignment ) ) + // InternalSolverLanguageParser.g:1307:2: ( ( ( rule__RealLiteral__ValueAssignment ) ) ) + // InternalSolverLanguageParser.g:1308:2: ( ( rule__RealLiteral__ValueAssignment ) ) { - // InternalSolverLanguageParser.g:1178:2: ( ( rule__NumericLiteral__ValueAssignment ) ) - // InternalSolverLanguageParser.g:1179:3: ( rule__NumericLiteral__ValueAssignment ) + // InternalSolverLanguageParser.g:1308:2: ( ( rule__RealLiteral__ValueAssignment ) ) + // InternalSolverLanguageParser.g:1309:3: ( rule__RealLiteral__ValueAssignment ) { - before(grammarAccess.getNumericLiteralAccess().getValueAssignment()); - // InternalSolverLanguageParser.g:1180:3: ( rule__NumericLiteral__ValueAssignment ) - // InternalSolverLanguageParser.g:1180:4: rule__NumericLiteral__ValueAssignment + before(grammarAccess.getRealLiteralAccess().getValueAssignment()); + // InternalSolverLanguageParser.g:1310:3: ( rule__RealLiteral__ValueAssignment ) + // InternalSolverLanguageParser.g:1310:4: rule__RealLiteral__ValueAssignment { pushFollow(FOLLOW_2); - rule__NumericLiteral__ValueAssignment(); + rule__RealLiteral__ValueAssignment(); state._fsp--; } - after(grammarAccess.getNumericLiteralAccess().getValueAssignment()); + after(grammarAccess.getRealLiteralAccess().getValueAssignment()); } @@ -3525,15 +3902,15 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "ruleNumericLiteral" + // $ANTLR end "ruleRealLiteral" // $ANTLR start "entryRuleInfinityLiteral" - // InternalSolverLanguageParser.g:1189:1: entryRuleInfinityLiteral : ruleInfinityLiteral EOF ; + // InternalSolverLanguageParser.g:1319:1: entryRuleInfinityLiteral : ruleInfinityLiteral EOF ; public final void entryRuleInfinityLiteral() throws RecognitionException { try { - // InternalSolverLanguageParser.g:1190:1: ( ruleInfinityLiteral EOF ) - // InternalSolverLanguageParser.g:1191:1: ruleInfinityLiteral EOF + // InternalSolverLanguageParser.g:1320:1: ( ruleInfinityLiteral EOF ) + // InternalSolverLanguageParser.g:1321:1: ruleInfinityLiteral EOF { before(grammarAccess.getInfinityLiteralRule()); pushFollow(FOLLOW_1); @@ -3559,21 +3936,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR start "ruleInfinityLiteral" - // InternalSolverLanguageParser.g:1198:1: ruleInfinityLiteral : ( ( rule__InfinityLiteral__Group__0 ) ) ; + // InternalSolverLanguageParser.g:1328:1: ruleInfinityLiteral : ( ( rule__InfinityLiteral__Group__0 ) ) ; public final void ruleInfinityLiteral() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:1202:2: ( ( ( rule__InfinityLiteral__Group__0 ) ) ) - // InternalSolverLanguageParser.g:1203:2: ( ( rule__InfinityLiteral__Group__0 ) ) + // InternalSolverLanguageParser.g:1332:2: ( ( ( rule__InfinityLiteral__Group__0 ) ) ) + // InternalSolverLanguageParser.g:1333:2: ( ( rule__InfinityLiteral__Group__0 ) ) { - // InternalSolverLanguageParser.g:1203:2: ( ( rule__InfinityLiteral__Group__0 ) ) - // InternalSolverLanguageParser.g:1204:3: ( rule__InfinityLiteral__Group__0 ) + // InternalSolverLanguageParser.g:1333:2: ( ( rule__InfinityLiteral__Group__0 ) ) + // InternalSolverLanguageParser.g:1334:3: ( rule__InfinityLiteral__Group__0 ) { before(grammarAccess.getInfinityLiteralAccess().getGroup()); - // InternalSolverLanguageParser.g:1205:3: ( rule__InfinityLiteral__Group__0 ) - // InternalSolverLanguageParser.g:1205:4: rule__InfinityLiteral__Group__0 + // InternalSolverLanguageParser.g:1335:3: ( rule__InfinityLiteral__Group__0 ) + // InternalSolverLanguageParser.g:1335:4: rule__InfinityLiteral__Group__0 { pushFollow(FOLLOW_2); rule__InfinityLiteral__Group__0(); @@ -3605,20 +3982,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR end "ruleInfinityLiteral" - // $ANTLR start "entryRuleEmptyIntervalLiteral" - // InternalSolverLanguageParser.g:1214:1: entryRuleEmptyIntervalLiteral : ruleEmptyIntervalLiteral EOF ; - public final void entryRuleEmptyIntervalLiteral() throws RecognitionException { + // $ANTLR start "entryRuleEmptyLiteral" + // InternalSolverLanguageParser.g:1344:1: entryRuleEmptyLiteral : ruleEmptyLiteral EOF ; + public final void entryRuleEmptyLiteral() throws RecognitionException { try { - // InternalSolverLanguageParser.g:1215:1: ( ruleEmptyIntervalLiteral EOF ) - // InternalSolverLanguageParser.g:1216:1: ruleEmptyIntervalLiteral EOF + // InternalSolverLanguageParser.g:1345:1: ( ruleEmptyLiteral EOF ) + // InternalSolverLanguageParser.g:1346:1: ruleEmptyLiteral EOF { - before(grammarAccess.getEmptyIntervalLiteralRule()); + before(grammarAccess.getEmptyLiteralRule()); pushFollow(FOLLOW_1); - ruleEmptyIntervalLiteral(); + ruleEmptyLiteral(); state._fsp--; - after(grammarAccess.getEmptyIntervalLiteralRule()); + after(grammarAccess.getEmptyLiteralRule()); match(input,EOF,FOLLOW_2); } @@ -3632,35 +4009,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "entryRuleEmptyIntervalLiteral" + // $ANTLR end "entryRuleEmptyLiteral" - // $ANTLR start "ruleEmptyIntervalLiteral" - // InternalSolverLanguageParser.g:1223:1: ruleEmptyIntervalLiteral : ( ( rule__EmptyIntervalLiteral__Group__0 ) ) ; - public final void ruleEmptyIntervalLiteral() throws RecognitionException { + // $ANTLR start "ruleEmptyLiteral" + // InternalSolverLanguageParser.g:1353:1: ruleEmptyLiteral : ( ( rule__EmptyLiteral__Group__0 ) ) ; + public final void ruleEmptyLiteral() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:1227:2: ( ( ( rule__EmptyIntervalLiteral__Group__0 ) ) ) - // InternalSolverLanguageParser.g:1228:2: ( ( rule__EmptyIntervalLiteral__Group__0 ) ) + // InternalSolverLanguageParser.g:1357:2: ( ( ( rule__EmptyLiteral__Group__0 ) ) ) + // InternalSolverLanguageParser.g:1358:2: ( ( rule__EmptyLiteral__Group__0 ) ) { - // InternalSolverLanguageParser.g:1228:2: ( ( rule__EmptyIntervalLiteral__Group__0 ) ) - // InternalSolverLanguageParser.g:1229:3: ( rule__EmptyIntervalLiteral__Group__0 ) + // InternalSolverLanguageParser.g:1358:2: ( ( rule__EmptyLiteral__Group__0 ) ) + // InternalSolverLanguageParser.g:1359:3: ( rule__EmptyLiteral__Group__0 ) { - before(grammarAccess.getEmptyIntervalLiteralAccess().getGroup()); - // InternalSolverLanguageParser.g:1230:3: ( rule__EmptyIntervalLiteral__Group__0 ) - // InternalSolverLanguageParser.g:1230:4: rule__EmptyIntervalLiteral__Group__0 + before(grammarAccess.getEmptyLiteralAccess().getGroup()); + // InternalSolverLanguageParser.g:1360:3: ( rule__EmptyLiteral__Group__0 ) + // InternalSolverLanguageParser.g:1360:4: rule__EmptyLiteral__Group__0 { pushFollow(FOLLOW_2); - rule__EmptyIntervalLiteral__Group__0(); + rule__EmptyLiteral__Group__0(); state._fsp--; } - after(grammarAccess.getEmptyIntervalLiteralAccess().getGroup()); + after(grammarAccess.getEmptyLiteralAccess().getGroup()); } @@ -3679,15 +4056,15 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "ruleEmptyIntervalLiteral" + // $ANTLR end "ruleEmptyLiteral" // $ANTLR start "entryRuleStringLiteral" - // InternalSolverLanguageParser.g:1239:1: entryRuleStringLiteral : ruleStringLiteral EOF ; + // InternalSolverLanguageParser.g:1369:1: entryRuleStringLiteral : ruleStringLiteral EOF ; public final void entryRuleStringLiteral() throws RecognitionException { try { - // InternalSolverLanguageParser.g:1240:1: ( ruleStringLiteral EOF ) - // InternalSolverLanguageParser.g:1241:1: ruleStringLiteral EOF + // InternalSolverLanguageParser.g:1370:1: ( ruleStringLiteral EOF ) + // InternalSolverLanguageParser.g:1371:1: ruleStringLiteral EOF { before(grammarAccess.getStringLiteralRule()); pushFollow(FOLLOW_1); @@ -3713,21 +4090,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR start "ruleStringLiteral" - // InternalSolverLanguageParser.g:1248:1: ruleStringLiteral : ( ( rule__StringLiteral__ValueAssignment ) ) ; + // InternalSolverLanguageParser.g:1378:1: ruleStringLiteral : ( ( rule__StringLiteral__ValueAssignment ) ) ; public final void ruleStringLiteral() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:1252:2: ( ( ( rule__StringLiteral__ValueAssignment ) ) ) - // InternalSolverLanguageParser.g:1253:2: ( ( rule__StringLiteral__ValueAssignment ) ) + // InternalSolverLanguageParser.g:1382:2: ( ( ( rule__StringLiteral__ValueAssignment ) ) ) + // InternalSolverLanguageParser.g:1383:2: ( ( rule__StringLiteral__ValueAssignment ) ) { - // InternalSolverLanguageParser.g:1253:2: ( ( rule__StringLiteral__ValueAssignment ) ) - // InternalSolverLanguageParser.g:1254:3: ( rule__StringLiteral__ValueAssignment ) + // InternalSolverLanguageParser.g:1383:2: ( ( rule__StringLiteral__ValueAssignment ) ) + // InternalSolverLanguageParser.g:1384:3: ( rule__StringLiteral__ValueAssignment ) { before(grammarAccess.getStringLiteralAccess().getValueAssignment()); - // InternalSolverLanguageParser.g:1255:3: ( rule__StringLiteral__ValueAssignment ) - // InternalSolverLanguageParser.g:1255:4: rule__StringLiteral__ValueAssignment + // InternalSolverLanguageParser.g:1385:3: ( rule__StringLiteral__ValueAssignment ) + // InternalSolverLanguageParser.g:1385:4: rule__StringLiteral__ValueAssignment { pushFollow(FOLLOW_2); rule__StringLiteral__ValueAssignment(); @@ -3759,20 +4136,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR end "ruleStringLiteral" - // $ANTLR start "entryRuleClassDefinition" - // InternalSolverLanguageParser.g:1264:1: entryRuleClassDefinition : ruleClassDefinition EOF ; - public final void entryRuleClassDefinition() throws RecognitionException { + // $ANTLR start "entryRuleClassDeclaration" + // InternalSolverLanguageParser.g:1394:1: entryRuleClassDeclaration : ruleClassDeclaration EOF ; + public final void entryRuleClassDeclaration() throws RecognitionException { try { - // InternalSolverLanguageParser.g:1265:1: ( ruleClassDefinition EOF ) - // InternalSolverLanguageParser.g:1266:1: ruleClassDefinition EOF + // InternalSolverLanguageParser.g:1395:1: ( ruleClassDeclaration EOF ) + // InternalSolverLanguageParser.g:1396:1: ruleClassDeclaration EOF { - before(grammarAccess.getClassDefinitionRule()); + before(grammarAccess.getClassDeclarationRule()); pushFollow(FOLLOW_1); - ruleClassDefinition(); + ruleClassDeclaration(); state._fsp--; - after(grammarAccess.getClassDefinitionRule()); + after(grammarAccess.getClassDeclarationRule()); match(input,EOF,FOLLOW_2); } @@ -3786,35 +4163,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "entryRuleClassDefinition" + // $ANTLR end "entryRuleClassDeclaration" - // $ANTLR start "ruleClassDefinition" - // InternalSolverLanguageParser.g:1273:1: ruleClassDefinition : ( ( rule__ClassDefinition__Group__0 ) ) ; - public final void ruleClassDefinition() throws RecognitionException { + // $ANTLR start "ruleClassDeclaration" + // InternalSolverLanguageParser.g:1403:1: ruleClassDeclaration : ( ( rule__ClassDeclaration__Group__0 ) ) ; + public final void ruleClassDeclaration() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:1277:2: ( ( ( rule__ClassDefinition__Group__0 ) ) ) - // InternalSolverLanguageParser.g:1278:2: ( ( rule__ClassDefinition__Group__0 ) ) + // InternalSolverLanguageParser.g:1407:2: ( ( ( rule__ClassDeclaration__Group__0 ) ) ) + // InternalSolverLanguageParser.g:1408:2: ( ( rule__ClassDeclaration__Group__0 ) ) { - // InternalSolverLanguageParser.g:1278:2: ( ( rule__ClassDefinition__Group__0 ) ) - // InternalSolverLanguageParser.g:1279:3: ( rule__ClassDefinition__Group__0 ) + // InternalSolverLanguageParser.g:1408:2: ( ( rule__ClassDeclaration__Group__0 ) ) + // InternalSolverLanguageParser.g:1409:3: ( rule__ClassDeclaration__Group__0 ) { - before(grammarAccess.getClassDefinitionAccess().getGroup()); - // InternalSolverLanguageParser.g:1280:3: ( rule__ClassDefinition__Group__0 ) - // InternalSolverLanguageParser.g:1280:4: rule__ClassDefinition__Group__0 + before(grammarAccess.getClassDeclarationAccess().getGroup()); + // InternalSolverLanguageParser.g:1410:3: ( rule__ClassDeclaration__Group__0 ) + // InternalSolverLanguageParser.g:1410:4: rule__ClassDeclaration__Group__0 { pushFollow(FOLLOW_2); - rule__ClassDefinition__Group__0(); + rule__ClassDeclaration__Group__0(); state._fsp--; } - after(grammarAccess.getClassDefinitionAccess().getGroup()); + after(grammarAccess.getClassDeclarationAccess().getGroup()); } @@ -3833,23 +4210,23 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "ruleClassDefinition" + // $ANTLR end "ruleClassDeclaration" - // $ANTLR start "entryRuleMemberDefinition" - // InternalSolverLanguageParser.g:1289:1: entryRuleMemberDefinition : ruleMemberDefinition EOF ; - public final void entryRuleMemberDefinition() throws RecognitionException { + // $ANTLR start "entryRuleField" + // InternalSolverLanguageParser.g:1419:1: entryRuleField : ruleField EOF ; + public final void entryRuleField() throws RecognitionException { try { - // InternalSolverLanguageParser.g:1290:1: ( ruleMemberDefinition EOF ) - // InternalSolverLanguageParser.g:1291:1: ruleMemberDefinition EOF + // InternalSolverLanguageParser.g:1420:1: ( ruleField EOF ) + // InternalSolverLanguageParser.g:1421:1: ruleField EOF { - before(grammarAccess.getMemberDefinitionRule()); + before(grammarAccess.getFieldRule()); pushFollow(FOLLOW_1); - ruleMemberDefinition(); + ruleField(); state._fsp--; - after(grammarAccess.getMemberDefinitionRule()); + after(grammarAccess.getFieldRule()); match(input,EOF,FOLLOW_2); } @@ -3863,35 +4240,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "entryRuleMemberDefinition" + // $ANTLR end "entryRuleField" - // $ANTLR start "ruleMemberDefinition" - // InternalSolverLanguageParser.g:1298:1: ruleMemberDefinition : ( ( rule__MemberDefinition__Group__0 ) ) ; - public final void ruleMemberDefinition() throws RecognitionException { + // $ANTLR start "ruleField" + // InternalSolverLanguageParser.g:1428:1: ruleField : ( ( rule__Field__Group__0 ) ) ; + public final void ruleField() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:1302:2: ( ( ( rule__MemberDefinition__Group__0 ) ) ) - // InternalSolverLanguageParser.g:1303:2: ( ( rule__MemberDefinition__Group__0 ) ) + // InternalSolverLanguageParser.g:1432:2: ( ( ( rule__Field__Group__0 ) ) ) + // InternalSolverLanguageParser.g:1433:2: ( ( rule__Field__Group__0 ) ) { - // InternalSolverLanguageParser.g:1303:2: ( ( rule__MemberDefinition__Group__0 ) ) - // InternalSolverLanguageParser.g:1304:3: ( rule__MemberDefinition__Group__0 ) + // InternalSolverLanguageParser.g:1433:2: ( ( rule__Field__Group__0 ) ) + // InternalSolverLanguageParser.g:1434:3: ( rule__Field__Group__0 ) { - before(grammarAccess.getMemberDefinitionAccess().getGroup()); - // InternalSolverLanguageParser.g:1305:3: ( rule__MemberDefinition__Group__0 ) - // InternalSolverLanguageParser.g:1305:4: rule__MemberDefinition__Group__0 + before(grammarAccess.getFieldAccess().getGroup()); + // InternalSolverLanguageParser.g:1435:3: ( rule__Field__Group__0 ) + // InternalSolverLanguageParser.g:1435:4: rule__Field__Group__0 { pushFollow(FOLLOW_2); - rule__MemberDefinition__Group__0(); + rule__Field__Group__0(); state._fsp--; } - after(grammarAccess.getMemberDefinitionAccess().getGroup()); + after(grammarAccess.getFieldAccess().getGroup()); } @@ -3910,15 +4287,15 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "ruleMemberDefinition" + // $ANTLR end "ruleField" // $ANTLR start "entryRuleMultiplicity" - // InternalSolverLanguageParser.g:1314:1: entryRuleMultiplicity : ruleMultiplicity EOF ; + // InternalSolverLanguageParser.g:1444:1: entryRuleMultiplicity : ruleMultiplicity EOF ; public final void entryRuleMultiplicity() throws RecognitionException { try { - // InternalSolverLanguageParser.g:1315:1: ( ruleMultiplicity EOF ) - // InternalSolverLanguageParser.g:1316:1: ruleMultiplicity EOF + // InternalSolverLanguageParser.g:1445:1: ( ruleMultiplicity EOF ) + // InternalSolverLanguageParser.g:1446:1: ruleMultiplicity EOF { before(grammarAccess.getMultiplicityRule()); pushFollow(FOLLOW_1); @@ -3944,21 +4321,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR start "ruleMultiplicity" - // InternalSolverLanguageParser.g:1323:1: ruleMultiplicity : ( ( rule__Multiplicity__Alternatives ) ) ; + // InternalSolverLanguageParser.g:1453:1: ruleMultiplicity : ( ( rule__Multiplicity__Alternatives ) ) ; public final void ruleMultiplicity() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:1327:2: ( ( ( rule__Multiplicity__Alternatives ) ) ) - // InternalSolverLanguageParser.g:1328:2: ( ( rule__Multiplicity__Alternatives ) ) + // InternalSolverLanguageParser.g:1457:2: ( ( ( rule__Multiplicity__Alternatives ) ) ) + // InternalSolverLanguageParser.g:1458:2: ( ( rule__Multiplicity__Alternatives ) ) { - // InternalSolverLanguageParser.g:1328:2: ( ( rule__Multiplicity__Alternatives ) ) - // InternalSolverLanguageParser.g:1329:3: ( rule__Multiplicity__Alternatives ) + // InternalSolverLanguageParser.g:1458:2: ( ( rule__Multiplicity__Alternatives ) ) + // InternalSolverLanguageParser.g:1459:3: ( rule__Multiplicity__Alternatives ) { before(grammarAccess.getMultiplicityAccess().getAlternatives()); - // InternalSolverLanguageParser.g:1330:3: ( rule__Multiplicity__Alternatives ) - // InternalSolverLanguageParser.g:1330:4: rule__Multiplicity__Alternatives + // InternalSolverLanguageParser.g:1460:3: ( rule__Multiplicity__Alternatives ) + // InternalSolverLanguageParser.g:1460:4: rule__Multiplicity__Alternatives { pushFollow(FOLLOW_2); rule__Multiplicity__Alternatives(); @@ -3990,20 +4367,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR end "ruleMultiplicity" - // $ANTLR start "entryRuleManyMultiplicity" - // InternalSolverLanguageParser.g:1339:1: entryRuleManyMultiplicity : ruleManyMultiplicity EOF ; - public final void entryRuleManyMultiplicity() throws RecognitionException { + // $ANTLR start "entryRuleUnboundedMultiplicity" + // InternalSolverLanguageParser.g:1469:1: entryRuleUnboundedMultiplicity : ruleUnboundedMultiplicity EOF ; + public final void entryRuleUnboundedMultiplicity() throws RecognitionException { try { - // InternalSolverLanguageParser.g:1340:1: ( ruleManyMultiplicity EOF ) - // InternalSolverLanguageParser.g:1341:1: ruleManyMultiplicity EOF + // InternalSolverLanguageParser.g:1470:1: ( ruleUnboundedMultiplicity EOF ) + // InternalSolverLanguageParser.g:1471:1: ruleUnboundedMultiplicity EOF { - before(grammarAccess.getManyMultiplicityRule()); + before(grammarAccess.getUnboundedMultiplicityRule()); pushFollow(FOLLOW_1); - ruleManyMultiplicity(); + ruleUnboundedMultiplicity(); state._fsp--; - after(grammarAccess.getManyMultiplicityRule()); + after(grammarAccess.getUnboundedMultiplicityRule()); match(input,EOF,FOLLOW_2); } @@ -4017,35 +4394,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "entryRuleManyMultiplicity" + // $ANTLR end "entryRuleUnboundedMultiplicity" - // $ANTLR start "ruleManyMultiplicity" - // InternalSolverLanguageParser.g:1348:1: ruleManyMultiplicity : ( ( rule__ManyMultiplicity__Group__0 ) ) ; - public final void ruleManyMultiplicity() throws RecognitionException { + // $ANTLR start "ruleUnboundedMultiplicity" + // InternalSolverLanguageParser.g:1478:1: ruleUnboundedMultiplicity : ( ( rule__UnboundedMultiplicity__Group__0 ) ) ; + public final void ruleUnboundedMultiplicity() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:1352:2: ( ( ( rule__ManyMultiplicity__Group__0 ) ) ) - // InternalSolverLanguageParser.g:1353:2: ( ( rule__ManyMultiplicity__Group__0 ) ) + // InternalSolverLanguageParser.g:1482:2: ( ( ( rule__UnboundedMultiplicity__Group__0 ) ) ) + // InternalSolverLanguageParser.g:1483:2: ( ( rule__UnboundedMultiplicity__Group__0 ) ) { - // InternalSolverLanguageParser.g:1353:2: ( ( rule__ManyMultiplicity__Group__0 ) ) - // InternalSolverLanguageParser.g:1354:3: ( rule__ManyMultiplicity__Group__0 ) + // InternalSolverLanguageParser.g:1483:2: ( ( rule__UnboundedMultiplicity__Group__0 ) ) + // InternalSolverLanguageParser.g:1484:3: ( rule__UnboundedMultiplicity__Group__0 ) { - before(grammarAccess.getManyMultiplicityAccess().getGroup()); - // InternalSolverLanguageParser.g:1355:3: ( rule__ManyMultiplicity__Group__0 ) - // InternalSolverLanguageParser.g:1355:4: rule__ManyMultiplicity__Group__0 + before(grammarAccess.getUnboundedMultiplicityAccess().getGroup()); + // InternalSolverLanguageParser.g:1485:3: ( rule__UnboundedMultiplicity__Group__0 ) + // InternalSolverLanguageParser.g:1485:4: rule__UnboundedMultiplicity__Group__0 { pushFollow(FOLLOW_2); - rule__ManyMultiplicity__Group__0(); + rule__UnboundedMultiplicity__Group__0(); state._fsp--; } - after(grammarAccess.getManyMultiplicityAccess().getGroup()); + after(grammarAccess.getUnboundedMultiplicityAccess().getGroup()); } @@ -4064,15 +4441,15 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "ruleManyMultiplicity" + // $ANTLR end "ruleUnboundedMultiplicity" // $ANTLR start "entryRuleExactMultiplicity" - // InternalSolverLanguageParser.g:1364:1: entryRuleExactMultiplicity : ruleExactMultiplicity EOF ; + // InternalSolverLanguageParser.g:1494:1: entryRuleExactMultiplicity : ruleExactMultiplicity EOF ; public final void entryRuleExactMultiplicity() throws RecognitionException { try { - // InternalSolverLanguageParser.g:1365:1: ( ruleExactMultiplicity EOF ) - // InternalSolverLanguageParser.g:1366:1: ruleExactMultiplicity EOF + // InternalSolverLanguageParser.g:1495:1: ( ruleExactMultiplicity EOF ) + // InternalSolverLanguageParser.g:1496:1: ruleExactMultiplicity EOF { before(grammarAccess.getExactMultiplicityRule()); pushFollow(FOLLOW_1); @@ -4098,21 +4475,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR start "ruleExactMultiplicity" - // InternalSolverLanguageParser.g:1373:1: ruleExactMultiplicity : ( ( rule__ExactMultiplicity__Group__0 ) ) ; + // InternalSolverLanguageParser.g:1503:1: ruleExactMultiplicity : ( ( rule__ExactMultiplicity__Group__0 ) ) ; public final void ruleExactMultiplicity() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:1377:2: ( ( ( rule__ExactMultiplicity__Group__0 ) ) ) - // InternalSolverLanguageParser.g:1378:2: ( ( rule__ExactMultiplicity__Group__0 ) ) + // InternalSolverLanguageParser.g:1507:2: ( ( ( rule__ExactMultiplicity__Group__0 ) ) ) + // InternalSolverLanguageParser.g:1508:2: ( ( rule__ExactMultiplicity__Group__0 ) ) { - // InternalSolverLanguageParser.g:1378:2: ( ( rule__ExactMultiplicity__Group__0 ) ) - // InternalSolverLanguageParser.g:1379:3: ( rule__ExactMultiplicity__Group__0 ) + // InternalSolverLanguageParser.g:1508:2: ( ( rule__ExactMultiplicity__Group__0 ) ) + // InternalSolverLanguageParser.g:1509:3: ( rule__ExactMultiplicity__Group__0 ) { before(grammarAccess.getExactMultiplicityAccess().getGroup()); - // InternalSolverLanguageParser.g:1380:3: ( rule__ExactMultiplicity__Group__0 ) - // InternalSolverLanguageParser.g:1380:4: rule__ExactMultiplicity__Group__0 + // InternalSolverLanguageParser.g:1510:3: ( rule__ExactMultiplicity__Group__0 ) + // InternalSolverLanguageParser.g:1510:4: rule__ExactMultiplicity__Group__0 { pushFollow(FOLLOW_2); rule__ExactMultiplicity__Group__0(); @@ -4145,11 +4522,11 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR start "entryRuleBoundedMultiplicity" - // InternalSolverLanguageParser.g:1389:1: entryRuleBoundedMultiplicity : ruleBoundedMultiplicity EOF ; + // InternalSolverLanguageParser.g:1519:1: entryRuleBoundedMultiplicity : ruleBoundedMultiplicity EOF ; public final void entryRuleBoundedMultiplicity() throws RecognitionException { try { - // InternalSolverLanguageParser.g:1390:1: ( ruleBoundedMultiplicity EOF ) - // InternalSolverLanguageParser.g:1391:1: ruleBoundedMultiplicity EOF + // InternalSolverLanguageParser.g:1520:1: ( ruleBoundedMultiplicity EOF ) + // InternalSolverLanguageParser.g:1521:1: ruleBoundedMultiplicity EOF { before(grammarAccess.getBoundedMultiplicityRule()); pushFollow(FOLLOW_1); @@ -4175,21 +4552,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR start "ruleBoundedMultiplicity" - // InternalSolverLanguageParser.g:1398:1: ruleBoundedMultiplicity : ( ( rule__BoundedMultiplicity__Group__0 ) ) ; + // InternalSolverLanguageParser.g:1528:1: ruleBoundedMultiplicity : ( ( rule__BoundedMultiplicity__Group__0 ) ) ; public final void ruleBoundedMultiplicity() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:1402:2: ( ( ( rule__BoundedMultiplicity__Group__0 ) ) ) - // InternalSolverLanguageParser.g:1403:2: ( ( rule__BoundedMultiplicity__Group__0 ) ) + // InternalSolverLanguageParser.g:1532:2: ( ( ( rule__BoundedMultiplicity__Group__0 ) ) ) + // InternalSolverLanguageParser.g:1533:2: ( ( rule__BoundedMultiplicity__Group__0 ) ) { - // InternalSolverLanguageParser.g:1403:2: ( ( rule__BoundedMultiplicity__Group__0 ) ) - // InternalSolverLanguageParser.g:1404:3: ( rule__BoundedMultiplicity__Group__0 ) + // InternalSolverLanguageParser.g:1533:2: ( ( rule__BoundedMultiplicity__Group__0 ) ) + // InternalSolverLanguageParser.g:1534:3: ( rule__BoundedMultiplicity__Group__0 ) { before(grammarAccess.getBoundedMultiplicityAccess().getGroup()); - // InternalSolverLanguageParser.g:1405:3: ( rule__BoundedMultiplicity__Group__0 ) - // InternalSolverLanguageParser.g:1405:4: rule__BoundedMultiplicity__Group__0 + // InternalSolverLanguageParser.g:1535:3: ( rule__BoundedMultiplicity__Group__0 ) + // InternalSolverLanguageParser.g:1535:4: rule__BoundedMultiplicity__Group__0 { pushFollow(FOLLOW_2); rule__BoundedMultiplicity__Group__0(); @@ -4221,20 +4598,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR end "ruleBoundedMultiplicity" - // $ANTLR start "entryRuleScopeDefinition" - // InternalSolverLanguageParser.g:1414:1: entryRuleScopeDefinition : ruleScopeDefinition EOF ; - public final void entryRuleScopeDefinition() throws RecognitionException { + // $ANTLR start "entryRuleEnumDeclaration" + // InternalSolverLanguageParser.g:1544:1: entryRuleEnumDeclaration : ruleEnumDeclaration EOF ; + public final void entryRuleEnumDeclaration() throws RecognitionException { try { - // InternalSolverLanguageParser.g:1415:1: ( ruleScopeDefinition EOF ) - // InternalSolverLanguageParser.g:1416:1: ruleScopeDefinition EOF + // InternalSolverLanguageParser.g:1545:1: ( ruleEnumDeclaration EOF ) + // InternalSolverLanguageParser.g:1546:1: ruleEnumDeclaration EOF { - before(grammarAccess.getScopeDefinitionRule()); + before(grammarAccess.getEnumDeclarationRule()); pushFollow(FOLLOW_1); - ruleScopeDefinition(); + ruleEnumDeclaration(); state._fsp--; - after(grammarAccess.getScopeDefinitionRule()); + after(grammarAccess.getEnumDeclarationRule()); match(input,EOF,FOLLOW_2); } @@ -4248,35 +4625,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "entryRuleScopeDefinition" + // $ANTLR end "entryRuleEnumDeclaration" - // $ANTLR start "ruleScopeDefinition" - // InternalSolverLanguageParser.g:1423:1: ruleScopeDefinition : ( ( rule__ScopeDefinition__Alternatives ) ) ; - public final void ruleScopeDefinition() throws RecognitionException { + // $ANTLR start "ruleEnumDeclaration" + // InternalSolverLanguageParser.g:1553:1: ruleEnumDeclaration : ( ( rule__EnumDeclaration__Group__0 ) ) ; + public final void ruleEnumDeclaration() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:1427:2: ( ( ( rule__ScopeDefinition__Alternatives ) ) ) - // InternalSolverLanguageParser.g:1428:2: ( ( rule__ScopeDefinition__Alternatives ) ) + // InternalSolverLanguageParser.g:1557:2: ( ( ( rule__EnumDeclaration__Group__0 ) ) ) + // InternalSolverLanguageParser.g:1558:2: ( ( rule__EnumDeclaration__Group__0 ) ) { - // InternalSolverLanguageParser.g:1428:2: ( ( rule__ScopeDefinition__Alternatives ) ) - // InternalSolverLanguageParser.g:1429:3: ( rule__ScopeDefinition__Alternatives ) + // InternalSolverLanguageParser.g:1558:2: ( ( rule__EnumDeclaration__Group__0 ) ) + // InternalSolverLanguageParser.g:1559:3: ( rule__EnumDeclaration__Group__0 ) { - before(grammarAccess.getScopeDefinitionAccess().getAlternatives()); - // InternalSolverLanguageParser.g:1430:3: ( rule__ScopeDefinition__Alternatives ) - // InternalSolverLanguageParser.g:1430:4: rule__ScopeDefinition__Alternatives + before(grammarAccess.getEnumDeclarationAccess().getGroup()); + // InternalSolverLanguageParser.g:1560:3: ( rule__EnumDeclaration__Group__0 ) + // InternalSolverLanguageParser.g:1560:4: rule__EnumDeclaration__Group__0 { pushFollow(FOLLOW_2); - rule__ScopeDefinition__Alternatives(); + rule__EnumDeclaration__Group__0(); state._fsp--; } - after(grammarAccess.getScopeDefinitionAccess().getAlternatives()); + after(grammarAccess.getEnumDeclarationAccess().getGroup()); } @@ -4295,23 +4672,23 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "ruleScopeDefinition" + // $ANTLR end "ruleEnumDeclaration" - // $ANTLR start "entryRuleExactScopeDefinition" - // InternalSolverLanguageParser.g:1439:1: entryRuleExactScopeDefinition : ruleExactScopeDefinition EOF ; - public final void entryRuleExactScopeDefinition() throws RecognitionException { + // $ANTLR start "entryRuleEnumLiteral" + // InternalSolverLanguageParser.g:1569:1: entryRuleEnumLiteral : ruleEnumLiteral EOF ; + public final void entryRuleEnumLiteral() throws RecognitionException { try { - // InternalSolverLanguageParser.g:1440:1: ( ruleExactScopeDefinition EOF ) - // InternalSolverLanguageParser.g:1441:1: ruleExactScopeDefinition EOF + // InternalSolverLanguageParser.g:1570:1: ( ruleEnumLiteral EOF ) + // InternalSolverLanguageParser.g:1571:1: ruleEnumLiteral EOF { - before(grammarAccess.getExactScopeDefinitionRule()); + before(grammarAccess.getEnumLiteralRule()); pushFollow(FOLLOW_1); - ruleExactScopeDefinition(); + ruleEnumLiteral(); state._fsp--; - after(grammarAccess.getExactScopeDefinitionRule()); + after(grammarAccess.getEnumLiteralRule()); match(input,EOF,FOLLOW_2); } @@ -4325,35 +4702,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "entryRuleExactScopeDefinition" + // $ANTLR end "entryRuleEnumLiteral" - // $ANTLR start "ruleExactScopeDefinition" - // InternalSolverLanguageParser.g:1448:1: ruleExactScopeDefinition : ( ( rule__ExactScopeDefinition__Group__0 ) ) ; - public final void ruleExactScopeDefinition() throws RecognitionException { + // $ANTLR start "ruleEnumLiteral" + // InternalSolverLanguageParser.g:1578:1: ruleEnumLiteral : ( ( rule__EnumLiteral__NameAssignment ) ) ; + public final void ruleEnumLiteral() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:1452:2: ( ( ( rule__ExactScopeDefinition__Group__0 ) ) ) - // InternalSolverLanguageParser.g:1453:2: ( ( rule__ExactScopeDefinition__Group__0 ) ) + // InternalSolverLanguageParser.g:1582:2: ( ( ( rule__EnumLiteral__NameAssignment ) ) ) + // InternalSolverLanguageParser.g:1583:2: ( ( rule__EnumLiteral__NameAssignment ) ) { - // InternalSolverLanguageParser.g:1453:2: ( ( rule__ExactScopeDefinition__Group__0 ) ) - // InternalSolverLanguageParser.g:1454:3: ( rule__ExactScopeDefinition__Group__0 ) + // InternalSolverLanguageParser.g:1583:2: ( ( rule__EnumLiteral__NameAssignment ) ) + // InternalSolverLanguageParser.g:1584:3: ( rule__EnumLiteral__NameAssignment ) { - before(grammarAccess.getExactScopeDefinitionAccess().getGroup()); - // InternalSolverLanguageParser.g:1455:3: ( rule__ExactScopeDefinition__Group__0 ) - // InternalSolverLanguageParser.g:1455:4: rule__ExactScopeDefinition__Group__0 + before(grammarAccess.getEnumLiteralAccess().getNameAssignment()); + // InternalSolverLanguageParser.g:1585:3: ( rule__EnumLiteral__NameAssignment ) + // InternalSolverLanguageParser.g:1585:4: rule__EnumLiteral__NameAssignment { pushFollow(FOLLOW_2); - rule__ExactScopeDefinition__Group__0(); + rule__EnumLiteral__NameAssignment(); state._fsp--; } - after(grammarAccess.getExactScopeDefinitionAccess().getGroup()); + after(grammarAccess.getEnumLiteralAccess().getNameAssignment()); } @@ -4372,23 +4749,23 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "ruleExactScopeDefinition" + // $ANTLR end "ruleEnumLiteral" - // $ANTLR start "entryRuleBoundedScopeDefinition" - // InternalSolverLanguageParser.g:1464:1: entryRuleBoundedScopeDefinition : ruleBoundedScopeDefinition EOF ; - public final void entryRuleBoundedScopeDefinition() throws RecognitionException { + // $ANTLR start "entryRuleScopeDeclaration" + // InternalSolverLanguageParser.g:1594:1: entryRuleScopeDeclaration : ruleScopeDeclaration EOF ; + public final void entryRuleScopeDeclaration() throws RecognitionException { try { - // InternalSolverLanguageParser.g:1465:1: ( ruleBoundedScopeDefinition EOF ) - // InternalSolverLanguageParser.g:1466:1: ruleBoundedScopeDefinition EOF + // InternalSolverLanguageParser.g:1595:1: ( ruleScopeDeclaration EOF ) + // InternalSolverLanguageParser.g:1596:1: ruleScopeDeclaration EOF { - before(grammarAccess.getBoundedScopeDefinitionRule()); + before(grammarAccess.getScopeDeclarationRule()); pushFollow(FOLLOW_1); - ruleBoundedScopeDefinition(); + ruleScopeDeclaration(); state._fsp--; - after(grammarAccess.getBoundedScopeDefinitionRule()); + after(grammarAccess.getScopeDeclarationRule()); match(input,EOF,FOLLOW_2); } @@ -4402,35 +4779,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "entryRuleBoundedScopeDefinition" + // $ANTLR end "entryRuleScopeDeclaration" - // $ANTLR start "ruleBoundedScopeDefinition" - // InternalSolverLanguageParser.g:1473:1: ruleBoundedScopeDefinition : ( ( rule__BoundedScopeDefinition__Group__0 ) ) ; - public final void ruleBoundedScopeDefinition() throws RecognitionException { + // $ANTLR start "ruleScopeDeclaration" + // InternalSolverLanguageParser.g:1603:1: ruleScopeDeclaration : ( ( rule__ScopeDeclaration__Alternatives ) ) ; + public final void ruleScopeDeclaration() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:1477:2: ( ( ( rule__BoundedScopeDefinition__Group__0 ) ) ) - // InternalSolverLanguageParser.g:1478:2: ( ( rule__BoundedScopeDefinition__Group__0 ) ) + // InternalSolverLanguageParser.g:1607:2: ( ( ( rule__ScopeDeclaration__Alternatives ) ) ) + // InternalSolverLanguageParser.g:1608:2: ( ( rule__ScopeDeclaration__Alternatives ) ) { - // InternalSolverLanguageParser.g:1478:2: ( ( rule__BoundedScopeDefinition__Group__0 ) ) - // InternalSolverLanguageParser.g:1479:3: ( rule__BoundedScopeDefinition__Group__0 ) + // InternalSolverLanguageParser.g:1608:2: ( ( rule__ScopeDeclaration__Alternatives ) ) + // InternalSolverLanguageParser.g:1609:3: ( rule__ScopeDeclaration__Alternatives ) { - before(grammarAccess.getBoundedScopeDefinitionAccess().getGroup()); - // InternalSolverLanguageParser.g:1480:3: ( rule__BoundedScopeDefinition__Group__0 ) - // InternalSolverLanguageParser.g:1480:4: rule__BoundedScopeDefinition__Group__0 + before(grammarAccess.getScopeDeclarationAccess().getAlternatives()); + // InternalSolverLanguageParser.g:1610:3: ( rule__ScopeDeclaration__Alternatives ) + // InternalSolverLanguageParser.g:1610:4: rule__ScopeDeclaration__Alternatives { pushFollow(FOLLOW_2); - rule__BoundedScopeDefinition__Group__0(); + rule__ScopeDeclaration__Alternatives(); state._fsp--; } - after(grammarAccess.getBoundedScopeDefinitionAccess().getGroup()); + after(grammarAccess.getScopeDeclarationAccess().getAlternatives()); } @@ -4449,23 +4826,23 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "ruleBoundedScopeDefinition" + // $ANTLR end "ruleScopeDeclaration" - // $ANTLR start "entryRuleLowerBoundedScopeDefinition" - // InternalSolverLanguageParser.g:1489:1: entryRuleLowerBoundedScopeDefinition : ruleLowerBoundedScopeDefinition EOF ; - public final void entryRuleLowerBoundedScopeDefinition() throws RecognitionException { + // $ANTLR start "entryRuleExactScope" + // InternalSolverLanguageParser.g:1619:1: entryRuleExactScope : ruleExactScope EOF ; + public final void entryRuleExactScope() throws RecognitionException { try { - // InternalSolverLanguageParser.g:1490:1: ( ruleLowerBoundedScopeDefinition EOF ) - // InternalSolverLanguageParser.g:1491:1: ruleLowerBoundedScopeDefinition EOF + // InternalSolverLanguageParser.g:1620:1: ( ruleExactScope EOF ) + // InternalSolverLanguageParser.g:1621:1: ruleExactScope EOF { - before(grammarAccess.getLowerBoundedScopeDefinitionRule()); + before(grammarAccess.getExactScopeRule()); pushFollow(FOLLOW_1); - ruleLowerBoundedScopeDefinition(); + ruleExactScope(); state._fsp--; - after(grammarAccess.getLowerBoundedScopeDefinitionRule()); + after(grammarAccess.getExactScopeRule()); match(input,EOF,FOLLOW_2); } @@ -4479,35 +4856,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "entryRuleLowerBoundedScopeDefinition" + // $ANTLR end "entryRuleExactScope" - // $ANTLR start "ruleLowerBoundedScopeDefinition" - // InternalSolverLanguageParser.g:1498:1: ruleLowerBoundedScopeDefinition : ( ( rule__LowerBoundedScopeDefinition__Group__0 ) ) ; - public final void ruleLowerBoundedScopeDefinition() throws RecognitionException { + // $ANTLR start "ruleExactScope" + // InternalSolverLanguageParser.g:1628:1: ruleExactScope : ( ( rule__ExactScope__Group__0 ) ) ; + public final void ruleExactScope() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:1502:2: ( ( ( rule__LowerBoundedScopeDefinition__Group__0 ) ) ) - // InternalSolverLanguageParser.g:1503:2: ( ( rule__LowerBoundedScopeDefinition__Group__0 ) ) + // InternalSolverLanguageParser.g:1632:2: ( ( ( rule__ExactScope__Group__0 ) ) ) + // InternalSolverLanguageParser.g:1633:2: ( ( rule__ExactScope__Group__0 ) ) { - // InternalSolverLanguageParser.g:1503:2: ( ( rule__LowerBoundedScopeDefinition__Group__0 ) ) - // InternalSolverLanguageParser.g:1504:3: ( rule__LowerBoundedScopeDefinition__Group__0 ) + // InternalSolverLanguageParser.g:1633:2: ( ( rule__ExactScope__Group__0 ) ) + // InternalSolverLanguageParser.g:1634:3: ( rule__ExactScope__Group__0 ) { - before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getGroup()); - // InternalSolverLanguageParser.g:1505:3: ( rule__LowerBoundedScopeDefinition__Group__0 ) - // InternalSolverLanguageParser.g:1505:4: rule__LowerBoundedScopeDefinition__Group__0 + before(grammarAccess.getExactScopeAccess().getGroup()); + // InternalSolverLanguageParser.g:1635:3: ( rule__ExactScope__Group__0 ) + // InternalSolverLanguageParser.g:1635:4: rule__ExactScope__Group__0 { pushFollow(FOLLOW_2); - rule__LowerBoundedScopeDefinition__Group__0(); + rule__ExactScope__Group__0(); state._fsp--; } - after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getGroup()); + after(grammarAccess.getExactScopeAccess().getGroup()); } @@ -4526,23 +4903,23 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "ruleLowerBoundedScopeDefinition" + // $ANTLR end "ruleExactScope" - // $ANTLR start "entryRuleObjectiveDefinition" - // InternalSolverLanguageParser.g:1514:1: entryRuleObjectiveDefinition : ruleObjectiveDefinition EOF ; - public final void entryRuleObjectiveDefinition() throws RecognitionException { + // $ANTLR start "entryRuleBoundedScope" + // InternalSolverLanguageParser.g:1644:1: entryRuleBoundedScope : ruleBoundedScope EOF ; + public final void entryRuleBoundedScope() throws RecognitionException { try { - // InternalSolverLanguageParser.g:1515:1: ( ruleObjectiveDefinition EOF ) - // InternalSolverLanguageParser.g:1516:1: ruleObjectiveDefinition EOF + // InternalSolverLanguageParser.g:1645:1: ( ruleBoundedScope EOF ) + // InternalSolverLanguageParser.g:1646:1: ruleBoundedScope EOF { - before(grammarAccess.getObjectiveDefinitionRule()); + before(grammarAccess.getBoundedScopeRule()); pushFollow(FOLLOW_1); - ruleObjectiveDefinition(); + ruleBoundedScope(); state._fsp--; - after(grammarAccess.getObjectiveDefinitionRule()); + after(grammarAccess.getBoundedScopeRule()); match(input,EOF,FOLLOW_2); } @@ -4556,35 +4933,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "entryRuleObjectiveDefinition" + // $ANTLR end "entryRuleBoundedScope" - // $ANTLR start "ruleObjectiveDefinition" - // InternalSolverLanguageParser.g:1523:1: ruleObjectiveDefinition : ( ( rule__ObjectiveDefinition__Group__0 ) ) ; - public final void ruleObjectiveDefinition() throws RecognitionException { + // $ANTLR start "ruleBoundedScope" + // InternalSolverLanguageParser.g:1653:1: ruleBoundedScope : ( ( rule__BoundedScope__Group__0 ) ) ; + public final void ruleBoundedScope() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:1527:2: ( ( ( rule__ObjectiveDefinition__Group__0 ) ) ) - // InternalSolverLanguageParser.g:1528:2: ( ( rule__ObjectiveDefinition__Group__0 ) ) + // InternalSolverLanguageParser.g:1657:2: ( ( ( rule__BoundedScope__Group__0 ) ) ) + // InternalSolverLanguageParser.g:1658:2: ( ( rule__BoundedScope__Group__0 ) ) { - // InternalSolverLanguageParser.g:1528:2: ( ( rule__ObjectiveDefinition__Group__0 ) ) - // InternalSolverLanguageParser.g:1529:3: ( rule__ObjectiveDefinition__Group__0 ) + // InternalSolverLanguageParser.g:1658:2: ( ( rule__BoundedScope__Group__0 ) ) + // InternalSolverLanguageParser.g:1659:3: ( rule__BoundedScope__Group__0 ) { - before(grammarAccess.getObjectiveDefinitionAccess().getGroup()); - // InternalSolverLanguageParser.g:1530:3: ( rule__ObjectiveDefinition__Group__0 ) - // InternalSolverLanguageParser.g:1530:4: rule__ObjectiveDefinition__Group__0 + before(grammarAccess.getBoundedScopeAccess().getGroup()); + // InternalSolverLanguageParser.g:1660:3: ( rule__BoundedScope__Group__0 ) + // InternalSolverLanguageParser.g:1660:4: rule__BoundedScope__Group__0 { pushFollow(FOLLOW_2); - rule__ObjectiveDefinition__Group__0(); + rule__BoundedScope__Group__0(); state._fsp--; } - after(grammarAccess.getObjectiveDefinitionAccess().getGroup()); + after(grammarAccess.getBoundedScopeAccess().getGroup()); } @@ -4603,23 +4980,23 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "ruleObjectiveDefinition" + // $ANTLR end "ruleBoundedScope" - // $ANTLR start "entryRuleUpperMultiplicty" - // InternalSolverLanguageParser.g:1539:1: entryRuleUpperMultiplicty : ruleUpperMultiplicty EOF ; - public final void entryRuleUpperMultiplicty() throws RecognitionException { + // $ANTLR start "entryRuleLowerBoundedScope" + // InternalSolverLanguageParser.g:1669:1: entryRuleLowerBoundedScope : ruleLowerBoundedScope EOF ; + public final void entryRuleLowerBoundedScope() throws RecognitionException { try { - // InternalSolverLanguageParser.g:1540:1: ( ruleUpperMultiplicty EOF ) - // InternalSolverLanguageParser.g:1541:1: ruleUpperMultiplicty EOF + // InternalSolverLanguageParser.g:1670:1: ( ruleLowerBoundedScope EOF ) + // InternalSolverLanguageParser.g:1671:1: ruleLowerBoundedScope EOF { - before(grammarAccess.getUpperMultiplictyRule()); + before(grammarAccess.getLowerBoundedScopeRule()); pushFollow(FOLLOW_1); - ruleUpperMultiplicty(); + ruleLowerBoundedScope(); state._fsp--; - after(grammarAccess.getUpperMultiplictyRule()); + after(grammarAccess.getLowerBoundedScopeRule()); match(input,EOF,FOLLOW_2); } @@ -4633,35 +5010,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "entryRuleUpperMultiplicty" + // $ANTLR end "entryRuleLowerBoundedScope" - // $ANTLR start "ruleUpperMultiplicty" - // InternalSolverLanguageParser.g:1548:1: ruleUpperMultiplicty : ( ( rule__UpperMultiplicty__Alternatives ) ) ; - public final void ruleUpperMultiplicty() throws RecognitionException { + // $ANTLR start "ruleLowerBoundedScope" + // InternalSolverLanguageParser.g:1678:1: ruleLowerBoundedScope : ( ( rule__LowerBoundedScope__Group__0 ) ) ; + public final void ruleLowerBoundedScope() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:1552:2: ( ( ( rule__UpperMultiplicty__Alternatives ) ) ) - // InternalSolverLanguageParser.g:1553:2: ( ( rule__UpperMultiplicty__Alternatives ) ) + // InternalSolverLanguageParser.g:1682:2: ( ( ( rule__LowerBoundedScope__Group__0 ) ) ) + // InternalSolverLanguageParser.g:1683:2: ( ( rule__LowerBoundedScope__Group__0 ) ) { - // InternalSolverLanguageParser.g:1553:2: ( ( rule__UpperMultiplicty__Alternatives ) ) - // InternalSolverLanguageParser.g:1554:3: ( rule__UpperMultiplicty__Alternatives ) + // InternalSolverLanguageParser.g:1683:2: ( ( rule__LowerBoundedScope__Group__0 ) ) + // InternalSolverLanguageParser.g:1684:3: ( rule__LowerBoundedScope__Group__0 ) { - before(grammarAccess.getUpperMultiplictyAccess().getAlternatives()); - // InternalSolverLanguageParser.g:1555:3: ( rule__UpperMultiplicty__Alternatives ) - // InternalSolverLanguageParser.g:1555:4: rule__UpperMultiplicty__Alternatives + before(grammarAccess.getLowerBoundedScopeAccess().getGroup()); + // InternalSolverLanguageParser.g:1685:3: ( rule__LowerBoundedScope__Group__0 ) + // InternalSolverLanguageParser.g:1685:4: rule__LowerBoundedScope__Group__0 { pushFollow(FOLLOW_2); - rule__UpperMultiplicty__Alternatives(); + rule__LowerBoundedScope__Group__0(); state._fsp--; } - after(grammarAccess.getUpperMultiplictyAccess().getAlternatives()); + after(grammarAccess.getLowerBoundedScopeAccess().getGroup()); } @@ -4680,26 +5057,23 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "ruleUpperMultiplicty" - + // $ANTLR end "ruleLowerBoundedScope" - // $ANTLR start "entryRuleReal" - // InternalSolverLanguageParser.g:1564:1: entryRuleReal : ruleReal EOF ; - public final void entryRuleReal() throws RecognitionException { - - HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens(); + // $ANTLR start "entryRuleObjectiveDeclaration" + // InternalSolverLanguageParser.g:1694:1: entryRuleObjectiveDeclaration : ruleObjectiveDeclaration EOF ; + public final void entryRuleObjectiveDeclaration() throws RecognitionException { try { - // InternalSolverLanguageParser.g:1568:1: ( ruleReal EOF ) - // InternalSolverLanguageParser.g:1569:1: ruleReal EOF + // InternalSolverLanguageParser.g:1695:1: ( ruleObjectiveDeclaration EOF ) + // InternalSolverLanguageParser.g:1696:1: ruleObjectiveDeclaration EOF { - before(grammarAccess.getRealRule()); + before(grammarAccess.getObjectiveDeclarationRule()); pushFollow(FOLLOW_1); - ruleReal(); + ruleObjectiveDeclaration(); state._fsp--; - after(grammarAccess.getRealRule()); + after(grammarAccess.getObjectiveDeclarationRule()); match(input,EOF,FOLLOW_2); } @@ -4710,42 +5084,38 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP recover(input,re); } finally { - - myHiddenTokenState.restore(); - } return ; } - // $ANTLR end "entryRuleReal" + // $ANTLR end "entryRuleObjectiveDeclaration" - // $ANTLR start "ruleReal" - // InternalSolverLanguageParser.g:1579:1: ruleReal : ( ( rule__Real__Group__0 ) ) ; - public final void ruleReal() throws RecognitionException { + // $ANTLR start "ruleObjectiveDeclaration" + // InternalSolverLanguageParser.g:1703:1: ruleObjectiveDeclaration : ( ( rule__ObjectiveDeclaration__Group__0 ) ) ; + public final void ruleObjectiveDeclaration() throws RecognitionException { - HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens(); int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:1584:2: ( ( ( rule__Real__Group__0 ) ) ) - // InternalSolverLanguageParser.g:1585:2: ( ( rule__Real__Group__0 ) ) + // InternalSolverLanguageParser.g:1707:2: ( ( ( rule__ObjectiveDeclaration__Group__0 ) ) ) + // InternalSolverLanguageParser.g:1708:2: ( ( rule__ObjectiveDeclaration__Group__0 ) ) { - // InternalSolverLanguageParser.g:1585:2: ( ( rule__Real__Group__0 ) ) - // InternalSolverLanguageParser.g:1586:3: ( rule__Real__Group__0 ) + // InternalSolverLanguageParser.g:1708:2: ( ( rule__ObjectiveDeclaration__Group__0 ) ) + // InternalSolverLanguageParser.g:1709:3: ( rule__ObjectiveDeclaration__Group__0 ) { - before(grammarAccess.getRealAccess().getGroup()); - // InternalSolverLanguageParser.g:1587:3: ( rule__Real__Group__0 ) - // InternalSolverLanguageParser.g:1587:4: rule__Real__Group__0 + before(grammarAccess.getObjectiveDeclarationAccess().getGroup()); + // InternalSolverLanguageParser.g:1710:3: ( rule__ObjectiveDeclaration__Group__0 ) + // InternalSolverLanguageParser.g:1710:4: rule__ObjectiveDeclaration__Group__0 { pushFollow(FOLLOW_2); - rule__Real__Group__0(); + rule__ObjectiveDeclaration__Group__0(); state._fsp--; } - after(grammarAccess.getRealAccess().getGroup()); + after(grammarAccess.getObjectiveDeclarationAccess().getGroup()); } @@ -4760,31 +5130,27 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP finally { restoreStackSize(stackSize); - myHiddenTokenState.restore(); } return ; } - // $ANTLR end "ruleReal" - + // $ANTLR end "ruleObjectiveDeclaration" - // $ANTLR start "entryRuleQualifiedName" - // InternalSolverLanguageParser.g:1597:1: entryRuleQualifiedName : ruleQualifiedName EOF ; - public final void entryRuleQualifiedName() throws RecognitionException { - - HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens(); + // $ANTLR start "entryRuleUpperMultiplicty" + // InternalSolverLanguageParser.g:1719:1: entryRuleUpperMultiplicty : ruleUpperMultiplicty EOF ; + public final void entryRuleUpperMultiplicty() throws RecognitionException { try { - // InternalSolverLanguageParser.g:1601:1: ( ruleQualifiedName EOF ) - // InternalSolverLanguageParser.g:1602:1: ruleQualifiedName EOF + // InternalSolverLanguageParser.g:1720:1: ( ruleUpperMultiplicty EOF ) + // InternalSolverLanguageParser.g:1721:1: ruleUpperMultiplicty EOF { - before(grammarAccess.getQualifiedNameRule()); + before(grammarAccess.getUpperMultiplictyRule()); pushFollow(FOLLOW_1); - ruleQualifiedName(); + ruleUpperMultiplicty(); state._fsp--; - after(grammarAccess.getQualifiedNameRule()); + after(grammarAccess.getUpperMultiplictyRule()); match(input,EOF,FOLLOW_2); } @@ -4795,42 +5161,38 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP recover(input,re); } finally { - - myHiddenTokenState.restore(); - } return ; } - // $ANTLR end "entryRuleQualifiedName" + // $ANTLR end "entryRuleUpperMultiplicty" - // $ANTLR start "ruleQualifiedName" - // InternalSolverLanguageParser.g:1612:1: ruleQualifiedName : ( ( rule__QualifiedName__Alternatives ) ) ; - public final void ruleQualifiedName() throws RecognitionException { + // $ANTLR start "ruleUpperMultiplicty" + // InternalSolverLanguageParser.g:1728:1: ruleUpperMultiplicty : ( ( rule__UpperMultiplicty__Alternatives ) ) ; + public final void ruleUpperMultiplicty() throws RecognitionException { - HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens(); int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:1617:2: ( ( ( rule__QualifiedName__Alternatives ) ) ) - // InternalSolverLanguageParser.g:1618:2: ( ( rule__QualifiedName__Alternatives ) ) + // InternalSolverLanguageParser.g:1732:2: ( ( ( rule__UpperMultiplicty__Alternatives ) ) ) + // InternalSolverLanguageParser.g:1733:2: ( ( rule__UpperMultiplicty__Alternatives ) ) { - // InternalSolverLanguageParser.g:1618:2: ( ( rule__QualifiedName__Alternatives ) ) - // InternalSolverLanguageParser.g:1619:3: ( rule__QualifiedName__Alternatives ) + // InternalSolverLanguageParser.g:1733:2: ( ( rule__UpperMultiplicty__Alternatives ) ) + // InternalSolverLanguageParser.g:1734:3: ( rule__UpperMultiplicty__Alternatives ) { - before(grammarAccess.getQualifiedNameAccess().getAlternatives()); - // InternalSolverLanguageParser.g:1620:3: ( rule__QualifiedName__Alternatives ) - // InternalSolverLanguageParser.g:1620:4: rule__QualifiedName__Alternatives + before(grammarAccess.getUpperMultiplictyAccess().getAlternatives()); + // InternalSolverLanguageParser.g:1735:3: ( rule__UpperMultiplicty__Alternatives ) + // InternalSolverLanguageParser.g:1735:4: rule__UpperMultiplicty__Alternatives { pushFollow(FOLLOW_2); - rule__QualifiedName__Alternatives(); + rule__UpperMultiplicty__Alternatives(); state._fsp--; } - after(grammarAccess.getQualifiedNameAccess().getAlternatives()); + after(grammarAccess.getUpperMultiplictyAccess().getAlternatives()); } @@ -4845,39 +5207,31 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP finally { restoreStackSize(stackSize); - myHiddenTokenState.restore(); } return ; } - // $ANTLR end "ruleQualifiedName" + // $ANTLR end "ruleUpperMultiplicty" - // $ANTLR start "ruleImplicationOperator" - // InternalSolverLanguageParser.g:1630:1: ruleImplicationOperator : ( ( EqualsSignGreaterThanSign ) ) ; - public final void ruleImplicationOperator() throws RecognitionException { + // $ANTLR start "entryRuleReal" + // InternalSolverLanguageParser.g:1744:1: entryRuleReal : ruleReal EOF ; + public final void entryRuleReal() throws RecognitionException { + + HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens(); - int stackSize = keepStackSize(); - try { - // InternalSolverLanguageParser.g:1634:1: ( ( ( EqualsSignGreaterThanSign ) ) ) - // InternalSolverLanguageParser.g:1635:2: ( ( EqualsSignGreaterThanSign ) ) - { - // InternalSolverLanguageParser.g:1635:2: ( ( EqualsSignGreaterThanSign ) ) - // InternalSolverLanguageParser.g:1636:3: ( EqualsSignGreaterThanSign ) - { - before(grammarAccess.getImplicationOperatorAccess().getIMPLIESEnumLiteralDeclaration()); - // InternalSolverLanguageParser.g:1637:3: ( EqualsSignGreaterThanSign ) - // InternalSolverLanguageParser.g:1637:4: EqualsSignGreaterThanSign + // InternalSolverLanguageParser.g:1748:1: ( ruleReal EOF ) + // InternalSolverLanguageParser.g:1749:1: ruleReal EOF { - match(input,EqualsSignGreaterThanSign,FOLLOW_2); - - } - - after(grammarAccess.getImplicationOperatorAccess().getIMPLIESEnumLiteralDeclaration()); + before(grammarAccess.getRealRule()); + pushFollow(FOLLOW_1); + ruleReal(); - } + state._fsp--; + after(grammarAccess.getRealRule()); + match(input,EOF,FOLLOW_2); } @@ -4888,40 +5242,41 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } finally { - restoreStackSize(stackSize); + myHiddenTokenState.restore(); } return ; } - // $ANTLR end "ruleImplicationOperator" + // $ANTLR end "entryRuleReal" - // $ANTLR start "ruleComparisonOperator" - // InternalSolverLanguageParser.g:1646:1: ruleComparisonOperator : ( ( rule__ComparisonOperator__Alternatives ) ) ; - public final void ruleComparisonOperator() throws RecognitionException { + // $ANTLR start "ruleReal" + // InternalSolverLanguageParser.g:1759:1: ruleReal : ( ( rule__Real__Group__0 ) ) ; + public final void ruleReal() throws RecognitionException { + HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens(); int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:1650:1: ( ( ( rule__ComparisonOperator__Alternatives ) ) ) - // InternalSolverLanguageParser.g:1651:2: ( ( rule__ComparisonOperator__Alternatives ) ) + // InternalSolverLanguageParser.g:1764:2: ( ( ( rule__Real__Group__0 ) ) ) + // InternalSolverLanguageParser.g:1765:2: ( ( rule__Real__Group__0 ) ) { - // InternalSolverLanguageParser.g:1651:2: ( ( rule__ComparisonOperator__Alternatives ) ) - // InternalSolverLanguageParser.g:1652:3: ( rule__ComparisonOperator__Alternatives ) + // InternalSolverLanguageParser.g:1765:2: ( ( rule__Real__Group__0 ) ) + // InternalSolverLanguageParser.g:1766:3: ( rule__Real__Group__0 ) { - before(grammarAccess.getComparisonOperatorAccess().getAlternatives()); - // InternalSolverLanguageParser.g:1653:3: ( rule__ComparisonOperator__Alternatives ) - // InternalSolverLanguageParser.g:1653:4: rule__ComparisonOperator__Alternatives + before(grammarAccess.getRealAccess().getGroup()); + // InternalSolverLanguageParser.g:1767:3: ( rule__Real__Group__0 ) + // InternalSolverLanguageParser.g:1767:4: rule__Real__Group__0 { pushFollow(FOLLOW_2); - rule__ComparisonOperator__Alternatives(); + rule__Real__Group__0(); state._fsp--; } - after(grammarAccess.getComparisonOperatorAccess().getAlternatives()); + after(grammarAccess.getRealAccess().getGroup()); } @@ -4936,42 +5291,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP finally { restoreStackSize(stackSize); + myHiddenTokenState.restore(); } return ; } - // $ANTLR end "ruleComparisonOperator" - + // $ANTLR end "ruleReal" - // $ANTLR start "ruleAdditiveBinaryOperator" - // InternalSolverLanguageParser.g:1662:1: ruleAdditiveBinaryOperator : ( ( rule__AdditiveBinaryOperator__Alternatives ) ) ; - public final void ruleAdditiveBinaryOperator() throws RecognitionException { - int stackSize = keepStackSize(); - + // $ANTLR start "entryRuleQualifiedNameSegment" + // InternalSolverLanguageParser.g:1777:1: entryRuleQualifiedNameSegment : ruleQualifiedNameSegment EOF ; + public final void entryRuleQualifiedNameSegment() throws RecognitionException { try { - // InternalSolverLanguageParser.g:1666:1: ( ( ( rule__AdditiveBinaryOperator__Alternatives ) ) ) - // InternalSolverLanguageParser.g:1667:2: ( ( rule__AdditiveBinaryOperator__Alternatives ) ) - { - // InternalSolverLanguageParser.g:1667:2: ( ( rule__AdditiveBinaryOperator__Alternatives ) ) - // InternalSolverLanguageParser.g:1668:3: ( rule__AdditiveBinaryOperator__Alternatives ) - { - before(grammarAccess.getAdditiveBinaryOperatorAccess().getAlternatives()); - // InternalSolverLanguageParser.g:1669:3: ( rule__AdditiveBinaryOperator__Alternatives ) - // InternalSolverLanguageParser.g:1669:4: rule__AdditiveBinaryOperator__Alternatives + // InternalSolverLanguageParser.g:1778:1: ( ruleQualifiedNameSegment EOF ) + // InternalSolverLanguageParser.g:1779:1: ruleQualifiedNameSegment EOF { - pushFollow(FOLLOW_2); - rule__AdditiveBinaryOperator__Alternatives(); + before(grammarAccess.getQualifiedNameSegmentRule()); + pushFollow(FOLLOW_1); + ruleQualifiedNameSegment(); state._fsp--; - - } - - after(grammarAccess.getAdditiveBinaryOperatorAccess().getAlternatives()); - - } - + after(grammarAccess.getQualifiedNameSegmentRule()); + match(input,EOF,FOLLOW_2); } @@ -4981,41 +5323,38 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP recover(input,re); } finally { - - restoreStackSize(stackSize); - } return ; } - // $ANTLR end "ruleAdditiveBinaryOperator" + // $ANTLR end "entryRuleQualifiedNameSegment" - // $ANTLR start "ruleMultiplicativeBinaryOperator" - // InternalSolverLanguageParser.g:1678:1: ruleMultiplicativeBinaryOperator : ( ( rule__MultiplicativeBinaryOperator__Alternatives ) ) ; - public final void ruleMultiplicativeBinaryOperator() throws RecognitionException { + // $ANTLR start "ruleQualifiedNameSegment" + // InternalSolverLanguageParser.g:1786:1: ruleQualifiedNameSegment : ( ( rule__QualifiedNameSegment__Alternatives ) ) ; + public final void ruleQualifiedNameSegment() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:1682:1: ( ( ( rule__MultiplicativeBinaryOperator__Alternatives ) ) ) - // InternalSolverLanguageParser.g:1683:2: ( ( rule__MultiplicativeBinaryOperator__Alternatives ) ) + // InternalSolverLanguageParser.g:1790:2: ( ( ( rule__QualifiedNameSegment__Alternatives ) ) ) + // InternalSolverLanguageParser.g:1791:2: ( ( rule__QualifiedNameSegment__Alternatives ) ) { - // InternalSolverLanguageParser.g:1683:2: ( ( rule__MultiplicativeBinaryOperator__Alternatives ) ) - // InternalSolverLanguageParser.g:1684:3: ( rule__MultiplicativeBinaryOperator__Alternatives ) + // InternalSolverLanguageParser.g:1791:2: ( ( rule__QualifiedNameSegment__Alternatives ) ) + // InternalSolverLanguageParser.g:1792:3: ( rule__QualifiedNameSegment__Alternatives ) { - before(grammarAccess.getMultiplicativeBinaryOperatorAccess().getAlternatives()); - // InternalSolverLanguageParser.g:1685:3: ( rule__MultiplicativeBinaryOperator__Alternatives ) - // InternalSolverLanguageParser.g:1685:4: rule__MultiplicativeBinaryOperator__Alternatives + before(grammarAccess.getQualifiedNameSegmentAccess().getAlternatives()); + // InternalSolverLanguageParser.g:1793:3: ( rule__QualifiedNameSegment__Alternatives ) + // InternalSolverLanguageParser.g:1793:4: rule__QualifiedNameSegment__Alternatives { pushFollow(FOLLOW_2); - rule__MultiplicativeBinaryOperator__Alternatives(); + rule__QualifiedNameSegment__Alternatives(); state._fsp--; } - after(grammarAccess.getMultiplicativeBinaryOperatorAccess().getAlternatives()); + after(grammarAccess.getQualifiedNameSegmentAccess().getAlternatives()); } @@ -5034,31 +5373,72 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "ruleMultiplicativeBinaryOperator" + // $ANTLR end "ruleQualifiedNameSegment" - // $ANTLR start "ruleExponentialOp" - // InternalSolverLanguageParser.g:1694:1: ruleExponentialOp : ( ( CircumflexAccent ) ) ; - public final void ruleExponentialOp() throws RecognitionException { + // $ANTLR start "entryRuleQualifiedName" + // InternalSolverLanguageParser.g:1802:1: entryRuleQualifiedName : ruleQualifiedName EOF ; + public final void entryRuleQualifiedName() throws RecognitionException { + + HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens(); - int stackSize = keepStackSize(); + try { + // InternalSolverLanguageParser.g:1806:1: ( ruleQualifiedName EOF ) + // InternalSolverLanguageParser.g:1807:1: ruleQualifiedName EOF + { + before(grammarAccess.getQualifiedNameRule()); + pushFollow(FOLLOW_1); + ruleQualifiedName(); + + state._fsp--; + + after(grammarAccess.getQualifiedNameRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + myHiddenTokenState.restore(); + + } + return ; + } + // $ANTLR end "entryRuleQualifiedName" + + + // $ANTLR start "ruleQualifiedName" + // InternalSolverLanguageParser.g:1817:1: ruleQualifiedName : ( ( rule__QualifiedName__Group__0 ) ) ; + public final void ruleQualifiedName() throws RecognitionException { + + HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens(); + int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:1698:1: ( ( ( CircumflexAccent ) ) ) - // InternalSolverLanguageParser.g:1699:2: ( ( CircumflexAccent ) ) + // InternalSolverLanguageParser.g:1822:2: ( ( ( rule__QualifiedName__Group__0 ) ) ) + // InternalSolverLanguageParser.g:1823:2: ( ( rule__QualifiedName__Group__0 ) ) { - // InternalSolverLanguageParser.g:1699:2: ( ( CircumflexAccent ) ) - // InternalSolverLanguageParser.g:1700:3: ( CircumflexAccent ) + // InternalSolverLanguageParser.g:1823:2: ( ( rule__QualifiedName__Group__0 ) ) + // InternalSolverLanguageParser.g:1824:3: ( rule__QualifiedName__Group__0 ) { - before(grammarAccess.getExponentialOpAccess().getPOWEnumLiteralDeclaration()); - // InternalSolverLanguageParser.g:1701:3: ( CircumflexAccent ) - // InternalSolverLanguageParser.g:1701:4: CircumflexAccent + before(grammarAccess.getQualifiedNameAccess().getGroup()); + // InternalSolverLanguageParser.g:1825:3: ( rule__QualifiedName__Group__0 ) + // InternalSolverLanguageParser.g:1825:4: rule__QualifiedName__Group__0 { - match(input,CircumflexAccent,FOLLOW_2); + pushFollow(FOLLOW_2); + rule__QualifiedName__Group__0(); + + state._fsp--; + } - after(grammarAccess.getExponentialOpAccess().getPOWEnumLiteralDeclaration()); + after(grammarAccess.getQualifiedNameAccess().getGroup()); } @@ -5073,39 +5453,224 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP finally { restoreStackSize(stackSize); + myHiddenTokenState.restore(); } return ; } - // $ANTLR end "ruleExponentialOp" + // $ANTLR end "ruleQualifiedName" + + + // $ANTLR start "ruleAttributeKind" + // InternalSolverLanguageParser.g:1835:1: ruleAttributeKind : ( ( rule__AttributeKind__Alternatives ) ) ; + public final void ruleAttributeKind() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:1839:1: ( ( ( rule__AttributeKind__Alternatives ) ) ) + // InternalSolverLanguageParser.g:1840:2: ( ( rule__AttributeKind__Alternatives ) ) + { + // InternalSolverLanguageParser.g:1840:2: ( ( rule__AttributeKind__Alternatives ) ) + // InternalSolverLanguageParser.g:1841:3: ( rule__AttributeKind__Alternatives ) + { + before(grammarAccess.getAttributeKindAccess().getAlternatives()); + // InternalSolverLanguageParser.g:1842:3: ( rule__AttributeKind__Alternatives ) + // InternalSolverLanguageParser.g:1842:4: rule__AttributeKind__Alternatives + { + pushFollow(FOLLOW_2); + rule__AttributeKind__Alternatives(); + + state._fsp--; + + + } + + after(grammarAccess.getAttributeKindAccess().getAlternatives()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleAttributeKind" + + + // $ANTLR start "ruleComparisonOperator" + // InternalSolverLanguageParser.g:1851:1: ruleComparisonOperator : ( ( rule__ComparisonOperator__Alternatives ) ) ; + public final void ruleComparisonOperator() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:1855:1: ( ( ( rule__ComparisonOperator__Alternatives ) ) ) + // InternalSolverLanguageParser.g:1856:2: ( ( rule__ComparisonOperator__Alternatives ) ) + { + // InternalSolverLanguageParser.g:1856:2: ( ( rule__ComparisonOperator__Alternatives ) ) + // InternalSolverLanguageParser.g:1857:3: ( rule__ComparisonOperator__Alternatives ) + { + before(grammarAccess.getComparisonOperatorAccess().getAlternatives()); + // InternalSolverLanguageParser.g:1858:3: ( rule__ComparisonOperator__Alternatives ) + // InternalSolverLanguageParser.g:1858:4: rule__ComparisonOperator__Alternatives + { + pushFollow(FOLLOW_2); + rule__ComparisonOperator__Alternatives(); + + state._fsp--; + + + } + + after(grammarAccess.getComparisonOperatorAccess().getAlternatives()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleComparisonOperator" + + + // $ANTLR start "ruleAdditiveBinaryOperator" + // InternalSolverLanguageParser.g:1867:1: ruleAdditiveBinaryOperator : ( ( rule__AdditiveBinaryOperator__Alternatives ) ) ; + public final void ruleAdditiveBinaryOperator() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:1871:1: ( ( ( rule__AdditiveBinaryOperator__Alternatives ) ) ) + // InternalSolverLanguageParser.g:1872:2: ( ( rule__AdditiveBinaryOperator__Alternatives ) ) + { + // InternalSolverLanguageParser.g:1872:2: ( ( rule__AdditiveBinaryOperator__Alternatives ) ) + // InternalSolverLanguageParser.g:1873:3: ( rule__AdditiveBinaryOperator__Alternatives ) + { + before(grammarAccess.getAdditiveBinaryOperatorAccess().getAlternatives()); + // InternalSolverLanguageParser.g:1874:3: ( rule__AdditiveBinaryOperator__Alternatives ) + // InternalSolverLanguageParser.g:1874:4: rule__AdditiveBinaryOperator__Alternatives + { + pushFollow(FOLLOW_2); + rule__AdditiveBinaryOperator__Alternatives(); + + state._fsp--; + + + } + + after(grammarAccess.getAdditiveBinaryOperatorAccess().getAlternatives()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + } + return ; + } + // $ANTLR end "ruleAdditiveBinaryOperator" - // $ANTLR start "ruleUnaryOp" - // InternalSolverLanguageParser.g:1710:1: ruleUnaryOp : ( ( rule__UnaryOp__Alternatives ) ) ; - public final void ruleUnaryOp() throws RecognitionException { + + // $ANTLR start "ruleMultiplicativeBinaryOperator" + // InternalSolverLanguageParser.g:1883:1: ruleMultiplicativeBinaryOperator : ( ( rule__MultiplicativeBinaryOperator__Alternatives ) ) ; + public final void ruleMultiplicativeBinaryOperator() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:1714:1: ( ( ( rule__UnaryOp__Alternatives ) ) ) - // InternalSolverLanguageParser.g:1715:2: ( ( rule__UnaryOp__Alternatives ) ) + // InternalSolverLanguageParser.g:1887:1: ( ( ( rule__MultiplicativeBinaryOperator__Alternatives ) ) ) + // InternalSolverLanguageParser.g:1888:2: ( ( rule__MultiplicativeBinaryOperator__Alternatives ) ) { - // InternalSolverLanguageParser.g:1715:2: ( ( rule__UnaryOp__Alternatives ) ) - // InternalSolverLanguageParser.g:1716:3: ( rule__UnaryOp__Alternatives ) + // InternalSolverLanguageParser.g:1888:2: ( ( rule__MultiplicativeBinaryOperator__Alternatives ) ) + // InternalSolverLanguageParser.g:1889:3: ( rule__MultiplicativeBinaryOperator__Alternatives ) { - before(grammarAccess.getUnaryOpAccess().getAlternatives()); - // InternalSolverLanguageParser.g:1717:3: ( rule__UnaryOp__Alternatives ) - // InternalSolverLanguageParser.g:1717:4: rule__UnaryOp__Alternatives + before(grammarAccess.getMultiplicativeBinaryOperatorAccess().getAlternatives()); + // InternalSolverLanguageParser.g:1890:3: ( rule__MultiplicativeBinaryOperator__Alternatives ) + // InternalSolverLanguageParser.g:1890:4: rule__MultiplicativeBinaryOperator__Alternatives { pushFollow(FOLLOW_2); - rule__UnaryOp__Alternatives(); + rule__MultiplicativeBinaryOperator__Alternatives(); state._fsp--; } - after(grammarAccess.getUnaryOpAccess().getAlternatives()); + after(grammarAccess.getMultiplicativeBinaryOperatorAccess().getAlternatives()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleMultiplicativeBinaryOperator" + + + // $ANTLR start "ruleExponentialOp" + // InternalSolverLanguageParser.g:1899:1: ruleExponentialOp : ( ( CircumflexAccent ) ) ; + public final void ruleExponentialOp() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:1903:1: ( ( ( CircumflexAccent ) ) ) + // InternalSolverLanguageParser.g:1904:2: ( ( CircumflexAccent ) ) + { + // InternalSolverLanguageParser.g:1904:2: ( ( CircumflexAccent ) ) + // InternalSolverLanguageParser.g:1905:3: ( CircumflexAccent ) + { + before(grammarAccess.getExponentialOpAccess().getPOWEnumLiteralDeclaration()); + // InternalSolverLanguageParser.g:1906:3: ( CircumflexAccent ) + // InternalSolverLanguageParser.g:1906:4: CircumflexAccent + { + match(input,CircumflexAccent,FOLLOW_2); + + } + + after(grammarAccess.getExponentialOpAccess().getPOWEnumLiteralDeclaration()); } @@ -5124,35 +5689,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "ruleUnaryOp" + // $ANTLR end "ruleExponentialOp" - // $ANTLR start "ruleQuantifier" - // InternalSolverLanguageParser.g:1726:1: ruleQuantifier : ( ( rule__Quantifier__Alternatives ) ) ; - public final void ruleQuantifier() throws RecognitionException { + // $ANTLR start "ruleUnaryOperator" + // InternalSolverLanguageParser.g:1915:1: ruleUnaryOperator : ( ( rule__UnaryOperator__Alternatives ) ) ; + public final void ruleUnaryOperator() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:1730:1: ( ( ( rule__Quantifier__Alternatives ) ) ) - // InternalSolverLanguageParser.g:1731:2: ( ( rule__Quantifier__Alternatives ) ) + // InternalSolverLanguageParser.g:1919:1: ( ( ( rule__UnaryOperator__Alternatives ) ) ) + // InternalSolverLanguageParser.g:1920:2: ( ( rule__UnaryOperator__Alternatives ) ) { - // InternalSolverLanguageParser.g:1731:2: ( ( rule__Quantifier__Alternatives ) ) - // InternalSolverLanguageParser.g:1732:3: ( rule__Quantifier__Alternatives ) + // InternalSolverLanguageParser.g:1920:2: ( ( rule__UnaryOperator__Alternatives ) ) + // InternalSolverLanguageParser.g:1921:3: ( rule__UnaryOperator__Alternatives ) { - before(grammarAccess.getQuantifierAccess().getAlternatives()); - // InternalSolverLanguageParser.g:1733:3: ( rule__Quantifier__Alternatives ) - // InternalSolverLanguageParser.g:1733:4: rule__Quantifier__Alternatives + before(grammarAccess.getUnaryOperatorAccess().getAlternatives()); + // InternalSolverLanguageParser.g:1922:3: ( rule__UnaryOperator__Alternatives ) + // InternalSolverLanguageParser.g:1922:4: rule__UnaryOperator__Alternatives { pushFollow(FOLLOW_2); - rule__Quantifier__Alternatives(); + rule__UnaryOperator__Alternatives(); state._fsp--; } - after(grammarAccess.getQuantifierAccess().getAlternatives()); + after(grammarAccess.getUnaryOperatorAccess().getAlternatives()); } @@ -5171,25 +5736,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "ruleQuantifier" + // $ANTLR end "ruleUnaryOperator" // $ANTLR start "ruleLogicValue" - // InternalSolverLanguageParser.g:1742:1: ruleLogicValue : ( ( rule__LogicValue__Alternatives ) ) ; + // InternalSolverLanguageParser.g:1931:1: ruleLogicValue : ( ( rule__LogicValue__Alternatives ) ) ; public final void ruleLogicValue() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:1746:1: ( ( ( rule__LogicValue__Alternatives ) ) ) - // InternalSolverLanguageParser.g:1747:2: ( ( rule__LogicValue__Alternatives ) ) + // InternalSolverLanguageParser.g:1935:1: ( ( ( rule__LogicValue__Alternatives ) ) ) + // InternalSolverLanguageParser.g:1936:2: ( ( rule__LogicValue__Alternatives ) ) { - // InternalSolverLanguageParser.g:1747:2: ( ( rule__LogicValue__Alternatives ) ) - // InternalSolverLanguageParser.g:1748:3: ( rule__LogicValue__Alternatives ) + // InternalSolverLanguageParser.g:1936:2: ( ( rule__LogicValue__Alternatives ) ) + // InternalSolverLanguageParser.g:1937:3: ( rule__LogicValue__Alternatives ) { before(grammarAccess.getLogicValueAccess().getAlternatives()); - // InternalSolverLanguageParser.g:1749:3: ( rule__LogicValue__Alternatives ) - // InternalSolverLanguageParser.g:1749:4: rule__LogicValue__Alternatives + // InternalSolverLanguageParser.g:1938:3: ( rule__LogicValue__Alternatives ) + // InternalSolverLanguageParser.g:1938:4: rule__LogicValue__Alternatives { pushFollow(FOLLOW_2); rule__LogicValue__Alternatives(); @@ -5222,21 +5787,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR start "ruleObjectiveKind" - // InternalSolverLanguageParser.g:1758:1: ruleObjectiveKind : ( ( rule__ObjectiveKind__Alternatives ) ) ; + // InternalSolverLanguageParser.g:1947:1: ruleObjectiveKind : ( ( rule__ObjectiveKind__Alternatives ) ) ; public final void ruleObjectiveKind() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:1762:1: ( ( ( rule__ObjectiveKind__Alternatives ) ) ) - // InternalSolverLanguageParser.g:1763:2: ( ( rule__ObjectiveKind__Alternatives ) ) + // InternalSolverLanguageParser.g:1951:1: ( ( ( rule__ObjectiveKind__Alternatives ) ) ) + // InternalSolverLanguageParser.g:1952:2: ( ( rule__ObjectiveKind__Alternatives ) ) { - // InternalSolverLanguageParser.g:1763:2: ( ( rule__ObjectiveKind__Alternatives ) ) - // InternalSolverLanguageParser.g:1764:3: ( rule__ObjectiveKind__Alternatives ) + // InternalSolverLanguageParser.g:1952:2: ( ( rule__ObjectiveKind__Alternatives ) ) + // InternalSolverLanguageParser.g:1953:3: ( rule__ObjectiveKind__Alternatives ) { before(grammarAccess.getObjectiveKindAccess().getAlternatives()); - // InternalSolverLanguageParser.g:1765:3: ( rule__ObjectiveKind__Alternatives ) - // InternalSolverLanguageParser.g:1765:4: rule__ObjectiveKind__Alternatives + // InternalSolverLanguageParser.g:1954:3: ( rule__ObjectiveKind__Alternatives ) + // InternalSolverLanguageParser.g:1954:4: rule__ObjectiveKind__Alternatives { pushFollow(FOLLOW_2); rule__ObjectiveKind__Alternatives(); @@ -5268,30 +5833,30 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR end "ruleObjectiveKind" - // $ANTLR start "rule__Statement__Alternatives_0" - // InternalSolverLanguageParser.g:1773:1: rule__Statement__Alternatives_0 : ( ( ruleAssertionOrDefinition ) | ( rulePredicateDefinition ) | ( ruleUnnamedErrorPrediateDefinition ) | ( ruleDefaultDefinition ) | ( ruleMetricDefinition ) | ( ruleExternPredicateDefinition ) | ( ruleExternMetricDefinition ) | ( ruleExternAggregatorDefinition ) | ( ruleExternDatatypeDefinition ) | ( ruleClassDefinition ) | ( ruleScopeDefinition ) | ( ruleObjectiveDefinition ) ); - public final void rule__Statement__Alternatives_0() throws RecognitionException { + // $ANTLR start "rule__Statement__Alternatives" + // InternalSolverLanguageParser.g:1962:1: rule__Statement__Alternatives : ( ( ruleAssertionOrDefinition ) | ( rulePredicateDefinition ) | ( ruleUnnamedErrorPredicateDefintion ) | ( ruleDefaultAssertion ) | ( ruleFunctionDefinition ) | ( ruleAttribute ) | ( ruleExternDeclaration ) | ( ruleScopeDeclaration ) | ( ruleObjectiveDeclaration ) | ( ruleClassDeclaration ) | ( ruleEnumDeclaration ) ); + public final void rule__Statement__Alternatives() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:1777:1: ( ( ruleAssertionOrDefinition ) | ( rulePredicateDefinition ) | ( ruleUnnamedErrorPrediateDefinition ) | ( ruleDefaultDefinition ) | ( ruleMetricDefinition ) | ( ruleExternPredicateDefinition ) | ( ruleExternMetricDefinition ) | ( ruleExternAggregatorDefinition ) | ( ruleExternDatatypeDefinition ) | ( ruleClassDefinition ) | ( ruleScopeDefinition ) | ( ruleObjectiveDefinition ) ) - int alt2=12; - alt2 = dfa2.predict(input); - switch (alt2) { + // InternalSolverLanguageParser.g:1966:1: ( ( ruleAssertionOrDefinition ) | ( rulePredicateDefinition ) | ( ruleUnnamedErrorPredicateDefintion ) | ( ruleDefaultAssertion ) | ( ruleFunctionDefinition ) | ( ruleAttribute ) | ( ruleExternDeclaration ) | ( ruleScopeDeclaration ) | ( ruleObjectiveDeclaration ) | ( ruleClassDeclaration ) | ( ruleEnumDeclaration ) ) + int alt1=11; + alt1 = dfa1.predict(input); + switch (alt1) { case 1 : - // InternalSolverLanguageParser.g:1778:2: ( ruleAssertionOrDefinition ) + // InternalSolverLanguageParser.g:1967:2: ( ruleAssertionOrDefinition ) { - // InternalSolverLanguageParser.g:1778:2: ( ruleAssertionOrDefinition ) - // InternalSolverLanguageParser.g:1779:3: ruleAssertionOrDefinition + // InternalSolverLanguageParser.g:1967:2: ( ruleAssertionOrDefinition ) + // InternalSolverLanguageParser.g:1968:3: ruleAssertionOrDefinition { - before(grammarAccess.getStatementAccess().getAssertionOrDefinitionParserRuleCall_0_0()); + before(grammarAccess.getStatementAccess().getAssertionOrDefinitionParserRuleCall_0()); pushFollow(FOLLOW_2); ruleAssertionOrDefinition(); state._fsp--; - after(grammarAccess.getStatementAccess().getAssertionOrDefinitionParserRuleCall_0_0()); + after(grammarAccess.getStatementAccess().getAssertionOrDefinitionParserRuleCall_0()); } @@ -5299,18 +5864,18 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } break; case 2 : - // InternalSolverLanguageParser.g:1784:2: ( rulePredicateDefinition ) + // InternalSolverLanguageParser.g:1973:2: ( rulePredicateDefinition ) { - // InternalSolverLanguageParser.g:1784:2: ( rulePredicateDefinition ) - // InternalSolverLanguageParser.g:1785:3: rulePredicateDefinition + // InternalSolverLanguageParser.g:1973:2: ( rulePredicateDefinition ) + // InternalSolverLanguageParser.g:1974:3: rulePredicateDefinition { - before(grammarAccess.getStatementAccess().getPredicateDefinitionParserRuleCall_0_1()); + before(grammarAccess.getStatementAccess().getPredicateDefinitionParserRuleCall_1()); pushFollow(FOLLOW_2); rulePredicateDefinition(); state._fsp--; - after(grammarAccess.getStatementAccess().getPredicateDefinitionParserRuleCall_0_1()); + after(grammarAccess.getStatementAccess().getPredicateDefinitionParserRuleCall_1()); } @@ -5318,18 +5883,18 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } break; case 3 : - // InternalSolverLanguageParser.g:1790:2: ( ruleUnnamedErrorPrediateDefinition ) + // InternalSolverLanguageParser.g:1979:2: ( ruleUnnamedErrorPredicateDefintion ) { - // InternalSolverLanguageParser.g:1790:2: ( ruleUnnamedErrorPrediateDefinition ) - // InternalSolverLanguageParser.g:1791:3: ruleUnnamedErrorPrediateDefinition + // InternalSolverLanguageParser.g:1979:2: ( ruleUnnamedErrorPredicateDefintion ) + // InternalSolverLanguageParser.g:1980:3: ruleUnnamedErrorPredicateDefintion { - before(grammarAccess.getStatementAccess().getUnnamedErrorPrediateDefinitionParserRuleCall_0_2()); + before(grammarAccess.getStatementAccess().getUnnamedErrorPredicateDefintionParserRuleCall_2()); pushFollow(FOLLOW_2); - ruleUnnamedErrorPrediateDefinition(); + ruleUnnamedErrorPredicateDefintion(); state._fsp--; - after(grammarAccess.getStatementAccess().getUnnamedErrorPrediateDefinitionParserRuleCall_0_2()); + after(grammarAccess.getStatementAccess().getUnnamedErrorPredicateDefintionParserRuleCall_2()); } @@ -5337,18 +5902,18 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } break; case 4 : - // InternalSolverLanguageParser.g:1796:2: ( ruleDefaultDefinition ) + // InternalSolverLanguageParser.g:1985:2: ( ruleDefaultAssertion ) { - // InternalSolverLanguageParser.g:1796:2: ( ruleDefaultDefinition ) - // InternalSolverLanguageParser.g:1797:3: ruleDefaultDefinition + // InternalSolverLanguageParser.g:1985:2: ( ruleDefaultAssertion ) + // InternalSolverLanguageParser.g:1986:3: ruleDefaultAssertion { - before(grammarAccess.getStatementAccess().getDefaultDefinitionParserRuleCall_0_3()); + before(grammarAccess.getStatementAccess().getDefaultAssertionParserRuleCall_3()); pushFollow(FOLLOW_2); - ruleDefaultDefinition(); + ruleDefaultAssertion(); state._fsp--; - after(grammarAccess.getStatementAccess().getDefaultDefinitionParserRuleCall_0_3()); + after(grammarAccess.getStatementAccess().getDefaultAssertionParserRuleCall_3()); } @@ -5356,18 +5921,18 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } break; case 5 : - // InternalSolverLanguageParser.g:1802:2: ( ruleMetricDefinition ) + // InternalSolverLanguageParser.g:1991:2: ( ruleFunctionDefinition ) { - // InternalSolverLanguageParser.g:1802:2: ( ruleMetricDefinition ) - // InternalSolverLanguageParser.g:1803:3: ruleMetricDefinition + // InternalSolverLanguageParser.g:1991:2: ( ruleFunctionDefinition ) + // InternalSolverLanguageParser.g:1992:3: ruleFunctionDefinition { - before(grammarAccess.getStatementAccess().getMetricDefinitionParserRuleCall_0_4()); + before(grammarAccess.getStatementAccess().getFunctionDefinitionParserRuleCall_4()); pushFollow(FOLLOW_2); - ruleMetricDefinition(); + ruleFunctionDefinition(); state._fsp--; - after(grammarAccess.getStatementAccess().getMetricDefinitionParserRuleCall_0_4()); + after(grammarAccess.getStatementAccess().getFunctionDefinitionParserRuleCall_4()); } @@ -5375,18 +5940,18 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } break; case 6 : - // InternalSolverLanguageParser.g:1808:2: ( ruleExternPredicateDefinition ) + // InternalSolverLanguageParser.g:1997:2: ( ruleAttribute ) { - // InternalSolverLanguageParser.g:1808:2: ( ruleExternPredicateDefinition ) - // InternalSolverLanguageParser.g:1809:3: ruleExternPredicateDefinition + // InternalSolverLanguageParser.g:1997:2: ( ruleAttribute ) + // InternalSolverLanguageParser.g:1998:3: ruleAttribute { - before(grammarAccess.getStatementAccess().getExternPredicateDefinitionParserRuleCall_0_5()); + before(grammarAccess.getStatementAccess().getAttributeParserRuleCall_5()); pushFollow(FOLLOW_2); - ruleExternPredicateDefinition(); + ruleAttribute(); state._fsp--; - after(grammarAccess.getStatementAccess().getExternPredicateDefinitionParserRuleCall_0_5()); + after(grammarAccess.getStatementAccess().getAttributeParserRuleCall_5()); } @@ -5394,18 +5959,18 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } break; case 7 : - // InternalSolverLanguageParser.g:1814:2: ( ruleExternMetricDefinition ) + // InternalSolverLanguageParser.g:2003:2: ( ruleExternDeclaration ) { - // InternalSolverLanguageParser.g:1814:2: ( ruleExternMetricDefinition ) - // InternalSolverLanguageParser.g:1815:3: ruleExternMetricDefinition + // InternalSolverLanguageParser.g:2003:2: ( ruleExternDeclaration ) + // InternalSolverLanguageParser.g:2004:3: ruleExternDeclaration { - before(grammarAccess.getStatementAccess().getExternMetricDefinitionParserRuleCall_0_6()); + before(grammarAccess.getStatementAccess().getExternDeclarationParserRuleCall_6()); pushFollow(FOLLOW_2); - ruleExternMetricDefinition(); + ruleExternDeclaration(); state._fsp--; - after(grammarAccess.getStatementAccess().getExternMetricDefinitionParserRuleCall_0_6()); + after(grammarAccess.getStatementAccess().getExternDeclarationParserRuleCall_6()); } @@ -5413,18 +5978,18 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } break; case 8 : - // InternalSolverLanguageParser.g:1820:2: ( ruleExternAggregatorDefinition ) + // InternalSolverLanguageParser.g:2009:2: ( ruleScopeDeclaration ) { - // InternalSolverLanguageParser.g:1820:2: ( ruleExternAggregatorDefinition ) - // InternalSolverLanguageParser.g:1821:3: ruleExternAggregatorDefinition + // InternalSolverLanguageParser.g:2009:2: ( ruleScopeDeclaration ) + // InternalSolverLanguageParser.g:2010:3: ruleScopeDeclaration { - before(grammarAccess.getStatementAccess().getExternAggregatorDefinitionParserRuleCall_0_7()); + before(grammarAccess.getStatementAccess().getScopeDeclarationParserRuleCall_7()); pushFollow(FOLLOW_2); - ruleExternAggregatorDefinition(); + ruleScopeDeclaration(); state._fsp--; - after(grammarAccess.getStatementAccess().getExternAggregatorDefinitionParserRuleCall_0_7()); + after(grammarAccess.getStatementAccess().getScopeDeclarationParserRuleCall_7()); } @@ -5432,18 +5997,18 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } break; case 9 : - // InternalSolverLanguageParser.g:1826:2: ( ruleExternDatatypeDefinition ) + // InternalSolverLanguageParser.g:2015:2: ( ruleObjectiveDeclaration ) { - // InternalSolverLanguageParser.g:1826:2: ( ruleExternDatatypeDefinition ) - // InternalSolverLanguageParser.g:1827:3: ruleExternDatatypeDefinition + // InternalSolverLanguageParser.g:2015:2: ( ruleObjectiveDeclaration ) + // InternalSolverLanguageParser.g:2016:3: ruleObjectiveDeclaration { - before(grammarAccess.getStatementAccess().getExternDatatypeDefinitionParserRuleCall_0_8()); + before(grammarAccess.getStatementAccess().getObjectiveDeclarationParserRuleCall_8()); pushFollow(FOLLOW_2); - ruleExternDatatypeDefinition(); + ruleObjectiveDeclaration(); state._fsp--; - after(grammarAccess.getStatementAccess().getExternDatatypeDefinitionParserRuleCall_0_8()); + after(grammarAccess.getStatementAccess().getObjectiveDeclarationParserRuleCall_8()); } @@ -5451,18 +6016,18 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } break; case 10 : - // InternalSolverLanguageParser.g:1832:2: ( ruleClassDefinition ) + // InternalSolverLanguageParser.g:2021:2: ( ruleClassDeclaration ) { - // InternalSolverLanguageParser.g:1832:2: ( ruleClassDefinition ) - // InternalSolverLanguageParser.g:1833:3: ruleClassDefinition + // InternalSolverLanguageParser.g:2021:2: ( ruleClassDeclaration ) + // InternalSolverLanguageParser.g:2022:3: ruleClassDeclaration { - before(grammarAccess.getStatementAccess().getClassDefinitionParserRuleCall_0_9()); + before(grammarAccess.getStatementAccess().getClassDeclarationParserRuleCall_9()); pushFollow(FOLLOW_2); - ruleClassDefinition(); + ruleClassDeclaration(); state._fsp--; - after(grammarAccess.getStatementAccess().getClassDefinitionParserRuleCall_0_9()); + after(grammarAccess.getStatementAccess().getClassDeclarationParserRuleCall_9()); } @@ -5470,37 +6035,107 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } break; case 11 : - // InternalSolverLanguageParser.g:1838:2: ( ruleScopeDefinition ) + // InternalSolverLanguageParser.g:2027:2: ( ruleEnumDeclaration ) + { + // InternalSolverLanguageParser.g:2027:2: ( ruleEnumDeclaration ) + // InternalSolverLanguageParser.g:2028:3: ruleEnumDeclaration + { + before(grammarAccess.getStatementAccess().getEnumDeclarationParserRuleCall_10()); + pushFollow(FOLLOW_2); + ruleEnumDeclaration(); + + state._fsp--; + + after(grammarAccess.getStatementAccess().getEnumDeclarationParserRuleCall_10()); + + } + + + } + break; + + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Statement__Alternatives" + + + // $ANTLR start "rule__Import__Alternatives" + // InternalSolverLanguageParser.g:2037:1: rule__Import__Alternatives : ( ( ruleUriImport ) | ( ruleNamespaceImport ) ); + public final void rule__Import__Alternatives() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:2041:1: ( ( ruleUriImport ) | ( ruleNamespaceImport ) ) + int alt2=2; + int LA2_0 = input.LA(1); + + if ( (LA2_0==Import) ) { + int LA2_1 = input.LA(2); + + if ( (LA2_1==Object||LA2_1==RULE_QUOTED_ID||LA2_1==RULE_ID) ) { + alt2=2; + } + else if ( (LA2_1==RULE_STRING) ) { + alt2=1; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 2, 1, input); + + throw nvae; + } + } + else { + NoViableAltException nvae = + new NoViableAltException("", 2, 0, input); + + throw nvae; + } + switch (alt2) { + case 1 : + // InternalSolverLanguageParser.g:2042:2: ( ruleUriImport ) { - // InternalSolverLanguageParser.g:1838:2: ( ruleScopeDefinition ) - // InternalSolverLanguageParser.g:1839:3: ruleScopeDefinition + // InternalSolverLanguageParser.g:2042:2: ( ruleUriImport ) + // InternalSolverLanguageParser.g:2043:3: ruleUriImport { - before(grammarAccess.getStatementAccess().getScopeDefinitionParserRuleCall_0_10()); + before(grammarAccess.getImportAccess().getUriImportParserRuleCall_0()); pushFollow(FOLLOW_2); - ruleScopeDefinition(); + ruleUriImport(); state._fsp--; - after(grammarAccess.getStatementAccess().getScopeDefinitionParserRuleCall_0_10()); + after(grammarAccess.getImportAccess().getUriImportParserRuleCall_0()); } } break; - case 12 : - // InternalSolverLanguageParser.g:1844:2: ( ruleObjectiveDefinition ) + case 2 : + // InternalSolverLanguageParser.g:2048:2: ( ruleNamespaceImport ) { - // InternalSolverLanguageParser.g:1844:2: ( ruleObjectiveDefinition ) - // InternalSolverLanguageParser.g:1845:3: ruleObjectiveDefinition + // InternalSolverLanguageParser.g:2048:2: ( ruleNamespaceImport ) + // InternalSolverLanguageParser.g:2049:3: ruleNamespaceImport { - before(grammarAccess.getStatementAccess().getObjectiveDefinitionParserRuleCall_0_11()); + before(grammarAccess.getImportAccess().getNamespaceImportParserRuleCall_1()); pushFollow(FOLLOW_2); - ruleObjectiveDefinition(); + ruleNamespaceImport(); state._fsp--; - after(grammarAccess.getStatementAccess().getObjectiveDefinitionParserRuleCall_0_11()); + after(grammarAccess.getImportAccess().getNamespaceImportParserRuleCall_1()); } @@ -5521,20 +6156,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Statement__Alternatives_0" + // $ANTLR end "rule__Import__Alternatives" // $ANTLR start "rule__AssertionOrDefinition__Alternatives_1" - // InternalSolverLanguageParser.g:1854:1: rule__AssertionOrDefinition__Alternatives_1 : ( ( ( rule__AssertionOrDefinition__Group_1_0__0 ) ) | ( ( rule__AssertionOrDefinition__Group_1_1__0 ) ) | ( ( rule__AssertionOrDefinition__Group_1_2__0 ) ) ); + // InternalSolverLanguageParser.g:2058:1: rule__AssertionOrDefinition__Alternatives_1 : ( ( ( rule__AssertionOrDefinition__Group_1_0__0 ) ) | ( ( rule__AssertionOrDefinition__Group_1_1__0 ) ) | ( ( rule__AssertionOrDefinition__Group_1_2__0 ) ) ); public final void rule__AssertionOrDefinition__Alternatives_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:1858:1: ( ( ( rule__AssertionOrDefinition__Group_1_0__0 ) ) | ( ( rule__AssertionOrDefinition__Group_1_1__0 ) ) | ( ( rule__AssertionOrDefinition__Group_1_2__0 ) ) ) + // InternalSolverLanguageParser.g:2062:1: ( ( ( rule__AssertionOrDefinition__Group_1_0__0 ) ) | ( ( rule__AssertionOrDefinition__Group_1_1__0 ) ) | ( ( rule__AssertionOrDefinition__Group_1_2__0 ) ) ) int alt3=3; switch ( input.LA(1) ) { case Colon: + case RULE_FULL_STOP: { alt3=1; } @@ -5544,7 +6180,7 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP alt3=2; } break; - case EqualsSign: + case ColonEqualsSign: { alt3=3; } @@ -5558,14 +6194,14 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP switch (alt3) { case 1 : - // InternalSolverLanguageParser.g:1859:2: ( ( rule__AssertionOrDefinition__Group_1_0__0 ) ) + // InternalSolverLanguageParser.g:2063:2: ( ( rule__AssertionOrDefinition__Group_1_0__0 ) ) { - // InternalSolverLanguageParser.g:1859:2: ( ( rule__AssertionOrDefinition__Group_1_0__0 ) ) - // InternalSolverLanguageParser.g:1860:3: ( rule__AssertionOrDefinition__Group_1_0__0 ) + // InternalSolverLanguageParser.g:2063:2: ( ( rule__AssertionOrDefinition__Group_1_0__0 ) ) + // InternalSolverLanguageParser.g:2064:3: ( rule__AssertionOrDefinition__Group_1_0__0 ) { before(grammarAccess.getAssertionOrDefinitionAccess().getGroup_1_0()); - // InternalSolverLanguageParser.g:1861:3: ( rule__AssertionOrDefinition__Group_1_0__0 ) - // InternalSolverLanguageParser.g:1861:4: rule__AssertionOrDefinition__Group_1_0__0 + // InternalSolverLanguageParser.g:2065:3: ( rule__AssertionOrDefinition__Group_1_0__0 ) + // InternalSolverLanguageParser.g:2065:4: rule__AssertionOrDefinition__Group_1_0__0 { pushFollow(FOLLOW_2); rule__AssertionOrDefinition__Group_1_0__0(); @@ -5583,14 +6219,14 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } break; case 2 : - // InternalSolverLanguageParser.g:1865:2: ( ( rule__AssertionOrDefinition__Group_1_1__0 ) ) + // InternalSolverLanguageParser.g:2069:2: ( ( rule__AssertionOrDefinition__Group_1_1__0 ) ) { - // InternalSolverLanguageParser.g:1865:2: ( ( rule__AssertionOrDefinition__Group_1_1__0 ) ) - // InternalSolverLanguageParser.g:1866:3: ( rule__AssertionOrDefinition__Group_1_1__0 ) + // InternalSolverLanguageParser.g:2069:2: ( ( rule__AssertionOrDefinition__Group_1_1__0 ) ) + // InternalSolverLanguageParser.g:2070:3: ( rule__AssertionOrDefinition__Group_1_1__0 ) { before(grammarAccess.getAssertionOrDefinitionAccess().getGroup_1_1()); - // InternalSolverLanguageParser.g:1867:3: ( rule__AssertionOrDefinition__Group_1_1__0 ) - // InternalSolverLanguageParser.g:1867:4: rule__AssertionOrDefinition__Group_1_1__0 + // InternalSolverLanguageParser.g:2071:3: ( rule__AssertionOrDefinition__Group_1_1__0 ) + // InternalSolverLanguageParser.g:2071:4: rule__AssertionOrDefinition__Group_1_1__0 { pushFollow(FOLLOW_2); rule__AssertionOrDefinition__Group_1_1__0(); @@ -5608,14 +6244,14 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } break; case 3 : - // InternalSolverLanguageParser.g:1871:2: ( ( rule__AssertionOrDefinition__Group_1_2__0 ) ) + // InternalSolverLanguageParser.g:2075:2: ( ( rule__AssertionOrDefinition__Group_1_2__0 ) ) { - // InternalSolverLanguageParser.g:1871:2: ( ( rule__AssertionOrDefinition__Group_1_2__0 ) ) - // InternalSolverLanguageParser.g:1872:3: ( rule__AssertionOrDefinition__Group_1_2__0 ) + // InternalSolverLanguageParser.g:2075:2: ( ( rule__AssertionOrDefinition__Group_1_2__0 ) ) + // InternalSolverLanguageParser.g:2076:3: ( rule__AssertionOrDefinition__Group_1_2__0 ) { before(grammarAccess.getAssertionOrDefinitionAccess().getGroup_1_2()); - // InternalSolverLanguageParser.g:1873:3: ( rule__AssertionOrDefinition__Group_1_2__0 ) - // InternalSolverLanguageParser.g:1873:4: rule__AssertionOrDefinition__Group_1_2__0 + // InternalSolverLanguageParser.g:2077:3: ( rule__AssertionOrDefinition__Group_1_2__0 ) + // InternalSolverLanguageParser.g:2077:4: rule__AssertionOrDefinition__Group_1_2__0 { pushFollow(FOLLOW_2); rule__AssertionOrDefinition__Group_1_2__0(); @@ -5650,13 +6286,13 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR start "rule__PredicateDefinition__Alternatives_0" - // InternalSolverLanguageParser.g:1881:1: rule__PredicateDefinition__Alternatives_0 : ( ( ( rule__PredicateDefinition__Group_0_0__0 ) ) | ( ( rule__PredicateDefinition__Group_0_1__0 ) ) ); + // InternalSolverLanguageParser.g:2085:1: rule__PredicateDefinition__Alternatives_0 : ( ( ( rule__PredicateDefinition__Group_0_0__0 ) ) | ( ( rule__PredicateDefinition__Group_0_1__0 ) ) ); public final void rule__PredicateDefinition__Alternatives_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:1885:1: ( ( ( rule__PredicateDefinition__Group_0_0__0 ) ) | ( ( rule__PredicateDefinition__Group_0_1__0 ) ) ) + // InternalSolverLanguageParser.g:2089:1: ( ( ( rule__PredicateDefinition__Group_0_0__0 ) ) | ( ( rule__PredicateDefinition__Group_0_1__0 ) ) ) int alt4=2; int LA4_0 = input.LA(1); @@ -5674,14 +6310,14 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } switch (alt4) { case 1 : - // InternalSolverLanguageParser.g:1886:2: ( ( rule__PredicateDefinition__Group_0_0__0 ) ) + // InternalSolverLanguageParser.g:2090:2: ( ( rule__PredicateDefinition__Group_0_0__0 ) ) { - // InternalSolverLanguageParser.g:1886:2: ( ( rule__PredicateDefinition__Group_0_0__0 ) ) - // InternalSolverLanguageParser.g:1887:3: ( rule__PredicateDefinition__Group_0_0__0 ) + // InternalSolverLanguageParser.g:2090:2: ( ( rule__PredicateDefinition__Group_0_0__0 ) ) + // InternalSolverLanguageParser.g:2091:3: ( rule__PredicateDefinition__Group_0_0__0 ) { before(grammarAccess.getPredicateDefinitionAccess().getGroup_0_0()); - // InternalSolverLanguageParser.g:1888:3: ( rule__PredicateDefinition__Group_0_0__0 ) - // InternalSolverLanguageParser.g:1888:4: rule__PredicateDefinition__Group_0_0__0 + // InternalSolverLanguageParser.g:2092:3: ( rule__PredicateDefinition__Group_0_0__0 ) + // InternalSolverLanguageParser.g:2092:4: rule__PredicateDefinition__Group_0_0__0 { pushFollow(FOLLOW_2); rule__PredicateDefinition__Group_0_0__0(); @@ -5699,14 +6335,14 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } break; case 2 : - // InternalSolverLanguageParser.g:1892:2: ( ( rule__PredicateDefinition__Group_0_1__0 ) ) + // InternalSolverLanguageParser.g:2096:2: ( ( rule__PredicateDefinition__Group_0_1__0 ) ) { - // InternalSolverLanguageParser.g:1892:2: ( ( rule__PredicateDefinition__Group_0_1__0 ) ) - // InternalSolverLanguageParser.g:1893:3: ( rule__PredicateDefinition__Group_0_1__0 ) + // InternalSolverLanguageParser.g:2096:2: ( ( rule__PredicateDefinition__Group_0_1__0 ) ) + // InternalSolverLanguageParser.g:2097:3: ( rule__PredicateDefinition__Group_0_1__0 ) { before(grammarAccess.getPredicateDefinitionAccess().getGroup_0_1()); - // InternalSolverLanguageParser.g:1894:3: ( rule__PredicateDefinition__Group_0_1__0 ) - // InternalSolverLanguageParser.g:1894:4: rule__PredicateDefinition__Group_0_1__0 + // InternalSolverLanguageParser.g:2098:3: ( rule__PredicateDefinition__Group_0_1__0 ) + // InternalSolverLanguageParser.g:2098:4: rule__PredicateDefinition__Group_0_1__0 { pushFollow(FOLLOW_2); rule__PredicateDefinition__Group_0_1__0(); @@ -5740,72 +6376,174 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR end "rule__PredicateDefinition__Alternatives_0" - // $ANTLR start "rule__Expression__Alternatives" - // InternalSolverLanguageParser.g:1902:1: rule__Expression__Alternatives : ( ( ruleIfElse ) | ( ruleLet ) | ( ruleImplicationExpression ) ); - public final void rule__Expression__Alternatives() throws RecognitionException { + // $ANTLR start "rule__ExternDeclaration__Alternatives" + // InternalSolverLanguageParser.g:2106:1: rule__ExternDeclaration__Alternatives : ( ( ruleExternPredicateDeclaration ) | ( ruleExternFunctionDeclaration ) | ( ruleExternAggregationOperatorDeclaration ) | ( ruleExternDatatypeDeclaration ) ); + public final void rule__ExternDeclaration__Alternatives() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:1906:1: ( ( ruleIfElse ) | ( ruleLet ) | ( ruleImplicationExpression ) ) - int alt5=3; - switch ( input.LA(1) ) { - case If: - { - alt5=1; - } + // InternalSolverLanguageParser.g:2110:1: ( ( ruleExternPredicateDeclaration ) | ( ruleExternFunctionDeclaration ) | ( ruleExternAggregationOperatorDeclaration ) | ( ruleExternDatatypeDeclaration ) ) + int alt5=4; + alt5 = dfa5.predict(input); + switch (alt5) { + case 1 : + // InternalSolverLanguageParser.g:2111:2: ( ruleExternPredicateDeclaration ) + { + // InternalSolverLanguageParser.g:2111:2: ( ruleExternPredicateDeclaration ) + // InternalSolverLanguageParser.g:2112:3: ruleExternPredicateDeclaration + { + before(grammarAccess.getExternDeclarationAccess().getExternPredicateDeclarationParserRuleCall_0()); + pushFollow(FOLLOW_2); + ruleExternPredicateDeclaration(); + + state._fsp--; + + after(grammarAccess.getExternDeclarationAccess().getExternPredicateDeclarationParserRuleCall_0()); + + } + + + } + break; + case 2 : + // InternalSolverLanguageParser.g:2117:2: ( ruleExternFunctionDeclaration ) + { + // InternalSolverLanguageParser.g:2117:2: ( ruleExternFunctionDeclaration ) + // InternalSolverLanguageParser.g:2118:3: ruleExternFunctionDeclaration + { + before(grammarAccess.getExternDeclarationAccess().getExternFunctionDeclarationParserRuleCall_1()); + pushFollow(FOLLOW_2); + ruleExternFunctionDeclaration(); + + state._fsp--; + + after(grammarAccess.getExternDeclarationAccess().getExternFunctionDeclarationParserRuleCall_1()); + + } + + + } + break; + case 3 : + // InternalSolverLanguageParser.g:2123:2: ( ruleExternAggregationOperatorDeclaration ) + { + // InternalSolverLanguageParser.g:2123:2: ( ruleExternAggregationOperatorDeclaration ) + // InternalSolverLanguageParser.g:2124:3: ruleExternAggregationOperatorDeclaration + { + before(grammarAccess.getExternDeclarationAccess().getExternAggregationOperatorDeclarationParserRuleCall_2()); + pushFollow(FOLLOW_2); + ruleExternAggregationOperatorDeclaration(); + + state._fsp--; + + after(grammarAccess.getExternDeclarationAccess().getExternAggregationOperatorDeclarationParserRuleCall_2()); + + } + + + } + break; + case 4 : + // InternalSolverLanguageParser.g:2129:2: ( ruleExternDatatypeDeclaration ) + { + // InternalSolverLanguageParser.g:2129:2: ( ruleExternDatatypeDeclaration ) + // InternalSolverLanguageParser.g:2130:3: ruleExternDatatypeDeclaration + { + before(grammarAccess.getExternDeclarationAccess().getExternDatatypeDeclarationParserRuleCall_3()); + pushFollow(FOLLOW_2); + ruleExternDatatypeDeclaration(); + + state._fsp--; + + after(grammarAccess.getExternDeclarationAccess().getExternDatatypeDeclarationParserRuleCall_3()); + + } + + + } + break; + + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ExternDeclaration__Alternatives" + + + // $ANTLR start "rule__Expression__Alternatives" + // InternalSolverLanguageParser.g:2139:1: rule__Expression__Alternatives : ( ( ruleConditionalExpression ) | ( ruleLetExpression ) | ( ( rule__Expression__Group_2__0 ) ) ); + public final void rule__Expression__Alternatives() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:2143:1: ( ( ruleConditionalExpression ) | ( ruleLetExpression ) | ( ( rule__Expression__Group_2__0 ) ) ) + int alt6=3; + switch ( input.LA(1) ) { + case If: + { + alt6=1; + } break; case Let: { - alt5=2; + alt6=2; } break; - case Current: case Unknown: - case Exists: - case Forall: + case Object: case Count: case Empty: case Error: case False: - case Must: case True: case Inf: - case May: case ExclamationMark: case LeftParenthesis: case PlusSign: case HyphenMinus: + case QuestionMark: case LeftSquareBracket: + case Tilde: case RULE_STRING: case RULE_QUOTED_ID: case RULE_ID: case RULE_INT: { - alt5=3; + alt6=3; } break; default: NoViableAltException nvae = - new NoViableAltException("", 5, 0, input); + new NoViableAltException("", 6, 0, input); throw nvae; } - switch (alt5) { + switch (alt6) { case 1 : - // InternalSolverLanguageParser.g:1907:2: ( ruleIfElse ) + // InternalSolverLanguageParser.g:2144:2: ( ruleConditionalExpression ) { - // InternalSolverLanguageParser.g:1907:2: ( ruleIfElse ) - // InternalSolverLanguageParser.g:1908:3: ruleIfElse + // InternalSolverLanguageParser.g:2144:2: ( ruleConditionalExpression ) + // InternalSolverLanguageParser.g:2145:3: ruleConditionalExpression { - before(grammarAccess.getExpressionAccess().getIfElseParserRuleCall_0()); + before(grammarAccess.getExpressionAccess().getConditionalExpressionParserRuleCall_0()); pushFollow(FOLLOW_2); - ruleIfElse(); + ruleConditionalExpression(); state._fsp--; - after(grammarAccess.getExpressionAccess().getIfElseParserRuleCall_0()); + after(grammarAccess.getExpressionAccess().getConditionalExpressionParserRuleCall_0()); } @@ -5813,18 +6551,18 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } break; case 2 : - // InternalSolverLanguageParser.g:1913:2: ( ruleLet ) + // InternalSolverLanguageParser.g:2150:2: ( ruleLetExpression ) { - // InternalSolverLanguageParser.g:1913:2: ( ruleLet ) - // InternalSolverLanguageParser.g:1914:3: ruleLet + // InternalSolverLanguageParser.g:2150:2: ( ruleLetExpression ) + // InternalSolverLanguageParser.g:2151:3: ruleLetExpression { - before(grammarAccess.getExpressionAccess().getLetParserRuleCall_1()); + before(grammarAccess.getExpressionAccess().getLetExpressionParserRuleCall_1()); pushFollow(FOLLOW_2); - ruleLet(); + ruleLetExpression(); state._fsp--; - after(grammarAccess.getExpressionAccess().getLetParserRuleCall_1()); + after(grammarAccess.getExpressionAccess().getLetExpressionParserRuleCall_1()); } @@ -5832,18 +6570,24 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } break; case 3 : - // InternalSolverLanguageParser.g:1919:2: ( ruleImplicationExpression ) + // InternalSolverLanguageParser.g:2156:2: ( ( rule__Expression__Group_2__0 ) ) { - // InternalSolverLanguageParser.g:1919:2: ( ruleImplicationExpression ) - // InternalSolverLanguageParser.g:1920:3: ruleImplicationExpression + // InternalSolverLanguageParser.g:2156:2: ( ( rule__Expression__Group_2__0 ) ) + // InternalSolverLanguageParser.g:2157:3: ( rule__Expression__Group_2__0 ) + { + before(grammarAccess.getExpressionAccess().getGroup_2()); + // InternalSolverLanguageParser.g:2158:3: ( rule__Expression__Group_2__0 ) + // InternalSolverLanguageParser.g:2158:4: rule__Expression__Group_2__0 { - before(grammarAccess.getExpressionAccess().getImplicationExpressionParserRuleCall_2()); pushFollow(FOLLOW_2); - ruleImplicationExpression(); + rule__Expression__Group_2__0(); state._fsp--; - after(grammarAccess.getExpressionAccess().getImplicationExpressionParserRuleCall_2()); + + } + + after(grammarAccess.getExpressionAccess().getGroup_2()); } @@ -5868,38 +6612,38 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR start "rule__DisjunctiveExpression__Alternatives_1" - // InternalSolverLanguageParser.g:1929:1: rule__DisjunctiveExpression__Alternatives_1 : ( ( ( rule__DisjunctiveExpression__Group_1_0__0 ) ) | ( ( rule__DisjunctiveExpression__Group_1_1__0 ) ) ); + // InternalSolverLanguageParser.g:2166:1: rule__DisjunctiveExpression__Alternatives_1 : ( ( ( rule__DisjunctiveExpression__Group_1_0__0 ) ) | ( ( rule__DisjunctiveExpression__Group_1_1__0 ) ) ); public final void rule__DisjunctiveExpression__Alternatives_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:1933:1: ( ( ( rule__DisjunctiveExpression__Group_1_0__0 ) ) | ( ( rule__DisjunctiveExpression__Group_1_1__0 ) ) ) - int alt6=2; - int LA6_0 = input.LA(1); + // InternalSolverLanguageParser.g:2170:1: ( ( ( rule__DisjunctiveExpression__Group_1_0__0 ) ) | ( ( rule__DisjunctiveExpression__Group_1_1__0 ) ) ) + int alt7=2; + int LA7_0 = input.LA(1); - if ( (LA6_0==Semicolon) ) { - alt6=1; + if ( (LA7_0==Semicolon) ) { + alt7=1; } - else if ( (LA6_0==HyphenMinusGreaterThanSign) ) { - alt6=2; + else if ( (LA7_0==HyphenMinusGreaterThanSign) ) { + alt7=2; } else { NoViableAltException nvae = - new NoViableAltException("", 6, 0, input); + new NoViableAltException("", 7, 0, input); throw nvae; } - switch (alt6) { + switch (alt7) { case 1 : - // InternalSolverLanguageParser.g:1934:2: ( ( rule__DisjunctiveExpression__Group_1_0__0 ) ) + // InternalSolverLanguageParser.g:2171:2: ( ( rule__DisjunctiveExpression__Group_1_0__0 ) ) { - // InternalSolverLanguageParser.g:1934:2: ( ( rule__DisjunctiveExpression__Group_1_0__0 ) ) - // InternalSolverLanguageParser.g:1935:3: ( rule__DisjunctiveExpression__Group_1_0__0 ) + // InternalSolverLanguageParser.g:2171:2: ( ( rule__DisjunctiveExpression__Group_1_0__0 ) ) + // InternalSolverLanguageParser.g:2172:3: ( rule__DisjunctiveExpression__Group_1_0__0 ) { before(grammarAccess.getDisjunctiveExpressionAccess().getGroup_1_0()); - // InternalSolverLanguageParser.g:1936:3: ( rule__DisjunctiveExpression__Group_1_0__0 ) - // InternalSolverLanguageParser.g:1936:4: rule__DisjunctiveExpression__Group_1_0__0 + // InternalSolverLanguageParser.g:2173:3: ( rule__DisjunctiveExpression__Group_1_0__0 ) + // InternalSolverLanguageParser.g:2173:4: rule__DisjunctiveExpression__Group_1_0__0 { pushFollow(FOLLOW_2); rule__DisjunctiveExpression__Group_1_0__0(); @@ -5917,14 +6661,14 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } break; case 2 : - // InternalSolverLanguageParser.g:1940:2: ( ( rule__DisjunctiveExpression__Group_1_1__0 ) ) + // InternalSolverLanguageParser.g:2177:2: ( ( rule__DisjunctiveExpression__Group_1_1__0 ) ) { - // InternalSolverLanguageParser.g:1940:2: ( ( rule__DisjunctiveExpression__Group_1_1__0 ) ) - // InternalSolverLanguageParser.g:1941:3: ( rule__DisjunctiveExpression__Group_1_1__0 ) + // InternalSolverLanguageParser.g:2177:2: ( ( rule__DisjunctiveExpression__Group_1_1__0 ) ) + // InternalSolverLanguageParser.g:2178:3: ( rule__DisjunctiveExpression__Group_1_1__0 ) { before(grammarAccess.getDisjunctiveExpressionAccess().getGroup_1_1()); - // InternalSolverLanguageParser.g:1942:3: ( rule__DisjunctiveExpression__Group_1_1__0 ) - // InternalSolverLanguageParser.g:1942:4: rule__DisjunctiveExpression__Group_1_1__0 + // InternalSolverLanguageParser.g:2179:3: ( rule__DisjunctiveExpression__Group_1_1__0 ) + // InternalSolverLanguageParser.g:2179:4: rule__DisjunctiveExpression__Group_1_1__0 { pushFollow(FOLLOW_2); rule__DisjunctiveExpression__Group_1_1__0(); @@ -5959,42 +6703,42 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR start "rule__UnaryExpression__Alternatives" - // InternalSolverLanguageParser.g:1950:1: rule__UnaryExpression__Alternatives : ( ( ruleAggregationExpression ) | ( ( rule__UnaryExpression__Group_1__0 ) ) ); + // InternalSolverLanguageParser.g:2187:1: rule__UnaryExpression__Alternatives : ( ( ruleBracedAggregateExpression ) | ( ( rule__UnaryExpression__Group_1__0 ) ) ); public final void rule__UnaryExpression__Alternatives() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:1954:1: ( ( ruleAggregationExpression ) | ( ( rule__UnaryExpression__Group_1__0 ) ) ) - int alt7=2; - int LA7_0 = input.LA(1); + // InternalSolverLanguageParser.g:2191:1: ( ( ruleBracedAggregateExpression ) | ( ( rule__UnaryExpression__Group_1__0 ) ) ) + int alt8=2; + int LA8_0 = input.LA(1); - if ( ((LA7_0>=Unknown && LA7_0<=Exists)||LA7_0==Forall||(LA7_0>=Count && LA7_0<=False)||LA7_0==True||LA7_0==Inf||LA7_0==LeftParenthesis||LA7_0==LeftSquareBracket||(LA7_0>=RULE_STRING && LA7_0<=RULE_QUOTED_ID)||(LA7_0>=RULE_ID && LA7_0<=RULE_INT)) ) { - alt7=1; + if ( (LA8_0==Unknown||LA8_0==Object||(LA8_0>=Count && LA8_0<=False)||LA8_0==True||LA8_0==Inf||LA8_0==LeftParenthesis||LA8_0==LeftSquareBracket||(LA8_0>=Tilde && LA8_0<=RULE_QUOTED_ID)||(LA8_0>=RULE_ID && LA8_0<=RULE_INT)) ) { + alt8=1; } - else if ( (LA7_0==Current||LA7_0==Must||LA7_0==May||LA7_0==ExclamationMark||LA7_0==PlusSign||LA7_0==HyphenMinus) ) { - alt7=2; + else if ( (LA8_0==ExclamationMark||LA8_0==PlusSign||LA8_0==HyphenMinus||LA8_0==QuestionMark) ) { + alt8=2; } else { NoViableAltException nvae = - new NoViableAltException("", 7, 0, input); + new NoViableAltException("", 8, 0, input); throw nvae; } - switch (alt7) { + switch (alt8) { case 1 : - // InternalSolverLanguageParser.g:1955:2: ( ruleAggregationExpression ) + // InternalSolverLanguageParser.g:2192:2: ( ruleBracedAggregateExpression ) { - // InternalSolverLanguageParser.g:1955:2: ( ruleAggregationExpression ) - // InternalSolverLanguageParser.g:1956:3: ruleAggregationExpression + // InternalSolverLanguageParser.g:2192:2: ( ruleBracedAggregateExpression ) + // InternalSolverLanguageParser.g:2193:3: ruleBracedAggregateExpression { - before(grammarAccess.getUnaryExpressionAccess().getAggregationExpressionParserRuleCall_0()); + before(grammarAccess.getUnaryExpressionAccess().getBracedAggregateExpressionParserRuleCall_0()); pushFollow(FOLLOW_2); - ruleAggregationExpression(); + ruleBracedAggregateExpression(); state._fsp--; - after(grammarAccess.getUnaryExpressionAccess().getAggregationExpressionParserRuleCall_0()); + after(grammarAccess.getUnaryExpressionAccess().getBracedAggregateExpressionParserRuleCall_0()); } @@ -6002,14 +6746,14 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } break; case 2 : - // InternalSolverLanguageParser.g:1961:2: ( ( rule__UnaryExpression__Group_1__0 ) ) + // InternalSolverLanguageParser.g:2198:2: ( ( rule__UnaryExpression__Group_1__0 ) ) { - // InternalSolverLanguageParser.g:1961:2: ( ( rule__UnaryExpression__Group_1__0 ) ) - // InternalSolverLanguageParser.g:1962:3: ( rule__UnaryExpression__Group_1__0 ) + // InternalSolverLanguageParser.g:2198:2: ( ( rule__UnaryExpression__Group_1__0 ) ) + // InternalSolverLanguageParser.g:2199:3: ( rule__UnaryExpression__Group_1__0 ) { before(grammarAccess.getUnaryExpressionAccess().getGroup_1()); - // InternalSolverLanguageParser.g:1963:3: ( rule__UnaryExpression__Group_1__0 ) - // InternalSolverLanguageParser.g:1963:4: rule__UnaryExpression__Group_1__0 + // InternalSolverLanguageParser.g:2200:3: ( rule__UnaryExpression__Group_1__0 ) + // InternalSolverLanguageParser.g:2200:4: rule__UnaryExpression__Group_1__0 { pushFollow(FOLLOW_2); rule__UnaryExpression__Group_1__0(); @@ -6043,30 +6787,30 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR end "rule__UnaryExpression__Alternatives" - // $ANTLR start "rule__AggregationExpression__Alternatives" - // InternalSolverLanguageParser.g:1971:1: rule__AggregationExpression__Alternatives : ( ( ruleAtomicExpression ) | ( ruleQuantifiedExpression ) | ( ruleAggregation ) ); - public final void rule__AggregationExpression__Alternatives() throws RecognitionException { + // $ANTLR start "rule__BracedAggregateExpression__Alternatives" + // InternalSolverLanguageParser.g:2208:1: rule__BracedAggregateExpression__Alternatives : ( ( ruleAtomicExpression ) | ( ruleAggregation ) | ( ruleCount ) ); + public final void rule__BracedAggregateExpression__Alternatives() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:1975:1: ( ( ruleAtomicExpression ) | ( ruleQuantifiedExpression ) | ( ruleAggregation ) ) - int alt8=3; - alt8 = dfa8.predict(input); - switch (alt8) { + // InternalSolverLanguageParser.g:2212:1: ( ( ruleAtomicExpression ) | ( ruleAggregation ) | ( ruleCount ) ) + int alt9=3; + alt9 = dfa9.predict(input); + switch (alt9) { case 1 : - // InternalSolverLanguageParser.g:1976:2: ( ruleAtomicExpression ) + // InternalSolverLanguageParser.g:2213:2: ( ruleAtomicExpression ) { - // InternalSolverLanguageParser.g:1976:2: ( ruleAtomicExpression ) - // InternalSolverLanguageParser.g:1977:3: ruleAtomicExpression + // InternalSolverLanguageParser.g:2213:2: ( ruleAtomicExpression ) + // InternalSolverLanguageParser.g:2214:3: ruleAtomicExpression { - before(grammarAccess.getAggregationExpressionAccess().getAtomicExpressionParserRuleCall_0()); + before(grammarAccess.getBracedAggregateExpressionAccess().getAtomicExpressionParserRuleCall_0()); pushFollow(FOLLOW_2); ruleAtomicExpression(); state._fsp--; - after(grammarAccess.getAggregationExpressionAccess().getAtomicExpressionParserRuleCall_0()); + after(grammarAccess.getBracedAggregateExpressionAccess().getAtomicExpressionParserRuleCall_0()); } @@ -6074,18 +6818,18 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } break; case 2 : - // InternalSolverLanguageParser.g:1982:2: ( ruleQuantifiedExpression ) + // InternalSolverLanguageParser.g:2219:2: ( ruleAggregation ) { - // InternalSolverLanguageParser.g:1982:2: ( ruleQuantifiedExpression ) - // InternalSolverLanguageParser.g:1983:3: ruleQuantifiedExpression + // InternalSolverLanguageParser.g:2219:2: ( ruleAggregation ) + // InternalSolverLanguageParser.g:2220:3: ruleAggregation { - before(grammarAccess.getAggregationExpressionAccess().getQuantifiedExpressionParserRuleCall_1()); + before(grammarAccess.getBracedAggregateExpressionAccess().getAggregationParserRuleCall_1()); pushFollow(FOLLOW_2); - ruleQuantifiedExpression(); + ruleAggregation(); state._fsp--; - after(grammarAccess.getAggregationExpressionAccess().getQuantifiedExpressionParserRuleCall_1()); + after(grammarAccess.getBracedAggregateExpressionAccess().getAggregationParserRuleCall_1()); } @@ -6093,18 +6837,18 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } break; case 3 : - // InternalSolverLanguageParser.g:1988:2: ( ruleAggregation ) + // InternalSolverLanguageParser.g:2225:2: ( ruleCount ) { - // InternalSolverLanguageParser.g:1988:2: ( ruleAggregation ) - // InternalSolverLanguageParser.g:1989:3: ruleAggregation + // InternalSolverLanguageParser.g:2225:2: ( ruleCount ) + // InternalSolverLanguageParser.g:2226:3: ruleCount { - before(grammarAccess.getAggregationExpressionAccess().getAggregationParserRuleCall_2()); + before(grammarAccess.getBracedAggregateExpressionAccess().getCountParserRuleCall_2()); pushFollow(FOLLOW_2); - ruleAggregation(); + ruleCount(); state._fsp--; - after(grammarAccess.getAggregationExpressionAccess().getAggregationParserRuleCall_2()); + after(grammarAccess.getBracedAggregateExpressionAccess().getCountParserRuleCall_2()); } @@ -6125,25 +6869,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__AggregationExpression__Alternatives" + // $ANTLR end "rule__BracedAggregateExpression__Alternatives" // $ANTLR start "rule__AtomicExpression__Alternatives" - // InternalSolverLanguageParser.g:1998:1: rule__AtomicExpression__Alternatives : ( ( ruleReference ) | ( ruleCall ) | ( ruleInterval ) | ( ruleLiteral ) | ( ( rule__AtomicExpression__Group_4__0 ) ) ); + // InternalSolverLanguageParser.g:2235:1: rule__AtomicExpression__Alternatives : ( ( ruleReference ) | ( ruleCall ) | ( ruleInterval ) | ( ruleLiteral ) | ( ( rule__AtomicExpression__Group_4__0 ) ) ); public final void rule__AtomicExpression__Alternatives() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:2002:1: ( ( ruleReference ) | ( ruleCall ) | ( ruleInterval ) | ( ruleLiteral ) | ( ( rule__AtomicExpression__Group_4__0 ) ) ) - int alt9=5; - alt9 = dfa9.predict(input); - switch (alt9) { + // InternalSolverLanguageParser.g:2239:1: ( ( ruleReference ) | ( ruleCall ) | ( ruleInterval ) | ( ruleLiteral ) | ( ( rule__AtomicExpression__Group_4__0 ) ) ) + int alt10=5; + alt10 = dfa10.predict(input); + switch (alt10) { case 1 : - // InternalSolverLanguageParser.g:2003:2: ( ruleReference ) + // InternalSolverLanguageParser.g:2240:2: ( ruleReference ) { - // InternalSolverLanguageParser.g:2003:2: ( ruleReference ) - // InternalSolverLanguageParser.g:2004:3: ruleReference + // InternalSolverLanguageParser.g:2240:2: ( ruleReference ) + // InternalSolverLanguageParser.g:2241:3: ruleReference { before(grammarAccess.getAtomicExpressionAccess().getReferenceParserRuleCall_0()); pushFollow(FOLLOW_2); @@ -6159,10 +6903,10 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } break; case 2 : - // InternalSolverLanguageParser.g:2009:2: ( ruleCall ) + // InternalSolverLanguageParser.g:2246:2: ( ruleCall ) { - // InternalSolverLanguageParser.g:2009:2: ( ruleCall ) - // InternalSolverLanguageParser.g:2010:3: ruleCall + // InternalSolverLanguageParser.g:2246:2: ( ruleCall ) + // InternalSolverLanguageParser.g:2247:3: ruleCall { before(grammarAccess.getAtomicExpressionAccess().getCallParserRuleCall_1()); pushFollow(FOLLOW_2); @@ -6178,10 +6922,10 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } break; case 3 : - // InternalSolverLanguageParser.g:2015:2: ( ruleInterval ) + // InternalSolverLanguageParser.g:2252:2: ( ruleInterval ) { - // InternalSolverLanguageParser.g:2015:2: ( ruleInterval ) - // InternalSolverLanguageParser.g:2016:3: ruleInterval + // InternalSolverLanguageParser.g:2252:2: ( ruleInterval ) + // InternalSolverLanguageParser.g:2253:3: ruleInterval { before(grammarAccess.getAtomicExpressionAccess().getIntervalParserRuleCall_2()); pushFollow(FOLLOW_2); @@ -6197,10 +6941,10 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } break; case 4 : - // InternalSolverLanguageParser.g:2021:2: ( ruleLiteral ) + // InternalSolverLanguageParser.g:2258:2: ( ruleLiteral ) { - // InternalSolverLanguageParser.g:2021:2: ( ruleLiteral ) - // InternalSolverLanguageParser.g:2022:3: ruleLiteral + // InternalSolverLanguageParser.g:2258:2: ( ruleLiteral ) + // InternalSolverLanguageParser.g:2259:3: ruleLiteral { before(grammarAccess.getAtomicExpressionAccess().getLiteralParserRuleCall_3()); pushFollow(FOLLOW_2); @@ -6216,14 +6960,14 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } break; case 5 : - // InternalSolverLanguageParser.g:2027:2: ( ( rule__AtomicExpression__Group_4__0 ) ) + // InternalSolverLanguageParser.g:2264:2: ( ( rule__AtomicExpression__Group_4__0 ) ) { - // InternalSolverLanguageParser.g:2027:2: ( ( rule__AtomicExpression__Group_4__0 ) ) - // InternalSolverLanguageParser.g:2028:3: ( rule__AtomicExpression__Group_4__0 ) + // InternalSolverLanguageParser.g:2264:2: ( ( rule__AtomicExpression__Group_4__0 ) ) + // InternalSolverLanguageParser.g:2265:3: ( rule__AtomicExpression__Group_4__0 ) { before(grammarAccess.getAtomicExpressionAccess().getGroup_4()); - // InternalSolverLanguageParser.g:2029:3: ( rule__AtomicExpression__Group_4__0 ) - // InternalSolverLanguageParser.g:2029:4: rule__AtomicExpression__Group_4__0 + // InternalSolverLanguageParser.g:2266:3: ( rule__AtomicExpression__Group_4__0 ) + // InternalSolverLanguageParser.g:2266:4: rule__AtomicExpression__Group_4__0 { pushFollow(FOLLOW_2); rule__AtomicExpression__Group_4__0(); @@ -6257,74 +7001,87 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR end "rule__AtomicExpression__Alternatives" - // $ANTLR start "rule__Call__Alternatives_1" - // InternalSolverLanguageParser.g:2037:1: rule__Call__Alternatives_1 : ( ( ( rule__Call__TransitiveClosureAssignment_1_0 ) ) | ( ( rule__Call__ReflexiveTransitiveClosureAssignment_1_1 ) ) ); - public final void rule__Call__Alternatives_1() throws RecognitionException { + // $ANTLR start "rule__Argument__Alternatives" + // InternalSolverLanguageParser.g:2274:1: rule__Argument__Alternatives : ( ( ruleExpressionArgument ) | ( ruleStarArgument ) | ( ruleTypedVariableArgument ) | ( ruleTypedStarArgument ) ); + public final void rule__Argument__Alternatives() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:2041:1: ( ( ( rule__Call__TransitiveClosureAssignment_1_0 ) ) | ( ( rule__Call__ReflexiveTransitiveClosureAssignment_1_1 ) ) ) - int alt10=2; - int LA10_0 = input.LA(1); - - if ( (LA10_0==RULE_TRANSITIVE_CLOSURE) ) { - alt10=1; - } - else if ( (LA10_0==RULE_REFLEXIVE_TRANSITIVE_CLOSURE) ) { - alt10=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 10, 0, input); - - throw nvae; - } - switch (alt10) { + // InternalSolverLanguageParser.g:2278:1: ( ( ruleExpressionArgument ) | ( ruleStarArgument ) | ( ruleTypedVariableArgument ) | ( ruleTypedStarArgument ) ) + int alt11=4; + alt11 = dfa11.predict(input); + switch (alt11) { case 1 : - // InternalSolverLanguageParser.g:2042:2: ( ( rule__Call__TransitiveClosureAssignment_1_0 ) ) - { - // InternalSolverLanguageParser.g:2042:2: ( ( rule__Call__TransitiveClosureAssignment_1_0 ) ) - // InternalSolverLanguageParser.g:2043:3: ( rule__Call__TransitiveClosureAssignment_1_0 ) + // InternalSolverLanguageParser.g:2279:2: ( ruleExpressionArgument ) { - before(grammarAccess.getCallAccess().getTransitiveClosureAssignment_1_0()); - // InternalSolverLanguageParser.g:2044:3: ( rule__Call__TransitiveClosureAssignment_1_0 ) - // InternalSolverLanguageParser.g:2044:4: rule__Call__TransitiveClosureAssignment_1_0 + // InternalSolverLanguageParser.g:2279:2: ( ruleExpressionArgument ) + // InternalSolverLanguageParser.g:2280:3: ruleExpressionArgument { + before(grammarAccess.getArgumentAccess().getExpressionArgumentParserRuleCall_0()); pushFollow(FOLLOW_2); - rule__Call__TransitiveClosureAssignment_1_0(); + ruleExpressionArgument(); state._fsp--; + after(grammarAccess.getArgumentAccess().getExpressionArgumentParserRuleCall_0()); + + } + } + break; + case 2 : + // InternalSolverLanguageParser.g:2285:2: ( ruleStarArgument ) + { + // InternalSolverLanguageParser.g:2285:2: ( ruleStarArgument ) + // InternalSolverLanguageParser.g:2286:3: ruleStarArgument + { + before(grammarAccess.getArgumentAccess().getStarArgumentParserRuleCall_1()); + pushFollow(FOLLOW_2); + ruleStarArgument(); + + state._fsp--; - after(grammarAccess.getCallAccess().getTransitiveClosureAssignment_1_0()); + after(grammarAccess.getArgumentAccess().getStarArgumentParserRuleCall_1()); } } break; - case 2 : - // InternalSolverLanguageParser.g:2048:2: ( ( rule__Call__ReflexiveTransitiveClosureAssignment_1_1 ) ) - { - // InternalSolverLanguageParser.g:2048:2: ( ( rule__Call__ReflexiveTransitiveClosureAssignment_1_1 ) ) - // InternalSolverLanguageParser.g:2049:3: ( rule__Call__ReflexiveTransitiveClosureAssignment_1_1 ) + case 3 : + // InternalSolverLanguageParser.g:2291:2: ( ruleTypedVariableArgument ) { - before(grammarAccess.getCallAccess().getReflexiveTransitiveClosureAssignment_1_1()); - // InternalSolverLanguageParser.g:2050:3: ( rule__Call__ReflexiveTransitiveClosureAssignment_1_1 ) - // InternalSolverLanguageParser.g:2050:4: rule__Call__ReflexiveTransitiveClosureAssignment_1_1 + // InternalSolverLanguageParser.g:2291:2: ( ruleTypedVariableArgument ) + // InternalSolverLanguageParser.g:2292:3: ruleTypedVariableArgument { + before(grammarAccess.getArgumentAccess().getTypedVariableArgumentParserRuleCall_2()); pushFollow(FOLLOW_2); - rule__Call__ReflexiveTransitiveClosureAssignment_1_1(); + ruleTypedVariableArgument(); state._fsp--; + after(grammarAccess.getArgumentAccess().getTypedVariableArgumentParserRuleCall_2()); + + } + } + break; + case 4 : + // InternalSolverLanguageParser.g:2297:2: ( ruleTypedStarArgument ) + { + // InternalSolverLanguageParser.g:2297:2: ( ruleTypedStarArgument ) + // InternalSolverLanguageParser.g:2298:3: ruleTypedStarArgument + { + before(grammarAccess.getArgumentAccess().getTypedStarArgumentParserRuleCall_3()); + pushFollow(FOLLOW_2); + ruleTypedStarArgument(); + + state._fsp--; - after(grammarAccess.getCallAccess().getReflexiveTransitiveClosureAssignment_1_1()); + after(grammarAccess.getArgumentAccess().getTypedStarArgumentParserRuleCall_3()); } @@ -6345,90 +7102,77 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Call__Alternatives_1" + // $ANTLR end "rule__Argument__Alternatives" - // $ANTLR start "rule__Argument__Alternatives" - // InternalSolverLanguageParser.g:2058:1: rule__Argument__Alternatives : ( ( ruleExpressionArgument ) | ( ruleStarArgument ) | ( ruleTypedArgument ) | ( ruleTypedStarArgument ) ); - public final void rule__Argument__Alternatives() throws RecognitionException { + // $ANTLR start "rule__PathComponent__Alternatives_2" + // InternalSolverLanguageParser.g:2307:1: rule__PathComponent__Alternatives_2 : ( ( ( rule__PathComponent__TransitiveClosureAssignment_2_0 ) ) | ( ( rule__PathComponent__ReflexiveTransitiveClosureAssignment_2_1 ) ) ); + public final void rule__PathComponent__Alternatives_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:2062:1: ( ( ruleExpressionArgument ) | ( ruleStarArgument ) | ( ruleTypedArgument ) | ( ruleTypedStarArgument ) ) - int alt11=4; - alt11 = dfa11.predict(input); - switch (alt11) { + // InternalSolverLanguageParser.g:2311:1: ( ( ( rule__PathComponent__TransitiveClosureAssignment_2_0 ) ) | ( ( rule__PathComponent__ReflexiveTransitiveClosureAssignment_2_1 ) ) ) + int alt12=2; + int LA12_0 = input.LA(1); + + if ( (LA12_0==RULE_TRANSITIVE_CLOSURE) ) { + alt12=1; + } + else if ( (LA12_0==RULE_REFLEXIVE_TRANSITIVE_CLOSURE) ) { + alt12=2; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 12, 0, input); + + throw nvae; + } + switch (alt12) { case 1 : - // InternalSolverLanguageParser.g:2063:2: ( ruleExpressionArgument ) + // InternalSolverLanguageParser.g:2312:2: ( ( rule__PathComponent__TransitiveClosureAssignment_2_0 ) ) { - // InternalSolverLanguageParser.g:2063:2: ( ruleExpressionArgument ) - // InternalSolverLanguageParser.g:2064:3: ruleExpressionArgument + // InternalSolverLanguageParser.g:2312:2: ( ( rule__PathComponent__TransitiveClosureAssignment_2_0 ) ) + // InternalSolverLanguageParser.g:2313:3: ( rule__PathComponent__TransitiveClosureAssignment_2_0 ) + { + before(grammarAccess.getPathComponentAccess().getTransitiveClosureAssignment_2_0()); + // InternalSolverLanguageParser.g:2314:3: ( rule__PathComponent__TransitiveClosureAssignment_2_0 ) + // InternalSolverLanguageParser.g:2314:4: rule__PathComponent__TransitiveClosureAssignment_2_0 { - before(grammarAccess.getArgumentAccess().getExpressionArgumentParserRuleCall_0()); pushFollow(FOLLOW_2); - ruleExpressionArgument(); + rule__PathComponent__TransitiveClosureAssignment_2_0(); state._fsp--; - after(grammarAccess.getArgumentAccess().getExpressionArgumentParserRuleCall_0()); - - } - } - break; - case 2 : - // InternalSolverLanguageParser.g:2069:2: ( ruleStarArgument ) - { - // InternalSolverLanguageParser.g:2069:2: ( ruleStarArgument ) - // InternalSolverLanguageParser.g:2070:3: ruleStarArgument - { - before(grammarAccess.getArgumentAccess().getStarArgumentParserRuleCall_1()); - pushFollow(FOLLOW_2); - ruleStarArgument(); - state._fsp--; - - after(grammarAccess.getArgumentAccess().getStarArgumentParserRuleCall_1()); + after(grammarAccess.getPathComponentAccess().getTransitiveClosureAssignment_2_0()); } } break; - case 3 : - // InternalSolverLanguageParser.g:2075:2: ( ruleTypedArgument ) + case 2 : + // InternalSolverLanguageParser.g:2318:2: ( ( rule__PathComponent__ReflexiveTransitiveClosureAssignment_2_1 ) ) + { + // InternalSolverLanguageParser.g:2318:2: ( ( rule__PathComponent__ReflexiveTransitiveClosureAssignment_2_1 ) ) + // InternalSolverLanguageParser.g:2319:3: ( rule__PathComponent__ReflexiveTransitiveClosureAssignment_2_1 ) { - // InternalSolverLanguageParser.g:2075:2: ( ruleTypedArgument ) - // InternalSolverLanguageParser.g:2076:3: ruleTypedArgument + before(grammarAccess.getPathComponentAccess().getReflexiveTransitiveClosureAssignment_2_1()); + // InternalSolverLanguageParser.g:2320:3: ( rule__PathComponent__ReflexiveTransitiveClosureAssignment_2_1 ) + // InternalSolverLanguageParser.g:2320:4: rule__PathComponent__ReflexiveTransitiveClosureAssignment_2_1 { - before(grammarAccess.getArgumentAccess().getTypedArgumentParserRuleCall_2()); pushFollow(FOLLOW_2); - ruleTypedArgument(); + rule__PathComponent__ReflexiveTransitiveClosureAssignment_2_1(); state._fsp--; - after(grammarAccess.getArgumentAccess().getTypedArgumentParserRuleCall_2()); - - } - } - break; - case 4 : - // InternalSolverLanguageParser.g:2081:2: ( ruleTypedStarArgument ) - { - // InternalSolverLanguageParser.g:2081:2: ( ruleTypedStarArgument ) - // InternalSolverLanguageParser.g:2082:3: ruleTypedStarArgument - { - before(grammarAccess.getArgumentAccess().getTypedStarArgumentParserRuleCall_3()); - pushFollow(FOLLOW_2); - ruleTypedStarArgument(); - state._fsp--; - - after(grammarAccess.getArgumentAccess().getTypedStarArgumentParserRuleCall_3()); + after(grammarAccess.getPathComponentAccess().getReflexiveTransitiveClosureAssignment_2_1()); } @@ -6449,60 +7193,73 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Argument__Alternatives" + // $ANTLR end "rule__PathComponent__Alternatives_2" // $ANTLR start "rule__Literal__Alternatives" - // InternalSolverLanguageParser.g:2091:1: rule__Literal__Alternatives : ( ( ruleLogicLiteral ) | ( ruleNumericLiteral ) | ( ruleInfinityLiteral ) | ( ruleEmptyIntervalLiteral ) | ( ruleStringLiteral ) ); + // InternalSolverLanguageParser.g:2328:1: rule__Literal__Alternatives : ( ( ruleLogicLiteral ) | ( ruleIntLiteral ) | ( ruleRealLiteral ) | ( ruleInfinityLiteral ) | ( ruleEmptyLiteral ) | ( ruleStringLiteral ) ); public final void rule__Literal__Alternatives() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:2095:1: ( ( ruleLogicLiteral ) | ( ruleNumericLiteral ) | ( ruleInfinityLiteral ) | ( ruleEmptyIntervalLiteral ) | ( ruleStringLiteral ) ) - int alt12=5; + // InternalSolverLanguageParser.g:2332:1: ( ( ruleLogicLiteral ) | ( ruleIntLiteral ) | ( ruleRealLiteral ) | ( ruleInfinityLiteral ) | ( ruleEmptyLiteral ) | ( ruleStringLiteral ) ) + int alt13=6; switch ( input.LA(1) ) { case Unknown: case Error: case False: case True: { - alt12=1; + alt13=1; } break; case RULE_INT: { - alt12=2; + int LA13_2 = input.LA(2); + + if ( (LA13_2==FullStop) ) { + alt13=3; + } + else if ( (LA13_2==EOF||LA13_2==Else||LA13_2==Then||(LA13_2>=ExclamationMarkEqualsSign && LA13_2<=ColonHyphenMinus)||(LA13_2>=ColonEqualsSign && LA13_2<=As)||LA13_2==In||(LA13_2>=RightParenthesis && LA13_2<=HyphenMinus)||(LA13_2>=Solidus && LA13_2<=LessThanSign)||LA13_2==GreaterThanSign||(LA13_2>=RightSquareBracket && LA13_2<=CircumflexAccent)||(LA13_2>=VerticalLine && LA13_2<=RightCurlyBracket)||LA13_2==RULE_FULL_STOP) ) { + alt13=2; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 13, 2, input); + + throw nvae; + } } break; case Inf: { - alt12=3; + alt13=4; } break; case Empty: { - alt12=4; + alt13=5; } break; case RULE_STRING: { - alt12=5; + alt13=6; } break; default: NoViableAltException nvae = - new NoViableAltException("", 12, 0, input); + new NoViableAltException("", 13, 0, input); throw nvae; } - switch (alt12) { + switch (alt13) { case 1 : - // InternalSolverLanguageParser.g:2096:2: ( ruleLogicLiteral ) + // InternalSolverLanguageParser.g:2333:2: ( ruleLogicLiteral ) { - // InternalSolverLanguageParser.g:2096:2: ( ruleLogicLiteral ) - // InternalSolverLanguageParser.g:2097:3: ruleLogicLiteral + // InternalSolverLanguageParser.g:2333:2: ( ruleLogicLiteral ) + // InternalSolverLanguageParser.g:2334:3: ruleLogicLiteral { before(grammarAccess.getLiteralAccess().getLogicLiteralParserRuleCall_0()); pushFollow(FOLLOW_2); @@ -6518,18 +7275,18 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } break; case 2 : - // InternalSolverLanguageParser.g:2102:2: ( ruleNumericLiteral ) + // InternalSolverLanguageParser.g:2339:2: ( ruleIntLiteral ) { - // InternalSolverLanguageParser.g:2102:2: ( ruleNumericLiteral ) - // InternalSolverLanguageParser.g:2103:3: ruleNumericLiteral + // InternalSolverLanguageParser.g:2339:2: ( ruleIntLiteral ) + // InternalSolverLanguageParser.g:2340:3: ruleIntLiteral { - before(grammarAccess.getLiteralAccess().getNumericLiteralParserRuleCall_1()); + before(grammarAccess.getLiteralAccess().getIntLiteralParserRuleCall_1()); pushFollow(FOLLOW_2); - ruleNumericLiteral(); + ruleIntLiteral(); state._fsp--; - after(grammarAccess.getLiteralAccess().getNumericLiteralParserRuleCall_1()); + after(grammarAccess.getLiteralAccess().getIntLiteralParserRuleCall_1()); } @@ -6537,18 +7294,18 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } break; case 3 : - // InternalSolverLanguageParser.g:2108:2: ( ruleInfinityLiteral ) + // InternalSolverLanguageParser.g:2345:2: ( ruleRealLiteral ) { - // InternalSolverLanguageParser.g:2108:2: ( ruleInfinityLiteral ) - // InternalSolverLanguageParser.g:2109:3: ruleInfinityLiteral + // InternalSolverLanguageParser.g:2345:2: ( ruleRealLiteral ) + // InternalSolverLanguageParser.g:2346:3: ruleRealLiteral { - before(grammarAccess.getLiteralAccess().getInfinityLiteralParserRuleCall_2()); + before(grammarAccess.getLiteralAccess().getRealLiteralParserRuleCall_2()); pushFollow(FOLLOW_2); - ruleInfinityLiteral(); + ruleRealLiteral(); state._fsp--; - after(grammarAccess.getLiteralAccess().getInfinityLiteralParserRuleCall_2()); + after(grammarAccess.getLiteralAccess().getRealLiteralParserRuleCall_2()); } @@ -6556,18 +7313,18 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } break; case 4 : - // InternalSolverLanguageParser.g:2114:2: ( ruleEmptyIntervalLiteral ) + // InternalSolverLanguageParser.g:2351:2: ( ruleInfinityLiteral ) { - // InternalSolverLanguageParser.g:2114:2: ( ruleEmptyIntervalLiteral ) - // InternalSolverLanguageParser.g:2115:3: ruleEmptyIntervalLiteral + // InternalSolverLanguageParser.g:2351:2: ( ruleInfinityLiteral ) + // InternalSolverLanguageParser.g:2352:3: ruleInfinityLiteral { - before(grammarAccess.getLiteralAccess().getEmptyIntervalLiteralParserRuleCall_3()); + before(grammarAccess.getLiteralAccess().getInfinityLiteralParserRuleCall_3()); pushFollow(FOLLOW_2); - ruleEmptyIntervalLiteral(); + ruleInfinityLiteral(); state._fsp--; - after(grammarAccess.getLiteralAccess().getEmptyIntervalLiteralParserRuleCall_3()); + after(grammarAccess.getLiteralAccess().getInfinityLiteralParserRuleCall_3()); } @@ -6575,18 +7332,37 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } break; case 5 : - // InternalSolverLanguageParser.g:2120:2: ( ruleStringLiteral ) + // InternalSolverLanguageParser.g:2357:2: ( ruleEmptyLiteral ) + { + // InternalSolverLanguageParser.g:2357:2: ( ruleEmptyLiteral ) + // InternalSolverLanguageParser.g:2358:3: ruleEmptyLiteral + { + before(grammarAccess.getLiteralAccess().getEmptyLiteralParserRuleCall_4()); + pushFollow(FOLLOW_2); + ruleEmptyLiteral(); + + state._fsp--; + + after(grammarAccess.getLiteralAccess().getEmptyLiteralParserRuleCall_4()); + + } + + + } + break; + case 6 : + // InternalSolverLanguageParser.g:2363:2: ( ruleStringLiteral ) { - // InternalSolverLanguageParser.g:2120:2: ( ruleStringLiteral ) - // InternalSolverLanguageParser.g:2121:3: ruleStringLiteral + // InternalSolverLanguageParser.g:2363:2: ( ruleStringLiteral ) + // InternalSolverLanguageParser.g:2364:3: ruleStringLiteral { - before(grammarAccess.getLiteralAccess().getStringLiteralParserRuleCall_4()); + before(grammarAccess.getLiteralAccess().getStringLiteralParserRuleCall_5()); pushFollow(FOLLOW_2); ruleStringLiteral(); state._fsp--; - after(grammarAccess.getLiteralAccess().getStringLiteralParserRuleCall_4()); + after(grammarAccess.getLiteralAccess().getStringLiteralParserRuleCall_5()); } @@ -6610,50 +7386,222 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR end "rule__Literal__Alternatives" - // $ANTLR start "rule__Multiplicity__Alternatives" - // InternalSolverLanguageParser.g:2130:1: rule__Multiplicity__Alternatives : ( ( ruleManyMultiplicity ) | ( ruleExactMultiplicity ) | ( ruleBoundedMultiplicity ) ); - public final void rule__Multiplicity__Alternatives() throws RecognitionException { + // $ANTLR start "rule__ClassDeclaration__Alternatives_4" + // InternalSolverLanguageParser.g:2373:1: rule__ClassDeclaration__Alternatives_4 : ( ( ( rule__ClassDeclaration__Group_4_0__0 ) ) | ( RULE_FULL_STOP ) ); + public final void rule__ClassDeclaration__Alternatives_4() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:2134:1: ( ( ruleManyMultiplicity ) | ( ruleExactMultiplicity ) | ( ruleBoundedMultiplicity ) ) - int alt13=3; - int LA13_0 = input.LA(1); - - if ( (LA13_0==LeftSquareBracket) ) { - switch ( input.LA(2) ) { - case RULE_INT: - { - int LA13_2 = input.LA(3); + // InternalSolverLanguageParser.g:2377:1: ( ( ( rule__ClassDeclaration__Group_4_0__0 ) ) | ( RULE_FULL_STOP ) ) + int alt14=2; + int LA14_0 = input.LA(1); - if ( (LA13_2==RightSquareBracket) ) { - alt13=2; - } - else if ( (LA13_2==FullStopFullStop) ) { - alt13=3; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 13, 2, input); + if ( (LA14_0==LeftCurlyBracket) ) { + alt14=1; + } + else if ( (LA14_0==RULE_FULL_STOP) ) { + alt14=2; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 14, 0, input); + + throw nvae; + } + switch (alt14) { + case 1 : + // InternalSolverLanguageParser.g:2378:2: ( ( rule__ClassDeclaration__Group_4_0__0 ) ) + { + // InternalSolverLanguageParser.g:2378:2: ( ( rule__ClassDeclaration__Group_4_0__0 ) ) + // InternalSolverLanguageParser.g:2379:3: ( rule__ClassDeclaration__Group_4_0__0 ) + { + before(grammarAccess.getClassDeclarationAccess().getGroup_4_0()); + // InternalSolverLanguageParser.g:2380:3: ( rule__ClassDeclaration__Group_4_0__0 ) + // InternalSolverLanguageParser.g:2380:4: rule__ClassDeclaration__Group_4_0__0 + { + pushFollow(FOLLOW_2); + rule__ClassDeclaration__Group_4_0__0(); + + state._fsp--; + + + } + + after(grammarAccess.getClassDeclarationAccess().getGroup_4_0()); - throw nvae; } + + } break; - case RightSquareBracket: + case 2 : + // InternalSolverLanguageParser.g:2384:2: ( RULE_FULL_STOP ) + { + // InternalSolverLanguageParser.g:2384:2: ( RULE_FULL_STOP ) + // InternalSolverLanguageParser.g:2385:3: RULE_FULL_STOP + { + before(grammarAccess.getClassDeclarationAccess().getFULL_STOPTerminalRuleCall_4_1()); + match(input,RULE_FULL_STOP,FOLLOW_2); + after(grammarAccess.getClassDeclarationAccess().getFULL_STOPTerminalRuleCall_4_1()); + + } + + + } + break; + + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ClassDeclaration__Alternatives_4" + + + // $ANTLR start "rule__Field__Alternatives_0" + // InternalSolverLanguageParser.g:2394:1: rule__Field__Alternatives_0 : ( ( ( rule__Field__ContainmentAssignment_0_0 ) ) | ( ( rule__Field__CrossReferenceAssignment_0_1 ) ) ); + public final void rule__Field__Alternatives_0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:2398:1: ( ( ( rule__Field__ContainmentAssignment_0_0 ) ) | ( ( rule__Field__CrossReferenceAssignment_0_1 ) ) ) + int alt15=2; + int LA15_0 = input.LA(1); + + if ( (LA15_0==Contains) ) { + alt15=1; + } + else if ( (LA15_0==Refers) ) { + alt15=2; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 15, 0, input); + + throw nvae; + } + switch (alt15) { + case 1 : + // InternalSolverLanguageParser.g:2399:2: ( ( rule__Field__ContainmentAssignment_0_0 ) ) + { + // InternalSolverLanguageParser.g:2399:2: ( ( rule__Field__ContainmentAssignment_0_0 ) ) + // InternalSolverLanguageParser.g:2400:3: ( rule__Field__ContainmentAssignment_0_0 ) + { + before(grammarAccess.getFieldAccess().getContainmentAssignment_0_0()); + // InternalSolverLanguageParser.g:2401:3: ( rule__Field__ContainmentAssignment_0_0 ) + // InternalSolverLanguageParser.g:2401:4: rule__Field__ContainmentAssignment_0_0 { - alt13=1; + pushFollow(FOLLOW_2); + rule__Field__ContainmentAssignment_0_0(); + + state._fsp--; + + + } + + after(grammarAccess.getFieldAccess().getContainmentAssignment_0_0()); + + } + + + } + break; + case 2 : + // InternalSolverLanguageParser.g:2405:2: ( ( rule__Field__CrossReferenceAssignment_0_1 ) ) + { + // InternalSolverLanguageParser.g:2405:2: ( ( rule__Field__CrossReferenceAssignment_0_1 ) ) + // InternalSolverLanguageParser.g:2406:3: ( rule__Field__CrossReferenceAssignment_0_1 ) + { + before(grammarAccess.getFieldAccess().getCrossReferenceAssignment_0_1()); + // InternalSolverLanguageParser.g:2407:3: ( rule__Field__CrossReferenceAssignment_0_1 ) + // InternalSolverLanguageParser.g:2407:4: rule__Field__CrossReferenceAssignment_0_1 + { + pushFollow(FOLLOW_2); + rule__Field__CrossReferenceAssignment_0_1(); + + state._fsp--; + + + } + + after(grammarAccess.getFieldAccess().getCrossReferenceAssignment_0_1()); + + } + + + } + break; + + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Field__Alternatives_0" + + + // $ANTLR start "rule__Multiplicity__Alternatives" + // InternalSolverLanguageParser.g:2415:1: rule__Multiplicity__Alternatives : ( ( ruleUnboundedMultiplicity ) | ( ruleExactMultiplicity ) | ( ruleBoundedMultiplicity ) ); + public final void rule__Multiplicity__Alternatives() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:2419:1: ( ( ruleUnboundedMultiplicity ) | ( ruleExactMultiplicity ) | ( ruleBoundedMultiplicity ) ) + int alt16=3; + int LA16_0 = input.LA(1); + + if ( (LA16_0==LeftSquareBracket) ) { + switch ( input.LA(2) ) { + case RULE_INT: + { + int LA16_2 = input.LA(3); + + if ( (LA16_2==Comma) ) { + alt16=3; + } + else if ( (LA16_2==RightSquareBracket) ) { + alt16=2; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 16, 2, input); + + throw nvae; + } } break; case Asterisk: { - alt13=2; + alt16=2; + } + break; + case RightSquareBracket: + { + alt16=1; } break; default: NoViableAltException nvae = - new NoViableAltException("", 13, 1, input); + new NoViableAltException("", 16, 1, input); throw nvae; } @@ -6661,24 +7609,24 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } else { NoViableAltException nvae = - new NoViableAltException("", 13, 0, input); + new NoViableAltException("", 16, 0, input); throw nvae; } - switch (alt13) { + switch (alt16) { case 1 : - // InternalSolverLanguageParser.g:2135:2: ( ruleManyMultiplicity ) + // InternalSolverLanguageParser.g:2420:2: ( ruleUnboundedMultiplicity ) { - // InternalSolverLanguageParser.g:2135:2: ( ruleManyMultiplicity ) - // InternalSolverLanguageParser.g:2136:3: ruleManyMultiplicity + // InternalSolverLanguageParser.g:2420:2: ( ruleUnboundedMultiplicity ) + // InternalSolverLanguageParser.g:2421:3: ruleUnboundedMultiplicity { - before(grammarAccess.getMultiplicityAccess().getManyMultiplicityParserRuleCall_0()); + before(grammarAccess.getMultiplicityAccess().getUnboundedMultiplicityParserRuleCall_0()); pushFollow(FOLLOW_2); - ruleManyMultiplicity(); + ruleUnboundedMultiplicity(); state._fsp--; - after(grammarAccess.getMultiplicityAccess().getManyMultiplicityParserRuleCall_0()); + after(grammarAccess.getMultiplicityAccess().getUnboundedMultiplicityParserRuleCall_0()); } @@ -6686,10 +7634,10 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } break; case 2 : - // InternalSolverLanguageParser.g:2141:2: ( ruleExactMultiplicity ) + // InternalSolverLanguageParser.g:2426:2: ( ruleExactMultiplicity ) { - // InternalSolverLanguageParser.g:2141:2: ( ruleExactMultiplicity ) - // InternalSolverLanguageParser.g:2142:3: ruleExactMultiplicity + // InternalSolverLanguageParser.g:2426:2: ( ruleExactMultiplicity ) + // InternalSolverLanguageParser.g:2427:3: ruleExactMultiplicity { before(grammarAccess.getMultiplicityAccess().getExactMultiplicityParserRuleCall_1()); pushFollow(FOLLOW_2); @@ -6705,10 +7653,10 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } break; case 3 : - // InternalSolverLanguageParser.g:2147:2: ( ruleBoundedMultiplicity ) + // InternalSolverLanguageParser.g:2432:2: ( ruleBoundedMultiplicity ) { - // InternalSolverLanguageParser.g:2147:2: ( ruleBoundedMultiplicity ) - // InternalSolverLanguageParser.g:2148:3: ruleBoundedMultiplicity + // InternalSolverLanguageParser.g:2432:2: ( ruleBoundedMultiplicity ) + // InternalSolverLanguageParser.g:2433:3: ruleBoundedMultiplicity { before(grammarAccess.getMultiplicityAccess().getBoundedMultiplicityParserRuleCall_2()); pushFollow(FOLLOW_2); @@ -6740,30 +7688,111 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR end "rule__Multiplicity__Alternatives" - // $ANTLR start "rule__ScopeDefinition__Alternatives" - // InternalSolverLanguageParser.g:2157:1: rule__ScopeDefinition__Alternatives : ( ( ruleExactScopeDefinition ) | ( ruleBoundedScopeDefinition ) | ( ruleLowerBoundedScopeDefinition ) ); - public final void rule__ScopeDefinition__Alternatives() throws RecognitionException { + // $ANTLR start "rule__EnumDeclaration__Alternatives_2" + // InternalSolverLanguageParser.g:2442:1: rule__EnumDeclaration__Alternatives_2 : ( ( ( rule__EnumDeclaration__Group_2_0__0 ) ) | ( RULE_FULL_STOP ) ); + public final void rule__EnumDeclaration__Alternatives_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:2161:1: ( ( ruleExactScopeDefinition ) | ( ruleBoundedScopeDefinition ) | ( ruleLowerBoundedScopeDefinition ) ) - int alt14=3; - alt14 = dfa14.predict(input); - switch (alt14) { + // InternalSolverLanguageParser.g:2446:1: ( ( ( rule__EnumDeclaration__Group_2_0__0 ) ) | ( RULE_FULL_STOP ) ) + int alt17=2; + int LA17_0 = input.LA(1); + + if ( (LA17_0==LeftCurlyBracket) ) { + alt17=1; + } + else if ( (LA17_0==RULE_FULL_STOP) ) { + alt17=2; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 17, 0, input); + + throw nvae; + } + switch (alt17) { + case 1 : + // InternalSolverLanguageParser.g:2447:2: ( ( rule__EnumDeclaration__Group_2_0__0 ) ) + { + // InternalSolverLanguageParser.g:2447:2: ( ( rule__EnumDeclaration__Group_2_0__0 ) ) + // InternalSolverLanguageParser.g:2448:3: ( rule__EnumDeclaration__Group_2_0__0 ) + { + before(grammarAccess.getEnumDeclarationAccess().getGroup_2_0()); + // InternalSolverLanguageParser.g:2449:3: ( rule__EnumDeclaration__Group_2_0__0 ) + // InternalSolverLanguageParser.g:2449:4: rule__EnumDeclaration__Group_2_0__0 + { + pushFollow(FOLLOW_2); + rule__EnumDeclaration__Group_2_0__0(); + + state._fsp--; + + + } + + after(grammarAccess.getEnumDeclarationAccess().getGroup_2_0()); + + } + + + } + break; + case 2 : + // InternalSolverLanguageParser.g:2453:2: ( RULE_FULL_STOP ) + { + // InternalSolverLanguageParser.g:2453:2: ( RULE_FULL_STOP ) + // InternalSolverLanguageParser.g:2454:3: RULE_FULL_STOP + { + before(grammarAccess.getEnumDeclarationAccess().getFULL_STOPTerminalRuleCall_2_1()); + match(input,RULE_FULL_STOP,FOLLOW_2); + after(grammarAccess.getEnumDeclarationAccess().getFULL_STOPTerminalRuleCall_2_1()); + + } + + + } + break; + + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__EnumDeclaration__Alternatives_2" + + + // $ANTLR start "rule__ScopeDeclaration__Alternatives" + // InternalSolverLanguageParser.g:2463:1: rule__ScopeDeclaration__Alternatives : ( ( ruleExactScope ) | ( ruleBoundedScope ) | ( ruleLowerBoundedScope ) ); + public final void rule__ScopeDeclaration__Alternatives() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:2467:1: ( ( ruleExactScope ) | ( ruleBoundedScope ) | ( ruleLowerBoundedScope ) ) + int alt18=3; + alt18 = dfa18.predict(input); + switch (alt18) { case 1 : - // InternalSolverLanguageParser.g:2162:2: ( ruleExactScopeDefinition ) + // InternalSolverLanguageParser.g:2468:2: ( ruleExactScope ) { - // InternalSolverLanguageParser.g:2162:2: ( ruleExactScopeDefinition ) - // InternalSolverLanguageParser.g:2163:3: ruleExactScopeDefinition + // InternalSolverLanguageParser.g:2468:2: ( ruleExactScope ) + // InternalSolverLanguageParser.g:2469:3: ruleExactScope { - before(grammarAccess.getScopeDefinitionAccess().getExactScopeDefinitionParserRuleCall_0()); + before(grammarAccess.getScopeDeclarationAccess().getExactScopeParserRuleCall_0()); pushFollow(FOLLOW_2); - ruleExactScopeDefinition(); + ruleExactScope(); state._fsp--; - after(grammarAccess.getScopeDefinitionAccess().getExactScopeDefinitionParserRuleCall_0()); + after(grammarAccess.getScopeDeclarationAccess().getExactScopeParserRuleCall_0()); } @@ -6771,18 +7800,18 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } break; case 2 : - // InternalSolverLanguageParser.g:2168:2: ( ruleBoundedScopeDefinition ) + // InternalSolverLanguageParser.g:2474:2: ( ruleBoundedScope ) { - // InternalSolverLanguageParser.g:2168:2: ( ruleBoundedScopeDefinition ) - // InternalSolverLanguageParser.g:2169:3: ruleBoundedScopeDefinition + // InternalSolverLanguageParser.g:2474:2: ( ruleBoundedScope ) + // InternalSolverLanguageParser.g:2475:3: ruleBoundedScope { - before(grammarAccess.getScopeDefinitionAccess().getBoundedScopeDefinitionParserRuleCall_1()); + before(grammarAccess.getScopeDeclarationAccess().getBoundedScopeParserRuleCall_1()); pushFollow(FOLLOW_2); - ruleBoundedScopeDefinition(); + ruleBoundedScope(); state._fsp--; - after(grammarAccess.getScopeDefinitionAccess().getBoundedScopeDefinitionParserRuleCall_1()); + after(grammarAccess.getScopeDeclarationAccess().getBoundedScopeParserRuleCall_1()); } @@ -6790,18 +7819,18 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } break; case 3 : - // InternalSolverLanguageParser.g:2174:2: ( ruleLowerBoundedScopeDefinition ) + // InternalSolverLanguageParser.g:2480:2: ( ruleLowerBoundedScope ) { - // InternalSolverLanguageParser.g:2174:2: ( ruleLowerBoundedScopeDefinition ) - // InternalSolverLanguageParser.g:2175:3: ruleLowerBoundedScopeDefinition + // InternalSolverLanguageParser.g:2480:2: ( ruleLowerBoundedScope ) + // InternalSolverLanguageParser.g:2481:3: ruleLowerBoundedScope { - before(grammarAccess.getScopeDefinitionAccess().getLowerBoundedScopeDefinitionParserRuleCall_2()); + before(grammarAccess.getScopeDeclarationAccess().getLowerBoundedScopeParserRuleCall_2()); pushFollow(FOLLOW_2); - ruleLowerBoundedScopeDefinition(); + ruleLowerBoundedScope(); state._fsp--; - after(grammarAccess.getScopeDefinitionAccess().getLowerBoundedScopeDefinitionParserRuleCall_2()); + after(grammarAccess.getScopeDeclarationAccess().getLowerBoundedScopeParserRuleCall_2()); } @@ -6822,65 +7851,65 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ScopeDefinition__Alternatives" + // $ANTLR end "rule__ScopeDeclaration__Alternatives" - // $ANTLR start "rule__BoundedScopeDefinition__Alternatives_1" - // InternalSolverLanguageParser.g:2184:1: rule__BoundedScopeDefinition__Alternatives_1 : ( ( ( rule__BoundedScopeDefinition__Group_1_0__0 ) ) | ( ( rule__BoundedScopeDefinition__Group_1_1__0 ) ) ); - public final void rule__BoundedScopeDefinition__Alternatives_1() throws RecognitionException { + // $ANTLR start "rule__BoundedScope__Alternatives_1" + // InternalSolverLanguageParser.g:2490:1: rule__BoundedScope__Alternatives_1 : ( ( ( rule__BoundedScope__Group_1_0__0 ) ) | ( ( rule__BoundedScope__Group_1_1__0 ) ) ); + public final void rule__BoundedScope__Alternatives_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:2188:1: ( ( ( rule__BoundedScopeDefinition__Group_1_0__0 ) ) | ( ( rule__BoundedScopeDefinition__Group_1_1__0 ) ) ) - int alt15=2; - int LA15_0 = input.LA(1); + // InternalSolverLanguageParser.g:2494:1: ( ( ( rule__BoundedScope__Group_1_0__0 ) ) | ( ( rule__BoundedScope__Group_1_1__0 ) ) ) + int alt19=2; + int LA19_0 = input.LA(1); - if ( (LA15_0==RULE_INT) ) { - int LA15_1 = input.LA(2); + if ( (LA19_0==RULE_INT) ) { + int LA19_1 = input.LA(2); - if ( (LA15_1==GreaterThanSignEqualsSign) ) { - alt15=2; + if ( (LA19_1==LessThanSignEqualsSign) ) { + alt19=1; } - else if ( (LA15_1==LessThanSignEqualsSign) ) { - alt15=1; + else if ( (LA19_1==GreaterThanSignEqualsSign) ) { + alt19=2; } else { NoViableAltException nvae = - new NoViableAltException("", 15, 1, input); + new NoViableAltException("", 19, 1, input); throw nvae; } } - else if ( (LA15_0==RULE_QUOTED_ID||LA15_0==RULE_ID) ) { - alt15=1; + else if ( (LA19_0==Object||LA19_0==RULE_QUOTED_ID||LA19_0==RULE_ID) ) { + alt19=1; } else { NoViableAltException nvae = - new NoViableAltException("", 15, 0, input); + new NoViableAltException("", 19, 0, input); throw nvae; } - switch (alt15) { + switch (alt19) { case 1 : - // InternalSolverLanguageParser.g:2189:2: ( ( rule__BoundedScopeDefinition__Group_1_0__0 ) ) + // InternalSolverLanguageParser.g:2495:2: ( ( rule__BoundedScope__Group_1_0__0 ) ) { - // InternalSolverLanguageParser.g:2189:2: ( ( rule__BoundedScopeDefinition__Group_1_0__0 ) ) - // InternalSolverLanguageParser.g:2190:3: ( rule__BoundedScopeDefinition__Group_1_0__0 ) + // InternalSolverLanguageParser.g:2495:2: ( ( rule__BoundedScope__Group_1_0__0 ) ) + // InternalSolverLanguageParser.g:2496:3: ( rule__BoundedScope__Group_1_0__0 ) { - before(grammarAccess.getBoundedScopeDefinitionAccess().getGroup_1_0()); - // InternalSolverLanguageParser.g:2191:3: ( rule__BoundedScopeDefinition__Group_1_0__0 ) - // InternalSolverLanguageParser.g:2191:4: rule__BoundedScopeDefinition__Group_1_0__0 + before(grammarAccess.getBoundedScopeAccess().getGroup_1_0()); + // InternalSolverLanguageParser.g:2497:3: ( rule__BoundedScope__Group_1_0__0 ) + // InternalSolverLanguageParser.g:2497:4: rule__BoundedScope__Group_1_0__0 { pushFollow(FOLLOW_2); - rule__BoundedScopeDefinition__Group_1_0__0(); + rule__BoundedScope__Group_1_0__0(); state._fsp--; } - after(grammarAccess.getBoundedScopeDefinitionAccess().getGroup_1_0()); + after(grammarAccess.getBoundedScopeAccess().getGroup_1_0()); } @@ -6888,24 +7917,24 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } break; case 2 : - // InternalSolverLanguageParser.g:2195:2: ( ( rule__BoundedScopeDefinition__Group_1_1__0 ) ) + // InternalSolverLanguageParser.g:2501:2: ( ( rule__BoundedScope__Group_1_1__0 ) ) { - // InternalSolverLanguageParser.g:2195:2: ( ( rule__BoundedScopeDefinition__Group_1_1__0 ) ) - // InternalSolverLanguageParser.g:2196:3: ( rule__BoundedScopeDefinition__Group_1_1__0 ) + // InternalSolverLanguageParser.g:2501:2: ( ( rule__BoundedScope__Group_1_1__0 ) ) + // InternalSolverLanguageParser.g:2502:3: ( rule__BoundedScope__Group_1_1__0 ) { - before(grammarAccess.getBoundedScopeDefinitionAccess().getGroup_1_1()); - // InternalSolverLanguageParser.g:2197:3: ( rule__BoundedScopeDefinition__Group_1_1__0 ) - // InternalSolverLanguageParser.g:2197:4: rule__BoundedScopeDefinition__Group_1_1__0 + before(grammarAccess.getBoundedScopeAccess().getGroup_1_1()); + // InternalSolverLanguageParser.g:2503:3: ( rule__BoundedScope__Group_1_1__0 ) + // InternalSolverLanguageParser.g:2503:4: rule__BoundedScope__Group_1_1__0 { pushFollow(FOLLOW_2); - rule__BoundedScopeDefinition__Group_1_1__0(); + rule__BoundedScope__Group_1_1__0(); state._fsp--; } - after(grammarAccess.getBoundedScopeDefinitionAccess().getGroup_1_1()); + after(grammarAccess.getBoundedScopeAccess().getGroup_1_1()); } @@ -6926,52 +7955,52 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__BoundedScopeDefinition__Alternatives_1" + // $ANTLR end "rule__BoundedScope__Alternatives_1" - // $ANTLR start "rule__LowerBoundedScopeDefinition__Alternatives_1" - // InternalSolverLanguageParser.g:2205:1: rule__LowerBoundedScopeDefinition__Alternatives_1 : ( ( ( rule__LowerBoundedScopeDefinition__Group_1_0__0 ) ) | ( ( rule__LowerBoundedScopeDefinition__Group_1_1__0 ) ) ); - public final void rule__LowerBoundedScopeDefinition__Alternatives_1() throws RecognitionException { + // $ANTLR start "rule__LowerBoundedScope__Alternatives_1" + // InternalSolverLanguageParser.g:2511:1: rule__LowerBoundedScope__Alternatives_1 : ( ( ( rule__LowerBoundedScope__Group_1_0__0 ) ) | ( ( rule__LowerBoundedScope__Group_1_1__0 ) ) ); + public final void rule__LowerBoundedScope__Alternatives_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:2209:1: ( ( ( rule__LowerBoundedScopeDefinition__Group_1_0__0 ) ) | ( ( rule__LowerBoundedScopeDefinition__Group_1_1__0 ) ) ) - int alt16=2; - int LA16_0 = input.LA(1); + // InternalSolverLanguageParser.g:2515:1: ( ( ( rule__LowerBoundedScope__Group_1_0__0 ) ) | ( ( rule__LowerBoundedScope__Group_1_1__0 ) ) ) + int alt20=2; + int LA20_0 = input.LA(1); - if ( (LA16_0==RULE_INT) ) { - alt16=1; + if ( (LA20_0==RULE_INT) ) { + alt20=1; } - else if ( (LA16_0==RULE_QUOTED_ID||LA16_0==RULE_ID) ) { - alt16=2; + else if ( (LA20_0==Object||LA20_0==RULE_QUOTED_ID||LA20_0==RULE_ID) ) { + alt20=2; } else { NoViableAltException nvae = - new NoViableAltException("", 16, 0, input); + new NoViableAltException("", 20, 0, input); throw nvae; } - switch (alt16) { + switch (alt20) { case 1 : - // InternalSolverLanguageParser.g:2210:2: ( ( rule__LowerBoundedScopeDefinition__Group_1_0__0 ) ) + // InternalSolverLanguageParser.g:2516:2: ( ( rule__LowerBoundedScope__Group_1_0__0 ) ) { - // InternalSolverLanguageParser.g:2210:2: ( ( rule__LowerBoundedScopeDefinition__Group_1_0__0 ) ) - // InternalSolverLanguageParser.g:2211:3: ( rule__LowerBoundedScopeDefinition__Group_1_0__0 ) + // InternalSolverLanguageParser.g:2516:2: ( ( rule__LowerBoundedScope__Group_1_0__0 ) ) + // InternalSolverLanguageParser.g:2517:3: ( rule__LowerBoundedScope__Group_1_0__0 ) { - before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getGroup_1_0()); - // InternalSolverLanguageParser.g:2212:3: ( rule__LowerBoundedScopeDefinition__Group_1_0__0 ) - // InternalSolverLanguageParser.g:2212:4: rule__LowerBoundedScopeDefinition__Group_1_0__0 + before(grammarAccess.getLowerBoundedScopeAccess().getGroup_1_0()); + // InternalSolverLanguageParser.g:2518:3: ( rule__LowerBoundedScope__Group_1_0__0 ) + // InternalSolverLanguageParser.g:2518:4: rule__LowerBoundedScope__Group_1_0__0 { pushFollow(FOLLOW_2); - rule__LowerBoundedScopeDefinition__Group_1_0__0(); + rule__LowerBoundedScope__Group_1_0__0(); state._fsp--; } - after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getGroup_1_0()); + after(grammarAccess.getLowerBoundedScopeAccess().getGroup_1_0()); } @@ -6979,24 +8008,24 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } break; case 2 : - // InternalSolverLanguageParser.g:2216:2: ( ( rule__LowerBoundedScopeDefinition__Group_1_1__0 ) ) + // InternalSolverLanguageParser.g:2522:2: ( ( rule__LowerBoundedScope__Group_1_1__0 ) ) { - // InternalSolverLanguageParser.g:2216:2: ( ( rule__LowerBoundedScopeDefinition__Group_1_1__0 ) ) - // InternalSolverLanguageParser.g:2217:3: ( rule__LowerBoundedScopeDefinition__Group_1_1__0 ) + // InternalSolverLanguageParser.g:2522:2: ( ( rule__LowerBoundedScope__Group_1_1__0 ) ) + // InternalSolverLanguageParser.g:2523:3: ( rule__LowerBoundedScope__Group_1_1__0 ) { - before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getGroup_1_1()); - // InternalSolverLanguageParser.g:2218:3: ( rule__LowerBoundedScopeDefinition__Group_1_1__0 ) - // InternalSolverLanguageParser.g:2218:4: rule__LowerBoundedScopeDefinition__Group_1_1__0 + before(grammarAccess.getLowerBoundedScopeAccess().getGroup_1_1()); + // InternalSolverLanguageParser.g:2524:3: ( rule__LowerBoundedScope__Group_1_1__0 ) + // InternalSolverLanguageParser.g:2524:4: rule__LowerBoundedScope__Group_1_1__0 { pushFollow(FOLLOW_2); - rule__LowerBoundedScopeDefinition__Group_1_1__0(); + rule__LowerBoundedScope__Group_1_1__0(); state._fsp--; } - after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getGroup_1_1()); + after(grammarAccess.getLowerBoundedScopeAccess().getGroup_1_1()); } @@ -7017,38 +8046,38 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__LowerBoundedScopeDefinition__Alternatives_1" + // $ANTLR end "rule__LowerBoundedScope__Alternatives_1" // $ANTLR start "rule__UpperMultiplicty__Alternatives" - // InternalSolverLanguageParser.g:2226:1: rule__UpperMultiplicty__Alternatives : ( ( RULE_INT ) | ( Asterisk ) ); + // InternalSolverLanguageParser.g:2532:1: rule__UpperMultiplicty__Alternatives : ( ( RULE_INT ) | ( Asterisk ) ); public final void rule__UpperMultiplicty__Alternatives() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:2230:1: ( ( RULE_INT ) | ( Asterisk ) ) - int alt17=2; - int LA17_0 = input.LA(1); + // InternalSolverLanguageParser.g:2536:1: ( ( RULE_INT ) | ( Asterisk ) ) + int alt21=2; + int LA21_0 = input.LA(1); - if ( (LA17_0==RULE_INT) ) { - alt17=1; + if ( (LA21_0==RULE_INT) ) { + alt21=1; } - else if ( (LA17_0==Asterisk) ) { - alt17=2; + else if ( (LA21_0==Asterisk) ) { + alt21=2; } else { NoViableAltException nvae = - new NoViableAltException("", 17, 0, input); + new NoViableAltException("", 21, 0, input); throw nvae; } - switch (alt17) { + switch (alt21) { case 1 : - // InternalSolverLanguageParser.g:2231:2: ( RULE_INT ) + // InternalSolverLanguageParser.g:2537:2: ( RULE_INT ) { - // InternalSolverLanguageParser.g:2231:2: ( RULE_INT ) - // InternalSolverLanguageParser.g:2232:3: RULE_INT + // InternalSolverLanguageParser.g:2537:2: ( RULE_INT ) + // InternalSolverLanguageParser.g:2538:3: RULE_INT { before(grammarAccess.getUpperMultiplictyAccess().getINTTerminalRuleCall_0()); match(input,RULE_INT,FOLLOW_2); @@ -7060,10 +8089,10 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } break; case 2 : - // InternalSolverLanguageParser.g:2237:2: ( Asterisk ) + // InternalSolverLanguageParser.g:2543:2: ( Asterisk ) { - // InternalSolverLanguageParser.g:2237:2: ( Asterisk ) - // InternalSolverLanguageParser.g:2238:3: Asterisk + // InternalSolverLanguageParser.g:2543:2: ( Asterisk ) + // InternalSolverLanguageParser.g:2544:3: Asterisk { before(grammarAccess.getUpperMultiplictyAccess().getAsteriskKeyword_1()); match(input,Asterisk,FOLLOW_2); @@ -7091,49 +8120,154 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR end "rule__UpperMultiplicty__Alternatives" - // $ANTLR start "rule__QualifiedName__Alternatives" - // InternalSolverLanguageParser.g:2247:1: rule__QualifiedName__Alternatives : ( ( ( rule__QualifiedName__Group_0__0 ) ) | ( RULE_QUOTED_ID ) ); - public final void rule__QualifiedName__Alternatives() throws RecognitionException { + // $ANTLR start "rule__QualifiedNameSegment__Alternatives" + // InternalSolverLanguageParser.g:2553:1: rule__QualifiedNameSegment__Alternatives : ( ( RULE_ID ) | ( RULE_QUOTED_ID ) | ( Object ) ); + public final void rule__QualifiedNameSegment__Alternatives() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:2251:1: ( ( ( rule__QualifiedName__Group_0__0 ) ) | ( RULE_QUOTED_ID ) ) - int alt18=2; - int LA18_0 = input.LA(1); - - if ( (LA18_0==RULE_ID) ) { - alt18=1; - } - else if ( (LA18_0==RULE_QUOTED_ID) ) { - alt18=2; - } - else { + // InternalSolverLanguageParser.g:2557:1: ( ( RULE_ID ) | ( RULE_QUOTED_ID ) | ( Object ) ) + int alt22=3; + switch ( input.LA(1) ) { + case RULE_ID: + { + alt22=1; + } + break; + case RULE_QUOTED_ID: + { + alt22=2; + } + break; + case Object: + { + alt22=3; + } + break; + default: NoViableAltException nvae = - new NoViableAltException("", 18, 0, input); + new NoViableAltException("", 22, 0, input); throw nvae; } - switch (alt18) { + + switch (alt22) { case 1 : - // InternalSolverLanguageParser.g:2252:2: ( ( rule__QualifiedName__Group_0__0 ) ) - { - // InternalSolverLanguageParser.g:2252:2: ( ( rule__QualifiedName__Group_0__0 ) ) - // InternalSolverLanguageParser.g:2253:3: ( rule__QualifiedName__Group_0__0 ) + // InternalSolverLanguageParser.g:2558:2: ( RULE_ID ) { - before(grammarAccess.getQualifiedNameAccess().getGroup_0()); - // InternalSolverLanguageParser.g:2254:3: ( rule__QualifiedName__Group_0__0 ) - // InternalSolverLanguageParser.g:2254:4: rule__QualifiedName__Group_0__0 + // InternalSolverLanguageParser.g:2558:2: ( RULE_ID ) + // InternalSolverLanguageParser.g:2559:3: RULE_ID { - pushFollow(FOLLOW_2); - rule__QualifiedName__Group_0__0(); + before(grammarAccess.getQualifiedNameSegmentAccess().getIDTerminalRuleCall_0()); + match(input,RULE_ID,FOLLOW_2); + after(grammarAccess.getQualifiedNameSegmentAccess().getIDTerminalRuleCall_0()); - state._fsp--; + } + + + } + break; + case 2 : + // InternalSolverLanguageParser.g:2564:2: ( RULE_QUOTED_ID ) + { + // InternalSolverLanguageParser.g:2564:2: ( RULE_QUOTED_ID ) + // InternalSolverLanguageParser.g:2565:3: RULE_QUOTED_ID + { + before(grammarAccess.getQualifiedNameSegmentAccess().getQUOTED_IDTerminalRuleCall_1()); + match(input,RULE_QUOTED_ID,FOLLOW_2); + after(grammarAccess.getQualifiedNameSegmentAccess().getQUOTED_IDTerminalRuleCall_1()); + + } + + + } + break; + case 3 : + // InternalSolverLanguageParser.g:2570:2: ( Object ) + { + // InternalSolverLanguageParser.g:2570:2: ( Object ) + // InternalSolverLanguageParser.g:2571:3: Object + { + before(grammarAccess.getQualifiedNameSegmentAccess().getObjectKeyword_2()); + match(input,Object,FOLLOW_2); + after(grammarAccess.getQualifiedNameSegmentAccess().getObjectKeyword_2()); + + } + + + } + break; + + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__QualifiedNameSegment__Alternatives" + + + // $ANTLR start "rule__AttributeKind__Alternatives" + // InternalSolverLanguageParser.g:2580:1: rule__AttributeKind__Alternatives : ( ( ( Functional ) ) | ( ( Error ) ) | ( ( Root ) ) | ( ( Containment ) ) ); + public final void rule__AttributeKind__Alternatives() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:2584:1: ( ( ( Functional ) ) | ( ( Error ) ) | ( ( Root ) ) | ( ( Containment ) ) ) + int alt23=4; + switch ( input.LA(1) ) { + case Functional: + { + alt23=1; + } + break; + case Error: + { + alt23=2; + } + break; + case Root: + { + alt23=3; + } + break; + case Containment: + { + alt23=4; + } + break; + default: + NoViableAltException nvae = + new NoViableAltException("", 23, 0, input); + throw nvae; + } + + switch (alt23) { + case 1 : + // InternalSolverLanguageParser.g:2585:2: ( ( Functional ) ) + { + // InternalSolverLanguageParser.g:2585:2: ( ( Functional ) ) + // InternalSolverLanguageParser.g:2586:3: ( Functional ) + { + before(grammarAccess.getAttributeKindAccess().getFUNCTIONALEnumLiteralDeclaration_0()); + // InternalSolverLanguageParser.g:2587:3: ( Functional ) + // InternalSolverLanguageParser.g:2587:4: Functional + { + match(input,Functional,FOLLOW_2); } - after(grammarAccess.getQualifiedNameAccess().getGroup_0()); + after(grammarAccess.getAttributeKindAccess().getFUNCTIONALEnumLiteralDeclaration_0()); } @@ -7141,14 +8275,62 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } break; case 2 : - // InternalSolverLanguageParser.g:2258:2: ( RULE_QUOTED_ID ) + // InternalSolverLanguageParser.g:2591:2: ( ( Error ) ) { - // InternalSolverLanguageParser.g:2258:2: ( RULE_QUOTED_ID ) - // InternalSolverLanguageParser.g:2259:3: RULE_QUOTED_ID + // InternalSolverLanguageParser.g:2591:2: ( ( Error ) ) + // InternalSolverLanguageParser.g:2592:3: ( Error ) { - before(grammarAccess.getQualifiedNameAccess().getQUOTED_IDTerminalRuleCall_1()); - match(input,RULE_QUOTED_ID,FOLLOW_2); - after(grammarAccess.getQualifiedNameAccess().getQUOTED_IDTerminalRuleCall_1()); + before(grammarAccess.getAttributeKindAccess().getERROREnumLiteralDeclaration_1()); + // InternalSolverLanguageParser.g:2593:3: ( Error ) + // InternalSolverLanguageParser.g:2593:4: Error + { + match(input,Error,FOLLOW_2); + + } + + after(grammarAccess.getAttributeKindAccess().getERROREnumLiteralDeclaration_1()); + + } + + + } + break; + case 3 : + // InternalSolverLanguageParser.g:2597:2: ( ( Root ) ) + { + // InternalSolverLanguageParser.g:2597:2: ( ( Root ) ) + // InternalSolverLanguageParser.g:2598:3: ( Root ) + { + before(grammarAccess.getAttributeKindAccess().getROOTEnumLiteralDeclaration_2()); + // InternalSolverLanguageParser.g:2599:3: ( Root ) + // InternalSolverLanguageParser.g:2599:4: Root + { + match(input,Root,FOLLOW_2); + + } + + after(grammarAccess.getAttributeKindAccess().getROOTEnumLiteralDeclaration_2()); + + } + + + } + break; + case 4 : + // InternalSolverLanguageParser.g:2603:2: ( ( Containment ) ) + { + // InternalSolverLanguageParser.g:2603:2: ( ( Containment ) ) + // InternalSolverLanguageParser.g:2604:3: ( Containment ) + { + before(grammarAccess.getAttributeKindAccess().getCONTAINMENTEnumLiteralDeclaration_3()); + // InternalSolverLanguageParser.g:2605:3: ( Containment ) + // InternalSolverLanguageParser.g:2605:4: Containment + { + match(input,Containment,FOLLOW_2); + + } + + after(grammarAccess.getAttributeKindAccess().getCONTAINMENTEnumLiteralDeclaration_3()); } @@ -7169,77 +8351,77 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__QualifiedName__Alternatives" + // $ANTLR end "rule__AttributeKind__Alternatives" // $ANTLR start "rule__ComparisonOperator__Alternatives" - // InternalSolverLanguageParser.g:2268:1: rule__ComparisonOperator__Alternatives : ( ( ( EqualsSignEqualsSign ) ) | ( ( ExclamationMarkEqualsSign ) ) | ( ( LessThanSign ) ) | ( ( LessThanSignEqualsSign ) ) | ( ( GreaterThanSign ) ) | ( ( GreaterThanSignEqualsSign ) ) | ( ( In ) ) ); + // InternalSolverLanguageParser.g:2613:1: rule__ComparisonOperator__Alternatives : ( ( ( EqualsSignEqualsSign ) ) | ( ( ExclamationMarkEqualsSign ) ) | ( ( LessThanSign ) ) | ( ( LessThanSignEqualsSign ) ) | ( ( GreaterThanSign ) ) | ( ( GreaterThanSignEqualsSign ) ) | ( ( In ) ) ); public final void rule__ComparisonOperator__Alternatives() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:2272:1: ( ( ( EqualsSignEqualsSign ) ) | ( ( ExclamationMarkEqualsSign ) ) | ( ( LessThanSign ) ) | ( ( LessThanSignEqualsSign ) ) | ( ( GreaterThanSign ) ) | ( ( GreaterThanSignEqualsSign ) ) | ( ( In ) ) ) - int alt19=7; + // InternalSolverLanguageParser.g:2617:1: ( ( ( EqualsSignEqualsSign ) ) | ( ( ExclamationMarkEqualsSign ) ) | ( ( LessThanSign ) ) | ( ( LessThanSignEqualsSign ) ) | ( ( GreaterThanSign ) ) | ( ( GreaterThanSignEqualsSign ) ) | ( ( In ) ) ) + int alt24=7; switch ( input.LA(1) ) { case EqualsSignEqualsSign: { - alt19=1; + alt24=1; } break; case ExclamationMarkEqualsSign: { - alt19=2; + alt24=2; } break; case LessThanSign: { - alt19=3; + alt24=3; } break; case LessThanSignEqualsSign: { - alt19=4; + alt24=4; } break; case GreaterThanSign: { - alt19=5; + alt24=5; } break; case GreaterThanSignEqualsSign: { - alt19=6; + alt24=6; } break; case In: { - alt19=7; + alt24=7; } break; default: NoViableAltException nvae = - new NoViableAltException("", 19, 0, input); + new NoViableAltException("", 24, 0, input); throw nvae; } - switch (alt19) { + switch (alt24) { case 1 : - // InternalSolverLanguageParser.g:2273:2: ( ( EqualsSignEqualsSign ) ) + // InternalSolverLanguageParser.g:2618:2: ( ( EqualsSignEqualsSign ) ) { - // InternalSolverLanguageParser.g:2273:2: ( ( EqualsSignEqualsSign ) ) - // InternalSolverLanguageParser.g:2274:3: ( EqualsSignEqualsSign ) + // InternalSolverLanguageParser.g:2618:2: ( ( EqualsSignEqualsSign ) ) + // InternalSolverLanguageParser.g:2619:3: ( EqualsSignEqualsSign ) { - before(grammarAccess.getComparisonOperatorAccess().getEQEnumLiteralDeclaration_0()); - // InternalSolverLanguageParser.g:2275:3: ( EqualsSignEqualsSign ) - // InternalSolverLanguageParser.g:2275:4: EqualsSignEqualsSign + before(grammarAccess.getComparisonOperatorAccess().getEQUALSEnumLiteralDeclaration_0()); + // InternalSolverLanguageParser.g:2620:3: ( EqualsSignEqualsSign ) + // InternalSolverLanguageParser.g:2620:4: EqualsSignEqualsSign { match(input,EqualsSignEqualsSign,FOLLOW_2); } - after(grammarAccess.getComparisonOperatorAccess().getEQEnumLiteralDeclaration_0()); + after(grammarAccess.getComparisonOperatorAccess().getEQUALSEnumLiteralDeclaration_0()); } @@ -7247,20 +8429,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } break; case 2 : - // InternalSolverLanguageParser.g:2279:2: ( ( ExclamationMarkEqualsSign ) ) + // InternalSolverLanguageParser.g:2624:2: ( ( ExclamationMarkEqualsSign ) ) { - // InternalSolverLanguageParser.g:2279:2: ( ( ExclamationMarkEqualsSign ) ) - // InternalSolverLanguageParser.g:2280:3: ( ExclamationMarkEqualsSign ) + // InternalSolverLanguageParser.g:2624:2: ( ( ExclamationMarkEqualsSign ) ) + // InternalSolverLanguageParser.g:2625:3: ( ExclamationMarkEqualsSign ) { - before(grammarAccess.getComparisonOperatorAccess().getNOT_EQEnumLiteralDeclaration_1()); - // InternalSolverLanguageParser.g:2281:3: ( ExclamationMarkEqualsSign ) - // InternalSolverLanguageParser.g:2281:4: ExclamationMarkEqualsSign + before(grammarAccess.getComparisonOperatorAccess().getNOT_EQUALSEnumLiteralDeclaration_1()); + // InternalSolverLanguageParser.g:2626:3: ( ExclamationMarkEqualsSign ) + // InternalSolverLanguageParser.g:2626:4: ExclamationMarkEqualsSign { match(input,ExclamationMarkEqualsSign,FOLLOW_2); } - after(grammarAccess.getComparisonOperatorAccess().getNOT_EQEnumLiteralDeclaration_1()); + after(grammarAccess.getComparisonOperatorAccess().getNOT_EQUALSEnumLiteralDeclaration_1()); } @@ -7268,14 +8450,14 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } break; case 3 : - // InternalSolverLanguageParser.g:2285:2: ( ( LessThanSign ) ) + // InternalSolverLanguageParser.g:2630:2: ( ( LessThanSign ) ) { - // InternalSolverLanguageParser.g:2285:2: ( ( LessThanSign ) ) - // InternalSolverLanguageParser.g:2286:3: ( LessThanSign ) + // InternalSolverLanguageParser.g:2630:2: ( ( LessThanSign ) ) + // InternalSolverLanguageParser.g:2631:3: ( LessThanSign ) { before(grammarAccess.getComparisonOperatorAccess().getLESSEnumLiteralDeclaration_2()); - // InternalSolverLanguageParser.g:2287:3: ( LessThanSign ) - // InternalSolverLanguageParser.g:2287:4: LessThanSign + // InternalSolverLanguageParser.g:2632:3: ( LessThanSign ) + // InternalSolverLanguageParser.g:2632:4: LessThanSign { match(input,LessThanSign,FOLLOW_2); @@ -7289,20 +8471,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } break; case 4 : - // InternalSolverLanguageParser.g:2291:2: ( ( LessThanSignEqualsSign ) ) + // InternalSolverLanguageParser.g:2636:2: ( ( LessThanSignEqualsSign ) ) { - // InternalSolverLanguageParser.g:2291:2: ( ( LessThanSignEqualsSign ) ) - // InternalSolverLanguageParser.g:2292:3: ( LessThanSignEqualsSign ) + // InternalSolverLanguageParser.g:2636:2: ( ( LessThanSignEqualsSign ) ) + // InternalSolverLanguageParser.g:2637:3: ( LessThanSignEqualsSign ) { - before(grammarAccess.getComparisonOperatorAccess().getLESS_EQEnumLiteralDeclaration_3()); - // InternalSolverLanguageParser.g:2293:3: ( LessThanSignEqualsSign ) - // InternalSolverLanguageParser.g:2293:4: LessThanSignEqualsSign + before(grammarAccess.getComparisonOperatorAccess().getLESS_EQUALSEnumLiteralDeclaration_3()); + // InternalSolverLanguageParser.g:2638:3: ( LessThanSignEqualsSign ) + // InternalSolverLanguageParser.g:2638:4: LessThanSignEqualsSign { match(input,LessThanSignEqualsSign,FOLLOW_2); } - after(grammarAccess.getComparisonOperatorAccess().getLESS_EQEnumLiteralDeclaration_3()); + after(grammarAccess.getComparisonOperatorAccess().getLESS_EQUALSEnumLiteralDeclaration_3()); } @@ -7310,14 +8492,14 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } break; case 5 : - // InternalSolverLanguageParser.g:2297:2: ( ( GreaterThanSign ) ) + // InternalSolverLanguageParser.g:2642:2: ( ( GreaterThanSign ) ) { - // InternalSolverLanguageParser.g:2297:2: ( ( GreaterThanSign ) ) - // InternalSolverLanguageParser.g:2298:3: ( GreaterThanSign ) + // InternalSolverLanguageParser.g:2642:2: ( ( GreaterThanSign ) ) + // InternalSolverLanguageParser.g:2643:3: ( GreaterThanSign ) { before(grammarAccess.getComparisonOperatorAccess().getGREATEREnumLiteralDeclaration_4()); - // InternalSolverLanguageParser.g:2299:3: ( GreaterThanSign ) - // InternalSolverLanguageParser.g:2299:4: GreaterThanSign + // InternalSolverLanguageParser.g:2644:3: ( GreaterThanSign ) + // InternalSolverLanguageParser.g:2644:4: GreaterThanSign { match(input,GreaterThanSign,FOLLOW_2); @@ -7331,20 +8513,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } break; case 6 : - // InternalSolverLanguageParser.g:2303:2: ( ( GreaterThanSignEqualsSign ) ) + // InternalSolverLanguageParser.g:2648:2: ( ( GreaterThanSignEqualsSign ) ) { - // InternalSolverLanguageParser.g:2303:2: ( ( GreaterThanSignEqualsSign ) ) - // InternalSolverLanguageParser.g:2304:3: ( GreaterThanSignEqualsSign ) + // InternalSolverLanguageParser.g:2648:2: ( ( GreaterThanSignEqualsSign ) ) + // InternalSolverLanguageParser.g:2649:3: ( GreaterThanSignEqualsSign ) { - before(grammarAccess.getComparisonOperatorAccess().getGREATER_EQEnumLiteralDeclaration_5()); - // InternalSolverLanguageParser.g:2305:3: ( GreaterThanSignEqualsSign ) - // InternalSolverLanguageParser.g:2305:4: GreaterThanSignEqualsSign + before(grammarAccess.getComparisonOperatorAccess().getGREATER_EQUALSEnumLiteralDeclaration_5()); + // InternalSolverLanguageParser.g:2650:3: ( GreaterThanSignEqualsSign ) + // InternalSolverLanguageParser.g:2650:4: GreaterThanSignEqualsSign { match(input,GreaterThanSignEqualsSign,FOLLOW_2); } - after(grammarAccess.getComparisonOperatorAccess().getGREATER_EQEnumLiteralDeclaration_5()); + after(grammarAccess.getComparisonOperatorAccess().getGREATER_EQUALSEnumLiteralDeclaration_5()); } @@ -7352,14 +8534,14 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } break; case 7 : - // InternalSolverLanguageParser.g:2309:2: ( ( In ) ) + // InternalSolverLanguageParser.g:2654:2: ( ( In ) ) { - // InternalSolverLanguageParser.g:2309:2: ( ( In ) ) - // InternalSolverLanguageParser.g:2310:3: ( In ) + // InternalSolverLanguageParser.g:2654:2: ( ( In ) ) + // InternalSolverLanguageParser.g:2655:3: ( In ) { before(grammarAccess.getComparisonOperatorAccess().getINEnumLiteralDeclaration_6()); - // InternalSolverLanguageParser.g:2311:3: ( In ) - // InternalSolverLanguageParser.g:2311:4: In + // InternalSolverLanguageParser.g:2656:3: ( In ) + // InternalSolverLanguageParser.g:2656:4: In { match(input,In,FOLLOW_2); @@ -7390,44 +8572,44 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR start "rule__AdditiveBinaryOperator__Alternatives" - // InternalSolverLanguageParser.g:2319:1: rule__AdditiveBinaryOperator__Alternatives : ( ( ( PlusSign ) ) | ( ( HyphenMinus ) ) ); + // InternalSolverLanguageParser.g:2664:1: rule__AdditiveBinaryOperator__Alternatives : ( ( ( PlusSign ) ) | ( ( HyphenMinus ) ) ); public final void rule__AdditiveBinaryOperator__Alternatives() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:2323:1: ( ( ( PlusSign ) ) | ( ( HyphenMinus ) ) ) - int alt20=2; - int LA20_0 = input.LA(1); + // InternalSolverLanguageParser.g:2668:1: ( ( ( PlusSign ) ) | ( ( HyphenMinus ) ) ) + int alt25=2; + int LA25_0 = input.LA(1); - if ( (LA20_0==PlusSign) ) { - alt20=1; + if ( (LA25_0==PlusSign) ) { + alt25=1; } - else if ( (LA20_0==HyphenMinus) ) { - alt20=2; + else if ( (LA25_0==HyphenMinus) ) { + alt25=2; } else { NoViableAltException nvae = - new NoViableAltException("", 20, 0, input); + new NoViableAltException("", 25, 0, input); throw nvae; } - switch (alt20) { + switch (alt25) { case 1 : - // InternalSolverLanguageParser.g:2324:2: ( ( PlusSign ) ) + // InternalSolverLanguageParser.g:2669:2: ( ( PlusSign ) ) { - // InternalSolverLanguageParser.g:2324:2: ( ( PlusSign ) ) - // InternalSolverLanguageParser.g:2325:3: ( PlusSign ) + // InternalSolverLanguageParser.g:2669:2: ( ( PlusSign ) ) + // InternalSolverLanguageParser.g:2670:3: ( PlusSign ) { - before(grammarAccess.getAdditiveBinaryOperatorAccess().getADDEnumLiteralDeclaration_0()); - // InternalSolverLanguageParser.g:2326:3: ( PlusSign ) - // InternalSolverLanguageParser.g:2326:4: PlusSign + before(grammarAccess.getAdditiveBinaryOperatorAccess().getPLUSEnumLiteralDeclaration_0()); + // InternalSolverLanguageParser.g:2671:3: ( PlusSign ) + // InternalSolverLanguageParser.g:2671:4: PlusSign { match(input,PlusSign,FOLLOW_2); } - after(grammarAccess.getAdditiveBinaryOperatorAccess().getADDEnumLiteralDeclaration_0()); + after(grammarAccess.getAdditiveBinaryOperatorAccess().getPLUSEnumLiteralDeclaration_0()); } @@ -7435,20 +8617,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } break; case 2 : - // InternalSolverLanguageParser.g:2330:2: ( ( HyphenMinus ) ) + // InternalSolverLanguageParser.g:2675:2: ( ( HyphenMinus ) ) { - // InternalSolverLanguageParser.g:2330:2: ( ( HyphenMinus ) ) - // InternalSolverLanguageParser.g:2331:3: ( HyphenMinus ) + // InternalSolverLanguageParser.g:2675:2: ( ( HyphenMinus ) ) + // InternalSolverLanguageParser.g:2676:3: ( HyphenMinus ) { - before(grammarAccess.getAdditiveBinaryOperatorAccess().getSUBEnumLiteralDeclaration_1()); - // InternalSolverLanguageParser.g:2332:3: ( HyphenMinus ) - // InternalSolverLanguageParser.g:2332:4: HyphenMinus + before(grammarAccess.getAdditiveBinaryOperatorAccess().getMINUSEnumLiteralDeclaration_1()); + // InternalSolverLanguageParser.g:2677:3: ( HyphenMinus ) + // InternalSolverLanguageParser.g:2677:4: HyphenMinus { match(input,HyphenMinus,FOLLOW_2); } - after(grammarAccess.getAdditiveBinaryOperatorAccess().getSUBEnumLiteralDeclaration_1()); + after(grammarAccess.getAdditiveBinaryOperatorAccess().getMINUSEnumLiteralDeclaration_1()); } @@ -7473,44 +8655,44 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR start "rule__MultiplicativeBinaryOperator__Alternatives" - // InternalSolverLanguageParser.g:2340:1: rule__MultiplicativeBinaryOperator__Alternatives : ( ( ( Asterisk ) ) | ( ( Solidus ) ) ); + // InternalSolverLanguageParser.g:2685:1: rule__MultiplicativeBinaryOperator__Alternatives : ( ( ( Asterisk ) ) | ( ( Solidus ) ) ); public final void rule__MultiplicativeBinaryOperator__Alternatives() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:2344:1: ( ( ( Asterisk ) ) | ( ( Solidus ) ) ) - int alt21=2; - int LA21_0 = input.LA(1); + // InternalSolverLanguageParser.g:2689:1: ( ( ( Asterisk ) ) | ( ( Solidus ) ) ) + int alt26=2; + int LA26_0 = input.LA(1); - if ( (LA21_0==Asterisk) ) { - alt21=1; + if ( (LA26_0==Asterisk) ) { + alt26=1; } - else if ( (LA21_0==Solidus) ) { - alt21=2; + else if ( (LA26_0==Solidus) ) { + alt26=2; } else { NoViableAltException nvae = - new NoViableAltException("", 21, 0, input); + new NoViableAltException("", 26, 0, input); throw nvae; } - switch (alt21) { + switch (alt26) { case 1 : - // InternalSolverLanguageParser.g:2345:2: ( ( Asterisk ) ) + // InternalSolverLanguageParser.g:2690:2: ( ( Asterisk ) ) { - // InternalSolverLanguageParser.g:2345:2: ( ( Asterisk ) ) - // InternalSolverLanguageParser.g:2346:3: ( Asterisk ) + // InternalSolverLanguageParser.g:2690:2: ( ( Asterisk ) ) + // InternalSolverLanguageParser.g:2691:3: ( Asterisk ) { - before(grammarAccess.getMultiplicativeBinaryOperatorAccess().getMULEnumLiteralDeclaration_0()); - // InternalSolverLanguageParser.g:2347:3: ( Asterisk ) - // InternalSolverLanguageParser.g:2347:4: Asterisk + before(grammarAccess.getMultiplicativeBinaryOperatorAccess().getMULTIPLYEnumLiteralDeclaration_0()); + // InternalSolverLanguageParser.g:2692:3: ( Asterisk ) + // InternalSolverLanguageParser.g:2692:4: Asterisk { match(input,Asterisk,FOLLOW_2); } - after(grammarAccess.getMultiplicativeBinaryOperatorAccess().getMULEnumLiteralDeclaration_0()); + after(grammarAccess.getMultiplicativeBinaryOperatorAccess().getMULTIPLYEnumLiteralDeclaration_0()); } @@ -7518,20 +8700,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } break; case 2 : - // InternalSolverLanguageParser.g:2351:2: ( ( Solidus ) ) + // InternalSolverLanguageParser.g:2696:2: ( ( Solidus ) ) { - // InternalSolverLanguageParser.g:2351:2: ( ( Solidus ) ) - // InternalSolverLanguageParser.g:2352:3: ( Solidus ) + // InternalSolverLanguageParser.g:2696:2: ( ( Solidus ) ) + // InternalSolverLanguageParser.g:2697:3: ( Solidus ) { - before(grammarAccess.getMultiplicativeBinaryOperatorAccess().getDIVEnumLiteralDeclaration_1()); - // InternalSolverLanguageParser.g:2353:3: ( Solidus ) - // InternalSolverLanguageParser.g:2353:4: Solidus + before(grammarAccess.getMultiplicativeBinaryOperatorAccess().getDIVIDEEnumLiteralDeclaration_1()); + // InternalSolverLanguageParser.g:2698:3: ( Solidus ) + // InternalSolverLanguageParser.g:2698:4: Solidus { match(input,Solidus,FOLLOW_2); } - after(grammarAccess.getMultiplicativeBinaryOperatorAccess().getDIVEnumLiteralDeclaration_1()); + after(grammarAccess.getMultiplicativeBinaryOperatorAccess().getDIVIDEEnumLiteralDeclaration_1()); } @@ -7555,69 +8737,59 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR end "rule__MultiplicativeBinaryOperator__Alternatives" - // $ANTLR start "rule__UnaryOp__Alternatives" - // InternalSolverLanguageParser.g:2361:1: rule__UnaryOp__Alternatives : ( ( ( ExclamationMark ) ) | ( ( PlusSign ) ) | ( ( HyphenMinus ) ) | ( ( May ) ) | ( ( Must ) ) | ( ( Current ) ) ); - public final void rule__UnaryOp__Alternatives() throws RecognitionException { + // $ANTLR start "rule__UnaryOperator__Alternatives" + // InternalSolverLanguageParser.g:2706:1: rule__UnaryOperator__Alternatives : ( ( ( ExclamationMark ) ) | ( ( PlusSign ) ) | ( ( HyphenMinus ) ) | ( ( QuestionMark ) ) ); + public final void rule__UnaryOperator__Alternatives() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:2365:1: ( ( ( ExclamationMark ) ) | ( ( PlusSign ) ) | ( ( HyphenMinus ) ) | ( ( May ) ) | ( ( Must ) ) | ( ( Current ) ) ) - int alt22=6; + // InternalSolverLanguageParser.g:2710:1: ( ( ( ExclamationMark ) ) | ( ( PlusSign ) ) | ( ( HyphenMinus ) ) | ( ( QuestionMark ) ) ) + int alt27=4; switch ( input.LA(1) ) { case ExclamationMark: { - alt22=1; + alt27=1; } break; case PlusSign: { - alt22=2; + alt27=2; } break; case HyphenMinus: { - alt22=3; - } - break; - case May: - { - alt22=4; - } - break; - case Must: - { - alt22=5; + alt27=3; } break; - case Current: + case QuestionMark: { - alt22=6; + alt27=4; } break; default: NoViableAltException nvae = - new NoViableAltException("", 22, 0, input); + new NoViableAltException("", 27, 0, input); throw nvae; } - switch (alt22) { + switch (alt27) { case 1 : - // InternalSolverLanguageParser.g:2366:2: ( ( ExclamationMark ) ) + // InternalSolverLanguageParser.g:2711:2: ( ( ExclamationMark ) ) { - // InternalSolverLanguageParser.g:2366:2: ( ( ExclamationMark ) ) - // InternalSolverLanguageParser.g:2367:3: ( ExclamationMark ) + // InternalSolverLanguageParser.g:2711:2: ( ( ExclamationMark ) ) + // InternalSolverLanguageParser.g:2712:3: ( ExclamationMark ) { - before(grammarAccess.getUnaryOpAccess().getNEGEnumLiteralDeclaration_0()); - // InternalSolverLanguageParser.g:2368:3: ( ExclamationMark ) - // InternalSolverLanguageParser.g:2368:4: ExclamationMark + before(grammarAccess.getUnaryOperatorAccess().getNOTEnumLiteralDeclaration_0()); + // InternalSolverLanguageParser.g:2713:3: ( ExclamationMark ) + // InternalSolverLanguageParser.g:2713:4: ExclamationMark { match(input,ExclamationMark,FOLLOW_2); } - after(grammarAccess.getUnaryOpAccess().getNEGEnumLiteralDeclaration_0()); + after(grammarAccess.getUnaryOperatorAccess().getNOTEnumLiteralDeclaration_0()); } @@ -7625,20 +8797,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } break; case 2 : - // InternalSolverLanguageParser.g:2372:2: ( ( PlusSign ) ) + // InternalSolverLanguageParser.g:2717:2: ( ( PlusSign ) ) { - // InternalSolverLanguageParser.g:2372:2: ( ( PlusSign ) ) - // InternalSolverLanguageParser.g:2373:3: ( PlusSign ) + // InternalSolverLanguageParser.g:2717:2: ( ( PlusSign ) ) + // InternalSolverLanguageParser.g:2718:3: ( PlusSign ) { - before(grammarAccess.getUnaryOpAccess().getPLUSEnumLiteralDeclaration_1()); - // InternalSolverLanguageParser.g:2374:3: ( PlusSign ) - // InternalSolverLanguageParser.g:2374:4: PlusSign + before(grammarAccess.getUnaryOperatorAccess().getPLUSEnumLiteralDeclaration_1()); + // InternalSolverLanguageParser.g:2719:3: ( PlusSign ) + // InternalSolverLanguageParser.g:2719:4: PlusSign { match(input,PlusSign,FOLLOW_2); } - after(grammarAccess.getUnaryOpAccess().getPLUSEnumLiteralDeclaration_1()); + after(grammarAccess.getUnaryOperatorAccess().getPLUSEnumLiteralDeclaration_1()); } @@ -7646,20 +8818,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } break; case 3 : - // InternalSolverLanguageParser.g:2378:2: ( ( HyphenMinus ) ) + // InternalSolverLanguageParser.g:2723:2: ( ( HyphenMinus ) ) { - // InternalSolverLanguageParser.g:2378:2: ( ( HyphenMinus ) ) - // InternalSolverLanguageParser.g:2379:3: ( HyphenMinus ) + // InternalSolverLanguageParser.g:2723:2: ( ( HyphenMinus ) ) + // InternalSolverLanguageParser.g:2724:3: ( HyphenMinus ) { - before(grammarAccess.getUnaryOpAccess().getMINUSEnumLiteralDeclaration_2()); - // InternalSolverLanguageParser.g:2380:3: ( HyphenMinus ) - // InternalSolverLanguageParser.g:2380:4: HyphenMinus + before(grammarAccess.getUnaryOperatorAccess().getMINUSEnumLiteralDeclaration_2()); + // InternalSolverLanguageParser.g:2725:3: ( HyphenMinus ) + // InternalSolverLanguageParser.g:2725:4: HyphenMinus { match(input,HyphenMinus,FOLLOW_2); } - after(grammarAccess.getUnaryOpAccess().getMINUSEnumLiteralDeclaration_2()); + after(grammarAccess.getUnaryOperatorAccess().getMINUSEnumLiteralDeclaration_2()); } @@ -7667,62 +8839,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } break; case 4 : - // InternalSolverLanguageParser.g:2384:2: ( ( May ) ) - { - // InternalSolverLanguageParser.g:2384:2: ( ( May ) ) - // InternalSolverLanguageParser.g:2385:3: ( May ) - { - before(grammarAccess.getUnaryOpAccess().getMAYEnumLiteralDeclaration_3()); - // InternalSolverLanguageParser.g:2386:3: ( May ) - // InternalSolverLanguageParser.g:2386:4: May - { - match(input,May,FOLLOW_2); - - } - - after(grammarAccess.getUnaryOpAccess().getMAYEnumLiteralDeclaration_3()); - - } - - - } - break; - case 5 : - // InternalSolverLanguageParser.g:2390:2: ( ( Must ) ) - { - // InternalSolverLanguageParser.g:2390:2: ( ( Must ) ) - // InternalSolverLanguageParser.g:2391:3: ( Must ) - { - before(grammarAccess.getUnaryOpAccess().getMUSTEnumLiteralDeclaration_4()); - // InternalSolverLanguageParser.g:2392:3: ( Must ) - // InternalSolverLanguageParser.g:2392:4: Must - { - match(input,Must,FOLLOW_2); - - } - - after(grammarAccess.getUnaryOpAccess().getMUSTEnumLiteralDeclaration_4()); - - } - - - } - break; - case 6 : - // InternalSolverLanguageParser.g:2396:2: ( ( Current ) ) + // InternalSolverLanguageParser.g:2729:2: ( ( QuestionMark ) ) { - // InternalSolverLanguageParser.g:2396:2: ( ( Current ) ) - // InternalSolverLanguageParser.g:2397:3: ( Current ) + // InternalSolverLanguageParser.g:2729:2: ( ( QuestionMark ) ) + // InternalSolverLanguageParser.g:2730:3: ( QuestionMark ) { - before(grammarAccess.getUnaryOpAccess().getCURRENTEnumLiteralDeclaration_5()); - // InternalSolverLanguageParser.g:2398:3: ( Current ) - // InternalSolverLanguageParser.g:2398:4: Current + before(grammarAccess.getUnaryOperatorAccess().getMAYBEEnumLiteralDeclaration_3()); + // InternalSolverLanguageParser.g:2731:3: ( QuestionMark ) + // InternalSolverLanguageParser.g:2731:4: QuestionMark { - match(input,Current,FOLLOW_2); + match(input,QuestionMark,FOLLOW_2); } - after(grammarAccess.getUnaryOpAccess().getCURRENTEnumLiteralDeclaration_5()); + after(grammarAccess.getUnaryOperatorAccess().getMAYBEEnumLiteralDeclaration_3()); } @@ -7743,57 +8873,62 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__UnaryOp__Alternatives" + // $ANTLR end "rule__UnaryOperator__Alternatives" - // $ANTLR start "rule__Quantifier__Alternatives" - // InternalSolverLanguageParser.g:2406:1: rule__Quantifier__Alternatives : ( ( ( Exists ) ) | ( ( Forall ) ) | ( ( Count ) ) ); - public final void rule__Quantifier__Alternatives() throws RecognitionException { + // $ANTLR start "rule__LogicValue__Alternatives" + // InternalSolverLanguageParser.g:2739:1: rule__LogicValue__Alternatives : ( ( ( True ) ) | ( ( False ) ) | ( ( Unknown ) ) | ( ( Error ) ) ); + public final void rule__LogicValue__Alternatives() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:2410:1: ( ( ( Exists ) ) | ( ( Forall ) ) | ( ( Count ) ) ) - int alt23=3; + // InternalSolverLanguageParser.g:2743:1: ( ( ( True ) ) | ( ( False ) ) | ( ( Unknown ) ) | ( ( Error ) ) ) + int alt28=4; switch ( input.LA(1) ) { - case Exists: + case True: { - alt23=1; + alt28=1; } break; - case Forall: + case False: { - alt23=2; + alt28=2; } break; - case Count: + case Unknown: { - alt23=3; + alt28=3; + } + break; + case Error: + { + alt28=4; } break; default: NoViableAltException nvae = - new NoViableAltException("", 23, 0, input); + new NoViableAltException("", 28, 0, input); throw nvae; } - switch (alt23) { + switch (alt28) { case 1 : - // InternalSolverLanguageParser.g:2411:2: ( ( Exists ) ) + // InternalSolverLanguageParser.g:2744:2: ( ( True ) ) { - // InternalSolverLanguageParser.g:2411:2: ( ( Exists ) ) - // InternalSolverLanguageParser.g:2412:3: ( Exists ) + // InternalSolverLanguageParser.g:2744:2: ( ( True ) ) + // InternalSolverLanguageParser.g:2745:3: ( True ) { - before(grammarAccess.getQuantifierAccess().getEXISTSEnumLiteralDeclaration_0()); - // InternalSolverLanguageParser.g:2413:3: ( Exists ) - // InternalSolverLanguageParser.g:2413:4: Exists + before(grammarAccess.getLogicValueAccess().getTRUEEnumLiteralDeclaration_0()); + // InternalSolverLanguageParser.g:2746:3: ( True ) + // InternalSolverLanguageParser.g:2746:4: True { - match(input,Exists,FOLLOW_2); + match(input,True,FOLLOW_2); } - after(grammarAccess.getQuantifierAccess().getEXISTSEnumLiteralDeclaration_0()); + after(grammarAccess.getLogicValueAccess().getTRUEEnumLiteralDeclaration_0()); } @@ -7801,20 +8936,20 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } break; case 2 : - // InternalSolverLanguageParser.g:2417:2: ( ( Forall ) ) + // InternalSolverLanguageParser.g:2750:2: ( ( False ) ) { - // InternalSolverLanguageParser.g:2417:2: ( ( Forall ) ) - // InternalSolverLanguageParser.g:2418:3: ( Forall ) + // InternalSolverLanguageParser.g:2750:2: ( ( False ) ) + // InternalSolverLanguageParser.g:2751:3: ( False ) { - before(grammarAccess.getQuantifierAccess().getFORALLEnumLiteralDeclaration_1()); - // InternalSolverLanguageParser.g:2419:3: ( Forall ) - // InternalSolverLanguageParser.g:2419:4: Forall + before(grammarAccess.getLogicValueAccess().getFALSEEnumLiteralDeclaration_1()); + // InternalSolverLanguageParser.g:2752:3: ( False ) + // InternalSolverLanguageParser.g:2752:4: False { - match(input,Forall,FOLLOW_2); + match(input,False,FOLLOW_2); } - after(grammarAccess.getQuantifierAccess().getFORALLEnumLiteralDeclaration_1()); + after(grammarAccess.getLogicValueAccess().getFALSEEnumLiteralDeclaration_1()); } @@ -7822,20 +8957,41 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } break; case 3 : - // InternalSolverLanguageParser.g:2423:2: ( ( Count ) ) + // InternalSolverLanguageParser.g:2756:2: ( ( Unknown ) ) + { + // InternalSolverLanguageParser.g:2756:2: ( ( Unknown ) ) + // InternalSolverLanguageParser.g:2757:3: ( Unknown ) + { + before(grammarAccess.getLogicValueAccess().getUNKNOWNEnumLiteralDeclaration_2()); + // InternalSolverLanguageParser.g:2758:3: ( Unknown ) + // InternalSolverLanguageParser.g:2758:4: Unknown + { + match(input,Unknown,FOLLOW_2); + + } + + after(grammarAccess.getLogicValueAccess().getUNKNOWNEnumLiteralDeclaration_2()); + + } + + + } + break; + case 4 : + // InternalSolverLanguageParser.g:2762:2: ( ( Error ) ) { - // InternalSolverLanguageParser.g:2423:2: ( ( Count ) ) - // InternalSolverLanguageParser.g:2424:3: ( Count ) + // InternalSolverLanguageParser.g:2762:2: ( ( Error ) ) + // InternalSolverLanguageParser.g:2763:3: ( Error ) { - before(grammarAccess.getQuantifierAccess().getCOUNTEnumLiteralDeclaration_2()); - // InternalSolverLanguageParser.g:2425:3: ( Count ) - // InternalSolverLanguageParser.g:2425:4: Count + before(grammarAccess.getLogicValueAccess().getERROREnumLiteralDeclaration_3()); + // InternalSolverLanguageParser.g:2764:3: ( Error ) + // InternalSolverLanguageParser.g:2764:4: Error { - match(input,Count,FOLLOW_2); + match(input,Error,FOLLOW_2); } - after(grammarAccess.getQuantifierAccess().getCOUNTEnumLiteralDeclaration_2()); + after(grammarAccess.getLogicValueAccess().getERROREnumLiteralDeclaration_3()); } @@ -7856,62 +9012,48 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Quantifier__Alternatives" + // $ANTLR end "rule__LogicValue__Alternatives" - // $ANTLR start "rule__LogicValue__Alternatives" - // InternalSolverLanguageParser.g:2433:1: rule__LogicValue__Alternatives : ( ( ( True ) ) | ( ( False ) ) | ( ( Unknown ) ) | ( ( Error ) ) ); - public final void rule__LogicValue__Alternatives() throws RecognitionException { + // $ANTLR start "rule__ObjectiveKind__Alternatives" + // InternalSolverLanguageParser.g:2772:1: rule__ObjectiveKind__Alternatives : ( ( ( Minimize ) ) | ( ( Maximize ) ) ); + public final void rule__ObjectiveKind__Alternatives() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:2437:1: ( ( ( True ) ) | ( ( False ) ) | ( ( Unknown ) ) | ( ( Error ) ) ) - int alt24=4; - switch ( input.LA(1) ) { - case True: - { - alt24=1; - } - break; - case False: - { - alt24=2; - } - break; - case Unknown: - { - alt24=3; - } - break; - case Error: - { - alt24=4; - } - break; - default: + // InternalSolverLanguageParser.g:2776:1: ( ( ( Minimize ) ) | ( ( Maximize ) ) ) + int alt29=2; + int LA29_0 = input.LA(1); + + if ( (LA29_0==Minimize) ) { + alt29=1; + } + else if ( (LA29_0==Maximize) ) { + alt29=2; + } + else { NoViableAltException nvae = - new NoViableAltException("", 24, 0, input); + new NoViableAltException("", 29, 0, input); throw nvae; } - - switch (alt24) { + switch (alt29) { case 1 : - // InternalSolverLanguageParser.g:2438:2: ( ( True ) ) + // InternalSolverLanguageParser.g:2777:2: ( ( Minimize ) ) { - // InternalSolverLanguageParser.g:2438:2: ( ( True ) ) - // InternalSolverLanguageParser.g:2439:3: ( True ) + // InternalSolverLanguageParser.g:2777:2: ( ( Minimize ) ) + // InternalSolverLanguageParser.g:2778:3: ( Minimize ) { - before(grammarAccess.getLogicValueAccess().getTRUEEnumLiteralDeclaration_0()); - // InternalSolverLanguageParser.g:2440:3: ( True ) - // InternalSolverLanguageParser.g:2440:4: True + before(grammarAccess.getObjectiveKindAccess().getMINIMIZATIONEnumLiteralDeclaration_0()); + // InternalSolverLanguageParser.g:2779:3: ( Minimize ) + // InternalSolverLanguageParser.g:2779:4: Minimize { - match(input,True,FOLLOW_2); + match(input,Minimize,FOLLOW_2); } - after(grammarAccess.getLogicValueAccess().getTRUEEnumLiteralDeclaration_0()); + after(grammarAccess.getObjectiveKindAccess().getMINIMIZATIONEnumLiteralDeclaration_0()); } @@ -7919,70 +9061,66 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } break; case 2 : - // InternalSolverLanguageParser.g:2444:2: ( ( False ) ) + // InternalSolverLanguageParser.g:2783:2: ( ( Maximize ) ) { - // InternalSolverLanguageParser.g:2444:2: ( ( False ) ) - // InternalSolverLanguageParser.g:2445:3: ( False ) + // InternalSolverLanguageParser.g:2783:2: ( ( Maximize ) ) + // InternalSolverLanguageParser.g:2784:3: ( Maximize ) { - before(grammarAccess.getLogicValueAccess().getFALSEEnumLiteralDeclaration_1()); - // InternalSolverLanguageParser.g:2446:3: ( False ) - // InternalSolverLanguageParser.g:2446:4: False + before(grammarAccess.getObjectiveKindAccess().getMAXIMIZATIONEnumLiteralDeclaration_1()); + // InternalSolverLanguageParser.g:2785:3: ( Maximize ) + // InternalSolverLanguageParser.g:2785:4: Maximize { - match(input,False,FOLLOW_2); + match(input,Maximize,FOLLOW_2); } - after(grammarAccess.getLogicValueAccess().getFALSEEnumLiteralDeclaration_1()); + after(grammarAccess.getObjectiveKindAccess().getMAXIMIZATIONEnumLiteralDeclaration_1()); } } break; - case 3 : - // InternalSolverLanguageParser.g:2450:2: ( ( Unknown ) ) - { - // InternalSolverLanguageParser.g:2450:2: ( ( Unknown ) ) - // InternalSolverLanguageParser.g:2451:3: ( Unknown ) - { - before(grammarAccess.getLogicValueAccess().getUNKNOWNEnumLiteralDeclaration_2()); - // InternalSolverLanguageParser.g:2452:3: ( Unknown ) - // InternalSolverLanguageParser.g:2452:4: Unknown - { - match(input,Unknown,FOLLOW_2); - } + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { - after(grammarAccess.getLogicValueAccess().getUNKNOWNEnumLiteralDeclaration_2()); + restoreStackSize(stackSize); - } + } + return ; + } + // $ANTLR end "rule__ObjectiveKind__Alternatives" - } - break; - case 4 : - // InternalSolverLanguageParser.g:2456:2: ( ( Error ) ) - { - // InternalSolverLanguageParser.g:2456:2: ( ( Error ) ) - // InternalSolverLanguageParser.g:2457:3: ( Error ) - { - before(grammarAccess.getLogicValueAccess().getERROREnumLiteralDeclaration_3()); - // InternalSolverLanguageParser.g:2458:3: ( Error ) - // InternalSolverLanguageParser.g:2458:4: Error - { - match(input,Error,FOLLOW_2); + // $ANTLR start "rule__Problem__Group__0" + // InternalSolverLanguageParser.g:2793:1: rule__Problem__Group__0 : rule__Problem__Group__0__Impl rule__Problem__Group__1 ; + public final void rule__Problem__Group__0() throws RecognitionException { - } + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:2797:1: ( rule__Problem__Group__0__Impl rule__Problem__Group__1 ) + // InternalSolverLanguageParser.g:2798:2: rule__Problem__Group__0__Impl rule__Problem__Group__1 + { + pushFollow(FOLLOW_3); + rule__Problem__Group__0__Impl(); - after(grammarAccess.getLogicValueAccess().getERROREnumLiteralDeclaration_3()); + state._fsp--; - } + pushFollow(FOLLOW_2); + rule__Problem__Group__1(); + state._fsp--; - } - break; } + } catch (RecognitionException re) { reportError(re); @@ -7995,77 +9133,90 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__LogicValue__Alternatives" + // $ANTLR end "rule__Problem__Group__0" - // $ANTLR start "rule__ObjectiveKind__Alternatives" - // InternalSolverLanguageParser.g:2466:1: rule__ObjectiveKind__Alternatives : ( ( ( Minimize ) ) | ( ( Maximize ) ) ); - public final void rule__ObjectiveKind__Alternatives() throws RecognitionException { + // $ANTLR start "rule__Problem__Group__0__Impl" + // InternalSolverLanguageParser.g:2805:1: rule__Problem__Group__0__Impl : ( ( rule__Problem__Group_0__0 )? ) ; + public final void rule__Problem__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:2470:1: ( ( ( Minimize ) ) | ( ( Maximize ) ) ) - int alt25=2; - int LA25_0 = input.LA(1); - - if ( (LA25_0==Minimize) ) { - alt25=1; - } - else if ( (LA25_0==Maximize) ) { - alt25=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 25, 0, input); + // InternalSolverLanguageParser.g:2809:1: ( ( ( rule__Problem__Group_0__0 )? ) ) + // InternalSolverLanguageParser.g:2810:1: ( ( rule__Problem__Group_0__0 )? ) + { + // InternalSolverLanguageParser.g:2810:1: ( ( rule__Problem__Group_0__0 )? ) + // InternalSolverLanguageParser.g:2811:2: ( rule__Problem__Group_0__0 )? + { + before(grammarAccess.getProblemAccess().getGroup_0()); + // InternalSolverLanguageParser.g:2812:2: ( rule__Problem__Group_0__0 )? + int alt30=2; + int LA30_0 = input.LA(1); - throw nvae; + if ( (LA30_0==Problem) ) { + alt30=1; } - switch (alt25) { + switch (alt30) { case 1 : - // InternalSolverLanguageParser.g:2471:2: ( ( Minimize ) ) - { - // InternalSolverLanguageParser.g:2471:2: ( ( Minimize ) ) - // InternalSolverLanguageParser.g:2472:3: ( Minimize ) + // InternalSolverLanguageParser.g:2812:3: rule__Problem__Group_0__0 { - before(grammarAccess.getObjectiveKindAccess().getMINIMIZEEnumLiteralDeclaration_0()); - // InternalSolverLanguageParser.g:2473:3: ( Minimize ) - // InternalSolverLanguageParser.g:2473:4: Minimize - { - match(input,Minimize,FOLLOW_2); + pushFollow(FOLLOW_2); + rule__Problem__Group_0__0(); - } + state._fsp--; - after(grammarAccess.getObjectiveKindAccess().getMINIMIZEEnumLiteralDeclaration_0()); } + break; + } - } - break; - case 2 : - // InternalSolverLanguageParser.g:2477:2: ( ( Maximize ) ) - { - // InternalSolverLanguageParser.g:2477:2: ( ( Maximize ) ) - // InternalSolverLanguageParser.g:2478:3: ( Maximize ) - { - before(grammarAccess.getObjectiveKindAccess().getMAXIMIZEEnumLiteralDeclaration_1()); - // InternalSolverLanguageParser.g:2479:3: ( Maximize ) - // InternalSolverLanguageParser.g:2479:4: Maximize - { - match(input,Maximize,FOLLOW_2); + after(grammarAccess.getProblemAccess().getGroup_0()); - } + } - after(grammarAccess.getObjectiveKindAccess().getMAXIMIZEEnumLiteralDeclaration_1()); - } + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Problem__Group__0__Impl" + + + // $ANTLR start "rule__Problem__Group__1" + // InternalSolverLanguageParser.g:2820:1: rule__Problem__Group__1 : rule__Problem__Group__1__Impl rule__Problem__Group__2 ; + public final void rule__Problem__Group__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:2824:1: ( rule__Problem__Group__1__Impl rule__Problem__Group__2 ) + // InternalSolverLanguageParser.g:2825:2: rule__Problem__Group__1__Impl rule__Problem__Group__2 + { + pushFollow(FOLLOW_3); + rule__Problem__Group__1__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__Problem__Group__2(); + + state._fsp--; - } - break; } + } catch (RecognitionException re) { reportError(re); @@ -8078,26 +9229,86 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ObjectiveKind__Alternatives" + // $ANTLR end "rule__Problem__Group__1" - // $ANTLR start "rule__Statement__Group__0" - // InternalSolverLanguageParser.g:2487:1: rule__Statement__Group__0 : rule__Statement__Group__0__Impl rule__Statement__Group__1 ; - public final void rule__Statement__Group__0() throws RecognitionException { + // $ANTLR start "rule__Problem__Group__1__Impl" + // InternalSolverLanguageParser.g:2832:1: rule__Problem__Group__1__Impl : ( ( rule__Problem__ImportsAssignment_1 )* ) ; + public final void rule__Problem__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:2491:1: ( rule__Statement__Group__0__Impl rule__Statement__Group__1 ) - // InternalSolverLanguageParser.g:2492:2: rule__Statement__Group__0__Impl rule__Statement__Group__1 + // InternalSolverLanguageParser.g:2836:1: ( ( ( rule__Problem__ImportsAssignment_1 )* ) ) + // InternalSolverLanguageParser.g:2837:1: ( ( rule__Problem__ImportsAssignment_1 )* ) + { + // InternalSolverLanguageParser.g:2837:1: ( ( rule__Problem__ImportsAssignment_1 )* ) + // InternalSolverLanguageParser.g:2838:2: ( rule__Problem__ImportsAssignment_1 )* { - pushFollow(FOLLOW_4); - rule__Statement__Group__0__Impl(); + before(grammarAccess.getProblemAccess().getImportsAssignment_1()); + // InternalSolverLanguageParser.g:2839:2: ( rule__Problem__ImportsAssignment_1 )* + loop31: + do { + int alt31=2; + int LA31_0 = input.LA(1); - state._fsp--; + if ( (LA31_0==Import) ) { + alt31=1; + } + + + switch (alt31) { + case 1 : + // InternalSolverLanguageParser.g:2839:3: rule__Problem__ImportsAssignment_1 + { + pushFollow(FOLLOW_4); + rule__Problem__ImportsAssignment_1(); + + state._fsp--; + + } + break; + + default : + break loop31; + } + } while (true); + + after(grammarAccess.getProblemAccess().getImportsAssignment_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Problem__Group__1__Impl" + + + // $ANTLR start "rule__Problem__Group__2" + // InternalSolverLanguageParser.g:2847:1: rule__Problem__Group__2 : rule__Problem__Group__2__Impl ; + public final void rule__Problem__Group__2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:2851:1: ( rule__Problem__Group__2__Impl ) + // InternalSolverLanguageParser.g:2852:2: rule__Problem__Group__2__Impl + { pushFollow(FOLLOW_2); - rule__Statement__Group__1(); + rule__Problem__Group__2__Impl(); state._fsp--; @@ -8116,35 +9327,3380 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Statement__Group__0" + // $ANTLR end "rule__Problem__Group__2" - // $ANTLR start "rule__Statement__Group__0__Impl" - // InternalSolverLanguageParser.g:2499:1: rule__Statement__Group__0__Impl : ( ( rule__Statement__Alternatives_0 ) ) ; - public final void rule__Statement__Group__0__Impl() throws RecognitionException { + // $ANTLR start "rule__Problem__Group__2__Impl" + // InternalSolverLanguageParser.g:2858:1: rule__Problem__Group__2__Impl : ( ( rule__Problem__StatementsAssignment_2 )* ) ; + public final void rule__Problem__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:2503:1: ( ( ( rule__Statement__Alternatives_0 ) ) ) - // InternalSolverLanguageParser.g:2504:1: ( ( rule__Statement__Alternatives_0 ) ) + // InternalSolverLanguageParser.g:2862:1: ( ( ( rule__Problem__StatementsAssignment_2 )* ) ) + // InternalSolverLanguageParser.g:2863:1: ( ( rule__Problem__StatementsAssignment_2 )* ) { - // InternalSolverLanguageParser.g:2504:1: ( ( rule__Statement__Alternatives_0 ) ) - // InternalSolverLanguageParser.g:2505:2: ( rule__Statement__Alternatives_0 ) + // InternalSolverLanguageParser.g:2863:1: ( ( rule__Problem__StatementsAssignment_2 )* ) + // InternalSolverLanguageParser.g:2864:2: ( rule__Problem__StatementsAssignment_2 )* { - before(grammarAccess.getStatementAccess().getAlternatives_0()); - // InternalSolverLanguageParser.g:2506:2: ( rule__Statement__Alternatives_0 ) - // InternalSolverLanguageParser.g:2506:3: rule__Statement__Alternatives_0 + before(grammarAccess.getProblemAccess().getStatementsAssignment_2()); + // InternalSolverLanguageParser.g:2865:2: ( rule__Problem__StatementsAssignment_2 )* + loop32: + do { + int alt32=2; + int LA32_0 = input.LA(1); + + if ( ((LA32_0>=Containment && LA32_0<=Abstract)||(LA32_0>=Maximize && LA32_0<=Minimize)||LA32_0==Default||(LA32_0>=Unknown && LA32_0<=Extern)||LA32_0==Object||(LA32_0>=Class && LA32_0<=Scope)||(LA32_0>=Enum && LA32_0<=Root)||LA32_0==True||(LA32_0>=Inf && LA32_0<=Let)||LA32_0==If||(LA32_0>=ExclamationMark && LA32_0<=LeftParenthesis)||LA32_0==PlusSign||LA32_0==HyphenMinus||(LA32_0>=QuestionMark && LA32_0<=LeftSquareBracket)||(LA32_0>=Tilde && LA32_0<=RULE_QUOTED_ID)||(LA32_0>=RULE_ID && LA32_0<=RULE_INT)) ) { + alt32=1; + } + + + switch (alt32) { + case 1 : + // InternalSolverLanguageParser.g:2865:3: rule__Problem__StatementsAssignment_2 + { + pushFollow(FOLLOW_5); + rule__Problem__StatementsAssignment_2(); + + state._fsp--; + + + } + break; + + default : + break loop32; + } + } while (true); + + after(grammarAccess.getProblemAccess().getStatementsAssignment_2()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Problem__Group__2__Impl" + + + // $ANTLR start "rule__Problem__Group_0__0" + // InternalSolverLanguageParser.g:2874:1: rule__Problem__Group_0__0 : rule__Problem__Group_0__0__Impl rule__Problem__Group_0__1 ; + public final void rule__Problem__Group_0__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:2878:1: ( rule__Problem__Group_0__0__Impl rule__Problem__Group_0__1 ) + // InternalSolverLanguageParser.g:2879:2: rule__Problem__Group_0__0__Impl rule__Problem__Group_0__1 { + pushFollow(FOLLOW_6); + rule__Problem__Group_0__0__Impl(); + + state._fsp--; + pushFollow(FOLLOW_2); - rule__Statement__Alternatives_0(); + rule__Problem__Group_0__1(); state._fsp--; } - after(grammarAccess.getStatementAccess().getAlternatives_0()); + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Problem__Group_0__0" + + + // $ANTLR start "rule__Problem__Group_0__0__Impl" + // InternalSolverLanguageParser.g:2886:1: rule__Problem__Group_0__0__Impl : ( Problem ) ; + public final void rule__Problem__Group_0__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:2890:1: ( ( Problem ) ) + // InternalSolverLanguageParser.g:2891:1: ( Problem ) + { + // InternalSolverLanguageParser.g:2891:1: ( Problem ) + // InternalSolverLanguageParser.g:2892:2: Problem + { + before(grammarAccess.getProblemAccess().getProblemKeyword_0_0()); + match(input,Problem,FOLLOW_2); + after(grammarAccess.getProblemAccess().getProblemKeyword_0_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Problem__Group_0__0__Impl" + + + // $ANTLR start "rule__Problem__Group_0__1" + // InternalSolverLanguageParser.g:2901:1: rule__Problem__Group_0__1 : rule__Problem__Group_0__1__Impl rule__Problem__Group_0__2 ; + public final void rule__Problem__Group_0__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:2905:1: ( rule__Problem__Group_0__1__Impl rule__Problem__Group_0__2 ) + // InternalSolverLanguageParser.g:2906:2: rule__Problem__Group_0__1__Impl rule__Problem__Group_0__2 + { + pushFollow(FOLLOW_7); + rule__Problem__Group_0__1__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__Problem__Group_0__2(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Problem__Group_0__1" + + + // $ANTLR start "rule__Problem__Group_0__1__Impl" + // InternalSolverLanguageParser.g:2913:1: rule__Problem__Group_0__1__Impl : ( ( rule__Problem__NameAssignment_0_1 ) ) ; + public final void rule__Problem__Group_0__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:2917:1: ( ( ( rule__Problem__NameAssignment_0_1 ) ) ) + // InternalSolverLanguageParser.g:2918:1: ( ( rule__Problem__NameAssignment_0_1 ) ) + { + // InternalSolverLanguageParser.g:2918:1: ( ( rule__Problem__NameAssignment_0_1 ) ) + // InternalSolverLanguageParser.g:2919:2: ( rule__Problem__NameAssignment_0_1 ) + { + before(grammarAccess.getProblemAccess().getNameAssignment_0_1()); + // InternalSolverLanguageParser.g:2920:2: ( rule__Problem__NameAssignment_0_1 ) + // InternalSolverLanguageParser.g:2920:3: rule__Problem__NameAssignment_0_1 + { + pushFollow(FOLLOW_2); + rule__Problem__NameAssignment_0_1(); + + state._fsp--; + + + } + + after(grammarAccess.getProblemAccess().getNameAssignment_0_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Problem__Group_0__1__Impl" + + + // $ANTLR start "rule__Problem__Group_0__2" + // InternalSolverLanguageParser.g:2928:1: rule__Problem__Group_0__2 : rule__Problem__Group_0__2__Impl ; + public final void rule__Problem__Group_0__2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:2932:1: ( rule__Problem__Group_0__2__Impl ) + // InternalSolverLanguageParser.g:2933:2: rule__Problem__Group_0__2__Impl + { + pushFollow(FOLLOW_2); + rule__Problem__Group_0__2__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Problem__Group_0__2" + + + // $ANTLR start "rule__Problem__Group_0__2__Impl" + // InternalSolverLanguageParser.g:2939:1: rule__Problem__Group_0__2__Impl : ( RULE_FULL_STOP ) ; + public final void rule__Problem__Group_0__2__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:2943:1: ( ( RULE_FULL_STOP ) ) + // InternalSolverLanguageParser.g:2944:1: ( RULE_FULL_STOP ) + { + // InternalSolverLanguageParser.g:2944:1: ( RULE_FULL_STOP ) + // InternalSolverLanguageParser.g:2945:2: RULE_FULL_STOP + { + before(grammarAccess.getProblemAccess().getFULL_STOPTerminalRuleCall_0_2()); + match(input,RULE_FULL_STOP,FOLLOW_2); + after(grammarAccess.getProblemAccess().getFULL_STOPTerminalRuleCall_0_2()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Problem__Group_0__2__Impl" + + + // $ANTLR start "rule__UriImport__Group__0" + // InternalSolverLanguageParser.g:2955:1: rule__UriImport__Group__0 : rule__UriImport__Group__0__Impl rule__UriImport__Group__1 ; + public final void rule__UriImport__Group__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:2959:1: ( rule__UriImport__Group__0__Impl rule__UriImport__Group__1 ) + // InternalSolverLanguageParser.g:2960:2: rule__UriImport__Group__0__Impl rule__UriImport__Group__1 + { + pushFollow(FOLLOW_8); + rule__UriImport__Group__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__UriImport__Group__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__UriImport__Group__0" + + + // $ANTLR start "rule__UriImport__Group__0__Impl" + // InternalSolverLanguageParser.g:2967:1: rule__UriImport__Group__0__Impl : ( Import ) ; + public final void rule__UriImport__Group__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:2971:1: ( ( Import ) ) + // InternalSolverLanguageParser.g:2972:1: ( Import ) + { + // InternalSolverLanguageParser.g:2972:1: ( Import ) + // InternalSolverLanguageParser.g:2973:2: Import + { + before(grammarAccess.getUriImportAccess().getImportKeyword_0()); + match(input,Import,FOLLOW_2); + after(grammarAccess.getUriImportAccess().getImportKeyword_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__UriImport__Group__0__Impl" + + + // $ANTLR start "rule__UriImport__Group__1" + // InternalSolverLanguageParser.g:2982:1: rule__UriImport__Group__1 : rule__UriImport__Group__1__Impl rule__UriImport__Group__2 ; + public final void rule__UriImport__Group__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:2986:1: ( rule__UriImport__Group__1__Impl rule__UriImport__Group__2 ) + // InternalSolverLanguageParser.g:2987:2: rule__UriImport__Group__1__Impl rule__UriImport__Group__2 + { + pushFollow(FOLLOW_9); + rule__UriImport__Group__1__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__UriImport__Group__2(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__UriImport__Group__1" + + + // $ANTLR start "rule__UriImport__Group__1__Impl" + // InternalSolverLanguageParser.g:2994:1: rule__UriImport__Group__1__Impl : ( ( rule__UriImport__UriAssignment_1 ) ) ; + public final void rule__UriImport__Group__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:2998:1: ( ( ( rule__UriImport__UriAssignment_1 ) ) ) + // InternalSolverLanguageParser.g:2999:1: ( ( rule__UriImport__UriAssignment_1 ) ) + { + // InternalSolverLanguageParser.g:2999:1: ( ( rule__UriImport__UriAssignment_1 ) ) + // InternalSolverLanguageParser.g:3000:2: ( rule__UriImport__UriAssignment_1 ) + { + before(grammarAccess.getUriImportAccess().getUriAssignment_1()); + // InternalSolverLanguageParser.g:3001:2: ( rule__UriImport__UriAssignment_1 ) + // InternalSolverLanguageParser.g:3001:3: rule__UriImport__UriAssignment_1 + { + pushFollow(FOLLOW_2); + rule__UriImport__UriAssignment_1(); + + state._fsp--; + + + } + + after(grammarAccess.getUriImportAccess().getUriAssignment_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__UriImport__Group__1__Impl" + + + // $ANTLR start "rule__UriImport__Group__2" + // InternalSolverLanguageParser.g:3009:1: rule__UriImport__Group__2 : rule__UriImport__Group__2__Impl rule__UriImport__Group__3 ; + public final void rule__UriImport__Group__2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:3013:1: ( rule__UriImport__Group__2__Impl rule__UriImport__Group__3 ) + // InternalSolverLanguageParser.g:3014:2: rule__UriImport__Group__2__Impl rule__UriImport__Group__3 + { + pushFollow(FOLLOW_7); + rule__UriImport__Group__2__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__UriImport__Group__3(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__UriImport__Group__2" + + + // $ANTLR start "rule__UriImport__Group__2__Impl" + // InternalSolverLanguageParser.g:3021:1: rule__UriImport__Group__2__Impl : ( ( rule__UriImport__Group_2__0 ) ) ; + public final void rule__UriImport__Group__2__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:3025:1: ( ( ( rule__UriImport__Group_2__0 ) ) ) + // InternalSolverLanguageParser.g:3026:1: ( ( rule__UriImport__Group_2__0 ) ) + { + // InternalSolverLanguageParser.g:3026:1: ( ( rule__UriImport__Group_2__0 ) ) + // InternalSolverLanguageParser.g:3027:2: ( rule__UriImport__Group_2__0 ) + { + before(grammarAccess.getUriImportAccess().getGroup_2()); + // InternalSolverLanguageParser.g:3028:2: ( rule__UriImport__Group_2__0 ) + // InternalSolverLanguageParser.g:3028:3: rule__UriImport__Group_2__0 + { + pushFollow(FOLLOW_2); + rule__UriImport__Group_2__0(); + + state._fsp--; + + + } + + after(grammarAccess.getUriImportAccess().getGroup_2()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__UriImport__Group__2__Impl" + + + // $ANTLR start "rule__UriImport__Group__3" + // InternalSolverLanguageParser.g:3036:1: rule__UriImport__Group__3 : rule__UriImport__Group__3__Impl ; + public final void rule__UriImport__Group__3() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:3040:1: ( rule__UriImport__Group__3__Impl ) + // InternalSolverLanguageParser.g:3041:2: rule__UriImport__Group__3__Impl + { + pushFollow(FOLLOW_2); + rule__UriImport__Group__3__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__UriImport__Group__3" + + + // $ANTLR start "rule__UriImport__Group__3__Impl" + // InternalSolverLanguageParser.g:3047:1: rule__UriImport__Group__3__Impl : ( RULE_FULL_STOP ) ; + public final void rule__UriImport__Group__3__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:3051:1: ( ( RULE_FULL_STOP ) ) + // InternalSolverLanguageParser.g:3052:1: ( RULE_FULL_STOP ) + { + // InternalSolverLanguageParser.g:3052:1: ( RULE_FULL_STOP ) + // InternalSolverLanguageParser.g:3053:2: RULE_FULL_STOP + { + before(grammarAccess.getUriImportAccess().getFULL_STOPTerminalRuleCall_3()); + match(input,RULE_FULL_STOP,FOLLOW_2); + after(grammarAccess.getUriImportAccess().getFULL_STOPTerminalRuleCall_3()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__UriImport__Group__3__Impl" + + + // $ANTLR start "rule__UriImport__Group_2__0" + // InternalSolverLanguageParser.g:3063:1: rule__UriImport__Group_2__0 : rule__UriImport__Group_2__0__Impl rule__UriImport__Group_2__1 ; + public final void rule__UriImport__Group_2__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:3067:1: ( rule__UriImport__Group_2__0__Impl rule__UriImport__Group_2__1 ) + // InternalSolverLanguageParser.g:3068:2: rule__UriImport__Group_2__0__Impl rule__UriImport__Group_2__1 + { + pushFollow(FOLLOW_6); + rule__UriImport__Group_2__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__UriImport__Group_2__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__UriImport__Group_2__0" + + + // $ANTLR start "rule__UriImport__Group_2__0__Impl" + // InternalSolverLanguageParser.g:3075:1: rule__UriImport__Group_2__0__Impl : ( As ) ; + public final void rule__UriImport__Group_2__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:3079:1: ( ( As ) ) + // InternalSolverLanguageParser.g:3080:1: ( As ) + { + // InternalSolverLanguageParser.g:3080:1: ( As ) + // InternalSolverLanguageParser.g:3081:2: As + { + before(grammarAccess.getUriImportAccess().getAsKeyword_2_0()); + match(input,As,FOLLOW_2); + after(grammarAccess.getUriImportAccess().getAsKeyword_2_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__UriImport__Group_2__0__Impl" + + + // $ANTLR start "rule__UriImport__Group_2__1" + // InternalSolverLanguageParser.g:3090:1: rule__UriImport__Group_2__1 : rule__UriImport__Group_2__1__Impl ; + public final void rule__UriImport__Group_2__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:3094:1: ( rule__UriImport__Group_2__1__Impl ) + // InternalSolverLanguageParser.g:3095:2: rule__UriImport__Group_2__1__Impl + { + pushFollow(FOLLOW_2); + rule__UriImport__Group_2__1__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__UriImport__Group_2__1" + + + // $ANTLR start "rule__UriImport__Group_2__1__Impl" + // InternalSolverLanguageParser.g:3101:1: rule__UriImport__Group_2__1__Impl : ( ( rule__UriImport__AliasAssignment_2_1 ) ) ; + public final void rule__UriImport__Group_2__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:3105:1: ( ( ( rule__UriImport__AliasAssignment_2_1 ) ) ) + // InternalSolverLanguageParser.g:3106:1: ( ( rule__UriImport__AliasAssignment_2_1 ) ) + { + // InternalSolverLanguageParser.g:3106:1: ( ( rule__UriImport__AliasAssignment_2_1 ) ) + // InternalSolverLanguageParser.g:3107:2: ( rule__UriImport__AliasAssignment_2_1 ) + { + before(grammarAccess.getUriImportAccess().getAliasAssignment_2_1()); + // InternalSolverLanguageParser.g:3108:2: ( rule__UriImport__AliasAssignment_2_1 ) + // InternalSolverLanguageParser.g:3108:3: rule__UriImport__AliasAssignment_2_1 + { + pushFollow(FOLLOW_2); + rule__UriImport__AliasAssignment_2_1(); + + state._fsp--; + + + } + + after(grammarAccess.getUriImportAccess().getAliasAssignment_2_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__UriImport__Group_2__1__Impl" + + + // $ANTLR start "rule__NamespaceImport__Group__0" + // InternalSolverLanguageParser.g:3117:1: rule__NamespaceImport__Group__0 : rule__NamespaceImport__Group__0__Impl rule__NamespaceImport__Group__1 ; + public final void rule__NamespaceImport__Group__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:3121:1: ( rule__NamespaceImport__Group__0__Impl rule__NamespaceImport__Group__1 ) + // InternalSolverLanguageParser.g:3122:2: rule__NamespaceImport__Group__0__Impl rule__NamespaceImport__Group__1 + { + pushFollow(FOLLOW_6); + rule__NamespaceImport__Group__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__NamespaceImport__Group__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__NamespaceImport__Group__0" + + + // $ANTLR start "rule__NamespaceImport__Group__0__Impl" + // InternalSolverLanguageParser.g:3129:1: rule__NamespaceImport__Group__0__Impl : ( Import ) ; + public final void rule__NamespaceImport__Group__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:3133:1: ( ( Import ) ) + // InternalSolverLanguageParser.g:3134:1: ( Import ) + { + // InternalSolverLanguageParser.g:3134:1: ( Import ) + // InternalSolverLanguageParser.g:3135:2: Import + { + before(grammarAccess.getNamespaceImportAccess().getImportKeyword_0()); + match(input,Import,FOLLOW_2); + after(grammarAccess.getNamespaceImportAccess().getImportKeyword_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__NamespaceImport__Group__0__Impl" + + + // $ANTLR start "rule__NamespaceImport__Group__1" + // InternalSolverLanguageParser.g:3144:1: rule__NamespaceImport__Group__1 : rule__NamespaceImport__Group__1__Impl rule__NamespaceImport__Group__2 ; + public final void rule__NamespaceImport__Group__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:3148:1: ( rule__NamespaceImport__Group__1__Impl rule__NamespaceImport__Group__2 ) + // InternalSolverLanguageParser.g:3149:2: rule__NamespaceImport__Group__1__Impl rule__NamespaceImport__Group__2 + { + pushFollow(FOLLOW_9); + rule__NamespaceImport__Group__1__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__NamespaceImport__Group__2(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__NamespaceImport__Group__1" + + + // $ANTLR start "rule__NamespaceImport__Group__1__Impl" + // InternalSolverLanguageParser.g:3156:1: rule__NamespaceImport__Group__1__Impl : ( ( rule__NamespaceImport__ImportedNamespaceAssignment_1 ) ) ; + public final void rule__NamespaceImport__Group__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:3160:1: ( ( ( rule__NamespaceImport__ImportedNamespaceAssignment_1 ) ) ) + // InternalSolverLanguageParser.g:3161:1: ( ( rule__NamespaceImport__ImportedNamespaceAssignment_1 ) ) + { + // InternalSolverLanguageParser.g:3161:1: ( ( rule__NamespaceImport__ImportedNamespaceAssignment_1 ) ) + // InternalSolverLanguageParser.g:3162:2: ( rule__NamespaceImport__ImportedNamespaceAssignment_1 ) + { + before(grammarAccess.getNamespaceImportAccess().getImportedNamespaceAssignment_1()); + // InternalSolverLanguageParser.g:3163:2: ( rule__NamespaceImport__ImportedNamespaceAssignment_1 ) + // InternalSolverLanguageParser.g:3163:3: rule__NamespaceImport__ImportedNamespaceAssignment_1 + { + pushFollow(FOLLOW_2); + rule__NamespaceImport__ImportedNamespaceAssignment_1(); + + state._fsp--; + + + } + + after(grammarAccess.getNamespaceImportAccess().getImportedNamespaceAssignment_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__NamespaceImport__Group__1__Impl" + + + // $ANTLR start "rule__NamespaceImport__Group__2" + // InternalSolverLanguageParser.g:3171:1: rule__NamespaceImport__Group__2 : rule__NamespaceImport__Group__2__Impl rule__NamespaceImport__Group__3 ; + public final void rule__NamespaceImport__Group__2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:3175:1: ( rule__NamespaceImport__Group__2__Impl rule__NamespaceImport__Group__3 ) + // InternalSolverLanguageParser.g:3176:2: rule__NamespaceImport__Group__2__Impl rule__NamespaceImport__Group__3 + { + pushFollow(FOLLOW_7); + rule__NamespaceImport__Group__2__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__NamespaceImport__Group__3(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__NamespaceImport__Group__2" + + + // $ANTLR start "rule__NamespaceImport__Group__2__Impl" + // InternalSolverLanguageParser.g:3183:1: rule__NamespaceImport__Group__2__Impl : ( ( rule__NamespaceImport__Group_2__0 ) ) ; + public final void rule__NamespaceImport__Group__2__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:3187:1: ( ( ( rule__NamespaceImport__Group_2__0 ) ) ) + // InternalSolverLanguageParser.g:3188:1: ( ( rule__NamespaceImport__Group_2__0 ) ) + { + // InternalSolverLanguageParser.g:3188:1: ( ( rule__NamespaceImport__Group_2__0 ) ) + // InternalSolverLanguageParser.g:3189:2: ( rule__NamespaceImport__Group_2__0 ) + { + before(grammarAccess.getNamespaceImportAccess().getGroup_2()); + // InternalSolverLanguageParser.g:3190:2: ( rule__NamespaceImport__Group_2__0 ) + // InternalSolverLanguageParser.g:3190:3: rule__NamespaceImport__Group_2__0 + { + pushFollow(FOLLOW_2); + rule__NamespaceImport__Group_2__0(); + + state._fsp--; + + + } + + after(grammarAccess.getNamespaceImportAccess().getGroup_2()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__NamespaceImport__Group__2__Impl" + + + // $ANTLR start "rule__NamespaceImport__Group__3" + // InternalSolverLanguageParser.g:3198:1: rule__NamespaceImport__Group__3 : rule__NamespaceImport__Group__3__Impl ; + public final void rule__NamespaceImport__Group__3() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:3202:1: ( rule__NamespaceImport__Group__3__Impl ) + // InternalSolverLanguageParser.g:3203:2: rule__NamespaceImport__Group__3__Impl + { + pushFollow(FOLLOW_2); + rule__NamespaceImport__Group__3__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__NamespaceImport__Group__3" + + + // $ANTLR start "rule__NamespaceImport__Group__3__Impl" + // InternalSolverLanguageParser.g:3209:1: rule__NamespaceImport__Group__3__Impl : ( RULE_FULL_STOP ) ; + public final void rule__NamespaceImport__Group__3__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:3213:1: ( ( RULE_FULL_STOP ) ) + // InternalSolverLanguageParser.g:3214:1: ( RULE_FULL_STOP ) + { + // InternalSolverLanguageParser.g:3214:1: ( RULE_FULL_STOP ) + // InternalSolverLanguageParser.g:3215:2: RULE_FULL_STOP + { + before(grammarAccess.getNamespaceImportAccess().getFULL_STOPTerminalRuleCall_3()); + match(input,RULE_FULL_STOP,FOLLOW_2); + after(grammarAccess.getNamespaceImportAccess().getFULL_STOPTerminalRuleCall_3()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__NamespaceImport__Group__3__Impl" + + + // $ANTLR start "rule__NamespaceImport__Group_2__0" + // InternalSolverLanguageParser.g:3225:1: rule__NamespaceImport__Group_2__0 : rule__NamespaceImport__Group_2__0__Impl rule__NamespaceImport__Group_2__1 ; + public final void rule__NamespaceImport__Group_2__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:3229:1: ( rule__NamespaceImport__Group_2__0__Impl rule__NamespaceImport__Group_2__1 ) + // InternalSolverLanguageParser.g:3230:2: rule__NamespaceImport__Group_2__0__Impl rule__NamespaceImport__Group_2__1 + { + pushFollow(FOLLOW_6); + rule__NamespaceImport__Group_2__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__NamespaceImport__Group_2__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__NamespaceImport__Group_2__0" + + + // $ANTLR start "rule__NamespaceImport__Group_2__0__Impl" + // InternalSolverLanguageParser.g:3237:1: rule__NamespaceImport__Group_2__0__Impl : ( As ) ; + public final void rule__NamespaceImport__Group_2__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:3241:1: ( ( As ) ) + // InternalSolverLanguageParser.g:3242:1: ( As ) + { + // InternalSolverLanguageParser.g:3242:1: ( As ) + // InternalSolverLanguageParser.g:3243:2: As + { + before(grammarAccess.getNamespaceImportAccess().getAsKeyword_2_0()); + match(input,As,FOLLOW_2); + after(grammarAccess.getNamespaceImportAccess().getAsKeyword_2_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__NamespaceImport__Group_2__0__Impl" + + + // $ANTLR start "rule__NamespaceImport__Group_2__1" + // InternalSolverLanguageParser.g:3252:1: rule__NamespaceImport__Group_2__1 : rule__NamespaceImport__Group_2__1__Impl ; + public final void rule__NamespaceImport__Group_2__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:3256:1: ( rule__NamespaceImport__Group_2__1__Impl ) + // InternalSolverLanguageParser.g:3257:2: rule__NamespaceImport__Group_2__1__Impl + { + pushFollow(FOLLOW_2); + rule__NamespaceImport__Group_2__1__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__NamespaceImport__Group_2__1" + + + // $ANTLR start "rule__NamespaceImport__Group_2__1__Impl" + // InternalSolverLanguageParser.g:3263:1: rule__NamespaceImport__Group_2__1__Impl : ( ( rule__NamespaceImport__AliasAssignment_2_1 ) ) ; + public final void rule__NamespaceImport__Group_2__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:3267:1: ( ( ( rule__NamespaceImport__AliasAssignment_2_1 ) ) ) + // InternalSolverLanguageParser.g:3268:1: ( ( rule__NamespaceImport__AliasAssignment_2_1 ) ) + { + // InternalSolverLanguageParser.g:3268:1: ( ( rule__NamespaceImport__AliasAssignment_2_1 ) ) + // InternalSolverLanguageParser.g:3269:2: ( rule__NamespaceImport__AliasAssignment_2_1 ) + { + before(grammarAccess.getNamespaceImportAccess().getAliasAssignment_2_1()); + // InternalSolverLanguageParser.g:3270:2: ( rule__NamespaceImport__AliasAssignment_2_1 ) + // InternalSolverLanguageParser.g:3270:3: rule__NamespaceImport__AliasAssignment_2_1 + { + pushFollow(FOLLOW_2); + rule__NamespaceImport__AliasAssignment_2_1(); + + state._fsp--; + + + } + + after(grammarAccess.getNamespaceImportAccess().getAliasAssignment_2_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__NamespaceImport__Group_2__1__Impl" + + + // $ANTLR start "rule__AssertionOrDefinition__Group__0" + // InternalSolverLanguageParser.g:3279:1: rule__AssertionOrDefinition__Group__0 : rule__AssertionOrDefinition__Group__0__Impl rule__AssertionOrDefinition__Group__1 ; + public final void rule__AssertionOrDefinition__Group__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:3283:1: ( rule__AssertionOrDefinition__Group__0__Impl rule__AssertionOrDefinition__Group__1 ) + // InternalSolverLanguageParser.g:3284:2: rule__AssertionOrDefinition__Group__0__Impl rule__AssertionOrDefinition__Group__1 + { + pushFollow(FOLLOW_10); + rule__AssertionOrDefinition__Group__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__AssertionOrDefinition__Group__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AssertionOrDefinition__Group__0" + + + // $ANTLR start "rule__AssertionOrDefinition__Group__0__Impl" + // InternalSolverLanguageParser.g:3291:1: rule__AssertionOrDefinition__Group__0__Impl : ( ruleExpression ) ; + public final void rule__AssertionOrDefinition__Group__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:3295:1: ( ( ruleExpression ) ) + // InternalSolverLanguageParser.g:3296:1: ( ruleExpression ) + { + // InternalSolverLanguageParser.g:3296:1: ( ruleExpression ) + // InternalSolverLanguageParser.g:3297:2: ruleExpression + { + before(grammarAccess.getAssertionOrDefinitionAccess().getExpressionParserRuleCall_0()); + pushFollow(FOLLOW_2); + ruleExpression(); + + state._fsp--; + + after(grammarAccess.getAssertionOrDefinitionAccess().getExpressionParserRuleCall_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AssertionOrDefinition__Group__0__Impl" + + + // $ANTLR start "rule__AssertionOrDefinition__Group__1" + // InternalSolverLanguageParser.g:3306:1: rule__AssertionOrDefinition__Group__1 : rule__AssertionOrDefinition__Group__1__Impl rule__AssertionOrDefinition__Group__2 ; + public final void rule__AssertionOrDefinition__Group__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:3310:1: ( rule__AssertionOrDefinition__Group__1__Impl rule__AssertionOrDefinition__Group__2 ) + // InternalSolverLanguageParser.g:3311:2: rule__AssertionOrDefinition__Group__1__Impl rule__AssertionOrDefinition__Group__2 + { + pushFollow(FOLLOW_7); + rule__AssertionOrDefinition__Group__1__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__AssertionOrDefinition__Group__2(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AssertionOrDefinition__Group__1" + + + // $ANTLR start "rule__AssertionOrDefinition__Group__1__Impl" + // InternalSolverLanguageParser.g:3318:1: rule__AssertionOrDefinition__Group__1__Impl : ( ( rule__AssertionOrDefinition__Alternatives_1 ) ) ; + public final void rule__AssertionOrDefinition__Group__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:3322:1: ( ( ( rule__AssertionOrDefinition__Alternatives_1 ) ) ) + // InternalSolverLanguageParser.g:3323:1: ( ( rule__AssertionOrDefinition__Alternatives_1 ) ) + { + // InternalSolverLanguageParser.g:3323:1: ( ( rule__AssertionOrDefinition__Alternatives_1 ) ) + // InternalSolverLanguageParser.g:3324:2: ( rule__AssertionOrDefinition__Alternatives_1 ) + { + before(grammarAccess.getAssertionOrDefinitionAccess().getAlternatives_1()); + // InternalSolverLanguageParser.g:3325:2: ( rule__AssertionOrDefinition__Alternatives_1 ) + // InternalSolverLanguageParser.g:3325:3: rule__AssertionOrDefinition__Alternatives_1 + { + pushFollow(FOLLOW_2); + rule__AssertionOrDefinition__Alternatives_1(); + + state._fsp--; + + + } + + after(grammarAccess.getAssertionOrDefinitionAccess().getAlternatives_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AssertionOrDefinition__Group__1__Impl" + + + // $ANTLR start "rule__AssertionOrDefinition__Group__2" + // InternalSolverLanguageParser.g:3333:1: rule__AssertionOrDefinition__Group__2 : rule__AssertionOrDefinition__Group__2__Impl ; + public final void rule__AssertionOrDefinition__Group__2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:3337:1: ( rule__AssertionOrDefinition__Group__2__Impl ) + // InternalSolverLanguageParser.g:3338:2: rule__AssertionOrDefinition__Group__2__Impl + { + pushFollow(FOLLOW_2); + rule__AssertionOrDefinition__Group__2__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AssertionOrDefinition__Group__2" + + + // $ANTLR start "rule__AssertionOrDefinition__Group__2__Impl" + // InternalSolverLanguageParser.g:3344:1: rule__AssertionOrDefinition__Group__2__Impl : ( RULE_FULL_STOP ) ; + public final void rule__AssertionOrDefinition__Group__2__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:3348:1: ( ( RULE_FULL_STOP ) ) + // InternalSolverLanguageParser.g:3349:1: ( RULE_FULL_STOP ) + { + // InternalSolverLanguageParser.g:3349:1: ( RULE_FULL_STOP ) + // InternalSolverLanguageParser.g:3350:2: RULE_FULL_STOP + { + before(grammarAccess.getAssertionOrDefinitionAccess().getFULL_STOPTerminalRuleCall_2()); + match(input,RULE_FULL_STOP,FOLLOW_2); + after(grammarAccess.getAssertionOrDefinitionAccess().getFULL_STOPTerminalRuleCall_2()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AssertionOrDefinition__Group__2__Impl" + + + // $ANTLR start "rule__AssertionOrDefinition__Group_1_0__0" + // InternalSolverLanguageParser.g:3360:1: rule__AssertionOrDefinition__Group_1_0__0 : rule__AssertionOrDefinition__Group_1_0__0__Impl rule__AssertionOrDefinition__Group_1_0__1 ; + public final void rule__AssertionOrDefinition__Group_1_0__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:3364:1: ( rule__AssertionOrDefinition__Group_1_0__0__Impl rule__AssertionOrDefinition__Group_1_0__1 ) + // InternalSolverLanguageParser.g:3365:2: rule__AssertionOrDefinition__Group_1_0__0__Impl rule__AssertionOrDefinition__Group_1_0__1 + { + pushFollow(FOLLOW_11); + rule__AssertionOrDefinition__Group_1_0__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__AssertionOrDefinition__Group_1_0__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AssertionOrDefinition__Group_1_0__0" + + + // $ANTLR start "rule__AssertionOrDefinition__Group_1_0__0__Impl" + // InternalSolverLanguageParser.g:3372:1: rule__AssertionOrDefinition__Group_1_0__0__Impl : ( () ) ; + public final void rule__AssertionOrDefinition__Group_1_0__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:3376:1: ( ( () ) ) + // InternalSolverLanguageParser.g:3377:1: ( () ) + { + // InternalSolverLanguageParser.g:3377:1: ( () ) + // InternalSolverLanguageParser.g:3378:2: () + { + before(grammarAccess.getAssertionOrDefinitionAccess().getAssertionExpressionAction_1_0_0()); + // InternalSolverLanguageParser.g:3379:2: () + // InternalSolverLanguageParser.g:3379:3: + { + } + + after(grammarAccess.getAssertionOrDefinitionAccess().getAssertionExpressionAction_1_0_0()); + + } + + + } + + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AssertionOrDefinition__Group_1_0__0__Impl" + + + // $ANTLR start "rule__AssertionOrDefinition__Group_1_0__1" + // InternalSolverLanguageParser.g:3387:1: rule__AssertionOrDefinition__Group_1_0__1 : rule__AssertionOrDefinition__Group_1_0__1__Impl ; + public final void rule__AssertionOrDefinition__Group_1_0__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:3391:1: ( rule__AssertionOrDefinition__Group_1_0__1__Impl ) + // InternalSolverLanguageParser.g:3392:2: rule__AssertionOrDefinition__Group_1_0__1__Impl + { + pushFollow(FOLLOW_2); + rule__AssertionOrDefinition__Group_1_0__1__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AssertionOrDefinition__Group_1_0__1" + + + // $ANTLR start "rule__AssertionOrDefinition__Group_1_0__1__Impl" + // InternalSolverLanguageParser.g:3398:1: rule__AssertionOrDefinition__Group_1_0__1__Impl : ( ( rule__AssertionOrDefinition__Group_1_0_1__0 )? ) ; + public final void rule__AssertionOrDefinition__Group_1_0__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:3402:1: ( ( ( rule__AssertionOrDefinition__Group_1_0_1__0 )? ) ) + // InternalSolverLanguageParser.g:3403:1: ( ( rule__AssertionOrDefinition__Group_1_0_1__0 )? ) + { + // InternalSolverLanguageParser.g:3403:1: ( ( rule__AssertionOrDefinition__Group_1_0_1__0 )? ) + // InternalSolverLanguageParser.g:3404:2: ( rule__AssertionOrDefinition__Group_1_0_1__0 )? + { + before(grammarAccess.getAssertionOrDefinitionAccess().getGroup_1_0_1()); + // InternalSolverLanguageParser.g:3405:2: ( rule__AssertionOrDefinition__Group_1_0_1__0 )? + int alt33=2; + int LA33_0 = input.LA(1); + + if ( (LA33_0==Colon) ) { + alt33=1; + } + switch (alt33) { + case 1 : + // InternalSolverLanguageParser.g:3405:3: rule__AssertionOrDefinition__Group_1_0_1__0 + { + pushFollow(FOLLOW_2); + rule__AssertionOrDefinition__Group_1_0_1__0(); + + state._fsp--; + + + } + break; + + } + + after(grammarAccess.getAssertionOrDefinitionAccess().getGroup_1_0_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AssertionOrDefinition__Group_1_0__1__Impl" + + + // $ANTLR start "rule__AssertionOrDefinition__Group_1_0_1__0" + // InternalSolverLanguageParser.g:3414:1: rule__AssertionOrDefinition__Group_1_0_1__0 : rule__AssertionOrDefinition__Group_1_0_1__0__Impl rule__AssertionOrDefinition__Group_1_0_1__1 ; + public final void rule__AssertionOrDefinition__Group_1_0_1__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:3418:1: ( rule__AssertionOrDefinition__Group_1_0_1__0__Impl rule__AssertionOrDefinition__Group_1_0_1__1 ) + // InternalSolverLanguageParser.g:3419:2: rule__AssertionOrDefinition__Group_1_0_1__0__Impl rule__AssertionOrDefinition__Group_1_0_1__1 + { + pushFollow(FOLLOW_12); + rule__AssertionOrDefinition__Group_1_0_1__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__AssertionOrDefinition__Group_1_0_1__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AssertionOrDefinition__Group_1_0_1__0" + + + // $ANTLR start "rule__AssertionOrDefinition__Group_1_0_1__0__Impl" + // InternalSolverLanguageParser.g:3426:1: rule__AssertionOrDefinition__Group_1_0_1__0__Impl : ( Colon ) ; + public final void rule__AssertionOrDefinition__Group_1_0_1__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:3430:1: ( ( Colon ) ) + // InternalSolverLanguageParser.g:3431:1: ( Colon ) + { + // InternalSolverLanguageParser.g:3431:1: ( Colon ) + // InternalSolverLanguageParser.g:3432:2: Colon + { + before(grammarAccess.getAssertionOrDefinitionAccess().getColonKeyword_1_0_1_0()); + match(input,Colon,FOLLOW_2); + after(grammarAccess.getAssertionOrDefinitionAccess().getColonKeyword_1_0_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AssertionOrDefinition__Group_1_0_1__0__Impl" + + + // $ANTLR start "rule__AssertionOrDefinition__Group_1_0_1__1" + // InternalSolverLanguageParser.g:3441:1: rule__AssertionOrDefinition__Group_1_0_1__1 : rule__AssertionOrDefinition__Group_1_0_1__1__Impl ; + public final void rule__AssertionOrDefinition__Group_1_0_1__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:3445:1: ( rule__AssertionOrDefinition__Group_1_0_1__1__Impl ) + // InternalSolverLanguageParser.g:3446:2: rule__AssertionOrDefinition__Group_1_0_1__1__Impl + { + pushFollow(FOLLOW_2); + rule__AssertionOrDefinition__Group_1_0_1__1__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AssertionOrDefinition__Group_1_0_1__1" + + + // $ANTLR start "rule__AssertionOrDefinition__Group_1_0_1__1__Impl" + // InternalSolverLanguageParser.g:3452:1: rule__AssertionOrDefinition__Group_1_0_1__1__Impl : ( ( rule__AssertionOrDefinition__RangeAssignment_1_0_1_1 ) ) ; + public final void rule__AssertionOrDefinition__Group_1_0_1__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:3456:1: ( ( ( rule__AssertionOrDefinition__RangeAssignment_1_0_1_1 ) ) ) + // InternalSolverLanguageParser.g:3457:1: ( ( rule__AssertionOrDefinition__RangeAssignment_1_0_1_1 ) ) + { + // InternalSolverLanguageParser.g:3457:1: ( ( rule__AssertionOrDefinition__RangeAssignment_1_0_1_1 ) ) + // InternalSolverLanguageParser.g:3458:2: ( rule__AssertionOrDefinition__RangeAssignment_1_0_1_1 ) + { + before(grammarAccess.getAssertionOrDefinitionAccess().getRangeAssignment_1_0_1_1()); + // InternalSolverLanguageParser.g:3459:2: ( rule__AssertionOrDefinition__RangeAssignment_1_0_1_1 ) + // InternalSolverLanguageParser.g:3459:3: rule__AssertionOrDefinition__RangeAssignment_1_0_1_1 + { + pushFollow(FOLLOW_2); + rule__AssertionOrDefinition__RangeAssignment_1_0_1_1(); + + state._fsp--; + + + } + + after(grammarAccess.getAssertionOrDefinitionAccess().getRangeAssignment_1_0_1_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AssertionOrDefinition__Group_1_0_1__1__Impl" + + + // $ANTLR start "rule__AssertionOrDefinition__Group_1_1__0" + // InternalSolverLanguageParser.g:3468:1: rule__AssertionOrDefinition__Group_1_1__0 : rule__AssertionOrDefinition__Group_1_1__0__Impl rule__AssertionOrDefinition__Group_1_1__1 ; + public final void rule__AssertionOrDefinition__Group_1_1__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:3472:1: ( rule__AssertionOrDefinition__Group_1_1__0__Impl rule__AssertionOrDefinition__Group_1_1__1 ) + // InternalSolverLanguageParser.g:3473:2: rule__AssertionOrDefinition__Group_1_1__0__Impl rule__AssertionOrDefinition__Group_1_1__1 + { + pushFollow(FOLLOW_13); + rule__AssertionOrDefinition__Group_1_1__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__AssertionOrDefinition__Group_1_1__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AssertionOrDefinition__Group_1_1__0" + + + // $ANTLR start "rule__AssertionOrDefinition__Group_1_1__0__Impl" + // InternalSolverLanguageParser.g:3480:1: rule__AssertionOrDefinition__Group_1_1__0__Impl : ( () ) ; + public final void rule__AssertionOrDefinition__Group_1_1__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:3484:1: ( ( () ) ) + // InternalSolverLanguageParser.g:3485:1: ( () ) + { + // InternalSolverLanguageParser.g:3485:1: ( () ) + // InternalSolverLanguageParser.g:3486:2: () + { + before(grammarAccess.getAssertionOrDefinitionAccess().getPredicateDefinitionHeadAction_1_1_0()); + // InternalSolverLanguageParser.g:3487:2: () + // InternalSolverLanguageParser.g:3487:3: + { + } + + after(grammarAccess.getAssertionOrDefinitionAccess().getPredicateDefinitionHeadAction_1_1_0()); + + } + + + } + + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AssertionOrDefinition__Group_1_1__0__Impl" + + + // $ANTLR start "rule__AssertionOrDefinition__Group_1_1__1" + // InternalSolverLanguageParser.g:3495:1: rule__AssertionOrDefinition__Group_1_1__1 : rule__AssertionOrDefinition__Group_1_1__1__Impl rule__AssertionOrDefinition__Group_1_1__2 ; + public final void rule__AssertionOrDefinition__Group_1_1__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:3499:1: ( rule__AssertionOrDefinition__Group_1_1__1__Impl rule__AssertionOrDefinition__Group_1_1__2 ) + // InternalSolverLanguageParser.g:3500:2: rule__AssertionOrDefinition__Group_1_1__1__Impl rule__AssertionOrDefinition__Group_1_1__2 + { + pushFollow(FOLLOW_12); + rule__AssertionOrDefinition__Group_1_1__1__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__AssertionOrDefinition__Group_1_1__2(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AssertionOrDefinition__Group_1_1__1" + + + // $ANTLR start "rule__AssertionOrDefinition__Group_1_1__1__Impl" + // InternalSolverLanguageParser.g:3507:1: rule__AssertionOrDefinition__Group_1_1__1__Impl : ( ColonHyphenMinus ) ; + public final void rule__AssertionOrDefinition__Group_1_1__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:3511:1: ( ( ColonHyphenMinus ) ) + // InternalSolverLanguageParser.g:3512:1: ( ColonHyphenMinus ) + { + // InternalSolverLanguageParser.g:3512:1: ( ColonHyphenMinus ) + // InternalSolverLanguageParser.g:3513:2: ColonHyphenMinus + { + before(grammarAccess.getAssertionOrDefinitionAccess().getColonHyphenMinusKeyword_1_1_1()); + match(input,ColonHyphenMinus,FOLLOW_2); + after(grammarAccess.getAssertionOrDefinitionAccess().getColonHyphenMinusKeyword_1_1_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AssertionOrDefinition__Group_1_1__1__Impl" + + + // $ANTLR start "rule__AssertionOrDefinition__Group_1_1__2" + // InternalSolverLanguageParser.g:3522:1: rule__AssertionOrDefinition__Group_1_1__2 : rule__AssertionOrDefinition__Group_1_1__2__Impl ; + public final void rule__AssertionOrDefinition__Group_1_1__2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:3526:1: ( rule__AssertionOrDefinition__Group_1_1__2__Impl ) + // InternalSolverLanguageParser.g:3527:2: rule__AssertionOrDefinition__Group_1_1__2__Impl + { + pushFollow(FOLLOW_2); + rule__AssertionOrDefinition__Group_1_1__2__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AssertionOrDefinition__Group_1_1__2" + + + // $ANTLR start "rule__AssertionOrDefinition__Group_1_1__2__Impl" + // InternalSolverLanguageParser.g:3533:1: rule__AssertionOrDefinition__Group_1_1__2__Impl : ( ( rule__AssertionOrDefinition__BodyAssignment_1_1_2 ) ) ; + public final void rule__AssertionOrDefinition__Group_1_1__2__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:3537:1: ( ( ( rule__AssertionOrDefinition__BodyAssignment_1_1_2 ) ) ) + // InternalSolverLanguageParser.g:3538:1: ( ( rule__AssertionOrDefinition__BodyAssignment_1_1_2 ) ) + { + // InternalSolverLanguageParser.g:3538:1: ( ( rule__AssertionOrDefinition__BodyAssignment_1_1_2 ) ) + // InternalSolverLanguageParser.g:3539:2: ( rule__AssertionOrDefinition__BodyAssignment_1_1_2 ) + { + before(grammarAccess.getAssertionOrDefinitionAccess().getBodyAssignment_1_1_2()); + // InternalSolverLanguageParser.g:3540:2: ( rule__AssertionOrDefinition__BodyAssignment_1_1_2 ) + // InternalSolverLanguageParser.g:3540:3: rule__AssertionOrDefinition__BodyAssignment_1_1_2 + { + pushFollow(FOLLOW_2); + rule__AssertionOrDefinition__BodyAssignment_1_1_2(); + + state._fsp--; + + + } + + after(grammarAccess.getAssertionOrDefinitionAccess().getBodyAssignment_1_1_2()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AssertionOrDefinition__Group_1_1__2__Impl" + + + // $ANTLR start "rule__AssertionOrDefinition__Group_1_2__0" + // InternalSolverLanguageParser.g:3549:1: rule__AssertionOrDefinition__Group_1_2__0 : rule__AssertionOrDefinition__Group_1_2__0__Impl rule__AssertionOrDefinition__Group_1_2__1 ; + public final void rule__AssertionOrDefinition__Group_1_2__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:3553:1: ( rule__AssertionOrDefinition__Group_1_2__0__Impl rule__AssertionOrDefinition__Group_1_2__1 ) + // InternalSolverLanguageParser.g:3554:2: rule__AssertionOrDefinition__Group_1_2__0__Impl rule__AssertionOrDefinition__Group_1_2__1 + { + pushFollow(FOLLOW_10); + rule__AssertionOrDefinition__Group_1_2__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__AssertionOrDefinition__Group_1_2__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AssertionOrDefinition__Group_1_2__0" + + + // $ANTLR start "rule__AssertionOrDefinition__Group_1_2__0__Impl" + // InternalSolverLanguageParser.g:3561:1: rule__AssertionOrDefinition__Group_1_2__0__Impl : ( () ) ; + public final void rule__AssertionOrDefinition__Group_1_2__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:3565:1: ( ( () ) ) + // InternalSolverLanguageParser.g:3566:1: ( () ) + { + // InternalSolverLanguageParser.g:3566:1: ( () ) + // InternalSolverLanguageParser.g:3567:2: () + { + before(grammarAccess.getAssertionOrDefinitionAccess().getFunctionDefinitionHeadAction_1_2_0()); + // InternalSolverLanguageParser.g:3568:2: () + // InternalSolverLanguageParser.g:3568:3: + { + } + + after(grammarAccess.getAssertionOrDefinitionAccess().getFunctionDefinitionHeadAction_1_2_0()); + + } + + + } + + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AssertionOrDefinition__Group_1_2__0__Impl" + + + // $ANTLR start "rule__AssertionOrDefinition__Group_1_2__1" + // InternalSolverLanguageParser.g:3576:1: rule__AssertionOrDefinition__Group_1_2__1 : rule__AssertionOrDefinition__Group_1_2__1__Impl rule__AssertionOrDefinition__Group_1_2__2 ; + public final void rule__AssertionOrDefinition__Group_1_2__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:3580:1: ( rule__AssertionOrDefinition__Group_1_2__1__Impl rule__AssertionOrDefinition__Group_1_2__2 ) + // InternalSolverLanguageParser.g:3581:2: rule__AssertionOrDefinition__Group_1_2__1__Impl rule__AssertionOrDefinition__Group_1_2__2 + { + pushFollow(FOLLOW_12); + rule__AssertionOrDefinition__Group_1_2__1__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__AssertionOrDefinition__Group_1_2__2(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AssertionOrDefinition__Group_1_2__1" + + + // $ANTLR start "rule__AssertionOrDefinition__Group_1_2__1__Impl" + // InternalSolverLanguageParser.g:3588:1: rule__AssertionOrDefinition__Group_1_2__1__Impl : ( ColonEqualsSign ) ; + public final void rule__AssertionOrDefinition__Group_1_2__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:3592:1: ( ( ColonEqualsSign ) ) + // InternalSolverLanguageParser.g:3593:1: ( ColonEqualsSign ) + { + // InternalSolverLanguageParser.g:3593:1: ( ColonEqualsSign ) + // InternalSolverLanguageParser.g:3594:2: ColonEqualsSign + { + before(grammarAccess.getAssertionOrDefinitionAccess().getColonEqualsSignKeyword_1_2_1()); + match(input,ColonEqualsSign,FOLLOW_2); + after(grammarAccess.getAssertionOrDefinitionAccess().getColonEqualsSignKeyword_1_2_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AssertionOrDefinition__Group_1_2__1__Impl" + + + // $ANTLR start "rule__AssertionOrDefinition__Group_1_2__2" + // InternalSolverLanguageParser.g:3603:1: rule__AssertionOrDefinition__Group_1_2__2 : rule__AssertionOrDefinition__Group_1_2__2__Impl ; + public final void rule__AssertionOrDefinition__Group_1_2__2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:3607:1: ( rule__AssertionOrDefinition__Group_1_2__2__Impl ) + // InternalSolverLanguageParser.g:3608:2: rule__AssertionOrDefinition__Group_1_2__2__Impl + { + pushFollow(FOLLOW_2); + rule__AssertionOrDefinition__Group_1_2__2__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AssertionOrDefinition__Group_1_2__2" + + + // $ANTLR start "rule__AssertionOrDefinition__Group_1_2__2__Impl" + // InternalSolverLanguageParser.g:3614:1: rule__AssertionOrDefinition__Group_1_2__2__Impl : ( ( rule__AssertionOrDefinition__BodyAssignment_1_2_2 ) ) ; + public final void rule__AssertionOrDefinition__Group_1_2__2__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:3618:1: ( ( ( rule__AssertionOrDefinition__BodyAssignment_1_2_2 ) ) ) + // InternalSolverLanguageParser.g:3619:1: ( ( rule__AssertionOrDefinition__BodyAssignment_1_2_2 ) ) + { + // InternalSolverLanguageParser.g:3619:1: ( ( rule__AssertionOrDefinition__BodyAssignment_1_2_2 ) ) + // InternalSolverLanguageParser.g:3620:2: ( rule__AssertionOrDefinition__BodyAssignment_1_2_2 ) + { + before(grammarAccess.getAssertionOrDefinitionAccess().getBodyAssignment_1_2_2()); + // InternalSolverLanguageParser.g:3621:2: ( rule__AssertionOrDefinition__BodyAssignment_1_2_2 ) + // InternalSolverLanguageParser.g:3621:3: rule__AssertionOrDefinition__BodyAssignment_1_2_2 + { + pushFollow(FOLLOW_2); + rule__AssertionOrDefinition__BodyAssignment_1_2_2(); + + state._fsp--; + + + } + + after(grammarAccess.getAssertionOrDefinitionAccess().getBodyAssignment_1_2_2()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AssertionOrDefinition__Group_1_2__2__Impl" + + + // $ANTLR start "rule__PredicateDefinition__Group__0" + // InternalSolverLanguageParser.g:3630:1: rule__PredicateDefinition__Group__0 : rule__PredicateDefinition__Group__0__Impl rule__PredicateDefinition__Group__1 ; + public final void rule__PredicateDefinition__Group__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:3634:1: ( rule__PredicateDefinition__Group__0__Impl rule__PredicateDefinition__Group__1 ) + // InternalSolverLanguageParser.g:3635:2: rule__PredicateDefinition__Group__0__Impl rule__PredicateDefinition__Group__1 + { + pushFollow(FOLLOW_6); + rule__PredicateDefinition__Group__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__PredicateDefinition__Group__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PredicateDefinition__Group__0" + + + // $ANTLR start "rule__PredicateDefinition__Group__0__Impl" + // InternalSolverLanguageParser.g:3642:1: rule__PredicateDefinition__Group__0__Impl : ( ( rule__PredicateDefinition__Alternatives_0 ) ) ; + public final void rule__PredicateDefinition__Group__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:3646:1: ( ( ( rule__PredicateDefinition__Alternatives_0 ) ) ) + // InternalSolverLanguageParser.g:3647:1: ( ( rule__PredicateDefinition__Alternatives_0 ) ) + { + // InternalSolverLanguageParser.g:3647:1: ( ( rule__PredicateDefinition__Alternatives_0 ) ) + // InternalSolverLanguageParser.g:3648:2: ( rule__PredicateDefinition__Alternatives_0 ) + { + before(grammarAccess.getPredicateDefinitionAccess().getAlternatives_0()); + // InternalSolverLanguageParser.g:3649:2: ( rule__PredicateDefinition__Alternatives_0 ) + // InternalSolverLanguageParser.g:3649:3: rule__PredicateDefinition__Alternatives_0 + { + pushFollow(FOLLOW_2); + rule__PredicateDefinition__Alternatives_0(); + + state._fsp--; + + + } + + after(grammarAccess.getPredicateDefinitionAccess().getAlternatives_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PredicateDefinition__Group__0__Impl" + + + // $ANTLR start "rule__PredicateDefinition__Group__1" + // InternalSolverLanguageParser.g:3657:1: rule__PredicateDefinition__Group__1 : rule__PredicateDefinition__Group__1__Impl rule__PredicateDefinition__Group__2 ; + public final void rule__PredicateDefinition__Group__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:3661:1: ( rule__PredicateDefinition__Group__1__Impl rule__PredicateDefinition__Group__2 ) + // InternalSolverLanguageParser.g:3662:2: rule__PredicateDefinition__Group__1__Impl rule__PredicateDefinition__Group__2 + { + pushFollow(FOLLOW_13); + rule__PredicateDefinition__Group__1__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__PredicateDefinition__Group__2(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PredicateDefinition__Group__1" + + + // $ANTLR start "rule__PredicateDefinition__Group__1__Impl" + // InternalSolverLanguageParser.g:3669:1: rule__PredicateDefinition__Group__1__Impl : ( ( rule__PredicateDefinition__HeadAssignment_1 ) ) ; + public final void rule__PredicateDefinition__Group__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:3673:1: ( ( ( rule__PredicateDefinition__HeadAssignment_1 ) ) ) + // InternalSolverLanguageParser.g:3674:1: ( ( rule__PredicateDefinition__HeadAssignment_1 ) ) + { + // InternalSolverLanguageParser.g:3674:1: ( ( rule__PredicateDefinition__HeadAssignment_1 ) ) + // InternalSolverLanguageParser.g:3675:2: ( rule__PredicateDefinition__HeadAssignment_1 ) + { + before(grammarAccess.getPredicateDefinitionAccess().getHeadAssignment_1()); + // InternalSolverLanguageParser.g:3676:2: ( rule__PredicateDefinition__HeadAssignment_1 ) + // InternalSolverLanguageParser.g:3676:3: rule__PredicateDefinition__HeadAssignment_1 + { + pushFollow(FOLLOW_2); + rule__PredicateDefinition__HeadAssignment_1(); + + state._fsp--; + + + } + + after(grammarAccess.getPredicateDefinitionAccess().getHeadAssignment_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PredicateDefinition__Group__1__Impl" + + + // $ANTLR start "rule__PredicateDefinition__Group__2" + // InternalSolverLanguageParser.g:3684:1: rule__PredicateDefinition__Group__2 : rule__PredicateDefinition__Group__2__Impl rule__PredicateDefinition__Group__3 ; + public final void rule__PredicateDefinition__Group__2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:3688:1: ( rule__PredicateDefinition__Group__2__Impl rule__PredicateDefinition__Group__3 ) + // InternalSolverLanguageParser.g:3689:2: rule__PredicateDefinition__Group__2__Impl rule__PredicateDefinition__Group__3 + { + pushFollow(FOLLOW_12); + rule__PredicateDefinition__Group__2__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__PredicateDefinition__Group__3(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PredicateDefinition__Group__2" + + + // $ANTLR start "rule__PredicateDefinition__Group__2__Impl" + // InternalSolverLanguageParser.g:3696:1: rule__PredicateDefinition__Group__2__Impl : ( ColonHyphenMinus ) ; + public final void rule__PredicateDefinition__Group__2__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:3700:1: ( ( ColonHyphenMinus ) ) + // InternalSolverLanguageParser.g:3701:1: ( ColonHyphenMinus ) + { + // InternalSolverLanguageParser.g:3701:1: ( ColonHyphenMinus ) + // InternalSolverLanguageParser.g:3702:2: ColonHyphenMinus + { + before(grammarAccess.getPredicateDefinitionAccess().getColonHyphenMinusKeyword_2()); + match(input,ColonHyphenMinus,FOLLOW_2); + after(grammarAccess.getPredicateDefinitionAccess().getColonHyphenMinusKeyword_2()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PredicateDefinition__Group__2__Impl" + + + // $ANTLR start "rule__PredicateDefinition__Group__3" + // InternalSolverLanguageParser.g:3711:1: rule__PredicateDefinition__Group__3 : rule__PredicateDefinition__Group__3__Impl rule__PredicateDefinition__Group__4 ; + public final void rule__PredicateDefinition__Group__3() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:3715:1: ( rule__PredicateDefinition__Group__3__Impl rule__PredicateDefinition__Group__4 ) + // InternalSolverLanguageParser.g:3716:2: rule__PredicateDefinition__Group__3__Impl rule__PredicateDefinition__Group__4 + { + pushFollow(FOLLOW_7); + rule__PredicateDefinition__Group__3__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__PredicateDefinition__Group__4(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PredicateDefinition__Group__3" + + + // $ANTLR start "rule__PredicateDefinition__Group__3__Impl" + // InternalSolverLanguageParser.g:3723:1: rule__PredicateDefinition__Group__3__Impl : ( ( rule__PredicateDefinition__BodyAssignment_3 ) ) ; + public final void rule__PredicateDefinition__Group__3__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:3727:1: ( ( ( rule__PredicateDefinition__BodyAssignment_3 ) ) ) + // InternalSolverLanguageParser.g:3728:1: ( ( rule__PredicateDefinition__BodyAssignment_3 ) ) + { + // InternalSolverLanguageParser.g:3728:1: ( ( rule__PredicateDefinition__BodyAssignment_3 ) ) + // InternalSolverLanguageParser.g:3729:2: ( rule__PredicateDefinition__BodyAssignment_3 ) + { + before(grammarAccess.getPredicateDefinitionAccess().getBodyAssignment_3()); + // InternalSolverLanguageParser.g:3730:2: ( rule__PredicateDefinition__BodyAssignment_3 ) + // InternalSolverLanguageParser.g:3730:3: rule__PredicateDefinition__BodyAssignment_3 + { + pushFollow(FOLLOW_2); + rule__PredicateDefinition__BodyAssignment_3(); + + state._fsp--; + + + } + + after(grammarAccess.getPredicateDefinitionAccess().getBodyAssignment_3()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PredicateDefinition__Group__3__Impl" + + + // $ANTLR start "rule__PredicateDefinition__Group__4" + // InternalSolverLanguageParser.g:3738:1: rule__PredicateDefinition__Group__4 : rule__PredicateDefinition__Group__4__Impl ; + public final void rule__PredicateDefinition__Group__4() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:3742:1: ( rule__PredicateDefinition__Group__4__Impl ) + // InternalSolverLanguageParser.g:3743:2: rule__PredicateDefinition__Group__4__Impl + { + pushFollow(FOLLOW_2); + rule__PredicateDefinition__Group__4__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PredicateDefinition__Group__4" + + + // $ANTLR start "rule__PredicateDefinition__Group__4__Impl" + // InternalSolverLanguageParser.g:3749:1: rule__PredicateDefinition__Group__4__Impl : ( RULE_FULL_STOP ) ; + public final void rule__PredicateDefinition__Group__4__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:3753:1: ( ( RULE_FULL_STOP ) ) + // InternalSolverLanguageParser.g:3754:1: ( RULE_FULL_STOP ) + { + // InternalSolverLanguageParser.g:3754:1: ( RULE_FULL_STOP ) + // InternalSolverLanguageParser.g:3755:2: RULE_FULL_STOP + { + before(grammarAccess.getPredicateDefinitionAccess().getFULL_STOPTerminalRuleCall_4()); + match(input,RULE_FULL_STOP,FOLLOW_2); + after(grammarAccess.getPredicateDefinitionAccess().getFULL_STOPTerminalRuleCall_4()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PredicateDefinition__Group__4__Impl" + + + // $ANTLR start "rule__PredicateDefinition__Group_0_0__0" + // InternalSolverLanguageParser.g:3765:1: rule__PredicateDefinition__Group_0_0__0 : rule__PredicateDefinition__Group_0_0__0__Impl rule__PredicateDefinition__Group_0_0__1 ; + public final void rule__PredicateDefinition__Group_0_0__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:3769:1: ( rule__PredicateDefinition__Group_0_0__0__Impl rule__PredicateDefinition__Group_0_0__1 ) + // InternalSolverLanguageParser.g:3770:2: rule__PredicateDefinition__Group_0_0__0__Impl rule__PredicateDefinition__Group_0_0__1 + { + pushFollow(FOLLOW_14); + rule__PredicateDefinition__Group_0_0__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__PredicateDefinition__Group_0_0__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PredicateDefinition__Group_0_0__0" + + + // $ANTLR start "rule__PredicateDefinition__Group_0_0__0__Impl" + // InternalSolverLanguageParser.g:3777:1: rule__PredicateDefinition__Group_0_0__0__Impl : ( ( rule__PredicateDefinition__FunctionalAssignment_0_0_0 ) ) ; + public final void rule__PredicateDefinition__Group_0_0__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:3781:1: ( ( ( rule__PredicateDefinition__FunctionalAssignment_0_0_0 ) ) ) + // InternalSolverLanguageParser.g:3782:1: ( ( rule__PredicateDefinition__FunctionalAssignment_0_0_0 ) ) + { + // InternalSolverLanguageParser.g:3782:1: ( ( rule__PredicateDefinition__FunctionalAssignment_0_0_0 ) ) + // InternalSolverLanguageParser.g:3783:2: ( rule__PredicateDefinition__FunctionalAssignment_0_0_0 ) + { + before(grammarAccess.getPredicateDefinitionAccess().getFunctionalAssignment_0_0_0()); + // InternalSolverLanguageParser.g:3784:2: ( rule__PredicateDefinition__FunctionalAssignment_0_0_0 ) + // InternalSolverLanguageParser.g:3784:3: rule__PredicateDefinition__FunctionalAssignment_0_0_0 + { + pushFollow(FOLLOW_2); + rule__PredicateDefinition__FunctionalAssignment_0_0_0(); + + state._fsp--; + + + } + + after(grammarAccess.getPredicateDefinitionAccess().getFunctionalAssignment_0_0_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PredicateDefinition__Group_0_0__0__Impl" + + + // $ANTLR start "rule__PredicateDefinition__Group_0_0__1" + // InternalSolverLanguageParser.g:3792:1: rule__PredicateDefinition__Group_0_0__1 : rule__PredicateDefinition__Group_0_0__1__Impl ; + public final void rule__PredicateDefinition__Group_0_0__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:3796:1: ( rule__PredicateDefinition__Group_0_0__1__Impl ) + // InternalSolverLanguageParser.g:3797:2: rule__PredicateDefinition__Group_0_0__1__Impl + { + pushFollow(FOLLOW_2); + rule__PredicateDefinition__Group_0_0__1__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PredicateDefinition__Group_0_0__1" + + + // $ANTLR start "rule__PredicateDefinition__Group_0_0__1__Impl" + // InternalSolverLanguageParser.g:3803:1: rule__PredicateDefinition__Group_0_0__1__Impl : ( ( rule__PredicateDefinition__ErrorAssignment_0_0_1 )? ) ; + public final void rule__PredicateDefinition__Group_0_0__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:3807:1: ( ( ( rule__PredicateDefinition__ErrorAssignment_0_0_1 )? ) ) + // InternalSolverLanguageParser.g:3808:1: ( ( rule__PredicateDefinition__ErrorAssignment_0_0_1 )? ) + { + // InternalSolverLanguageParser.g:3808:1: ( ( rule__PredicateDefinition__ErrorAssignment_0_0_1 )? ) + // InternalSolverLanguageParser.g:3809:2: ( rule__PredicateDefinition__ErrorAssignment_0_0_1 )? + { + before(grammarAccess.getPredicateDefinitionAccess().getErrorAssignment_0_0_1()); + // InternalSolverLanguageParser.g:3810:2: ( rule__PredicateDefinition__ErrorAssignment_0_0_1 )? + int alt34=2; + int LA34_0 = input.LA(1); + + if ( (LA34_0==Error) ) { + alt34=1; + } + switch (alt34) { + case 1 : + // InternalSolverLanguageParser.g:3810:3: rule__PredicateDefinition__ErrorAssignment_0_0_1 + { + pushFollow(FOLLOW_2); + rule__PredicateDefinition__ErrorAssignment_0_0_1(); + + state._fsp--; + + + } + break; + + } + + after(grammarAccess.getPredicateDefinitionAccess().getErrorAssignment_0_0_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PredicateDefinition__Group_0_0__1__Impl" + + + // $ANTLR start "rule__PredicateDefinition__Group_0_1__0" + // InternalSolverLanguageParser.g:3819:1: rule__PredicateDefinition__Group_0_1__0 : rule__PredicateDefinition__Group_0_1__0__Impl rule__PredicateDefinition__Group_0_1__1 ; + public final void rule__PredicateDefinition__Group_0_1__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:3823:1: ( rule__PredicateDefinition__Group_0_1__0__Impl rule__PredicateDefinition__Group_0_1__1 ) + // InternalSolverLanguageParser.g:3824:2: rule__PredicateDefinition__Group_0_1__0__Impl rule__PredicateDefinition__Group_0_1__1 + { + pushFollow(FOLLOW_15); + rule__PredicateDefinition__Group_0_1__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__PredicateDefinition__Group_0_1__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PredicateDefinition__Group_0_1__0" + + + // $ANTLR start "rule__PredicateDefinition__Group_0_1__0__Impl" + // InternalSolverLanguageParser.g:3831:1: rule__PredicateDefinition__Group_0_1__0__Impl : ( ( rule__PredicateDefinition__ErrorAssignment_0_1_0 ) ) ; + public final void rule__PredicateDefinition__Group_0_1__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:3835:1: ( ( ( rule__PredicateDefinition__ErrorAssignment_0_1_0 ) ) ) + // InternalSolverLanguageParser.g:3836:1: ( ( rule__PredicateDefinition__ErrorAssignment_0_1_0 ) ) + { + // InternalSolverLanguageParser.g:3836:1: ( ( rule__PredicateDefinition__ErrorAssignment_0_1_0 ) ) + // InternalSolverLanguageParser.g:3837:2: ( rule__PredicateDefinition__ErrorAssignment_0_1_0 ) + { + before(grammarAccess.getPredicateDefinitionAccess().getErrorAssignment_0_1_0()); + // InternalSolverLanguageParser.g:3838:2: ( rule__PredicateDefinition__ErrorAssignment_0_1_0 ) + // InternalSolverLanguageParser.g:3838:3: rule__PredicateDefinition__ErrorAssignment_0_1_0 + { + pushFollow(FOLLOW_2); + rule__PredicateDefinition__ErrorAssignment_0_1_0(); + + state._fsp--; + + + } + + after(grammarAccess.getPredicateDefinitionAccess().getErrorAssignment_0_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PredicateDefinition__Group_0_1__0__Impl" + + + // $ANTLR start "rule__PredicateDefinition__Group_0_1__1" + // InternalSolverLanguageParser.g:3846:1: rule__PredicateDefinition__Group_0_1__1 : rule__PredicateDefinition__Group_0_1__1__Impl ; + public final void rule__PredicateDefinition__Group_0_1__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:3850:1: ( rule__PredicateDefinition__Group_0_1__1__Impl ) + // InternalSolverLanguageParser.g:3851:2: rule__PredicateDefinition__Group_0_1__1__Impl + { + pushFollow(FOLLOW_2); + rule__PredicateDefinition__Group_0_1__1__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PredicateDefinition__Group_0_1__1" + + + // $ANTLR start "rule__PredicateDefinition__Group_0_1__1__Impl" + // InternalSolverLanguageParser.g:3857:1: rule__PredicateDefinition__Group_0_1__1__Impl : ( ( rule__PredicateDefinition__FunctionalAssignment_0_1_1 )? ) ; + public final void rule__PredicateDefinition__Group_0_1__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:3861:1: ( ( ( rule__PredicateDefinition__FunctionalAssignment_0_1_1 )? ) ) + // InternalSolverLanguageParser.g:3862:1: ( ( rule__PredicateDefinition__FunctionalAssignment_0_1_1 )? ) + { + // InternalSolverLanguageParser.g:3862:1: ( ( rule__PredicateDefinition__FunctionalAssignment_0_1_1 )? ) + // InternalSolverLanguageParser.g:3863:2: ( rule__PredicateDefinition__FunctionalAssignment_0_1_1 )? + { + before(grammarAccess.getPredicateDefinitionAccess().getFunctionalAssignment_0_1_1()); + // InternalSolverLanguageParser.g:3864:2: ( rule__PredicateDefinition__FunctionalAssignment_0_1_1 )? + int alt35=2; + int LA35_0 = input.LA(1); + + if ( (LA35_0==Functional) ) { + alt35=1; + } + switch (alt35) { + case 1 : + // InternalSolverLanguageParser.g:3864:3: rule__PredicateDefinition__FunctionalAssignment_0_1_1 + { + pushFollow(FOLLOW_2); + rule__PredicateDefinition__FunctionalAssignment_0_1_1(); + + state._fsp--; + + + } + break; + + } + + after(grammarAccess.getPredicateDefinitionAccess().getFunctionalAssignment_0_1_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__PredicateDefinition__Group_0_1__1__Impl" + + + // $ANTLR start "rule__UnnamedErrorPredicateDefintion__Group__0" + // InternalSolverLanguageParser.g:3873:1: rule__UnnamedErrorPredicateDefintion__Group__0 : rule__UnnamedErrorPredicateDefintion__Group__0__Impl rule__UnnamedErrorPredicateDefintion__Group__1 ; + public final void rule__UnnamedErrorPredicateDefintion__Group__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:3877:1: ( rule__UnnamedErrorPredicateDefintion__Group__0__Impl rule__UnnamedErrorPredicateDefintion__Group__1 ) + // InternalSolverLanguageParser.g:3878:2: rule__UnnamedErrorPredicateDefintion__Group__0__Impl rule__UnnamedErrorPredicateDefintion__Group__1 + { + pushFollow(FOLLOW_16); + rule__UnnamedErrorPredicateDefintion__Group__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__UnnamedErrorPredicateDefintion__Group__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__UnnamedErrorPredicateDefintion__Group__0" + + + // $ANTLR start "rule__UnnamedErrorPredicateDefintion__Group__0__Impl" + // InternalSolverLanguageParser.g:3885:1: rule__UnnamedErrorPredicateDefintion__Group__0__Impl : ( Error ) ; + public final void rule__UnnamedErrorPredicateDefintion__Group__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:3889:1: ( ( Error ) ) + // InternalSolverLanguageParser.g:3890:1: ( Error ) + { + // InternalSolverLanguageParser.g:3890:1: ( Error ) + // InternalSolverLanguageParser.g:3891:2: Error + { + before(grammarAccess.getUnnamedErrorPredicateDefintionAccess().getErrorKeyword_0()); + match(input,Error,FOLLOW_2); + after(grammarAccess.getUnnamedErrorPredicateDefintionAccess().getErrorKeyword_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__UnnamedErrorPredicateDefintion__Group__0__Impl" + + + // $ANTLR start "rule__UnnamedErrorPredicateDefintion__Group__1" + // InternalSolverLanguageParser.g:3900:1: rule__UnnamedErrorPredicateDefintion__Group__1 : rule__UnnamedErrorPredicateDefintion__Group__1__Impl rule__UnnamedErrorPredicateDefintion__Group__2 ; + public final void rule__UnnamedErrorPredicateDefintion__Group__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:3904:1: ( rule__UnnamedErrorPredicateDefintion__Group__1__Impl rule__UnnamedErrorPredicateDefintion__Group__2 ) + // InternalSolverLanguageParser.g:3905:2: rule__UnnamedErrorPredicateDefintion__Group__1__Impl rule__UnnamedErrorPredicateDefintion__Group__2 + { + pushFollow(FOLLOW_13); + rule__UnnamedErrorPredicateDefintion__Group__1__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__UnnamedErrorPredicateDefintion__Group__2(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__UnnamedErrorPredicateDefintion__Group__1" + + + // $ANTLR start "rule__UnnamedErrorPredicateDefintion__Group__1__Impl" + // InternalSolverLanguageParser.g:3912:1: rule__UnnamedErrorPredicateDefintion__Group__1__Impl : ( ( rule__UnnamedErrorPredicateDefintion__ArgumentListAssignment_1 ) ) ; + public final void rule__UnnamedErrorPredicateDefintion__Group__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:3916:1: ( ( ( rule__UnnamedErrorPredicateDefintion__ArgumentListAssignment_1 ) ) ) + // InternalSolverLanguageParser.g:3917:1: ( ( rule__UnnamedErrorPredicateDefintion__ArgumentListAssignment_1 ) ) + { + // InternalSolverLanguageParser.g:3917:1: ( ( rule__UnnamedErrorPredicateDefintion__ArgumentListAssignment_1 ) ) + // InternalSolverLanguageParser.g:3918:2: ( rule__UnnamedErrorPredicateDefintion__ArgumentListAssignment_1 ) + { + before(grammarAccess.getUnnamedErrorPredicateDefintionAccess().getArgumentListAssignment_1()); + // InternalSolverLanguageParser.g:3919:2: ( rule__UnnamedErrorPredicateDefintion__ArgumentListAssignment_1 ) + // InternalSolverLanguageParser.g:3919:3: rule__UnnamedErrorPredicateDefintion__ArgumentListAssignment_1 + { + pushFollow(FOLLOW_2); + rule__UnnamedErrorPredicateDefintion__ArgumentListAssignment_1(); + + state._fsp--; + + + } + + after(grammarAccess.getUnnamedErrorPredicateDefintionAccess().getArgumentListAssignment_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__UnnamedErrorPredicateDefintion__Group__1__Impl" + + + // $ANTLR start "rule__UnnamedErrorPredicateDefintion__Group__2" + // InternalSolverLanguageParser.g:3927:1: rule__UnnamedErrorPredicateDefintion__Group__2 : rule__UnnamedErrorPredicateDefintion__Group__2__Impl rule__UnnamedErrorPredicateDefintion__Group__3 ; + public final void rule__UnnamedErrorPredicateDefintion__Group__2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:3931:1: ( rule__UnnamedErrorPredicateDefintion__Group__2__Impl rule__UnnamedErrorPredicateDefintion__Group__3 ) + // InternalSolverLanguageParser.g:3932:2: rule__UnnamedErrorPredicateDefintion__Group__2__Impl rule__UnnamedErrorPredicateDefintion__Group__3 + { + pushFollow(FOLLOW_12); + rule__UnnamedErrorPredicateDefintion__Group__2__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__UnnamedErrorPredicateDefintion__Group__3(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__UnnamedErrorPredicateDefintion__Group__2" + + + // $ANTLR start "rule__UnnamedErrorPredicateDefintion__Group__2__Impl" + // InternalSolverLanguageParser.g:3939:1: rule__UnnamedErrorPredicateDefintion__Group__2__Impl : ( ColonHyphenMinus ) ; + public final void rule__UnnamedErrorPredicateDefintion__Group__2__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:3943:1: ( ( ColonHyphenMinus ) ) + // InternalSolverLanguageParser.g:3944:1: ( ColonHyphenMinus ) + { + // InternalSolverLanguageParser.g:3944:1: ( ColonHyphenMinus ) + // InternalSolverLanguageParser.g:3945:2: ColonHyphenMinus + { + before(grammarAccess.getUnnamedErrorPredicateDefintionAccess().getColonHyphenMinusKeyword_2()); + match(input,ColonHyphenMinus,FOLLOW_2); + after(grammarAccess.getUnnamedErrorPredicateDefintionAccess().getColonHyphenMinusKeyword_2()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__UnnamedErrorPredicateDefintion__Group__2__Impl" + + + // $ANTLR start "rule__UnnamedErrorPredicateDefintion__Group__3" + // InternalSolverLanguageParser.g:3954:1: rule__UnnamedErrorPredicateDefintion__Group__3 : rule__UnnamedErrorPredicateDefintion__Group__3__Impl rule__UnnamedErrorPredicateDefintion__Group__4 ; + public final void rule__UnnamedErrorPredicateDefintion__Group__3() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:3958:1: ( rule__UnnamedErrorPredicateDefintion__Group__3__Impl rule__UnnamedErrorPredicateDefintion__Group__4 ) + // InternalSolverLanguageParser.g:3959:2: rule__UnnamedErrorPredicateDefintion__Group__3__Impl rule__UnnamedErrorPredicateDefintion__Group__4 + { + pushFollow(FOLLOW_7); + rule__UnnamedErrorPredicateDefintion__Group__3__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__UnnamedErrorPredicateDefintion__Group__4(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__UnnamedErrorPredicateDefintion__Group__3" + + + // $ANTLR start "rule__UnnamedErrorPredicateDefintion__Group__3__Impl" + // InternalSolverLanguageParser.g:3966:1: rule__UnnamedErrorPredicateDefintion__Group__3__Impl : ( ( rule__UnnamedErrorPredicateDefintion__BodyAssignment_3 ) ) ; + public final void rule__UnnamedErrorPredicateDefintion__Group__3__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:3970:1: ( ( ( rule__UnnamedErrorPredicateDefintion__BodyAssignment_3 ) ) ) + // InternalSolverLanguageParser.g:3971:1: ( ( rule__UnnamedErrorPredicateDefintion__BodyAssignment_3 ) ) + { + // InternalSolverLanguageParser.g:3971:1: ( ( rule__UnnamedErrorPredicateDefintion__BodyAssignment_3 ) ) + // InternalSolverLanguageParser.g:3972:2: ( rule__UnnamedErrorPredicateDefintion__BodyAssignment_3 ) + { + before(grammarAccess.getUnnamedErrorPredicateDefintionAccess().getBodyAssignment_3()); + // InternalSolverLanguageParser.g:3973:2: ( rule__UnnamedErrorPredicateDefintion__BodyAssignment_3 ) + // InternalSolverLanguageParser.g:3973:3: rule__UnnamedErrorPredicateDefintion__BodyAssignment_3 + { + pushFollow(FOLLOW_2); + rule__UnnamedErrorPredicateDefintion__BodyAssignment_3(); + + state._fsp--; + + + } + + after(grammarAccess.getUnnamedErrorPredicateDefintionAccess().getBodyAssignment_3()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__UnnamedErrorPredicateDefintion__Group__3__Impl" + + + // $ANTLR start "rule__UnnamedErrorPredicateDefintion__Group__4" + // InternalSolverLanguageParser.g:3981:1: rule__UnnamedErrorPredicateDefintion__Group__4 : rule__UnnamedErrorPredicateDefintion__Group__4__Impl ; + public final void rule__UnnamedErrorPredicateDefintion__Group__4() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:3985:1: ( rule__UnnamedErrorPredicateDefintion__Group__4__Impl ) + // InternalSolverLanguageParser.g:3986:2: rule__UnnamedErrorPredicateDefintion__Group__4__Impl + { + pushFollow(FOLLOW_2); + rule__UnnamedErrorPredicateDefintion__Group__4__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__UnnamedErrorPredicateDefintion__Group__4" + + + // $ANTLR start "rule__UnnamedErrorPredicateDefintion__Group__4__Impl" + // InternalSolverLanguageParser.g:3992:1: rule__UnnamedErrorPredicateDefintion__Group__4__Impl : ( RULE_FULL_STOP ) ; + public final void rule__UnnamedErrorPredicateDefintion__Group__4__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:3996:1: ( ( RULE_FULL_STOP ) ) + // InternalSolverLanguageParser.g:3997:1: ( RULE_FULL_STOP ) + { + // InternalSolverLanguageParser.g:3997:1: ( RULE_FULL_STOP ) + // InternalSolverLanguageParser.g:3998:2: RULE_FULL_STOP + { + before(grammarAccess.getUnnamedErrorPredicateDefintionAccess().getFULL_STOPTerminalRuleCall_4()); + match(input,RULE_FULL_STOP,FOLLOW_2); + after(grammarAccess.getUnnamedErrorPredicateDefintionAccess().getFULL_STOPTerminalRuleCall_4()); } @@ -8163,21 +12719,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Statement__Group__0__Impl" + // $ANTLR end "rule__UnnamedErrorPredicateDefintion__Group__4__Impl" - // $ANTLR start "rule__Statement__Group__1" - // InternalSolverLanguageParser.g:2514:1: rule__Statement__Group__1 : rule__Statement__Group__1__Impl ; - public final void rule__Statement__Group__1() throws RecognitionException { + // $ANTLR start "rule__DefaultAssertion__Group__0" + // InternalSolverLanguageParser.g:4008:1: rule__DefaultAssertion__Group__0 : rule__DefaultAssertion__Group__0__Impl rule__DefaultAssertion__Group__1 ; + public final void rule__DefaultAssertion__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:2518:1: ( rule__Statement__Group__1__Impl ) - // InternalSolverLanguageParser.g:2519:2: rule__Statement__Group__1__Impl + // InternalSolverLanguageParser.g:4012:1: ( rule__DefaultAssertion__Group__0__Impl rule__DefaultAssertion__Group__1 ) + // InternalSolverLanguageParser.g:4013:2: rule__DefaultAssertion__Group__0__Impl rule__DefaultAssertion__Group__1 { + pushFollow(FOLLOW_6); + rule__DefaultAssertion__Group__0__Impl(); + + state._fsp--; + pushFollow(FOLLOW_2); - rule__Statement__Group__1__Impl(); + rule__DefaultAssertion__Group__1(); state._fsp--; @@ -8196,25 +12757,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Statement__Group__1" + // $ANTLR end "rule__DefaultAssertion__Group__0" - // $ANTLR start "rule__Statement__Group__1__Impl" - // InternalSolverLanguageParser.g:2525:1: rule__Statement__Group__1__Impl : ( RULE_FULL_STOP ) ; - public final void rule__Statement__Group__1__Impl() throws RecognitionException { + // $ANTLR start "rule__DefaultAssertion__Group__0__Impl" + // InternalSolverLanguageParser.g:4020:1: rule__DefaultAssertion__Group__0__Impl : ( Default ) ; + public final void rule__DefaultAssertion__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:2529:1: ( ( RULE_FULL_STOP ) ) - // InternalSolverLanguageParser.g:2530:1: ( RULE_FULL_STOP ) + // InternalSolverLanguageParser.g:4024:1: ( ( Default ) ) + // InternalSolverLanguageParser.g:4025:1: ( Default ) { - // InternalSolverLanguageParser.g:2530:1: ( RULE_FULL_STOP ) - // InternalSolverLanguageParser.g:2531:2: RULE_FULL_STOP + // InternalSolverLanguageParser.g:4025:1: ( Default ) + // InternalSolverLanguageParser.g:4026:2: Default { - before(grammarAccess.getStatementAccess().getFULL_STOPTerminalRuleCall_1()); - match(input,RULE_FULL_STOP,FOLLOW_2); - after(grammarAccess.getStatementAccess().getFULL_STOPTerminalRuleCall_1()); + before(grammarAccess.getDefaultAssertionAccess().getDefaultKeyword_0()); + match(input,Default,FOLLOW_2); + after(grammarAccess.getDefaultAssertionAccess().getDefaultKeyword_0()); } @@ -8233,26 +12794,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Statement__Group__1__Impl" + // $ANTLR end "rule__DefaultAssertion__Group__0__Impl" - // $ANTLR start "rule__AssertionOrDefinition__Group__0" - // InternalSolverLanguageParser.g:2541:1: rule__AssertionOrDefinition__Group__0 : rule__AssertionOrDefinition__Group__0__Impl rule__AssertionOrDefinition__Group__1 ; - public final void rule__AssertionOrDefinition__Group__0() throws RecognitionException { + // $ANTLR start "rule__DefaultAssertion__Group__1" + // InternalSolverLanguageParser.g:4035:1: rule__DefaultAssertion__Group__1 : rule__DefaultAssertion__Group__1__Impl rule__DefaultAssertion__Group__2 ; + public final void rule__DefaultAssertion__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:2545:1: ( rule__AssertionOrDefinition__Group__0__Impl rule__AssertionOrDefinition__Group__1 ) - // InternalSolverLanguageParser.g:2546:2: rule__AssertionOrDefinition__Group__0__Impl rule__AssertionOrDefinition__Group__1 + // InternalSolverLanguageParser.g:4039:1: ( rule__DefaultAssertion__Group__1__Impl rule__DefaultAssertion__Group__2 ) + // InternalSolverLanguageParser.g:4040:2: rule__DefaultAssertion__Group__1__Impl rule__DefaultAssertion__Group__2 { - pushFollow(FOLLOW_5); - rule__AssertionOrDefinition__Group__0__Impl(); + pushFollow(FOLLOW_17); + rule__DefaultAssertion__Group__1__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__AssertionOrDefinition__Group__1(); + rule__DefaultAssertion__Group__2(); state._fsp--; @@ -8271,29 +12832,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__AssertionOrDefinition__Group__0" + // $ANTLR end "rule__DefaultAssertion__Group__1" - // $ANTLR start "rule__AssertionOrDefinition__Group__0__Impl" - // InternalSolverLanguageParser.g:2553:1: rule__AssertionOrDefinition__Group__0__Impl : ( ruleExpression ) ; - public final void rule__AssertionOrDefinition__Group__0__Impl() throws RecognitionException { + // $ANTLR start "rule__DefaultAssertion__Group__1__Impl" + // InternalSolverLanguageParser.g:4047:1: rule__DefaultAssertion__Group__1__Impl : ( ( rule__DefaultAssertion__ExpressionAssignment_1 ) ) ; + public final void rule__DefaultAssertion__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:2557:1: ( ( ruleExpression ) ) - // InternalSolverLanguageParser.g:2558:1: ( ruleExpression ) + // InternalSolverLanguageParser.g:4051:1: ( ( ( rule__DefaultAssertion__ExpressionAssignment_1 ) ) ) + // InternalSolverLanguageParser.g:4052:1: ( ( rule__DefaultAssertion__ExpressionAssignment_1 ) ) { - // InternalSolverLanguageParser.g:2558:1: ( ruleExpression ) - // InternalSolverLanguageParser.g:2559:2: ruleExpression + // InternalSolverLanguageParser.g:4052:1: ( ( rule__DefaultAssertion__ExpressionAssignment_1 ) ) + // InternalSolverLanguageParser.g:4053:2: ( rule__DefaultAssertion__ExpressionAssignment_1 ) + { + before(grammarAccess.getDefaultAssertionAccess().getExpressionAssignment_1()); + // InternalSolverLanguageParser.g:4054:2: ( rule__DefaultAssertion__ExpressionAssignment_1 ) + // InternalSolverLanguageParser.g:4054:3: rule__DefaultAssertion__ExpressionAssignment_1 { - before(grammarAccess.getAssertionOrDefinitionAccess().getExpressionParserRuleCall_0()); pushFollow(FOLLOW_2); - ruleExpression(); + rule__DefaultAssertion__ExpressionAssignment_1(); state._fsp--; - after(grammarAccess.getAssertionOrDefinitionAccess().getExpressionParserRuleCall_0()); + + } + + after(grammarAccess.getDefaultAssertionAccess().getExpressionAssignment_1()); } @@ -8312,21 +12879,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__AssertionOrDefinition__Group__0__Impl" + // $ANTLR end "rule__DefaultAssertion__Group__1__Impl" - // $ANTLR start "rule__AssertionOrDefinition__Group__1" - // InternalSolverLanguageParser.g:2568:1: rule__AssertionOrDefinition__Group__1 : rule__AssertionOrDefinition__Group__1__Impl ; - public final void rule__AssertionOrDefinition__Group__1() throws RecognitionException { + // $ANTLR start "rule__DefaultAssertion__Group__2" + // InternalSolverLanguageParser.g:4062:1: rule__DefaultAssertion__Group__2 : rule__DefaultAssertion__Group__2__Impl rule__DefaultAssertion__Group__3 ; + public final void rule__DefaultAssertion__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:2572:1: ( rule__AssertionOrDefinition__Group__1__Impl ) - // InternalSolverLanguageParser.g:2573:2: rule__AssertionOrDefinition__Group__1__Impl + // InternalSolverLanguageParser.g:4066:1: ( rule__DefaultAssertion__Group__2__Impl rule__DefaultAssertion__Group__3 ) + // InternalSolverLanguageParser.g:4067:2: rule__DefaultAssertion__Group__2__Impl rule__DefaultAssertion__Group__3 { + pushFollow(FOLLOW_17); + rule__DefaultAssertion__Group__2__Impl(); + + state._fsp--; + pushFollow(FOLLOW_2); - rule__AssertionOrDefinition__Group__1__Impl(); + rule__DefaultAssertion__Group__3(); state._fsp--; @@ -8345,36 +12917,36 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__AssertionOrDefinition__Group__1" + // $ANTLR end "rule__DefaultAssertion__Group__2" - // $ANTLR start "rule__AssertionOrDefinition__Group__1__Impl" - // InternalSolverLanguageParser.g:2579:1: rule__AssertionOrDefinition__Group__1__Impl : ( ( rule__AssertionOrDefinition__Alternatives_1 )? ) ; - public final void rule__AssertionOrDefinition__Group__1__Impl() throws RecognitionException { + // $ANTLR start "rule__DefaultAssertion__Group__2__Impl" + // InternalSolverLanguageParser.g:4074:1: rule__DefaultAssertion__Group__2__Impl : ( ( rule__DefaultAssertion__Group_2__0 )? ) ; + public final void rule__DefaultAssertion__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:2583:1: ( ( ( rule__AssertionOrDefinition__Alternatives_1 )? ) ) - // InternalSolverLanguageParser.g:2584:1: ( ( rule__AssertionOrDefinition__Alternatives_1 )? ) + // InternalSolverLanguageParser.g:4078:1: ( ( ( rule__DefaultAssertion__Group_2__0 )? ) ) + // InternalSolverLanguageParser.g:4079:1: ( ( rule__DefaultAssertion__Group_2__0 )? ) { - // InternalSolverLanguageParser.g:2584:1: ( ( rule__AssertionOrDefinition__Alternatives_1 )? ) - // InternalSolverLanguageParser.g:2585:2: ( rule__AssertionOrDefinition__Alternatives_1 )? + // InternalSolverLanguageParser.g:4079:1: ( ( rule__DefaultAssertion__Group_2__0 )? ) + // InternalSolverLanguageParser.g:4080:2: ( rule__DefaultAssertion__Group_2__0 )? { - before(grammarAccess.getAssertionOrDefinitionAccess().getAlternatives_1()); - // InternalSolverLanguageParser.g:2586:2: ( rule__AssertionOrDefinition__Alternatives_1 )? - int alt26=2; - int LA26_0 = input.LA(1); + before(grammarAccess.getDefaultAssertionAccess().getGroup_2()); + // InternalSolverLanguageParser.g:4081:2: ( rule__DefaultAssertion__Group_2__0 )? + int alt36=2; + int LA36_0 = input.LA(1); - if ( (LA26_0==ColonHyphenMinus||LA26_0==Colon||LA26_0==EqualsSign) ) { - alt26=1; + if ( (LA36_0==Colon) ) { + alt36=1; } - switch (alt26) { + switch (alt36) { case 1 : - // InternalSolverLanguageParser.g:2586:3: rule__AssertionOrDefinition__Alternatives_1 + // InternalSolverLanguageParser.g:4081:3: rule__DefaultAssertion__Group_2__0 { pushFollow(FOLLOW_2); - rule__AssertionOrDefinition__Alternatives_1(); + rule__DefaultAssertion__Group_2__0(); state._fsp--; @@ -8384,7 +12956,7 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } - after(grammarAccess.getAssertionOrDefinitionAccess().getAlternatives_1()); + after(grammarAccess.getDefaultAssertionAccess().getGroup_2()); } @@ -8403,26 +12975,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__AssertionOrDefinition__Group__1__Impl" + // $ANTLR end "rule__DefaultAssertion__Group__2__Impl" - // $ANTLR start "rule__AssertionOrDefinition__Group_1_0__0" - // InternalSolverLanguageParser.g:2595:1: rule__AssertionOrDefinition__Group_1_0__0 : rule__AssertionOrDefinition__Group_1_0__0__Impl rule__AssertionOrDefinition__Group_1_0__1 ; - public final void rule__AssertionOrDefinition__Group_1_0__0() throws RecognitionException { + // $ANTLR start "rule__DefaultAssertion__Group__3" + // InternalSolverLanguageParser.g:4089:1: rule__DefaultAssertion__Group__3 : rule__DefaultAssertion__Group__3__Impl ; + public final void rule__DefaultAssertion__Group__3() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:2599:1: ( rule__AssertionOrDefinition__Group_1_0__0__Impl rule__AssertionOrDefinition__Group_1_0__1 ) - // InternalSolverLanguageParser.g:2600:2: rule__AssertionOrDefinition__Group_1_0__0__Impl rule__AssertionOrDefinition__Group_1_0__1 + // InternalSolverLanguageParser.g:4093:1: ( rule__DefaultAssertion__Group__3__Impl ) + // InternalSolverLanguageParser.g:4094:2: rule__DefaultAssertion__Group__3__Impl { - pushFollow(FOLLOW_6); - rule__AssertionOrDefinition__Group_1_0__0__Impl(); - - state._fsp--; - pushFollow(FOLLOW_2); - rule__AssertionOrDefinition__Group_1_0__1(); + rule__DefaultAssertion__Group__3__Impl(); state._fsp--; @@ -8441,29 +13008,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__AssertionOrDefinition__Group_1_0__0" + // $ANTLR end "rule__DefaultAssertion__Group__3" - // $ANTLR start "rule__AssertionOrDefinition__Group_1_0__0__Impl" - // InternalSolverLanguageParser.g:2607:1: rule__AssertionOrDefinition__Group_1_0__0__Impl : ( () ) ; - public final void rule__AssertionOrDefinition__Group_1_0__0__Impl() throws RecognitionException { + // $ANTLR start "rule__DefaultAssertion__Group__3__Impl" + // InternalSolverLanguageParser.g:4100:1: rule__DefaultAssertion__Group__3__Impl : ( RULE_FULL_STOP ) ; + public final void rule__DefaultAssertion__Group__3__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:2611:1: ( ( () ) ) - // InternalSolverLanguageParser.g:2612:1: ( () ) - { - // InternalSolverLanguageParser.g:2612:1: ( () ) - // InternalSolverLanguageParser.g:2613:2: () + // InternalSolverLanguageParser.g:4104:1: ( ( RULE_FULL_STOP ) ) + // InternalSolverLanguageParser.g:4105:1: ( RULE_FULL_STOP ) { - before(grammarAccess.getAssertionOrDefinitionAccess().getInterpretationBodyAction_1_0_0()); - // InternalSolverLanguageParser.g:2614:2: () - // InternalSolverLanguageParser.g:2614:3: + // InternalSolverLanguageParser.g:4105:1: ( RULE_FULL_STOP ) + // InternalSolverLanguageParser.g:4106:2: RULE_FULL_STOP { - } - - after(grammarAccess.getAssertionOrDefinitionAccess().getInterpretationBodyAction_1_0_0()); + before(grammarAccess.getDefaultAssertionAccess().getFULL_STOPTerminalRuleCall_3()); + match(input,RULE_FULL_STOP,FOLLOW_2); + after(grammarAccess.getDefaultAssertionAccess().getFULL_STOPTerminalRuleCall_3()); } @@ -8471,6 +13034,10 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } finally { restoreStackSize(stackSize); @@ -8478,26 +13045,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__AssertionOrDefinition__Group_1_0__0__Impl" + // $ANTLR end "rule__DefaultAssertion__Group__3__Impl" - // $ANTLR start "rule__AssertionOrDefinition__Group_1_0__1" - // InternalSolverLanguageParser.g:2622:1: rule__AssertionOrDefinition__Group_1_0__1 : rule__AssertionOrDefinition__Group_1_0__1__Impl rule__AssertionOrDefinition__Group_1_0__2 ; - public final void rule__AssertionOrDefinition__Group_1_0__1() throws RecognitionException { + // $ANTLR start "rule__DefaultAssertion__Group_2__0" + // InternalSolverLanguageParser.g:4116:1: rule__DefaultAssertion__Group_2__0 : rule__DefaultAssertion__Group_2__0__Impl rule__DefaultAssertion__Group_2__1 ; + public final void rule__DefaultAssertion__Group_2__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:2626:1: ( rule__AssertionOrDefinition__Group_1_0__1__Impl rule__AssertionOrDefinition__Group_1_0__2 ) - // InternalSolverLanguageParser.g:2627:2: rule__AssertionOrDefinition__Group_1_0__1__Impl rule__AssertionOrDefinition__Group_1_0__2 + // InternalSolverLanguageParser.g:4120:1: ( rule__DefaultAssertion__Group_2__0__Impl rule__DefaultAssertion__Group_2__1 ) + // InternalSolverLanguageParser.g:4121:2: rule__DefaultAssertion__Group_2__0__Impl rule__DefaultAssertion__Group_2__1 { - pushFollow(FOLLOW_7); - rule__AssertionOrDefinition__Group_1_0__1__Impl(); + pushFollow(FOLLOW_12); + rule__DefaultAssertion__Group_2__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__AssertionOrDefinition__Group_1_0__2(); + rule__DefaultAssertion__Group_2__1(); state._fsp--; @@ -8516,25 +13083,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__AssertionOrDefinition__Group_1_0__1" + // $ANTLR end "rule__DefaultAssertion__Group_2__0" - // $ANTLR start "rule__AssertionOrDefinition__Group_1_0__1__Impl" - // InternalSolverLanguageParser.g:2634:1: rule__AssertionOrDefinition__Group_1_0__1__Impl : ( Colon ) ; - public final void rule__AssertionOrDefinition__Group_1_0__1__Impl() throws RecognitionException { + // $ANTLR start "rule__DefaultAssertion__Group_2__0__Impl" + // InternalSolverLanguageParser.g:4128:1: rule__DefaultAssertion__Group_2__0__Impl : ( Colon ) ; + public final void rule__DefaultAssertion__Group_2__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:2638:1: ( ( Colon ) ) - // InternalSolverLanguageParser.g:2639:1: ( Colon ) + // InternalSolverLanguageParser.g:4132:1: ( ( Colon ) ) + // InternalSolverLanguageParser.g:4133:1: ( Colon ) { - // InternalSolverLanguageParser.g:2639:1: ( Colon ) - // InternalSolverLanguageParser.g:2640:2: Colon + // InternalSolverLanguageParser.g:4133:1: ( Colon ) + // InternalSolverLanguageParser.g:4134:2: Colon { - before(grammarAccess.getAssertionOrDefinitionAccess().getColonKeyword_1_0_1()); + before(grammarAccess.getDefaultAssertionAccess().getColonKeyword_2_0()); match(input,Colon,FOLLOW_2); - after(grammarAccess.getAssertionOrDefinitionAccess().getColonKeyword_1_0_1()); + after(grammarAccess.getDefaultAssertionAccess().getColonKeyword_2_0()); } @@ -8553,21 +13120,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__AssertionOrDefinition__Group_1_0__1__Impl" + // $ANTLR end "rule__DefaultAssertion__Group_2__0__Impl" - // $ANTLR start "rule__AssertionOrDefinition__Group_1_0__2" - // InternalSolverLanguageParser.g:2649:1: rule__AssertionOrDefinition__Group_1_0__2 : rule__AssertionOrDefinition__Group_1_0__2__Impl ; - public final void rule__AssertionOrDefinition__Group_1_0__2() throws RecognitionException { + // $ANTLR start "rule__DefaultAssertion__Group_2__1" + // InternalSolverLanguageParser.g:4143:1: rule__DefaultAssertion__Group_2__1 : rule__DefaultAssertion__Group_2__1__Impl ; + public final void rule__DefaultAssertion__Group_2__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:2653:1: ( rule__AssertionOrDefinition__Group_1_0__2__Impl ) - // InternalSolverLanguageParser.g:2654:2: rule__AssertionOrDefinition__Group_1_0__2__Impl + // InternalSolverLanguageParser.g:4147:1: ( rule__DefaultAssertion__Group_2__1__Impl ) + // InternalSolverLanguageParser.g:4148:2: rule__DefaultAssertion__Group_2__1__Impl { pushFollow(FOLLOW_2); - rule__AssertionOrDefinition__Group_1_0__2__Impl(); + rule__DefaultAssertion__Group_2__1__Impl(); state._fsp--; @@ -8586,35 +13153,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__AssertionOrDefinition__Group_1_0__2" + // $ANTLR end "rule__DefaultAssertion__Group_2__1" - // $ANTLR start "rule__AssertionOrDefinition__Group_1_0__2__Impl" - // InternalSolverLanguageParser.g:2660:1: rule__AssertionOrDefinition__Group_1_0__2__Impl : ( ( rule__AssertionOrDefinition__RangeAssignment_1_0_2 ) ) ; - public final void rule__AssertionOrDefinition__Group_1_0__2__Impl() throws RecognitionException { + // $ANTLR start "rule__DefaultAssertion__Group_2__1__Impl" + // InternalSolverLanguageParser.g:4154:1: rule__DefaultAssertion__Group_2__1__Impl : ( ( rule__DefaultAssertion__RangeAssignment_2_1 ) ) ; + public final void rule__DefaultAssertion__Group_2__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:2664:1: ( ( ( rule__AssertionOrDefinition__RangeAssignment_1_0_2 ) ) ) - // InternalSolverLanguageParser.g:2665:1: ( ( rule__AssertionOrDefinition__RangeAssignment_1_0_2 ) ) + // InternalSolverLanguageParser.g:4158:1: ( ( ( rule__DefaultAssertion__RangeAssignment_2_1 ) ) ) + // InternalSolverLanguageParser.g:4159:1: ( ( rule__DefaultAssertion__RangeAssignment_2_1 ) ) { - // InternalSolverLanguageParser.g:2665:1: ( ( rule__AssertionOrDefinition__RangeAssignment_1_0_2 ) ) - // InternalSolverLanguageParser.g:2666:2: ( rule__AssertionOrDefinition__RangeAssignment_1_0_2 ) + // InternalSolverLanguageParser.g:4159:1: ( ( rule__DefaultAssertion__RangeAssignment_2_1 ) ) + // InternalSolverLanguageParser.g:4160:2: ( rule__DefaultAssertion__RangeAssignment_2_1 ) { - before(grammarAccess.getAssertionOrDefinitionAccess().getRangeAssignment_1_0_2()); - // InternalSolverLanguageParser.g:2667:2: ( rule__AssertionOrDefinition__RangeAssignment_1_0_2 ) - // InternalSolverLanguageParser.g:2667:3: rule__AssertionOrDefinition__RangeAssignment_1_0_2 + before(grammarAccess.getDefaultAssertionAccess().getRangeAssignment_2_1()); + // InternalSolverLanguageParser.g:4161:2: ( rule__DefaultAssertion__RangeAssignment_2_1 ) + // InternalSolverLanguageParser.g:4161:3: rule__DefaultAssertion__RangeAssignment_2_1 { pushFollow(FOLLOW_2); - rule__AssertionOrDefinition__RangeAssignment_1_0_2(); + rule__DefaultAssertion__RangeAssignment_2_1(); state._fsp--; } - after(grammarAccess.getAssertionOrDefinitionAccess().getRangeAssignment_1_0_2()); + after(grammarAccess.getDefaultAssertionAccess().getRangeAssignment_2_1()); } @@ -8633,26 +13200,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__AssertionOrDefinition__Group_1_0__2__Impl" + // $ANTLR end "rule__DefaultAssertion__Group_2__1__Impl" - // $ANTLR start "rule__AssertionOrDefinition__Group_1_1__0" - // InternalSolverLanguageParser.g:2676:1: rule__AssertionOrDefinition__Group_1_1__0 : rule__AssertionOrDefinition__Group_1_1__0__Impl rule__AssertionOrDefinition__Group_1_1__1 ; - public final void rule__AssertionOrDefinition__Group_1_1__0() throws RecognitionException { + // $ANTLR start "rule__FunctionDefinition__Group__0" + // InternalSolverLanguageParser.g:4170:1: rule__FunctionDefinition__Group__0 : rule__FunctionDefinition__Group__0__Impl rule__FunctionDefinition__Group__1 ; + public final void rule__FunctionDefinition__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:2680:1: ( rule__AssertionOrDefinition__Group_1_1__0__Impl rule__AssertionOrDefinition__Group_1_1__1 ) - // InternalSolverLanguageParser.g:2681:2: rule__AssertionOrDefinition__Group_1_1__0__Impl rule__AssertionOrDefinition__Group_1_1__1 + // InternalSolverLanguageParser.g:4174:1: ( rule__FunctionDefinition__Group__0__Impl rule__FunctionDefinition__Group__1 ) + // InternalSolverLanguageParser.g:4175:2: rule__FunctionDefinition__Group__0__Impl rule__FunctionDefinition__Group__1 { - pushFollow(FOLLOW_8); - rule__AssertionOrDefinition__Group_1_1__0__Impl(); + pushFollow(FOLLOW_6); + rule__FunctionDefinition__Group__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__AssertionOrDefinition__Group_1_1__1(); + rule__FunctionDefinition__Group__1(); state._fsp--; @@ -8671,100 +13238,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__AssertionOrDefinition__Group_1_1__0" + // $ANTLR end "rule__FunctionDefinition__Group__0" - // $ANTLR start "rule__AssertionOrDefinition__Group_1_1__0__Impl" - // InternalSolverLanguageParser.g:2688:1: rule__AssertionOrDefinition__Group_1_1__0__Impl : ( () ) ; - public final void rule__AssertionOrDefinition__Group_1_1__0__Impl() throws RecognitionException { + // $ANTLR start "rule__FunctionDefinition__Group__0__Impl" + // InternalSolverLanguageParser.g:4182:1: rule__FunctionDefinition__Group__0__Impl : ( ( rule__FunctionDefinition__ResultTypeAssignment_0 ) ) ; + public final void rule__FunctionDefinition__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:2692:1: ( ( () ) ) - // InternalSolverLanguageParser.g:2693:1: ( () ) + // InternalSolverLanguageParser.g:4186:1: ( ( ( rule__FunctionDefinition__ResultTypeAssignment_0 ) ) ) + // InternalSolverLanguageParser.g:4187:1: ( ( rule__FunctionDefinition__ResultTypeAssignment_0 ) ) { - // InternalSolverLanguageParser.g:2693:1: ( () ) - // InternalSolverLanguageParser.g:2694:2: () + // InternalSolverLanguageParser.g:4187:1: ( ( rule__FunctionDefinition__ResultTypeAssignment_0 ) ) + // InternalSolverLanguageParser.g:4188:2: ( rule__FunctionDefinition__ResultTypeAssignment_0 ) { - before(grammarAccess.getAssertionOrDefinitionAccess().getPredicateDefinitionHeadAction_1_1_0()); - // InternalSolverLanguageParser.g:2695:2: () - // InternalSolverLanguageParser.g:2695:3: - { - } - - after(grammarAccess.getAssertionOrDefinitionAccess().getPredicateDefinitionHeadAction_1_1_0()); - - } - - - } - - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__AssertionOrDefinition__Group_1_1__0__Impl" - - - // $ANTLR start "rule__AssertionOrDefinition__Group_1_1__1" - // InternalSolverLanguageParser.g:2703:1: rule__AssertionOrDefinition__Group_1_1__1 : rule__AssertionOrDefinition__Group_1_1__1__Impl rule__AssertionOrDefinition__Group_1_1__2 ; - public final void rule__AssertionOrDefinition__Group_1_1__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalSolverLanguageParser.g:2707:1: ( rule__AssertionOrDefinition__Group_1_1__1__Impl rule__AssertionOrDefinition__Group_1_1__2 ) - // InternalSolverLanguageParser.g:2708:2: rule__AssertionOrDefinition__Group_1_1__1__Impl rule__AssertionOrDefinition__Group_1_1__2 + before(grammarAccess.getFunctionDefinitionAccess().getResultTypeAssignment_0()); + // InternalSolverLanguageParser.g:4189:2: ( rule__FunctionDefinition__ResultTypeAssignment_0 ) + // InternalSolverLanguageParser.g:4189:3: rule__FunctionDefinition__ResultTypeAssignment_0 { - pushFollow(FOLLOW_7); - rule__AssertionOrDefinition__Group_1_1__1__Impl(); - - state._fsp--; - pushFollow(FOLLOW_2); - rule__AssertionOrDefinition__Group_1_1__2(); + rule__FunctionDefinition__ResultTypeAssignment_0(); state._fsp--; } - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__AssertionOrDefinition__Group_1_1__1" - - - // $ANTLR start "rule__AssertionOrDefinition__Group_1_1__1__Impl" - // InternalSolverLanguageParser.g:2715:1: rule__AssertionOrDefinition__Group_1_1__1__Impl : ( ColonHyphenMinus ) ; - public final void rule__AssertionOrDefinition__Group_1_1__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalSolverLanguageParser.g:2719:1: ( ( ColonHyphenMinus ) ) - // InternalSolverLanguageParser.g:2720:1: ( ColonHyphenMinus ) - { - // InternalSolverLanguageParser.g:2720:1: ( ColonHyphenMinus ) - // InternalSolverLanguageParser.g:2721:2: ColonHyphenMinus - { - before(grammarAccess.getAssertionOrDefinitionAccess().getColonHyphenMinusKeyword_1_1_1()); - match(input,ColonHyphenMinus,FOLLOW_2); - after(grammarAccess.getAssertionOrDefinitionAccess().getColonHyphenMinusKeyword_1_1_1()); + after(grammarAccess.getFunctionDefinitionAccess().getResultTypeAssignment_0()); } @@ -8783,21 +13285,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__AssertionOrDefinition__Group_1_1__1__Impl" + // $ANTLR end "rule__FunctionDefinition__Group__0__Impl" - // $ANTLR start "rule__AssertionOrDefinition__Group_1_1__2" - // InternalSolverLanguageParser.g:2730:1: rule__AssertionOrDefinition__Group_1_1__2 : rule__AssertionOrDefinition__Group_1_1__2__Impl ; - public final void rule__AssertionOrDefinition__Group_1_1__2() throws RecognitionException { + // $ANTLR start "rule__FunctionDefinition__Group__1" + // InternalSolverLanguageParser.g:4197:1: rule__FunctionDefinition__Group__1 : rule__FunctionDefinition__Group__1__Impl rule__FunctionDefinition__Group__2 ; + public final void rule__FunctionDefinition__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:2734:1: ( rule__AssertionOrDefinition__Group_1_1__2__Impl ) - // InternalSolverLanguageParser.g:2735:2: rule__AssertionOrDefinition__Group_1_1__2__Impl + // InternalSolverLanguageParser.g:4201:1: ( rule__FunctionDefinition__Group__1__Impl rule__FunctionDefinition__Group__2 ) + // InternalSolverLanguageParser.g:4202:2: rule__FunctionDefinition__Group__1__Impl rule__FunctionDefinition__Group__2 { + pushFollow(FOLLOW_18); + rule__FunctionDefinition__Group__1__Impl(); + + state._fsp--; + pushFollow(FOLLOW_2); - rule__AssertionOrDefinition__Group_1_1__2__Impl(); + rule__FunctionDefinition__Group__2(); state._fsp--; @@ -8816,35 +13323,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__AssertionOrDefinition__Group_1_1__2" + // $ANTLR end "rule__FunctionDefinition__Group__1" - // $ANTLR start "rule__AssertionOrDefinition__Group_1_1__2__Impl" - // InternalSolverLanguageParser.g:2741:1: rule__AssertionOrDefinition__Group_1_1__2__Impl : ( ( rule__AssertionOrDefinition__BodyAssignment_1_1_2 ) ) ; - public final void rule__AssertionOrDefinition__Group_1_1__2__Impl() throws RecognitionException { + // $ANTLR start "rule__FunctionDefinition__Group__1__Impl" + // InternalSolverLanguageParser.g:4209:1: rule__FunctionDefinition__Group__1__Impl : ( ( rule__FunctionDefinition__HeadAssignment_1 ) ) ; + public final void rule__FunctionDefinition__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:2745:1: ( ( ( rule__AssertionOrDefinition__BodyAssignment_1_1_2 ) ) ) - // InternalSolverLanguageParser.g:2746:1: ( ( rule__AssertionOrDefinition__BodyAssignment_1_1_2 ) ) + // InternalSolverLanguageParser.g:4213:1: ( ( ( rule__FunctionDefinition__HeadAssignment_1 ) ) ) + // InternalSolverLanguageParser.g:4214:1: ( ( rule__FunctionDefinition__HeadAssignment_1 ) ) { - // InternalSolverLanguageParser.g:2746:1: ( ( rule__AssertionOrDefinition__BodyAssignment_1_1_2 ) ) - // InternalSolverLanguageParser.g:2747:2: ( rule__AssertionOrDefinition__BodyAssignment_1_1_2 ) + // InternalSolverLanguageParser.g:4214:1: ( ( rule__FunctionDefinition__HeadAssignment_1 ) ) + // InternalSolverLanguageParser.g:4215:2: ( rule__FunctionDefinition__HeadAssignment_1 ) { - before(grammarAccess.getAssertionOrDefinitionAccess().getBodyAssignment_1_1_2()); - // InternalSolverLanguageParser.g:2748:2: ( rule__AssertionOrDefinition__BodyAssignment_1_1_2 ) - // InternalSolverLanguageParser.g:2748:3: rule__AssertionOrDefinition__BodyAssignment_1_1_2 + before(grammarAccess.getFunctionDefinitionAccess().getHeadAssignment_1()); + // InternalSolverLanguageParser.g:4216:2: ( rule__FunctionDefinition__HeadAssignment_1 ) + // InternalSolverLanguageParser.g:4216:3: rule__FunctionDefinition__HeadAssignment_1 { pushFollow(FOLLOW_2); - rule__AssertionOrDefinition__BodyAssignment_1_1_2(); + rule__FunctionDefinition__HeadAssignment_1(); state._fsp--; } - after(grammarAccess.getAssertionOrDefinitionAccess().getBodyAssignment_1_1_2()); + after(grammarAccess.getFunctionDefinitionAccess().getHeadAssignment_1()); } @@ -8863,26 +13370,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__AssertionOrDefinition__Group_1_1__2__Impl" + // $ANTLR end "rule__FunctionDefinition__Group__1__Impl" - // $ANTLR start "rule__AssertionOrDefinition__Group_1_2__0" - // InternalSolverLanguageParser.g:2757:1: rule__AssertionOrDefinition__Group_1_2__0 : rule__AssertionOrDefinition__Group_1_2__0__Impl rule__AssertionOrDefinition__Group_1_2__1 ; - public final void rule__AssertionOrDefinition__Group_1_2__0() throws RecognitionException { + // $ANTLR start "rule__FunctionDefinition__Group__2" + // InternalSolverLanguageParser.g:4224:1: rule__FunctionDefinition__Group__2 : rule__FunctionDefinition__Group__2__Impl rule__FunctionDefinition__Group__3 ; + public final void rule__FunctionDefinition__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:2761:1: ( rule__AssertionOrDefinition__Group_1_2__0__Impl rule__AssertionOrDefinition__Group_1_2__1 ) - // InternalSolverLanguageParser.g:2762:2: rule__AssertionOrDefinition__Group_1_2__0__Impl rule__AssertionOrDefinition__Group_1_2__1 + // InternalSolverLanguageParser.g:4228:1: ( rule__FunctionDefinition__Group__2__Impl rule__FunctionDefinition__Group__3 ) + // InternalSolverLanguageParser.g:4229:2: rule__FunctionDefinition__Group__2__Impl rule__FunctionDefinition__Group__3 { - pushFollow(FOLLOW_5); - rule__AssertionOrDefinition__Group_1_2__0__Impl(); + pushFollow(FOLLOW_12); + rule__FunctionDefinition__Group__2__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__AssertionOrDefinition__Group_1_2__1(); + rule__FunctionDefinition__Group__3(); state._fsp--; @@ -8901,29 +13408,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__AssertionOrDefinition__Group_1_2__0" + // $ANTLR end "rule__FunctionDefinition__Group__2" - // $ANTLR start "rule__AssertionOrDefinition__Group_1_2__0__Impl" - // InternalSolverLanguageParser.g:2769:1: rule__AssertionOrDefinition__Group_1_2__0__Impl : ( () ) ; - public final void rule__AssertionOrDefinition__Group_1_2__0__Impl() throws RecognitionException { + // $ANTLR start "rule__FunctionDefinition__Group__2__Impl" + // InternalSolverLanguageParser.g:4236:1: rule__FunctionDefinition__Group__2__Impl : ( ColonEqualsSign ) ; + public final void rule__FunctionDefinition__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:2773:1: ( ( () ) ) - // InternalSolverLanguageParser.g:2774:1: ( () ) - { - // InternalSolverLanguageParser.g:2774:1: ( () ) - // InternalSolverLanguageParser.g:2775:2: () + // InternalSolverLanguageParser.g:4240:1: ( ( ColonEqualsSign ) ) + // InternalSolverLanguageParser.g:4241:1: ( ColonEqualsSign ) { - before(grammarAccess.getAssertionOrDefinitionAccess().getMetricDefinitionHeadAction_1_2_0()); - // InternalSolverLanguageParser.g:2776:2: () - // InternalSolverLanguageParser.g:2776:3: + // InternalSolverLanguageParser.g:4241:1: ( ColonEqualsSign ) + // InternalSolverLanguageParser.g:4242:2: ColonEqualsSign { - } - - after(grammarAccess.getAssertionOrDefinitionAccess().getMetricDefinitionHeadAction_1_2_0()); + before(grammarAccess.getFunctionDefinitionAccess().getColonEqualsSignKeyword_2()); + match(input,ColonEqualsSign,FOLLOW_2); + after(grammarAccess.getFunctionDefinitionAccess().getColonEqualsSignKeyword_2()); } @@ -8931,6 +13434,10 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } finally { restoreStackSize(stackSize); @@ -8938,26 +13445,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__AssertionOrDefinition__Group_1_2__0__Impl" + // $ANTLR end "rule__FunctionDefinition__Group__2__Impl" - // $ANTLR start "rule__AssertionOrDefinition__Group_1_2__1" - // InternalSolverLanguageParser.g:2784:1: rule__AssertionOrDefinition__Group_1_2__1 : rule__AssertionOrDefinition__Group_1_2__1__Impl rule__AssertionOrDefinition__Group_1_2__2 ; - public final void rule__AssertionOrDefinition__Group_1_2__1() throws RecognitionException { + // $ANTLR start "rule__FunctionDefinition__Group__3" + // InternalSolverLanguageParser.g:4251:1: rule__FunctionDefinition__Group__3 : rule__FunctionDefinition__Group__3__Impl rule__FunctionDefinition__Group__4 ; + public final void rule__FunctionDefinition__Group__3() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:2788:1: ( rule__AssertionOrDefinition__Group_1_2__1__Impl rule__AssertionOrDefinition__Group_1_2__2 ) - // InternalSolverLanguageParser.g:2789:2: rule__AssertionOrDefinition__Group_1_2__1__Impl rule__AssertionOrDefinition__Group_1_2__2 + // InternalSolverLanguageParser.g:4255:1: ( rule__FunctionDefinition__Group__3__Impl rule__FunctionDefinition__Group__4 ) + // InternalSolverLanguageParser.g:4256:2: rule__FunctionDefinition__Group__3__Impl rule__FunctionDefinition__Group__4 { pushFollow(FOLLOW_7); - rule__AssertionOrDefinition__Group_1_2__1__Impl(); + rule__FunctionDefinition__Group__3__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__AssertionOrDefinition__Group_1_2__2(); + rule__FunctionDefinition__Group__4(); state._fsp--; @@ -8976,25 +13483,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__AssertionOrDefinition__Group_1_2__1" + // $ANTLR end "rule__FunctionDefinition__Group__3" - // $ANTLR start "rule__AssertionOrDefinition__Group_1_2__1__Impl" - // InternalSolverLanguageParser.g:2796:1: rule__AssertionOrDefinition__Group_1_2__1__Impl : ( EqualsSign ) ; - public final void rule__AssertionOrDefinition__Group_1_2__1__Impl() throws RecognitionException { + // $ANTLR start "rule__FunctionDefinition__Group__3__Impl" + // InternalSolverLanguageParser.g:4263:1: rule__FunctionDefinition__Group__3__Impl : ( ( rule__FunctionDefinition__BodyAssignment_3 ) ) ; + public final void rule__FunctionDefinition__Group__3__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:2800:1: ( ( EqualsSign ) ) - // InternalSolverLanguageParser.g:2801:1: ( EqualsSign ) + // InternalSolverLanguageParser.g:4267:1: ( ( ( rule__FunctionDefinition__BodyAssignment_3 ) ) ) + // InternalSolverLanguageParser.g:4268:1: ( ( rule__FunctionDefinition__BodyAssignment_3 ) ) { - // InternalSolverLanguageParser.g:2801:1: ( EqualsSign ) - // InternalSolverLanguageParser.g:2802:2: EqualsSign + // InternalSolverLanguageParser.g:4268:1: ( ( rule__FunctionDefinition__BodyAssignment_3 ) ) + // InternalSolverLanguageParser.g:4269:2: ( rule__FunctionDefinition__BodyAssignment_3 ) { - before(grammarAccess.getAssertionOrDefinitionAccess().getEqualsSignKeyword_1_2_1()); - match(input,EqualsSign,FOLLOW_2); - after(grammarAccess.getAssertionOrDefinitionAccess().getEqualsSignKeyword_1_2_1()); + before(grammarAccess.getFunctionDefinitionAccess().getBodyAssignment_3()); + // InternalSolverLanguageParser.g:4270:2: ( rule__FunctionDefinition__BodyAssignment_3 ) + // InternalSolverLanguageParser.g:4270:3: rule__FunctionDefinition__BodyAssignment_3 + { + pushFollow(FOLLOW_2); + rule__FunctionDefinition__BodyAssignment_3(); + + state._fsp--; + + + } + + after(grammarAccess.getFunctionDefinitionAccess().getBodyAssignment_3()); } @@ -9013,21 +13530,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__AssertionOrDefinition__Group_1_2__1__Impl" + // $ANTLR end "rule__FunctionDefinition__Group__3__Impl" - // $ANTLR start "rule__AssertionOrDefinition__Group_1_2__2" - // InternalSolverLanguageParser.g:2811:1: rule__AssertionOrDefinition__Group_1_2__2 : rule__AssertionOrDefinition__Group_1_2__2__Impl ; - public final void rule__AssertionOrDefinition__Group_1_2__2() throws RecognitionException { + // $ANTLR start "rule__FunctionDefinition__Group__4" + // InternalSolverLanguageParser.g:4278:1: rule__FunctionDefinition__Group__4 : rule__FunctionDefinition__Group__4__Impl ; + public final void rule__FunctionDefinition__Group__4() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:2815:1: ( rule__AssertionOrDefinition__Group_1_2__2__Impl ) - // InternalSolverLanguageParser.g:2816:2: rule__AssertionOrDefinition__Group_1_2__2__Impl + // InternalSolverLanguageParser.g:4282:1: ( rule__FunctionDefinition__Group__4__Impl ) + // InternalSolverLanguageParser.g:4283:2: rule__FunctionDefinition__Group__4__Impl { pushFollow(FOLLOW_2); - rule__AssertionOrDefinition__Group_1_2__2__Impl(); + rule__FunctionDefinition__Group__4__Impl(); state._fsp--; @@ -9046,35 +13563,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__AssertionOrDefinition__Group_1_2__2" + // $ANTLR end "rule__FunctionDefinition__Group__4" - // $ANTLR start "rule__AssertionOrDefinition__Group_1_2__2__Impl" - // InternalSolverLanguageParser.g:2822:1: rule__AssertionOrDefinition__Group_1_2__2__Impl : ( ( rule__AssertionOrDefinition__BodyAssignment_1_2_2 ) ) ; - public final void rule__AssertionOrDefinition__Group_1_2__2__Impl() throws RecognitionException { + // $ANTLR start "rule__FunctionDefinition__Group__4__Impl" + // InternalSolverLanguageParser.g:4289:1: rule__FunctionDefinition__Group__4__Impl : ( RULE_FULL_STOP ) ; + public final void rule__FunctionDefinition__Group__4__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:2826:1: ( ( ( rule__AssertionOrDefinition__BodyAssignment_1_2_2 ) ) ) - // InternalSolverLanguageParser.g:2827:1: ( ( rule__AssertionOrDefinition__BodyAssignment_1_2_2 ) ) + // InternalSolverLanguageParser.g:4293:1: ( ( RULE_FULL_STOP ) ) + // InternalSolverLanguageParser.g:4294:1: ( RULE_FULL_STOP ) { - // InternalSolverLanguageParser.g:2827:1: ( ( rule__AssertionOrDefinition__BodyAssignment_1_2_2 ) ) - // InternalSolverLanguageParser.g:2828:2: ( rule__AssertionOrDefinition__BodyAssignment_1_2_2 ) - { - before(grammarAccess.getAssertionOrDefinitionAccess().getBodyAssignment_1_2_2()); - // InternalSolverLanguageParser.g:2829:2: ( rule__AssertionOrDefinition__BodyAssignment_1_2_2 ) - // InternalSolverLanguageParser.g:2829:3: rule__AssertionOrDefinition__BodyAssignment_1_2_2 + // InternalSolverLanguageParser.g:4294:1: ( RULE_FULL_STOP ) + // InternalSolverLanguageParser.g:4295:2: RULE_FULL_STOP { - pushFollow(FOLLOW_2); - rule__AssertionOrDefinition__BodyAssignment_1_2_2(); - - state._fsp--; - - - } - - after(grammarAccess.getAssertionOrDefinitionAccess().getBodyAssignment_1_2_2()); + before(grammarAccess.getFunctionDefinitionAccess().getFULL_STOPTerminalRuleCall_4()); + match(input,RULE_FULL_STOP,FOLLOW_2); + after(grammarAccess.getFunctionDefinitionAccess().getFULL_STOPTerminalRuleCall_4()); } @@ -9093,26 +13600,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__AssertionOrDefinition__Group_1_2__2__Impl" + // $ANTLR end "rule__FunctionDefinition__Group__4__Impl" - // $ANTLR start "rule__PredicateDefinition__Group__0" - // InternalSolverLanguageParser.g:2838:1: rule__PredicateDefinition__Group__0 : rule__PredicateDefinition__Group__0__Impl rule__PredicateDefinition__Group__1 ; - public final void rule__PredicateDefinition__Group__0() throws RecognitionException { + // $ANTLR start "rule__TypeReference__Group__0" + // InternalSolverLanguageParser.g:4305:1: rule__TypeReference__Group__0 : rule__TypeReference__Group__0__Impl rule__TypeReference__Group__1 ; + public final void rule__TypeReference__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:2842:1: ( rule__PredicateDefinition__Group__0__Impl rule__PredicateDefinition__Group__1 ) - // InternalSolverLanguageParser.g:2843:2: rule__PredicateDefinition__Group__0__Impl rule__PredicateDefinition__Group__1 + // InternalSolverLanguageParser.g:4309:1: ( rule__TypeReference__Group__0__Impl rule__TypeReference__Group__1 ) + // InternalSolverLanguageParser.g:4310:2: rule__TypeReference__Group__0__Impl rule__TypeReference__Group__1 { - pushFollow(FOLLOW_9); - rule__PredicateDefinition__Group__0__Impl(); + pushFollow(FOLLOW_19); + rule__TypeReference__Group__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__PredicateDefinition__Group__1(); + rule__TypeReference__Group__1(); state._fsp--; @@ -9131,35 +13638,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__PredicateDefinition__Group__0" + // $ANTLR end "rule__TypeReference__Group__0" - // $ANTLR start "rule__PredicateDefinition__Group__0__Impl" - // InternalSolverLanguageParser.g:2850:1: rule__PredicateDefinition__Group__0__Impl : ( ( rule__PredicateDefinition__Alternatives_0 ) ) ; - public final void rule__PredicateDefinition__Group__0__Impl() throws RecognitionException { + // $ANTLR start "rule__TypeReference__Group__0__Impl" + // InternalSolverLanguageParser.g:4317:1: rule__TypeReference__Group__0__Impl : ( ( rule__TypeReference__TypeAssignment_0 ) ) ; + public final void rule__TypeReference__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:2854:1: ( ( ( rule__PredicateDefinition__Alternatives_0 ) ) ) - // InternalSolverLanguageParser.g:2855:1: ( ( rule__PredicateDefinition__Alternatives_0 ) ) + // InternalSolverLanguageParser.g:4321:1: ( ( ( rule__TypeReference__TypeAssignment_0 ) ) ) + // InternalSolverLanguageParser.g:4322:1: ( ( rule__TypeReference__TypeAssignment_0 ) ) { - // InternalSolverLanguageParser.g:2855:1: ( ( rule__PredicateDefinition__Alternatives_0 ) ) - // InternalSolverLanguageParser.g:2856:2: ( rule__PredicateDefinition__Alternatives_0 ) + // InternalSolverLanguageParser.g:4322:1: ( ( rule__TypeReference__TypeAssignment_0 ) ) + // InternalSolverLanguageParser.g:4323:2: ( rule__TypeReference__TypeAssignment_0 ) { - before(grammarAccess.getPredicateDefinitionAccess().getAlternatives_0()); - // InternalSolverLanguageParser.g:2857:2: ( rule__PredicateDefinition__Alternatives_0 ) - // InternalSolverLanguageParser.g:2857:3: rule__PredicateDefinition__Alternatives_0 + before(grammarAccess.getTypeReferenceAccess().getTypeAssignment_0()); + // InternalSolverLanguageParser.g:4324:2: ( rule__TypeReference__TypeAssignment_0 ) + // InternalSolverLanguageParser.g:4324:3: rule__TypeReference__TypeAssignment_0 { pushFollow(FOLLOW_2); - rule__PredicateDefinition__Alternatives_0(); + rule__TypeReference__TypeAssignment_0(); state._fsp--; } - after(grammarAccess.getPredicateDefinitionAccess().getAlternatives_0()); + after(grammarAccess.getTypeReferenceAccess().getTypeAssignment_0()); } @@ -9178,26 +13685,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__PredicateDefinition__Group__0__Impl" + // $ANTLR end "rule__TypeReference__Group__0__Impl" - // $ANTLR start "rule__PredicateDefinition__Group__1" - // InternalSolverLanguageParser.g:2865:1: rule__PredicateDefinition__Group__1 : rule__PredicateDefinition__Group__1__Impl rule__PredicateDefinition__Group__2 ; - public final void rule__PredicateDefinition__Group__1() throws RecognitionException { + // $ANTLR start "rule__TypeReference__Group__1" + // InternalSolverLanguageParser.g:4332:1: rule__TypeReference__Group__1 : rule__TypeReference__Group__1__Impl ; + public final void rule__TypeReference__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:2869:1: ( rule__PredicateDefinition__Group__1__Impl rule__PredicateDefinition__Group__2 ) - // InternalSolverLanguageParser.g:2870:2: rule__PredicateDefinition__Group__1__Impl rule__PredicateDefinition__Group__2 + // InternalSolverLanguageParser.g:4336:1: ( rule__TypeReference__Group__1__Impl ) + // InternalSolverLanguageParser.g:4337:2: rule__TypeReference__Group__1__Impl { - pushFollow(FOLLOW_8); - rule__PredicateDefinition__Group__1__Impl(); - - state._fsp--; - pushFollow(FOLLOW_2); - rule__PredicateDefinition__Group__2(); + rule__TypeReference__Group__1__Impl(); state._fsp--; @@ -9216,35 +13718,46 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__PredicateDefinition__Group__1" + // $ANTLR end "rule__TypeReference__Group__1" - // $ANTLR start "rule__PredicateDefinition__Group__1__Impl" - // InternalSolverLanguageParser.g:2877:1: rule__PredicateDefinition__Group__1__Impl : ( ( rule__PredicateDefinition__HeadAssignment_1 ) ) ; - public final void rule__PredicateDefinition__Group__1__Impl() throws RecognitionException { + // $ANTLR start "rule__TypeReference__Group__1__Impl" + // InternalSolverLanguageParser.g:4343:1: rule__TypeReference__Group__1__Impl : ( ( rule__TypeReference__ForceObjectTypeAssignment_1 )? ) ; + public final void rule__TypeReference__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:2881:1: ( ( ( rule__PredicateDefinition__HeadAssignment_1 ) ) ) - // InternalSolverLanguageParser.g:2882:1: ( ( rule__PredicateDefinition__HeadAssignment_1 ) ) - { - // InternalSolverLanguageParser.g:2882:1: ( ( rule__PredicateDefinition__HeadAssignment_1 ) ) - // InternalSolverLanguageParser.g:2883:2: ( rule__PredicateDefinition__HeadAssignment_1 ) + // InternalSolverLanguageParser.g:4347:1: ( ( ( rule__TypeReference__ForceObjectTypeAssignment_1 )? ) ) + // InternalSolverLanguageParser.g:4348:1: ( ( rule__TypeReference__ForceObjectTypeAssignment_1 )? ) { - before(grammarAccess.getPredicateDefinitionAccess().getHeadAssignment_1()); - // InternalSolverLanguageParser.g:2884:2: ( rule__PredicateDefinition__HeadAssignment_1 ) - // InternalSolverLanguageParser.g:2884:3: rule__PredicateDefinition__HeadAssignment_1 + // InternalSolverLanguageParser.g:4348:1: ( ( rule__TypeReference__ForceObjectTypeAssignment_1 )? ) + // InternalSolverLanguageParser.g:4349:2: ( rule__TypeReference__ForceObjectTypeAssignment_1 )? { - pushFollow(FOLLOW_2); - rule__PredicateDefinition__HeadAssignment_1(); + before(grammarAccess.getTypeReferenceAccess().getForceObjectTypeAssignment_1()); + // InternalSolverLanguageParser.g:4350:2: ( rule__TypeReference__ForceObjectTypeAssignment_1 )? + int alt37=2; + int LA37_0 = input.LA(1); - state._fsp--; + if ( (LA37_0==Object) ) { + alt37=1; + } + switch (alt37) { + case 1 : + // InternalSolverLanguageParser.g:4350:3: rule__TypeReference__ForceObjectTypeAssignment_1 + { + pushFollow(FOLLOW_2); + rule__TypeReference__ForceObjectTypeAssignment_1(); + state._fsp--; + + + } + break; } - after(grammarAccess.getPredicateDefinitionAccess().getHeadAssignment_1()); + after(grammarAccess.getTypeReferenceAccess().getForceObjectTypeAssignment_1()); } @@ -9263,26 +13776,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__PredicateDefinition__Group__1__Impl" + // $ANTLR end "rule__TypeReference__Group__1__Impl" - // $ANTLR start "rule__PredicateDefinition__Group__2" - // InternalSolverLanguageParser.g:2892:1: rule__PredicateDefinition__Group__2 : rule__PredicateDefinition__Group__2__Impl rule__PredicateDefinition__Group__3 ; - public final void rule__PredicateDefinition__Group__2() throws RecognitionException { + // $ANTLR start "rule__Attribute__Group__0" + // InternalSolverLanguageParser.g:4359:1: rule__Attribute__Group__0 : rule__Attribute__Group__0__Impl rule__Attribute__Group__1 ; + public final void rule__Attribute__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:2896:1: ( rule__PredicateDefinition__Group__2__Impl rule__PredicateDefinition__Group__3 ) - // InternalSolverLanguageParser.g:2897:2: rule__PredicateDefinition__Group__2__Impl rule__PredicateDefinition__Group__3 - { - pushFollow(FOLLOW_7); - rule__PredicateDefinition__Group__2__Impl(); + // InternalSolverLanguageParser.g:4363:1: ( rule__Attribute__Group__0__Impl rule__Attribute__Group__1 ) + // InternalSolverLanguageParser.g:4364:2: rule__Attribute__Group__0__Impl rule__Attribute__Group__1 + { + pushFollow(FOLLOW_6); + rule__Attribute__Group__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__PredicateDefinition__Group__3(); + rule__Attribute__Group__1(); state._fsp--; @@ -9301,25 +13814,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__PredicateDefinition__Group__2" + // $ANTLR end "rule__Attribute__Group__0" - // $ANTLR start "rule__PredicateDefinition__Group__2__Impl" - // InternalSolverLanguageParser.g:2904:1: rule__PredicateDefinition__Group__2__Impl : ( ColonHyphenMinus ) ; - public final void rule__PredicateDefinition__Group__2__Impl() throws RecognitionException { + // $ANTLR start "rule__Attribute__Group__0__Impl" + // InternalSolverLanguageParser.g:4371:1: rule__Attribute__Group__0__Impl : ( ( rule__Attribute__KindAssignment_0 ) ) ; + public final void rule__Attribute__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:2908:1: ( ( ColonHyphenMinus ) ) - // InternalSolverLanguageParser.g:2909:1: ( ColonHyphenMinus ) + // InternalSolverLanguageParser.g:4375:1: ( ( ( rule__Attribute__KindAssignment_0 ) ) ) + // InternalSolverLanguageParser.g:4376:1: ( ( rule__Attribute__KindAssignment_0 ) ) { - // InternalSolverLanguageParser.g:2909:1: ( ColonHyphenMinus ) - // InternalSolverLanguageParser.g:2910:2: ColonHyphenMinus + // InternalSolverLanguageParser.g:4376:1: ( ( rule__Attribute__KindAssignment_0 ) ) + // InternalSolverLanguageParser.g:4377:2: ( rule__Attribute__KindAssignment_0 ) { - before(grammarAccess.getPredicateDefinitionAccess().getColonHyphenMinusKeyword_2()); - match(input,ColonHyphenMinus,FOLLOW_2); - after(grammarAccess.getPredicateDefinitionAccess().getColonHyphenMinusKeyword_2()); + before(grammarAccess.getAttributeAccess().getKindAssignment_0()); + // InternalSolverLanguageParser.g:4378:2: ( rule__Attribute__KindAssignment_0 ) + // InternalSolverLanguageParser.g:4378:3: rule__Attribute__KindAssignment_0 + { + pushFollow(FOLLOW_2); + rule__Attribute__KindAssignment_0(); + + state._fsp--; + + + } + + after(grammarAccess.getAttributeAccess().getKindAssignment_0()); } @@ -9338,21 +13861,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__PredicateDefinition__Group__2__Impl" + // $ANTLR end "rule__Attribute__Group__0__Impl" - // $ANTLR start "rule__PredicateDefinition__Group__3" - // InternalSolverLanguageParser.g:2919:1: rule__PredicateDefinition__Group__3 : rule__PredicateDefinition__Group__3__Impl ; - public final void rule__PredicateDefinition__Group__3() throws RecognitionException { + // $ANTLR start "rule__Attribute__Group__1" + // InternalSolverLanguageParser.g:4386:1: rule__Attribute__Group__1 : rule__Attribute__Group__1__Impl rule__Attribute__Group__2 ; + public final void rule__Attribute__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:2923:1: ( rule__PredicateDefinition__Group__3__Impl ) - // InternalSolverLanguageParser.g:2924:2: rule__PredicateDefinition__Group__3__Impl + // InternalSolverLanguageParser.g:4390:1: ( rule__Attribute__Group__1__Impl rule__Attribute__Group__2 ) + // InternalSolverLanguageParser.g:4391:2: rule__Attribute__Group__1__Impl rule__Attribute__Group__2 { + pushFollow(FOLLOW_7); + rule__Attribute__Group__1__Impl(); + + state._fsp--; + pushFollow(FOLLOW_2); - rule__PredicateDefinition__Group__3__Impl(); + rule__Attribute__Group__2(); state._fsp--; @@ -9371,35 +13899,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__PredicateDefinition__Group__3" + // $ANTLR end "rule__Attribute__Group__1" - // $ANTLR start "rule__PredicateDefinition__Group__3__Impl" - // InternalSolverLanguageParser.g:2930:1: rule__PredicateDefinition__Group__3__Impl : ( ( rule__PredicateDefinition__BodyAssignment_3 ) ) ; - public final void rule__PredicateDefinition__Group__3__Impl() throws RecognitionException { + // $ANTLR start "rule__Attribute__Group__1__Impl" + // InternalSolverLanguageParser.g:4398:1: rule__Attribute__Group__1__Impl : ( ( rule__Attribute__TargetAssignment_1 ) ) ; + public final void rule__Attribute__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:2934:1: ( ( ( rule__PredicateDefinition__BodyAssignment_3 ) ) ) - // InternalSolverLanguageParser.g:2935:1: ( ( rule__PredicateDefinition__BodyAssignment_3 ) ) + // InternalSolverLanguageParser.g:4402:1: ( ( ( rule__Attribute__TargetAssignment_1 ) ) ) + // InternalSolverLanguageParser.g:4403:1: ( ( rule__Attribute__TargetAssignment_1 ) ) { - // InternalSolverLanguageParser.g:2935:1: ( ( rule__PredicateDefinition__BodyAssignment_3 ) ) - // InternalSolverLanguageParser.g:2936:2: ( rule__PredicateDefinition__BodyAssignment_3 ) + // InternalSolverLanguageParser.g:4403:1: ( ( rule__Attribute__TargetAssignment_1 ) ) + // InternalSolverLanguageParser.g:4404:2: ( rule__Attribute__TargetAssignment_1 ) { - before(grammarAccess.getPredicateDefinitionAccess().getBodyAssignment_3()); - // InternalSolverLanguageParser.g:2937:2: ( rule__PredicateDefinition__BodyAssignment_3 ) - // InternalSolverLanguageParser.g:2937:3: rule__PredicateDefinition__BodyAssignment_3 + before(grammarAccess.getAttributeAccess().getTargetAssignment_1()); + // InternalSolverLanguageParser.g:4405:2: ( rule__Attribute__TargetAssignment_1 ) + // InternalSolverLanguageParser.g:4405:3: rule__Attribute__TargetAssignment_1 { pushFollow(FOLLOW_2); - rule__PredicateDefinition__BodyAssignment_3(); + rule__Attribute__TargetAssignment_1(); state._fsp--; } - after(grammarAccess.getPredicateDefinitionAccess().getBodyAssignment_3()); + after(grammarAccess.getAttributeAccess().getTargetAssignment_1()); } @@ -9418,26 +13946,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__PredicateDefinition__Group__3__Impl" + // $ANTLR end "rule__Attribute__Group__1__Impl" - // $ANTLR start "rule__PredicateDefinition__Group_0_0__0" - // InternalSolverLanguageParser.g:2946:1: rule__PredicateDefinition__Group_0_0__0 : rule__PredicateDefinition__Group_0_0__0__Impl rule__PredicateDefinition__Group_0_0__1 ; - public final void rule__PredicateDefinition__Group_0_0__0() throws RecognitionException { + // $ANTLR start "rule__Attribute__Group__2" + // InternalSolverLanguageParser.g:4413:1: rule__Attribute__Group__2 : rule__Attribute__Group__2__Impl ; + public final void rule__Attribute__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:2950:1: ( rule__PredicateDefinition__Group_0_0__0__Impl rule__PredicateDefinition__Group_0_0__1 ) - // InternalSolverLanguageParser.g:2951:2: rule__PredicateDefinition__Group_0_0__0__Impl rule__PredicateDefinition__Group_0_0__1 + // InternalSolverLanguageParser.g:4417:1: ( rule__Attribute__Group__2__Impl ) + // InternalSolverLanguageParser.g:4418:2: rule__Attribute__Group__2__Impl { - pushFollow(FOLLOW_10); - rule__PredicateDefinition__Group_0_0__0__Impl(); - - state._fsp--; - pushFollow(FOLLOW_2); - rule__PredicateDefinition__Group_0_0__1(); + rule__Attribute__Group__2__Impl(); state._fsp--; @@ -9456,35 +13979,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__PredicateDefinition__Group_0_0__0" + // $ANTLR end "rule__Attribute__Group__2" - // $ANTLR start "rule__PredicateDefinition__Group_0_0__0__Impl" - // InternalSolverLanguageParser.g:2958:1: rule__PredicateDefinition__Group_0_0__0__Impl : ( ( rule__PredicateDefinition__FunctionalAssignment_0_0_0 ) ) ; - public final void rule__PredicateDefinition__Group_0_0__0__Impl() throws RecognitionException { + // $ANTLR start "rule__Attribute__Group__2__Impl" + // InternalSolverLanguageParser.g:4424:1: rule__Attribute__Group__2__Impl : ( RULE_FULL_STOP ) ; + public final void rule__Attribute__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:2962:1: ( ( ( rule__PredicateDefinition__FunctionalAssignment_0_0_0 ) ) ) - // InternalSolverLanguageParser.g:2963:1: ( ( rule__PredicateDefinition__FunctionalAssignment_0_0_0 ) ) - { - // InternalSolverLanguageParser.g:2963:1: ( ( rule__PredicateDefinition__FunctionalAssignment_0_0_0 ) ) - // InternalSolverLanguageParser.g:2964:2: ( rule__PredicateDefinition__FunctionalAssignment_0_0_0 ) + // InternalSolverLanguageParser.g:4428:1: ( ( RULE_FULL_STOP ) ) + // InternalSolverLanguageParser.g:4429:1: ( RULE_FULL_STOP ) { - before(grammarAccess.getPredicateDefinitionAccess().getFunctionalAssignment_0_0_0()); - // InternalSolverLanguageParser.g:2965:2: ( rule__PredicateDefinition__FunctionalAssignment_0_0_0 ) - // InternalSolverLanguageParser.g:2965:3: rule__PredicateDefinition__FunctionalAssignment_0_0_0 + // InternalSolverLanguageParser.g:4429:1: ( RULE_FULL_STOP ) + // InternalSolverLanguageParser.g:4430:2: RULE_FULL_STOP { - pushFollow(FOLLOW_2); - rule__PredicateDefinition__FunctionalAssignment_0_0_0(); - - state._fsp--; - - - } - - after(grammarAccess.getPredicateDefinitionAccess().getFunctionalAssignment_0_0_0()); + before(grammarAccess.getAttributeAccess().getFULL_STOPTerminalRuleCall_2()); + match(input,RULE_FULL_STOP,FOLLOW_2); + after(grammarAccess.getAttributeAccess().getFULL_STOPTerminalRuleCall_2()); } @@ -9503,21 +14016,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__PredicateDefinition__Group_0_0__0__Impl" + // $ANTLR end "rule__Attribute__Group__2__Impl" - // $ANTLR start "rule__PredicateDefinition__Group_0_0__1" - // InternalSolverLanguageParser.g:2973:1: rule__PredicateDefinition__Group_0_0__1 : rule__PredicateDefinition__Group_0_0__1__Impl ; - public final void rule__PredicateDefinition__Group_0_0__1() throws RecognitionException { + // $ANTLR start "rule__ExternPredicateDeclaration__Group__0" + // InternalSolverLanguageParser.g:4440:1: rule__ExternPredicateDeclaration__Group__0 : rule__ExternPredicateDeclaration__Group__0__Impl rule__ExternPredicateDeclaration__Group__1 ; + public final void rule__ExternPredicateDeclaration__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:2977:1: ( rule__PredicateDefinition__Group_0_0__1__Impl ) - // InternalSolverLanguageParser.g:2978:2: rule__PredicateDefinition__Group_0_0__1__Impl + // InternalSolverLanguageParser.g:4444:1: ( rule__ExternPredicateDeclaration__Group__0__Impl rule__ExternPredicateDeclaration__Group__1 ) + // InternalSolverLanguageParser.g:4445:2: rule__ExternPredicateDeclaration__Group__0__Impl rule__ExternPredicateDeclaration__Group__1 { + pushFollow(FOLLOW_20); + rule__ExternPredicateDeclaration__Group__0__Impl(); + + state._fsp--; + pushFollow(FOLLOW_2); - rule__PredicateDefinition__Group_0_0__1__Impl(); + rule__ExternPredicateDeclaration__Group__1(); state._fsp--; @@ -9536,46 +14054,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__PredicateDefinition__Group_0_0__1" + // $ANTLR end "rule__ExternPredicateDeclaration__Group__0" - // $ANTLR start "rule__PredicateDefinition__Group_0_0__1__Impl" - // InternalSolverLanguageParser.g:2984:1: rule__PredicateDefinition__Group_0_0__1__Impl : ( ( rule__PredicateDefinition__ErrorAssignment_0_0_1 )? ) ; - public final void rule__PredicateDefinition__Group_0_0__1__Impl() throws RecognitionException { + // $ANTLR start "rule__ExternPredicateDeclaration__Group__0__Impl" + // InternalSolverLanguageParser.g:4452:1: rule__ExternPredicateDeclaration__Group__0__Impl : ( Extern ) ; + public final void rule__ExternPredicateDeclaration__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:2988:1: ( ( ( rule__PredicateDefinition__ErrorAssignment_0_0_1 )? ) ) - // InternalSolverLanguageParser.g:2989:1: ( ( rule__PredicateDefinition__ErrorAssignment_0_0_1 )? ) + // InternalSolverLanguageParser.g:4456:1: ( ( Extern ) ) + // InternalSolverLanguageParser.g:4457:1: ( Extern ) { - // InternalSolverLanguageParser.g:2989:1: ( ( rule__PredicateDefinition__ErrorAssignment_0_0_1 )? ) - // InternalSolverLanguageParser.g:2990:2: ( rule__PredicateDefinition__ErrorAssignment_0_0_1 )? + // InternalSolverLanguageParser.g:4457:1: ( Extern ) + // InternalSolverLanguageParser.g:4458:2: Extern { - before(grammarAccess.getPredicateDefinitionAccess().getErrorAssignment_0_0_1()); - // InternalSolverLanguageParser.g:2991:2: ( rule__PredicateDefinition__ErrorAssignment_0_0_1 )? - int alt27=2; - int LA27_0 = input.LA(1); - - if ( (LA27_0==Error) ) { - alt27=1; - } - switch (alt27) { - case 1 : - // InternalSolverLanguageParser.g:2991:3: rule__PredicateDefinition__ErrorAssignment_0_0_1 - { - pushFollow(FOLLOW_2); - rule__PredicateDefinition__ErrorAssignment_0_0_1(); - - state._fsp--; - - - } - break; - - } - - after(grammarAccess.getPredicateDefinitionAccess().getErrorAssignment_0_0_1()); + before(grammarAccess.getExternPredicateDeclarationAccess().getExternKeyword_0()); + match(input,Extern,FOLLOW_2); + after(grammarAccess.getExternPredicateDeclarationAccess().getExternKeyword_0()); } @@ -9594,26 +14091,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__PredicateDefinition__Group_0_0__1__Impl" + // $ANTLR end "rule__ExternPredicateDeclaration__Group__0__Impl" - // $ANTLR start "rule__PredicateDefinition__Group_0_1__0" - // InternalSolverLanguageParser.g:3000:1: rule__PredicateDefinition__Group_0_1__0 : rule__PredicateDefinition__Group_0_1__0__Impl rule__PredicateDefinition__Group_0_1__1 ; - public final void rule__PredicateDefinition__Group_0_1__0() throws RecognitionException { + // $ANTLR start "rule__ExternPredicateDeclaration__Group__1" + // InternalSolverLanguageParser.g:4467:1: rule__ExternPredicateDeclaration__Group__1 : rule__ExternPredicateDeclaration__Group__1__Impl rule__ExternPredicateDeclaration__Group__2 ; + public final void rule__ExternPredicateDeclaration__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3004:1: ( rule__PredicateDefinition__Group_0_1__0__Impl rule__PredicateDefinition__Group_0_1__1 ) - // InternalSolverLanguageParser.g:3005:2: rule__PredicateDefinition__Group_0_1__0__Impl rule__PredicateDefinition__Group_0_1__1 + // InternalSolverLanguageParser.g:4471:1: ( rule__ExternPredicateDeclaration__Group__1__Impl rule__ExternPredicateDeclaration__Group__2 ) + // InternalSolverLanguageParser.g:4472:2: rule__ExternPredicateDeclaration__Group__1__Impl rule__ExternPredicateDeclaration__Group__2 { - pushFollow(FOLLOW_11); - rule__PredicateDefinition__Group_0_1__0__Impl(); + pushFollow(FOLLOW_6); + rule__ExternPredicateDeclaration__Group__1__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__PredicateDefinition__Group_0_1__1(); + rule__ExternPredicateDeclaration__Group__2(); state._fsp--; @@ -9632,35 +14129,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__PredicateDefinition__Group_0_1__0" + // $ANTLR end "rule__ExternPredicateDeclaration__Group__1" - // $ANTLR start "rule__PredicateDefinition__Group_0_1__0__Impl" - // InternalSolverLanguageParser.g:3012:1: rule__PredicateDefinition__Group_0_1__0__Impl : ( ( rule__PredicateDefinition__ErrorAssignment_0_1_0 ) ) ; - public final void rule__PredicateDefinition__Group_0_1__0__Impl() throws RecognitionException { + // $ANTLR start "rule__ExternPredicateDeclaration__Group__1__Impl" + // InternalSolverLanguageParser.g:4479:1: rule__ExternPredicateDeclaration__Group__1__Impl : ( ( rule__ExternPredicateDeclaration__UnorderedGroup_1 ) ) ; + public final void rule__ExternPredicateDeclaration__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3016:1: ( ( ( rule__PredicateDefinition__ErrorAssignment_0_1_0 ) ) ) - // InternalSolverLanguageParser.g:3017:1: ( ( rule__PredicateDefinition__ErrorAssignment_0_1_0 ) ) + // InternalSolverLanguageParser.g:4483:1: ( ( ( rule__ExternPredicateDeclaration__UnorderedGroup_1 ) ) ) + // InternalSolverLanguageParser.g:4484:1: ( ( rule__ExternPredicateDeclaration__UnorderedGroup_1 ) ) { - // InternalSolverLanguageParser.g:3017:1: ( ( rule__PredicateDefinition__ErrorAssignment_0_1_0 ) ) - // InternalSolverLanguageParser.g:3018:2: ( rule__PredicateDefinition__ErrorAssignment_0_1_0 ) + // InternalSolverLanguageParser.g:4484:1: ( ( rule__ExternPredicateDeclaration__UnorderedGroup_1 ) ) + // InternalSolverLanguageParser.g:4485:2: ( rule__ExternPredicateDeclaration__UnorderedGroup_1 ) { - before(grammarAccess.getPredicateDefinitionAccess().getErrorAssignment_0_1_0()); - // InternalSolverLanguageParser.g:3019:2: ( rule__PredicateDefinition__ErrorAssignment_0_1_0 ) - // InternalSolverLanguageParser.g:3019:3: rule__PredicateDefinition__ErrorAssignment_0_1_0 + before(grammarAccess.getExternPredicateDeclarationAccess().getUnorderedGroup_1()); + // InternalSolverLanguageParser.g:4486:2: ( rule__ExternPredicateDeclaration__UnorderedGroup_1 ) + // InternalSolverLanguageParser.g:4486:3: rule__ExternPredicateDeclaration__UnorderedGroup_1 { pushFollow(FOLLOW_2); - rule__PredicateDefinition__ErrorAssignment_0_1_0(); + rule__ExternPredicateDeclaration__UnorderedGroup_1(); state._fsp--; } - after(grammarAccess.getPredicateDefinitionAccess().getErrorAssignment_0_1_0()); + after(grammarAccess.getExternPredicateDeclarationAccess().getUnorderedGroup_1()); } @@ -9679,21 +14176,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__PredicateDefinition__Group_0_1__0__Impl" + // $ANTLR end "rule__ExternPredicateDeclaration__Group__1__Impl" - // $ANTLR start "rule__PredicateDefinition__Group_0_1__1" - // InternalSolverLanguageParser.g:3027:1: rule__PredicateDefinition__Group_0_1__1 : rule__PredicateDefinition__Group_0_1__1__Impl ; - public final void rule__PredicateDefinition__Group_0_1__1() throws RecognitionException { + // $ANTLR start "rule__ExternPredicateDeclaration__Group__2" + // InternalSolverLanguageParser.g:4494:1: rule__ExternPredicateDeclaration__Group__2 : rule__ExternPredicateDeclaration__Group__2__Impl rule__ExternPredicateDeclaration__Group__3 ; + public final void rule__ExternPredicateDeclaration__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3031:1: ( rule__PredicateDefinition__Group_0_1__1__Impl ) - // InternalSolverLanguageParser.g:3032:2: rule__PredicateDefinition__Group_0_1__1__Impl + // InternalSolverLanguageParser.g:4498:1: ( rule__ExternPredicateDeclaration__Group__2__Impl rule__ExternPredicateDeclaration__Group__3 ) + // InternalSolverLanguageParser.g:4499:2: rule__ExternPredicateDeclaration__Group__2__Impl rule__ExternPredicateDeclaration__Group__3 { + pushFollow(FOLLOW_16); + rule__ExternPredicateDeclaration__Group__2__Impl(); + + state._fsp--; + pushFollow(FOLLOW_2); - rule__PredicateDefinition__Group_0_1__1__Impl(); + rule__ExternPredicateDeclaration__Group__3(); state._fsp--; @@ -9712,46 +14214,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__PredicateDefinition__Group_0_1__1" + // $ANTLR end "rule__ExternPredicateDeclaration__Group__2" - // $ANTLR start "rule__PredicateDefinition__Group_0_1__1__Impl" - // InternalSolverLanguageParser.g:3038:1: rule__PredicateDefinition__Group_0_1__1__Impl : ( ( rule__PredicateDefinition__FunctionalAssignment_0_1_1 )? ) ; - public final void rule__PredicateDefinition__Group_0_1__1__Impl() throws RecognitionException { + // $ANTLR start "rule__ExternPredicateDeclaration__Group__2__Impl" + // InternalSolverLanguageParser.g:4506:1: rule__ExternPredicateDeclaration__Group__2__Impl : ( ( rule__ExternPredicateDeclaration__NameAssignment_2 ) ) ; + public final void rule__ExternPredicateDeclaration__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3042:1: ( ( ( rule__PredicateDefinition__FunctionalAssignment_0_1_1 )? ) ) - // InternalSolverLanguageParser.g:3043:1: ( ( rule__PredicateDefinition__FunctionalAssignment_0_1_1 )? ) + // InternalSolverLanguageParser.g:4510:1: ( ( ( rule__ExternPredicateDeclaration__NameAssignment_2 ) ) ) + // InternalSolverLanguageParser.g:4511:1: ( ( rule__ExternPredicateDeclaration__NameAssignment_2 ) ) { - // InternalSolverLanguageParser.g:3043:1: ( ( rule__PredicateDefinition__FunctionalAssignment_0_1_1 )? ) - // InternalSolverLanguageParser.g:3044:2: ( rule__PredicateDefinition__FunctionalAssignment_0_1_1 )? + // InternalSolverLanguageParser.g:4511:1: ( ( rule__ExternPredicateDeclaration__NameAssignment_2 ) ) + // InternalSolverLanguageParser.g:4512:2: ( rule__ExternPredicateDeclaration__NameAssignment_2 ) { - before(grammarAccess.getPredicateDefinitionAccess().getFunctionalAssignment_0_1_1()); - // InternalSolverLanguageParser.g:3045:2: ( rule__PredicateDefinition__FunctionalAssignment_0_1_1 )? - int alt28=2; - int LA28_0 = input.LA(1); - - if ( (LA28_0==Functional) ) { - alt28=1; - } - switch (alt28) { - case 1 : - // InternalSolverLanguageParser.g:3045:3: rule__PredicateDefinition__FunctionalAssignment_0_1_1 - { - pushFollow(FOLLOW_2); - rule__PredicateDefinition__FunctionalAssignment_0_1_1(); - - state._fsp--; + before(grammarAccess.getExternPredicateDeclarationAccess().getNameAssignment_2()); + // InternalSolverLanguageParser.g:4513:2: ( rule__ExternPredicateDeclaration__NameAssignment_2 ) + // InternalSolverLanguageParser.g:4513:3: rule__ExternPredicateDeclaration__NameAssignment_2 + { + pushFollow(FOLLOW_2); + rule__ExternPredicateDeclaration__NameAssignment_2(); + state._fsp--; - } - break; } - after(grammarAccess.getPredicateDefinitionAccess().getFunctionalAssignment_0_1_1()); + after(grammarAccess.getExternPredicateDeclarationAccess().getNameAssignment_2()); } @@ -9770,26 +14261,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__PredicateDefinition__Group_0_1__1__Impl" + // $ANTLR end "rule__ExternPredicateDeclaration__Group__2__Impl" - // $ANTLR start "rule__UnnamedErrorPrediateDefinition__Group__0" - // InternalSolverLanguageParser.g:3054:1: rule__UnnamedErrorPrediateDefinition__Group__0 : rule__UnnamedErrorPrediateDefinition__Group__0__Impl rule__UnnamedErrorPrediateDefinition__Group__1 ; - public final void rule__UnnamedErrorPrediateDefinition__Group__0() throws RecognitionException { + // $ANTLR start "rule__ExternPredicateDeclaration__Group__3" + // InternalSolverLanguageParser.g:4521:1: rule__ExternPredicateDeclaration__Group__3 : rule__ExternPredicateDeclaration__Group__3__Impl rule__ExternPredicateDeclaration__Group__4 ; + public final void rule__ExternPredicateDeclaration__Group__3() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3058:1: ( rule__UnnamedErrorPrediateDefinition__Group__0__Impl rule__UnnamedErrorPrediateDefinition__Group__1 ) - // InternalSolverLanguageParser.g:3059:2: rule__UnnamedErrorPrediateDefinition__Group__0__Impl rule__UnnamedErrorPrediateDefinition__Group__1 + // InternalSolverLanguageParser.g:4525:1: ( rule__ExternPredicateDeclaration__Group__3__Impl rule__ExternPredicateDeclaration__Group__4 ) + // InternalSolverLanguageParser.g:4526:2: rule__ExternPredicateDeclaration__Group__3__Impl rule__ExternPredicateDeclaration__Group__4 { - pushFollow(FOLLOW_12); - rule__UnnamedErrorPrediateDefinition__Group__0__Impl(); + pushFollow(FOLLOW_7); + rule__ExternPredicateDeclaration__Group__3__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__UnnamedErrorPrediateDefinition__Group__1(); + rule__ExternPredicateDeclaration__Group__4(); state._fsp--; @@ -9808,25 +14299,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__UnnamedErrorPrediateDefinition__Group__0" + // $ANTLR end "rule__ExternPredicateDeclaration__Group__3" - // $ANTLR start "rule__UnnamedErrorPrediateDefinition__Group__0__Impl" - // InternalSolverLanguageParser.g:3066:1: rule__UnnamedErrorPrediateDefinition__Group__0__Impl : ( Error ) ; - public final void rule__UnnamedErrorPrediateDefinition__Group__0__Impl() throws RecognitionException { + // $ANTLR start "rule__ExternPredicateDeclaration__Group__3__Impl" + // InternalSolverLanguageParser.g:4533:1: rule__ExternPredicateDeclaration__Group__3__Impl : ( ( rule__ExternPredicateDeclaration__ArgumentListAssignment_3 ) ) ; + public final void rule__ExternPredicateDeclaration__Group__3__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3070:1: ( ( Error ) ) - // InternalSolverLanguageParser.g:3071:1: ( Error ) + // InternalSolverLanguageParser.g:4537:1: ( ( ( rule__ExternPredicateDeclaration__ArgumentListAssignment_3 ) ) ) + // InternalSolverLanguageParser.g:4538:1: ( ( rule__ExternPredicateDeclaration__ArgumentListAssignment_3 ) ) { - // InternalSolverLanguageParser.g:3071:1: ( Error ) - // InternalSolverLanguageParser.g:3072:2: Error + // InternalSolverLanguageParser.g:4538:1: ( ( rule__ExternPredicateDeclaration__ArgumentListAssignment_3 ) ) + // InternalSolverLanguageParser.g:4539:2: ( rule__ExternPredicateDeclaration__ArgumentListAssignment_3 ) { - before(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getErrorKeyword_0()); - match(input,Error,FOLLOW_2); - after(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getErrorKeyword_0()); + before(grammarAccess.getExternPredicateDeclarationAccess().getArgumentListAssignment_3()); + // InternalSolverLanguageParser.g:4540:2: ( rule__ExternPredicateDeclaration__ArgumentListAssignment_3 ) + // InternalSolverLanguageParser.g:4540:3: rule__ExternPredicateDeclaration__ArgumentListAssignment_3 + { + pushFollow(FOLLOW_2); + rule__ExternPredicateDeclaration__ArgumentListAssignment_3(); + + state._fsp--; + + + } + + after(grammarAccess.getExternPredicateDeclarationAccess().getArgumentListAssignment_3()); } @@ -9845,26 +14346,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__UnnamedErrorPrediateDefinition__Group__0__Impl" + // $ANTLR end "rule__ExternPredicateDeclaration__Group__3__Impl" - // $ANTLR start "rule__UnnamedErrorPrediateDefinition__Group__1" - // InternalSolverLanguageParser.g:3081:1: rule__UnnamedErrorPrediateDefinition__Group__1 : rule__UnnamedErrorPrediateDefinition__Group__1__Impl rule__UnnamedErrorPrediateDefinition__Group__2 ; - public final void rule__UnnamedErrorPrediateDefinition__Group__1() throws RecognitionException { + // $ANTLR start "rule__ExternPredicateDeclaration__Group__4" + // InternalSolverLanguageParser.g:4548:1: rule__ExternPredicateDeclaration__Group__4 : rule__ExternPredicateDeclaration__Group__4__Impl ; + public final void rule__ExternPredicateDeclaration__Group__4() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3085:1: ( rule__UnnamedErrorPrediateDefinition__Group__1__Impl rule__UnnamedErrorPrediateDefinition__Group__2 ) - // InternalSolverLanguageParser.g:3086:2: rule__UnnamedErrorPrediateDefinition__Group__1__Impl rule__UnnamedErrorPrediateDefinition__Group__2 + // InternalSolverLanguageParser.g:4552:1: ( rule__ExternPredicateDeclaration__Group__4__Impl ) + // InternalSolverLanguageParser.g:4553:2: rule__ExternPredicateDeclaration__Group__4__Impl { - pushFollow(FOLLOW_8); - rule__UnnamedErrorPrediateDefinition__Group__1__Impl(); - - state._fsp--; - pushFollow(FOLLOW_2); - rule__UnnamedErrorPrediateDefinition__Group__2(); + rule__ExternPredicateDeclaration__Group__4__Impl(); state._fsp--; @@ -9883,35 +14379,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__UnnamedErrorPrediateDefinition__Group__1" + // $ANTLR end "rule__ExternPredicateDeclaration__Group__4" - // $ANTLR start "rule__UnnamedErrorPrediateDefinition__Group__1__Impl" - // InternalSolverLanguageParser.g:3093:1: rule__UnnamedErrorPrediateDefinition__Group__1__Impl : ( ( rule__UnnamedErrorPrediateDefinition__ArgumentListAssignment_1 ) ) ; - public final void rule__UnnamedErrorPrediateDefinition__Group__1__Impl() throws RecognitionException { + // $ANTLR start "rule__ExternPredicateDeclaration__Group__4__Impl" + // InternalSolverLanguageParser.g:4559:1: rule__ExternPredicateDeclaration__Group__4__Impl : ( RULE_FULL_STOP ) ; + public final void rule__ExternPredicateDeclaration__Group__4__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3097:1: ( ( ( rule__UnnamedErrorPrediateDefinition__ArgumentListAssignment_1 ) ) ) - // InternalSolverLanguageParser.g:3098:1: ( ( rule__UnnamedErrorPrediateDefinition__ArgumentListAssignment_1 ) ) - { - // InternalSolverLanguageParser.g:3098:1: ( ( rule__UnnamedErrorPrediateDefinition__ArgumentListAssignment_1 ) ) - // InternalSolverLanguageParser.g:3099:2: ( rule__UnnamedErrorPrediateDefinition__ArgumentListAssignment_1 ) + // InternalSolverLanguageParser.g:4563:1: ( ( RULE_FULL_STOP ) ) + // InternalSolverLanguageParser.g:4564:1: ( RULE_FULL_STOP ) { - before(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getArgumentListAssignment_1()); - // InternalSolverLanguageParser.g:3100:2: ( rule__UnnamedErrorPrediateDefinition__ArgumentListAssignment_1 ) - // InternalSolverLanguageParser.g:3100:3: rule__UnnamedErrorPrediateDefinition__ArgumentListAssignment_1 + // InternalSolverLanguageParser.g:4564:1: ( RULE_FULL_STOP ) + // InternalSolverLanguageParser.g:4565:2: RULE_FULL_STOP { - pushFollow(FOLLOW_2); - rule__UnnamedErrorPrediateDefinition__ArgumentListAssignment_1(); - - state._fsp--; - - - } - - after(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getArgumentListAssignment_1()); + before(grammarAccess.getExternPredicateDeclarationAccess().getFULL_STOPTerminalRuleCall_4()); + match(input,RULE_FULL_STOP,FOLLOW_2); + after(grammarAccess.getExternPredicateDeclarationAccess().getFULL_STOPTerminalRuleCall_4()); } @@ -9930,26 +14416,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__UnnamedErrorPrediateDefinition__Group__1__Impl" + // $ANTLR end "rule__ExternPredicateDeclaration__Group__4__Impl" - // $ANTLR start "rule__UnnamedErrorPrediateDefinition__Group__2" - // InternalSolverLanguageParser.g:3108:1: rule__UnnamedErrorPrediateDefinition__Group__2 : rule__UnnamedErrorPrediateDefinition__Group__2__Impl rule__UnnamedErrorPrediateDefinition__Group__3 ; - public final void rule__UnnamedErrorPrediateDefinition__Group__2() throws RecognitionException { + // $ANTLR start "rule__ExternFunctionDeclaration__Group__0" + // InternalSolverLanguageParser.g:4575:1: rule__ExternFunctionDeclaration__Group__0 : rule__ExternFunctionDeclaration__Group__0__Impl rule__ExternFunctionDeclaration__Group__1 ; + public final void rule__ExternFunctionDeclaration__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3112:1: ( rule__UnnamedErrorPrediateDefinition__Group__2__Impl rule__UnnamedErrorPrediateDefinition__Group__3 ) - // InternalSolverLanguageParser.g:3113:2: rule__UnnamedErrorPrediateDefinition__Group__2__Impl rule__UnnamedErrorPrediateDefinition__Group__3 + // InternalSolverLanguageParser.g:4579:1: ( rule__ExternFunctionDeclaration__Group__0__Impl rule__ExternFunctionDeclaration__Group__1 ) + // InternalSolverLanguageParser.g:4580:2: rule__ExternFunctionDeclaration__Group__0__Impl rule__ExternFunctionDeclaration__Group__1 { - pushFollow(FOLLOW_7); - rule__UnnamedErrorPrediateDefinition__Group__2__Impl(); + pushFollow(FOLLOW_6); + rule__ExternFunctionDeclaration__Group__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__UnnamedErrorPrediateDefinition__Group__3(); + rule__ExternFunctionDeclaration__Group__1(); state._fsp--; @@ -9968,25 +14454,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__UnnamedErrorPrediateDefinition__Group__2" + // $ANTLR end "rule__ExternFunctionDeclaration__Group__0" - // $ANTLR start "rule__UnnamedErrorPrediateDefinition__Group__2__Impl" - // InternalSolverLanguageParser.g:3120:1: rule__UnnamedErrorPrediateDefinition__Group__2__Impl : ( ColonHyphenMinus ) ; - public final void rule__UnnamedErrorPrediateDefinition__Group__2__Impl() throws RecognitionException { + // $ANTLR start "rule__ExternFunctionDeclaration__Group__0__Impl" + // InternalSolverLanguageParser.g:4587:1: rule__ExternFunctionDeclaration__Group__0__Impl : ( Extern ) ; + public final void rule__ExternFunctionDeclaration__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3124:1: ( ( ColonHyphenMinus ) ) - // InternalSolverLanguageParser.g:3125:1: ( ColonHyphenMinus ) + // InternalSolverLanguageParser.g:4591:1: ( ( Extern ) ) + // InternalSolverLanguageParser.g:4592:1: ( Extern ) { - // InternalSolverLanguageParser.g:3125:1: ( ColonHyphenMinus ) - // InternalSolverLanguageParser.g:3126:2: ColonHyphenMinus + // InternalSolverLanguageParser.g:4592:1: ( Extern ) + // InternalSolverLanguageParser.g:4593:2: Extern { - before(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getColonHyphenMinusKeyword_2()); - match(input,ColonHyphenMinus,FOLLOW_2); - after(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getColonHyphenMinusKeyword_2()); + before(grammarAccess.getExternFunctionDeclarationAccess().getExternKeyword_0()); + match(input,Extern,FOLLOW_2); + after(grammarAccess.getExternFunctionDeclarationAccess().getExternKeyword_0()); } @@ -10005,21 +14491,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__UnnamedErrorPrediateDefinition__Group__2__Impl" + // $ANTLR end "rule__ExternFunctionDeclaration__Group__0__Impl" - // $ANTLR start "rule__UnnamedErrorPrediateDefinition__Group__3" - // InternalSolverLanguageParser.g:3135:1: rule__UnnamedErrorPrediateDefinition__Group__3 : rule__UnnamedErrorPrediateDefinition__Group__3__Impl ; - public final void rule__UnnamedErrorPrediateDefinition__Group__3() throws RecognitionException { + // $ANTLR start "rule__ExternFunctionDeclaration__Group__1" + // InternalSolverLanguageParser.g:4602:1: rule__ExternFunctionDeclaration__Group__1 : rule__ExternFunctionDeclaration__Group__1__Impl rule__ExternFunctionDeclaration__Group__2 ; + public final void rule__ExternFunctionDeclaration__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3139:1: ( rule__UnnamedErrorPrediateDefinition__Group__3__Impl ) - // InternalSolverLanguageParser.g:3140:2: rule__UnnamedErrorPrediateDefinition__Group__3__Impl + // InternalSolverLanguageParser.g:4606:1: ( rule__ExternFunctionDeclaration__Group__1__Impl rule__ExternFunctionDeclaration__Group__2 ) + // InternalSolverLanguageParser.g:4607:2: rule__ExternFunctionDeclaration__Group__1__Impl rule__ExternFunctionDeclaration__Group__2 { + pushFollow(FOLLOW_6); + rule__ExternFunctionDeclaration__Group__1__Impl(); + + state._fsp--; + pushFollow(FOLLOW_2); - rule__UnnamedErrorPrediateDefinition__Group__3__Impl(); + rule__ExternFunctionDeclaration__Group__2(); state._fsp--; @@ -10038,35 +14529,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__UnnamedErrorPrediateDefinition__Group__3" + // $ANTLR end "rule__ExternFunctionDeclaration__Group__1" - // $ANTLR start "rule__UnnamedErrorPrediateDefinition__Group__3__Impl" - // InternalSolverLanguageParser.g:3146:1: rule__UnnamedErrorPrediateDefinition__Group__3__Impl : ( ( rule__UnnamedErrorPrediateDefinition__BodyAssignment_3 ) ) ; - public final void rule__UnnamedErrorPrediateDefinition__Group__3__Impl() throws RecognitionException { + // $ANTLR start "rule__ExternFunctionDeclaration__Group__1__Impl" + // InternalSolverLanguageParser.g:4614:1: rule__ExternFunctionDeclaration__Group__1__Impl : ( ( rule__ExternFunctionDeclaration__ResultTypeAssignment_1 ) ) ; + public final void rule__ExternFunctionDeclaration__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3150:1: ( ( ( rule__UnnamedErrorPrediateDefinition__BodyAssignment_3 ) ) ) - // InternalSolverLanguageParser.g:3151:1: ( ( rule__UnnamedErrorPrediateDefinition__BodyAssignment_3 ) ) + // InternalSolverLanguageParser.g:4618:1: ( ( ( rule__ExternFunctionDeclaration__ResultTypeAssignment_1 ) ) ) + // InternalSolverLanguageParser.g:4619:1: ( ( rule__ExternFunctionDeclaration__ResultTypeAssignment_1 ) ) { - // InternalSolverLanguageParser.g:3151:1: ( ( rule__UnnamedErrorPrediateDefinition__BodyAssignment_3 ) ) - // InternalSolverLanguageParser.g:3152:2: ( rule__UnnamedErrorPrediateDefinition__BodyAssignment_3 ) + // InternalSolverLanguageParser.g:4619:1: ( ( rule__ExternFunctionDeclaration__ResultTypeAssignment_1 ) ) + // InternalSolverLanguageParser.g:4620:2: ( rule__ExternFunctionDeclaration__ResultTypeAssignment_1 ) { - before(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getBodyAssignment_3()); - // InternalSolverLanguageParser.g:3153:2: ( rule__UnnamedErrorPrediateDefinition__BodyAssignment_3 ) - // InternalSolverLanguageParser.g:3153:3: rule__UnnamedErrorPrediateDefinition__BodyAssignment_3 + before(grammarAccess.getExternFunctionDeclarationAccess().getResultTypeAssignment_1()); + // InternalSolverLanguageParser.g:4621:2: ( rule__ExternFunctionDeclaration__ResultTypeAssignment_1 ) + // InternalSolverLanguageParser.g:4621:3: rule__ExternFunctionDeclaration__ResultTypeAssignment_1 { pushFollow(FOLLOW_2); - rule__UnnamedErrorPrediateDefinition__BodyAssignment_3(); + rule__ExternFunctionDeclaration__ResultTypeAssignment_1(); state._fsp--; } - after(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getBodyAssignment_3()); + after(grammarAccess.getExternFunctionDeclarationAccess().getResultTypeAssignment_1()); } @@ -10085,26 +14576,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__UnnamedErrorPrediateDefinition__Group__3__Impl" + // $ANTLR end "rule__ExternFunctionDeclaration__Group__1__Impl" - // $ANTLR start "rule__DefaultDefinition__Group__0" - // InternalSolverLanguageParser.g:3162:1: rule__DefaultDefinition__Group__0 : rule__DefaultDefinition__Group__0__Impl rule__DefaultDefinition__Group__1 ; - public final void rule__DefaultDefinition__Group__0() throws RecognitionException { + // $ANTLR start "rule__ExternFunctionDeclaration__Group__2" + // InternalSolverLanguageParser.g:4629:1: rule__ExternFunctionDeclaration__Group__2 : rule__ExternFunctionDeclaration__Group__2__Impl rule__ExternFunctionDeclaration__Group__3 ; + public final void rule__ExternFunctionDeclaration__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3166:1: ( rule__DefaultDefinition__Group__0__Impl rule__DefaultDefinition__Group__1 ) - // InternalSolverLanguageParser.g:3167:2: rule__DefaultDefinition__Group__0__Impl rule__DefaultDefinition__Group__1 + // InternalSolverLanguageParser.g:4633:1: ( rule__ExternFunctionDeclaration__Group__2__Impl rule__ExternFunctionDeclaration__Group__3 ) + // InternalSolverLanguageParser.g:4634:2: rule__ExternFunctionDeclaration__Group__2__Impl rule__ExternFunctionDeclaration__Group__3 { - pushFollow(FOLLOW_9); - rule__DefaultDefinition__Group__0__Impl(); + pushFollow(FOLLOW_16); + rule__ExternFunctionDeclaration__Group__2__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__DefaultDefinition__Group__1(); + rule__ExternFunctionDeclaration__Group__3(); state._fsp--; @@ -10123,25 +14614,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__DefaultDefinition__Group__0" + // $ANTLR end "rule__ExternFunctionDeclaration__Group__2" - // $ANTLR start "rule__DefaultDefinition__Group__0__Impl" - // InternalSolverLanguageParser.g:3174:1: rule__DefaultDefinition__Group__0__Impl : ( Default ) ; - public final void rule__DefaultDefinition__Group__0__Impl() throws RecognitionException { + // $ANTLR start "rule__ExternFunctionDeclaration__Group__2__Impl" + // InternalSolverLanguageParser.g:4641:1: rule__ExternFunctionDeclaration__Group__2__Impl : ( ( rule__ExternFunctionDeclaration__NameAssignment_2 ) ) ; + public final void rule__ExternFunctionDeclaration__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3178:1: ( ( Default ) ) - // InternalSolverLanguageParser.g:3179:1: ( Default ) + // InternalSolverLanguageParser.g:4645:1: ( ( ( rule__ExternFunctionDeclaration__NameAssignment_2 ) ) ) + // InternalSolverLanguageParser.g:4646:1: ( ( rule__ExternFunctionDeclaration__NameAssignment_2 ) ) { - // InternalSolverLanguageParser.g:3179:1: ( Default ) - // InternalSolverLanguageParser.g:3180:2: Default + // InternalSolverLanguageParser.g:4646:1: ( ( rule__ExternFunctionDeclaration__NameAssignment_2 ) ) + // InternalSolverLanguageParser.g:4647:2: ( rule__ExternFunctionDeclaration__NameAssignment_2 ) { - before(grammarAccess.getDefaultDefinitionAccess().getDefaultKeyword_0()); - match(input,Default,FOLLOW_2); - after(grammarAccess.getDefaultDefinitionAccess().getDefaultKeyword_0()); + before(grammarAccess.getExternFunctionDeclarationAccess().getNameAssignment_2()); + // InternalSolverLanguageParser.g:4648:2: ( rule__ExternFunctionDeclaration__NameAssignment_2 ) + // InternalSolverLanguageParser.g:4648:3: rule__ExternFunctionDeclaration__NameAssignment_2 + { + pushFollow(FOLLOW_2); + rule__ExternFunctionDeclaration__NameAssignment_2(); + + state._fsp--; + + + } + + after(grammarAccess.getExternFunctionDeclarationAccess().getNameAssignment_2()); } @@ -10160,26 +14661,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__DefaultDefinition__Group__0__Impl" + // $ANTLR end "rule__ExternFunctionDeclaration__Group__2__Impl" - // $ANTLR start "rule__DefaultDefinition__Group__1" - // InternalSolverLanguageParser.g:3189:1: rule__DefaultDefinition__Group__1 : rule__DefaultDefinition__Group__1__Impl rule__DefaultDefinition__Group__2 ; - public final void rule__DefaultDefinition__Group__1() throws RecognitionException { + // $ANTLR start "rule__ExternFunctionDeclaration__Group__3" + // InternalSolverLanguageParser.g:4656:1: rule__ExternFunctionDeclaration__Group__3 : rule__ExternFunctionDeclaration__Group__3__Impl rule__ExternFunctionDeclaration__Group__4 ; + public final void rule__ExternFunctionDeclaration__Group__3() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3193:1: ( rule__DefaultDefinition__Group__1__Impl rule__DefaultDefinition__Group__2 ) - // InternalSolverLanguageParser.g:3194:2: rule__DefaultDefinition__Group__1__Impl rule__DefaultDefinition__Group__2 + // InternalSolverLanguageParser.g:4660:1: ( rule__ExternFunctionDeclaration__Group__3__Impl rule__ExternFunctionDeclaration__Group__4 ) + // InternalSolverLanguageParser.g:4661:2: rule__ExternFunctionDeclaration__Group__3__Impl rule__ExternFunctionDeclaration__Group__4 { - pushFollow(FOLLOW_6); - rule__DefaultDefinition__Group__1__Impl(); + pushFollow(FOLLOW_7); + rule__ExternFunctionDeclaration__Group__3__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__DefaultDefinition__Group__2(); + rule__ExternFunctionDeclaration__Group__4(); state._fsp--; @@ -10198,35 +14699,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__DefaultDefinition__Group__1" + // $ANTLR end "rule__ExternFunctionDeclaration__Group__3" - // $ANTLR start "rule__DefaultDefinition__Group__1__Impl" - // InternalSolverLanguageParser.g:3201:1: rule__DefaultDefinition__Group__1__Impl : ( ( rule__DefaultDefinition__HeadAssignment_1 ) ) ; - public final void rule__DefaultDefinition__Group__1__Impl() throws RecognitionException { + // $ANTLR start "rule__ExternFunctionDeclaration__Group__3__Impl" + // InternalSolverLanguageParser.g:4668:1: rule__ExternFunctionDeclaration__Group__3__Impl : ( ( rule__ExternFunctionDeclaration__ArgumentListAssignment_3 ) ) ; + public final void rule__ExternFunctionDeclaration__Group__3__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3205:1: ( ( ( rule__DefaultDefinition__HeadAssignment_1 ) ) ) - // InternalSolverLanguageParser.g:3206:1: ( ( rule__DefaultDefinition__HeadAssignment_1 ) ) + // InternalSolverLanguageParser.g:4672:1: ( ( ( rule__ExternFunctionDeclaration__ArgumentListAssignment_3 ) ) ) + // InternalSolverLanguageParser.g:4673:1: ( ( rule__ExternFunctionDeclaration__ArgumentListAssignment_3 ) ) { - // InternalSolverLanguageParser.g:3206:1: ( ( rule__DefaultDefinition__HeadAssignment_1 ) ) - // InternalSolverLanguageParser.g:3207:2: ( rule__DefaultDefinition__HeadAssignment_1 ) + // InternalSolverLanguageParser.g:4673:1: ( ( rule__ExternFunctionDeclaration__ArgumentListAssignment_3 ) ) + // InternalSolverLanguageParser.g:4674:2: ( rule__ExternFunctionDeclaration__ArgumentListAssignment_3 ) { - before(grammarAccess.getDefaultDefinitionAccess().getHeadAssignment_1()); - // InternalSolverLanguageParser.g:3208:2: ( rule__DefaultDefinition__HeadAssignment_1 ) - // InternalSolverLanguageParser.g:3208:3: rule__DefaultDefinition__HeadAssignment_1 + before(grammarAccess.getExternFunctionDeclarationAccess().getArgumentListAssignment_3()); + // InternalSolverLanguageParser.g:4675:2: ( rule__ExternFunctionDeclaration__ArgumentListAssignment_3 ) + // InternalSolverLanguageParser.g:4675:3: rule__ExternFunctionDeclaration__ArgumentListAssignment_3 { pushFollow(FOLLOW_2); - rule__DefaultDefinition__HeadAssignment_1(); + rule__ExternFunctionDeclaration__ArgumentListAssignment_3(); state._fsp--; } - after(grammarAccess.getDefaultDefinitionAccess().getHeadAssignment_1()); + after(grammarAccess.getExternFunctionDeclarationAccess().getArgumentListAssignment_3()); } @@ -10245,26 +14746,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__DefaultDefinition__Group__1__Impl" + // $ANTLR end "rule__ExternFunctionDeclaration__Group__3__Impl" - // $ANTLR start "rule__DefaultDefinition__Group__2" - // InternalSolverLanguageParser.g:3216:1: rule__DefaultDefinition__Group__2 : rule__DefaultDefinition__Group__2__Impl rule__DefaultDefinition__Group__3 ; - public final void rule__DefaultDefinition__Group__2() throws RecognitionException { + // $ANTLR start "rule__ExternFunctionDeclaration__Group__4" + // InternalSolverLanguageParser.g:4683:1: rule__ExternFunctionDeclaration__Group__4 : rule__ExternFunctionDeclaration__Group__4__Impl ; + public final void rule__ExternFunctionDeclaration__Group__4() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3220:1: ( rule__DefaultDefinition__Group__2__Impl rule__DefaultDefinition__Group__3 ) - // InternalSolverLanguageParser.g:3221:2: rule__DefaultDefinition__Group__2__Impl rule__DefaultDefinition__Group__3 + // InternalSolverLanguageParser.g:4687:1: ( rule__ExternFunctionDeclaration__Group__4__Impl ) + // InternalSolverLanguageParser.g:4688:2: rule__ExternFunctionDeclaration__Group__4__Impl { - pushFollow(FOLLOW_7); - rule__DefaultDefinition__Group__2__Impl(); - - state._fsp--; - pushFollow(FOLLOW_2); - rule__DefaultDefinition__Group__3(); + rule__ExternFunctionDeclaration__Group__4__Impl(); state._fsp--; @@ -10283,25 +14779,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__DefaultDefinition__Group__2" + // $ANTLR end "rule__ExternFunctionDeclaration__Group__4" - // $ANTLR start "rule__DefaultDefinition__Group__2__Impl" - // InternalSolverLanguageParser.g:3228:1: rule__DefaultDefinition__Group__2__Impl : ( Colon ) ; - public final void rule__DefaultDefinition__Group__2__Impl() throws RecognitionException { + // $ANTLR start "rule__ExternFunctionDeclaration__Group__4__Impl" + // InternalSolverLanguageParser.g:4694:1: rule__ExternFunctionDeclaration__Group__4__Impl : ( RULE_FULL_STOP ) ; + public final void rule__ExternFunctionDeclaration__Group__4__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3232:1: ( ( Colon ) ) - // InternalSolverLanguageParser.g:3233:1: ( Colon ) + // InternalSolverLanguageParser.g:4698:1: ( ( RULE_FULL_STOP ) ) + // InternalSolverLanguageParser.g:4699:1: ( RULE_FULL_STOP ) { - // InternalSolverLanguageParser.g:3233:1: ( Colon ) - // InternalSolverLanguageParser.g:3234:2: Colon + // InternalSolverLanguageParser.g:4699:1: ( RULE_FULL_STOP ) + // InternalSolverLanguageParser.g:4700:2: RULE_FULL_STOP { - before(grammarAccess.getDefaultDefinitionAccess().getColonKeyword_2()); - match(input,Colon,FOLLOW_2); - after(grammarAccess.getDefaultDefinitionAccess().getColonKeyword_2()); + before(grammarAccess.getExternFunctionDeclarationAccess().getFULL_STOPTerminalRuleCall_4()); + match(input,RULE_FULL_STOP,FOLLOW_2); + after(grammarAccess.getExternFunctionDeclarationAccess().getFULL_STOPTerminalRuleCall_4()); } @@ -10320,21 +14816,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__DefaultDefinition__Group__2__Impl" + // $ANTLR end "rule__ExternFunctionDeclaration__Group__4__Impl" - // $ANTLR start "rule__DefaultDefinition__Group__3" - // InternalSolverLanguageParser.g:3243:1: rule__DefaultDefinition__Group__3 : rule__DefaultDefinition__Group__3__Impl ; - public final void rule__DefaultDefinition__Group__3() throws RecognitionException { + // $ANTLR start "rule__ExternAggregationOperatorDeclaration__Group__0" + // InternalSolverLanguageParser.g:4710:1: rule__ExternAggregationOperatorDeclaration__Group__0 : rule__ExternAggregationOperatorDeclaration__Group__0__Impl rule__ExternAggregationOperatorDeclaration__Group__1 ; + public final void rule__ExternAggregationOperatorDeclaration__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3247:1: ( rule__DefaultDefinition__Group__3__Impl ) - // InternalSolverLanguageParser.g:3248:2: rule__DefaultDefinition__Group__3__Impl + // InternalSolverLanguageParser.g:4714:1: ( rule__ExternAggregationOperatorDeclaration__Group__0__Impl rule__ExternAggregationOperatorDeclaration__Group__1 ) + // InternalSolverLanguageParser.g:4715:2: rule__ExternAggregationOperatorDeclaration__Group__0__Impl rule__ExternAggregationOperatorDeclaration__Group__1 { + pushFollow(FOLLOW_6); + rule__ExternAggregationOperatorDeclaration__Group__0__Impl(); + + state._fsp--; + pushFollow(FOLLOW_2); - rule__DefaultDefinition__Group__3__Impl(); + rule__ExternAggregationOperatorDeclaration__Group__1(); state._fsp--; @@ -10353,35 +14854,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__DefaultDefinition__Group__3" + // $ANTLR end "rule__ExternAggregationOperatorDeclaration__Group__0" - // $ANTLR start "rule__DefaultDefinition__Group__3__Impl" - // InternalSolverLanguageParser.g:3254:1: rule__DefaultDefinition__Group__3__Impl : ( ( rule__DefaultDefinition__RangeAssignment_3 ) ) ; - public final void rule__DefaultDefinition__Group__3__Impl() throws RecognitionException { + // $ANTLR start "rule__ExternAggregationOperatorDeclaration__Group__0__Impl" + // InternalSolverLanguageParser.g:4722:1: rule__ExternAggregationOperatorDeclaration__Group__0__Impl : ( Extern ) ; + public final void rule__ExternAggregationOperatorDeclaration__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3258:1: ( ( ( rule__DefaultDefinition__RangeAssignment_3 ) ) ) - // InternalSolverLanguageParser.g:3259:1: ( ( rule__DefaultDefinition__RangeAssignment_3 ) ) - { - // InternalSolverLanguageParser.g:3259:1: ( ( rule__DefaultDefinition__RangeAssignment_3 ) ) - // InternalSolverLanguageParser.g:3260:2: ( rule__DefaultDefinition__RangeAssignment_3 ) + // InternalSolverLanguageParser.g:4726:1: ( ( Extern ) ) + // InternalSolverLanguageParser.g:4727:1: ( Extern ) { - before(grammarAccess.getDefaultDefinitionAccess().getRangeAssignment_3()); - // InternalSolverLanguageParser.g:3261:2: ( rule__DefaultDefinition__RangeAssignment_3 ) - // InternalSolverLanguageParser.g:3261:3: rule__DefaultDefinition__RangeAssignment_3 + // InternalSolverLanguageParser.g:4727:1: ( Extern ) + // InternalSolverLanguageParser.g:4728:2: Extern { - pushFollow(FOLLOW_2); - rule__DefaultDefinition__RangeAssignment_3(); - - state._fsp--; - - - } - - after(grammarAccess.getDefaultDefinitionAccess().getRangeAssignment_3()); + before(grammarAccess.getExternAggregationOperatorDeclarationAccess().getExternKeyword_0()); + match(input,Extern,FOLLOW_2); + after(grammarAccess.getExternAggregationOperatorDeclarationAccess().getExternKeyword_0()); } @@ -10400,26 +14891,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__DefaultDefinition__Group__3__Impl" + // $ANTLR end "rule__ExternAggregationOperatorDeclaration__Group__0__Impl" - // $ANTLR start "rule__MetricDefinition__Group__0" - // InternalSolverLanguageParser.g:3270:1: rule__MetricDefinition__Group__0 : rule__MetricDefinition__Group__0__Impl rule__MetricDefinition__Group__1 ; - public final void rule__MetricDefinition__Group__0() throws RecognitionException { + // $ANTLR start "rule__ExternAggregationOperatorDeclaration__Group__1" + // InternalSolverLanguageParser.g:4737:1: rule__ExternAggregationOperatorDeclaration__Group__1 : rule__ExternAggregationOperatorDeclaration__Group__1__Impl rule__ExternAggregationOperatorDeclaration__Group__2 ; + public final void rule__ExternAggregationOperatorDeclaration__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3274:1: ( rule__MetricDefinition__Group__0__Impl rule__MetricDefinition__Group__1 ) - // InternalSolverLanguageParser.g:3275:2: rule__MetricDefinition__Group__0__Impl rule__MetricDefinition__Group__1 + // InternalSolverLanguageParser.g:4741:1: ( rule__ExternAggregationOperatorDeclaration__Group__1__Impl rule__ExternAggregationOperatorDeclaration__Group__2 ) + // InternalSolverLanguageParser.g:4742:2: rule__ExternAggregationOperatorDeclaration__Group__1__Impl rule__ExternAggregationOperatorDeclaration__Group__2 { - pushFollow(FOLLOW_9); - rule__MetricDefinition__Group__0__Impl(); + pushFollow(FOLLOW_6); + rule__ExternAggregationOperatorDeclaration__Group__1__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__MetricDefinition__Group__1(); + rule__ExternAggregationOperatorDeclaration__Group__2(); state._fsp--; @@ -10438,35 +14929,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__MetricDefinition__Group__0" + // $ANTLR end "rule__ExternAggregationOperatorDeclaration__Group__1" - // $ANTLR start "rule__MetricDefinition__Group__0__Impl" - // InternalSolverLanguageParser.g:3282:1: rule__MetricDefinition__Group__0__Impl : ( ( rule__MetricDefinition__TypeAssignment_0 ) ) ; - public final void rule__MetricDefinition__Group__0__Impl() throws RecognitionException { + // $ANTLR start "rule__ExternAggregationOperatorDeclaration__Group__1__Impl" + // InternalSolverLanguageParser.g:4749:1: rule__ExternAggregationOperatorDeclaration__Group__1__Impl : ( ( rule__ExternAggregationOperatorDeclaration__ResultTypeAssignment_1 ) ) ; + public final void rule__ExternAggregationOperatorDeclaration__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3286:1: ( ( ( rule__MetricDefinition__TypeAssignment_0 ) ) ) - // InternalSolverLanguageParser.g:3287:1: ( ( rule__MetricDefinition__TypeAssignment_0 ) ) + // InternalSolverLanguageParser.g:4753:1: ( ( ( rule__ExternAggregationOperatorDeclaration__ResultTypeAssignment_1 ) ) ) + // InternalSolverLanguageParser.g:4754:1: ( ( rule__ExternAggregationOperatorDeclaration__ResultTypeAssignment_1 ) ) { - // InternalSolverLanguageParser.g:3287:1: ( ( rule__MetricDefinition__TypeAssignment_0 ) ) - // InternalSolverLanguageParser.g:3288:2: ( rule__MetricDefinition__TypeAssignment_0 ) + // InternalSolverLanguageParser.g:4754:1: ( ( rule__ExternAggregationOperatorDeclaration__ResultTypeAssignment_1 ) ) + // InternalSolverLanguageParser.g:4755:2: ( rule__ExternAggregationOperatorDeclaration__ResultTypeAssignment_1 ) { - before(grammarAccess.getMetricDefinitionAccess().getTypeAssignment_0()); - // InternalSolverLanguageParser.g:3289:2: ( rule__MetricDefinition__TypeAssignment_0 ) - // InternalSolverLanguageParser.g:3289:3: rule__MetricDefinition__TypeAssignment_0 + before(grammarAccess.getExternAggregationOperatorDeclarationAccess().getResultTypeAssignment_1()); + // InternalSolverLanguageParser.g:4756:2: ( rule__ExternAggregationOperatorDeclaration__ResultTypeAssignment_1 ) + // InternalSolverLanguageParser.g:4756:3: rule__ExternAggregationOperatorDeclaration__ResultTypeAssignment_1 { pushFollow(FOLLOW_2); - rule__MetricDefinition__TypeAssignment_0(); + rule__ExternAggregationOperatorDeclaration__ResultTypeAssignment_1(); state._fsp--; } - after(grammarAccess.getMetricDefinitionAccess().getTypeAssignment_0()); + after(grammarAccess.getExternAggregationOperatorDeclarationAccess().getResultTypeAssignment_1()); } @@ -10485,26 +14976,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__MetricDefinition__Group__0__Impl" + // $ANTLR end "rule__ExternAggregationOperatorDeclaration__Group__1__Impl" - // $ANTLR start "rule__MetricDefinition__Group__1" - // InternalSolverLanguageParser.g:3297:1: rule__MetricDefinition__Group__1 : rule__MetricDefinition__Group__1__Impl rule__MetricDefinition__Group__2 ; - public final void rule__MetricDefinition__Group__1() throws RecognitionException { + // $ANTLR start "rule__ExternAggregationOperatorDeclaration__Group__2" + // InternalSolverLanguageParser.g:4764:1: rule__ExternAggregationOperatorDeclaration__Group__2 : rule__ExternAggregationOperatorDeclaration__Group__2__Impl rule__ExternAggregationOperatorDeclaration__Group__3 ; + public final void rule__ExternAggregationOperatorDeclaration__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3301:1: ( rule__MetricDefinition__Group__1__Impl rule__MetricDefinition__Group__2 ) - // InternalSolverLanguageParser.g:3302:2: rule__MetricDefinition__Group__1__Impl rule__MetricDefinition__Group__2 + // InternalSolverLanguageParser.g:4768:1: ( rule__ExternAggregationOperatorDeclaration__Group__2__Impl rule__ExternAggregationOperatorDeclaration__Group__3 ) + // InternalSolverLanguageParser.g:4769:2: rule__ExternAggregationOperatorDeclaration__Group__2__Impl rule__ExternAggregationOperatorDeclaration__Group__3 { - pushFollow(FOLLOW_13); - rule__MetricDefinition__Group__1__Impl(); + pushFollow(FOLLOW_21); + rule__ExternAggregationOperatorDeclaration__Group__2__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__MetricDefinition__Group__2(); + rule__ExternAggregationOperatorDeclaration__Group__3(); state._fsp--; @@ -10523,35 +15014,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__MetricDefinition__Group__1" + // $ANTLR end "rule__ExternAggregationOperatorDeclaration__Group__2" - // $ANTLR start "rule__MetricDefinition__Group__1__Impl" - // InternalSolverLanguageParser.g:3309:1: rule__MetricDefinition__Group__1__Impl : ( ( rule__MetricDefinition__HeadAssignment_1 ) ) ; - public final void rule__MetricDefinition__Group__1__Impl() throws RecognitionException { + // $ANTLR start "rule__ExternAggregationOperatorDeclaration__Group__2__Impl" + // InternalSolverLanguageParser.g:4776:1: rule__ExternAggregationOperatorDeclaration__Group__2__Impl : ( ( rule__ExternAggregationOperatorDeclaration__NameAssignment_2 ) ) ; + public final void rule__ExternAggregationOperatorDeclaration__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3313:1: ( ( ( rule__MetricDefinition__HeadAssignment_1 ) ) ) - // InternalSolverLanguageParser.g:3314:1: ( ( rule__MetricDefinition__HeadAssignment_1 ) ) + // InternalSolverLanguageParser.g:4780:1: ( ( ( rule__ExternAggregationOperatorDeclaration__NameAssignment_2 ) ) ) + // InternalSolverLanguageParser.g:4781:1: ( ( rule__ExternAggregationOperatorDeclaration__NameAssignment_2 ) ) { - // InternalSolverLanguageParser.g:3314:1: ( ( rule__MetricDefinition__HeadAssignment_1 ) ) - // InternalSolverLanguageParser.g:3315:2: ( rule__MetricDefinition__HeadAssignment_1 ) + // InternalSolverLanguageParser.g:4781:1: ( ( rule__ExternAggregationOperatorDeclaration__NameAssignment_2 ) ) + // InternalSolverLanguageParser.g:4782:2: ( rule__ExternAggregationOperatorDeclaration__NameAssignment_2 ) { - before(grammarAccess.getMetricDefinitionAccess().getHeadAssignment_1()); - // InternalSolverLanguageParser.g:3316:2: ( rule__MetricDefinition__HeadAssignment_1 ) - // InternalSolverLanguageParser.g:3316:3: rule__MetricDefinition__HeadAssignment_1 + before(grammarAccess.getExternAggregationOperatorDeclarationAccess().getNameAssignment_2()); + // InternalSolverLanguageParser.g:4783:2: ( rule__ExternAggregationOperatorDeclaration__NameAssignment_2 ) + // InternalSolverLanguageParser.g:4783:3: rule__ExternAggregationOperatorDeclaration__NameAssignment_2 { pushFollow(FOLLOW_2); - rule__MetricDefinition__HeadAssignment_1(); + rule__ExternAggregationOperatorDeclaration__NameAssignment_2(); state._fsp--; } - after(grammarAccess.getMetricDefinitionAccess().getHeadAssignment_1()); + after(grammarAccess.getExternAggregationOperatorDeclarationAccess().getNameAssignment_2()); } @@ -10570,26 +15061,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__MetricDefinition__Group__1__Impl" + // $ANTLR end "rule__ExternAggregationOperatorDeclaration__Group__2__Impl" - // $ANTLR start "rule__MetricDefinition__Group__2" - // InternalSolverLanguageParser.g:3324:1: rule__MetricDefinition__Group__2 : rule__MetricDefinition__Group__2__Impl rule__MetricDefinition__Group__3 ; - public final void rule__MetricDefinition__Group__2() throws RecognitionException { + // $ANTLR start "rule__ExternAggregationOperatorDeclaration__Group__3" + // InternalSolverLanguageParser.g:4791:1: rule__ExternAggregationOperatorDeclaration__Group__3 : rule__ExternAggregationOperatorDeclaration__Group__3__Impl rule__ExternAggregationOperatorDeclaration__Group__4 ; + public final void rule__ExternAggregationOperatorDeclaration__Group__3() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3328:1: ( rule__MetricDefinition__Group__2__Impl rule__MetricDefinition__Group__3 ) - // InternalSolverLanguageParser.g:3329:2: rule__MetricDefinition__Group__2__Impl rule__MetricDefinition__Group__3 + // InternalSolverLanguageParser.g:4795:1: ( rule__ExternAggregationOperatorDeclaration__Group__3__Impl rule__ExternAggregationOperatorDeclaration__Group__4 ) + // InternalSolverLanguageParser.g:4796:2: rule__ExternAggregationOperatorDeclaration__Group__3__Impl rule__ExternAggregationOperatorDeclaration__Group__4 { - pushFollow(FOLLOW_7); - rule__MetricDefinition__Group__2__Impl(); + pushFollow(FOLLOW_6); + rule__ExternAggregationOperatorDeclaration__Group__3__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__MetricDefinition__Group__3(); + rule__ExternAggregationOperatorDeclaration__Group__4(); state._fsp--; @@ -10608,25 +15099,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__MetricDefinition__Group__2" + // $ANTLR end "rule__ExternAggregationOperatorDeclaration__Group__3" - // $ANTLR start "rule__MetricDefinition__Group__2__Impl" - // InternalSolverLanguageParser.g:3336:1: rule__MetricDefinition__Group__2__Impl : ( EqualsSign ) ; - public final void rule__MetricDefinition__Group__2__Impl() throws RecognitionException { + // $ANTLR start "rule__ExternAggregationOperatorDeclaration__Group__3__Impl" + // InternalSolverLanguageParser.g:4803:1: rule__ExternAggregationOperatorDeclaration__Group__3__Impl : ( LeftCurlyBracket ) ; + public final void rule__ExternAggregationOperatorDeclaration__Group__3__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3340:1: ( ( EqualsSign ) ) - // InternalSolverLanguageParser.g:3341:1: ( EqualsSign ) + // InternalSolverLanguageParser.g:4807:1: ( ( LeftCurlyBracket ) ) + // InternalSolverLanguageParser.g:4808:1: ( LeftCurlyBracket ) { - // InternalSolverLanguageParser.g:3341:1: ( EqualsSign ) - // InternalSolverLanguageParser.g:3342:2: EqualsSign + // InternalSolverLanguageParser.g:4808:1: ( LeftCurlyBracket ) + // InternalSolverLanguageParser.g:4809:2: LeftCurlyBracket { - before(grammarAccess.getMetricDefinitionAccess().getEqualsSignKeyword_2()); - match(input,EqualsSign,FOLLOW_2); - after(grammarAccess.getMetricDefinitionAccess().getEqualsSignKeyword_2()); + before(grammarAccess.getExternAggregationOperatorDeclarationAccess().getLeftCurlyBracketKeyword_3()); + match(input,LeftCurlyBracket,FOLLOW_2); + after(grammarAccess.getExternAggregationOperatorDeclarationAccess().getLeftCurlyBracketKeyword_3()); } @@ -10645,21 +15136,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__MetricDefinition__Group__2__Impl" + // $ANTLR end "rule__ExternAggregationOperatorDeclaration__Group__3__Impl" - // $ANTLR start "rule__MetricDefinition__Group__3" - // InternalSolverLanguageParser.g:3351:1: rule__MetricDefinition__Group__3 : rule__MetricDefinition__Group__3__Impl ; - public final void rule__MetricDefinition__Group__3() throws RecognitionException { + // $ANTLR start "rule__ExternAggregationOperatorDeclaration__Group__4" + // InternalSolverLanguageParser.g:4818:1: rule__ExternAggregationOperatorDeclaration__Group__4 : rule__ExternAggregationOperatorDeclaration__Group__4__Impl rule__ExternAggregationOperatorDeclaration__Group__5 ; + public final void rule__ExternAggregationOperatorDeclaration__Group__4() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3355:1: ( rule__MetricDefinition__Group__3__Impl ) - // InternalSolverLanguageParser.g:3356:2: rule__MetricDefinition__Group__3__Impl + // InternalSolverLanguageParser.g:4822:1: ( rule__ExternAggregationOperatorDeclaration__Group__4__Impl rule__ExternAggregationOperatorDeclaration__Group__5 ) + // InternalSolverLanguageParser.g:4823:2: rule__ExternAggregationOperatorDeclaration__Group__4__Impl rule__ExternAggregationOperatorDeclaration__Group__5 { + pushFollow(FOLLOW_22); + rule__ExternAggregationOperatorDeclaration__Group__4__Impl(); + + state._fsp--; + pushFollow(FOLLOW_2); - rule__MetricDefinition__Group__3__Impl(); + rule__ExternAggregationOperatorDeclaration__Group__5(); state._fsp--; @@ -10678,35 +15174,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__MetricDefinition__Group__3" + // $ANTLR end "rule__ExternAggregationOperatorDeclaration__Group__4" - // $ANTLR start "rule__MetricDefinition__Group__3__Impl" - // InternalSolverLanguageParser.g:3362:1: rule__MetricDefinition__Group__3__Impl : ( ( rule__MetricDefinition__BodyAssignment_3 ) ) ; - public final void rule__MetricDefinition__Group__3__Impl() throws RecognitionException { + // $ANTLR start "rule__ExternAggregationOperatorDeclaration__Group__4__Impl" + // InternalSolverLanguageParser.g:4830:1: rule__ExternAggregationOperatorDeclaration__Group__4__Impl : ( ( rule__ExternAggregationOperatorDeclaration__ArgumentTypeAssignment_4 ) ) ; + public final void rule__ExternAggregationOperatorDeclaration__Group__4__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3366:1: ( ( ( rule__MetricDefinition__BodyAssignment_3 ) ) ) - // InternalSolverLanguageParser.g:3367:1: ( ( rule__MetricDefinition__BodyAssignment_3 ) ) + // InternalSolverLanguageParser.g:4834:1: ( ( ( rule__ExternAggregationOperatorDeclaration__ArgumentTypeAssignment_4 ) ) ) + // InternalSolverLanguageParser.g:4835:1: ( ( rule__ExternAggregationOperatorDeclaration__ArgumentTypeAssignment_4 ) ) { - // InternalSolverLanguageParser.g:3367:1: ( ( rule__MetricDefinition__BodyAssignment_3 ) ) - // InternalSolverLanguageParser.g:3368:2: ( rule__MetricDefinition__BodyAssignment_3 ) + // InternalSolverLanguageParser.g:4835:1: ( ( rule__ExternAggregationOperatorDeclaration__ArgumentTypeAssignment_4 ) ) + // InternalSolverLanguageParser.g:4836:2: ( rule__ExternAggregationOperatorDeclaration__ArgumentTypeAssignment_4 ) { - before(grammarAccess.getMetricDefinitionAccess().getBodyAssignment_3()); - // InternalSolverLanguageParser.g:3369:2: ( rule__MetricDefinition__BodyAssignment_3 ) - // InternalSolverLanguageParser.g:3369:3: rule__MetricDefinition__BodyAssignment_3 + before(grammarAccess.getExternAggregationOperatorDeclarationAccess().getArgumentTypeAssignment_4()); + // InternalSolverLanguageParser.g:4837:2: ( rule__ExternAggregationOperatorDeclaration__ArgumentTypeAssignment_4 ) + // InternalSolverLanguageParser.g:4837:3: rule__ExternAggregationOperatorDeclaration__ArgumentTypeAssignment_4 { pushFollow(FOLLOW_2); - rule__MetricDefinition__BodyAssignment_3(); + rule__ExternAggregationOperatorDeclaration__ArgumentTypeAssignment_4(); state._fsp--; } - after(grammarAccess.getMetricDefinitionAccess().getBodyAssignment_3()); + after(grammarAccess.getExternAggregationOperatorDeclarationAccess().getArgumentTypeAssignment_4()); } @@ -10725,26 +15221,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__MetricDefinition__Group__3__Impl" + // $ANTLR end "rule__ExternAggregationOperatorDeclaration__Group__4__Impl" - // $ANTLR start "rule__ExternPredicateDefinition__Group__0" - // InternalSolverLanguageParser.g:3378:1: rule__ExternPredicateDefinition__Group__0 : rule__ExternPredicateDefinition__Group__0__Impl rule__ExternPredicateDefinition__Group__1 ; - public final void rule__ExternPredicateDefinition__Group__0() throws RecognitionException { + // $ANTLR start "rule__ExternAggregationOperatorDeclaration__Group__5" + // InternalSolverLanguageParser.g:4845:1: rule__ExternAggregationOperatorDeclaration__Group__5 : rule__ExternAggregationOperatorDeclaration__Group__5__Impl rule__ExternAggregationOperatorDeclaration__Group__6 ; + public final void rule__ExternAggregationOperatorDeclaration__Group__5() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3382:1: ( rule__ExternPredicateDefinition__Group__0__Impl rule__ExternPredicateDefinition__Group__1 ) - // InternalSolverLanguageParser.g:3383:2: rule__ExternPredicateDefinition__Group__0__Impl rule__ExternPredicateDefinition__Group__1 + // InternalSolverLanguageParser.g:4849:1: ( rule__ExternAggregationOperatorDeclaration__Group__5__Impl rule__ExternAggregationOperatorDeclaration__Group__6 ) + // InternalSolverLanguageParser.g:4850:2: rule__ExternAggregationOperatorDeclaration__Group__5__Impl rule__ExternAggregationOperatorDeclaration__Group__6 { - pushFollow(FOLLOW_9); - rule__ExternPredicateDefinition__Group__0__Impl(); + pushFollow(FOLLOW_23); + rule__ExternAggregationOperatorDeclaration__Group__5__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__ExternPredicateDefinition__Group__1(); + rule__ExternAggregationOperatorDeclaration__Group__6(); state._fsp--; @@ -10763,25 +15259,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ExternPredicateDefinition__Group__0" + // $ANTLR end "rule__ExternAggregationOperatorDeclaration__Group__5" - // $ANTLR start "rule__ExternPredicateDefinition__Group__0__Impl" - // InternalSolverLanguageParser.g:3390:1: rule__ExternPredicateDefinition__Group__0__Impl : ( Extern ) ; - public final void rule__ExternPredicateDefinition__Group__0__Impl() throws RecognitionException { + // $ANTLR start "rule__ExternAggregationOperatorDeclaration__Group__5__Impl" + // InternalSolverLanguageParser.g:4857:1: rule__ExternAggregationOperatorDeclaration__Group__5__Impl : ( FullStopFullStopFullStop ) ; + public final void rule__ExternAggregationOperatorDeclaration__Group__5__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3394:1: ( ( Extern ) ) - // InternalSolverLanguageParser.g:3395:1: ( Extern ) + // InternalSolverLanguageParser.g:4861:1: ( ( FullStopFullStopFullStop ) ) + // InternalSolverLanguageParser.g:4862:1: ( FullStopFullStopFullStop ) { - // InternalSolverLanguageParser.g:3395:1: ( Extern ) - // InternalSolverLanguageParser.g:3396:2: Extern + // InternalSolverLanguageParser.g:4862:1: ( FullStopFullStopFullStop ) + // InternalSolverLanguageParser.g:4863:2: FullStopFullStopFullStop { - before(grammarAccess.getExternPredicateDefinitionAccess().getExternKeyword_0()); - match(input,Extern,FOLLOW_2); - after(grammarAccess.getExternPredicateDefinitionAccess().getExternKeyword_0()); + before(grammarAccess.getExternAggregationOperatorDeclarationAccess().getFullStopFullStopFullStopKeyword_5()); + match(input,FullStopFullStopFullStop,FOLLOW_2); + after(grammarAccess.getExternAggregationOperatorDeclarationAccess().getFullStopFullStopFullStopKeyword_5()); } @@ -10800,26 +15296,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ExternPredicateDefinition__Group__0__Impl" + // $ANTLR end "rule__ExternAggregationOperatorDeclaration__Group__5__Impl" - // $ANTLR start "rule__ExternPredicateDefinition__Group__1" - // InternalSolverLanguageParser.g:3405:1: rule__ExternPredicateDefinition__Group__1 : rule__ExternPredicateDefinition__Group__1__Impl rule__ExternPredicateDefinition__Group__2 ; - public final void rule__ExternPredicateDefinition__Group__1() throws RecognitionException { + // $ANTLR start "rule__ExternAggregationOperatorDeclaration__Group__6" + // InternalSolverLanguageParser.g:4872:1: rule__ExternAggregationOperatorDeclaration__Group__6 : rule__ExternAggregationOperatorDeclaration__Group__6__Impl rule__ExternAggregationOperatorDeclaration__Group__7 ; + public final void rule__ExternAggregationOperatorDeclaration__Group__6() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3409:1: ( rule__ExternPredicateDefinition__Group__1__Impl rule__ExternPredicateDefinition__Group__2 ) - // InternalSolverLanguageParser.g:3410:2: rule__ExternPredicateDefinition__Group__1__Impl rule__ExternPredicateDefinition__Group__2 + // InternalSolverLanguageParser.g:4876:1: ( rule__ExternAggregationOperatorDeclaration__Group__6__Impl rule__ExternAggregationOperatorDeclaration__Group__7 ) + // InternalSolverLanguageParser.g:4877:2: rule__ExternAggregationOperatorDeclaration__Group__6__Impl rule__ExternAggregationOperatorDeclaration__Group__7 { - pushFollow(FOLLOW_12); - rule__ExternPredicateDefinition__Group__1__Impl(); + pushFollow(FOLLOW_7); + rule__ExternAggregationOperatorDeclaration__Group__6__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__ExternPredicateDefinition__Group__2(); + rule__ExternAggregationOperatorDeclaration__Group__7(); state._fsp--; @@ -10838,35 +15334,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ExternPredicateDefinition__Group__1" + // $ANTLR end "rule__ExternAggregationOperatorDeclaration__Group__6" - // $ANTLR start "rule__ExternPredicateDefinition__Group__1__Impl" - // InternalSolverLanguageParser.g:3417:1: rule__ExternPredicateDefinition__Group__1__Impl : ( ( rule__ExternPredicateDefinition__NameAssignment_1 ) ) ; - public final void rule__ExternPredicateDefinition__Group__1__Impl() throws RecognitionException { + // $ANTLR start "rule__ExternAggregationOperatorDeclaration__Group__6__Impl" + // InternalSolverLanguageParser.g:4884:1: rule__ExternAggregationOperatorDeclaration__Group__6__Impl : ( RightCurlyBracket ) ; + public final void rule__ExternAggregationOperatorDeclaration__Group__6__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3421:1: ( ( ( rule__ExternPredicateDefinition__NameAssignment_1 ) ) ) - // InternalSolverLanguageParser.g:3422:1: ( ( rule__ExternPredicateDefinition__NameAssignment_1 ) ) + // InternalSolverLanguageParser.g:4888:1: ( ( RightCurlyBracket ) ) + // InternalSolverLanguageParser.g:4889:1: ( RightCurlyBracket ) { - // InternalSolverLanguageParser.g:3422:1: ( ( rule__ExternPredicateDefinition__NameAssignment_1 ) ) - // InternalSolverLanguageParser.g:3423:2: ( rule__ExternPredicateDefinition__NameAssignment_1 ) + // InternalSolverLanguageParser.g:4889:1: ( RightCurlyBracket ) + // InternalSolverLanguageParser.g:4890:2: RightCurlyBracket { - before(grammarAccess.getExternPredicateDefinitionAccess().getNameAssignment_1()); - // InternalSolverLanguageParser.g:3424:2: ( rule__ExternPredicateDefinition__NameAssignment_1 ) - // InternalSolverLanguageParser.g:3424:3: rule__ExternPredicateDefinition__NameAssignment_1 - { - pushFollow(FOLLOW_2); - rule__ExternPredicateDefinition__NameAssignment_1(); - - state._fsp--; - - - } - - after(grammarAccess.getExternPredicateDefinitionAccess().getNameAssignment_1()); + before(grammarAccess.getExternAggregationOperatorDeclarationAccess().getRightCurlyBracketKeyword_6()); + match(input,RightCurlyBracket,FOLLOW_2); + after(grammarAccess.getExternAggregationOperatorDeclarationAccess().getRightCurlyBracketKeyword_6()); } @@ -10885,21 +15371,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ExternPredicateDefinition__Group__1__Impl" + // $ANTLR end "rule__ExternAggregationOperatorDeclaration__Group__6__Impl" - // $ANTLR start "rule__ExternPredicateDefinition__Group__2" - // InternalSolverLanguageParser.g:3432:1: rule__ExternPredicateDefinition__Group__2 : rule__ExternPredicateDefinition__Group__2__Impl ; - public final void rule__ExternPredicateDefinition__Group__2() throws RecognitionException { + // $ANTLR start "rule__ExternAggregationOperatorDeclaration__Group__7" + // InternalSolverLanguageParser.g:4899:1: rule__ExternAggregationOperatorDeclaration__Group__7 : rule__ExternAggregationOperatorDeclaration__Group__7__Impl ; + public final void rule__ExternAggregationOperatorDeclaration__Group__7() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3436:1: ( rule__ExternPredicateDefinition__Group__2__Impl ) - // InternalSolverLanguageParser.g:3437:2: rule__ExternPredicateDefinition__Group__2__Impl + // InternalSolverLanguageParser.g:4903:1: ( rule__ExternAggregationOperatorDeclaration__Group__7__Impl ) + // InternalSolverLanguageParser.g:4904:2: rule__ExternAggregationOperatorDeclaration__Group__7__Impl { pushFollow(FOLLOW_2); - rule__ExternPredicateDefinition__Group__2__Impl(); + rule__ExternAggregationOperatorDeclaration__Group__7__Impl(); state._fsp--; @@ -10918,35 +15404,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ExternPredicateDefinition__Group__2" + // $ANTLR end "rule__ExternAggregationOperatorDeclaration__Group__7" - // $ANTLR start "rule__ExternPredicateDefinition__Group__2__Impl" - // InternalSolverLanguageParser.g:3443:1: rule__ExternPredicateDefinition__Group__2__Impl : ( ( rule__ExternPredicateDefinition__ArgumentListAssignment_2 ) ) ; - public final void rule__ExternPredicateDefinition__Group__2__Impl() throws RecognitionException { + // $ANTLR start "rule__ExternAggregationOperatorDeclaration__Group__7__Impl" + // InternalSolverLanguageParser.g:4910:1: rule__ExternAggregationOperatorDeclaration__Group__7__Impl : ( RULE_FULL_STOP ) ; + public final void rule__ExternAggregationOperatorDeclaration__Group__7__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3447:1: ( ( ( rule__ExternPredicateDefinition__ArgumentListAssignment_2 ) ) ) - // InternalSolverLanguageParser.g:3448:1: ( ( rule__ExternPredicateDefinition__ArgumentListAssignment_2 ) ) - { - // InternalSolverLanguageParser.g:3448:1: ( ( rule__ExternPredicateDefinition__ArgumentListAssignment_2 ) ) - // InternalSolverLanguageParser.g:3449:2: ( rule__ExternPredicateDefinition__ArgumentListAssignment_2 ) + // InternalSolverLanguageParser.g:4914:1: ( ( RULE_FULL_STOP ) ) + // InternalSolverLanguageParser.g:4915:1: ( RULE_FULL_STOP ) { - before(grammarAccess.getExternPredicateDefinitionAccess().getArgumentListAssignment_2()); - // InternalSolverLanguageParser.g:3450:2: ( rule__ExternPredicateDefinition__ArgumentListAssignment_2 ) - // InternalSolverLanguageParser.g:3450:3: rule__ExternPredicateDefinition__ArgumentListAssignment_2 + // InternalSolverLanguageParser.g:4915:1: ( RULE_FULL_STOP ) + // InternalSolverLanguageParser.g:4916:2: RULE_FULL_STOP { - pushFollow(FOLLOW_2); - rule__ExternPredicateDefinition__ArgumentListAssignment_2(); - - state._fsp--; - - - } - - after(grammarAccess.getExternPredicateDefinitionAccess().getArgumentListAssignment_2()); + before(grammarAccess.getExternAggregationOperatorDeclarationAccess().getFULL_STOPTerminalRuleCall_7()); + match(input,RULE_FULL_STOP,FOLLOW_2); + after(grammarAccess.getExternAggregationOperatorDeclarationAccess().getFULL_STOPTerminalRuleCall_7()); } @@ -10965,26 +15441,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ExternPredicateDefinition__Group__2__Impl" + // $ANTLR end "rule__ExternAggregationOperatorDeclaration__Group__7__Impl" - // $ANTLR start "rule__ExternMetricDefinition__Group__0" - // InternalSolverLanguageParser.g:3459:1: rule__ExternMetricDefinition__Group__0 : rule__ExternMetricDefinition__Group__0__Impl rule__ExternMetricDefinition__Group__1 ; - public final void rule__ExternMetricDefinition__Group__0() throws RecognitionException { + // $ANTLR start "rule__ExternDatatypeDeclaration__Group__0" + // InternalSolverLanguageParser.g:4926:1: rule__ExternDatatypeDeclaration__Group__0 : rule__ExternDatatypeDeclaration__Group__0__Impl rule__ExternDatatypeDeclaration__Group__1 ; + public final void rule__ExternDatatypeDeclaration__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3463:1: ( rule__ExternMetricDefinition__Group__0__Impl rule__ExternMetricDefinition__Group__1 ) - // InternalSolverLanguageParser.g:3464:2: rule__ExternMetricDefinition__Group__0__Impl rule__ExternMetricDefinition__Group__1 + // InternalSolverLanguageParser.g:4930:1: ( rule__ExternDatatypeDeclaration__Group__0__Impl rule__ExternDatatypeDeclaration__Group__1 ) + // InternalSolverLanguageParser.g:4931:2: rule__ExternDatatypeDeclaration__Group__0__Impl rule__ExternDatatypeDeclaration__Group__1 { - pushFollow(FOLLOW_9); - rule__ExternMetricDefinition__Group__0__Impl(); + pushFollow(FOLLOW_24); + rule__ExternDatatypeDeclaration__Group__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__ExternMetricDefinition__Group__1(); + rule__ExternDatatypeDeclaration__Group__1(); state._fsp--; @@ -11003,25 +15479,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ExternMetricDefinition__Group__0" + // $ANTLR end "rule__ExternDatatypeDeclaration__Group__0" - // $ANTLR start "rule__ExternMetricDefinition__Group__0__Impl" - // InternalSolverLanguageParser.g:3471:1: rule__ExternMetricDefinition__Group__0__Impl : ( Extern ) ; - public final void rule__ExternMetricDefinition__Group__0__Impl() throws RecognitionException { + // $ANTLR start "rule__ExternDatatypeDeclaration__Group__0__Impl" + // InternalSolverLanguageParser.g:4938:1: rule__ExternDatatypeDeclaration__Group__0__Impl : ( Extern ) ; + public final void rule__ExternDatatypeDeclaration__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3475:1: ( ( Extern ) ) - // InternalSolverLanguageParser.g:3476:1: ( Extern ) + // InternalSolverLanguageParser.g:4942:1: ( ( Extern ) ) + // InternalSolverLanguageParser.g:4943:1: ( Extern ) { - // InternalSolverLanguageParser.g:3476:1: ( Extern ) - // InternalSolverLanguageParser.g:3477:2: Extern + // InternalSolverLanguageParser.g:4943:1: ( Extern ) + // InternalSolverLanguageParser.g:4944:2: Extern { - before(grammarAccess.getExternMetricDefinitionAccess().getExternKeyword_0()); + before(grammarAccess.getExternDatatypeDeclarationAccess().getExternKeyword_0()); match(input,Extern,FOLLOW_2); - after(grammarAccess.getExternMetricDefinitionAccess().getExternKeyword_0()); + after(grammarAccess.getExternDatatypeDeclarationAccess().getExternKeyword_0()); } @@ -11040,26 +15516,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ExternMetricDefinition__Group__0__Impl" + // $ANTLR end "rule__ExternDatatypeDeclaration__Group__0__Impl" - // $ANTLR start "rule__ExternMetricDefinition__Group__1" - // InternalSolverLanguageParser.g:3486:1: rule__ExternMetricDefinition__Group__1 : rule__ExternMetricDefinition__Group__1__Impl rule__ExternMetricDefinition__Group__2 ; - public final void rule__ExternMetricDefinition__Group__1() throws RecognitionException { + // $ANTLR start "rule__ExternDatatypeDeclaration__Group__1" + // InternalSolverLanguageParser.g:4953:1: rule__ExternDatatypeDeclaration__Group__1 : rule__ExternDatatypeDeclaration__Group__1__Impl rule__ExternDatatypeDeclaration__Group__2 ; + public final void rule__ExternDatatypeDeclaration__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3490:1: ( rule__ExternMetricDefinition__Group__1__Impl rule__ExternMetricDefinition__Group__2 ) - // InternalSolverLanguageParser.g:3491:2: rule__ExternMetricDefinition__Group__1__Impl rule__ExternMetricDefinition__Group__2 + // InternalSolverLanguageParser.g:4957:1: ( rule__ExternDatatypeDeclaration__Group__1__Impl rule__ExternDatatypeDeclaration__Group__2 ) + // InternalSolverLanguageParser.g:4958:2: rule__ExternDatatypeDeclaration__Group__1__Impl rule__ExternDatatypeDeclaration__Group__2 { - pushFollow(FOLLOW_9); - rule__ExternMetricDefinition__Group__1__Impl(); + pushFollow(FOLLOW_6); + rule__ExternDatatypeDeclaration__Group__1__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__ExternMetricDefinition__Group__2(); + rule__ExternDatatypeDeclaration__Group__2(); state._fsp--; @@ -11078,35 +15554,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ExternMetricDefinition__Group__1" + // $ANTLR end "rule__ExternDatatypeDeclaration__Group__1" - // $ANTLR start "rule__ExternMetricDefinition__Group__1__Impl" - // InternalSolverLanguageParser.g:3498:1: rule__ExternMetricDefinition__Group__1__Impl : ( ( rule__ExternMetricDefinition__TypeAssignment_1 ) ) ; - public final void rule__ExternMetricDefinition__Group__1__Impl() throws RecognitionException { + // $ANTLR start "rule__ExternDatatypeDeclaration__Group__1__Impl" + // InternalSolverLanguageParser.g:4965:1: rule__ExternDatatypeDeclaration__Group__1__Impl : ( Datatype ) ; + public final void rule__ExternDatatypeDeclaration__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3502:1: ( ( ( rule__ExternMetricDefinition__TypeAssignment_1 ) ) ) - // InternalSolverLanguageParser.g:3503:1: ( ( rule__ExternMetricDefinition__TypeAssignment_1 ) ) + // InternalSolverLanguageParser.g:4969:1: ( ( Datatype ) ) + // InternalSolverLanguageParser.g:4970:1: ( Datatype ) { - // InternalSolverLanguageParser.g:3503:1: ( ( rule__ExternMetricDefinition__TypeAssignment_1 ) ) - // InternalSolverLanguageParser.g:3504:2: ( rule__ExternMetricDefinition__TypeAssignment_1 ) + // InternalSolverLanguageParser.g:4970:1: ( Datatype ) + // InternalSolverLanguageParser.g:4971:2: Datatype { - before(grammarAccess.getExternMetricDefinitionAccess().getTypeAssignment_1()); - // InternalSolverLanguageParser.g:3505:2: ( rule__ExternMetricDefinition__TypeAssignment_1 ) - // InternalSolverLanguageParser.g:3505:3: rule__ExternMetricDefinition__TypeAssignment_1 - { - pushFollow(FOLLOW_2); - rule__ExternMetricDefinition__TypeAssignment_1(); - - state._fsp--; - - - } - - after(grammarAccess.getExternMetricDefinitionAccess().getTypeAssignment_1()); + before(grammarAccess.getExternDatatypeDeclarationAccess().getDatatypeKeyword_1()); + match(input,Datatype,FOLLOW_2); + after(grammarAccess.getExternDatatypeDeclarationAccess().getDatatypeKeyword_1()); } @@ -11125,26 +15591,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ExternMetricDefinition__Group__1__Impl" + // $ANTLR end "rule__ExternDatatypeDeclaration__Group__1__Impl" - // $ANTLR start "rule__ExternMetricDefinition__Group__2" - // InternalSolverLanguageParser.g:3513:1: rule__ExternMetricDefinition__Group__2 : rule__ExternMetricDefinition__Group__2__Impl rule__ExternMetricDefinition__Group__3 ; - public final void rule__ExternMetricDefinition__Group__2() throws RecognitionException { + // $ANTLR start "rule__ExternDatatypeDeclaration__Group__2" + // InternalSolverLanguageParser.g:4980:1: rule__ExternDatatypeDeclaration__Group__2 : rule__ExternDatatypeDeclaration__Group__2__Impl rule__ExternDatatypeDeclaration__Group__3 ; + public final void rule__ExternDatatypeDeclaration__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3517:1: ( rule__ExternMetricDefinition__Group__2__Impl rule__ExternMetricDefinition__Group__3 ) - // InternalSolverLanguageParser.g:3518:2: rule__ExternMetricDefinition__Group__2__Impl rule__ExternMetricDefinition__Group__3 + // InternalSolverLanguageParser.g:4984:1: ( rule__ExternDatatypeDeclaration__Group__2__Impl rule__ExternDatatypeDeclaration__Group__3 ) + // InternalSolverLanguageParser.g:4985:2: rule__ExternDatatypeDeclaration__Group__2__Impl rule__ExternDatatypeDeclaration__Group__3 { - pushFollow(FOLLOW_12); - rule__ExternMetricDefinition__Group__2__Impl(); + pushFollow(FOLLOW_7); + rule__ExternDatatypeDeclaration__Group__2__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__ExternMetricDefinition__Group__3(); + rule__ExternDatatypeDeclaration__Group__3(); state._fsp--; @@ -11163,35 +15629,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ExternMetricDefinition__Group__2" + // $ANTLR end "rule__ExternDatatypeDeclaration__Group__2" - // $ANTLR start "rule__ExternMetricDefinition__Group__2__Impl" - // InternalSolverLanguageParser.g:3525:1: rule__ExternMetricDefinition__Group__2__Impl : ( ( rule__ExternMetricDefinition__NameAssignment_2 ) ) ; - public final void rule__ExternMetricDefinition__Group__2__Impl() throws RecognitionException { + // $ANTLR start "rule__ExternDatatypeDeclaration__Group__2__Impl" + // InternalSolverLanguageParser.g:4992:1: rule__ExternDatatypeDeclaration__Group__2__Impl : ( ( rule__ExternDatatypeDeclaration__NameAssignment_2 ) ) ; + public final void rule__ExternDatatypeDeclaration__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3529:1: ( ( ( rule__ExternMetricDefinition__NameAssignment_2 ) ) ) - // InternalSolverLanguageParser.g:3530:1: ( ( rule__ExternMetricDefinition__NameAssignment_2 ) ) + // InternalSolverLanguageParser.g:4996:1: ( ( ( rule__ExternDatatypeDeclaration__NameAssignment_2 ) ) ) + // InternalSolverLanguageParser.g:4997:1: ( ( rule__ExternDatatypeDeclaration__NameAssignment_2 ) ) { - // InternalSolverLanguageParser.g:3530:1: ( ( rule__ExternMetricDefinition__NameAssignment_2 ) ) - // InternalSolverLanguageParser.g:3531:2: ( rule__ExternMetricDefinition__NameAssignment_2 ) + // InternalSolverLanguageParser.g:4997:1: ( ( rule__ExternDatatypeDeclaration__NameAssignment_2 ) ) + // InternalSolverLanguageParser.g:4998:2: ( rule__ExternDatatypeDeclaration__NameAssignment_2 ) { - before(grammarAccess.getExternMetricDefinitionAccess().getNameAssignment_2()); - // InternalSolverLanguageParser.g:3532:2: ( rule__ExternMetricDefinition__NameAssignment_2 ) - // InternalSolverLanguageParser.g:3532:3: rule__ExternMetricDefinition__NameAssignment_2 + before(grammarAccess.getExternDatatypeDeclarationAccess().getNameAssignment_2()); + // InternalSolverLanguageParser.g:4999:2: ( rule__ExternDatatypeDeclaration__NameAssignment_2 ) + // InternalSolverLanguageParser.g:4999:3: rule__ExternDatatypeDeclaration__NameAssignment_2 { pushFollow(FOLLOW_2); - rule__ExternMetricDefinition__NameAssignment_2(); + rule__ExternDatatypeDeclaration__NameAssignment_2(); state._fsp--; } - after(grammarAccess.getExternMetricDefinitionAccess().getNameAssignment_2()); + after(grammarAccess.getExternDatatypeDeclarationAccess().getNameAssignment_2()); } @@ -11210,21 +15676,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ExternMetricDefinition__Group__2__Impl" + // $ANTLR end "rule__ExternDatatypeDeclaration__Group__2__Impl" - // $ANTLR start "rule__ExternMetricDefinition__Group__3" - // InternalSolverLanguageParser.g:3540:1: rule__ExternMetricDefinition__Group__3 : rule__ExternMetricDefinition__Group__3__Impl ; - public final void rule__ExternMetricDefinition__Group__3() throws RecognitionException { + // $ANTLR start "rule__ExternDatatypeDeclaration__Group__3" + // InternalSolverLanguageParser.g:5007:1: rule__ExternDatatypeDeclaration__Group__3 : rule__ExternDatatypeDeclaration__Group__3__Impl ; + public final void rule__ExternDatatypeDeclaration__Group__3() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3544:1: ( rule__ExternMetricDefinition__Group__3__Impl ) - // InternalSolverLanguageParser.g:3545:2: rule__ExternMetricDefinition__Group__3__Impl + // InternalSolverLanguageParser.g:5011:1: ( rule__ExternDatatypeDeclaration__Group__3__Impl ) + // InternalSolverLanguageParser.g:5012:2: rule__ExternDatatypeDeclaration__Group__3__Impl { pushFollow(FOLLOW_2); - rule__ExternMetricDefinition__Group__3__Impl(); + rule__ExternDatatypeDeclaration__Group__3__Impl(); state._fsp--; @@ -11243,35 +15709,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ExternMetricDefinition__Group__3" + // $ANTLR end "rule__ExternDatatypeDeclaration__Group__3" - // $ANTLR start "rule__ExternMetricDefinition__Group__3__Impl" - // InternalSolverLanguageParser.g:3551:1: rule__ExternMetricDefinition__Group__3__Impl : ( ( rule__ExternMetricDefinition__ArgumentListAssignment_3 ) ) ; - public final void rule__ExternMetricDefinition__Group__3__Impl() throws RecognitionException { + // $ANTLR start "rule__ExternDatatypeDeclaration__Group__3__Impl" + // InternalSolverLanguageParser.g:5018:1: rule__ExternDatatypeDeclaration__Group__3__Impl : ( RULE_FULL_STOP ) ; + public final void rule__ExternDatatypeDeclaration__Group__3__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3555:1: ( ( ( rule__ExternMetricDefinition__ArgumentListAssignment_3 ) ) ) - // InternalSolverLanguageParser.g:3556:1: ( ( rule__ExternMetricDefinition__ArgumentListAssignment_3 ) ) - { - // InternalSolverLanguageParser.g:3556:1: ( ( rule__ExternMetricDefinition__ArgumentListAssignment_3 ) ) - // InternalSolverLanguageParser.g:3557:2: ( rule__ExternMetricDefinition__ArgumentListAssignment_3 ) + // InternalSolverLanguageParser.g:5022:1: ( ( RULE_FULL_STOP ) ) + // InternalSolverLanguageParser.g:5023:1: ( RULE_FULL_STOP ) { - before(grammarAccess.getExternMetricDefinitionAccess().getArgumentListAssignment_3()); - // InternalSolverLanguageParser.g:3558:2: ( rule__ExternMetricDefinition__ArgumentListAssignment_3 ) - // InternalSolverLanguageParser.g:3558:3: rule__ExternMetricDefinition__ArgumentListAssignment_3 + // InternalSolverLanguageParser.g:5023:1: ( RULE_FULL_STOP ) + // InternalSolverLanguageParser.g:5024:2: RULE_FULL_STOP { - pushFollow(FOLLOW_2); - rule__ExternMetricDefinition__ArgumentListAssignment_3(); - - state._fsp--; - - - } - - after(grammarAccess.getExternMetricDefinitionAccess().getArgumentListAssignment_3()); + before(grammarAccess.getExternDatatypeDeclarationAccess().getFULL_STOPTerminalRuleCall_3()); + match(input,RULE_FULL_STOP,FOLLOW_2); + after(grammarAccess.getExternDatatypeDeclarationAccess().getFULL_STOPTerminalRuleCall_3()); } @@ -11290,26 +15746,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ExternMetricDefinition__Group__3__Impl" + // $ANTLR end "rule__ExternDatatypeDeclaration__Group__3__Impl" - // $ANTLR start "rule__ExternAggregatorDefinition__Group__0" - // InternalSolverLanguageParser.g:3567:1: rule__ExternAggregatorDefinition__Group__0 : rule__ExternAggregatorDefinition__Group__0__Impl rule__ExternAggregatorDefinition__Group__1 ; - public final void rule__ExternAggregatorDefinition__Group__0() throws RecognitionException { + // $ANTLR start "rule__Expression__Group_2__0" + // InternalSolverLanguageParser.g:5034:1: rule__Expression__Group_2__0 : rule__Expression__Group_2__0__Impl rule__Expression__Group_2__1 ; + public final void rule__Expression__Group_2__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3571:1: ( rule__ExternAggregatorDefinition__Group__0__Impl rule__ExternAggregatorDefinition__Group__1 ) - // InternalSolverLanguageParser.g:3572:2: rule__ExternAggregatorDefinition__Group__0__Impl rule__ExternAggregatorDefinition__Group__1 + // InternalSolverLanguageParser.g:5038:1: ( rule__Expression__Group_2__0__Impl rule__Expression__Group_2__1 ) + // InternalSolverLanguageParser.g:5039:2: rule__Expression__Group_2__0__Impl rule__Expression__Group_2__1 { - pushFollow(FOLLOW_9); - rule__ExternAggregatorDefinition__Group__0__Impl(); + pushFollow(FOLLOW_25); + rule__Expression__Group_2__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__ExternAggregatorDefinition__Group__1(); + rule__Expression__Group_2__1(); state._fsp--; @@ -11328,25 +15784,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ExternAggregatorDefinition__Group__0" + // $ANTLR end "rule__Expression__Group_2__0" - // $ANTLR start "rule__ExternAggregatorDefinition__Group__0__Impl" - // InternalSolverLanguageParser.g:3579:1: rule__ExternAggregatorDefinition__Group__0__Impl : ( Extern ) ; - public final void rule__ExternAggregatorDefinition__Group__0__Impl() throws RecognitionException { + // $ANTLR start "rule__Expression__Group_2__0__Impl" + // InternalSolverLanguageParser.g:5046:1: rule__Expression__Group_2__0__Impl : ( ruleDisjunctiveExpression ) ; + public final void rule__Expression__Group_2__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3583:1: ( ( Extern ) ) - // InternalSolverLanguageParser.g:3584:1: ( Extern ) + // InternalSolverLanguageParser.g:5050:1: ( ( ruleDisjunctiveExpression ) ) + // InternalSolverLanguageParser.g:5051:1: ( ruleDisjunctiveExpression ) { - // InternalSolverLanguageParser.g:3584:1: ( Extern ) - // InternalSolverLanguageParser.g:3585:2: Extern + // InternalSolverLanguageParser.g:5051:1: ( ruleDisjunctiveExpression ) + // InternalSolverLanguageParser.g:5052:2: ruleDisjunctiveExpression { - before(grammarAccess.getExternAggregatorDefinitionAccess().getExternKeyword_0()); - match(input,Extern,FOLLOW_2); - after(grammarAccess.getExternAggregatorDefinitionAccess().getExternKeyword_0()); + before(grammarAccess.getExpressionAccess().getDisjunctiveExpressionParserRuleCall_2_0()); + pushFollow(FOLLOW_2); + ruleDisjunctiveExpression(); + + state._fsp--; + + after(grammarAccess.getExpressionAccess().getDisjunctiveExpressionParserRuleCall_2_0()); } @@ -11365,26 +15825,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ExternAggregatorDefinition__Group__0__Impl" + // $ANTLR end "rule__Expression__Group_2__0__Impl" - // $ANTLR start "rule__ExternAggregatorDefinition__Group__1" - // InternalSolverLanguageParser.g:3594:1: rule__ExternAggregatorDefinition__Group__1 : rule__ExternAggregatorDefinition__Group__1__Impl rule__ExternAggregatorDefinition__Group__2 ; - public final void rule__ExternAggregatorDefinition__Group__1() throws RecognitionException { + // $ANTLR start "rule__Expression__Group_2__1" + // InternalSolverLanguageParser.g:5061:1: rule__Expression__Group_2__1 : rule__Expression__Group_2__1__Impl ; + public final void rule__Expression__Group_2__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3598:1: ( rule__ExternAggregatorDefinition__Group__1__Impl rule__ExternAggregatorDefinition__Group__2 ) - // InternalSolverLanguageParser.g:3599:2: rule__ExternAggregatorDefinition__Group__1__Impl rule__ExternAggregatorDefinition__Group__2 + // InternalSolverLanguageParser.g:5065:1: ( rule__Expression__Group_2__1__Impl ) + // InternalSolverLanguageParser.g:5066:2: rule__Expression__Group_2__1__Impl { - pushFollow(FOLLOW_9); - rule__ExternAggregatorDefinition__Group__1__Impl(); - - state._fsp--; - pushFollow(FOLLOW_2); - rule__ExternAggregatorDefinition__Group__2(); + rule__Expression__Group_2__1__Impl(); state._fsp--; @@ -11403,35 +15858,46 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ExternAggregatorDefinition__Group__1" + // $ANTLR end "rule__Expression__Group_2__1" - // $ANTLR start "rule__ExternAggregatorDefinition__Group__1__Impl" - // InternalSolverLanguageParser.g:3606:1: rule__ExternAggregatorDefinition__Group__1__Impl : ( ( rule__ExternAggregatorDefinition__TypeAssignment_1 ) ) ; - public final void rule__ExternAggregatorDefinition__Group__1__Impl() throws RecognitionException { + // $ANTLR start "rule__Expression__Group_2__1__Impl" + // InternalSolverLanguageParser.g:5072:1: rule__Expression__Group_2__1__Impl : ( ( rule__Expression__Group_2_1__0 )? ) ; + public final void rule__Expression__Group_2__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3610:1: ( ( ( rule__ExternAggregatorDefinition__TypeAssignment_1 ) ) ) - // InternalSolverLanguageParser.g:3611:1: ( ( rule__ExternAggregatorDefinition__TypeAssignment_1 ) ) + // InternalSolverLanguageParser.g:5076:1: ( ( ( rule__Expression__Group_2_1__0 )? ) ) + // InternalSolverLanguageParser.g:5077:1: ( ( rule__Expression__Group_2_1__0 )? ) { - // InternalSolverLanguageParser.g:3611:1: ( ( rule__ExternAggregatorDefinition__TypeAssignment_1 ) ) - // InternalSolverLanguageParser.g:3612:2: ( rule__ExternAggregatorDefinition__TypeAssignment_1 ) + // InternalSolverLanguageParser.g:5077:1: ( ( rule__Expression__Group_2_1__0 )? ) + // InternalSolverLanguageParser.g:5078:2: ( rule__Expression__Group_2_1__0 )? { - before(grammarAccess.getExternAggregatorDefinitionAccess().getTypeAssignment_1()); - // InternalSolverLanguageParser.g:3613:2: ( rule__ExternAggregatorDefinition__TypeAssignment_1 ) - // InternalSolverLanguageParser.g:3613:3: rule__ExternAggregatorDefinition__TypeAssignment_1 - { - pushFollow(FOLLOW_2); - rule__ExternAggregatorDefinition__TypeAssignment_1(); + before(grammarAccess.getExpressionAccess().getGroup_2_1()); + // InternalSolverLanguageParser.g:5079:2: ( rule__Expression__Group_2_1__0 )? + int alt38=2; + int LA38_0 = input.LA(1); + + if ( (LA38_0==EqualsSignGreaterThanSign) ) { + alt38=1; + } + switch (alt38) { + case 1 : + // InternalSolverLanguageParser.g:5079:3: rule__Expression__Group_2_1__0 + { + pushFollow(FOLLOW_2); + rule__Expression__Group_2_1__0(); + + state._fsp--; - state._fsp--; + } + break; } - after(grammarAccess.getExternAggregatorDefinitionAccess().getTypeAssignment_1()); + after(grammarAccess.getExpressionAccess().getGroup_2_1()); } @@ -11450,26 +15916,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ExternAggregatorDefinition__Group__1__Impl" + // $ANTLR end "rule__Expression__Group_2__1__Impl" - // $ANTLR start "rule__ExternAggregatorDefinition__Group__2" - // InternalSolverLanguageParser.g:3621:1: rule__ExternAggregatorDefinition__Group__2 : rule__ExternAggregatorDefinition__Group__2__Impl rule__ExternAggregatorDefinition__Group__3 ; - public final void rule__ExternAggregatorDefinition__Group__2() throws RecognitionException { + // $ANTLR start "rule__Expression__Group_2_1__0" + // InternalSolverLanguageParser.g:5088:1: rule__Expression__Group_2_1__0 : rule__Expression__Group_2_1__0__Impl rule__Expression__Group_2_1__1 ; + public final void rule__Expression__Group_2_1__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3625:1: ( rule__ExternAggregatorDefinition__Group__2__Impl rule__ExternAggregatorDefinition__Group__3 ) - // InternalSolverLanguageParser.g:3626:2: rule__ExternAggregatorDefinition__Group__2__Impl rule__ExternAggregatorDefinition__Group__3 + // InternalSolverLanguageParser.g:5092:1: ( rule__Expression__Group_2_1__0__Impl rule__Expression__Group_2_1__1 ) + // InternalSolverLanguageParser.g:5093:2: rule__Expression__Group_2_1__0__Impl rule__Expression__Group_2_1__1 { - pushFollow(FOLLOW_14); - rule__ExternAggregatorDefinition__Group__2__Impl(); + pushFollow(FOLLOW_25); + rule__Expression__Group_2_1__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__ExternAggregatorDefinition__Group__3(); + rule__Expression__Group_2_1__1(); state._fsp--; @@ -11488,35 +15954,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ExternAggregatorDefinition__Group__2" + // $ANTLR end "rule__Expression__Group_2_1__0" - // $ANTLR start "rule__ExternAggregatorDefinition__Group__2__Impl" - // InternalSolverLanguageParser.g:3633:1: rule__ExternAggregatorDefinition__Group__2__Impl : ( ( rule__ExternAggregatorDefinition__NameAssignment_2 ) ) ; - public final void rule__ExternAggregatorDefinition__Group__2__Impl() throws RecognitionException { + // $ANTLR start "rule__Expression__Group_2_1__0__Impl" + // InternalSolverLanguageParser.g:5100:1: rule__Expression__Group_2_1__0__Impl : ( () ) ; + public final void rule__Expression__Group_2_1__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3637:1: ( ( ( rule__ExternAggregatorDefinition__NameAssignment_2 ) ) ) - // InternalSolverLanguageParser.g:3638:1: ( ( rule__ExternAggregatorDefinition__NameAssignment_2 ) ) + // InternalSolverLanguageParser.g:5104:1: ( ( () ) ) + // InternalSolverLanguageParser.g:5105:1: ( () ) { - // InternalSolverLanguageParser.g:3638:1: ( ( rule__ExternAggregatorDefinition__NameAssignment_2 ) ) - // InternalSolverLanguageParser.g:3639:2: ( rule__ExternAggregatorDefinition__NameAssignment_2 ) + // InternalSolverLanguageParser.g:5105:1: ( () ) + // InternalSolverLanguageParser.g:5106:2: () { - before(grammarAccess.getExternAggregatorDefinitionAccess().getNameAssignment_2()); - // InternalSolverLanguageParser.g:3640:2: ( rule__ExternAggregatorDefinition__NameAssignment_2 ) - // InternalSolverLanguageParser.g:3640:3: rule__ExternAggregatorDefinition__NameAssignment_2 + before(grammarAccess.getExpressionAccess().getForallConditionAction_2_1_0()); + // InternalSolverLanguageParser.g:5107:2: () + // InternalSolverLanguageParser.g:5107:3: { - pushFollow(FOLLOW_2); - rule__ExternAggregatorDefinition__NameAssignment_2(); - - state._fsp--; - - } - after(grammarAccess.getExternAggregatorDefinitionAccess().getNameAssignment_2()); + after(grammarAccess.getExpressionAccess().getForallConditionAction_2_1_0()); } @@ -11524,10 +15984,6 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } finally { restoreStackSize(stackSize); @@ -11535,26 +15991,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ExternAggregatorDefinition__Group__2__Impl" + // $ANTLR end "rule__Expression__Group_2_1__0__Impl" - // $ANTLR start "rule__ExternAggregatorDefinition__Group__3" - // InternalSolverLanguageParser.g:3648:1: rule__ExternAggregatorDefinition__Group__3 : rule__ExternAggregatorDefinition__Group__3__Impl rule__ExternAggregatorDefinition__Group__4 ; - public final void rule__ExternAggregatorDefinition__Group__3() throws RecognitionException { + // $ANTLR start "rule__Expression__Group_2_1__1" + // InternalSolverLanguageParser.g:5115:1: rule__Expression__Group_2_1__1 : rule__Expression__Group_2_1__1__Impl rule__Expression__Group_2_1__2 ; + public final void rule__Expression__Group_2_1__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3652:1: ( rule__ExternAggregatorDefinition__Group__3__Impl rule__ExternAggregatorDefinition__Group__4 ) - // InternalSolverLanguageParser.g:3653:2: rule__ExternAggregatorDefinition__Group__3__Impl rule__ExternAggregatorDefinition__Group__4 + // InternalSolverLanguageParser.g:5119:1: ( rule__Expression__Group_2_1__1__Impl rule__Expression__Group_2_1__2 ) + // InternalSolverLanguageParser.g:5120:2: rule__Expression__Group_2_1__1__Impl rule__Expression__Group_2_1__2 { - pushFollow(FOLLOW_9); - rule__ExternAggregatorDefinition__Group__3__Impl(); + pushFollow(FOLLOW_12); + rule__Expression__Group_2_1__1__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__ExternAggregatorDefinition__Group__4(); + rule__Expression__Group_2_1__2(); state._fsp--; @@ -11573,25 +16029,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ExternAggregatorDefinition__Group__3" + // $ANTLR end "rule__Expression__Group_2_1__1" - // $ANTLR start "rule__ExternAggregatorDefinition__Group__3__Impl" - // InternalSolverLanguageParser.g:3660:1: rule__ExternAggregatorDefinition__Group__3__Impl : ( LeftCurlyBracket ) ; - public final void rule__ExternAggregatorDefinition__Group__3__Impl() throws RecognitionException { + // $ANTLR start "rule__Expression__Group_2_1__1__Impl" + // InternalSolverLanguageParser.g:5127:1: rule__Expression__Group_2_1__1__Impl : ( EqualsSignGreaterThanSign ) ; + public final void rule__Expression__Group_2_1__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3664:1: ( ( LeftCurlyBracket ) ) - // InternalSolverLanguageParser.g:3665:1: ( LeftCurlyBracket ) + // InternalSolverLanguageParser.g:5131:1: ( ( EqualsSignGreaterThanSign ) ) + // InternalSolverLanguageParser.g:5132:1: ( EqualsSignGreaterThanSign ) { - // InternalSolverLanguageParser.g:3665:1: ( LeftCurlyBracket ) - // InternalSolverLanguageParser.g:3666:2: LeftCurlyBracket + // InternalSolverLanguageParser.g:5132:1: ( EqualsSignGreaterThanSign ) + // InternalSolverLanguageParser.g:5133:2: EqualsSignGreaterThanSign { - before(grammarAccess.getExternAggregatorDefinitionAccess().getLeftCurlyBracketKeyword_3()); - match(input,LeftCurlyBracket,FOLLOW_2); - after(grammarAccess.getExternAggregatorDefinitionAccess().getLeftCurlyBracketKeyword_3()); + before(grammarAccess.getExpressionAccess().getEqualsSignGreaterThanSignKeyword_2_1_1()); + match(input,EqualsSignGreaterThanSign,FOLLOW_2); + after(grammarAccess.getExpressionAccess().getEqualsSignGreaterThanSignKeyword_2_1_1()); } @@ -11610,26 +16066,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ExternAggregatorDefinition__Group__3__Impl" + // $ANTLR end "rule__Expression__Group_2_1__1__Impl" - // $ANTLR start "rule__ExternAggregatorDefinition__Group__4" - // InternalSolverLanguageParser.g:3675:1: rule__ExternAggregatorDefinition__Group__4 : rule__ExternAggregatorDefinition__Group__4__Impl rule__ExternAggregatorDefinition__Group__5 ; - public final void rule__ExternAggregatorDefinition__Group__4() throws RecognitionException { + // $ANTLR start "rule__Expression__Group_2_1__2" + // InternalSolverLanguageParser.g:5142:1: rule__Expression__Group_2_1__2 : rule__Expression__Group_2_1__2__Impl ; + public final void rule__Expression__Group_2_1__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3679:1: ( rule__ExternAggregatorDefinition__Group__4__Impl rule__ExternAggregatorDefinition__Group__5 ) - // InternalSolverLanguageParser.g:3680:2: rule__ExternAggregatorDefinition__Group__4__Impl rule__ExternAggregatorDefinition__Group__5 + // InternalSolverLanguageParser.g:5146:1: ( rule__Expression__Group_2_1__2__Impl ) + // InternalSolverLanguageParser.g:5147:2: rule__Expression__Group_2_1__2__Impl { - pushFollow(FOLLOW_15); - rule__ExternAggregatorDefinition__Group__4__Impl(); - - state._fsp--; - pushFollow(FOLLOW_2); - rule__ExternAggregatorDefinition__Group__5(); + rule__Expression__Group_2_1__2__Impl(); state._fsp--; @@ -11648,35 +16099,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ExternAggregatorDefinition__Group__4" + // $ANTLR end "rule__Expression__Group_2_1__2" - // $ANTLR start "rule__ExternAggregatorDefinition__Group__4__Impl" - // InternalSolverLanguageParser.g:3687:1: rule__ExternAggregatorDefinition__Group__4__Impl : ( ( rule__ExternAggregatorDefinition__InputTypeAssignment_4 ) ) ; - public final void rule__ExternAggregatorDefinition__Group__4__Impl() throws RecognitionException { + // $ANTLR start "rule__Expression__Group_2_1__2__Impl" + // InternalSolverLanguageParser.g:5153:1: rule__Expression__Group_2_1__2__Impl : ( ( rule__Expression__BodyAssignment_2_1_2 ) ) ; + public final void rule__Expression__Group_2_1__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3691:1: ( ( ( rule__ExternAggregatorDefinition__InputTypeAssignment_4 ) ) ) - // InternalSolverLanguageParser.g:3692:1: ( ( rule__ExternAggregatorDefinition__InputTypeAssignment_4 ) ) + // InternalSolverLanguageParser.g:5157:1: ( ( ( rule__Expression__BodyAssignment_2_1_2 ) ) ) + // InternalSolverLanguageParser.g:5158:1: ( ( rule__Expression__BodyAssignment_2_1_2 ) ) { - // InternalSolverLanguageParser.g:3692:1: ( ( rule__ExternAggregatorDefinition__InputTypeAssignment_4 ) ) - // InternalSolverLanguageParser.g:3693:2: ( rule__ExternAggregatorDefinition__InputTypeAssignment_4 ) + // InternalSolverLanguageParser.g:5158:1: ( ( rule__Expression__BodyAssignment_2_1_2 ) ) + // InternalSolverLanguageParser.g:5159:2: ( rule__Expression__BodyAssignment_2_1_2 ) { - before(grammarAccess.getExternAggregatorDefinitionAccess().getInputTypeAssignment_4()); - // InternalSolverLanguageParser.g:3694:2: ( rule__ExternAggregatorDefinition__InputTypeAssignment_4 ) - // InternalSolverLanguageParser.g:3694:3: rule__ExternAggregatorDefinition__InputTypeAssignment_4 + before(grammarAccess.getExpressionAccess().getBodyAssignment_2_1_2()); + // InternalSolverLanguageParser.g:5160:2: ( rule__Expression__BodyAssignment_2_1_2 ) + // InternalSolverLanguageParser.g:5160:3: rule__Expression__BodyAssignment_2_1_2 { pushFollow(FOLLOW_2); - rule__ExternAggregatorDefinition__InputTypeAssignment_4(); + rule__Expression__BodyAssignment_2_1_2(); state._fsp--; } - after(grammarAccess.getExternAggregatorDefinitionAccess().getInputTypeAssignment_4()); + after(grammarAccess.getExpressionAccess().getBodyAssignment_2_1_2()); } @@ -11695,26 +16146,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ExternAggregatorDefinition__Group__4__Impl" + // $ANTLR end "rule__Expression__Group_2_1__2__Impl" - // $ANTLR start "rule__ExternAggregatorDefinition__Group__5" - // InternalSolverLanguageParser.g:3702:1: rule__ExternAggregatorDefinition__Group__5 : rule__ExternAggregatorDefinition__Group__5__Impl rule__ExternAggregatorDefinition__Group__6 ; - public final void rule__ExternAggregatorDefinition__Group__5() throws RecognitionException { + // $ANTLR start "rule__ConditionalExpression__Group__0" + // InternalSolverLanguageParser.g:5169:1: rule__ConditionalExpression__Group__0 : rule__ConditionalExpression__Group__0__Impl rule__ConditionalExpression__Group__1 ; + public final void rule__ConditionalExpression__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3706:1: ( rule__ExternAggregatorDefinition__Group__5__Impl rule__ExternAggregatorDefinition__Group__6 ) - // InternalSolverLanguageParser.g:3707:2: rule__ExternAggregatorDefinition__Group__5__Impl rule__ExternAggregatorDefinition__Group__6 + // InternalSolverLanguageParser.g:5173:1: ( rule__ConditionalExpression__Group__0__Impl rule__ConditionalExpression__Group__1 ) + // InternalSolverLanguageParser.g:5174:2: rule__ConditionalExpression__Group__0__Impl rule__ConditionalExpression__Group__1 { - pushFollow(FOLLOW_16); - rule__ExternAggregatorDefinition__Group__5__Impl(); + pushFollow(FOLLOW_12); + rule__ConditionalExpression__Group__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__ExternAggregatorDefinition__Group__6(); + rule__ConditionalExpression__Group__1(); state._fsp--; @@ -11733,25 +16184,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ExternAggregatorDefinition__Group__5" + // $ANTLR end "rule__ConditionalExpression__Group__0" - // $ANTLR start "rule__ExternAggregatorDefinition__Group__5__Impl" - // InternalSolverLanguageParser.g:3714:1: rule__ExternAggregatorDefinition__Group__5__Impl : ( FullStopFullStopFullStop ) ; - public final void rule__ExternAggregatorDefinition__Group__5__Impl() throws RecognitionException { + // $ANTLR start "rule__ConditionalExpression__Group__0__Impl" + // InternalSolverLanguageParser.g:5181:1: rule__ConditionalExpression__Group__0__Impl : ( If ) ; + public final void rule__ConditionalExpression__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3718:1: ( ( FullStopFullStopFullStop ) ) - // InternalSolverLanguageParser.g:3719:1: ( FullStopFullStopFullStop ) + // InternalSolverLanguageParser.g:5185:1: ( ( If ) ) + // InternalSolverLanguageParser.g:5186:1: ( If ) { - // InternalSolverLanguageParser.g:3719:1: ( FullStopFullStopFullStop ) - // InternalSolverLanguageParser.g:3720:2: FullStopFullStopFullStop + // InternalSolverLanguageParser.g:5186:1: ( If ) + // InternalSolverLanguageParser.g:5187:2: If { - before(grammarAccess.getExternAggregatorDefinitionAccess().getFullStopFullStopFullStopKeyword_5()); - match(input,FullStopFullStopFullStop,FOLLOW_2); - after(grammarAccess.getExternAggregatorDefinitionAccess().getFullStopFullStopFullStopKeyword_5()); + before(grammarAccess.getConditionalExpressionAccess().getIfKeyword_0()); + match(input,If,FOLLOW_2); + after(grammarAccess.getConditionalExpressionAccess().getIfKeyword_0()); } @@ -11770,21 +16221,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ExternAggregatorDefinition__Group__5__Impl" + // $ANTLR end "rule__ConditionalExpression__Group__0__Impl" - // $ANTLR start "rule__ExternAggregatorDefinition__Group__6" - // InternalSolverLanguageParser.g:3729:1: rule__ExternAggregatorDefinition__Group__6 : rule__ExternAggregatorDefinition__Group__6__Impl ; - public final void rule__ExternAggregatorDefinition__Group__6() throws RecognitionException { + // $ANTLR start "rule__ConditionalExpression__Group__1" + // InternalSolverLanguageParser.g:5196:1: rule__ConditionalExpression__Group__1 : rule__ConditionalExpression__Group__1__Impl rule__ConditionalExpression__Group__2 ; + public final void rule__ConditionalExpression__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3733:1: ( rule__ExternAggregatorDefinition__Group__6__Impl ) - // InternalSolverLanguageParser.g:3734:2: rule__ExternAggregatorDefinition__Group__6__Impl + // InternalSolverLanguageParser.g:5200:1: ( rule__ConditionalExpression__Group__1__Impl rule__ConditionalExpression__Group__2 ) + // InternalSolverLanguageParser.g:5201:2: rule__ConditionalExpression__Group__1__Impl rule__ConditionalExpression__Group__2 { + pushFollow(FOLLOW_26); + rule__ConditionalExpression__Group__1__Impl(); + + state._fsp--; + pushFollow(FOLLOW_2); - rule__ExternAggregatorDefinition__Group__6__Impl(); + rule__ConditionalExpression__Group__2(); state._fsp--; @@ -11803,25 +16259,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ExternAggregatorDefinition__Group__6" + // $ANTLR end "rule__ConditionalExpression__Group__1" - // $ANTLR start "rule__ExternAggregatorDefinition__Group__6__Impl" - // InternalSolverLanguageParser.g:3740:1: rule__ExternAggregatorDefinition__Group__6__Impl : ( RightCurlyBracket ) ; - public final void rule__ExternAggregatorDefinition__Group__6__Impl() throws RecognitionException { + // $ANTLR start "rule__ConditionalExpression__Group__1__Impl" + // InternalSolverLanguageParser.g:5208:1: rule__ConditionalExpression__Group__1__Impl : ( ( rule__ConditionalExpression__ConditionAssignment_1 ) ) ; + public final void rule__ConditionalExpression__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3744:1: ( ( RightCurlyBracket ) ) - // InternalSolverLanguageParser.g:3745:1: ( RightCurlyBracket ) + // InternalSolverLanguageParser.g:5212:1: ( ( ( rule__ConditionalExpression__ConditionAssignment_1 ) ) ) + // InternalSolverLanguageParser.g:5213:1: ( ( rule__ConditionalExpression__ConditionAssignment_1 ) ) { - // InternalSolverLanguageParser.g:3745:1: ( RightCurlyBracket ) - // InternalSolverLanguageParser.g:3746:2: RightCurlyBracket + // InternalSolverLanguageParser.g:5213:1: ( ( rule__ConditionalExpression__ConditionAssignment_1 ) ) + // InternalSolverLanguageParser.g:5214:2: ( rule__ConditionalExpression__ConditionAssignment_1 ) { - before(grammarAccess.getExternAggregatorDefinitionAccess().getRightCurlyBracketKeyword_6()); - match(input,RightCurlyBracket,FOLLOW_2); - after(grammarAccess.getExternAggregatorDefinitionAccess().getRightCurlyBracketKeyword_6()); + before(grammarAccess.getConditionalExpressionAccess().getConditionAssignment_1()); + // InternalSolverLanguageParser.g:5215:2: ( rule__ConditionalExpression__ConditionAssignment_1 ) + // InternalSolverLanguageParser.g:5215:3: rule__ConditionalExpression__ConditionAssignment_1 + { + pushFollow(FOLLOW_2); + rule__ConditionalExpression__ConditionAssignment_1(); + + state._fsp--; + + + } + + after(grammarAccess.getConditionalExpressionAccess().getConditionAssignment_1()); } @@ -11840,26 +16306,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ExternAggregatorDefinition__Group__6__Impl" + // $ANTLR end "rule__ConditionalExpression__Group__1__Impl" - // $ANTLR start "rule__ExternDatatypeDefinition__Group__0" - // InternalSolverLanguageParser.g:3756:1: rule__ExternDatatypeDefinition__Group__0 : rule__ExternDatatypeDefinition__Group__0__Impl rule__ExternDatatypeDefinition__Group__1 ; - public final void rule__ExternDatatypeDefinition__Group__0() throws RecognitionException { + // $ANTLR start "rule__ConditionalExpression__Group__2" + // InternalSolverLanguageParser.g:5223:1: rule__ConditionalExpression__Group__2 : rule__ConditionalExpression__Group__2__Impl rule__ConditionalExpression__Group__3 ; + public final void rule__ConditionalExpression__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3760:1: ( rule__ExternDatatypeDefinition__Group__0__Impl rule__ExternDatatypeDefinition__Group__1 ) - // InternalSolverLanguageParser.g:3761:2: rule__ExternDatatypeDefinition__Group__0__Impl rule__ExternDatatypeDefinition__Group__1 + // InternalSolverLanguageParser.g:5227:1: ( rule__ConditionalExpression__Group__2__Impl rule__ConditionalExpression__Group__3 ) + // InternalSolverLanguageParser.g:5228:2: rule__ConditionalExpression__Group__2__Impl rule__ConditionalExpression__Group__3 { - pushFollow(FOLLOW_17); - rule__ExternDatatypeDefinition__Group__0__Impl(); + pushFollow(FOLLOW_12); + rule__ConditionalExpression__Group__2__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__ExternDatatypeDefinition__Group__1(); + rule__ConditionalExpression__Group__3(); state._fsp--; @@ -11878,25 +16344,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ExternDatatypeDefinition__Group__0" + // $ANTLR end "rule__ConditionalExpression__Group__2" - // $ANTLR start "rule__ExternDatatypeDefinition__Group__0__Impl" - // InternalSolverLanguageParser.g:3768:1: rule__ExternDatatypeDefinition__Group__0__Impl : ( Extern ) ; - public final void rule__ExternDatatypeDefinition__Group__0__Impl() throws RecognitionException { + // $ANTLR start "rule__ConditionalExpression__Group__2__Impl" + // InternalSolverLanguageParser.g:5235:1: rule__ConditionalExpression__Group__2__Impl : ( Then ) ; + public final void rule__ConditionalExpression__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3772:1: ( ( Extern ) ) - // InternalSolverLanguageParser.g:3773:1: ( Extern ) + // InternalSolverLanguageParser.g:5239:1: ( ( Then ) ) + // InternalSolverLanguageParser.g:5240:1: ( Then ) { - // InternalSolverLanguageParser.g:3773:1: ( Extern ) - // InternalSolverLanguageParser.g:3774:2: Extern + // InternalSolverLanguageParser.g:5240:1: ( Then ) + // InternalSolverLanguageParser.g:5241:2: Then { - before(grammarAccess.getExternDatatypeDefinitionAccess().getExternKeyword_0()); - match(input,Extern,FOLLOW_2); - after(grammarAccess.getExternDatatypeDefinitionAccess().getExternKeyword_0()); + before(grammarAccess.getConditionalExpressionAccess().getThenKeyword_2()); + match(input,Then,FOLLOW_2); + after(grammarAccess.getConditionalExpressionAccess().getThenKeyword_2()); } @@ -11915,26 +16381,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ExternDatatypeDefinition__Group__0__Impl" + // $ANTLR end "rule__ConditionalExpression__Group__2__Impl" - // $ANTLR start "rule__ExternDatatypeDefinition__Group__1" - // InternalSolverLanguageParser.g:3783:1: rule__ExternDatatypeDefinition__Group__1 : rule__ExternDatatypeDefinition__Group__1__Impl rule__ExternDatatypeDefinition__Group__2 ; - public final void rule__ExternDatatypeDefinition__Group__1() throws RecognitionException { + // $ANTLR start "rule__ConditionalExpression__Group__3" + // InternalSolverLanguageParser.g:5250:1: rule__ConditionalExpression__Group__3 : rule__ConditionalExpression__Group__3__Impl rule__ConditionalExpression__Group__4 ; + public final void rule__ConditionalExpression__Group__3() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3787:1: ( rule__ExternDatatypeDefinition__Group__1__Impl rule__ExternDatatypeDefinition__Group__2 ) - // InternalSolverLanguageParser.g:3788:2: rule__ExternDatatypeDefinition__Group__1__Impl rule__ExternDatatypeDefinition__Group__2 + // InternalSolverLanguageParser.g:5254:1: ( rule__ConditionalExpression__Group__3__Impl rule__ConditionalExpression__Group__4 ) + // InternalSolverLanguageParser.g:5255:2: rule__ConditionalExpression__Group__3__Impl rule__ConditionalExpression__Group__4 { - pushFollow(FOLLOW_9); - rule__ExternDatatypeDefinition__Group__1__Impl(); + pushFollow(FOLLOW_27); + rule__ConditionalExpression__Group__3__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__ExternDatatypeDefinition__Group__2(); + rule__ConditionalExpression__Group__4(); state._fsp--; @@ -11953,25 +16419,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ExternDatatypeDefinition__Group__1" + // $ANTLR end "rule__ConditionalExpression__Group__3" - // $ANTLR start "rule__ExternDatatypeDefinition__Group__1__Impl" - // InternalSolverLanguageParser.g:3795:1: rule__ExternDatatypeDefinition__Group__1__Impl : ( Datatype ) ; - public final void rule__ExternDatatypeDefinition__Group__1__Impl() throws RecognitionException { + // $ANTLR start "rule__ConditionalExpression__Group__3__Impl" + // InternalSolverLanguageParser.g:5262:1: rule__ConditionalExpression__Group__3__Impl : ( ( rule__ConditionalExpression__ThenAssignment_3 ) ) ; + public final void rule__ConditionalExpression__Group__3__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3799:1: ( ( Datatype ) ) - // InternalSolverLanguageParser.g:3800:1: ( Datatype ) + // InternalSolverLanguageParser.g:5266:1: ( ( ( rule__ConditionalExpression__ThenAssignment_3 ) ) ) + // InternalSolverLanguageParser.g:5267:1: ( ( rule__ConditionalExpression__ThenAssignment_3 ) ) { - // InternalSolverLanguageParser.g:3800:1: ( Datatype ) - // InternalSolverLanguageParser.g:3801:2: Datatype + // InternalSolverLanguageParser.g:5267:1: ( ( rule__ConditionalExpression__ThenAssignment_3 ) ) + // InternalSolverLanguageParser.g:5268:2: ( rule__ConditionalExpression__ThenAssignment_3 ) { - before(grammarAccess.getExternDatatypeDefinitionAccess().getDatatypeKeyword_1()); - match(input,Datatype,FOLLOW_2); - after(grammarAccess.getExternDatatypeDefinitionAccess().getDatatypeKeyword_1()); + before(grammarAccess.getConditionalExpressionAccess().getThenAssignment_3()); + // InternalSolverLanguageParser.g:5269:2: ( rule__ConditionalExpression__ThenAssignment_3 ) + // InternalSolverLanguageParser.g:5269:3: rule__ConditionalExpression__ThenAssignment_3 + { + pushFollow(FOLLOW_2); + rule__ConditionalExpression__ThenAssignment_3(); + + state._fsp--; + + + } + + after(grammarAccess.getConditionalExpressionAccess().getThenAssignment_3()); } @@ -11990,26 +16466,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ExternDatatypeDefinition__Group__1__Impl" + // $ANTLR end "rule__ConditionalExpression__Group__3__Impl" - // $ANTLR start "rule__ExternDatatypeDefinition__Group__2" - // InternalSolverLanguageParser.g:3810:1: rule__ExternDatatypeDefinition__Group__2 : rule__ExternDatatypeDefinition__Group__2__Impl rule__ExternDatatypeDefinition__Group__3 ; - public final void rule__ExternDatatypeDefinition__Group__2() throws RecognitionException { + // $ANTLR start "rule__ConditionalExpression__Group__4" + // InternalSolverLanguageParser.g:5277:1: rule__ConditionalExpression__Group__4 : rule__ConditionalExpression__Group__4__Impl rule__ConditionalExpression__Group__5 ; + public final void rule__ConditionalExpression__Group__4() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3814:1: ( rule__ExternDatatypeDefinition__Group__2__Impl rule__ExternDatatypeDefinition__Group__3 ) - // InternalSolverLanguageParser.g:3815:2: rule__ExternDatatypeDefinition__Group__2__Impl rule__ExternDatatypeDefinition__Group__3 + // InternalSolverLanguageParser.g:5281:1: ( rule__ConditionalExpression__Group__4__Impl rule__ConditionalExpression__Group__5 ) + // InternalSolverLanguageParser.g:5282:2: rule__ConditionalExpression__Group__4__Impl rule__ConditionalExpression__Group__5 { - pushFollow(FOLLOW_18); - rule__ExternDatatypeDefinition__Group__2__Impl(); + pushFollow(FOLLOW_12); + rule__ConditionalExpression__Group__4__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__ExternDatatypeDefinition__Group__3(); + rule__ConditionalExpression__Group__5(); state._fsp--; @@ -12028,35 +16504,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ExternDatatypeDefinition__Group__2" + // $ANTLR end "rule__ConditionalExpression__Group__4" - // $ANTLR start "rule__ExternDatatypeDefinition__Group__2__Impl" - // InternalSolverLanguageParser.g:3822:1: rule__ExternDatatypeDefinition__Group__2__Impl : ( ( rule__ExternDatatypeDefinition__NameAssignment_2 ) ) ; - public final void rule__ExternDatatypeDefinition__Group__2__Impl() throws RecognitionException { + // $ANTLR start "rule__ConditionalExpression__Group__4__Impl" + // InternalSolverLanguageParser.g:5289:1: rule__ConditionalExpression__Group__4__Impl : ( Else ) ; + public final void rule__ConditionalExpression__Group__4__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3826:1: ( ( ( rule__ExternDatatypeDefinition__NameAssignment_2 ) ) ) - // InternalSolverLanguageParser.g:3827:1: ( ( rule__ExternDatatypeDefinition__NameAssignment_2 ) ) - { - // InternalSolverLanguageParser.g:3827:1: ( ( rule__ExternDatatypeDefinition__NameAssignment_2 ) ) - // InternalSolverLanguageParser.g:3828:2: ( rule__ExternDatatypeDefinition__NameAssignment_2 ) + // InternalSolverLanguageParser.g:5293:1: ( ( Else ) ) + // InternalSolverLanguageParser.g:5294:1: ( Else ) { - before(grammarAccess.getExternDatatypeDefinitionAccess().getNameAssignment_2()); - // InternalSolverLanguageParser.g:3829:2: ( rule__ExternDatatypeDefinition__NameAssignment_2 ) - // InternalSolverLanguageParser.g:3829:3: rule__ExternDatatypeDefinition__NameAssignment_2 + // InternalSolverLanguageParser.g:5294:1: ( Else ) + // InternalSolverLanguageParser.g:5295:2: Else { - pushFollow(FOLLOW_2); - rule__ExternDatatypeDefinition__NameAssignment_2(); - - state._fsp--; - - - } - - after(grammarAccess.getExternDatatypeDefinitionAccess().getNameAssignment_2()); + before(grammarAccess.getConditionalExpressionAccess().getElseKeyword_4()); + match(input,Else,FOLLOW_2); + after(grammarAccess.getConditionalExpressionAccess().getElseKeyword_4()); } @@ -12075,21 +16541,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ExternDatatypeDefinition__Group__2__Impl" + // $ANTLR end "rule__ConditionalExpression__Group__4__Impl" - // $ANTLR start "rule__ExternDatatypeDefinition__Group__3" - // InternalSolverLanguageParser.g:3837:1: rule__ExternDatatypeDefinition__Group__3 : rule__ExternDatatypeDefinition__Group__3__Impl ; - public final void rule__ExternDatatypeDefinition__Group__3() throws RecognitionException { + // $ANTLR start "rule__ConditionalExpression__Group__5" + // InternalSolverLanguageParser.g:5304:1: rule__ConditionalExpression__Group__5 : rule__ConditionalExpression__Group__5__Impl ; + public final void rule__ConditionalExpression__Group__5() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3841:1: ( rule__ExternDatatypeDefinition__Group__3__Impl ) - // InternalSolverLanguageParser.g:3842:2: rule__ExternDatatypeDefinition__Group__3__Impl + // InternalSolverLanguageParser.g:5308:1: ( rule__ConditionalExpression__Group__5__Impl ) + // InternalSolverLanguageParser.g:5309:2: rule__ConditionalExpression__Group__5__Impl { pushFollow(FOLLOW_2); - rule__ExternDatatypeDefinition__Group__3__Impl(); + rule__ConditionalExpression__Group__5__Impl(); state._fsp--; @@ -12108,35 +16574,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ExternDatatypeDefinition__Group__3" + // $ANTLR end "rule__ConditionalExpression__Group__5" - // $ANTLR start "rule__ExternDatatypeDefinition__Group__3__Impl" - // InternalSolverLanguageParser.g:3848:1: rule__ExternDatatypeDefinition__Group__3__Impl : ( ( rule__ExternDatatypeDefinition__Group_3__0 ) ) ; - public final void rule__ExternDatatypeDefinition__Group__3__Impl() throws RecognitionException { + // $ANTLR start "rule__ConditionalExpression__Group__5__Impl" + // InternalSolverLanguageParser.g:5315:1: rule__ConditionalExpression__Group__5__Impl : ( ( rule__ConditionalExpression__ElseAssignment_5 ) ) ; + public final void rule__ConditionalExpression__Group__5__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3852:1: ( ( ( rule__ExternDatatypeDefinition__Group_3__0 ) ) ) - // InternalSolverLanguageParser.g:3853:1: ( ( rule__ExternDatatypeDefinition__Group_3__0 ) ) + // InternalSolverLanguageParser.g:5319:1: ( ( ( rule__ConditionalExpression__ElseAssignment_5 ) ) ) + // InternalSolverLanguageParser.g:5320:1: ( ( rule__ConditionalExpression__ElseAssignment_5 ) ) { - // InternalSolverLanguageParser.g:3853:1: ( ( rule__ExternDatatypeDefinition__Group_3__0 ) ) - // InternalSolverLanguageParser.g:3854:2: ( rule__ExternDatatypeDefinition__Group_3__0 ) + // InternalSolverLanguageParser.g:5320:1: ( ( rule__ConditionalExpression__ElseAssignment_5 ) ) + // InternalSolverLanguageParser.g:5321:2: ( rule__ConditionalExpression__ElseAssignment_5 ) { - before(grammarAccess.getExternDatatypeDefinitionAccess().getGroup_3()); - // InternalSolverLanguageParser.g:3855:2: ( rule__ExternDatatypeDefinition__Group_3__0 ) - // InternalSolverLanguageParser.g:3855:3: rule__ExternDatatypeDefinition__Group_3__0 + before(grammarAccess.getConditionalExpressionAccess().getElseAssignment_5()); + // InternalSolverLanguageParser.g:5322:2: ( rule__ConditionalExpression__ElseAssignment_5 ) + // InternalSolverLanguageParser.g:5322:3: rule__ConditionalExpression__ElseAssignment_5 { pushFollow(FOLLOW_2); - rule__ExternDatatypeDefinition__Group_3__0(); + rule__ConditionalExpression__ElseAssignment_5(); state._fsp--; } - after(grammarAccess.getExternDatatypeDefinitionAccess().getGroup_3()); + after(grammarAccess.getConditionalExpressionAccess().getElseAssignment_5()); } @@ -12155,26 +16621,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ExternDatatypeDefinition__Group__3__Impl" + // $ANTLR end "rule__ConditionalExpression__Group__5__Impl" - // $ANTLR start "rule__ExternDatatypeDefinition__Group_3__0" - // InternalSolverLanguageParser.g:3864:1: rule__ExternDatatypeDefinition__Group_3__0 : rule__ExternDatatypeDefinition__Group_3__0__Impl rule__ExternDatatypeDefinition__Group_3__1 ; - public final void rule__ExternDatatypeDefinition__Group_3__0() throws RecognitionException { + // $ANTLR start "rule__LetExpression__Group__0" + // InternalSolverLanguageParser.g:5331:1: rule__LetExpression__Group__0 : rule__LetExpression__Group__0__Impl rule__LetExpression__Group__1 ; + public final void rule__LetExpression__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3868:1: ( rule__ExternDatatypeDefinition__Group_3__0__Impl rule__ExternDatatypeDefinition__Group_3__1 ) - // InternalSolverLanguageParser.g:3869:2: rule__ExternDatatypeDefinition__Group_3__0__Impl rule__ExternDatatypeDefinition__Group_3__1 + // InternalSolverLanguageParser.g:5335:1: ( rule__LetExpression__Group__0__Impl rule__LetExpression__Group__1 ) + // InternalSolverLanguageParser.g:5336:2: rule__LetExpression__Group__0__Impl rule__LetExpression__Group__1 { - pushFollow(FOLLOW_9); - rule__ExternDatatypeDefinition__Group_3__0__Impl(); + pushFollow(FOLLOW_6); + rule__LetExpression__Group__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__ExternDatatypeDefinition__Group_3__1(); + rule__LetExpression__Group__1(); state._fsp--; @@ -12193,25 +16659,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ExternDatatypeDefinition__Group_3__0" + // $ANTLR end "rule__LetExpression__Group__0" - // $ANTLR start "rule__ExternDatatypeDefinition__Group_3__0__Impl" - // InternalSolverLanguageParser.g:3876:1: rule__ExternDatatypeDefinition__Group_3__0__Impl : ( Extends ) ; - public final void rule__ExternDatatypeDefinition__Group_3__0__Impl() throws RecognitionException { + // $ANTLR start "rule__LetExpression__Group__0__Impl" + // InternalSolverLanguageParser.g:5343:1: rule__LetExpression__Group__0__Impl : ( Let ) ; + public final void rule__LetExpression__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3880:1: ( ( Extends ) ) - // InternalSolverLanguageParser.g:3881:1: ( Extends ) + // InternalSolverLanguageParser.g:5347:1: ( ( Let ) ) + // InternalSolverLanguageParser.g:5348:1: ( Let ) { - // InternalSolverLanguageParser.g:3881:1: ( Extends ) - // InternalSolverLanguageParser.g:3882:2: Extends + // InternalSolverLanguageParser.g:5348:1: ( Let ) + // InternalSolverLanguageParser.g:5349:2: Let { - before(grammarAccess.getExternDatatypeDefinitionAccess().getExtendsKeyword_3_0()); - match(input,Extends,FOLLOW_2); - after(grammarAccess.getExternDatatypeDefinitionAccess().getExtendsKeyword_3_0()); + before(grammarAccess.getLetExpressionAccess().getLetKeyword_0()); + match(input,Let,FOLLOW_2); + after(grammarAccess.getLetExpressionAccess().getLetKeyword_0()); } @@ -12230,26 +16696,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ExternDatatypeDefinition__Group_3__0__Impl" + // $ANTLR end "rule__LetExpression__Group__0__Impl" - // $ANTLR start "rule__ExternDatatypeDefinition__Group_3__1" - // InternalSolverLanguageParser.g:3891:1: rule__ExternDatatypeDefinition__Group_3__1 : rule__ExternDatatypeDefinition__Group_3__1__Impl rule__ExternDatatypeDefinition__Group_3__2 ; - public final void rule__ExternDatatypeDefinition__Group_3__1() throws RecognitionException { + // $ANTLR start "rule__LetExpression__Group__1" + // InternalSolverLanguageParser.g:5358:1: rule__LetExpression__Group__1 : rule__LetExpression__Group__1__Impl rule__LetExpression__Group__2 ; + public final void rule__LetExpression__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3895:1: ( rule__ExternDatatypeDefinition__Group_3__1__Impl rule__ExternDatatypeDefinition__Group_3__2 ) - // InternalSolverLanguageParser.g:3896:2: rule__ExternDatatypeDefinition__Group_3__1__Impl rule__ExternDatatypeDefinition__Group_3__2 + // InternalSolverLanguageParser.g:5362:1: ( rule__LetExpression__Group__1__Impl rule__LetExpression__Group__2 ) + // InternalSolverLanguageParser.g:5363:2: rule__LetExpression__Group__1__Impl rule__LetExpression__Group__2 { - pushFollow(FOLLOW_19); - rule__ExternDatatypeDefinition__Group_3__1__Impl(); + pushFollow(FOLLOW_28); + rule__LetExpression__Group__1__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__ExternDatatypeDefinition__Group_3__2(); + rule__LetExpression__Group__2(); state._fsp--; @@ -12268,35 +16734,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ExternDatatypeDefinition__Group_3__1" + // $ANTLR end "rule__LetExpression__Group__1" - // $ANTLR start "rule__ExternDatatypeDefinition__Group_3__1__Impl" - // InternalSolverLanguageParser.g:3903:1: rule__ExternDatatypeDefinition__Group_3__1__Impl : ( ( rule__ExternDatatypeDefinition__SupertypesAssignment_3_1 ) ) ; - public final void rule__ExternDatatypeDefinition__Group_3__1__Impl() throws RecognitionException { + // $ANTLR start "rule__LetExpression__Group__1__Impl" + // InternalSolverLanguageParser.g:5370:1: rule__LetExpression__Group__1__Impl : ( ( rule__LetExpression__BindingsAssignment_1 ) ) ; + public final void rule__LetExpression__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3907:1: ( ( ( rule__ExternDatatypeDefinition__SupertypesAssignment_3_1 ) ) ) - // InternalSolverLanguageParser.g:3908:1: ( ( rule__ExternDatatypeDefinition__SupertypesAssignment_3_1 ) ) + // InternalSolverLanguageParser.g:5374:1: ( ( ( rule__LetExpression__BindingsAssignment_1 ) ) ) + // InternalSolverLanguageParser.g:5375:1: ( ( rule__LetExpression__BindingsAssignment_1 ) ) { - // InternalSolverLanguageParser.g:3908:1: ( ( rule__ExternDatatypeDefinition__SupertypesAssignment_3_1 ) ) - // InternalSolverLanguageParser.g:3909:2: ( rule__ExternDatatypeDefinition__SupertypesAssignment_3_1 ) + // InternalSolverLanguageParser.g:5375:1: ( ( rule__LetExpression__BindingsAssignment_1 ) ) + // InternalSolverLanguageParser.g:5376:2: ( rule__LetExpression__BindingsAssignment_1 ) { - before(grammarAccess.getExternDatatypeDefinitionAccess().getSupertypesAssignment_3_1()); - // InternalSolverLanguageParser.g:3910:2: ( rule__ExternDatatypeDefinition__SupertypesAssignment_3_1 ) - // InternalSolverLanguageParser.g:3910:3: rule__ExternDatatypeDefinition__SupertypesAssignment_3_1 + before(grammarAccess.getLetExpressionAccess().getBindingsAssignment_1()); + // InternalSolverLanguageParser.g:5377:2: ( rule__LetExpression__BindingsAssignment_1 ) + // InternalSolverLanguageParser.g:5377:3: rule__LetExpression__BindingsAssignment_1 { pushFollow(FOLLOW_2); - rule__ExternDatatypeDefinition__SupertypesAssignment_3_1(); + rule__LetExpression__BindingsAssignment_1(); state._fsp--; } - after(grammarAccess.getExternDatatypeDefinitionAccess().getSupertypesAssignment_3_1()); + after(grammarAccess.getLetExpressionAccess().getBindingsAssignment_1()); } @@ -12315,21 +16781,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ExternDatatypeDefinition__Group_3__1__Impl" + // $ANTLR end "rule__LetExpression__Group__1__Impl" - // $ANTLR start "rule__ExternDatatypeDefinition__Group_3__2" - // InternalSolverLanguageParser.g:3918:1: rule__ExternDatatypeDefinition__Group_3__2 : rule__ExternDatatypeDefinition__Group_3__2__Impl ; - public final void rule__ExternDatatypeDefinition__Group_3__2() throws RecognitionException { + // $ANTLR start "rule__LetExpression__Group__2" + // InternalSolverLanguageParser.g:5385:1: rule__LetExpression__Group__2 : rule__LetExpression__Group__2__Impl rule__LetExpression__Group__3 ; + public final void rule__LetExpression__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3922:1: ( rule__ExternDatatypeDefinition__Group_3__2__Impl ) - // InternalSolverLanguageParser.g:3923:2: rule__ExternDatatypeDefinition__Group_3__2__Impl + // InternalSolverLanguageParser.g:5389:1: ( rule__LetExpression__Group__2__Impl rule__LetExpression__Group__3 ) + // InternalSolverLanguageParser.g:5390:2: rule__LetExpression__Group__2__Impl rule__LetExpression__Group__3 { + pushFollow(FOLLOW_28); + rule__LetExpression__Group__2__Impl(); + + state._fsp--; + pushFollow(FOLLOW_2); - rule__ExternDatatypeDefinition__Group_3__2__Impl(); + rule__LetExpression__Group__3(); state._fsp--; @@ -12348,40 +16819,40 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ExternDatatypeDefinition__Group_3__2" + // $ANTLR end "rule__LetExpression__Group__2" - // $ANTLR start "rule__ExternDatatypeDefinition__Group_3__2__Impl" - // InternalSolverLanguageParser.g:3929:1: rule__ExternDatatypeDefinition__Group_3__2__Impl : ( ( rule__ExternDatatypeDefinition__Group_3_2__0 )* ) ; - public final void rule__ExternDatatypeDefinition__Group_3__2__Impl() throws RecognitionException { + // $ANTLR start "rule__LetExpression__Group__2__Impl" + // InternalSolverLanguageParser.g:5397:1: rule__LetExpression__Group__2__Impl : ( ( rule__LetExpression__Group_2__0 )* ) ; + public final void rule__LetExpression__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3933:1: ( ( ( rule__ExternDatatypeDefinition__Group_3_2__0 )* ) ) - // InternalSolverLanguageParser.g:3934:1: ( ( rule__ExternDatatypeDefinition__Group_3_2__0 )* ) + // InternalSolverLanguageParser.g:5401:1: ( ( ( rule__LetExpression__Group_2__0 )* ) ) + // InternalSolverLanguageParser.g:5402:1: ( ( rule__LetExpression__Group_2__0 )* ) { - // InternalSolverLanguageParser.g:3934:1: ( ( rule__ExternDatatypeDefinition__Group_3_2__0 )* ) - // InternalSolverLanguageParser.g:3935:2: ( rule__ExternDatatypeDefinition__Group_3_2__0 )* + // InternalSolverLanguageParser.g:5402:1: ( ( rule__LetExpression__Group_2__0 )* ) + // InternalSolverLanguageParser.g:5403:2: ( rule__LetExpression__Group_2__0 )* { - before(grammarAccess.getExternDatatypeDefinitionAccess().getGroup_3_2()); - // InternalSolverLanguageParser.g:3936:2: ( rule__ExternDatatypeDefinition__Group_3_2__0 )* - loop29: + before(grammarAccess.getLetExpressionAccess().getGroup_2()); + // InternalSolverLanguageParser.g:5404:2: ( rule__LetExpression__Group_2__0 )* + loop39: do { - int alt29=2; - int LA29_0 = input.LA(1); + int alt39=2; + int LA39_0 = input.LA(1); - if ( (LA29_0==Comma) ) { - alt29=1; + if ( (LA39_0==Comma) ) { + alt39=1; } - switch (alt29) { + switch (alt39) { case 1 : - // InternalSolverLanguageParser.g:3936:3: rule__ExternDatatypeDefinition__Group_3_2__0 + // InternalSolverLanguageParser.g:5404:3: rule__LetExpression__Group_2__0 { - pushFollow(FOLLOW_20); - rule__ExternDatatypeDefinition__Group_3_2__0(); + pushFollow(FOLLOW_29); + rule__LetExpression__Group_2__0(); state._fsp--; @@ -12390,11 +16861,11 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP break; default : - break loop29; + break loop39; } } while (true); - after(grammarAccess.getExternDatatypeDefinitionAccess().getGroup_3_2()); + after(grammarAccess.getLetExpressionAccess().getGroup_2()); } @@ -12413,26 +16884,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ExternDatatypeDefinition__Group_3__2__Impl" + // $ANTLR end "rule__LetExpression__Group__2__Impl" - // $ANTLR start "rule__ExternDatatypeDefinition__Group_3_2__0" - // InternalSolverLanguageParser.g:3945:1: rule__ExternDatatypeDefinition__Group_3_2__0 : rule__ExternDatatypeDefinition__Group_3_2__0__Impl rule__ExternDatatypeDefinition__Group_3_2__1 ; - public final void rule__ExternDatatypeDefinition__Group_3_2__0() throws RecognitionException { + // $ANTLR start "rule__LetExpression__Group__3" + // InternalSolverLanguageParser.g:5412:1: rule__LetExpression__Group__3 : rule__LetExpression__Group__3__Impl rule__LetExpression__Group__4 ; + public final void rule__LetExpression__Group__3() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3949:1: ( rule__ExternDatatypeDefinition__Group_3_2__0__Impl rule__ExternDatatypeDefinition__Group_3_2__1 ) - // InternalSolverLanguageParser.g:3950:2: rule__ExternDatatypeDefinition__Group_3_2__0__Impl rule__ExternDatatypeDefinition__Group_3_2__1 + // InternalSolverLanguageParser.g:5416:1: ( rule__LetExpression__Group__3__Impl rule__LetExpression__Group__4 ) + // InternalSolverLanguageParser.g:5417:2: rule__LetExpression__Group__3__Impl rule__LetExpression__Group__4 { - pushFollow(FOLLOW_9); - rule__ExternDatatypeDefinition__Group_3_2__0__Impl(); + pushFollow(FOLLOW_12); + rule__LetExpression__Group__3__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__ExternDatatypeDefinition__Group_3_2__1(); + rule__LetExpression__Group__4(); state._fsp--; @@ -12451,25 +16922,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ExternDatatypeDefinition__Group_3_2__0" + // $ANTLR end "rule__LetExpression__Group__3" - // $ANTLR start "rule__ExternDatatypeDefinition__Group_3_2__0__Impl" - // InternalSolverLanguageParser.g:3957:1: rule__ExternDatatypeDefinition__Group_3_2__0__Impl : ( Comma ) ; - public final void rule__ExternDatatypeDefinition__Group_3_2__0__Impl() throws RecognitionException { + // $ANTLR start "rule__LetExpression__Group__3__Impl" + // InternalSolverLanguageParser.g:5424:1: rule__LetExpression__Group__3__Impl : ( In ) ; + public final void rule__LetExpression__Group__3__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3961:1: ( ( Comma ) ) - // InternalSolverLanguageParser.g:3962:1: ( Comma ) + // InternalSolverLanguageParser.g:5428:1: ( ( In ) ) + // InternalSolverLanguageParser.g:5429:1: ( In ) { - // InternalSolverLanguageParser.g:3962:1: ( Comma ) - // InternalSolverLanguageParser.g:3963:2: Comma + // InternalSolverLanguageParser.g:5429:1: ( In ) + // InternalSolverLanguageParser.g:5430:2: In { - before(grammarAccess.getExternDatatypeDefinitionAccess().getCommaKeyword_3_2_0()); - match(input,Comma,FOLLOW_2); - after(grammarAccess.getExternDatatypeDefinitionAccess().getCommaKeyword_3_2_0()); + before(grammarAccess.getLetExpressionAccess().getInKeyword_3()); + match(input,In,FOLLOW_2); + after(grammarAccess.getLetExpressionAccess().getInKeyword_3()); } @@ -12488,21 +16959,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ExternDatatypeDefinition__Group_3_2__0__Impl" + // $ANTLR end "rule__LetExpression__Group__3__Impl" - // $ANTLR start "rule__ExternDatatypeDefinition__Group_3_2__1" - // InternalSolverLanguageParser.g:3972:1: rule__ExternDatatypeDefinition__Group_3_2__1 : rule__ExternDatatypeDefinition__Group_3_2__1__Impl ; - public final void rule__ExternDatatypeDefinition__Group_3_2__1() throws RecognitionException { + // $ANTLR start "rule__LetExpression__Group__4" + // InternalSolverLanguageParser.g:5439:1: rule__LetExpression__Group__4 : rule__LetExpression__Group__4__Impl ; + public final void rule__LetExpression__Group__4() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3976:1: ( rule__ExternDatatypeDefinition__Group_3_2__1__Impl ) - // InternalSolverLanguageParser.g:3977:2: rule__ExternDatatypeDefinition__Group_3_2__1__Impl + // InternalSolverLanguageParser.g:5443:1: ( rule__LetExpression__Group__4__Impl ) + // InternalSolverLanguageParser.g:5444:2: rule__LetExpression__Group__4__Impl { pushFollow(FOLLOW_2); - rule__ExternDatatypeDefinition__Group_3_2__1__Impl(); + rule__LetExpression__Group__4__Impl(); state._fsp--; @@ -12521,35 +16992,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ExternDatatypeDefinition__Group_3_2__1" + // $ANTLR end "rule__LetExpression__Group__4" - // $ANTLR start "rule__ExternDatatypeDefinition__Group_3_2__1__Impl" - // InternalSolverLanguageParser.g:3983:1: rule__ExternDatatypeDefinition__Group_3_2__1__Impl : ( ( rule__ExternDatatypeDefinition__SupertypesAssignment_3_2_1 ) ) ; - public final void rule__ExternDatatypeDefinition__Group_3_2__1__Impl() throws RecognitionException { + // $ANTLR start "rule__LetExpression__Group__4__Impl" + // InternalSolverLanguageParser.g:5450:1: rule__LetExpression__Group__4__Impl : ( ( rule__LetExpression__BodyAssignment_4 ) ) ; + public final void rule__LetExpression__Group__4__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:3987:1: ( ( ( rule__ExternDatatypeDefinition__SupertypesAssignment_3_2_1 ) ) ) - // InternalSolverLanguageParser.g:3988:1: ( ( rule__ExternDatatypeDefinition__SupertypesAssignment_3_2_1 ) ) + // InternalSolverLanguageParser.g:5454:1: ( ( ( rule__LetExpression__BodyAssignment_4 ) ) ) + // InternalSolverLanguageParser.g:5455:1: ( ( rule__LetExpression__BodyAssignment_4 ) ) { - // InternalSolverLanguageParser.g:3988:1: ( ( rule__ExternDatatypeDefinition__SupertypesAssignment_3_2_1 ) ) - // InternalSolverLanguageParser.g:3989:2: ( rule__ExternDatatypeDefinition__SupertypesAssignment_3_2_1 ) + // InternalSolverLanguageParser.g:5455:1: ( ( rule__LetExpression__BodyAssignment_4 ) ) + // InternalSolverLanguageParser.g:5456:2: ( rule__LetExpression__BodyAssignment_4 ) { - before(grammarAccess.getExternDatatypeDefinitionAccess().getSupertypesAssignment_3_2_1()); - // InternalSolverLanguageParser.g:3990:2: ( rule__ExternDatatypeDefinition__SupertypesAssignment_3_2_1 ) - // InternalSolverLanguageParser.g:3990:3: rule__ExternDatatypeDefinition__SupertypesAssignment_3_2_1 + before(grammarAccess.getLetExpressionAccess().getBodyAssignment_4()); + // InternalSolverLanguageParser.g:5457:2: ( rule__LetExpression__BodyAssignment_4 ) + // InternalSolverLanguageParser.g:5457:3: rule__LetExpression__BodyAssignment_4 { pushFollow(FOLLOW_2); - rule__ExternDatatypeDefinition__SupertypesAssignment_3_2_1(); + rule__LetExpression__BodyAssignment_4(); state._fsp--; } - after(grammarAccess.getExternDatatypeDefinitionAccess().getSupertypesAssignment_3_2_1()); + after(grammarAccess.getLetExpressionAccess().getBodyAssignment_4()); } @@ -12568,26 +17039,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ExternDatatypeDefinition__Group_3_2__1__Impl" + // $ANTLR end "rule__LetExpression__Group__4__Impl" - // $ANTLR start "rule__Variable__Group__0" - // InternalSolverLanguageParser.g:3999:1: rule__Variable__Group__0 : rule__Variable__Group__0__Impl rule__Variable__Group__1 ; - public final void rule__Variable__Group__0() throws RecognitionException { + // $ANTLR start "rule__LetExpression__Group_2__0" + // InternalSolverLanguageParser.g:5466:1: rule__LetExpression__Group_2__0 : rule__LetExpression__Group_2__0__Impl rule__LetExpression__Group_2__1 ; + public final void rule__LetExpression__Group_2__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:4003:1: ( rule__Variable__Group__0__Impl rule__Variable__Group__1 ) - // InternalSolverLanguageParser.g:4004:2: rule__Variable__Group__0__Impl rule__Variable__Group__1 + // InternalSolverLanguageParser.g:5470:1: ( rule__LetExpression__Group_2__0__Impl rule__LetExpression__Group_2__1 ) + // InternalSolverLanguageParser.g:5471:2: rule__LetExpression__Group_2__0__Impl rule__LetExpression__Group_2__1 { - pushFollow(FOLLOW_21); - rule__Variable__Group__0__Impl(); + pushFollow(FOLLOW_6); + rule__LetExpression__Group_2__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__Variable__Group__1(); + rule__LetExpression__Group_2__1(); state._fsp--; @@ -12606,53 +17077,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Variable__Group__0" + // $ANTLR end "rule__LetExpression__Group_2__0" - // $ANTLR start "rule__Variable__Group__0__Impl" - // InternalSolverLanguageParser.g:4011:1: rule__Variable__Group__0__Impl : ( ( rule__Variable__TypeAssignment_0 )? ) ; - public final void rule__Variable__Group__0__Impl() throws RecognitionException { + // $ANTLR start "rule__LetExpression__Group_2__0__Impl" + // InternalSolverLanguageParser.g:5478:1: rule__LetExpression__Group_2__0__Impl : ( Comma ) ; + public final void rule__LetExpression__Group_2__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:4015:1: ( ( ( rule__Variable__TypeAssignment_0 )? ) ) - // InternalSolverLanguageParser.g:4016:1: ( ( rule__Variable__TypeAssignment_0 )? ) + // InternalSolverLanguageParser.g:5482:1: ( ( Comma ) ) + // InternalSolverLanguageParser.g:5483:1: ( Comma ) { - // InternalSolverLanguageParser.g:4016:1: ( ( rule__Variable__TypeAssignment_0 )? ) - // InternalSolverLanguageParser.g:4017:2: ( rule__Variable__TypeAssignment_0 )? + // InternalSolverLanguageParser.g:5483:1: ( Comma ) + // InternalSolverLanguageParser.g:5484:2: Comma { - before(grammarAccess.getVariableAccess().getTypeAssignment_0()); - // InternalSolverLanguageParser.g:4018:2: ( rule__Variable__TypeAssignment_0 )? - int alt30=2; - int LA30_0 = input.LA(1); - - if ( (LA30_0==RULE_ID) ) { - int LA30_1 = input.LA(2); - - if ( (LA30_1==FullStop||LA30_1==RULE_ID) ) { - alt30=1; - } - } - else if ( (LA30_0==RULE_QUOTED_ID) ) { - alt30=1; - } - switch (alt30) { - case 1 : - // InternalSolverLanguageParser.g:4018:3: rule__Variable__TypeAssignment_0 - { - pushFollow(FOLLOW_2); - rule__Variable__TypeAssignment_0(); - - state._fsp--; - - - } - break; - - } - - after(grammarAccess.getVariableAccess().getTypeAssignment_0()); + before(grammarAccess.getLetExpressionAccess().getCommaKeyword_2_0()); + match(input,Comma,FOLLOW_2); + after(grammarAccess.getLetExpressionAccess().getCommaKeyword_2_0()); } @@ -12671,21 +17114,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Variable__Group__0__Impl" + // $ANTLR end "rule__LetExpression__Group_2__0__Impl" - // $ANTLR start "rule__Variable__Group__1" - // InternalSolverLanguageParser.g:4026:1: rule__Variable__Group__1 : rule__Variable__Group__1__Impl ; - public final void rule__Variable__Group__1() throws RecognitionException { + // $ANTLR start "rule__LetExpression__Group_2__1" + // InternalSolverLanguageParser.g:5493:1: rule__LetExpression__Group_2__1 : rule__LetExpression__Group_2__1__Impl ; + public final void rule__LetExpression__Group_2__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:4030:1: ( rule__Variable__Group__1__Impl ) - // InternalSolverLanguageParser.g:4031:2: rule__Variable__Group__1__Impl + // InternalSolverLanguageParser.g:5497:1: ( rule__LetExpression__Group_2__1__Impl ) + // InternalSolverLanguageParser.g:5498:2: rule__LetExpression__Group_2__1__Impl { pushFollow(FOLLOW_2); - rule__Variable__Group__1__Impl(); + rule__LetExpression__Group_2__1__Impl(); state._fsp--; @@ -12704,35 +17147,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Variable__Group__1" + // $ANTLR end "rule__LetExpression__Group_2__1" - // $ANTLR start "rule__Variable__Group__1__Impl" - // InternalSolverLanguageParser.g:4037:1: rule__Variable__Group__1__Impl : ( ( rule__Variable__NameAssignment_1 ) ) ; - public final void rule__Variable__Group__1__Impl() throws RecognitionException { + // $ANTLR start "rule__LetExpression__Group_2__1__Impl" + // InternalSolverLanguageParser.g:5504:1: rule__LetExpression__Group_2__1__Impl : ( ( rule__LetExpression__BindingsAssignment_2_1 ) ) ; + public final void rule__LetExpression__Group_2__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:4041:1: ( ( ( rule__Variable__NameAssignment_1 ) ) ) - // InternalSolverLanguageParser.g:4042:1: ( ( rule__Variable__NameAssignment_1 ) ) + // InternalSolverLanguageParser.g:5508:1: ( ( ( rule__LetExpression__BindingsAssignment_2_1 ) ) ) + // InternalSolverLanguageParser.g:5509:1: ( ( rule__LetExpression__BindingsAssignment_2_1 ) ) { - // InternalSolverLanguageParser.g:4042:1: ( ( rule__Variable__NameAssignment_1 ) ) - // InternalSolverLanguageParser.g:4043:2: ( rule__Variable__NameAssignment_1 ) + // InternalSolverLanguageParser.g:5509:1: ( ( rule__LetExpression__BindingsAssignment_2_1 ) ) + // InternalSolverLanguageParser.g:5510:2: ( rule__LetExpression__BindingsAssignment_2_1 ) { - before(grammarAccess.getVariableAccess().getNameAssignment_1()); - // InternalSolverLanguageParser.g:4044:2: ( rule__Variable__NameAssignment_1 ) - // InternalSolverLanguageParser.g:4044:3: rule__Variable__NameAssignment_1 + before(grammarAccess.getLetExpressionAccess().getBindingsAssignment_2_1()); + // InternalSolverLanguageParser.g:5511:2: ( rule__LetExpression__BindingsAssignment_2_1 ) + // InternalSolverLanguageParser.g:5511:3: rule__LetExpression__BindingsAssignment_2_1 { pushFollow(FOLLOW_2); - rule__Variable__NameAssignment_1(); + rule__LetExpression__BindingsAssignment_2_1(); state._fsp--; } - after(grammarAccess.getVariableAccess().getNameAssignment_1()); + after(grammarAccess.getLetExpressionAccess().getBindingsAssignment_2_1()); } @@ -12751,26 +17194,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Variable__Group__1__Impl" + // $ANTLR end "rule__LetExpression__Group_2__1__Impl" - // $ANTLR start "rule__IfElse__Group__0" - // InternalSolverLanguageParser.g:4053:1: rule__IfElse__Group__0 : rule__IfElse__Group__0__Impl rule__IfElse__Group__1 ; - public final void rule__IfElse__Group__0() throws RecognitionException { + // $ANTLR start "rule__LetBinding__Group__0" + // InternalSolverLanguageParser.g:5520:1: rule__LetBinding__Group__0 : rule__LetBinding__Group__0__Impl rule__LetBinding__Group__1 ; + public final void rule__LetBinding__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:4057:1: ( rule__IfElse__Group__0__Impl rule__IfElse__Group__1 ) - // InternalSolverLanguageParser.g:4058:2: rule__IfElse__Group__0__Impl rule__IfElse__Group__1 + // InternalSolverLanguageParser.g:5524:1: ( rule__LetBinding__Group__0__Impl rule__LetBinding__Group__1 ) + // InternalSolverLanguageParser.g:5525:2: rule__LetBinding__Group__0__Impl rule__LetBinding__Group__1 { - pushFollow(FOLLOW_7); - rule__IfElse__Group__0__Impl(); + pushFollow(FOLLOW_6); + rule__LetBinding__Group__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__IfElse__Group__1(); + rule__LetBinding__Group__1(); state._fsp--; @@ -12789,25 +17232,53 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__IfElse__Group__0" + // $ANTLR end "rule__LetBinding__Group__0" - // $ANTLR start "rule__IfElse__Group__0__Impl" - // InternalSolverLanguageParser.g:4065:1: rule__IfElse__Group__0__Impl : ( If ) ; - public final void rule__IfElse__Group__0__Impl() throws RecognitionException { + // $ANTLR start "rule__LetBinding__Group__0__Impl" + // InternalSolverLanguageParser.g:5532:1: rule__LetBinding__Group__0__Impl : ( ( rule__LetBinding__TypeAssignment_0 )? ) ; + public final void rule__LetBinding__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:4069:1: ( ( If ) ) - // InternalSolverLanguageParser.g:4070:1: ( If ) + // InternalSolverLanguageParser.g:5536:1: ( ( ( rule__LetBinding__TypeAssignment_0 )? ) ) + // InternalSolverLanguageParser.g:5537:1: ( ( rule__LetBinding__TypeAssignment_0 )? ) { - // InternalSolverLanguageParser.g:4070:1: ( If ) - // InternalSolverLanguageParser.g:4071:2: If + // InternalSolverLanguageParser.g:5537:1: ( ( rule__LetBinding__TypeAssignment_0 )? ) + // InternalSolverLanguageParser.g:5538:2: ( rule__LetBinding__TypeAssignment_0 )? { - before(grammarAccess.getIfElseAccess().getIfKeyword_0()); - match(input,If,FOLLOW_2); - after(grammarAccess.getIfElseAccess().getIfKeyword_0()); + before(grammarAccess.getLetBindingAccess().getTypeAssignment_0()); + // InternalSolverLanguageParser.g:5539:2: ( rule__LetBinding__TypeAssignment_0 )? + int alt40=2; + int LA40_0 = input.LA(1); + + if ( (LA40_0==RULE_ID) ) { + int LA40_1 = input.LA(2); + + if ( (LA40_1==ColonColon||LA40_1==RULE_ID) ) { + alt40=1; + } + } + else if ( (LA40_0==Object||LA40_0==RULE_QUOTED_ID) ) { + alt40=1; + } + switch (alt40) { + case 1 : + // InternalSolverLanguageParser.g:5539:3: rule__LetBinding__TypeAssignment_0 + { + pushFollow(FOLLOW_2); + rule__LetBinding__TypeAssignment_0(); + + state._fsp--; + + + } + break; + + } + + after(grammarAccess.getLetBindingAccess().getTypeAssignment_0()); } @@ -12826,26 +17297,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__IfElse__Group__0__Impl" + // $ANTLR end "rule__LetBinding__Group__0__Impl" - // $ANTLR start "rule__IfElse__Group__1" - // InternalSolverLanguageParser.g:4080:1: rule__IfElse__Group__1 : rule__IfElse__Group__1__Impl rule__IfElse__Group__2 ; - public final void rule__IfElse__Group__1() throws RecognitionException { + // $ANTLR start "rule__LetBinding__Group__1" + // InternalSolverLanguageParser.g:5547:1: rule__LetBinding__Group__1 : rule__LetBinding__Group__1__Impl rule__LetBinding__Group__2 ; + public final void rule__LetBinding__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:4084:1: ( rule__IfElse__Group__1__Impl rule__IfElse__Group__2 ) - // InternalSolverLanguageParser.g:4085:2: rule__IfElse__Group__1__Impl rule__IfElse__Group__2 + // InternalSolverLanguageParser.g:5551:1: ( rule__LetBinding__Group__1__Impl rule__LetBinding__Group__2 ) + // InternalSolverLanguageParser.g:5552:2: rule__LetBinding__Group__1__Impl rule__LetBinding__Group__2 { - pushFollow(FOLLOW_22); - rule__IfElse__Group__1__Impl(); + pushFollow(FOLLOW_30); + rule__LetBinding__Group__1__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__IfElse__Group__2(); + rule__LetBinding__Group__2(); state._fsp--; @@ -12864,35 +17335,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__IfElse__Group__1" + // $ANTLR end "rule__LetBinding__Group__1" - // $ANTLR start "rule__IfElse__Group__1__Impl" - // InternalSolverLanguageParser.g:4092:1: rule__IfElse__Group__1__Impl : ( ( rule__IfElse__ConditionAssignment_1 ) ) ; - public final void rule__IfElse__Group__1__Impl() throws RecognitionException { + // $ANTLR start "rule__LetBinding__Group__1__Impl" + // InternalSolverLanguageParser.g:5559:1: rule__LetBinding__Group__1__Impl : ( ( rule__LetBinding__NameAssignment_1 ) ) ; + public final void rule__LetBinding__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:4096:1: ( ( ( rule__IfElse__ConditionAssignment_1 ) ) ) - // InternalSolverLanguageParser.g:4097:1: ( ( rule__IfElse__ConditionAssignment_1 ) ) + // InternalSolverLanguageParser.g:5563:1: ( ( ( rule__LetBinding__NameAssignment_1 ) ) ) + // InternalSolverLanguageParser.g:5564:1: ( ( rule__LetBinding__NameAssignment_1 ) ) { - // InternalSolverLanguageParser.g:4097:1: ( ( rule__IfElse__ConditionAssignment_1 ) ) - // InternalSolverLanguageParser.g:4098:2: ( rule__IfElse__ConditionAssignment_1 ) + // InternalSolverLanguageParser.g:5564:1: ( ( rule__LetBinding__NameAssignment_1 ) ) + // InternalSolverLanguageParser.g:5565:2: ( rule__LetBinding__NameAssignment_1 ) { - before(grammarAccess.getIfElseAccess().getConditionAssignment_1()); - // InternalSolverLanguageParser.g:4099:2: ( rule__IfElse__ConditionAssignment_1 ) - // InternalSolverLanguageParser.g:4099:3: rule__IfElse__ConditionAssignment_1 + before(grammarAccess.getLetBindingAccess().getNameAssignment_1()); + // InternalSolverLanguageParser.g:5566:2: ( rule__LetBinding__NameAssignment_1 ) + // InternalSolverLanguageParser.g:5566:3: rule__LetBinding__NameAssignment_1 { pushFollow(FOLLOW_2); - rule__IfElse__ConditionAssignment_1(); + rule__LetBinding__NameAssignment_1(); state._fsp--; } - after(grammarAccess.getIfElseAccess().getConditionAssignment_1()); + after(grammarAccess.getLetBindingAccess().getNameAssignment_1()); } @@ -12911,26 +17382,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__IfElse__Group__1__Impl" + // $ANTLR end "rule__LetBinding__Group__1__Impl" - // $ANTLR start "rule__IfElse__Group__2" - // InternalSolverLanguageParser.g:4107:1: rule__IfElse__Group__2 : rule__IfElse__Group__2__Impl rule__IfElse__Group__3 ; - public final void rule__IfElse__Group__2() throws RecognitionException { + // $ANTLR start "rule__LetBinding__Group__2" + // InternalSolverLanguageParser.g:5574:1: rule__LetBinding__Group__2 : rule__LetBinding__Group__2__Impl rule__LetBinding__Group__3 ; + public final void rule__LetBinding__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:4111:1: ( rule__IfElse__Group__2__Impl rule__IfElse__Group__3 ) - // InternalSolverLanguageParser.g:4112:2: rule__IfElse__Group__2__Impl rule__IfElse__Group__3 + // InternalSolverLanguageParser.g:5578:1: ( rule__LetBinding__Group__2__Impl rule__LetBinding__Group__3 ) + // InternalSolverLanguageParser.g:5579:2: rule__LetBinding__Group__2__Impl rule__LetBinding__Group__3 { - pushFollow(FOLLOW_7); - rule__IfElse__Group__2__Impl(); + pushFollow(FOLLOW_12); + rule__LetBinding__Group__2__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__IfElse__Group__3(); + rule__LetBinding__Group__3(); state._fsp--; @@ -12949,25 +17420,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__IfElse__Group__2" + // $ANTLR end "rule__LetBinding__Group__2" - // $ANTLR start "rule__IfElse__Group__2__Impl" - // InternalSolverLanguageParser.g:4119:1: rule__IfElse__Group__2__Impl : ( Then ) ; - public final void rule__IfElse__Group__2__Impl() throws RecognitionException { + // $ANTLR start "rule__LetBinding__Group__2__Impl" + // InternalSolverLanguageParser.g:5586:1: rule__LetBinding__Group__2__Impl : ( EqualsSign ) ; + public final void rule__LetBinding__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:4123:1: ( ( Then ) ) - // InternalSolverLanguageParser.g:4124:1: ( Then ) + // InternalSolverLanguageParser.g:5590:1: ( ( EqualsSign ) ) + // InternalSolverLanguageParser.g:5591:1: ( EqualsSign ) { - // InternalSolverLanguageParser.g:4124:1: ( Then ) - // InternalSolverLanguageParser.g:4125:2: Then + // InternalSolverLanguageParser.g:5591:1: ( EqualsSign ) + // InternalSolverLanguageParser.g:5592:2: EqualsSign { - before(grammarAccess.getIfElseAccess().getThenKeyword_2()); - match(input,Then,FOLLOW_2); - after(grammarAccess.getIfElseAccess().getThenKeyword_2()); + before(grammarAccess.getLetBindingAccess().getEqualsSignKeyword_2()); + match(input,EqualsSign,FOLLOW_2); + after(grammarAccess.getLetBindingAccess().getEqualsSignKeyword_2()); } @@ -12986,26 +17457,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__IfElse__Group__2__Impl" + // $ANTLR end "rule__LetBinding__Group__2__Impl" - // $ANTLR start "rule__IfElse__Group__3" - // InternalSolverLanguageParser.g:4134:1: rule__IfElse__Group__3 : rule__IfElse__Group__3__Impl rule__IfElse__Group__4 ; - public final void rule__IfElse__Group__3() throws RecognitionException { + // $ANTLR start "rule__LetBinding__Group__3" + // InternalSolverLanguageParser.g:5601:1: rule__LetBinding__Group__3 : rule__LetBinding__Group__3__Impl ; + public final void rule__LetBinding__Group__3() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:4138:1: ( rule__IfElse__Group__3__Impl rule__IfElse__Group__4 ) - // InternalSolverLanguageParser.g:4139:2: rule__IfElse__Group__3__Impl rule__IfElse__Group__4 + // InternalSolverLanguageParser.g:5605:1: ( rule__LetBinding__Group__3__Impl ) + // InternalSolverLanguageParser.g:5606:2: rule__LetBinding__Group__3__Impl { - pushFollow(FOLLOW_23); - rule__IfElse__Group__3__Impl(); - - state._fsp--; - pushFollow(FOLLOW_2); - rule__IfElse__Group__4(); + rule__LetBinding__Group__3__Impl(); state._fsp--; @@ -13024,35 +17490,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__IfElse__Group__3" + // $ANTLR end "rule__LetBinding__Group__3" - // $ANTLR start "rule__IfElse__Group__3__Impl" - // InternalSolverLanguageParser.g:4146:1: rule__IfElse__Group__3__Impl : ( ( rule__IfElse__ThenAssignment_3 ) ) ; - public final void rule__IfElse__Group__3__Impl() throws RecognitionException { + // $ANTLR start "rule__LetBinding__Group__3__Impl" + // InternalSolverLanguageParser.g:5612:1: rule__LetBinding__Group__3__Impl : ( ( rule__LetBinding__ValueAssignment_3 ) ) ; + public final void rule__LetBinding__Group__3__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:4150:1: ( ( ( rule__IfElse__ThenAssignment_3 ) ) ) - // InternalSolverLanguageParser.g:4151:1: ( ( rule__IfElse__ThenAssignment_3 ) ) + // InternalSolverLanguageParser.g:5616:1: ( ( ( rule__LetBinding__ValueAssignment_3 ) ) ) + // InternalSolverLanguageParser.g:5617:1: ( ( rule__LetBinding__ValueAssignment_3 ) ) { - // InternalSolverLanguageParser.g:4151:1: ( ( rule__IfElse__ThenAssignment_3 ) ) - // InternalSolverLanguageParser.g:4152:2: ( rule__IfElse__ThenAssignment_3 ) + // InternalSolverLanguageParser.g:5617:1: ( ( rule__LetBinding__ValueAssignment_3 ) ) + // InternalSolverLanguageParser.g:5618:2: ( rule__LetBinding__ValueAssignment_3 ) { - before(grammarAccess.getIfElseAccess().getThenAssignment_3()); - // InternalSolverLanguageParser.g:4153:2: ( rule__IfElse__ThenAssignment_3 ) - // InternalSolverLanguageParser.g:4153:3: rule__IfElse__ThenAssignment_3 + before(grammarAccess.getLetBindingAccess().getValueAssignment_3()); + // InternalSolverLanguageParser.g:5619:2: ( rule__LetBinding__ValueAssignment_3 ) + // InternalSolverLanguageParser.g:5619:3: rule__LetBinding__ValueAssignment_3 { pushFollow(FOLLOW_2); - rule__IfElse__ThenAssignment_3(); + rule__LetBinding__ValueAssignment_3(); state._fsp--; } - after(grammarAccess.getIfElseAccess().getThenAssignment_3()); + after(grammarAccess.getLetBindingAccess().getValueAssignment_3()); } @@ -13071,96 +17537,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__IfElse__Group__3__Impl" + // $ANTLR end "rule__LetBinding__Group__3__Impl" - // $ANTLR start "rule__IfElse__Group__4" - // InternalSolverLanguageParser.g:4161:1: rule__IfElse__Group__4 : rule__IfElse__Group__4__Impl rule__IfElse__Group__5 ; - public final void rule__IfElse__Group__4() throws RecognitionException { + // $ANTLR start "rule__DisjunctiveExpression__Group__0" + // InternalSolverLanguageParser.g:5628:1: rule__DisjunctiveExpression__Group__0 : rule__DisjunctiveExpression__Group__0__Impl rule__DisjunctiveExpression__Group__1 ; + public final void rule__DisjunctiveExpression__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:4165:1: ( rule__IfElse__Group__4__Impl rule__IfElse__Group__5 ) - // InternalSolverLanguageParser.g:4166:2: rule__IfElse__Group__4__Impl rule__IfElse__Group__5 + // InternalSolverLanguageParser.g:5632:1: ( rule__DisjunctiveExpression__Group__0__Impl rule__DisjunctiveExpression__Group__1 ) + // InternalSolverLanguageParser.g:5633:2: rule__DisjunctiveExpression__Group__0__Impl rule__DisjunctiveExpression__Group__1 { - pushFollow(FOLLOW_7); - rule__IfElse__Group__4__Impl(); - - state._fsp--; - - pushFollow(FOLLOW_2); - rule__IfElse__Group__5(); + pushFollow(FOLLOW_31); + rule__DisjunctiveExpression__Group__0__Impl(); state._fsp--; - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__IfElse__Group__4" - - - // $ANTLR start "rule__IfElse__Group__4__Impl" - // InternalSolverLanguageParser.g:4173:1: rule__IfElse__Group__4__Impl : ( Else ) ; - public final void rule__IfElse__Group__4__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalSolverLanguageParser.g:4177:1: ( ( Else ) ) - // InternalSolverLanguageParser.g:4178:1: ( Else ) - { - // InternalSolverLanguageParser.g:4178:1: ( Else ) - // InternalSolverLanguageParser.g:4179:2: Else - { - before(grammarAccess.getIfElseAccess().getElseKeyword_4()); - match(input,Else,FOLLOW_2); - after(grammarAccess.getIfElseAccess().getElseKeyword_4()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__IfElse__Group__4__Impl" - - - // $ANTLR start "rule__IfElse__Group__5" - // InternalSolverLanguageParser.g:4188:1: rule__IfElse__Group__5 : rule__IfElse__Group__5__Impl ; - public final void rule__IfElse__Group__5() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalSolverLanguageParser.g:4192:1: ( rule__IfElse__Group__5__Impl ) - // InternalSolverLanguageParser.g:4193:2: rule__IfElse__Group__5__Impl - { pushFollow(FOLLOW_2); - rule__IfElse__Group__5__Impl(); + rule__DisjunctiveExpression__Group__1(); state._fsp--; @@ -13179,35 +17575,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__IfElse__Group__5" + // $ANTLR end "rule__DisjunctiveExpression__Group__0" - // $ANTLR start "rule__IfElse__Group__5__Impl" - // InternalSolverLanguageParser.g:4199:1: rule__IfElse__Group__5__Impl : ( ( rule__IfElse__ElseAssignment_5 ) ) ; - public final void rule__IfElse__Group__5__Impl() throws RecognitionException { + // $ANTLR start "rule__DisjunctiveExpression__Group__0__Impl" + // InternalSolverLanguageParser.g:5640:1: rule__DisjunctiveExpression__Group__0__Impl : ( ruleConjunctiveExpression ) ; + public final void rule__DisjunctiveExpression__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:4203:1: ( ( ( rule__IfElse__ElseAssignment_5 ) ) ) - // InternalSolverLanguageParser.g:4204:1: ( ( rule__IfElse__ElseAssignment_5 ) ) + // InternalSolverLanguageParser.g:5644:1: ( ( ruleConjunctiveExpression ) ) + // InternalSolverLanguageParser.g:5645:1: ( ruleConjunctiveExpression ) { - // InternalSolverLanguageParser.g:4204:1: ( ( rule__IfElse__ElseAssignment_5 ) ) - // InternalSolverLanguageParser.g:4205:2: ( rule__IfElse__ElseAssignment_5 ) - { - before(grammarAccess.getIfElseAccess().getElseAssignment_5()); - // InternalSolverLanguageParser.g:4206:2: ( rule__IfElse__ElseAssignment_5 ) - // InternalSolverLanguageParser.g:4206:3: rule__IfElse__ElseAssignment_5 + // InternalSolverLanguageParser.g:5645:1: ( ruleConjunctiveExpression ) + // InternalSolverLanguageParser.g:5646:2: ruleConjunctiveExpression { + before(grammarAccess.getDisjunctiveExpressionAccess().getConjunctiveExpressionParserRuleCall_0()); pushFollow(FOLLOW_2); - rule__IfElse__ElseAssignment_5(); + ruleConjunctiveExpression(); state._fsp--; - - } - - after(grammarAccess.getIfElseAccess().getElseAssignment_5()); + after(grammarAccess.getDisjunctiveExpressionAccess().getConjunctiveExpressionParserRuleCall_0()); } @@ -13226,26 +17616,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__IfElse__Group__5__Impl" + // $ANTLR end "rule__DisjunctiveExpression__Group__0__Impl" - // $ANTLR start "rule__Let__Group__0" - // InternalSolverLanguageParser.g:4215:1: rule__Let__Group__0 : rule__Let__Group__0__Impl rule__Let__Group__1 ; - public final void rule__Let__Group__0() throws RecognitionException { + // $ANTLR start "rule__DisjunctiveExpression__Group__1" + // InternalSolverLanguageParser.g:5655:1: rule__DisjunctiveExpression__Group__1 : rule__DisjunctiveExpression__Group__1__Impl ; + public final void rule__DisjunctiveExpression__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:4219:1: ( rule__Let__Group__0__Impl rule__Let__Group__1 ) - // InternalSolverLanguageParser.g:4220:2: rule__Let__Group__0__Impl rule__Let__Group__1 + // InternalSolverLanguageParser.g:5659:1: ( rule__DisjunctiveExpression__Group__1__Impl ) + // InternalSolverLanguageParser.g:5660:2: rule__DisjunctiveExpression__Group__1__Impl { - pushFollow(FOLLOW_9); - rule__Let__Group__0__Impl(); - - state._fsp--; - pushFollow(FOLLOW_2); - rule__Let__Group__1(); + rule__DisjunctiveExpression__Group__1__Impl(); state._fsp--; @@ -13264,25 +17649,46 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Let__Group__0" + // $ANTLR end "rule__DisjunctiveExpression__Group__1" - // $ANTLR start "rule__Let__Group__0__Impl" - // InternalSolverLanguageParser.g:4227:1: rule__Let__Group__0__Impl : ( Let ) ; - public final void rule__Let__Group__0__Impl() throws RecognitionException { + // $ANTLR start "rule__DisjunctiveExpression__Group__1__Impl" + // InternalSolverLanguageParser.g:5666:1: rule__DisjunctiveExpression__Group__1__Impl : ( ( rule__DisjunctiveExpression__Alternatives_1 )? ) ; + public final void rule__DisjunctiveExpression__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:4231:1: ( ( Let ) ) - // InternalSolverLanguageParser.g:4232:1: ( Let ) + // InternalSolverLanguageParser.g:5670:1: ( ( ( rule__DisjunctiveExpression__Alternatives_1 )? ) ) + // InternalSolverLanguageParser.g:5671:1: ( ( rule__DisjunctiveExpression__Alternatives_1 )? ) { - // InternalSolverLanguageParser.g:4232:1: ( Let ) - // InternalSolverLanguageParser.g:4233:2: Let + // InternalSolverLanguageParser.g:5671:1: ( ( rule__DisjunctiveExpression__Alternatives_1 )? ) + // InternalSolverLanguageParser.g:5672:2: ( rule__DisjunctiveExpression__Alternatives_1 )? { - before(grammarAccess.getLetAccess().getLetKeyword_0()); - match(input,Let,FOLLOW_2); - after(grammarAccess.getLetAccess().getLetKeyword_0()); + before(grammarAccess.getDisjunctiveExpressionAccess().getAlternatives_1()); + // InternalSolverLanguageParser.g:5673:2: ( rule__DisjunctiveExpression__Alternatives_1 )? + int alt41=2; + int LA41_0 = input.LA(1); + + if ( (LA41_0==HyphenMinusGreaterThanSign||LA41_0==Semicolon) ) { + alt41=1; + } + switch (alt41) { + case 1 : + // InternalSolverLanguageParser.g:5673:3: rule__DisjunctiveExpression__Alternatives_1 + { + pushFollow(FOLLOW_2); + rule__DisjunctiveExpression__Alternatives_1(); + + state._fsp--; + + + } + break; + + } + + after(grammarAccess.getDisjunctiveExpressionAccess().getAlternatives_1()); } @@ -13301,26 +17707,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Let__Group__0__Impl" + // $ANTLR end "rule__DisjunctiveExpression__Group__1__Impl" - // $ANTLR start "rule__Let__Group__1" - // InternalSolverLanguageParser.g:4242:1: rule__Let__Group__1 : rule__Let__Group__1__Impl rule__Let__Group__2 ; - public final void rule__Let__Group__1() throws RecognitionException { + // $ANTLR start "rule__DisjunctiveExpression__Group_1_0__0" + // InternalSolverLanguageParser.g:5682:1: rule__DisjunctiveExpression__Group_1_0__0 : rule__DisjunctiveExpression__Group_1_0__0__Impl rule__DisjunctiveExpression__Group_1_0__1 ; + public final void rule__DisjunctiveExpression__Group_1_0__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:4246:1: ( rule__Let__Group__1__Impl rule__Let__Group__2 ) - // InternalSolverLanguageParser.g:4247:2: rule__Let__Group__1__Impl rule__Let__Group__2 + // InternalSolverLanguageParser.g:5686:1: ( rule__DisjunctiveExpression__Group_1_0__0__Impl rule__DisjunctiveExpression__Group_1_0__1 ) + // InternalSolverLanguageParser.g:5687:2: rule__DisjunctiveExpression__Group_1_0__0__Impl rule__DisjunctiveExpression__Group_1_0__1 { - pushFollow(FOLLOW_24); - rule__Let__Group__1__Impl(); + pushFollow(FOLLOW_32); + rule__DisjunctiveExpression__Group_1_0__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__Let__Group__2(); + rule__DisjunctiveExpression__Group_1_0__1(); state._fsp--; @@ -13339,35 +17745,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Let__Group__1" + // $ANTLR end "rule__DisjunctiveExpression__Group_1_0__0" - // $ANTLR start "rule__Let__Group__1__Impl" - // InternalSolverLanguageParser.g:4254:1: rule__Let__Group__1__Impl : ( ( rule__Let__BindingsAssignment_1 ) ) ; - public final void rule__Let__Group__1__Impl() throws RecognitionException { + // $ANTLR start "rule__DisjunctiveExpression__Group_1_0__0__Impl" + // InternalSolverLanguageParser.g:5694:1: rule__DisjunctiveExpression__Group_1_0__0__Impl : ( () ) ; + public final void rule__DisjunctiveExpression__Group_1_0__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:4258:1: ( ( ( rule__Let__BindingsAssignment_1 ) ) ) - // InternalSolverLanguageParser.g:4259:1: ( ( rule__Let__BindingsAssignment_1 ) ) + // InternalSolverLanguageParser.g:5698:1: ( ( () ) ) + // InternalSolverLanguageParser.g:5699:1: ( () ) { - // InternalSolverLanguageParser.g:4259:1: ( ( rule__Let__BindingsAssignment_1 ) ) - // InternalSolverLanguageParser.g:4260:2: ( rule__Let__BindingsAssignment_1 ) + // InternalSolverLanguageParser.g:5699:1: ( () ) + // InternalSolverLanguageParser.g:5700:2: () { - before(grammarAccess.getLetAccess().getBindingsAssignment_1()); - // InternalSolverLanguageParser.g:4261:2: ( rule__Let__BindingsAssignment_1 ) - // InternalSolverLanguageParser.g:4261:3: rule__Let__BindingsAssignment_1 + before(grammarAccess.getDisjunctiveExpressionAccess().getDisjunctionChildrenAction_1_0_0()); + // InternalSolverLanguageParser.g:5701:2: () + // InternalSolverLanguageParser.g:5701:3: { - pushFollow(FOLLOW_2); - rule__Let__BindingsAssignment_1(); - - state._fsp--; - - } - after(grammarAccess.getLetAccess().getBindingsAssignment_1()); + after(grammarAccess.getDisjunctiveExpressionAccess().getDisjunctionChildrenAction_1_0_0()); } @@ -13375,10 +17775,6 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } finally { restoreStackSize(stackSize); @@ -13386,26 +17782,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Let__Group__1__Impl" + // $ANTLR end "rule__DisjunctiveExpression__Group_1_0__0__Impl" - // $ANTLR start "rule__Let__Group__2" - // InternalSolverLanguageParser.g:4269:1: rule__Let__Group__2 : rule__Let__Group__2__Impl rule__Let__Group__3 ; - public final void rule__Let__Group__2() throws RecognitionException { + // $ANTLR start "rule__DisjunctiveExpression__Group_1_0__1" + // InternalSolverLanguageParser.g:5709:1: rule__DisjunctiveExpression__Group_1_0__1 : rule__DisjunctiveExpression__Group_1_0__1__Impl ; + public final void rule__DisjunctiveExpression__Group_1_0__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:4273:1: ( rule__Let__Group__2__Impl rule__Let__Group__3 ) - // InternalSolverLanguageParser.g:4274:2: rule__Let__Group__2__Impl rule__Let__Group__3 + // InternalSolverLanguageParser.g:5713:1: ( rule__DisjunctiveExpression__Group_1_0__1__Impl ) + // InternalSolverLanguageParser.g:5714:2: rule__DisjunctiveExpression__Group_1_0__1__Impl { - pushFollow(FOLLOW_24); - rule__Let__Group__2__Impl(); - - state._fsp--; - pushFollow(FOLLOW_2); - rule__Let__Group__3(); + rule__DisjunctiveExpression__Group_1_0__1__Impl(); state._fsp--; @@ -13424,40 +17815,62 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Let__Group__2" + // $ANTLR end "rule__DisjunctiveExpression__Group_1_0__1" - // $ANTLR start "rule__Let__Group__2__Impl" - // InternalSolverLanguageParser.g:4281:1: rule__Let__Group__2__Impl : ( ( rule__Let__Group_2__0 )* ) ; - public final void rule__Let__Group__2__Impl() throws RecognitionException { + // $ANTLR start "rule__DisjunctiveExpression__Group_1_0__1__Impl" + // InternalSolverLanguageParser.g:5720:1: rule__DisjunctiveExpression__Group_1_0__1__Impl : ( ( ( rule__DisjunctiveExpression__Group_1_0_1__0 ) ) ( ( rule__DisjunctiveExpression__Group_1_0_1__0 )* ) ) ; + public final void rule__DisjunctiveExpression__Group_1_0__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:4285:1: ( ( ( rule__Let__Group_2__0 )* ) ) - // InternalSolverLanguageParser.g:4286:1: ( ( rule__Let__Group_2__0 )* ) + // InternalSolverLanguageParser.g:5724:1: ( ( ( ( rule__DisjunctiveExpression__Group_1_0_1__0 ) ) ( ( rule__DisjunctiveExpression__Group_1_0_1__0 )* ) ) ) + // InternalSolverLanguageParser.g:5725:1: ( ( ( rule__DisjunctiveExpression__Group_1_0_1__0 ) ) ( ( rule__DisjunctiveExpression__Group_1_0_1__0 )* ) ) { - // InternalSolverLanguageParser.g:4286:1: ( ( rule__Let__Group_2__0 )* ) - // InternalSolverLanguageParser.g:4287:2: ( rule__Let__Group_2__0 )* + // InternalSolverLanguageParser.g:5725:1: ( ( ( rule__DisjunctiveExpression__Group_1_0_1__0 ) ) ( ( rule__DisjunctiveExpression__Group_1_0_1__0 )* ) ) + // InternalSolverLanguageParser.g:5726:2: ( ( rule__DisjunctiveExpression__Group_1_0_1__0 ) ) ( ( rule__DisjunctiveExpression__Group_1_0_1__0 )* ) { - before(grammarAccess.getLetAccess().getGroup_2()); - // InternalSolverLanguageParser.g:4288:2: ( rule__Let__Group_2__0 )* - loop31: + // InternalSolverLanguageParser.g:5726:2: ( ( rule__DisjunctiveExpression__Group_1_0_1__0 ) ) + // InternalSolverLanguageParser.g:5727:3: ( rule__DisjunctiveExpression__Group_1_0_1__0 ) + { + before(grammarAccess.getDisjunctiveExpressionAccess().getGroup_1_0_1()); + // InternalSolverLanguageParser.g:5728:3: ( rule__DisjunctiveExpression__Group_1_0_1__0 ) + // InternalSolverLanguageParser.g:5728:4: rule__DisjunctiveExpression__Group_1_0_1__0 + { + pushFollow(FOLLOW_33); + rule__DisjunctiveExpression__Group_1_0_1__0(); + + state._fsp--; + + + } + + after(grammarAccess.getDisjunctiveExpressionAccess().getGroup_1_0_1()); + + } + + // InternalSolverLanguageParser.g:5731:2: ( ( rule__DisjunctiveExpression__Group_1_0_1__0 )* ) + // InternalSolverLanguageParser.g:5732:3: ( rule__DisjunctiveExpression__Group_1_0_1__0 )* + { + before(grammarAccess.getDisjunctiveExpressionAccess().getGroup_1_0_1()); + // InternalSolverLanguageParser.g:5733:3: ( rule__DisjunctiveExpression__Group_1_0_1__0 )* + loop42: do { - int alt31=2; - int LA31_0 = input.LA(1); + int alt42=2; + int LA42_0 = input.LA(1); - if ( (LA31_0==Comma) ) { - alt31=1; + if ( (LA42_0==Semicolon) ) { + alt42=1; } - switch (alt31) { + switch (alt42) { case 1 : - // InternalSolverLanguageParser.g:4288:3: rule__Let__Group_2__0 + // InternalSolverLanguageParser.g:5733:4: rule__DisjunctiveExpression__Group_1_0_1__0 { - pushFollow(FOLLOW_20); - rule__Let__Group_2__0(); + pushFollow(FOLLOW_33); + rule__DisjunctiveExpression__Group_1_0_1__0(); state._fsp--; @@ -13466,11 +17879,14 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP break; default : - break loop31; + break loop42; } } while (true); - after(grammarAccess.getLetAccess().getGroup_2()); + after(grammarAccess.getDisjunctiveExpressionAccess().getGroup_1_0_1()); + + } + } @@ -13489,26 +17905,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Let__Group__2__Impl" + // $ANTLR end "rule__DisjunctiveExpression__Group_1_0__1__Impl" - // $ANTLR start "rule__Let__Group__3" - // InternalSolverLanguageParser.g:4296:1: rule__Let__Group__3 : rule__Let__Group__3__Impl rule__Let__Group__4 ; - public final void rule__Let__Group__3() throws RecognitionException { + // $ANTLR start "rule__DisjunctiveExpression__Group_1_0_1__0" + // InternalSolverLanguageParser.g:5743:1: rule__DisjunctiveExpression__Group_1_0_1__0 : rule__DisjunctiveExpression__Group_1_0_1__0__Impl rule__DisjunctiveExpression__Group_1_0_1__1 ; + public final void rule__DisjunctiveExpression__Group_1_0_1__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:4300:1: ( rule__Let__Group__3__Impl rule__Let__Group__4 ) - // InternalSolverLanguageParser.g:4301:2: rule__Let__Group__3__Impl rule__Let__Group__4 + // InternalSolverLanguageParser.g:5747:1: ( rule__DisjunctiveExpression__Group_1_0_1__0__Impl rule__DisjunctiveExpression__Group_1_0_1__1 ) + // InternalSolverLanguageParser.g:5748:2: rule__DisjunctiveExpression__Group_1_0_1__0__Impl rule__DisjunctiveExpression__Group_1_0_1__1 { - pushFollow(FOLLOW_7); - rule__Let__Group__3__Impl(); + pushFollow(FOLLOW_12); + rule__DisjunctiveExpression__Group_1_0_1__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__Let__Group__4(); + rule__DisjunctiveExpression__Group_1_0_1__1(); state._fsp--; @@ -13527,25 +17943,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Let__Group__3" + // $ANTLR end "rule__DisjunctiveExpression__Group_1_0_1__0" - // $ANTLR start "rule__Let__Group__3__Impl" - // InternalSolverLanguageParser.g:4308:1: rule__Let__Group__3__Impl : ( In ) ; - public final void rule__Let__Group__3__Impl() throws RecognitionException { + // $ANTLR start "rule__DisjunctiveExpression__Group_1_0_1__0__Impl" + // InternalSolverLanguageParser.g:5755:1: rule__DisjunctiveExpression__Group_1_0_1__0__Impl : ( Semicolon ) ; + public final void rule__DisjunctiveExpression__Group_1_0_1__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:4312:1: ( ( In ) ) - // InternalSolverLanguageParser.g:4313:1: ( In ) + // InternalSolverLanguageParser.g:5759:1: ( ( Semicolon ) ) + // InternalSolverLanguageParser.g:5760:1: ( Semicolon ) { - // InternalSolverLanguageParser.g:4313:1: ( In ) - // InternalSolverLanguageParser.g:4314:2: In + // InternalSolverLanguageParser.g:5760:1: ( Semicolon ) + // InternalSolverLanguageParser.g:5761:2: Semicolon { - before(grammarAccess.getLetAccess().getInKeyword_3()); - match(input,In,FOLLOW_2); - after(grammarAccess.getLetAccess().getInKeyword_3()); + before(grammarAccess.getDisjunctiveExpressionAccess().getSemicolonKeyword_1_0_1_0()); + match(input,Semicolon,FOLLOW_2); + after(grammarAccess.getDisjunctiveExpressionAccess().getSemicolonKeyword_1_0_1_0()); } @@ -13564,21 +17980,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Let__Group__3__Impl" + // $ANTLR end "rule__DisjunctiveExpression__Group_1_0_1__0__Impl" - // $ANTLR start "rule__Let__Group__4" - // InternalSolverLanguageParser.g:4323:1: rule__Let__Group__4 : rule__Let__Group__4__Impl ; - public final void rule__Let__Group__4() throws RecognitionException { + // $ANTLR start "rule__DisjunctiveExpression__Group_1_0_1__1" + // InternalSolverLanguageParser.g:5770:1: rule__DisjunctiveExpression__Group_1_0_1__1 : rule__DisjunctiveExpression__Group_1_0_1__1__Impl ; + public final void rule__DisjunctiveExpression__Group_1_0_1__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:4327:1: ( rule__Let__Group__4__Impl ) - // InternalSolverLanguageParser.g:4328:2: rule__Let__Group__4__Impl + // InternalSolverLanguageParser.g:5774:1: ( rule__DisjunctiveExpression__Group_1_0_1__1__Impl ) + // InternalSolverLanguageParser.g:5775:2: rule__DisjunctiveExpression__Group_1_0_1__1__Impl { pushFollow(FOLLOW_2); - rule__Let__Group__4__Impl(); + rule__DisjunctiveExpression__Group_1_0_1__1__Impl(); state._fsp--; @@ -13597,35 +18013,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Let__Group__4" + // $ANTLR end "rule__DisjunctiveExpression__Group_1_0_1__1" - // $ANTLR start "rule__Let__Group__4__Impl" - // InternalSolverLanguageParser.g:4334:1: rule__Let__Group__4__Impl : ( ( rule__Let__BodyAssignment_4 ) ) ; - public final void rule__Let__Group__4__Impl() throws RecognitionException { + // $ANTLR start "rule__DisjunctiveExpression__Group_1_0_1__1__Impl" + // InternalSolverLanguageParser.g:5781:1: rule__DisjunctiveExpression__Group_1_0_1__1__Impl : ( ( rule__DisjunctiveExpression__ChildrenAssignment_1_0_1_1 ) ) ; + public final void rule__DisjunctiveExpression__Group_1_0_1__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:4338:1: ( ( ( rule__Let__BodyAssignment_4 ) ) ) - // InternalSolverLanguageParser.g:4339:1: ( ( rule__Let__BodyAssignment_4 ) ) + // InternalSolverLanguageParser.g:5785:1: ( ( ( rule__DisjunctiveExpression__ChildrenAssignment_1_0_1_1 ) ) ) + // InternalSolverLanguageParser.g:5786:1: ( ( rule__DisjunctiveExpression__ChildrenAssignment_1_0_1_1 ) ) { - // InternalSolverLanguageParser.g:4339:1: ( ( rule__Let__BodyAssignment_4 ) ) - // InternalSolverLanguageParser.g:4340:2: ( rule__Let__BodyAssignment_4 ) + // InternalSolverLanguageParser.g:5786:1: ( ( rule__DisjunctiveExpression__ChildrenAssignment_1_0_1_1 ) ) + // InternalSolverLanguageParser.g:5787:2: ( rule__DisjunctiveExpression__ChildrenAssignment_1_0_1_1 ) { - before(grammarAccess.getLetAccess().getBodyAssignment_4()); - // InternalSolverLanguageParser.g:4341:2: ( rule__Let__BodyAssignment_4 ) - // InternalSolverLanguageParser.g:4341:3: rule__Let__BodyAssignment_4 + before(grammarAccess.getDisjunctiveExpressionAccess().getChildrenAssignment_1_0_1_1()); + // InternalSolverLanguageParser.g:5788:2: ( rule__DisjunctiveExpression__ChildrenAssignment_1_0_1_1 ) + // InternalSolverLanguageParser.g:5788:3: rule__DisjunctiveExpression__ChildrenAssignment_1_0_1_1 { pushFollow(FOLLOW_2); - rule__Let__BodyAssignment_4(); + rule__DisjunctiveExpression__ChildrenAssignment_1_0_1_1(); state._fsp--; } - after(grammarAccess.getLetAccess().getBodyAssignment_4()); + after(grammarAccess.getDisjunctiveExpressionAccess().getChildrenAssignment_1_0_1_1()); } @@ -13644,26 +18060,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Let__Group__4__Impl" + // $ANTLR end "rule__DisjunctiveExpression__Group_1_0_1__1__Impl" - // $ANTLR start "rule__Let__Group_2__0" - // InternalSolverLanguageParser.g:4350:1: rule__Let__Group_2__0 : rule__Let__Group_2__0__Impl rule__Let__Group_2__1 ; - public final void rule__Let__Group_2__0() throws RecognitionException { + // $ANTLR start "rule__DisjunctiveExpression__Group_1_1__0" + // InternalSolverLanguageParser.g:5797:1: rule__DisjunctiveExpression__Group_1_1__0 : rule__DisjunctiveExpression__Group_1_1__0__Impl rule__DisjunctiveExpression__Group_1_1__1 ; + public final void rule__DisjunctiveExpression__Group_1_1__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:4354:1: ( rule__Let__Group_2__0__Impl rule__Let__Group_2__1 ) - // InternalSolverLanguageParser.g:4355:2: rule__Let__Group_2__0__Impl rule__Let__Group_2__1 + // InternalSolverLanguageParser.g:5801:1: ( rule__DisjunctiveExpression__Group_1_1__0__Impl rule__DisjunctiveExpression__Group_1_1__1 ) + // InternalSolverLanguageParser.g:5802:2: rule__DisjunctiveExpression__Group_1_1__0__Impl rule__DisjunctiveExpression__Group_1_1__1 { - pushFollow(FOLLOW_9); - rule__Let__Group_2__0__Impl(); + pushFollow(FOLLOW_31); + rule__DisjunctiveExpression__Group_1_1__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__Let__Group_2__1(); + rule__DisjunctiveExpression__Group_1_1__1(); state._fsp--; @@ -13682,25 +18098,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Let__Group_2__0" + // $ANTLR end "rule__DisjunctiveExpression__Group_1_1__0" - // $ANTLR start "rule__Let__Group_2__0__Impl" - // InternalSolverLanguageParser.g:4362:1: rule__Let__Group_2__0__Impl : ( Comma ) ; - public final void rule__Let__Group_2__0__Impl() throws RecognitionException { + // $ANTLR start "rule__DisjunctiveExpression__Group_1_1__0__Impl" + // InternalSolverLanguageParser.g:5809:1: rule__DisjunctiveExpression__Group_1_1__0__Impl : ( () ) ; + public final void rule__DisjunctiveExpression__Group_1_1__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:4366:1: ( ( Comma ) ) - // InternalSolverLanguageParser.g:4367:1: ( Comma ) + // InternalSolverLanguageParser.g:5813:1: ( ( () ) ) + // InternalSolverLanguageParser.g:5814:1: ( () ) { - // InternalSolverLanguageParser.g:4367:1: ( Comma ) - // InternalSolverLanguageParser.g:4368:2: Comma + // InternalSolverLanguageParser.g:5814:1: ( () ) + // InternalSolverLanguageParser.g:5815:2: () { - before(grammarAccess.getLetAccess().getCommaKeyword_2_0()); - match(input,Comma,FOLLOW_2); - after(grammarAccess.getLetAccess().getCommaKeyword_2_0()); + before(grammarAccess.getDisjunctiveExpressionAccess().getCaseConditionAction_1_1_0()); + // InternalSolverLanguageParser.g:5816:2: () + // InternalSolverLanguageParser.g:5816:3: + { + } + + after(grammarAccess.getDisjunctiveExpressionAccess().getCaseConditionAction_1_1_0()); } @@ -13708,10 +18128,6 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } finally { restoreStackSize(stackSize); @@ -13719,21 +18135,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Let__Group_2__0__Impl" + // $ANTLR end "rule__DisjunctiveExpression__Group_1_1__0__Impl" - // $ANTLR start "rule__Let__Group_2__1" - // InternalSolverLanguageParser.g:4377:1: rule__Let__Group_2__1 : rule__Let__Group_2__1__Impl ; - public final void rule__Let__Group_2__1() throws RecognitionException { + // $ANTLR start "rule__DisjunctiveExpression__Group_1_1__1" + // InternalSolverLanguageParser.g:5824:1: rule__DisjunctiveExpression__Group_1_1__1 : rule__DisjunctiveExpression__Group_1_1__1__Impl rule__DisjunctiveExpression__Group_1_1__2 ; + public final void rule__DisjunctiveExpression__Group_1_1__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:4381:1: ( rule__Let__Group_2__1__Impl ) - // InternalSolverLanguageParser.g:4382:2: rule__Let__Group_2__1__Impl + // InternalSolverLanguageParser.g:5828:1: ( rule__DisjunctiveExpression__Group_1_1__1__Impl rule__DisjunctiveExpression__Group_1_1__2 ) + // InternalSolverLanguageParser.g:5829:2: rule__DisjunctiveExpression__Group_1_1__1__Impl rule__DisjunctiveExpression__Group_1_1__2 { + pushFollow(FOLLOW_12); + rule__DisjunctiveExpression__Group_1_1__1__Impl(); + + state._fsp--; + pushFollow(FOLLOW_2); - rule__Let__Group_2__1__Impl(); + rule__DisjunctiveExpression__Group_1_1__2(); state._fsp--; @@ -13752,35 +18173,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Let__Group_2__1" + // $ANTLR end "rule__DisjunctiveExpression__Group_1_1__1" - // $ANTLR start "rule__Let__Group_2__1__Impl" - // InternalSolverLanguageParser.g:4388:1: rule__Let__Group_2__1__Impl : ( ( rule__Let__BindingsAssignment_2_1 ) ) ; - public final void rule__Let__Group_2__1__Impl() throws RecognitionException { + // $ANTLR start "rule__DisjunctiveExpression__Group_1_1__1__Impl" + // InternalSolverLanguageParser.g:5836:1: rule__DisjunctiveExpression__Group_1_1__1__Impl : ( HyphenMinusGreaterThanSign ) ; + public final void rule__DisjunctiveExpression__Group_1_1__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:4392:1: ( ( ( rule__Let__BindingsAssignment_2_1 ) ) ) - // InternalSolverLanguageParser.g:4393:1: ( ( rule__Let__BindingsAssignment_2_1 ) ) - { - // InternalSolverLanguageParser.g:4393:1: ( ( rule__Let__BindingsAssignment_2_1 ) ) - // InternalSolverLanguageParser.g:4394:2: ( rule__Let__BindingsAssignment_2_1 ) + // InternalSolverLanguageParser.g:5840:1: ( ( HyphenMinusGreaterThanSign ) ) + // InternalSolverLanguageParser.g:5841:1: ( HyphenMinusGreaterThanSign ) { - before(grammarAccess.getLetAccess().getBindingsAssignment_2_1()); - // InternalSolverLanguageParser.g:4395:2: ( rule__Let__BindingsAssignment_2_1 ) - // InternalSolverLanguageParser.g:4395:3: rule__Let__BindingsAssignment_2_1 + // InternalSolverLanguageParser.g:5841:1: ( HyphenMinusGreaterThanSign ) + // InternalSolverLanguageParser.g:5842:2: HyphenMinusGreaterThanSign { - pushFollow(FOLLOW_2); - rule__Let__BindingsAssignment_2_1(); - - state._fsp--; - - - } - - after(grammarAccess.getLetAccess().getBindingsAssignment_2_1()); + before(grammarAccess.getDisjunctiveExpressionAccess().getHyphenMinusGreaterThanSignKeyword_1_1_1()); + match(input,HyphenMinusGreaterThanSign,FOLLOW_2); + after(grammarAccess.getDisjunctiveExpressionAccess().getHyphenMinusGreaterThanSignKeyword_1_1_1()); } @@ -13799,26 +18210,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Let__Group_2__1__Impl" + // $ANTLR end "rule__DisjunctiveExpression__Group_1_1__1__Impl" - // $ANTLR start "rule__LetBinding__Group__0" - // InternalSolverLanguageParser.g:4404:1: rule__LetBinding__Group__0 : rule__LetBinding__Group__0__Impl rule__LetBinding__Group__1 ; - public final void rule__LetBinding__Group__0() throws RecognitionException { + // $ANTLR start "rule__DisjunctiveExpression__Group_1_1__2" + // InternalSolverLanguageParser.g:5851:1: rule__DisjunctiveExpression__Group_1_1__2 : rule__DisjunctiveExpression__Group_1_1__2__Impl rule__DisjunctiveExpression__Group_1_1__3 ; + public final void rule__DisjunctiveExpression__Group_1_1__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:4408:1: ( rule__LetBinding__Group__0__Impl rule__LetBinding__Group__1 ) - // InternalSolverLanguageParser.g:4409:2: rule__LetBinding__Group__0__Impl rule__LetBinding__Group__1 + // InternalSolverLanguageParser.g:5855:1: ( rule__DisjunctiveExpression__Group_1_1__2__Impl rule__DisjunctiveExpression__Group_1_1__3 ) + // InternalSolverLanguageParser.g:5856:2: rule__DisjunctiveExpression__Group_1_1__2__Impl rule__DisjunctiveExpression__Group_1_1__3 { - pushFollow(FOLLOW_13); - rule__LetBinding__Group__0__Impl(); + pushFollow(FOLLOW_32); + rule__DisjunctiveExpression__Group_1_1__2__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__LetBinding__Group__1(); + rule__DisjunctiveExpression__Group_1_1__3(); state._fsp--; @@ -13837,35 +18248,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__LetBinding__Group__0" + // $ANTLR end "rule__DisjunctiveExpression__Group_1_1__2" - // $ANTLR start "rule__LetBinding__Group__0__Impl" - // InternalSolverLanguageParser.g:4416:1: rule__LetBinding__Group__0__Impl : ( ( rule__LetBinding__VariableAssignment_0 ) ) ; - public final void rule__LetBinding__Group__0__Impl() throws RecognitionException { + // $ANTLR start "rule__DisjunctiveExpression__Group_1_1__2__Impl" + // InternalSolverLanguageParser.g:5863:1: rule__DisjunctiveExpression__Group_1_1__2__Impl : ( ( rule__DisjunctiveExpression__BodyAssignment_1_1_2 ) ) ; + public final void rule__DisjunctiveExpression__Group_1_1__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:4420:1: ( ( ( rule__LetBinding__VariableAssignment_0 ) ) ) - // InternalSolverLanguageParser.g:4421:1: ( ( rule__LetBinding__VariableAssignment_0 ) ) + // InternalSolverLanguageParser.g:5867:1: ( ( ( rule__DisjunctiveExpression__BodyAssignment_1_1_2 ) ) ) + // InternalSolverLanguageParser.g:5868:1: ( ( rule__DisjunctiveExpression__BodyAssignment_1_1_2 ) ) { - // InternalSolverLanguageParser.g:4421:1: ( ( rule__LetBinding__VariableAssignment_0 ) ) - // InternalSolverLanguageParser.g:4422:2: ( rule__LetBinding__VariableAssignment_0 ) + // InternalSolverLanguageParser.g:5868:1: ( ( rule__DisjunctiveExpression__BodyAssignment_1_1_2 ) ) + // InternalSolverLanguageParser.g:5869:2: ( rule__DisjunctiveExpression__BodyAssignment_1_1_2 ) { - before(grammarAccess.getLetBindingAccess().getVariableAssignment_0()); - // InternalSolverLanguageParser.g:4423:2: ( rule__LetBinding__VariableAssignment_0 ) - // InternalSolverLanguageParser.g:4423:3: rule__LetBinding__VariableAssignment_0 + before(grammarAccess.getDisjunctiveExpressionAccess().getBodyAssignment_1_1_2()); + // InternalSolverLanguageParser.g:5870:2: ( rule__DisjunctiveExpression__BodyAssignment_1_1_2 ) + // InternalSolverLanguageParser.g:5870:3: rule__DisjunctiveExpression__BodyAssignment_1_1_2 { pushFollow(FOLLOW_2); - rule__LetBinding__VariableAssignment_0(); + rule__DisjunctiveExpression__BodyAssignment_1_1_2(); state._fsp--; } - after(grammarAccess.getLetBindingAccess().getVariableAssignment_0()); + after(grammarAccess.getDisjunctiveExpressionAccess().getBodyAssignment_1_1_2()); } @@ -13884,26 +18295,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__LetBinding__Group__0__Impl" + // $ANTLR end "rule__DisjunctiveExpression__Group_1_1__2__Impl" - // $ANTLR start "rule__LetBinding__Group__1" - // InternalSolverLanguageParser.g:4431:1: rule__LetBinding__Group__1 : rule__LetBinding__Group__1__Impl rule__LetBinding__Group__2 ; - public final void rule__LetBinding__Group__1() throws RecognitionException { + // $ANTLR start "rule__DisjunctiveExpression__Group_1_1__3" + // InternalSolverLanguageParser.g:5878:1: rule__DisjunctiveExpression__Group_1_1__3 : rule__DisjunctiveExpression__Group_1_1__3__Impl rule__DisjunctiveExpression__Group_1_1__4 ; + public final void rule__DisjunctiveExpression__Group_1_1__3() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:4435:1: ( rule__LetBinding__Group__1__Impl rule__LetBinding__Group__2 ) - // InternalSolverLanguageParser.g:4436:2: rule__LetBinding__Group__1__Impl rule__LetBinding__Group__2 + // InternalSolverLanguageParser.g:5882:1: ( rule__DisjunctiveExpression__Group_1_1__3__Impl rule__DisjunctiveExpression__Group_1_1__4 ) + // InternalSolverLanguageParser.g:5883:2: rule__DisjunctiveExpression__Group_1_1__3__Impl rule__DisjunctiveExpression__Group_1_1__4 { - pushFollow(FOLLOW_7); - rule__LetBinding__Group__1__Impl(); + pushFollow(FOLLOW_32); + rule__DisjunctiveExpression__Group_1_1__3__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__LetBinding__Group__2(); + rule__DisjunctiveExpression__Group_1_1__4(); state._fsp--; @@ -13922,25 +18333,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__LetBinding__Group__1" + // $ANTLR end "rule__DisjunctiveExpression__Group_1_1__3" - // $ANTLR start "rule__LetBinding__Group__1__Impl" - // InternalSolverLanguageParser.g:4443:1: rule__LetBinding__Group__1__Impl : ( EqualsSign ) ; - public final void rule__LetBinding__Group__1__Impl() throws RecognitionException { + // $ANTLR start "rule__DisjunctiveExpression__Group_1_1__3__Impl" + // InternalSolverLanguageParser.g:5890:1: rule__DisjunctiveExpression__Group_1_1__3__Impl : ( () ) ; + public final void rule__DisjunctiveExpression__Group_1_1__3__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:4447:1: ( ( EqualsSign ) ) - // InternalSolverLanguageParser.g:4448:1: ( EqualsSign ) + // InternalSolverLanguageParser.g:5894:1: ( ( () ) ) + // InternalSolverLanguageParser.g:5895:1: ( () ) { - // InternalSolverLanguageParser.g:4448:1: ( EqualsSign ) - // InternalSolverLanguageParser.g:4449:2: EqualsSign + // InternalSolverLanguageParser.g:5895:1: ( () ) + // InternalSolverLanguageParser.g:5896:2: () { - before(grammarAccess.getLetBindingAccess().getEqualsSignKeyword_1()); - match(input,EqualsSign,FOLLOW_2); - after(grammarAccess.getLetBindingAccess().getEqualsSignKeyword_1()); + before(grammarAccess.getDisjunctiveExpressionAccess().getSwitchCasesAction_1_1_3()); + // InternalSolverLanguageParser.g:5897:2: () + // InternalSolverLanguageParser.g:5897:3: + { + } + + after(grammarAccess.getDisjunctiveExpressionAccess().getSwitchCasesAction_1_1_3()); } @@ -13948,10 +18363,6 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } finally { restoreStackSize(stackSize); @@ -13959,21 +18370,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__LetBinding__Group__1__Impl" + // $ANTLR end "rule__DisjunctiveExpression__Group_1_1__3__Impl" - // $ANTLR start "rule__LetBinding__Group__2" - // InternalSolverLanguageParser.g:4458:1: rule__LetBinding__Group__2 : rule__LetBinding__Group__2__Impl ; - public final void rule__LetBinding__Group__2() throws RecognitionException { + // $ANTLR start "rule__DisjunctiveExpression__Group_1_1__4" + // InternalSolverLanguageParser.g:5905:1: rule__DisjunctiveExpression__Group_1_1__4 : rule__DisjunctiveExpression__Group_1_1__4__Impl ; + public final void rule__DisjunctiveExpression__Group_1_1__4() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:4462:1: ( rule__LetBinding__Group__2__Impl ) - // InternalSolverLanguageParser.g:4463:2: rule__LetBinding__Group__2__Impl + // InternalSolverLanguageParser.g:5909:1: ( rule__DisjunctiveExpression__Group_1_1__4__Impl ) + // InternalSolverLanguageParser.g:5910:2: rule__DisjunctiveExpression__Group_1_1__4__Impl { pushFollow(FOLLOW_2); - rule__LetBinding__Group__2__Impl(); + rule__DisjunctiveExpression__Group_1_1__4__Impl(); state._fsp--; @@ -13992,35 +18403,53 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__LetBinding__Group__2" + // $ANTLR end "rule__DisjunctiveExpression__Group_1_1__4" - // $ANTLR start "rule__LetBinding__Group__2__Impl" - // InternalSolverLanguageParser.g:4469:1: rule__LetBinding__Group__2__Impl : ( ( rule__LetBinding__ValueAssignment_2 ) ) ; - public final void rule__LetBinding__Group__2__Impl() throws RecognitionException { + // $ANTLR start "rule__DisjunctiveExpression__Group_1_1__4__Impl" + // InternalSolverLanguageParser.g:5916:1: rule__DisjunctiveExpression__Group_1_1__4__Impl : ( ( rule__DisjunctiveExpression__Group_1_1_4__0 )* ) ; + public final void rule__DisjunctiveExpression__Group_1_1__4__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:4473:1: ( ( ( rule__LetBinding__ValueAssignment_2 ) ) ) - // InternalSolverLanguageParser.g:4474:1: ( ( rule__LetBinding__ValueAssignment_2 ) ) + // InternalSolverLanguageParser.g:5920:1: ( ( ( rule__DisjunctiveExpression__Group_1_1_4__0 )* ) ) + // InternalSolverLanguageParser.g:5921:1: ( ( rule__DisjunctiveExpression__Group_1_1_4__0 )* ) { - // InternalSolverLanguageParser.g:4474:1: ( ( rule__LetBinding__ValueAssignment_2 ) ) - // InternalSolverLanguageParser.g:4475:2: ( rule__LetBinding__ValueAssignment_2 ) + // InternalSolverLanguageParser.g:5921:1: ( ( rule__DisjunctiveExpression__Group_1_1_4__0 )* ) + // InternalSolverLanguageParser.g:5922:2: ( rule__DisjunctiveExpression__Group_1_1_4__0 )* { - before(grammarAccess.getLetBindingAccess().getValueAssignment_2()); - // InternalSolverLanguageParser.g:4476:2: ( rule__LetBinding__ValueAssignment_2 ) - // InternalSolverLanguageParser.g:4476:3: rule__LetBinding__ValueAssignment_2 - { - pushFollow(FOLLOW_2); - rule__LetBinding__ValueAssignment_2(); + before(grammarAccess.getDisjunctiveExpressionAccess().getGroup_1_1_4()); + // InternalSolverLanguageParser.g:5923:2: ( rule__DisjunctiveExpression__Group_1_1_4__0 )* + loop43: + do { + int alt43=2; + int LA43_0 = input.LA(1); - state._fsp--; + if ( (LA43_0==Semicolon) ) { + alt43=1; + } - } + switch (alt43) { + case 1 : + // InternalSolverLanguageParser.g:5923:3: rule__DisjunctiveExpression__Group_1_1_4__0 + { + pushFollow(FOLLOW_33); + rule__DisjunctiveExpression__Group_1_1_4__0(); + + state._fsp--; + + + } + break; - after(grammarAccess.getLetBindingAccess().getValueAssignment_2()); + default : + break loop43; + } + } while (true); + + after(grammarAccess.getDisjunctiveExpressionAccess().getGroup_1_1_4()); } @@ -14039,26 +18468,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__LetBinding__Group__2__Impl" + // $ANTLR end "rule__DisjunctiveExpression__Group_1_1__4__Impl" - // $ANTLR start "rule__ImplicationExpression__Group__0" - // InternalSolverLanguageParser.g:4485:1: rule__ImplicationExpression__Group__0 : rule__ImplicationExpression__Group__0__Impl rule__ImplicationExpression__Group__1 ; - public final void rule__ImplicationExpression__Group__0() throws RecognitionException { + // $ANTLR start "rule__DisjunctiveExpression__Group_1_1_4__0" + // InternalSolverLanguageParser.g:5932:1: rule__DisjunctiveExpression__Group_1_1_4__0 : rule__DisjunctiveExpression__Group_1_1_4__0__Impl rule__DisjunctiveExpression__Group_1_1_4__1 ; + public final void rule__DisjunctiveExpression__Group_1_1_4__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:4489:1: ( rule__ImplicationExpression__Group__0__Impl rule__ImplicationExpression__Group__1 ) - // InternalSolverLanguageParser.g:4490:2: rule__ImplicationExpression__Group__0__Impl rule__ImplicationExpression__Group__1 + // InternalSolverLanguageParser.g:5936:1: ( rule__DisjunctiveExpression__Group_1_1_4__0__Impl rule__DisjunctiveExpression__Group_1_1_4__1 ) + // InternalSolverLanguageParser.g:5937:2: rule__DisjunctiveExpression__Group_1_1_4__0__Impl rule__DisjunctiveExpression__Group_1_1_4__1 { - pushFollow(FOLLOW_25); - rule__ImplicationExpression__Group__0__Impl(); + pushFollow(FOLLOW_12); + rule__DisjunctiveExpression__Group_1_1_4__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__ImplicationExpression__Group__1(); + rule__DisjunctiveExpression__Group_1_1_4__1(); state._fsp--; @@ -14077,29 +18506,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ImplicationExpression__Group__0" + // $ANTLR end "rule__DisjunctiveExpression__Group_1_1_4__0" - // $ANTLR start "rule__ImplicationExpression__Group__0__Impl" - // InternalSolverLanguageParser.g:4497:1: rule__ImplicationExpression__Group__0__Impl : ( ruleDisjunctiveExpression ) ; - public final void rule__ImplicationExpression__Group__0__Impl() throws RecognitionException { + // $ANTLR start "rule__DisjunctiveExpression__Group_1_1_4__0__Impl" + // InternalSolverLanguageParser.g:5944:1: rule__DisjunctiveExpression__Group_1_1_4__0__Impl : ( Semicolon ) ; + public final void rule__DisjunctiveExpression__Group_1_1_4__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); - try { - // InternalSolverLanguageParser.g:4501:1: ( ( ruleDisjunctiveExpression ) ) - // InternalSolverLanguageParser.g:4502:1: ( ruleDisjunctiveExpression ) - { - // InternalSolverLanguageParser.g:4502:1: ( ruleDisjunctiveExpression ) - // InternalSolverLanguageParser.g:4503:2: ruleDisjunctiveExpression - { - before(grammarAccess.getImplicationExpressionAccess().getDisjunctiveExpressionParserRuleCall_0()); - pushFollow(FOLLOW_2); - ruleDisjunctiveExpression(); - - state._fsp--; - - after(grammarAccess.getImplicationExpressionAccess().getDisjunctiveExpressionParserRuleCall_0()); + try { + // InternalSolverLanguageParser.g:5948:1: ( ( Semicolon ) ) + // InternalSolverLanguageParser.g:5949:1: ( Semicolon ) + { + // InternalSolverLanguageParser.g:5949:1: ( Semicolon ) + // InternalSolverLanguageParser.g:5950:2: Semicolon + { + before(grammarAccess.getDisjunctiveExpressionAccess().getSemicolonKeyword_1_1_4_0()); + match(input,Semicolon,FOLLOW_2); + after(grammarAccess.getDisjunctiveExpressionAccess().getSemicolonKeyword_1_1_4_0()); } @@ -14118,21 +18543,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ImplicationExpression__Group__0__Impl" + // $ANTLR end "rule__DisjunctiveExpression__Group_1_1_4__0__Impl" - // $ANTLR start "rule__ImplicationExpression__Group__1" - // InternalSolverLanguageParser.g:4512:1: rule__ImplicationExpression__Group__1 : rule__ImplicationExpression__Group__1__Impl ; - public final void rule__ImplicationExpression__Group__1() throws RecognitionException { + // $ANTLR start "rule__DisjunctiveExpression__Group_1_1_4__1" + // InternalSolverLanguageParser.g:5959:1: rule__DisjunctiveExpression__Group_1_1_4__1 : rule__DisjunctiveExpression__Group_1_1_4__1__Impl ; + public final void rule__DisjunctiveExpression__Group_1_1_4__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:4516:1: ( rule__ImplicationExpression__Group__1__Impl ) - // InternalSolverLanguageParser.g:4517:2: rule__ImplicationExpression__Group__1__Impl + // InternalSolverLanguageParser.g:5963:1: ( rule__DisjunctiveExpression__Group_1_1_4__1__Impl ) + // InternalSolverLanguageParser.g:5964:2: rule__DisjunctiveExpression__Group_1_1_4__1__Impl { pushFollow(FOLLOW_2); - rule__ImplicationExpression__Group__1__Impl(); + rule__DisjunctiveExpression__Group_1_1_4__1__Impl(); state._fsp--; @@ -14151,46 +18576,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ImplicationExpression__Group__1" + // $ANTLR end "rule__DisjunctiveExpression__Group_1_1_4__1" - // $ANTLR start "rule__ImplicationExpression__Group__1__Impl" - // InternalSolverLanguageParser.g:4523:1: rule__ImplicationExpression__Group__1__Impl : ( ( rule__ImplicationExpression__Group_1__0 )? ) ; - public final void rule__ImplicationExpression__Group__1__Impl() throws RecognitionException { + // $ANTLR start "rule__DisjunctiveExpression__Group_1_1_4__1__Impl" + // InternalSolverLanguageParser.g:5970:1: rule__DisjunctiveExpression__Group_1_1_4__1__Impl : ( ( rule__DisjunctiveExpression__CasesAssignment_1_1_4_1 ) ) ; + public final void rule__DisjunctiveExpression__Group_1_1_4__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:4527:1: ( ( ( rule__ImplicationExpression__Group_1__0 )? ) ) - // InternalSolverLanguageParser.g:4528:1: ( ( rule__ImplicationExpression__Group_1__0 )? ) + // InternalSolverLanguageParser.g:5974:1: ( ( ( rule__DisjunctiveExpression__CasesAssignment_1_1_4_1 ) ) ) + // InternalSolverLanguageParser.g:5975:1: ( ( rule__DisjunctiveExpression__CasesAssignment_1_1_4_1 ) ) { - // InternalSolverLanguageParser.g:4528:1: ( ( rule__ImplicationExpression__Group_1__0 )? ) - // InternalSolverLanguageParser.g:4529:2: ( rule__ImplicationExpression__Group_1__0 )? + // InternalSolverLanguageParser.g:5975:1: ( ( rule__DisjunctiveExpression__CasesAssignment_1_1_4_1 ) ) + // InternalSolverLanguageParser.g:5976:2: ( rule__DisjunctiveExpression__CasesAssignment_1_1_4_1 ) { - before(grammarAccess.getImplicationExpressionAccess().getGroup_1()); - // InternalSolverLanguageParser.g:4530:2: ( rule__ImplicationExpression__Group_1__0 )? - int alt32=2; - int LA32_0 = input.LA(1); - - if ( (LA32_0==EqualsSignGreaterThanSign) ) { - alt32=1; - } - switch (alt32) { - case 1 : - // InternalSolverLanguageParser.g:4530:3: rule__ImplicationExpression__Group_1__0 - { - pushFollow(FOLLOW_2); - rule__ImplicationExpression__Group_1__0(); - - state._fsp--; + before(grammarAccess.getDisjunctiveExpressionAccess().getCasesAssignment_1_1_4_1()); + // InternalSolverLanguageParser.g:5977:2: ( rule__DisjunctiveExpression__CasesAssignment_1_1_4_1 ) + // InternalSolverLanguageParser.g:5977:3: rule__DisjunctiveExpression__CasesAssignment_1_1_4_1 + { + pushFollow(FOLLOW_2); + rule__DisjunctiveExpression__CasesAssignment_1_1_4_1(); + state._fsp--; - } - break; } - after(grammarAccess.getImplicationExpressionAccess().getGroup_1()); + after(grammarAccess.getDisjunctiveExpressionAccess().getCasesAssignment_1_1_4_1()); } @@ -14209,26 +18623,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ImplicationExpression__Group__1__Impl" + // $ANTLR end "rule__DisjunctiveExpression__Group_1_1_4__1__Impl" - // $ANTLR start "rule__ImplicationExpression__Group_1__0" - // InternalSolverLanguageParser.g:4539:1: rule__ImplicationExpression__Group_1__0 : rule__ImplicationExpression__Group_1__0__Impl rule__ImplicationExpression__Group_1__1 ; - public final void rule__ImplicationExpression__Group_1__0() throws RecognitionException { + // $ANTLR start "rule__Case__Group__0" + // InternalSolverLanguageParser.g:5986:1: rule__Case__Group__0 : rule__Case__Group__0__Impl rule__Case__Group__1 ; + public final void rule__Case__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:4543:1: ( rule__ImplicationExpression__Group_1__0__Impl rule__ImplicationExpression__Group_1__1 ) - // InternalSolverLanguageParser.g:4544:2: rule__ImplicationExpression__Group_1__0__Impl rule__ImplicationExpression__Group_1__1 + // InternalSolverLanguageParser.g:5990:1: ( rule__Case__Group__0__Impl rule__Case__Group__1 ) + // InternalSolverLanguageParser.g:5991:2: rule__Case__Group__0__Impl rule__Case__Group__1 { - pushFollow(FOLLOW_25); - rule__ImplicationExpression__Group_1__0__Impl(); + pushFollow(FOLLOW_34); + rule__Case__Group__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__ImplicationExpression__Group_1__1(); + rule__Case__Group__1(); state._fsp--; @@ -14247,29 +18661,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ImplicationExpression__Group_1__0" + // $ANTLR end "rule__Case__Group__0" - // $ANTLR start "rule__ImplicationExpression__Group_1__0__Impl" - // InternalSolverLanguageParser.g:4551:1: rule__ImplicationExpression__Group_1__0__Impl : ( () ) ; - public final void rule__ImplicationExpression__Group_1__0__Impl() throws RecognitionException { + // $ANTLR start "rule__Case__Group__0__Impl" + // InternalSolverLanguageParser.g:5998:1: rule__Case__Group__0__Impl : ( ( rule__Case__ConditionAssignment_0 ) ) ; + public final void rule__Case__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:4555:1: ( ( () ) ) - // InternalSolverLanguageParser.g:4556:1: ( () ) + // InternalSolverLanguageParser.g:6002:1: ( ( ( rule__Case__ConditionAssignment_0 ) ) ) + // InternalSolverLanguageParser.g:6003:1: ( ( rule__Case__ConditionAssignment_0 ) ) { - // InternalSolverLanguageParser.g:4556:1: ( () ) - // InternalSolverLanguageParser.g:4557:2: () + // InternalSolverLanguageParser.g:6003:1: ( ( rule__Case__ConditionAssignment_0 ) ) + // InternalSolverLanguageParser.g:6004:2: ( rule__Case__ConditionAssignment_0 ) { - before(grammarAccess.getImplicationExpressionAccess().getBinaryExpressionLeftAction_1_0()); - // InternalSolverLanguageParser.g:4558:2: () - // InternalSolverLanguageParser.g:4558:3: + before(grammarAccess.getCaseAccess().getConditionAssignment_0()); + // InternalSolverLanguageParser.g:6005:2: ( rule__Case__ConditionAssignment_0 ) + // InternalSolverLanguageParser.g:6005:3: rule__Case__ConditionAssignment_0 { + pushFollow(FOLLOW_2); + rule__Case__ConditionAssignment_0(); + + state._fsp--; + + } - after(grammarAccess.getImplicationExpressionAccess().getBinaryExpressionLeftAction_1_0()); + after(grammarAccess.getCaseAccess().getConditionAssignment_0()); } @@ -14277,6 +18697,10 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } finally { restoreStackSize(stackSize); @@ -14284,26 +18708,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ImplicationExpression__Group_1__0__Impl" + // $ANTLR end "rule__Case__Group__0__Impl" - // $ANTLR start "rule__ImplicationExpression__Group_1__1" - // InternalSolverLanguageParser.g:4566:1: rule__ImplicationExpression__Group_1__1 : rule__ImplicationExpression__Group_1__1__Impl rule__ImplicationExpression__Group_1__2 ; - public final void rule__ImplicationExpression__Group_1__1() throws RecognitionException { + // $ANTLR start "rule__Case__Group__1" + // InternalSolverLanguageParser.g:6013:1: rule__Case__Group__1 : rule__Case__Group__1__Impl rule__Case__Group__2 ; + public final void rule__Case__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:4570:1: ( rule__ImplicationExpression__Group_1__1__Impl rule__ImplicationExpression__Group_1__2 ) - // InternalSolverLanguageParser.g:4571:2: rule__ImplicationExpression__Group_1__1__Impl rule__ImplicationExpression__Group_1__2 + // InternalSolverLanguageParser.g:6017:1: ( rule__Case__Group__1__Impl rule__Case__Group__2 ) + // InternalSolverLanguageParser.g:6018:2: rule__Case__Group__1__Impl rule__Case__Group__2 { - pushFollow(FOLLOW_7); - rule__ImplicationExpression__Group_1__1__Impl(); + pushFollow(FOLLOW_12); + rule__Case__Group__1__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__ImplicationExpression__Group_1__2(); + rule__Case__Group__2(); state._fsp--; @@ -14322,35 +18746,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ImplicationExpression__Group_1__1" + // $ANTLR end "rule__Case__Group__1" - // $ANTLR start "rule__ImplicationExpression__Group_1__1__Impl" - // InternalSolverLanguageParser.g:4578:1: rule__ImplicationExpression__Group_1__1__Impl : ( ( rule__ImplicationExpression__OpAssignment_1_1 ) ) ; - public final void rule__ImplicationExpression__Group_1__1__Impl() throws RecognitionException { + // $ANTLR start "rule__Case__Group__1__Impl" + // InternalSolverLanguageParser.g:6025:1: rule__Case__Group__1__Impl : ( HyphenMinusGreaterThanSign ) ; + public final void rule__Case__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:4582:1: ( ( ( rule__ImplicationExpression__OpAssignment_1_1 ) ) ) - // InternalSolverLanguageParser.g:4583:1: ( ( rule__ImplicationExpression__OpAssignment_1_1 ) ) - { - // InternalSolverLanguageParser.g:4583:1: ( ( rule__ImplicationExpression__OpAssignment_1_1 ) ) - // InternalSolverLanguageParser.g:4584:2: ( rule__ImplicationExpression__OpAssignment_1_1 ) + // InternalSolverLanguageParser.g:6029:1: ( ( HyphenMinusGreaterThanSign ) ) + // InternalSolverLanguageParser.g:6030:1: ( HyphenMinusGreaterThanSign ) { - before(grammarAccess.getImplicationExpressionAccess().getOpAssignment_1_1()); - // InternalSolverLanguageParser.g:4585:2: ( rule__ImplicationExpression__OpAssignment_1_1 ) - // InternalSolverLanguageParser.g:4585:3: rule__ImplicationExpression__OpAssignment_1_1 + // InternalSolverLanguageParser.g:6030:1: ( HyphenMinusGreaterThanSign ) + // InternalSolverLanguageParser.g:6031:2: HyphenMinusGreaterThanSign { - pushFollow(FOLLOW_2); - rule__ImplicationExpression__OpAssignment_1_1(); - - state._fsp--; - - - } - - after(grammarAccess.getImplicationExpressionAccess().getOpAssignment_1_1()); + before(grammarAccess.getCaseAccess().getHyphenMinusGreaterThanSignKeyword_1()); + match(input,HyphenMinusGreaterThanSign,FOLLOW_2); + after(grammarAccess.getCaseAccess().getHyphenMinusGreaterThanSignKeyword_1()); } @@ -14369,21 +18783,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ImplicationExpression__Group_1__1__Impl" + // $ANTLR end "rule__Case__Group__1__Impl" - // $ANTLR start "rule__ImplicationExpression__Group_1__2" - // InternalSolverLanguageParser.g:4593:1: rule__ImplicationExpression__Group_1__2 : rule__ImplicationExpression__Group_1__2__Impl ; - public final void rule__ImplicationExpression__Group_1__2() throws RecognitionException { + // $ANTLR start "rule__Case__Group__2" + // InternalSolverLanguageParser.g:6040:1: rule__Case__Group__2 : rule__Case__Group__2__Impl ; + public final void rule__Case__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:4597:1: ( rule__ImplicationExpression__Group_1__2__Impl ) - // InternalSolverLanguageParser.g:4598:2: rule__ImplicationExpression__Group_1__2__Impl + // InternalSolverLanguageParser.g:6044:1: ( rule__Case__Group__2__Impl ) + // InternalSolverLanguageParser.g:6045:2: rule__Case__Group__2__Impl { pushFollow(FOLLOW_2); - rule__ImplicationExpression__Group_1__2__Impl(); + rule__Case__Group__2__Impl(); state._fsp--; @@ -14402,35 +18816,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ImplicationExpression__Group_1__2" + // $ANTLR end "rule__Case__Group__2" - // $ANTLR start "rule__ImplicationExpression__Group_1__2__Impl" - // InternalSolverLanguageParser.g:4604:1: rule__ImplicationExpression__Group_1__2__Impl : ( ( rule__ImplicationExpression__RightAssignment_1_2 ) ) ; - public final void rule__ImplicationExpression__Group_1__2__Impl() throws RecognitionException { + // $ANTLR start "rule__Case__Group__2__Impl" + // InternalSolverLanguageParser.g:6051:1: rule__Case__Group__2__Impl : ( ( rule__Case__BodyAssignment_2 ) ) ; + public final void rule__Case__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:4608:1: ( ( ( rule__ImplicationExpression__RightAssignment_1_2 ) ) ) - // InternalSolverLanguageParser.g:4609:1: ( ( rule__ImplicationExpression__RightAssignment_1_2 ) ) + // InternalSolverLanguageParser.g:6055:1: ( ( ( rule__Case__BodyAssignment_2 ) ) ) + // InternalSolverLanguageParser.g:6056:1: ( ( rule__Case__BodyAssignment_2 ) ) { - // InternalSolverLanguageParser.g:4609:1: ( ( rule__ImplicationExpression__RightAssignment_1_2 ) ) - // InternalSolverLanguageParser.g:4610:2: ( rule__ImplicationExpression__RightAssignment_1_2 ) + // InternalSolverLanguageParser.g:6056:1: ( ( rule__Case__BodyAssignment_2 ) ) + // InternalSolverLanguageParser.g:6057:2: ( rule__Case__BodyAssignment_2 ) { - before(grammarAccess.getImplicationExpressionAccess().getRightAssignment_1_2()); - // InternalSolverLanguageParser.g:4611:2: ( rule__ImplicationExpression__RightAssignment_1_2 ) - // InternalSolverLanguageParser.g:4611:3: rule__ImplicationExpression__RightAssignment_1_2 + before(grammarAccess.getCaseAccess().getBodyAssignment_2()); + // InternalSolverLanguageParser.g:6058:2: ( rule__Case__BodyAssignment_2 ) + // InternalSolverLanguageParser.g:6058:3: rule__Case__BodyAssignment_2 { pushFollow(FOLLOW_2); - rule__ImplicationExpression__RightAssignment_1_2(); + rule__Case__BodyAssignment_2(); state._fsp--; } - after(grammarAccess.getImplicationExpressionAccess().getRightAssignment_1_2()); + after(grammarAccess.getCaseAccess().getBodyAssignment_2()); } @@ -14449,26 +18863,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ImplicationExpression__Group_1__2__Impl" + // $ANTLR end "rule__Case__Group__2__Impl" - // $ANTLR start "rule__DisjunctiveExpression__Group__0" - // InternalSolverLanguageParser.g:4620:1: rule__DisjunctiveExpression__Group__0 : rule__DisjunctiveExpression__Group__0__Impl rule__DisjunctiveExpression__Group__1 ; - public final void rule__DisjunctiveExpression__Group__0() throws RecognitionException { + // $ANTLR start "rule__ConjunctiveExpression__Group__0" + // InternalSolverLanguageParser.g:6067:1: rule__ConjunctiveExpression__Group__0 : rule__ConjunctiveExpression__Group__0__Impl rule__ConjunctiveExpression__Group__1 ; + public final void rule__ConjunctiveExpression__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:4624:1: ( rule__DisjunctiveExpression__Group__0__Impl rule__DisjunctiveExpression__Group__1 ) - // InternalSolverLanguageParser.g:4625:2: rule__DisjunctiveExpression__Group__0__Impl rule__DisjunctiveExpression__Group__1 + // InternalSolverLanguageParser.g:6071:1: ( rule__ConjunctiveExpression__Group__0__Impl rule__ConjunctiveExpression__Group__1 ) + // InternalSolverLanguageParser.g:6072:2: rule__ConjunctiveExpression__Group__0__Impl rule__ConjunctiveExpression__Group__1 { - pushFollow(FOLLOW_26); - rule__DisjunctiveExpression__Group__0__Impl(); + pushFollow(FOLLOW_35); + rule__ConjunctiveExpression__Group__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__DisjunctiveExpression__Group__1(); + rule__ConjunctiveExpression__Group__1(); state._fsp--; @@ -14487,29 +18901,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__DisjunctiveExpression__Group__0" + // $ANTLR end "rule__ConjunctiveExpression__Group__0" - // $ANTLR start "rule__DisjunctiveExpression__Group__0__Impl" - // InternalSolverLanguageParser.g:4632:1: rule__DisjunctiveExpression__Group__0__Impl : ( ruleConjunctiveExpression ) ; - public final void rule__DisjunctiveExpression__Group__0__Impl() throws RecognitionException { + // $ANTLR start "rule__ConjunctiveExpression__Group__0__Impl" + // InternalSolverLanguageParser.g:6079:1: rule__ConjunctiveExpression__Group__0__Impl : ( ruleComparisonExpression ) ; + public final void rule__ConjunctiveExpression__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:4636:1: ( ( ruleConjunctiveExpression ) ) - // InternalSolverLanguageParser.g:4637:1: ( ruleConjunctiveExpression ) + // InternalSolverLanguageParser.g:6083:1: ( ( ruleComparisonExpression ) ) + // InternalSolverLanguageParser.g:6084:1: ( ruleComparisonExpression ) { - // InternalSolverLanguageParser.g:4637:1: ( ruleConjunctiveExpression ) - // InternalSolverLanguageParser.g:4638:2: ruleConjunctiveExpression + // InternalSolverLanguageParser.g:6084:1: ( ruleComparisonExpression ) + // InternalSolverLanguageParser.g:6085:2: ruleComparisonExpression { - before(grammarAccess.getDisjunctiveExpressionAccess().getConjunctiveExpressionParserRuleCall_0()); + before(grammarAccess.getConjunctiveExpressionAccess().getComparisonExpressionParserRuleCall_0()); pushFollow(FOLLOW_2); - ruleConjunctiveExpression(); + ruleComparisonExpression(); state._fsp--; - after(grammarAccess.getDisjunctiveExpressionAccess().getConjunctiveExpressionParserRuleCall_0()); + after(grammarAccess.getConjunctiveExpressionAccess().getComparisonExpressionParserRuleCall_0()); } @@ -14528,21 +18942,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__DisjunctiveExpression__Group__0__Impl" + // $ANTLR end "rule__ConjunctiveExpression__Group__0__Impl" - // $ANTLR start "rule__DisjunctiveExpression__Group__1" - // InternalSolverLanguageParser.g:4647:1: rule__DisjunctiveExpression__Group__1 : rule__DisjunctiveExpression__Group__1__Impl ; - public final void rule__DisjunctiveExpression__Group__1() throws RecognitionException { + // $ANTLR start "rule__ConjunctiveExpression__Group__1" + // InternalSolverLanguageParser.g:6094:1: rule__ConjunctiveExpression__Group__1 : rule__ConjunctiveExpression__Group__1__Impl ; + public final void rule__ConjunctiveExpression__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:4651:1: ( rule__DisjunctiveExpression__Group__1__Impl ) - // InternalSolverLanguageParser.g:4652:2: rule__DisjunctiveExpression__Group__1__Impl + // InternalSolverLanguageParser.g:6098:1: ( rule__ConjunctiveExpression__Group__1__Impl ) + // InternalSolverLanguageParser.g:6099:2: rule__ConjunctiveExpression__Group__1__Impl { pushFollow(FOLLOW_2); - rule__DisjunctiveExpression__Group__1__Impl(); + rule__ConjunctiveExpression__Group__1__Impl(); state._fsp--; @@ -14561,36 +18975,36 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__DisjunctiveExpression__Group__1" + // $ANTLR end "rule__ConjunctiveExpression__Group__1" - // $ANTLR start "rule__DisjunctiveExpression__Group__1__Impl" - // InternalSolverLanguageParser.g:4658:1: rule__DisjunctiveExpression__Group__1__Impl : ( ( rule__DisjunctiveExpression__Alternatives_1 )? ) ; - public final void rule__DisjunctiveExpression__Group__1__Impl() throws RecognitionException { + // $ANTLR start "rule__ConjunctiveExpression__Group__1__Impl" + // InternalSolverLanguageParser.g:6105:1: rule__ConjunctiveExpression__Group__1__Impl : ( ( rule__ConjunctiveExpression__Group_1__0 )? ) ; + public final void rule__ConjunctiveExpression__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:4662:1: ( ( ( rule__DisjunctiveExpression__Alternatives_1 )? ) ) - // InternalSolverLanguageParser.g:4663:1: ( ( rule__DisjunctiveExpression__Alternatives_1 )? ) + // InternalSolverLanguageParser.g:6109:1: ( ( ( rule__ConjunctiveExpression__Group_1__0 )? ) ) + // InternalSolverLanguageParser.g:6110:1: ( ( rule__ConjunctiveExpression__Group_1__0 )? ) { - // InternalSolverLanguageParser.g:4663:1: ( ( rule__DisjunctiveExpression__Alternatives_1 )? ) - // InternalSolverLanguageParser.g:4664:2: ( rule__DisjunctiveExpression__Alternatives_1 )? + // InternalSolverLanguageParser.g:6110:1: ( ( rule__ConjunctiveExpression__Group_1__0 )? ) + // InternalSolverLanguageParser.g:6111:2: ( rule__ConjunctiveExpression__Group_1__0 )? { - before(grammarAccess.getDisjunctiveExpressionAccess().getAlternatives_1()); - // InternalSolverLanguageParser.g:4665:2: ( rule__DisjunctiveExpression__Alternatives_1 )? - int alt33=2; - int LA33_0 = input.LA(1); + before(grammarAccess.getConjunctiveExpressionAccess().getGroup_1()); + // InternalSolverLanguageParser.g:6112:2: ( rule__ConjunctiveExpression__Group_1__0 )? + int alt44=2; + int LA44_0 = input.LA(1); - if ( (LA33_0==HyphenMinusGreaterThanSign||LA33_0==Semicolon) ) { - alt33=1; + if ( (LA44_0==Comma) ) { + alt44=1; } - switch (alt33) { + switch (alt44) { case 1 : - // InternalSolverLanguageParser.g:4665:3: rule__DisjunctiveExpression__Alternatives_1 + // InternalSolverLanguageParser.g:6112:3: rule__ConjunctiveExpression__Group_1__0 { pushFollow(FOLLOW_2); - rule__DisjunctiveExpression__Alternatives_1(); + rule__ConjunctiveExpression__Group_1__0(); state._fsp--; @@ -14600,7 +19014,7 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } - after(grammarAccess.getDisjunctiveExpressionAccess().getAlternatives_1()); + after(grammarAccess.getConjunctiveExpressionAccess().getGroup_1()); } @@ -14619,26 +19033,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__DisjunctiveExpression__Group__1__Impl" + // $ANTLR end "rule__ConjunctiveExpression__Group__1__Impl" - // $ANTLR start "rule__DisjunctiveExpression__Group_1_0__0" - // InternalSolverLanguageParser.g:4674:1: rule__DisjunctiveExpression__Group_1_0__0 : rule__DisjunctiveExpression__Group_1_0__0__Impl rule__DisjunctiveExpression__Group_1_0__1 ; - public final void rule__DisjunctiveExpression__Group_1_0__0() throws RecognitionException { + // $ANTLR start "rule__ConjunctiveExpression__Group_1__0" + // InternalSolverLanguageParser.g:6121:1: rule__ConjunctiveExpression__Group_1__0 : rule__ConjunctiveExpression__Group_1__0__Impl rule__ConjunctiveExpression__Group_1__1 ; + public final void rule__ConjunctiveExpression__Group_1__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:4678:1: ( rule__DisjunctiveExpression__Group_1_0__0__Impl rule__DisjunctiveExpression__Group_1_0__1 ) - // InternalSolverLanguageParser.g:4679:2: rule__DisjunctiveExpression__Group_1_0__0__Impl rule__DisjunctiveExpression__Group_1_0__1 + // InternalSolverLanguageParser.g:6125:1: ( rule__ConjunctiveExpression__Group_1__0__Impl rule__ConjunctiveExpression__Group_1__1 ) + // InternalSolverLanguageParser.g:6126:2: rule__ConjunctiveExpression__Group_1__0__Impl rule__ConjunctiveExpression__Group_1__1 { - pushFollow(FOLLOW_27); - rule__DisjunctiveExpression__Group_1_0__0__Impl(); + pushFollow(FOLLOW_35); + rule__ConjunctiveExpression__Group_1__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__DisjunctiveExpression__Group_1_0__1(); + rule__ConjunctiveExpression__Group_1__1(); state._fsp--; @@ -14657,29 +19071,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__DisjunctiveExpression__Group_1_0__0" + // $ANTLR end "rule__ConjunctiveExpression__Group_1__0" - // $ANTLR start "rule__DisjunctiveExpression__Group_1_0__0__Impl" - // InternalSolverLanguageParser.g:4686:1: rule__DisjunctiveExpression__Group_1_0__0__Impl : ( () ) ; - public final void rule__DisjunctiveExpression__Group_1_0__0__Impl() throws RecognitionException { + // $ANTLR start "rule__ConjunctiveExpression__Group_1__0__Impl" + // InternalSolverLanguageParser.g:6133:1: rule__ConjunctiveExpression__Group_1__0__Impl : ( () ) ; + public final void rule__ConjunctiveExpression__Group_1__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:4690:1: ( ( () ) ) - // InternalSolverLanguageParser.g:4691:1: ( () ) + // InternalSolverLanguageParser.g:6137:1: ( ( () ) ) + // InternalSolverLanguageParser.g:6138:1: ( () ) { - // InternalSolverLanguageParser.g:4691:1: ( () ) - // InternalSolverLanguageParser.g:4692:2: () + // InternalSolverLanguageParser.g:6138:1: ( () ) + // InternalSolverLanguageParser.g:6139:2: () { - before(grammarAccess.getDisjunctiveExpressionAccess().getDisjunctionChildrenAction_1_0_0()); - // InternalSolverLanguageParser.g:4693:2: () - // InternalSolverLanguageParser.g:4693:3: + before(grammarAccess.getConjunctiveExpressionAccess().getConjunctionChildrenAction_1_0()); + // InternalSolverLanguageParser.g:6140:2: () + // InternalSolverLanguageParser.g:6140:3: { } - after(grammarAccess.getDisjunctiveExpressionAccess().getDisjunctionChildrenAction_1_0_0()); + after(grammarAccess.getConjunctiveExpressionAccess().getConjunctionChildrenAction_1_0()); } @@ -14694,21 +19108,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__DisjunctiveExpression__Group_1_0__0__Impl" + // $ANTLR end "rule__ConjunctiveExpression__Group_1__0__Impl" - // $ANTLR start "rule__DisjunctiveExpression__Group_1_0__1" - // InternalSolverLanguageParser.g:4701:1: rule__DisjunctiveExpression__Group_1_0__1 : rule__DisjunctiveExpression__Group_1_0__1__Impl ; - public final void rule__DisjunctiveExpression__Group_1_0__1() throws RecognitionException { + // $ANTLR start "rule__ConjunctiveExpression__Group_1__1" + // InternalSolverLanguageParser.g:6148:1: rule__ConjunctiveExpression__Group_1__1 : rule__ConjunctiveExpression__Group_1__1__Impl ; + public final void rule__ConjunctiveExpression__Group_1__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:4705:1: ( rule__DisjunctiveExpression__Group_1_0__1__Impl ) - // InternalSolverLanguageParser.g:4706:2: rule__DisjunctiveExpression__Group_1_0__1__Impl + // InternalSolverLanguageParser.g:6152:1: ( rule__ConjunctiveExpression__Group_1__1__Impl ) + // InternalSolverLanguageParser.g:6153:2: rule__ConjunctiveExpression__Group_1__1__Impl { pushFollow(FOLLOW_2); - rule__DisjunctiveExpression__Group_1_0__1__Impl(); + rule__ConjunctiveExpression__Group_1__1__Impl(); state._fsp--; @@ -14727,62 +19141,62 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__DisjunctiveExpression__Group_1_0__1" + // $ANTLR end "rule__ConjunctiveExpression__Group_1__1" - // $ANTLR start "rule__DisjunctiveExpression__Group_1_0__1__Impl" - // InternalSolverLanguageParser.g:4712:1: rule__DisjunctiveExpression__Group_1_0__1__Impl : ( ( ( rule__DisjunctiveExpression__Group_1_0_1__0 ) ) ( ( rule__DisjunctiveExpression__Group_1_0_1__0 )* ) ) ; - public final void rule__DisjunctiveExpression__Group_1_0__1__Impl() throws RecognitionException { + // $ANTLR start "rule__ConjunctiveExpression__Group_1__1__Impl" + // InternalSolverLanguageParser.g:6159:1: rule__ConjunctiveExpression__Group_1__1__Impl : ( ( ( rule__ConjunctiveExpression__Group_1_1__0 ) ) ( ( rule__ConjunctiveExpression__Group_1_1__0 )* ) ) ; + public final void rule__ConjunctiveExpression__Group_1__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:4716:1: ( ( ( ( rule__DisjunctiveExpression__Group_1_0_1__0 ) ) ( ( rule__DisjunctiveExpression__Group_1_0_1__0 )* ) ) ) - // InternalSolverLanguageParser.g:4717:1: ( ( ( rule__DisjunctiveExpression__Group_1_0_1__0 ) ) ( ( rule__DisjunctiveExpression__Group_1_0_1__0 )* ) ) + // InternalSolverLanguageParser.g:6163:1: ( ( ( ( rule__ConjunctiveExpression__Group_1_1__0 ) ) ( ( rule__ConjunctiveExpression__Group_1_1__0 )* ) ) ) + // InternalSolverLanguageParser.g:6164:1: ( ( ( rule__ConjunctiveExpression__Group_1_1__0 ) ) ( ( rule__ConjunctiveExpression__Group_1_1__0 )* ) ) { - // InternalSolverLanguageParser.g:4717:1: ( ( ( rule__DisjunctiveExpression__Group_1_0_1__0 ) ) ( ( rule__DisjunctiveExpression__Group_1_0_1__0 )* ) ) - // InternalSolverLanguageParser.g:4718:2: ( ( rule__DisjunctiveExpression__Group_1_0_1__0 ) ) ( ( rule__DisjunctiveExpression__Group_1_0_1__0 )* ) + // InternalSolverLanguageParser.g:6164:1: ( ( ( rule__ConjunctiveExpression__Group_1_1__0 ) ) ( ( rule__ConjunctiveExpression__Group_1_1__0 )* ) ) + // InternalSolverLanguageParser.g:6165:2: ( ( rule__ConjunctiveExpression__Group_1_1__0 ) ) ( ( rule__ConjunctiveExpression__Group_1_1__0 )* ) { - // InternalSolverLanguageParser.g:4718:2: ( ( rule__DisjunctiveExpression__Group_1_0_1__0 ) ) - // InternalSolverLanguageParser.g:4719:3: ( rule__DisjunctiveExpression__Group_1_0_1__0 ) + // InternalSolverLanguageParser.g:6165:2: ( ( rule__ConjunctiveExpression__Group_1_1__0 ) ) + // InternalSolverLanguageParser.g:6166:3: ( rule__ConjunctiveExpression__Group_1_1__0 ) { - before(grammarAccess.getDisjunctiveExpressionAccess().getGroup_1_0_1()); - // InternalSolverLanguageParser.g:4720:3: ( rule__DisjunctiveExpression__Group_1_0_1__0 ) - // InternalSolverLanguageParser.g:4720:4: rule__DisjunctiveExpression__Group_1_0_1__0 + before(grammarAccess.getConjunctiveExpressionAccess().getGroup_1_1()); + // InternalSolverLanguageParser.g:6167:3: ( rule__ConjunctiveExpression__Group_1_1__0 ) + // InternalSolverLanguageParser.g:6167:4: rule__ConjunctiveExpression__Group_1_1__0 { - pushFollow(FOLLOW_28); - rule__DisjunctiveExpression__Group_1_0_1__0(); + pushFollow(FOLLOW_29); + rule__ConjunctiveExpression__Group_1_1__0(); state._fsp--; } - after(grammarAccess.getDisjunctiveExpressionAccess().getGroup_1_0_1()); + after(grammarAccess.getConjunctiveExpressionAccess().getGroup_1_1()); } - // InternalSolverLanguageParser.g:4723:2: ( ( rule__DisjunctiveExpression__Group_1_0_1__0 )* ) - // InternalSolverLanguageParser.g:4724:3: ( rule__DisjunctiveExpression__Group_1_0_1__0 )* + // InternalSolverLanguageParser.g:6170:2: ( ( rule__ConjunctiveExpression__Group_1_1__0 )* ) + // InternalSolverLanguageParser.g:6171:3: ( rule__ConjunctiveExpression__Group_1_1__0 )* { - before(grammarAccess.getDisjunctiveExpressionAccess().getGroup_1_0_1()); - // InternalSolverLanguageParser.g:4725:3: ( rule__DisjunctiveExpression__Group_1_0_1__0 )* - loop34: + before(grammarAccess.getConjunctiveExpressionAccess().getGroup_1_1()); + // InternalSolverLanguageParser.g:6172:3: ( rule__ConjunctiveExpression__Group_1_1__0 )* + loop45: do { - int alt34=2; - int LA34_0 = input.LA(1); + int alt45=2; + int LA45_0 = input.LA(1); - if ( (LA34_0==Semicolon) ) { - alt34=1; + if ( (LA45_0==Comma) ) { + alt45=1; } - switch (alt34) { + switch (alt45) { case 1 : - // InternalSolverLanguageParser.g:4725:4: rule__DisjunctiveExpression__Group_1_0_1__0 + // InternalSolverLanguageParser.g:6172:4: rule__ConjunctiveExpression__Group_1_1__0 { - pushFollow(FOLLOW_28); - rule__DisjunctiveExpression__Group_1_0_1__0(); + pushFollow(FOLLOW_29); + rule__ConjunctiveExpression__Group_1_1__0(); state._fsp--; @@ -14791,11 +19205,11 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP break; default : - break loop34; + break loop45; } } while (true); - after(grammarAccess.getDisjunctiveExpressionAccess().getGroup_1_0_1()); + after(grammarAccess.getConjunctiveExpressionAccess().getGroup_1_1()); } @@ -14817,26 +19231,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__DisjunctiveExpression__Group_1_0__1__Impl" + // $ANTLR end "rule__ConjunctiveExpression__Group_1__1__Impl" - // $ANTLR start "rule__DisjunctiveExpression__Group_1_0_1__0" - // InternalSolverLanguageParser.g:4735:1: rule__DisjunctiveExpression__Group_1_0_1__0 : rule__DisjunctiveExpression__Group_1_0_1__0__Impl rule__DisjunctiveExpression__Group_1_0_1__1 ; - public final void rule__DisjunctiveExpression__Group_1_0_1__0() throws RecognitionException { + // $ANTLR start "rule__ConjunctiveExpression__Group_1_1__0" + // InternalSolverLanguageParser.g:6182:1: rule__ConjunctiveExpression__Group_1_1__0 : rule__ConjunctiveExpression__Group_1_1__0__Impl rule__ConjunctiveExpression__Group_1_1__1 ; + public final void rule__ConjunctiveExpression__Group_1_1__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:4739:1: ( rule__DisjunctiveExpression__Group_1_0_1__0__Impl rule__DisjunctiveExpression__Group_1_0_1__1 ) - // InternalSolverLanguageParser.g:4740:2: rule__DisjunctiveExpression__Group_1_0_1__0__Impl rule__DisjunctiveExpression__Group_1_0_1__1 + // InternalSolverLanguageParser.g:6186:1: ( rule__ConjunctiveExpression__Group_1_1__0__Impl rule__ConjunctiveExpression__Group_1_1__1 ) + // InternalSolverLanguageParser.g:6187:2: rule__ConjunctiveExpression__Group_1_1__0__Impl rule__ConjunctiveExpression__Group_1_1__1 { - pushFollow(FOLLOW_7); - rule__DisjunctiveExpression__Group_1_0_1__0__Impl(); + pushFollow(FOLLOW_12); + rule__ConjunctiveExpression__Group_1_1__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__DisjunctiveExpression__Group_1_0_1__1(); + rule__ConjunctiveExpression__Group_1_1__1(); state._fsp--; @@ -14855,25 +19269,105 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__DisjunctiveExpression__Group_1_0_1__0" + // $ANTLR end "rule__ConjunctiveExpression__Group_1_1__0" - // $ANTLR start "rule__DisjunctiveExpression__Group_1_0_1__0__Impl" - // InternalSolverLanguageParser.g:4747:1: rule__DisjunctiveExpression__Group_1_0_1__0__Impl : ( Semicolon ) ; - public final void rule__DisjunctiveExpression__Group_1_0_1__0__Impl() throws RecognitionException { + // $ANTLR start "rule__ConjunctiveExpression__Group_1_1__0__Impl" + // InternalSolverLanguageParser.g:6194:1: rule__ConjunctiveExpression__Group_1_1__0__Impl : ( Comma ) ; + public final void rule__ConjunctiveExpression__Group_1_1__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:6198:1: ( ( Comma ) ) + // InternalSolverLanguageParser.g:6199:1: ( Comma ) + { + // InternalSolverLanguageParser.g:6199:1: ( Comma ) + // InternalSolverLanguageParser.g:6200:2: Comma + { + before(grammarAccess.getConjunctiveExpressionAccess().getCommaKeyword_1_1_0()); + match(input,Comma,FOLLOW_2); + after(grammarAccess.getConjunctiveExpressionAccess().getCommaKeyword_1_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ConjunctiveExpression__Group_1_1__0__Impl" + + + // $ANTLR start "rule__ConjunctiveExpression__Group_1_1__1" + // InternalSolverLanguageParser.g:6209:1: rule__ConjunctiveExpression__Group_1_1__1 : rule__ConjunctiveExpression__Group_1_1__1__Impl ; + public final void rule__ConjunctiveExpression__Group_1_1__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:6213:1: ( rule__ConjunctiveExpression__Group_1_1__1__Impl ) + // InternalSolverLanguageParser.g:6214:2: rule__ConjunctiveExpression__Group_1_1__1__Impl + { + pushFollow(FOLLOW_2); + rule__ConjunctiveExpression__Group_1_1__1__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ConjunctiveExpression__Group_1_1__1" + + + // $ANTLR start "rule__ConjunctiveExpression__Group_1_1__1__Impl" + // InternalSolverLanguageParser.g:6220:1: rule__ConjunctiveExpression__Group_1_1__1__Impl : ( ( rule__ConjunctiveExpression__ChildrenAssignment_1_1_1 ) ) ; + public final void rule__ConjunctiveExpression__Group_1_1__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:4751:1: ( ( Semicolon ) ) - // InternalSolverLanguageParser.g:4752:1: ( Semicolon ) + // InternalSolverLanguageParser.g:6224:1: ( ( ( rule__ConjunctiveExpression__ChildrenAssignment_1_1_1 ) ) ) + // InternalSolverLanguageParser.g:6225:1: ( ( rule__ConjunctiveExpression__ChildrenAssignment_1_1_1 ) ) { - // InternalSolverLanguageParser.g:4752:1: ( Semicolon ) - // InternalSolverLanguageParser.g:4753:2: Semicolon + // InternalSolverLanguageParser.g:6225:1: ( ( rule__ConjunctiveExpression__ChildrenAssignment_1_1_1 ) ) + // InternalSolverLanguageParser.g:6226:2: ( rule__ConjunctiveExpression__ChildrenAssignment_1_1_1 ) { - before(grammarAccess.getDisjunctiveExpressionAccess().getSemicolonKeyword_1_0_1_0()); - match(input,Semicolon,FOLLOW_2); - after(grammarAccess.getDisjunctiveExpressionAccess().getSemicolonKeyword_1_0_1_0()); + before(grammarAccess.getConjunctiveExpressionAccess().getChildrenAssignment_1_1_1()); + // InternalSolverLanguageParser.g:6227:2: ( rule__ConjunctiveExpression__ChildrenAssignment_1_1_1 ) + // InternalSolverLanguageParser.g:6227:3: rule__ConjunctiveExpression__ChildrenAssignment_1_1_1 + { + pushFollow(FOLLOW_2); + rule__ConjunctiveExpression__ChildrenAssignment_1_1_1(); + + state._fsp--; + + + } + + after(grammarAccess.getConjunctiveExpressionAccess().getChildrenAssignment_1_1_1()); } @@ -14892,21 +19386,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__DisjunctiveExpression__Group_1_0_1__0__Impl" + // $ANTLR end "rule__ConjunctiveExpression__Group_1_1__1__Impl" - // $ANTLR start "rule__DisjunctiveExpression__Group_1_0_1__1" - // InternalSolverLanguageParser.g:4762:1: rule__DisjunctiveExpression__Group_1_0_1__1 : rule__DisjunctiveExpression__Group_1_0_1__1__Impl ; - public final void rule__DisjunctiveExpression__Group_1_0_1__1() throws RecognitionException { + // $ANTLR start "rule__ComparisonExpression__Group__0" + // InternalSolverLanguageParser.g:6236:1: rule__ComparisonExpression__Group__0 : rule__ComparisonExpression__Group__0__Impl rule__ComparisonExpression__Group__1 ; + public final void rule__ComparisonExpression__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:4766:1: ( rule__DisjunctiveExpression__Group_1_0_1__1__Impl ) - // InternalSolverLanguageParser.g:4767:2: rule__DisjunctiveExpression__Group_1_0_1__1__Impl + // InternalSolverLanguageParser.g:6240:1: ( rule__ComparisonExpression__Group__0__Impl rule__ComparisonExpression__Group__1 ) + // InternalSolverLanguageParser.g:6241:2: rule__ComparisonExpression__Group__0__Impl rule__ComparisonExpression__Group__1 { + pushFollow(FOLLOW_36); + rule__ComparisonExpression__Group__0__Impl(); + + state._fsp--; + pushFollow(FOLLOW_2); - rule__DisjunctiveExpression__Group_1_0_1__1__Impl(); + rule__ComparisonExpression__Group__1(); state._fsp--; @@ -14925,35 +19424,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__DisjunctiveExpression__Group_1_0_1__1" + // $ANTLR end "rule__ComparisonExpression__Group__0" - // $ANTLR start "rule__DisjunctiveExpression__Group_1_0_1__1__Impl" - // InternalSolverLanguageParser.g:4773:1: rule__DisjunctiveExpression__Group_1_0_1__1__Impl : ( ( rule__DisjunctiveExpression__ChildrenAssignment_1_0_1_1 ) ) ; - public final void rule__DisjunctiveExpression__Group_1_0_1__1__Impl() throws RecognitionException { + // $ANTLR start "rule__ComparisonExpression__Group__0__Impl" + // InternalSolverLanguageParser.g:6248:1: rule__ComparisonExpression__Group__0__Impl : ( ruleAdditiveExpression ) ; + public final void rule__ComparisonExpression__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:4777:1: ( ( ( rule__DisjunctiveExpression__ChildrenAssignment_1_0_1_1 ) ) ) - // InternalSolverLanguageParser.g:4778:1: ( ( rule__DisjunctiveExpression__ChildrenAssignment_1_0_1_1 ) ) + // InternalSolverLanguageParser.g:6252:1: ( ( ruleAdditiveExpression ) ) + // InternalSolverLanguageParser.g:6253:1: ( ruleAdditiveExpression ) { - // InternalSolverLanguageParser.g:4778:1: ( ( rule__DisjunctiveExpression__ChildrenAssignment_1_0_1_1 ) ) - // InternalSolverLanguageParser.g:4779:2: ( rule__DisjunctiveExpression__ChildrenAssignment_1_0_1_1 ) - { - before(grammarAccess.getDisjunctiveExpressionAccess().getChildrenAssignment_1_0_1_1()); - // InternalSolverLanguageParser.g:4780:2: ( rule__DisjunctiveExpression__ChildrenAssignment_1_0_1_1 ) - // InternalSolverLanguageParser.g:4780:3: rule__DisjunctiveExpression__ChildrenAssignment_1_0_1_1 + // InternalSolverLanguageParser.g:6253:1: ( ruleAdditiveExpression ) + // InternalSolverLanguageParser.g:6254:2: ruleAdditiveExpression { + before(grammarAccess.getComparisonExpressionAccess().getAdditiveExpressionParserRuleCall_0()); pushFollow(FOLLOW_2); - rule__DisjunctiveExpression__ChildrenAssignment_1_0_1_1(); + ruleAdditiveExpression(); state._fsp--; - - } - - after(grammarAccess.getDisjunctiveExpressionAccess().getChildrenAssignment_1_0_1_1()); + after(grammarAccess.getComparisonExpressionAccess().getAdditiveExpressionParserRuleCall_0()); } @@ -14972,26 +19465,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__DisjunctiveExpression__Group_1_0_1__1__Impl" + // $ANTLR end "rule__ComparisonExpression__Group__0__Impl" - // $ANTLR start "rule__DisjunctiveExpression__Group_1_1__0" - // InternalSolverLanguageParser.g:4789:1: rule__DisjunctiveExpression__Group_1_1__0 : rule__DisjunctiveExpression__Group_1_1__0__Impl rule__DisjunctiveExpression__Group_1_1__1 ; - public final void rule__DisjunctiveExpression__Group_1_1__0() throws RecognitionException { + // $ANTLR start "rule__ComparisonExpression__Group__1" + // InternalSolverLanguageParser.g:6263:1: rule__ComparisonExpression__Group__1 : rule__ComparisonExpression__Group__1__Impl ; + public final void rule__ComparisonExpression__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:4793:1: ( rule__DisjunctiveExpression__Group_1_1__0__Impl rule__DisjunctiveExpression__Group_1_1__1 ) - // InternalSolverLanguageParser.g:4794:2: rule__DisjunctiveExpression__Group_1_1__0__Impl rule__DisjunctiveExpression__Group_1_1__1 + // InternalSolverLanguageParser.g:6267:1: ( rule__ComparisonExpression__Group__1__Impl ) + // InternalSolverLanguageParser.g:6268:2: rule__ComparisonExpression__Group__1__Impl { - pushFollow(FOLLOW_26); - rule__DisjunctiveExpression__Group_1_1__0__Impl(); - - state._fsp--; - pushFollow(FOLLOW_2); - rule__DisjunctiveExpression__Group_1_1__1(); + rule__ComparisonExpression__Group__1__Impl(); state._fsp--; @@ -15010,29 +19498,46 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__DisjunctiveExpression__Group_1_1__0" + // $ANTLR end "rule__ComparisonExpression__Group__1" - // $ANTLR start "rule__DisjunctiveExpression__Group_1_1__0__Impl" - // InternalSolverLanguageParser.g:4801:1: rule__DisjunctiveExpression__Group_1_1__0__Impl : ( () ) ; - public final void rule__DisjunctiveExpression__Group_1_1__0__Impl() throws RecognitionException { + // $ANTLR start "rule__ComparisonExpression__Group__1__Impl" + // InternalSolverLanguageParser.g:6274:1: rule__ComparisonExpression__Group__1__Impl : ( ( rule__ComparisonExpression__Group_1__0 )? ) ; + public final void rule__ComparisonExpression__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:4805:1: ( ( () ) ) - // InternalSolverLanguageParser.g:4806:1: ( () ) - { - // InternalSolverLanguageParser.g:4806:1: ( () ) - // InternalSolverLanguageParser.g:4807:2: () + // InternalSolverLanguageParser.g:6278:1: ( ( ( rule__ComparisonExpression__Group_1__0 )? ) ) + // InternalSolverLanguageParser.g:6279:1: ( ( rule__ComparisonExpression__Group_1__0 )? ) { - before(grammarAccess.getDisjunctiveExpressionAccess().getCaseConditionAction_1_1_0()); - // InternalSolverLanguageParser.g:4808:2: () - // InternalSolverLanguageParser.g:4808:3: + // InternalSolverLanguageParser.g:6279:1: ( ( rule__ComparisonExpression__Group_1__0 )? ) + // InternalSolverLanguageParser.g:6280:2: ( rule__ComparisonExpression__Group_1__0 )? { + before(grammarAccess.getComparisonExpressionAccess().getGroup_1()); + // InternalSolverLanguageParser.g:6281:2: ( rule__ComparisonExpression__Group_1__0 )? + int alt46=2; + int LA46_0 = input.LA(1); + + if ( (LA46_0==ExclamationMarkEqualsSign||(LA46_0>=LessThanSignEqualsSign && LA46_0<=EqualsSignEqualsSign)||LA46_0==GreaterThanSignEqualsSign||LA46_0==In||LA46_0==LessThanSign||LA46_0==GreaterThanSign) ) { + alt46=1; } + switch (alt46) { + case 1 : + // InternalSolverLanguageParser.g:6281:3: rule__ComparisonExpression__Group_1__0 + { + pushFollow(FOLLOW_2); + rule__ComparisonExpression__Group_1__0(); - after(grammarAccess.getDisjunctiveExpressionAccess().getCaseConditionAction_1_1_0()); + state._fsp--; + + + } + break; + + } + + after(grammarAccess.getComparisonExpressionAccess().getGroup_1()); } @@ -15040,6 +19545,10 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } finally { restoreStackSize(stackSize); @@ -15047,26 +19556,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__DisjunctiveExpression__Group_1_1__0__Impl" + // $ANTLR end "rule__ComparisonExpression__Group__1__Impl" - // $ANTLR start "rule__DisjunctiveExpression__Group_1_1__1" - // InternalSolverLanguageParser.g:4816:1: rule__DisjunctiveExpression__Group_1_1__1 : rule__DisjunctiveExpression__Group_1_1__1__Impl rule__DisjunctiveExpression__Group_1_1__2 ; - public final void rule__DisjunctiveExpression__Group_1_1__1() throws RecognitionException { + // $ANTLR start "rule__ComparisonExpression__Group_1__0" + // InternalSolverLanguageParser.g:6290:1: rule__ComparisonExpression__Group_1__0 : rule__ComparisonExpression__Group_1__0__Impl rule__ComparisonExpression__Group_1__1 ; + public final void rule__ComparisonExpression__Group_1__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:4820:1: ( rule__DisjunctiveExpression__Group_1_1__1__Impl rule__DisjunctiveExpression__Group_1_1__2 ) - // InternalSolverLanguageParser.g:4821:2: rule__DisjunctiveExpression__Group_1_1__1__Impl rule__DisjunctiveExpression__Group_1_1__2 + // InternalSolverLanguageParser.g:6294:1: ( rule__ComparisonExpression__Group_1__0__Impl rule__ComparisonExpression__Group_1__1 ) + // InternalSolverLanguageParser.g:6295:2: rule__ComparisonExpression__Group_1__0__Impl rule__ComparisonExpression__Group_1__1 { - pushFollow(FOLLOW_7); - rule__DisjunctiveExpression__Group_1_1__1__Impl(); + pushFollow(FOLLOW_36); + rule__ComparisonExpression__Group_1__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__DisjunctiveExpression__Group_1_1__2(); + rule__ComparisonExpression__Group_1__1(); state._fsp--; @@ -15085,25 +19594,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__DisjunctiveExpression__Group_1_1__1" + // $ANTLR end "rule__ComparisonExpression__Group_1__0" - // $ANTLR start "rule__DisjunctiveExpression__Group_1_1__1__Impl" - // InternalSolverLanguageParser.g:4828:1: rule__DisjunctiveExpression__Group_1_1__1__Impl : ( HyphenMinusGreaterThanSign ) ; - public final void rule__DisjunctiveExpression__Group_1_1__1__Impl() throws RecognitionException { + // $ANTLR start "rule__ComparisonExpression__Group_1__0__Impl" + // InternalSolverLanguageParser.g:6302:1: rule__ComparisonExpression__Group_1__0__Impl : ( () ) ; + public final void rule__ComparisonExpression__Group_1__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:4832:1: ( ( HyphenMinusGreaterThanSign ) ) - // InternalSolverLanguageParser.g:4833:1: ( HyphenMinusGreaterThanSign ) + // InternalSolverLanguageParser.g:6306:1: ( ( () ) ) + // InternalSolverLanguageParser.g:6307:1: ( () ) { - // InternalSolverLanguageParser.g:4833:1: ( HyphenMinusGreaterThanSign ) - // InternalSolverLanguageParser.g:4834:2: HyphenMinusGreaterThanSign + // InternalSolverLanguageParser.g:6307:1: ( () ) + // InternalSolverLanguageParser.g:6308:2: () { - before(grammarAccess.getDisjunctiveExpressionAccess().getHyphenMinusGreaterThanSignKeyword_1_1_1()); - match(input,HyphenMinusGreaterThanSign,FOLLOW_2); - after(grammarAccess.getDisjunctiveExpressionAccess().getHyphenMinusGreaterThanSignKeyword_1_1_1()); + before(grammarAccess.getComparisonExpressionAccess().getBinaryExpressionLeftAction_1_0()); + // InternalSolverLanguageParser.g:6309:2: () + // InternalSolverLanguageParser.g:6309:3: + { + } + + after(grammarAccess.getComparisonExpressionAccess().getBinaryExpressionLeftAction_1_0()); } @@ -15111,10 +19624,6 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } finally { restoreStackSize(stackSize); @@ -15122,26 +19631,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__DisjunctiveExpression__Group_1_1__1__Impl" + // $ANTLR end "rule__ComparisonExpression__Group_1__0__Impl" - // $ANTLR start "rule__DisjunctiveExpression__Group_1_1__2" - // InternalSolverLanguageParser.g:4843:1: rule__DisjunctiveExpression__Group_1_1__2 : rule__DisjunctiveExpression__Group_1_1__2__Impl rule__DisjunctiveExpression__Group_1_1__3 ; - public final void rule__DisjunctiveExpression__Group_1_1__2() throws RecognitionException { + // $ANTLR start "rule__ComparisonExpression__Group_1__1" + // InternalSolverLanguageParser.g:6317:1: rule__ComparisonExpression__Group_1__1 : rule__ComparisonExpression__Group_1__1__Impl rule__ComparisonExpression__Group_1__2 ; + public final void rule__ComparisonExpression__Group_1__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:4847:1: ( rule__DisjunctiveExpression__Group_1_1__2__Impl rule__DisjunctiveExpression__Group_1_1__3 ) - // InternalSolverLanguageParser.g:4848:2: rule__DisjunctiveExpression__Group_1_1__2__Impl rule__DisjunctiveExpression__Group_1_1__3 + // InternalSolverLanguageParser.g:6321:1: ( rule__ComparisonExpression__Group_1__1__Impl rule__ComparisonExpression__Group_1__2 ) + // InternalSolverLanguageParser.g:6322:2: rule__ComparisonExpression__Group_1__1__Impl rule__ComparisonExpression__Group_1__2 { - pushFollow(FOLLOW_27); - rule__DisjunctiveExpression__Group_1_1__2__Impl(); + pushFollow(FOLLOW_12); + rule__ComparisonExpression__Group_1__1__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__DisjunctiveExpression__Group_1_1__3(); + rule__ComparisonExpression__Group_1__2(); state._fsp--; @@ -15160,35 +19669,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__DisjunctiveExpression__Group_1_1__2" + // $ANTLR end "rule__ComparisonExpression__Group_1__1" - // $ANTLR start "rule__DisjunctiveExpression__Group_1_1__2__Impl" - // InternalSolverLanguageParser.g:4855:1: rule__DisjunctiveExpression__Group_1_1__2__Impl : ( ( rule__DisjunctiveExpression__BodyAssignment_1_1_2 ) ) ; - public final void rule__DisjunctiveExpression__Group_1_1__2__Impl() throws RecognitionException { + // $ANTLR start "rule__ComparisonExpression__Group_1__1__Impl" + // InternalSolverLanguageParser.g:6329:1: rule__ComparisonExpression__Group_1__1__Impl : ( ( rule__ComparisonExpression__OpAssignment_1_1 ) ) ; + public final void rule__ComparisonExpression__Group_1__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:4859:1: ( ( ( rule__DisjunctiveExpression__BodyAssignment_1_1_2 ) ) ) - // InternalSolverLanguageParser.g:4860:1: ( ( rule__DisjunctiveExpression__BodyAssignment_1_1_2 ) ) + // InternalSolverLanguageParser.g:6333:1: ( ( ( rule__ComparisonExpression__OpAssignment_1_1 ) ) ) + // InternalSolverLanguageParser.g:6334:1: ( ( rule__ComparisonExpression__OpAssignment_1_1 ) ) { - // InternalSolverLanguageParser.g:4860:1: ( ( rule__DisjunctiveExpression__BodyAssignment_1_1_2 ) ) - // InternalSolverLanguageParser.g:4861:2: ( rule__DisjunctiveExpression__BodyAssignment_1_1_2 ) + // InternalSolverLanguageParser.g:6334:1: ( ( rule__ComparisonExpression__OpAssignment_1_1 ) ) + // InternalSolverLanguageParser.g:6335:2: ( rule__ComparisonExpression__OpAssignment_1_1 ) { - before(grammarAccess.getDisjunctiveExpressionAccess().getBodyAssignment_1_1_2()); - // InternalSolverLanguageParser.g:4862:2: ( rule__DisjunctiveExpression__BodyAssignment_1_1_2 ) - // InternalSolverLanguageParser.g:4862:3: rule__DisjunctiveExpression__BodyAssignment_1_1_2 + before(grammarAccess.getComparisonExpressionAccess().getOpAssignment_1_1()); + // InternalSolverLanguageParser.g:6336:2: ( rule__ComparisonExpression__OpAssignment_1_1 ) + // InternalSolverLanguageParser.g:6336:3: rule__ComparisonExpression__OpAssignment_1_1 { pushFollow(FOLLOW_2); - rule__DisjunctiveExpression__BodyAssignment_1_1_2(); + rule__ComparisonExpression__OpAssignment_1_1(); state._fsp--; } - after(grammarAccess.getDisjunctiveExpressionAccess().getBodyAssignment_1_1_2()); + after(grammarAccess.getComparisonExpressionAccess().getOpAssignment_1_1()); } @@ -15207,26 +19716,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__DisjunctiveExpression__Group_1_1__2__Impl" + // $ANTLR end "rule__ComparisonExpression__Group_1__1__Impl" - // $ANTLR start "rule__DisjunctiveExpression__Group_1_1__3" - // InternalSolverLanguageParser.g:4870:1: rule__DisjunctiveExpression__Group_1_1__3 : rule__DisjunctiveExpression__Group_1_1__3__Impl rule__DisjunctiveExpression__Group_1_1__4 ; - public final void rule__DisjunctiveExpression__Group_1_1__3() throws RecognitionException { + // $ANTLR start "rule__ComparisonExpression__Group_1__2" + // InternalSolverLanguageParser.g:6344:1: rule__ComparisonExpression__Group_1__2 : rule__ComparisonExpression__Group_1__2__Impl ; + public final void rule__ComparisonExpression__Group_1__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:4874:1: ( rule__DisjunctiveExpression__Group_1_1__3__Impl rule__DisjunctiveExpression__Group_1_1__4 ) - // InternalSolverLanguageParser.g:4875:2: rule__DisjunctiveExpression__Group_1_1__3__Impl rule__DisjunctiveExpression__Group_1_1__4 + // InternalSolverLanguageParser.g:6348:1: ( rule__ComparisonExpression__Group_1__2__Impl ) + // InternalSolverLanguageParser.g:6349:2: rule__ComparisonExpression__Group_1__2__Impl { - pushFollow(FOLLOW_27); - rule__DisjunctiveExpression__Group_1_1__3__Impl(); - - state._fsp--; - pushFollow(FOLLOW_2); - rule__DisjunctiveExpression__Group_1_1__4(); + rule__ComparisonExpression__Group_1__2__Impl(); state._fsp--; @@ -15245,29 +19749,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__DisjunctiveExpression__Group_1_1__3" + // $ANTLR end "rule__ComparisonExpression__Group_1__2" - // $ANTLR start "rule__DisjunctiveExpression__Group_1_1__3__Impl" - // InternalSolverLanguageParser.g:4882:1: rule__DisjunctiveExpression__Group_1_1__3__Impl : ( () ) ; - public final void rule__DisjunctiveExpression__Group_1_1__3__Impl() throws RecognitionException { + // $ANTLR start "rule__ComparisonExpression__Group_1__2__Impl" + // InternalSolverLanguageParser.g:6355:1: rule__ComparisonExpression__Group_1__2__Impl : ( ( rule__ComparisonExpression__RightAssignment_1_2 ) ) ; + public final void rule__ComparisonExpression__Group_1__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:4886:1: ( ( () ) ) - // InternalSolverLanguageParser.g:4887:1: ( () ) + // InternalSolverLanguageParser.g:6359:1: ( ( ( rule__ComparisonExpression__RightAssignment_1_2 ) ) ) + // InternalSolverLanguageParser.g:6360:1: ( ( rule__ComparisonExpression__RightAssignment_1_2 ) ) { - // InternalSolverLanguageParser.g:4887:1: ( () ) - // InternalSolverLanguageParser.g:4888:2: () + // InternalSolverLanguageParser.g:6360:1: ( ( rule__ComparisonExpression__RightAssignment_1_2 ) ) + // InternalSolverLanguageParser.g:6361:2: ( rule__ComparisonExpression__RightAssignment_1_2 ) { - before(grammarAccess.getDisjunctiveExpressionAccess().getSwitchCasesAction_1_1_3()); - // InternalSolverLanguageParser.g:4889:2: () - // InternalSolverLanguageParser.g:4889:3: + before(grammarAccess.getComparisonExpressionAccess().getRightAssignment_1_2()); + // InternalSolverLanguageParser.g:6362:2: ( rule__ComparisonExpression__RightAssignment_1_2 ) + // InternalSolverLanguageParser.g:6362:3: rule__ComparisonExpression__RightAssignment_1_2 { + pushFollow(FOLLOW_2); + rule__ComparisonExpression__RightAssignment_1_2(); + + state._fsp--; + + } - after(grammarAccess.getDisjunctiveExpressionAccess().getSwitchCasesAction_1_1_3()); + after(grammarAccess.getComparisonExpressionAccess().getRightAssignment_1_2()); } @@ -15275,6 +19785,10 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } finally { restoreStackSize(stackSize); @@ -15282,21 +19796,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__DisjunctiveExpression__Group_1_1__3__Impl" + // $ANTLR end "rule__ComparisonExpression__Group_1__2__Impl" - // $ANTLR start "rule__DisjunctiveExpression__Group_1_1__4" - // InternalSolverLanguageParser.g:4897:1: rule__DisjunctiveExpression__Group_1_1__4 : rule__DisjunctiveExpression__Group_1_1__4__Impl ; - public final void rule__DisjunctiveExpression__Group_1_1__4() throws RecognitionException { + // $ANTLR start "rule__AdditiveExpression__Group__0" + // InternalSolverLanguageParser.g:6371:1: rule__AdditiveExpression__Group__0 : rule__AdditiveExpression__Group__0__Impl rule__AdditiveExpression__Group__1 ; + public final void rule__AdditiveExpression__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:4901:1: ( rule__DisjunctiveExpression__Group_1_1__4__Impl ) - // InternalSolverLanguageParser.g:4902:2: rule__DisjunctiveExpression__Group_1_1__4__Impl + // InternalSolverLanguageParser.g:6375:1: ( rule__AdditiveExpression__Group__0__Impl rule__AdditiveExpression__Group__1 ) + // InternalSolverLanguageParser.g:6376:2: rule__AdditiveExpression__Group__0__Impl rule__AdditiveExpression__Group__1 { + pushFollow(FOLLOW_37); + rule__AdditiveExpression__Group__0__Impl(); + + state._fsp--; + pushFollow(FOLLOW_2); - rule__DisjunctiveExpression__Group_1_1__4__Impl(); + rule__AdditiveExpression__Group__1(); state._fsp--; @@ -15315,53 +19834,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__DisjunctiveExpression__Group_1_1__4" + // $ANTLR end "rule__AdditiveExpression__Group__0" - // $ANTLR start "rule__DisjunctiveExpression__Group_1_1__4__Impl" - // InternalSolverLanguageParser.g:4908:1: rule__DisjunctiveExpression__Group_1_1__4__Impl : ( ( rule__DisjunctiveExpression__Group_1_1_4__0 )* ) ; - public final void rule__DisjunctiveExpression__Group_1_1__4__Impl() throws RecognitionException { + // $ANTLR start "rule__AdditiveExpression__Group__0__Impl" + // InternalSolverLanguageParser.g:6383:1: rule__AdditiveExpression__Group__0__Impl : ( ruleMultiplicativeExpression ) ; + public final void rule__AdditiveExpression__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:4912:1: ( ( ( rule__DisjunctiveExpression__Group_1_1_4__0 )* ) ) - // InternalSolverLanguageParser.g:4913:1: ( ( rule__DisjunctiveExpression__Group_1_1_4__0 )* ) + // InternalSolverLanguageParser.g:6387:1: ( ( ruleMultiplicativeExpression ) ) + // InternalSolverLanguageParser.g:6388:1: ( ruleMultiplicativeExpression ) { - // InternalSolverLanguageParser.g:4913:1: ( ( rule__DisjunctiveExpression__Group_1_1_4__0 )* ) - // InternalSolverLanguageParser.g:4914:2: ( rule__DisjunctiveExpression__Group_1_1_4__0 )* + // InternalSolverLanguageParser.g:6388:1: ( ruleMultiplicativeExpression ) + // InternalSolverLanguageParser.g:6389:2: ruleMultiplicativeExpression { - before(grammarAccess.getDisjunctiveExpressionAccess().getGroup_1_1_4()); - // InternalSolverLanguageParser.g:4915:2: ( rule__DisjunctiveExpression__Group_1_1_4__0 )* - loop35: - do { - int alt35=2; - int LA35_0 = input.LA(1); - - if ( (LA35_0==Semicolon) ) { - alt35=1; - } - - - switch (alt35) { - case 1 : - // InternalSolverLanguageParser.g:4915:3: rule__DisjunctiveExpression__Group_1_1_4__0 - { - pushFollow(FOLLOW_28); - rule__DisjunctiveExpression__Group_1_1_4__0(); - - state._fsp--; - - - } - break; + before(grammarAccess.getAdditiveExpressionAccess().getMultiplicativeExpressionParserRuleCall_0()); + pushFollow(FOLLOW_2); + ruleMultiplicativeExpression(); - default : - break loop35; - } - } while (true); + state._fsp--; - after(grammarAccess.getDisjunctiveExpressionAccess().getGroup_1_1_4()); + after(grammarAccess.getAdditiveExpressionAccess().getMultiplicativeExpressionParserRuleCall_0()); } @@ -15380,26 +19875,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__DisjunctiveExpression__Group_1_1__4__Impl" + // $ANTLR end "rule__AdditiveExpression__Group__0__Impl" - // $ANTLR start "rule__DisjunctiveExpression__Group_1_1_4__0" - // InternalSolverLanguageParser.g:4924:1: rule__DisjunctiveExpression__Group_1_1_4__0 : rule__DisjunctiveExpression__Group_1_1_4__0__Impl rule__DisjunctiveExpression__Group_1_1_4__1 ; - public final void rule__DisjunctiveExpression__Group_1_1_4__0() throws RecognitionException { + // $ANTLR start "rule__AdditiveExpression__Group__1" + // InternalSolverLanguageParser.g:6398:1: rule__AdditiveExpression__Group__1 : rule__AdditiveExpression__Group__1__Impl ; + public final void rule__AdditiveExpression__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:4928:1: ( rule__DisjunctiveExpression__Group_1_1_4__0__Impl rule__DisjunctiveExpression__Group_1_1_4__1 ) - // InternalSolverLanguageParser.g:4929:2: rule__DisjunctiveExpression__Group_1_1_4__0__Impl rule__DisjunctiveExpression__Group_1_1_4__1 + // InternalSolverLanguageParser.g:6402:1: ( rule__AdditiveExpression__Group__1__Impl ) + // InternalSolverLanguageParser.g:6403:2: rule__AdditiveExpression__Group__1__Impl { - pushFollow(FOLLOW_7); - rule__DisjunctiveExpression__Group_1_1_4__0__Impl(); - - state._fsp--; - pushFollow(FOLLOW_2); - rule__DisjunctiveExpression__Group_1_1_4__1(); + rule__AdditiveExpression__Group__1__Impl(); state._fsp--; @@ -15418,25 +19908,53 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__DisjunctiveExpression__Group_1_1_4__0" + // $ANTLR end "rule__AdditiveExpression__Group__1" - // $ANTLR start "rule__DisjunctiveExpression__Group_1_1_4__0__Impl" - // InternalSolverLanguageParser.g:4936:1: rule__DisjunctiveExpression__Group_1_1_4__0__Impl : ( Semicolon ) ; - public final void rule__DisjunctiveExpression__Group_1_1_4__0__Impl() throws RecognitionException { + // $ANTLR start "rule__AdditiveExpression__Group__1__Impl" + // InternalSolverLanguageParser.g:6409:1: rule__AdditiveExpression__Group__1__Impl : ( ( rule__AdditiveExpression__Group_1__0 )* ) ; + public final void rule__AdditiveExpression__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:4940:1: ( ( Semicolon ) ) - // InternalSolverLanguageParser.g:4941:1: ( Semicolon ) + // InternalSolverLanguageParser.g:6413:1: ( ( ( rule__AdditiveExpression__Group_1__0 )* ) ) + // InternalSolverLanguageParser.g:6414:1: ( ( rule__AdditiveExpression__Group_1__0 )* ) { - // InternalSolverLanguageParser.g:4941:1: ( Semicolon ) - // InternalSolverLanguageParser.g:4942:2: Semicolon + // InternalSolverLanguageParser.g:6414:1: ( ( rule__AdditiveExpression__Group_1__0 )* ) + // InternalSolverLanguageParser.g:6415:2: ( rule__AdditiveExpression__Group_1__0 )* { - before(grammarAccess.getDisjunctiveExpressionAccess().getSemicolonKeyword_1_1_4_0()); - match(input,Semicolon,FOLLOW_2); - after(grammarAccess.getDisjunctiveExpressionAccess().getSemicolonKeyword_1_1_4_0()); + before(grammarAccess.getAdditiveExpressionAccess().getGroup_1()); + // InternalSolverLanguageParser.g:6416:2: ( rule__AdditiveExpression__Group_1__0 )* + loop47: + do { + int alt47=2; + int LA47_0 = input.LA(1); + + if ( (LA47_0==PlusSign||LA47_0==HyphenMinus) ) { + alt47=1; + } + + + switch (alt47) { + case 1 : + // InternalSolverLanguageParser.g:6416:3: rule__AdditiveExpression__Group_1__0 + { + pushFollow(FOLLOW_38); + rule__AdditiveExpression__Group_1__0(); + + state._fsp--; + + + } + break; + + default : + break loop47; + } + } while (true); + + after(grammarAccess.getAdditiveExpressionAccess().getGroup_1()); } @@ -15455,21 +19973,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__DisjunctiveExpression__Group_1_1_4__0__Impl" + // $ANTLR end "rule__AdditiveExpression__Group__1__Impl" - // $ANTLR start "rule__DisjunctiveExpression__Group_1_1_4__1" - // InternalSolverLanguageParser.g:4951:1: rule__DisjunctiveExpression__Group_1_1_4__1 : rule__DisjunctiveExpression__Group_1_1_4__1__Impl ; - public final void rule__DisjunctiveExpression__Group_1_1_4__1() throws RecognitionException { + // $ANTLR start "rule__AdditiveExpression__Group_1__0" + // InternalSolverLanguageParser.g:6425:1: rule__AdditiveExpression__Group_1__0 : rule__AdditiveExpression__Group_1__0__Impl rule__AdditiveExpression__Group_1__1 ; + public final void rule__AdditiveExpression__Group_1__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:4955:1: ( rule__DisjunctiveExpression__Group_1_1_4__1__Impl ) - // InternalSolverLanguageParser.g:4956:2: rule__DisjunctiveExpression__Group_1_1_4__1__Impl + // InternalSolverLanguageParser.g:6429:1: ( rule__AdditiveExpression__Group_1__0__Impl rule__AdditiveExpression__Group_1__1 ) + // InternalSolverLanguageParser.g:6430:2: rule__AdditiveExpression__Group_1__0__Impl rule__AdditiveExpression__Group_1__1 { + pushFollow(FOLLOW_37); + rule__AdditiveExpression__Group_1__0__Impl(); + + state._fsp--; + pushFollow(FOLLOW_2); - rule__DisjunctiveExpression__Group_1_1_4__1__Impl(); + rule__AdditiveExpression__Group_1__1(); state._fsp--; @@ -15488,35 +20011,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__DisjunctiveExpression__Group_1_1_4__1" + // $ANTLR end "rule__AdditiveExpression__Group_1__0" - // $ANTLR start "rule__DisjunctiveExpression__Group_1_1_4__1__Impl" - // InternalSolverLanguageParser.g:4962:1: rule__DisjunctiveExpression__Group_1_1_4__1__Impl : ( ( rule__DisjunctiveExpression__CasesAssignment_1_1_4_1 ) ) ; - public final void rule__DisjunctiveExpression__Group_1_1_4__1__Impl() throws RecognitionException { + // $ANTLR start "rule__AdditiveExpression__Group_1__0__Impl" + // InternalSolverLanguageParser.g:6437:1: rule__AdditiveExpression__Group_1__0__Impl : ( () ) ; + public final void rule__AdditiveExpression__Group_1__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:4966:1: ( ( ( rule__DisjunctiveExpression__CasesAssignment_1_1_4_1 ) ) ) - // InternalSolverLanguageParser.g:4967:1: ( ( rule__DisjunctiveExpression__CasesAssignment_1_1_4_1 ) ) + // InternalSolverLanguageParser.g:6441:1: ( ( () ) ) + // InternalSolverLanguageParser.g:6442:1: ( () ) { - // InternalSolverLanguageParser.g:4967:1: ( ( rule__DisjunctiveExpression__CasesAssignment_1_1_4_1 ) ) - // InternalSolverLanguageParser.g:4968:2: ( rule__DisjunctiveExpression__CasesAssignment_1_1_4_1 ) + // InternalSolverLanguageParser.g:6442:1: ( () ) + // InternalSolverLanguageParser.g:6443:2: () { - before(grammarAccess.getDisjunctiveExpressionAccess().getCasesAssignment_1_1_4_1()); - // InternalSolverLanguageParser.g:4969:2: ( rule__DisjunctiveExpression__CasesAssignment_1_1_4_1 ) - // InternalSolverLanguageParser.g:4969:3: rule__DisjunctiveExpression__CasesAssignment_1_1_4_1 + before(grammarAccess.getAdditiveExpressionAccess().getBinaryExpressionLeftAction_1_0()); + // InternalSolverLanguageParser.g:6444:2: () + // InternalSolverLanguageParser.g:6444:3: { - pushFollow(FOLLOW_2); - rule__DisjunctiveExpression__CasesAssignment_1_1_4_1(); - - state._fsp--; - - } - after(grammarAccess.getDisjunctiveExpressionAccess().getCasesAssignment_1_1_4_1()); + after(grammarAccess.getAdditiveExpressionAccess().getBinaryExpressionLeftAction_1_0()); } @@ -15524,10 +20041,6 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } finally { restoreStackSize(stackSize); @@ -15535,26 +20048,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__DisjunctiveExpression__Group_1_1_4__1__Impl" + // $ANTLR end "rule__AdditiveExpression__Group_1__0__Impl" - // $ANTLR start "rule__Case__Group__0" - // InternalSolverLanguageParser.g:4978:1: rule__Case__Group__0 : rule__Case__Group__0__Impl rule__Case__Group__1 ; - public final void rule__Case__Group__0() throws RecognitionException { + // $ANTLR start "rule__AdditiveExpression__Group_1__1" + // InternalSolverLanguageParser.g:6452:1: rule__AdditiveExpression__Group_1__1 : rule__AdditiveExpression__Group_1__1__Impl rule__AdditiveExpression__Group_1__2 ; + public final void rule__AdditiveExpression__Group_1__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:4982:1: ( rule__Case__Group__0__Impl rule__Case__Group__1 ) - // InternalSolverLanguageParser.g:4983:2: rule__Case__Group__0__Impl rule__Case__Group__1 + // InternalSolverLanguageParser.g:6456:1: ( rule__AdditiveExpression__Group_1__1__Impl rule__AdditiveExpression__Group_1__2 ) + // InternalSolverLanguageParser.g:6457:2: rule__AdditiveExpression__Group_1__1__Impl rule__AdditiveExpression__Group_1__2 { - pushFollow(FOLLOW_29); - rule__Case__Group__0__Impl(); + pushFollow(FOLLOW_12); + rule__AdditiveExpression__Group_1__1__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__Case__Group__1(); + rule__AdditiveExpression__Group_1__2(); state._fsp--; @@ -15573,35 +20086,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Case__Group__0" + // $ANTLR end "rule__AdditiveExpression__Group_1__1" - // $ANTLR start "rule__Case__Group__0__Impl" - // InternalSolverLanguageParser.g:4990:1: rule__Case__Group__0__Impl : ( ( rule__Case__ConditionAssignment_0 ) ) ; - public final void rule__Case__Group__0__Impl() throws RecognitionException { + // $ANTLR start "rule__AdditiveExpression__Group_1__1__Impl" + // InternalSolverLanguageParser.g:6464:1: rule__AdditiveExpression__Group_1__1__Impl : ( ( rule__AdditiveExpression__OpAssignment_1_1 ) ) ; + public final void rule__AdditiveExpression__Group_1__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:4994:1: ( ( ( rule__Case__ConditionAssignment_0 ) ) ) - // InternalSolverLanguageParser.g:4995:1: ( ( rule__Case__ConditionAssignment_0 ) ) + // InternalSolverLanguageParser.g:6468:1: ( ( ( rule__AdditiveExpression__OpAssignment_1_1 ) ) ) + // InternalSolverLanguageParser.g:6469:1: ( ( rule__AdditiveExpression__OpAssignment_1_1 ) ) { - // InternalSolverLanguageParser.g:4995:1: ( ( rule__Case__ConditionAssignment_0 ) ) - // InternalSolverLanguageParser.g:4996:2: ( rule__Case__ConditionAssignment_0 ) + // InternalSolverLanguageParser.g:6469:1: ( ( rule__AdditiveExpression__OpAssignment_1_1 ) ) + // InternalSolverLanguageParser.g:6470:2: ( rule__AdditiveExpression__OpAssignment_1_1 ) { - before(grammarAccess.getCaseAccess().getConditionAssignment_0()); - // InternalSolverLanguageParser.g:4997:2: ( rule__Case__ConditionAssignment_0 ) - // InternalSolverLanguageParser.g:4997:3: rule__Case__ConditionAssignment_0 + before(grammarAccess.getAdditiveExpressionAccess().getOpAssignment_1_1()); + // InternalSolverLanguageParser.g:6471:2: ( rule__AdditiveExpression__OpAssignment_1_1 ) + // InternalSolverLanguageParser.g:6471:3: rule__AdditiveExpression__OpAssignment_1_1 { pushFollow(FOLLOW_2); - rule__Case__ConditionAssignment_0(); + rule__AdditiveExpression__OpAssignment_1_1(); state._fsp--; } - after(grammarAccess.getCaseAccess().getConditionAssignment_0()); + after(grammarAccess.getAdditiveExpressionAccess().getOpAssignment_1_1()); } @@ -15620,26 +20133,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Case__Group__0__Impl" + // $ANTLR end "rule__AdditiveExpression__Group_1__1__Impl" - // $ANTLR start "rule__Case__Group__1" - // InternalSolverLanguageParser.g:5005:1: rule__Case__Group__1 : rule__Case__Group__1__Impl rule__Case__Group__2 ; - public final void rule__Case__Group__1() throws RecognitionException { + // $ANTLR start "rule__AdditiveExpression__Group_1__2" + // InternalSolverLanguageParser.g:6479:1: rule__AdditiveExpression__Group_1__2 : rule__AdditiveExpression__Group_1__2__Impl ; + public final void rule__AdditiveExpression__Group_1__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5009:1: ( rule__Case__Group__1__Impl rule__Case__Group__2 ) - // InternalSolverLanguageParser.g:5010:2: rule__Case__Group__1__Impl rule__Case__Group__2 + // InternalSolverLanguageParser.g:6483:1: ( rule__AdditiveExpression__Group_1__2__Impl ) + // InternalSolverLanguageParser.g:6484:2: rule__AdditiveExpression__Group_1__2__Impl { - pushFollow(FOLLOW_7); - rule__Case__Group__1__Impl(); - - state._fsp--; - pushFollow(FOLLOW_2); - rule__Case__Group__2(); + rule__AdditiveExpression__Group_1__2__Impl(); state._fsp--; @@ -15658,25 +20166,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Case__Group__1" + // $ANTLR end "rule__AdditiveExpression__Group_1__2" - // $ANTLR start "rule__Case__Group__1__Impl" - // InternalSolverLanguageParser.g:5017:1: rule__Case__Group__1__Impl : ( HyphenMinusGreaterThanSign ) ; - public final void rule__Case__Group__1__Impl() throws RecognitionException { + // $ANTLR start "rule__AdditiveExpression__Group_1__2__Impl" + // InternalSolverLanguageParser.g:6490:1: rule__AdditiveExpression__Group_1__2__Impl : ( ( rule__AdditiveExpression__RightAssignment_1_2 ) ) ; + public final void rule__AdditiveExpression__Group_1__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5021:1: ( ( HyphenMinusGreaterThanSign ) ) - // InternalSolverLanguageParser.g:5022:1: ( HyphenMinusGreaterThanSign ) + // InternalSolverLanguageParser.g:6494:1: ( ( ( rule__AdditiveExpression__RightAssignment_1_2 ) ) ) + // InternalSolverLanguageParser.g:6495:1: ( ( rule__AdditiveExpression__RightAssignment_1_2 ) ) { - // InternalSolverLanguageParser.g:5022:1: ( HyphenMinusGreaterThanSign ) - // InternalSolverLanguageParser.g:5023:2: HyphenMinusGreaterThanSign + // InternalSolverLanguageParser.g:6495:1: ( ( rule__AdditiveExpression__RightAssignment_1_2 ) ) + // InternalSolverLanguageParser.g:6496:2: ( rule__AdditiveExpression__RightAssignment_1_2 ) { - before(grammarAccess.getCaseAccess().getHyphenMinusGreaterThanSignKeyword_1()); - match(input,HyphenMinusGreaterThanSign,FOLLOW_2); - after(grammarAccess.getCaseAccess().getHyphenMinusGreaterThanSignKeyword_1()); + before(grammarAccess.getAdditiveExpressionAccess().getRightAssignment_1_2()); + // InternalSolverLanguageParser.g:6497:2: ( rule__AdditiveExpression__RightAssignment_1_2 ) + // InternalSolverLanguageParser.g:6497:3: rule__AdditiveExpression__RightAssignment_1_2 + { + pushFollow(FOLLOW_2); + rule__AdditiveExpression__RightAssignment_1_2(); + + state._fsp--; + + + } + + after(grammarAccess.getAdditiveExpressionAccess().getRightAssignment_1_2()); } @@ -15695,21 +20213,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Case__Group__1__Impl" + // $ANTLR end "rule__AdditiveExpression__Group_1__2__Impl" - // $ANTLR start "rule__Case__Group__2" - // InternalSolverLanguageParser.g:5032:1: rule__Case__Group__2 : rule__Case__Group__2__Impl ; - public final void rule__Case__Group__2() throws RecognitionException { + // $ANTLR start "rule__MultiplicativeExpression__Group__0" + // InternalSolverLanguageParser.g:6506:1: rule__MultiplicativeExpression__Group__0 : rule__MultiplicativeExpression__Group__0__Impl rule__MultiplicativeExpression__Group__1 ; + public final void rule__MultiplicativeExpression__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5036:1: ( rule__Case__Group__2__Impl ) - // InternalSolverLanguageParser.g:5037:2: rule__Case__Group__2__Impl + // InternalSolverLanguageParser.g:6510:1: ( rule__MultiplicativeExpression__Group__0__Impl rule__MultiplicativeExpression__Group__1 ) + // InternalSolverLanguageParser.g:6511:2: rule__MultiplicativeExpression__Group__0__Impl rule__MultiplicativeExpression__Group__1 { + pushFollow(FOLLOW_39); + rule__MultiplicativeExpression__Group__0__Impl(); + + state._fsp--; + pushFollow(FOLLOW_2); - rule__Case__Group__2__Impl(); + rule__MultiplicativeExpression__Group__1(); state._fsp--; @@ -15728,35 +20251,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Case__Group__2" + // $ANTLR end "rule__MultiplicativeExpression__Group__0" - // $ANTLR start "rule__Case__Group__2__Impl" - // InternalSolverLanguageParser.g:5043:1: rule__Case__Group__2__Impl : ( ( rule__Case__BodyAssignment_2 ) ) ; - public final void rule__Case__Group__2__Impl() throws RecognitionException { + // $ANTLR start "rule__MultiplicativeExpression__Group__0__Impl" + // InternalSolverLanguageParser.g:6518:1: rule__MultiplicativeExpression__Group__0__Impl : ( ruleExponentialExpression ) ; + public final void rule__MultiplicativeExpression__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5047:1: ( ( ( rule__Case__BodyAssignment_2 ) ) ) - // InternalSolverLanguageParser.g:5048:1: ( ( rule__Case__BodyAssignment_2 ) ) - { - // InternalSolverLanguageParser.g:5048:1: ( ( rule__Case__BodyAssignment_2 ) ) - // InternalSolverLanguageParser.g:5049:2: ( rule__Case__BodyAssignment_2 ) + // InternalSolverLanguageParser.g:6522:1: ( ( ruleExponentialExpression ) ) + // InternalSolverLanguageParser.g:6523:1: ( ruleExponentialExpression ) { - before(grammarAccess.getCaseAccess().getBodyAssignment_2()); - // InternalSolverLanguageParser.g:5050:2: ( rule__Case__BodyAssignment_2 ) - // InternalSolverLanguageParser.g:5050:3: rule__Case__BodyAssignment_2 + // InternalSolverLanguageParser.g:6523:1: ( ruleExponentialExpression ) + // InternalSolverLanguageParser.g:6524:2: ruleExponentialExpression { + before(grammarAccess.getMultiplicativeExpressionAccess().getExponentialExpressionParserRuleCall_0()); pushFollow(FOLLOW_2); - rule__Case__BodyAssignment_2(); + ruleExponentialExpression(); state._fsp--; - - } - - after(grammarAccess.getCaseAccess().getBodyAssignment_2()); + after(grammarAccess.getMultiplicativeExpressionAccess().getExponentialExpressionParserRuleCall_0()); } @@ -15775,26 +20292,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Case__Group__2__Impl" + // $ANTLR end "rule__MultiplicativeExpression__Group__0__Impl" - // $ANTLR start "rule__ConjunctiveExpression__Group__0" - // InternalSolverLanguageParser.g:5059:1: rule__ConjunctiveExpression__Group__0 : rule__ConjunctiveExpression__Group__0__Impl rule__ConjunctiveExpression__Group__1 ; - public final void rule__ConjunctiveExpression__Group__0() throws RecognitionException { + // $ANTLR start "rule__MultiplicativeExpression__Group__1" + // InternalSolverLanguageParser.g:6533:1: rule__MultiplicativeExpression__Group__1 : rule__MultiplicativeExpression__Group__1__Impl ; + public final void rule__MultiplicativeExpression__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5063:1: ( rule__ConjunctiveExpression__Group__0__Impl rule__ConjunctiveExpression__Group__1 ) - // InternalSolverLanguageParser.g:5064:2: rule__ConjunctiveExpression__Group__0__Impl rule__ConjunctiveExpression__Group__1 + // InternalSolverLanguageParser.g:6537:1: ( rule__MultiplicativeExpression__Group__1__Impl ) + // InternalSolverLanguageParser.g:6538:2: rule__MultiplicativeExpression__Group__1__Impl { - pushFollow(FOLLOW_19); - rule__ConjunctiveExpression__Group__0__Impl(); - - state._fsp--; - pushFollow(FOLLOW_2); - rule__ConjunctiveExpression__Group__1(); + rule__MultiplicativeExpression__Group__1__Impl(); state._fsp--; @@ -15813,29 +20325,53 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ConjunctiveExpression__Group__0" + // $ANTLR end "rule__MultiplicativeExpression__Group__1" - // $ANTLR start "rule__ConjunctiveExpression__Group__0__Impl" - // InternalSolverLanguageParser.g:5071:1: rule__ConjunctiveExpression__Group__0__Impl : ( ruleComparisonExpression ) ; - public final void rule__ConjunctiveExpression__Group__0__Impl() throws RecognitionException { + // $ANTLR start "rule__MultiplicativeExpression__Group__1__Impl" + // InternalSolverLanguageParser.g:6544:1: rule__MultiplicativeExpression__Group__1__Impl : ( ( rule__MultiplicativeExpression__Group_1__0 )* ) ; + public final void rule__MultiplicativeExpression__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5075:1: ( ( ruleComparisonExpression ) ) - // InternalSolverLanguageParser.g:5076:1: ( ruleComparisonExpression ) + // InternalSolverLanguageParser.g:6548:1: ( ( ( rule__MultiplicativeExpression__Group_1__0 )* ) ) + // InternalSolverLanguageParser.g:6549:1: ( ( rule__MultiplicativeExpression__Group_1__0 )* ) { - // InternalSolverLanguageParser.g:5076:1: ( ruleComparisonExpression ) - // InternalSolverLanguageParser.g:5077:2: ruleComparisonExpression + // InternalSolverLanguageParser.g:6549:1: ( ( rule__MultiplicativeExpression__Group_1__0 )* ) + // InternalSolverLanguageParser.g:6550:2: ( rule__MultiplicativeExpression__Group_1__0 )* { - before(grammarAccess.getConjunctiveExpressionAccess().getComparisonExpressionParserRuleCall_0()); - pushFollow(FOLLOW_2); - ruleComparisonExpression(); + before(grammarAccess.getMultiplicativeExpressionAccess().getGroup_1()); + // InternalSolverLanguageParser.g:6551:2: ( rule__MultiplicativeExpression__Group_1__0 )* + loop48: + do { + int alt48=2; + int LA48_0 = input.LA(1); - state._fsp--; + if ( (LA48_0==Asterisk||LA48_0==Solidus) ) { + alt48=1; + } - after(grammarAccess.getConjunctiveExpressionAccess().getComparisonExpressionParserRuleCall_0()); + + switch (alt48) { + case 1 : + // InternalSolverLanguageParser.g:6551:3: rule__MultiplicativeExpression__Group_1__0 + { + pushFollow(FOLLOW_40); + rule__MultiplicativeExpression__Group_1__0(); + + state._fsp--; + + + } + break; + + default : + break loop48; + } + } while (true); + + after(grammarAccess.getMultiplicativeExpressionAccess().getGroup_1()); } @@ -15854,21 +20390,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ConjunctiveExpression__Group__0__Impl" + // $ANTLR end "rule__MultiplicativeExpression__Group__1__Impl" - // $ANTLR start "rule__ConjunctiveExpression__Group__1" - // InternalSolverLanguageParser.g:5086:1: rule__ConjunctiveExpression__Group__1 : rule__ConjunctiveExpression__Group__1__Impl ; - public final void rule__ConjunctiveExpression__Group__1() throws RecognitionException { + // $ANTLR start "rule__MultiplicativeExpression__Group_1__0" + // InternalSolverLanguageParser.g:6560:1: rule__MultiplicativeExpression__Group_1__0 : rule__MultiplicativeExpression__Group_1__0__Impl rule__MultiplicativeExpression__Group_1__1 ; + public final void rule__MultiplicativeExpression__Group_1__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5090:1: ( rule__ConjunctiveExpression__Group__1__Impl ) - // InternalSolverLanguageParser.g:5091:2: rule__ConjunctiveExpression__Group__1__Impl + // InternalSolverLanguageParser.g:6564:1: ( rule__MultiplicativeExpression__Group_1__0__Impl rule__MultiplicativeExpression__Group_1__1 ) + // InternalSolverLanguageParser.g:6565:2: rule__MultiplicativeExpression__Group_1__0__Impl rule__MultiplicativeExpression__Group_1__1 { + pushFollow(FOLLOW_39); + rule__MultiplicativeExpression__Group_1__0__Impl(); + + state._fsp--; + pushFollow(FOLLOW_2); - rule__ConjunctiveExpression__Group__1__Impl(); + rule__MultiplicativeExpression__Group_1__1(); state._fsp--; @@ -15887,46 +20428,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ConjunctiveExpression__Group__1" + // $ANTLR end "rule__MultiplicativeExpression__Group_1__0" - // $ANTLR start "rule__ConjunctiveExpression__Group__1__Impl" - // InternalSolverLanguageParser.g:5097:1: rule__ConjunctiveExpression__Group__1__Impl : ( ( rule__ConjunctiveExpression__Group_1__0 )? ) ; - public final void rule__ConjunctiveExpression__Group__1__Impl() throws RecognitionException { + // $ANTLR start "rule__MultiplicativeExpression__Group_1__0__Impl" + // InternalSolverLanguageParser.g:6572:1: rule__MultiplicativeExpression__Group_1__0__Impl : ( () ) ; + public final void rule__MultiplicativeExpression__Group_1__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5101:1: ( ( ( rule__ConjunctiveExpression__Group_1__0 )? ) ) - // InternalSolverLanguageParser.g:5102:1: ( ( rule__ConjunctiveExpression__Group_1__0 )? ) + // InternalSolverLanguageParser.g:6576:1: ( ( () ) ) + // InternalSolverLanguageParser.g:6577:1: ( () ) { - // InternalSolverLanguageParser.g:5102:1: ( ( rule__ConjunctiveExpression__Group_1__0 )? ) - // InternalSolverLanguageParser.g:5103:2: ( rule__ConjunctiveExpression__Group_1__0 )? + // InternalSolverLanguageParser.g:6577:1: ( () ) + // InternalSolverLanguageParser.g:6578:2: () + { + before(grammarAccess.getMultiplicativeExpressionAccess().getBinaryExpressionLeftAction_1_0()); + // InternalSolverLanguageParser.g:6579:2: () + // InternalSolverLanguageParser.g:6579:3: { - before(grammarAccess.getConjunctiveExpressionAccess().getGroup_1()); - // InternalSolverLanguageParser.g:5104:2: ( rule__ConjunctiveExpression__Group_1__0 )? - int alt36=2; - int LA36_0 = input.LA(1); - - if ( (LA36_0==Comma) ) { - alt36=1; - } - switch (alt36) { - case 1 : - // InternalSolverLanguageParser.g:5104:3: rule__ConjunctiveExpression__Group_1__0 - { - pushFollow(FOLLOW_2); - rule__ConjunctiveExpression__Group_1__0(); - - state._fsp--; - - - } - break; - } - after(grammarAccess.getConjunctiveExpressionAccess().getGroup_1()); + after(grammarAccess.getMultiplicativeExpressionAccess().getBinaryExpressionLeftAction_1_0()); } @@ -15934,10 +20458,6 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } finally { restoreStackSize(stackSize); @@ -15945,26 +20465,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ConjunctiveExpression__Group__1__Impl" + // $ANTLR end "rule__MultiplicativeExpression__Group_1__0__Impl" - // $ANTLR start "rule__ConjunctiveExpression__Group_1__0" - // InternalSolverLanguageParser.g:5113:1: rule__ConjunctiveExpression__Group_1__0 : rule__ConjunctiveExpression__Group_1__0__Impl rule__ConjunctiveExpression__Group_1__1 ; - public final void rule__ConjunctiveExpression__Group_1__0() throws RecognitionException { + // $ANTLR start "rule__MultiplicativeExpression__Group_1__1" + // InternalSolverLanguageParser.g:6587:1: rule__MultiplicativeExpression__Group_1__1 : rule__MultiplicativeExpression__Group_1__1__Impl rule__MultiplicativeExpression__Group_1__2 ; + public final void rule__MultiplicativeExpression__Group_1__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5117:1: ( rule__ConjunctiveExpression__Group_1__0__Impl rule__ConjunctiveExpression__Group_1__1 ) - // InternalSolverLanguageParser.g:5118:2: rule__ConjunctiveExpression__Group_1__0__Impl rule__ConjunctiveExpression__Group_1__1 + // InternalSolverLanguageParser.g:6591:1: ( rule__MultiplicativeExpression__Group_1__1__Impl rule__MultiplicativeExpression__Group_1__2 ) + // InternalSolverLanguageParser.g:6592:2: rule__MultiplicativeExpression__Group_1__1__Impl rule__MultiplicativeExpression__Group_1__2 { - pushFollow(FOLLOW_19); - rule__ConjunctiveExpression__Group_1__0__Impl(); + pushFollow(FOLLOW_12); + rule__MultiplicativeExpression__Group_1__1__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__ConjunctiveExpression__Group_1__1(); + rule__MultiplicativeExpression__Group_1__2(); state._fsp--; @@ -15983,29 +20503,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ConjunctiveExpression__Group_1__0" + // $ANTLR end "rule__MultiplicativeExpression__Group_1__1" - // $ANTLR start "rule__ConjunctiveExpression__Group_1__0__Impl" - // InternalSolverLanguageParser.g:5125:1: rule__ConjunctiveExpression__Group_1__0__Impl : ( () ) ; - public final void rule__ConjunctiveExpression__Group_1__0__Impl() throws RecognitionException { + // $ANTLR start "rule__MultiplicativeExpression__Group_1__1__Impl" + // InternalSolverLanguageParser.g:6599:1: rule__MultiplicativeExpression__Group_1__1__Impl : ( ( rule__MultiplicativeExpression__OpAssignment_1_1 ) ) ; + public final void rule__MultiplicativeExpression__Group_1__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5129:1: ( ( () ) ) - // InternalSolverLanguageParser.g:5130:1: ( () ) + // InternalSolverLanguageParser.g:6603:1: ( ( ( rule__MultiplicativeExpression__OpAssignment_1_1 ) ) ) + // InternalSolverLanguageParser.g:6604:1: ( ( rule__MultiplicativeExpression__OpAssignment_1_1 ) ) { - // InternalSolverLanguageParser.g:5130:1: ( () ) - // InternalSolverLanguageParser.g:5131:2: () + // InternalSolverLanguageParser.g:6604:1: ( ( rule__MultiplicativeExpression__OpAssignment_1_1 ) ) + // InternalSolverLanguageParser.g:6605:2: ( rule__MultiplicativeExpression__OpAssignment_1_1 ) { - before(grammarAccess.getConjunctiveExpressionAccess().getConjunctionChildrenAction_1_0()); - // InternalSolverLanguageParser.g:5132:2: () - // InternalSolverLanguageParser.g:5132:3: + before(grammarAccess.getMultiplicativeExpressionAccess().getOpAssignment_1_1()); + // InternalSolverLanguageParser.g:6606:2: ( rule__MultiplicativeExpression__OpAssignment_1_1 ) + // InternalSolverLanguageParser.g:6606:3: rule__MultiplicativeExpression__OpAssignment_1_1 { + pushFollow(FOLLOW_2); + rule__MultiplicativeExpression__OpAssignment_1_1(); + + state._fsp--; + + } - after(grammarAccess.getConjunctiveExpressionAccess().getConjunctionChildrenAction_1_0()); + after(grammarAccess.getMultiplicativeExpressionAccess().getOpAssignment_1_1()); } @@ -16013,6 +20539,10 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } finally { restoreStackSize(stackSize); @@ -16020,21 +20550,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ConjunctiveExpression__Group_1__0__Impl" + // $ANTLR end "rule__MultiplicativeExpression__Group_1__1__Impl" - // $ANTLR start "rule__ConjunctiveExpression__Group_1__1" - // InternalSolverLanguageParser.g:5140:1: rule__ConjunctiveExpression__Group_1__1 : rule__ConjunctiveExpression__Group_1__1__Impl ; - public final void rule__ConjunctiveExpression__Group_1__1() throws RecognitionException { + // $ANTLR start "rule__MultiplicativeExpression__Group_1__2" + // InternalSolverLanguageParser.g:6614:1: rule__MultiplicativeExpression__Group_1__2 : rule__MultiplicativeExpression__Group_1__2__Impl ; + public final void rule__MultiplicativeExpression__Group_1__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5144:1: ( rule__ConjunctiveExpression__Group_1__1__Impl ) - // InternalSolverLanguageParser.g:5145:2: rule__ConjunctiveExpression__Group_1__1__Impl + // InternalSolverLanguageParser.g:6618:1: ( rule__MultiplicativeExpression__Group_1__2__Impl ) + // InternalSolverLanguageParser.g:6619:2: rule__MultiplicativeExpression__Group_1__2__Impl { pushFollow(FOLLOW_2); - rule__ConjunctiveExpression__Group_1__1__Impl(); + rule__MultiplicativeExpression__Group_1__2__Impl(); state._fsp--; @@ -16053,78 +20583,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ConjunctiveExpression__Group_1__1" + // $ANTLR end "rule__MultiplicativeExpression__Group_1__2" - // $ANTLR start "rule__ConjunctiveExpression__Group_1__1__Impl" - // InternalSolverLanguageParser.g:5151:1: rule__ConjunctiveExpression__Group_1__1__Impl : ( ( ( rule__ConjunctiveExpression__Group_1_1__0 ) ) ( ( rule__ConjunctiveExpression__Group_1_1__0 )* ) ) ; - public final void rule__ConjunctiveExpression__Group_1__1__Impl() throws RecognitionException { + // $ANTLR start "rule__MultiplicativeExpression__Group_1__2__Impl" + // InternalSolverLanguageParser.g:6625:1: rule__MultiplicativeExpression__Group_1__2__Impl : ( ( rule__MultiplicativeExpression__RightAssignment_1_2 ) ) ; + public final void rule__MultiplicativeExpression__Group_1__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5155:1: ( ( ( ( rule__ConjunctiveExpression__Group_1_1__0 ) ) ( ( rule__ConjunctiveExpression__Group_1_1__0 )* ) ) ) - // InternalSolverLanguageParser.g:5156:1: ( ( ( rule__ConjunctiveExpression__Group_1_1__0 ) ) ( ( rule__ConjunctiveExpression__Group_1_1__0 )* ) ) - { - // InternalSolverLanguageParser.g:5156:1: ( ( ( rule__ConjunctiveExpression__Group_1_1__0 ) ) ( ( rule__ConjunctiveExpression__Group_1_1__0 )* ) ) - // InternalSolverLanguageParser.g:5157:2: ( ( rule__ConjunctiveExpression__Group_1_1__0 ) ) ( ( rule__ConjunctiveExpression__Group_1_1__0 )* ) + // InternalSolverLanguageParser.g:6629:1: ( ( ( rule__MultiplicativeExpression__RightAssignment_1_2 ) ) ) + // InternalSolverLanguageParser.g:6630:1: ( ( rule__MultiplicativeExpression__RightAssignment_1_2 ) ) { - // InternalSolverLanguageParser.g:5157:2: ( ( rule__ConjunctiveExpression__Group_1_1__0 ) ) - // InternalSolverLanguageParser.g:5158:3: ( rule__ConjunctiveExpression__Group_1_1__0 ) + // InternalSolverLanguageParser.g:6630:1: ( ( rule__MultiplicativeExpression__RightAssignment_1_2 ) ) + // InternalSolverLanguageParser.g:6631:2: ( rule__MultiplicativeExpression__RightAssignment_1_2 ) { - before(grammarAccess.getConjunctiveExpressionAccess().getGroup_1_1()); - // InternalSolverLanguageParser.g:5159:3: ( rule__ConjunctiveExpression__Group_1_1__0 ) - // InternalSolverLanguageParser.g:5159:4: rule__ConjunctiveExpression__Group_1_1__0 + before(grammarAccess.getMultiplicativeExpressionAccess().getRightAssignment_1_2()); + // InternalSolverLanguageParser.g:6632:2: ( rule__MultiplicativeExpression__RightAssignment_1_2 ) + // InternalSolverLanguageParser.g:6632:3: rule__MultiplicativeExpression__RightAssignment_1_2 { - pushFollow(FOLLOW_20); - rule__ConjunctiveExpression__Group_1_1__0(); + pushFollow(FOLLOW_2); + rule__MultiplicativeExpression__RightAssignment_1_2(); state._fsp--; } - after(grammarAccess.getConjunctiveExpressionAccess().getGroup_1_1()); - - } - - // InternalSolverLanguageParser.g:5162:2: ( ( rule__ConjunctiveExpression__Group_1_1__0 )* ) - // InternalSolverLanguageParser.g:5163:3: ( rule__ConjunctiveExpression__Group_1_1__0 )* - { - before(grammarAccess.getConjunctiveExpressionAccess().getGroup_1_1()); - // InternalSolverLanguageParser.g:5164:3: ( rule__ConjunctiveExpression__Group_1_1__0 )* - loop37: - do { - int alt37=2; - int LA37_0 = input.LA(1); - - if ( (LA37_0==Comma) ) { - alt37=1; - } - - - switch (alt37) { - case 1 : - // InternalSolverLanguageParser.g:5164:4: rule__ConjunctiveExpression__Group_1_1__0 - { - pushFollow(FOLLOW_20); - rule__ConjunctiveExpression__Group_1_1__0(); - - state._fsp--; - - - } - break; - - default : - break loop37; - } - } while (true); - - after(grammarAccess.getConjunctiveExpressionAccess().getGroup_1_1()); - - } - + after(grammarAccess.getMultiplicativeExpressionAccess().getRightAssignment_1_2()); } @@ -16143,26 +20630,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ConjunctiveExpression__Group_1__1__Impl" + // $ANTLR end "rule__MultiplicativeExpression__Group_1__2__Impl" - // $ANTLR start "rule__ConjunctiveExpression__Group_1_1__0" - // InternalSolverLanguageParser.g:5174:1: rule__ConjunctiveExpression__Group_1_1__0 : rule__ConjunctiveExpression__Group_1_1__0__Impl rule__ConjunctiveExpression__Group_1_1__1 ; - public final void rule__ConjunctiveExpression__Group_1_1__0() throws RecognitionException { + // $ANTLR start "rule__ExponentialExpression__Group__0" + // InternalSolverLanguageParser.g:6641:1: rule__ExponentialExpression__Group__0 : rule__ExponentialExpression__Group__0__Impl rule__ExponentialExpression__Group__1 ; + public final void rule__ExponentialExpression__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5178:1: ( rule__ConjunctiveExpression__Group_1_1__0__Impl rule__ConjunctiveExpression__Group_1_1__1 ) - // InternalSolverLanguageParser.g:5179:2: rule__ConjunctiveExpression__Group_1_1__0__Impl rule__ConjunctiveExpression__Group_1_1__1 + // InternalSolverLanguageParser.g:6645:1: ( rule__ExponentialExpression__Group__0__Impl rule__ExponentialExpression__Group__1 ) + // InternalSolverLanguageParser.g:6646:2: rule__ExponentialExpression__Group__0__Impl rule__ExponentialExpression__Group__1 { - pushFollow(FOLLOW_7); - rule__ConjunctiveExpression__Group_1_1__0__Impl(); + pushFollow(FOLLOW_41); + rule__ExponentialExpression__Group__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__ConjunctiveExpression__Group_1_1__1(); + rule__ExponentialExpression__Group__1(); state._fsp--; @@ -16181,25 +20668,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ConjunctiveExpression__Group_1_1__0" + // $ANTLR end "rule__ExponentialExpression__Group__0" - // $ANTLR start "rule__ConjunctiveExpression__Group_1_1__0__Impl" - // InternalSolverLanguageParser.g:5186:1: rule__ConjunctiveExpression__Group_1_1__0__Impl : ( Comma ) ; - public final void rule__ConjunctiveExpression__Group_1_1__0__Impl() throws RecognitionException { + // $ANTLR start "rule__ExponentialExpression__Group__0__Impl" + // InternalSolverLanguageParser.g:6653:1: rule__ExponentialExpression__Group__0__Impl : ( ruleCastExpression ) ; + public final void rule__ExponentialExpression__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5190:1: ( ( Comma ) ) - // InternalSolverLanguageParser.g:5191:1: ( Comma ) + // InternalSolverLanguageParser.g:6657:1: ( ( ruleCastExpression ) ) + // InternalSolverLanguageParser.g:6658:1: ( ruleCastExpression ) { - // InternalSolverLanguageParser.g:5191:1: ( Comma ) - // InternalSolverLanguageParser.g:5192:2: Comma + // InternalSolverLanguageParser.g:6658:1: ( ruleCastExpression ) + // InternalSolverLanguageParser.g:6659:2: ruleCastExpression { - before(grammarAccess.getConjunctiveExpressionAccess().getCommaKeyword_1_1_0()); - match(input,Comma,FOLLOW_2); - after(grammarAccess.getConjunctiveExpressionAccess().getCommaKeyword_1_1_0()); + before(grammarAccess.getExponentialExpressionAccess().getCastExpressionParserRuleCall_0()); + pushFollow(FOLLOW_2); + ruleCastExpression(); + + state._fsp--; + + after(grammarAccess.getExponentialExpressionAccess().getCastExpressionParserRuleCall_0()); } @@ -16218,21 +20709,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ConjunctiveExpression__Group_1_1__0__Impl" + // $ANTLR end "rule__ExponentialExpression__Group__0__Impl" - // $ANTLR start "rule__ConjunctiveExpression__Group_1_1__1" - // InternalSolverLanguageParser.g:5201:1: rule__ConjunctiveExpression__Group_1_1__1 : rule__ConjunctiveExpression__Group_1_1__1__Impl ; - public final void rule__ConjunctiveExpression__Group_1_1__1() throws RecognitionException { + // $ANTLR start "rule__ExponentialExpression__Group__1" + // InternalSolverLanguageParser.g:6668:1: rule__ExponentialExpression__Group__1 : rule__ExponentialExpression__Group__1__Impl ; + public final void rule__ExponentialExpression__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5205:1: ( rule__ConjunctiveExpression__Group_1_1__1__Impl ) - // InternalSolverLanguageParser.g:5206:2: rule__ConjunctiveExpression__Group_1_1__1__Impl + // InternalSolverLanguageParser.g:6672:1: ( rule__ExponentialExpression__Group__1__Impl ) + // InternalSolverLanguageParser.g:6673:2: rule__ExponentialExpression__Group__1__Impl { pushFollow(FOLLOW_2); - rule__ConjunctiveExpression__Group_1_1__1__Impl(); + rule__ExponentialExpression__Group__1__Impl(); state._fsp--; @@ -16251,35 +20742,46 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ConjunctiveExpression__Group_1_1__1" + // $ANTLR end "rule__ExponentialExpression__Group__1" - // $ANTLR start "rule__ConjunctiveExpression__Group_1_1__1__Impl" - // InternalSolverLanguageParser.g:5212:1: rule__ConjunctiveExpression__Group_1_1__1__Impl : ( ( rule__ConjunctiveExpression__ChildrenAssignment_1_1_1 ) ) ; - public final void rule__ConjunctiveExpression__Group_1_1__1__Impl() throws RecognitionException { + // $ANTLR start "rule__ExponentialExpression__Group__1__Impl" + // InternalSolverLanguageParser.g:6679:1: rule__ExponentialExpression__Group__1__Impl : ( ( rule__ExponentialExpression__Group_1__0 )? ) ; + public final void rule__ExponentialExpression__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5216:1: ( ( ( rule__ConjunctiveExpression__ChildrenAssignment_1_1_1 ) ) ) - // InternalSolverLanguageParser.g:5217:1: ( ( rule__ConjunctiveExpression__ChildrenAssignment_1_1_1 ) ) + // InternalSolverLanguageParser.g:6683:1: ( ( ( rule__ExponentialExpression__Group_1__0 )? ) ) + // InternalSolverLanguageParser.g:6684:1: ( ( rule__ExponentialExpression__Group_1__0 )? ) { - // InternalSolverLanguageParser.g:5217:1: ( ( rule__ConjunctiveExpression__ChildrenAssignment_1_1_1 ) ) - // InternalSolverLanguageParser.g:5218:2: ( rule__ConjunctiveExpression__ChildrenAssignment_1_1_1 ) + // InternalSolverLanguageParser.g:6684:1: ( ( rule__ExponentialExpression__Group_1__0 )? ) + // InternalSolverLanguageParser.g:6685:2: ( rule__ExponentialExpression__Group_1__0 )? { - before(grammarAccess.getConjunctiveExpressionAccess().getChildrenAssignment_1_1_1()); - // InternalSolverLanguageParser.g:5219:2: ( rule__ConjunctiveExpression__ChildrenAssignment_1_1_1 ) - // InternalSolverLanguageParser.g:5219:3: rule__ConjunctiveExpression__ChildrenAssignment_1_1_1 - { - pushFollow(FOLLOW_2); - rule__ConjunctiveExpression__ChildrenAssignment_1_1_1(); + before(grammarAccess.getExponentialExpressionAccess().getGroup_1()); + // InternalSolverLanguageParser.g:6686:2: ( rule__ExponentialExpression__Group_1__0 )? + int alt49=2; + int LA49_0 = input.LA(1); + + if ( (LA49_0==CircumflexAccent) ) { + alt49=1; + } + switch (alt49) { + case 1 : + // InternalSolverLanguageParser.g:6686:3: rule__ExponentialExpression__Group_1__0 + { + pushFollow(FOLLOW_2); + rule__ExponentialExpression__Group_1__0(); + + state._fsp--; - state._fsp--; + } + break; } - after(grammarAccess.getConjunctiveExpressionAccess().getChildrenAssignment_1_1_1()); + after(grammarAccess.getExponentialExpressionAccess().getGroup_1()); } @@ -16298,26 +20800,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ConjunctiveExpression__Group_1_1__1__Impl" + // $ANTLR end "rule__ExponentialExpression__Group__1__Impl" - // $ANTLR start "rule__ComparisonExpression__Group__0" - // InternalSolverLanguageParser.g:5228:1: rule__ComparisonExpression__Group__0 : rule__ComparisonExpression__Group__0__Impl rule__ComparisonExpression__Group__1 ; - public final void rule__ComparisonExpression__Group__0() throws RecognitionException { + // $ANTLR start "rule__ExponentialExpression__Group_1__0" + // InternalSolverLanguageParser.g:6695:1: rule__ExponentialExpression__Group_1__0 : rule__ExponentialExpression__Group_1__0__Impl rule__ExponentialExpression__Group_1__1 ; + public final void rule__ExponentialExpression__Group_1__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5232:1: ( rule__ComparisonExpression__Group__0__Impl rule__ComparisonExpression__Group__1 ) - // InternalSolverLanguageParser.g:5233:2: rule__ComparisonExpression__Group__0__Impl rule__ComparisonExpression__Group__1 + // InternalSolverLanguageParser.g:6699:1: ( rule__ExponentialExpression__Group_1__0__Impl rule__ExponentialExpression__Group_1__1 ) + // InternalSolverLanguageParser.g:6700:2: rule__ExponentialExpression__Group_1__0__Impl rule__ExponentialExpression__Group_1__1 { - pushFollow(FOLLOW_30); - rule__ComparisonExpression__Group__0__Impl(); + pushFollow(FOLLOW_41); + rule__ExponentialExpression__Group_1__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__ComparisonExpression__Group__1(); + rule__ExponentialExpression__Group_1__1(); state._fsp--; @@ -16336,29 +20838,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ComparisonExpression__Group__0" + // $ANTLR end "rule__ExponentialExpression__Group_1__0" - // $ANTLR start "rule__ComparisonExpression__Group__0__Impl" - // InternalSolverLanguageParser.g:5240:1: rule__ComparisonExpression__Group__0__Impl : ( ruleAdditiveExpression ) ; - public final void rule__ComparisonExpression__Group__0__Impl() throws RecognitionException { + // $ANTLR start "rule__ExponentialExpression__Group_1__0__Impl" + // InternalSolverLanguageParser.g:6707:1: rule__ExponentialExpression__Group_1__0__Impl : ( () ) ; + public final void rule__ExponentialExpression__Group_1__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5244:1: ( ( ruleAdditiveExpression ) ) - // InternalSolverLanguageParser.g:5245:1: ( ruleAdditiveExpression ) + // InternalSolverLanguageParser.g:6711:1: ( ( () ) ) + // InternalSolverLanguageParser.g:6712:1: ( () ) { - // InternalSolverLanguageParser.g:5245:1: ( ruleAdditiveExpression ) - // InternalSolverLanguageParser.g:5246:2: ruleAdditiveExpression + // InternalSolverLanguageParser.g:6712:1: ( () ) + // InternalSolverLanguageParser.g:6713:2: () { - before(grammarAccess.getComparisonExpressionAccess().getAdditiveExpressionParserRuleCall_0()); - pushFollow(FOLLOW_2); - ruleAdditiveExpression(); - - state._fsp--; + before(grammarAccess.getExponentialExpressionAccess().getBinaryExpressionLeftAction_1_0()); + // InternalSolverLanguageParser.g:6714:2: () + // InternalSolverLanguageParser.g:6714:3: + { + } - after(grammarAccess.getComparisonExpressionAccess().getAdditiveExpressionParserRuleCall_0()); + after(grammarAccess.getExponentialExpressionAccess().getBinaryExpressionLeftAction_1_0()); } @@ -16366,10 +20868,6 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } finally { restoreStackSize(stackSize); @@ -16377,21 +20875,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ComparisonExpression__Group__0__Impl" + // $ANTLR end "rule__ExponentialExpression__Group_1__0__Impl" - // $ANTLR start "rule__ComparisonExpression__Group__1" - // InternalSolverLanguageParser.g:5255:1: rule__ComparisonExpression__Group__1 : rule__ComparisonExpression__Group__1__Impl ; - public final void rule__ComparisonExpression__Group__1() throws RecognitionException { + // $ANTLR start "rule__ExponentialExpression__Group_1__1" + // InternalSolverLanguageParser.g:6722:1: rule__ExponentialExpression__Group_1__1 : rule__ExponentialExpression__Group_1__1__Impl rule__ExponentialExpression__Group_1__2 ; + public final void rule__ExponentialExpression__Group_1__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5259:1: ( rule__ComparisonExpression__Group__1__Impl ) - // InternalSolverLanguageParser.g:5260:2: rule__ComparisonExpression__Group__1__Impl + // InternalSolverLanguageParser.g:6726:1: ( rule__ExponentialExpression__Group_1__1__Impl rule__ExponentialExpression__Group_1__2 ) + // InternalSolverLanguageParser.g:6727:2: rule__ExponentialExpression__Group_1__1__Impl rule__ExponentialExpression__Group_1__2 { + pushFollow(FOLLOW_12); + rule__ExponentialExpression__Group_1__1__Impl(); + + state._fsp--; + pushFollow(FOLLOW_2); - rule__ComparisonExpression__Group__1__Impl(); + rule__ExponentialExpression__Group_1__2(); state._fsp--; @@ -16410,46 +20913,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ComparisonExpression__Group__1" + // $ANTLR end "rule__ExponentialExpression__Group_1__1" - // $ANTLR start "rule__ComparisonExpression__Group__1__Impl" - // InternalSolverLanguageParser.g:5266:1: rule__ComparisonExpression__Group__1__Impl : ( ( rule__ComparisonExpression__Group_1__0 )? ) ; - public final void rule__ComparisonExpression__Group__1__Impl() throws RecognitionException { + // $ANTLR start "rule__ExponentialExpression__Group_1__1__Impl" + // InternalSolverLanguageParser.g:6734:1: rule__ExponentialExpression__Group_1__1__Impl : ( ( rule__ExponentialExpression__OpAssignment_1_1 ) ) ; + public final void rule__ExponentialExpression__Group_1__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5270:1: ( ( ( rule__ComparisonExpression__Group_1__0 )? ) ) - // InternalSolverLanguageParser.g:5271:1: ( ( rule__ComparisonExpression__Group_1__0 )? ) + // InternalSolverLanguageParser.g:6738:1: ( ( ( rule__ExponentialExpression__OpAssignment_1_1 ) ) ) + // InternalSolverLanguageParser.g:6739:1: ( ( rule__ExponentialExpression__OpAssignment_1_1 ) ) { - // InternalSolverLanguageParser.g:5271:1: ( ( rule__ComparisonExpression__Group_1__0 )? ) - // InternalSolverLanguageParser.g:5272:2: ( rule__ComparisonExpression__Group_1__0 )? + // InternalSolverLanguageParser.g:6739:1: ( ( rule__ExponentialExpression__OpAssignment_1_1 ) ) + // InternalSolverLanguageParser.g:6740:2: ( rule__ExponentialExpression__OpAssignment_1_1 ) { - before(grammarAccess.getComparisonExpressionAccess().getGroup_1()); - // InternalSolverLanguageParser.g:5273:2: ( rule__ComparisonExpression__Group_1__0 )? - int alt38=2; - int LA38_0 = input.LA(1); - - if ( (LA38_0==ExclamationMarkEqualsSign||(LA38_0>=LessThanSignEqualsSign && LA38_0<=EqualsSignEqualsSign)||LA38_0==GreaterThanSignEqualsSign||LA38_0==In||LA38_0==LessThanSign||LA38_0==GreaterThanSign) ) { - alt38=1; - } - switch (alt38) { - case 1 : - // InternalSolverLanguageParser.g:5273:3: rule__ComparisonExpression__Group_1__0 - { - pushFollow(FOLLOW_2); - rule__ComparisonExpression__Group_1__0(); - - state._fsp--; + before(grammarAccess.getExponentialExpressionAccess().getOpAssignment_1_1()); + // InternalSolverLanguageParser.g:6741:2: ( rule__ExponentialExpression__OpAssignment_1_1 ) + // InternalSolverLanguageParser.g:6741:3: rule__ExponentialExpression__OpAssignment_1_1 + { + pushFollow(FOLLOW_2); + rule__ExponentialExpression__OpAssignment_1_1(); + state._fsp--; - } - break; } - after(grammarAccess.getComparisonExpressionAccess().getGroup_1()); + after(grammarAccess.getExponentialExpressionAccess().getOpAssignment_1_1()); } @@ -16468,26 +20960,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ComparisonExpression__Group__1__Impl" + // $ANTLR end "rule__ExponentialExpression__Group_1__1__Impl" - // $ANTLR start "rule__ComparisonExpression__Group_1__0" - // InternalSolverLanguageParser.g:5282:1: rule__ComparisonExpression__Group_1__0 : rule__ComparisonExpression__Group_1__0__Impl rule__ComparisonExpression__Group_1__1 ; - public final void rule__ComparisonExpression__Group_1__0() throws RecognitionException { + // $ANTLR start "rule__ExponentialExpression__Group_1__2" + // InternalSolverLanguageParser.g:6749:1: rule__ExponentialExpression__Group_1__2 : rule__ExponentialExpression__Group_1__2__Impl ; + public final void rule__ExponentialExpression__Group_1__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5286:1: ( rule__ComparisonExpression__Group_1__0__Impl rule__ComparisonExpression__Group_1__1 ) - // InternalSolverLanguageParser.g:5287:2: rule__ComparisonExpression__Group_1__0__Impl rule__ComparisonExpression__Group_1__1 + // InternalSolverLanguageParser.g:6753:1: ( rule__ExponentialExpression__Group_1__2__Impl ) + // InternalSolverLanguageParser.g:6754:2: rule__ExponentialExpression__Group_1__2__Impl { - pushFollow(FOLLOW_30); - rule__ComparisonExpression__Group_1__0__Impl(); - - state._fsp--; - pushFollow(FOLLOW_2); - rule__ComparisonExpression__Group_1__1(); + rule__ExponentialExpression__Group_1__2__Impl(); state._fsp--; @@ -16506,29 +20993,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ComparisonExpression__Group_1__0" + // $ANTLR end "rule__ExponentialExpression__Group_1__2" - // $ANTLR start "rule__ComparisonExpression__Group_1__0__Impl" - // InternalSolverLanguageParser.g:5294:1: rule__ComparisonExpression__Group_1__0__Impl : ( () ) ; - public final void rule__ComparisonExpression__Group_1__0__Impl() throws RecognitionException { + // $ANTLR start "rule__ExponentialExpression__Group_1__2__Impl" + // InternalSolverLanguageParser.g:6760:1: rule__ExponentialExpression__Group_1__2__Impl : ( ( rule__ExponentialExpression__RightAssignment_1_2 ) ) ; + public final void rule__ExponentialExpression__Group_1__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5298:1: ( ( () ) ) - // InternalSolverLanguageParser.g:5299:1: ( () ) + // InternalSolverLanguageParser.g:6764:1: ( ( ( rule__ExponentialExpression__RightAssignment_1_2 ) ) ) + // InternalSolverLanguageParser.g:6765:1: ( ( rule__ExponentialExpression__RightAssignment_1_2 ) ) { - // InternalSolverLanguageParser.g:5299:1: ( () ) - // InternalSolverLanguageParser.g:5300:2: () + // InternalSolverLanguageParser.g:6765:1: ( ( rule__ExponentialExpression__RightAssignment_1_2 ) ) + // InternalSolverLanguageParser.g:6766:2: ( rule__ExponentialExpression__RightAssignment_1_2 ) { - before(grammarAccess.getComparisonExpressionAccess().getComparisonLeftAction_1_0()); - // InternalSolverLanguageParser.g:5301:2: () - // InternalSolverLanguageParser.g:5301:3: + before(grammarAccess.getExponentialExpressionAccess().getRightAssignment_1_2()); + // InternalSolverLanguageParser.g:6767:2: ( rule__ExponentialExpression__RightAssignment_1_2 ) + // InternalSolverLanguageParser.g:6767:3: rule__ExponentialExpression__RightAssignment_1_2 { + pushFollow(FOLLOW_2); + rule__ExponentialExpression__RightAssignment_1_2(); + + state._fsp--; + + } - after(grammarAccess.getComparisonExpressionAccess().getComparisonLeftAction_1_0()); + after(grammarAccess.getExponentialExpressionAccess().getRightAssignment_1_2()); } @@ -16536,6 +21029,10 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } finally { restoreStackSize(stackSize); @@ -16543,26 +21040,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ComparisonExpression__Group_1__0__Impl" + // $ANTLR end "rule__ExponentialExpression__Group_1__2__Impl" - // $ANTLR start "rule__ComparisonExpression__Group_1__1" - // InternalSolverLanguageParser.g:5309:1: rule__ComparisonExpression__Group_1__1 : rule__ComparisonExpression__Group_1__1__Impl rule__ComparisonExpression__Group_1__2 ; - public final void rule__ComparisonExpression__Group_1__1() throws RecognitionException { + // $ANTLR start "rule__CastExpression__Group__0" + // InternalSolverLanguageParser.g:6776:1: rule__CastExpression__Group__0 : rule__CastExpression__Group__0__Impl rule__CastExpression__Group__1 ; + public final void rule__CastExpression__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5313:1: ( rule__ComparisonExpression__Group_1__1__Impl rule__ComparisonExpression__Group_1__2 ) - // InternalSolverLanguageParser.g:5314:2: rule__ComparisonExpression__Group_1__1__Impl rule__ComparisonExpression__Group_1__2 + // InternalSolverLanguageParser.g:6780:1: ( rule__CastExpression__Group__0__Impl rule__CastExpression__Group__1 ) + // InternalSolverLanguageParser.g:6781:2: rule__CastExpression__Group__0__Impl rule__CastExpression__Group__1 { - pushFollow(FOLLOW_7); - rule__ComparisonExpression__Group_1__1__Impl(); + pushFollow(FOLLOW_9); + rule__CastExpression__Group__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__ComparisonExpression__Group_1__2(); + rule__CastExpression__Group__1(); state._fsp--; @@ -16581,35 +21078,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ComparisonExpression__Group_1__1" + // $ANTLR end "rule__CastExpression__Group__0" - // $ANTLR start "rule__ComparisonExpression__Group_1__1__Impl" - // InternalSolverLanguageParser.g:5321:1: rule__ComparisonExpression__Group_1__1__Impl : ( ( rule__ComparisonExpression__OpAssignment_1_1 ) ) ; - public final void rule__ComparisonExpression__Group_1__1__Impl() throws RecognitionException { + // $ANTLR start "rule__CastExpression__Group__0__Impl" + // InternalSolverLanguageParser.g:6788:1: rule__CastExpression__Group__0__Impl : ( ruleUnaryExpression ) ; + public final void rule__CastExpression__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5325:1: ( ( ( rule__ComparisonExpression__OpAssignment_1_1 ) ) ) - // InternalSolverLanguageParser.g:5326:1: ( ( rule__ComparisonExpression__OpAssignment_1_1 ) ) + // InternalSolverLanguageParser.g:6792:1: ( ( ruleUnaryExpression ) ) + // InternalSolverLanguageParser.g:6793:1: ( ruleUnaryExpression ) { - // InternalSolverLanguageParser.g:5326:1: ( ( rule__ComparisonExpression__OpAssignment_1_1 ) ) - // InternalSolverLanguageParser.g:5327:2: ( rule__ComparisonExpression__OpAssignment_1_1 ) - { - before(grammarAccess.getComparisonExpressionAccess().getOpAssignment_1_1()); - // InternalSolverLanguageParser.g:5328:2: ( rule__ComparisonExpression__OpAssignment_1_1 ) - // InternalSolverLanguageParser.g:5328:3: rule__ComparisonExpression__OpAssignment_1_1 + // InternalSolverLanguageParser.g:6793:1: ( ruleUnaryExpression ) + // InternalSolverLanguageParser.g:6794:2: ruleUnaryExpression { + before(grammarAccess.getCastExpressionAccess().getUnaryExpressionParserRuleCall_0()); pushFollow(FOLLOW_2); - rule__ComparisonExpression__OpAssignment_1_1(); + ruleUnaryExpression(); state._fsp--; - - } - - after(grammarAccess.getComparisonExpressionAccess().getOpAssignment_1_1()); + after(grammarAccess.getCastExpressionAccess().getUnaryExpressionParserRuleCall_0()); } @@ -16628,21 +21119,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ComparisonExpression__Group_1__1__Impl" + // $ANTLR end "rule__CastExpression__Group__0__Impl" - // $ANTLR start "rule__ComparisonExpression__Group_1__2" - // InternalSolverLanguageParser.g:5336:1: rule__ComparisonExpression__Group_1__2 : rule__ComparisonExpression__Group_1__2__Impl ; - public final void rule__ComparisonExpression__Group_1__2() throws RecognitionException { + // $ANTLR start "rule__CastExpression__Group__1" + // InternalSolverLanguageParser.g:6803:1: rule__CastExpression__Group__1 : rule__CastExpression__Group__1__Impl ; + public final void rule__CastExpression__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5340:1: ( rule__ComparisonExpression__Group_1__2__Impl ) - // InternalSolverLanguageParser.g:5341:2: rule__ComparisonExpression__Group_1__2__Impl + // InternalSolverLanguageParser.g:6807:1: ( rule__CastExpression__Group__1__Impl ) + // InternalSolverLanguageParser.g:6808:2: rule__CastExpression__Group__1__Impl { pushFollow(FOLLOW_2); - rule__ComparisonExpression__Group_1__2__Impl(); + rule__CastExpression__Group__1__Impl(); state._fsp--; @@ -16661,35 +21152,46 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ComparisonExpression__Group_1__2" + // $ANTLR end "rule__CastExpression__Group__1" - // $ANTLR start "rule__ComparisonExpression__Group_1__2__Impl" - // InternalSolverLanguageParser.g:5347:1: rule__ComparisonExpression__Group_1__2__Impl : ( ( rule__ComparisonExpression__RightAssignment_1_2 ) ) ; - public final void rule__ComparisonExpression__Group_1__2__Impl() throws RecognitionException { + // $ANTLR start "rule__CastExpression__Group__1__Impl" + // InternalSolverLanguageParser.g:6814:1: rule__CastExpression__Group__1__Impl : ( ( rule__CastExpression__Group_1__0 )? ) ; + public final void rule__CastExpression__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5351:1: ( ( ( rule__ComparisonExpression__RightAssignment_1_2 ) ) ) - // InternalSolverLanguageParser.g:5352:1: ( ( rule__ComparisonExpression__RightAssignment_1_2 ) ) + // InternalSolverLanguageParser.g:6818:1: ( ( ( rule__CastExpression__Group_1__0 )? ) ) + // InternalSolverLanguageParser.g:6819:1: ( ( rule__CastExpression__Group_1__0 )? ) { - // InternalSolverLanguageParser.g:5352:1: ( ( rule__ComparisonExpression__RightAssignment_1_2 ) ) - // InternalSolverLanguageParser.g:5353:2: ( rule__ComparisonExpression__RightAssignment_1_2 ) + // InternalSolverLanguageParser.g:6819:1: ( ( rule__CastExpression__Group_1__0 )? ) + // InternalSolverLanguageParser.g:6820:2: ( rule__CastExpression__Group_1__0 )? { - before(grammarAccess.getComparisonExpressionAccess().getRightAssignment_1_2()); - // InternalSolverLanguageParser.g:5354:2: ( rule__ComparisonExpression__RightAssignment_1_2 ) - // InternalSolverLanguageParser.g:5354:3: rule__ComparisonExpression__RightAssignment_1_2 - { - pushFollow(FOLLOW_2); - rule__ComparisonExpression__RightAssignment_1_2(); + before(grammarAccess.getCastExpressionAccess().getGroup_1()); + // InternalSolverLanguageParser.g:6821:2: ( rule__CastExpression__Group_1__0 )? + int alt50=2; + int LA50_0 = input.LA(1); + + if ( (LA50_0==As) ) { + alt50=1; + } + switch (alt50) { + case 1 : + // InternalSolverLanguageParser.g:6821:3: rule__CastExpression__Group_1__0 + { + pushFollow(FOLLOW_2); + rule__CastExpression__Group_1__0(); + + state._fsp--; - state._fsp--; + } + break; } - after(grammarAccess.getComparisonExpressionAccess().getRightAssignment_1_2()); + after(grammarAccess.getCastExpressionAccess().getGroup_1()); } @@ -16708,26 +21210,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ComparisonExpression__Group_1__2__Impl" + // $ANTLR end "rule__CastExpression__Group__1__Impl" - // $ANTLR start "rule__AdditiveExpression__Group__0" - // InternalSolverLanguageParser.g:5363:1: rule__AdditiveExpression__Group__0 : rule__AdditiveExpression__Group__0__Impl rule__AdditiveExpression__Group__1 ; - public final void rule__AdditiveExpression__Group__0() throws RecognitionException { + // $ANTLR start "rule__CastExpression__Group_1__0" + // InternalSolverLanguageParser.g:6830:1: rule__CastExpression__Group_1__0 : rule__CastExpression__Group_1__0__Impl rule__CastExpression__Group_1__1 ; + public final void rule__CastExpression__Group_1__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5367:1: ( rule__AdditiveExpression__Group__0__Impl rule__AdditiveExpression__Group__1 ) - // InternalSolverLanguageParser.g:5368:2: rule__AdditiveExpression__Group__0__Impl rule__AdditiveExpression__Group__1 + // InternalSolverLanguageParser.g:6834:1: ( rule__CastExpression__Group_1__0__Impl rule__CastExpression__Group_1__1 ) + // InternalSolverLanguageParser.g:6835:2: rule__CastExpression__Group_1__0__Impl rule__CastExpression__Group_1__1 { - pushFollow(FOLLOW_31); - rule__AdditiveExpression__Group__0__Impl(); + pushFollow(FOLLOW_9); + rule__CastExpression__Group_1__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__AdditiveExpression__Group__1(); + rule__CastExpression__Group_1__1(); state._fsp--; @@ -16746,29 +21248,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__AdditiveExpression__Group__0" + // $ANTLR end "rule__CastExpression__Group_1__0" - // $ANTLR start "rule__AdditiveExpression__Group__0__Impl" - // InternalSolverLanguageParser.g:5375:1: rule__AdditiveExpression__Group__0__Impl : ( ruleMultiplicativeExpression ) ; - public final void rule__AdditiveExpression__Group__0__Impl() throws RecognitionException { + // $ANTLR start "rule__CastExpression__Group_1__0__Impl" + // InternalSolverLanguageParser.g:6842:1: rule__CastExpression__Group_1__0__Impl : ( () ) ; + public final void rule__CastExpression__Group_1__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5379:1: ( ( ruleMultiplicativeExpression ) ) - // InternalSolverLanguageParser.g:5380:1: ( ruleMultiplicativeExpression ) + // InternalSolverLanguageParser.g:6846:1: ( ( () ) ) + // InternalSolverLanguageParser.g:6847:1: ( () ) { - // InternalSolverLanguageParser.g:5380:1: ( ruleMultiplicativeExpression ) - // InternalSolverLanguageParser.g:5381:2: ruleMultiplicativeExpression + // InternalSolverLanguageParser.g:6847:1: ( () ) + // InternalSolverLanguageParser.g:6848:2: () { - before(grammarAccess.getAdditiveExpressionAccess().getMultiplicativeExpressionParserRuleCall_0()); - pushFollow(FOLLOW_2); - ruleMultiplicativeExpression(); - - state._fsp--; + before(grammarAccess.getCastExpressionAccess().getCastExpressionBodyAction_1_0()); + // InternalSolverLanguageParser.g:6849:2: () + // InternalSolverLanguageParser.g:6849:3: + { + } - after(grammarAccess.getAdditiveExpressionAccess().getMultiplicativeExpressionParserRuleCall_0()); + after(grammarAccess.getCastExpressionAccess().getCastExpressionBodyAction_1_0()); } @@ -16776,10 +21278,6 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } finally { restoreStackSize(stackSize); @@ -16787,21 +21285,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__AdditiveExpression__Group__0__Impl" + // $ANTLR end "rule__CastExpression__Group_1__0__Impl" - // $ANTLR start "rule__AdditiveExpression__Group__1" - // InternalSolverLanguageParser.g:5390:1: rule__AdditiveExpression__Group__1 : rule__AdditiveExpression__Group__1__Impl ; - public final void rule__AdditiveExpression__Group__1() throws RecognitionException { + // $ANTLR start "rule__CastExpression__Group_1__1" + // InternalSolverLanguageParser.g:6857:1: rule__CastExpression__Group_1__1 : rule__CastExpression__Group_1__1__Impl rule__CastExpression__Group_1__2 ; + public final void rule__CastExpression__Group_1__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5394:1: ( rule__AdditiveExpression__Group__1__Impl ) - // InternalSolverLanguageParser.g:5395:2: rule__AdditiveExpression__Group__1__Impl + // InternalSolverLanguageParser.g:6861:1: ( rule__CastExpression__Group_1__1__Impl rule__CastExpression__Group_1__2 ) + // InternalSolverLanguageParser.g:6862:2: rule__CastExpression__Group_1__1__Impl rule__CastExpression__Group_1__2 { + pushFollow(FOLLOW_6); + rule__CastExpression__Group_1__1__Impl(); + + state._fsp--; + pushFollow(FOLLOW_2); - rule__AdditiveExpression__Group__1__Impl(); + rule__CastExpression__Group_1__2(); state._fsp--; @@ -16820,53 +21323,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__AdditiveExpression__Group__1" + // $ANTLR end "rule__CastExpression__Group_1__1" - // $ANTLR start "rule__AdditiveExpression__Group__1__Impl" - // InternalSolverLanguageParser.g:5401:1: rule__AdditiveExpression__Group__1__Impl : ( ( rule__AdditiveExpression__Group_1__0 )* ) ; - public final void rule__AdditiveExpression__Group__1__Impl() throws RecognitionException { + // $ANTLR start "rule__CastExpression__Group_1__1__Impl" + // InternalSolverLanguageParser.g:6869:1: rule__CastExpression__Group_1__1__Impl : ( As ) ; + public final void rule__CastExpression__Group_1__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5405:1: ( ( ( rule__AdditiveExpression__Group_1__0 )* ) ) - // InternalSolverLanguageParser.g:5406:1: ( ( rule__AdditiveExpression__Group_1__0 )* ) + // InternalSolverLanguageParser.g:6873:1: ( ( As ) ) + // InternalSolverLanguageParser.g:6874:1: ( As ) { - // InternalSolverLanguageParser.g:5406:1: ( ( rule__AdditiveExpression__Group_1__0 )* ) - // InternalSolverLanguageParser.g:5407:2: ( rule__AdditiveExpression__Group_1__0 )* + // InternalSolverLanguageParser.g:6874:1: ( As ) + // InternalSolverLanguageParser.g:6875:2: As { - before(grammarAccess.getAdditiveExpressionAccess().getGroup_1()); - // InternalSolverLanguageParser.g:5408:2: ( rule__AdditiveExpression__Group_1__0 )* - loop39: - do { - int alt39=2; - int LA39_0 = input.LA(1); - - if ( (LA39_0==PlusSign||LA39_0==HyphenMinus) ) { - alt39=1; - } - - - switch (alt39) { - case 1 : - // InternalSolverLanguageParser.g:5408:3: rule__AdditiveExpression__Group_1__0 - { - pushFollow(FOLLOW_32); - rule__AdditiveExpression__Group_1__0(); - - state._fsp--; - - - } - break; - - default : - break loop39; - } - } while (true); - - after(grammarAccess.getAdditiveExpressionAccess().getGroup_1()); + before(grammarAccess.getCastExpressionAccess().getAsKeyword_1_1()); + match(input,As,FOLLOW_2); + after(grammarAccess.getCastExpressionAccess().getAsKeyword_1_1()); } @@ -16885,26 +21360,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__AdditiveExpression__Group__1__Impl" + // $ANTLR end "rule__CastExpression__Group_1__1__Impl" - // $ANTLR start "rule__AdditiveExpression__Group_1__0" - // InternalSolverLanguageParser.g:5417:1: rule__AdditiveExpression__Group_1__0 : rule__AdditiveExpression__Group_1__0__Impl rule__AdditiveExpression__Group_1__1 ; - public final void rule__AdditiveExpression__Group_1__0() throws RecognitionException { + // $ANTLR start "rule__CastExpression__Group_1__2" + // InternalSolverLanguageParser.g:6884:1: rule__CastExpression__Group_1__2 : rule__CastExpression__Group_1__2__Impl ; + public final void rule__CastExpression__Group_1__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5421:1: ( rule__AdditiveExpression__Group_1__0__Impl rule__AdditiveExpression__Group_1__1 ) - // InternalSolverLanguageParser.g:5422:2: rule__AdditiveExpression__Group_1__0__Impl rule__AdditiveExpression__Group_1__1 + // InternalSolverLanguageParser.g:6888:1: ( rule__CastExpression__Group_1__2__Impl ) + // InternalSolverLanguageParser.g:6889:2: rule__CastExpression__Group_1__2__Impl { - pushFollow(FOLLOW_31); - rule__AdditiveExpression__Group_1__0__Impl(); - - state._fsp--; - pushFollow(FOLLOW_2); - rule__AdditiveExpression__Group_1__1(); + rule__CastExpression__Group_1__2__Impl(); state._fsp--; @@ -16923,29 +21393,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__AdditiveExpression__Group_1__0" + // $ANTLR end "rule__CastExpression__Group_1__2" - // $ANTLR start "rule__AdditiveExpression__Group_1__0__Impl" - // InternalSolverLanguageParser.g:5429:1: rule__AdditiveExpression__Group_1__0__Impl : ( () ) ; - public final void rule__AdditiveExpression__Group_1__0__Impl() throws RecognitionException { + // $ANTLR start "rule__CastExpression__Group_1__2__Impl" + // InternalSolverLanguageParser.g:6895:1: rule__CastExpression__Group_1__2__Impl : ( ( rule__CastExpression__TargetTypeAssignment_1_2 ) ) ; + public final void rule__CastExpression__Group_1__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5433:1: ( ( () ) ) - // InternalSolverLanguageParser.g:5434:1: ( () ) + // InternalSolverLanguageParser.g:6899:1: ( ( ( rule__CastExpression__TargetTypeAssignment_1_2 ) ) ) + // InternalSolverLanguageParser.g:6900:1: ( ( rule__CastExpression__TargetTypeAssignment_1_2 ) ) { - // InternalSolverLanguageParser.g:5434:1: ( () ) - // InternalSolverLanguageParser.g:5435:2: () + // InternalSolverLanguageParser.g:6900:1: ( ( rule__CastExpression__TargetTypeAssignment_1_2 ) ) + // InternalSolverLanguageParser.g:6901:2: ( rule__CastExpression__TargetTypeAssignment_1_2 ) { - before(grammarAccess.getAdditiveExpressionAccess().getBinaryExpressionLeftAction_1_0()); - // InternalSolverLanguageParser.g:5436:2: () - // InternalSolverLanguageParser.g:5436:3: + before(grammarAccess.getCastExpressionAccess().getTargetTypeAssignment_1_2()); + // InternalSolverLanguageParser.g:6902:2: ( rule__CastExpression__TargetTypeAssignment_1_2 ) + // InternalSolverLanguageParser.g:6902:3: rule__CastExpression__TargetTypeAssignment_1_2 { + pushFollow(FOLLOW_2); + rule__CastExpression__TargetTypeAssignment_1_2(); + + state._fsp--; + + } - after(grammarAccess.getAdditiveExpressionAccess().getBinaryExpressionLeftAction_1_0()); + after(grammarAccess.getCastExpressionAccess().getTargetTypeAssignment_1_2()); } @@ -16953,6 +21429,10 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } finally { restoreStackSize(stackSize); @@ -16960,26 +21440,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__AdditiveExpression__Group_1__0__Impl" + // $ANTLR end "rule__CastExpression__Group_1__2__Impl" - // $ANTLR start "rule__AdditiveExpression__Group_1__1" - // InternalSolverLanguageParser.g:5444:1: rule__AdditiveExpression__Group_1__1 : rule__AdditiveExpression__Group_1__1__Impl rule__AdditiveExpression__Group_1__2 ; - public final void rule__AdditiveExpression__Group_1__1() throws RecognitionException { + // $ANTLR start "rule__UnaryExpression__Group_1__0" + // InternalSolverLanguageParser.g:6911:1: rule__UnaryExpression__Group_1__0 : rule__UnaryExpression__Group_1__0__Impl rule__UnaryExpression__Group_1__1 ; + public final void rule__UnaryExpression__Group_1__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5448:1: ( rule__AdditiveExpression__Group_1__1__Impl rule__AdditiveExpression__Group_1__2 ) - // InternalSolverLanguageParser.g:5449:2: rule__AdditiveExpression__Group_1__1__Impl rule__AdditiveExpression__Group_1__2 + // InternalSolverLanguageParser.g:6915:1: ( rule__UnaryExpression__Group_1__0__Impl rule__UnaryExpression__Group_1__1 ) + // InternalSolverLanguageParser.g:6916:2: rule__UnaryExpression__Group_1__0__Impl rule__UnaryExpression__Group_1__1 { - pushFollow(FOLLOW_7); - rule__AdditiveExpression__Group_1__1__Impl(); + pushFollow(FOLLOW_12); + rule__UnaryExpression__Group_1__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__AdditiveExpression__Group_1__2(); + rule__UnaryExpression__Group_1__1(); state._fsp--; @@ -16998,35 +21478,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__AdditiveExpression__Group_1__1" + // $ANTLR end "rule__UnaryExpression__Group_1__0" - // $ANTLR start "rule__AdditiveExpression__Group_1__1__Impl" - // InternalSolverLanguageParser.g:5456:1: rule__AdditiveExpression__Group_1__1__Impl : ( ( rule__AdditiveExpression__OpAssignment_1_1 ) ) ; - public final void rule__AdditiveExpression__Group_1__1__Impl() throws RecognitionException { + // $ANTLR start "rule__UnaryExpression__Group_1__0__Impl" + // InternalSolverLanguageParser.g:6923:1: rule__UnaryExpression__Group_1__0__Impl : ( () ) ; + public final void rule__UnaryExpression__Group_1__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5460:1: ( ( ( rule__AdditiveExpression__OpAssignment_1_1 ) ) ) - // InternalSolverLanguageParser.g:5461:1: ( ( rule__AdditiveExpression__OpAssignment_1_1 ) ) + // InternalSolverLanguageParser.g:6927:1: ( ( () ) ) + // InternalSolverLanguageParser.g:6928:1: ( () ) { - // InternalSolverLanguageParser.g:5461:1: ( ( rule__AdditiveExpression__OpAssignment_1_1 ) ) - // InternalSolverLanguageParser.g:5462:2: ( rule__AdditiveExpression__OpAssignment_1_1 ) + // InternalSolverLanguageParser.g:6928:1: ( () ) + // InternalSolverLanguageParser.g:6929:2: () { - before(grammarAccess.getAdditiveExpressionAccess().getOpAssignment_1_1()); - // InternalSolverLanguageParser.g:5463:2: ( rule__AdditiveExpression__OpAssignment_1_1 ) - // InternalSolverLanguageParser.g:5463:3: rule__AdditiveExpression__OpAssignment_1_1 + before(grammarAccess.getUnaryExpressionAccess().getUnaryExpressionAction_1_0()); + // InternalSolverLanguageParser.g:6930:2: () + // InternalSolverLanguageParser.g:6930:3: { - pushFollow(FOLLOW_2); - rule__AdditiveExpression__OpAssignment_1_1(); - - state._fsp--; - - } - after(grammarAccess.getAdditiveExpressionAccess().getOpAssignment_1_1()); + after(grammarAccess.getUnaryExpressionAccess().getUnaryExpressionAction_1_0()); } @@ -17034,10 +21508,6 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } finally { restoreStackSize(stackSize); @@ -17045,21 +21515,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__AdditiveExpression__Group_1__1__Impl" + // $ANTLR end "rule__UnaryExpression__Group_1__0__Impl" - // $ANTLR start "rule__AdditiveExpression__Group_1__2" - // InternalSolverLanguageParser.g:5471:1: rule__AdditiveExpression__Group_1__2 : rule__AdditiveExpression__Group_1__2__Impl ; - public final void rule__AdditiveExpression__Group_1__2() throws RecognitionException { + // $ANTLR start "rule__UnaryExpression__Group_1__1" + // InternalSolverLanguageParser.g:6938:1: rule__UnaryExpression__Group_1__1 : rule__UnaryExpression__Group_1__1__Impl rule__UnaryExpression__Group_1__2 ; + public final void rule__UnaryExpression__Group_1__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5475:1: ( rule__AdditiveExpression__Group_1__2__Impl ) - // InternalSolverLanguageParser.g:5476:2: rule__AdditiveExpression__Group_1__2__Impl + // InternalSolverLanguageParser.g:6942:1: ( rule__UnaryExpression__Group_1__1__Impl rule__UnaryExpression__Group_1__2 ) + // InternalSolverLanguageParser.g:6943:2: rule__UnaryExpression__Group_1__1__Impl rule__UnaryExpression__Group_1__2 { + pushFollow(FOLLOW_42); + rule__UnaryExpression__Group_1__1__Impl(); + + state._fsp--; + pushFollow(FOLLOW_2); - rule__AdditiveExpression__Group_1__2__Impl(); + rule__UnaryExpression__Group_1__2(); state._fsp--; @@ -17078,35 +21553,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__AdditiveExpression__Group_1__2" + // $ANTLR end "rule__UnaryExpression__Group_1__1" - // $ANTLR start "rule__AdditiveExpression__Group_1__2__Impl" - // InternalSolverLanguageParser.g:5482:1: rule__AdditiveExpression__Group_1__2__Impl : ( ( rule__AdditiveExpression__RightAssignment_1_2 ) ) ; - public final void rule__AdditiveExpression__Group_1__2__Impl() throws RecognitionException { + // $ANTLR start "rule__UnaryExpression__Group_1__1__Impl" + // InternalSolverLanguageParser.g:6950:1: rule__UnaryExpression__Group_1__1__Impl : ( ( rule__UnaryExpression__OpAssignment_1_1 ) ) ; + public final void rule__UnaryExpression__Group_1__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5486:1: ( ( ( rule__AdditiveExpression__RightAssignment_1_2 ) ) ) - // InternalSolverLanguageParser.g:5487:1: ( ( rule__AdditiveExpression__RightAssignment_1_2 ) ) + // InternalSolverLanguageParser.g:6954:1: ( ( ( rule__UnaryExpression__OpAssignment_1_1 ) ) ) + // InternalSolverLanguageParser.g:6955:1: ( ( rule__UnaryExpression__OpAssignment_1_1 ) ) { - // InternalSolverLanguageParser.g:5487:1: ( ( rule__AdditiveExpression__RightAssignment_1_2 ) ) - // InternalSolverLanguageParser.g:5488:2: ( rule__AdditiveExpression__RightAssignment_1_2 ) + // InternalSolverLanguageParser.g:6955:1: ( ( rule__UnaryExpression__OpAssignment_1_1 ) ) + // InternalSolverLanguageParser.g:6956:2: ( rule__UnaryExpression__OpAssignment_1_1 ) { - before(grammarAccess.getAdditiveExpressionAccess().getRightAssignment_1_2()); - // InternalSolverLanguageParser.g:5489:2: ( rule__AdditiveExpression__RightAssignment_1_2 ) - // InternalSolverLanguageParser.g:5489:3: rule__AdditiveExpression__RightAssignment_1_2 + before(grammarAccess.getUnaryExpressionAccess().getOpAssignment_1_1()); + // InternalSolverLanguageParser.g:6957:2: ( rule__UnaryExpression__OpAssignment_1_1 ) + // InternalSolverLanguageParser.g:6957:3: rule__UnaryExpression__OpAssignment_1_1 { pushFollow(FOLLOW_2); - rule__AdditiveExpression__RightAssignment_1_2(); + rule__UnaryExpression__OpAssignment_1_1(); state._fsp--; } - after(grammarAccess.getAdditiveExpressionAccess().getRightAssignment_1_2()); + after(grammarAccess.getUnaryExpressionAccess().getOpAssignment_1_1()); } @@ -17125,26 +21600,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__AdditiveExpression__Group_1__2__Impl" + // $ANTLR end "rule__UnaryExpression__Group_1__1__Impl" - // $ANTLR start "rule__MultiplicativeExpression__Group__0" - // InternalSolverLanguageParser.g:5498:1: rule__MultiplicativeExpression__Group__0 : rule__MultiplicativeExpression__Group__0__Impl rule__MultiplicativeExpression__Group__1 ; - public final void rule__MultiplicativeExpression__Group__0() throws RecognitionException { + // $ANTLR start "rule__UnaryExpression__Group_1__2" + // InternalSolverLanguageParser.g:6965:1: rule__UnaryExpression__Group_1__2 : rule__UnaryExpression__Group_1__2__Impl ; + public final void rule__UnaryExpression__Group_1__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5502:1: ( rule__MultiplicativeExpression__Group__0__Impl rule__MultiplicativeExpression__Group__1 ) - // InternalSolverLanguageParser.g:5503:2: rule__MultiplicativeExpression__Group__0__Impl rule__MultiplicativeExpression__Group__1 + // InternalSolverLanguageParser.g:6969:1: ( rule__UnaryExpression__Group_1__2__Impl ) + // InternalSolverLanguageParser.g:6970:2: rule__UnaryExpression__Group_1__2__Impl { - pushFollow(FOLLOW_33); - rule__MultiplicativeExpression__Group__0__Impl(); - - state._fsp--; - pushFollow(FOLLOW_2); - rule__MultiplicativeExpression__Group__1(); + rule__UnaryExpression__Group_1__2__Impl(); state._fsp--; @@ -17163,29 +21633,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__MultiplicativeExpression__Group__0" + // $ANTLR end "rule__UnaryExpression__Group_1__2" - // $ANTLR start "rule__MultiplicativeExpression__Group__0__Impl" - // InternalSolverLanguageParser.g:5510:1: rule__MultiplicativeExpression__Group__0__Impl : ( ruleExponentialExpression ) ; - public final void rule__MultiplicativeExpression__Group__0__Impl() throws RecognitionException { + // $ANTLR start "rule__UnaryExpression__Group_1__2__Impl" + // InternalSolverLanguageParser.g:6976:1: rule__UnaryExpression__Group_1__2__Impl : ( ( rule__UnaryExpression__BodyAssignment_1_2 ) ) ; + public final void rule__UnaryExpression__Group_1__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5514:1: ( ( ruleExponentialExpression ) ) - // InternalSolverLanguageParser.g:5515:1: ( ruleExponentialExpression ) + // InternalSolverLanguageParser.g:6980:1: ( ( ( rule__UnaryExpression__BodyAssignment_1_2 ) ) ) + // InternalSolverLanguageParser.g:6981:1: ( ( rule__UnaryExpression__BodyAssignment_1_2 ) ) { - // InternalSolverLanguageParser.g:5515:1: ( ruleExponentialExpression ) - // InternalSolverLanguageParser.g:5516:2: ruleExponentialExpression + // InternalSolverLanguageParser.g:6981:1: ( ( rule__UnaryExpression__BodyAssignment_1_2 ) ) + // InternalSolverLanguageParser.g:6982:2: ( rule__UnaryExpression__BodyAssignment_1_2 ) + { + before(grammarAccess.getUnaryExpressionAccess().getBodyAssignment_1_2()); + // InternalSolverLanguageParser.g:6983:2: ( rule__UnaryExpression__BodyAssignment_1_2 ) + // InternalSolverLanguageParser.g:6983:3: rule__UnaryExpression__BodyAssignment_1_2 { - before(grammarAccess.getMultiplicativeExpressionAccess().getExponentialExpressionParserRuleCall_0()); pushFollow(FOLLOW_2); - ruleExponentialExpression(); + rule__UnaryExpression__BodyAssignment_1_2(); state._fsp--; - after(grammarAccess.getMultiplicativeExpressionAccess().getExponentialExpressionParserRuleCall_0()); + + } + + after(grammarAccess.getUnaryExpressionAccess().getBodyAssignment_1_2()); } @@ -17204,21 +21680,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__MultiplicativeExpression__Group__0__Impl" + // $ANTLR end "rule__UnaryExpression__Group_1__2__Impl" - // $ANTLR start "rule__MultiplicativeExpression__Group__1" - // InternalSolverLanguageParser.g:5525:1: rule__MultiplicativeExpression__Group__1 : rule__MultiplicativeExpression__Group__1__Impl ; - public final void rule__MultiplicativeExpression__Group__1() throws RecognitionException { + // $ANTLR start "rule__Aggregation__Group__0" + // InternalSolverLanguageParser.g:6992:1: rule__Aggregation__Group__0 : rule__Aggregation__Group__0__Impl rule__Aggregation__Group__1 ; + public final void rule__Aggregation__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5529:1: ( rule__MultiplicativeExpression__Group__1__Impl ) - // InternalSolverLanguageParser.g:5530:2: rule__MultiplicativeExpression__Group__1__Impl + // InternalSolverLanguageParser.g:6996:1: ( rule__Aggregation__Group__0__Impl rule__Aggregation__Group__1 ) + // InternalSolverLanguageParser.g:6997:2: rule__Aggregation__Group__0__Impl rule__Aggregation__Group__1 { + pushFollow(FOLLOW_21); + rule__Aggregation__Group__0__Impl(); + + state._fsp--; + pushFollow(FOLLOW_2); - rule__MultiplicativeExpression__Group__1__Impl(); + rule__Aggregation__Group__1(); state._fsp--; @@ -17237,53 +21718,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__MultiplicativeExpression__Group__1" + // $ANTLR end "rule__Aggregation__Group__0" - // $ANTLR start "rule__MultiplicativeExpression__Group__1__Impl" - // InternalSolverLanguageParser.g:5536:1: rule__MultiplicativeExpression__Group__1__Impl : ( ( rule__MultiplicativeExpression__Group_1__0 )* ) ; - public final void rule__MultiplicativeExpression__Group__1__Impl() throws RecognitionException { + // $ANTLR start "rule__Aggregation__Group__0__Impl" + // InternalSolverLanguageParser.g:7004:1: rule__Aggregation__Group__0__Impl : ( ( rule__Aggregation__OpAssignment_0 ) ) ; + public final void rule__Aggregation__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5540:1: ( ( ( rule__MultiplicativeExpression__Group_1__0 )* ) ) - // InternalSolverLanguageParser.g:5541:1: ( ( rule__MultiplicativeExpression__Group_1__0 )* ) + // InternalSolverLanguageParser.g:7008:1: ( ( ( rule__Aggregation__OpAssignment_0 ) ) ) + // InternalSolverLanguageParser.g:7009:1: ( ( rule__Aggregation__OpAssignment_0 ) ) { - // InternalSolverLanguageParser.g:5541:1: ( ( rule__MultiplicativeExpression__Group_1__0 )* ) - // InternalSolverLanguageParser.g:5542:2: ( rule__MultiplicativeExpression__Group_1__0 )* + // InternalSolverLanguageParser.g:7009:1: ( ( rule__Aggregation__OpAssignment_0 ) ) + // InternalSolverLanguageParser.g:7010:2: ( rule__Aggregation__OpAssignment_0 ) { - before(grammarAccess.getMultiplicativeExpressionAccess().getGroup_1()); - // InternalSolverLanguageParser.g:5543:2: ( rule__MultiplicativeExpression__Group_1__0 )* - loop40: - do { - int alt40=2; - int LA40_0 = input.LA(1); - - if ( (LA40_0==Asterisk||LA40_0==Solidus) ) { - alt40=1; - } - - - switch (alt40) { - case 1 : - // InternalSolverLanguageParser.g:5543:3: rule__MultiplicativeExpression__Group_1__0 - { - pushFollow(FOLLOW_34); - rule__MultiplicativeExpression__Group_1__0(); - - state._fsp--; + before(grammarAccess.getAggregationAccess().getOpAssignment_0()); + // InternalSolverLanguageParser.g:7011:2: ( rule__Aggregation__OpAssignment_0 ) + // InternalSolverLanguageParser.g:7011:3: rule__Aggregation__OpAssignment_0 + { + pushFollow(FOLLOW_2); + rule__Aggregation__OpAssignment_0(); + state._fsp--; - } - break; - default : - break loop40; - } - } while (true); + } - after(grammarAccess.getMultiplicativeExpressionAccess().getGroup_1()); + after(grammarAccess.getAggregationAccess().getOpAssignment_0()); } @@ -17302,26 +21765,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__MultiplicativeExpression__Group__1__Impl" - + // $ANTLR end "rule__Aggregation__Group__0__Impl" - // $ANTLR start "rule__MultiplicativeExpression__Group_1__0" - // InternalSolverLanguageParser.g:5552:1: rule__MultiplicativeExpression__Group_1__0 : rule__MultiplicativeExpression__Group_1__0__Impl rule__MultiplicativeExpression__Group_1__1 ; - public final void rule__MultiplicativeExpression__Group_1__0() throws RecognitionException { + + // $ANTLR start "rule__Aggregation__Group__1" + // InternalSolverLanguageParser.g:7019:1: rule__Aggregation__Group__1 : rule__Aggregation__Group__1__Impl rule__Aggregation__Group__2 ; + public final void rule__Aggregation__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5556:1: ( rule__MultiplicativeExpression__Group_1__0__Impl rule__MultiplicativeExpression__Group_1__1 ) - // InternalSolverLanguageParser.g:5557:2: rule__MultiplicativeExpression__Group_1__0__Impl rule__MultiplicativeExpression__Group_1__1 + // InternalSolverLanguageParser.g:7023:1: ( rule__Aggregation__Group__1__Impl rule__Aggregation__Group__2 ) + // InternalSolverLanguageParser.g:7024:2: rule__Aggregation__Group__1__Impl rule__Aggregation__Group__2 { - pushFollow(FOLLOW_33); - rule__MultiplicativeExpression__Group_1__0__Impl(); + pushFollow(FOLLOW_12); + rule__Aggregation__Group__1__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__MultiplicativeExpression__Group_1__1(); + rule__Aggregation__Group__2(); state._fsp--; @@ -17340,29 +21803,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__MultiplicativeExpression__Group_1__0" + // $ANTLR end "rule__Aggregation__Group__1" - // $ANTLR start "rule__MultiplicativeExpression__Group_1__0__Impl" - // InternalSolverLanguageParser.g:5564:1: rule__MultiplicativeExpression__Group_1__0__Impl : ( () ) ; - public final void rule__MultiplicativeExpression__Group_1__0__Impl() throws RecognitionException { + // $ANTLR start "rule__Aggregation__Group__1__Impl" + // InternalSolverLanguageParser.g:7031:1: rule__Aggregation__Group__1__Impl : ( LeftCurlyBracket ) ; + public final void rule__Aggregation__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5568:1: ( ( () ) ) - // InternalSolverLanguageParser.g:5569:1: ( () ) - { - // InternalSolverLanguageParser.g:5569:1: ( () ) - // InternalSolverLanguageParser.g:5570:2: () + // InternalSolverLanguageParser.g:7035:1: ( ( LeftCurlyBracket ) ) + // InternalSolverLanguageParser.g:7036:1: ( LeftCurlyBracket ) { - before(grammarAccess.getMultiplicativeExpressionAccess().getBinaryExpressionLeftAction_1_0()); - // InternalSolverLanguageParser.g:5571:2: () - // InternalSolverLanguageParser.g:5571:3: + // InternalSolverLanguageParser.g:7036:1: ( LeftCurlyBracket ) + // InternalSolverLanguageParser.g:7037:2: LeftCurlyBracket { - } - - after(grammarAccess.getMultiplicativeExpressionAccess().getBinaryExpressionLeftAction_1_0()); + before(grammarAccess.getAggregationAccess().getLeftCurlyBracketKeyword_1()); + match(input,LeftCurlyBracket,FOLLOW_2); + after(grammarAccess.getAggregationAccess().getLeftCurlyBracketKeyword_1()); } @@ -17370,6 +21829,10 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } finally { restoreStackSize(stackSize); @@ -17377,26 +21840,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__MultiplicativeExpression__Group_1__0__Impl" + // $ANTLR end "rule__Aggregation__Group__1__Impl" - // $ANTLR start "rule__MultiplicativeExpression__Group_1__1" - // InternalSolverLanguageParser.g:5579:1: rule__MultiplicativeExpression__Group_1__1 : rule__MultiplicativeExpression__Group_1__1__Impl rule__MultiplicativeExpression__Group_1__2 ; - public final void rule__MultiplicativeExpression__Group_1__1() throws RecognitionException { + // $ANTLR start "rule__Aggregation__Group__2" + // InternalSolverLanguageParser.g:7046:1: rule__Aggregation__Group__2 : rule__Aggregation__Group__2__Impl rule__Aggregation__Group__3 ; + public final void rule__Aggregation__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5583:1: ( rule__MultiplicativeExpression__Group_1__1__Impl rule__MultiplicativeExpression__Group_1__2 ) - // InternalSolverLanguageParser.g:5584:2: rule__MultiplicativeExpression__Group_1__1__Impl rule__MultiplicativeExpression__Group_1__2 + // InternalSolverLanguageParser.g:7050:1: ( rule__Aggregation__Group__2__Impl rule__Aggregation__Group__3 ) + // InternalSolverLanguageParser.g:7051:2: rule__Aggregation__Group__2__Impl rule__Aggregation__Group__3 { - pushFollow(FOLLOW_7); - rule__MultiplicativeExpression__Group_1__1__Impl(); + pushFollow(FOLLOW_43); + rule__Aggregation__Group__2__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__MultiplicativeExpression__Group_1__2(); + rule__Aggregation__Group__3(); state._fsp--; @@ -17415,35 +21878,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__MultiplicativeExpression__Group_1__1" + // $ANTLR end "rule__Aggregation__Group__2" - // $ANTLR start "rule__MultiplicativeExpression__Group_1__1__Impl" - // InternalSolverLanguageParser.g:5591:1: rule__MultiplicativeExpression__Group_1__1__Impl : ( ( rule__MultiplicativeExpression__OpAssignment_1_1 ) ) ; - public final void rule__MultiplicativeExpression__Group_1__1__Impl() throws RecognitionException { + // $ANTLR start "rule__Aggregation__Group__2__Impl" + // InternalSolverLanguageParser.g:7058:1: rule__Aggregation__Group__2__Impl : ( ( rule__Aggregation__ValueAssignment_2 ) ) ; + public final void rule__Aggregation__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5595:1: ( ( ( rule__MultiplicativeExpression__OpAssignment_1_1 ) ) ) - // InternalSolverLanguageParser.g:5596:1: ( ( rule__MultiplicativeExpression__OpAssignment_1_1 ) ) + // InternalSolverLanguageParser.g:7062:1: ( ( ( rule__Aggregation__ValueAssignment_2 ) ) ) + // InternalSolverLanguageParser.g:7063:1: ( ( rule__Aggregation__ValueAssignment_2 ) ) { - // InternalSolverLanguageParser.g:5596:1: ( ( rule__MultiplicativeExpression__OpAssignment_1_1 ) ) - // InternalSolverLanguageParser.g:5597:2: ( rule__MultiplicativeExpression__OpAssignment_1_1 ) + // InternalSolverLanguageParser.g:7063:1: ( ( rule__Aggregation__ValueAssignment_2 ) ) + // InternalSolverLanguageParser.g:7064:2: ( rule__Aggregation__ValueAssignment_2 ) { - before(grammarAccess.getMultiplicativeExpressionAccess().getOpAssignment_1_1()); - // InternalSolverLanguageParser.g:5598:2: ( rule__MultiplicativeExpression__OpAssignment_1_1 ) - // InternalSolverLanguageParser.g:5598:3: rule__MultiplicativeExpression__OpAssignment_1_1 + before(grammarAccess.getAggregationAccess().getValueAssignment_2()); + // InternalSolverLanguageParser.g:7065:2: ( rule__Aggregation__ValueAssignment_2 ) + // InternalSolverLanguageParser.g:7065:3: rule__Aggregation__ValueAssignment_2 { pushFollow(FOLLOW_2); - rule__MultiplicativeExpression__OpAssignment_1_1(); + rule__Aggregation__ValueAssignment_2(); state._fsp--; } - after(grammarAccess.getMultiplicativeExpressionAccess().getOpAssignment_1_1()); + after(grammarAccess.getAggregationAccess().getValueAssignment_2()); } @@ -17462,21 +21925,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__MultiplicativeExpression__Group_1__1__Impl" + // $ANTLR end "rule__Aggregation__Group__2__Impl" - // $ANTLR start "rule__MultiplicativeExpression__Group_1__2" - // InternalSolverLanguageParser.g:5606:1: rule__MultiplicativeExpression__Group_1__2 : rule__MultiplicativeExpression__Group_1__2__Impl ; - public final void rule__MultiplicativeExpression__Group_1__2() throws RecognitionException { + // $ANTLR start "rule__Aggregation__Group__3" + // InternalSolverLanguageParser.g:7073:1: rule__Aggregation__Group__3 : rule__Aggregation__Group__3__Impl rule__Aggregation__Group__4 ; + public final void rule__Aggregation__Group__3() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5610:1: ( rule__MultiplicativeExpression__Group_1__2__Impl ) - // InternalSolverLanguageParser.g:5611:2: rule__MultiplicativeExpression__Group_1__2__Impl + // InternalSolverLanguageParser.g:7077:1: ( rule__Aggregation__Group__3__Impl rule__Aggregation__Group__4 ) + // InternalSolverLanguageParser.g:7078:2: rule__Aggregation__Group__3__Impl rule__Aggregation__Group__4 { + pushFollow(FOLLOW_12); + rule__Aggregation__Group__3__Impl(); + + state._fsp--; + pushFollow(FOLLOW_2); - rule__MultiplicativeExpression__Group_1__2__Impl(); + rule__Aggregation__Group__4(); state._fsp--; @@ -17495,35 +21963,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__MultiplicativeExpression__Group_1__2" + // $ANTLR end "rule__Aggregation__Group__3" - // $ANTLR start "rule__MultiplicativeExpression__Group_1__2__Impl" - // InternalSolverLanguageParser.g:5617:1: rule__MultiplicativeExpression__Group_1__2__Impl : ( ( rule__MultiplicativeExpression__RightAssignment_1_2 ) ) ; - public final void rule__MultiplicativeExpression__Group_1__2__Impl() throws RecognitionException { + // $ANTLR start "rule__Aggregation__Group__3__Impl" + // InternalSolverLanguageParser.g:7085:1: rule__Aggregation__Group__3__Impl : ( VerticalLine ) ; + public final void rule__Aggregation__Group__3__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5621:1: ( ( ( rule__MultiplicativeExpression__RightAssignment_1_2 ) ) ) - // InternalSolverLanguageParser.g:5622:1: ( ( rule__MultiplicativeExpression__RightAssignment_1_2 ) ) - { - // InternalSolverLanguageParser.g:5622:1: ( ( rule__MultiplicativeExpression__RightAssignment_1_2 ) ) - // InternalSolverLanguageParser.g:5623:2: ( rule__MultiplicativeExpression__RightAssignment_1_2 ) + // InternalSolverLanguageParser.g:7089:1: ( ( VerticalLine ) ) + // InternalSolverLanguageParser.g:7090:1: ( VerticalLine ) { - before(grammarAccess.getMultiplicativeExpressionAccess().getRightAssignment_1_2()); - // InternalSolverLanguageParser.g:5624:2: ( rule__MultiplicativeExpression__RightAssignment_1_2 ) - // InternalSolverLanguageParser.g:5624:3: rule__MultiplicativeExpression__RightAssignment_1_2 + // InternalSolverLanguageParser.g:7090:1: ( VerticalLine ) + // InternalSolverLanguageParser.g:7091:2: VerticalLine { - pushFollow(FOLLOW_2); - rule__MultiplicativeExpression__RightAssignment_1_2(); - - state._fsp--; - - - } - - after(grammarAccess.getMultiplicativeExpressionAccess().getRightAssignment_1_2()); + before(grammarAccess.getAggregationAccess().getVerticalLineKeyword_3()); + match(input,VerticalLine,FOLLOW_2); + after(grammarAccess.getAggregationAccess().getVerticalLineKeyword_3()); } @@ -17542,26 +22000,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__MultiplicativeExpression__Group_1__2__Impl" + // $ANTLR end "rule__Aggregation__Group__3__Impl" - // $ANTLR start "rule__ExponentialExpression__Group__0" - // InternalSolverLanguageParser.g:5633:1: rule__ExponentialExpression__Group__0 : rule__ExponentialExpression__Group__0__Impl rule__ExponentialExpression__Group__1 ; - public final void rule__ExponentialExpression__Group__0() throws RecognitionException { + // $ANTLR start "rule__Aggregation__Group__4" + // InternalSolverLanguageParser.g:7100:1: rule__Aggregation__Group__4 : rule__Aggregation__Group__4__Impl rule__Aggregation__Group__5 ; + public final void rule__Aggregation__Group__4() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5637:1: ( rule__ExponentialExpression__Group__0__Impl rule__ExponentialExpression__Group__1 ) - // InternalSolverLanguageParser.g:5638:2: rule__ExponentialExpression__Group__0__Impl rule__ExponentialExpression__Group__1 + // InternalSolverLanguageParser.g:7104:1: ( rule__Aggregation__Group__4__Impl rule__Aggregation__Group__5 ) + // InternalSolverLanguageParser.g:7105:2: rule__Aggregation__Group__4__Impl rule__Aggregation__Group__5 { - pushFollow(FOLLOW_35); - rule__ExponentialExpression__Group__0__Impl(); + pushFollow(FOLLOW_23); + rule__Aggregation__Group__4__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__ExponentialExpression__Group__1(); + rule__Aggregation__Group__5(); state._fsp--; @@ -17580,29 +22038,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ExponentialExpression__Group__0" + // $ANTLR end "rule__Aggregation__Group__4" - // $ANTLR start "rule__ExponentialExpression__Group__0__Impl" - // InternalSolverLanguageParser.g:5645:1: rule__ExponentialExpression__Group__0__Impl : ( ruleCastExpression ) ; - public final void rule__ExponentialExpression__Group__0__Impl() throws RecognitionException { + // $ANTLR start "rule__Aggregation__Group__4__Impl" + // InternalSolverLanguageParser.g:7112:1: rule__Aggregation__Group__4__Impl : ( ( rule__Aggregation__ConditionAssignment_4 ) ) ; + public final void rule__Aggregation__Group__4__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5649:1: ( ( ruleCastExpression ) ) - // InternalSolverLanguageParser.g:5650:1: ( ruleCastExpression ) + // InternalSolverLanguageParser.g:7116:1: ( ( ( rule__Aggregation__ConditionAssignment_4 ) ) ) + // InternalSolverLanguageParser.g:7117:1: ( ( rule__Aggregation__ConditionAssignment_4 ) ) { - // InternalSolverLanguageParser.g:5650:1: ( ruleCastExpression ) - // InternalSolverLanguageParser.g:5651:2: ruleCastExpression + // InternalSolverLanguageParser.g:7117:1: ( ( rule__Aggregation__ConditionAssignment_4 ) ) + // InternalSolverLanguageParser.g:7118:2: ( rule__Aggregation__ConditionAssignment_4 ) + { + before(grammarAccess.getAggregationAccess().getConditionAssignment_4()); + // InternalSolverLanguageParser.g:7119:2: ( rule__Aggregation__ConditionAssignment_4 ) + // InternalSolverLanguageParser.g:7119:3: rule__Aggregation__ConditionAssignment_4 { - before(grammarAccess.getExponentialExpressionAccess().getCastExpressionParserRuleCall_0()); pushFollow(FOLLOW_2); - ruleCastExpression(); + rule__Aggregation__ConditionAssignment_4(); state._fsp--; - after(grammarAccess.getExponentialExpressionAccess().getCastExpressionParserRuleCall_0()); + + } + + after(grammarAccess.getAggregationAccess().getConditionAssignment_4()); } @@ -17621,21 +22085,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ExponentialExpression__Group__0__Impl" + // $ANTLR end "rule__Aggregation__Group__4__Impl" - // $ANTLR start "rule__ExponentialExpression__Group__1" - // InternalSolverLanguageParser.g:5660:1: rule__ExponentialExpression__Group__1 : rule__ExponentialExpression__Group__1__Impl ; - public final void rule__ExponentialExpression__Group__1() throws RecognitionException { + // $ANTLR start "rule__Aggregation__Group__5" + // InternalSolverLanguageParser.g:7127:1: rule__Aggregation__Group__5 : rule__Aggregation__Group__5__Impl ; + public final void rule__Aggregation__Group__5() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5664:1: ( rule__ExponentialExpression__Group__1__Impl ) - // InternalSolverLanguageParser.g:5665:2: rule__ExponentialExpression__Group__1__Impl + // InternalSolverLanguageParser.g:7131:1: ( rule__Aggregation__Group__5__Impl ) + // InternalSolverLanguageParser.g:7132:2: rule__Aggregation__Group__5__Impl { pushFollow(FOLLOW_2); - rule__ExponentialExpression__Group__1__Impl(); + rule__Aggregation__Group__5__Impl(); state._fsp--; @@ -17654,46 +22118,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ExponentialExpression__Group__1" + // $ANTLR end "rule__Aggregation__Group__5" - // $ANTLR start "rule__ExponentialExpression__Group__1__Impl" - // InternalSolverLanguageParser.g:5671:1: rule__ExponentialExpression__Group__1__Impl : ( ( rule__ExponentialExpression__Group_1__0 )? ) ; - public final void rule__ExponentialExpression__Group__1__Impl() throws RecognitionException { + // $ANTLR start "rule__Aggregation__Group__5__Impl" + // InternalSolverLanguageParser.g:7138:1: rule__Aggregation__Group__5__Impl : ( RightCurlyBracket ) ; + public final void rule__Aggregation__Group__5__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5675:1: ( ( ( rule__ExponentialExpression__Group_1__0 )? ) ) - // InternalSolverLanguageParser.g:5676:1: ( ( rule__ExponentialExpression__Group_1__0 )? ) + // InternalSolverLanguageParser.g:7142:1: ( ( RightCurlyBracket ) ) + // InternalSolverLanguageParser.g:7143:1: ( RightCurlyBracket ) { - // InternalSolverLanguageParser.g:5676:1: ( ( rule__ExponentialExpression__Group_1__0 )? ) - // InternalSolverLanguageParser.g:5677:2: ( rule__ExponentialExpression__Group_1__0 )? + // InternalSolverLanguageParser.g:7143:1: ( RightCurlyBracket ) + // InternalSolverLanguageParser.g:7144:2: RightCurlyBracket { - before(grammarAccess.getExponentialExpressionAccess().getGroup_1()); - // InternalSolverLanguageParser.g:5678:2: ( rule__ExponentialExpression__Group_1__0 )? - int alt41=2; - int LA41_0 = input.LA(1); - - if ( (LA41_0==CircumflexAccent) ) { - alt41=1; - } - switch (alt41) { - case 1 : - // InternalSolverLanguageParser.g:5678:3: rule__ExponentialExpression__Group_1__0 - { - pushFollow(FOLLOW_2); - rule__ExponentialExpression__Group_1__0(); - - state._fsp--; - - - } - break; - - } - - after(grammarAccess.getExponentialExpressionAccess().getGroup_1()); + before(grammarAccess.getAggregationAccess().getRightCurlyBracketKeyword_5()); + match(input,RightCurlyBracket,FOLLOW_2); + after(grammarAccess.getAggregationAccess().getRightCurlyBracketKeyword_5()); } @@ -17712,26 +22155,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ExponentialExpression__Group__1__Impl" + // $ANTLR end "rule__Aggregation__Group__5__Impl" - // $ANTLR start "rule__ExponentialExpression__Group_1__0" - // InternalSolverLanguageParser.g:5687:1: rule__ExponentialExpression__Group_1__0 : rule__ExponentialExpression__Group_1__0__Impl rule__ExponentialExpression__Group_1__1 ; - public final void rule__ExponentialExpression__Group_1__0() throws RecognitionException { + // $ANTLR start "rule__Count__Group__0" + // InternalSolverLanguageParser.g:7154:1: rule__Count__Group__0 : rule__Count__Group__0__Impl rule__Count__Group__1 ; + public final void rule__Count__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5691:1: ( rule__ExponentialExpression__Group_1__0__Impl rule__ExponentialExpression__Group_1__1 ) - // InternalSolverLanguageParser.g:5692:2: rule__ExponentialExpression__Group_1__0__Impl rule__ExponentialExpression__Group_1__1 + // InternalSolverLanguageParser.g:7158:1: ( rule__Count__Group__0__Impl rule__Count__Group__1 ) + // InternalSolverLanguageParser.g:7159:2: rule__Count__Group__0__Impl rule__Count__Group__1 { - pushFollow(FOLLOW_35); - rule__ExponentialExpression__Group_1__0__Impl(); + pushFollow(FOLLOW_21); + rule__Count__Group__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__ExponentialExpression__Group_1__1(); + rule__Count__Group__1(); state._fsp--; @@ -17750,29 +22193,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ExponentialExpression__Group_1__0" + // $ANTLR end "rule__Count__Group__0" - // $ANTLR start "rule__ExponentialExpression__Group_1__0__Impl" - // InternalSolverLanguageParser.g:5699:1: rule__ExponentialExpression__Group_1__0__Impl : ( () ) ; - public final void rule__ExponentialExpression__Group_1__0__Impl() throws RecognitionException { + // $ANTLR start "rule__Count__Group__0__Impl" + // InternalSolverLanguageParser.g:7166:1: rule__Count__Group__0__Impl : ( Count ) ; + public final void rule__Count__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5703:1: ( ( () ) ) - // InternalSolverLanguageParser.g:5704:1: ( () ) - { - // InternalSolverLanguageParser.g:5704:1: ( () ) - // InternalSolverLanguageParser.g:5705:2: () + // InternalSolverLanguageParser.g:7170:1: ( ( Count ) ) + // InternalSolverLanguageParser.g:7171:1: ( Count ) { - before(grammarAccess.getExponentialExpressionAccess().getBinaryExpressionLeftAction_1_0()); - // InternalSolverLanguageParser.g:5706:2: () - // InternalSolverLanguageParser.g:5706:3: + // InternalSolverLanguageParser.g:7171:1: ( Count ) + // InternalSolverLanguageParser.g:7172:2: Count { - } - - after(grammarAccess.getExponentialExpressionAccess().getBinaryExpressionLeftAction_1_0()); + before(grammarAccess.getCountAccess().getCountKeyword_0()); + match(input,Count,FOLLOW_2); + after(grammarAccess.getCountAccess().getCountKeyword_0()); } @@ -17780,6 +22219,10 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } finally { restoreStackSize(stackSize); @@ -17787,26 +22230,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ExponentialExpression__Group_1__0__Impl" + // $ANTLR end "rule__Count__Group__0__Impl" - // $ANTLR start "rule__ExponentialExpression__Group_1__1" - // InternalSolverLanguageParser.g:5714:1: rule__ExponentialExpression__Group_1__1 : rule__ExponentialExpression__Group_1__1__Impl rule__ExponentialExpression__Group_1__2 ; - public final void rule__ExponentialExpression__Group_1__1() throws RecognitionException { + // $ANTLR start "rule__Count__Group__1" + // InternalSolverLanguageParser.g:7181:1: rule__Count__Group__1 : rule__Count__Group__1__Impl rule__Count__Group__2 ; + public final void rule__Count__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5718:1: ( rule__ExponentialExpression__Group_1__1__Impl rule__ExponentialExpression__Group_1__2 ) - // InternalSolverLanguageParser.g:5719:2: rule__ExponentialExpression__Group_1__1__Impl rule__ExponentialExpression__Group_1__2 + // InternalSolverLanguageParser.g:7185:1: ( rule__Count__Group__1__Impl rule__Count__Group__2 ) + // InternalSolverLanguageParser.g:7186:2: rule__Count__Group__1__Impl rule__Count__Group__2 { - pushFollow(FOLLOW_7); - rule__ExponentialExpression__Group_1__1__Impl(); + pushFollow(FOLLOW_12); + rule__Count__Group__1__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__ExponentialExpression__Group_1__2(); + rule__Count__Group__2(); state._fsp--; @@ -17825,35 +22268,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ExponentialExpression__Group_1__1" + // $ANTLR end "rule__Count__Group__1" - // $ANTLR start "rule__ExponentialExpression__Group_1__1__Impl" - // InternalSolverLanguageParser.g:5726:1: rule__ExponentialExpression__Group_1__1__Impl : ( ( rule__ExponentialExpression__OpAssignment_1_1 ) ) ; - public final void rule__ExponentialExpression__Group_1__1__Impl() throws RecognitionException { + // $ANTLR start "rule__Count__Group__1__Impl" + // InternalSolverLanguageParser.g:7193:1: rule__Count__Group__1__Impl : ( LeftCurlyBracket ) ; + public final void rule__Count__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5730:1: ( ( ( rule__ExponentialExpression__OpAssignment_1_1 ) ) ) - // InternalSolverLanguageParser.g:5731:1: ( ( rule__ExponentialExpression__OpAssignment_1_1 ) ) + // InternalSolverLanguageParser.g:7197:1: ( ( LeftCurlyBracket ) ) + // InternalSolverLanguageParser.g:7198:1: ( LeftCurlyBracket ) { - // InternalSolverLanguageParser.g:5731:1: ( ( rule__ExponentialExpression__OpAssignment_1_1 ) ) - // InternalSolverLanguageParser.g:5732:2: ( rule__ExponentialExpression__OpAssignment_1_1 ) - { - before(grammarAccess.getExponentialExpressionAccess().getOpAssignment_1_1()); - // InternalSolverLanguageParser.g:5733:2: ( rule__ExponentialExpression__OpAssignment_1_1 ) - // InternalSolverLanguageParser.g:5733:3: rule__ExponentialExpression__OpAssignment_1_1 + // InternalSolverLanguageParser.g:7198:1: ( LeftCurlyBracket ) + // InternalSolverLanguageParser.g:7199:2: LeftCurlyBracket { - pushFollow(FOLLOW_2); - rule__ExponentialExpression__OpAssignment_1_1(); - - state._fsp--; - - - } - - after(grammarAccess.getExponentialExpressionAccess().getOpAssignment_1_1()); + before(grammarAccess.getCountAccess().getLeftCurlyBracketKeyword_1()); + match(input,LeftCurlyBracket,FOLLOW_2); + after(grammarAccess.getCountAccess().getLeftCurlyBracketKeyword_1()); } @@ -17872,21 +22305,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ExponentialExpression__Group_1__1__Impl" + // $ANTLR end "rule__Count__Group__1__Impl" - // $ANTLR start "rule__ExponentialExpression__Group_1__2" - // InternalSolverLanguageParser.g:5741:1: rule__ExponentialExpression__Group_1__2 : rule__ExponentialExpression__Group_1__2__Impl ; - public final void rule__ExponentialExpression__Group_1__2() throws RecognitionException { + // $ANTLR start "rule__Count__Group__2" + // InternalSolverLanguageParser.g:7208:1: rule__Count__Group__2 : rule__Count__Group__2__Impl rule__Count__Group__3 ; + public final void rule__Count__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5745:1: ( rule__ExponentialExpression__Group_1__2__Impl ) - // InternalSolverLanguageParser.g:5746:2: rule__ExponentialExpression__Group_1__2__Impl + // InternalSolverLanguageParser.g:7212:1: ( rule__Count__Group__2__Impl rule__Count__Group__3 ) + // InternalSolverLanguageParser.g:7213:2: rule__Count__Group__2__Impl rule__Count__Group__3 { + pushFollow(FOLLOW_23); + rule__Count__Group__2__Impl(); + + state._fsp--; + pushFollow(FOLLOW_2); - rule__ExponentialExpression__Group_1__2__Impl(); + rule__Count__Group__3(); state._fsp--; @@ -17905,35 +22343,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ExponentialExpression__Group_1__2" + // $ANTLR end "rule__Count__Group__2" - // $ANTLR start "rule__ExponentialExpression__Group_1__2__Impl" - // InternalSolverLanguageParser.g:5752:1: rule__ExponentialExpression__Group_1__2__Impl : ( ( rule__ExponentialExpression__RightAssignment_1_2 ) ) ; - public final void rule__ExponentialExpression__Group_1__2__Impl() throws RecognitionException { + // $ANTLR start "rule__Count__Group__2__Impl" + // InternalSolverLanguageParser.g:7220:1: rule__Count__Group__2__Impl : ( ( rule__Count__ConditionAssignment_2 ) ) ; + public final void rule__Count__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5756:1: ( ( ( rule__ExponentialExpression__RightAssignment_1_2 ) ) ) - // InternalSolverLanguageParser.g:5757:1: ( ( rule__ExponentialExpression__RightAssignment_1_2 ) ) + // InternalSolverLanguageParser.g:7224:1: ( ( ( rule__Count__ConditionAssignment_2 ) ) ) + // InternalSolverLanguageParser.g:7225:1: ( ( rule__Count__ConditionAssignment_2 ) ) { - // InternalSolverLanguageParser.g:5757:1: ( ( rule__ExponentialExpression__RightAssignment_1_2 ) ) - // InternalSolverLanguageParser.g:5758:2: ( rule__ExponentialExpression__RightAssignment_1_2 ) + // InternalSolverLanguageParser.g:7225:1: ( ( rule__Count__ConditionAssignment_2 ) ) + // InternalSolverLanguageParser.g:7226:2: ( rule__Count__ConditionAssignment_2 ) { - before(grammarAccess.getExponentialExpressionAccess().getRightAssignment_1_2()); - // InternalSolverLanguageParser.g:5759:2: ( rule__ExponentialExpression__RightAssignment_1_2 ) - // InternalSolverLanguageParser.g:5759:3: rule__ExponentialExpression__RightAssignment_1_2 + before(grammarAccess.getCountAccess().getConditionAssignment_2()); + // InternalSolverLanguageParser.g:7227:2: ( rule__Count__ConditionAssignment_2 ) + // InternalSolverLanguageParser.g:7227:3: rule__Count__ConditionAssignment_2 { pushFollow(FOLLOW_2); - rule__ExponentialExpression__RightAssignment_1_2(); + rule__Count__ConditionAssignment_2(); state._fsp--; } - after(grammarAccess.getExponentialExpressionAccess().getRightAssignment_1_2()); + after(grammarAccess.getCountAccess().getConditionAssignment_2()); } @@ -17952,26 +22390,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ExponentialExpression__Group_1__2__Impl" + // $ANTLR end "rule__Count__Group__2__Impl" - // $ANTLR start "rule__CastExpression__Group__0" - // InternalSolverLanguageParser.g:5768:1: rule__CastExpression__Group__0 : rule__CastExpression__Group__0__Impl rule__CastExpression__Group__1 ; - public final void rule__CastExpression__Group__0() throws RecognitionException { + // $ANTLR start "rule__Count__Group__3" + // InternalSolverLanguageParser.g:7235:1: rule__Count__Group__3 : rule__Count__Group__3__Impl ; + public final void rule__Count__Group__3() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5772:1: ( rule__CastExpression__Group__0__Impl rule__CastExpression__Group__1 ) - // InternalSolverLanguageParser.g:5773:2: rule__CastExpression__Group__0__Impl rule__CastExpression__Group__1 + // InternalSolverLanguageParser.g:7239:1: ( rule__Count__Group__3__Impl ) + // InternalSolverLanguageParser.g:7240:2: rule__Count__Group__3__Impl { - pushFollow(FOLLOW_36); - rule__CastExpression__Group__0__Impl(); - - state._fsp--; - pushFollow(FOLLOW_2); - rule__CastExpression__Group__1(); + rule__Count__Group__3__Impl(); state._fsp--; @@ -17990,29 +22423,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__CastExpression__Group__0" + // $ANTLR end "rule__Count__Group__3" - // $ANTLR start "rule__CastExpression__Group__0__Impl" - // InternalSolverLanguageParser.g:5780:1: rule__CastExpression__Group__0__Impl : ( ruleUnaryExpression ) ; - public final void rule__CastExpression__Group__0__Impl() throws RecognitionException { + // $ANTLR start "rule__Count__Group__3__Impl" + // InternalSolverLanguageParser.g:7246:1: rule__Count__Group__3__Impl : ( RightCurlyBracket ) ; + public final void rule__Count__Group__3__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5784:1: ( ( ruleUnaryExpression ) ) - // InternalSolverLanguageParser.g:5785:1: ( ruleUnaryExpression ) + // InternalSolverLanguageParser.g:7250:1: ( ( RightCurlyBracket ) ) + // InternalSolverLanguageParser.g:7251:1: ( RightCurlyBracket ) { - // InternalSolverLanguageParser.g:5785:1: ( ruleUnaryExpression ) - // InternalSolverLanguageParser.g:5786:2: ruleUnaryExpression + // InternalSolverLanguageParser.g:7251:1: ( RightCurlyBracket ) + // InternalSolverLanguageParser.g:7252:2: RightCurlyBracket { - before(grammarAccess.getCastExpressionAccess().getUnaryExpressionParserRuleCall_0()); - pushFollow(FOLLOW_2); - ruleUnaryExpression(); - - state._fsp--; - - after(grammarAccess.getCastExpressionAccess().getUnaryExpressionParserRuleCall_0()); + before(grammarAccess.getCountAccess().getRightCurlyBracketKeyword_3()); + match(input,RightCurlyBracket,FOLLOW_2); + after(grammarAccess.getCountAccess().getRightCurlyBracketKeyword_3()); } @@ -18031,21 +22460,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__CastExpression__Group__0__Impl" + // $ANTLR end "rule__Count__Group__3__Impl" - // $ANTLR start "rule__CastExpression__Group__1" - // InternalSolverLanguageParser.g:5795:1: rule__CastExpression__Group__1 : rule__CastExpression__Group__1__Impl ; - public final void rule__CastExpression__Group__1() throws RecognitionException { + // $ANTLR start "rule__AtomicExpression__Group_4__0" + // InternalSolverLanguageParser.g:7262:1: rule__AtomicExpression__Group_4__0 : rule__AtomicExpression__Group_4__0__Impl rule__AtomicExpression__Group_4__1 ; + public final void rule__AtomicExpression__Group_4__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5799:1: ( rule__CastExpression__Group__1__Impl ) - // InternalSolverLanguageParser.g:5800:2: rule__CastExpression__Group__1__Impl + // InternalSolverLanguageParser.g:7266:1: ( rule__AtomicExpression__Group_4__0__Impl rule__AtomicExpression__Group_4__1 ) + // InternalSolverLanguageParser.g:7267:2: rule__AtomicExpression__Group_4__0__Impl rule__AtomicExpression__Group_4__1 { + pushFollow(FOLLOW_12); + rule__AtomicExpression__Group_4__0__Impl(); + + state._fsp--; + pushFollow(FOLLOW_2); - rule__CastExpression__Group__1__Impl(); + rule__AtomicExpression__Group_4__1(); state._fsp--; @@ -18064,46 +22498,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__CastExpression__Group__1" - - - // $ANTLR start "rule__CastExpression__Group__1__Impl" - // InternalSolverLanguageParser.g:5806:1: rule__CastExpression__Group__1__Impl : ( ( rule__CastExpression__Group_1__0 )? ) ; - public final void rule__CastExpression__Group__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalSolverLanguageParser.g:5810:1: ( ( ( rule__CastExpression__Group_1__0 )? ) ) - // InternalSolverLanguageParser.g:5811:1: ( ( rule__CastExpression__Group_1__0 )? ) - { - // InternalSolverLanguageParser.g:5811:1: ( ( rule__CastExpression__Group_1__0 )? ) - // InternalSolverLanguageParser.g:5812:2: ( rule__CastExpression__Group_1__0 )? - { - before(grammarAccess.getCastExpressionAccess().getGroup_1()); - // InternalSolverLanguageParser.g:5813:2: ( rule__CastExpression__Group_1__0 )? - int alt42=2; - int LA42_0 = input.LA(1); - - if ( (LA42_0==As) ) { - alt42=1; - } - switch (alt42) { - case 1 : - // InternalSolverLanguageParser.g:5813:3: rule__CastExpression__Group_1__0 - { - pushFollow(FOLLOW_2); - rule__CastExpression__Group_1__0(); - - state._fsp--; - + // $ANTLR end "rule__AtomicExpression__Group_4__0" - } - break; - } + // $ANTLR start "rule__AtomicExpression__Group_4__0__Impl" + // InternalSolverLanguageParser.g:7274:1: rule__AtomicExpression__Group_4__0__Impl : ( LeftParenthesis ) ; + public final void rule__AtomicExpression__Group_4__0__Impl() throws RecognitionException { - after(grammarAccess.getCastExpressionAccess().getGroup_1()); + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:7278:1: ( ( LeftParenthesis ) ) + // InternalSolverLanguageParser.g:7279:1: ( LeftParenthesis ) + { + // InternalSolverLanguageParser.g:7279:1: ( LeftParenthesis ) + // InternalSolverLanguageParser.g:7280:2: LeftParenthesis + { + before(grammarAccess.getAtomicExpressionAccess().getLeftParenthesisKeyword_4_0()); + match(input,LeftParenthesis,FOLLOW_2); + after(grammarAccess.getAtomicExpressionAccess().getLeftParenthesisKeyword_4_0()); } @@ -18122,26 +22535,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__CastExpression__Group__1__Impl" + // $ANTLR end "rule__AtomicExpression__Group_4__0__Impl" - // $ANTLR start "rule__CastExpression__Group_1__0" - // InternalSolverLanguageParser.g:5822:1: rule__CastExpression__Group_1__0 : rule__CastExpression__Group_1__0__Impl rule__CastExpression__Group_1__1 ; - public final void rule__CastExpression__Group_1__0() throws RecognitionException { + // $ANTLR start "rule__AtomicExpression__Group_4__1" + // InternalSolverLanguageParser.g:7289:1: rule__AtomicExpression__Group_4__1 : rule__AtomicExpression__Group_4__1__Impl rule__AtomicExpression__Group_4__2 ; + public final void rule__AtomicExpression__Group_4__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5826:1: ( rule__CastExpression__Group_1__0__Impl rule__CastExpression__Group_1__1 ) - // InternalSolverLanguageParser.g:5827:2: rule__CastExpression__Group_1__0__Impl rule__CastExpression__Group_1__1 + // InternalSolverLanguageParser.g:7293:1: ( rule__AtomicExpression__Group_4__1__Impl rule__AtomicExpression__Group_4__2 ) + // InternalSolverLanguageParser.g:7294:2: rule__AtomicExpression__Group_4__1__Impl rule__AtomicExpression__Group_4__2 { - pushFollow(FOLLOW_36); - rule__CastExpression__Group_1__0__Impl(); + pushFollow(FOLLOW_44); + rule__AtomicExpression__Group_4__1__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__CastExpression__Group_1__1(); + rule__AtomicExpression__Group_4__2(); state._fsp--; @@ -18160,29 +22573,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__CastExpression__Group_1__0" + // $ANTLR end "rule__AtomicExpression__Group_4__1" - // $ANTLR start "rule__CastExpression__Group_1__0__Impl" - // InternalSolverLanguageParser.g:5834:1: rule__CastExpression__Group_1__0__Impl : ( () ) ; - public final void rule__CastExpression__Group_1__0__Impl() throws RecognitionException { + // $ANTLR start "rule__AtomicExpression__Group_4__1__Impl" + // InternalSolverLanguageParser.g:7301:1: rule__AtomicExpression__Group_4__1__Impl : ( ruleExpression ) ; + public final void rule__AtomicExpression__Group_4__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5838:1: ( ( () ) ) - // InternalSolverLanguageParser.g:5839:1: ( () ) + // InternalSolverLanguageParser.g:7305:1: ( ( ruleExpression ) ) + // InternalSolverLanguageParser.g:7306:1: ( ruleExpression ) { - // InternalSolverLanguageParser.g:5839:1: ( () ) - // InternalSolverLanguageParser.g:5840:2: () - { - before(grammarAccess.getCastExpressionAccess().getCastExpressionBodyAction_1_0()); - // InternalSolverLanguageParser.g:5841:2: () - // InternalSolverLanguageParser.g:5841:3: + // InternalSolverLanguageParser.g:7306:1: ( ruleExpression ) + // InternalSolverLanguageParser.g:7307:2: ruleExpression { - } + before(grammarAccess.getAtomicExpressionAccess().getExpressionParserRuleCall_4_1()); + pushFollow(FOLLOW_2); + ruleExpression(); - after(grammarAccess.getCastExpressionAccess().getCastExpressionBodyAction_1_0()); + state._fsp--; + + after(grammarAccess.getAtomicExpressionAccess().getExpressionParserRuleCall_4_1()); } @@ -18190,6 +22603,10 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } finally { restoreStackSize(stackSize); @@ -18197,26 +22614,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__CastExpression__Group_1__0__Impl" + // $ANTLR end "rule__AtomicExpression__Group_4__1__Impl" - // $ANTLR start "rule__CastExpression__Group_1__1" - // InternalSolverLanguageParser.g:5849:1: rule__CastExpression__Group_1__1 : rule__CastExpression__Group_1__1__Impl rule__CastExpression__Group_1__2 ; - public final void rule__CastExpression__Group_1__1() throws RecognitionException { + // $ANTLR start "rule__AtomicExpression__Group_4__2" + // InternalSolverLanguageParser.g:7316:1: rule__AtomicExpression__Group_4__2 : rule__AtomicExpression__Group_4__2__Impl ; + public final void rule__AtomicExpression__Group_4__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5853:1: ( rule__CastExpression__Group_1__1__Impl rule__CastExpression__Group_1__2 ) - // InternalSolverLanguageParser.g:5854:2: rule__CastExpression__Group_1__1__Impl rule__CastExpression__Group_1__2 + // InternalSolverLanguageParser.g:7320:1: ( rule__AtomicExpression__Group_4__2__Impl ) + // InternalSolverLanguageParser.g:7321:2: rule__AtomicExpression__Group_4__2__Impl { - pushFollow(FOLLOW_9); - rule__CastExpression__Group_1__1__Impl(); - - state._fsp--; - pushFollow(FOLLOW_2); - rule__CastExpression__Group_1__2(); + rule__AtomicExpression__Group_4__2__Impl(); state._fsp--; @@ -18235,25 +22647,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__CastExpression__Group_1__1" + // $ANTLR end "rule__AtomicExpression__Group_4__2" - // $ANTLR start "rule__CastExpression__Group_1__1__Impl" - // InternalSolverLanguageParser.g:5861:1: rule__CastExpression__Group_1__1__Impl : ( As ) ; - public final void rule__CastExpression__Group_1__1__Impl() throws RecognitionException { + // $ANTLR start "rule__AtomicExpression__Group_4__2__Impl" + // InternalSolverLanguageParser.g:7327:1: rule__AtomicExpression__Group_4__2__Impl : ( RightParenthesis ) ; + public final void rule__AtomicExpression__Group_4__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5865:1: ( ( As ) ) - // InternalSolverLanguageParser.g:5866:1: ( As ) + // InternalSolverLanguageParser.g:7331:1: ( ( RightParenthesis ) ) + // InternalSolverLanguageParser.g:7332:1: ( RightParenthesis ) { - // InternalSolverLanguageParser.g:5866:1: ( As ) - // InternalSolverLanguageParser.g:5867:2: As + // InternalSolverLanguageParser.g:7332:1: ( RightParenthesis ) + // InternalSolverLanguageParser.g:7333:2: RightParenthesis { - before(grammarAccess.getCastExpressionAccess().getAsKeyword_1_1()); - match(input,As,FOLLOW_2); - after(grammarAccess.getCastExpressionAccess().getAsKeyword_1_1()); + before(grammarAccess.getAtomicExpressionAccess().getRightParenthesisKeyword_4_2()); + match(input,RightParenthesis,FOLLOW_2); + after(grammarAccess.getAtomicExpressionAccess().getRightParenthesisKeyword_4_2()); } @@ -18272,21 +22684,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__CastExpression__Group_1__1__Impl" + // $ANTLR end "rule__AtomicExpression__Group_4__2__Impl" - // $ANTLR start "rule__CastExpression__Group_1__2" - // InternalSolverLanguageParser.g:5876:1: rule__CastExpression__Group_1__2 : rule__CastExpression__Group_1__2__Impl ; - public final void rule__CastExpression__Group_1__2() throws RecognitionException { + // $ANTLR start "rule__Call__Group__0" + // InternalSolverLanguageParser.g:7343:1: rule__Call__Group__0 : rule__Call__Group__0__Impl rule__Call__Group__1 ; + public final void rule__Call__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5880:1: ( rule__CastExpression__Group_1__2__Impl ) - // InternalSolverLanguageParser.g:5881:2: rule__CastExpression__Group_1__2__Impl + // InternalSolverLanguageParser.g:7347:1: ( rule__Call__Group__0__Impl rule__Call__Group__1 ) + // InternalSolverLanguageParser.g:7348:2: rule__Call__Group__0__Impl rule__Call__Group__1 { + pushFollow(FOLLOW_16); + rule__Call__Group__0__Impl(); + + state._fsp--; + pushFollow(FOLLOW_2); - rule__CastExpression__Group_1__2__Impl(); + rule__Call__Group__1(); state._fsp--; @@ -18305,35 +22722,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__CastExpression__Group_1__2" + // $ANTLR end "rule__Call__Group__0" - // $ANTLR start "rule__CastExpression__Group_1__2__Impl" - // InternalSolverLanguageParser.g:5887:1: rule__CastExpression__Group_1__2__Impl : ( ( rule__CastExpression__TypeAssignment_1_2 ) ) ; - public final void rule__CastExpression__Group_1__2__Impl() throws RecognitionException { + // $ANTLR start "rule__Call__Group__0__Impl" + // InternalSolverLanguageParser.g:7355:1: rule__Call__Group__0__Impl : ( ( rule__Call__FunctorAssignment_0 ) ) ; + public final void rule__Call__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5891:1: ( ( ( rule__CastExpression__TypeAssignment_1_2 ) ) ) - // InternalSolverLanguageParser.g:5892:1: ( ( rule__CastExpression__TypeAssignment_1_2 ) ) + // InternalSolverLanguageParser.g:7359:1: ( ( ( rule__Call__FunctorAssignment_0 ) ) ) + // InternalSolverLanguageParser.g:7360:1: ( ( rule__Call__FunctorAssignment_0 ) ) { - // InternalSolverLanguageParser.g:5892:1: ( ( rule__CastExpression__TypeAssignment_1_2 ) ) - // InternalSolverLanguageParser.g:5893:2: ( rule__CastExpression__TypeAssignment_1_2 ) + // InternalSolverLanguageParser.g:7360:1: ( ( rule__Call__FunctorAssignment_0 ) ) + // InternalSolverLanguageParser.g:7361:2: ( rule__Call__FunctorAssignment_0 ) { - before(grammarAccess.getCastExpressionAccess().getTypeAssignment_1_2()); - // InternalSolverLanguageParser.g:5894:2: ( rule__CastExpression__TypeAssignment_1_2 ) - // InternalSolverLanguageParser.g:5894:3: rule__CastExpression__TypeAssignment_1_2 + before(grammarAccess.getCallAccess().getFunctorAssignment_0()); + // InternalSolverLanguageParser.g:7362:2: ( rule__Call__FunctorAssignment_0 ) + // InternalSolverLanguageParser.g:7362:3: rule__Call__FunctorAssignment_0 { pushFollow(FOLLOW_2); - rule__CastExpression__TypeAssignment_1_2(); + rule__Call__FunctorAssignment_0(); state._fsp--; } - after(grammarAccess.getCastExpressionAccess().getTypeAssignment_1_2()); + after(grammarAccess.getCallAccess().getFunctorAssignment_0()); } @@ -18352,26 +22769,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__CastExpression__Group_1__2__Impl" + // $ANTLR end "rule__Call__Group__0__Impl" - // $ANTLR start "rule__UnaryExpression__Group_1__0" - // InternalSolverLanguageParser.g:5903:1: rule__UnaryExpression__Group_1__0 : rule__UnaryExpression__Group_1__0__Impl rule__UnaryExpression__Group_1__1 ; - public final void rule__UnaryExpression__Group_1__0() throws RecognitionException { + // $ANTLR start "rule__Call__Group__1" + // InternalSolverLanguageParser.g:7370:1: rule__Call__Group__1 : rule__Call__Group__1__Impl ; + public final void rule__Call__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5907:1: ( rule__UnaryExpression__Group_1__0__Impl rule__UnaryExpression__Group_1__1 ) - // InternalSolverLanguageParser.g:5908:2: rule__UnaryExpression__Group_1__0__Impl rule__UnaryExpression__Group_1__1 + // InternalSolverLanguageParser.g:7374:1: ( rule__Call__Group__1__Impl ) + // InternalSolverLanguageParser.g:7375:2: rule__Call__Group__1__Impl { - pushFollow(FOLLOW_7); - rule__UnaryExpression__Group_1__0__Impl(); - - state._fsp--; - pushFollow(FOLLOW_2); - rule__UnaryExpression__Group_1__1(); + rule__Call__Group__1__Impl(); state._fsp--; @@ -18390,29 +22802,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__UnaryExpression__Group_1__0" + // $ANTLR end "rule__Call__Group__1" - // $ANTLR start "rule__UnaryExpression__Group_1__0__Impl" - // InternalSolverLanguageParser.g:5915:1: rule__UnaryExpression__Group_1__0__Impl : ( () ) ; - public final void rule__UnaryExpression__Group_1__0__Impl() throws RecognitionException { + // $ANTLR start "rule__Call__Group__1__Impl" + // InternalSolverLanguageParser.g:7381:1: rule__Call__Group__1__Impl : ( ( rule__Call__ArgumentListAssignment_1 ) ) ; + public final void rule__Call__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5919:1: ( ( () ) ) - // InternalSolverLanguageParser.g:5920:1: ( () ) + // InternalSolverLanguageParser.g:7385:1: ( ( ( rule__Call__ArgumentListAssignment_1 ) ) ) + // InternalSolverLanguageParser.g:7386:1: ( ( rule__Call__ArgumentListAssignment_1 ) ) { - // InternalSolverLanguageParser.g:5920:1: ( () ) - // InternalSolverLanguageParser.g:5921:2: () + // InternalSolverLanguageParser.g:7386:1: ( ( rule__Call__ArgumentListAssignment_1 ) ) + // InternalSolverLanguageParser.g:7387:2: ( rule__Call__ArgumentListAssignment_1 ) { - before(grammarAccess.getUnaryExpressionAccess().getUnaryExpressionAction_1_0()); - // InternalSolverLanguageParser.g:5922:2: () - // InternalSolverLanguageParser.g:5922:3: + before(grammarAccess.getCallAccess().getArgumentListAssignment_1()); + // InternalSolverLanguageParser.g:7388:2: ( rule__Call__ArgumentListAssignment_1 ) + // InternalSolverLanguageParser.g:7388:3: rule__Call__ArgumentListAssignment_1 { + pushFollow(FOLLOW_2); + rule__Call__ArgumentListAssignment_1(); + + state._fsp--; + + } - after(grammarAccess.getUnaryExpressionAccess().getUnaryExpressionAction_1_0()); + after(grammarAccess.getCallAccess().getArgumentListAssignment_1()); } @@ -18420,6 +22838,10 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } finally { restoreStackSize(stackSize); @@ -18427,26 +22849,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__UnaryExpression__Group_1__0__Impl" + // $ANTLR end "rule__Call__Group__1__Impl" - // $ANTLR start "rule__UnaryExpression__Group_1__1" - // InternalSolverLanguageParser.g:5930:1: rule__UnaryExpression__Group_1__1 : rule__UnaryExpression__Group_1__1__Impl rule__UnaryExpression__Group_1__2 ; - public final void rule__UnaryExpression__Group_1__1() throws RecognitionException { + // $ANTLR start "rule__ArgumentList__Group__0" + // InternalSolverLanguageParser.g:7397:1: rule__ArgumentList__Group__0 : rule__ArgumentList__Group__0__Impl rule__ArgumentList__Group__1 ; + public final void rule__ArgumentList__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5934:1: ( rule__UnaryExpression__Group_1__1__Impl rule__UnaryExpression__Group_1__2 ) - // InternalSolverLanguageParser.g:5935:2: rule__UnaryExpression__Group_1__1__Impl rule__UnaryExpression__Group_1__2 + // InternalSolverLanguageParser.g:7401:1: ( rule__ArgumentList__Group__0__Impl rule__ArgumentList__Group__1 ) + // InternalSolverLanguageParser.g:7402:2: rule__ArgumentList__Group__0__Impl rule__ArgumentList__Group__1 { - pushFollow(FOLLOW_37); - rule__UnaryExpression__Group_1__1__Impl(); + pushFollow(FOLLOW_16); + rule__ArgumentList__Group__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__UnaryExpression__Group_1__2(); + rule__ArgumentList__Group__1(); state._fsp--; @@ -18465,35 +22887,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__UnaryExpression__Group_1__1" + // $ANTLR end "rule__ArgumentList__Group__0" - // $ANTLR start "rule__UnaryExpression__Group_1__1__Impl" - // InternalSolverLanguageParser.g:5942:1: rule__UnaryExpression__Group_1__1__Impl : ( ( rule__UnaryExpression__OpAssignment_1_1 ) ) ; - public final void rule__UnaryExpression__Group_1__1__Impl() throws RecognitionException { + // $ANTLR start "rule__ArgumentList__Group__0__Impl" + // InternalSolverLanguageParser.g:7409:1: rule__ArgumentList__Group__0__Impl : ( () ) ; + public final void rule__ArgumentList__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5946:1: ( ( ( rule__UnaryExpression__OpAssignment_1_1 ) ) ) - // InternalSolverLanguageParser.g:5947:1: ( ( rule__UnaryExpression__OpAssignment_1_1 ) ) + // InternalSolverLanguageParser.g:7413:1: ( ( () ) ) + // InternalSolverLanguageParser.g:7414:1: ( () ) { - // InternalSolverLanguageParser.g:5947:1: ( ( rule__UnaryExpression__OpAssignment_1_1 ) ) - // InternalSolverLanguageParser.g:5948:2: ( rule__UnaryExpression__OpAssignment_1_1 ) + // InternalSolverLanguageParser.g:7414:1: ( () ) + // InternalSolverLanguageParser.g:7415:2: () { - before(grammarAccess.getUnaryExpressionAccess().getOpAssignment_1_1()); - // InternalSolverLanguageParser.g:5949:2: ( rule__UnaryExpression__OpAssignment_1_1 ) - // InternalSolverLanguageParser.g:5949:3: rule__UnaryExpression__OpAssignment_1_1 + before(grammarAccess.getArgumentListAccess().getArgumentListAction_0()); + // InternalSolverLanguageParser.g:7416:2: () + // InternalSolverLanguageParser.g:7416:3: { - pushFollow(FOLLOW_2); - rule__UnaryExpression__OpAssignment_1_1(); - - state._fsp--; - - } - after(grammarAccess.getUnaryExpressionAccess().getOpAssignment_1_1()); + after(grammarAccess.getArgumentListAccess().getArgumentListAction_0()); } @@ -18501,10 +22917,6 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } finally { restoreStackSize(stackSize); @@ -18512,21 +22924,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__UnaryExpression__Group_1__1__Impl" + // $ANTLR end "rule__ArgumentList__Group__0__Impl" - // $ANTLR start "rule__UnaryExpression__Group_1__2" - // InternalSolverLanguageParser.g:5957:1: rule__UnaryExpression__Group_1__2 : rule__UnaryExpression__Group_1__2__Impl ; - public final void rule__UnaryExpression__Group_1__2() throws RecognitionException { + // $ANTLR start "rule__ArgumentList__Group__1" + // InternalSolverLanguageParser.g:7424:1: rule__ArgumentList__Group__1 : rule__ArgumentList__Group__1__Impl rule__ArgumentList__Group__2 ; + public final void rule__ArgumentList__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5961:1: ( rule__UnaryExpression__Group_1__2__Impl ) - // InternalSolverLanguageParser.g:5962:2: rule__UnaryExpression__Group_1__2__Impl + // InternalSolverLanguageParser.g:7428:1: ( rule__ArgumentList__Group__1__Impl rule__ArgumentList__Group__2 ) + // InternalSolverLanguageParser.g:7429:2: rule__ArgumentList__Group__1__Impl rule__ArgumentList__Group__2 { + pushFollow(FOLLOW_45); + rule__ArgumentList__Group__1__Impl(); + + state._fsp--; + pushFollow(FOLLOW_2); - rule__UnaryExpression__Group_1__2__Impl(); + rule__ArgumentList__Group__2(); state._fsp--; @@ -18545,35 +22962,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__UnaryExpression__Group_1__2" + // $ANTLR end "rule__ArgumentList__Group__1" - // $ANTLR start "rule__UnaryExpression__Group_1__2__Impl" - // InternalSolverLanguageParser.g:5968:1: rule__UnaryExpression__Group_1__2__Impl : ( ( rule__UnaryExpression__BodyAssignment_1_2 ) ) ; - public final void rule__UnaryExpression__Group_1__2__Impl() throws RecognitionException { + // $ANTLR start "rule__ArgumentList__Group__1__Impl" + // InternalSolverLanguageParser.g:7436:1: rule__ArgumentList__Group__1__Impl : ( LeftParenthesis ) ; + public final void rule__ArgumentList__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5972:1: ( ( ( rule__UnaryExpression__BodyAssignment_1_2 ) ) ) - // InternalSolverLanguageParser.g:5973:1: ( ( rule__UnaryExpression__BodyAssignment_1_2 ) ) + // InternalSolverLanguageParser.g:7440:1: ( ( LeftParenthesis ) ) + // InternalSolverLanguageParser.g:7441:1: ( LeftParenthesis ) { - // InternalSolverLanguageParser.g:5973:1: ( ( rule__UnaryExpression__BodyAssignment_1_2 ) ) - // InternalSolverLanguageParser.g:5974:2: ( rule__UnaryExpression__BodyAssignment_1_2 ) + // InternalSolverLanguageParser.g:7441:1: ( LeftParenthesis ) + // InternalSolverLanguageParser.g:7442:2: LeftParenthesis { - before(grammarAccess.getUnaryExpressionAccess().getBodyAssignment_1_2()); - // InternalSolverLanguageParser.g:5975:2: ( rule__UnaryExpression__BodyAssignment_1_2 ) - // InternalSolverLanguageParser.g:5975:3: rule__UnaryExpression__BodyAssignment_1_2 - { - pushFollow(FOLLOW_2); - rule__UnaryExpression__BodyAssignment_1_2(); - - state._fsp--; - - - } - - after(grammarAccess.getUnaryExpressionAccess().getBodyAssignment_1_2()); + before(grammarAccess.getArgumentListAccess().getLeftParenthesisKeyword_1()); + match(input,LeftParenthesis,FOLLOW_2); + after(grammarAccess.getArgumentListAccess().getLeftParenthesisKeyword_1()); } @@ -18592,26 +22999,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__UnaryExpression__Group_1__2__Impl" + // $ANTLR end "rule__ArgumentList__Group__1__Impl" - // $ANTLR start "rule__LocalVariables__Group__0" - // InternalSolverLanguageParser.g:5984:1: rule__LocalVariables__Group__0 : rule__LocalVariables__Group__0__Impl rule__LocalVariables__Group__1 ; - public final void rule__LocalVariables__Group__0() throws RecognitionException { + // $ANTLR start "rule__ArgumentList__Group__2" + // InternalSolverLanguageParser.g:7451:1: rule__ArgumentList__Group__2 : rule__ArgumentList__Group__2__Impl rule__ArgumentList__Group__3 ; + public final void rule__ArgumentList__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:5988:1: ( rule__LocalVariables__Group__0__Impl rule__LocalVariables__Group__1 ) - // InternalSolverLanguageParser.g:5989:2: rule__LocalVariables__Group__0__Impl rule__LocalVariables__Group__1 + // InternalSolverLanguageParser.g:7455:1: ( rule__ArgumentList__Group__2__Impl rule__ArgumentList__Group__3 ) + // InternalSolverLanguageParser.g:7456:2: rule__ArgumentList__Group__2__Impl rule__ArgumentList__Group__3 { - pushFollow(FOLLOW_38); - rule__LocalVariables__Group__0__Impl(); + pushFollow(FOLLOW_45); + rule__ArgumentList__Group__2__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__LocalVariables__Group__1(); + rule__ArgumentList__Group__3(); state._fsp--; @@ -18630,29 +23037,46 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__LocalVariables__Group__0" + // $ANTLR end "rule__ArgumentList__Group__2" - // $ANTLR start "rule__LocalVariables__Group__0__Impl" - // InternalSolverLanguageParser.g:5996:1: rule__LocalVariables__Group__0__Impl : ( () ) ; - public final void rule__LocalVariables__Group__0__Impl() throws RecognitionException { + // $ANTLR start "rule__ArgumentList__Group__2__Impl" + // InternalSolverLanguageParser.g:7463:1: rule__ArgumentList__Group__2__Impl : ( ( rule__ArgumentList__Group_2__0 )? ) ; + public final void rule__ArgumentList__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6000:1: ( ( () ) ) - // InternalSolverLanguageParser.g:6001:1: ( () ) + // InternalSolverLanguageParser.g:7467:1: ( ( ( rule__ArgumentList__Group_2__0 )? ) ) + // InternalSolverLanguageParser.g:7468:1: ( ( rule__ArgumentList__Group_2__0 )? ) { - // InternalSolverLanguageParser.g:6001:1: ( () ) - // InternalSolverLanguageParser.g:6002:2: () - { - before(grammarAccess.getLocalVariablesAccess().getLocalVariablesAction_0()); - // InternalSolverLanguageParser.g:6003:2: () - // InternalSolverLanguageParser.g:6003:3: + // InternalSolverLanguageParser.g:7468:1: ( ( rule__ArgumentList__Group_2__0 )? ) + // InternalSolverLanguageParser.g:7469:2: ( rule__ArgumentList__Group_2__0 )? { + before(grammarAccess.getArgumentListAccess().getGroup_2()); + // InternalSolverLanguageParser.g:7470:2: ( rule__ArgumentList__Group_2__0 )? + int alt51=2; + int LA51_0 = input.LA(1); + + if ( (LA51_0==Unknown||LA51_0==Object||(LA51_0>=Count && LA51_0<=False)||LA51_0==True||LA51_0==Inf||(LA51_0>=ExclamationMark && LA51_0<=LeftParenthesis)||(LA51_0>=Asterisk && LA51_0<=PlusSign)||LA51_0==HyphenMinus||(LA51_0>=QuestionMark && LA51_0<=LeftSquareBracket)||(LA51_0>=Tilde && LA51_0<=RULE_QUOTED_ID)||(LA51_0>=RULE_ID && LA51_0<=RULE_INT)) ) { + alt51=1; + } + switch (alt51) { + case 1 : + // InternalSolverLanguageParser.g:7470:3: rule__ArgumentList__Group_2__0 + { + pushFollow(FOLLOW_2); + rule__ArgumentList__Group_2__0(); + + state._fsp--; + + + } + break; + } - after(grammarAccess.getLocalVariablesAccess().getLocalVariablesAction_0()); + after(grammarAccess.getArgumentListAccess().getGroup_2()); } @@ -18660,6 +23084,10 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } finally { restoreStackSize(stackSize); @@ -18667,26 +23095,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__LocalVariables__Group__0__Impl" + // $ANTLR end "rule__ArgumentList__Group__2__Impl" - // $ANTLR start "rule__LocalVariables__Group__1" - // InternalSolverLanguageParser.g:6011:1: rule__LocalVariables__Group__1 : rule__LocalVariables__Group__1__Impl rule__LocalVariables__Group__2 ; - public final void rule__LocalVariables__Group__1() throws RecognitionException { + // $ANTLR start "rule__ArgumentList__Group__3" + // InternalSolverLanguageParser.g:7478:1: rule__ArgumentList__Group__3 : rule__ArgumentList__Group__3__Impl ; + public final void rule__ArgumentList__Group__3() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6015:1: ( rule__LocalVariables__Group__1__Impl rule__LocalVariables__Group__2 ) - // InternalSolverLanguageParser.g:6016:2: rule__LocalVariables__Group__1__Impl rule__LocalVariables__Group__2 + // InternalSolverLanguageParser.g:7482:1: ( rule__ArgumentList__Group__3__Impl ) + // InternalSolverLanguageParser.g:7483:2: rule__ArgumentList__Group__3__Impl { - pushFollow(FOLLOW_39); - rule__LocalVariables__Group__1__Impl(); - - state._fsp--; - pushFollow(FOLLOW_2); - rule__LocalVariables__Group__2(); + rule__ArgumentList__Group__3__Impl(); state._fsp--; @@ -18705,25 +23128,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__LocalVariables__Group__1" + // $ANTLR end "rule__ArgumentList__Group__3" - // $ANTLR start "rule__LocalVariables__Group__1__Impl" - // InternalSolverLanguageParser.g:6023:1: rule__LocalVariables__Group__1__Impl : ( LeftSquareBracket ) ; - public final void rule__LocalVariables__Group__1__Impl() throws RecognitionException { + // $ANTLR start "rule__ArgumentList__Group__3__Impl" + // InternalSolverLanguageParser.g:7489:1: rule__ArgumentList__Group__3__Impl : ( RightParenthesis ) ; + public final void rule__ArgumentList__Group__3__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6027:1: ( ( LeftSquareBracket ) ) - // InternalSolverLanguageParser.g:6028:1: ( LeftSquareBracket ) + // InternalSolverLanguageParser.g:7493:1: ( ( RightParenthesis ) ) + // InternalSolverLanguageParser.g:7494:1: ( RightParenthesis ) { - // InternalSolverLanguageParser.g:6028:1: ( LeftSquareBracket ) - // InternalSolverLanguageParser.g:6029:2: LeftSquareBracket + // InternalSolverLanguageParser.g:7494:1: ( RightParenthesis ) + // InternalSolverLanguageParser.g:7495:2: RightParenthesis { - before(grammarAccess.getLocalVariablesAccess().getLeftSquareBracketKeyword_1()); - match(input,LeftSquareBracket,FOLLOW_2); - after(grammarAccess.getLocalVariablesAccess().getLeftSquareBracketKeyword_1()); + before(grammarAccess.getArgumentListAccess().getRightParenthesisKeyword_3()); + match(input,RightParenthesis,FOLLOW_2); + after(grammarAccess.getArgumentListAccess().getRightParenthesisKeyword_3()); } @@ -18742,26 +23165,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__LocalVariables__Group__1__Impl" + // $ANTLR end "rule__ArgumentList__Group__3__Impl" - // $ANTLR start "rule__LocalVariables__Group__2" - // InternalSolverLanguageParser.g:6038:1: rule__LocalVariables__Group__2 : rule__LocalVariables__Group__2__Impl rule__LocalVariables__Group__3 ; - public final void rule__LocalVariables__Group__2() throws RecognitionException { + // $ANTLR start "rule__ArgumentList__Group_2__0" + // InternalSolverLanguageParser.g:7505:1: rule__ArgumentList__Group_2__0 : rule__ArgumentList__Group_2__0__Impl rule__ArgumentList__Group_2__1 ; + public final void rule__ArgumentList__Group_2__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6042:1: ( rule__LocalVariables__Group__2__Impl rule__LocalVariables__Group__3 ) - // InternalSolverLanguageParser.g:6043:2: rule__LocalVariables__Group__2__Impl rule__LocalVariables__Group__3 + // InternalSolverLanguageParser.g:7509:1: ( rule__ArgumentList__Group_2__0__Impl rule__ArgumentList__Group_2__1 ) + // InternalSolverLanguageParser.g:7510:2: rule__ArgumentList__Group_2__0__Impl rule__ArgumentList__Group_2__1 { - pushFollow(FOLLOW_39); - rule__LocalVariables__Group__2__Impl(); + pushFollow(FOLLOW_35); + rule__ArgumentList__Group_2__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__LocalVariables__Group__3(); + rule__ArgumentList__Group_2__1(); state._fsp--; @@ -18780,46 +23203,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__LocalVariables__Group__2" + // $ANTLR end "rule__ArgumentList__Group_2__0" - // $ANTLR start "rule__LocalVariables__Group__2__Impl" - // InternalSolverLanguageParser.g:6050:1: rule__LocalVariables__Group__2__Impl : ( ( rule__LocalVariables__Group_2__0 )? ) ; - public final void rule__LocalVariables__Group__2__Impl() throws RecognitionException { + // $ANTLR start "rule__ArgumentList__Group_2__0__Impl" + // InternalSolverLanguageParser.g:7517:1: rule__ArgumentList__Group_2__0__Impl : ( ( rule__ArgumentList__ArgumentsAssignment_2_0 ) ) ; + public final void rule__ArgumentList__Group_2__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6054:1: ( ( ( rule__LocalVariables__Group_2__0 )? ) ) - // InternalSolverLanguageParser.g:6055:1: ( ( rule__LocalVariables__Group_2__0 )? ) + // InternalSolverLanguageParser.g:7521:1: ( ( ( rule__ArgumentList__ArgumentsAssignment_2_0 ) ) ) + // InternalSolverLanguageParser.g:7522:1: ( ( rule__ArgumentList__ArgumentsAssignment_2_0 ) ) { - // InternalSolverLanguageParser.g:6055:1: ( ( rule__LocalVariables__Group_2__0 )? ) - // InternalSolverLanguageParser.g:6056:2: ( rule__LocalVariables__Group_2__0 )? + // InternalSolverLanguageParser.g:7522:1: ( ( rule__ArgumentList__ArgumentsAssignment_2_0 ) ) + // InternalSolverLanguageParser.g:7523:2: ( rule__ArgumentList__ArgumentsAssignment_2_0 ) { - before(grammarAccess.getLocalVariablesAccess().getGroup_2()); - // InternalSolverLanguageParser.g:6057:2: ( rule__LocalVariables__Group_2__0 )? - int alt43=2; - int LA43_0 = input.LA(1); - - if ( (LA43_0==RULE_QUOTED_ID||LA43_0==RULE_ID) ) { - alt43=1; - } - switch (alt43) { - case 1 : - // InternalSolverLanguageParser.g:6057:3: rule__LocalVariables__Group_2__0 - { - pushFollow(FOLLOW_2); - rule__LocalVariables__Group_2__0(); - - state._fsp--; + before(grammarAccess.getArgumentListAccess().getArgumentsAssignment_2_0()); + // InternalSolverLanguageParser.g:7524:2: ( rule__ArgumentList__ArgumentsAssignment_2_0 ) + // InternalSolverLanguageParser.g:7524:3: rule__ArgumentList__ArgumentsAssignment_2_0 + { + pushFollow(FOLLOW_2); + rule__ArgumentList__ArgumentsAssignment_2_0(); + state._fsp--; - } - break; } - after(grammarAccess.getLocalVariablesAccess().getGroup_2()); + after(grammarAccess.getArgumentListAccess().getArgumentsAssignment_2_0()); } @@ -18838,21 +23250,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__LocalVariables__Group__2__Impl" + // $ANTLR end "rule__ArgumentList__Group_2__0__Impl" - // $ANTLR start "rule__LocalVariables__Group__3" - // InternalSolverLanguageParser.g:6065:1: rule__LocalVariables__Group__3 : rule__LocalVariables__Group__3__Impl ; - public final void rule__LocalVariables__Group__3() throws RecognitionException { + // $ANTLR start "rule__ArgumentList__Group_2__1" + // InternalSolverLanguageParser.g:7532:1: rule__ArgumentList__Group_2__1 : rule__ArgumentList__Group_2__1__Impl ; + public final void rule__ArgumentList__Group_2__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6069:1: ( rule__LocalVariables__Group__3__Impl ) - // InternalSolverLanguageParser.g:6070:2: rule__LocalVariables__Group__3__Impl + // InternalSolverLanguageParser.g:7536:1: ( rule__ArgumentList__Group_2__1__Impl ) + // InternalSolverLanguageParser.g:7537:2: rule__ArgumentList__Group_2__1__Impl { pushFollow(FOLLOW_2); - rule__LocalVariables__Group__3__Impl(); + rule__ArgumentList__Group_2__1__Impl(); state._fsp--; @@ -18871,25 +23283,53 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__LocalVariables__Group__3" + // $ANTLR end "rule__ArgumentList__Group_2__1" - // $ANTLR start "rule__LocalVariables__Group__3__Impl" - // InternalSolverLanguageParser.g:6076:1: rule__LocalVariables__Group__3__Impl : ( RightSquareBracket ) ; - public final void rule__LocalVariables__Group__3__Impl() throws RecognitionException { + // $ANTLR start "rule__ArgumentList__Group_2__1__Impl" + // InternalSolverLanguageParser.g:7543:1: rule__ArgumentList__Group_2__1__Impl : ( ( rule__ArgumentList__Group_2_1__0 )* ) ; + public final void rule__ArgumentList__Group_2__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6080:1: ( ( RightSquareBracket ) ) - // InternalSolverLanguageParser.g:6081:1: ( RightSquareBracket ) + // InternalSolverLanguageParser.g:7547:1: ( ( ( rule__ArgumentList__Group_2_1__0 )* ) ) + // InternalSolverLanguageParser.g:7548:1: ( ( rule__ArgumentList__Group_2_1__0 )* ) { - // InternalSolverLanguageParser.g:6081:1: ( RightSquareBracket ) - // InternalSolverLanguageParser.g:6082:2: RightSquareBracket + // InternalSolverLanguageParser.g:7548:1: ( ( rule__ArgumentList__Group_2_1__0 )* ) + // InternalSolverLanguageParser.g:7549:2: ( rule__ArgumentList__Group_2_1__0 )* { - before(grammarAccess.getLocalVariablesAccess().getRightSquareBracketKeyword_3()); - match(input,RightSquareBracket,FOLLOW_2); - after(grammarAccess.getLocalVariablesAccess().getRightSquareBracketKeyword_3()); + before(grammarAccess.getArgumentListAccess().getGroup_2_1()); + // InternalSolverLanguageParser.g:7550:2: ( rule__ArgumentList__Group_2_1__0 )* + loop52: + do { + int alt52=2; + int LA52_0 = input.LA(1); + + if ( (LA52_0==Comma) ) { + alt52=1; + } + + + switch (alt52) { + case 1 : + // InternalSolverLanguageParser.g:7550:3: rule__ArgumentList__Group_2_1__0 + { + pushFollow(FOLLOW_29); + rule__ArgumentList__Group_2_1__0(); + + state._fsp--; + + + } + break; + + default : + break loop52; + } + } while (true); + + after(grammarAccess.getArgumentListAccess().getGroup_2_1()); } @@ -18908,26 +23348,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__LocalVariables__Group__3__Impl" + // $ANTLR end "rule__ArgumentList__Group_2__1__Impl" - // $ANTLR start "rule__LocalVariables__Group_2__0" - // InternalSolverLanguageParser.g:6092:1: rule__LocalVariables__Group_2__0 : rule__LocalVariables__Group_2__0__Impl rule__LocalVariables__Group_2__1 ; - public final void rule__LocalVariables__Group_2__0() throws RecognitionException { + // $ANTLR start "rule__ArgumentList__Group_2_1__0" + // InternalSolverLanguageParser.g:7559:1: rule__ArgumentList__Group_2_1__0 : rule__ArgumentList__Group_2_1__0__Impl rule__ArgumentList__Group_2_1__1 ; + public final void rule__ArgumentList__Group_2_1__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6096:1: ( rule__LocalVariables__Group_2__0__Impl rule__LocalVariables__Group_2__1 ) - // InternalSolverLanguageParser.g:6097:2: rule__LocalVariables__Group_2__0__Impl rule__LocalVariables__Group_2__1 + // InternalSolverLanguageParser.g:7563:1: ( rule__ArgumentList__Group_2_1__0__Impl rule__ArgumentList__Group_2_1__1 ) + // InternalSolverLanguageParser.g:7564:2: rule__ArgumentList__Group_2_1__0__Impl rule__ArgumentList__Group_2_1__1 { - pushFollow(FOLLOW_19); - rule__LocalVariables__Group_2__0__Impl(); + pushFollow(FOLLOW_46); + rule__ArgumentList__Group_2_1__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__LocalVariables__Group_2__1(); + rule__ArgumentList__Group_2_1__1(); state._fsp--; @@ -18946,35 +23386,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__LocalVariables__Group_2__0" + // $ANTLR end "rule__ArgumentList__Group_2_1__0" - // $ANTLR start "rule__LocalVariables__Group_2__0__Impl" - // InternalSolverLanguageParser.g:6104:1: rule__LocalVariables__Group_2__0__Impl : ( ( rule__LocalVariables__VariablesAssignment_2_0 ) ) ; - public final void rule__LocalVariables__Group_2__0__Impl() throws RecognitionException { + // $ANTLR start "rule__ArgumentList__Group_2_1__0__Impl" + // InternalSolverLanguageParser.g:7571:1: rule__ArgumentList__Group_2_1__0__Impl : ( Comma ) ; + public final void rule__ArgumentList__Group_2_1__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6108:1: ( ( ( rule__LocalVariables__VariablesAssignment_2_0 ) ) ) - // InternalSolverLanguageParser.g:6109:1: ( ( rule__LocalVariables__VariablesAssignment_2_0 ) ) - { - // InternalSolverLanguageParser.g:6109:1: ( ( rule__LocalVariables__VariablesAssignment_2_0 ) ) - // InternalSolverLanguageParser.g:6110:2: ( rule__LocalVariables__VariablesAssignment_2_0 ) + // InternalSolverLanguageParser.g:7575:1: ( ( Comma ) ) + // InternalSolverLanguageParser.g:7576:1: ( Comma ) { - before(grammarAccess.getLocalVariablesAccess().getVariablesAssignment_2_0()); - // InternalSolverLanguageParser.g:6111:2: ( rule__LocalVariables__VariablesAssignment_2_0 ) - // InternalSolverLanguageParser.g:6111:3: rule__LocalVariables__VariablesAssignment_2_0 + // InternalSolverLanguageParser.g:7576:1: ( Comma ) + // InternalSolverLanguageParser.g:7577:2: Comma { - pushFollow(FOLLOW_2); - rule__LocalVariables__VariablesAssignment_2_0(); - - state._fsp--; - - - } - - after(grammarAccess.getLocalVariablesAccess().getVariablesAssignment_2_0()); + before(grammarAccess.getArgumentListAccess().getCommaKeyword_2_1_0()); + match(input,Comma,FOLLOW_2); + after(grammarAccess.getArgumentListAccess().getCommaKeyword_2_1_0()); } @@ -18993,21 +23423,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__LocalVariables__Group_2__0__Impl" + // $ANTLR end "rule__ArgumentList__Group_2_1__0__Impl" - // $ANTLR start "rule__LocalVariables__Group_2__1" - // InternalSolverLanguageParser.g:6119:1: rule__LocalVariables__Group_2__1 : rule__LocalVariables__Group_2__1__Impl ; - public final void rule__LocalVariables__Group_2__1() throws RecognitionException { + // $ANTLR start "rule__ArgumentList__Group_2_1__1" + // InternalSolverLanguageParser.g:7586:1: rule__ArgumentList__Group_2_1__1 : rule__ArgumentList__Group_2_1__1__Impl ; + public final void rule__ArgumentList__Group_2_1__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6123:1: ( rule__LocalVariables__Group_2__1__Impl ) - // InternalSolverLanguageParser.g:6124:2: rule__LocalVariables__Group_2__1__Impl + // InternalSolverLanguageParser.g:7590:1: ( rule__ArgumentList__Group_2_1__1__Impl ) + // InternalSolverLanguageParser.g:7591:2: rule__ArgumentList__Group_2_1__1__Impl { pushFollow(FOLLOW_2); - rule__LocalVariables__Group_2__1__Impl(); + rule__ArgumentList__Group_2_1__1__Impl(); state._fsp--; @@ -19026,53 +23456,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__LocalVariables__Group_2__1" + // $ANTLR end "rule__ArgumentList__Group_2_1__1" - // $ANTLR start "rule__LocalVariables__Group_2__1__Impl" - // InternalSolverLanguageParser.g:6130:1: rule__LocalVariables__Group_2__1__Impl : ( ( rule__LocalVariables__Group_2_1__0 )* ) ; - public final void rule__LocalVariables__Group_2__1__Impl() throws RecognitionException { + // $ANTLR start "rule__ArgumentList__Group_2_1__1__Impl" + // InternalSolverLanguageParser.g:7597:1: rule__ArgumentList__Group_2_1__1__Impl : ( ( rule__ArgumentList__ArgumentsAssignment_2_1_1 ) ) ; + public final void rule__ArgumentList__Group_2_1__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6134:1: ( ( ( rule__LocalVariables__Group_2_1__0 )* ) ) - // InternalSolverLanguageParser.g:6135:1: ( ( rule__LocalVariables__Group_2_1__0 )* ) + // InternalSolverLanguageParser.g:7601:1: ( ( ( rule__ArgumentList__ArgumentsAssignment_2_1_1 ) ) ) + // InternalSolverLanguageParser.g:7602:1: ( ( rule__ArgumentList__ArgumentsAssignment_2_1_1 ) ) { - // InternalSolverLanguageParser.g:6135:1: ( ( rule__LocalVariables__Group_2_1__0 )* ) - // InternalSolverLanguageParser.g:6136:2: ( rule__LocalVariables__Group_2_1__0 )* + // InternalSolverLanguageParser.g:7602:1: ( ( rule__ArgumentList__ArgumentsAssignment_2_1_1 ) ) + // InternalSolverLanguageParser.g:7603:2: ( rule__ArgumentList__ArgumentsAssignment_2_1_1 ) { - before(grammarAccess.getLocalVariablesAccess().getGroup_2_1()); - // InternalSolverLanguageParser.g:6137:2: ( rule__LocalVariables__Group_2_1__0 )* - loop44: - do { - int alt44=2; - int LA44_0 = input.LA(1); - - if ( (LA44_0==Comma) ) { - alt44=1; - } - - - switch (alt44) { - case 1 : - // InternalSolverLanguageParser.g:6137:3: rule__LocalVariables__Group_2_1__0 - { - pushFollow(FOLLOW_20); - rule__LocalVariables__Group_2_1__0(); - - state._fsp--; + before(grammarAccess.getArgumentListAccess().getArgumentsAssignment_2_1_1()); + // InternalSolverLanguageParser.g:7604:2: ( rule__ArgumentList__ArgumentsAssignment_2_1_1 ) + // InternalSolverLanguageParser.g:7604:3: rule__ArgumentList__ArgumentsAssignment_2_1_1 + { + pushFollow(FOLLOW_2); + rule__ArgumentList__ArgumentsAssignment_2_1_1(); + state._fsp--; - } - break; - default : - break loop44; - } - } while (true); + } - after(grammarAccess.getLocalVariablesAccess().getGroup_2_1()); + after(grammarAccess.getArgumentListAccess().getArgumentsAssignment_2_1_1()); } @@ -19091,26 +23503,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__LocalVariables__Group_2__1__Impl" + // $ANTLR end "rule__ArgumentList__Group_2_1__1__Impl" - // $ANTLR start "rule__LocalVariables__Group_2_1__0" - // InternalSolverLanguageParser.g:6146:1: rule__LocalVariables__Group_2_1__0 : rule__LocalVariables__Group_2_1__0__Impl rule__LocalVariables__Group_2_1__1 ; - public final void rule__LocalVariables__Group_2_1__0() throws RecognitionException { + // $ANTLR start "rule__StarArgument__Group__0" + // InternalSolverLanguageParser.g:7613:1: rule__StarArgument__Group__0 : rule__StarArgument__Group__0__Impl rule__StarArgument__Group__1 ; + public final void rule__StarArgument__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6150:1: ( rule__LocalVariables__Group_2_1__0__Impl rule__LocalVariables__Group_2_1__1 ) - // InternalSolverLanguageParser.g:6151:2: rule__LocalVariables__Group_2_1__0__Impl rule__LocalVariables__Group_2_1__1 + // InternalSolverLanguageParser.g:7617:1: ( rule__StarArgument__Group__0__Impl rule__StarArgument__Group__1 ) + // InternalSolverLanguageParser.g:7618:2: rule__StarArgument__Group__0__Impl rule__StarArgument__Group__1 { - pushFollow(FOLLOW_9); - rule__LocalVariables__Group_2_1__0__Impl(); + pushFollow(FOLLOW_47); + rule__StarArgument__Group__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__LocalVariables__Group_2_1__1(); + rule__StarArgument__Group__1(); state._fsp--; @@ -19129,25 +23541,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__LocalVariables__Group_2_1__0" + // $ANTLR end "rule__StarArgument__Group__0" - // $ANTLR start "rule__LocalVariables__Group_2_1__0__Impl" - // InternalSolverLanguageParser.g:6158:1: rule__LocalVariables__Group_2_1__0__Impl : ( Comma ) ; - public final void rule__LocalVariables__Group_2_1__0__Impl() throws RecognitionException { + // $ANTLR start "rule__StarArgument__Group__0__Impl" + // InternalSolverLanguageParser.g:7625:1: rule__StarArgument__Group__0__Impl : ( () ) ; + public final void rule__StarArgument__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6162:1: ( ( Comma ) ) - // InternalSolverLanguageParser.g:6163:1: ( Comma ) + // InternalSolverLanguageParser.g:7629:1: ( ( () ) ) + // InternalSolverLanguageParser.g:7630:1: ( () ) { - // InternalSolverLanguageParser.g:6163:1: ( Comma ) - // InternalSolverLanguageParser.g:6164:2: Comma + // InternalSolverLanguageParser.g:7630:1: ( () ) + // InternalSolverLanguageParser.g:7631:2: () { - before(grammarAccess.getLocalVariablesAccess().getCommaKeyword_2_1_0()); - match(input,Comma,FOLLOW_2); - after(grammarAccess.getLocalVariablesAccess().getCommaKeyword_2_1_0()); + before(grammarAccess.getStarArgumentAccess().getStarArgumentAction_0()); + // InternalSolverLanguageParser.g:7632:2: () + // InternalSolverLanguageParser.g:7632:3: + { + } + + after(grammarAccess.getStarArgumentAccess().getStarArgumentAction_0()); } @@ -19155,10 +23571,6 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } finally { restoreStackSize(stackSize); @@ -19166,21 +23578,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__LocalVariables__Group_2_1__0__Impl" + // $ANTLR end "rule__StarArgument__Group__0__Impl" - // $ANTLR start "rule__LocalVariables__Group_2_1__1" - // InternalSolverLanguageParser.g:6173:1: rule__LocalVariables__Group_2_1__1 : rule__LocalVariables__Group_2_1__1__Impl ; - public final void rule__LocalVariables__Group_2_1__1() throws RecognitionException { + // $ANTLR start "rule__StarArgument__Group__1" + // InternalSolverLanguageParser.g:7640:1: rule__StarArgument__Group__1 : rule__StarArgument__Group__1__Impl ; + public final void rule__StarArgument__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6177:1: ( rule__LocalVariables__Group_2_1__1__Impl ) - // InternalSolverLanguageParser.g:6178:2: rule__LocalVariables__Group_2_1__1__Impl + // InternalSolverLanguageParser.g:7644:1: ( rule__StarArgument__Group__1__Impl ) + // InternalSolverLanguageParser.g:7645:2: rule__StarArgument__Group__1__Impl { pushFollow(FOLLOW_2); - rule__LocalVariables__Group_2_1__1__Impl(); + rule__StarArgument__Group__1__Impl(); state._fsp--; @@ -19199,35 +23611,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__LocalVariables__Group_2_1__1" + // $ANTLR end "rule__StarArgument__Group__1" - // $ANTLR start "rule__LocalVariables__Group_2_1__1__Impl" - // InternalSolverLanguageParser.g:6184:1: rule__LocalVariables__Group_2_1__1__Impl : ( ( rule__LocalVariables__VariablesAssignment_2_1_1 ) ) ; - public final void rule__LocalVariables__Group_2_1__1__Impl() throws RecognitionException { + // $ANTLR start "rule__StarArgument__Group__1__Impl" + // InternalSolverLanguageParser.g:7651:1: rule__StarArgument__Group__1__Impl : ( Asterisk ) ; + public final void rule__StarArgument__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6188:1: ( ( ( rule__LocalVariables__VariablesAssignment_2_1_1 ) ) ) - // InternalSolverLanguageParser.g:6189:1: ( ( rule__LocalVariables__VariablesAssignment_2_1_1 ) ) - { - // InternalSolverLanguageParser.g:6189:1: ( ( rule__LocalVariables__VariablesAssignment_2_1_1 ) ) - // InternalSolverLanguageParser.g:6190:2: ( rule__LocalVariables__VariablesAssignment_2_1_1 ) + // InternalSolverLanguageParser.g:7655:1: ( ( Asterisk ) ) + // InternalSolverLanguageParser.g:7656:1: ( Asterisk ) { - before(grammarAccess.getLocalVariablesAccess().getVariablesAssignment_2_1_1()); - // InternalSolverLanguageParser.g:6191:2: ( rule__LocalVariables__VariablesAssignment_2_1_1 ) - // InternalSolverLanguageParser.g:6191:3: rule__LocalVariables__VariablesAssignment_2_1_1 + // InternalSolverLanguageParser.g:7656:1: ( Asterisk ) + // InternalSolverLanguageParser.g:7657:2: Asterisk { - pushFollow(FOLLOW_2); - rule__LocalVariables__VariablesAssignment_2_1_1(); - - state._fsp--; - - - } - - after(grammarAccess.getLocalVariablesAccess().getVariablesAssignment_2_1_1()); + before(grammarAccess.getStarArgumentAccess().getAsteriskKeyword_1()); + match(input,Asterisk,FOLLOW_2); + after(grammarAccess.getStarArgumentAccess().getAsteriskKeyword_1()); } @@ -19246,26 +23648,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__LocalVariables__Group_2_1__1__Impl" + // $ANTLR end "rule__StarArgument__Group__1__Impl" - // $ANTLR start "rule__QuantifiedExpression__Group__0" - // InternalSolverLanguageParser.g:6200:1: rule__QuantifiedExpression__Group__0 : rule__QuantifiedExpression__Group__0__Impl rule__QuantifiedExpression__Group__1 ; - public final void rule__QuantifiedExpression__Group__0() throws RecognitionException { + // $ANTLR start "rule__TypedVariableArgument__Group__0" + // InternalSolverLanguageParser.g:7667:1: rule__TypedVariableArgument__Group__0 : rule__TypedVariableArgument__Group__0__Impl rule__TypedVariableArgument__Group__1 ; + public final void rule__TypedVariableArgument__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6204:1: ( rule__QuantifiedExpression__Group__0__Impl rule__QuantifiedExpression__Group__1 ) - // InternalSolverLanguageParser.g:6205:2: rule__QuantifiedExpression__Group__0__Impl rule__QuantifiedExpression__Group__1 + // InternalSolverLanguageParser.g:7671:1: ( rule__TypedVariableArgument__Group__0__Impl rule__TypedVariableArgument__Group__1 ) + // InternalSolverLanguageParser.g:7672:2: rule__TypedVariableArgument__Group__0__Impl rule__TypedVariableArgument__Group__1 { - pushFollow(FOLLOW_40); - rule__QuantifiedExpression__Group__0__Impl(); + pushFollow(FOLLOW_48); + rule__TypedVariableArgument__Group__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__QuantifiedExpression__Group__1(); + rule__TypedVariableArgument__Group__1(); state._fsp--; @@ -19284,35 +23686,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__QuantifiedExpression__Group__0" + // $ANTLR end "rule__TypedVariableArgument__Group__0" - // $ANTLR start "rule__QuantifiedExpression__Group__0__Impl" - // InternalSolverLanguageParser.g:6212:1: rule__QuantifiedExpression__Group__0__Impl : ( ( rule__QuantifiedExpression__QuantifierAssignment_0 ) ) ; - public final void rule__QuantifiedExpression__Group__0__Impl() throws RecognitionException { + // $ANTLR start "rule__TypedVariableArgument__Group__0__Impl" + // InternalSolverLanguageParser.g:7679:1: rule__TypedVariableArgument__Group__0__Impl : ( ( rule__TypedVariableArgument__TypeReferenceAssignment_0 ) ) ; + public final void rule__TypedVariableArgument__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6216:1: ( ( ( rule__QuantifiedExpression__QuantifierAssignment_0 ) ) ) - // InternalSolverLanguageParser.g:6217:1: ( ( rule__QuantifiedExpression__QuantifierAssignment_0 ) ) + // InternalSolverLanguageParser.g:7683:1: ( ( ( rule__TypedVariableArgument__TypeReferenceAssignment_0 ) ) ) + // InternalSolverLanguageParser.g:7684:1: ( ( rule__TypedVariableArgument__TypeReferenceAssignment_0 ) ) { - // InternalSolverLanguageParser.g:6217:1: ( ( rule__QuantifiedExpression__QuantifierAssignment_0 ) ) - // InternalSolverLanguageParser.g:6218:2: ( rule__QuantifiedExpression__QuantifierAssignment_0 ) + // InternalSolverLanguageParser.g:7684:1: ( ( rule__TypedVariableArgument__TypeReferenceAssignment_0 ) ) + // InternalSolverLanguageParser.g:7685:2: ( rule__TypedVariableArgument__TypeReferenceAssignment_0 ) { - before(grammarAccess.getQuantifiedExpressionAccess().getQuantifierAssignment_0()); - // InternalSolverLanguageParser.g:6219:2: ( rule__QuantifiedExpression__QuantifierAssignment_0 ) - // InternalSolverLanguageParser.g:6219:3: rule__QuantifiedExpression__QuantifierAssignment_0 + before(grammarAccess.getTypedVariableArgumentAccess().getTypeReferenceAssignment_0()); + // InternalSolverLanguageParser.g:7686:2: ( rule__TypedVariableArgument__TypeReferenceAssignment_0 ) + // InternalSolverLanguageParser.g:7686:3: rule__TypedVariableArgument__TypeReferenceAssignment_0 { pushFollow(FOLLOW_2); - rule__QuantifiedExpression__QuantifierAssignment_0(); + rule__TypedVariableArgument__TypeReferenceAssignment_0(); state._fsp--; } - after(grammarAccess.getQuantifiedExpressionAccess().getQuantifierAssignment_0()); + after(grammarAccess.getTypedVariableArgumentAccess().getTypeReferenceAssignment_0()); } @@ -19331,26 +23733,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__QuantifiedExpression__Group__0__Impl" + // $ANTLR end "rule__TypedVariableArgument__Group__0__Impl" - // $ANTLR start "rule__QuantifiedExpression__Group__1" - // InternalSolverLanguageParser.g:6227:1: rule__QuantifiedExpression__Group__1 : rule__QuantifiedExpression__Group__1__Impl rule__QuantifiedExpression__Group__2 ; - public final void rule__QuantifiedExpression__Group__1() throws RecognitionException { + // $ANTLR start "rule__TypedVariableArgument__Group__1" + // InternalSolverLanguageParser.g:7694:1: rule__TypedVariableArgument__Group__1 : rule__TypedVariableArgument__Group__1__Impl ; + public final void rule__TypedVariableArgument__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6231:1: ( rule__QuantifiedExpression__Group__1__Impl rule__QuantifiedExpression__Group__2 ) - // InternalSolverLanguageParser.g:6232:2: rule__QuantifiedExpression__Group__1__Impl rule__QuantifiedExpression__Group__2 + // InternalSolverLanguageParser.g:7698:1: ( rule__TypedVariableArgument__Group__1__Impl ) + // InternalSolverLanguageParser.g:7699:2: rule__TypedVariableArgument__Group__1__Impl { - pushFollow(FOLLOW_40); - rule__QuantifiedExpression__Group__1__Impl(); - - state._fsp--; - pushFollow(FOLLOW_2); - rule__QuantifiedExpression__Group__2(); + rule__TypedVariableArgument__Group__1__Impl(); state._fsp--; @@ -19369,46 +23766,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__QuantifiedExpression__Group__1" + // $ANTLR end "rule__TypedVariableArgument__Group__1" - // $ANTLR start "rule__QuantifiedExpression__Group__1__Impl" - // InternalSolverLanguageParser.g:6239:1: rule__QuantifiedExpression__Group__1__Impl : ( ( rule__QuantifiedExpression__LocalVariablesAssignment_1 )? ) ; - public final void rule__QuantifiedExpression__Group__1__Impl() throws RecognitionException { + // $ANTLR start "rule__TypedVariableArgument__Group__1__Impl" + // InternalSolverLanguageParser.g:7705:1: rule__TypedVariableArgument__Group__1__Impl : ( ( rule__TypedVariableArgument__NameAssignment_1 ) ) ; + public final void rule__TypedVariableArgument__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6243:1: ( ( ( rule__QuantifiedExpression__LocalVariablesAssignment_1 )? ) ) - // InternalSolverLanguageParser.g:6244:1: ( ( rule__QuantifiedExpression__LocalVariablesAssignment_1 )? ) + // InternalSolverLanguageParser.g:7709:1: ( ( ( rule__TypedVariableArgument__NameAssignment_1 ) ) ) + // InternalSolverLanguageParser.g:7710:1: ( ( rule__TypedVariableArgument__NameAssignment_1 ) ) { - // InternalSolverLanguageParser.g:6244:1: ( ( rule__QuantifiedExpression__LocalVariablesAssignment_1 )? ) - // InternalSolverLanguageParser.g:6245:2: ( rule__QuantifiedExpression__LocalVariablesAssignment_1 )? + // InternalSolverLanguageParser.g:7710:1: ( ( rule__TypedVariableArgument__NameAssignment_1 ) ) + // InternalSolverLanguageParser.g:7711:2: ( rule__TypedVariableArgument__NameAssignment_1 ) { - before(grammarAccess.getQuantifiedExpressionAccess().getLocalVariablesAssignment_1()); - // InternalSolverLanguageParser.g:6246:2: ( rule__QuantifiedExpression__LocalVariablesAssignment_1 )? - int alt45=2; - int LA45_0 = input.LA(1); - - if ( (LA45_0==LeftSquareBracket) ) { - alt45=1; - } - switch (alt45) { - case 1 : - // InternalSolverLanguageParser.g:6246:3: rule__QuantifiedExpression__LocalVariablesAssignment_1 - { - pushFollow(FOLLOW_2); - rule__QuantifiedExpression__LocalVariablesAssignment_1(); - - state._fsp--; + before(grammarAccess.getTypedVariableArgumentAccess().getNameAssignment_1()); + // InternalSolverLanguageParser.g:7712:2: ( rule__TypedVariableArgument__NameAssignment_1 ) + // InternalSolverLanguageParser.g:7712:3: rule__TypedVariableArgument__NameAssignment_1 + { + pushFollow(FOLLOW_2); + rule__TypedVariableArgument__NameAssignment_1(); + state._fsp--; - } - break; } - after(grammarAccess.getQuantifiedExpressionAccess().getLocalVariablesAssignment_1()); + after(grammarAccess.getTypedVariableArgumentAccess().getNameAssignment_1()); } @@ -19427,26 +23813,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__QuantifiedExpression__Group__1__Impl" + // $ANTLR end "rule__TypedVariableArgument__Group__1__Impl" - // $ANTLR start "rule__QuantifiedExpression__Group__2" - // InternalSolverLanguageParser.g:6254:1: rule__QuantifiedExpression__Group__2 : rule__QuantifiedExpression__Group__2__Impl rule__QuantifiedExpression__Group__3 ; - public final void rule__QuantifiedExpression__Group__2() throws RecognitionException { + // $ANTLR start "rule__TypedStarArgument__Group__0" + // InternalSolverLanguageParser.g:7721:1: rule__TypedStarArgument__Group__0 : rule__TypedStarArgument__Group__0__Impl rule__TypedStarArgument__Group__1 ; + public final void rule__TypedStarArgument__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6258:1: ( rule__QuantifiedExpression__Group__2__Impl rule__QuantifiedExpression__Group__3 ) - // InternalSolverLanguageParser.g:6259:2: rule__QuantifiedExpression__Group__2__Impl rule__QuantifiedExpression__Group__3 + // InternalSolverLanguageParser.g:7725:1: ( rule__TypedStarArgument__Group__0__Impl rule__TypedStarArgument__Group__1 ) + // InternalSolverLanguageParser.g:7726:2: rule__TypedStarArgument__Group__0__Impl rule__TypedStarArgument__Group__1 { - pushFollow(FOLLOW_7); - rule__QuantifiedExpression__Group__2__Impl(); + pushFollow(FOLLOW_47); + rule__TypedStarArgument__Group__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__QuantifiedExpression__Group__3(); + rule__TypedStarArgument__Group__1(); state._fsp--; @@ -19465,25 +23851,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__QuantifiedExpression__Group__2" + // $ANTLR end "rule__TypedStarArgument__Group__0" - // $ANTLR start "rule__QuantifiedExpression__Group__2__Impl" - // InternalSolverLanguageParser.g:6266:1: rule__QuantifiedExpression__Group__2__Impl : ( LeftCurlyBracket ) ; - public final void rule__QuantifiedExpression__Group__2__Impl() throws RecognitionException { + // $ANTLR start "rule__TypedStarArgument__Group__0__Impl" + // InternalSolverLanguageParser.g:7733:1: rule__TypedStarArgument__Group__0__Impl : ( ( rule__TypedStarArgument__TypeReferenceAssignment_0 ) ) ; + public final void rule__TypedStarArgument__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6270:1: ( ( LeftCurlyBracket ) ) - // InternalSolverLanguageParser.g:6271:1: ( LeftCurlyBracket ) + // InternalSolverLanguageParser.g:7737:1: ( ( ( rule__TypedStarArgument__TypeReferenceAssignment_0 ) ) ) + // InternalSolverLanguageParser.g:7738:1: ( ( rule__TypedStarArgument__TypeReferenceAssignment_0 ) ) { - // InternalSolverLanguageParser.g:6271:1: ( LeftCurlyBracket ) - // InternalSolverLanguageParser.g:6272:2: LeftCurlyBracket + // InternalSolverLanguageParser.g:7738:1: ( ( rule__TypedStarArgument__TypeReferenceAssignment_0 ) ) + // InternalSolverLanguageParser.g:7739:2: ( rule__TypedStarArgument__TypeReferenceAssignment_0 ) { - before(grammarAccess.getQuantifiedExpressionAccess().getLeftCurlyBracketKeyword_2()); - match(input,LeftCurlyBracket,FOLLOW_2); - after(grammarAccess.getQuantifiedExpressionAccess().getLeftCurlyBracketKeyword_2()); + before(grammarAccess.getTypedStarArgumentAccess().getTypeReferenceAssignment_0()); + // InternalSolverLanguageParser.g:7740:2: ( rule__TypedStarArgument__TypeReferenceAssignment_0 ) + // InternalSolverLanguageParser.g:7740:3: rule__TypedStarArgument__TypeReferenceAssignment_0 + { + pushFollow(FOLLOW_2); + rule__TypedStarArgument__TypeReferenceAssignment_0(); + + state._fsp--; + + + } + + after(grammarAccess.getTypedStarArgumentAccess().getTypeReferenceAssignment_0()); } @@ -19502,26 +23898,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__QuantifiedExpression__Group__2__Impl" + // $ANTLR end "rule__TypedStarArgument__Group__0__Impl" - // $ANTLR start "rule__QuantifiedExpression__Group__3" - // InternalSolverLanguageParser.g:6281:1: rule__QuantifiedExpression__Group__3 : rule__QuantifiedExpression__Group__3__Impl rule__QuantifiedExpression__Group__4 ; - public final void rule__QuantifiedExpression__Group__3() throws RecognitionException { + // $ANTLR start "rule__TypedStarArgument__Group__1" + // InternalSolverLanguageParser.g:7748:1: rule__TypedStarArgument__Group__1 : rule__TypedStarArgument__Group__1__Impl ; + public final void rule__TypedStarArgument__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6285:1: ( rule__QuantifiedExpression__Group__3__Impl rule__QuantifiedExpression__Group__4 ) - // InternalSolverLanguageParser.g:6286:2: rule__QuantifiedExpression__Group__3__Impl rule__QuantifiedExpression__Group__4 + // InternalSolverLanguageParser.g:7752:1: ( rule__TypedStarArgument__Group__1__Impl ) + // InternalSolverLanguageParser.g:7753:2: rule__TypedStarArgument__Group__1__Impl { - pushFollow(FOLLOW_16); - rule__QuantifiedExpression__Group__3__Impl(); - - state._fsp--; - pushFollow(FOLLOW_2); - rule__QuantifiedExpression__Group__4(); + rule__TypedStarArgument__Group__1__Impl(); state._fsp--; @@ -19540,35 +23931,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__QuantifiedExpression__Group__3" + // $ANTLR end "rule__TypedStarArgument__Group__1" - // $ANTLR start "rule__QuantifiedExpression__Group__3__Impl" - // InternalSolverLanguageParser.g:6293:1: rule__QuantifiedExpression__Group__3__Impl : ( ( rule__QuantifiedExpression__BodyAssignment_3 ) ) ; - public final void rule__QuantifiedExpression__Group__3__Impl() throws RecognitionException { + // $ANTLR start "rule__TypedStarArgument__Group__1__Impl" + // InternalSolverLanguageParser.g:7759:1: rule__TypedStarArgument__Group__1__Impl : ( Asterisk ) ; + public final void rule__TypedStarArgument__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6297:1: ( ( ( rule__QuantifiedExpression__BodyAssignment_3 ) ) ) - // InternalSolverLanguageParser.g:6298:1: ( ( rule__QuantifiedExpression__BodyAssignment_3 ) ) + // InternalSolverLanguageParser.g:7763:1: ( ( Asterisk ) ) + // InternalSolverLanguageParser.g:7764:1: ( Asterisk ) { - // InternalSolverLanguageParser.g:6298:1: ( ( rule__QuantifiedExpression__BodyAssignment_3 ) ) - // InternalSolverLanguageParser.g:6299:2: ( rule__QuantifiedExpression__BodyAssignment_3 ) + // InternalSolverLanguageParser.g:7764:1: ( Asterisk ) + // InternalSolverLanguageParser.g:7765:2: Asterisk { - before(grammarAccess.getQuantifiedExpressionAccess().getBodyAssignment_3()); - // InternalSolverLanguageParser.g:6300:2: ( rule__QuantifiedExpression__BodyAssignment_3 ) - // InternalSolverLanguageParser.g:6300:3: rule__QuantifiedExpression__BodyAssignment_3 - { - pushFollow(FOLLOW_2); - rule__QuantifiedExpression__BodyAssignment_3(); - - state._fsp--; - - - } - - after(grammarAccess.getQuantifiedExpressionAccess().getBodyAssignment_3()); + before(grammarAccess.getTypedStarArgumentAccess().getAsteriskKeyword_1()); + match(input,Asterisk,FOLLOW_2); + after(grammarAccess.getTypedStarArgumentAccess().getAsteriskKeyword_1()); } @@ -19587,21 +23968,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__QuantifiedExpression__Group__3__Impl" + // $ANTLR end "rule__TypedStarArgument__Group__1__Impl" - // $ANTLR start "rule__QuantifiedExpression__Group__4" - // InternalSolverLanguageParser.g:6308:1: rule__QuantifiedExpression__Group__4 : rule__QuantifiedExpression__Group__4__Impl ; - public final void rule__QuantifiedExpression__Group__4() throws RecognitionException { + // $ANTLR start "rule__Reference__Group__0" + // InternalSolverLanguageParser.g:7775:1: rule__Reference__Group__0 : rule__Reference__Group__0__Impl rule__Reference__Group__1 ; + public final void rule__Reference__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6312:1: ( rule__QuantifiedExpression__Group__4__Impl ) - // InternalSolverLanguageParser.g:6313:2: rule__QuantifiedExpression__Group__4__Impl + // InternalSolverLanguageParser.g:7779:1: ( rule__Reference__Group__0__Impl rule__Reference__Group__1 ) + // InternalSolverLanguageParser.g:7780:2: rule__Reference__Group__0__Impl rule__Reference__Group__1 { + pushFollow(FOLLOW_49); + rule__Reference__Group__0__Impl(); + + state._fsp--; + pushFollow(FOLLOW_2); - rule__QuantifiedExpression__Group__4__Impl(); + rule__Reference__Group__1(); state._fsp--; @@ -19620,25 +24006,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__QuantifiedExpression__Group__4" + // $ANTLR end "rule__Reference__Group__0" - // $ANTLR start "rule__QuantifiedExpression__Group__4__Impl" - // InternalSolverLanguageParser.g:6319:1: rule__QuantifiedExpression__Group__4__Impl : ( RightCurlyBracket ) ; - public final void rule__QuantifiedExpression__Group__4__Impl() throws RecognitionException { + // $ANTLR start "rule__Reference__Group__0__Impl" + // InternalSolverLanguageParser.g:7787:1: rule__Reference__Group__0__Impl : ( ( rule__Reference__ComponentsAssignment_0 ) ) ; + public final void rule__Reference__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6323:1: ( ( RightCurlyBracket ) ) - // InternalSolverLanguageParser.g:6324:1: ( RightCurlyBracket ) + // InternalSolverLanguageParser.g:7791:1: ( ( ( rule__Reference__ComponentsAssignment_0 ) ) ) + // InternalSolverLanguageParser.g:7792:1: ( ( rule__Reference__ComponentsAssignment_0 ) ) { - // InternalSolverLanguageParser.g:6324:1: ( RightCurlyBracket ) - // InternalSolverLanguageParser.g:6325:2: RightCurlyBracket + // InternalSolverLanguageParser.g:7792:1: ( ( rule__Reference__ComponentsAssignment_0 ) ) + // InternalSolverLanguageParser.g:7793:2: ( rule__Reference__ComponentsAssignment_0 ) { - before(grammarAccess.getQuantifiedExpressionAccess().getRightCurlyBracketKeyword_4()); - match(input,RightCurlyBracket,FOLLOW_2); - after(grammarAccess.getQuantifiedExpressionAccess().getRightCurlyBracketKeyword_4()); + before(grammarAccess.getReferenceAccess().getComponentsAssignment_0()); + // InternalSolverLanguageParser.g:7794:2: ( rule__Reference__ComponentsAssignment_0 ) + // InternalSolverLanguageParser.g:7794:3: rule__Reference__ComponentsAssignment_0 + { + pushFollow(FOLLOW_2); + rule__Reference__ComponentsAssignment_0(); + + state._fsp--; + + + } + + after(grammarAccess.getReferenceAccess().getComponentsAssignment_0()); } @@ -19657,26 +24053,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__QuantifiedExpression__Group__4__Impl" + // $ANTLR end "rule__Reference__Group__0__Impl" - // $ANTLR start "rule__Aggregation__Group__0" - // InternalSolverLanguageParser.g:6335:1: rule__Aggregation__Group__0 : rule__Aggregation__Group__0__Impl rule__Aggregation__Group__1 ; - public final void rule__Aggregation__Group__0() throws RecognitionException { + // $ANTLR start "rule__Reference__Group__1" + // InternalSolverLanguageParser.g:7802:1: rule__Reference__Group__1 : rule__Reference__Group__1__Impl ; + public final void rule__Reference__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6339:1: ( rule__Aggregation__Group__0__Impl rule__Aggregation__Group__1 ) - // InternalSolverLanguageParser.g:6340:2: rule__Aggregation__Group__0__Impl rule__Aggregation__Group__1 + // InternalSolverLanguageParser.g:7806:1: ( rule__Reference__Group__1__Impl ) + // InternalSolverLanguageParser.g:7807:2: rule__Reference__Group__1__Impl { - pushFollow(FOLLOW_40); - rule__Aggregation__Group__0__Impl(); - - state._fsp--; - pushFollow(FOLLOW_2); - rule__Aggregation__Group__1(); + rule__Reference__Group__1__Impl(); state._fsp--; @@ -19695,35 +24086,53 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Aggregation__Group__0" + // $ANTLR end "rule__Reference__Group__1" - // $ANTLR start "rule__Aggregation__Group__0__Impl" - // InternalSolverLanguageParser.g:6347:1: rule__Aggregation__Group__0__Impl : ( ( rule__Aggregation__OpAssignment_0 ) ) ; - public final void rule__Aggregation__Group__0__Impl() throws RecognitionException { + // $ANTLR start "rule__Reference__Group__1__Impl" + // InternalSolverLanguageParser.g:7813:1: rule__Reference__Group__1__Impl : ( ( rule__Reference__Group_1__0 )* ) ; + public final void rule__Reference__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6351:1: ( ( ( rule__Aggregation__OpAssignment_0 ) ) ) - // InternalSolverLanguageParser.g:6352:1: ( ( rule__Aggregation__OpAssignment_0 ) ) - { - // InternalSolverLanguageParser.g:6352:1: ( ( rule__Aggregation__OpAssignment_0 ) ) - // InternalSolverLanguageParser.g:6353:2: ( rule__Aggregation__OpAssignment_0 ) + // InternalSolverLanguageParser.g:7817:1: ( ( ( rule__Reference__Group_1__0 )* ) ) + // InternalSolverLanguageParser.g:7818:1: ( ( rule__Reference__Group_1__0 )* ) { - before(grammarAccess.getAggregationAccess().getOpAssignment_0()); - // InternalSolverLanguageParser.g:6354:2: ( rule__Aggregation__OpAssignment_0 ) - // InternalSolverLanguageParser.g:6354:3: rule__Aggregation__OpAssignment_0 + // InternalSolverLanguageParser.g:7818:1: ( ( rule__Reference__Group_1__0 )* ) + // InternalSolverLanguageParser.g:7819:2: ( rule__Reference__Group_1__0 )* { - pushFollow(FOLLOW_2); - rule__Aggregation__OpAssignment_0(); + before(grammarAccess.getReferenceAccess().getGroup_1()); + // InternalSolverLanguageParser.g:7820:2: ( rule__Reference__Group_1__0 )* + loop53: + do { + int alt53=2; + int LA53_0 = input.LA(1); - state._fsp--; + if ( (LA53_0==FullStop) ) { + alt53=1; + } - } + switch (alt53) { + case 1 : + // InternalSolverLanguageParser.g:7820:3: rule__Reference__Group_1__0 + { + pushFollow(FOLLOW_50); + rule__Reference__Group_1__0(); - after(grammarAccess.getAggregationAccess().getOpAssignment_0()); + state._fsp--; + + + } + break; + + default : + break loop53; + } + } while (true); + + after(grammarAccess.getReferenceAccess().getGroup_1()); } @@ -19742,26 +24151,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Aggregation__Group__0__Impl" + // $ANTLR end "rule__Reference__Group__1__Impl" - // $ANTLR start "rule__Aggregation__Group__1" - // InternalSolverLanguageParser.g:6362:1: rule__Aggregation__Group__1 : rule__Aggregation__Group__1__Impl rule__Aggregation__Group__2 ; - public final void rule__Aggregation__Group__1() throws RecognitionException { + // $ANTLR start "rule__Reference__Group_1__0" + // InternalSolverLanguageParser.g:7829:1: rule__Reference__Group_1__0 : rule__Reference__Group_1__0__Impl rule__Reference__Group_1__1 ; + public final void rule__Reference__Group_1__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6366:1: ( rule__Aggregation__Group__1__Impl rule__Aggregation__Group__2 ) - // InternalSolverLanguageParser.g:6367:2: rule__Aggregation__Group__1__Impl rule__Aggregation__Group__2 + // InternalSolverLanguageParser.g:7833:1: ( rule__Reference__Group_1__0__Impl rule__Reference__Group_1__1 ) + // InternalSolverLanguageParser.g:7834:2: rule__Reference__Group_1__0__Impl rule__Reference__Group_1__1 { - pushFollow(FOLLOW_40); - rule__Aggregation__Group__1__Impl(); + pushFollow(FOLLOW_6); + rule__Reference__Group_1__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__Aggregation__Group__2(); + rule__Reference__Group_1__1(); state._fsp--; @@ -19780,46 +24189,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Aggregation__Group__1" + // $ANTLR end "rule__Reference__Group_1__0" - // $ANTLR start "rule__Aggregation__Group__1__Impl" - // InternalSolverLanguageParser.g:6374:1: rule__Aggregation__Group__1__Impl : ( ( rule__Aggregation__LocalVariablesAssignment_1 )? ) ; - public final void rule__Aggregation__Group__1__Impl() throws RecognitionException { + // $ANTLR start "rule__Reference__Group_1__0__Impl" + // InternalSolverLanguageParser.g:7841:1: rule__Reference__Group_1__0__Impl : ( FullStop ) ; + public final void rule__Reference__Group_1__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6378:1: ( ( ( rule__Aggregation__LocalVariablesAssignment_1 )? ) ) - // InternalSolverLanguageParser.g:6379:1: ( ( rule__Aggregation__LocalVariablesAssignment_1 )? ) + // InternalSolverLanguageParser.g:7845:1: ( ( FullStop ) ) + // InternalSolverLanguageParser.g:7846:1: ( FullStop ) { - // InternalSolverLanguageParser.g:6379:1: ( ( rule__Aggregation__LocalVariablesAssignment_1 )? ) - // InternalSolverLanguageParser.g:6380:2: ( rule__Aggregation__LocalVariablesAssignment_1 )? + // InternalSolverLanguageParser.g:7846:1: ( FullStop ) + // InternalSolverLanguageParser.g:7847:2: FullStop { - before(grammarAccess.getAggregationAccess().getLocalVariablesAssignment_1()); - // InternalSolverLanguageParser.g:6381:2: ( rule__Aggregation__LocalVariablesAssignment_1 )? - int alt46=2; - int LA46_0 = input.LA(1); - - if ( (LA46_0==LeftSquareBracket) ) { - alt46=1; - } - switch (alt46) { - case 1 : - // InternalSolverLanguageParser.g:6381:3: rule__Aggregation__LocalVariablesAssignment_1 - { - pushFollow(FOLLOW_2); - rule__Aggregation__LocalVariablesAssignment_1(); - - state._fsp--; - - - } - break; - - } - - after(grammarAccess.getAggregationAccess().getLocalVariablesAssignment_1()); + before(grammarAccess.getReferenceAccess().getFullStopKeyword_1_0()); + match(input,FullStop,FOLLOW_2); + after(grammarAccess.getReferenceAccess().getFullStopKeyword_1_0()); } @@ -19838,26 +24226,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Aggregation__Group__1__Impl" - + // $ANTLR end "rule__Reference__Group_1__0__Impl" - // $ANTLR start "rule__Aggregation__Group__2" - // InternalSolverLanguageParser.g:6389:1: rule__Aggregation__Group__2 : rule__Aggregation__Group__2__Impl rule__Aggregation__Group__3 ; - public final void rule__Aggregation__Group__2() throws RecognitionException { + + // $ANTLR start "rule__Reference__Group_1__1" + // InternalSolverLanguageParser.g:7856:1: rule__Reference__Group_1__1 : rule__Reference__Group_1__1__Impl ; + public final void rule__Reference__Group_1__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6393:1: ( rule__Aggregation__Group__2__Impl rule__Aggregation__Group__3 ) - // InternalSolverLanguageParser.g:6394:2: rule__Aggregation__Group__2__Impl rule__Aggregation__Group__3 + // InternalSolverLanguageParser.g:7860:1: ( rule__Reference__Group_1__1__Impl ) + // InternalSolverLanguageParser.g:7861:2: rule__Reference__Group_1__1__Impl { - pushFollow(FOLLOW_7); - rule__Aggregation__Group__2__Impl(); - - state._fsp--; - pushFollow(FOLLOW_2); - rule__Aggregation__Group__3(); + rule__Reference__Group_1__1__Impl(); state._fsp--; @@ -19876,25 +24259,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Aggregation__Group__2" + // $ANTLR end "rule__Reference__Group_1__1" - // $ANTLR start "rule__Aggregation__Group__2__Impl" - // InternalSolverLanguageParser.g:6401:1: rule__Aggregation__Group__2__Impl : ( LeftCurlyBracket ) ; - public final void rule__Aggregation__Group__2__Impl() throws RecognitionException { + // $ANTLR start "rule__Reference__Group_1__1__Impl" + // InternalSolverLanguageParser.g:7867:1: rule__Reference__Group_1__1__Impl : ( ( rule__Reference__ComponentsAssignment_1_1 ) ) ; + public final void rule__Reference__Group_1__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6405:1: ( ( LeftCurlyBracket ) ) - // InternalSolverLanguageParser.g:6406:1: ( LeftCurlyBracket ) + // InternalSolverLanguageParser.g:7871:1: ( ( ( rule__Reference__ComponentsAssignment_1_1 ) ) ) + // InternalSolverLanguageParser.g:7872:1: ( ( rule__Reference__ComponentsAssignment_1_1 ) ) { - // InternalSolverLanguageParser.g:6406:1: ( LeftCurlyBracket ) - // InternalSolverLanguageParser.g:6407:2: LeftCurlyBracket + // InternalSolverLanguageParser.g:7872:1: ( ( rule__Reference__ComponentsAssignment_1_1 ) ) + // InternalSolverLanguageParser.g:7873:2: ( rule__Reference__ComponentsAssignment_1_1 ) { - before(grammarAccess.getAggregationAccess().getLeftCurlyBracketKeyword_2()); - match(input,LeftCurlyBracket,FOLLOW_2); - after(grammarAccess.getAggregationAccess().getLeftCurlyBracketKeyword_2()); + before(grammarAccess.getReferenceAccess().getComponentsAssignment_1_1()); + // InternalSolverLanguageParser.g:7874:2: ( rule__Reference__ComponentsAssignment_1_1 ) + // InternalSolverLanguageParser.g:7874:3: rule__Reference__ComponentsAssignment_1_1 + { + pushFollow(FOLLOW_2); + rule__Reference__ComponentsAssignment_1_1(); + + state._fsp--; + + + } + + after(grammarAccess.getReferenceAccess().getComponentsAssignment_1_1()); } @@ -19913,26 +24306,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Aggregation__Group__2__Impl" + // $ANTLR end "rule__Reference__Group_1__1__Impl" - // $ANTLR start "rule__Aggregation__Group__3" - // InternalSolverLanguageParser.g:6416:1: rule__Aggregation__Group__3 : rule__Aggregation__Group__3__Impl rule__Aggregation__Group__4 ; - public final void rule__Aggregation__Group__3() throws RecognitionException { + // $ANTLR start "rule__PathComponent__Group__0" + // InternalSolverLanguageParser.g:7883:1: rule__PathComponent__Group__0 : rule__PathComponent__Group__0__Impl rule__PathComponent__Group__1 ; + public final void rule__PathComponent__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6420:1: ( rule__Aggregation__Group__3__Impl rule__Aggregation__Group__4 ) - // InternalSolverLanguageParser.g:6421:2: rule__Aggregation__Group__3__Impl rule__Aggregation__Group__4 + // InternalSolverLanguageParser.g:7887:1: ( rule__PathComponent__Group__0__Impl rule__PathComponent__Group__1 ) + // InternalSolverLanguageParser.g:7888:2: rule__PathComponent__Group__0__Impl rule__PathComponent__Group__1 { - pushFollow(FOLLOW_41); - rule__Aggregation__Group__3__Impl(); + pushFollow(FOLLOW_6); + rule__PathComponent__Group__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__Aggregation__Group__4(); + rule__PathComponent__Group__1(); state._fsp--; @@ -19951,35 +24344,46 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Aggregation__Group__3" + // $ANTLR end "rule__PathComponent__Group__0" - // $ANTLR start "rule__Aggregation__Group__3__Impl" - // InternalSolverLanguageParser.g:6428:1: rule__Aggregation__Group__3__Impl : ( ( rule__Aggregation__BodyAssignment_3 ) ) ; - public final void rule__Aggregation__Group__3__Impl() throws RecognitionException { + // $ANTLR start "rule__PathComponent__Group__0__Impl" + // InternalSolverLanguageParser.g:7895:1: rule__PathComponent__Group__0__Impl : ( ( rule__PathComponent__InverseAssignment_0 )? ) ; + public final void rule__PathComponent__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6432:1: ( ( ( rule__Aggregation__BodyAssignment_3 ) ) ) - // InternalSolverLanguageParser.g:6433:1: ( ( rule__Aggregation__BodyAssignment_3 ) ) - { - // InternalSolverLanguageParser.g:6433:1: ( ( rule__Aggregation__BodyAssignment_3 ) ) - // InternalSolverLanguageParser.g:6434:2: ( rule__Aggregation__BodyAssignment_3 ) + // InternalSolverLanguageParser.g:7899:1: ( ( ( rule__PathComponent__InverseAssignment_0 )? ) ) + // InternalSolverLanguageParser.g:7900:1: ( ( rule__PathComponent__InverseAssignment_0 )? ) { - before(grammarAccess.getAggregationAccess().getBodyAssignment_3()); - // InternalSolverLanguageParser.g:6435:2: ( rule__Aggregation__BodyAssignment_3 ) - // InternalSolverLanguageParser.g:6435:3: rule__Aggregation__BodyAssignment_3 + // InternalSolverLanguageParser.g:7900:1: ( ( rule__PathComponent__InverseAssignment_0 )? ) + // InternalSolverLanguageParser.g:7901:2: ( rule__PathComponent__InverseAssignment_0 )? { - pushFollow(FOLLOW_2); - rule__Aggregation__BodyAssignment_3(); + before(grammarAccess.getPathComponentAccess().getInverseAssignment_0()); + // InternalSolverLanguageParser.g:7902:2: ( rule__PathComponent__InverseAssignment_0 )? + int alt54=2; + int LA54_0 = input.LA(1); - state._fsp--; + if ( (LA54_0==Tilde) ) { + alt54=1; + } + switch (alt54) { + case 1 : + // InternalSolverLanguageParser.g:7902:3: rule__PathComponent__InverseAssignment_0 + { + pushFollow(FOLLOW_2); + rule__PathComponent__InverseAssignment_0(); + state._fsp--; + + + } + break; } - after(grammarAccess.getAggregationAccess().getBodyAssignment_3()); + after(grammarAccess.getPathComponentAccess().getInverseAssignment_0()); } @@ -19998,26 +24402,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Aggregation__Group__3__Impl" + // $ANTLR end "rule__PathComponent__Group__0__Impl" - // $ANTLR start "rule__Aggregation__Group__4" - // InternalSolverLanguageParser.g:6443:1: rule__Aggregation__Group__4 : rule__Aggregation__Group__4__Impl rule__Aggregation__Group__5 ; - public final void rule__Aggregation__Group__4() throws RecognitionException { + // $ANTLR start "rule__PathComponent__Group__1" + // InternalSolverLanguageParser.g:7910:1: rule__PathComponent__Group__1 : rule__PathComponent__Group__1__Impl rule__PathComponent__Group__2 ; + public final void rule__PathComponent__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6447:1: ( rule__Aggregation__Group__4__Impl rule__Aggregation__Group__5 ) - // InternalSolverLanguageParser.g:6448:2: rule__Aggregation__Group__4__Impl rule__Aggregation__Group__5 + // InternalSolverLanguageParser.g:7914:1: ( rule__PathComponent__Group__1__Impl rule__PathComponent__Group__2 ) + // InternalSolverLanguageParser.g:7915:2: rule__PathComponent__Group__1__Impl rule__PathComponent__Group__2 { - pushFollow(FOLLOW_41); - rule__Aggregation__Group__4__Impl(); + pushFollow(FOLLOW_51); + rule__PathComponent__Group__1__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__Aggregation__Group__5(); + rule__PathComponent__Group__2(); state._fsp--; @@ -20036,46 +24440,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Aggregation__Group__4" + // $ANTLR end "rule__PathComponent__Group__1" - // $ANTLR start "rule__Aggregation__Group__4__Impl" - // InternalSolverLanguageParser.g:6455:1: rule__Aggregation__Group__4__Impl : ( ( rule__Aggregation__Group_4__0 )? ) ; - public final void rule__Aggregation__Group__4__Impl() throws RecognitionException { + // $ANTLR start "rule__PathComponent__Group__1__Impl" + // InternalSolverLanguageParser.g:7922:1: rule__PathComponent__Group__1__Impl : ( ( rule__PathComponent__SymbolAssignment_1 ) ) ; + public final void rule__PathComponent__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6459:1: ( ( ( rule__Aggregation__Group_4__0 )? ) ) - // InternalSolverLanguageParser.g:6460:1: ( ( rule__Aggregation__Group_4__0 )? ) + // InternalSolverLanguageParser.g:7926:1: ( ( ( rule__PathComponent__SymbolAssignment_1 ) ) ) + // InternalSolverLanguageParser.g:7927:1: ( ( rule__PathComponent__SymbolAssignment_1 ) ) { - // InternalSolverLanguageParser.g:6460:1: ( ( rule__Aggregation__Group_4__0 )? ) - // InternalSolverLanguageParser.g:6461:2: ( rule__Aggregation__Group_4__0 )? + // InternalSolverLanguageParser.g:7927:1: ( ( rule__PathComponent__SymbolAssignment_1 ) ) + // InternalSolverLanguageParser.g:7928:2: ( rule__PathComponent__SymbolAssignment_1 ) { - before(grammarAccess.getAggregationAccess().getGroup_4()); - // InternalSolverLanguageParser.g:6462:2: ( rule__Aggregation__Group_4__0 )? - int alt47=2; - int LA47_0 = input.LA(1); - - if ( (LA47_0==VerticalLine) ) { - alt47=1; - } - switch (alt47) { - case 1 : - // InternalSolverLanguageParser.g:6462:3: rule__Aggregation__Group_4__0 - { - pushFollow(FOLLOW_2); - rule__Aggregation__Group_4__0(); - - state._fsp--; + before(grammarAccess.getPathComponentAccess().getSymbolAssignment_1()); + // InternalSolverLanguageParser.g:7929:2: ( rule__PathComponent__SymbolAssignment_1 ) + // InternalSolverLanguageParser.g:7929:3: rule__PathComponent__SymbolAssignment_1 + { + pushFollow(FOLLOW_2); + rule__PathComponent__SymbolAssignment_1(); + state._fsp--; - } - break; } - after(grammarAccess.getAggregationAccess().getGroup_4()); + after(grammarAccess.getPathComponentAccess().getSymbolAssignment_1()); } @@ -20094,21 +24487,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Aggregation__Group__4__Impl" + // $ANTLR end "rule__PathComponent__Group__1__Impl" - // $ANTLR start "rule__Aggregation__Group__5" - // InternalSolverLanguageParser.g:6470:1: rule__Aggregation__Group__5 : rule__Aggregation__Group__5__Impl ; - public final void rule__Aggregation__Group__5() throws RecognitionException { + // $ANTLR start "rule__PathComponent__Group__2" + // InternalSolverLanguageParser.g:7937:1: rule__PathComponent__Group__2 : rule__PathComponent__Group__2__Impl ; + public final void rule__PathComponent__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6474:1: ( rule__Aggregation__Group__5__Impl ) - // InternalSolverLanguageParser.g:6475:2: rule__Aggregation__Group__5__Impl + // InternalSolverLanguageParser.g:7941:1: ( rule__PathComponent__Group__2__Impl ) + // InternalSolverLanguageParser.g:7942:2: rule__PathComponent__Group__2__Impl { pushFollow(FOLLOW_2); - rule__Aggregation__Group__5__Impl(); + rule__PathComponent__Group__2__Impl(); state._fsp--; @@ -20127,25 +24520,46 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Aggregation__Group__5" + // $ANTLR end "rule__PathComponent__Group__2" - // $ANTLR start "rule__Aggregation__Group__5__Impl" - // InternalSolverLanguageParser.g:6481:1: rule__Aggregation__Group__5__Impl : ( RightCurlyBracket ) ; - public final void rule__Aggregation__Group__5__Impl() throws RecognitionException { + // $ANTLR start "rule__PathComponent__Group__2__Impl" + // InternalSolverLanguageParser.g:7948:1: rule__PathComponent__Group__2__Impl : ( ( rule__PathComponent__Alternatives_2 )? ) ; + public final void rule__PathComponent__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6485:1: ( ( RightCurlyBracket ) ) - // InternalSolverLanguageParser.g:6486:1: ( RightCurlyBracket ) + // InternalSolverLanguageParser.g:7952:1: ( ( ( rule__PathComponent__Alternatives_2 )? ) ) + // InternalSolverLanguageParser.g:7953:1: ( ( rule__PathComponent__Alternatives_2 )? ) { - // InternalSolverLanguageParser.g:6486:1: ( RightCurlyBracket ) - // InternalSolverLanguageParser.g:6487:2: RightCurlyBracket + // InternalSolverLanguageParser.g:7953:1: ( ( rule__PathComponent__Alternatives_2 )? ) + // InternalSolverLanguageParser.g:7954:2: ( rule__PathComponent__Alternatives_2 )? { - before(grammarAccess.getAggregationAccess().getRightCurlyBracketKeyword_5()); - match(input,RightCurlyBracket,FOLLOW_2); - after(grammarAccess.getAggregationAccess().getRightCurlyBracketKeyword_5()); + before(grammarAccess.getPathComponentAccess().getAlternatives_2()); + // InternalSolverLanguageParser.g:7955:2: ( rule__PathComponent__Alternatives_2 )? + int alt55=2; + int LA55_0 = input.LA(1); + + if ( ((LA55_0>=RULE_TRANSITIVE_CLOSURE && LA55_0<=RULE_REFLEXIVE_TRANSITIVE_CLOSURE)) ) { + alt55=1; + } + switch (alt55) { + case 1 : + // InternalSolverLanguageParser.g:7955:3: rule__PathComponent__Alternatives_2 + { + pushFollow(FOLLOW_2); + rule__PathComponent__Alternatives_2(); + + state._fsp--; + + + } + break; + + } + + after(grammarAccess.getPathComponentAccess().getAlternatives_2()); } @@ -20164,26 +24578,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Aggregation__Group__5__Impl" + // $ANTLR end "rule__PathComponent__Group__2__Impl" - // $ANTLR start "rule__Aggregation__Group_4__0" - // InternalSolverLanguageParser.g:6497:1: rule__Aggregation__Group_4__0 : rule__Aggregation__Group_4__0__Impl rule__Aggregation__Group_4__1 ; - public final void rule__Aggregation__Group_4__0() throws RecognitionException { + // $ANTLR start "rule__Interval__Group__0" + // InternalSolverLanguageParser.g:7964:1: rule__Interval__Group__0 : rule__Interval__Group__0__Impl rule__Interval__Group__1 ; + public final void rule__Interval__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6501:1: ( rule__Aggregation__Group_4__0__Impl rule__Aggregation__Group_4__1 ) - // InternalSolverLanguageParser.g:6502:2: rule__Aggregation__Group_4__0__Impl rule__Aggregation__Group_4__1 + // InternalSolverLanguageParser.g:7968:1: ( rule__Interval__Group__0__Impl rule__Interval__Group__1 ) + // InternalSolverLanguageParser.g:7969:2: rule__Interval__Group__0__Impl rule__Interval__Group__1 { - pushFollow(FOLLOW_7); - rule__Aggregation__Group_4__0__Impl(); + pushFollow(FOLLOW_12); + rule__Interval__Group__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__Aggregation__Group_4__1(); + rule__Interval__Group__1(); state._fsp--; @@ -20202,25 +24616,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Aggregation__Group_4__0" + // $ANTLR end "rule__Interval__Group__0" - // $ANTLR start "rule__Aggregation__Group_4__0__Impl" - // InternalSolverLanguageParser.g:6509:1: rule__Aggregation__Group_4__0__Impl : ( VerticalLine ) ; - public final void rule__Aggregation__Group_4__0__Impl() throws RecognitionException { + // $ANTLR start "rule__Interval__Group__0__Impl" + // InternalSolverLanguageParser.g:7976:1: rule__Interval__Group__0__Impl : ( LeftSquareBracket ) ; + public final void rule__Interval__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6513:1: ( ( VerticalLine ) ) - // InternalSolverLanguageParser.g:6514:1: ( VerticalLine ) + // InternalSolverLanguageParser.g:7980:1: ( ( LeftSquareBracket ) ) + // InternalSolverLanguageParser.g:7981:1: ( LeftSquareBracket ) { - // InternalSolverLanguageParser.g:6514:1: ( VerticalLine ) - // InternalSolverLanguageParser.g:6515:2: VerticalLine + // InternalSolverLanguageParser.g:7981:1: ( LeftSquareBracket ) + // InternalSolverLanguageParser.g:7982:2: LeftSquareBracket { - before(grammarAccess.getAggregationAccess().getVerticalLineKeyword_4_0()); - match(input,VerticalLine,FOLLOW_2); - after(grammarAccess.getAggregationAccess().getVerticalLineKeyword_4_0()); + before(grammarAccess.getIntervalAccess().getLeftSquareBracketKeyword_0()); + match(input,LeftSquareBracket,FOLLOW_2); + after(grammarAccess.getIntervalAccess().getLeftSquareBracketKeyword_0()); } @@ -20239,21 +24653,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Aggregation__Group_4__0__Impl" + // $ANTLR end "rule__Interval__Group__0__Impl" - // $ANTLR start "rule__Aggregation__Group_4__1" - // InternalSolverLanguageParser.g:6524:1: rule__Aggregation__Group_4__1 : rule__Aggregation__Group_4__1__Impl ; - public final void rule__Aggregation__Group_4__1() throws RecognitionException { + // $ANTLR start "rule__Interval__Group__1" + // InternalSolverLanguageParser.g:7991:1: rule__Interval__Group__1 : rule__Interval__Group__1__Impl rule__Interval__Group__2 ; + public final void rule__Interval__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6528:1: ( rule__Aggregation__Group_4__1__Impl ) - // InternalSolverLanguageParser.g:6529:2: rule__Aggregation__Group_4__1__Impl + // InternalSolverLanguageParser.g:7995:1: ( rule__Interval__Group__1__Impl rule__Interval__Group__2 ) + // InternalSolverLanguageParser.g:7996:2: rule__Interval__Group__1__Impl rule__Interval__Group__2 { + pushFollow(FOLLOW_35); + rule__Interval__Group__1__Impl(); + + state._fsp--; + pushFollow(FOLLOW_2); - rule__Aggregation__Group_4__1__Impl(); + rule__Interval__Group__2(); state._fsp--; @@ -20272,35 +24691,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Aggregation__Group_4__1" + // $ANTLR end "rule__Interval__Group__1" - // $ANTLR start "rule__Aggregation__Group_4__1__Impl" - // InternalSolverLanguageParser.g:6535:1: rule__Aggregation__Group_4__1__Impl : ( ( rule__Aggregation__ConditionAssignment_4_1 ) ) ; - public final void rule__Aggregation__Group_4__1__Impl() throws RecognitionException { + // $ANTLR start "rule__Interval__Group__1__Impl" + // InternalSolverLanguageParser.g:8003:1: rule__Interval__Group__1__Impl : ( ( rule__Interval__LowerBoundAssignment_1 ) ) ; + public final void rule__Interval__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6539:1: ( ( ( rule__Aggregation__ConditionAssignment_4_1 ) ) ) - // InternalSolverLanguageParser.g:6540:1: ( ( rule__Aggregation__ConditionAssignment_4_1 ) ) + // InternalSolverLanguageParser.g:8007:1: ( ( ( rule__Interval__LowerBoundAssignment_1 ) ) ) + // InternalSolverLanguageParser.g:8008:1: ( ( rule__Interval__LowerBoundAssignment_1 ) ) { - // InternalSolverLanguageParser.g:6540:1: ( ( rule__Aggregation__ConditionAssignment_4_1 ) ) - // InternalSolverLanguageParser.g:6541:2: ( rule__Aggregation__ConditionAssignment_4_1 ) + // InternalSolverLanguageParser.g:8008:1: ( ( rule__Interval__LowerBoundAssignment_1 ) ) + // InternalSolverLanguageParser.g:8009:2: ( rule__Interval__LowerBoundAssignment_1 ) { - before(grammarAccess.getAggregationAccess().getConditionAssignment_4_1()); - // InternalSolverLanguageParser.g:6542:2: ( rule__Aggregation__ConditionAssignment_4_1 ) - // InternalSolverLanguageParser.g:6542:3: rule__Aggregation__ConditionAssignment_4_1 + before(grammarAccess.getIntervalAccess().getLowerBoundAssignment_1()); + // InternalSolverLanguageParser.g:8010:2: ( rule__Interval__LowerBoundAssignment_1 ) + // InternalSolverLanguageParser.g:8010:3: rule__Interval__LowerBoundAssignment_1 { pushFollow(FOLLOW_2); - rule__Aggregation__ConditionAssignment_4_1(); + rule__Interval__LowerBoundAssignment_1(); state._fsp--; } - after(grammarAccess.getAggregationAccess().getConditionAssignment_4_1()); + after(grammarAccess.getIntervalAccess().getLowerBoundAssignment_1()); } @@ -20319,26 +24738,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Aggregation__Group_4__1__Impl" + // $ANTLR end "rule__Interval__Group__1__Impl" - // $ANTLR start "rule__AtomicExpression__Group_4__0" - // InternalSolverLanguageParser.g:6551:1: rule__AtomicExpression__Group_4__0 : rule__AtomicExpression__Group_4__0__Impl rule__AtomicExpression__Group_4__1 ; - public final void rule__AtomicExpression__Group_4__0() throws RecognitionException { + // $ANTLR start "rule__Interval__Group__2" + // InternalSolverLanguageParser.g:8018:1: rule__Interval__Group__2 : rule__Interval__Group__2__Impl rule__Interval__Group__3 ; + public final void rule__Interval__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6555:1: ( rule__AtomicExpression__Group_4__0__Impl rule__AtomicExpression__Group_4__1 ) - // InternalSolverLanguageParser.g:6556:2: rule__AtomicExpression__Group_4__0__Impl rule__AtomicExpression__Group_4__1 + // InternalSolverLanguageParser.g:8022:1: ( rule__Interval__Group__2__Impl rule__Interval__Group__3 ) + // InternalSolverLanguageParser.g:8023:2: rule__Interval__Group__2__Impl rule__Interval__Group__3 { - pushFollow(FOLLOW_7); - rule__AtomicExpression__Group_4__0__Impl(); + pushFollow(FOLLOW_12); + rule__Interval__Group__2__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__AtomicExpression__Group_4__1(); + rule__Interval__Group__3(); state._fsp--; @@ -20357,25 +24776,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__AtomicExpression__Group_4__0" + // $ANTLR end "rule__Interval__Group__2" - // $ANTLR start "rule__AtomicExpression__Group_4__0__Impl" - // InternalSolverLanguageParser.g:6563:1: rule__AtomicExpression__Group_4__0__Impl : ( LeftParenthesis ) ; - public final void rule__AtomicExpression__Group_4__0__Impl() throws RecognitionException { + // $ANTLR start "rule__Interval__Group__2__Impl" + // InternalSolverLanguageParser.g:8030:1: rule__Interval__Group__2__Impl : ( Comma ) ; + public final void rule__Interval__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6567:1: ( ( LeftParenthesis ) ) - // InternalSolverLanguageParser.g:6568:1: ( LeftParenthesis ) + // InternalSolverLanguageParser.g:8034:1: ( ( Comma ) ) + // InternalSolverLanguageParser.g:8035:1: ( Comma ) { - // InternalSolverLanguageParser.g:6568:1: ( LeftParenthesis ) - // InternalSolverLanguageParser.g:6569:2: LeftParenthesis + // InternalSolverLanguageParser.g:8035:1: ( Comma ) + // InternalSolverLanguageParser.g:8036:2: Comma { - before(grammarAccess.getAtomicExpressionAccess().getLeftParenthesisKeyword_4_0()); - match(input,LeftParenthesis,FOLLOW_2); - after(grammarAccess.getAtomicExpressionAccess().getLeftParenthesisKeyword_4_0()); + before(grammarAccess.getIntervalAccess().getCommaKeyword_2()); + match(input,Comma,FOLLOW_2); + after(grammarAccess.getIntervalAccess().getCommaKeyword_2()); } @@ -20394,26 +24813,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__AtomicExpression__Group_4__0__Impl" + // $ANTLR end "rule__Interval__Group__2__Impl" - // $ANTLR start "rule__AtomicExpression__Group_4__1" - // InternalSolverLanguageParser.g:6578:1: rule__AtomicExpression__Group_4__1 : rule__AtomicExpression__Group_4__1__Impl rule__AtomicExpression__Group_4__2 ; - public final void rule__AtomicExpression__Group_4__1() throws RecognitionException { + // $ANTLR start "rule__Interval__Group__3" + // InternalSolverLanguageParser.g:8045:1: rule__Interval__Group__3 : rule__Interval__Group__3__Impl rule__Interval__Group__4 ; + public final void rule__Interval__Group__3() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6582:1: ( rule__AtomicExpression__Group_4__1__Impl rule__AtomicExpression__Group_4__2 ) - // InternalSolverLanguageParser.g:6583:2: rule__AtomicExpression__Group_4__1__Impl rule__AtomicExpression__Group_4__2 + // InternalSolverLanguageParser.g:8049:1: ( rule__Interval__Group__3__Impl rule__Interval__Group__4 ) + // InternalSolverLanguageParser.g:8050:2: rule__Interval__Group__3__Impl rule__Interval__Group__4 { - pushFollow(FOLLOW_42); - rule__AtomicExpression__Group_4__1__Impl(); + pushFollow(FOLLOW_52); + rule__Interval__Group__3__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__AtomicExpression__Group_4__2(); + rule__Interval__Group__4(); state._fsp--; @@ -20432,29 +24851,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__AtomicExpression__Group_4__1" + // $ANTLR end "rule__Interval__Group__3" - // $ANTLR start "rule__AtomicExpression__Group_4__1__Impl" - // InternalSolverLanguageParser.g:6590:1: rule__AtomicExpression__Group_4__1__Impl : ( ruleExpression ) ; - public final void rule__AtomicExpression__Group_4__1__Impl() throws RecognitionException { + // $ANTLR start "rule__Interval__Group__3__Impl" + // InternalSolverLanguageParser.g:8057:1: rule__Interval__Group__3__Impl : ( ( rule__Interval__UpperBoundAssignment_3 ) ) ; + public final void rule__Interval__Group__3__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6594:1: ( ( ruleExpression ) ) - // InternalSolverLanguageParser.g:6595:1: ( ruleExpression ) + // InternalSolverLanguageParser.g:8061:1: ( ( ( rule__Interval__UpperBoundAssignment_3 ) ) ) + // InternalSolverLanguageParser.g:8062:1: ( ( rule__Interval__UpperBoundAssignment_3 ) ) { - // InternalSolverLanguageParser.g:6595:1: ( ruleExpression ) - // InternalSolverLanguageParser.g:6596:2: ruleExpression + // InternalSolverLanguageParser.g:8062:1: ( ( rule__Interval__UpperBoundAssignment_3 ) ) + // InternalSolverLanguageParser.g:8063:2: ( rule__Interval__UpperBoundAssignment_3 ) + { + before(grammarAccess.getIntervalAccess().getUpperBoundAssignment_3()); + // InternalSolverLanguageParser.g:8064:2: ( rule__Interval__UpperBoundAssignment_3 ) + // InternalSolverLanguageParser.g:8064:3: rule__Interval__UpperBoundAssignment_3 { - before(grammarAccess.getAtomicExpressionAccess().getExpressionParserRuleCall_4_1()); pushFollow(FOLLOW_2); - ruleExpression(); + rule__Interval__UpperBoundAssignment_3(); state._fsp--; - after(grammarAccess.getAtomicExpressionAccess().getExpressionParserRuleCall_4_1()); + + } + + after(grammarAccess.getIntervalAccess().getUpperBoundAssignment_3()); } @@ -20473,21 +24898,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__AtomicExpression__Group_4__1__Impl" + // $ANTLR end "rule__Interval__Group__3__Impl" - // $ANTLR start "rule__AtomicExpression__Group_4__2" - // InternalSolverLanguageParser.g:6605:1: rule__AtomicExpression__Group_4__2 : rule__AtomicExpression__Group_4__2__Impl ; - public final void rule__AtomicExpression__Group_4__2() throws RecognitionException { + // $ANTLR start "rule__Interval__Group__4" + // InternalSolverLanguageParser.g:8072:1: rule__Interval__Group__4 : rule__Interval__Group__4__Impl ; + public final void rule__Interval__Group__4() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6609:1: ( rule__AtomicExpression__Group_4__2__Impl ) - // InternalSolverLanguageParser.g:6610:2: rule__AtomicExpression__Group_4__2__Impl + // InternalSolverLanguageParser.g:8076:1: ( rule__Interval__Group__4__Impl ) + // InternalSolverLanguageParser.g:8077:2: rule__Interval__Group__4__Impl { pushFollow(FOLLOW_2); - rule__AtomicExpression__Group_4__2__Impl(); + rule__Interval__Group__4__Impl(); state._fsp--; @@ -20506,25 +24931,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__AtomicExpression__Group_4__2" + // $ANTLR end "rule__Interval__Group__4" - // $ANTLR start "rule__AtomicExpression__Group_4__2__Impl" - // InternalSolverLanguageParser.g:6616:1: rule__AtomicExpression__Group_4__2__Impl : ( RightParenthesis ) ; - public final void rule__AtomicExpression__Group_4__2__Impl() throws RecognitionException { + // $ANTLR start "rule__Interval__Group__4__Impl" + // InternalSolverLanguageParser.g:8083:1: rule__Interval__Group__4__Impl : ( RightSquareBracket ) ; + public final void rule__Interval__Group__4__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6620:1: ( ( RightParenthesis ) ) - // InternalSolverLanguageParser.g:6621:1: ( RightParenthesis ) + // InternalSolverLanguageParser.g:8087:1: ( ( RightSquareBracket ) ) + // InternalSolverLanguageParser.g:8088:1: ( RightSquareBracket ) { - // InternalSolverLanguageParser.g:6621:1: ( RightParenthesis ) - // InternalSolverLanguageParser.g:6622:2: RightParenthesis + // InternalSolverLanguageParser.g:8088:1: ( RightSquareBracket ) + // InternalSolverLanguageParser.g:8089:2: RightSquareBracket { - before(grammarAccess.getAtomicExpressionAccess().getRightParenthesisKeyword_4_2()); - match(input,RightParenthesis,FOLLOW_2); - after(grammarAccess.getAtomicExpressionAccess().getRightParenthesisKeyword_4_2()); + before(grammarAccess.getIntervalAccess().getRightSquareBracketKeyword_4()); + match(input,RightSquareBracket,FOLLOW_2); + after(grammarAccess.getIntervalAccess().getRightSquareBracketKeyword_4()); } @@ -20543,26 +24968,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__AtomicExpression__Group_4__2__Impl" + // $ANTLR end "rule__Interval__Group__4__Impl" - // $ANTLR start "rule__Call__Group__0" - // InternalSolverLanguageParser.g:6632:1: rule__Call__Group__0 : rule__Call__Group__0__Impl rule__Call__Group__1 ; - public final void rule__Call__Group__0() throws RecognitionException { + // $ANTLR start "rule__InfinityLiteral__Group__0" + // InternalSolverLanguageParser.g:8099:1: rule__InfinityLiteral__Group__0 : rule__InfinityLiteral__Group__0__Impl rule__InfinityLiteral__Group__1 ; + public final void rule__InfinityLiteral__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6636:1: ( rule__Call__Group__0__Impl rule__Call__Group__1 ) - // InternalSolverLanguageParser.g:6637:2: rule__Call__Group__0__Impl rule__Call__Group__1 + // InternalSolverLanguageParser.g:8103:1: ( rule__InfinityLiteral__Group__0__Impl rule__InfinityLiteral__Group__1 ) + // InternalSolverLanguageParser.g:8104:2: rule__InfinityLiteral__Group__0__Impl rule__InfinityLiteral__Group__1 { - pushFollow(FOLLOW_43); - rule__Call__Group__0__Impl(); + pushFollow(FOLLOW_53); + rule__InfinityLiteral__Group__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__Call__Group__1(); + rule__InfinityLiteral__Group__1(); state._fsp--; @@ -20581,35 +25006,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Call__Group__0" + // $ANTLR end "rule__InfinityLiteral__Group__0" - // $ANTLR start "rule__Call__Group__0__Impl" - // InternalSolverLanguageParser.g:6644:1: rule__Call__Group__0__Impl : ( ( rule__Call__FunctorAssignment_0 ) ) ; - public final void rule__Call__Group__0__Impl() throws RecognitionException { + // $ANTLR start "rule__InfinityLiteral__Group__0__Impl" + // InternalSolverLanguageParser.g:8111:1: rule__InfinityLiteral__Group__0__Impl : ( () ) ; + public final void rule__InfinityLiteral__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6648:1: ( ( ( rule__Call__FunctorAssignment_0 ) ) ) - // InternalSolverLanguageParser.g:6649:1: ( ( rule__Call__FunctorAssignment_0 ) ) + // InternalSolverLanguageParser.g:8115:1: ( ( () ) ) + // InternalSolverLanguageParser.g:8116:1: ( () ) { - // InternalSolverLanguageParser.g:6649:1: ( ( rule__Call__FunctorAssignment_0 ) ) - // InternalSolverLanguageParser.g:6650:2: ( rule__Call__FunctorAssignment_0 ) + // InternalSolverLanguageParser.g:8116:1: ( () ) + // InternalSolverLanguageParser.g:8117:2: () { - before(grammarAccess.getCallAccess().getFunctorAssignment_0()); - // InternalSolverLanguageParser.g:6651:2: ( rule__Call__FunctorAssignment_0 ) - // InternalSolverLanguageParser.g:6651:3: rule__Call__FunctorAssignment_0 + before(grammarAccess.getInfinityLiteralAccess().getInfinityLiteralAction_0()); + // InternalSolverLanguageParser.g:8118:2: () + // InternalSolverLanguageParser.g:8118:3: { - pushFollow(FOLLOW_2); - rule__Call__FunctorAssignment_0(); - - state._fsp--; - - } - after(grammarAccess.getCallAccess().getFunctorAssignment_0()); + after(grammarAccess.getInfinityLiteralAccess().getInfinityLiteralAction_0()); } @@ -20617,10 +25036,6 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } finally { restoreStackSize(stackSize); @@ -20628,26 +25043,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Call__Group__0__Impl" + // $ANTLR end "rule__InfinityLiteral__Group__0__Impl" - // $ANTLR start "rule__Call__Group__1" - // InternalSolverLanguageParser.g:6659:1: rule__Call__Group__1 : rule__Call__Group__1__Impl rule__Call__Group__2 ; - public final void rule__Call__Group__1() throws RecognitionException { + // $ANTLR start "rule__InfinityLiteral__Group__1" + // InternalSolverLanguageParser.g:8126:1: rule__InfinityLiteral__Group__1 : rule__InfinityLiteral__Group__1__Impl ; + public final void rule__InfinityLiteral__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6663:1: ( rule__Call__Group__1__Impl rule__Call__Group__2 ) - // InternalSolverLanguageParser.g:6664:2: rule__Call__Group__1__Impl rule__Call__Group__2 + // InternalSolverLanguageParser.g:8130:1: ( rule__InfinityLiteral__Group__1__Impl ) + // InternalSolverLanguageParser.g:8131:2: rule__InfinityLiteral__Group__1__Impl { - pushFollow(FOLLOW_43); - rule__Call__Group__1__Impl(); - - state._fsp--; - pushFollow(FOLLOW_2); - rule__Call__Group__2(); + rule__InfinityLiteral__Group__1__Impl(); state._fsp--; @@ -20666,46 +25076,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Call__Group__1" + // $ANTLR end "rule__InfinityLiteral__Group__1" - // $ANTLR start "rule__Call__Group__1__Impl" - // InternalSolverLanguageParser.g:6671:1: rule__Call__Group__1__Impl : ( ( rule__Call__Alternatives_1 )? ) ; - public final void rule__Call__Group__1__Impl() throws RecognitionException { + // $ANTLR start "rule__InfinityLiteral__Group__1__Impl" + // InternalSolverLanguageParser.g:8137:1: rule__InfinityLiteral__Group__1__Impl : ( Inf ) ; + public final void rule__InfinityLiteral__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6675:1: ( ( ( rule__Call__Alternatives_1 )? ) ) - // InternalSolverLanguageParser.g:6676:1: ( ( rule__Call__Alternatives_1 )? ) + // InternalSolverLanguageParser.g:8141:1: ( ( Inf ) ) + // InternalSolverLanguageParser.g:8142:1: ( Inf ) { - // InternalSolverLanguageParser.g:6676:1: ( ( rule__Call__Alternatives_1 )? ) - // InternalSolverLanguageParser.g:6677:2: ( rule__Call__Alternatives_1 )? + // InternalSolverLanguageParser.g:8142:1: ( Inf ) + // InternalSolverLanguageParser.g:8143:2: Inf { - before(grammarAccess.getCallAccess().getAlternatives_1()); - // InternalSolverLanguageParser.g:6678:2: ( rule__Call__Alternatives_1 )? - int alt48=2; - int LA48_0 = input.LA(1); - - if ( ((LA48_0>=RULE_TRANSITIVE_CLOSURE && LA48_0<=RULE_REFLEXIVE_TRANSITIVE_CLOSURE)) ) { - alt48=1; - } - switch (alt48) { - case 1 : - // InternalSolverLanguageParser.g:6678:3: rule__Call__Alternatives_1 - { - pushFollow(FOLLOW_2); - rule__Call__Alternatives_1(); - - state._fsp--; - - - } - break; - - } - - after(grammarAccess.getCallAccess().getAlternatives_1()); + before(grammarAccess.getInfinityLiteralAccess().getInfKeyword_1()); + match(input,Inf,FOLLOW_2); + after(grammarAccess.getInfinityLiteralAccess().getInfKeyword_1()); } @@ -20724,21 +25113,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Call__Group__1__Impl" + // $ANTLR end "rule__InfinityLiteral__Group__1__Impl" - // $ANTLR start "rule__Call__Group__2" - // InternalSolverLanguageParser.g:6686:1: rule__Call__Group__2 : rule__Call__Group__2__Impl ; - public final void rule__Call__Group__2() throws RecognitionException { + // $ANTLR start "rule__EmptyLiteral__Group__0" + // InternalSolverLanguageParser.g:8153:1: rule__EmptyLiteral__Group__0 : rule__EmptyLiteral__Group__0__Impl rule__EmptyLiteral__Group__1 ; + public final void rule__EmptyLiteral__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6690:1: ( rule__Call__Group__2__Impl ) - // InternalSolverLanguageParser.g:6691:2: rule__Call__Group__2__Impl + // InternalSolverLanguageParser.g:8157:1: ( rule__EmptyLiteral__Group__0__Impl rule__EmptyLiteral__Group__1 ) + // InternalSolverLanguageParser.g:8158:2: rule__EmptyLiteral__Group__0__Impl rule__EmptyLiteral__Group__1 { + pushFollow(FOLLOW_54); + rule__EmptyLiteral__Group__0__Impl(); + + state._fsp--; + pushFollow(FOLLOW_2); - rule__Call__Group__2__Impl(); + rule__EmptyLiteral__Group__1(); state._fsp--; @@ -20757,35 +25151,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Call__Group__2" + // $ANTLR end "rule__EmptyLiteral__Group__0" - // $ANTLR start "rule__Call__Group__2__Impl" - // InternalSolverLanguageParser.g:6697:1: rule__Call__Group__2__Impl : ( ( rule__Call__ArgumentListAssignment_2 ) ) ; - public final void rule__Call__Group__2__Impl() throws RecognitionException { + // $ANTLR start "rule__EmptyLiteral__Group__0__Impl" + // InternalSolverLanguageParser.g:8165:1: rule__EmptyLiteral__Group__0__Impl : ( () ) ; + public final void rule__EmptyLiteral__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6701:1: ( ( ( rule__Call__ArgumentListAssignment_2 ) ) ) - // InternalSolverLanguageParser.g:6702:1: ( ( rule__Call__ArgumentListAssignment_2 ) ) + // InternalSolverLanguageParser.g:8169:1: ( ( () ) ) + // InternalSolverLanguageParser.g:8170:1: ( () ) { - // InternalSolverLanguageParser.g:6702:1: ( ( rule__Call__ArgumentListAssignment_2 ) ) - // InternalSolverLanguageParser.g:6703:2: ( rule__Call__ArgumentListAssignment_2 ) + // InternalSolverLanguageParser.g:8170:1: ( () ) + // InternalSolverLanguageParser.g:8171:2: () { - before(grammarAccess.getCallAccess().getArgumentListAssignment_2()); - // InternalSolverLanguageParser.g:6704:2: ( rule__Call__ArgumentListAssignment_2 ) - // InternalSolverLanguageParser.g:6704:3: rule__Call__ArgumentListAssignment_2 + before(grammarAccess.getEmptyLiteralAccess().getEmptyLiteralAction_0()); + // InternalSolverLanguageParser.g:8172:2: () + // InternalSolverLanguageParser.g:8172:3: { - pushFollow(FOLLOW_2); - rule__Call__ArgumentListAssignment_2(); - - state._fsp--; - - } - after(grammarAccess.getCallAccess().getArgumentListAssignment_2()); + after(grammarAccess.getEmptyLiteralAccess().getEmptyLiteralAction_0()); } @@ -20793,10 +25181,6 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } finally { restoreStackSize(stackSize); @@ -20804,26 +25188,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Call__Group__2__Impl" + // $ANTLR end "rule__EmptyLiteral__Group__0__Impl" - // $ANTLR start "rule__ArgumentList__Group__0" - // InternalSolverLanguageParser.g:6713:1: rule__ArgumentList__Group__0 : rule__ArgumentList__Group__0__Impl rule__ArgumentList__Group__1 ; - public final void rule__ArgumentList__Group__0() throws RecognitionException { + // $ANTLR start "rule__EmptyLiteral__Group__1" + // InternalSolverLanguageParser.g:8180:1: rule__EmptyLiteral__Group__1 : rule__EmptyLiteral__Group__1__Impl ; + public final void rule__EmptyLiteral__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6717:1: ( rule__ArgumentList__Group__0__Impl rule__ArgumentList__Group__1 ) - // InternalSolverLanguageParser.g:6718:2: rule__ArgumentList__Group__0__Impl rule__ArgumentList__Group__1 + // InternalSolverLanguageParser.g:8184:1: ( rule__EmptyLiteral__Group__1__Impl ) + // InternalSolverLanguageParser.g:8185:2: rule__EmptyLiteral__Group__1__Impl { - pushFollow(FOLLOW_12); - rule__ArgumentList__Group__0__Impl(); - - state._fsp--; - pushFollow(FOLLOW_2); - rule__ArgumentList__Group__1(); + rule__EmptyLiteral__Group__1__Impl(); state._fsp--; @@ -20842,29 +25221,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ArgumentList__Group__0" + // $ANTLR end "rule__EmptyLiteral__Group__1" - // $ANTLR start "rule__ArgumentList__Group__0__Impl" - // InternalSolverLanguageParser.g:6725:1: rule__ArgumentList__Group__0__Impl : ( () ) ; - public final void rule__ArgumentList__Group__0__Impl() throws RecognitionException { + // $ANTLR start "rule__EmptyLiteral__Group__1__Impl" + // InternalSolverLanguageParser.g:8191:1: rule__EmptyLiteral__Group__1__Impl : ( Empty ) ; + public final void rule__EmptyLiteral__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6729:1: ( ( () ) ) - // InternalSolverLanguageParser.g:6730:1: ( () ) - { - // InternalSolverLanguageParser.g:6730:1: ( () ) - // InternalSolverLanguageParser.g:6731:2: () + // InternalSolverLanguageParser.g:8195:1: ( ( Empty ) ) + // InternalSolverLanguageParser.g:8196:1: ( Empty ) { - before(grammarAccess.getArgumentListAccess().getArgumentListAction_0()); - // InternalSolverLanguageParser.g:6732:2: () - // InternalSolverLanguageParser.g:6732:3: + // InternalSolverLanguageParser.g:8196:1: ( Empty ) + // InternalSolverLanguageParser.g:8197:2: Empty { - } - - after(grammarAccess.getArgumentListAccess().getArgumentListAction_0()); + before(grammarAccess.getEmptyLiteralAccess().getEmptyKeyword_1()); + match(input,Empty,FOLLOW_2); + after(grammarAccess.getEmptyLiteralAccess().getEmptyKeyword_1()); } @@ -20872,6 +25247,10 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } finally { restoreStackSize(stackSize); @@ -20879,26 +25258,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ArgumentList__Group__0__Impl" + // $ANTLR end "rule__EmptyLiteral__Group__1__Impl" - // $ANTLR start "rule__ArgumentList__Group__1" - // InternalSolverLanguageParser.g:6740:1: rule__ArgumentList__Group__1 : rule__ArgumentList__Group__1__Impl rule__ArgumentList__Group__2 ; - public final void rule__ArgumentList__Group__1() throws RecognitionException { + // $ANTLR start "rule__ClassDeclaration__Group__0" + // InternalSolverLanguageParser.g:8207:1: rule__ClassDeclaration__Group__0 : rule__ClassDeclaration__Group__0__Impl rule__ClassDeclaration__Group__1 ; + public final void rule__ClassDeclaration__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6744:1: ( rule__ArgumentList__Group__1__Impl rule__ArgumentList__Group__2 ) - // InternalSolverLanguageParser.g:6745:2: rule__ArgumentList__Group__1__Impl rule__ArgumentList__Group__2 + // InternalSolverLanguageParser.g:8211:1: ( rule__ClassDeclaration__Group__0__Impl rule__ClassDeclaration__Group__1 ) + // InternalSolverLanguageParser.g:8212:2: rule__ClassDeclaration__Group__0__Impl rule__ClassDeclaration__Group__1 { - pushFollow(FOLLOW_44); - rule__ArgumentList__Group__1__Impl(); + pushFollow(FOLLOW_55); + rule__ClassDeclaration__Group__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__ArgumentList__Group__2(); + rule__ClassDeclaration__Group__1(); state._fsp--; @@ -20917,25 +25296,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ArgumentList__Group__1" + // $ANTLR end "rule__ClassDeclaration__Group__0" - // $ANTLR start "rule__ArgumentList__Group__1__Impl" - // InternalSolverLanguageParser.g:6752:1: rule__ArgumentList__Group__1__Impl : ( LeftParenthesis ) ; - public final void rule__ArgumentList__Group__1__Impl() throws RecognitionException { + // $ANTLR start "rule__ClassDeclaration__Group__0__Impl" + // InternalSolverLanguageParser.g:8219:1: rule__ClassDeclaration__Group__0__Impl : ( ( rule__ClassDeclaration__UnorderedGroup_0 ) ) ; + public final void rule__ClassDeclaration__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6756:1: ( ( LeftParenthesis ) ) - // InternalSolverLanguageParser.g:6757:1: ( LeftParenthesis ) + // InternalSolverLanguageParser.g:8223:1: ( ( ( rule__ClassDeclaration__UnorderedGroup_0 ) ) ) + // InternalSolverLanguageParser.g:8224:1: ( ( rule__ClassDeclaration__UnorderedGroup_0 ) ) { - // InternalSolverLanguageParser.g:6757:1: ( LeftParenthesis ) - // InternalSolverLanguageParser.g:6758:2: LeftParenthesis + // InternalSolverLanguageParser.g:8224:1: ( ( rule__ClassDeclaration__UnorderedGroup_0 ) ) + // InternalSolverLanguageParser.g:8225:2: ( rule__ClassDeclaration__UnorderedGroup_0 ) { - before(grammarAccess.getArgumentListAccess().getLeftParenthesisKeyword_1()); - match(input,LeftParenthesis,FOLLOW_2); - after(grammarAccess.getArgumentListAccess().getLeftParenthesisKeyword_1()); + before(grammarAccess.getClassDeclarationAccess().getUnorderedGroup_0()); + // InternalSolverLanguageParser.g:8226:2: ( rule__ClassDeclaration__UnorderedGroup_0 ) + // InternalSolverLanguageParser.g:8226:3: rule__ClassDeclaration__UnorderedGroup_0 + { + pushFollow(FOLLOW_2); + rule__ClassDeclaration__UnorderedGroup_0(); + + state._fsp--; + + + } + + after(grammarAccess.getClassDeclarationAccess().getUnorderedGroup_0()); } @@ -20954,26 +25343,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ArgumentList__Group__1__Impl" + // $ANTLR end "rule__ClassDeclaration__Group__0__Impl" - // $ANTLR start "rule__ArgumentList__Group__2" - // InternalSolverLanguageParser.g:6767:1: rule__ArgumentList__Group__2 : rule__ArgumentList__Group__2__Impl rule__ArgumentList__Group__3 ; - public final void rule__ArgumentList__Group__2() throws RecognitionException { + // $ANTLR start "rule__ClassDeclaration__Group__1" + // InternalSolverLanguageParser.g:8234:1: rule__ClassDeclaration__Group__1 : rule__ClassDeclaration__Group__1__Impl rule__ClassDeclaration__Group__2 ; + public final void rule__ClassDeclaration__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6771:1: ( rule__ArgumentList__Group__2__Impl rule__ArgumentList__Group__3 ) - // InternalSolverLanguageParser.g:6772:2: rule__ArgumentList__Group__2__Impl rule__ArgumentList__Group__3 + // InternalSolverLanguageParser.g:8238:1: ( rule__ClassDeclaration__Group__1__Impl rule__ClassDeclaration__Group__2 ) + // InternalSolverLanguageParser.g:8239:2: rule__ClassDeclaration__Group__1__Impl rule__ClassDeclaration__Group__2 { - pushFollow(FOLLOW_44); - rule__ArgumentList__Group__2__Impl(); + pushFollow(FOLLOW_48); + rule__ClassDeclaration__Group__1__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__ArgumentList__Group__3(); + rule__ClassDeclaration__Group__2(); state._fsp--; @@ -20992,46 +25381,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ArgumentList__Group__2" + // $ANTLR end "rule__ClassDeclaration__Group__1" - // $ANTLR start "rule__ArgumentList__Group__2__Impl" - // InternalSolverLanguageParser.g:6779:1: rule__ArgumentList__Group__2__Impl : ( ( rule__ArgumentList__Group_2__0 )? ) ; - public final void rule__ArgumentList__Group__2__Impl() throws RecognitionException { + // $ANTLR start "rule__ClassDeclaration__Group__1__Impl" + // InternalSolverLanguageParser.g:8246:1: rule__ClassDeclaration__Group__1__Impl : ( Class ) ; + public final void rule__ClassDeclaration__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6783:1: ( ( ( rule__ArgumentList__Group_2__0 )? ) ) - // InternalSolverLanguageParser.g:6784:1: ( ( rule__ArgumentList__Group_2__0 )? ) + // InternalSolverLanguageParser.g:8250:1: ( ( Class ) ) + // InternalSolverLanguageParser.g:8251:1: ( Class ) { - // InternalSolverLanguageParser.g:6784:1: ( ( rule__ArgumentList__Group_2__0 )? ) - // InternalSolverLanguageParser.g:6785:2: ( rule__ArgumentList__Group_2__0 )? + // InternalSolverLanguageParser.g:8251:1: ( Class ) + // InternalSolverLanguageParser.g:8252:2: Class { - before(grammarAccess.getArgumentListAccess().getGroup_2()); - // InternalSolverLanguageParser.g:6786:2: ( rule__ArgumentList__Group_2__0 )? - int alt49=2; - int LA49_0 = input.LA(1); - - if ( (LA49_0==Current||(LA49_0>=Unknown && LA49_0<=Exists)||LA49_0==Forall||(LA49_0>=Count && LA49_0<=False)||LA49_0==Must||LA49_0==True||LA49_0==Inf||LA49_0==May||(LA49_0>=ExclamationMark && LA49_0<=LeftParenthesis)||(LA49_0>=Asterisk && LA49_0<=PlusSign)||LA49_0==HyphenMinus||LA49_0==LeftSquareBracket||(LA49_0>=RULE_STRING && LA49_0<=RULE_QUOTED_ID)||(LA49_0>=RULE_ID && LA49_0<=RULE_INT)) ) { - alt49=1; - } - switch (alt49) { - case 1 : - // InternalSolverLanguageParser.g:6786:3: rule__ArgumentList__Group_2__0 - { - pushFollow(FOLLOW_2); - rule__ArgumentList__Group_2__0(); - - state._fsp--; - - - } - break; - - } - - after(grammarAccess.getArgumentListAccess().getGroup_2()); + before(grammarAccess.getClassDeclarationAccess().getClassKeyword_1()); + match(input,Class,FOLLOW_2); + after(grammarAccess.getClassDeclarationAccess().getClassKeyword_1()); } @@ -21050,21 +25418,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ArgumentList__Group__2__Impl" + // $ANTLR end "rule__ClassDeclaration__Group__1__Impl" - // $ANTLR start "rule__ArgumentList__Group__3" - // InternalSolverLanguageParser.g:6794:1: rule__ArgumentList__Group__3 : rule__ArgumentList__Group__3__Impl ; - public final void rule__ArgumentList__Group__3() throws RecognitionException { + // $ANTLR start "rule__ClassDeclaration__Group__2" + // InternalSolverLanguageParser.g:8261:1: rule__ClassDeclaration__Group__2 : rule__ClassDeclaration__Group__2__Impl rule__ClassDeclaration__Group__3 ; + public final void rule__ClassDeclaration__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6798:1: ( rule__ArgumentList__Group__3__Impl ) - // InternalSolverLanguageParser.g:6799:2: rule__ArgumentList__Group__3__Impl + // InternalSolverLanguageParser.g:8265:1: ( rule__ClassDeclaration__Group__2__Impl rule__ClassDeclaration__Group__3 ) + // InternalSolverLanguageParser.g:8266:2: rule__ClassDeclaration__Group__2__Impl rule__ClassDeclaration__Group__3 { + pushFollow(FOLLOW_56); + rule__ClassDeclaration__Group__2__Impl(); + + state._fsp--; + pushFollow(FOLLOW_2); - rule__ArgumentList__Group__3__Impl(); + rule__ClassDeclaration__Group__3(); state._fsp--; @@ -21083,25 +25456,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ArgumentList__Group__3" + // $ANTLR end "rule__ClassDeclaration__Group__2" - // $ANTLR start "rule__ArgumentList__Group__3__Impl" - // InternalSolverLanguageParser.g:6805:1: rule__ArgumentList__Group__3__Impl : ( RightParenthesis ) ; - public final void rule__ArgumentList__Group__3__Impl() throws RecognitionException { + // $ANTLR start "rule__ClassDeclaration__Group__2__Impl" + // InternalSolverLanguageParser.g:8273:1: rule__ClassDeclaration__Group__2__Impl : ( ( rule__ClassDeclaration__NameAssignment_2 ) ) ; + public final void rule__ClassDeclaration__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6809:1: ( ( RightParenthesis ) ) - // InternalSolverLanguageParser.g:6810:1: ( RightParenthesis ) + // InternalSolverLanguageParser.g:8277:1: ( ( ( rule__ClassDeclaration__NameAssignment_2 ) ) ) + // InternalSolverLanguageParser.g:8278:1: ( ( rule__ClassDeclaration__NameAssignment_2 ) ) { - // InternalSolverLanguageParser.g:6810:1: ( RightParenthesis ) - // InternalSolverLanguageParser.g:6811:2: RightParenthesis + // InternalSolverLanguageParser.g:8278:1: ( ( rule__ClassDeclaration__NameAssignment_2 ) ) + // InternalSolverLanguageParser.g:8279:2: ( rule__ClassDeclaration__NameAssignment_2 ) { - before(grammarAccess.getArgumentListAccess().getRightParenthesisKeyword_3()); - match(input,RightParenthesis,FOLLOW_2); - after(grammarAccess.getArgumentListAccess().getRightParenthesisKeyword_3()); + before(grammarAccess.getClassDeclarationAccess().getNameAssignment_2()); + // InternalSolverLanguageParser.g:8280:2: ( rule__ClassDeclaration__NameAssignment_2 ) + // InternalSolverLanguageParser.g:8280:3: rule__ClassDeclaration__NameAssignment_2 + { + pushFollow(FOLLOW_2); + rule__ClassDeclaration__NameAssignment_2(); + + state._fsp--; + + + } + + after(grammarAccess.getClassDeclarationAccess().getNameAssignment_2()); } @@ -21120,26 +25503,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ArgumentList__Group__3__Impl" + // $ANTLR end "rule__ClassDeclaration__Group__2__Impl" - // $ANTLR start "rule__ArgumentList__Group_2__0" - // InternalSolverLanguageParser.g:6821:1: rule__ArgumentList__Group_2__0 : rule__ArgumentList__Group_2__0__Impl rule__ArgumentList__Group_2__1 ; - public final void rule__ArgumentList__Group_2__0() throws RecognitionException { + // $ANTLR start "rule__ClassDeclaration__Group__3" + // InternalSolverLanguageParser.g:8288:1: rule__ClassDeclaration__Group__3 : rule__ClassDeclaration__Group__3__Impl rule__ClassDeclaration__Group__4 ; + public final void rule__ClassDeclaration__Group__3() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6825:1: ( rule__ArgumentList__Group_2__0__Impl rule__ArgumentList__Group_2__1 ) - // InternalSolverLanguageParser.g:6826:2: rule__ArgumentList__Group_2__0__Impl rule__ArgumentList__Group_2__1 + // InternalSolverLanguageParser.g:8292:1: ( rule__ClassDeclaration__Group__3__Impl rule__ClassDeclaration__Group__4 ) + // InternalSolverLanguageParser.g:8293:2: rule__ClassDeclaration__Group__3__Impl rule__ClassDeclaration__Group__4 { - pushFollow(FOLLOW_19); - rule__ArgumentList__Group_2__0__Impl(); + pushFollow(FOLLOW_56); + rule__ClassDeclaration__Group__3__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__ArgumentList__Group_2__1(); + rule__ClassDeclaration__Group__4(); state._fsp--; @@ -21158,35 +25541,46 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ArgumentList__Group_2__0" + // $ANTLR end "rule__ClassDeclaration__Group__3" - // $ANTLR start "rule__ArgumentList__Group_2__0__Impl" - // InternalSolverLanguageParser.g:6833:1: rule__ArgumentList__Group_2__0__Impl : ( ( rule__ArgumentList__ArgumentsAssignment_2_0 ) ) ; - public final void rule__ArgumentList__Group_2__0__Impl() throws RecognitionException { + // $ANTLR start "rule__ClassDeclaration__Group__3__Impl" + // InternalSolverLanguageParser.g:8300:1: rule__ClassDeclaration__Group__3__Impl : ( ( rule__ClassDeclaration__Group_3__0 )? ) ; + public final void rule__ClassDeclaration__Group__3__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6837:1: ( ( ( rule__ArgumentList__ArgumentsAssignment_2_0 ) ) ) - // InternalSolverLanguageParser.g:6838:1: ( ( rule__ArgumentList__ArgumentsAssignment_2_0 ) ) + // InternalSolverLanguageParser.g:8304:1: ( ( ( rule__ClassDeclaration__Group_3__0 )? ) ) + // InternalSolverLanguageParser.g:8305:1: ( ( rule__ClassDeclaration__Group_3__0 )? ) { - // InternalSolverLanguageParser.g:6838:1: ( ( rule__ArgumentList__ArgumentsAssignment_2_0 ) ) - // InternalSolverLanguageParser.g:6839:2: ( rule__ArgumentList__ArgumentsAssignment_2_0 ) + // InternalSolverLanguageParser.g:8305:1: ( ( rule__ClassDeclaration__Group_3__0 )? ) + // InternalSolverLanguageParser.g:8306:2: ( rule__ClassDeclaration__Group_3__0 )? { - before(grammarAccess.getArgumentListAccess().getArgumentsAssignment_2_0()); - // InternalSolverLanguageParser.g:6840:2: ( rule__ArgumentList__ArgumentsAssignment_2_0 ) - // InternalSolverLanguageParser.g:6840:3: rule__ArgumentList__ArgumentsAssignment_2_0 - { - pushFollow(FOLLOW_2); - rule__ArgumentList__ArgumentsAssignment_2_0(); + before(grammarAccess.getClassDeclarationAccess().getGroup_3()); + // InternalSolverLanguageParser.g:8307:2: ( rule__ClassDeclaration__Group_3__0 )? + int alt56=2; + int LA56_0 = input.LA(1); + + if ( (LA56_0==Extends) ) { + alt56=1; + } + switch (alt56) { + case 1 : + // InternalSolverLanguageParser.g:8307:3: rule__ClassDeclaration__Group_3__0 + { + pushFollow(FOLLOW_2); + rule__ClassDeclaration__Group_3__0(); + + state._fsp--; - state._fsp--; + } + break; } - after(grammarAccess.getArgumentListAccess().getArgumentsAssignment_2_0()); + after(grammarAccess.getClassDeclarationAccess().getGroup_3()); } @@ -21205,21 +25599,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ArgumentList__Group_2__0__Impl" + // $ANTLR end "rule__ClassDeclaration__Group__3__Impl" - // $ANTLR start "rule__ArgumentList__Group_2__1" - // InternalSolverLanguageParser.g:6848:1: rule__ArgumentList__Group_2__1 : rule__ArgumentList__Group_2__1__Impl ; - public final void rule__ArgumentList__Group_2__1() throws RecognitionException { + // $ANTLR start "rule__ClassDeclaration__Group__4" + // InternalSolverLanguageParser.g:8315:1: rule__ClassDeclaration__Group__4 : rule__ClassDeclaration__Group__4__Impl ; + public final void rule__ClassDeclaration__Group__4() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6852:1: ( rule__ArgumentList__Group_2__1__Impl ) - // InternalSolverLanguageParser.g:6853:2: rule__ArgumentList__Group_2__1__Impl + // InternalSolverLanguageParser.g:8319:1: ( rule__ClassDeclaration__Group__4__Impl ) + // InternalSolverLanguageParser.g:8320:2: rule__ClassDeclaration__Group__4__Impl { pushFollow(FOLLOW_2); - rule__ArgumentList__Group_2__1__Impl(); + rule__ClassDeclaration__Group__4__Impl(); state._fsp--; @@ -21238,53 +25632,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ArgumentList__Group_2__1" + // $ANTLR end "rule__ClassDeclaration__Group__4" - // $ANTLR start "rule__ArgumentList__Group_2__1__Impl" - // InternalSolverLanguageParser.g:6859:1: rule__ArgumentList__Group_2__1__Impl : ( ( rule__ArgumentList__Group_2_1__0 )* ) ; - public final void rule__ArgumentList__Group_2__1__Impl() throws RecognitionException { + // $ANTLR start "rule__ClassDeclaration__Group__4__Impl" + // InternalSolverLanguageParser.g:8326:1: rule__ClassDeclaration__Group__4__Impl : ( ( rule__ClassDeclaration__Alternatives_4 ) ) ; + public final void rule__ClassDeclaration__Group__4__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6863:1: ( ( ( rule__ArgumentList__Group_2_1__0 )* ) ) - // InternalSolverLanguageParser.g:6864:1: ( ( rule__ArgumentList__Group_2_1__0 )* ) + // InternalSolverLanguageParser.g:8330:1: ( ( ( rule__ClassDeclaration__Alternatives_4 ) ) ) + // InternalSolverLanguageParser.g:8331:1: ( ( rule__ClassDeclaration__Alternatives_4 ) ) { - // InternalSolverLanguageParser.g:6864:1: ( ( rule__ArgumentList__Group_2_1__0 )* ) - // InternalSolverLanguageParser.g:6865:2: ( rule__ArgumentList__Group_2_1__0 )* + // InternalSolverLanguageParser.g:8331:1: ( ( rule__ClassDeclaration__Alternatives_4 ) ) + // InternalSolverLanguageParser.g:8332:2: ( rule__ClassDeclaration__Alternatives_4 ) { - before(grammarAccess.getArgumentListAccess().getGroup_2_1()); - // InternalSolverLanguageParser.g:6866:2: ( rule__ArgumentList__Group_2_1__0 )* - loop50: - do { - int alt50=2; - int LA50_0 = input.LA(1); - - if ( (LA50_0==Comma) ) { - alt50=1; - } - - - switch (alt50) { - case 1 : - // InternalSolverLanguageParser.g:6866:3: rule__ArgumentList__Group_2_1__0 - { - pushFollow(FOLLOW_20); - rule__ArgumentList__Group_2_1__0(); - - state._fsp--; + before(grammarAccess.getClassDeclarationAccess().getAlternatives_4()); + // InternalSolverLanguageParser.g:8333:2: ( rule__ClassDeclaration__Alternatives_4 ) + // InternalSolverLanguageParser.g:8333:3: rule__ClassDeclaration__Alternatives_4 + { + pushFollow(FOLLOW_2); + rule__ClassDeclaration__Alternatives_4(); + state._fsp--; - } - break; - default : - break loop50; - } - } while (true); + } - after(grammarAccess.getArgumentListAccess().getGroup_2_1()); + after(grammarAccess.getClassDeclarationAccess().getAlternatives_4()); } @@ -21303,26 +25679,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ArgumentList__Group_2__1__Impl" + // $ANTLR end "rule__ClassDeclaration__Group__4__Impl" - // $ANTLR start "rule__ArgumentList__Group_2_1__0" - // InternalSolverLanguageParser.g:6875:1: rule__ArgumentList__Group_2_1__0 : rule__ArgumentList__Group_2_1__0__Impl rule__ArgumentList__Group_2_1__1 ; - public final void rule__ArgumentList__Group_2_1__0() throws RecognitionException { + // $ANTLR start "rule__ClassDeclaration__Group_3__0" + // InternalSolverLanguageParser.g:8342:1: rule__ClassDeclaration__Group_3__0 : rule__ClassDeclaration__Group_3__0__Impl rule__ClassDeclaration__Group_3__1 ; + public final void rule__ClassDeclaration__Group_3__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6879:1: ( rule__ArgumentList__Group_2_1__0__Impl rule__ArgumentList__Group_2_1__1 ) - // InternalSolverLanguageParser.g:6880:2: rule__ArgumentList__Group_2_1__0__Impl rule__ArgumentList__Group_2_1__1 + // InternalSolverLanguageParser.g:8346:1: ( rule__ClassDeclaration__Group_3__0__Impl rule__ClassDeclaration__Group_3__1 ) + // InternalSolverLanguageParser.g:8347:2: rule__ClassDeclaration__Group_3__0__Impl rule__ClassDeclaration__Group_3__1 { - pushFollow(FOLLOW_45); - rule__ArgumentList__Group_2_1__0__Impl(); + pushFollow(FOLLOW_6); + rule__ClassDeclaration__Group_3__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__ArgumentList__Group_2_1__1(); + rule__ClassDeclaration__Group_3__1(); state._fsp--; @@ -21341,25 +25717,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ArgumentList__Group_2_1__0" + // $ANTLR end "rule__ClassDeclaration__Group_3__0" - // $ANTLR start "rule__ArgumentList__Group_2_1__0__Impl" - // InternalSolverLanguageParser.g:6887:1: rule__ArgumentList__Group_2_1__0__Impl : ( Comma ) ; - public final void rule__ArgumentList__Group_2_1__0__Impl() throws RecognitionException { + // $ANTLR start "rule__ClassDeclaration__Group_3__0__Impl" + // InternalSolverLanguageParser.g:8354:1: rule__ClassDeclaration__Group_3__0__Impl : ( Extends ) ; + public final void rule__ClassDeclaration__Group_3__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6891:1: ( ( Comma ) ) - // InternalSolverLanguageParser.g:6892:1: ( Comma ) + // InternalSolverLanguageParser.g:8358:1: ( ( Extends ) ) + // InternalSolverLanguageParser.g:8359:1: ( Extends ) { - // InternalSolverLanguageParser.g:6892:1: ( Comma ) - // InternalSolverLanguageParser.g:6893:2: Comma + // InternalSolverLanguageParser.g:8359:1: ( Extends ) + // InternalSolverLanguageParser.g:8360:2: Extends { - before(grammarAccess.getArgumentListAccess().getCommaKeyword_2_1_0()); - match(input,Comma,FOLLOW_2); - after(grammarAccess.getArgumentListAccess().getCommaKeyword_2_1_0()); + before(grammarAccess.getClassDeclarationAccess().getExtendsKeyword_3_0()); + match(input,Extends,FOLLOW_2); + after(grammarAccess.getClassDeclarationAccess().getExtendsKeyword_3_0()); } @@ -21378,21 +25754,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ArgumentList__Group_2_1__0__Impl" + // $ANTLR end "rule__ClassDeclaration__Group_3__0__Impl" - // $ANTLR start "rule__ArgumentList__Group_2_1__1" - // InternalSolverLanguageParser.g:6902:1: rule__ArgumentList__Group_2_1__1 : rule__ArgumentList__Group_2_1__1__Impl ; - public final void rule__ArgumentList__Group_2_1__1() throws RecognitionException { + // $ANTLR start "rule__ClassDeclaration__Group_3__1" + // InternalSolverLanguageParser.g:8369:1: rule__ClassDeclaration__Group_3__1 : rule__ClassDeclaration__Group_3__1__Impl rule__ClassDeclaration__Group_3__2 ; + public final void rule__ClassDeclaration__Group_3__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6906:1: ( rule__ArgumentList__Group_2_1__1__Impl ) - // InternalSolverLanguageParser.g:6907:2: rule__ArgumentList__Group_2_1__1__Impl + // InternalSolverLanguageParser.g:8373:1: ( rule__ClassDeclaration__Group_3__1__Impl rule__ClassDeclaration__Group_3__2 ) + // InternalSolverLanguageParser.g:8374:2: rule__ClassDeclaration__Group_3__1__Impl rule__ClassDeclaration__Group_3__2 { + pushFollow(FOLLOW_35); + rule__ClassDeclaration__Group_3__1__Impl(); + + state._fsp--; + pushFollow(FOLLOW_2); - rule__ArgumentList__Group_2_1__1__Impl(); + rule__ClassDeclaration__Group_3__2(); state._fsp--; @@ -21411,35 +25792,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ArgumentList__Group_2_1__1" + // $ANTLR end "rule__ClassDeclaration__Group_3__1" - // $ANTLR start "rule__ArgumentList__Group_2_1__1__Impl" - // InternalSolverLanguageParser.g:6913:1: rule__ArgumentList__Group_2_1__1__Impl : ( ( rule__ArgumentList__ArgumentsAssignment_2_1_1 ) ) ; - public final void rule__ArgumentList__Group_2_1__1__Impl() throws RecognitionException { + // $ANTLR start "rule__ClassDeclaration__Group_3__1__Impl" + // InternalSolverLanguageParser.g:8381:1: rule__ClassDeclaration__Group_3__1__Impl : ( ( rule__ClassDeclaration__SupertypesAssignment_3_1 ) ) ; + public final void rule__ClassDeclaration__Group_3__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6917:1: ( ( ( rule__ArgumentList__ArgumentsAssignment_2_1_1 ) ) ) - // InternalSolverLanguageParser.g:6918:1: ( ( rule__ArgumentList__ArgumentsAssignment_2_1_1 ) ) + // InternalSolverLanguageParser.g:8385:1: ( ( ( rule__ClassDeclaration__SupertypesAssignment_3_1 ) ) ) + // InternalSolverLanguageParser.g:8386:1: ( ( rule__ClassDeclaration__SupertypesAssignment_3_1 ) ) { - // InternalSolverLanguageParser.g:6918:1: ( ( rule__ArgumentList__ArgumentsAssignment_2_1_1 ) ) - // InternalSolverLanguageParser.g:6919:2: ( rule__ArgumentList__ArgumentsAssignment_2_1_1 ) + // InternalSolverLanguageParser.g:8386:1: ( ( rule__ClassDeclaration__SupertypesAssignment_3_1 ) ) + // InternalSolverLanguageParser.g:8387:2: ( rule__ClassDeclaration__SupertypesAssignment_3_1 ) { - before(grammarAccess.getArgumentListAccess().getArgumentsAssignment_2_1_1()); - // InternalSolverLanguageParser.g:6920:2: ( rule__ArgumentList__ArgumentsAssignment_2_1_1 ) - // InternalSolverLanguageParser.g:6920:3: rule__ArgumentList__ArgumentsAssignment_2_1_1 + before(grammarAccess.getClassDeclarationAccess().getSupertypesAssignment_3_1()); + // InternalSolverLanguageParser.g:8388:2: ( rule__ClassDeclaration__SupertypesAssignment_3_1 ) + // InternalSolverLanguageParser.g:8388:3: rule__ClassDeclaration__SupertypesAssignment_3_1 { pushFollow(FOLLOW_2); - rule__ArgumentList__ArgumentsAssignment_2_1_1(); + rule__ClassDeclaration__SupertypesAssignment_3_1(); state._fsp--; } - after(grammarAccess.getArgumentListAccess().getArgumentsAssignment_2_1_1()); + after(grammarAccess.getClassDeclarationAccess().getSupertypesAssignment_3_1()); } @@ -21458,26 +25839,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ArgumentList__Group_2_1__1__Impl" + // $ANTLR end "rule__ClassDeclaration__Group_3__1__Impl" - // $ANTLR start "rule__StarArgument__Group__0" - // InternalSolverLanguageParser.g:6929:1: rule__StarArgument__Group__0 : rule__StarArgument__Group__0__Impl rule__StarArgument__Group__1 ; - public final void rule__StarArgument__Group__0() throws RecognitionException { + // $ANTLR start "rule__ClassDeclaration__Group_3__2" + // InternalSolverLanguageParser.g:8396:1: rule__ClassDeclaration__Group_3__2 : rule__ClassDeclaration__Group_3__2__Impl ; + public final void rule__ClassDeclaration__Group_3__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6933:1: ( rule__StarArgument__Group__0__Impl rule__StarArgument__Group__1 ) - // InternalSolverLanguageParser.g:6934:2: rule__StarArgument__Group__0__Impl rule__StarArgument__Group__1 + // InternalSolverLanguageParser.g:8400:1: ( rule__ClassDeclaration__Group_3__2__Impl ) + // InternalSolverLanguageParser.g:8401:2: rule__ClassDeclaration__Group_3__2__Impl { - pushFollow(FOLLOW_46); - rule__StarArgument__Group__0__Impl(); - - state._fsp--; - pushFollow(FOLLOW_2); - rule__StarArgument__Group__1(); + rule__ClassDeclaration__Group_3__2__Impl(); state._fsp--; @@ -21496,29 +25872,53 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__StarArgument__Group__0" + // $ANTLR end "rule__ClassDeclaration__Group_3__2" - // $ANTLR start "rule__StarArgument__Group__0__Impl" - // InternalSolverLanguageParser.g:6941:1: rule__StarArgument__Group__0__Impl : ( () ) ; - public final void rule__StarArgument__Group__0__Impl() throws RecognitionException { + // $ANTLR start "rule__ClassDeclaration__Group_3__2__Impl" + // InternalSolverLanguageParser.g:8407:1: rule__ClassDeclaration__Group_3__2__Impl : ( ( rule__ClassDeclaration__Group_3_2__0 )* ) ; + public final void rule__ClassDeclaration__Group_3__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6945:1: ( ( () ) ) - // InternalSolverLanguageParser.g:6946:1: ( () ) - { - // InternalSolverLanguageParser.g:6946:1: ( () ) - // InternalSolverLanguageParser.g:6947:2: () + // InternalSolverLanguageParser.g:8411:1: ( ( ( rule__ClassDeclaration__Group_3_2__0 )* ) ) + // InternalSolverLanguageParser.g:8412:1: ( ( rule__ClassDeclaration__Group_3_2__0 )* ) { - before(grammarAccess.getStarArgumentAccess().getStarArgumentAction_0()); - // InternalSolverLanguageParser.g:6948:2: () - // InternalSolverLanguageParser.g:6948:3: + // InternalSolverLanguageParser.g:8412:1: ( ( rule__ClassDeclaration__Group_3_2__0 )* ) + // InternalSolverLanguageParser.g:8413:2: ( rule__ClassDeclaration__Group_3_2__0 )* { - } + before(grammarAccess.getClassDeclarationAccess().getGroup_3_2()); + // InternalSolverLanguageParser.g:8414:2: ( rule__ClassDeclaration__Group_3_2__0 )* + loop57: + do { + int alt57=2; + int LA57_0 = input.LA(1); - after(grammarAccess.getStarArgumentAccess().getStarArgumentAction_0()); + if ( (LA57_0==Comma) ) { + alt57=1; + } + + + switch (alt57) { + case 1 : + // InternalSolverLanguageParser.g:8414:3: rule__ClassDeclaration__Group_3_2__0 + { + pushFollow(FOLLOW_29); + rule__ClassDeclaration__Group_3_2__0(); + + state._fsp--; + + + } + break; + + default : + break loop57; + } + } while (true); + + after(grammarAccess.getClassDeclarationAccess().getGroup_3_2()); } @@ -21526,6 +25926,10 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } finally { restoreStackSize(stackSize); @@ -21533,21 +25937,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__StarArgument__Group__0__Impl" + // $ANTLR end "rule__ClassDeclaration__Group_3__2__Impl" - // $ANTLR start "rule__StarArgument__Group__1" - // InternalSolverLanguageParser.g:6956:1: rule__StarArgument__Group__1 : rule__StarArgument__Group__1__Impl ; - public final void rule__StarArgument__Group__1() throws RecognitionException { + // $ANTLR start "rule__ClassDeclaration__Group_3_2__0" + // InternalSolverLanguageParser.g:8423:1: rule__ClassDeclaration__Group_3_2__0 : rule__ClassDeclaration__Group_3_2__0__Impl rule__ClassDeclaration__Group_3_2__1 ; + public final void rule__ClassDeclaration__Group_3_2__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6960:1: ( rule__StarArgument__Group__1__Impl ) - // InternalSolverLanguageParser.g:6961:2: rule__StarArgument__Group__1__Impl + // InternalSolverLanguageParser.g:8427:1: ( rule__ClassDeclaration__Group_3_2__0__Impl rule__ClassDeclaration__Group_3_2__1 ) + // InternalSolverLanguageParser.g:8428:2: rule__ClassDeclaration__Group_3_2__0__Impl rule__ClassDeclaration__Group_3_2__1 { + pushFollow(FOLLOW_6); + rule__ClassDeclaration__Group_3_2__0__Impl(); + + state._fsp--; + pushFollow(FOLLOW_2); - rule__StarArgument__Group__1__Impl(); + rule__ClassDeclaration__Group_3_2__1(); state._fsp--; @@ -21566,25 +25975,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__StarArgument__Group__1" + // $ANTLR end "rule__ClassDeclaration__Group_3_2__0" - // $ANTLR start "rule__StarArgument__Group__1__Impl" - // InternalSolverLanguageParser.g:6967:1: rule__StarArgument__Group__1__Impl : ( Asterisk ) ; - public final void rule__StarArgument__Group__1__Impl() throws RecognitionException { + // $ANTLR start "rule__ClassDeclaration__Group_3_2__0__Impl" + // InternalSolverLanguageParser.g:8435:1: rule__ClassDeclaration__Group_3_2__0__Impl : ( Comma ) ; + public final void rule__ClassDeclaration__Group_3_2__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6971:1: ( ( Asterisk ) ) - // InternalSolverLanguageParser.g:6972:1: ( Asterisk ) + // InternalSolverLanguageParser.g:8439:1: ( ( Comma ) ) + // InternalSolverLanguageParser.g:8440:1: ( Comma ) { - // InternalSolverLanguageParser.g:6972:1: ( Asterisk ) - // InternalSolverLanguageParser.g:6973:2: Asterisk + // InternalSolverLanguageParser.g:8440:1: ( Comma ) + // InternalSolverLanguageParser.g:8441:2: Comma { - before(grammarAccess.getStarArgumentAccess().getAsteriskKeyword_1()); - match(input,Asterisk,FOLLOW_2); - after(grammarAccess.getStarArgumentAccess().getAsteriskKeyword_1()); + before(grammarAccess.getClassDeclarationAccess().getCommaKeyword_3_2_0()); + match(input,Comma,FOLLOW_2); + after(grammarAccess.getClassDeclarationAccess().getCommaKeyword_3_2_0()); } @@ -21603,26 +26012,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__StarArgument__Group__1__Impl" + // $ANTLR end "rule__ClassDeclaration__Group_3_2__0__Impl" - // $ANTLR start "rule__TypedArgument__Group__0" - // InternalSolverLanguageParser.g:6983:1: rule__TypedArgument__Group__0 : rule__TypedArgument__Group__0__Impl rule__TypedArgument__Group__1 ; - public final void rule__TypedArgument__Group__0() throws RecognitionException { + // $ANTLR start "rule__ClassDeclaration__Group_3_2__1" + // InternalSolverLanguageParser.g:8450:1: rule__ClassDeclaration__Group_3_2__1 : rule__ClassDeclaration__Group_3_2__1__Impl ; + public final void rule__ClassDeclaration__Group_3_2__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6987:1: ( rule__TypedArgument__Group__0__Impl rule__TypedArgument__Group__1 ) - // InternalSolverLanguageParser.g:6988:2: rule__TypedArgument__Group__0__Impl rule__TypedArgument__Group__1 + // InternalSolverLanguageParser.g:8454:1: ( rule__ClassDeclaration__Group_3_2__1__Impl ) + // InternalSolverLanguageParser.g:8455:2: rule__ClassDeclaration__Group_3_2__1__Impl { - pushFollow(FOLLOW_9); - rule__TypedArgument__Group__0__Impl(); - - state._fsp--; - pushFollow(FOLLOW_2); - rule__TypedArgument__Group__1(); + rule__ClassDeclaration__Group_3_2__1__Impl(); state._fsp--; @@ -21641,35 +26045,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__TypedArgument__Group__0" + // $ANTLR end "rule__ClassDeclaration__Group_3_2__1" - // $ANTLR start "rule__TypedArgument__Group__0__Impl" - // InternalSolverLanguageParser.g:6995:1: rule__TypedArgument__Group__0__Impl : ( ( rule__TypedArgument__TypeAssignment_0 ) ) ; - public final void rule__TypedArgument__Group__0__Impl() throws RecognitionException { + // $ANTLR start "rule__ClassDeclaration__Group_3_2__1__Impl" + // InternalSolverLanguageParser.g:8461:1: rule__ClassDeclaration__Group_3_2__1__Impl : ( ( rule__ClassDeclaration__SupertypesAssignment_3_2_1 ) ) ; + public final void rule__ClassDeclaration__Group_3_2__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:6999:1: ( ( ( rule__TypedArgument__TypeAssignment_0 ) ) ) - // InternalSolverLanguageParser.g:7000:1: ( ( rule__TypedArgument__TypeAssignment_0 ) ) + // InternalSolverLanguageParser.g:8465:1: ( ( ( rule__ClassDeclaration__SupertypesAssignment_3_2_1 ) ) ) + // InternalSolverLanguageParser.g:8466:1: ( ( rule__ClassDeclaration__SupertypesAssignment_3_2_1 ) ) { - // InternalSolverLanguageParser.g:7000:1: ( ( rule__TypedArgument__TypeAssignment_0 ) ) - // InternalSolverLanguageParser.g:7001:2: ( rule__TypedArgument__TypeAssignment_0 ) + // InternalSolverLanguageParser.g:8466:1: ( ( rule__ClassDeclaration__SupertypesAssignment_3_2_1 ) ) + // InternalSolverLanguageParser.g:8467:2: ( rule__ClassDeclaration__SupertypesAssignment_3_2_1 ) { - before(grammarAccess.getTypedArgumentAccess().getTypeAssignment_0()); - // InternalSolverLanguageParser.g:7002:2: ( rule__TypedArgument__TypeAssignment_0 ) - // InternalSolverLanguageParser.g:7002:3: rule__TypedArgument__TypeAssignment_0 + before(grammarAccess.getClassDeclarationAccess().getSupertypesAssignment_3_2_1()); + // InternalSolverLanguageParser.g:8468:2: ( rule__ClassDeclaration__SupertypesAssignment_3_2_1 ) + // InternalSolverLanguageParser.g:8468:3: rule__ClassDeclaration__SupertypesAssignment_3_2_1 { pushFollow(FOLLOW_2); - rule__TypedArgument__TypeAssignment_0(); + rule__ClassDeclaration__SupertypesAssignment_3_2_1(); state._fsp--; } - after(grammarAccess.getTypedArgumentAccess().getTypeAssignment_0()); + after(grammarAccess.getClassDeclarationAccess().getSupertypesAssignment_3_2_1()); } @@ -21688,21 +26092,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__TypedArgument__Group__0__Impl" + // $ANTLR end "rule__ClassDeclaration__Group_3_2__1__Impl" - // $ANTLR start "rule__TypedArgument__Group__1" - // InternalSolverLanguageParser.g:7010:1: rule__TypedArgument__Group__1 : rule__TypedArgument__Group__1__Impl ; - public final void rule__TypedArgument__Group__1() throws RecognitionException { + // $ANTLR start "rule__ClassDeclaration__Group_4_0__0" + // InternalSolverLanguageParser.g:8477:1: rule__ClassDeclaration__Group_4_0__0 : rule__ClassDeclaration__Group_4_0__0__Impl rule__ClassDeclaration__Group_4_0__1 ; + public final void rule__ClassDeclaration__Group_4_0__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:7014:1: ( rule__TypedArgument__Group__1__Impl ) - // InternalSolverLanguageParser.g:7015:2: rule__TypedArgument__Group__1__Impl + // InternalSolverLanguageParser.g:8481:1: ( rule__ClassDeclaration__Group_4_0__0__Impl rule__ClassDeclaration__Group_4_0__1 ) + // InternalSolverLanguageParser.g:8482:2: rule__ClassDeclaration__Group_4_0__0__Impl rule__ClassDeclaration__Group_4_0__1 { + pushFollow(FOLLOW_57); + rule__ClassDeclaration__Group_4_0__0__Impl(); + + state._fsp--; + pushFollow(FOLLOW_2); - rule__TypedArgument__Group__1__Impl(); + rule__ClassDeclaration__Group_4_0__1(); state._fsp--; @@ -21721,35 +26130,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__TypedArgument__Group__1" + // $ANTLR end "rule__ClassDeclaration__Group_4_0__0" - // $ANTLR start "rule__TypedArgument__Group__1__Impl" - // InternalSolverLanguageParser.g:7021:1: rule__TypedArgument__Group__1__Impl : ( ( rule__TypedArgument__VariableAssignment_1 ) ) ; - public final void rule__TypedArgument__Group__1__Impl() throws RecognitionException { + // $ANTLR start "rule__ClassDeclaration__Group_4_0__0__Impl" + // InternalSolverLanguageParser.g:8489:1: rule__ClassDeclaration__Group_4_0__0__Impl : ( LeftCurlyBracket ) ; + public final void rule__ClassDeclaration__Group_4_0__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:7025:1: ( ( ( rule__TypedArgument__VariableAssignment_1 ) ) ) - // InternalSolverLanguageParser.g:7026:1: ( ( rule__TypedArgument__VariableAssignment_1 ) ) + // InternalSolverLanguageParser.g:8493:1: ( ( LeftCurlyBracket ) ) + // InternalSolverLanguageParser.g:8494:1: ( LeftCurlyBracket ) { - // InternalSolverLanguageParser.g:7026:1: ( ( rule__TypedArgument__VariableAssignment_1 ) ) - // InternalSolverLanguageParser.g:7027:2: ( rule__TypedArgument__VariableAssignment_1 ) + // InternalSolverLanguageParser.g:8494:1: ( LeftCurlyBracket ) + // InternalSolverLanguageParser.g:8495:2: LeftCurlyBracket { - before(grammarAccess.getTypedArgumentAccess().getVariableAssignment_1()); - // InternalSolverLanguageParser.g:7028:2: ( rule__TypedArgument__VariableAssignment_1 ) - // InternalSolverLanguageParser.g:7028:3: rule__TypedArgument__VariableAssignment_1 - { - pushFollow(FOLLOW_2); - rule__TypedArgument__VariableAssignment_1(); - - state._fsp--; - - - } - - after(grammarAccess.getTypedArgumentAccess().getVariableAssignment_1()); + before(grammarAccess.getClassDeclarationAccess().getLeftCurlyBracketKeyword_4_0_0()); + match(input,LeftCurlyBracket,FOLLOW_2); + after(grammarAccess.getClassDeclarationAccess().getLeftCurlyBracketKeyword_4_0_0()); } @@ -21768,26 +26167,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__TypedArgument__Group__1__Impl" + // $ANTLR end "rule__ClassDeclaration__Group_4_0__0__Impl" - // $ANTLR start "rule__TypedStarArgument__Group__0" - // InternalSolverLanguageParser.g:7037:1: rule__TypedStarArgument__Group__0 : rule__TypedStarArgument__Group__0__Impl rule__TypedStarArgument__Group__1 ; - public final void rule__TypedStarArgument__Group__0() throws RecognitionException { + // $ANTLR start "rule__ClassDeclaration__Group_4_0__1" + // InternalSolverLanguageParser.g:8504:1: rule__ClassDeclaration__Group_4_0__1 : rule__ClassDeclaration__Group_4_0__1__Impl rule__ClassDeclaration__Group_4_0__2 ; + public final void rule__ClassDeclaration__Group_4_0__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:7041:1: ( rule__TypedStarArgument__Group__0__Impl rule__TypedStarArgument__Group__1 ) - // InternalSolverLanguageParser.g:7042:2: rule__TypedStarArgument__Group__0__Impl rule__TypedStarArgument__Group__1 + // InternalSolverLanguageParser.g:8508:1: ( rule__ClassDeclaration__Group_4_0__1__Impl rule__ClassDeclaration__Group_4_0__2 ) + // InternalSolverLanguageParser.g:8509:2: rule__ClassDeclaration__Group_4_0__1__Impl rule__ClassDeclaration__Group_4_0__2 { - pushFollow(FOLLOW_46); - rule__TypedStarArgument__Group__0__Impl(); + pushFollow(FOLLOW_57); + rule__ClassDeclaration__Group_4_0__1__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__TypedStarArgument__Group__1(); + rule__ClassDeclaration__Group_4_0__2(); state._fsp--; @@ -21806,35 +26205,53 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__TypedStarArgument__Group__0" + // $ANTLR end "rule__ClassDeclaration__Group_4_0__1" - // $ANTLR start "rule__TypedStarArgument__Group__0__Impl" - // InternalSolverLanguageParser.g:7049:1: rule__TypedStarArgument__Group__0__Impl : ( ( rule__TypedStarArgument__TypeAssignment_0 ) ) ; - public final void rule__TypedStarArgument__Group__0__Impl() throws RecognitionException { + // $ANTLR start "rule__ClassDeclaration__Group_4_0__1__Impl" + // InternalSolverLanguageParser.g:8516:1: rule__ClassDeclaration__Group_4_0__1__Impl : ( ( rule__ClassDeclaration__FieldsAssignment_4_0_1 )* ) ; + public final void rule__ClassDeclaration__Group_4_0__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:7053:1: ( ( ( rule__TypedStarArgument__TypeAssignment_0 ) ) ) - // InternalSolverLanguageParser.g:7054:1: ( ( rule__TypedStarArgument__TypeAssignment_0 ) ) + // InternalSolverLanguageParser.g:8520:1: ( ( ( rule__ClassDeclaration__FieldsAssignment_4_0_1 )* ) ) + // InternalSolverLanguageParser.g:8521:1: ( ( rule__ClassDeclaration__FieldsAssignment_4_0_1 )* ) { - // InternalSolverLanguageParser.g:7054:1: ( ( rule__TypedStarArgument__TypeAssignment_0 ) ) - // InternalSolverLanguageParser.g:7055:2: ( rule__TypedStarArgument__TypeAssignment_0 ) + // InternalSolverLanguageParser.g:8521:1: ( ( rule__ClassDeclaration__FieldsAssignment_4_0_1 )* ) + // InternalSolverLanguageParser.g:8522:2: ( rule__ClassDeclaration__FieldsAssignment_4_0_1 )* { - before(grammarAccess.getTypedStarArgumentAccess().getTypeAssignment_0()); - // InternalSolverLanguageParser.g:7056:2: ( rule__TypedStarArgument__TypeAssignment_0 ) - // InternalSolverLanguageParser.g:7056:3: rule__TypedStarArgument__TypeAssignment_0 - { - pushFollow(FOLLOW_2); - rule__TypedStarArgument__TypeAssignment_0(); + before(grammarAccess.getClassDeclarationAccess().getFieldsAssignment_4_0_1()); + // InternalSolverLanguageParser.g:8523:2: ( rule__ClassDeclaration__FieldsAssignment_4_0_1 )* + loop58: + do { + int alt58=2; + int LA58_0 = input.LA(1); - state._fsp--; + if ( (LA58_0==Contains||(LA58_0>=Object && LA58_0<=Refers)||LA58_0==RULE_QUOTED_ID||LA58_0==RULE_ID) ) { + alt58=1; + } - } + switch (alt58) { + case 1 : + // InternalSolverLanguageParser.g:8523:3: rule__ClassDeclaration__FieldsAssignment_4_0_1 + { + pushFollow(FOLLOW_58); + rule__ClassDeclaration__FieldsAssignment_4_0_1(); + + state._fsp--; + + + } + break; - after(grammarAccess.getTypedStarArgumentAccess().getTypeAssignment_0()); + default : + break loop58; + } + } while (true); + + after(grammarAccess.getClassDeclarationAccess().getFieldsAssignment_4_0_1()); } @@ -21853,21 +26270,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__TypedStarArgument__Group__0__Impl" + // $ANTLR end "rule__ClassDeclaration__Group_4_0__1__Impl" - // $ANTLR start "rule__TypedStarArgument__Group__1" - // InternalSolverLanguageParser.g:7064:1: rule__TypedStarArgument__Group__1 : rule__TypedStarArgument__Group__1__Impl ; - public final void rule__TypedStarArgument__Group__1() throws RecognitionException { + // $ANTLR start "rule__ClassDeclaration__Group_4_0__2" + // InternalSolverLanguageParser.g:8531:1: rule__ClassDeclaration__Group_4_0__2 : rule__ClassDeclaration__Group_4_0__2__Impl ; + public final void rule__ClassDeclaration__Group_4_0__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:7068:1: ( rule__TypedStarArgument__Group__1__Impl ) - // InternalSolverLanguageParser.g:7069:2: rule__TypedStarArgument__Group__1__Impl + // InternalSolverLanguageParser.g:8535:1: ( rule__ClassDeclaration__Group_4_0__2__Impl ) + // InternalSolverLanguageParser.g:8536:2: rule__ClassDeclaration__Group_4_0__2__Impl { pushFollow(FOLLOW_2); - rule__TypedStarArgument__Group__1__Impl(); + rule__ClassDeclaration__Group_4_0__2__Impl(); state._fsp--; @@ -21886,25 +26303,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__TypedStarArgument__Group__1" + // $ANTLR end "rule__ClassDeclaration__Group_4_0__2" - // $ANTLR start "rule__TypedStarArgument__Group__1__Impl" - // InternalSolverLanguageParser.g:7075:1: rule__TypedStarArgument__Group__1__Impl : ( Asterisk ) ; - public final void rule__TypedStarArgument__Group__1__Impl() throws RecognitionException { + // $ANTLR start "rule__ClassDeclaration__Group_4_0__2__Impl" + // InternalSolverLanguageParser.g:8542:1: rule__ClassDeclaration__Group_4_0__2__Impl : ( RightCurlyBracket ) ; + public final void rule__ClassDeclaration__Group_4_0__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:7079:1: ( ( Asterisk ) ) - // InternalSolverLanguageParser.g:7080:1: ( Asterisk ) + // InternalSolverLanguageParser.g:8546:1: ( ( RightCurlyBracket ) ) + // InternalSolverLanguageParser.g:8547:1: ( RightCurlyBracket ) { - // InternalSolverLanguageParser.g:7080:1: ( Asterisk ) - // InternalSolverLanguageParser.g:7081:2: Asterisk + // InternalSolverLanguageParser.g:8547:1: ( RightCurlyBracket ) + // InternalSolverLanguageParser.g:8548:2: RightCurlyBracket { - before(grammarAccess.getTypedStarArgumentAccess().getAsteriskKeyword_1()); - match(input,Asterisk,FOLLOW_2); - after(grammarAccess.getTypedStarArgumentAccess().getAsteriskKeyword_1()); + before(grammarAccess.getClassDeclarationAccess().getRightCurlyBracketKeyword_4_0_2()); + match(input,RightCurlyBracket,FOLLOW_2); + after(grammarAccess.getClassDeclarationAccess().getRightCurlyBracketKeyword_4_0_2()); } @@ -21923,26 +26340,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__TypedStarArgument__Group__1__Impl" + // $ANTLR end "rule__ClassDeclaration__Group_4_0__2__Impl" - // $ANTLR start "rule__Interval__Group__0" - // InternalSolverLanguageParser.g:7091:1: rule__Interval__Group__0 : rule__Interval__Group__0__Impl rule__Interval__Group__1 ; - public final void rule__Interval__Group__0() throws RecognitionException { + // $ANTLR start "rule__Field__Group__0" + // InternalSolverLanguageParser.g:8558:1: rule__Field__Group__0 : rule__Field__Group__0__Impl rule__Field__Group__1 ; + public final void rule__Field__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:7095:1: ( rule__Interval__Group__0__Impl rule__Interval__Group__1 ) - // InternalSolverLanguageParser.g:7096:2: rule__Interval__Group__0__Impl rule__Interval__Group__1 + // InternalSolverLanguageParser.g:8562:1: ( rule__Field__Group__0__Impl rule__Field__Group__1 ) + // InternalSolverLanguageParser.g:8563:2: rule__Field__Group__0__Impl rule__Field__Group__1 { - pushFollow(FOLLOW_7); - rule__Interval__Group__0__Impl(); + pushFollow(FOLLOW_59); + rule__Field__Group__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__Interval__Group__1(); + rule__Field__Group__1(); state._fsp--; @@ -21961,25 +26378,46 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Interval__Group__0" + // $ANTLR end "rule__Field__Group__0" - // $ANTLR start "rule__Interval__Group__0__Impl" - // InternalSolverLanguageParser.g:7103:1: rule__Interval__Group__0__Impl : ( LeftSquareBracket ) ; - public final void rule__Interval__Group__0__Impl() throws RecognitionException { + // $ANTLR start "rule__Field__Group__0__Impl" + // InternalSolverLanguageParser.g:8570:1: rule__Field__Group__0__Impl : ( ( rule__Field__Alternatives_0 )? ) ; + public final void rule__Field__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:7107:1: ( ( LeftSquareBracket ) ) - // InternalSolverLanguageParser.g:7108:1: ( LeftSquareBracket ) + // InternalSolverLanguageParser.g:8574:1: ( ( ( rule__Field__Alternatives_0 )? ) ) + // InternalSolverLanguageParser.g:8575:1: ( ( rule__Field__Alternatives_0 )? ) { - // InternalSolverLanguageParser.g:7108:1: ( LeftSquareBracket ) - // InternalSolverLanguageParser.g:7109:2: LeftSquareBracket + // InternalSolverLanguageParser.g:8575:1: ( ( rule__Field__Alternatives_0 )? ) + // InternalSolverLanguageParser.g:8576:2: ( rule__Field__Alternatives_0 )? { - before(grammarAccess.getIntervalAccess().getLeftSquareBracketKeyword_0()); - match(input,LeftSquareBracket,FOLLOW_2); - after(grammarAccess.getIntervalAccess().getLeftSquareBracketKeyword_0()); + before(grammarAccess.getFieldAccess().getAlternatives_0()); + // InternalSolverLanguageParser.g:8577:2: ( rule__Field__Alternatives_0 )? + int alt59=2; + int LA59_0 = input.LA(1); + + if ( (LA59_0==Contains||LA59_0==Refers) ) { + alt59=1; + } + switch (alt59) { + case 1 : + // InternalSolverLanguageParser.g:8577:3: rule__Field__Alternatives_0 + { + pushFollow(FOLLOW_2); + rule__Field__Alternatives_0(); + + state._fsp--; + + + } + break; + + } + + after(grammarAccess.getFieldAccess().getAlternatives_0()); } @@ -21998,26 +26436,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Interval__Group__0__Impl" + // $ANTLR end "rule__Field__Group__0__Impl" - // $ANTLR start "rule__Interval__Group__1" - // InternalSolverLanguageParser.g:7118:1: rule__Interval__Group__1 : rule__Interval__Group__1__Impl rule__Interval__Group__2 ; - public final void rule__Interval__Group__1() throws RecognitionException { + // $ANTLR start "rule__Field__Group__1" + // InternalSolverLanguageParser.g:8585:1: rule__Field__Group__1 : rule__Field__Group__1__Impl rule__Field__Group__2 ; + public final void rule__Field__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:7122:1: ( rule__Interval__Group__1__Impl rule__Interval__Group__2 ) - // InternalSolverLanguageParser.g:7123:2: rule__Interval__Group__1__Impl rule__Interval__Group__2 + // InternalSolverLanguageParser.g:8589:1: ( rule__Field__Group__1__Impl rule__Field__Group__2 ) + // InternalSolverLanguageParser.g:8590:2: rule__Field__Group__1__Impl rule__Field__Group__2 { - pushFollow(FOLLOW_47); - rule__Interval__Group__1__Impl(); + pushFollow(FOLLOW_60); + rule__Field__Group__1__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__Interval__Group__2(); + rule__Field__Group__2(); state._fsp--; @@ -22036,35 +26474,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Interval__Group__1" + // $ANTLR end "rule__Field__Group__1" - // $ANTLR start "rule__Interval__Group__1__Impl" - // InternalSolverLanguageParser.g:7130:1: rule__Interval__Group__1__Impl : ( ( rule__Interval__LowerBoundAssignment_1 ) ) ; - public final void rule__Interval__Group__1__Impl() throws RecognitionException { + // $ANTLR start "rule__Field__Group__1__Impl" + // InternalSolverLanguageParser.g:8597:1: rule__Field__Group__1__Impl : ( ( rule__Field__TypeAssignment_1 ) ) ; + public final void rule__Field__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:7134:1: ( ( ( rule__Interval__LowerBoundAssignment_1 ) ) ) - // InternalSolverLanguageParser.g:7135:1: ( ( rule__Interval__LowerBoundAssignment_1 ) ) + // InternalSolverLanguageParser.g:8601:1: ( ( ( rule__Field__TypeAssignment_1 ) ) ) + // InternalSolverLanguageParser.g:8602:1: ( ( rule__Field__TypeAssignment_1 ) ) { - // InternalSolverLanguageParser.g:7135:1: ( ( rule__Interval__LowerBoundAssignment_1 ) ) - // InternalSolverLanguageParser.g:7136:2: ( rule__Interval__LowerBoundAssignment_1 ) + // InternalSolverLanguageParser.g:8602:1: ( ( rule__Field__TypeAssignment_1 ) ) + // InternalSolverLanguageParser.g:8603:2: ( rule__Field__TypeAssignment_1 ) { - before(grammarAccess.getIntervalAccess().getLowerBoundAssignment_1()); - // InternalSolverLanguageParser.g:7137:2: ( rule__Interval__LowerBoundAssignment_1 ) - // InternalSolverLanguageParser.g:7137:3: rule__Interval__LowerBoundAssignment_1 + before(grammarAccess.getFieldAccess().getTypeAssignment_1()); + // InternalSolverLanguageParser.g:8604:2: ( rule__Field__TypeAssignment_1 ) + // InternalSolverLanguageParser.g:8604:3: rule__Field__TypeAssignment_1 { pushFollow(FOLLOW_2); - rule__Interval__LowerBoundAssignment_1(); + rule__Field__TypeAssignment_1(); state._fsp--; } - after(grammarAccess.getIntervalAccess().getLowerBoundAssignment_1()); + after(grammarAccess.getFieldAccess().getTypeAssignment_1()); } @@ -22083,26 +26521,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Interval__Group__1__Impl" + // $ANTLR end "rule__Field__Group__1__Impl" - // $ANTLR start "rule__Interval__Group__2" - // InternalSolverLanguageParser.g:7145:1: rule__Interval__Group__2 : rule__Interval__Group__2__Impl rule__Interval__Group__3 ; - public final void rule__Interval__Group__2() throws RecognitionException { + // $ANTLR start "rule__Field__Group__2" + // InternalSolverLanguageParser.g:8612:1: rule__Field__Group__2 : rule__Field__Group__2__Impl rule__Field__Group__3 ; + public final void rule__Field__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:7149:1: ( rule__Interval__Group__2__Impl rule__Interval__Group__3 ) - // InternalSolverLanguageParser.g:7150:2: rule__Interval__Group__2__Impl rule__Interval__Group__3 + // InternalSolverLanguageParser.g:8616:1: ( rule__Field__Group__2__Impl rule__Field__Group__3 ) + // InternalSolverLanguageParser.g:8617:2: rule__Field__Group__2__Impl rule__Field__Group__3 { - pushFollow(FOLLOW_7); - rule__Interval__Group__2__Impl(); + pushFollow(FOLLOW_60); + rule__Field__Group__2__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__Interval__Group__3(); + rule__Field__Group__3(); state._fsp--; @@ -22121,25 +26559,46 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Interval__Group__2" + // $ANTLR end "rule__Field__Group__2" - // $ANTLR start "rule__Interval__Group__2__Impl" - // InternalSolverLanguageParser.g:7157:1: rule__Interval__Group__2__Impl : ( FullStopFullStop ) ; - public final void rule__Interval__Group__2__Impl() throws RecognitionException { + // $ANTLR start "rule__Field__Group__2__Impl" + // InternalSolverLanguageParser.g:8624:1: rule__Field__Group__2__Impl : ( ( rule__Field__MultiplicityAssignment_2 )? ) ; + public final void rule__Field__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:7161:1: ( ( FullStopFullStop ) ) - // InternalSolverLanguageParser.g:7162:1: ( FullStopFullStop ) + // InternalSolverLanguageParser.g:8628:1: ( ( ( rule__Field__MultiplicityAssignment_2 )? ) ) + // InternalSolverLanguageParser.g:8629:1: ( ( rule__Field__MultiplicityAssignment_2 )? ) { - // InternalSolverLanguageParser.g:7162:1: ( FullStopFullStop ) - // InternalSolverLanguageParser.g:7163:2: FullStopFullStop + // InternalSolverLanguageParser.g:8629:1: ( ( rule__Field__MultiplicityAssignment_2 )? ) + // InternalSolverLanguageParser.g:8630:2: ( rule__Field__MultiplicityAssignment_2 )? { - before(grammarAccess.getIntervalAccess().getFullStopFullStopKeyword_2()); - match(input,FullStopFullStop,FOLLOW_2); - after(grammarAccess.getIntervalAccess().getFullStopFullStopKeyword_2()); + before(grammarAccess.getFieldAccess().getMultiplicityAssignment_2()); + // InternalSolverLanguageParser.g:8631:2: ( rule__Field__MultiplicityAssignment_2 )? + int alt60=2; + int LA60_0 = input.LA(1); + + if ( (LA60_0==LeftSquareBracket) ) { + alt60=1; + } + switch (alt60) { + case 1 : + // InternalSolverLanguageParser.g:8631:3: rule__Field__MultiplicityAssignment_2 + { + pushFollow(FOLLOW_2); + rule__Field__MultiplicityAssignment_2(); + + state._fsp--; + + + } + break; + + } + + after(grammarAccess.getFieldAccess().getMultiplicityAssignment_2()); } @@ -22158,26 +26617,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Interval__Group__2__Impl" + // $ANTLR end "rule__Field__Group__2__Impl" - // $ANTLR start "rule__Interval__Group__3" - // InternalSolverLanguageParser.g:7172:1: rule__Interval__Group__3 : rule__Interval__Group__3__Impl rule__Interval__Group__4 ; - public final void rule__Interval__Group__3() throws RecognitionException { + // $ANTLR start "rule__Field__Group__3" + // InternalSolverLanguageParser.g:8639:1: rule__Field__Group__3 : rule__Field__Group__3__Impl rule__Field__Group__4 ; + public final void rule__Field__Group__3() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:7176:1: ( rule__Interval__Group__3__Impl rule__Interval__Group__4 ) - // InternalSolverLanguageParser.g:7177:2: rule__Interval__Group__3__Impl rule__Interval__Group__4 + // InternalSolverLanguageParser.g:8643:1: ( rule__Field__Group__3__Impl rule__Field__Group__4 ) + // InternalSolverLanguageParser.g:8644:2: rule__Field__Group__3__Impl rule__Field__Group__4 { - pushFollow(FOLLOW_48); - rule__Interval__Group__3__Impl(); + pushFollow(FOLLOW_61); + rule__Field__Group__3__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__Interval__Group__4(); + rule__Field__Group__4(); state._fsp--; @@ -22196,35 +26655,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Interval__Group__3" + // $ANTLR end "rule__Field__Group__3" - // $ANTLR start "rule__Interval__Group__3__Impl" - // InternalSolverLanguageParser.g:7184:1: rule__Interval__Group__3__Impl : ( ( rule__Interval__UpperBoundAssignment_3 ) ) ; - public final void rule__Interval__Group__3__Impl() throws RecognitionException { + // $ANTLR start "rule__Field__Group__3__Impl" + // InternalSolverLanguageParser.g:8651:1: rule__Field__Group__3__Impl : ( ( rule__Field__NameAssignment_3 ) ) ; + public final void rule__Field__Group__3__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:7188:1: ( ( ( rule__Interval__UpperBoundAssignment_3 ) ) ) - // InternalSolverLanguageParser.g:7189:1: ( ( rule__Interval__UpperBoundAssignment_3 ) ) + // InternalSolverLanguageParser.g:8655:1: ( ( ( rule__Field__NameAssignment_3 ) ) ) + // InternalSolverLanguageParser.g:8656:1: ( ( rule__Field__NameAssignment_3 ) ) { - // InternalSolverLanguageParser.g:7189:1: ( ( rule__Interval__UpperBoundAssignment_3 ) ) - // InternalSolverLanguageParser.g:7190:2: ( rule__Interval__UpperBoundAssignment_3 ) + // InternalSolverLanguageParser.g:8656:1: ( ( rule__Field__NameAssignment_3 ) ) + // InternalSolverLanguageParser.g:8657:2: ( rule__Field__NameAssignment_3 ) { - before(grammarAccess.getIntervalAccess().getUpperBoundAssignment_3()); - // InternalSolverLanguageParser.g:7191:2: ( rule__Interval__UpperBoundAssignment_3 ) - // InternalSolverLanguageParser.g:7191:3: rule__Interval__UpperBoundAssignment_3 + before(grammarAccess.getFieldAccess().getNameAssignment_3()); + // InternalSolverLanguageParser.g:8658:2: ( rule__Field__NameAssignment_3 ) + // InternalSolverLanguageParser.g:8658:3: rule__Field__NameAssignment_3 { pushFollow(FOLLOW_2); - rule__Interval__UpperBoundAssignment_3(); + rule__Field__NameAssignment_3(); state._fsp--; } - after(grammarAccess.getIntervalAccess().getUpperBoundAssignment_3()); + after(grammarAccess.getFieldAccess().getNameAssignment_3()); } @@ -22243,21 +26702,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Interval__Group__3__Impl" + // $ANTLR end "rule__Field__Group__3__Impl" - // $ANTLR start "rule__Interval__Group__4" - // InternalSolverLanguageParser.g:7199:1: rule__Interval__Group__4 : rule__Interval__Group__4__Impl ; - public final void rule__Interval__Group__4() throws RecognitionException { + // $ANTLR start "rule__Field__Group__4" + // InternalSolverLanguageParser.g:8666:1: rule__Field__Group__4 : rule__Field__Group__4__Impl rule__Field__Group__5 ; + public final void rule__Field__Group__4() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:7203:1: ( rule__Interval__Group__4__Impl ) - // InternalSolverLanguageParser.g:7204:2: rule__Interval__Group__4__Impl + // InternalSolverLanguageParser.g:8670:1: ( rule__Field__Group__4__Impl rule__Field__Group__5 ) + // InternalSolverLanguageParser.g:8671:2: rule__Field__Group__4__Impl rule__Field__Group__5 { + pushFollow(FOLLOW_61); + rule__Field__Group__4__Impl(); + + state._fsp--; + pushFollow(FOLLOW_2); - rule__Interval__Group__4__Impl(); + rule__Field__Group__5(); state._fsp--; @@ -22276,25 +26740,46 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Interval__Group__4" + // $ANTLR end "rule__Field__Group__4" - // $ANTLR start "rule__Interval__Group__4__Impl" - // InternalSolverLanguageParser.g:7210:1: rule__Interval__Group__4__Impl : ( RightSquareBracket ) ; - public final void rule__Interval__Group__4__Impl() throws RecognitionException { + // $ANTLR start "rule__Field__Group__4__Impl" + // InternalSolverLanguageParser.g:8678:1: rule__Field__Group__4__Impl : ( ( rule__Field__Group_4__0 )? ) ; + public final void rule__Field__Group__4__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:7214:1: ( ( RightSquareBracket ) ) - // InternalSolverLanguageParser.g:7215:1: ( RightSquareBracket ) + // InternalSolverLanguageParser.g:8682:1: ( ( ( rule__Field__Group_4__0 )? ) ) + // InternalSolverLanguageParser.g:8683:1: ( ( rule__Field__Group_4__0 )? ) { - // InternalSolverLanguageParser.g:7215:1: ( RightSquareBracket ) - // InternalSolverLanguageParser.g:7216:2: RightSquareBracket + // InternalSolverLanguageParser.g:8683:1: ( ( rule__Field__Group_4__0 )? ) + // InternalSolverLanguageParser.g:8684:2: ( rule__Field__Group_4__0 )? { - before(grammarAccess.getIntervalAccess().getRightSquareBracketKeyword_4()); - match(input,RightSquareBracket,FOLLOW_2); - after(grammarAccess.getIntervalAccess().getRightSquareBracketKeyword_4()); + before(grammarAccess.getFieldAccess().getGroup_4()); + // InternalSolverLanguageParser.g:8685:2: ( rule__Field__Group_4__0 )? + int alt61=2; + int LA61_0 = input.LA(1); + + if ( (LA61_0==Opposite) ) { + alt61=1; + } + switch (alt61) { + case 1 : + // InternalSolverLanguageParser.g:8685:3: rule__Field__Group_4__0 + { + pushFollow(FOLLOW_2); + rule__Field__Group_4__0(); + + state._fsp--; + + + } + break; + + } + + after(grammarAccess.getFieldAccess().getGroup_4()); } @@ -22313,26 +26798,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Interval__Group__4__Impl" + // $ANTLR end "rule__Field__Group__4__Impl" - // $ANTLR start "rule__InfinityLiteral__Group__0" - // InternalSolverLanguageParser.g:7226:1: rule__InfinityLiteral__Group__0 : rule__InfinityLiteral__Group__0__Impl rule__InfinityLiteral__Group__1 ; - public final void rule__InfinityLiteral__Group__0() throws RecognitionException { + // $ANTLR start "rule__Field__Group__5" + // InternalSolverLanguageParser.g:8693:1: rule__Field__Group__5 : rule__Field__Group__5__Impl ; + public final void rule__Field__Group__5() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:7230:1: ( rule__InfinityLiteral__Group__0__Impl rule__InfinityLiteral__Group__1 ) - // InternalSolverLanguageParser.g:7231:2: rule__InfinityLiteral__Group__0__Impl rule__InfinityLiteral__Group__1 + // InternalSolverLanguageParser.g:8697:1: ( rule__Field__Group__5__Impl ) + // InternalSolverLanguageParser.g:8698:2: rule__Field__Group__5__Impl { - pushFollow(FOLLOW_49); - rule__InfinityLiteral__Group__0__Impl(); - - state._fsp--; - pushFollow(FOLLOW_2); - rule__InfinityLiteral__Group__1(); + rule__Field__Group__5__Impl(); state._fsp--; @@ -22351,29 +26831,42 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__InfinityLiteral__Group__0" + // $ANTLR end "rule__Field__Group__5" - // $ANTLR start "rule__InfinityLiteral__Group__0__Impl" - // InternalSolverLanguageParser.g:7238:1: rule__InfinityLiteral__Group__0__Impl : ( () ) ; - public final void rule__InfinityLiteral__Group__0__Impl() throws RecognitionException { + // $ANTLR start "rule__Field__Group__5__Impl" + // InternalSolverLanguageParser.g:8704:1: rule__Field__Group__5__Impl : ( ( Semicolon )? ) ; + public final void rule__Field__Group__5__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:7242:1: ( ( () ) ) - // InternalSolverLanguageParser.g:7243:1: ( () ) + // InternalSolverLanguageParser.g:8708:1: ( ( ( Semicolon )? ) ) + // InternalSolverLanguageParser.g:8709:1: ( ( Semicolon )? ) { - // InternalSolverLanguageParser.g:7243:1: ( () ) - // InternalSolverLanguageParser.g:7244:2: () - { - before(grammarAccess.getInfinityLiteralAccess().getInfinityLiteralAction_0()); - // InternalSolverLanguageParser.g:7245:2: () - // InternalSolverLanguageParser.g:7245:3: + // InternalSolverLanguageParser.g:8709:1: ( ( Semicolon )? ) + // InternalSolverLanguageParser.g:8710:2: ( Semicolon )? { + before(grammarAccess.getFieldAccess().getSemicolonKeyword_5()); + // InternalSolverLanguageParser.g:8711:2: ( Semicolon )? + int alt62=2; + int LA62_0 = input.LA(1); + + if ( (LA62_0==Semicolon) ) { + alt62=1; } + switch (alt62) { + case 1 : + // InternalSolverLanguageParser.g:8711:3: Semicolon + { + match(input,Semicolon,FOLLOW_2); - after(grammarAccess.getInfinityLiteralAccess().getInfinityLiteralAction_0()); + } + break; + + } + + after(grammarAccess.getFieldAccess().getSemicolonKeyword_5()); } @@ -22381,6 +26874,10 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } finally { restoreStackSize(stackSize); @@ -22388,21 +26885,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__InfinityLiteral__Group__0__Impl" + // $ANTLR end "rule__Field__Group__5__Impl" - // $ANTLR start "rule__InfinityLiteral__Group__1" - // InternalSolverLanguageParser.g:7253:1: rule__InfinityLiteral__Group__1 : rule__InfinityLiteral__Group__1__Impl ; - public final void rule__InfinityLiteral__Group__1() throws RecognitionException { + // $ANTLR start "rule__Field__Group_4__0" + // InternalSolverLanguageParser.g:8720:1: rule__Field__Group_4__0 : rule__Field__Group_4__0__Impl rule__Field__Group_4__1 ; + public final void rule__Field__Group_4__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:7257:1: ( rule__InfinityLiteral__Group__1__Impl ) - // InternalSolverLanguageParser.g:7258:2: rule__InfinityLiteral__Group__1__Impl + // InternalSolverLanguageParser.g:8724:1: ( rule__Field__Group_4__0__Impl rule__Field__Group_4__1 ) + // InternalSolverLanguageParser.g:8725:2: rule__Field__Group_4__0__Impl rule__Field__Group_4__1 { + pushFollow(FOLLOW_6); + rule__Field__Group_4__0__Impl(); + + state._fsp--; + pushFollow(FOLLOW_2); - rule__InfinityLiteral__Group__1__Impl(); + rule__Field__Group_4__1(); state._fsp--; @@ -22421,25 +26923,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__InfinityLiteral__Group__1" + // $ANTLR end "rule__Field__Group_4__0" - // $ANTLR start "rule__InfinityLiteral__Group__1__Impl" - // InternalSolverLanguageParser.g:7264:1: rule__InfinityLiteral__Group__1__Impl : ( Inf ) ; - public final void rule__InfinityLiteral__Group__1__Impl() throws RecognitionException { + // $ANTLR start "rule__Field__Group_4__0__Impl" + // InternalSolverLanguageParser.g:8732:1: rule__Field__Group_4__0__Impl : ( Opposite ) ; + public final void rule__Field__Group_4__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:7268:1: ( ( Inf ) ) - // InternalSolverLanguageParser.g:7269:1: ( Inf ) + // InternalSolverLanguageParser.g:8736:1: ( ( Opposite ) ) + // InternalSolverLanguageParser.g:8737:1: ( Opposite ) { - // InternalSolverLanguageParser.g:7269:1: ( Inf ) - // InternalSolverLanguageParser.g:7270:2: Inf + // InternalSolverLanguageParser.g:8737:1: ( Opposite ) + // InternalSolverLanguageParser.g:8738:2: Opposite { - before(grammarAccess.getInfinityLiteralAccess().getInfKeyword_1()); - match(input,Inf,FOLLOW_2); - after(grammarAccess.getInfinityLiteralAccess().getInfKeyword_1()); + before(grammarAccess.getFieldAccess().getOppositeKeyword_4_0()); + match(input,Opposite,FOLLOW_2); + after(grammarAccess.getFieldAccess().getOppositeKeyword_4_0()); } @@ -22458,26 +26960,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__InfinityLiteral__Group__1__Impl" + // $ANTLR end "rule__Field__Group_4__0__Impl" - // $ANTLR start "rule__EmptyIntervalLiteral__Group__0" - // InternalSolverLanguageParser.g:7280:1: rule__EmptyIntervalLiteral__Group__0 : rule__EmptyIntervalLiteral__Group__0__Impl rule__EmptyIntervalLiteral__Group__1 ; - public final void rule__EmptyIntervalLiteral__Group__0() throws RecognitionException { + // $ANTLR start "rule__Field__Group_4__1" + // InternalSolverLanguageParser.g:8747:1: rule__Field__Group_4__1 : rule__Field__Group_4__1__Impl ; + public final void rule__Field__Group_4__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:7284:1: ( rule__EmptyIntervalLiteral__Group__0__Impl rule__EmptyIntervalLiteral__Group__1 ) - // InternalSolverLanguageParser.g:7285:2: rule__EmptyIntervalLiteral__Group__0__Impl rule__EmptyIntervalLiteral__Group__1 + // InternalSolverLanguageParser.g:8751:1: ( rule__Field__Group_4__1__Impl ) + // InternalSolverLanguageParser.g:8752:2: rule__Field__Group_4__1__Impl { - pushFollow(FOLLOW_50); - rule__EmptyIntervalLiteral__Group__0__Impl(); - - state._fsp--; - pushFollow(FOLLOW_2); - rule__EmptyIntervalLiteral__Group__1(); + rule__Field__Group_4__1__Impl(); state._fsp--; @@ -22496,29 +26993,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__EmptyIntervalLiteral__Group__0" + // $ANTLR end "rule__Field__Group_4__1" - // $ANTLR start "rule__EmptyIntervalLiteral__Group__0__Impl" - // InternalSolverLanguageParser.g:7292:1: rule__EmptyIntervalLiteral__Group__0__Impl : ( () ) ; - public final void rule__EmptyIntervalLiteral__Group__0__Impl() throws RecognitionException { + // $ANTLR start "rule__Field__Group_4__1__Impl" + // InternalSolverLanguageParser.g:8758:1: rule__Field__Group_4__1__Impl : ( ( rule__Field__OppositeAssignment_4_1 ) ) ; + public final void rule__Field__Group_4__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:7296:1: ( ( () ) ) - // InternalSolverLanguageParser.g:7297:1: ( () ) + // InternalSolverLanguageParser.g:8762:1: ( ( ( rule__Field__OppositeAssignment_4_1 ) ) ) + // InternalSolverLanguageParser.g:8763:1: ( ( rule__Field__OppositeAssignment_4_1 ) ) { - // InternalSolverLanguageParser.g:7297:1: ( () ) - // InternalSolverLanguageParser.g:7298:2: () + // InternalSolverLanguageParser.g:8763:1: ( ( rule__Field__OppositeAssignment_4_1 ) ) + // InternalSolverLanguageParser.g:8764:2: ( rule__Field__OppositeAssignment_4_1 ) { - before(grammarAccess.getEmptyIntervalLiteralAccess().getEmptyIntervalLiteralAction_0()); - // InternalSolverLanguageParser.g:7299:2: () - // InternalSolverLanguageParser.g:7299:3: + before(grammarAccess.getFieldAccess().getOppositeAssignment_4_1()); + // InternalSolverLanguageParser.g:8765:2: ( rule__Field__OppositeAssignment_4_1 ) + // InternalSolverLanguageParser.g:8765:3: rule__Field__OppositeAssignment_4_1 { + pushFollow(FOLLOW_2); + rule__Field__OppositeAssignment_4_1(); + + state._fsp--; + + } - after(grammarAccess.getEmptyIntervalLiteralAccess().getEmptyIntervalLiteralAction_0()); + after(grammarAccess.getFieldAccess().getOppositeAssignment_4_1()); } @@ -22526,6 +27029,10 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } finally { restoreStackSize(stackSize); @@ -22533,21 +27040,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__EmptyIntervalLiteral__Group__0__Impl" + // $ANTLR end "rule__Field__Group_4__1__Impl" - // $ANTLR start "rule__EmptyIntervalLiteral__Group__1" - // InternalSolverLanguageParser.g:7307:1: rule__EmptyIntervalLiteral__Group__1 : rule__EmptyIntervalLiteral__Group__1__Impl ; - public final void rule__EmptyIntervalLiteral__Group__1() throws RecognitionException { + // $ANTLR start "rule__UnboundedMultiplicity__Group__0" + // InternalSolverLanguageParser.g:8774:1: rule__UnboundedMultiplicity__Group__0 : rule__UnboundedMultiplicity__Group__0__Impl rule__UnboundedMultiplicity__Group__1 ; + public final void rule__UnboundedMultiplicity__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:7311:1: ( rule__EmptyIntervalLiteral__Group__1__Impl ) - // InternalSolverLanguageParser.g:7312:2: rule__EmptyIntervalLiteral__Group__1__Impl + // InternalSolverLanguageParser.g:8778:1: ( rule__UnboundedMultiplicity__Group__0__Impl rule__UnboundedMultiplicity__Group__1 ) + // InternalSolverLanguageParser.g:8779:2: rule__UnboundedMultiplicity__Group__0__Impl rule__UnboundedMultiplicity__Group__1 { + pushFollow(FOLLOW_62); + rule__UnboundedMultiplicity__Group__0__Impl(); + + state._fsp--; + pushFollow(FOLLOW_2); - rule__EmptyIntervalLiteral__Group__1__Impl(); + rule__UnboundedMultiplicity__Group__1(); state._fsp--; @@ -22566,25 +27078,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__EmptyIntervalLiteral__Group__1" + // $ANTLR end "rule__UnboundedMultiplicity__Group__0" - // $ANTLR start "rule__EmptyIntervalLiteral__Group__1__Impl" - // InternalSolverLanguageParser.g:7318:1: rule__EmptyIntervalLiteral__Group__1__Impl : ( Empty ) ; - public final void rule__EmptyIntervalLiteral__Group__1__Impl() throws RecognitionException { + // $ANTLR start "rule__UnboundedMultiplicity__Group__0__Impl" + // InternalSolverLanguageParser.g:8786:1: rule__UnboundedMultiplicity__Group__0__Impl : ( () ) ; + public final void rule__UnboundedMultiplicity__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:7322:1: ( ( Empty ) ) - // InternalSolverLanguageParser.g:7323:1: ( Empty ) + // InternalSolverLanguageParser.g:8790:1: ( ( () ) ) + // InternalSolverLanguageParser.g:8791:1: ( () ) { - // InternalSolverLanguageParser.g:7323:1: ( Empty ) - // InternalSolverLanguageParser.g:7324:2: Empty + // InternalSolverLanguageParser.g:8791:1: ( () ) + // InternalSolverLanguageParser.g:8792:2: () { - before(grammarAccess.getEmptyIntervalLiteralAccess().getEmptyKeyword_1()); - match(input,Empty,FOLLOW_2); - after(grammarAccess.getEmptyIntervalLiteralAccess().getEmptyKeyword_1()); + before(grammarAccess.getUnboundedMultiplicityAccess().getUnboundedMultiplicityAction_0()); + // InternalSolverLanguageParser.g:8793:2: () + // InternalSolverLanguageParser.g:8793:3: + { + } + + after(grammarAccess.getUnboundedMultiplicityAccess().getUnboundedMultiplicityAction_0()); } @@ -22592,10 +27108,6 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } finally { restoreStackSize(stackSize); @@ -22603,26 +27115,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__EmptyIntervalLiteral__Group__1__Impl" + // $ANTLR end "rule__UnboundedMultiplicity__Group__0__Impl" - // $ANTLR start "rule__ClassDefinition__Group__0" - // InternalSolverLanguageParser.g:7334:1: rule__ClassDefinition__Group__0 : rule__ClassDefinition__Group__0__Impl rule__ClassDefinition__Group__1 ; - public final void rule__ClassDefinition__Group__0() throws RecognitionException { + // $ANTLR start "rule__UnboundedMultiplicity__Group__1" + // InternalSolverLanguageParser.g:8801:1: rule__UnboundedMultiplicity__Group__1 : rule__UnboundedMultiplicity__Group__1__Impl rule__UnboundedMultiplicity__Group__2 ; + public final void rule__UnboundedMultiplicity__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:7338:1: ( rule__ClassDefinition__Group__0__Impl rule__ClassDefinition__Group__1 ) - // InternalSolverLanguageParser.g:7339:2: rule__ClassDefinition__Group__0__Impl rule__ClassDefinition__Group__1 + // InternalSolverLanguageParser.g:8805:1: ( rule__UnboundedMultiplicity__Group__1__Impl rule__UnboundedMultiplicity__Group__2 ) + // InternalSolverLanguageParser.g:8806:2: rule__UnboundedMultiplicity__Group__1__Impl rule__UnboundedMultiplicity__Group__2 { - pushFollow(FOLLOW_51); - rule__ClassDefinition__Group__0__Impl(); + pushFollow(FOLLOW_52); + rule__UnboundedMultiplicity__Group__1__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__ClassDefinition__Group__1(); + rule__UnboundedMultiplicity__Group__2(); state._fsp--; @@ -22641,46 +27153,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ClassDefinition__Group__0" - - - // $ANTLR start "rule__ClassDefinition__Group__0__Impl" - // InternalSolverLanguageParser.g:7346:1: rule__ClassDefinition__Group__0__Impl : ( ( rule__ClassDefinition__AbstractAssignment_0 )? ) ; - public final void rule__ClassDefinition__Group__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalSolverLanguageParser.g:7350:1: ( ( ( rule__ClassDefinition__AbstractAssignment_0 )? ) ) - // InternalSolverLanguageParser.g:7351:1: ( ( rule__ClassDefinition__AbstractAssignment_0 )? ) - { - // InternalSolverLanguageParser.g:7351:1: ( ( rule__ClassDefinition__AbstractAssignment_0 )? ) - // InternalSolverLanguageParser.g:7352:2: ( rule__ClassDefinition__AbstractAssignment_0 )? - { - before(grammarAccess.getClassDefinitionAccess().getAbstractAssignment_0()); - // InternalSolverLanguageParser.g:7353:2: ( rule__ClassDefinition__AbstractAssignment_0 )? - int alt51=2; - int LA51_0 = input.LA(1); - - if ( (LA51_0==Abstract) ) { - alt51=1; - } - switch (alt51) { - case 1 : - // InternalSolverLanguageParser.g:7353:3: rule__ClassDefinition__AbstractAssignment_0 - { - pushFollow(FOLLOW_2); - rule__ClassDefinition__AbstractAssignment_0(); - - state._fsp--; - + // $ANTLR end "rule__UnboundedMultiplicity__Group__1" - } - break; - } + // $ANTLR start "rule__UnboundedMultiplicity__Group__1__Impl" + // InternalSolverLanguageParser.g:8813:1: rule__UnboundedMultiplicity__Group__1__Impl : ( LeftSquareBracket ) ; + public final void rule__UnboundedMultiplicity__Group__1__Impl() throws RecognitionException { - after(grammarAccess.getClassDefinitionAccess().getAbstractAssignment_0()); + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:8817:1: ( ( LeftSquareBracket ) ) + // InternalSolverLanguageParser.g:8818:1: ( LeftSquareBracket ) + { + // InternalSolverLanguageParser.g:8818:1: ( LeftSquareBracket ) + // InternalSolverLanguageParser.g:8819:2: LeftSquareBracket + { + before(grammarAccess.getUnboundedMultiplicityAccess().getLeftSquareBracketKeyword_1()); + match(input,LeftSquareBracket,FOLLOW_2); + after(grammarAccess.getUnboundedMultiplicityAccess().getLeftSquareBracketKeyword_1()); } @@ -22699,26 +27190,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ClassDefinition__Group__0__Impl" + // $ANTLR end "rule__UnboundedMultiplicity__Group__1__Impl" - // $ANTLR start "rule__ClassDefinition__Group__1" - // InternalSolverLanguageParser.g:7361:1: rule__ClassDefinition__Group__1 : rule__ClassDefinition__Group__1__Impl rule__ClassDefinition__Group__2 ; - public final void rule__ClassDefinition__Group__1() throws RecognitionException { + // $ANTLR start "rule__UnboundedMultiplicity__Group__2" + // InternalSolverLanguageParser.g:8828:1: rule__UnboundedMultiplicity__Group__2 : rule__UnboundedMultiplicity__Group__2__Impl ; + public final void rule__UnboundedMultiplicity__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:7365:1: ( rule__ClassDefinition__Group__1__Impl rule__ClassDefinition__Group__2 ) - // InternalSolverLanguageParser.g:7366:2: rule__ClassDefinition__Group__1__Impl rule__ClassDefinition__Group__2 + // InternalSolverLanguageParser.g:8832:1: ( rule__UnboundedMultiplicity__Group__2__Impl ) + // InternalSolverLanguageParser.g:8833:2: rule__UnboundedMultiplicity__Group__2__Impl { - pushFollow(FOLLOW_21); - rule__ClassDefinition__Group__1__Impl(); - - state._fsp--; - pushFollow(FOLLOW_2); - rule__ClassDefinition__Group__2(); + rule__UnboundedMultiplicity__Group__2__Impl(); state._fsp--; @@ -22737,25 +27223,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ClassDefinition__Group__1" + // $ANTLR end "rule__UnboundedMultiplicity__Group__2" - // $ANTLR start "rule__ClassDefinition__Group__1__Impl" - // InternalSolverLanguageParser.g:7373:1: rule__ClassDefinition__Group__1__Impl : ( Class ) ; - public final void rule__ClassDefinition__Group__1__Impl() throws RecognitionException { + // $ANTLR start "rule__UnboundedMultiplicity__Group__2__Impl" + // InternalSolverLanguageParser.g:8839:1: rule__UnboundedMultiplicity__Group__2__Impl : ( RightSquareBracket ) ; + public final void rule__UnboundedMultiplicity__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:7377:1: ( ( Class ) ) - // InternalSolverLanguageParser.g:7378:1: ( Class ) + // InternalSolverLanguageParser.g:8843:1: ( ( RightSquareBracket ) ) + // InternalSolverLanguageParser.g:8844:1: ( RightSquareBracket ) { - // InternalSolverLanguageParser.g:7378:1: ( Class ) - // InternalSolverLanguageParser.g:7379:2: Class + // InternalSolverLanguageParser.g:8844:1: ( RightSquareBracket ) + // InternalSolverLanguageParser.g:8845:2: RightSquareBracket { - before(grammarAccess.getClassDefinitionAccess().getClassKeyword_1()); - match(input,Class,FOLLOW_2); - after(grammarAccess.getClassDefinitionAccess().getClassKeyword_1()); + before(grammarAccess.getUnboundedMultiplicityAccess().getRightSquareBracketKeyword_2()); + match(input,RightSquareBracket,FOLLOW_2); + after(grammarAccess.getUnboundedMultiplicityAccess().getRightSquareBracketKeyword_2()); } @@ -22774,26 +27260,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ClassDefinition__Group__1__Impl" + // $ANTLR end "rule__UnboundedMultiplicity__Group__2__Impl" - // $ANTLR start "rule__ClassDefinition__Group__2" - // InternalSolverLanguageParser.g:7388:1: rule__ClassDefinition__Group__2 : rule__ClassDefinition__Group__2__Impl rule__ClassDefinition__Group__3 ; - public final void rule__ClassDefinition__Group__2() throws RecognitionException { + // $ANTLR start "rule__ExactMultiplicity__Group__0" + // InternalSolverLanguageParser.g:8855:1: rule__ExactMultiplicity__Group__0 : rule__ExactMultiplicity__Group__0__Impl rule__ExactMultiplicity__Group__1 ; + public final void rule__ExactMultiplicity__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:7392:1: ( rule__ClassDefinition__Group__2__Impl rule__ClassDefinition__Group__3 ) - // InternalSolverLanguageParser.g:7393:2: rule__ClassDefinition__Group__2__Impl rule__ClassDefinition__Group__3 + // InternalSolverLanguageParser.g:8859:1: ( rule__ExactMultiplicity__Group__0__Impl rule__ExactMultiplicity__Group__1 ) + // InternalSolverLanguageParser.g:8860:2: rule__ExactMultiplicity__Group__0__Impl rule__ExactMultiplicity__Group__1 { - pushFollow(FOLLOW_52); - rule__ClassDefinition__Group__2__Impl(); + pushFollow(FOLLOW_63); + rule__ExactMultiplicity__Group__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__ClassDefinition__Group__3(); + rule__ExactMultiplicity__Group__1(); state._fsp--; @@ -22812,35 +27298,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ClassDefinition__Group__2" + // $ANTLR end "rule__ExactMultiplicity__Group__0" - // $ANTLR start "rule__ClassDefinition__Group__2__Impl" - // InternalSolverLanguageParser.g:7400:1: rule__ClassDefinition__Group__2__Impl : ( ( rule__ClassDefinition__NameAssignment_2 ) ) ; - public final void rule__ClassDefinition__Group__2__Impl() throws RecognitionException { + // $ANTLR start "rule__ExactMultiplicity__Group__0__Impl" + // InternalSolverLanguageParser.g:8867:1: rule__ExactMultiplicity__Group__0__Impl : ( LeftSquareBracket ) ; + public final void rule__ExactMultiplicity__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:7404:1: ( ( ( rule__ClassDefinition__NameAssignment_2 ) ) ) - // InternalSolverLanguageParser.g:7405:1: ( ( rule__ClassDefinition__NameAssignment_2 ) ) + // InternalSolverLanguageParser.g:8871:1: ( ( LeftSquareBracket ) ) + // InternalSolverLanguageParser.g:8872:1: ( LeftSquareBracket ) { - // InternalSolverLanguageParser.g:7405:1: ( ( rule__ClassDefinition__NameAssignment_2 ) ) - // InternalSolverLanguageParser.g:7406:2: ( rule__ClassDefinition__NameAssignment_2 ) + // InternalSolverLanguageParser.g:8872:1: ( LeftSquareBracket ) + // InternalSolverLanguageParser.g:8873:2: LeftSquareBracket { - before(grammarAccess.getClassDefinitionAccess().getNameAssignment_2()); - // InternalSolverLanguageParser.g:7407:2: ( rule__ClassDefinition__NameAssignment_2 ) - // InternalSolverLanguageParser.g:7407:3: rule__ClassDefinition__NameAssignment_2 - { - pushFollow(FOLLOW_2); - rule__ClassDefinition__NameAssignment_2(); - - state._fsp--; - - - } - - after(grammarAccess.getClassDefinitionAccess().getNameAssignment_2()); + before(grammarAccess.getExactMultiplicityAccess().getLeftSquareBracketKeyword_0()); + match(input,LeftSquareBracket,FOLLOW_2); + after(grammarAccess.getExactMultiplicityAccess().getLeftSquareBracketKeyword_0()); } @@ -22859,26 +27335,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ClassDefinition__Group__2__Impl" + // $ANTLR end "rule__ExactMultiplicity__Group__0__Impl" - // $ANTLR start "rule__ClassDefinition__Group__3" - // InternalSolverLanguageParser.g:7415:1: rule__ClassDefinition__Group__3 : rule__ClassDefinition__Group__3__Impl rule__ClassDefinition__Group__4 ; - public final void rule__ClassDefinition__Group__3() throws RecognitionException { + // $ANTLR start "rule__ExactMultiplicity__Group__1" + // InternalSolverLanguageParser.g:8882:1: rule__ExactMultiplicity__Group__1 : rule__ExactMultiplicity__Group__1__Impl rule__ExactMultiplicity__Group__2 ; + public final void rule__ExactMultiplicity__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:7419:1: ( rule__ClassDefinition__Group__3__Impl rule__ClassDefinition__Group__4 ) - // InternalSolverLanguageParser.g:7420:2: rule__ClassDefinition__Group__3__Impl rule__ClassDefinition__Group__4 + // InternalSolverLanguageParser.g:8886:1: ( rule__ExactMultiplicity__Group__1__Impl rule__ExactMultiplicity__Group__2 ) + // InternalSolverLanguageParser.g:8887:2: rule__ExactMultiplicity__Group__1__Impl rule__ExactMultiplicity__Group__2 { pushFollow(FOLLOW_52); - rule__ClassDefinition__Group__3__Impl(); + rule__ExactMultiplicity__Group__1__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__ClassDefinition__Group__4(); + rule__ExactMultiplicity__Group__2(); state._fsp--; @@ -22897,46 +27373,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ClassDefinition__Group__3" + // $ANTLR end "rule__ExactMultiplicity__Group__1" - // $ANTLR start "rule__ClassDefinition__Group__3__Impl" - // InternalSolverLanguageParser.g:7427:1: rule__ClassDefinition__Group__3__Impl : ( ( rule__ClassDefinition__Group_3__0 )? ) ; - public final void rule__ClassDefinition__Group__3__Impl() throws RecognitionException { + // $ANTLR start "rule__ExactMultiplicity__Group__1__Impl" + // InternalSolverLanguageParser.g:8894:1: rule__ExactMultiplicity__Group__1__Impl : ( ( rule__ExactMultiplicity__ValueAssignment_1 ) ) ; + public final void rule__ExactMultiplicity__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:7431:1: ( ( ( rule__ClassDefinition__Group_3__0 )? ) ) - // InternalSolverLanguageParser.g:7432:1: ( ( rule__ClassDefinition__Group_3__0 )? ) + // InternalSolverLanguageParser.g:8898:1: ( ( ( rule__ExactMultiplicity__ValueAssignment_1 ) ) ) + // InternalSolverLanguageParser.g:8899:1: ( ( rule__ExactMultiplicity__ValueAssignment_1 ) ) { - // InternalSolverLanguageParser.g:7432:1: ( ( rule__ClassDefinition__Group_3__0 )? ) - // InternalSolverLanguageParser.g:7433:2: ( rule__ClassDefinition__Group_3__0 )? + // InternalSolverLanguageParser.g:8899:1: ( ( rule__ExactMultiplicity__ValueAssignment_1 ) ) + // InternalSolverLanguageParser.g:8900:2: ( rule__ExactMultiplicity__ValueAssignment_1 ) { - before(grammarAccess.getClassDefinitionAccess().getGroup_3()); - // InternalSolverLanguageParser.g:7434:2: ( rule__ClassDefinition__Group_3__0 )? - int alt52=2; - int LA52_0 = input.LA(1); - - if ( (LA52_0==Extends) ) { - alt52=1; - } - switch (alt52) { - case 1 : - // InternalSolverLanguageParser.g:7434:3: rule__ClassDefinition__Group_3__0 - { - pushFollow(FOLLOW_2); - rule__ClassDefinition__Group_3__0(); - - state._fsp--; + before(grammarAccess.getExactMultiplicityAccess().getValueAssignment_1()); + // InternalSolverLanguageParser.g:8901:2: ( rule__ExactMultiplicity__ValueAssignment_1 ) + // InternalSolverLanguageParser.g:8901:3: rule__ExactMultiplicity__ValueAssignment_1 + { + pushFollow(FOLLOW_2); + rule__ExactMultiplicity__ValueAssignment_1(); + state._fsp--; - } - break; } - after(grammarAccess.getClassDefinitionAccess().getGroup_3()); + after(grammarAccess.getExactMultiplicityAccess().getValueAssignment_1()); } @@ -22955,26 +27420,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ClassDefinition__Group__3__Impl" + // $ANTLR end "rule__ExactMultiplicity__Group__1__Impl" - // $ANTLR start "rule__ClassDefinition__Group__4" - // InternalSolverLanguageParser.g:7442:1: rule__ClassDefinition__Group__4 : rule__ClassDefinition__Group__4__Impl rule__ClassDefinition__Group__5 ; - public final void rule__ClassDefinition__Group__4() throws RecognitionException { + // $ANTLR start "rule__ExactMultiplicity__Group__2" + // InternalSolverLanguageParser.g:8909:1: rule__ExactMultiplicity__Group__2 : rule__ExactMultiplicity__Group__2__Impl ; + public final void rule__ExactMultiplicity__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:7446:1: ( rule__ClassDefinition__Group__4__Impl rule__ClassDefinition__Group__5 ) - // InternalSolverLanguageParser.g:7447:2: rule__ClassDefinition__Group__4__Impl rule__ClassDefinition__Group__5 + // InternalSolverLanguageParser.g:8913:1: ( rule__ExactMultiplicity__Group__2__Impl ) + // InternalSolverLanguageParser.g:8914:2: rule__ExactMultiplicity__Group__2__Impl { - pushFollow(FOLLOW_53); - rule__ClassDefinition__Group__4__Impl(); - - state._fsp--; - pushFollow(FOLLOW_2); - rule__ClassDefinition__Group__5(); + rule__ExactMultiplicity__Group__2__Impl(); state._fsp--; @@ -22993,25 +27453,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ClassDefinition__Group__4" + // $ANTLR end "rule__ExactMultiplicity__Group__2" - // $ANTLR start "rule__ClassDefinition__Group__4__Impl" - // InternalSolverLanguageParser.g:7454:1: rule__ClassDefinition__Group__4__Impl : ( LeftCurlyBracket ) ; - public final void rule__ClassDefinition__Group__4__Impl() throws RecognitionException { + // $ANTLR start "rule__ExactMultiplicity__Group__2__Impl" + // InternalSolverLanguageParser.g:8920:1: rule__ExactMultiplicity__Group__2__Impl : ( RightSquareBracket ) ; + public final void rule__ExactMultiplicity__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:7458:1: ( ( LeftCurlyBracket ) ) - // InternalSolverLanguageParser.g:7459:1: ( LeftCurlyBracket ) + // InternalSolverLanguageParser.g:8924:1: ( ( RightSquareBracket ) ) + // InternalSolverLanguageParser.g:8925:1: ( RightSquareBracket ) { - // InternalSolverLanguageParser.g:7459:1: ( LeftCurlyBracket ) - // InternalSolverLanguageParser.g:7460:2: LeftCurlyBracket + // InternalSolverLanguageParser.g:8925:1: ( RightSquareBracket ) + // InternalSolverLanguageParser.g:8926:2: RightSquareBracket { - before(grammarAccess.getClassDefinitionAccess().getLeftCurlyBracketKeyword_4()); - match(input,LeftCurlyBracket,FOLLOW_2); - after(grammarAccess.getClassDefinitionAccess().getLeftCurlyBracketKeyword_4()); + before(grammarAccess.getExactMultiplicityAccess().getRightSquareBracketKeyword_2()); + match(input,RightSquareBracket,FOLLOW_2); + after(grammarAccess.getExactMultiplicityAccess().getRightSquareBracketKeyword_2()); } @@ -23030,26 +27490,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ClassDefinition__Group__4__Impl" + // $ANTLR end "rule__ExactMultiplicity__Group__2__Impl" - // $ANTLR start "rule__ClassDefinition__Group__5" - // InternalSolverLanguageParser.g:7469:1: rule__ClassDefinition__Group__5 : rule__ClassDefinition__Group__5__Impl rule__ClassDefinition__Group__6 ; - public final void rule__ClassDefinition__Group__5() throws RecognitionException { + // $ANTLR start "rule__BoundedMultiplicity__Group__0" + // InternalSolverLanguageParser.g:8936:1: rule__BoundedMultiplicity__Group__0 : rule__BoundedMultiplicity__Group__0__Impl rule__BoundedMultiplicity__Group__1 ; + public final void rule__BoundedMultiplicity__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:7473:1: ( rule__ClassDefinition__Group__5__Impl rule__ClassDefinition__Group__6 ) - // InternalSolverLanguageParser.g:7474:2: rule__ClassDefinition__Group__5__Impl rule__ClassDefinition__Group__6 + // InternalSolverLanguageParser.g:8940:1: ( rule__BoundedMultiplicity__Group__0__Impl rule__BoundedMultiplicity__Group__1 ) + // InternalSolverLanguageParser.g:8941:2: rule__BoundedMultiplicity__Group__0__Impl rule__BoundedMultiplicity__Group__1 { - pushFollow(FOLLOW_53); - rule__ClassDefinition__Group__5__Impl(); + pushFollow(FOLLOW_64); + rule__BoundedMultiplicity__Group__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__ClassDefinition__Group__6(); + rule__BoundedMultiplicity__Group__1(); state._fsp--; @@ -23068,53 +27528,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ClassDefinition__Group__5" + // $ANTLR end "rule__BoundedMultiplicity__Group__0" - // $ANTLR start "rule__ClassDefinition__Group__5__Impl" - // InternalSolverLanguageParser.g:7481:1: rule__ClassDefinition__Group__5__Impl : ( ( rule__ClassDefinition__MembersAssignment_5 )* ) ; - public final void rule__ClassDefinition__Group__5__Impl() throws RecognitionException { + // $ANTLR start "rule__BoundedMultiplicity__Group__0__Impl" + // InternalSolverLanguageParser.g:8948:1: rule__BoundedMultiplicity__Group__0__Impl : ( LeftSquareBracket ) ; + public final void rule__BoundedMultiplicity__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:7485:1: ( ( ( rule__ClassDefinition__MembersAssignment_5 )* ) ) - // InternalSolverLanguageParser.g:7486:1: ( ( rule__ClassDefinition__MembersAssignment_5 )* ) + // InternalSolverLanguageParser.g:8952:1: ( ( LeftSquareBracket ) ) + // InternalSolverLanguageParser.g:8953:1: ( LeftSquareBracket ) { - // InternalSolverLanguageParser.g:7486:1: ( ( rule__ClassDefinition__MembersAssignment_5 )* ) - // InternalSolverLanguageParser.g:7487:2: ( rule__ClassDefinition__MembersAssignment_5 )* + // InternalSolverLanguageParser.g:8953:1: ( LeftSquareBracket ) + // InternalSolverLanguageParser.g:8954:2: LeftSquareBracket { - before(grammarAccess.getClassDefinitionAccess().getMembersAssignment_5()); - // InternalSolverLanguageParser.g:7488:2: ( rule__ClassDefinition__MembersAssignment_5 )* - loop53: - do { - int alt53=2; - int LA53_0 = input.LA(1); - - if ( (LA53_0==Contains||LA53_0==RULE_QUOTED_ID||LA53_0==RULE_ID) ) { - alt53=1; - } - - - switch (alt53) { - case 1 : - // InternalSolverLanguageParser.g:7488:3: rule__ClassDefinition__MembersAssignment_5 - { - pushFollow(FOLLOW_54); - rule__ClassDefinition__MembersAssignment_5(); - - state._fsp--; - - - } - break; - - default : - break loop53; - } - } while (true); - - after(grammarAccess.getClassDefinitionAccess().getMembersAssignment_5()); + before(grammarAccess.getBoundedMultiplicityAccess().getLeftSquareBracketKeyword_0()); + match(input,LeftSquareBracket,FOLLOW_2); + after(grammarAccess.getBoundedMultiplicityAccess().getLeftSquareBracketKeyword_0()); } @@ -23133,21 +27565,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ClassDefinition__Group__5__Impl" + // $ANTLR end "rule__BoundedMultiplicity__Group__0__Impl" - // $ANTLR start "rule__ClassDefinition__Group__6" - // InternalSolverLanguageParser.g:7496:1: rule__ClassDefinition__Group__6 : rule__ClassDefinition__Group__6__Impl ; - public final void rule__ClassDefinition__Group__6() throws RecognitionException { + // $ANTLR start "rule__BoundedMultiplicity__Group__1" + // InternalSolverLanguageParser.g:8963:1: rule__BoundedMultiplicity__Group__1 : rule__BoundedMultiplicity__Group__1__Impl rule__BoundedMultiplicity__Group__2 ; + public final void rule__BoundedMultiplicity__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:7500:1: ( rule__ClassDefinition__Group__6__Impl ) - // InternalSolverLanguageParser.g:7501:2: rule__ClassDefinition__Group__6__Impl + // InternalSolverLanguageParser.g:8967:1: ( rule__BoundedMultiplicity__Group__1__Impl rule__BoundedMultiplicity__Group__2 ) + // InternalSolverLanguageParser.g:8968:2: rule__BoundedMultiplicity__Group__1__Impl rule__BoundedMultiplicity__Group__2 { + pushFollow(FOLLOW_35); + rule__BoundedMultiplicity__Group__1__Impl(); + + state._fsp--; + pushFollow(FOLLOW_2); - rule__ClassDefinition__Group__6__Impl(); + rule__BoundedMultiplicity__Group__2(); state._fsp--; @@ -23166,25 +27603,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ClassDefinition__Group__6" + // $ANTLR end "rule__BoundedMultiplicity__Group__1" - // $ANTLR start "rule__ClassDefinition__Group__6__Impl" - // InternalSolverLanguageParser.g:7507:1: rule__ClassDefinition__Group__6__Impl : ( RightCurlyBracket ) ; - public final void rule__ClassDefinition__Group__6__Impl() throws RecognitionException { + // $ANTLR start "rule__BoundedMultiplicity__Group__1__Impl" + // InternalSolverLanguageParser.g:8975:1: rule__BoundedMultiplicity__Group__1__Impl : ( ( rule__BoundedMultiplicity__LowerBoundAssignment_1 ) ) ; + public final void rule__BoundedMultiplicity__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:7511:1: ( ( RightCurlyBracket ) ) - // InternalSolverLanguageParser.g:7512:1: ( RightCurlyBracket ) + // InternalSolverLanguageParser.g:8979:1: ( ( ( rule__BoundedMultiplicity__LowerBoundAssignment_1 ) ) ) + // InternalSolverLanguageParser.g:8980:1: ( ( rule__BoundedMultiplicity__LowerBoundAssignment_1 ) ) { - // InternalSolverLanguageParser.g:7512:1: ( RightCurlyBracket ) - // InternalSolverLanguageParser.g:7513:2: RightCurlyBracket + // InternalSolverLanguageParser.g:8980:1: ( ( rule__BoundedMultiplicity__LowerBoundAssignment_1 ) ) + // InternalSolverLanguageParser.g:8981:2: ( rule__BoundedMultiplicity__LowerBoundAssignment_1 ) { - before(grammarAccess.getClassDefinitionAccess().getRightCurlyBracketKeyword_6()); - match(input,RightCurlyBracket,FOLLOW_2); - after(grammarAccess.getClassDefinitionAccess().getRightCurlyBracketKeyword_6()); + before(grammarAccess.getBoundedMultiplicityAccess().getLowerBoundAssignment_1()); + // InternalSolverLanguageParser.g:8982:2: ( rule__BoundedMultiplicity__LowerBoundAssignment_1 ) + // InternalSolverLanguageParser.g:8982:3: rule__BoundedMultiplicity__LowerBoundAssignment_1 + { + pushFollow(FOLLOW_2); + rule__BoundedMultiplicity__LowerBoundAssignment_1(); + + state._fsp--; + + + } + + after(grammarAccess.getBoundedMultiplicityAccess().getLowerBoundAssignment_1()); } @@ -23203,26 +27650,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ClassDefinition__Group__6__Impl" + // $ANTLR end "rule__BoundedMultiplicity__Group__1__Impl" - // $ANTLR start "rule__ClassDefinition__Group_3__0" - // InternalSolverLanguageParser.g:7523:1: rule__ClassDefinition__Group_3__0 : rule__ClassDefinition__Group_3__0__Impl rule__ClassDefinition__Group_3__1 ; - public final void rule__ClassDefinition__Group_3__0() throws RecognitionException { + // $ANTLR start "rule__BoundedMultiplicity__Group__2" + // InternalSolverLanguageParser.g:8990:1: rule__BoundedMultiplicity__Group__2 : rule__BoundedMultiplicity__Group__2__Impl rule__BoundedMultiplicity__Group__3 ; + public final void rule__BoundedMultiplicity__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:7527:1: ( rule__ClassDefinition__Group_3__0__Impl rule__ClassDefinition__Group_3__1 ) - // InternalSolverLanguageParser.g:7528:2: rule__ClassDefinition__Group_3__0__Impl rule__ClassDefinition__Group_3__1 + // InternalSolverLanguageParser.g:8994:1: ( rule__BoundedMultiplicity__Group__2__Impl rule__BoundedMultiplicity__Group__3 ) + // InternalSolverLanguageParser.g:8995:2: rule__BoundedMultiplicity__Group__2__Impl rule__BoundedMultiplicity__Group__3 { - pushFollow(FOLLOW_9); - rule__ClassDefinition__Group_3__0__Impl(); + pushFollow(FOLLOW_63); + rule__BoundedMultiplicity__Group__2__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__ClassDefinition__Group_3__1(); + rule__BoundedMultiplicity__Group__3(); state._fsp--; @@ -23241,25 +27688,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ClassDefinition__Group_3__0" + // $ANTLR end "rule__BoundedMultiplicity__Group__2" - // $ANTLR start "rule__ClassDefinition__Group_3__0__Impl" - // InternalSolverLanguageParser.g:7535:1: rule__ClassDefinition__Group_3__0__Impl : ( Extends ) ; - public final void rule__ClassDefinition__Group_3__0__Impl() throws RecognitionException { + // $ANTLR start "rule__BoundedMultiplicity__Group__2__Impl" + // InternalSolverLanguageParser.g:9002:1: rule__BoundedMultiplicity__Group__2__Impl : ( Comma ) ; + public final void rule__BoundedMultiplicity__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:7539:1: ( ( Extends ) ) - // InternalSolverLanguageParser.g:7540:1: ( Extends ) + // InternalSolverLanguageParser.g:9006:1: ( ( Comma ) ) + // InternalSolverLanguageParser.g:9007:1: ( Comma ) { - // InternalSolverLanguageParser.g:7540:1: ( Extends ) - // InternalSolverLanguageParser.g:7541:2: Extends + // InternalSolverLanguageParser.g:9007:1: ( Comma ) + // InternalSolverLanguageParser.g:9008:2: Comma { - before(grammarAccess.getClassDefinitionAccess().getExtendsKeyword_3_0()); - match(input,Extends,FOLLOW_2); - after(grammarAccess.getClassDefinitionAccess().getExtendsKeyword_3_0()); + before(grammarAccess.getBoundedMultiplicityAccess().getCommaKeyword_2()); + match(input,Comma,FOLLOW_2); + after(grammarAccess.getBoundedMultiplicityAccess().getCommaKeyword_2()); } @@ -23278,26 +27725,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ClassDefinition__Group_3__0__Impl" + // $ANTLR end "rule__BoundedMultiplicity__Group__2__Impl" - // $ANTLR start "rule__ClassDefinition__Group_3__1" - // InternalSolverLanguageParser.g:7550:1: rule__ClassDefinition__Group_3__1 : rule__ClassDefinition__Group_3__1__Impl rule__ClassDefinition__Group_3__2 ; - public final void rule__ClassDefinition__Group_3__1() throws RecognitionException { + // $ANTLR start "rule__BoundedMultiplicity__Group__3" + // InternalSolverLanguageParser.g:9017:1: rule__BoundedMultiplicity__Group__3 : rule__BoundedMultiplicity__Group__3__Impl rule__BoundedMultiplicity__Group__4 ; + public final void rule__BoundedMultiplicity__Group__3() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:7554:1: ( rule__ClassDefinition__Group_3__1__Impl rule__ClassDefinition__Group_3__2 ) - // InternalSolverLanguageParser.g:7555:2: rule__ClassDefinition__Group_3__1__Impl rule__ClassDefinition__Group_3__2 + // InternalSolverLanguageParser.g:9021:1: ( rule__BoundedMultiplicity__Group__3__Impl rule__BoundedMultiplicity__Group__4 ) + // InternalSolverLanguageParser.g:9022:2: rule__BoundedMultiplicity__Group__3__Impl rule__BoundedMultiplicity__Group__4 { - pushFollow(FOLLOW_19); - rule__ClassDefinition__Group_3__1__Impl(); + pushFollow(FOLLOW_52); + rule__BoundedMultiplicity__Group__3__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__ClassDefinition__Group_3__2(); + rule__BoundedMultiplicity__Group__4(); state._fsp--; @@ -23316,35 +27763,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ClassDefinition__Group_3__1" + // $ANTLR end "rule__BoundedMultiplicity__Group__3" - // $ANTLR start "rule__ClassDefinition__Group_3__1__Impl" - // InternalSolverLanguageParser.g:7562:1: rule__ClassDefinition__Group_3__1__Impl : ( ( rule__ClassDefinition__SuperclassesAssignment_3_1 ) ) ; - public final void rule__ClassDefinition__Group_3__1__Impl() throws RecognitionException { + // $ANTLR start "rule__BoundedMultiplicity__Group__3__Impl" + // InternalSolverLanguageParser.g:9029:1: rule__BoundedMultiplicity__Group__3__Impl : ( ( rule__BoundedMultiplicity__UpperBoundAssignment_3 ) ) ; + public final void rule__BoundedMultiplicity__Group__3__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:7566:1: ( ( ( rule__ClassDefinition__SuperclassesAssignment_3_1 ) ) ) - // InternalSolverLanguageParser.g:7567:1: ( ( rule__ClassDefinition__SuperclassesAssignment_3_1 ) ) + // InternalSolverLanguageParser.g:9033:1: ( ( ( rule__BoundedMultiplicity__UpperBoundAssignment_3 ) ) ) + // InternalSolverLanguageParser.g:9034:1: ( ( rule__BoundedMultiplicity__UpperBoundAssignment_3 ) ) { - // InternalSolverLanguageParser.g:7567:1: ( ( rule__ClassDefinition__SuperclassesAssignment_3_1 ) ) - // InternalSolverLanguageParser.g:7568:2: ( rule__ClassDefinition__SuperclassesAssignment_3_1 ) + // InternalSolverLanguageParser.g:9034:1: ( ( rule__BoundedMultiplicity__UpperBoundAssignment_3 ) ) + // InternalSolverLanguageParser.g:9035:2: ( rule__BoundedMultiplicity__UpperBoundAssignment_3 ) { - before(grammarAccess.getClassDefinitionAccess().getSuperclassesAssignment_3_1()); - // InternalSolverLanguageParser.g:7569:2: ( rule__ClassDefinition__SuperclassesAssignment_3_1 ) - // InternalSolverLanguageParser.g:7569:3: rule__ClassDefinition__SuperclassesAssignment_3_1 + before(grammarAccess.getBoundedMultiplicityAccess().getUpperBoundAssignment_3()); + // InternalSolverLanguageParser.g:9036:2: ( rule__BoundedMultiplicity__UpperBoundAssignment_3 ) + // InternalSolverLanguageParser.g:9036:3: rule__BoundedMultiplicity__UpperBoundAssignment_3 { pushFollow(FOLLOW_2); - rule__ClassDefinition__SuperclassesAssignment_3_1(); + rule__BoundedMultiplicity__UpperBoundAssignment_3(); state._fsp--; } - after(grammarAccess.getClassDefinitionAccess().getSuperclassesAssignment_3_1()); + after(grammarAccess.getBoundedMultiplicityAccess().getUpperBoundAssignment_3()); } @@ -23363,21 +27810,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ClassDefinition__Group_3__1__Impl" + // $ANTLR end "rule__BoundedMultiplicity__Group__3__Impl" - // $ANTLR start "rule__ClassDefinition__Group_3__2" - // InternalSolverLanguageParser.g:7577:1: rule__ClassDefinition__Group_3__2 : rule__ClassDefinition__Group_3__2__Impl ; - public final void rule__ClassDefinition__Group_3__2() throws RecognitionException { + // $ANTLR start "rule__BoundedMultiplicity__Group__4" + // InternalSolverLanguageParser.g:9044:1: rule__BoundedMultiplicity__Group__4 : rule__BoundedMultiplicity__Group__4__Impl ; + public final void rule__BoundedMultiplicity__Group__4() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:7581:1: ( rule__ClassDefinition__Group_3__2__Impl ) - // InternalSolverLanguageParser.g:7582:2: rule__ClassDefinition__Group_3__2__Impl + // InternalSolverLanguageParser.g:9048:1: ( rule__BoundedMultiplicity__Group__4__Impl ) + // InternalSolverLanguageParser.g:9049:2: rule__BoundedMultiplicity__Group__4__Impl { pushFollow(FOLLOW_2); - rule__ClassDefinition__Group_3__2__Impl(); + rule__BoundedMultiplicity__Group__4__Impl(); state._fsp--; @@ -23396,53 +27843,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ClassDefinition__Group_3__2" + // $ANTLR end "rule__BoundedMultiplicity__Group__4" - // $ANTLR start "rule__ClassDefinition__Group_3__2__Impl" - // InternalSolverLanguageParser.g:7588:1: rule__ClassDefinition__Group_3__2__Impl : ( ( rule__ClassDefinition__Group_3_2__0 )* ) ; - public final void rule__ClassDefinition__Group_3__2__Impl() throws RecognitionException { + // $ANTLR start "rule__BoundedMultiplicity__Group__4__Impl" + // InternalSolverLanguageParser.g:9055:1: rule__BoundedMultiplicity__Group__4__Impl : ( RightSquareBracket ) ; + public final void rule__BoundedMultiplicity__Group__4__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:7592:1: ( ( ( rule__ClassDefinition__Group_3_2__0 )* ) ) - // InternalSolverLanguageParser.g:7593:1: ( ( rule__ClassDefinition__Group_3_2__0 )* ) + // InternalSolverLanguageParser.g:9059:1: ( ( RightSquareBracket ) ) + // InternalSolverLanguageParser.g:9060:1: ( RightSquareBracket ) { - // InternalSolverLanguageParser.g:7593:1: ( ( rule__ClassDefinition__Group_3_2__0 )* ) - // InternalSolverLanguageParser.g:7594:2: ( rule__ClassDefinition__Group_3_2__0 )* + // InternalSolverLanguageParser.g:9060:1: ( RightSquareBracket ) + // InternalSolverLanguageParser.g:9061:2: RightSquareBracket { - before(grammarAccess.getClassDefinitionAccess().getGroup_3_2()); - // InternalSolverLanguageParser.g:7595:2: ( rule__ClassDefinition__Group_3_2__0 )* - loop54: - do { - int alt54=2; - int LA54_0 = input.LA(1); - - if ( (LA54_0==Comma) ) { - alt54=1; - } - - - switch (alt54) { - case 1 : - // InternalSolverLanguageParser.g:7595:3: rule__ClassDefinition__Group_3_2__0 - { - pushFollow(FOLLOW_20); - rule__ClassDefinition__Group_3_2__0(); - - state._fsp--; - - - } - break; - - default : - break loop54; - } - } while (true); - - after(grammarAccess.getClassDefinitionAccess().getGroup_3_2()); + before(grammarAccess.getBoundedMultiplicityAccess().getRightSquareBracketKeyword_4()); + match(input,RightSquareBracket,FOLLOW_2); + after(grammarAccess.getBoundedMultiplicityAccess().getRightSquareBracketKeyword_4()); } @@ -23461,26 +27880,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ClassDefinition__Group_3__2__Impl" + // $ANTLR end "rule__BoundedMultiplicity__Group__4__Impl" - // $ANTLR start "rule__ClassDefinition__Group_3_2__0" - // InternalSolverLanguageParser.g:7604:1: rule__ClassDefinition__Group_3_2__0 : rule__ClassDefinition__Group_3_2__0__Impl rule__ClassDefinition__Group_3_2__1 ; - public final void rule__ClassDefinition__Group_3_2__0() throws RecognitionException { + // $ANTLR start "rule__EnumDeclaration__Group__0" + // InternalSolverLanguageParser.g:9071:1: rule__EnumDeclaration__Group__0 : rule__EnumDeclaration__Group__0__Impl rule__EnumDeclaration__Group__1 ; + public final void rule__EnumDeclaration__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:7608:1: ( rule__ClassDefinition__Group_3_2__0__Impl rule__ClassDefinition__Group_3_2__1 ) - // InternalSolverLanguageParser.g:7609:2: rule__ClassDefinition__Group_3_2__0__Impl rule__ClassDefinition__Group_3_2__1 + // InternalSolverLanguageParser.g:9075:1: ( rule__EnumDeclaration__Group__0__Impl rule__EnumDeclaration__Group__1 ) + // InternalSolverLanguageParser.g:9076:2: rule__EnumDeclaration__Group__0__Impl rule__EnumDeclaration__Group__1 { - pushFollow(FOLLOW_9); - rule__ClassDefinition__Group_3_2__0__Impl(); + pushFollow(FOLLOW_48); + rule__EnumDeclaration__Group__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__ClassDefinition__Group_3_2__1(); + rule__EnumDeclaration__Group__1(); state._fsp--; @@ -23499,25 +27918,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ClassDefinition__Group_3_2__0" + // $ANTLR end "rule__EnumDeclaration__Group__0" - // $ANTLR start "rule__ClassDefinition__Group_3_2__0__Impl" - // InternalSolverLanguageParser.g:7616:1: rule__ClassDefinition__Group_3_2__0__Impl : ( Comma ) ; - public final void rule__ClassDefinition__Group_3_2__0__Impl() throws RecognitionException { + // $ANTLR start "rule__EnumDeclaration__Group__0__Impl" + // InternalSolverLanguageParser.g:9083:1: rule__EnumDeclaration__Group__0__Impl : ( Enum ) ; + public final void rule__EnumDeclaration__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:7620:1: ( ( Comma ) ) - // InternalSolverLanguageParser.g:7621:1: ( Comma ) + // InternalSolverLanguageParser.g:9087:1: ( ( Enum ) ) + // InternalSolverLanguageParser.g:9088:1: ( Enum ) { - // InternalSolverLanguageParser.g:7621:1: ( Comma ) - // InternalSolverLanguageParser.g:7622:2: Comma + // InternalSolverLanguageParser.g:9088:1: ( Enum ) + // InternalSolverLanguageParser.g:9089:2: Enum { - before(grammarAccess.getClassDefinitionAccess().getCommaKeyword_3_2_0()); - match(input,Comma,FOLLOW_2); - after(grammarAccess.getClassDefinitionAccess().getCommaKeyword_3_2_0()); + before(grammarAccess.getEnumDeclarationAccess().getEnumKeyword_0()); + match(input,Enum,FOLLOW_2); + after(grammarAccess.getEnumDeclarationAccess().getEnumKeyword_0()); } @@ -23536,21 +27955,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ClassDefinition__Group_3_2__0__Impl" + // $ANTLR end "rule__EnumDeclaration__Group__0__Impl" - // $ANTLR start "rule__ClassDefinition__Group_3_2__1" - // InternalSolverLanguageParser.g:7631:1: rule__ClassDefinition__Group_3_2__1 : rule__ClassDefinition__Group_3_2__1__Impl ; - public final void rule__ClassDefinition__Group_3_2__1() throws RecognitionException { + // $ANTLR start "rule__EnumDeclaration__Group__1" + // InternalSolverLanguageParser.g:9098:1: rule__EnumDeclaration__Group__1 : rule__EnumDeclaration__Group__1__Impl rule__EnumDeclaration__Group__2 ; + public final void rule__EnumDeclaration__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:7635:1: ( rule__ClassDefinition__Group_3_2__1__Impl ) - // InternalSolverLanguageParser.g:7636:2: rule__ClassDefinition__Group_3_2__1__Impl + // InternalSolverLanguageParser.g:9102:1: ( rule__EnumDeclaration__Group__1__Impl rule__EnumDeclaration__Group__2 ) + // InternalSolverLanguageParser.g:9103:2: rule__EnumDeclaration__Group__1__Impl rule__EnumDeclaration__Group__2 { + pushFollow(FOLLOW_65); + rule__EnumDeclaration__Group__1__Impl(); + + state._fsp--; + pushFollow(FOLLOW_2); - rule__ClassDefinition__Group_3_2__1__Impl(); + rule__EnumDeclaration__Group__2(); state._fsp--; @@ -23569,35 +27993,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ClassDefinition__Group_3_2__1" + // $ANTLR end "rule__EnumDeclaration__Group__1" - // $ANTLR start "rule__ClassDefinition__Group_3_2__1__Impl" - // InternalSolverLanguageParser.g:7642:1: rule__ClassDefinition__Group_3_2__1__Impl : ( ( rule__ClassDefinition__SuperclassesAssignment_3_2_1 ) ) ; - public final void rule__ClassDefinition__Group_3_2__1__Impl() throws RecognitionException { + // $ANTLR start "rule__EnumDeclaration__Group__1__Impl" + // InternalSolverLanguageParser.g:9110:1: rule__EnumDeclaration__Group__1__Impl : ( ( rule__EnumDeclaration__NameAssignment_1 ) ) ; + public final void rule__EnumDeclaration__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:7646:1: ( ( ( rule__ClassDefinition__SuperclassesAssignment_3_2_1 ) ) ) - // InternalSolverLanguageParser.g:7647:1: ( ( rule__ClassDefinition__SuperclassesAssignment_3_2_1 ) ) + // InternalSolverLanguageParser.g:9114:1: ( ( ( rule__EnumDeclaration__NameAssignment_1 ) ) ) + // InternalSolverLanguageParser.g:9115:1: ( ( rule__EnumDeclaration__NameAssignment_1 ) ) { - // InternalSolverLanguageParser.g:7647:1: ( ( rule__ClassDefinition__SuperclassesAssignment_3_2_1 ) ) - // InternalSolverLanguageParser.g:7648:2: ( rule__ClassDefinition__SuperclassesAssignment_3_2_1 ) + // InternalSolverLanguageParser.g:9115:1: ( ( rule__EnumDeclaration__NameAssignment_1 ) ) + // InternalSolverLanguageParser.g:9116:2: ( rule__EnumDeclaration__NameAssignment_1 ) { - before(grammarAccess.getClassDefinitionAccess().getSuperclassesAssignment_3_2_1()); - // InternalSolverLanguageParser.g:7649:2: ( rule__ClassDefinition__SuperclassesAssignment_3_2_1 ) - // InternalSolverLanguageParser.g:7649:3: rule__ClassDefinition__SuperclassesAssignment_3_2_1 + before(grammarAccess.getEnumDeclarationAccess().getNameAssignment_1()); + // InternalSolverLanguageParser.g:9117:2: ( rule__EnumDeclaration__NameAssignment_1 ) + // InternalSolverLanguageParser.g:9117:3: rule__EnumDeclaration__NameAssignment_1 { pushFollow(FOLLOW_2); - rule__ClassDefinition__SuperclassesAssignment_3_2_1(); + rule__EnumDeclaration__NameAssignment_1(); state._fsp--; } - after(grammarAccess.getClassDefinitionAccess().getSuperclassesAssignment_3_2_1()); + after(grammarAccess.getEnumDeclarationAccess().getNameAssignment_1()); } @@ -23616,26 +28040,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ClassDefinition__Group_3_2__1__Impl" + // $ANTLR end "rule__EnumDeclaration__Group__1__Impl" - // $ANTLR start "rule__MemberDefinition__Group__0" - // InternalSolverLanguageParser.g:7658:1: rule__MemberDefinition__Group__0 : rule__MemberDefinition__Group__0__Impl rule__MemberDefinition__Group__1 ; - public final void rule__MemberDefinition__Group__0() throws RecognitionException { + // $ANTLR start "rule__EnumDeclaration__Group__2" + // InternalSolverLanguageParser.g:9125:1: rule__EnumDeclaration__Group__2 : rule__EnumDeclaration__Group__2__Impl ; + public final void rule__EnumDeclaration__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:7662:1: ( rule__MemberDefinition__Group__0__Impl rule__MemberDefinition__Group__1 ) - // InternalSolverLanguageParser.g:7663:2: rule__MemberDefinition__Group__0__Impl rule__MemberDefinition__Group__1 + // InternalSolverLanguageParser.g:9129:1: ( rule__EnumDeclaration__Group__2__Impl ) + // InternalSolverLanguageParser.g:9130:2: rule__EnumDeclaration__Group__2__Impl { - pushFollow(FOLLOW_55); - rule__MemberDefinition__Group__0__Impl(); - - state._fsp--; - pushFollow(FOLLOW_2); - rule__MemberDefinition__Group__1(); + rule__EnumDeclaration__Group__2__Impl(); state._fsp--; @@ -23654,46 +28073,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__MemberDefinition__Group__0" + // $ANTLR end "rule__EnumDeclaration__Group__2" - // $ANTLR start "rule__MemberDefinition__Group__0__Impl" - // InternalSolverLanguageParser.g:7670:1: rule__MemberDefinition__Group__0__Impl : ( ( rule__MemberDefinition__ContainmentAssignment_0 )? ) ; - public final void rule__MemberDefinition__Group__0__Impl() throws RecognitionException { + // $ANTLR start "rule__EnumDeclaration__Group__2__Impl" + // InternalSolverLanguageParser.g:9136:1: rule__EnumDeclaration__Group__2__Impl : ( ( rule__EnumDeclaration__Alternatives_2 ) ) ; + public final void rule__EnumDeclaration__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:7674:1: ( ( ( rule__MemberDefinition__ContainmentAssignment_0 )? ) ) - // InternalSolverLanguageParser.g:7675:1: ( ( rule__MemberDefinition__ContainmentAssignment_0 )? ) + // InternalSolverLanguageParser.g:9140:1: ( ( ( rule__EnumDeclaration__Alternatives_2 ) ) ) + // InternalSolverLanguageParser.g:9141:1: ( ( rule__EnumDeclaration__Alternatives_2 ) ) { - // InternalSolverLanguageParser.g:7675:1: ( ( rule__MemberDefinition__ContainmentAssignment_0 )? ) - // InternalSolverLanguageParser.g:7676:2: ( rule__MemberDefinition__ContainmentAssignment_0 )? + // InternalSolverLanguageParser.g:9141:1: ( ( rule__EnumDeclaration__Alternatives_2 ) ) + // InternalSolverLanguageParser.g:9142:2: ( rule__EnumDeclaration__Alternatives_2 ) { - before(grammarAccess.getMemberDefinitionAccess().getContainmentAssignment_0()); - // InternalSolverLanguageParser.g:7677:2: ( rule__MemberDefinition__ContainmentAssignment_0 )? - int alt55=2; - int LA55_0 = input.LA(1); - - if ( (LA55_0==Contains) ) { - alt55=1; - } - switch (alt55) { - case 1 : - // InternalSolverLanguageParser.g:7677:3: rule__MemberDefinition__ContainmentAssignment_0 - { - pushFollow(FOLLOW_2); - rule__MemberDefinition__ContainmentAssignment_0(); - - state._fsp--; + before(grammarAccess.getEnumDeclarationAccess().getAlternatives_2()); + // InternalSolverLanguageParser.g:9143:2: ( rule__EnumDeclaration__Alternatives_2 ) + // InternalSolverLanguageParser.g:9143:3: rule__EnumDeclaration__Alternatives_2 + { + pushFollow(FOLLOW_2); + rule__EnumDeclaration__Alternatives_2(); + state._fsp--; - } - break; } - after(grammarAccess.getMemberDefinitionAccess().getContainmentAssignment_0()); + after(grammarAccess.getEnumDeclarationAccess().getAlternatives_2()); } @@ -23712,26 +28120,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__MemberDefinition__Group__0__Impl" + // $ANTLR end "rule__EnumDeclaration__Group__2__Impl" - // $ANTLR start "rule__MemberDefinition__Group__1" - // InternalSolverLanguageParser.g:7685:1: rule__MemberDefinition__Group__1 : rule__MemberDefinition__Group__1__Impl rule__MemberDefinition__Group__2 ; - public final void rule__MemberDefinition__Group__1() throws RecognitionException { + // $ANTLR start "rule__EnumDeclaration__Group_2_0__0" + // InternalSolverLanguageParser.g:9152:1: rule__EnumDeclaration__Group_2_0__0 : rule__EnumDeclaration__Group_2_0__0__Impl rule__EnumDeclaration__Group_2_0__1 ; + public final void rule__EnumDeclaration__Group_2_0__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:7689:1: ( rule__MemberDefinition__Group__1__Impl rule__MemberDefinition__Group__2 ) - // InternalSolverLanguageParser.g:7690:2: rule__MemberDefinition__Group__1__Impl rule__MemberDefinition__Group__2 + // InternalSolverLanguageParser.g:9156:1: ( rule__EnumDeclaration__Group_2_0__0__Impl rule__EnumDeclaration__Group_2_0__1 ) + // InternalSolverLanguageParser.g:9157:2: rule__EnumDeclaration__Group_2_0__0__Impl rule__EnumDeclaration__Group_2_0__1 { - pushFollow(FOLLOW_56); - rule__MemberDefinition__Group__1__Impl(); + pushFollow(FOLLOW_66); + rule__EnumDeclaration__Group_2_0__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__MemberDefinition__Group__2(); + rule__EnumDeclaration__Group_2_0__1(); state._fsp--; @@ -23750,35 +28158,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__MemberDefinition__Group__1" + // $ANTLR end "rule__EnumDeclaration__Group_2_0__0" - // $ANTLR start "rule__MemberDefinition__Group__1__Impl" - // InternalSolverLanguageParser.g:7697:1: rule__MemberDefinition__Group__1__Impl : ( ( rule__MemberDefinition__TypeAssignment_1 ) ) ; - public final void rule__MemberDefinition__Group__1__Impl() throws RecognitionException { + // $ANTLR start "rule__EnumDeclaration__Group_2_0__0__Impl" + // InternalSolverLanguageParser.g:9164:1: rule__EnumDeclaration__Group_2_0__0__Impl : ( LeftCurlyBracket ) ; + public final void rule__EnumDeclaration__Group_2_0__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:7701:1: ( ( ( rule__MemberDefinition__TypeAssignment_1 ) ) ) - // InternalSolverLanguageParser.g:7702:1: ( ( rule__MemberDefinition__TypeAssignment_1 ) ) + // InternalSolverLanguageParser.g:9168:1: ( ( LeftCurlyBracket ) ) + // InternalSolverLanguageParser.g:9169:1: ( LeftCurlyBracket ) { - // InternalSolverLanguageParser.g:7702:1: ( ( rule__MemberDefinition__TypeAssignment_1 ) ) - // InternalSolverLanguageParser.g:7703:2: ( rule__MemberDefinition__TypeAssignment_1 ) + // InternalSolverLanguageParser.g:9169:1: ( LeftCurlyBracket ) + // InternalSolverLanguageParser.g:9170:2: LeftCurlyBracket { - before(grammarAccess.getMemberDefinitionAccess().getTypeAssignment_1()); - // InternalSolverLanguageParser.g:7704:2: ( rule__MemberDefinition__TypeAssignment_1 ) - // InternalSolverLanguageParser.g:7704:3: rule__MemberDefinition__TypeAssignment_1 - { - pushFollow(FOLLOW_2); - rule__MemberDefinition__TypeAssignment_1(); - - state._fsp--; - - - } - - after(grammarAccess.getMemberDefinitionAccess().getTypeAssignment_1()); + before(grammarAccess.getEnumDeclarationAccess().getLeftCurlyBracketKeyword_2_0_0()); + match(input,LeftCurlyBracket,FOLLOW_2); + after(grammarAccess.getEnumDeclarationAccess().getLeftCurlyBracketKeyword_2_0_0()); } @@ -23797,26 +28195,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__MemberDefinition__Group__1__Impl" + // $ANTLR end "rule__EnumDeclaration__Group_2_0__0__Impl" - // $ANTLR start "rule__MemberDefinition__Group__2" - // InternalSolverLanguageParser.g:7712:1: rule__MemberDefinition__Group__2 : rule__MemberDefinition__Group__2__Impl rule__MemberDefinition__Group__3 ; - public final void rule__MemberDefinition__Group__2() throws RecognitionException { + // $ANTLR start "rule__EnumDeclaration__Group_2_0__1" + // InternalSolverLanguageParser.g:9179:1: rule__EnumDeclaration__Group_2_0__1 : rule__EnumDeclaration__Group_2_0__1__Impl rule__EnumDeclaration__Group_2_0__2 ; + public final void rule__EnumDeclaration__Group_2_0__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:7716:1: ( rule__MemberDefinition__Group__2__Impl rule__MemberDefinition__Group__3 ) - // InternalSolverLanguageParser.g:7717:2: rule__MemberDefinition__Group__2__Impl rule__MemberDefinition__Group__3 + // InternalSolverLanguageParser.g:9183:1: ( rule__EnumDeclaration__Group_2_0__1__Impl rule__EnumDeclaration__Group_2_0__2 ) + // InternalSolverLanguageParser.g:9184:2: rule__EnumDeclaration__Group_2_0__1__Impl rule__EnumDeclaration__Group_2_0__2 { - pushFollow(FOLLOW_56); - rule__MemberDefinition__Group__2__Impl(); + pushFollow(FOLLOW_66); + rule__EnumDeclaration__Group_2_0__1__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__MemberDefinition__Group__3(); + rule__EnumDeclaration__Group_2_0__2(); state._fsp--; @@ -23835,36 +28233,36 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__MemberDefinition__Group__2" + // $ANTLR end "rule__EnumDeclaration__Group_2_0__1" - // $ANTLR start "rule__MemberDefinition__Group__2__Impl" - // InternalSolverLanguageParser.g:7724:1: rule__MemberDefinition__Group__2__Impl : ( ( rule__MemberDefinition__MultiplicityAssignment_2 )? ) ; - public final void rule__MemberDefinition__Group__2__Impl() throws RecognitionException { + // $ANTLR start "rule__EnumDeclaration__Group_2_0__1__Impl" + // InternalSolverLanguageParser.g:9191:1: rule__EnumDeclaration__Group_2_0__1__Impl : ( ( rule__EnumDeclaration__Group_2_0_1__0 )? ) ; + public final void rule__EnumDeclaration__Group_2_0__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:7728:1: ( ( ( rule__MemberDefinition__MultiplicityAssignment_2 )? ) ) - // InternalSolverLanguageParser.g:7729:1: ( ( rule__MemberDefinition__MultiplicityAssignment_2 )? ) + // InternalSolverLanguageParser.g:9195:1: ( ( ( rule__EnumDeclaration__Group_2_0_1__0 )? ) ) + // InternalSolverLanguageParser.g:9196:1: ( ( rule__EnumDeclaration__Group_2_0_1__0 )? ) { - // InternalSolverLanguageParser.g:7729:1: ( ( rule__MemberDefinition__MultiplicityAssignment_2 )? ) - // InternalSolverLanguageParser.g:7730:2: ( rule__MemberDefinition__MultiplicityAssignment_2 )? + // InternalSolverLanguageParser.g:9196:1: ( ( rule__EnumDeclaration__Group_2_0_1__0 )? ) + // InternalSolverLanguageParser.g:9197:2: ( rule__EnumDeclaration__Group_2_0_1__0 )? { - before(grammarAccess.getMemberDefinitionAccess().getMultiplicityAssignment_2()); - // InternalSolverLanguageParser.g:7731:2: ( rule__MemberDefinition__MultiplicityAssignment_2 )? - int alt56=2; - int LA56_0 = input.LA(1); + before(grammarAccess.getEnumDeclarationAccess().getGroup_2_0_1()); + // InternalSolverLanguageParser.g:9198:2: ( rule__EnumDeclaration__Group_2_0_1__0 )? + int alt63=2; + int LA63_0 = input.LA(1); - if ( (LA56_0==LeftSquareBracket) ) { - alt56=1; + if ( (LA63_0==RULE_ID) ) { + alt63=1; } - switch (alt56) { + switch (alt63) { case 1 : - // InternalSolverLanguageParser.g:7731:3: rule__MemberDefinition__MultiplicityAssignment_2 + // InternalSolverLanguageParser.g:9198:3: rule__EnumDeclaration__Group_2_0_1__0 { pushFollow(FOLLOW_2); - rule__MemberDefinition__MultiplicityAssignment_2(); + rule__EnumDeclaration__Group_2_0_1__0(); state._fsp--; @@ -23874,7 +28272,7 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } - after(grammarAccess.getMemberDefinitionAccess().getMultiplicityAssignment_2()); + after(grammarAccess.getEnumDeclarationAccess().getGroup_2_0_1()); } @@ -23893,26 +28291,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__MemberDefinition__Group__2__Impl" + // $ANTLR end "rule__EnumDeclaration__Group_2_0__1__Impl" - // $ANTLR start "rule__MemberDefinition__Group__3" - // InternalSolverLanguageParser.g:7739:1: rule__MemberDefinition__Group__3 : rule__MemberDefinition__Group__3__Impl rule__MemberDefinition__Group__4 ; - public final void rule__MemberDefinition__Group__3() throws RecognitionException { + // $ANTLR start "rule__EnumDeclaration__Group_2_0__2" + // InternalSolverLanguageParser.g:9206:1: rule__EnumDeclaration__Group_2_0__2 : rule__EnumDeclaration__Group_2_0__2__Impl ; + public final void rule__EnumDeclaration__Group_2_0__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:7743:1: ( rule__MemberDefinition__Group__3__Impl rule__MemberDefinition__Group__4 ) - // InternalSolverLanguageParser.g:7744:2: rule__MemberDefinition__Group__3__Impl rule__MemberDefinition__Group__4 + // InternalSolverLanguageParser.g:9210:1: ( rule__EnumDeclaration__Group_2_0__2__Impl ) + // InternalSolverLanguageParser.g:9211:2: rule__EnumDeclaration__Group_2_0__2__Impl { - pushFollow(FOLLOW_57); - rule__MemberDefinition__Group__3__Impl(); - - state._fsp--; - pushFollow(FOLLOW_2); - rule__MemberDefinition__Group__4(); + rule__EnumDeclaration__Group_2_0__2__Impl(); state._fsp--; @@ -23931,35 +28324,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__MemberDefinition__Group__3" + // $ANTLR end "rule__EnumDeclaration__Group_2_0__2" - // $ANTLR start "rule__MemberDefinition__Group__3__Impl" - // InternalSolverLanguageParser.g:7751:1: rule__MemberDefinition__Group__3__Impl : ( ( rule__MemberDefinition__NameAssignment_3 ) ) ; - public final void rule__MemberDefinition__Group__3__Impl() throws RecognitionException { + // $ANTLR start "rule__EnumDeclaration__Group_2_0__2__Impl" + // InternalSolverLanguageParser.g:9217:1: rule__EnumDeclaration__Group_2_0__2__Impl : ( RightCurlyBracket ) ; + public final void rule__EnumDeclaration__Group_2_0__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:7755:1: ( ( ( rule__MemberDefinition__NameAssignment_3 ) ) ) - // InternalSolverLanguageParser.g:7756:1: ( ( rule__MemberDefinition__NameAssignment_3 ) ) + // InternalSolverLanguageParser.g:9221:1: ( ( RightCurlyBracket ) ) + // InternalSolverLanguageParser.g:9222:1: ( RightCurlyBracket ) { - // InternalSolverLanguageParser.g:7756:1: ( ( rule__MemberDefinition__NameAssignment_3 ) ) - // InternalSolverLanguageParser.g:7757:2: ( rule__MemberDefinition__NameAssignment_3 ) + // InternalSolverLanguageParser.g:9222:1: ( RightCurlyBracket ) + // InternalSolverLanguageParser.g:9223:2: RightCurlyBracket { - before(grammarAccess.getMemberDefinitionAccess().getNameAssignment_3()); - // InternalSolverLanguageParser.g:7758:2: ( rule__MemberDefinition__NameAssignment_3 ) - // InternalSolverLanguageParser.g:7758:3: rule__MemberDefinition__NameAssignment_3 - { - pushFollow(FOLLOW_2); - rule__MemberDefinition__NameAssignment_3(); - - state._fsp--; - - - } - - after(grammarAccess.getMemberDefinitionAccess().getNameAssignment_3()); + before(grammarAccess.getEnumDeclarationAccess().getRightCurlyBracketKeyword_2_0_2()); + match(input,RightCurlyBracket,FOLLOW_2); + after(grammarAccess.getEnumDeclarationAccess().getRightCurlyBracketKeyword_2_0_2()); } @@ -23978,26 +28361,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__MemberDefinition__Group__3__Impl" + // $ANTLR end "rule__EnumDeclaration__Group_2_0__2__Impl" - // $ANTLR start "rule__MemberDefinition__Group__4" - // InternalSolverLanguageParser.g:7766:1: rule__MemberDefinition__Group__4 : rule__MemberDefinition__Group__4__Impl rule__MemberDefinition__Group__5 ; - public final void rule__MemberDefinition__Group__4() throws RecognitionException { + // $ANTLR start "rule__EnumDeclaration__Group_2_0_1__0" + // InternalSolverLanguageParser.g:9233:1: rule__EnumDeclaration__Group_2_0_1__0 : rule__EnumDeclaration__Group_2_0_1__0__Impl rule__EnumDeclaration__Group_2_0_1__1 ; + public final void rule__EnumDeclaration__Group_2_0_1__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:7770:1: ( rule__MemberDefinition__Group__4__Impl rule__MemberDefinition__Group__5 ) - // InternalSolverLanguageParser.g:7771:2: rule__MemberDefinition__Group__4__Impl rule__MemberDefinition__Group__5 + // InternalSolverLanguageParser.g:9237:1: ( rule__EnumDeclaration__Group_2_0_1__0__Impl rule__EnumDeclaration__Group_2_0_1__1 ) + // InternalSolverLanguageParser.g:9238:2: rule__EnumDeclaration__Group_2_0_1__0__Impl rule__EnumDeclaration__Group_2_0_1__1 { - pushFollow(FOLLOW_57); - rule__MemberDefinition__Group__4__Impl(); + pushFollow(FOLLOW_67); + rule__EnumDeclaration__Group_2_0_1__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__MemberDefinition__Group__5(); + rule__EnumDeclaration__Group_2_0_1__1(); state._fsp--; @@ -24016,46 +28399,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__MemberDefinition__Group__4" + // $ANTLR end "rule__EnumDeclaration__Group_2_0_1__0" - // $ANTLR start "rule__MemberDefinition__Group__4__Impl" - // InternalSolverLanguageParser.g:7778:1: rule__MemberDefinition__Group__4__Impl : ( ( rule__MemberDefinition__Group_4__0 )? ) ; - public final void rule__MemberDefinition__Group__4__Impl() throws RecognitionException { + // $ANTLR start "rule__EnumDeclaration__Group_2_0_1__0__Impl" + // InternalSolverLanguageParser.g:9245:1: rule__EnumDeclaration__Group_2_0_1__0__Impl : ( ( rule__EnumDeclaration__LiteralsAssignment_2_0_1_0 ) ) ; + public final void rule__EnumDeclaration__Group_2_0_1__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:7782:1: ( ( ( rule__MemberDefinition__Group_4__0 )? ) ) - // InternalSolverLanguageParser.g:7783:1: ( ( rule__MemberDefinition__Group_4__0 )? ) + // InternalSolverLanguageParser.g:9249:1: ( ( ( rule__EnumDeclaration__LiteralsAssignment_2_0_1_0 ) ) ) + // InternalSolverLanguageParser.g:9250:1: ( ( rule__EnumDeclaration__LiteralsAssignment_2_0_1_0 ) ) { - // InternalSolverLanguageParser.g:7783:1: ( ( rule__MemberDefinition__Group_4__0 )? ) - // InternalSolverLanguageParser.g:7784:2: ( rule__MemberDefinition__Group_4__0 )? + // InternalSolverLanguageParser.g:9250:1: ( ( rule__EnumDeclaration__LiteralsAssignment_2_0_1_0 ) ) + // InternalSolverLanguageParser.g:9251:2: ( rule__EnumDeclaration__LiteralsAssignment_2_0_1_0 ) { - before(grammarAccess.getMemberDefinitionAccess().getGroup_4()); - // InternalSolverLanguageParser.g:7785:2: ( rule__MemberDefinition__Group_4__0 )? - int alt57=2; - int LA57_0 = input.LA(1); - - if ( (LA57_0==Opposite) ) { - alt57=1; - } - switch (alt57) { - case 1 : - // InternalSolverLanguageParser.g:7785:3: rule__MemberDefinition__Group_4__0 - { - pushFollow(FOLLOW_2); - rule__MemberDefinition__Group_4__0(); - - state._fsp--; + before(grammarAccess.getEnumDeclarationAccess().getLiteralsAssignment_2_0_1_0()); + // InternalSolverLanguageParser.g:9252:2: ( rule__EnumDeclaration__LiteralsAssignment_2_0_1_0 ) + // InternalSolverLanguageParser.g:9252:3: rule__EnumDeclaration__LiteralsAssignment_2_0_1_0 + { + pushFollow(FOLLOW_2); + rule__EnumDeclaration__LiteralsAssignment_2_0_1_0(); + state._fsp--; - } - break; } - after(grammarAccess.getMemberDefinitionAccess().getGroup_4()); + after(grammarAccess.getEnumDeclarationAccess().getLiteralsAssignment_2_0_1_0()); } @@ -24074,21 +28446,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__MemberDefinition__Group__4__Impl" + // $ANTLR end "rule__EnumDeclaration__Group_2_0_1__0__Impl" - // $ANTLR start "rule__MemberDefinition__Group__5" - // InternalSolverLanguageParser.g:7793:1: rule__MemberDefinition__Group__5 : rule__MemberDefinition__Group__5__Impl ; - public final void rule__MemberDefinition__Group__5() throws RecognitionException { + // $ANTLR start "rule__EnumDeclaration__Group_2_0_1__1" + // InternalSolverLanguageParser.g:9260:1: rule__EnumDeclaration__Group_2_0_1__1 : rule__EnumDeclaration__Group_2_0_1__1__Impl ; + public final void rule__EnumDeclaration__Group_2_0_1__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:7797:1: ( rule__MemberDefinition__Group__5__Impl ) - // InternalSolverLanguageParser.g:7798:2: rule__MemberDefinition__Group__5__Impl + // InternalSolverLanguageParser.g:9264:1: ( rule__EnumDeclaration__Group_2_0_1__1__Impl ) + // InternalSolverLanguageParser.g:9265:2: rule__EnumDeclaration__Group_2_0_1__1__Impl { pushFollow(FOLLOW_2); - rule__MemberDefinition__Group__5__Impl(); + rule__EnumDeclaration__Group_2_0_1__1__Impl(); state._fsp--; @@ -24107,42 +28479,53 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__MemberDefinition__Group__5" + // $ANTLR end "rule__EnumDeclaration__Group_2_0_1__1" - // $ANTLR start "rule__MemberDefinition__Group__5__Impl" - // InternalSolverLanguageParser.g:7804:1: rule__MemberDefinition__Group__5__Impl : ( ( Semicolon )? ) ; - public final void rule__MemberDefinition__Group__5__Impl() throws RecognitionException { + // $ANTLR start "rule__EnumDeclaration__Group_2_0_1__1__Impl" + // InternalSolverLanguageParser.g:9271:1: rule__EnumDeclaration__Group_2_0_1__1__Impl : ( ( rule__EnumDeclaration__Group_2_0_1_1__0 )* ) ; + public final void rule__EnumDeclaration__Group_2_0_1__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:7808:1: ( ( ( Semicolon )? ) ) - // InternalSolverLanguageParser.g:7809:1: ( ( Semicolon )? ) + // InternalSolverLanguageParser.g:9275:1: ( ( ( rule__EnumDeclaration__Group_2_0_1_1__0 )* ) ) + // InternalSolverLanguageParser.g:9276:1: ( ( rule__EnumDeclaration__Group_2_0_1_1__0 )* ) { - // InternalSolverLanguageParser.g:7809:1: ( ( Semicolon )? ) - // InternalSolverLanguageParser.g:7810:2: ( Semicolon )? + // InternalSolverLanguageParser.g:9276:1: ( ( rule__EnumDeclaration__Group_2_0_1_1__0 )* ) + // InternalSolverLanguageParser.g:9277:2: ( rule__EnumDeclaration__Group_2_0_1_1__0 )* { - before(grammarAccess.getMemberDefinitionAccess().getSemicolonKeyword_5()); - // InternalSolverLanguageParser.g:7811:2: ( Semicolon )? - int alt58=2; - int LA58_0 = input.LA(1); + before(grammarAccess.getEnumDeclarationAccess().getGroup_2_0_1_1()); + // InternalSolverLanguageParser.g:9278:2: ( rule__EnumDeclaration__Group_2_0_1_1__0 )* + loop64: + do { + int alt64=2; + int LA64_0 = input.LA(1); + + if ( (LA64_0==Comma||LA64_0==RULE_ID) ) { + alt64=1; + } + + + switch (alt64) { + case 1 : + // InternalSolverLanguageParser.g:9278:3: rule__EnumDeclaration__Group_2_0_1_1__0 + { + pushFollow(FOLLOW_68); + rule__EnumDeclaration__Group_2_0_1_1__0(); - if ( (LA58_0==Semicolon) ) { - alt58=1; - } - switch (alt58) { - case 1 : - // InternalSolverLanguageParser.g:7811:3: Semicolon - { - match(input,Semicolon,FOLLOW_2); + state._fsp--; - } - break; - } + } + break; + + default : + break loop64; + } + } while (true); - after(grammarAccess.getMemberDefinitionAccess().getSemicolonKeyword_5()); + after(grammarAccess.getEnumDeclarationAccess().getGroup_2_0_1_1()); } @@ -24161,26 +28544,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__MemberDefinition__Group__5__Impl" + // $ANTLR end "rule__EnumDeclaration__Group_2_0_1__1__Impl" - // $ANTLR start "rule__MemberDefinition__Group_4__0" - // InternalSolverLanguageParser.g:7820:1: rule__MemberDefinition__Group_4__0 : rule__MemberDefinition__Group_4__0__Impl rule__MemberDefinition__Group_4__1 ; - public final void rule__MemberDefinition__Group_4__0() throws RecognitionException { + // $ANTLR start "rule__EnumDeclaration__Group_2_0_1_1__0" + // InternalSolverLanguageParser.g:9287:1: rule__EnumDeclaration__Group_2_0_1_1__0 : rule__EnumDeclaration__Group_2_0_1_1__0__Impl rule__EnumDeclaration__Group_2_0_1_1__1 ; + public final void rule__EnumDeclaration__Group_2_0_1_1__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:7824:1: ( rule__MemberDefinition__Group_4__0__Impl rule__MemberDefinition__Group_4__1 ) - // InternalSolverLanguageParser.g:7825:2: rule__MemberDefinition__Group_4__0__Impl rule__MemberDefinition__Group_4__1 + // InternalSolverLanguageParser.g:9291:1: ( rule__EnumDeclaration__Group_2_0_1_1__0__Impl rule__EnumDeclaration__Group_2_0_1_1__1 ) + // InternalSolverLanguageParser.g:9292:2: rule__EnumDeclaration__Group_2_0_1_1__0__Impl rule__EnumDeclaration__Group_2_0_1_1__1 { - pushFollow(FOLLOW_9); - rule__MemberDefinition__Group_4__0__Impl(); + pushFollow(FOLLOW_67); + rule__EnumDeclaration__Group_2_0_1_1__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__MemberDefinition__Group_4__1(); + rule__EnumDeclaration__Group_2_0_1_1__1(); state._fsp--; @@ -24199,25 +28582,42 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__MemberDefinition__Group_4__0" + // $ANTLR end "rule__EnumDeclaration__Group_2_0_1_1__0" - // $ANTLR start "rule__MemberDefinition__Group_4__0__Impl" - // InternalSolverLanguageParser.g:7832:1: rule__MemberDefinition__Group_4__0__Impl : ( Opposite ) ; - public final void rule__MemberDefinition__Group_4__0__Impl() throws RecognitionException { + // $ANTLR start "rule__EnumDeclaration__Group_2_0_1_1__0__Impl" + // InternalSolverLanguageParser.g:9299:1: rule__EnumDeclaration__Group_2_0_1_1__0__Impl : ( ( Comma )? ) ; + public final void rule__EnumDeclaration__Group_2_0_1_1__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:7836:1: ( ( Opposite ) ) - // InternalSolverLanguageParser.g:7837:1: ( Opposite ) + // InternalSolverLanguageParser.g:9303:1: ( ( ( Comma )? ) ) + // InternalSolverLanguageParser.g:9304:1: ( ( Comma )? ) { - // InternalSolverLanguageParser.g:7837:1: ( Opposite ) - // InternalSolverLanguageParser.g:7838:2: Opposite + // InternalSolverLanguageParser.g:9304:1: ( ( Comma )? ) + // InternalSolverLanguageParser.g:9305:2: ( Comma )? { - before(grammarAccess.getMemberDefinitionAccess().getOppositeKeyword_4_0()); - match(input,Opposite,FOLLOW_2); - after(grammarAccess.getMemberDefinitionAccess().getOppositeKeyword_4_0()); + before(grammarAccess.getEnumDeclarationAccess().getCommaKeyword_2_0_1_1_0()); + // InternalSolverLanguageParser.g:9306:2: ( Comma )? + int alt65=2; + int LA65_0 = input.LA(1); + + if ( (LA65_0==Comma) ) { + alt65=1; + } + switch (alt65) { + case 1 : + // InternalSolverLanguageParser.g:9306:3: Comma + { + match(input,Comma,FOLLOW_2); + + } + break; + + } + + after(grammarAccess.getEnumDeclarationAccess().getCommaKeyword_2_0_1_1_0()); } @@ -24236,21 +28636,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__MemberDefinition__Group_4__0__Impl" + // $ANTLR end "rule__EnumDeclaration__Group_2_0_1_1__0__Impl" - // $ANTLR start "rule__MemberDefinition__Group_4__1" - // InternalSolverLanguageParser.g:7847:1: rule__MemberDefinition__Group_4__1 : rule__MemberDefinition__Group_4__1__Impl ; - public final void rule__MemberDefinition__Group_4__1() throws RecognitionException { + // $ANTLR start "rule__EnumDeclaration__Group_2_0_1_1__1" + // InternalSolverLanguageParser.g:9314:1: rule__EnumDeclaration__Group_2_0_1_1__1 : rule__EnumDeclaration__Group_2_0_1_1__1__Impl ; + public final void rule__EnumDeclaration__Group_2_0_1_1__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:7851:1: ( rule__MemberDefinition__Group_4__1__Impl ) - // InternalSolverLanguageParser.g:7852:2: rule__MemberDefinition__Group_4__1__Impl + // InternalSolverLanguageParser.g:9318:1: ( rule__EnumDeclaration__Group_2_0_1_1__1__Impl ) + // InternalSolverLanguageParser.g:9319:2: rule__EnumDeclaration__Group_2_0_1_1__1__Impl { pushFollow(FOLLOW_2); - rule__MemberDefinition__Group_4__1__Impl(); + rule__EnumDeclaration__Group_2_0_1_1__1__Impl(); state._fsp--; @@ -24269,35 +28669,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__MemberDefinition__Group_4__1" + // $ANTLR end "rule__EnumDeclaration__Group_2_0_1_1__1" - // $ANTLR start "rule__MemberDefinition__Group_4__1__Impl" - // InternalSolverLanguageParser.g:7858:1: rule__MemberDefinition__Group_4__1__Impl : ( ( rule__MemberDefinition__OppositeAssignment_4_1 ) ) ; - public final void rule__MemberDefinition__Group_4__1__Impl() throws RecognitionException { + // $ANTLR start "rule__EnumDeclaration__Group_2_0_1_1__1__Impl" + // InternalSolverLanguageParser.g:9325:1: rule__EnumDeclaration__Group_2_0_1_1__1__Impl : ( ( rule__EnumDeclaration__LiteralsAssignment_2_0_1_1_1 ) ) ; + public final void rule__EnumDeclaration__Group_2_0_1_1__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:7862:1: ( ( ( rule__MemberDefinition__OppositeAssignment_4_1 ) ) ) - // InternalSolverLanguageParser.g:7863:1: ( ( rule__MemberDefinition__OppositeAssignment_4_1 ) ) + // InternalSolverLanguageParser.g:9329:1: ( ( ( rule__EnumDeclaration__LiteralsAssignment_2_0_1_1_1 ) ) ) + // InternalSolverLanguageParser.g:9330:1: ( ( rule__EnumDeclaration__LiteralsAssignment_2_0_1_1_1 ) ) { - // InternalSolverLanguageParser.g:7863:1: ( ( rule__MemberDefinition__OppositeAssignment_4_1 ) ) - // InternalSolverLanguageParser.g:7864:2: ( rule__MemberDefinition__OppositeAssignment_4_1 ) + // InternalSolverLanguageParser.g:9330:1: ( ( rule__EnumDeclaration__LiteralsAssignment_2_0_1_1_1 ) ) + // InternalSolverLanguageParser.g:9331:2: ( rule__EnumDeclaration__LiteralsAssignment_2_0_1_1_1 ) { - before(grammarAccess.getMemberDefinitionAccess().getOppositeAssignment_4_1()); - // InternalSolverLanguageParser.g:7865:2: ( rule__MemberDefinition__OppositeAssignment_4_1 ) - // InternalSolverLanguageParser.g:7865:3: rule__MemberDefinition__OppositeAssignment_4_1 + before(grammarAccess.getEnumDeclarationAccess().getLiteralsAssignment_2_0_1_1_1()); + // InternalSolverLanguageParser.g:9332:2: ( rule__EnumDeclaration__LiteralsAssignment_2_0_1_1_1 ) + // InternalSolverLanguageParser.g:9332:3: rule__EnumDeclaration__LiteralsAssignment_2_0_1_1_1 { pushFollow(FOLLOW_2); - rule__MemberDefinition__OppositeAssignment_4_1(); + rule__EnumDeclaration__LiteralsAssignment_2_0_1_1_1(); state._fsp--; } - after(grammarAccess.getMemberDefinitionAccess().getOppositeAssignment_4_1()); + after(grammarAccess.getEnumDeclarationAccess().getLiteralsAssignment_2_0_1_1_1()); } @@ -24316,26 +28716,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__MemberDefinition__Group_4__1__Impl" + // $ANTLR end "rule__EnumDeclaration__Group_2_0_1_1__1__Impl" - // $ANTLR start "rule__ManyMultiplicity__Group__0" - // InternalSolverLanguageParser.g:7874:1: rule__ManyMultiplicity__Group__0 : rule__ManyMultiplicity__Group__0__Impl rule__ManyMultiplicity__Group__1 ; - public final void rule__ManyMultiplicity__Group__0() throws RecognitionException { + // $ANTLR start "rule__ExactScope__Group__0" + // InternalSolverLanguageParser.g:9341:1: rule__ExactScope__Group__0 : rule__ExactScope__Group__0__Impl rule__ExactScope__Group__1 ; + public final void rule__ExactScope__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:7878:1: ( rule__ManyMultiplicity__Group__0__Impl rule__ManyMultiplicity__Group__1 ) - // InternalSolverLanguageParser.g:7879:2: rule__ManyMultiplicity__Group__0__Impl rule__ManyMultiplicity__Group__1 + // InternalSolverLanguageParser.g:9345:1: ( rule__ExactScope__Group__0__Impl rule__ExactScope__Group__1 ) + // InternalSolverLanguageParser.g:9346:2: rule__ExactScope__Group__0__Impl rule__ExactScope__Group__1 { - pushFollow(FOLLOW_38); - rule__ManyMultiplicity__Group__0__Impl(); + pushFollow(FOLLOW_6); + rule__ExactScope__Group__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__ManyMultiplicity__Group__1(); + rule__ExactScope__Group__1(); state._fsp--; @@ -24354,29 +28754,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ManyMultiplicity__Group__0" + // $ANTLR end "rule__ExactScope__Group__0" - // $ANTLR start "rule__ManyMultiplicity__Group__0__Impl" - // InternalSolverLanguageParser.g:7886:1: rule__ManyMultiplicity__Group__0__Impl : ( () ) ; - public final void rule__ManyMultiplicity__Group__0__Impl() throws RecognitionException { + // $ANTLR start "rule__ExactScope__Group__0__Impl" + // InternalSolverLanguageParser.g:9353:1: rule__ExactScope__Group__0__Impl : ( Scope ) ; + public final void rule__ExactScope__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:7890:1: ( ( () ) ) - // InternalSolverLanguageParser.g:7891:1: ( () ) + // InternalSolverLanguageParser.g:9357:1: ( ( Scope ) ) + // InternalSolverLanguageParser.g:9358:1: ( Scope ) { - // InternalSolverLanguageParser.g:7891:1: ( () ) - // InternalSolverLanguageParser.g:7892:2: () + // InternalSolverLanguageParser.g:9358:1: ( Scope ) + // InternalSolverLanguageParser.g:9359:2: Scope { - before(grammarAccess.getManyMultiplicityAccess().getManyMultiplicityAction_0()); - // InternalSolverLanguageParser.g:7893:2: () - // InternalSolverLanguageParser.g:7893:3: - { - } - - after(grammarAccess.getManyMultiplicityAccess().getManyMultiplicityAction_0()); + before(grammarAccess.getExactScopeAccess().getScopeKeyword_0()); + match(input,Scope,FOLLOW_2); + after(grammarAccess.getExactScopeAccess().getScopeKeyword_0()); } @@ -24384,6 +28780,10 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } finally { restoreStackSize(stackSize); @@ -24391,26 +28791,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ManyMultiplicity__Group__0__Impl" + // $ANTLR end "rule__ExactScope__Group__0__Impl" - // $ANTLR start "rule__ManyMultiplicity__Group__1" - // InternalSolverLanguageParser.g:7901:1: rule__ManyMultiplicity__Group__1 : rule__ManyMultiplicity__Group__1__Impl rule__ManyMultiplicity__Group__2 ; - public final void rule__ManyMultiplicity__Group__1() throws RecognitionException { + // $ANTLR start "rule__ExactScope__Group__1" + // InternalSolverLanguageParser.g:9368:1: rule__ExactScope__Group__1 : rule__ExactScope__Group__1__Impl rule__ExactScope__Group__2 ; + public final void rule__ExactScope__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:7905:1: ( rule__ManyMultiplicity__Group__1__Impl rule__ManyMultiplicity__Group__2 ) - // InternalSolverLanguageParser.g:7906:2: rule__ManyMultiplicity__Group__1__Impl rule__ManyMultiplicity__Group__2 + // InternalSolverLanguageParser.g:9372:1: ( rule__ExactScope__Group__1__Impl rule__ExactScope__Group__2 ) + // InternalSolverLanguageParser.g:9373:2: rule__ExactScope__Group__1__Impl rule__ExactScope__Group__2 { - pushFollow(FOLLOW_48); - rule__ManyMultiplicity__Group__1__Impl(); + pushFollow(FOLLOW_69); + rule__ExactScope__Group__1__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__ManyMultiplicity__Group__2(); + rule__ExactScope__Group__2(); state._fsp--; @@ -24429,25 +28829,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ManyMultiplicity__Group__1" + // $ANTLR end "rule__ExactScope__Group__1" - // $ANTLR start "rule__ManyMultiplicity__Group__1__Impl" - // InternalSolverLanguageParser.g:7913:1: rule__ManyMultiplicity__Group__1__Impl : ( LeftSquareBracket ) ; - public final void rule__ManyMultiplicity__Group__1__Impl() throws RecognitionException { + // $ANTLR start "rule__ExactScope__Group__1__Impl" + // InternalSolverLanguageParser.g:9380:1: rule__ExactScope__Group__1__Impl : ( ( rule__ExactScope__TypeAssignment_1 ) ) ; + public final void rule__ExactScope__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:7917:1: ( ( LeftSquareBracket ) ) - // InternalSolverLanguageParser.g:7918:1: ( LeftSquareBracket ) + // InternalSolverLanguageParser.g:9384:1: ( ( ( rule__ExactScope__TypeAssignment_1 ) ) ) + // InternalSolverLanguageParser.g:9385:1: ( ( rule__ExactScope__TypeAssignment_1 ) ) { - // InternalSolverLanguageParser.g:7918:1: ( LeftSquareBracket ) - // InternalSolverLanguageParser.g:7919:2: LeftSquareBracket + // InternalSolverLanguageParser.g:9385:1: ( ( rule__ExactScope__TypeAssignment_1 ) ) + // InternalSolverLanguageParser.g:9386:2: ( rule__ExactScope__TypeAssignment_1 ) { - before(grammarAccess.getManyMultiplicityAccess().getLeftSquareBracketKeyword_1()); - match(input,LeftSquareBracket,FOLLOW_2); - after(grammarAccess.getManyMultiplicityAccess().getLeftSquareBracketKeyword_1()); + before(grammarAccess.getExactScopeAccess().getTypeAssignment_1()); + // InternalSolverLanguageParser.g:9387:2: ( rule__ExactScope__TypeAssignment_1 ) + // InternalSolverLanguageParser.g:9387:3: rule__ExactScope__TypeAssignment_1 + { + pushFollow(FOLLOW_2); + rule__ExactScope__TypeAssignment_1(); + + state._fsp--; + + + } + + after(grammarAccess.getExactScopeAccess().getTypeAssignment_1()); } @@ -24466,21 +28876,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ManyMultiplicity__Group__1__Impl" + // $ANTLR end "rule__ExactScope__Group__1__Impl" - // $ANTLR start "rule__ManyMultiplicity__Group__2" - // InternalSolverLanguageParser.g:7928:1: rule__ManyMultiplicity__Group__2 : rule__ManyMultiplicity__Group__2__Impl ; - public final void rule__ManyMultiplicity__Group__2() throws RecognitionException { + // $ANTLR start "rule__ExactScope__Group__2" + // InternalSolverLanguageParser.g:9395:1: rule__ExactScope__Group__2 : rule__ExactScope__Group__2__Impl rule__ExactScope__Group__3 ; + public final void rule__ExactScope__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:7932:1: ( rule__ManyMultiplicity__Group__2__Impl ) - // InternalSolverLanguageParser.g:7933:2: rule__ManyMultiplicity__Group__2__Impl + // InternalSolverLanguageParser.g:9399:1: ( rule__ExactScope__Group__2__Impl rule__ExactScope__Group__3 ) + // InternalSolverLanguageParser.g:9400:2: rule__ExactScope__Group__2__Impl rule__ExactScope__Group__3 { + pushFollow(FOLLOW_64); + rule__ExactScope__Group__2__Impl(); + + state._fsp--; + pushFollow(FOLLOW_2); - rule__ManyMultiplicity__Group__2__Impl(); + rule__ExactScope__Group__3(); state._fsp--; @@ -24499,25 +28914,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ManyMultiplicity__Group__2" + // $ANTLR end "rule__ExactScope__Group__2" - // $ANTLR start "rule__ManyMultiplicity__Group__2__Impl" - // InternalSolverLanguageParser.g:7939:1: rule__ManyMultiplicity__Group__2__Impl : ( RightSquareBracket ) ; - public final void rule__ManyMultiplicity__Group__2__Impl() throws RecognitionException { + // $ANTLR start "rule__ExactScope__Group__2__Impl" + // InternalSolverLanguageParser.g:9407:1: rule__ExactScope__Group__2__Impl : ( EqualsSignEqualsSign ) ; + public final void rule__ExactScope__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:7943:1: ( ( RightSquareBracket ) ) - // InternalSolverLanguageParser.g:7944:1: ( RightSquareBracket ) + // InternalSolverLanguageParser.g:9411:1: ( ( EqualsSignEqualsSign ) ) + // InternalSolverLanguageParser.g:9412:1: ( EqualsSignEqualsSign ) { - // InternalSolverLanguageParser.g:7944:1: ( RightSquareBracket ) - // InternalSolverLanguageParser.g:7945:2: RightSquareBracket + // InternalSolverLanguageParser.g:9412:1: ( EqualsSignEqualsSign ) + // InternalSolverLanguageParser.g:9413:2: EqualsSignEqualsSign { - before(grammarAccess.getManyMultiplicityAccess().getRightSquareBracketKeyword_2()); - match(input,RightSquareBracket,FOLLOW_2); - after(grammarAccess.getManyMultiplicityAccess().getRightSquareBracketKeyword_2()); + before(grammarAccess.getExactScopeAccess().getEqualsSignEqualsSignKeyword_2()); + match(input,EqualsSignEqualsSign,FOLLOW_2); + after(grammarAccess.getExactScopeAccess().getEqualsSignEqualsSignKeyword_2()); } @@ -24536,26 +28951,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ManyMultiplicity__Group__2__Impl" + // $ANTLR end "rule__ExactScope__Group__2__Impl" - // $ANTLR start "rule__ExactMultiplicity__Group__0" - // InternalSolverLanguageParser.g:7955:1: rule__ExactMultiplicity__Group__0 : rule__ExactMultiplicity__Group__0__Impl rule__ExactMultiplicity__Group__1 ; - public final void rule__ExactMultiplicity__Group__0() throws RecognitionException { + // $ANTLR start "rule__ExactScope__Group__3" + // InternalSolverLanguageParser.g:9422:1: rule__ExactScope__Group__3 : rule__ExactScope__Group__3__Impl rule__ExactScope__Group__4 ; + public final void rule__ExactScope__Group__3() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:7959:1: ( rule__ExactMultiplicity__Group__0__Impl rule__ExactMultiplicity__Group__1 ) - // InternalSolverLanguageParser.g:7960:2: rule__ExactMultiplicity__Group__0__Impl rule__ExactMultiplicity__Group__1 + // InternalSolverLanguageParser.g:9426:1: ( rule__ExactScope__Group__3__Impl rule__ExactScope__Group__4 ) + // InternalSolverLanguageParser.g:9427:2: rule__ExactScope__Group__3__Impl rule__ExactScope__Group__4 { - pushFollow(FOLLOW_58); - rule__ExactMultiplicity__Group__0__Impl(); + pushFollow(FOLLOW_7); + rule__ExactScope__Group__3__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__ExactMultiplicity__Group__1(); + rule__ExactScope__Group__4(); state._fsp--; @@ -24574,25 +28989,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ExactMultiplicity__Group__0" + // $ANTLR end "rule__ExactScope__Group__3" - // $ANTLR start "rule__ExactMultiplicity__Group__0__Impl" - // InternalSolverLanguageParser.g:7967:1: rule__ExactMultiplicity__Group__0__Impl : ( LeftSquareBracket ) ; - public final void rule__ExactMultiplicity__Group__0__Impl() throws RecognitionException { + // $ANTLR start "rule__ExactScope__Group__3__Impl" + // InternalSolverLanguageParser.g:9434:1: rule__ExactScope__Group__3__Impl : ( ( rule__ExactScope__SizeAssignment_3 ) ) ; + public final void rule__ExactScope__Group__3__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:7971:1: ( ( LeftSquareBracket ) ) - // InternalSolverLanguageParser.g:7972:1: ( LeftSquareBracket ) + // InternalSolverLanguageParser.g:9438:1: ( ( ( rule__ExactScope__SizeAssignment_3 ) ) ) + // InternalSolverLanguageParser.g:9439:1: ( ( rule__ExactScope__SizeAssignment_3 ) ) { - // InternalSolverLanguageParser.g:7972:1: ( LeftSquareBracket ) - // InternalSolverLanguageParser.g:7973:2: LeftSquareBracket + // InternalSolverLanguageParser.g:9439:1: ( ( rule__ExactScope__SizeAssignment_3 ) ) + // InternalSolverLanguageParser.g:9440:2: ( rule__ExactScope__SizeAssignment_3 ) { - before(grammarAccess.getExactMultiplicityAccess().getLeftSquareBracketKeyword_0()); - match(input,LeftSquareBracket,FOLLOW_2); - after(grammarAccess.getExactMultiplicityAccess().getLeftSquareBracketKeyword_0()); + before(grammarAccess.getExactScopeAccess().getSizeAssignment_3()); + // InternalSolverLanguageParser.g:9441:2: ( rule__ExactScope__SizeAssignment_3 ) + // InternalSolverLanguageParser.g:9441:3: rule__ExactScope__SizeAssignment_3 + { + pushFollow(FOLLOW_2); + rule__ExactScope__SizeAssignment_3(); + + state._fsp--; + + + } + + after(grammarAccess.getExactScopeAccess().getSizeAssignment_3()); } @@ -24611,26 +29036,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ExactMultiplicity__Group__0__Impl" + // $ANTLR end "rule__ExactScope__Group__3__Impl" - // $ANTLR start "rule__ExactMultiplicity__Group__1" - // InternalSolverLanguageParser.g:7982:1: rule__ExactMultiplicity__Group__1 : rule__ExactMultiplicity__Group__1__Impl rule__ExactMultiplicity__Group__2 ; - public final void rule__ExactMultiplicity__Group__1() throws RecognitionException { + // $ANTLR start "rule__ExactScope__Group__4" + // InternalSolverLanguageParser.g:9449:1: rule__ExactScope__Group__4 : rule__ExactScope__Group__4__Impl ; + public final void rule__ExactScope__Group__4() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:7986:1: ( rule__ExactMultiplicity__Group__1__Impl rule__ExactMultiplicity__Group__2 ) - // InternalSolverLanguageParser.g:7987:2: rule__ExactMultiplicity__Group__1__Impl rule__ExactMultiplicity__Group__2 + // InternalSolverLanguageParser.g:9453:1: ( rule__ExactScope__Group__4__Impl ) + // InternalSolverLanguageParser.g:9454:2: rule__ExactScope__Group__4__Impl { - pushFollow(FOLLOW_48); - rule__ExactMultiplicity__Group__1__Impl(); - - state._fsp--; - pushFollow(FOLLOW_2); - rule__ExactMultiplicity__Group__2(); + rule__ExactScope__Group__4__Impl(); state._fsp--; @@ -24649,35 +29069,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ExactMultiplicity__Group__1" + // $ANTLR end "rule__ExactScope__Group__4" - // $ANTLR start "rule__ExactMultiplicity__Group__1__Impl" - // InternalSolverLanguageParser.g:7994:1: rule__ExactMultiplicity__Group__1__Impl : ( ( rule__ExactMultiplicity__MultiplicityAssignment_1 ) ) ; - public final void rule__ExactMultiplicity__Group__1__Impl() throws RecognitionException { + // $ANTLR start "rule__ExactScope__Group__4__Impl" + // InternalSolverLanguageParser.g:9460:1: rule__ExactScope__Group__4__Impl : ( RULE_FULL_STOP ) ; + public final void rule__ExactScope__Group__4__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:7998:1: ( ( ( rule__ExactMultiplicity__MultiplicityAssignment_1 ) ) ) - // InternalSolverLanguageParser.g:7999:1: ( ( rule__ExactMultiplicity__MultiplicityAssignment_1 ) ) - { - // InternalSolverLanguageParser.g:7999:1: ( ( rule__ExactMultiplicity__MultiplicityAssignment_1 ) ) - // InternalSolverLanguageParser.g:8000:2: ( rule__ExactMultiplicity__MultiplicityAssignment_1 ) + // InternalSolverLanguageParser.g:9464:1: ( ( RULE_FULL_STOP ) ) + // InternalSolverLanguageParser.g:9465:1: ( RULE_FULL_STOP ) { - before(grammarAccess.getExactMultiplicityAccess().getMultiplicityAssignment_1()); - // InternalSolverLanguageParser.g:8001:2: ( rule__ExactMultiplicity__MultiplicityAssignment_1 ) - // InternalSolverLanguageParser.g:8001:3: rule__ExactMultiplicity__MultiplicityAssignment_1 + // InternalSolverLanguageParser.g:9465:1: ( RULE_FULL_STOP ) + // InternalSolverLanguageParser.g:9466:2: RULE_FULL_STOP { - pushFollow(FOLLOW_2); - rule__ExactMultiplicity__MultiplicityAssignment_1(); - - state._fsp--; - - - } - - after(grammarAccess.getExactMultiplicityAccess().getMultiplicityAssignment_1()); + before(grammarAccess.getExactScopeAccess().getFULL_STOPTerminalRuleCall_4()); + match(input,RULE_FULL_STOP,FOLLOW_2); + after(grammarAccess.getExactScopeAccess().getFULL_STOPTerminalRuleCall_4()); } @@ -24696,21 +29106,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ExactMultiplicity__Group__1__Impl" + // $ANTLR end "rule__ExactScope__Group__4__Impl" - // $ANTLR start "rule__ExactMultiplicity__Group__2" - // InternalSolverLanguageParser.g:8009:1: rule__ExactMultiplicity__Group__2 : rule__ExactMultiplicity__Group__2__Impl ; - public final void rule__ExactMultiplicity__Group__2() throws RecognitionException { + // $ANTLR start "rule__BoundedScope__Group__0" + // InternalSolverLanguageParser.g:9476:1: rule__BoundedScope__Group__0 : rule__BoundedScope__Group__0__Impl rule__BoundedScope__Group__1 ; + public final void rule__BoundedScope__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:8013:1: ( rule__ExactMultiplicity__Group__2__Impl ) - // InternalSolverLanguageParser.g:8014:2: rule__ExactMultiplicity__Group__2__Impl + // InternalSolverLanguageParser.g:9480:1: ( rule__BoundedScope__Group__0__Impl rule__BoundedScope__Group__1 ) + // InternalSolverLanguageParser.g:9481:2: rule__BoundedScope__Group__0__Impl rule__BoundedScope__Group__1 { + pushFollow(FOLLOW_70); + rule__BoundedScope__Group__0__Impl(); + + state._fsp--; + pushFollow(FOLLOW_2); - rule__ExactMultiplicity__Group__2__Impl(); + rule__BoundedScope__Group__1(); state._fsp--; @@ -24729,25 +29144,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ExactMultiplicity__Group__2" + // $ANTLR end "rule__BoundedScope__Group__0" - // $ANTLR start "rule__ExactMultiplicity__Group__2__Impl" - // InternalSolverLanguageParser.g:8020:1: rule__ExactMultiplicity__Group__2__Impl : ( RightSquareBracket ) ; - public final void rule__ExactMultiplicity__Group__2__Impl() throws RecognitionException { + // $ANTLR start "rule__BoundedScope__Group__0__Impl" + // InternalSolverLanguageParser.g:9488:1: rule__BoundedScope__Group__0__Impl : ( Scope ) ; + public final void rule__BoundedScope__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:8024:1: ( ( RightSquareBracket ) ) - // InternalSolverLanguageParser.g:8025:1: ( RightSquareBracket ) + // InternalSolverLanguageParser.g:9492:1: ( ( Scope ) ) + // InternalSolverLanguageParser.g:9493:1: ( Scope ) { - // InternalSolverLanguageParser.g:8025:1: ( RightSquareBracket ) - // InternalSolverLanguageParser.g:8026:2: RightSquareBracket + // InternalSolverLanguageParser.g:9493:1: ( Scope ) + // InternalSolverLanguageParser.g:9494:2: Scope { - before(grammarAccess.getExactMultiplicityAccess().getRightSquareBracketKeyword_2()); - match(input,RightSquareBracket,FOLLOW_2); - after(grammarAccess.getExactMultiplicityAccess().getRightSquareBracketKeyword_2()); + before(grammarAccess.getBoundedScopeAccess().getScopeKeyword_0()); + match(input,Scope,FOLLOW_2); + after(grammarAccess.getBoundedScopeAccess().getScopeKeyword_0()); } @@ -24766,26 +29181,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ExactMultiplicity__Group__2__Impl" + // $ANTLR end "rule__BoundedScope__Group__0__Impl" - // $ANTLR start "rule__BoundedMultiplicity__Group__0" - // InternalSolverLanguageParser.g:8036:1: rule__BoundedMultiplicity__Group__0 : rule__BoundedMultiplicity__Group__0__Impl rule__BoundedMultiplicity__Group__1 ; - public final void rule__BoundedMultiplicity__Group__0() throws RecognitionException { + // $ANTLR start "rule__BoundedScope__Group__1" + // InternalSolverLanguageParser.g:9503:1: rule__BoundedScope__Group__1 : rule__BoundedScope__Group__1__Impl rule__BoundedScope__Group__2 ; + public final void rule__BoundedScope__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:8040:1: ( rule__BoundedMultiplicity__Group__0__Impl rule__BoundedMultiplicity__Group__1 ) - // InternalSolverLanguageParser.g:8041:2: rule__BoundedMultiplicity__Group__0__Impl rule__BoundedMultiplicity__Group__1 + // InternalSolverLanguageParser.g:9507:1: ( rule__BoundedScope__Group__1__Impl rule__BoundedScope__Group__2 ) + // InternalSolverLanguageParser.g:9508:2: rule__BoundedScope__Group__1__Impl rule__BoundedScope__Group__2 { - pushFollow(FOLLOW_59); - rule__BoundedMultiplicity__Group__0__Impl(); + pushFollow(FOLLOW_7); + rule__BoundedScope__Group__1__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__BoundedMultiplicity__Group__1(); + rule__BoundedScope__Group__2(); state._fsp--; @@ -24804,25 +29219,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__BoundedMultiplicity__Group__0" + // $ANTLR end "rule__BoundedScope__Group__1" - // $ANTLR start "rule__BoundedMultiplicity__Group__0__Impl" - // InternalSolverLanguageParser.g:8048:1: rule__BoundedMultiplicity__Group__0__Impl : ( LeftSquareBracket ) ; - public final void rule__BoundedMultiplicity__Group__0__Impl() throws RecognitionException { + // $ANTLR start "rule__BoundedScope__Group__1__Impl" + // InternalSolverLanguageParser.g:9515:1: rule__BoundedScope__Group__1__Impl : ( ( rule__BoundedScope__Alternatives_1 ) ) ; + public final void rule__BoundedScope__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:8052:1: ( ( LeftSquareBracket ) ) - // InternalSolverLanguageParser.g:8053:1: ( LeftSquareBracket ) + // InternalSolverLanguageParser.g:9519:1: ( ( ( rule__BoundedScope__Alternatives_1 ) ) ) + // InternalSolverLanguageParser.g:9520:1: ( ( rule__BoundedScope__Alternatives_1 ) ) { - // InternalSolverLanguageParser.g:8053:1: ( LeftSquareBracket ) - // InternalSolverLanguageParser.g:8054:2: LeftSquareBracket + // InternalSolverLanguageParser.g:9520:1: ( ( rule__BoundedScope__Alternatives_1 ) ) + // InternalSolverLanguageParser.g:9521:2: ( rule__BoundedScope__Alternatives_1 ) { - before(grammarAccess.getBoundedMultiplicityAccess().getLeftSquareBracketKeyword_0()); - match(input,LeftSquareBracket,FOLLOW_2); - after(grammarAccess.getBoundedMultiplicityAccess().getLeftSquareBracketKeyword_0()); + before(grammarAccess.getBoundedScopeAccess().getAlternatives_1()); + // InternalSolverLanguageParser.g:9522:2: ( rule__BoundedScope__Alternatives_1 ) + // InternalSolverLanguageParser.g:9522:3: rule__BoundedScope__Alternatives_1 + { + pushFollow(FOLLOW_2); + rule__BoundedScope__Alternatives_1(); + + state._fsp--; + + + } + + after(grammarAccess.getBoundedScopeAccess().getAlternatives_1()); } @@ -24841,26 +29266,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__BoundedMultiplicity__Group__0__Impl" + // $ANTLR end "rule__BoundedScope__Group__1__Impl" - // $ANTLR start "rule__BoundedMultiplicity__Group__1" - // InternalSolverLanguageParser.g:8063:1: rule__BoundedMultiplicity__Group__1 : rule__BoundedMultiplicity__Group__1__Impl rule__BoundedMultiplicity__Group__2 ; - public final void rule__BoundedMultiplicity__Group__1() throws RecognitionException { + // $ANTLR start "rule__BoundedScope__Group__2" + // InternalSolverLanguageParser.g:9530:1: rule__BoundedScope__Group__2 : rule__BoundedScope__Group__2__Impl ; + public final void rule__BoundedScope__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:8067:1: ( rule__BoundedMultiplicity__Group__1__Impl rule__BoundedMultiplicity__Group__2 ) - // InternalSolverLanguageParser.g:8068:2: rule__BoundedMultiplicity__Group__1__Impl rule__BoundedMultiplicity__Group__2 + // InternalSolverLanguageParser.g:9534:1: ( rule__BoundedScope__Group__2__Impl ) + // InternalSolverLanguageParser.g:9535:2: rule__BoundedScope__Group__2__Impl { - pushFollow(FOLLOW_47); - rule__BoundedMultiplicity__Group__1__Impl(); - - state._fsp--; - pushFollow(FOLLOW_2); - rule__BoundedMultiplicity__Group__2(); + rule__BoundedScope__Group__2__Impl(); state._fsp--; @@ -24879,35 +29299,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__BoundedMultiplicity__Group__1" + // $ANTLR end "rule__BoundedScope__Group__2" - // $ANTLR start "rule__BoundedMultiplicity__Group__1__Impl" - // InternalSolverLanguageParser.g:8075:1: rule__BoundedMultiplicity__Group__1__Impl : ( ( rule__BoundedMultiplicity__LowerBoundAssignment_1 ) ) ; - public final void rule__BoundedMultiplicity__Group__1__Impl() throws RecognitionException { + // $ANTLR start "rule__BoundedScope__Group__2__Impl" + // InternalSolverLanguageParser.g:9541:1: rule__BoundedScope__Group__2__Impl : ( RULE_FULL_STOP ) ; + public final void rule__BoundedScope__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:8079:1: ( ( ( rule__BoundedMultiplicity__LowerBoundAssignment_1 ) ) ) - // InternalSolverLanguageParser.g:8080:1: ( ( rule__BoundedMultiplicity__LowerBoundAssignment_1 ) ) - { - // InternalSolverLanguageParser.g:8080:1: ( ( rule__BoundedMultiplicity__LowerBoundAssignment_1 ) ) - // InternalSolverLanguageParser.g:8081:2: ( rule__BoundedMultiplicity__LowerBoundAssignment_1 ) + // InternalSolverLanguageParser.g:9545:1: ( ( RULE_FULL_STOP ) ) + // InternalSolverLanguageParser.g:9546:1: ( RULE_FULL_STOP ) { - before(grammarAccess.getBoundedMultiplicityAccess().getLowerBoundAssignment_1()); - // InternalSolverLanguageParser.g:8082:2: ( rule__BoundedMultiplicity__LowerBoundAssignment_1 ) - // InternalSolverLanguageParser.g:8082:3: rule__BoundedMultiplicity__LowerBoundAssignment_1 + // InternalSolverLanguageParser.g:9546:1: ( RULE_FULL_STOP ) + // InternalSolverLanguageParser.g:9547:2: RULE_FULL_STOP { - pushFollow(FOLLOW_2); - rule__BoundedMultiplicity__LowerBoundAssignment_1(); - - state._fsp--; - - - } - - after(grammarAccess.getBoundedMultiplicityAccess().getLowerBoundAssignment_1()); + before(grammarAccess.getBoundedScopeAccess().getFULL_STOPTerminalRuleCall_2()); + match(input,RULE_FULL_STOP,FOLLOW_2); + after(grammarAccess.getBoundedScopeAccess().getFULL_STOPTerminalRuleCall_2()); } @@ -24926,26 +29336,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__BoundedMultiplicity__Group__1__Impl" + // $ANTLR end "rule__BoundedScope__Group__2__Impl" - // $ANTLR start "rule__BoundedMultiplicity__Group__2" - // InternalSolverLanguageParser.g:8090:1: rule__BoundedMultiplicity__Group__2 : rule__BoundedMultiplicity__Group__2__Impl rule__BoundedMultiplicity__Group__3 ; - public final void rule__BoundedMultiplicity__Group__2() throws RecognitionException { + // $ANTLR start "rule__BoundedScope__Group_1_0__0" + // InternalSolverLanguageParser.g:9557:1: rule__BoundedScope__Group_1_0__0 : rule__BoundedScope__Group_1_0__0__Impl rule__BoundedScope__Group_1_0__1 ; + public final void rule__BoundedScope__Group_1_0__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:8094:1: ( rule__BoundedMultiplicity__Group__2__Impl rule__BoundedMultiplicity__Group__3 ) - // InternalSolverLanguageParser.g:8095:2: rule__BoundedMultiplicity__Group__2__Impl rule__BoundedMultiplicity__Group__3 + // InternalSolverLanguageParser.g:9561:1: ( rule__BoundedScope__Group_1_0__0__Impl rule__BoundedScope__Group_1_0__1 ) + // InternalSolverLanguageParser.g:9562:2: rule__BoundedScope__Group_1_0__0__Impl rule__BoundedScope__Group_1_0__1 { - pushFollow(FOLLOW_58); - rule__BoundedMultiplicity__Group__2__Impl(); + pushFollow(FOLLOW_70); + rule__BoundedScope__Group_1_0__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__BoundedMultiplicity__Group__3(); + rule__BoundedScope__Group_1_0__1(); state._fsp--; @@ -24964,25 +29374,46 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__BoundedMultiplicity__Group__2" + // $ANTLR end "rule__BoundedScope__Group_1_0__0" - // $ANTLR start "rule__BoundedMultiplicity__Group__2__Impl" - // InternalSolverLanguageParser.g:8102:1: rule__BoundedMultiplicity__Group__2__Impl : ( FullStopFullStop ) ; - public final void rule__BoundedMultiplicity__Group__2__Impl() throws RecognitionException { + // $ANTLR start "rule__BoundedScope__Group_1_0__0__Impl" + // InternalSolverLanguageParser.g:9569:1: rule__BoundedScope__Group_1_0__0__Impl : ( ( rule__BoundedScope__Group_1_0_0__0 )? ) ; + public final void rule__BoundedScope__Group_1_0__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:8106:1: ( ( FullStopFullStop ) ) - // InternalSolverLanguageParser.g:8107:1: ( FullStopFullStop ) + // InternalSolverLanguageParser.g:9573:1: ( ( ( rule__BoundedScope__Group_1_0_0__0 )? ) ) + // InternalSolverLanguageParser.g:9574:1: ( ( rule__BoundedScope__Group_1_0_0__0 )? ) { - // InternalSolverLanguageParser.g:8107:1: ( FullStopFullStop ) - // InternalSolverLanguageParser.g:8108:2: FullStopFullStop + // InternalSolverLanguageParser.g:9574:1: ( ( rule__BoundedScope__Group_1_0_0__0 )? ) + // InternalSolverLanguageParser.g:9575:2: ( rule__BoundedScope__Group_1_0_0__0 )? { - before(grammarAccess.getBoundedMultiplicityAccess().getFullStopFullStopKeyword_2()); - match(input,FullStopFullStop,FOLLOW_2); - after(grammarAccess.getBoundedMultiplicityAccess().getFullStopFullStopKeyword_2()); + before(grammarAccess.getBoundedScopeAccess().getGroup_1_0_0()); + // InternalSolverLanguageParser.g:9576:2: ( rule__BoundedScope__Group_1_0_0__0 )? + int alt66=2; + int LA66_0 = input.LA(1); + + if ( (LA66_0==RULE_INT) ) { + alt66=1; + } + switch (alt66) { + case 1 : + // InternalSolverLanguageParser.g:9576:3: rule__BoundedScope__Group_1_0_0__0 + { + pushFollow(FOLLOW_2); + rule__BoundedScope__Group_1_0_0__0(); + + state._fsp--; + + + } + break; + + } + + after(grammarAccess.getBoundedScopeAccess().getGroup_1_0_0()); } @@ -25001,26 +29432,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__BoundedMultiplicity__Group__2__Impl" + // $ANTLR end "rule__BoundedScope__Group_1_0__0__Impl" - // $ANTLR start "rule__BoundedMultiplicity__Group__3" - // InternalSolverLanguageParser.g:8117:1: rule__BoundedMultiplicity__Group__3 : rule__BoundedMultiplicity__Group__3__Impl rule__BoundedMultiplicity__Group__4 ; - public final void rule__BoundedMultiplicity__Group__3() throws RecognitionException { + // $ANTLR start "rule__BoundedScope__Group_1_0__1" + // InternalSolverLanguageParser.g:9584:1: rule__BoundedScope__Group_1_0__1 : rule__BoundedScope__Group_1_0__1__Impl rule__BoundedScope__Group_1_0__2 ; + public final void rule__BoundedScope__Group_1_0__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:8121:1: ( rule__BoundedMultiplicity__Group__3__Impl rule__BoundedMultiplicity__Group__4 ) - // InternalSolverLanguageParser.g:8122:2: rule__BoundedMultiplicity__Group__3__Impl rule__BoundedMultiplicity__Group__4 + // InternalSolverLanguageParser.g:9588:1: ( rule__BoundedScope__Group_1_0__1__Impl rule__BoundedScope__Group_1_0__2 ) + // InternalSolverLanguageParser.g:9589:2: rule__BoundedScope__Group_1_0__1__Impl rule__BoundedScope__Group_1_0__2 { - pushFollow(FOLLOW_48); - rule__BoundedMultiplicity__Group__3__Impl(); + pushFollow(FOLLOW_71); + rule__BoundedScope__Group_1_0__1__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__BoundedMultiplicity__Group__4(); + rule__BoundedScope__Group_1_0__2(); state._fsp--; @@ -25039,35 +29470,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__BoundedMultiplicity__Group__3" + // $ANTLR end "rule__BoundedScope__Group_1_0__1" - // $ANTLR start "rule__BoundedMultiplicity__Group__3__Impl" - // InternalSolverLanguageParser.g:8129:1: rule__BoundedMultiplicity__Group__3__Impl : ( ( rule__BoundedMultiplicity__UpperBoundAssignment_3 ) ) ; - public final void rule__BoundedMultiplicity__Group__3__Impl() throws RecognitionException { + // $ANTLR start "rule__BoundedScope__Group_1_0__1__Impl" + // InternalSolverLanguageParser.g:9596:1: rule__BoundedScope__Group_1_0__1__Impl : ( ( rule__BoundedScope__TypeAssignment_1_0_1 ) ) ; + public final void rule__BoundedScope__Group_1_0__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:8133:1: ( ( ( rule__BoundedMultiplicity__UpperBoundAssignment_3 ) ) ) - // InternalSolverLanguageParser.g:8134:1: ( ( rule__BoundedMultiplicity__UpperBoundAssignment_3 ) ) + // InternalSolverLanguageParser.g:9600:1: ( ( ( rule__BoundedScope__TypeAssignment_1_0_1 ) ) ) + // InternalSolverLanguageParser.g:9601:1: ( ( rule__BoundedScope__TypeAssignment_1_0_1 ) ) { - // InternalSolverLanguageParser.g:8134:1: ( ( rule__BoundedMultiplicity__UpperBoundAssignment_3 ) ) - // InternalSolverLanguageParser.g:8135:2: ( rule__BoundedMultiplicity__UpperBoundAssignment_3 ) + // InternalSolverLanguageParser.g:9601:1: ( ( rule__BoundedScope__TypeAssignment_1_0_1 ) ) + // InternalSolverLanguageParser.g:9602:2: ( rule__BoundedScope__TypeAssignment_1_0_1 ) { - before(grammarAccess.getBoundedMultiplicityAccess().getUpperBoundAssignment_3()); - // InternalSolverLanguageParser.g:8136:2: ( rule__BoundedMultiplicity__UpperBoundAssignment_3 ) - // InternalSolverLanguageParser.g:8136:3: rule__BoundedMultiplicity__UpperBoundAssignment_3 + before(grammarAccess.getBoundedScopeAccess().getTypeAssignment_1_0_1()); + // InternalSolverLanguageParser.g:9603:2: ( rule__BoundedScope__TypeAssignment_1_0_1 ) + // InternalSolverLanguageParser.g:9603:3: rule__BoundedScope__TypeAssignment_1_0_1 { pushFollow(FOLLOW_2); - rule__BoundedMultiplicity__UpperBoundAssignment_3(); + rule__BoundedScope__TypeAssignment_1_0_1(); state._fsp--; } - after(grammarAccess.getBoundedMultiplicityAccess().getUpperBoundAssignment_3()); + after(grammarAccess.getBoundedScopeAccess().getTypeAssignment_1_0_1()); } @@ -25086,21 +29517,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__BoundedMultiplicity__Group__3__Impl" + // $ANTLR end "rule__BoundedScope__Group_1_0__1__Impl" - // $ANTLR start "rule__BoundedMultiplicity__Group__4" - // InternalSolverLanguageParser.g:8144:1: rule__BoundedMultiplicity__Group__4 : rule__BoundedMultiplicity__Group__4__Impl ; - public final void rule__BoundedMultiplicity__Group__4() throws RecognitionException { + // $ANTLR start "rule__BoundedScope__Group_1_0__2" + // InternalSolverLanguageParser.g:9611:1: rule__BoundedScope__Group_1_0__2 : rule__BoundedScope__Group_1_0__2__Impl rule__BoundedScope__Group_1_0__3 ; + public final void rule__BoundedScope__Group_1_0__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:8148:1: ( rule__BoundedMultiplicity__Group__4__Impl ) - // InternalSolverLanguageParser.g:8149:2: rule__BoundedMultiplicity__Group__4__Impl + // InternalSolverLanguageParser.g:9615:1: ( rule__BoundedScope__Group_1_0__2__Impl rule__BoundedScope__Group_1_0__3 ) + // InternalSolverLanguageParser.g:9616:2: rule__BoundedScope__Group_1_0__2__Impl rule__BoundedScope__Group_1_0__3 { + pushFollow(FOLLOW_64); + rule__BoundedScope__Group_1_0__2__Impl(); + + state._fsp--; + pushFollow(FOLLOW_2); - rule__BoundedMultiplicity__Group__4__Impl(); + rule__BoundedScope__Group_1_0__3(); state._fsp--; @@ -25119,25 +29555,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__BoundedMultiplicity__Group__4" + // $ANTLR end "rule__BoundedScope__Group_1_0__2" - // $ANTLR start "rule__BoundedMultiplicity__Group__4__Impl" - // InternalSolverLanguageParser.g:8155:1: rule__BoundedMultiplicity__Group__4__Impl : ( RightSquareBracket ) ; - public final void rule__BoundedMultiplicity__Group__4__Impl() throws RecognitionException { + // $ANTLR start "rule__BoundedScope__Group_1_0__2__Impl" + // InternalSolverLanguageParser.g:9623:1: rule__BoundedScope__Group_1_0__2__Impl : ( LessThanSignEqualsSign ) ; + public final void rule__BoundedScope__Group_1_0__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:8159:1: ( ( RightSquareBracket ) ) - // InternalSolverLanguageParser.g:8160:1: ( RightSquareBracket ) + // InternalSolverLanguageParser.g:9627:1: ( ( LessThanSignEqualsSign ) ) + // InternalSolverLanguageParser.g:9628:1: ( LessThanSignEqualsSign ) { - // InternalSolverLanguageParser.g:8160:1: ( RightSquareBracket ) - // InternalSolverLanguageParser.g:8161:2: RightSquareBracket + // InternalSolverLanguageParser.g:9628:1: ( LessThanSignEqualsSign ) + // InternalSolverLanguageParser.g:9629:2: LessThanSignEqualsSign { - before(grammarAccess.getBoundedMultiplicityAccess().getRightSquareBracketKeyword_4()); - match(input,RightSquareBracket,FOLLOW_2); - after(grammarAccess.getBoundedMultiplicityAccess().getRightSquareBracketKeyword_4()); + before(grammarAccess.getBoundedScopeAccess().getLessThanSignEqualsSignKeyword_1_0_2()); + match(input,LessThanSignEqualsSign,FOLLOW_2); + after(grammarAccess.getBoundedScopeAccess().getLessThanSignEqualsSignKeyword_1_0_2()); } @@ -25156,26 +29592,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__BoundedMultiplicity__Group__4__Impl" + // $ANTLR end "rule__BoundedScope__Group_1_0__2__Impl" - // $ANTLR start "rule__ExactScopeDefinition__Group__0" - // InternalSolverLanguageParser.g:8171:1: rule__ExactScopeDefinition__Group__0 : rule__ExactScopeDefinition__Group__0__Impl rule__ExactScopeDefinition__Group__1 ; - public final void rule__ExactScopeDefinition__Group__0() throws RecognitionException { + // $ANTLR start "rule__BoundedScope__Group_1_0__3" + // InternalSolverLanguageParser.g:9638:1: rule__BoundedScope__Group_1_0__3 : rule__BoundedScope__Group_1_0__3__Impl ; + public final void rule__BoundedScope__Group_1_0__3() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:8175:1: ( rule__ExactScopeDefinition__Group__0__Impl rule__ExactScopeDefinition__Group__1 ) - // InternalSolverLanguageParser.g:8176:2: rule__ExactScopeDefinition__Group__0__Impl rule__ExactScopeDefinition__Group__1 + // InternalSolverLanguageParser.g:9642:1: ( rule__BoundedScope__Group_1_0__3__Impl ) + // InternalSolverLanguageParser.g:9643:2: rule__BoundedScope__Group_1_0__3__Impl { - pushFollow(FOLLOW_9); - rule__ExactScopeDefinition__Group__0__Impl(); - - state._fsp--; - pushFollow(FOLLOW_2); - rule__ExactScopeDefinition__Group__1(); + rule__BoundedScope__Group_1_0__3__Impl(); state._fsp--; @@ -25194,25 +29625,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ExactScopeDefinition__Group__0" + // $ANTLR end "rule__BoundedScope__Group_1_0__3" - // $ANTLR start "rule__ExactScopeDefinition__Group__0__Impl" - // InternalSolverLanguageParser.g:8183:1: rule__ExactScopeDefinition__Group__0__Impl : ( Scope ) ; - public final void rule__ExactScopeDefinition__Group__0__Impl() throws RecognitionException { + // $ANTLR start "rule__BoundedScope__Group_1_0__3__Impl" + // InternalSolverLanguageParser.g:9649:1: rule__BoundedScope__Group_1_0__3__Impl : ( ( rule__BoundedScope__UpperBoundAssignment_1_0_3 ) ) ; + public final void rule__BoundedScope__Group_1_0__3__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:8187:1: ( ( Scope ) ) - // InternalSolverLanguageParser.g:8188:1: ( Scope ) + // InternalSolverLanguageParser.g:9653:1: ( ( ( rule__BoundedScope__UpperBoundAssignment_1_0_3 ) ) ) + // InternalSolverLanguageParser.g:9654:1: ( ( rule__BoundedScope__UpperBoundAssignment_1_0_3 ) ) { - // InternalSolverLanguageParser.g:8188:1: ( Scope ) - // InternalSolverLanguageParser.g:8189:2: Scope + // InternalSolverLanguageParser.g:9654:1: ( ( rule__BoundedScope__UpperBoundAssignment_1_0_3 ) ) + // InternalSolverLanguageParser.g:9655:2: ( rule__BoundedScope__UpperBoundAssignment_1_0_3 ) { - before(grammarAccess.getExactScopeDefinitionAccess().getScopeKeyword_0()); - match(input,Scope,FOLLOW_2); - after(grammarAccess.getExactScopeDefinitionAccess().getScopeKeyword_0()); + before(grammarAccess.getBoundedScopeAccess().getUpperBoundAssignment_1_0_3()); + // InternalSolverLanguageParser.g:9656:2: ( rule__BoundedScope__UpperBoundAssignment_1_0_3 ) + // InternalSolverLanguageParser.g:9656:3: rule__BoundedScope__UpperBoundAssignment_1_0_3 + { + pushFollow(FOLLOW_2); + rule__BoundedScope__UpperBoundAssignment_1_0_3(); + + state._fsp--; + + + } + + after(grammarAccess.getBoundedScopeAccess().getUpperBoundAssignment_1_0_3()); } @@ -25231,26 +29672,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ExactScopeDefinition__Group__0__Impl" + // $ANTLR end "rule__BoundedScope__Group_1_0__3__Impl" - // $ANTLR start "rule__ExactScopeDefinition__Group__1" - // InternalSolverLanguageParser.g:8198:1: rule__ExactScopeDefinition__Group__1 : rule__ExactScopeDefinition__Group__1__Impl rule__ExactScopeDefinition__Group__2 ; - public final void rule__ExactScopeDefinition__Group__1() throws RecognitionException { + // $ANTLR start "rule__BoundedScope__Group_1_0_0__0" + // InternalSolverLanguageParser.g:9665:1: rule__BoundedScope__Group_1_0_0__0 : rule__BoundedScope__Group_1_0_0__0__Impl rule__BoundedScope__Group_1_0_0__1 ; + public final void rule__BoundedScope__Group_1_0_0__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:8202:1: ( rule__ExactScopeDefinition__Group__1__Impl rule__ExactScopeDefinition__Group__2 ) - // InternalSolverLanguageParser.g:8203:2: rule__ExactScopeDefinition__Group__1__Impl rule__ExactScopeDefinition__Group__2 + // InternalSolverLanguageParser.g:9669:1: ( rule__BoundedScope__Group_1_0_0__0__Impl rule__BoundedScope__Group_1_0_0__1 ) + // InternalSolverLanguageParser.g:9670:2: rule__BoundedScope__Group_1_0_0__0__Impl rule__BoundedScope__Group_1_0_0__1 { - pushFollow(FOLLOW_60); - rule__ExactScopeDefinition__Group__1__Impl(); + pushFollow(FOLLOW_71); + rule__BoundedScope__Group_1_0_0__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__ExactScopeDefinition__Group__2(); + rule__BoundedScope__Group_1_0_0__1(); state._fsp--; @@ -25269,35 +29710,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ExactScopeDefinition__Group__1" + // $ANTLR end "rule__BoundedScope__Group_1_0_0__0" - // $ANTLR start "rule__ExactScopeDefinition__Group__1__Impl" - // InternalSolverLanguageParser.g:8210:1: rule__ExactScopeDefinition__Group__1__Impl : ( ( rule__ExactScopeDefinition__TypeAssignment_1 ) ) ; - public final void rule__ExactScopeDefinition__Group__1__Impl() throws RecognitionException { + // $ANTLR start "rule__BoundedScope__Group_1_0_0__0__Impl" + // InternalSolverLanguageParser.g:9677:1: rule__BoundedScope__Group_1_0_0__0__Impl : ( ( rule__BoundedScope__LowerBoundAssignment_1_0_0_0 ) ) ; + public final void rule__BoundedScope__Group_1_0_0__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:8214:1: ( ( ( rule__ExactScopeDefinition__TypeAssignment_1 ) ) ) - // InternalSolverLanguageParser.g:8215:1: ( ( rule__ExactScopeDefinition__TypeAssignment_1 ) ) + // InternalSolverLanguageParser.g:9681:1: ( ( ( rule__BoundedScope__LowerBoundAssignment_1_0_0_0 ) ) ) + // InternalSolverLanguageParser.g:9682:1: ( ( rule__BoundedScope__LowerBoundAssignment_1_0_0_0 ) ) { - // InternalSolverLanguageParser.g:8215:1: ( ( rule__ExactScopeDefinition__TypeAssignment_1 ) ) - // InternalSolverLanguageParser.g:8216:2: ( rule__ExactScopeDefinition__TypeAssignment_1 ) + // InternalSolverLanguageParser.g:9682:1: ( ( rule__BoundedScope__LowerBoundAssignment_1_0_0_0 ) ) + // InternalSolverLanguageParser.g:9683:2: ( rule__BoundedScope__LowerBoundAssignment_1_0_0_0 ) { - before(grammarAccess.getExactScopeDefinitionAccess().getTypeAssignment_1()); - // InternalSolverLanguageParser.g:8217:2: ( rule__ExactScopeDefinition__TypeAssignment_1 ) - // InternalSolverLanguageParser.g:8217:3: rule__ExactScopeDefinition__TypeAssignment_1 + before(grammarAccess.getBoundedScopeAccess().getLowerBoundAssignment_1_0_0_0()); + // InternalSolverLanguageParser.g:9684:2: ( rule__BoundedScope__LowerBoundAssignment_1_0_0_0 ) + // InternalSolverLanguageParser.g:9684:3: rule__BoundedScope__LowerBoundAssignment_1_0_0_0 { pushFollow(FOLLOW_2); - rule__ExactScopeDefinition__TypeAssignment_1(); + rule__BoundedScope__LowerBoundAssignment_1_0_0_0(); state._fsp--; } - after(grammarAccess.getExactScopeDefinitionAccess().getTypeAssignment_1()); + after(grammarAccess.getBoundedScopeAccess().getLowerBoundAssignment_1_0_0_0()); } @@ -25316,26 +29757,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ExactScopeDefinition__Group__1__Impl" + // $ANTLR end "rule__BoundedScope__Group_1_0_0__0__Impl" - // $ANTLR start "rule__ExactScopeDefinition__Group__2" - // InternalSolverLanguageParser.g:8225:1: rule__ExactScopeDefinition__Group__2 : rule__ExactScopeDefinition__Group__2__Impl rule__ExactScopeDefinition__Group__3 ; - public final void rule__ExactScopeDefinition__Group__2() throws RecognitionException { + // $ANTLR start "rule__BoundedScope__Group_1_0_0__1" + // InternalSolverLanguageParser.g:9692:1: rule__BoundedScope__Group_1_0_0__1 : rule__BoundedScope__Group_1_0_0__1__Impl ; + public final void rule__BoundedScope__Group_1_0_0__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:8229:1: ( rule__ExactScopeDefinition__Group__2__Impl rule__ExactScopeDefinition__Group__3 ) - // InternalSolverLanguageParser.g:8230:2: rule__ExactScopeDefinition__Group__2__Impl rule__ExactScopeDefinition__Group__3 + // InternalSolverLanguageParser.g:9696:1: ( rule__BoundedScope__Group_1_0_0__1__Impl ) + // InternalSolverLanguageParser.g:9697:2: rule__BoundedScope__Group_1_0_0__1__Impl { - pushFollow(FOLLOW_59); - rule__ExactScopeDefinition__Group__2__Impl(); - - state._fsp--; - pushFollow(FOLLOW_2); - rule__ExactScopeDefinition__Group__3(); + rule__BoundedScope__Group_1_0_0__1__Impl(); state._fsp--; @@ -25354,25 +29790,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ExactScopeDefinition__Group__2" + // $ANTLR end "rule__BoundedScope__Group_1_0_0__1" - // $ANTLR start "rule__ExactScopeDefinition__Group__2__Impl" - // InternalSolverLanguageParser.g:8237:1: rule__ExactScopeDefinition__Group__2__Impl : ( EqualsSignEqualsSign ) ; - public final void rule__ExactScopeDefinition__Group__2__Impl() throws RecognitionException { + // $ANTLR start "rule__BoundedScope__Group_1_0_0__1__Impl" + // InternalSolverLanguageParser.g:9703:1: rule__BoundedScope__Group_1_0_0__1__Impl : ( LessThanSignEqualsSign ) ; + public final void rule__BoundedScope__Group_1_0_0__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:8241:1: ( ( EqualsSignEqualsSign ) ) - // InternalSolverLanguageParser.g:8242:1: ( EqualsSignEqualsSign ) + // InternalSolverLanguageParser.g:9707:1: ( ( LessThanSignEqualsSign ) ) + // InternalSolverLanguageParser.g:9708:1: ( LessThanSignEqualsSign ) { - // InternalSolverLanguageParser.g:8242:1: ( EqualsSignEqualsSign ) - // InternalSolverLanguageParser.g:8243:2: EqualsSignEqualsSign + // InternalSolverLanguageParser.g:9708:1: ( LessThanSignEqualsSign ) + // InternalSolverLanguageParser.g:9709:2: LessThanSignEqualsSign { - before(grammarAccess.getExactScopeDefinitionAccess().getEqualsSignEqualsSignKeyword_2()); - match(input,EqualsSignEqualsSign,FOLLOW_2); - after(grammarAccess.getExactScopeDefinitionAccess().getEqualsSignEqualsSignKeyword_2()); + before(grammarAccess.getBoundedScopeAccess().getLessThanSignEqualsSignKeyword_1_0_0_1()); + match(input,LessThanSignEqualsSign,FOLLOW_2); + after(grammarAccess.getBoundedScopeAccess().getLessThanSignEqualsSignKeyword_1_0_0_1()); } @@ -25391,21 +29827,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ExactScopeDefinition__Group__2__Impl" + // $ANTLR end "rule__BoundedScope__Group_1_0_0__1__Impl" - // $ANTLR start "rule__ExactScopeDefinition__Group__3" - // InternalSolverLanguageParser.g:8252:1: rule__ExactScopeDefinition__Group__3 : rule__ExactScopeDefinition__Group__3__Impl ; - public final void rule__ExactScopeDefinition__Group__3() throws RecognitionException { + // $ANTLR start "rule__BoundedScope__Group_1_1__0" + // InternalSolverLanguageParser.g:9719:1: rule__BoundedScope__Group_1_1__0 : rule__BoundedScope__Group_1_1__0__Impl rule__BoundedScope__Group_1_1__1 ; + public final void rule__BoundedScope__Group_1_1__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:8256:1: ( rule__ExactScopeDefinition__Group__3__Impl ) - // InternalSolverLanguageParser.g:8257:2: rule__ExactScopeDefinition__Group__3__Impl + // InternalSolverLanguageParser.g:9723:1: ( rule__BoundedScope__Group_1_1__0__Impl rule__BoundedScope__Group_1_1__1 ) + // InternalSolverLanguageParser.g:9724:2: rule__BoundedScope__Group_1_1__0__Impl rule__BoundedScope__Group_1_1__1 { + pushFollow(FOLLOW_72); + rule__BoundedScope__Group_1_1__0__Impl(); + + state._fsp--; + pushFollow(FOLLOW_2); - rule__ExactScopeDefinition__Group__3__Impl(); + rule__BoundedScope__Group_1_1__1(); state._fsp--; @@ -25424,35 +29865,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ExactScopeDefinition__Group__3" + // $ANTLR end "rule__BoundedScope__Group_1_1__0" - // $ANTLR start "rule__ExactScopeDefinition__Group__3__Impl" - // InternalSolverLanguageParser.g:8263:1: rule__ExactScopeDefinition__Group__3__Impl : ( ( rule__ExactScopeDefinition__ExactScopeAssignment_3 ) ) ; - public final void rule__ExactScopeDefinition__Group__3__Impl() throws RecognitionException { + // $ANTLR start "rule__BoundedScope__Group_1_1__0__Impl" + // InternalSolverLanguageParser.g:9731:1: rule__BoundedScope__Group_1_1__0__Impl : ( ( rule__BoundedScope__UpperBoundAssignment_1_1_0 ) ) ; + public final void rule__BoundedScope__Group_1_1__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:8267:1: ( ( ( rule__ExactScopeDefinition__ExactScopeAssignment_3 ) ) ) - // InternalSolverLanguageParser.g:8268:1: ( ( rule__ExactScopeDefinition__ExactScopeAssignment_3 ) ) + // InternalSolverLanguageParser.g:9735:1: ( ( ( rule__BoundedScope__UpperBoundAssignment_1_1_0 ) ) ) + // InternalSolverLanguageParser.g:9736:1: ( ( rule__BoundedScope__UpperBoundAssignment_1_1_0 ) ) { - // InternalSolverLanguageParser.g:8268:1: ( ( rule__ExactScopeDefinition__ExactScopeAssignment_3 ) ) - // InternalSolverLanguageParser.g:8269:2: ( rule__ExactScopeDefinition__ExactScopeAssignment_3 ) + // InternalSolverLanguageParser.g:9736:1: ( ( rule__BoundedScope__UpperBoundAssignment_1_1_0 ) ) + // InternalSolverLanguageParser.g:9737:2: ( rule__BoundedScope__UpperBoundAssignment_1_1_0 ) { - before(grammarAccess.getExactScopeDefinitionAccess().getExactScopeAssignment_3()); - // InternalSolverLanguageParser.g:8270:2: ( rule__ExactScopeDefinition__ExactScopeAssignment_3 ) - // InternalSolverLanguageParser.g:8270:3: rule__ExactScopeDefinition__ExactScopeAssignment_3 + before(grammarAccess.getBoundedScopeAccess().getUpperBoundAssignment_1_1_0()); + // InternalSolverLanguageParser.g:9738:2: ( rule__BoundedScope__UpperBoundAssignment_1_1_0 ) + // InternalSolverLanguageParser.g:9738:3: rule__BoundedScope__UpperBoundAssignment_1_1_0 { pushFollow(FOLLOW_2); - rule__ExactScopeDefinition__ExactScopeAssignment_3(); + rule__BoundedScope__UpperBoundAssignment_1_1_0(); state._fsp--; } - after(grammarAccess.getExactScopeDefinitionAccess().getExactScopeAssignment_3()); + after(grammarAccess.getBoundedScopeAccess().getUpperBoundAssignment_1_1_0()); } @@ -25471,26 +29912,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ExactScopeDefinition__Group__3__Impl" + // $ANTLR end "rule__BoundedScope__Group_1_1__0__Impl" - // $ANTLR start "rule__BoundedScopeDefinition__Group__0" - // InternalSolverLanguageParser.g:8279:1: rule__BoundedScopeDefinition__Group__0 : rule__BoundedScopeDefinition__Group__0__Impl rule__BoundedScopeDefinition__Group__1 ; - public final void rule__BoundedScopeDefinition__Group__0() throws RecognitionException { + // $ANTLR start "rule__BoundedScope__Group_1_1__1" + // InternalSolverLanguageParser.g:9746:1: rule__BoundedScope__Group_1_1__1 : rule__BoundedScope__Group_1_1__1__Impl rule__BoundedScope__Group_1_1__2 ; + public final void rule__BoundedScope__Group_1_1__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:8283:1: ( rule__BoundedScopeDefinition__Group__0__Impl rule__BoundedScopeDefinition__Group__1 ) - // InternalSolverLanguageParser.g:8284:2: rule__BoundedScopeDefinition__Group__0__Impl rule__BoundedScopeDefinition__Group__1 + // InternalSolverLanguageParser.g:9750:1: ( rule__BoundedScope__Group_1_1__1__Impl rule__BoundedScope__Group_1_1__2 ) + // InternalSolverLanguageParser.g:9751:2: rule__BoundedScope__Group_1_1__1__Impl rule__BoundedScope__Group_1_1__2 { - pushFollow(FOLLOW_61); - rule__BoundedScopeDefinition__Group__0__Impl(); + pushFollow(FOLLOW_6); + rule__BoundedScope__Group_1_1__1__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__BoundedScopeDefinition__Group__1(); + rule__BoundedScope__Group_1_1__2(); state._fsp--; @@ -25509,25 +29950,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__BoundedScopeDefinition__Group__0" + // $ANTLR end "rule__BoundedScope__Group_1_1__1" - // $ANTLR start "rule__BoundedScopeDefinition__Group__0__Impl" - // InternalSolverLanguageParser.g:8291:1: rule__BoundedScopeDefinition__Group__0__Impl : ( Scope ) ; - public final void rule__BoundedScopeDefinition__Group__0__Impl() throws RecognitionException { + // $ANTLR start "rule__BoundedScope__Group_1_1__1__Impl" + // InternalSolverLanguageParser.g:9758:1: rule__BoundedScope__Group_1_1__1__Impl : ( GreaterThanSignEqualsSign ) ; + public final void rule__BoundedScope__Group_1_1__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:8295:1: ( ( Scope ) ) - // InternalSolverLanguageParser.g:8296:1: ( Scope ) + // InternalSolverLanguageParser.g:9762:1: ( ( GreaterThanSignEqualsSign ) ) + // InternalSolverLanguageParser.g:9763:1: ( GreaterThanSignEqualsSign ) { - // InternalSolverLanguageParser.g:8296:1: ( Scope ) - // InternalSolverLanguageParser.g:8297:2: Scope + // InternalSolverLanguageParser.g:9763:1: ( GreaterThanSignEqualsSign ) + // InternalSolverLanguageParser.g:9764:2: GreaterThanSignEqualsSign { - before(grammarAccess.getBoundedScopeDefinitionAccess().getScopeKeyword_0()); - match(input,Scope,FOLLOW_2); - after(grammarAccess.getBoundedScopeDefinitionAccess().getScopeKeyword_0()); + before(grammarAccess.getBoundedScopeAccess().getGreaterThanSignEqualsSignKeyword_1_1_1()); + match(input,GreaterThanSignEqualsSign,FOLLOW_2); + after(grammarAccess.getBoundedScopeAccess().getGreaterThanSignEqualsSignKeyword_1_1_1()); } @@ -25546,21 +29987,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__BoundedScopeDefinition__Group__0__Impl" + // $ANTLR end "rule__BoundedScope__Group_1_1__1__Impl" - // $ANTLR start "rule__BoundedScopeDefinition__Group__1" - // InternalSolverLanguageParser.g:8306:1: rule__BoundedScopeDefinition__Group__1 : rule__BoundedScopeDefinition__Group__1__Impl ; - public final void rule__BoundedScopeDefinition__Group__1() throws RecognitionException { + // $ANTLR start "rule__BoundedScope__Group_1_1__2" + // InternalSolverLanguageParser.g:9773:1: rule__BoundedScope__Group_1_1__2 : rule__BoundedScope__Group_1_1__2__Impl rule__BoundedScope__Group_1_1__3 ; + public final void rule__BoundedScope__Group_1_1__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:8310:1: ( rule__BoundedScopeDefinition__Group__1__Impl ) - // InternalSolverLanguageParser.g:8311:2: rule__BoundedScopeDefinition__Group__1__Impl + // InternalSolverLanguageParser.g:9777:1: ( rule__BoundedScope__Group_1_1__2__Impl rule__BoundedScope__Group_1_1__3 ) + // InternalSolverLanguageParser.g:9778:2: rule__BoundedScope__Group_1_1__2__Impl rule__BoundedScope__Group_1_1__3 { + pushFollow(FOLLOW_72); + rule__BoundedScope__Group_1_1__2__Impl(); + + state._fsp--; + pushFollow(FOLLOW_2); - rule__BoundedScopeDefinition__Group__1__Impl(); + rule__BoundedScope__Group_1_1__3(); state._fsp--; @@ -25579,35 +30025,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__BoundedScopeDefinition__Group__1" + // $ANTLR end "rule__BoundedScope__Group_1_1__2" - // $ANTLR start "rule__BoundedScopeDefinition__Group__1__Impl" - // InternalSolverLanguageParser.g:8317:1: rule__BoundedScopeDefinition__Group__1__Impl : ( ( rule__BoundedScopeDefinition__Alternatives_1 ) ) ; - public final void rule__BoundedScopeDefinition__Group__1__Impl() throws RecognitionException { + // $ANTLR start "rule__BoundedScope__Group_1_1__2__Impl" + // InternalSolverLanguageParser.g:9785:1: rule__BoundedScope__Group_1_1__2__Impl : ( ( rule__BoundedScope__TypeAssignment_1_1_2 ) ) ; + public final void rule__BoundedScope__Group_1_1__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:8321:1: ( ( ( rule__BoundedScopeDefinition__Alternatives_1 ) ) ) - // InternalSolverLanguageParser.g:8322:1: ( ( rule__BoundedScopeDefinition__Alternatives_1 ) ) + // InternalSolverLanguageParser.g:9789:1: ( ( ( rule__BoundedScope__TypeAssignment_1_1_2 ) ) ) + // InternalSolverLanguageParser.g:9790:1: ( ( rule__BoundedScope__TypeAssignment_1_1_2 ) ) { - // InternalSolverLanguageParser.g:8322:1: ( ( rule__BoundedScopeDefinition__Alternatives_1 ) ) - // InternalSolverLanguageParser.g:8323:2: ( rule__BoundedScopeDefinition__Alternatives_1 ) + // InternalSolverLanguageParser.g:9790:1: ( ( rule__BoundedScope__TypeAssignment_1_1_2 ) ) + // InternalSolverLanguageParser.g:9791:2: ( rule__BoundedScope__TypeAssignment_1_1_2 ) { - before(grammarAccess.getBoundedScopeDefinitionAccess().getAlternatives_1()); - // InternalSolverLanguageParser.g:8324:2: ( rule__BoundedScopeDefinition__Alternatives_1 ) - // InternalSolverLanguageParser.g:8324:3: rule__BoundedScopeDefinition__Alternatives_1 + before(grammarAccess.getBoundedScopeAccess().getTypeAssignment_1_1_2()); + // InternalSolverLanguageParser.g:9792:2: ( rule__BoundedScope__TypeAssignment_1_1_2 ) + // InternalSolverLanguageParser.g:9792:3: rule__BoundedScope__TypeAssignment_1_1_2 { pushFollow(FOLLOW_2); - rule__BoundedScopeDefinition__Alternatives_1(); + rule__BoundedScope__TypeAssignment_1_1_2(); state._fsp--; } - after(grammarAccess.getBoundedScopeDefinitionAccess().getAlternatives_1()); + after(grammarAccess.getBoundedScopeAccess().getTypeAssignment_1_1_2()); } @@ -25626,26 +30072,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__BoundedScopeDefinition__Group__1__Impl" + // $ANTLR end "rule__BoundedScope__Group_1_1__2__Impl" - // $ANTLR start "rule__BoundedScopeDefinition__Group_1_0__0" - // InternalSolverLanguageParser.g:8333:1: rule__BoundedScopeDefinition__Group_1_0__0 : rule__BoundedScopeDefinition__Group_1_0__0__Impl rule__BoundedScopeDefinition__Group_1_0__1 ; - public final void rule__BoundedScopeDefinition__Group_1_0__0() throws RecognitionException { + // $ANTLR start "rule__BoundedScope__Group_1_1__3" + // InternalSolverLanguageParser.g:9800:1: rule__BoundedScope__Group_1_1__3 : rule__BoundedScope__Group_1_1__3__Impl ; + public final void rule__BoundedScope__Group_1_1__3() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:8337:1: ( rule__BoundedScopeDefinition__Group_1_0__0__Impl rule__BoundedScopeDefinition__Group_1_0__1 ) - // InternalSolverLanguageParser.g:8338:2: rule__BoundedScopeDefinition__Group_1_0__0__Impl rule__BoundedScopeDefinition__Group_1_0__1 + // InternalSolverLanguageParser.g:9804:1: ( rule__BoundedScope__Group_1_1__3__Impl ) + // InternalSolverLanguageParser.g:9805:2: rule__BoundedScope__Group_1_1__3__Impl { - pushFollow(FOLLOW_61); - rule__BoundedScopeDefinition__Group_1_0__0__Impl(); - - state._fsp--; - pushFollow(FOLLOW_2); - rule__BoundedScopeDefinition__Group_1_0__1(); + rule__BoundedScope__Group_1_1__3__Impl(); state._fsp--; @@ -25664,36 +30105,36 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__BoundedScopeDefinition__Group_1_0__0" + // $ANTLR end "rule__BoundedScope__Group_1_1__3" - // $ANTLR start "rule__BoundedScopeDefinition__Group_1_0__0__Impl" - // InternalSolverLanguageParser.g:8345:1: rule__BoundedScopeDefinition__Group_1_0__0__Impl : ( ( rule__BoundedScopeDefinition__Group_1_0_0__0 )? ) ; - public final void rule__BoundedScopeDefinition__Group_1_0__0__Impl() throws RecognitionException { + // $ANTLR start "rule__BoundedScope__Group_1_1__3__Impl" + // InternalSolverLanguageParser.g:9811:1: rule__BoundedScope__Group_1_1__3__Impl : ( ( rule__BoundedScope__Group_1_1_3__0 )? ) ; + public final void rule__BoundedScope__Group_1_1__3__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:8349:1: ( ( ( rule__BoundedScopeDefinition__Group_1_0_0__0 )? ) ) - // InternalSolverLanguageParser.g:8350:1: ( ( rule__BoundedScopeDefinition__Group_1_0_0__0 )? ) + // InternalSolverLanguageParser.g:9815:1: ( ( ( rule__BoundedScope__Group_1_1_3__0 )? ) ) + // InternalSolverLanguageParser.g:9816:1: ( ( rule__BoundedScope__Group_1_1_3__0 )? ) { - // InternalSolverLanguageParser.g:8350:1: ( ( rule__BoundedScopeDefinition__Group_1_0_0__0 )? ) - // InternalSolverLanguageParser.g:8351:2: ( rule__BoundedScopeDefinition__Group_1_0_0__0 )? + // InternalSolverLanguageParser.g:9816:1: ( ( rule__BoundedScope__Group_1_1_3__0 )? ) + // InternalSolverLanguageParser.g:9817:2: ( rule__BoundedScope__Group_1_1_3__0 )? { - before(grammarAccess.getBoundedScopeDefinitionAccess().getGroup_1_0_0()); - // InternalSolverLanguageParser.g:8352:2: ( rule__BoundedScopeDefinition__Group_1_0_0__0 )? - int alt59=2; - int LA59_0 = input.LA(1); + before(grammarAccess.getBoundedScopeAccess().getGroup_1_1_3()); + // InternalSolverLanguageParser.g:9818:2: ( rule__BoundedScope__Group_1_1_3__0 )? + int alt67=2; + int LA67_0 = input.LA(1); - if ( (LA59_0==RULE_INT) ) { - alt59=1; + if ( (LA67_0==GreaterThanSignEqualsSign) ) { + alt67=1; } - switch (alt59) { + switch (alt67) { case 1 : - // InternalSolverLanguageParser.g:8352:3: rule__BoundedScopeDefinition__Group_1_0_0__0 + // InternalSolverLanguageParser.g:9818:3: rule__BoundedScope__Group_1_1_3__0 { pushFollow(FOLLOW_2); - rule__BoundedScopeDefinition__Group_1_0_0__0(); + rule__BoundedScope__Group_1_1_3__0(); state._fsp--; @@ -25703,7 +30144,7 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } - after(grammarAccess.getBoundedScopeDefinitionAccess().getGroup_1_0_0()); + after(grammarAccess.getBoundedScopeAccess().getGroup_1_1_3()); } @@ -25722,26 +30163,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__BoundedScopeDefinition__Group_1_0__0__Impl" + // $ANTLR end "rule__BoundedScope__Group_1_1__3__Impl" - // $ANTLR start "rule__BoundedScopeDefinition__Group_1_0__1" - // InternalSolverLanguageParser.g:8360:1: rule__BoundedScopeDefinition__Group_1_0__1 : rule__BoundedScopeDefinition__Group_1_0__1__Impl rule__BoundedScopeDefinition__Group_1_0__2 ; - public final void rule__BoundedScopeDefinition__Group_1_0__1() throws RecognitionException { + // $ANTLR start "rule__BoundedScope__Group_1_1_3__0" + // InternalSolverLanguageParser.g:9827:1: rule__BoundedScope__Group_1_1_3__0 : rule__BoundedScope__Group_1_1_3__0__Impl rule__BoundedScope__Group_1_1_3__1 ; + public final void rule__BoundedScope__Group_1_1_3__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:8364:1: ( rule__BoundedScopeDefinition__Group_1_0__1__Impl rule__BoundedScopeDefinition__Group_1_0__2 ) - // InternalSolverLanguageParser.g:8365:2: rule__BoundedScopeDefinition__Group_1_0__1__Impl rule__BoundedScopeDefinition__Group_1_0__2 + // InternalSolverLanguageParser.g:9831:1: ( rule__BoundedScope__Group_1_1_3__0__Impl rule__BoundedScope__Group_1_1_3__1 ) + // InternalSolverLanguageParser.g:9832:2: rule__BoundedScope__Group_1_1_3__0__Impl rule__BoundedScope__Group_1_1_3__1 { - pushFollow(FOLLOW_62); - rule__BoundedScopeDefinition__Group_1_0__1__Impl(); + pushFollow(FOLLOW_64); + rule__BoundedScope__Group_1_1_3__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__BoundedScopeDefinition__Group_1_0__2(); + rule__BoundedScope__Group_1_1_3__1(); state._fsp--; @@ -25760,35 +30201,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__BoundedScopeDefinition__Group_1_0__1" + // $ANTLR end "rule__BoundedScope__Group_1_1_3__0" - // $ANTLR start "rule__BoundedScopeDefinition__Group_1_0__1__Impl" - // InternalSolverLanguageParser.g:8372:1: rule__BoundedScopeDefinition__Group_1_0__1__Impl : ( ( rule__BoundedScopeDefinition__TypeAssignment_1_0_1 ) ) ; - public final void rule__BoundedScopeDefinition__Group_1_0__1__Impl() throws RecognitionException { + // $ANTLR start "rule__BoundedScope__Group_1_1_3__0__Impl" + // InternalSolverLanguageParser.g:9839:1: rule__BoundedScope__Group_1_1_3__0__Impl : ( GreaterThanSignEqualsSign ) ; + public final void rule__BoundedScope__Group_1_1_3__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:8376:1: ( ( ( rule__BoundedScopeDefinition__TypeAssignment_1_0_1 ) ) ) - // InternalSolverLanguageParser.g:8377:1: ( ( rule__BoundedScopeDefinition__TypeAssignment_1_0_1 ) ) - { - // InternalSolverLanguageParser.g:8377:1: ( ( rule__BoundedScopeDefinition__TypeAssignment_1_0_1 ) ) - // InternalSolverLanguageParser.g:8378:2: ( rule__BoundedScopeDefinition__TypeAssignment_1_0_1 ) + // InternalSolverLanguageParser.g:9843:1: ( ( GreaterThanSignEqualsSign ) ) + // InternalSolverLanguageParser.g:9844:1: ( GreaterThanSignEqualsSign ) { - before(grammarAccess.getBoundedScopeDefinitionAccess().getTypeAssignment_1_0_1()); - // InternalSolverLanguageParser.g:8379:2: ( rule__BoundedScopeDefinition__TypeAssignment_1_0_1 ) - // InternalSolverLanguageParser.g:8379:3: rule__BoundedScopeDefinition__TypeAssignment_1_0_1 + // InternalSolverLanguageParser.g:9844:1: ( GreaterThanSignEqualsSign ) + // InternalSolverLanguageParser.g:9845:2: GreaterThanSignEqualsSign { - pushFollow(FOLLOW_2); - rule__BoundedScopeDefinition__TypeAssignment_1_0_1(); - - state._fsp--; - - - } - - after(grammarAccess.getBoundedScopeDefinitionAccess().getTypeAssignment_1_0_1()); + before(grammarAccess.getBoundedScopeAccess().getGreaterThanSignEqualsSignKeyword_1_1_3_0()); + match(input,GreaterThanSignEqualsSign,FOLLOW_2); + after(grammarAccess.getBoundedScopeAccess().getGreaterThanSignEqualsSignKeyword_1_1_3_0()); } @@ -25807,26 +30238,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__BoundedScopeDefinition__Group_1_0__1__Impl" + // $ANTLR end "rule__BoundedScope__Group_1_1_3__0__Impl" - // $ANTLR start "rule__BoundedScopeDefinition__Group_1_0__2" - // InternalSolverLanguageParser.g:8387:1: rule__BoundedScopeDefinition__Group_1_0__2 : rule__BoundedScopeDefinition__Group_1_0__2__Impl rule__BoundedScopeDefinition__Group_1_0__3 ; - public final void rule__BoundedScopeDefinition__Group_1_0__2() throws RecognitionException { + // $ANTLR start "rule__BoundedScope__Group_1_1_3__1" + // InternalSolverLanguageParser.g:9854:1: rule__BoundedScope__Group_1_1_3__1 : rule__BoundedScope__Group_1_1_3__1__Impl ; + public final void rule__BoundedScope__Group_1_1_3__1() throws RecognitionException { int stackSize = keepStackSize(); - try { - // InternalSolverLanguageParser.g:8391:1: ( rule__BoundedScopeDefinition__Group_1_0__2__Impl rule__BoundedScopeDefinition__Group_1_0__3 ) - // InternalSolverLanguageParser.g:8392:2: rule__BoundedScopeDefinition__Group_1_0__2__Impl rule__BoundedScopeDefinition__Group_1_0__3 - { - pushFollow(FOLLOW_59); - rule__BoundedScopeDefinition__Group_1_0__2__Impl(); - - state._fsp--; - + try { + // InternalSolverLanguageParser.g:9858:1: ( rule__BoundedScope__Group_1_1_3__1__Impl ) + // InternalSolverLanguageParser.g:9859:2: rule__BoundedScope__Group_1_1_3__1__Impl + { pushFollow(FOLLOW_2); - rule__BoundedScopeDefinition__Group_1_0__3(); + rule__BoundedScope__Group_1_1_3__1__Impl(); state._fsp--; @@ -25845,25 +30271,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__BoundedScopeDefinition__Group_1_0__2" + // $ANTLR end "rule__BoundedScope__Group_1_1_3__1" - // $ANTLR start "rule__BoundedScopeDefinition__Group_1_0__2__Impl" - // InternalSolverLanguageParser.g:8399:1: rule__BoundedScopeDefinition__Group_1_0__2__Impl : ( LessThanSignEqualsSign ) ; - public final void rule__BoundedScopeDefinition__Group_1_0__2__Impl() throws RecognitionException { + // $ANTLR start "rule__BoundedScope__Group_1_1_3__1__Impl" + // InternalSolverLanguageParser.g:9865:1: rule__BoundedScope__Group_1_1_3__1__Impl : ( ( rule__BoundedScope__LowerBoundAssignment_1_1_3_1 ) ) ; + public final void rule__BoundedScope__Group_1_1_3__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:8403:1: ( ( LessThanSignEqualsSign ) ) - // InternalSolverLanguageParser.g:8404:1: ( LessThanSignEqualsSign ) + // InternalSolverLanguageParser.g:9869:1: ( ( ( rule__BoundedScope__LowerBoundAssignment_1_1_3_1 ) ) ) + // InternalSolverLanguageParser.g:9870:1: ( ( rule__BoundedScope__LowerBoundAssignment_1_1_3_1 ) ) { - // InternalSolverLanguageParser.g:8404:1: ( LessThanSignEqualsSign ) - // InternalSolverLanguageParser.g:8405:2: LessThanSignEqualsSign + // InternalSolverLanguageParser.g:9870:1: ( ( rule__BoundedScope__LowerBoundAssignment_1_1_3_1 ) ) + // InternalSolverLanguageParser.g:9871:2: ( rule__BoundedScope__LowerBoundAssignment_1_1_3_1 ) { - before(grammarAccess.getBoundedScopeDefinitionAccess().getLessThanSignEqualsSignKeyword_1_0_2()); - match(input,LessThanSignEqualsSign,FOLLOW_2); - after(grammarAccess.getBoundedScopeDefinitionAccess().getLessThanSignEqualsSignKeyword_1_0_2()); + before(grammarAccess.getBoundedScopeAccess().getLowerBoundAssignment_1_1_3_1()); + // InternalSolverLanguageParser.g:9872:2: ( rule__BoundedScope__LowerBoundAssignment_1_1_3_1 ) + // InternalSolverLanguageParser.g:9872:3: rule__BoundedScope__LowerBoundAssignment_1_1_3_1 + { + pushFollow(FOLLOW_2); + rule__BoundedScope__LowerBoundAssignment_1_1_3_1(); + + state._fsp--; + + + } + + after(grammarAccess.getBoundedScopeAccess().getLowerBoundAssignment_1_1_3_1()); } @@ -25882,21 +30318,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__BoundedScopeDefinition__Group_1_0__2__Impl" + // $ANTLR end "rule__BoundedScope__Group_1_1_3__1__Impl" - // $ANTLR start "rule__BoundedScopeDefinition__Group_1_0__3" - // InternalSolverLanguageParser.g:8414:1: rule__BoundedScopeDefinition__Group_1_0__3 : rule__BoundedScopeDefinition__Group_1_0__3__Impl ; - public final void rule__BoundedScopeDefinition__Group_1_0__3() throws RecognitionException { + // $ANTLR start "rule__LowerBoundedScope__Group__0" + // InternalSolverLanguageParser.g:9881:1: rule__LowerBoundedScope__Group__0 : rule__LowerBoundedScope__Group__0__Impl rule__LowerBoundedScope__Group__1 ; + public final void rule__LowerBoundedScope__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:8418:1: ( rule__BoundedScopeDefinition__Group_1_0__3__Impl ) - // InternalSolverLanguageParser.g:8419:2: rule__BoundedScopeDefinition__Group_1_0__3__Impl + // InternalSolverLanguageParser.g:9885:1: ( rule__LowerBoundedScope__Group__0__Impl rule__LowerBoundedScope__Group__1 ) + // InternalSolverLanguageParser.g:9886:2: rule__LowerBoundedScope__Group__0__Impl rule__LowerBoundedScope__Group__1 { + pushFollow(FOLLOW_70); + rule__LowerBoundedScope__Group__0__Impl(); + + state._fsp--; + pushFollow(FOLLOW_2); - rule__BoundedScopeDefinition__Group_1_0__3__Impl(); + rule__LowerBoundedScope__Group__1(); state._fsp--; @@ -25915,35 +30356,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__BoundedScopeDefinition__Group_1_0__3" + // $ANTLR end "rule__LowerBoundedScope__Group__0" - // $ANTLR start "rule__BoundedScopeDefinition__Group_1_0__3__Impl" - // InternalSolverLanguageParser.g:8425:1: rule__BoundedScopeDefinition__Group_1_0__3__Impl : ( ( rule__BoundedScopeDefinition__UpperBoundAssignment_1_0_3 ) ) ; - public final void rule__BoundedScopeDefinition__Group_1_0__3__Impl() throws RecognitionException { + // $ANTLR start "rule__LowerBoundedScope__Group__0__Impl" + // InternalSolverLanguageParser.g:9893:1: rule__LowerBoundedScope__Group__0__Impl : ( Scope ) ; + public final void rule__LowerBoundedScope__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:8429:1: ( ( ( rule__BoundedScopeDefinition__UpperBoundAssignment_1_0_3 ) ) ) - // InternalSolverLanguageParser.g:8430:1: ( ( rule__BoundedScopeDefinition__UpperBoundAssignment_1_0_3 ) ) + // InternalSolverLanguageParser.g:9897:1: ( ( Scope ) ) + // InternalSolverLanguageParser.g:9898:1: ( Scope ) { - // InternalSolverLanguageParser.g:8430:1: ( ( rule__BoundedScopeDefinition__UpperBoundAssignment_1_0_3 ) ) - // InternalSolverLanguageParser.g:8431:2: ( rule__BoundedScopeDefinition__UpperBoundAssignment_1_0_3 ) + // InternalSolverLanguageParser.g:9898:1: ( Scope ) + // InternalSolverLanguageParser.g:9899:2: Scope { - before(grammarAccess.getBoundedScopeDefinitionAccess().getUpperBoundAssignment_1_0_3()); - // InternalSolverLanguageParser.g:8432:2: ( rule__BoundedScopeDefinition__UpperBoundAssignment_1_0_3 ) - // InternalSolverLanguageParser.g:8432:3: rule__BoundedScopeDefinition__UpperBoundAssignment_1_0_3 - { - pushFollow(FOLLOW_2); - rule__BoundedScopeDefinition__UpperBoundAssignment_1_0_3(); - - state._fsp--; - - - } - - after(grammarAccess.getBoundedScopeDefinitionAccess().getUpperBoundAssignment_1_0_3()); + before(grammarAccess.getLowerBoundedScopeAccess().getScopeKeyword_0()); + match(input,Scope,FOLLOW_2); + after(grammarAccess.getLowerBoundedScopeAccess().getScopeKeyword_0()); } @@ -25962,26 +30393,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__BoundedScopeDefinition__Group_1_0__3__Impl" + // $ANTLR end "rule__LowerBoundedScope__Group__0__Impl" - // $ANTLR start "rule__BoundedScopeDefinition__Group_1_0_0__0" - // InternalSolverLanguageParser.g:8441:1: rule__BoundedScopeDefinition__Group_1_0_0__0 : rule__BoundedScopeDefinition__Group_1_0_0__0__Impl rule__BoundedScopeDefinition__Group_1_0_0__1 ; - public final void rule__BoundedScopeDefinition__Group_1_0_0__0() throws RecognitionException { + // $ANTLR start "rule__LowerBoundedScope__Group__1" + // InternalSolverLanguageParser.g:9908:1: rule__LowerBoundedScope__Group__1 : rule__LowerBoundedScope__Group__1__Impl rule__LowerBoundedScope__Group__2 ; + public final void rule__LowerBoundedScope__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:8445:1: ( rule__BoundedScopeDefinition__Group_1_0_0__0__Impl rule__BoundedScopeDefinition__Group_1_0_0__1 ) - // InternalSolverLanguageParser.g:8446:2: rule__BoundedScopeDefinition__Group_1_0_0__0__Impl rule__BoundedScopeDefinition__Group_1_0_0__1 + // InternalSolverLanguageParser.g:9912:1: ( rule__LowerBoundedScope__Group__1__Impl rule__LowerBoundedScope__Group__2 ) + // InternalSolverLanguageParser.g:9913:2: rule__LowerBoundedScope__Group__1__Impl rule__LowerBoundedScope__Group__2 { - pushFollow(FOLLOW_62); - rule__BoundedScopeDefinition__Group_1_0_0__0__Impl(); + pushFollow(FOLLOW_7); + rule__LowerBoundedScope__Group__1__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__BoundedScopeDefinition__Group_1_0_0__1(); + rule__LowerBoundedScope__Group__2(); state._fsp--; @@ -26000,35 +30431,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__BoundedScopeDefinition__Group_1_0_0__0" + // $ANTLR end "rule__LowerBoundedScope__Group__1" - // $ANTLR start "rule__BoundedScopeDefinition__Group_1_0_0__0__Impl" - // InternalSolverLanguageParser.g:8453:1: rule__BoundedScopeDefinition__Group_1_0_0__0__Impl : ( ( rule__BoundedScopeDefinition__LowerBoundAssignment_1_0_0_0 ) ) ; - public final void rule__BoundedScopeDefinition__Group_1_0_0__0__Impl() throws RecognitionException { + // $ANTLR start "rule__LowerBoundedScope__Group__1__Impl" + // InternalSolverLanguageParser.g:9920:1: rule__LowerBoundedScope__Group__1__Impl : ( ( rule__LowerBoundedScope__Alternatives_1 ) ) ; + public final void rule__LowerBoundedScope__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:8457:1: ( ( ( rule__BoundedScopeDefinition__LowerBoundAssignment_1_0_0_0 ) ) ) - // InternalSolverLanguageParser.g:8458:1: ( ( rule__BoundedScopeDefinition__LowerBoundAssignment_1_0_0_0 ) ) + // InternalSolverLanguageParser.g:9924:1: ( ( ( rule__LowerBoundedScope__Alternatives_1 ) ) ) + // InternalSolverLanguageParser.g:9925:1: ( ( rule__LowerBoundedScope__Alternatives_1 ) ) { - // InternalSolverLanguageParser.g:8458:1: ( ( rule__BoundedScopeDefinition__LowerBoundAssignment_1_0_0_0 ) ) - // InternalSolverLanguageParser.g:8459:2: ( rule__BoundedScopeDefinition__LowerBoundAssignment_1_0_0_0 ) + // InternalSolverLanguageParser.g:9925:1: ( ( rule__LowerBoundedScope__Alternatives_1 ) ) + // InternalSolverLanguageParser.g:9926:2: ( rule__LowerBoundedScope__Alternatives_1 ) { - before(grammarAccess.getBoundedScopeDefinitionAccess().getLowerBoundAssignment_1_0_0_0()); - // InternalSolverLanguageParser.g:8460:2: ( rule__BoundedScopeDefinition__LowerBoundAssignment_1_0_0_0 ) - // InternalSolverLanguageParser.g:8460:3: rule__BoundedScopeDefinition__LowerBoundAssignment_1_0_0_0 + before(grammarAccess.getLowerBoundedScopeAccess().getAlternatives_1()); + // InternalSolverLanguageParser.g:9927:2: ( rule__LowerBoundedScope__Alternatives_1 ) + // InternalSolverLanguageParser.g:9927:3: rule__LowerBoundedScope__Alternatives_1 { pushFollow(FOLLOW_2); - rule__BoundedScopeDefinition__LowerBoundAssignment_1_0_0_0(); + rule__LowerBoundedScope__Alternatives_1(); state._fsp--; } - after(grammarAccess.getBoundedScopeDefinitionAccess().getLowerBoundAssignment_1_0_0_0()); + after(grammarAccess.getLowerBoundedScopeAccess().getAlternatives_1()); } @@ -26047,21 +30478,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__BoundedScopeDefinition__Group_1_0_0__0__Impl" + // $ANTLR end "rule__LowerBoundedScope__Group__1__Impl" - // $ANTLR start "rule__BoundedScopeDefinition__Group_1_0_0__1" - // InternalSolverLanguageParser.g:8468:1: rule__BoundedScopeDefinition__Group_1_0_0__1 : rule__BoundedScopeDefinition__Group_1_0_0__1__Impl ; - public final void rule__BoundedScopeDefinition__Group_1_0_0__1() throws RecognitionException { + // $ANTLR start "rule__LowerBoundedScope__Group__2" + // InternalSolverLanguageParser.g:9935:1: rule__LowerBoundedScope__Group__2 : rule__LowerBoundedScope__Group__2__Impl ; + public final void rule__LowerBoundedScope__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:8472:1: ( rule__BoundedScopeDefinition__Group_1_0_0__1__Impl ) - // InternalSolverLanguageParser.g:8473:2: rule__BoundedScopeDefinition__Group_1_0_0__1__Impl + // InternalSolverLanguageParser.g:9939:1: ( rule__LowerBoundedScope__Group__2__Impl ) + // InternalSolverLanguageParser.g:9940:2: rule__LowerBoundedScope__Group__2__Impl { pushFollow(FOLLOW_2); - rule__BoundedScopeDefinition__Group_1_0_0__1__Impl(); + rule__LowerBoundedScope__Group__2__Impl(); state._fsp--; @@ -26080,25 +30511,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__BoundedScopeDefinition__Group_1_0_0__1" + // $ANTLR end "rule__LowerBoundedScope__Group__2" - // $ANTLR start "rule__BoundedScopeDefinition__Group_1_0_0__1__Impl" - // InternalSolverLanguageParser.g:8479:1: rule__BoundedScopeDefinition__Group_1_0_0__1__Impl : ( LessThanSignEqualsSign ) ; - public final void rule__BoundedScopeDefinition__Group_1_0_0__1__Impl() throws RecognitionException { + // $ANTLR start "rule__LowerBoundedScope__Group__2__Impl" + // InternalSolverLanguageParser.g:9946:1: rule__LowerBoundedScope__Group__2__Impl : ( RULE_FULL_STOP ) ; + public final void rule__LowerBoundedScope__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:8483:1: ( ( LessThanSignEqualsSign ) ) - // InternalSolverLanguageParser.g:8484:1: ( LessThanSignEqualsSign ) + // InternalSolverLanguageParser.g:9950:1: ( ( RULE_FULL_STOP ) ) + // InternalSolverLanguageParser.g:9951:1: ( RULE_FULL_STOP ) { - // InternalSolverLanguageParser.g:8484:1: ( LessThanSignEqualsSign ) - // InternalSolverLanguageParser.g:8485:2: LessThanSignEqualsSign + // InternalSolverLanguageParser.g:9951:1: ( RULE_FULL_STOP ) + // InternalSolverLanguageParser.g:9952:2: RULE_FULL_STOP { - before(grammarAccess.getBoundedScopeDefinitionAccess().getLessThanSignEqualsSignKeyword_1_0_0_1()); - match(input,LessThanSignEqualsSign,FOLLOW_2); - after(grammarAccess.getBoundedScopeDefinitionAccess().getLessThanSignEqualsSignKeyword_1_0_0_1()); + before(grammarAccess.getLowerBoundedScopeAccess().getFULL_STOPTerminalRuleCall_2()); + match(input,RULE_FULL_STOP,FOLLOW_2); + after(grammarAccess.getLowerBoundedScopeAccess().getFULL_STOPTerminalRuleCall_2()); } @@ -26117,26 +30548,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__BoundedScopeDefinition__Group_1_0_0__1__Impl" + // $ANTLR end "rule__LowerBoundedScope__Group__2__Impl" - // $ANTLR start "rule__BoundedScopeDefinition__Group_1_1__0" - // InternalSolverLanguageParser.g:8495:1: rule__BoundedScopeDefinition__Group_1_1__0 : rule__BoundedScopeDefinition__Group_1_1__0__Impl rule__BoundedScopeDefinition__Group_1_1__1 ; - public final void rule__BoundedScopeDefinition__Group_1_1__0() throws RecognitionException { + // $ANTLR start "rule__LowerBoundedScope__Group_1_0__0" + // InternalSolverLanguageParser.g:9962:1: rule__LowerBoundedScope__Group_1_0__0 : rule__LowerBoundedScope__Group_1_0__0__Impl rule__LowerBoundedScope__Group_1_0__1 ; + public final void rule__LowerBoundedScope__Group_1_0__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:8499:1: ( rule__BoundedScopeDefinition__Group_1_1__0__Impl rule__BoundedScopeDefinition__Group_1_1__1 ) - // InternalSolverLanguageParser.g:8500:2: rule__BoundedScopeDefinition__Group_1_1__0__Impl rule__BoundedScopeDefinition__Group_1_1__1 + // InternalSolverLanguageParser.g:9966:1: ( rule__LowerBoundedScope__Group_1_0__0__Impl rule__LowerBoundedScope__Group_1_0__1 ) + // InternalSolverLanguageParser.g:9967:2: rule__LowerBoundedScope__Group_1_0__0__Impl rule__LowerBoundedScope__Group_1_0__1 { - pushFollow(FOLLOW_63); - rule__BoundedScopeDefinition__Group_1_1__0__Impl(); + pushFollow(FOLLOW_71); + rule__LowerBoundedScope__Group_1_0__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__BoundedScopeDefinition__Group_1_1__1(); + rule__LowerBoundedScope__Group_1_0__1(); state._fsp--; @@ -26155,35 +30586,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__BoundedScopeDefinition__Group_1_1__0" + // $ANTLR end "rule__LowerBoundedScope__Group_1_0__0" - // $ANTLR start "rule__BoundedScopeDefinition__Group_1_1__0__Impl" - // InternalSolverLanguageParser.g:8507:1: rule__BoundedScopeDefinition__Group_1_1__0__Impl : ( ( rule__BoundedScopeDefinition__UpperBoundAssignment_1_1_0 ) ) ; - public final void rule__BoundedScopeDefinition__Group_1_1__0__Impl() throws RecognitionException { + // $ANTLR start "rule__LowerBoundedScope__Group_1_0__0__Impl" + // InternalSolverLanguageParser.g:9974:1: rule__LowerBoundedScope__Group_1_0__0__Impl : ( ( rule__LowerBoundedScope__LowerBoundAssignment_1_0_0 ) ) ; + public final void rule__LowerBoundedScope__Group_1_0__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:8511:1: ( ( ( rule__BoundedScopeDefinition__UpperBoundAssignment_1_1_0 ) ) ) - // InternalSolverLanguageParser.g:8512:1: ( ( rule__BoundedScopeDefinition__UpperBoundAssignment_1_1_0 ) ) + // InternalSolverLanguageParser.g:9978:1: ( ( ( rule__LowerBoundedScope__LowerBoundAssignment_1_0_0 ) ) ) + // InternalSolverLanguageParser.g:9979:1: ( ( rule__LowerBoundedScope__LowerBoundAssignment_1_0_0 ) ) { - // InternalSolverLanguageParser.g:8512:1: ( ( rule__BoundedScopeDefinition__UpperBoundAssignment_1_1_0 ) ) - // InternalSolverLanguageParser.g:8513:2: ( rule__BoundedScopeDefinition__UpperBoundAssignment_1_1_0 ) + // InternalSolverLanguageParser.g:9979:1: ( ( rule__LowerBoundedScope__LowerBoundAssignment_1_0_0 ) ) + // InternalSolverLanguageParser.g:9980:2: ( rule__LowerBoundedScope__LowerBoundAssignment_1_0_0 ) { - before(grammarAccess.getBoundedScopeDefinitionAccess().getUpperBoundAssignment_1_1_0()); - // InternalSolverLanguageParser.g:8514:2: ( rule__BoundedScopeDefinition__UpperBoundAssignment_1_1_0 ) - // InternalSolverLanguageParser.g:8514:3: rule__BoundedScopeDefinition__UpperBoundAssignment_1_1_0 + before(grammarAccess.getLowerBoundedScopeAccess().getLowerBoundAssignment_1_0_0()); + // InternalSolverLanguageParser.g:9981:2: ( rule__LowerBoundedScope__LowerBoundAssignment_1_0_0 ) + // InternalSolverLanguageParser.g:9981:3: rule__LowerBoundedScope__LowerBoundAssignment_1_0_0 { pushFollow(FOLLOW_2); - rule__BoundedScopeDefinition__UpperBoundAssignment_1_1_0(); + rule__LowerBoundedScope__LowerBoundAssignment_1_0_0(); state._fsp--; } - after(grammarAccess.getBoundedScopeDefinitionAccess().getUpperBoundAssignment_1_1_0()); + after(grammarAccess.getLowerBoundedScopeAccess().getLowerBoundAssignment_1_0_0()); } @@ -26202,26 +30633,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__BoundedScopeDefinition__Group_1_1__0__Impl" + // $ANTLR end "rule__LowerBoundedScope__Group_1_0__0__Impl" - // $ANTLR start "rule__BoundedScopeDefinition__Group_1_1__1" - // InternalSolverLanguageParser.g:8522:1: rule__BoundedScopeDefinition__Group_1_1__1 : rule__BoundedScopeDefinition__Group_1_1__1__Impl rule__BoundedScopeDefinition__Group_1_1__2 ; - public final void rule__BoundedScopeDefinition__Group_1_1__1() throws RecognitionException { + // $ANTLR start "rule__LowerBoundedScope__Group_1_0__1" + // InternalSolverLanguageParser.g:9989:1: rule__LowerBoundedScope__Group_1_0__1 : rule__LowerBoundedScope__Group_1_0__1__Impl rule__LowerBoundedScope__Group_1_0__2 ; + public final void rule__LowerBoundedScope__Group_1_0__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:8526:1: ( rule__BoundedScopeDefinition__Group_1_1__1__Impl rule__BoundedScopeDefinition__Group_1_1__2 ) - // InternalSolverLanguageParser.g:8527:2: rule__BoundedScopeDefinition__Group_1_1__1__Impl rule__BoundedScopeDefinition__Group_1_1__2 + // InternalSolverLanguageParser.g:9993:1: ( rule__LowerBoundedScope__Group_1_0__1__Impl rule__LowerBoundedScope__Group_1_0__2 ) + // InternalSolverLanguageParser.g:9994:2: rule__LowerBoundedScope__Group_1_0__1__Impl rule__LowerBoundedScope__Group_1_0__2 { - pushFollow(FOLLOW_9); - rule__BoundedScopeDefinition__Group_1_1__1__Impl(); + pushFollow(FOLLOW_6); + rule__LowerBoundedScope__Group_1_0__1__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__BoundedScopeDefinition__Group_1_1__2(); + rule__LowerBoundedScope__Group_1_0__2(); state._fsp--; @@ -26240,25 +30671,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__BoundedScopeDefinition__Group_1_1__1" + // $ANTLR end "rule__LowerBoundedScope__Group_1_0__1" - // $ANTLR start "rule__BoundedScopeDefinition__Group_1_1__1__Impl" - // InternalSolverLanguageParser.g:8534:1: rule__BoundedScopeDefinition__Group_1_1__1__Impl : ( GreaterThanSignEqualsSign ) ; - public final void rule__BoundedScopeDefinition__Group_1_1__1__Impl() throws RecognitionException { + // $ANTLR start "rule__LowerBoundedScope__Group_1_0__1__Impl" + // InternalSolverLanguageParser.g:10001:1: rule__LowerBoundedScope__Group_1_0__1__Impl : ( LessThanSignEqualsSign ) ; + public final void rule__LowerBoundedScope__Group_1_0__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:8538:1: ( ( GreaterThanSignEqualsSign ) ) - // InternalSolverLanguageParser.g:8539:1: ( GreaterThanSignEqualsSign ) + // InternalSolverLanguageParser.g:10005:1: ( ( LessThanSignEqualsSign ) ) + // InternalSolverLanguageParser.g:10006:1: ( LessThanSignEqualsSign ) { - // InternalSolverLanguageParser.g:8539:1: ( GreaterThanSignEqualsSign ) - // InternalSolverLanguageParser.g:8540:2: GreaterThanSignEqualsSign + // InternalSolverLanguageParser.g:10006:1: ( LessThanSignEqualsSign ) + // InternalSolverLanguageParser.g:10007:2: LessThanSignEqualsSign { - before(grammarAccess.getBoundedScopeDefinitionAccess().getGreaterThanSignEqualsSignKeyword_1_1_1()); - match(input,GreaterThanSignEqualsSign,FOLLOW_2); - after(grammarAccess.getBoundedScopeDefinitionAccess().getGreaterThanSignEqualsSignKeyword_1_1_1()); + before(grammarAccess.getLowerBoundedScopeAccess().getLessThanSignEqualsSignKeyword_1_0_1()); + match(input,LessThanSignEqualsSign,FOLLOW_2); + after(grammarAccess.getLowerBoundedScopeAccess().getLessThanSignEqualsSignKeyword_1_0_1()); } @@ -26277,26 +30708,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__BoundedScopeDefinition__Group_1_1__1__Impl" + // $ANTLR end "rule__LowerBoundedScope__Group_1_0__1__Impl" - // $ANTLR start "rule__BoundedScopeDefinition__Group_1_1__2" - // InternalSolverLanguageParser.g:8549:1: rule__BoundedScopeDefinition__Group_1_1__2 : rule__BoundedScopeDefinition__Group_1_1__2__Impl rule__BoundedScopeDefinition__Group_1_1__3 ; - public final void rule__BoundedScopeDefinition__Group_1_1__2() throws RecognitionException { + // $ANTLR start "rule__LowerBoundedScope__Group_1_0__2" + // InternalSolverLanguageParser.g:10016:1: rule__LowerBoundedScope__Group_1_0__2 : rule__LowerBoundedScope__Group_1_0__2__Impl ; + public final void rule__LowerBoundedScope__Group_1_0__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:8553:1: ( rule__BoundedScopeDefinition__Group_1_1__2__Impl rule__BoundedScopeDefinition__Group_1_1__3 ) - // InternalSolverLanguageParser.g:8554:2: rule__BoundedScopeDefinition__Group_1_1__2__Impl rule__BoundedScopeDefinition__Group_1_1__3 + // InternalSolverLanguageParser.g:10020:1: ( rule__LowerBoundedScope__Group_1_0__2__Impl ) + // InternalSolverLanguageParser.g:10021:2: rule__LowerBoundedScope__Group_1_0__2__Impl { - pushFollow(FOLLOW_63); - rule__BoundedScopeDefinition__Group_1_1__2__Impl(); - - state._fsp--; - pushFollow(FOLLOW_2); - rule__BoundedScopeDefinition__Group_1_1__3(); + rule__LowerBoundedScope__Group_1_0__2__Impl(); state._fsp--; @@ -26315,35 +30741,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__BoundedScopeDefinition__Group_1_1__2" + // $ANTLR end "rule__LowerBoundedScope__Group_1_0__2" - // $ANTLR start "rule__BoundedScopeDefinition__Group_1_1__2__Impl" - // InternalSolverLanguageParser.g:8561:1: rule__BoundedScopeDefinition__Group_1_1__2__Impl : ( ( rule__BoundedScopeDefinition__TypeAssignment_1_1_2 ) ) ; - public final void rule__BoundedScopeDefinition__Group_1_1__2__Impl() throws RecognitionException { + // $ANTLR start "rule__LowerBoundedScope__Group_1_0__2__Impl" + // InternalSolverLanguageParser.g:10027:1: rule__LowerBoundedScope__Group_1_0__2__Impl : ( ( rule__LowerBoundedScope__TypeAssignment_1_0_2 ) ) ; + public final void rule__LowerBoundedScope__Group_1_0__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:8565:1: ( ( ( rule__BoundedScopeDefinition__TypeAssignment_1_1_2 ) ) ) - // InternalSolverLanguageParser.g:8566:1: ( ( rule__BoundedScopeDefinition__TypeAssignment_1_1_2 ) ) + // InternalSolverLanguageParser.g:10031:1: ( ( ( rule__LowerBoundedScope__TypeAssignment_1_0_2 ) ) ) + // InternalSolverLanguageParser.g:10032:1: ( ( rule__LowerBoundedScope__TypeAssignment_1_0_2 ) ) { - // InternalSolverLanguageParser.g:8566:1: ( ( rule__BoundedScopeDefinition__TypeAssignment_1_1_2 ) ) - // InternalSolverLanguageParser.g:8567:2: ( rule__BoundedScopeDefinition__TypeAssignment_1_1_2 ) + // InternalSolverLanguageParser.g:10032:1: ( ( rule__LowerBoundedScope__TypeAssignment_1_0_2 ) ) + // InternalSolverLanguageParser.g:10033:2: ( rule__LowerBoundedScope__TypeAssignment_1_0_2 ) { - before(grammarAccess.getBoundedScopeDefinitionAccess().getTypeAssignment_1_1_2()); - // InternalSolverLanguageParser.g:8568:2: ( rule__BoundedScopeDefinition__TypeAssignment_1_1_2 ) - // InternalSolverLanguageParser.g:8568:3: rule__BoundedScopeDefinition__TypeAssignment_1_1_2 + before(grammarAccess.getLowerBoundedScopeAccess().getTypeAssignment_1_0_2()); + // InternalSolverLanguageParser.g:10034:2: ( rule__LowerBoundedScope__TypeAssignment_1_0_2 ) + // InternalSolverLanguageParser.g:10034:3: rule__LowerBoundedScope__TypeAssignment_1_0_2 { pushFollow(FOLLOW_2); - rule__BoundedScopeDefinition__TypeAssignment_1_1_2(); + rule__LowerBoundedScope__TypeAssignment_1_0_2(); state._fsp--; } - after(grammarAccess.getBoundedScopeDefinitionAccess().getTypeAssignment_1_1_2()); + after(grammarAccess.getLowerBoundedScopeAccess().getTypeAssignment_1_0_2()); } @@ -26362,21 +30788,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__BoundedScopeDefinition__Group_1_1__2__Impl" + // $ANTLR end "rule__LowerBoundedScope__Group_1_0__2__Impl" - // $ANTLR start "rule__BoundedScopeDefinition__Group_1_1__3" - // InternalSolverLanguageParser.g:8576:1: rule__BoundedScopeDefinition__Group_1_1__3 : rule__BoundedScopeDefinition__Group_1_1__3__Impl ; - public final void rule__BoundedScopeDefinition__Group_1_1__3() throws RecognitionException { + // $ANTLR start "rule__LowerBoundedScope__Group_1_1__0" + // InternalSolverLanguageParser.g:10043:1: rule__LowerBoundedScope__Group_1_1__0 : rule__LowerBoundedScope__Group_1_1__0__Impl rule__LowerBoundedScope__Group_1_1__1 ; + public final void rule__LowerBoundedScope__Group_1_1__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:8580:1: ( rule__BoundedScopeDefinition__Group_1_1__3__Impl ) - // InternalSolverLanguageParser.g:8581:2: rule__BoundedScopeDefinition__Group_1_1__3__Impl + // InternalSolverLanguageParser.g:10047:1: ( rule__LowerBoundedScope__Group_1_1__0__Impl rule__LowerBoundedScope__Group_1_1__1 ) + // InternalSolverLanguageParser.g:10048:2: rule__LowerBoundedScope__Group_1_1__0__Impl rule__LowerBoundedScope__Group_1_1__1 { + pushFollow(FOLLOW_72); + rule__LowerBoundedScope__Group_1_1__0__Impl(); + + state._fsp--; + pushFollow(FOLLOW_2); - rule__BoundedScopeDefinition__Group_1_1__3__Impl(); + rule__LowerBoundedScope__Group_1_1__1(); state._fsp--; @@ -26395,46 +30826,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__BoundedScopeDefinition__Group_1_1__3" + // $ANTLR end "rule__LowerBoundedScope__Group_1_1__0" - // $ANTLR start "rule__BoundedScopeDefinition__Group_1_1__3__Impl" - // InternalSolverLanguageParser.g:8587:1: rule__BoundedScopeDefinition__Group_1_1__3__Impl : ( ( rule__BoundedScopeDefinition__Group_1_1_3__0 )? ) ; - public final void rule__BoundedScopeDefinition__Group_1_1__3__Impl() throws RecognitionException { + // $ANTLR start "rule__LowerBoundedScope__Group_1_1__0__Impl" + // InternalSolverLanguageParser.g:10055:1: rule__LowerBoundedScope__Group_1_1__0__Impl : ( ( rule__LowerBoundedScope__TypeAssignment_1_1_0 ) ) ; + public final void rule__LowerBoundedScope__Group_1_1__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:8591:1: ( ( ( rule__BoundedScopeDefinition__Group_1_1_3__0 )? ) ) - // InternalSolverLanguageParser.g:8592:1: ( ( rule__BoundedScopeDefinition__Group_1_1_3__0 )? ) + // InternalSolverLanguageParser.g:10059:1: ( ( ( rule__LowerBoundedScope__TypeAssignment_1_1_0 ) ) ) + // InternalSolverLanguageParser.g:10060:1: ( ( rule__LowerBoundedScope__TypeAssignment_1_1_0 ) ) { - // InternalSolverLanguageParser.g:8592:1: ( ( rule__BoundedScopeDefinition__Group_1_1_3__0 )? ) - // InternalSolverLanguageParser.g:8593:2: ( rule__BoundedScopeDefinition__Group_1_1_3__0 )? + // InternalSolverLanguageParser.g:10060:1: ( ( rule__LowerBoundedScope__TypeAssignment_1_1_0 ) ) + // InternalSolverLanguageParser.g:10061:2: ( rule__LowerBoundedScope__TypeAssignment_1_1_0 ) { - before(grammarAccess.getBoundedScopeDefinitionAccess().getGroup_1_1_3()); - // InternalSolverLanguageParser.g:8594:2: ( rule__BoundedScopeDefinition__Group_1_1_3__0 )? - int alt60=2; - int LA60_0 = input.LA(1); - - if ( (LA60_0==GreaterThanSignEqualsSign) ) { - alt60=1; - } - switch (alt60) { - case 1 : - // InternalSolverLanguageParser.g:8594:3: rule__BoundedScopeDefinition__Group_1_1_3__0 - { - pushFollow(FOLLOW_2); - rule__BoundedScopeDefinition__Group_1_1_3__0(); - - state._fsp--; + before(grammarAccess.getLowerBoundedScopeAccess().getTypeAssignment_1_1_0()); + // InternalSolverLanguageParser.g:10062:2: ( rule__LowerBoundedScope__TypeAssignment_1_1_0 ) + // InternalSolverLanguageParser.g:10062:3: rule__LowerBoundedScope__TypeAssignment_1_1_0 + { + pushFollow(FOLLOW_2); + rule__LowerBoundedScope__TypeAssignment_1_1_0(); + state._fsp--; - } - break; } - after(grammarAccess.getBoundedScopeDefinitionAccess().getGroup_1_1_3()); + after(grammarAccess.getLowerBoundedScopeAccess().getTypeAssignment_1_1_0()); } @@ -26453,26 +30873,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__BoundedScopeDefinition__Group_1_1__3__Impl" + // $ANTLR end "rule__LowerBoundedScope__Group_1_1__0__Impl" - // $ANTLR start "rule__BoundedScopeDefinition__Group_1_1_3__0" - // InternalSolverLanguageParser.g:8603:1: rule__BoundedScopeDefinition__Group_1_1_3__0 : rule__BoundedScopeDefinition__Group_1_1_3__0__Impl rule__BoundedScopeDefinition__Group_1_1_3__1 ; - public final void rule__BoundedScopeDefinition__Group_1_1_3__0() throws RecognitionException { + // $ANTLR start "rule__LowerBoundedScope__Group_1_1__1" + // InternalSolverLanguageParser.g:10070:1: rule__LowerBoundedScope__Group_1_1__1 : rule__LowerBoundedScope__Group_1_1__1__Impl rule__LowerBoundedScope__Group_1_1__2 ; + public final void rule__LowerBoundedScope__Group_1_1__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:8607:1: ( rule__BoundedScopeDefinition__Group_1_1_3__0__Impl rule__BoundedScopeDefinition__Group_1_1_3__1 ) - // InternalSolverLanguageParser.g:8608:2: rule__BoundedScopeDefinition__Group_1_1_3__0__Impl rule__BoundedScopeDefinition__Group_1_1_3__1 + // InternalSolverLanguageParser.g:10074:1: ( rule__LowerBoundedScope__Group_1_1__1__Impl rule__LowerBoundedScope__Group_1_1__2 ) + // InternalSolverLanguageParser.g:10075:2: rule__LowerBoundedScope__Group_1_1__1__Impl rule__LowerBoundedScope__Group_1_1__2 { - pushFollow(FOLLOW_59); - rule__BoundedScopeDefinition__Group_1_1_3__0__Impl(); + pushFollow(FOLLOW_64); + rule__LowerBoundedScope__Group_1_1__1__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__BoundedScopeDefinition__Group_1_1_3__1(); + rule__LowerBoundedScope__Group_1_1__2(); state._fsp--; @@ -26491,25 +30911,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__BoundedScopeDefinition__Group_1_1_3__0" + // $ANTLR end "rule__LowerBoundedScope__Group_1_1__1" - // $ANTLR start "rule__BoundedScopeDefinition__Group_1_1_3__0__Impl" - // InternalSolverLanguageParser.g:8615:1: rule__BoundedScopeDefinition__Group_1_1_3__0__Impl : ( GreaterThanSignEqualsSign ) ; - public final void rule__BoundedScopeDefinition__Group_1_1_3__0__Impl() throws RecognitionException { + // $ANTLR start "rule__LowerBoundedScope__Group_1_1__1__Impl" + // InternalSolverLanguageParser.g:10082:1: rule__LowerBoundedScope__Group_1_1__1__Impl : ( GreaterThanSignEqualsSign ) ; + public final void rule__LowerBoundedScope__Group_1_1__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:8619:1: ( ( GreaterThanSignEqualsSign ) ) - // InternalSolverLanguageParser.g:8620:1: ( GreaterThanSignEqualsSign ) + // InternalSolverLanguageParser.g:10086:1: ( ( GreaterThanSignEqualsSign ) ) + // InternalSolverLanguageParser.g:10087:1: ( GreaterThanSignEqualsSign ) { - // InternalSolverLanguageParser.g:8620:1: ( GreaterThanSignEqualsSign ) - // InternalSolverLanguageParser.g:8621:2: GreaterThanSignEqualsSign + // InternalSolverLanguageParser.g:10087:1: ( GreaterThanSignEqualsSign ) + // InternalSolverLanguageParser.g:10088:2: GreaterThanSignEqualsSign { - before(grammarAccess.getBoundedScopeDefinitionAccess().getGreaterThanSignEqualsSignKeyword_1_1_3_0()); + before(grammarAccess.getLowerBoundedScopeAccess().getGreaterThanSignEqualsSignKeyword_1_1_1()); match(input,GreaterThanSignEqualsSign,FOLLOW_2); - after(grammarAccess.getBoundedScopeDefinitionAccess().getGreaterThanSignEqualsSignKeyword_1_1_3_0()); + after(grammarAccess.getLowerBoundedScopeAccess().getGreaterThanSignEqualsSignKeyword_1_1_1()); } @@ -26528,21 +30948,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__BoundedScopeDefinition__Group_1_1_3__0__Impl" + // $ANTLR end "rule__LowerBoundedScope__Group_1_1__1__Impl" - // $ANTLR start "rule__BoundedScopeDefinition__Group_1_1_3__1" - // InternalSolverLanguageParser.g:8630:1: rule__BoundedScopeDefinition__Group_1_1_3__1 : rule__BoundedScopeDefinition__Group_1_1_3__1__Impl ; - public final void rule__BoundedScopeDefinition__Group_1_1_3__1() throws RecognitionException { + // $ANTLR start "rule__LowerBoundedScope__Group_1_1__2" + // InternalSolverLanguageParser.g:10097:1: rule__LowerBoundedScope__Group_1_1__2 : rule__LowerBoundedScope__Group_1_1__2__Impl ; + public final void rule__LowerBoundedScope__Group_1_1__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:8634:1: ( rule__BoundedScopeDefinition__Group_1_1_3__1__Impl ) - // InternalSolverLanguageParser.g:8635:2: rule__BoundedScopeDefinition__Group_1_1_3__1__Impl + // InternalSolverLanguageParser.g:10101:1: ( rule__LowerBoundedScope__Group_1_1__2__Impl ) + // InternalSolverLanguageParser.g:10102:2: rule__LowerBoundedScope__Group_1_1__2__Impl { pushFollow(FOLLOW_2); - rule__BoundedScopeDefinition__Group_1_1_3__1__Impl(); + rule__LowerBoundedScope__Group_1_1__2__Impl(); state._fsp--; @@ -26561,35 +30981,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__BoundedScopeDefinition__Group_1_1_3__1" + // $ANTLR end "rule__LowerBoundedScope__Group_1_1__2" - // $ANTLR start "rule__BoundedScopeDefinition__Group_1_1_3__1__Impl" - // InternalSolverLanguageParser.g:8641:1: rule__BoundedScopeDefinition__Group_1_1_3__1__Impl : ( ( rule__BoundedScopeDefinition__LowerBoundAssignment_1_1_3_1 ) ) ; - public final void rule__BoundedScopeDefinition__Group_1_1_3__1__Impl() throws RecognitionException { + // $ANTLR start "rule__LowerBoundedScope__Group_1_1__2__Impl" + // InternalSolverLanguageParser.g:10108:1: rule__LowerBoundedScope__Group_1_1__2__Impl : ( ( rule__LowerBoundedScope__LowerBoundAssignment_1_1_2 ) ) ; + public final void rule__LowerBoundedScope__Group_1_1__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:8645:1: ( ( ( rule__BoundedScopeDefinition__LowerBoundAssignment_1_1_3_1 ) ) ) - // InternalSolverLanguageParser.g:8646:1: ( ( rule__BoundedScopeDefinition__LowerBoundAssignment_1_1_3_1 ) ) + // InternalSolverLanguageParser.g:10112:1: ( ( ( rule__LowerBoundedScope__LowerBoundAssignment_1_1_2 ) ) ) + // InternalSolverLanguageParser.g:10113:1: ( ( rule__LowerBoundedScope__LowerBoundAssignment_1_1_2 ) ) { - // InternalSolverLanguageParser.g:8646:1: ( ( rule__BoundedScopeDefinition__LowerBoundAssignment_1_1_3_1 ) ) - // InternalSolverLanguageParser.g:8647:2: ( rule__BoundedScopeDefinition__LowerBoundAssignment_1_1_3_1 ) + // InternalSolverLanguageParser.g:10113:1: ( ( rule__LowerBoundedScope__LowerBoundAssignment_1_1_2 ) ) + // InternalSolverLanguageParser.g:10114:2: ( rule__LowerBoundedScope__LowerBoundAssignment_1_1_2 ) { - before(grammarAccess.getBoundedScopeDefinitionAccess().getLowerBoundAssignment_1_1_3_1()); - // InternalSolverLanguageParser.g:8648:2: ( rule__BoundedScopeDefinition__LowerBoundAssignment_1_1_3_1 ) - // InternalSolverLanguageParser.g:8648:3: rule__BoundedScopeDefinition__LowerBoundAssignment_1_1_3_1 + before(grammarAccess.getLowerBoundedScopeAccess().getLowerBoundAssignment_1_1_2()); + // InternalSolverLanguageParser.g:10115:2: ( rule__LowerBoundedScope__LowerBoundAssignment_1_1_2 ) + // InternalSolverLanguageParser.g:10115:3: rule__LowerBoundedScope__LowerBoundAssignment_1_1_2 { pushFollow(FOLLOW_2); - rule__BoundedScopeDefinition__LowerBoundAssignment_1_1_3_1(); + rule__LowerBoundedScope__LowerBoundAssignment_1_1_2(); state._fsp--; } - after(grammarAccess.getBoundedScopeDefinitionAccess().getLowerBoundAssignment_1_1_3_1()); + after(grammarAccess.getLowerBoundedScopeAccess().getLowerBoundAssignment_1_1_2()); } @@ -26608,26 +31028,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__BoundedScopeDefinition__Group_1_1_3__1__Impl" + // $ANTLR end "rule__LowerBoundedScope__Group_1_1__2__Impl" - // $ANTLR start "rule__LowerBoundedScopeDefinition__Group__0" - // InternalSolverLanguageParser.g:8657:1: rule__LowerBoundedScopeDefinition__Group__0 : rule__LowerBoundedScopeDefinition__Group__0__Impl rule__LowerBoundedScopeDefinition__Group__1 ; - public final void rule__LowerBoundedScopeDefinition__Group__0() throws RecognitionException { + // $ANTLR start "rule__ObjectiveDeclaration__Group__0" + // InternalSolverLanguageParser.g:10124:1: rule__ObjectiveDeclaration__Group__0 : rule__ObjectiveDeclaration__Group__0__Impl rule__ObjectiveDeclaration__Group__1 ; + public final void rule__ObjectiveDeclaration__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:8661:1: ( rule__LowerBoundedScopeDefinition__Group__0__Impl rule__LowerBoundedScopeDefinition__Group__1 ) - // InternalSolverLanguageParser.g:8662:2: rule__LowerBoundedScopeDefinition__Group__0__Impl rule__LowerBoundedScopeDefinition__Group__1 + // InternalSolverLanguageParser.g:10128:1: ( rule__ObjectiveDeclaration__Group__0__Impl rule__ObjectiveDeclaration__Group__1 ) + // InternalSolverLanguageParser.g:10129:2: rule__ObjectiveDeclaration__Group__0__Impl rule__ObjectiveDeclaration__Group__1 { - pushFollow(FOLLOW_61); - rule__LowerBoundedScopeDefinition__Group__0__Impl(); + pushFollow(FOLLOW_12); + rule__ObjectiveDeclaration__Group__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__LowerBoundedScopeDefinition__Group__1(); + rule__ObjectiveDeclaration__Group__1(); state._fsp--; @@ -26646,25 +31066,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__LowerBoundedScopeDefinition__Group__0" + // $ANTLR end "rule__ObjectiveDeclaration__Group__0" - // $ANTLR start "rule__LowerBoundedScopeDefinition__Group__0__Impl" - // InternalSolverLanguageParser.g:8669:1: rule__LowerBoundedScopeDefinition__Group__0__Impl : ( Scope ) ; - public final void rule__LowerBoundedScopeDefinition__Group__0__Impl() throws RecognitionException { + // $ANTLR start "rule__ObjectiveDeclaration__Group__0__Impl" + // InternalSolverLanguageParser.g:10136:1: rule__ObjectiveDeclaration__Group__0__Impl : ( ( rule__ObjectiveDeclaration__KindAssignment_0 ) ) ; + public final void rule__ObjectiveDeclaration__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:8673:1: ( ( Scope ) ) - // InternalSolverLanguageParser.g:8674:1: ( Scope ) + // InternalSolverLanguageParser.g:10140:1: ( ( ( rule__ObjectiveDeclaration__KindAssignment_0 ) ) ) + // InternalSolverLanguageParser.g:10141:1: ( ( rule__ObjectiveDeclaration__KindAssignment_0 ) ) { - // InternalSolverLanguageParser.g:8674:1: ( Scope ) - // InternalSolverLanguageParser.g:8675:2: Scope + // InternalSolverLanguageParser.g:10141:1: ( ( rule__ObjectiveDeclaration__KindAssignment_0 ) ) + // InternalSolverLanguageParser.g:10142:2: ( rule__ObjectiveDeclaration__KindAssignment_0 ) { - before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getScopeKeyword_0()); - match(input,Scope,FOLLOW_2); - after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getScopeKeyword_0()); + before(grammarAccess.getObjectiveDeclarationAccess().getKindAssignment_0()); + // InternalSolverLanguageParser.g:10143:2: ( rule__ObjectiveDeclaration__KindAssignment_0 ) + // InternalSolverLanguageParser.g:10143:3: rule__ObjectiveDeclaration__KindAssignment_0 + { + pushFollow(FOLLOW_2); + rule__ObjectiveDeclaration__KindAssignment_0(); + + state._fsp--; + + + } + + after(grammarAccess.getObjectiveDeclarationAccess().getKindAssignment_0()); } @@ -26683,21 +31113,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__LowerBoundedScopeDefinition__Group__0__Impl" + // $ANTLR end "rule__ObjectiveDeclaration__Group__0__Impl" - // $ANTLR start "rule__LowerBoundedScopeDefinition__Group__1" - // InternalSolverLanguageParser.g:8684:1: rule__LowerBoundedScopeDefinition__Group__1 : rule__LowerBoundedScopeDefinition__Group__1__Impl ; - public final void rule__LowerBoundedScopeDefinition__Group__1() throws RecognitionException { + // $ANTLR start "rule__ObjectiveDeclaration__Group__1" + // InternalSolverLanguageParser.g:10151:1: rule__ObjectiveDeclaration__Group__1 : rule__ObjectiveDeclaration__Group__1__Impl rule__ObjectiveDeclaration__Group__2 ; + public final void rule__ObjectiveDeclaration__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:8688:1: ( rule__LowerBoundedScopeDefinition__Group__1__Impl ) - // InternalSolverLanguageParser.g:8689:2: rule__LowerBoundedScopeDefinition__Group__1__Impl + // InternalSolverLanguageParser.g:10155:1: ( rule__ObjectiveDeclaration__Group__1__Impl rule__ObjectiveDeclaration__Group__2 ) + // InternalSolverLanguageParser.g:10156:2: rule__ObjectiveDeclaration__Group__1__Impl rule__ObjectiveDeclaration__Group__2 { + pushFollow(FOLLOW_7); + rule__ObjectiveDeclaration__Group__1__Impl(); + + state._fsp--; + pushFollow(FOLLOW_2); - rule__LowerBoundedScopeDefinition__Group__1__Impl(); + rule__ObjectiveDeclaration__Group__2(); state._fsp--; @@ -26716,35 +31151,35 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__LowerBoundedScopeDefinition__Group__1" + // $ANTLR end "rule__ObjectiveDeclaration__Group__1" - // $ANTLR start "rule__LowerBoundedScopeDefinition__Group__1__Impl" - // InternalSolverLanguageParser.g:8695:1: rule__LowerBoundedScopeDefinition__Group__1__Impl : ( ( rule__LowerBoundedScopeDefinition__Alternatives_1 ) ) ; - public final void rule__LowerBoundedScopeDefinition__Group__1__Impl() throws RecognitionException { + // $ANTLR start "rule__ObjectiveDeclaration__Group__1__Impl" + // InternalSolverLanguageParser.g:10163:1: rule__ObjectiveDeclaration__Group__1__Impl : ( ( rule__ObjectiveDeclaration__ObjectiveAssignment_1 ) ) ; + public final void rule__ObjectiveDeclaration__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:8699:1: ( ( ( rule__LowerBoundedScopeDefinition__Alternatives_1 ) ) ) - // InternalSolverLanguageParser.g:8700:1: ( ( rule__LowerBoundedScopeDefinition__Alternatives_1 ) ) + // InternalSolverLanguageParser.g:10167:1: ( ( ( rule__ObjectiveDeclaration__ObjectiveAssignment_1 ) ) ) + // InternalSolverLanguageParser.g:10168:1: ( ( rule__ObjectiveDeclaration__ObjectiveAssignment_1 ) ) { - // InternalSolverLanguageParser.g:8700:1: ( ( rule__LowerBoundedScopeDefinition__Alternatives_1 ) ) - // InternalSolverLanguageParser.g:8701:2: ( rule__LowerBoundedScopeDefinition__Alternatives_1 ) + // InternalSolverLanguageParser.g:10168:1: ( ( rule__ObjectiveDeclaration__ObjectiveAssignment_1 ) ) + // InternalSolverLanguageParser.g:10169:2: ( rule__ObjectiveDeclaration__ObjectiveAssignment_1 ) { - before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getAlternatives_1()); - // InternalSolverLanguageParser.g:8702:2: ( rule__LowerBoundedScopeDefinition__Alternatives_1 ) - // InternalSolverLanguageParser.g:8702:3: rule__LowerBoundedScopeDefinition__Alternatives_1 + before(grammarAccess.getObjectiveDeclarationAccess().getObjectiveAssignment_1()); + // InternalSolverLanguageParser.g:10170:2: ( rule__ObjectiveDeclaration__ObjectiveAssignment_1 ) + // InternalSolverLanguageParser.g:10170:3: rule__ObjectiveDeclaration__ObjectiveAssignment_1 { pushFollow(FOLLOW_2); - rule__LowerBoundedScopeDefinition__Alternatives_1(); + rule__ObjectiveDeclaration__ObjectiveAssignment_1(); state._fsp--; } - after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getAlternatives_1()); + after(grammarAccess.getObjectiveDeclarationAccess().getObjectiveAssignment_1()); } @@ -26763,26 +31198,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__LowerBoundedScopeDefinition__Group__1__Impl" + // $ANTLR end "rule__ObjectiveDeclaration__Group__1__Impl" - // $ANTLR start "rule__LowerBoundedScopeDefinition__Group_1_0__0" - // InternalSolverLanguageParser.g:8711:1: rule__LowerBoundedScopeDefinition__Group_1_0__0 : rule__LowerBoundedScopeDefinition__Group_1_0__0__Impl rule__LowerBoundedScopeDefinition__Group_1_0__1 ; - public final void rule__LowerBoundedScopeDefinition__Group_1_0__0() throws RecognitionException { + // $ANTLR start "rule__ObjectiveDeclaration__Group__2" + // InternalSolverLanguageParser.g:10178:1: rule__ObjectiveDeclaration__Group__2 : rule__ObjectiveDeclaration__Group__2__Impl ; + public final void rule__ObjectiveDeclaration__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:8715:1: ( rule__LowerBoundedScopeDefinition__Group_1_0__0__Impl rule__LowerBoundedScopeDefinition__Group_1_0__1 ) - // InternalSolverLanguageParser.g:8716:2: rule__LowerBoundedScopeDefinition__Group_1_0__0__Impl rule__LowerBoundedScopeDefinition__Group_1_0__1 + // InternalSolverLanguageParser.g:10182:1: ( rule__ObjectiveDeclaration__Group__2__Impl ) + // InternalSolverLanguageParser.g:10183:2: rule__ObjectiveDeclaration__Group__2__Impl { - pushFollow(FOLLOW_62); - rule__LowerBoundedScopeDefinition__Group_1_0__0__Impl(); - - state._fsp--; - pushFollow(FOLLOW_2); - rule__LowerBoundedScopeDefinition__Group_1_0__1(); + rule__ObjectiveDeclaration__Group__2__Impl(); state._fsp--; @@ -26801,35 +31231,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__LowerBoundedScopeDefinition__Group_1_0__0" + // $ANTLR end "rule__ObjectiveDeclaration__Group__2" - // $ANTLR start "rule__LowerBoundedScopeDefinition__Group_1_0__0__Impl" - // InternalSolverLanguageParser.g:8723:1: rule__LowerBoundedScopeDefinition__Group_1_0__0__Impl : ( ( rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_0_0 ) ) ; - public final void rule__LowerBoundedScopeDefinition__Group_1_0__0__Impl() throws RecognitionException { + // $ANTLR start "rule__ObjectiveDeclaration__Group__2__Impl" + // InternalSolverLanguageParser.g:10189:1: rule__ObjectiveDeclaration__Group__2__Impl : ( RULE_FULL_STOP ) ; + public final void rule__ObjectiveDeclaration__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:8727:1: ( ( ( rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_0_0 ) ) ) - // InternalSolverLanguageParser.g:8728:1: ( ( rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_0_0 ) ) + // InternalSolverLanguageParser.g:10193:1: ( ( RULE_FULL_STOP ) ) + // InternalSolverLanguageParser.g:10194:1: ( RULE_FULL_STOP ) { - // InternalSolverLanguageParser.g:8728:1: ( ( rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_0_0 ) ) - // InternalSolverLanguageParser.g:8729:2: ( rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_0_0 ) + // InternalSolverLanguageParser.g:10194:1: ( RULE_FULL_STOP ) + // InternalSolverLanguageParser.g:10195:2: RULE_FULL_STOP { - before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getLowerBoundAssignment_1_0_0()); - // InternalSolverLanguageParser.g:8730:2: ( rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_0_0 ) - // InternalSolverLanguageParser.g:8730:3: rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_0_0 - { - pushFollow(FOLLOW_2); - rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_0_0(); - - state._fsp--; - - - } - - after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getLowerBoundAssignment_1_0_0()); + before(grammarAccess.getObjectiveDeclarationAccess().getFULL_STOPTerminalRuleCall_2()); + match(input,RULE_FULL_STOP,FOLLOW_2); + after(grammarAccess.getObjectiveDeclarationAccess().getFULL_STOPTerminalRuleCall_2()); } @@ -26848,26 +31268,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__LowerBoundedScopeDefinition__Group_1_0__0__Impl" + // $ANTLR end "rule__ObjectiveDeclaration__Group__2__Impl" - // $ANTLR start "rule__LowerBoundedScopeDefinition__Group_1_0__1" - // InternalSolverLanguageParser.g:8738:1: rule__LowerBoundedScopeDefinition__Group_1_0__1 : rule__LowerBoundedScopeDefinition__Group_1_0__1__Impl rule__LowerBoundedScopeDefinition__Group_1_0__2 ; - public final void rule__LowerBoundedScopeDefinition__Group_1_0__1() throws RecognitionException { + // $ANTLR start "rule__Real__Group__0" + // InternalSolverLanguageParser.g:10205:1: rule__Real__Group__0 : rule__Real__Group__0__Impl rule__Real__Group__1 ; + public final void rule__Real__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:8742:1: ( rule__LowerBoundedScopeDefinition__Group_1_0__1__Impl rule__LowerBoundedScopeDefinition__Group_1_0__2 ) - // InternalSolverLanguageParser.g:8743:2: rule__LowerBoundedScopeDefinition__Group_1_0__1__Impl rule__LowerBoundedScopeDefinition__Group_1_0__2 + // InternalSolverLanguageParser.g:10209:1: ( rule__Real__Group__0__Impl rule__Real__Group__1 ) + // InternalSolverLanguageParser.g:10210:2: rule__Real__Group__0__Impl rule__Real__Group__1 { - pushFollow(FOLLOW_9); - rule__LowerBoundedScopeDefinition__Group_1_0__1__Impl(); + pushFollow(FOLLOW_49); + rule__Real__Group__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__LowerBoundedScopeDefinition__Group_1_0__2(); + rule__Real__Group__1(); state._fsp--; @@ -26886,25 +31306,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__LowerBoundedScopeDefinition__Group_1_0__1" + // $ANTLR end "rule__Real__Group__0" - // $ANTLR start "rule__LowerBoundedScopeDefinition__Group_1_0__1__Impl" - // InternalSolverLanguageParser.g:8750:1: rule__LowerBoundedScopeDefinition__Group_1_0__1__Impl : ( LessThanSignEqualsSign ) ; - public final void rule__LowerBoundedScopeDefinition__Group_1_0__1__Impl() throws RecognitionException { + // $ANTLR start "rule__Real__Group__0__Impl" + // InternalSolverLanguageParser.g:10217:1: rule__Real__Group__0__Impl : ( RULE_INT ) ; + public final void rule__Real__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:8754:1: ( ( LessThanSignEqualsSign ) ) - // InternalSolverLanguageParser.g:8755:1: ( LessThanSignEqualsSign ) + // InternalSolverLanguageParser.g:10221:1: ( ( RULE_INT ) ) + // InternalSolverLanguageParser.g:10222:1: ( RULE_INT ) { - // InternalSolverLanguageParser.g:8755:1: ( LessThanSignEqualsSign ) - // InternalSolverLanguageParser.g:8756:2: LessThanSignEqualsSign + // InternalSolverLanguageParser.g:10222:1: ( RULE_INT ) + // InternalSolverLanguageParser.g:10223:2: RULE_INT { - before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getLessThanSignEqualsSignKeyword_1_0_1()); - match(input,LessThanSignEqualsSign,FOLLOW_2); - after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getLessThanSignEqualsSignKeyword_1_0_1()); + before(grammarAccess.getRealAccess().getINTTerminalRuleCall_0()); + match(input,RULE_INT,FOLLOW_2); + after(grammarAccess.getRealAccess().getINTTerminalRuleCall_0()); } @@ -26923,21 +31343,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__LowerBoundedScopeDefinition__Group_1_0__1__Impl" + // $ANTLR end "rule__Real__Group__0__Impl" - // $ANTLR start "rule__LowerBoundedScopeDefinition__Group_1_0__2" - // InternalSolverLanguageParser.g:8765:1: rule__LowerBoundedScopeDefinition__Group_1_0__2 : rule__LowerBoundedScopeDefinition__Group_1_0__2__Impl ; - public final void rule__LowerBoundedScopeDefinition__Group_1_0__2() throws RecognitionException { + // $ANTLR start "rule__Real__Group__1" + // InternalSolverLanguageParser.g:10232:1: rule__Real__Group__1 : rule__Real__Group__1__Impl rule__Real__Group__2 ; + public final void rule__Real__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:8769:1: ( rule__LowerBoundedScopeDefinition__Group_1_0__2__Impl ) - // InternalSolverLanguageParser.g:8770:2: rule__LowerBoundedScopeDefinition__Group_1_0__2__Impl + // InternalSolverLanguageParser.g:10236:1: ( rule__Real__Group__1__Impl rule__Real__Group__2 ) + // InternalSolverLanguageParser.g:10237:2: rule__Real__Group__1__Impl rule__Real__Group__2 { + pushFollow(FOLLOW_64); + rule__Real__Group__1__Impl(); + + state._fsp--; + pushFollow(FOLLOW_2); - rule__LowerBoundedScopeDefinition__Group_1_0__2__Impl(); + rule__Real__Group__2(); state._fsp--; @@ -26956,35 +31381,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__LowerBoundedScopeDefinition__Group_1_0__2" + // $ANTLR end "rule__Real__Group__1" - // $ANTLR start "rule__LowerBoundedScopeDefinition__Group_1_0__2__Impl" - // InternalSolverLanguageParser.g:8776:1: rule__LowerBoundedScopeDefinition__Group_1_0__2__Impl : ( ( rule__LowerBoundedScopeDefinition__TypeAssignment_1_0_2 ) ) ; - public final void rule__LowerBoundedScopeDefinition__Group_1_0__2__Impl() throws RecognitionException { + // $ANTLR start "rule__Real__Group__1__Impl" + // InternalSolverLanguageParser.g:10244:1: rule__Real__Group__1__Impl : ( FullStop ) ; + public final void rule__Real__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:8780:1: ( ( ( rule__LowerBoundedScopeDefinition__TypeAssignment_1_0_2 ) ) ) - // InternalSolverLanguageParser.g:8781:1: ( ( rule__LowerBoundedScopeDefinition__TypeAssignment_1_0_2 ) ) - { - // InternalSolverLanguageParser.g:8781:1: ( ( rule__LowerBoundedScopeDefinition__TypeAssignment_1_0_2 ) ) - // InternalSolverLanguageParser.g:8782:2: ( rule__LowerBoundedScopeDefinition__TypeAssignment_1_0_2 ) + // InternalSolverLanguageParser.g:10248:1: ( ( FullStop ) ) + // InternalSolverLanguageParser.g:10249:1: ( FullStop ) { - before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getTypeAssignment_1_0_2()); - // InternalSolverLanguageParser.g:8783:2: ( rule__LowerBoundedScopeDefinition__TypeAssignment_1_0_2 ) - // InternalSolverLanguageParser.g:8783:3: rule__LowerBoundedScopeDefinition__TypeAssignment_1_0_2 + // InternalSolverLanguageParser.g:10249:1: ( FullStop ) + // InternalSolverLanguageParser.g:10250:2: FullStop { - pushFollow(FOLLOW_2); - rule__LowerBoundedScopeDefinition__TypeAssignment_1_0_2(); - - state._fsp--; - - - } - - after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getTypeAssignment_1_0_2()); + before(grammarAccess.getRealAccess().getFullStopKeyword_1()); + match(input,FullStop,FOLLOW_2); + after(grammarAccess.getRealAccess().getFullStopKeyword_1()); } @@ -27003,26 +31418,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__LowerBoundedScopeDefinition__Group_1_0__2__Impl" + // $ANTLR end "rule__Real__Group__1__Impl" - // $ANTLR start "rule__LowerBoundedScopeDefinition__Group_1_1__0" - // InternalSolverLanguageParser.g:8792:1: rule__LowerBoundedScopeDefinition__Group_1_1__0 : rule__LowerBoundedScopeDefinition__Group_1_1__0__Impl rule__LowerBoundedScopeDefinition__Group_1_1__1 ; - public final void rule__LowerBoundedScopeDefinition__Group_1_1__0() throws RecognitionException { + // $ANTLR start "rule__Real__Group__2" + // InternalSolverLanguageParser.g:10259:1: rule__Real__Group__2 : rule__Real__Group__2__Impl ; + public final void rule__Real__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:8796:1: ( rule__LowerBoundedScopeDefinition__Group_1_1__0__Impl rule__LowerBoundedScopeDefinition__Group_1_1__1 ) - // InternalSolverLanguageParser.g:8797:2: rule__LowerBoundedScopeDefinition__Group_1_1__0__Impl rule__LowerBoundedScopeDefinition__Group_1_1__1 + // InternalSolverLanguageParser.g:10263:1: ( rule__Real__Group__2__Impl ) + // InternalSolverLanguageParser.g:10264:2: rule__Real__Group__2__Impl { - pushFollow(FOLLOW_63); - rule__LowerBoundedScopeDefinition__Group_1_1__0__Impl(); - - state._fsp--; - pushFollow(FOLLOW_2); - rule__LowerBoundedScopeDefinition__Group_1_1__1(); + rule__Real__Group__2__Impl(); state._fsp--; @@ -27041,35 +31451,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__LowerBoundedScopeDefinition__Group_1_1__0" + // $ANTLR end "rule__Real__Group__2" - // $ANTLR start "rule__LowerBoundedScopeDefinition__Group_1_1__0__Impl" - // InternalSolverLanguageParser.g:8804:1: rule__LowerBoundedScopeDefinition__Group_1_1__0__Impl : ( ( rule__LowerBoundedScopeDefinition__TypeAssignment_1_1_0 ) ) ; - public final void rule__LowerBoundedScopeDefinition__Group_1_1__0__Impl() throws RecognitionException { + // $ANTLR start "rule__Real__Group__2__Impl" + // InternalSolverLanguageParser.g:10270:1: rule__Real__Group__2__Impl : ( RULE_INT ) ; + public final void rule__Real__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:8808:1: ( ( ( rule__LowerBoundedScopeDefinition__TypeAssignment_1_1_0 ) ) ) - // InternalSolverLanguageParser.g:8809:1: ( ( rule__LowerBoundedScopeDefinition__TypeAssignment_1_1_0 ) ) - { - // InternalSolverLanguageParser.g:8809:1: ( ( rule__LowerBoundedScopeDefinition__TypeAssignment_1_1_0 ) ) - // InternalSolverLanguageParser.g:8810:2: ( rule__LowerBoundedScopeDefinition__TypeAssignment_1_1_0 ) + // InternalSolverLanguageParser.g:10274:1: ( ( RULE_INT ) ) + // InternalSolverLanguageParser.g:10275:1: ( RULE_INT ) { - before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getTypeAssignment_1_1_0()); - // InternalSolverLanguageParser.g:8811:2: ( rule__LowerBoundedScopeDefinition__TypeAssignment_1_1_0 ) - // InternalSolverLanguageParser.g:8811:3: rule__LowerBoundedScopeDefinition__TypeAssignment_1_1_0 + // InternalSolverLanguageParser.g:10275:1: ( RULE_INT ) + // InternalSolverLanguageParser.g:10276:2: RULE_INT { - pushFollow(FOLLOW_2); - rule__LowerBoundedScopeDefinition__TypeAssignment_1_1_0(); - - state._fsp--; - - - } - - after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getTypeAssignment_1_1_0()); + before(grammarAccess.getRealAccess().getINTTerminalRuleCall_2()); + match(input,RULE_INT,FOLLOW_2); + after(grammarAccess.getRealAccess().getINTTerminalRuleCall_2()); } @@ -27088,26 +31488,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__LowerBoundedScopeDefinition__Group_1_1__0__Impl" + // $ANTLR end "rule__Real__Group__2__Impl" - // $ANTLR start "rule__LowerBoundedScopeDefinition__Group_1_1__1" - // InternalSolverLanguageParser.g:8819:1: rule__LowerBoundedScopeDefinition__Group_1_1__1 : rule__LowerBoundedScopeDefinition__Group_1_1__1__Impl rule__LowerBoundedScopeDefinition__Group_1_1__2 ; - public final void rule__LowerBoundedScopeDefinition__Group_1_1__1() throws RecognitionException { + // $ANTLR start "rule__QualifiedName__Group__0" + // InternalSolverLanguageParser.g:10286:1: rule__QualifiedName__Group__0 : rule__QualifiedName__Group__0__Impl rule__QualifiedName__Group__1 ; + public final void rule__QualifiedName__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:8823:1: ( rule__LowerBoundedScopeDefinition__Group_1_1__1__Impl rule__LowerBoundedScopeDefinition__Group_1_1__2 ) - // InternalSolverLanguageParser.g:8824:2: rule__LowerBoundedScopeDefinition__Group_1_1__1__Impl rule__LowerBoundedScopeDefinition__Group_1_1__2 + // InternalSolverLanguageParser.g:10290:1: ( rule__QualifiedName__Group__0__Impl rule__QualifiedName__Group__1 ) + // InternalSolverLanguageParser.g:10291:2: rule__QualifiedName__Group__0__Impl rule__QualifiedName__Group__1 { - pushFollow(FOLLOW_59); - rule__LowerBoundedScopeDefinition__Group_1_1__1__Impl(); + pushFollow(FOLLOW_73); + rule__QualifiedName__Group__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__LowerBoundedScopeDefinition__Group_1_1__2(); + rule__QualifiedName__Group__1(); state._fsp--; @@ -27126,25 +31526,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__LowerBoundedScopeDefinition__Group_1_1__1" + // $ANTLR end "rule__QualifiedName__Group__0" - // $ANTLR start "rule__LowerBoundedScopeDefinition__Group_1_1__1__Impl" - // InternalSolverLanguageParser.g:8831:1: rule__LowerBoundedScopeDefinition__Group_1_1__1__Impl : ( GreaterThanSignEqualsSign ) ; - public final void rule__LowerBoundedScopeDefinition__Group_1_1__1__Impl() throws RecognitionException { + // $ANTLR start "rule__QualifiedName__Group__0__Impl" + // InternalSolverLanguageParser.g:10298:1: rule__QualifiedName__Group__0__Impl : ( ruleQualifiedNameSegment ) ; + public final void rule__QualifiedName__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:8835:1: ( ( GreaterThanSignEqualsSign ) ) - // InternalSolverLanguageParser.g:8836:1: ( GreaterThanSignEqualsSign ) + // InternalSolverLanguageParser.g:10302:1: ( ( ruleQualifiedNameSegment ) ) + // InternalSolverLanguageParser.g:10303:1: ( ruleQualifiedNameSegment ) { - // InternalSolverLanguageParser.g:8836:1: ( GreaterThanSignEqualsSign ) - // InternalSolverLanguageParser.g:8837:2: GreaterThanSignEqualsSign + // InternalSolverLanguageParser.g:10303:1: ( ruleQualifiedNameSegment ) + // InternalSolverLanguageParser.g:10304:2: ruleQualifiedNameSegment { - before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getGreaterThanSignEqualsSignKeyword_1_1_1()); - match(input,GreaterThanSignEqualsSign,FOLLOW_2); - after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getGreaterThanSignEqualsSignKeyword_1_1_1()); + before(grammarAccess.getQualifiedNameAccess().getQualifiedNameSegmentParserRuleCall_0()); + pushFollow(FOLLOW_2); + ruleQualifiedNameSegment(); + + state._fsp--; + + after(grammarAccess.getQualifiedNameAccess().getQualifiedNameSegmentParserRuleCall_0()); } @@ -27163,21 +31567,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__LowerBoundedScopeDefinition__Group_1_1__1__Impl" + // $ANTLR end "rule__QualifiedName__Group__0__Impl" - // $ANTLR start "rule__LowerBoundedScopeDefinition__Group_1_1__2" - // InternalSolverLanguageParser.g:8846:1: rule__LowerBoundedScopeDefinition__Group_1_1__2 : rule__LowerBoundedScopeDefinition__Group_1_1__2__Impl ; - public final void rule__LowerBoundedScopeDefinition__Group_1_1__2() throws RecognitionException { + // $ANTLR start "rule__QualifiedName__Group__1" + // InternalSolverLanguageParser.g:10313:1: rule__QualifiedName__Group__1 : rule__QualifiedName__Group__1__Impl ; + public final void rule__QualifiedName__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:8850:1: ( rule__LowerBoundedScopeDefinition__Group_1_1__2__Impl ) - // InternalSolverLanguageParser.g:8851:2: rule__LowerBoundedScopeDefinition__Group_1_1__2__Impl + // InternalSolverLanguageParser.g:10317:1: ( rule__QualifiedName__Group__1__Impl ) + // InternalSolverLanguageParser.g:10318:2: rule__QualifiedName__Group__1__Impl { pushFollow(FOLLOW_2); - rule__LowerBoundedScopeDefinition__Group_1_1__2__Impl(); + rule__QualifiedName__Group__1__Impl(); state._fsp--; @@ -27196,35 +31600,53 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__LowerBoundedScopeDefinition__Group_1_1__2" + // $ANTLR end "rule__QualifiedName__Group__1" - // $ANTLR start "rule__LowerBoundedScopeDefinition__Group_1_1__2__Impl" - // InternalSolverLanguageParser.g:8857:1: rule__LowerBoundedScopeDefinition__Group_1_1__2__Impl : ( ( rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_1_2 ) ) ; - public final void rule__LowerBoundedScopeDefinition__Group_1_1__2__Impl() throws RecognitionException { + // $ANTLR start "rule__QualifiedName__Group__1__Impl" + // InternalSolverLanguageParser.g:10324:1: rule__QualifiedName__Group__1__Impl : ( ( rule__QualifiedName__Group_1__0 )* ) ; + public final void rule__QualifiedName__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:8861:1: ( ( ( rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_1_2 ) ) ) - // InternalSolverLanguageParser.g:8862:1: ( ( rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_1_2 ) ) + // InternalSolverLanguageParser.g:10328:1: ( ( ( rule__QualifiedName__Group_1__0 )* ) ) + // InternalSolverLanguageParser.g:10329:1: ( ( rule__QualifiedName__Group_1__0 )* ) { - // InternalSolverLanguageParser.g:8862:1: ( ( rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_1_2 ) ) - // InternalSolverLanguageParser.g:8863:2: ( rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_1_2 ) + // InternalSolverLanguageParser.g:10329:1: ( ( rule__QualifiedName__Group_1__0 )* ) + // InternalSolverLanguageParser.g:10330:2: ( rule__QualifiedName__Group_1__0 )* { - before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getLowerBoundAssignment_1_1_2()); - // InternalSolverLanguageParser.g:8864:2: ( rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_1_2 ) - // InternalSolverLanguageParser.g:8864:3: rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_1_2 - { - pushFollow(FOLLOW_2); - rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_1_2(); + before(grammarAccess.getQualifiedNameAccess().getGroup_1()); + // InternalSolverLanguageParser.g:10331:2: ( rule__QualifiedName__Group_1__0 )* + loop68: + do { + int alt68=2; + int LA68_0 = input.LA(1); - state._fsp--; + if ( (LA68_0==ColonColon) ) { + alt68=1; + } - } + switch (alt68) { + case 1 : + // InternalSolverLanguageParser.g:10331:3: rule__QualifiedName__Group_1__0 + { + pushFollow(FOLLOW_74); + rule__QualifiedName__Group_1__0(); + + state._fsp--; + + + } + break; - after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getLowerBoundAssignment_1_1_2()); + default : + break loop68; + } + } while (true); + + after(grammarAccess.getQualifiedNameAccess().getGroup_1()); } @@ -27243,26 +31665,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__LowerBoundedScopeDefinition__Group_1_1__2__Impl" + // $ANTLR end "rule__QualifiedName__Group__1__Impl" - // $ANTLR start "rule__ObjectiveDefinition__Group__0" - // InternalSolverLanguageParser.g:8873:1: rule__ObjectiveDefinition__Group__0 : rule__ObjectiveDefinition__Group__0__Impl rule__ObjectiveDefinition__Group__1 ; - public final void rule__ObjectiveDefinition__Group__0() throws RecognitionException { + // $ANTLR start "rule__QualifiedName__Group_1__0" + // InternalSolverLanguageParser.g:10340:1: rule__QualifiedName__Group_1__0 : rule__QualifiedName__Group_1__0__Impl rule__QualifiedName__Group_1__1 ; + public final void rule__QualifiedName__Group_1__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:8877:1: ( rule__ObjectiveDefinition__Group__0__Impl rule__ObjectiveDefinition__Group__1 ) - // InternalSolverLanguageParser.g:8878:2: rule__ObjectiveDefinition__Group__0__Impl rule__ObjectiveDefinition__Group__1 + // InternalSolverLanguageParser.g:10344:1: ( rule__QualifiedName__Group_1__0__Impl rule__QualifiedName__Group_1__1 ) + // InternalSolverLanguageParser.g:10345:2: rule__QualifiedName__Group_1__0__Impl rule__QualifiedName__Group_1__1 { - pushFollow(FOLLOW_7); - rule__ObjectiveDefinition__Group__0__Impl(); + pushFollow(FOLLOW_6); + rule__QualifiedName__Group_1__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); - rule__ObjectiveDefinition__Group__1(); + rule__QualifiedName__Group_1__1(); state._fsp--; @@ -27281,35 +31703,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ObjectiveDefinition__Group__0" + // $ANTLR end "rule__QualifiedName__Group_1__0" - // $ANTLR start "rule__ObjectiveDefinition__Group__0__Impl" - // InternalSolverLanguageParser.g:8885:1: rule__ObjectiveDefinition__Group__0__Impl : ( ( rule__ObjectiveDefinition__KindAssignment_0 ) ) ; - public final void rule__ObjectiveDefinition__Group__0__Impl() throws RecognitionException { + // $ANTLR start "rule__QualifiedName__Group_1__0__Impl" + // InternalSolverLanguageParser.g:10352:1: rule__QualifiedName__Group_1__0__Impl : ( ColonColon ) ; + public final void rule__QualifiedName__Group_1__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:8889:1: ( ( ( rule__ObjectiveDefinition__KindAssignment_0 ) ) ) - // InternalSolverLanguageParser.g:8890:1: ( ( rule__ObjectiveDefinition__KindAssignment_0 ) ) + // InternalSolverLanguageParser.g:10356:1: ( ( ColonColon ) ) + // InternalSolverLanguageParser.g:10357:1: ( ColonColon ) { - // InternalSolverLanguageParser.g:8890:1: ( ( rule__ObjectiveDefinition__KindAssignment_0 ) ) - // InternalSolverLanguageParser.g:8891:2: ( rule__ObjectiveDefinition__KindAssignment_0 ) + // InternalSolverLanguageParser.g:10357:1: ( ColonColon ) + // InternalSolverLanguageParser.g:10358:2: ColonColon { - before(grammarAccess.getObjectiveDefinitionAccess().getKindAssignment_0()); - // InternalSolverLanguageParser.g:8892:2: ( rule__ObjectiveDefinition__KindAssignment_0 ) - // InternalSolverLanguageParser.g:8892:3: rule__ObjectiveDefinition__KindAssignment_0 - { - pushFollow(FOLLOW_2); - rule__ObjectiveDefinition__KindAssignment_0(); - - state._fsp--; - - - } - - after(grammarAccess.getObjectiveDefinitionAccess().getKindAssignment_0()); + before(grammarAccess.getQualifiedNameAccess().getColonColonKeyword_1_0()); + match(input,ColonColon,FOLLOW_2); + after(grammarAccess.getQualifiedNameAccess().getColonColonKeyword_1_0()); } @@ -27328,21 +31740,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ObjectiveDefinition__Group__0__Impl" + // $ANTLR end "rule__QualifiedName__Group_1__0__Impl" - // $ANTLR start "rule__ObjectiveDefinition__Group__1" - // InternalSolverLanguageParser.g:8900:1: rule__ObjectiveDefinition__Group__1 : rule__ObjectiveDefinition__Group__1__Impl ; - public final void rule__ObjectiveDefinition__Group__1() throws RecognitionException { + // $ANTLR start "rule__QualifiedName__Group_1__1" + // InternalSolverLanguageParser.g:10367:1: rule__QualifiedName__Group_1__1 : rule__QualifiedName__Group_1__1__Impl ; + public final void rule__QualifiedName__Group_1__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:8904:1: ( rule__ObjectiveDefinition__Group__1__Impl ) - // InternalSolverLanguageParser.g:8905:2: rule__ObjectiveDefinition__Group__1__Impl + // InternalSolverLanguageParser.g:10371:1: ( rule__QualifiedName__Group_1__1__Impl ) + // InternalSolverLanguageParser.g:10372:2: rule__QualifiedName__Group_1__1__Impl { pushFollow(FOLLOW_2); - rule__ObjectiveDefinition__Group__1__Impl(); + rule__QualifiedName__Group_1__1__Impl(); state._fsp--; @@ -27361,35 +31773,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ObjectiveDefinition__Group__1" + // $ANTLR end "rule__QualifiedName__Group_1__1" - // $ANTLR start "rule__ObjectiveDefinition__Group__1__Impl" - // InternalSolverLanguageParser.g:8911:1: rule__ObjectiveDefinition__Group__1__Impl : ( ( rule__ObjectiveDefinition__ObjectiveAssignment_1 ) ) ; - public final void rule__ObjectiveDefinition__Group__1__Impl() throws RecognitionException { + // $ANTLR start "rule__QualifiedName__Group_1__1__Impl" + // InternalSolverLanguageParser.g:10378:1: rule__QualifiedName__Group_1__1__Impl : ( ruleQualifiedNameSegment ) ; + public final void rule__QualifiedName__Group_1__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:8915:1: ( ( ( rule__ObjectiveDefinition__ObjectiveAssignment_1 ) ) ) - // InternalSolverLanguageParser.g:8916:1: ( ( rule__ObjectiveDefinition__ObjectiveAssignment_1 ) ) + // InternalSolverLanguageParser.g:10382:1: ( ( ruleQualifiedNameSegment ) ) + // InternalSolverLanguageParser.g:10383:1: ( ruleQualifiedNameSegment ) { - // InternalSolverLanguageParser.g:8916:1: ( ( rule__ObjectiveDefinition__ObjectiveAssignment_1 ) ) - // InternalSolverLanguageParser.g:8917:2: ( rule__ObjectiveDefinition__ObjectiveAssignment_1 ) - { - before(grammarAccess.getObjectiveDefinitionAccess().getObjectiveAssignment_1()); - // InternalSolverLanguageParser.g:8918:2: ( rule__ObjectiveDefinition__ObjectiveAssignment_1 ) - // InternalSolverLanguageParser.g:8918:3: rule__ObjectiveDefinition__ObjectiveAssignment_1 + // InternalSolverLanguageParser.g:10383:1: ( ruleQualifiedNameSegment ) + // InternalSolverLanguageParser.g:10384:2: ruleQualifiedNameSegment { + before(grammarAccess.getQualifiedNameAccess().getQualifiedNameSegmentParserRuleCall_1_1()); pushFollow(FOLLOW_2); - rule__ObjectiveDefinition__ObjectiveAssignment_1(); + ruleQualifiedNameSegment(); state._fsp--; - - } - - after(grammarAccess.getObjectiveDefinitionAccess().getObjectiveAssignment_1()); + after(grammarAccess.getQualifiedNameAccess().getQualifiedNameSegmentParserRuleCall_1_1()); } @@ -27408,28 +31814,44 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ObjectiveDefinition__Group__1__Impl" + // $ANTLR end "rule__QualifiedName__Group_1__1__Impl" - // $ANTLR start "rule__Real__Group__0" - // InternalSolverLanguageParser.g:8927:1: rule__Real__Group__0 : rule__Real__Group__0__Impl rule__Real__Group__1 ; - public final void rule__Real__Group__0() throws RecognitionException { + // $ANTLR start "rule__ExternPredicateDeclaration__UnorderedGroup_1" + // InternalSolverLanguageParser.g:10394:1: rule__ExternPredicateDeclaration__UnorderedGroup_1 : ( rule__ExternPredicateDeclaration__UnorderedGroup_1__0 )? ; + public final void rule__ExternPredicateDeclaration__UnorderedGroup_1() throws RecognitionException { int stackSize = keepStackSize(); + getUnorderedGroupHelper().enter(grammarAccess.getExternPredicateDeclarationAccess().getUnorderedGroup_1()); try { - // InternalSolverLanguageParser.g:8931:1: ( rule__Real__Group__0__Impl rule__Real__Group__1 ) - // InternalSolverLanguageParser.g:8932:2: rule__Real__Group__0__Impl rule__Real__Group__1 + // InternalSolverLanguageParser.g:10399:1: ( ( rule__ExternPredicateDeclaration__UnorderedGroup_1__0 )? ) + // InternalSolverLanguageParser.g:10400:2: ( rule__ExternPredicateDeclaration__UnorderedGroup_1__0 )? { - pushFollow(FOLLOW_64); - rule__Real__Group__0__Impl(); + // InternalSolverLanguageParser.g:10400:2: ( rule__ExternPredicateDeclaration__UnorderedGroup_1__0 )? + int alt69=2; + int LA69_0 = input.LA(1); - state._fsp--; + if ( LA69_0 == Functional && getUnorderedGroupHelper().canSelect(grammarAccess.getExternPredicateDeclarationAccess().getUnorderedGroup_1(), 0) ) { + alt69=1; + } + else if ( LA69_0 == Error && getUnorderedGroupHelper().canSelect(grammarAccess.getExternPredicateDeclarationAccess().getUnorderedGroup_1(), 1) ) { + alt69=1; + } + switch (alt69) { + case 1 : + // InternalSolverLanguageParser.g:10400:2: rule__ExternPredicateDeclaration__UnorderedGroup_1__0 + { + pushFollow(FOLLOW_2); + rule__ExternPredicateDeclaration__UnorderedGroup_1__0(); - pushFollow(FOLLOW_2); - rule__Real__Group__1(); + state._fsp--; - state._fsp--; + + } + break; + + } } @@ -27441,65 +31863,137 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } finally { + getUnorderedGroupHelper().leave(grammarAccess.getExternPredicateDeclarationAccess().getUnorderedGroup_1()); restoreStackSize(stackSize); } return ; } - // $ANTLR end "rule__Real__Group__0" + // $ANTLR end "rule__ExternPredicateDeclaration__UnorderedGroup_1" - // $ANTLR start "rule__Real__Group__0__Impl" - // InternalSolverLanguageParser.g:8939:1: rule__Real__Group__0__Impl : ( RULE_INT ) ; - public final void rule__Real__Group__0__Impl() throws RecognitionException { + // $ANTLR start "rule__ExternPredicateDeclaration__UnorderedGroup_1__Impl" + // InternalSolverLanguageParser.g:10408:1: rule__ExternPredicateDeclaration__UnorderedGroup_1__Impl : ( ({...}? => ( ( ( rule__ExternPredicateDeclaration__FunctionalAssignment_1_0 ) ) ) ) | ({...}? => ( ( ( rule__ExternPredicateDeclaration__ErrorAssignment_1_1 ) ) ) ) ) ; + public final void rule__ExternPredicateDeclaration__UnorderedGroup_1__Impl() throws RecognitionException { int stackSize = keepStackSize(); + boolean selected = false; try { - // InternalSolverLanguageParser.g:8943:1: ( ( RULE_INT ) ) - // InternalSolverLanguageParser.g:8944:1: ( RULE_INT ) + // InternalSolverLanguageParser.g:10413:1: ( ( ({...}? => ( ( ( rule__ExternPredicateDeclaration__FunctionalAssignment_1_0 ) ) ) ) | ({...}? => ( ( ( rule__ExternPredicateDeclaration__ErrorAssignment_1_1 ) ) ) ) ) ) + // InternalSolverLanguageParser.g:10414:3: ( ({...}? => ( ( ( rule__ExternPredicateDeclaration__FunctionalAssignment_1_0 ) ) ) ) | ({...}? => ( ( ( rule__ExternPredicateDeclaration__ErrorAssignment_1_1 ) ) ) ) ) { - // InternalSolverLanguageParser.g:8944:1: ( RULE_INT ) - // InternalSolverLanguageParser.g:8945:2: RULE_INT - { - before(grammarAccess.getRealAccess().getINTTerminalRuleCall_0()); - match(input,RULE_INT,FOLLOW_2); - after(grammarAccess.getRealAccess().getINTTerminalRuleCall_0()); + // InternalSolverLanguageParser.g:10414:3: ( ({...}? => ( ( ( rule__ExternPredicateDeclaration__FunctionalAssignment_1_0 ) ) ) ) | ({...}? => ( ( ( rule__ExternPredicateDeclaration__ErrorAssignment_1_1 ) ) ) ) ) + int alt70=2; + int LA70_0 = input.LA(1); + if ( LA70_0 == Functional && getUnorderedGroupHelper().canSelect(grammarAccess.getExternPredicateDeclarationAccess().getUnorderedGroup_1(), 0) ) { + alt70=1; } + else if ( LA70_0 == Error && getUnorderedGroupHelper().canSelect(grammarAccess.getExternPredicateDeclarationAccess().getUnorderedGroup_1(), 1) ) { + alt70=2; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 70, 0, input); - + throw nvae; } + switch (alt70) { + case 1 : + // InternalSolverLanguageParser.g:10415:3: ({...}? => ( ( ( rule__ExternPredicateDeclaration__FunctionalAssignment_1_0 ) ) ) ) + { + // InternalSolverLanguageParser.g:10415:3: ({...}? => ( ( ( rule__ExternPredicateDeclaration__FunctionalAssignment_1_0 ) ) ) ) + // InternalSolverLanguageParser.g:10416:4: {...}? => ( ( ( rule__ExternPredicateDeclaration__FunctionalAssignment_1_0 ) ) ) + { + if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getExternPredicateDeclarationAccess().getUnorderedGroup_1(), 0) ) { + throw new FailedPredicateException(input, "rule__ExternPredicateDeclaration__UnorderedGroup_1__Impl", "getUnorderedGroupHelper().canSelect(grammarAccess.getExternPredicateDeclarationAccess().getUnorderedGroup_1(), 0)"); + } + // InternalSolverLanguageParser.g:10416:122: ( ( ( rule__ExternPredicateDeclaration__FunctionalAssignment_1_0 ) ) ) + // InternalSolverLanguageParser.g:10417:5: ( ( rule__ExternPredicateDeclaration__FunctionalAssignment_1_0 ) ) + { - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { + getUnorderedGroupHelper().select(grammarAccess.getExternPredicateDeclarationAccess().getUnorderedGroup_1(), 0); + - restoreStackSize(stackSize); + selected = true; + + // InternalSolverLanguageParser.g:10423:5: ( ( rule__ExternPredicateDeclaration__FunctionalAssignment_1_0 ) ) + // InternalSolverLanguageParser.g:10424:6: ( rule__ExternPredicateDeclaration__FunctionalAssignment_1_0 ) + { + before(grammarAccess.getExternPredicateDeclarationAccess().getFunctionalAssignment_1_0()); + // InternalSolverLanguageParser.g:10425:6: ( rule__ExternPredicateDeclaration__FunctionalAssignment_1_0 ) + // InternalSolverLanguageParser.g:10425:7: rule__ExternPredicateDeclaration__FunctionalAssignment_1_0 + { + pushFollow(FOLLOW_2); + rule__ExternPredicateDeclaration__FunctionalAssignment_1_0(); + + state._fsp--; + + + } + + after(grammarAccess.getExternPredicateDeclarationAccess().getFunctionalAssignment_1_0()); + + } + + + } + + + } + + + } + break; + case 2 : + // InternalSolverLanguageParser.g:10430:3: ({...}? => ( ( ( rule__ExternPredicateDeclaration__ErrorAssignment_1_1 ) ) ) ) + { + // InternalSolverLanguageParser.g:10430:3: ({...}? => ( ( ( rule__ExternPredicateDeclaration__ErrorAssignment_1_1 ) ) ) ) + // InternalSolverLanguageParser.g:10431:4: {...}? => ( ( ( rule__ExternPredicateDeclaration__ErrorAssignment_1_1 ) ) ) + { + if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getExternPredicateDeclarationAccess().getUnorderedGroup_1(), 1) ) { + throw new FailedPredicateException(input, "rule__ExternPredicateDeclaration__UnorderedGroup_1__Impl", "getUnorderedGroupHelper().canSelect(grammarAccess.getExternPredicateDeclarationAccess().getUnorderedGroup_1(), 1)"); + } + // InternalSolverLanguageParser.g:10431:122: ( ( ( rule__ExternPredicateDeclaration__ErrorAssignment_1_1 ) ) ) + // InternalSolverLanguageParser.g:10432:5: ( ( rule__ExternPredicateDeclaration__ErrorAssignment_1_1 ) ) + { + + getUnorderedGroupHelper().select(grammarAccess.getExternPredicateDeclarationAccess().getUnorderedGroup_1(), 1); + + + selected = true; + + // InternalSolverLanguageParser.g:10438:5: ( ( rule__ExternPredicateDeclaration__ErrorAssignment_1_1 ) ) + // InternalSolverLanguageParser.g:10439:6: ( rule__ExternPredicateDeclaration__ErrorAssignment_1_1 ) + { + before(grammarAccess.getExternPredicateDeclarationAccess().getErrorAssignment_1_1()); + // InternalSolverLanguageParser.g:10440:6: ( rule__ExternPredicateDeclaration__ErrorAssignment_1_1 ) + // InternalSolverLanguageParser.g:10440:7: rule__ExternPredicateDeclaration__ErrorAssignment_1_1 + { + pushFollow(FOLLOW_2); + rule__ExternPredicateDeclaration__ErrorAssignment_1_1(); + + state._fsp--; + + + } + + after(grammarAccess.getExternPredicateDeclarationAccess().getErrorAssignment_1_1()); + + } - } - return ; - } - // $ANTLR end "rule__Real__Group__0__Impl" + } - // $ANTLR start "rule__Real__Group__1" - // InternalSolverLanguageParser.g:8954:1: rule__Real__Group__1 : rule__Real__Group__1__Impl ; - public final void rule__Real__Group__1() throws RecognitionException { - int stackSize = keepStackSize(); - - try { - // InternalSolverLanguageParser.g:8958:1: ( rule__Real__Group__1__Impl ) - // InternalSolverLanguageParser.g:8959:2: rule__Real__Group__1__Impl - { - pushFollow(FOLLOW_2); - rule__Real__Group__1__Impl(); + } - state._fsp--; + + } + break; + + } } @@ -27511,41 +32005,47 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } finally { + if (selected) + getUnorderedGroupHelper().returnFromSelection(grammarAccess.getExternPredicateDeclarationAccess().getUnorderedGroup_1()); restoreStackSize(stackSize); } return ; } - // $ANTLR end "rule__Real__Group__1" + // $ANTLR end "rule__ExternPredicateDeclaration__UnorderedGroup_1__Impl" - // $ANTLR start "rule__Real__Group__1__Impl" - // InternalSolverLanguageParser.g:8965:1: rule__Real__Group__1__Impl : ( ( rule__Real__Group_1__0 )? ) ; - public final void rule__Real__Group__1__Impl() throws RecognitionException { + // $ANTLR start "rule__ExternPredicateDeclaration__UnorderedGroup_1__0" + // InternalSolverLanguageParser.g:10453:1: rule__ExternPredicateDeclaration__UnorderedGroup_1__0 : rule__ExternPredicateDeclaration__UnorderedGroup_1__Impl ( rule__ExternPredicateDeclaration__UnorderedGroup_1__1 )? ; + public final void rule__ExternPredicateDeclaration__UnorderedGroup_1__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:8969:1: ( ( ( rule__Real__Group_1__0 )? ) ) - // InternalSolverLanguageParser.g:8970:1: ( ( rule__Real__Group_1__0 )? ) - { - // InternalSolverLanguageParser.g:8970:1: ( ( rule__Real__Group_1__0 )? ) - // InternalSolverLanguageParser.g:8971:2: ( rule__Real__Group_1__0 )? + // InternalSolverLanguageParser.g:10457:1: ( rule__ExternPredicateDeclaration__UnorderedGroup_1__Impl ( rule__ExternPredicateDeclaration__UnorderedGroup_1__1 )? ) + // InternalSolverLanguageParser.g:10458:2: rule__ExternPredicateDeclaration__UnorderedGroup_1__Impl ( rule__ExternPredicateDeclaration__UnorderedGroup_1__1 )? { - before(grammarAccess.getRealAccess().getGroup_1()); - // InternalSolverLanguageParser.g:8972:2: ( rule__Real__Group_1__0 )? - int alt61=2; - int LA61_0 = input.LA(1); + pushFollow(FOLLOW_75); + rule__ExternPredicateDeclaration__UnorderedGroup_1__Impl(); - if ( (LA61_0==FullStop) ) { - alt61=1; + state._fsp--; + + // InternalSolverLanguageParser.g:10459:2: ( rule__ExternPredicateDeclaration__UnorderedGroup_1__1 )? + int alt71=2; + int LA71_0 = input.LA(1); + + if ( LA71_0 == Functional && getUnorderedGroupHelper().canSelect(grammarAccess.getExternPredicateDeclarationAccess().getUnorderedGroup_1(), 0) ) { + alt71=1; } - switch (alt61) { + else if ( LA71_0 == Error && getUnorderedGroupHelper().canSelect(grammarAccess.getExternPredicateDeclarationAccess().getUnorderedGroup_1(), 1) ) { + alt71=1; + } + switch (alt71) { case 1 : - // InternalSolverLanguageParser.g:8972:3: rule__Real__Group_1__0 + // InternalSolverLanguageParser.g:10459:2: rule__ExternPredicateDeclaration__UnorderedGroup_1__1 { pushFollow(FOLLOW_2); - rule__Real__Group_1__0(); + rule__ExternPredicateDeclaration__UnorderedGroup_1__1(); state._fsp--; @@ -27553,10 +32053,6 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } break; - } - - after(grammarAccess.getRealAccess().getGroup_1()); - } @@ -27574,26 +32070,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Real__Group__1__Impl" + // $ANTLR end "rule__ExternPredicateDeclaration__UnorderedGroup_1__0" - // $ANTLR start "rule__Real__Group_1__0" - // InternalSolverLanguageParser.g:8981:1: rule__Real__Group_1__0 : rule__Real__Group_1__0__Impl rule__Real__Group_1__1 ; - public final void rule__Real__Group_1__0() throws RecognitionException { + // $ANTLR start "rule__ExternPredicateDeclaration__UnorderedGroup_1__1" + // InternalSolverLanguageParser.g:10465:1: rule__ExternPredicateDeclaration__UnorderedGroup_1__1 : rule__ExternPredicateDeclaration__UnorderedGroup_1__Impl ; + public final void rule__ExternPredicateDeclaration__UnorderedGroup_1__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:8985:1: ( rule__Real__Group_1__0__Impl rule__Real__Group_1__1 ) - // InternalSolverLanguageParser.g:8986:2: rule__Real__Group_1__0__Impl rule__Real__Group_1__1 + // InternalSolverLanguageParser.g:10469:1: ( rule__ExternPredicateDeclaration__UnorderedGroup_1__Impl ) + // InternalSolverLanguageParser.g:10470:2: rule__ExternPredicateDeclaration__UnorderedGroup_1__Impl { - pushFollow(FOLLOW_59); - rule__Real__Group_1__0__Impl(); - - state._fsp--; - pushFollow(FOLLOW_2); - rule__Real__Group_1__1(); + rule__ExternPredicateDeclaration__UnorderedGroup_1__Impl(); state._fsp--; @@ -27612,25 +32103,42 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Real__Group_1__0" + // $ANTLR end "rule__ExternPredicateDeclaration__UnorderedGroup_1__1" - // $ANTLR start "rule__Real__Group_1__0__Impl" - // InternalSolverLanguageParser.g:8993:1: rule__Real__Group_1__0__Impl : ( FullStop ) ; - public final void rule__Real__Group_1__0__Impl() throws RecognitionException { + // $ANTLR start "rule__ClassDeclaration__UnorderedGroup_0" + // InternalSolverLanguageParser.g:10477:1: rule__ClassDeclaration__UnorderedGroup_0 : ( rule__ClassDeclaration__UnorderedGroup_0__0 )? ; + public final void rule__ClassDeclaration__UnorderedGroup_0() throws RecognitionException { int stackSize = keepStackSize(); + getUnorderedGroupHelper().enter(grammarAccess.getClassDeclarationAccess().getUnorderedGroup_0()); try { - // InternalSolverLanguageParser.g:8997:1: ( ( FullStop ) ) - // InternalSolverLanguageParser.g:8998:1: ( FullStop ) + // InternalSolverLanguageParser.g:10482:1: ( ( rule__ClassDeclaration__UnorderedGroup_0__0 )? ) + // InternalSolverLanguageParser.g:10483:2: ( rule__ClassDeclaration__UnorderedGroup_0__0 )? { - // InternalSolverLanguageParser.g:8998:1: ( FullStop ) - // InternalSolverLanguageParser.g:8999:2: FullStop - { - before(grammarAccess.getRealAccess().getFullStopKeyword_1_0()); - match(input,FullStop,FOLLOW_2); - after(grammarAccess.getRealAccess().getFullStopKeyword_1_0()); + // InternalSolverLanguageParser.g:10483:2: ( rule__ClassDeclaration__UnorderedGroup_0__0 )? + int alt72=2; + int LA72_0 = input.LA(1); + + if ( LA72_0 == Abstract && getUnorderedGroupHelper().canSelect(grammarAccess.getClassDeclarationAccess().getUnorderedGroup_0(), 0) ) { + alt72=1; + } + else if ( LA72_0 == Root && getUnorderedGroupHelper().canSelect(grammarAccess.getClassDeclarationAccess().getUnorderedGroup_0(), 1) ) { + alt72=1; + } + switch (alt72) { + case 1 : + // InternalSolverLanguageParser.g:10483:2: rule__ClassDeclaration__UnorderedGroup_0__0 + { + pushFollow(FOLLOW_2); + rule__ClassDeclaration__UnorderedGroup_0__0(); + + state._fsp--; + + + } + break; } @@ -27644,63 +32152,135 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } finally { + getUnorderedGroupHelper().leave(grammarAccess.getClassDeclarationAccess().getUnorderedGroup_0()); restoreStackSize(stackSize); } return ; } - // $ANTLR end "rule__Real__Group_1__0__Impl" + // $ANTLR end "rule__ClassDeclaration__UnorderedGroup_0" - // $ANTLR start "rule__Real__Group_1__1" - // InternalSolverLanguageParser.g:9008:1: rule__Real__Group_1__1 : rule__Real__Group_1__1__Impl ; - public final void rule__Real__Group_1__1() throws RecognitionException { + // $ANTLR start "rule__ClassDeclaration__UnorderedGroup_0__Impl" + // InternalSolverLanguageParser.g:10491:1: rule__ClassDeclaration__UnorderedGroup_0__Impl : ( ({...}? => ( ( ( rule__ClassDeclaration__AbstractAssignment_0_0 ) ) ) ) | ({...}? => ( ( ( rule__ClassDeclaration__RootAssignment_0_1 ) ) ) ) ) ; + public final void rule__ClassDeclaration__UnorderedGroup_0__Impl() throws RecognitionException { int stackSize = keepStackSize(); + boolean selected = false; try { - // InternalSolverLanguageParser.g:9012:1: ( rule__Real__Group_1__1__Impl ) - // InternalSolverLanguageParser.g:9013:2: rule__Real__Group_1__1__Impl + // InternalSolverLanguageParser.g:10496:1: ( ( ({...}? => ( ( ( rule__ClassDeclaration__AbstractAssignment_0_0 ) ) ) ) | ({...}? => ( ( ( rule__ClassDeclaration__RootAssignment_0_1 ) ) ) ) ) ) + // InternalSolverLanguageParser.g:10497:3: ( ({...}? => ( ( ( rule__ClassDeclaration__AbstractAssignment_0_0 ) ) ) ) | ({...}? => ( ( ( rule__ClassDeclaration__RootAssignment_0_1 ) ) ) ) ) { - pushFollow(FOLLOW_2); - rule__Real__Group_1__1__Impl(); - - state._fsp--; + // InternalSolverLanguageParser.g:10497:3: ( ({...}? => ( ( ( rule__ClassDeclaration__AbstractAssignment_0_0 ) ) ) ) | ({...}? => ( ( ( rule__ClassDeclaration__RootAssignment_0_1 ) ) ) ) ) + int alt73=2; + int LA73_0 = input.LA(1); + if ( LA73_0 == Abstract && getUnorderedGroupHelper().canSelect(grammarAccess.getClassDeclarationAccess().getUnorderedGroup_0(), 0) ) { + alt73=1; + } + else if ( LA73_0 == Root && getUnorderedGroupHelper().canSelect(grammarAccess.getClassDeclarationAccess().getUnorderedGroup_0(), 1) ) { + alt73=2; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 73, 0, input); + throw nvae; } + switch (alt73) { + case 1 : + // InternalSolverLanguageParser.g:10498:3: ({...}? => ( ( ( rule__ClassDeclaration__AbstractAssignment_0_0 ) ) ) ) + { + // InternalSolverLanguageParser.g:10498:3: ({...}? => ( ( ( rule__ClassDeclaration__AbstractAssignment_0_0 ) ) ) ) + // InternalSolverLanguageParser.g:10499:4: {...}? => ( ( ( rule__ClassDeclaration__AbstractAssignment_0_0 ) ) ) + { + if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getClassDeclarationAccess().getUnorderedGroup_0(), 0) ) { + throw new FailedPredicateException(input, "rule__ClassDeclaration__UnorderedGroup_0__Impl", "getUnorderedGroupHelper().canSelect(grammarAccess.getClassDeclarationAccess().getUnorderedGroup_0(), 0)"); + } + // InternalSolverLanguageParser.g:10499:112: ( ( ( rule__ClassDeclaration__AbstractAssignment_0_0 ) ) ) + // InternalSolverLanguageParser.g:10500:5: ( ( rule__ClassDeclaration__AbstractAssignment_0_0 ) ) + { - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { + getUnorderedGroupHelper().select(grammarAccess.getClassDeclarationAccess().getUnorderedGroup_0(), 0); + - restoreStackSize(stackSize); + selected = true; + + // InternalSolverLanguageParser.g:10506:5: ( ( rule__ClassDeclaration__AbstractAssignment_0_0 ) ) + // InternalSolverLanguageParser.g:10507:6: ( rule__ClassDeclaration__AbstractAssignment_0_0 ) + { + before(grammarAccess.getClassDeclarationAccess().getAbstractAssignment_0_0()); + // InternalSolverLanguageParser.g:10508:6: ( rule__ClassDeclaration__AbstractAssignment_0_0 ) + // InternalSolverLanguageParser.g:10508:7: rule__ClassDeclaration__AbstractAssignment_0_0 + { + pushFollow(FOLLOW_2); + rule__ClassDeclaration__AbstractAssignment_0_0(); - } - return ; - } - // $ANTLR end "rule__Real__Group_1__1" + state._fsp--; - // $ANTLR start "rule__Real__Group_1__1__Impl" - // InternalSolverLanguageParser.g:9019:1: rule__Real__Group_1__1__Impl : ( RULE_INT ) ; - public final void rule__Real__Group_1__1__Impl() throws RecognitionException { + } - int stackSize = keepStackSize(); - - try { - // InternalSolverLanguageParser.g:9023:1: ( ( RULE_INT ) ) - // InternalSolverLanguageParser.g:9024:1: ( RULE_INT ) - { - // InternalSolverLanguageParser.g:9024:1: ( RULE_INT ) - // InternalSolverLanguageParser.g:9025:2: RULE_INT - { - before(grammarAccess.getRealAccess().getINTTerminalRuleCall_1_1()); - match(input,RULE_INT,FOLLOW_2); - after(grammarAccess.getRealAccess().getINTTerminalRuleCall_1_1()); + after(grammarAccess.getClassDeclarationAccess().getAbstractAssignment_0_0()); + + } + + + } + + + } + + + } + break; + case 2 : + // InternalSolverLanguageParser.g:10513:3: ({...}? => ( ( ( rule__ClassDeclaration__RootAssignment_0_1 ) ) ) ) + { + // InternalSolverLanguageParser.g:10513:3: ({...}? => ( ( ( rule__ClassDeclaration__RootAssignment_0_1 ) ) ) ) + // InternalSolverLanguageParser.g:10514:4: {...}? => ( ( ( rule__ClassDeclaration__RootAssignment_0_1 ) ) ) + { + if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getClassDeclarationAccess().getUnorderedGroup_0(), 1) ) { + throw new FailedPredicateException(input, "rule__ClassDeclaration__UnorderedGroup_0__Impl", "getUnorderedGroupHelper().canSelect(grammarAccess.getClassDeclarationAccess().getUnorderedGroup_0(), 1)"); + } + // InternalSolverLanguageParser.g:10514:112: ( ( ( rule__ClassDeclaration__RootAssignment_0_1 ) ) ) + // InternalSolverLanguageParser.g:10515:5: ( ( rule__ClassDeclaration__RootAssignment_0_1 ) ) + { + + getUnorderedGroupHelper().select(grammarAccess.getClassDeclarationAccess().getUnorderedGroup_0(), 1); + + + selected = true; + + // InternalSolverLanguageParser.g:10521:5: ( ( rule__ClassDeclaration__RootAssignment_0_1 ) ) + // InternalSolverLanguageParser.g:10522:6: ( rule__ClassDeclaration__RootAssignment_0_1 ) + { + before(grammarAccess.getClassDeclarationAccess().getRootAssignment_0_1()); + // InternalSolverLanguageParser.g:10523:6: ( rule__ClassDeclaration__RootAssignment_0_1 ) + // InternalSolverLanguageParser.g:10523:7: rule__ClassDeclaration__RootAssignment_0_1 + { + pushFollow(FOLLOW_2); + rule__ClassDeclaration__RootAssignment_0_1(); + + state._fsp--; + + + } + + after(grammarAccess.getClassDeclarationAccess().getRootAssignment_0_1()); + + } + + + } + + + } + + + } + break; } @@ -27714,33 +32294,55 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } finally { + if (selected) + getUnorderedGroupHelper().returnFromSelection(grammarAccess.getClassDeclarationAccess().getUnorderedGroup_0()); restoreStackSize(stackSize); } return ; } - // $ANTLR end "rule__Real__Group_1__1__Impl" + // $ANTLR end "rule__ClassDeclaration__UnorderedGroup_0__Impl" - // $ANTLR start "rule__QualifiedName__Group_0__0" - // InternalSolverLanguageParser.g:9035:1: rule__QualifiedName__Group_0__0 : rule__QualifiedName__Group_0__0__Impl rule__QualifiedName__Group_0__1 ; - public final void rule__QualifiedName__Group_0__0() throws RecognitionException { + // $ANTLR start "rule__ClassDeclaration__UnorderedGroup_0__0" + // InternalSolverLanguageParser.g:10536:1: rule__ClassDeclaration__UnorderedGroup_0__0 : rule__ClassDeclaration__UnorderedGroup_0__Impl ( rule__ClassDeclaration__UnorderedGroup_0__1 )? ; + public final void rule__ClassDeclaration__UnorderedGroup_0__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:9039:1: ( rule__QualifiedName__Group_0__0__Impl rule__QualifiedName__Group_0__1 ) - // InternalSolverLanguageParser.g:9040:2: rule__QualifiedName__Group_0__0__Impl rule__QualifiedName__Group_0__1 + // InternalSolverLanguageParser.g:10540:1: ( rule__ClassDeclaration__UnorderedGroup_0__Impl ( rule__ClassDeclaration__UnorderedGroup_0__1 )? ) + // InternalSolverLanguageParser.g:10541:2: rule__ClassDeclaration__UnorderedGroup_0__Impl ( rule__ClassDeclaration__UnorderedGroup_0__1 )? { - pushFollow(FOLLOW_64); - rule__QualifiedName__Group_0__0__Impl(); + pushFollow(FOLLOW_76); + rule__ClassDeclaration__UnorderedGroup_0__Impl(); state._fsp--; - pushFollow(FOLLOW_2); - rule__QualifiedName__Group_0__1(); + // InternalSolverLanguageParser.g:10542:2: ( rule__ClassDeclaration__UnorderedGroup_0__1 )? + int alt74=2; + int LA74_0 = input.LA(1); - state._fsp--; + if ( LA74_0 == Abstract && getUnorderedGroupHelper().canSelect(grammarAccess.getClassDeclarationAccess().getUnorderedGroup_0(), 0) ) { + alt74=1; + } + else if ( LA74_0 == Root && getUnorderedGroupHelper().canSelect(grammarAccess.getClassDeclarationAccess().getUnorderedGroup_0(), 1) ) { + alt74=1; + } + switch (alt74) { + case 1 : + // InternalSolverLanguageParser.g:10542:2: rule__ClassDeclaration__UnorderedGroup_0__1 + { + pushFollow(FOLLOW_2); + rule__ClassDeclaration__UnorderedGroup_0__1(); + + state._fsp--; + + + } + break; + + } } @@ -27757,27 +32359,23 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__QualifiedName__Group_0__0" + // $ANTLR end "rule__ClassDeclaration__UnorderedGroup_0__0" - // $ANTLR start "rule__QualifiedName__Group_0__0__Impl" - // InternalSolverLanguageParser.g:9047:1: rule__QualifiedName__Group_0__0__Impl : ( RULE_ID ) ; - public final void rule__QualifiedName__Group_0__0__Impl() throws RecognitionException { + // $ANTLR start "rule__ClassDeclaration__UnorderedGroup_0__1" + // InternalSolverLanguageParser.g:10548:1: rule__ClassDeclaration__UnorderedGroup_0__1 : rule__ClassDeclaration__UnorderedGroup_0__Impl ; + public final void rule__ClassDeclaration__UnorderedGroup_0__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:9051:1: ( ( RULE_ID ) ) - // InternalSolverLanguageParser.g:9052:1: ( RULE_ID ) + // InternalSolverLanguageParser.g:10552:1: ( rule__ClassDeclaration__UnorderedGroup_0__Impl ) + // InternalSolverLanguageParser.g:10553:2: rule__ClassDeclaration__UnorderedGroup_0__Impl { - // InternalSolverLanguageParser.g:9052:1: ( RULE_ID ) - // InternalSolverLanguageParser.g:9053:2: RULE_ID - { - before(grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_0_0()); - match(input,RULE_ID,FOLLOW_2); - after(grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_0_0()); + pushFollow(FOLLOW_2); + rule__ClassDeclaration__UnorderedGroup_0__Impl(); - } + state._fsp--; } @@ -27794,24 +32392,32 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__QualifiedName__Group_0__0__Impl" + // $ANTLR end "rule__ClassDeclaration__UnorderedGroup_0__1" - // $ANTLR start "rule__QualifiedName__Group_0__1" - // InternalSolverLanguageParser.g:9062:1: rule__QualifiedName__Group_0__1 : rule__QualifiedName__Group_0__1__Impl ; - public final void rule__QualifiedName__Group_0__1() throws RecognitionException { + // $ANTLR start "rule__Problem__NameAssignment_0_1" + // InternalSolverLanguageParser.g:10560:1: rule__Problem__NameAssignment_0_1 : ( ruleQualifiedName ) ; + public final void rule__Problem__NameAssignment_0_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:9066:1: ( rule__QualifiedName__Group_0__1__Impl ) - // InternalSolverLanguageParser.g:9067:2: rule__QualifiedName__Group_0__1__Impl + // InternalSolverLanguageParser.g:10564:1: ( ( ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:10565:2: ( ruleQualifiedName ) + { + // InternalSolverLanguageParser.g:10565:2: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:10566:3: ruleQualifiedName { + before(grammarAccess.getProblemAccess().getNameQualifiedNameParserRuleCall_0_1_0()); pushFollow(FOLLOW_2); - rule__QualifiedName__Group_0__1__Impl(); + ruleQualifiedName(); state._fsp--; + after(grammarAccess.getProblemAccess().getNameQualifiedNameParserRuleCall_0_1_0()); + + } + } @@ -27827,53 +32433,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__QualifiedName__Group_0__1" + // $ANTLR end "rule__Problem__NameAssignment_0_1" - // $ANTLR start "rule__QualifiedName__Group_0__1__Impl" - // InternalSolverLanguageParser.g:9073:1: rule__QualifiedName__Group_0__1__Impl : ( ( rule__QualifiedName__Group_0_1__0 )* ) ; - public final void rule__QualifiedName__Group_0__1__Impl() throws RecognitionException { + // $ANTLR start "rule__Problem__ImportsAssignment_1" + // InternalSolverLanguageParser.g:10575:1: rule__Problem__ImportsAssignment_1 : ( ruleImport ) ; + public final void rule__Problem__ImportsAssignment_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:9077:1: ( ( ( rule__QualifiedName__Group_0_1__0 )* ) ) - // InternalSolverLanguageParser.g:9078:1: ( ( rule__QualifiedName__Group_0_1__0 )* ) + // InternalSolverLanguageParser.g:10579:1: ( ( ruleImport ) ) + // InternalSolverLanguageParser.g:10580:2: ( ruleImport ) { - // InternalSolverLanguageParser.g:9078:1: ( ( rule__QualifiedName__Group_0_1__0 )* ) - // InternalSolverLanguageParser.g:9079:2: ( rule__QualifiedName__Group_0_1__0 )* + // InternalSolverLanguageParser.g:10580:2: ( ruleImport ) + // InternalSolverLanguageParser.g:10581:3: ruleImport { - before(grammarAccess.getQualifiedNameAccess().getGroup_0_1()); - // InternalSolverLanguageParser.g:9080:2: ( rule__QualifiedName__Group_0_1__0 )* - loop62: - do { - int alt62=2; - int LA62_0 = input.LA(1); - - if ( (LA62_0==FullStop) ) { - alt62=1; - } - - - switch (alt62) { - case 1 : - // InternalSolverLanguageParser.g:9080:3: rule__QualifiedName__Group_0_1__0 - { - pushFollow(FOLLOW_65); - rule__QualifiedName__Group_0_1__0(); - - state._fsp--; - - - } - break; + before(grammarAccess.getProblemAccess().getImportsImportParserRuleCall_1_0()); + pushFollow(FOLLOW_2); + ruleImport(); - default : - break loop62; - } - } while (true); + state._fsp--; - after(grammarAccess.getQualifiedNameAccess().getGroup_0_1()); + after(grammarAccess.getProblemAccess().getImportsImportParserRuleCall_1_0()); } @@ -27892,28 +32474,31 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__QualifiedName__Group_0__1__Impl" + // $ANTLR end "rule__Problem__ImportsAssignment_1" - // $ANTLR start "rule__QualifiedName__Group_0_1__0" - // InternalSolverLanguageParser.g:9089:1: rule__QualifiedName__Group_0_1__0 : rule__QualifiedName__Group_0_1__0__Impl rule__QualifiedName__Group_0_1__1 ; - public final void rule__QualifiedName__Group_0_1__0() throws RecognitionException { + // $ANTLR start "rule__Problem__StatementsAssignment_2" + // InternalSolverLanguageParser.g:10590:1: rule__Problem__StatementsAssignment_2 : ( ruleStatement ) ; + public final void rule__Problem__StatementsAssignment_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:9093:1: ( rule__QualifiedName__Group_0_1__0__Impl rule__QualifiedName__Group_0_1__1 ) - // InternalSolverLanguageParser.g:9094:2: rule__QualifiedName__Group_0_1__0__Impl rule__QualifiedName__Group_0_1__1 + // InternalSolverLanguageParser.g:10594:1: ( ( ruleStatement ) ) + // InternalSolverLanguageParser.g:10595:2: ( ruleStatement ) { - pushFollow(FOLLOW_21); - rule__QualifiedName__Group_0_1__0__Impl(); + // InternalSolverLanguageParser.g:10595:2: ( ruleStatement ) + // InternalSolverLanguageParser.g:10596:3: ruleStatement + { + before(grammarAccess.getProblemAccess().getStatementsStatementParserRuleCall_2_0()); + pushFollow(FOLLOW_2); + ruleStatement(); state._fsp--; - pushFollow(FOLLOW_2); - rule__QualifiedName__Group_0_1__1(); + after(grammarAccess.getProblemAccess().getStatementsStatementParserRuleCall_2_0()); - state._fsp--; + } } @@ -27930,25 +32515,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__QualifiedName__Group_0_1__0" + // $ANTLR end "rule__Problem__StatementsAssignment_2" - // $ANTLR start "rule__QualifiedName__Group_0_1__0__Impl" - // InternalSolverLanguageParser.g:9101:1: rule__QualifiedName__Group_0_1__0__Impl : ( FullStop ) ; - public final void rule__QualifiedName__Group_0_1__0__Impl() throws RecognitionException { + // $ANTLR start "rule__UriImport__UriAssignment_1" + // InternalSolverLanguageParser.g:10605:1: rule__UriImport__UriAssignment_1 : ( RULE_STRING ) ; + public final void rule__UriImport__UriAssignment_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:9105:1: ( ( FullStop ) ) - // InternalSolverLanguageParser.g:9106:1: ( FullStop ) + // InternalSolverLanguageParser.g:10609:1: ( ( RULE_STRING ) ) + // InternalSolverLanguageParser.g:10610:2: ( RULE_STRING ) { - // InternalSolverLanguageParser.g:9106:1: ( FullStop ) - // InternalSolverLanguageParser.g:9107:2: FullStop + // InternalSolverLanguageParser.g:10610:2: ( RULE_STRING ) + // InternalSolverLanguageParser.g:10611:3: RULE_STRING { - before(grammarAccess.getQualifiedNameAccess().getFullStopKeyword_0_1_0()); - match(input,FullStop,FOLLOW_2); - after(grammarAccess.getQualifiedNameAccess().getFullStopKeyword_0_1_0()); + before(grammarAccess.getUriImportAccess().getUriSTRINGTerminalRuleCall_1_0()); + match(input,RULE_STRING,FOLLOW_2); + after(grammarAccess.getUriImportAccess().getUriSTRINGTerminalRuleCall_1_0()); } @@ -27967,24 +32552,32 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__QualifiedName__Group_0_1__0__Impl" + // $ANTLR end "rule__UriImport__UriAssignment_1" - // $ANTLR start "rule__QualifiedName__Group_0_1__1" - // InternalSolverLanguageParser.g:9116:1: rule__QualifiedName__Group_0_1__1 : rule__QualifiedName__Group_0_1__1__Impl ; - public final void rule__QualifiedName__Group_0_1__1() throws RecognitionException { + // $ANTLR start "rule__UriImport__AliasAssignment_2_1" + // InternalSolverLanguageParser.g:10620:1: rule__UriImport__AliasAssignment_2_1 : ( ruleQualifiedName ) ; + public final void rule__UriImport__AliasAssignment_2_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:9120:1: ( rule__QualifiedName__Group_0_1__1__Impl ) - // InternalSolverLanguageParser.g:9121:2: rule__QualifiedName__Group_0_1__1__Impl + // InternalSolverLanguageParser.g:10624:1: ( ( ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:10625:2: ( ruleQualifiedName ) + { + // InternalSolverLanguageParser.g:10625:2: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:10626:3: ruleQualifiedName { + before(grammarAccess.getUriImportAccess().getAliasQualifiedNameParserRuleCall_2_1_0()); pushFollow(FOLLOW_2); - rule__QualifiedName__Group_0_1__1__Impl(); + ruleQualifiedName(); state._fsp--; + after(grammarAccess.getUriImportAccess().getAliasQualifiedNameParserRuleCall_2_1_0()); + + } + } @@ -28000,25 +32593,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__QualifiedName__Group_0_1__1" + // $ANTLR end "rule__UriImport__AliasAssignment_2_1" - // $ANTLR start "rule__QualifiedName__Group_0_1__1__Impl" - // InternalSolverLanguageParser.g:9127:1: rule__QualifiedName__Group_0_1__1__Impl : ( RULE_ID ) ; - public final void rule__QualifiedName__Group_0_1__1__Impl() throws RecognitionException { + // $ANTLR start "rule__NamespaceImport__ImportedNamespaceAssignment_1" + // InternalSolverLanguageParser.g:10635:1: rule__NamespaceImport__ImportedNamespaceAssignment_1 : ( ruleQualifiedName ) ; + public final void rule__NamespaceImport__ImportedNamespaceAssignment_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:9131:1: ( ( RULE_ID ) ) - // InternalSolverLanguageParser.g:9132:1: ( RULE_ID ) + // InternalSolverLanguageParser.g:10639:1: ( ( ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:10640:2: ( ruleQualifiedName ) { - // InternalSolverLanguageParser.g:9132:1: ( RULE_ID ) - // InternalSolverLanguageParser.g:9133:2: RULE_ID + // InternalSolverLanguageParser.g:10640:2: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:10641:3: ruleQualifiedName { - before(grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_0_1_1()); - match(input,RULE_ID,FOLLOW_2); - after(grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_0_1_1()); + before(grammarAccess.getNamespaceImportAccess().getImportedNamespaceQualifiedNameParserRuleCall_1_0()); + pushFollow(FOLLOW_2); + ruleQualifiedName(); + + state._fsp--; + + after(grammarAccess.getNamespaceImportAccess().getImportedNamespaceQualifiedNameParserRuleCall_1_0()); } @@ -28037,29 +32634,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__QualifiedName__Group_0_1__1__Impl" + // $ANTLR end "rule__NamespaceImport__ImportedNamespaceAssignment_1" - // $ANTLR start "rule__Problem__StatementsAssignment" - // InternalSolverLanguageParser.g:9143:1: rule__Problem__StatementsAssignment : ( ruleStatement ) ; - public final void rule__Problem__StatementsAssignment() throws RecognitionException { + // $ANTLR start "rule__NamespaceImport__AliasAssignment_2_1" + // InternalSolverLanguageParser.g:10650:1: rule__NamespaceImport__AliasAssignment_2_1 : ( ruleQualifiedName ) ; + public final void rule__NamespaceImport__AliasAssignment_2_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:9147:1: ( ( ruleStatement ) ) - // InternalSolverLanguageParser.g:9148:2: ( ruleStatement ) + // InternalSolverLanguageParser.g:10654:1: ( ( ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:10655:2: ( ruleQualifiedName ) { - // InternalSolverLanguageParser.g:9148:2: ( ruleStatement ) - // InternalSolverLanguageParser.g:9149:3: ruleStatement + // InternalSolverLanguageParser.g:10655:2: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:10656:3: ruleQualifiedName { - before(grammarAccess.getProblemAccess().getStatementsStatementParserRuleCall_0()); + before(grammarAccess.getNamespaceImportAccess().getAliasQualifiedNameParserRuleCall_2_1_0()); pushFollow(FOLLOW_2); - ruleStatement(); + ruleQualifiedName(); state._fsp--; - after(grammarAccess.getProblemAccess().getStatementsStatementParserRuleCall_0()); + after(grammarAccess.getNamespaceImportAccess().getAliasQualifiedNameParserRuleCall_2_1_0()); } @@ -28078,29 +32675,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Problem__StatementsAssignment" + // $ANTLR end "rule__NamespaceImport__AliasAssignment_2_1" - // $ANTLR start "rule__AssertionOrDefinition__RangeAssignment_1_0_2" - // InternalSolverLanguageParser.g:9158:1: rule__AssertionOrDefinition__RangeAssignment_1_0_2 : ( ruleExpression ) ; - public final void rule__AssertionOrDefinition__RangeAssignment_1_0_2() throws RecognitionException { + // $ANTLR start "rule__AssertionOrDefinition__RangeAssignment_1_0_1_1" + // InternalSolverLanguageParser.g:10665:1: rule__AssertionOrDefinition__RangeAssignment_1_0_1_1 : ( ruleExpression ) ; + public final void rule__AssertionOrDefinition__RangeAssignment_1_0_1_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:9162:1: ( ( ruleExpression ) ) - // InternalSolverLanguageParser.g:9163:2: ( ruleExpression ) + // InternalSolverLanguageParser.g:10669:1: ( ( ruleExpression ) ) + // InternalSolverLanguageParser.g:10670:2: ( ruleExpression ) { - // InternalSolverLanguageParser.g:9163:2: ( ruleExpression ) - // InternalSolverLanguageParser.g:9164:3: ruleExpression + // InternalSolverLanguageParser.g:10670:2: ( ruleExpression ) + // InternalSolverLanguageParser.g:10671:3: ruleExpression { - before(grammarAccess.getAssertionOrDefinitionAccess().getRangeExpressionParserRuleCall_1_0_2_0()); + before(grammarAccess.getAssertionOrDefinitionAccess().getRangeExpressionParserRuleCall_1_0_1_1_0()); pushFollow(FOLLOW_2); ruleExpression(); state._fsp--; - after(grammarAccess.getAssertionOrDefinitionAccess().getRangeExpressionParserRuleCall_1_0_2_0()); + after(grammarAccess.getAssertionOrDefinitionAccess().getRangeExpressionParserRuleCall_1_0_1_1_0()); } @@ -28119,21 +32716,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__AssertionOrDefinition__RangeAssignment_1_0_2" + // $ANTLR end "rule__AssertionOrDefinition__RangeAssignment_1_0_1_1" // $ANTLR start "rule__AssertionOrDefinition__BodyAssignment_1_1_2" - // InternalSolverLanguageParser.g:9173:1: rule__AssertionOrDefinition__BodyAssignment_1_1_2 : ( ruleExpression ) ; + // InternalSolverLanguageParser.g:10680:1: rule__AssertionOrDefinition__BodyAssignment_1_1_2 : ( ruleExpression ) ; public final void rule__AssertionOrDefinition__BodyAssignment_1_1_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:9177:1: ( ( ruleExpression ) ) - // InternalSolverLanguageParser.g:9178:2: ( ruleExpression ) + // InternalSolverLanguageParser.g:10684:1: ( ( ruleExpression ) ) + // InternalSolverLanguageParser.g:10685:2: ( ruleExpression ) { - // InternalSolverLanguageParser.g:9178:2: ( ruleExpression ) - // InternalSolverLanguageParser.g:9179:3: ruleExpression + // InternalSolverLanguageParser.g:10685:2: ( ruleExpression ) + // InternalSolverLanguageParser.g:10686:3: ruleExpression { before(grammarAccess.getAssertionOrDefinitionAccess().getBodyExpressionParserRuleCall_1_1_2_0()); pushFollow(FOLLOW_2); @@ -28164,17 +32761,17 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR start "rule__AssertionOrDefinition__BodyAssignment_1_2_2" - // InternalSolverLanguageParser.g:9188:1: rule__AssertionOrDefinition__BodyAssignment_1_2_2 : ( ruleExpression ) ; + // InternalSolverLanguageParser.g:10695:1: rule__AssertionOrDefinition__BodyAssignment_1_2_2 : ( ruleExpression ) ; public final void rule__AssertionOrDefinition__BodyAssignment_1_2_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:9192:1: ( ( ruleExpression ) ) - // InternalSolverLanguageParser.g:9193:2: ( ruleExpression ) + // InternalSolverLanguageParser.g:10699:1: ( ( ruleExpression ) ) + // InternalSolverLanguageParser.g:10700:2: ( ruleExpression ) { - // InternalSolverLanguageParser.g:9193:2: ( ruleExpression ) - // InternalSolverLanguageParser.g:9194:3: ruleExpression + // InternalSolverLanguageParser.g:10700:2: ( ruleExpression ) + // InternalSolverLanguageParser.g:10701:3: ruleExpression { before(grammarAccess.getAssertionOrDefinitionAccess().getBodyExpressionParserRuleCall_1_2_2_0()); pushFollow(FOLLOW_2); @@ -28205,21 +32802,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR start "rule__PredicateDefinition__FunctionalAssignment_0_0_0" - // InternalSolverLanguageParser.g:9203:1: rule__PredicateDefinition__FunctionalAssignment_0_0_0 : ( ( Functional ) ) ; + // InternalSolverLanguageParser.g:10710:1: rule__PredicateDefinition__FunctionalAssignment_0_0_0 : ( ( Functional ) ) ; public final void rule__PredicateDefinition__FunctionalAssignment_0_0_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:9207:1: ( ( ( Functional ) ) ) - // InternalSolverLanguageParser.g:9208:2: ( ( Functional ) ) + // InternalSolverLanguageParser.g:10714:1: ( ( ( Functional ) ) ) + // InternalSolverLanguageParser.g:10715:2: ( ( Functional ) ) { - // InternalSolverLanguageParser.g:9208:2: ( ( Functional ) ) - // InternalSolverLanguageParser.g:9209:3: ( Functional ) + // InternalSolverLanguageParser.g:10715:2: ( ( Functional ) ) + // InternalSolverLanguageParser.g:10716:3: ( Functional ) { before(grammarAccess.getPredicateDefinitionAccess().getFunctionalFunctionalKeyword_0_0_0_0()); - // InternalSolverLanguageParser.g:9210:3: ( Functional ) - // InternalSolverLanguageParser.g:9211:4: Functional + // InternalSolverLanguageParser.g:10717:3: ( Functional ) + // InternalSolverLanguageParser.g:10718:4: Functional { before(grammarAccess.getPredicateDefinitionAccess().getFunctionalFunctionalKeyword_0_0_0_0()); match(input,Functional,FOLLOW_2); @@ -28250,21 +32847,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR start "rule__PredicateDefinition__ErrorAssignment_0_0_1" - // InternalSolverLanguageParser.g:9222:1: rule__PredicateDefinition__ErrorAssignment_0_0_1 : ( ( Error ) ) ; + // InternalSolverLanguageParser.g:10729:1: rule__PredicateDefinition__ErrorAssignment_0_0_1 : ( ( Error ) ) ; public final void rule__PredicateDefinition__ErrorAssignment_0_0_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:9226:1: ( ( ( Error ) ) ) - // InternalSolverLanguageParser.g:9227:2: ( ( Error ) ) + // InternalSolverLanguageParser.g:10733:1: ( ( ( Error ) ) ) + // InternalSolverLanguageParser.g:10734:2: ( ( Error ) ) { - // InternalSolverLanguageParser.g:9227:2: ( ( Error ) ) - // InternalSolverLanguageParser.g:9228:3: ( Error ) + // InternalSolverLanguageParser.g:10734:2: ( ( Error ) ) + // InternalSolverLanguageParser.g:10735:3: ( Error ) { before(grammarAccess.getPredicateDefinitionAccess().getErrorErrorKeyword_0_0_1_0()); - // InternalSolverLanguageParser.g:9229:3: ( Error ) - // InternalSolverLanguageParser.g:9230:4: Error + // InternalSolverLanguageParser.g:10736:3: ( Error ) + // InternalSolverLanguageParser.g:10737:4: Error { before(grammarAccess.getPredicateDefinitionAccess().getErrorErrorKeyword_0_0_1_0()); match(input,Error,FOLLOW_2); @@ -28295,21 +32892,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR start "rule__PredicateDefinition__ErrorAssignment_0_1_0" - // InternalSolverLanguageParser.g:9241:1: rule__PredicateDefinition__ErrorAssignment_0_1_0 : ( ( Error ) ) ; + // InternalSolverLanguageParser.g:10748:1: rule__PredicateDefinition__ErrorAssignment_0_1_0 : ( ( Error ) ) ; public final void rule__PredicateDefinition__ErrorAssignment_0_1_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:9245:1: ( ( ( Error ) ) ) - // InternalSolverLanguageParser.g:9246:2: ( ( Error ) ) + // InternalSolverLanguageParser.g:10752:1: ( ( ( Error ) ) ) + // InternalSolverLanguageParser.g:10753:2: ( ( Error ) ) { - // InternalSolverLanguageParser.g:9246:2: ( ( Error ) ) - // InternalSolverLanguageParser.g:9247:3: ( Error ) + // InternalSolverLanguageParser.g:10753:2: ( ( Error ) ) + // InternalSolverLanguageParser.g:10754:3: ( Error ) { before(grammarAccess.getPredicateDefinitionAccess().getErrorErrorKeyword_0_1_0_0()); - // InternalSolverLanguageParser.g:9248:3: ( Error ) - // InternalSolverLanguageParser.g:9249:4: Error + // InternalSolverLanguageParser.g:10755:3: ( Error ) + // InternalSolverLanguageParser.g:10756:4: Error { before(grammarAccess.getPredicateDefinitionAccess().getErrorErrorKeyword_0_1_0_0()); match(input,Error,FOLLOW_2); @@ -28340,21 +32937,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR start "rule__PredicateDefinition__FunctionalAssignment_0_1_1" - // InternalSolverLanguageParser.g:9260:1: rule__PredicateDefinition__FunctionalAssignment_0_1_1 : ( ( Functional ) ) ; + // InternalSolverLanguageParser.g:10767:1: rule__PredicateDefinition__FunctionalAssignment_0_1_1 : ( ( Functional ) ) ; public final void rule__PredicateDefinition__FunctionalAssignment_0_1_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:9264:1: ( ( ( Functional ) ) ) - // InternalSolverLanguageParser.g:9265:2: ( ( Functional ) ) + // InternalSolverLanguageParser.g:10771:1: ( ( ( Functional ) ) ) + // InternalSolverLanguageParser.g:10772:2: ( ( Functional ) ) { - // InternalSolverLanguageParser.g:9265:2: ( ( Functional ) ) - // InternalSolverLanguageParser.g:9266:3: ( Functional ) + // InternalSolverLanguageParser.g:10772:2: ( ( Functional ) ) + // InternalSolverLanguageParser.g:10773:3: ( Functional ) { before(grammarAccess.getPredicateDefinitionAccess().getFunctionalFunctionalKeyword_0_1_1_0()); - // InternalSolverLanguageParser.g:9267:3: ( Functional ) - // InternalSolverLanguageParser.g:9268:4: Functional + // InternalSolverLanguageParser.g:10774:3: ( Functional ) + // InternalSolverLanguageParser.g:10775:4: Functional { before(grammarAccess.getPredicateDefinitionAccess().getFunctionalFunctionalKeyword_0_1_1_0()); match(input,Functional,FOLLOW_2); @@ -28385,17 +32982,17 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR start "rule__PredicateDefinition__HeadAssignment_1" - // InternalSolverLanguageParser.g:9279:1: rule__PredicateDefinition__HeadAssignment_1 : ( ruleCall ) ; + // InternalSolverLanguageParser.g:10786:1: rule__PredicateDefinition__HeadAssignment_1 : ( ruleCall ) ; public final void rule__PredicateDefinition__HeadAssignment_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:9283:1: ( ( ruleCall ) ) - // InternalSolverLanguageParser.g:9284:2: ( ruleCall ) + // InternalSolverLanguageParser.g:10790:1: ( ( ruleCall ) ) + // InternalSolverLanguageParser.g:10791:2: ( ruleCall ) { - // InternalSolverLanguageParser.g:9284:2: ( ruleCall ) - // InternalSolverLanguageParser.g:9285:3: ruleCall + // InternalSolverLanguageParser.g:10791:2: ( ruleCall ) + // InternalSolverLanguageParser.g:10792:3: ruleCall { before(grammarAccess.getPredicateDefinitionAccess().getHeadCallParserRuleCall_1_0()); pushFollow(FOLLOW_2); @@ -28426,17 +33023,17 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR start "rule__PredicateDefinition__BodyAssignment_3" - // InternalSolverLanguageParser.g:9294:1: rule__PredicateDefinition__BodyAssignment_3 : ( ruleExpression ) ; + // InternalSolverLanguageParser.g:10801:1: rule__PredicateDefinition__BodyAssignment_3 : ( ruleExpression ) ; public final void rule__PredicateDefinition__BodyAssignment_3() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:9298:1: ( ( ruleExpression ) ) - // InternalSolverLanguageParser.g:9299:2: ( ruleExpression ) + // InternalSolverLanguageParser.g:10805:1: ( ( ruleExpression ) ) + // InternalSolverLanguageParser.g:10806:2: ( ruleExpression ) { - // InternalSolverLanguageParser.g:9299:2: ( ruleExpression ) - // InternalSolverLanguageParser.g:9300:3: ruleExpression + // InternalSolverLanguageParser.g:10806:2: ( ruleExpression ) + // InternalSolverLanguageParser.g:10807:3: ruleExpression { before(grammarAccess.getPredicateDefinitionAccess().getBodyExpressionParserRuleCall_3_0()); pushFollow(FOLLOW_2); @@ -28466,26 +33063,26 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR end "rule__PredicateDefinition__BodyAssignment_3" - // $ANTLR start "rule__UnnamedErrorPrediateDefinition__ArgumentListAssignment_1" - // InternalSolverLanguageParser.g:9309:1: rule__UnnamedErrorPrediateDefinition__ArgumentListAssignment_1 : ( ruleArgumentList ) ; - public final void rule__UnnamedErrorPrediateDefinition__ArgumentListAssignment_1() throws RecognitionException { + // $ANTLR start "rule__UnnamedErrorPredicateDefintion__ArgumentListAssignment_1" + // InternalSolverLanguageParser.g:10816:1: rule__UnnamedErrorPredicateDefintion__ArgumentListAssignment_1 : ( ruleArgumentList ) ; + public final void rule__UnnamedErrorPredicateDefintion__ArgumentListAssignment_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:9313:1: ( ( ruleArgumentList ) ) - // InternalSolverLanguageParser.g:9314:2: ( ruleArgumentList ) + // InternalSolverLanguageParser.g:10820:1: ( ( ruleArgumentList ) ) + // InternalSolverLanguageParser.g:10821:2: ( ruleArgumentList ) { - // InternalSolverLanguageParser.g:9314:2: ( ruleArgumentList ) - // InternalSolverLanguageParser.g:9315:3: ruleArgumentList + // InternalSolverLanguageParser.g:10821:2: ( ruleArgumentList ) + // InternalSolverLanguageParser.g:10822:3: ruleArgumentList { - before(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getArgumentListArgumentListParserRuleCall_1_0()); + before(grammarAccess.getUnnamedErrorPredicateDefintionAccess().getArgumentListArgumentListParserRuleCall_1_0()); pushFollow(FOLLOW_2); ruleArgumentList(); state._fsp--; - after(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getArgumentListArgumentListParserRuleCall_1_0()); + after(grammarAccess.getUnnamedErrorPredicateDefintionAccess().getArgumentListArgumentListParserRuleCall_1_0()); } @@ -28504,29 +33101,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__UnnamedErrorPrediateDefinition__ArgumentListAssignment_1" + // $ANTLR end "rule__UnnamedErrorPredicateDefintion__ArgumentListAssignment_1" - // $ANTLR start "rule__UnnamedErrorPrediateDefinition__BodyAssignment_3" - // InternalSolverLanguageParser.g:9324:1: rule__UnnamedErrorPrediateDefinition__BodyAssignment_3 : ( ruleExpression ) ; - public final void rule__UnnamedErrorPrediateDefinition__BodyAssignment_3() throws RecognitionException { + // $ANTLR start "rule__UnnamedErrorPredicateDefintion__BodyAssignment_3" + // InternalSolverLanguageParser.g:10831:1: rule__UnnamedErrorPredicateDefintion__BodyAssignment_3 : ( ruleExpression ) ; + public final void rule__UnnamedErrorPredicateDefintion__BodyAssignment_3() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:9328:1: ( ( ruleExpression ) ) - // InternalSolverLanguageParser.g:9329:2: ( ruleExpression ) + // InternalSolverLanguageParser.g:10835:1: ( ( ruleExpression ) ) + // InternalSolverLanguageParser.g:10836:2: ( ruleExpression ) { - // InternalSolverLanguageParser.g:9329:2: ( ruleExpression ) - // InternalSolverLanguageParser.g:9330:3: ruleExpression + // InternalSolverLanguageParser.g:10836:2: ( ruleExpression ) + // InternalSolverLanguageParser.g:10837:3: ruleExpression { - before(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getBodyExpressionParserRuleCall_3_0()); + before(grammarAccess.getUnnamedErrorPredicateDefintionAccess().getBodyExpressionParserRuleCall_3_0()); pushFollow(FOLLOW_2); ruleExpression(); state._fsp--; - after(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getBodyExpressionParserRuleCall_3_0()); + after(grammarAccess.getUnnamedErrorPredicateDefintionAccess().getBodyExpressionParserRuleCall_3_0()); } @@ -28545,29 +33142,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__UnnamedErrorPrediateDefinition__BodyAssignment_3" + // $ANTLR end "rule__UnnamedErrorPredicateDefintion__BodyAssignment_3" - // $ANTLR start "rule__DefaultDefinition__HeadAssignment_1" - // InternalSolverLanguageParser.g:9339:1: rule__DefaultDefinition__HeadAssignment_1 : ( ruleCall ) ; - public final void rule__DefaultDefinition__HeadAssignment_1() throws RecognitionException { + // $ANTLR start "rule__DefaultAssertion__ExpressionAssignment_1" + // InternalSolverLanguageParser.g:10846:1: rule__DefaultAssertion__ExpressionAssignment_1 : ( ruleCall ) ; + public final void rule__DefaultAssertion__ExpressionAssignment_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:9343:1: ( ( ruleCall ) ) - // InternalSolverLanguageParser.g:9344:2: ( ruleCall ) + // InternalSolverLanguageParser.g:10850:1: ( ( ruleCall ) ) + // InternalSolverLanguageParser.g:10851:2: ( ruleCall ) { - // InternalSolverLanguageParser.g:9344:2: ( ruleCall ) - // InternalSolverLanguageParser.g:9345:3: ruleCall + // InternalSolverLanguageParser.g:10851:2: ( ruleCall ) + // InternalSolverLanguageParser.g:10852:3: ruleCall { - before(grammarAccess.getDefaultDefinitionAccess().getHeadCallParserRuleCall_1_0()); + before(grammarAccess.getDefaultAssertionAccess().getExpressionCallParserRuleCall_1_0()); pushFollow(FOLLOW_2); ruleCall(); state._fsp--; - after(grammarAccess.getDefaultDefinitionAccess().getHeadCallParserRuleCall_1_0()); + after(grammarAccess.getDefaultAssertionAccess().getExpressionCallParserRuleCall_1_0()); } @@ -28586,29 +33183,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__DefaultDefinition__HeadAssignment_1" + // $ANTLR end "rule__DefaultAssertion__ExpressionAssignment_1" - // $ANTLR start "rule__DefaultDefinition__RangeAssignment_3" - // InternalSolverLanguageParser.g:9354:1: rule__DefaultDefinition__RangeAssignment_3 : ( ruleExpression ) ; - public final void rule__DefaultDefinition__RangeAssignment_3() throws RecognitionException { + // $ANTLR start "rule__DefaultAssertion__RangeAssignment_2_1" + // InternalSolverLanguageParser.g:10861:1: rule__DefaultAssertion__RangeAssignment_2_1 : ( ruleExpression ) ; + public final void rule__DefaultAssertion__RangeAssignment_2_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:9358:1: ( ( ruleExpression ) ) - // InternalSolverLanguageParser.g:9359:2: ( ruleExpression ) + // InternalSolverLanguageParser.g:10865:1: ( ( ruleExpression ) ) + // InternalSolverLanguageParser.g:10866:2: ( ruleExpression ) { - // InternalSolverLanguageParser.g:9359:2: ( ruleExpression ) - // InternalSolverLanguageParser.g:9360:3: ruleExpression + // InternalSolverLanguageParser.g:10866:2: ( ruleExpression ) + // InternalSolverLanguageParser.g:10867:3: ruleExpression { - before(grammarAccess.getDefaultDefinitionAccess().getRangeExpressionParserRuleCall_3_0()); + before(grammarAccess.getDefaultAssertionAccess().getRangeExpressionParserRuleCall_2_1_0()); pushFollow(FOLLOW_2); ruleExpression(); state._fsp--; - after(grammarAccess.getDefaultDefinitionAccess().getRangeExpressionParserRuleCall_3_0()); + after(grammarAccess.getDefaultAssertionAccess().getRangeExpressionParserRuleCall_2_1_0()); } @@ -28627,37 +33224,37 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__DefaultDefinition__RangeAssignment_3" + // $ANTLR end "rule__DefaultAssertion__RangeAssignment_2_1" - // $ANTLR start "rule__MetricDefinition__TypeAssignment_0" - // InternalSolverLanguageParser.g:9369:1: rule__MetricDefinition__TypeAssignment_0 : ( ( ruleQualifiedName ) ) ; - public final void rule__MetricDefinition__TypeAssignment_0() throws RecognitionException { + // $ANTLR start "rule__FunctionDefinition__ResultTypeAssignment_0" + // InternalSolverLanguageParser.g:10876:1: rule__FunctionDefinition__ResultTypeAssignment_0 : ( ( ruleQualifiedName ) ) ; + public final void rule__FunctionDefinition__ResultTypeAssignment_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:9373:1: ( ( ( ruleQualifiedName ) ) ) - // InternalSolverLanguageParser.g:9374:2: ( ( ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:10880:1: ( ( ( ruleQualifiedName ) ) ) + // InternalSolverLanguageParser.g:10881:2: ( ( ruleQualifiedName ) ) { - // InternalSolverLanguageParser.g:9374:2: ( ( ruleQualifiedName ) ) - // InternalSolverLanguageParser.g:9375:3: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:10881:2: ( ( ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:10882:3: ( ruleQualifiedName ) { - before(grammarAccess.getMetricDefinitionAccess().getTypeNamedElementCrossReference_0_0()); - // InternalSolverLanguageParser.g:9376:3: ( ruleQualifiedName ) - // InternalSolverLanguageParser.g:9377:4: ruleQualifiedName + before(grammarAccess.getFunctionDefinitionAccess().getResultTypeSymbolCrossReference_0_0()); + // InternalSolverLanguageParser.g:10883:3: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:10884:4: ruleQualifiedName { - before(grammarAccess.getMetricDefinitionAccess().getTypeNamedElementQualifiedNameParserRuleCall_0_0_1()); + before(grammarAccess.getFunctionDefinitionAccess().getResultTypeSymbolQualifiedNameParserRuleCall_0_0_1()); pushFollow(FOLLOW_2); ruleQualifiedName(); state._fsp--; - after(grammarAccess.getMetricDefinitionAccess().getTypeNamedElementQualifiedNameParserRuleCall_0_0_1()); + after(grammarAccess.getFunctionDefinitionAccess().getResultTypeSymbolQualifiedNameParserRuleCall_0_0_1()); } - after(grammarAccess.getMetricDefinitionAccess().getTypeNamedElementCrossReference_0_0()); + after(grammarAccess.getFunctionDefinitionAccess().getResultTypeSymbolCrossReference_0_0()); } @@ -28676,29 +33273,119 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__MetricDefinition__TypeAssignment_0" + // $ANTLR end "rule__FunctionDefinition__ResultTypeAssignment_0" - // $ANTLR start "rule__MetricDefinition__HeadAssignment_1" - // InternalSolverLanguageParser.g:9388:1: rule__MetricDefinition__HeadAssignment_1 : ( ruleCall ) ; - public final void rule__MetricDefinition__HeadAssignment_1() throws RecognitionException { + // $ANTLR start "rule__FunctionDefinition__HeadAssignment_1" + // InternalSolverLanguageParser.g:10895:1: rule__FunctionDefinition__HeadAssignment_1 : ( ruleCall ) ; + public final void rule__FunctionDefinition__HeadAssignment_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:9392:1: ( ( ruleCall ) ) - // InternalSolverLanguageParser.g:9393:2: ( ruleCall ) + // InternalSolverLanguageParser.g:10899:1: ( ( ruleCall ) ) + // InternalSolverLanguageParser.g:10900:2: ( ruleCall ) { - // InternalSolverLanguageParser.g:9393:2: ( ruleCall ) - // InternalSolverLanguageParser.g:9394:3: ruleCall + // InternalSolverLanguageParser.g:10900:2: ( ruleCall ) + // InternalSolverLanguageParser.g:10901:3: ruleCall { - before(grammarAccess.getMetricDefinitionAccess().getHeadCallParserRuleCall_1_0()); + before(grammarAccess.getFunctionDefinitionAccess().getHeadCallParserRuleCall_1_0()); pushFollow(FOLLOW_2); ruleCall(); - state._fsp--; + state._fsp--; + + after(grammarAccess.getFunctionDefinitionAccess().getHeadCallParserRuleCall_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__FunctionDefinition__HeadAssignment_1" + + + // $ANTLR start "rule__FunctionDefinition__BodyAssignment_3" + // InternalSolverLanguageParser.g:10910:1: rule__FunctionDefinition__BodyAssignment_3 : ( ruleExpression ) ; + public final void rule__FunctionDefinition__BodyAssignment_3() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:10914:1: ( ( ruleExpression ) ) + // InternalSolverLanguageParser.g:10915:2: ( ruleExpression ) + { + // InternalSolverLanguageParser.g:10915:2: ( ruleExpression ) + // InternalSolverLanguageParser.g:10916:3: ruleExpression + { + before(grammarAccess.getFunctionDefinitionAccess().getBodyExpressionParserRuleCall_3_0()); + pushFollow(FOLLOW_2); + ruleExpression(); + + state._fsp--; + + after(grammarAccess.getFunctionDefinitionAccess().getBodyExpressionParserRuleCall_3_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__FunctionDefinition__BodyAssignment_3" + + + // $ANTLR start "rule__TypeReference__TypeAssignment_0" + // InternalSolverLanguageParser.g:10925:1: rule__TypeReference__TypeAssignment_0 : ( ( ruleQualifiedName ) ) ; + public final void rule__TypeReference__TypeAssignment_0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:10929:1: ( ( ( ruleQualifiedName ) ) ) + // InternalSolverLanguageParser.g:10930:2: ( ( ruleQualifiedName ) ) + { + // InternalSolverLanguageParser.g:10930:2: ( ( ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:10931:3: ( ruleQualifiedName ) + { + before(grammarAccess.getTypeReferenceAccess().getTypeSymbolCrossReference_0_0()); + // InternalSolverLanguageParser.g:10932:3: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:10933:4: ruleQualifiedName + { + before(grammarAccess.getTypeReferenceAccess().getTypeSymbolQualifiedNameParserRuleCall_0_0_1()); + pushFollow(FOLLOW_2); + ruleQualifiedName(); + + state._fsp--; + + after(grammarAccess.getTypeReferenceAccess().getTypeSymbolQualifiedNameParserRuleCall_0_0_1()); + + } - after(grammarAccess.getMetricDefinitionAccess().getHeadCallParserRuleCall_1_0()); + after(grammarAccess.getTypeReferenceAccess().getTypeSymbolCrossReference_0_0()); } @@ -28717,29 +33404,33 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__MetricDefinition__HeadAssignment_1" + // $ANTLR end "rule__TypeReference__TypeAssignment_0" - // $ANTLR start "rule__MetricDefinition__BodyAssignment_3" - // InternalSolverLanguageParser.g:9403:1: rule__MetricDefinition__BodyAssignment_3 : ( ruleExpression ) ; - public final void rule__MetricDefinition__BodyAssignment_3() throws RecognitionException { + // $ANTLR start "rule__TypeReference__ForceObjectTypeAssignment_1" + // InternalSolverLanguageParser.g:10944:1: rule__TypeReference__ForceObjectTypeAssignment_1 : ( ( Object ) ) ; + public final void rule__TypeReference__ForceObjectTypeAssignment_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:9407:1: ( ( ruleExpression ) ) - // InternalSolverLanguageParser.g:9408:2: ( ruleExpression ) + // InternalSolverLanguageParser.g:10948:1: ( ( ( Object ) ) ) + // InternalSolverLanguageParser.g:10949:2: ( ( Object ) ) { - // InternalSolverLanguageParser.g:9408:2: ( ruleExpression ) - // InternalSolverLanguageParser.g:9409:3: ruleExpression + // InternalSolverLanguageParser.g:10949:2: ( ( Object ) ) + // InternalSolverLanguageParser.g:10950:3: ( Object ) { - before(grammarAccess.getMetricDefinitionAccess().getBodyExpressionParserRuleCall_3_0()); - pushFollow(FOLLOW_2); - ruleExpression(); + before(grammarAccess.getTypeReferenceAccess().getForceObjectTypeObjectKeyword_1_0()); + // InternalSolverLanguageParser.g:10951:3: ( Object ) + // InternalSolverLanguageParser.g:10952:4: Object + { + before(grammarAccess.getTypeReferenceAccess().getForceObjectTypeObjectKeyword_1_0()); + match(input,Object,FOLLOW_2); + after(grammarAccess.getTypeReferenceAccess().getForceObjectTypeObjectKeyword_1_0()); - state._fsp--; + } - after(grammarAccess.getMetricDefinitionAccess().getBodyExpressionParserRuleCall_3_0()); + after(grammarAccess.getTypeReferenceAccess().getForceObjectTypeObjectKeyword_1_0()); } @@ -28758,29 +33449,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__MetricDefinition__BodyAssignment_3" + // $ANTLR end "rule__TypeReference__ForceObjectTypeAssignment_1" - // $ANTLR start "rule__ExternPredicateDefinition__NameAssignment_1" - // InternalSolverLanguageParser.g:9418:1: rule__ExternPredicateDefinition__NameAssignment_1 : ( ruleQualifiedName ) ; - public final void rule__ExternPredicateDefinition__NameAssignment_1() throws RecognitionException { + // $ANTLR start "rule__Attribute__KindAssignment_0" + // InternalSolverLanguageParser.g:10963:1: rule__Attribute__KindAssignment_0 : ( ruleAttributeKind ) ; + public final void rule__Attribute__KindAssignment_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:9422:1: ( ( ruleQualifiedName ) ) - // InternalSolverLanguageParser.g:9423:2: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:10967:1: ( ( ruleAttributeKind ) ) + // InternalSolverLanguageParser.g:10968:2: ( ruleAttributeKind ) { - // InternalSolverLanguageParser.g:9423:2: ( ruleQualifiedName ) - // InternalSolverLanguageParser.g:9424:3: ruleQualifiedName + // InternalSolverLanguageParser.g:10968:2: ( ruleAttributeKind ) + // InternalSolverLanguageParser.g:10969:3: ruleAttributeKind { - before(grammarAccess.getExternPredicateDefinitionAccess().getNameQualifiedNameParserRuleCall_1_0()); + before(grammarAccess.getAttributeAccess().getKindAttributeKindEnumRuleCall_0_0()); pushFollow(FOLLOW_2); - ruleQualifiedName(); + ruleAttributeKind(); state._fsp--; - after(grammarAccess.getExternPredicateDefinitionAccess().getNameQualifiedNameParserRuleCall_1_0()); + after(grammarAccess.getAttributeAccess().getKindAttributeKindEnumRuleCall_0_0()); } @@ -28799,29 +33490,37 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ExternPredicateDefinition__NameAssignment_1" + // $ANTLR end "rule__Attribute__KindAssignment_0" - // $ANTLR start "rule__ExternPredicateDefinition__ArgumentListAssignment_2" - // InternalSolverLanguageParser.g:9433:1: rule__ExternPredicateDefinition__ArgumentListAssignment_2 : ( ruleArgumentList ) ; - public final void rule__ExternPredicateDefinition__ArgumentListAssignment_2() throws RecognitionException { + // $ANTLR start "rule__Attribute__TargetAssignment_1" + // InternalSolverLanguageParser.g:10978:1: rule__Attribute__TargetAssignment_1 : ( ( ruleQualifiedName ) ) ; + public final void rule__Attribute__TargetAssignment_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:9437:1: ( ( ruleArgumentList ) ) - // InternalSolverLanguageParser.g:9438:2: ( ruleArgumentList ) + // InternalSolverLanguageParser.g:10982:1: ( ( ( ruleQualifiedName ) ) ) + // InternalSolverLanguageParser.g:10983:2: ( ( ruleQualifiedName ) ) { - // InternalSolverLanguageParser.g:9438:2: ( ruleArgumentList ) - // InternalSolverLanguageParser.g:9439:3: ruleArgumentList + // InternalSolverLanguageParser.g:10983:2: ( ( ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:10984:3: ( ruleQualifiedName ) { - before(grammarAccess.getExternPredicateDefinitionAccess().getArgumentListArgumentListParserRuleCall_2_0()); + before(grammarAccess.getAttributeAccess().getTargetSymbolCrossReference_1_0()); + // InternalSolverLanguageParser.g:10985:3: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:10986:4: ruleQualifiedName + { + before(grammarAccess.getAttributeAccess().getTargetSymbolQualifiedNameParserRuleCall_1_0_1()); pushFollow(FOLLOW_2); - ruleArgumentList(); + ruleQualifiedName(); state._fsp--; - after(grammarAccess.getExternPredicateDefinitionAccess().getArgumentListArgumentListParserRuleCall_2_0()); + after(grammarAccess.getAttributeAccess().getTargetSymbolQualifiedNameParserRuleCall_1_0_1()); + + } + + after(grammarAccess.getAttributeAccess().getTargetSymbolCrossReference_1_0()); } @@ -28840,37 +33539,33 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ExternPredicateDefinition__ArgumentListAssignment_2" + // $ANTLR end "rule__Attribute__TargetAssignment_1" - // $ANTLR start "rule__ExternMetricDefinition__TypeAssignment_1" - // InternalSolverLanguageParser.g:9448:1: rule__ExternMetricDefinition__TypeAssignment_1 : ( ( ruleQualifiedName ) ) ; - public final void rule__ExternMetricDefinition__TypeAssignment_1() throws RecognitionException { + // $ANTLR start "rule__ExternPredicateDeclaration__FunctionalAssignment_1_0" + // InternalSolverLanguageParser.g:10997:1: rule__ExternPredicateDeclaration__FunctionalAssignment_1_0 : ( ( Functional ) ) ; + public final void rule__ExternPredicateDeclaration__FunctionalAssignment_1_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:9452:1: ( ( ( ruleQualifiedName ) ) ) - // InternalSolverLanguageParser.g:9453:2: ( ( ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:11001:1: ( ( ( Functional ) ) ) + // InternalSolverLanguageParser.g:11002:2: ( ( Functional ) ) { - // InternalSolverLanguageParser.g:9453:2: ( ( ruleQualifiedName ) ) - // InternalSolverLanguageParser.g:9454:3: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:11002:2: ( ( Functional ) ) + // InternalSolverLanguageParser.g:11003:3: ( Functional ) { - before(grammarAccess.getExternMetricDefinitionAccess().getTypeNamedElementCrossReference_1_0()); - // InternalSolverLanguageParser.g:9455:3: ( ruleQualifiedName ) - // InternalSolverLanguageParser.g:9456:4: ruleQualifiedName + before(grammarAccess.getExternPredicateDeclarationAccess().getFunctionalFunctionalKeyword_1_0_0()); + // InternalSolverLanguageParser.g:11004:3: ( Functional ) + // InternalSolverLanguageParser.g:11005:4: Functional { - before(grammarAccess.getExternMetricDefinitionAccess().getTypeNamedElementQualifiedNameParserRuleCall_1_0_1()); - pushFollow(FOLLOW_2); - ruleQualifiedName(); - - state._fsp--; - - after(grammarAccess.getExternMetricDefinitionAccess().getTypeNamedElementQualifiedNameParserRuleCall_1_0_1()); + before(grammarAccess.getExternPredicateDeclarationAccess().getFunctionalFunctionalKeyword_1_0_0()); + match(input,Functional,FOLLOW_2); + after(grammarAccess.getExternPredicateDeclarationAccess().getFunctionalFunctionalKeyword_1_0_0()); } - after(grammarAccess.getExternMetricDefinitionAccess().getTypeNamedElementCrossReference_1_0()); + after(grammarAccess.getExternPredicateDeclarationAccess().getFunctionalFunctionalKeyword_1_0_0()); } @@ -28889,29 +33584,33 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ExternMetricDefinition__TypeAssignment_1" + // $ANTLR end "rule__ExternPredicateDeclaration__FunctionalAssignment_1_0" - // $ANTLR start "rule__ExternMetricDefinition__NameAssignment_2" - // InternalSolverLanguageParser.g:9467:1: rule__ExternMetricDefinition__NameAssignment_2 : ( ruleQualifiedName ) ; - public final void rule__ExternMetricDefinition__NameAssignment_2() throws RecognitionException { + // $ANTLR start "rule__ExternPredicateDeclaration__ErrorAssignment_1_1" + // InternalSolverLanguageParser.g:11016:1: rule__ExternPredicateDeclaration__ErrorAssignment_1_1 : ( ( Error ) ) ; + public final void rule__ExternPredicateDeclaration__ErrorAssignment_1_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:9471:1: ( ( ruleQualifiedName ) ) - // InternalSolverLanguageParser.g:9472:2: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:11020:1: ( ( ( Error ) ) ) + // InternalSolverLanguageParser.g:11021:2: ( ( Error ) ) { - // InternalSolverLanguageParser.g:9472:2: ( ruleQualifiedName ) - // InternalSolverLanguageParser.g:9473:3: ruleQualifiedName + // InternalSolverLanguageParser.g:11021:2: ( ( Error ) ) + // InternalSolverLanguageParser.g:11022:3: ( Error ) { - before(grammarAccess.getExternMetricDefinitionAccess().getNameQualifiedNameParserRuleCall_2_0()); - pushFollow(FOLLOW_2); - ruleQualifiedName(); + before(grammarAccess.getExternPredicateDeclarationAccess().getErrorErrorKeyword_1_1_0()); + // InternalSolverLanguageParser.g:11023:3: ( Error ) + // InternalSolverLanguageParser.g:11024:4: Error + { + before(grammarAccess.getExternPredicateDeclarationAccess().getErrorErrorKeyword_1_1_0()); + match(input,Error,FOLLOW_2); + after(grammarAccess.getExternPredicateDeclarationAccess().getErrorErrorKeyword_1_1_0()); - state._fsp--; + } - after(grammarAccess.getExternMetricDefinitionAccess().getNameQualifiedNameParserRuleCall_2_0()); + after(grammarAccess.getExternPredicateDeclarationAccess().getErrorErrorKeyword_1_1_0()); } @@ -28930,29 +33629,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ExternMetricDefinition__NameAssignment_2" + // $ANTLR end "rule__ExternPredicateDeclaration__ErrorAssignment_1_1" - // $ANTLR start "rule__ExternMetricDefinition__ArgumentListAssignment_3" - // InternalSolverLanguageParser.g:9482:1: rule__ExternMetricDefinition__ArgumentListAssignment_3 : ( ruleArgumentList ) ; - public final void rule__ExternMetricDefinition__ArgumentListAssignment_3() throws RecognitionException { + // $ANTLR start "rule__ExternPredicateDeclaration__NameAssignment_2" + // InternalSolverLanguageParser.g:11035:1: rule__ExternPredicateDeclaration__NameAssignment_2 : ( ruleQualifiedName ) ; + public final void rule__ExternPredicateDeclaration__NameAssignment_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:9486:1: ( ( ruleArgumentList ) ) - // InternalSolverLanguageParser.g:9487:2: ( ruleArgumentList ) + // InternalSolverLanguageParser.g:11039:1: ( ( ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:11040:2: ( ruleQualifiedName ) { - // InternalSolverLanguageParser.g:9487:2: ( ruleArgumentList ) - // InternalSolverLanguageParser.g:9488:3: ruleArgumentList + // InternalSolverLanguageParser.g:11040:2: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:11041:3: ruleQualifiedName { - before(grammarAccess.getExternMetricDefinitionAccess().getArgumentListArgumentListParserRuleCall_3_0()); + before(grammarAccess.getExternPredicateDeclarationAccess().getNameQualifiedNameParserRuleCall_2_0()); pushFollow(FOLLOW_2); - ruleArgumentList(); + ruleQualifiedName(); state._fsp--; - after(grammarAccess.getExternMetricDefinitionAccess().getArgumentListArgumentListParserRuleCall_3_0()); + after(grammarAccess.getExternPredicateDeclarationAccess().getNameQualifiedNameParserRuleCall_2_0()); } @@ -28971,37 +33670,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ExternMetricDefinition__ArgumentListAssignment_3" + // $ANTLR end "rule__ExternPredicateDeclaration__NameAssignment_2" - // $ANTLR start "rule__ExternAggregatorDefinition__TypeAssignment_1" - // InternalSolverLanguageParser.g:9497:1: rule__ExternAggregatorDefinition__TypeAssignment_1 : ( ( ruleQualifiedName ) ) ; - public final void rule__ExternAggregatorDefinition__TypeAssignment_1() throws RecognitionException { + // $ANTLR start "rule__ExternPredicateDeclaration__ArgumentListAssignment_3" + // InternalSolverLanguageParser.g:11050:1: rule__ExternPredicateDeclaration__ArgumentListAssignment_3 : ( ruleArgumentList ) ; + public final void rule__ExternPredicateDeclaration__ArgumentListAssignment_3() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:9501:1: ( ( ( ruleQualifiedName ) ) ) - // InternalSolverLanguageParser.g:9502:2: ( ( ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:11054:1: ( ( ruleArgumentList ) ) + // InternalSolverLanguageParser.g:11055:2: ( ruleArgumentList ) { - // InternalSolverLanguageParser.g:9502:2: ( ( ruleQualifiedName ) ) - // InternalSolverLanguageParser.g:9503:3: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:11055:2: ( ruleArgumentList ) + // InternalSolverLanguageParser.g:11056:3: ruleArgumentList { - before(grammarAccess.getExternAggregatorDefinitionAccess().getTypeNamedElementCrossReference_1_0()); - // InternalSolverLanguageParser.g:9504:3: ( ruleQualifiedName ) - // InternalSolverLanguageParser.g:9505:4: ruleQualifiedName - { - before(grammarAccess.getExternAggregatorDefinitionAccess().getTypeNamedElementQualifiedNameParserRuleCall_1_0_1()); + before(grammarAccess.getExternPredicateDeclarationAccess().getArgumentListArgumentListParserRuleCall_3_0()); pushFollow(FOLLOW_2); - ruleQualifiedName(); + ruleArgumentList(); state._fsp--; - after(grammarAccess.getExternAggregatorDefinitionAccess().getTypeNamedElementQualifiedNameParserRuleCall_1_0_1()); - - } - - after(grammarAccess.getExternAggregatorDefinitionAccess().getTypeNamedElementCrossReference_1_0()); + after(grammarAccess.getExternPredicateDeclarationAccess().getArgumentListArgumentListParserRuleCall_3_0()); } @@ -29020,29 +33711,37 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ExternAggregatorDefinition__TypeAssignment_1" + // $ANTLR end "rule__ExternPredicateDeclaration__ArgumentListAssignment_3" - // $ANTLR start "rule__ExternAggregatorDefinition__NameAssignment_2" - // InternalSolverLanguageParser.g:9516:1: rule__ExternAggregatorDefinition__NameAssignment_2 : ( ruleQualifiedName ) ; - public final void rule__ExternAggregatorDefinition__NameAssignment_2() throws RecognitionException { + // $ANTLR start "rule__ExternFunctionDeclaration__ResultTypeAssignment_1" + // InternalSolverLanguageParser.g:11065:1: rule__ExternFunctionDeclaration__ResultTypeAssignment_1 : ( ( ruleQualifiedName ) ) ; + public final void rule__ExternFunctionDeclaration__ResultTypeAssignment_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:9520:1: ( ( ruleQualifiedName ) ) - // InternalSolverLanguageParser.g:9521:2: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:11069:1: ( ( ( ruleQualifiedName ) ) ) + // InternalSolverLanguageParser.g:11070:2: ( ( ruleQualifiedName ) ) { - // InternalSolverLanguageParser.g:9521:2: ( ruleQualifiedName ) - // InternalSolverLanguageParser.g:9522:3: ruleQualifiedName + // InternalSolverLanguageParser.g:11070:2: ( ( ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:11071:3: ( ruleQualifiedName ) { - before(grammarAccess.getExternAggregatorDefinitionAccess().getNameQualifiedNameParserRuleCall_2_0()); + before(grammarAccess.getExternFunctionDeclarationAccess().getResultTypeSymbolCrossReference_1_0()); + // InternalSolverLanguageParser.g:11072:3: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:11073:4: ruleQualifiedName + { + before(grammarAccess.getExternFunctionDeclarationAccess().getResultTypeSymbolQualifiedNameParserRuleCall_1_0_1()); pushFollow(FOLLOW_2); ruleQualifiedName(); state._fsp--; - after(grammarAccess.getExternAggregatorDefinitionAccess().getNameQualifiedNameParserRuleCall_2_0()); + after(grammarAccess.getExternFunctionDeclarationAccess().getResultTypeSymbolQualifiedNameParserRuleCall_1_0_1()); + + } + + after(grammarAccess.getExternFunctionDeclarationAccess().getResultTypeSymbolCrossReference_1_0()); } @@ -29061,37 +33760,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ExternAggregatorDefinition__NameAssignment_2" + // $ANTLR end "rule__ExternFunctionDeclaration__ResultTypeAssignment_1" - // $ANTLR start "rule__ExternAggregatorDefinition__InputTypeAssignment_4" - // InternalSolverLanguageParser.g:9531:1: rule__ExternAggregatorDefinition__InputTypeAssignment_4 : ( ( ruleQualifiedName ) ) ; - public final void rule__ExternAggregatorDefinition__InputTypeAssignment_4() throws RecognitionException { + // $ANTLR start "rule__ExternFunctionDeclaration__NameAssignment_2" + // InternalSolverLanguageParser.g:11084:1: rule__ExternFunctionDeclaration__NameAssignment_2 : ( ruleQualifiedName ) ; + public final void rule__ExternFunctionDeclaration__NameAssignment_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:9535:1: ( ( ( ruleQualifiedName ) ) ) - // InternalSolverLanguageParser.g:9536:2: ( ( ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:11088:1: ( ( ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:11089:2: ( ruleQualifiedName ) { - // InternalSolverLanguageParser.g:9536:2: ( ( ruleQualifiedName ) ) - // InternalSolverLanguageParser.g:9537:3: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:11089:2: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:11090:3: ruleQualifiedName { - before(grammarAccess.getExternAggregatorDefinitionAccess().getInputTypeNamedElementCrossReference_4_0()); - // InternalSolverLanguageParser.g:9538:3: ( ruleQualifiedName ) - // InternalSolverLanguageParser.g:9539:4: ruleQualifiedName - { - before(grammarAccess.getExternAggregatorDefinitionAccess().getInputTypeNamedElementQualifiedNameParserRuleCall_4_0_1()); + before(grammarAccess.getExternFunctionDeclarationAccess().getNameQualifiedNameParserRuleCall_2_0()); pushFollow(FOLLOW_2); ruleQualifiedName(); state._fsp--; - after(grammarAccess.getExternAggregatorDefinitionAccess().getInputTypeNamedElementQualifiedNameParserRuleCall_4_0_1()); - - } - - after(grammarAccess.getExternAggregatorDefinitionAccess().getInputTypeNamedElementCrossReference_4_0()); + after(grammarAccess.getExternFunctionDeclarationAccess().getNameQualifiedNameParserRuleCall_2_0()); } @@ -29110,29 +33801,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ExternAggregatorDefinition__InputTypeAssignment_4" + // $ANTLR end "rule__ExternFunctionDeclaration__NameAssignment_2" - // $ANTLR start "rule__ExternDatatypeDefinition__NameAssignment_2" - // InternalSolverLanguageParser.g:9550:1: rule__ExternDatatypeDefinition__NameAssignment_2 : ( ruleQualifiedName ) ; - public final void rule__ExternDatatypeDefinition__NameAssignment_2() throws RecognitionException { + // $ANTLR start "rule__ExternFunctionDeclaration__ArgumentListAssignment_3" + // InternalSolverLanguageParser.g:11099:1: rule__ExternFunctionDeclaration__ArgumentListAssignment_3 : ( ruleArgumentList ) ; + public final void rule__ExternFunctionDeclaration__ArgumentListAssignment_3() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:9554:1: ( ( ruleQualifiedName ) ) - // InternalSolverLanguageParser.g:9555:2: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:11103:1: ( ( ruleArgumentList ) ) + // InternalSolverLanguageParser.g:11104:2: ( ruleArgumentList ) { - // InternalSolverLanguageParser.g:9555:2: ( ruleQualifiedName ) - // InternalSolverLanguageParser.g:9556:3: ruleQualifiedName + // InternalSolverLanguageParser.g:11104:2: ( ruleArgumentList ) + // InternalSolverLanguageParser.g:11105:3: ruleArgumentList { - before(grammarAccess.getExternDatatypeDefinitionAccess().getNameQualifiedNameParserRuleCall_2_0()); + before(grammarAccess.getExternFunctionDeclarationAccess().getArgumentListArgumentListParserRuleCall_3_0()); pushFollow(FOLLOW_2); - ruleQualifiedName(); + ruleArgumentList(); state._fsp--; - after(grammarAccess.getExternDatatypeDefinitionAccess().getNameQualifiedNameParserRuleCall_2_0()); + after(grammarAccess.getExternFunctionDeclarationAccess().getArgumentListArgumentListParserRuleCall_3_0()); } @@ -29151,37 +33842,37 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ExternDatatypeDefinition__NameAssignment_2" + // $ANTLR end "rule__ExternFunctionDeclaration__ArgumentListAssignment_3" - // $ANTLR start "rule__ExternDatatypeDefinition__SupertypesAssignment_3_1" - // InternalSolverLanguageParser.g:9565:1: rule__ExternDatatypeDefinition__SupertypesAssignment_3_1 : ( ( ruleQualifiedName ) ) ; - public final void rule__ExternDatatypeDefinition__SupertypesAssignment_3_1() throws RecognitionException { + // $ANTLR start "rule__ExternAggregationOperatorDeclaration__ResultTypeAssignment_1" + // InternalSolverLanguageParser.g:11114:1: rule__ExternAggregationOperatorDeclaration__ResultTypeAssignment_1 : ( ( ruleQualifiedName ) ) ; + public final void rule__ExternAggregationOperatorDeclaration__ResultTypeAssignment_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:9569:1: ( ( ( ruleQualifiedName ) ) ) - // InternalSolverLanguageParser.g:9570:2: ( ( ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:11118:1: ( ( ( ruleQualifiedName ) ) ) + // InternalSolverLanguageParser.g:11119:2: ( ( ruleQualifiedName ) ) { - // InternalSolverLanguageParser.g:9570:2: ( ( ruleQualifiedName ) ) - // InternalSolverLanguageParser.g:9571:3: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:11119:2: ( ( ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:11120:3: ( ruleQualifiedName ) { - before(grammarAccess.getExternDatatypeDefinitionAccess().getSupertypesNamedElementCrossReference_3_1_0()); - // InternalSolverLanguageParser.g:9572:3: ( ruleQualifiedName ) - // InternalSolverLanguageParser.g:9573:4: ruleQualifiedName + before(grammarAccess.getExternAggregationOperatorDeclarationAccess().getResultTypeSymbolCrossReference_1_0()); + // InternalSolverLanguageParser.g:11121:3: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:11122:4: ruleQualifiedName { - before(grammarAccess.getExternDatatypeDefinitionAccess().getSupertypesNamedElementQualifiedNameParserRuleCall_3_1_0_1()); + before(grammarAccess.getExternAggregationOperatorDeclarationAccess().getResultTypeSymbolQualifiedNameParserRuleCall_1_0_1()); pushFollow(FOLLOW_2); ruleQualifiedName(); state._fsp--; - after(grammarAccess.getExternDatatypeDefinitionAccess().getSupertypesNamedElementQualifiedNameParserRuleCall_3_1_0_1()); + after(grammarAccess.getExternAggregationOperatorDeclarationAccess().getResultTypeSymbolQualifiedNameParserRuleCall_1_0_1()); } - after(grammarAccess.getExternDatatypeDefinitionAccess().getSupertypesNamedElementCrossReference_3_1_0()); + after(grammarAccess.getExternAggregationOperatorDeclarationAccess().getResultTypeSymbolCrossReference_1_0()); } @@ -29200,37 +33891,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ExternDatatypeDefinition__SupertypesAssignment_3_1" + // $ANTLR end "rule__ExternAggregationOperatorDeclaration__ResultTypeAssignment_1" - // $ANTLR start "rule__ExternDatatypeDefinition__SupertypesAssignment_3_2_1" - // InternalSolverLanguageParser.g:9584:1: rule__ExternDatatypeDefinition__SupertypesAssignment_3_2_1 : ( ( ruleQualifiedName ) ) ; - public final void rule__ExternDatatypeDefinition__SupertypesAssignment_3_2_1() throws RecognitionException { + // $ANTLR start "rule__ExternAggregationOperatorDeclaration__NameAssignment_2" + // InternalSolverLanguageParser.g:11133:1: rule__ExternAggregationOperatorDeclaration__NameAssignment_2 : ( ruleQualifiedName ) ; + public final void rule__ExternAggregationOperatorDeclaration__NameAssignment_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:9588:1: ( ( ( ruleQualifiedName ) ) ) - // InternalSolverLanguageParser.g:9589:2: ( ( ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:11137:1: ( ( ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:11138:2: ( ruleQualifiedName ) { - // InternalSolverLanguageParser.g:9589:2: ( ( ruleQualifiedName ) ) - // InternalSolverLanguageParser.g:9590:3: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:11138:2: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:11139:3: ruleQualifiedName { - before(grammarAccess.getExternDatatypeDefinitionAccess().getSupertypesNamedElementCrossReference_3_2_1_0()); - // InternalSolverLanguageParser.g:9591:3: ( ruleQualifiedName ) - // InternalSolverLanguageParser.g:9592:4: ruleQualifiedName - { - before(grammarAccess.getExternDatatypeDefinitionAccess().getSupertypesNamedElementQualifiedNameParserRuleCall_3_2_1_0_1()); + before(grammarAccess.getExternAggregationOperatorDeclarationAccess().getNameQualifiedNameParserRuleCall_2_0()); pushFollow(FOLLOW_2); ruleQualifiedName(); state._fsp--; - after(grammarAccess.getExternDatatypeDefinitionAccess().getSupertypesNamedElementQualifiedNameParserRuleCall_3_2_1_0_1()); - - } - - after(grammarAccess.getExternDatatypeDefinitionAccess().getSupertypesNamedElementCrossReference_3_2_1_0()); + after(grammarAccess.getExternAggregationOperatorDeclarationAccess().getNameQualifiedNameParserRuleCall_2_0()); } @@ -29249,37 +33932,37 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ExternDatatypeDefinition__SupertypesAssignment_3_2_1" + // $ANTLR end "rule__ExternAggregationOperatorDeclaration__NameAssignment_2" - // $ANTLR start "rule__Variable__TypeAssignment_0" - // InternalSolverLanguageParser.g:9603:1: rule__Variable__TypeAssignment_0 : ( ( ruleQualifiedName ) ) ; - public final void rule__Variable__TypeAssignment_0() throws RecognitionException { + // $ANTLR start "rule__ExternAggregationOperatorDeclaration__ArgumentTypeAssignment_4" + // InternalSolverLanguageParser.g:11148:1: rule__ExternAggregationOperatorDeclaration__ArgumentTypeAssignment_4 : ( ( ruleQualifiedName ) ) ; + public final void rule__ExternAggregationOperatorDeclaration__ArgumentTypeAssignment_4() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:9607:1: ( ( ( ruleQualifiedName ) ) ) - // InternalSolverLanguageParser.g:9608:2: ( ( ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:11152:1: ( ( ( ruleQualifiedName ) ) ) + // InternalSolverLanguageParser.g:11153:2: ( ( ruleQualifiedName ) ) { - // InternalSolverLanguageParser.g:9608:2: ( ( ruleQualifiedName ) ) - // InternalSolverLanguageParser.g:9609:3: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:11153:2: ( ( ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:11154:3: ( ruleQualifiedName ) { - before(grammarAccess.getVariableAccess().getTypeNamedElementCrossReference_0_0()); - // InternalSolverLanguageParser.g:9610:3: ( ruleQualifiedName ) - // InternalSolverLanguageParser.g:9611:4: ruleQualifiedName + before(grammarAccess.getExternAggregationOperatorDeclarationAccess().getArgumentTypeSymbolCrossReference_4_0()); + // InternalSolverLanguageParser.g:11155:3: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:11156:4: ruleQualifiedName { - before(grammarAccess.getVariableAccess().getTypeNamedElementQualifiedNameParserRuleCall_0_0_1()); + before(grammarAccess.getExternAggregationOperatorDeclarationAccess().getArgumentTypeSymbolQualifiedNameParserRuleCall_4_0_1()); pushFollow(FOLLOW_2); ruleQualifiedName(); state._fsp--; - after(grammarAccess.getVariableAccess().getTypeNamedElementQualifiedNameParserRuleCall_0_0_1()); + after(grammarAccess.getExternAggregationOperatorDeclarationAccess().getArgumentTypeSymbolQualifiedNameParserRuleCall_4_0_1()); } - after(grammarAccess.getVariableAccess().getTypeNamedElementCrossReference_0_0()); + after(grammarAccess.getExternAggregationOperatorDeclarationAccess().getArgumentTypeSymbolCrossReference_4_0()); } @@ -29298,25 +33981,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Variable__TypeAssignment_0" + // $ANTLR end "rule__ExternAggregationOperatorDeclaration__ArgumentTypeAssignment_4" - // $ANTLR start "rule__Variable__NameAssignment_1" - // InternalSolverLanguageParser.g:9622:1: rule__Variable__NameAssignment_1 : ( RULE_ID ) ; - public final void rule__Variable__NameAssignment_1() throws RecognitionException { + // $ANTLR start "rule__ExternDatatypeDeclaration__NameAssignment_2" + // InternalSolverLanguageParser.g:11167:1: rule__ExternDatatypeDeclaration__NameAssignment_2 : ( ruleQualifiedName ) ; + public final void rule__ExternDatatypeDeclaration__NameAssignment_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:9626:1: ( ( RULE_ID ) ) - // InternalSolverLanguageParser.g:9627:2: ( RULE_ID ) + // InternalSolverLanguageParser.g:11171:1: ( ( ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:11172:2: ( ruleQualifiedName ) { - // InternalSolverLanguageParser.g:9627:2: ( RULE_ID ) - // InternalSolverLanguageParser.g:9628:3: RULE_ID + // InternalSolverLanguageParser.g:11172:2: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:11173:3: ruleQualifiedName { - before(grammarAccess.getVariableAccess().getNameIDTerminalRuleCall_1_0()); - match(input,RULE_ID,FOLLOW_2); - after(grammarAccess.getVariableAccess().getNameIDTerminalRuleCall_1_0()); + before(grammarAccess.getExternDatatypeDeclarationAccess().getNameQualifiedNameParserRuleCall_2_0()); + pushFollow(FOLLOW_2); + ruleQualifiedName(); + + state._fsp--; + + after(grammarAccess.getExternDatatypeDeclarationAccess().getNameQualifiedNameParserRuleCall_2_0()); } @@ -29335,29 +34022,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Variable__NameAssignment_1" + // $ANTLR end "rule__ExternDatatypeDeclaration__NameAssignment_2" - // $ANTLR start "rule__IfElse__ConditionAssignment_1" - // InternalSolverLanguageParser.g:9637:1: rule__IfElse__ConditionAssignment_1 : ( ruleExpression ) ; - public final void rule__IfElse__ConditionAssignment_1() throws RecognitionException { + // $ANTLR start "rule__Expression__BodyAssignment_2_1_2" + // InternalSolverLanguageParser.g:11182:1: rule__Expression__BodyAssignment_2_1_2 : ( ruleDisjunctiveExpression ) ; + public final void rule__Expression__BodyAssignment_2_1_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:9641:1: ( ( ruleExpression ) ) - // InternalSolverLanguageParser.g:9642:2: ( ruleExpression ) + // InternalSolverLanguageParser.g:11186:1: ( ( ruleDisjunctiveExpression ) ) + // InternalSolverLanguageParser.g:11187:2: ( ruleDisjunctiveExpression ) { - // InternalSolverLanguageParser.g:9642:2: ( ruleExpression ) - // InternalSolverLanguageParser.g:9643:3: ruleExpression + // InternalSolverLanguageParser.g:11187:2: ( ruleDisjunctiveExpression ) + // InternalSolverLanguageParser.g:11188:3: ruleDisjunctiveExpression { - before(grammarAccess.getIfElseAccess().getConditionExpressionParserRuleCall_1_0()); + before(grammarAccess.getExpressionAccess().getBodyDisjunctiveExpressionParserRuleCall_2_1_2_0()); pushFollow(FOLLOW_2); - ruleExpression(); + ruleDisjunctiveExpression(); state._fsp--; - after(grammarAccess.getIfElseAccess().getConditionExpressionParserRuleCall_1_0()); + after(grammarAccess.getExpressionAccess().getBodyDisjunctiveExpressionParserRuleCall_2_1_2_0()); } @@ -29376,29 +34063,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__IfElse__ConditionAssignment_1" + // $ANTLR end "rule__Expression__BodyAssignment_2_1_2" - // $ANTLR start "rule__IfElse__ThenAssignment_3" - // InternalSolverLanguageParser.g:9652:1: rule__IfElse__ThenAssignment_3 : ( ruleExpression ) ; - public final void rule__IfElse__ThenAssignment_3() throws RecognitionException { + // $ANTLR start "rule__ConditionalExpression__ConditionAssignment_1" + // InternalSolverLanguageParser.g:11197:1: rule__ConditionalExpression__ConditionAssignment_1 : ( ruleDisjunctiveExpression ) ; + public final void rule__ConditionalExpression__ConditionAssignment_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:9656:1: ( ( ruleExpression ) ) - // InternalSolverLanguageParser.g:9657:2: ( ruleExpression ) + // InternalSolverLanguageParser.g:11201:1: ( ( ruleDisjunctiveExpression ) ) + // InternalSolverLanguageParser.g:11202:2: ( ruleDisjunctiveExpression ) { - // InternalSolverLanguageParser.g:9657:2: ( ruleExpression ) - // InternalSolverLanguageParser.g:9658:3: ruleExpression + // InternalSolverLanguageParser.g:11202:2: ( ruleDisjunctiveExpression ) + // InternalSolverLanguageParser.g:11203:3: ruleDisjunctiveExpression { - before(grammarAccess.getIfElseAccess().getThenExpressionParserRuleCall_3_0()); + before(grammarAccess.getConditionalExpressionAccess().getConditionDisjunctiveExpressionParserRuleCall_1_0()); pushFollow(FOLLOW_2); - ruleExpression(); + ruleDisjunctiveExpression(); state._fsp--; - after(grammarAccess.getIfElseAccess().getThenExpressionParserRuleCall_3_0()); + after(grammarAccess.getConditionalExpressionAccess().getConditionDisjunctiveExpressionParserRuleCall_1_0()); } @@ -29417,29 +34104,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__IfElse__ThenAssignment_3" + // $ANTLR end "rule__ConditionalExpression__ConditionAssignment_1" - // $ANTLR start "rule__IfElse__ElseAssignment_5" - // InternalSolverLanguageParser.g:9667:1: rule__IfElse__ElseAssignment_5 : ( ruleExpression ) ; - public final void rule__IfElse__ElseAssignment_5() throws RecognitionException { + // $ANTLR start "rule__ConditionalExpression__ThenAssignment_3" + // InternalSolverLanguageParser.g:11212:1: rule__ConditionalExpression__ThenAssignment_3 : ( ruleExpression ) ; + public final void rule__ConditionalExpression__ThenAssignment_3() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:9671:1: ( ( ruleExpression ) ) - // InternalSolverLanguageParser.g:9672:2: ( ruleExpression ) + // InternalSolverLanguageParser.g:11216:1: ( ( ruleExpression ) ) + // InternalSolverLanguageParser.g:11217:2: ( ruleExpression ) { - // InternalSolverLanguageParser.g:9672:2: ( ruleExpression ) - // InternalSolverLanguageParser.g:9673:3: ruleExpression + // InternalSolverLanguageParser.g:11217:2: ( ruleExpression ) + // InternalSolverLanguageParser.g:11218:3: ruleExpression { - before(grammarAccess.getIfElseAccess().getElseExpressionParserRuleCall_5_0()); + before(grammarAccess.getConditionalExpressionAccess().getThenExpressionParserRuleCall_3_0()); pushFollow(FOLLOW_2); ruleExpression(); state._fsp--; - after(grammarAccess.getIfElseAccess().getElseExpressionParserRuleCall_5_0()); + after(grammarAccess.getConditionalExpressionAccess().getThenExpressionParserRuleCall_3_0()); } @@ -29458,29 +34145,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__IfElse__ElseAssignment_5" + // $ANTLR end "rule__ConditionalExpression__ThenAssignment_3" - // $ANTLR start "rule__Let__BindingsAssignment_1" - // InternalSolverLanguageParser.g:9682:1: rule__Let__BindingsAssignment_1 : ( ruleLetBinding ) ; - public final void rule__Let__BindingsAssignment_1() throws RecognitionException { + // $ANTLR start "rule__ConditionalExpression__ElseAssignment_5" + // InternalSolverLanguageParser.g:11227:1: rule__ConditionalExpression__ElseAssignment_5 : ( ruleExpression ) ; + public final void rule__ConditionalExpression__ElseAssignment_5() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:9686:1: ( ( ruleLetBinding ) ) - // InternalSolverLanguageParser.g:9687:2: ( ruleLetBinding ) + // InternalSolverLanguageParser.g:11231:1: ( ( ruleExpression ) ) + // InternalSolverLanguageParser.g:11232:2: ( ruleExpression ) { - // InternalSolverLanguageParser.g:9687:2: ( ruleLetBinding ) - // InternalSolverLanguageParser.g:9688:3: ruleLetBinding + // InternalSolverLanguageParser.g:11232:2: ( ruleExpression ) + // InternalSolverLanguageParser.g:11233:3: ruleExpression { - before(grammarAccess.getLetAccess().getBindingsLetBindingParserRuleCall_1_0()); + before(grammarAccess.getConditionalExpressionAccess().getElseExpressionParserRuleCall_5_0()); pushFollow(FOLLOW_2); - ruleLetBinding(); + ruleExpression(); state._fsp--; - after(grammarAccess.getLetAccess().getBindingsLetBindingParserRuleCall_1_0()); + after(grammarAccess.getConditionalExpressionAccess().getElseExpressionParserRuleCall_5_0()); } @@ -29499,29 +34186,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Let__BindingsAssignment_1" + // $ANTLR end "rule__ConditionalExpression__ElseAssignment_5" - // $ANTLR start "rule__Let__BindingsAssignment_2_1" - // InternalSolverLanguageParser.g:9697:1: rule__Let__BindingsAssignment_2_1 : ( ruleLetBinding ) ; - public final void rule__Let__BindingsAssignment_2_1() throws RecognitionException { + // $ANTLR start "rule__LetExpression__BindingsAssignment_1" + // InternalSolverLanguageParser.g:11242:1: rule__LetExpression__BindingsAssignment_1 : ( ruleLetBinding ) ; + public final void rule__LetExpression__BindingsAssignment_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:9701:1: ( ( ruleLetBinding ) ) - // InternalSolverLanguageParser.g:9702:2: ( ruleLetBinding ) + // InternalSolverLanguageParser.g:11246:1: ( ( ruleLetBinding ) ) + // InternalSolverLanguageParser.g:11247:2: ( ruleLetBinding ) { - // InternalSolverLanguageParser.g:9702:2: ( ruleLetBinding ) - // InternalSolverLanguageParser.g:9703:3: ruleLetBinding + // InternalSolverLanguageParser.g:11247:2: ( ruleLetBinding ) + // InternalSolverLanguageParser.g:11248:3: ruleLetBinding { - before(grammarAccess.getLetAccess().getBindingsLetBindingParserRuleCall_2_1_0()); + before(grammarAccess.getLetExpressionAccess().getBindingsLetBindingParserRuleCall_1_0()); pushFollow(FOLLOW_2); ruleLetBinding(); state._fsp--; - after(grammarAccess.getLetAccess().getBindingsLetBindingParserRuleCall_2_1_0()); + after(grammarAccess.getLetExpressionAccess().getBindingsLetBindingParserRuleCall_1_0()); } @@ -29540,29 +34227,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Let__BindingsAssignment_2_1" + // $ANTLR end "rule__LetExpression__BindingsAssignment_1" - // $ANTLR start "rule__Let__BodyAssignment_4" - // InternalSolverLanguageParser.g:9712:1: rule__Let__BodyAssignment_4 : ( ruleExpression ) ; - public final void rule__Let__BodyAssignment_4() throws RecognitionException { + // $ANTLR start "rule__LetExpression__BindingsAssignment_2_1" + // InternalSolverLanguageParser.g:11257:1: rule__LetExpression__BindingsAssignment_2_1 : ( ruleLetBinding ) ; + public final void rule__LetExpression__BindingsAssignment_2_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:9716:1: ( ( ruleExpression ) ) - // InternalSolverLanguageParser.g:9717:2: ( ruleExpression ) + // InternalSolverLanguageParser.g:11261:1: ( ( ruleLetBinding ) ) + // InternalSolverLanguageParser.g:11262:2: ( ruleLetBinding ) { - // InternalSolverLanguageParser.g:9717:2: ( ruleExpression ) - // InternalSolverLanguageParser.g:9718:3: ruleExpression + // InternalSolverLanguageParser.g:11262:2: ( ruleLetBinding ) + // InternalSolverLanguageParser.g:11263:3: ruleLetBinding { - before(grammarAccess.getLetAccess().getBodyExpressionParserRuleCall_4_0()); + before(grammarAccess.getLetExpressionAccess().getBindingsLetBindingParserRuleCall_2_1_0()); pushFollow(FOLLOW_2); - ruleExpression(); + ruleLetBinding(); state._fsp--; - after(grammarAccess.getLetAccess().getBodyExpressionParserRuleCall_4_0()); + after(grammarAccess.getLetExpressionAccess().getBindingsLetBindingParserRuleCall_2_1_0()); } @@ -29581,29 +34268,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Let__BodyAssignment_4" + // $ANTLR end "rule__LetExpression__BindingsAssignment_2_1" - // $ANTLR start "rule__LetBinding__VariableAssignment_0" - // InternalSolverLanguageParser.g:9727:1: rule__LetBinding__VariableAssignment_0 : ( ruleVariable ) ; - public final void rule__LetBinding__VariableAssignment_0() throws RecognitionException { + // $ANTLR start "rule__LetExpression__BodyAssignment_4" + // InternalSolverLanguageParser.g:11272:1: rule__LetExpression__BodyAssignment_4 : ( ruleExpression ) ; + public final void rule__LetExpression__BodyAssignment_4() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:9731:1: ( ( ruleVariable ) ) - // InternalSolverLanguageParser.g:9732:2: ( ruleVariable ) + // InternalSolverLanguageParser.g:11276:1: ( ( ruleExpression ) ) + // InternalSolverLanguageParser.g:11277:2: ( ruleExpression ) { - // InternalSolverLanguageParser.g:9732:2: ( ruleVariable ) - // InternalSolverLanguageParser.g:9733:3: ruleVariable + // InternalSolverLanguageParser.g:11277:2: ( ruleExpression ) + // InternalSolverLanguageParser.g:11278:3: ruleExpression { - before(grammarAccess.getLetBindingAccess().getVariableVariableParserRuleCall_0_0()); + before(grammarAccess.getLetExpressionAccess().getBodyExpressionParserRuleCall_4_0()); pushFollow(FOLLOW_2); - ruleVariable(); + ruleExpression(); state._fsp--; - after(grammarAccess.getLetBindingAccess().getVariableVariableParserRuleCall_0_0()); + after(grammarAccess.getLetExpressionAccess().getBodyExpressionParserRuleCall_4_0()); } @@ -29622,29 +34309,37 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__LetBinding__VariableAssignment_0" + // $ANTLR end "rule__LetExpression__BodyAssignment_4" - // $ANTLR start "rule__LetBinding__ValueAssignment_2" - // InternalSolverLanguageParser.g:9742:1: rule__LetBinding__ValueAssignment_2 : ( ruleAdditiveExpression ) ; - public final void rule__LetBinding__ValueAssignment_2() throws RecognitionException { + // $ANTLR start "rule__LetBinding__TypeAssignment_0" + // InternalSolverLanguageParser.g:11287:1: rule__LetBinding__TypeAssignment_0 : ( ( ruleQualifiedName ) ) ; + public final void rule__LetBinding__TypeAssignment_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:9746:1: ( ( ruleAdditiveExpression ) ) - // InternalSolverLanguageParser.g:9747:2: ( ruleAdditiveExpression ) + // InternalSolverLanguageParser.g:11291:1: ( ( ( ruleQualifiedName ) ) ) + // InternalSolverLanguageParser.g:11292:2: ( ( ruleQualifiedName ) ) + { + // InternalSolverLanguageParser.g:11292:2: ( ( ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:11293:3: ( ruleQualifiedName ) { - // InternalSolverLanguageParser.g:9747:2: ( ruleAdditiveExpression ) - // InternalSolverLanguageParser.g:9748:3: ruleAdditiveExpression + before(grammarAccess.getLetBindingAccess().getTypeSymbolCrossReference_0_0()); + // InternalSolverLanguageParser.g:11294:3: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:11295:4: ruleQualifiedName { - before(grammarAccess.getLetBindingAccess().getValueAdditiveExpressionParserRuleCall_2_0()); + before(grammarAccess.getLetBindingAccess().getTypeSymbolQualifiedNameParserRuleCall_0_0_1()); pushFollow(FOLLOW_2); - ruleAdditiveExpression(); + ruleQualifiedName(); state._fsp--; - after(grammarAccess.getLetBindingAccess().getValueAdditiveExpressionParserRuleCall_2_0()); + after(grammarAccess.getLetBindingAccess().getTypeSymbolQualifiedNameParserRuleCall_0_0_1()); + + } + + after(grammarAccess.getLetBindingAccess().getTypeSymbolCrossReference_0_0()); } @@ -29663,29 +34358,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__LetBinding__ValueAssignment_2" + // $ANTLR end "rule__LetBinding__TypeAssignment_0" - // $ANTLR start "rule__ImplicationExpression__OpAssignment_1_1" - // InternalSolverLanguageParser.g:9757:1: rule__ImplicationExpression__OpAssignment_1_1 : ( ruleImplicationOperator ) ; - public final void rule__ImplicationExpression__OpAssignment_1_1() throws RecognitionException { + // $ANTLR start "rule__LetBinding__NameAssignment_1" + // InternalSolverLanguageParser.g:11306:1: rule__LetBinding__NameAssignment_1 : ( RULE_ID ) ; + public final void rule__LetBinding__NameAssignment_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:9761:1: ( ( ruleImplicationOperator ) ) - // InternalSolverLanguageParser.g:9762:2: ( ruleImplicationOperator ) + // InternalSolverLanguageParser.g:11310:1: ( ( RULE_ID ) ) + // InternalSolverLanguageParser.g:11311:2: ( RULE_ID ) { - // InternalSolverLanguageParser.g:9762:2: ( ruleImplicationOperator ) - // InternalSolverLanguageParser.g:9763:3: ruleImplicationOperator + // InternalSolverLanguageParser.g:11311:2: ( RULE_ID ) + // InternalSolverLanguageParser.g:11312:3: RULE_ID { - before(grammarAccess.getImplicationExpressionAccess().getOpImplicationOperatorEnumRuleCall_1_1_0()); - pushFollow(FOLLOW_2); - ruleImplicationOperator(); - - state._fsp--; - - after(grammarAccess.getImplicationExpressionAccess().getOpImplicationOperatorEnumRuleCall_1_1_0()); + before(grammarAccess.getLetBindingAccess().getNameIDTerminalRuleCall_1_0()); + match(input,RULE_ID,FOLLOW_2); + after(grammarAccess.getLetBindingAccess().getNameIDTerminalRuleCall_1_0()); } @@ -29704,29 +34395,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ImplicationExpression__OpAssignment_1_1" + // $ANTLR end "rule__LetBinding__NameAssignment_1" - // $ANTLR start "rule__ImplicationExpression__RightAssignment_1_2" - // InternalSolverLanguageParser.g:9772:1: rule__ImplicationExpression__RightAssignment_1_2 : ( ruleImplicationExpression ) ; - public final void rule__ImplicationExpression__RightAssignment_1_2() throws RecognitionException { + // $ANTLR start "rule__LetBinding__ValueAssignment_3" + // InternalSolverLanguageParser.g:11321:1: rule__LetBinding__ValueAssignment_3 : ( ruleAdditiveExpression ) ; + public final void rule__LetBinding__ValueAssignment_3() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:9776:1: ( ( ruleImplicationExpression ) ) - // InternalSolverLanguageParser.g:9777:2: ( ruleImplicationExpression ) + // InternalSolverLanguageParser.g:11325:1: ( ( ruleAdditiveExpression ) ) + // InternalSolverLanguageParser.g:11326:2: ( ruleAdditiveExpression ) { - // InternalSolverLanguageParser.g:9777:2: ( ruleImplicationExpression ) - // InternalSolverLanguageParser.g:9778:3: ruleImplicationExpression + // InternalSolverLanguageParser.g:11326:2: ( ruleAdditiveExpression ) + // InternalSolverLanguageParser.g:11327:3: ruleAdditiveExpression { - before(grammarAccess.getImplicationExpressionAccess().getRightImplicationExpressionParserRuleCall_1_2_0()); + before(grammarAccess.getLetBindingAccess().getValueAdditiveExpressionParserRuleCall_3_0()); pushFollow(FOLLOW_2); - ruleImplicationExpression(); + ruleAdditiveExpression(); state._fsp--; - after(grammarAccess.getImplicationExpressionAccess().getRightImplicationExpressionParserRuleCall_1_2_0()); + after(grammarAccess.getLetBindingAccess().getValueAdditiveExpressionParserRuleCall_3_0()); } @@ -29745,21 +34436,21 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ImplicationExpression__RightAssignment_1_2" + // $ANTLR end "rule__LetBinding__ValueAssignment_3" // $ANTLR start "rule__DisjunctiveExpression__ChildrenAssignment_1_0_1_1" - // InternalSolverLanguageParser.g:9787:1: rule__DisjunctiveExpression__ChildrenAssignment_1_0_1_1 : ( ruleConjunctiveExpression ) ; + // InternalSolverLanguageParser.g:11336:1: rule__DisjunctiveExpression__ChildrenAssignment_1_0_1_1 : ( ruleConjunctiveExpression ) ; public final void rule__DisjunctiveExpression__ChildrenAssignment_1_0_1_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:9791:1: ( ( ruleConjunctiveExpression ) ) - // InternalSolverLanguageParser.g:9792:2: ( ruleConjunctiveExpression ) + // InternalSolverLanguageParser.g:11340:1: ( ( ruleConjunctiveExpression ) ) + // InternalSolverLanguageParser.g:11341:2: ( ruleConjunctiveExpression ) { - // InternalSolverLanguageParser.g:9792:2: ( ruleConjunctiveExpression ) - // InternalSolverLanguageParser.g:9793:3: ruleConjunctiveExpression + // InternalSolverLanguageParser.g:11341:2: ( ruleConjunctiveExpression ) + // InternalSolverLanguageParser.g:11342:3: ruleConjunctiveExpression { before(grammarAccess.getDisjunctiveExpressionAccess().getChildrenConjunctiveExpressionParserRuleCall_1_0_1_1_0()); pushFollow(FOLLOW_2); @@ -29790,17 +34481,17 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR start "rule__DisjunctiveExpression__BodyAssignment_1_1_2" - // InternalSolverLanguageParser.g:9802:1: rule__DisjunctiveExpression__BodyAssignment_1_1_2 : ( ruleConjunctiveExpression ) ; + // InternalSolverLanguageParser.g:11351:1: rule__DisjunctiveExpression__BodyAssignment_1_1_2 : ( ruleConjunctiveExpression ) ; public final void rule__DisjunctiveExpression__BodyAssignment_1_1_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:9806:1: ( ( ruleConjunctiveExpression ) ) - // InternalSolverLanguageParser.g:9807:2: ( ruleConjunctiveExpression ) + // InternalSolverLanguageParser.g:11355:1: ( ( ruleConjunctiveExpression ) ) + // InternalSolverLanguageParser.g:11356:2: ( ruleConjunctiveExpression ) { - // InternalSolverLanguageParser.g:9807:2: ( ruleConjunctiveExpression ) - // InternalSolverLanguageParser.g:9808:3: ruleConjunctiveExpression + // InternalSolverLanguageParser.g:11356:2: ( ruleConjunctiveExpression ) + // InternalSolverLanguageParser.g:11357:3: ruleConjunctiveExpression { before(grammarAccess.getDisjunctiveExpressionAccess().getBodyConjunctiveExpressionParserRuleCall_1_1_2_0()); pushFollow(FOLLOW_2); @@ -29831,17 +34522,17 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR start "rule__DisjunctiveExpression__CasesAssignment_1_1_4_1" - // InternalSolverLanguageParser.g:9817:1: rule__DisjunctiveExpression__CasesAssignment_1_1_4_1 : ( ruleCase ) ; + // InternalSolverLanguageParser.g:11366:1: rule__DisjunctiveExpression__CasesAssignment_1_1_4_1 : ( ruleCase ) ; public final void rule__DisjunctiveExpression__CasesAssignment_1_1_4_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:9821:1: ( ( ruleCase ) ) - // InternalSolverLanguageParser.g:9822:2: ( ruleCase ) + // InternalSolverLanguageParser.g:11370:1: ( ( ruleCase ) ) + // InternalSolverLanguageParser.g:11371:2: ( ruleCase ) { - // InternalSolverLanguageParser.g:9822:2: ( ruleCase ) - // InternalSolverLanguageParser.g:9823:3: ruleCase + // InternalSolverLanguageParser.g:11371:2: ( ruleCase ) + // InternalSolverLanguageParser.g:11372:3: ruleCase { before(grammarAccess.getDisjunctiveExpressionAccess().getCasesCaseParserRuleCall_1_1_4_1_0()); pushFollow(FOLLOW_2); @@ -29872,17 +34563,17 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR start "rule__Case__ConditionAssignment_0" - // InternalSolverLanguageParser.g:9832:1: rule__Case__ConditionAssignment_0 : ( ruleConjunctiveExpression ) ; + // InternalSolverLanguageParser.g:11381:1: rule__Case__ConditionAssignment_0 : ( ruleConjunctiveExpression ) ; public final void rule__Case__ConditionAssignment_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:9836:1: ( ( ruleConjunctiveExpression ) ) - // InternalSolverLanguageParser.g:9837:2: ( ruleConjunctiveExpression ) + // InternalSolverLanguageParser.g:11385:1: ( ( ruleConjunctiveExpression ) ) + // InternalSolverLanguageParser.g:11386:2: ( ruleConjunctiveExpression ) { - // InternalSolverLanguageParser.g:9837:2: ( ruleConjunctiveExpression ) - // InternalSolverLanguageParser.g:9838:3: ruleConjunctiveExpression + // InternalSolverLanguageParser.g:11386:2: ( ruleConjunctiveExpression ) + // InternalSolverLanguageParser.g:11387:3: ruleConjunctiveExpression { before(grammarAccess.getCaseAccess().getConditionConjunctiveExpressionParserRuleCall_0_0()); pushFollow(FOLLOW_2); @@ -29913,17 +34604,17 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR start "rule__Case__BodyAssignment_2" - // InternalSolverLanguageParser.g:9847:1: rule__Case__BodyAssignment_2 : ( ruleConjunctiveExpression ) ; + // InternalSolverLanguageParser.g:11396:1: rule__Case__BodyAssignment_2 : ( ruleConjunctiveExpression ) ; public final void rule__Case__BodyAssignment_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:9851:1: ( ( ruleConjunctiveExpression ) ) - // InternalSolverLanguageParser.g:9852:2: ( ruleConjunctiveExpression ) + // InternalSolverLanguageParser.g:11400:1: ( ( ruleConjunctiveExpression ) ) + // InternalSolverLanguageParser.g:11401:2: ( ruleConjunctiveExpression ) { - // InternalSolverLanguageParser.g:9852:2: ( ruleConjunctiveExpression ) - // InternalSolverLanguageParser.g:9853:3: ruleConjunctiveExpression + // InternalSolverLanguageParser.g:11401:2: ( ruleConjunctiveExpression ) + // InternalSolverLanguageParser.g:11402:3: ruleConjunctiveExpression { before(grammarAccess.getCaseAccess().getBodyConjunctiveExpressionParserRuleCall_2_0()); pushFollow(FOLLOW_2); @@ -29954,17 +34645,17 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR start "rule__ConjunctiveExpression__ChildrenAssignment_1_1_1" - // InternalSolverLanguageParser.g:9862:1: rule__ConjunctiveExpression__ChildrenAssignment_1_1_1 : ( ruleComparisonExpression ) ; + // InternalSolverLanguageParser.g:11411:1: rule__ConjunctiveExpression__ChildrenAssignment_1_1_1 : ( ruleComparisonExpression ) ; public final void rule__ConjunctiveExpression__ChildrenAssignment_1_1_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:9866:1: ( ( ruleComparisonExpression ) ) - // InternalSolverLanguageParser.g:9867:2: ( ruleComparisonExpression ) + // InternalSolverLanguageParser.g:11415:1: ( ( ruleComparisonExpression ) ) + // InternalSolverLanguageParser.g:11416:2: ( ruleComparisonExpression ) { - // InternalSolverLanguageParser.g:9867:2: ( ruleComparisonExpression ) - // InternalSolverLanguageParser.g:9868:3: ruleComparisonExpression + // InternalSolverLanguageParser.g:11416:2: ( ruleComparisonExpression ) + // InternalSolverLanguageParser.g:11417:3: ruleComparisonExpression { before(grammarAccess.getConjunctiveExpressionAccess().getChildrenComparisonExpressionParserRuleCall_1_1_1_0()); pushFollow(FOLLOW_2); @@ -29995,17 +34686,17 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR start "rule__ComparisonExpression__OpAssignment_1_1" - // InternalSolverLanguageParser.g:9877:1: rule__ComparisonExpression__OpAssignment_1_1 : ( ruleComparisonOperator ) ; + // InternalSolverLanguageParser.g:11426:1: rule__ComparisonExpression__OpAssignment_1_1 : ( ruleComparisonOperator ) ; public final void rule__ComparisonExpression__OpAssignment_1_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:9881:1: ( ( ruleComparisonOperator ) ) - // InternalSolverLanguageParser.g:9882:2: ( ruleComparisonOperator ) + // InternalSolverLanguageParser.g:11430:1: ( ( ruleComparisonOperator ) ) + // InternalSolverLanguageParser.g:11431:2: ( ruleComparisonOperator ) { - // InternalSolverLanguageParser.g:9882:2: ( ruleComparisonOperator ) - // InternalSolverLanguageParser.g:9883:3: ruleComparisonOperator + // InternalSolverLanguageParser.g:11431:2: ( ruleComparisonOperator ) + // InternalSolverLanguageParser.g:11432:3: ruleComparisonOperator { before(grammarAccess.getComparisonExpressionAccess().getOpComparisonOperatorEnumRuleCall_1_1_0()); pushFollow(FOLLOW_2); @@ -30036,17 +34727,17 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR start "rule__ComparisonExpression__RightAssignment_1_2" - // InternalSolverLanguageParser.g:9892:1: rule__ComparisonExpression__RightAssignment_1_2 : ( ruleAdditiveExpression ) ; + // InternalSolverLanguageParser.g:11441:1: rule__ComparisonExpression__RightAssignment_1_2 : ( ruleAdditiveExpression ) ; public final void rule__ComparisonExpression__RightAssignment_1_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:9896:1: ( ( ruleAdditiveExpression ) ) - // InternalSolverLanguageParser.g:9897:2: ( ruleAdditiveExpression ) + // InternalSolverLanguageParser.g:11445:1: ( ( ruleAdditiveExpression ) ) + // InternalSolverLanguageParser.g:11446:2: ( ruleAdditiveExpression ) { - // InternalSolverLanguageParser.g:9897:2: ( ruleAdditiveExpression ) - // InternalSolverLanguageParser.g:9898:3: ruleAdditiveExpression + // InternalSolverLanguageParser.g:11446:2: ( ruleAdditiveExpression ) + // InternalSolverLanguageParser.g:11447:3: ruleAdditiveExpression { before(grammarAccess.getComparisonExpressionAccess().getRightAdditiveExpressionParserRuleCall_1_2_0()); pushFollow(FOLLOW_2); @@ -30077,17 +34768,17 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR start "rule__AdditiveExpression__OpAssignment_1_1" - // InternalSolverLanguageParser.g:9907:1: rule__AdditiveExpression__OpAssignment_1_1 : ( ruleAdditiveBinaryOperator ) ; + // InternalSolverLanguageParser.g:11456:1: rule__AdditiveExpression__OpAssignment_1_1 : ( ruleAdditiveBinaryOperator ) ; public final void rule__AdditiveExpression__OpAssignment_1_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:9911:1: ( ( ruleAdditiveBinaryOperator ) ) - // InternalSolverLanguageParser.g:9912:2: ( ruleAdditiveBinaryOperator ) + // InternalSolverLanguageParser.g:11460:1: ( ( ruleAdditiveBinaryOperator ) ) + // InternalSolverLanguageParser.g:11461:2: ( ruleAdditiveBinaryOperator ) { - // InternalSolverLanguageParser.g:9912:2: ( ruleAdditiveBinaryOperator ) - // InternalSolverLanguageParser.g:9913:3: ruleAdditiveBinaryOperator + // InternalSolverLanguageParser.g:11461:2: ( ruleAdditiveBinaryOperator ) + // InternalSolverLanguageParser.g:11462:3: ruleAdditiveBinaryOperator { before(grammarAccess.getAdditiveExpressionAccess().getOpAdditiveBinaryOperatorEnumRuleCall_1_1_0()); pushFollow(FOLLOW_2); @@ -30118,17 +34809,17 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR start "rule__AdditiveExpression__RightAssignment_1_2" - // InternalSolverLanguageParser.g:9922:1: rule__AdditiveExpression__RightAssignment_1_2 : ( ruleMultiplicativeExpression ) ; + // InternalSolverLanguageParser.g:11471:1: rule__AdditiveExpression__RightAssignment_1_2 : ( ruleMultiplicativeExpression ) ; public final void rule__AdditiveExpression__RightAssignment_1_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:9926:1: ( ( ruleMultiplicativeExpression ) ) - // InternalSolverLanguageParser.g:9927:2: ( ruleMultiplicativeExpression ) + // InternalSolverLanguageParser.g:11475:1: ( ( ruleMultiplicativeExpression ) ) + // InternalSolverLanguageParser.g:11476:2: ( ruleMultiplicativeExpression ) { - // InternalSolverLanguageParser.g:9927:2: ( ruleMultiplicativeExpression ) - // InternalSolverLanguageParser.g:9928:3: ruleMultiplicativeExpression + // InternalSolverLanguageParser.g:11476:2: ( ruleMultiplicativeExpression ) + // InternalSolverLanguageParser.g:11477:3: ruleMultiplicativeExpression { before(grammarAccess.getAdditiveExpressionAccess().getRightMultiplicativeExpressionParserRuleCall_1_2_0()); pushFollow(FOLLOW_2); @@ -30159,17 +34850,17 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR start "rule__MultiplicativeExpression__OpAssignment_1_1" - // InternalSolverLanguageParser.g:9937:1: rule__MultiplicativeExpression__OpAssignment_1_1 : ( ruleMultiplicativeBinaryOperator ) ; + // InternalSolverLanguageParser.g:11486:1: rule__MultiplicativeExpression__OpAssignment_1_1 : ( ruleMultiplicativeBinaryOperator ) ; public final void rule__MultiplicativeExpression__OpAssignment_1_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:9941:1: ( ( ruleMultiplicativeBinaryOperator ) ) - // InternalSolverLanguageParser.g:9942:2: ( ruleMultiplicativeBinaryOperator ) + // InternalSolverLanguageParser.g:11490:1: ( ( ruleMultiplicativeBinaryOperator ) ) + // InternalSolverLanguageParser.g:11491:2: ( ruleMultiplicativeBinaryOperator ) { - // InternalSolverLanguageParser.g:9942:2: ( ruleMultiplicativeBinaryOperator ) - // InternalSolverLanguageParser.g:9943:3: ruleMultiplicativeBinaryOperator + // InternalSolverLanguageParser.g:11491:2: ( ruleMultiplicativeBinaryOperator ) + // InternalSolverLanguageParser.g:11492:3: ruleMultiplicativeBinaryOperator { before(grammarAccess.getMultiplicativeExpressionAccess().getOpMultiplicativeBinaryOperatorEnumRuleCall_1_1_0()); pushFollow(FOLLOW_2); @@ -30200,17 +34891,17 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR start "rule__MultiplicativeExpression__RightAssignment_1_2" - // InternalSolverLanguageParser.g:9952:1: rule__MultiplicativeExpression__RightAssignment_1_2 : ( ruleExponentialExpression ) ; + // InternalSolverLanguageParser.g:11501:1: rule__MultiplicativeExpression__RightAssignment_1_2 : ( ruleExponentialExpression ) ; public final void rule__MultiplicativeExpression__RightAssignment_1_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:9956:1: ( ( ruleExponentialExpression ) ) - // InternalSolverLanguageParser.g:9957:2: ( ruleExponentialExpression ) + // InternalSolverLanguageParser.g:11505:1: ( ( ruleExponentialExpression ) ) + // InternalSolverLanguageParser.g:11506:2: ( ruleExponentialExpression ) { - // InternalSolverLanguageParser.g:9957:2: ( ruleExponentialExpression ) - // InternalSolverLanguageParser.g:9958:3: ruleExponentialExpression + // InternalSolverLanguageParser.g:11506:2: ( ruleExponentialExpression ) + // InternalSolverLanguageParser.g:11507:3: ruleExponentialExpression { before(grammarAccess.getMultiplicativeExpressionAccess().getRightExponentialExpressionParserRuleCall_1_2_0()); pushFollow(FOLLOW_2); @@ -30241,17 +34932,17 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR start "rule__ExponentialExpression__OpAssignment_1_1" - // InternalSolverLanguageParser.g:9967:1: rule__ExponentialExpression__OpAssignment_1_1 : ( ruleExponentialOp ) ; + // InternalSolverLanguageParser.g:11516:1: rule__ExponentialExpression__OpAssignment_1_1 : ( ruleExponentialOp ) ; public final void rule__ExponentialExpression__OpAssignment_1_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:9971:1: ( ( ruleExponentialOp ) ) - // InternalSolverLanguageParser.g:9972:2: ( ruleExponentialOp ) + // InternalSolverLanguageParser.g:11520:1: ( ( ruleExponentialOp ) ) + // InternalSolverLanguageParser.g:11521:2: ( ruleExponentialOp ) { - // InternalSolverLanguageParser.g:9972:2: ( ruleExponentialOp ) - // InternalSolverLanguageParser.g:9973:3: ruleExponentialOp + // InternalSolverLanguageParser.g:11521:2: ( ruleExponentialOp ) + // InternalSolverLanguageParser.g:11522:3: ruleExponentialOp { before(grammarAccess.getExponentialExpressionAccess().getOpExponentialOpEnumRuleCall_1_1_0()); pushFollow(FOLLOW_2); @@ -30282,17 +34973,17 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR start "rule__ExponentialExpression__RightAssignment_1_2" - // InternalSolverLanguageParser.g:9982:1: rule__ExponentialExpression__RightAssignment_1_2 : ( ruleCastExpression ) ; + // InternalSolverLanguageParser.g:11531:1: rule__ExponentialExpression__RightAssignment_1_2 : ( ruleCastExpression ) ; public final void rule__ExponentialExpression__RightAssignment_1_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:9986:1: ( ( ruleCastExpression ) ) - // InternalSolverLanguageParser.g:9987:2: ( ruleCastExpression ) + // InternalSolverLanguageParser.g:11535:1: ( ( ruleCastExpression ) ) + // InternalSolverLanguageParser.g:11536:2: ( ruleCastExpression ) { - // InternalSolverLanguageParser.g:9987:2: ( ruleCastExpression ) - // InternalSolverLanguageParser.g:9988:3: ruleCastExpression + // InternalSolverLanguageParser.g:11536:2: ( ruleCastExpression ) + // InternalSolverLanguageParser.g:11537:3: ruleCastExpression { before(grammarAccess.getExponentialExpressionAccess().getRightCastExpressionParserRuleCall_1_2_0()); pushFollow(FOLLOW_2); @@ -30322,34 +35013,34 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR end "rule__ExponentialExpression__RightAssignment_1_2" - // $ANTLR start "rule__CastExpression__TypeAssignment_1_2" - // InternalSolverLanguageParser.g:9997:1: rule__CastExpression__TypeAssignment_1_2 : ( ( ruleQualifiedName ) ) ; - public final void rule__CastExpression__TypeAssignment_1_2() throws RecognitionException { + // $ANTLR start "rule__CastExpression__TargetTypeAssignment_1_2" + // InternalSolverLanguageParser.g:11546:1: rule__CastExpression__TargetTypeAssignment_1_2 : ( ( ruleQualifiedName ) ) ; + public final void rule__CastExpression__TargetTypeAssignment_1_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:10001:1: ( ( ( ruleQualifiedName ) ) ) - // InternalSolverLanguageParser.g:10002:2: ( ( ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:11550:1: ( ( ( ruleQualifiedName ) ) ) + // InternalSolverLanguageParser.g:11551:2: ( ( ruleQualifiedName ) ) { - // InternalSolverLanguageParser.g:10002:2: ( ( ruleQualifiedName ) ) - // InternalSolverLanguageParser.g:10003:3: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:11551:2: ( ( ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:11552:3: ( ruleQualifiedName ) { - before(grammarAccess.getCastExpressionAccess().getTypeNamedElementCrossReference_1_2_0()); - // InternalSolverLanguageParser.g:10004:3: ( ruleQualifiedName ) - // InternalSolverLanguageParser.g:10005:4: ruleQualifiedName + before(grammarAccess.getCastExpressionAccess().getTargetTypeSymbolCrossReference_1_2_0()); + // InternalSolverLanguageParser.g:11553:3: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:11554:4: ruleQualifiedName { - before(grammarAccess.getCastExpressionAccess().getTypeNamedElementQualifiedNameParserRuleCall_1_2_0_1()); + before(grammarAccess.getCastExpressionAccess().getTargetTypeSymbolQualifiedNameParserRuleCall_1_2_0_1()); pushFollow(FOLLOW_2); ruleQualifiedName(); state._fsp--; - after(grammarAccess.getCastExpressionAccess().getTypeNamedElementQualifiedNameParserRuleCall_1_2_0_1()); + after(grammarAccess.getCastExpressionAccess().getTargetTypeSymbolQualifiedNameParserRuleCall_1_2_0_1()); } - after(grammarAccess.getCastExpressionAccess().getTypeNamedElementCrossReference_1_2_0()); + after(grammarAccess.getCastExpressionAccess().getTargetTypeSymbolCrossReference_1_2_0()); } @@ -30368,29 +35059,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__CastExpression__TypeAssignment_1_2" + // $ANTLR end "rule__CastExpression__TargetTypeAssignment_1_2" // $ANTLR start "rule__UnaryExpression__OpAssignment_1_1" - // InternalSolverLanguageParser.g:10016:1: rule__UnaryExpression__OpAssignment_1_1 : ( ruleUnaryOp ) ; + // InternalSolverLanguageParser.g:11565:1: rule__UnaryExpression__OpAssignment_1_1 : ( ruleUnaryOperator ) ; public final void rule__UnaryExpression__OpAssignment_1_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:10020:1: ( ( ruleUnaryOp ) ) - // InternalSolverLanguageParser.g:10021:2: ( ruleUnaryOp ) + // InternalSolverLanguageParser.g:11569:1: ( ( ruleUnaryOperator ) ) + // InternalSolverLanguageParser.g:11570:2: ( ruleUnaryOperator ) { - // InternalSolverLanguageParser.g:10021:2: ( ruleUnaryOp ) - // InternalSolverLanguageParser.g:10022:3: ruleUnaryOp + // InternalSolverLanguageParser.g:11570:2: ( ruleUnaryOperator ) + // InternalSolverLanguageParser.g:11571:3: ruleUnaryOperator { - before(grammarAccess.getUnaryExpressionAccess().getOpUnaryOpEnumRuleCall_1_1_0()); + before(grammarAccess.getUnaryExpressionAccess().getOpUnaryOperatorEnumRuleCall_1_1_0()); pushFollow(FOLLOW_2); - ruleUnaryOp(); + ruleUnaryOperator(); state._fsp--; - after(grammarAccess.getUnaryExpressionAccess().getOpUnaryOpEnumRuleCall_1_1_0()); + after(grammarAccess.getUnaryExpressionAccess().getOpUnaryOperatorEnumRuleCall_1_1_0()); } @@ -30413,25 +35104,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR start "rule__UnaryExpression__BodyAssignment_1_2" - // InternalSolverLanguageParser.g:10031:1: rule__UnaryExpression__BodyAssignment_1_2 : ( ruleAggregationExpression ) ; + // InternalSolverLanguageParser.g:11580:1: rule__UnaryExpression__BodyAssignment_1_2 : ( ruleBracedAggregateExpression ) ; public final void rule__UnaryExpression__BodyAssignment_1_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:10035:1: ( ( ruleAggregationExpression ) ) - // InternalSolverLanguageParser.g:10036:2: ( ruleAggregationExpression ) + // InternalSolverLanguageParser.g:11584:1: ( ( ruleBracedAggregateExpression ) ) + // InternalSolverLanguageParser.g:11585:2: ( ruleBracedAggregateExpression ) { - // InternalSolverLanguageParser.g:10036:2: ( ruleAggregationExpression ) - // InternalSolverLanguageParser.g:10037:3: ruleAggregationExpression + // InternalSolverLanguageParser.g:11585:2: ( ruleBracedAggregateExpression ) + // InternalSolverLanguageParser.g:11586:3: ruleBracedAggregateExpression { - before(grammarAccess.getUnaryExpressionAccess().getBodyAggregationExpressionParserRuleCall_1_2_0()); + before(grammarAccess.getUnaryExpressionAccess().getBodyBracedAggregateExpressionParserRuleCall_1_2_0()); pushFollow(FOLLOW_2); - ruleAggregationExpression(); + ruleBracedAggregateExpression(); state._fsp--; - after(grammarAccess.getUnaryExpressionAccess().getBodyAggregationExpressionParserRuleCall_1_2_0()); + after(grammarAccess.getUnaryExpressionAccess().getBodyBracedAggregateExpressionParserRuleCall_1_2_0()); } @@ -30453,26 +35144,34 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP // $ANTLR end "rule__UnaryExpression__BodyAssignment_1_2" - // $ANTLR start "rule__LocalVariables__VariablesAssignment_2_0" - // InternalSolverLanguageParser.g:10046:1: rule__LocalVariables__VariablesAssignment_2_0 : ( ruleVariable ) ; - public final void rule__LocalVariables__VariablesAssignment_2_0() throws RecognitionException { + // $ANTLR start "rule__Aggregation__OpAssignment_0" + // InternalSolverLanguageParser.g:11595:1: rule__Aggregation__OpAssignment_0 : ( ( ruleQualifiedName ) ) ; + public final void rule__Aggregation__OpAssignment_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:10050:1: ( ( ruleVariable ) ) - // InternalSolverLanguageParser.g:10051:2: ( ruleVariable ) + // InternalSolverLanguageParser.g:11599:1: ( ( ( ruleQualifiedName ) ) ) + // InternalSolverLanguageParser.g:11600:2: ( ( ruleQualifiedName ) ) + { + // InternalSolverLanguageParser.g:11600:2: ( ( ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:11601:3: ( ruleQualifiedName ) { - // InternalSolverLanguageParser.g:10051:2: ( ruleVariable ) - // InternalSolverLanguageParser.g:10052:3: ruleVariable + before(grammarAccess.getAggregationAccess().getOpSymbolCrossReference_0_0()); + // InternalSolverLanguageParser.g:11602:3: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:11603:4: ruleQualifiedName { - before(grammarAccess.getLocalVariablesAccess().getVariablesVariableParserRuleCall_2_0_0()); + before(grammarAccess.getAggregationAccess().getOpSymbolQualifiedNameParserRuleCall_0_0_1()); pushFollow(FOLLOW_2); - ruleVariable(); + ruleQualifiedName(); state._fsp--; - after(grammarAccess.getLocalVariablesAccess().getVariablesVariableParserRuleCall_2_0_0()); + after(grammarAccess.getAggregationAccess().getOpSymbolQualifiedNameParserRuleCall_0_0_1()); + + } + + after(grammarAccess.getAggregationAccess().getOpSymbolCrossReference_0_0()); } @@ -30491,29 +35190,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__LocalVariables__VariablesAssignment_2_0" + // $ANTLR end "rule__Aggregation__OpAssignment_0" - // $ANTLR start "rule__LocalVariables__VariablesAssignment_2_1_1" - // InternalSolverLanguageParser.g:10061:1: rule__LocalVariables__VariablesAssignment_2_1_1 : ( ruleVariable ) ; - public final void rule__LocalVariables__VariablesAssignment_2_1_1() throws RecognitionException { + // $ANTLR start "rule__Aggregation__ValueAssignment_2" + // InternalSolverLanguageParser.g:11614:1: rule__Aggregation__ValueAssignment_2 : ( ruleExpression ) ; + public final void rule__Aggregation__ValueAssignment_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:10065:1: ( ( ruleVariable ) ) - // InternalSolverLanguageParser.g:10066:2: ( ruleVariable ) + // InternalSolverLanguageParser.g:11618:1: ( ( ruleExpression ) ) + // InternalSolverLanguageParser.g:11619:2: ( ruleExpression ) { - // InternalSolverLanguageParser.g:10066:2: ( ruleVariable ) - // InternalSolverLanguageParser.g:10067:3: ruleVariable + // InternalSolverLanguageParser.g:11619:2: ( ruleExpression ) + // InternalSolverLanguageParser.g:11620:3: ruleExpression { - before(grammarAccess.getLocalVariablesAccess().getVariablesVariableParserRuleCall_2_1_1_0()); + before(grammarAccess.getAggregationAccess().getValueExpressionParserRuleCall_2_0()); pushFollow(FOLLOW_2); - ruleVariable(); + ruleExpression(); state._fsp--; - after(grammarAccess.getLocalVariablesAccess().getVariablesVariableParserRuleCall_2_1_1_0()); + after(grammarAccess.getAggregationAccess().getValueExpressionParserRuleCall_2_0()); } @@ -30532,29 +35231,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__LocalVariables__VariablesAssignment_2_1_1" + // $ANTLR end "rule__Aggregation__ValueAssignment_2" - // $ANTLR start "rule__QuantifiedExpression__QuantifierAssignment_0" - // InternalSolverLanguageParser.g:10076:1: rule__QuantifiedExpression__QuantifierAssignment_0 : ( ruleQuantifier ) ; - public final void rule__QuantifiedExpression__QuantifierAssignment_0() throws RecognitionException { + // $ANTLR start "rule__Aggregation__ConditionAssignment_4" + // InternalSolverLanguageParser.g:11629:1: rule__Aggregation__ConditionAssignment_4 : ( ruleExpression ) ; + public final void rule__Aggregation__ConditionAssignment_4() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:10080:1: ( ( ruleQuantifier ) ) - // InternalSolverLanguageParser.g:10081:2: ( ruleQuantifier ) + // InternalSolverLanguageParser.g:11633:1: ( ( ruleExpression ) ) + // InternalSolverLanguageParser.g:11634:2: ( ruleExpression ) { - // InternalSolverLanguageParser.g:10081:2: ( ruleQuantifier ) - // InternalSolverLanguageParser.g:10082:3: ruleQuantifier + // InternalSolverLanguageParser.g:11634:2: ( ruleExpression ) + // InternalSolverLanguageParser.g:11635:3: ruleExpression { - before(grammarAccess.getQuantifiedExpressionAccess().getQuantifierQuantifierEnumRuleCall_0_0()); + before(grammarAccess.getAggregationAccess().getConditionExpressionParserRuleCall_4_0()); pushFollow(FOLLOW_2); - ruleQuantifier(); + ruleExpression(); state._fsp--; - after(grammarAccess.getQuantifiedExpressionAccess().getQuantifierQuantifierEnumRuleCall_0_0()); + after(grammarAccess.getAggregationAccess().getConditionExpressionParserRuleCall_4_0()); } @@ -30573,29 +35272,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__QuantifiedExpression__QuantifierAssignment_0" + // $ANTLR end "rule__Aggregation__ConditionAssignment_4" - // $ANTLR start "rule__QuantifiedExpression__LocalVariablesAssignment_1" - // InternalSolverLanguageParser.g:10091:1: rule__QuantifiedExpression__LocalVariablesAssignment_1 : ( ruleLocalVariables ) ; - public final void rule__QuantifiedExpression__LocalVariablesAssignment_1() throws RecognitionException { + // $ANTLR start "rule__Count__ConditionAssignment_2" + // InternalSolverLanguageParser.g:11644:1: rule__Count__ConditionAssignment_2 : ( ruleExpression ) ; + public final void rule__Count__ConditionAssignment_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:10095:1: ( ( ruleLocalVariables ) ) - // InternalSolverLanguageParser.g:10096:2: ( ruleLocalVariables ) + // InternalSolverLanguageParser.g:11648:1: ( ( ruleExpression ) ) + // InternalSolverLanguageParser.g:11649:2: ( ruleExpression ) { - // InternalSolverLanguageParser.g:10096:2: ( ruleLocalVariables ) - // InternalSolverLanguageParser.g:10097:3: ruleLocalVariables + // InternalSolverLanguageParser.g:11649:2: ( ruleExpression ) + // InternalSolverLanguageParser.g:11650:3: ruleExpression { - before(grammarAccess.getQuantifiedExpressionAccess().getLocalVariablesLocalVariablesParserRuleCall_1_0()); + before(grammarAccess.getCountAccess().getConditionExpressionParserRuleCall_2_0()); pushFollow(FOLLOW_2); - ruleLocalVariables(); + ruleExpression(); state._fsp--; - after(grammarAccess.getQuantifiedExpressionAccess().getLocalVariablesLocalVariablesParserRuleCall_1_0()); + after(grammarAccess.getCountAccess().getConditionExpressionParserRuleCall_2_0()); } @@ -30614,29 +35313,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__QuantifiedExpression__LocalVariablesAssignment_1" + // $ANTLR end "rule__Count__ConditionAssignment_2" - // $ANTLR start "rule__QuantifiedExpression__BodyAssignment_3" - // InternalSolverLanguageParser.g:10106:1: rule__QuantifiedExpression__BodyAssignment_3 : ( ruleExpression ) ; - public final void rule__QuantifiedExpression__BodyAssignment_3() throws RecognitionException { + // $ANTLR start "rule__Call__FunctorAssignment_0" + // InternalSolverLanguageParser.g:11659:1: rule__Call__FunctorAssignment_0 : ( ruleReference ) ; + public final void rule__Call__FunctorAssignment_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:10110:1: ( ( ruleExpression ) ) - // InternalSolverLanguageParser.g:10111:2: ( ruleExpression ) + // InternalSolverLanguageParser.g:11663:1: ( ( ruleReference ) ) + // InternalSolverLanguageParser.g:11664:2: ( ruleReference ) { - // InternalSolverLanguageParser.g:10111:2: ( ruleExpression ) - // InternalSolverLanguageParser.g:10112:3: ruleExpression + // InternalSolverLanguageParser.g:11664:2: ( ruleReference ) + // InternalSolverLanguageParser.g:11665:3: ruleReference { - before(grammarAccess.getQuantifiedExpressionAccess().getBodyExpressionParserRuleCall_3_0()); + before(grammarAccess.getCallAccess().getFunctorReferenceParserRuleCall_0_0()); pushFollow(FOLLOW_2); - ruleExpression(); + ruleReference(); state._fsp--; - after(grammarAccess.getQuantifiedExpressionAccess().getBodyExpressionParserRuleCall_3_0()); + after(grammarAccess.getCallAccess().getFunctorReferenceParserRuleCall_0_0()); } @@ -30655,37 +35354,230 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__QuantifiedExpression__BodyAssignment_3" + // $ANTLR end "rule__Call__FunctorAssignment_0" - // $ANTLR start "rule__Aggregation__OpAssignment_0" - // InternalSolverLanguageParser.g:10121:1: rule__Aggregation__OpAssignment_0 : ( ( ruleQualifiedName ) ) ; - public final void rule__Aggregation__OpAssignment_0() throws RecognitionException { + // $ANTLR start "rule__Call__ArgumentListAssignment_1" + // InternalSolverLanguageParser.g:11674:1: rule__Call__ArgumentListAssignment_1 : ( ruleArgumentList ) ; + public final void rule__Call__ArgumentListAssignment_1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:11678:1: ( ( ruleArgumentList ) ) + // InternalSolverLanguageParser.g:11679:2: ( ruleArgumentList ) + { + // InternalSolverLanguageParser.g:11679:2: ( ruleArgumentList ) + // InternalSolverLanguageParser.g:11680:3: ruleArgumentList + { + before(grammarAccess.getCallAccess().getArgumentListArgumentListParserRuleCall_1_0()); + pushFollow(FOLLOW_2); + ruleArgumentList(); + + state._fsp--; + + after(grammarAccess.getCallAccess().getArgumentListArgumentListParserRuleCall_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Call__ArgumentListAssignment_1" + + + // $ANTLR start "rule__ArgumentList__ArgumentsAssignment_2_0" + // InternalSolverLanguageParser.g:11689:1: rule__ArgumentList__ArgumentsAssignment_2_0 : ( ruleArgument ) ; + public final void rule__ArgumentList__ArgumentsAssignment_2_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:10125:1: ( ( ( ruleQualifiedName ) ) ) - // InternalSolverLanguageParser.g:10126:2: ( ( ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:11693:1: ( ( ruleArgument ) ) + // InternalSolverLanguageParser.g:11694:2: ( ruleArgument ) { - // InternalSolverLanguageParser.g:10126:2: ( ( ruleQualifiedName ) ) - // InternalSolverLanguageParser.g:10127:3: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:11694:2: ( ruleArgument ) + // InternalSolverLanguageParser.g:11695:3: ruleArgument { - before(grammarAccess.getAggregationAccess().getOpNamedElementCrossReference_0_0()); - // InternalSolverLanguageParser.g:10128:3: ( ruleQualifiedName ) - // InternalSolverLanguageParser.g:10129:4: ruleQualifiedName + before(grammarAccess.getArgumentListAccess().getArgumentsArgumentParserRuleCall_2_0_0()); + pushFollow(FOLLOW_2); + ruleArgument(); + + state._fsp--; + + after(grammarAccess.getArgumentListAccess().getArgumentsArgumentParserRuleCall_2_0_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ArgumentList__ArgumentsAssignment_2_0" + + + // $ANTLR start "rule__ArgumentList__ArgumentsAssignment_2_1_1" + // InternalSolverLanguageParser.g:11704:1: rule__ArgumentList__ArgumentsAssignment_2_1_1 : ( ruleArgument ) ; + public final void rule__ArgumentList__ArgumentsAssignment_2_1_1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:11708:1: ( ( ruleArgument ) ) + // InternalSolverLanguageParser.g:11709:2: ( ruleArgument ) { - before(grammarAccess.getAggregationAccess().getOpNamedElementQualifiedNameParserRuleCall_0_0_1()); + // InternalSolverLanguageParser.g:11709:2: ( ruleArgument ) + // InternalSolverLanguageParser.g:11710:3: ruleArgument + { + before(grammarAccess.getArgumentListAccess().getArgumentsArgumentParserRuleCall_2_1_1_0()); pushFollow(FOLLOW_2); - ruleQualifiedName(); + ruleArgument(); + + state._fsp--; + + after(grammarAccess.getArgumentListAccess().getArgumentsArgumentParserRuleCall_2_1_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ArgumentList__ArgumentsAssignment_2_1_1" + + + // $ANTLR start "rule__ExpressionArgument__ExpressionAssignment" + // InternalSolverLanguageParser.g:11719:1: rule__ExpressionArgument__ExpressionAssignment : ( ruleComparisonExpression ) ; + public final void rule__ExpressionArgument__ExpressionAssignment() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:11723:1: ( ( ruleComparisonExpression ) ) + // InternalSolverLanguageParser.g:11724:2: ( ruleComparisonExpression ) + { + // InternalSolverLanguageParser.g:11724:2: ( ruleComparisonExpression ) + // InternalSolverLanguageParser.g:11725:3: ruleComparisonExpression + { + before(grammarAccess.getExpressionArgumentAccess().getExpressionComparisonExpressionParserRuleCall_0()); + pushFollow(FOLLOW_2); + ruleComparisonExpression(); + + state._fsp--; + + after(grammarAccess.getExpressionArgumentAccess().getExpressionComparisonExpressionParserRuleCall_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ExpressionArgument__ExpressionAssignment" + + + // $ANTLR start "rule__TypedVariableArgument__TypeReferenceAssignment_0" + // InternalSolverLanguageParser.g:11734:1: rule__TypedVariableArgument__TypeReferenceAssignment_0 : ( ruleTypeReference ) ; + public final void rule__TypedVariableArgument__TypeReferenceAssignment_0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:11738:1: ( ( ruleTypeReference ) ) + // InternalSolverLanguageParser.g:11739:2: ( ruleTypeReference ) + { + // InternalSolverLanguageParser.g:11739:2: ( ruleTypeReference ) + // InternalSolverLanguageParser.g:11740:3: ruleTypeReference + { + before(grammarAccess.getTypedVariableArgumentAccess().getTypeReferenceTypeReferenceParserRuleCall_0_0()); + pushFollow(FOLLOW_2); + ruleTypeReference(); state._fsp--; - after(grammarAccess.getAggregationAccess().getOpNamedElementQualifiedNameParserRuleCall_0_0_1()); + after(grammarAccess.getTypedVariableArgumentAccess().getTypeReferenceTypeReferenceParserRuleCall_0_0()); + + } + } - after(grammarAccess.getAggregationAccess().getOpNamedElementCrossReference_0_0()); + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__TypedVariableArgument__TypeReferenceAssignment_0" + + + // $ANTLR start "rule__TypedVariableArgument__NameAssignment_1" + // InternalSolverLanguageParser.g:11749:1: rule__TypedVariableArgument__NameAssignment_1 : ( RULE_ID ) ; + public final void rule__TypedVariableArgument__NameAssignment_1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalSolverLanguageParser.g:11753:1: ( ( RULE_ID ) ) + // InternalSolverLanguageParser.g:11754:2: ( RULE_ID ) + { + // InternalSolverLanguageParser.g:11754:2: ( RULE_ID ) + // InternalSolverLanguageParser.g:11755:3: RULE_ID + { + before(grammarAccess.getTypedVariableArgumentAccess().getNameIDTerminalRuleCall_1_0()); + match(input,RULE_ID,FOLLOW_2); + after(grammarAccess.getTypedVariableArgumentAccess().getNameIDTerminalRuleCall_1_0()); } @@ -30704,29 +35596,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Aggregation__OpAssignment_0" + // $ANTLR end "rule__TypedVariableArgument__NameAssignment_1" - // $ANTLR start "rule__Aggregation__LocalVariablesAssignment_1" - // InternalSolverLanguageParser.g:10140:1: rule__Aggregation__LocalVariablesAssignment_1 : ( ruleLocalVariables ) ; - public final void rule__Aggregation__LocalVariablesAssignment_1() throws RecognitionException { + // $ANTLR start "rule__TypedStarArgument__TypeReferenceAssignment_0" + // InternalSolverLanguageParser.g:11764:1: rule__TypedStarArgument__TypeReferenceAssignment_0 : ( ruleTypeReference ) ; + public final void rule__TypedStarArgument__TypeReferenceAssignment_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:10144:1: ( ( ruleLocalVariables ) ) - // InternalSolverLanguageParser.g:10145:2: ( ruleLocalVariables ) + // InternalSolverLanguageParser.g:11768:1: ( ( ruleTypeReference ) ) + // InternalSolverLanguageParser.g:11769:2: ( ruleTypeReference ) { - // InternalSolverLanguageParser.g:10145:2: ( ruleLocalVariables ) - // InternalSolverLanguageParser.g:10146:3: ruleLocalVariables + // InternalSolverLanguageParser.g:11769:2: ( ruleTypeReference ) + // InternalSolverLanguageParser.g:11770:3: ruleTypeReference { - before(grammarAccess.getAggregationAccess().getLocalVariablesLocalVariablesParserRuleCall_1_0()); + before(grammarAccess.getTypedStarArgumentAccess().getTypeReferenceTypeReferenceParserRuleCall_0_0()); pushFollow(FOLLOW_2); - ruleLocalVariables(); + ruleTypeReference(); state._fsp--; - after(grammarAccess.getAggregationAccess().getLocalVariablesLocalVariablesParserRuleCall_1_0()); + after(grammarAccess.getTypedStarArgumentAccess().getTypeReferenceTypeReferenceParserRuleCall_0_0()); } @@ -30745,29 +35637,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Aggregation__LocalVariablesAssignment_1" + // $ANTLR end "rule__TypedStarArgument__TypeReferenceAssignment_0" - // $ANTLR start "rule__Aggregation__BodyAssignment_3" - // InternalSolverLanguageParser.g:10155:1: rule__Aggregation__BodyAssignment_3 : ( ruleExpression ) ; - public final void rule__Aggregation__BodyAssignment_3() throws RecognitionException { + // $ANTLR start "rule__Reference__ComponentsAssignment_0" + // InternalSolverLanguageParser.g:11779:1: rule__Reference__ComponentsAssignment_0 : ( rulePathComponent ) ; + public final void rule__Reference__ComponentsAssignment_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:10159:1: ( ( ruleExpression ) ) - // InternalSolverLanguageParser.g:10160:2: ( ruleExpression ) + // InternalSolverLanguageParser.g:11783:1: ( ( rulePathComponent ) ) + // InternalSolverLanguageParser.g:11784:2: ( rulePathComponent ) { - // InternalSolverLanguageParser.g:10160:2: ( ruleExpression ) - // InternalSolverLanguageParser.g:10161:3: ruleExpression + // InternalSolverLanguageParser.g:11784:2: ( rulePathComponent ) + // InternalSolverLanguageParser.g:11785:3: rulePathComponent { - before(grammarAccess.getAggregationAccess().getBodyExpressionParserRuleCall_3_0()); + before(grammarAccess.getReferenceAccess().getComponentsPathComponentParserRuleCall_0_0()); pushFollow(FOLLOW_2); - ruleExpression(); + rulePathComponent(); state._fsp--; - after(grammarAccess.getAggregationAccess().getBodyExpressionParserRuleCall_3_0()); + after(grammarAccess.getReferenceAccess().getComponentsPathComponentParserRuleCall_0_0()); } @@ -30786,29 +35678,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Aggregation__BodyAssignment_3" + // $ANTLR end "rule__Reference__ComponentsAssignment_0" - // $ANTLR start "rule__Aggregation__ConditionAssignment_4_1" - // InternalSolverLanguageParser.g:10170:1: rule__Aggregation__ConditionAssignment_4_1 : ( ruleExpression ) ; - public final void rule__Aggregation__ConditionAssignment_4_1() throws RecognitionException { + // $ANTLR start "rule__Reference__ComponentsAssignment_1_1" + // InternalSolverLanguageParser.g:11794:1: rule__Reference__ComponentsAssignment_1_1 : ( rulePathComponent ) ; + public final void rule__Reference__ComponentsAssignment_1_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:10174:1: ( ( ruleExpression ) ) - // InternalSolverLanguageParser.g:10175:2: ( ruleExpression ) + // InternalSolverLanguageParser.g:11798:1: ( ( rulePathComponent ) ) + // InternalSolverLanguageParser.g:11799:2: ( rulePathComponent ) { - // InternalSolverLanguageParser.g:10175:2: ( ruleExpression ) - // InternalSolverLanguageParser.g:10176:3: ruleExpression + // InternalSolverLanguageParser.g:11799:2: ( rulePathComponent ) + // InternalSolverLanguageParser.g:11800:3: rulePathComponent { - before(grammarAccess.getAggregationAccess().getConditionExpressionParserRuleCall_4_1_0()); + before(grammarAccess.getReferenceAccess().getComponentsPathComponentParserRuleCall_1_1_0()); pushFollow(FOLLOW_2); - ruleExpression(); + rulePathComponent(); state._fsp--; - after(grammarAccess.getAggregationAccess().getConditionExpressionParserRuleCall_4_1_0()); + after(grammarAccess.getReferenceAccess().getComponentsPathComponentParserRuleCall_1_1_0()); } @@ -30827,29 +35719,33 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Aggregation__ConditionAssignment_4_1" + // $ANTLR end "rule__Reference__ComponentsAssignment_1_1" - // $ANTLR start "rule__Call__FunctorAssignment_0" - // InternalSolverLanguageParser.g:10185:1: rule__Call__FunctorAssignment_0 : ( ruleReference ) ; - public final void rule__Call__FunctorAssignment_0() throws RecognitionException { + // $ANTLR start "rule__PathComponent__InverseAssignment_0" + // InternalSolverLanguageParser.g:11809:1: rule__PathComponent__InverseAssignment_0 : ( ( Tilde ) ) ; + public final void rule__PathComponent__InverseAssignment_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:10189:1: ( ( ruleReference ) ) - // InternalSolverLanguageParser.g:10190:2: ( ruleReference ) + // InternalSolverLanguageParser.g:11813:1: ( ( ( Tilde ) ) ) + // InternalSolverLanguageParser.g:11814:2: ( ( Tilde ) ) { - // InternalSolverLanguageParser.g:10190:2: ( ruleReference ) - // InternalSolverLanguageParser.g:10191:3: ruleReference + // InternalSolverLanguageParser.g:11814:2: ( ( Tilde ) ) + // InternalSolverLanguageParser.g:11815:3: ( Tilde ) { - before(grammarAccess.getCallAccess().getFunctorReferenceParserRuleCall_0_0()); - pushFollow(FOLLOW_2); - ruleReference(); + before(grammarAccess.getPathComponentAccess().getInverseTildeKeyword_0_0()); + // InternalSolverLanguageParser.g:11816:3: ( Tilde ) + // InternalSolverLanguageParser.g:11817:4: Tilde + { + before(grammarAccess.getPathComponentAccess().getInverseTildeKeyword_0_0()); + match(input,Tilde,FOLLOW_2); + after(grammarAccess.getPathComponentAccess().getInverseTildeKeyword_0_0()); - state._fsp--; + } - after(grammarAccess.getCallAccess().getFunctorReferenceParserRuleCall_0_0()); + after(grammarAccess.getPathComponentAccess().getInverseTildeKeyword_0_0()); } @@ -30868,25 +35764,37 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Call__FunctorAssignment_0" + // $ANTLR end "rule__PathComponent__InverseAssignment_0" - // $ANTLR start "rule__Call__TransitiveClosureAssignment_1_0" - // InternalSolverLanguageParser.g:10200:1: rule__Call__TransitiveClosureAssignment_1_0 : ( RULE_TRANSITIVE_CLOSURE ) ; - public final void rule__Call__TransitiveClosureAssignment_1_0() throws RecognitionException { + // $ANTLR start "rule__PathComponent__SymbolAssignment_1" + // InternalSolverLanguageParser.g:11828:1: rule__PathComponent__SymbolAssignment_1 : ( ( ruleQualifiedName ) ) ; + public final void rule__PathComponent__SymbolAssignment_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:10204:1: ( ( RULE_TRANSITIVE_CLOSURE ) ) - // InternalSolverLanguageParser.g:10205:2: ( RULE_TRANSITIVE_CLOSURE ) + // InternalSolverLanguageParser.g:11832:1: ( ( ( ruleQualifiedName ) ) ) + // InternalSolverLanguageParser.g:11833:2: ( ( ruleQualifiedName ) ) { - // InternalSolverLanguageParser.g:10205:2: ( RULE_TRANSITIVE_CLOSURE ) - // InternalSolverLanguageParser.g:10206:3: RULE_TRANSITIVE_CLOSURE + // InternalSolverLanguageParser.g:11833:2: ( ( ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:11834:3: ( ruleQualifiedName ) { - before(grammarAccess.getCallAccess().getTransitiveClosureTRANSITIVE_CLOSURETerminalRuleCall_1_0_0()); - match(input,RULE_TRANSITIVE_CLOSURE,FOLLOW_2); - after(grammarAccess.getCallAccess().getTransitiveClosureTRANSITIVE_CLOSURETerminalRuleCall_1_0_0()); + before(grammarAccess.getPathComponentAccess().getSymbolSymbolCrossReference_1_0()); + // InternalSolverLanguageParser.g:11835:3: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:11836:4: ruleQualifiedName + { + before(grammarAccess.getPathComponentAccess().getSymbolSymbolQualifiedNameParserRuleCall_1_0_1()); + pushFollow(FOLLOW_2); + ruleQualifiedName(); + + state._fsp--; + + after(grammarAccess.getPathComponentAccess().getSymbolSymbolQualifiedNameParserRuleCall_1_0_1()); + + } + + after(grammarAccess.getPathComponentAccess().getSymbolSymbolCrossReference_1_0()); } @@ -30905,25 +35813,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Call__TransitiveClosureAssignment_1_0" + // $ANTLR end "rule__PathComponent__SymbolAssignment_1" - // $ANTLR start "rule__Call__ReflexiveTransitiveClosureAssignment_1_1" - // InternalSolverLanguageParser.g:10215:1: rule__Call__ReflexiveTransitiveClosureAssignment_1_1 : ( RULE_REFLEXIVE_TRANSITIVE_CLOSURE ) ; - public final void rule__Call__ReflexiveTransitiveClosureAssignment_1_1() throws RecognitionException { + // $ANTLR start "rule__PathComponent__TransitiveClosureAssignment_2_0" + // InternalSolverLanguageParser.g:11847:1: rule__PathComponent__TransitiveClosureAssignment_2_0 : ( RULE_TRANSITIVE_CLOSURE ) ; + public final void rule__PathComponent__TransitiveClosureAssignment_2_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:10219:1: ( ( RULE_REFLEXIVE_TRANSITIVE_CLOSURE ) ) - // InternalSolverLanguageParser.g:10220:2: ( RULE_REFLEXIVE_TRANSITIVE_CLOSURE ) + // InternalSolverLanguageParser.g:11851:1: ( ( RULE_TRANSITIVE_CLOSURE ) ) + // InternalSolverLanguageParser.g:11852:2: ( RULE_TRANSITIVE_CLOSURE ) { - // InternalSolverLanguageParser.g:10220:2: ( RULE_REFLEXIVE_TRANSITIVE_CLOSURE ) - // InternalSolverLanguageParser.g:10221:3: RULE_REFLEXIVE_TRANSITIVE_CLOSURE + // InternalSolverLanguageParser.g:11852:2: ( RULE_TRANSITIVE_CLOSURE ) + // InternalSolverLanguageParser.g:11853:3: RULE_TRANSITIVE_CLOSURE { - before(grammarAccess.getCallAccess().getReflexiveTransitiveClosureREFLEXIVE_TRANSITIVE_CLOSURETerminalRuleCall_1_1_0()); - match(input,RULE_REFLEXIVE_TRANSITIVE_CLOSURE,FOLLOW_2); - after(grammarAccess.getCallAccess().getReflexiveTransitiveClosureREFLEXIVE_TRANSITIVE_CLOSURETerminalRuleCall_1_1_0()); + before(grammarAccess.getPathComponentAccess().getTransitiveClosureTRANSITIVE_CLOSURETerminalRuleCall_2_0_0()); + match(input,RULE_TRANSITIVE_CLOSURE,FOLLOW_2); + after(grammarAccess.getPathComponentAccess().getTransitiveClosureTRANSITIVE_CLOSURETerminalRuleCall_2_0_0()); } @@ -30942,29 +35850,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Call__ReflexiveTransitiveClosureAssignment_1_1" + // $ANTLR end "rule__PathComponent__TransitiveClosureAssignment_2_0" - // $ANTLR start "rule__Call__ArgumentListAssignment_2" - // InternalSolverLanguageParser.g:10230:1: rule__Call__ArgumentListAssignment_2 : ( ruleArgumentList ) ; - public final void rule__Call__ArgumentListAssignment_2() throws RecognitionException { + // $ANTLR start "rule__PathComponent__ReflexiveTransitiveClosureAssignment_2_1" + // InternalSolverLanguageParser.g:11862:1: rule__PathComponent__ReflexiveTransitiveClosureAssignment_2_1 : ( RULE_REFLEXIVE_TRANSITIVE_CLOSURE ) ; + public final void rule__PathComponent__ReflexiveTransitiveClosureAssignment_2_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:10234:1: ( ( ruleArgumentList ) ) - // InternalSolverLanguageParser.g:10235:2: ( ruleArgumentList ) + // InternalSolverLanguageParser.g:11866:1: ( ( RULE_REFLEXIVE_TRANSITIVE_CLOSURE ) ) + // InternalSolverLanguageParser.g:11867:2: ( RULE_REFLEXIVE_TRANSITIVE_CLOSURE ) { - // InternalSolverLanguageParser.g:10235:2: ( ruleArgumentList ) - // InternalSolverLanguageParser.g:10236:3: ruleArgumentList + // InternalSolverLanguageParser.g:11867:2: ( RULE_REFLEXIVE_TRANSITIVE_CLOSURE ) + // InternalSolverLanguageParser.g:11868:3: RULE_REFLEXIVE_TRANSITIVE_CLOSURE { - before(grammarAccess.getCallAccess().getArgumentListArgumentListParserRuleCall_2_0()); - pushFollow(FOLLOW_2); - ruleArgumentList(); - - state._fsp--; - - after(grammarAccess.getCallAccess().getArgumentListArgumentListParserRuleCall_2_0()); + before(grammarAccess.getPathComponentAccess().getReflexiveTransitiveClosureREFLEXIVE_TRANSITIVE_CLOSURETerminalRuleCall_2_1_0()); + match(input,RULE_REFLEXIVE_TRANSITIVE_CLOSURE,FOLLOW_2); + after(grammarAccess.getPathComponentAccess().getReflexiveTransitiveClosureREFLEXIVE_TRANSITIVE_CLOSURETerminalRuleCall_2_1_0()); } @@ -30983,29 +35887,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Call__ArgumentListAssignment_2" + // $ANTLR end "rule__PathComponent__ReflexiveTransitiveClosureAssignment_2_1" - // $ANTLR start "rule__ArgumentList__ArgumentsAssignment_2_0" - // InternalSolverLanguageParser.g:10245:1: rule__ArgumentList__ArgumentsAssignment_2_0 : ( ruleArgument ) ; - public final void rule__ArgumentList__ArgumentsAssignment_2_0() throws RecognitionException { + // $ANTLR start "rule__Interval__LowerBoundAssignment_1" + // InternalSolverLanguageParser.g:11877:1: rule__Interval__LowerBoundAssignment_1 : ( ruleAdditiveExpression ) ; + public final void rule__Interval__LowerBoundAssignment_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:10249:1: ( ( ruleArgument ) ) - // InternalSolverLanguageParser.g:10250:2: ( ruleArgument ) + // InternalSolverLanguageParser.g:11881:1: ( ( ruleAdditiveExpression ) ) + // InternalSolverLanguageParser.g:11882:2: ( ruleAdditiveExpression ) { - // InternalSolverLanguageParser.g:10250:2: ( ruleArgument ) - // InternalSolverLanguageParser.g:10251:3: ruleArgument + // InternalSolverLanguageParser.g:11882:2: ( ruleAdditiveExpression ) + // InternalSolverLanguageParser.g:11883:3: ruleAdditiveExpression { - before(grammarAccess.getArgumentListAccess().getArgumentsArgumentParserRuleCall_2_0_0()); + before(grammarAccess.getIntervalAccess().getLowerBoundAdditiveExpressionParserRuleCall_1_0()); pushFollow(FOLLOW_2); - ruleArgument(); + ruleAdditiveExpression(); state._fsp--; - after(grammarAccess.getArgumentListAccess().getArgumentsArgumentParserRuleCall_2_0_0()); + after(grammarAccess.getIntervalAccess().getLowerBoundAdditiveExpressionParserRuleCall_1_0()); } @@ -31024,29 +35928,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ArgumentList__ArgumentsAssignment_2_0" + // $ANTLR end "rule__Interval__LowerBoundAssignment_1" - // $ANTLR start "rule__ArgumentList__ArgumentsAssignment_2_1_1" - // InternalSolverLanguageParser.g:10260:1: rule__ArgumentList__ArgumentsAssignment_2_1_1 : ( ruleArgument ) ; - public final void rule__ArgumentList__ArgumentsAssignment_2_1_1() throws RecognitionException { + // $ANTLR start "rule__Interval__UpperBoundAssignment_3" + // InternalSolverLanguageParser.g:11892:1: rule__Interval__UpperBoundAssignment_3 : ( ruleAdditiveExpression ) ; + public final void rule__Interval__UpperBoundAssignment_3() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:10264:1: ( ( ruleArgument ) ) - // InternalSolverLanguageParser.g:10265:2: ( ruleArgument ) + // InternalSolverLanguageParser.g:11896:1: ( ( ruleAdditiveExpression ) ) + // InternalSolverLanguageParser.g:11897:2: ( ruleAdditiveExpression ) { - // InternalSolverLanguageParser.g:10265:2: ( ruleArgument ) - // InternalSolverLanguageParser.g:10266:3: ruleArgument + // InternalSolverLanguageParser.g:11897:2: ( ruleAdditiveExpression ) + // InternalSolverLanguageParser.g:11898:3: ruleAdditiveExpression { - before(grammarAccess.getArgumentListAccess().getArgumentsArgumentParserRuleCall_2_1_1_0()); + before(grammarAccess.getIntervalAccess().getUpperBoundAdditiveExpressionParserRuleCall_3_0()); pushFollow(FOLLOW_2); - ruleArgument(); + ruleAdditiveExpression(); state._fsp--; - after(grammarAccess.getArgumentListAccess().getArgumentsArgumentParserRuleCall_2_1_1_0()); + after(grammarAccess.getIntervalAccess().getUpperBoundAdditiveExpressionParserRuleCall_3_0()); } @@ -31065,29 +35969,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ArgumentList__ArgumentsAssignment_2_1_1" + // $ANTLR end "rule__Interval__UpperBoundAssignment_3" - // $ANTLR start "rule__ExpressionArgument__BodyAssignment" - // InternalSolverLanguageParser.g:10275:1: rule__ExpressionArgument__BodyAssignment : ( ruleComparisonExpression ) ; - public final void rule__ExpressionArgument__BodyAssignment() throws RecognitionException { + // $ANTLR start "rule__LogicLiteral__ValueAssignment" + // InternalSolverLanguageParser.g:11907:1: rule__LogicLiteral__ValueAssignment : ( ruleLogicValue ) ; + public final void rule__LogicLiteral__ValueAssignment() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:10279:1: ( ( ruleComparisonExpression ) ) - // InternalSolverLanguageParser.g:10280:2: ( ruleComparisonExpression ) + // InternalSolverLanguageParser.g:11911:1: ( ( ruleLogicValue ) ) + // InternalSolverLanguageParser.g:11912:2: ( ruleLogicValue ) { - // InternalSolverLanguageParser.g:10280:2: ( ruleComparisonExpression ) - // InternalSolverLanguageParser.g:10281:3: ruleComparisonExpression + // InternalSolverLanguageParser.g:11912:2: ( ruleLogicValue ) + // InternalSolverLanguageParser.g:11913:3: ruleLogicValue { - before(grammarAccess.getExpressionArgumentAccess().getBodyComparisonExpressionParserRuleCall_0()); + before(grammarAccess.getLogicLiteralAccess().getValueLogicValueEnumRuleCall_0()); pushFollow(FOLLOW_2); - ruleComparisonExpression(); + ruleLogicValue(); state._fsp--; - after(grammarAccess.getExpressionArgumentAccess().getBodyComparisonExpressionParserRuleCall_0()); + after(grammarAccess.getLogicLiteralAccess().getValueLogicValueEnumRuleCall_0()); } @@ -31106,37 +36010,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ExpressionArgument__BodyAssignment" + // $ANTLR end "rule__LogicLiteral__ValueAssignment" - // $ANTLR start "rule__TypedArgument__TypeAssignment_0" - // InternalSolverLanguageParser.g:10290:1: rule__TypedArgument__TypeAssignment_0 : ( ( ruleQualifiedName ) ) ; - public final void rule__TypedArgument__TypeAssignment_0() throws RecognitionException { + // $ANTLR start "rule__IntLiteral__ValueAssignment" + // InternalSolverLanguageParser.g:11922:1: rule__IntLiteral__ValueAssignment : ( RULE_INT ) ; + public final void rule__IntLiteral__ValueAssignment() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:10294:1: ( ( ( ruleQualifiedName ) ) ) - // InternalSolverLanguageParser.g:10295:2: ( ( ruleQualifiedName ) ) - { - // InternalSolverLanguageParser.g:10295:2: ( ( ruleQualifiedName ) ) - // InternalSolverLanguageParser.g:10296:3: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:11926:1: ( ( RULE_INT ) ) + // InternalSolverLanguageParser.g:11927:2: ( RULE_INT ) { - before(grammarAccess.getTypedArgumentAccess().getTypeNamedElementCrossReference_0_0()); - // InternalSolverLanguageParser.g:10297:3: ( ruleQualifiedName ) - // InternalSolverLanguageParser.g:10298:4: ruleQualifiedName + // InternalSolverLanguageParser.g:11927:2: ( RULE_INT ) + // InternalSolverLanguageParser.g:11928:3: RULE_INT { - before(grammarAccess.getTypedArgumentAccess().getTypeNamedElementQualifiedNameParserRuleCall_0_0_1()); - pushFollow(FOLLOW_2); - ruleQualifiedName(); - - state._fsp--; - - after(grammarAccess.getTypedArgumentAccess().getTypeNamedElementQualifiedNameParserRuleCall_0_0_1()); - - } - - after(grammarAccess.getTypedArgumentAccess().getTypeNamedElementCrossReference_0_0()); + before(grammarAccess.getIntLiteralAccess().getValueINTTerminalRuleCall_0()); + match(input,RULE_INT,FOLLOW_2); + after(grammarAccess.getIntLiteralAccess().getValueINTTerminalRuleCall_0()); } @@ -31155,37 +36047,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__TypedArgument__TypeAssignment_0" + // $ANTLR end "rule__IntLiteral__ValueAssignment" - // $ANTLR start "rule__TypedArgument__VariableAssignment_1" - // InternalSolverLanguageParser.g:10309:1: rule__TypedArgument__VariableAssignment_1 : ( ( ruleQualifiedName ) ) ; - public final void rule__TypedArgument__VariableAssignment_1() throws RecognitionException { + // $ANTLR start "rule__RealLiteral__ValueAssignment" + // InternalSolverLanguageParser.g:11937:1: rule__RealLiteral__ValueAssignment : ( ruleReal ) ; + public final void rule__RealLiteral__ValueAssignment() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:10313:1: ( ( ( ruleQualifiedName ) ) ) - // InternalSolverLanguageParser.g:10314:2: ( ( ruleQualifiedName ) ) - { - // InternalSolverLanguageParser.g:10314:2: ( ( ruleQualifiedName ) ) - // InternalSolverLanguageParser.g:10315:3: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:11941:1: ( ( ruleReal ) ) + // InternalSolverLanguageParser.g:11942:2: ( ruleReal ) { - before(grammarAccess.getTypedArgumentAccess().getVariableNamedElementCrossReference_1_0()); - // InternalSolverLanguageParser.g:10316:3: ( ruleQualifiedName ) - // InternalSolverLanguageParser.g:10317:4: ruleQualifiedName + // InternalSolverLanguageParser.g:11942:2: ( ruleReal ) + // InternalSolverLanguageParser.g:11943:3: ruleReal { - before(grammarAccess.getTypedArgumentAccess().getVariableNamedElementQualifiedNameParserRuleCall_1_0_1()); + before(grammarAccess.getRealLiteralAccess().getValueRealParserRuleCall_0()); pushFollow(FOLLOW_2); - ruleQualifiedName(); + ruleReal(); state._fsp--; - after(grammarAccess.getTypedArgumentAccess().getVariableNamedElementQualifiedNameParserRuleCall_1_0_1()); - - } - - after(grammarAccess.getTypedArgumentAccess().getVariableNamedElementCrossReference_1_0()); + after(grammarAccess.getRealLiteralAccess().getValueRealParserRuleCall_0()); } @@ -31204,37 +36088,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__TypedArgument__VariableAssignment_1" + // $ANTLR end "rule__RealLiteral__ValueAssignment" - // $ANTLR start "rule__TypedStarArgument__TypeAssignment_0" - // InternalSolverLanguageParser.g:10328:1: rule__TypedStarArgument__TypeAssignment_0 : ( ( ruleQualifiedName ) ) ; - public final void rule__TypedStarArgument__TypeAssignment_0() throws RecognitionException { + // $ANTLR start "rule__StringLiteral__ValueAssignment" + // InternalSolverLanguageParser.g:11952:1: rule__StringLiteral__ValueAssignment : ( RULE_STRING ) ; + public final void rule__StringLiteral__ValueAssignment() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:10332:1: ( ( ( ruleQualifiedName ) ) ) - // InternalSolverLanguageParser.g:10333:2: ( ( ruleQualifiedName ) ) - { - // InternalSolverLanguageParser.g:10333:2: ( ( ruleQualifiedName ) ) - // InternalSolverLanguageParser.g:10334:3: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:11956:1: ( ( RULE_STRING ) ) + // InternalSolverLanguageParser.g:11957:2: ( RULE_STRING ) { - before(grammarAccess.getTypedStarArgumentAccess().getTypeNamedElementCrossReference_0_0()); - // InternalSolverLanguageParser.g:10335:3: ( ruleQualifiedName ) - // InternalSolverLanguageParser.g:10336:4: ruleQualifiedName + // InternalSolverLanguageParser.g:11957:2: ( RULE_STRING ) + // InternalSolverLanguageParser.g:11958:3: RULE_STRING { - before(grammarAccess.getTypedStarArgumentAccess().getTypeNamedElementQualifiedNameParserRuleCall_0_0_1()); - pushFollow(FOLLOW_2); - ruleQualifiedName(); - - state._fsp--; - - after(grammarAccess.getTypedStarArgumentAccess().getTypeNamedElementQualifiedNameParserRuleCall_0_0_1()); - - } - - after(grammarAccess.getTypedStarArgumentAccess().getTypeNamedElementCrossReference_0_0()); + before(grammarAccess.getStringLiteralAccess().getValueSTRINGTerminalRuleCall_0()); + match(input,RULE_STRING,FOLLOW_2); + after(grammarAccess.getStringLiteralAccess().getValueSTRINGTerminalRuleCall_0()); } @@ -31253,37 +36125,33 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__TypedStarArgument__TypeAssignment_0" + // $ANTLR end "rule__StringLiteral__ValueAssignment" - // $ANTLR start "rule__Reference__ReferredAssignment" - // InternalSolverLanguageParser.g:10347:1: rule__Reference__ReferredAssignment : ( ( ruleQualifiedName ) ) ; - public final void rule__Reference__ReferredAssignment() throws RecognitionException { + // $ANTLR start "rule__ClassDeclaration__AbstractAssignment_0_0" + // InternalSolverLanguageParser.g:11967:1: rule__ClassDeclaration__AbstractAssignment_0_0 : ( ( Abstract ) ) ; + public final void rule__ClassDeclaration__AbstractAssignment_0_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:10351:1: ( ( ( ruleQualifiedName ) ) ) - // InternalSolverLanguageParser.g:10352:2: ( ( ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:11971:1: ( ( ( Abstract ) ) ) + // InternalSolverLanguageParser.g:11972:2: ( ( Abstract ) ) { - // InternalSolverLanguageParser.g:10352:2: ( ( ruleQualifiedName ) ) - // InternalSolverLanguageParser.g:10353:3: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:11972:2: ( ( Abstract ) ) + // InternalSolverLanguageParser.g:11973:3: ( Abstract ) { - before(grammarAccess.getReferenceAccess().getReferredNamedElementCrossReference_0()); - // InternalSolverLanguageParser.g:10354:3: ( ruleQualifiedName ) - // InternalSolverLanguageParser.g:10355:4: ruleQualifiedName + before(grammarAccess.getClassDeclarationAccess().getAbstractAbstractKeyword_0_0_0()); + // InternalSolverLanguageParser.g:11974:3: ( Abstract ) + // InternalSolverLanguageParser.g:11975:4: Abstract { - before(grammarAccess.getReferenceAccess().getReferredNamedElementQualifiedNameParserRuleCall_0_1()); - pushFollow(FOLLOW_2); - ruleQualifiedName(); - - state._fsp--; - - after(grammarAccess.getReferenceAccess().getReferredNamedElementQualifiedNameParserRuleCall_0_1()); + before(grammarAccess.getClassDeclarationAccess().getAbstractAbstractKeyword_0_0_0()); + match(input,Abstract,FOLLOW_2); + after(grammarAccess.getClassDeclarationAccess().getAbstractAbstractKeyword_0_0_0()); } - after(grammarAccess.getReferenceAccess().getReferredNamedElementCrossReference_0()); + after(grammarAccess.getClassDeclarationAccess().getAbstractAbstractKeyword_0_0_0()); } @@ -31302,29 +36170,33 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Reference__ReferredAssignment" + // $ANTLR end "rule__ClassDeclaration__AbstractAssignment_0_0" - // $ANTLR start "rule__Interval__LowerBoundAssignment_1" - // InternalSolverLanguageParser.g:10366:1: rule__Interval__LowerBoundAssignment_1 : ( ruleExpression ) ; - public final void rule__Interval__LowerBoundAssignment_1() throws RecognitionException { + // $ANTLR start "rule__ClassDeclaration__RootAssignment_0_1" + // InternalSolverLanguageParser.g:11986:1: rule__ClassDeclaration__RootAssignment_0_1 : ( ( Root ) ) ; + public final void rule__ClassDeclaration__RootAssignment_0_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:10370:1: ( ( ruleExpression ) ) - // InternalSolverLanguageParser.g:10371:2: ( ruleExpression ) + // InternalSolverLanguageParser.g:11990:1: ( ( ( Root ) ) ) + // InternalSolverLanguageParser.g:11991:2: ( ( Root ) ) { - // InternalSolverLanguageParser.g:10371:2: ( ruleExpression ) - // InternalSolverLanguageParser.g:10372:3: ruleExpression + // InternalSolverLanguageParser.g:11991:2: ( ( Root ) ) + // InternalSolverLanguageParser.g:11992:3: ( Root ) { - before(grammarAccess.getIntervalAccess().getLowerBoundExpressionParserRuleCall_1_0()); - pushFollow(FOLLOW_2); - ruleExpression(); + before(grammarAccess.getClassDeclarationAccess().getRootRootKeyword_0_1_0()); + // InternalSolverLanguageParser.g:11993:3: ( Root ) + // InternalSolverLanguageParser.g:11994:4: Root + { + before(grammarAccess.getClassDeclarationAccess().getRootRootKeyword_0_1_0()); + match(input,Root,FOLLOW_2); + after(grammarAccess.getClassDeclarationAccess().getRootRootKeyword_0_1_0()); - state._fsp--; + } - after(grammarAccess.getIntervalAccess().getLowerBoundExpressionParserRuleCall_1_0()); + after(grammarAccess.getClassDeclarationAccess().getRootRootKeyword_0_1_0()); } @@ -31343,29 +36215,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Interval__LowerBoundAssignment_1" + // $ANTLR end "rule__ClassDeclaration__RootAssignment_0_1" - // $ANTLR start "rule__Interval__UpperBoundAssignment_3" - // InternalSolverLanguageParser.g:10381:1: rule__Interval__UpperBoundAssignment_3 : ( ruleExpression ) ; - public final void rule__Interval__UpperBoundAssignment_3() throws RecognitionException { + // $ANTLR start "rule__ClassDeclaration__NameAssignment_2" + // InternalSolverLanguageParser.g:12005:1: rule__ClassDeclaration__NameAssignment_2 : ( RULE_ID ) ; + public final void rule__ClassDeclaration__NameAssignment_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:10385:1: ( ( ruleExpression ) ) - // InternalSolverLanguageParser.g:10386:2: ( ruleExpression ) + // InternalSolverLanguageParser.g:12009:1: ( ( RULE_ID ) ) + // InternalSolverLanguageParser.g:12010:2: ( RULE_ID ) { - // InternalSolverLanguageParser.g:10386:2: ( ruleExpression ) - // InternalSolverLanguageParser.g:10387:3: ruleExpression + // InternalSolverLanguageParser.g:12010:2: ( RULE_ID ) + // InternalSolverLanguageParser.g:12011:3: RULE_ID { - before(grammarAccess.getIntervalAccess().getUpperBoundExpressionParserRuleCall_3_0()); - pushFollow(FOLLOW_2); - ruleExpression(); - - state._fsp--; - - after(grammarAccess.getIntervalAccess().getUpperBoundExpressionParserRuleCall_3_0()); + before(grammarAccess.getClassDeclarationAccess().getNameIDTerminalRuleCall_2_0()); + match(input,RULE_ID,FOLLOW_2); + after(grammarAccess.getClassDeclarationAccess().getNameIDTerminalRuleCall_2_0()); } @@ -31384,29 +36252,37 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__Interval__UpperBoundAssignment_3" + // $ANTLR end "rule__ClassDeclaration__NameAssignment_2" - // $ANTLR start "rule__LogicLiteral__ValueAssignment" - // InternalSolverLanguageParser.g:10396:1: rule__LogicLiteral__ValueAssignment : ( ruleLogicValue ) ; - public final void rule__LogicLiteral__ValueAssignment() throws RecognitionException { + // $ANTLR start "rule__ClassDeclaration__SupertypesAssignment_3_1" + // InternalSolverLanguageParser.g:12020:1: rule__ClassDeclaration__SupertypesAssignment_3_1 : ( ( ruleQualifiedName ) ) ; + public final void rule__ClassDeclaration__SupertypesAssignment_3_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:10400:1: ( ( ruleLogicValue ) ) - // InternalSolverLanguageParser.g:10401:2: ( ruleLogicValue ) + // InternalSolverLanguageParser.g:12024:1: ( ( ( ruleQualifiedName ) ) ) + // InternalSolverLanguageParser.g:12025:2: ( ( ruleQualifiedName ) ) { - // InternalSolverLanguageParser.g:10401:2: ( ruleLogicValue ) - // InternalSolverLanguageParser.g:10402:3: ruleLogicValue + // InternalSolverLanguageParser.g:12025:2: ( ( ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:12026:3: ( ruleQualifiedName ) { - before(grammarAccess.getLogicLiteralAccess().getValueLogicValueEnumRuleCall_0()); + before(grammarAccess.getClassDeclarationAccess().getSupertypesSymbolCrossReference_3_1_0()); + // InternalSolverLanguageParser.g:12027:3: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:12028:4: ruleQualifiedName + { + before(grammarAccess.getClassDeclarationAccess().getSupertypesSymbolQualifiedNameParserRuleCall_3_1_0_1()); pushFollow(FOLLOW_2); - ruleLogicValue(); + ruleQualifiedName(); state._fsp--; - after(grammarAccess.getLogicLiteralAccess().getValueLogicValueEnumRuleCall_0()); + after(grammarAccess.getClassDeclarationAccess().getSupertypesSymbolQualifiedNameParserRuleCall_3_1_0_1()); + + } + + after(grammarAccess.getClassDeclarationAccess().getSupertypesSymbolCrossReference_3_1_0()); } @@ -31425,29 +36301,37 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__LogicLiteral__ValueAssignment" + // $ANTLR end "rule__ClassDeclaration__SupertypesAssignment_3_1" - // $ANTLR start "rule__NumericLiteral__ValueAssignment" - // InternalSolverLanguageParser.g:10411:1: rule__NumericLiteral__ValueAssignment : ( ruleReal ) ; - public final void rule__NumericLiteral__ValueAssignment() throws RecognitionException { + // $ANTLR start "rule__ClassDeclaration__SupertypesAssignment_3_2_1" + // InternalSolverLanguageParser.g:12039:1: rule__ClassDeclaration__SupertypesAssignment_3_2_1 : ( ( ruleQualifiedName ) ) ; + public final void rule__ClassDeclaration__SupertypesAssignment_3_2_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:10415:1: ( ( ruleReal ) ) - // InternalSolverLanguageParser.g:10416:2: ( ruleReal ) + // InternalSolverLanguageParser.g:12043:1: ( ( ( ruleQualifiedName ) ) ) + // InternalSolverLanguageParser.g:12044:2: ( ( ruleQualifiedName ) ) { - // InternalSolverLanguageParser.g:10416:2: ( ruleReal ) - // InternalSolverLanguageParser.g:10417:3: ruleReal + // InternalSolverLanguageParser.g:12044:2: ( ( ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:12045:3: ( ruleQualifiedName ) { - before(grammarAccess.getNumericLiteralAccess().getValueRealParserRuleCall_0()); + before(grammarAccess.getClassDeclarationAccess().getSupertypesSymbolCrossReference_3_2_1_0()); + // InternalSolverLanguageParser.g:12046:3: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:12047:4: ruleQualifiedName + { + before(grammarAccess.getClassDeclarationAccess().getSupertypesSymbolQualifiedNameParserRuleCall_3_2_1_0_1()); pushFollow(FOLLOW_2); - ruleReal(); + ruleQualifiedName(); state._fsp--; - after(grammarAccess.getNumericLiteralAccess().getValueRealParserRuleCall_0()); + after(grammarAccess.getClassDeclarationAccess().getSupertypesSymbolQualifiedNameParserRuleCall_3_2_1_0_1()); + + } + + after(grammarAccess.getClassDeclarationAccess().getSupertypesSymbolCrossReference_3_2_1_0()); } @@ -31466,25 +36350,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__NumericLiteral__ValueAssignment" + // $ANTLR end "rule__ClassDeclaration__SupertypesAssignment_3_2_1" - // $ANTLR start "rule__StringLiteral__ValueAssignment" - // InternalSolverLanguageParser.g:10426:1: rule__StringLiteral__ValueAssignment : ( RULE_STRING ) ; - public final void rule__StringLiteral__ValueAssignment() throws RecognitionException { + // $ANTLR start "rule__ClassDeclaration__FieldsAssignment_4_0_1" + // InternalSolverLanguageParser.g:12058:1: rule__ClassDeclaration__FieldsAssignment_4_0_1 : ( ruleField ) ; + public final void rule__ClassDeclaration__FieldsAssignment_4_0_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:10430:1: ( ( RULE_STRING ) ) - // InternalSolverLanguageParser.g:10431:2: ( RULE_STRING ) + // InternalSolverLanguageParser.g:12062:1: ( ( ruleField ) ) + // InternalSolverLanguageParser.g:12063:2: ( ruleField ) { - // InternalSolverLanguageParser.g:10431:2: ( RULE_STRING ) - // InternalSolverLanguageParser.g:10432:3: RULE_STRING + // InternalSolverLanguageParser.g:12063:2: ( ruleField ) + // InternalSolverLanguageParser.g:12064:3: ruleField { - before(grammarAccess.getStringLiteralAccess().getValueSTRINGTerminalRuleCall_0()); - match(input,RULE_STRING,FOLLOW_2); - after(grammarAccess.getStringLiteralAccess().getValueSTRINGTerminalRuleCall_0()); + before(grammarAccess.getClassDeclarationAccess().getFieldsFieldParserRuleCall_4_0_1_0()); + pushFollow(FOLLOW_2); + ruleField(); + + state._fsp--; + + after(grammarAccess.getClassDeclarationAccess().getFieldsFieldParserRuleCall_4_0_1_0()); } @@ -31503,33 +36391,33 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__StringLiteral__ValueAssignment" + // $ANTLR end "rule__ClassDeclaration__FieldsAssignment_4_0_1" - // $ANTLR start "rule__ClassDefinition__AbstractAssignment_0" - // InternalSolverLanguageParser.g:10441:1: rule__ClassDefinition__AbstractAssignment_0 : ( ( Abstract ) ) ; - public final void rule__ClassDefinition__AbstractAssignment_0() throws RecognitionException { + // $ANTLR start "rule__Field__ContainmentAssignment_0_0" + // InternalSolverLanguageParser.g:12073:1: rule__Field__ContainmentAssignment_0_0 : ( ( Contains ) ) ; + public final void rule__Field__ContainmentAssignment_0_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:10445:1: ( ( ( Abstract ) ) ) - // InternalSolverLanguageParser.g:10446:2: ( ( Abstract ) ) + // InternalSolverLanguageParser.g:12077:1: ( ( ( Contains ) ) ) + // InternalSolverLanguageParser.g:12078:2: ( ( Contains ) ) { - // InternalSolverLanguageParser.g:10446:2: ( ( Abstract ) ) - // InternalSolverLanguageParser.g:10447:3: ( Abstract ) + // InternalSolverLanguageParser.g:12078:2: ( ( Contains ) ) + // InternalSolverLanguageParser.g:12079:3: ( Contains ) { - before(grammarAccess.getClassDefinitionAccess().getAbstractAbstractKeyword_0_0()); - // InternalSolverLanguageParser.g:10448:3: ( Abstract ) - // InternalSolverLanguageParser.g:10449:4: Abstract + before(grammarAccess.getFieldAccess().getContainmentContainsKeyword_0_0_0()); + // InternalSolverLanguageParser.g:12080:3: ( Contains ) + // InternalSolverLanguageParser.g:12081:4: Contains { - before(grammarAccess.getClassDefinitionAccess().getAbstractAbstractKeyword_0_0()); - match(input,Abstract,FOLLOW_2); - after(grammarAccess.getClassDefinitionAccess().getAbstractAbstractKeyword_0_0()); + before(grammarAccess.getFieldAccess().getContainmentContainsKeyword_0_0_0()); + match(input,Contains,FOLLOW_2); + after(grammarAccess.getFieldAccess().getContainmentContainsKeyword_0_0_0()); } - after(grammarAccess.getClassDefinitionAccess().getAbstractAbstractKeyword_0_0()); + after(grammarAccess.getFieldAccess().getContainmentContainsKeyword_0_0_0()); } @@ -31548,25 +36436,33 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ClassDefinition__AbstractAssignment_0" + // $ANTLR end "rule__Field__ContainmentAssignment_0_0" - // $ANTLR start "rule__ClassDefinition__NameAssignment_2" - // InternalSolverLanguageParser.g:10460:1: rule__ClassDefinition__NameAssignment_2 : ( RULE_ID ) ; - public final void rule__ClassDefinition__NameAssignment_2() throws RecognitionException { + // $ANTLR start "rule__Field__CrossReferenceAssignment_0_1" + // InternalSolverLanguageParser.g:12092:1: rule__Field__CrossReferenceAssignment_0_1 : ( ( Refers ) ) ; + public final void rule__Field__CrossReferenceAssignment_0_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:10464:1: ( ( RULE_ID ) ) - // InternalSolverLanguageParser.g:10465:2: ( RULE_ID ) + // InternalSolverLanguageParser.g:12096:1: ( ( ( Refers ) ) ) + // InternalSolverLanguageParser.g:12097:2: ( ( Refers ) ) { - // InternalSolverLanguageParser.g:10465:2: ( RULE_ID ) - // InternalSolverLanguageParser.g:10466:3: RULE_ID + // InternalSolverLanguageParser.g:12097:2: ( ( Refers ) ) + // InternalSolverLanguageParser.g:12098:3: ( Refers ) { - before(grammarAccess.getClassDefinitionAccess().getNameIDTerminalRuleCall_2_0()); - match(input,RULE_ID,FOLLOW_2); - after(grammarAccess.getClassDefinitionAccess().getNameIDTerminalRuleCall_2_0()); + before(grammarAccess.getFieldAccess().getCrossReferenceRefersKeyword_0_1_0()); + // InternalSolverLanguageParser.g:12099:3: ( Refers ) + // InternalSolverLanguageParser.g:12100:4: Refers + { + before(grammarAccess.getFieldAccess().getCrossReferenceRefersKeyword_0_1_0()); + match(input,Refers,FOLLOW_2); + after(grammarAccess.getFieldAccess().getCrossReferenceRefersKeyword_0_1_0()); + + } + + after(grammarAccess.getFieldAccess().getCrossReferenceRefersKeyword_0_1_0()); } @@ -31585,37 +36481,37 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ClassDefinition__NameAssignment_2" + // $ANTLR end "rule__Field__CrossReferenceAssignment_0_1" - // $ANTLR start "rule__ClassDefinition__SuperclassesAssignment_3_1" - // InternalSolverLanguageParser.g:10475:1: rule__ClassDefinition__SuperclassesAssignment_3_1 : ( ( ruleQualifiedName ) ) ; - public final void rule__ClassDefinition__SuperclassesAssignment_3_1() throws RecognitionException { + // $ANTLR start "rule__Field__TypeAssignment_1" + // InternalSolverLanguageParser.g:12111:1: rule__Field__TypeAssignment_1 : ( ( ruleQualifiedName ) ) ; + public final void rule__Field__TypeAssignment_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:10479:1: ( ( ( ruleQualifiedName ) ) ) - // InternalSolverLanguageParser.g:10480:2: ( ( ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:12115:1: ( ( ( ruleQualifiedName ) ) ) + // InternalSolverLanguageParser.g:12116:2: ( ( ruleQualifiedName ) ) { - // InternalSolverLanguageParser.g:10480:2: ( ( ruleQualifiedName ) ) - // InternalSolverLanguageParser.g:10481:3: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:12116:2: ( ( ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:12117:3: ( ruleQualifiedName ) { - before(grammarAccess.getClassDefinitionAccess().getSuperclassesNamedElementCrossReference_3_1_0()); - // InternalSolverLanguageParser.g:10482:3: ( ruleQualifiedName ) - // InternalSolverLanguageParser.g:10483:4: ruleQualifiedName + before(grammarAccess.getFieldAccess().getTypeSymbolCrossReference_1_0()); + // InternalSolverLanguageParser.g:12118:3: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:12119:4: ruleQualifiedName { - before(grammarAccess.getClassDefinitionAccess().getSuperclassesNamedElementQualifiedNameParserRuleCall_3_1_0_1()); + before(grammarAccess.getFieldAccess().getTypeSymbolQualifiedNameParserRuleCall_1_0_1()); pushFollow(FOLLOW_2); ruleQualifiedName(); state._fsp--; - after(grammarAccess.getClassDefinitionAccess().getSuperclassesNamedElementQualifiedNameParserRuleCall_3_1_0_1()); + after(grammarAccess.getFieldAccess().getTypeSymbolQualifiedNameParserRuleCall_1_0_1()); } - after(grammarAccess.getClassDefinitionAccess().getSuperclassesNamedElementCrossReference_3_1_0()); + after(grammarAccess.getFieldAccess().getTypeSymbolCrossReference_1_0()); } @@ -31634,37 +36530,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ClassDefinition__SuperclassesAssignment_3_1" + // $ANTLR end "rule__Field__TypeAssignment_1" - // $ANTLR start "rule__ClassDefinition__SuperclassesAssignment_3_2_1" - // InternalSolverLanguageParser.g:10494:1: rule__ClassDefinition__SuperclassesAssignment_3_2_1 : ( ( ruleQualifiedName ) ) ; - public final void rule__ClassDefinition__SuperclassesAssignment_3_2_1() throws RecognitionException { + // $ANTLR start "rule__Field__MultiplicityAssignment_2" + // InternalSolverLanguageParser.g:12130:1: rule__Field__MultiplicityAssignment_2 : ( ruleMultiplicity ) ; + public final void rule__Field__MultiplicityAssignment_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:10498:1: ( ( ( ruleQualifiedName ) ) ) - // InternalSolverLanguageParser.g:10499:2: ( ( ruleQualifiedName ) ) - { - // InternalSolverLanguageParser.g:10499:2: ( ( ruleQualifiedName ) ) - // InternalSolverLanguageParser.g:10500:3: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:12134:1: ( ( ruleMultiplicity ) ) + // InternalSolverLanguageParser.g:12135:2: ( ruleMultiplicity ) { - before(grammarAccess.getClassDefinitionAccess().getSuperclassesNamedElementCrossReference_3_2_1_0()); - // InternalSolverLanguageParser.g:10501:3: ( ruleQualifiedName ) - // InternalSolverLanguageParser.g:10502:4: ruleQualifiedName + // InternalSolverLanguageParser.g:12135:2: ( ruleMultiplicity ) + // InternalSolverLanguageParser.g:12136:3: ruleMultiplicity { - before(grammarAccess.getClassDefinitionAccess().getSuperclassesNamedElementQualifiedNameParserRuleCall_3_2_1_0_1()); + before(grammarAccess.getFieldAccess().getMultiplicityMultiplicityParserRuleCall_2_0()); pushFollow(FOLLOW_2); - ruleQualifiedName(); + ruleMultiplicity(); state._fsp--; - after(grammarAccess.getClassDefinitionAccess().getSuperclassesNamedElementQualifiedNameParserRuleCall_3_2_1_0_1()); - - } - - after(grammarAccess.getClassDefinitionAccess().getSuperclassesNamedElementCrossReference_3_2_1_0()); + after(grammarAccess.getFieldAccess().getMultiplicityMultiplicityParserRuleCall_2_0()); } @@ -31683,29 +36571,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ClassDefinition__SuperclassesAssignment_3_2_1" + // $ANTLR end "rule__Field__MultiplicityAssignment_2" - // $ANTLR start "rule__ClassDefinition__MembersAssignment_5" - // InternalSolverLanguageParser.g:10513:1: rule__ClassDefinition__MembersAssignment_5 : ( ruleMemberDefinition ) ; - public final void rule__ClassDefinition__MembersAssignment_5() throws RecognitionException { + // $ANTLR start "rule__Field__NameAssignment_3" + // InternalSolverLanguageParser.g:12145:1: rule__Field__NameAssignment_3 : ( RULE_ID ) ; + public final void rule__Field__NameAssignment_3() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:10517:1: ( ( ruleMemberDefinition ) ) - // InternalSolverLanguageParser.g:10518:2: ( ruleMemberDefinition ) + // InternalSolverLanguageParser.g:12149:1: ( ( RULE_ID ) ) + // InternalSolverLanguageParser.g:12150:2: ( RULE_ID ) { - // InternalSolverLanguageParser.g:10518:2: ( ruleMemberDefinition ) - // InternalSolverLanguageParser.g:10519:3: ruleMemberDefinition + // InternalSolverLanguageParser.g:12150:2: ( RULE_ID ) + // InternalSolverLanguageParser.g:12151:3: RULE_ID { - before(grammarAccess.getClassDefinitionAccess().getMembersMemberDefinitionParserRuleCall_5_0()); - pushFollow(FOLLOW_2); - ruleMemberDefinition(); - - state._fsp--; - - after(grammarAccess.getClassDefinitionAccess().getMembersMemberDefinitionParserRuleCall_5_0()); + before(grammarAccess.getFieldAccess().getNameIDTerminalRuleCall_3_0()); + match(input,RULE_ID,FOLLOW_2); + after(grammarAccess.getFieldAccess().getNameIDTerminalRuleCall_3_0()); } @@ -31724,33 +36608,37 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ClassDefinition__MembersAssignment_5" + // $ANTLR end "rule__Field__NameAssignment_3" - // $ANTLR start "rule__MemberDefinition__ContainmentAssignment_0" - // InternalSolverLanguageParser.g:10528:1: rule__MemberDefinition__ContainmentAssignment_0 : ( ( Contains ) ) ; - public final void rule__MemberDefinition__ContainmentAssignment_0() throws RecognitionException { + // $ANTLR start "rule__Field__OppositeAssignment_4_1" + // InternalSolverLanguageParser.g:12160:1: rule__Field__OppositeAssignment_4_1 : ( ( ruleQualifiedName ) ) ; + public final void rule__Field__OppositeAssignment_4_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:10532:1: ( ( ( Contains ) ) ) - // InternalSolverLanguageParser.g:10533:2: ( ( Contains ) ) + // InternalSolverLanguageParser.g:12164:1: ( ( ( ruleQualifiedName ) ) ) + // InternalSolverLanguageParser.g:12165:2: ( ( ruleQualifiedName ) ) { - // InternalSolverLanguageParser.g:10533:2: ( ( Contains ) ) - // InternalSolverLanguageParser.g:10534:3: ( Contains ) + // InternalSolverLanguageParser.g:12165:2: ( ( ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:12166:3: ( ruleQualifiedName ) { - before(grammarAccess.getMemberDefinitionAccess().getContainmentContainsKeyword_0_0()); - // InternalSolverLanguageParser.g:10535:3: ( Contains ) - // InternalSolverLanguageParser.g:10536:4: Contains + before(grammarAccess.getFieldAccess().getOppositeSymbolCrossReference_4_1_0()); + // InternalSolverLanguageParser.g:12167:3: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:12168:4: ruleQualifiedName { - before(grammarAccess.getMemberDefinitionAccess().getContainmentContainsKeyword_0_0()); - match(input,Contains,FOLLOW_2); - after(grammarAccess.getMemberDefinitionAccess().getContainmentContainsKeyword_0_0()); + before(grammarAccess.getFieldAccess().getOppositeSymbolQualifiedNameParserRuleCall_4_1_0_1()); + pushFollow(FOLLOW_2); + ruleQualifiedName(); + + state._fsp--; + + after(grammarAccess.getFieldAccess().getOppositeSymbolQualifiedNameParserRuleCall_4_1_0_1()); } - after(grammarAccess.getMemberDefinitionAccess().getContainmentContainsKeyword_0_0()); + after(grammarAccess.getFieldAccess().getOppositeSymbolCrossReference_4_1_0()); } @@ -31769,37 +36657,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__MemberDefinition__ContainmentAssignment_0" + // $ANTLR end "rule__Field__OppositeAssignment_4_1" - // $ANTLR start "rule__MemberDefinition__TypeAssignment_1" - // InternalSolverLanguageParser.g:10547:1: rule__MemberDefinition__TypeAssignment_1 : ( ( ruleQualifiedName ) ) ; - public final void rule__MemberDefinition__TypeAssignment_1() throws RecognitionException { + // $ANTLR start "rule__ExactMultiplicity__ValueAssignment_1" + // InternalSolverLanguageParser.g:12179:1: rule__ExactMultiplicity__ValueAssignment_1 : ( ruleUpperMultiplicty ) ; + public final void rule__ExactMultiplicity__ValueAssignment_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:10551:1: ( ( ( ruleQualifiedName ) ) ) - // InternalSolverLanguageParser.g:10552:2: ( ( ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:12183:1: ( ( ruleUpperMultiplicty ) ) + // InternalSolverLanguageParser.g:12184:2: ( ruleUpperMultiplicty ) { - // InternalSolverLanguageParser.g:10552:2: ( ( ruleQualifiedName ) ) - // InternalSolverLanguageParser.g:10553:3: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:12184:2: ( ruleUpperMultiplicty ) + // InternalSolverLanguageParser.g:12185:3: ruleUpperMultiplicty { - before(grammarAccess.getMemberDefinitionAccess().getTypeNamedElementCrossReference_1_0()); - // InternalSolverLanguageParser.g:10554:3: ( ruleQualifiedName ) - // InternalSolverLanguageParser.g:10555:4: ruleQualifiedName - { - before(grammarAccess.getMemberDefinitionAccess().getTypeNamedElementQualifiedNameParserRuleCall_1_0_1()); + before(grammarAccess.getExactMultiplicityAccess().getValueUpperMultiplictyParserRuleCall_1_0()); pushFollow(FOLLOW_2); - ruleQualifiedName(); + ruleUpperMultiplicty(); state._fsp--; - after(grammarAccess.getMemberDefinitionAccess().getTypeNamedElementQualifiedNameParserRuleCall_1_0_1()); - - } - - after(grammarAccess.getMemberDefinitionAccess().getTypeNamedElementCrossReference_1_0()); + after(grammarAccess.getExactMultiplicityAccess().getValueUpperMultiplictyParserRuleCall_1_0()); } @@ -31818,29 +36698,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__MemberDefinition__TypeAssignment_1" + // $ANTLR end "rule__ExactMultiplicity__ValueAssignment_1" - // $ANTLR start "rule__MemberDefinition__MultiplicityAssignment_2" - // InternalSolverLanguageParser.g:10566:1: rule__MemberDefinition__MultiplicityAssignment_2 : ( ruleMultiplicity ) ; - public final void rule__MemberDefinition__MultiplicityAssignment_2() throws RecognitionException { + // $ANTLR start "rule__BoundedMultiplicity__LowerBoundAssignment_1" + // InternalSolverLanguageParser.g:12194:1: rule__BoundedMultiplicity__LowerBoundAssignment_1 : ( RULE_INT ) ; + public final void rule__BoundedMultiplicity__LowerBoundAssignment_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:10570:1: ( ( ruleMultiplicity ) ) - // InternalSolverLanguageParser.g:10571:2: ( ruleMultiplicity ) + // InternalSolverLanguageParser.g:12198:1: ( ( RULE_INT ) ) + // InternalSolverLanguageParser.g:12199:2: ( RULE_INT ) { - // InternalSolverLanguageParser.g:10571:2: ( ruleMultiplicity ) - // InternalSolverLanguageParser.g:10572:3: ruleMultiplicity + // InternalSolverLanguageParser.g:12199:2: ( RULE_INT ) + // InternalSolverLanguageParser.g:12200:3: RULE_INT { - before(grammarAccess.getMemberDefinitionAccess().getMultiplicityMultiplicityParserRuleCall_2_0()); - pushFollow(FOLLOW_2); - ruleMultiplicity(); - - state._fsp--; - - after(grammarAccess.getMemberDefinitionAccess().getMultiplicityMultiplicityParserRuleCall_2_0()); + before(grammarAccess.getBoundedMultiplicityAccess().getLowerBoundINTTerminalRuleCall_1_0()); + match(input,RULE_INT,FOLLOW_2); + after(grammarAccess.getBoundedMultiplicityAccess().getLowerBoundINTTerminalRuleCall_1_0()); } @@ -31859,25 +36735,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__MemberDefinition__MultiplicityAssignment_2" + // $ANTLR end "rule__BoundedMultiplicity__LowerBoundAssignment_1" - // $ANTLR start "rule__MemberDefinition__NameAssignment_3" - // InternalSolverLanguageParser.g:10581:1: rule__MemberDefinition__NameAssignment_3 : ( RULE_ID ) ; - public final void rule__MemberDefinition__NameAssignment_3() throws RecognitionException { + // $ANTLR start "rule__BoundedMultiplicity__UpperBoundAssignment_3" + // InternalSolverLanguageParser.g:12209:1: rule__BoundedMultiplicity__UpperBoundAssignment_3 : ( ruleUpperMultiplicty ) ; + public final void rule__BoundedMultiplicity__UpperBoundAssignment_3() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:10585:1: ( ( RULE_ID ) ) - // InternalSolverLanguageParser.g:10586:2: ( RULE_ID ) + // InternalSolverLanguageParser.g:12213:1: ( ( ruleUpperMultiplicty ) ) + // InternalSolverLanguageParser.g:12214:2: ( ruleUpperMultiplicty ) { - // InternalSolverLanguageParser.g:10586:2: ( RULE_ID ) - // InternalSolverLanguageParser.g:10587:3: RULE_ID + // InternalSolverLanguageParser.g:12214:2: ( ruleUpperMultiplicty ) + // InternalSolverLanguageParser.g:12215:3: ruleUpperMultiplicty { - before(grammarAccess.getMemberDefinitionAccess().getNameIDTerminalRuleCall_3_0()); - match(input,RULE_ID,FOLLOW_2); - after(grammarAccess.getMemberDefinitionAccess().getNameIDTerminalRuleCall_3_0()); + before(grammarAccess.getBoundedMultiplicityAccess().getUpperBoundUpperMultiplictyParserRuleCall_3_0()); + pushFollow(FOLLOW_2); + ruleUpperMultiplicty(); + + state._fsp--; + + after(grammarAccess.getBoundedMultiplicityAccess().getUpperBoundUpperMultiplictyParserRuleCall_3_0()); } @@ -31896,37 +36776,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__MemberDefinition__NameAssignment_3" + // $ANTLR end "rule__BoundedMultiplicity__UpperBoundAssignment_3" - // $ANTLR start "rule__MemberDefinition__OppositeAssignment_4_1" - // InternalSolverLanguageParser.g:10596:1: rule__MemberDefinition__OppositeAssignment_4_1 : ( ( ruleQualifiedName ) ) ; - public final void rule__MemberDefinition__OppositeAssignment_4_1() throws RecognitionException { + // $ANTLR start "rule__EnumDeclaration__NameAssignment_1" + // InternalSolverLanguageParser.g:12224:1: rule__EnumDeclaration__NameAssignment_1 : ( RULE_ID ) ; + public final void rule__EnumDeclaration__NameAssignment_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:10600:1: ( ( ( ruleQualifiedName ) ) ) - // InternalSolverLanguageParser.g:10601:2: ( ( ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:12228:1: ( ( RULE_ID ) ) + // InternalSolverLanguageParser.g:12229:2: ( RULE_ID ) { - // InternalSolverLanguageParser.g:10601:2: ( ( ruleQualifiedName ) ) - // InternalSolverLanguageParser.g:10602:3: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:12229:2: ( RULE_ID ) + // InternalSolverLanguageParser.g:12230:3: RULE_ID { - before(grammarAccess.getMemberDefinitionAccess().getOppositeNamedElementCrossReference_4_1_0()); - // InternalSolverLanguageParser.g:10603:3: ( ruleQualifiedName ) - // InternalSolverLanguageParser.g:10604:4: ruleQualifiedName - { - before(grammarAccess.getMemberDefinitionAccess().getOppositeNamedElementQualifiedNameParserRuleCall_4_1_0_1()); - pushFollow(FOLLOW_2); - ruleQualifiedName(); - - state._fsp--; - - after(grammarAccess.getMemberDefinitionAccess().getOppositeNamedElementQualifiedNameParserRuleCall_4_1_0_1()); - - } - - after(grammarAccess.getMemberDefinitionAccess().getOppositeNamedElementCrossReference_4_1_0()); + before(grammarAccess.getEnumDeclarationAccess().getNameIDTerminalRuleCall_1_0()); + match(input,RULE_ID,FOLLOW_2); + after(grammarAccess.getEnumDeclarationAccess().getNameIDTerminalRuleCall_1_0()); } @@ -31945,29 +36813,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__MemberDefinition__OppositeAssignment_4_1" + // $ANTLR end "rule__EnumDeclaration__NameAssignment_1" - // $ANTLR start "rule__ExactMultiplicity__MultiplicityAssignment_1" - // InternalSolverLanguageParser.g:10615:1: rule__ExactMultiplicity__MultiplicityAssignment_1 : ( ruleUpperMultiplicty ) ; - public final void rule__ExactMultiplicity__MultiplicityAssignment_1() throws RecognitionException { + // $ANTLR start "rule__EnumDeclaration__LiteralsAssignment_2_0_1_0" + // InternalSolverLanguageParser.g:12239:1: rule__EnumDeclaration__LiteralsAssignment_2_0_1_0 : ( ruleEnumLiteral ) ; + public final void rule__EnumDeclaration__LiteralsAssignment_2_0_1_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:10619:1: ( ( ruleUpperMultiplicty ) ) - // InternalSolverLanguageParser.g:10620:2: ( ruleUpperMultiplicty ) + // InternalSolverLanguageParser.g:12243:1: ( ( ruleEnumLiteral ) ) + // InternalSolverLanguageParser.g:12244:2: ( ruleEnumLiteral ) { - // InternalSolverLanguageParser.g:10620:2: ( ruleUpperMultiplicty ) - // InternalSolverLanguageParser.g:10621:3: ruleUpperMultiplicty + // InternalSolverLanguageParser.g:12244:2: ( ruleEnumLiteral ) + // InternalSolverLanguageParser.g:12245:3: ruleEnumLiteral { - before(grammarAccess.getExactMultiplicityAccess().getMultiplicityUpperMultiplictyParserRuleCall_1_0()); + before(grammarAccess.getEnumDeclarationAccess().getLiteralsEnumLiteralParserRuleCall_2_0_1_0_0()); pushFollow(FOLLOW_2); - ruleUpperMultiplicty(); + ruleEnumLiteral(); state._fsp--; - after(grammarAccess.getExactMultiplicityAccess().getMultiplicityUpperMultiplictyParserRuleCall_1_0()); + after(grammarAccess.getEnumDeclarationAccess().getLiteralsEnumLiteralParserRuleCall_2_0_1_0_0()); } @@ -31986,25 +36854,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ExactMultiplicity__MultiplicityAssignment_1" + // $ANTLR end "rule__EnumDeclaration__LiteralsAssignment_2_0_1_0" - // $ANTLR start "rule__BoundedMultiplicity__LowerBoundAssignment_1" - // InternalSolverLanguageParser.g:10630:1: rule__BoundedMultiplicity__LowerBoundAssignment_1 : ( RULE_INT ) ; - public final void rule__BoundedMultiplicity__LowerBoundAssignment_1() throws RecognitionException { + // $ANTLR start "rule__EnumDeclaration__LiteralsAssignment_2_0_1_1_1" + // InternalSolverLanguageParser.g:12254:1: rule__EnumDeclaration__LiteralsAssignment_2_0_1_1_1 : ( ruleEnumLiteral ) ; + public final void rule__EnumDeclaration__LiteralsAssignment_2_0_1_1_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:10634:1: ( ( RULE_INT ) ) - // InternalSolverLanguageParser.g:10635:2: ( RULE_INT ) + // InternalSolverLanguageParser.g:12258:1: ( ( ruleEnumLiteral ) ) + // InternalSolverLanguageParser.g:12259:2: ( ruleEnumLiteral ) { - // InternalSolverLanguageParser.g:10635:2: ( RULE_INT ) - // InternalSolverLanguageParser.g:10636:3: RULE_INT + // InternalSolverLanguageParser.g:12259:2: ( ruleEnumLiteral ) + // InternalSolverLanguageParser.g:12260:3: ruleEnumLiteral { - before(grammarAccess.getBoundedMultiplicityAccess().getLowerBoundINTTerminalRuleCall_1_0()); - match(input,RULE_INT,FOLLOW_2); - after(grammarAccess.getBoundedMultiplicityAccess().getLowerBoundINTTerminalRuleCall_1_0()); + before(grammarAccess.getEnumDeclarationAccess().getLiteralsEnumLiteralParserRuleCall_2_0_1_1_1_0()); + pushFollow(FOLLOW_2); + ruleEnumLiteral(); + + state._fsp--; + + after(grammarAccess.getEnumDeclarationAccess().getLiteralsEnumLiteralParserRuleCall_2_0_1_1_1_0()); } @@ -32023,29 +36895,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__BoundedMultiplicity__LowerBoundAssignment_1" + // $ANTLR end "rule__EnumDeclaration__LiteralsAssignment_2_0_1_1_1" - // $ANTLR start "rule__BoundedMultiplicity__UpperBoundAssignment_3" - // InternalSolverLanguageParser.g:10645:1: rule__BoundedMultiplicity__UpperBoundAssignment_3 : ( ruleUpperMultiplicty ) ; - public final void rule__BoundedMultiplicity__UpperBoundAssignment_3() throws RecognitionException { + // $ANTLR start "rule__EnumLiteral__NameAssignment" + // InternalSolverLanguageParser.g:12269:1: rule__EnumLiteral__NameAssignment : ( RULE_ID ) ; + public final void rule__EnumLiteral__NameAssignment() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:10649:1: ( ( ruleUpperMultiplicty ) ) - // InternalSolverLanguageParser.g:10650:2: ( ruleUpperMultiplicty ) + // InternalSolverLanguageParser.g:12273:1: ( ( RULE_ID ) ) + // InternalSolverLanguageParser.g:12274:2: ( RULE_ID ) { - // InternalSolverLanguageParser.g:10650:2: ( ruleUpperMultiplicty ) - // InternalSolverLanguageParser.g:10651:3: ruleUpperMultiplicty + // InternalSolverLanguageParser.g:12274:2: ( RULE_ID ) + // InternalSolverLanguageParser.g:12275:3: RULE_ID { - before(grammarAccess.getBoundedMultiplicityAccess().getUpperBoundUpperMultiplictyParserRuleCall_3_0()); - pushFollow(FOLLOW_2); - ruleUpperMultiplicty(); - - state._fsp--; - - after(grammarAccess.getBoundedMultiplicityAccess().getUpperBoundUpperMultiplictyParserRuleCall_3_0()); + before(grammarAccess.getEnumLiteralAccess().getNameIDTerminalRuleCall_0()); + match(input,RULE_ID,FOLLOW_2); + after(grammarAccess.getEnumLiteralAccess().getNameIDTerminalRuleCall_0()); } @@ -32064,37 +36932,37 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__BoundedMultiplicity__UpperBoundAssignment_3" + // $ANTLR end "rule__EnumLiteral__NameAssignment" - // $ANTLR start "rule__ExactScopeDefinition__TypeAssignment_1" - // InternalSolverLanguageParser.g:10660:1: rule__ExactScopeDefinition__TypeAssignment_1 : ( ( ruleQualifiedName ) ) ; - public final void rule__ExactScopeDefinition__TypeAssignment_1() throws RecognitionException { + // $ANTLR start "rule__ExactScope__TypeAssignment_1" + // InternalSolverLanguageParser.g:12284:1: rule__ExactScope__TypeAssignment_1 : ( ( ruleQualifiedName ) ) ; + public final void rule__ExactScope__TypeAssignment_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:10664:1: ( ( ( ruleQualifiedName ) ) ) - // InternalSolverLanguageParser.g:10665:2: ( ( ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:12288:1: ( ( ( ruleQualifiedName ) ) ) + // InternalSolverLanguageParser.g:12289:2: ( ( ruleQualifiedName ) ) { - // InternalSolverLanguageParser.g:10665:2: ( ( ruleQualifiedName ) ) - // InternalSolverLanguageParser.g:10666:3: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:12289:2: ( ( ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:12290:3: ( ruleQualifiedName ) { - before(grammarAccess.getExactScopeDefinitionAccess().getTypeNamedElementCrossReference_1_0()); - // InternalSolverLanguageParser.g:10667:3: ( ruleQualifiedName ) - // InternalSolverLanguageParser.g:10668:4: ruleQualifiedName + before(grammarAccess.getExactScopeAccess().getTypeSymbolCrossReference_1_0()); + // InternalSolverLanguageParser.g:12291:3: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:12292:4: ruleQualifiedName { - before(grammarAccess.getExactScopeDefinitionAccess().getTypeNamedElementQualifiedNameParserRuleCall_1_0_1()); + before(grammarAccess.getExactScopeAccess().getTypeSymbolQualifiedNameParserRuleCall_1_0_1()); pushFollow(FOLLOW_2); ruleQualifiedName(); state._fsp--; - after(grammarAccess.getExactScopeDefinitionAccess().getTypeNamedElementQualifiedNameParserRuleCall_1_0_1()); + after(grammarAccess.getExactScopeAccess().getTypeSymbolQualifiedNameParserRuleCall_1_0_1()); } - after(grammarAccess.getExactScopeDefinitionAccess().getTypeNamedElementCrossReference_1_0()); + after(grammarAccess.getExactScopeAccess().getTypeSymbolCrossReference_1_0()); } @@ -32113,25 +36981,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ExactScopeDefinition__TypeAssignment_1" + // $ANTLR end "rule__ExactScope__TypeAssignment_1" - // $ANTLR start "rule__ExactScopeDefinition__ExactScopeAssignment_3" - // InternalSolverLanguageParser.g:10679:1: rule__ExactScopeDefinition__ExactScopeAssignment_3 : ( RULE_INT ) ; - public final void rule__ExactScopeDefinition__ExactScopeAssignment_3() throws RecognitionException { + // $ANTLR start "rule__ExactScope__SizeAssignment_3" + // InternalSolverLanguageParser.g:12303:1: rule__ExactScope__SizeAssignment_3 : ( RULE_INT ) ; + public final void rule__ExactScope__SizeAssignment_3() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:10683:1: ( ( RULE_INT ) ) - // InternalSolverLanguageParser.g:10684:2: ( RULE_INT ) + // InternalSolverLanguageParser.g:12307:1: ( ( RULE_INT ) ) + // InternalSolverLanguageParser.g:12308:2: ( RULE_INT ) { - // InternalSolverLanguageParser.g:10684:2: ( RULE_INT ) - // InternalSolverLanguageParser.g:10685:3: RULE_INT + // InternalSolverLanguageParser.g:12308:2: ( RULE_INT ) + // InternalSolverLanguageParser.g:12309:3: RULE_INT { - before(grammarAccess.getExactScopeDefinitionAccess().getExactScopeINTTerminalRuleCall_3_0()); + before(grammarAccess.getExactScopeAccess().getSizeINTTerminalRuleCall_3_0()); match(input,RULE_INT,FOLLOW_2); - after(grammarAccess.getExactScopeDefinitionAccess().getExactScopeINTTerminalRuleCall_3_0()); + after(grammarAccess.getExactScopeAccess().getSizeINTTerminalRuleCall_3_0()); } @@ -32150,25 +37018,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ExactScopeDefinition__ExactScopeAssignment_3" + // $ANTLR end "rule__ExactScope__SizeAssignment_3" - // $ANTLR start "rule__BoundedScopeDefinition__LowerBoundAssignment_1_0_0_0" - // InternalSolverLanguageParser.g:10694:1: rule__BoundedScopeDefinition__LowerBoundAssignment_1_0_0_0 : ( RULE_INT ) ; - public final void rule__BoundedScopeDefinition__LowerBoundAssignment_1_0_0_0() throws RecognitionException { + // $ANTLR start "rule__BoundedScope__LowerBoundAssignment_1_0_0_0" + // InternalSolverLanguageParser.g:12318:1: rule__BoundedScope__LowerBoundAssignment_1_0_0_0 : ( RULE_INT ) ; + public final void rule__BoundedScope__LowerBoundAssignment_1_0_0_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:10698:1: ( ( RULE_INT ) ) - // InternalSolverLanguageParser.g:10699:2: ( RULE_INT ) + // InternalSolverLanguageParser.g:12322:1: ( ( RULE_INT ) ) + // InternalSolverLanguageParser.g:12323:2: ( RULE_INT ) { - // InternalSolverLanguageParser.g:10699:2: ( RULE_INT ) - // InternalSolverLanguageParser.g:10700:3: RULE_INT + // InternalSolverLanguageParser.g:12323:2: ( RULE_INT ) + // InternalSolverLanguageParser.g:12324:3: RULE_INT { - before(grammarAccess.getBoundedScopeDefinitionAccess().getLowerBoundINTTerminalRuleCall_1_0_0_0_0()); + before(grammarAccess.getBoundedScopeAccess().getLowerBoundINTTerminalRuleCall_1_0_0_0_0()); match(input,RULE_INT,FOLLOW_2); - after(grammarAccess.getBoundedScopeDefinitionAccess().getLowerBoundINTTerminalRuleCall_1_0_0_0_0()); + after(grammarAccess.getBoundedScopeAccess().getLowerBoundINTTerminalRuleCall_1_0_0_0_0()); } @@ -32187,37 +37055,37 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__BoundedScopeDefinition__LowerBoundAssignment_1_0_0_0" + // $ANTLR end "rule__BoundedScope__LowerBoundAssignment_1_0_0_0" - // $ANTLR start "rule__BoundedScopeDefinition__TypeAssignment_1_0_1" - // InternalSolverLanguageParser.g:10709:1: rule__BoundedScopeDefinition__TypeAssignment_1_0_1 : ( ( ruleQualifiedName ) ) ; - public final void rule__BoundedScopeDefinition__TypeAssignment_1_0_1() throws RecognitionException { + // $ANTLR start "rule__BoundedScope__TypeAssignment_1_0_1" + // InternalSolverLanguageParser.g:12333:1: rule__BoundedScope__TypeAssignment_1_0_1 : ( ( ruleQualifiedName ) ) ; + public final void rule__BoundedScope__TypeAssignment_1_0_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:10713:1: ( ( ( ruleQualifiedName ) ) ) - // InternalSolverLanguageParser.g:10714:2: ( ( ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:12337:1: ( ( ( ruleQualifiedName ) ) ) + // InternalSolverLanguageParser.g:12338:2: ( ( ruleQualifiedName ) ) { - // InternalSolverLanguageParser.g:10714:2: ( ( ruleQualifiedName ) ) - // InternalSolverLanguageParser.g:10715:3: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:12338:2: ( ( ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:12339:3: ( ruleQualifiedName ) { - before(grammarAccess.getBoundedScopeDefinitionAccess().getTypeNamedElementCrossReference_1_0_1_0()); - // InternalSolverLanguageParser.g:10716:3: ( ruleQualifiedName ) - // InternalSolverLanguageParser.g:10717:4: ruleQualifiedName + before(grammarAccess.getBoundedScopeAccess().getTypeSymbolCrossReference_1_0_1_0()); + // InternalSolverLanguageParser.g:12340:3: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:12341:4: ruleQualifiedName { - before(grammarAccess.getBoundedScopeDefinitionAccess().getTypeNamedElementQualifiedNameParserRuleCall_1_0_1_0_1()); + before(grammarAccess.getBoundedScopeAccess().getTypeSymbolQualifiedNameParserRuleCall_1_0_1_0_1()); pushFollow(FOLLOW_2); ruleQualifiedName(); state._fsp--; - after(grammarAccess.getBoundedScopeDefinitionAccess().getTypeNamedElementQualifiedNameParserRuleCall_1_0_1_0_1()); + after(grammarAccess.getBoundedScopeAccess().getTypeSymbolQualifiedNameParserRuleCall_1_0_1_0_1()); } - after(grammarAccess.getBoundedScopeDefinitionAccess().getTypeNamedElementCrossReference_1_0_1_0()); + after(grammarAccess.getBoundedScopeAccess().getTypeSymbolCrossReference_1_0_1_0()); } @@ -32236,25 +37104,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__BoundedScopeDefinition__TypeAssignment_1_0_1" + // $ANTLR end "rule__BoundedScope__TypeAssignment_1_0_1" - // $ANTLR start "rule__BoundedScopeDefinition__UpperBoundAssignment_1_0_3" - // InternalSolverLanguageParser.g:10728:1: rule__BoundedScopeDefinition__UpperBoundAssignment_1_0_3 : ( RULE_INT ) ; - public final void rule__BoundedScopeDefinition__UpperBoundAssignment_1_0_3() throws RecognitionException { + // $ANTLR start "rule__BoundedScope__UpperBoundAssignment_1_0_3" + // InternalSolverLanguageParser.g:12352:1: rule__BoundedScope__UpperBoundAssignment_1_0_3 : ( RULE_INT ) ; + public final void rule__BoundedScope__UpperBoundAssignment_1_0_3() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:10732:1: ( ( RULE_INT ) ) - // InternalSolverLanguageParser.g:10733:2: ( RULE_INT ) + // InternalSolverLanguageParser.g:12356:1: ( ( RULE_INT ) ) + // InternalSolverLanguageParser.g:12357:2: ( RULE_INT ) { - // InternalSolverLanguageParser.g:10733:2: ( RULE_INT ) - // InternalSolverLanguageParser.g:10734:3: RULE_INT + // InternalSolverLanguageParser.g:12357:2: ( RULE_INT ) + // InternalSolverLanguageParser.g:12358:3: RULE_INT { - before(grammarAccess.getBoundedScopeDefinitionAccess().getUpperBoundINTTerminalRuleCall_1_0_3_0()); + before(grammarAccess.getBoundedScopeAccess().getUpperBoundINTTerminalRuleCall_1_0_3_0()); match(input,RULE_INT,FOLLOW_2); - after(grammarAccess.getBoundedScopeDefinitionAccess().getUpperBoundINTTerminalRuleCall_1_0_3_0()); + after(grammarAccess.getBoundedScopeAccess().getUpperBoundINTTerminalRuleCall_1_0_3_0()); } @@ -32273,25 +37141,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__BoundedScopeDefinition__UpperBoundAssignment_1_0_3" + // $ANTLR end "rule__BoundedScope__UpperBoundAssignment_1_0_3" - // $ANTLR start "rule__BoundedScopeDefinition__UpperBoundAssignment_1_1_0" - // InternalSolverLanguageParser.g:10743:1: rule__BoundedScopeDefinition__UpperBoundAssignment_1_1_0 : ( RULE_INT ) ; - public final void rule__BoundedScopeDefinition__UpperBoundAssignment_1_1_0() throws RecognitionException { + // $ANTLR start "rule__BoundedScope__UpperBoundAssignment_1_1_0" + // InternalSolverLanguageParser.g:12367:1: rule__BoundedScope__UpperBoundAssignment_1_1_0 : ( RULE_INT ) ; + public final void rule__BoundedScope__UpperBoundAssignment_1_1_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:10747:1: ( ( RULE_INT ) ) - // InternalSolverLanguageParser.g:10748:2: ( RULE_INT ) + // InternalSolverLanguageParser.g:12371:1: ( ( RULE_INT ) ) + // InternalSolverLanguageParser.g:12372:2: ( RULE_INT ) { - // InternalSolverLanguageParser.g:10748:2: ( RULE_INT ) - // InternalSolverLanguageParser.g:10749:3: RULE_INT + // InternalSolverLanguageParser.g:12372:2: ( RULE_INT ) + // InternalSolverLanguageParser.g:12373:3: RULE_INT { - before(grammarAccess.getBoundedScopeDefinitionAccess().getUpperBoundINTTerminalRuleCall_1_1_0_0()); + before(grammarAccess.getBoundedScopeAccess().getUpperBoundINTTerminalRuleCall_1_1_0_0()); match(input,RULE_INT,FOLLOW_2); - after(grammarAccess.getBoundedScopeDefinitionAccess().getUpperBoundINTTerminalRuleCall_1_1_0_0()); + after(grammarAccess.getBoundedScopeAccess().getUpperBoundINTTerminalRuleCall_1_1_0_0()); } @@ -32310,37 +37178,37 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__BoundedScopeDefinition__UpperBoundAssignment_1_1_0" + // $ANTLR end "rule__BoundedScope__UpperBoundAssignment_1_1_0" - // $ANTLR start "rule__BoundedScopeDefinition__TypeAssignment_1_1_2" - // InternalSolverLanguageParser.g:10758:1: rule__BoundedScopeDefinition__TypeAssignment_1_1_2 : ( ( ruleQualifiedName ) ) ; - public final void rule__BoundedScopeDefinition__TypeAssignment_1_1_2() throws RecognitionException { + // $ANTLR start "rule__BoundedScope__TypeAssignment_1_1_2" + // InternalSolverLanguageParser.g:12382:1: rule__BoundedScope__TypeAssignment_1_1_2 : ( ( ruleQualifiedName ) ) ; + public final void rule__BoundedScope__TypeAssignment_1_1_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:10762:1: ( ( ( ruleQualifiedName ) ) ) - // InternalSolverLanguageParser.g:10763:2: ( ( ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:12386:1: ( ( ( ruleQualifiedName ) ) ) + // InternalSolverLanguageParser.g:12387:2: ( ( ruleQualifiedName ) ) { - // InternalSolverLanguageParser.g:10763:2: ( ( ruleQualifiedName ) ) - // InternalSolverLanguageParser.g:10764:3: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:12387:2: ( ( ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:12388:3: ( ruleQualifiedName ) { - before(grammarAccess.getBoundedScopeDefinitionAccess().getTypeNamedElementCrossReference_1_1_2_0()); - // InternalSolverLanguageParser.g:10765:3: ( ruleQualifiedName ) - // InternalSolverLanguageParser.g:10766:4: ruleQualifiedName + before(grammarAccess.getBoundedScopeAccess().getTypeSymbolCrossReference_1_1_2_0()); + // InternalSolverLanguageParser.g:12389:3: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:12390:4: ruleQualifiedName { - before(grammarAccess.getBoundedScopeDefinitionAccess().getTypeNamedElementQualifiedNameParserRuleCall_1_1_2_0_1()); + before(grammarAccess.getBoundedScopeAccess().getTypeSymbolQualifiedNameParserRuleCall_1_1_2_0_1()); pushFollow(FOLLOW_2); ruleQualifiedName(); state._fsp--; - after(grammarAccess.getBoundedScopeDefinitionAccess().getTypeNamedElementQualifiedNameParserRuleCall_1_1_2_0_1()); + after(grammarAccess.getBoundedScopeAccess().getTypeSymbolQualifiedNameParserRuleCall_1_1_2_0_1()); } - after(grammarAccess.getBoundedScopeDefinitionAccess().getTypeNamedElementCrossReference_1_1_2_0()); + after(grammarAccess.getBoundedScopeAccess().getTypeSymbolCrossReference_1_1_2_0()); } @@ -32359,25 +37227,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__BoundedScopeDefinition__TypeAssignment_1_1_2" + // $ANTLR end "rule__BoundedScope__TypeAssignment_1_1_2" - // $ANTLR start "rule__BoundedScopeDefinition__LowerBoundAssignment_1_1_3_1" - // InternalSolverLanguageParser.g:10777:1: rule__BoundedScopeDefinition__LowerBoundAssignment_1_1_3_1 : ( RULE_INT ) ; - public final void rule__BoundedScopeDefinition__LowerBoundAssignment_1_1_3_1() throws RecognitionException { + // $ANTLR start "rule__BoundedScope__LowerBoundAssignment_1_1_3_1" + // InternalSolverLanguageParser.g:12401:1: rule__BoundedScope__LowerBoundAssignment_1_1_3_1 : ( RULE_INT ) ; + public final void rule__BoundedScope__LowerBoundAssignment_1_1_3_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:10781:1: ( ( RULE_INT ) ) - // InternalSolverLanguageParser.g:10782:2: ( RULE_INT ) + // InternalSolverLanguageParser.g:12405:1: ( ( RULE_INT ) ) + // InternalSolverLanguageParser.g:12406:2: ( RULE_INT ) { - // InternalSolverLanguageParser.g:10782:2: ( RULE_INT ) - // InternalSolverLanguageParser.g:10783:3: RULE_INT + // InternalSolverLanguageParser.g:12406:2: ( RULE_INT ) + // InternalSolverLanguageParser.g:12407:3: RULE_INT { - before(grammarAccess.getBoundedScopeDefinitionAccess().getLowerBoundINTTerminalRuleCall_1_1_3_1_0()); + before(grammarAccess.getBoundedScopeAccess().getLowerBoundINTTerminalRuleCall_1_1_3_1_0()); match(input,RULE_INT,FOLLOW_2); - after(grammarAccess.getBoundedScopeDefinitionAccess().getLowerBoundINTTerminalRuleCall_1_1_3_1_0()); + after(grammarAccess.getBoundedScopeAccess().getLowerBoundINTTerminalRuleCall_1_1_3_1_0()); } @@ -32396,25 +37264,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__BoundedScopeDefinition__LowerBoundAssignment_1_1_3_1" + // $ANTLR end "rule__BoundedScope__LowerBoundAssignment_1_1_3_1" - // $ANTLR start "rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_0_0" - // InternalSolverLanguageParser.g:10792:1: rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_0_0 : ( RULE_INT ) ; - public final void rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_0_0() throws RecognitionException { + // $ANTLR start "rule__LowerBoundedScope__LowerBoundAssignment_1_0_0" + // InternalSolverLanguageParser.g:12416:1: rule__LowerBoundedScope__LowerBoundAssignment_1_0_0 : ( RULE_INT ) ; + public final void rule__LowerBoundedScope__LowerBoundAssignment_1_0_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:10796:1: ( ( RULE_INT ) ) - // InternalSolverLanguageParser.g:10797:2: ( RULE_INT ) + // InternalSolverLanguageParser.g:12420:1: ( ( RULE_INT ) ) + // InternalSolverLanguageParser.g:12421:2: ( RULE_INT ) { - // InternalSolverLanguageParser.g:10797:2: ( RULE_INT ) - // InternalSolverLanguageParser.g:10798:3: RULE_INT + // InternalSolverLanguageParser.g:12421:2: ( RULE_INT ) + // InternalSolverLanguageParser.g:12422:3: RULE_INT { - before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getLowerBoundINTTerminalRuleCall_1_0_0_0()); + before(grammarAccess.getLowerBoundedScopeAccess().getLowerBoundINTTerminalRuleCall_1_0_0_0()); match(input,RULE_INT,FOLLOW_2); - after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getLowerBoundINTTerminalRuleCall_1_0_0_0()); + after(grammarAccess.getLowerBoundedScopeAccess().getLowerBoundINTTerminalRuleCall_1_0_0_0()); } @@ -32433,37 +37301,37 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_0_0" + // $ANTLR end "rule__LowerBoundedScope__LowerBoundAssignment_1_0_0" - // $ANTLR start "rule__LowerBoundedScopeDefinition__TypeAssignment_1_0_2" - // InternalSolverLanguageParser.g:10807:1: rule__LowerBoundedScopeDefinition__TypeAssignment_1_0_2 : ( ( ruleQualifiedName ) ) ; - public final void rule__LowerBoundedScopeDefinition__TypeAssignment_1_0_2() throws RecognitionException { + // $ANTLR start "rule__LowerBoundedScope__TypeAssignment_1_0_2" + // InternalSolverLanguageParser.g:12431:1: rule__LowerBoundedScope__TypeAssignment_1_0_2 : ( ( ruleQualifiedName ) ) ; + public final void rule__LowerBoundedScope__TypeAssignment_1_0_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:10811:1: ( ( ( ruleQualifiedName ) ) ) - // InternalSolverLanguageParser.g:10812:2: ( ( ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:12435:1: ( ( ( ruleQualifiedName ) ) ) + // InternalSolverLanguageParser.g:12436:2: ( ( ruleQualifiedName ) ) { - // InternalSolverLanguageParser.g:10812:2: ( ( ruleQualifiedName ) ) - // InternalSolverLanguageParser.g:10813:3: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:12436:2: ( ( ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:12437:3: ( ruleQualifiedName ) { - before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getTypeNamedElementCrossReference_1_0_2_0()); - // InternalSolverLanguageParser.g:10814:3: ( ruleQualifiedName ) - // InternalSolverLanguageParser.g:10815:4: ruleQualifiedName + before(grammarAccess.getLowerBoundedScopeAccess().getTypeSymbolCrossReference_1_0_2_0()); + // InternalSolverLanguageParser.g:12438:3: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:12439:4: ruleQualifiedName { - before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getTypeNamedElementQualifiedNameParserRuleCall_1_0_2_0_1()); + before(grammarAccess.getLowerBoundedScopeAccess().getTypeSymbolQualifiedNameParserRuleCall_1_0_2_0_1()); pushFollow(FOLLOW_2); ruleQualifiedName(); state._fsp--; - after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getTypeNamedElementQualifiedNameParserRuleCall_1_0_2_0_1()); + after(grammarAccess.getLowerBoundedScopeAccess().getTypeSymbolQualifiedNameParserRuleCall_1_0_2_0_1()); } - after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getTypeNamedElementCrossReference_1_0_2_0()); + after(grammarAccess.getLowerBoundedScopeAccess().getTypeSymbolCrossReference_1_0_2_0()); } @@ -32482,37 +37350,37 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__LowerBoundedScopeDefinition__TypeAssignment_1_0_2" + // $ANTLR end "rule__LowerBoundedScope__TypeAssignment_1_0_2" - // $ANTLR start "rule__LowerBoundedScopeDefinition__TypeAssignment_1_1_0" - // InternalSolverLanguageParser.g:10826:1: rule__LowerBoundedScopeDefinition__TypeAssignment_1_1_0 : ( ( ruleQualifiedName ) ) ; - public final void rule__LowerBoundedScopeDefinition__TypeAssignment_1_1_0() throws RecognitionException { + // $ANTLR start "rule__LowerBoundedScope__TypeAssignment_1_1_0" + // InternalSolverLanguageParser.g:12450:1: rule__LowerBoundedScope__TypeAssignment_1_1_0 : ( ( ruleQualifiedName ) ) ; + public final void rule__LowerBoundedScope__TypeAssignment_1_1_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:10830:1: ( ( ( ruleQualifiedName ) ) ) - // InternalSolverLanguageParser.g:10831:2: ( ( ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:12454:1: ( ( ( ruleQualifiedName ) ) ) + // InternalSolverLanguageParser.g:12455:2: ( ( ruleQualifiedName ) ) { - // InternalSolverLanguageParser.g:10831:2: ( ( ruleQualifiedName ) ) - // InternalSolverLanguageParser.g:10832:3: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:12455:2: ( ( ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:12456:3: ( ruleQualifiedName ) { - before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getTypeNamedElementCrossReference_1_1_0_0()); - // InternalSolverLanguageParser.g:10833:3: ( ruleQualifiedName ) - // InternalSolverLanguageParser.g:10834:4: ruleQualifiedName + before(grammarAccess.getLowerBoundedScopeAccess().getTypeSymbolCrossReference_1_1_0_0()); + // InternalSolverLanguageParser.g:12457:3: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:12458:4: ruleQualifiedName { - before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getTypeNamedElementQualifiedNameParserRuleCall_1_1_0_0_1()); + before(grammarAccess.getLowerBoundedScopeAccess().getTypeSymbolQualifiedNameParserRuleCall_1_1_0_0_1()); pushFollow(FOLLOW_2); ruleQualifiedName(); state._fsp--; - after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getTypeNamedElementQualifiedNameParserRuleCall_1_1_0_0_1()); + after(grammarAccess.getLowerBoundedScopeAccess().getTypeSymbolQualifiedNameParserRuleCall_1_1_0_0_1()); } - after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getTypeNamedElementCrossReference_1_1_0_0()); + after(grammarAccess.getLowerBoundedScopeAccess().getTypeSymbolCrossReference_1_1_0_0()); } @@ -32531,25 +37399,25 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__LowerBoundedScopeDefinition__TypeAssignment_1_1_0" + // $ANTLR end "rule__LowerBoundedScope__TypeAssignment_1_1_0" - // $ANTLR start "rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_1_2" - // InternalSolverLanguageParser.g:10845:1: rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_1_2 : ( RULE_INT ) ; - public final void rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_1_2() throws RecognitionException { + // $ANTLR start "rule__LowerBoundedScope__LowerBoundAssignment_1_1_2" + // InternalSolverLanguageParser.g:12469:1: rule__LowerBoundedScope__LowerBoundAssignment_1_1_2 : ( RULE_INT ) ; + public final void rule__LowerBoundedScope__LowerBoundAssignment_1_1_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:10849:1: ( ( RULE_INT ) ) - // InternalSolverLanguageParser.g:10850:2: ( RULE_INT ) + // InternalSolverLanguageParser.g:12473:1: ( ( RULE_INT ) ) + // InternalSolverLanguageParser.g:12474:2: ( RULE_INT ) { - // InternalSolverLanguageParser.g:10850:2: ( RULE_INT ) - // InternalSolverLanguageParser.g:10851:3: RULE_INT + // InternalSolverLanguageParser.g:12474:2: ( RULE_INT ) + // InternalSolverLanguageParser.g:12475:3: RULE_INT { - before(grammarAccess.getLowerBoundedScopeDefinitionAccess().getLowerBoundINTTerminalRuleCall_1_1_2_0()); + before(grammarAccess.getLowerBoundedScopeAccess().getLowerBoundINTTerminalRuleCall_1_1_2_0()); match(input,RULE_INT,FOLLOW_2); - after(grammarAccess.getLowerBoundedScopeDefinitionAccess().getLowerBoundINTTerminalRuleCall_1_1_2_0()); + after(grammarAccess.getLowerBoundedScopeAccess().getLowerBoundINTTerminalRuleCall_1_1_2_0()); } @@ -32568,29 +37436,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__LowerBoundedScopeDefinition__LowerBoundAssignment_1_1_2" + // $ANTLR end "rule__LowerBoundedScope__LowerBoundAssignment_1_1_2" - // $ANTLR start "rule__ObjectiveDefinition__KindAssignment_0" - // InternalSolverLanguageParser.g:10860:1: rule__ObjectiveDefinition__KindAssignment_0 : ( ruleObjectiveKind ) ; - public final void rule__ObjectiveDefinition__KindAssignment_0() throws RecognitionException { + // $ANTLR start "rule__ObjectiveDeclaration__KindAssignment_0" + // InternalSolverLanguageParser.g:12484:1: rule__ObjectiveDeclaration__KindAssignment_0 : ( ruleObjectiveKind ) ; + public final void rule__ObjectiveDeclaration__KindAssignment_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:10864:1: ( ( ruleObjectiveKind ) ) - // InternalSolverLanguageParser.g:10865:2: ( ruleObjectiveKind ) + // InternalSolverLanguageParser.g:12488:1: ( ( ruleObjectiveKind ) ) + // InternalSolverLanguageParser.g:12489:2: ( ruleObjectiveKind ) { - // InternalSolverLanguageParser.g:10865:2: ( ruleObjectiveKind ) - // InternalSolverLanguageParser.g:10866:3: ruleObjectiveKind + // InternalSolverLanguageParser.g:12489:2: ( ruleObjectiveKind ) + // InternalSolverLanguageParser.g:12490:3: ruleObjectiveKind { - before(grammarAccess.getObjectiveDefinitionAccess().getKindObjectiveKindEnumRuleCall_0_0()); + before(grammarAccess.getObjectiveDeclarationAccess().getKindObjectiveKindEnumRuleCall_0_0()); pushFollow(FOLLOW_2); ruleObjectiveKind(); state._fsp--; - after(grammarAccess.getObjectiveDefinitionAccess().getKindObjectiveKindEnumRuleCall_0_0()); + after(grammarAccess.getObjectiveDeclarationAccess().getKindObjectiveKindEnumRuleCall_0_0()); } @@ -32609,29 +37477,29 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ObjectiveDefinition__KindAssignment_0" + // $ANTLR end "rule__ObjectiveDeclaration__KindAssignment_0" - // $ANTLR start "rule__ObjectiveDefinition__ObjectiveAssignment_1" - // InternalSolverLanguageParser.g:10875:1: rule__ObjectiveDefinition__ObjectiveAssignment_1 : ( ruleExpression ) ; - public final void rule__ObjectiveDefinition__ObjectiveAssignment_1() throws RecognitionException { + // $ANTLR start "rule__ObjectiveDeclaration__ObjectiveAssignment_1" + // InternalSolverLanguageParser.g:12499:1: rule__ObjectiveDeclaration__ObjectiveAssignment_1 : ( ruleExpression ) ; + public final void rule__ObjectiveDeclaration__ObjectiveAssignment_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalSolverLanguageParser.g:10879:1: ( ( ruleExpression ) ) - // InternalSolverLanguageParser.g:10880:2: ( ruleExpression ) + // InternalSolverLanguageParser.g:12503:1: ( ( ruleExpression ) ) + // InternalSolverLanguageParser.g:12504:2: ( ruleExpression ) { - // InternalSolverLanguageParser.g:10880:2: ( ruleExpression ) - // InternalSolverLanguageParser.g:10881:3: ruleExpression + // InternalSolverLanguageParser.g:12504:2: ( ruleExpression ) + // InternalSolverLanguageParser.g:12505:3: ruleExpression { - before(grammarAccess.getObjectiveDefinitionAccess().getObjectiveExpressionParserRuleCall_1_0()); + before(grammarAccess.getObjectiveDeclarationAccess().getObjectiveExpressionParserRuleCall_1_0()); pushFollow(FOLLOW_2); ruleExpression(); state._fsp--; - after(grammarAccess.getObjectiveDefinitionAccess().getObjectiveExpressionParserRuleCall_1_0()); + after(grammarAccess.getObjectiveDeclarationAccess().getObjectiveExpressionParserRuleCall_1_0()); } @@ -32650,49 +37518,52 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP } return ; } - // $ANTLR end "rule__ObjectiveDefinition__ObjectiveAssignment_1" + // $ANTLR end "rule__ObjectiveDeclaration__ObjectiveAssignment_1" // Delegated rules - protected DFA2 dfa2 = new DFA2(this); - protected DFA8 dfa8 = new DFA8(this); + protected DFA1 dfa1 = new DFA1(this); + protected DFA5 dfa5 = new DFA5(this); protected DFA9 dfa9 = new DFA9(this); + protected DFA10 dfa10 = new DFA10(this); protected DFA11 dfa11 = new DFA11(this); - protected DFA14 dfa14 = new DFA14(this); - static final String dfa_1s = "\33\uffff"; - static final String dfa_2s = "\1\4\1\uffff\2\40\1\4\2\uffff\1\7\3\uffff\1\105\2\uffff\2\54\1\uffff\1\40\1\105\1\uffff\3\54\1\105\2\uffff\1\54"; - static final String dfa_3s = "\1\106\1\uffff\3\105\2\uffff\1\105\3\uffff\1\105\2\uffff\2\105\1\uffff\2\105\1\uffff\2\74\2\105\2\uffff\1\74"; - static final String dfa_4s = "\1\uffff\1\1\3\uffff\1\2\1\4\1\uffff\1\12\1\13\1\14\1\uffff\1\5\1\3\2\uffff\1\11\2\uffff\1\6\4\uffff\1\10\1\7\1\uffff"; - static final String dfa_5s = "\33\uffff}>"; + protected DFA18 dfa18 = new DFA18(this); + static final String dfa_1s = "\35\uffff"; + static final String dfa_2s = "\1\4\1\uffff\3\22\1\5\1\22\1\uffff\1\6\6\uffff\1\22\2\uffff\3\45\1\uffff\4\22\3\45"; + static final String dfa_3s = "\1\113\1\uffff\5\112\1\uffff\1\112\6\uffff\1\112\2\uffff\3\111\1\uffff\4\112\3\111"; + static final String dfa_4s = "\1\uffff\1\1\5\uffff\1\4\1\uffff\1\6\1\7\1\10\1\11\1\12\1\13\1\uffff\1\5\1\2\3\uffff\1\3\7\uffff"; + static final String dfa_5s = "\35\uffff}>"; static final String[] dfa_6s = { - "\1\5\1\10\2\uffff\2\12\1\uffff\1\1\1\6\1\uffff\2\1\1\7\1\1\1\10\2\1\1\4\1\1\1\11\1\uffff\1\1\1\uffff\1\1\1\uffff\3\1\11\uffff\1\1\1\uffff\2\1\2\uffff\1\1\1\uffff\1\1\7\uffff\1\1\5\uffff\1\1\1\3\4\uffff\1\2\1\1", + "\1\11\1\6\1\15\2\uffff\2\14\1\uffff\1\7\2\uffff\1\1\1\12\1\uffff\1\4\1\uffff\1\15\2\1\1\5\1\1\1\13\1\uffff\1\16\1\10\1\uffff\1\1\1\uffff\2\1\12\uffff\1\1\1\uffff\2\1\2\uffff\1\1\1\uffff\1\1\7\uffff\2\1\5\uffff\2\1\1\3\4\uffff\1\2\1\1", "", - "\2\1\1\uffff\6\1\1\uffff\1\1\1\uffff\1\1\1\uffff\4\1\1\13\7\1\1\uffff\2\1\3\uffff\1\14\1\uffff\3\1\1\14", - "\2\1\1\uffff\6\1\1\uffff\1\1\1\uffff\1\1\1\uffff\4\1\1\uffff\7\1\1\uffff\2\1\3\uffff\1\14\1\uffff\3\1\1\14", - "\1\5\33\uffff\2\1\1\uffff\6\1\1\uffff\1\1\1\uffff\1\15\1\uffff\4\1\1\uffff\6\1\2\uffff\1\1\4\uffff\1\5\3\uffff\1\1\1\5", + "\1\20\17\uffff\3\1\1\17\6\1\1\uffff\1\1\1\uffff\1\1\1\uffff\11\1\1\uffff\1\1\3\uffff\2\1\2\uffff\1\20\1\uffff\1\20\1\uffff\3\1\1\20", + "\1\20\17\uffff\3\1\1\17\6\1\1\uffff\1\1\1\uffff\1\1\1\uffff\11\1\1\uffff\1\1\3\uffff\2\1\2\uffff\1\20\1\uffff\1\20\1\uffff\3\1\1\20", + "\1\20\17\uffff\3\1\1\17\6\1\1\uffff\1\1\1\uffff\1\1\1\uffff\11\1\1\uffff\1\1\3\uffff\2\1\2\uffff\1\20\1\uffff\1\20\1\uffff\3\1\1\20", + "\1\21\14\uffff\1\24\17\uffff\3\1\1\uffff\6\1\1\uffff\1\1\1\uffff\1\25\1\uffff\4\1\1\uffff\4\1\1\uffff\1\1\3\uffff\1\1\3\uffff\1\21\1\uffff\1\23\3\uffff\1\1\1\22", + "\1\24\4\uffff\1\21\53\uffff\1\21\1\uffff\1\23\4\uffff\1\22", "", + "\1\15\13\uffff\1\11\1\uffff\1\15\7\uffff\1\15\50\uffff\1\11\4\uffff\1\11", "", - "\1\20\70\uffff\1\17\4\uffff\1\16", "", "", "", - "\1\21", "", "", - "\1\23\5\uffff\1\22\15\uffff\1\25\4\uffff\1\24", - "\1\23\23\uffff\1\25\4\uffff\1\24", + "\1\30\62\uffff\1\27\4\uffff\1\26", "", - "\2\1\1\uffff\6\1\1\uffff\1\1\1\uffff\1\1\1\uffff\4\1\1\13\7\1\1\uffff\2\1\3\uffff\1\14\1\uffff\3\1\1\14", - "\1\26", "", - "\1\31\5\uffff\1\27\11\uffff\1\30", - "\1\31\17\uffff\1\30", - "\1\23\5\uffff\1\22\15\uffff\1\25\4\uffff\1\24", - "\1\32", + "\1\31\11\uffff\1\21\5\uffff\1\21\21\uffff\2\21\1\11", + "\1\31\11\uffff\1\21\5\uffff\1\21\21\uffff\2\21\1\11", + "\1\31\11\uffff\1\21\5\uffff\1\21\21\uffff\2\21\1\11", "", - "", - "\1\31\5\uffff\1\27\11\uffff\1\30" + "\1\20\17\uffff\3\1\1\17\6\1\1\uffff\1\1\1\uffff\1\1\1\uffff\11\1\1\uffff\1\1\3\uffff\2\1\2\uffff\1\20\1\uffff\1\20\1\uffff\3\1\1\20", + "\1\20\17\uffff\3\1\1\17\6\1\1\uffff\1\1\1\uffff\1\1\1\uffff\11\1\1\uffff\1\1\3\uffff\2\1\2\uffff\1\20\1\uffff\1\20\1\uffff\3\1\1\20", + "\1\20\17\uffff\3\1\1\17\6\1\1\uffff\1\1\1\uffff\1\1\1\uffff\11\1\1\uffff\1\1\3\uffff\2\1\2\uffff\1\20\1\uffff\1\20\1\uffff\3\1\1\20", + "\1\34\62\uffff\1\33\4\uffff\1\32", + "\1\31\11\uffff\1\21\5\uffff\1\21\21\uffff\2\21\1\11", + "\1\31\11\uffff\1\21\5\uffff\1\21\21\uffff\2\21\1\11", + "\1\31\11\uffff\1\21\5\uffff\1\21\21\uffff\2\21\1\11" }; static final short[] dfa_1 = DFA.unpackEncodedString(dfa_1s); @@ -32702,11 +37573,11 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP static final short[] dfa_5 = DFA.unpackEncodedString(dfa_5s); static final short[][] dfa_6 = unpackEncodedStringArray(dfa_6s); - class DFA2 extends DFA { + class DFA1 extends DFA { - public DFA2(BaseRecognizer recognizer) { + public DFA1(BaseRecognizer recognizer) { this.recognizer = recognizer; - this.decisionNumber = 2; + this.decisionNumber = 1; this.eot = dfa_1; this.eof = dfa_1; this.min = dfa_2; @@ -32716,249 +37587,345 @@ public class InternalSolverLanguageParser extends AbstractInternalContentAssistP this.transition = dfa_6; } public String getDescription() { - return "1773:1: rule__Statement__Alternatives_0 : ( ( ruleAssertionOrDefinition ) | ( rulePredicateDefinition ) | ( ruleUnnamedErrorPrediateDefinition ) | ( ruleDefaultDefinition ) | ( ruleMetricDefinition ) | ( ruleExternPredicateDefinition ) | ( ruleExternMetricDefinition ) | ( ruleExternAggregatorDefinition ) | ( ruleExternDatatypeDefinition ) | ( ruleClassDefinition ) | ( ruleScopeDefinition ) | ( ruleObjectiveDefinition ) );"; - } - } - static final String dfa_7s = "\10\uffff"; - static final String dfa_8s = "\1\uffff\2\3\4\uffff\1\3"; - static final String dfa_9s = "\1\16\2\30\2\uffff\1\105\1\uffff\1\30"; - static final String dfa_10s = "\1\106\2\104\2\uffff\1\105\1\uffff\1\104"; - static final String dfa_11s = "\3\uffff\1\1\1\2\1\uffff\1\3\1\uffff"; - static final String dfa_12s = "\10\uffff}>"; - static final String[] dfa_13s = { - "\1\3\1\4\1\uffff\1\4\1\uffff\1\4\3\3\4\uffff\1\3\1\uffff\1\3\16\uffff\1\3\14\uffff\1\3\5\uffff\1\3\1\2\4\uffff\1\1\1\3", - "\1\3\1\uffff\1\3\5\uffff\11\3\1\uffff\1\3\1\uffff\6\3\1\5\6\3\1\6\2\3\1\6\2\3\3\uffff\3\3", - "\1\3\1\uffff\1\3\5\uffff\11\3\1\uffff\1\3\1\uffff\6\3\1\uffff\6\3\1\6\2\3\1\6\2\3\3\uffff\3\3", + return "1962:1: rule__Statement__Alternatives : ( ( ruleAssertionOrDefinition ) | ( rulePredicateDefinition ) | ( ruleUnnamedErrorPredicateDefintion ) | ( ruleDefaultAssertion ) | ( ruleFunctionDefinition ) | ( ruleAttribute ) | ( ruleExternDeclaration ) | ( ruleScopeDeclaration ) | ( ruleObjectiveDeclaration ) | ( ruleClassDeclaration ) | ( ruleEnumDeclaration ) );"; + } + } + static final String dfa_7s = "\24\uffff"; + static final String dfa_8s = "\1\20\1\5\1\uffff\3\22\1\uffff\1\22\3\45\4\22\2\uffff\3\45"; + static final String dfa_9s = "\1\20\1\112\1\uffff\3\112\1\uffff\1\112\3\100\4\112\2\uffff\3\100"; + static final String dfa_10s = "\2\uffff\1\4\3\uffff\1\1\10\uffff\1\2\1\3\3\uffff"; + static final String dfa_11s = "\24\uffff}>"; + static final String[] dfa_12s = { + "\1\1", + "\1\6\2\uffff\1\2\11\uffff\1\5\4\uffff\1\6\55\uffff\1\4\4\uffff\1\3", "", + "\1\12\22\uffff\1\7\11\uffff\1\6\25\uffff\1\11\4\uffff\1\10", + "\1\12\22\uffff\1\7\11\uffff\1\6\25\uffff\1\11\4\uffff\1\10", + "\1\12\22\uffff\1\7\11\uffff\1\6\25\uffff\1\11\4\uffff\1\10", "", - "\1\7", + "\1\15\62\uffff\1\14\4\uffff\1\13", + "\1\16\11\uffff\1\17\20\uffff\1\20", + "\1\16\11\uffff\1\17\20\uffff\1\20", + "\1\16\11\uffff\1\17\20\uffff\1\20", + "\1\12\22\uffff\1\7\11\uffff\1\6\25\uffff\1\11\4\uffff\1\10", + "\1\12\22\uffff\1\7\11\uffff\1\6\25\uffff\1\11\4\uffff\1\10", + "\1\12\22\uffff\1\7\11\uffff\1\6\25\uffff\1\11\4\uffff\1\10", + "\1\23\62\uffff\1\22\4\uffff\1\21", "", - "\1\3\1\uffff\1\3\5\uffff\11\3\1\uffff\1\3\1\uffff\6\3\1\5\6\3\1\6\2\3\1\6\2\3\3\uffff\3\3" + "", + "\1\16\11\uffff\1\17\20\uffff\1\20", + "\1\16\11\uffff\1\17\20\uffff\1\20", + "\1\16\11\uffff\1\17\20\uffff\1\20" }; static final short[] dfa_7 = DFA.unpackEncodedString(dfa_7s); - static final short[] dfa_8 = DFA.unpackEncodedString(dfa_8s); + static final char[] dfa_8 = DFA.unpackEncodedStringToUnsignedChars(dfa_8s); static final char[] dfa_9 = DFA.unpackEncodedStringToUnsignedChars(dfa_9s); - static final char[] dfa_10 = DFA.unpackEncodedStringToUnsignedChars(dfa_10s); + static final short[] dfa_10 = DFA.unpackEncodedString(dfa_10s); static final short[] dfa_11 = DFA.unpackEncodedString(dfa_11s); - static final short[] dfa_12 = DFA.unpackEncodedString(dfa_12s); - static final short[][] dfa_13 = unpackEncodedStringArray(dfa_13s); + static final short[][] dfa_12 = unpackEncodedStringArray(dfa_12s); - class DFA8 extends DFA { + class DFA5 extends DFA { - public DFA8(BaseRecognizer recognizer) { + public DFA5(BaseRecognizer recognizer) { this.recognizer = recognizer; - this.decisionNumber = 8; + this.decisionNumber = 5; this.eot = dfa_7; - this.eof = dfa_8; - this.min = dfa_9; - this.max = dfa_10; - this.accept = dfa_11; - this.special = dfa_12; - this.transition = dfa_13; + this.eof = dfa_7; + this.min = dfa_8; + this.max = dfa_9; + this.accept = dfa_10; + this.special = dfa_11; + this.transition = dfa_12; } public String getDescription() { - return "1971:1: rule__AggregationExpression__Alternatives : ( ( ruleAtomicExpression ) | ( ruleQuantifiedExpression ) | ( ruleAggregation ) );"; - } - } - static final String dfa_14s = "\12\uffff"; - static final String dfa_15s = "\1\uffff\2\7\6\uffff\1\7"; - static final String dfa_16s = "\1\16\2\30\3\uffff\1\105\2\uffff\1\30"; - static final String dfa_17s = "\1\106\2\104\3\uffff\1\105\2\uffff\1\104"; - static final String dfa_18s = "\3\uffff\1\3\1\4\1\5\1\uffff\1\1\1\2\1\uffff"; - static final String dfa_19s = "\12\uffff}>"; - static final String[] dfa_20s = { - "\1\4\5\uffff\3\4\4\uffff\1\4\1\uffff\1\4\16\uffff\1\5\14\uffff\1\3\5\uffff\1\4\1\2\4\uffff\1\1\1\4", - "\1\7\1\uffff\1\7\5\uffff\11\7\1\uffff\1\7\1\uffff\1\10\5\7\1\6\6\7\1\uffff\2\7\1\uffff\2\7\3\uffff\2\10\1\7", - "\1\7\1\uffff\1\7\5\uffff\11\7\1\uffff\1\7\1\uffff\1\10\5\7\1\uffff\6\7\1\uffff\2\7\1\uffff\2\7\3\uffff\2\10\1\7", - "", - "", + return "2106:1: rule__ExternDeclaration__Alternatives : ( ( ruleExternPredicateDeclaration ) | ( ruleExternFunctionDeclaration ) | ( ruleExternAggregationOperatorDeclaration ) | ( ruleExternDatatypeDeclaration ) );"; + } + } + static final String dfa_13s = "\13\uffff"; + static final String dfa_14s = "\2\uffff\3\1\3\uffff\3\1"; + static final String dfa_15s = "\1\17\1\uffff\3\32\1\uffff\1\22\1\uffff\3\32"; + static final String dfa_16s = "\1\113\1\uffff\3\111\1\uffff\1\112\1\uffff\3\111"; + static final String dfa_17s = "\1\uffff\1\1\3\uffff\1\3\1\uffff\1\2\3\uffff"; + static final String dfa_18s = "\13\uffff}>"; + static final String[] dfa_19s = { + "\1\1\2\uffff\1\4\2\uffff\1\5\3\1\5\uffff\1\1\1\uffff\1\1\16\uffff\1\1\15\uffff\1\1\5\uffff\2\1\1\3\4\uffff\1\2\1\1", "", - "\1\11", + "\1\1\2\uffff\1\1\4\uffff\3\1\1\6\6\1\1\uffff\1\1\1\uffff\13\1\1\uffff\1\1\2\uffff\2\1\1\7\2\1\4\uffff\3\1", + "\1\1\2\uffff\1\1\4\uffff\3\1\1\6\6\1\1\uffff\1\1\1\uffff\13\1\1\uffff\1\1\2\uffff\2\1\1\7\2\1\4\uffff\3\1", + "\1\1\2\uffff\1\1\4\uffff\3\1\1\6\6\1\1\uffff\1\1\1\uffff\13\1\1\uffff\1\1\2\uffff\2\1\1\7\2\1\4\uffff\3\1", "", + "\1\12\62\uffff\1\11\4\uffff\1\10", "", - "\1\7\1\uffff\1\7\5\uffff\11\7\1\uffff\1\7\1\uffff\1\10\5\7\1\6\6\7\1\uffff\2\7\1\uffff\2\7\3\uffff\2\10\1\7" + "\1\1\2\uffff\1\1\4\uffff\3\1\1\6\6\1\1\uffff\1\1\1\uffff\13\1\1\uffff\1\1\2\uffff\2\1\1\7\2\1\4\uffff\3\1", + "\1\1\2\uffff\1\1\4\uffff\3\1\1\6\6\1\1\uffff\1\1\1\uffff\13\1\1\uffff\1\1\2\uffff\2\1\1\7\2\1\4\uffff\3\1", + "\1\1\2\uffff\1\1\4\uffff\3\1\1\6\6\1\1\uffff\1\1\1\uffff\13\1\1\uffff\1\1\2\uffff\2\1\1\7\2\1\4\uffff\3\1" }; + static final short[] dfa_13 = DFA.unpackEncodedString(dfa_13s); static final short[] dfa_14 = DFA.unpackEncodedString(dfa_14s); - static final short[] dfa_15 = DFA.unpackEncodedString(dfa_15s); + static final char[] dfa_15 = DFA.unpackEncodedStringToUnsignedChars(dfa_15s); static final char[] dfa_16 = DFA.unpackEncodedStringToUnsignedChars(dfa_16s); - static final char[] dfa_17 = DFA.unpackEncodedStringToUnsignedChars(dfa_17s); + static final short[] dfa_17 = DFA.unpackEncodedString(dfa_17s); static final short[] dfa_18 = DFA.unpackEncodedString(dfa_18s); - static final short[] dfa_19 = DFA.unpackEncodedString(dfa_19s); - static final short[][] dfa_20 = unpackEncodedStringArray(dfa_20s); + static final short[][] dfa_19 = unpackEncodedStringArray(dfa_19s); class DFA9 extends DFA { public DFA9(BaseRecognizer recognizer) { this.recognizer = recognizer; this.decisionNumber = 9; - this.eot = dfa_14; - this.eof = dfa_15; - this.min = dfa_16; - this.max = dfa_17; - this.accept = dfa_18; - this.special = dfa_19; - this.transition = dfa_20; + this.eot = dfa_13; + this.eof = dfa_14; + this.min = dfa_15; + this.max = dfa_16; + this.accept = dfa_17; + this.special = dfa_18; + this.transition = dfa_19; } public String getDescription() { - return "1998:1: rule__AtomicExpression__Alternatives : ( ( ruleReference ) | ( ruleCall ) | ( ruleInterval ) | ( ruleLiteral ) | ( ( rule__AtomicExpression__Group_4__0 ) ) );"; - } - } - static final String dfa_21s = "\1\uffff\2\3\4\uffff\1\11\1\3\1\uffff"; - static final String dfa_22s = "\1\13\2\40\2\uffff\1\105\1\uffff\1\13\1\40\1\uffff"; - static final String dfa_23s = "\1\106\2\105\2\uffff\1\105\1\uffff\1\106\1\105\1\uffff"; - static final String dfa_24s = "\3\uffff\1\1\1\2\1\uffff\1\3\2\uffff\1\4"; - static final String[] dfa_25s = { - "\1\3\2\uffff\2\3\1\uffff\1\3\1\uffff\4\3\2\uffff\1\3\1\uffff\1\3\1\uffff\1\3\1\uffff\1\3\13\uffff\2\3\1\uffff\1\4\1\3\1\uffff\1\3\7\uffff\1\3\5\uffff\1\3\1\2\4\uffff\1\1\1\3", - "\1\3\3\uffff\2\3\1\uffff\2\3\1\uffff\1\3\1\uffff\2\3\1\7\3\3\1\5\1\3\2\uffff\1\3\1\uffff\2\3\1\uffff\2\3\3\uffff\1\6\1\uffff\2\3\1\uffff\1\6", - "\1\3\3\uffff\2\3\1\uffff\2\3\1\uffff\1\3\1\uffff\2\3\1\7\3\3\1\uffff\1\3\2\uffff\1\3\1\uffff\2\3\1\uffff\2\3\3\uffff\1\6\1\uffff\2\3\1\uffff\1\6", + return "2208:1: rule__BracedAggregateExpression__Alternatives : ( ( ruleAtomicExpression ) | ( ruleAggregation ) | ( ruleCount ) );"; + } + } + static final String dfa_20s = "\33\uffff"; + static final String dfa_21s = "\2\uffff\3\15\4\uffff\2\15\3\uffff\3\15\1\uffff\3\15\1\uffff\5\15"; + static final String dfa_22s = "\1\17\1\22\3\32\3\uffff\1\22\2\32\1\22\2\uffff\3\32\1\22\3\32\1\22\5\32"; + static final String dfa_23s = "\1\113\1\112\3\111\3\uffff\1\112\2\111\1\112\2\uffff\3\111\1\112\3\111\1\112\5\111"; + static final String dfa_24s = "\5\uffff\1\3\1\4\1\5\4\uffff\1\2\1\1\15\uffff"; + static final String dfa_25s = "\33\uffff}>"; + static final String[] dfa_26s = { + "\1\6\2\uffff\1\4\3\uffff\3\6\5\uffff\1\6\1\uffff\1\6\16\uffff\1\7\15\uffff\1\5\5\uffff\1\1\1\6\1\3\4\uffff\1\2\1\6", + "\1\4\62\uffff\1\3\4\uffff\1\2", + "\1\15\2\uffff\1\15\4\uffff\3\15\1\10\6\15\1\uffff\1\15\1\uffff\1\14\5\15\1\13\4\15\1\uffff\1\15\2\uffff\2\15\1\uffff\2\15\4\uffff\1\11\1\12\1\15", + "\1\15\2\uffff\1\15\4\uffff\3\15\1\10\6\15\1\uffff\1\15\1\uffff\1\14\5\15\1\13\4\15\1\uffff\1\15\2\uffff\2\15\1\uffff\2\15\4\uffff\1\11\1\12\1\15", + "\1\15\2\uffff\1\15\4\uffff\3\15\1\10\6\15\1\uffff\1\15\1\uffff\1\14\5\15\1\13\4\15\1\uffff\1\15\2\uffff\2\15\1\uffff\2\15\4\uffff\1\11\1\12\1\15", "", "", - "\1\10", "", - "\1\3\2\uffff\2\3\1\uffff\1\3\1\uffff\4\3\2\uffff\1\3\1\uffff\1\3\1\uffff\1\3\1\uffff\1\3\13\uffff\2\3\1\11\1\uffff\1\3\1\11\1\3\7\uffff\1\3\5\uffff\2\3\4\uffff\2\3", - "\1\3\3\uffff\2\3\1\uffff\2\3\1\uffff\1\3\1\uffff\2\3\1\7\3\3\1\5\1\3\2\uffff\1\3\1\uffff\2\3\1\uffff\2\3\3\uffff\1\6\1\uffff\2\3\1\uffff\1\6", - "" + "\1\20\62\uffff\1\17\4\uffff\1\16", + "\1\15\2\uffff\1\15\4\uffff\3\15\1\uffff\6\15\1\uffff\1\15\1\uffff\1\14\5\15\1\13\4\15\1\uffff\1\15\2\uffff\2\15\1\uffff\2\15\6\uffff\1\15", + "\1\15\2\uffff\1\15\4\uffff\3\15\1\uffff\6\15\1\uffff\1\15\1\uffff\1\14\5\15\1\13\4\15\1\uffff\1\15\2\uffff\2\15\1\uffff\2\15\6\uffff\1\15", + "\1\24\60\uffff\1\21\1\uffff\1\23\4\uffff\1\22", + "", + "", + "\1\15\2\uffff\1\15\4\uffff\3\15\1\10\6\15\1\uffff\1\15\1\uffff\1\14\5\15\1\13\4\15\1\uffff\1\15\2\uffff\2\15\1\uffff\2\15\4\uffff\1\11\1\12\1\15", + "\1\15\2\uffff\1\15\4\uffff\3\15\1\10\6\15\1\uffff\1\15\1\uffff\1\14\5\15\1\13\4\15\1\uffff\1\15\2\uffff\2\15\1\uffff\2\15\4\uffff\1\11\1\12\1\15", + "\1\15\2\uffff\1\15\4\uffff\3\15\1\10\6\15\1\uffff\1\15\1\uffff\1\14\5\15\1\13\4\15\1\uffff\1\15\2\uffff\2\15\1\uffff\2\15\4\uffff\1\11\1\12\1\15", + "\1\24\62\uffff\1\23\4\uffff\1\22", + "\1\15\2\uffff\1\15\4\uffff\3\15\1\25\6\15\1\uffff\1\15\1\uffff\1\14\5\15\1\13\4\15\1\uffff\1\15\2\uffff\2\15\1\uffff\2\15\4\uffff\1\26\1\27\1\15", + "\1\15\2\uffff\1\15\4\uffff\3\15\1\25\6\15\1\uffff\1\15\1\uffff\1\14\5\15\1\13\4\15\1\uffff\1\15\2\uffff\2\15\1\uffff\2\15\4\uffff\1\26\1\27\1\15", + "\1\15\2\uffff\1\15\4\uffff\3\15\1\25\6\15\1\uffff\1\15\1\uffff\1\14\5\15\1\13\4\15\1\uffff\1\15\2\uffff\2\15\1\uffff\2\15\4\uffff\1\26\1\27\1\15", + "\1\32\62\uffff\1\31\4\uffff\1\30", + "\1\15\2\uffff\1\15\4\uffff\3\15\1\uffff\6\15\1\uffff\1\15\1\uffff\1\14\5\15\1\13\4\15\1\uffff\1\15\2\uffff\2\15\1\uffff\2\15\6\uffff\1\15", + "\1\15\2\uffff\1\15\4\uffff\3\15\1\uffff\6\15\1\uffff\1\15\1\uffff\1\14\5\15\1\13\4\15\1\uffff\1\15\2\uffff\2\15\1\uffff\2\15\6\uffff\1\15", + "\1\15\2\uffff\1\15\4\uffff\3\15\1\25\6\15\1\uffff\1\15\1\uffff\1\14\5\15\1\13\4\15\1\uffff\1\15\2\uffff\2\15\1\uffff\2\15\4\uffff\1\26\1\27\1\15", + "\1\15\2\uffff\1\15\4\uffff\3\15\1\25\6\15\1\uffff\1\15\1\uffff\1\14\5\15\1\13\4\15\1\uffff\1\15\2\uffff\2\15\1\uffff\2\15\4\uffff\1\26\1\27\1\15", + "\1\15\2\uffff\1\15\4\uffff\3\15\1\25\6\15\1\uffff\1\15\1\uffff\1\14\5\15\1\13\4\15\1\uffff\1\15\2\uffff\2\15\1\uffff\2\15\4\uffff\1\26\1\27\1\15" }; + + static final short[] dfa_20 = DFA.unpackEncodedString(dfa_20s); static final short[] dfa_21 = DFA.unpackEncodedString(dfa_21s); static final char[] dfa_22 = DFA.unpackEncodedStringToUnsignedChars(dfa_22s); static final char[] dfa_23 = DFA.unpackEncodedStringToUnsignedChars(dfa_23s); static final short[] dfa_24 = DFA.unpackEncodedString(dfa_24s); - static final short[][] dfa_25 = unpackEncodedStringArray(dfa_25s); + static final short[] dfa_25 = DFA.unpackEncodedString(dfa_25s); + static final short[][] dfa_26 = unpackEncodedStringArray(dfa_26s); - class DFA11 extends DFA { + class DFA10 extends DFA { - public DFA11(BaseRecognizer recognizer) { + public DFA10(BaseRecognizer recognizer) { this.recognizer = recognizer; - this.decisionNumber = 11; - this.eot = dfa_14; + this.decisionNumber = 10; + this.eot = dfa_20; this.eof = dfa_21; this.min = dfa_22; this.max = dfa_23; this.accept = dfa_24; - this.special = dfa_19; - this.transition = dfa_25; + this.special = dfa_25; + this.transition = dfa_26; } public String getDescription() { - return "2058:1: rule__Argument__Alternatives : ( ( ruleExpressionArgument ) | ( ruleStarArgument ) | ( ruleTypedArgument ) | ( ruleTypedStarArgument ) );"; + return "2235:1: rule__AtomicExpression__Alternatives : ( ( ruleReference ) | ( ruleCall ) | ( ruleInterval ) | ( ruleLiteral ) | ( ( rule__AtomicExpression__Group_4__0 ) ) );"; } } - static final String dfa_26s = "\17\uffff"; - static final String dfa_27s = "\13\uffff\2\6\1\uffff\1\6"; - static final String dfa_28s = "\1\27\1\100\3\44\1\105\3\uffff\1\100\3\44\1\105\1\44"; - static final String dfa_29s = "\1\27\1\106\1\62\2\47\1\105\3\uffff\1\105\1\62\2\104\1\105\1\104"; - static final String dfa_30s = "\6\uffff\1\3\1\2\1\1\6\uffff"; - static final String dfa_31s = "\17\uffff}>"; - static final String[] dfa_32s = { - "\1\1", - "\1\3\4\uffff\1\2\1\4", - "\1\7\1\10\1\uffff\1\6\12\uffff\1\5", - "\1\7\1\10\1\uffff\1\6", - "\1\11\2\uffff\1\7", - "\1\12", + static final String dfa_27s = "\16\uffff"; + static final String dfa_28s = "\2\uffff\3\1\4\uffff\1\15\3\1\1\uffff"; + static final String dfa_29s = "\1\17\1\uffff\3\22\1\uffff\1\22\1\61\1\uffff\1\17\3\22\1\uffff"; + static final String dfa_30s = "\1\113\1\uffff\3\112\1\uffff\2\112\1\uffff\1\113\3\112\1\uffff"; + static final String dfa_31s = "\1\uffff\1\1\3\uffff\1\2\2\uffff\1\3\4\uffff\1\4"; + static final String dfa_32s = "\16\uffff}>"; + static final String[] dfa_33s = { + "\1\1\2\uffff\1\4\2\uffff\4\1\5\uffff\1\1\1\uffff\1\1\15\uffff\2\1\1\uffff\1\5\1\1\1\uffff\1\1\7\uffff\2\1\5\uffff\2\1\1\3\4\uffff\1\2\1\1", "", + "\1\7\17\uffff\1\1\2\uffff\1\6\1\uffff\2\1\1\uffff\2\1\1\uffff\1\1\1\uffff\2\1\1\11\5\1\2\uffff\1\1\1\uffff\1\1\3\uffff\2\1\6\uffff\2\1\1\uffff\1\10", + "\1\7\17\uffff\1\1\2\uffff\1\6\1\uffff\2\1\1\uffff\2\1\1\uffff\1\1\1\uffff\2\1\1\11\5\1\2\uffff\1\1\1\uffff\1\1\3\uffff\2\1\6\uffff\2\1\1\uffff\1\10", + "\1\7\17\uffff\1\1\2\uffff\1\6\1\uffff\2\1\1\uffff\2\1\1\uffff\1\1\1\uffff\2\1\1\11\5\1\2\uffff\1\1\1\uffff\1\1\3\uffff\2\1\6\uffff\2\1\1\uffff\1\10", "", + "\1\14\62\uffff\1\13\4\uffff\1\12", + "\1\15\30\uffff\1\10", "", - "\1\14\4\uffff\1\13", - "\1\7\1\10\1\uffff\1\6\12\uffff\1\5", - "\1\7\15\uffff\1\15\21\uffff\1\6", - "\1\7\37\uffff\1\6", - "\1\16", - "\1\7\15\uffff\1\15\21\uffff\1\6" + "\1\1\2\uffff\1\1\2\uffff\4\1\5\uffff\1\1\1\uffff\1\1\15\uffff\2\1\1\15\1\uffff\1\1\1\15\1\1\7\uffff\2\1\5\uffff\3\1\4\uffff\2\1", + "\1\7\17\uffff\1\1\2\uffff\1\6\1\uffff\2\1\1\uffff\2\1\1\uffff\1\1\1\uffff\2\1\1\11\5\1\2\uffff\1\1\1\uffff\1\1\3\uffff\2\1\6\uffff\2\1\1\uffff\1\10", + "\1\7\17\uffff\1\1\2\uffff\1\6\1\uffff\2\1\1\uffff\2\1\1\uffff\1\1\1\uffff\2\1\1\11\5\1\2\uffff\1\1\1\uffff\1\1\3\uffff\2\1\6\uffff\2\1\1\uffff\1\10", + "\1\7\17\uffff\1\1\2\uffff\1\6\1\uffff\2\1\1\uffff\2\1\1\uffff\1\1\1\uffff\2\1\1\11\5\1\2\uffff\1\1\1\uffff\1\1\3\uffff\2\1\6\uffff\2\1\1\uffff\1\10", + "" }; - static final short[] dfa_26 = DFA.unpackEncodedString(dfa_26s); static final short[] dfa_27 = DFA.unpackEncodedString(dfa_27s); - static final char[] dfa_28 = DFA.unpackEncodedStringToUnsignedChars(dfa_28s); + static final short[] dfa_28 = DFA.unpackEncodedString(dfa_28s); static final char[] dfa_29 = DFA.unpackEncodedStringToUnsignedChars(dfa_29s); - static final short[] dfa_30 = DFA.unpackEncodedString(dfa_30s); + static final char[] dfa_30 = DFA.unpackEncodedStringToUnsignedChars(dfa_30s); static final short[] dfa_31 = DFA.unpackEncodedString(dfa_31s); - static final short[][] dfa_32 = unpackEncodedStringArray(dfa_32s); + static final short[] dfa_32 = DFA.unpackEncodedString(dfa_32s); + static final short[][] dfa_33 = unpackEncodedStringArray(dfa_33s); + + class DFA11 extends DFA { + + public DFA11(BaseRecognizer recognizer) { + this.recognizer = recognizer; + this.decisionNumber = 11; + this.eot = dfa_27; + this.eof = dfa_28; + this.min = dfa_29; + this.max = dfa_30; + this.accept = dfa_31; + this.special = dfa_32; + this.transition = dfa_33; + } + public String getDescription() { + return "2274:1: rule__Argument__Alternatives : ( ( ruleExpressionArgument ) | ( ruleStarArgument ) | ( ruleTypedVariableArgument ) | ( ruleTypedStarArgument ) );"; + } + } + static final String dfa_34s = "\25\uffff"; + static final String dfa_35s = "\1\31\1\22\1\47\3\45\1\22\1\uffff\1\22\2\uffff\6\45\1\22\3\45"; + static final String dfa_36s = "\1\31\1\113\4\52\1\112\1\uffff\1\112\2\uffff\3\111\3\52\1\112\3\111"; + static final String dfa_37s = "\7\uffff\1\2\1\uffff\1\1\1\3\12\uffff"; + static final String dfa_38s = "\25\uffff}>"; + static final String[] dfa_39s = { + "\1\1", + "\1\5\62\uffff\1\4\4\uffff\1\3\1\2", + "\1\6\2\uffff\1\7", + "\1\10\1\uffff\1\7\1\11\1\uffff\1\12", + "\1\10\1\uffff\1\7\1\11\1\uffff\1\12", + "\1\10\1\uffff\1\7\1\11\1\uffff\1\12", + "\1\15\62\uffff\1\14\4\uffff\1\13", + "", + "\1\20\62\uffff\1\17\4\uffff\1\16", + "", + "", + "\1\21\1\uffff\1\7\41\uffff\1\12", + "\1\21\1\uffff\1\7\41\uffff\1\12", + "\1\21\1\uffff\1\7\41\uffff\1\12", + "\1\10\1\uffff\1\7\1\11\1\uffff\1\12", + "\1\10\1\uffff\1\7\1\11\1\uffff\1\12", + "\1\10\1\uffff\1\7\1\11\1\uffff\1\12", + "\1\24\62\uffff\1\23\4\uffff\1\22", + "\1\21\1\uffff\1\7\41\uffff\1\12", + "\1\21\1\uffff\1\7\41\uffff\1\12", + "\1\21\1\uffff\1\7\41\uffff\1\12" + }; + + static final short[] dfa_34 = DFA.unpackEncodedString(dfa_34s); + static final char[] dfa_35 = DFA.unpackEncodedStringToUnsignedChars(dfa_35s); + static final char[] dfa_36 = DFA.unpackEncodedStringToUnsignedChars(dfa_36s); + static final short[] dfa_37 = DFA.unpackEncodedString(dfa_37s); + static final short[] dfa_38 = DFA.unpackEncodedString(dfa_38s); + static final short[][] dfa_39 = unpackEncodedStringArray(dfa_39s); - class DFA14 extends DFA { + class DFA18 extends DFA { - public DFA14(BaseRecognizer recognizer) { + public DFA18(BaseRecognizer recognizer) { this.recognizer = recognizer; - this.decisionNumber = 14; - this.eot = dfa_26; - this.eof = dfa_27; - this.min = dfa_28; - this.max = dfa_29; - this.accept = dfa_30; - this.special = dfa_31; - this.transition = dfa_32; + this.decisionNumber = 18; + this.eot = dfa_34; + this.eof = dfa_34; + this.min = dfa_35; + this.max = dfa_36; + this.accept = dfa_37; + this.special = dfa_38; + this.transition = dfa_39; } public String getDescription() { - return "2157:1: rule__ScopeDefinition__Alternatives : ( ( ruleExactScopeDefinition ) | ( ruleBoundedScopeDefinition ) | ( ruleLowerBoundedScopeDefinition ) );"; + return "2463:1: rule__ScopeDeclaration__Alternatives : ( ( ruleExactScope ) | ( ruleBoundedScope ) | ( ruleLowerBoundedScope ) );"; } } 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[]{0x82029A00EAFFDB32L,0x0000000000000061L}); - public static final BitSet FOLLOW_4 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000010L}); - public static final BitSet FOLLOW_5 = new BitSet(new long[]{0x0090000800000000L}); - public static final BitSet FOLLOW_6 = new BitSet(new long[]{0x0010000000000000L}); - public static final BitSet FOLLOW_7 = new BitSet(new long[]{0x82029A00EA7AC800L,0x0000000000000061L}); - public static final BitSet FOLLOW_8 = new BitSet(new long[]{0x0000000800000000L}); - public static final BitSet FOLLOW_9 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000021L}); - public static final BitSet FOLLOW_10 = new BitSet(new long[]{0x0000000000200000L}); - public static final BitSet FOLLOW_11 = new BitSet(new long[]{0x0000000000000010L}); - public static final BitSet FOLLOW_12 = new BitSet(new long[]{0x0000100000000000L}); - public static final BitSet FOLLOW_13 = new BitSet(new long[]{0x0080000000000000L}); - public static final BitSet FOLLOW_14 = new BitSet(new long[]{0x1000000000000000L}); - public static final BitSet FOLLOW_15 = new BitSet(new long[]{0x0000000010000000L}); - public static final BitSet FOLLOW_16 = new BitSet(new long[]{0x4000000000000000L}); - public static final BitSet FOLLOW_17 = new BitSet(new long[]{0x0000000000000080L}); - public static final BitSet FOLLOW_18 = new BitSet(new long[]{0x0000000000002000L}); - public static final BitSet FOLLOW_19 = new BitSet(new long[]{0x0001000000000000L}); - public static final BitSet FOLLOW_20 = new BitSet(new long[]{0x0001000000000002L}); - public static final BitSet FOLLOW_21 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000020L}); - public static final BitSet FOLLOW_22 = new BitSet(new long[]{0x0000000004000000L}); - public static final BitSet FOLLOW_23 = new BitSet(new long[]{0x0000000001000000L}); - public static final BitSet FOLLOW_24 = new BitSet(new long[]{0x0001040000000000L}); - public static final BitSet FOLLOW_25 = new BitSet(new long[]{0x0000004000000000L}); - public static final BitSet FOLLOW_26 = new BitSet(new long[]{0x0020000200000000L}); - public static final BitSet FOLLOW_27 = new BitSet(new long[]{0x0020000000000000L}); - public static final BitSet FOLLOW_28 = new BitSet(new long[]{0x0020000000000002L}); - public static final BitSet FOLLOW_29 = new BitSet(new long[]{0x0000000200000000L}); - public static final BitSet FOLLOW_30 = new BitSet(new long[]{0x014004B100000000L}); - public static final BitSet FOLLOW_31 = new BitSet(new long[]{0x0002800000000000L}); - public static final BitSet FOLLOW_32 = new BitSet(new long[]{0x0002800000000002L}); - public static final BitSet FOLLOW_33 = new BitSet(new long[]{0x0008400000000000L}); - public static final BitSet FOLLOW_34 = new BitSet(new long[]{0x0008400000000002L}); - public static final BitSet FOLLOW_35 = new BitSet(new long[]{0x0800000000000000L}); - public static final BitSet FOLLOW_36 = new BitSet(new long[]{0x0000010000000000L}); - public static final BitSet FOLLOW_37 = new BitSet(new long[]{0x82001000287AC000L,0x0000000000000061L}); - public static final BitSet FOLLOW_38 = new BitSet(new long[]{0x0200000000000000L}); - public static final BitSet FOLLOW_39 = new BitSet(new long[]{0x0400000000000000L,0x0000000000000021L}); - public static final BitSet FOLLOW_40 = new BitSet(new long[]{0x1200000000000000L}); - public static final BitSet FOLLOW_41 = new BitSet(new long[]{0x6000000000000000L}); - public static final BitSet FOLLOW_42 = new BitSet(new long[]{0x0000200000000000L}); - public static final BitSet FOLLOW_43 = new BitSet(new long[]{0x0000100000000000L,0x000000000000000CL}); - public static final BitSet FOLLOW_44 = new BitSet(new long[]{0x8202FA00EA7AC800L,0x0000000000000061L}); - public static final BitSet FOLLOW_45 = new BitSet(new long[]{0x8202DA00EA7AC800L,0x0000000000000061L}); - public static final BitSet FOLLOW_46 = new BitSet(new long[]{0x0000400000000000L}); - public static final BitSet FOLLOW_47 = new BitSet(new long[]{0x0000000400000000L}); - public static final BitSet FOLLOW_48 = new BitSet(new long[]{0x0400000000000000L}); - public static final BitSet FOLLOW_49 = new BitSet(new long[]{0x0000000020000000L}); - public static final BitSet FOLLOW_50 = new BitSet(new long[]{0x0000000000100000L}); - public static final BitSet FOLLOW_51 = new BitSet(new long[]{0x0000000000040020L}); - public static final BitSet FOLLOW_52 = new BitSet(new long[]{0x1000000000002000L}); - public static final BitSet FOLLOW_53 = new BitSet(new long[]{0x4000000000000040L,0x0000000000000021L}); - public static final BitSet FOLLOW_54 = new BitSet(new long[]{0x0000000000000042L,0x0000000000000021L}); - public static final BitSet FOLLOW_55 = new BitSet(new long[]{0x0000000000000040L,0x0000000000000021L}); - public static final BitSet FOLLOW_56 = new BitSet(new long[]{0x0200000000000000L,0x0000000000000020L}); - public static final BitSet FOLLOW_57 = new BitSet(new long[]{0x0020000000000400L}); - public static final BitSet FOLLOW_58 = new BitSet(new long[]{0x0000400000000000L,0x0000000000000040L}); - public static final BitSet FOLLOW_59 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000040L}); - public static final BitSet FOLLOW_60 = new BitSet(new long[]{0x0000002000000000L}); - public static final BitSet FOLLOW_61 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000061L}); - public static final BitSet FOLLOW_62 = new BitSet(new long[]{0x0000001000000000L}); - public static final BitSet FOLLOW_63 = new BitSet(new long[]{0x0000008000000000L}); - public static final BitSet FOLLOW_64 = new BitSet(new long[]{0x0004000000000000L}); - public static final BitSet FOLLOW_65 = new BitSet(new long[]{0x0004000000000002L}); - -} \ No newline at end of file + public static final BitSet FOLLOW_3 = new BitSet(new long[]{0x3014D0035BE79670L,0x0000000000000C38L}); + public static final BitSet FOLLOW_4 = new BitSet(new long[]{0x0000000000020002L}); + public static final BitSet FOLLOW_5 = new BitSet(new long[]{0x3014D0035BE59672L,0x0000000000000C38L}); + public static final BitSet FOLLOW_6 = new BitSet(new long[]{0x0000000000040000L,0x0000000000000428L}); + public static final BitSet FOLLOW_7 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000200L}); + public static final BitSet FOLLOW_8 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000010L}); + public static final BitSet FOLLOW_9 = new BitSet(new long[]{0x0000080000000000L}); + public static final BitSet FOLLOW_10 = new BitSet(new long[]{0x0080005000000000L}); + public static final BitSet FOLLOW_11 = new BitSet(new long[]{0x0080000000000000L}); + public static final BitSet FOLLOW_12 = new BitSet(new long[]{0x3014D00341E48000L,0x0000000000000C38L}); + public static final BitSet FOLLOW_13 = new BitSet(new long[]{0x0000001000000000L}); + public static final BitSet FOLLOW_14 = new BitSet(new long[]{0x0000000000800000L}); + public static final BitSet FOLLOW_15 = new BitSet(new long[]{0x0000000000000020L}); + public static final BitSet FOLLOW_16 = new BitSet(new long[]{0x0000800000000000L}); + public static final BitSet FOLLOW_17 = new BitSet(new long[]{0x0080000000000000L,0x0000000000000200L}); + public static final BitSet FOLLOW_18 = new BitSet(new long[]{0x0000004000000000L}); + public static final BitSet FOLLOW_19 = new BitSet(new long[]{0x0000000000040000L}); + public static final BitSet FOLLOW_20 = new BitSet(new long[]{0x0000000000800020L}); + public static final BitSet FOLLOW_21 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000001L}); + public static final BitSet FOLLOW_22 = new BitSet(new long[]{0x0000000080000000L}); + public static final BitSet FOLLOW_23 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000004L}); + public static final BitSet FOLLOW_24 = new BitSet(new long[]{0x0000000000000100L}); + public static final BitSet FOLLOW_25 = new BitSet(new long[]{0x0000020000000000L}); + public static final BitSet FOLLOW_26 = new BitSet(new long[]{0x0000000020000000L}); + public static final BitSet FOLLOW_27 = new BitSet(new long[]{0x0000000004000000L}); + public static final BitSet FOLLOW_28 = new BitSet(new long[]{0x0008200000000000L}); + public static final BitSet FOLLOW_29 = new BitSet(new long[]{0x0008000000000002L}); + public static final BitSet FOLLOW_30 = new BitSet(new long[]{0x0400000000000000L}); + public static final BitSet FOLLOW_31 = new BitSet(new long[]{0x0100000800000000L}); + public static final BitSet FOLLOW_32 = new BitSet(new long[]{0x0100000000000000L}); + public static final BitSet FOLLOW_33 = new BitSet(new long[]{0x0100000000000002L}); + public static final BitSet FOLLOW_34 = new BitSet(new long[]{0x0000000800000000L}); + public static final BitSet FOLLOW_35 = new BitSet(new long[]{0x0008000000000000L}); + public static final BitSet FOLLOW_36 = new BitSet(new long[]{0x0A00258400000000L}); + public static final BitSet FOLLOW_37 = new BitSet(new long[]{0x0014000000000000L}); + public static final BitSet FOLLOW_38 = new BitSet(new long[]{0x0014000000000002L}); + public static final BitSet FOLLOW_39 = new BitSet(new long[]{0x0042000000000000L}); + public static final BitSet FOLLOW_40 = new BitSet(new long[]{0x0042000000000002L}); + public static final BitSet FOLLOW_41 = new BitSet(new long[]{0x8000000000000000L}); + public static final BitSet FOLLOW_42 = new BitSet(new long[]{0x2000800141E48000L,0x0000000000000C38L}); + public static final BitSet FOLLOW_43 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000002L}); + public static final BitSet FOLLOW_44 = new BitSet(new long[]{0x0001000000000000L}); + public static final BitSet FOLLOW_45 = new BitSet(new long[]{0x3017D00341E48000L,0x0000000000000C38L}); + public static final BitSet FOLLOW_46 = new BitSet(new long[]{0x3016D00341E48000L,0x0000000000000C38L}); + public static final BitSet FOLLOW_47 = new BitSet(new long[]{0x0002000000000000L}); + public static final BitSet FOLLOW_48 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000400L}); + public static final BitSet FOLLOW_49 = new BitSet(new long[]{0x0020000000000000L}); + public static final BitSet FOLLOW_50 = new BitSet(new long[]{0x0020000000000002L}); + public static final BitSet FOLLOW_51 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000180L}); + public static final BitSet FOLLOW_52 = new BitSet(new long[]{0x4000000000000000L}); + public static final BitSet FOLLOW_53 = new BitSet(new long[]{0x0000000100000000L}); + public static final BitSet FOLLOW_54 = new BitSet(new long[]{0x0000000000400000L}); + public static final BitSet FOLLOW_55 = new BitSet(new long[]{0x0000000000100000L}); + public static final BitSet FOLLOW_56 = new BitSet(new long[]{0x0000000000002000L,0x0000000000000201L}); + public static final BitSet FOLLOW_57 = new BitSet(new long[]{0x00000000000C0080L,0x000000000000042CL}); + public static final BitSet FOLLOW_58 = new BitSet(new long[]{0x00000000000C0082L,0x0000000000000428L}); + public static final BitSet FOLLOW_59 = new BitSet(new long[]{0x00000000000C0080L,0x0000000000000428L}); + public static final BitSet FOLLOW_60 = new BitSet(new long[]{0x2000000000000000L,0x0000000000000400L}); + public static final BitSet FOLLOW_61 = new BitSet(new long[]{0x0100000000000800L}); + public static final BitSet FOLLOW_62 = new BitSet(new long[]{0x2000000000000000L}); + public static final BitSet FOLLOW_63 = new BitSet(new long[]{0x0002000000000000L,0x0000000000000800L}); + public static final BitSet FOLLOW_64 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000800L}); + public static final BitSet FOLLOW_65 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000201L}); + public static final BitSet FOLLOW_66 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000404L}); + public static final BitSet FOLLOW_67 = new BitSet(new long[]{0x0008000000000000L,0x0000000000000400L}); + public static final BitSet FOLLOW_68 = new BitSet(new long[]{0x0008000000000002L,0x0000000000000400L}); + public static final BitSet FOLLOW_69 = new BitSet(new long[]{0x0000010000000000L}); + public static final BitSet FOLLOW_70 = new BitSet(new long[]{0x0000000000040000L,0x0000000000000C28L}); + public static final BitSet FOLLOW_71 = new BitSet(new long[]{0x0000008000000000L}); + public static final BitSet FOLLOW_72 = new BitSet(new long[]{0x0000040000000000L}); + public static final BitSet FOLLOW_73 = new BitSet(new long[]{0x0000002000000000L}); + public static final BitSet FOLLOW_74 = new BitSet(new long[]{0x0000002000000002L}); + public static final BitSet FOLLOW_75 = new BitSet(new long[]{0x0000000000800022L}); + public static final BitSet FOLLOW_76 = new BitSet(new long[]{0x0000000010000042L}); + +} diff --git a/Application/org.eclipse.viatra.solver.language.ide/src-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/internal/InternalSolverLanguageParser.tokens b/Application/org.eclipse.viatra.solver.language.ide/src-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/internal/InternalSolverLanguageParser.tokens index 736b2f0a..591c0e60 100644 --- a/Application/org.eclipse.viatra.solver.language.ide/src-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/internal/InternalSolverLanguageParser.tokens +++ b/Application/org.eclipse.viatra.solver.language.ide/src-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/internal/InternalSolverLanguageParser.tokens @@ -1,70 +1,75 @@ -'!'=43 -'!='=32 -'('=44 -')'=45 -'*'=46 -'+'=47 -','=48 -'-'=49 -'->'=33 -'.'=50 -'..'=34 -'...'=28 -'/'=51 -':'=52 -':-'=35 -';'=53 -'<'=54 -'<='=36 -'='=55 -'=='=37 -'=>'=38 -'>'=56 -'>='=39 -'['=57 -']'=58 -'^'=59 -'abstract'=5 -'as'=40 -'class'=18 -'contains'=6 -'count'=19 -'current'=11 -'datatype'=7 +'!'=46 +'!='=34 +'('=47 +')'=48 +'*'=49 +'+'=50 +','=51 +'-'=52 +'->'=35 +'.'=53 +'...'=31 +'/'=54 +':'=55 +':-'=36 +'::'=37 +':='=38 +';'=56 +'<'=57 +'<='=39 +'='=58 +'=='=40 +'=>'=41 +'>'=59 +'>='=42 +'?'=60 +'['=61 +']'=62 +'^'=63 +'abstract'=6 +'as'=43 +'class'=20 +'containment'=4 +'contains'=7 +'count'=21 +'datatype'=8 'default'=12 -'else'=24 -'empty'=20 -'error'=21 -'exists'=15 +'else'=26 +'empty'=22 +'enum'=27 +'error'=23 'extends'=13 'extern'=16 -'false'=22 -'forall'=17 -'functional'=4 -'if'=41 -'in'=42 -'inf'=29 -'let'=30 -'maximize'=8 -'may'=31 -'minimize'=9 -'must'=25 -'opposite'=10 -'scope'=23 -'then'=26 -'true'=27 -'unknown'=14 -'{'=60 -'|'=61 -'}'=62 -RULE_ANY_OTHER=73 -RULE_FULL_STOP=68 -RULE_ID=69 -RULE_INT=70 -RULE_ML_COMMENT=71 -RULE_QUOTED_ID=64 -RULE_REFLEXIVE_TRANSITIVE_CLOSURE=67 -RULE_SL_COMMENT=65 -RULE_STRING=63 -RULE_TRANSITIVE_CLOSURE=66 -RULE_WS=72 +'false'=24 +'functional'=5 +'if'=44 +'import'=17 +'in'=45 +'inf'=32 +'let'=33 +'maximize'=9 +'minimize'=10 +'object'=18 +'opposite'=11 +'problem'=14 +'refers'=19 +'root'=28 +'scope'=25 +'then'=29 +'true'=30 +'unknown'=15 +'{'=64 +'|'=65 +'}'=66 +'~'=67 +RULE_ANY_OTHER=78 +RULE_FULL_STOP=73 +RULE_ID=74 +RULE_INT=75 +RULE_ML_COMMENT=76 +RULE_QUOTED_ID=69 +RULE_REFLEXIVE_TRANSITIVE_CLOSURE=72 +RULE_SL_COMMENT=70 +RULE_STRING=68 +RULE_TRANSITIVE_CLOSURE=71 +RULE_WS=77 diff --git a/Application/org.eclipse.viatra.solver.language.ide/src-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/lexer/InternalSolverLanguageLexer.g b/Application/org.eclipse.viatra.solver.language.ide/src-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/lexer/InternalSolverLanguageLexer.g index 77e9557a..dd52bd33 100644 --- a/Application/org.eclipse.viatra.solver.language.ide/src-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/lexer/InternalSolverLanguageLexer.g +++ b/Application/org.eclipse.viatra.solver.language.ide/src-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/lexer/InternalSolverLanguageLexer.g @@ -11,6 +11,8 @@ package org.eclipse.viatra.solver.language.ide.contentassist.antlr.lexer; import org.eclipse.xtext.ide.editor.contentassist.antlr.internal.Lexer; } +Containment : 'containment'; + Functional : 'functional'; Abstract : 'abstract'; @@ -25,19 +27,21 @@ Minimize : 'minimize'; Opposite : 'opposite'; -Current : 'current'; - Default : 'default'; Extends : 'extends'; -Unknown : 'unknown'; +Problem : 'problem'; -Exists : 'exists'; +Unknown : 'unknown'; Extern : 'extern'; -Forall : 'forall'; +Import : 'import'; + +Object : 'object'; + +Refers : 'refers'; Class : 'class'; @@ -53,7 +57,9 @@ Scope : 'scope'; Else : 'else'; -Must : 'must'; +Enum : 'enum'; + +Root : 'root'; Then : 'then'; @@ -65,16 +71,16 @@ Inf : 'inf'; Let : 'let'; -May : 'may'; - ExclamationMarkEqualsSign : '!='; HyphenMinusGreaterThanSign : '->'; -FullStopFullStop : '..'; - ColonHyphenMinus : ':-'; +ColonColon : '::'; + +ColonEqualsSign : ':='; + LessThanSignEqualsSign : '<='; EqualsSignEqualsSign : '=='; @@ -117,6 +123,8 @@ EqualsSign : '='; GreaterThanSign : '>'; +QuestionMark : '?'; + LeftSquareBracket : '['; RightSquareBracket : ']'; @@ -129,6 +137,8 @@ VerticalLine : '|'; RightCurlyBracket : '}'; +Tilde : '~'; + RULE_STRING : '"' ('\\' .|~(('\\'|'"')))* '"'; RULE_QUOTED_ID : '\'' ('\\' .|~(('\\'|'\'')))* '\''; diff --git a/Application/org.eclipse.viatra.solver.language.ide/src-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/lexer/InternalSolverLanguageLexer.java b/Application/org.eclipse.viatra.solver.language.ide/src-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/lexer/InternalSolverLanguageLexer.java index 541338df..c77ac448 100644 --- a/Application/org.eclipse.viatra.solver.language.ide/src-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/lexer/InternalSolverLanguageLexer.java +++ b/Application/org.eclipse.viatra.solver.language.ide/src-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/lexer/InternalSolverLanguageLexer.java @@ -12,77 +12,82 @@ import java.util.ArrayList; @SuppressWarnings("all") public class InternalSolverLanguageLexer extends Lexer { - public static final int EqualsSignGreaterThanSign=38; - public static final int True=27; - public static final int Count=19; - public static final int False=22; - public static final int Must=25; - public static final int FullStopFullStopFullStop=28; - public static final int LessThanSign=54; - public static final int Datatype=7; - public static final int LeftParenthesis=44; - public static final int Unknown=14; - public static final int RULE_REFLEXIVE_TRANSITIVE_CLOSURE=67; - public static final int FullStopFullStop=34; - public static final int Then=26; + public static final int Enum=27; + public static final int Import=17; + public static final int EqualsSignGreaterThanSign=41; + public static final int True=30; + public static final int Count=21; + public static final int False=24; + public static final int FullStopFullStopFullStop=31; + public static final int LessThanSign=57; + public static final int Datatype=8; + public static final int LeftParenthesis=47; + public static final int Unknown=15; + public static final int RULE_REFLEXIVE_TRANSITIVE_CLOSURE=72; + public static final int Then=29; public static final int Extends=13; - public static final int Forall=17; - public static final int RightSquareBracket=58; - public static final int ExclamationMark=43; - public static final int Opposite=10; - public static final int GreaterThanSign=56; - public static final int RULE_ID=69; - public static final int RULE_QUOTED_ID=64; - public static final int RightParenthesis=45; - public static final int GreaterThanSignEqualsSign=39; - public static final int Functional=4; - public static final int EqualsSignEqualsSign=37; - public static final int VerticalLine=61; - public static final int PlusSign=47; - public static final int RULE_INT=70; - public static final int Contains=6; - public static final int RULE_ML_COMMENT=71; - public static final int RULE_TRANSITIVE_CLOSURE=66; - public static final int Class=18; - public static final int LeftSquareBracket=57; - public static final int RULE_FULL_STOP=68; - public static final int Current=11; - public static final int If=41; - public static final int Inf=29; - public static final int May=31; - public static final int In=42; - public static final int RULE_STRING=63; + public static final int RightSquareBracket=62; + public static final int ExclamationMark=46; + public static final int Opposite=11; + public static final int GreaterThanSign=59; + public static final int Root=28; + public static final int RULE_ID=74; + public static final int RULE_QUOTED_ID=69; + public static final int RightParenthesis=48; + public static final int ColonEqualsSign=38; + public static final int GreaterThanSignEqualsSign=42; + public static final int Functional=5; + public static final int ColonColon=37; + public static final int EqualsSignEqualsSign=40; + public static final int VerticalLine=65; + public static final int PlusSign=50; + public static final int RULE_INT=75; + public static final int Contains=7; + public static final int RULE_ML_COMMENT=76; + public static final int RULE_TRANSITIVE_CLOSURE=71; + public static final int Problem=14; + public static final int Object=18; + public static final int Class=20; + public static final int LeftSquareBracket=61; + public static final int RULE_FULL_STOP=73; + public static final int If=44; + public static final int Refers=19; + public static final int Inf=32; + public static final int In=45; + public static final int RULE_STRING=68; public static final int Extern=16; - public static final int RULE_SL_COMMENT=65; - public static final int Comma=48; - public static final int EqualsSign=55; - public static final int Empty=20; - public static final int As=40; - public static final int HyphenMinus=49; - public static final int Maximize=8; - public static final int LessThanSignEqualsSign=36; - public static final int Solidus=51; - public static final int Colon=52; - public static final int RightCurlyBracket=62; + public static final int RULE_SL_COMMENT=70; + public static final int Comma=51; + public static final int EqualsSign=58; + public static final int Empty=22; + public static final int As=43; + public static final int HyphenMinus=52; + public static final int Maximize=9; + public static final int LessThanSignEqualsSign=39; + public static final int Solidus=54; + public static final int Colon=55; + public static final int RightCurlyBracket=66; public static final int EOF=-1; - public static final int Asterisk=46; - public static final int FullStop=50; - public static final int RULE_WS=72; - public static final int Abstract=5; - public static final int Minimize=9; - public static final int LeftCurlyBracket=60; - public static final int Error=21; - public static final int RULE_ANY_OTHER=73; + public static final int Asterisk=49; + public static final int Containment=4; + public static final int FullStop=53; + public static final int RULE_WS=77; + public static final int Abstract=6; + public static final int Minimize=10; + public static final int LeftCurlyBracket=64; + public static final int Error=23; + public static final int Tilde=67; + public static final int RULE_ANY_OTHER=78; public static final int Default=12; - public static final int ColonHyphenMinus=35; - public static final int CircumflexAccent=59; - public static final int Semicolon=53; - public static final int Scope=23; - public static final int Exists=15; - public static final int Else=24; - public static final int Let=30; - public static final int ExclamationMarkEqualsSign=32; - public static final int HyphenMinusGreaterThanSign=33; + public static final int ColonHyphenMinus=36; + public static final int CircumflexAccent=63; + public static final int Semicolon=56; + public static final int Scope=25; + public static final int QuestionMark=60; + public static final int Else=26; + public static final int Let=33; + public static final int ExclamationMarkEqualsSign=34; + public static final int HyphenMinusGreaterThanSign=35; // delegates // delegators @@ -97,13 +102,34 @@ public class InternalSolverLanguageLexer extends Lexer { } public String getGrammarFileName() { return "InternalSolverLanguageLexer.g"; } + // $ANTLR start "Containment" + public final void mContainment() throws RecognitionException { + try { + int _type = Containment; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalSolverLanguageLexer.g:14:13: ( 'containment' ) + // InternalSolverLanguageLexer.g:14:15: 'containment' + { + match("containment"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "Containment" + // $ANTLR start "Functional" public final void mFunctional() throws RecognitionException { try { int _type = Functional; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:14:12: ( 'functional' ) - // InternalSolverLanguageLexer.g:14:14: 'functional' + // InternalSolverLanguageLexer.g:16:12: ( 'functional' ) + // InternalSolverLanguageLexer.g:16:14: 'functional' { match("functional"); @@ -123,8 +149,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = Abstract; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:16:10: ( 'abstract' ) - // InternalSolverLanguageLexer.g:16:12: 'abstract' + // InternalSolverLanguageLexer.g:18:10: ( 'abstract' ) + // InternalSolverLanguageLexer.g:18:12: 'abstract' { match("abstract"); @@ -144,8 +170,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = Contains; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:18:10: ( 'contains' ) - // InternalSolverLanguageLexer.g:18:12: 'contains' + // InternalSolverLanguageLexer.g:20:10: ( 'contains' ) + // InternalSolverLanguageLexer.g:20:12: 'contains' { match("contains"); @@ -165,8 +191,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = Datatype; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:20:10: ( 'datatype' ) - // InternalSolverLanguageLexer.g:20:12: 'datatype' + // InternalSolverLanguageLexer.g:22:10: ( 'datatype' ) + // InternalSolverLanguageLexer.g:22:12: 'datatype' { match("datatype"); @@ -186,8 +212,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = Maximize; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:22:10: ( 'maximize' ) - // InternalSolverLanguageLexer.g:22:12: 'maximize' + // InternalSolverLanguageLexer.g:24:10: ( 'maximize' ) + // InternalSolverLanguageLexer.g:24:12: 'maximize' { match("maximize"); @@ -207,8 +233,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = Minimize; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:24:10: ( 'minimize' ) - // InternalSolverLanguageLexer.g:24:12: 'minimize' + // InternalSolverLanguageLexer.g:26:10: ( 'minimize' ) + // InternalSolverLanguageLexer.g:26:12: 'minimize' { match("minimize"); @@ -228,8 +254,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = Opposite; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:26:10: ( 'opposite' ) - // InternalSolverLanguageLexer.g:26:12: 'opposite' + // InternalSolverLanguageLexer.g:28:10: ( 'opposite' ) + // InternalSolverLanguageLexer.g:28:12: 'opposite' { match("opposite"); @@ -244,27 +270,6 @@ public class InternalSolverLanguageLexer extends Lexer { } // $ANTLR end "Opposite" - // $ANTLR start "Current" - public final void mCurrent() throws RecognitionException { - try { - int _type = Current; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:28:9: ( 'current' ) - // InternalSolverLanguageLexer.g:28:11: 'current' - { - match("current"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "Current" - // $ANTLR start "Default" public final void mDefault() throws RecognitionException { try { @@ -307,15 +312,15 @@ public class InternalSolverLanguageLexer extends Lexer { } // $ANTLR end "Extends" - // $ANTLR start "Unknown" - public final void mUnknown() throws RecognitionException { + // $ANTLR start "Problem" + public final void mProblem() throws RecognitionException { try { - int _type = Unknown; + int _type = Problem; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:34:9: ( 'unknown' ) - // InternalSolverLanguageLexer.g:34:11: 'unknown' + // InternalSolverLanguageLexer.g:34:9: ( 'problem' ) + // InternalSolverLanguageLexer.g:34:11: 'problem' { - match("unknown"); + match("problem"); } @@ -326,17 +331,17 @@ public class InternalSolverLanguageLexer extends Lexer { finally { } } - // $ANTLR end "Unknown" + // $ANTLR end "Problem" - // $ANTLR start "Exists" - public final void mExists() throws RecognitionException { + // $ANTLR start "Unknown" + public final void mUnknown() throws RecognitionException { try { - int _type = Exists; + int _type = Unknown; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:36:8: ( 'exists' ) - // InternalSolverLanguageLexer.g:36:10: 'exists' + // InternalSolverLanguageLexer.g:36:9: ( 'unknown' ) + // InternalSolverLanguageLexer.g:36:11: 'unknown' { - match("exists"); + match("unknown"); } @@ -347,7 +352,7 @@ public class InternalSolverLanguageLexer extends Lexer { finally { } } - // $ANTLR end "Exists" + // $ANTLR end "Unknown" // $ANTLR start "Extern" public final void mExtern() throws RecognitionException { @@ -370,15 +375,15 @@ public class InternalSolverLanguageLexer extends Lexer { } // $ANTLR end "Extern" - // $ANTLR start "Forall" - public final void mForall() throws RecognitionException { + // $ANTLR start "Import" + public final void mImport() throws RecognitionException { try { - int _type = Forall; + int _type = Import; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:40:8: ( 'forall' ) - // InternalSolverLanguageLexer.g:40:10: 'forall' + // InternalSolverLanguageLexer.g:40:8: ( 'import' ) + // InternalSolverLanguageLexer.g:40:10: 'import' { - match("forall"); + match("import"); } @@ -389,15 +394,57 @@ public class InternalSolverLanguageLexer extends Lexer { finally { } } - // $ANTLR end "Forall" + // $ANTLR end "Import" + + // $ANTLR start "Object" + public final void mObject() throws RecognitionException { + try { + int _type = Object; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalSolverLanguageLexer.g:42:8: ( 'object' ) + // InternalSolverLanguageLexer.g:42:10: 'object' + { + match("object"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "Object" + + // $ANTLR start "Refers" + public final void mRefers() throws RecognitionException { + try { + int _type = Refers; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalSolverLanguageLexer.g:44:8: ( 'refers' ) + // InternalSolverLanguageLexer.g:44:10: 'refers' + { + match("refers"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "Refers" // $ANTLR start "Class" public final void mClass() throws RecognitionException { try { int _type = Class; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:42:7: ( 'class' ) - // InternalSolverLanguageLexer.g:42:9: 'class' + // InternalSolverLanguageLexer.g:46:7: ( 'class' ) + // InternalSolverLanguageLexer.g:46:9: 'class' { match("class"); @@ -417,8 +464,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = Count; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:44:7: ( 'count' ) - // InternalSolverLanguageLexer.g:44:9: 'count' + // InternalSolverLanguageLexer.g:48:7: ( 'count' ) + // InternalSolverLanguageLexer.g:48:9: 'count' { match("count"); @@ -438,8 +485,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = Empty; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:46:7: ( 'empty' ) - // InternalSolverLanguageLexer.g:46:9: 'empty' + // InternalSolverLanguageLexer.g:50:7: ( 'empty' ) + // InternalSolverLanguageLexer.g:50:9: 'empty' { match("empty"); @@ -459,8 +506,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = Error; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:48:7: ( 'error' ) - // InternalSolverLanguageLexer.g:48:9: 'error' + // InternalSolverLanguageLexer.g:52:7: ( 'error' ) + // InternalSolverLanguageLexer.g:52:9: 'error' { match("error"); @@ -480,8 +527,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = False; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:50:7: ( 'false' ) - // InternalSolverLanguageLexer.g:50:9: 'false' + // InternalSolverLanguageLexer.g:54:7: ( 'false' ) + // InternalSolverLanguageLexer.g:54:9: 'false' { match("false"); @@ -501,8 +548,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = Scope; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:52:7: ( 'scope' ) - // InternalSolverLanguageLexer.g:52:9: 'scope' + // InternalSolverLanguageLexer.g:56:7: ( 'scope' ) + // InternalSolverLanguageLexer.g:56:9: 'scope' { match("scope"); @@ -522,8 +569,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = Else; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:54:6: ( 'else' ) - // InternalSolverLanguageLexer.g:54:8: 'else' + // InternalSolverLanguageLexer.g:58:6: ( 'else' ) + // InternalSolverLanguageLexer.g:58:8: 'else' { match("else"); @@ -538,15 +585,15 @@ public class InternalSolverLanguageLexer extends Lexer { } // $ANTLR end "Else" - // $ANTLR start "Must" - public final void mMust() throws RecognitionException { + // $ANTLR start "Enum" + public final void mEnum() throws RecognitionException { try { - int _type = Must; + int _type = Enum; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:56:6: ( 'must' ) - // InternalSolverLanguageLexer.g:56:8: 'must' + // InternalSolverLanguageLexer.g:60:6: ( 'enum' ) + // InternalSolverLanguageLexer.g:60:8: 'enum' { - match("must"); + match("enum"); } @@ -557,15 +604,36 @@ public class InternalSolverLanguageLexer extends Lexer { finally { } } - // $ANTLR end "Must" + // $ANTLR end "Enum" + + // $ANTLR start "Root" + public final void mRoot() throws RecognitionException { + try { + int _type = Root; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalSolverLanguageLexer.g:62:6: ( 'root' ) + // InternalSolverLanguageLexer.g:62:8: 'root' + { + match("root"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "Root" // $ANTLR start "Then" public final void mThen() throws RecognitionException { try { int _type = Then; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:58:6: ( 'then' ) - // InternalSolverLanguageLexer.g:58:8: 'then' + // InternalSolverLanguageLexer.g:64:6: ( 'then' ) + // InternalSolverLanguageLexer.g:64:8: 'then' { match("then"); @@ -585,8 +653,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = True; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:60:6: ( 'true' ) - // InternalSolverLanguageLexer.g:60:8: 'true' + // InternalSolverLanguageLexer.g:66:6: ( 'true' ) + // InternalSolverLanguageLexer.g:66:8: 'true' { match("true"); @@ -606,8 +674,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = FullStopFullStopFullStop; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:62:26: ( '...' ) - // InternalSolverLanguageLexer.g:62:28: '...' + // InternalSolverLanguageLexer.g:68:26: ( '...' ) + // InternalSolverLanguageLexer.g:68:28: '...' { match("..."); @@ -627,8 +695,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = Inf; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:64:5: ( 'inf' ) - // InternalSolverLanguageLexer.g:64:7: 'inf' + // InternalSolverLanguageLexer.g:70:5: ( 'inf' ) + // InternalSolverLanguageLexer.g:70:7: 'inf' { match("inf"); @@ -648,8 +716,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = Let; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:66:5: ( 'let' ) - // InternalSolverLanguageLexer.g:66:7: 'let' + // InternalSolverLanguageLexer.g:72:5: ( 'let' ) + // InternalSolverLanguageLexer.g:72:7: 'let' { match("let"); @@ -664,15 +732,15 @@ public class InternalSolverLanguageLexer extends Lexer { } // $ANTLR end "Let" - // $ANTLR start "May" - public final void mMay() throws RecognitionException { + // $ANTLR start "ExclamationMarkEqualsSign" + public final void mExclamationMarkEqualsSign() throws RecognitionException { try { - int _type = May; + int _type = ExclamationMarkEqualsSign; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:68:5: ( 'may' ) - // InternalSolverLanguageLexer.g:68:7: 'may' + // InternalSolverLanguageLexer.g:74:27: ( '!=' ) + // InternalSolverLanguageLexer.g:74:29: '!=' { - match("may"); + match("!="); } @@ -683,17 +751,17 @@ public class InternalSolverLanguageLexer extends Lexer { finally { } } - // $ANTLR end "May" + // $ANTLR end "ExclamationMarkEqualsSign" - // $ANTLR start "ExclamationMarkEqualsSign" - public final void mExclamationMarkEqualsSign() throws RecognitionException { + // $ANTLR start "HyphenMinusGreaterThanSign" + public final void mHyphenMinusGreaterThanSign() throws RecognitionException { try { - int _type = ExclamationMarkEqualsSign; + int _type = HyphenMinusGreaterThanSign; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:70:27: ( '!=' ) - // InternalSolverLanguageLexer.g:70:29: '!=' + // InternalSolverLanguageLexer.g:76:28: ( '->' ) + // InternalSolverLanguageLexer.g:76:30: '->' { - match("!="); + match("->"); } @@ -704,17 +772,17 @@ public class InternalSolverLanguageLexer extends Lexer { finally { } } - // $ANTLR end "ExclamationMarkEqualsSign" + // $ANTLR end "HyphenMinusGreaterThanSign" - // $ANTLR start "HyphenMinusGreaterThanSign" - public final void mHyphenMinusGreaterThanSign() throws RecognitionException { + // $ANTLR start "ColonHyphenMinus" + public final void mColonHyphenMinus() throws RecognitionException { try { - int _type = HyphenMinusGreaterThanSign; + int _type = ColonHyphenMinus; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:72:28: ( '->' ) - // InternalSolverLanguageLexer.g:72:30: '->' + // InternalSolverLanguageLexer.g:78:18: ( ':-' ) + // InternalSolverLanguageLexer.g:78:20: ':-' { - match("->"); + match(":-"); } @@ -725,17 +793,17 @@ public class InternalSolverLanguageLexer extends Lexer { finally { } } - // $ANTLR end "HyphenMinusGreaterThanSign" + // $ANTLR end "ColonHyphenMinus" - // $ANTLR start "FullStopFullStop" - public final void mFullStopFullStop() throws RecognitionException { + // $ANTLR start "ColonColon" + public final void mColonColon() throws RecognitionException { try { - int _type = FullStopFullStop; + int _type = ColonColon; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:74:18: ( '..' ) - // InternalSolverLanguageLexer.g:74:20: '..' + // InternalSolverLanguageLexer.g:80:12: ( '::' ) + // InternalSolverLanguageLexer.g:80:14: '::' { - match(".."); + match("::"); } @@ -746,17 +814,17 @@ public class InternalSolverLanguageLexer extends Lexer { finally { } } - // $ANTLR end "FullStopFullStop" + // $ANTLR end "ColonColon" - // $ANTLR start "ColonHyphenMinus" - public final void mColonHyphenMinus() throws RecognitionException { + // $ANTLR start "ColonEqualsSign" + public final void mColonEqualsSign() throws RecognitionException { try { - int _type = ColonHyphenMinus; + int _type = ColonEqualsSign; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:76:18: ( ':-' ) - // InternalSolverLanguageLexer.g:76:20: ':-' + // InternalSolverLanguageLexer.g:82:17: ( ':=' ) + // InternalSolverLanguageLexer.g:82:19: ':=' { - match(":-"); + match(":="); } @@ -767,15 +835,15 @@ public class InternalSolverLanguageLexer extends Lexer { finally { } } - // $ANTLR end "ColonHyphenMinus" + // $ANTLR end "ColonEqualsSign" // $ANTLR start "LessThanSignEqualsSign" public final void mLessThanSignEqualsSign() throws RecognitionException { try { int _type = LessThanSignEqualsSign; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:78:24: ( '<=' ) - // InternalSolverLanguageLexer.g:78:26: '<=' + // InternalSolverLanguageLexer.g:84:24: ( '<=' ) + // InternalSolverLanguageLexer.g:84:26: '<=' { match("<="); @@ -795,8 +863,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = EqualsSignEqualsSign; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:80:22: ( '==' ) - // InternalSolverLanguageLexer.g:80:24: '==' + // InternalSolverLanguageLexer.g:86:22: ( '==' ) + // InternalSolverLanguageLexer.g:86:24: '==' { match("=="); @@ -816,8 +884,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = EqualsSignGreaterThanSign; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:82:27: ( '=>' ) - // InternalSolverLanguageLexer.g:82:29: '=>' + // InternalSolverLanguageLexer.g:88:27: ( '=>' ) + // InternalSolverLanguageLexer.g:88:29: '=>' { match("=>"); @@ -837,8 +905,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = GreaterThanSignEqualsSign; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:84:27: ( '>=' ) - // InternalSolverLanguageLexer.g:84:29: '>=' + // InternalSolverLanguageLexer.g:90:27: ( '>=' ) + // InternalSolverLanguageLexer.g:90:29: '>=' { match(">="); @@ -858,8 +926,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = As; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:86:4: ( 'as' ) - // InternalSolverLanguageLexer.g:86:6: 'as' + // InternalSolverLanguageLexer.g:92:4: ( 'as' ) + // InternalSolverLanguageLexer.g:92:6: 'as' { match("as"); @@ -879,8 +947,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = If; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:88:4: ( 'if' ) - // InternalSolverLanguageLexer.g:88:6: 'if' + // InternalSolverLanguageLexer.g:94:4: ( 'if' ) + // InternalSolverLanguageLexer.g:94:6: 'if' { match("if"); @@ -900,8 +968,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = In; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:90:4: ( 'in' ) - // InternalSolverLanguageLexer.g:90:6: 'in' + // InternalSolverLanguageLexer.g:96:4: ( 'in' ) + // InternalSolverLanguageLexer.g:96:6: 'in' { match("in"); @@ -921,8 +989,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = ExclamationMark; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:92:17: ( '!' ) - // InternalSolverLanguageLexer.g:92:19: '!' + // InternalSolverLanguageLexer.g:98:17: ( '!' ) + // InternalSolverLanguageLexer.g:98:19: '!' { match('!'); @@ -941,8 +1009,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = LeftParenthesis; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:94:17: ( '(' ) - // InternalSolverLanguageLexer.g:94:19: '(' + // InternalSolverLanguageLexer.g:100:17: ( '(' ) + // InternalSolverLanguageLexer.g:100:19: '(' { match('('); @@ -961,8 +1029,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = RightParenthesis; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:96:18: ( ')' ) - // InternalSolverLanguageLexer.g:96:20: ')' + // InternalSolverLanguageLexer.g:102:18: ( ')' ) + // InternalSolverLanguageLexer.g:102:20: ')' { match(')'); @@ -981,8 +1049,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = Asterisk; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:98:10: ( '*' ) - // InternalSolverLanguageLexer.g:98:12: '*' + // InternalSolverLanguageLexer.g:104:10: ( '*' ) + // InternalSolverLanguageLexer.g:104:12: '*' { match('*'); @@ -1001,8 +1069,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = PlusSign; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:100:10: ( '+' ) - // InternalSolverLanguageLexer.g:100:12: '+' + // InternalSolverLanguageLexer.g:106:10: ( '+' ) + // InternalSolverLanguageLexer.g:106:12: '+' { match('+'); @@ -1021,8 +1089,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = Comma; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:102:7: ( ',' ) - // InternalSolverLanguageLexer.g:102:9: ',' + // InternalSolverLanguageLexer.g:108:7: ( ',' ) + // InternalSolverLanguageLexer.g:108:9: ',' { match(','); @@ -1041,8 +1109,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = HyphenMinus; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:104:13: ( '-' ) - // InternalSolverLanguageLexer.g:104:15: '-' + // InternalSolverLanguageLexer.g:110:13: ( '-' ) + // InternalSolverLanguageLexer.g:110:15: '-' { match('-'); @@ -1061,8 +1129,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = FullStop; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:106:10: ( '.' ) - // InternalSolverLanguageLexer.g:106:12: '.' + // InternalSolverLanguageLexer.g:112:10: ( '.' ) + // InternalSolverLanguageLexer.g:112:12: '.' { match('.'); @@ -1081,8 +1149,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = Solidus; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:108:9: ( '/' ) - // InternalSolverLanguageLexer.g:108:11: '/' + // InternalSolverLanguageLexer.g:114:9: ( '/' ) + // InternalSolverLanguageLexer.g:114:11: '/' { match('/'); @@ -1101,8 +1169,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = Colon; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:110:7: ( ':' ) - // InternalSolverLanguageLexer.g:110:9: ':' + // InternalSolverLanguageLexer.g:116:7: ( ':' ) + // InternalSolverLanguageLexer.g:116:9: ':' { match(':'); @@ -1121,8 +1189,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = Semicolon; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:112:11: ( ';' ) - // InternalSolverLanguageLexer.g:112:13: ';' + // InternalSolverLanguageLexer.g:118:11: ( ';' ) + // InternalSolverLanguageLexer.g:118:13: ';' { match(';'); @@ -1141,8 +1209,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = LessThanSign; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:114:14: ( '<' ) - // InternalSolverLanguageLexer.g:114:16: '<' + // InternalSolverLanguageLexer.g:120:14: ( '<' ) + // InternalSolverLanguageLexer.g:120:16: '<' { match('<'); @@ -1161,8 +1229,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = EqualsSign; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:116:12: ( '=' ) - // InternalSolverLanguageLexer.g:116:14: '=' + // InternalSolverLanguageLexer.g:122:12: ( '=' ) + // InternalSolverLanguageLexer.g:122:14: '=' { match('='); @@ -1181,8 +1249,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = GreaterThanSign; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:118:17: ( '>' ) - // InternalSolverLanguageLexer.g:118:19: '>' + // InternalSolverLanguageLexer.g:124:17: ( '>' ) + // InternalSolverLanguageLexer.g:124:19: '>' { match('>'); @@ -1196,13 +1264,33 @@ public class InternalSolverLanguageLexer extends Lexer { } // $ANTLR end "GreaterThanSign" + // $ANTLR start "QuestionMark" + public final void mQuestionMark() throws RecognitionException { + try { + int _type = QuestionMark; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalSolverLanguageLexer.g:126:14: ( '?' ) + // InternalSolverLanguageLexer.g:126:16: '?' + { + match('?'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "QuestionMark" + // $ANTLR start "LeftSquareBracket" public final void mLeftSquareBracket() throws RecognitionException { try { int _type = LeftSquareBracket; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:120:19: ( '[' ) - // InternalSolverLanguageLexer.g:120:21: '[' + // InternalSolverLanguageLexer.g:128:19: ( '[' ) + // InternalSolverLanguageLexer.g:128:21: '[' { match('['); @@ -1221,8 +1309,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = RightSquareBracket; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:122:20: ( ']' ) - // InternalSolverLanguageLexer.g:122:22: ']' + // InternalSolverLanguageLexer.g:130:20: ( ']' ) + // InternalSolverLanguageLexer.g:130:22: ']' { match(']'); @@ -1241,8 +1329,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = CircumflexAccent; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:124:18: ( '^' ) - // InternalSolverLanguageLexer.g:124:20: '^' + // InternalSolverLanguageLexer.g:132:18: ( '^' ) + // InternalSolverLanguageLexer.g:132:20: '^' { match('^'); @@ -1261,8 +1349,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = LeftCurlyBracket; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:126:18: ( '{' ) - // InternalSolverLanguageLexer.g:126:20: '{' + // InternalSolverLanguageLexer.g:134:18: ( '{' ) + // InternalSolverLanguageLexer.g:134:20: '{' { match('{'); @@ -1281,8 +1369,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = VerticalLine; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:128:14: ( '|' ) - // InternalSolverLanguageLexer.g:128:16: '|' + // InternalSolverLanguageLexer.g:136:14: ( '|' ) + // InternalSolverLanguageLexer.g:136:16: '|' { match('|'); @@ -1301,8 +1389,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = RightCurlyBracket; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:130:19: ( '}' ) - // InternalSolverLanguageLexer.g:130:21: '}' + // InternalSolverLanguageLexer.g:138:19: ( '}' ) + // InternalSolverLanguageLexer.g:138:21: '}' { match('}'); @@ -1316,16 +1404,36 @@ public class InternalSolverLanguageLexer extends Lexer { } // $ANTLR end "RightCurlyBracket" + // $ANTLR start "Tilde" + public final void mTilde() throws RecognitionException { + try { + int _type = Tilde; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalSolverLanguageLexer.g:140:7: ( '~' ) + // InternalSolverLanguageLexer.g:140:9: '~' + { + match('~'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "Tilde" + // $ANTLR start "RULE_STRING" public final void mRULE_STRING() throws RecognitionException { try { int _type = RULE_STRING; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:132:13: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' ) - // InternalSolverLanguageLexer.g:132:15: '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' + // InternalSolverLanguageLexer.g:142:13: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' ) + // InternalSolverLanguageLexer.g:142:15: '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' { match('\"'); - // InternalSolverLanguageLexer.g:132:19: ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* + // InternalSolverLanguageLexer.g:142:19: ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* loop1: do { int alt1=3; @@ -1341,7 +1449,7 @@ public class InternalSolverLanguageLexer extends Lexer { switch (alt1) { case 1 : - // InternalSolverLanguageLexer.g:132:20: '\\\\' . + // InternalSolverLanguageLexer.g:142:20: '\\\\' . { match('\\'); matchAny(); @@ -1349,7 +1457,7 @@ public class InternalSolverLanguageLexer extends Lexer { } break; case 2 : - // InternalSolverLanguageLexer.g:132:27: ~ ( ( '\\\\' | '\"' ) ) + // InternalSolverLanguageLexer.g:142:27: ~ ( ( '\\\\' | '\"' ) ) { if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { input.consume(); @@ -1386,11 +1494,11 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = RULE_QUOTED_ID; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:134:16: ( '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) - // InternalSolverLanguageLexer.g:134:18: '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' + // InternalSolverLanguageLexer.g:144:16: ( '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) + // InternalSolverLanguageLexer.g:144:18: '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' { match('\''); - // InternalSolverLanguageLexer.g:134:23: ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* + // InternalSolverLanguageLexer.g:144:23: ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* loop2: do { int alt2=3; @@ -1406,7 +1514,7 @@ public class InternalSolverLanguageLexer extends Lexer { switch (alt2) { case 1 : - // InternalSolverLanguageLexer.g:134:24: '\\\\' . + // InternalSolverLanguageLexer.g:144:24: '\\\\' . { match('\\'); matchAny(); @@ -1414,7 +1522,7 @@ public class InternalSolverLanguageLexer extends Lexer { } break; case 2 : - // InternalSolverLanguageLexer.g:134:31: ~ ( ( '\\\\' | '\\'' ) ) + // InternalSolverLanguageLexer.g:144:31: ~ ( ( '\\\\' | '\\'' ) ) { if ( (input.LA(1)>='\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { input.consume(); @@ -1451,10 +1559,10 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = RULE_SL_COMMENT; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:136:17: ( ( '%' | '//' ) (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? ) - // InternalSolverLanguageLexer.g:136:19: ( '%' | '//' ) (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? + // InternalSolverLanguageLexer.g:146:17: ( ( '%' | '//' ) (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? ) + // InternalSolverLanguageLexer.g:146:19: ( '%' | '//' ) (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? { - // InternalSolverLanguageLexer.g:136:19: ( '%' | '//' ) + // InternalSolverLanguageLexer.g:146:19: ( '%' | '//' ) int alt3=2; int LA3_0 = input.LA(1); @@ -1472,14 +1580,14 @@ public class InternalSolverLanguageLexer extends Lexer { } switch (alt3) { case 1 : - // InternalSolverLanguageLexer.g:136:20: '%' + // InternalSolverLanguageLexer.g:146:20: '%' { match('%'); } break; case 2 : - // InternalSolverLanguageLexer.g:136:24: '//' + // InternalSolverLanguageLexer.g:146:24: '//' { match("//"); @@ -1489,7 +1597,7 @@ public class InternalSolverLanguageLexer extends Lexer { } - // InternalSolverLanguageLexer.g:136:30: (~ ( ( '\\n' | '\\r' ) ) )* + // InternalSolverLanguageLexer.g:146:30: (~ ( ( '\\n' | '\\r' ) ) )* loop4: do { int alt4=2; @@ -1502,7 +1610,7 @@ public class InternalSolverLanguageLexer extends Lexer { switch (alt4) { case 1 : - // InternalSolverLanguageLexer.g:136:30: ~ ( ( '\\n' | '\\r' ) ) + // InternalSolverLanguageLexer.g:146:30: ~ ( ( '\\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(); @@ -1522,7 +1630,7 @@ public class InternalSolverLanguageLexer extends Lexer { } } while (true); - // InternalSolverLanguageLexer.g:136:46: ( ( '\\r' )? '\\n' )? + // InternalSolverLanguageLexer.g:146:46: ( ( '\\r' )? '\\n' )? int alt6=2; int LA6_0 = input.LA(1); @@ -1531,9 +1639,9 @@ public class InternalSolverLanguageLexer extends Lexer { } switch (alt6) { case 1 : - // InternalSolverLanguageLexer.g:136:47: ( '\\r' )? '\\n' + // InternalSolverLanguageLexer.g:146:47: ( '\\r' )? '\\n' { - // InternalSolverLanguageLexer.g:136:47: ( '\\r' )? + // InternalSolverLanguageLexer.g:146:47: ( '\\r' )? int alt5=2; int LA5_0 = input.LA(1); @@ -1542,7 +1650,7 @@ public class InternalSolverLanguageLexer extends Lexer { } switch (alt5) { case 1 : - // InternalSolverLanguageLexer.g:136:47: '\\r' + // InternalSolverLanguageLexer.g:146:47: '\\r' { match('\r'); @@ -1572,8 +1680,8 @@ public class InternalSolverLanguageLexer extends Lexer { // $ANTLR start "RULE_TRANSITIVE_CLOSURE" public final void mRULE_TRANSITIVE_CLOSURE() throws RecognitionException { try { - // InternalSolverLanguageLexer.g:138:34: () - // InternalSolverLanguageLexer.g:138:36: + // InternalSolverLanguageLexer.g:148:34: () + // InternalSolverLanguageLexer.g:148:36: { } @@ -1586,8 +1694,8 @@ public class InternalSolverLanguageLexer extends Lexer { // $ANTLR start "RULE_REFLEXIVE_TRANSITIVE_CLOSURE" public final void mRULE_REFLEXIVE_TRANSITIVE_CLOSURE() throws RecognitionException { try { - // InternalSolverLanguageLexer.g:140:44: () - // InternalSolverLanguageLexer.g:140:46: + // InternalSolverLanguageLexer.g:150:44: () + // InternalSolverLanguageLexer.g:150:46: { } @@ -1600,8 +1708,8 @@ public class InternalSolverLanguageLexer extends Lexer { // $ANTLR start "RULE_FULL_STOP" public final void mRULE_FULL_STOP() throws RecognitionException { try { - // InternalSolverLanguageLexer.g:142:25: () - // InternalSolverLanguageLexer.g:142:27: + // InternalSolverLanguageLexer.g:152:25: () + // InternalSolverLanguageLexer.g:152:27: { } @@ -1616,10 +1724,10 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = RULE_ID; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:144:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* ) - // InternalSolverLanguageLexer.g:144:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* + // InternalSolverLanguageLexer.g:154:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* ) + // InternalSolverLanguageLexer.g:154:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* { - // InternalSolverLanguageLexer.g:144:11: ( '^' )? + // InternalSolverLanguageLexer.g:154:11: ( '^' )? int alt7=2; int LA7_0 = input.LA(1); @@ -1628,7 +1736,7 @@ public class InternalSolverLanguageLexer extends Lexer { } switch (alt7) { case 1 : - // InternalSolverLanguageLexer.g:144:11: '^' + // InternalSolverLanguageLexer.g:154:11: '^' { match('^'); @@ -1646,7 +1754,7 @@ public class InternalSolverLanguageLexer extends Lexer { recover(mse); throw mse;} - // InternalSolverLanguageLexer.g:144:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* + // InternalSolverLanguageLexer.g:154:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* loop8: do { int alt8=2; @@ -1695,10 +1803,10 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = RULE_INT; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:146:10: ( ( '0' .. '9' )+ ) - // InternalSolverLanguageLexer.g:146:12: ( '0' .. '9' )+ + // InternalSolverLanguageLexer.g:156:10: ( ( '0' .. '9' )+ ) + // InternalSolverLanguageLexer.g:156:12: ( '0' .. '9' )+ { - // InternalSolverLanguageLexer.g:146:12: ( '0' .. '9' )+ + // InternalSolverLanguageLexer.g:156:12: ( '0' .. '9' )+ int cnt9=0; loop9: do { @@ -1712,7 +1820,7 @@ public class InternalSolverLanguageLexer extends Lexer { switch (alt9) { case 1 : - // InternalSolverLanguageLexer.g:146:13: '0' .. '9' + // InternalSolverLanguageLexer.g:156:13: '0' .. '9' { matchRange('0','9'); @@ -1744,12 +1852,12 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = RULE_ML_COMMENT; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:148:17: ( '/*' ( options {greedy=false; } : . )* '*/' ) - // InternalSolverLanguageLexer.g:148:19: '/*' ( options {greedy=false; } : . )* '*/' + // InternalSolverLanguageLexer.g:158:17: ( '/*' ( options {greedy=false; } : . )* '*/' ) + // InternalSolverLanguageLexer.g:158:19: '/*' ( options {greedy=false; } : . )* '*/' { match("/*"); - // InternalSolverLanguageLexer.g:148:24: ( options {greedy=false; } : . )* + // InternalSolverLanguageLexer.g:158:24: ( options {greedy=false; } : . )* loop10: do { int alt10=2; @@ -1774,7 +1882,7 @@ public class InternalSolverLanguageLexer extends Lexer { switch (alt10) { case 1 : - // InternalSolverLanguageLexer.g:148:52: . + // InternalSolverLanguageLexer.g:158:52: . { matchAny(); @@ -1804,10 +1912,10 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = RULE_WS; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:150:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ ) - // InternalSolverLanguageLexer.g:150:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ + // InternalSolverLanguageLexer.g:160:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ ) + // InternalSolverLanguageLexer.g:160:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ { - // InternalSolverLanguageLexer.g:150:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ + // InternalSolverLanguageLexer.g:160:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ int cnt11=0; loop11: do { @@ -1861,8 +1969,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = RULE_ANY_OTHER; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:152:16: ( . ) - // InternalSolverLanguageLexer.g:152:18: . + // InternalSolverLanguageLexer.g:162:16: ( . ) + // InternalSolverLanguageLexer.g:162:18: . { matchAny(); @@ -1877,474 +1985,509 @@ public class InternalSolverLanguageLexer extends Lexer { // $ANTLR end "RULE_ANY_OTHER" public void mTokens() throws RecognitionException { - // InternalSolverLanguageLexer.g:1:8: ( Functional | Abstract | Contains | Datatype | Maximize | Minimize | Opposite | Current | Default | Extends | Unknown | Exists | Extern | Forall | Class | Count | Empty | Error | False | Scope | Else | Must | Then | True | FullStopFullStopFullStop | Inf | Let | May | ExclamationMarkEqualsSign | HyphenMinusGreaterThanSign | FullStopFullStop | ColonHyphenMinus | LessThanSignEqualsSign | EqualsSignEqualsSign | EqualsSignGreaterThanSign | GreaterThanSignEqualsSign | As | If | In | ExclamationMark | LeftParenthesis | RightParenthesis | Asterisk | PlusSign | Comma | HyphenMinus | FullStop | Solidus | Colon | Semicolon | LessThanSign | EqualsSign | GreaterThanSign | LeftSquareBracket | RightSquareBracket | CircumflexAccent | LeftCurlyBracket | VerticalLine | RightCurlyBracket | RULE_STRING | RULE_QUOTED_ID | RULE_SL_COMMENT | RULE_ID | RULE_INT | RULE_ML_COMMENT | RULE_WS | RULE_ANY_OTHER ) - int alt12=67; + // InternalSolverLanguageLexer.g:1:8: ( Containment | Functional | Abstract | Contains | Datatype | Maximize | Minimize | Opposite | Default | Extends | Problem | Unknown | Extern | Import | Object | Refers | Class | Count | Empty | Error | False | Scope | Else | Enum | Root | Then | True | FullStopFullStopFullStop | Inf | Let | ExclamationMarkEqualsSign | HyphenMinusGreaterThanSign | ColonHyphenMinus | ColonColon | ColonEqualsSign | LessThanSignEqualsSign | EqualsSignEqualsSign | EqualsSignGreaterThanSign | GreaterThanSignEqualsSign | As | If | In | ExclamationMark | LeftParenthesis | RightParenthesis | Asterisk | PlusSign | Comma | HyphenMinus | FullStop | Solidus | Colon | Semicolon | LessThanSign | EqualsSign | GreaterThanSign | QuestionMark | LeftSquareBracket | RightSquareBracket | CircumflexAccent | LeftCurlyBracket | VerticalLine | RightCurlyBracket | Tilde | RULE_STRING | RULE_QUOTED_ID | RULE_SL_COMMENT | RULE_ID | RULE_INT | RULE_ML_COMMENT | RULE_WS | RULE_ANY_OTHER ) + int alt12=72; alt12 = dfa12.predict(input); switch (alt12) { case 1 : - // InternalSolverLanguageLexer.g:1:10: Functional + // InternalSolverLanguageLexer.g:1:10: Containment { - mFunctional(); + mContainment(); } break; case 2 : - // InternalSolverLanguageLexer.g:1:21: Abstract + // InternalSolverLanguageLexer.g:1:22: Functional { - mAbstract(); + mFunctional(); } break; case 3 : - // InternalSolverLanguageLexer.g:1:30: Contains + // InternalSolverLanguageLexer.g:1:33: Abstract { - mContains(); + mAbstract(); } break; case 4 : - // InternalSolverLanguageLexer.g:1:39: Datatype + // InternalSolverLanguageLexer.g:1:42: Contains { - mDatatype(); + mContains(); } break; case 5 : - // InternalSolverLanguageLexer.g:1:48: Maximize + // InternalSolverLanguageLexer.g:1:51: Datatype { - mMaximize(); + mDatatype(); } break; case 6 : - // InternalSolverLanguageLexer.g:1:57: Minimize + // InternalSolverLanguageLexer.g:1:60: Maximize { - mMinimize(); + mMaximize(); } break; case 7 : - // InternalSolverLanguageLexer.g:1:66: Opposite + // InternalSolverLanguageLexer.g:1:69: Minimize { - mOpposite(); + mMinimize(); } break; case 8 : - // InternalSolverLanguageLexer.g:1:75: Current + // InternalSolverLanguageLexer.g:1:78: Opposite { - mCurrent(); + mOpposite(); } break; case 9 : - // InternalSolverLanguageLexer.g:1:83: Default + // InternalSolverLanguageLexer.g:1:87: Default { mDefault(); } break; case 10 : - // InternalSolverLanguageLexer.g:1:91: Extends + // InternalSolverLanguageLexer.g:1:95: Extends { mExtends(); } break; case 11 : - // InternalSolverLanguageLexer.g:1:99: Unknown + // InternalSolverLanguageLexer.g:1:103: Problem { - mUnknown(); + mProblem(); } break; case 12 : - // InternalSolverLanguageLexer.g:1:107: Exists + // InternalSolverLanguageLexer.g:1:111: Unknown { - mExists(); + mUnknown(); } break; case 13 : - // InternalSolverLanguageLexer.g:1:114: Extern + // InternalSolverLanguageLexer.g:1:119: Extern { mExtern(); } break; case 14 : - // InternalSolverLanguageLexer.g:1:121: Forall + // InternalSolverLanguageLexer.g:1:126: Import { - mForall(); + mImport(); } break; case 15 : - // InternalSolverLanguageLexer.g:1:128: Class + // InternalSolverLanguageLexer.g:1:133: Object { - mClass(); + mObject(); } break; case 16 : - // InternalSolverLanguageLexer.g:1:134: Count + // InternalSolverLanguageLexer.g:1:140: Refers { - mCount(); + mRefers(); } break; case 17 : - // InternalSolverLanguageLexer.g:1:140: Empty + // InternalSolverLanguageLexer.g:1:147: Class { - mEmpty(); + mClass(); } break; case 18 : - // InternalSolverLanguageLexer.g:1:146: Error + // InternalSolverLanguageLexer.g:1:153: Count { - mError(); + mCount(); } break; case 19 : - // InternalSolverLanguageLexer.g:1:152: False + // InternalSolverLanguageLexer.g:1:159: Empty { - mFalse(); + mEmpty(); } break; case 20 : - // InternalSolverLanguageLexer.g:1:158: Scope + // InternalSolverLanguageLexer.g:1:165: Error { - mScope(); + mError(); } break; case 21 : - // InternalSolverLanguageLexer.g:1:164: Else + // InternalSolverLanguageLexer.g:1:171: False { - mElse(); + mFalse(); } break; case 22 : - // InternalSolverLanguageLexer.g:1:169: Must + // InternalSolverLanguageLexer.g:1:177: Scope { - mMust(); + mScope(); } break; case 23 : - // InternalSolverLanguageLexer.g:1:174: Then + // InternalSolverLanguageLexer.g:1:183: Else { - mThen(); + mElse(); } break; case 24 : - // InternalSolverLanguageLexer.g:1:179: True + // InternalSolverLanguageLexer.g:1:188: Enum { - mTrue(); + mEnum(); } break; case 25 : - // InternalSolverLanguageLexer.g:1:184: FullStopFullStopFullStop + // InternalSolverLanguageLexer.g:1:193: Root { - mFullStopFullStopFullStop(); + mRoot(); } break; case 26 : - // InternalSolverLanguageLexer.g:1:209: Inf + // InternalSolverLanguageLexer.g:1:198: Then { - mInf(); + mThen(); } break; case 27 : - // InternalSolverLanguageLexer.g:1:213: Let + // InternalSolverLanguageLexer.g:1:203: True { - mLet(); + mTrue(); } break; case 28 : - // InternalSolverLanguageLexer.g:1:217: May + // InternalSolverLanguageLexer.g:1:208: FullStopFullStopFullStop { - mMay(); + mFullStopFullStopFullStop(); } break; case 29 : - // InternalSolverLanguageLexer.g:1:221: ExclamationMarkEqualsSign + // InternalSolverLanguageLexer.g:1:233: Inf { - mExclamationMarkEqualsSign(); + mInf(); } break; case 30 : - // InternalSolverLanguageLexer.g:1:247: HyphenMinusGreaterThanSign + // InternalSolverLanguageLexer.g:1:237: Let { - mHyphenMinusGreaterThanSign(); + mLet(); } break; case 31 : - // InternalSolverLanguageLexer.g:1:274: FullStopFullStop + // InternalSolverLanguageLexer.g:1:241: ExclamationMarkEqualsSign { - mFullStopFullStop(); + mExclamationMarkEqualsSign(); } break; case 32 : - // InternalSolverLanguageLexer.g:1:291: ColonHyphenMinus + // InternalSolverLanguageLexer.g:1:267: HyphenMinusGreaterThanSign { - mColonHyphenMinus(); + mHyphenMinusGreaterThanSign(); } break; case 33 : - // InternalSolverLanguageLexer.g:1:308: LessThanSignEqualsSign + // InternalSolverLanguageLexer.g:1:294: ColonHyphenMinus { - mLessThanSignEqualsSign(); + mColonHyphenMinus(); } break; case 34 : - // InternalSolverLanguageLexer.g:1:331: EqualsSignEqualsSign + // InternalSolverLanguageLexer.g:1:311: ColonColon { - mEqualsSignEqualsSign(); + mColonColon(); } break; case 35 : - // InternalSolverLanguageLexer.g:1:352: EqualsSignGreaterThanSign + // InternalSolverLanguageLexer.g:1:322: ColonEqualsSign { - mEqualsSignGreaterThanSign(); + mColonEqualsSign(); } break; case 36 : - // InternalSolverLanguageLexer.g:1:378: GreaterThanSignEqualsSign + // InternalSolverLanguageLexer.g:1:338: LessThanSignEqualsSign { - mGreaterThanSignEqualsSign(); + mLessThanSignEqualsSign(); } break; case 37 : - // InternalSolverLanguageLexer.g:1:404: As + // InternalSolverLanguageLexer.g:1:361: EqualsSignEqualsSign { - mAs(); + mEqualsSignEqualsSign(); } break; case 38 : - // InternalSolverLanguageLexer.g:1:407: If + // InternalSolverLanguageLexer.g:1:382: EqualsSignGreaterThanSign { - mIf(); + mEqualsSignGreaterThanSign(); } break; case 39 : - // InternalSolverLanguageLexer.g:1:410: In + // InternalSolverLanguageLexer.g:1:408: GreaterThanSignEqualsSign { - mIn(); + mGreaterThanSignEqualsSign(); } break; case 40 : - // InternalSolverLanguageLexer.g:1:413: ExclamationMark + // InternalSolverLanguageLexer.g:1:434: As { - mExclamationMark(); + mAs(); } break; case 41 : - // InternalSolverLanguageLexer.g:1:429: LeftParenthesis + // InternalSolverLanguageLexer.g:1:437: If { - mLeftParenthesis(); + mIf(); } break; case 42 : - // InternalSolverLanguageLexer.g:1:445: RightParenthesis + // InternalSolverLanguageLexer.g:1:440: In { - mRightParenthesis(); + mIn(); } break; case 43 : - // InternalSolverLanguageLexer.g:1:462: Asterisk + // InternalSolverLanguageLexer.g:1:443: ExclamationMark { - mAsterisk(); + mExclamationMark(); } break; case 44 : - // InternalSolverLanguageLexer.g:1:471: PlusSign + // InternalSolverLanguageLexer.g:1:459: LeftParenthesis { - mPlusSign(); + mLeftParenthesis(); } break; case 45 : - // InternalSolverLanguageLexer.g:1:480: Comma + // InternalSolverLanguageLexer.g:1:475: RightParenthesis { - mComma(); + mRightParenthesis(); } break; case 46 : - // InternalSolverLanguageLexer.g:1:486: HyphenMinus + // InternalSolverLanguageLexer.g:1:492: Asterisk { - mHyphenMinus(); + mAsterisk(); } break; case 47 : - // InternalSolverLanguageLexer.g:1:498: FullStop + // InternalSolverLanguageLexer.g:1:501: PlusSign { - mFullStop(); + mPlusSign(); } break; case 48 : - // InternalSolverLanguageLexer.g:1:507: Solidus + // InternalSolverLanguageLexer.g:1:510: Comma { - mSolidus(); + mComma(); } break; case 49 : - // InternalSolverLanguageLexer.g:1:515: Colon + // InternalSolverLanguageLexer.g:1:516: HyphenMinus { - mColon(); + mHyphenMinus(); } break; case 50 : - // InternalSolverLanguageLexer.g:1:521: Semicolon + // InternalSolverLanguageLexer.g:1:528: FullStop { - mSemicolon(); + mFullStop(); } break; case 51 : - // InternalSolverLanguageLexer.g:1:531: LessThanSign + // InternalSolverLanguageLexer.g:1:537: Solidus { - mLessThanSign(); + mSolidus(); } break; case 52 : - // InternalSolverLanguageLexer.g:1:544: EqualsSign + // InternalSolverLanguageLexer.g:1:545: Colon { - mEqualsSign(); + mColon(); } break; case 53 : - // InternalSolverLanguageLexer.g:1:555: GreaterThanSign + // InternalSolverLanguageLexer.g:1:551: Semicolon { - mGreaterThanSign(); + mSemicolon(); } break; case 54 : - // InternalSolverLanguageLexer.g:1:571: LeftSquareBracket + // InternalSolverLanguageLexer.g:1:561: LessThanSign { - mLeftSquareBracket(); + mLessThanSign(); } break; case 55 : - // InternalSolverLanguageLexer.g:1:589: RightSquareBracket + // InternalSolverLanguageLexer.g:1:574: EqualsSign { - mRightSquareBracket(); + mEqualsSign(); } break; case 56 : - // InternalSolverLanguageLexer.g:1:608: CircumflexAccent + // InternalSolverLanguageLexer.g:1:585: GreaterThanSign { - mCircumflexAccent(); + mGreaterThanSign(); } break; case 57 : - // InternalSolverLanguageLexer.g:1:625: LeftCurlyBracket + // InternalSolverLanguageLexer.g:1:601: QuestionMark { - mLeftCurlyBracket(); + mQuestionMark(); } break; case 58 : - // InternalSolverLanguageLexer.g:1:642: VerticalLine + // InternalSolverLanguageLexer.g:1:614: LeftSquareBracket { - mVerticalLine(); + mLeftSquareBracket(); } break; case 59 : - // InternalSolverLanguageLexer.g:1:655: RightCurlyBracket + // InternalSolverLanguageLexer.g:1:632: RightSquareBracket { - mRightCurlyBracket(); + mRightSquareBracket(); } break; case 60 : - // InternalSolverLanguageLexer.g:1:673: RULE_STRING + // InternalSolverLanguageLexer.g:1:651: CircumflexAccent { - mRULE_STRING(); + mCircumflexAccent(); } break; case 61 : - // InternalSolverLanguageLexer.g:1:685: RULE_QUOTED_ID + // InternalSolverLanguageLexer.g:1:668: LeftCurlyBracket { - mRULE_QUOTED_ID(); + mLeftCurlyBracket(); } break; case 62 : - // InternalSolverLanguageLexer.g:1:700: RULE_SL_COMMENT + // InternalSolverLanguageLexer.g:1:685: VerticalLine { - mRULE_SL_COMMENT(); + mVerticalLine(); } break; case 63 : - // InternalSolverLanguageLexer.g:1:716: RULE_ID + // InternalSolverLanguageLexer.g:1:698: RightCurlyBracket { - mRULE_ID(); + mRightCurlyBracket(); } break; case 64 : - // InternalSolverLanguageLexer.g:1:724: RULE_INT + // InternalSolverLanguageLexer.g:1:716: Tilde { - mRULE_INT(); + mTilde(); } break; case 65 : - // InternalSolverLanguageLexer.g:1:733: RULE_ML_COMMENT + // InternalSolverLanguageLexer.g:1:722: RULE_STRING { - mRULE_ML_COMMENT(); + mRULE_STRING(); } break; case 66 : - // InternalSolverLanguageLexer.g:1:749: RULE_WS + // InternalSolverLanguageLexer.g:1:734: RULE_QUOTED_ID { - mRULE_WS(); + mRULE_QUOTED_ID(); } break; case 67 : - // InternalSolverLanguageLexer.g:1:757: RULE_ANY_OTHER + // InternalSolverLanguageLexer.g:1:749: RULE_SL_COMMENT + { + mRULE_SL_COMMENT(); + + } + break; + case 68 : + // InternalSolverLanguageLexer.g:1:765: RULE_ID + { + mRULE_ID(); + + } + break; + case 69 : + // InternalSolverLanguageLexer.g:1:773: RULE_INT + { + mRULE_INT(); + + } + break; + case 70 : + // InternalSolverLanguageLexer.g:1:782: RULE_ML_COMMENT + { + mRULE_ML_COMMENT(); + + } + break; + case 71 : + // InternalSolverLanguageLexer.g:1:798: RULE_WS + { + mRULE_WS(); + + } + break; + case 72 : + // InternalSolverLanguageLexer.g:1:806: RULE_ANY_OTHER { mRULE_ANY_OTHER(); @@ -2358,74 +2501,69 @@ public class InternalSolverLanguageLexer extends Lexer { protected DFA12 dfa12 = new DFA12(this); static final String DFA12_eotS = - "\1\uffff\12\53\1\100\2\53\1\105\1\107\1\111\1\113\1\116\1\120\5\uffff\1\130\3\uffff\1\134\3\uffff\2\47\5\uffff\3\53\1\uffff\1\53\1\150\21\53\1\176\1\uffff\1\u0080\1\u0081\1\53\40\uffff\4\53\1\uffff\7\53\1\u008e\14\53\2\uffff\1\u009b\2\uffff\1\u009c\13\53\1\uffff\1\53\1\u00a9\5\53\1\u00b0\2\53\1\u00b3\1\u00b4\2\uffff\2\53\1\u00b7\2\53\1\u00ba\1\53\1\u00bc\4\53\1\uffff\4\53\1\u00c5\1\u00c6\1\uffff\1\53\1\u00c8\2\uffff\1\53\1\u00ca\1\uffff\2\53\1\uffff\1\53\1\uffff\6\53\1\u00d4\1\u00d5\2\uffff\1\53\1\uffff\1\53\1\uffff\2\53\1\u00da\1\53\1\u00dc\3\53\1\u00e0\2\uffff\1\u00e1\1\53\1\u00e3\1\u00e4\1\uffff\1\u00e5\1\uffff\1\u00e6\1\u00e7\1\u00e8\2\uffff\1\53\6\uffff\1\u00ea\1\uffff"; + "\1\uffff\15\56\1\111\1\56\1\114\1\116\1\122\1\124\1\127\1\131\5\uffff\1\141\4\uffff\1\146\4\uffff\2\53\5\uffff\2\56\1\uffff\3\56\1\165\16\56\1\u0085\1\u0086\5\56\2\uffff\1\56\44\uffff\6\56\1\uffff\16\56\1\u00a1\2\uffff\5\56\1\u00a7\17\56\1\u00b8\1\u00b9\3\56\1\uffff\1\56\1\u00be\1\56\1\u00c0\1\u00c1\1\uffff\1\56\1\u00c3\1\u00c4\1\56\1\u00c6\11\56\1\u00d0\1\u00d1\2\uffff\4\56\1\uffff\1\u00d6\2\uffff\1\56\2\uffff\1\56\1\uffff\6\56\1\u00df\1\56\1\u00e1\2\uffff\2\56\1\u00e4\1\u00e5\1\uffff\4\56\1\u00eb\3\56\1\uffff\1\u00ef\1\uffff\1\u00f0\1\u00f1\2\uffff\1\56\1\u00f3\1\56\1\u00f5\1\u00f6\1\uffff\1\u00f7\1\u00f8\1\u00f9\3\uffff\1\56\1\uffff\1\56\5\uffff\1\56\1\u00fd\1\u00fe\2\uffff"; static final String DFA12_eofS = - "\u00eb\uffff"; + "\u00ff\uffff"; static final String DFA12_minS = - "\1\0\1\141\1\142\1\154\2\141\1\160\1\154\1\156\1\143\1\150\1\56\1\146\1\145\1\75\1\76\1\55\3\75\5\uffff\1\52\3\uffff\1\101\3\uffff\2\0\5\uffff\1\156\1\162\1\154\1\uffff\1\163\1\60\1\156\1\162\1\141\1\164\1\146\1\170\1\156\1\163\1\160\1\151\1\160\1\162\1\163\1\153\1\157\1\145\1\165\1\56\1\uffff\2\60\1\164\40\uffff\1\143\1\141\1\163\1\164\1\uffff\1\164\1\156\1\162\1\163\2\141\1\151\1\60\1\151\1\164\1\157\1\145\1\163\1\164\1\157\1\145\1\156\1\160\1\156\1\145\2\uffff\1\60\2\uffff\1\60\1\164\1\154\1\145\1\162\1\141\1\164\1\145\1\163\1\164\1\165\1\155\1\uffff\1\155\1\60\1\163\1\156\1\164\1\171\1\162\1\60\1\157\1\145\2\60\2\uffff\1\151\1\154\1\60\1\141\1\151\1\60\1\156\1\60\1\171\1\154\2\151\1\uffff\1\151\1\144\1\156\1\163\2\60\1\uffff\1\167\1\60\2\uffff\1\157\1\60\1\uffff\1\143\1\156\1\uffff\1\164\1\uffff\1\160\1\164\2\172\1\164\1\163\2\60\2\uffff\1\156\1\uffff\1\156\1\uffff\1\164\1\163\1\60\1\145\1\60\3\145\1\60\2\uffff\1\60\1\141\2\60\1\uffff\1\60\1\uffff\3\60\2\uffff\1\154\6\uffff\1\60\1\uffff"; + "\1\0\1\154\1\141\1\142\2\141\1\142\1\154\1\162\1\156\1\146\1\145\1\143\1\150\1\56\1\145\1\75\1\76\1\55\3\75\5\uffff\1\52\4\uffff\1\101\4\uffff\2\0\5\uffff\1\156\1\141\1\uffff\1\156\1\154\1\163\1\60\1\164\1\146\1\170\1\156\1\160\1\152\1\164\1\160\1\162\1\163\1\165\1\157\1\153\1\160\2\60\1\146\2\157\1\145\1\165\2\uffff\1\164\44\uffff\1\164\1\156\1\163\1\143\1\163\1\164\1\uffff\2\141\2\151\1\157\2\145\1\164\1\157\1\145\1\155\1\142\1\156\1\157\1\60\2\uffff\1\145\1\164\1\160\1\156\1\145\1\60\1\141\1\164\1\163\1\164\1\145\1\162\1\164\1\165\2\155\1\163\1\143\1\156\1\171\1\162\2\60\1\154\1\157\1\162\1\uffff\1\162\1\60\1\145\2\60\1\uffff\1\151\2\60\1\151\1\60\1\141\1\171\1\154\3\151\1\164\1\144\1\156\2\60\2\uffff\1\145\1\167\1\164\1\163\1\uffff\1\60\2\uffff\1\156\2\uffff\1\157\1\uffff\1\143\1\160\1\164\2\172\1\164\1\60\1\163\1\60\2\uffff\1\155\1\156\2\60\1\uffff\1\155\1\156\1\164\1\145\1\60\3\145\1\uffff\1\60\1\uffff\2\60\2\uffff\1\145\1\60\1\141\2\60\1\uffff\3\60\3\uffff\1\156\1\uffff\1\154\5\uffff\1\164\2\60\2\uffff"; static final String DFA12_maxS = - "\1\uffff\1\165\1\163\1\165\1\145\1\165\1\160\1\170\1\156\1\143\1\162\1\56\1\156\1\145\1\75\1\76\1\55\1\75\1\76\1\75\5\uffff\1\57\3\uffff\1\172\3\uffff\2\uffff\5\uffff\1\156\1\162\1\154\1\uffff\1\163\1\172\1\165\1\162\1\141\1\164\1\146\1\171\1\156\1\163\1\160\1\164\1\160\1\162\1\163\1\153\1\157\1\145\1\165\1\56\1\uffff\2\172\1\164\40\uffff\1\143\1\141\1\163\1\164\1\uffff\1\164\1\156\1\162\1\163\2\141\1\151\1\172\1\151\1\164\1\157\1\145\1\163\1\164\1\157\1\145\1\156\1\160\1\156\1\145\2\uffff\1\172\2\uffff\1\172\1\164\1\154\1\145\1\162\1\141\1\164\1\145\1\163\1\164\1\165\1\155\1\uffff\1\155\1\172\1\163\1\162\1\164\1\171\1\162\1\172\1\157\1\145\2\172\2\uffff\1\151\1\154\1\172\1\141\1\151\1\172\1\156\1\172\1\171\1\154\2\151\1\uffff\1\151\1\144\1\156\1\163\2\172\1\uffff\1\167\1\172\2\uffff\1\157\1\172\1\uffff\1\143\1\156\1\uffff\1\164\1\uffff\1\160\1\164\2\172\1\164\1\163\2\172\2\uffff\1\156\1\uffff\1\156\1\uffff\1\164\1\163\1\172\1\145\1\172\3\145\1\172\2\uffff\1\172\1\141\2\172\1\uffff\1\172\1\uffff\3\172\2\uffff\1\154\6\uffff\1\172\1\uffff"; + "\1\uffff\1\157\1\165\1\163\1\145\1\151\1\160\1\170\1\162\2\156\1\157\1\143\1\162\1\56\1\145\1\75\1\76\2\75\1\76\1\75\5\uffff\1\57\4\uffff\1\172\4\uffff\2\uffff\5\uffff\1\165\1\141\1\uffff\1\156\1\154\1\163\1\172\1\164\1\146\1\170\1\156\1\160\1\152\1\164\1\160\1\162\1\163\1\165\1\157\1\153\1\160\2\172\1\146\2\157\1\145\1\165\2\uffff\1\164\44\uffff\1\164\1\156\1\163\1\143\1\163\1\164\1\uffff\2\141\2\151\1\157\2\145\1\164\1\157\1\145\1\155\1\142\1\156\1\157\1\172\2\uffff\1\145\1\164\1\160\1\156\1\145\1\172\1\141\1\164\1\163\1\164\1\145\1\162\1\164\1\165\2\155\1\163\1\143\1\162\1\171\1\162\2\172\1\154\1\157\1\162\1\uffff\1\162\1\172\1\145\2\172\1\uffff\1\151\2\172\1\151\1\172\1\141\1\171\1\154\3\151\1\164\1\144\1\156\2\172\2\uffff\1\145\1\167\1\164\1\163\1\uffff\1\172\2\uffff\1\156\2\uffff\1\157\1\uffff\1\143\1\160\1\164\2\172\1\164\1\172\1\163\1\172\2\uffff\1\155\1\156\2\172\1\uffff\1\163\1\156\1\164\1\145\1\172\3\145\1\uffff\1\172\1\uffff\2\172\2\uffff\1\145\1\172\1\141\2\172\1\uffff\3\172\3\uffff\1\156\1\uffff\1\154\5\uffff\1\164\2\172\2\uffff"; static final String DFA12_acceptS = - "\24\uffff\1\51\1\52\1\53\1\54\1\55\1\uffff\1\62\1\66\1\67\1\uffff\1\71\1\72\1\73\2\uffff\1\76\1\77\1\100\1\102\1\103\3\uffff\1\77\24\uffff\1\57\3\uffff\1\35\1\50\1\36\1\56\1\40\1\61\1\41\1\63\1\42\1\43\1\64\1\44\1\65\1\51\1\52\1\53\1\54\1\55\1\76\1\101\1\60\1\62\1\66\1\67\1\70\1\71\1\72\1\73\1\74\1\75\1\100\1\102\4\uffff\1\45\24\uffff\1\31\1\37\1\uffff\1\47\1\46\14\uffff\1\34\14\uffff\1\32\1\33\14\uffff\1\26\6\uffff\1\25\2\uffff\1\27\1\30\2\uffff\1\23\2\uffff\1\20\1\uffff\1\17\10\uffff\1\21\1\22\1\uffff\1\24\1\uffff\1\16\11\uffff\1\15\1\14\4\uffff\1\10\1\uffff\1\11\3\uffff\1\12\1\13\1\uffff\1\2\1\3\1\4\1\5\1\6\1\7\1\uffff\1\1"; + "\26\uffff\1\54\1\55\1\56\1\57\1\60\1\uffff\1\65\1\71\1\72\1\73\1\uffff\1\75\1\76\1\77\1\100\2\uffff\1\103\1\104\1\105\1\107\1\110\2\uffff\1\104\31\uffff\1\34\1\62\1\uffff\1\37\1\53\1\40\1\61\1\41\1\42\1\43\1\64\1\44\1\66\1\45\1\46\1\67\1\47\1\70\1\54\1\55\1\56\1\57\1\60\1\103\1\106\1\63\1\65\1\71\1\72\1\73\1\74\1\75\1\76\1\77\1\100\1\101\1\102\1\105\1\107\6\uffff\1\50\17\uffff\1\52\1\51\32\uffff\1\35\5\uffff\1\36\20\uffff\1\27\1\30\4\uffff\1\31\1\uffff\1\32\1\33\1\uffff\1\22\1\21\1\uffff\1\25\11\uffff\1\23\1\24\4\uffff\1\26\10\uffff\1\17\1\uffff\1\15\2\uffff\1\16\1\20\5\uffff\1\11\3\uffff\1\12\1\13\1\14\1\uffff\1\4\1\uffff\1\3\1\5\1\6\1\7\1\10\3\uffff\1\2\1\1"; static final String DFA12_specialS = - "\1\2\40\uffff\1\0\1\1\u00c8\uffff}>"; + "\1\1\44\uffff\1\0\1\2\u00d8\uffff}>"; static final String[] DFA12_transitionS = { - "\11\47\2\46\2\47\1\46\22\47\1\46\1\16\1\41\2\47\1\43\1\47\1\42\1\24\1\25\1\26\1\27\1\30\1\17\1\13\1\31\12\45\1\20\1\32\1\21\1\22\1\23\2\47\32\44\1\33\1\47\1\34\1\35\1\44\1\47\1\2\1\44\1\3\1\4\1\7\1\1\2\44\1\14\2\44\1\15\1\5\1\44\1\6\3\44\1\11\1\12\1\10\5\44\1\36\1\37\1\40\uff82\47", - "\1\52\15\uffff\1\51\5\uffff\1\50", - "\1\54\20\uffff\1\55", - "\1\60\2\uffff\1\56\5\uffff\1\57", - "\1\61\3\uffff\1\62", - "\1\63\7\uffff\1\64\13\uffff\1\65", - "\1\66", - "\1\72\1\70\4\uffff\1\71\5\uffff\1\67", - "\1\73", - "\1\74", - "\1\75\11\uffff\1\76", + "\11\53\2\52\2\53\1\52\22\53\1\52\1\20\1\45\2\53\1\47\1\53\1\46\1\26\1\27\1\30\1\31\1\32\1\21\1\16\1\33\12\51\1\22\1\34\1\23\1\24\1\25\1\35\1\53\32\50\1\36\1\53\1\37\1\40\1\50\1\53\1\3\1\50\1\1\1\4\1\7\1\2\2\50\1\12\2\50\1\17\1\5\1\50\1\6\1\10\1\50\1\13\1\14\1\15\1\11\5\50\1\41\1\42\1\43\1\44\uff81\53", + "\1\55\2\uffff\1\54", + "\1\60\23\uffff\1\57", + "\1\61\20\uffff\1\62", + "\1\63\3\uffff\1\64", + "\1\65\7\uffff\1\66", + "\1\70\15\uffff\1\67", + "\1\74\1\72\1\75\3\uffff\1\73\5\uffff\1\71", + "\1\76", "\1\77", - "\1\102\7\uffff\1\101", - "\1\103", - "\1\104", - "\1\106", + "\1\102\6\uffff\1\100\1\101", + "\1\103\11\uffff\1\104", + "\1\105", + "\1\106\11\uffff\1\107", "\1\110", "\1\112", - "\1\114\1\115", - "\1\117", + "\1\113", + "\1\115", + "\1\117\14\uffff\1\120\2\uffff\1\121", + "\1\123", + "\1\125\1\126", + "\1\130", + "", "", "", "", "", + "\1\140\4\uffff\1\137", "", - "\1\127\4\uffff\1\126", "", "", "", - "\32\53\4\uffff\1\53\1\uffff\32\53", + "\32\56\4\uffff\1\56\1\uffff\32\56", "", "", "", - "\0\140", - "\0\141", "", + "\0\153", + "\0\154", "", "", "", "", - "\1\144", - "\1\145", - "\1\146", "", - "\1\147", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", - "\1\151\6\uffff\1\152", - "\1\153", - "\1\154", - "\1\155", - "\1\156", - "\1\157\1\160", + "\1\157\6\uffff\1\160", "\1\161", + "", "\1\162", "\1\163", - "\1\165\12\uffff\1\164", + "\1\164", + "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", "\1\166", "\1\167", "\1\170", @@ -2434,10 +2572,25 @@ public class InternalSolverLanguageLexer extends Lexer { "\1\173", "\1\174", "\1\175", - "", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\5\53\1\177\24\53", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\1\176", + "\1\177", + "\1\u0080", + "\1\u0081", "\1\u0082", + "\1\u0083", + "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\5\56\1\u0084\24\56", + "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", + "\1\u0087", + "\1\u0088", + "\1\u0089", + "\1\u008a", + "\1\u008b", + "", + "", + "\1\u008c", + "", + "", + "", "", "", "", @@ -2470,23 +2623,14 @@ public class InternalSolverLanguageLexer extends Lexer { "", "", "", - "\1\u0083", - "\1\u0084", - "\1\u0085", - "\1\u0086", "", - "\1\u0087", - "\1\u0088", - "\1\u0089", - "\1\u008a", - "\1\u008b", - "\1\u008c", "\1\u008d", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\1\u008e", "\1\u008f", "\1\u0090", "\1\u0091", "\1\u0092", + "", "\1\u0093", "\1\u0094", "\1\u0095", @@ -2495,115 +2639,134 @@ public class InternalSolverLanguageLexer extends Lexer { "\1\u0098", "\1\u0099", "\1\u009a", - "", - "", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", - "", - "", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\1\u009b", + "\1\u009c", "\1\u009d", "\1\u009e", "\1\u009f", "\1\u00a0", - "\1\u00a1", + "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", + "", + "", "\1\u00a2", "\1\u00a3", "\1\u00a4", "\1\u00a5", "\1\u00a6", - "\1\u00a7", - "", + "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", "\1\u00a8", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\1\u00a9", "\1\u00aa", - "\1\u00ab\3\uffff\1\u00ac", + "\1\u00ab", + "\1\u00ac", "\1\u00ad", "\1\u00ae", "\1\u00af", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\1\u00b0", "\1\u00b1", "\1\u00b2", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", - "", - "", - "\1\u00b5", + "\1\u00b3", + "\1\u00b4\3\uffff\1\u00b5", "\1\u00b6", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", - "\1\u00b8", - "\1\u00b9", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\1\u00b7", + "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", + "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", + "\1\u00ba", "\1\u00bb", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\1\u00bc", + "", "\1\u00bd", - "\1\u00be", + "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", "\1\u00bf", - "\1\u00c0", + "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", + "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", "", - "\1\u00c1", "\1\u00c2", - "\1\u00c3", - "\1\u00c4", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", - "", + "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", + "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", + "\1\u00c5", + "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", "\1\u00c7", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", - "", - "", + "\1\u00c8", "\1\u00c9", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", - "", + "\1\u00ca", "\1\u00cb", "\1\u00cc", - "", "\1\u00cd", - "", "\1\u00ce", "\1\u00cf", - "\1\u00d0", - "\1\u00d1", + "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", + "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", + "", + "", "\1\u00d2", "\1\u00d3", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\1\u00d4", + "\1\u00d5", "", + "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", "", - "\1\u00d6", "", "\1\u00d7", "", + "", "\1\u00d8", + "", "\1\u00d9", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\1\u00da", "\1\u00db", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\1\u00dc", "\1\u00dd", "\1\u00de", - "\1\u00df", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", + "\1\u00e0", + "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", "", "", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", "\1\u00e2", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\1\u00e3", + "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", + "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", "", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\1\u00e6\5\uffff\1\u00e7", + "\1\u00e8", + "\1\u00e9", + "\1\u00ea", + "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", + "\1\u00ec", + "\1\u00ed", + "\1\u00ee", "", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", "", + "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", + "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", + "", + "", + "\1\u00f2", + "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", + "\1\u00f4", + "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", + "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", + "", + "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", + "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", + "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", "", - "\1\u00e9", "", "", + "\1\u00fa", "", + "\1\u00fb", "", "", "", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "", + "", + "\1\u00fc", + "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", + "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", + "", "" }; @@ -2637,41 +2800,31 @@ public class InternalSolverLanguageLexer extends Lexer { this.transition = DFA12_transition; } public String getDescription() { - return "1:1: Tokens : ( Functional | Abstract | Contains | Datatype | Maximize | Minimize | Opposite | Current | Default | Extends | Unknown | Exists | Extern | Forall | Class | Count | Empty | Error | False | Scope | Else | Must | Then | True | FullStopFullStopFullStop | Inf | Let | May | ExclamationMarkEqualsSign | HyphenMinusGreaterThanSign | FullStopFullStop | ColonHyphenMinus | LessThanSignEqualsSign | EqualsSignEqualsSign | EqualsSignGreaterThanSign | GreaterThanSignEqualsSign | As | If | In | ExclamationMark | LeftParenthesis | RightParenthesis | Asterisk | PlusSign | Comma | HyphenMinus | FullStop | Solidus | Colon | Semicolon | LessThanSign | EqualsSign | GreaterThanSign | LeftSquareBracket | RightSquareBracket | CircumflexAccent | LeftCurlyBracket | VerticalLine | RightCurlyBracket | RULE_STRING | RULE_QUOTED_ID | RULE_SL_COMMENT | RULE_ID | RULE_INT | RULE_ML_COMMENT | RULE_WS | RULE_ANY_OTHER );"; + return "1:1: Tokens : ( Containment | Functional | Abstract | Contains | Datatype | Maximize | Minimize | Opposite | Default | Extends | Problem | Unknown | Extern | Import | Object | Refers | Class | Count | Empty | Error | False | Scope | Else | Enum | Root | Then | True | FullStopFullStopFullStop | Inf | Let | ExclamationMarkEqualsSign | HyphenMinusGreaterThanSign | ColonHyphenMinus | ColonColon | ColonEqualsSign | LessThanSignEqualsSign | EqualsSignEqualsSign | EqualsSignGreaterThanSign | GreaterThanSignEqualsSign | As | If | In | ExclamationMark | LeftParenthesis | RightParenthesis | Asterisk | PlusSign | Comma | HyphenMinus | FullStop | Solidus | Colon | Semicolon | LessThanSign | EqualsSign | GreaterThanSign | QuestionMark | LeftSquareBracket | RightSquareBracket | CircumflexAccent | LeftCurlyBracket | VerticalLine | RightCurlyBracket | Tilde | RULE_STRING | RULE_QUOTED_ID | RULE_SL_COMMENT | RULE_ID | RULE_INT | RULE_ML_COMMENT | RULE_WS | RULE_ANY_OTHER );"; } public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { IntStream input = _input; int _s = s; switch ( s ) { case 0 : - int LA12_33 = input.LA(1); + int LA12_37 = input.LA(1); s = -1; - if ( ((LA12_33>='\u0000' && LA12_33<='\uFFFF')) ) {s = 96;} + if ( ((LA12_37>='\u0000' && LA12_37<='\uFFFF')) ) {s = 107;} - else s = 39; + else s = 43; if ( s>=0 ) return s; break; case 1 : - int LA12_34 = input.LA(1); - - s = -1; - if ( ((LA12_34>='\u0000' && LA12_34<='\uFFFF')) ) {s = 97;} - - else s = 39; - - if ( s>=0 ) return s; - break; - case 2 : int LA12_0 = input.LA(1); s = -1; - if ( (LA12_0=='f') ) {s = 1;} + if ( (LA12_0=='c') ) {s = 1;} - else if ( (LA12_0=='a') ) {s = 2;} + else if ( (LA12_0=='f') ) {s = 2;} - else if ( (LA12_0=='c') ) {s = 3;} + else if ( (LA12_0=='a') ) {s = 3;} else if ( (LA12_0=='d') ) {s = 4;} @@ -2681,69 +2834,87 @@ public class InternalSolverLanguageLexer extends Lexer { else if ( (LA12_0=='e') ) {s = 7;} - else if ( (LA12_0=='u') ) {s = 8;} + else if ( (LA12_0=='p') ) {s = 8;} + + else if ( (LA12_0=='u') ) {s = 9;} - else if ( (LA12_0=='s') ) {s = 9;} + else if ( (LA12_0=='i') ) {s = 10;} - else if ( (LA12_0=='t') ) {s = 10;} + else if ( (LA12_0=='r') ) {s = 11;} - else if ( (LA12_0=='.') ) {s = 11;} + else if ( (LA12_0=='s') ) {s = 12;} - else if ( (LA12_0=='i') ) {s = 12;} + else if ( (LA12_0=='t') ) {s = 13;} - else if ( (LA12_0=='l') ) {s = 13;} + else if ( (LA12_0=='.') ) {s = 14;} - else if ( (LA12_0=='!') ) {s = 14;} + else if ( (LA12_0=='l') ) {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==':') ) {s = 18;} - else if ( (LA12_0=='=') ) {s = 18;} + else if ( (LA12_0=='<') ) {s = 19;} - else if ( (LA12_0=='>') ) {s = 19;} + else if ( (LA12_0=='=') ) {s = 20;} - else if ( (LA12_0=='(') ) {s = 20;} + else if ( (LA12_0=='>') ) {s = 21;} - else if ( (LA12_0==')') ) {s = 21;} + else if ( (LA12_0=='(') ) {s = 22;} - else if ( (LA12_0=='*') ) {s = 22;} + else if ( (LA12_0==')') ) {s = 23;} - else if ( (LA12_0=='+') ) {s = 23;} + else if ( (LA12_0=='*') ) {s = 24;} - else if ( (LA12_0==',') ) {s = 24;} + else if ( (LA12_0=='+') ) {s = 25;} - else if ( (LA12_0=='/') ) {s = 25;} + else if ( (LA12_0==',') ) {s = 26;} - else if ( (LA12_0==';') ) {s = 26;} + else if ( (LA12_0=='/') ) {s = 27;} - else if ( (LA12_0=='[') ) {s = 27;} + else if ( (LA12_0==';') ) {s = 28;} - else if ( (LA12_0==']') ) {s = 28;} + else if ( (LA12_0=='?') ) {s = 29;} - else if ( (LA12_0=='^') ) {s = 29;} + else if ( (LA12_0=='[') ) {s = 30;} - else if ( (LA12_0=='{') ) {s = 30;} + else if ( (LA12_0==']') ) {s = 31;} - else if ( (LA12_0=='|') ) {s = 31;} + else if ( (LA12_0=='^') ) {s = 32;} - else if ( (LA12_0=='}') ) {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=='}') ) {s = 35;} - else if ( (LA12_0=='%') ) {s = 35;} + else if ( (LA12_0=='~') ) {s = 36;} - else if ( ((LA12_0>='A' && LA12_0<='Z')||LA12_0=='_'||LA12_0=='b'||(LA12_0>='g' && LA12_0<='h')||(LA12_0>='j' && LA12_0<='k')||LA12_0=='n'||(LA12_0>='p' && LA12_0<='r')||(LA12_0>='v' && LA12_0<='z')) ) {s = 36;} + else if ( (LA12_0=='\"') ) {s = 37;} - else if ( ((LA12_0>='0' && LA12_0<='9')) ) {s = 37;} + else if ( (LA12_0=='\'') ) {s = 38;} - else if ( ((LA12_0>='\t' && LA12_0<='\n')||LA12_0=='\r'||LA12_0==' ') ) {s = 38;} + else if ( (LA12_0=='%') ) {s = 39;} + + else if ( ((LA12_0>='A' && LA12_0<='Z')||LA12_0=='_'||LA12_0=='b'||(LA12_0>='g' && LA12_0<='h')||(LA12_0>='j' && LA12_0<='k')||LA12_0=='n'||LA12_0=='q'||(LA12_0>='v' && LA12_0<='z')) ) {s = 40;} + + else if ( ((LA12_0>='0' && LA12_0<='9')) ) {s = 41;} + + else if ( ((LA12_0>='\t' && LA12_0<='\n')||LA12_0=='\r'||LA12_0==' ') ) {s = 42;} + + 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>='\u007F' && LA12_0<='\uFFFF')) ) {s = 43;} + + if ( s>=0 ) return s; + break; + case 2 : + int LA12_38 = input.LA(1); + + s = -1; + if ( ((LA12_38>='\u0000' && LA12_38<='\uFFFF')) ) {s = 108;} - 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<='\uFFFF')) ) {s = 39;} + else s = 43; if ( s>=0 ) return s; break; diff --git a/Application/org.eclipse.viatra.solver.language.ide/src-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/lexer/InternalSolverLanguageLexer.tokens b/Application/org.eclipse.viatra.solver.language.ide/src-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/lexer/InternalSolverLanguageLexer.tokens index 178103e2..f6269b97 100644 --- a/Application/org.eclipse.viatra.solver.language.ide/src-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/lexer/InternalSolverLanguageLexer.tokens +++ b/Application/org.eclipse.viatra.solver.language.ide/src-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/lexer/InternalSolverLanguageLexer.tokens @@ -1,70 +1,75 @@ -Abstract=5 -As=40 -Asterisk=46 -CircumflexAccent=59 -Class=18 -Colon=52 -ColonHyphenMinus=35 -Comma=48 -Contains=6 -Count=19 -Current=11 -Datatype=7 +Abstract=6 +As=43 +Asterisk=49 +CircumflexAccent=63 +Class=20 +Colon=55 +ColonColon=37 +ColonEqualsSign=38 +ColonHyphenMinus=36 +Comma=51 +Containment=4 +Contains=7 +Count=21 +Datatype=8 Default=12 -Else=24 -Empty=20 -EqualsSign=55 -EqualsSignEqualsSign=37 -EqualsSignGreaterThanSign=38 -Error=21 -ExclamationMark=43 -ExclamationMarkEqualsSign=32 -Exists=15 +Else=26 +Empty=22 +Enum=27 +EqualsSign=58 +EqualsSignEqualsSign=40 +EqualsSignGreaterThanSign=41 +Error=23 +ExclamationMark=46 +ExclamationMarkEqualsSign=34 Extends=13 Extern=16 -False=22 -Forall=17 -FullStop=50 -FullStopFullStop=34 -FullStopFullStopFullStop=28 -Functional=4 -GreaterThanSign=56 -GreaterThanSignEqualsSign=39 -HyphenMinus=49 -HyphenMinusGreaterThanSign=33 -If=41 -In=42 -Inf=29 -LeftCurlyBracket=60 -LeftParenthesis=44 -LeftSquareBracket=57 -LessThanSign=54 -LessThanSignEqualsSign=36 -Let=30 -Maximize=8 -May=31 -Minimize=9 -Must=25 -Opposite=10 -PlusSign=47 -RULE_ANY_OTHER=73 -RULE_FULL_STOP=68 -RULE_ID=69 -RULE_INT=70 -RULE_ML_COMMENT=71 -RULE_QUOTED_ID=64 -RULE_REFLEXIVE_TRANSITIVE_CLOSURE=67 -RULE_SL_COMMENT=65 -RULE_STRING=63 -RULE_TRANSITIVE_CLOSURE=66 -RULE_WS=72 -RightCurlyBracket=62 -RightParenthesis=45 -RightSquareBracket=58 -Scope=23 -Semicolon=53 -Solidus=51 -Then=26 -True=27 -Unknown=14 -VerticalLine=61 +False=24 +FullStop=53 +FullStopFullStopFullStop=31 +Functional=5 +GreaterThanSign=59 +GreaterThanSignEqualsSign=42 +HyphenMinus=52 +HyphenMinusGreaterThanSign=35 +If=44 +Import=17 +In=45 +Inf=32 +LeftCurlyBracket=64 +LeftParenthesis=47 +LeftSquareBracket=61 +LessThanSign=57 +LessThanSignEqualsSign=39 +Let=33 +Maximize=9 +Minimize=10 +Object=18 +Opposite=11 +PlusSign=50 +Problem=14 +QuestionMark=60 +RULE_ANY_OTHER=78 +RULE_FULL_STOP=73 +RULE_ID=74 +RULE_INT=75 +RULE_ML_COMMENT=76 +RULE_QUOTED_ID=69 +RULE_REFLEXIVE_TRANSITIVE_CLOSURE=72 +RULE_SL_COMMENT=70 +RULE_STRING=68 +RULE_TRANSITIVE_CLOSURE=71 +RULE_WS=77 +Refers=19 +RightCurlyBracket=66 +RightParenthesis=48 +RightSquareBracket=62 +Root=28 +Scope=25 +Semicolon=56 +Solidus=54 +Then=29 +Tilde=67 +True=30 +Unknown=15 +VerticalLine=65 diff --git a/Application/org.eclipse.viatra.solver.language.model/.classpath b/Application/org.eclipse.viatra.solver.language.model/.classpath new file mode 100644 index 00000000..03565ec5 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/.classpath @@ -0,0 +1,7 @@ + + + + + + + diff --git a/Application/org.eclipse.viatra.solver.language.model/.gitignore b/Application/org.eclipse.viatra.solver.language.model/.gitignore new file mode 100644 index 00000000..ae3c1726 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/.gitignore @@ -0,0 +1 @@ +/bin/ diff --git a/Application/org.eclipse.viatra.solver.language.model/.project b/Application/org.eclipse.viatra.solver.language.model/.project new file mode 100644 index 00000000..b24c7b88 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/.project @@ -0,0 +1,35 @@ + + + org.eclipse.viatra.solver.language.model + + + + + + org.eclipse.xtext.ui.shared.xtextBuilder + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.pde.ManifestBuilder + + + + + org.eclipse.pde.SchemaBuilder + + + + + + org.eclipse.sirius.nature.modelingproject + org.eclipse.jdt.core.javanature + org.eclipse.pde.PluginNature + org.eclipse.xtext.ui.shared.xtextNature + + diff --git a/Application/org.eclipse.viatra.solver.language.model/.settings/org.eclipse.jdt.core.prefs b/Application/org.eclipse.viatra.solver.language.model/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 00000000..9f6ece88 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,8 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8 +org.eclipse.jdt.core.compiler.compliance=1.8 +org.eclipse.jdt.core.compiler.problem.assertIdentifier=error +org.eclipse.jdt.core.compiler.problem.enumIdentifier=error +org.eclipse.jdt.core.compiler.release=disabled +org.eclipse.jdt.core.compiler.source=1.8 diff --git a/Application/org.eclipse.viatra.solver.language.model/META-INF/MANIFEST.MF b/Application/org.eclipse.viatra.solver.language.model/META-INF/MANIFEST.MF new file mode 100644 index 00000000..030e02aa --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/META-INF/MANIFEST.MF @@ -0,0 +1,16 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: %pluginName +Bundle-SymbolicName: org.eclipse.viatra.solver.language.model;singleton:=true +Automatic-Module-Name: org.eclipse.viatra.solver.language.model +Bundle-Version: 0.1.0.qualifier +Bundle-ClassPath: . +Bundle-Vendor: %providerName +Bundle-Localization: plugin +Bundle-RequiredExecutionEnvironment: JavaSE-1.8 +Export-Package: org.eclipse.viatra.solver.language.solverLanguage, + org.eclipse.viatra.solver.language.solverLanguage.impl, + org.eclipse.viatra.solver.language.solverLanguage.util +Require-Bundle: org.eclipse.emf.ecore;visibility:=reexport, + org.eclipse.core.runtime +Bundle-ActivationPolicy: lazy diff --git a/Application/org.eclipse.viatra.solver.language.model/build.properties b/Application/org.eclipse.viatra.solver.language.model/build.properties new file mode 100644 index 00000000..697ca964 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/build.properties @@ -0,0 +1,10 @@ +# + +bin.includes = .,\ + model/,\ + META-INF/,\ + plugin.xml,\ + plugin.properties +jars.compile.order = . +source.. = src-gen/ +output.. = bin/ diff --git a/Application/org.eclipse.viatra.solver.language.model/model/model.aird b/Application/org.eclipse.viatra.solver.language.model/model/model.aird new file mode 100644 index 00000000..d934951f --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/model/model.aird @@ -0,0 +1,6757 @@ + + + + model.ecore + model.genmodel + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + italic + + + + + + + + + + + + + + + + + + + labelSize + + + labelSize + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + + + + + + + + + labelSize + + + labelSize + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + italic + + + + + + + + + + + italic + + + + + + + + + + + + italic + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + italic + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + labelSize + + + labelSize + + + + + + + + + + labelSize + + + labelSize + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + italic + + + + + + + + + + + italic + + + + + + + + + + + + italic + + + + + + + + + + + + italic + + + + + + + + + + + labelSize + + + labelSize + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + italic + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + italic + + + + + + + + + + + + italic + + + + + + + + + + + labelSize + + + labelSize + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + + + + + + + + + italic + + + + + + + + + + + labelSize + + + labelSize + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + italic + + + + + + + + + + + + italic + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + italic + + + + + + + + + + + labelSize + + + labelSize + + + + + + + + + + labelSize + + + labelSize + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + italic + + + + + + + + + + + + italic + + + + + + + + + + + + italic + + + + + + + + + + + labelSize + + + labelSize + + + + + + + + + + labelSize + + + labelSize + + + + + + + + + + labelSize + + + labelSize + + + + + + + + + + labelSize + + + labelSize + + + + + + + + + + labelSize + + + labelSize + + + + + + + + + + labelSize + + + labelSize + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + + + + + + + + + italic + + + + + + + + + + + labelSize + + + labelSize + + + + + + + + + strokeColor + + labelSize + + + labelSize + + + + + + + + + + labelSize + + + labelSize + + + + + + + + + + labelSize + + + labelSize + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + italic + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + italic + + + + + + + + + + + + italic + + + + + + + + + + + + italic + + + + + + + + + + + + italic + + + + + + + + + + + + italic + + + + + + + + + + + + italic + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + italic + + + + + + + + + + + labelSize + + + labelSize + + + + + + + + + + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + italic + + + + + + + + + + + italic + + + + + + + + + + strokeColor + + labelSize + + + labelSize + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + italic + + + + + + + + + + + + italic + + + + + + + + + + + + italic + + + + + + + + + + + labelSize + + + labelSize + + + + + + + + + + labelSize + + + labelSize + + + + + + + + + + labelSize + + + labelSize + + + + + + + + + + + labelSize + + + labelSize + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + + + + + + + + labelSize + + + labelSize + + + + + + + + + + + labelSize + + + labelSize + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + italic + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + italic + + + + + + + + + + + labelSize + + + labelSize + + + + + + + + + + labelSize + + + labelSize + + + + + + + + + strokeColor + + labelSize + + + labelSize + + + + + + + + + + labelSize + + + labelSize + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + + + + + + + + + italic + + + + + + + + + + + + italic + + + + + + + + + + + + labelSize + + + labelSize + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + italic + + + + + + + + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + italic + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + + + + + + + + + labelSize + + + labelSize + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + italic + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + italic + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + italic + + + + + + + + + + + + italic + + + + + + + + + + + + italic + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + italic + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + italic + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + italic + + + + + + + + + + + italic + + + + + + + + + + + labelSize + + + labelSize + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + italic + + + + + + + + + + + + italic + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + + + + + + + + + italic + + + + + + + + + + + labelSize + + + labelSize + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + italic + + + + + + + + + + + + labelSize + + + labelSize + + + + + + + + + + + labelSize + + + labelSize + + + + + + + + + + + labelSize + + + labelSize + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + italic + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + italic + + + + + + + + + + + italic + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + italic + + + + + + + + + + + + + + + + + + labelSize + + + labelSize + + + + + + + + + + labelSize + + + labelSize + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + italic + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + labelSize + + + labelSize + + + + + + + + + + labelSize + + + labelSize + + + + + + + + + + + italic + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + italic + + + + + + + + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + italic + + + + + + + + + + + + + + + + + + + italic + + + + + + + + + + + + italic + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + italic + + + + + + + + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + italic + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + italic + + + + + + + + + + + + italic + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + italic + + + + + + + + + + + + italic + + + + + + + + + + + + italic + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + + + + + + + + labelSize + + + labelSize + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + italic + + + + + + + + + + + labelSize + + + labelSize + + + + + + + + + + labelSize + + + labelSize + + + + + + + + + + labelSize + + + labelSize + + + + + + + + + + labelSize + + + labelSize + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + italic + + + + + + + + + + + + italic + + + + + + + + + + + + italic + + + + + + + + + + + + italic + + + + + + + + + + + + labelSize + + + labelSize + + + + + + + + + + + labelSize + + + labelSize + + + + + + + + + + + italic + + + + + + + + + + + + italic + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + + + + + + + + + + + + + + + + + italic + + + + + + + + + + + + italic + + + + + + + + + + + + italic + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + italic + + + + + + + + + + + + + + + + + + + + + + + + + + + italic + + + + + + + + + + + + italic + + + + + + + + + + + + italic + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + labelSize + + + labelSize + + + + + + + + + + labelSize + + + labelSize + + + + + + + + + + + italic + + + + + + + + + + + + labelSize + + + labelSize + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + + + + + + + + + + + + + + + + + italic + + + + + + + + + + + + labelSize + + + labelSize + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + + + + + + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + + + + + + + + + italic + + + + + + + + + + + + italic + + + + + + + + + + + + italic + + + + + + + + + + + + italic + + + + + + + + + + + labelSize + + + labelSize + + + + + + + + + + + labelSize + + + labelSize + + + + + + + + + + + labelSize + + + labelSize + + + + + + + + + + + labelSize + + + labelSize + + + + + + + + + + + labelSize + + + labelSize + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
    + + + + + + + + + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + italic + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + italic + + + + + + + + + + + + + + + + + + labelSize + + + labelSize + + + + + + + + + strokeColor + + labelSize + + + labelSize + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + + + + + + + + labelSize + + + labelSize + + + + + + + + + + + italic + + + + + + + + + + + + italic + + + + + + + + + + + + + diff --git a/Application/org.eclipse.viatra.solver.language.model/model/model.ecore b/Application/org.eclipse.viatra.solver.language.model/model/model.ecore new file mode 100644 index 00000000..f5e6a91e --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/model/model.ecore @@ -0,0 +1,327 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Application/org.eclipse.viatra.solver.language.model/model/model.genmodel b/Application/org.eclipse.viatra.solver.language.model/model/model.genmodel new file mode 100644 index 00000000..0e916847 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/model/model.genmodel @@ -0,0 +1,287 @@ + + + model.ecore + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Application/org.eclipse.viatra.solver.language.model/plugin.properties b/Application/org.eclipse.viatra.solver.language.model/plugin.properties new file mode 100644 index 00000000..9050bf16 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/plugin.properties @@ -0,0 +1,4 @@ +# + +pluginName = org.eclipse.viatra.solver.language.model +providerName = www.example.org diff --git a/Application/org.eclipse.viatra.solver.language.model/plugin.xml b/Application/org.eclipse.viatra.solver.language.model/plugin.xml new file mode 100644 index 00000000..12825d16 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/plugin.xml @@ -0,0 +1,17 @@ + + + + + + + + + + + + + diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/AbstractAssertion.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/AbstractAssertion.java new file mode 100644 index 00000000..7923a212 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/AbstractAssertion.java @@ -0,0 +1,67 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage; + +/** + * + * A representation of the model object 'Abstract Assertion'. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.AbstractAssertion#getExpression Expression}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.AbstractAssertion#getRange Range}
    • + *
    + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getAbstractAssertion() + * @model abstract="true" + * @generated + */ +public interface AbstractAssertion extends Statement { + /** + * Returns the value of the 'Expression' containment reference. + * + * + * @return the value of the 'Expression' containment reference. + * @see #setExpression(Expression) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getAbstractAssertion_Expression() + * @model containment="true" + * @generated + */ + Expression getExpression(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.AbstractAssertion#getExpression Expression}' containment reference. + * + * + * @param value the new value of the 'Expression' containment reference. + * @see #getExpression() + * @generated + */ + void setExpression(Expression value); + + /** + * Returns the value of the 'Range' containment reference. + * + * + * @return the value of the 'Range' containment reference. + * @see #setRange(Expression) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getAbstractAssertion_Range() + * @model containment="true" + * @generated + */ + Expression getRange(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.AbstractAssertion#getRange Range}' containment reference. + * + * + * @param value the new value of the 'Range' containment reference. + * @see #getRange() + * @generated + */ + void setRange(Expression value); + +} // AbstractAssertion diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/AggregateExpression.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/AggregateExpression.java new file mode 100644 index 00000000..8e4c468e --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/AggregateExpression.java @@ -0,0 +1,59 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage; + +import org.eclipse.emf.common.util.EList; + +/** + * + * A representation of the model object 'Aggregate Expression'. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.AggregateExpression#getForallVariables Forall Variables}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.AggregateExpression#getCondition Condition}
    • + *
    + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getAggregateExpression() + * @model abstract="true" + * @generated + */ +public interface AggregateExpression extends Expression { + /** + * Returns the value of the 'Forall Variables' containment reference list. + * The list contents are of type {@link org.eclipse.viatra.solver.language.solverLanguage.Variable}. + * + * + * @return the value of the 'Forall Variables' containment reference list. + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getAggregateExpression_ForallVariables() + * @model containment="true" transient="true" + * @generated + */ + EList getForallVariables(); + + /** + * Returns the value of the 'Condition' containment reference. + * + * + * @return the value of the 'Condition' containment reference. + * @see #setCondition(Expression) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getAggregateExpression_Condition() + * @model containment="true" + * @generated + */ + Expression getCondition(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.AggregateExpression#getCondition Condition}' containment reference. + * + * + * @param value the new value of the 'Condition' containment reference. + * @see #getCondition() + * @generated + */ + void setCondition(Expression value); + +} // AggregateExpression diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Aggregation.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Aggregation.java new file mode 100644 index 00000000..f1d6b6c1 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Aggregation.java @@ -0,0 +1,67 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage; + +/** + * + * A representation of the model object 'Aggregation'. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.Aggregation#getValue Value}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.Aggregation#getOp Op}
    • + *
    + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getAggregation() + * @model + * @generated + */ +public interface Aggregation extends AggregateExpression { + /** + * Returns the value of the 'Value' containment reference. + * + * + * @return the value of the 'Value' containment reference. + * @see #setValue(Expression) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getAggregation_Value() + * @model containment="true" + * @generated + */ + Expression getValue(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.Aggregation#getValue Value}' containment reference. + * + * + * @param value the new value of the 'Value' containment reference. + * @see #getValue() + * @generated + */ + void setValue(Expression value); + + /** + * Returns the value of the 'Op' reference. + * + * + * @return the value of the 'Op' reference. + * @see #setOp(Symbol) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getAggregation_Op() + * @model + * @generated + */ + Symbol getOp(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.Aggregation#getOp Op}' reference. + * + * + * @param value the new value of the 'Op' reference. + * @see #getOp() + * @generated + */ + void setOp(Symbol value); + +} // Aggregation diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/AggregationOperator.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/AggregationOperator.java new file mode 100644 index 00000000..2ec7794a --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/AggregationOperator.java @@ -0,0 +1,67 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage; + +/** + * + * A representation of the model object 'Aggregation Operator'. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.AggregationOperator#getArgumentType Argument Type}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.AggregationOperator#getResultType Result Type}
    • + *
    + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getAggregationOperator() + * @model + * @generated + */ +public interface AggregationOperator extends Symbol { + /** + * Returns the value of the 'Argument Type' reference. + * + * + * @return the value of the 'Argument Type' reference. + * @see #setArgumentType(Datatype) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getAggregationOperator_ArgumentType() + * @model + * @generated + */ + Datatype getArgumentType(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.AggregationOperator#getArgumentType Argument Type}' reference. + * + * + * @param value the new value of the 'Argument Type' reference. + * @see #getArgumentType() + * @generated + */ + void setArgumentType(Datatype value); + + /** + * Returns the value of the 'Result Type' reference. + * + * + * @return the value of the 'Result Type' reference. + * @see #setResultType(Datatype) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getAggregationOperator_ResultType() + * @model + * @generated + */ + Datatype getResultType(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.AggregationOperator#getResultType Result Type}' reference. + * + * + * @param value the new value of the 'Result Type' reference. + * @see #getResultType() + * @generated + */ + void setResultType(Datatype value); + +} // AggregationOperator diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Argument.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Argument.java new file mode 100644 index 00000000..dd9fb5ee --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Argument.java @@ -0,0 +1,18 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage; + +import org.eclipse.emf.ecore.EObject; + +/** + * + * A representation of the model object 'Argument'. + * + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getArgument() + * @model abstract="true" + * @generated + */ +public interface Argument extends EObject { +} // Argument diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/ArgumentList.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/ArgumentList.java new file mode 100644 index 00000000..3f6c05bd --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/ArgumentList.java @@ -0,0 +1,38 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EObject; + +/** + * + * A representation of the model object 'Argument List'. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.ArgumentList#getArguments Arguments}
    • + *
    + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getArgumentList() + * @model + * @generated + */ +public interface ArgumentList extends EObject { + /** + * Returns the value of the 'Arguments' containment reference list. + * The list contents are of type {@link org.eclipse.viatra.solver.language.solverLanguage.Argument}. + * + * + * @return the value of the 'Arguments' containment reference list. + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getArgumentList_Arguments() + * @model containment="true" + * @generated + */ + EList getArguments(); + +} // ArgumentList diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Assertion.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Assertion.java new file mode 100644 index 00000000..1f9b0889 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Assertion.java @@ -0,0 +1,16 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage; + +/** + * + * A representation of the model object 'Assertion'. + * + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getAssertion() + * @model + * @generated + */ +public interface Assertion extends AbstractAssertion { +} // Assertion diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Attribute.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Attribute.java new file mode 100644 index 00000000..bb577b73 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Attribute.java @@ -0,0 +1,70 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage; + +/** + * + * A representation of the model object 'Attribute'. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.Attribute#getTarget Target}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.Attribute#getKind Kind}
    • + *
    + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getAttribute() + * @model abstract="true" + * @generated + */ +public interface Attribute extends Statement { + /** + * Returns the value of the 'Target' reference. + * + * + * @return the value of the 'Target' reference. + * @see #setTarget(Symbol) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getAttribute_Target() + * @model + * @generated + */ + Symbol getTarget(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.Attribute#getTarget Target}' reference. + * + * + * @param value the new value of the 'Target' reference. + * @see #getTarget() + * @generated + */ + void setTarget(Symbol value); + + /** + * Returns the value of the 'Kind' attribute. + * The literals are from the enumeration {@link org.eclipse.viatra.solver.language.solverLanguage.AttributeKind}. + * + * + * @return the value of the 'Kind' attribute. + * @see org.eclipse.viatra.solver.language.solverLanguage.AttributeKind + * @see #setKind(AttributeKind) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getAttribute_Kind() + * @model + * @generated + */ + AttributeKind getKind(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.Attribute#getKind Kind}' attribute. + * + * + * @param value the new value of the 'Kind' attribute. + * @see org.eclipse.viatra.solver.language.solverLanguage.AttributeKind + * @see #getKind() + * @generated + */ + void setKind(AttributeKind value); + +} // Attribute diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/AttributeKind.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/AttributeKind.java new file mode 100644 index 00000000..50f7afbf --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/AttributeKind.java @@ -0,0 +1,250 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage; + +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 'Attribute Kind', + * and utility methods for working with them. + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getAttributeKind() + * @model + * @generated + */ +public enum AttributeKind implements Enumerator { + /** + * The 'FUNCTIONAL' literal object. + * + * + * @see #FUNCTIONAL_VALUE + * @generated + * @ordered + */ + FUNCTIONAL(0, "FUNCTIONAL", "FUNCTIONAL"), + + /** + * The 'ERROR' literal object. + * + * + * @see #ERROR_VALUE + * @generated + * @ordered + */ + ERROR(1, "ERROR", "ERROR"), + + /** + * The 'ROOT' literal object. + * + * + * @see #ROOT_VALUE + * @generated + * @ordered + */ + ROOT(2, "ROOT", "ROOT"), + + /** + * The 'CONTAINMENT' literal object. + * + * + * @see #CONTAINMENT_VALUE + * @generated + * @ordered + */ + CONTAINMENT(3, "CONTAINMENT", "CONTAINMENT"); + + /** + * The 'FUNCTIONAL' literal value. + * + * + * @see #FUNCTIONAL + * @model + * @generated + * @ordered + */ + public static final int FUNCTIONAL_VALUE = 0; + + /** + * The 'ERROR' literal value. + * + * + * @see #ERROR + * @model + * @generated + * @ordered + */ + public static final int ERROR_VALUE = 1; + + /** + * The 'ROOT' literal value. + * + * + * @see #ROOT + * @model + * @generated + * @ordered + */ + public static final int ROOT_VALUE = 2; + + /** + * The 'CONTAINMENT' literal value. + * + * + * @see #CONTAINMENT + * @model + * @generated + * @ordered + */ + public static final int CONTAINMENT_VALUE = 3; + + /** + * An array of all the 'Attribute Kind' enumerators. + * + * + * @generated + */ + private static final AttributeKind[] VALUES_ARRAY = new AttributeKind[] { FUNCTIONAL, ERROR, ROOT, CONTAINMENT, }; + + /** + * A public read-only list of all the 'Attribute Kind' enumerators. + * + * + * @generated + */ + public static final List VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); + + /** + * Returns the 'Attribute Kind' literal with the specified literal value. + * + * + * @param literal the literal. + * @return the matching enumerator or null. + * @generated + */ + public static AttributeKind get(String literal) { + for (int i = 0; i < VALUES_ARRAY.length; ++i) { + AttributeKind result = VALUES_ARRAY[i]; + if (result.toString().equals(literal)) { + return result; + } + } + return null; + } + + /** + * Returns the 'Attribute Kind' literal with the specified name. + * + * + * @param name the name. + * @return the matching enumerator or null. + * @generated + */ + public static AttributeKind getByName(String name) { + for (int i = 0; i < VALUES_ARRAY.length; ++i) { + AttributeKind result = VALUES_ARRAY[i]; + if (result.getName().equals(name)) { + return result; + } + } + return null; + } + + /** + * Returns the 'Attribute Kind' literal with the specified integer value. + * + * + * @param value the integer value. + * @return the matching enumerator or null. + * @generated + */ + public static AttributeKind get(int value) { + switch (value) { + case FUNCTIONAL_VALUE: + return FUNCTIONAL; + case ERROR_VALUE: + return ERROR; + case ROOT_VALUE: + return ROOT; + case CONTAINMENT_VALUE: + return CONTAINMENT; + } + 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 AttributeKind(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; + } + +} //AttributeKind diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/BaseRelation.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/BaseRelation.java new file mode 100644 index 00000000..9eb92f65 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/BaseRelation.java @@ -0,0 +1,16 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage; + +/** + * + * A representation of the model object 'Base Relation'. + * + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getBaseRelation() + * @model + * @generated + */ +public interface BaseRelation extends Relation { +} // BaseRelation diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/BinaryExpression.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/BinaryExpression.java new file mode 100644 index 00000000..9615767a --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/BinaryExpression.java @@ -0,0 +1,93 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage; + +/** + * + * A representation of the model object 'Binary Expression'. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.BinaryExpression#getOp Op}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.BinaryExpression#getLeft Left}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.BinaryExpression#getRight Right}
    • + *
    + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getBinaryExpression() + * @model + * @generated + */ +public interface BinaryExpression extends Expression { + /** + * Returns the value of the 'Op' attribute. + * The literals are from the enumeration {@link org.eclipse.viatra.solver.language.solverLanguage.BinaryOperator}. + * + * + * @return the value of the 'Op' attribute. + * @see org.eclipse.viatra.solver.language.solverLanguage.BinaryOperator + * @see #setOp(BinaryOperator) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getBinaryExpression_Op() + * @model + * @generated + */ + BinaryOperator getOp(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.BinaryExpression#getOp Op}' attribute. + * + * + * @param value the new value of the 'Op' attribute. + * @see org.eclipse.viatra.solver.language.solverLanguage.BinaryOperator + * @see #getOp() + * @generated + */ + void setOp(BinaryOperator value); + + /** + * Returns the value of the 'Left' containment reference. + * + * + * @return the value of the 'Left' containment reference. + * @see #setLeft(Expression) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getBinaryExpression_Left() + * @model containment="true" + * @generated + */ + Expression getLeft(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.BinaryExpression#getLeft Left}' containment reference. + * + * + * @param value the new value of the 'Left' containment reference. + * @see #getLeft() + * @generated + */ + void setLeft(Expression value); + + /** + * Returns the value of the 'Right' containment reference. + * + * + * @return the value of the 'Right' containment reference. + * @see #setRight(Expression) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getBinaryExpression_Right() + * @model containment="true" + * @generated + */ + Expression getRight(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.BinaryExpression#getRight Right}' containment reference. + * + * + * @param value the new value of the 'Right' containment reference. + * @see #getRight() + * @generated + */ + void setRight(Expression value); + +} // BinaryExpression diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/BinaryOperator.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/BinaryOperator.java new file mode 100644 index 00000000..58d01fd7 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/BinaryOperator.java @@ -0,0 +1,435 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage; + +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 'Binary Operator', + * and utility methods for working with them. + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getBinaryOperator() + * @model + * @generated + */ +public enum BinaryOperator implements Enumerator { + /** + * The 'PLUS' literal object. + * + * + * @see #PLUS_VALUE + * @generated + * @ordered + */ + PLUS(0, "PLUS", "PLUS"), + + /** + * The 'MINUS' literal object. + * + * + * @see #MINUS_VALUE + * @generated + * @ordered + */ + MINUS(1, "MINUS", "MINUS"), + + /** + * The 'MULTIPLY' literal object. + * + * + * @see #MULTIPLY_VALUE + * @generated + * @ordered + */ + MULTIPLY(2, "MULTIPLY", "MULTIPLY"), + + /** + * The 'DIVIDE' literal object. + * + * + * @see #DIVIDE_VALUE + * @generated + * @ordered + */ + DIVIDE(3, "DIVIDE", "DIVIDE"), + + /** + * The 'POW' literal object. + * + * + * @see #POW_VALUE + * @generated + * @ordered + */ + POW(4, "POW", "POW"), + + /** + * The 'IN' literal object. + * + * + * @see #IN_VALUE + * @generated + * @ordered + */ + IN(5, "IN", "IN"), + + /** + * The 'EQUALS' literal object. + * + * + * @see #EQUALS_VALUE + * @generated + * @ordered + */ + EQUALS(6, "EQUALS", "EQUALS"), + + /** + * The 'NOT EQUALS' literal object. + * + * + * @see #NOT_EQUALS_VALUE + * @generated + * @ordered + */ + NOT_EQUALS(7, "NOT_EQUALS", "NOT_EQUALS"), + + /** + * The 'LESS' literal object. + * + * + * @see #LESS_VALUE + * @generated + * @ordered + */ + LESS(8, "LESS", "LESS"), + + /** + * The 'LESS EQUALS' literal object. + * + * + * @see #LESS_EQUALS_VALUE + * @generated + * @ordered + */ + LESS_EQUALS(9, "LESS_EQUALS", "LESS_EQUALS"), + + /** + * The 'GREATER' literal object. + * + * + * @see #GREATER_VALUE + * @generated + * @ordered + */ + GREATER(10, "GREATER", "GREATER"), + + /** + * The 'GREATER EQUALS' literal object. + * + * + * @see #GREATER_EQUALS_VALUE + * @generated + * @ordered + */ + GREATER_EQUALS(11, "GREATER_EQUALS", "GREATER_EQUALS"); + + /** + * The 'PLUS' literal value. + * + * + * @see #PLUS + * @model + * @generated + * @ordered + */ + public static final int PLUS_VALUE = 0; + + /** + * The 'MINUS' literal value. + * + * + * @see #MINUS + * @model + * @generated + * @ordered + */ + public static final int MINUS_VALUE = 1; + + /** + * The 'MULTIPLY' literal value. + * + * + * @see #MULTIPLY + * @model + * @generated + * @ordered + */ + public static final int MULTIPLY_VALUE = 2; + + /** + * The 'DIVIDE' literal value. + * + * + * @see #DIVIDE + * @model + * @generated + * @ordered + */ + public static final int DIVIDE_VALUE = 3; + + /** + * The 'POW' literal value. + * + * + * @see #POW + * @model + * @generated + * @ordered + */ + public static final int POW_VALUE = 4; + + /** + * The 'IN' literal value. + * + * + * @see #IN + * @model + * @generated + * @ordered + */ + public static final int IN_VALUE = 5; + + /** + * The 'EQUALS' literal value. + * + * + * @see #EQUALS + * @model + * @generated + * @ordered + */ + public static final int EQUALS_VALUE = 6; + + /** + * The 'NOT EQUALS' literal value. + * + * + * @see #NOT_EQUALS + * @model + * @generated + * @ordered + */ + public static final int NOT_EQUALS_VALUE = 7; + + /** + * The 'LESS' literal value. + * + * + * @see #LESS + * @model + * @generated + * @ordered + */ + public static final int LESS_VALUE = 8; + + /** + * The 'LESS EQUALS' literal value. + * + * + * @see #LESS_EQUALS + * @model + * @generated + * @ordered + */ + public static final int LESS_EQUALS_VALUE = 9; + + /** + * The 'GREATER' literal value. + * + * + * @see #GREATER + * @model + * @generated + * @ordered + */ + public static final int GREATER_VALUE = 10; + + /** + * The 'GREATER EQUALS' literal value. + * + * + * @see #GREATER_EQUALS + * @model + * @generated + * @ordered + */ + public static final int GREATER_EQUALS_VALUE = 11; + + /** + * An array of all the 'Binary Operator' enumerators. + * + * + * @generated + */ + private static final BinaryOperator[] VALUES_ARRAY = new BinaryOperator[] { PLUS, MINUS, MULTIPLY, DIVIDE, POW, IN, + EQUALS, NOT_EQUALS, LESS, LESS_EQUALS, GREATER, GREATER_EQUALS, }; + + /** + * A public read-only list of all the 'Binary Operator' enumerators. + * + * + * @generated + */ + public static final List VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); + + /** + * Returns the 'Binary Operator' literal with the specified literal value. + * + * + * @param literal the literal. + * @return the matching enumerator or null. + * @generated + */ + public static BinaryOperator get(String literal) { + for (int i = 0; i < VALUES_ARRAY.length; ++i) { + BinaryOperator result = VALUES_ARRAY[i]; + if (result.toString().equals(literal)) { + return result; + } + } + return null; + } + + /** + * Returns the 'Binary Operator' literal with the specified name. + * + * + * @param name the name. + * @return the matching enumerator or null. + * @generated + */ + public static BinaryOperator getByName(String name) { + for (int i = 0; i < VALUES_ARRAY.length; ++i) { + BinaryOperator result = VALUES_ARRAY[i]; + if (result.getName().equals(name)) { + return result; + } + } + return null; + } + + /** + * Returns the 'Binary Operator' literal with the specified integer value. + * + * + * @param value the integer value. + * @return the matching enumerator or null. + * @generated + */ + public static BinaryOperator get(int value) { + switch (value) { + case PLUS_VALUE: + return PLUS; + case MINUS_VALUE: + return MINUS; + case MULTIPLY_VALUE: + return MULTIPLY; + case DIVIDE_VALUE: + return DIVIDE; + case POW_VALUE: + return POW; + case IN_VALUE: + return IN; + case EQUALS_VALUE: + return EQUALS; + case NOT_EQUALS_VALUE: + return NOT_EQUALS; + case LESS_VALUE: + return LESS; + case LESS_EQUALS_VALUE: + return LESS_EQUALS; + case GREATER_VALUE: + return GREATER; + case GREATER_EQUALS_VALUE: + return GREATER_EQUALS; + } + 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 BinaryOperator(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; + } + +} //BinaryOperator diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/BoundedMultiplicity.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/BoundedMultiplicity.java new file mode 100644 index 00000000..6f9cb8cc --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/BoundedMultiplicity.java @@ -0,0 +1,67 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage; + +/** + * + * A representation of the model object 'Bounded Multiplicity'. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.BoundedMultiplicity#getLowerBound Lower Bound}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.BoundedMultiplicity#getUpperBound Upper Bound}
    • + *
    + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getBoundedMultiplicity() + * @model + * @generated + */ +public interface BoundedMultiplicity extends Multiplicity { + /** + * Returns the value of the 'Lower Bound' attribute. + * + * + * @return the value of the 'Lower Bound' attribute. + * @see #setLowerBound(int) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getBoundedMultiplicity_LowerBound() + * @model + * @generated + */ + int getLowerBound(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.BoundedMultiplicity#getLowerBound Lower Bound}' attribute. + * + * + * @param value the new value of the 'Lower Bound' attribute. + * @see #getLowerBound() + * @generated + */ + void setLowerBound(int value); + + /** + * Returns the value of the 'Upper Bound' attribute. + * + * + * @return the value of the 'Upper Bound' attribute. + * @see #setUpperBound(int) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getBoundedMultiplicity_UpperBound() + * @model + * @generated + */ + int getUpperBound(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.BoundedMultiplicity#getUpperBound Upper Bound}' attribute. + * + * + * @param value the new value of the 'Upper Bound' attribute. + * @see #getUpperBound() + * @generated + */ + void setUpperBound(int value); + +} // BoundedMultiplicity diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/BoundedScope.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/BoundedScope.java new file mode 100644 index 00000000..e2ce4bb8 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/BoundedScope.java @@ -0,0 +1,67 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage; + +/** + * + * A representation of the model object 'Bounded Scope'. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.BoundedScope#getLowerBound Lower Bound}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.BoundedScope#getUpperBound Upper Bound}
    • + *
    + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getBoundedScope() + * @model + * @generated + */ +public interface BoundedScope extends ScopeDeclaration { + /** + * Returns the value of the 'Lower Bound' attribute. + * + * + * @return the value of the 'Lower Bound' attribute. + * @see #setLowerBound(int) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getBoundedScope_LowerBound() + * @model + * @generated + */ + int getLowerBound(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.BoundedScope#getLowerBound Lower Bound}' attribute. + * + * + * @param value the new value of the 'Lower Bound' attribute. + * @see #getLowerBound() + * @generated + */ + void setLowerBound(int value); + + /** + * Returns the value of the 'Upper Bound' attribute. + * + * + * @return the value of the 'Upper Bound' attribute. + * @see #setUpperBound(int) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getBoundedScope_UpperBound() + * @model + * @generated + */ + int getUpperBound(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.BoundedScope#getUpperBound Upper Bound}' attribute. + * + * + * @param value the new value of the 'Upper Bound' attribute. + * @see #getUpperBound() + * @generated + */ + void setUpperBound(int value); + +} // BoundedScope diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Call.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Call.java new file mode 100644 index 00000000..2a6e5012 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Call.java @@ -0,0 +1,67 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage; + +/** + * + * A representation of the model object 'Call'. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.Call#getFunctor Functor}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.Call#getArgumentList Argument List}
    • + *
    + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getCall() + * @model + * @generated + */ +public interface Call extends Expression { + /** + * Returns the value of the 'Functor' containment reference. + * + * + * @return the value of the 'Functor' containment reference. + * @see #setFunctor(Reference) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getCall_Functor() + * @model containment="true" + * @generated + */ + Reference getFunctor(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.Call#getFunctor Functor}' containment reference. + * + * + * @param value the new value of the 'Functor' containment reference. + * @see #getFunctor() + * @generated + */ + void setFunctor(Reference value); + + /** + * Returns the value of the 'Argument List' containment reference. + * + * + * @return the value of the 'Argument List' containment reference. + * @see #setArgumentList(ArgumentList) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getCall_ArgumentList() + * @model containment="true" + * @generated + */ + ArgumentList getArgumentList(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.Call#getArgumentList Argument List}' containment reference. + * + * + * @param value the new value of the 'Argument List' containment reference. + * @see #getArgumentList() + * @generated + */ + void setArgumentList(ArgumentList value); + +} // Call diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Case.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Case.java new file mode 100644 index 00000000..a8e01488 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Case.java @@ -0,0 +1,67 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage; + +/** + * + * A representation of the model object 'Case'. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.Case#getCondition Condition}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.Case#getBody Body}
    • + *
    + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getCase() + * @model + * @generated + */ +public interface Case extends Expression { + /** + * Returns the value of the 'Condition' containment reference. + * + * + * @return the value of the 'Condition' containment reference. + * @see #setCondition(Expression) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getCase_Condition() + * @model containment="true" + * @generated + */ + Expression getCondition(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.Case#getCondition Condition}' containment reference. + * + * + * @param value the new value of the 'Condition' containment reference. + * @see #getCondition() + * @generated + */ + void setCondition(Expression value); + + /** + * Returns the value of the 'Body' containment reference. + * + * + * @return the value of the 'Body' containment reference. + * @see #setBody(Expression) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getCase_Body() + * @model containment="true" + * @generated + */ + Expression getBody(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.Case#getBody Body}' containment reference. + * + * + * @param value the new value of the 'Body' containment reference. + * @see #getBody() + * @generated + */ + void setBody(Expression value); + +} // Case diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/CastExpression.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/CastExpression.java new file mode 100644 index 00000000..ac64ab0f --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/CastExpression.java @@ -0,0 +1,67 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage; + +/** + * + * A representation of the model object 'Cast Expression'. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.CastExpression#getBody Body}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.CastExpression#getTargetType Target Type}
    • + *
    + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getCastExpression() + * @model + * @generated + */ +public interface CastExpression extends Expression { + /** + * Returns the value of the 'Body' containment reference. + * + * + * @return the value of the 'Body' containment reference. + * @see #setBody(Expression) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getCastExpression_Body() + * @model containment="true" + * @generated + */ + Expression getBody(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.CastExpression#getBody Body}' containment reference. + * + * + * @param value the new value of the 'Body' containment reference. + * @see #getBody() + * @generated + */ + void setBody(Expression value); + + /** + * Returns the value of the 'Target Type' reference. + * + * + * @return the value of the 'Target Type' reference. + * @see #setTargetType(Symbol) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getCastExpression_TargetType() + * @model + * @generated + */ + Symbol getTargetType(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.CastExpression#getTargetType Target Type}' reference. + * + * + * @param value the new value of the 'Target Type' reference. + * @see #getTargetType() + * @generated + */ + void setTargetType(Symbol value); + +} // CastExpression diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/ClassDeclaration.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/ClassDeclaration.java new file mode 100644 index 00000000..01e35777 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/ClassDeclaration.java @@ -0,0 +1,118 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage; + +import org.eclipse.emf.common.util.EList; + +/** + * + * A representation of the model object 'Class Declaration'. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.ClassDeclaration#getFields Fields}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.ClassDeclaration#getName Name}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.ClassDeclaration#isAbstract Abstract}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.ClassDeclaration#getSupertypes Supertypes}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.ClassDeclaration#isRoot Root}
    • + *
    + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getClassDeclaration() + * @model + * @generated + */ +public interface ClassDeclaration extends Statement { + /** + * Returns the value of the 'Fields' containment reference list. + * The list contents are of type {@link org.eclipse.viatra.solver.language.solverLanguage.Field}. + * + * + * @return the value of the 'Fields' containment reference list. + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getClassDeclaration_Fields() + * @model containment="true" + * @generated + */ + EList getFields(); + + /** + * Returns the value of the 'Name' attribute. + * + * + * @return the value of the 'Name' attribute. + * @see #setName(String) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getClassDeclaration_Name() + * @model + * @generated + */ + String getName(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.ClassDeclaration#getName Name}' attribute. + * + * + * @param value the new value of the 'Name' attribute. + * @see #getName() + * @generated + */ + void setName(String value); + + /** + * Returns the value of the 'Abstract' attribute. + * + * + * @return the value of the 'Abstract' attribute. + * @see #setAbstract(boolean) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getClassDeclaration_Abstract() + * @model + * @generated + */ + boolean isAbstract(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.ClassDeclaration#isAbstract Abstract}' attribute. + * + * + * @param value the new value of the 'Abstract' attribute. + * @see #isAbstract() + * @generated + */ + void setAbstract(boolean value); + + /** + * Returns the value of the 'Supertypes' reference list. + * The list contents are of type {@link org.eclipse.viatra.solver.language.solverLanguage.Symbol}. + * + * + * @return the value of the 'Supertypes' reference list. + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getClassDeclaration_Supertypes() + * @model + * @generated + */ + EList getSupertypes(); + + /** + * Returns the value of the 'Root' attribute. + * + * + * @return the value of the 'Root' attribute. + * @see #setRoot(boolean) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getClassDeclaration_Root() + * @model + * @generated + */ + boolean isRoot(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.ClassDeclaration#isRoot Root}' attribute. + * + * + * @param value the new value of the 'Root' attribute. + * @see #isRoot() + * @generated + */ + void setRoot(boolean value); + +} // ClassDeclaration diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/ConditionalExpression.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/ConditionalExpression.java new file mode 100644 index 00000000..73c3cdba --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/ConditionalExpression.java @@ -0,0 +1,90 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage; + +/** + * + * A representation of the model object 'Conditional Expression'. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.ConditionalExpression#getCondition Condition}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.ConditionalExpression#getThen Then}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.ConditionalExpression#getElse Else}
    • + *
    + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getConditionalExpression() + * @model + * @generated + */ +public interface ConditionalExpression extends Expression { + /** + * Returns the value of the 'Condition' containment reference. + * + * + * @return the value of the 'Condition' containment reference. + * @see #setCondition(Expression) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getConditionalExpression_Condition() + * @model containment="true" + * @generated + */ + Expression getCondition(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.ConditionalExpression#getCondition Condition}' containment reference. + * + * + * @param value the new value of the 'Condition' containment reference. + * @see #getCondition() + * @generated + */ + void setCondition(Expression value); + + /** + * Returns the value of the 'Then' containment reference. + * + * + * @return the value of the 'Then' containment reference. + * @see #setThen(Expression) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getConditionalExpression_Then() + * @model containment="true" + * @generated + */ + Expression getThen(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.ConditionalExpression#getThen Then}' containment reference. + * + * + * @param value the new value of the 'Then' containment reference. + * @see #getThen() + * @generated + */ + void setThen(Expression value); + + /** + * Returns the value of the 'Else' containment reference. + * + * + * @return the value of the 'Else' containment reference. + * @see #setElse(Expression) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getConditionalExpression_Else() + * @model containment="true" + * @generated + */ + Expression getElse(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.ConditionalExpression#getElse Else}' containment reference. + * + * + * @param value the new value of the 'Else' containment reference. + * @see #getElse() + * @generated + */ + void setElse(Expression value); + +} // ConditionalExpression diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Conjunction.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Conjunction.java new file mode 100644 index 00000000..16b8f305 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Conjunction.java @@ -0,0 +1,16 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage; + +/** + * + * A representation of the model object 'Conjunction'. + * + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getConjunction() + * @model + * @generated + */ +public interface Conjunction extends MultiaryExpession { +} // Conjunction diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Count.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Count.java new file mode 100644 index 00000000..f1127be9 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Count.java @@ -0,0 +1,16 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage; + +/** + * + * A representation of the model object 'Count'. + * + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getCount() + * @model + * @generated + */ +public interface Count extends AggregateExpression { +} // Count diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Datatype.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Datatype.java new file mode 100644 index 00000000..951973ac --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Datatype.java @@ -0,0 +1,16 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage; + +/** + * + * A representation of the model object 'Datatype'. + * + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getDatatype() + * @model + * @generated + */ +public interface Datatype extends Relation { +} // Datatype diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/DefaultAssertion.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/DefaultAssertion.java new file mode 100644 index 00000000..ec66f733 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/DefaultAssertion.java @@ -0,0 +1,16 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage; + +/** + * + * A representation of the model object 'Default Assertion'. + * + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getDefaultAssertion() + * @model + * @generated + */ +public interface DefaultAssertion extends AbstractAssertion { +} // DefaultAssertion diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Disjunction.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Disjunction.java new file mode 100644 index 00000000..8d91967f --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Disjunction.java @@ -0,0 +1,16 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage; + +/** + * + * A representation of the model object 'Disjunction'. + * + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getDisjunction() + * @model + * @generated + */ +public interface Disjunction extends MultiaryExpession { +} // Disjunction diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/EmptyLiteral.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/EmptyLiteral.java new file mode 100644 index 00000000..2bec9e47 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/EmptyLiteral.java @@ -0,0 +1,16 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage; + +/** + * + * A representation of the model object 'Empty Literal'. + * + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getEmptyLiteral() + * @model + * @generated + */ +public interface EmptyLiteral extends Literal { +} // EmptyLiteral diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/EnumDeclaration.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/EnumDeclaration.java new file mode 100644 index 00000000..a7e0b5ee --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/EnumDeclaration.java @@ -0,0 +1,59 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage; + +import org.eclipse.emf.common.util.EList; + +/** + * + * A representation of the model object 'Enum Declaration'. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.EnumDeclaration#getLiterals Literals}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.EnumDeclaration#getName Name}
    • + *
    + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getEnumDeclaration() + * @model + * @generated + */ +public interface EnumDeclaration extends Statement { + /** + * Returns the value of the 'Literals' containment reference list. + * The list contents are of type {@link org.eclipse.viatra.solver.language.solverLanguage.EnumLiteral}. + * + * + * @return the value of the 'Literals' containment reference list. + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getEnumDeclaration_Literals() + * @model containment="true" + * @generated + */ + EList getLiterals(); + + /** + * Returns the value of the 'Name' attribute. + * + * + * @return the value of the 'Name' attribute. + * @see #setName(String) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getEnumDeclaration_Name() + * @model + * @generated + */ + String getName(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.EnumDeclaration#getName Name}' attribute. + * + * + * @param value the new value of the 'Name' attribute. + * @see #getName() + * @generated + */ + void setName(String value); + +} // EnumDeclaration diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/EnumLiteral.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/EnumLiteral.java new file mode 100644 index 00000000..cb77e175 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/EnumLiteral.java @@ -0,0 +1,46 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage; + +import org.eclipse.emf.ecore.EObject; + +/** + * + * A representation of the model object 'Enum Literal'. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.EnumLiteral#getName Name}
    • + *
    + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getEnumLiteral() + * @model + * @generated + */ +public interface EnumLiteral extends EObject { + /** + * Returns the value of the 'Name' attribute. + * + * + * @return the value of the 'Name' attribute. + * @see #setName(String) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getEnumLiteral_Name() + * @model + * @generated + */ + String getName(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.EnumLiteral#getName Name}' attribute. + * + * + * @param value the new value of the 'Name' attribute. + * @see #getName() + * @generated + */ + void setName(String value); + +} // EnumLiteral diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/ExactMultiplicity.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/ExactMultiplicity.java new file mode 100644 index 00000000..4f7843a9 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/ExactMultiplicity.java @@ -0,0 +1,44 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage; + +/** + * + * A representation of the model object 'Exact Multiplicity'. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.ExactMultiplicity#getValue Value}
    • + *
    + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getExactMultiplicity() + * @model + * @generated + */ +public interface ExactMultiplicity extends Multiplicity { + /** + * Returns the value of the 'Value' attribute. + * + * + * @return the value of the 'Value' attribute. + * @see #setValue(int) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getExactMultiplicity_Value() + * @model + * @generated + */ + int getValue(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.ExactMultiplicity#getValue Value}' attribute. + * + * + * @param value the new value of the 'Value' attribute. + * @see #getValue() + * @generated + */ + void setValue(int value); + +} // ExactMultiplicity diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/ExactScope.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/ExactScope.java new file mode 100644 index 00000000..c5a86c8f --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/ExactScope.java @@ -0,0 +1,44 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage; + +/** + * + * A representation of the model object 'Exact Scope'. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.ExactScope#getSize Size}
    • + *
    + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getExactScope() + * @model + * @generated + */ +public interface ExactScope extends ScopeDeclaration { + /** + * Returns the value of the 'Size' attribute. + * + * + * @return the value of the 'Size' attribute. + * @see #setSize(int) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getExactScope_Size() + * @model + * @generated + */ + int getSize(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.ExactScope#getSize Size}' attribute. + * + * + * @param value the new value of the 'Size' attribute. + * @see #getSize() + * @generated + */ + void setSize(int value); + +} // ExactScope diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Expression.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Expression.java new file mode 100644 index 00000000..306312ea --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Expression.java @@ -0,0 +1,36 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage; + +import org.eclipse.emf.common.util.EList; + +/** + * + * A representation of the model object 'Expression'. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.Expression#getExistsVariables Exists Variables}
    • + *
    + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getExpression() + * @model abstract="true" + * @generated + */ +public interface Expression extends Statement { + /** + * Returns the value of the 'Exists Variables' containment reference list. + * The list contents are of type {@link org.eclipse.viatra.solver.language.solverLanguage.Variable}. + * + * + * @return the value of the 'Exists Variables' containment reference list. + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getExpression_ExistsVariables() + * @model containment="true" transient="true" + * @generated + */ + EList getExistsVariables(); + +} // Expression diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/ExpressionArgument.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/ExpressionArgument.java new file mode 100644 index 00000000..f92ff2fe --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/ExpressionArgument.java @@ -0,0 +1,44 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage; + +/** + * + * A representation of the model object 'Expression Argument'. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.ExpressionArgument#getExpression Expression}
    • + *
    + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getExpressionArgument() + * @model + * @generated + */ +public interface ExpressionArgument extends Argument { + /** + * Returns the value of the 'Expression' containment reference. + * + * + * @return the value of the 'Expression' containment reference. + * @see #setExpression(Expression) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getExpressionArgument_Expression() + * @model containment="true" + * @generated + */ + Expression getExpression(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.ExpressionArgument#getExpression Expression}' containment reference. + * + * + * @param value the new value of the 'Expression' containment reference. + * @see #getExpression() + * @generated + */ + void setExpression(Expression value); + +} // ExpressionArgument diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/ExternAggregationOperatorDeclaration.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/ExternAggregationOperatorDeclaration.java new file mode 100644 index 00000000..ef8303ce --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/ExternAggregationOperatorDeclaration.java @@ -0,0 +1,67 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage; + +/** + * + * A representation of the model object 'Extern Aggregation Operator Declaration'. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.ExternAggregationOperatorDeclaration#getArgumentType Argument Type}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.ExternAggregationOperatorDeclaration#getResultType Result Type}
    • + *
    + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getExternAggregationOperatorDeclaration() + * @model + * @generated + */ +public interface ExternAggregationOperatorDeclaration extends ExternDeclaration { + /** + * Returns the value of the 'Argument Type' reference. + * + * + * @return the value of the 'Argument Type' reference. + * @see #setArgumentType(Symbol) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getExternAggregationOperatorDeclaration_ArgumentType() + * @model + * @generated + */ + Symbol getArgumentType(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.ExternAggregationOperatorDeclaration#getArgumentType Argument Type}' reference. + * + * + * @param value the new value of the 'Argument Type' reference. + * @see #getArgumentType() + * @generated + */ + void setArgumentType(Symbol value); + + /** + * Returns the value of the 'Result Type' reference. + * + * + * @return the value of the 'Result Type' reference. + * @see #setResultType(Symbol) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getExternAggregationOperatorDeclaration_ResultType() + * @model + * @generated + */ + Symbol getResultType(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.ExternAggregationOperatorDeclaration#getResultType Result Type}' reference. + * + * + * @param value the new value of the 'Result Type' reference. + * @see #getResultType() + * @generated + */ + void setResultType(Symbol value); + +} // ExternAggregationOperatorDeclaration diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/ExternDatatypeDeclaration.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/ExternDatatypeDeclaration.java new file mode 100644 index 00000000..c3493469 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/ExternDatatypeDeclaration.java @@ -0,0 +1,16 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage; + +/** + * + * A representation of the model object 'Extern Datatype Declaration'. + * + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getExternDatatypeDeclaration() + * @model + * @generated + */ +public interface ExternDatatypeDeclaration extends ExternDeclaration { +} // ExternDatatypeDeclaration diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/ExternDeclaration.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/ExternDeclaration.java new file mode 100644 index 00000000..857d2b86 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/ExternDeclaration.java @@ -0,0 +1,44 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage; + +/** + * + * A representation of the model object 'Extern Declaration'. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.ExternDeclaration#getName Name}
    • + *
    + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getExternDeclaration() + * @model abstract="true" + * @generated + */ +public interface ExternDeclaration extends Statement { + /** + * Returns the value of the 'Name' attribute. + * + * + * @return the value of the 'Name' attribute. + * @see #setName(String) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getExternDeclaration_Name() + * @model + * @generated + */ + String getName(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.ExternDeclaration#getName Name}' attribute. + * + * + * @param value the new value of the 'Name' attribute. + * @see #getName() + * @generated + */ + void setName(String value); + +} // ExternDeclaration diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/ExternFunctionDeclaration.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/ExternFunctionDeclaration.java new file mode 100644 index 00000000..c9cdc060 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/ExternFunctionDeclaration.java @@ -0,0 +1,44 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage; + +/** + * + * A representation of the model object 'Extern Function Declaration'. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.ExternFunctionDeclaration#getResultType Result Type}
    • + *
    + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getExternFunctionDeclaration() + * @model + * @generated + */ +public interface ExternFunctionDeclaration extends ExternFunctorDeclaration { + /** + * Returns the value of the 'Result Type' reference. + * + * + * @return the value of the 'Result Type' reference. + * @see #setResultType(Symbol) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getExternFunctionDeclaration_ResultType() + * @model + * @generated + */ + Symbol getResultType(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.ExternFunctionDeclaration#getResultType Result Type}' reference. + * + * + * @param value the new value of the 'Result Type' reference. + * @see #getResultType() + * @generated + */ + void setResultType(Symbol value); + +} // ExternFunctionDeclaration diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/ExternFunctorDeclaration.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/ExternFunctorDeclaration.java new file mode 100644 index 00000000..40f577c8 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/ExternFunctorDeclaration.java @@ -0,0 +1,44 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage; + +/** + * + * A representation of the model object 'Extern Functor Declaration'. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.ExternFunctorDeclaration#getArgumentList Argument List}
    • + *
    + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getExternFunctorDeclaration() + * @model abstract="true" + * @generated + */ +public interface ExternFunctorDeclaration extends ExternDeclaration { + /** + * Returns the value of the 'Argument List' containment reference. + * + * + * @return the value of the 'Argument List' containment reference. + * @see #setArgumentList(ArgumentList) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getExternFunctorDeclaration_ArgumentList() + * @model containment="true" + * @generated + */ + ArgumentList getArgumentList(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.ExternFunctorDeclaration#getArgumentList Argument List}' containment reference. + * + * + * @param value the new value of the 'Argument List' containment reference. + * @see #getArgumentList() + * @generated + */ + void setArgumentList(ArgumentList value); + +} // ExternFunctorDeclaration diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/ExternPredicateDeclaration.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/ExternPredicateDeclaration.java new file mode 100644 index 00000000..0b646d11 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/ExternPredicateDeclaration.java @@ -0,0 +1,16 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage; + +/** + * + * A representation of the model object 'Extern Predicate Declaration'. + * + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getExternPredicateDeclaration() + * @model + * @generated + */ +public interface ExternPredicateDeclaration extends ExternFunctorDeclaration, InlinePredicateAttrributes { +} // ExternPredicateDeclaration diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Field.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Field.java new file mode 100644 index 00000000..cfd9e44b --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Field.java @@ -0,0 +1,161 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage; + +import org.eclipse.emf.ecore.EObject; + +/** + * + * A representation of the model object 'Field'. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.Field#isContainment Containment}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.Field#isCrossReference Cross Reference}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.Field#getOpposite Opposite}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.Field#getMultiplicity Multiplicity}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.Field#getType Type}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.Field#getName Name}
    • + *
    + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getField() + * @model + * @generated + */ +public interface Field extends EObject { + /** + * Returns the value of the 'Containment' attribute. + * + * + * @return the value of the 'Containment' attribute. + * @see #setContainment(boolean) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getField_Containment() + * @model + * @generated + */ + boolean isContainment(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.Field#isContainment Containment}' attribute. + * + * + * @param value the new value of the 'Containment' attribute. + * @see #isContainment() + * @generated + */ + void setContainment(boolean value); + + /** + * Returns the value of the 'Cross Reference' attribute. + * + * + * @return the value of the 'Cross Reference' attribute. + * @see #setCrossReference(boolean) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getField_CrossReference() + * @model + * @generated + */ + boolean isCrossReference(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.Field#isCrossReference Cross Reference}' attribute. + * + * + * @param value the new value of the 'Cross Reference' attribute. + * @see #isCrossReference() + * @generated + */ + void setCrossReference(boolean value); + + /** + * Returns the value of the 'Opposite' reference. + * + * + * @return the value of the 'Opposite' reference. + * @see #setOpposite(Symbol) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getField_Opposite() + * @model + * @generated + */ + Symbol getOpposite(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.Field#getOpposite Opposite}' reference. + * + * + * @param value the new value of the 'Opposite' reference. + * @see #getOpposite() + * @generated + */ + void setOpposite(Symbol value); + + /** + * Returns the value of the 'Multiplicity' containment reference. + * + * + * @return the value of the 'Multiplicity' containment reference. + * @see #setMultiplicity(Multiplicity) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getField_Multiplicity() + * @model containment="true" + * @generated + */ + Multiplicity getMultiplicity(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.Field#getMultiplicity Multiplicity}' containment reference. + * + * + * @param value the new value of the 'Multiplicity' containment reference. + * @see #getMultiplicity() + * @generated + */ + void setMultiplicity(Multiplicity value); + + /** + * Returns the value of the 'Type' reference. + * + * + * @return the value of the 'Type' reference. + * @see #setType(Symbol) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getField_Type() + * @model + * @generated + */ + Symbol getType(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.Field#getType Type}' reference. + * + * + * @param value the new value of the 'Type' reference. + * @see #getType() + * @generated + */ + void setType(Symbol value); + + /** + * Returns the value of the 'Name' attribute. + * + * + * @return the value of the 'Name' attribute. + * @see #setName(String) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getField_Name() + * @model + * @generated + */ + String getName(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.Field#getName Name}' attribute. + * + * + * @param value the new value of the 'Name' attribute. + * @see #getName() + * @generated + */ + void setName(String value); + +} // Field diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Forall.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Forall.java new file mode 100644 index 00000000..1591e186 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Forall.java @@ -0,0 +1,44 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage; + +/** + * + * A representation of the model object 'Forall'. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.Forall#getBody Body}
    • + *
    + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getForall() + * @model + * @generated + */ +public interface Forall extends AggregateExpression { + /** + * Returns the value of the 'Body' containment reference. + * + * + * @return the value of the 'Body' containment reference. + * @see #setBody(Expression) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getForall_Body() + * @model containment="true" + * @generated + */ + Expression getBody(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.Forall#getBody Body}' containment reference. + * + * + * @param value the new value of the 'Body' containment reference. + * @see #getBody() + * @generated + */ + void setBody(Expression value); + +} // Forall diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Function.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Function.java new file mode 100644 index 00000000..b1bb307d --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Function.java @@ -0,0 +1,44 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage; + +/** + * + * A representation of the model object 'Function'. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.Function#getResultType Result Type}
    • + *
    + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getFunction() + * @model abstract="true" + * @generated + */ +public interface Function extends Functor { + /** + * Returns the value of the 'Result Type' reference. + * + * + * @return the value of the 'Result Type' reference. + * @see #setResultType(Datatype) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getFunction_ResultType() + * @model + * @generated + */ + Datatype getResultType(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.Function#getResultType Result Type}' reference. + * + * + * @param value the new value of the 'Result Type' reference. + * @see #getResultType() + * @generated + */ + void setResultType(Datatype value); + +} // Function diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/FunctionDefinition.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/FunctionDefinition.java new file mode 100644 index 00000000..ab0db19b --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/FunctionDefinition.java @@ -0,0 +1,44 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage; + +/** + * + * A representation of the model object 'Function Definition'. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.FunctionDefinition#getResultType Result Type}
    • + *
    + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getFunctionDefinition() + * @model + * @generated + */ +public interface FunctionDefinition extends FunctorDefiniton { + /** + * Returns the value of the 'Result Type' reference. + * + * + * @return the value of the 'Result Type' reference. + * @see #setResultType(Symbol) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getFunctionDefinition_ResultType() + * @model + * @generated + */ + Symbol getResultType(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.FunctionDefinition#getResultType Result Type}' reference. + * + * + * @param value the new value of the 'Result Type' reference. + * @see #getResultType() + * @generated + */ + void setResultType(Symbol value); + +} // FunctionDefinition diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Functor.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Functor.java new file mode 100644 index 00000000..e5c2c56f --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Functor.java @@ -0,0 +1,36 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage; + +import org.eclipse.emf.common.util.EList; + +/** + * + * A representation of the model object 'Functor'. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.Functor#getParameters Parameters}
    • + *
    + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getFunctor() + * @model abstract="true" + * @generated + */ +public interface Functor extends Symbol { + /** + * Returns the value of the 'Parameters' containment reference list. + * The list contents are of type {@link org.eclipse.viatra.solver.language.solverLanguage.Variable}. + * + * + * @return the value of the 'Parameters' containment reference list. + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getFunctor_Parameters() + * @model containment="true" + * @generated + */ + EList getParameters(); + +} // Functor diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/FunctorDefiniton.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/FunctorDefiniton.java new file mode 100644 index 00000000..70a21b6c --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/FunctorDefiniton.java @@ -0,0 +1,67 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage; + +/** + * + * A representation of the model object 'Functor Definiton'. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.FunctorDefiniton#getHead Head}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.FunctorDefiniton#getBody Body}
    • + *
    + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getFunctorDefiniton() + * @model abstract="true" + * @generated + */ +public interface FunctorDefiniton extends Statement { + /** + * Returns the value of the 'Head' containment reference. + * + * + * @return the value of the 'Head' containment reference. + * @see #setHead(Expression) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getFunctorDefiniton_Head() + * @model containment="true" + * @generated + */ + Expression getHead(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.FunctorDefiniton#getHead Head}' containment reference. + * + * + * @param value the new value of the 'Head' containment reference. + * @see #getHead() + * @generated + */ + void setHead(Expression value); + + /** + * Returns the value of the 'Body' containment reference. + * + * + * @return the value of the 'Body' containment reference. + * @see #setBody(Expression) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getFunctorDefiniton_Body() + * @model containment="true" + * @generated + */ + Expression getBody(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.FunctorDefiniton#getBody Body}' containment reference. + * + * + * @param value the new value of the 'Body' containment reference. + * @see #getBody() + * @generated + */ + void setBody(Expression value); + +} // FunctorDefiniton diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Import.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Import.java new file mode 100644 index 00000000..39dc6d6d --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Import.java @@ -0,0 +1,46 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage; + +import org.eclipse.emf.ecore.EObject; + +/** + * + * A representation of the model object 'Import'. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.Import#getAlias Alias}
    • + *
    + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getImport() + * @model + * @generated + */ +public interface Import extends EObject { + /** + * Returns the value of the 'Alias' attribute. + * + * + * @return the value of the 'Alias' attribute. + * @see #setAlias(String) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getImport_Alias() + * @model + * @generated + */ + String getAlias(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.Import#getAlias Alias}' attribute. + * + * + * @param value the new value of the 'Alias' attribute. + * @see #getAlias() + * @generated + */ + void setAlias(String value); + +} // Import diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/InfinityLiteral.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/InfinityLiteral.java new file mode 100644 index 00000000..1a105131 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/InfinityLiteral.java @@ -0,0 +1,16 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage; + +/** + * + * A representation of the model object 'Infinity Literal'. + * + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getInfinityLiteral() + * @model + * @generated + */ +public interface InfinityLiteral extends Literal { +} // InfinityLiteral diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/InlinePredicateAttrributes.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/InlinePredicateAttrributes.java new file mode 100644 index 00000000..b715784a --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/InlinePredicateAttrributes.java @@ -0,0 +1,69 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage; + +import org.eclipse.emf.ecore.EObject; + +/** + * + * A representation of the model object 'Inline Predicate Attrributes'. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.InlinePredicateAttrributes#isError Error}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.InlinePredicateAttrributes#isFunctional Functional}
    • + *
    + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getInlinePredicateAttrributes() + * @model interface="true" abstract="true" + * @generated + */ +public interface InlinePredicateAttrributes extends EObject { + /** + * Returns the value of the 'Error' attribute. + * + * + * @return the value of the 'Error' attribute. + * @see #setError(boolean) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getInlinePredicateAttrributes_Error() + * @model + * @generated + */ + boolean isError(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.InlinePredicateAttrributes#isError Error}' attribute. + * + * + * @param value the new value of the 'Error' attribute. + * @see #isError() + * @generated + */ + void setError(boolean value); + + /** + * Returns the value of the 'Functional' attribute. + * + * + * @return the value of the 'Functional' attribute. + * @see #setFunctional(boolean) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getInlinePredicateAttrributes_Functional() + * @model + * @generated + */ + boolean isFunctional(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.InlinePredicateAttrributes#isFunctional Functional}' attribute. + * + * + * @param value the new value of the 'Functional' attribute. + * @see #isFunctional() + * @generated + */ + void setFunctional(boolean value); + +} // InlinePredicateAttrributes diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/IntLiteral.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/IntLiteral.java new file mode 100644 index 00000000..ff8a3cf3 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/IntLiteral.java @@ -0,0 +1,44 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage; + +/** + * + * A representation of the model object 'Int Literal'. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.IntLiteral#getValue Value}
    • + *
    + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getIntLiteral() + * @model + * @generated + */ +public interface IntLiteral extends Literal { + /** + * Returns the value of the 'Value' attribute. + * + * + * @return the value of the 'Value' attribute. + * @see #setValue(int) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getIntLiteral_Value() + * @model + * @generated + */ + int getValue(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.IntLiteral#getValue Value}' attribute. + * + * + * @param value the new value of the 'Value' attribute. + * @see #getValue() + * @generated + */ + void setValue(int value); + +} // IntLiteral diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Interval.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Interval.java new file mode 100644 index 00000000..fb8ac39c --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Interval.java @@ -0,0 +1,67 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage; + +/** + * + * A representation of the model object 'Interval'. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.Interval#getLowerBound Lower Bound}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.Interval#getUpperBound Upper Bound}
    • + *
    + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getInterval() + * @model + * @generated + */ +public interface Interval extends Expression { + /** + * Returns the value of the 'Lower Bound' containment reference. + * + * + * @return the value of the 'Lower Bound' containment reference. + * @see #setLowerBound(Expression) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getInterval_LowerBound() + * @model containment="true" + * @generated + */ + Expression getLowerBound(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.Interval#getLowerBound Lower Bound}' containment reference. + * + * + * @param value the new value of the 'Lower Bound' containment reference. + * @see #getLowerBound() + * @generated + */ + void setLowerBound(Expression value); + + /** + * Returns the value of the 'Upper Bound' containment reference. + * + * + * @return the value of the 'Upper Bound' containment reference. + * @see #setUpperBound(Expression) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getInterval_UpperBound() + * @model containment="true" + * @generated + */ + Expression getUpperBound(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.Interval#getUpperBound Upper Bound}' containment reference. + * + * + * @param value the new value of the 'Upper Bound' containment reference. + * @see #getUpperBound() + * @generated + */ + void setUpperBound(Expression value); + +} // Interval diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/LetBinding.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/LetBinding.java new file mode 100644 index 00000000..cdf1f8eb --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/LetBinding.java @@ -0,0 +1,115 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage; + +import org.eclipse.emf.ecore.EObject; + +/** + * + * A representation of the model object 'Let Binding'. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.LetBinding#getValue Value}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.LetBinding#getVariable Variable}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.LetBinding#getName Name}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.LetBinding#getType Type}
    • + *
    + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getLetBinding() + * @model + * @generated + */ +public interface LetBinding extends EObject { + /** + * Returns the value of the 'Value' containment reference. + * + * + * @return the value of the 'Value' containment reference. + * @see #setValue(Expression) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getLetBinding_Value() + * @model containment="true" + * @generated + */ + Expression getValue(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.LetBinding#getValue Value}' containment reference. + * + * + * @param value the new value of the 'Value' containment reference. + * @see #getValue() + * @generated + */ + void setValue(Expression value); + + /** + * Returns the value of the 'Variable' containment reference. + * + * + * @return the value of the 'Variable' containment reference. + * @see #setVariable(Variable) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getLetBinding_Variable() + * @model containment="true" transient="true" + * @generated + */ + Variable getVariable(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.LetBinding#getVariable Variable}' containment reference. + * + * + * @param value the new value of the 'Variable' containment reference. + * @see #getVariable() + * @generated + */ + void setVariable(Variable value); + + /** + * Returns the value of the 'Name' attribute. + * + * + * @return the value of the 'Name' attribute. + * @see #setName(String) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getLetBinding_Name() + * @model + * @generated + */ + String getName(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.LetBinding#getName Name}' attribute. + * + * + * @param value the new value of the 'Name' attribute. + * @see #getName() + * @generated + */ + void setName(String value); + + /** + * Returns the value of the 'Type' reference. + * + * + * @return the value of the 'Type' reference. + * @see #setType(Symbol) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getLetBinding_Type() + * @model + * @generated + */ + Symbol getType(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.LetBinding#getType Type}' reference. + * + * + * @param value the new value of the 'Type' reference. + * @see #getType() + * @generated + */ + void setType(Symbol value); + +} // LetBinding diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/LetExpression.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/LetExpression.java new file mode 100644 index 00000000..d677503d --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/LetExpression.java @@ -0,0 +1,59 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage; + +import org.eclipse.emf.common.util.EList; + +/** + * + * A representation of the model object 'Let Expression'. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.LetExpression#getBindings Bindings}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.LetExpression#getBody Body}
    • + *
    + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getLetExpression() + * @model + * @generated + */ +public interface LetExpression extends Expression { + /** + * Returns the value of the 'Bindings' containment reference list. + * The list contents are of type {@link org.eclipse.viatra.solver.language.solverLanguage.LetBinding}. + * + * + * @return the value of the 'Bindings' containment reference list. + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getLetExpression_Bindings() + * @model containment="true" + * @generated + */ + EList getBindings(); + + /** + * Returns the value of the 'Body' containment reference. + * + * + * @return the value of the 'Body' containment reference. + * @see #setBody(Expression) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getLetExpression_Body() + * @model containment="true" + * @generated + */ + Expression getBody(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.LetExpression#getBody Body}' containment reference. + * + * + * @param value the new value of the 'Body' containment reference. + * @see #getBody() + * @generated + */ + void setBody(Expression value); + +} // LetExpression diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Literal.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Literal.java new file mode 100644 index 00000000..b3ba8b10 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Literal.java @@ -0,0 +1,16 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage; + +/** + * + * A representation of the model object 'Literal'. + * + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getLiteral() + * @model abstract="true" + * @generated + */ +public interface Literal extends Expression { +} // Literal diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/LogicLiteral.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/LogicLiteral.java new file mode 100644 index 00000000..7f00fc98 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/LogicLiteral.java @@ -0,0 +1,47 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage; + +/** + * + * A representation of the model object 'Logic Literal'. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.LogicLiteral#getValue Value}
    • + *
    + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getLogicLiteral() + * @model + * @generated + */ +public interface LogicLiteral extends Literal { + /** + * Returns the value of the 'Value' attribute. + * The literals are from the enumeration {@link org.eclipse.viatra.solver.language.solverLanguage.LogicValue}. + * + * + * @return the value of the 'Value' attribute. + * @see org.eclipse.viatra.solver.language.solverLanguage.LogicValue + * @see #setValue(LogicValue) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getLogicLiteral_Value() + * @model + * @generated + */ + LogicValue getValue(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.LogicLiteral#getValue Value}' attribute. + * + * + * @param value the new value of the 'Value' attribute. + * @see org.eclipse.viatra.solver.language.solverLanguage.LogicValue + * @see #getValue() + * @generated + */ + void setValue(LogicValue value); + +} // LogicLiteral diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/LogicValue.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/LogicValue.java new file mode 100644 index 00000000..6b6148c0 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/LogicValue.java @@ -0,0 +1,250 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage; + +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 'Logic Value', + * and utility methods for working with them. + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getLogicValue() + * @model + * @generated + */ +public enum LogicValue implements Enumerator { + /** + * The 'UNKNOWN' literal object. + * + * + * @see #UNKNOWN_VALUE + * @generated + * @ordered + */ + UNKNOWN(0, "UNKNOWN", "UNKNOWN"), + + /** + * The 'FALSE' literal object. + * + * + * @see #FALSE_VALUE + * @generated + * @ordered + */ + FALSE(1, "FALSE", "FALSE"), + + /** + * The 'TRUE' literal object. + * + * + * @see #TRUE_VALUE + * @generated + * @ordered + */ + TRUE(2, "TRUE", "TRUE"), + + /** + * The 'ERROR' literal object. + * + * + * @see #ERROR_VALUE + * @generated + * @ordered + */ + ERROR(3, "ERROR", "ERROR"); + + /** + * The 'UNKNOWN' literal value. + * + * + * @see #UNKNOWN + * @model + * @generated + * @ordered + */ + public static final int UNKNOWN_VALUE = 0; + + /** + * The 'FALSE' literal value. + * + * + * @see #FALSE + * @model + * @generated + * @ordered + */ + public static final int FALSE_VALUE = 1; + + /** + * The 'TRUE' literal value. + * + * + * @see #TRUE + * @model + * @generated + * @ordered + */ + public static final int TRUE_VALUE = 2; + + /** + * The 'ERROR' literal value. + * + * + * @see #ERROR + * @model + * @generated + * @ordered + */ + public static final int ERROR_VALUE = 3; + + /** + * An array of all the 'Logic Value' enumerators. + * + * + * @generated + */ + private static final LogicValue[] VALUES_ARRAY = new LogicValue[] { UNKNOWN, FALSE, TRUE, ERROR, }; + + /** + * A public read-only list of all the 'Logic Value' enumerators. + * + * + * @generated + */ + public static final List VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); + + /** + * Returns the 'Logic Value' literal with the specified literal value. + * + * + * @param literal the literal. + * @return the matching enumerator or null. + * @generated + */ + public static LogicValue get(String literal) { + for (int i = 0; i < VALUES_ARRAY.length; ++i) { + LogicValue result = VALUES_ARRAY[i]; + if (result.toString().equals(literal)) { + return result; + } + } + return null; + } + + /** + * Returns the 'Logic Value' literal with the specified name. + * + * + * @param name the name. + * @return the matching enumerator or null. + * @generated + */ + public static LogicValue getByName(String name) { + for (int i = 0; i < VALUES_ARRAY.length; ++i) { + LogicValue result = VALUES_ARRAY[i]; + if (result.getName().equals(name)) { + return result; + } + } + return null; + } + + /** + * Returns the 'Logic Value' literal with the specified integer value. + * + * + * @param value the integer value. + * @return the matching enumerator or null. + * @generated + */ + public static LogicValue get(int value) { + switch (value) { + case UNKNOWN_VALUE: + return UNKNOWN; + case FALSE_VALUE: + return FALSE; + case TRUE_VALUE: + return TRUE; + case ERROR_VALUE: + return ERROR; + } + 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 LogicValue(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; + } + +} //LogicValue diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/LowerBoundedScope.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/LowerBoundedScope.java new file mode 100644 index 00000000..644ffa25 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/LowerBoundedScope.java @@ -0,0 +1,44 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage; + +/** + * + * A representation of the model object 'Lower Bounded Scope'. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.LowerBoundedScope#getLowerBound Lower Bound}
    • + *
    + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getLowerBoundedScope() + * @model + * @generated + */ +public interface LowerBoundedScope extends ScopeDeclaration { + /** + * Returns the value of the 'Lower Bound' attribute. + * + * + * @return the value of the 'Lower Bound' attribute. + * @see #setLowerBound(int) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getLowerBoundedScope_LowerBound() + * @model + * @generated + */ + int getLowerBound(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.LowerBoundedScope#getLowerBound Lower Bound}' attribute. + * + * + * @param value the new value of the 'Lower Bound' attribute. + * @see #getLowerBound() + * @generated + */ + void setLowerBound(int value); + +} // LowerBoundedScope diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Metric.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Metric.java new file mode 100644 index 00000000..475e48a3 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Metric.java @@ -0,0 +1,16 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage; + +/** + * + * A representation of the model object 'Metric'. + * + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getMetric() + * @model + * @generated + */ +public interface Metric extends Function { +} // Metric diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/MultiaryExpession.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/MultiaryExpession.java new file mode 100644 index 00000000..1f27beb7 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/MultiaryExpession.java @@ -0,0 +1,36 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage; + +import org.eclipse.emf.common.util.EList; + +/** + * + * A representation of the model object 'Multiary Expession'. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.MultiaryExpession#getChildren Children}
    • + *
    + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getMultiaryExpession() + * @model abstract="true" + * @generated + */ +public interface MultiaryExpession extends Expression { + /** + * Returns the value of the 'Children' containment reference list. + * The list contents are of type {@link org.eclipse.viatra.solver.language.solverLanguage.Expression}. + * + * + * @return the value of the 'Children' containment reference list. + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getMultiaryExpession_Children() + * @model containment="true" + * @generated + */ + EList getChildren(); + +} // MultiaryExpession diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Multiplicity.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Multiplicity.java new file mode 100644 index 00000000..e759fb50 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Multiplicity.java @@ -0,0 +1,18 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage; + +import org.eclipse.emf.ecore.EObject; + +/** + * + * A representation of the model object 'Multiplicity'. + * + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getMultiplicity() + * @model abstract="true" + * @generated + */ +public interface Multiplicity extends EObject { +} // Multiplicity diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/NamespaceImport.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/NamespaceImport.java new file mode 100644 index 00000000..29224110 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/NamespaceImport.java @@ -0,0 +1,44 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage; + +/** + * + * A representation of the model object 'Namespace Import'. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.NamespaceImport#getImportedNamespace Imported Namespace}
    • + *
    + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getNamespaceImport() + * @model + * @generated + */ +public interface NamespaceImport extends Import { + /** + * Returns the value of the 'Imported Namespace' attribute. + * + * + * @return the value of the 'Imported Namespace' attribute. + * @see #setImportedNamespace(String) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getNamespaceImport_ImportedNamespace() + * @model + * @generated + */ + String getImportedNamespace(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.NamespaceImport#getImportedNamespace Imported Namespace}' attribute. + * + * + * @param value the new value of the 'Imported Namespace' attribute. + * @see #getImportedNamespace() + * @generated + */ + void setImportedNamespace(String value); + +} // NamespaceImport diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Node.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Node.java new file mode 100644 index 00000000..01366406 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Node.java @@ -0,0 +1,44 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage; + +/** + * + * A representation of the model object 'Node'. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.Node#isNamed Named}
    • + *
    + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getNode() + * @model + * @generated + */ +public interface Node extends Symbol { + /** + * Returns the value of the 'Named' attribute. + * + * + * @return the value of the 'Named' attribute. + * @see #setNamed(boolean) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getNode_Named() + * @model + * @generated + */ + boolean isNamed(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.Node#isNamed Named}' attribute. + * + * + * @param value the new value of the 'Named' attribute. + * @see #isNamed() + * @generated + */ + void setNamed(boolean value); + +} // Node diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/ObjectiveDeclaration.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/ObjectiveDeclaration.java new file mode 100644 index 00000000..c446c245 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/ObjectiveDeclaration.java @@ -0,0 +1,70 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage; + +/** + * + * A representation of the model object 'Objective Declaration'. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.ObjectiveDeclaration#getKind Kind}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.ObjectiveDeclaration#getObjective Objective}
    • + *
    + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getObjectiveDeclaration() + * @model + * @generated + */ +public interface ObjectiveDeclaration extends Statement { + /** + * Returns the value of the 'Kind' attribute. + * The literals are from the enumeration {@link org.eclipse.viatra.solver.language.solverLanguage.ObjectiveKind}. + * + * + * @return the value of the 'Kind' attribute. + * @see org.eclipse.viatra.solver.language.solverLanguage.ObjectiveKind + * @see #setKind(ObjectiveKind) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getObjectiveDeclaration_Kind() + * @model + * @generated + */ + ObjectiveKind getKind(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.ObjectiveDeclaration#getKind Kind}' attribute. + * + * + * @param value the new value of the 'Kind' attribute. + * @see org.eclipse.viatra.solver.language.solverLanguage.ObjectiveKind + * @see #getKind() + * @generated + */ + void setKind(ObjectiveKind value); + + /** + * Returns the value of the 'Objective' containment reference. + * + * + * @return the value of the 'Objective' containment reference. + * @see #setObjective(Expression) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getObjectiveDeclaration_Objective() + * @model containment="true" + * @generated + */ + Expression getObjective(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.ObjectiveDeclaration#getObjective Objective}' containment reference. + * + * + * @param value the new value of the 'Objective' containment reference. + * @see #getObjective() + * @generated + */ + void setObjective(Expression value); + +} // ObjectiveDeclaration diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/ObjectiveKind.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/ObjectiveKind.java new file mode 100644 index 00000000..e81389fb --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/ObjectiveKind.java @@ -0,0 +1,204 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage; + +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 'Objective Kind', + * and utility methods for working with them. + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getObjectiveKind() + * @model + * @generated + */ +public enum ObjectiveKind implements Enumerator { + /** + * The 'MINIMIZATION' literal object. + * + * + * @see #MINIMIZATION_VALUE + * @generated + * @ordered + */ + MINIMIZATION(0, "MINIMIZATION", "MINIMIZATION"), + + /** + * The 'MAXIMIZATION' literal object. + * + * + * @see #MAXIMIZATION_VALUE + * @generated + * @ordered + */ + MAXIMIZATION(1, "MAXIMIZATION", "MAXIMIZATION"); + + /** + * The 'MINIMIZATION' literal value. + * + * + * @see #MINIMIZATION + * @model + * @generated + * @ordered + */ + public static final int MINIMIZATION_VALUE = 0; + + /** + * The 'MAXIMIZATION' literal value. + * + * + * @see #MAXIMIZATION + * @model + * @generated + * @ordered + */ + public static final int MAXIMIZATION_VALUE = 1; + + /** + * An array of all the 'Objective Kind' enumerators. + * + * + * @generated + */ + private static final ObjectiveKind[] VALUES_ARRAY = new ObjectiveKind[] { MINIMIZATION, MAXIMIZATION, }; + + /** + * A public read-only list of all the 'Objective Kind' enumerators. + * + * + * @generated + */ + public static final List VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); + + /** + * Returns the 'Objective Kind' literal with the specified literal value. + * + * + * @param literal the literal. + * @return the matching enumerator or null. + * @generated + */ + public static ObjectiveKind get(String literal) { + for (int i = 0; i < VALUES_ARRAY.length; ++i) { + ObjectiveKind result = VALUES_ARRAY[i]; + if (result.toString().equals(literal)) { + return result; + } + } + return null; + } + + /** + * Returns the 'Objective Kind' literal with the specified name. + * + * + * @param name the name. + * @return the matching enumerator or null. + * @generated + */ + public static ObjectiveKind getByName(String name) { + for (int i = 0; i < VALUES_ARRAY.length; ++i) { + ObjectiveKind result = VALUES_ARRAY[i]; + if (result.getName().equals(name)) { + return result; + } + } + return null; + } + + /** + * Returns the 'Objective Kind' literal with the specified integer value. + * + * + * @param value the integer value. + * @return the matching enumerator or null. + * @generated + */ + public static ObjectiveKind get(int value) { + switch (value) { + case MINIMIZATION_VALUE: + return MINIMIZATION; + case MAXIMIZATION_VALUE: + return MAXIMIZATION; + } + 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 ObjectiveKind(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; + } + +} //ObjectiveKind diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Operator.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Operator.java new file mode 100644 index 00000000..1da3f3a5 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Operator.java @@ -0,0 +1,16 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage; + +/** + * + * A representation of the model object 'Operator'. + * + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getOperator() + * @model + * @generated + */ +public interface Operator extends Function { +} // Operator diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/PathComponent.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/PathComponent.java new file mode 100644 index 00000000..ba0b8d7e --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/PathComponent.java @@ -0,0 +1,115 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage; + +import org.eclipse.emf.ecore.EObject; + +/** + * + * A representation of the model object 'Path Component'. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.PathComponent#getSymbol Symbol}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.PathComponent#isInverse Inverse}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.PathComponent#isTransitiveClosure Transitive Closure}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.PathComponent#isReflexiveTransitiveClosure Reflexive Transitive Closure}
    • + *
    + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getPathComponent() + * @model + * @generated + */ +public interface PathComponent extends EObject { + /** + * Returns the value of the 'Symbol' reference. + * + * + * @return the value of the 'Symbol' reference. + * @see #setSymbol(Symbol) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getPathComponent_Symbol() + * @model + * @generated + */ + Symbol getSymbol(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.PathComponent#getSymbol Symbol}' reference. + * + * + * @param value the new value of the 'Symbol' reference. + * @see #getSymbol() + * @generated + */ + void setSymbol(Symbol value); + + /** + * Returns the value of the 'Inverse' attribute. + * + * + * @return the value of the 'Inverse' attribute. + * @see #setInverse(boolean) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getPathComponent_Inverse() + * @model + * @generated + */ + boolean isInverse(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.PathComponent#isInverse Inverse}' attribute. + * + * + * @param value the new value of the 'Inverse' attribute. + * @see #isInverse() + * @generated + */ + void setInverse(boolean value); + + /** + * Returns the value of the 'Transitive Closure' attribute. + * + * + * @return the value of the 'Transitive Closure' attribute. + * @see #setTransitiveClosure(boolean) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getPathComponent_TransitiveClosure() + * @model + * @generated + */ + boolean isTransitiveClosure(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.PathComponent#isTransitiveClosure Transitive Closure}' attribute. + * + * + * @param value the new value of the 'Transitive Closure' attribute. + * @see #isTransitiveClosure() + * @generated + */ + void setTransitiveClosure(boolean value); + + /** + * Returns the value of the 'Reflexive Transitive Closure' attribute. + * + * + * @return the value of the 'Reflexive Transitive Closure' attribute. + * @see #setReflexiveTransitiveClosure(boolean) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getPathComponent_ReflexiveTransitiveClosure() + * @model + * @generated + */ + boolean isReflexiveTransitiveClosure(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.PathComponent#isReflexiveTransitiveClosure Reflexive Transitive Closure}' attribute. + * + * + * @param value the new value of the 'Reflexive Transitive Closure' attribute. + * @see #isReflexiveTransitiveClosure() + * @generated + */ + void setReflexiveTransitiveClosure(boolean value); + +} // PathComponent diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Predicate.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Predicate.java new file mode 100644 index 00000000..9272916f --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Predicate.java @@ -0,0 +1,16 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage; + +/** + * + * A representation of the model object 'Predicate'. + * + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getPredicate() + * @model + * @generated + */ +public interface Predicate extends Relation { +} // Predicate diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/PredicateDefinition.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/PredicateDefinition.java new file mode 100644 index 00000000..f99fb162 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/PredicateDefinition.java @@ -0,0 +1,16 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage; + +/** + * + * A representation of the model object 'Predicate Definition'. + * + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getPredicateDefinition() + * @model + * @generated + */ +public interface PredicateDefinition extends FunctorDefiniton, InlinePredicateAttrributes { +} // PredicateDefinition diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Problem.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Problem.java new file mode 100644 index 00000000..ca54b06c --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Problem.java @@ -0,0 +1,87 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EObject; + +/** + * + * A representation of the model object 'Problem'. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.Problem#getName Name}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.Problem#getStatements Statements}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.Problem#getSymbols Symbols}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.Problem#getImports Imports}
    • + *
    + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getProblem() + * @model + * @generated + */ +public interface Problem extends EObject { + /** + * Returns the value of the 'Name' attribute. + * + * + * @return the value of the 'Name' attribute. + * @see #setName(String) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getProblem_Name() + * @model + * @generated + */ + String getName(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.Problem#getName Name}' attribute. + * + * + * @param value the new value of the 'Name' attribute. + * @see #getName() + * @generated + */ + void setName(String value); + + /** + * Returns the value of the 'Statements' containment reference list. + * The list contents are of type {@link org.eclipse.viatra.solver.language.solverLanguage.Statement}. + * + * + * @return the value of the 'Statements' containment reference list. + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getProblem_Statements() + * @model containment="true" + * @generated + */ + EList getStatements(); + + /** + * Returns the value of the 'Symbols' containment reference list. + * The list contents are of type {@link org.eclipse.viatra.solver.language.solverLanguage.Symbol}. + * + * + * @return the value of the 'Symbols' containment reference list. + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getProblem_Symbols() + * @model containment="true" transient="true" + * @generated + */ + EList getSymbols(); + + /** + * Returns the value of the 'Imports' containment reference list. + * The list contents are of type {@link org.eclipse.viatra.solver.language.solverLanguage.Import}. + * + * + * @return the value of the 'Imports' containment reference list. + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getProblem_Imports() + * @model containment="true" + * @generated + */ + EList getImports(); + +} // Problem diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/RealLiteral.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/RealLiteral.java new file mode 100644 index 00000000..f6646284 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/RealLiteral.java @@ -0,0 +1,46 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage; + +import java.math.BigDecimal; + +/** + * + * A representation of the model object 'Real Literal'. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.RealLiteral#getValue Value}
    • + *
    + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getRealLiteral() + * @model + * @generated + */ +public interface RealLiteral extends Literal { + /** + * Returns the value of the 'Value' attribute. + * + * + * @return the value of the 'Value' attribute. + * @see #setValue(BigDecimal) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getRealLiteral_Value() + * @model + * @generated + */ + BigDecimal getValue(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.RealLiteral#getValue Value}' attribute. + * + * + * @param value the new value of the 'Value' attribute. + * @see #getValue() + * @generated + */ + void setValue(BigDecimal value); + +} // RealLiteral diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Reference.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Reference.java new file mode 100644 index 00000000..5641337f --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Reference.java @@ -0,0 +1,36 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage; + +import org.eclipse.emf.common.util.EList; + +/** + * + * A representation of the model object 'Reference'. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.Reference#getComponents Components}
    • + *
    + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getReference() + * @model + * @generated + */ +public interface Reference extends Expression { + /** + * Returns the value of the 'Components' containment reference list. + * The list contents are of type {@link org.eclipse.viatra.solver.language.solverLanguage.PathComponent}. + * + * + * @return the value of the 'Components' containment reference list. + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getReference_Components() + * @model containment="true" + * @generated + */ + EList getComponents(); + +} // Reference diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Relation.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Relation.java new file mode 100644 index 00000000..3d35a55e --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Relation.java @@ -0,0 +1,16 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage; + +/** + * + * A representation of the model object 'Relation'. + * + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getRelation() + * @model abstract="true" + * @generated + */ +public interface Relation extends Functor { +} // Relation diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/ScopeDeclaration.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/ScopeDeclaration.java new file mode 100644 index 00000000..4ab92418 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/ScopeDeclaration.java @@ -0,0 +1,44 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage; + +/** + * + * A representation of the model object 'Scope Declaration'. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.ScopeDeclaration#getType Type}
    • + *
    + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getScopeDeclaration() + * @model + * @generated + */ +public interface ScopeDeclaration extends Statement { + /** + * Returns the value of the 'Type' reference. + * + * + * @return the value of the 'Type' reference. + * @see #setType(Symbol) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getScopeDeclaration_Type() + * @model + * @generated + */ + Symbol getType(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.ScopeDeclaration#getType Type}' reference. + * + * + * @param value the new value of the 'Type' reference. + * @see #getType() + * @generated + */ + void setType(Symbol value); + +} // ScopeDeclaration diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/SolverLanguageFactory.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/SolverLanguageFactory.java new file mode 100644 index 00000000..6192f942 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/SolverLanguageFactory.java @@ -0,0 +1,592 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage; + +import org.eclipse.emf.ecore.EFactory; + +/** + * + * The Factory for the model. + * It provides a create method for each non-abstract class of the model. + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage + * @generated + */ +public interface SolverLanguageFactory extends EFactory { + /** + * The singleton instance of the factory. + * + * + * @generated + */ + SolverLanguageFactory eINSTANCE = org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguageFactoryImpl + .init(); + + /** + * Returns a new object of class 'Path Component'. + * + * + * @return a new object of class 'Path Component'. + * @generated + */ + PathComponent createPathComponent(); + + /** + * Returns a new object of class 'Call'. + * + * + * @return a new object of class 'Call'. + * @generated + */ + Call createCall(); + + /** + * Returns a new object of class 'Reference'. + * + * + * @return a new object of class 'Reference'. + * @generated + */ + Reference createReference(); + + /** + * Returns a new object of class 'Argument List'. + * + * + * @return a new object of class 'Argument List'. + * @generated + */ + ArgumentList createArgumentList(); + + /** + * Returns a new object of class 'Expression Argument'. + * + * + * @return a new object of class 'Expression Argument'. + * @generated + */ + ExpressionArgument createExpressionArgument(); + + /** + * Returns a new object of class 'Star Argument'. + * + * + * @return a new object of class 'Star Argument'. + * @generated + */ + StarArgument createStarArgument(); + + /** + * Returns a new object of class 'Variable'. + * + * + * @return a new object of class 'Variable'. + * @generated + */ + Variable createVariable(); + + /** + * Returns a new object of class 'Unary Expression'. + * + * + * @return a new object of class 'Unary Expression'. + * @generated + */ + UnaryExpression createUnaryExpression(); + + /** + * Returns a new object of class 'Binary Expression'. + * + * + * @return a new object of class 'Binary Expression'. + * @generated + */ + BinaryExpression createBinaryExpression(); + + /** + * Returns a new object of class 'Disjunction'. + * + * + * @return a new object of class 'Disjunction'. + * @generated + */ + Disjunction createDisjunction(); + + /** + * Returns a new object of class 'Conjunction'. + * + * + * @return a new object of class 'Conjunction'. + * @generated + */ + Conjunction createConjunction(); + + /** + * Returns a new object of class 'Conditional Expression'. + * + * + * @return a new object of class 'Conditional Expression'. + * @generated + */ + ConditionalExpression createConditionalExpression(); + + /** + * Returns a new object of class 'Switch'. + * + * + * @return a new object of class 'Switch'. + * @generated + */ + Switch createSwitch(); + + /** + * Returns a new object of class 'Case'. + * + * + * @return a new object of class 'Case'. + * @generated + */ + Case createCase(); + + /** + * Returns a new object of class 'Let Expression'. + * + * + * @return a new object of class 'Let Expression'. + * @generated + */ + LetExpression createLetExpression(); + + /** + * Returns a new object of class 'Let Binding'. + * + * + * @return a new object of class 'Let Binding'. + * @generated + */ + LetBinding createLetBinding(); + + /** + * Returns a new object of class 'Int Literal'. + * + * + * @return a new object of class 'Int Literal'. + * @generated + */ + IntLiteral createIntLiteral(); + + /** + * Returns a new object of class 'Real Literal'. + * + * + * @return a new object of class 'Real Literal'. + * @generated + */ + RealLiteral createRealLiteral(); + + /** + * Returns a new object of class 'String Literal'. + * + * + * @return a new object of class 'String Literal'. + * @generated + */ + StringLiteral createStringLiteral(); + + /** + * Returns a new object of class 'Logic Literal'. + * + * + * @return a new object of class 'Logic Literal'. + * @generated + */ + LogicLiteral createLogicLiteral(); + + /** + * Returns a new object of class 'Empty Literal'. + * + * + * @return a new object of class 'Empty Literal'. + * @generated + */ + EmptyLiteral createEmptyLiteral(); + + /** + * Returns a new object of class 'Cast Expression'. + * + * + * @return a new object of class 'Cast Expression'. + * @generated + */ + CastExpression createCastExpression(); + + /** + * Returns a new object of class 'Count'. + * + * + * @return a new object of class 'Count'. + * @generated + */ + Count createCount(); + + /** + * Returns a new object of class 'Aggregation'. + * + * + * @return a new object of class 'Aggregation'. + * @generated + */ + Aggregation createAggregation(); + + /** + * Returns a new object of class 'Forall'. + * + * + * @return a new object of class 'Forall'. + * @generated + */ + Forall createForall(); + + /** + * Returns a new object of class 'Type Reference'. + * + * + * @return a new object of class 'Type Reference'. + * @generated + */ + TypeReference createTypeReference(); + + /** + * Returns a new object of class 'Infinity Literal'. + * + * + * @return a new object of class 'Infinity Literal'. + * @generated + */ + InfinityLiteral createInfinityLiteral(); + + /** + * Returns a new object of class 'Interval'. + * + * + * @return a new object of class 'Interval'. + * @generated + */ + Interval createInterval(); + + /** + * Returns a new object of class 'Base Relation'. + * + * + * @return a new object of class 'Base Relation'. + * @generated + */ + BaseRelation createBaseRelation(); + + /** + * Returns a new object of class 'Predicate'. + * + * + * @return a new object of class 'Predicate'. + * @generated + */ + Predicate createPredicate(); + + /** + * Returns a new object of class 'Datatype'. + * + * + * @return a new object of class 'Datatype'. + * @generated + */ + Datatype createDatatype(); + + /** + * Returns a new object of class 'Metric'. + * + * + * @return a new object of class 'Metric'. + * @generated + */ + Metric createMetric(); + + /** + * Returns a new object of class 'Operator'. + * + * + * @return a new object of class 'Operator'. + * @generated + */ + Operator createOperator(); + + /** + * Returns a new object of class 'Node'. + * + * + * @return a new object of class 'Node'. + * @generated + */ + Node createNode(); + + /** + * Returns a new object of class 'Predicate Definition'. + * + * + * @return a new object of class 'Predicate Definition'. + * @generated + */ + PredicateDefinition createPredicateDefinition(); + + /** + * Returns a new object of class 'Function Definition'. + * + * + * @return a new object of class 'Function Definition'. + * @generated + */ + FunctionDefinition createFunctionDefinition(); + + /** + * Returns a new object of class 'Extern Predicate Declaration'. + * + * + * @return a new object of class 'Extern Predicate Declaration'. + * @generated + */ + ExternPredicateDeclaration createExternPredicateDeclaration(); + + /** + * Returns a new object of class 'Extern Function Declaration'. + * + * + * @return a new object of class 'Extern Function Declaration'. + * @generated + */ + ExternFunctionDeclaration createExternFunctionDeclaration(); + + /** + * Returns a new object of class 'Extern Aggregation Operator Declaration'. + * + * + * @return a new object of class 'Extern Aggregation Operator Declaration'. + * @generated + */ + ExternAggregationOperatorDeclaration createExternAggregationOperatorDeclaration(); + + /** + * Returns a new object of class 'Extern Datatype Declaration'. + * + * + * @return a new object of class 'Extern Datatype Declaration'. + * @generated + */ + ExternDatatypeDeclaration createExternDatatypeDeclaration(); + + /** + * Returns a new object of class 'Class Declaration'. + * + * + * @return a new object of class 'Class Declaration'. + * @generated + */ + ClassDeclaration createClassDeclaration(); + + /** + * Returns a new object of class 'Enum Declaration'. + * + * + * @return a new object of class 'Enum Declaration'. + * @generated + */ + EnumDeclaration createEnumDeclaration(); + + /** + * Returns a new object of class 'Enum Literal'. + * + * + * @return a new object of class 'Enum Literal'. + * @generated + */ + EnumLiteral createEnumLiteral(); + + /** + * Returns a new object of class 'Field'. + * + * + * @return a new object of class 'Field'. + * @generated + */ + Field createField(); + + /** + * Returns a new object of class 'Default Assertion'. + * + * + * @return a new object of class 'Default Assertion'. + * @generated + */ + DefaultAssertion createDefaultAssertion(); + + /** + * Returns a new object of class 'Assertion'. + * + * + * @return a new object of class 'Assertion'. + * @generated + */ + Assertion createAssertion(); + + /** + * Returns a new object of class 'Unbounded Multiplicity'. + * + * + * @return a new object of class 'Unbounded Multiplicity'. + * @generated + */ + UnboundedMultiplicity createUnboundedMultiplicity(); + + /** + * Returns a new object of class 'Exact Multiplicity'. + * + * + * @return a new object of class 'Exact Multiplicity'. + * @generated + */ + ExactMultiplicity createExactMultiplicity(); + + /** + * Returns a new object of class 'Bounded Multiplicity'. + * + * + * @return a new object of class 'Bounded Multiplicity'. + * @generated + */ + BoundedMultiplicity createBoundedMultiplicity(); + + /** + * Returns a new object of class 'Aggregation Operator'. + * + * + * @return a new object of class 'Aggregation Operator'. + * @generated + */ + AggregationOperator createAggregationOperator(); + + /** + * Returns a new object of class 'Problem'. + * + * + * @return a new object of class 'Problem'. + * @generated + */ + Problem createProblem(); + + /** + * Returns a new object of class 'Typed Star Argument'. + * + * + * @return a new object of class 'Typed Star Argument'. + * @generated + */ + TypedStarArgument createTypedStarArgument(); + + /** + * Returns a new object of class 'Typed Variable Argument'. + * + * + * @return a new object of class 'Typed Variable Argument'. + * @generated + */ + TypedVariableArgument createTypedVariableArgument(); + + /** + * Returns a new object of class 'Unnamed Error Predicate Defintion'. + * + * + * @return a new object of class 'Unnamed Error Predicate Defintion'. + * @generated + */ + UnnamedErrorPredicateDefintion createUnnamedErrorPredicateDefintion(); + + /** + * Returns a new object of class 'Objective Declaration'. + * + * + * @return a new object of class 'Objective Declaration'. + * @generated + */ + ObjectiveDeclaration createObjectiveDeclaration(); + + /** + * Returns a new object of class 'Scope Declaration'. + * + * + * @return a new object of class 'Scope Declaration'. + * @generated + */ + ScopeDeclaration createScopeDeclaration(); + + /** + * Returns a new object of class 'Exact Scope'. + * + * + * @return a new object of class 'Exact Scope'. + * @generated + */ + ExactScope createExactScope(); + + /** + * Returns a new object of class 'Bounded Scope'. + * + * + * @return a new object of class 'Bounded Scope'. + * @generated + */ + BoundedScope createBoundedScope(); + + /** + * Returns a new object of class 'Lower Bounded Scope'. + * + * + * @return a new object of class 'Lower Bounded Scope'. + * @generated + */ + LowerBoundedScope createLowerBoundedScope(); + + /** + * Returns a new object of class 'Namespace Import'. + * + * + * @return a new object of class 'Namespace Import'. + * @generated + */ + NamespaceImport createNamespaceImport(); + + /** + * Returns a new object of class 'Import'. + * + * + * @return a new object of class 'Import'. + * @generated + */ + Import createImport(); + + /** + * Returns a new object of class 'Uri Import'. + * + * + * @return a new object of class 'Uri Import'. + * @generated + */ + UriImport createUriImport(); + + /** + * Returns the package supported by this factory. + * + * + * @return the package supported by this factory. + * @generated + */ + SolverLanguagePackage getSolverLanguagePackage(); + +} //SolverLanguageFactory diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/SolverLanguagePackage.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/SolverLanguagePackage.java new file mode 100644 index 00000000..ff1696db --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/SolverLanguagePackage.java @@ -0,0 +1,7554 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage; + +import org.eclipse.emf.ecore.EAttribute; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EEnum; +import org.eclipse.emf.ecore.EPackage; +import org.eclipse.emf.ecore.EReference; + +/** + * + * The Package for the model. + * It contains accessors for the meta objects to represent + *
      + *
    • each class,
    • + *
    • each feature of each class,
    • + *
    • each operation of each class,
    • + *
    • each enum,
    • + *
    • and each data type
    • + *
    + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguageFactory + * @model kind="package" + * @generated + */ +public interface SolverLanguagePackage extends EPackage { + /** + * The package name. + * + * + * @generated + */ + String eNAME = "solverLanguage"; + + /** + * The package namespace URI. + * + * + * @generated + */ + String eNS_URI = "http://www.eclipse.org/viatra/solver/language/SolverLanguage"; + + /** + * The package namespace name. + * + * + * @generated + */ + String eNS_PREFIX = "solverLanguage"; + + /** + * The singleton instance of the package. + * + * + * @generated + */ + SolverLanguagePackage eINSTANCE = org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl + .init(); + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.PathComponentImpl Path Component}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.PathComponentImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getPathComponent() + * @generated + */ + int PATH_COMPONENT = 0; + + /** + * The feature id for the 'Symbol' reference. + * + * + * @generated + * @ordered + */ + int PATH_COMPONENT__SYMBOL = 0; + + /** + * The feature id for the 'Inverse' attribute. + * + * + * @generated + * @ordered + */ + int PATH_COMPONENT__INVERSE = 1; + + /** + * The feature id for the 'Transitive Closure' attribute. + * + * + * @generated + * @ordered + */ + int PATH_COMPONENT__TRANSITIVE_CLOSURE = 2; + + /** + * The feature id for the 'Reflexive Transitive Closure' attribute. + * + * + * @generated + * @ordered + */ + int PATH_COMPONENT__REFLEXIVE_TRANSITIVE_CLOSURE = 3; + + /** + * The number of structural features of the 'Path Component' class. + * + * + * @generated + * @ordered + */ + int PATH_COMPONENT_FEATURE_COUNT = 4; + + /** + * The number of operations of the 'Path Component' class. + * + * + * @generated + * @ordered + */ + int PATH_COMPONENT_OPERATION_COUNT = 0; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.SymbolImpl Symbol}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SymbolImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getSymbol() + * @generated + */ + int SYMBOL = 1; + + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + int SYMBOL__NAME = 0; + + /** + * The number of structural features of the 'Symbol' class. + * + * + * @generated + * @ordered + */ + int SYMBOL_FEATURE_COUNT = 1; + + /** + * The number of operations of the 'Symbol' class. + * + * + * @generated + * @ordered + */ + int SYMBOL_OPERATION_COUNT = 0; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.StatementImpl Statement}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.StatementImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getStatement() + * @generated + */ + int STATEMENT = 44; + + /** + * The number of structural features of the 'Statement' class. + * + * + * @generated + * @ordered + */ + int STATEMENT_FEATURE_COUNT = 0; + + /** + * The number of operations of the 'Statement' class. + * + * + * @generated + * @ordered + */ + int STATEMENT_OPERATION_COUNT = 0; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExpressionImpl Expression}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ExpressionImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getExpression() + * @generated + */ + int EXPRESSION = 4; + + /** + * The feature id for the 'Exists Variables' containment reference list. + * + * + * @generated + * @ordered + */ + int EXPRESSION__EXISTS_VARIABLES = STATEMENT_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'Expression' class. + * + * + * @generated + * @ordered + */ + int EXPRESSION_FEATURE_COUNT = STATEMENT_FEATURE_COUNT + 1; + + /** + * The number of operations of the 'Expression' class. + * + * + * @generated + * @ordered + */ + int EXPRESSION_OPERATION_COUNT = STATEMENT_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.CallImpl Call}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.CallImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getCall() + * @generated + */ + int CALL = 2; + + /** + * The feature id for the 'Exists Variables' containment reference list. + * + * + * @generated + * @ordered + */ + int CALL__EXISTS_VARIABLES = EXPRESSION__EXISTS_VARIABLES; + + /** + * The feature id for the 'Functor' containment reference. + * + * + * @generated + * @ordered + */ + int CALL__FUNCTOR = EXPRESSION_FEATURE_COUNT + 0; + + /** + * The feature id for the 'Argument List' containment reference. + * + * + * @generated + * @ordered + */ + int CALL__ARGUMENT_LIST = EXPRESSION_FEATURE_COUNT + 1; + + /** + * The number of structural features of the 'Call' class. + * + * + * @generated + * @ordered + */ + int CALL_FEATURE_COUNT = EXPRESSION_FEATURE_COUNT + 2; + + /** + * The number of operations of the 'Call' class. + * + * + * @generated + * @ordered + */ + int CALL_OPERATION_COUNT = EXPRESSION_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ReferenceImpl Reference}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ReferenceImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getReference() + * @generated + */ + int REFERENCE = 3; + + /** + * The feature id for the 'Exists Variables' containment reference list. + * + * + * @generated + * @ordered + */ + int REFERENCE__EXISTS_VARIABLES = EXPRESSION__EXISTS_VARIABLES; + + /** + * The feature id for the 'Components' containment reference list. + * + * + * @generated + * @ordered + */ + int REFERENCE__COMPONENTS = EXPRESSION_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'Reference' class. + * + * + * @generated + * @ordered + */ + int REFERENCE_FEATURE_COUNT = EXPRESSION_FEATURE_COUNT + 1; + + /** + * The number of operations of the 'Reference' class. + * + * + * @generated + * @ordered + */ + int REFERENCE_OPERATION_COUNT = EXPRESSION_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ArgumentImpl Argument}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ArgumentImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getArgument() + * @generated + */ + int ARGUMENT = 5; + + /** + * The number of structural features of the 'Argument' class. + * + * + * @generated + * @ordered + */ + int ARGUMENT_FEATURE_COUNT = 0; + + /** + * The number of operations of the 'Argument' class. + * + * + * @generated + * @ordered + */ + int ARGUMENT_OPERATION_COUNT = 0; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ArgumentListImpl Argument List}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ArgumentListImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getArgumentList() + * @generated + */ + int ARGUMENT_LIST = 6; + + /** + * The feature id for the 'Arguments' containment reference list. + * + * + * @generated + * @ordered + */ + int ARGUMENT_LIST__ARGUMENTS = 0; + + /** + * The number of structural features of the 'Argument List' class. + * + * + * @generated + * @ordered + */ + int ARGUMENT_LIST_FEATURE_COUNT = 1; + + /** + * The number of operations of the 'Argument List' class. + * + * + * @generated + * @ordered + */ + int ARGUMENT_LIST_OPERATION_COUNT = 0; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExpressionArgumentImpl Expression Argument}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ExpressionArgumentImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getExpressionArgument() + * @generated + */ + int EXPRESSION_ARGUMENT = 7; + + /** + * The feature id for the 'Expression' containment reference. + * + * + * @generated + * @ordered + */ + int EXPRESSION_ARGUMENT__EXPRESSION = ARGUMENT_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'Expression Argument' class. + * + * + * @generated + * @ordered + */ + int EXPRESSION_ARGUMENT_FEATURE_COUNT = ARGUMENT_FEATURE_COUNT + 1; + + /** + * The number of operations of the 'Expression Argument' class. + * + * + * @generated + * @ordered + */ + int EXPRESSION_ARGUMENT_OPERATION_COUNT = ARGUMENT_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.StarArgumentImpl Star Argument}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.StarArgumentImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getStarArgument() + * @generated + */ + int STAR_ARGUMENT = 8; + + /** + * The number of structural features of the 'Star Argument' class. + * + * + * @generated + * @ordered + */ + int STAR_ARGUMENT_FEATURE_COUNT = ARGUMENT_FEATURE_COUNT + 0; + + /** + * The number of operations of the 'Star Argument' class. + * + * + * @generated + * @ordered + */ + int STAR_ARGUMENT_OPERATION_COUNT = ARGUMENT_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.TypedArgumentImpl Typed Argument}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.TypedArgumentImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getTypedArgument() + * @generated + */ + int TYPED_ARGUMENT = 9; + + /** + * The feature id for the 'Type Reference' containment reference. + * + * + * @generated + * @ordered + */ + int TYPED_ARGUMENT__TYPE_REFERENCE = ARGUMENT_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'Typed Argument' class. + * + * + * @generated + * @ordered + */ + int TYPED_ARGUMENT_FEATURE_COUNT = ARGUMENT_FEATURE_COUNT + 1; + + /** + * The number of operations of the 'Typed Argument' class. + * + * + * @generated + * @ordered + */ + int TYPED_ARGUMENT_OPERATION_COUNT = ARGUMENT_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.MultiaryExpessionImpl Multiary Expession}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.MultiaryExpessionImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getMultiaryExpession() + * @generated + */ + int MULTIARY_EXPESSION = 10; + + /** + * The feature id for the 'Exists Variables' containment reference list. + * + * + * @generated + * @ordered + */ + int MULTIARY_EXPESSION__EXISTS_VARIABLES = EXPRESSION__EXISTS_VARIABLES; + + /** + * The feature id for the 'Children' containment reference list. + * + * + * @generated + * @ordered + */ + int MULTIARY_EXPESSION__CHILDREN = EXPRESSION_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'Multiary Expession' class. + * + * + * @generated + * @ordered + */ + int MULTIARY_EXPESSION_FEATURE_COUNT = EXPRESSION_FEATURE_COUNT + 1; + + /** + * The number of operations of the 'Multiary Expession' class. + * + * + * @generated + * @ordered + */ + int MULTIARY_EXPESSION_OPERATION_COUNT = EXPRESSION_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.VariableImpl Variable}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.VariableImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getVariable() + * @generated + */ + int VARIABLE = 11; + + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + int VARIABLE__NAME = SYMBOL__NAME; + + /** + * The feature id for the 'Type Reference' containment reference. + * + * + * @generated + * @ordered + */ + int VARIABLE__TYPE_REFERENCE = SYMBOL_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'Variable' class. + * + * + * @generated + * @ordered + */ + int VARIABLE_FEATURE_COUNT = SYMBOL_FEATURE_COUNT + 1; + + /** + * The number of operations of the 'Variable' class. + * + * + * @generated + * @ordered + */ + int VARIABLE_OPERATION_COUNT = SYMBOL_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.UnaryExpressionImpl Unary Expression}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.UnaryExpressionImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getUnaryExpression() + * @generated + */ + int UNARY_EXPRESSION = 12; + + /** + * The feature id for the 'Exists Variables' containment reference list. + * + * + * @generated + * @ordered + */ + int UNARY_EXPRESSION__EXISTS_VARIABLES = EXPRESSION__EXISTS_VARIABLES; + + /** + * The feature id for the 'Body' containment reference. + * + * + * @generated + * @ordered + */ + int UNARY_EXPRESSION__BODY = EXPRESSION_FEATURE_COUNT + 0; + + /** + * The feature id for the 'Op' attribute. + * + * + * @generated + * @ordered + */ + int UNARY_EXPRESSION__OP = EXPRESSION_FEATURE_COUNT + 1; + + /** + * The number of structural features of the 'Unary Expression' class. + * + * + * @generated + * @ordered + */ + int UNARY_EXPRESSION_FEATURE_COUNT = EXPRESSION_FEATURE_COUNT + 2; + + /** + * The number of operations of the 'Unary Expression' class. + * + * + * @generated + * @ordered + */ + int UNARY_EXPRESSION_OPERATION_COUNT = EXPRESSION_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.BinaryExpressionImpl Binary Expression}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.BinaryExpressionImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getBinaryExpression() + * @generated + */ + int BINARY_EXPRESSION = 13; + + /** + * The feature id for the 'Exists Variables' containment reference list. + * + * + * @generated + * @ordered + */ + int BINARY_EXPRESSION__EXISTS_VARIABLES = EXPRESSION__EXISTS_VARIABLES; + + /** + * The feature id for the 'Op' attribute. + * + * + * @generated + * @ordered + */ + int BINARY_EXPRESSION__OP = EXPRESSION_FEATURE_COUNT + 0; + + /** + * The feature id for the 'Left' containment reference. + * + * + * @generated + * @ordered + */ + int BINARY_EXPRESSION__LEFT = EXPRESSION_FEATURE_COUNT + 1; + + /** + * The feature id for the 'Right' containment reference. + * + * + * @generated + * @ordered + */ + int BINARY_EXPRESSION__RIGHT = EXPRESSION_FEATURE_COUNT + 2; + + /** + * The number of structural features of the 'Binary Expression' class. + * + * + * @generated + * @ordered + */ + int BINARY_EXPRESSION_FEATURE_COUNT = EXPRESSION_FEATURE_COUNT + 3; + + /** + * The number of operations of the 'Binary Expression' class. + * + * + * @generated + * @ordered + */ + int BINARY_EXPRESSION_OPERATION_COUNT = EXPRESSION_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.DisjunctionImpl Disjunction}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.DisjunctionImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getDisjunction() + * @generated + */ + int DISJUNCTION = 14; + + /** + * The feature id for the 'Exists Variables' containment reference list. + * + * + * @generated + * @ordered + */ + int DISJUNCTION__EXISTS_VARIABLES = MULTIARY_EXPESSION__EXISTS_VARIABLES; + + /** + * The feature id for the 'Children' containment reference list. + * + * + * @generated + * @ordered + */ + int DISJUNCTION__CHILDREN = MULTIARY_EXPESSION__CHILDREN; + + /** + * The number of structural features of the 'Disjunction' class. + * + * + * @generated + * @ordered + */ + int DISJUNCTION_FEATURE_COUNT = MULTIARY_EXPESSION_FEATURE_COUNT + 0; + + /** + * The number of operations of the 'Disjunction' class. + * + * + * @generated + * @ordered + */ + int DISJUNCTION_OPERATION_COUNT = MULTIARY_EXPESSION_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ConjunctionImpl Conjunction}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ConjunctionImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getConjunction() + * @generated + */ + int CONJUNCTION = 15; + + /** + * The feature id for the 'Exists Variables' containment reference list. + * + * + * @generated + * @ordered + */ + int CONJUNCTION__EXISTS_VARIABLES = MULTIARY_EXPESSION__EXISTS_VARIABLES; + + /** + * The feature id for the 'Children' containment reference list. + * + * + * @generated + * @ordered + */ + int CONJUNCTION__CHILDREN = MULTIARY_EXPESSION__CHILDREN; + + /** + * The number of structural features of the 'Conjunction' class. + * + * + * @generated + * @ordered + */ + int CONJUNCTION_FEATURE_COUNT = MULTIARY_EXPESSION_FEATURE_COUNT + 0; + + /** + * The number of operations of the 'Conjunction' class. + * + * + * @generated + * @ordered + */ + int CONJUNCTION_OPERATION_COUNT = MULTIARY_EXPESSION_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ConditionalExpressionImpl Conditional Expression}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ConditionalExpressionImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getConditionalExpression() + * @generated + */ + int CONDITIONAL_EXPRESSION = 16; + + /** + * The feature id for the 'Exists Variables' containment reference list. + * + * + * @generated + * @ordered + */ + int CONDITIONAL_EXPRESSION__EXISTS_VARIABLES = EXPRESSION__EXISTS_VARIABLES; + + /** + * The feature id for the 'Condition' containment reference. + * + * + * @generated + * @ordered + */ + int CONDITIONAL_EXPRESSION__CONDITION = EXPRESSION_FEATURE_COUNT + 0; + + /** + * The feature id for the 'Then' containment reference. + * + * + * @generated + * @ordered + */ + int CONDITIONAL_EXPRESSION__THEN = EXPRESSION_FEATURE_COUNT + 1; + + /** + * The feature id for the 'Else' containment reference. + * + * + * @generated + * @ordered + */ + int CONDITIONAL_EXPRESSION__ELSE = EXPRESSION_FEATURE_COUNT + 2; + + /** + * The number of structural features of the 'Conditional Expression' class. + * + * + * @generated + * @ordered + */ + int CONDITIONAL_EXPRESSION_FEATURE_COUNT = EXPRESSION_FEATURE_COUNT + 3; + + /** + * The number of operations of the 'Conditional Expression' class. + * + * + * @generated + * @ordered + */ + int CONDITIONAL_EXPRESSION_OPERATION_COUNT = EXPRESSION_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.SwitchImpl Switch}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SwitchImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getSwitch() + * @generated + */ + int SWITCH = 17; + + /** + * The feature id for the 'Exists Variables' containment reference list. + * + * + * @generated + * @ordered + */ + int SWITCH__EXISTS_VARIABLES = EXPRESSION__EXISTS_VARIABLES; + + /** + * The feature id for the 'Cases' containment reference list. + * + * + * @generated + * @ordered + */ + int SWITCH__CASES = EXPRESSION_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'Switch' class. + * + * + * @generated + * @ordered + */ + int SWITCH_FEATURE_COUNT = EXPRESSION_FEATURE_COUNT + 1; + + /** + * The number of operations of the 'Switch' class. + * + * + * @generated + * @ordered + */ + int SWITCH_OPERATION_COUNT = EXPRESSION_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.CaseImpl Case}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.CaseImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getCase() + * @generated + */ + int CASE = 18; + + /** + * The feature id for the 'Exists Variables' containment reference list. + * + * + * @generated + * @ordered + */ + int CASE__EXISTS_VARIABLES = EXPRESSION__EXISTS_VARIABLES; + + /** + * The feature id for the 'Condition' containment reference. + * + * + * @generated + * @ordered + */ + int CASE__CONDITION = EXPRESSION_FEATURE_COUNT + 0; + + /** + * The feature id for the 'Body' containment reference. + * + * + * @generated + * @ordered + */ + int CASE__BODY = EXPRESSION_FEATURE_COUNT + 1; + + /** + * The number of structural features of the 'Case' class. + * + * + * @generated + * @ordered + */ + int CASE_FEATURE_COUNT = EXPRESSION_FEATURE_COUNT + 2; + + /** + * The number of operations of the 'Case' class. + * + * + * @generated + * @ordered + */ + int CASE_OPERATION_COUNT = EXPRESSION_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.LetExpressionImpl Let Expression}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.LetExpressionImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getLetExpression() + * @generated + */ + int LET_EXPRESSION = 19; + + /** + * The feature id for the 'Exists Variables' containment reference list. + * + * + * @generated + * @ordered + */ + int LET_EXPRESSION__EXISTS_VARIABLES = EXPRESSION__EXISTS_VARIABLES; + + /** + * The feature id for the 'Bindings' containment reference list. + * + * + * @generated + * @ordered + */ + int LET_EXPRESSION__BINDINGS = EXPRESSION_FEATURE_COUNT + 0; + + /** + * The feature id for the 'Body' containment reference. + * + * + * @generated + * @ordered + */ + int LET_EXPRESSION__BODY = EXPRESSION_FEATURE_COUNT + 1; + + /** + * The number of structural features of the 'Let Expression' class. + * + * + * @generated + * @ordered + */ + int LET_EXPRESSION_FEATURE_COUNT = EXPRESSION_FEATURE_COUNT + 2; + + /** + * The number of operations of the 'Let Expression' class. + * + * + * @generated + * @ordered + */ + int LET_EXPRESSION_OPERATION_COUNT = EXPRESSION_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.LetBindingImpl Let Binding}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.LetBindingImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getLetBinding() + * @generated + */ + int LET_BINDING = 20; + + /** + * The feature id for the 'Value' containment reference. + * + * + * @generated + * @ordered + */ + int LET_BINDING__VALUE = 0; + + /** + * The feature id for the 'Variable' containment reference. + * + * + * @generated + * @ordered + */ + int LET_BINDING__VARIABLE = 1; + + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + int LET_BINDING__NAME = 2; + + /** + * The feature id for the 'Type' reference. + * + * + * @generated + * @ordered + */ + int LET_BINDING__TYPE = 3; + + /** + * The number of structural features of the 'Let Binding' class. + * + * + * @generated + * @ordered + */ + int LET_BINDING_FEATURE_COUNT = 4; + + /** + * The number of operations of the 'Let Binding' class. + * + * + * @generated + * @ordered + */ + int LET_BINDING_OPERATION_COUNT = 0; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.LiteralImpl Literal}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.LiteralImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getLiteral() + * @generated + */ + int LITERAL = 21; + + /** + * The feature id for the 'Exists Variables' containment reference list. + * + * + * @generated + * @ordered + */ + int LITERAL__EXISTS_VARIABLES = EXPRESSION__EXISTS_VARIABLES; + + /** + * The number of structural features of the 'Literal' class. + * + * + * @generated + * @ordered + */ + int LITERAL_FEATURE_COUNT = EXPRESSION_FEATURE_COUNT + 0; + + /** + * The number of operations of the 'Literal' class. + * + * + * @generated + * @ordered + */ + int LITERAL_OPERATION_COUNT = EXPRESSION_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.IntLiteralImpl Int Literal}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.IntLiteralImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getIntLiteral() + * @generated + */ + int INT_LITERAL = 22; + + /** + * The feature id for the 'Exists Variables' containment reference list. + * + * + * @generated + * @ordered + */ + int INT_LITERAL__EXISTS_VARIABLES = LITERAL__EXISTS_VARIABLES; + + /** + * The feature id for the 'Value' attribute. + * + * + * @generated + * @ordered + */ + int INT_LITERAL__VALUE = LITERAL_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'Int Literal' class. + * + * + * @generated + * @ordered + */ + int INT_LITERAL_FEATURE_COUNT = LITERAL_FEATURE_COUNT + 1; + + /** + * The number of operations of the 'Int Literal' class. + * + * + * @generated + * @ordered + */ + int INT_LITERAL_OPERATION_COUNT = LITERAL_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.RealLiteralImpl Real Literal}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.RealLiteralImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getRealLiteral() + * @generated + */ + int REAL_LITERAL = 23; + + /** + * The feature id for the 'Exists Variables' containment reference list. + * + * + * @generated + * @ordered + */ + int REAL_LITERAL__EXISTS_VARIABLES = LITERAL__EXISTS_VARIABLES; + + /** + * The feature id for the 'Value' attribute. + * + * + * @generated + * @ordered + */ + int REAL_LITERAL__VALUE = LITERAL_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'Real Literal' class. + * + * + * @generated + * @ordered + */ + int REAL_LITERAL_FEATURE_COUNT = LITERAL_FEATURE_COUNT + 1; + + /** + * The number of operations of the 'Real Literal' class. + * + * + * @generated + * @ordered + */ + int REAL_LITERAL_OPERATION_COUNT = LITERAL_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.StringLiteralImpl String Literal}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.StringLiteralImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getStringLiteral() + * @generated + */ + int STRING_LITERAL = 24; + + /** + * The feature id for the 'Exists Variables' containment reference list. + * + * + * @generated + * @ordered + */ + int STRING_LITERAL__EXISTS_VARIABLES = LITERAL__EXISTS_VARIABLES; + + /** + * The feature id for the 'Value' attribute. + * + * + * @generated + * @ordered + */ + int STRING_LITERAL__VALUE = LITERAL_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'String Literal' class. + * + * + * @generated + * @ordered + */ + int STRING_LITERAL_FEATURE_COUNT = LITERAL_FEATURE_COUNT + 1; + + /** + * The number of operations of the 'String Literal' class. + * + * + * @generated + * @ordered + */ + int STRING_LITERAL_OPERATION_COUNT = LITERAL_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.LogicLiteralImpl Logic Literal}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.LogicLiteralImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getLogicLiteral() + * @generated + */ + int LOGIC_LITERAL = 25; + + /** + * The feature id for the 'Exists Variables' containment reference list. + * + * + * @generated + * @ordered + */ + int LOGIC_LITERAL__EXISTS_VARIABLES = LITERAL__EXISTS_VARIABLES; + + /** + * The feature id for the 'Value' attribute. + * + * + * @generated + * @ordered + */ + int LOGIC_LITERAL__VALUE = LITERAL_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'Logic Literal' class. + * + * + * @generated + * @ordered + */ + int LOGIC_LITERAL_FEATURE_COUNT = LITERAL_FEATURE_COUNT + 1; + + /** + * The number of operations of the 'Logic Literal' class. + * + * + * @generated + * @ordered + */ + int LOGIC_LITERAL_OPERATION_COUNT = LITERAL_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.EmptyLiteralImpl Empty Literal}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.EmptyLiteralImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getEmptyLiteral() + * @generated + */ + int EMPTY_LITERAL = 26; + + /** + * The feature id for the 'Exists Variables' containment reference list. + * + * + * @generated + * @ordered + */ + int EMPTY_LITERAL__EXISTS_VARIABLES = LITERAL__EXISTS_VARIABLES; + + /** + * The number of structural features of the 'Empty Literal' class. + * + * + * @generated + * @ordered + */ + int EMPTY_LITERAL_FEATURE_COUNT = LITERAL_FEATURE_COUNT + 0; + + /** + * The number of operations of the 'Empty Literal' class. + * + * + * @generated + * @ordered + */ + int EMPTY_LITERAL_OPERATION_COUNT = LITERAL_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.CastExpressionImpl Cast Expression}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.CastExpressionImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getCastExpression() + * @generated + */ + int CAST_EXPRESSION = 27; + + /** + * The feature id for the 'Exists Variables' containment reference list. + * + * + * @generated + * @ordered + */ + int CAST_EXPRESSION__EXISTS_VARIABLES = EXPRESSION__EXISTS_VARIABLES; + + /** + * The feature id for the 'Body' containment reference. + * + * + * @generated + * @ordered + */ + int CAST_EXPRESSION__BODY = EXPRESSION_FEATURE_COUNT + 0; + + /** + * The feature id for the 'Target Type' reference. + * + * + * @generated + * @ordered + */ + int CAST_EXPRESSION__TARGET_TYPE = EXPRESSION_FEATURE_COUNT + 1; + + /** + * The number of structural features of the 'Cast Expression' class. + * + * + * @generated + * @ordered + */ + int CAST_EXPRESSION_FEATURE_COUNT = EXPRESSION_FEATURE_COUNT + 2; + + /** + * The number of operations of the 'Cast Expression' class. + * + * + * @generated + * @ordered + */ + int CAST_EXPRESSION_OPERATION_COUNT = EXPRESSION_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.AggregateExpressionImpl Aggregate Expression}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.AggregateExpressionImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getAggregateExpression() + * @generated + */ + int AGGREGATE_EXPRESSION = 28; + + /** + * The feature id for the 'Exists Variables' containment reference list. + * + * + * @generated + * @ordered + */ + int AGGREGATE_EXPRESSION__EXISTS_VARIABLES = EXPRESSION__EXISTS_VARIABLES; + + /** + * The feature id for the 'Forall Variables' containment reference list. + * + * + * @generated + * @ordered + */ + int AGGREGATE_EXPRESSION__FORALL_VARIABLES = EXPRESSION_FEATURE_COUNT + 0; + + /** + * The feature id for the 'Condition' containment reference. + * + * + * @generated + * @ordered + */ + int AGGREGATE_EXPRESSION__CONDITION = EXPRESSION_FEATURE_COUNT + 1; + + /** + * The number of structural features of the 'Aggregate Expression' class. + * + * + * @generated + * @ordered + */ + int AGGREGATE_EXPRESSION_FEATURE_COUNT = EXPRESSION_FEATURE_COUNT + 2; + + /** + * The number of operations of the 'Aggregate Expression' class. + * + * + * @generated + * @ordered + */ + int AGGREGATE_EXPRESSION_OPERATION_COUNT = EXPRESSION_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.CountImpl Count}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.CountImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getCount() + * @generated + */ + int COUNT = 29; + + /** + * The feature id for the 'Exists Variables' containment reference list. + * + * + * @generated + * @ordered + */ + int COUNT__EXISTS_VARIABLES = AGGREGATE_EXPRESSION__EXISTS_VARIABLES; + + /** + * The feature id for the 'Forall Variables' containment reference list. + * + * + * @generated + * @ordered + */ + int COUNT__FORALL_VARIABLES = AGGREGATE_EXPRESSION__FORALL_VARIABLES; + + /** + * The feature id for the 'Condition' containment reference. + * + * + * @generated + * @ordered + */ + int COUNT__CONDITION = AGGREGATE_EXPRESSION__CONDITION; + + /** + * The number of structural features of the 'Count' class. + * + * + * @generated + * @ordered + */ + int COUNT_FEATURE_COUNT = AGGREGATE_EXPRESSION_FEATURE_COUNT + 0; + + /** + * The number of operations of the 'Count' class. + * + * + * @generated + * @ordered + */ + int COUNT_OPERATION_COUNT = AGGREGATE_EXPRESSION_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.AggregationImpl Aggregation}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.AggregationImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getAggregation() + * @generated + */ + int AGGREGATION = 30; + + /** + * The feature id for the 'Exists Variables' containment reference list. + * + * + * @generated + * @ordered + */ + int AGGREGATION__EXISTS_VARIABLES = AGGREGATE_EXPRESSION__EXISTS_VARIABLES; + + /** + * The feature id for the 'Forall Variables' containment reference list. + * + * + * @generated + * @ordered + */ + int AGGREGATION__FORALL_VARIABLES = AGGREGATE_EXPRESSION__FORALL_VARIABLES; + + /** + * The feature id for the 'Condition' containment reference. + * + * + * @generated + * @ordered + */ + int AGGREGATION__CONDITION = AGGREGATE_EXPRESSION__CONDITION; + + /** + * The feature id for the 'Value' containment reference. + * + * + * @generated + * @ordered + */ + int AGGREGATION__VALUE = AGGREGATE_EXPRESSION_FEATURE_COUNT + 0; + + /** + * The feature id for the 'Op' reference. + * + * + * @generated + * @ordered + */ + int AGGREGATION__OP = AGGREGATE_EXPRESSION_FEATURE_COUNT + 1; + + /** + * The number of structural features of the 'Aggregation' class. + * + * + * @generated + * @ordered + */ + int AGGREGATION_FEATURE_COUNT = AGGREGATE_EXPRESSION_FEATURE_COUNT + 2; + + /** + * The number of operations of the 'Aggregation' class. + * + * + * @generated + * @ordered + */ + int AGGREGATION_OPERATION_COUNT = AGGREGATE_EXPRESSION_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ForallImpl Forall}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ForallImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getForall() + * @generated + */ + int FORALL = 31; + + /** + * The feature id for the 'Exists Variables' containment reference list. + * + * + * @generated + * @ordered + */ + int FORALL__EXISTS_VARIABLES = AGGREGATE_EXPRESSION__EXISTS_VARIABLES; + + /** + * The feature id for the 'Forall Variables' containment reference list. + * + * + * @generated + * @ordered + */ + int FORALL__FORALL_VARIABLES = AGGREGATE_EXPRESSION__FORALL_VARIABLES; + + /** + * The feature id for the 'Condition' containment reference. + * + * + * @generated + * @ordered + */ + int FORALL__CONDITION = AGGREGATE_EXPRESSION__CONDITION; + + /** + * The feature id for the 'Body' containment reference. + * + * + * @generated + * @ordered + */ + int FORALL__BODY = AGGREGATE_EXPRESSION_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'Forall' class. + * + * + * @generated + * @ordered + */ + int FORALL_FEATURE_COUNT = AGGREGATE_EXPRESSION_FEATURE_COUNT + 1; + + /** + * The number of operations of the 'Forall' class. + * + * + * @generated + * @ordered + */ + int FORALL_OPERATION_COUNT = AGGREGATE_EXPRESSION_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.TypeReferenceImpl Type Reference}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.TypeReferenceImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getTypeReference() + * @generated + */ + int TYPE_REFERENCE = 32; + + /** + * The feature id for the 'Force Object Type' attribute. + * + * + * @generated + * @ordered + */ + int TYPE_REFERENCE__FORCE_OBJECT_TYPE = 0; + + /** + * The feature id for the 'Type' reference. + * + * + * @generated + * @ordered + */ + int TYPE_REFERENCE__TYPE = 1; + + /** + * The number of structural features of the 'Type Reference' class. + * + * + * @generated + * @ordered + */ + int TYPE_REFERENCE_FEATURE_COUNT = 2; + + /** + * The number of operations of the 'Type Reference' class. + * + * + * @generated + * @ordered + */ + int TYPE_REFERENCE_OPERATION_COUNT = 0; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.InfinityLiteralImpl Infinity Literal}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.InfinityLiteralImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getInfinityLiteral() + * @generated + */ + int INFINITY_LITERAL = 33; + + /** + * The feature id for the 'Exists Variables' containment reference list. + * + * + * @generated + * @ordered + */ + int INFINITY_LITERAL__EXISTS_VARIABLES = LITERAL__EXISTS_VARIABLES; + + /** + * The number of structural features of the 'Infinity Literal' class. + * + * + * @generated + * @ordered + */ + int INFINITY_LITERAL_FEATURE_COUNT = LITERAL_FEATURE_COUNT + 0; + + /** + * The number of operations of the 'Infinity Literal' class. + * + * + * @generated + * @ordered + */ + int INFINITY_LITERAL_OPERATION_COUNT = LITERAL_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.IntervalImpl Interval}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.IntervalImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getInterval() + * @generated + */ + int INTERVAL = 34; + + /** + * The feature id for the 'Exists Variables' containment reference list. + * + * + * @generated + * @ordered + */ + int INTERVAL__EXISTS_VARIABLES = EXPRESSION__EXISTS_VARIABLES; + + /** + * The feature id for the 'Lower Bound' containment reference. + * + * + * @generated + * @ordered + */ + int INTERVAL__LOWER_BOUND = EXPRESSION_FEATURE_COUNT + 0; + + /** + * The feature id for the 'Upper Bound' containment reference. + * + * + * @generated + * @ordered + */ + int INTERVAL__UPPER_BOUND = EXPRESSION_FEATURE_COUNT + 1; + + /** + * The number of structural features of the 'Interval' class. + * + * + * @generated + * @ordered + */ + int INTERVAL_FEATURE_COUNT = EXPRESSION_FEATURE_COUNT + 2; + + /** + * The number of operations of the 'Interval' class. + * + * + * @generated + * @ordered + */ + int INTERVAL_OPERATION_COUNT = EXPRESSION_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.FunctorImpl Functor}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.FunctorImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getFunctor() + * @generated + */ + int FUNCTOR = 35; + + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + int FUNCTOR__NAME = SYMBOL__NAME; + + /** + * The feature id for the 'Parameters' containment reference list. + * + * + * @generated + * @ordered + */ + int FUNCTOR__PARAMETERS = SYMBOL_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'Functor' class. + * + * + * @generated + * @ordered + */ + int FUNCTOR_FEATURE_COUNT = SYMBOL_FEATURE_COUNT + 1; + + /** + * The number of operations of the 'Functor' class. + * + * + * @generated + * @ordered + */ + int FUNCTOR_OPERATION_COUNT = SYMBOL_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.RelationImpl Relation}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.RelationImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getRelation() + * @generated + */ + int RELATION = 36; + + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + int RELATION__NAME = FUNCTOR__NAME; + + /** + * The feature id for the 'Parameters' containment reference list. + * + * + * @generated + * @ordered + */ + int RELATION__PARAMETERS = FUNCTOR__PARAMETERS; + + /** + * The number of structural features of the 'Relation' class. + * + * + * @generated + * @ordered + */ + int RELATION_FEATURE_COUNT = FUNCTOR_FEATURE_COUNT + 0; + + /** + * The number of operations of the 'Relation' class. + * + * + * @generated + * @ordered + */ + int RELATION_OPERATION_COUNT = FUNCTOR_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.BaseRelationImpl Base Relation}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.BaseRelationImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getBaseRelation() + * @generated + */ + int BASE_RELATION = 37; + + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + int BASE_RELATION__NAME = RELATION__NAME; + + /** + * The feature id for the 'Parameters' containment reference list. + * + * + * @generated + * @ordered + */ + int BASE_RELATION__PARAMETERS = RELATION__PARAMETERS; + + /** + * The number of structural features of the 'Base Relation' class. + * + * + * @generated + * @ordered + */ + int BASE_RELATION_FEATURE_COUNT = RELATION_FEATURE_COUNT + 0; + + /** + * The number of operations of the 'Base Relation' class. + * + * + * @generated + * @ordered + */ + int BASE_RELATION_OPERATION_COUNT = RELATION_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.PredicateImpl Predicate}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.PredicateImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getPredicate() + * @generated + */ + int PREDICATE = 38; + + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + int PREDICATE__NAME = RELATION__NAME; + + /** + * The feature id for the 'Parameters' containment reference list. + * + * + * @generated + * @ordered + */ + int PREDICATE__PARAMETERS = RELATION__PARAMETERS; + + /** + * The number of structural features of the 'Predicate' class. + * + * + * @generated + * @ordered + */ + int PREDICATE_FEATURE_COUNT = RELATION_FEATURE_COUNT + 0; + + /** + * The number of operations of the 'Predicate' class. + * + * + * @generated + * @ordered + */ + int PREDICATE_OPERATION_COUNT = RELATION_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.DatatypeImpl Datatype}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.DatatypeImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getDatatype() + * @generated + */ + int DATATYPE = 39; + + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + int DATATYPE__NAME = RELATION__NAME; + + /** + * The feature id for the 'Parameters' containment reference list. + * + * + * @generated + * @ordered + */ + int DATATYPE__PARAMETERS = RELATION__PARAMETERS; + + /** + * The number of structural features of the 'Datatype' class. + * + * + * @generated + * @ordered + */ + int DATATYPE_FEATURE_COUNT = RELATION_FEATURE_COUNT + 0; + + /** + * The number of operations of the 'Datatype' class. + * + * + * @generated + * @ordered + */ + int DATATYPE_OPERATION_COUNT = RELATION_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.FunctionImpl Function}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.FunctionImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getFunction() + * @generated + */ + int FUNCTION = 40; + + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + int FUNCTION__NAME = FUNCTOR__NAME; + + /** + * The feature id for the 'Parameters' containment reference list. + * + * + * @generated + * @ordered + */ + int FUNCTION__PARAMETERS = FUNCTOR__PARAMETERS; + + /** + * The feature id for the 'Result Type' reference. + * + * + * @generated + * @ordered + */ + int FUNCTION__RESULT_TYPE = FUNCTOR_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'Function' class. + * + * + * @generated + * @ordered + */ + int FUNCTION_FEATURE_COUNT = FUNCTOR_FEATURE_COUNT + 1; + + /** + * The number of operations of the 'Function' class. + * + * + * @generated + * @ordered + */ + int FUNCTION_OPERATION_COUNT = FUNCTOR_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.MetricImpl Metric}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.MetricImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getMetric() + * @generated + */ + int METRIC = 41; + + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + int METRIC__NAME = FUNCTION__NAME; + + /** + * The feature id for the 'Parameters' containment reference list. + * + * + * @generated + * @ordered + */ + int METRIC__PARAMETERS = FUNCTION__PARAMETERS; + + /** + * The feature id for the 'Result Type' reference. + * + * + * @generated + * @ordered + */ + int METRIC__RESULT_TYPE = FUNCTION__RESULT_TYPE; + + /** + * The number of structural features of the 'Metric' class. + * + * + * @generated + * @ordered + */ + int METRIC_FEATURE_COUNT = FUNCTION_FEATURE_COUNT + 0; + + /** + * The number of operations of the 'Metric' class. + * + * + * @generated + * @ordered + */ + int METRIC_OPERATION_COUNT = FUNCTION_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.OperatorImpl Operator}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.OperatorImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getOperator() + * @generated + */ + int OPERATOR = 42; + + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + int OPERATOR__NAME = FUNCTION__NAME; + + /** + * The feature id for the 'Parameters' containment reference list. + * + * + * @generated + * @ordered + */ + int OPERATOR__PARAMETERS = FUNCTION__PARAMETERS; + + /** + * The feature id for the 'Result Type' reference. + * + * + * @generated + * @ordered + */ + int OPERATOR__RESULT_TYPE = FUNCTION__RESULT_TYPE; + + /** + * The number of structural features of the 'Operator' class. + * + * + * @generated + * @ordered + */ + int OPERATOR_FEATURE_COUNT = FUNCTION_FEATURE_COUNT + 0; + + /** + * The number of operations of the 'Operator' class. + * + * + * @generated + * @ordered + */ + int OPERATOR_OPERATION_COUNT = FUNCTION_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.NodeImpl Node}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.NodeImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getNode() + * @generated + */ + int NODE = 43; + + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + int NODE__NAME = SYMBOL__NAME; + + /** + * The feature id for the 'Named' attribute. + * + * + * @generated + * @ordered + */ + int NODE__NAMED = SYMBOL_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'Node' class. + * + * + * @generated + * @ordered + */ + int NODE_FEATURE_COUNT = SYMBOL_FEATURE_COUNT + 1; + + /** + * The number of operations of the 'Node' class. + * + * + * @generated + * @ordered + */ + int NODE_OPERATION_COUNT = SYMBOL_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.AbstractAssertionImpl Abstract Assertion}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.AbstractAssertionImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getAbstractAssertion() + * @generated + */ + int ABSTRACT_ASSERTION = 45; + + /** + * The feature id for the 'Expression' containment reference. + * + * + * @generated + * @ordered + */ + int ABSTRACT_ASSERTION__EXPRESSION = STATEMENT_FEATURE_COUNT + 0; + + /** + * The feature id for the 'Range' containment reference. + * + * + * @generated + * @ordered + */ + int ABSTRACT_ASSERTION__RANGE = STATEMENT_FEATURE_COUNT + 1; + + /** + * The number of structural features of the 'Abstract Assertion' class. + * + * + * @generated + * @ordered + */ + int ABSTRACT_ASSERTION_FEATURE_COUNT = STATEMENT_FEATURE_COUNT + 2; + + /** + * The number of operations of the 'Abstract Assertion' class. + * + * + * @generated + * @ordered + */ + int ABSTRACT_ASSERTION_OPERATION_COUNT = STATEMENT_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.FunctorDefinitonImpl Functor Definiton}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.FunctorDefinitonImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getFunctorDefiniton() + * @generated + */ + int FUNCTOR_DEFINITON = 46; + + /** + * The feature id for the 'Head' containment reference. + * + * + * @generated + * @ordered + */ + int FUNCTOR_DEFINITON__HEAD = STATEMENT_FEATURE_COUNT + 0; + + /** + * The feature id for the 'Body' containment reference. + * + * + * @generated + * @ordered + */ + int FUNCTOR_DEFINITON__BODY = STATEMENT_FEATURE_COUNT + 1; + + /** + * The number of structural features of the 'Functor Definiton' class. + * + * + * @generated + * @ordered + */ + int FUNCTOR_DEFINITON_FEATURE_COUNT = STATEMENT_FEATURE_COUNT + 2; + + /** + * The number of operations of the 'Functor Definiton' class. + * + * + * @generated + * @ordered + */ + int FUNCTOR_DEFINITON_OPERATION_COUNT = STATEMENT_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.PredicateDefinitionImpl Predicate Definition}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.PredicateDefinitionImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getPredicateDefinition() + * @generated + */ + int PREDICATE_DEFINITION = 47; + + /** + * The feature id for the 'Head' containment reference. + * + * + * @generated + * @ordered + */ + int PREDICATE_DEFINITION__HEAD = FUNCTOR_DEFINITON__HEAD; + + /** + * The feature id for the 'Body' containment reference. + * + * + * @generated + * @ordered + */ + int PREDICATE_DEFINITION__BODY = FUNCTOR_DEFINITON__BODY; + + /** + * The feature id for the 'Error' attribute. + * + * + * @generated + * @ordered + */ + int PREDICATE_DEFINITION__ERROR = FUNCTOR_DEFINITON_FEATURE_COUNT + 0; + + /** + * The feature id for the 'Functional' attribute. + * + * + * @generated + * @ordered + */ + int PREDICATE_DEFINITION__FUNCTIONAL = FUNCTOR_DEFINITON_FEATURE_COUNT + 1; + + /** + * The number of structural features of the 'Predicate Definition' class. + * + * + * @generated + * @ordered + */ + int PREDICATE_DEFINITION_FEATURE_COUNT = FUNCTOR_DEFINITON_FEATURE_COUNT + 2; + + /** + * The number of operations of the 'Predicate Definition' class. + * + * + * @generated + * @ordered + */ + int PREDICATE_DEFINITION_OPERATION_COUNT = FUNCTOR_DEFINITON_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.FunctionDefinitionImpl Function Definition}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.FunctionDefinitionImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getFunctionDefinition() + * @generated + */ + int FUNCTION_DEFINITION = 48; + + /** + * The feature id for the 'Head' containment reference. + * + * + * @generated + * @ordered + */ + int FUNCTION_DEFINITION__HEAD = FUNCTOR_DEFINITON__HEAD; + + /** + * The feature id for the 'Body' containment reference. + * + * + * @generated + * @ordered + */ + int FUNCTION_DEFINITION__BODY = FUNCTOR_DEFINITON__BODY; + + /** + * The feature id for the 'Result Type' reference. + * + * + * @generated + * @ordered + */ + int FUNCTION_DEFINITION__RESULT_TYPE = FUNCTOR_DEFINITON_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'Function Definition' class. + * + * + * @generated + * @ordered + */ + int FUNCTION_DEFINITION_FEATURE_COUNT = FUNCTOR_DEFINITON_FEATURE_COUNT + 1; + + /** + * The number of operations of the 'Function Definition' class. + * + * + * @generated + * @ordered + */ + int FUNCTION_DEFINITION_OPERATION_COUNT = FUNCTOR_DEFINITON_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.AttributeImpl Attribute}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.AttributeImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getAttribute() + * @generated + */ + int ATTRIBUTE = 49; + + /** + * The feature id for the 'Target' reference. + * + * + * @generated + * @ordered + */ + int ATTRIBUTE__TARGET = STATEMENT_FEATURE_COUNT + 0; + + /** + * The feature id for the 'Kind' attribute. + * + * + * @generated + * @ordered + */ + int ATTRIBUTE__KIND = STATEMENT_FEATURE_COUNT + 1; + + /** + * The number of structural features of the 'Attribute' class. + * + * + * @generated + * @ordered + */ + int ATTRIBUTE_FEATURE_COUNT = STATEMENT_FEATURE_COUNT + 2; + + /** + * The number of operations of the 'Attribute' class. + * + * + * @generated + * @ordered + */ + int ATTRIBUTE_OPERATION_COUNT = STATEMENT_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExternDeclarationImpl Extern Declaration}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ExternDeclarationImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getExternDeclaration() + * @generated + */ + int EXTERN_DECLARATION = 50; + + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + int EXTERN_DECLARATION__NAME = STATEMENT_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'Extern Declaration' class. + * + * + * @generated + * @ordered + */ + int EXTERN_DECLARATION_FEATURE_COUNT = STATEMENT_FEATURE_COUNT + 1; + + /** + * The number of operations of the 'Extern Declaration' class. + * + * + * @generated + * @ordered + */ + int EXTERN_DECLARATION_OPERATION_COUNT = STATEMENT_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExternFunctorDeclarationImpl Extern Functor Declaration}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ExternFunctorDeclarationImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getExternFunctorDeclaration() + * @generated + */ + int EXTERN_FUNCTOR_DECLARATION = 51; + + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + int EXTERN_FUNCTOR_DECLARATION__NAME = EXTERN_DECLARATION__NAME; + + /** + * The feature id for the 'Argument List' containment reference. + * + * + * @generated + * @ordered + */ + int EXTERN_FUNCTOR_DECLARATION__ARGUMENT_LIST = EXTERN_DECLARATION_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'Extern Functor Declaration' class. + * + * + * @generated + * @ordered + */ + int EXTERN_FUNCTOR_DECLARATION_FEATURE_COUNT = EXTERN_DECLARATION_FEATURE_COUNT + 1; + + /** + * The number of operations of the 'Extern Functor Declaration' class. + * + * + * @generated + * @ordered + */ + int EXTERN_FUNCTOR_DECLARATION_OPERATION_COUNT = EXTERN_DECLARATION_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExternPredicateDeclarationImpl Extern Predicate Declaration}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ExternPredicateDeclarationImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getExternPredicateDeclaration() + * @generated + */ + int EXTERN_PREDICATE_DECLARATION = 52; + + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + int EXTERN_PREDICATE_DECLARATION__NAME = EXTERN_FUNCTOR_DECLARATION__NAME; + + /** + * The feature id for the 'Argument List' containment reference. + * + * + * @generated + * @ordered + */ + int EXTERN_PREDICATE_DECLARATION__ARGUMENT_LIST = EXTERN_FUNCTOR_DECLARATION__ARGUMENT_LIST; + + /** + * The feature id for the 'Error' attribute. + * + * + * @generated + * @ordered + */ + int EXTERN_PREDICATE_DECLARATION__ERROR = EXTERN_FUNCTOR_DECLARATION_FEATURE_COUNT + 0; + + /** + * The feature id for the 'Functional' attribute. + * + * + * @generated + * @ordered + */ + int EXTERN_PREDICATE_DECLARATION__FUNCTIONAL = EXTERN_FUNCTOR_DECLARATION_FEATURE_COUNT + 1; + + /** + * The number of structural features of the 'Extern Predicate Declaration' class. + * + * + * @generated + * @ordered + */ + int EXTERN_PREDICATE_DECLARATION_FEATURE_COUNT = EXTERN_FUNCTOR_DECLARATION_FEATURE_COUNT + 2; + + /** + * The number of operations of the 'Extern Predicate Declaration' class. + * + * + * @generated + * @ordered + */ + int EXTERN_PREDICATE_DECLARATION_OPERATION_COUNT = EXTERN_FUNCTOR_DECLARATION_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExternFunctionDeclarationImpl Extern Function Declaration}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ExternFunctionDeclarationImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getExternFunctionDeclaration() + * @generated + */ + int EXTERN_FUNCTION_DECLARATION = 53; + + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + int EXTERN_FUNCTION_DECLARATION__NAME = EXTERN_FUNCTOR_DECLARATION__NAME; + + /** + * The feature id for the 'Argument List' containment reference. + * + * + * @generated + * @ordered + */ + int EXTERN_FUNCTION_DECLARATION__ARGUMENT_LIST = EXTERN_FUNCTOR_DECLARATION__ARGUMENT_LIST; + + /** + * The feature id for the 'Result Type' reference. + * + * + * @generated + * @ordered + */ + int EXTERN_FUNCTION_DECLARATION__RESULT_TYPE = EXTERN_FUNCTOR_DECLARATION_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'Extern Function Declaration' class. + * + * + * @generated + * @ordered + */ + int EXTERN_FUNCTION_DECLARATION_FEATURE_COUNT = EXTERN_FUNCTOR_DECLARATION_FEATURE_COUNT + 1; + + /** + * The number of operations of the 'Extern Function Declaration' class. + * + * + * @generated + * @ordered + */ + int EXTERN_FUNCTION_DECLARATION_OPERATION_COUNT = EXTERN_FUNCTOR_DECLARATION_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExternAggregationOperatorDeclarationImpl Extern Aggregation Operator Declaration}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ExternAggregationOperatorDeclarationImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getExternAggregationOperatorDeclaration() + * @generated + */ + int EXTERN_AGGREGATION_OPERATOR_DECLARATION = 54; + + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + int EXTERN_AGGREGATION_OPERATOR_DECLARATION__NAME = EXTERN_DECLARATION__NAME; + + /** + * The feature id for the 'Argument Type' reference. + * + * + * @generated + * @ordered + */ + int EXTERN_AGGREGATION_OPERATOR_DECLARATION__ARGUMENT_TYPE = EXTERN_DECLARATION_FEATURE_COUNT + 0; + + /** + * The feature id for the 'Result Type' reference. + * + * + * @generated + * @ordered + */ + int EXTERN_AGGREGATION_OPERATOR_DECLARATION__RESULT_TYPE = EXTERN_DECLARATION_FEATURE_COUNT + 1; + + /** + * The number of structural features of the 'Extern Aggregation Operator Declaration' class. + * + * + * @generated + * @ordered + */ + int EXTERN_AGGREGATION_OPERATOR_DECLARATION_FEATURE_COUNT = EXTERN_DECLARATION_FEATURE_COUNT + 2; + + /** + * The number of operations of the 'Extern Aggregation Operator Declaration' class. + * + * + * @generated + * @ordered + */ + int EXTERN_AGGREGATION_OPERATOR_DECLARATION_OPERATION_COUNT = EXTERN_DECLARATION_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExternDatatypeDeclarationImpl Extern Datatype Declaration}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ExternDatatypeDeclarationImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getExternDatatypeDeclaration() + * @generated + */ + int EXTERN_DATATYPE_DECLARATION = 55; + + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + int EXTERN_DATATYPE_DECLARATION__NAME = EXTERN_DECLARATION__NAME; + + /** + * The number of structural features of the 'Extern Datatype Declaration' class. + * + * + * @generated + * @ordered + */ + int EXTERN_DATATYPE_DECLARATION_FEATURE_COUNT = EXTERN_DECLARATION_FEATURE_COUNT + 0; + + /** + * The number of operations of the 'Extern Datatype Declaration' class. + * + * + * @generated + * @ordered + */ + int EXTERN_DATATYPE_DECLARATION_OPERATION_COUNT = EXTERN_DECLARATION_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ClassDeclarationImpl Class Declaration}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ClassDeclarationImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getClassDeclaration() + * @generated + */ + int CLASS_DECLARATION = 56; + + /** + * The feature id for the 'Fields' containment reference list. + * + * + * @generated + * @ordered + */ + int CLASS_DECLARATION__FIELDS = STATEMENT_FEATURE_COUNT + 0; + + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + int CLASS_DECLARATION__NAME = STATEMENT_FEATURE_COUNT + 1; + + /** + * The feature id for the 'Abstract' attribute. + * + * + * @generated + * @ordered + */ + int CLASS_DECLARATION__ABSTRACT = STATEMENT_FEATURE_COUNT + 2; + + /** + * The feature id for the 'Supertypes' reference list. + * + * + * @generated + * @ordered + */ + int CLASS_DECLARATION__SUPERTYPES = STATEMENT_FEATURE_COUNT + 3; + + /** + * The feature id for the 'Root' attribute. + * + * + * @generated + * @ordered + */ + int CLASS_DECLARATION__ROOT = STATEMENT_FEATURE_COUNT + 4; + + /** + * The number of structural features of the 'Class Declaration' class. + * + * + * @generated + * @ordered + */ + int CLASS_DECLARATION_FEATURE_COUNT = STATEMENT_FEATURE_COUNT + 5; + + /** + * The number of operations of the 'Class Declaration' class. + * + * + * @generated + * @ordered + */ + int CLASS_DECLARATION_OPERATION_COUNT = STATEMENT_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.EnumDeclarationImpl Enum Declaration}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.EnumDeclarationImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getEnumDeclaration() + * @generated + */ + int ENUM_DECLARATION = 57; + + /** + * The feature id for the 'Literals' containment reference list. + * + * + * @generated + * @ordered + */ + int ENUM_DECLARATION__LITERALS = STATEMENT_FEATURE_COUNT + 0; + + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + int ENUM_DECLARATION__NAME = STATEMENT_FEATURE_COUNT + 1; + + /** + * The number of structural features of the 'Enum Declaration' class. + * + * + * @generated + * @ordered + */ + int ENUM_DECLARATION_FEATURE_COUNT = STATEMENT_FEATURE_COUNT + 2; + + /** + * The number of operations of the 'Enum Declaration' class. + * + * + * @generated + * @ordered + */ + int ENUM_DECLARATION_OPERATION_COUNT = STATEMENT_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.EnumLiteralImpl Enum Literal}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.EnumLiteralImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getEnumLiteral() + * @generated + */ + int ENUM_LITERAL = 58; + + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + int ENUM_LITERAL__NAME = 0; + + /** + * The number of structural features of the 'Enum Literal' class. + * + * + * @generated + * @ordered + */ + int ENUM_LITERAL_FEATURE_COUNT = 1; + + /** + * The number of operations of the 'Enum Literal' class. + * + * + * @generated + * @ordered + */ + int ENUM_LITERAL_OPERATION_COUNT = 0; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.FieldImpl Field}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.FieldImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getField() + * @generated + */ + int FIELD = 59; + + /** + * The feature id for the 'Containment' attribute. + * + * + * @generated + * @ordered + */ + int FIELD__CONTAINMENT = 0; + + /** + * The feature id for the 'Cross Reference' attribute. + * + * + * @generated + * @ordered + */ + int FIELD__CROSS_REFERENCE = 1; + + /** + * The feature id for the 'Opposite' reference. + * + * + * @generated + * @ordered + */ + int FIELD__OPPOSITE = 2; + + /** + * The feature id for the 'Multiplicity' containment reference. + * + * + * @generated + * @ordered + */ + int FIELD__MULTIPLICITY = 3; + + /** + * The feature id for the 'Type' reference. + * + * + * @generated + * @ordered + */ + int FIELD__TYPE = 4; + + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + int FIELD__NAME = 5; + + /** + * The number of structural features of the 'Field' class. + * + * + * @generated + * @ordered + */ + int FIELD_FEATURE_COUNT = 6; + + /** + * The number of operations of the 'Field' class. + * + * + * @generated + * @ordered + */ + int FIELD_OPERATION_COUNT = 0; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.MultiplicityImpl Multiplicity}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.MultiplicityImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getMultiplicity() + * @generated + */ + int MULTIPLICITY = 60; + + /** + * The number of structural features of the 'Multiplicity' class. + * + * + * @generated + * @ordered + */ + int MULTIPLICITY_FEATURE_COUNT = 0; + + /** + * The number of operations of the 'Multiplicity' class. + * + * + * @generated + * @ordered + */ + int MULTIPLICITY_OPERATION_COUNT = 0; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.DefaultAssertionImpl Default Assertion}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.DefaultAssertionImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getDefaultAssertion() + * @generated + */ + int DEFAULT_ASSERTION = 61; + + /** + * The feature id for the 'Expression' containment reference. + * + * + * @generated + * @ordered + */ + int DEFAULT_ASSERTION__EXPRESSION = ABSTRACT_ASSERTION__EXPRESSION; + + /** + * The feature id for the 'Range' containment reference. + * + * + * @generated + * @ordered + */ + int DEFAULT_ASSERTION__RANGE = ABSTRACT_ASSERTION__RANGE; + + /** + * The number of structural features of the 'Default Assertion' class. + * + * + * @generated + * @ordered + */ + int DEFAULT_ASSERTION_FEATURE_COUNT = ABSTRACT_ASSERTION_FEATURE_COUNT + 0; + + /** + * The number of operations of the 'Default Assertion' class. + * + * + * @generated + * @ordered + */ + int DEFAULT_ASSERTION_OPERATION_COUNT = ABSTRACT_ASSERTION_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.AssertionImpl Assertion}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.AssertionImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getAssertion() + * @generated + */ + int ASSERTION = 62; + + /** + * The feature id for the 'Expression' containment reference. + * + * + * @generated + * @ordered + */ + int ASSERTION__EXPRESSION = ABSTRACT_ASSERTION__EXPRESSION; + + /** + * The feature id for the 'Range' containment reference. + * + * + * @generated + * @ordered + */ + int ASSERTION__RANGE = ABSTRACT_ASSERTION__RANGE; + + /** + * The number of structural features of the 'Assertion' class. + * + * + * @generated + * @ordered + */ + int ASSERTION_FEATURE_COUNT = ABSTRACT_ASSERTION_FEATURE_COUNT + 0; + + /** + * The number of operations of the 'Assertion' class. + * + * + * @generated + * @ordered + */ + int ASSERTION_OPERATION_COUNT = ABSTRACT_ASSERTION_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.UnboundedMultiplicityImpl Unbounded Multiplicity}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.UnboundedMultiplicityImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getUnboundedMultiplicity() + * @generated + */ + int UNBOUNDED_MULTIPLICITY = 63; + + /** + * The number of structural features of the 'Unbounded Multiplicity' class. + * + * + * @generated + * @ordered + */ + int UNBOUNDED_MULTIPLICITY_FEATURE_COUNT = MULTIPLICITY_FEATURE_COUNT + 0; + + /** + * The number of operations of the 'Unbounded Multiplicity' class. + * + * + * @generated + * @ordered + */ + int UNBOUNDED_MULTIPLICITY_OPERATION_COUNT = MULTIPLICITY_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExactMultiplicityImpl Exact Multiplicity}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ExactMultiplicityImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getExactMultiplicity() + * @generated + */ + int EXACT_MULTIPLICITY = 64; + + /** + * The feature id for the 'Value' attribute. + * + * + * @generated + * @ordered + */ + int EXACT_MULTIPLICITY__VALUE = MULTIPLICITY_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'Exact Multiplicity' class. + * + * + * @generated + * @ordered + */ + int EXACT_MULTIPLICITY_FEATURE_COUNT = MULTIPLICITY_FEATURE_COUNT + 1; + + /** + * The number of operations of the 'Exact Multiplicity' class. + * + * + * @generated + * @ordered + */ + int EXACT_MULTIPLICITY_OPERATION_COUNT = MULTIPLICITY_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.BoundedMultiplicityImpl Bounded Multiplicity}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.BoundedMultiplicityImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getBoundedMultiplicity() + * @generated + */ + int BOUNDED_MULTIPLICITY = 65; + + /** + * The feature id for the 'Lower Bound' attribute. + * + * + * @generated + * @ordered + */ + int BOUNDED_MULTIPLICITY__LOWER_BOUND = MULTIPLICITY_FEATURE_COUNT + 0; + + /** + * The feature id for the 'Upper Bound' attribute. + * + * + * @generated + * @ordered + */ + int BOUNDED_MULTIPLICITY__UPPER_BOUND = MULTIPLICITY_FEATURE_COUNT + 1; + + /** + * The number of structural features of the 'Bounded Multiplicity' class. + * + * + * @generated + * @ordered + */ + int BOUNDED_MULTIPLICITY_FEATURE_COUNT = MULTIPLICITY_FEATURE_COUNT + 2; + + /** + * The number of operations of the 'Bounded Multiplicity' class. + * + * + * @generated + * @ordered + */ + int BOUNDED_MULTIPLICITY_OPERATION_COUNT = MULTIPLICITY_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.InlinePredicateAttrributes Inline Predicate Attrributes}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.InlinePredicateAttrributes + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getInlinePredicateAttrributes() + * @generated + */ + int INLINE_PREDICATE_ATTRRIBUTES = 66; + + /** + * The feature id for the 'Error' attribute. + * + * + * @generated + * @ordered + */ + int INLINE_PREDICATE_ATTRRIBUTES__ERROR = 0; + + /** + * The feature id for the 'Functional' attribute. + * + * + * @generated + * @ordered + */ + int INLINE_PREDICATE_ATTRRIBUTES__FUNCTIONAL = 1; + + /** + * The number of structural features of the 'Inline Predicate Attrributes' class. + * + * + * @generated + * @ordered + */ + int INLINE_PREDICATE_ATTRRIBUTES_FEATURE_COUNT = 2; + + /** + * The number of operations of the 'Inline Predicate Attrributes' class. + * + * + * @generated + * @ordered + */ + int INLINE_PREDICATE_ATTRRIBUTES_OPERATION_COUNT = 0; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.AggregationOperatorImpl Aggregation Operator}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.AggregationOperatorImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getAggregationOperator() + * @generated + */ + int AGGREGATION_OPERATOR = 67; + + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + int AGGREGATION_OPERATOR__NAME = SYMBOL__NAME; + + /** + * The feature id for the 'Argument Type' reference. + * + * + * @generated + * @ordered + */ + int AGGREGATION_OPERATOR__ARGUMENT_TYPE = SYMBOL_FEATURE_COUNT + 0; + + /** + * The feature id for the 'Result Type' reference. + * + * + * @generated + * @ordered + */ + int AGGREGATION_OPERATOR__RESULT_TYPE = SYMBOL_FEATURE_COUNT + 1; + + /** + * The number of structural features of the 'Aggregation Operator' class. + * + * + * @generated + * @ordered + */ + int AGGREGATION_OPERATOR_FEATURE_COUNT = SYMBOL_FEATURE_COUNT + 2; + + /** + * The number of operations of the 'Aggregation Operator' class. + * + * + * @generated + * @ordered + */ + int AGGREGATION_OPERATOR_OPERATION_COUNT = SYMBOL_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ProblemImpl Problem}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ProblemImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getProblem() + * @generated + */ + int PROBLEM = 68; + + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + int PROBLEM__NAME = 0; + + /** + * The feature id for the 'Statements' containment reference list. + * + * + * @generated + * @ordered + */ + int PROBLEM__STATEMENTS = 1; + + /** + * The feature id for the 'Symbols' containment reference list. + * + * + * @generated + * @ordered + */ + int PROBLEM__SYMBOLS = 2; + + /** + * The feature id for the 'Imports' containment reference list. + * + * + * @generated + * @ordered + */ + int PROBLEM__IMPORTS = 3; + + /** + * The number of structural features of the 'Problem' class. + * + * + * @generated + * @ordered + */ + int PROBLEM_FEATURE_COUNT = 4; + + /** + * The number of operations of the 'Problem' class. + * + * + * @generated + * @ordered + */ + int PROBLEM_OPERATION_COUNT = 0; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.TypedStarArgumentImpl Typed Star Argument}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.TypedStarArgumentImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getTypedStarArgument() + * @generated + */ + int TYPED_STAR_ARGUMENT = 69; + + /** + * The feature id for the 'Type Reference' containment reference. + * + * + * @generated + * @ordered + */ + int TYPED_STAR_ARGUMENT__TYPE_REFERENCE = TYPED_ARGUMENT__TYPE_REFERENCE; + + /** + * The number of structural features of the 'Typed Star Argument' class. + * + * + * @generated + * @ordered + */ + int TYPED_STAR_ARGUMENT_FEATURE_COUNT = TYPED_ARGUMENT_FEATURE_COUNT + 0; + + /** + * The number of operations of the 'Typed Star Argument' class. + * + * + * @generated + * @ordered + */ + int TYPED_STAR_ARGUMENT_OPERATION_COUNT = TYPED_ARGUMENT_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.TypedVariableArgumentImpl Typed Variable Argument}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.TypedVariableArgumentImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getTypedVariableArgument() + * @generated + */ + int TYPED_VARIABLE_ARGUMENT = 70; + + /** + * The feature id for the 'Type Reference' containment reference. + * + * + * @generated + * @ordered + */ + int TYPED_VARIABLE_ARGUMENT__TYPE_REFERENCE = TYPED_ARGUMENT__TYPE_REFERENCE; + + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + int TYPED_VARIABLE_ARGUMENT__NAME = TYPED_ARGUMENT_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'Typed Variable Argument' class. + * + * + * @generated + * @ordered + */ + int TYPED_VARIABLE_ARGUMENT_FEATURE_COUNT = TYPED_ARGUMENT_FEATURE_COUNT + 1; + + /** + * The number of operations of the 'Typed Variable Argument' class. + * + * + * @generated + * @ordered + */ + int TYPED_VARIABLE_ARGUMENT_OPERATION_COUNT = TYPED_ARGUMENT_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.UnnamedErrorPredicateDefintionImpl Unnamed Error Predicate Defintion}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.UnnamedErrorPredicateDefintionImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getUnnamedErrorPredicateDefintion() + * @generated + */ + int UNNAMED_ERROR_PREDICATE_DEFINTION = 71; + + /** + * The feature id for the 'Argument List' containment reference. + * + * + * @generated + * @ordered + */ + int UNNAMED_ERROR_PREDICATE_DEFINTION__ARGUMENT_LIST = STATEMENT_FEATURE_COUNT + 0; + + /** + * The feature id for the 'Body' containment reference. + * + * + * @generated + * @ordered + */ + int UNNAMED_ERROR_PREDICATE_DEFINTION__BODY = STATEMENT_FEATURE_COUNT + 1; + + /** + * The number of structural features of the 'Unnamed Error Predicate Defintion' class. + * + * + * @generated + * @ordered + */ + int UNNAMED_ERROR_PREDICATE_DEFINTION_FEATURE_COUNT = STATEMENT_FEATURE_COUNT + 2; + + /** + * The number of operations of the 'Unnamed Error Predicate Defintion' class. + * + * + * @generated + * @ordered + */ + int UNNAMED_ERROR_PREDICATE_DEFINTION_OPERATION_COUNT = STATEMENT_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ObjectiveDeclarationImpl Objective Declaration}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ObjectiveDeclarationImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getObjectiveDeclaration() + * @generated + */ + int OBJECTIVE_DECLARATION = 72; + + /** + * The feature id for the 'Kind' attribute. + * + * + * @generated + * @ordered + */ + int OBJECTIVE_DECLARATION__KIND = STATEMENT_FEATURE_COUNT + 0; + + /** + * The feature id for the 'Objective' containment reference. + * + * + * @generated + * @ordered + */ + int OBJECTIVE_DECLARATION__OBJECTIVE = STATEMENT_FEATURE_COUNT + 1; + + /** + * The number of structural features of the 'Objective Declaration' class. + * + * + * @generated + * @ordered + */ + int OBJECTIVE_DECLARATION_FEATURE_COUNT = STATEMENT_FEATURE_COUNT + 2; + + /** + * The number of operations of the 'Objective Declaration' class. + * + * + * @generated + * @ordered + */ + int OBJECTIVE_DECLARATION_OPERATION_COUNT = STATEMENT_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ScopeDeclarationImpl Scope Declaration}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ScopeDeclarationImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getScopeDeclaration() + * @generated + */ + int SCOPE_DECLARATION = 73; + + /** + * The feature id for the 'Type' reference. + * + * + * @generated + * @ordered + */ + int SCOPE_DECLARATION__TYPE = STATEMENT_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'Scope Declaration' class. + * + * + * @generated + * @ordered + */ + int SCOPE_DECLARATION_FEATURE_COUNT = STATEMENT_FEATURE_COUNT + 1; + + /** + * The number of operations of the 'Scope Declaration' class. + * + * + * @generated + * @ordered + */ + int SCOPE_DECLARATION_OPERATION_COUNT = STATEMENT_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExactScopeImpl Exact Scope}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ExactScopeImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getExactScope() + * @generated + */ + int EXACT_SCOPE = 74; + + /** + * The feature id for the 'Type' reference. + * + * + * @generated + * @ordered + */ + int EXACT_SCOPE__TYPE = SCOPE_DECLARATION__TYPE; + + /** + * The feature id for the 'Size' attribute. + * + * + * @generated + * @ordered + */ + int EXACT_SCOPE__SIZE = SCOPE_DECLARATION_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'Exact Scope' class. + * + * + * @generated + * @ordered + */ + int EXACT_SCOPE_FEATURE_COUNT = SCOPE_DECLARATION_FEATURE_COUNT + 1; + + /** + * The number of operations of the 'Exact Scope' class. + * + * + * @generated + * @ordered + */ + int EXACT_SCOPE_OPERATION_COUNT = SCOPE_DECLARATION_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.BoundedScopeImpl Bounded Scope}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.BoundedScopeImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getBoundedScope() + * @generated + */ + int BOUNDED_SCOPE = 75; + + /** + * The feature id for the 'Type' reference. + * + * + * @generated + * @ordered + */ + int BOUNDED_SCOPE__TYPE = SCOPE_DECLARATION__TYPE; + + /** + * The feature id for the 'Lower Bound' attribute. + * + * + * @generated + * @ordered + */ + int BOUNDED_SCOPE__LOWER_BOUND = SCOPE_DECLARATION_FEATURE_COUNT + 0; + + /** + * The feature id for the 'Upper Bound' attribute. + * + * + * @generated + * @ordered + */ + int BOUNDED_SCOPE__UPPER_BOUND = SCOPE_DECLARATION_FEATURE_COUNT + 1; + + /** + * The number of structural features of the 'Bounded Scope' class. + * + * + * @generated + * @ordered + */ + int BOUNDED_SCOPE_FEATURE_COUNT = SCOPE_DECLARATION_FEATURE_COUNT + 2; + + /** + * The number of operations of the 'Bounded Scope' class. + * + * + * @generated + * @ordered + */ + int BOUNDED_SCOPE_OPERATION_COUNT = SCOPE_DECLARATION_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.LowerBoundedScopeImpl Lower Bounded Scope}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.LowerBoundedScopeImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getLowerBoundedScope() + * @generated + */ + int LOWER_BOUNDED_SCOPE = 76; + + /** + * The feature id for the 'Type' reference. + * + * + * @generated + * @ordered + */ + int LOWER_BOUNDED_SCOPE__TYPE = SCOPE_DECLARATION__TYPE; + + /** + * The feature id for the 'Lower Bound' attribute. + * + * + * @generated + * @ordered + */ + int LOWER_BOUNDED_SCOPE__LOWER_BOUND = SCOPE_DECLARATION_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'Lower Bounded Scope' class. + * + * + * @generated + * @ordered + */ + int LOWER_BOUNDED_SCOPE_FEATURE_COUNT = SCOPE_DECLARATION_FEATURE_COUNT + 1; + + /** + * The number of operations of the 'Lower Bounded Scope' class. + * + * + * @generated + * @ordered + */ + int LOWER_BOUNDED_SCOPE_OPERATION_COUNT = SCOPE_DECLARATION_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ImportImpl Import}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ImportImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getImport() + * @generated + */ + int IMPORT = 78; + + /** + * The feature id for the 'Alias' attribute. + * + * + * @generated + * @ordered + */ + int IMPORT__ALIAS = 0; + + /** + * The number of structural features of the 'Import' class. + * + * + * @generated + * @ordered + */ + int IMPORT_FEATURE_COUNT = 1; + + /** + * The number of operations of the 'Import' class. + * + * + * @generated + * @ordered + */ + int IMPORT_OPERATION_COUNT = 0; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.NamespaceImportImpl Namespace Import}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.NamespaceImportImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getNamespaceImport() + * @generated + */ + int NAMESPACE_IMPORT = 77; + + /** + * The feature id for the 'Alias' attribute. + * + * + * @generated + * @ordered + */ + int NAMESPACE_IMPORT__ALIAS = IMPORT__ALIAS; + + /** + * The feature id for the 'Imported Namespace' attribute. + * + * + * @generated + * @ordered + */ + int NAMESPACE_IMPORT__IMPORTED_NAMESPACE = IMPORT_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'Namespace Import' class. + * + * + * @generated + * @ordered + */ + int NAMESPACE_IMPORT_FEATURE_COUNT = IMPORT_FEATURE_COUNT + 1; + + /** + * The number of operations of the 'Namespace Import' class. + * + * + * @generated + * @ordered + */ + int NAMESPACE_IMPORT_OPERATION_COUNT = IMPORT_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.UriImportImpl Uri Import}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.UriImportImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getUriImport() + * @generated + */ + int URI_IMPORT = 79; + + /** + * The feature id for the 'Alias' attribute. + * + * + * @generated + * @ordered + */ + int URI_IMPORT__ALIAS = IMPORT__ALIAS; + + /** + * The feature id for the 'Uri' attribute. + * + * + * @generated + * @ordered + */ + int URI_IMPORT__URI = IMPORT_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'Uri Import' class. + * + * + * @generated + * @ordered + */ + int URI_IMPORT_FEATURE_COUNT = IMPORT_FEATURE_COUNT + 1; + + /** + * The number of operations of the 'Uri Import' class. + * + * + * @generated + * @ordered + */ + int URI_IMPORT_OPERATION_COUNT = IMPORT_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.UnaryOperator Unary Operator}' enum. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.UnaryOperator + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getUnaryOperator() + * @generated + */ + int UNARY_OPERATOR = 80; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.BinaryOperator Binary Operator}' enum. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.BinaryOperator + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getBinaryOperator() + * @generated + */ + int BINARY_OPERATOR = 81; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.LogicValue Logic Value}' enum. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.LogicValue + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getLogicValue() + * @generated + */ + int LOGIC_VALUE = 82; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.ObjectiveKind Objective Kind}' enum. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.ObjectiveKind + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getObjectiveKind() + * @generated + */ + int OBJECTIVE_KIND = 83; + + /** + * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.AttributeKind Attribute Kind}' enum. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.AttributeKind + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getAttributeKind() + * @generated + */ + int ATTRIBUTE_KIND = 84; + + /** + * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.PathComponent Path Component}'. + * + * + * @return the meta object for class 'Path Component'. + * @see org.eclipse.viatra.solver.language.solverLanguage.PathComponent + * @generated + */ + EClass getPathComponent(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.viatra.solver.language.solverLanguage.PathComponent#getSymbol Symbol}'. + * + * + * @return the meta object for the reference 'Symbol'. + * @see org.eclipse.viatra.solver.language.solverLanguage.PathComponent#getSymbol() + * @see #getPathComponent() + * @generated + */ + EReference getPathComponent_Symbol(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.PathComponent#isInverse Inverse}'. + * + * + * @return the meta object for the attribute 'Inverse'. + * @see org.eclipse.viatra.solver.language.solverLanguage.PathComponent#isInverse() + * @see #getPathComponent() + * @generated + */ + EAttribute getPathComponent_Inverse(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.PathComponent#isTransitiveClosure Transitive Closure}'. + * + * + * @return the meta object for the attribute 'Transitive Closure'. + * @see org.eclipse.viatra.solver.language.solverLanguage.PathComponent#isTransitiveClosure() + * @see #getPathComponent() + * @generated + */ + EAttribute getPathComponent_TransitiveClosure(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.PathComponent#isReflexiveTransitiveClosure Reflexive Transitive Closure}'. + * + * + * @return the meta object for the attribute 'Reflexive Transitive Closure'. + * @see org.eclipse.viatra.solver.language.solverLanguage.PathComponent#isReflexiveTransitiveClosure() + * @see #getPathComponent() + * @generated + */ + EAttribute getPathComponent_ReflexiveTransitiveClosure(); + + /** + * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.Symbol Symbol}'. + * + * + * @return the meta object for class 'Symbol'. + * @see org.eclipse.viatra.solver.language.solverLanguage.Symbol + * @generated + */ + EClass getSymbol(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.Symbol#getName Name}'. + * + * + * @return the meta object for the attribute 'Name'. + * @see org.eclipse.viatra.solver.language.solverLanguage.Symbol#getName() + * @see #getSymbol() + * @generated + */ + EAttribute getSymbol_Name(); + + /** + * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.Call Call}'. + * + * + * @return the meta object for class 'Call'. + * @see org.eclipse.viatra.solver.language.solverLanguage.Call + * @generated + */ + EClass getCall(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.Call#getFunctor Functor}'. + * + * + * @return the meta object for the containment reference 'Functor'. + * @see org.eclipse.viatra.solver.language.solverLanguage.Call#getFunctor() + * @see #getCall() + * @generated + */ + EReference getCall_Functor(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.Call#getArgumentList Argument List}'. + * + * + * @return the meta object for the containment reference 'Argument List'. + * @see org.eclipse.viatra.solver.language.solverLanguage.Call#getArgumentList() + * @see #getCall() + * @generated + */ + EReference getCall_ArgumentList(); + + /** + * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.Reference Reference}'. + * + * + * @return the meta object for class 'Reference'. + * @see org.eclipse.viatra.solver.language.solverLanguage.Reference + * @generated + */ + EClass getReference(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.viatra.solver.language.solverLanguage.Reference#getComponents Components}'. + * + * + * @return the meta object for the containment reference list 'Components'. + * @see org.eclipse.viatra.solver.language.solverLanguage.Reference#getComponents() + * @see #getReference() + * @generated + */ + EReference getReference_Components(); + + /** + * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.Expression Expression}'. + * + * + * @return the meta object for class 'Expression'. + * @see org.eclipse.viatra.solver.language.solverLanguage.Expression + * @generated + */ + EClass getExpression(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.viatra.solver.language.solverLanguage.Expression#getExistsVariables Exists Variables}'. + * + * + * @return the meta object for the containment reference list 'Exists Variables'. + * @see org.eclipse.viatra.solver.language.solverLanguage.Expression#getExistsVariables() + * @see #getExpression() + * @generated + */ + EReference getExpression_ExistsVariables(); + + /** + * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.Argument Argument}'. + * + * + * @return the meta object for class 'Argument'. + * @see org.eclipse.viatra.solver.language.solverLanguage.Argument + * @generated + */ + EClass getArgument(); + + /** + * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.ArgumentList Argument List}'. + * + * + * @return the meta object for class 'Argument List'. + * @see org.eclipse.viatra.solver.language.solverLanguage.ArgumentList + * @generated + */ + EClass getArgumentList(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.viatra.solver.language.solverLanguage.ArgumentList#getArguments Arguments}'. + * + * + * @return the meta object for the containment reference list 'Arguments'. + * @see org.eclipse.viatra.solver.language.solverLanguage.ArgumentList#getArguments() + * @see #getArgumentList() + * @generated + */ + EReference getArgumentList_Arguments(); + + /** + * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.ExpressionArgument Expression Argument}'. + * + * + * @return the meta object for class 'Expression Argument'. + * @see org.eclipse.viatra.solver.language.solverLanguage.ExpressionArgument + * @generated + */ + EClass getExpressionArgument(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.ExpressionArgument#getExpression Expression}'. + * + * + * @return the meta object for the containment reference 'Expression'. + * @see org.eclipse.viatra.solver.language.solverLanguage.ExpressionArgument#getExpression() + * @see #getExpressionArgument() + * @generated + */ + EReference getExpressionArgument_Expression(); + + /** + * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.StarArgument Star Argument}'. + * + * + * @return the meta object for class 'Star Argument'. + * @see org.eclipse.viatra.solver.language.solverLanguage.StarArgument + * @generated + */ + EClass getStarArgument(); + + /** + * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.TypedArgument Typed Argument}'. + * + * + * @return the meta object for class 'Typed Argument'. + * @see org.eclipse.viatra.solver.language.solverLanguage.TypedArgument + * @generated + */ + EClass getTypedArgument(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.TypedArgument#getTypeReference Type Reference}'. + * + * + * @return the meta object for the containment reference 'Type Reference'. + * @see org.eclipse.viatra.solver.language.solverLanguage.TypedArgument#getTypeReference() + * @see #getTypedArgument() + * @generated + */ + EReference getTypedArgument_TypeReference(); + + /** + * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.MultiaryExpession Multiary Expession}'. + * + * + * @return the meta object for class 'Multiary Expession'. + * @see org.eclipse.viatra.solver.language.solverLanguage.MultiaryExpession + * @generated + */ + EClass getMultiaryExpession(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.viatra.solver.language.solverLanguage.MultiaryExpession#getChildren Children}'. + * + * + * @return the meta object for the containment reference list 'Children'. + * @see org.eclipse.viatra.solver.language.solverLanguage.MultiaryExpession#getChildren() + * @see #getMultiaryExpession() + * @generated + */ + EReference getMultiaryExpession_Children(); + + /** + * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.Variable Variable}'. + * + * + * @return the meta object for class 'Variable'. + * @see org.eclipse.viatra.solver.language.solverLanguage.Variable + * @generated + */ + EClass getVariable(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.Variable#getTypeReference Type Reference}'. + * + * + * @return the meta object for the containment reference 'Type Reference'. + * @see org.eclipse.viatra.solver.language.solverLanguage.Variable#getTypeReference() + * @see #getVariable() + * @generated + */ + EReference getVariable_TypeReference(); + + /** + * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.UnaryExpression Unary Expression}'. + * + * + * @return the meta object for class 'Unary Expression'. + * @see org.eclipse.viatra.solver.language.solverLanguage.UnaryExpression + * @generated + */ + EClass getUnaryExpression(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.UnaryExpression#getBody Body}'. + * + * + * @return the meta object for the containment reference 'Body'. + * @see org.eclipse.viatra.solver.language.solverLanguage.UnaryExpression#getBody() + * @see #getUnaryExpression() + * @generated + */ + EReference getUnaryExpression_Body(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.UnaryExpression#getOp Op}'. + * + * + * @return the meta object for the attribute 'Op'. + * @see org.eclipse.viatra.solver.language.solverLanguage.UnaryExpression#getOp() + * @see #getUnaryExpression() + * @generated + */ + EAttribute getUnaryExpression_Op(); + + /** + * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.BinaryExpression Binary Expression}'. + * + * + * @return the meta object for class 'Binary Expression'. + * @see org.eclipse.viatra.solver.language.solverLanguage.BinaryExpression + * @generated + */ + EClass getBinaryExpression(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.BinaryExpression#getOp Op}'. + * + * + * @return the meta object for the attribute 'Op'. + * @see org.eclipse.viatra.solver.language.solverLanguage.BinaryExpression#getOp() + * @see #getBinaryExpression() + * @generated + */ + EAttribute getBinaryExpression_Op(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.BinaryExpression#getLeft Left}'. + * + * + * @return the meta object for the containment reference 'Left'. + * @see org.eclipse.viatra.solver.language.solverLanguage.BinaryExpression#getLeft() + * @see #getBinaryExpression() + * @generated + */ + EReference getBinaryExpression_Left(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.BinaryExpression#getRight Right}'. + * + * + * @return the meta object for the containment reference 'Right'. + * @see org.eclipse.viatra.solver.language.solverLanguage.BinaryExpression#getRight() + * @see #getBinaryExpression() + * @generated + */ + EReference getBinaryExpression_Right(); + + /** + * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.Disjunction Disjunction}'. + * + * + * @return the meta object for class 'Disjunction'. + * @see org.eclipse.viatra.solver.language.solverLanguage.Disjunction + * @generated + */ + EClass getDisjunction(); + + /** + * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.Conjunction Conjunction}'. + * + * + * @return the meta object for class 'Conjunction'. + * @see org.eclipse.viatra.solver.language.solverLanguage.Conjunction + * @generated + */ + EClass getConjunction(); + + /** + * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.ConditionalExpression Conditional Expression}'. + * + * + * @return the meta object for class 'Conditional Expression'. + * @see org.eclipse.viatra.solver.language.solverLanguage.ConditionalExpression + * @generated + */ + EClass getConditionalExpression(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.ConditionalExpression#getCondition Condition}'. + * + * + * @return the meta object for the containment reference 'Condition'. + * @see org.eclipse.viatra.solver.language.solverLanguage.ConditionalExpression#getCondition() + * @see #getConditionalExpression() + * @generated + */ + EReference getConditionalExpression_Condition(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.ConditionalExpression#getThen Then}'. + * + * + * @return the meta object for the containment reference 'Then'. + * @see org.eclipse.viatra.solver.language.solverLanguage.ConditionalExpression#getThen() + * @see #getConditionalExpression() + * @generated + */ + EReference getConditionalExpression_Then(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.ConditionalExpression#getElse Else}'. + * + * + * @return the meta object for the containment reference 'Else'. + * @see org.eclipse.viatra.solver.language.solverLanguage.ConditionalExpression#getElse() + * @see #getConditionalExpression() + * @generated + */ + EReference getConditionalExpression_Else(); + + /** + * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.Switch Switch}'. + * + * + * @return the meta object for class 'Switch'. + * @see org.eclipse.viatra.solver.language.solverLanguage.Switch + * @generated + */ + EClass getSwitch(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.viatra.solver.language.solverLanguage.Switch#getCases Cases}'. + * + * + * @return the meta object for the containment reference list 'Cases'. + * @see org.eclipse.viatra.solver.language.solverLanguage.Switch#getCases() + * @see #getSwitch() + * @generated + */ + EReference getSwitch_Cases(); + + /** + * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.Case Case}'. + * + * + * @return the meta object for class 'Case'. + * @see org.eclipse.viatra.solver.language.solverLanguage.Case + * @generated + */ + EClass getCase(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.Case#getCondition Condition}'. + * + * + * @return the meta object for the containment reference 'Condition'. + * @see org.eclipse.viatra.solver.language.solverLanguage.Case#getCondition() + * @see #getCase() + * @generated + */ + EReference getCase_Condition(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.Case#getBody Body}'. + * + * + * @return the meta object for the containment reference 'Body'. + * @see org.eclipse.viatra.solver.language.solverLanguage.Case#getBody() + * @see #getCase() + * @generated + */ + EReference getCase_Body(); + + /** + * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.LetExpression Let Expression}'. + * + * + * @return the meta object for class 'Let Expression'. + * @see org.eclipse.viatra.solver.language.solverLanguage.LetExpression + * @generated + */ + EClass getLetExpression(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.viatra.solver.language.solverLanguage.LetExpression#getBindings Bindings}'. + * + * + * @return the meta object for the containment reference list 'Bindings'. + * @see org.eclipse.viatra.solver.language.solverLanguage.LetExpression#getBindings() + * @see #getLetExpression() + * @generated + */ + EReference getLetExpression_Bindings(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.LetExpression#getBody Body}'. + * + * + * @return the meta object for the containment reference 'Body'. + * @see org.eclipse.viatra.solver.language.solverLanguage.LetExpression#getBody() + * @see #getLetExpression() + * @generated + */ + EReference getLetExpression_Body(); + + /** + * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.LetBinding Let Binding}'. + * + * + * @return the meta object for class 'Let Binding'. + * @see org.eclipse.viatra.solver.language.solverLanguage.LetBinding + * @generated + */ + EClass getLetBinding(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.LetBinding#getValue Value}'. + * + * + * @return the meta object for the containment reference 'Value'. + * @see org.eclipse.viatra.solver.language.solverLanguage.LetBinding#getValue() + * @see #getLetBinding() + * @generated + */ + EReference getLetBinding_Value(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.LetBinding#getVariable Variable}'. + * + * + * @return the meta object for the containment reference 'Variable'. + * @see org.eclipse.viatra.solver.language.solverLanguage.LetBinding#getVariable() + * @see #getLetBinding() + * @generated + */ + EReference getLetBinding_Variable(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.LetBinding#getName Name}'. + * + * + * @return the meta object for the attribute 'Name'. + * @see org.eclipse.viatra.solver.language.solverLanguage.LetBinding#getName() + * @see #getLetBinding() + * @generated + */ + EAttribute getLetBinding_Name(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.viatra.solver.language.solverLanguage.LetBinding#getType Type}'. + * + * + * @return the meta object for the reference 'Type'. + * @see org.eclipse.viatra.solver.language.solverLanguage.LetBinding#getType() + * @see #getLetBinding() + * @generated + */ + EReference getLetBinding_Type(); + + /** + * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.Literal Literal}'. + * + * + * @return the meta object for class 'Literal'. + * @see org.eclipse.viatra.solver.language.solverLanguage.Literal + * @generated + */ + EClass getLiteral(); + + /** + * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.IntLiteral Int Literal}'. + * + * + * @return the meta object for class 'Int Literal'. + * @see org.eclipse.viatra.solver.language.solverLanguage.IntLiteral + * @generated + */ + EClass getIntLiteral(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.IntLiteral#getValue Value}'. + * + * + * @return the meta object for the attribute 'Value'. + * @see org.eclipse.viatra.solver.language.solverLanguage.IntLiteral#getValue() + * @see #getIntLiteral() + * @generated + */ + EAttribute getIntLiteral_Value(); + + /** + * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.RealLiteral Real Literal}'. + * + * + * @return the meta object for class 'Real Literal'. + * @see org.eclipse.viatra.solver.language.solverLanguage.RealLiteral + * @generated + */ + EClass getRealLiteral(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.RealLiteral#getValue Value}'. + * + * + * @return the meta object for the attribute 'Value'. + * @see org.eclipse.viatra.solver.language.solverLanguage.RealLiteral#getValue() + * @see #getRealLiteral() + * @generated + */ + EAttribute getRealLiteral_Value(); + + /** + * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.StringLiteral String Literal}'. + * + * + * @return the meta object for class 'String Literal'. + * @see org.eclipse.viatra.solver.language.solverLanguage.StringLiteral + * @generated + */ + EClass getStringLiteral(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.StringLiteral#getValue Value}'. + * + * + * @return the meta object for the attribute 'Value'. + * @see org.eclipse.viatra.solver.language.solverLanguage.StringLiteral#getValue() + * @see #getStringLiteral() + * @generated + */ + EAttribute getStringLiteral_Value(); + + /** + * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.LogicLiteral Logic Literal}'. + * + * + * @return the meta object for class 'Logic Literal'. + * @see org.eclipse.viatra.solver.language.solverLanguage.LogicLiteral + * @generated + */ + EClass getLogicLiteral(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.LogicLiteral#getValue Value}'. + * + * + * @return the meta object for the attribute 'Value'. + * @see org.eclipse.viatra.solver.language.solverLanguage.LogicLiteral#getValue() + * @see #getLogicLiteral() + * @generated + */ + EAttribute getLogicLiteral_Value(); + + /** + * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.EmptyLiteral Empty Literal}'. + * + * + * @return the meta object for class 'Empty Literal'. + * @see org.eclipse.viatra.solver.language.solverLanguage.EmptyLiteral + * @generated + */ + EClass getEmptyLiteral(); + + /** + * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.CastExpression Cast Expression}'. + * + * + * @return the meta object for class 'Cast Expression'. + * @see org.eclipse.viatra.solver.language.solverLanguage.CastExpression + * @generated + */ + EClass getCastExpression(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.CastExpression#getBody Body}'. + * + * + * @return the meta object for the containment reference 'Body'. + * @see org.eclipse.viatra.solver.language.solverLanguage.CastExpression#getBody() + * @see #getCastExpression() + * @generated + */ + EReference getCastExpression_Body(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.viatra.solver.language.solverLanguage.CastExpression#getTargetType Target Type}'. + * + * + * @return the meta object for the reference 'Target Type'. + * @see org.eclipse.viatra.solver.language.solverLanguage.CastExpression#getTargetType() + * @see #getCastExpression() + * @generated + */ + EReference getCastExpression_TargetType(); + + /** + * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.AggregateExpression Aggregate Expression}'. + * + * + * @return the meta object for class 'Aggregate Expression'. + * @see org.eclipse.viatra.solver.language.solverLanguage.AggregateExpression + * @generated + */ + EClass getAggregateExpression(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.viatra.solver.language.solverLanguage.AggregateExpression#getForallVariables Forall Variables}'. + * + * + * @return the meta object for the containment reference list 'Forall Variables'. + * @see org.eclipse.viatra.solver.language.solverLanguage.AggregateExpression#getForallVariables() + * @see #getAggregateExpression() + * @generated + */ + EReference getAggregateExpression_ForallVariables(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.AggregateExpression#getCondition Condition}'. + * + * + * @return the meta object for the containment reference 'Condition'. + * @see org.eclipse.viatra.solver.language.solverLanguage.AggregateExpression#getCondition() + * @see #getAggregateExpression() + * @generated + */ + EReference getAggregateExpression_Condition(); + + /** + * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.Count Count}'. + * + * + * @return the meta object for class 'Count'. + * @see org.eclipse.viatra.solver.language.solverLanguage.Count + * @generated + */ + EClass getCount(); + + /** + * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.Aggregation Aggregation}'. + * + * + * @return the meta object for class 'Aggregation'. + * @see org.eclipse.viatra.solver.language.solverLanguage.Aggregation + * @generated + */ + EClass getAggregation(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.Aggregation#getValue Value}'. + * + * + * @return the meta object for the containment reference 'Value'. + * @see org.eclipse.viatra.solver.language.solverLanguage.Aggregation#getValue() + * @see #getAggregation() + * @generated + */ + EReference getAggregation_Value(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.viatra.solver.language.solverLanguage.Aggregation#getOp Op}'. + * + * + * @return the meta object for the reference 'Op'. + * @see org.eclipse.viatra.solver.language.solverLanguage.Aggregation#getOp() + * @see #getAggregation() + * @generated + */ + EReference getAggregation_Op(); + + /** + * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.Forall Forall}'. + * + * + * @return the meta object for class 'Forall'. + * @see org.eclipse.viatra.solver.language.solverLanguage.Forall + * @generated + */ + EClass getForall(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.Forall#getBody Body}'. + * + * + * @return the meta object for the containment reference 'Body'. + * @see org.eclipse.viatra.solver.language.solverLanguage.Forall#getBody() + * @see #getForall() + * @generated + */ + EReference getForall_Body(); + + /** + * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.TypeReference Type Reference}'. + * + * + * @return the meta object for class 'Type Reference'. + * @see org.eclipse.viatra.solver.language.solverLanguage.TypeReference + * @generated + */ + EClass getTypeReference(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.TypeReference#isForceObjectType Force Object Type}'. + * + * + * @return the meta object for the attribute 'Force Object Type'. + * @see org.eclipse.viatra.solver.language.solverLanguage.TypeReference#isForceObjectType() + * @see #getTypeReference() + * @generated + */ + EAttribute getTypeReference_ForceObjectType(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.viatra.solver.language.solverLanguage.TypeReference#getType Type}'. + * + * + * @return the meta object for the reference 'Type'. + * @see org.eclipse.viatra.solver.language.solverLanguage.TypeReference#getType() + * @see #getTypeReference() + * @generated + */ + EReference getTypeReference_Type(); + + /** + * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.InfinityLiteral Infinity Literal}'. + * + * + * @return the meta object for class 'Infinity Literal'. + * @see org.eclipse.viatra.solver.language.solverLanguage.InfinityLiteral + * @generated + */ + EClass getInfinityLiteral(); + + /** + * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.Interval Interval}'. + * + * + * @return the meta object for class 'Interval'. + * @see org.eclipse.viatra.solver.language.solverLanguage.Interval + * @generated + */ + EClass getInterval(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.Interval#getLowerBound Lower Bound}'. + * + * + * @return the meta object for the containment reference 'Lower Bound'. + * @see org.eclipse.viatra.solver.language.solverLanguage.Interval#getLowerBound() + * @see #getInterval() + * @generated + */ + EReference getInterval_LowerBound(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.Interval#getUpperBound Upper Bound}'. + * + * + * @return the meta object for the containment reference 'Upper Bound'. + * @see org.eclipse.viatra.solver.language.solverLanguage.Interval#getUpperBound() + * @see #getInterval() + * @generated + */ + EReference getInterval_UpperBound(); + + /** + * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.Functor Functor}'. + * + * + * @return the meta object for class 'Functor'. + * @see org.eclipse.viatra.solver.language.solverLanguage.Functor + * @generated + */ + EClass getFunctor(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.viatra.solver.language.solverLanguage.Functor#getParameters Parameters}'. + * + * + * @return the meta object for the containment reference list 'Parameters'. + * @see org.eclipse.viatra.solver.language.solverLanguage.Functor#getParameters() + * @see #getFunctor() + * @generated + */ + EReference getFunctor_Parameters(); + + /** + * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.Relation Relation}'. + * + * + * @return the meta object for class 'Relation'. + * @see org.eclipse.viatra.solver.language.solverLanguage.Relation + * @generated + */ + EClass getRelation(); + + /** + * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.BaseRelation Base Relation}'. + * + * + * @return the meta object for class 'Base Relation'. + * @see org.eclipse.viatra.solver.language.solverLanguage.BaseRelation + * @generated + */ + EClass getBaseRelation(); + + /** + * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.Predicate Predicate}'. + * + * + * @return the meta object for class 'Predicate'. + * @see org.eclipse.viatra.solver.language.solverLanguage.Predicate + * @generated + */ + EClass getPredicate(); + + /** + * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.Datatype Datatype}'. + * + * + * @return the meta object for class 'Datatype'. + * @see org.eclipse.viatra.solver.language.solverLanguage.Datatype + * @generated + */ + EClass getDatatype(); + + /** + * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.Function Function}'. + * + * + * @return the meta object for class 'Function'. + * @see org.eclipse.viatra.solver.language.solverLanguage.Function + * @generated + */ + EClass getFunction(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.viatra.solver.language.solverLanguage.Function#getResultType Result Type}'. + * + * + * @return the meta object for the reference 'Result Type'. + * @see org.eclipse.viatra.solver.language.solverLanguage.Function#getResultType() + * @see #getFunction() + * @generated + */ + EReference getFunction_ResultType(); + + /** + * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.Metric Metric}'. + * + * + * @return the meta object for class 'Metric'. + * @see org.eclipse.viatra.solver.language.solverLanguage.Metric + * @generated + */ + EClass getMetric(); + + /** + * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.Operator Operator}'. + * + * + * @return the meta object for class 'Operator'. + * @see org.eclipse.viatra.solver.language.solverLanguage.Operator + * @generated + */ + EClass getOperator(); + + /** + * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.Node Node}'. + * + * + * @return the meta object for class 'Node'. + * @see org.eclipse.viatra.solver.language.solverLanguage.Node + * @generated + */ + EClass getNode(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.Node#isNamed Named}'. + * + * + * @return the meta object for the attribute 'Named'. + * @see org.eclipse.viatra.solver.language.solverLanguage.Node#isNamed() + * @see #getNode() + * @generated + */ + EAttribute getNode_Named(); + + /** + * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.Statement Statement}'. + * + * + * @return the meta object for class 'Statement'. + * @see org.eclipse.viatra.solver.language.solverLanguage.Statement + * @generated + */ + EClass getStatement(); + + /** + * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.AbstractAssertion Abstract Assertion}'. + * + * + * @return the meta object for class 'Abstract Assertion'. + * @see org.eclipse.viatra.solver.language.solverLanguage.AbstractAssertion + * @generated + */ + EClass getAbstractAssertion(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.AbstractAssertion#getExpression Expression}'. + * + * + * @return the meta object for the containment reference 'Expression'. + * @see org.eclipse.viatra.solver.language.solverLanguage.AbstractAssertion#getExpression() + * @see #getAbstractAssertion() + * @generated + */ + EReference getAbstractAssertion_Expression(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.AbstractAssertion#getRange Range}'. + * + * + * @return the meta object for the containment reference 'Range'. + * @see org.eclipse.viatra.solver.language.solverLanguage.AbstractAssertion#getRange() + * @see #getAbstractAssertion() + * @generated + */ + EReference getAbstractAssertion_Range(); + + /** + * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.FunctorDefiniton Functor Definiton}'. + * + * + * @return the meta object for class 'Functor Definiton'. + * @see org.eclipse.viatra.solver.language.solverLanguage.FunctorDefiniton + * @generated + */ + EClass getFunctorDefiniton(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.FunctorDefiniton#getHead Head}'. + * + * + * @return the meta object for the containment reference 'Head'. + * @see org.eclipse.viatra.solver.language.solverLanguage.FunctorDefiniton#getHead() + * @see #getFunctorDefiniton() + * @generated + */ + EReference getFunctorDefiniton_Head(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.FunctorDefiniton#getBody Body}'. + * + * + * @return the meta object for the containment reference 'Body'. + * @see org.eclipse.viatra.solver.language.solverLanguage.FunctorDefiniton#getBody() + * @see #getFunctorDefiniton() + * @generated + */ + EReference getFunctorDefiniton_Body(); + + /** + * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.PredicateDefinition Predicate Definition}'. + * + * + * @return the meta object for class 'Predicate Definition'. + * @see org.eclipse.viatra.solver.language.solverLanguage.PredicateDefinition + * @generated + */ + EClass getPredicateDefinition(); + + /** + * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.FunctionDefinition Function Definition}'. + * + * + * @return the meta object for class 'Function Definition'. + * @see org.eclipse.viatra.solver.language.solverLanguage.FunctionDefinition + * @generated + */ + EClass getFunctionDefinition(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.viatra.solver.language.solverLanguage.FunctionDefinition#getResultType Result Type}'. + * + * + * @return the meta object for the reference 'Result Type'. + * @see org.eclipse.viatra.solver.language.solverLanguage.FunctionDefinition#getResultType() + * @see #getFunctionDefinition() + * @generated + */ + EReference getFunctionDefinition_ResultType(); + + /** + * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.Attribute Attribute}'. + * + * + * @return the meta object for class 'Attribute'. + * @see org.eclipse.viatra.solver.language.solverLanguage.Attribute + * @generated + */ + EClass getAttribute(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.viatra.solver.language.solverLanguage.Attribute#getTarget Target}'. + * + * + * @return the meta object for the reference 'Target'. + * @see org.eclipse.viatra.solver.language.solverLanguage.Attribute#getTarget() + * @see #getAttribute() + * @generated + */ + EReference getAttribute_Target(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.Attribute#getKind Kind}'. + * + * + * @return the meta object for the attribute 'Kind'. + * @see org.eclipse.viatra.solver.language.solverLanguage.Attribute#getKind() + * @see #getAttribute() + * @generated + */ + EAttribute getAttribute_Kind(); + + /** + * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.ExternDeclaration Extern Declaration}'. + * + * + * @return the meta object for class 'Extern Declaration'. + * @see org.eclipse.viatra.solver.language.solverLanguage.ExternDeclaration + * @generated + */ + EClass getExternDeclaration(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.ExternDeclaration#getName Name}'. + * + * + * @return the meta object for the attribute 'Name'. + * @see org.eclipse.viatra.solver.language.solverLanguage.ExternDeclaration#getName() + * @see #getExternDeclaration() + * @generated + */ + EAttribute getExternDeclaration_Name(); + + /** + * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.ExternFunctorDeclaration Extern Functor Declaration}'. + * + * + * @return the meta object for class 'Extern Functor Declaration'. + * @see org.eclipse.viatra.solver.language.solverLanguage.ExternFunctorDeclaration + * @generated + */ + EClass getExternFunctorDeclaration(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.ExternFunctorDeclaration#getArgumentList Argument List}'. + * + * + * @return the meta object for the containment reference 'Argument List'. + * @see org.eclipse.viatra.solver.language.solverLanguage.ExternFunctorDeclaration#getArgumentList() + * @see #getExternFunctorDeclaration() + * @generated + */ + EReference getExternFunctorDeclaration_ArgumentList(); + + /** + * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.ExternPredicateDeclaration Extern Predicate Declaration}'. + * + * + * @return the meta object for class 'Extern Predicate Declaration'. + * @see org.eclipse.viatra.solver.language.solverLanguage.ExternPredicateDeclaration + * @generated + */ + EClass getExternPredicateDeclaration(); + + /** + * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.ExternFunctionDeclaration Extern Function Declaration}'. + * + * + * @return the meta object for class 'Extern Function Declaration'. + * @see org.eclipse.viatra.solver.language.solverLanguage.ExternFunctionDeclaration + * @generated + */ + EClass getExternFunctionDeclaration(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.viatra.solver.language.solverLanguage.ExternFunctionDeclaration#getResultType Result Type}'. + * + * + * @return the meta object for the reference 'Result Type'. + * @see org.eclipse.viatra.solver.language.solverLanguage.ExternFunctionDeclaration#getResultType() + * @see #getExternFunctionDeclaration() + * @generated + */ + EReference getExternFunctionDeclaration_ResultType(); + + /** + * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.ExternAggregationOperatorDeclaration Extern Aggregation Operator Declaration}'. + * + * + * @return the meta object for class 'Extern Aggregation Operator Declaration'. + * @see org.eclipse.viatra.solver.language.solverLanguage.ExternAggregationOperatorDeclaration + * @generated + */ + EClass getExternAggregationOperatorDeclaration(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.viatra.solver.language.solverLanguage.ExternAggregationOperatorDeclaration#getArgumentType Argument Type}'. + * + * + * @return the meta object for the reference 'Argument Type'. + * @see org.eclipse.viatra.solver.language.solverLanguage.ExternAggregationOperatorDeclaration#getArgumentType() + * @see #getExternAggregationOperatorDeclaration() + * @generated + */ + EReference getExternAggregationOperatorDeclaration_ArgumentType(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.viatra.solver.language.solverLanguage.ExternAggregationOperatorDeclaration#getResultType Result Type}'. + * + * + * @return the meta object for the reference 'Result Type'. + * @see org.eclipse.viatra.solver.language.solverLanguage.ExternAggregationOperatorDeclaration#getResultType() + * @see #getExternAggregationOperatorDeclaration() + * @generated + */ + EReference getExternAggregationOperatorDeclaration_ResultType(); + + /** + * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.ExternDatatypeDeclaration Extern Datatype Declaration}'. + * + * + * @return the meta object for class 'Extern Datatype Declaration'. + * @see org.eclipse.viatra.solver.language.solverLanguage.ExternDatatypeDeclaration + * @generated + */ + EClass getExternDatatypeDeclaration(); + + /** + * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.ClassDeclaration Class Declaration}'. + * + * + * @return the meta object for class 'Class Declaration'. + * @see org.eclipse.viatra.solver.language.solverLanguage.ClassDeclaration + * @generated + */ + EClass getClassDeclaration(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.viatra.solver.language.solverLanguage.ClassDeclaration#getFields Fields}'. + * + * + * @return the meta object for the containment reference list 'Fields'. + * @see org.eclipse.viatra.solver.language.solverLanguage.ClassDeclaration#getFields() + * @see #getClassDeclaration() + * @generated + */ + EReference getClassDeclaration_Fields(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.ClassDeclaration#getName Name}'. + * + * + * @return the meta object for the attribute 'Name'. + * @see org.eclipse.viatra.solver.language.solverLanguage.ClassDeclaration#getName() + * @see #getClassDeclaration() + * @generated + */ + EAttribute getClassDeclaration_Name(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.ClassDeclaration#isAbstract Abstract}'. + * + * + * @return the meta object for the attribute 'Abstract'. + * @see org.eclipse.viatra.solver.language.solverLanguage.ClassDeclaration#isAbstract() + * @see #getClassDeclaration() + * @generated + */ + EAttribute getClassDeclaration_Abstract(); + + /** + * Returns the meta object for the reference list '{@link org.eclipse.viatra.solver.language.solverLanguage.ClassDeclaration#getSupertypes Supertypes}'. + * + * + * @return the meta object for the reference list 'Supertypes'. + * @see org.eclipse.viatra.solver.language.solverLanguage.ClassDeclaration#getSupertypes() + * @see #getClassDeclaration() + * @generated + */ + EReference getClassDeclaration_Supertypes(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.ClassDeclaration#isRoot Root}'. + * + * + * @return the meta object for the attribute 'Root'. + * @see org.eclipse.viatra.solver.language.solverLanguage.ClassDeclaration#isRoot() + * @see #getClassDeclaration() + * @generated + */ + EAttribute getClassDeclaration_Root(); + + /** + * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.EnumDeclaration Enum Declaration}'. + * + * + * @return the meta object for class 'Enum Declaration'. + * @see org.eclipse.viatra.solver.language.solverLanguage.EnumDeclaration + * @generated + */ + EClass getEnumDeclaration(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.viatra.solver.language.solverLanguage.EnumDeclaration#getLiterals Literals}'. + * + * + * @return the meta object for the containment reference list 'Literals'. + * @see org.eclipse.viatra.solver.language.solverLanguage.EnumDeclaration#getLiterals() + * @see #getEnumDeclaration() + * @generated + */ + EReference getEnumDeclaration_Literals(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.EnumDeclaration#getName Name}'. + * + * + * @return the meta object for the attribute 'Name'. + * @see org.eclipse.viatra.solver.language.solverLanguage.EnumDeclaration#getName() + * @see #getEnumDeclaration() + * @generated + */ + EAttribute getEnumDeclaration_Name(); + + /** + * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.EnumLiteral Enum Literal}'. + * + * + * @return the meta object for class 'Enum Literal'. + * @see org.eclipse.viatra.solver.language.solverLanguage.EnumLiteral + * @generated + */ + EClass getEnumLiteral(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.EnumLiteral#getName Name}'. + * + * + * @return the meta object for the attribute 'Name'. + * @see org.eclipse.viatra.solver.language.solverLanguage.EnumLiteral#getName() + * @see #getEnumLiteral() + * @generated + */ + EAttribute getEnumLiteral_Name(); + + /** + * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.Field Field}'. + * + * + * @return the meta object for class 'Field'. + * @see org.eclipse.viatra.solver.language.solverLanguage.Field + * @generated + */ + EClass getField(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.Field#isContainment Containment}'. + * + * + * @return the meta object for the attribute 'Containment'. + * @see org.eclipse.viatra.solver.language.solverLanguage.Field#isContainment() + * @see #getField() + * @generated + */ + EAttribute getField_Containment(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.Field#isCrossReference Cross Reference}'. + * + * + * @return the meta object for the attribute 'Cross Reference'. + * @see org.eclipse.viatra.solver.language.solverLanguage.Field#isCrossReference() + * @see #getField() + * @generated + */ + EAttribute getField_CrossReference(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.viatra.solver.language.solverLanguage.Field#getOpposite Opposite}'. + * + * + * @return the meta object for the reference 'Opposite'. + * @see org.eclipse.viatra.solver.language.solverLanguage.Field#getOpposite() + * @see #getField() + * @generated + */ + EReference getField_Opposite(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.Field#getMultiplicity Multiplicity}'. + * + * + * @return the meta object for the containment reference 'Multiplicity'. + * @see org.eclipse.viatra.solver.language.solverLanguage.Field#getMultiplicity() + * @see #getField() + * @generated + */ + EReference getField_Multiplicity(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.viatra.solver.language.solverLanguage.Field#getType Type}'. + * + * + * @return the meta object for the reference 'Type'. + * @see org.eclipse.viatra.solver.language.solverLanguage.Field#getType() + * @see #getField() + * @generated + */ + EReference getField_Type(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.Field#getName Name}'. + * + * + * @return the meta object for the attribute 'Name'. + * @see org.eclipse.viatra.solver.language.solverLanguage.Field#getName() + * @see #getField() + * @generated + */ + EAttribute getField_Name(); + + /** + * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.Multiplicity Multiplicity}'. + * + * + * @return the meta object for class 'Multiplicity'. + * @see org.eclipse.viatra.solver.language.solverLanguage.Multiplicity + * @generated + */ + EClass getMultiplicity(); + + /** + * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.DefaultAssertion Default Assertion}'. + * + * + * @return the meta object for class 'Default Assertion'. + * @see org.eclipse.viatra.solver.language.solverLanguage.DefaultAssertion + * @generated + */ + EClass getDefaultAssertion(); + + /** + * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.Assertion Assertion}'. + * + * + * @return the meta object for class 'Assertion'. + * @see org.eclipse.viatra.solver.language.solverLanguage.Assertion + * @generated + */ + EClass getAssertion(); + + /** + * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.UnboundedMultiplicity Unbounded Multiplicity}'. + * + * + * @return the meta object for class 'Unbounded Multiplicity'. + * @see org.eclipse.viatra.solver.language.solverLanguage.UnboundedMultiplicity + * @generated + */ + EClass getUnboundedMultiplicity(); + + /** + * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.ExactMultiplicity Exact Multiplicity}'. + * + * + * @return the meta object for class 'Exact Multiplicity'. + * @see org.eclipse.viatra.solver.language.solverLanguage.ExactMultiplicity + * @generated + */ + EClass getExactMultiplicity(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.ExactMultiplicity#getValue Value}'. + * + * + * @return the meta object for the attribute 'Value'. + * @see org.eclipse.viatra.solver.language.solverLanguage.ExactMultiplicity#getValue() + * @see #getExactMultiplicity() + * @generated + */ + EAttribute getExactMultiplicity_Value(); + + /** + * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.BoundedMultiplicity Bounded Multiplicity}'. + * + * + * @return the meta object for class 'Bounded Multiplicity'. + * @see org.eclipse.viatra.solver.language.solverLanguage.BoundedMultiplicity + * @generated + */ + EClass getBoundedMultiplicity(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.BoundedMultiplicity#getLowerBound Lower Bound}'. + * + * + * @return the meta object for the attribute 'Lower Bound'. + * @see org.eclipse.viatra.solver.language.solverLanguage.BoundedMultiplicity#getLowerBound() + * @see #getBoundedMultiplicity() + * @generated + */ + EAttribute getBoundedMultiplicity_LowerBound(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.BoundedMultiplicity#getUpperBound Upper Bound}'. + * + * + * @return the meta object for the attribute 'Upper Bound'. + * @see org.eclipse.viatra.solver.language.solverLanguage.BoundedMultiplicity#getUpperBound() + * @see #getBoundedMultiplicity() + * @generated + */ + EAttribute getBoundedMultiplicity_UpperBound(); + + /** + * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.InlinePredicateAttrributes Inline Predicate Attrributes}'. + * + * + * @return the meta object for class 'Inline Predicate Attrributes'. + * @see org.eclipse.viatra.solver.language.solverLanguage.InlinePredicateAttrributes + * @generated + */ + EClass getInlinePredicateAttrributes(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.InlinePredicateAttrributes#isError Error}'. + * + * + * @return the meta object for the attribute 'Error'. + * @see org.eclipse.viatra.solver.language.solverLanguage.InlinePredicateAttrributes#isError() + * @see #getInlinePredicateAttrributes() + * @generated + */ + EAttribute getInlinePredicateAttrributes_Error(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.InlinePredicateAttrributes#isFunctional Functional}'. + * + * + * @return the meta object for the attribute 'Functional'. + * @see org.eclipse.viatra.solver.language.solverLanguage.InlinePredicateAttrributes#isFunctional() + * @see #getInlinePredicateAttrributes() + * @generated + */ + EAttribute getInlinePredicateAttrributes_Functional(); + + /** + * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.AggregationOperator Aggregation Operator}'. + * + * + * @return the meta object for class 'Aggregation Operator'. + * @see org.eclipse.viatra.solver.language.solverLanguage.AggregationOperator + * @generated + */ + EClass getAggregationOperator(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.viatra.solver.language.solverLanguage.AggregationOperator#getArgumentType Argument Type}'. + * + * + * @return the meta object for the reference 'Argument Type'. + * @see org.eclipse.viatra.solver.language.solverLanguage.AggregationOperator#getArgumentType() + * @see #getAggregationOperator() + * @generated + */ + EReference getAggregationOperator_ArgumentType(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.viatra.solver.language.solverLanguage.AggregationOperator#getResultType Result Type}'. + * + * + * @return the meta object for the reference 'Result Type'. + * @see org.eclipse.viatra.solver.language.solverLanguage.AggregationOperator#getResultType() + * @see #getAggregationOperator() + * @generated + */ + EReference getAggregationOperator_ResultType(); + + /** + * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.Problem Problem}'. + * + * + * @return the meta object for class 'Problem'. + * @see org.eclipse.viatra.solver.language.solverLanguage.Problem + * @generated + */ + EClass getProblem(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.Problem#getName Name}'. + * + * + * @return the meta object for the attribute 'Name'. + * @see org.eclipse.viatra.solver.language.solverLanguage.Problem#getName() + * @see #getProblem() + * @generated + */ + EAttribute getProblem_Name(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.viatra.solver.language.solverLanguage.Problem#getStatements Statements}'. + * + * + * @return the meta object for the containment reference list 'Statements'. + * @see org.eclipse.viatra.solver.language.solverLanguage.Problem#getStatements() + * @see #getProblem() + * @generated + */ + EReference getProblem_Statements(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.viatra.solver.language.solverLanguage.Problem#getSymbols Symbols}'. + * + * + * @return the meta object for the containment reference list 'Symbols'. + * @see org.eclipse.viatra.solver.language.solverLanguage.Problem#getSymbols() + * @see #getProblem() + * @generated + */ + EReference getProblem_Symbols(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.viatra.solver.language.solverLanguage.Problem#getImports Imports}'. + * + * + * @return the meta object for the containment reference list 'Imports'. + * @see org.eclipse.viatra.solver.language.solverLanguage.Problem#getImports() + * @see #getProblem() + * @generated + */ + EReference getProblem_Imports(); + + /** + * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.TypedStarArgument Typed Star Argument}'. + * + * + * @return the meta object for class 'Typed Star Argument'. + * @see org.eclipse.viatra.solver.language.solverLanguage.TypedStarArgument + * @generated + */ + EClass getTypedStarArgument(); + + /** + * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.TypedVariableArgument Typed Variable Argument}'. + * + * + * @return the meta object for class 'Typed Variable Argument'. + * @see org.eclipse.viatra.solver.language.solverLanguage.TypedVariableArgument + * @generated + */ + EClass getTypedVariableArgument(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.TypedVariableArgument#getName Name}'. + * + * + * @return the meta object for the attribute 'Name'. + * @see org.eclipse.viatra.solver.language.solverLanguage.TypedVariableArgument#getName() + * @see #getTypedVariableArgument() + * @generated + */ + EAttribute getTypedVariableArgument_Name(); + + /** + * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.UnnamedErrorPredicateDefintion Unnamed Error Predicate Defintion}'. + * + * + * @return the meta object for class 'Unnamed Error Predicate Defintion'. + * @see org.eclipse.viatra.solver.language.solverLanguage.UnnamedErrorPredicateDefintion + * @generated + */ + EClass getUnnamedErrorPredicateDefintion(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.UnnamedErrorPredicateDefintion#getArgumentList Argument List}'. + * + * + * @return the meta object for the containment reference 'Argument List'. + * @see org.eclipse.viatra.solver.language.solverLanguage.UnnamedErrorPredicateDefintion#getArgumentList() + * @see #getUnnamedErrorPredicateDefintion() + * @generated + */ + EReference getUnnamedErrorPredicateDefintion_ArgumentList(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.UnnamedErrorPredicateDefintion#getBody Body}'. + * + * + * @return the meta object for the containment reference 'Body'. + * @see org.eclipse.viatra.solver.language.solverLanguage.UnnamedErrorPredicateDefintion#getBody() + * @see #getUnnamedErrorPredicateDefintion() + * @generated + */ + EReference getUnnamedErrorPredicateDefintion_Body(); + + /** + * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.ObjectiveDeclaration Objective Declaration}'. + * + * + * @return the meta object for class 'Objective Declaration'. + * @see org.eclipse.viatra.solver.language.solverLanguage.ObjectiveDeclaration + * @generated + */ + EClass getObjectiveDeclaration(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.ObjectiveDeclaration#getKind Kind}'. + * + * + * @return the meta object for the attribute 'Kind'. + * @see org.eclipse.viatra.solver.language.solverLanguage.ObjectiveDeclaration#getKind() + * @see #getObjectiveDeclaration() + * @generated + */ + EAttribute getObjectiveDeclaration_Kind(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.ObjectiveDeclaration#getObjective Objective}'. + * + * + * @return the meta object for the containment reference 'Objective'. + * @see org.eclipse.viatra.solver.language.solverLanguage.ObjectiveDeclaration#getObjective() + * @see #getObjectiveDeclaration() + * @generated + */ + EReference getObjectiveDeclaration_Objective(); + + /** + * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.ScopeDeclaration Scope Declaration}'. + * + * + * @return the meta object for class 'Scope Declaration'. + * @see org.eclipse.viatra.solver.language.solverLanguage.ScopeDeclaration + * @generated + */ + EClass getScopeDeclaration(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.viatra.solver.language.solverLanguage.ScopeDeclaration#getType Type}'. + * + * + * @return the meta object for the reference 'Type'. + * @see org.eclipse.viatra.solver.language.solverLanguage.ScopeDeclaration#getType() + * @see #getScopeDeclaration() + * @generated + */ + EReference getScopeDeclaration_Type(); + + /** + * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.ExactScope Exact Scope}'. + * + * + * @return the meta object for class 'Exact Scope'. + * @see org.eclipse.viatra.solver.language.solverLanguage.ExactScope + * @generated + */ + EClass getExactScope(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.ExactScope#getSize Size}'. + * + * + * @return the meta object for the attribute 'Size'. + * @see org.eclipse.viatra.solver.language.solverLanguage.ExactScope#getSize() + * @see #getExactScope() + * @generated + */ + EAttribute getExactScope_Size(); + + /** + * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.BoundedScope Bounded Scope}'. + * + * + * @return the meta object for class 'Bounded Scope'. + * @see org.eclipse.viatra.solver.language.solverLanguage.BoundedScope + * @generated + */ + EClass getBoundedScope(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.BoundedScope#getLowerBound Lower Bound}'. + * + * + * @return the meta object for the attribute 'Lower Bound'. + * @see org.eclipse.viatra.solver.language.solverLanguage.BoundedScope#getLowerBound() + * @see #getBoundedScope() + * @generated + */ + EAttribute getBoundedScope_LowerBound(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.BoundedScope#getUpperBound Upper Bound}'. + * + * + * @return the meta object for the attribute 'Upper Bound'. + * @see org.eclipse.viatra.solver.language.solverLanguage.BoundedScope#getUpperBound() + * @see #getBoundedScope() + * @generated + */ + EAttribute getBoundedScope_UpperBound(); + + /** + * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.LowerBoundedScope Lower Bounded Scope}'. + * + * + * @return the meta object for class 'Lower Bounded Scope'. + * @see org.eclipse.viatra.solver.language.solverLanguage.LowerBoundedScope + * @generated + */ + EClass getLowerBoundedScope(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.LowerBoundedScope#getLowerBound Lower Bound}'. + * + * + * @return the meta object for the attribute 'Lower Bound'. + * @see org.eclipse.viatra.solver.language.solverLanguage.LowerBoundedScope#getLowerBound() + * @see #getLowerBoundedScope() + * @generated + */ + EAttribute getLowerBoundedScope_LowerBound(); + + /** + * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.NamespaceImport Namespace Import}'. + * + * + * @return the meta object for class 'Namespace Import'. + * @see org.eclipse.viatra.solver.language.solverLanguage.NamespaceImport + * @generated + */ + EClass getNamespaceImport(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.NamespaceImport#getImportedNamespace Imported Namespace}'. + * + * + * @return the meta object for the attribute 'Imported Namespace'. + * @see org.eclipse.viatra.solver.language.solverLanguage.NamespaceImport#getImportedNamespace() + * @see #getNamespaceImport() + * @generated + */ + EAttribute getNamespaceImport_ImportedNamespace(); + + /** + * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.Import Import}'. + * + * + * @return the meta object for class 'Import'. + * @see org.eclipse.viatra.solver.language.solverLanguage.Import + * @generated + */ + EClass getImport(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.Import#getAlias Alias}'. + * + * + * @return the meta object for the attribute 'Alias'. + * @see org.eclipse.viatra.solver.language.solverLanguage.Import#getAlias() + * @see #getImport() + * @generated + */ + EAttribute getImport_Alias(); + + /** + * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.UriImport Uri Import}'. + * + * + * @return the meta object for class 'Uri Import'. + * @see org.eclipse.viatra.solver.language.solverLanguage.UriImport + * @generated + */ + EClass getUriImport(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.UriImport#getUri Uri}'. + * + * + * @return the meta object for the attribute 'Uri'. + * @see org.eclipse.viatra.solver.language.solverLanguage.UriImport#getUri() + * @see #getUriImport() + * @generated + */ + EAttribute getUriImport_Uri(); + + /** + * Returns the meta object for enum '{@link org.eclipse.viatra.solver.language.solverLanguage.UnaryOperator Unary Operator}'. + * + * + * @return the meta object for enum 'Unary Operator'. + * @see org.eclipse.viatra.solver.language.solverLanguage.UnaryOperator + * @generated + */ + EEnum getUnaryOperator(); + + /** + * Returns the meta object for enum '{@link org.eclipse.viatra.solver.language.solverLanguage.BinaryOperator Binary Operator}'. + * + * + * @return the meta object for enum 'Binary Operator'. + * @see org.eclipse.viatra.solver.language.solverLanguage.BinaryOperator + * @generated + */ + EEnum getBinaryOperator(); + + /** + * Returns the meta object for enum '{@link org.eclipse.viatra.solver.language.solverLanguage.LogicValue Logic Value}'. + * + * + * @return the meta object for enum 'Logic Value'. + * @see org.eclipse.viatra.solver.language.solverLanguage.LogicValue + * @generated + */ + EEnum getLogicValue(); + + /** + * Returns the meta object for enum '{@link org.eclipse.viatra.solver.language.solverLanguage.ObjectiveKind Objective Kind}'. + * + * + * @return the meta object for enum 'Objective Kind'. + * @see org.eclipse.viatra.solver.language.solverLanguage.ObjectiveKind + * @generated + */ + EEnum getObjectiveKind(); + + /** + * Returns the meta object for enum '{@link org.eclipse.viatra.solver.language.solverLanguage.AttributeKind Attribute Kind}'. + * + * + * @return the meta object for enum 'Attribute Kind'. + * @see org.eclipse.viatra.solver.language.solverLanguage.AttributeKind + * @generated + */ + EEnum getAttributeKind(); + + /** + * Returns the factory that creates the instances of the model. + * + * + * @return the factory that creates the instances of the model. + * @generated + */ + SolverLanguageFactory getSolverLanguageFactory(); + + /** + * + * Defines literals for the meta objects that represent + *
      + *
    • each class,
    • + *
    • each feature of each class,
    • + *
    • each operation of each class,
    • + *
    • each enum,
    • + *
    • and each data type
    • + *
    + * + * @generated + */ + interface Literals { + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.PathComponentImpl Path Component}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.PathComponentImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getPathComponent() + * @generated + */ + EClass PATH_COMPONENT = eINSTANCE.getPathComponent(); + + /** + * The meta object literal for the 'Symbol' reference feature. + * + * + * @generated + */ + EReference PATH_COMPONENT__SYMBOL = eINSTANCE.getPathComponent_Symbol(); + + /** + * The meta object literal for the 'Inverse' attribute feature. + * + * + * @generated + */ + EAttribute PATH_COMPONENT__INVERSE = eINSTANCE.getPathComponent_Inverse(); + + /** + * The meta object literal for the 'Transitive Closure' attribute feature. + * + * + * @generated + */ + EAttribute PATH_COMPONENT__TRANSITIVE_CLOSURE = eINSTANCE.getPathComponent_TransitiveClosure(); + + /** + * The meta object literal for the 'Reflexive Transitive Closure' attribute feature. + * + * + * @generated + */ + EAttribute PATH_COMPONENT__REFLEXIVE_TRANSITIVE_CLOSURE = eINSTANCE + .getPathComponent_ReflexiveTransitiveClosure(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.SymbolImpl Symbol}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SymbolImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getSymbol() + * @generated + */ + EClass SYMBOL = eINSTANCE.getSymbol(); + + /** + * The meta object literal for the 'Name' attribute feature. + * + * + * @generated + */ + EAttribute SYMBOL__NAME = eINSTANCE.getSymbol_Name(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.CallImpl Call}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.CallImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getCall() + * @generated + */ + EClass CALL = eINSTANCE.getCall(); + + /** + * The meta object literal for the 'Functor' containment reference feature. + * + * + * @generated + */ + EReference CALL__FUNCTOR = eINSTANCE.getCall_Functor(); + + /** + * The meta object literal for the 'Argument List' containment reference feature. + * + * + * @generated + */ + EReference CALL__ARGUMENT_LIST = eINSTANCE.getCall_ArgumentList(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ReferenceImpl Reference}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ReferenceImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getReference() + * @generated + */ + EClass REFERENCE = eINSTANCE.getReference(); + + /** + * The meta object literal for the 'Components' containment reference list feature. + * + * + * @generated + */ + EReference REFERENCE__COMPONENTS = eINSTANCE.getReference_Components(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExpressionImpl Expression}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ExpressionImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getExpression() + * @generated + */ + EClass EXPRESSION = eINSTANCE.getExpression(); + + /** + * The meta object literal for the 'Exists Variables' containment reference list feature. + * + * + * @generated + */ + EReference EXPRESSION__EXISTS_VARIABLES = eINSTANCE.getExpression_ExistsVariables(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ArgumentImpl Argument}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ArgumentImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getArgument() + * @generated + */ + EClass ARGUMENT = eINSTANCE.getArgument(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ArgumentListImpl Argument List}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ArgumentListImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getArgumentList() + * @generated + */ + EClass ARGUMENT_LIST = eINSTANCE.getArgumentList(); + + /** + * The meta object literal for the 'Arguments' containment reference list feature. + * + * + * @generated + */ + EReference ARGUMENT_LIST__ARGUMENTS = eINSTANCE.getArgumentList_Arguments(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExpressionArgumentImpl Expression Argument}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ExpressionArgumentImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getExpressionArgument() + * @generated + */ + EClass EXPRESSION_ARGUMENT = eINSTANCE.getExpressionArgument(); + + /** + * The meta object literal for the 'Expression' containment reference feature. + * + * + * @generated + */ + EReference EXPRESSION_ARGUMENT__EXPRESSION = eINSTANCE.getExpressionArgument_Expression(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.StarArgumentImpl Star Argument}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.StarArgumentImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getStarArgument() + * @generated + */ + EClass STAR_ARGUMENT = eINSTANCE.getStarArgument(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.TypedArgumentImpl Typed Argument}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.TypedArgumentImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getTypedArgument() + * @generated + */ + EClass TYPED_ARGUMENT = eINSTANCE.getTypedArgument(); + + /** + * The meta object literal for the 'Type Reference' containment reference feature. + * + * + * @generated + */ + EReference TYPED_ARGUMENT__TYPE_REFERENCE = eINSTANCE.getTypedArgument_TypeReference(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.MultiaryExpessionImpl Multiary Expession}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.MultiaryExpessionImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getMultiaryExpession() + * @generated + */ + EClass MULTIARY_EXPESSION = eINSTANCE.getMultiaryExpession(); + + /** + * The meta object literal for the 'Children' containment reference list feature. + * + * + * @generated + */ + EReference MULTIARY_EXPESSION__CHILDREN = eINSTANCE.getMultiaryExpession_Children(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.VariableImpl Variable}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.VariableImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getVariable() + * @generated + */ + EClass VARIABLE = eINSTANCE.getVariable(); + + /** + * The meta object literal for the 'Type Reference' containment reference feature. + * + * + * @generated + */ + EReference VARIABLE__TYPE_REFERENCE = eINSTANCE.getVariable_TypeReference(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.UnaryExpressionImpl Unary Expression}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.UnaryExpressionImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getUnaryExpression() + * @generated + */ + EClass UNARY_EXPRESSION = eINSTANCE.getUnaryExpression(); + + /** + * The meta object literal for the 'Body' containment reference feature. + * + * + * @generated + */ + EReference UNARY_EXPRESSION__BODY = eINSTANCE.getUnaryExpression_Body(); + + /** + * The meta object literal for the 'Op' attribute feature. + * + * + * @generated + */ + EAttribute UNARY_EXPRESSION__OP = eINSTANCE.getUnaryExpression_Op(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.BinaryExpressionImpl Binary Expression}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.BinaryExpressionImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getBinaryExpression() + * @generated + */ + EClass BINARY_EXPRESSION = eINSTANCE.getBinaryExpression(); + + /** + * The meta object literal for the 'Op' attribute feature. + * + * + * @generated + */ + EAttribute BINARY_EXPRESSION__OP = eINSTANCE.getBinaryExpression_Op(); + + /** + * The meta object literal for the 'Left' containment reference feature. + * + * + * @generated + */ + EReference BINARY_EXPRESSION__LEFT = eINSTANCE.getBinaryExpression_Left(); + + /** + * The meta object literal for the 'Right' containment reference feature. + * + * + * @generated + */ + EReference BINARY_EXPRESSION__RIGHT = eINSTANCE.getBinaryExpression_Right(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.DisjunctionImpl Disjunction}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.DisjunctionImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getDisjunction() + * @generated + */ + EClass DISJUNCTION = eINSTANCE.getDisjunction(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ConjunctionImpl Conjunction}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ConjunctionImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getConjunction() + * @generated + */ + EClass CONJUNCTION = eINSTANCE.getConjunction(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ConditionalExpressionImpl Conditional Expression}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ConditionalExpressionImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getConditionalExpression() + * @generated + */ + EClass CONDITIONAL_EXPRESSION = eINSTANCE.getConditionalExpression(); + + /** + * The meta object literal for the 'Condition' containment reference feature. + * + * + * @generated + */ + EReference CONDITIONAL_EXPRESSION__CONDITION = eINSTANCE.getConditionalExpression_Condition(); + + /** + * The meta object literal for the 'Then' containment reference feature. + * + * + * @generated + */ + EReference CONDITIONAL_EXPRESSION__THEN = eINSTANCE.getConditionalExpression_Then(); + + /** + * The meta object literal for the 'Else' containment reference feature. + * + * + * @generated + */ + EReference CONDITIONAL_EXPRESSION__ELSE = eINSTANCE.getConditionalExpression_Else(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.SwitchImpl Switch}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SwitchImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getSwitch() + * @generated + */ + EClass SWITCH = eINSTANCE.getSwitch(); + + /** + * The meta object literal for the 'Cases' containment reference list feature. + * + * + * @generated + */ + EReference SWITCH__CASES = eINSTANCE.getSwitch_Cases(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.CaseImpl Case}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.CaseImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getCase() + * @generated + */ + EClass CASE = eINSTANCE.getCase(); + + /** + * The meta object literal for the 'Condition' containment reference feature. + * + * + * @generated + */ + EReference CASE__CONDITION = eINSTANCE.getCase_Condition(); + + /** + * The meta object literal for the 'Body' containment reference feature. + * + * + * @generated + */ + EReference CASE__BODY = eINSTANCE.getCase_Body(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.LetExpressionImpl Let Expression}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.LetExpressionImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getLetExpression() + * @generated + */ + EClass LET_EXPRESSION = eINSTANCE.getLetExpression(); + + /** + * The meta object literal for the 'Bindings' containment reference list feature. + * + * + * @generated + */ + EReference LET_EXPRESSION__BINDINGS = eINSTANCE.getLetExpression_Bindings(); + + /** + * The meta object literal for the 'Body' containment reference feature. + * + * + * @generated + */ + EReference LET_EXPRESSION__BODY = eINSTANCE.getLetExpression_Body(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.LetBindingImpl Let Binding}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.LetBindingImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getLetBinding() + * @generated + */ + EClass LET_BINDING = eINSTANCE.getLetBinding(); + + /** + * The meta object literal for the 'Value' containment reference feature. + * + * + * @generated + */ + EReference LET_BINDING__VALUE = eINSTANCE.getLetBinding_Value(); + + /** + * The meta object literal for the 'Variable' containment reference feature. + * + * + * @generated + */ + EReference LET_BINDING__VARIABLE = eINSTANCE.getLetBinding_Variable(); + + /** + * The meta object literal for the 'Name' attribute feature. + * + * + * @generated + */ + EAttribute LET_BINDING__NAME = eINSTANCE.getLetBinding_Name(); + + /** + * The meta object literal for the 'Type' reference feature. + * + * + * @generated + */ + EReference LET_BINDING__TYPE = eINSTANCE.getLetBinding_Type(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.LiteralImpl Literal}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.LiteralImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getLiteral() + * @generated + */ + EClass LITERAL = eINSTANCE.getLiteral(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.IntLiteralImpl Int Literal}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.IntLiteralImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getIntLiteral() + * @generated + */ + EClass INT_LITERAL = eINSTANCE.getIntLiteral(); + + /** + * The meta object literal for the 'Value' attribute feature. + * + * + * @generated + */ + EAttribute INT_LITERAL__VALUE = eINSTANCE.getIntLiteral_Value(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.RealLiteralImpl Real Literal}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.RealLiteralImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getRealLiteral() + * @generated + */ + EClass REAL_LITERAL = eINSTANCE.getRealLiteral(); + + /** + * The meta object literal for the 'Value' attribute feature. + * + * + * @generated + */ + EAttribute REAL_LITERAL__VALUE = eINSTANCE.getRealLiteral_Value(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.StringLiteralImpl String Literal}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.StringLiteralImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getStringLiteral() + * @generated + */ + EClass STRING_LITERAL = eINSTANCE.getStringLiteral(); + + /** + * The meta object literal for the 'Value' attribute feature. + * + * + * @generated + */ + EAttribute STRING_LITERAL__VALUE = eINSTANCE.getStringLiteral_Value(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.LogicLiteralImpl Logic Literal}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.LogicLiteralImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getLogicLiteral() + * @generated + */ + EClass LOGIC_LITERAL = eINSTANCE.getLogicLiteral(); + + /** + * The meta object literal for the 'Value' attribute feature. + * + * + * @generated + */ + EAttribute LOGIC_LITERAL__VALUE = eINSTANCE.getLogicLiteral_Value(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.EmptyLiteralImpl Empty Literal}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.EmptyLiteralImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getEmptyLiteral() + * @generated + */ + EClass EMPTY_LITERAL = eINSTANCE.getEmptyLiteral(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.CastExpressionImpl Cast Expression}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.CastExpressionImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getCastExpression() + * @generated + */ + EClass CAST_EXPRESSION = eINSTANCE.getCastExpression(); + + /** + * The meta object literal for the 'Body' containment reference feature. + * + * + * @generated + */ + EReference CAST_EXPRESSION__BODY = eINSTANCE.getCastExpression_Body(); + + /** + * The meta object literal for the 'Target Type' reference feature. + * + * + * @generated + */ + EReference CAST_EXPRESSION__TARGET_TYPE = eINSTANCE.getCastExpression_TargetType(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.AggregateExpressionImpl Aggregate Expression}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.AggregateExpressionImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getAggregateExpression() + * @generated + */ + EClass AGGREGATE_EXPRESSION = eINSTANCE.getAggregateExpression(); + + /** + * The meta object literal for the 'Forall Variables' containment reference list feature. + * + * + * @generated + */ + EReference AGGREGATE_EXPRESSION__FORALL_VARIABLES = eINSTANCE.getAggregateExpression_ForallVariables(); + + /** + * The meta object literal for the 'Condition' containment reference feature. + * + * + * @generated + */ + EReference AGGREGATE_EXPRESSION__CONDITION = eINSTANCE.getAggregateExpression_Condition(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.CountImpl Count}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.CountImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getCount() + * @generated + */ + EClass COUNT = eINSTANCE.getCount(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.AggregationImpl Aggregation}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.AggregationImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getAggregation() + * @generated + */ + EClass AGGREGATION = eINSTANCE.getAggregation(); + + /** + * The meta object literal for the 'Value' containment reference feature. + * + * + * @generated + */ + EReference AGGREGATION__VALUE = eINSTANCE.getAggregation_Value(); + + /** + * The meta object literal for the 'Op' reference feature. + * + * + * @generated + */ + EReference AGGREGATION__OP = eINSTANCE.getAggregation_Op(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ForallImpl Forall}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ForallImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getForall() + * @generated + */ + EClass FORALL = eINSTANCE.getForall(); + + /** + * The meta object literal for the 'Body' containment reference feature. + * + * + * @generated + */ + EReference FORALL__BODY = eINSTANCE.getForall_Body(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.TypeReferenceImpl Type Reference}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.TypeReferenceImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getTypeReference() + * @generated + */ + EClass TYPE_REFERENCE = eINSTANCE.getTypeReference(); + + /** + * The meta object literal for the 'Force Object Type' attribute feature. + * + * + * @generated + */ + EAttribute TYPE_REFERENCE__FORCE_OBJECT_TYPE = eINSTANCE.getTypeReference_ForceObjectType(); + + /** + * The meta object literal for the 'Type' reference feature. + * + * + * @generated + */ + EReference TYPE_REFERENCE__TYPE = eINSTANCE.getTypeReference_Type(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.InfinityLiteralImpl Infinity Literal}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.InfinityLiteralImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getInfinityLiteral() + * @generated + */ + EClass INFINITY_LITERAL = eINSTANCE.getInfinityLiteral(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.IntervalImpl Interval}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.IntervalImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getInterval() + * @generated + */ + EClass INTERVAL = eINSTANCE.getInterval(); + + /** + * The meta object literal for the 'Lower Bound' containment reference feature. + * + * + * @generated + */ + EReference INTERVAL__LOWER_BOUND = eINSTANCE.getInterval_LowerBound(); + + /** + * The meta object literal for the 'Upper Bound' containment reference feature. + * + * + * @generated + */ + EReference INTERVAL__UPPER_BOUND = eINSTANCE.getInterval_UpperBound(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.FunctorImpl Functor}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.FunctorImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getFunctor() + * @generated + */ + EClass FUNCTOR = eINSTANCE.getFunctor(); + + /** + * The meta object literal for the 'Parameters' containment reference list feature. + * + * + * @generated + */ + EReference FUNCTOR__PARAMETERS = eINSTANCE.getFunctor_Parameters(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.RelationImpl Relation}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.RelationImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getRelation() + * @generated + */ + EClass RELATION = eINSTANCE.getRelation(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.BaseRelationImpl Base Relation}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.BaseRelationImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getBaseRelation() + * @generated + */ + EClass BASE_RELATION = eINSTANCE.getBaseRelation(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.PredicateImpl Predicate}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.PredicateImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getPredicate() + * @generated + */ + EClass PREDICATE = eINSTANCE.getPredicate(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.DatatypeImpl Datatype}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.DatatypeImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getDatatype() + * @generated + */ + EClass DATATYPE = eINSTANCE.getDatatype(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.FunctionImpl Function}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.FunctionImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getFunction() + * @generated + */ + EClass FUNCTION = eINSTANCE.getFunction(); + + /** + * The meta object literal for the 'Result Type' reference feature. + * + * + * @generated + */ + EReference FUNCTION__RESULT_TYPE = eINSTANCE.getFunction_ResultType(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.MetricImpl Metric}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.MetricImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getMetric() + * @generated + */ + EClass METRIC = eINSTANCE.getMetric(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.OperatorImpl Operator}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.OperatorImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getOperator() + * @generated + */ + EClass OPERATOR = eINSTANCE.getOperator(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.NodeImpl Node}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.NodeImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getNode() + * @generated + */ + EClass NODE = eINSTANCE.getNode(); + + /** + * The meta object literal for the 'Named' attribute feature. + * + * + * @generated + */ + EAttribute NODE__NAMED = eINSTANCE.getNode_Named(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.StatementImpl Statement}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.StatementImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getStatement() + * @generated + */ + EClass STATEMENT = eINSTANCE.getStatement(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.AbstractAssertionImpl Abstract Assertion}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.AbstractAssertionImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getAbstractAssertion() + * @generated + */ + EClass ABSTRACT_ASSERTION = eINSTANCE.getAbstractAssertion(); + + /** + * The meta object literal for the 'Expression' containment reference feature. + * + * + * @generated + */ + EReference ABSTRACT_ASSERTION__EXPRESSION = eINSTANCE.getAbstractAssertion_Expression(); + + /** + * The meta object literal for the 'Range' containment reference feature. + * + * + * @generated + */ + EReference ABSTRACT_ASSERTION__RANGE = eINSTANCE.getAbstractAssertion_Range(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.FunctorDefinitonImpl Functor Definiton}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.FunctorDefinitonImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getFunctorDefiniton() + * @generated + */ + EClass FUNCTOR_DEFINITON = eINSTANCE.getFunctorDefiniton(); + + /** + * The meta object literal for the 'Head' containment reference feature. + * + * + * @generated + */ + EReference FUNCTOR_DEFINITON__HEAD = eINSTANCE.getFunctorDefiniton_Head(); + + /** + * The meta object literal for the 'Body' containment reference feature. + * + * + * @generated + */ + EReference FUNCTOR_DEFINITON__BODY = eINSTANCE.getFunctorDefiniton_Body(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.PredicateDefinitionImpl Predicate Definition}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.PredicateDefinitionImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getPredicateDefinition() + * @generated + */ + EClass PREDICATE_DEFINITION = eINSTANCE.getPredicateDefinition(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.FunctionDefinitionImpl Function Definition}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.FunctionDefinitionImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getFunctionDefinition() + * @generated + */ + EClass FUNCTION_DEFINITION = eINSTANCE.getFunctionDefinition(); + + /** + * The meta object literal for the 'Result Type' reference feature. + * + * + * @generated + */ + EReference FUNCTION_DEFINITION__RESULT_TYPE = eINSTANCE.getFunctionDefinition_ResultType(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.AttributeImpl Attribute}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.AttributeImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getAttribute() + * @generated + */ + EClass ATTRIBUTE = eINSTANCE.getAttribute(); + + /** + * The meta object literal for the 'Target' reference feature. + * + * + * @generated + */ + EReference ATTRIBUTE__TARGET = eINSTANCE.getAttribute_Target(); + + /** + * The meta object literal for the 'Kind' attribute feature. + * + * + * @generated + */ + EAttribute ATTRIBUTE__KIND = eINSTANCE.getAttribute_Kind(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExternDeclarationImpl Extern Declaration}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ExternDeclarationImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getExternDeclaration() + * @generated + */ + EClass EXTERN_DECLARATION = eINSTANCE.getExternDeclaration(); + + /** + * The meta object literal for the 'Name' attribute feature. + * + * + * @generated + */ + EAttribute EXTERN_DECLARATION__NAME = eINSTANCE.getExternDeclaration_Name(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExternFunctorDeclarationImpl Extern Functor Declaration}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ExternFunctorDeclarationImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getExternFunctorDeclaration() + * @generated + */ + EClass EXTERN_FUNCTOR_DECLARATION = eINSTANCE.getExternFunctorDeclaration(); + + /** + * The meta object literal for the 'Argument List' containment reference feature. + * + * + * @generated + */ + EReference EXTERN_FUNCTOR_DECLARATION__ARGUMENT_LIST = eINSTANCE.getExternFunctorDeclaration_ArgumentList(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExternPredicateDeclarationImpl Extern Predicate Declaration}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ExternPredicateDeclarationImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getExternPredicateDeclaration() + * @generated + */ + EClass EXTERN_PREDICATE_DECLARATION = eINSTANCE.getExternPredicateDeclaration(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExternFunctionDeclarationImpl Extern Function Declaration}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ExternFunctionDeclarationImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getExternFunctionDeclaration() + * @generated + */ + EClass EXTERN_FUNCTION_DECLARATION = eINSTANCE.getExternFunctionDeclaration(); + + /** + * The meta object literal for the 'Result Type' reference feature. + * + * + * @generated + */ + EReference EXTERN_FUNCTION_DECLARATION__RESULT_TYPE = eINSTANCE.getExternFunctionDeclaration_ResultType(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExternAggregationOperatorDeclarationImpl Extern Aggregation Operator Declaration}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ExternAggregationOperatorDeclarationImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getExternAggregationOperatorDeclaration() + * @generated + */ + EClass EXTERN_AGGREGATION_OPERATOR_DECLARATION = eINSTANCE.getExternAggregationOperatorDeclaration(); + + /** + * The meta object literal for the 'Argument Type' reference feature. + * + * + * @generated + */ + EReference EXTERN_AGGREGATION_OPERATOR_DECLARATION__ARGUMENT_TYPE = eINSTANCE + .getExternAggregationOperatorDeclaration_ArgumentType(); + + /** + * The meta object literal for the 'Result Type' reference feature. + * + * + * @generated + */ + EReference EXTERN_AGGREGATION_OPERATOR_DECLARATION__RESULT_TYPE = eINSTANCE + .getExternAggregationOperatorDeclaration_ResultType(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExternDatatypeDeclarationImpl Extern Datatype Declaration}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ExternDatatypeDeclarationImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getExternDatatypeDeclaration() + * @generated + */ + EClass EXTERN_DATATYPE_DECLARATION = eINSTANCE.getExternDatatypeDeclaration(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ClassDeclarationImpl Class Declaration}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ClassDeclarationImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getClassDeclaration() + * @generated + */ + EClass CLASS_DECLARATION = eINSTANCE.getClassDeclaration(); + + /** + * The meta object literal for the 'Fields' containment reference list feature. + * + * + * @generated + */ + EReference CLASS_DECLARATION__FIELDS = eINSTANCE.getClassDeclaration_Fields(); + + /** + * The meta object literal for the 'Name' attribute feature. + * + * + * @generated + */ + EAttribute CLASS_DECLARATION__NAME = eINSTANCE.getClassDeclaration_Name(); + + /** + * The meta object literal for the 'Abstract' attribute feature. + * + * + * @generated + */ + EAttribute CLASS_DECLARATION__ABSTRACT = eINSTANCE.getClassDeclaration_Abstract(); + + /** + * The meta object literal for the 'Supertypes' reference list feature. + * + * + * @generated + */ + EReference CLASS_DECLARATION__SUPERTYPES = eINSTANCE.getClassDeclaration_Supertypes(); + + /** + * The meta object literal for the 'Root' attribute feature. + * + * + * @generated + */ + EAttribute CLASS_DECLARATION__ROOT = eINSTANCE.getClassDeclaration_Root(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.EnumDeclarationImpl Enum Declaration}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.EnumDeclarationImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getEnumDeclaration() + * @generated + */ + EClass ENUM_DECLARATION = eINSTANCE.getEnumDeclaration(); + + /** + * The meta object literal for the 'Literals' containment reference list feature. + * + * + * @generated + */ + EReference ENUM_DECLARATION__LITERALS = eINSTANCE.getEnumDeclaration_Literals(); + + /** + * The meta object literal for the 'Name' attribute feature. + * + * + * @generated + */ + EAttribute ENUM_DECLARATION__NAME = eINSTANCE.getEnumDeclaration_Name(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.EnumLiteralImpl Enum Literal}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.EnumLiteralImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getEnumLiteral() + * @generated + */ + EClass ENUM_LITERAL = eINSTANCE.getEnumLiteral(); + + /** + * The meta object literal for the 'Name' attribute feature. + * + * + * @generated + */ + EAttribute ENUM_LITERAL__NAME = eINSTANCE.getEnumLiteral_Name(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.FieldImpl Field}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.FieldImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getField() + * @generated + */ + EClass FIELD = eINSTANCE.getField(); + + /** + * The meta object literal for the 'Containment' attribute feature. + * + * + * @generated + */ + EAttribute FIELD__CONTAINMENT = eINSTANCE.getField_Containment(); + + /** + * The meta object literal for the 'Cross Reference' attribute feature. + * + * + * @generated + */ + EAttribute FIELD__CROSS_REFERENCE = eINSTANCE.getField_CrossReference(); + + /** + * The meta object literal for the 'Opposite' reference feature. + * + * + * @generated + */ + EReference FIELD__OPPOSITE = eINSTANCE.getField_Opposite(); + + /** + * The meta object literal for the 'Multiplicity' containment reference feature. + * + * + * @generated + */ + EReference FIELD__MULTIPLICITY = eINSTANCE.getField_Multiplicity(); + + /** + * The meta object literal for the 'Type' reference feature. + * + * + * @generated + */ + EReference FIELD__TYPE = eINSTANCE.getField_Type(); + + /** + * The meta object literal for the 'Name' attribute feature. + * + * + * @generated + */ + EAttribute FIELD__NAME = eINSTANCE.getField_Name(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.MultiplicityImpl Multiplicity}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.MultiplicityImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getMultiplicity() + * @generated + */ + EClass MULTIPLICITY = eINSTANCE.getMultiplicity(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.DefaultAssertionImpl Default Assertion}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.DefaultAssertionImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getDefaultAssertion() + * @generated + */ + EClass DEFAULT_ASSERTION = eINSTANCE.getDefaultAssertion(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.AssertionImpl Assertion}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.AssertionImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getAssertion() + * @generated + */ + EClass ASSERTION = eINSTANCE.getAssertion(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.UnboundedMultiplicityImpl Unbounded Multiplicity}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.UnboundedMultiplicityImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getUnboundedMultiplicity() + * @generated + */ + EClass UNBOUNDED_MULTIPLICITY = eINSTANCE.getUnboundedMultiplicity(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExactMultiplicityImpl Exact Multiplicity}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ExactMultiplicityImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getExactMultiplicity() + * @generated + */ + EClass EXACT_MULTIPLICITY = eINSTANCE.getExactMultiplicity(); + + /** + * The meta object literal for the 'Value' attribute feature. + * + * + * @generated + */ + EAttribute EXACT_MULTIPLICITY__VALUE = eINSTANCE.getExactMultiplicity_Value(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.BoundedMultiplicityImpl Bounded Multiplicity}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.BoundedMultiplicityImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getBoundedMultiplicity() + * @generated + */ + EClass BOUNDED_MULTIPLICITY = eINSTANCE.getBoundedMultiplicity(); + + /** + * The meta object literal for the 'Lower Bound' attribute feature. + * + * + * @generated + */ + EAttribute BOUNDED_MULTIPLICITY__LOWER_BOUND = eINSTANCE.getBoundedMultiplicity_LowerBound(); + + /** + * The meta object literal for the 'Upper Bound' attribute feature. + * + * + * @generated + */ + EAttribute BOUNDED_MULTIPLICITY__UPPER_BOUND = eINSTANCE.getBoundedMultiplicity_UpperBound(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.InlinePredicateAttrributes Inline Predicate Attrributes}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.InlinePredicateAttrributes + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getInlinePredicateAttrributes() + * @generated + */ + EClass INLINE_PREDICATE_ATTRRIBUTES = eINSTANCE.getInlinePredicateAttrributes(); + + /** + * The meta object literal for the 'Error' attribute feature. + * + * + * @generated + */ + EAttribute INLINE_PREDICATE_ATTRRIBUTES__ERROR = eINSTANCE.getInlinePredicateAttrributes_Error(); + + /** + * The meta object literal for the 'Functional' attribute feature. + * + * + * @generated + */ + EAttribute INLINE_PREDICATE_ATTRRIBUTES__FUNCTIONAL = eINSTANCE.getInlinePredicateAttrributes_Functional(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.AggregationOperatorImpl Aggregation Operator}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.AggregationOperatorImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getAggregationOperator() + * @generated + */ + EClass AGGREGATION_OPERATOR = eINSTANCE.getAggregationOperator(); + + /** + * The meta object literal for the 'Argument Type' reference feature. + * + * + * @generated + */ + EReference AGGREGATION_OPERATOR__ARGUMENT_TYPE = eINSTANCE.getAggregationOperator_ArgumentType(); + + /** + * The meta object literal for the 'Result Type' reference feature. + * + * + * @generated + */ + EReference AGGREGATION_OPERATOR__RESULT_TYPE = eINSTANCE.getAggregationOperator_ResultType(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ProblemImpl Problem}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ProblemImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getProblem() + * @generated + */ + EClass PROBLEM = eINSTANCE.getProblem(); + + /** + * The meta object literal for the 'Name' attribute feature. + * + * + * @generated + */ + EAttribute PROBLEM__NAME = eINSTANCE.getProblem_Name(); + + /** + * The meta object literal for the 'Statements' containment reference list feature. + * + * + * @generated + */ + EReference PROBLEM__STATEMENTS = eINSTANCE.getProblem_Statements(); + + /** + * The meta object literal for the 'Symbols' containment reference list feature. + * + * + * @generated + */ + EReference PROBLEM__SYMBOLS = eINSTANCE.getProblem_Symbols(); + + /** + * The meta object literal for the 'Imports' containment reference list feature. + * + * + * @generated + */ + EReference PROBLEM__IMPORTS = eINSTANCE.getProblem_Imports(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.TypedStarArgumentImpl Typed Star Argument}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.TypedStarArgumentImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getTypedStarArgument() + * @generated + */ + EClass TYPED_STAR_ARGUMENT = eINSTANCE.getTypedStarArgument(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.TypedVariableArgumentImpl Typed Variable Argument}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.TypedVariableArgumentImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getTypedVariableArgument() + * @generated + */ + EClass TYPED_VARIABLE_ARGUMENT = eINSTANCE.getTypedVariableArgument(); + + /** + * The meta object literal for the 'Name' attribute feature. + * + * + * @generated + */ + EAttribute TYPED_VARIABLE_ARGUMENT__NAME = eINSTANCE.getTypedVariableArgument_Name(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.UnnamedErrorPredicateDefintionImpl Unnamed Error Predicate Defintion}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.UnnamedErrorPredicateDefintionImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getUnnamedErrorPredicateDefintion() + * @generated + */ + EClass UNNAMED_ERROR_PREDICATE_DEFINTION = eINSTANCE.getUnnamedErrorPredicateDefintion(); + + /** + * The meta object literal for the 'Argument List' containment reference feature. + * + * + * @generated + */ + EReference UNNAMED_ERROR_PREDICATE_DEFINTION__ARGUMENT_LIST = eINSTANCE + .getUnnamedErrorPredicateDefintion_ArgumentList(); + + /** + * The meta object literal for the 'Body' containment reference feature. + * + * + * @generated + */ + EReference UNNAMED_ERROR_PREDICATE_DEFINTION__BODY = eINSTANCE.getUnnamedErrorPredicateDefintion_Body(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ObjectiveDeclarationImpl Objective Declaration}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ObjectiveDeclarationImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getObjectiveDeclaration() + * @generated + */ + EClass OBJECTIVE_DECLARATION = eINSTANCE.getObjectiveDeclaration(); + + /** + * The meta object literal for the 'Kind' attribute feature. + * + * + * @generated + */ + EAttribute OBJECTIVE_DECLARATION__KIND = eINSTANCE.getObjectiveDeclaration_Kind(); + + /** + * The meta object literal for the 'Objective' containment reference feature. + * + * + * @generated + */ + EReference OBJECTIVE_DECLARATION__OBJECTIVE = eINSTANCE.getObjectiveDeclaration_Objective(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ScopeDeclarationImpl Scope Declaration}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ScopeDeclarationImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getScopeDeclaration() + * @generated + */ + EClass SCOPE_DECLARATION = eINSTANCE.getScopeDeclaration(); + + /** + * The meta object literal for the 'Type' reference feature. + * + * + * @generated + */ + EReference SCOPE_DECLARATION__TYPE = eINSTANCE.getScopeDeclaration_Type(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExactScopeImpl Exact Scope}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ExactScopeImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getExactScope() + * @generated + */ + EClass EXACT_SCOPE = eINSTANCE.getExactScope(); + + /** + * The meta object literal for the 'Size' attribute feature. + * + * + * @generated + */ + EAttribute EXACT_SCOPE__SIZE = eINSTANCE.getExactScope_Size(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.BoundedScopeImpl Bounded Scope}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.BoundedScopeImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getBoundedScope() + * @generated + */ + EClass BOUNDED_SCOPE = eINSTANCE.getBoundedScope(); + + /** + * The meta object literal for the 'Lower Bound' attribute feature. + * + * + * @generated + */ + EAttribute BOUNDED_SCOPE__LOWER_BOUND = eINSTANCE.getBoundedScope_LowerBound(); + + /** + * The meta object literal for the 'Upper Bound' attribute feature. + * + * + * @generated + */ + EAttribute BOUNDED_SCOPE__UPPER_BOUND = eINSTANCE.getBoundedScope_UpperBound(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.LowerBoundedScopeImpl Lower Bounded Scope}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.LowerBoundedScopeImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getLowerBoundedScope() + * @generated + */ + EClass LOWER_BOUNDED_SCOPE = eINSTANCE.getLowerBoundedScope(); + + /** + * The meta object literal for the 'Lower Bound' attribute feature. + * + * + * @generated + */ + EAttribute LOWER_BOUNDED_SCOPE__LOWER_BOUND = eINSTANCE.getLowerBoundedScope_LowerBound(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.NamespaceImportImpl Namespace Import}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.NamespaceImportImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getNamespaceImport() + * @generated + */ + EClass NAMESPACE_IMPORT = eINSTANCE.getNamespaceImport(); + + /** + * The meta object literal for the 'Imported Namespace' attribute feature. + * + * + * @generated + */ + EAttribute NAMESPACE_IMPORT__IMPORTED_NAMESPACE = eINSTANCE.getNamespaceImport_ImportedNamespace(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ImportImpl Import}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ImportImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getImport() + * @generated + */ + EClass IMPORT = eINSTANCE.getImport(); + + /** + * The meta object literal for the 'Alias' attribute feature. + * + * + * @generated + */ + EAttribute IMPORT__ALIAS = eINSTANCE.getImport_Alias(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.UriImportImpl Uri Import}' class. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.UriImportImpl + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getUriImport() + * @generated + */ + EClass URI_IMPORT = eINSTANCE.getUriImport(); + + /** + * The meta object literal for the 'Uri' attribute feature. + * + * + * @generated + */ + EAttribute URI_IMPORT__URI = eINSTANCE.getUriImport_Uri(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.UnaryOperator Unary Operator}' enum. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.UnaryOperator + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getUnaryOperator() + * @generated + */ + EEnum UNARY_OPERATOR = eINSTANCE.getUnaryOperator(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.BinaryOperator Binary Operator}' enum. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.BinaryOperator + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getBinaryOperator() + * @generated + */ + EEnum BINARY_OPERATOR = eINSTANCE.getBinaryOperator(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.LogicValue Logic Value}' enum. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.LogicValue + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getLogicValue() + * @generated + */ + EEnum LOGIC_VALUE = eINSTANCE.getLogicValue(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.ObjectiveKind Objective Kind}' enum. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.ObjectiveKind + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getObjectiveKind() + * @generated + */ + EEnum OBJECTIVE_KIND = eINSTANCE.getObjectiveKind(); + + /** + * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.AttributeKind Attribute Kind}' enum. + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.AttributeKind + * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getAttributeKind() + * @generated + */ + EEnum ATTRIBUTE_KIND = eINSTANCE.getAttributeKind(); + + } + +} //SolverLanguagePackage diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/StarArgument.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/StarArgument.java new file mode 100644 index 00000000..c81bd654 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/StarArgument.java @@ -0,0 +1,16 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage; + +/** + * + * A representation of the model object 'Star Argument'. + * + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getStarArgument() + * @model + * @generated + */ +public interface StarArgument extends Argument { +} // StarArgument diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Statement.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Statement.java new file mode 100644 index 00000000..0db8c675 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Statement.java @@ -0,0 +1,18 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage; + +import org.eclipse.emf.ecore.EObject; + +/** + * + * A representation of the model object 'Statement'. + * + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getStatement() + * @model abstract="true" + * @generated + */ +public interface Statement extends EObject { +} // Statement diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/StringLiteral.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/StringLiteral.java new file mode 100644 index 00000000..cc361917 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/StringLiteral.java @@ -0,0 +1,44 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage; + +/** + * + * A representation of the model object 'String Literal'. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.StringLiteral#getValue Value}
    • + *
    + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getStringLiteral() + * @model + * @generated + */ +public interface StringLiteral extends Literal { + /** + * Returns the value of the 'Value' attribute. + * + * + * @return the value of the 'Value' attribute. + * @see #setValue(String) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getStringLiteral_Value() + * @model + * @generated + */ + String getValue(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.StringLiteral#getValue Value}' attribute. + * + * + * @param value the new value of the 'Value' attribute. + * @see #getValue() + * @generated + */ + void setValue(String value); + +} // StringLiteral diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Switch.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Switch.java new file mode 100644 index 00000000..7f2111bd --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Switch.java @@ -0,0 +1,36 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage; + +import org.eclipse.emf.common.util.EList; + +/** + * + * A representation of the model object 'Switch'. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.Switch#getCases Cases}
    • + *
    + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getSwitch() + * @model + * @generated + */ +public interface Switch extends Expression { + /** + * Returns the value of the 'Cases' containment reference list. + * The list contents are of type {@link org.eclipse.viatra.solver.language.solverLanguage.Case}. + * + * + * @return the value of the 'Cases' containment reference list. + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getSwitch_Cases() + * @model containment="true" + * @generated + */ + EList getCases(); + +} // Switch diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Symbol.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Symbol.java new file mode 100644 index 00000000..bf8f220b --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Symbol.java @@ -0,0 +1,46 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage; + +import org.eclipse.emf.ecore.EObject; + +/** + * + * A representation of the model object 'Symbol'. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.Symbol#getName Name}
    • + *
    + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getSymbol() + * @model abstract="true" + * @generated + */ +public interface Symbol extends EObject { + /** + * Returns the value of the 'Name' attribute. + * + * + * @return the value of the 'Name' attribute. + * @see #setName(String) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getSymbol_Name() + * @model + * @generated + */ + String getName(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.Symbol#getName Name}' attribute. + * + * + * @param value the new value of the 'Name' attribute. + * @see #getName() + * @generated + */ + void setName(String value); + +} // Symbol diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/TypeReference.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/TypeReference.java new file mode 100644 index 00000000..9a448bba --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/TypeReference.java @@ -0,0 +1,69 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage; + +import org.eclipse.emf.ecore.EObject; + +/** + * + * A representation of the model object 'Type Reference'. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.TypeReference#isForceObjectType Force Object Type}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.TypeReference#getType Type}
    • + *
    + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getTypeReference() + * @model + * @generated + */ +public interface TypeReference extends EObject { + /** + * Returns the value of the 'Force Object Type' attribute. + * + * + * @return the value of the 'Force Object Type' attribute. + * @see #setForceObjectType(boolean) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getTypeReference_ForceObjectType() + * @model + * @generated + */ + boolean isForceObjectType(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.TypeReference#isForceObjectType Force Object Type}' attribute. + * + * + * @param value the new value of the 'Force Object Type' attribute. + * @see #isForceObjectType() + * @generated + */ + void setForceObjectType(boolean value); + + /** + * Returns the value of the 'Type' reference. + * + * + * @return the value of the 'Type' reference. + * @see #setType(Symbol) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getTypeReference_Type() + * @model + * @generated + */ + Symbol getType(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.TypeReference#getType Type}' reference. + * + * + * @param value the new value of the 'Type' reference. + * @see #getType() + * @generated + */ + void setType(Symbol value); + +} // TypeReference diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/TypedArgument.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/TypedArgument.java new file mode 100644 index 00000000..b9b411f5 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/TypedArgument.java @@ -0,0 +1,44 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage; + +/** + * + * A representation of the model object 'Typed Argument'. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.TypedArgument#getTypeReference Type Reference}
    • + *
    + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getTypedArgument() + * @model abstract="true" + * @generated + */ +public interface TypedArgument extends Argument { + /** + * Returns the value of the 'Type Reference' containment reference. + * + * + * @return the value of the 'Type Reference' containment reference. + * @see #setTypeReference(TypeReference) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getTypedArgument_TypeReference() + * @model containment="true" + * @generated + */ + TypeReference getTypeReference(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.TypedArgument#getTypeReference Type Reference}' containment reference. + * + * + * @param value the new value of the 'Type Reference' containment reference. + * @see #getTypeReference() + * @generated + */ + void setTypeReference(TypeReference value); + +} // TypedArgument diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/TypedStarArgument.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/TypedStarArgument.java new file mode 100644 index 00000000..0693f4e0 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/TypedStarArgument.java @@ -0,0 +1,16 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage; + +/** + * + * A representation of the model object 'Typed Star Argument'. + * + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getTypedStarArgument() + * @model + * @generated + */ +public interface TypedStarArgument extends TypedArgument { +} // TypedStarArgument diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/TypedVariableArgument.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/TypedVariableArgument.java new file mode 100644 index 00000000..8a86fd9a --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/TypedVariableArgument.java @@ -0,0 +1,44 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage; + +/** + * + * A representation of the model object 'Typed Variable Argument'. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.TypedVariableArgument#getName Name}
    • + *
    + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getTypedVariableArgument() + * @model + * @generated + */ +public interface TypedVariableArgument extends TypedArgument { + /** + * Returns the value of the 'Name' attribute. + * + * + * @return the value of the 'Name' attribute. + * @see #setName(String) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getTypedVariableArgument_Name() + * @model + * @generated + */ + String getName(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.TypedVariableArgument#getName Name}' attribute. + * + * + * @param value the new value of the 'Name' attribute. + * @see #getName() + * @generated + */ + void setName(String value); + +} // TypedVariableArgument diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/UnaryExpression.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/UnaryExpression.java new file mode 100644 index 00000000..a317b366 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/UnaryExpression.java @@ -0,0 +1,70 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage; + +/** + * + * A representation of the model object 'Unary Expression'. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.UnaryExpression#getBody Body}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.UnaryExpression#getOp Op}
    • + *
    + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getUnaryExpression() + * @model + * @generated + */ +public interface UnaryExpression extends Expression { + /** + * Returns the value of the 'Body' containment reference. + * + * + * @return the value of the 'Body' containment reference. + * @see #setBody(Expression) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getUnaryExpression_Body() + * @model containment="true" + * @generated + */ + Expression getBody(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.UnaryExpression#getBody Body}' containment reference. + * + * + * @param value the new value of the 'Body' containment reference. + * @see #getBody() + * @generated + */ + void setBody(Expression value); + + /** + * Returns the value of the 'Op' attribute. + * The literals are from the enumeration {@link org.eclipse.viatra.solver.language.solverLanguage.UnaryOperator}. + * + * + * @return the value of the 'Op' attribute. + * @see org.eclipse.viatra.solver.language.solverLanguage.UnaryOperator + * @see #setOp(UnaryOperator) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getUnaryExpression_Op() + * @model + * @generated + */ + UnaryOperator getOp(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.UnaryExpression#getOp Op}' attribute. + * + * + * @param value the new value of the 'Op' attribute. + * @see org.eclipse.viatra.solver.language.solverLanguage.UnaryOperator + * @see #getOp() + * @generated + */ + void setOp(UnaryOperator value); + +} // UnaryExpression diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/UnaryOperator.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/UnaryOperator.java new file mode 100644 index 00000000..ef404f46 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/UnaryOperator.java @@ -0,0 +1,250 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage; + +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 'Unary Operator', + * and utility methods for working with them. + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getUnaryOperator() + * @model + * @generated + */ +public enum UnaryOperator implements Enumerator { + /** + * The 'NOT' literal object. + * + * + * @see #NOT_VALUE + * @generated + * @ordered + */ + NOT(0, "NOT", "NOT"), + + /** + * The 'PLUS' literal object. + * + * + * @see #PLUS_VALUE + * @generated + * @ordered + */ + PLUS(1, "PLUS", "PLUS"), + + /** + * The 'MINUS' literal object. + * + * + * @see #MINUS_VALUE + * @generated + * @ordered + */ + MINUS(2, "MINUS", "MINUS"), + + /** + * The 'MAYBE' literal object. + * + * + * @see #MAYBE_VALUE + * @generated + * @ordered + */ + MAYBE(3, "MAYBE", "MAYBE"); + + /** + * The 'NOT' literal value. + * + * + * @see #NOT + * @model + * @generated + * @ordered + */ + public static final int NOT_VALUE = 0; + + /** + * The 'PLUS' literal value. + * + * + * @see #PLUS + * @model + * @generated + * @ordered + */ + public static final int PLUS_VALUE = 1; + + /** + * The 'MINUS' literal value. + * + * + * @see #MINUS + * @model + * @generated + * @ordered + */ + public static final int MINUS_VALUE = 2; + + /** + * The 'MAYBE' literal value. + * + * + * @see #MAYBE + * @model + * @generated + * @ordered + */ + public static final int MAYBE_VALUE = 3; + + /** + * An array of all the 'Unary Operator' enumerators. + * + * + * @generated + */ + private static final UnaryOperator[] VALUES_ARRAY = new UnaryOperator[] { NOT, PLUS, MINUS, MAYBE, }; + + /** + * A public read-only list of all the 'Unary Operator' enumerators. + * + * + * @generated + */ + public static final List VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); + + /** + * Returns the 'Unary Operator' literal with the specified literal value. + * + * + * @param literal the literal. + * @return the matching enumerator or null. + * @generated + */ + public static UnaryOperator get(String literal) { + for (int i = 0; i < VALUES_ARRAY.length; ++i) { + UnaryOperator result = VALUES_ARRAY[i]; + if (result.toString().equals(literal)) { + return result; + } + } + return null; + } + + /** + * Returns the 'Unary Operator' literal with the specified name. + * + * + * @param name the name. + * @return the matching enumerator or null. + * @generated + */ + public static UnaryOperator getByName(String name) { + for (int i = 0; i < VALUES_ARRAY.length; ++i) { + UnaryOperator result = VALUES_ARRAY[i]; + if (result.getName().equals(name)) { + return result; + } + } + return null; + } + + /** + * Returns the 'Unary Operator' literal with the specified integer value. + * + * + * @param value the integer value. + * @return the matching enumerator or null. + * @generated + */ + public static UnaryOperator get(int value) { + switch (value) { + case NOT_VALUE: + return NOT; + case PLUS_VALUE: + return PLUS; + case MINUS_VALUE: + return MINUS; + case MAYBE_VALUE: + return MAYBE; + } + 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 UnaryOperator(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; + } + +} //UnaryOperator diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/UnboundedMultiplicity.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/UnboundedMultiplicity.java new file mode 100644 index 00000000..b6ce711e --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/UnboundedMultiplicity.java @@ -0,0 +1,16 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage; + +/** + * + * A representation of the model object 'Unbounded Multiplicity'. + * + * + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getUnboundedMultiplicity() + * @model + * @generated + */ +public interface UnboundedMultiplicity extends Multiplicity { +} // UnboundedMultiplicity diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/UnnamedErrorPredicateDefintion.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/UnnamedErrorPredicateDefintion.java new file mode 100644 index 00000000..9b9fc4eb --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/UnnamedErrorPredicateDefintion.java @@ -0,0 +1,67 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage; + +/** + * + * A representation of the model object 'Unnamed Error Predicate Defintion'. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.UnnamedErrorPredicateDefintion#getArgumentList Argument List}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.UnnamedErrorPredicateDefintion#getBody Body}
    • + *
    + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getUnnamedErrorPredicateDefintion() + * @model + * @generated + */ +public interface UnnamedErrorPredicateDefintion extends Statement { + /** + * Returns the value of the 'Argument List' containment reference. + * + * + * @return the value of the 'Argument List' containment reference. + * @see #setArgumentList(ArgumentList) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getUnnamedErrorPredicateDefintion_ArgumentList() + * @model containment="true" + * @generated + */ + ArgumentList getArgumentList(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.UnnamedErrorPredicateDefintion#getArgumentList Argument List}' containment reference. + * + * + * @param value the new value of the 'Argument List' containment reference. + * @see #getArgumentList() + * @generated + */ + void setArgumentList(ArgumentList value); + + /** + * Returns the value of the 'Body' containment reference. + * + * + * @return the value of the 'Body' containment reference. + * @see #setBody(Expression) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getUnnamedErrorPredicateDefintion_Body() + * @model containment="true" + * @generated + */ + Expression getBody(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.UnnamedErrorPredicateDefintion#getBody Body}' containment reference. + * + * + * @param value the new value of the 'Body' containment reference. + * @see #getBody() + * @generated + */ + void setBody(Expression value); + +} // UnnamedErrorPredicateDefintion diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/UriImport.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/UriImport.java new file mode 100644 index 00000000..1256deb8 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/UriImport.java @@ -0,0 +1,44 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage; + +/** + * + * A representation of the model object 'Uri Import'. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.UriImport#getUri Uri}
    • + *
    + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getUriImport() + * @model + * @generated + */ +public interface UriImport extends Import { + /** + * Returns the value of the 'Uri' attribute. + * + * + * @return the value of the 'Uri' attribute. + * @see #setUri(String) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getUriImport_Uri() + * @model + * @generated + */ + String getUri(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.UriImport#getUri Uri}' attribute. + * + * + * @param value the new value of the 'Uri' attribute. + * @see #getUri() + * @generated + */ + void setUri(String value); + +} // UriImport diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Variable.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Variable.java new file mode 100644 index 00000000..5e5f9298 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/Variable.java @@ -0,0 +1,44 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage; + +/** + * + * A representation of the model object 'Variable'. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.Variable#getTypeReference Type Reference}
    • + *
    + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getVariable() + * @model + * @generated + */ +public interface Variable extends Symbol { + /** + * Returns the value of the 'Type Reference' containment reference. + * + * + * @return the value of the 'Type Reference' containment reference. + * @see #setTypeReference(TypeReference) + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getVariable_TypeReference() + * @model containment="true" + * @generated + */ + TypeReference getTypeReference(); + + /** + * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.Variable#getTypeReference Type Reference}' containment reference. + * + * + * @param value the new value of the 'Type Reference' containment reference. + * @see #getTypeReference() + * @generated + */ + void setTypeReference(TypeReference value); + +} // Variable diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/AbstractAssertionImpl.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/AbstractAssertionImpl.java new file mode 100644 index 00000000..ec01140f --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/AbstractAssertionImpl.java @@ -0,0 +1,255 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage.impl; + +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.viatra.solver.language.solverLanguage.AbstractAssertion; +import org.eclipse.viatra.solver.language.solverLanguage.Expression; +import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; + +/** + * + * An implementation of the model object 'Abstract Assertion'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.AbstractAssertionImpl#getExpression Expression}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.AbstractAssertionImpl#getRange Range}
    • + *
    + * + * @generated + */ +public abstract class AbstractAssertionImpl extends StatementImpl implements AbstractAssertion { + /** + * The cached value of the '{@link #getExpression() Expression}' containment reference. + * + * + * @see #getExpression() + * @generated + * @ordered + */ + protected Expression expression; + + /** + * The cached value of the '{@link #getRange() Range}' containment reference. + * + * + * @see #getRange() + * @generated + * @ordered + */ + protected Expression range; + + /** + * + * + * @generated + */ + protected AbstractAssertionImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return SolverLanguagePackage.Literals.ABSTRACT_ASSERTION; + } + + /** + * + * + * @generated + */ + public Expression getExpression() { + return expression; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetExpression(Expression newExpression, NotificationChain msgs) { + Expression oldExpression = expression; + expression = newExpression; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, + SolverLanguagePackage.ABSTRACT_ASSERTION__EXPRESSION, oldExpression, newExpression); + if (msgs == null) + msgs = notification; + else + msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + public void setExpression(Expression newExpression) { + if (newExpression != expression) { + NotificationChain msgs = null; + if (expression != null) + msgs = ((InternalEObject) expression).eInverseRemove(this, + EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.ABSTRACT_ASSERTION__EXPRESSION, null, msgs); + if (newExpression != null) + msgs = ((InternalEObject) newExpression).eInverseAdd(this, + EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.ABSTRACT_ASSERTION__EXPRESSION, null, msgs); + msgs = basicSetExpression(newExpression, msgs); + if (msgs != null) + msgs.dispatch(); + } else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.ABSTRACT_ASSERTION__EXPRESSION, + newExpression, newExpression)); + } + + /** + * + * + * @generated + */ + public Expression getRange() { + return range; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetRange(Expression newRange, NotificationChain msgs) { + Expression oldRange = range; + range = newRange; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, + SolverLanguagePackage.ABSTRACT_ASSERTION__RANGE, oldRange, newRange); + if (msgs == null) + msgs = notification; + else + msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + public void setRange(Expression newRange) { + if (newRange != range) { + NotificationChain msgs = null; + if (range != null) + msgs = ((InternalEObject) range).eInverseRemove(this, + EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.ABSTRACT_ASSERTION__RANGE, null, msgs); + if (newRange != null) + msgs = ((InternalEObject) newRange).eInverseAdd(this, + EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.ABSTRACT_ASSERTION__RANGE, null, msgs); + msgs = basicSetRange(newRange, msgs); + if (msgs != null) + msgs.dispatch(); + } else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.ABSTRACT_ASSERTION__RANGE, + newRange, newRange)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case SolverLanguagePackage.ABSTRACT_ASSERTION__EXPRESSION: + return basicSetExpression(null, msgs); + case SolverLanguagePackage.ABSTRACT_ASSERTION__RANGE: + return basicSetRange(null, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case SolverLanguagePackage.ABSTRACT_ASSERTION__EXPRESSION: + return getExpression(); + case SolverLanguagePackage.ABSTRACT_ASSERTION__RANGE: + return getRange(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case SolverLanguagePackage.ABSTRACT_ASSERTION__EXPRESSION: + setExpression((Expression) newValue); + return; + case SolverLanguagePackage.ABSTRACT_ASSERTION__RANGE: + setRange((Expression) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case SolverLanguagePackage.ABSTRACT_ASSERTION__EXPRESSION: + setExpression((Expression) null); + return; + case SolverLanguagePackage.ABSTRACT_ASSERTION__RANGE: + setRange((Expression) null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case SolverLanguagePackage.ABSTRACT_ASSERTION__EXPRESSION: + return expression != null; + case SolverLanguagePackage.ABSTRACT_ASSERTION__RANGE: + return range != null; + } + return super.eIsSet(featureID); + } + +} //AbstractAssertionImpl diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/AggregateExpressionImpl.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/AggregateExpressionImpl.java new file mode 100644 index 00000000..9427a84d --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/AggregateExpressionImpl.java @@ -0,0 +1,228 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage.impl; + +import java.util.Collection; + +import org.eclipse.emf.common.notify.Notification; +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.impl.ENotificationImpl; + +import org.eclipse.emf.ecore.util.EObjectContainmentEList; +import org.eclipse.emf.ecore.util.InternalEList; + +import org.eclipse.viatra.solver.language.solverLanguage.AggregateExpression; +import org.eclipse.viatra.solver.language.solverLanguage.Expression; +import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; +import org.eclipse.viatra.solver.language.solverLanguage.Variable; + +/** + * + * An implementation of the model object 'Aggregate Expression'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.AggregateExpressionImpl#getForallVariables Forall Variables}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.AggregateExpressionImpl#getCondition Condition}
    • + *
    + * + * @generated + */ +public abstract class AggregateExpressionImpl extends ExpressionImpl implements AggregateExpression { + /** + * The cached value of the '{@link #getForallVariables() Forall Variables}' containment reference list. + * + * + * @see #getForallVariables() + * @generated + * @ordered + */ + protected EList forallVariables; + + /** + * The cached value of the '{@link #getCondition() Condition}' containment reference. + * + * + * @see #getCondition() + * @generated + * @ordered + */ + protected Expression condition; + + /** + * + * + * @generated + */ + protected AggregateExpressionImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return SolverLanguagePackage.Literals.AGGREGATE_EXPRESSION; + } + + /** + * + * + * @generated + */ + public EList getForallVariables() { + if (forallVariables == null) { + forallVariables = new EObjectContainmentEList(Variable.class, this, + SolverLanguagePackage.AGGREGATE_EXPRESSION__FORALL_VARIABLES); + } + return forallVariables; + } + + /** + * + * + * @generated + */ + public Expression getCondition() { + return condition; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetCondition(Expression newCondition, NotificationChain msgs) { + Expression oldCondition = condition; + condition = newCondition; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, + SolverLanguagePackage.AGGREGATE_EXPRESSION__CONDITION, oldCondition, newCondition); + if (msgs == null) + msgs = notification; + else + msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + public void setCondition(Expression newCondition) { + if (newCondition != condition) { + NotificationChain msgs = null; + if (condition != null) + msgs = ((InternalEObject) condition).eInverseRemove(this, + EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.AGGREGATE_EXPRESSION__CONDITION, null, msgs); + if (newCondition != null) + msgs = ((InternalEObject) newCondition).eInverseAdd(this, + EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.AGGREGATE_EXPRESSION__CONDITION, null, msgs); + msgs = basicSetCondition(newCondition, msgs); + if (msgs != null) + msgs.dispatch(); + } else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.AGGREGATE_EXPRESSION__CONDITION, + newCondition, newCondition)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case SolverLanguagePackage.AGGREGATE_EXPRESSION__FORALL_VARIABLES: + return ((InternalEList) getForallVariables()).basicRemove(otherEnd, msgs); + case SolverLanguagePackage.AGGREGATE_EXPRESSION__CONDITION: + return basicSetCondition(null, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case SolverLanguagePackage.AGGREGATE_EXPRESSION__FORALL_VARIABLES: + return getForallVariables(); + case SolverLanguagePackage.AGGREGATE_EXPRESSION__CONDITION: + return getCondition(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case SolverLanguagePackage.AGGREGATE_EXPRESSION__FORALL_VARIABLES: + getForallVariables().clear(); + getForallVariables().addAll((Collection) newValue); + return; + case SolverLanguagePackage.AGGREGATE_EXPRESSION__CONDITION: + setCondition((Expression) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case SolverLanguagePackage.AGGREGATE_EXPRESSION__FORALL_VARIABLES: + getForallVariables().clear(); + return; + case SolverLanguagePackage.AGGREGATE_EXPRESSION__CONDITION: + setCondition((Expression) null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case SolverLanguagePackage.AGGREGATE_EXPRESSION__FORALL_VARIABLES: + return forallVariables != null && !forallVariables.isEmpty(); + case SolverLanguagePackage.AGGREGATE_EXPRESSION__CONDITION: + return condition != null; + } + return super.eIsSet(featureID); + } + +} //AggregateExpressionImpl diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/AggregationImpl.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/AggregationImpl.java new file mode 100644 index 00000000..f67de89a --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/AggregationImpl.java @@ -0,0 +1,245 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage.impl; + +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.viatra.solver.language.solverLanguage.Aggregation; +import org.eclipse.viatra.solver.language.solverLanguage.Expression; +import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; +import org.eclipse.viatra.solver.language.solverLanguage.Symbol; + +/** + * + * An implementation of the model object 'Aggregation'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.AggregationImpl#getValue Value}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.AggregationImpl#getOp Op}
    • + *
    + * + * @generated + */ +public class AggregationImpl extends AggregateExpressionImpl implements Aggregation { + /** + * The cached value of the '{@link #getValue() Value}' containment reference. + * + * + * @see #getValue() + * @generated + * @ordered + */ + protected Expression value; + + /** + * The cached value of the '{@link #getOp() Op}' reference. + * + * + * @see #getOp() + * @generated + * @ordered + */ + protected Symbol op; + + /** + * + * + * @generated + */ + protected AggregationImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return SolverLanguagePackage.Literals.AGGREGATION; + } + + /** + * + * + * @generated + */ + public Expression getValue() { + return value; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetValue(Expression newValue, NotificationChain msgs) { + Expression oldValue = value; + value = newValue; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, + SolverLanguagePackage.AGGREGATION__VALUE, oldValue, newValue); + if (msgs == null) + msgs = notification; + else + msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + public void setValue(Expression newValue) { + if (newValue != value) { + NotificationChain msgs = null; + if (value != null) + msgs = ((InternalEObject) value).eInverseRemove(this, + EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.AGGREGATION__VALUE, null, msgs); + if (newValue != null) + msgs = ((InternalEObject) newValue).eInverseAdd(this, + EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.AGGREGATION__VALUE, null, msgs); + msgs = basicSetValue(newValue, msgs); + if (msgs != null) + msgs.dispatch(); + } else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.AGGREGATION__VALUE, newValue, + newValue)); + } + + /** + * + * + * @generated + */ + public Symbol getOp() { + if (op != null && op.eIsProxy()) { + InternalEObject oldOp = (InternalEObject) op; + op = (Symbol) eResolveProxy(oldOp); + if (op != oldOp) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, SolverLanguagePackage.AGGREGATION__OP, + oldOp, op)); + } + } + return op; + } + + /** + * + * + * @generated + */ + public Symbol basicGetOp() { + return op; + } + + /** + * + * + * @generated + */ + public void setOp(Symbol newOp) { + Symbol oldOp = op; + op = newOp; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.AGGREGATION__OP, oldOp, op)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case SolverLanguagePackage.AGGREGATION__VALUE: + return basicSetValue(null, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case SolverLanguagePackage.AGGREGATION__VALUE: + return getValue(); + case SolverLanguagePackage.AGGREGATION__OP: + if (resolve) + return getOp(); + return basicGetOp(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case SolverLanguagePackage.AGGREGATION__VALUE: + setValue((Expression) newValue); + return; + case SolverLanguagePackage.AGGREGATION__OP: + setOp((Symbol) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case SolverLanguagePackage.AGGREGATION__VALUE: + setValue((Expression) null); + return; + case SolverLanguagePackage.AGGREGATION__OP: + setOp((Symbol) null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case SolverLanguagePackage.AGGREGATION__VALUE: + return value != null; + case SolverLanguagePackage.AGGREGATION__OP: + return op != null; + } + return super.eIsSet(featureID); + } + +} //AggregationImpl diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/AggregationOperatorImpl.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/AggregationOperatorImpl.java new file mode 100644 index 00000000..6842754e --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/AggregationOperatorImpl.java @@ -0,0 +1,222 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage.impl; + +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.solver.language.solverLanguage.AggregationOperator; +import org.eclipse.viatra.solver.language.solverLanguage.Datatype; +import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; + +/** + * + * An implementation of the model object 'Aggregation Operator'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.AggregationOperatorImpl#getArgumentType Argument Type}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.AggregationOperatorImpl#getResultType Result Type}
    • + *
    + * + * @generated + */ +public class AggregationOperatorImpl extends SymbolImpl implements AggregationOperator { + /** + * The cached value of the '{@link #getArgumentType() Argument Type}' reference. + * + * + * @see #getArgumentType() + * @generated + * @ordered + */ + protected Datatype argumentType; + + /** + * The cached value of the '{@link #getResultType() Result Type}' reference. + * + * + * @see #getResultType() + * @generated + * @ordered + */ + protected Datatype resultType; + + /** + * + * + * @generated + */ + protected AggregationOperatorImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return SolverLanguagePackage.Literals.AGGREGATION_OPERATOR; + } + + /** + * + * + * @generated + */ + public Datatype getArgumentType() { + if (argumentType != null && argumentType.eIsProxy()) { + InternalEObject oldArgumentType = (InternalEObject) argumentType; + argumentType = (Datatype) eResolveProxy(oldArgumentType); + if (argumentType != oldArgumentType) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, + SolverLanguagePackage.AGGREGATION_OPERATOR__ARGUMENT_TYPE, oldArgumentType, argumentType)); + } + } + return argumentType; + } + + /** + * + * + * @generated + */ + public Datatype basicGetArgumentType() { + return argumentType; + } + + /** + * + * + * @generated + */ + public void setArgumentType(Datatype newArgumentType) { + Datatype oldArgumentType = argumentType; + argumentType = newArgumentType; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, + SolverLanguagePackage.AGGREGATION_OPERATOR__ARGUMENT_TYPE, oldArgumentType, argumentType)); + } + + /** + * + * + * @generated + */ + public Datatype getResultType() { + if (resultType != null && resultType.eIsProxy()) { + InternalEObject oldResultType = (InternalEObject) resultType; + resultType = (Datatype) eResolveProxy(oldResultType); + if (resultType != oldResultType) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, + SolverLanguagePackage.AGGREGATION_OPERATOR__RESULT_TYPE, oldResultType, resultType)); + } + } + return resultType; + } + + /** + * + * + * @generated + */ + public Datatype basicGetResultType() { + return resultType; + } + + /** + * + * + * @generated + */ + public void setResultType(Datatype newResultType) { + Datatype oldResultType = resultType; + resultType = newResultType; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, + SolverLanguagePackage.AGGREGATION_OPERATOR__RESULT_TYPE, oldResultType, resultType)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case SolverLanguagePackage.AGGREGATION_OPERATOR__ARGUMENT_TYPE: + if (resolve) + return getArgumentType(); + return basicGetArgumentType(); + case SolverLanguagePackage.AGGREGATION_OPERATOR__RESULT_TYPE: + if (resolve) + return getResultType(); + return basicGetResultType(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case SolverLanguagePackage.AGGREGATION_OPERATOR__ARGUMENT_TYPE: + setArgumentType((Datatype) newValue); + return; + case SolverLanguagePackage.AGGREGATION_OPERATOR__RESULT_TYPE: + setResultType((Datatype) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case SolverLanguagePackage.AGGREGATION_OPERATOR__ARGUMENT_TYPE: + setArgumentType((Datatype) null); + return; + case SolverLanguagePackage.AGGREGATION_OPERATOR__RESULT_TYPE: + setResultType((Datatype) null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case SolverLanguagePackage.AGGREGATION_OPERATOR__ARGUMENT_TYPE: + return argumentType != null; + case SolverLanguagePackage.AGGREGATION_OPERATOR__RESULT_TYPE: + return resultType != null; + } + return super.eIsSet(featureID); + } + +} //AggregationOperatorImpl diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ArgumentImpl.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ArgumentImpl.java new file mode 100644 index 00000000..c245d5aa --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ArgumentImpl.java @@ -0,0 +1,39 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage.impl; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +import org.eclipse.viatra.solver.language.solverLanguage.Argument; +import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; + +/** + * + * An implementation of the model object 'Argument'. + * + * + * @generated + */ +public abstract class ArgumentImpl extends MinimalEObjectImpl.Container implements Argument { + /** + * + * + * @generated + */ + protected ArgumentImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return SolverLanguagePackage.Literals.ARGUMENT; + } + +} //ArgumentImpl diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ArgumentListImpl.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ArgumentListImpl.java new file mode 100644 index 00000000..9d6cc468 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ArgumentListImpl.java @@ -0,0 +1,153 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage.impl; + +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.impl.MinimalEObjectImpl; + +import org.eclipse.emf.ecore.util.EObjectContainmentEList; +import org.eclipse.emf.ecore.util.InternalEList; + +import org.eclipse.viatra.solver.language.solverLanguage.Argument; +import org.eclipse.viatra.solver.language.solverLanguage.ArgumentList; +import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; + +/** + * + * An implementation of the model object 'Argument List'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.ArgumentListImpl#getArguments Arguments}
    • + *
    + * + * @generated + */ +public class ArgumentListImpl extends MinimalEObjectImpl.Container implements ArgumentList { + /** + * The cached value of the '{@link #getArguments() Arguments}' containment reference list. + * + * + * @see #getArguments() + * @generated + * @ordered + */ + protected EList arguments; + + /** + * + * + * @generated + */ + protected ArgumentListImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return SolverLanguagePackage.Literals.ARGUMENT_LIST; + } + + /** + * + * + * @generated + */ + public EList getArguments() { + if (arguments == null) { + arguments = new EObjectContainmentEList(Argument.class, this, + SolverLanguagePackage.ARGUMENT_LIST__ARGUMENTS); + } + return arguments; + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case SolverLanguagePackage.ARGUMENT_LIST__ARGUMENTS: + return ((InternalEList) getArguments()).basicRemove(otherEnd, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case SolverLanguagePackage.ARGUMENT_LIST__ARGUMENTS: + return getArguments(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case SolverLanguagePackage.ARGUMENT_LIST__ARGUMENTS: + getArguments().clear(); + getArguments().addAll((Collection) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case SolverLanguagePackage.ARGUMENT_LIST__ARGUMENTS: + getArguments().clear(); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case SolverLanguagePackage.ARGUMENT_LIST__ARGUMENTS: + return arguments != null && !arguments.isEmpty(); + } + return super.eIsSet(featureID); + } + +} //ArgumentListImpl diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/AssertionImpl.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/AssertionImpl.java new file mode 100644 index 00000000..8b4e2cde --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/AssertionImpl.java @@ -0,0 +1,37 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage.impl; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.viatra.solver.language.solverLanguage.Assertion; +import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; + +/** + * + * An implementation of the model object 'Assertion'. + * + * + * @generated + */ +public class AssertionImpl extends AbstractAssertionImpl implements Assertion { + /** + * + * + * @generated + */ + protected AssertionImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return SolverLanguagePackage.Literals.ASSERTION; + } + +} //AssertionImpl diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/AttributeImpl.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/AttributeImpl.java new file mode 100644 index 00000000..c9974907 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/AttributeImpl.java @@ -0,0 +1,230 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage.impl; + +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.solver.language.solverLanguage.Attribute; +import org.eclipse.viatra.solver.language.solverLanguage.AttributeKind; +import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; +import org.eclipse.viatra.solver.language.solverLanguage.Symbol; + +/** + * + * An implementation of the model object 'Attribute'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.AttributeImpl#getTarget Target}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.AttributeImpl#getKind Kind}
    • + *
    + * + * @generated + */ +public abstract class AttributeImpl extends StatementImpl implements Attribute { + /** + * The cached value of the '{@link #getTarget() Target}' reference. + * + * + * @see #getTarget() + * @generated + * @ordered + */ + protected Symbol target; + + /** + * The default value of the '{@link #getKind() Kind}' attribute. + * + * + * @see #getKind() + * @generated + * @ordered + */ + protected static final AttributeKind KIND_EDEFAULT = AttributeKind.FUNCTIONAL; + + /** + * The cached value of the '{@link #getKind() Kind}' attribute. + * + * + * @see #getKind() + * @generated + * @ordered + */ + protected AttributeKind kind = KIND_EDEFAULT; + + /** + * + * + * @generated + */ + protected AttributeImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return SolverLanguagePackage.Literals.ATTRIBUTE; + } + + /** + * + * + * @generated + */ + public Symbol getTarget() { + if (target != null && target.eIsProxy()) { + InternalEObject oldTarget = (InternalEObject) target; + target = (Symbol) eResolveProxy(oldTarget); + if (target != oldTarget) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, SolverLanguagePackage.ATTRIBUTE__TARGET, + oldTarget, target)); + } + } + return target; + } + + /** + * + * + * @generated + */ + public Symbol basicGetTarget() { + return target; + } + + /** + * + * + * @generated + */ + public void setTarget(Symbol newTarget) { + Symbol oldTarget = target; + target = newTarget; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.ATTRIBUTE__TARGET, oldTarget, + target)); + } + + /** + * + * + * @generated + */ + public AttributeKind getKind() { + return kind; + } + + /** + * + * + * @generated + */ + public void setKind(AttributeKind newKind) { + AttributeKind oldKind = kind; + kind = newKind == null ? KIND_EDEFAULT : newKind; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.ATTRIBUTE__KIND, oldKind, + kind)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case SolverLanguagePackage.ATTRIBUTE__TARGET: + if (resolve) + return getTarget(); + return basicGetTarget(); + case SolverLanguagePackage.ATTRIBUTE__KIND: + return getKind(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case SolverLanguagePackage.ATTRIBUTE__TARGET: + setTarget((Symbol) newValue); + return; + case SolverLanguagePackage.ATTRIBUTE__KIND: + setKind((AttributeKind) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case SolverLanguagePackage.ATTRIBUTE__TARGET: + setTarget((Symbol) null); + return; + case SolverLanguagePackage.ATTRIBUTE__KIND: + setKind(KIND_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case SolverLanguagePackage.ATTRIBUTE__TARGET: + return target != null; + case SolverLanguagePackage.ATTRIBUTE__KIND: + return kind != KIND_EDEFAULT; + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) + return super.toString(); + + StringBuilder result = new StringBuilder(super.toString()); + result.append(" (kind: "); + result.append(kind); + result.append(')'); + return result.toString(); + } + +} //AttributeImpl diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/BaseRelationImpl.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/BaseRelationImpl.java new file mode 100644 index 00000000..797b3a48 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/BaseRelationImpl.java @@ -0,0 +1,37 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage.impl; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.viatra.solver.language.solverLanguage.BaseRelation; +import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; + +/** + * + * An implementation of the model object 'Base Relation'. + * + * + * @generated + */ +public class BaseRelationImpl extends RelationImpl implements BaseRelation { + /** + * + * + * @generated + */ + protected BaseRelationImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return SolverLanguagePackage.Literals.BASE_RELATION; + } + +} //BaseRelationImpl diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/BinaryExpressionImpl.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/BinaryExpressionImpl.java new file mode 100644 index 00000000..e93a12ce --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/BinaryExpressionImpl.java @@ -0,0 +1,326 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage.impl; + +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.viatra.solver.language.solverLanguage.BinaryExpression; +import org.eclipse.viatra.solver.language.solverLanguage.BinaryOperator; +import org.eclipse.viatra.solver.language.solverLanguage.Expression; +import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; + +/** + * + * An implementation of the model object 'Binary Expression'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.BinaryExpressionImpl#getOp Op}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.BinaryExpressionImpl#getLeft Left}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.BinaryExpressionImpl#getRight Right}
    • + *
    + * + * @generated + */ +public class BinaryExpressionImpl extends ExpressionImpl implements BinaryExpression { + /** + * The default value of the '{@link #getOp() Op}' attribute. + * + * + * @see #getOp() + * @generated + * @ordered + */ + protected static final BinaryOperator OP_EDEFAULT = BinaryOperator.PLUS; + + /** + * The cached value of the '{@link #getOp() Op}' attribute. + * + * + * @see #getOp() + * @generated + * @ordered + */ + protected BinaryOperator op = OP_EDEFAULT; + + /** + * The cached value of the '{@link #getLeft() Left}' containment reference. + * + * + * @see #getLeft() + * @generated + * @ordered + */ + protected Expression left; + + /** + * The cached value of the '{@link #getRight() Right}' containment reference. + * + * + * @see #getRight() + * @generated + * @ordered + */ + protected Expression right; + + /** + * + * + * @generated + */ + protected BinaryExpressionImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return SolverLanguagePackage.Literals.BINARY_EXPRESSION; + } + + /** + * + * + * @generated + */ + public BinaryOperator getOp() { + return op; + } + + /** + * + * + * @generated + */ + public void setOp(BinaryOperator newOp) { + BinaryOperator oldOp = op; + op = newOp == null ? OP_EDEFAULT : newOp; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.BINARY_EXPRESSION__OP, oldOp, + op)); + } + + /** + * + * + * @generated + */ + public Expression getLeft() { + return left; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetLeft(Expression newLeft, NotificationChain msgs) { + Expression oldLeft = left; + left = newLeft; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, + SolverLanguagePackage.BINARY_EXPRESSION__LEFT, oldLeft, newLeft); + if (msgs == null) + msgs = notification; + else + msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + public void setLeft(Expression newLeft) { + if (newLeft != left) { + NotificationChain msgs = null; + if (left != null) + msgs = ((InternalEObject) left).eInverseRemove(this, + EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.BINARY_EXPRESSION__LEFT, null, msgs); + if (newLeft != null) + msgs = ((InternalEObject) newLeft).eInverseAdd(this, + EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.BINARY_EXPRESSION__LEFT, null, msgs); + msgs = basicSetLeft(newLeft, msgs); + if (msgs != null) + msgs.dispatch(); + } else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.BINARY_EXPRESSION__LEFT, + newLeft, newLeft)); + } + + /** + * + * + * @generated + */ + public Expression getRight() { + return right; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetRight(Expression newRight, NotificationChain msgs) { + Expression oldRight = right; + right = newRight; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, + SolverLanguagePackage.BINARY_EXPRESSION__RIGHT, oldRight, newRight); + if (msgs == null) + msgs = notification; + else + msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + public void setRight(Expression newRight) { + if (newRight != right) { + NotificationChain msgs = null; + if (right != null) + msgs = ((InternalEObject) right).eInverseRemove(this, + EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.BINARY_EXPRESSION__RIGHT, null, msgs); + if (newRight != null) + msgs = ((InternalEObject) newRight).eInverseAdd(this, + EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.BINARY_EXPRESSION__RIGHT, null, msgs); + msgs = basicSetRight(newRight, msgs); + if (msgs != null) + msgs.dispatch(); + } else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.BINARY_EXPRESSION__RIGHT, + newRight, newRight)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case SolverLanguagePackage.BINARY_EXPRESSION__LEFT: + return basicSetLeft(null, msgs); + case SolverLanguagePackage.BINARY_EXPRESSION__RIGHT: + return basicSetRight(null, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case SolverLanguagePackage.BINARY_EXPRESSION__OP: + return getOp(); + case SolverLanguagePackage.BINARY_EXPRESSION__LEFT: + return getLeft(); + case SolverLanguagePackage.BINARY_EXPRESSION__RIGHT: + return getRight(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case SolverLanguagePackage.BINARY_EXPRESSION__OP: + setOp((BinaryOperator) newValue); + return; + case SolverLanguagePackage.BINARY_EXPRESSION__LEFT: + setLeft((Expression) newValue); + return; + case SolverLanguagePackage.BINARY_EXPRESSION__RIGHT: + setRight((Expression) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case SolverLanguagePackage.BINARY_EXPRESSION__OP: + setOp(OP_EDEFAULT); + return; + case SolverLanguagePackage.BINARY_EXPRESSION__LEFT: + setLeft((Expression) null); + return; + case SolverLanguagePackage.BINARY_EXPRESSION__RIGHT: + setRight((Expression) null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case SolverLanguagePackage.BINARY_EXPRESSION__OP: + return op != OP_EDEFAULT; + case SolverLanguagePackage.BINARY_EXPRESSION__LEFT: + return left != null; + case SolverLanguagePackage.BINARY_EXPRESSION__RIGHT: + return right != null; + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) + return super.toString(); + + StringBuilder result = new StringBuilder(super.toString()); + result.append(" (op: "); + result.append(op); + result.append(')'); + return result.toString(); + } + +} //BinaryExpressionImpl diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/BoundedMultiplicityImpl.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/BoundedMultiplicityImpl.java new file mode 100644 index 00000000..c4aa7dfd --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/BoundedMultiplicityImpl.java @@ -0,0 +1,219 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage.impl; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +import org.eclipse.viatra.solver.language.solverLanguage.BoundedMultiplicity; +import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; + +/** + * + * An implementation of the model object 'Bounded Multiplicity'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.BoundedMultiplicityImpl#getLowerBound Lower Bound}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.BoundedMultiplicityImpl#getUpperBound Upper Bound}
    • + *
    + * + * @generated + */ +public class BoundedMultiplicityImpl extends MultiplicityImpl implements BoundedMultiplicity { + /** + * The default value of the '{@link #getLowerBound() Lower Bound}' attribute. + * + * + * @see #getLowerBound() + * @generated + * @ordered + */ + protected static final int LOWER_BOUND_EDEFAULT = 0; + + /** + * The cached value of the '{@link #getLowerBound() Lower Bound}' attribute. + * + * + * @see #getLowerBound() + * @generated + * @ordered + */ + protected int lowerBound = LOWER_BOUND_EDEFAULT; + + /** + * The default value of the '{@link #getUpperBound() Upper Bound}' attribute. + * + * + * @see #getUpperBound() + * @generated + * @ordered + */ + protected static final int UPPER_BOUND_EDEFAULT = 0; + + /** + * The cached value of the '{@link #getUpperBound() Upper Bound}' attribute. + * + * + * @see #getUpperBound() + * @generated + * @ordered + */ + protected int upperBound = UPPER_BOUND_EDEFAULT; + + /** + * + * + * @generated + */ + protected BoundedMultiplicityImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return SolverLanguagePackage.Literals.BOUNDED_MULTIPLICITY; + } + + /** + * + * + * @generated + */ + public int getLowerBound() { + return lowerBound; + } + + /** + * + * + * @generated + */ + public void setLowerBound(int newLowerBound) { + int oldLowerBound = lowerBound; + lowerBound = newLowerBound; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, + SolverLanguagePackage.BOUNDED_MULTIPLICITY__LOWER_BOUND, oldLowerBound, lowerBound)); + } + + /** + * + * + * @generated + */ + public int getUpperBound() { + return upperBound; + } + + /** + * + * + * @generated + */ + public void setUpperBound(int newUpperBound) { + int oldUpperBound = upperBound; + upperBound = newUpperBound; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, + SolverLanguagePackage.BOUNDED_MULTIPLICITY__UPPER_BOUND, oldUpperBound, upperBound)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case SolverLanguagePackage.BOUNDED_MULTIPLICITY__LOWER_BOUND: + return getLowerBound(); + case SolverLanguagePackage.BOUNDED_MULTIPLICITY__UPPER_BOUND: + return getUpperBound(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case SolverLanguagePackage.BOUNDED_MULTIPLICITY__LOWER_BOUND: + setLowerBound((Integer) newValue); + return; + case SolverLanguagePackage.BOUNDED_MULTIPLICITY__UPPER_BOUND: + setUpperBound((Integer) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case SolverLanguagePackage.BOUNDED_MULTIPLICITY__LOWER_BOUND: + setLowerBound(LOWER_BOUND_EDEFAULT); + return; + case SolverLanguagePackage.BOUNDED_MULTIPLICITY__UPPER_BOUND: + setUpperBound(UPPER_BOUND_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case SolverLanguagePackage.BOUNDED_MULTIPLICITY__LOWER_BOUND: + return lowerBound != LOWER_BOUND_EDEFAULT; + case SolverLanguagePackage.BOUNDED_MULTIPLICITY__UPPER_BOUND: + return upperBound != UPPER_BOUND_EDEFAULT; + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) + return super.toString(); + + StringBuilder result = new StringBuilder(super.toString()); + result.append(" (lowerBound: "); + result.append(lowerBound); + result.append(", upperBound: "); + result.append(upperBound); + result.append(')'); + return result.toString(); + } + +} //BoundedMultiplicityImpl diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/BoundedScopeImpl.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/BoundedScopeImpl.java new file mode 100644 index 00000000..acd63c55 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/BoundedScopeImpl.java @@ -0,0 +1,219 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage.impl; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +import org.eclipse.viatra.solver.language.solverLanguage.BoundedScope; +import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; + +/** + * + * An implementation of the model object 'Bounded Scope'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.BoundedScopeImpl#getLowerBound Lower Bound}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.BoundedScopeImpl#getUpperBound Upper Bound}
    • + *
    + * + * @generated + */ +public class BoundedScopeImpl extends ScopeDeclarationImpl implements BoundedScope { + /** + * The default value of the '{@link #getLowerBound() Lower Bound}' attribute. + * + * + * @see #getLowerBound() + * @generated + * @ordered + */ + protected static final int LOWER_BOUND_EDEFAULT = 0; + + /** + * The cached value of the '{@link #getLowerBound() Lower Bound}' attribute. + * + * + * @see #getLowerBound() + * @generated + * @ordered + */ + protected int lowerBound = LOWER_BOUND_EDEFAULT; + + /** + * The default value of the '{@link #getUpperBound() Upper Bound}' attribute. + * + * + * @see #getUpperBound() + * @generated + * @ordered + */ + protected static final int UPPER_BOUND_EDEFAULT = 0; + + /** + * The cached value of the '{@link #getUpperBound() Upper Bound}' attribute. + * + * + * @see #getUpperBound() + * @generated + * @ordered + */ + protected int upperBound = UPPER_BOUND_EDEFAULT; + + /** + * + * + * @generated + */ + protected BoundedScopeImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return SolverLanguagePackage.Literals.BOUNDED_SCOPE; + } + + /** + * + * + * @generated + */ + public int getLowerBound() { + return lowerBound; + } + + /** + * + * + * @generated + */ + public void setLowerBound(int newLowerBound) { + int oldLowerBound = lowerBound; + lowerBound = newLowerBound; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.BOUNDED_SCOPE__LOWER_BOUND, + oldLowerBound, lowerBound)); + } + + /** + * + * + * @generated + */ + public int getUpperBound() { + return upperBound; + } + + /** + * + * + * @generated + */ + public void setUpperBound(int newUpperBound) { + int oldUpperBound = upperBound; + upperBound = newUpperBound; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.BOUNDED_SCOPE__UPPER_BOUND, + oldUpperBound, upperBound)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case SolverLanguagePackage.BOUNDED_SCOPE__LOWER_BOUND: + return getLowerBound(); + case SolverLanguagePackage.BOUNDED_SCOPE__UPPER_BOUND: + return getUpperBound(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case SolverLanguagePackage.BOUNDED_SCOPE__LOWER_BOUND: + setLowerBound((Integer) newValue); + return; + case SolverLanguagePackage.BOUNDED_SCOPE__UPPER_BOUND: + setUpperBound((Integer) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case SolverLanguagePackage.BOUNDED_SCOPE__LOWER_BOUND: + setLowerBound(LOWER_BOUND_EDEFAULT); + return; + case SolverLanguagePackage.BOUNDED_SCOPE__UPPER_BOUND: + setUpperBound(UPPER_BOUND_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case SolverLanguagePackage.BOUNDED_SCOPE__LOWER_BOUND: + return lowerBound != LOWER_BOUND_EDEFAULT; + case SolverLanguagePackage.BOUNDED_SCOPE__UPPER_BOUND: + return upperBound != UPPER_BOUND_EDEFAULT; + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) + return super.toString(); + + StringBuilder result = new StringBuilder(super.toString()); + result.append(" (lowerBound: "); + result.append(lowerBound); + result.append(", upperBound: "); + result.append(upperBound); + result.append(')'); + return result.toString(); + } + +} //BoundedScopeImpl diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/CallImpl.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/CallImpl.java new file mode 100644 index 00000000..59c2a372 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/CallImpl.java @@ -0,0 +1,256 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage.impl; + +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.viatra.solver.language.solverLanguage.ArgumentList; +import org.eclipse.viatra.solver.language.solverLanguage.Call; +import org.eclipse.viatra.solver.language.solverLanguage.Reference; +import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; + +/** + * + * An implementation of the model object 'Call'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.CallImpl#getFunctor Functor}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.CallImpl#getArgumentList Argument List}
    • + *
    + * + * @generated + */ +public class CallImpl extends ExpressionImpl implements Call { + /** + * The cached value of the '{@link #getFunctor() Functor}' containment reference. + * + * + * @see #getFunctor() + * @generated + * @ordered + */ + protected Reference functor; + + /** + * The cached value of the '{@link #getArgumentList() Argument List}' containment reference. + * + * + * @see #getArgumentList() + * @generated + * @ordered + */ + protected ArgumentList argumentList; + + /** + * + * + * @generated + */ + protected CallImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return SolverLanguagePackage.Literals.CALL; + } + + /** + * + * + * @generated + */ + public Reference getFunctor() { + return functor; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetFunctor(Reference newFunctor, NotificationChain msgs) { + Reference oldFunctor = functor; + functor = newFunctor; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, + SolverLanguagePackage.CALL__FUNCTOR, oldFunctor, newFunctor); + if (msgs == null) + msgs = notification; + else + msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + public void setFunctor(Reference newFunctor) { + if (newFunctor != functor) { + NotificationChain msgs = null; + if (functor != null) + msgs = ((InternalEObject) functor).eInverseRemove(this, + EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.CALL__FUNCTOR, null, msgs); + if (newFunctor != null) + msgs = ((InternalEObject) newFunctor).eInverseAdd(this, + EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.CALL__FUNCTOR, null, msgs); + msgs = basicSetFunctor(newFunctor, msgs); + if (msgs != null) + msgs.dispatch(); + } else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.CALL__FUNCTOR, newFunctor, + newFunctor)); + } + + /** + * + * + * @generated + */ + public ArgumentList getArgumentList() { + return argumentList; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetArgumentList(ArgumentList newArgumentList, NotificationChain msgs) { + ArgumentList oldArgumentList = argumentList; + argumentList = newArgumentList; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, + SolverLanguagePackage.CALL__ARGUMENT_LIST, oldArgumentList, newArgumentList); + if (msgs == null) + msgs = notification; + else + msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + public void setArgumentList(ArgumentList newArgumentList) { + if (newArgumentList != argumentList) { + NotificationChain msgs = null; + if (argumentList != null) + msgs = ((InternalEObject) argumentList).eInverseRemove(this, + EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.CALL__ARGUMENT_LIST, null, msgs); + if (newArgumentList != null) + msgs = ((InternalEObject) newArgumentList).eInverseAdd(this, + EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.CALL__ARGUMENT_LIST, null, msgs); + msgs = basicSetArgumentList(newArgumentList, msgs); + if (msgs != null) + msgs.dispatch(); + } else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.CALL__ARGUMENT_LIST, + newArgumentList, newArgumentList)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case SolverLanguagePackage.CALL__FUNCTOR: + return basicSetFunctor(null, msgs); + case SolverLanguagePackage.CALL__ARGUMENT_LIST: + return basicSetArgumentList(null, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case SolverLanguagePackage.CALL__FUNCTOR: + return getFunctor(); + case SolverLanguagePackage.CALL__ARGUMENT_LIST: + return getArgumentList(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case SolverLanguagePackage.CALL__FUNCTOR: + setFunctor((Reference) newValue); + return; + case SolverLanguagePackage.CALL__ARGUMENT_LIST: + setArgumentList((ArgumentList) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case SolverLanguagePackage.CALL__FUNCTOR: + setFunctor((Reference) null); + return; + case SolverLanguagePackage.CALL__ARGUMENT_LIST: + setArgumentList((ArgumentList) null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case SolverLanguagePackage.CALL__FUNCTOR: + return functor != null; + case SolverLanguagePackage.CALL__ARGUMENT_LIST: + return argumentList != null; + } + return super.eIsSet(featureID); + } + +} //CallImpl diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/CaseImpl.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/CaseImpl.java new file mode 100644 index 00000000..9c4d6820 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/CaseImpl.java @@ -0,0 +1,254 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage.impl; + +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.viatra.solver.language.solverLanguage.Case; +import org.eclipse.viatra.solver.language.solverLanguage.Expression; +import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; + +/** + * + * An implementation of the model object 'Case'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.CaseImpl#getCondition Condition}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.CaseImpl#getBody Body}
    • + *
    + * + * @generated + */ +public class CaseImpl extends ExpressionImpl implements Case { + /** + * The cached value of the '{@link #getCondition() Condition}' containment reference. + * + * + * @see #getCondition() + * @generated + * @ordered + */ + protected Expression condition; + + /** + * The cached value of the '{@link #getBody() Body}' containment reference. + * + * + * @see #getBody() + * @generated + * @ordered + */ + protected Expression body; + + /** + * + * + * @generated + */ + protected CaseImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return SolverLanguagePackage.Literals.CASE; + } + + /** + * + * + * @generated + */ + public Expression getCondition() { + return condition; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetCondition(Expression newCondition, NotificationChain msgs) { + Expression oldCondition = condition; + condition = newCondition; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, + SolverLanguagePackage.CASE__CONDITION, oldCondition, newCondition); + if (msgs == null) + msgs = notification; + else + msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + public void setCondition(Expression newCondition) { + if (newCondition != condition) { + NotificationChain msgs = null; + if (condition != null) + msgs = ((InternalEObject) condition).eInverseRemove(this, + EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.CASE__CONDITION, null, msgs); + if (newCondition != null) + msgs = ((InternalEObject) newCondition).eInverseAdd(this, + EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.CASE__CONDITION, null, msgs); + msgs = basicSetCondition(newCondition, msgs); + if (msgs != null) + msgs.dispatch(); + } else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.CASE__CONDITION, newCondition, + newCondition)); + } + + /** + * + * + * @generated + */ + public Expression getBody() { + return body; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetBody(Expression newBody, NotificationChain msgs) { + Expression oldBody = body; + body = newBody; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, + SolverLanguagePackage.CASE__BODY, oldBody, newBody); + if (msgs == null) + msgs = notification; + else + msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + public void setBody(Expression newBody) { + if (newBody != body) { + NotificationChain msgs = null; + if (body != null) + msgs = ((InternalEObject) body).eInverseRemove(this, + EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.CASE__BODY, null, msgs); + if (newBody != null) + msgs = ((InternalEObject) newBody).eInverseAdd(this, + EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.CASE__BODY, null, msgs); + msgs = basicSetBody(newBody, msgs); + if (msgs != null) + msgs.dispatch(); + } else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.CASE__BODY, newBody, newBody)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case SolverLanguagePackage.CASE__CONDITION: + return basicSetCondition(null, msgs); + case SolverLanguagePackage.CASE__BODY: + return basicSetBody(null, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case SolverLanguagePackage.CASE__CONDITION: + return getCondition(); + case SolverLanguagePackage.CASE__BODY: + return getBody(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case SolverLanguagePackage.CASE__CONDITION: + setCondition((Expression) newValue); + return; + case SolverLanguagePackage.CASE__BODY: + setBody((Expression) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case SolverLanguagePackage.CASE__CONDITION: + setCondition((Expression) null); + return; + case SolverLanguagePackage.CASE__BODY: + setBody((Expression) null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case SolverLanguagePackage.CASE__CONDITION: + return condition != null; + case SolverLanguagePackage.CASE__BODY: + return body != null; + } + return super.eIsSet(featureID); + } + +} //CaseImpl diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/CastExpressionImpl.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/CastExpressionImpl.java new file mode 100644 index 00000000..66baf204 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/CastExpressionImpl.java @@ -0,0 +1,246 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage.impl; + +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.viatra.solver.language.solverLanguage.CastExpression; +import org.eclipse.viatra.solver.language.solverLanguage.Expression; +import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; +import org.eclipse.viatra.solver.language.solverLanguage.Symbol; + +/** + * + * An implementation of the model object 'Cast Expression'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.CastExpressionImpl#getBody Body}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.CastExpressionImpl#getTargetType Target Type}
    • + *
    + * + * @generated + */ +public class CastExpressionImpl extends ExpressionImpl implements CastExpression { + /** + * The cached value of the '{@link #getBody() Body}' containment reference. + * + * + * @see #getBody() + * @generated + * @ordered + */ + protected Expression body; + + /** + * The cached value of the '{@link #getTargetType() Target Type}' reference. + * + * + * @see #getTargetType() + * @generated + * @ordered + */ + protected Symbol targetType; + + /** + * + * + * @generated + */ + protected CastExpressionImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return SolverLanguagePackage.Literals.CAST_EXPRESSION; + } + + /** + * + * + * @generated + */ + public Expression getBody() { + return body; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetBody(Expression newBody, NotificationChain msgs) { + Expression oldBody = body; + body = newBody; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, + SolverLanguagePackage.CAST_EXPRESSION__BODY, oldBody, newBody); + if (msgs == null) + msgs = notification; + else + msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + public void setBody(Expression newBody) { + if (newBody != body) { + NotificationChain msgs = null; + if (body != null) + msgs = ((InternalEObject) body).eInverseRemove(this, + EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.CAST_EXPRESSION__BODY, null, msgs); + if (newBody != null) + msgs = ((InternalEObject) newBody).eInverseAdd(this, + EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.CAST_EXPRESSION__BODY, null, msgs); + msgs = basicSetBody(newBody, msgs); + if (msgs != null) + msgs.dispatch(); + } else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.CAST_EXPRESSION__BODY, newBody, + newBody)); + } + + /** + * + * + * @generated + */ + public Symbol getTargetType() { + if (targetType != null && targetType.eIsProxy()) { + InternalEObject oldTargetType = (InternalEObject) targetType; + targetType = (Symbol) eResolveProxy(oldTargetType); + if (targetType != oldTargetType) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, + SolverLanguagePackage.CAST_EXPRESSION__TARGET_TYPE, oldTargetType, targetType)); + } + } + return targetType; + } + + /** + * + * + * @generated + */ + public Symbol basicGetTargetType() { + return targetType; + } + + /** + * + * + * @generated + */ + public void setTargetType(Symbol newTargetType) { + Symbol oldTargetType = targetType; + targetType = newTargetType; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.CAST_EXPRESSION__TARGET_TYPE, + oldTargetType, targetType)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case SolverLanguagePackage.CAST_EXPRESSION__BODY: + return basicSetBody(null, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case SolverLanguagePackage.CAST_EXPRESSION__BODY: + return getBody(); + case SolverLanguagePackage.CAST_EXPRESSION__TARGET_TYPE: + if (resolve) + return getTargetType(); + return basicGetTargetType(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case SolverLanguagePackage.CAST_EXPRESSION__BODY: + setBody((Expression) newValue); + return; + case SolverLanguagePackage.CAST_EXPRESSION__TARGET_TYPE: + setTargetType((Symbol) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case SolverLanguagePackage.CAST_EXPRESSION__BODY: + setBody((Expression) null); + return; + case SolverLanguagePackage.CAST_EXPRESSION__TARGET_TYPE: + setTargetType((Symbol) null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case SolverLanguagePackage.CAST_EXPRESSION__BODY: + return body != null; + case SolverLanguagePackage.CAST_EXPRESSION__TARGET_TYPE: + return targetType != null; + } + return super.eIsSet(featureID); + } + +} //CastExpressionImpl diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ClassDeclarationImpl.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ClassDeclarationImpl.java new file mode 100644 index 00000000..a9bfeab7 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ClassDeclarationImpl.java @@ -0,0 +1,371 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage.impl; + +import java.util.Collection; + +import org.eclipse.emf.common.notify.Notification; +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.impl.ENotificationImpl; + +import org.eclipse.emf.ecore.util.EObjectContainmentEList; +import org.eclipse.emf.ecore.util.EObjectResolvingEList; +import org.eclipse.emf.ecore.util.InternalEList; + +import org.eclipse.viatra.solver.language.solverLanguage.ClassDeclaration; +import org.eclipse.viatra.solver.language.solverLanguage.Field; +import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; +import org.eclipse.viatra.solver.language.solverLanguage.Symbol; + +/** + * + * An implementation of the model object 'Class Declaration'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.ClassDeclarationImpl#getFields Fields}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.ClassDeclarationImpl#getName Name}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.ClassDeclarationImpl#isAbstract Abstract}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.ClassDeclarationImpl#getSupertypes Supertypes}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.ClassDeclarationImpl#isRoot Root}
    • + *
    + * + * @generated + */ +public class ClassDeclarationImpl extends StatementImpl implements ClassDeclaration { + /** + * The cached value of the '{@link #getFields() Fields}' containment reference list. + * + * + * @see #getFields() + * @generated + * @ordered + */ + protected EList fields; + + /** + * The default value of the '{@link #getName() Name}' attribute. + * + * + * @see #getName() + * @generated + * @ordered + */ + protected static final String NAME_EDEFAULT = null; + + /** + * The cached value of the '{@link #getName() Name}' attribute. + * + * + * @see #getName() + * @generated + * @ordered + */ + protected String name = NAME_EDEFAULT; + + /** + * The default value of the '{@link #isAbstract() Abstract}' attribute. + * + * + * @see #isAbstract() + * @generated + * @ordered + */ + protected static final boolean ABSTRACT_EDEFAULT = false; + + /** + * The cached value of the '{@link #isAbstract() Abstract}' attribute. + * + * + * @see #isAbstract() + * @generated + * @ordered + */ + protected boolean abstract_ = ABSTRACT_EDEFAULT; + + /** + * The cached value of the '{@link #getSupertypes() Supertypes}' reference list. + * + * + * @see #getSupertypes() + * @generated + * @ordered + */ + protected EList supertypes; + + /** + * The default value of the '{@link #isRoot() Root}' attribute. + * + * + * @see #isRoot() + * @generated + * @ordered + */ + protected static final boolean ROOT_EDEFAULT = false; + + /** + * The cached value of the '{@link #isRoot() Root}' attribute. + * + * + * @see #isRoot() + * @generated + * @ordered + */ + protected boolean root = ROOT_EDEFAULT; + + /** + * + * + * @generated + */ + protected ClassDeclarationImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return SolverLanguagePackage.Literals.CLASS_DECLARATION; + } + + /** + * + * + * @generated + */ + public EList getFields() { + if (fields == null) { + fields = new EObjectContainmentEList(Field.class, this, + SolverLanguagePackage.CLASS_DECLARATION__FIELDS); + } + return fields; + } + + /** + * + * + * @generated + */ + public String getName() { + return name; + } + + /** + * + * + * @generated + */ + public void setName(String newName) { + String oldName = name; + name = newName; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.CLASS_DECLARATION__NAME, + oldName, name)); + } + + /** + * + * + * @generated + */ + public boolean isAbstract() { + return abstract_; + } + + /** + * + * + * @generated + */ + public void setAbstract(boolean newAbstract) { + boolean oldAbstract = abstract_; + abstract_ = newAbstract; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.CLASS_DECLARATION__ABSTRACT, + oldAbstract, abstract_)); + } + + /** + * + * + * @generated + */ + public EList getSupertypes() { + if (supertypes == null) { + supertypes = new EObjectResolvingEList(Symbol.class, this, + SolverLanguagePackage.CLASS_DECLARATION__SUPERTYPES); + } + return supertypes; + } + + /** + * + * + * @generated + */ + public boolean isRoot() { + return root; + } + + /** + * + * + * @generated + */ + public void setRoot(boolean newRoot) { + boolean oldRoot = root; + root = newRoot; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.CLASS_DECLARATION__ROOT, + oldRoot, root)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case SolverLanguagePackage.CLASS_DECLARATION__FIELDS: + return ((InternalEList) getFields()).basicRemove(otherEnd, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case SolverLanguagePackage.CLASS_DECLARATION__FIELDS: + return getFields(); + case SolverLanguagePackage.CLASS_DECLARATION__NAME: + return getName(); + case SolverLanguagePackage.CLASS_DECLARATION__ABSTRACT: + return isAbstract(); + case SolverLanguagePackage.CLASS_DECLARATION__SUPERTYPES: + return getSupertypes(); + case SolverLanguagePackage.CLASS_DECLARATION__ROOT: + return isRoot(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case SolverLanguagePackage.CLASS_DECLARATION__FIELDS: + getFields().clear(); + getFields().addAll((Collection) newValue); + return; + case SolverLanguagePackage.CLASS_DECLARATION__NAME: + setName((String) newValue); + return; + case SolverLanguagePackage.CLASS_DECLARATION__ABSTRACT: + setAbstract((Boolean) newValue); + return; + case SolverLanguagePackage.CLASS_DECLARATION__SUPERTYPES: + getSupertypes().clear(); + getSupertypes().addAll((Collection) newValue); + return; + case SolverLanguagePackage.CLASS_DECLARATION__ROOT: + setRoot((Boolean) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case SolverLanguagePackage.CLASS_DECLARATION__FIELDS: + getFields().clear(); + return; + case SolverLanguagePackage.CLASS_DECLARATION__NAME: + setName(NAME_EDEFAULT); + return; + case SolverLanguagePackage.CLASS_DECLARATION__ABSTRACT: + setAbstract(ABSTRACT_EDEFAULT); + return; + case SolverLanguagePackage.CLASS_DECLARATION__SUPERTYPES: + getSupertypes().clear(); + return; + case SolverLanguagePackage.CLASS_DECLARATION__ROOT: + setRoot(ROOT_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case SolverLanguagePackage.CLASS_DECLARATION__FIELDS: + return fields != null && !fields.isEmpty(); + case SolverLanguagePackage.CLASS_DECLARATION__NAME: + return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); + case SolverLanguagePackage.CLASS_DECLARATION__ABSTRACT: + return abstract_ != ABSTRACT_EDEFAULT; + case SolverLanguagePackage.CLASS_DECLARATION__SUPERTYPES: + return supertypes != null && !supertypes.isEmpty(); + case SolverLanguagePackage.CLASS_DECLARATION__ROOT: + return root != ROOT_EDEFAULT; + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) + return super.toString(); + + StringBuilder result = new StringBuilder(super.toString()); + result.append(" (name: "); + result.append(name); + result.append(", abstract: "); + result.append(abstract_); + result.append(", root: "); + result.append(root); + result.append(')'); + return result.toString(); + } + +} //ClassDeclarationImpl diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ConditionalExpressionImpl.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ConditionalExpressionImpl.java new file mode 100644 index 00000000..30d5c6c1 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ConditionalExpressionImpl.java @@ -0,0 +1,328 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage.impl; + +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.viatra.solver.language.solverLanguage.ConditionalExpression; +import org.eclipse.viatra.solver.language.solverLanguage.Expression; +import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; + +/** + * + * An implementation of the model object 'Conditional Expression'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.ConditionalExpressionImpl#getCondition Condition}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.ConditionalExpressionImpl#getThen Then}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.ConditionalExpressionImpl#getElse Else}
    • + *
    + * + * @generated + */ +public class ConditionalExpressionImpl extends ExpressionImpl implements ConditionalExpression { + /** + * The cached value of the '{@link #getCondition() Condition}' containment reference. + * + * + * @see #getCondition() + * @generated + * @ordered + */ + protected Expression condition; + + /** + * The cached value of the '{@link #getThen() Then}' containment reference. + * + * + * @see #getThen() + * @generated + * @ordered + */ + protected Expression then; + + /** + * The cached value of the '{@link #getElse() Else}' containment reference. + * + * + * @see #getElse() + * @generated + * @ordered + */ + protected Expression else_; + + /** + * + * + * @generated + */ + protected ConditionalExpressionImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return SolverLanguagePackage.Literals.CONDITIONAL_EXPRESSION; + } + + /** + * + * + * @generated + */ + public Expression getCondition() { + return condition; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetCondition(Expression newCondition, NotificationChain msgs) { + Expression oldCondition = condition; + condition = newCondition; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, + SolverLanguagePackage.CONDITIONAL_EXPRESSION__CONDITION, oldCondition, newCondition); + if (msgs == null) + msgs = notification; + else + msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + public void setCondition(Expression newCondition) { + if (newCondition != condition) { + NotificationChain msgs = null; + if (condition != null) + msgs = ((InternalEObject) condition).eInverseRemove(this, + EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.CONDITIONAL_EXPRESSION__CONDITION, null, msgs); + if (newCondition != null) + msgs = ((InternalEObject) newCondition).eInverseAdd(this, + EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.CONDITIONAL_EXPRESSION__CONDITION, null, msgs); + msgs = basicSetCondition(newCondition, msgs); + if (msgs != null) + msgs.dispatch(); + } else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, + SolverLanguagePackage.CONDITIONAL_EXPRESSION__CONDITION, newCondition, newCondition)); + } + + /** + * + * + * @generated + */ + public Expression getThen() { + return then; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetThen(Expression newThen, NotificationChain msgs) { + Expression oldThen = then; + then = newThen; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, + SolverLanguagePackage.CONDITIONAL_EXPRESSION__THEN, oldThen, newThen); + if (msgs == null) + msgs = notification; + else + msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + public void setThen(Expression newThen) { + if (newThen != then) { + NotificationChain msgs = null; + if (then != null) + msgs = ((InternalEObject) then).eInverseRemove(this, + EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.CONDITIONAL_EXPRESSION__THEN, null, msgs); + if (newThen != null) + msgs = ((InternalEObject) newThen).eInverseAdd(this, + EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.CONDITIONAL_EXPRESSION__THEN, null, msgs); + msgs = basicSetThen(newThen, msgs); + if (msgs != null) + msgs.dispatch(); + } else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.CONDITIONAL_EXPRESSION__THEN, + newThen, newThen)); + } + + /** + * + * + * @generated + */ + public Expression getElse() { + return else_; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetElse(Expression newElse, NotificationChain msgs) { + Expression oldElse = else_; + else_ = newElse; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, + SolverLanguagePackage.CONDITIONAL_EXPRESSION__ELSE, oldElse, newElse); + if (msgs == null) + msgs = notification; + else + msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + public void setElse(Expression newElse) { + if (newElse != else_) { + NotificationChain msgs = null; + if (else_ != null) + msgs = ((InternalEObject) else_).eInverseRemove(this, + EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.CONDITIONAL_EXPRESSION__ELSE, null, msgs); + if (newElse != null) + msgs = ((InternalEObject) newElse).eInverseAdd(this, + EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.CONDITIONAL_EXPRESSION__ELSE, null, msgs); + msgs = basicSetElse(newElse, msgs); + if (msgs != null) + msgs.dispatch(); + } else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.CONDITIONAL_EXPRESSION__ELSE, + newElse, newElse)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case SolverLanguagePackage.CONDITIONAL_EXPRESSION__CONDITION: + return basicSetCondition(null, msgs); + case SolverLanguagePackage.CONDITIONAL_EXPRESSION__THEN: + return basicSetThen(null, msgs); + case SolverLanguagePackage.CONDITIONAL_EXPRESSION__ELSE: + return basicSetElse(null, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case SolverLanguagePackage.CONDITIONAL_EXPRESSION__CONDITION: + return getCondition(); + case SolverLanguagePackage.CONDITIONAL_EXPRESSION__THEN: + return getThen(); + case SolverLanguagePackage.CONDITIONAL_EXPRESSION__ELSE: + return getElse(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case SolverLanguagePackage.CONDITIONAL_EXPRESSION__CONDITION: + setCondition((Expression) newValue); + return; + case SolverLanguagePackage.CONDITIONAL_EXPRESSION__THEN: + setThen((Expression) newValue); + return; + case SolverLanguagePackage.CONDITIONAL_EXPRESSION__ELSE: + setElse((Expression) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case SolverLanguagePackage.CONDITIONAL_EXPRESSION__CONDITION: + setCondition((Expression) null); + return; + case SolverLanguagePackage.CONDITIONAL_EXPRESSION__THEN: + setThen((Expression) null); + return; + case SolverLanguagePackage.CONDITIONAL_EXPRESSION__ELSE: + setElse((Expression) null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case SolverLanguagePackage.CONDITIONAL_EXPRESSION__CONDITION: + return condition != null; + case SolverLanguagePackage.CONDITIONAL_EXPRESSION__THEN: + return then != null; + case SolverLanguagePackage.CONDITIONAL_EXPRESSION__ELSE: + return else_ != null; + } + return super.eIsSet(featureID); + } + +} //ConditionalExpressionImpl diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ConjunctionImpl.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ConjunctionImpl.java new file mode 100644 index 00000000..6ac60dc1 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ConjunctionImpl.java @@ -0,0 +1,37 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage.impl; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.viatra.solver.language.solverLanguage.Conjunction; +import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; + +/** + * + * An implementation of the model object 'Conjunction'. + * + * + * @generated + */ +public class ConjunctionImpl extends MultiaryExpessionImpl implements Conjunction { + /** + * + * + * @generated + */ + protected ConjunctionImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return SolverLanguagePackage.Literals.CONJUNCTION; + } + +} //ConjunctionImpl diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/CountImpl.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/CountImpl.java new file mode 100644 index 00000000..b4a870c7 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/CountImpl.java @@ -0,0 +1,37 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage.impl; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.viatra.solver.language.solverLanguage.Count; +import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; + +/** + * + * An implementation of the model object 'Count'. + * + * + * @generated + */ +public class CountImpl extends AggregateExpressionImpl implements Count { + /** + * + * + * @generated + */ + protected CountImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return SolverLanguagePackage.Literals.COUNT; + } + +} //CountImpl diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/DatatypeImpl.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/DatatypeImpl.java new file mode 100644 index 00000000..eeb6a1d4 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/DatatypeImpl.java @@ -0,0 +1,37 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage.impl; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.viatra.solver.language.solverLanguage.Datatype; +import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; + +/** + * + * An implementation of the model object 'Datatype'. + * + * + * @generated + */ +public class DatatypeImpl extends RelationImpl implements Datatype { + /** + * + * + * @generated + */ + protected DatatypeImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return SolverLanguagePackage.Literals.DATATYPE; + } + +} //DatatypeImpl diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/DefaultAssertionImpl.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/DefaultAssertionImpl.java new file mode 100644 index 00000000..52d5240c --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/DefaultAssertionImpl.java @@ -0,0 +1,37 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage.impl; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.viatra.solver.language.solverLanguage.DefaultAssertion; +import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; + +/** + * + * An implementation of the model object 'Default Assertion'. + * + * + * @generated + */ +public class DefaultAssertionImpl extends AbstractAssertionImpl implements DefaultAssertion { + /** + * + * + * @generated + */ + protected DefaultAssertionImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return SolverLanguagePackage.Literals.DEFAULT_ASSERTION; + } + +} //DefaultAssertionImpl diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/DisjunctionImpl.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/DisjunctionImpl.java new file mode 100644 index 00000000..a13a92f5 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/DisjunctionImpl.java @@ -0,0 +1,37 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage.impl; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.viatra.solver.language.solverLanguage.Disjunction; +import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; + +/** + * + * An implementation of the model object 'Disjunction'. + * + * + * @generated + */ +public class DisjunctionImpl extends MultiaryExpessionImpl implements Disjunction { + /** + * + * + * @generated + */ + protected DisjunctionImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return SolverLanguagePackage.Literals.DISJUNCTION; + } + +} //DisjunctionImpl diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/EmptyLiteralImpl.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/EmptyLiteralImpl.java new file mode 100644 index 00000000..b5dc7e54 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/EmptyLiteralImpl.java @@ -0,0 +1,37 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage.impl; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.viatra.solver.language.solverLanguage.EmptyLiteral; +import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; + +/** + * + * An implementation of the model object 'Empty Literal'. + * + * + * @generated + */ +public class EmptyLiteralImpl extends LiteralImpl implements EmptyLiteral { + /** + * + * + * @generated + */ + protected EmptyLiteralImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return SolverLanguagePackage.Literals.EMPTY_LITERAL; + } + +} //EmptyLiteralImpl diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/EnumDeclarationImpl.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/EnumDeclarationImpl.java new file mode 100644 index 00000000..1ddcc2f1 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/EnumDeclarationImpl.java @@ -0,0 +1,224 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage.impl; + +import java.util.Collection; + +import org.eclipse.emf.common.notify.Notification; +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.impl.ENotificationImpl; + +import org.eclipse.emf.ecore.util.EObjectContainmentEList; +import org.eclipse.emf.ecore.util.InternalEList; + +import org.eclipse.viatra.solver.language.solverLanguage.EnumDeclaration; +import org.eclipse.viatra.solver.language.solverLanguage.EnumLiteral; +import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; + +/** + * + * An implementation of the model object 'Enum Declaration'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.EnumDeclarationImpl#getLiterals Literals}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.EnumDeclarationImpl#getName Name}
    • + *
    + * + * @generated + */ +public class EnumDeclarationImpl extends StatementImpl implements EnumDeclaration { + /** + * The cached value of the '{@link #getLiterals() Literals}' containment reference list. + * + * + * @see #getLiterals() + * @generated + * @ordered + */ + protected EList literals; + + /** + * The default value of the '{@link #getName() Name}' attribute. + * + * + * @see #getName() + * @generated + * @ordered + */ + protected static final String NAME_EDEFAULT = null; + + /** + * The cached value of the '{@link #getName() Name}' attribute. + * + * + * @see #getName() + * @generated + * @ordered + */ + protected String name = NAME_EDEFAULT; + + /** + * + * + * @generated + */ + protected EnumDeclarationImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return SolverLanguagePackage.Literals.ENUM_DECLARATION; + } + + /** + * + * + * @generated + */ + public EList getLiterals() { + if (literals == null) { + literals = new EObjectContainmentEList(EnumLiteral.class, this, + SolverLanguagePackage.ENUM_DECLARATION__LITERALS); + } + return literals; + } + + /** + * + * + * @generated + */ + public String getName() { + return name; + } + + /** + * + * + * @generated + */ + public void setName(String newName) { + String oldName = name; + name = newName; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.ENUM_DECLARATION__NAME, oldName, + name)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case SolverLanguagePackage.ENUM_DECLARATION__LITERALS: + return ((InternalEList) getLiterals()).basicRemove(otherEnd, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case SolverLanguagePackage.ENUM_DECLARATION__LITERALS: + return getLiterals(); + case SolverLanguagePackage.ENUM_DECLARATION__NAME: + return getName(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case SolverLanguagePackage.ENUM_DECLARATION__LITERALS: + getLiterals().clear(); + getLiterals().addAll((Collection) newValue); + return; + case SolverLanguagePackage.ENUM_DECLARATION__NAME: + setName((String) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case SolverLanguagePackage.ENUM_DECLARATION__LITERALS: + getLiterals().clear(); + return; + case SolverLanguagePackage.ENUM_DECLARATION__NAME: + setName(NAME_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case SolverLanguagePackage.ENUM_DECLARATION__LITERALS: + return literals != null && !literals.isEmpty(); + case SolverLanguagePackage.ENUM_DECLARATION__NAME: + return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) + return super.toString(); + + StringBuilder result = new StringBuilder(super.toString()); + result.append(" (name: "); + result.append(name); + result.append(')'); + return result.toString(); + } + +} //EnumDeclarationImpl diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/EnumLiteralImpl.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/EnumLiteralImpl.java new file mode 100644 index 00000000..5b7f9cb1 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/EnumLiteralImpl.java @@ -0,0 +1,165 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage.impl; + +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; + +import org.eclipse.viatra.solver.language.solverLanguage.EnumLiteral; +import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; + +/** + * + * An implementation of the model object 'Enum Literal'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.EnumLiteralImpl#getName Name}
    • + *
    + * + * @generated + */ +public class EnumLiteralImpl extends MinimalEObjectImpl.Container implements EnumLiteral { + /** + * The default value of the '{@link #getName() Name}' attribute. + * + * + * @see #getName() + * @generated + * @ordered + */ + protected static final String NAME_EDEFAULT = null; + + /** + * The cached value of the '{@link #getName() Name}' attribute. + * + * + * @see #getName() + * @generated + * @ordered + */ + protected String name = NAME_EDEFAULT; + + /** + * + * + * @generated + */ + protected EnumLiteralImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return SolverLanguagePackage.Literals.ENUM_LITERAL; + } + + /** + * + * + * @generated + */ + public String getName() { + return name; + } + + /** + * + * + * @generated + */ + public void setName(String newName) { + String oldName = name; + name = newName; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.ENUM_LITERAL__NAME, oldName, + name)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case SolverLanguagePackage.ENUM_LITERAL__NAME: + return getName(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case SolverLanguagePackage.ENUM_LITERAL__NAME: + setName((String) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case SolverLanguagePackage.ENUM_LITERAL__NAME: + setName(NAME_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case SolverLanguagePackage.ENUM_LITERAL__NAME: + return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) + return super.toString(); + + StringBuilder result = new StringBuilder(super.toString()); + result.append(" (name: "); + result.append(name); + result.append(')'); + return result.toString(); + } + +} //EnumLiteralImpl diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExactMultiplicityImpl.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExactMultiplicityImpl.java new file mode 100644 index 00000000..f981aede --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExactMultiplicityImpl.java @@ -0,0 +1,164 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage.impl; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +import org.eclipse.viatra.solver.language.solverLanguage.ExactMultiplicity; +import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; + +/** + * + * An implementation of the model object 'Exact Multiplicity'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExactMultiplicityImpl#getValue Value}
    • + *
    + * + * @generated + */ +public class ExactMultiplicityImpl extends MultiplicityImpl implements ExactMultiplicity { + /** + * The default value of the '{@link #getValue() Value}' attribute. + * + * + * @see #getValue() + * @generated + * @ordered + */ + protected static final int VALUE_EDEFAULT = 0; + + /** + * The cached value of the '{@link #getValue() Value}' attribute. + * + * + * @see #getValue() + * @generated + * @ordered + */ + protected int value = VALUE_EDEFAULT; + + /** + * + * + * @generated + */ + protected ExactMultiplicityImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return SolverLanguagePackage.Literals.EXACT_MULTIPLICITY; + } + + /** + * + * + * @generated + */ + public int getValue() { + return value; + } + + /** + * + * + * @generated + */ + public void setValue(int newValue) { + int oldValue = value; + value = newValue; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.EXACT_MULTIPLICITY__VALUE, + oldValue, value)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case SolverLanguagePackage.EXACT_MULTIPLICITY__VALUE: + return getValue(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case SolverLanguagePackage.EXACT_MULTIPLICITY__VALUE: + setValue((Integer) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case SolverLanguagePackage.EXACT_MULTIPLICITY__VALUE: + setValue(VALUE_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case SolverLanguagePackage.EXACT_MULTIPLICITY__VALUE: + return value != VALUE_EDEFAULT; + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) + return super.toString(); + + StringBuilder result = new StringBuilder(super.toString()); + result.append(" (value: "); + result.append(value); + result.append(')'); + return result.toString(); + } + +} //ExactMultiplicityImpl diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExactScopeImpl.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExactScopeImpl.java new file mode 100644 index 00000000..80b06171 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExactScopeImpl.java @@ -0,0 +1,164 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage.impl; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +import org.eclipse.viatra.solver.language.solverLanguage.ExactScope; +import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; + +/** + * + * An implementation of the model object 'Exact Scope'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExactScopeImpl#getSize Size}
    • + *
    + * + * @generated + */ +public class ExactScopeImpl extends ScopeDeclarationImpl implements ExactScope { + /** + * The default value of the '{@link #getSize() Size}' attribute. + * + * + * @see #getSize() + * @generated + * @ordered + */ + protected static final int SIZE_EDEFAULT = 0; + + /** + * The cached value of the '{@link #getSize() Size}' attribute. + * + * + * @see #getSize() + * @generated + * @ordered + */ + protected int size = SIZE_EDEFAULT; + + /** + * + * + * @generated + */ + protected ExactScopeImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return SolverLanguagePackage.Literals.EXACT_SCOPE; + } + + /** + * + * + * @generated + */ + public int getSize() { + return size; + } + + /** + * + * + * @generated + */ + public void setSize(int newSize) { + int oldSize = size; + size = newSize; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.EXACT_SCOPE__SIZE, oldSize, + size)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case SolverLanguagePackage.EXACT_SCOPE__SIZE: + return getSize(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case SolverLanguagePackage.EXACT_SCOPE__SIZE: + setSize((Integer) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case SolverLanguagePackage.EXACT_SCOPE__SIZE: + setSize(SIZE_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case SolverLanguagePackage.EXACT_SCOPE__SIZE: + return size != SIZE_EDEFAULT; + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) + return super.toString(); + + StringBuilder result = new StringBuilder(super.toString()); + result.append(" (size: "); + result.append(size); + result.append(')'); + return result.toString(); + } + +} //ExactScopeImpl diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExpressionArgumentImpl.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExpressionArgumentImpl.java new file mode 100644 index 00000000..7e84a49a --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExpressionArgumentImpl.java @@ -0,0 +1,182 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage.impl; + +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.viatra.solver.language.solverLanguage.Expression; +import org.eclipse.viatra.solver.language.solverLanguage.ExpressionArgument; +import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; + +/** + * + * An implementation of the model object 'Expression Argument'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExpressionArgumentImpl#getExpression Expression}
    • + *
    + * + * @generated + */ +public class ExpressionArgumentImpl extends ArgumentImpl implements ExpressionArgument { + /** + * The cached value of the '{@link #getExpression() Expression}' containment reference. + * + * + * @see #getExpression() + * @generated + * @ordered + */ + protected Expression expression; + + /** + * + * + * @generated + */ + protected ExpressionArgumentImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return SolverLanguagePackage.Literals.EXPRESSION_ARGUMENT; + } + + /** + * + * + * @generated + */ + public Expression getExpression() { + return expression; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetExpression(Expression newExpression, NotificationChain msgs) { + Expression oldExpression = expression; + expression = newExpression; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, + SolverLanguagePackage.EXPRESSION_ARGUMENT__EXPRESSION, oldExpression, newExpression); + if (msgs == null) + msgs = notification; + else + msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + public void setExpression(Expression newExpression) { + if (newExpression != expression) { + NotificationChain msgs = null; + if (expression != null) + msgs = ((InternalEObject) expression).eInverseRemove(this, + EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.EXPRESSION_ARGUMENT__EXPRESSION, null, msgs); + if (newExpression != null) + msgs = ((InternalEObject) newExpression).eInverseAdd(this, + EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.EXPRESSION_ARGUMENT__EXPRESSION, null, msgs); + msgs = basicSetExpression(newExpression, msgs); + if (msgs != null) + msgs.dispatch(); + } else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.EXPRESSION_ARGUMENT__EXPRESSION, + newExpression, newExpression)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case SolverLanguagePackage.EXPRESSION_ARGUMENT__EXPRESSION: + return basicSetExpression(null, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case SolverLanguagePackage.EXPRESSION_ARGUMENT__EXPRESSION: + return getExpression(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case SolverLanguagePackage.EXPRESSION_ARGUMENT__EXPRESSION: + setExpression((Expression) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case SolverLanguagePackage.EXPRESSION_ARGUMENT__EXPRESSION: + setExpression((Expression) null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case SolverLanguagePackage.EXPRESSION_ARGUMENT__EXPRESSION: + return expression != null; + } + return super.eIsSet(featureID); + } + +} //ExpressionArgumentImpl diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExpressionImpl.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExpressionImpl.java new file mode 100644 index 00000000..0b917b30 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExpressionImpl.java @@ -0,0 +1,151 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage.impl; + +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; + +import org.eclipse.viatra.solver.language.solverLanguage.Expression; +import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; +import org.eclipse.viatra.solver.language.solverLanguage.Variable; + +/** + * + * An implementation of the model object 'Expression'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExpressionImpl#getExistsVariables Exists Variables}
    • + *
    + * + * @generated + */ +public abstract class ExpressionImpl extends StatementImpl implements Expression { + /** + * The cached value of the '{@link #getExistsVariables() Exists Variables}' containment reference list. + * + * + * @see #getExistsVariables() + * @generated + * @ordered + */ + protected EList existsVariables; + + /** + * + * + * @generated + */ + protected ExpressionImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return SolverLanguagePackage.Literals.EXPRESSION; + } + + /** + * + * + * @generated + */ + public EList getExistsVariables() { + if (existsVariables == null) { + existsVariables = new EObjectContainmentEList(Variable.class, this, + SolverLanguagePackage.EXPRESSION__EXISTS_VARIABLES); + } + return existsVariables; + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case SolverLanguagePackage.EXPRESSION__EXISTS_VARIABLES: + return ((InternalEList) getExistsVariables()).basicRemove(otherEnd, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case SolverLanguagePackage.EXPRESSION__EXISTS_VARIABLES: + return getExistsVariables(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case SolverLanguagePackage.EXPRESSION__EXISTS_VARIABLES: + getExistsVariables().clear(); + getExistsVariables().addAll((Collection) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case SolverLanguagePackage.EXPRESSION__EXISTS_VARIABLES: + getExistsVariables().clear(); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case SolverLanguagePackage.EXPRESSION__EXISTS_VARIABLES: + return existsVariables != null && !existsVariables.isEmpty(); + } + return super.eIsSet(featureID); + } + +} //ExpressionImpl diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExternAggregationOperatorDeclarationImpl.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExternAggregationOperatorDeclarationImpl.java new file mode 100644 index 00000000..f3a34f73 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExternAggregationOperatorDeclarationImpl.java @@ -0,0 +1,227 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage.impl; + +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.solver.language.solverLanguage.ExternAggregationOperatorDeclaration; +import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; +import org.eclipse.viatra.solver.language.solverLanguage.Symbol; + +/** + * + * An implementation of the model object 'Extern Aggregation Operator Declaration'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExternAggregationOperatorDeclarationImpl#getArgumentType Argument Type}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExternAggregationOperatorDeclarationImpl#getResultType Result Type}
    • + *
    + * + * @generated + */ +public class ExternAggregationOperatorDeclarationImpl extends ExternDeclarationImpl + implements ExternAggregationOperatorDeclaration { + /** + * The cached value of the '{@link #getArgumentType() Argument Type}' reference. + * + * + * @see #getArgumentType() + * @generated + * @ordered + */ + protected Symbol argumentType; + + /** + * The cached value of the '{@link #getResultType() Result Type}' reference. + * + * + * @see #getResultType() + * @generated + * @ordered + */ + protected Symbol resultType; + + /** + * + * + * @generated + */ + protected ExternAggregationOperatorDeclarationImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return SolverLanguagePackage.Literals.EXTERN_AGGREGATION_OPERATOR_DECLARATION; + } + + /** + * + * + * @generated + */ + public Symbol getArgumentType() { + if (argumentType != null && argumentType.eIsProxy()) { + InternalEObject oldArgumentType = (InternalEObject) argumentType; + argumentType = (Symbol) eResolveProxy(oldArgumentType); + if (argumentType != oldArgumentType) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, + SolverLanguagePackage.EXTERN_AGGREGATION_OPERATOR_DECLARATION__ARGUMENT_TYPE, + oldArgumentType, argumentType)); + } + } + return argumentType; + } + + /** + * + * + * @generated + */ + public Symbol basicGetArgumentType() { + return argumentType; + } + + /** + * + * + * @generated + */ + public void setArgumentType(Symbol newArgumentType) { + Symbol oldArgumentType = argumentType; + argumentType = newArgumentType; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, + SolverLanguagePackage.EXTERN_AGGREGATION_OPERATOR_DECLARATION__ARGUMENT_TYPE, oldArgumentType, + argumentType)); + } + + /** + * + * + * @generated + */ + public Symbol getResultType() { + if (resultType != null && resultType.eIsProxy()) { + InternalEObject oldResultType = (InternalEObject) resultType; + resultType = (Symbol) eResolveProxy(oldResultType); + if (resultType != oldResultType) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, + SolverLanguagePackage.EXTERN_AGGREGATION_OPERATOR_DECLARATION__RESULT_TYPE, oldResultType, + resultType)); + } + } + return resultType; + } + + /** + * + * + * @generated + */ + public Symbol basicGetResultType() { + return resultType; + } + + /** + * + * + * @generated + */ + public void setResultType(Symbol newResultType) { + Symbol oldResultType = resultType; + resultType = newResultType; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, + SolverLanguagePackage.EXTERN_AGGREGATION_OPERATOR_DECLARATION__RESULT_TYPE, oldResultType, + resultType)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case SolverLanguagePackage.EXTERN_AGGREGATION_OPERATOR_DECLARATION__ARGUMENT_TYPE: + if (resolve) + return getArgumentType(); + return basicGetArgumentType(); + case SolverLanguagePackage.EXTERN_AGGREGATION_OPERATOR_DECLARATION__RESULT_TYPE: + if (resolve) + return getResultType(); + return basicGetResultType(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case SolverLanguagePackage.EXTERN_AGGREGATION_OPERATOR_DECLARATION__ARGUMENT_TYPE: + setArgumentType((Symbol) newValue); + return; + case SolverLanguagePackage.EXTERN_AGGREGATION_OPERATOR_DECLARATION__RESULT_TYPE: + setResultType((Symbol) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case SolverLanguagePackage.EXTERN_AGGREGATION_OPERATOR_DECLARATION__ARGUMENT_TYPE: + setArgumentType((Symbol) null); + return; + case SolverLanguagePackage.EXTERN_AGGREGATION_OPERATOR_DECLARATION__RESULT_TYPE: + setResultType((Symbol) null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case SolverLanguagePackage.EXTERN_AGGREGATION_OPERATOR_DECLARATION__ARGUMENT_TYPE: + return argumentType != null; + case SolverLanguagePackage.EXTERN_AGGREGATION_OPERATOR_DECLARATION__RESULT_TYPE: + return resultType != null; + } + return super.eIsSet(featureID); + } + +} //ExternAggregationOperatorDeclarationImpl diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExternDatatypeDeclarationImpl.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExternDatatypeDeclarationImpl.java new file mode 100644 index 00000000..f2411a6b --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExternDatatypeDeclarationImpl.java @@ -0,0 +1,37 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage.impl; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.viatra.solver.language.solverLanguage.ExternDatatypeDeclaration; +import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; + +/** + * + * An implementation of the model object 'Extern Datatype Declaration'. + * + * + * @generated + */ +public class ExternDatatypeDeclarationImpl extends ExternDeclarationImpl implements ExternDatatypeDeclaration { + /** + * + * + * @generated + */ + protected ExternDatatypeDeclarationImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return SolverLanguagePackage.Literals.EXTERN_DATATYPE_DECLARATION; + } + +} //ExternDatatypeDeclarationImpl diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExternDeclarationImpl.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExternDeclarationImpl.java new file mode 100644 index 00000000..4086decd --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExternDeclarationImpl.java @@ -0,0 +1,164 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage.impl; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +import org.eclipse.viatra.solver.language.solverLanguage.ExternDeclaration; +import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; + +/** + * + * An implementation of the model object 'Extern Declaration'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExternDeclarationImpl#getName Name}
    • + *
    + * + * @generated + */ +public abstract class ExternDeclarationImpl extends StatementImpl implements ExternDeclaration { + /** + * The default value of the '{@link #getName() Name}' attribute. + * + * + * @see #getName() + * @generated + * @ordered + */ + protected static final String NAME_EDEFAULT = null; + + /** + * The cached value of the '{@link #getName() Name}' attribute. + * + * + * @see #getName() + * @generated + * @ordered + */ + protected String name = NAME_EDEFAULT; + + /** + * + * + * @generated + */ + protected ExternDeclarationImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return SolverLanguagePackage.Literals.EXTERN_DECLARATION; + } + + /** + * + * + * @generated + */ + public String getName() { + return name; + } + + /** + * + * + * @generated + */ + public void setName(String newName) { + String oldName = name; + name = newName; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.EXTERN_DECLARATION__NAME, + oldName, name)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case SolverLanguagePackage.EXTERN_DECLARATION__NAME: + return getName(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case SolverLanguagePackage.EXTERN_DECLARATION__NAME: + setName((String) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case SolverLanguagePackage.EXTERN_DECLARATION__NAME: + setName(NAME_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case SolverLanguagePackage.EXTERN_DECLARATION__NAME: + return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) + return super.toString(); + + StringBuilder result = new StringBuilder(super.toString()); + result.append(" (name: "); + result.append(name); + result.append(')'); + return result.toString(); + } + +} //ExternDeclarationImpl diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExternFunctionDeclarationImpl.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExternFunctionDeclarationImpl.java new file mode 100644 index 00000000..83ec9f13 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExternFunctionDeclarationImpl.java @@ -0,0 +1,159 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage.impl; + +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.solver.language.solverLanguage.ExternFunctionDeclaration; +import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; +import org.eclipse.viatra.solver.language.solverLanguage.Symbol; + +/** + * + * An implementation of the model object 'Extern Function Declaration'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExternFunctionDeclarationImpl#getResultType Result Type}
    • + *
    + * + * @generated + */ +public class ExternFunctionDeclarationImpl extends ExternFunctorDeclarationImpl implements ExternFunctionDeclaration { + /** + * The cached value of the '{@link #getResultType() Result Type}' reference. + * + * + * @see #getResultType() + * @generated + * @ordered + */ + protected Symbol resultType; + + /** + * + * + * @generated + */ + protected ExternFunctionDeclarationImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return SolverLanguagePackage.Literals.EXTERN_FUNCTION_DECLARATION; + } + + /** + * + * + * @generated + */ + public Symbol getResultType() { + if (resultType != null && resultType.eIsProxy()) { + InternalEObject oldResultType = (InternalEObject) resultType; + resultType = (Symbol) eResolveProxy(oldResultType); + if (resultType != oldResultType) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, + SolverLanguagePackage.EXTERN_FUNCTION_DECLARATION__RESULT_TYPE, oldResultType, resultType)); + } + } + return resultType; + } + + /** + * + * + * @generated + */ + public Symbol basicGetResultType() { + return resultType; + } + + /** + * + * + * @generated + */ + public void setResultType(Symbol newResultType) { + Symbol oldResultType = resultType; + resultType = newResultType; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, + SolverLanguagePackage.EXTERN_FUNCTION_DECLARATION__RESULT_TYPE, oldResultType, resultType)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case SolverLanguagePackage.EXTERN_FUNCTION_DECLARATION__RESULT_TYPE: + if (resolve) + return getResultType(); + return basicGetResultType(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case SolverLanguagePackage.EXTERN_FUNCTION_DECLARATION__RESULT_TYPE: + setResultType((Symbol) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case SolverLanguagePackage.EXTERN_FUNCTION_DECLARATION__RESULT_TYPE: + setResultType((Symbol) null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case SolverLanguagePackage.EXTERN_FUNCTION_DECLARATION__RESULT_TYPE: + return resultType != null; + } + return super.eIsSet(featureID); + } + +} //ExternFunctionDeclarationImpl diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExternFunctorDeclarationImpl.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExternFunctorDeclarationImpl.java new file mode 100644 index 00000000..f3c58b99 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExternFunctorDeclarationImpl.java @@ -0,0 +1,184 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage.impl; + +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.viatra.solver.language.solverLanguage.ArgumentList; +import org.eclipse.viatra.solver.language.solverLanguage.ExternFunctorDeclaration; +import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; + +/** + * + * An implementation of the model object 'Extern Functor Declaration'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExternFunctorDeclarationImpl#getArgumentList Argument List}
    • + *
    + * + * @generated + */ +public abstract class ExternFunctorDeclarationImpl extends ExternDeclarationImpl implements ExternFunctorDeclaration { + /** + * The cached value of the '{@link #getArgumentList() Argument List}' containment reference. + * + * + * @see #getArgumentList() + * @generated + * @ordered + */ + protected ArgumentList argumentList; + + /** + * + * + * @generated + */ + protected ExternFunctorDeclarationImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return SolverLanguagePackage.Literals.EXTERN_FUNCTOR_DECLARATION; + } + + /** + * + * + * @generated + */ + public ArgumentList getArgumentList() { + return argumentList; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetArgumentList(ArgumentList newArgumentList, NotificationChain msgs) { + ArgumentList oldArgumentList = argumentList; + argumentList = newArgumentList; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, + SolverLanguagePackage.EXTERN_FUNCTOR_DECLARATION__ARGUMENT_LIST, oldArgumentList, newArgumentList); + if (msgs == null) + msgs = notification; + else + msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + public void setArgumentList(ArgumentList newArgumentList) { + if (newArgumentList != argumentList) { + NotificationChain msgs = null; + if (argumentList != null) + msgs = ((InternalEObject) argumentList).eInverseRemove(this, + EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.EXTERN_FUNCTOR_DECLARATION__ARGUMENT_LIST, null, + msgs); + if (newArgumentList != null) + msgs = ((InternalEObject) newArgumentList).eInverseAdd(this, + EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.EXTERN_FUNCTOR_DECLARATION__ARGUMENT_LIST, null, + msgs); + msgs = basicSetArgumentList(newArgumentList, msgs); + if (msgs != null) + msgs.dispatch(); + } else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, + SolverLanguagePackage.EXTERN_FUNCTOR_DECLARATION__ARGUMENT_LIST, newArgumentList, newArgumentList)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case SolverLanguagePackage.EXTERN_FUNCTOR_DECLARATION__ARGUMENT_LIST: + return basicSetArgumentList(null, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case SolverLanguagePackage.EXTERN_FUNCTOR_DECLARATION__ARGUMENT_LIST: + return getArgumentList(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case SolverLanguagePackage.EXTERN_FUNCTOR_DECLARATION__ARGUMENT_LIST: + setArgumentList((ArgumentList) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case SolverLanguagePackage.EXTERN_FUNCTOR_DECLARATION__ARGUMENT_LIST: + setArgumentList((ArgumentList) null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case SolverLanguagePackage.EXTERN_FUNCTOR_DECLARATION__ARGUMENT_LIST: + return argumentList != null; + } + return super.eIsSet(featureID); + } + +} //ExternFunctorDeclarationImpl diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExternPredicateDeclarationImpl.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExternPredicateDeclarationImpl.java new file mode 100644 index 00000000..fa6646bf --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExternPredicateDeclarationImpl.java @@ -0,0 +1,260 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage.impl; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +import org.eclipse.viatra.solver.language.solverLanguage.ExternPredicateDeclaration; +import org.eclipse.viatra.solver.language.solverLanguage.InlinePredicateAttrributes; +import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; + +/** + * + * An implementation of the model object 'Extern Predicate Declaration'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExternPredicateDeclarationImpl#isError Error}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExternPredicateDeclarationImpl#isFunctional Functional}
    • + *
    + * + * @generated + */ +public class ExternPredicateDeclarationImpl extends ExternFunctorDeclarationImpl implements ExternPredicateDeclaration { + /** + * The default value of the '{@link #isError() Error}' attribute. + * + * + * @see #isError() + * @generated + * @ordered + */ + protected static final boolean ERROR_EDEFAULT = false; + + /** + * The cached value of the '{@link #isError() Error}' attribute. + * + * + * @see #isError() + * @generated + * @ordered + */ + protected boolean error = ERROR_EDEFAULT; + + /** + * The default value of the '{@link #isFunctional() Functional}' attribute. + * + * + * @see #isFunctional() + * @generated + * @ordered + */ + protected static final boolean FUNCTIONAL_EDEFAULT = false; + + /** + * The cached value of the '{@link #isFunctional() Functional}' attribute. + * + * + * @see #isFunctional() + * @generated + * @ordered + */ + protected boolean functional = FUNCTIONAL_EDEFAULT; + + /** + * + * + * @generated + */ + protected ExternPredicateDeclarationImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return SolverLanguagePackage.Literals.EXTERN_PREDICATE_DECLARATION; + } + + /** + * + * + * @generated + */ + public boolean isError() { + return error; + } + + /** + * + * + * @generated + */ + public void setError(boolean newError) { + boolean oldError = error; + error = newError; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, + SolverLanguagePackage.EXTERN_PREDICATE_DECLARATION__ERROR, oldError, error)); + } + + /** + * + * + * @generated + */ + public boolean isFunctional() { + return functional; + } + + /** + * + * + * @generated + */ + public void setFunctional(boolean newFunctional) { + boolean oldFunctional = functional; + functional = newFunctional; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, + SolverLanguagePackage.EXTERN_PREDICATE_DECLARATION__FUNCTIONAL, oldFunctional, functional)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case SolverLanguagePackage.EXTERN_PREDICATE_DECLARATION__ERROR: + return isError(); + case SolverLanguagePackage.EXTERN_PREDICATE_DECLARATION__FUNCTIONAL: + return isFunctional(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case SolverLanguagePackage.EXTERN_PREDICATE_DECLARATION__ERROR: + setError((Boolean) newValue); + return; + case SolverLanguagePackage.EXTERN_PREDICATE_DECLARATION__FUNCTIONAL: + setFunctional((Boolean) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case SolverLanguagePackage.EXTERN_PREDICATE_DECLARATION__ERROR: + setError(ERROR_EDEFAULT); + return; + case SolverLanguagePackage.EXTERN_PREDICATE_DECLARATION__FUNCTIONAL: + setFunctional(FUNCTIONAL_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case SolverLanguagePackage.EXTERN_PREDICATE_DECLARATION__ERROR: + return error != ERROR_EDEFAULT; + case SolverLanguagePackage.EXTERN_PREDICATE_DECLARATION__FUNCTIONAL: + return functional != FUNCTIONAL_EDEFAULT; + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public int eBaseStructuralFeatureID(int derivedFeatureID, Class baseClass) { + if (baseClass == InlinePredicateAttrributes.class) { + switch (derivedFeatureID) { + case SolverLanguagePackage.EXTERN_PREDICATE_DECLARATION__ERROR: + return SolverLanguagePackage.INLINE_PREDICATE_ATTRRIBUTES__ERROR; + case SolverLanguagePackage.EXTERN_PREDICATE_DECLARATION__FUNCTIONAL: + return SolverLanguagePackage.INLINE_PREDICATE_ATTRRIBUTES__FUNCTIONAL; + default: + return -1; + } + } + return super.eBaseStructuralFeatureID(derivedFeatureID, baseClass); + } + + /** + * + * + * @generated + */ + @Override + public int eDerivedStructuralFeatureID(int baseFeatureID, Class baseClass) { + if (baseClass == InlinePredicateAttrributes.class) { + switch (baseFeatureID) { + case SolverLanguagePackage.INLINE_PREDICATE_ATTRRIBUTES__ERROR: + return SolverLanguagePackage.EXTERN_PREDICATE_DECLARATION__ERROR; + case SolverLanguagePackage.INLINE_PREDICATE_ATTRRIBUTES__FUNCTIONAL: + return SolverLanguagePackage.EXTERN_PREDICATE_DECLARATION__FUNCTIONAL; + default: + return -1; + } + } + return super.eDerivedStructuralFeatureID(baseFeatureID, baseClass); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) + return super.toString(); + + StringBuilder result = new StringBuilder(super.toString()); + result.append(" (error: "); + result.append(error); + result.append(", functional: "); + result.append(functional); + result.append(')'); + return result.toString(); + } + +} //ExternPredicateDeclarationImpl diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/FieldImpl.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/FieldImpl.java new file mode 100644 index 00000000..20fc50b9 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/FieldImpl.java @@ -0,0 +1,488 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage.impl; + +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; + +import org.eclipse.viatra.solver.language.solverLanguage.Field; +import org.eclipse.viatra.solver.language.solverLanguage.Multiplicity; +import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; +import org.eclipse.viatra.solver.language.solverLanguage.Symbol; + +/** + * + * An implementation of the model object 'Field'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.FieldImpl#isContainment Containment}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.FieldImpl#isCrossReference Cross Reference}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.FieldImpl#getOpposite Opposite}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.FieldImpl#getMultiplicity Multiplicity}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.FieldImpl#getType Type}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.FieldImpl#getName Name}
    • + *
    + * + * @generated + */ +public class FieldImpl extends MinimalEObjectImpl.Container implements Field { + /** + * The default value of the '{@link #isContainment() Containment}' attribute. + * + * + * @see #isContainment() + * @generated + * @ordered + */ + protected static final boolean CONTAINMENT_EDEFAULT = false; + + /** + * The cached value of the '{@link #isContainment() Containment}' attribute. + * + * + * @see #isContainment() + * @generated + * @ordered + */ + protected boolean containment = CONTAINMENT_EDEFAULT; + + /** + * The default value of the '{@link #isCrossReference() Cross Reference}' attribute. + * + * + * @see #isCrossReference() + * @generated + * @ordered + */ + protected static final boolean CROSS_REFERENCE_EDEFAULT = false; + + /** + * The cached value of the '{@link #isCrossReference() Cross Reference}' attribute. + * + * + * @see #isCrossReference() + * @generated + * @ordered + */ + protected boolean crossReference = CROSS_REFERENCE_EDEFAULT; + + /** + * The cached value of the '{@link #getOpposite() Opposite}' reference. + * + * + * @see #getOpposite() + * @generated + * @ordered + */ + protected Symbol opposite; + + /** + * The cached value of the '{@link #getMultiplicity() Multiplicity}' containment reference. + * + * + * @see #getMultiplicity() + * @generated + * @ordered + */ + protected Multiplicity multiplicity; + + /** + * The cached value of the '{@link #getType() Type}' reference. + * + * + * @see #getType() + * @generated + * @ordered + */ + protected Symbol type; + + /** + * The default value of the '{@link #getName() Name}' attribute. + * + * + * @see #getName() + * @generated + * @ordered + */ + protected static final String NAME_EDEFAULT = null; + + /** + * The cached value of the '{@link #getName() Name}' attribute. + * + * + * @see #getName() + * @generated + * @ordered + */ + protected String name = NAME_EDEFAULT; + + /** + * + * + * @generated + */ + protected FieldImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return SolverLanguagePackage.Literals.FIELD; + } + + /** + * + * + * @generated + */ + public boolean isContainment() { + return containment; + } + + /** + * + * + * @generated + */ + public void setContainment(boolean newContainment) { + boolean oldContainment = containment; + containment = newContainment; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.FIELD__CONTAINMENT, + oldContainment, containment)); + } + + /** + * + * + * @generated + */ + public boolean isCrossReference() { + return crossReference; + } + + /** + * + * + * @generated + */ + public void setCrossReference(boolean newCrossReference) { + boolean oldCrossReference = crossReference; + crossReference = newCrossReference; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.FIELD__CROSS_REFERENCE, + oldCrossReference, crossReference)); + } + + /** + * + * + * @generated + */ + public Symbol getOpposite() { + if (opposite != null && opposite.eIsProxy()) { + InternalEObject oldOpposite = (InternalEObject) opposite; + opposite = (Symbol) eResolveProxy(oldOpposite); + if (opposite != oldOpposite) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, SolverLanguagePackage.FIELD__OPPOSITE, + oldOpposite, opposite)); + } + } + return opposite; + } + + /** + * + * + * @generated + */ + public Symbol basicGetOpposite() { + return opposite; + } + + /** + * + * + * @generated + */ + public void setOpposite(Symbol newOpposite) { + Symbol oldOpposite = opposite; + opposite = newOpposite; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.FIELD__OPPOSITE, oldOpposite, + opposite)); + } + + /** + * + * + * @generated + */ + public Multiplicity getMultiplicity() { + return multiplicity; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetMultiplicity(Multiplicity newMultiplicity, NotificationChain msgs) { + Multiplicity oldMultiplicity = multiplicity; + multiplicity = newMultiplicity; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, + SolverLanguagePackage.FIELD__MULTIPLICITY, oldMultiplicity, newMultiplicity); + if (msgs == null) + msgs = notification; + else + msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + public void setMultiplicity(Multiplicity newMultiplicity) { + if (newMultiplicity != multiplicity) { + NotificationChain msgs = null; + if (multiplicity != null) + msgs = ((InternalEObject) multiplicity).eInverseRemove(this, + EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.FIELD__MULTIPLICITY, null, msgs); + if (newMultiplicity != null) + msgs = ((InternalEObject) newMultiplicity).eInverseAdd(this, + EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.FIELD__MULTIPLICITY, null, msgs); + msgs = basicSetMultiplicity(newMultiplicity, msgs); + if (msgs != null) + msgs.dispatch(); + } else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.FIELD__MULTIPLICITY, + newMultiplicity, newMultiplicity)); + } + + /** + * + * + * @generated + */ + public Symbol getType() { + if (type != null && type.eIsProxy()) { + InternalEObject oldType = (InternalEObject) type; + type = (Symbol) eResolveProxy(oldType); + if (type != oldType) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, SolverLanguagePackage.FIELD__TYPE, + oldType, type)); + } + } + return type; + } + + /** + * + * + * @generated + */ + public Symbol basicGetType() { + return type; + } + + /** + * + * + * @generated + */ + public void setType(Symbol newType) { + Symbol oldType = type; + type = newType; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.FIELD__TYPE, oldType, type)); + } + + /** + * + * + * @generated + */ + public String getName() { + return name; + } + + /** + * + * + * @generated + */ + public void setName(String newName) { + String oldName = name; + name = newName; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.FIELD__NAME, oldName, name)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case SolverLanguagePackage.FIELD__MULTIPLICITY: + return basicSetMultiplicity(null, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case SolverLanguagePackage.FIELD__CONTAINMENT: + return isContainment(); + case SolverLanguagePackage.FIELD__CROSS_REFERENCE: + return isCrossReference(); + case SolverLanguagePackage.FIELD__OPPOSITE: + if (resolve) + return getOpposite(); + return basicGetOpposite(); + case SolverLanguagePackage.FIELD__MULTIPLICITY: + return getMultiplicity(); + case SolverLanguagePackage.FIELD__TYPE: + if (resolve) + return getType(); + return basicGetType(); + case SolverLanguagePackage.FIELD__NAME: + return getName(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case SolverLanguagePackage.FIELD__CONTAINMENT: + setContainment((Boolean) newValue); + return; + case SolverLanguagePackage.FIELD__CROSS_REFERENCE: + setCrossReference((Boolean) newValue); + return; + case SolverLanguagePackage.FIELD__OPPOSITE: + setOpposite((Symbol) newValue); + return; + case SolverLanguagePackage.FIELD__MULTIPLICITY: + setMultiplicity((Multiplicity) newValue); + return; + case SolverLanguagePackage.FIELD__TYPE: + setType((Symbol) newValue); + return; + case SolverLanguagePackage.FIELD__NAME: + setName((String) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case SolverLanguagePackage.FIELD__CONTAINMENT: + setContainment(CONTAINMENT_EDEFAULT); + return; + case SolverLanguagePackage.FIELD__CROSS_REFERENCE: + setCrossReference(CROSS_REFERENCE_EDEFAULT); + return; + case SolverLanguagePackage.FIELD__OPPOSITE: + setOpposite((Symbol) null); + return; + case SolverLanguagePackage.FIELD__MULTIPLICITY: + setMultiplicity((Multiplicity) null); + return; + case SolverLanguagePackage.FIELD__TYPE: + setType((Symbol) null); + return; + case SolverLanguagePackage.FIELD__NAME: + setName(NAME_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case SolverLanguagePackage.FIELD__CONTAINMENT: + return containment != CONTAINMENT_EDEFAULT; + case SolverLanguagePackage.FIELD__CROSS_REFERENCE: + return crossReference != CROSS_REFERENCE_EDEFAULT; + case SolverLanguagePackage.FIELD__OPPOSITE: + return opposite != null; + case SolverLanguagePackage.FIELD__MULTIPLICITY: + return multiplicity != null; + case SolverLanguagePackage.FIELD__TYPE: + return type != null; + case SolverLanguagePackage.FIELD__NAME: + return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) + return super.toString(); + + StringBuilder result = new StringBuilder(super.toString()); + result.append(" (containment: "); + result.append(containment); + result.append(", crossReference: "); + result.append(crossReference); + result.append(", name: "); + result.append(name); + result.append(')'); + return result.toString(); + } + +} //FieldImpl diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ForallImpl.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ForallImpl.java new file mode 100644 index 00000000..0007f67f --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ForallImpl.java @@ -0,0 +1,182 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage.impl; + +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.viatra.solver.language.solverLanguage.Expression; +import org.eclipse.viatra.solver.language.solverLanguage.Forall; +import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; + +/** + * + * An implementation of the model object 'Forall'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.ForallImpl#getBody Body}
    • + *
    + * + * @generated + */ +public class ForallImpl extends AggregateExpressionImpl implements Forall { + /** + * The cached value of the '{@link #getBody() Body}' containment reference. + * + * + * @see #getBody() + * @generated + * @ordered + */ + protected Expression body; + + /** + * + * + * @generated + */ + protected ForallImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return SolverLanguagePackage.Literals.FORALL; + } + + /** + * + * + * @generated + */ + public Expression getBody() { + return body; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetBody(Expression newBody, NotificationChain msgs) { + Expression oldBody = body; + body = newBody; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, + SolverLanguagePackage.FORALL__BODY, oldBody, newBody); + if (msgs == null) + msgs = notification; + else + msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + public void setBody(Expression newBody) { + if (newBody != body) { + NotificationChain msgs = null; + if (body != null) + msgs = ((InternalEObject) body).eInverseRemove(this, + EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.FORALL__BODY, null, msgs); + if (newBody != null) + msgs = ((InternalEObject) newBody).eInverseAdd(this, + EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.FORALL__BODY, null, msgs); + msgs = basicSetBody(newBody, msgs); + if (msgs != null) + msgs.dispatch(); + } else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.FORALL__BODY, newBody, + newBody)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case SolverLanguagePackage.FORALL__BODY: + return basicSetBody(null, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case SolverLanguagePackage.FORALL__BODY: + return getBody(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case SolverLanguagePackage.FORALL__BODY: + setBody((Expression) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case SolverLanguagePackage.FORALL__BODY: + setBody((Expression) null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case SolverLanguagePackage.FORALL__BODY: + return body != null; + } + return super.eIsSet(featureID); + } + +} //ForallImpl diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/FunctionDefinitionImpl.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/FunctionDefinitionImpl.java new file mode 100644 index 00000000..9fa59d1c --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/FunctionDefinitionImpl.java @@ -0,0 +1,159 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage.impl; + +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.solver.language.solverLanguage.FunctionDefinition; +import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; +import org.eclipse.viatra.solver.language.solverLanguage.Symbol; + +/** + * + * An implementation of the model object 'Function Definition'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.FunctionDefinitionImpl#getResultType Result Type}
    • + *
    + * + * @generated + */ +public class FunctionDefinitionImpl extends FunctorDefinitonImpl implements FunctionDefinition { + /** + * The cached value of the '{@link #getResultType() Result Type}' reference. + * + * + * @see #getResultType() + * @generated + * @ordered + */ + protected Symbol resultType; + + /** + * + * + * @generated + */ + protected FunctionDefinitionImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return SolverLanguagePackage.Literals.FUNCTION_DEFINITION; + } + + /** + * + * + * @generated + */ + public Symbol getResultType() { + if (resultType != null && resultType.eIsProxy()) { + InternalEObject oldResultType = (InternalEObject) resultType; + resultType = (Symbol) eResolveProxy(oldResultType); + if (resultType != oldResultType) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, + SolverLanguagePackage.FUNCTION_DEFINITION__RESULT_TYPE, oldResultType, resultType)); + } + } + return resultType; + } + + /** + * + * + * @generated + */ + public Symbol basicGetResultType() { + return resultType; + } + + /** + * + * + * @generated + */ + public void setResultType(Symbol newResultType) { + Symbol oldResultType = resultType; + resultType = newResultType; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, + SolverLanguagePackage.FUNCTION_DEFINITION__RESULT_TYPE, oldResultType, resultType)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case SolverLanguagePackage.FUNCTION_DEFINITION__RESULT_TYPE: + if (resolve) + return getResultType(); + return basicGetResultType(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case SolverLanguagePackage.FUNCTION_DEFINITION__RESULT_TYPE: + setResultType((Symbol) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case SolverLanguagePackage.FUNCTION_DEFINITION__RESULT_TYPE: + setResultType((Symbol) null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case SolverLanguagePackage.FUNCTION_DEFINITION__RESULT_TYPE: + return resultType != null; + } + return super.eIsSet(featureID); + } + +} //FunctionDefinitionImpl diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/FunctionImpl.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/FunctionImpl.java new file mode 100644 index 00000000..2a3e7e8b --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/FunctionImpl.java @@ -0,0 +1,159 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage.impl; + +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.solver.language.solverLanguage.Datatype; +import org.eclipse.viatra.solver.language.solverLanguage.Function; +import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; + +/** + * + * An implementation of the model object 'Function'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.FunctionImpl#getResultType Result Type}
    • + *
    + * + * @generated + */ +public abstract class FunctionImpl extends FunctorImpl implements Function { + /** + * The cached value of the '{@link #getResultType() Result Type}' reference. + * + * + * @see #getResultType() + * @generated + * @ordered + */ + protected Datatype resultType; + + /** + * + * + * @generated + */ + protected FunctionImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return SolverLanguagePackage.Literals.FUNCTION; + } + + /** + * + * + * @generated + */ + public Datatype getResultType() { + if (resultType != null && resultType.eIsProxy()) { + InternalEObject oldResultType = (InternalEObject) resultType; + resultType = (Datatype) eResolveProxy(oldResultType); + if (resultType != oldResultType) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, + SolverLanguagePackage.FUNCTION__RESULT_TYPE, oldResultType, resultType)); + } + } + return resultType; + } + + /** + * + * + * @generated + */ + public Datatype basicGetResultType() { + return resultType; + } + + /** + * + * + * @generated + */ + public void setResultType(Datatype newResultType) { + Datatype oldResultType = resultType; + resultType = newResultType; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.FUNCTION__RESULT_TYPE, + oldResultType, resultType)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case SolverLanguagePackage.FUNCTION__RESULT_TYPE: + if (resolve) + return getResultType(); + return basicGetResultType(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case SolverLanguagePackage.FUNCTION__RESULT_TYPE: + setResultType((Datatype) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case SolverLanguagePackage.FUNCTION__RESULT_TYPE: + setResultType((Datatype) null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case SolverLanguagePackage.FUNCTION__RESULT_TYPE: + return resultType != null; + } + return super.eIsSet(featureID); + } + +} //FunctionImpl diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/FunctorDefinitonImpl.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/FunctorDefinitonImpl.java new file mode 100644 index 00000000..0dff447f --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/FunctorDefinitonImpl.java @@ -0,0 +1,255 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage.impl; + +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.viatra.solver.language.solverLanguage.Expression; +import org.eclipse.viatra.solver.language.solverLanguage.FunctorDefiniton; +import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; + +/** + * + * An implementation of the model object 'Functor Definiton'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.FunctorDefinitonImpl#getHead Head}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.FunctorDefinitonImpl#getBody Body}
    • + *
    + * + * @generated + */ +public abstract class FunctorDefinitonImpl extends StatementImpl implements FunctorDefiniton { + /** + * The cached value of the '{@link #getHead() Head}' containment reference. + * + * + * @see #getHead() + * @generated + * @ordered + */ + protected Expression head; + + /** + * The cached value of the '{@link #getBody() Body}' containment reference. + * + * + * @see #getBody() + * @generated + * @ordered + */ + protected Expression body; + + /** + * + * + * @generated + */ + protected FunctorDefinitonImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return SolverLanguagePackage.Literals.FUNCTOR_DEFINITON; + } + + /** + * + * + * @generated + */ + public Expression getHead() { + return head; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetHead(Expression newHead, NotificationChain msgs) { + Expression oldHead = head; + head = newHead; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, + SolverLanguagePackage.FUNCTOR_DEFINITON__HEAD, oldHead, newHead); + if (msgs == null) + msgs = notification; + else + msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + public void setHead(Expression newHead) { + if (newHead != head) { + NotificationChain msgs = null; + if (head != null) + msgs = ((InternalEObject) head).eInverseRemove(this, + EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.FUNCTOR_DEFINITON__HEAD, null, msgs); + if (newHead != null) + msgs = ((InternalEObject) newHead).eInverseAdd(this, + EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.FUNCTOR_DEFINITON__HEAD, null, msgs); + msgs = basicSetHead(newHead, msgs); + if (msgs != null) + msgs.dispatch(); + } else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.FUNCTOR_DEFINITON__HEAD, + newHead, newHead)); + } + + /** + * + * + * @generated + */ + public Expression getBody() { + return body; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetBody(Expression newBody, NotificationChain msgs) { + Expression oldBody = body; + body = newBody; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, + SolverLanguagePackage.FUNCTOR_DEFINITON__BODY, oldBody, newBody); + if (msgs == null) + msgs = notification; + else + msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + public void setBody(Expression newBody) { + if (newBody != body) { + NotificationChain msgs = null; + if (body != null) + msgs = ((InternalEObject) body).eInverseRemove(this, + EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.FUNCTOR_DEFINITON__BODY, null, msgs); + if (newBody != null) + msgs = ((InternalEObject) newBody).eInverseAdd(this, + EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.FUNCTOR_DEFINITON__BODY, null, msgs); + msgs = basicSetBody(newBody, msgs); + if (msgs != null) + msgs.dispatch(); + } else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.FUNCTOR_DEFINITON__BODY, + newBody, newBody)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case SolverLanguagePackage.FUNCTOR_DEFINITON__HEAD: + return basicSetHead(null, msgs); + case SolverLanguagePackage.FUNCTOR_DEFINITON__BODY: + return basicSetBody(null, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case SolverLanguagePackage.FUNCTOR_DEFINITON__HEAD: + return getHead(); + case SolverLanguagePackage.FUNCTOR_DEFINITON__BODY: + return getBody(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case SolverLanguagePackage.FUNCTOR_DEFINITON__HEAD: + setHead((Expression) newValue); + return; + case SolverLanguagePackage.FUNCTOR_DEFINITON__BODY: + setBody((Expression) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case SolverLanguagePackage.FUNCTOR_DEFINITON__HEAD: + setHead((Expression) null); + return; + case SolverLanguagePackage.FUNCTOR_DEFINITON__BODY: + setBody((Expression) null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case SolverLanguagePackage.FUNCTOR_DEFINITON__HEAD: + return head != null; + case SolverLanguagePackage.FUNCTOR_DEFINITON__BODY: + return body != null; + } + return super.eIsSet(featureID); + } + +} //FunctorDefinitonImpl diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/FunctorImpl.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/FunctorImpl.java new file mode 100644 index 00000000..f0003552 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/FunctorImpl.java @@ -0,0 +1,151 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage.impl; + +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; + +import org.eclipse.viatra.solver.language.solverLanguage.Functor; +import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; +import org.eclipse.viatra.solver.language.solverLanguage.Variable; + +/** + * + * An implementation of the model object 'Functor'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.FunctorImpl#getParameters Parameters}
    • + *
    + * + * @generated + */ +public abstract class FunctorImpl extends SymbolImpl implements Functor { + /** + * The cached value of the '{@link #getParameters() Parameters}' containment reference list. + * + * + * @see #getParameters() + * @generated + * @ordered + */ + protected EList parameters; + + /** + * + * + * @generated + */ + protected FunctorImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return SolverLanguagePackage.Literals.FUNCTOR; + } + + /** + * + * + * @generated + */ + public EList getParameters() { + if (parameters == null) { + parameters = new EObjectContainmentEList(Variable.class, this, + SolverLanguagePackage.FUNCTOR__PARAMETERS); + } + return parameters; + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case SolverLanguagePackage.FUNCTOR__PARAMETERS: + return ((InternalEList) getParameters()).basicRemove(otherEnd, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case SolverLanguagePackage.FUNCTOR__PARAMETERS: + return getParameters(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case SolverLanguagePackage.FUNCTOR__PARAMETERS: + getParameters().clear(); + getParameters().addAll((Collection) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case SolverLanguagePackage.FUNCTOR__PARAMETERS: + getParameters().clear(); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case SolverLanguagePackage.FUNCTOR__PARAMETERS: + return parameters != null && !parameters.isEmpty(); + } + return super.eIsSet(featureID); + } + +} //FunctorImpl diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ImportImpl.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ImportImpl.java new file mode 100644 index 00000000..5d37e837 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ImportImpl.java @@ -0,0 +1,165 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage.impl; + +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; + +import org.eclipse.viatra.solver.language.solverLanguage.Import; +import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; + +/** + * + * An implementation of the model object 'Import'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.ImportImpl#getAlias Alias}
    • + *
    + * + * @generated + */ +public class ImportImpl extends MinimalEObjectImpl.Container implements Import { + /** + * The default value of the '{@link #getAlias() Alias}' attribute. + * + * + * @see #getAlias() + * @generated + * @ordered + */ + protected static final String ALIAS_EDEFAULT = null; + + /** + * The cached value of the '{@link #getAlias() Alias}' attribute. + * + * + * @see #getAlias() + * @generated + * @ordered + */ + protected String alias = ALIAS_EDEFAULT; + + /** + * + * + * @generated + */ + protected ImportImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return SolverLanguagePackage.Literals.IMPORT; + } + + /** + * + * + * @generated + */ + public String getAlias() { + return alias; + } + + /** + * + * + * @generated + */ + public void setAlias(String newAlias) { + String oldAlias = alias; + alias = newAlias; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.IMPORT__ALIAS, oldAlias, + alias)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case SolverLanguagePackage.IMPORT__ALIAS: + return getAlias(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case SolverLanguagePackage.IMPORT__ALIAS: + setAlias((String) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case SolverLanguagePackage.IMPORT__ALIAS: + setAlias(ALIAS_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case SolverLanguagePackage.IMPORT__ALIAS: + return ALIAS_EDEFAULT == null ? alias != null : !ALIAS_EDEFAULT.equals(alias); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) + return super.toString(); + + StringBuilder result = new StringBuilder(super.toString()); + result.append(" (alias: "); + result.append(alias); + result.append(')'); + return result.toString(); + } + +} //ImportImpl diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/InfinityLiteralImpl.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/InfinityLiteralImpl.java new file mode 100644 index 00000000..ab6025ff --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/InfinityLiteralImpl.java @@ -0,0 +1,37 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage.impl; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.viatra.solver.language.solverLanguage.InfinityLiteral; +import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; + +/** + * + * An implementation of the model object 'Infinity Literal'. + * + * + * @generated + */ +public class InfinityLiteralImpl extends LiteralImpl implements InfinityLiteral { + /** + * + * + * @generated + */ + protected InfinityLiteralImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return SolverLanguagePackage.Literals.INFINITY_LITERAL; + } + +} //InfinityLiteralImpl diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/IntLiteralImpl.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/IntLiteralImpl.java new file mode 100644 index 00000000..0e247f42 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/IntLiteralImpl.java @@ -0,0 +1,164 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage.impl; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +import org.eclipse.viatra.solver.language.solverLanguage.IntLiteral; +import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; + +/** + * + * An implementation of the model object 'Int Literal'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.IntLiteralImpl#getValue Value}
    • + *
    + * + * @generated + */ +public class IntLiteralImpl extends LiteralImpl implements IntLiteral { + /** + * The default value of the '{@link #getValue() Value}' attribute. + * + * + * @see #getValue() + * @generated + * @ordered + */ + protected static final int VALUE_EDEFAULT = 0; + + /** + * The cached value of the '{@link #getValue() Value}' attribute. + * + * + * @see #getValue() + * @generated + * @ordered + */ + protected int value = VALUE_EDEFAULT; + + /** + * + * + * @generated + */ + protected IntLiteralImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return SolverLanguagePackage.Literals.INT_LITERAL; + } + + /** + * + * + * @generated + */ + public int getValue() { + return value; + } + + /** + * + * + * @generated + */ + public void setValue(int newValue) { + int oldValue = value; + value = newValue; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.INT_LITERAL__VALUE, oldValue, + value)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case SolverLanguagePackage.INT_LITERAL__VALUE: + return getValue(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case SolverLanguagePackage.INT_LITERAL__VALUE: + setValue((Integer) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case SolverLanguagePackage.INT_LITERAL__VALUE: + setValue(VALUE_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case SolverLanguagePackage.INT_LITERAL__VALUE: + return value != VALUE_EDEFAULT; + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) + return super.toString(); + + StringBuilder result = new StringBuilder(super.toString()); + result.append(" (value: "); + result.append(value); + result.append(')'); + return result.toString(); + } + +} //IntLiteralImpl diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/IntervalImpl.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/IntervalImpl.java new file mode 100644 index 00000000..d599db6d --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/IntervalImpl.java @@ -0,0 +1,255 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage.impl; + +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.viatra.solver.language.solverLanguage.Expression; +import org.eclipse.viatra.solver.language.solverLanguage.Interval; +import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; + +/** + * + * An implementation of the model object 'Interval'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.IntervalImpl#getLowerBound Lower Bound}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.IntervalImpl#getUpperBound Upper Bound}
    • + *
    + * + * @generated + */ +public class IntervalImpl extends ExpressionImpl implements Interval { + /** + * The cached value of the '{@link #getLowerBound() Lower Bound}' containment reference. + * + * + * @see #getLowerBound() + * @generated + * @ordered + */ + protected Expression lowerBound; + + /** + * The cached value of the '{@link #getUpperBound() Upper Bound}' containment reference. + * + * + * @see #getUpperBound() + * @generated + * @ordered + */ + protected Expression upperBound; + + /** + * + * + * @generated + */ + protected IntervalImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return SolverLanguagePackage.Literals.INTERVAL; + } + + /** + * + * + * @generated + */ + public Expression getLowerBound() { + return lowerBound; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetLowerBound(Expression newLowerBound, NotificationChain msgs) { + Expression oldLowerBound = lowerBound; + lowerBound = newLowerBound; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, + SolverLanguagePackage.INTERVAL__LOWER_BOUND, oldLowerBound, newLowerBound); + if (msgs == null) + msgs = notification; + else + msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + public void setLowerBound(Expression newLowerBound) { + if (newLowerBound != lowerBound) { + NotificationChain msgs = null; + if (lowerBound != null) + msgs = ((InternalEObject) lowerBound).eInverseRemove(this, + EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.INTERVAL__LOWER_BOUND, null, msgs); + if (newLowerBound != null) + msgs = ((InternalEObject) newLowerBound).eInverseAdd(this, + EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.INTERVAL__LOWER_BOUND, null, msgs); + msgs = basicSetLowerBound(newLowerBound, msgs); + if (msgs != null) + msgs.dispatch(); + } else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.INTERVAL__LOWER_BOUND, + newLowerBound, newLowerBound)); + } + + /** + * + * + * @generated + */ + public Expression getUpperBound() { + return upperBound; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetUpperBound(Expression newUpperBound, NotificationChain msgs) { + Expression oldUpperBound = upperBound; + upperBound = newUpperBound; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, + SolverLanguagePackage.INTERVAL__UPPER_BOUND, oldUpperBound, newUpperBound); + if (msgs == null) + msgs = notification; + else + msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + public void setUpperBound(Expression newUpperBound) { + if (newUpperBound != upperBound) { + NotificationChain msgs = null; + if (upperBound != null) + msgs = ((InternalEObject) upperBound).eInverseRemove(this, + EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.INTERVAL__UPPER_BOUND, null, msgs); + if (newUpperBound != null) + msgs = ((InternalEObject) newUpperBound).eInverseAdd(this, + EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.INTERVAL__UPPER_BOUND, null, msgs); + msgs = basicSetUpperBound(newUpperBound, msgs); + if (msgs != null) + msgs.dispatch(); + } else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.INTERVAL__UPPER_BOUND, + newUpperBound, newUpperBound)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case SolverLanguagePackage.INTERVAL__LOWER_BOUND: + return basicSetLowerBound(null, msgs); + case SolverLanguagePackage.INTERVAL__UPPER_BOUND: + return basicSetUpperBound(null, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case SolverLanguagePackage.INTERVAL__LOWER_BOUND: + return getLowerBound(); + case SolverLanguagePackage.INTERVAL__UPPER_BOUND: + return getUpperBound(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case SolverLanguagePackage.INTERVAL__LOWER_BOUND: + setLowerBound((Expression) newValue); + return; + case SolverLanguagePackage.INTERVAL__UPPER_BOUND: + setUpperBound((Expression) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case SolverLanguagePackage.INTERVAL__LOWER_BOUND: + setLowerBound((Expression) null); + return; + case SolverLanguagePackage.INTERVAL__UPPER_BOUND: + setUpperBound((Expression) null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case SolverLanguagePackage.INTERVAL__LOWER_BOUND: + return lowerBound != null; + case SolverLanguagePackage.INTERVAL__UPPER_BOUND: + return upperBound != null; + } + return super.eIsSet(featureID); + } + +} //IntervalImpl diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/LetBindingImpl.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/LetBindingImpl.java new file mode 100644 index 00000000..1f724c55 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/LetBindingImpl.java @@ -0,0 +1,391 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage.impl; + +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; + +import org.eclipse.viatra.solver.language.solverLanguage.Expression; +import org.eclipse.viatra.solver.language.solverLanguage.LetBinding; +import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; +import org.eclipse.viatra.solver.language.solverLanguage.Symbol; +import org.eclipse.viatra.solver.language.solverLanguage.Variable; + +/** + * + * An implementation of the model object 'Let Binding'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.LetBindingImpl#getValue Value}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.LetBindingImpl#getVariable Variable}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.LetBindingImpl#getName Name}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.LetBindingImpl#getType Type}
    • + *
    + * + * @generated + */ +public class LetBindingImpl extends MinimalEObjectImpl.Container implements LetBinding { + /** + * The cached value of the '{@link #getValue() Value}' containment reference. + * + * + * @see #getValue() + * @generated + * @ordered + */ + protected Expression value; + + /** + * The cached value of the '{@link #getVariable() Variable}' containment reference. + * + * + * @see #getVariable() + * @generated + * @ordered + */ + protected Variable variable; + + /** + * The default value of the '{@link #getName() Name}' attribute. + * + * + * @see #getName() + * @generated + * @ordered + */ + protected static final String NAME_EDEFAULT = null; + + /** + * The cached value of the '{@link #getName() Name}' attribute. + * + * + * @see #getName() + * @generated + * @ordered + */ + protected String name = NAME_EDEFAULT; + + /** + * The cached value of the '{@link #getType() Type}' reference. + * + * + * @see #getType() + * @generated + * @ordered + */ + protected Symbol type; + + /** + * + * + * @generated + */ + protected LetBindingImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return SolverLanguagePackage.Literals.LET_BINDING; + } + + /** + * + * + * @generated + */ + public Expression getValue() { + return value; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetValue(Expression newValue, NotificationChain msgs) { + Expression oldValue = value; + value = newValue; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, + SolverLanguagePackage.LET_BINDING__VALUE, oldValue, newValue); + if (msgs == null) + msgs = notification; + else + msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + public void setValue(Expression newValue) { + if (newValue != value) { + NotificationChain msgs = null; + if (value != null) + msgs = ((InternalEObject) value).eInverseRemove(this, + EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.LET_BINDING__VALUE, null, msgs); + if (newValue != null) + msgs = ((InternalEObject) newValue).eInverseAdd(this, + EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.LET_BINDING__VALUE, null, msgs); + msgs = basicSetValue(newValue, msgs); + if (msgs != null) + msgs.dispatch(); + } else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.LET_BINDING__VALUE, newValue, + newValue)); + } + + /** + * + * + * @generated + */ + public Variable getVariable() { + return variable; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetVariable(Variable newVariable, NotificationChain msgs) { + Variable oldVariable = variable; + variable = newVariable; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, + SolverLanguagePackage.LET_BINDING__VARIABLE, oldVariable, newVariable); + if (msgs == null) + msgs = notification; + else + msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + public void setVariable(Variable newVariable) { + if (newVariable != variable) { + NotificationChain msgs = null; + if (variable != null) + msgs = ((InternalEObject) variable).eInverseRemove(this, + EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.LET_BINDING__VARIABLE, null, msgs); + if (newVariable != null) + msgs = ((InternalEObject) newVariable).eInverseAdd(this, + EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.LET_BINDING__VARIABLE, null, msgs); + msgs = basicSetVariable(newVariable, msgs); + if (msgs != null) + msgs.dispatch(); + } else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.LET_BINDING__VARIABLE, + newVariable, newVariable)); + } + + /** + * + * + * @generated + */ + public String getName() { + return name; + } + + /** + * + * + * @generated + */ + public void setName(String newName) { + String oldName = name; + name = newName; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.LET_BINDING__NAME, oldName, + name)); + } + + /** + * + * + * @generated + */ + public Symbol getType() { + if (type != null && type.eIsProxy()) { + InternalEObject oldType = (InternalEObject) type; + type = (Symbol) eResolveProxy(oldType); + if (type != oldType) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, SolverLanguagePackage.LET_BINDING__TYPE, + oldType, type)); + } + } + return type; + } + + /** + * + * + * @generated + */ + public Symbol basicGetType() { + return type; + } + + /** + * + * + * @generated + */ + public void setType(Symbol newType) { + Symbol oldType = type; + type = newType; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.LET_BINDING__TYPE, oldType, + type)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case SolverLanguagePackage.LET_BINDING__VALUE: + return basicSetValue(null, msgs); + case SolverLanguagePackage.LET_BINDING__VARIABLE: + return basicSetVariable(null, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case SolverLanguagePackage.LET_BINDING__VALUE: + return getValue(); + case SolverLanguagePackage.LET_BINDING__VARIABLE: + return getVariable(); + case SolverLanguagePackage.LET_BINDING__NAME: + return getName(); + case SolverLanguagePackage.LET_BINDING__TYPE: + if (resolve) + return getType(); + return basicGetType(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case SolverLanguagePackage.LET_BINDING__VALUE: + setValue((Expression) newValue); + return; + case SolverLanguagePackage.LET_BINDING__VARIABLE: + setVariable((Variable) newValue); + return; + case SolverLanguagePackage.LET_BINDING__NAME: + setName((String) newValue); + return; + case SolverLanguagePackage.LET_BINDING__TYPE: + setType((Symbol) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case SolverLanguagePackage.LET_BINDING__VALUE: + setValue((Expression) null); + return; + case SolverLanguagePackage.LET_BINDING__VARIABLE: + setVariable((Variable) null); + return; + case SolverLanguagePackage.LET_BINDING__NAME: + setName(NAME_EDEFAULT); + return; + case SolverLanguagePackage.LET_BINDING__TYPE: + setType((Symbol) null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case SolverLanguagePackage.LET_BINDING__VALUE: + return value != null; + case SolverLanguagePackage.LET_BINDING__VARIABLE: + return variable != null; + case SolverLanguagePackage.LET_BINDING__NAME: + return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); + case SolverLanguagePackage.LET_BINDING__TYPE: + return type != null; + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) + return super.toString(); + + StringBuilder result = new StringBuilder(super.toString()); + result.append(" (name: "); + result.append(name); + result.append(')'); + return result.toString(); + } + +} //LetBindingImpl diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/LetExpressionImpl.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/LetExpressionImpl.java new file mode 100644 index 00000000..2aa319c6 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/LetExpressionImpl.java @@ -0,0 +1,228 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage.impl; + +import java.util.Collection; + +import org.eclipse.emf.common.notify.Notification; +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.impl.ENotificationImpl; + +import org.eclipse.emf.ecore.util.EObjectContainmentEList; +import org.eclipse.emf.ecore.util.InternalEList; + +import org.eclipse.viatra.solver.language.solverLanguage.Expression; +import org.eclipse.viatra.solver.language.solverLanguage.LetBinding; +import org.eclipse.viatra.solver.language.solverLanguage.LetExpression; +import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; + +/** + * + * An implementation of the model object 'Let Expression'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.LetExpressionImpl#getBindings Bindings}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.LetExpressionImpl#getBody Body}
    • + *
    + * + * @generated + */ +public class LetExpressionImpl extends ExpressionImpl implements LetExpression { + /** + * The cached value of the '{@link #getBindings() Bindings}' containment reference list. + * + * + * @see #getBindings() + * @generated + * @ordered + */ + protected EList bindings; + + /** + * The cached value of the '{@link #getBody() Body}' containment reference. + * + * + * @see #getBody() + * @generated + * @ordered + */ + protected Expression body; + + /** + * + * + * @generated + */ + protected LetExpressionImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return SolverLanguagePackage.Literals.LET_EXPRESSION; + } + + /** + * + * + * @generated + */ + public EList getBindings() { + if (bindings == null) { + bindings = new EObjectContainmentEList(LetBinding.class, this, + SolverLanguagePackage.LET_EXPRESSION__BINDINGS); + } + return bindings; + } + + /** + * + * + * @generated + */ + public Expression getBody() { + return body; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetBody(Expression newBody, NotificationChain msgs) { + Expression oldBody = body; + body = newBody; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, + SolverLanguagePackage.LET_EXPRESSION__BODY, oldBody, newBody); + if (msgs == null) + msgs = notification; + else + msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + public void setBody(Expression newBody) { + if (newBody != body) { + NotificationChain msgs = null; + if (body != null) + msgs = ((InternalEObject) body).eInverseRemove(this, + EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.LET_EXPRESSION__BODY, null, msgs); + if (newBody != null) + msgs = ((InternalEObject) newBody).eInverseAdd(this, + EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.LET_EXPRESSION__BODY, null, msgs); + msgs = basicSetBody(newBody, msgs); + if (msgs != null) + msgs.dispatch(); + } else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.LET_EXPRESSION__BODY, newBody, + newBody)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case SolverLanguagePackage.LET_EXPRESSION__BINDINGS: + return ((InternalEList) getBindings()).basicRemove(otherEnd, msgs); + case SolverLanguagePackage.LET_EXPRESSION__BODY: + return basicSetBody(null, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case SolverLanguagePackage.LET_EXPRESSION__BINDINGS: + return getBindings(); + case SolverLanguagePackage.LET_EXPRESSION__BODY: + return getBody(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case SolverLanguagePackage.LET_EXPRESSION__BINDINGS: + getBindings().clear(); + getBindings().addAll((Collection) newValue); + return; + case SolverLanguagePackage.LET_EXPRESSION__BODY: + setBody((Expression) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case SolverLanguagePackage.LET_EXPRESSION__BINDINGS: + getBindings().clear(); + return; + case SolverLanguagePackage.LET_EXPRESSION__BODY: + setBody((Expression) null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case SolverLanguagePackage.LET_EXPRESSION__BINDINGS: + return bindings != null && !bindings.isEmpty(); + case SolverLanguagePackage.LET_EXPRESSION__BODY: + return body != null; + } + return super.eIsSet(featureID); + } + +} //LetExpressionImpl diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/LiteralImpl.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/LiteralImpl.java new file mode 100644 index 00000000..4222a258 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/LiteralImpl.java @@ -0,0 +1,37 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage.impl; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.viatra.solver.language.solverLanguage.Literal; +import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; + +/** + * + * An implementation of the model object 'Literal'. + * + * + * @generated + */ +public abstract class LiteralImpl extends ExpressionImpl implements Literal { + /** + * + * + * @generated + */ + protected LiteralImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return SolverLanguagePackage.Literals.LITERAL; + } + +} //LiteralImpl diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/LogicLiteralImpl.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/LogicLiteralImpl.java new file mode 100644 index 00000000..6eb60cd5 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/LogicLiteralImpl.java @@ -0,0 +1,165 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage.impl; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +import org.eclipse.viatra.solver.language.solverLanguage.LogicLiteral; +import org.eclipse.viatra.solver.language.solverLanguage.LogicValue; +import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; + +/** + * + * An implementation of the model object 'Logic Literal'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.LogicLiteralImpl#getValue Value}
    • + *
    + * + * @generated + */ +public class LogicLiteralImpl extends LiteralImpl implements LogicLiteral { + /** + * The default value of the '{@link #getValue() Value}' attribute. + * + * + * @see #getValue() + * @generated + * @ordered + */ + protected static final LogicValue VALUE_EDEFAULT = LogicValue.UNKNOWN; + + /** + * The cached value of the '{@link #getValue() Value}' attribute. + * + * + * @see #getValue() + * @generated + * @ordered + */ + protected LogicValue value = VALUE_EDEFAULT; + + /** + * + * + * @generated + */ + protected LogicLiteralImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return SolverLanguagePackage.Literals.LOGIC_LITERAL; + } + + /** + * + * + * @generated + */ + public LogicValue getValue() { + return value; + } + + /** + * + * + * @generated + */ + public void setValue(LogicValue newValue) { + LogicValue oldValue = value; + value = newValue == null ? VALUE_EDEFAULT : newValue; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.LOGIC_LITERAL__VALUE, oldValue, + value)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case SolverLanguagePackage.LOGIC_LITERAL__VALUE: + return getValue(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case SolverLanguagePackage.LOGIC_LITERAL__VALUE: + setValue((LogicValue) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case SolverLanguagePackage.LOGIC_LITERAL__VALUE: + setValue(VALUE_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case SolverLanguagePackage.LOGIC_LITERAL__VALUE: + return value != VALUE_EDEFAULT; + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) + return super.toString(); + + StringBuilder result = new StringBuilder(super.toString()); + result.append(" (value: "); + result.append(value); + result.append(')'); + return result.toString(); + } + +} //LogicLiteralImpl diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/LowerBoundedScopeImpl.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/LowerBoundedScopeImpl.java new file mode 100644 index 00000000..56716e2c --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/LowerBoundedScopeImpl.java @@ -0,0 +1,164 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage.impl; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +import org.eclipse.viatra.solver.language.solverLanguage.LowerBoundedScope; +import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; + +/** + * + * An implementation of the model object 'Lower Bounded Scope'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.LowerBoundedScopeImpl#getLowerBound Lower Bound}
    • + *
    + * + * @generated + */ +public class LowerBoundedScopeImpl extends ScopeDeclarationImpl implements LowerBoundedScope { + /** + * The default value of the '{@link #getLowerBound() Lower Bound}' attribute. + * + * + * @see #getLowerBound() + * @generated + * @ordered + */ + protected static final int LOWER_BOUND_EDEFAULT = 0; + + /** + * The cached value of the '{@link #getLowerBound() Lower Bound}' attribute. + * + * + * @see #getLowerBound() + * @generated + * @ordered + */ + protected int lowerBound = LOWER_BOUND_EDEFAULT; + + /** + * + * + * @generated + */ + protected LowerBoundedScopeImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return SolverLanguagePackage.Literals.LOWER_BOUNDED_SCOPE; + } + + /** + * + * + * @generated + */ + public int getLowerBound() { + return lowerBound; + } + + /** + * + * + * @generated + */ + public void setLowerBound(int newLowerBound) { + int oldLowerBound = lowerBound; + lowerBound = newLowerBound; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, + SolverLanguagePackage.LOWER_BOUNDED_SCOPE__LOWER_BOUND, oldLowerBound, lowerBound)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case SolverLanguagePackage.LOWER_BOUNDED_SCOPE__LOWER_BOUND: + return getLowerBound(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case SolverLanguagePackage.LOWER_BOUNDED_SCOPE__LOWER_BOUND: + setLowerBound((Integer) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case SolverLanguagePackage.LOWER_BOUNDED_SCOPE__LOWER_BOUND: + setLowerBound(LOWER_BOUND_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case SolverLanguagePackage.LOWER_BOUNDED_SCOPE__LOWER_BOUND: + return lowerBound != LOWER_BOUND_EDEFAULT; + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) + return super.toString(); + + StringBuilder result = new StringBuilder(super.toString()); + result.append(" (lowerBound: "); + result.append(lowerBound); + result.append(')'); + return result.toString(); + } + +} //LowerBoundedScopeImpl diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/MetricImpl.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/MetricImpl.java new file mode 100644 index 00000000..0dfc03a6 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/MetricImpl.java @@ -0,0 +1,37 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage.impl; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.viatra.solver.language.solverLanguage.Metric; +import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; + +/** + * + * An implementation of the model object 'Metric'. + * + * + * @generated + */ +public class MetricImpl extends FunctionImpl implements Metric { + /** + * + * + * @generated + */ + protected MetricImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return SolverLanguagePackage.Literals.METRIC; + } + +} //MetricImpl diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/MultiaryExpessionImpl.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/MultiaryExpessionImpl.java new file mode 100644 index 00000000..75d28976 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/MultiaryExpessionImpl.java @@ -0,0 +1,151 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage.impl; + +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; + +import org.eclipse.viatra.solver.language.solverLanguage.Expression; +import org.eclipse.viatra.solver.language.solverLanguage.MultiaryExpession; +import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; + +/** + * + * An implementation of the model object 'Multiary Expession'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.MultiaryExpessionImpl#getChildren Children}
    • + *
    + * + * @generated + */ +public abstract class MultiaryExpessionImpl extends ExpressionImpl implements MultiaryExpession { + /** + * The cached value of the '{@link #getChildren() Children}' containment reference list. + * + * + * @see #getChildren() + * @generated + * @ordered + */ + protected EList children; + + /** + * + * + * @generated + */ + protected MultiaryExpessionImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return SolverLanguagePackage.Literals.MULTIARY_EXPESSION; + } + + /** + * + * + * @generated + */ + public EList getChildren() { + if (children == null) { + children = new EObjectContainmentEList(Expression.class, this, + SolverLanguagePackage.MULTIARY_EXPESSION__CHILDREN); + } + return children; + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case SolverLanguagePackage.MULTIARY_EXPESSION__CHILDREN: + return ((InternalEList) getChildren()).basicRemove(otherEnd, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case SolverLanguagePackage.MULTIARY_EXPESSION__CHILDREN: + return getChildren(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case SolverLanguagePackage.MULTIARY_EXPESSION__CHILDREN: + getChildren().clear(); + getChildren().addAll((Collection) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case SolverLanguagePackage.MULTIARY_EXPESSION__CHILDREN: + getChildren().clear(); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case SolverLanguagePackage.MULTIARY_EXPESSION__CHILDREN: + return children != null && !children.isEmpty(); + } + return super.eIsSet(featureID); + } + +} //MultiaryExpessionImpl diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/MultiplicityImpl.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/MultiplicityImpl.java new file mode 100644 index 00000000..1f8c27a4 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/MultiplicityImpl.java @@ -0,0 +1,39 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage.impl; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +import org.eclipse.viatra.solver.language.solverLanguage.Multiplicity; +import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; + +/** + * + * An implementation of the model object 'Multiplicity'. + * + * + * @generated + */ +public abstract class MultiplicityImpl extends MinimalEObjectImpl.Container implements Multiplicity { + /** + * + * + * @generated + */ + protected MultiplicityImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return SolverLanguagePackage.Literals.MULTIPLICITY; + } + +} //MultiplicityImpl diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/NamespaceImportImpl.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/NamespaceImportImpl.java new file mode 100644 index 00000000..24ac11e5 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/NamespaceImportImpl.java @@ -0,0 +1,166 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage.impl; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +import org.eclipse.viatra.solver.language.solverLanguage.NamespaceImport; +import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; + +/** + * + * An implementation of the model object 'Namespace Import'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.NamespaceImportImpl#getImportedNamespace Imported Namespace}
    • + *
    + * + * @generated + */ +public class NamespaceImportImpl extends ImportImpl implements NamespaceImport { + /** + * The default value of the '{@link #getImportedNamespace() Imported Namespace}' attribute. + * + * + * @see #getImportedNamespace() + * @generated + * @ordered + */ + protected static final String IMPORTED_NAMESPACE_EDEFAULT = null; + + /** + * The cached value of the '{@link #getImportedNamespace() Imported Namespace}' attribute. + * + * + * @see #getImportedNamespace() + * @generated + * @ordered + */ + protected String importedNamespace = IMPORTED_NAMESPACE_EDEFAULT; + + /** + * + * + * @generated + */ + protected NamespaceImportImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return SolverLanguagePackage.Literals.NAMESPACE_IMPORT; + } + + /** + * + * + * @generated + */ + public String getImportedNamespace() { + return importedNamespace; + } + + /** + * + * + * @generated + */ + public void setImportedNamespace(String newImportedNamespace) { + String oldImportedNamespace = importedNamespace; + importedNamespace = newImportedNamespace; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, + SolverLanguagePackage.NAMESPACE_IMPORT__IMPORTED_NAMESPACE, oldImportedNamespace, + importedNamespace)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case SolverLanguagePackage.NAMESPACE_IMPORT__IMPORTED_NAMESPACE: + return getImportedNamespace(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case SolverLanguagePackage.NAMESPACE_IMPORT__IMPORTED_NAMESPACE: + setImportedNamespace((String) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case SolverLanguagePackage.NAMESPACE_IMPORT__IMPORTED_NAMESPACE: + setImportedNamespace(IMPORTED_NAMESPACE_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case SolverLanguagePackage.NAMESPACE_IMPORT__IMPORTED_NAMESPACE: + return IMPORTED_NAMESPACE_EDEFAULT == null ? importedNamespace != null + : !IMPORTED_NAMESPACE_EDEFAULT.equals(importedNamespace); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) + return super.toString(); + + StringBuilder result = new StringBuilder(super.toString()); + result.append(" (importedNamespace: "); + result.append(importedNamespace); + result.append(')'); + return result.toString(); + } + +} //NamespaceImportImpl diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/NodeImpl.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/NodeImpl.java new file mode 100644 index 00000000..7307fada --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/NodeImpl.java @@ -0,0 +1,163 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage.impl; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +import org.eclipse.viatra.solver.language.solverLanguage.Node; +import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; + +/** + * + * An implementation of the model object 'Node'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.NodeImpl#isNamed Named}
    • + *
    + * + * @generated + */ +public class NodeImpl extends SymbolImpl implements Node { + /** + * The default value of the '{@link #isNamed() Named}' attribute. + * + * + * @see #isNamed() + * @generated + * @ordered + */ + protected static final boolean NAMED_EDEFAULT = false; + + /** + * The cached value of the '{@link #isNamed() Named}' attribute. + * + * + * @see #isNamed() + * @generated + * @ordered + */ + protected boolean named = NAMED_EDEFAULT; + + /** + * + * + * @generated + */ + protected NodeImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return SolverLanguagePackage.Literals.NODE; + } + + /** + * + * + * @generated + */ + public boolean isNamed() { + return named; + } + + /** + * + * + * @generated + */ + public void setNamed(boolean newNamed) { + boolean oldNamed = named; + named = newNamed; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.NODE__NAMED, oldNamed, named)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case SolverLanguagePackage.NODE__NAMED: + return isNamed(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case SolverLanguagePackage.NODE__NAMED: + setNamed((Boolean) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case SolverLanguagePackage.NODE__NAMED: + setNamed(NAMED_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case SolverLanguagePackage.NODE__NAMED: + return named != NAMED_EDEFAULT; + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) + return super.toString(); + + StringBuilder result = new StringBuilder(super.toString()); + result.append(" (named: "); + result.append(named); + result.append(')'); + return result.toString(); + } + +} //NodeImpl diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ObjectiveDeclarationImpl.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ObjectiveDeclarationImpl.java new file mode 100644 index 00000000..541c06ec --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ObjectiveDeclarationImpl.java @@ -0,0 +1,253 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage.impl; + +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.viatra.solver.language.solverLanguage.Expression; +import org.eclipse.viatra.solver.language.solverLanguage.ObjectiveDeclaration; +import org.eclipse.viatra.solver.language.solverLanguage.ObjectiveKind; +import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; + +/** + * + * An implementation of the model object 'Objective Declaration'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.ObjectiveDeclarationImpl#getKind Kind}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.ObjectiveDeclarationImpl#getObjective Objective}
    • + *
    + * + * @generated + */ +public class ObjectiveDeclarationImpl extends StatementImpl implements ObjectiveDeclaration { + /** + * The default value of the '{@link #getKind() Kind}' attribute. + * + * + * @see #getKind() + * @generated + * @ordered + */ + protected static final ObjectiveKind KIND_EDEFAULT = ObjectiveKind.MINIMIZATION; + + /** + * The cached value of the '{@link #getKind() Kind}' attribute. + * + * + * @see #getKind() + * @generated + * @ordered + */ + protected ObjectiveKind kind = KIND_EDEFAULT; + + /** + * The cached value of the '{@link #getObjective() Objective}' containment reference. + * + * + * @see #getObjective() + * @generated + * @ordered + */ + protected Expression objective; + + /** + * + * + * @generated + */ + protected ObjectiveDeclarationImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return SolverLanguagePackage.Literals.OBJECTIVE_DECLARATION; + } + + /** + * + * + * @generated + */ + public ObjectiveKind getKind() { + return kind; + } + + /** + * + * + * @generated + */ + public void setKind(ObjectiveKind newKind) { + ObjectiveKind oldKind = kind; + kind = newKind == null ? KIND_EDEFAULT : newKind; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.OBJECTIVE_DECLARATION__KIND, + oldKind, kind)); + } + + /** + * + * + * @generated + */ + public Expression getObjective() { + return objective; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetObjective(Expression newObjective, NotificationChain msgs) { + Expression oldObjective = objective; + objective = newObjective; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, + SolverLanguagePackage.OBJECTIVE_DECLARATION__OBJECTIVE, oldObjective, newObjective); + if (msgs == null) + msgs = notification; + else + msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + public void setObjective(Expression newObjective) { + if (newObjective != objective) { + NotificationChain msgs = null; + if (objective != null) + msgs = ((InternalEObject) objective).eInverseRemove(this, + EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.OBJECTIVE_DECLARATION__OBJECTIVE, null, msgs); + if (newObjective != null) + msgs = ((InternalEObject) newObjective).eInverseAdd(this, + EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.OBJECTIVE_DECLARATION__OBJECTIVE, null, msgs); + msgs = basicSetObjective(newObjective, msgs); + if (msgs != null) + msgs.dispatch(); + } else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, + SolverLanguagePackage.OBJECTIVE_DECLARATION__OBJECTIVE, newObjective, newObjective)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case SolverLanguagePackage.OBJECTIVE_DECLARATION__OBJECTIVE: + return basicSetObjective(null, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case SolverLanguagePackage.OBJECTIVE_DECLARATION__KIND: + return getKind(); + case SolverLanguagePackage.OBJECTIVE_DECLARATION__OBJECTIVE: + return getObjective(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case SolverLanguagePackage.OBJECTIVE_DECLARATION__KIND: + setKind((ObjectiveKind) newValue); + return; + case SolverLanguagePackage.OBJECTIVE_DECLARATION__OBJECTIVE: + setObjective((Expression) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case SolverLanguagePackage.OBJECTIVE_DECLARATION__KIND: + setKind(KIND_EDEFAULT); + return; + case SolverLanguagePackage.OBJECTIVE_DECLARATION__OBJECTIVE: + setObjective((Expression) null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case SolverLanguagePackage.OBJECTIVE_DECLARATION__KIND: + return kind != KIND_EDEFAULT; + case SolverLanguagePackage.OBJECTIVE_DECLARATION__OBJECTIVE: + return objective != null; + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) + return super.toString(); + + StringBuilder result = new StringBuilder(super.toString()); + result.append(" (kind: "); + result.append(kind); + result.append(')'); + return result.toString(); + } + +} //ObjectiveDeclarationImpl diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/OperatorImpl.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/OperatorImpl.java new file mode 100644 index 00000000..13f190c9 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/OperatorImpl.java @@ -0,0 +1,37 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage.impl; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.viatra.solver.language.solverLanguage.Operator; +import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; + +/** + * + * An implementation of the model object 'Operator'. + * + * + * @generated + */ +public class OperatorImpl extends FunctionImpl implements Operator { + /** + * + * + * @generated + */ + protected OperatorImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return SolverLanguagePackage.Literals.OPERATOR; + } + +} //OperatorImpl diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/PathComponentImpl.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/PathComponentImpl.java new file mode 100644 index 00000000..afad504d --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/PathComponentImpl.java @@ -0,0 +1,341 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage.impl; + +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.solver.language.solverLanguage.PathComponent; +import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; +import org.eclipse.viatra.solver.language.solverLanguage.Symbol; + +/** + * + * An implementation of the model object 'Path Component'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.PathComponentImpl#getSymbol Symbol}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.PathComponentImpl#isInverse Inverse}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.PathComponentImpl#isTransitiveClosure Transitive Closure}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.PathComponentImpl#isReflexiveTransitiveClosure Reflexive Transitive Closure}
    • + *
    + * + * @generated + */ +public class PathComponentImpl extends MinimalEObjectImpl.Container implements PathComponent { + /** + * The cached value of the '{@link #getSymbol() Symbol}' reference. + * + * + * @see #getSymbol() + * @generated + * @ordered + */ + protected Symbol symbol; + + /** + * The default value of the '{@link #isInverse() Inverse}' attribute. + * + * + * @see #isInverse() + * @generated + * @ordered + */ + protected static final boolean INVERSE_EDEFAULT = false; + + /** + * The cached value of the '{@link #isInverse() Inverse}' attribute. + * + * + * @see #isInverse() + * @generated + * @ordered + */ + protected boolean inverse = INVERSE_EDEFAULT; + + /** + * The default value of the '{@link #isTransitiveClosure() Transitive Closure}' attribute. + * + * + * @see #isTransitiveClosure() + * @generated + * @ordered + */ + protected static final boolean TRANSITIVE_CLOSURE_EDEFAULT = false; + + /** + * The cached value of the '{@link #isTransitiveClosure() Transitive Closure}' attribute. + * + * + * @see #isTransitiveClosure() + * @generated + * @ordered + */ + protected boolean transitiveClosure = TRANSITIVE_CLOSURE_EDEFAULT; + + /** + * The default value of the '{@link #isReflexiveTransitiveClosure() Reflexive Transitive Closure}' attribute. + * + * + * @see #isReflexiveTransitiveClosure() + * @generated + * @ordered + */ + protected static final boolean REFLEXIVE_TRANSITIVE_CLOSURE_EDEFAULT = false; + + /** + * The cached value of the '{@link #isReflexiveTransitiveClosure() Reflexive Transitive Closure}' attribute. + * + * + * @see #isReflexiveTransitiveClosure() + * @generated + * @ordered + */ + protected boolean reflexiveTransitiveClosure = REFLEXIVE_TRANSITIVE_CLOSURE_EDEFAULT; + + /** + * + * + * @generated + */ + protected PathComponentImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return SolverLanguagePackage.Literals.PATH_COMPONENT; + } + + /** + * + * + * @generated + */ + public Symbol getSymbol() { + if (symbol != null && symbol.eIsProxy()) { + InternalEObject oldSymbol = (InternalEObject) symbol; + symbol = (Symbol) eResolveProxy(oldSymbol); + if (symbol != oldSymbol) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, + SolverLanguagePackage.PATH_COMPONENT__SYMBOL, oldSymbol, symbol)); + } + } + return symbol; + } + + /** + * + * + * @generated + */ + public Symbol basicGetSymbol() { + return symbol; + } + + /** + * + * + * @generated + */ + public void setSymbol(Symbol newSymbol) { + Symbol oldSymbol = symbol; + symbol = newSymbol; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.PATH_COMPONENT__SYMBOL, + oldSymbol, symbol)); + } + + /** + * + * + * @generated + */ + public boolean isInverse() { + return inverse; + } + + /** + * + * + * @generated + */ + public void setInverse(boolean newInverse) { + boolean oldInverse = inverse; + inverse = newInverse; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.PATH_COMPONENT__INVERSE, + oldInverse, inverse)); + } + + /** + * + * + * @generated + */ + public boolean isTransitiveClosure() { + return transitiveClosure; + } + + /** + * + * + * @generated + */ + public void setTransitiveClosure(boolean newTransitiveClosure) { + boolean oldTransitiveClosure = transitiveClosure; + transitiveClosure = newTransitiveClosure; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, + SolverLanguagePackage.PATH_COMPONENT__TRANSITIVE_CLOSURE, oldTransitiveClosure, transitiveClosure)); + } + + /** + * + * + * @generated + */ + public boolean isReflexiveTransitiveClosure() { + return reflexiveTransitiveClosure; + } + + /** + * + * + * @generated + */ + public void setReflexiveTransitiveClosure(boolean newReflexiveTransitiveClosure) { + boolean oldReflexiveTransitiveClosure = reflexiveTransitiveClosure; + reflexiveTransitiveClosure = newReflexiveTransitiveClosure; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, + SolverLanguagePackage.PATH_COMPONENT__REFLEXIVE_TRANSITIVE_CLOSURE, oldReflexiveTransitiveClosure, + reflexiveTransitiveClosure)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case SolverLanguagePackage.PATH_COMPONENT__SYMBOL: + if (resolve) + return getSymbol(); + return basicGetSymbol(); + case SolverLanguagePackage.PATH_COMPONENT__INVERSE: + return isInverse(); + case SolverLanguagePackage.PATH_COMPONENT__TRANSITIVE_CLOSURE: + return isTransitiveClosure(); + case SolverLanguagePackage.PATH_COMPONENT__REFLEXIVE_TRANSITIVE_CLOSURE: + return isReflexiveTransitiveClosure(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case SolverLanguagePackage.PATH_COMPONENT__SYMBOL: + setSymbol((Symbol) newValue); + return; + case SolverLanguagePackage.PATH_COMPONENT__INVERSE: + setInverse((Boolean) newValue); + return; + case SolverLanguagePackage.PATH_COMPONENT__TRANSITIVE_CLOSURE: + setTransitiveClosure((Boolean) newValue); + return; + case SolverLanguagePackage.PATH_COMPONENT__REFLEXIVE_TRANSITIVE_CLOSURE: + setReflexiveTransitiveClosure((Boolean) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case SolverLanguagePackage.PATH_COMPONENT__SYMBOL: + setSymbol((Symbol) null); + return; + case SolverLanguagePackage.PATH_COMPONENT__INVERSE: + setInverse(INVERSE_EDEFAULT); + return; + case SolverLanguagePackage.PATH_COMPONENT__TRANSITIVE_CLOSURE: + setTransitiveClosure(TRANSITIVE_CLOSURE_EDEFAULT); + return; + case SolverLanguagePackage.PATH_COMPONENT__REFLEXIVE_TRANSITIVE_CLOSURE: + setReflexiveTransitiveClosure(REFLEXIVE_TRANSITIVE_CLOSURE_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case SolverLanguagePackage.PATH_COMPONENT__SYMBOL: + return symbol != null; + case SolverLanguagePackage.PATH_COMPONENT__INVERSE: + return inverse != INVERSE_EDEFAULT; + case SolverLanguagePackage.PATH_COMPONENT__TRANSITIVE_CLOSURE: + return transitiveClosure != TRANSITIVE_CLOSURE_EDEFAULT; + case SolverLanguagePackage.PATH_COMPONENT__REFLEXIVE_TRANSITIVE_CLOSURE: + return reflexiveTransitiveClosure != REFLEXIVE_TRANSITIVE_CLOSURE_EDEFAULT; + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) + return super.toString(); + + StringBuilder result = new StringBuilder(super.toString()); + result.append(" (inverse: "); + result.append(inverse); + result.append(", transitiveClosure: "); + result.append(transitiveClosure); + result.append(", reflexiveTransitiveClosure: "); + result.append(reflexiveTransitiveClosure); + result.append(')'); + return result.toString(); + } + +} //PathComponentImpl diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/PredicateDefinitionImpl.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/PredicateDefinitionImpl.java new file mode 100644 index 00000000..c6afa7f5 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/PredicateDefinitionImpl.java @@ -0,0 +1,260 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage.impl; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +import org.eclipse.viatra.solver.language.solverLanguage.InlinePredicateAttrributes; +import org.eclipse.viatra.solver.language.solverLanguage.PredicateDefinition; +import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; + +/** + * + * An implementation of the model object 'Predicate Definition'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.PredicateDefinitionImpl#isError Error}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.PredicateDefinitionImpl#isFunctional Functional}
    • + *
    + * + * @generated + */ +public class PredicateDefinitionImpl extends FunctorDefinitonImpl implements PredicateDefinition { + /** + * The default value of the '{@link #isError() Error}' attribute. + * + * + * @see #isError() + * @generated + * @ordered + */ + protected static final boolean ERROR_EDEFAULT = false; + + /** + * The cached value of the '{@link #isError() Error}' attribute. + * + * + * @see #isError() + * @generated + * @ordered + */ + protected boolean error = ERROR_EDEFAULT; + + /** + * The default value of the '{@link #isFunctional() Functional}' attribute. + * + * + * @see #isFunctional() + * @generated + * @ordered + */ + protected static final boolean FUNCTIONAL_EDEFAULT = false; + + /** + * The cached value of the '{@link #isFunctional() Functional}' attribute. + * + * + * @see #isFunctional() + * @generated + * @ordered + */ + protected boolean functional = FUNCTIONAL_EDEFAULT; + + /** + * + * + * @generated + */ + protected PredicateDefinitionImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return SolverLanguagePackage.Literals.PREDICATE_DEFINITION; + } + + /** + * + * + * @generated + */ + public boolean isError() { + return error; + } + + /** + * + * + * @generated + */ + public void setError(boolean newError) { + boolean oldError = error; + error = newError; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.PREDICATE_DEFINITION__ERROR, + oldError, error)); + } + + /** + * + * + * @generated + */ + public boolean isFunctional() { + return functional; + } + + /** + * + * + * @generated + */ + public void setFunctional(boolean newFunctional) { + boolean oldFunctional = functional; + functional = newFunctional; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, + SolverLanguagePackage.PREDICATE_DEFINITION__FUNCTIONAL, oldFunctional, functional)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case SolverLanguagePackage.PREDICATE_DEFINITION__ERROR: + return isError(); + case SolverLanguagePackage.PREDICATE_DEFINITION__FUNCTIONAL: + return isFunctional(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case SolverLanguagePackage.PREDICATE_DEFINITION__ERROR: + setError((Boolean) newValue); + return; + case SolverLanguagePackage.PREDICATE_DEFINITION__FUNCTIONAL: + setFunctional((Boolean) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case SolverLanguagePackage.PREDICATE_DEFINITION__ERROR: + setError(ERROR_EDEFAULT); + return; + case SolverLanguagePackage.PREDICATE_DEFINITION__FUNCTIONAL: + setFunctional(FUNCTIONAL_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case SolverLanguagePackage.PREDICATE_DEFINITION__ERROR: + return error != ERROR_EDEFAULT; + case SolverLanguagePackage.PREDICATE_DEFINITION__FUNCTIONAL: + return functional != FUNCTIONAL_EDEFAULT; + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public int eBaseStructuralFeatureID(int derivedFeatureID, Class baseClass) { + if (baseClass == InlinePredicateAttrributes.class) { + switch (derivedFeatureID) { + case SolverLanguagePackage.PREDICATE_DEFINITION__ERROR: + return SolverLanguagePackage.INLINE_PREDICATE_ATTRRIBUTES__ERROR; + case SolverLanguagePackage.PREDICATE_DEFINITION__FUNCTIONAL: + return SolverLanguagePackage.INLINE_PREDICATE_ATTRRIBUTES__FUNCTIONAL; + default: + return -1; + } + } + return super.eBaseStructuralFeatureID(derivedFeatureID, baseClass); + } + + /** + * + * + * @generated + */ + @Override + public int eDerivedStructuralFeatureID(int baseFeatureID, Class baseClass) { + if (baseClass == InlinePredicateAttrributes.class) { + switch (baseFeatureID) { + case SolverLanguagePackage.INLINE_PREDICATE_ATTRRIBUTES__ERROR: + return SolverLanguagePackage.PREDICATE_DEFINITION__ERROR; + case SolverLanguagePackage.INLINE_PREDICATE_ATTRRIBUTES__FUNCTIONAL: + return SolverLanguagePackage.PREDICATE_DEFINITION__FUNCTIONAL; + default: + return -1; + } + } + return super.eDerivedStructuralFeatureID(baseFeatureID, baseClass); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) + return super.toString(); + + StringBuilder result = new StringBuilder(super.toString()); + result.append(" (error: "); + result.append(error); + result.append(", functional: "); + result.append(functional); + result.append(')'); + return result.toString(); + } + +} //PredicateDefinitionImpl diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/PredicateImpl.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/PredicateImpl.java new file mode 100644 index 00000000..316217af --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/PredicateImpl.java @@ -0,0 +1,37 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage.impl; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.viatra.solver.language.solverLanguage.Predicate; +import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; + +/** + * + * An implementation of the model object 'Predicate'. + * + * + * @generated + */ +public class PredicateImpl extends RelationImpl implements Predicate { + /** + * + * + * @generated + */ + protected PredicateImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return SolverLanguagePackage.Literals.PREDICATE; + } + +} //PredicateImpl diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ProblemImpl.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ProblemImpl.java new file mode 100644 index 00000000..08cec167 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ProblemImpl.java @@ -0,0 +1,298 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage.impl; + +import java.util.Collection; + +import org.eclipse.emf.common.notify.Notification; +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.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +import org.eclipse.emf.ecore.util.EObjectContainmentEList; +import org.eclipse.emf.ecore.util.InternalEList; + +import org.eclipse.viatra.solver.language.solverLanguage.Import; +import org.eclipse.viatra.solver.language.solverLanguage.Problem; +import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; +import org.eclipse.viatra.solver.language.solverLanguage.Statement; +import org.eclipse.viatra.solver.language.solverLanguage.Symbol; + +/** + * + * An implementation of the model object 'Problem'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.ProblemImpl#getName Name}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.ProblemImpl#getStatements Statements}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.ProblemImpl#getSymbols Symbols}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.ProblemImpl#getImports Imports}
    • + *
    + * + * @generated + */ +public class ProblemImpl extends MinimalEObjectImpl.Container implements Problem { + /** + * The default value of the '{@link #getName() Name}' attribute. + * + * + * @see #getName() + * @generated + * @ordered + */ + protected static final String NAME_EDEFAULT = null; + + /** + * The cached value of the '{@link #getName() Name}' attribute. + * + * + * @see #getName() + * @generated + * @ordered + */ + protected String name = NAME_EDEFAULT; + + /** + * The cached value of the '{@link #getStatements() Statements}' containment reference list. + * + * + * @see #getStatements() + * @generated + * @ordered + */ + protected EList statements; + + /** + * The cached value of the '{@link #getSymbols() Symbols}' containment reference list. + * + * + * @see #getSymbols() + * @generated + * @ordered + */ + protected EList symbols; + + /** + * The cached value of the '{@link #getImports() Imports}' containment reference list. + * + * + * @see #getImports() + * @generated + * @ordered + */ + protected EList imports; + + /** + * + * + * @generated + */ + protected ProblemImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return SolverLanguagePackage.Literals.PROBLEM; + } + + /** + * + * + * @generated + */ + public String getName() { + return name; + } + + /** + * + * + * @generated + */ + public void setName(String newName) { + String oldName = name; + name = newName; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.PROBLEM__NAME, oldName, name)); + } + + /** + * + * + * @generated + */ + public EList getStatements() { + if (statements == null) { + statements = new EObjectContainmentEList(Statement.class, this, + SolverLanguagePackage.PROBLEM__STATEMENTS); + } + return statements; + } + + /** + * + * + * @generated + */ + public EList getSymbols() { + if (symbols == null) { + symbols = new EObjectContainmentEList(Symbol.class, this, SolverLanguagePackage.PROBLEM__SYMBOLS); + } + return symbols; + } + + /** + * + * + * @generated + */ + public EList getImports() { + if (imports == null) { + imports = new EObjectContainmentEList(Import.class, this, SolverLanguagePackage.PROBLEM__IMPORTS); + } + return imports; + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case SolverLanguagePackage.PROBLEM__STATEMENTS: + return ((InternalEList) getStatements()).basicRemove(otherEnd, msgs); + case SolverLanguagePackage.PROBLEM__SYMBOLS: + return ((InternalEList) getSymbols()).basicRemove(otherEnd, msgs); + case SolverLanguagePackage.PROBLEM__IMPORTS: + return ((InternalEList) getImports()).basicRemove(otherEnd, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case SolverLanguagePackage.PROBLEM__NAME: + return getName(); + case SolverLanguagePackage.PROBLEM__STATEMENTS: + return getStatements(); + case SolverLanguagePackage.PROBLEM__SYMBOLS: + return getSymbols(); + case SolverLanguagePackage.PROBLEM__IMPORTS: + return getImports(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case SolverLanguagePackage.PROBLEM__NAME: + setName((String) newValue); + return; + case SolverLanguagePackage.PROBLEM__STATEMENTS: + getStatements().clear(); + getStatements().addAll((Collection) newValue); + return; + case SolverLanguagePackage.PROBLEM__SYMBOLS: + getSymbols().clear(); + getSymbols().addAll((Collection) newValue); + return; + case SolverLanguagePackage.PROBLEM__IMPORTS: + getImports().clear(); + getImports().addAll((Collection) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case SolverLanguagePackage.PROBLEM__NAME: + setName(NAME_EDEFAULT); + return; + case SolverLanguagePackage.PROBLEM__STATEMENTS: + getStatements().clear(); + return; + case SolverLanguagePackage.PROBLEM__SYMBOLS: + getSymbols().clear(); + return; + case SolverLanguagePackage.PROBLEM__IMPORTS: + getImports().clear(); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case SolverLanguagePackage.PROBLEM__NAME: + return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); + case SolverLanguagePackage.PROBLEM__STATEMENTS: + return statements != null && !statements.isEmpty(); + case SolverLanguagePackage.PROBLEM__SYMBOLS: + return symbols != null && !symbols.isEmpty(); + case SolverLanguagePackage.PROBLEM__IMPORTS: + return imports != null && !imports.isEmpty(); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) + return super.toString(); + + StringBuilder result = new StringBuilder(super.toString()); + result.append(" (name: "); + result.append(name); + result.append(')'); + return result.toString(); + } + +} //ProblemImpl diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/RealLiteralImpl.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/RealLiteralImpl.java new file mode 100644 index 00000000..7ab526b6 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/RealLiteralImpl.java @@ -0,0 +1,166 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage.impl; + +import java.math.BigDecimal; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +import org.eclipse.viatra.solver.language.solverLanguage.RealLiteral; +import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; + +/** + * + * An implementation of the model object 'Real Literal'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.RealLiteralImpl#getValue Value}
    • + *
    + * + * @generated + */ +public class RealLiteralImpl extends LiteralImpl implements RealLiteral { + /** + * The default value of the '{@link #getValue() Value}' attribute. + * + * + * @see #getValue() + * @generated + * @ordered + */ + protected static final BigDecimal VALUE_EDEFAULT = null; + + /** + * The cached value of the '{@link #getValue() Value}' attribute. + * + * + * @see #getValue() + * @generated + * @ordered + */ + protected BigDecimal value = VALUE_EDEFAULT; + + /** + * + * + * @generated + */ + protected RealLiteralImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return SolverLanguagePackage.Literals.REAL_LITERAL; + } + + /** + * + * + * @generated + */ + public BigDecimal getValue() { + return value; + } + + /** + * + * + * @generated + */ + public void setValue(BigDecimal newValue) { + BigDecimal oldValue = value; + value = newValue; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.REAL_LITERAL__VALUE, oldValue, + value)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case SolverLanguagePackage.REAL_LITERAL__VALUE: + return getValue(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case SolverLanguagePackage.REAL_LITERAL__VALUE: + setValue((BigDecimal) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case SolverLanguagePackage.REAL_LITERAL__VALUE: + setValue(VALUE_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case SolverLanguagePackage.REAL_LITERAL__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(); + + StringBuilder result = new StringBuilder(super.toString()); + result.append(" (value: "); + result.append(value); + result.append(')'); + return result.toString(); + } + +} //RealLiteralImpl diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ReferenceImpl.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ReferenceImpl.java new file mode 100644 index 00000000..6224f3aa --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ReferenceImpl.java @@ -0,0 +1,151 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage.impl; + +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; + +import org.eclipse.viatra.solver.language.solverLanguage.PathComponent; +import org.eclipse.viatra.solver.language.solverLanguage.Reference; +import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; + +/** + * + * An implementation of the model object 'Reference'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.ReferenceImpl#getComponents Components}
    • + *
    + * + * @generated + */ +public class ReferenceImpl extends ExpressionImpl implements Reference { + /** + * The cached value of the '{@link #getComponents() Components}' containment reference list. + * + * + * @see #getComponents() + * @generated + * @ordered + */ + protected EList components; + + /** + * + * + * @generated + */ + protected ReferenceImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return SolverLanguagePackage.Literals.REFERENCE; + } + + /** + * + * + * @generated + */ + public EList getComponents() { + if (components == null) { + components = new EObjectContainmentEList(PathComponent.class, this, + SolverLanguagePackage.REFERENCE__COMPONENTS); + } + return components; + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case SolverLanguagePackage.REFERENCE__COMPONENTS: + return ((InternalEList) getComponents()).basicRemove(otherEnd, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case SolverLanguagePackage.REFERENCE__COMPONENTS: + return getComponents(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case SolverLanguagePackage.REFERENCE__COMPONENTS: + getComponents().clear(); + getComponents().addAll((Collection) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case SolverLanguagePackage.REFERENCE__COMPONENTS: + getComponents().clear(); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case SolverLanguagePackage.REFERENCE__COMPONENTS: + return components != null && !components.isEmpty(); + } + return super.eIsSet(featureID); + } + +} //ReferenceImpl diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/RelationImpl.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/RelationImpl.java new file mode 100644 index 00000000..9c612858 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/RelationImpl.java @@ -0,0 +1,37 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage.impl; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.viatra.solver.language.solverLanguage.Relation; +import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; + +/** + * + * An implementation of the model object 'Relation'. + * + * + * @generated + */ +public abstract class RelationImpl extends FunctorImpl implements Relation { + /** + * + * + * @generated + */ + protected RelationImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return SolverLanguagePackage.Literals.RELATION; + } + +} //RelationImpl diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ScopeDeclarationImpl.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ScopeDeclarationImpl.java new file mode 100644 index 00000000..31c2fa9f --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ScopeDeclarationImpl.java @@ -0,0 +1,159 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage.impl; + +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.solver.language.solverLanguage.ScopeDeclaration; +import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; +import org.eclipse.viatra.solver.language.solverLanguage.Symbol; + +/** + * + * An implementation of the model object 'Scope Declaration'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.ScopeDeclarationImpl#getType Type}
    • + *
    + * + * @generated + */ +public class ScopeDeclarationImpl extends StatementImpl implements ScopeDeclaration { + /** + * The cached value of the '{@link #getType() Type}' reference. + * + * + * @see #getType() + * @generated + * @ordered + */ + protected Symbol type; + + /** + * + * + * @generated + */ + protected ScopeDeclarationImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return SolverLanguagePackage.Literals.SCOPE_DECLARATION; + } + + /** + * + * + * @generated + */ + public Symbol getType() { + if (type != null && type.eIsProxy()) { + InternalEObject oldType = (InternalEObject) type; + type = (Symbol) eResolveProxy(oldType); + if (type != oldType) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, + SolverLanguagePackage.SCOPE_DECLARATION__TYPE, oldType, type)); + } + } + return type; + } + + /** + * + * + * @generated + */ + public Symbol basicGetType() { + return type; + } + + /** + * + * + * @generated + */ + public void setType(Symbol newType) { + Symbol oldType = type; + type = newType; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.SCOPE_DECLARATION__TYPE, + oldType, type)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case SolverLanguagePackage.SCOPE_DECLARATION__TYPE: + if (resolve) + return getType(); + return basicGetType(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case SolverLanguagePackage.SCOPE_DECLARATION__TYPE: + setType((Symbol) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case SolverLanguagePackage.SCOPE_DECLARATION__TYPE: + setType((Symbol) null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case SolverLanguagePackage.SCOPE_DECLARATION__TYPE: + return type != null; + } + return super.eIsSet(featureID); + } + +} //ScopeDeclarationImpl diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/SolverLanguageFactoryImpl.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/SolverLanguageFactoryImpl.java new file mode 100644 index 00000000..96e741b9 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/SolverLanguageFactoryImpl.java @@ -0,0 +1,985 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage.impl; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EDataType; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.EPackage; + +import org.eclipse.emf.ecore.impl.EFactoryImpl; + +import org.eclipse.emf.ecore.plugin.EcorePlugin; + +import org.eclipse.viatra.solver.language.solverLanguage.*; + +/** + * + * An implementation of the model Factory. + * + * @generated + */ +public class SolverLanguageFactoryImpl extends EFactoryImpl implements SolverLanguageFactory { + /** + * Creates the default factory implementation. + * + * + * @generated + */ + public static SolverLanguageFactory init() { + try { + SolverLanguageFactory theSolverLanguageFactory = (SolverLanguageFactory) EPackage.Registry.INSTANCE + .getEFactory(SolverLanguagePackage.eNS_URI); + if (theSolverLanguageFactory != null) { + return theSolverLanguageFactory; + } + } catch (Exception exception) { + EcorePlugin.INSTANCE.log(exception); + } + return new SolverLanguageFactoryImpl(); + } + + /** + * Creates an instance of the factory. + * + * + * @generated + */ + public SolverLanguageFactoryImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + public EObject create(EClass eClass) { + switch (eClass.getClassifierID()) { + case SolverLanguagePackage.PATH_COMPONENT: + return createPathComponent(); + case SolverLanguagePackage.CALL: + return createCall(); + case SolverLanguagePackage.REFERENCE: + return createReference(); + case SolverLanguagePackage.ARGUMENT_LIST: + return createArgumentList(); + case SolverLanguagePackage.EXPRESSION_ARGUMENT: + return createExpressionArgument(); + case SolverLanguagePackage.STAR_ARGUMENT: + return createStarArgument(); + case SolverLanguagePackage.VARIABLE: + return createVariable(); + case SolverLanguagePackage.UNARY_EXPRESSION: + return createUnaryExpression(); + case SolverLanguagePackage.BINARY_EXPRESSION: + return createBinaryExpression(); + case SolverLanguagePackage.DISJUNCTION: + return createDisjunction(); + case SolverLanguagePackage.CONJUNCTION: + return createConjunction(); + case SolverLanguagePackage.CONDITIONAL_EXPRESSION: + return createConditionalExpression(); + case SolverLanguagePackage.SWITCH: + return createSwitch(); + case SolverLanguagePackage.CASE: + return createCase(); + case SolverLanguagePackage.LET_EXPRESSION: + return createLetExpression(); + case SolverLanguagePackage.LET_BINDING: + return createLetBinding(); + case SolverLanguagePackage.INT_LITERAL: + return createIntLiteral(); + case SolverLanguagePackage.REAL_LITERAL: + return createRealLiteral(); + case SolverLanguagePackage.STRING_LITERAL: + return createStringLiteral(); + case SolverLanguagePackage.LOGIC_LITERAL: + return createLogicLiteral(); + case SolverLanguagePackage.EMPTY_LITERAL: + return createEmptyLiteral(); + case SolverLanguagePackage.CAST_EXPRESSION: + return createCastExpression(); + case SolverLanguagePackage.COUNT: + return createCount(); + case SolverLanguagePackage.AGGREGATION: + return createAggregation(); + case SolverLanguagePackage.FORALL: + return createForall(); + case SolverLanguagePackage.TYPE_REFERENCE: + return createTypeReference(); + case SolverLanguagePackage.INFINITY_LITERAL: + return createInfinityLiteral(); + case SolverLanguagePackage.INTERVAL: + return createInterval(); + case SolverLanguagePackage.BASE_RELATION: + return createBaseRelation(); + case SolverLanguagePackage.PREDICATE: + return createPredicate(); + case SolverLanguagePackage.DATATYPE: + return createDatatype(); + case SolverLanguagePackage.METRIC: + return createMetric(); + case SolverLanguagePackage.OPERATOR: + return createOperator(); + case SolverLanguagePackage.NODE: + return createNode(); + case SolverLanguagePackage.PREDICATE_DEFINITION: + return createPredicateDefinition(); + case SolverLanguagePackage.FUNCTION_DEFINITION: + return createFunctionDefinition(); + case SolverLanguagePackage.EXTERN_PREDICATE_DECLARATION: + return createExternPredicateDeclaration(); + case SolverLanguagePackage.EXTERN_FUNCTION_DECLARATION: + return createExternFunctionDeclaration(); + case SolverLanguagePackage.EXTERN_AGGREGATION_OPERATOR_DECLARATION: + return createExternAggregationOperatorDeclaration(); + case SolverLanguagePackage.EXTERN_DATATYPE_DECLARATION: + return createExternDatatypeDeclaration(); + case SolverLanguagePackage.CLASS_DECLARATION: + return createClassDeclaration(); + case SolverLanguagePackage.ENUM_DECLARATION: + return createEnumDeclaration(); + case SolverLanguagePackage.ENUM_LITERAL: + return createEnumLiteral(); + case SolverLanguagePackage.FIELD: + return createField(); + case SolverLanguagePackage.DEFAULT_ASSERTION: + return createDefaultAssertion(); + case SolverLanguagePackage.ASSERTION: + return createAssertion(); + case SolverLanguagePackage.UNBOUNDED_MULTIPLICITY: + return createUnboundedMultiplicity(); + case SolverLanguagePackage.EXACT_MULTIPLICITY: + return createExactMultiplicity(); + case SolverLanguagePackage.BOUNDED_MULTIPLICITY: + return createBoundedMultiplicity(); + case SolverLanguagePackage.AGGREGATION_OPERATOR: + return createAggregationOperator(); + case SolverLanguagePackage.PROBLEM: + return createProblem(); + case SolverLanguagePackage.TYPED_STAR_ARGUMENT: + return createTypedStarArgument(); + case SolverLanguagePackage.TYPED_VARIABLE_ARGUMENT: + return createTypedVariableArgument(); + case SolverLanguagePackage.UNNAMED_ERROR_PREDICATE_DEFINTION: + return createUnnamedErrorPredicateDefintion(); + case SolverLanguagePackage.OBJECTIVE_DECLARATION: + return createObjectiveDeclaration(); + case SolverLanguagePackage.SCOPE_DECLARATION: + return createScopeDeclaration(); + case SolverLanguagePackage.EXACT_SCOPE: + return createExactScope(); + case SolverLanguagePackage.BOUNDED_SCOPE: + return createBoundedScope(); + case SolverLanguagePackage.LOWER_BOUNDED_SCOPE: + return createLowerBoundedScope(); + case SolverLanguagePackage.NAMESPACE_IMPORT: + return createNamespaceImport(); + case SolverLanguagePackage.IMPORT: + return createImport(); + case SolverLanguagePackage.URI_IMPORT: + return createUriImport(); + default: + throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); + } + } + + /** + * + * + * @generated + */ + @Override + public Object createFromString(EDataType eDataType, String initialValue) { + switch (eDataType.getClassifierID()) { + case SolverLanguagePackage.UNARY_OPERATOR: + return createUnaryOperatorFromString(eDataType, initialValue); + case SolverLanguagePackage.BINARY_OPERATOR: + return createBinaryOperatorFromString(eDataType, initialValue); + case SolverLanguagePackage.LOGIC_VALUE: + return createLogicValueFromString(eDataType, initialValue); + case SolverLanguagePackage.OBJECTIVE_KIND: + return createObjectiveKindFromString(eDataType, initialValue); + case SolverLanguagePackage.ATTRIBUTE_KIND: + return createAttributeKindFromString(eDataType, initialValue); + default: + throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); + } + } + + /** + * + * + * @generated + */ + @Override + public String convertToString(EDataType eDataType, Object instanceValue) { + switch (eDataType.getClassifierID()) { + case SolverLanguagePackage.UNARY_OPERATOR: + return convertUnaryOperatorToString(eDataType, instanceValue); + case SolverLanguagePackage.BINARY_OPERATOR: + return convertBinaryOperatorToString(eDataType, instanceValue); + case SolverLanguagePackage.LOGIC_VALUE: + return convertLogicValueToString(eDataType, instanceValue); + case SolverLanguagePackage.OBJECTIVE_KIND: + return convertObjectiveKindToString(eDataType, instanceValue); + case SolverLanguagePackage.ATTRIBUTE_KIND: + return convertAttributeKindToString(eDataType, instanceValue); + default: + throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); + } + } + + /** + * + * + * @generated + */ + public PathComponent createPathComponent() { + PathComponentImpl pathComponent = new PathComponentImpl(); + return pathComponent; + } + + /** + * + * + * @generated + */ + public Call createCall() { + CallImpl call = new CallImpl(); + return call; + } + + /** + * + * + * @generated + */ + public Reference createReference() { + ReferenceImpl reference = new ReferenceImpl(); + return reference; + } + + /** + * + * + * @generated + */ + public ArgumentList createArgumentList() { + ArgumentListImpl argumentList = new ArgumentListImpl(); + return argumentList; + } + + /** + * + * + * @generated + */ + public ExpressionArgument createExpressionArgument() { + ExpressionArgumentImpl expressionArgument = new ExpressionArgumentImpl(); + return expressionArgument; + } + + /** + * + * + * @generated + */ + public StarArgument createStarArgument() { + StarArgumentImpl starArgument = new StarArgumentImpl(); + return starArgument; + } + + /** + * + * + * @generated + */ + public Variable createVariable() { + VariableImpl variable = new VariableImpl(); + return variable; + } + + /** + * + * + * @generated + */ + public UnaryExpression createUnaryExpression() { + UnaryExpressionImpl unaryExpression = new UnaryExpressionImpl(); + return unaryExpression; + } + + /** + * + * + * @generated + */ + public BinaryExpression createBinaryExpression() { + BinaryExpressionImpl binaryExpression = new BinaryExpressionImpl(); + return binaryExpression; + } + + /** + * + * + * @generated + */ + public Disjunction createDisjunction() { + DisjunctionImpl disjunction = new DisjunctionImpl(); + return disjunction; + } + + /** + * + * + * @generated + */ + public Conjunction createConjunction() { + ConjunctionImpl conjunction = new ConjunctionImpl(); + return conjunction; + } + + /** + * + * + * @generated + */ + public ConditionalExpression createConditionalExpression() { + ConditionalExpressionImpl conditionalExpression = new ConditionalExpressionImpl(); + return conditionalExpression; + } + + /** + * + * + * @generated + */ + public Switch createSwitch() { + SwitchImpl switch_ = new SwitchImpl(); + return switch_; + } + + /** + * + * + * @generated + */ + public Case createCase() { + CaseImpl case_ = new CaseImpl(); + return case_; + } + + /** + * + * + * @generated + */ + public LetExpression createLetExpression() { + LetExpressionImpl letExpression = new LetExpressionImpl(); + return letExpression; + } + + /** + * + * + * @generated + */ + public LetBinding createLetBinding() { + LetBindingImpl letBinding = new LetBindingImpl(); + return letBinding; + } + + /** + * + * + * @generated + */ + public IntLiteral createIntLiteral() { + IntLiteralImpl intLiteral = new IntLiteralImpl(); + return intLiteral; + } + + /** + * + * + * @generated + */ + public RealLiteral createRealLiteral() { + RealLiteralImpl realLiteral = new RealLiteralImpl(); + return realLiteral; + } + + /** + * + * + * @generated + */ + public StringLiteral createStringLiteral() { + StringLiteralImpl stringLiteral = new StringLiteralImpl(); + return stringLiteral; + } + + /** + * + * + * @generated + */ + public LogicLiteral createLogicLiteral() { + LogicLiteralImpl logicLiteral = new LogicLiteralImpl(); + return logicLiteral; + } + + /** + * + * + * @generated + */ + public EmptyLiteral createEmptyLiteral() { + EmptyLiteralImpl emptyLiteral = new EmptyLiteralImpl(); + return emptyLiteral; + } + + /** + * + * + * @generated + */ + public CastExpression createCastExpression() { + CastExpressionImpl castExpression = new CastExpressionImpl(); + return castExpression; + } + + /** + * + * + * @generated + */ + public Count createCount() { + CountImpl count = new CountImpl(); + return count; + } + + /** + * + * + * @generated + */ + public Aggregation createAggregation() { + AggregationImpl aggregation = new AggregationImpl(); + return aggregation; + } + + /** + * + * + * @generated + */ + public Forall createForall() { + ForallImpl forall = new ForallImpl(); + return forall; + } + + /** + * + * + * @generated + */ + public TypeReference createTypeReference() { + TypeReferenceImpl typeReference = new TypeReferenceImpl(); + return typeReference; + } + + /** + * + * + * @generated + */ + public InfinityLiteral createInfinityLiteral() { + InfinityLiteralImpl infinityLiteral = new InfinityLiteralImpl(); + return infinityLiteral; + } + + /** + * + * + * @generated + */ + public Interval createInterval() { + IntervalImpl interval = new IntervalImpl(); + return interval; + } + + /** + * + * + * @generated + */ + public BaseRelation createBaseRelation() { + BaseRelationImpl baseRelation = new BaseRelationImpl(); + return baseRelation; + } + + /** + * + * + * @generated + */ + public Predicate createPredicate() { + PredicateImpl predicate = new PredicateImpl(); + return predicate; + } + + /** + * + * + * @generated + */ + public Datatype createDatatype() { + DatatypeImpl datatype = new DatatypeImpl(); + return datatype; + } + + /** + * + * + * @generated + */ + public Metric createMetric() { + MetricImpl metric = new MetricImpl(); + return metric; + } + + /** + * + * + * @generated + */ + public Operator createOperator() { + OperatorImpl operator = new OperatorImpl(); + return operator; + } + + /** + * + * + * @generated + */ + public Node createNode() { + NodeImpl node = new NodeImpl(); + return node; + } + + /** + * + * + * @generated + */ + public PredicateDefinition createPredicateDefinition() { + PredicateDefinitionImpl predicateDefinition = new PredicateDefinitionImpl(); + return predicateDefinition; + } + + /** + * + * + * @generated + */ + public FunctionDefinition createFunctionDefinition() { + FunctionDefinitionImpl functionDefinition = new FunctionDefinitionImpl(); + return functionDefinition; + } + + /** + * + * + * @generated + */ + public ExternPredicateDeclaration createExternPredicateDeclaration() { + ExternPredicateDeclarationImpl externPredicateDeclaration = new ExternPredicateDeclarationImpl(); + return externPredicateDeclaration; + } + + /** + * + * + * @generated + */ + public ExternFunctionDeclaration createExternFunctionDeclaration() { + ExternFunctionDeclarationImpl externFunctionDeclaration = new ExternFunctionDeclarationImpl(); + return externFunctionDeclaration; + } + + /** + * + * + * @generated + */ + public ExternAggregationOperatorDeclaration createExternAggregationOperatorDeclaration() { + ExternAggregationOperatorDeclarationImpl externAggregationOperatorDeclaration = new ExternAggregationOperatorDeclarationImpl(); + return externAggregationOperatorDeclaration; + } + + /** + * + * + * @generated + */ + public ExternDatatypeDeclaration createExternDatatypeDeclaration() { + ExternDatatypeDeclarationImpl externDatatypeDeclaration = new ExternDatatypeDeclarationImpl(); + return externDatatypeDeclaration; + } + + /** + * + * + * @generated + */ + public ClassDeclaration createClassDeclaration() { + ClassDeclarationImpl classDeclaration = new ClassDeclarationImpl(); + return classDeclaration; + } + + /** + * + * + * @generated + */ + public EnumDeclaration createEnumDeclaration() { + EnumDeclarationImpl enumDeclaration = new EnumDeclarationImpl(); + return enumDeclaration; + } + + /** + * + * + * @generated + */ + public EnumLiteral createEnumLiteral() { + EnumLiteralImpl enumLiteral = new EnumLiteralImpl(); + return enumLiteral; + } + + /** + * + * + * @generated + */ + public Field createField() { + FieldImpl field = new FieldImpl(); + return field; + } + + /** + * + * + * @generated + */ + public DefaultAssertion createDefaultAssertion() { + DefaultAssertionImpl defaultAssertion = new DefaultAssertionImpl(); + return defaultAssertion; + } + + /** + * + * + * @generated + */ + public Assertion createAssertion() { + AssertionImpl assertion = new AssertionImpl(); + return assertion; + } + + /** + * + * + * @generated + */ + public UnboundedMultiplicity createUnboundedMultiplicity() { + UnboundedMultiplicityImpl unboundedMultiplicity = new UnboundedMultiplicityImpl(); + return unboundedMultiplicity; + } + + /** + * + * + * @generated + */ + public ExactMultiplicity createExactMultiplicity() { + ExactMultiplicityImpl exactMultiplicity = new ExactMultiplicityImpl(); + return exactMultiplicity; + } + + /** + * + * + * @generated + */ + public BoundedMultiplicity createBoundedMultiplicity() { + BoundedMultiplicityImpl boundedMultiplicity = new BoundedMultiplicityImpl(); + return boundedMultiplicity; + } + + /** + * + * + * @generated + */ + public AggregationOperator createAggregationOperator() { + AggregationOperatorImpl aggregationOperator = new AggregationOperatorImpl(); + return aggregationOperator; + } + + /** + * + * + * @generated + */ + public Problem createProblem() { + ProblemImpl problem = new ProblemImpl(); + return problem; + } + + /** + * + * + * @generated + */ + public TypedStarArgument createTypedStarArgument() { + TypedStarArgumentImpl typedStarArgument = new TypedStarArgumentImpl(); + return typedStarArgument; + } + + /** + * + * + * @generated + */ + public TypedVariableArgument createTypedVariableArgument() { + TypedVariableArgumentImpl typedVariableArgument = new TypedVariableArgumentImpl(); + return typedVariableArgument; + } + + /** + * + * + * @generated + */ + public UnnamedErrorPredicateDefintion createUnnamedErrorPredicateDefintion() { + UnnamedErrorPredicateDefintionImpl unnamedErrorPredicateDefintion = new UnnamedErrorPredicateDefintionImpl(); + return unnamedErrorPredicateDefintion; + } + + /** + * + * + * @generated + */ + public ObjectiveDeclaration createObjectiveDeclaration() { + ObjectiveDeclarationImpl objectiveDeclaration = new ObjectiveDeclarationImpl(); + return objectiveDeclaration; + } + + /** + * + * + * @generated + */ + public ScopeDeclaration createScopeDeclaration() { + ScopeDeclarationImpl scopeDeclaration = new ScopeDeclarationImpl(); + return scopeDeclaration; + } + + /** + * + * + * @generated + */ + public ExactScope createExactScope() { + ExactScopeImpl exactScope = new ExactScopeImpl(); + return exactScope; + } + + /** + * + * + * @generated + */ + public BoundedScope createBoundedScope() { + BoundedScopeImpl boundedScope = new BoundedScopeImpl(); + return boundedScope; + } + + /** + * + * + * @generated + */ + public LowerBoundedScope createLowerBoundedScope() { + LowerBoundedScopeImpl lowerBoundedScope = new LowerBoundedScopeImpl(); + return lowerBoundedScope; + } + + /** + * + * + * @generated + */ + public NamespaceImport createNamespaceImport() { + NamespaceImportImpl namespaceImport = new NamespaceImportImpl(); + return namespaceImport; + } + + /** + * + * + * @generated + */ + public Import createImport() { + ImportImpl import_ = new ImportImpl(); + return import_; + } + + /** + * + * + * @generated + */ + public UriImport createUriImport() { + UriImportImpl uriImport = new UriImportImpl(); + return uriImport; + } + + /** + * + * + * @generated + */ + public UnaryOperator createUnaryOperatorFromString(EDataType eDataType, String initialValue) { + UnaryOperator result = UnaryOperator.get(initialValue); + if (result == null) + throw new IllegalArgumentException( + "The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); + return result; + } + + /** + * + * + * @generated + */ + public String convertUnaryOperatorToString(EDataType eDataType, Object instanceValue) { + return instanceValue == null ? null : instanceValue.toString(); + } + + /** + * + * + * @generated + */ + public BinaryOperator createBinaryOperatorFromString(EDataType eDataType, String initialValue) { + BinaryOperator result = BinaryOperator.get(initialValue); + if (result == null) + throw new IllegalArgumentException( + "The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); + return result; + } + + /** + * + * + * @generated + */ + public String convertBinaryOperatorToString(EDataType eDataType, Object instanceValue) { + return instanceValue == null ? null : instanceValue.toString(); + } + + /** + * + * + * @generated + */ + public LogicValue createLogicValueFromString(EDataType eDataType, String initialValue) { + LogicValue result = LogicValue.get(initialValue); + if (result == null) + throw new IllegalArgumentException( + "The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); + return result; + } + + /** + * + * + * @generated + */ + public String convertLogicValueToString(EDataType eDataType, Object instanceValue) { + return instanceValue == null ? null : instanceValue.toString(); + } + + /** + * + * + * @generated + */ + public ObjectiveKind createObjectiveKindFromString(EDataType eDataType, String initialValue) { + ObjectiveKind result = ObjectiveKind.get(initialValue); + if (result == null) + throw new IllegalArgumentException( + "The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); + return result; + } + + /** + * + * + * @generated + */ + public String convertObjectiveKindToString(EDataType eDataType, Object instanceValue) { + return instanceValue == null ? null : instanceValue.toString(); + } + + /** + * + * + * @generated + */ + public AttributeKind createAttributeKindFromString(EDataType eDataType, String initialValue) { + AttributeKind result = AttributeKind.get(initialValue); + if (result == null) + throw new IllegalArgumentException( + "The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); + return result; + } + + /** + * + * + * @generated + */ + public String convertAttributeKindToString(EDataType eDataType, Object instanceValue) { + return instanceValue == null ? null : instanceValue.toString(); + } + + /** + * + * + * @generated + */ + public SolverLanguagePackage getSolverLanguagePackage() { + return (SolverLanguagePackage) getEPackage(); + } + + /** + * + * + * @deprecated + * @generated + */ + @Deprecated + public static SolverLanguagePackage getPackage() { + return SolverLanguagePackage.eINSTANCE; + } + +} //SolverLanguageFactoryImpl diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/SolverLanguagePackageImpl.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/SolverLanguagePackageImpl.java new file mode 100644 index 00000000..52dde045 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/SolverLanguagePackageImpl.java @@ -0,0 +1,3364 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage.impl; + +import org.eclipse.emf.ecore.EAttribute; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EEnum; +import org.eclipse.emf.ecore.EPackage; +import org.eclipse.emf.ecore.EReference; + +import org.eclipse.emf.ecore.impl.EPackageImpl; + +import org.eclipse.viatra.solver.language.solverLanguage.AbstractAssertion; +import org.eclipse.viatra.solver.language.solverLanguage.AggregateExpression; +import org.eclipse.viatra.solver.language.solverLanguage.Aggregation; +import org.eclipse.viatra.solver.language.solverLanguage.AggregationOperator; +import org.eclipse.viatra.solver.language.solverLanguage.Argument; +import org.eclipse.viatra.solver.language.solverLanguage.ArgumentList; +import org.eclipse.viatra.solver.language.solverLanguage.Assertion; +import org.eclipse.viatra.solver.language.solverLanguage.Attribute; +import org.eclipse.viatra.solver.language.solverLanguage.AttributeKind; +import org.eclipse.viatra.solver.language.solverLanguage.BaseRelation; +import org.eclipse.viatra.solver.language.solverLanguage.BinaryExpression; +import org.eclipse.viatra.solver.language.solverLanguage.BinaryOperator; +import org.eclipse.viatra.solver.language.solverLanguage.BoundedMultiplicity; +import org.eclipse.viatra.solver.language.solverLanguage.BoundedScope; +import org.eclipse.viatra.solver.language.solverLanguage.Call; +import org.eclipse.viatra.solver.language.solverLanguage.Case; +import org.eclipse.viatra.solver.language.solverLanguage.CastExpression; +import org.eclipse.viatra.solver.language.solverLanguage.ClassDeclaration; +import org.eclipse.viatra.solver.language.solverLanguage.ConditionalExpression; +import org.eclipse.viatra.solver.language.solverLanguage.Conjunction; +import org.eclipse.viatra.solver.language.solverLanguage.Count; +import org.eclipse.viatra.solver.language.solverLanguage.Datatype; +import org.eclipse.viatra.solver.language.solverLanguage.DefaultAssertion; +import org.eclipse.viatra.solver.language.solverLanguage.Disjunction; +import org.eclipse.viatra.solver.language.solverLanguage.EmptyLiteral; +import org.eclipse.viatra.solver.language.solverLanguage.EnumDeclaration; +import org.eclipse.viatra.solver.language.solverLanguage.EnumLiteral; +import org.eclipse.viatra.solver.language.solverLanguage.ExactMultiplicity; +import org.eclipse.viatra.solver.language.solverLanguage.ExactScope; +import org.eclipse.viatra.solver.language.solverLanguage.Expression; +import org.eclipse.viatra.solver.language.solverLanguage.ExpressionArgument; +import org.eclipse.viatra.solver.language.solverLanguage.ExternAggregationOperatorDeclaration; +import org.eclipse.viatra.solver.language.solverLanguage.ExternDatatypeDeclaration; +import org.eclipse.viatra.solver.language.solverLanguage.ExternDeclaration; +import org.eclipse.viatra.solver.language.solverLanguage.ExternFunctionDeclaration; +import org.eclipse.viatra.solver.language.solverLanguage.ExternFunctorDeclaration; +import org.eclipse.viatra.solver.language.solverLanguage.ExternPredicateDeclaration; +import org.eclipse.viatra.solver.language.solverLanguage.Field; +import org.eclipse.viatra.solver.language.solverLanguage.Forall; +import org.eclipse.viatra.solver.language.solverLanguage.Function; +import org.eclipse.viatra.solver.language.solverLanguage.FunctionDefinition; +import org.eclipse.viatra.solver.language.solverLanguage.Functor; +import org.eclipse.viatra.solver.language.solverLanguage.FunctorDefiniton; +import org.eclipse.viatra.solver.language.solverLanguage.Import; +import org.eclipse.viatra.solver.language.solverLanguage.InfinityLiteral; +import org.eclipse.viatra.solver.language.solverLanguage.InlinePredicateAttrributes; +import org.eclipse.viatra.solver.language.solverLanguage.IntLiteral; +import org.eclipse.viatra.solver.language.solverLanguage.Interval; +import org.eclipse.viatra.solver.language.solverLanguage.LetBinding; +import org.eclipse.viatra.solver.language.solverLanguage.LetExpression; +import org.eclipse.viatra.solver.language.solverLanguage.Literal; +import org.eclipse.viatra.solver.language.solverLanguage.LogicLiteral; +import org.eclipse.viatra.solver.language.solverLanguage.LogicValue; +import org.eclipse.viatra.solver.language.solverLanguage.LowerBoundedScope; +import org.eclipse.viatra.solver.language.solverLanguage.Metric; +import org.eclipse.viatra.solver.language.solverLanguage.MultiaryExpession; +import org.eclipse.viatra.solver.language.solverLanguage.Multiplicity; +import org.eclipse.viatra.solver.language.solverLanguage.NamespaceImport; +import org.eclipse.viatra.solver.language.solverLanguage.Node; +import org.eclipse.viatra.solver.language.solverLanguage.ObjectiveDeclaration; +import org.eclipse.viatra.solver.language.solverLanguage.ObjectiveKind; +import org.eclipse.viatra.solver.language.solverLanguage.Operator; +import org.eclipse.viatra.solver.language.solverLanguage.PathComponent; +import org.eclipse.viatra.solver.language.solverLanguage.Predicate; +import org.eclipse.viatra.solver.language.solverLanguage.PredicateDefinition; +import org.eclipse.viatra.solver.language.solverLanguage.Problem; +import org.eclipse.viatra.solver.language.solverLanguage.RealLiteral; +import org.eclipse.viatra.solver.language.solverLanguage.Reference; +import org.eclipse.viatra.solver.language.solverLanguage.Relation; +import org.eclipse.viatra.solver.language.solverLanguage.ScopeDeclaration; +import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguageFactory; +import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; +import org.eclipse.viatra.solver.language.solverLanguage.StarArgument; +import org.eclipse.viatra.solver.language.solverLanguage.Statement; +import org.eclipse.viatra.solver.language.solverLanguage.StringLiteral; +import org.eclipse.viatra.solver.language.solverLanguage.Switch; +import org.eclipse.viatra.solver.language.solverLanguage.Symbol; +import org.eclipse.viatra.solver.language.solverLanguage.TypeReference; +import org.eclipse.viatra.solver.language.solverLanguage.TypedArgument; +import org.eclipse.viatra.solver.language.solverLanguage.TypedStarArgument; +import org.eclipse.viatra.solver.language.solverLanguage.TypedVariableArgument; +import org.eclipse.viatra.solver.language.solverLanguage.UnaryExpression; +import org.eclipse.viatra.solver.language.solverLanguage.UnaryOperator; +import org.eclipse.viatra.solver.language.solverLanguage.UnboundedMultiplicity; +import org.eclipse.viatra.solver.language.solverLanguage.UnnamedErrorPredicateDefintion; +import org.eclipse.viatra.solver.language.solverLanguage.UriImport; +import org.eclipse.viatra.solver.language.solverLanguage.Variable; + +/** + * + * An implementation of the model Package. + * + * @generated + */ +public class SolverLanguagePackageImpl extends EPackageImpl implements SolverLanguagePackage { + /** + * + * + * @generated + */ + private EClass pathComponentEClass = null; + + /** + * + * + * @generated + */ + private EClass symbolEClass = null; + + /** + * + * + * @generated + */ + private EClass callEClass = null; + + /** + * + * + * @generated + */ + private EClass referenceEClass = null; + + /** + * + * + * @generated + */ + private EClass expressionEClass = null; + + /** + * + * + * @generated + */ + private EClass argumentEClass = null; + + /** + * + * + * @generated + */ + private EClass argumentListEClass = null; + + /** + * + * + * @generated + */ + private EClass expressionArgumentEClass = null; + + /** + * + * + * @generated + */ + private EClass starArgumentEClass = null; + + /** + * + * + * @generated + */ + private EClass typedArgumentEClass = null; + + /** + * + * + * @generated + */ + private EClass multiaryExpessionEClass = null; + + /** + * + * + * @generated + */ + private EClass variableEClass = null; + + /** + * + * + * @generated + */ + private EClass unaryExpressionEClass = null; + + /** + * + * + * @generated + */ + private EClass binaryExpressionEClass = null; + + /** + * + * + * @generated + */ + private EClass disjunctionEClass = null; + + /** + * + * + * @generated + */ + private EClass conjunctionEClass = null; + + /** + * + * + * @generated + */ + private EClass conditionalExpressionEClass = null; + + /** + * + * + * @generated + */ + private EClass switchEClass = null; + + /** + * + * + * @generated + */ + private EClass caseEClass = null; + + /** + * + * + * @generated + */ + private EClass letExpressionEClass = null; + + /** + * + * + * @generated + */ + private EClass letBindingEClass = null; + + /** + * + * + * @generated + */ + private EClass literalEClass = null; + + /** + * + * + * @generated + */ + private EClass intLiteralEClass = null; + + /** + * + * + * @generated + */ + private EClass realLiteralEClass = null; + + /** + * + * + * @generated + */ + private EClass stringLiteralEClass = null; + + /** + * + * + * @generated + */ + private EClass logicLiteralEClass = null; + + /** + * + * + * @generated + */ + private EClass emptyLiteralEClass = null; + + /** + * + * + * @generated + */ + private EClass castExpressionEClass = null; + + /** + * + * + * @generated + */ + private EClass aggregateExpressionEClass = null; + + /** + * + * + * @generated + */ + private EClass countEClass = null; + + /** + * + * + * @generated + */ + private EClass aggregationEClass = null; + + /** + * + * + * @generated + */ + private EClass forallEClass = null; + + /** + * + * + * @generated + */ + private EClass typeReferenceEClass = null; + + /** + * + * + * @generated + */ + private EClass infinityLiteralEClass = null; + + /** + * + * + * @generated + */ + private EClass intervalEClass = null; + + /** + * + * + * @generated + */ + private EClass functorEClass = null; + + /** + * + * + * @generated + */ + private EClass relationEClass = null; + + /** + * + * + * @generated + */ + private EClass baseRelationEClass = null; + + /** + * + * + * @generated + */ + private EClass predicateEClass = null; + + /** + * + * + * @generated + */ + private EClass datatypeEClass = null; + + /** + * + * + * @generated + */ + private EClass functionEClass = null; + + /** + * + * + * @generated + */ + private EClass metricEClass = null; + + /** + * + * + * @generated + */ + private EClass operatorEClass = null; + + /** + * + * + * @generated + */ + private EClass nodeEClass = null; + + /** + * + * + * @generated + */ + private EClass statementEClass = null; + + /** + * + * + * @generated + */ + private EClass abstractAssertionEClass = null; + + /** + * + * + * @generated + */ + private EClass functorDefinitonEClass = null; + + /** + * + * + * @generated + */ + private EClass predicateDefinitionEClass = null; + + /** + * + * + * @generated + */ + private EClass functionDefinitionEClass = null; + + /** + * + * + * @generated + */ + private EClass attributeEClass = null; + + /** + * + * + * @generated + */ + private EClass externDeclarationEClass = null; + + /** + * + * + * @generated + */ + private EClass externFunctorDeclarationEClass = null; + + /** + * + * + * @generated + */ + private EClass externPredicateDeclarationEClass = null; + + /** + * + * + * @generated + */ + private EClass externFunctionDeclarationEClass = null; + + /** + * + * + * @generated + */ + private EClass externAggregationOperatorDeclarationEClass = null; + + /** + * + * + * @generated + */ + private EClass externDatatypeDeclarationEClass = null; + + /** + * + * + * @generated + */ + private EClass classDeclarationEClass = null; + + /** + * + * + * @generated + */ + private EClass enumDeclarationEClass = null; + + /** + * + * + * @generated + */ + private EClass enumLiteralEClass = null; + + /** + * + * + * @generated + */ + private EClass fieldEClass = null; + + /** + * + * + * @generated + */ + private EClass multiplicityEClass = null; + + /** + * + * + * @generated + */ + private EClass defaultAssertionEClass = null; + + /** + * + * + * @generated + */ + private EClass assertionEClass = null; + + /** + * + * + * @generated + */ + private EClass unboundedMultiplicityEClass = null; + + /** + * + * + * @generated + */ + private EClass exactMultiplicityEClass = null; + + /** + * + * + * @generated + */ + private EClass boundedMultiplicityEClass = null; + + /** + * + * + * @generated + */ + private EClass inlinePredicateAttrributesEClass = null; + + /** + * + * + * @generated + */ + private EClass aggregationOperatorEClass = null; + + /** + * + * + * @generated + */ + private EClass problemEClass = null; + + /** + * + * + * @generated + */ + private EClass typedStarArgumentEClass = null; + + /** + * + * + * @generated + */ + private EClass typedVariableArgumentEClass = null; + + /** + * + * + * @generated + */ + private EClass unnamedErrorPredicateDefintionEClass = null; + + /** + * + * + * @generated + */ + private EClass objectiveDeclarationEClass = null; + + /** + * + * + * @generated + */ + private EClass scopeDeclarationEClass = null; + + /** + * + * + * @generated + */ + private EClass exactScopeEClass = null; + + /** + * + * + * @generated + */ + private EClass boundedScopeEClass = null; + + /** + * + * + * @generated + */ + private EClass lowerBoundedScopeEClass = null; + + /** + * + * + * @generated + */ + private EClass namespaceImportEClass = null; + + /** + * + * + * @generated + */ + private EClass importEClass = null; + + /** + * + * + * @generated + */ + private EClass uriImportEClass = null; + + /** + * + * + * @generated + */ + private EEnum unaryOperatorEEnum = null; + + /** + * + * + * @generated + */ + private EEnum binaryOperatorEEnum = null; + + /** + * + * + * @generated + */ + private EEnum logicValueEEnum = null; + + /** + * + * + * @generated + */ + private EEnum objectiveKindEEnum = null; + + /** + * + * + * @generated + */ + private EEnum attributeKindEEnum = null; + + /** + * Creates an instance of the model Package, registered with + * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package + * package URI value. + *

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

    This method is used to initialize {@link SolverLanguagePackage#eINSTANCE} when that field is accessed. + * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. + * + * + * @see #eNS_URI + * @see #createPackageContents() + * @see #initializePackageContents() + * @generated + */ + public static SolverLanguagePackage init() { + if (isInited) + return (SolverLanguagePackage) EPackage.Registry.INSTANCE.getEPackage(SolverLanguagePackage.eNS_URI); + + // Obtain or create and register package + Object registeredSolverLanguagePackage = EPackage.Registry.INSTANCE.get(eNS_URI); + SolverLanguagePackageImpl theSolverLanguagePackage = registeredSolverLanguagePackage instanceof SolverLanguagePackageImpl + ? (SolverLanguagePackageImpl) registeredSolverLanguagePackage + : new SolverLanguagePackageImpl(); + + isInited = true; + + // Create package meta-data objects + theSolverLanguagePackage.createPackageContents(); + + // Initialize created meta-data + theSolverLanguagePackage.initializePackageContents(); + + // Mark meta-data to indicate it can't be changed + theSolverLanguagePackage.freeze(); + + // Update the registry and return the package + EPackage.Registry.INSTANCE.put(SolverLanguagePackage.eNS_URI, theSolverLanguagePackage); + return theSolverLanguagePackage; + } + + /** + * + * + * @generated + */ + public EClass getPathComponent() { + return pathComponentEClass; + } + + /** + * + * + * @generated + */ + public EReference getPathComponent_Symbol() { + return (EReference) pathComponentEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EAttribute getPathComponent_Inverse() { + return (EAttribute) pathComponentEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EAttribute getPathComponent_TransitiveClosure() { + return (EAttribute) pathComponentEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + public EAttribute getPathComponent_ReflexiveTransitiveClosure() { + return (EAttribute) pathComponentEClass.getEStructuralFeatures().get(3); + } + + /** + * + * + * @generated + */ + public EClass getSymbol() { + return symbolEClass; + } + + /** + * + * + * @generated + */ + public EAttribute getSymbol_Name() { + return (EAttribute) symbolEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EClass getCall() { + return callEClass; + } + + /** + * + * + * @generated + */ + public EReference getCall_Functor() { + return (EReference) callEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EReference getCall_ArgumentList() { + return (EReference) callEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EClass getReference() { + return referenceEClass; + } + + /** + * + * + * @generated + */ + public EReference getReference_Components() { + return (EReference) referenceEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EClass getExpression() { + return expressionEClass; + } + + /** + * + * + * @generated + */ + public EReference getExpression_ExistsVariables() { + return (EReference) expressionEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EClass getArgument() { + return argumentEClass; + } + + /** + * + * + * @generated + */ + public EClass getArgumentList() { + return argumentListEClass; + } + + /** + * + * + * @generated + */ + public EReference getArgumentList_Arguments() { + return (EReference) argumentListEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EClass getExpressionArgument() { + return expressionArgumentEClass; + } + + /** + * + * + * @generated + */ + public EReference getExpressionArgument_Expression() { + return (EReference) expressionArgumentEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EClass getStarArgument() { + return starArgumentEClass; + } + + /** + * + * + * @generated + */ + public EClass getTypedArgument() { + return typedArgumentEClass; + } + + /** + * + * + * @generated + */ + public EReference getTypedArgument_TypeReference() { + return (EReference) typedArgumentEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EClass getMultiaryExpession() { + return multiaryExpessionEClass; + } + + /** + * + * + * @generated + */ + public EReference getMultiaryExpession_Children() { + return (EReference) multiaryExpessionEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EClass getVariable() { + return variableEClass; + } + + /** + * + * + * @generated + */ + public EReference getVariable_TypeReference() { + return (EReference) variableEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EClass getUnaryExpression() { + return unaryExpressionEClass; + } + + /** + * + * + * @generated + */ + public EReference getUnaryExpression_Body() { + return (EReference) unaryExpressionEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EAttribute getUnaryExpression_Op() { + return (EAttribute) unaryExpressionEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EClass getBinaryExpression() { + return binaryExpressionEClass; + } + + /** + * + * + * @generated + */ + public EAttribute getBinaryExpression_Op() { + return (EAttribute) binaryExpressionEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EReference getBinaryExpression_Left() { + return (EReference) binaryExpressionEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EReference getBinaryExpression_Right() { + return (EReference) binaryExpressionEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + public EClass getDisjunction() { + return disjunctionEClass; + } + + /** + * + * + * @generated + */ + public EClass getConjunction() { + return conjunctionEClass; + } + + /** + * + * + * @generated + */ + public EClass getConditionalExpression() { + return conditionalExpressionEClass; + } + + /** + * + * + * @generated + */ + public EReference getConditionalExpression_Condition() { + return (EReference) conditionalExpressionEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EReference getConditionalExpression_Then() { + return (EReference) conditionalExpressionEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EReference getConditionalExpression_Else() { + return (EReference) conditionalExpressionEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + public EClass getSwitch() { + return switchEClass; + } + + /** + * + * + * @generated + */ + public EReference getSwitch_Cases() { + return (EReference) switchEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EClass getCase() { + return caseEClass; + } + + /** + * + * + * @generated + */ + public EReference getCase_Condition() { + return (EReference) caseEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EReference getCase_Body() { + return (EReference) caseEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EClass getLetExpression() { + return letExpressionEClass; + } + + /** + * + * + * @generated + */ + public EReference getLetExpression_Bindings() { + return (EReference) letExpressionEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EReference getLetExpression_Body() { + return (EReference) letExpressionEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EClass getLetBinding() { + return letBindingEClass; + } + + /** + * + * + * @generated + */ + public EReference getLetBinding_Value() { + return (EReference) letBindingEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EReference getLetBinding_Variable() { + return (EReference) letBindingEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EAttribute getLetBinding_Name() { + return (EAttribute) letBindingEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + public EReference getLetBinding_Type() { + return (EReference) letBindingEClass.getEStructuralFeatures().get(3); + } + + /** + * + * + * @generated + */ + public EClass getLiteral() { + return literalEClass; + } + + /** + * + * + * @generated + */ + public EClass getIntLiteral() { + return intLiteralEClass; + } + + /** + * + * + * @generated + */ + public EAttribute getIntLiteral_Value() { + return (EAttribute) intLiteralEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EClass getRealLiteral() { + return realLiteralEClass; + } + + /** + * + * + * @generated + */ + public EAttribute getRealLiteral_Value() { + return (EAttribute) realLiteralEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EClass getStringLiteral() { + return stringLiteralEClass; + } + + /** + * + * + * @generated + */ + public EAttribute getStringLiteral_Value() { + return (EAttribute) stringLiteralEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EClass getLogicLiteral() { + return logicLiteralEClass; + } + + /** + * + * + * @generated + */ + public EAttribute getLogicLiteral_Value() { + return (EAttribute) logicLiteralEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EClass getEmptyLiteral() { + return emptyLiteralEClass; + } + + /** + * + * + * @generated + */ + public EClass getCastExpression() { + return castExpressionEClass; + } + + /** + * + * + * @generated + */ + public EReference getCastExpression_Body() { + return (EReference) castExpressionEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EReference getCastExpression_TargetType() { + return (EReference) castExpressionEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EClass getAggregateExpression() { + return aggregateExpressionEClass; + } + + /** + * + * + * @generated + */ + public EReference getAggregateExpression_ForallVariables() { + return (EReference) aggregateExpressionEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EReference getAggregateExpression_Condition() { + return (EReference) aggregateExpressionEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EClass getCount() { + return countEClass; + } + + /** + * + * + * @generated + */ + public EClass getAggregation() { + return aggregationEClass; + } + + /** + * + * + * @generated + */ + public EReference getAggregation_Value() { + return (EReference) aggregationEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EReference getAggregation_Op() { + return (EReference) aggregationEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EClass getForall() { + return forallEClass; + } + + /** + * + * + * @generated + */ + public EReference getForall_Body() { + return (EReference) forallEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EClass getTypeReference() { + return typeReferenceEClass; + } + + /** + * + * + * @generated + */ + public EAttribute getTypeReference_ForceObjectType() { + return (EAttribute) typeReferenceEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EReference getTypeReference_Type() { + return (EReference) typeReferenceEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EClass getInfinityLiteral() { + return infinityLiteralEClass; + } + + /** + * + * + * @generated + */ + public EClass getInterval() { + return intervalEClass; + } + + /** + * + * + * @generated + */ + public EReference getInterval_LowerBound() { + return (EReference) intervalEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EReference getInterval_UpperBound() { + return (EReference) intervalEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EClass getFunctor() { + return functorEClass; + } + + /** + * + * + * @generated + */ + public EReference getFunctor_Parameters() { + return (EReference) functorEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EClass getRelation() { + return relationEClass; + } + + /** + * + * + * @generated + */ + public EClass getBaseRelation() { + return baseRelationEClass; + } + + /** + * + * + * @generated + */ + public EClass getPredicate() { + return predicateEClass; + } + + /** + * + * + * @generated + */ + public EClass getDatatype() { + return datatypeEClass; + } + + /** + * + * + * @generated + */ + public EClass getFunction() { + return functionEClass; + } + + /** + * + * + * @generated + */ + public EReference getFunction_ResultType() { + return (EReference) functionEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EClass getMetric() { + return metricEClass; + } + + /** + * + * + * @generated + */ + public EClass getOperator() { + return operatorEClass; + } + + /** + * + * + * @generated + */ + public EClass getNode() { + return nodeEClass; + } + + /** + * + * + * @generated + */ + public EAttribute getNode_Named() { + return (EAttribute) nodeEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EClass getStatement() { + return statementEClass; + } + + /** + * + * + * @generated + */ + public EClass getAbstractAssertion() { + return abstractAssertionEClass; + } + + /** + * + * + * @generated + */ + public EReference getAbstractAssertion_Expression() { + return (EReference) abstractAssertionEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EReference getAbstractAssertion_Range() { + return (EReference) abstractAssertionEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EClass getFunctorDefiniton() { + return functorDefinitonEClass; + } + + /** + * + * + * @generated + */ + public EReference getFunctorDefiniton_Head() { + return (EReference) functorDefinitonEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EReference getFunctorDefiniton_Body() { + return (EReference) functorDefinitonEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EClass getPredicateDefinition() { + return predicateDefinitionEClass; + } + + /** + * + * + * @generated + */ + public EClass getFunctionDefinition() { + return functionDefinitionEClass; + } + + /** + * + * + * @generated + */ + public EReference getFunctionDefinition_ResultType() { + return (EReference) functionDefinitionEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EClass getAttribute() { + return attributeEClass; + } + + /** + * + * + * @generated + */ + public EReference getAttribute_Target() { + return (EReference) attributeEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EAttribute getAttribute_Kind() { + return (EAttribute) attributeEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EClass getExternDeclaration() { + return externDeclarationEClass; + } + + /** + * + * + * @generated + */ + public EAttribute getExternDeclaration_Name() { + return (EAttribute) externDeclarationEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EClass getExternFunctorDeclaration() { + return externFunctorDeclarationEClass; + } + + /** + * + * + * @generated + */ + public EReference getExternFunctorDeclaration_ArgumentList() { + return (EReference) externFunctorDeclarationEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EClass getExternPredicateDeclaration() { + return externPredicateDeclarationEClass; + } + + /** + * + * + * @generated + */ + public EClass getExternFunctionDeclaration() { + return externFunctionDeclarationEClass; + } + + /** + * + * + * @generated + */ + public EReference getExternFunctionDeclaration_ResultType() { + return (EReference) externFunctionDeclarationEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EClass getExternAggregationOperatorDeclaration() { + return externAggregationOperatorDeclarationEClass; + } + + /** + * + * + * @generated + */ + public EReference getExternAggregationOperatorDeclaration_ArgumentType() { + return (EReference) externAggregationOperatorDeclarationEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EReference getExternAggregationOperatorDeclaration_ResultType() { + return (EReference) externAggregationOperatorDeclarationEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EClass getExternDatatypeDeclaration() { + return externDatatypeDeclarationEClass; + } + + /** + * + * + * @generated + */ + public EClass getClassDeclaration() { + return classDeclarationEClass; + } + + /** + * + * + * @generated + */ + public EReference getClassDeclaration_Fields() { + return (EReference) classDeclarationEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EAttribute getClassDeclaration_Name() { + return (EAttribute) classDeclarationEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EAttribute getClassDeclaration_Abstract() { + return (EAttribute) classDeclarationEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + public EReference getClassDeclaration_Supertypes() { + return (EReference) classDeclarationEClass.getEStructuralFeatures().get(3); + } + + /** + * + * + * @generated + */ + public EAttribute getClassDeclaration_Root() { + return (EAttribute) classDeclarationEClass.getEStructuralFeatures().get(4); + } + + /** + * + * + * @generated + */ + public EClass getEnumDeclaration() { + return enumDeclarationEClass; + } + + /** + * + * + * @generated + */ + public EReference getEnumDeclaration_Literals() { + return (EReference) enumDeclarationEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EAttribute getEnumDeclaration_Name() { + return (EAttribute) enumDeclarationEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EClass getEnumLiteral() { + return enumLiteralEClass; + } + + /** + * + * + * @generated + */ + public EAttribute getEnumLiteral_Name() { + return (EAttribute) enumLiteralEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EClass getField() { + return fieldEClass; + } + + /** + * + * + * @generated + */ + public EAttribute getField_Containment() { + return (EAttribute) fieldEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EAttribute getField_CrossReference() { + return (EAttribute) fieldEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EReference getField_Opposite() { + return (EReference) fieldEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + public EReference getField_Multiplicity() { + return (EReference) fieldEClass.getEStructuralFeatures().get(3); + } + + /** + * + * + * @generated + */ + public EReference getField_Type() { + return (EReference) fieldEClass.getEStructuralFeatures().get(4); + } + + /** + * + * + * @generated + */ + public EAttribute getField_Name() { + return (EAttribute) fieldEClass.getEStructuralFeatures().get(5); + } + + /** + * + * + * @generated + */ + public EClass getMultiplicity() { + return multiplicityEClass; + } + + /** + * + * + * @generated + */ + public EClass getDefaultAssertion() { + return defaultAssertionEClass; + } + + /** + * + * + * @generated + */ + public EClass getAssertion() { + return assertionEClass; + } + + /** + * + * + * @generated + */ + public EClass getUnboundedMultiplicity() { + return unboundedMultiplicityEClass; + } + + /** + * + * + * @generated + */ + public EClass getExactMultiplicity() { + return exactMultiplicityEClass; + } + + /** + * + * + * @generated + */ + public EAttribute getExactMultiplicity_Value() { + return (EAttribute) exactMultiplicityEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EClass getBoundedMultiplicity() { + return boundedMultiplicityEClass; + } + + /** + * + * + * @generated + */ + public EAttribute getBoundedMultiplicity_LowerBound() { + return (EAttribute) boundedMultiplicityEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EAttribute getBoundedMultiplicity_UpperBound() { + return (EAttribute) boundedMultiplicityEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EClass getInlinePredicateAttrributes() { + return inlinePredicateAttrributesEClass; + } + + /** + * + * + * @generated + */ + public EAttribute getInlinePredicateAttrributes_Error() { + return (EAttribute) inlinePredicateAttrributesEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EAttribute getInlinePredicateAttrributes_Functional() { + return (EAttribute) inlinePredicateAttrributesEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EClass getAggregationOperator() { + return aggregationOperatorEClass; + } + + /** + * + * + * @generated + */ + public EReference getAggregationOperator_ArgumentType() { + return (EReference) aggregationOperatorEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EReference getAggregationOperator_ResultType() { + return (EReference) aggregationOperatorEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EClass getProblem() { + return problemEClass; + } + + /** + * + * + * @generated + */ + public EAttribute getProblem_Name() { + return (EAttribute) problemEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EReference getProblem_Statements() { + return (EReference) problemEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EReference getProblem_Symbols() { + return (EReference) problemEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + public EReference getProblem_Imports() { + return (EReference) problemEClass.getEStructuralFeatures().get(3); + } + + /** + * + * + * @generated + */ + public EClass getTypedStarArgument() { + return typedStarArgumentEClass; + } + + /** + * + * + * @generated + */ + public EClass getTypedVariableArgument() { + return typedVariableArgumentEClass; + } + + /** + * + * + * @generated + */ + public EAttribute getTypedVariableArgument_Name() { + return (EAttribute) typedVariableArgumentEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EClass getUnnamedErrorPredicateDefintion() { + return unnamedErrorPredicateDefintionEClass; + } + + /** + * + * + * @generated + */ + public EReference getUnnamedErrorPredicateDefintion_ArgumentList() { + return (EReference) unnamedErrorPredicateDefintionEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EReference getUnnamedErrorPredicateDefintion_Body() { + return (EReference) unnamedErrorPredicateDefintionEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EClass getObjectiveDeclaration() { + return objectiveDeclarationEClass; + } + + /** + * + * + * @generated + */ + public EAttribute getObjectiveDeclaration_Kind() { + return (EAttribute) objectiveDeclarationEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EReference getObjectiveDeclaration_Objective() { + return (EReference) objectiveDeclarationEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EClass getScopeDeclaration() { + return scopeDeclarationEClass; + } + + /** + * + * + * @generated + */ + public EReference getScopeDeclaration_Type() { + return (EReference) scopeDeclarationEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EClass getExactScope() { + return exactScopeEClass; + } + + /** + * + * + * @generated + */ + public EAttribute getExactScope_Size() { + return (EAttribute) exactScopeEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EClass getBoundedScope() { + return boundedScopeEClass; + } + + /** + * + * + * @generated + */ + public EAttribute getBoundedScope_LowerBound() { + return (EAttribute) boundedScopeEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EAttribute getBoundedScope_UpperBound() { + return (EAttribute) boundedScopeEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EClass getLowerBoundedScope() { + return lowerBoundedScopeEClass; + } + + /** + * + * + * @generated + */ + public EAttribute getLowerBoundedScope_LowerBound() { + return (EAttribute) lowerBoundedScopeEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EClass getNamespaceImport() { + return namespaceImportEClass; + } + + /** + * + * + * @generated + */ + public EAttribute getNamespaceImport_ImportedNamespace() { + return (EAttribute) namespaceImportEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EClass getImport() { + return importEClass; + } + + /** + * + * + * @generated + */ + public EAttribute getImport_Alias() { + return (EAttribute) importEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EClass getUriImport() { + return uriImportEClass; + } + + /** + * + * + * @generated + */ + public EAttribute getUriImport_Uri() { + return (EAttribute) uriImportEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EEnum getUnaryOperator() { + return unaryOperatorEEnum; + } + + /** + * + * + * @generated + */ + public EEnum getBinaryOperator() { + return binaryOperatorEEnum; + } + + /** + * + * + * @generated + */ + public EEnum getLogicValue() { + return logicValueEEnum; + } + + /** + * + * + * @generated + */ + public EEnum getObjectiveKind() { + return objectiveKindEEnum; + } + + /** + * + * + * @generated + */ + public EEnum getAttributeKind() { + return attributeKindEEnum; + } + + /** + * + * + * @generated + */ + public SolverLanguageFactory getSolverLanguageFactory() { + return (SolverLanguageFactory) getEFactoryInstance(); + } + + /** + * + * + * @generated + */ + private boolean isCreated = false; + + /** + * Creates the meta-model objects for the package. This method is + * guarded to have no affect on any invocation but its first. + * + * + * @generated + */ + public void createPackageContents() { + if (isCreated) + return; + isCreated = true; + + // Create classes and their features + pathComponentEClass = createEClass(PATH_COMPONENT); + createEReference(pathComponentEClass, PATH_COMPONENT__SYMBOL); + createEAttribute(pathComponentEClass, PATH_COMPONENT__INVERSE); + createEAttribute(pathComponentEClass, PATH_COMPONENT__TRANSITIVE_CLOSURE); + createEAttribute(pathComponentEClass, PATH_COMPONENT__REFLEXIVE_TRANSITIVE_CLOSURE); + + symbolEClass = createEClass(SYMBOL); + createEAttribute(symbolEClass, SYMBOL__NAME); + + callEClass = createEClass(CALL); + createEReference(callEClass, CALL__FUNCTOR); + createEReference(callEClass, CALL__ARGUMENT_LIST); + + referenceEClass = createEClass(REFERENCE); + createEReference(referenceEClass, REFERENCE__COMPONENTS); + + expressionEClass = createEClass(EXPRESSION); + createEReference(expressionEClass, EXPRESSION__EXISTS_VARIABLES); + + argumentEClass = createEClass(ARGUMENT); + + argumentListEClass = createEClass(ARGUMENT_LIST); + createEReference(argumentListEClass, ARGUMENT_LIST__ARGUMENTS); + + expressionArgumentEClass = createEClass(EXPRESSION_ARGUMENT); + createEReference(expressionArgumentEClass, EXPRESSION_ARGUMENT__EXPRESSION); + + starArgumentEClass = createEClass(STAR_ARGUMENT); + + typedArgumentEClass = createEClass(TYPED_ARGUMENT); + createEReference(typedArgumentEClass, TYPED_ARGUMENT__TYPE_REFERENCE); + + multiaryExpessionEClass = createEClass(MULTIARY_EXPESSION); + createEReference(multiaryExpessionEClass, MULTIARY_EXPESSION__CHILDREN); + + variableEClass = createEClass(VARIABLE); + createEReference(variableEClass, VARIABLE__TYPE_REFERENCE); + + unaryExpressionEClass = createEClass(UNARY_EXPRESSION); + createEReference(unaryExpressionEClass, UNARY_EXPRESSION__BODY); + createEAttribute(unaryExpressionEClass, UNARY_EXPRESSION__OP); + + binaryExpressionEClass = createEClass(BINARY_EXPRESSION); + createEAttribute(binaryExpressionEClass, BINARY_EXPRESSION__OP); + createEReference(binaryExpressionEClass, BINARY_EXPRESSION__LEFT); + createEReference(binaryExpressionEClass, BINARY_EXPRESSION__RIGHT); + + disjunctionEClass = createEClass(DISJUNCTION); + + conjunctionEClass = createEClass(CONJUNCTION); + + conditionalExpressionEClass = createEClass(CONDITIONAL_EXPRESSION); + createEReference(conditionalExpressionEClass, CONDITIONAL_EXPRESSION__CONDITION); + createEReference(conditionalExpressionEClass, CONDITIONAL_EXPRESSION__THEN); + createEReference(conditionalExpressionEClass, CONDITIONAL_EXPRESSION__ELSE); + + switchEClass = createEClass(SWITCH); + createEReference(switchEClass, SWITCH__CASES); + + caseEClass = createEClass(CASE); + createEReference(caseEClass, CASE__CONDITION); + createEReference(caseEClass, CASE__BODY); + + letExpressionEClass = createEClass(LET_EXPRESSION); + createEReference(letExpressionEClass, LET_EXPRESSION__BINDINGS); + createEReference(letExpressionEClass, LET_EXPRESSION__BODY); + + letBindingEClass = createEClass(LET_BINDING); + createEReference(letBindingEClass, LET_BINDING__VALUE); + createEReference(letBindingEClass, LET_BINDING__VARIABLE); + createEAttribute(letBindingEClass, LET_BINDING__NAME); + createEReference(letBindingEClass, LET_BINDING__TYPE); + + literalEClass = createEClass(LITERAL); + + intLiteralEClass = createEClass(INT_LITERAL); + createEAttribute(intLiteralEClass, INT_LITERAL__VALUE); + + realLiteralEClass = createEClass(REAL_LITERAL); + createEAttribute(realLiteralEClass, REAL_LITERAL__VALUE); + + stringLiteralEClass = createEClass(STRING_LITERAL); + createEAttribute(stringLiteralEClass, STRING_LITERAL__VALUE); + + logicLiteralEClass = createEClass(LOGIC_LITERAL); + createEAttribute(logicLiteralEClass, LOGIC_LITERAL__VALUE); + + emptyLiteralEClass = createEClass(EMPTY_LITERAL); + + castExpressionEClass = createEClass(CAST_EXPRESSION); + createEReference(castExpressionEClass, CAST_EXPRESSION__BODY); + createEReference(castExpressionEClass, CAST_EXPRESSION__TARGET_TYPE); + + aggregateExpressionEClass = createEClass(AGGREGATE_EXPRESSION); + createEReference(aggregateExpressionEClass, AGGREGATE_EXPRESSION__FORALL_VARIABLES); + createEReference(aggregateExpressionEClass, AGGREGATE_EXPRESSION__CONDITION); + + countEClass = createEClass(COUNT); + + aggregationEClass = createEClass(AGGREGATION); + createEReference(aggregationEClass, AGGREGATION__VALUE); + createEReference(aggregationEClass, AGGREGATION__OP); + + forallEClass = createEClass(FORALL); + createEReference(forallEClass, FORALL__BODY); + + typeReferenceEClass = createEClass(TYPE_REFERENCE); + createEAttribute(typeReferenceEClass, TYPE_REFERENCE__FORCE_OBJECT_TYPE); + createEReference(typeReferenceEClass, TYPE_REFERENCE__TYPE); + + infinityLiteralEClass = createEClass(INFINITY_LITERAL); + + intervalEClass = createEClass(INTERVAL); + createEReference(intervalEClass, INTERVAL__LOWER_BOUND); + createEReference(intervalEClass, INTERVAL__UPPER_BOUND); + + functorEClass = createEClass(FUNCTOR); + createEReference(functorEClass, FUNCTOR__PARAMETERS); + + relationEClass = createEClass(RELATION); + + baseRelationEClass = createEClass(BASE_RELATION); + + predicateEClass = createEClass(PREDICATE); + + datatypeEClass = createEClass(DATATYPE); + + functionEClass = createEClass(FUNCTION); + createEReference(functionEClass, FUNCTION__RESULT_TYPE); + + metricEClass = createEClass(METRIC); + + operatorEClass = createEClass(OPERATOR); + + nodeEClass = createEClass(NODE); + createEAttribute(nodeEClass, NODE__NAMED); + + statementEClass = createEClass(STATEMENT); + + abstractAssertionEClass = createEClass(ABSTRACT_ASSERTION); + createEReference(abstractAssertionEClass, ABSTRACT_ASSERTION__EXPRESSION); + createEReference(abstractAssertionEClass, ABSTRACT_ASSERTION__RANGE); + + functorDefinitonEClass = createEClass(FUNCTOR_DEFINITON); + createEReference(functorDefinitonEClass, FUNCTOR_DEFINITON__HEAD); + createEReference(functorDefinitonEClass, FUNCTOR_DEFINITON__BODY); + + predicateDefinitionEClass = createEClass(PREDICATE_DEFINITION); + + functionDefinitionEClass = createEClass(FUNCTION_DEFINITION); + createEReference(functionDefinitionEClass, FUNCTION_DEFINITION__RESULT_TYPE); + + attributeEClass = createEClass(ATTRIBUTE); + createEReference(attributeEClass, ATTRIBUTE__TARGET); + createEAttribute(attributeEClass, ATTRIBUTE__KIND); + + externDeclarationEClass = createEClass(EXTERN_DECLARATION); + createEAttribute(externDeclarationEClass, EXTERN_DECLARATION__NAME); + + externFunctorDeclarationEClass = createEClass(EXTERN_FUNCTOR_DECLARATION); + createEReference(externFunctorDeclarationEClass, EXTERN_FUNCTOR_DECLARATION__ARGUMENT_LIST); + + externPredicateDeclarationEClass = createEClass(EXTERN_PREDICATE_DECLARATION); + + externFunctionDeclarationEClass = createEClass(EXTERN_FUNCTION_DECLARATION); + createEReference(externFunctionDeclarationEClass, EXTERN_FUNCTION_DECLARATION__RESULT_TYPE); + + externAggregationOperatorDeclarationEClass = createEClass(EXTERN_AGGREGATION_OPERATOR_DECLARATION); + createEReference(externAggregationOperatorDeclarationEClass, + EXTERN_AGGREGATION_OPERATOR_DECLARATION__ARGUMENT_TYPE); + createEReference(externAggregationOperatorDeclarationEClass, + EXTERN_AGGREGATION_OPERATOR_DECLARATION__RESULT_TYPE); + + externDatatypeDeclarationEClass = createEClass(EXTERN_DATATYPE_DECLARATION); + + classDeclarationEClass = createEClass(CLASS_DECLARATION); + createEReference(classDeclarationEClass, CLASS_DECLARATION__FIELDS); + createEAttribute(classDeclarationEClass, CLASS_DECLARATION__NAME); + createEAttribute(classDeclarationEClass, CLASS_DECLARATION__ABSTRACT); + createEReference(classDeclarationEClass, CLASS_DECLARATION__SUPERTYPES); + createEAttribute(classDeclarationEClass, CLASS_DECLARATION__ROOT); + + enumDeclarationEClass = createEClass(ENUM_DECLARATION); + createEReference(enumDeclarationEClass, ENUM_DECLARATION__LITERALS); + createEAttribute(enumDeclarationEClass, ENUM_DECLARATION__NAME); + + enumLiteralEClass = createEClass(ENUM_LITERAL); + createEAttribute(enumLiteralEClass, ENUM_LITERAL__NAME); + + fieldEClass = createEClass(FIELD); + createEAttribute(fieldEClass, FIELD__CONTAINMENT); + createEAttribute(fieldEClass, FIELD__CROSS_REFERENCE); + createEReference(fieldEClass, FIELD__OPPOSITE); + createEReference(fieldEClass, FIELD__MULTIPLICITY); + createEReference(fieldEClass, FIELD__TYPE); + createEAttribute(fieldEClass, FIELD__NAME); + + multiplicityEClass = createEClass(MULTIPLICITY); + + defaultAssertionEClass = createEClass(DEFAULT_ASSERTION); + + assertionEClass = createEClass(ASSERTION); + + unboundedMultiplicityEClass = createEClass(UNBOUNDED_MULTIPLICITY); + + exactMultiplicityEClass = createEClass(EXACT_MULTIPLICITY); + createEAttribute(exactMultiplicityEClass, EXACT_MULTIPLICITY__VALUE); + + boundedMultiplicityEClass = createEClass(BOUNDED_MULTIPLICITY); + createEAttribute(boundedMultiplicityEClass, BOUNDED_MULTIPLICITY__LOWER_BOUND); + createEAttribute(boundedMultiplicityEClass, BOUNDED_MULTIPLICITY__UPPER_BOUND); + + inlinePredicateAttrributesEClass = createEClass(INLINE_PREDICATE_ATTRRIBUTES); + createEAttribute(inlinePredicateAttrributesEClass, INLINE_PREDICATE_ATTRRIBUTES__ERROR); + createEAttribute(inlinePredicateAttrributesEClass, INLINE_PREDICATE_ATTRRIBUTES__FUNCTIONAL); + + aggregationOperatorEClass = createEClass(AGGREGATION_OPERATOR); + createEReference(aggregationOperatorEClass, AGGREGATION_OPERATOR__ARGUMENT_TYPE); + createEReference(aggregationOperatorEClass, AGGREGATION_OPERATOR__RESULT_TYPE); + + problemEClass = createEClass(PROBLEM); + createEAttribute(problemEClass, PROBLEM__NAME); + createEReference(problemEClass, PROBLEM__STATEMENTS); + createEReference(problemEClass, PROBLEM__SYMBOLS); + createEReference(problemEClass, PROBLEM__IMPORTS); + + typedStarArgumentEClass = createEClass(TYPED_STAR_ARGUMENT); + + typedVariableArgumentEClass = createEClass(TYPED_VARIABLE_ARGUMENT); + createEAttribute(typedVariableArgumentEClass, TYPED_VARIABLE_ARGUMENT__NAME); + + unnamedErrorPredicateDefintionEClass = createEClass(UNNAMED_ERROR_PREDICATE_DEFINTION); + createEReference(unnamedErrorPredicateDefintionEClass, UNNAMED_ERROR_PREDICATE_DEFINTION__ARGUMENT_LIST); + createEReference(unnamedErrorPredicateDefintionEClass, UNNAMED_ERROR_PREDICATE_DEFINTION__BODY); + + objectiveDeclarationEClass = createEClass(OBJECTIVE_DECLARATION); + createEAttribute(objectiveDeclarationEClass, OBJECTIVE_DECLARATION__KIND); + createEReference(objectiveDeclarationEClass, OBJECTIVE_DECLARATION__OBJECTIVE); + + scopeDeclarationEClass = createEClass(SCOPE_DECLARATION); + createEReference(scopeDeclarationEClass, SCOPE_DECLARATION__TYPE); + + exactScopeEClass = createEClass(EXACT_SCOPE); + createEAttribute(exactScopeEClass, EXACT_SCOPE__SIZE); + + boundedScopeEClass = createEClass(BOUNDED_SCOPE); + createEAttribute(boundedScopeEClass, BOUNDED_SCOPE__LOWER_BOUND); + createEAttribute(boundedScopeEClass, BOUNDED_SCOPE__UPPER_BOUND); + + lowerBoundedScopeEClass = createEClass(LOWER_BOUNDED_SCOPE); + createEAttribute(lowerBoundedScopeEClass, LOWER_BOUNDED_SCOPE__LOWER_BOUND); + + namespaceImportEClass = createEClass(NAMESPACE_IMPORT); + createEAttribute(namespaceImportEClass, NAMESPACE_IMPORT__IMPORTED_NAMESPACE); + + importEClass = createEClass(IMPORT); + createEAttribute(importEClass, IMPORT__ALIAS); + + uriImportEClass = createEClass(URI_IMPORT); + createEAttribute(uriImportEClass, URI_IMPORT__URI); + + // Create enums + unaryOperatorEEnum = createEEnum(UNARY_OPERATOR); + binaryOperatorEEnum = createEEnum(BINARY_OPERATOR); + logicValueEEnum = createEEnum(LOGIC_VALUE); + objectiveKindEEnum = createEEnum(OBJECTIVE_KIND); + attributeKindEEnum = createEEnum(ATTRIBUTE_KIND); + } + + /** + * + * + * @generated + */ + private boolean isInitialized = false; + + /** + * Complete the initialization of the package and its meta-model. This + * method is guarded to have no affect on any invocation but its first. + * + * + * @generated + */ + public void initializePackageContents() { + if (isInitialized) + return; + isInitialized = true; + + // Initialize package + setName(eNAME); + setNsPrefix(eNS_PREFIX); + setNsURI(eNS_URI); + + // Create type parameters + + // Set bounds for type parameters + + // Add supertypes to classes + callEClass.getESuperTypes().add(this.getExpression()); + referenceEClass.getESuperTypes().add(this.getExpression()); + expressionEClass.getESuperTypes().add(this.getStatement()); + expressionArgumentEClass.getESuperTypes().add(this.getArgument()); + starArgumentEClass.getESuperTypes().add(this.getArgument()); + typedArgumentEClass.getESuperTypes().add(this.getArgument()); + multiaryExpessionEClass.getESuperTypes().add(this.getExpression()); + variableEClass.getESuperTypes().add(this.getSymbol()); + unaryExpressionEClass.getESuperTypes().add(this.getExpression()); + binaryExpressionEClass.getESuperTypes().add(this.getExpression()); + disjunctionEClass.getESuperTypes().add(this.getMultiaryExpession()); + conjunctionEClass.getESuperTypes().add(this.getMultiaryExpession()); + conditionalExpressionEClass.getESuperTypes().add(this.getExpression()); + switchEClass.getESuperTypes().add(this.getExpression()); + caseEClass.getESuperTypes().add(this.getExpression()); + letExpressionEClass.getESuperTypes().add(this.getExpression()); + literalEClass.getESuperTypes().add(this.getExpression()); + intLiteralEClass.getESuperTypes().add(this.getLiteral()); + realLiteralEClass.getESuperTypes().add(this.getLiteral()); + stringLiteralEClass.getESuperTypes().add(this.getLiteral()); + logicLiteralEClass.getESuperTypes().add(this.getLiteral()); + emptyLiteralEClass.getESuperTypes().add(this.getLiteral()); + castExpressionEClass.getESuperTypes().add(this.getExpression()); + aggregateExpressionEClass.getESuperTypes().add(this.getExpression()); + countEClass.getESuperTypes().add(this.getAggregateExpression()); + aggregationEClass.getESuperTypes().add(this.getAggregateExpression()); + forallEClass.getESuperTypes().add(this.getAggregateExpression()); + infinityLiteralEClass.getESuperTypes().add(this.getLiteral()); + intervalEClass.getESuperTypes().add(this.getExpression()); + functorEClass.getESuperTypes().add(this.getSymbol()); + relationEClass.getESuperTypes().add(this.getFunctor()); + baseRelationEClass.getESuperTypes().add(this.getRelation()); + predicateEClass.getESuperTypes().add(this.getRelation()); + datatypeEClass.getESuperTypes().add(this.getRelation()); + functionEClass.getESuperTypes().add(this.getFunctor()); + metricEClass.getESuperTypes().add(this.getFunction()); + operatorEClass.getESuperTypes().add(this.getFunction()); + nodeEClass.getESuperTypes().add(this.getSymbol()); + abstractAssertionEClass.getESuperTypes().add(this.getStatement()); + functorDefinitonEClass.getESuperTypes().add(this.getStatement()); + predicateDefinitionEClass.getESuperTypes().add(this.getFunctorDefiniton()); + predicateDefinitionEClass.getESuperTypes().add(this.getInlinePredicateAttrributes()); + functionDefinitionEClass.getESuperTypes().add(this.getFunctorDefiniton()); + attributeEClass.getESuperTypes().add(this.getStatement()); + externDeclarationEClass.getESuperTypes().add(this.getStatement()); + externFunctorDeclarationEClass.getESuperTypes().add(this.getExternDeclaration()); + externPredicateDeclarationEClass.getESuperTypes().add(this.getExternFunctorDeclaration()); + externPredicateDeclarationEClass.getESuperTypes().add(this.getInlinePredicateAttrributes()); + externFunctionDeclarationEClass.getESuperTypes().add(this.getExternFunctorDeclaration()); + externAggregationOperatorDeclarationEClass.getESuperTypes().add(this.getExternDeclaration()); + externDatatypeDeclarationEClass.getESuperTypes().add(this.getExternDeclaration()); + classDeclarationEClass.getESuperTypes().add(this.getStatement()); + enumDeclarationEClass.getESuperTypes().add(this.getStatement()); + defaultAssertionEClass.getESuperTypes().add(this.getAbstractAssertion()); + assertionEClass.getESuperTypes().add(this.getAbstractAssertion()); + unboundedMultiplicityEClass.getESuperTypes().add(this.getMultiplicity()); + exactMultiplicityEClass.getESuperTypes().add(this.getMultiplicity()); + boundedMultiplicityEClass.getESuperTypes().add(this.getMultiplicity()); + aggregationOperatorEClass.getESuperTypes().add(this.getSymbol()); + typedStarArgumentEClass.getESuperTypes().add(this.getTypedArgument()); + typedVariableArgumentEClass.getESuperTypes().add(this.getTypedArgument()); + unnamedErrorPredicateDefintionEClass.getESuperTypes().add(this.getStatement()); + objectiveDeclarationEClass.getESuperTypes().add(this.getStatement()); + scopeDeclarationEClass.getESuperTypes().add(this.getStatement()); + exactScopeEClass.getESuperTypes().add(this.getScopeDeclaration()); + boundedScopeEClass.getESuperTypes().add(this.getScopeDeclaration()); + lowerBoundedScopeEClass.getESuperTypes().add(this.getScopeDeclaration()); + namespaceImportEClass.getESuperTypes().add(this.getImport()); + uriImportEClass.getESuperTypes().add(this.getImport()); + + // Initialize classes, features, and operations; add parameters + initEClass(pathComponentEClass, PathComponent.class, "PathComponent", !IS_ABSTRACT, !IS_INTERFACE, + IS_GENERATED_INSTANCE_CLASS); + initEReference(getPathComponent_Symbol(), this.getSymbol(), null, "symbol", null, 0, 1, PathComponent.class, + !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, + IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getPathComponent_Inverse(), ecorePackage.getEBoolean(), "inverse", null, 0, 1, + PathComponent.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, + !IS_DERIVED, IS_ORDERED); + initEAttribute(getPathComponent_TransitiveClosure(), ecorePackage.getEBoolean(), "transitiveClosure", null, 0, + 1, PathComponent.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, + !IS_DERIVED, IS_ORDERED); + initEAttribute(getPathComponent_ReflexiveTransitiveClosure(), ecorePackage.getEBoolean(), + "reflexiveTransitiveClosure", null, 0, 1, PathComponent.class, !IS_TRANSIENT, !IS_VOLATILE, + IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(symbolEClass, Symbol.class, "Symbol", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getSymbol_Name(), ecorePackage.getEString(), "name", null, 0, 1, Symbol.class, !IS_TRANSIENT, + !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(callEClass, Call.class, "Call", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getCall_Functor(), this.getReference(), null, "functor", null, 0, 1, Call.class, !IS_TRANSIENT, + !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, + IS_ORDERED); + initEReference(getCall_ArgumentList(), this.getArgumentList(), null, "argumentList", null, 0, 1, Call.class, + !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, + IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(referenceEClass, Reference.class, "Reference", !IS_ABSTRACT, !IS_INTERFACE, + IS_GENERATED_INSTANCE_CLASS); + initEReference(getReference_Components(), this.getPathComponent(), null, "components", null, 0, -1, + Reference.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, + !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(expressionEClass, Expression.class, "Expression", IS_ABSTRACT, !IS_INTERFACE, + IS_GENERATED_INSTANCE_CLASS); + initEReference(getExpression_ExistsVariables(), this.getVariable(), null, "existsVariables", null, 0, -1, + Expression.class, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, + !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(argumentEClass, Argument.class, "Argument", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(argumentListEClass, ArgumentList.class, "ArgumentList", !IS_ABSTRACT, !IS_INTERFACE, + IS_GENERATED_INSTANCE_CLASS); + initEReference(getArgumentList_Arguments(), this.getArgument(), null, "arguments", null, 0, -1, + ArgumentList.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, + !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(expressionArgumentEClass, ExpressionArgument.class, "ExpressionArgument", !IS_ABSTRACT, + !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getExpressionArgument_Expression(), this.getExpression(), null, "expression", null, 0, 1, + ExpressionArgument.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, + !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(starArgumentEClass, StarArgument.class, "StarArgument", !IS_ABSTRACT, !IS_INTERFACE, + IS_GENERATED_INSTANCE_CLASS); + + initEClass(typedArgumentEClass, TypedArgument.class, "TypedArgument", IS_ABSTRACT, !IS_INTERFACE, + IS_GENERATED_INSTANCE_CLASS); + initEReference(getTypedArgument_TypeReference(), this.getTypeReference(), null, "typeReference", null, 0, 1, + TypedArgument.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, + !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(multiaryExpessionEClass, MultiaryExpession.class, "MultiaryExpession", IS_ABSTRACT, !IS_INTERFACE, + IS_GENERATED_INSTANCE_CLASS); + initEReference(getMultiaryExpession_Children(), this.getExpression(), null, "children", null, 0, -1, + MultiaryExpession.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, + !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(variableEClass, Variable.class, "Variable", !IS_ABSTRACT, !IS_INTERFACE, + IS_GENERATED_INSTANCE_CLASS); + initEReference(getVariable_TypeReference(), this.getTypeReference(), null, "typeReference", null, 0, 1, + Variable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, + !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(unaryExpressionEClass, UnaryExpression.class, "UnaryExpression", !IS_ABSTRACT, !IS_INTERFACE, + IS_GENERATED_INSTANCE_CLASS); + initEReference(getUnaryExpression_Body(), this.getExpression(), null, "body", null, 0, 1, UnaryExpression.class, + !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, + IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getUnaryExpression_Op(), this.getUnaryOperator(), "op", null, 0, 1, UnaryExpression.class, + !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(binaryExpressionEClass, BinaryExpression.class, "BinaryExpression", !IS_ABSTRACT, !IS_INTERFACE, + IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getBinaryExpression_Op(), this.getBinaryOperator(), "op", null, 0, 1, BinaryExpression.class, + !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getBinaryExpression_Left(), this.getExpression(), null, "left", null, 0, 1, + BinaryExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, + !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getBinaryExpression_Right(), this.getExpression(), null, "right", null, 0, 1, + BinaryExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, + !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(disjunctionEClass, Disjunction.class, "Disjunction", !IS_ABSTRACT, !IS_INTERFACE, + IS_GENERATED_INSTANCE_CLASS); + + initEClass(conjunctionEClass, Conjunction.class, "Conjunction", !IS_ABSTRACT, !IS_INTERFACE, + IS_GENERATED_INSTANCE_CLASS); + + initEClass(conditionalExpressionEClass, ConditionalExpression.class, "ConditionalExpression", !IS_ABSTRACT, + !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getConditionalExpression_Condition(), this.getExpression(), null, "condition", null, 0, 1, + ConditionalExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, + !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getConditionalExpression_Then(), this.getExpression(), null, "then", null, 0, 1, + ConditionalExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, + !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getConditionalExpression_Else(), this.getExpression(), null, "else", null, 0, 1, + ConditionalExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, + !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(switchEClass, Switch.class, "Switch", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getSwitch_Cases(), this.getCase(), null, "cases", null, 0, -1, Switch.class, !IS_TRANSIENT, + !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, + IS_ORDERED); + + initEClass(caseEClass, Case.class, "Case", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getCase_Condition(), this.getExpression(), null, "condition", null, 0, 1, Case.class, + !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, + IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getCase_Body(), this.getExpression(), null, "body", null, 0, 1, Case.class, !IS_TRANSIENT, + !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, + IS_ORDERED); + + initEClass(letExpressionEClass, LetExpression.class, "LetExpression", !IS_ABSTRACT, !IS_INTERFACE, + IS_GENERATED_INSTANCE_CLASS); + initEReference(getLetExpression_Bindings(), this.getLetBinding(), null, "bindings", null, 0, -1, + LetExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, + !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getLetExpression_Body(), this.getExpression(), null, "body", null, 0, 1, LetExpression.class, + !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, + IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(letBindingEClass, LetBinding.class, "LetBinding", !IS_ABSTRACT, !IS_INTERFACE, + IS_GENERATED_INSTANCE_CLASS); + initEReference(getLetBinding_Value(), this.getExpression(), null, "value", null, 0, 1, LetBinding.class, + !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, + IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getLetBinding_Variable(), this.getVariable(), null, "variable", null, 0, 1, LetBinding.class, + IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, + !IS_DERIVED, IS_ORDERED); + initEAttribute(getLetBinding_Name(), ecorePackage.getEString(), "name", null, 0, 1, LetBinding.class, + !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getLetBinding_Type(), this.getSymbol(), null, "type", null, 0, 1, LetBinding.class, + !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, + IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(literalEClass, Literal.class, "Literal", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(intLiteralEClass, IntLiteral.class, "IntLiteral", !IS_ABSTRACT, !IS_INTERFACE, + IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getIntLiteral_Value(), ecorePackage.getEInt(), "value", null, 0, 1, IntLiteral.class, + !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(realLiteralEClass, RealLiteral.class, "RealLiteral", !IS_ABSTRACT, !IS_INTERFACE, + IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getRealLiteral_Value(), ecorePackage.getEBigDecimal(), "value", null, 0, 1, RealLiteral.class, + !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(stringLiteralEClass, StringLiteral.class, "StringLiteral", !IS_ABSTRACT, !IS_INTERFACE, + IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getStringLiteral_Value(), ecorePackage.getEString(), "value", null, 0, 1, StringLiteral.class, + !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(logicLiteralEClass, LogicLiteral.class, "LogicLiteral", !IS_ABSTRACT, !IS_INTERFACE, + IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getLogicLiteral_Value(), this.getLogicValue(), "value", null, 0, 1, LogicLiteral.class, + !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(emptyLiteralEClass, EmptyLiteral.class, "EmptyLiteral", !IS_ABSTRACT, !IS_INTERFACE, + IS_GENERATED_INSTANCE_CLASS); + + initEClass(castExpressionEClass, CastExpression.class, "CastExpression", !IS_ABSTRACT, !IS_INTERFACE, + IS_GENERATED_INSTANCE_CLASS); + initEReference(getCastExpression_Body(), this.getExpression(), null, "body", null, 0, 1, CastExpression.class, + !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, + IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getCastExpression_TargetType(), this.getSymbol(), null, "targetType", null, 0, 1, + CastExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, + !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(aggregateExpressionEClass, AggregateExpression.class, "AggregateExpression", IS_ABSTRACT, + !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getAggregateExpression_ForallVariables(), this.getVariable(), null, "forallVariables", null, 0, + -1, AggregateExpression.class, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, + !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getAggregateExpression_Condition(), this.getExpression(), null, "condition", null, 0, 1, + AggregateExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, + !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(countEClass, Count.class, "Count", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(aggregationEClass, Aggregation.class, "Aggregation", !IS_ABSTRACT, !IS_INTERFACE, + IS_GENERATED_INSTANCE_CLASS); + initEReference(getAggregation_Value(), this.getExpression(), null, "value", null, 0, 1, Aggregation.class, + !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, + IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getAggregation_Op(), this.getSymbol(), null, "op", null, 0, 1, Aggregation.class, !IS_TRANSIENT, + !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, + IS_ORDERED); + + initEClass(forallEClass, Forall.class, "Forall", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getForall_Body(), this.getExpression(), null, "body", null, 0, 1, Forall.class, !IS_TRANSIENT, + !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, + IS_ORDERED); + + initEClass(typeReferenceEClass, TypeReference.class, "TypeReference", !IS_ABSTRACT, !IS_INTERFACE, + IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getTypeReference_ForceObjectType(), ecorePackage.getEBoolean(), "forceObjectType", null, 0, 1, + TypeReference.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, + !IS_DERIVED, IS_ORDERED); + initEReference(getTypeReference_Type(), this.getSymbol(), null, "type", null, 0, 1, TypeReference.class, + !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, + IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(infinityLiteralEClass, InfinityLiteral.class, "InfinityLiteral", !IS_ABSTRACT, !IS_INTERFACE, + IS_GENERATED_INSTANCE_CLASS); + + initEClass(intervalEClass, Interval.class, "Interval", !IS_ABSTRACT, !IS_INTERFACE, + IS_GENERATED_INSTANCE_CLASS); + initEReference(getInterval_LowerBound(), this.getExpression(), null, "lowerBound", null, 0, 1, Interval.class, + !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, + IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getInterval_UpperBound(), this.getExpression(), null, "upperBound", null, 0, 1, Interval.class, + !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, + IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(functorEClass, Functor.class, "Functor", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getFunctor_Parameters(), this.getVariable(), null, "parameters", null, 0, -1, Functor.class, + !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, + IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(relationEClass, Relation.class, "Relation", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(baseRelationEClass, BaseRelation.class, "BaseRelation", !IS_ABSTRACT, !IS_INTERFACE, + IS_GENERATED_INSTANCE_CLASS); + + initEClass(predicateEClass, Predicate.class, "Predicate", !IS_ABSTRACT, !IS_INTERFACE, + IS_GENERATED_INSTANCE_CLASS); + + initEClass(datatypeEClass, Datatype.class, "Datatype", !IS_ABSTRACT, !IS_INTERFACE, + IS_GENERATED_INSTANCE_CLASS); + + initEClass(functionEClass, Function.class, "Function", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getFunction_ResultType(), this.getDatatype(), null, "resultType", null, 0, 1, Function.class, + !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, + IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(metricEClass, Metric.class, "Metric", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(operatorEClass, Operator.class, "Operator", !IS_ABSTRACT, !IS_INTERFACE, + IS_GENERATED_INSTANCE_CLASS); + + initEClass(nodeEClass, Node.class, "Node", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getNode_Named(), ecorePackage.getEBoolean(), "named", null, 0, 1, Node.class, !IS_TRANSIENT, + !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(statementEClass, Statement.class, "Statement", IS_ABSTRACT, !IS_INTERFACE, + IS_GENERATED_INSTANCE_CLASS); + + initEClass(abstractAssertionEClass, AbstractAssertion.class, "AbstractAssertion", IS_ABSTRACT, !IS_INTERFACE, + IS_GENERATED_INSTANCE_CLASS); + initEReference(getAbstractAssertion_Expression(), this.getExpression(), null, "expression", null, 0, 1, + AbstractAssertion.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, + !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getAbstractAssertion_Range(), this.getExpression(), null, "range", null, 0, 1, + AbstractAssertion.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, + !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(functorDefinitonEClass, FunctorDefiniton.class, "FunctorDefiniton", IS_ABSTRACT, !IS_INTERFACE, + IS_GENERATED_INSTANCE_CLASS); + initEReference(getFunctorDefiniton_Head(), this.getExpression(), null, "head", null, 0, 1, + FunctorDefiniton.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, + !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getFunctorDefiniton_Body(), this.getExpression(), null, "body", null, 0, 1, + FunctorDefiniton.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, + !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(predicateDefinitionEClass, PredicateDefinition.class, "PredicateDefinition", !IS_ABSTRACT, + !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(functionDefinitionEClass, FunctionDefinition.class, "FunctionDefinition", !IS_ABSTRACT, + !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getFunctionDefinition_ResultType(), this.getSymbol(), null, "resultType", null, 0, 1, + FunctionDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, + !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(attributeEClass, Attribute.class, "Attribute", IS_ABSTRACT, !IS_INTERFACE, + IS_GENERATED_INSTANCE_CLASS); + initEReference(getAttribute_Target(), this.getSymbol(), null, "target", null, 0, 1, Attribute.class, + !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, + IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getAttribute_Kind(), this.getAttributeKind(), "kind", null, 0, 1, Attribute.class, !IS_TRANSIENT, + !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(externDeclarationEClass, ExternDeclaration.class, "ExternDeclaration", IS_ABSTRACT, !IS_INTERFACE, + IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getExternDeclaration_Name(), ecorePackage.getEString(), "name", null, 0, 1, + ExternDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, + !IS_DERIVED, IS_ORDERED); + + initEClass(externFunctorDeclarationEClass, ExternFunctorDeclaration.class, "ExternFunctorDeclaration", + IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getExternFunctorDeclaration_ArgumentList(), this.getArgumentList(), null, "argumentList", null, + 0, 1, ExternFunctorDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, + !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(externPredicateDeclarationEClass, ExternPredicateDeclaration.class, "ExternPredicateDeclaration", + !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(externFunctionDeclarationEClass, ExternFunctionDeclaration.class, "ExternFunctionDeclaration", + !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getExternFunctionDeclaration_ResultType(), this.getSymbol(), null, "resultType", null, 0, 1, + ExternFunctionDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, + IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(externAggregationOperatorDeclarationEClass, ExternAggregationOperatorDeclaration.class, + "ExternAggregationOperatorDeclaration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getExternAggregationOperatorDeclaration_ArgumentType(), this.getSymbol(), null, "argumentType", + null, 0, 1, ExternAggregationOperatorDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, + !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getExternAggregationOperatorDeclaration_ResultType(), this.getSymbol(), null, "resultType", null, + 0, 1, ExternAggregationOperatorDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, + !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(externDatatypeDeclarationEClass, ExternDatatypeDeclaration.class, "ExternDatatypeDeclaration", + !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(classDeclarationEClass, ClassDeclaration.class, "ClassDeclaration", !IS_ABSTRACT, !IS_INTERFACE, + IS_GENERATED_INSTANCE_CLASS); + initEReference(getClassDeclaration_Fields(), this.getField(), null, "fields", null, 0, -1, + ClassDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, + !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getClassDeclaration_Name(), ecorePackage.getEString(), "name", null, 0, 1, + ClassDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, + !IS_DERIVED, IS_ORDERED); + initEAttribute(getClassDeclaration_Abstract(), ecorePackage.getEBoolean(), "abstract", null, 0, 1, + ClassDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, + !IS_DERIVED, IS_ORDERED); + initEReference(getClassDeclaration_Supertypes(), this.getSymbol(), null, "supertypes", null, 0, -1, + ClassDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, + !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getClassDeclaration_Root(), ecorePackage.getEBoolean(), "root", null, 0, 1, + ClassDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, + !IS_DERIVED, IS_ORDERED); + + initEClass(enumDeclarationEClass, EnumDeclaration.class, "EnumDeclaration", !IS_ABSTRACT, !IS_INTERFACE, + IS_GENERATED_INSTANCE_CLASS); + initEReference(getEnumDeclaration_Literals(), this.getEnumLiteral(), null, "literals", null, 0, -1, + EnumDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, + !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getEnumDeclaration_Name(), ecorePackage.getEString(), "name", null, 0, 1, EnumDeclaration.class, + !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(enumLiteralEClass, EnumLiteral.class, "EnumLiteral", !IS_ABSTRACT, !IS_INTERFACE, + IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getEnumLiteral_Name(), ecorePackage.getEString(), "name", null, 0, 1, EnumLiteral.class, + !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(fieldEClass, Field.class, "Field", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getField_Containment(), ecorePackage.getEBoolean(), "containment", null, 0, 1, Field.class, + !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getField_CrossReference(), ecorePackage.getEBoolean(), "crossReference", null, 0, 1, Field.class, + !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getField_Opposite(), this.getSymbol(), null, "opposite", null, 0, 1, Field.class, !IS_TRANSIENT, + !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, + IS_ORDERED); + initEReference(getField_Multiplicity(), this.getMultiplicity(), null, "multiplicity", null, 0, 1, Field.class, + !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, + IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getField_Type(), this.getSymbol(), null, "type", null, 0, 1, Field.class, !IS_TRANSIENT, + !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, + IS_ORDERED); + initEAttribute(getField_Name(), ecorePackage.getEString(), "name", null, 0, 1, Field.class, !IS_TRANSIENT, + !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(multiplicityEClass, Multiplicity.class, "Multiplicity", IS_ABSTRACT, !IS_INTERFACE, + IS_GENERATED_INSTANCE_CLASS); + + initEClass(defaultAssertionEClass, DefaultAssertion.class, "DefaultAssertion", !IS_ABSTRACT, !IS_INTERFACE, + IS_GENERATED_INSTANCE_CLASS); + + initEClass(assertionEClass, Assertion.class, "Assertion", !IS_ABSTRACT, !IS_INTERFACE, + IS_GENERATED_INSTANCE_CLASS); + + initEClass(unboundedMultiplicityEClass, UnboundedMultiplicity.class, "UnboundedMultiplicity", !IS_ABSTRACT, + !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(exactMultiplicityEClass, ExactMultiplicity.class, "ExactMultiplicity", !IS_ABSTRACT, !IS_INTERFACE, + IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getExactMultiplicity_Value(), ecorePackage.getEInt(), "value", null, 0, 1, + ExactMultiplicity.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, + !IS_DERIVED, IS_ORDERED); + + initEClass(boundedMultiplicityEClass, BoundedMultiplicity.class, "BoundedMultiplicity", !IS_ABSTRACT, + !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getBoundedMultiplicity_LowerBound(), ecorePackage.getEInt(), "lowerBound", null, 0, 1, + BoundedMultiplicity.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, + IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getBoundedMultiplicity_UpperBound(), ecorePackage.getEInt(), "upperBound", null, 0, 1, + BoundedMultiplicity.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, + IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(inlinePredicateAttrributesEClass, InlinePredicateAttrributes.class, "InlinePredicateAttrributes", + IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getInlinePredicateAttrributes_Error(), ecorePackage.getEBoolean(), "error", null, 0, 1, + InlinePredicateAttrributes.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, + IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getInlinePredicateAttrributes_Functional(), ecorePackage.getEBoolean(), "functional", null, 0, 1, + InlinePredicateAttrributes.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, + IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(aggregationOperatorEClass, AggregationOperator.class, "AggregationOperator", !IS_ABSTRACT, + !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getAggregationOperator_ArgumentType(), this.getDatatype(), null, "argumentType", null, 0, 1, + AggregationOperator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, + IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getAggregationOperator_ResultType(), this.getDatatype(), null, "resultType", null, 0, 1, + AggregationOperator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, + IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(problemEClass, Problem.class, "Problem", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getProblem_Name(), ecorePackage.getEString(), "name", null, 0, 1, Problem.class, !IS_TRANSIENT, + !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getProblem_Statements(), this.getStatement(), null, "statements", null, 0, -1, Problem.class, + !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, + IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getProblem_Symbols(), this.getSymbol(), null, "symbols", null, 0, -1, Problem.class, + IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, + !IS_DERIVED, IS_ORDERED); + initEReference(getProblem_Imports(), this.getImport(), null, "imports", null, 0, -1, Problem.class, + !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, + IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(typedStarArgumentEClass, TypedStarArgument.class, "TypedStarArgument", !IS_ABSTRACT, !IS_INTERFACE, + IS_GENERATED_INSTANCE_CLASS); + + initEClass(typedVariableArgumentEClass, TypedVariableArgument.class, "TypedVariableArgument", !IS_ABSTRACT, + !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getTypedVariableArgument_Name(), ecorePackage.getEString(), "name", null, 0, 1, + TypedVariableArgument.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, + IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(unnamedErrorPredicateDefintionEClass, UnnamedErrorPredicateDefintion.class, + "UnnamedErrorPredicateDefintion", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getUnnamedErrorPredicateDefintion_ArgumentList(), this.getArgumentList(), null, "argumentList", + null, 0, 1, UnnamedErrorPredicateDefintion.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, + IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getUnnamedErrorPredicateDefintion_Body(), this.getExpression(), null, "body", null, 0, 1, + UnnamedErrorPredicateDefintion.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, + !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(objectiveDeclarationEClass, ObjectiveDeclaration.class, "ObjectiveDeclaration", !IS_ABSTRACT, + !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getObjectiveDeclaration_Kind(), this.getObjectiveKind(), "kind", null, 0, 1, + ObjectiveDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, + IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getObjectiveDeclaration_Objective(), this.getExpression(), null, "objective", null, 0, 1, + ObjectiveDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, + !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(scopeDeclarationEClass, ScopeDeclaration.class, "ScopeDeclaration", !IS_ABSTRACT, !IS_INTERFACE, + IS_GENERATED_INSTANCE_CLASS); + initEReference(getScopeDeclaration_Type(), this.getSymbol(), null, "type", null, 0, 1, ScopeDeclaration.class, + !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, + IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(exactScopeEClass, ExactScope.class, "ExactScope", !IS_ABSTRACT, !IS_INTERFACE, + IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getExactScope_Size(), ecorePackage.getEInt(), "size", null, 0, 1, ExactScope.class, + !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(boundedScopeEClass, BoundedScope.class, "BoundedScope", !IS_ABSTRACT, !IS_INTERFACE, + IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getBoundedScope_LowerBound(), ecorePackage.getEInt(), "lowerBound", null, 0, 1, + BoundedScope.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, + !IS_DERIVED, IS_ORDERED); + initEAttribute(getBoundedScope_UpperBound(), ecorePackage.getEInt(), "upperBound", null, 0, 1, + BoundedScope.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, + !IS_DERIVED, IS_ORDERED); + + initEClass(lowerBoundedScopeEClass, LowerBoundedScope.class, "LowerBoundedScope", !IS_ABSTRACT, !IS_INTERFACE, + IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getLowerBoundedScope_LowerBound(), ecorePackage.getEInt(), "lowerBound", null, 0, 1, + LowerBoundedScope.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, + !IS_DERIVED, IS_ORDERED); + + initEClass(namespaceImportEClass, NamespaceImport.class, "NamespaceImport", !IS_ABSTRACT, !IS_INTERFACE, + IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getNamespaceImport_ImportedNamespace(), ecorePackage.getEString(), "importedNamespace", null, 0, + 1, NamespaceImport.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, + !IS_DERIVED, IS_ORDERED); + + initEClass(importEClass, Import.class, "Import", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getImport_Alias(), ecorePackage.getEString(), "alias", null, 0, 1, Import.class, !IS_TRANSIENT, + !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(uriImportEClass, UriImport.class, "UriImport", !IS_ABSTRACT, !IS_INTERFACE, + IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getUriImport_Uri(), ecorePackage.getEString(), "uri", null, 0, 1, UriImport.class, !IS_TRANSIENT, + !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + // Initialize enums and add enum literals + initEEnum(unaryOperatorEEnum, UnaryOperator.class, "UnaryOperator"); + addEEnumLiteral(unaryOperatorEEnum, UnaryOperator.NOT); + addEEnumLiteral(unaryOperatorEEnum, UnaryOperator.PLUS); + addEEnumLiteral(unaryOperatorEEnum, UnaryOperator.MINUS); + addEEnumLiteral(unaryOperatorEEnum, UnaryOperator.MAYBE); + + initEEnum(binaryOperatorEEnum, BinaryOperator.class, "BinaryOperator"); + addEEnumLiteral(binaryOperatorEEnum, BinaryOperator.PLUS); + addEEnumLiteral(binaryOperatorEEnum, BinaryOperator.MINUS); + addEEnumLiteral(binaryOperatorEEnum, BinaryOperator.MULTIPLY); + addEEnumLiteral(binaryOperatorEEnum, BinaryOperator.DIVIDE); + addEEnumLiteral(binaryOperatorEEnum, BinaryOperator.POW); + addEEnumLiteral(binaryOperatorEEnum, BinaryOperator.IN); + addEEnumLiteral(binaryOperatorEEnum, BinaryOperator.EQUALS); + addEEnumLiteral(binaryOperatorEEnum, BinaryOperator.NOT_EQUALS); + addEEnumLiteral(binaryOperatorEEnum, BinaryOperator.LESS); + addEEnumLiteral(binaryOperatorEEnum, BinaryOperator.LESS_EQUALS); + addEEnumLiteral(binaryOperatorEEnum, BinaryOperator.GREATER); + addEEnumLiteral(binaryOperatorEEnum, BinaryOperator.GREATER_EQUALS); + + initEEnum(logicValueEEnum, LogicValue.class, "LogicValue"); + addEEnumLiteral(logicValueEEnum, LogicValue.UNKNOWN); + addEEnumLiteral(logicValueEEnum, LogicValue.FALSE); + addEEnumLiteral(logicValueEEnum, LogicValue.TRUE); + addEEnumLiteral(logicValueEEnum, LogicValue.ERROR); + + initEEnum(objectiveKindEEnum, ObjectiveKind.class, "ObjectiveKind"); + addEEnumLiteral(objectiveKindEEnum, ObjectiveKind.MINIMIZATION); + addEEnumLiteral(objectiveKindEEnum, ObjectiveKind.MAXIMIZATION); + + initEEnum(attributeKindEEnum, AttributeKind.class, "AttributeKind"); + addEEnumLiteral(attributeKindEEnum, AttributeKind.FUNCTIONAL); + addEEnumLiteral(attributeKindEEnum, AttributeKind.ERROR); + addEEnumLiteral(attributeKindEEnum, AttributeKind.ROOT); + addEEnumLiteral(attributeKindEEnum, AttributeKind.CONTAINMENT); + + // Create resource + createResource(eNS_URI); + } + +} //SolverLanguagePackageImpl diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/StarArgumentImpl.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/StarArgumentImpl.java new file mode 100644 index 00000000..63dd9e11 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/StarArgumentImpl.java @@ -0,0 +1,37 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage.impl; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; +import org.eclipse.viatra.solver.language.solverLanguage.StarArgument; + +/** + * + * An implementation of the model object 'Star Argument'. + * + * + * @generated + */ +public class StarArgumentImpl extends ArgumentImpl implements StarArgument { + /** + * + * + * @generated + */ + protected StarArgumentImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return SolverLanguagePackage.Literals.STAR_ARGUMENT; + } + +} //StarArgumentImpl diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/StatementImpl.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/StatementImpl.java new file mode 100644 index 00000000..36404986 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/StatementImpl.java @@ -0,0 +1,39 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage.impl; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; +import org.eclipse.viatra.solver.language.solverLanguage.Statement; + +/** + * + * An implementation of the model object 'Statement'. + * + * + * @generated + */ +public abstract class StatementImpl extends MinimalEObjectImpl.Container implements Statement { + /** + * + * + * @generated + */ + protected StatementImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return SolverLanguagePackage.Literals.STATEMENT; + } + +} //StatementImpl diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/StringLiteralImpl.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/StringLiteralImpl.java new file mode 100644 index 00000000..8b321f80 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/StringLiteralImpl.java @@ -0,0 +1,164 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage.impl; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; +import org.eclipse.viatra.solver.language.solverLanguage.StringLiteral; + +/** + * + * An implementation of the model object 'String Literal'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.StringLiteralImpl#getValue Value}
    • + *
    + * + * @generated + */ +public class StringLiteralImpl extends LiteralImpl implements StringLiteral { + /** + * 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 StringLiteralImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return SolverLanguagePackage.Literals.STRING_LITERAL; + } + + /** + * + * + * @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, SolverLanguagePackage.STRING_LITERAL__VALUE, oldValue, + value)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case SolverLanguagePackage.STRING_LITERAL__VALUE: + return getValue(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case SolverLanguagePackage.STRING_LITERAL__VALUE: + setValue((String) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case SolverLanguagePackage.STRING_LITERAL__VALUE: + setValue(VALUE_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case SolverLanguagePackage.STRING_LITERAL__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(); + + StringBuilder result = new StringBuilder(super.toString()); + result.append(" (value: "); + result.append(value); + result.append(')'); + return result.toString(); + } + +} //StringLiteralImpl diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/SwitchImpl.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/SwitchImpl.java new file mode 100644 index 00000000..df89831b --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/SwitchImpl.java @@ -0,0 +1,150 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage.impl; + +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; + +import org.eclipse.viatra.solver.language.solverLanguage.Case; +import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; +import org.eclipse.viatra.solver.language.solverLanguage.Switch; + +/** + * + * An implementation of the model object 'Switch'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.SwitchImpl#getCases Cases}
    • + *
    + * + * @generated + */ +public class SwitchImpl extends ExpressionImpl implements Switch { + /** + * The cached value of the '{@link #getCases() Cases}' containment reference list. + * + * + * @see #getCases() + * @generated + * @ordered + */ + protected EList cases; + + /** + * + * + * @generated + */ + protected SwitchImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return SolverLanguagePackage.Literals.SWITCH; + } + + /** + * + * + * @generated + */ + public EList getCases() { + if (cases == null) { + cases = new EObjectContainmentEList(Case.class, this, SolverLanguagePackage.SWITCH__CASES); + } + return cases; + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case SolverLanguagePackage.SWITCH__CASES: + return ((InternalEList) getCases()).basicRemove(otherEnd, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case SolverLanguagePackage.SWITCH__CASES: + return getCases(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case SolverLanguagePackage.SWITCH__CASES: + getCases().clear(); + getCases().addAll((Collection) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case SolverLanguagePackage.SWITCH__CASES: + getCases().clear(); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case SolverLanguagePackage.SWITCH__CASES: + return cases != null && !cases.isEmpty(); + } + return super.eIsSet(featureID); + } + +} //SwitchImpl diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/SymbolImpl.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/SymbolImpl.java new file mode 100644 index 00000000..a9f76acb --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/SymbolImpl.java @@ -0,0 +1,164 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage.impl; + +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; + +import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; +import org.eclipse.viatra.solver.language.solverLanguage.Symbol; + +/** + * + * An implementation of the model object 'Symbol'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.SymbolImpl#getName Name}
    • + *
    + * + * @generated + */ +public abstract class SymbolImpl extends MinimalEObjectImpl.Container implements Symbol { + /** + * The default value of the '{@link #getName() Name}' attribute. + * + * + * @see #getName() + * @generated + * @ordered + */ + protected static final String NAME_EDEFAULT = null; + + /** + * The cached value of the '{@link #getName() Name}' attribute. + * + * + * @see #getName() + * @generated + * @ordered + */ + protected String name = NAME_EDEFAULT; + + /** + * + * + * @generated + */ + protected SymbolImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return SolverLanguagePackage.Literals.SYMBOL; + } + + /** + * + * + * @generated + */ + public String getName() { + return name; + } + + /** + * + * + * @generated + */ + public void setName(String newName) { + String oldName = name; + name = newName; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.SYMBOL__NAME, oldName, name)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case SolverLanguagePackage.SYMBOL__NAME: + return getName(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case SolverLanguagePackage.SYMBOL__NAME: + setName((String) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case SolverLanguagePackage.SYMBOL__NAME: + setName(NAME_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case SolverLanguagePackage.SYMBOL__NAME: + return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) + return super.toString(); + + StringBuilder result = new StringBuilder(super.toString()); + result.append(" (name: "); + result.append(name); + result.append(')'); + return result.toString(); + } + +} //SymbolImpl diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/TypeReferenceImpl.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/TypeReferenceImpl.java new file mode 100644 index 00000000..a3c76e63 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/TypeReferenceImpl.java @@ -0,0 +1,230 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage.impl; + +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.solver.language.solverLanguage.SolverLanguagePackage; +import org.eclipse.viatra.solver.language.solverLanguage.Symbol; +import org.eclipse.viatra.solver.language.solverLanguage.TypeReference; + +/** + * + * An implementation of the model object 'Type Reference'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.TypeReferenceImpl#isForceObjectType Force Object Type}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.TypeReferenceImpl#getType Type}
    • + *
    + * + * @generated + */ +public class TypeReferenceImpl extends MinimalEObjectImpl.Container implements TypeReference { + /** + * The default value of the '{@link #isForceObjectType() Force Object Type}' attribute. + * + * + * @see #isForceObjectType() + * @generated + * @ordered + */ + protected static final boolean FORCE_OBJECT_TYPE_EDEFAULT = false; + + /** + * The cached value of the '{@link #isForceObjectType() Force Object Type}' attribute. + * + * + * @see #isForceObjectType() + * @generated + * @ordered + */ + protected boolean forceObjectType = FORCE_OBJECT_TYPE_EDEFAULT; + + /** + * The cached value of the '{@link #getType() Type}' reference. + * + * + * @see #getType() + * @generated + * @ordered + */ + protected Symbol type; + + /** + * + * + * @generated + */ + protected TypeReferenceImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return SolverLanguagePackage.Literals.TYPE_REFERENCE; + } + + /** + * + * + * @generated + */ + public boolean isForceObjectType() { + return forceObjectType; + } + + /** + * + * + * @generated + */ + public void setForceObjectType(boolean newForceObjectType) { + boolean oldForceObjectType = forceObjectType; + forceObjectType = newForceObjectType; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, + SolverLanguagePackage.TYPE_REFERENCE__FORCE_OBJECT_TYPE, oldForceObjectType, forceObjectType)); + } + + /** + * + * + * @generated + */ + public Symbol getType() { + if (type != null && type.eIsProxy()) { + InternalEObject oldType = (InternalEObject) type; + type = (Symbol) eResolveProxy(oldType); + if (type != oldType) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, + SolverLanguagePackage.TYPE_REFERENCE__TYPE, oldType, type)); + } + } + return type; + } + + /** + * + * + * @generated + */ + public Symbol basicGetType() { + return type; + } + + /** + * + * + * @generated + */ + public void setType(Symbol newType) { + Symbol oldType = type; + type = newType; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.TYPE_REFERENCE__TYPE, oldType, + type)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case SolverLanguagePackage.TYPE_REFERENCE__FORCE_OBJECT_TYPE: + return isForceObjectType(); + case SolverLanguagePackage.TYPE_REFERENCE__TYPE: + if (resolve) + return getType(); + return basicGetType(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case SolverLanguagePackage.TYPE_REFERENCE__FORCE_OBJECT_TYPE: + setForceObjectType((Boolean) newValue); + return; + case SolverLanguagePackage.TYPE_REFERENCE__TYPE: + setType((Symbol) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case SolverLanguagePackage.TYPE_REFERENCE__FORCE_OBJECT_TYPE: + setForceObjectType(FORCE_OBJECT_TYPE_EDEFAULT); + return; + case SolverLanguagePackage.TYPE_REFERENCE__TYPE: + setType((Symbol) null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case SolverLanguagePackage.TYPE_REFERENCE__FORCE_OBJECT_TYPE: + return forceObjectType != FORCE_OBJECT_TYPE_EDEFAULT; + case SolverLanguagePackage.TYPE_REFERENCE__TYPE: + return type != null; + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) + return super.toString(); + + StringBuilder result = new StringBuilder(super.toString()); + result.append(" (forceObjectType: "); + result.append(forceObjectType); + result.append(')'); + return result.toString(); + } + +} //TypeReferenceImpl diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/TypedArgumentImpl.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/TypedArgumentImpl.java new file mode 100644 index 00000000..89778fc9 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/TypedArgumentImpl.java @@ -0,0 +1,182 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage.impl; + +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.viatra.solver.language.solverLanguage.SolverLanguagePackage; +import org.eclipse.viatra.solver.language.solverLanguage.TypeReference; +import org.eclipse.viatra.solver.language.solverLanguage.TypedArgument; + +/** + * + * An implementation of the model object 'Typed Argument'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.TypedArgumentImpl#getTypeReference Type Reference}
    • + *
    + * + * @generated + */ +public abstract class TypedArgumentImpl extends ArgumentImpl implements TypedArgument { + /** + * The cached value of the '{@link #getTypeReference() Type Reference}' containment reference. + * + * + * @see #getTypeReference() + * @generated + * @ordered + */ + protected TypeReference typeReference; + + /** + * + * + * @generated + */ + protected TypedArgumentImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return SolverLanguagePackage.Literals.TYPED_ARGUMENT; + } + + /** + * + * + * @generated + */ + public TypeReference getTypeReference() { + return typeReference; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetTypeReference(TypeReference newTypeReference, NotificationChain msgs) { + TypeReference oldTypeReference = typeReference; + typeReference = newTypeReference; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, + SolverLanguagePackage.TYPED_ARGUMENT__TYPE_REFERENCE, oldTypeReference, newTypeReference); + if (msgs == null) + msgs = notification; + else + msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + public void setTypeReference(TypeReference newTypeReference) { + if (newTypeReference != typeReference) { + NotificationChain msgs = null; + if (typeReference != null) + msgs = ((InternalEObject) typeReference).eInverseRemove(this, + EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.TYPED_ARGUMENT__TYPE_REFERENCE, null, msgs); + if (newTypeReference != null) + msgs = ((InternalEObject) newTypeReference).eInverseAdd(this, + EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.TYPED_ARGUMENT__TYPE_REFERENCE, null, msgs); + msgs = basicSetTypeReference(newTypeReference, msgs); + if (msgs != null) + msgs.dispatch(); + } else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.TYPED_ARGUMENT__TYPE_REFERENCE, + newTypeReference, newTypeReference)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case SolverLanguagePackage.TYPED_ARGUMENT__TYPE_REFERENCE: + return basicSetTypeReference(null, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case SolverLanguagePackage.TYPED_ARGUMENT__TYPE_REFERENCE: + return getTypeReference(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case SolverLanguagePackage.TYPED_ARGUMENT__TYPE_REFERENCE: + setTypeReference((TypeReference) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case SolverLanguagePackage.TYPED_ARGUMENT__TYPE_REFERENCE: + setTypeReference((TypeReference) null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case SolverLanguagePackage.TYPED_ARGUMENT__TYPE_REFERENCE: + return typeReference != null; + } + return super.eIsSet(featureID); + } + +} //TypedArgumentImpl diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/TypedStarArgumentImpl.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/TypedStarArgumentImpl.java new file mode 100644 index 00000000..ebee59b6 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/TypedStarArgumentImpl.java @@ -0,0 +1,37 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage.impl; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; +import org.eclipse.viatra.solver.language.solverLanguage.TypedStarArgument; + +/** + * + * An implementation of the model object 'Typed Star Argument'. + * + * + * @generated + */ +public class TypedStarArgumentImpl extends TypedArgumentImpl implements TypedStarArgument { + /** + * + * + * @generated + */ + protected TypedStarArgumentImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return SolverLanguagePackage.Literals.TYPED_STAR_ARGUMENT; + } + +} //TypedStarArgumentImpl diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/TypedVariableArgumentImpl.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/TypedVariableArgumentImpl.java new file mode 100644 index 00000000..6c83d121 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/TypedVariableArgumentImpl.java @@ -0,0 +1,164 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage.impl; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; +import org.eclipse.viatra.solver.language.solverLanguage.TypedVariableArgument; + +/** + * + * An implementation of the model object 'Typed Variable Argument'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.TypedVariableArgumentImpl#getName Name}
    • + *
    + * + * @generated + */ +public class TypedVariableArgumentImpl extends TypedArgumentImpl implements TypedVariableArgument { + /** + * The default value of the '{@link #getName() Name}' attribute. + * + * + * @see #getName() + * @generated + * @ordered + */ + protected static final String NAME_EDEFAULT = null; + + /** + * The cached value of the '{@link #getName() Name}' attribute. + * + * + * @see #getName() + * @generated + * @ordered + */ + protected String name = NAME_EDEFAULT; + + /** + * + * + * @generated + */ + protected TypedVariableArgumentImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return SolverLanguagePackage.Literals.TYPED_VARIABLE_ARGUMENT; + } + + /** + * + * + * @generated + */ + public String getName() { + return name; + } + + /** + * + * + * @generated + */ + public void setName(String newName) { + String oldName = name; + name = newName; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.TYPED_VARIABLE_ARGUMENT__NAME, + oldName, name)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case SolverLanguagePackage.TYPED_VARIABLE_ARGUMENT__NAME: + return getName(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case SolverLanguagePackage.TYPED_VARIABLE_ARGUMENT__NAME: + setName((String) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case SolverLanguagePackage.TYPED_VARIABLE_ARGUMENT__NAME: + setName(NAME_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case SolverLanguagePackage.TYPED_VARIABLE_ARGUMENT__NAME: + return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) + return super.toString(); + + StringBuilder result = new StringBuilder(super.toString()); + result.append(" (name: "); + result.append(name); + result.append(')'); + return result.toString(); + } + +} //TypedVariableArgumentImpl diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/UnaryExpressionImpl.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/UnaryExpressionImpl.java new file mode 100644 index 00000000..11291304 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/UnaryExpressionImpl.java @@ -0,0 +1,253 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage.impl; + +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.viatra.solver.language.solverLanguage.Expression; +import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; +import org.eclipse.viatra.solver.language.solverLanguage.UnaryExpression; +import org.eclipse.viatra.solver.language.solverLanguage.UnaryOperator; + +/** + * + * An implementation of the model object 'Unary Expression'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.UnaryExpressionImpl#getBody Body}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.UnaryExpressionImpl#getOp Op}
    • + *
    + * + * @generated + */ +public class UnaryExpressionImpl extends ExpressionImpl implements UnaryExpression { + /** + * The cached value of the '{@link #getBody() Body}' containment reference. + * + * + * @see #getBody() + * @generated + * @ordered + */ + protected Expression body; + + /** + * The default value of the '{@link #getOp() Op}' attribute. + * + * + * @see #getOp() + * @generated + * @ordered + */ + protected static final UnaryOperator OP_EDEFAULT = UnaryOperator.NOT; + + /** + * The cached value of the '{@link #getOp() Op}' attribute. + * + * + * @see #getOp() + * @generated + * @ordered + */ + protected UnaryOperator op = OP_EDEFAULT; + + /** + * + * + * @generated + */ + protected UnaryExpressionImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return SolverLanguagePackage.Literals.UNARY_EXPRESSION; + } + + /** + * + * + * @generated + */ + public Expression getBody() { + return body; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetBody(Expression newBody, NotificationChain msgs) { + Expression oldBody = body; + body = newBody; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, + SolverLanguagePackage.UNARY_EXPRESSION__BODY, oldBody, newBody); + if (msgs == null) + msgs = notification; + else + msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + public void setBody(Expression newBody) { + if (newBody != body) { + NotificationChain msgs = null; + if (body != null) + msgs = ((InternalEObject) body).eInverseRemove(this, + EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.UNARY_EXPRESSION__BODY, null, msgs); + if (newBody != null) + msgs = ((InternalEObject) newBody).eInverseAdd(this, + EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.UNARY_EXPRESSION__BODY, null, msgs); + msgs = basicSetBody(newBody, msgs); + if (msgs != null) + msgs.dispatch(); + } else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.UNARY_EXPRESSION__BODY, newBody, + newBody)); + } + + /** + * + * + * @generated + */ + public UnaryOperator getOp() { + return op; + } + + /** + * + * + * @generated + */ + public void setOp(UnaryOperator newOp) { + UnaryOperator oldOp = op; + op = newOp == null ? OP_EDEFAULT : newOp; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.UNARY_EXPRESSION__OP, oldOp, + op)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case SolverLanguagePackage.UNARY_EXPRESSION__BODY: + return basicSetBody(null, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case SolverLanguagePackage.UNARY_EXPRESSION__BODY: + return getBody(); + case SolverLanguagePackage.UNARY_EXPRESSION__OP: + return getOp(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case SolverLanguagePackage.UNARY_EXPRESSION__BODY: + setBody((Expression) newValue); + return; + case SolverLanguagePackage.UNARY_EXPRESSION__OP: + setOp((UnaryOperator) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case SolverLanguagePackage.UNARY_EXPRESSION__BODY: + setBody((Expression) null); + return; + case SolverLanguagePackage.UNARY_EXPRESSION__OP: + setOp(OP_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case SolverLanguagePackage.UNARY_EXPRESSION__BODY: + return body != null; + case SolverLanguagePackage.UNARY_EXPRESSION__OP: + return op != OP_EDEFAULT; + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) + return super.toString(); + + StringBuilder result = new StringBuilder(super.toString()); + result.append(" (op: "); + result.append(op); + result.append(')'); + return result.toString(); + } + +} //UnaryExpressionImpl diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/UnboundedMultiplicityImpl.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/UnboundedMultiplicityImpl.java new file mode 100644 index 00000000..d63928d6 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/UnboundedMultiplicityImpl.java @@ -0,0 +1,37 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage.impl; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; +import org.eclipse.viatra.solver.language.solverLanguage.UnboundedMultiplicity; + +/** + * + * An implementation of the model object 'Unbounded Multiplicity'. + * + * + * @generated + */ +public class UnboundedMultiplicityImpl extends MultiplicityImpl implements UnboundedMultiplicity { + /** + * + * + * @generated + */ + protected UnboundedMultiplicityImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return SolverLanguagePackage.Literals.UNBOUNDED_MULTIPLICITY; + } + +} //UnboundedMultiplicityImpl diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/UnnamedErrorPredicateDefintionImpl.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/UnnamedErrorPredicateDefintionImpl.java new file mode 100644 index 00000000..87f259a0 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/UnnamedErrorPredicateDefintionImpl.java @@ -0,0 +1,262 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage.impl; + +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.viatra.solver.language.solverLanguage.ArgumentList; +import org.eclipse.viatra.solver.language.solverLanguage.Expression; +import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; +import org.eclipse.viatra.solver.language.solverLanguage.UnnamedErrorPredicateDefintion; + +/** + * + * An implementation of the model object 'Unnamed Error Predicate Defintion'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.UnnamedErrorPredicateDefintionImpl#getArgumentList Argument List}
    • + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.UnnamedErrorPredicateDefintionImpl#getBody Body}
    • + *
    + * + * @generated + */ +public class UnnamedErrorPredicateDefintionImpl extends StatementImpl implements UnnamedErrorPredicateDefintion { + /** + * The cached value of the '{@link #getArgumentList() Argument List}' containment reference. + * + * + * @see #getArgumentList() + * @generated + * @ordered + */ + protected ArgumentList argumentList; + + /** + * The cached value of the '{@link #getBody() Body}' containment reference. + * + * + * @see #getBody() + * @generated + * @ordered + */ + protected Expression body; + + /** + * + * + * @generated + */ + protected UnnamedErrorPredicateDefintionImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return SolverLanguagePackage.Literals.UNNAMED_ERROR_PREDICATE_DEFINTION; + } + + /** + * + * + * @generated + */ + public ArgumentList getArgumentList() { + return argumentList; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetArgumentList(ArgumentList newArgumentList, NotificationChain msgs) { + ArgumentList oldArgumentList = argumentList; + argumentList = newArgumentList; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, + SolverLanguagePackage.UNNAMED_ERROR_PREDICATE_DEFINTION__ARGUMENT_LIST, oldArgumentList, + newArgumentList); + if (msgs == null) + msgs = notification; + else + msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + public void setArgumentList(ArgumentList newArgumentList) { + if (newArgumentList != argumentList) { + NotificationChain msgs = null; + if (argumentList != null) + msgs = ((InternalEObject) argumentList).eInverseRemove(this, + EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.UNNAMED_ERROR_PREDICATE_DEFINTION__ARGUMENT_LIST, + null, msgs); + if (newArgumentList != null) + msgs = ((InternalEObject) newArgumentList).eInverseAdd(this, + EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.UNNAMED_ERROR_PREDICATE_DEFINTION__ARGUMENT_LIST, + null, msgs); + msgs = basicSetArgumentList(newArgumentList, msgs); + if (msgs != null) + msgs.dispatch(); + } else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, + SolverLanguagePackage.UNNAMED_ERROR_PREDICATE_DEFINTION__ARGUMENT_LIST, newArgumentList, + newArgumentList)); + } + + /** + * + * + * @generated + */ + public Expression getBody() { + return body; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetBody(Expression newBody, NotificationChain msgs) { + Expression oldBody = body; + body = newBody; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, + SolverLanguagePackage.UNNAMED_ERROR_PREDICATE_DEFINTION__BODY, oldBody, newBody); + if (msgs == null) + msgs = notification; + else + msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + public void setBody(Expression newBody) { + if (newBody != body) { + NotificationChain msgs = null; + if (body != null) + msgs = ((InternalEObject) body).eInverseRemove(this, + EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.UNNAMED_ERROR_PREDICATE_DEFINTION__BODY, null, + msgs); + if (newBody != null) + msgs = ((InternalEObject) newBody).eInverseAdd(this, + EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.UNNAMED_ERROR_PREDICATE_DEFINTION__BODY, null, + msgs); + msgs = basicSetBody(newBody, msgs); + if (msgs != null) + msgs.dispatch(); + } else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, + SolverLanguagePackage.UNNAMED_ERROR_PREDICATE_DEFINTION__BODY, newBody, newBody)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case SolverLanguagePackage.UNNAMED_ERROR_PREDICATE_DEFINTION__ARGUMENT_LIST: + return basicSetArgumentList(null, msgs); + case SolverLanguagePackage.UNNAMED_ERROR_PREDICATE_DEFINTION__BODY: + return basicSetBody(null, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case SolverLanguagePackage.UNNAMED_ERROR_PREDICATE_DEFINTION__ARGUMENT_LIST: + return getArgumentList(); + case SolverLanguagePackage.UNNAMED_ERROR_PREDICATE_DEFINTION__BODY: + return getBody(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case SolverLanguagePackage.UNNAMED_ERROR_PREDICATE_DEFINTION__ARGUMENT_LIST: + setArgumentList((ArgumentList) newValue); + return; + case SolverLanguagePackage.UNNAMED_ERROR_PREDICATE_DEFINTION__BODY: + setBody((Expression) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case SolverLanguagePackage.UNNAMED_ERROR_PREDICATE_DEFINTION__ARGUMENT_LIST: + setArgumentList((ArgumentList) null); + return; + case SolverLanguagePackage.UNNAMED_ERROR_PREDICATE_DEFINTION__BODY: + setBody((Expression) null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case SolverLanguagePackage.UNNAMED_ERROR_PREDICATE_DEFINTION__ARGUMENT_LIST: + return argumentList != null; + case SolverLanguagePackage.UNNAMED_ERROR_PREDICATE_DEFINTION__BODY: + return body != null; + } + return super.eIsSet(featureID); + } + +} //UnnamedErrorPredicateDefintionImpl diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/UriImportImpl.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/UriImportImpl.java new file mode 100644 index 00000000..494f80d9 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/UriImportImpl.java @@ -0,0 +1,163 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage.impl; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; +import org.eclipse.viatra.solver.language.solverLanguage.UriImport; + +/** + * + * An implementation of the model object 'Uri Import'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.UriImportImpl#getUri Uri}
    • + *
    + * + * @generated + */ +public class UriImportImpl extends ImportImpl implements UriImport { + /** + * The default value of the '{@link #getUri() Uri}' attribute. + * + * + * @see #getUri() + * @generated + * @ordered + */ + protected static final String URI_EDEFAULT = null; + + /** + * The cached value of the '{@link #getUri() Uri}' attribute. + * + * + * @see #getUri() + * @generated + * @ordered + */ + protected String uri = URI_EDEFAULT; + + /** + * + * + * @generated + */ + protected UriImportImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return SolverLanguagePackage.Literals.URI_IMPORT; + } + + /** + * + * + * @generated + */ + public String getUri() { + return uri; + } + + /** + * + * + * @generated + */ + public void setUri(String newUri) { + String oldUri = uri; + uri = newUri; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.URI_IMPORT__URI, oldUri, uri)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case SolverLanguagePackage.URI_IMPORT__URI: + return getUri(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case SolverLanguagePackage.URI_IMPORT__URI: + setUri((String) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case SolverLanguagePackage.URI_IMPORT__URI: + setUri(URI_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case SolverLanguagePackage.URI_IMPORT__URI: + return URI_EDEFAULT == null ? uri != null : !URI_EDEFAULT.equals(uri); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) + return super.toString(); + + StringBuilder result = new StringBuilder(super.toString()); + result.append(" (uri: "); + result.append(uri); + result.append(')'); + return result.toString(); + } + +} //UriImportImpl diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/VariableImpl.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/VariableImpl.java new file mode 100644 index 00000000..7b92840a --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/VariableImpl.java @@ -0,0 +1,182 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage.impl; + +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.viatra.solver.language.solverLanguage.SolverLanguagePackage; +import org.eclipse.viatra.solver.language.solverLanguage.TypeReference; +import org.eclipse.viatra.solver.language.solverLanguage.Variable; + +/** + * + * An implementation of the model object 'Variable'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.VariableImpl#getTypeReference Type Reference}
    • + *
    + * + * @generated + */ +public class VariableImpl extends SymbolImpl implements Variable { + /** + * The cached value of the '{@link #getTypeReference() Type Reference}' containment reference. + * + * + * @see #getTypeReference() + * @generated + * @ordered + */ + protected TypeReference typeReference; + + /** + * + * + * @generated + */ + protected VariableImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return SolverLanguagePackage.Literals.VARIABLE; + } + + /** + * + * + * @generated + */ + public TypeReference getTypeReference() { + return typeReference; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetTypeReference(TypeReference newTypeReference, NotificationChain msgs) { + TypeReference oldTypeReference = typeReference; + typeReference = newTypeReference; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, + SolverLanguagePackage.VARIABLE__TYPE_REFERENCE, oldTypeReference, newTypeReference); + if (msgs == null) + msgs = notification; + else + msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + public void setTypeReference(TypeReference newTypeReference) { + if (newTypeReference != typeReference) { + NotificationChain msgs = null; + if (typeReference != null) + msgs = ((InternalEObject) typeReference).eInverseRemove(this, + EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.VARIABLE__TYPE_REFERENCE, null, msgs); + if (newTypeReference != null) + msgs = ((InternalEObject) newTypeReference).eInverseAdd(this, + EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.VARIABLE__TYPE_REFERENCE, null, msgs); + msgs = basicSetTypeReference(newTypeReference, msgs); + if (msgs != null) + msgs.dispatch(); + } else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.VARIABLE__TYPE_REFERENCE, + newTypeReference, newTypeReference)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case SolverLanguagePackage.VARIABLE__TYPE_REFERENCE: + return basicSetTypeReference(null, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case SolverLanguagePackage.VARIABLE__TYPE_REFERENCE: + return getTypeReference(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case SolverLanguagePackage.VARIABLE__TYPE_REFERENCE: + setTypeReference((TypeReference) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case SolverLanguagePackage.VARIABLE__TYPE_REFERENCE: + setTypeReference((TypeReference) null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case SolverLanguagePackage.VARIABLE__TYPE_REFERENCE: + return typeReference != null; + } + return super.eIsSet(featureID); + } + +} //VariableImpl diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/util/SolverLanguageAdapterFactory.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/util/SolverLanguageAdapterFactory.java new file mode 100644 index 00000000..f182e6d2 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/util/SolverLanguageAdapterFactory.java @@ -0,0 +1,1620 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage.util; + +import org.eclipse.emf.common.notify.Adapter; +import org.eclipse.emf.common.notify.Notifier; + +import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl; + +import org.eclipse.emf.ecore.EObject; + +import org.eclipse.viatra.solver.language.solverLanguage.*; + +/** + * + * The Adapter Factory for the model. + * It provides an adapter createXXX method for each class of the model. + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage + * @generated + */ +public class SolverLanguageAdapterFactory extends AdapterFactoryImpl { + /** + * The cached model package. + * + * + * @generated + */ + protected static SolverLanguagePackage modelPackage; + + /** + * Creates an instance of the adapter factory. + * + * + * @generated + */ + public SolverLanguageAdapterFactory() { + if (modelPackage == null) { + modelPackage = SolverLanguagePackage.eINSTANCE; + } + } + + /** + * Returns whether this factory is applicable for the type of the object. + * + * This implementation returns true if the object is either the model's package or is an instance object of the model. + * + * @return whether this factory is applicable for the type of the object. + * @generated + */ + @Override + public boolean isFactoryForType(Object object) { + if (object == modelPackage) { + return true; + } + if (object instanceof EObject) { + return ((EObject) object).eClass().getEPackage() == modelPackage; + } + return false; + } + + /** + * The switch that delegates to the createXXX methods. + * + * + * @generated + */ + protected SolverLanguageSwitch modelSwitch = new SolverLanguageSwitch() { + @Override + public Adapter casePathComponent(PathComponent object) { + return createPathComponentAdapter(); + } + + @Override + public Adapter caseSymbol(Symbol object) { + return createSymbolAdapter(); + } + + @Override + public Adapter caseCall(Call object) { + return createCallAdapter(); + } + + @Override + public Adapter caseReference(Reference object) { + return createReferenceAdapter(); + } + + @Override + public Adapter caseExpression(Expression object) { + return createExpressionAdapter(); + } + + @Override + public Adapter caseArgument(Argument object) { + return createArgumentAdapter(); + } + + @Override + public Adapter caseArgumentList(ArgumentList object) { + return createArgumentListAdapter(); + } + + @Override + public Adapter caseExpressionArgument(ExpressionArgument object) { + return createExpressionArgumentAdapter(); + } + + @Override + public Adapter caseStarArgument(StarArgument object) { + return createStarArgumentAdapter(); + } + + @Override + public Adapter caseTypedArgument(TypedArgument object) { + return createTypedArgumentAdapter(); + } + + @Override + public Adapter caseMultiaryExpession(MultiaryExpession object) { + return createMultiaryExpessionAdapter(); + } + + @Override + public Adapter caseVariable(Variable object) { + return createVariableAdapter(); + } + + @Override + public Adapter caseUnaryExpression(UnaryExpression object) { + return createUnaryExpressionAdapter(); + } + + @Override + public Adapter caseBinaryExpression(BinaryExpression object) { + return createBinaryExpressionAdapter(); + } + + @Override + public Adapter caseDisjunction(Disjunction object) { + return createDisjunctionAdapter(); + } + + @Override + public Adapter caseConjunction(Conjunction object) { + return createConjunctionAdapter(); + } + + @Override + public Adapter caseConditionalExpression(ConditionalExpression object) { + return createConditionalExpressionAdapter(); + } + + @Override + public Adapter caseSwitch(Switch object) { + return createSwitchAdapter(); + } + + @Override + public Adapter caseCase(Case object) { + return createCaseAdapter(); + } + + @Override + public Adapter caseLetExpression(LetExpression object) { + return createLetExpressionAdapter(); + } + + @Override + public Adapter caseLetBinding(LetBinding object) { + return createLetBindingAdapter(); + } + + @Override + public Adapter caseLiteral(Literal object) { + return createLiteralAdapter(); + } + + @Override + public Adapter caseIntLiteral(IntLiteral object) { + return createIntLiteralAdapter(); + } + + @Override + public Adapter caseRealLiteral(RealLiteral object) { + return createRealLiteralAdapter(); + } + + @Override + public Adapter caseStringLiteral(StringLiteral object) { + return createStringLiteralAdapter(); + } + + @Override + public Adapter caseLogicLiteral(LogicLiteral object) { + return createLogicLiteralAdapter(); + } + + @Override + public Adapter caseEmptyLiteral(EmptyLiteral object) { + return createEmptyLiteralAdapter(); + } + + @Override + public Adapter caseCastExpression(CastExpression object) { + return createCastExpressionAdapter(); + } + + @Override + public Adapter caseAggregateExpression(AggregateExpression object) { + return createAggregateExpressionAdapter(); + } + + @Override + public Adapter caseCount(Count object) { + return createCountAdapter(); + } + + @Override + public Adapter caseAggregation(Aggregation object) { + return createAggregationAdapter(); + } + + @Override + public Adapter caseForall(Forall object) { + return createForallAdapter(); + } + + @Override + public Adapter caseTypeReference(TypeReference object) { + return createTypeReferenceAdapter(); + } + + @Override + public Adapter caseInfinityLiteral(InfinityLiteral object) { + return createInfinityLiteralAdapter(); + } + + @Override + public Adapter caseInterval(Interval object) { + return createIntervalAdapter(); + } + + @Override + public Adapter caseFunctor(Functor object) { + return createFunctorAdapter(); + } + + @Override + public Adapter caseRelation(Relation object) { + return createRelationAdapter(); + } + + @Override + public Adapter caseBaseRelation(BaseRelation object) { + return createBaseRelationAdapter(); + } + + @Override + public Adapter casePredicate(Predicate object) { + return createPredicateAdapter(); + } + + @Override + public Adapter caseDatatype(Datatype object) { + return createDatatypeAdapter(); + } + + @Override + public Adapter caseFunction(Function object) { + return createFunctionAdapter(); + } + + @Override + public Adapter caseMetric(Metric object) { + return createMetricAdapter(); + } + + @Override + public Adapter caseOperator(Operator object) { + return createOperatorAdapter(); + } + + @Override + public Adapter caseNode(Node object) { + return createNodeAdapter(); + } + + @Override + public Adapter caseStatement(Statement object) { + return createStatementAdapter(); + } + + @Override + public Adapter caseAbstractAssertion(AbstractAssertion object) { + return createAbstractAssertionAdapter(); + } + + @Override + public Adapter caseFunctorDefiniton(FunctorDefiniton object) { + return createFunctorDefinitonAdapter(); + } + + @Override + public Adapter casePredicateDefinition(PredicateDefinition object) { + return createPredicateDefinitionAdapter(); + } + + @Override + public Adapter caseFunctionDefinition(FunctionDefinition object) { + return createFunctionDefinitionAdapter(); + } + + @Override + public Adapter caseAttribute(Attribute object) { + return createAttributeAdapter(); + } + + @Override + public Adapter caseExternDeclaration(ExternDeclaration object) { + return createExternDeclarationAdapter(); + } + + @Override + public Adapter caseExternFunctorDeclaration(ExternFunctorDeclaration object) { + return createExternFunctorDeclarationAdapter(); + } + + @Override + public Adapter caseExternPredicateDeclaration(ExternPredicateDeclaration object) { + return createExternPredicateDeclarationAdapter(); + } + + @Override + public Adapter caseExternFunctionDeclaration(ExternFunctionDeclaration object) { + return createExternFunctionDeclarationAdapter(); + } + + @Override + public Adapter caseExternAggregationOperatorDeclaration(ExternAggregationOperatorDeclaration object) { + return createExternAggregationOperatorDeclarationAdapter(); + } + + @Override + public Adapter caseExternDatatypeDeclaration(ExternDatatypeDeclaration object) { + return createExternDatatypeDeclarationAdapter(); + } + + @Override + public Adapter caseClassDeclaration(ClassDeclaration object) { + return createClassDeclarationAdapter(); + } + + @Override + public Adapter caseEnumDeclaration(EnumDeclaration object) { + return createEnumDeclarationAdapter(); + } + + @Override + public Adapter caseEnumLiteral(EnumLiteral object) { + return createEnumLiteralAdapter(); + } + + @Override + public Adapter caseField(Field object) { + return createFieldAdapter(); + } + + @Override + public Adapter caseMultiplicity(Multiplicity object) { + return createMultiplicityAdapter(); + } + + @Override + public Adapter caseDefaultAssertion(DefaultAssertion object) { + return createDefaultAssertionAdapter(); + } + + @Override + public Adapter caseAssertion(Assertion object) { + return createAssertionAdapter(); + } + + @Override + public Adapter caseUnboundedMultiplicity(UnboundedMultiplicity object) { + return createUnboundedMultiplicityAdapter(); + } + + @Override + public Adapter caseExactMultiplicity(ExactMultiplicity object) { + return createExactMultiplicityAdapter(); + } + + @Override + public Adapter caseBoundedMultiplicity(BoundedMultiplicity object) { + return createBoundedMultiplicityAdapter(); + } + + @Override + public Adapter caseInlinePredicateAttrributes(InlinePredicateAttrributes object) { + return createInlinePredicateAttrributesAdapter(); + } + + @Override + public Adapter caseAggregationOperator(AggregationOperator object) { + return createAggregationOperatorAdapter(); + } + + @Override + public Adapter caseProblem(Problem object) { + return createProblemAdapter(); + } + + @Override + public Adapter caseTypedStarArgument(TypedStarArgument object) { + return createTypedStarArgumentAdapter(); + } + + @Override + public Adapter caseTypedVariableArgument(TypedVariableArgument object) { + return createTypedVariableArgumentAdapter(); + } + + @Override + public Adapter caseUnnamedErrorPredicateDefintion(UnnamedErrorPredicateDefintion object) { + return createUnnamedErrorPredicateDefintionAdapter(); + } + + @Override + public Adapter caseObjectiveDeclaration(ObjectiveDeclaration object) { + return createObjectiveDeclarationAdapter(); + } + + @Override + public Adapter caseScopeDeclaration(ScopeDeclaration object) { + return createScopeDeclarationAdapter(); + } + + @Override + public Adapter caseExactScope(ExactScope object) { + return createExactScopeAdapter(); + } + + @Override + public Adapter caseBoundedScope(BoundedScope object) { + return createBoundedScopeAdapter(); + } + + @Override + public Adapter caseLowerBoundedScope(LowerBoundedScope object) { + return createLowerBoundedScopeAdapter(); + } + + @Override + public Adapter caseNamespaceImport(NamespaceImport object) { + return createNamespaceImportAdapter(); + } + + @Override + public Adapter caseImport(Import object) { + return createImportAdapter(); + } + + @Override + public Adapter caseUriImport(UriImport object) { + return createUriImportAdapter(); + } + + @Override + public Adapter defaultCase(EObject object) { + return createEObjectAdapter(); + } + }; + + /** + * Creates an adapter for the target. + * + * + * @param target the object to adapt. + * @return the adapter for the target. + * @generated + */ + @Override + public Adapter createAdapter(Notifier target) { + return modelSwitch.doSwitch((EObject) target); + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.PathComponent Path Component}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.viatra.solver.language.solverLanguage.PathComponent + * @generated + */ + public Adapter createPathComponentAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.Symbol Symbol}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.viatra.solver.language.solverLanguage.Symbol + * @generated + */ + public Adapter createSymbolAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.Call Call}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.viatra.solver.language.solverLanguage.Call + * @generated + */ + public Adapter createCallAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.Reference Reference}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.viatra.solver.language.solverLanguage.Reference + * @generated + */ + public Adapter createReferenceAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.Expression Expression}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.viatra.solver.language.solverLanguage.Expression + * @generated + */ + public Adapter createExpressionAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.Argument Argument}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.viatra.solver.language.solverLanguage.Argument + * @generated + */ + public Adapter createArgumentAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.ArgumentList Argument List}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.viatra.solver.language.solverLanguage.ArgumentList + * @generated + */ + public Adapter createArgumentListAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.ExpressionArgument Expression Argument}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.viatra.solver.language.solverLanguage.ExpressionArgument + * @generated + */ + public Adapter createExpressionArgumentAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.StarArgument Star Argument}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.viatra.solver.language.solverLanguage.StarArgument + * @generated + */ + public Adapter createStarArgumentAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.TypedArgument Typed Argument}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.viatra.solver.language.solverLanguage.TypedArgument + * @generated + */ + public Adapter createTypedArgumentAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.MultiaryExpession Multiary Expession}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.viatra.solver.language.solverLanguage.MultiaryExpession + * @generated + */ + public Adapter createMultiaryExpessionAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.Variable Variable}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.viatra.solver.language.solverLanguage.Variable + * @generated + */ + public Adapter createVariableAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.UnaryExpression Unary Expression}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.viatra.solver.language.solverLanguage.UnaryExpression + * @generated + */ + public Adapter createUnaryExpressionAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.BinaryExpression Binary Expression}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.viatra.solver.language.solverLanguage.BinaryExpression + * @generated + */ + public Adapter createBinaryExpressionAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.Disjunction Disjunction}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.viatra.solver.language.solverLanguage.Disjunction + * @generated + */ + public Adapter createDisjunctionAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.Conjunction Conjunction}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.viatra.solver.language.solverLanguage.Conjunction + * @generated + */ + public Adapter createConjunctionAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.ConditionalExpression Conditional Expression}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.viatra.solver.language.solverLanguage.ConditionalExpression + * @generated + */ + public Adapter createConditionalExpressionAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.Switch Switch}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.viatra.solver.language.solverLanguage.Switch + * @generated + */ + public Adapter createSwitchAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.Case Case}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.viatra.solver.language.solverLanguage.Case + * @generated + */ + public Adapter createCaseAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.LetExpression Let Expression}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.viatra.solver.language.solverLanguage.LetExpression + * @generated + */ + public Adapter createLetExpressionAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.LetBinding Let Binding}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.viatra.solver.language.solverLanguage.LetBinding + * @generated + */ + public Adapter createLetBindingAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.Literal Literal}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.viatra.solver.language.solverLanguage.Literal + * @generated + */ + public Adapter createLiteralAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.IntLiteral Int Literal}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.viatra.solver.language.solverLanguage.IntLiteral + * @generated + */ + public Adapter createIntLiteralAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.RealLiteral Real Literal}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.viatra.solver.language.solverLanguage.RealLiteral + * @generated + */ + public Adapter createRealLiteralAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.StringLiteral String Literal}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.viatra.solver.language.solverLanguage.StringLiteral + * @generated + */ + public Adapter createStringLiteralAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.LogicLiteral Logic Literal}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.viatra.solver.language.solverLanguage.LogicLiteral + * @generated + */ + public Adapter createLogicLiteralAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.EmptyLiteral Empty Literal}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.viatra.solver.language.solverLanguage.EmptyLiteral + * @generated + */ + public Adapter createEmptyLiteralAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.CastExpression Cast Expression}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.viatra.solver.language.solverLanguage.CastExpression + * @generated + */ + public Adapter createCastExpressionAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.AggregateExpression Aggregate Expression}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.viatra.solver.language.solverLanguage.AggregateExpression + * @generated + */ + public Adapter createAggregateExpressionAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.Count Count}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.viatra.solver.language.solverLanguage.Count + * @generated + */ + public Adapter createCountAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.Aggregation Aggregation}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.viatra.solver.language.solverLanguage.Aggregation + * @generated + */ + public Adapter createAggregationAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.Forall Forall}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.viatra.solver.language.solverLanguage.Forall + * @generated + */ + public Adapter createForallAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.TypeReference Type Reference}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.viatra.solver.language.solverLanguage.TypeReference + * @generated + */ + public Adapter createTypeReferenceAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.InfinityLiteral Infinity Literal}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.viatra.solver.language.solverLanguage.InfinityLiteral + * @generated + */ + public Adapter createInfinityLiteralAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.Interval Interval}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.viatra.solver.language.solverLanguage.Interval + * @generated + */ + public Adapter createIntervalAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.Functor Functor}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.viatra.solver.language.solverLanguage.Functor + * @generated + */ + public Adapter createFunctorAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.Relation Relation}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.viatra.solver.language.solverLanguage.Relation + * @generated + */ + public Adapter createRelationAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.BaseRelation Base Relation}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.viatra.solver.language.solverLanguage.BaseRelation + * @generated + */ + public Adapter createBaseRelationAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.Predicate Predicate}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.viatra.solver.language.solverLanguage.Predicate + * @generated + */ + public Adapter createPredicateAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.Datatype Datatype}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.viatra.solver.language.solverLanguage.Datatype + * @generated + */ + public Adapter createDatatypeAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.Function Function}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.viatra.solver.language.solverLanguage.Function + * @generated + */ + public Adapter createFunctionAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.Metric Metric}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.viatra.solver.language.solverLanguage.Metric + * @generated + */ + public Adapter createMetricAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.Operator Operator}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.viatra.solver.language.solverLanguage.Operator + * @generated + */ + public Adapter createOperatorAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.Node Node}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.viatra.solver.language.solverLanguage.Node + * @generated + */ + public Adapter createNodeAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.Statement Statement}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.viatra.solver.language.solverLanguage.Statement + * @generated + */ + public Adapter createStatementAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.AbstractAssertion Abstract Assertion}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.viatra.solver.language.solverLanguage.AbstractAssertion + * @generated + */ + public Adapter createAbstractAssertionAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.FunctorDefiniton Functor Definiton}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.viatra.solver.language.solverLanguage.FunctorDefiniton + * @generated + */ + public Adapter createFunctorDefinitonAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.PredicateDefinition Predicate Definition}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.viatra.solver.language.solverLanguage.PredicateDefinition + * @generated + */ + public Adapter createPredicateDefinitionAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.FunctionDefinition Function Definition}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.viatra.solver.language.solverLanguage.FunctionDefinition + * @generated + */ + public Adapter createFunctionDefinitionAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.Attribute Attribute}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.viatra.solver.language.solverLanguage.Attribute + * @generated + */ + public Adapter createAttributeAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.ExternDeclaration Extern Declaration}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.viatra.solver.language.solverLanguage.ExternDeclaration + * @generated + */ + public Adapter createExternDeclarationAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.ExternFunctorDeclaration Extern Functor Declaration}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.viatra.solver.language.solverLanguage.ExternFunctorDeclaration + * @generated + */ + public Adapter createExternFunctorDeclarationAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.ExternPredicateDeclaration Extern Predicate Declaration}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.viatra.solver.language.solverLanguage.ExternPredicateDeclaration + * @generated + */ + public Adapter createExternPredicateDeclarationAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.ExternFunctionDeclaration Extern Function Declaration}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.viatra.solver.language.solverLanguage.ExternFunctionDeclaration + * @generated + */ + public Adapter createExternFunctionDeclarationAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.ExternAggregationOperatorDeclaration Extern Aggregation Operator Declaration}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.viatra.solver.language.solverLanguage.ExternAggregationOperatorDeclaration + * @generated + */ + public Adapter createExternAggregationOperatorDeclarationAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.ExternDatatypeDeclaration Extern Datatype Declaration}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.viatra.solver.language.solverLanguage.ExternDatatypeDeclaration + * @generated + */ + public Adapter createExternDatatypeDeclarationAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.ClassDeclaration Class Declaration}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.viatra.solver.language.solverLanguage.ClassDeclaration + * @generated + */ + public Adapter createClassDeclarationAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.EnumDeclaration Enum Declaration}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.viatra.solver.language.solverLanguage.EnumDeclaration + * @generated + */ + public Adapter createEnumDeclarationAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.EnumLiteral Enum Literal}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.viatra.solver.language.solverLanguage.EnumLiteral + * @generated + */ + public Adapter createEnumLiteralAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.Field Field}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.viatra.solver.language.solverLanguage.Field + * @generated + */ + public Adapter createFieldAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.Multiplicity Multiplicity}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.viatra.solver.language.solverLanguage.Multiplicity + * @generated + */ + public Adapter createMultiplicityAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.DefaultAssertion Default Assertion}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.viatra.solver.language.solverLanguage.DefaultAssertion + * @generated + */ + public Adapter createDefaultAssertionAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.Assertion Assertion}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.viatra.solver.language.solverLanguage.Assertion + * @generated + */ + public Adapter createAssertionAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.UnboundedMultiplicity Unbounded Multiplicity}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.viatra.solver.language.solverLanguage.UnboundedMultiplicity + * @generated + */ + public Adapter createUnboundedMultiplicityAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.ExactMultiplicity Exact Multiplicity}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.viatra.solver.language.solverLanguage.ExactMultiplicity + * @generated + */ + public Adapter createExactMultiplicityAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.BoundedMultiplicity Bounded Multiplicity}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.viatra.solver.language.solverLanguage.BoundedMultiplicity + * @generated + */ + public Adapter createBoundedMultiplicityAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.InlinePredicateAttrributes Inline Predicate Attrributes}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.viatra.solver.language.solverLanguage.InlinePredicateAttrributes + * @generated + */ + public Adapter createInlinePredicateAttrributesAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.AggregationOperator Aggregation Operator}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.viatra.solver.language.solverLanguage.AggregationOperator + * @generated + */ + public Adapter createAggregationOperatorAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.Problem Problem}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.viatra.solver.language.solverLanguage.Problem + * @generated + */ + public Adapter createProblemAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.TypedStarArgument Typed Star Argument}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.viatra.solver.language.solverLanguage.TypedStarArgument + * @generated + */ + public Adapter createTypedStarArgumentAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.TypedVariableArgument Typed Variable Argument}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.viatra.solver.language.solverLanguage.TypedVariableArgument + * @generated + */ + public Adapter createTypedVariableArgumentAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.UnnamedErrorPredicateDefintion Unnamed Error Predicate Defintion}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.viatra.solver.language.solverLanguage.UnnamedErrorPredicateDefintion + * @generated + */ + public Adapter createUnnamedErrorPredicateDefintionAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.ObjectiveDeclaration Objective Declaration}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.viatra.solver.language.solverLanguage.ObjectiveDeclaration + * @generated + */ + public Adapter createObjectiveDeclarationAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.ScopeDeclaration Scope Declaration}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.viatra.solver.language.solverLanguage.ScopeDeclaration + * @generated + */ + public Adapter createScopeDeclarationAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.ExactScope Exact Scope}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.viatra.solver.language.solverLanguage.ExactScope + * @generated + */ + public Adapter createExactScopeAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.BoundedScope Bounded Scope}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.viatra.solver.language.solverLanguage.BoundedScope + * @generated + */ + public Adapter createBoundedScopeAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.LowerBoundedScope Lower Bounded Scope}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.viatra.solver.language.solverLanguage.LowerBoundedScope + * @generated + */ + public Adapter createLowerBoundedScopeAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.NamespaceImport Namespace Import}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.viatra.solver.language.solverLanguage.NamespaceImport + * @generated + */ + public Adapter createNamespaceImportAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.Import Import}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.viatra.solver.language.solverLanguage.Import + * @generated + */ + public Adapter createImportAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.UriImport Uri Import}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see org.eclipse.viatra.solver.language.solverLanguage.UriImport + * @generated + */ + public Adapter createUriImportAdapter() { + return null; + } + + /** + * Creates a new adapter for the default case. + * + * This default implementation returns null. + * + * @return the new adapter. + * @generated + */ + public Adapter createEObjectAdapter() { + return null; + } + +} //SolverLanguageAdapterFactory diff --git a/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/util/SolverLanguageSwitch.java b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/util/SolverLanguageSwitch.java new file mode 100644 index 00000000..4786bb62 --- /dev/null +++ b/Application/org.eclipse.viatra.solver.language.model/src-gen/org/eclipse/viatra/solver/language/solverLanguage/util/SolverLanguageSwitch.java @@ -0,0 +1,2114 @@ +/** + */ +package org.eclipse.viatra.solver.language.solverLanguage.util; + +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.EPackage; + +import org.eclipse.emf.ecore.util.Switch; + +import org.eclipse.viatra.solver.language.solverLanguage.*; + +/** + * + * The Switch for the model's inheritance hierarchy. + * It supports the call {@link #doSwitch(EObject) doSwitch(object)} + * to invoke the caseXXX method for each class of the model, + * starting with the actual class of the object + * and proceeding up the inheritance hierarchy + * until a non-null result is returned, + * which is the result of the switch. + * + * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage + * @generated + */ +public class SolverLanguageSwitch extends Switch { + /** + * The cached model package + * + * + * @generated + */ + protected static SolverLanguagePackage modelPackage; + + /** + * Creates an instance of the switch. + * + * + * @generated + */ + public SolverLanguageSwitch() { + if (modelPackage == null) { + modelPackage = SolverLanguagePackage.eINSTANCE; + } + } + + /** + * Checks whether this is a switch for the given package. + * + * + * @param ePackage the package in question. + * @return whether this is a switch for the given package. + * @generated + */ + @Override + protected boolean isSwitchFor(EPackage ePackage) { + return ePackage == modelPackage; + } + + /** + * Calls caseXXX for each class of the model until one returns a non null result; it yields that result. + * + * + * @return the first non-null result returned by a caseXXX call. + * @generated + */ + @Override + protected T doSwitch(int classifierID, EObject theEObject) { + switch (classifierID) { + case SolverLanguagePackage.PATH_COMPONENT: { + PathComponent pathComponent = (PathComponent) theEObject; + T result = casePathComponent(pathComponent); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case SolverLanguagePackage.SYMBOL: { + Symbol symbol = (Symbol) theEObject; + T result = caseSymbol(symbol); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case SolverLanguagePackage.CALL: { + Call call = (Call) theEObject; + T result = caseCall(call); + if (result == null) + result = caseExpression(call); + if (result == null) + result = caseStatement(call); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case SolverLanguagePackage.REFERENCE: { + Reference reference = (Reference) theEObject; + T result = caseReference(reference); + if (result == null) + result = caseExpression(reference); + if (result == null) + result = caseStatement(reference); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case SolverLanguagePackage.EXPRESSION: { + Expression expression = (Expression) theEObject; + T result = caseExpression(expression); + if (result == null) + result = caseStatement(expression); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case SolverLanguagePackage.ARGUMENT: { + Argument argument = (Argument) theEObject; + T result = caseArgument(argument); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case SolverLanguagePackage.ARGUMENT_LIST: { + ArgumentList argumentList = (ArgumentList) theEObject; + T result = caseArgumentList(argumentList); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case SolverLanguagePackage.EXPRESSION_ARGUMENT: { + ExpressionArgument expressionArgument = (ExpressionArgument) theEObject; + T result = caseExpressionArgument(expressionArgument); + if (result == null) + result = caseArgument(expressionArgument); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case SolverLanguagePackage.STAR_ARGUMENT: { + StarArgument starArgument = (StarArgument) theEObject; + T result = caseStarArgument(starArgument); + if (result == null) + result = caseArgument(starArgument); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case SolverLanguagePackage.TYPED_ARGUMENT: { + TypedArgument typedArgument = (TypedArgument) theEObject; + T result = caseTypedArgument(typedArgument); + if (result == null) + result = caseArgument(typedArgument); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case SolverLanguagePackage.MULTIARY_EXPESSION: { + MultiaryExpession multiaryExpession = (MultiaryExpession) theEObject; + T result = caseMultiaryExpession(multiaryExpession); + if (result == null) + result = caseExpression(multiaryExpession); + if (result == null) + result = caseStatement(multiaryExpession); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case SolverLanguagePackage.VARIABLE: { + Variable variable = (Variable) theEObject; + T result = caseVariable(variable); + if (result == null) + result = caseSymbol(variable); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case SolverLanguagePackage.UNARY_EXPRESSION: { + UnaryExpression unaryExpression = (UnaryExpression) theEObject; + T result = caseUnaryExpression(unaryExpression); + if (result == null) + result = caseExpression(unaryExpression); + if (result == null) + result = caseStatement(unaryExpression); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case SolverLanguagePackage.BINARY_EXPRESSION: { + BinaryExpression binaryExpression = (BinaryExpression) theEObject; + T result = caseBinaryExpression(binaryExpression); + if (result == null) + result = caseExpression(binaryExpression); + if (result == null) + result = caseStatement(binaryExpression); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case SolverLanguagePackage.DISJUNCTION: { + Disjunction disjunction = (Disjunction) theEObject; + T result = caseDisjunction(disjunction); + if (result == null) + result = caseMultiaryExpession(disjunction); + if (result == null) + result = caseExpression(disjunction); + if (result == null) + result = caseStatement(disjunction); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case SolverLanguagePackage.CONJUNCTION: { + Conjunction conjunction = (Conjunction) theEObject; + T result = caseConjunction(conjunction); + if (result == null) + result = caseMultiaryExpession(conjunction); + if (result == null) + result = caseExpression(conjunction); + if (result == null) + result = caseStatement(conjunction); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case SolverLanguagePackage.CONDITIONAL_EXPRESSION: { + ConditionalExpression conditionalExpression = (ConditionalExpression) theEObject; + T result = caseConditionalExpression(conditionalExpression); + if (result == null) + result = caseExpression(conditionalExpression); + if (result == null) + result = caseStatement(conditionalExpression); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case SolverLanguagePackage.SWITCH: { + org.eclipse.viatra.solver.language.solverLanguage.Switch switch_ = (org.eclipse.viatra.solver.language.solverLanguage.Switch) theEObject; + T result = caseSwitch(switch_); + if (result == null) + result = caseExpression(switch_); + if (result == null) + result = caseStatement(switch_); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case SolverLanguagePackage.CASE: { + Case case_ = (Case) theEObject; + T result = caseCase(case_); + if (result == null) + result = caseExpression(case_); + if (result == null) + result = caseStatement(case_); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case SolverLanguagePackage.LET_EXPRESSION: { + LetExpression letExpression = (LetExpression) theEObject; + T result = caseLetExpression(letExpression); + if (result == null) + result = caseExpression(letExpression); + if (result == null) + result = caseStatement(letExpression); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case SolverLanguagePackage.LET_BINDING: { + LetBinding letBinding = (LetBinding) theEObject; + T result = caseLetBinding(letBinding); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case SolverLanguagePackage.LITERAL: { + Literal literal = (Literal) theEObject; + T result = caseLiteral(literal); + if (result == null) + result = caseExpression(literal); + if (result == null) + result = caseStatement(literal); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case SolverLanguagePackage.INT_LITERAL: { + IntLiteral intLiteral = (IntLiteral) theEObject; + T result = caseIntLiteral(intLiteral); + if (result == null) + result = caseLiteral(intLiteral); + if (result == null) + result = caseExpression(intLiteral); + if (result == null) + result = caseStatement(intLiteral); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case SolverLanguagePackage.REAL_LITERAL: { + RealLiteral realLiteral = (RealLiteral) theEObject; + T result = caseRealLiteral(realLiteral); + if (result == null) + result = caseLiteral(realLiteral); + if (result == null) + result = caseExpression(realLiteral); + if (result == null) + result = caseStatement(realLiteral); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case SolverLanguagePackage.STRING_LITERAL: { + StringLiteral stringLiteral = (StringLiteral) theEObject; + T result = caseStringLiteral(stringLiteral); + if (result == null) + result = caseLiteral(stringLiteral); + if (result == null) + result = caseExpression(stringLiteral); + if (result == null) + result = caseStatement(stringLiteral); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case SolverLanguagePackage.LOGIC_LITERAL: { + LogicLiteral logicLiteral = (LogicLiteral) theEObject; + T result = caseLogicLiteral(logicLiteral); + if (result == null) + result = caseLiteral(logicLiteral); + if (result == null) + result = caseExpression(logicLiteral); + if (result == null) + result = caseStatement(logicLiteral); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case SolverLanguagePackage.EMPTY_LITERAL: { + EmptyLiteral emptyLiteral = (EmptyLiteral) theEObject; + T result = caseEmptyLiteral(emptyLiteral); + if (result == null) + result = caseLiteral(emptyLiteral); + if (result == null) + result = caseExpression(emptyLiteral); + if (result == null) + result = caseStatement(emptyLiteral); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case SolverLanguagePackage.CAST_EXPRESSION: { + CastExpression castExpression = (CastExpression) theEObject; + T result = caseCastExpression(castExpression); + if (result == null) + result = caseExpression(castExpression); + if (result == null) + result = caseStatement(castExpression); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case SolverLanguagePackage.AGGREGATE_EXPRESSION: { + AggregateExpression aggregateExpression = (AggregateExpression) theEObject; + T result = caseAggregateExpression(aggregateExpression); + if (result == null) + result = caseExpression(aggregateExpression); + if (result == null) + result = caseStatement(aggregateExpression); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case SolverLanguagePackage.COUNT: { + Count count = (Count) theEObject; + T result = caseCount(count); + if (result == null) + result = caseAggregateExpression(count); + if (result == null) + result = caseExpression(count); + if (result == null) + result = caseStatement(count); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case SolverLanguagePackage.AGGREGATION: { + Aggregation aggregation = (Aggregation) theEObject; + T result = caseAggregation(aggregation); + if (result == null) + result = caseAggregateExpression(aggregation); + if (result == null) + result = caseExpression(aggregation); + if (result == null) + result = caseStatement(aggregation); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case SolverLanguagePackage.FORALL: { + Forall forall = (Forall) theEObject; + T result = caseForall(forall); + if (result == null) + result = caseAggregateExpression(forall); + if (result == null) + result = caseExpression(forall); + if (result == null) + result = caseStatement(forall); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case SolverLanguagePackage.TYPE_REFERENCE: { + TypeReference typeReference = (TypeReference) theEObject; + T result = caseTypeReference(typeReference); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case SolverLanguagePackage.INFINITY_LITERAL: { + InfinityLiteral infinityLiteral = (InfinityLiteral) theEObject; + T result = caseInfinityLiteral(infinityLiteral); + if (result == null) + result = caseLiteral(infinityLiteral); + if (result == null) + result = caseExpression(infinityLiteral); + if (result == null) + result = caseStatement(infinityLiteral); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case SolverLanguagePackage.INTERVAL: { + Interval interval = (Interval) theEObject; + T result = caseInterval(interval); + if (result == null) + result = caseExpression(interval); + if (result == null) + result = caseStatement(interval); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case SolverLanguagePackage.FUNCTOR: { + Functor functor = (Functor) theEObject; + T result = caseFunctor(functor); + if (result == null) + result = caseSymbol(functor); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case SolverLanguagePackage.RELATION: { + Relation relation = (Relation) theEObject; + T result = caseRelation(relation); + if (result == null) + result = caseFunctor(relation); + if (result == null) + result = caseSymbol(relation); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case SolverLanguagePackage.BASE_RELATION: { + BaseRelation baseRelation = (BaseRelation) theEObject; + T result = caseBaseRelation(baseRelation); + if (result == null) + result = caseRelation(baseRelation); + if (result == null) + result = caseFunctor(baseRelation); + if (result == null) + result = caseSymbol(baseRelation); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case SolverLanguagePackage.PREDICATE: { + Predicate predicate = (Predicate) theEObject; + T result = casePredicate(predicate); + if (result == null) + result = caseRelation(predicate); + if (result == null) + result = caseFunctor(predicate); + if (result == null) + result = caseSymbol(predicate); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case SolverLanguagePackage.DATATYPE: { + Datatype datatype = (Datatype) theEObject; + T result = caseDatatype(datatype); + if (result == null) + result = caseRelation(datatype); + if (result == null) + result = caseFunctor(datatype); + if (result == null) + result = caseSymbol(datatype); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case SolverLanguagePackage.FUNCTION: { + Function function = (Function) theEObject; + T result = caseFunction(function); + if (result == null) + result = caseFunctor(function); + if (result == null) + result = caseSymbol(function); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case SolverLanguagePackage.METRIC: { + Metric metric = (Metric) theEObject; + T result = caseMetric(metric); + if (result == null) + result = caseFunction(metric); + if (result == null) + result = caseFunctor(metric); + if (result == null) + result = caseSymbol(metric); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case SolverLanguagePackage.OPERATOR: { + Operator operator = (Operator) theEObject; + T result = caseOperator(operator); + if (result == null) + result = caseFunction(operator); + if (result == null) + result = caseFunctor(operator); + if (result == null) + result = caseSymbol(operator); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case SolverLanguagePackage.NODE: { + Node node = (Node) theEObject; + T result = caseNode(node); + if (result == null) + result = caseSymbol(node); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case SolverLanguagePackage.STATEMENT: { + Statement statement = (Statement) theEObject; + T result = caseStatement(statement); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case SolverLanguagePackage.ABSTRACT_ASSERTION: { + AbstractAssertion abstractAssertion = (AbstractAssertion) theEObject; + T result = caseAbstractAssertion(abstractAssertion); + if (result == null) + result = caseStatement(abstractAssertion); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case SolverLanguagePackage.FUNCTOR_DEFINITON: { + FunctorDefiniton functorDefiniton = (FunctorDefiniton) theEObject; + T result = caseFunctorDefiniton(functorDefiniton); + if (result == null) + result = caseStatement(functorDefiniton); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case SolverLanguagePackage.PREDICATE_DEFINITION: { + PredicateDefinition predicateDefinition = (PredicateDefinition) theEObject; + T result = casePredicateDefinition(predicateDefinition); + if (result == null) + result = caseFunctorDefiniton(predicateDefinition); + if (result == null) + result = caseInlinePredicateAttrributes(predicateDefinition); + if (result == null) + result = caseStatement(predicateDefinition); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case SolverLanguagePackage.FUNCTION_DEFINITION: { + FunctionDefinition functionDefinition = (FunctionDefinition) theEObject; + T result = caseFunctionDefinition(functionDefinition); + if (result == null) + result = caseFunctorDefiniton(functionDefinition); + if (result == null) + result = caseStatement(functionDefinition); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case SolverLanguagePackage.ATTRIBUTE: { + Attribute attribute = (Attribute) theEObject; + T result = caseAttribute(attribute); + if (result == null) + result = caseStatement(attribute); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case SolverLanguagePackage.EXTERN_DECLARATION: { + ExternDeclaration externDeclaration = (ExternDeclaration) theEObject; + T result = caseExternDeclaration(externDeclaration); + if (result == null) + result = caseStatement(externDeclaration); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case SolverLanguagePackage.EXTERN_FUNCTOR_DECLARATION: { + ExternFunctorDeclaration externFunctorDeclaration = (ExternFunctorDeclaration) theEObject; + T result = caseExternFunctorDeclaration(externFunctorDeclaration); + if (result == null) + result = caseExternDeclaration(externFunctorDeclaration); + if (result == null) + result = caseStatement(externFunctorDeclaration); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case SolverLanguagePackage.EXTERN_PREDICATE_DECLARATION: { + ExternPredicateDeclaration externPredicateDeclaration = (ExternPredicateDeclaration) theEObject; + T result = caseExternPredicateDeclaration(externPredicateDeclaration); + if (result == null) + result = caseExternFunctorDeclaration(externPredicateDeclaration); + if (result == null) + result = caseInlinePredicateAttrributes(externPredicateDeclaration); + if (result == null) + result = caseExternDeclaration(externPredicateDeclaration); + if (result == null) + result = caseStatement(externPredicateDeclaration); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case SolverLanguagePackage.EXTERN_FUNCTION_DECLARATION: { + ExternFunctionDeclaration externFunctionDeclaration = (ExternFunctionDeclaration) theEObject; + T result = caseExternFunctionDeclaration(externFunctionDeclaration); + if (result == null) + result = caseExternFunctorDeclaration(externFunctionDeclaration); + if (result == null) + result = caseExternDeclaration(externFunctionDeclaration); + if (result == null) + result = caseStatement(externFunctionDeclaration); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case SolverLanguagePackage.EXTERN_AGGREGATION_OPERATOR_DECLARATION: { + ExternAggregationOperatorDeclaration externAggregationOperatorDeclaration = (ExternAggregationOperatorDeclaration) theEObject; + T result = caseExternAggregationOperatorDeclaration(externAggregationOperatorDeclaration); + if (result == null) + result = caseExternDeclaration(externAggregationOperatorDeclaration); + if (result == null) + result = caseStatement(externAggregationOperatorDeclaration); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case SolverLanguagePackage.EXTERN_DATATYPE_DECLARATION: { + ExternDatatypeDeclaration externDatatypeDeclaration = (ExternDatatypeDeclaration) theEObject; + T result = caseExternDatatypeDeclaration(externDatatypeDeclaration); + if (result == null) + result = caseExternDeclaration(externDatatypeDeclaration); + if (result == null) + result = caseStatement(externDatatypeDeclaration); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case SolverLanguagePackage.CLASS_DECLARATION: { + ClassDeclaration classDeclaration = (ClassDeclaration) theEObject; + T result = caseClassDeclaration(classDeclaration); + if (result == null) + result = caseStatement(classDeclaration); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case SolverLanguagePackage.ENUM_DECLARATION: { + EnumDeclaration enumDeclaration = (EnumDeclaration) theEObject; + T result = caseEnumDeclaration(enumDeclaration); + if (result == null) + result = caseStatement(enumDeclaration); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case SolverLanguagePackage.ENUM_LITERAL: { + EnumLiteral enumLiteral = (EnumLiteral) theEObject; + T result = caseEnumLiteral(enumLiteral); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case SolverLanguagePackage.FIELD: { + Field field = (Field) theEObject; + T result = caseField(field); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case SolverLanguagePackage.MULTIPLICITY: { + Multiplicity multiplicity = (Multiplicity) theEObject; + T result = caseMultiplicity(multiplicity); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case SolverLanguagePackage.DEFAULT_ASSERTION: { + DefaultAssertion defaultAssertion = (DefaultAssertion) theEObject; + T result = caseDefaultAssertion(defaultAssertion); + if (result == null) + result = caseAbstractAssertion(defaultAssertion); + if (result == null) + result = caseStatement(defaultAssertion); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case SolverLanguagePackage.ASSERTION: { + Assertion assertion = (Assertion) theEObject; + T result = caseAssertion(assertion); + if (result == null) + result = caseAbstractAssertion(assertion); + if (result == null) + result = caseStatement(assertion); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case SolverLanguagePackage.UNBOUNDED_MULTIPLICITY: { + UnboundedMultiplicity unboundedMultiplicity = (UnboundedMultiplicity) theEObject; + T result = caseUnboundedMultiplicity(unboundedMultiplicity); + if (result == null) + result = caseMultiplicity(unboundedMultiplicity); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case SolverLanguagePackage.EXACT_MULTIPLICITY: { + ExactMultiplicity exactMultiplicity = (ExactMultiplicity) theEObject; + T result = caseExactMultiplicity(exactMultiplicity); + if (result == null) + result = caseMultiplicity(exactMultiplicity); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case SolverLanguagePackage.BOUNDED_MULTIPLICITY: { + BoundedMultiplicity boundedMultiplicity = (BoundedMultiplicity) theEObject; + T result = caseBoundedMultiplicity(boundedMultiplicity); + if (result == null) + result = caseMultiplicity(boundedMultiplicity); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case SolverLanguagePackage.INLINE_PREDICATE_ATTRRIBUTES: { + InlinePredicateAttrributes inlinePredicateAttrributes = (InlinePredicateAttrributes) theEObject; + T result = caseInlinePredicateAttrributes(inlinePredicateAttrributes); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case SolverLanguagePackage.AGGREGATION_OPERATOR: { + AggregationOperator aggregationOperator = (AggregationOperator) theEObject; + T result = caseAggregationOperator(aggregationOperator); + if (result == null) + result = caseSymbol(aggregationOperator); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case SolverLanguagePackage.PROBLEM: { + Problem problem = (Problem) theEObject; + T result = caseProblem(problem); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case SolverLanguagePackage.TYPED_STAR_ARGUMENT: { + TypedStarArgument typedStarArgument = (TypedStarArgument) theEObject; + T result = caseTypedStarArgument(typedStarArgument); + if (result == null) + result = caseTypedArgument(typedStarArgument); + if (result == null) + result = caseArgument(typedStarArgument); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case SolverLanguagePackage.TYPED_VARIABLE_ARGUMENT: { + TypedVariableArgument typedVariableArgument = (TypedVariableArgument) theEObject; + T result = caseTypedVariableArgument(typedVariableArgument); + if (result == null) + result = caseTypedArgument(typedVariableArgument); + if (result == null) + result = caseArgument(typedVariableArgument); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case SolverLanguagePackage.UNNAMED_ERROR_PREDICATE_DEFINTION: { + UnnamedErrorPredicateDefintion unnamedErrorPredicateDefintion = (UnnamedErrorPredicateDefintion) theEObject; + T result = caseUnnamedErrorPredicateDefintion(unnamedErrorPredicateDefintion); + if (result == null) + result = caseStatement(unnamedErrorPredicateDefintion); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case SolverLanguagePackage.OBJECTIVE_DECLARATION: { + ObjectiveDeclaration objectiveDeclaration = (ObjectiveDeclaration) theEObject; + T result = caseObjectiveDeclaration(objectiveDeclaration); + if (result == null) + result = caseStatement(objectiveDeclaration); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case SolverLanguagePackage.SCOPE_DECLARATION: { + ScopeDeclaration scopeDeclaration = (ScopeDeclaration) theEObject; + T result = caseScopeDeclaration(scopeDeclaration); + if (result == null) + result = caseStatement(scopeDeclaration); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case SolverLanguagePackage.EXACT_SCOPE: { + ExactScope exactScope = (ExactScope) theEObject; + T result = caseExactScope(exactScope); + if (result == null) + result = caseScopeDeclaration(exactScope); + if (result == null) + result = caseStatement(exactScope); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case SolverLanguagePackage.BOUNDED_SCOPE: { + BoundedScope boundedScope = (BoundedScope) theEObject; + T result = caseBoundedScope(boundedScope); + if (result == null) + result = caseScopeDeclaration(boundedScope); + if (result == null) + result = caseStatement(boundedScope); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case SolverLanguagePackage.LOWER_BOUNDED_SCOPE: { + LowerBoundedScope lowerBoundedScope = (LowerBoundedScope) theEObject; + T result = caseLowerBoundedScope(lowerBoundedScope); + if (result == null) + result = caseScopeDeclaration(lowerBoundedScope); + if (result == null) + result = caseStatement(lowerBoundedScope); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case SolverLanguagePackage.NAMESPACE_IMPORT: { + NamespaceImport namespaceImport = (NamespaceImport) theEObject; + T result = caseNamespaceImport(namespaceImport); + if (result == null) + result = caseImport(namespaceImport); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case SolverLanguagePackage.IMPORT: { + Import import_ = (Import) theEObject; + T result = caseImport(import_); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case SolverLanguagePackage.URI_IMPORT: { + UriImport uriImport = (UriImport) theEObject; + T result = caseUriImport(uriImport); + if (result == null) + result = caseImport(uriImport); + if (result == null) + result = defaultCase(theEObject); + return result; + } + default: + return defaultCase(theEObject); + } + } + + /** + * Returns the result of interpreting the object as an instance of 'Path Component'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Path Component'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T casePathComponent(PathComponent object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Symbol'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Symbol'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseSymbol(Symbol object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Call'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Call'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseCall(Call object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Reference'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Reference'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseReference(Reference object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Expression'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Expression'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseExpression(Expression object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Argument'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Argument'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseArgument(Argument object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Argument List'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Argument List'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseArgumentList(ArgumentList object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Expression Argument'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Expression Argument'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseExpressionArgument(ExpressionArgument object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Star Argument'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Star Argument'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseStarArgument(StarArgument object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Typed Argument'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Typed Argument'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseTypedArgument(TypedArgument object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Multiary Expession'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Multiary Expession'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseMultiaryExpession(MultiaryExpession object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Variable'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Variable'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseVariable(Variable object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Unary Expression'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Unary Expression'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseUnaryExpression(UnaryExpression object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Binary Expression'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Binary Expression'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseBinaryExpression(BinaryExpression object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Disjunction'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Disjunction'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseDisjunction(Disjunction object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Conjunction'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Conjunction'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseConjunction(Conjunction object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Conditional Expression'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Conditional Expression'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseConditionalExpression(ConditionalExpression object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Switch'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Switch'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseSwitch(org.eclipse.viatra.solver.language.solverLanguage.Switch object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Case'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Case'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseCase(Case object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Let Expression'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Let Expression'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseLetExpression(LetExpression object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Let Binding'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Let Binding'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseLetBinding(LetBinding object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Literal'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Literal'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseLiteral(Literal object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Int Literal'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Int Literal'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseIntLiteral(IntLiteral object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Real Literal'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Real Literal'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseRealLiteral(RealLiteral object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'String Literal'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'String Literal'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseStringLiteral(StringLiteral object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Logic Literal'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Logic Literal'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseLogicLiteral(LogicLiteral object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Empty Literal'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Empty Literal'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseEmptyLiteral(EmptyLiteral object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Cast Expression'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Cast Expression'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseCastExpression(CastExpression object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Aggregate Expression'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Aggregate Expression'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseAggregateExpression(AggregateExpression object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Count'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Count'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseCount(Count object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Aggregation'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Aggregation'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseAggregation(Aggregation object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Forall'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Forall'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseForall(Forall object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Type Reference'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Type Reference'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseTypeReference(TypeReference object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Infinity Literal'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Infinity Literal'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseInfinityLiteral(InfinityLiteral object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Interval'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Interval'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseInterval(Interval object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Functor'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Functor'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseFunctor(Functor object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Relation'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Relation'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseRelation(Relation object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Base Relation'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Base Relation'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseBaseRelation(BaseRelation object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Predicate'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Predicate'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T casePredicate(Predicate object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Datatype'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Datatype'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseDatatype(Datatype object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Function'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Function'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseFunction(Function object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Metric'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Metric'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseMetric(Metric object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Operator'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Operator'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseOperator(Operator object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Node'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Node'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseNode(Node object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Statement'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Statement'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseStatement(Statement object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Abstract Assertion'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Abstract Assertion'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseAbstractAssertion(AbstractAssertion object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Functor Definiton'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Functor Definiton'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseFunctorDefiniton(FunctorDefiniton object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Predicate Definition'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Predicate Definition'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T casePredicateDefinition(PredicateDefinition object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Function Definition'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Function Definition'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseFunctionDefinition(FunctionDefinition object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Attribute'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Attribute'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseAttribute(Attribute object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Extern Declaration'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Extern Declaration'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseExternDeclaration(ExternDeclaration object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Extern Functor Declaration'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Extern Functor Declaration'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseExternFunctorDeclaration(ExternFunctorDeclaration object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Extern Predicate Declaration'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Extern Predicate Declaration'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseExternPredicateDeclaration(ExternPredicateDeclaration object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Extern Function Declaration'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Extern Function Declaration'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseExternFunctionDeclaration(ExternFunctionDeclaration object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Extern Aggregation Operator Declaration'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Extern Aggregation Operator Declaration'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseExternAggregationOperatorDeclaration(ExternAggregationOperatorDeclaration object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Extern Datatype Declaration'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Extern Datatype Declaration'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseExternDatatypeDeclaration(ExternDatatypeDeclaration object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Class Declaration'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Class Declaration'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseClassDeclaration(ClassDeclaration object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Enum Declaration'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Enum Declaration'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseEnumDeclaration(EnumDeclaration object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Enum Literal'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Enum Literal'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseEnumLiteral(EnumLiteral object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Field'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Field'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseField(Field object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Multiplicity'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Multiplicity'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseMultiplicity(Multiplicity object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Default Assertion'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Default Assertion'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseDefaultAssertion(DefaultAssertion object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Assertion'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Assertion'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseAssertion(Assertion object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Unbounded Multiplicity'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Unbounded Multiplicity'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseUnboundedMultiplicity(UnboundedMultiplicity object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Exact Multiplicity'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Exact Multiplicity'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseExactMultiplicity(ExactMultiplicity object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Bounded Multiplicity'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Bounded Multiplicity'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseBoundedMultiplicity(BoundedMultiplicity object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Inline Predicate Attrributes'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Inline Predicate Attrributes'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseInlinePredicateAttrributes(InlinePredicateAttrributes object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Aggregation Operator'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Aggregation Operator'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseAggregationOperator(AggregationOperator object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Problem'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Problem'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseProblem(Problem object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Typed Star Argument'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Typed Star Argument'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseTypedStarArgument(TypedStarArgument object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Typed Variable Argument'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Typed Variable Argument'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseTypedVariableArgument(TypedVariableArgument object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Unnamed Error Predicate Defintion'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Unnamed Error Predicate Defintion'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseUnnamedErrorPredicateDefintion(UnnamedErrorPredicateDefintion object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Objective Declaration'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Objective Declaration'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseObjectiveDeclaration(ObjectiveDeclaration object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Scope Declaration'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Scope Declaration'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseScopeDeclaration(ScopeDeclaration object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Exact Scope'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Exact Scope'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseExactScope(ExactScope object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Bounded Scope'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Bounded Scope'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseBoundedScope(BoundedScope object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Lower Bounded Scope'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Lower Bounded Scope'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseLowerBoundedScope(LowerBoundedScope object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Namespace Import'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Namespace Import'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseNamespaceImport(NamespaceImport object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Import'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Import'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseImport(Import object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Uri Import'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Uri Import'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseUriImport(UriImport object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'EObject'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch, but this is the last case anyway. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'EObject'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) + * @generated + */ + @Override + public T defaultCase(EObject object) { + return null; + } + +} //SolverLanguageSwitch diff --git a/Application/org.eclipse.viatra.solver.language.ui/src-gen/org/eclipse/viatra/solver/language/ui/contentassist/AbstractSolverLanguageProposalProvider.java b/Application/org.eclipse.viatra.solver.language.ui/src-gen/org/eclipse/viatra/solver/language/ui/contentassist/AbstractSolverLanguageProposalProvider.java index 5ee4eb1b..cfbb9a5d 100644 --- a/Application/org.eclipse.viatra.solver.language.ui/src-gen/org/eclipse/viatra/solver/language/ui/contentassist/AbstractSolverLanguageProposalProvider.java +++ b/Application/org.eclipse.viatra.solver.language.ui/src-gen/org/eclipse/viatra/solver/language/ui/contentassist/AbstractSolverLanguageProposalProvider.java @@ -18,9 +18,27 @@ import org.eclipse.xtext.ui.editor.contentassist.ICompletionProposalAcceptor; */ public abstract class AbstractSolverLanguageProposalProvider extends TerminalsProposalProvider { + public void completeProblem_Name(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeProblem_Imports(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } public void completeProblem_Statements(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); } + public void completeUriImport_Uri(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeUriImport_Alias(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeNamespaceImport_ImportedNamespace(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeNamespaceImport_Alias(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } public void completeAssertionOrDefinition_Range(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); } @@ -39,88 +57,97 @@ public abstract class AbstractSolverLanguageProposalProvider extends TerminalsPr public void completePredicateDefinition_Body(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); } - public void completeUnnamedErrorPrediateDefinition_ArgumentList(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + public void completeUnnamedErrorPredicateDefintion_ArgumentList(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); } - public void completeUnnamedErrorPrediateDefinition_Body(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + public void completeUnnamedErrorPredicateDefintion_Body(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); } - public void completeDefaultDefinition_Head(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + public void completeDefaultAssertion_Expression(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); } - public void completeDefaultDefinition_Range(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + public void completeDefaultAssertion_Range(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); } - public void completeMetricDefinition_Type(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + public void completeFunctionDefinition_ResultType(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); } - public void completeMetricDefinition_Head(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + public void completeFunctionDefinition_Head(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); } - public void completeMetricDefinition_Body(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + public void completeFunctionDefinition_Body(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); } - public void completeExternPredicateDefinition_Name(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + public void completeTypeReference_Type(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); + } + public void completeTypeReference_ForceObjectType(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override } - public void completeExternPredicateDefinition_ArgumentList(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + public void completeAttribute_Kind(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); } - public void completeExternMetricDefinition_Type(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + public void completeAttribute_Target(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); } - public void completeExternMetricDefinition_Name(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + public void completeExternPredicateDeclaration_Functional(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void completeExternPredicateDeclaration_Error(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void completeExternPredicateDeclaration_Name(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); } - public void completeExternMetricDefinition_ArgumentList(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + public void completeExternPredicateDeclaration_ArgumentList(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); } - public void completeExternAggregatorDefinition_Type(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + public void completeExternFunctionDeclaration_ResultType(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); } - public void completeExternAggregatorDefinition_Name(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + public void completeExternFunctionDeclaration_Name(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); } - public void completeExternAggregatorDefinition_InputType(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); - } - public void completeExternDatatypeDefinition_Name(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + public void completeExternFunctionDeclaration_ArgumentList(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); } - public void completeExternDatatypeDefinition_Supertypes(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + public void completeExternAggregationOperatorDeclaration_ResultType(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); } - public void completeVariable_Type(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + public void completeExternAggregationOperatorDeclaration_Name(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeExternAggregationOperatorDeclaration_ArgumentType(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); } - public void completeVariable_Name(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + public void completeExternDatatypeDeclaration_Name(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); } - public void completeIfElse_Condition(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + public void completeExpression_Body(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); } - public void completeIfElse_Then(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + public void completeConditionalExpression_Condition(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); } - public void completeIfElse_Else(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + public void completeConditionalExpression_Then(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); } - public void completeLet_Bindings(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + public void completeConditionalExpression_Else(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); } - public void completeLet_Body(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + public void completeLetExpression_Bindings(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); } - public void completeLetBinding_Variable(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + public void completeLetExpression_Body(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); } - public void completeLetBinding_Value(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + public void completeLetBinding_Type(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); } - public void completeImplicationExpression_Op(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + public void completeLetBinding_Name(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); } - public void completeImplicationExpression_Right(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + public void completeLetBinding_Value(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); } public void completeDisjunctiveExpression_Children(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { @@ -165,7 +192,7 @@ public abstract class AbstractSolverLanguageProposalProvider extends TerminalsPr public void completeExponentialExpression_Right(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); } - public void completeCastExpression_Type(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + public void completeCastExpression_TargetType(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); } public void completeUnaryExpression_Op(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { @@ -174,59 +201,53 @@ public abstract class AbstractSolverLanguageProposalProvider extends TerminalsPr public void completeUnaryExpression_Body(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); } - public void completeLocalVariables_Variables(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); - } - public void completeQuantifiedExpression_Quantifier(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + public void completeAggregation_Op(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); } - public void completeQuantifiedExpression_LocalVariables(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + public void completeAggregation_Value(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); } - public void completeQuantifiedExpression_Body(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + public void completeAggregation_Condition(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); } - public void completeAggregation_Op(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); - } - public void completeAggregation_LocalVariables(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + public void completeCount_Condition(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); } - public void completeAggregation_Body(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + public void completeCall_Functor(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); } - public void completeAggregation_Condition(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + public void completeCall_ArgumentList(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); } - public void completeCall_Functor(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + public void completeArgumentList_Arguments(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); } - public void completeCall_TransitiveClosure(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + public void completeExpressionArgument_Expression(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); } - public void completeCall_ReflexiveTransitiveClosure(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + public void completeTypedVariableArgument_TypeReference(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); } - public void completeCall_ArgumentList(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + public void completeTypedVariableArgument_Name(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); } - public void completeArgumentList_Arguments(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + public void completeTypedStarArgument_TypeReference(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); } - public void completeExpressionArgument_Body(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + public void completeReference_Components(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); } - public void completeTypedArgument_Type(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); + public void completePathComponent_Inverse(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override } - public void completeTypedArgument_Variable(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + public void completePathComponent_Symbol(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); } - public void completeTypedStarArgument_Type(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); + public void completePathComponent_TransitiveClosure(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); } - public void completeReference_Referred(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); + public void completePathComponent_ReflexiveTransitiveClosure(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); } public void completeInterval_LowerBound(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); @@ -237,40 +258,49 @@ public abstract class AbstractSolverLanguageProposalProvider extends TerminalsPr public void completeLogicLiteral_Value(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); } - public void completeNumericLiteral_Value(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + public void completeIntLiteral_Value(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeRealLiteral_Value(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); } public void completeStringLiteral_Value(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); } - public void completeClassDefinition_Abstract(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + public void completeClassDeclaration_Abstract(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void completeClassDeclaration_Root(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { // subclasses may override } - public void completeClassDefinition_Name(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + public void completeClassDeclaration_Name(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); } - public void completeClassDefinition_Superclasses(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + public void completeClassDeclaration_Supertypes(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); } - public void completeClassDefinition_Members(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + public void completeClassDeclaration_Fields(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); } - public void completeMemberDefinition_Containment(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + public void completeField_Containment(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { // subclasses may override } - public void completeMemberDefinition_Type(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + public void completeField_CrossReference(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void completeField_Type(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); } - public void completeMemberDefinition_Multiplicity(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + public void completeField_Multiplicity(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); } - public void completeMemberDefinition_Name(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + public void completeField_Name(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); } - public void completeMemberDefinition_Opposite(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + public void completeField_Opposite(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); } - public void completeExactMultiplicity_Multiplicity(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + public void completeExactMultiplicity_Value(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); } public void completeBoundedMultiplicity_LowerBound(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { @@ -279,31 +309,40 @@ public abstract class AbstractSolverLanguageProposalProvider extends TerminalsPr public void completeBoundedMultiplicity_UpperBound(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); } - public void completeExactScopeDefinition_Type(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + public void completeEnumDeclaration_Name(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeEnumDeclaration_Literals(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeEnumLiteral_Name(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + } + public void completeExactScope_Type(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); } - public void completeExactScopeDefinition_ExactScope(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + public void completeExactScope_Size(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); } - public void completeBoundedScopeDefinition_LowerBound(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + public void completeBoundedScope_LowerBound(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); } - public void completeBoundedScopeDefinition_Type(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + public void completeBoundedScope_Type(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); } - public void completeBoundedScopeDefinition_UpperBound(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + public void completeBoundedScope_UpperBound(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); } - public void completeLowerBoundedScopeDefinition_LowerBound(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + public void completeLowerBoundedScope_LowerBound(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); } - public void completeLowerBoundedScopeDefinition_Type(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + public void completeLowerBoundedScope_Type(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); } - public void completeObjectiveDefinition_Kind(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + public void completeObjectiveDeclaration_Kind(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); } - public void completeObjectiveDefinition_Objective(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + public void completeObjectiveDeclaration_Objective(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); } @@ -313,52 +352,64 @@ public abstract class AbstractSolverLanguageProposalProvider extends TerminalsPr public void complete_Statement(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { // subclasses may override } + public void complete_Import(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_UriImport(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_NamespaceImport(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } public void complete_AssertionOrDefinition(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { // subclasses may override } public void complete_PredicateDefinition(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { // subclasses may override } - public void complete_UnnamedErrorPrediateDefinition(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + public void complete_UnnamedErrorPredicateDefintion(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { // subclasses may override } - public void complete_DefaultDefinition(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + public void complete_DefaultAssertion(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { // subclasses may override } - public void complete_MetricDefinition(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + public void complete_FunctionDefinition(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { // subclasses may override } - public void complete_ExternPredicateDefinition(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + public void complete_TypeReference(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { // subclasses may override } - public void complete_ExternMetricDefinition(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + public void complete_AttributeKind(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { // subclasses may override } - public void complete_ExternAggregatorDefinition(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + public void complete_Attribute(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { // subclasses may override } - public void complete_ExternDatatypeDefinition(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + public void complete_ExternDeclaration(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { // subclasses may override } - public void complete_Variable(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + public void complete_ExternPredicateDeclaration(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { // subclasses may override } - public void complete_Expression(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + public void complete_ExternFunctionDeclaration(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { // subclasses may override } - public void complete_IfElse(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + public void complete_ExternAggregationOperatorDeclaration(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { // subclasses may override } - public void complete_Let(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + public void complete_ExternDatatypeDeclaration(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { // subclasses may override } - public void complete_LetBinding(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + public void complete_Expression(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { // subclasses may override } - public void complete_ImplicationOperator(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + public void complete_ConditionalExpression(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { // subclasses may override } - public void complete_ImplicationExpression(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + public void complete_LetExpression(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_LetBinding(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { // subclasses may override } public void complete_DisjunctiveExpression(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { @@ -397,25 +448,19 @@ public abstract class AbstractSolverLanguageProposalProvider extends TerminalsPr public void complete_CastExpression(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { // subclasses may override } - public void complete_UnaryOp(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + public void complete_UnaryOperator(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { // subclasses may override } public void complete_UnaryExpression(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { // subclasses may override } - public void complete_AggregationExpression(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + public void complete_BracedAggregateExpression(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { // subclasses may override } - public void complete_LocalVariables(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void complete_Quantifier(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void complete_QuantifiedExpression(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + public void complete_Aggregation(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { // subclasses may override } - public void complete_Aggregation(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + public void complete_Count(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { // subclasses may override } public void complete_AtomicExpression(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { @@ -436,7 +481,7 @@ public abstract class AbstractSolverLanguageProposalProvider extends TerminalsPr public void complete_StarArgument(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { // subclasses may override } - public void complete_TypedArgument(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + public void complete_TypedVariableArgument(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { // subclasses may override } public void complete_TypedStarArgument(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { @@ -445,6 +490,9 @@ public abstract class AbstractSolverLanguageProposalProvider extends TerminalsPr public void complete_Reference(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { // subclasses may override } + public void complete_PathComponent(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } public void complete_Interval(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { // subclasses may override } @@ -457,28 +505,31 @@ public abstract class AbstractSolverLanguageProposalProvider extends TerminalsPr public void complete_LogicLiteral(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { // subclasses may override } - public void complete_NumericLiteral(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + public void complete_IntLiteral(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_RealLiteral(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { // subclasses may override } public void complete_InfinityLiteral(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { // subclasses may override } - public void complete_EmptyIntervalLiteral(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + public void complete_EmptyLiteral(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { // subclasses may override } public void complete_StringLiteral(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { // subclasses may override } - public void complete_ClassDefinition(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + public void complete_ClassDeclaration(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { // subclasses may override } - public void complete_MemberDefinition(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + public void complete_Field(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { // subclasses may override } public void complete_Multiplicity(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { // subclasses may override } - public void complete_ManyMultiplicity(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + public void complete_UnboundedMultiplicity(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { // subclasses may override } public void complete_ExactMultiplicity(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { @@ -487,22 +538,28 @@ public abstract class AbstractSolverLanguageProposalProvider extends TerminalsPr public void complete_BoundedMultiplicity(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { // subclasses may override } - public void complete_ScopeDefinition(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + public void complete_EnumDeclaration(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { // subclasses may override } - public void complete_ExactScopeDefinition(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + public void complete_EnumLiteral(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { // subclasses may override } - public void complete_BoundedScopeDefinition(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + public void complete_ScopeDeclaration(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { // subclasses may override } - public void complete_LowerBoundedScopeDefinition(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + public void complete_ExactScope(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_BoundedScope(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_LowerBoundedScope(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { // subclasses may override } public void complete_ObjectiveKind(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { // subclasses may override } - public void complete_ObjectiveDefinition(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + public void complete_ObjectiveDeclaration(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { // subclasses may override } public void complete_UpperMultiplicty(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { @@ -511,6 +568,9 @@ public abstract class AbstractSolverLanguageProposalProvider extends TerminalsPr public void complete_Real(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { // subclasses may override } + public void complete_QualifiedNameSegment(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } public void complete_QualifiedName(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { // subclasses may override } diff --git a/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/ui/syntaxcoloring/.SolverSemanticHighlightCalculator.xtendbin b/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/ui/syntaxcoloring/.SolverSemanticHighlightCalculator.xtendbin index d0f29da0..7a55c906 100644 Binary files a/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/ui/syntaxcoloring/.SolverSemanticHighlightCalculator.xtendbin and b/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/ui/syntaxcoloring/.SolverSemanticHighlightCalculator.xtendbin differ diff --git a/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/ui/syntaxcoloring/.SolverSemanticTextAttributeProvider.xtendbin b/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/ui/syntaxcoloring/.SolverSemanticTextAttributeProvider.xtendbin index 1a22dc64..08e0e545 100644 Binary files a/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/ui/syntaxcoloring/.SolverSemanticTextAttributeProvider.xtendbin and b/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/ui/syntaxcoloring/.SolverSemanticTextAttributeProvider.xtendbin differ diff --git a/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/validation/.SolverLanguageValidator.xtendbin b/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/validation/.SolverLanguageValidator.xtendbin index 88122ad9..441e9278 100644 Binary files a/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/validation/.SolverLanguageValidator.xtendbin and b/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/validation/.SolverLanguageValidator.xtendbin differ diff --git a/Application/org.eclipse.viatra.solver.language/.classpath b/Application/org.eclipse.viatra.solver.language/.classpath index 6b0b4bdb..9081d4f7 100644 --- a/Application/org.eclipse.viatra.solver.language/.classpath +++ b/Application/org.eclipse.viatra.solver.language/.classpath @@ -3,7 +3,6 @@ - diff --git a/Application/org.eclipse.viatra.solver.language/META-INF/MANIFEST.MF b/Application/org.eclipse.viatra.solver.language/META-INF/MANIFEST.MF index c45bb276..5ee256a4 100644 --- a/Application/org.eclipse.viatra.solver.language/META-INF/MANIFEST.MF +++ b/Application/org.eclipse.viatra.solver.language/META-INF/MANIFEST.MF @@ -14,18 +14,16 @@ Require-Bundle: org.eclipse.xtext, org.eclipse.xtext.util, org.eclipse.emf.common, org.eclipse.xtend.lib;bundle-version="2.14.0", - org.antlr.runtime;bundle-version="[3.2.0,3.2.1)" + org.antlr.runtime;bundle-version="[3.2.0,3.2.1)", + org.eclipse.viatra.solver.language.model;bundle-version="0.1.0";visibility:=reexport Bundle-RequiredExecutionEnvironment: JavaSE-1.8 Export-Package: org.eclipse.viatra.solver.language, org.eclipse.viatra.solver.language.generator, org.eclipse.viatra.solver.language.parser.antlr, org.eclipse.viatra.solver.language.parser.antlr.internal, + org.eclipse.viatra.solver.language.parser.antlr.lexer, org.eclipse.viatra.solver.language.scoping, org.eclipse.viatra.solver.language.serializer, org.eclipse.viatra.solver.language.services, - org.eclipse.viatra.solver.language.solverLanguage, - org.eclipse.viatra.solver.language.solverLanguage.impl, - org.eclipse.viatra.solver.language.solverLanguage.util, - org.eclipse.viatra.solver.language.validation, - org.eclipse.viatra.solver.language.parser.antlr.lexer + org.eclipse.viatra.solver.language.validation Import-Package: org.apache.log4j diff --git a/Application/org.eclipse.viatra.solver.language/build.properties b/Application/org.eclipse.viatra.solver.language/build.properties index aa338a94..b1584c24 100644 --- a/Application/org.eclipse.viatra.solver.language/build.properties +++ b/Application/org.eclipse.viatra.solver.language/build.properties @@ -1,8 +1,7 @@ source.. = src/,\ src-gen/,\ xtend-gen/ -bin.includes = model/generated/,\ - .,\ +bin.includes = .,\ META-INF/,\ plugin.xml bin.excludes = **/*.mwe2,\ diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Aggregation.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Aggregation.java deleted file mode 100644 index f6159bd8..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Aggregation.java +++ /dev/null @@ -1,115 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage; - - -/** - * - * A representation of the model object 'Aggregation'. - * - * - *

    - * The following features are supported: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.Aggregation#getOp Op}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.Aggregation#getLocalVariables Local Variables}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.Aggregation#getBody Body}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.Aggregation#getCondition Condition}
    • - *
    - * - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getAggregation() - * @model - * @generated - */ -public interface Aggregation extends Expression { - /** - * Returns the value of the 'Op' reference. - * - * - * @return the value of the 'Op' reference. - * @see #setOp(NamedElement) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getAggregation_Op() - * @model - * @generated - */ - NamedElement getOp(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.Aggregation#getOp Op}' reference. - * - * - * @param value the new value of the 'Op' reference. - * @see #getOp() - * @generated - */ - void setOp(NamedElement value); - - /** - * Returns the value of the 'Local Variables' containment reference. - * - * - * @return the value of the 'Local Variables' containment reference. - * @see #setLocalVariables(LocalVariables) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getAggregation_LocalVariables() - * @model containment="true" - * @generated - */ - LocalVariables getLocalVariables(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.Aggregation#getLocalVariables Local Variables}' containment reference. - * - * - * @param value the new value of the 'Local Variables' containment reference. - * @see #getLocalVariables() - * @generated - */ - void setLocalVariables(LocalVariables value); - - /** - * Returns the value of the 'Body' containment reference. - * - * - * @return the value of the 'Body' containment reference. - * @see #setBody(Expression) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getAggregation_Body() - * @model containment="true" - * @generated - */ - Expression getBody(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.Aggregation#getBody Body}' containment reference. - * - * - * @param value the new value of the 'Body' containment reference. - * @see #getBody() - * @generated - */ - void setBody(Expression value); - - /** - * Returns the value of the 'Condition' containment reference. - * - * - * @return the value of the 'Condition' containment reference. - * @see #setCondition(Expression) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getAggregation_Condition() - * @model containment="true" - * @generated - */ - Expression getCondition(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.Aggregation#getCondition Condition}' containment reference. - * - * - * @param value the new value of the 'Condition' containment reference. - * @see #getCondition() - * @generated - */ - void setCondition(Expression value); - -} // Aggregation diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Argument.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Argument.java deleted file mode 100644 index 3f5d1b45..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Argument.java +++ /dev/null @@ -1,19 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage; - -import org.eclipse.emf.ecore.EObject; - -/** - * - * A representation of the model object 'Argument'. - * - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getArgument() - * @model - * @generated - */ -public interface Argument extends EObject { -} // Argument diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/ArgumentList.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/ArgumentList.java deleted file mode 100644 index 2be01423..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/ArgumentList.java +++ /dev/null @@ -1,39 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage; - -import org.eclipse.emf.common.util.EList; - -import org.eclipse.emf.ecore.EObject; - -/** - * - * A representation of the model object 'Argument List'. - * - * - *

    - * The following features are supported: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.ArgumentList#getArguments Arguments}
    • - *
    - * - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getArgumentList() - * @model - * @generated - */ -public interface ArgumentList extends EObject { - /** - * Returns the value of the 'Arguments' containment reference list. - * The list contents are of type {@link org.eclipse.viatra.solver.language.solverLanguage.Argument}. - * - * - * @return the value of the 'Arguments' containment reference list. - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getArgumentList_Arguments() - * @model containment="true" - * @generated - */ - EList getArguments(); - -} // ArgumentList diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/BinaryExpression.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/BinaryExpression.java deleted file mode 100644 index 6b50beba..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/BinaryExpression.java +++ /dev/null @@ -1,95 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage; - - -/** - * - * A representation of the model object 'Binary Expression'. - * - * - *

    - * The following features are supported: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.BinaryExpression#getLeft Left}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.BinaryExpression#getOp Op}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.BinaryExpression#getRight Right}
    • - *
    - * - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getBinaryExpression() - * @model - * @generated - */ -public interface BinaryExpression extends Expression { - /** - * Returns the value of the 'Left' containment reference. - * - * - * @return the value of the 'Left' containment reference. - * @see #setLeft(Expression) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getBinaryExpression_Left() - * @model containment="true" - * @generated - */ - Expression getLeft(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.BinaryExpression#getLeft Left}' containment reference. - * - * - * @param value the new value of the 'Left' containment reference. - * @see #getLeft() - * @generated - */ - void setLeft(Expression value); - - /** - * Returns the value of the 'Op' attribute. - * The literals are from the enumeration {@link org.eclipse.viatra.solver.language.solverLanguage.BinaryOperator}. - * - * - * @return the value of the 'Op' attribute. - * @see org.eclipse.viatra.solver.language.solverLanguage.BinaryOperator - * @see #setOp(BinaryOperator) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getBinaryExpression_Op() - * @model - * @generated - */ - BinaryOperator getOp(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.BinaryExpression#getOp Op}' attribute. - * - * - * @param value the new value of the 'Op' attribute. - * @see org.eclipse.viatra.solver.language.solverLanguage.BinaryOperator - * @see #getOp() - * @generated - */ - void setOp(BinaryOperator value); - - /** - * Returns the value of the 'Right' containment reference. - * - * - * @return the value of the 'Right' containment reference. - * @see #setRight(Expression) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getBinaryExpression_Right() - * @model containment="true" - * @generated - */ - Expression getRight(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.BinaryExpression#getRight Right}' containment reference. - * - * - * @param value the new value of the 'Right' containment reference. - * @see #getRight() - * @generated - */ - void setRight(Expression value); - -} // BinaryExpression diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/BinaryOperator.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/BinaryOperator.java deleted file mode 100644 index ce34afc7..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/BinaryOperator.java +++ /dev/null @@ -1,463 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage; - -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 'Binary Operator', - * and utility methods for working with them. - * - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getBinaryOperator() - * @model - * @generated - */ -public enum BinaryOperator implements Enumerator { - /** - * The 'EQ' literal object. - * - * - * @see #EQ_VALUE - * @generated - * @ordered - */ - EQ(0, "EQ", "EQ"), - - /** - * The 'NOT EQ' literal object. - * - * - * @see #NOT_EQ_VALUE - * @generated - * @ordered - */ - NOT_EQ(1, "NOT_EQ", "NOT_EQ"), - - /** - * The 'LESS' literal object. - * - * - * @see #LESS_VALUE - * @generated - * @ordered - */ - LESS(2, "LESS", "LESS"), - - /** - * The 'LESS EQ' literal object. - * - * - * @see #LESS_EQ_VALUE - * @generated - * @ordered - */ - LESS_EQ(3, "LESS_EQ", "LESS_EQ"), - - /** - * The 'GREATER' literal object. - * - * - * @see #GREATER_VALUE - * @generated - * @ordered - */ - GREATER(4, "GREATER", "GREATER"), - - /** - * The 'GREATER EQ' literal object. - * - * - * @see #GREATER_EQ_VALUE - * @generated - * @ordered - */ - GREATER_EQ(5, "GREATER_EQ", "GREATER_EQ"), - - /** - * The 'IN' literal object. - * - * - * @see #IN_VALUE - * @generated - * @ordered - */ - IN(6, "IN", "IN"), - - /** - * The 'ADD' literal object. - * - * - * @see #ADD_VALUE - * @generated - * @ordered - */ - ADD(7, "ADD", "ADD"), - - /** - * The 'SUB' literal object. - * - * - * @see #SUB_VALUE - * @generated - * @ordered - */ - SUB(8, "SUB", "SUB"), - - /** - * The 'MUL' literal object. - * - * - * @see #MUL_VALUE - * @generated - * @ordered - */ - MUL(9, "MUL", "MUL"), - - /** - * The 'DIV' literal object. - * - * - * @see #DIV_VALUE - * @generated - * @ordered - */ - DIV(10, "DIV", "DIV"), - - /** - * The 'POW' literal object. - * - * - * @see #POW_VALUE - * @generated - * @ordered - */ - POW(11, "POW", "POW"), - - /** - * The 'IMPLIES' literal object. - * - * - * @see #IMPLIES_VALUE - * @generated - * @ordered - */ - IMPLIES(12, "IMPLIES", "IMPLIES"); - - /** - * The 'EQ' literal value. - * - * - * @see #EQ - * @model - * @generated - * @ordered - */ - public static final int EQ_VALUE = 0; - - /** - * The 'NOT EQ' literal value. - * - * - * @see #NOT_EQ - * @model - * @generated - * @ordered - */ - public static final int NOT_EQ_VALUE = 1; - - /** - * The 'LESS' literal value. - * - * - * @see #LESS - * @model - * @generated - * @ordered - */ - public static final int LESS_VALUE = 2; - - /** - * The 'LESS EQ' literal value. - * - * - * @see #LESS_EQ - * @model - * @generated - * @ordered - */ - public static final int LESS_EQ_VALUE = 3; - - /** - * The 'GREATER' literal value. - * - * - * @see #GREATER - * @model - * @generated - * @ordered - */ - public static final int GREATER_VALUE = 4; - - /** - * The 'GREATER EQ' literal value. - * - * - * @see #GREATER_EQ - * @model - * @generated - * @ordered - */ - public static final int GREATER_EQ_VALUE = 5; - - /** - * The 'IN' literal value. - * - * - * @see #IN - * @model - * @generated - * @ordered - */ - public static final int IN_VALUE = 6; - - /** - * The 'ADD' literal value. - * - * - * @see #ADD - * @model - * @generated - * @ordered - */ - public static final int ADD_VALUE = 7; - - /** - * The 'SUB' literal value. - * - * - * @see #SUB - * @model - * @generated - * @ordered - */ - public static final int SUB_VALUE = 8; - - /** - * The 'MUL' literal value. - * - * - * @see #MUL - * @model - * @generated - * @ordered - */ - public static final int MUL_VALUE = 9; - - /** - * The 'DIV' literal value. - * - * - * @see #DIV - * @model - * @generated - * @ordered - */ - public static final int DIV_VALUE = 10; - - /** - * The 'POW' literal value. - * - * - * @see #POW - * @model - * @generated - * @ordered - */ - public static final int POW_VALUE = 11; - - /** - * The 'IMPLIES' literal value. - * - * - * @see #IMPLIES - * @model - * @generated - * @ordered - */ - public static final int IMPLIES_VALUE = 12; - - /** - * An array of all the 'Binary Operator' enumerators. - * - * - * @generated - */ - private static final BinaryOperator[] VALUES_ARRAY = - new BinaryOperator[] { - EQ, - NOT_EQ, - LESS, - LESS_EQ, - GREATER, - GREATER_EQ, - IN, - ADD, - SUB, - MUL, - DIV, - POW, - IMPLIES, - }; - - /** - * A public read-only list of all the 'Binary Operator' enumerators. - * - * - * @generated - */ - public static final List VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); - - /** - * Returns the 'Binary Operator' literal with the specified literal value. - * - * - * @param literal the literal. - * @return the matching enumerator or null. - * @generated - */ - public static BinaryOperator get(String literal) { - for (int i = 0; i < VALUES_ARRAY.length; ++i) { - BinaryOperator result = VALUES_ARRAY[i]; - if (result.toString().equals(literal)) { - return result; - } - } - return null; - } - - /** - * Returns the 'Binary Operator' literal with the specified name. - * - * - * @param name the name. - * @return the matching enumerator or null. - * @generated - */ - public static BinaryOperator getByName(String name) { - for (int i = 0; i < VALUES_ARRAY.length; ++i) { - BinaryOperator result = VALUES_ARRAY[i]; - if (result.getName().equals(name)) { - return result; - } - } - return null; - } - - /** - * Returns the 'Binary Operator' literal with the specified integer value. - * - * - * @param value the integer value. - * @return the matching enumerator or null. - * @generated - */ - public static BinaryOperator get(int value) { - switch (value) { - case EQ_VALUE: return EQ; - case NOT_EQ_VALUE: return NOT_EQ; - case LESS_VALUE: return LESS; - case LESS_EQ_VALUE: return LESS_EQ; - case GREATER_VALUE: return GREATER; - case GREATER_EQ_VALUE: return GREATER_EQ; - case IN_VALUE: return IN; - case ADD_VALUE: return ADD; - case SUB_VALUE: return SUB; - case MUL_VALUE: return MUL; - case DIV_VALUE: return DIV; - case POW_VALUE: return POW; - case IMPLIES_VALUE: return IMPLIES; - } - 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 BinaryOperator(int value, String name, String literal) { - this.value = value; - this.name = name; - this.literal = literal; - } - - /** - * - * - * @generated - */ - @Override - public int getValue() { - return value; - } - - /** - * - * - * @generated - */ - @Override - public String getName() { - return name; - } - - /** - * - * - * @generated - */ - @Override - public String getLiteral() { - return literal; - } - - /** - * Returns the literal value of the enumerator, which is its string representation. - * - * - * @generated - */ - @Override - public String toString() { - return literal; - } - -} //BinaryOperator diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/BoundedMultiplicity.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/BoundedMultiplicity.java deleted file mode 100644 index e0cea7d4..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/BoundedMultiplicity.java +++ /dev/null @@ -1,69 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage; - - -/** - * - * A representation of the model object 'Bounded Multiplicity'. - * - * - *

    - * The following features are supported: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.BoundedMultiplicity#getLowerBound Lower Bound}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.BoundedMultiplicity#getUpperBound Upper Bound}
    • - *
    - * - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getBoundedMultiplicity() - * @model - * @generated - */ -public interface BoundedMultiplicity extends Multiplicity { - /** - * Returns the value of the 'Lower Bound' attribute. - * - * - * @return the value of the 'Lower Bound' attribute. - * @see #setLowerBound(int) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getBoundedMultiplicity_LowerBound() - * @model - * @generated - */ - int getLowerBound(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.BoundedMultiplicity#getLowerBound Lower Bound}' attribute. - * - * - * @param value the new value of the 'Lower Bound' attribute. - * @see #getLowerBound() - * @generated - */ - void setLowerBound(int value); - - /** - * Returns the value of the 'Upper Bound' attribute. - * - * - * @return the value of the 'Upper Bound' attribute. - * @see #setUpperBound(int) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getBoundedMultiplicity_UpperBound() - * @model - * @generated - */ - int getUpperBound(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.BoundedMultiplicity#getUpperBound Upper Bound}' attribute. - * - * - * @param value the new value of the 'Upper Bound' attribute. - * @see #getUpperBound() - * @generated - */ - void setUpperBound(int value); - -} // BoundedMultiplicity diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/BoundedScopeDefinition.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/BoundedScopeDefinition.java deleted file mode 100644 index 81f87193..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/BoundedScopeDefinition.java +++ /dev/null @@ -1,69 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage; - - -/** - * - * A representation of the model object 'Bounded Scope Definition'. - * - * - *

    - * The following features are supported: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.BoundedScopeDefinition#getLowerBound Lower Bound}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.BoundedScopeDefinition#getUpperBound Upper Bound}
    • - *
    - * - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getBoundedScopeDefinition() - * @model - * @generated - */ -public interface BoundedScopeDefinition extends ScopeDefinition { - /** - * Returns the value of the 'Lower Bound' attribute. - * - * - * @return the value of the 'Lower Bound' attribute. - * @see #setLowerBound(int) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getBoundedScopeDefinition_LowerBound() - * @model - * @generated - */ - int getLowerBound(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.BoundedScopeDefinition#getLowerBound Lower Bound}' attribute. - * - * - * @param value the new value of the 'Lower Bound' attribute. - * @see #getLowerBound() - * @generated - */ - void setLowerBound(int value); - - /** - * Returns the value of the 'Upper Bound' attribute. - * - * - * @return the value of the 'Upper Bound' attribute. - * @see #setUpperBound(int) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getBoundedScopeDefinition_UpperBound() - * @model - * @generated - */ - int getUpperBound(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.BoundedScopeDefinition#getUpperBound Upper Bound}' attribute. - * - * - * @param value the new value of the 'Upper Bound' attribute. - * @see #getUpperBound() - * @generated - */ - void setUpperBound(int value); - -} // BoundedScopeDefinition diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Call.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Call.java deleted file mode 100644 index ab0940bb..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Call.java +++ /dev/null @@ -1,115 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage; - - -/** - * - * A representation of the model object 'Call'. - * - * - *

    - * The following features are supported: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.Call#getFunctor Functor}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.Call#isTransitiveClosure Transitive Closure}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.Call#isReflexiveTransitiveClosure Reflexive Transitive Closure}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.Call#getArgumentList Argument List}
    • - *
    - * - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getCall() - * @model - * @generated - */ -public interface Call extends Expression { - /** - * Returns the value of the 'Functor' containment reference. - * - * - * @return the value of the 'Functor' containment reference. - * @see #setFunctor(Reference) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getCall_Functor() - * @model containment="true" - * @generated - */ - Reference getFunctor(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.Call#getFunctor Functor}' containment reference. - * - * - * @param value the new value of the 'Functor' containment reference. - * @see #getFunctor() - * @generated - */ - void setFunctor(Reference value); - - /** - * Returns the value of the 'Transitive Closure' attribute. - * - * - * @return the value of the 'Transitive Closure' attribute. - * @see #setTransitiveClosure(boolean) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getCall_TransitiveClosure() - * @model - * @generated - */ - boolean isTransitiveClosure(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.Call#isTransitiveClosure Transitive Closure}' attribute. - * - * - * @param value the new value of the 'Transitive Closure' attribute. - * @see #isTransitiveClosure() - * @generated - */ - void setTransitiveClosure(boolean value); - - /** - * Returns the value of the 'Reflexive Transitive Closure' attribute. - * - * - * @return the value of the 'Reflexive Transitive Closure' attribute. - * @see #setReflexiveTransitiveClosure(boolean) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getCall_ReflexiveTransitiveClosure() - * @model - * @generated - */ - boolean isReflexiveTransitiveClosure(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.Call#isReflexiveTransitiveClosure Reflexive Transitive Closure}' attribute. - * - * - * @param value the new value of the 'Reflexive Transitive Closure' attribute. - * @see #isReflexiveTransitiveClosure() - * @generated - */ - void setReflexiveTransitiveClosure(boolean value); - - /** - * Returns the value of the 'Argument List' containment reference. - * - * - * @return the value of the 'Argument List' containment reference. - * @see #setArgumentList(ArgumentList) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getCall_ArgumentList() - * @model containment="true" - * @generated - */ - ArgumentList getArgumentList(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.Call#getArgumentList Argument List}' containment reference. - * - * - * @param value the new value of the 'Argument List' containment reference. - * @see #getArgumentList() - * @generated - */ - void setArgumentList(ArgumentList value); - -} // Call diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Case.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Case.java deleted file mode 100644 index f2d2e5a7..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Case.java +++ /dev/null @@ -1,69 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage; - - -/** - * - * A representation of the model object 'Case'. - * - * - *

    - * The following features are supported: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.Case#getBody Body}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.Case#getCondition Condition}
    • - *
    - * - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getCase() - * @model - * @generated - */ -public interface Case extends Expression { - /** - * Returns the value of the 'Body' containment reference. - * - * - * @return the value of the 'Body' containment reference. - * @see #setBody(Expression) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getCase_Body() - * @model containment="true" - * @generated - */ - Expression getBody(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.Case#getBody Body}' containment reference. - * - * - * @param value the new value of the 'Body' containment reference. - * @see #getBody() - * @generated - */ - void setBody(Expression value); - - /** - * Returns the value of the 'Condition' containment reference. - * - * - * @return the value of the 'Condition' containment reference. - * @see #setCondition(Expression) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getCase_Condition() - * @model containment="true" - * @generated - */ - Expression getCondition(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.Case#getCondition Condition}' containment reference. - * - * - * @param value the new value of the 'Condition' containment reference. - * @see #getCondition() - * @generated - */ - void setCondition(Expression value); - -} // Case diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/CastExpression.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/CastExpression.java deleted file mode 100644 index d8fe4945..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/CastExpression.java +++ /dev/null @@ -1,69 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage; - - -/** - * - * A representation of the model object 'Cast Expression'. - * - * - *

    - * The following features are supported: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.CastExpression#getBody Body}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.CastExpression#getType Type}
    • - *
    - * - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getCastExpression() - * @model - * @generated - */ -public interface CastExpression extends Expression { - /** - * Returns the value of the 'Body' containment reference. - * - * - * @return the value of the 'Body' containment reference. - * @see #setBody(Expression) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getCastExpression_Body() - * @model containment="true" - * @generated - */ - Expression getBody(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.CastExpression#getBody Body}' containment reference. - * - * - * @param value the new value of the 'Body' containment reference. - * @see #getBody() - * @generated - */ - void setBody(Expression value); - - /** - * Returns the value of the 'Type' reference. - * - * - * @return the value of the 'Type' reference. - * @see #setType(NamedElement) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getCastExpression_Type() - * @model - * @generated - */ - NamedElement getType(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.CastExpression#getType Type}' reference. - * - * - * @param value the new value of the 'Type' reference. - * @see #getType() - * @generated - */ - void setType(NamedElement value); - -} // CastExpression diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/ClassDefinition.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/ClassDefinition.java deleted file mode 100644 index 0963c7a1..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/ClassDefinition.java +++ /dev/null @@ -1,96 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage; - -import org.eclipse.emf.common.util.EList; - -/** - * - * A representation of the model object 'Class Definition'. - * - * - *

    - * The following features are supported: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.ClassDefinition#isAbstract Abstract}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.ClassDefinition#getName Name}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.ClassDefinition#getSuperclasses Superclasses}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.ClassDefinition#getMembers Members}
    • - *
    - * - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getClassDefinition() - * @model - * @generated - */ -public interface ClassDefinition extends Statement { - /** - * Returns the value of the 'Abstract' attribute. - * - * - * @return the value of the 'Abstract' attribute. - * @see #setAbstract(boolean) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getClassDefinition_Abstract() - * @model - * @generated - */ - boolean isAbstract(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.ClassDefinition#isAbstract Abstract}' attribute. - * - * - * @param value the new value of the 'Abstract' attribute. - * @see #isAbstract() - * @generated - */ - void setAbstract(boolean value); - - /** - * Returns the value of the 'Name' attribute. - * - * - * @return the value of the 'Name' attribute. - * @see #setName(String) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getClassDefinition_Name() - * @model - * @generated - */ - String getName(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.ClassDefinition#getName Name}' attribute. - * - * - * @param value the new value of the 'Name' attribute. - * @see #getName() - * @generated - */ - void setName(String value); - - /** - * Returns the value of the 'Superclasses' reference list. - * The list contents are of type {@link org.eclipse.viatra.solver.language.solverLanguage.NamedElement}. - * - * - * @return the value of the 'Superclasses' reference list. - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getClassDefinition_Superclasses() - * @model - * @generated - */ - EList getSuperclasses(); - - /** - * Returns the value of the 'Members' containment reference list. - * The list contents are of type {@link org.eclipse.viatra.solver.language.solverLanguage.MemberDefinition}. - * - * - * @return the value of the 'Members' containment reference list. - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getClassDefinition_Members() - * @model containment="true" - * @generated - */ - EList getMembers(); - -} // ClassDefinition diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Comparison.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Comparison.java deleted file mode 100644 index 5187c5db..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Comparison.java +++ /dev/null @@ -1,95 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage; - - -/** - * - * A representation of the model object 'Comparison'. - * - * - *

    - * The following features are supported: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.Comparison#getLeft Left}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.Comparison#getOp Op}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.Comparison#getRight Right}
    • - *
    - * - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getComparison() - * @model - * @generated - */ -public interface Comparison extends Expression { - /** - * Returns the value of the 'Left' containment reference. - * - * - * @return the value of the 'Left' containment reference. - * @see #setLeft(Expression) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getComparison_Left() - * @model containment="true" - * @generated - */ - Expression getLeft(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.Comparison#getLeft Left}' containment reference. - * - * - * @param value the new value of the 'Left' containment reference. - * @see #getLeft() - * @generated - */ - void setLeft(Expression value); - - /** - * Returns the value of the 'Op' attribute. - * The literals are from the enumeration {@link org.eclipse.viatra.solver.language.solverLanguage.BinaryOperator}. - * - * - * @return the value of the 'Op' attribute. - * @see org.eclipse.viatra.solver.language.solverLanguage.BinaryOperator - * @see #setOp(BinaryOperator) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getComparison_Op() - * @model - * @generated - */ - BinaryOperator getOp(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.Comparison#getOp Op}' attribute. - * - * - * @param value the new value of the 'Op' attribute. - * @see org.eclipse.viatra.solver.language.solverLanguage.BinaryOperator - * @see #getOp() - * @generated - */ - void setOp(BinaryOperator value); - - /** - * Returns the value of the 'Right' containment reference. - * - * - * @return the value of the 'Right' containment reference. - * @see #setRight(Expression) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getComparison_Right() - * @model containment="true" - * @generated - */ - Expression getRight(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.Comparison#getRight Right}' containment reference. - * - * - * @param value the new value of the 'Right' containment reference. - * @see #getRight() - * @generated - */ - void setRight(Expression value); - -} // Comparison diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Conjunction.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Conjunction.java deleted file mode 100644 index 788f5a97..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Conjunction.java +++ /dev/null @@ -1,37 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage; - -import org.eclipse.emf.common.util.EList; - -/** - * - * A representation of the model object 'Conjunction'. - * - * - *

    - * The following features are supported: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.Conjunction#getChildren Children}
    • - *
    - * - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getConjunction() - * @model - * @generated - */ -public interface Conjunction extends Expression { - /** - * Returns the value of the 'Children' containment reference list. - * The list contents are of type {@link org.eclipse.viatra.solver.language.solverLanguage.Expression}. - * - * - * @return the value of the 'Children' containment reference list. - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getConjunction_Children() - * @model containment="true" - * @generated - */ - EList getChildren(); - -} // Conjunction diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/DefaultDefinition.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/DefaultDefinition.java deleted file mode 100644 index ac5f6f32..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/DefaultDefinition.java +++ /dev/null @@ -1,69 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage; - - -/** - * - * A representation of the model object 'Default Definition'. - * - * - *

    - * The following features are supported: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.DefaultDefinition#getHead Head}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.DefaultDefinition#getRange Range}
    • - *
    - * - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getDefaultDefinition() - * @model - * @generated - */ -public interface DefaultDefinition extends Statement { - /** - * Returns the value of the 'Head' containment reference. - * - * - * @return the value of the 'Head' containment reference. - * @see #setHead(Call) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getDefaultDefinition_Head() - * @model containment="true" - * @generated - */ - Call getHead(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.DefaultDefinition#getHead Head}' containment reference. - * - * - * @param value the new value of the 'Head' containment reference. - * @see #getHead() - * @generated - */ - void setHead(Call value); - - /** - * Returns the value of the 'Range' containment reference. - * - * - * @return the value of the 'Range' containment reference. - * @see #setRange(Expression) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getDefaultDefinition_Range() - * @model containment="true" - * @generated - */ - Expression getRange(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.DefaultDefinition#getRange Range}' containment reference. - * - * - * @param value the new value of the 'Range' containment reference. - * @see #getRange() - * @generated - */ - void setRange(Expression value); - -} // DefaultDefinition diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Disjunction.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Disjunction.java deleted file mode 100644 index eb1cafde..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Disjunction.java +++ /dev/null @@ -1,37 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage; - -import org.eclipse.emf.common.util.EList; - -/** - * - * A representation of the model object 'Disjunction'. - * - * - *

    - * The following features are supported: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.Disjunction#getChildren Children}
    • - *
    - * - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getDisjunction() - * @model - * @generated - */ -public interface Disjunction extends Expression { - /** - * Returns the value of the 'Children' containment reference list. - * The list contents are of type {@link org.eclipse.viatra.solver.language.solverLanguage.Expression}. - * - * - * @return the value of the 'Children' containment reference list. - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getDisjunction_Children() - * @model containment="true" - * @generated - */ - EList getChildren(); - -} // Disjunction diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/EmptyIntervalLiteral.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/EmptyIntervalLiteral.java deleted file mode 100644 index b3e5ccf7..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/EmptyIntervalLiteral.java +++ /dev/null @@ -1,18 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage; - - -/** - * - * A representation of the model object 'Empty Interval Literal'. - * - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getEmptyIntervalLiteral() - * @model - * @generated - */ -public interface EmptyIntervalLiteral extends Literal { -} // EmptyIntervalLiteral diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/ExactMultiplicity.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/ExactMultiplicity.java deleted file mode 100644 index 666c2f43..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/ExactMultiplicity.java +++ /dev/null @@ -1,46 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage; - - -/** - * - * A representation of the model object 'Exact Multiplicity'. - * - * - *

    - * The following features are supported: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.ExactMultiplicity#getMultiplicity Multiplicity}
    • - *
    - * - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getExactMultiplicity() - * @model - * @generated - */ -public interface ExactMultiplicity extends Multiplicity { - /** - * Returns the value of the 'Multiplicity' attribute. - * - * - * @return the value of the 'Multiplicity' attribute. - * @see #setMultiplicity(int) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getExactMultiplicity_Multiplicity() - * @model - * @generated - */ - int getMultiplicity(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.ExactMultiplicity#getMultiplicity Multiplicity}' attribute. - * - * - * @param value the new value of the 'Multiplicity' attribute. - * @see #getMultiplicity() - * @generated - */ - void setMultiplicity(int value); - -} // ExactMultiplicity diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/ExactScopeDefinition.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/ExactScopeDefinition.java deleted file mode 100644 index 035329e2..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/ExactScopeDefinition.java +++ /dev/null @@ -1,46 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage; - - -/** - * - * A representation of the model object 'Exact Scope Definition'. - * - * - *

    - * The following features are supported: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.ExactScopeDefinition#getExactScope Exact Scope}
    • - *
    - * - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getExactScopeDefinition() - * @model - * @generated - */ -public interface ExactScopeDefinition extends ScopeDefinition { - /** - * Returns the value of the 'Exact Scope' attribute. - * - * - * @return the value of the 'Exact Scope' attribute. - * @see #setExactScope(int) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getExactScopeDefinition_ExactScope() - * @model - * @generated - */ - int getExactScope(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.ExactScopeDefinition#getExactScope Exact Scope}' attribute. - * - * - * @param value the new value of the 'Exact Scope' attribute. - * @see #getExactScope() - * @generated - */ - void setExactScope(int value); - -} // ExactScopeDefinition diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Expression.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Expression.java deleted file mode 100644 index 2034cdfd..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Expression.java +++ /dev/null @@ -1,18 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage; - - -/** - * - * A representation of the model object 'Expression'. - * - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getExpression() - * @model abstract="true" - * @generated - */ -public interface Expression extends Statement { -} // Expression diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/ExpressionArgument.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/ExpressionArgument.java deleted file mode 100644 index 26f6142e..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/ExpressionArgument.java +++ /dev/null @@ -1,46 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage; - - -/** - * - * A representation of the model object 'Expression Argument'. - * - * - *

    - * The following features are supported: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.ExpressionArgument#getBody Body}
    • - *
    - * - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getExpressionArgument() - * @model - * @generated - */ -public interface ExpressionArgument extends Argument { - /** - * Returns the value of the 'Body' containment reference. - * - * - * @return the value of the 'Body' containment reference. - * @see #setBody(Expression) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getExpressionArgument_Body() - * @model containment="true" - * @generated - */ - Expression getBody(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.ExpressionArgument#getBody Body}' containment reference. - * - * - * @param value the new value of the 'Body' containment reference. - * @see #getBody() - * @generated - */ - void setBody(Expression value); - -} // ExpressionArgument diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/ExternAggregatorDefinition.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/ExternAggregatorDefinition.java deleted file mode 100644 index eb6b8cdf..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/ExternAggregatorDefinition.java +++ /dev/null @@ -1,92 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage; - - -/** - * - * A representation of the model object 'Extern Aggregator Definition'. - * - * - *

    - * The following features are supported: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.ExternAggregatorDefinition#getType Type}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.ExternAggregatorDefinition#getName Name}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.ExternAggregatorDefinition#getInputType Input Type}
    • - *
    - * - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getExternAggregatorDefinition() - * @model - * @generated - */ -public interface ExternAggregatorDefinition extends Statement { - /** - * Returns the value of the 'Type' reference. - * - * - * @return the value of the 'Type' reference. - * @see #setType(NamedElement) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getExternAggregatorDefinition_Type() - * @model - * @generated - */ - NamedElement getType(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.ExternAggregatorDefinition#getType Type}' reference. - * - * - * @param value the new value of the 'Type' reference. - * @see #getType() - * @generated - */ - void setType(NamedElement value); - - /** - * Returns the value of the 'Name' attribute. - * - * - * @return the value of the 'Name' attribute. - * @see #setName(String) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getExternAggregatorDefinition_Name() - * @model - * @generated - */ - String getName(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.ExternAggregatorDefinition#getName Name}' attribute. - * - * - * @param value the new value of the 'Name' attribute. - * @see #getName() - * @generated - */ - void setName(String value); - - /** - * Returns the value of the 'Input Type' reference. - * - * - * @return the value of the 'Input Type' reference. - * @see #setInputType(NamedElement) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getExternAggregatorDefinition_InputType() - * @model - * @generated - */ - NamedElement getInputType(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.ExternAggregatorDefinition#getInputType Input Type}' reference. - * - * - * @param value the new value of the 'Input Type' reference. - * @see #getInputType() - * @generated - */ - void setInputType(NamedElement value); - -} // ExternAggregatorDefinition diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/ExternDatatypeDefinition.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/ExternDatatypeDefinition.java deleted file mode 100644 index a0fb33eb..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/ExternDatatypeDefinition.java +++ /dev/null @@ -1,60 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage; - -import org.eclipse.emf.common.util.EList; - -/** - * - * A representation of the model object 'Extern Datatype Definition'. - * - * - *

    - * The following features are supported: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.ExternDatatypeDefinition#getName Name}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.ExternDatatypeDefinition#getSupertypes Supertypes}
    • - *
    - * - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getExternDatatypeDefinition() - * @model - * @generated - */ -public interface ExternDatatypeDefinition extends Statement { - /** - * Returns the value of the 'Name' attribute. - * - * - * @return the value of the 'Name' attribute. - * @see #setName(String) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getExternDatatypeDefinition_Name() - * @model - * @generated - */ - String getName(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.ExternDatatypeDefinition#getName Name}' attribute. - * - * - * @param value the new value of the 'Name' attribute. - * @see #getName() - * @generated - */ - void setName(String value); - - /** - * Returns the value of the 'Supertypes' reference list. - * The list contents are of type {@link org.eclipse.viatra.solver.language.solverLanguage.NamedElement}. - * - * - * @return the value of the 'Supertypes' reference list. - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getExternDatatypeDefinition_Supertypes() - * @model - * @generated - */ - EList getSupertypes(); - -} // ExternDatatypeDefinition diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/ExternMetricDefinition.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/ExternMetricDefinition.java deleted file mode 100644 index 45cac1e2..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/ExternMetricDefinition.java +++ /dev/null @@ -1,92 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage; - - -/** - * - * A representation of the model object 'Extern Metric Definition'. - * - * - *

    - * The following features are supported: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.ExternMetricDefinition#getType Type}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.ExternMetricDefinition#getName Name}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.ExternMetricDefinition#getArgumentList Argument List}
    • - *
    - * - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getExternMetricDefinition() - * @model - * @generated - */ -public interface ExternMetricDefinition extends Statement { - /** - * Returns the value of the 'Type' reference. - * - * - * @return the value of the 'Type' reference. - * @see #setType(NamedElement) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getExternMetricDefinition_Type() - * @model - * @generated - */ - NamedElement getType(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.ExternMetricDefinition#getType Type}' reference. - * - * - * @param value the new value of the 'Type' reference. - * @see #getType() - * @generated - */ - void setType(NamedElement value); - - /** - * Returns the value of the 'Name' attribute. - * - * - * @return the value of the 'Name' attribute. - * @see #setName(String) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getExternMetricDefinition_Name() - * @model - * @generated - */ - String getName(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.ExternMetricDefinition#getName Name}' attribute. - * - * - * @param value the new value of the 'Name' attribute. - * @see #getName() - * @generated - */ - void setName(String value); - - /** - * Returns the value of the 'Argument List' containment reference. - * - * - * @return the value of the 'Argument List' containment reference. - * @see #setArgumentList(ArgumentList) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getExternMetricDefinition_ArgumentList() - * @model containment="true" - * @generated - */ - ArgumentList getArgumentList(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.ExternMetricDefinition#getArgumentList Argument List}' containment reference. - * - * - * @param value the new value of the 'Argument List' containment reference. - * @see #getArgumentList() - * @generated - */ - void setArgumentList(ArgumentList value); - -} // ExternMetricDefinition diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/ExternPredicateDefinition.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/ExternPredicateDefinition.java deleted file mode 100644 index 647f7b91..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/ExternPredicateDefinition.java +++ /dev/null @@ -1,69 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage; - - -/** - * - * A representation of the model object 'Extern Predicate Definition'. - * - * - *

    - * The following features are supported: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.ExternPredicateDefinition#getName Name}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.ExternPredicateDefinition#getArgumentList Argument List}
    • - *
    - * - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getExternPredicateDefinition() - * @model - * @generated - */ -public interface ExternPredicateDefinition extends Statement { - /** - * Returns the value of the 'Name' attribute. - * - * - * @return the value of the 'Name' attribute. - * @see #setName(String) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getExternPredicateDefinition_Name() - * @model - * @generated - */ - String getName(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.ExternPredicateDefinition#getName Name}' attribute. - * - * - * @param value the new value of the 'Name' attribute. - * @see #getName() - * @generated - */ - void setName(String value); - - /** - * Returns the value of the 'Argument List' containment reference. - * - * - * @return the value of the 'Argument List' containment reference. - * @see #setArgumentList(ArgumentList) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getExternPredicateDefinition_ArgumentList() - * @model containment="true" - * @generated - */ - ArgumentList getArgumentList(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.ExternPredicateDefinition#getArgumentList Argument List}' containment reference. - * - * - * @param value the new value of the 'Argument List' containment reference. - * @see #getArgumentList() - * @generated - */ - void setArgumentList(ArgumentList value); - -} // ExternPredicateDefinition diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Functor.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Functor.java deleted file mode 100644 index 45861d3e..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Functor.java +++ /dev/null @@ -1,37 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage; - -import org.eclipse.emf.common.util.EList; - -/** - * - * A representation of the model object 'Functor'. - * - * - *

    - * The following features are supported: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.Functor#getParameters Parameters}
    • - *
    - * - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getFunctor() - * @model abstract="true" - * @generated - */ -public interface Functor extends NamedElement { - /** - * Returns the value of the 'Parameters' reference list. - * The list contents are of type {@link org.eclipse.viatra.solver.language.solverLanguage.Variable}. - * - * - * @return the value of the 'Parameters' reference list. - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getFunctor_Parameters() - * @model - * @generated - */ - EList getParameters(); - -} // Functor diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/IfElse.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/IfElse.java deleted file mode 100644 index d32ca1e3..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/IfElse.java +++ /dev/null @@ -1,92 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage; - - -/** - * - * A representation of the model object 'If Else'. - * - * - *

    - * The following features are supported: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.IfElse#getThen Then}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.IfElse#getElse Else}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.IfElse#getCondition Condition}
    • - *
    - * - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getIfElse() - * @model - * @generated - */ -public interface IfElse extends Expression { - /** - * Returns the value of the 'Then' containment reference. - * - * - * @return the value of the 'Then' containment reference. - * @see #setThen(Expression) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getIfElse_Then() - * @model containment="true" - * @generated - */ - Expression getThen(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.IfElse#getThen Then}' containment reference. - * - * - * @param value the new value of the 'Then' containment reference. - * @see #getThen() - * @generated - */ - void setThen(Expression value); - - /** - * Returns the value of the 'Else' containment reference. - * - * - * @return the value of the 'Else' containment reference. - * @see #setElse(Expression) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getIfElse_Else() - * @model containment="true" - * @generated - */ - Expression getElse(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.IfElse#getElse Else}' containment reference. - * - * - * @param value the new value of the 'Else' containment reference. - * @see #getElse() - * @generated - */ - void setElse(Expression value); - - /** - * Returns the value of the 'Condition' containment reference. - * - * - * @return the value of the 'Condition' containment reference. - * @see #setCondition(Expression) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getIfElse_Condition() - * @model containment="true" - * @generated - */ - Expression getCondition(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.IfElse#getCondition Condition}' containment reference. - * - * - * @param value the new value of the 'Condition' containment reference. - * @see #getCondition() - * @generated - */ - void setCondition(Expression value); - -} // IfElse diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/InfinityLiteral.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/InfinityLiteral.java deleted file mode 100644 index 5a584019..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/InfinityLiteral.java +++ /dev/null @@ -1,18 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage; - - -/** - * - * A representation of the model object 'Infinity Literal'. - * - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getInfinityLiteral() - * @model - * @generated - */ -public interface InfinityLiteral extends Literal { -} // InfinityLiteral diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Interpretation.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Interpretation.java deleted file mode 100644 index 4d1b6b77..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Interpretation.java +++ /dev/null @@ -1,69 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage; - - -/** - * - * A representation of the model object 'Interpretation'. - * - * - *

    - * The following features are supported: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.Interpretation#getBody Body}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.Interpretation#getRange Range}
    • - *
    - * - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getInterpretation() - * @model - * @generated - */ -public interface Interpretation extends Statement { - /** - * Returns the value of the 'Body' containment reference. - * - * - * @return the value of the 'Body' containment reference. - * @see #setBody(Expression) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getInterpretation_Body() - * @model containment="true" - * @generated - */ - Expression getBody(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.Interpretation#getBody Body}' containment reference. - * - * - * @param value the new value of the 'Body' containment reference. - * @see #getBody() - * @generated - */ - void setBody(Expression value); - - /** - * Returns the value of the 'Range' containment reference. - * - * - * @return the value of the 'Range' containment reference. - * @see #setRange(Expression) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getInterpretation_Range() - * @model containment="true" - * @generated - */ - Expression getRange(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.Interpretation#getRange Range}' containment reference. - * - * - * @param value the new value of the 'Range' containment reference. - * @see #getRange() - * @generated - */ - void setRange(Expression value); - -} // Interpretation diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Interval.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Interval.java deleted file mode 100644 index 39e4cbf3..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Interval.java +++ /dev/null @@ -1,69 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage; - - -/** - * - * A representation of the model object 'Interval'. - * - * - *

    - * The following features are supported: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.Interval#getLowerBound Lower Bound}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.Interval#getUpperBound Upper Bound}
    • - *
    - * - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getInterval() - * @model - * @generated - */ -public interface Interval extends Expression { - /** - * Returns the value of the 'Lower Bound' containment reference. - * - * - * @return the value of the 'Lower Bound' containment reference. - * @see #setLowerBound(Expression) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getInterval_LowerBound() - * @model containment="true" - * @generated - */ - Expression getLowerBound(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.Interval#getLowerBound Lower Bound}' containment reference. - * - * - * @param value the new value of the 'Lower Bound' containment reference. - * @see #getLowerBound() - * @generated - */ - void setLowerBound(Expression value); - - /** - * Returns the value of the 'Upper Bound' containment reference. - * - * - * @return the value of the 'Upper Bound' containment reference. - * @see #setUpperBound(Expression) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getInterval_UpperBound() - * @model containment="true" - * @generated - */ - Expression getUpperBound(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.Interval#getUpperBound Upper Bound}' containment reference. - * - * - * @param value the new value of the 'Upper Bound' containment reference. - * @see #getUpperBound() - * @generated - */ - void setUpperBound(Expression value); - -} // Interval diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Let.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Let.java deleted file mode 100644 index d3e76c1e..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Let.java +++ /dev/null @@ -1,60 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage; - -import org.eclipse.emf.common.util.EList; - -/** - * - * A representation of the model object 'Let'. - * - * - *

    - * The following features are supported: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.Let#getBindings Bindings}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.Let#getBody Body}
    • - *
    - * - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getLet() - * @model - * @generated - */ -public interface Let extends Expression { - /** - * Returns the value of the 'Bindings' containment reference list. - * The list contents are of type {@link org.eclipse.viatra.solver.language.solverLanguage.LetBinding}. - * - * - * @return the value of the 'Bindings' containment reference list. - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getLet_Bindings() - * @model containment="true" - * @generated - */ - EList getBindings(); - - /** - * Returns the value of the 'Body' containment reference. - * - * - * @return the value of the 'Body' containment reference. - * @see #setBody(Expression) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getLet_Body() - * @model containment="true" - * @generated - */ - Expression getBody(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.Let#getBody Body}' containment reference. - * - * - * @param value the new value of the 'Body' containment reference. - * @see #getBody() - * @generated - */ - void setBody(Expression value); - -} // Let diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/LetBinding.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/LetBinding.java deleted file mode 100644 index f6569b11..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/LetBinding.java +++ /dev/null @@ -1,70 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage; - -import org.eclipse.emf.ecore.EObject; - -/** - * - * A representation of the model object 'Let Binding'. - * - * - *

    - * The following features are supported: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.LetBinding#getVariable Variable}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.LetBinding#getValue Value}
    • - *
    - * - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getLetBinding() - * @model - * @generated - */ -public interface LetBinding extends EObject { - /** - * Returns the value of the 'Variable' containment reference. - * - * - * @return the value of the 'Variable' containment reference. - * @see #setVariable(NamedElement) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getLetBinding_Variable() - * @model containment="true" - * @generated - */ - NamedElement getVariable(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.LetBinding#getVariable Variable}' containment reference. - * - * - * @param value the new value of the 'Variable' containment reference. - * @see #getVariable() - * @generated - */ - void setVariable(NamedElement value); - - /** - * Returns the value of the 'Value' containment reference. - * - * - * @return the value of the 'Value' containment reference. - * @see #setValue(Expression) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getLetBinding_Value() - * @model containment="true" - * @generated - */ - Expression getValue(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.LetBinding#getValue Value}' containment reference. - * - * - * @param value the new value of the 'Value' containment reference. - * @see #getValue() - * @generated - */ - void setValue(Expression value); - -} // LetBinding diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Literal.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Literal.java deleted file mode 100644 index c7f7a31a..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Literal.java +++ /dev/null @@ -1,18 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage; - - -/** - * - * A representation of the model object 'Literal'. - * - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getLiteral() - * @model - * @generated - */ -public interface Literal extends Expression { -} // Literal diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/LocalVariables.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/LocalVariables.java deleted file mode 100644 index d5edda19..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/LocalVariables.java +++ /dev/null @@ -1,39 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage; - -import org.eclipse.emf.common.util.EList; - -import org.eclipse.emf.ecore.EObject; - -/** - * - * A representation of the model object 'Local Variables'. - * - * - *

    - * The following features are supported: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.LocalVariables#getVariables Variables}
    • - *
    - * - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getLocalVariables() - * @model - * @generated - */ -public interface LocalVariables extends EObject { - /** - * Returns the value of the 'Variables' containment reference list. - * The list contents are of type {@link org.eclipse.viatra.solver.language.solverLanguage.NamedElement}. - * - * - * @return the value of the 'Variables' containment reference list. - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getLocalVariables_Variables() - * @model containment="true" - * @generated - */ - EList getVariables(); - -} // LocalVariables diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/LogicLiteral.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/LogicLiteral.java deleted file mode 100644 index 8c60650b..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/LogicLiteral.java +++ /dev/null @@ -1,49 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage; - - -/** - * - * A representation of the model object 'Logic Literal'. - * - * - *

    - * The following features are supported: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.LogicLiteral#getValue Value}
    • - *
    - * - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getLogicLiteral() - * @model - * @generated - */ -public interface LogicLiteral extends Literal { - /** - * Returns the value of the 'Value' attribute. - * The literals are from the enumeration {@link org.eclipse.viatra.solver.language.solverLanguage.LogicValue}. - * - * - * @return the value of the 'Value' attribute. - * @see org.eclipse.viatra.solver.language.solverLanguage.LogicValue - * @see #setValue(LogicValue) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getLogicLiteral_Value() - * @model - * @generated - */ - LogicValue getValue(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.LogicLiteral#getValue Value}' attribute. - * - * - * @param value the new value of the 'Value' attribute. - * @see org.eclipse.viatra.solver.language.solverLanguage.LogicValue - * @see #getValue() - * @generated - */ - void setValue(LogicValue value); - -} // LogicLiteral diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/LogicValue.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/LogicValue.java deleted file mode 100644 index 5f129c05..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/LogicValue.java +++ /dev/null @@ -1,256 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage; - -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 'Logic Value', - * and utility methods for working with them. - * - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getLogicValue() - * @model - * @generated - */ -public enum LogicValue implements Enumerator { - /** - * The 'TRUE' literal object. - * - * - * @see #TRUE_VALUE - * @generated - * @ordered - */ - TRUE(0, "TRUE", "true"), - - /** - * The 'FALSE' literal object. - * - * - * @see #FALSE_VALUE - * @generated - * @ordered - */ - FALSE(1, "FALSE", "false"), - - /** - * The 'UNKNOWN' literal object. - * - * - * @see #UNKNOWN_VALUE - * @generated - * @ordered - */ - UNKNOWN(2, "UNKNOWN", "unknown"), - - /** - * The 'ERROR' literal object. - * - * - * @see #ERROR_VALUE - * @generated - * @ordered - */ - ERROR(3, "ERROR", "error"); - - /** - * The 'TRUE' literal value. - * - * - * @see #TRUE - * @model literal="true" - * @generated - * @ordered - */ - public static final int TRUE_VALUE = 0; - - /** - * The 'FALSE' literal value. - * - * - * @see #FALSE - * @model literal="false" - * @generated - * @ordered - */ - public static final int FALSE_VALUE = 1; - - /** - * The 'UNKNOWN' literal value. - * - * - * @see #UNKNOWN - * @model literal="unknown" - * @generated - * @ordered - */ - public static final int UNKNOWN_VALUE = 2; - - /** - * The 'ERROR' literal value. - * - * - * @see #ERROR - * @model literal="error" - * @generated - * @ordered - */ - public static final int ERROR_VALUE = 3; - - /** - * An array of all the 'Logic Value' enumerators. - * - * - * @generated - */ - private static final LogicValue[] VALUES_ARRAY = - new LogicValue[] { - TRUE, - FALSE, - UNKNOWN, - ERROR, - }; - - /** - * A public read-only list of all the 'Logic Value' enumerators. - * - * - * @generated - */ - public static final List VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); - - /** - * Returns the 'Logic Value' literal with the specified literal value. - * - * - * @param literal the literal. - * @return the matching enumerator or null. - * @generated - */ - public static LogicValue get(String literal) { - for (int i = 0; i < VALUES_ARRAY.length; ++i) { - LogicValue result = VALUES_ARRAY[i]; - if (result.toString().equals(literal)) { - return result; - } - } - return null; - } - - /** - * Returns the 'Logic Value' literal with the specified name. - * - * - * @param name the name. - * @return the matching enumerator or null. - * @generated - */ - public static LogicValue getByName(String name) { - for (int i = 0; i < VALUES_ARRAY.length; ++i) { - LogicValue result = VALUES_ARRAY[i]; - if (result.getName().equals(name)) { - return result; - } - } - return null; - } - - /** - * Returns the 'Logic Value' literal with the specified integer value. - * - * - * @param value the integer value. - * @return the matching enumerator or null. - * @generated - */ - public static LogicValue get(int value) { - switch (value) { - case TRUE_VALUE: return TRUE; - case FALSE_VALUE: return FALSE; - case UNKNOWN_VALUE: return UNKNOWN; - case ERROR_VALUE: return ERROR; - } - 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 LogicValue(int value, String name, String literal) { - this.value = value; - this.name = name; - this.literal = literal; - } - - /** - * - * - * @generated - */ - @Override - public int getValue() { - return value; - } - - /** - * - * - * @generated - */ - @Override - public String getName() { - return name; - } - - /** - * - * - * @generated - */ - @Override - public String getLiteral() { - return literal; - } - - /** - * Returns the literal value of the enumerator, which is its string representation. - * - * - * @generated - */ - @Override - public String toString() { - return literal; - } - -} //LogicValue diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/LowerBoundedScopeDefinition.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/LowerBoundedScopeDefinition.java deleted file mode 100644 index 1c1c6764..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/LowerBoundedScopeDefinition.java +++ /dev/null @@ -1,46 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage; - - -/** - * - * A representation of the model object 'Lower Bounded Scope Definition'. - * - * - *

    - * The following features are supported: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.LowerBoundedScopeDefinition#getLowerBound Lower Bound}
    • - *
    - * - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getLowerBoundedScopeDefinition() - * @model - * @generated - */ -public interface LowerBoundedScopeDefinition extends ScopeDefinition { - /** - * Returns the value of the 'Lower Bound' attribute. - * - * - * @return the value of the 'Lower Bound' attribute. - * @see #setLowerBound(int) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getLowerBoundedScopeDefinition_LowerBound() - * @model - * @generated - */ - int getLowerBound(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.LowerBoundedScopeDefinition#getLowerBound Lower Bound}' attribute. - * - * - * @param value the new value of the 'Lower Bound' attribute. - * @see #getLowerBound() - * @generated - */ - void setLowerBound(int value); - -} // LowerBoundedScopeDefinition diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/ManyMultiplicity.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/ManyMultiplicity.java deleted file mode 100644 index 2d40f570..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/ManyMultiplicity.java +++ /dev/null @@ -1,18 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage; - - -/** - * - * A representation of the model object 'Many Multiplicity'. - * - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getManyMultiplicity() - * @model - * @generated - */ -public interface ManyMultiplicity extends Multiplicity { -} // ManyMultiplicity diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/MemberDefinition.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/MemberDefinition.java deleted file mode 100644 index 6a8d507e..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/MemberDefinition.java +++ /dev/null @@ -1,139 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage; - -import org.eclipse.emf.ecore.EObject; - -/** - * - * A representation of the model object 'Member Definition'. - * - * - *

    - * The following features are supported: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.MemberDefinition#isContainment Containment}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.MemberDefinition#getType Type}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.MemberDefinition#getMultiplicity Multiplicity}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.MemberDefinition#getName Name}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.MemberDefinition#getOpposite Opposite}
    • - *
    - * - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getMemberDefinition() - * @model - * @generated - */ -public interface MemberDefinition extends EObject { - /** - * Returns the value of the 'Containment' attribute. - * - * - * @return the value of the 'Containment' attribute. - * @see #setContainment(boolean) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getMemberDefinition_Containment() - * @model - * @generated - */ - boolean isContainment(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.MemberDefinition#isContainment Containment}' attribute. - * - * - * @param value the new value of the 'Containment' attribute. - * @see #isContainment() - * @generated - */ - void setContainment(boolean value); - - /** - * Returns the value of the 'Type' reference. - * - * - * @return the value of the 'Type' reference. - * @see #setType(NamedElement) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getMemberDefinition_Type() - * @model - * @generated - */ - NamedElement getType(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.MemberDefinition#getType Type}' reference. - * - * - * @param value the new value of the 'Type' reference. - * @see #getType() - * @generated - */ - void setType(NamedElement value); - - /** - * Returns the value of the 'Multiplicity' containment reference. - * - * - * @return the value of the 'Multiplicity' containment reference. - * @see #setMultiplicity(Multiplicity) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getMemberDefinition_Multiplicity() - * @model containment="true" - * @generated - */ - Multiplicity getMultiplicity(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.MemberDefinition#getMultiplicity Multiplicity}' containment reference. - * - * - * @param value the new value of the 'Multiplicity' containment reference. - * @see #getMultiplicity() - * @generated - */ - void setMultiplicity(Multiplicity value); - - /** - * Returns the value of the 'Name' attribute. - * - * - * @return the value of the 'Name' attribute. - * @see #setName(String) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getMemberDefinition_Name() - * @model - * @generated - */ - String getName(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.MemberDefinition#getName Name}' attribute. - * - * - * @param value the new value of the 'Name' attribute. - * @see #getName() - * @generated - */ - void setName(String value); - - /** - * Returns the value of the 'Opposite' reference. - * - * - * @return the value of the 'Opposite' reference. - * @see #setOpposite(NamedElement) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getMemberDefinition_Opposite() - * @model - * @generated - */ - NamedElement getOpposite(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.MemberDefinition#getOpposite Opposite}' reference. - * - * - * @param value the new value of the 'Opposite' reference. - * @see #getOpposite() - * @generated - */ - void setOpposite(NamedElement value); - -} // MemberDefinition diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Metric.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Metric.java deleted file mode 100644 index 02724d03..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Metric.java +++ /dev/null @@ -1,46 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage; - - -/** - * - * A representation of the model object 'Metric'. - * - * - *

    - * The following features are supported: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.Metric#getReturnType Return Type}
    • - *
    - * - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getMetric() - * @model - * @generated - */ -public interface Metric extends Functor { - /** - * Returns the value of the 'Return Type' reference. - * - * - * @return the value of the 'Return Type' reference. - * @see #setReturnType(NamedElement) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getMetric_ReturnType() - * @model - * @generated - */ - NamedElement getReturnType(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.Metric#getReturnType Return Type}' reference. - * - * - * @param value the new value of the 'Return Type' reference. - * @see #getReturnType() - * @generated - */ - void setReturnType(NamedElement value); - -} // Metric diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/MetricDefinition.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/MetricDefinition.java deleted file mode 100644 index fa86f55e..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/MetricDefinition.java +++ /dev/null @@ -1,92 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage; - - -/** - * - * A representation of the model object 'Metric Definition'. - * - * - *

    - * The following features are supported: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.MetricDefinition#getHead Head}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.MetricDefinition#getBody Body}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.MetricDefinition#getType Type}
    • - *
    - * - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getMetricDefinition() - * @model - * @generated - */ -public interface MetricDefinition extends Statement { - /** - * Returns the value of the 'Head' containment reference. - * - * - * @return the value of the 'Head' containment reference. - * @see #setHead(Expression) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getMetricDefinition_Head() - * @model containment="true" - * @generated - */ - Expression getHead(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.MetricDefinition#getHead Head}' containment reference. - * - * - * @param value the new value of the 'Head' containment reference. - * @see #getHead() - * @generated - */ - void setHead(Expression value); - - /** - * Returns the value of the 'Body' containment reference. - * - * - * @return the value of the 'Body' containment reference. - * @see #setBody(Expression) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getMetricDefinition_Body() - * @model containment="true" - * @generated - */ - Expression getBody(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.MetricDefinition#getBody Body}' containment reference. - * - * - * @param value the new value of the 'Body' containment reference. - * @see #getBody() - * @generated - */ - void setBody(Expression value); - - /** - * Returns the value of the 'Type' reference. - * - * - * @return the value of the 'Type' reference. - * @see #setType(NamedElement) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getMetricDefinition_Type() - * @model - * @generated - */ - NamedElement getType(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.MetricDefinition#getType Type}' reference. - * - * - * @param value the new value of the 'Type' reference. - * @see #getType() - * @generated - */ - void setType(NamedElement value); - -} // MetricDefinition diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Multiplicity.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Multiplicity.java deleted file mode 100644 index 5b6f1306..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Multiplicity.java +++ /dev/null @@ -1,19 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage; - -import org.eclipse.emf.ecore.EObject; - -/** - * - * A representation of the model object 'Multiplicity'. - * - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getMultiplicity() - * @model - * @generated - */ -public interface Multiplicity extends EObject { -} // Multiplicity diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/NamedElement.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/NamedElement.java deleted file mode 100644 index 4daa21ab..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/NamedElement.java +++ /dev/null @@ -1,47 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage; - -import org.eclipse.emf.ecore.EObject; - -/** - * - * A representation of the model object 'Named Element'. - * - * - *

    - * The following features are supported: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.NamedElement#getName Name}
    • - *
    - * - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getNamedElement() - * @model - * @generated - */ -public interface NamedElement extends EObject { - /** - * Returns the value of the 'Name' attribute. - * - * - * @return the value of the 'Name' attribute. - * @see #setName(String) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getNamedElement_Name() - * @model - * @generated - */ - String getName(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.NamedElement#getName Name}' attribute. - * - * - * @param value the new value of the 'Name' attribute. - * @see #getName() - * @generated - */ - void setName(String value); - -} // NamedElement diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Node.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Node.java deleted file mode 100644 index f9c5d833..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Node.java +++ /dev/null @@ -1,46 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage; - - -/** - * - * A representation of the model object 'Node'. - * - * - *

    - * The following features are supported: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.Node#isWithId With Id}
    • - *
    - * - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getNode() - * @model - * @generated - */ -public interface Node extends NamedElement { - /** - * Returns the value of the 'With Id' attribute. - * - * - * @return the value of the 'With Id' attribute. - * @see #setWithId(boolean) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getNode_WithId() - * @model - * @generated - */ - boolean isWithId(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.Node#isWithId With Id}' attribute. - * - * - * @param value the new value of the 'With Id' attribute. - * @see #isWithId() - * @generated - */ - void setWithId(boolean value); - -} // Node diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/NumericLiteral.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/NumericLiteral.java deleted file mode 100644 index dcefba48..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/NumericLiteral.java +++ /dev/null @@ -1,47 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage; - -import java.math.BigDecimal; - -/** - * - * A representation of the model object 'Numeric Literal'. - * - * - *

    - * The following features are supported: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.NumericLiteral#getValue Value}
    • - *
    - * - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getNumericLiteral() - * @model - * @generated - */ -public interface NumericLiteral extends Literal { - /** - * Returns the value of the 'Value' attribute. - * - * - * @return the value of the 'Value' attribute. - * @see #setValue(BigDecimal) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getNumericLiteral_Value() - * @model - * @generated - */ - BigDecimal getValue(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.NumericLiteral#getValue Value}' attribute. - * - * - * @param value the new value of the 'Value' attribute. - * @see #getValue() - * @generated - */ - void setValue(BigDecimal value); - -} // NumericLiteral diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/ObjectiveDefinition.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/ObjectiveDefinition.java deleted file mode 100644 index ffd46d01..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/ObjectiveDefinition.java +++ /dev/null @@ -1,72 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage; - - -/** - * - * A representation of the model object 'Objective Definition'. - * - * - *

    - * The following features are supported: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.ObjectiveDefinition#getKind Kind}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.ObjectiveDefinition#getObjective Objective}
    • - *
    - * - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getObjectiveDefinition() - * @model - * @generated - */ -public interface ObjectiveDefinition extends Statement { - /** - * Returns the value of the 'Kind' attribute. - * The literals are from the enumeration {@link org.eclipse.viatra.solver.language.solverLanguage.ObjectiveKind}. - * - * - * @return the value of the 'Kind' attribute. - * @see org.eclipse.viatra.solver.language.solverLanguage.ObjectiveKind - * @see #setKind(ObjectiveKind) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getObjectiveDefinition_Kind() - * @model - * @generated - */ - ObjectiveKind getKind(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.ObjectiveDefinition#getKind Kind}' attribute. - * - * - * @param value the new value of the 'Kind' attribute. - * @see org.eclipse.viatra.solver.language.solverLanguage.ObjectiveKind - * @see #getKind() - * @generated - */ - void setKind(ObjectiveKind value); - - /** - * Returns the value of the 'Objective' containment reference. - * - * - * @return the value of the 'Objective' containment reference. - * @see #setObjective(Expression) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getObjectiveDefinition_Objective() - * @model containment="true" - * @generated - */ - Expression getObjective(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.ObjectiveDefinition#getObjective Objective}' containment reference. - * - * - * @param value the new value of the 'Objective' containment reference. - * @see #getObjective() - * @generated - */ - void setObjective(Expression value); - -} // ObjectiveDefinition diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/ObjectiveKind.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/ObjectiveKind.java deleted file mode 100644 index 72f5947c..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/ObjectiveKind.java +++ /dev/null @@ -1,210 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage; - -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 'Objective Kind', - * and utility methods for working with them. - * - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getObjectiveKind() - * @model - * @generated - */ -public enum ObjectiveKind implements Enumerator { - /** - * The 'MINIMIZE' literal object. - * - * - * @see #MINIMIZE_VALUE - * @generated - * @ordered - */ - MINIMIZE(0, "MINIMIZE", "minimize"), - - /** - * The 'MAXIMIZE' literal object. - * - * - * @see #MAXIMIZE_VALUE - * @generated - * @ordered - */ - MAXIMIZE(1, "MAXIMIZE", "maximize"); - - /** - * The 'MINIMIZE' literal value. - * - * - * @see #MINIMIZE - * @model literal="minimize" - * @generated - * @ordered - */ - public static final int MINIMIZE_VALUE = 0; - - /** - * The 'MAXIMIZE' literal value. - * - * - * @see #MAXIMIZE - * @model literal="maximize" - * @generated - * @ordered - */ - public static final int MAXIMIZE_VALUE = 1; - - /** - * An array of all the 'Objective Kind' enumerators. - * - * - * @generated - */ - private static final ObjectiveKind[] VALUES_ARRAY = - new ObjectiveKind[] { - MINIMIZE, - MAXIMIZE, - }; - - /** - * A public read-only list of all the 'Objective Kind' enumerators. - * - * - * @generated - */ - public static final List VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); - - /** - * Returns the 'Objective Kind' literal with the specified literal value. - * - * - * @param literal the literal. - * @return the matching enumerator or null. - * @generated - */ - public static ObjectiveKind get(String literal) { - for (int i = 0; i < VALUES_ARRAY.length; ++i) { - ObjectiveKind result = VALUES_ARRAY[i]; - if (result.toString().equals(literal)) { - return result; - } - } - return null; - } - - /** - * Returns the 'Objective Kind' literal with the specified name. - * - * - * @param name the name. - * @return the matching enumerator or null. - * @generated - */ - public static ObjectiveKind getByName(String name) { - for (int i = 0; i < VALUES_ARRAY.length; ++i) { - ObjectiveKind result = VALUES_ARRAY[i]; - if (result.getName().equals(name)) { - return result; - } - } - return null; - } - - /** - * Returns the 'Objective Kind' literal with the specified integer value. - * - * - * @param value the integer value. - * @return the matching enumerator or null. - * @generated - */ - public static ObjectiveKind get(int value) { - switch (value) { - case MINIMIZE_VALUE: return MINIMIZE; - case MAXIMIZE_VALUE: return MAXIMIZE; - } - 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 ObjectiveKind(int value, String name, String literal) { - this.value = value; - this.name = name; - this.literal = literal; - } - - /** - * - * - * @generated - */ - @Override - public int getValue() { - return value; - } - - /** - * - * - * @generated - */ - @Override - public String getName() { - return name; - } - - /** - * - * - * @generated - */ - @Override - public String getLiteral() { - return literal; - } - - /** - * Returns the literal value of the enumerator, which is its string representation. - * - * - * @generated - */ - @Override - public String toString() { - return literal; - } - -} //ObjectiveKind diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Predicate.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Predicate.java deleted file mode 100644 index cfeaa0f2..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Predicate.java +++ /dev/null @@ -1,18 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage; - - -/** - * - * A representation of the model object 'Predicate'. - * - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getPredicate() - * @model - * @generated - */ -public interface Predicate extends Functor { -} // Predicate diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/PredicateDefinition.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/PredicateDefinition.java deleted file mode 100644 index ff248906..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/PredicateDefinition.java +++ /dev/null @@ -1,115 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage; - - -/** - * - * A representation of the model object 'Predicate Definition'. - * - * - *

    - * The following features are supported: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.PredicateDefinition#getHead Head}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.PredicateDefinition#getBody Body}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.PredicateDefinition#isFunctional Functional}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.PredicateDefinition#isError Error}
    • - *
    - * - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getPredicateDefinition() - * @model - * @generated - */ -public interface PredicateDefinition extends Statement { - /** - * Returns the value of the 'Head' containment reference. - * - * - * @return the value of the 'Head' containment reference. - * @see #setHead(Expression) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getPredicateDefinition_Head() - * @model containment="true" - * @generated - */ - Expression getHead(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.PredicateDefinition#getHead Head}' containment reference. - * - * - * @param value the new value of the 'Head' containment reference. - * @see #getHead() - * @generated - */ - void setHead(Expression value); - - /** - * Returns the value of the 'Body' containment reference. - * - * - * @return the value of the 'Body' containment reference. - * @see #setBody(Expression) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getPredicateDefinition_Body() - * @model containment="true" - * @generated - */ - Expression getBody(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.PredicateDefinition#getBody Body}' containment reference. - * - * - * @param value the new value of the 'Body' containment reference. - * @see #getBody() - * @generated - */ - void setBody(Expression value); - - /** - * Returns the value of the 'Functional' attribute. - * - * - * @return the value of the 'Functional' attribute. - * @see #setFunctional(boolean) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getPredicateDefinition_Functional() - * @model - * @generated - */ - boolean isFunctional(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.PredicateDefinition#isFunctional Functional}' attribute. - * - * - * @param value the new value of the 'Functional' attribute. - * @see #isFunctional() - * @generated - */ - void setFunctional(boolean value); - - /** - * Returns the value of the 'Error' attribute. - * - * - * @return the value of the 'Error' attribute. - * @see #setError(boolean) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getPredicateDefinition_Error() - * @model - * @generated - */ - boolean isError(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.PredicateDefinition#isError Error}' attribute. - * - * - * @param value the new value of the 'Error' attribute. - * @see #isError() - * @generated - */ - void setError(boolean value); - -} // PredicateDefinition diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Problem.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Problem.java deleted file mode 100644 index 56fac081..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Problem.java +++ /dev/null @@ -1,39 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage; - -import org.eclipse.emf.common.util.EList; - -import org.eclipse.emf.ecore.EObject; - -/** - * - * A representation of the model object 'Problem'. - * - * - *

    - * The following features are supported: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.Problem#getStatements Statements}
    • - *
    - * - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getProblem() - * @model - * @generated - */ -public interface Problem extends EObject { - /** - * Returns the value of the 'Statements' containment reference list. - * The list contents are of type {@link org.eclipse.viatra.solver.language.solverLanguage.Statement}. - * - * - * @return the value of the 'Statements' containment reference list. - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getProblem_Statements() - * @model containment="true" - * @generated - */ - EList getStatements(); - -} // Problem diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/QuantifiedExpression.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/QuantifiedExpression.java deleted file mode 100644 index 0b2edb36..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/QuantifiedExpression.java +++ /dev/null @@ -1,95 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage; - - -/** - * - * A representation of the model object 'Quantified Expression'. - * - * - *

    - * The following features are supported: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.QuantifiedExpression#getLocalVariables Local Variables}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.QuantifiedExpression#getBody Body}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.QuantifiedExpression#getQuantifier Quantifier}
    • - *
    - * - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getQuantifiedExpression() - * @model - * @generated - */ -public interface QuantifiedExpression extends Expression { - /** - * Returns the value of the 'Local Variables' containment reference. - * - * - * @return the value of the 'Local Variables' containment reference. - * @see #setLocalVariables(LocalVariables) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getQuantifiedExpression_LocalVariables() - * @model containment="true" - * @generated - */ - LocalVariables getLocalVariables(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.QuantifiedExpression#getLocalVariables Local Variables}' containment reference. - * - * - * @param value the new value of the 'Local Variables' containment reference. - * @see #getLocalVariables() - * @generated - */ - void setLocalVariables(LocalVariables value); - - /** - * Returns the value of the 'Body' containment reference. - * - * - * @return the value of the 'Body' containment reference. - * @see #setBody(Expression) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getQuantifiedExpression_Body() - * @model containment="true" - * @generated - */ - Expression getBody(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.QuantifiedExpression#getBody Body}' containment reference. - * - * - * @param value the new value of the 'Body' containment reference. - * @see #getBody() - * @generated - */ - void setBody(Expression value); - - /** - * Returns the value of the 'Quantifier' attribute. - * The literals are from the enumeration {@link org.eclipse.viatra.solver.language.solverLanguage.Quantifier}. - * - * - * @return the value of the 'Quantifier' attribute. - * @see org.eclipse.viatra.solver.language.solverLanguage.Quantifier - * @see #setQuantifier(Quantifier) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getQuantifiedExpression_Quantifier() - * @model - * @generated - */ - Quantifier getQuantifier(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.QuantifiedExpression#getQuantifier Quantifier}' attribute. - * - * - * @param value the new value of the 'Quantifier' attribute. - * @see org.eclipse.viatra.solver.language.solverLanguage.Quantifier - * @see #getQuantifier() - * @generated - */ - void setQuantifier(Quantifier value); - -} // QuantifiedExpression diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Quantifier.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Quantifier.java deleted file mode 100644 index 4c674fe0..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Quantifier.java +++ /dev/null @@ -1,233 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage; - -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 'Quantifier', - * and utility methods for working with them. - * - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getQuantifier() - * @model - * @generated - */ -public enum Quantifier implements Enumerator { - /** - * The 'EXISTS' literal object. - * - * - * @see #EXISTS_VALUE - * @generated - * @ordered - */ - EXISTS(0, "EXISTS", "EXISTS"), - - /** - * The 'FORALL' literal object. - * - * - * @see #FORALL_VALUE - * @generated - * @ordered - */ - FORALL(1, "FORALL", "FORALL"), - - /** - * The 'COUNT' literal object. - * - * - * @see #COUNT_VALUE - * @generated - * @ordered - */ - COUNT(2, "COUNT", "COUNT"); - - /** - * The 'EXISTS' literal value. - * - * - * @see #EXISTS - * @model - * @generated - * @ordered - */ - public static final int EXISTS_VALUE = 0; - - /** - * The 'FORALL' literal value. - * - * - * @see #FORALL - * @model - * @generated - * @ordered - */ - public static final int FORALL_VALUE = 1; - - /** - * The 'COUNT' literal value. - * - * - * @see #COUNT - * @model - * @generated - * @ordered - */ - public static final int COUNT_VALUE = 2; - - /** - * An array of all the 'Quantifier' enumerators. - * - * - * @generated - */ - private static final Quantifier[] VALUES_ARRAY = - new Quantifier[] { - EXISTS, - FORALL, - COUNT, - }; - - /** - * A public read-only list of all the 'Quantifier' enumerators. - * - * - * @generated - */ - public static final List VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); - - /** - * Returns the 'Quantifier' literal with the specified literal value. - * - * - * @param literal the literal. - * @return the matching enumerator or null. - * @generated - */ - public static Quantifier get(String literal) { - for (int i = 0; i < VALUES_ARRAY.length; ++i) { - Quantifier result = VALUES_ARRAY[i]; - if (result.toString().equals(literal)) { - return result; - } - } - return null; - } - - /** - * Returns the 'Quantifier' literal with the specified name. - * - * - * @param name the name. - * @return the matching enumerator or null. - * @generated - */ - public static Quantifier getByName(String name) { - for (int i = 0; i < VALUES_ARRAY.length; ++i) { - Quantifier result = VALUES_ARRAY[i]; - if (result.getName().equals(name)) { - return result; - } - } - return null; - } - - /** - * Returns the 'Quantifier' literal with the specified integer value. - * - * - * @param value the integer value. - * @return the matching enumerator or null. - * @generated - */ - public static Quantifier get(int value) { - switch (value) { - case EXISTS_VALUE: return EXISTS; - case FORALL_VALUE: return FORALL; - case COUNT_VALUE: return COUNT; - } - 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 Quantifier(int value, String name, String literal) { - this.value = value; - this.name = name; - this.literal = literal; - } - - /** - * - * - * @generated - */ - @Override - public int getValue() { - return value; - } - - /** - * - * - * @generated - */ - @Override - public String getName() { - return name; - } - - /** - * - * - * @generated - */ - @Override - public String getLiteral() { - return literal; - } - - /** - * Returns the literal value of the enumerator, which is its string representation. - * - * - * @generated - */ - @Override - public String toString() { - return literal; - } - -} //Quantifier diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Reference.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Reference.java deleted file mode 100644 index 5fd43f34..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Reference.java +++ /dev/null @@ -1,46 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage; - - -/** - * - * A representation of the model object 'Reference'. - * - * - *

    - * The following features are supported: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.Reference#getReferred Referred}
    • - *
    - * - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getReference() - * @model - * @generated - */ -public interface Reference extends Expression { - /** - * Returns the value of the 'Referred' reference. - * - * - * @return the value of the 'Referred' reference. - * @see #setReferred(NamedElement) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getReference_Referred() - * @model - * @generated - */ - NamedElement getReferred(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.Reference#getReferred Referred}' reference. - * - * - * @param value the new value of the 'Referred' reference. - * @see #getReferred() - * @generated - */ - void setReferred(NamedElement value); - -} // Reference diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/ScopeDefinition.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/ScopeDefinition.java deleted file mode 100644 index 6cd03ef0..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/ScopeDefinition.java +++ /dev/null @@ -1,46 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage; - - -/** - * - * A representation of the model object 'Scope Definition'. - * - * - *

    - * The following features are supported: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.ScopeDefinition#getType Type}
    • - *
    - * - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getScopeDefinition() - * @model - * @generated - */ -public interface ScopeDefinition extends Statement { - /** - * Returns the value of the 'Type' reference. - * - * - * @return the value of the 'Type' reference. - * @see #setType(NamedElement) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getScopeDefinition_Type() - * @model - * @generated - */ - NamedElement getType(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.ScopeDefinition#getType Type}' reference. - * - * - * @param value the new value of the 'Type' reference. - * @see #getType() - * @generated - */ - void setType(NamedElement value); - -} // ScopeDefinition diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/SolverLanguageFactory.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/SolverLanguageFactory.java deleted file mode 100644 index 6589eaa4..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/SolverLanguageFactory.java +++ /dev/null @@ -1,538 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage; - -import org.eclipse.emf.ecore.EFactory; - -/** - * - * The Factory for the model. - * It provides a create method for each non-abstract class of the model. - * - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage - * @generated - */ -public interface SolverLanguageFactory extends EFactory { - /** - * The singleton instance of the factory. - * - * - * @generated - */ - SolverLanguageFactory eINSTANCE = org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguageFactoryImpl.init(); - - /** - * Returns a new object of class 'Problem'. - * - * - * @return a new object of class 'Problem'. - * @generated - */ - Problem createProblem(); - - /** - * Returns a new object of class 'Statement'. - * - * - * @return a new object of class 'Statement'. - * @generated - */ - Statement createStatement(); - - /** - * Returns a new object of class 'Predicate Definition'. - * - * - * @return a new object of class 'Predicate Definition'. - * @generated - */ - PredicateDefinition createPredicateDefinition(); - - /** - * Returns a new object of class 'Unnamed Error Prediate Definition'. - * - * - * @return a new object of class 'Unnamed Error Prediate Definition'. - * @generated - */ - UnnamedErrorPrediateDefinition createUnnamedErrorPrediateDefinition(); - - /** - * Returns a new object of class 'Default Definition'. - * - * - * @return a new object of class 'Default Definition'. - * @generated - */ - DefaultDefinition createDefaultDefinition(); - - /** - * Returns a new object of class 'Metric Definition'. - * - * - * @return a new object of class 'Metric Definition'. - * @generated - */ - MetricDefinition createMetricDefinition(); - - /** - * Returns a new object of class 'Extern Predicate Definition'. - * - * - * @return a new object of class 'Extern Predicate Definition'. - * @generated - */ - ExternPredicateDefinition createExternPredicateDefinition(); - - /** - * Returns a new object of class 'Extern Metric Definition'. - * - * - * @return a new object of class 'Extern Metric Definition'. - * @generated - */ - ExternMetricDefinition createExternMetricDefinition(); - - /** - * Returns a new object of class 'Extern Aggregator Definition'. - * - * - * @return a new object of class 'Extern Aggregator Definition'. - * @generated - */ - ExternAggregatorDefinition createExternAggregatorDefinition(); - - /** - * Returns a new object of class 'Extern Datatype Definition'. - * - * - * @return a new object of class 'Extern Datatype Definition'. - * @generated - */ - ExternDatatypeDefinition createExternDatatypeDefinition(); - - /** - * Returns a new object of class 'Named Element'. - * - * - * @return a new object of class 'Named Element'. - * @generated - */ - NamedElement createNamedElement(); - - /** - * Returns a new object of class 'If Else'. - * - * - * @return a new object of class 'If Else'. - * @generated - */ - IfElse createIfElse(); - - /** - * Returns a new object of class 'Let'. - * - * - * @return a new object of class 'Let'. - * @generated - */ - Let createLet(); - - /** - * Returns a new object of class 'Let Binding'. - * - * - * @return a new object of class 'Let Binding'. - * @generated - */ - LetBinding createLetBinding(); - - /** - * Returns a new object of class 'Case'. - * - * - * @return a new object of class 'Case'. - * @generated - */ - Case createCase(); - - /** - * Returns a new object of class 'Local Variables'. - * - * - * @return a new object of class 'Local Variables'. - * @generated - */ - LocalVariables createLocalVariables(); - - /** - * Returns a new object of class 'Quantified Expression'. - * - * - * @return a new object of class 'Quantified Expression'. - * @generated - */ - QuantifiedExpression createQuantifiedExpression(); - - /** - * Returns a new object of class 'Aggregation'. - * - * - * @return a new object of class 'Aggregation'. - * @generated - */ - Aggregation createAggregation(); - - /** - * Returns a new object of class 'Call'. - * - * - * @return a new object of class 'Call'. - * @generated - */ - Call createCall(); - - /** - * Returns a new object of class 'Argument List'. - * - * - * @return a new object of class 'Argument List'. - * @generated - */ - ArgumentList createArgumentList(); - - /** - * Returns a new object of class 'Argument'. - * - * - * @return a new object of class 'Argument'. - * @generated - */ - Argument createArgument(); - - /** - * Returns a new object of class 'Expression Argument'. - * - * - * @return a new object of class 'Expression Argument'. - * @generated - */ - ExpressionArgument createExpressionArgument(); - - /** - * Returns a new object of class 'Star Argument'. - * - * - * @return a new object of class 'Star Argument'. - * @generated - */ - StarArgument createStarArgument(); - - /** - * Returns a new object of class 'Typed Argument'. - * - * - * @return a new object of class 'Typed Argument'. - * @generated - */ - TypedArgument createTypedArgument(); - - /** - * Returns a new object of class 'Typed Star Argument'. - * - * - * @return a new object of class 'Typed Star Argument'. - * @generated - */ - TypedStarArgument createTypedStarArgument(); - - /** - * Returns a new object of class 'Reference'. - * - * - * @return a new object of class 'Reference'. - * @generated - */ - Reference createReference(); - - /** - * Returns a new object of class 'Interval'. - * - * - * @return a new object of class 'Interval'. - * @generated - */ - Interval createInterval(); - - /** - * Returns a new object of class 'Literal'. - * - * - * @return a new object of class 'Literal'. - * @generated - */ - Literal createLiteral(); - - /** - * Returns a new object of class 'Logic Literal'. - * - * - * @return a new object of class 'Logic Literal'. - * @generated - */ - LogicLiteral createLogicLiteral(); - - /** - * Returns a new object of class 'Numeric Literal'. - * - * - * @return a new object of class 'Numeric Literal'. - * @generated - */ - NumericLiteral createNumericLiteral(); - - /** - * Returns a new object of class 'Infinity Literal'. - * - * - * @return a new object of class 'Infinity Literal'. - * @generated - */ - InfinityLiteral createInfinityLiteral(); - - /** - * Returns a new object of class 'Empty Interval Literal'. - * - * - * @return a new object of class 'Empty Interval Literal'. - * @generated - */ - EmptyIntervalLiteral createEmptyIntervalLiteral(); - - /** - * Returns a new object of class 'String Literal'. - * - * - * @return a new object of class 'String Literal'. - * @generated - */ - StringLiteral createStringLiteral(); - - /** - * Returns a new object of class 'Class Definition'. - * - * - * @return a new object of class 'Class Definition'. - * @generated - */ - ClassDefinition createClassDefinition(); - - /** - * Returns a new object of class 'Member Definition'. - * - * - * @return a new object of class 'Member Definition'. - * @generated - */ - MemberDefinition createMemberDefinition(); - - /** - * Returns a new object of class 'Multiplicity'. - * - * - * @return a new object of class 'Multiplicity'. - * @generated - */ - Multiplicity createMultiplicity(); - - /** - * Returns a new object of class 'Many Multiplicity'. - * - * - * @return a new object of class 'Many Multiplicity'. - * @generated - */ - ManyMultiplicity createManyMultiplicity(); - - /** - * Returns a new object of class 'Exact Multiplicity'. - * - * - * @return a new object of class 'Exact Multiplicity'. - * @generated - */ - ExactMultiplicity createExactMultiplicity(); - - /** - * Returns a new object of class 'Bounded Multiplicity'. - * - * - * @return a new object of class 'Bounded Multiplicity'. - * @generated - */ - BoundedMultiplicity createBoundedMultiplicity(); - - /** - * Returns a new object of class 'Scope Definition'. - * - * - * @return a new object of class 'Scope Definition'. - * @generated - */ - ScopeDefinition createScopeDefinition(); - - /** - * Returns a new object of class 'Exact Scope Definition'. - * - * - * @return a new object of class 'Exact Scope Definition'. - * @generated - */ - ExactScopeDefinition createExactScopeDefinition(); - - /** - * Returns a new object of class 'Bounded Scope Definition'. - * - * - * @return a new object of class 'Bounded Scope Definition'. - * @generated - */ - BoundedScopeDefinition createBoundedScopeDefinition(); - - /** - * Returns a new object of class 'Lower Bounded Scope Definition'. - * - * - * @return a new object of class 'Lower Bounded Scope Definition'. - * @generated - */ - LowerBoundedScopeDefinition createLowerBoundedScopeDefinition(); - - /** - * Returns a new object of class 'Objective Definition'. - * - * - * @return a new object of class 'Objective Definition'. - * @generated - */ - ObjectiveDefinition createObjectiveDefinition(); - - /** - * Returns a new object of class 'Interpretation'. - * - * - * @return a new object of class 'Interpretation'. - * @generated - */ - Interpretation createInterpretation(); - - /** - * Returns a new object of class 'Variable'. - * - * - * @return a new object of class 'Variable'. - * @generated - */ - Variable createVariable(); - - /** - * Returns a new object of class 'Disjunction'. - * - * - * @return a new object of class 'Disjunction'. - * @generated - */ - Disjunction createDisjunction(); - - /** - * Returns a new object of class 'Switch'. - * - * - * @return a new object of class 'Switch'. - * @generated - */ - Switch createSwitch(); - - /** - * Returns a new object of class 'Conjunction'. - * - * - * @return a new object of class 'Conjunction'. - * @generated - */ - Conjunction createConjunction(); - - /** - * Returns a new object of class 'Comparison'. - * - * - * @return a new object of class 'Comparison'. - * @generated - */ - Comparison createComparison(); - - /** - * Returns a new object of class 'Binary Expression'. - * - * - * @return a new object of class 'Binary Expression'. - * @generated - */ - BinaryExpression createBinaryExpression(); - - /** - * Returns a new object of class 'Cast Expression'. - * - * - * @return a new object of class 'Cast Expression'. - * @generated - */ - CastExpression createCastExpression(); - - /** - * Returns a new object of class 'Unary Expression'. - * - * - * @return a new object of class 'Unary Expression'. - * @generated - */ - UnaryExpression createUnaryExpression(); - - /** - * Returns a new object of class 'Node'. - * - * - * @return a new object of class 'Node'. - * @generated - */ - Node createNode(); - - /** - * Returns a new object of class 'Predicate'. - * - * - * @return a new object of class 'Predicate'. - * @generated - */ - Predicate createPredicate(); - - /** - * Returns a new object of class 'Metric'. - * - * - * @return a new object of class 'Metric'. - * @generated - */ - Metric createMetric(); - - /** - * Returns the package supported by this factory. - * - * - * @return the package supported by this factory. - * @generated - */ - SolverLanguagePackage getSolverLanguagePackage(); - -} //SolverLanguageFactory diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/SolverLanguagePackage.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/SolverLanguagePackage.java deleted file mode 100644 index 9e01d8db..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/SolverLanguagePackage.java +++ /dev/null @@ -1,5191 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage; - -import org.eclipse.emf.ecore.EAttribute; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EEnum; -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.emf.ecore.EReference; - -/** - * - * The Package for the model. - * It contains accessors for the meta objects to represent - *
      - *
    • each class,
    • - *
    • each feature of each class,
    • - *
    • each enum,
    • - *
    • and each data type
    • - *
    - * - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguageFactory - * @model kind="package" - * @generated - */ -public interface SolverLanguagePackage extends EPackage { - /** - * The package name. - * - * - * @generated - */ - String eNAME = "solverLanguage"; - - /** - * The package namespace URI. - * - * - * @generated - */ - String eNS_URI = "http://www.eclipse.org/viatra/solver/language/SolverLanguage"; - - /** - * The package namespace name. - * - * - * @generated - */ - String eNS_PREFIX = "solverLanguage"; - - /** - * The singleton instance of the package. - * - * - * @generated - */ - SolverLanguagePackage eINSTANCE = org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl.init(); - - /** - * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ProblemImpl Problem}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ProblemImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getProblem() - * @generated - */ - int PROBLEM = 0; - - /** - * The feature id for the 'Statements' containment reference list. - * - * - * @generated - * @ordered - */ - int PROBLEM__STATEMENTS = 0; - - /** - * The number of structural features of the 'Problem' class. - * - * - * @generated - * @ordered - */ - int PROBLEM_FEATURE_COUNT = 1; - - /** - * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.StatementImpl Statement}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.StatementImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getStatement() - * @generated - */ - int STATEMENT = 1; - - /** - * The number of structural features of the 'Statement' class. - * - * - * @generated - * @ordered - */ - int STATEMENT_FEATURE_COUNT = 0; - - /** - * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.PredicateDefinitionImpl Predicate Definition}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.PredicateDefinitionImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getPredicateDefinition() - * @generated - */ - int PREDICATE_DEFINITION = 2; - - /** - * The feature id for the 'Head' containment reference. - * - * - * @generated - * @ordered - */ - int PREDICATE_DEFINITION__HEAD = STATEMENT_FEATURE_COUNT + 0; - - /** - * The feature id for the 'Body' containment reference. - * - * - * @generated - * @ordered - */ - int PREDICATE_DEFINITION__BODY = STATEMENT_FEATURE_COUNT + 1; - - /** - * The feature id for the 'Functional' attribute. - * - * - * @generated - * @ordered - */ - int PREDICATE_DEFINITION__FUNCTIONAL = STATEMENT_FEATURE_COUNT + 2; - - /** - * The feature id for the 'Error' attribute. - * - * - * @generated - * @ordered - */ - int PREDICATE_DEFINITION__ERROR = STATEMENT_FEATURE_COUNT + 3; - - /** - * The number of structural features of the 'Predicate Definition' class. - * - * - * @generated - * @ordered - */ - int PREDICATE_DEFINITION_FEATURE_COUNT = STATEMENT_FEATURE_COUNT + 4; - - /** - * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.UnnamedErrorPrediateDefinitionImpl Unnamed Error Prediate Definition}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.UnnamedErrorPrediateDefinitionImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getUnnamedErrorPrediateDefinition() - * @generated - */ - int UNNAMED_ERROR_PREDIATE_DEFINITION = 3; - - /** - * The feature id for the 'Argument List' containment reference. - * - * - * @generated - * @ordered - */ - int UNNAMED_ERROR_PREDIATE_DEFINITION__ARGUMENT_LIST = STATEMENT_FEATURE_COUNT + 0; - - /** - * The feature id for the 'Body' containment reference. - * - * - * @generated - * @ordered - */ - int UNNAMED_ERROR_PREDIATE_DEFINITION__BODY = STATEMENT_FEATURE_COUNT + 1; - - /** - * The number of structural features of the 'Unnamed Error Prediate Definition' class. - * - * - * @generated - * @ordered - */ - int UNNAMED_ERROR_PREDIATE_DEFINITION_FEATURE_COUNT = STATEMENT_FEATURE_COUNT + 2; - - /** - * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.DefaultDefinitionImpl Default Definition}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.DefaultDefinitionImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getDefaultDefinition() - * @generated - */ - int DEFAULT_DEFINITION = 4; - - /** - * The feature id for the 'Head' containment reference. - * - * - * @generated - * @ordered - */ - int DEFAULT_DEFINITION__HEAD = STATEMENT_FEATURE_COUNT + 0; - - /** - * The feature id for the 'Range' containment reference. - * - * - * @generated - * @ordered - */ - int DEFAULT_DEFINITION__RANGE = STATEMENT_FEATURE_COUNT + 1; - - /** - * The number of structural features of the 'Default Definition' class. - * - * - * @generated - * @ordered - */ - int DEFAULT_DEFINITION_FEATURE_COUNT = STATEMENT_FEATURE_COUNT + 2; - - /** - * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.MetricDefinitionImpl Metric Definition}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.MetricDefinitionImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getMetricDefinition() - * @generated - */ - int METRIC_DEFINITION = 5; - - /** - * The feature id for the 'Head' containment reference. - * - * - * @generated - * @ordered - */ - int METRIC_DEFINITION__HEAD = STATEMENT_FEATURE_COUNT + 0; - - /** - * The feature id for the 'Body' containment reference. - * - * - * @generated - * @ordered - */ - int METRIC_DEFINITION__BODY = STATEMENT_FEATURE_COUNT + 1; - - /** - * The feature id for the 'Type' reference. - * - * - * @generated - * @ordered - */ - int METRIC_DEFINITION__TYPE = STATEMENT_FEATURE_COUNT + 2; - - /** - * The number of structural features of the 'Metric Definition' class. - * - * - * @generated - * @ordered - */ - int METRIC_DEFINITION_FEATURE_COUNT = STATEMENT_FEATURE_COUNT + 3; - - /** - * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExternPredicateDefinitionImpl Extern Predicate Definition}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ExternPredicateDefinitionImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getExternPredicateDefinition() - * @generated - */ - int EXTERN_PREDICATE_DEFINITION = 6; - - /** - * The feature id for the 'Name' attribute. - * - * - * @generated - * @ordered - */ - int EXTERN_PREDICATE_DEFINITION__NAME = STATEMENT_FEATURE_COUNT + 0; - - /** - * The feature id for the 'Argument List' containment reference. - * - * - * @generated - * @ordered - */ - int EXTERN_PREDICATE_DEFINITION__ARGUMENT_LIST = STATEMENT_FEATURE_COUNT + 1; - - /** - * The number of structural features of the 'Extern Predicate Definition' class. - * - * - * @generated - * @ordered - */ - int EXTERN_PREDICATE_DEFINITION_FEATURE_COUNT = STATEMENT_FEATURE_COUNT + 2; - - /** - * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExternMetricDefinitionImpl Extern Metric Definition}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ExternMetricDefinitionImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getExternMetricDefinition() - * @generated - */ - int EXTERN_METRIC_DEFINITION = 7; - - /** - * The feature id for the 'Type' reference. - * - * - * @generated - * @ordered - */ - int EXTERN_METRIC_DEFINITION__TYPE = STATEMENT_FEATURE_COUNT + 0; - - /** - * The feature id for the 'Name' attribute. - * - * - * @generated - * @ordered - */ - int EXTERN_METRIC_DEFINITION__NAME = STATEMENT_FEATURE_COUNT + 1; - - /** - * The feature id for the 'Argument List' containment reference. - * - * - * @generated - * @ordered - */ - int EXTERN_METRIC_DEFINITION__ARGUMENT_LIST = STATEMENT_FEATURE_COUNT + 2; - - /** - * The number of structural features of the 'Extern Metric Definition' class. - * - * - * @generated - * @ordered - */ - int EXTERN_METRIC_DEFINITION_FEATURE_COUNT = STATEMENT_FEATURE_COUNT + 3; - - /** - * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExternAggregatorDefinitionImpl Extern Aggregator Definition}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ExternAggregatorDefinitionImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getExternAggregatorDefinition() - * @generated - */ - int EXTERN_AGGREGATOR_DEFINITION = 8; - - /** - * The feature id for the 'Type' reference. - * - * - * @generated - * @ordered - */ - int EXTERN_AGGREGATOR_DEFINITION__TYPE = STATEMENT_FEATURE_COUNT + 0; - - /** - * The feature id for the 'Name' attribute. - * - * - * @generated - * @ordered - */ - int EXTERN_AGGREGATOR_DEFINITION__NAME = STATEMENT_FEATURE_COUNT + 1; - - /** - * The feature id for the 'Input Type' reference. - * - * - * @generated - * @ordered - */ - int EXTERN_AGGREGATOR_DEFINITION__INPUT_TYPE = STATEMENT_FEATURE_COUNT + 2; - - /** - * The number of structural features of the 'Extern Aggregator Definition' class. - * - * - * @generated - * @ordered - */ - int EXTERN_AGGREGATOR_DEFINITION_FEATURE_COUNT = STATEMENT_FEATURE_COUNT + 3; - - /** - * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExternDatatypeDefinitionImpl Extern Datatype Definition}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ExternDatatypeDefinitionImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getExternDatatypeDefinition() - * @generated - */ - int EXTERN_DATATYPE_DEFINITION = 9; - - /** - * The feature id for the 'Name' attribute. - * - * - * @generated - * @ordered - */ - int EXTERN_DATATYPE_DEFINITION__NAME = STATEMENT_FEATURE_COUNT + 0; - - /** - * The feature id for the 'Supertypes' reference list. - * - * - * @generated - * @ordered - */ - int EXTERN_DATATYPE_DEFINITION__SUPERTYPES = STATEMENT_FEATURE_COUNT + 1; - - /** - * The number of structural features of the 'Extern Datatype Definition' class. - * - * - * @generated - * @ordered - */ - int EXTERN_DATATYPE_DEFINITION_FEATURE_COUNT = STATEMENT_FEATURE_COUNT + 2; - - /** - * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.NamedElementImpl Named Element}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.NamedElementImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getNamedElement() - * @generated - */ - int NAMED_ELEMENT = 10; - - /** - * The feature id for the 'Name' attribute. - * - * - * @generated - * @ordered - */ - int NAMED_ELEMENT__NAME = 0; - - /** - * The number of structural features of the 'Named Element' class. - * - * - * @generated - * @ordered - */ - int NAMED_ELEMENT_FEATURE_COUNT = 1; - - /** - * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExpressionImpl Expression}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ExpressionImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getExpression() - * @generated - */ - int EXPRESSION = 11; - - /** - * The number of structural features of the 'Expression' class. - * - * - * @generated - * @ordered - */ - int EXPRESSION_FEATURE_COUNT = STATEMENT_FEATURE_COUNT + 0; - - /** - * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.IfElseImpl If Else}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.IfElseImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getIfElse() - * @generated - */ - int IF_ELSE = 12; - - /** - * The feature id for the 'Then' containment reference. - * - * - * @generated - * @ordered - */ - int IF_ELSE__THEN = EXPRESSION_FEATURE_COUNT + 0; - - /** - * The feature id for the 'Else' containment reference. - * - * - * @generated - * @ordered - */ - int IF_ELSE__ELSE = EXPRESSION_FEATURE_COUNT + 1; - - /** - * The feature id for the 'Condition' containment reference. - * - * - * @generated - * @ordered - */ - int IF_ELSE__CONDITION = EXPRESSION_FEATURE_COUNT + 2; - - /** - * The number of structural features of the 'If Else' class. - * - * - * @generated - * @ordered - */ - int IF_ELSE_FEATURE_COUNT = EXPRESSION_FEATURE_COUNT + 3; - - /** - * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.LetImpl Let}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.LetImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getLet() - * @generated - */ - int LET = 13; - - /** - * The feature id for the 'Bindings' containment reference list. - * - * - * @generated - * @ordered - */ - int LET__BINDINGS = EXPRESSION_FEATURE_COUNT + 0; - - /** - * The feature id for the 'Body' containment reference. - * - * - * @generated - * @ordered - */ - int LET__BODY = EXPRESSION_FEATURE_COUNT + 1; - - /** - * The number of structural features of the 'Let' class. - * - * - * @generated - * @ordered - */ - int LET_FEATURE_COUNT = EXPRESSION_FEATURE_COUNT + 2; - - /** - * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.LetBindingImpl Let Binding}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.LetBindingImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getLetBinding() - * @generated - */ - int LET_BINDING = 14; - - /** - * The feature id for the 'Variable' containment reference. - * - * - * @generated - * @ordered - */ - int LET_BINDING__VARIABLE = 0; - - /** - * The feature id for the 'Value' containment reference. - * - * - * @generated - * @ordered - */ - int LET_BINDING__VALUE = 1; - - /** - * The number of structural features of the 'Let Binding' class. - * - * - * @generated - * @ordered - */ - int LET_BINDING_FEATURE_COUNT = 2; - - /** - * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.CaseImpl Case}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.CaseImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getCase() - * @generated - */ - int CASE = 15; - - /** - * The feature id for the 'Body' containment reference. - * - * - * @generated - * @ordered - */ - int CASE__BODY = EXPRESSION_FEATURE_COUNT + 0; - - /** - * The feature id for the 'Condition' containment reference. - * - * - * @generated - * @ordered - */ - int CASE__CONDITION = EXPRESSION_FEATURE_COUNT + 1; - - /** - * The number of structural features of the 'Case' class. - * - * - * @generated - * @ordered - */ - int CASE_FEATURE_COUNT = EXPRESSION_FEATURE_COUNT + 2; - - /** - * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.LocalVariablesImpl Local Variables}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.LocalVariablesImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getLocalVariables() - * @generated - */ - int LOCAL_VARIABLES = 16; - - /** - * The feature id for the 'Variables' containment reference list. - * - * - * @generated - * @ordered - */ - int LOCAL_VARIABLES__VARIABLES = 0; - - /** - * The number of structural features of the 'Local Variables' class. - * - * - * @generated - * @ordered - */ - int LOCAL_VARIABLES_FEATURE_COUNT = 1; - - /** - * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.QuantifiedExpressionImpl Quantified Expression}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.QuantifiedExpressionImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getQuantifiedExpression() - * @generated - */ - int QUANTIFIED_EXPRESSION = 17; - - /** - * The feature id for the 'Local Variables' containment reference. - * - * - * @generated - * @ordered - */ - int QUANTIFIED_EXPRESSION__LOCAL_VARIABLES = EXPRESSION_FEATURE_COUNT + 0; - - /** - * The feature id for the 'Body' containment reference. - * - * - * @generated - * @ordered - */ - int QUANTIFIED_EXPRESSION__BODY = EXPRESSION_FEATURE_COUNT + 1; - - /** - * The feature id for the 'Quantifier' attribute. - * - * - * @generated - * @ordered - */ - int QUANTIFIED_EXPRESSION__QUANTIFIER = EXPRESSION_FEATURE_COUNT + 2; - - /** - * The number of structural features of the 'Quantified Expression' class. - * - * - * @generated - * @ordered - */ - int QUANTIFIED_EXPRESSION_FEATURE_COUNT = EXPRESSION_FEATURE_COUNT + 3; - - /** - * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.AggregationImpl Aggregation}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.AggregationImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getAggregation() - * @generated - */ - int AGGREGATION = 18; - - /** - * The feature id for the 'Op' reference. - * - * - * @generated - * @ordered - */ - int AGGREGATION__OP = EXPRESSION_FEATURE_COUNT + 0; - - /** - * The feature id for the 'Local Variables' containment reference. - * - * - * @generated - * @ordered - */ - int AGGREGATION__LOCAL_VARIABLES = EXPRESSION_FEATURE_COUNT + 1; - - /** - * The feature id for the 'Body' containment reference. - * - * - * @generated - * @ordered - */ - int AGGREGATION__BODY = EXPRESSION_FEATURE_COUNT + 2; - - /** - * The feature id for the 'Condition' containment reference. - * - * - * @generated - * @ordered - */ - int AGGREGATION__CONDITION = EXPRESSION_FEATURE_COUNT + 3; - - /** - * The number of structural features of the 'Aggregation' class. - * - * - * @generated - * @ordered - */ - int AGGREGATION_FEATURE_COUNT = EXPRESSION_FEATURE_COUNT + 4; - - /** - * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.CallImpl Call}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.CallImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getCall() - * @generated - */ - int CALL = 19; - - /** - * The feature id for the 'Functor' containment reference. - * - * - * @generated - * @ordered - */ - int CALL__FUNCTOR = EXPRESSION_FEATURE_COUNT + 0; - - /** - * The feature id for the 'Transitive Closure' attribute. - * - * - * @generated - * @ordered - */ - int CALL__TRANSITIVE_CLOSURE = EXPRESSION_FEATURE_COUNT + 1; - - /** - * The feature id for the 'Reflexive Transitive Closure' attribute. - * - * - * @generated - * @ordered - */ - int CALL__REFLEXIVE_TRANSITIVE_CLOSURE = EXPRESSION_FEATURE_COUNT + 2; - - /** - * The feature id for the 'Argument List' containment reference. - * - * - * @generated - * @ordered - */ - int CALL__ARGUMENT_LIST = EXPRESSION_FEATURE_COUNT + 3; - - /** - * The number of structural features of the 'Call' class. - * - * - * @generated - * @ordered - */ - int CALL_FEATURE_COUNT = EXPRESSION_FEATURE_COUNT + 4; - - /** - * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ArgumentListImpl Argument List}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ArgumentListImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getArgumentList() - * @generated - */ - int ARGUMENT_LIST = 20; - - /** - * The feature id for the 'Arguments' containment reference list. - * - * - * @generated - * @ordered - */ - int ARGUMENT_LIST__ARGUMENTS = 0; - - /** - * The number of structural features of the 'Argument List' class. - * - * - * @generated - * @ordered - */ - int ARGUMENT_LIST_FEATURE_COUNT = 1; - - /** - * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ArgumentImpl Argument}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ArgumentImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getArgument() - * @generated - */ - int ARGUMENT = 21; - - /** - * The number of structural features of the 'Argument' class. - * - * - * @generated - * @ordered - */ - int ARGUMENT_FEATURE_COUNT = 0; - - /** - * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExpressionArgumentImpl Expression Argument}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ExpressionArgumentImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getExpressionArgument() - * @generated - */ - int EXPRESSION_ARGUMENT = 22; - - /** - * The feature id for the 'Body' containment reference. - * - * - * @generated - * @ordered - */ - int EXPRESSION_ARGUMENT__BODY = ARGUMENT_FEATURE_COUNT + 0; - - /** - * The number of structural features of the 'Expression Argument' class. - * - * - * @generated - * @ordered - */ - int EXPRESSION_ARGUMENT_FEATURE_COUNT = ARGUMENT_FEATURE_COUNT + 1; - - /** - * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.StarArgumentImpl Star Argument}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.StarArgumentImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getStarArgument() - * @generated - */ - int STAR_ARGUMENT = 23; - - /** - * The number of structural features of the 'Star Argument' class. - * - * - * @generated - * @ordered - */ - int STAR_ARGUMENT_FEATURE_COUNT = ARGUMENT_FEATURE_COUNT + 0; - - /** - * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.TypedArgumentImpl Typed Argument}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.TypedArgumentImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getTypedArgument() - * @generated - */ - int TYPED_ARGUMENT = 24; - - /** - * The feature id for the 'Type' reference. - * - * - * @generated - * @ordered - */ - int TYPED_ARGUMENT__TYPE = ARGUMENT_FEATURE_COUNT + 0; - - /** - * The feature id for the 'Variable' reference. - * - * - * @generated - * @ordered - */ - int TYPED_ARGUMENT__VARIABLE = ARGUMENT_FEATURE_COUNT + 1; - - /** - * The number of structural features of the 'Typed Argument' class. - * - * - * @generated - * @ordered - */ - int TYPED_ARGUMENT_FEATURE_COUNT = ARGUMENT_FEATURE_COUNT + 2; - - /** - * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.TypedStarArgumentImpl Typed Star Argument}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.TypedStarArgumentImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getTypedStarArgument() - * @generated - */ - int TYPED_STAR_ARGUMENT = 25; - - /** - * The feature id for the 'Type' reference. - * - * - * @generated - * @ordered - */ - int TYPED_STAR_ARGUMENT__TYPE = ARGUMENT_FEATURE_COUNT + 0; - - /** - * The number of structural features of the 'Typed Star Argument' class. - * - * - * @generated - * @ordered - */ - int TYPED_STAR_ARGUMENT_FEATURE_COUNT = ARGUMENT_FEATURE_COUNT + 1; - - /** - * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ReferenceImpl Reference}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ReferenceImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getReference() - * @generated - */ - int REFERENCE = 26; - - /** - * The feature id for the 'Referred' reference. - * - * - * @generated - * @ordered - */ - int REFERENCE__REFERRED = EXPRESSION_FEATURE_COUNT + 0; - - /** - * The number of structural features of the 'Reference' class. - * - * - * @generated - * @ordered - */ - int REFERENCE_FEATURE_COUNT = EXPRESSION_FEATURE_COUNT + 1; - - /** - * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.IntervalImpl Interval}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.IntervalImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getInterval() - * @generated - */ - int INTERVAL = 27; - - /** - * The feature id for the 'Lower Bound' containment reference. - * - * - * @generated - * @ordered - */ - int INTERVAL__LOWER_BOUND = EXPRESSION_FEATURE_COUNT + 0; - - /** - * The feature id for the 'Upper Bound' containment reference. - * - * - * @generated - * @ordered - */ - int INTERVAL__UPPER_BOUND = EXPRESSION_FEATURE_COUNT + 1; - - /** - * The number of structural features of the 'Interval' class. - * - * - * @generated - * @ordered - */ - int INTERVAL_FEATURE_COUNT = EXPRESSION_FEATURE_COUNT + 2; - - /** - * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.LiteralImpl Literal}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.LiteralImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getLiteral() - * @generated - */ - int LITERAL = 28; - - /** - * The number of structural features of the 'Literal' class. - * - * - * @generated - * @ordered - */ - int LITERAL_FEATURE_COUNT = EXPRESSION_FEATURE_COUNT + 0; - - /** - * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.LogicLiteralImpl Logic Literal}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.LogicLiteralImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getLogicLiteral() - * @generated - */ - int LOGIC_LITERAL = 29; - - /** - * The feature id for the 'Value' attribute. - * - * - * @generated - * @ordered - */ - int LOGIC_LITERAL__VALUE = LITERAL_FEATURE_COUNT + 0; - - /** - * The number of structural features of the 'Logic Literal' class. - * - * - * @generated - * @ordered - */ - int LOGIC_LITERAL_FEATURE_COUNT = LITERAL_FEATURE_COUNT + 1; - - /** - * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.NumericLiteralImpl Numeric Literal}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.NumericLiteralImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getNumericLiteral() - * @generated - */ - int NUMERIC_LITERAL = 30; - - /** - * The feature id for the 'Value' attribute. - * - * - * @generated - * @ordered - */ - int NUMERIC_LITERAL__VALUE = LITERAL_FEATURE_COUNT + 0; - - /** - * The number of structural features of the 'Numeric Literal' class. - * - * - * @generated - * @ordered - */ - int NUMERIC_LITERAL_FEATURE_COUNT = LITERAL_FEATURE_COUNT + 1; - - /** - * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.InfinityLiteralImpl Infinity Literal}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.InfinityLiteralImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getInfinityLiteral() - * @generated - */ - int INFINITY_LITERAL = 31; - - /** - * The number of structural features of the 'Infinity Literal' class. - * - * - * @generated - * @ordered - */ - int INFINITY_LITERAL_FEATURE_COUNT = LITERAL_FEATURE_COUNT + 0; - - /** - * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.EmptyIntervalLiteralImpl Empty Interval Literal}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.EmptyIntervalLiteralImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getEmptyIntervalLiteral() - * @generated - */ - int EMPTY_INTERVAL_LITERAL = 32; - - /** - * The number of structural features of the 'Empty Interval Literal' class. - * - * - * @generated - * @ordered - */ - int EMPTY_INTERVAL_LITERAL_FEATURE_COUNT = LITERAL_FEATURE_COUNT + 0; - - /** - * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.StringLiteralImpl String Literal}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.StringLiteralImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getStringLiteral() - * @generated - */ - int STRING_LITERAL = 33; - - /** - * The feature id for the 'Value' attribute. - * - * - * @generated - * @ordered - */ - int STRING_LITERAL__VALUE = LITERAL_FEATURE_COUNT + 0; - - /** - * The number of structural features of the 'String Literal' class. - * - * - * @generated - * @ordered - */ - int STRING_LITERAL_FEATURE_COUNT = LITERAL_FEATURE_COUNT + 1; - - /** - * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ClassDefinitionImpl Class Definition}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ClassDefinitionImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getClassDefinition() - * @generated - */ - int CLASS_DEFINITION = 34; - - /** - * The feature id for the 'Abstract' attribute. - * - * - * @generated - * @ordered - */ - int CLASS_DEFINITION__ABSTRACT = STATEMENT_FEATURE_COUNT + 0; - - /** - * The feature id for the 'Name' attribute. - * - * - * @generated - * @ordered - */ - int CLASS_DEFINITION__NAME = STATEMENT_FEATURE_COUNT + 1; - - /** - * The feature id for the 'Superclasses' reference list. - * - * - * @generated - * @ordered - */ - int CLASS_DEFINITION__SUPERCLASSES = STATEMENT_FEATURE_COUNT + 2; - - /** - * The feature id for the 'Members' containment reference list. - * - * - * @generated - * @ordered - */ - int CLASS_DEFINITION__MEMBERS = STATEMENT_FEATURE_COUNT + 3; - - /** - * The number of structural features of the 'Class Definition' class. - * - * - * @generated - * @ordered - */ - int CLASS_DEFINITION_FEATURE_COUNT = STATEMENT_FEATURE_COUNT + 4; - - /** - * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.MemberDefinitionImpl Member Definition}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.MemberDefinitionImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getMemberDefinition() - * @generated - */ - int MEMBER_DEFINITION = 35; - - /** - * The feature id for the 'Containment' attribute. - * - * - * @generated - * @ordered - */ - int MEMBER_DEFINITION__CONTAINMENT = 0; - - /** - * The feature id for the 'Type' reference. - * - * - * @generated - * @ordered - */ - int MEMBER_DEFINITION__TYPE = 1; - - /** - * The feature id for the 'Multiplicity' containment reference. - * - * - * @generated - * @ordered - */ - int MEMBER_DEFINITION__MULTIPLICITY = 2; - - /** - * The feature id for the 'Name' attribute. - * - * - * @generated - * @ordered - */ - int MEMBER_DEFINITION__NAME = 3; - - /** - * The feature id for the 'Opposite' reference. - * - * - * @generated - * @ordered - */ - int MEMBER_DEFINITION__OPPOSITE = 4; - - /** - * The number of structural features of the 'Member Definition' class. - * - * - * @generated - * @ordered - */ - int MEMBER_DEFINITION_FEATURE_COUNT = 5; - - /** - * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.MultiplicityImpl Multiplicity}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.MultiplicityImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getMultiplicity() - * @generated - */ - int MULTIPLICITY = 36; - - /** - * The number of structural features of the 'Multiplicity' class. - * - * - * @generated - * @ordered - */ - int MULTIPLICITY_FEATURE_COUNT = 0; - - /** - * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ManyMultiplicityImpl Many Multiplicity}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ManyMultiplicityImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getManyMultiplicity() - * @generated - */ - int MANY_MULTIPLICITY = 37; - - /** - * The number of structural features of the 'Many Multiplicity' class. - * - * - * @generated - * @ordered - */ - int MANY_MULTIPLICITY_FEATURE_COUNT = MULTIPLICITY_FEATURE_COUNT + 0; - - /** - * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExactMultiplicityImpl Exact Multiplicity}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ExactMultiplicityImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getExactMultiplicity() - * @generated - */ - int EXACT_MULTIPLICITY = 38; - - /** - * The feature id for the 'Multiplicity' attribute. - * - * - * @generated - * @ordered - */ - int EXACT_MULTIPLICITY__MULTIPLICITY = MULTIPLICITY_FEATURE_COUNT + 0; - - /** - * The number of structural features of the 'Exact Multiplicity' class. - * - * - * @generated - * @ordered - */ - int EXACT_MULTIPLICITY_FEATURE_COUNT = MULTIPLICITY_FEATURE_COUNT + 1; - - /** - * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.BoundedMultiplicityImpl Bounded Multiplicity}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.BoundedMultiplicityImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getBoundedMultiplicity() - * @generated - */ - int BOUNDED_MULTIPLICITY = 39; - - /** - * The feature id for the 'Lower Bound' attribute. - * - * - * @generated - * @ordered - */ - int BOUNDED_MULTIPLICITY__LOWER_BOUND = MULTIPLICITY_FEATURE_COUNT + 0; - - /** - * The feature id for the 'Upper Bound' attribute. - * - * - * @generated - * @ordered - */ - int BOUNDED_MULTIPLICITY__UPPER_BOUND = MULTIPLICITY_FEATURE_COUNT + 1; - - /** - * The number of structural features of the 'Bounded Multiplicity' class. - * - * - * @generated - * @ordered - */ - int BOUNDED_MULTIPLICITY_FEATURE_COUNT = MULTIPLICITY_FEATURE_COUNT + 2; - - /** - * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ScopeDefinitionImpl Scope Definition}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ScopeDefinitionImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getScopeDefinition() - * @generated - */ - int SCOPE_DEFINITION = 40; - - /** - * The feature id for the 'Type' reference. - * - * - * @generated - * @ordered - */ - int SCOPE_DEFINITION__TYPE = STATEMENT_FEATURE_COUNT + 0; - - /** - * The number of structural features of the 'Scope Definition' class. - * - * - * @generated - * @ordered - */ - int SCOPE_DEFINITION_FEATURE_COUNT = STATEMENT_FEATURE_COUNT + 1; - - /** - * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExactScopeDefinitionImpl Exact Scope Definition}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ExactScopeDefinitionImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getExactScopeDefinition() - * @generated - */ - int EXACT_SCOPE_DEFINITION = 41; - - /** - * The feature id for the 'Type' reference. - * - * - * @generated - * @ordered - */ - int EXACT_SCOPE_DEFINITION__TYPE = SCOPE_DEFINITION__TYPE; - - /** - * The feature id for the 'Exact Scope' attribute. - * - * - * @generated - * @ordered - */ - int EXACT_SCOPE_DEFINITION__EXACT_SCOPE = SCOPE_DEFINITION_FEATURE_COUNT + 0; - - /** - * The number of structural features of the 'Exact Scope Definition' class. - * - * - * @generated - * @ordered - */ - int EXACT_SCOPE_DEFINITION_FEATURE_COUNT = SCOPE_DEFINITION_FEATURE_COUNT + 1; - - /** - * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.BoundedScopeDefinitionImpl Bounded Scope Definition}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.BoundedScopeDefinitionImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getBoundedScopeDefinition() - * @generated - */ - int BOUNDED_SCOPE_DEFINITION = 42; - - /** - * The feature id for the 'Type' reference. - * - * - * @generated - * @ordered - */ - int BOUNDED_SCOPE_DEFINITION__TYPE = SCOPE_DEFINITION__TYPE; - - /** - * The feature id for the 'Lower Bound' attribute. - * - * - * @generated - * @ordered - */ - int BOUNDED_SCOPE_DEFINITION__LOWER_BOUND = SCOPE_DEFINITION_FEATURE_COUNT + 0; - - /** - * The feature id for the 'Upper Bound' attribute. - * - * - * @generated - * @ordered - */ - int BOUNDED_SCOPE_DEFINITION__UPPER_BOUND = SCOPE_DEFINITION_FEATURE_COUNT + 1; - - /** - * The number of structural features of the 'Bounded Scope Definition' class. - * - * - * @generated - * @ordered - */ - int BOUNDED_SCOPE_DEFINITION_FEATURE_COUNT = SCOPE_DEFINITION_FEATURE_COUNT + 2; - - /** - * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.LowerBoundedScopeDefinitionImpl Lower Bounded Scope Definition}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.LowerBoundedScopeDefinitionImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getLowerBoundedScopeDefinition() - * @generated - */ - int LOWER_BOUNDED_SCOPE_DEFINITION = 43; - - /** - * The feature id for the 'Type' reference. - * - * - * @generated - * @ordered - */ - int LOWER_BOUNDED_SCOPE_DEFINITION__TYPE = SCOPE_DEFINITION__TYPE; - - /** - * The feature id for the 'Lower Bound' attribute. - * - * - * @generated - * @ordered - */ - int LOWER_BOUNDED_SCOPE_DEFINITION__LOWER_BOUND = SCOPE_DEFINITION_FEATURE_COUNT + 0; - - /** - * The number of structural features of the 'Lower Bounded Scope Definition' class. - * - * - * @generated - * @ordered - */ - int LOWER_BOUNDED_SCOPE_DEFINITION_FEATURE_COUNT = SCOPE_DEFINITION_FEATURE_COUNT + 1; - - /** - * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ObjectiveDefinitionImpl Objective Definition}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ObjectiveDefinitionImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getObjectiveDefinition() - * @generated - */ - int OBJECTIVE_DEFINITION = 44; - - /** - * The feature id for the 'Kind' attribute. - * - * - * @generated - * @ordered - */ - int OBJECTIVE_DEFINITION__KIND = STATEMENT_FEATURE_COUNT + 0; - - /** - * The feature id for the 'Objective' containment reference. - * - * - * @generated - * @ordered - */ - int OBJECTIVE_DEFINITION__OBJECTIVE = STATEMENT_FEATURE_COUNT + 1; - - /** - * The number of structural features of the 'Objective Definition' class. - * - * - * @generated - * @ordered - */ - int OBJECTIVE_DEFINITION_FEATURE_COUNT = STATEMENT_FEATURE_COUNT + 2; - - /** - * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.InterpretationImpl Interpretation}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.InterpretationImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getInterpretation() - * @generated - */ - int INTERPRETATION = 45; - - /** - * The feature id for the 'Body' containment reference. - * - * - * @generated - * @ordered - */ - int INTERPRETATION__BODY = STATEMENT_FEATURE_COUNT + 0; - - /** - * The feature id for the 'Range' containment reference. - * - * - * @generated - * @ordered - */ - int INTERPRETATION__RANGE = STATEMENT_FEATURE_COUNT + 1; - - /** - * The number of structural features of the 'Interpretation' class. - * - * - * @generated - * @ordered - */ - int INTERPRETATION_FEATURE_COUNT = STATEMENT_FEATURE_COUNT + 2; - - /** - * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.VariableImpl Variable}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.VariableImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getVariable() - * @generated - */ - int VARIABLE = 46; - - /** - * The feature id for the 'Name' attribute. - * - * - * @generated - * @ordered - */ - int VARIABLE__NAME = NAMED_ELEMENT__NAME; - - /** - * The feature id for the 'Type' reference. - * - * - * @generated - * @ordered - */ - int VARIABLE__TYPE = NAMED_ELEMENT_FEATURE_COUNT + 0; - - /** - * The number of structural features of the 'Variable' class. - * - * - * @generated - * @ordered - */ - int VARIABLE_FEATURE_COUNT = NAMED_ELEMENT_FEATURE_COUNT + 1; - - /** - * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.DisjunctionImpl Disjunction}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.DisjunctionImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getDisjunction() - * @generated - */ - int DISJUNCTION = 47; - - /** - * The feature id for the 'Children' containment reference list. - * - * - * @generated - * @ordered - */ - int DISJUNCTION__CHILDREN = EXPRESSION_FEATURE_COUNT + 0; - - /** - * The number of structural features of the 'Disjunction' class. - * - * - * @generated - * @ordered - */ - int DISJUNCTION_FEATURE_COUNT = EXPRESSION_FEATURE_COUNT + 1; - - /** - * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.SwitchImpl Switch}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SwitchImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getSwitch() - * @generated - */ - int SWITCH = 48; - - /** - * The feature id for the 'Cases' containment reference list. - * - * - * @generated - * @ordered - */ - int SWITCH__CASES = EXPRESSION_FEATURE_COUNT + 0; - - /** - * The number of structural features of the 'Switch' class. - * - * - * @generated - * @ordered - */ - int SWITCH_FEATURE_COUNT = EXPRESSION_FEATURE_COUNT + 1; - - /** - * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ConjunctionImpl Conjunction}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ConjunctionImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getConjunction() - * @generated - */ - int CONJUNCTION = 49; - - /** - * The feature id for the 'Children' containment reference list. - * - * - * @generated - * @ordered - */ - int CONJUNCTION__CHILDREN = EXPRESSION_FEATURE_COUNT + 0; - - /** - * The number of structural features of the 'Conjunction' class. - * - * - * @generated - * @ordered - */ - int CONJUNCTION_FEATURE_COUNT = EXPRESSION_FEATURE_COUNT + 1; - - /** - * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ComparisonImpl Comparison}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ComparisonImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getComparison() - * @generated - */ - int COMPARISON = 50; - - /** - * The feature id for the 'Left' containment reference. - * - * - * @generated - * @ordered - */ - int COMPARISON__LEFT = EXPRESSION_FEATURE_COUNT + 0; - - /** - * The feature id for the 'Op' attribute. - * - * - * @generated - * @ordered - */ - int COMPARISON__OP = EXPRESSION_FEATURE_COUNT + 1; - - /** - * The feature id for the 'Right' containment reference. - * - * - * @generated - * @ordered - */ - int COMPARISON__RIGHT = EXPRESSION_FEATURE_COUNT + 2; - - /** - * The number of structural features of the 'Comparison' class. - * - * - * @generated - * @ordered - */ - int COMPARISON_FEATURE_COUNT = EXPRESSION_FEATURE_COUNT + 3; - - /** - * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.BinaryExpressionImpl Binary Expression}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.BinaryExpressionImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getBinaryExpression() - * @generated - */ - int BINARY_EXPRESSION = 51; - - /** - * The feature id for the 'Left' containment reference. - * - * - * @generated - * @ordered - */ - int BINARY_EXPRESSION__LEFT = EXPRESSION_FEATURE_COUNT + 0; - - /** - * The feature id for the 'Op' attribute. - * - * - * @generated - * @ordered - */ - int BINARY_EXPRESSION__OP = EXPRESSION_FEATURE_COUNT + 1; - - /** - * The feature id for the 'Right' containment reference. - * - * - * @generated - * @ordered - */ - int BINARY_EXPRESSION__RIGHT = EXPRESSION_FEATURE_COUNT + 2; - - /** - * The number of structural features of the 'Binary Expression' class. - * - * - * @generated - * @ordered - */ - int BINARY_EXPRESSION_FEATURE_COUNT = EXPRESSION_FEATURE_COUNT + 3; - - /** - * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.CastExpressionImpl Cast Expression}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.CastExpressionImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getCastExpression() - * @generated - */ - int CAST_EXPRESSION = 52; - - /** - * The feature id for the 'Body' containment reference. - * - * - * @generated - * @ordered - */ - int CAST_EXPRESSION__BODY = EXPRESSION_FEATURE_COUNT + 0; - - /** - * The feature id for the 'Type' reference. - * - * - * @generated - * @ordered - */ - int CAST_EXPRESSION__TYPE = EXPRESSION_FEATURE_COUNT + 1; - - /** - * The number of structural features of the 'Cast Expression' class. - * - * - * @generated - * @ordered - */ - int CAST_EXPRESSION_FEATURE_COUNT = EXPRESSION_FEATURE_COUNT + 2; - - /** - * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.UnaryExpressionImpl Unary Expression}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.UnaryExpressionImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getUnaryExpression() - * @generated - */ - int UNARY_EXPRESSION = 53; - - /** - * The feature id for the 'Op' attribute. - * - * - * @generated - * @ordered - */ - int UNARY_EXPRESSION__OP = EXPRESSION_FEATURE_COUNT + 0; - - /** - * The feature id for the 'Body' containment reference. - * - * - * @generated - * @ordered - */ - int UNARY_EXPRESSION__BODY = EXPRESSION_FEATURE_COUNT + 1; - - /** - * The number of structural features of the 'Unary Expression' class. - * - * - * @generated - * @ordered - */ - int UNARY_EXPRESSION_FEATURE_COUNT = EXPRESSION_FEATURE_COUNT + 2; - - /** - * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.NodeImpl Node}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.NodeImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getNode() - * @generated - */ - int NODE = 54; - - /** - * The feature id for the 'Name' attribute. - * - * - * @generated - * @ordered - */ - int NODE__NAME = NAMED_ELEMENT__NAME; - - /** - * The feature id for the 'With Id' attribute. - * - * - * @generated - * @ordered - */ - int NODE__WITH_ID = NAMED_ELEMENT_FEATURE_COUNT + 0; - - /** - * The number of structural features of the 'Node' class. - * - * - * @generated - * @ordered - */ - int NODE_FEATURE_COUNT = NAMED_ELEMENT_FEATURE_COUNT + 1; - - /** - * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.FunctorImpl Functor}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.FunctorImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getFunctor() - * @generated - */ - int FUNCTOR = 55; - - /** - * The feature id for the 'Name' attribute. - * - * - * @generated - * @ordered - */ - int FUNCTOR__NAME = NAMED_ELEMENT__NAME; - - /** - * The feature id for the 'Parameters' reference list. - * - * - * @generated - * @ordered - */ - int FUNCTOR__PARAMETERS = NAMED_ELEMENT_FEATURE_COUNT + 0; - - /** - * The number of structural features of the 'Functor' class. - * - * - * @generated - * @ordered - */ - int FUNCTOR_FEATURE_COUNT = NAMED_ELEMENT_FEATURE_COUNT + 1; - - /** - * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.PredicateImpl Predicate}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.PredicateImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getPredicate() - * @generated - */ - int PREDICATE = 56; - - /** - * The feature id for the 'Name' attribute. - * - * - * @generated - * @ordered - */ - int PREDICATE__NAME = FUNCTOR__NAME; - - /** - * The feature id for the 'Parameters' reference list. - * - * - * @generated - * @ordered - */ - int PREDICATE__PARAMETERS = FUNCTOR__PARAMETERS; - - /** - * The number of structural features of the 'Predicate' class. - * - * - * @generated - * @ordered - */ - int PREDICATE_FEATURE_COUNT = FUNCTOR_FEATURE_COUNT + 0; - - /** - * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.MetricImpl Metric}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.MetricImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getMetric() - * @generated - */ - int METRIC = 57; - - /** - * The feature id for the 'Name' attribute. - * - * - * @generated - * @ordered - */ - int METRIC__NAME = FUNCTOR__NAME; - - /** - * The feature id for the 'Parameters' reference list. - * - * - * @generated - * @ordered - */ - int METRIC__PARAMETERS = FUNCTOR__PARAMETERS; - - /** - * The feature id for the 'Return Type' reference. - * - * - * @generated - * @ordered - */ - int METRIC__RETURN_TYPE = FUNCTOR_FEATURE_COUNT + 0; - - /** - * The number of structural features of the 'Metric' class. - * - * - * @generated - * @ordered - */ - int METRIC_FEATURE_COUNT = FUNCTOR_FEATURE_COUNT + 1; - - /** - * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.BinaryOperator Binary Operator}' enum. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.BinaryOperator - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getBinaryOperator() - * @generated - */ - int BINARY_OPERATOR = 58; - - /** - * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.UnaryOp Unary Op}' enum. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.UnaryOp - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getUnaryOp() - * @generated - */ - int UNARY_OP = 59; - - /** - * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.LogicValue Logic Value}' enum. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.LogicValue - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getLogicValue() - * @generated - */ - int LOGIC_VALUE = 60; - - /** - * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.ObjectiveKind Objective Kind}' enum. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.ObjectiveKind - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getObjectiveKind() - * @generated - */ - int OBJECTIVE_KIND = 61; - - /** - * The meta object id for the '{@link org.eclipse.viatra.solver.language.solverLanguage.Quantifier Quantifier}' enum. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.Quantifier - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getQuantifier() - * @generated - */ - int QUANTIFIER = 62; - - - /** - * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.Problem Problem}'. - * - * - * @return the meta object for class 'Problem'. - * @see org.eclipse.viatra.solver.language.solverLanguage.Problem - * @generated - */ - EClass getProblem(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.viatra.solver.language.solverLanguage.Problem#getStatements Statements}'. - * - * - * @return the meta object for the containment reference list 'Statements'. - * @see org.eclipse.viatra.solver.language.solverLanguage.Problem#getStatements() - * @see #getProblem() - * @generated - */ - EReference getProblem_Statements(); - - /** - * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.Statement Statement}'. - * - * - * @return the meta object for class 'Statement'. - * @see org.eclipse.viatra.solver.language.solverLanguage.Statement - * @generated - */ - EClass getStatement(); - - /** - * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.PredicateDefinition Predicate Definition}'. - * - * - * @return the meta object for class 'Predicate Definition'. - * @see org.eclipse.viatra.solver.language.solverLanguage.PredicateDefinition - * @generated - */ - EClass getPredicateDefinition(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.PredicateDefinition#getHead Head}'. - * - * - * @return the meta object for the containment reference 'Head'. - * @see org.eclipse.viatra.solver.language.solverLanguage.PredicateDefinition#getHead() - * @see #getPredicateDefinition() - * @generated - */ - EReference getPredicateDefinition_Head(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.PredicateDefinition#getBody Body}'. - * - * - * @return the meta object for the containment reference 'Body'. - * @see org.eclipse.viatra.solver.language.solverLanguage.PredicateDefinition#getBody() - * @see #getPredicateDefinition() - * @generated - */ - EReference getPredicateDefinition_Body(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.PredicateDefinition#isFunctional Functional}'. - * - * - * @return the meta object for the attribute 'Functional'. - * @see org.eclipse.viatra.solver.language.solverLanguage.PredicateDefinition#isFunctional() - * @see #getPredicateDefinition() - * @generated - */ - EAttribute getPredicateDefinition_Functional(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.PredicateDefinition#isError Error}'. - * - * - * @return the meta object for the attribute 'Error'. - * @see org.eclipse.viatra.solver.language.solverLanguage.PredicateDefinition#isError() - * @see #getPredicateDefinition() - * @generated - */ - EAttribute getPredicateDefinition_Error(); - - /** - * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.UnnamedErrorPrediateDefinition Unnamed Error Prediate Definition}'. - * - * - * @return the meta object for class 'Unnamed Error Prediate Definition'. - * @see org.eclipse.viatra.solver.language.solverLanguage.UnnamedErrorPrediateDefinition - * @generated - */ - EClass getUnnamedErrorPrediateDefinition(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.UnnamedErrorPrediateDefinition#getArgumentList Argument List}'. - * - * - * @return the meta object for the containment reference 'Argument List'. - * @see org.eclipse.viatra.solver.language.solverLanguage.UnnamedErrorPrediateDefinition#getArgumentList() - * @see #getUnnamedErrorPrediateDefinition() - * @generated - */ - EReference getUnnamedErrorPrediateDefinition_ArgumentList(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.UnnamedErrorPrediateDefinition#getBody Body}'. - * - * - * @return the meta object for the containment reference 'Body'. - * @see org.eclipse.viatra.solver.language.solverLanguage.UnnamedErrorPrediateDefinition#getBody() - * @see #getUnnamedErrorPrediateDefinition() - * @generated - */ - EReference getUnnamedErrorPrediateDefinition_Body(); - - /** - * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.DefaultDefinition Default Definition}'. - * - * - * @return the meta object for class 'Default Definition'. - * @see org.eclipse.viatra.solver.language.solverLanguage.DefaultDefinition - * @generated - */ - EClass getDefaultDefinition(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.DefaultDefinition#getHead Head}'. - * - * - * @return the meta object for the containment reference 'Head'. - * @see org.eclipse.viatra.solver.language.solverLanguage.DefaultDefinition#getHead() - * @see #getDefaultDefinition() - * @generated - */ - EReference getDefaultDefinition_Head(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.DefaultDefinition#getRange Range}'. - * - * - * @return the meta object for the containment reference 'Range'. - * @see org.eclipse.viatra.solver.language.solverLanguage.DefaultDefinition#getRange() - * @see #getDefaultDefinition() - * @generated - */ - EReference getDefaultDefinition_Range(); - - /** - * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.MetricDefinition Metric Definition}'. - * - * - * @return the meta object for class 'Metric Definition'. - * @see org.eclipse.viatra.solver.language.solverLanguage.MetricDefinition - * @generated - */ - EClass getMetricDefinition(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.MetricDefinition#getHead Head}'. - * - * - * @return the meta object for the containment reference 'Head'. - * @see org.eclipse.viatra.solver.language.solverLanguage.MetricDefinition#getHead() - * @see #getMetricDefinition() - * @generated - */ - EReference getMetricDefinition_Head(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.MetricDefinition#getBody Body}'. - * - * - * @return the meta object for the containment reference 'Body'. - * @see org.eclipse.viatra.solver.language.solverLanguage.MetricDefinition#getBody() - * @see #getMetricDefinition() - * @generated - */ - EReference getMetricDefinition_Body(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.viatra.solver.language.solverLanguage.MetricDefinition#getType Type}'. - * - * - * @return the meta object for the reference 'Type'. - * @see org.eclipse.viatra.solver.language.solverLanguage.MetricDefinition#getType() - * @see #getMetricDefinition() - * @generated - */ - EReference getMetricDefinition_Type(); - - /** - * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.ExternPredicateDefinition Extern Predicate Definition}'. - * - * - * @return the meta object for class 'Extern Predicate Definition'. - * @see org.eclipse.viatra.solver.language.solverLanguage.ExternPredicateDefinition - * @generated - */ - EClass getExternPredicateDefinition(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.ExternPredicateDefinition#getName Name}'. - * - * - * @return the meta object for the attribute 'Name'. - * @see org.eclipse.viatra.solver.language.solverLanguage.ExternPredicateDefinition#getName() - * @see #getExternPredicateDefinition() - * @generated - */ - EAttribute getExternPredicateDefinition_Name(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.ExternPredicateDefinition#getArgumentList Argument List}'. - * - * - * @return the meta object for the containment reference 'Argument List'. - * @see org.eclipse.viatra.solver.language.solverLanguage.ExternPredicateDefinition#getArgumentList() - * @see #getExternPredicateDefinition() - * @generated - */ - EReference getExternPredicateDefinition_ArgumentList(); - - /** - * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.ExternMetricDefinition Extern Metric Definition}'. - * - * - * @return the meta object for class 'Extern Metric Definition'. - * @see org.eclipse.viatra.solver.language.solverLanguage.ExternMetricDefinition - * @generated - */ - EClass getExternMetricDefinition(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.viatra.solver.language.solverLanguage.ExternMetricDefinition#getType Type}'. - * - * - * @return the meta object for the reference 'Type'. - * @see org.eclipse.viatra.solver.language.solverLanguage.ExternMetricDefinition#getType() - * @see #getExternMetricDefinition() - * @generated - */ - EReference getExternMetricDefinition_Type(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.ExternMetricDefinition#getName Name}'. - * - * - * @return the meta object for the attribute 'Name'. - * @see org.eclipse.viatra.solver.language.solverLanguage.ExternMetricDefinition#getName() - * @see #getExternMetricDefinition() - * @generated - */ - EAttribute getExternMetricDefinition_Name(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.ExternMetricDefinition#getArgumentList Argument List}'. - * - * - * @return the meta object for the containment reference 'Argument List'. - * @see org.eclipse.viatra.solver.language.solverLanguage.ExternMetricDefinition#getArgumentList() - * @see #getExternMetricDefinition() - * @generated - */ - EReference getExternMetricDefinition_ArgumentList(); - - /** - * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.ExternAggregatorDefinition Extern Aggregator Definition}'. - * - * - * @return the meta object for class 'Extern Aggregator Definition'. - * @see org.eclipse.viatra.solver.language.solverLanguage.ExternAggregatorDefinition - * @generated - */ - EClass getExternAggregatorDefinition(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.viatra.solver.language.solverLanguage.ExternAggregatorDefinition#getType Type}'. - * - * - * @return the meta object for the reference 'Type'. - * @see org.eclipse.viatra.solver.language.solverLanguage.ExternAggregatorDefinition#getType() - * @see #getExternAggregatorDefinition() - * @generated - */ - EReference getExternAggregatorDefinition_Type(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.ExternAggregatorDefinition#getName Name}'. - * - * - * @return the meta object for the attribute 'Name'. - * @see org.eclipse.viatra.solver.language.solverLanguage.ExternAggregatorDefinition#getName() - * @see #getExternAggregatorDefinition() - * @generated - */ - EAttribute getExternAggregatorDefinition_Name(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.viatra.solver.language.solverLanguage.ExternAggregatorDefinition#getInputType Input Type}'. - * - * - * @return the meta object for the reference 'Input Type'. - * @see org.eclipse.viatra.solver.language.solverLanguage.ExternAggregatorDefinition#getInputType() - * @see #getExternAggregatorDefinition() - * @generated - */ - EReference getExternAggregatorDefinition_InputType(); - - /** - * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.ExternDatatypeDefinition Extern Datatype Definition}'. - * - * - * @return the meta object for class 'Extern Datatype Definition'. - * @see org.eclipse.viatra.solver.language.solverLanguage.ExternDatatypeDefinition - * @generated - */ - EClass getExternDatatypeDefinition(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.ExternDatatypeDefinition#getName Name}'. - * - * - * @return the meta object for the attribute 'Name'. - * @see org.eclipse.viatra.solver.language.solverLanguage.ExternDatatypeDefinition#getName() - * @see #getExternDatatypeDefinition() - * @generated - */ - EAttribute getExternDatatypeDefinition_Name(); - - /** - * Returns the meta object for the reference list '{@link org.eclipse.viatra.solver.language.solverLanguage.ExternDatatypeDefinition#getSupertypes Supertypes}'. - * - * - * @return the meta object for the reference list 'Supertypes'. - * @see org.eclipse.viatra.solver.language.solverLanguage.ExternDatatypeDefinition#getSupertypes() - * @see #getExternDatatypeDefinition() - * @generated - */ - EReference getExternDatatypeDefinition_Supertypes(); - - /** - * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.NamedElement Named Element}'. - * - * - * @return the meta object for class 'Named Element'. - * @see org.eclipse.viatra.solver.language.solverLanguage.NamedElement - * @generated - */ - EClass getNamedElement(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.NamedElement#getName Name}'. - * - * - * @return the meta object for the attribute 'Name'. - * @see org.eclipse.viatra.solver.language.solverLanguage.NamedElement#getName() - * @see #getNamedElement() - * @generated - */ - EAttribute getNamedElement_Name(); - - /** - * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.Expression Expression}'. - * - * - * @return the meta object for class 'Expression'. - * @see org.eclipse.viatra.solver.language.solverLanguage.Expression - * @generated - */ - EClass getExpression(); - - /** - * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.IfElse If Else}'. - * - * - * @return the meta object for class 'If Else'. - * @see org.eclipse.viatra.solver.language.solverLanguage.IfElse - * @generated - */ - EClass getIfElse(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.IfElse#getThen Then}'. - * - * - * @return the meta object for the containment reference 'Then'. - * @see org.eclipse.viatra.solver.language.solverLanguage.IfElse#getThen() - * @see #getIfElse() - * @generated - */ - EReference getIfElse_Then(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.IfElse#getElse Else}'. - * - * - * @return the meta object for the containment reference 'Else'. - * @see org.eclipse.viatra.solver.language.solverLanguage.IfElse#getElse() - * @see #getIfElse() - * @generated - */ - EReference getIfElse_Else(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.IfElse#getCondition Condition}'. - * - * - * @return the meta object for the containment reference 'Condition'. - * @see org.eclipse.viatra.solver.language.solverLanguage.IfElse#getCondition() - * @see #getIfElse() - * @generated - */ - EReference getIfElse_Condition(); - - /** - * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.Let Let}'. - * - * - * @return the meta object for class 'Let'. - * @see org.eclipse.viatra.solver.language.solverLanguage.Let - * @generated - */ - EClass getLet(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.viatra.solver.language.solverLanguage.Let#getBindings Bindings}'. - * - * - * @return the meta object for the containment reference list 'Bindings'. - * @see org.eclipse.viatra.solver.language.solverLanguage.Let#getBindings() - * @see #getLet() - * @generated - */ - EReference getLet_Bindings(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.Let#getBody Body}'. - * - * - * @return the meta object for the containment reference 'Body'. - * @see org.eclipse.viatra.solver.language.solverLanguage.Let#getBody() - * @see #getLet() - * @generated - */ - EReference getLet_Body(); - - /** - * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.LetBinding Let Binding}'. - * - * - * @return the meta object for class 'Let Binding'. - * @see org.eclipse.viatra.solver.language.solverLanguage.LetBinding - * @generated - */ - EClass getLetBinding(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.LetBinding#getVariable Variable}'. - * - * - * @return the meta object for the containment reference 'Variable'. - * @see org.eclipse.viatra.solver.language.solverLanguage.LetBinding#getVariable() - * @see #getLetBinding() - * @generated - */ - EReference getLetBinding_Variable(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.LetBinding#getValue Value}'. - * - * - * @return the meta object for the containment reference 'Value'. - * @see org.eclipse.viatra.solver.language.solverLanguage.LetBinding#getValue() - * @see #getLetBinding() - * @generated - */ - EReference getLetBinding_Value(); - - /** - * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.Case Case}'. - * - * - * @return the meta object for class 'Case'. - * @see org.eclipse.viatra.solver.language.solverLanguage.Case - * @generated - */ - EClass getCase(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.Case#getBody Body}'. - * - * - * @return the meta object for the containment reference 'Body'. - * @see org.eclipse.viatra.solver.language.solverLanguage.Case#getBody() - * @see #getCase() - * @generated - */ - EReference getCase_Body(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.Case#getCondition Condition}'. - * - * - * @return the meta object for the containment reference 'Condition'. - * @see org.eclipse.viatra.solver.language.solverLanguage.Case#getCondition() - * @see #getCase() - * @generated - */ - EReference getCase_Condition(); - - /** - * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.LocalVariables Local Variables}'. - * - * - * @return the meta object for class 'Local Variables'. - * @see org.eclipse.viatra.solver.language.solverLanguage.LocalVariables - * @generated - */ - EClass getLocalVariables(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.viatra.solver.language.solverLanguage.LocalVariables#getVariables Variables}'. - * - * - * @return the meta object for the containment reference list 'Variables'. - * @see org.eclipse.viatra.solver.language.solverLanguage.LocalVariables#getVariables() - * @see #getLocalVariables() - * @generated - */ - EReference getLocalVariables_Variables(); - - /** - * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.QuantifiedExpression Quantified Expression}'. - * - * - * @return the meta object for class 'Quantified Expression'. - * @see org.eclipse.viatra.solver.language.solverLanguage.QuantifiedExpression - * @generated - */ - EClass getQuantifiedExpression(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.QuantifiedExpression#getLocalVariables Local Variables}'. - * - * - * @return the meta object for the containment reference 'Local Variables'. - * @see org.eclipse.viatra.solver.language.solverLanguage.QuantifiedExpression#getLocalVariables() - * @see #getQuantifiedExpression() - * @generated - */ - EReference getQuantifiedExpression_LocalVariables(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.QuantifiedExpression#getBody Body}'. - * - * - * @return the meta object for the containment reference 'Body'. - * @see org.eclipse.viatra.solver.language.solverLanguage.QuantifiedExpression#getBody() - * @see #getQuantifiedExpression() - * @generated - */ - EReference getQuantifiedExpression_Body(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.QuantifiedExpression#getQuantifier Quantifier}'. - * - * - * @return the meta object for the attribute 'Quantifier'. - * @see org.eclipse.viatra.solver.language.solverLanguage.QuantifiedExpression#getQuantifier() - * @see #getQuantifiedExpression() - * @generated - */ - EAttribute getQuantifiedExpression_Quantifier(); - - /** - * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.Aggregation Aggregation}'. - * - * - * @return the meta object for class 'Aggregation'. - * @see org.eclipse.viatra.solver.language.solverLanguage.Aggregation - * @generated - */ - EClass getAggregation(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.viatra.solver.language.solverLanguage.Aggregation#getOp Op}'. - * - * - * @return the meta object for the reference 'Op'. - * @see org.eclipse.viatra.solver.language.solverLanguage.Aggregation#getOp() - * @see #getAggregation() - * @generated - */ - EReference getAggregation_Op(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.Aggregation#getLocalVariables Local Variables}'. - * - * - * @return the meta object for the containment reference 'Local Variables'. - * @see org.eclipse.viatra.solver.language.solverLanguage.Aggregation#getLocalVariables() - * @see #getAggregation() - * @generated - */ - EReference getAggregation_LocalVariables(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.Aggregation#getBody Body}'. - * - * - * @return the meta object for the containment reference 'Body'. - * @see org.eclipse.viatra.solver.language.solverLanguage.Aggregation#getBody() - * @see #getAggregation() - * @generated - */ - EReference getAggregation_Body(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.Aggregation#getCondition Condition}'. - * - * - * @return the meta object for the containment reference 'Condition'. - * @see org.eclipse.viatra.solver.language.solverLanguage.Aggregation#getCondition() - * @see #getAggregation() - * @generated - */ - EReference getAggregation_Condition(); - - /** - * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.Call Call}'. - * - * - * @return the meta object for class 'Call'. - * @see org.eclipse.viatra.solver.language.solverLanguage.Call - * @generated - */ - EClass getCall(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.Call#getFunctor Functor}'. - * - * - * @return the meta object for the containment reference 'Functor'. - * @see org.eclipse.viatra.solver.language.solverLanguage.Call#getFunctor() - * @see #getCall() - * @generated - */ - EReference getCall_Functor(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.Call#isTransitiveClosure Transitive Closure}'. - * - * - * @return the meta object for the attribute 'Transitive Closure'. - * @see org.eclipse.viatra.solver.language.solverLanguage.Call#isTransitiveClosure() - * @see #getCall() - * @generated - */ - EAttribute getCall_TransitiveClosure(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.Call#isReflexiveTransitiveClosure Reflexive Transitive Closure}'. - * - * - * @return the meta object for the attribute 'Reflexive Transitive Closure'. - * @see org.eclipse.viatra.solver.language.solverLanguage.Call#isReflexiveTransitiveClosure() - * @see #getCall() - * @generated - */ - EAttribute getCall_ReflexiveTransitiveClosure(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.Call#getArgumentList Argument List}'. - * - * - * @return the meta object for the containment reference 'Argument List'. - * @see org.eclipse.viatra.solver.language.solverLanguage.Call#getArgumentList() - * @see #getCall() - * @generated - */ - EReference getCall_ArgumentList(); - - /** - * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.ArgumentList Argument List}'. - * - * - * @return the meta object for class 'Argument List'. - * @see org.eclipse.viatra.solver.language.solverLanguage.ArgumentList - * @generated - */ - EClass getArgumentList(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.viatra.solver.language.solverLanguage.ArgumentList#getArguments Arguments}'. - * - * - * @return the meta object for the containment reference list 'Arguments'. - * @see org.eclipse.viatra.solver.language.solverLanguage.ArgumentList#getArguments() - * @see #getArgumentList() - * @generated - */ - EReference getArgumentList_Arguments(); - - /** - * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.Argument Argument}'. - * - * - * @return the meta object for class 'Argument'. - * @see org.eclipse.viatra.solver.language.solverLanguage.Argument - * @generated - */ - EClass getArgument(); - - /** - * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.ExpressionArgument Expression Argument}'. - * - * - * @return the meta object for class 'Expression Argument'. - * @see org.eclipse.viatra.solver.language.solverLanguage.ExpressionArgument - * @generated - */ - EClass getExpressionArgument(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.ExpressionArgument#getBody Body}'. - * - * - * @return the meta object for the containment reference 'Body'. - * @see org.eclipse.viatra.solver.language.solverLanguage.ExpressionArgument#getBody() - * @see #getExpressionArgument() - * @generated - */ - EReference getExpressionArgument_Body(); - - /** - * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.StarArgument Star Argument}'. - * - * - * @return the meta object for class 'Star Argument'. - * @see org.eclipse.viatra.solver.language.solverLanguage.StarArgument - * @generated - */ - EClass getStarArgument(); - - /** - * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.TypedArgument Typed Argument}'. - * - * - * @return the meta object for class 'Typed Argument'. - * @see org.eclipse.viatra.solver.language.solverLanguage.TypedArgument - * @generated - */ - EClass getTypedArgument(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.viatra.solver.language.solverLanguage.TypedArgument#getType Type}'. - * - * - * @return the meta object for the reference 'Type'. - * @see org.eclipse.viatra.solver.language.solverLanguage.TypedArgument#getType() - * @see #getTypedArgument() - * @generated - */ - EReference getTypedArgument_Type(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.viatra.solver.language.solverLanguage.TypedArgument#getVariable Variable}'. - * - * - * @return the meta object for the reference 'Variable'. - * @see org.eclipse.viatra.solver.language.solverLanguage.TypedArgument#getVariable() - * @see #getTypedArgument() - * @generated - */ - EReference getTypedArgument_Variable(); - - /** - * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.TypedStarArgument Typed Star Argument}'. - * - * - * @return the meta object for class 'Typed Star Argument'. - * @see org.eclipse.viatra.solver.language.solverLanguage.TypedStarArgument - * @generated - */ - EClass getTypedStarArgument(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.viatra.solver.language.solverLanguage.TypedStarArgument#getType Type}'. - * - * - * @return the meta object for the reference 'Type'. - * @see org.eclipse.viatra.solver.language.solverLanguage.TypedStarArgument#getType() - * @see #getTypedStarArgument() - * @generated - */ - EReference getTypedStarArgument_Type(); - - /** - * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.Reference Reference}'. - * - * - * @return the meta object for class 'Reference'. - * @see org.eclipse.viatra.solver.language.solverLanguage.Reference - * @generated - */ - EClass getReference(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.viatra.solver.language.solverLanguage.Reference#getReferred Referred}'. - * - * - * @return the meta object for the reference 'Referred'. - * @see org.eclipse.viatra.solver.language.solverLanguage.Reference#getReferred() - * @see #getReference() - * @generated - */ - EReference getReference_Referred(); - - /** - * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.Interval Interval}'. - * - * - * @return the meta object for class 'Interval'. - * @see org.eclipse.viatra.solver.language.solverLanguage.Interval - * @generated - */ - EClass getInterval(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.Interval#getLowerBound Lower Bound}'. - * - * - * @return the meta object for the containment reference 'Lower Bound'. - * @see org.eclipse.viatra.solver.language.solverLanguage.Interval#getLowerBound() - * @see #getInterval() - * @generated - */ - EReference getInterval_LowerBound(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.Interval#getUpperBound Upper Bound}'. - * - * - * @return the meta object for the containment reference 'Upper Bound'. - * @see org.eclipse.viatra.solver.language.solverLanguage.Interval#getUpperBound() - * @see #getInterval() - * @generated - */ - EReference getInterval_UpperBound(); - - /** - * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.Literal Literal}'. - * - * - * @return the meta object for class 'Literal'. - * @see org.eclipse.viatra.solver.language.solverLanguage.Literal - * @generated - */ - EClass getLiteral(); - - /** - * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.LogicLiteral Logic Literal}'. - * - * - * @return the meta object for class 'Logic Literal'. - * @see org.eclipse.viatra.solver.language.solverLanguage.LogicLiteral - * @generated - */ - EClass getLogicLiteral(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.LogicLiteral#getValue Value}'. - * - * - * @return the meta object for the attribute 'Value'. - * @see org.eclipse.viatra.solver.language.solverLanguage.LogicLiteral#getValue() - * @see #getLogicLiteral() - * @generated - */ - EAttribute getLogicLiteral_Value(); - - /** - * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.NumericLiteral Numeric Literal}'. - * - * - * @return the meta object for class 'Numeric Literal'. - * @see org.eclipse.viatra.solver.language.solverLanguage.NumericLiteral - * @generated - */ - EClass getNumericLiteral(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.NumericLiteral#getValue Value}'. - * - * - * @return the meta object for the attribute 'Value'. - * @see org.eclipse.viatra.solver.language.solverLanguage.NumericLiteral#getValue() - * @see #getNumericLiteral() - * @generated - */ - EAttribute getNumericLiteral_Value(); - - /** - * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.InfinityLiteral Infinity Literal}'. - * - * - * @return the meta object for class 'Infinity Literal'. - * @see org.eclipse.viatra.solver.language.solverLanguage.InfinityLiteral - * @generated - */ - EClass getInfinityLiteral(); - - /** - * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.EmptyIntervalLiteral Empty Interval Literal}'. - * - * - * @return the meta object for class 'Empty Interval Literal'. - * @see org.eclipse.viatra.solver.language.solverLanguage.EmptyIntervalLiteral - * @generated - */ - EClass getEmptyIntervalLiteral(); - - /** - * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.StringLiteral String Literal}'. - * - * - * @return the meta object for class 'String Literal'. - * @see org.eclipse.viatra.solver.language.solverLanguage.StringLiteral - * @generated - */ - EClass getStringLiteral(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.StringLiteral#getValue Value}'. - * - * - * @return the meta object for the attribute 'Value'. - * @see org.eclipse.viatra.solver.language.solverLanguage.StringLiteral#getValue() - * @see #getStringLiteral() - * @generated - */ - EAttribute getStringLiteral_Value(); - - /** - * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.ClassDefinition Class Definition}'. - * - * - * @return the meta object for class 'Class Definition'. - * @see org.eclipse.viatra.solver.language.solverLanguage.ClassDefinition - * @generated - */ - EClass getClassDefinition(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.ClassDefinition#isAbstract Abstract}'. - * - * - * @return the meta object for the attribute 'Abstract'. - * @see org.eclipse.viatra.solver.language.solverLanguage.ClassDefinition#isAbstract() - * @see #getClassDefinition() - * @generated - */ - EAttribute getClassDefinition_Abstract(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.ClassDefinition#getName Name}'. - * - * - * @return the meta object for the attribute 'Name'. - * @see org.eclipse.viatra.solver.language.solverLanguage.ClassDefinition#getName() - * @see #getClassDefinition() - * @generated - */ - EAttribute getClassDefinition_Name(); - - /** - * Returns the meta object for the reference list '{@link org.eclipse.viatra.solver.language.solverLanguage.ClassDefinition#getSuperclasses Superclasses}'. - * - * - * @return the meta object for the reference list 'Superclasses'. - * @see org.eclipse.viatra.solver.language.solverLanguage.ClassDefinition#getSuperclasses() - * @see #getClassDefinition() - * @generated - */ - EReference getClassDefinition_Superclasses(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.viatra.solver.language.solverLanguage.ClassDefinition#getMembers Members}'. - * - * - * @return the meta object for the containment reference list 'Members'. - * @see org.eclipse.viatra.solver.language.solverLanguage.ClassDefinition#getMembers() - * @see #getClassDefinition() - * @generated - */ - EReference getClassDefinition_Members(); - - /** - * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.MemberDefinition Member Definition}'. - * - * - * @return the meta object for class 'Member Definition'. - * @see org.eclipse.viatra.solver.language.solverLanguage.MemberDefinition - * @generated - */ - EClass getMemberDefinition(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.MemberDefinition#isContainment Containment}'. - * - * - * @return the meta object for the attribute 'Containment'. - * @see org.eclipse.viatra.solver.language.solverLanguage.MemberDefinition#isContainment() - * @see #getMemberDefinition() - * @generated - */ - EAttribute getMemberDefinition_Containment(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.viatra.solver.language.solverLanguage.MemberDefinition#getType Type}'. - * - * - * @return the meta object for the reference 'Type'. - * @see org.eclipse.viatra.solver.language.solverLanguage.MemberDefinition#getType() - * @see #getMemberDefinition() - * @generated - */ - EReference getMemberDefinition_Type(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.MemberDefinition#getMultiplicity Multiplicity}'. - * - * - * @return the meta object for the containment reference 'Multiplicity'. - * @see org.eclipse.viatra.solver.language.solverLanguage.MemberDefinition#getMultiplicity() - * @see #getMemberDefinition() - * @generated - */ - EReference getMemberDefinition_Multiplicity(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.MemberDefinition#getName Name}'. - * - * - * @return the meta object for the attribute 'Name'. - * @see org.eclipse.viatra.solver.language.solverLanguage.MemberDefinition#getName() - * @see #getMemberDefinition() - * @generated - */ - EAttribute getMemberDefinition_Name(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.viatra.solver.language.solverLanguage.MemberDefinition#getOpposite Opposite}'. - * - * - * @return the meta object for the reference 'Opposite'. - * @see org.eclipse.viatra.solver.language.solverLanguage.MemberDefinition#getOpposite() - * @see #getMemberDefinition() - * @generated - */ - EReference getMemberDefinition_Opposite(); - - /** - * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.Multiplicity Multiplicity}'. - * - * - * @return the meta object for class 'Multiplicity'. - * @see org.eclipse.viatra.solver.language.solverLanguage.Multiplicity - * @generated - */ - EClass getMultiplicity(); - - /** - * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.ManyMultiplicity Many Multiplicity}'. - * - * - * @return the meta object for class 'Many Multiplicity'. - * @see org.eclipse.viatra.solver.language.solverLanguage.ManyMultiplicity - * @generated - */ - EClass getManyMultiplicity(); - - /** - * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.ExactMultiplicity Exact Multiplicity}'. - * - * - * @return the meta object for class 'Exact Multiplicity'. - * @see org.eclipse.viatra.solver.language.solverLanguage.ExactMultiplicity - * @generated - */ - EClass getExactMultiplicity(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.ExactMultiplicity#getMultiplicity Multiplicity}'. - * - * - * @return the meta object for the attribute 'Multiplicity'. - * @see org.eclipse.viatra.solver.language.solverLanguage.ExactMultiplicity#getMultiplicity() - * @see #getExactMultiplicity() - * @generated - */ - EAttribute getExactMultiplicity_Multiplicity(); - - /** - * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.BoundedMultiplicity Bounded Multiplicity}'. - * - * - * @return the meta object for class 'Bounded Multiplicity'. - * @see org.eclipse.viatra.solver.language.solverLanguage.BoundedMultiplicity - * @generated - */ - EClass getBoundedMultiplicity(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.BoundedMultiplicity#getLowerBound Lower Bound}'. - * - * - * @return the meta object for the attribute 'Lower Bound'. - * @see org.eclipse.viatra.solver.language.solverLanguage.BoundedMultiplicity#getLowerBound() - * @see #getBoundedMultiplicity() - * @generated - */ - EAttribute getBoundedMultiplicity_LowerBound(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.BoundedMultiplicity#getUpperBound Upper Bound}'. - * - * - * @return the meta object for the attribute 'Upper Bound'. - * @see org.eclipse.viatra.solver.language.solverLanguage.BoundedMultiplicity#getUpperBound() - * @see #getBoundedMultiplicity() - * @generated - */ - EAttribute getBoundedMultiplicity_UpperBound(); - - /** - * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.ScopeDefinition Scope Definition}'. - * - * - * @return the meta object for class 'Scope Definition'. - * @see org.eclipse.viatra.solver.language.solverLanguage.ScopeDefinition - * @generated - */ - EClass getScopeDefinition(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.viatra.solver.language.solverLanguage.ScopeDefinition#getType Type}'. - * - * - * @return the meta object for the reference 'Type'. - * @see org.eclipse.viatra.solver.language.solverLanguage.ScopeDefinition#getType() - * @see #getScopeDefinition() - * @generated - */ - EReference getScopeDefinition_Type(); - - /** - * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.ExactScopeDefinition Exact Scope Definition}'. - * - * - * @return the meta object for class 'Exact Scope Definition'. - * @see org.eclipse.viatra.solver.language.solverLanguage.ExactScopeDefinition - * @generated - */ - EClass getExactScopeDefinition(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.ExactScopeDefinition#getExactScope Exact Scope}'. - * - * - * @return the meta object for the attribute 'Exact Scope'. - * @see org.eclipse.viatra.solver.language.solverLanguage.ExactScopeDefinition#getExactScope() - * @see #getExactScopeDefinition() - * @generated - */ - EAttribute getExactScopeDefinition_ExactScope(); - - /** - * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.BoundedScopeDefinition Bounded Scope Definition}'. - * - * - * @return the meta object for class 'Bounded Scope Definition'. - * @see org.eclipse.viatra.solver.language.solverLanguage.BoundedScopeDefinition - * @generated - */ - EClass getBoundedScopeDefinition(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.BoundedScopeDefinition#getLowerBound Lower Bound}'. - * - * - * @return the meta object for the attribute 'Lower Bound'. - * @see org.eclipse.viatra.solver.language.solverLanguage.BoundedScopeDefinition#getLowerBound() - * @see #getBoundedScopeDefinition() - * @generated - */ - EAttribute getBoundedScopeDefinition_LowerBound(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.BoundedScopeDefinition#getUpperBound Upper Bound}'. - * - * - * @return the meta object for the attribute 'Upper Bound'. - * @see org.eclipse.viatra.solver.language.solverLanguage.BoundedScopeDefinition#getUpperBound() - * @see #getBoundedScopeDefinition() - * @generated - */ - EAttribute getBoundedScopeDefinition_UpperBound(); - - /** - * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.LowerBoundedScopeDefinition Lower Bounded Scope Definition}'. - * - * - * @return the meta object for class 'Lower Bounded Scope Definition'. - * @see org.eclipse.viatra.solver.language.solverLanguage.LowerBoundedScopeDefinition - * @generated - */ - EClass getLowerBoundedScopeDefinition(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.LowerBoundedScopeDefinition#getLowerBound Lower Bound}'. - * - * - * @return the meta object for the attribute 'Lower Bound'. - * @see org.eclipse.viatra.solver.language.solverLanguage.LowerBoundedScopeDefinition#getLowerBound() - * @see #getLowerBoundedScopeDefinition() - * @generated - */ - EAttribute getLowerBoundedScopeDefinition_LowerBound(); - - /** - * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.ObjectiveDefinition Objective Definition}'. - * - * - * @return the meta object for class 'Objective Definition'. - * @see org.eclipse.viatra.solver.language.solverLanguage.ObjectiveDefinition - * @generated - */ - EClass getObjectiveDefinition(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.ObjectiveDefinition#getKind Kind}'. - * - * - * @return the meta object for the attribute 'Kind'. - * @see org.eclipse.viatra.solver.language.solverLanguage.ObjectiveDefinition#getKind() - * @see #getObjectiveDefinition() - * @generated - */ - EAttribute getObjectiveDefinition_Kind(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.ObjectiveDefinition#getObjective Objective}'. - * - * - * @return the meta object for the containment reference 'Objective'. - * @see org.eclipse.viatra.solver.language.solverLanguage.ObjectiveDefinition#getObjective() - * @see #getObjectiveDefinition() - * @generated - */ - EReference getObjectiveDefinition_Objective(); - - /** - * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.Interpretation Interpretation}'. - * - * - * @return the meta object for class 'Interpretation'. - * @see org.eclipse.viatra.solver.language.solverLanguage.Interpretation - * @generated - */ - EClass getInterpretation(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.Interpretation#getBody Body}'. - * - * - * @return the meta object for the containment reference 'Body'. - * @see org.eclipse.viatra.solver.language.solverLanguage.Interpretation#getBody() - * @see #getInterpretation() - * @generated - */ - EReference getInterpretation_Body(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.Interpretation#getRange Range}'. - * - * - * @return the meta object for the containment reference 'Range'. - * @see org.eclipse.viatra.solver.language.solverLanguage.Interpretation#getRange() - * @see #getInterpretation() - * @generated - */ - EReference getInterpretation_Range(); - - /** - * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.Variable Variable}'. - * - * - * @return the meta object for class 'Variable'. - * @see org.eclipse.viatra.solver.language.solverLanguage.Variable - * @generated - */ - EClass getVariable(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.viatra.solver.language.solverLanguage.Variable#getType Type}'. - * - * - * @return the meta object for the reference 'Type'. - * @see org.eclipse.viatra.solver.language.solverLanguage.Variable#getType() - * @see #getVariable() - * @generated - */ - EReference getVariable_Type(); - - /** - * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.Disjunction Disjunction}'. - * - * - * @return the meta object for class 'Disjunction'. - * @see org.eclipse.viatra.solver.language.solverLanguage.Disjunction - * @generated - */ - EClass getDisjunction(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.viatra.solver.language.solverLanguage.Disjunction#getChildren Children}'. - * - * - * @return the meta object for the containment reference list 'Children'. - * @see org.eclipse.viatra.solver.language.solverLanguage.Disjunction#getChildren() - * @see #getDisjunction() - * @generated - */ - EReference getDisjunction_Children(); - - /** - * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.Switch Switch}'. - * - * - * @return the meta object for class 'Switch'. - * @see org.eclipse.viatra.solver.language.solverLanguage.Switch - * @generated - */ - EClass getSwitch(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.viatra.solver.language.solverLanguage.Switch#getCases Cases}'. - * - * - * @return the meta object for the containment reference list 'Cases'. - * @see org.eclipse.viatra.solver.language.solverLanguage.Switch#getCases() - * @see #getSwitch() - * @generated - */ - EReference getSwitch_Cases(); - - /** - * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.Conjunction Conjunction}'. - * - * - * @return the meta object for class 'Conjunction'. - * @see org.eclipse.viatra.solver.language.solverLanguage.Conjunction - * @generated - */ - EClass getConjunction(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.viatra.solver.language.solverLanguage.Conjunction#getChildren Children}'. - * - * - * @return the meta object for the containment reference list 'Children'. - * @see org.eclipse.viatra.solver.language.solverLanguage.Conjunction#getChildren() - * @see #getConjunction() - * @generated - */ - EReference getConjunction_Children(); - - /** - * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.Comparison Comparison}'. - * - * - * @return the meta object for class 'Comparison'. - * @see org.eclipse.viatra.solver.language.solverLanguage.Comparison - * @generated - */ - EClass getComparison(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.Comparison#getLeft Left}'. - * - * - * @return the meta object for the containment reference 'Left'. - * @see org.eclipse.viatra.solver.language.solverLanguage.Comparison#getLeft() - * @see #getComparison() - * @generated - */ - EReference getComparison_Left(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.Comparison#getOp Op}'. - * - * - * @return the meta object for the attribute 'Op'. - * @see org.eclipse.viatra.solver.language.solverLanguage.Comparison#getOp() - * @see #getComparison() - * @generated - */ - EAttribute getComparison_Op(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.Comparison#getRight Right}'. - * - * - * @return the meta object for the containment reference 'Right'. - * @see org.eclipse.viatra.solver.language.solverLanguage.Comparison#getRight() - * @see #getComparison() - * @generated - */ - EReference getComparison_Right(); - - /** - * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.BinaryExpression Binary Expression}'. - * - * - * @return the meta object for class 'Binary Expression'. - * @see org.eclipse.viatra.solver.language.solverLanguage.BinaryExpression - * @generated - */ - EClass getBinaryExpression(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.BinaryExpression#getLeft Left}'. - * - * - * @return the meta object for the containment reference 'Left'. - * @see org.eclipse.viatra.solver.language.solverLanguage.BinaryExpression#getLeft() - * @see #getBinaryExpression() - * @generated - */ - EReference getBinaryExpression_Left(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.BinaryExpression#getOp Op}'. - * - * - * @return the meta object for the attribute 'Op'. - * @see org.eclipse.viatra.solver.language.solverLanguage.BinaryExpression#getOp() - * @see #getBinaryExpression() - * @generated - */ - EAttribute getBinaryExpression_Op(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.BinaryExpression#getRight Right}'. - * - * - * @return the meta object for the containment reference 'Right'. - * @see org.eclipse.viatra.solver.language.solverLanguage.BinaryExpression#getRight() - * @see #getBinaryExpression() - * @generated - */ - EReference getBinaryExpression_Right(); - - /** - * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.CastExpression Cast Expression}'. - * - * - * @return the meta object for class 'Cast Expression'. - * @see org.eclipse.viatra.solver.language.solverLanguage.CastExpression - * @generated - */ - EClass getCastExpression(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.CastExpression#getBody Body}'. - * - * - * @return the meta object for the containment reference 'Body'. - * @see org.eclipse.viatra.solver.language.solverLanguage.CastExpression#getBody() - * @see #getCastExpression() - * @generated - */ - EReference getCastExpression_Body(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.viatra.solver.language.solverLanguage.CastExpression#getType Type}'. - * - * - * @return the meta object for the reference 'Type'. - * @see org.eclipse.viatra.solver.language.solverLanguage.CastExpression#getType() - * @see #getCastExpression() - * @generated - */ - EReference getCastExpression_Type(); - - /** - * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.UnaryExpression Unary Expression}'. - * - * - * @return the meta object for class 'Unary Expression'. - * @see org.eclipse.viatra.solver.language.solverLanguage.UnaryExpression - * @generated - */ - EClass getUnaryExpression(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.UnaryExpression#getOp Op}'. - * - * - * @return the meta object for the attribute 'Op'. - * @see org.eclipse.viatra.solver.language.solverLanguage.UnaryExpression#getOp() - * @see #getUnaryExpression() - * @generated - */ - EAttribute getUnaryExpression_Op(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.viatra.solver.language.solverLanguage.UnaryExpression#getBody Body}'. - * - * - * @return the meta object for the containment reference 'Body'. - * @see org.eclipse.viatra.solver.language.solverLanguage.UnaryExpression#getBody() - * @see #getUnaryExpression() - * @generated - */ - EReference getUnaryExpression_Body(); - - /** - * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.Node Node}'. - * - * - * @return the meta object for class 'Node'. - * @see org.eclipse.viatra.solver.language.solverLanguage.Node - * @generated - */ - EClass getNode(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.viatra.solver.language.solverLanguage.Node#isWithId With Id}'. - * - * - * @return the meta object for the attribute 'With Id'. - * @see org.eclipse.viatra.solver.language.solverLanguage.Node#isWithId() - * @see #getNode() - * @generated - */ - EAttribute getNode_WithId(); - - /** - * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.Functor Functor}'. - * - * - * @return the meta object for class 'Functor'. - * @see org.eclipse.viatra.solver.language.solverLanguage.Functor - * @generated - */ - EClass getFunctor(); - - /** - * Returns the meta object for the reference list '{@link org.eclipse.viatra.solver.language.solverLanguage.Functor#getParameters Parameters}'. - * - * - * @return the meta object for the reference list 'Parameters'. - * @see org.eclipse.viatra.solver.language.solverLanguage.Functor#getParameters() - * @see #getFunctor() - * @generated - */ - EReference getFunctor_Parameters(); - - /** - * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.Predicate Predicate}'. - * - * - * @return the meta object for class 'Predicate'. - * @see org.eclipse.viatra.solver.language.solverLanguage.Predicate - * @generated - */ - EClass getPredicate(); - - /** - * Returns the meta object for class '{@link org.eclipse.viatra.solver.language.solverLanguage.Metric Metric}'. - * - * - * @return the meta object for class 'Metric'. - * @see org.eclipse.viatra.solver.language.solverLanguage.Metric - * @generated - */ - EClass getMetric(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.viatra.solver.language.solverLanguage.Metric#getReturnType Return Type}'. - * - * - * @return the meta object for the reference 'Return Type'. - * @see org.eclipse.viatra.solver.language.solverLanguage.Metric#getReturnType() - * @see #getMetric() - * @generated - */ - EReference getMetric_ReturnType(); - - /** - * Returns the meta object for enum '{@link org.eclipse.viatra.solver.language.solverLanguage.BinaryOperator Binary Operator}'. - * - * - * @return the meta object for enum 'Binary Operator'. - * @see org.eclipse.viatra.solver.language.solverLanguage.BinaryOperator - * @generated - */ - EEnum getBinaryOperator(); - - /** - * Returns the meta object for enum '{@link org.eclipse.viatra.solver.language.solverLanguage.UnaryOp Unary Op}'. - * - * - * @return the meta object for enum 'Unary Op'. - * @see org.eclipse.viatra.solver.language.solverLanguage.UnaryOp - * @generated - */ - EEnum getUnaryOp(); - - /** - * Returns the meta object for enum '{@link org.eclipse.viatra.solver.language.solverLanguage.LogicValue Logic Value}'. - * - * - * @return the meta object for enum 'Logic Value'. - * @see org.eclipse.viatra.solver.language.solverLanguage.LogicValue - * @generated - */ - EEnum getLogicValue(); - - /** - * Returns the meta object for enum '{@link org.eclipse.viatra.solver.language.solverLanguage.ObjectiveKind Objective Kind}'. - * - * - * @return the meta object for enum 'Objective Kind'. - * @see org.eclipse.viatra.solver.language.solverLanguage.ObjectiveKind - * @generated - */ - EEnum getObjectiveKind(); - - /** - * Returns the meta object for enum '{@link org.eclipse.viatra.solver.language.solverLanguage.Quantifier Quantifier}'. - * - * - * @return the meta object for enum 'Quantifier'. - * @see org.eclipse.viatra.solver.language.solverLanguage.Quantifier - * @generated - */ - EEnum getQuantifier(); - - /** - * Returns the factory that creates the instances of the model. - * - * - * @return the factory that creates the instances of the model. - * @generated - */ - SolverLanguageFactory getSolverLanguageFactory(); - - /** - * - * Defines literals for the meta objects that represent - *
      - *
    • each class,
    • - *
    • each feature of each class,
    • - *
    • each enum,
    • - *
    • and each data type
    • - *
    - * - * @generated - */ - interface Literals { - /** - * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ProblemImpl Problem}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ProblemImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getProblem() - * @generated - */ - EClass PROBLEM = eINSTANCE.getProblem(); - - /** - * The meta object literal for the 'Statements' containment reference list feature. - * - * - * @generated - */ - EReference PROBLEM__STATEMENTS = eINSTANCE.getProblem_Statements(); - - /** - * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.StatementImpl Statement}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.StatementImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getStatement() - * @generated - */ - EClass STATEMENT = eINSTANCE.getStatement(); - - /** - * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.PredicateDefinitionImpl Predicate Definition}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.PredicateDefinitionImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getPredicateDefinition() - * @generated - */ - EClass PREDICATE_DEFINITION = eINSTANCE.getPredicateDefinition(); - - /** - * The meta object literal for the 'Head' containment reference feature. - * - * - * @generated - */ - EReference PREDICATE_DEFINITION__HEAD = eINSTANCE.getPredicateDefinition_Head(); - - /** - * The meta object literal for the 'Body' containment reference feature. - * - * - * @generated - */ - EReference PREDICATE_DEFINITION__BODY = eINSTANCE.getPredicateDefinition_Body(); - - /** - * The meta object literal for the 'Functional' attribute feature. - * - * - * @generated - */ - EAttribute PREDICATE_DEFINITION__FUNCTIONAL = eINSTANCE.getPredicateDefinition_Functional(); - - /** - * The meta object literal for the 'Error' attribute feature. - * - * - * @generated - */ - EAttribute PREDICATE_DEFINITION__ERROR = eINSTANCE.getPredicateDefinition_Error(); - - /** - * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.UnnamedErrorPrediateDefinitionImpl Unnamed Error Prediate Definition}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.UnnamedErrorPrediateDefinitionImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getUnnamedErrorPrediateDefinition() - * @generated - */ - EClass UNNAMED_ERROR_PREDIATE_DEFINITION = eINSTANCE.getUnnamedErrorPrediateDefinition(); - - /** - * The meta object literal for the 'Argument List' containment reference feature. - * - * - * @generated - */ - EReference UNNAMED_ERROR_PREDIATE_DEFINITION__ARGUMENT_LIST = eINSTANCE.getUnnamedErrorPrediateDefinition_ArgumentList(); - - /** - * The meta object literal for the 'Body' containment reference feature. - * - * - * @generated - */ - EReference UNNAMED_ERROR_PREDIATE_DEFINITION__BODY = eINSTANCE.getUnnamedErrorPrediateDefinition_Body(); - - /** - * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.DefaultDefinitionImpl Default Definition}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.DefaultDefinitionImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getDefaultDefinition() - * @generated - */ - EClass DEFAULT_DEFINITION = eINSTANCE.getDefaultDefinition(); - - /** - * The meta object literal for the 'Head' containment reference feature. - * - * - * @generated - */ - EReference DEFAULT_DEFINITION__HEAD = eINSTANCE.getDefaultDefinition_Head(); - - /** - * The meta object literal for the 'Range' containment reference feature. - * - * - * @generated - */ - EReference DEFAULT_DEFINITION__RANGE = eINSTANCE.getDefaultDefinition_Range(); - - /** - * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.MetricDefinitionImpl Metric Definition}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.MetricDefinitionImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getMetricDefinition() - * @generated - */ - EClass METRIC_DEFINITION = eINSTANCE.getMetricDefinition(); - - /** - * The meta object literal for the 'Head' containment reference feature. - * - * - * @generated - */ - EReference METRIC_DEFINITION__HEAD = eINSTANCE.getMetricDefinition_Head(); - - /** - * The meta object literal for the 'Body' containment reference feature. - * - * - * @generated - */ - EReference METRIC_DEFINITION__BODY = eINSTANCE.getMetricDefinition_Body(); - - /** - * The meta object literal for the 'Type' reference feature. - * - * - * @generated - */ - EReference METRIC_DEFINITION__TYPE = eINSTANCE.getMetricDefinition_Type(); - - /** - * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExternPredicateDefinitionImpl Extern Predicate Definition}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ExternPredicateDefinitionImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getExternPredicateDefinition() - * @generated - */ - EClass EXTERN_PREDICATE_DEFINITION = eINSTANCE.getExternPredicateDefinition(); - - /** - * The meta object literal for the 'Name' attribute feature. - * - * - * @generated - */ - EAttribute EXTERN_PREDICATE_DEFINITION__NAME = eINSTANCE.getExternPredicateDefinition_Name(); - - /** - * The meta object literal for the 'Argument List' containment reference feature. - * - * - * @generated - */ - EReference EXTERN_PREDICATE_DEFINITION__ARGUMENT_LIST = eINSTANCE.getExternPredicateDefinition_ArgumentList(); - - /** - * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExternMetricDefinitionImpl Extern Metric Definition}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ExternMetricDefinitionImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getExternMetricDefinition() - * @generated - */ - EClass EXTERN_METRIC_DEFINITION = eINSTANCE.getExternMetricDefinition(); - - /** - * The meta object literal for the 'Type' reference feature. - * - * - * @generated - */ - EReference EXTERN_METRIC_DEFINITION__TYPE = eINSTANCE.getExternMetricDefinition_Type(); - - /** - * The meta object literal for the 'Name' attribute feature. - * - * - * @generated - */ - EAttribute EXTERN_METRIC_DEFINITION__NAME = eINSTANCE.getExternMetricDefinition_Name(); - - /** - * The meta object literal for the 'Argument List' containment reference feature. - * - * - * @generated - */ - EReference EXTERN_METRIC_DEFINITION__ARGUMENT_LIST = eINSTANCE.getExternMetricDefinition_ArgumentList(); - - /** - * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExternAggregatorDefinitionImpl Extern Aggregator Definition}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ExternAggregatorDefinitionImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getExternAggregatorDefinition() - * @generated - */ - EClass EXTERN_AGGREGATOR_DEFINITION = eINSTANCE.getExternAggregatorDefinition(); - - /** - * The meta object literal for the 'Type' reference feature. - * - * - * @generated - */ - EReference EXTERN_AGGREGATOR_DEFINITION__TYPE = eINSTANCE.getExternAggregatorDefinition_Type(); - - /** - * The meta object literal for the 'Name' attribute feature. - * - * - * @generated - */ - EAttribute EXTERN_AGGREGATOR_DEFINITION__NAME = eINSTANCE.getExternAggregatorDefinition_Name(); - - /** - * The meta object literal for the 'Input Type' reference feature. - * - * - * @generated - */ - EReference EXTERN_AGGREGATOR_DEFINITION__INPUT_TYPE = eINSTANCE.getExternAggregatorDefinition_InputType(); - - /** - * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExternDatatypeDefinitionImpl Extern Datatype Definition}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ExternDatatypeDefinitionImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getExternDatatypeDefinition() - * @generated - */ - EClass EXTERN_DATATYPE_DEFINITION = eINSTANCE.getExternDatatypeDefinition(); - - /** - * The meta object literal for the 'Name' attribute feature. - * - * - * @generated - */ - EAttribute EXTERN_DATATYPE_DEFINITION__NAME = eINSTANCE.getExternDatatypeDefinition_Name(); - - /** - * The meta object literal for the 'Supertypes' reference list feature. - * - * - * @generated - */ - EReference EXTERN_DATATYPE_DEFINITION__SUPERTYPES = eINSTANCE.getExternDatatypeDefinition_Supertypes(); - - /** - * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.NamedElementImpl Named Element}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.NamedElementImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getNamedElement() - * @generated - */ - EClass NAMED_ELEMENT = eINSTANCE.getNamedElement(); - - /** - * The meta object literal for the 'Name' attribute feature. - * - * - * @generated - */ - EAttribute NAMED_ELEMENT__NAME = eINSTANCE.getNamedElement_Name(); - - /** - * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExpressionImpl Expression}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ExpressionImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getExpression() - * @generated - */ - EClass EXPRESSION = eINSTANCE.getExpression(); - - /** - * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.IfElseImpl If Else}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.IfElseImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getIfElse() - * @generated - */ - EClass IF_ELSE = eINSTANCE.getIfElse(); - - /** - * The meta object literal for the 'Then' containment reference feature. - * - * - * @generated - */ - EReference IF_ELSE__THEN = eINSTANCE.getIfElse_Then(); - - /** - * The meta object literal for the 'Else' containment reference feature. - * - * - * @generated - */ - EReference IF_ELSE__ELSE = eINSTANCE.getIfElse_Else(); - - /** - * The meta object literal for the 'Condition' containment reference feature. - * - * - * @generated - */ - EReference IF_ELSE__CONDITION = eINSTANCE.getIfElse_Condition(); - - /** - * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.LetImpl Let}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.LetImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getLet() - * @generated - */ - EClass LET = eINSTANCE.getLet(); - - /** - * The meta object literal for the 'Bindings' containment reference list feature. - * - * - * @generated - */ - EReference LET__BINDINGS = eINSTANCE.getLet_Bindings(); - - /** - * The meta object literal for the 'Body' containment reference feature. - * - * - * @generated - */ - EReference LET__BODY = eINSTANCE.getLet_Body(); - - /** - * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.LetBindingImpl Let Binding}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.LetBindingImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getLetBinding() - * @generated - */ - EClass LET_BINDING = eINSTANCE.getLetBinding(); - - /** - * The meta object literal for the 'Variable' containment reference feature. - * - * - * @generated - */ - EReference LET_BINDING__VARIABLE = eINSTANCE.getLetBinding_Variable(); - - /** - * The meta object literal for the 'Value' containment reference feature. - * - * - * @generated - */ - EReference LET_BINDING__VALUE = eINSTANCE.getLetBinding_Value(); - - /** - * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.CaseImpl Case}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.CaseImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getCase() - * @generated - */ - EClass CASE = eINSTANCE.getCase(); - - /** - * The meta object literal for the 'Body' containment reference feature. - * - * - * @generated - */ - EReference CASE__BODY = eINSTANCE.getCase_Body(); - - /** - * The meta object literal for the 'Condition' containment reference feature. - * - * - * @generated - */ - EReference CASE__CONDITION = eINSTANCE.getCase_Condition(); - - /** - * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.LocalVariablesImpl Local Variables}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.LocalVariablesImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getLocalVariables() - * @generated - */ - EClass LOCAL_VARIABLES = eINSTANCE.getLocalVariables(); - - /** - * The meta object literal for the 'Variables' containment reference list feature. - * - * - * @generated - */ - EReference LOCAL_VARIABLES__VARIABLES = eINSTANCE.getLocalVariables_Variables(); - - /** - * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.QuantifiedExpressionImpl Quantified Expression}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.QuantifiedExpressionImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getQuantifiedExpression() - * @generated - */ - EClass QUANTIFIED_EXPRESSION = eINSTANCE.getQuantifiedExpression(); - - /** - * The meta object literal for the 'Local Variables' containment reference feature. - * - * - * @generated - */ - EReference QUANTIFIED_EXPRESSION__LOCAL_VARIABLES = eINSTANCE.getQuantifiedExpression_LocalVariables(); - - /** - * The meta object literal for the 'Body' containment reference feature. - * - * - * @generated - */ - EReference QUANTIFIED_EXPRESSION__BODY = eINSTANCE.getQuantifiedExpression_Body(); - - /** - * The meta object literal for the 'Quantifier' attribute feature. - * - * - * @generated - */ - EAttribute QUANTIFIED_EXPRESSION__QUANTIFIER = eINSTANCE.getQuantifiedExpression_Quantifier(); - - /** - * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.AggregationImpl Aggregation}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.AggregationImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getAggregation() - * @generated - */ - EClass AGGREGATION = eINSTANCE.getAggregation(); - - /** - * The meta object literal for the 'Op' reference feature. - * - * - * @generated - */ - EReference AGGREGATION__OP = eINSTANCE.getAggregation_Op(); - - /** - * The meta object literal for the 'Local Variables' containment reference feature. - * - * - * @generated - */ - EReference AGGREGATION__LOCAL_VARIABLES = eINSTANCE.getAggregation_LocalVariables(); - - /** - * The meta object literal for the 'Body' containment reference feature. - * - * - * @generated - */ - EReference AGGREGATION__BODY = eINSTANCE.getAggregation_Body(); - - /** - * The meta object literal for the 'Condition' containment reference feature. - * - * - * @generated - */ - EReference AGGREGATION__CONDITION = eINSTANCE.getAggregation_Condition(); - - /** - * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.CallImpl Call}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.CallImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getCall() - * @generated - */ - EClass CALL = eINSTANCE.getCall(); - - /** - * The meta object literal for the 'Functor' containment reference feature. - * - * - * @generated - */ - EReference CALL__FUNCTOR = eINSTANCE.getCall_Functor(); - - /** - * The meta object literal for the 'Transitive Closure' attribute feature. - * - * - * @generated - */ - EAttribute CALL__TRANSITIVE_CLOSURE = eINSTANCE.getCall_TransitiveClosure(); - - /** - * The meta object literal for the 'Reflexive Transitive Closure' attribute feature. - * - * - * @generated - */ - EAttribute CALL__REFLEXIVE_TRANSITIVE_CLOSURE = eINSTANCE.getCall_ReflexiveTransitiveClosure(); - - /** - * The meta object literal for the 'Argument List' containment reference feature. - * - * - * @generated - */ - EReference CALL__ARGUMENT_LIST = eINSTANCE.getCall_ArgumentList(); - - /** - * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ArgumentListImpl Argument List}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ArgumentListImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getArgumentList() - * @generated - */ - EClass ARGUMENT_LIST = eINSTANCE.getArgumentList(); - - /** - * The meta object literal for the 'Arguments' containment reference list feature. - * - * - * @generated - */ - EReference ARGUMENT_LIST__ARGUMENTS = eINSTANCE.getArgumentList_Arguments(); - - /** - * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ArgumentImpl Argument}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ArgumentImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getArgument() - * @generated - */ - EClass ARGUMENT = eINSTANCE.getArgument(); - - /** - * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExpressionArgumentImpl Expression Argument}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ExpressionArgumentImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getExpressionArgument() - * @generated - */ - EClass EXPRESSION_ARGUMENT = eINSTANCE.getExpressionArgument(); - - /** - * The meta object literal for the 'Body' containment reference feature. - * - * - * @generated - */ - EReference EXPRESSION_ARGUMENT__BODY = eINSTANCE.getExpressionArgument_Body(); - - /** - * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.StarArgumentImpl Star Argument}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.StarArgumentImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getStarArgument() - * @generated - */ - EClass STAR_ARGUMENT = eINSTANCE.getStarArgument(); - - /** - * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.TypedArgumentImpl Typed Argument}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.TypedArgumentImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getTypedArgument() - * @generated - */ - EClass TYPED_ARGUMENT = eINSTANCE.getTypedArgument(); - - /** - * The meta object literal for the 'Type' reference feature. - * - * - * @generated - */ - EReference TYPED_ARGUMENT__TYPE = eINSTANCE.getTypedArgument_Type(); - - /** - * The meta object literal for the 'Variable' reference feature. - * - * - * @generated - */ - EReference TYPED_ARGUMENT__VARIABLE = eINSTANCE.getTypedArgument_Variable(); - - /** - * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.TypedStarArgumentImpl Typed Star Argument}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.TypedStarArgumentImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getTypedStarArgument() - * @generated - */ - EClass TYPED_STAR_ARGUMENT = eINSTANCE.getTypedStarArgument(); - - /** - * The meta object literal for the 'Type' reference feature. - * - * - * @generated - */ - EReference TYPED_STAR_ARGUMENT__TYPE = eINSTANCE.getTypedStarArgument_Type(); - - /** - * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ReferenceImpl Reference}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ReferenceImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getReference() - * @generated - */ - EClass REFERENCE = eINSTANCE.getReference(); - - /** - * The meta object literal for the 'Referred' reference feature. - * - * - * @generated - */ - EReference REFERENCE__REFERRED = eINSTANCE.getReference_Referred(); - - /** - * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.IntervalImpl Interval}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.IntervalImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getInterval() - * @generated - */ - EClass INTERVAL = eINSTANCE.getInterval(); - - /** - * The meta object literal for the 'Lower Bound' containment reference feature. - * - * - * @generated - */ - EReference INTERVAL__LOWER_BOUND = eINSTANCE.getInterval_LowerBound(); - - /** - * The meta object literal for the 'Upper Bound' containment reference feature. - * - * - * @generated - */ - EReference INTERVAL__UPPER_BOUND = eINSTANCE.getInterval_UpperBound(); - - /** - * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.LiteralImpl Literal}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.LiteralImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getLiteral() - * @generated - */ - EClass LITERAL = eINSTANCE.getLiteral(); - - /** - * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.LogicLiteralImpl Logic Literal}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.LogicLiteralImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getLogicLiteral() - * @generated - */ - EClass LOGIC_LITERAL = eINSTANCE.getLogicLiteral(); - - /** - * The meta object literal for the 'Value' attribute feature. - * - * - * @generated - */ - EAttribute LOGIC_LITERAL__VALUE = eINSTANCE.getLogicLiteral_Value(); - - /** - * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.NumericLiteralImpl Numeric Literal}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.NumericLiteralImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getNumericLiteral() - * @generated - */ - EClass NUMERIC_LITERAL = eINSTANCE.getNumericLiteral(); - - /** - * The meta object literal for the 'Value' attribute feature. - * - * - * @generated - */ - EAttribute NUMERIC_LITERAL__VALUE = eINSTANCE.getNumericLiteral_Value(); - - /** - * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.InfinityLiteralImpl Infinity Literal}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.InfinityLiteralImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getInfinityLiteral() - * @generated - */ - EClass INFINITY_LITERAL = eINSTANCE.getInfinityLiteral(); - - /** - * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.EmptyIntervalLiteralImpl Empty Interval Literal}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.EmptyIntervalLiteralImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getEmptyIntervalLiteral() - * @generated - */ - EClass EMPTY_INTERVAL_LITERAL = eINSTANCE.getEmptyIntervalLiteral(); - - /** - * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.StringLiteralImpl String Literal}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.StringLiteralImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getStringLiteral() - * @generated - */ - EClass STRING_LITERAL = eINSTANCE.getStringLiteral(); - - /** - * The meta object literal for the 'Value' attribute feature. - * - * - * @generated - */ - EAttribute STRING_LITERAL__VALUE = eINSTANCE.getStringLiteral_Value(); - - /** - * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ClassDefinitionImpl Class Definition}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ClassDefinitionImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getClassDefinition() - * @generated - */ - EClass CLASS_DEFINITION = eINSTANCE.getClassDefinition(); - - /** - * The meta object literal for the 'Abstract' attribute feature. - * - * - * @generated - */ - EAttribute CLASS_DEFINITION__ABSTRACT = eINSTANCE.getClassDefinition_Abstract(); - - /** - * The meta object literal for the 'Name' attribute feature. - * - * - * @generated - */ - EAttribute CLASS_DEFINITION__NAME = eINSTANCE.getClassDefinition_Name(); - - /** - * The meta object literal for the 'Superclasses' reference list feature. - * - * - * @generated - */ - EReference CLASS_DEFINITION__SUPERCLASSES = eINSTANCE.getClassDefinition_Superclasses(); - - /** - * The meta object literal for the 'Members' containment reference list feature. - * - * - * @generated - */ - EReference CLASS_DEFINITION__MEMBERS = eINSTANCE.getClassDefinition_Members(); - - /** - * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.MemberDefinitionImpl Member Definition}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.MemberDefinitionImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getMemberDefinition() - * @generated - */ - EClass MEMBER_DEFINITION = eINSTANCE.getMemberDefinition(); - - /** - * The meta object literal for the 'Containment' attribute feature. - * - * - * @generated - */ - EAttribute MEMBER_DEFINITION__CONTAINMENT = eINSTANCE.getMemberDefinition_Containment(); - - /** - * The meta object literal for the 'Type' reference feature. - * - * - * @generated - */ - EReference MEMBER_DEFINITION__TYPE = eINSTANCE.getMemberDefinition_Type(); - - /** - * The meta object literal for the 'Multiplicity' containment reference feature. - * - * - * @generated - */ - EReference MEMBER_DEFINITION__MULTIPLICITY = eINSTANCE.getMemberDefinition_Multiplicity(); - - /** - * The meta object literal for the 'Name' attribute feature. - * - * - * @generated - */ - EAttribute MEMBER_DEFINITION__NAME = eINSTANCE.getMemberDefinition_Name(); - - /** - * The meta object literal for the 'Opposite' reference feature. - * - * - * @generated - */ - EReference MEMBER_DEFINITION__OPPOSITE = eINSTANCE.getMemberDefinition_Opposite(); - - /** - * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.MultiplicityImpl Multiplicity}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.MultiplicityImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getMultiplicity() - * @generated - */ - EClass MULTIPLICITY = eINSTANCE.getMultiplicity(); - - /** - * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ManyMultiplicityImpl Many Multiplicity}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ManyMultiplicityImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getManyMultiplicity() - * @generated - */ - EClass MANY_MULTIPLICITY = eINSTANCE.getManyMultiplicity(); - - /** - * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExactMultiplicityImpl Exact Multiplicity}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ExactMultiplicityImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getExactMultiplicity() - * @generated - */ - EClass EXACT_MULTIPLICITY = eINSTANCE.getExactMultiplicity(); - - /** - * The meta object literal for the 'Multiplicity' attribute feature. - * - * - * @generated - */ - EAttribute EXACT_MULTIPLICITY__MULTIPLICITY = eINSTANCE.getExactMultiplicity_Multiplicity(); - - /** - * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.BoundedMultiplicityImpl Bounded Multiplicity}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.BoundedMultiplicityImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getBoundedMultiplicity() - * @generated - */ - EClass BOUNDED_MULTIPLICITY = eINSTANCE.getBoundedMultiplicity(); - - /** - * The meta object literal for the 'Lower Bound' attribute feature. - * - * - * @generated - */ - EAttribute BOUNDED_MULTIPLICITY__LOWER_BOUND = eINSTANCE.getBoundedMultiplicity_LowerBound(); - - /** - * The meta object literal for the 'Upper Bound' attribute feature. - * - * - * @generated - */ - EAttribute BOUNDED_MULTIPLICITY__UPPER_BOUND = eINSTANCE.getBoundedMultiplicity_UpperBound(); - - /** - * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ScopeDefinitionImpl Scope Definition}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ScopeDefinitionImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getScopeDefinition() - * @generated - */ - EClass SCOPE_DEFINITION = eINSTANCE.getScopeDefinition(); - - /** - * The meta object literal for the 'Type' reference feature. - * - * - * @generated - */ - EReference SCOPE_DEFINITION__TYPE = eINSTANCE.getScopeDefinition_Type(); - - /** - * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExactScopeDefinitionImpl Exact Scope Definition}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ExactScopeDefinitionImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getExactScopeDefinition() - * @generated - */ - EClass EXACT_SCOPE_DEFINITION = eINSTANCE.getExactScopeDefinition(); - - /** - * The meta object literal for the 'Exact Scope' attribute feature. - * - * - * @generated - */ - EAttribute EXACT_SCOPE_DEFINITION__EXACT_SCOPE = eINSTANCE.getExactScopeDefinition_ExactScope(); - - /** - * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.BoundedScopeDefinitionImpl Bounded Scope Definition}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.BoundedScopeDefinitionImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getBoundedScopeDefinition() - * @generated - */ - EClass BOUNDED_SCOPE_DEFINITION = eINSTANCE.getBoundedScopeDefinition(); - - /** - * The meta object literal for the 'Lower Bound' attribute feature. - * - * - * @generated - */ - EAttribute BOUNDED_SCOPE_DEFINITION__LOWER_BOUND = eINSTANCE.getBoundedScopeDefinition_LowerBound(); - - /** - * The meta object literal for the 'Upper Bound' attribute feature. - * - * - * @generated - */ - EAttribute BOUNDED_SCOPE_DEFINITION__UPPER_BOUND = eINSTANCE.getBoundedScopeDefinition_UpperBound(); - - /** - * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.LowerBoundedScopeDefinitionImpl Lower Bounded Scope Definition}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.LowerBoundedScopeDefinitionImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getLowerBoundedScopeDefinition() - * @generated - */ - EClass LOWER_BOUNDED_SCOPE_DEFINITION = eINSTANCE.getLowerBoundedScopeDefinition(); - - /** - * The meta object literal for the 'Lower Bound' attribute feature. - * - * - * @generated - */ - EAttribute LOWER_BOUNDED_SCOPE_DEFINITION__LOWER_BOUND = eINSTANCE.getLowerBoundedScopeDefinition_LowerBound(); - - /** - * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ObjectiveDefinitionImpl Objective Definition}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ObjectiveDefinitionImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getObjectiveDefinition() - * @generated - */ - EClass OBJECTIVE_DEFINITION = eINSTANCE.getObjectiveDefinition(); - - /** - * The meta object literal for the 'Kind' attribute feature. - * - * - * @generated - */ - EAttribute OBJECTIVE_DEFINITION__KIND = eINSTANCE.getObjectiveDefinition_Kind(); - - /** - * The meta object literal for the 'Objective' containment reference feature. - * - * - * @generated - */ - EReference OBJECTIVE_DEFINITION__OBJECTIVE = eINSTANCE.getObjectiveDefinition_Objective(); - - /** - * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.InterpretationImpl Interpretation}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.InterpretationImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getInterpretation() - * @generated - */ - EClass INTERPRETATION = eINSTANCE.getInterpretation(); - - /** - * The meta object literal for the 'Body' containment reference feature. - * - * - * @generated - */ - EReference INTERPRETATION__BODY = eINSTANCE.getInterpretation_Body(); - - /** - * The meta object literal for the 'Range' containment reference feature. - * - * - * @generated - */ - EReference INTERPRETATION__RANGE = eINSTANCE.getInterpretation_Range(); - - /** - * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.VariableImpl Variable}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.VariableImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getVariable() - * @generated - */ - EClass VARIABLE = eINSTANCE.getVariable(); - - /** - * The meta object literal for the 'Type' reference feature. - * - * - * @generated - */ - EReference VARIABLE__TYPE = eINSTANCE.getVariable_Type(); - - /** - * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.DisjunctionImpl Disjunction}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.DisjunctionImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getDisjunction() - * @generated - */ - EClass DISJUNCTION = eINSTANCE.getDisjunction(); - - /** - * The meta object literal for the 'Children' containment reference list feature. - * - * - * @generated - */ - EReference DISJUNCTION__CHILDREN = eINSTANCE.getDisjunction_Children(); - - /** - * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.SwitchImpl Switch}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SwitchImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getSwitch() - * @generated - */ - EClass SWITCH = eINSTANCE.getSwitch(); - - /** - * The meta object literal for the 'Cases' containment reference list feature. - * - * - * @generated - */ - EReference SWITCH__CASES = eINSTANCE.getSwitch_Cases(); - - /** - * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ConjunctionImpl Conjunction}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ConjunctionImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getConjunction() - * @generated - */ - EClass CONJUNCTION = eINSTANCE.getConjunction(); - - /** - * The meta object literal for the 'Children' containment reference list feature. - * - * - * @generated - */ - EReference CONJUNCTION__CHILDREN = eINSTANCE.getConjunction_Children(); - - /** - * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.ComparisonImpl Comparison}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.ComparisonImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getComparison() - * @generated - */ - EClass COMPARISON = eINSTANCE.getComparison(); - - /** - * The meta object literal for the 'Left' containment reference feature. - * - * - * @generated - */ - EReference COMPARISON__LEFT = eINSTANCE.getComparison_Left(); - - /** - * The meta object literal for the 'Op' attribute feature. - * - * - * @generated - */ - EAttribute COMPARISON__OP = eINSTANCE.getComparison_Op(); - - /** - * The meta object literal for the 'Right' containment reference feature. - * - * - * @generated - */ - EReference COMPARISON__RIGHT = eINSTANCE.getComparison_Right(); - - /** - * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.BinaryExpressionImpl Binary Expression}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.BinaryExpressionImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getBinaryExpression() - * @generated - */ - EClass BINARY_EXPRESSION = eINSTANCE.getBinaryExpression(); - - /** - * The meta object literal for the 'Left' containment reference feature. - * - * - * @generated - */ - EReference BINARY_EXPRESSION__LEFT = eINSTANCE.getBinaryExpression_Left(); - - /** - * The meta object literal for the 'Op' attribute feature. - * - * - * @generated - */ - EAttribute BINARY_EXPRESSION__OP = eINSTANCE.getBinaryExpression_Op(); - - /** - * The meta object literal for the 'Right' containment reference feature. - * - * - * @generated - */ - EReference BINARY_EXPRESSION__RIGHT = eINSTANCE.getBinaryExpression_Right(); - - /** - * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.CastExpressionImpl Cast Expression}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.CastExpressionImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getCastExpression() - * @generated - */ - EClass CAST_EXPRESSION = eINSTANCE.getCastExpression(); - - /** - * The meta object literal for the 'Body' containment reference feature. - * - * - * @generated - */ - EReference CAST_EXPRESSION__BODY = eINSTANCE.getCastExpression_Body(); - - /** - * The meta object literal for the 'Type' reference feature. - * - * - * @generated - */ - EReference CAST_EXPRESSION__TYPE = eINSTANCE.getCastExpression_Type(); - - /** - * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.UnaryExpressionImpl Unary Expression}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.UnaryExpressionImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getUnaryExpression() - * @generated - */ - EClass UNARY_EXPRESSION = eINSTANCE.getUnaryExpression(); - - /** - * The meta object literal for the 'Op' attribute feature. - * - * - * @generated - */ - EAttribute UNARY_EXPRESSION__OP = eINSTANCE.getUnaryExpression_Op(); - - /** - * The meta object literal for the 'Body' containment reference feature. - * - * - * @generated - */ - EReference UNARY_EXPRESSION__BODY = eINSTANCE.getUnaryExpression_Body(); - - /** - * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.NodeImpl Node}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.NodeImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getNode() - * @generated - */ - EClass NODE = eINSTANCE.getNode(); - - /** - * The meta object literal for the 'With Id' attribute feature. - * - * - * @generated - */ - EAttribute NODE__WITH_ID = eINSTANCE.getNode_WithId(); - - /** - * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.FunctorImpl Functor}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.FunctorImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getFunctor() - * @generated - */ - EClass FUNCTOR = eINSTANCE.getFunctor(); - - /** - * The meta object literal for the 'Parameters' reference list feature. - * - * - * @generated - */ - EReference FUNCTOR__PARAMETERS = eINSTANCE.getFunctor_Parameters(); - - /** - * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.PredicateImpl Predicate}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.PredicateImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getPredicate() - * @generated - */ - EClass PREDICATE = eINSTANCE.getPredicate(); - - /** - * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.impl.MetricImpl Metric}' class. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.MetricImpl - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getMetric() - * @generated - */ - EClass METRIC = eINSTANCE.getMetric(); - - /** - * The meta object literal for the 'Return Type' reference feature. - * - * - * @generated - */ - EReference METRIC__RETURN_TYPE = eINSTANCE.getMetric_ReturnType(); - - /** - * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.BinaryOperator Binary Operator}' enum. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.BinaryOperator - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getBinaryOperator() - * @generated - */ - EEnum BINARY_OPERATOR = eINSTANCE.getBinaryOperator(); - - /** - * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.UnaryOp Unary Op}' enum. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.UnaryOp - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getUnaryOp() - * @generated - */ - EEnum UNARY_OP = eINSTANCE.getUnaryOp(); - - /** - * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.LogicValue Logic Value}' enum. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.LogicValue - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getLogicValue() - * @generated - */ - EEnum LOGIC_VALUE = eINSTANCE.getLogicValue(); - - /** - * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.ObjectiveKind Objective Kind}' enum. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.ObjectiveKind - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getObjectiveKind() - * @generated - */ - EEnum OBJECTIVE_KIND = eINSTANCE.getObjectiveKind(); - - /** - * The meta object literal for the '{@link org.eclipse.viatra.solver.language.solverLanguage.Quantifier Quantifier}' enum. - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.Quantifier - * @see org.eclipse.viatra.solver.language.solverLanguage.impl.SolverLanguagePackageImpl#getQuantifier() - * @generated - */ - EEnum QUANTIFIER = eINSTANCE.getQuantifier(); - - } - -} //SolverLanguagePackage diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/StarArgument.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/StarArgument.java deleted file mode 100644 index 1abc7ea1..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/StarArgument.java +++ /dev/null @@ -1,18 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage; - - -/** - * - * A representation of the model object 'Star Argument'. - * - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getStarArgument() - * @model - * @generated - */ -public interface StarArgument extends Argument { -} // StarArgument diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Statement.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Statement.java deleted file mode 100644 index 2dd89f73..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Statement.java +++ /dev/null @@ -1,19 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage; - -import org.eclipse.emf.ecore.EObject; - -/** - * - * A representation of the model object 'Statement'. - * - * - * - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getStatement() - * @model - * @generated - */ -public interface Statement extends EObject { -} // Statement diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/StringLiteral.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/StringLiteral.java deleted file mode 100644 index 7272e64a..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/StringLiteral.java +++ /dev/null @@ -1,46 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage; - - -/** - * - * A representation of the model object 'String Literal'. - * - * - *

    - * The following features are supported: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.StringLiteral#getValue Value}
    • - *
    - * - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getStringLiteral() - * @model - * @generated - */ -public interface StringLiteral extends Literal { - /** - * Returns the value of the 'Value' attribute. - * - * - * @return the value of the 'Value' attribute. - * @see #setValue(String) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getStringLiteral_Value() - * @model - * @generated - */ - String getValue(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.StringLiteral#getValue Value}' attribute. - * - * - * @param value the new value of the 'Value' attribute. - * @see #getValue() - * @generated - */ - void setValue(String value); - -} // StringLiteral diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Switch.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Switch.java deleted file mode 100644 index fc181c0b..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Switch.java +++ /dev/null @@ -1,37 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage; - -import org.eclipse.emf.common.util.EList; - -/** - * - * A representation of the model object 'Switch'. - * - * - *

    - * The following features are supported: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.Switch#getCases Cases}
    • - *
    - * - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getSwitch() - * @model - * @generated - */ -public interface Switch extends Expression { - /** - * Returns the value of the 'Cases' containment reference list. - * The list contents are of type {@link org.eclipse.viatra.solver.language.solverLanguage.Case}. - * - * - * @return the value of the 'Cases' containment reference list. - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getSwitch_Cases() - * @model containment="true" - * @generated - */ - EList getCases(); - -} // Switch diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/TypedArgument.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/TypedArgument.java deleted file mode 100644 index 04744ad9..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/TypedArgument.java +++ /dev/null @@ -1,69 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage; - - -/** - * - * A representation of the model object 'Typed Argument'. - * - * - *

    - * The following features are supported: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.TypedArgument#getType Type}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.TypedArgument#getVariable Variable}
    • - *
    - * - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getTypedArgument() - * @model - * @generated - */ -public interface TypedArgument extends Argument { - /** - * Returns the value of the 'Type' reference. - * - * - * @return the value of the 'Type' reference. - * @see #setType(NamedElement) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getTypedArgument_Type() - * @model - * @generated - */ - NamedElement getType(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.TypedArgument#getType Type}' reference. - * - * - * @param value the new value of the 'Type' reference. - * @see #getType() - * @generated - */ - void setType(NamedElement value); - - /** - * Returns the value of the 'Variable' reference. - * - * - * @return the value of the 'Variable' reference. - * @see #setVariable(NamedElement) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getTypedArgument_Variable() - * @model - * @generated - */ - NamedElement getVariable(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.TypedArgument#getVariable Variable}' reference. - * - * - * @param value the new value of the 'Variable' reference. - * @see #getVariable() - * @generated - */ - void setVariable(NamedElement value); - -} // TypedArgument diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/TypedStarArgument.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/TypedStarArgument.java deleted file mode 100644 index 53a18217..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/TypedStarArgument.java +++ /dev/null @@ -1,46 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage; - - -/** - * - * A representation of the model object 'Typed Star Argument'. - * - * - *

    - * The following features are supported: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.TypedStarArgument#getType Type}
    • - *
    - * - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getTypedStarArgument() - * @model - * @generated - */ -public interface TypedStarArgument extends Argument { - /** - * Returns the value of the 'Type' reference. - * - * - * @return the value of the 'Type' reference. - * @see #setType(NamedElement) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getTypedStarArgument_Type() - * @model - * @generated - */ - NamedElement getType(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.TypedStarArgument#getType Type}' reference. - * - * - * @param value the new value of the 'Type' reference. - * @see #getType() - * @generated - */ - void setType(NamedElement value); - -} // TypedStarArgument diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/UnaryExpression.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/UnaryExpression.java deleted file mode 100644 index c0a1ddc7..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/UnaryExpression.java +++ /dev/null @@ -1,72 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage; - - -/** - * - * A representation of the model object 'Unary Expression'. - * - * - *

    - * The following features are supported: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.UnaryExpression#getOp Op}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.UnaryExpression#getBody Body}
    • - *
    - * - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getUnaryExpression() - * @model - * @generated - */ -public interface UnaryExpression extends Expression { - /** - * Returns the value of the 'Op' attribute. - * The literals are from the enumeration {@link org.eclipse.viatra.solver.language.solverLanguage.UnaryOp}. - * - * - * @return the value of the 'Op' attribute. - * @see org.eclipse.viatra.solver.language.solverLanguage.UnaryOp - * @see #setOp(UnaryOp) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getUnaryExpression_Op() - * @model - * @generated - */ - UnaryOp getOp(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.UnaryExpression#getOp Op}' attribute. - * - * - * @param value the new value of the 'Op' attribute. - * @see org.eclipse.viatra.solver.language.solverLanguage.UnaryOp - * @see #getOp() - * @generated - */ - void setOp(UnaryOp value); - - /** - * Returns the value of the 'Body' containment reference. - * - * - * @return the value of the 'Body' containment reference. - * @see #setBody(Expression) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getUnaryExpression_Body() - * @model containment="true" - * @generated - */ - Expression getBody(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.UnaryExpression#getBody Body}' containment reference. - * - * - * @param value the new value of the 'Body' containment reference. - * @see #getBody() - * @generated - */ - void setBody(Expression value); - -} // UnaryExpression diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/UnaryOp.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/UnaryOp.java deleted file mode 100644 index fad289b1..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/UnaryOp.java +++ /dev/null @@ -1,302 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage; - -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 'Unary Op', - * and utility methods for working with them. - * - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getUnaryOp() - * @model - * @generated - */ -public enum UnaryOp implements Enumerator { - /** - * The 'NEG' literal object. - * - * - * @see #NEG_VALUE - * @generated - * @ordered - */ - NEG(0, "NEG", "!"), - - /** - * The 'PLUS' literal object. - * - * - * @see #PLUS_VALUE - * @generated - * @ordered - */ - PLUS(1, "PLUS", "+"), - - /** - * The 'MINUS' literal object. - * - * - * @see #MINUS_VALUE - * @generated - * @ordered - */ - MINUS(2, "MINUS", "-"), - - /** - * The 'MAY' literal object. - * - * - * @see #MAY_VALUE - * @generated - * @ordered - */ - MAY(3, "MAY", "may"), - - /** - * The 'MUST' literal object. - * - * - * @see #MUST_VALUE - * @generated - * @ordered - */ - MUST(4, "MUST", "must"), - - /** - * The 'CURRENT' literal object. - * - * - * @see #CURRENT_VALUE - * @generated - * @ordered - */ - CURRENT(5, "CURRENT", "current"); - - /** - * The 'NEG' literal value. - * - * - * @see #NEG - * @model literal="!" - * @generated - * @ordered - */ - public static final int NEG_VALUE = 0; - - /** - * The 'PLUS' literal value. - * - * - * @see #PLUS - * @model literal="+" - * @generated - * @ordered - */ - public static final int PLUS_VALUE = 1; - - /** - * The 'MINUS' literal value. - * - * - * @see #MINUS - * @model literal="-" - * @generated - * @ordered - */ - public static final int MINUS_VALUE = 2; - - /** - * The 'MAY' literal value. - * - * - * @see #MAY - * @model literal="may" - * @generated - * @ordered - */ - public static final int MAY_VALUE = 3; - - /** - * The 'MUST' literal value. - * - * - * @see #MUST - * @model literal="must" - * @generated - * @ordered - */ - public static final int MUST_VALUE = 4; - - /** - * The 'CURRENT' literal value. - * - * - * @see #CURRENT - * @model literal="current" - * @generated - * @ordered - */ - public static final int CURRENT_VALUE = 5; - - /** - * An array of all the 'Unary Op' enumerators. - * - * - * @generated - */ - private static final UnaryOp[] VALUES_ARRAY = - new UnaryOp[] { - NEG, - PLUS, - MINUS, - MAY, - MUST, - CURRENT, - }; - - /** - * A public read-only list of all the 'Unary Op' enumerators. - * - * - * @generated - */ - public static final List VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); - - /** - * Returns the 'Unary Op' literal with the specified literal value. - * - * - * @param literal the literal. - * @return the matching enumerator or null. - * @generated - */ - public static UnaryOp get(String literal) { - for (int i = 0; i < VALUES_ARRAY.length; ++i) { - UnaryOp result = VALUES_ARRAY[i]; - if (result.toString().equals(literal)) { - return result; - } - } - return null; - } - - /** - * Returns the 'Unary Op' literal with the specified name. - * - * - * @param name the name. - * @return the matching enumerator or null. - * @generated - */ - public static UnaryOp getByName(String name) { - for (int i = 0; i < VALUES_ARRAY.length; ++i) { - UnaryOp result = VALUES_ARRAY[i]; - if (result.getName().equals(name)) { - return result; - } - } - return null; - } - - /** - * Returns the 'Unary Op' literal with the specified integer value. - * - * - * @param value the integer value. - * @return the matching enumerator or null. - * @generated - */ - public static UnaryOp get(int value) { - switch (value) { - case NEG_VALUE: return NEG; - case PLUS_VALUE: return PLUS; - case MINUS_VALUE: return MINUS; - case MAY_VALUE: return MAY; - case MUST_VALUE: return MUST; - case CURRENT_VALUE: return CURRENT; - } - 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 UnaryOp(int value, String name, String literal) { - this.value = value; - this.name = name; - this.literal = literal; - } - - /** - * - * - * @generated - */ - @Override - public int getValue() { - return value; - } - - /** - * - * - * @generated - */ - @Override - public String getName() { - return name; - } - - /** - * - * - * @generated - */ - @Override - public String getLiteral() { - return literal; - } - - /** - * Returns the literal value of the enumerator, which is its string representation. - * - * - * @generated - */ - @Override - public String toString() { - return literal; - } - -} //UnaryOp diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/UnnamedErrorPrediateDefinition.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/UnnamedErrorPrediateDefinition.java deleted file mode 100644 index fd916c18..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/UnnamedErrorPrediateDefinition.java +++ /dev/null @@ -1,69 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage; - - -/** - * - * A representation of the model object 'Unnamed Error Prediate Definition'. - * - * - *

    - * The following features are supported: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.UnnamedErrorPrediateDefinition#getArgumentList Argument List}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.UnnamedErrorPrediateDefinition#getBody Body}
    • - *
    - * - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getUnnamedErrorPrediateDefinition() - * @model - * @generated - */ -public interface UnnamedErrorPrediateDefinition extends Statement { - /** - * Returns the value of the 'Argument List' containment reference. - * - * - * @return the value of the 'Argument List' containment reference. - * @see #setArgumentList(ArgumentList) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getUnnamedErrorPrediateDefinition_ArgumentList() - * @model containment="true" - * @generated - */ - ArgumentList getArgumentList(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.UnnamedErrorPrediateDefinition#getArgumentList Argument List}' containment reference. - * - * - * @param value the new value of the 'Argument List' containment reference. - * @see #getArgumentList() - * @generated - */ - void setArgumentList(ArgumentList value); - - /** - * Returns the value of the 'Body' containment reference. - * - * - * @return the value of the 'Body' containment reference. - * @see #setBody(Expression) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getUnnamedErrorPrediateDefinition_Body() - * @model containment="true" - * @generated - */ - Expression getBody(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.UnnamedErrorPrediateDefinition#getBody Body}' containment reference. - * - * - * @param value the new value of the 'Body' containment reference. - * @see #getBody() - * @generated - */ - void setBody(Expression value); - -} // UnnamedErrorPrediateDefinition diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Variable.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Variable.java deleted file mode 100644 index 581ce517..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/Variable.java +++ /dev/null @@ -1,46 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage; - - -/** - * - * A representation of the model object 'Variable'. - * - * - *

    - * The following features are supported: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.Variable#getType Type}
    • - *
    - * - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getVariable() - * @model - * @generated - */ -public interface Variable extends NamedElement { - /** - * Returns the value of the 'Type' reference. - * - * - * @return the value of the 'Type' reference. - * @see #setType(NamedElement) - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getVariable_Type() - * @model - * @generated - */ - NamedElement getType(); - - /** - * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.Variable#getType Type}' reference. - * - * - * @param value the new value of the 'Type' reference. - * @see #getType() - * @generated - */ - void setType(NamedElement value); - -} // Variable diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/AggregationImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/AggregationImpl.java deleted file mode 100644 index 0f0262df..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/AggregationImpl.java +++ /dev/null @@ -1,378 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage.impl; - -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.viatra.solver.language.solverLanguage.Aggregation; -import org.eclipse.viatra.solver.language.solverLanguage.Expression; -import org.eclipse.viatra.solver.language.solverLanguage.LocalVariables; -import org.eclipse.viatra.solver.language.solverLanguage.NamedElement; -import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; - -/** - * - * An implementation of the model object 'Aggregation'. - * - *

    - * The following features are implemented: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.AggregationImpl#getOp Op}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.AggregationImpl#getLocalVariables Local Variables}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.AggregationImpl#getBody Body}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.AggregationImpl#getCondition Condition}
    • - *
    - * - * @generated - */ -public class AggregationImpl extends ExpressionImpl implements Aggregation { - /** - * The cached value of the '{@link #getOp() Op}' reference. - * - * - * @see #getOp() - * @generated - * @ordered - */ - protected NamedElement op; - - /** - * The cached value of the '{@link #getLocalVariables() Local Variables}' containment reference. - * - * - * @see #getLocalVariables() - * @generated - * @ordered - */ - protected LocalVariables localVariables; - - /** - * The cached value of the '{@link #getBody() Body}' containment reference. - * - * - * @see #getBody() - * @generated - * @ordered - */ - protected Expression body; - - /** - * The cached value of the '{@link #getCondition() Condition}' containment reference. - * - * - * @see #getCondition() - * @generated - * @ordered - */ - protected Expression condition; - - /** - * - * - * @generated - */ - protected AggregationImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return SolverLanguagePackage.Literals.AGGREGATION; - } - - /** - * - * - * @generated - */ - @Override - public NamedElement getOp() { - if (op != null && op.eIsProxy()) { - InternalEObject oldOp = (InternalEObject)op; - op = (NamedElement)eResolveProxy(oldOp); - if (op != oldOp) { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, SolverLanguagePackage.AGGREGATION__OP, oldOp, op)); - } - } - return op; - } - - /** - * - * - * @generated - */ - public NamedElement basicGetOp() { - return op; - } - - /** - * - * - * @generated - */ - @Override - public void setOp(NamedElement newOp) { - NamedElement oldOp = op; - op = newOp; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.AGGREGATION__OP, oldOp, op)); - } - - /** - * - * - * @generated - */ - @Override - public LocalVariables getLocalVariables() { - return localVariables; - } - - /** - * - * - * @generated - */ - public NotificationChain basicSetLocalVariables(LocalVariables newLocalVariables, NotificationChain msgs) { - LocalVariables oldLocalVariables = localVariables; - localVariables = newLocalVariables; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.AGGREGATION__LOCAL_VARIABLES, oldLocalVariables, newLocalVariables); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * - * - * @generated - */ - @Override - public void setLocalVariables(LocalVariables newLocalVariables) { - if (newLocalVariables != localVariables) { - NotificationChain msgs = null; - if (localVariables != null) - msgs = ((InternalEObject)localVariables).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.AGGREGATION__LOCAL_VARIABLES, null, msgs); - if (newLocalVariables != null) - msgs = ((InternalEObject)newLocalVariables).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.AGGREGATION__LOCAL_VARIABLES, null, msgs); - msgs = basicSetLocalVariables(newLocalVariables, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.AGGREGATION__LOCAL_VARIABLES, newLocalVariables, newLocalVariables)); - } - - /** - * - * - * @generated - */ - @Override - public Expression getBody() { - return body; - } - - /** - * - * - * @generated - */ - public NotificationChain basicSetBody(Expression newBody, NotificationChain msgs) { - Expression oldBody = body; - body = newBody; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.AGGREGATION__BODY, oldBody, newBody); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * - * - * @generated - */ - @Override - public void setBody(Expression newBody) { - if (newBody != body) { - NotificationChain msgs = null; - if (body != null) - msgs = ((InternalEObject)body).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.AGGREGATION__BODY, null, msgs); - if (newBody != null) - msgs = ((InternalEObject)newBody).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.AGGREGATION__BODY, null, msgs); - msgs = basicSetBody(newBody, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.AGGREGATION__BODY, newBody, newBody)); - } - - /** - * - * - * @generated - */ - @Override - public Expression getCondition() { - return condition; - } - - /** - * - * - * @generated - */ - public NotificationChain basicSetCondition(Expression newCondition, NotificationChain msgs) { - Expression oldCondition = condition; - condition = newCondition; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.AGGREGATION__CONDITION, oldCondition, newCondition); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * - * - * @generated - */ - @Override - public void setCondition(Expression newCondition) { - if (newCondition != condition) { - NotificationChain msgs = null; - if (condition != null) - msgs = ((InternalEObject)condition).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.AGGREGATION__CONDITION, null, msgs); - if (newCondition != null) - msgs = ((InternalEObject)newCondition).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.AGGREGATION__CONDITION, null, msgs); - msgs = basicSetCondition(newCondition, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.AGGREGATION__CONDITION, newCondition, newCondition)); - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case SolverLanguagePackage.AGGREGATION__LOCAL_VARIABLES: - return basicSetLocalVariables(null, msgs); - case SolverLanguagePackage.AGGREGATION__BODY: - return basicSetBody(null, msgs); - case SolverLanguagePackage.AGGREGATION__CONDITION: - return basicSetCondition(null, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case SolverLanguagePackage.AGGREGATION__OP: - if (resolve) return getOp(); - return basicGetOp(); - case SolverLanguagePackage.AGGREGATION__LOCAL_VARIABLES: - return getLocalVariables(); - case SolverLanguagePackage.AGGREGATION__BODY: - return getBody(); - case SolverLanguagePackage.AGGREGATION__CONDITION: - return getCondition(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case SolverLanguagePackage.AGGREGATION__OP: - setOp((NamedElement)newValue); - return; - case SolverLanguagePackage.AGGREGATION__LOCAL_VARIABLES: - setLocalVariables((LocalVariables)newValue); - return; - case SolverLanguagePackage.AGGREGATION__BODY: - setBody((Expression)newValue); - return; - case SolverLanguagePackage.AGGREGATION__CONDITION: - setCondition((Expression)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case SolverLanguagePackage.AGGREGATION__OP: - setOp((NamedElement)null); - return; - case SolverLanguagePackage.AGGREGATION__LOCAL_VARIABLES: - setLocalVariables((LocalVariables)null); - return; - case SolverLanguagePackage.AGGREGATION__BODY: - setBody((Expression)null); - return; - case SolverLanguagePackage.AGGREGATION__CONDITION: - setCondition((Expression)null); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case SolverLanguagePackage.AGGREGATION__OP: - return op != null; - case SolverLanguagePackage.AGGREGATION__LOCAL_VARIABLES: - return localVariables != null; - case SolverLanguagePackage.AGGREGATION__BODY: - return body != null; - case SolverLanguagePackage.AGGREGATION__CONDITION: - return condition != null; - } - return super.eIsSet(featureID); - } - -} //AggregationImpl diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ArgumentImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ArgumentImpl.java deleted file mode 100644 index afd14afa..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ArgumentImpl.java +++ /dev/null @@ -1,40 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage.impl; - -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; - -import org.eclipse.viatra.solver.language.solverLanguage.Argument; -import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; - -/** - * - * An implementation of the model object 'Argument'. - * - * - * @generated - */ -public class ArgumentImpl extends MinimalEObjectImpl.Container implements Argument { - /** - * - * - * @generated - */ - protected ArgumentImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return SolverLanguagePackage.Literals.ARGUMENT; - } - -} //ArgumentImpl diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ArgumentListImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ArgumentListImpl.java deleted file mode 100644 index fce298f1..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ArgumentListImpl.java +++ /dev/null @@ -1,154 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage.impl; - -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.impl.MinimalEObjectImpl; - -import org.eclipse.emf.ecore.util.EObjectContainmentEList; -import org.eclipse.emf.ecore.util.InternalEList; - -import org.eclipse.viatra.solver.language.solverLanguage.Argument; -import org.eclipse.viatra.solver.language.solverLanguage.ArgumentList; -import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; - -/** - * - * An implementation of the model object 'Argument List'. - * - *

    - * The following features are implemented: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.ArgumentListImpl#getArguments Arguments}
    • - *
    - * - * @generated - */ -public class ArgumentListImpl extends MinimalEObjectImpl.Container implements ArgumentList { - /** - * The cached value of the '{@link #getArguments() Arguments}' containment reference list. - * - * - * @see #getArguments() - * @generated - * @ordered - */ - protected EList arguments; - - /** - * - * - * @generated - */ - protected ArgumentListImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return SolverLanguagePackage.Literals.ARGUMENT_LIST; - } - - /** - * - * - * @generated - */ - @Override - public EList getArguments() { - if (arguments == null) { - arguments = new EObjectContainmentEList(Argument.class, this, SolverLanguagePackage.ARGUMENT_LIST__ARGUMENTS); - } - return arguments; - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case SolverLanguagePackage.ARGUMENT_LIST__ARGUMENTS: - return ((InternalEList)getArguments()).basicRemove(otherEnd, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case SolverLanguagePackage.ARGUMENT_LIST__ARGUMENTS: - return getArguments(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case SolverLanguagePackage.ARGUMENT_LIST__ARGUMENTS: - getArguments().clear(); - getArguments().addAll((Collection)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case SolverLanguagePackage.ARGUMENT_LIST__ARGUMENTS: - getArguments().clear(); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case SolverLanguagePackage.ARGUMENT_LIST__ARGUMENTS: - return arguments != null && !arguments.isEmpty(); - } - return super.eIsSet(featureID); - } - -} //ArgumentListImpl diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/BinaryExpressionImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/BinaryExpressionImpl.java deleted file mode 100644 index e85a40f9..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/BinaryExpressionImpl.java +++ /dev/null @@ -1,317 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage.impl; - -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.viatra.solver.language.solverLanguage.BinaryExpression; -import org.eclipse.viatra.solver.language.solverLanguage.BinaryOperator; -import org.eclipse.viatra.solver.language.solverLanguage.Expression; -import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; - -/** - * - * An implementation of the model object 'Binary Expression'. - * - *

    - * The following features are implemented: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.BinaryExpressionImpl#getLeft Left}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.BinaryExpressionImpl#getOp Op}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.BinaryExpressionImpl#getRight Right}
    • - *
    - * - * @generated - */ -public class BinaryExpressionImpl extends ExpressionImpl implements BinaryExpression { - /** - * The cached value of the '{@link #getLeft() Left}' containment reference. - * - * - * @see #getLeft() - * @generated - * @ordered - */ - protected Expression left; - - /** - * The default value of the '{@link #getOp() Op}' attribute. - * - * - * @see #getOp() - * @generated - * @ordered - */ - protected static final BinaryOperator OP_EDEFAULT = BinaryOperator.EQ; - - /** - * The cached value of the '{@link #getOp() Op}' attribute. - * - * - * @see #getOp() - * @generated - * @ordered - */ - protected BinaryOperator op = OP_EDEFAULT; - - /** - * The cached value of the '{@link #getRight() Right}' containment reference. - * - * - * @see #getRight() - * @generated - * @ordered - */ - protected Expression right; - - /** - * - * - * @generated - */ - protected BinaryExpressionImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return SolverLanguagePackage.Literals.BINARY_EXPRESSION; - } - - /** - * - * - * @generated - */ - @Override - public Expression getLeft() { - return left; - } - - /** - * - * - * @generated - */ - public NotificationChain basicSetLeft(Expression newLeft, NotificationChain msgs) { - Expression oldLeft = left; - left = newLeft; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.BINARY_EXPRESSION__LEFT, oldLeft, newLeft); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * - * - * @generated - */ - @Override - public void setLeft(Expression newLeft) { - if (newLeft != left) { - NotificationChain msgs = null; - if (left != null) - msgs = ((InternalEObject)left).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.BINARY_EXPRESSION__LEFT, null, msgs); - if (newLeft != null) - msgs = ((InternalEObject)newLeft).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.BINARY_EXPRESSION__LEFT, null, msgs); - msgs = basicSetLeft(newLeft, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.BINARY_EXPRESSION__LEFT, newLeft, newLeft)); - } - - /** - * - * - * @generated - */ - @Override - public BinaryOperator getOp() { - return op; - } - - /** - * - * - * @generated - */ - @Override - public void setOp(BinaryOperator newOp) { - BinaryOperator oldOp = op; - op = newOp == null ? OP_EDEFAULT : newOp; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.BINARY_EXPRESSION__OP, oldOp, op)); - } - - /** - * - * - * @generated - */ - @Override - public Expression getRight() { - return right; - } - - /** - * - * - * @generated - */ - public NotificationChain basicSetRight(Expression newRight, NotificationChain msgs) { - Expression oldRight = right; - right = newRight; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.BINARY_EXPRESSION__RIGHT, oldRight, newRight); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * - * - * @generated - */ - @Override - public void setRight(Expression newRight) { - if (newRight != right) { - NotificationChain msgs = null; - if (right != null) - msgs = ((InternalEObject)right).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.BINARY_EXPRESSION__RIGHT, null, msgs); - if (newRight != null) - msgs = ((InternalEObject)newRight).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.BINARY_EXPRESSION__RIGHT, null, msgs); - msgs = basicSetRight(newRight, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.BINARY_EXPRESSION__RIGHT, newRight, newRight)); - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case SolverLanguagePackage.BINARY_EXPRESSION__LEFT: - return basicSetLeft(null, msgs); - case SolverLanguagePackage.BINARY_EXPRESSION__RIGHT: - return basicSetRight(null, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case SolverLanguagePackage.BINARY_EXPRESSION__LEFT: - return getLeft(); - case SolverLanguagePackage.BINARY_EXPRESSION__OP: - return getOp(); - case SolverLanguagePackage.BINARY_EXPRESSION__RIGHT: - return getRight(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case SolverLanguagePackage.BINARY_EXPRESSION__LEFT: - setLeft((Expression)newValue); - return; - case SolverLanguagePackage.BINARY_EXPRESSION__OP: - setOp((BinaryOperator)newValue); - return; - case SolverLanguagePackage.BINARY_EXPRESSION__RIGHT: - setRight((Expression)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case SolverLanguagePackage.BINARY_EXPRESSION__LEFT: - setLeft((Expression)null); - return; - case SolverLanguagePackage.BINARY_EXPRESSION__OP: - setOp(OP_EDEFAULT); - return; - case SolverLanguagePackage.BINARY_EXPRESSION__RIGHT: - setRight((Expression)null); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case SolverLanguagePackage.BINARY_EXPRESSION__LEFT: - return left != null; - case SolverLanguagePackage.BINARY_EXPRESSION__OP: - return op != OP_EDEFAULT; - case SolverLanguagePackage.BINARY_EXPRESSION__RIGHT: - return right != null; - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuilder result = new StringBuilder(super.toString()); - result.append(" (op: "); - result.append(op); - result.append(')'); - return result.toString(); - } - -} //BinaryExpressionImpl diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/BoundedMultiplicityImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/BoundedMultiplicityImpl.java deleted file mode 100644 index 9b4f0385..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/BoundedMultiplicityImpl.java +++ /dev/null @@ -1,221 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage.impl; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -import org.eclipse.viatra.solver.language.solverLanguage.BoundedMultiplicity; -import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; - -/** - * - * An implementation of the model object 'Bounded Multiplicity'. - * - *

    - * The following features are implemented: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.BoundedMultiplicityImpl#getLowerBound Lower Bound}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.BoundedMultiplicityImpl#getUpperBound Upper Bound}
    • - *
    - * - * @generated - */ -public class BoundedMultiplicityImpl extends MultiplicityImpl implements BoundedMultiplicity { - /** - * The default value of the '{@link #getLowerBound() Lower Bound}' attribute. - * - * - * @see #getLowerBound() - * @generated - * @ordered - */ - protected static final int LOWER_BOUND_EDEFAULT = 0; - - /** - * The cached value of the '{@link #getLowerBound() Lower Bound}' attribute. - * - * - * @see #getLowerBound() - * @generated - * @ordered - */ - protected int lowerBound = LOWER_BOUND_EDEFAULT; - - /** - * The default value of the '{@link #getUpperBound() Upper Bound}' attribute. - * - * - * @see #getUpperBound() - * @generated - * @ordered - */ - protected static final int UPPER_BOUND_EDEFAULT = 0; - - /** - * The cached value of the '{@link #getUpperBound() Upper Bound}' attribute. - * - * - * @see #getUpperBound() - * @generated - * @ordered - */ - protected int upperBound = UPPER_BOUND_EDEFAULT; - - /** - * - * - * @generated - */ - protected BoundedMultiplicityImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return SolverLanguagePackage.Literals.BOUNDED_MULTIPLICITY; - } - - /** - * - * - * @generated - */ - @Override - public int getLowerBound() { - return lowerBound; - } - - /** - * - * - * @generated - */ - @Override - public void setLowerBound(int newLowerBound) { - int oldLowerBound = lowerBound; - lowerBound = newLowerBound; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.BOUNDED_MULTIPLICITY__LOWER_BOUND, oldLowerBound, lowerBound)); - } - - /** - * - * - * @generated - */ - @Override - public int getUpperBound() { - return upperBound; - } - - /** - * - * - * @generated - */ - @Override - public void setUpperBound(int newUpperBound) { - int oldUpperBound = upperBound; - upperBound = newUpperBound; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.BOUNDED_MULTIPLICITY__UPPER_BOUND, oldUpperBound, upperBound)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case SolverLanguagePackage.BOUNDED_MULTIPLICITY__LOWER_BOUND: - return getLowerBound(); - case SolverLanguagePackage.BOUNDED_MULTIPLICITY__UPPER_BOUND: - return getUpperBound(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case SolverLanguagePackage.BOUNDED_MULTIPLICITY__LOWER_BOUND: - setLowerBound((Integer)newValue); - return; - case SolverLanguagePackage.BOUNDED_MULTIPLICITY__UPPER_BOUND: - setUpperBound((Integer)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case SolverLanguagePackage.BOUNDED_MULTIPLICITY__LOWER_BOUND: - setLowerBound(LOWER_BOUND_EDEFAULT); - return; - case SolverLanguagePackage.BOUNDED_MULTIPLICITY__UPPER_BOUND: - setUpperBound(UPPER_BOUND_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case SolverLanguagePackage.BOUNDED_MULTIPLICITY__LOWER_BOUND: - return lowerBound != LOWER_BOUND_EDEFAULT; - case SolverLanguagePackage.BOUNDED_MULTIPLICITY__UPPER_BOUND: - return upperBound != UPPER_BOUND_EDEFAULT; - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuilder result = new StringBuilder(super.toString()); - result.append(" (lowerBound: "); - result.append(lowerBound); - result.append(", upperBound: "); - result.append(upperBound); - result.append(')'); - return result.toString(); - } - -} //BoundedMultiplicityImpl diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/BoundedScopeDefinitionImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/BoundedScopeDefinitionImpl.java deleted file mode 100644 index 7d3a981e..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/BoundedScopeDefinitionImpl.java +++ /dev/null @@ -1,221 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage.impl; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -import org.eclipse.viatra.solver.language.solverLanguage.BoundedScopeDefinition; -import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; - -/** - * - * An implementation of the model object 'Bounded Scope Definition'. - * - *

    - * The following features are implemented: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.BoundedScopeDefinitionImpl#getLowerBound Lower Bound}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.BoundedScopeDefinitionImpl#getUpperBound Upper Bound}
    • - *
    - * - * @generated - */ -public class BoundedScopeDefinitionImpl extends ScopeDefinitionImpl implements BoundedScopeDefinition { - /** - * The default value of the '{@link #getLowerBound() Lower Bound}' attribute. - * - * - * @see #getLowerBound() - * @generated - * @ordered - */ - protected static final int LOWER_BOUND_EDEFAULT = 0; - - /** - * The cached value of the '{@link #getLowerBound() Lower Bound}' attribute. - * - * - * @see #getLowerBound() - * @generated - * @ordered - */ - protected int lowerBound = LOWER_BOUND_EDEFAULT; - - /** - * The default value of the '{@link #getUpperBound() Upper Bound}' attribute. - * - * - * @see #getUpperBound() - * @generated - * @ordered - */ - protected static final int UPPER_BOUND_EDEFAULT = 0; - - /** - * The cached value of the '{@link #getUpperBound() Upper Bound}' attribute. - * - * - * @see #getUpperBound() - * @generated - * @ordered - */ - protected int upperBound = UPPER_BOUND_EDEFAULT; - - /** - * - * - * @generated - */ - protected BoundedScopeDefinitionImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return SolverLanguagePackage.Literals.BOUNDED_SCOPE_DEFINITION; - } - - /** - * - * - * @generated - */ - @Override - public int getLowerBound() { - return lowerBound; - } - - /** - * - * - * @generated - */ - @Override - public void setLowerBound(int newLowerBound) { - int oldLowerBound = lowerBound; - lowerBound = newLowerBound; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.BOUNDED_SCOPE_DEFINITION__LOWER_BOUND, oldLowerBound, lowerBound)); - } - - /** - * - * - * @generated - */ - @Override - public int getUpperBound() { - return upperBound; - } - - /** - * - * - * @generated - */ - @Override - public void setUpperBound(int newUpperBound) { - int oldUpperBound = upperBound; - upperBound = newUpperBound; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.BOUNDED_SCOPE_DEFINITION__UPPER_BOUND, oldUpperBound, upperBound)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case SolverLanguagePackage.BOUNDED_SCOPE_DEFINITION__LOWER_BOUND: - return getLowerBound(); - case SolverLanguagePackage.BOUNDED_SCOPE_DEFINITION__UPPER_BOUND: - return getUpperBound(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case SolverLanguagePackage.BOUNDED_SCOPE_DEFINITION__LOWER_BOUND: - setLowerBound((Integer)newValue); - return; - case SolverLanguagePackage.BOUNDED_SCOPE_DEFINITION__UPPER_BOUND: - setUpperBound((Integer)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case SolverLanguagePackage.BOUNDED_SCOPE_DEFINITION__LOWER_BOUND: - setLowerBound(LOWER_BOUND_EDEFAULT); - return; - case SolverLanguagePackage.BOUNDED_SCOPE_DEFINITION__UPPER_BOUND: - setUpperBound(UPPER_BOUND_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case SolverLanguagePackage.BOUNDED_SCOPE_DEFINITION__LOWER_BOUND: - return lowerBound != LOWER_BOUND_EDEFAULT; - case SolverLanguagePackage.BOUNDED_SCOPE_DEFINITION__UPPER_BOUND: - return upperBound != UPPER_BOUND_EDEFAULT; - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuilder result = new StringBuilder(super.toString()); - result.append(" (lowerBound: "); - result.append(lowerBound); - result.append(", upperBound: "); - result.append(upperBound); - result.append(')'); - return result.toString(); - } - -} //BoundedScopeDefinitionImpl diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/CallImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/CallImpl.java deleted file mode 100644 index bbc2dd4c..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/CallImpl.java +++ /dev/null @@ -1,373 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage.impl; - -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.viatra.solver.language.solverLanguage.ArgumentList; -import org.eclipse.viatra.solver.language.solverLanguage.Call; -import org.eclipse.viatra.solver.language.solverLanguage.Reference; -import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; - -/** - * - * An implementation of the model object 'Call'. - * - *

    - * The following features are implemented: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.CallImpl#getFunctor Functor}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.CallImpl#isTransitiveClosure Transitive Closure}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.CallImpl#isReflexiveTransitiveClosure Reflexive Transitive Closure}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.CallImpl#getArgumentList Argument List}
    • - *
    - * - * @generated - */ -public class CallImpl extends ExpressionImpl implements Call { - /** - * The cached value of the '{@link #getFunctor() Functor}' containment reference. - * - * - * @see #getFunctor() - * @generated - * @ordered - */ - protected Reference functor; - - /** - * The default value of the '{@link #isTransitiveClosure() Transitive Closure}' attribute. - * - * - * @see #isTransitiveClosure() - * @generated - * @ordered - */ - protected static final boolean TRANSITIVE_CLOSURE_EDEFAULT = false; - - /** - * The cached value of the '{@link #isTransitiveClosure() Transitive Closure}' attribute. - * - * - * @see #isTransitiveClosure() - * @generated - * @ordered - */ - protected boolean transitiveClosure = TRANSITIVE_CLOSURE_EDEFAULT; - - /** - * The default value of the '{@link #isReflexiveTransitiveClosure() Reflexive Transitive Closure}' attribute. - * - * - * @see #isReflexiveTransitiveClosure() - * @generated - * @ordered - */ - protected static final boolean REFLEXIVE_TRANSITIVE_CLOSURE_EDEFAULT = false; - - /** - * The cached value of the '{@link #isReflexiveTransitiveClosure() Reflexive Transitive Closure}' attribute. - * - * - * @see #isReflexiveTransitiveClosure() - * @generated - * @ordered - */ - protected boolean reflexiveTransitiveClosure = REFLEXIVE_TRANSITIVE_CLOSURE_EDEFAULT; - - /** - * The cached value of the '{@link #getArgumentList() Argument List}' containment reference. - * - * - * @see #getArgumentList() - * @generated - * @ordered - */ - protected ArgumentList argumentList; - - /** - * - * - * @generated - */ - protected CallImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return SolverLanguagePackage.Literals.CALL; - } - - /** - * - * - * @generated - */ - @Override - public Reference getFunctor() { - return functor; - } - - /** - * - * - * @generated - */ - public NotificationChain basicSetFunctor(Reference newFunctor, NotificationChain msgs) { - Reference oldFunctor = functor; - functor = newFunctor; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.CALL__FUNCTOR, oldFunctor, newFunctor); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * - * - * @generated - */ - @Override - public void setFunctor(Reference newFunctor) { - if (newFunctor != functor) { - NotificationChain msgs = null; - if (functor != null) - msgs = ((InternalEObject)functor).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.CALL__FUNCTOR, null, msgs); - if (newFunctor != null) - msgs = ((InternalEObject)newFunctor).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.CALL__FUNCTOR, null, msgs); - msgs = basicSetFunctor(newFunctor, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.CALL__FUNCTOR, newFunctor, newFunctor)); - } - - /** - * - * - * @generated - */ - @Override - public boolean isTransitiveClosure() { - return transitiveClosure; - } - - /** - * - * - * @generated - */ - @Override - public void setTransitiveClosure(boolean newTransitiveClosure) { - boolean oldTransitiveClosure = transitiveClosure; - transitiveClosure = newTransitiveClosure; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.CALL__TRANSITIVE_CLOSURE, oldTransitiveClosure, transitiveClosure)); - } - - /** - * - * - * @generated - */ - @Override - public boolean isReflexiveTransitiveClosure() { - return reflexiveTransitiveClosure; - } - - /** - * - * - * @generated - */ - @Override - public void setReflexiveTransitiveClosure(boolean newReflexiveTransitiveClosure) { - boolean oldReflexiveTransitiveClosure = reflexiveTransitiveClosure; - reflexiveTransitiveClosure = newReflexiveTransitiveClosure; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.CALL__REFLEXIVE_TRANSITIVE_CLOSURE, oldReflexiveTransitiveClosure, reflexiveTransitiveClosure)); - } - - /** - * - * - * @generated - */ - @Override - public ArgumentList getArgumentList() { - return argumentList; - } - - /** - * - * - * @generated - */ - public NotificationChain basicSetArgumentList(ArgumentList newArgumentList, NotificationChain msgs) { - ArgumentList oldArgumentList = argumentList; - argumentList = newArgumentList; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.CALL__ARGUMENT_LIST, oldArgumentList, newArgumentList); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * - * - * @generated - */ - @Override - public void setArgumentList(ArgumentList newArgumentList) { - if (newArgumentList != argumentList) { - NotificationChain msgs = null; - if (argumentList != null) - msgs = ((InternalEObject)argumentList).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.CALL__ARGUMENT_LIST, null, msgs); - if (newArgumentList != null) - msgs = ((InternalEObject)newArgumentList).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.CALL__ARGUMENT_LIST, null, msgs); - msgs = basicSetArgumentList(newArgumentList, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.CALL__ARGUMENT_LIST, newArgumentList, newArgumentList)); - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case SolverLanguagePackage.CALL__FUNCTOR: - return basicSetFunctor(null, msgs); - case SolverLanguagePackage.CALL__ARGUMENT_LIST: - return basicSetArgumentList(null, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case SolverLanguagePackage.CALL__FUNCTOR: - return getFunctor(); - case SolverLanguagePackage.CALL__TRANSITIVE_CLOSURE: - return isTransitiveClosure(); - case SolverLanguagePackage.CALL__REFLEXIVE_TRANSITIVE_CLOSURE: - return isReflexiveTransitiveClosure(); - case SolverLanguagePackage.CALL__ARGUMENT_LIST: - return getArgumentList(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case SolverLanguagePackage.CALL__FUNCTOR: - setFunctor((Reference)newValue); - return; - case SolverLanguagePackage.CALL__TRANSITIVE_CLOSURE: - setTransitiveClosure((Boolean)newValue); - return; - case SolverLanguagePackage.CALL__REFLEXIVE_TRANSITIVE_CLOSURE: - setReflexiveTransitiveClosure((Boolean)newValue); - return; - case SolverLanguagePackage.CALL__ARGUMENT_LIST: - setArgumentList((ArgumentList)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case SolverLanguagePackage.CALL__FUNCTOR: - setFunctor((Reference)null); - return; - case SolverLanguagePackage.CALL__TRANSITIVE_CLOSURE: - setTransitiveClosure(TRANSITIVE_CLOSURE_EDEFAULT); - return; - case SolverLanguagePackage.CALL__REFLEXIVE_TRANSITIVE_CLOSURE: - setReflexiveTransitiveClosure(REFLEXIVE_TRANSITIVE_CLOSURE_EDEFAULT); - return; - case SolverLanguagePackage.CALL__ARGUMENT_LIST: - setArgumentList((ArgumentList)null); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case SolverLanguagePackage.CALL__FUNCTOR: - return functor != null; - case SolverLanguagePackage.CALL__TRANSITIVE_CLOSURE: - return transitiveClosure != TRANSITIVE_CLOSURE_EDEFAULT; - case SolverLanguagePackage.CALL__REFLEXIVE_TRANSITIVE_CLOSURE: - return reflexiveTransitiveClosure != REFLEXIVE_TRANSITIVE_CLOSURE_EDEFAULT; - case SolverLanguagePackage.CALL__ARGUMENT_LIST: - return argumentList != null; - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuilder result = new StringBuilder(super.toString()); - result.append(" (transitiveClosure: "); - result.append(transitiveClosure); - result.append(", reflexiveTransitiveClosure: "); - result.append(reflexiveTransitiveClosure); - result.append(')'); - return result.toString(); - } - -} //CallImpl diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/CaseImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/CaseImpl.java deleted file mode 100644 index d6905f3b..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/CaseImpl.java +++ /dev/null @@ -1,246 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage.impl; - -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.viatra.solver.language.solverLanguage.Case; -import org.eclipse.viatra.solver.language.solverLanguage.Expression; -import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; - -/** - * - * An implementation of the model object 'Case'. - * - *

    - * The following features are implemented: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.CaseImpl#getBody Body}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.CaseImpl#getCondition Condition}
    • - *
    - * - * @generated - */ -public class CaseImpl extends ExpressionImpl implements Case { - /** - * The cached value of the '{@link #getBody() Body}' containment reference. - * - * - * @see #getBody() - * @generated - * @ordered - */ - protected Expression body; - - /** - * The cached value of the '{@link #getCondition() Condition}' containment reference. - * - * - * @see #getCondition() - * @generated - * @ordered - */ - protected Expression condition; - - /** - * - * - * @generated - */ - protected CaseImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return SolverLanguagePackage.Literals.CASE; - } - - /** - * - * - * @generated - */ - @Override - public Expression getBody() { - return body; - } - - /** - * - * - * @generated - */ - public NotificationChain basicSetBody(Expression newBody, NotificationChain msgs) { - Expression oldBody = body; - body = newBody; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.CASE__BODY, oldBody, newBody); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * - * - * @generated - */ - @Override - public void setBody(Expression newBody) { - if (newBody != body) { - NotificationChain msgs = null; - if (body != null) - msgs = ((InternalEObject)body).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.CASE__BODY, null, msgs); - if (newBody != null) - msgs = ((InternalEObject)newBody).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.CASE__BODY, null, msgs); - msgs = basicSetBody(newBody, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.CASE__BODY, newBody, newBody)); - } - - /** - * - * - * @generated - */ - @Override - public Expression getCondition() { - return condition; - } - - /** - * - * - * @generated - */ - public NotificationChain basicSetCondition(Expression newCondition, NotificationChain msgs) { - Expression oldCondition = condition; - condition = newCondition; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.CASE__CONDITION, oldCondition, newCondition); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * - * - * @generated - */ - @Override - public void setCondition(Expression newCondition) { - if (newCondition != condition) { - NotificationChain msgs = null; - if (condition != null) - msgs = ((InternalEObject)condition).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.CASE__CONDITION, null, msgs); - if (newCondition != null) - msgs = ((InternalEObject)newCondition).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.CASE__CONDITION, null, msgs); - msgs = basicSetCondition(newCondition, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.CASE__CONDITION, newCondition, newCondition)); - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case SolverLanguagePackage.CASE__BODY: - return basicSetBody(null, msgs); - case SolverLanguagePackage.CASE__CONDITION: - return basicSetCondition(null, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case SolverLanguagePackage.CASE__BODY: - return getBody(); - case SolverLanguagePackage.CASE__CONDITION: - return getCondition(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case SolverLanguagePackage.CASE__BODY: - setBody((Expression)newValue); - return; - case SolverLanguagePackage.CASE__CONDITION: - setCondition((Expression)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case SolverLanguagePackage.CASE__BODY: - setBody((Expression)null); - return; - case SolverLanguagePackage.CASE__CONDITION: - setCondition((Expression)null); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case SolverLanguagePackage.CASE__BODY: - return body != null; - case SolverLanguagePackage.CASE__CONDITION: - return condition != null; - } - return super.eIsSet(featureID); - } - -} //CaseImpl diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/CastExpressionImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/CastExpressionImpl.java deleted file mode 100644 index 39e20e46..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/CastExpressionImpl.java +++ /dev/null @@ -1,241 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage.impl; - -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.viatra.solver.language.solverLanguage.CastExpression; -import org.eclipse.viatra.solver.language.solverLanguage.Expression; -import org.eclipse.viatra.solver.language.solverLanguage.NamedElement; -import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; - -/** - * - * An implementation of the model object 'Cast Expression'. - * - *

    - * The following features are implemented: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.CastExpressionImpl#getBody Body}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.CastExpressionImpl#getType Type}
    • - *
    - * - * @generated - */ -public class CastExpressionImpl extends ExpressionImpl implements CastExpression { - /** - * The cached value of the '{@link #getBody() Body}' containment reference. - * - * - * @see #getBody() - * @generated - * @ordered - */ - protected Expression body; - - /** - * The cached value of the '{@link #getType() Type}' reference. - * - * - * @see #getType() - * @generated - * @ordered - */ - protected NamedElement type; - - /** - * - * - * @generated - */ - protected CastExpressionImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return SolverLanguagePackage.Literals.CAST_EXPRESSION; - } - - /** - * - * - * @generated - */ - @Override - public Expression getBody() { - return body; - } - - /** - * - * - * @generated - */ - public NotificationChain basicSetBody(Expression newBody, NotificationChain msgs) { - Expression oldBody = body; - body = newBody; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.CAST_EXPRESSION__BODY, oldBody, newBody); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * - * - * @generated - */ - @Override - public void setBody(Expression newBody) { - if (newBody != body) { - NotificationChain msgs = null; - if (body != null) - msgs = ((InternalEObject)body).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.CAST_EXPRESSION__BODY, null, msgs); - if (newBody != null) - msgs = ((InternalEObject)newBody).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.CAST_EXPRESSION__BODY, null, msgs); - msgs = basicSetBody(newBody, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.CAST_EXPRESSION__BODY, newBody, newBody)); - } - - /** - * - * - * @generated - */ - @Override - public NamedElement getType() { - if (type != null && type.eIsProxy()) { - InternalEObject oldType = (InternalEObject)type; - type = (NamedElement)eResolveProxy(oldType); - if (type != oldType) { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, SolverLanguagePackage.CAST_EXPRESSION__TYPE, oldType, type)); - } - } - return type; - } - - /** - * - * - * @generated - */ - public NamedElement basicGetType() { - return type; - } - - /** - * - * - * @generated - */ - @Override - public void setType(NamedElement newType) { - NamedElement oldType = type; - type = newType; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.CAST_EXPRESSION__TYPE, oldType, type)); - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case SolverLanguagePackage.CAST_EXPRESSION__BODY: - return basicSetBody(null, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case SolverLanguagePackage.CAST_EXPRESSION__BODY: - return getBody(); - case SolverLanguagePackage.CAST_EXPRESSION__TYPE: - if (resolve) return getType(); - return basicGetType(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case SolverLanguagePackage.CAST_EXPRESSION__BODY: - setBody((Expression)newValue); - return; - case SolverLanguagePackage.CAST_EXPRESSION__TYPE: - setType((NamedElement)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case SolverLanguagePackage.CAST_EXPRESSION__BODY: - setBody((Expression)null); - return; - case SolverLanguagePackage.CAST_EXPRESSION__TYPE: - setType((NamedElement)null); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case SolverLanguagePackage.CAST_EXPRESSION__BODY: - return body != null; - case SolverLanguagePackage.CAST_EXPRESSION__TYPE: - return type != null; - } - return super.eIsSet(featureID); - } - -} //CastExpressionImpl diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ClassDefinitionImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ClassDefinitionImpl.java deleted file mode 100644 index 9fe48f0b..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ClassDefinitionImpl.java +++ /dev/null @@ -1,318 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage.impl; - -import java.util.Collection; - -import org.eclipse.emf.common.notify.Notification; -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.impl.ENotificationImpl; - -import org.eclipse.emf.ecore.util.EObjectContainmentEList; -import org.eclipse.emf.ecore.util.EObjectResolvingEList; -import org.eclipse.emf.ecore.util.InternalEList; - -import org.eclipse.viatra.solver.language.solverLanguage.ClassDefinition; -import org.eclipse.viatra.solver.language.solverLanguage.MemberDefinition; -import org.eclipse.viatra.solver.language.solverLanguage.NamedElement; -import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; - -/** - * - * An implementation of the model object 'Class Definition'. - * - *

    - * The following features are implemented: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.ClassDefinitionImpl#isAbstract Abstract}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.ClassDefinitionImpl#getName Name}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.ClassDefinitionImpl#getSuperclasses Superclasses}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.ClassDefinitionImpl#getMembers Members}
    • - *
    - * - * @generated - */ -public class ClassDefinitionImpl extends StatementImpl implements ClassDefinition { - /** - * The default value of the '{@link #isAbstract() Abstract}' attribute. - * - * - * @see #isAbstract() - * @generated - * @ordered - */ - protected static final boolean ABSTRACT_EDEFAULT = false; - - /** - * The cached value of the '{@link #isAbstract() Abstract}' attribute. - * - * - * @see #isAbstract() - * @generated - * @ordered - */ - protected boolean abstract_ = ABSTRACT_EDEFAULT; - - /** - * The default value of the '{@link #getName() Name}' attribute. - * - * - * @see #getName() - * @generated - * @ordered - */ - protected static final String NAME_EDEFAULT = null; - - /** - * The cached value of the '{@link #getName() Name}' attribute. - * - * - * @see #getName() - * @generated - * @ordered - */ - protected String name = NAME_EDEFAULT; - - /** - * The cached value of the '{@link #getSuperclasses() Superclasses}' reference list. - * - * - * @see #getSuperclasses() - * @generated - * @ordered - */ - protected EList superclasses; - - /** - * The cached value of the '{@link #getMembers() Members}' containment reference list. - * - * - * @see #getMembers() - * @generated - * @ordered - */ - protected EList members; - - /** - * - * - * @generated - */ - protected ClassDefinitionImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return SolverLanguagePackage.Literals.CLASS_DEFINITION; - } - - /** - * - * - * @generated - */ - @Override - public boolean isAbstract() { - return abstract_; - } - - /** - * - * - * @generated - */ - @Override - public void setAbstract(boolean newAbstract) { - boolean oldAbstract = abstract_; - abstract_ = newAbstract; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.CLASS_DEFINITION__ABSTRACT, oldAbstract, abstract_)); - } - - /** - * - * - * @generated - */ - @Override - public String getName() { - return name; - } - - /** - * - * - * @generated - */ - @Override - public void setName(String newName) { - String oldName = name; - name = newName; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.CLASS_DEFINITION__NAME, oldName, name)); - } - - /** - * - * - * @generated - */ - @Override - public EList getSuperclasses() { - if (superclasses == null) { - superclasses = new EObjectResolvingEList(NamedElement.class, this, SolverLanguagePackage.CLASS_DEFINITION__SUPERCLASSES); - } - return superclasses; - } - - /** - * - * - * @generated - */ - @Override - public EList getMembers() { - if (members == null) { - members = new EObjectContainmentEList(MemberDefinition.class, this, SolverLanguagePackage.CLASS_DEFINITION__MEMBERS); - } - return members; - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case SolverLanguagePackage.CLASS_DEFINITION__MEMBERS: - return ((InternalEList)getMembers()).basicRemove(otherEnd, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case SolverLanguagePackage.CLASS_DEFINITION__ABSTRACT: - return isAbstract(); - case SolverLanguagePackage.CLASS_DEFINITION__NAME: - return getName(); - case SolverLanguagePackage.CLASS_DEFINITION__SUPERCLASSES: - return getSuperclasses(); - case SolverLanguagePackage.CLASS_DEFINITION__MEMBERS: - return getMembers(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case SolverLanguagePackage.CLASS_DEFINITION__ABSTRACT: - setAbstract((Boolean)newValue); - return; - case SolverLanguagePackage.CLASS_DEFINITION__NAME: - setName((String)newValue); - return; - case SolverLanguagePackage.CLASS_DEFINITION__SUPERCLASSES: - getSuperclasses().clear(); - getSuperclasses().addAll((Collection)newValue); - return; - case SolverLanguagePackage.CLASS_DEFINITION__MEMBERS: - getMembers().clear(); - getMembers().addAll((Collection)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case SolverLanguagePackage.CLASS_DEFINITION__ABSTRACT: - setAbstract(ABSTRACT_EDEFAULT); - return; - case SolverLanguagePackage.CLASS_DEFINITION__NAME: - setName(NAME_EDEFAULT); - return; - case SolverLanguagePackage.CLASS_DEFINITION__SUPERCLASSES: - getSuperclasses().clear(); - return; - case SolverLanguagePackage.CLASS_DEFINITION__MEMBERS: - getMembers().clear(); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case SolverLanguagePackage.CLASS_DEFINITION__ABSTRACT: - return abstract_ != ABSTRACT_EDEFAULT; - case SolverLanguagePackage.CLASS_DEFINITION__NAME: - return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); - case SolverLanguagePackage.CLASS_DEFINITION__SUPERCLASSES: - return superclasses != null && !superclasses.isEmpty(); - case SolverLanguagePackage.CLASS_DEFINITION__MEMBERS: - return members != null && !members.isEmpty(); - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuilder result = new StringBuilder(super.toString()); - result.append(" (abstract: "); - result.append(abstract_); - result.append(", name: "); - result.append(name); - result.append(')'); - return result.toString(); - } - -} //ClassDefinitionImpl diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ComparisonImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ComparisonImpl.java deleted file mode 100644 index 37cc2e07..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ComparisonImpl.java +++ /dev/null @@ -1,317 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage.impl; - -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.viatra.solver.language.solverLanguage.BinaryOperator; -import org.eclipse.viatra.solver.language.solverLanguage.Comparison; -import org.eclipse.viatra.solver.language.solverLanguage.Expression; -import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; - -/** - * - * An implementation of the model object 'Comparison'. - * - *

    - * The following features are implemented: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.ComparisonImpl#getLeft Left}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.ComparisonImpl#getOp Op}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.ComparisonImpl#getRight Right}
    • - *
    - * - * @generated - */ -public class ComparisonImpl extends ExpressionImpl implements Comparison { - /** - * The cached value of the '{@link #getLeft() Left}' containment reference. - * - * - * @see #getLeft() - * @generated - * @ordered - */ - protected Expression left; - - /** - * The default value of the '{@link #getOp() Op}' attribute. - * - * - * @see #getOp() - * @generated - * @ordered - */ - protected static final BinaryOperator OP_EDEFAULT = BinaryOperator.EQ; - - /** - * The cached value of the '{@link #getOp() Op}' attribute. - * - * - * @see #getOp() - * @generated - * @ordered - */ - protected BinaryOperator op = OP_EDEFAULT; - - /** - * The cached value of the '{@link #getRight() Right}' containment reference. - * - * - * @see #getRight() - * @generated - * @ordered - */ - protected Expression right; - - /** - * - * - * @generated - */ - protected ComparisonImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return SolverLanguagePackage.Literals.COMPARISON; - } - - /** - * - * - * @generated - */ - @Override - public Expression getLeft() { - return left; - } - - /** - * - * - * @generated - */ - public NotificationChain basicSetLeft(Expression newLeft, NotificationChain msgs) { - Expression oldLeft = left; - left = newLeft; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.COMPARISON__LEFT, oldLeft, newLeft); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * - * - * @generated - */ - @Override - public void setLeft(Expression newLeft) { - if (newLeft != left) { - NotificationChain msgs = null; - if (left != null) - msgs = ((InternalEObject)left).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.COMPARISON__LEFT, null, msgs); - if (newLeft != null) - msgs = ((InternalEObject)newLeft).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.COMPARISON__LEFT, null, msgs); - msgs = basicSetLeft(newLeft, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.COMPARISON__LEFT, newLeft, newLeft)); - } - - /** - * - * - * @generated - */ - @Override - public BinaryOperator getOp() { - return op; - } - - /** - * - * - * @generated - */ - @Override - public void setOp(BinaryOperator newOp) { - BinaryOperator oldOp = op; - op = newOp == null ? OP_EDEFAULT : newOp; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.COMPARISON__OP, oldOp, op)); - } - - /** - * - * - * @generated - */ - @Override - public Expression getRight() { - return right; - } - - /** - * - * - * @generated - */ - public NotificationChain basicSetRight(Expression newRight, NotificationChain msgs) { - Expression oldRight = right; - right = newRight; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.COMPARISON__RIGHT, oldRight, newRight); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * - * - * @generated - */ - @Override - public void setRight(Expression newRight) { - if (newRight != right) { - NotificationChain msgs = null; - if (right != null) - msgs = ((InternalEObject)right).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.COMPARISON__RIGHT, null, msgs); - if (newRight != null) - msgs = ((InternalEObject)newRight).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.COMPARISON__RIGHT, null, msgs); - msgs = basicSetRight(newRight, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.COMPARISON__RIGHT, newRight, newRight)); - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case SolverLanguagePackage.COMPARISON__LEFT: - return basicSetLeft(null, msgs); - case SolverLanguagePackage.COMPARISON__RIGHT: - return basicSetRight(null, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case SolverLanguagePackage.COMPARISON__LEFT: - return getLeft(); - case SolverLanguagePackage.COMPARISON__OP: - return getOp(); - case SolverLanguagePackage.COMPARISON__RIGHT: - return getRight(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case SolverLanguagePackage.COMPARISON__LEFT: - setLeft((Expression)newValue); - return; - case SolverLanguagePackage.COMPARISON__OP: - setOp((BinaryOperator)newValue); - return; - case SolverLanguagePackage.COMPARISON__RIGHT: - setRight((Expression)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case SolverLanguagePackage.COMPARISON__LEFT: - setLeft((Expression)null); - return; - case SolverLanguagePackage.COMPARISON__OP: - setOp(OP_EDEFAULT); - return; - case SolverLanguagePackage.COMPARISON__RIGHT: - setRight((Expression)null); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case SolverLanguagePackage.COMPARISON__LEFT: - return left != null; - case SolverLanguagePackage.COMPARISON__OP: - return op != OP_EDEFAULT; - case SolverLanguagePackage.COMPARISON__RIGHT: - return right != null; - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuilder result = new StringBuilder(super.toString()); - result.append(" (op: "); - result.append(op); - result.append(')'); - return result.toString(); - } - -} //ComparisonImpl diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ConjunctionImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ConjunctionImpl.java deleted file mode 100644 index cc689c0d..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ConjunctionImpl.java +++ /dev/null @@ -1,152 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage.impl; - -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; - -import org.eclipse.viatra.solver.language.solverLanguage.Conjunction; -import org.eclipse.viatra.solver.language.solverLanguage.Expression; -import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; - -/** - * - * An implementation of the model object 'Conjunction'. - * - *

    - * The following features are implemented: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.ConjunctionImpl#getChildren Children}
    • - *
    - * - * @generated - */ -public class ConjunctionImpl extends ExpressionImpl implements Conjunction { - /** - * The cached value of the '{@link #getChildren() Children}' containment reference list. - * - * - * @see #getChildren() - * @generated - * @ordered - */ - protected EList children; - - /** - * - * - * @generated - */ - protected ConjunctionImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return SolverLanguagePackage.Literals.CONJUNCTION; - } - - /** - * - * - * @generated - */ - @Override - public EList getChildren() { - if (children == null) { - children = new EObjectContainmentEList(Expression.class, this, SolverLanguagePackage.CONJUNCTION__CHILDREN); - } - return children; - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case SolverLanguagePackage.CONJUNCTION__CHILDREN: - return ((InternalEList)getChildren()).basicRemove(otherEnd, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case SolverLanguagePackage.CONJUNCTION__CHILDREN: - return getChildren(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case SolverLanguagePackage.CONJUNCTION__CHILDREN: - getChildren().clear(); - getChildren().addAll((Collection)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case SolverLanguagePackage.CONJUNCTION__CHILDREN: - getChildren().clear(); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case SolverLanguagePackage.CONJUNCTION__CHILDREN: - return children != null && !children.isEmpty(); - } - return super.eIsSet(featureID); - } - -} //ConjunctionImpl diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/DefaultDefinitionImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/DefaultDefinitionImpl.java deleted file mode 100644 index f1ad7bea..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/DefaultDefinitionImpl.java +++ /dev/null @@ -1,247 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage.impl; - -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.viatra.solver.language.solverLanguage.Call; -import org.eclipse.viatra.solver.language.solverLanguage.DefaultDefinition; -import org.eclipse.viatra.solver.language.solverLanguage.Expression; -import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; - -/** - * - * An implementation of the model object 'Default Definition'. - * - *

    - * The following features are implemented: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.DefaultDefinitionImpl#getHead Head}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.DefaultDefinitionImpl#getRange Range}
    • - *
    - * - * @generated - */ -public class DefaultDefinitionImpl extends StatementImpl implements DefaultDefinition { - /** - * The cached value of the '{@link #getHead() Head}' containment reference. - * - * - * @see #getHead() - * @generated - * @ordered - */ - protected Call head; - - /** - * The cached value of the '{@link #getRange() Range}' containment reference. - * - * - * @see #getRange() - * @generated - * @ordered - */ - protected Expression range; - - /** - * - * - * @generated - */ - protected DefaultDefinitionImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return SolverLanguagePackage.Literals.DEFAULT_DEFINITION; - } - - /** - * - * - * @generated - */ - @Override - public Call getHead() { - return head; - } - - /** - * - * - * @generated - */ - public NotificationChain basicSetHead(Call newHead, NotificationChain msgs) { - Call oldHead = head; - head = newHead; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.DEFAULT_DEFINITION__HEAD, oldHead, newHead); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * - * - * @generated - */ - @Override - public void setHead(Call newHead) { - if (newHead != head) { - NotificationChain msgs = null; - if (head != null) - msgs = ((InternalEObject)head).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.DEFAULT_DEFINITION__HEAD, null, msgs); - if (newHead != null) - msgs = ((InternalEObject)newHead).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.DEFAULT_DEFINITION__HEAD, null, msgs); - msgs = basicSetHead(newHead, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.DEFAULT_DEFINITION__HEAD, newHead, newHead)); - } - - /** - * - * - * @generated - */ - @Override - public Expression getRange() { - return range; - } - - /** - * - * - * @generated - */ - public NotificationChain basicSetRange(Expression newRange, NotificationChain msgs) { - Expression oldRange = range; - range = newRange; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.DEFAULT_DEFINITION__RANGE, oldRange, newRange); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * - * - * @generated - */ - @Override - public void setRange(Expression newRange) { - if (newRange != range) { - NotificationChain msgs = null; - if (range != null) - msgs = ((InternalEObject)range).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.DEFAULT_DEFINITION__RANGE, null, msgs); - if (newRange != null) - msgs = ((InternalEObject)newRange).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.DEFAULT_DEFINITION__RANGE, null, msgs); - msgs = basicSetRange(newRange, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.DEFAULT_DEFINITION__RANGE, newRange, newRange)); - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case SolverLanguagePackage.DEFAULT_DEFINITION__HEAD: - return basicSetHead(null, msgs); - case SolverLanguagePackage.DEFAULT_DEFINITION__RANGE: - return basicSetRange(null, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case SolverLanguagePackage.DEFAULT_DEFINITION__HEAD: - return getHead(); - case SolverLanguagePackage.DEFAULT_DEFINITION__RANGE: - return getRange(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case SolverLanguagePackage.DEFAULT_DEFINITION__HEAD: - setHead((Call)newValue); - return; - case SolverLanguagePackage.DEFAULT_DEFINITION__RANGE: - setRange((Expression)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case SolverLanguagePackage.DEFAULT_DEFINITION__HEAD: - setHead((Call)null); - return; - case SolverLanguagePackage.DEFAULT_DEFINITION__RANGE: - setRange((Expression)null); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case SolverLanguagePackage.DEFAULT_DEFINITION__HEAD: - return head != null; - case SolverLanguagePackage.DEFAULT_DEFINITION__RANGE: - return range != null; - } - return super.eIsSet(featureID); - } - -} //DefaultDefinitionImpl diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/DisjunctionImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/DisjunctionImpl.java deleted file mode 100644 index 47dd7bcc..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/DisjunctionImpl.java +++ /dev/null @@ -1,152 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage.impl; - -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; - -import org.eclipse.viatra.solver.language.solverLanguage.Disjunction; -import org.eclipse.viatra.solver.language.solverLanguage.Expression; -import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; - -/** - * - * An implementation of the model object 'Disjunction'. - * - *

    - * The following features are implemented: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.DisjunctionImpl#getChildren Children}
    • - *
    - * - * @generated - */ -public class DisjunctionImpl extends ExpressionImpl implements Disjunction { - /** - * The cached value of the '{@link #getChildren() Children}' containment reference list. - * - * - * @see #getChildren() - * @generated - * @ordered - */ - protected EList children; - - /** - * - * - * @generated - */ - protected DisjunctionImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return SolverLanguagePackage.Literals.DISJUNCTION; - } - - /** - * - * - * @generated - */ - @Override - public EList getChildren() { - if (children == null) { - children = new EObjectContainmentEList(Expression.class, this, SolverLanguagePackage.DISJUNCTION__CHILDREN); - } - return children; - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case SolverLanguagePackage.DISJUNCTION__CHILDREN: - return ((InternalEList)getChildren()).basicRemove(otherEnd, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case SolverLanguagePackage.DISJUNCTION__CHILDREN: - return getChildren(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case SolverLanguagePackage.DISJUNCTION__CHILDREN: - getChildren().clear(); - getChildren().addAll((Collection)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case SolverLanguagePackage.DISJUNCTION__CHILDREN: - getChildren().clear(); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case SolverLanguagePackage.DISJUNCTION__CHILDREN: - return children != null && !children.isEmpty(); - } - return super.eIsSet(featureID); - } - -} //DisjunctionImpl diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/EmptyIntervalLiteralImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/EmptyIntervalLiteralImpl.java deleted file mode 100644 index 26717519..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/EmptyIntervalLiteralImpl.java +++ /dev/null @@ -1,38 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage.impl; - -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.viatra.solver.language.solverLanguage.EmptyIntervalLiteral; -import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; - -/** - * - * An implementation of the model object 'Empty Interval Literal'. - * - * - * @generated - */ -public class EmptyIntervalLiteralImpl extends LiteralImpl implements EmptyIntervalLiteral { - /** - * - * - * @generated - */ - protected EmptyIntervalLiteralImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return SolverLanguagePackage.Literals.EMPTY_INTERVAL_LITERAL; - } - -} //EmptyIntervalLiteralImpl diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExactMultiplicityImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExactMultiplicityImpl.java deleted file mode 100644 index fdeeae5e..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExactMultiplicityImpl.java +++ /dev/null @@ -1,165 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage.impl; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -import org.eclipse.viatra.solver.language.solverLanguage.ExactMultiplicity; -import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; - -/** - * - * An implementation of the model object 'Exact Multiplicity'. - * - *

    - * The following features are implemented: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExactMultiplicityImpl#getMultiplicity Multiplicity}
    • - *
    - * - * @generated - */ -public class ExactMultiplicityImpl extends MultiplicityImpl implements ExactMultiplicity { - /** - * The default value of the '{@link #getMultiplicity() Multiplicity}' attribute. - * - * - * @see #getMultiplicity() - * @generated - * @ordered - */ - protected static final int MULTIPLICITY_EDEFAULT = 0; - - /** - * The cached value of the '{@link #getMultiplicity() Multiplicity}' attribute. - * - * - * @see #getMultiplicity() - * @generated - * @ordered - */ - protected int multiplicity = MULTIPLICITY_EDEFAULT; - - /** - * - * - * @generated - */ - protected ExactMultiplicityImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return SolverLanguagePackage.Literals.EXACT_MULTIPLICITY; - } - - /** - * - * - * @generated - */ - @Override - public int getMultiplicity() { - return multiplicity; - } - - /** - * - * - * @generated - */ - @Override - public void setMultiplicity(int newMultiplicity) { - int oldMultiplicity = multiplicity; - multiplicity = newMultiplicity; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.EXACT_MULTIPLICITY__MULTIPLICITY, oldMultiplicity, multiplicity)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case SolverLanguagePackage.EXACT_MULTIPLICITY__MULTIPLICITY: - return getMultiplicity(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case SolverLanguagePackage.EXACT_MULTIPLICITY__MULTIPLICITY: - setMultiplicity((Integer)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case SolverLanguagePackage.EXACT_MULTIPLICITY__MULTIPLICITY: - setMultiplicity(MULTIPLICITY_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case SolverLanguagePackage.EXACT_MULTIPLICITY__MULTIPLICITY: - return multiplicity != MULTIPLICITY_EDEFAULT; - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuilder result = new StringBuilder(super.toString()); - result.append(" (multiplicity: "); - result.append(multiplicity); - result.append(')'); - return result.toString(); - } - -} //ExactMultiplicityImpl diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExactScopeDefinitionImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExactScopeDefinitionImpl.java deleted file mode 100644 index d5a375b0..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExactScopeDefinitionImpl.java +++ /dev/null @@ -1,165 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage.impl; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -import org.eclipse.viatra.solver.language.solverLanguage.ExactScopeDefinition; -import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; - -/** - * - * An implementation of the model object 'Exact Scope Definition'. - * - *

    - * The following features are implemented: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExactScopeDefinitionImpl#getExactScope Exact Scope}
    • - *
    - * - * @generated - */ -public class ExactScopeDefinitionImpl extends ScopeDefinitionImpl implements ExactScopeDefinition { - /** - * The default value of the '{@link #getExactScope() Exact Scope}' attribute. - * - * - * @see #getExactScope() - * @generated - * @ordered - */ - protected static final int EXACT_SCOPE_EDEFAULT = 0; - - /** - * The cached value of the '{@link #getExactScope() Exact Scope}' attribute. - * - * - * @see #getExactScope() - * @generated - * @ordered - */ - protected int exactScope = EXACT_SCOPE_EDEFAULT; - - /** - * - * - * @generated - */ - protected ExactScopeDefinitionImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return SolverLanguagePackage.Literals.EXACT_SCOPE_DEFINITION; - } - - /** - * - * - * @generated - */ - @Override - public int getExactScope() { - return exactScope; - } - - /** - * - * - * @generated - */ - @Override - public void setExactScope(int newExactScope) { - int oldExactScope = exactScope; - exactScope = newExactScope; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.EXACT_SCOPE_DEFINITION__EXACT_SCOPE, oldExactScope, exactScope)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case SolverLanguagePackage.EXACT_SCOPE_DEFINITION__EXACT_SCOPE: - return getExactScope(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case SolverLanguagePackage.EXACT_SCOPE_DEFINITION__EXACT_SCOPE: - setExactScope((Integer)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case SolverLanguagePackage.EXACT_SCOPE_DEFINITION__EXACT_SCOPE: - setExactScope(EXACT_SCOPE_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case SolverLanguagePackage.EXACT_SCOPE_DEFINITION__EXACT_SCOPE: - return exactScope != EXACT_SCOPE_EDEFAULT; - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuilder result = new StringBuilder(super.toString()); - result.append(" (exactScope: "); - result.append(exactScope); - result.append(')'); - return result.toString(); - } - -} //ExactScopeDefinitionImpl diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExpressionArgumentImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExpressionArgumentImpl.java deleted file mode 100644 index 798b4b68..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExpressionArgumentImpl.java +++ /dev/null @@ -1,178 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage.impl; - -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.viatra.solver.language.solverLanguage.Expression; -import org.eclipse.viatra.solver.language.solverLanguage.ExpressionArgument; -import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; - -/** - * - * An implementation of the model object 'Expression Argument'. - * - *

    - * The following features are implemented: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExpressionArgumentImpl#getBody Body}
    • - *
    - * - * @generated - */ -public class ExpressionArgumentImpl extends ArgumentImpl implements ExpressionArgument { - /** - * The cached value of the '{@link #getBody() Body}' containment reference. - * - * - * @see #getBody() - * @generated - * @ordered - */ - protected Expression body; - - /** - * - * - * @generated - */ - protected ExpressionArgumentImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return SolverLanguagePackage.Literals.EXPRESSION_ARGUMENT; - } - - /** - * - * - * @generated - */ - @Override - public Expression getBody() { - return body; - } - - /** - * - * - * @generated - */ - public NotificationChain basicSetBody(Expression newBody, NotificationChain msgs) { - Expression oldBody = body; - body = newBody; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.EXPRESSION_ARGUMENT__BODY, oldBody, newBody); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * - * - * @generated - */ - @Override - public void setBody(Expression newBody) { - if (newBody != body) { - NotificationChain msgs = null; - if (body != null) - msgs = ((InternalEObject)body).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.EXPRESSION_ARGUMENT__BODY, null, msgs); - if (newBody != null) - msgs = ((InternalEObject)newBody).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.EXPRESSION_ARGUMENT__BODY, null, msgs); - msgs = basicSetBody(newBody, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.EXPRESSION_ARGUMENT__BODY, newBody, newBody)); - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case SolverLanguagePackage.EXPRESSION_ARGUMENT__BODY: - return basicSetBody(null, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case SolverLanguagePackage.EXPRESSION_ARGUMENT__BODY: - return getBody(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case SolverLanguagePackage.EXPRESSION_ARGUMENT__BODY: - setBody((Expression)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case SolverLanguagePackage.EXPRESSION_ARGUMENT__BODY: - setBody((Expression)null); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case SolverLanguagePackage.EXPRESSION_ARGUMENT__BODY: - return body != null; - } - return super.eIsSet(featureID); - } - -} //ExpressionArgumentImpl diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExpressionImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExpressionImpl.java deleted file mode 100644 index 5b1c5969..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExpressionImpl.java +++ /dev/null @@ -1,38 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage.impl; - -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.viatra.solver.language.solverLanguage.Expression; -import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; - -/** - * - * An implementation of the model object 'Expression'. - * - * - * @generated - */ -public abstract class ExpressionImpl extends StatementImpl implements Expression { - /** - * - * - * @generated - */ - protected ExpressionImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return SolverLanguagePackage.Literals.EXPRESSION; - } - -} //ExpressionImpl diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExternAggregatorDefinitionImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExternAggregatorDefinitionImpl.java deleted file mode 100644 index 2b4efc07..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExternAggregatorDefinitionImpl.java +++ /dev/null @@ -1,291 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage.impl; - -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.solver.language.solverLanguage.ExternAggregatorDefinition; -import org.eclipse.viatra.solver.language.solverLanguage.NamedElement; -import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; - -/** - * - * An implementation of the model object 'Extern Aggregator Definition'. - * - *

    - * The following features are implemented: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExternAggregatorDefinitionImpl#getType Type}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExternAggregatorDefinitionImpl#getName Name}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExternAggregatorDefinitionImpl#getInputType Input Type}
    • - *
    - * - * @generated - */ -public class ExternAggregatorDefinitionImpl extends StatementImpl implements ExternAggregatorDefinition { - /** - * The cached value of the '{@link #getType() Type}' reference. - * - * - * @see #getType() - * @generated - * @ordered - */ - protected NamedElement type; - - /** - * The default value of the '{@link #getName() Name}' attribute. - * - * - * @see #getName() - * @generated - * @ordered - */ - protected static final String NAME_EDEFAULT = null; - - /** - * The cached value of the '{@link #getName() Name}' attribute. - * - * - * @see #getName() - * @generated - * @ordered - */ - protected String name = NAME_EDEFAULT; - - /** - * The cached value of the '{@link #getInputType() Input Type}' reference. - * - * - * @see #getInputType() - * @generated - * @ordered - */ - protected NamedElement inputType; - - /** - * - * - * @generated - */ - protected ExternAggregatorDefinitionImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return SolverLanguagePackage.Literals.EXTERN_AGGREGATOR_DEFINITION; - } - - /** - * - * - * @generated - */ - @Override - public NamedElement getType() { - if (type != null && type.eIsProxy()) { - InternalEObject oldType = (InternalEObject)type; - type = (NamedElement)eResolveProxy(oldType); - if (type != oldType) { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, SolverLanguagePackage.EXTERN_AGGREGATOR_DEFINITION__TYPE, oldType, type)); - } - } - return type; - } - - /** - * - * - * @generated - */ - public NamedElement basicGetType() { - return type; - } - - /** - * - * - * @generated - */ - @Override - public void setType(NamedElement newType) { - NamedElement oldType = type; - type = newType; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.EXTERN_AGGREGATOR_DEFINITION__TYPE, oldType, type)); - } - - /** - * - * - * @generated - */ - @Override - public String getName() { - return name; - } - - /** - * - * - * @generated - */ - @Override - public void setName(String newName) { - String oldName = name; - name = newName; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.EXTERN_AGGREGATOR_DEFINITION__NAME, oldName, name)); - } - - /** - * - * - * @generated - */ - @Override - public NamedElement getInputType() { - if (inputType != null && inputType.eIsProxy()) { - InternalEObject oldInputType = (InternalEObject)inputType; - inputType = (NamedElement)eResolveProxy(oldInputType); - if (inputType != oldInputType) { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, SolverLanguagePackage.EXTERN_AGGREGATOR_DEFINITION__INPUT_TYPE, oldInputType, inputType)); - } - } - return inputType; - } - - /** - * - * - * @generated - */ - public NamedElement basicGetInputType() { - return inputType; - } - - /** - * - * - * @generated - */ - @Override - public void setInputType(NamedElement newInputType) { - NamedElement oldInputType = inputType; - inputType = newInputType; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.EXTERN_AGGREGATOR_DEFINITION__INPUT_TYPE, oldInputType, inputType)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case SolverLanguagePackage.EXTERN_AGGREGATOR_DEFINITION__TYPE: - if (resolve) return getType(); - return basicGetType(); - case SolverLanguagePackage.EXTERN_AGGREGATOR_DEFINITION__NAME: - return getName(); - case SolverLanguagePackage.EXTERN_AGGREGATOR_DEFINITION__INPUT_TYPE: - if (resolve) return getInputType(); - return basicGetInputType(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case SolverLanguagePackage.EXTERN_AGGREGATOR_DEFINITION__TYPE: - setType((NamedElement)newValue); - return; - case SolverLanguagePackage.EXTERN_AGGREGATOR_DEFINITION__NAME: - setName((String)newValue); - return; - case SolverLanguagePackage.EXTERN_AGGREGATOR_DEFINITION__INPUT_TYPE: - setInputType((NamedElement)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case SolverLanguagePackage.EXTERN_AGGREGATOR_DEFINITION__TYPE: - setType((NamedElement)null); - return; - case SolverLanguagePackage.EXTERN_AGGREGATOR_DEFINITION__NAME: - setName(NAME_EDEFAULT); - return; - case SolverLanguagePackage.EXTERN_AGGREGATOR_DEFINITION__INPUT_TYPE: - setInputType((NamedElement)null); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case SolverLanguagePackage.EXTERN_AGGREGATOR_DEFINITION__TYPE: - return type != null; - case SolverLanguagePackage.EXTERN_AGGREGATOR_DEFINITION__NAME: - return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); - case SolverLanguagePackage.EXTERN_AGGREGATOR_DEFINITION__INPUT_TYPE: - return inputType != null; - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuilder result = new StringBuilder(super.toString()); - result.append(" (name: "); - result.append(name); - result.append(')'); - return result.toString(); - } - -} //ExternAggregatorDefinitionImpl diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExternDatatypeDefinitionImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExternDatatypeDefinitionImpl.java deleted file mode 100644 index d186fb95..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExternDatatypeDefinitionImpl.java +++ /dev/null @@ -1,208 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage.impl; - -import java.util.Collection; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.common.util.EList; - -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -import org.eclipse.emf.ecore.util.EObjectResolvingEList; - -import org.eclipse.viatra.solver.language.solverLanguage.ExternDatatypeDefinition; -import org.eclipse.viatra.solver.language.solverLanguage.NamedElement; -import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; - -/** - * - * An implementation of the model object 'Extern Datatype Definition'. - * - *

    - * The following features are implemented: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExternDatatypeDefinitionImpl#getName Name}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExternDatatypeDefinitionImpl#getSupertypes Supertypes}
    • - *
    - * - * @generated - */ -public class ExternDatatypeDefinitionImpl extends StatementImpl implements ExternDatatypeDefinition { - /** - * The default value of the '{@link #getName() Name}' attribute. - * - * - * @see #getName() - * @generated - * @ordered - */ - protected static final String NAME_EDEFAULT = null; - - /** - * The cached value of the '{@link #getName() Name}' attribute. - * - * - * @see #getName() - * @generated - * @ordered - */ - protected String name = NAME_EDEFAULT; - - /** - * The cached value of the '{@link #getSupertypes() Supertypes}' reference list. - * - * - * @see #getSupertypes() - * @generated - * @ordered - */ - protected EList supertypes; - - /** - * - * - * @generated - */ - protected ExternDatatypeDefinitionImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return SolverLanguagePackage.Literals.EXTERN_DATATYPE_DEFINITION; - } - - /** - * - * - * @generated - */ - @Override - public String getName() { - return name; - } - - /** - * - * - * @generated - */ - @Override - public void setName(String newName) { - String oldName = name; - name = newName; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.EXTERN_DATATYPE_DEFINITION__NAME, oldName, name)); - } - - /** - * - * - * @generated - */ - @Override - public EList getSupertypes() { - if (supertypes == null) { - supertypes = new EObjectResolvingEList(NamedElement.class, this, SolverLanguagePackage.EXTERN_DATATYPE_DEFINITION__SUPERTYPES); - } - return supertypes; - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case SolverLanguagePackage.EXTERN_DATATYPE_DEFINITION__NAME: - return getName(); - case SolverLanguagePackage.EXTERN_DATATYPE_DEFINITION__SUPERTYPES: - return getSupertypes(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case SolverLanguagePackage.EXTERN_DATATYPE_DEFINITION__NAME: - setName((String)newValue); - return; - case SolverLanguagePackage.EXTERN_DATATYPE_DEFINITION__SUPERTYPES: - getSupertypes().clear(); - getSupertypes().addAll((Collection)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case SolverLanguagePackage.EXTERN_DATATYPE_DEFINITION__NAME: - setName(NAME_EDEFAULT); - return; - case SolverLanguagePackage.EXTERN_DATATYPE_DEFINITION__SUPERTYPES: - getSupertypes().clear(); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case SolverLanguagePackage.EXTERN_DATATYPE_DEFINITION__NAME: - return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); - case SolverLanguagePackage.EXTERN_DATATYPE_DEFINITION__SUPERTYPES: - return supertypes != null && !supertypes.isEmpty(); - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuilder result = new StringBuilder(super.toString()); - result.append(" (name: "); - result.append(name); - result.append(')'); - return result.toString(); - } - -} //ExternDatatypeDefinitionImpl diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExternMetricDefinitionImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExternMetricDefinitionImpl.java deleted file mode 100644 index 97c76273..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExternMetricDefinitionImpl.java +++ /dev/null @@ -1,311 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage.impl; - -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.viatra.solver.language.solverLanguage.ArgumentList; -import org.eclipse.viatra.solver.language.solverLanguage.ExternMetricDefinition; -import org.eclipse.viatra.solver.language.solverLanguage.NamedElement; -import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; - -/** - * - * An implementation of the model object 'Extern Metric Definition'. - * - *

    - * The following features are implemented: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExternMetricDefinitionImpl#getType Type}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExternMetricDefinitionImpl#getName Name}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExternMetricDefinitionImpl#getArgumentList Argument List}
    • - *
    - * - * @generated - */ -public class ExternMetricDefinitionImpl extends StatementImpl implements ExternMetricDefinition { - /** - * The cached value of the '{@link #getType() Type}' reference. - * - * - * @see #getType() - * @generated - * @ordered - */ - protected NamedElement type; - - /** - * The default value of the '{@link #getName() Name}' attribute. - * - * - * @see #getName() - * @generated - * @ordered - */ - protected static final String NAME_EDEFAULT = null; - - /** - * The cached value of the '{@link #getName() Name}' attribute. - * - * - * @see #getName() - * @generated - * @ordered - */ - protected String name = NAME_EDEFAULT; - - /** - * The cached value of the '{@link #getArgumentList() Argument List}' containment reference. - * - * - * @see #getArgumentList() - * @generated - * @ordered - */ - protected ArgumentList argumentList; - - /** - * - * - * @generated - */ - protected ExternMetricDefinitionImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return SolverLanguagePackage.Literals.EXTERN_METRIC_DEFINITION; - } - - /** - * - * - * @generated - */ - @Override - public NamedElement getType() { - if (type != null && type.eIsProxy()) { - InternalEObject oldType = (InternalEObject)type; - type = (NamedElement)eResolveProxy(oldType); - if (type != oldType) { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, SolverLanguagePackage.EXTERN_METRIC_DEFINITION__TYPE, oldType, type)); - } - } - return type; - } - - /** - * - * - * @generated - */ - public NamedElement basicGetType() { - return type; - } - - /** - * - * - * @generated - */ - @Override - public void setType(NamedElement newType) { - NamedElement oldType = type; - type = newType; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.EXTERN_METRIC_DEFINITION__TYPE, oldType, type)); - } - - /** - * - * - * @generated - */ - @Override - public String getName() { - return name; - } - - /** - * - * - * @generated - */ - @Override - public void setName(String newName) { - String oldName = name; - name = newName; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.EXTERN_METRIC_DEFINITION__NAME, oldName, name)); - } - - /** - * - * - * @generated - */ - @Override - public ArgumentList getArgumentList() { - return argumentList; - } - - /** - * - * - * @generated - */ - public NotificationChain basicSetArgumentList(ArgumentList newArgumentList, NotificationChain msgs) { - ArgumentList oldArgumentList = argumentList; - argumentList = newArgumentList; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.EXTERN_METRIC_DEFINITION__ARGUMENT_LIST, oldArgumentList, newArgumentList); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * - * - * @generated - */ - @Override - public void setArgumentList(ArgumentList newArgumentList) { - if (newArgumentList != argumentList) { - NotificationChain msgs = null; - if (argumentList != null) - msgs = ((InternalEObject)argumentList).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.EXTERN_METRIC_DEFINITION__ARGUMENT_LIST, null, msgs); - if (newArgumentList != null) - msgs = ((InternalEObject)newArgumentList).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.EXTERN_METRIC_DEFINITION__ARGUMENT_LIST, null, msgs); - msgs = basicSetArgumentList(newArgumentList, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.EXTERN_METRIC_DEFINITION__ARGUMENT_LIST, newArgumentList, newArgumentList)); - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case SolverLanguagePackage.EXTERN_METRIC_DEFINITION__ARGUMENT_LIST: - return basicSetArgumentList(null, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case SolverLanguagePackage.EXTERN_METRIC_DEFINITION__TYPE: - if (resolve) return getType(); - return basicGetType(); - case SolverLanguagePackage.EXTERN_METRIC_DEFINITION__NAME: - return getName(); - case SolverLanguagePackage.EXTERN_METRIC_DEFINITION__ARGUMENT_LIST: - return getArgumentList(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case SolverLanguagePackage.EXTERN_METRIC_DEFINITION__TYPE: - setType((NamedElement)newValue); - return; - case SolverLanguagePackage.EXTERN_METRIC_DEFINITION__NAME: - setName((String)newValue); - return; - case SolverLanguagePackage.EXTERN_METRIC_DEFINITION__ARGUMENT_LIST: - setArgumentList((ArgumentList)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case SolverLanguagePackage.EXTERN_METRIC_DEFINITION__TYPE: - setType((NamedElement)null); - return; - case SolverLanguagePackage.EXTERN_METRIC_DEFINITION__NAME: - setName(NAME_EDEFAULT); - return; - case SolverLanguagePackage.EXTERN_METRIC_DEFINITION__ARGUMENT_LIST: - setArgumentList((ArgumentList)null); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case SolverLanguagePackage.EXTERN_METRIC_DEFINITION__TYPE: - return type != null; - case SolverLanguagePackage.EXTERN_METRIC_DEFINITION__NAME: - return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); - case SolverLanguagePackage.EXTERN_METRIC_DEFINITION__ARGUMENT_LIST: - return argumentList != null; - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuilder result = new StringBuilder(super.toString()); - result.append(" (name: "); - result.append(name); - result.append(')'); - return result.toString(); - } - -} //ExternMetricDefinitionImpl diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExternPredicateDefinitionImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExternPredicateDefinitionImpl.java deleted file mode 100644 index e59fa4e3..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ExternPredicateDefinitionImpl.java +++ /dev/null @@ -1,248 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage.impl; - -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.viatra.solver.language.solverLanguage.ArgumentList; -import org.eclipse.viatra.solver.language.solverLanguage.ExternPredicateDefinition; -import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; - -/** - * - * An implementation of the model object 'Extern Predicate Definition'. - * - *

    - * The following features are implemented: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExternPredicateDefinitionImpl#getName Name}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.ExternPredicateDefinitionImpl#getArgumentList Argument List}
    • - *
    - * - * @generated - */ -public class ExternPredicateDefinitionImpl extends StatementImpl implements ExternPredicateDefinition { - /** - * The default value of the '{@link #getName() Name}' attribute. - * - * - * @see #getName() - * @generated - * @ordered - */ - protected static final String NAME_EDEFAULT = null; - - /** - * The cached value of the '{@link #getName() Name}' attribute. - * - * - * @see #getName() - * @generated - * @ordered - */ - protected String name = NAME_EDEFAULT; - - /** - * The cached value of the '{@link #getArgumentList() Argument List}' containment reference. - * - * - * @see #getArgumentList() - * @generated - * @ordered - */ - protected ArgumentList argumentList; - - /** - * - * - * @generated - */ - protected ExternPredicateDefinitionImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return SolverLanguagePackage.Literals.EXTERN_PREDICATE_DEFINITION; - } - - /** - * - * - * @generated - */ - @Override - public String getName() { - return name; - } - - /** - * - * - * @generated - */ - @Override - public void setName(String newName) { - String oldName = name; - name = newName; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.EXTERN_PREDICATE_DEFINITION__NAME, oldName, name)); - } - - /** - * - * - * @generated - */ - @Override - public ArgumentList getArgumentList() { - return argumentList; - } - - /** - * - * - * @generated - */ - public NotificationChain basicSetArgumentList(ArgumentList newArgumentList, NotificationChain msgs) { - ArgumentList oldArgumentList = argumentList; - argumentList = newArgumentList; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.EXTERN_PREDICATE_DEFINITION__ARGUMENT_LIST, oldArgumentList, newArgumentList); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * - * - * @generated - */ - @Override - public void setArgumentList(ArgumentList newArgumentList) { - if (newArgumentList != argumentList) { - NotificationChain msgs = null; - if (argumentList != null) - msgs = ((InternalEObject)argumentList).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.EXTERN_PREDICATE_DEFINITION__ARGUMENT_LIST, null, msgs); - if (newArgumentList != null) - msgs = ((InternalEObject)newArgumentList).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.EXTERN_PREDICATE_DEFINITION__ARGUMENT_LIST, null, msgs); - msgs = basicSetArgumentList(newArgumentList, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.EXTERN_PREDICATE_DEFINITION__ARGUMENT_LIST, newArgumentList, newArgumentList)); - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case SolverLanguagePackage.EXTERN_PREDICATE_DEFINITION__ARGUMENT_LIST: - return basicSetArgumentList(null, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case SolverLanguagePackage.EXTERN_PREDICATE_DEFINITION__NAME: - return getName(); - case SolverLanguagePackage.EXTERN_PREDICATE_DEFINITION__ARGUMENT_LIST: - return getArgumentList(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case SolverLanguagePackage.EXTERN_PREDICATE_DEFINITION__NAME: - setName((String)newValue); - return; - case SolverLanguagePackage.EXTERN_PREDICATE_DEFINITION__ARGUMENT_LIST: - setArgumentList((ArgumentList)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case SolverLanguagePackage.EXTERN_PREDICATE_DEFINITION__NAME: - setName(NAME_EDEFAULT); - return; - case SolverLanguagePackage.EXTERN_PREDICATE_DEFINITION__ARGUMENT_LIST: - setArgumentList((ArgumentList)null); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case SolverLanguagePackage.EXTERN_PREDICATE_DEFINITION__NAME: - return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); - case SolverLanguagePackage.EXTERN_PREDICATE_DEFINITION__ARGUMENT_LIST: - return argumentList != null; - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuilder result = new StringBuilder(super.toString()); - result.append(" (name: "); - result.append(name); - result.append(')'); - return result.toString(); - } - -} //ExternPredicateDefinitionImpl diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/FunctorImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/FunctorImpl.java deleted file mode 100644 index 73bbc04f..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/FunctorImpl.java +++ /dev/null @@ -1,134 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage.impl; - -import java.util.Collection; - -import org.eclipse.emf.common.util.EList; - -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.emf.ecore.util.EObjectResolvingEList; - -import org.eclipse.viatra.solver.language.solverLanguage.Functor; -import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; -import org.eclipse.viatra.solver.language.solverLanguage.Variable; - -/** - * - * An implementation of the model object 'Functor'. - * - *

    - * The following features are implemented: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.FunctorImpl#getParameters Parameters}
    • - *
    - * - * @generated - */ -public abstract class FunctorImpl extends NamedElementImpl implements Functor { - /** - * The cached value of the '{@link #getParameters() Parameters}' reference list. - * - * - * @see #getParameters() - * @generated - * @ordered - */ - protected EList parameters; - - /** - * - * - * @generated - */ - protected FunctorImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return SolverLanguagePackage.Literals.FUNCTOR; - } - - /** - * - * - * @generated - */ - @Override - public EList getParameters() { - if (parameters == null) { - parameters = new EObjectResolvingEList(Variable.class, this, SolverLanguagePackage.FUNCTOR__PARAMETERS); - } - return parameters; - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case SolverLanguagePackage.FUNCTOR__PARAMETERS: - return getParameters(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case SolverLanguagePackage.FUNCTOR__PARAMETERS: - getParameters().clear(); - getParameters().addAll((Collection)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case SolverLanguagePackage.FUNCTOR__PARAMETERS: - getParameters().clear(); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case SolverLanguagePackage.FUNCTOR__PARAMETERS: - return parameters != null && !parameters.isEmpty(); - } - return super.eIsSet(featureID); - } - -} //FunctorImpl diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/IfElseImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/IfElseImpl.java deleted file mode 100644 index 3c6bb17a..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/IfElseImpl.java +++ /dev/null @@ -1,314 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage.impl; - -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.viatra.solver.language.solverLanguage.Expression; -import org.eclipse.viatra.solver.language.solverLanguage.IfElse; -import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; - -/** - * - * An implementation of the model object 'If Else'. - * - *

    - * The following features are implemented: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.IfElseImpl#getThen Then}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.IfElseImpl#getElse Else}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.IfElseImpl#getCondition Condition}
    • - *
    - * - * @generated - */ -public class IfElseImpl extends ExpressionImpl implements IfElse { - /** - * The cached value of the '{@link #getThen() Then}' containment reference. - * - * - * @see #getThen() - * @generated - * @ordered - */ - protected Expression then; - - /** - * The cached value of the '{@link #getElse() Else}' containment reference. - * - * - * @see #getElse() - * @generated - * @ordered - */ - protected Expression else_; - - /** - * The cached value of the '{@link #getCondition() Condition}' containment reference. - * - * - * @see #getCondition() - * @generated - * @ordered - */ - protected Expression condition; - - /** - * - * - * @generated - */ - protected IfElseImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return SolverLanguagePackage.Literals.IF_ELSE; - } - - /** - * - * - * @generated - */ - @Override - public Expression getThen() { - return then; - } - - /** - * - * - * @generated - */ - public NotificationChain basicSetThen(Expression newThen, NotificationChain msgs) { - Expression oldThen = then; - then = newThen; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.IF_ELSE__THEN, oldThen, newThen); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * - * - * @generated - */ - @Override - public void setThen(Expression newThen) { - if (newThen != then) { - NotificationChain msgs = null; - if (then != null) - msgs = ((InternalEObject)then).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.IF_ELSE__THEN, null, msgs); - if (newThen != null) - msgs = ((InternalEObject)newThen).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.IF_ELSE__THEN, null, msgs); - msgs = basicSetThen(newThen, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.IF_ELSE__THEN, newThen, newThen)); - } - - /** - * - * - * @generated - */ - @Override - public Expression getElse() { - return else_; - } - - /** - * - * - * @generated - */ - public NotificationChain basicSetElse(Expression newElse, NotificationChain msgs) { - Expression oldElse = else_; - else_ = newElse; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.IF_ELSE__ELSE, oldElse, newElse); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * - * - * @generated - */ - @Override - public void setElse(Expression newElse) { - if (newElse != else_) { - NotificationChain msgs = null; - if (else_ != null) - msgs = ((InternalEObject)else_).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.IF_ELSE__ELSE, null, msgs); - if (newElse != null) - msgs = ((InternalEObject)newElse).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.IF_ELSE__ELSE, null, msgs); - msgs = basicSetElse(newElse, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.IF_ELSE__ELSE, newElse, newElse)); - } - - /** - * - * - * @generated - */ - @Override - public Expression getCondition() { - return condition; - } - - /** - * - * - * @generated - */ - public NotificationChain basicSetCondition(Expression newCondition, NotificationChain msgs) { - Expression oldCondition = condition; - condition = newCondition; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.IF_ELSE__CONDITION, oldCondition, newCondition); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * - * - * @generated - */ - @Override - public void setCondition(Expression newCondition) { - if (newCondition != condition) { - NotificationChain msgs = null; - if (condition != null) - msgs = ((InternalEObject)condition).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.IF_ELSE__CONDITION, null, msgs); - if (newCondition != null) - msgs = ((InternalEObject)newCondition).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.IF_ELSE__CONDITION, null, msgs); - msgs = basicSetCondition(newCondition, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.IF_ELSE__CONDITION, newCondition, newCondition)); - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case SolverLanguagePackage.IF_ELSE__THEN: - return basicSetThen(null, msgs); - case SolverLanguagePackage.IF_ELSE__ELSE: - return basicSetElse(null, msgs); - case SolverLanguagePackage.IF_ELSE__CONDITION: - return basicSetCondition(null, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case SolverLanguagePackage.IF_ELSE__THEN: - return getThen(); - case SolverLanguagePackage.IF_ELSE__ELSE: - return getElse(); - case SolverLanguagePackage.IF_ELSE__CONDITION: - return getCondition(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case SolverLanguagePackage.IF_ELSE__THEN: - setThen((Expression)newValue); - return; - case SolverLanguagePackage.IF_ELSE__ELSE: - setElse((Expression)newValue); - return; - case SolverLanguagePackage.IF_ELSE__CONDITION: - setCondition((Expression)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case SolverLanguagePackage.IF_ELSE__THEN: - setThen((Expression)null); - return; - case SolverLanguagePackage.IF_ELSE__ELSE: - setElse((Expression)null); - return; - case SolverLanguagePackage.IF_ELSE__CONDITION: - setCondition((Expression)null); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case SolverLanguagePackage.IF_ELSE__THEN: - return then != null; - case SolverLanguagePackage.IF_ELSE__ELSE: - return else_ != null; - case SolverLanguagePackage.IF_ELSE__CONDITION: - return condition != null; - } - return super.eIsSet(featureID); - } - -} //IfElseImpl diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/InfinityLiteralImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/InfinityLiteralImpl.java deleted file mode 100644 index 348f51df..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/InfinityLiteralImpl.java +++ /dev/null @@ -1,38 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage.impl; - -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.viatra.solver.language.solverLanguage.InfinityLiteral; -import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; - -/** - * - * An implementation of the model object 'Infinity Literal'. - * - * - * @generated - */ -public class InfinityLiteralImpl extends LiteralImpl implements InfinityLiteral { - /** - * - * - * @generated - */ - protected InfinityLiteralImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return SolverLanguagePackage.Literals.INFINITY_LITERAL; - } - -} //InfinityLiteralImpl diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/InterpretationImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/InterpretationImpl.java deleted file mode 100644 index fab8335a..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/InterpretationImpl.java +++ /dev/null @@ -1,246 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage.impl; - -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.viatra.solver.language.solverLanguage.Expression; -import org.eclipse.viatra.solver.language.solverLanguage.Interpretation; -import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; - -/** - * - * An implementation of the model object 'Interpretation'. - * - *

    - * The following features are implemented: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.InterpretationImpl#getBody Body}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.InterpretationImpl#getRange Range}
    • - *
    - * - * @generated - */ -public class InterpretationImpl extends StatementImpl implements Interpretation { - /** - * The cached value of the '{@link #getBody() Body}' containment reference. - * - * - * @see #getBody() - * @generated - * @ordered - */ - protected Expression body; - - /** - * The cached value of the '{@link #getRange() Range}' containment reference. - * - * - * @see #getRange() - * @generated - * @ordered - */ - protected Expression range; - - /** - * - * - * @generated - */ - protected InterpretationImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return SolverLanguagePackage.Literals.INTERPRETATION; - } - - /** - * - * - * @generated - */ - @Override - public Expression getBody() { - return body; - } - - /** - * - * - * @generated - */ - public NotificationChain basicSetBody(Expression newBody, NotificationChain msgs) { - Expression oldBody = body; - body = newBody; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.INTERPRETATION__BODY, oldBody, newBody); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * - * - * @generated - */ - @Override - public void setBody(Expression newBody) { - if (newBody != body) { - NotificationChain msgs = null; - if (body != null) - msgs = ((InternalEObject)body).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.INTERPRETATION__BODY, null, msgs); - if (newBody != null) - msgs = ((InternalEObject)newBody).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.INTERPRETATION__BODY, null, msgs); - msgs = basicSetBody(newBody, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.INTERPRETATION__BODY, newBody, newBody)); - } - - /** - * - * - * @generated - */ - @Override - public Expression getRange() { - return range; - } - - /** - * - * - * @generated - */ - public NotificationChain basicSetRange(Expression newRange, NotificationChain msgs) { - Expression oldRange = range; - range = newRange; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.INTERPRETATION__RANGE, oldRange, newRange); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * - * - * @generated - */ - @Override - public void setRange(Expression newRange) { - if (newRange != range) { - NotificationChain msgs = null; - if (range != null) - msgs = ((InternalEObject)range).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.INTERPRETATION__RANGE, null, msgs); - if (newRange != null) - msgs = ((InternalEObject)newRange).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.INTERPRETATION__RANGE, null, msgs); - msgs = basicSetRange(newRange, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.INTERPRETATION__RANGE, newRange, newRange)); - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case SolverLanguagePackage.INTERPRETATION__BODY: - return basicSetBody(null, msgs); - case SolverLanguagePackage.INTERPRETATION__RANGE: - return basicSetRange(null, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case SolverLanguagePackage.INTERPRETATION__BODY: - return getBody(); - case SolverLanguagePackage.INTERPRETATION__RANGE: - return getRange(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case SolverLanguagePackage.INTERPRETATION__BODY: - setBody((Expression)newValue); - return; - case SolverLanguagePackage.INTERPRETATION__RANGE: - setRange((Expression)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case SolverLanguagePackage.INTERPRETATION__BODY: - setBody((Expression)null); - return; - case SolverLanguagePackage.INTERPRETATION__RANGE: - setRange((Expression)null); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case SolverLanguagePackage.INTERPRETATION__BODY: - return body != null; - case SolverLanguagePackage.INTERPRETATION__RANGE: - return range != null; - } - return super.eIsSet(featureID); - } - -} //InterpretationImpl diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/IntervalImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/IntervalImpl.java deleted file mode 100644 index a04dae76..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/IntervalImpl.java +++ /dev/null @@ -1,246 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage.impl; - -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.viatra.solver.language.solverLanguage.Expression; -import org.eclipse.viatra.solver.language.solverLanguage.Interval; -import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; - -/** - * - * An implementation of the model object 'Interval'. - * - *

    - * The following features are implemented: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.IntervalImpl#getLowerBound Lower Bound}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.IntervalImpl#getUpperBound Upper Bound}
    • - *
    - * - * @generated - */ -public class IntervalImpl extends ExpressionImpl implements Interval { - /** - * The cached value of the '{@link #getLowerBound() Lower Bound}' containment reference. - * - * - * @see #getLowerBound() - * @generated - * @ordered - */ - protected Expression lowerBound; - - /** - * The cached value of the '{@link #getUpperBound() Upper Bound}' containment reference. - * - * - * @see #getUpperBound() - * @generated - * @ordered - */ - protected Expression upperBound; - - /** - * - * - * @generated - */ - protected IntervalImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return SolverLanguagePackage.Literals.INTERVAL; - } - - /** - * - * - * @generated - */ - @Override - public Expression getLowerBound() { - return lowerBound; - } - - /** - * - * - * @generated - */ - public NotificationChain basicSetLowerBound(Expression newLowerBound, NotificationChain msgs) { - Expression oldLowerBound = lowerBound; - lowerBound = newLowerBound; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.INTERVAL__LOWER_BOUND, oldLowerBound, newLowerBound); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * - * - * @generated - */ - @Override - public void setLowerBound(Expression newLowerBound) { - if (newLowerBound != lowerBound) { - NotificationChain msgs = null; - if (lowerBound != null) - msgs = ((InternalEObject)lowerBound).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.INTERVAL__LOWER_BOUND, null, msgs); - if (newLowerBound != null) - msgs = ((InternalEObject)newLowerBound).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.INTERVAL__LOWER_BOUND, null, msgs); - msgs = basicSetLowerBound(newLowerBound, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.INTERVAL__LOWER_BOUND, newLowerBound, newLowerBound)); - } - - /** - * - * - * @generated - */ - @Override - public Expression getUpperBound() { - return upperBound; - } - - /** - * - * - * @generated - */ - public NotificationChain basicSetUpperBound(Expression newUpperBound, NotificationChain msgs) { - Expression oldUpperBound = upperBound; - upperBound = newUpperBound; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.INTERVAL__UPPER_BOUND, oldUpperBound, newUpperBound); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * - * - * @generated - */ - @Override - public void setUpperBound(Expression newUpperBound) { - if (newUpperBound != upperBound) { - NotificationChain msgs = null; - if (upperBound != null) - msgs = ((InternalEObject)upperBound).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.INTERVAL__UPPER_BOUND, null, msgs); - if (newUpperBound != null) - msgs = ((InternalEObject)newUpperBound).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.INTERVAL__UPPER_BOUND, null, msgs); - msgs = basicSetUpperBound(newUpperBound, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.INTERVAL__UPPER_BOUND, newUpperBound, newUpperBound)); - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case SolverLanguagePackage.INTERVAL__LOWER_BOUND: - return basicSetLowerBound(null, msgs); - case SolverLanguagePackage.INTERVAL__UPPER_BOUND: - return basicSetUpperBound(null, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case SolverLanguagePackage.INTERVAL__LOWER_BOUND: - return getLowerBound(); - case SolverLanguagePackage.INTERVAL__UPPER_BOUND: - return getUpperBound(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case SolverLanguagePackage.INTERVAL__LOWER_BOUND: - setLowerBound((Expression)newValue); - return; - case SolverLanguagePackage.INTERVAL__UPPER_BOUND: - setUpperBound((Expression)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case SolverLanguagePackage.INTERVAL__LOWER_BOUND: - setLowerBound((Expression)null); - return; - case SolverLanguagePackage.INTERVAL__UPPER_BOUND: - setUpperBound((Expression)null); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case SolverLanguagePackage.INTERVAL__LOWER_BOUND: - return lowerBound != null; - case SolverLanguagePackage.INTERVAL__UPPER_BOUND: - return upperBound != null; - } - return super.eIsSet(featureID); - } - -} //IntervalImpl diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/LetBindingImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/LetBindingImpl.java deleted file mode 100644 index 9788c44d..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/LetBindingImpl.java +++ /dev/null @@ -1,248 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage.impl; - -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; - -import org.eclipse.viatra.solver.language.solverLanguage.Expression; -import org.eclipse.viatra.solver.language.solverLanguage.LetBinding; -import org.eclipse.viatra.solver.language.solverLanguage.NamedElement; -import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; - -/** - * - * An implementation of the model object 'Let Binding'. - * - *

    - * The following features are implemented: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.LetBindingImpl#getVariable Variable}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.LetBindingImpl#getValue Value}
    • - *
    - * - * @generated - */ -public class LetBindingImpl extends MinimalEObjectImpl.Container implements LetBinding { - /** - * The cached value of the '{@link #getVariable() Variable}' containment reference. - * - * - * @see #getVariable() - * @generated - * @ordered - */ - protected NamedElement variable; - - /** - * The cached value of the '{@link #getValue() Value}' containment reference. - * - * - * @see #getValue() - * @generated - * @ordered - */ - protected Expression value; - - /** - * - * - * @generated - */ - protected LetBindingImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return SolverLanguagePackage.Literals.LET_BINDING; - } - - /** - * - * - * @generated - */ - @Override - public NamedElement getVariable() { - return variable; - } - - /** - * - * - * @generated - */ - public NotificationChain basicSetVariable(NamedElement newVariable, NotificationChain msgs) { - NamedElement oldVariable = variable; - variable = newVariable; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.LET_BINDING__VARIABLE, oldVariable, newVariable); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * - * - * @generated - */ - @Override - public void setVariable(NamedElement newVariable) { - if (newVariable != variable) { - NotificationChain msgs = null; - if (variable != null) - msgs = ((InternalEObject)variable).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.LET_BINDING__VARIABLE, null, msgs); - if (newVariable != null) - msgs = ((InternalEObject)newVariable).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.LET_BINDING__VARIABLE, null, msgs); - msgs = basicSetVariable(newVariable, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.LET_BINDING__VARIABLE, newVariable, newVariable)); - } - - /** - * - * - * @generated - */ - @Override - public Expression getValue() { - return value; - } - - /** - * - * - * @generated - */ - public NotificationChain basicSetValue(Expression newValue, NotificationChain msgs) { - Expression oldValue = value; - value = newValue; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.LET_BINDING__VALUE, oldValue, newValue); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * - * - * @generated - */ - @Override - public void setValue(Expression newValue) { - if (newValue != value) { - NotificationChain msgs = null; - if (value != null) - msgs = ((InternalEObject)value).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.LET_BINDING__VALUE, null, msgs); - if (newValue != null) - msgs = ((InternalEObject)newValue).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.LET_BINDING__VALUE, null, msgs); - msgs = basicSetValue(newValue, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.LET_BINDING__VALUE, newValue, newValue)); - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case SolverLanguagePackage.LET_BINDING__VARIABLE: - return basicSetVariable(null, msgs); - case SolverLanguagePackage.LET_BINDING__VALUE: - return basicSetValue(null, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case SolverLanguagePackage.LET_BINDING__VARIABLE: - return getVariable(); - case SolverLanguagePackage.LET_BINDING__VALUE: - return getValue(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case SolverLanguagePackage.LET_BINDING__VARIABLE: - setVariable((NamedElement)newValue); - return; - case SolverLanguagePackage.LET_BINDING__VALUE: - setValue((Expression)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case SolverLanguagePackage.LET_BINDING__VARIABLE: - setVariable((NamedElement)null); - return; - case SolverLanguagePackage.LET_BINDING__VALUE: - setValue((Expression)null); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case SolverLanguagePackage.LET_BINDING__VARIABLE: - return variable != null; - case SolverLanguagePackage.LET_BINDING__VALUE: - return value != null; - } - return super.eIsSet(featureID); - } - -} //LetBindingImpl diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/LetImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/LetImpl.java deleted file mode 100644 index 841c74c7..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/LetImpl.java +++ /dev/null @@ -1,224 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage.impl; - -import java.util.Collection; - -import org.eclipse.emf.common.notify.Notification; -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.impl.ENotificationImpl; - -import org.eclipse.emf.ecore.util.EObjectContainmentEList; -import org.eclipse.emf.ecore.util.InternalEList; - -import org.eclipse.viatra.solver.language.solverLanguage.Expression; -import org.eclipse.viatra.solver.language.solverLanguage.Let; -import org.eclipse.viatra.solver.language.solverLanguage.LetBinding; -import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; - -/** - * - * An implementation of the model object 'Let'. - * - *

    - * The following features are implemented: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.LetImpl#getBindings Bindings}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.LetImpl#getBody Body}
    • - *
    - * - * @generated - */ -public class LetImpl extends ExpressionImpl implements Let { - /** - * The cached value of the '{@link #getBindings() Bindings}' containment reference list. - * - * - * @see #getBindings() - * @generated - * @ordered - */ - protected EList bindings; - - /** - * The cached value of the '{@link #getBody() Body}' containment reference. - * - * - * @see #getBody() - * @generated - * @ordered - */ - protected Expression body; - - /** - * - * - * @generated - */ - protected LetImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return SolverLanguagePackage.Literals.LET; - } - - /** - * - * - * @generated - */ - @Override - public EList getBindings() { - if (bindings == null) { - bindings = new EObjectContainmentEList(LetBinding.class, this, SolverLanguagePackage.LET__BINDINGS); - } - return bindings; - } - - /** - * - * - * @generated - */ - @Override - public Expression getBody() { - return body; - } - - /** - * - * - * @generated - */ - public NotificationChain basicSetBody(Expression newBody, NotificationChain msgs) { - Expression oldBody = body; - body = newBody; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.LET__BODY, oldBody, newBody); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * - * - * @generated - */ - @Override - public void setBody(Expression newBody) { - if (newBody != body) { - NotificationChain msgs = null; - if (body != null) - msgs = ((InternalEObject)body).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.LET__BODY, null, msgs); - if (newBody != null) - msgs = ((InternalEObject)newBody).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.LET__BODY, null, msgs); - msgs = basicSetBody(newBody, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.LET__BODY, newBody, newBody)); - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case SolverLanguagePackage.LET__BINDINGS: - return ((InternalEList)getBindings()).basicRemove(otherEnd, msgs); - case SolverLanguagePackage.LET__BODY: - return basicSetBody(null, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case SolverLanguagePackage.LET__BINDINGS: - return getBindings(); - case SolverLanguagePackage.LET__BODY: - return getBody(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case SolverLanguagePackage.LET__BINDINGS: - getBindings().clear(); - getBindings().addAll((Collection)newValue); - return; - case SolverLanguagePackage.LET__BODY: - setBody((Expression)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case SolverLanguagePackage.LET__BINDINGS: - getBindings().clear(); - return; - case SolverLanguagePackage.LET__BODY: - setBody((Expression)null); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case SolverLanguagePackage.LET__BINDINGS: - return bindings != null && !bindings.isEmpty(); - case SolverLanguagePackage.LET__BODY: - return body != null; - } - return super.eIsSet(featureID); - } - -} //LetImpl diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/LiteralImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/LiteralImpl.java deleted file mode 100644 index 671fa305..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/LiteralImpl.java +++ /dev/null @@ -1,38 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage.impl; - -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.viatra.solver.language.solverLanguage.Literal; -import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; - -/** - * - * An implementation of the model object 'Literal'. - * - * - * @generated - */ -public class LiteralImpl extends ExpressionImpl implements Literal { - /** - * - * - * @generated - */ - protected LiteralImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return SolverLanguagePackage.Literals.LITERAL; - } - -} //LiteralImpl diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/LocalVariablesImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/LocalVariablesImpl.java deleted file mode 100644 index e34a61c6..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/LocalVariablesImpl.java +++ /dev/null @@ -1,154 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage.impl; - -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.impl.MinimalEObjectImpl; - -import org.eclipse.emf.ecore.util.EObjectContainmentEList; -import org.eclipse.emf.ecore.util.InternalEList; - -import org.eclipse.viatra.solver.language.solverLanguage.LocalVariables; -import org.eclipse.viatra.solver.language.solverLanguage.NamedElement; -import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; - -/** - * - * An implementation of the model object 'Local Variables'. - * - *

    - * The following features are implemented: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.LocalVariablesImpl#getVariables Variables}
    • - *
    - * - * @generated - */ -public class LocalVariablesImpl extends MinimalEObjectImpl.Container implements LocalVariables { - /** - * The cached value of the '{@link #getVariables() Variables}' containment reference list. - * - * - * @see #getVariables() - * @generated - * @ordered - */ - protected EList variables; - - /** - * - * - * @generated - */ - protected LocalVariablesImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return SolverLanguagePackage.Literals.LOCAL_VARIABLES; - } - - /** - * - * - * @generated - */ - @Override - public EList getVariables() { - if (variables == null) { - variables = new EObjectContainmentEList(NamedElement.class, this, SolverLanguagePackage.LOCAL_VARIABLES__VARIABLES); - } - return variables; - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case SolverLanguagePackage.LOCAL_VARIABLES__VARIABLES: - return ((InternalEList)getVariables()).basicRemove(otherEnd, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case SolverLanguagePackage.LOCAL_VARIABLES__VARIABLES: - return getVariables(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case SolverLanguagePackage.LOCAL_VARIABLES__VARIABLES: - getVariables().clear(); - getVariables().addAll((Collection)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case SolverLanguagePackage.LOCAL_VARIABLES__VARIABLES: - getVariables().clear(); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case SolverLanguagePackage.LOCAL_VARIABLES__VARIABLES: - return variables != null && !variables.isEmpty(); - } - return super.eIsSet(featureID); - } - -} //LocalVariablesImpl diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/LogicLiteralImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/LogicLiteralImpl.java deleted file mode 100644 index 602edee1..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/LogicLiteralImpl.java +++ /dev/null @@ -1,166 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage.impl; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -import org.eclipse.viatra.solver.language.solverLanguage.LogicLiteral; -import org.eclipse.viatra.solver.language.solverLanguage.LogicValue; -import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; - -/** - * - * An implementation of the model object 'Logic Literal'. - * - *

    - * The following features are implemented: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.LogicLiteralImpl#getValue Value}
    • - *
    - * - * @generated - */ -public class LogicLiteralImpl extends LiteralImpl implements LogicLiteral { - /** - * The default value of the '{@link #getValue() Value}' attribute. - * - * - * @see #getValue() - * @generated - * @ordered - */ - protected static final LogicValue VALUE_EDEFAULT = LogicValue.TRUE; - - /** - * The cached value of the '{@link #getValue() Value}' attribute. - * - * - * @see #getValue() - * @generated - * @ordered - */ - protected LogicValue value = VALUE_EDEFAULT; - - /** - * - * - * @generated - */ - protected LogicLiteralImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return SolverLanguagePackage.Literals.LOGIC_LITERAL; - } - - /** - * - * - * @generated - */ - @Override - public LogicValue getValue() { - return value; - } - - /** - * - * - * @generated - */ - @Override - public void setValue(LogicValue newValue) { - LogicValue oldValue = value; - value = newValue == null ? VALUE_EDEFAULT : newValue; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.LOGIC_LITERAL__VALUE, oldValue, value)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case SolverLanguagePackage.LOGIC_LITERAL__VALUE: - return getValue(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case SolverLanguagePackage.LOGIC_LITERAL__VALUE: - setValue((LogicValue)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case SolverLanguagePackage.LOGIC_LITERAL__VALUE: - setValue(VALUE_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case SolverLanguagePackage.LOGIC_LITERAL__VALUE: - return value != VALUE_EDEFAULT; - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuilder result = new StringBuilder(super.toString()); - result.append(" (value: "); - result.append(value); - result.append(')'); - return result.toString(); - } - -} //LogicLiteralImpl diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/LowerBoundedScopeDefinitionImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/LowerBoundedScopeDefinitionImpl.java deleted file mode 100644 index 0e33864d..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/LowerBoundedScopeDefinitionImpl.java +++ /dev/null @@ -1,165 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage.impl; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -import org.eclipse.viatra.solver.language.solverLanguage.LowerBoundedScopeDefinition; -import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; - -/** - * - * An implementation of the model object 'Lower Bounded Scope Definition'. - * - *

    - * The following features are implemented: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.LowerBoundedScopeDefinitionImpl#getLowerBound Lower Bound}
    • - *
    - * - * @generated - */ -public class LowerBoundedScopeDefinitionImpl extends ScopeDefinitionImpl implements LowerBoundedScopeDefinition { - /** - * The default value of the '{@link #getLowerBound() Lower Bound}' attribute. - * - * - * @see #getLowerBound() - * @generated - * @ordered - */ - protected static final int LOWER_BOUND_EDEFAULT = 0; - - /** - * The cached value of the '{@link #getLowerBound() Lower Bound}' attribute. - * - * - * @see #getLowerBound() - * @generated - * @ordered - */ - protected int lowerBound = LOWER_BOUND_EDEFAULT; - - /** - * - * - * @generated - */ - protected LowerBoundedScopeDefinitionImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return SolverLanguagePackage.Literals.LOWER_BOUNDED_SCOPE_DEFINITION; - } - - /** - * - * - * @generated - */ - @Override - public int getLowerBound() { - return lowerBound; - } - - /** - * - * - * @generated - */ - @Override - public void setLowerBound(int newLowerBound) { - int oldLowerBound = lowerBound; - lowerBound = newLowerBound; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.LOWER_BOUNDED_SCOPE_DEFINITION__LOWER_BOUND, oldLowerBound, lowerBound)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case SolverLanguagePackage.LOWER_BOUNDED_SCOPE_DEFINITION__LOWER_BOUND: - return getLowerBound(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case SolverLanguagePackage.LOWER_BOUNDED_SCOPE_DEFINITION__LOWER_BOUND: - setLowerBound((Integer)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case SolverLanguagePackage.LOWER_BOUNDED_SCOPE_DEFINITION__LOWER_BOUND: - setLowerBound(LOWER_BOUND_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case SolverLanguagePackage.LOWER_BOUNDED_SCOPE_DEFINITION__LOWER_BOUND: - return lowerBound != LOWER_BOUND_EDEFAULT; - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuilder result = new StringBuilder(super.toString()); - result.append(" (lowerBound: "); - result.append(lowerBound); - result.append(')'); - return result.toString(); - } - -} //LowerBoundedScopeDefinitionImpl diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ManyMultiplicityImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ManyMultiplicityImpl.java deleted file mode 100644 index 20a59027..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ManyMultiplicityImpl.java +++ /dev/null @@ -1,38 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage.impl; - -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.viatra.solver.language.solverLanguage.ManyMultiplicity; -import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; - -/** - * - * An implementation of the model object 'Many Multiplicity'. - * - * - * @generated - */ -public class ManyMultiplicityImpl extends MultiplicityImpl implements ManyMultiplicity { - /** - * - * - * @generated - */ - protected ManyMultiplicityImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return SolverLanguagePackage.Literals.MANY_MULTIPLICITY; - } - -} //ManyMultiplicityImpl diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/MemberDefinitionImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/MemberDefinitionImpl.java deleted file mode 100644 index f632faa4..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/MemberDefinitionImpl.java +++ /dev/null @@ -1,430 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage.impl; - -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; - -import org.eclipse.viatra.solver.language.solverLanguage.MemberDefinition; -import org.eclipse.viatra.solver.language.solverLanguage.Multiplicity; -import org.eclipse.viatra.solver.language.solverLanguage.NamedElement; -import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; - -/** - * - * An implementation of the model object 'Member Definition'. - * - *

    - * The following features are implemented: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.MemberDefinitionImpl#isContainment Containment}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.MemberDefinitionImpl#getType Type}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.MemberDefinitionImpl#getMultiplicity Multiplicity}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.MemberDefinitionImpl#getName Name}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.MemberDefinitionImpl#getOpposite Opposite}
    • - *
    - * - * @generated - */ -public class MemberDefinitionImpl extends MinimalEObjectImpl.Container implements MemberDefinition { - /** - * The default value of the '{@link #isContainment() Containment}' attribute. - * - * - * @see #isContainment() - * @generated - * @ordered - */ - protected static final boolean CONTAINMENT_EDEFAULT = false; - - /** - * The cached value of the '{@link #isContainment() Containment}' attribute. - * - * - * @see #isContainment() - * @generated - * @ordered - */ - protected boolean containment = CONTAINMENT_EDEFAULT; - - /** - * The cached value of the '{@link #getType() Type}' reference. - * - * - * @see #getType() - * @generated - * @ordered - */ - protected NamedElement type; - - /** - * The cached value of the '{@link #getMultiplicity() Multiplicity}' containment reference. - * - * - * @see #getMultiplicity() - * @generated - * @ordered - */ - protected Multiplicity multiplicity; - - /** - * The default value of the '{@link #getName() Name}' attribute. - * - * - * @see #getName() - * @generated - * @ordered - */ - protected static final String NAME_EDEFAULT = null; - - /** - * The cached value of the '{@link #getName() Name}' attribute. - * - * - * @see #getName() - * @generated - * @ordered - */ - protected String name = NAME_EDEFAULT; - - /** - * The cached value of the '{@link #getOpposite() Opposite}' reference. - * - * - * @see #getOpposite() - * @generated - * @ordered - */ - protected NamedElement opposite; - - /** - * - * - * @generated - */ - protected MemberDefinitionImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return SolverLanguagePackage.Literals.MEMBER_DEFINITION; - } - - /** - * - * - * @generated - */ - @Override - public boolean isContainment() { - return containment; - } - - /** - * - * - * @generated - */ - @Override - public void setContainment(boolean newContainment) { - boolean oldContainment = containment; - containment = newContainment; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.MEMBER_DEFINITION__CONTAINMENT, oldContainment, containment)); - } - - /** - * - * - * @generated - */ - @Override - public NamedElement getType() { - if (type != null && type.eIsProxy()) { - InternalEObject oldType = (InternalEObject)type; - type = (NamedElement)eResolveProxy(oldType); - if (type != oldType) { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, SolverLanguagePackage.MEMBER_DEFINITION__TYPE, oldType, type)); - } - } - return type; - } - - /** - * - * - * @generated - */ - public NamedElement basicGetType() { - return type; - } - - /** - * - * - * @generated - */ - @Override - public void setType(NamedElement newType) { - NamedElement oldType = type; - type = newType; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.MEMBER_DEFINITION__TYPE, oldType, type)); - } - - /** - * - * - * @generated - */ - @Override - public Multiplicity getMultiplicity() { - return multiplicity; - } - - /** - * - * - * @generated - */ - public NotificationChain basicSetMultiplicity(Multiplicity newMultiplicity, NotificationChain msgs) { - Multiplicity oldMultiplicity = multiplicity; - multiplicity = newMultiplicity; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.MEMBER_DEFINITION__MULTIPLICITY, oldMultiplicity, newMultiplicity); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * - * - * @generated - */ - @Override - public void setMultiplicity(Multiplicity newMultiplicity) { - if (newMultiplicity != multiplicity) { - NotificationChain msgs = null; - if (multiplicity != null) - msgs = ((InternalEObject)multiplicity).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.MEMBER_DEFINITION__MULTIPLICITY, null, msgs); - if (newMultiplicity != null) - msgs = ((InternalEObject)newMultiplicity).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.MEMBER_DEFINITION__MULTIPLICITY, null, msgs); - msgs = basicSetMultiplicity(newMultiplicity, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.MEMBER_DEFINITION__MULTIPLICITY, newMultiplicity, newMultiplicity)); - } - - /** - * - * - * @generated - */ - @Override - public String getName() { - return name; - } - - /** - * - * - * @generated - */ - @Override - public void setName(String newName) { - String oldName = name; - name = newName; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.MEMBER_DEFINITION__NAME, oldName, name)); - } - - /** - * - * - * @generated - */ - @Override - public NamedElement getOpposite() { - if (opposite != null && opposite.eIsProxy()) { - InternalEObject oldOpposite = (InternalEObject)opposite; - opposite = (NamedElement)eResolveProxy(oldOpposite); - if (opposite != oldOpposite) { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, SolverLanguagePackage.MEMBER_DEFINITION__OPPOSITE, oldOpposite, opposite)); - } - } - return opposite; - } - - /** - * - * - * @generated - */ - public NamedElement basicGetOpposite() { - return opposite; - } - - /** - * - * - * @generated - */ - @Override - public void setOpposite(NamedElement newOpposite) { - NamedElement oldOpposite = opposite; - opposite = newOpposite; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.MEMBER_DEFINITION__OPPOSITE, oldOpposite, opposite)); - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case SolverLanguagePackage.MEMBER_DEFINITION__MULTIPLICITY: - return basicSetMultiplicity(null, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case SolverLanguagePackage.MEMBER_DEFINITION__CONTAINMENT: - return isContainment(); - case SolverLanguagePackage.MEMBER_DEFINITION__TYPE: - if (resolve) return getType(); - return basicGetType(); - case SolverLanguagePackage.MEMBER_DEFINITION__MULTIPLICITY: - return getMultiplicity(); - case SolverLanguagePackage.MEMBER_DEFINITION__NAME: - return getName(); - case SolverLanguagePackage.MEMBER_DEFINITION__OPPOSITE: - if (resolve) return getOpposite(); - return basicGetOpposite(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case SolverLanguagePackage.MEMBER_DEFINITION__CONTAINMENT: - setContainment((Boolean)newValue); - return; - case SolverLanguagePackage.MEMBER_DEFINITION__TYPE: - setType((NamedElement)newValue); - return; - case SolverLanguagePackage.MEMBER_DEFINITION__MULTIPLICITY: - setMultiplicity((Multiplicity)newValue); - return; - case SolverLanguagePackage.MEMBER_DEFINITION__NAME: - setName((String)newValue); - return; - case SolverLanguagePackage.MEMBER_DEFINITION__OPPOSITE: - setOpposite((NamedElement)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case SolverLanguagePackage.MEMBER_DEFINITION__CONTAINMENT: - setContainment(CONTAINMENT_EDEFAULT); - return; - case SolverLanguagePackage.MEMBER_DEFINITION__TYPE: - setType((NamedElement)null); - return; - case SolverLanguagePackage.MEMBER_DEFINITION__MULTIPLICITY: - setMultiplicity((Multiplicity)null); - return; - case SolverLanguagePackage.MEMBER_DEFINITION__NAME: - setName(NAME_EDEFAULT); - return; - case SolverLanguagePackage.MEMBER_DEFINITION__OPPOSITE: - setOpposite((NamedElement)null); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case SolverLanguagePackage.MEMBER_DEFINITION__CONTAINMENT: - return containment != CONTAINMENT_EDEFAULT; - case SolverLanguagePackage.MEMBER_DEFINITION__TYPE: - return type != null; - case SolverLanguagePackage.MEMBER_DEFINITION__MULTIPLICITY: - return multiplicity != null; - case SolverLanguagePackage.MEMBER_DEFINITION__NAME: - return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); - case SolverLanguagePackage.MEMBER_DEFINITION__OPPOSITE: - return opposite != null; - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuilder result = new StringBuilder(super.toString()); - result.append(" (containment: "); - result.append(containment); - result.append(", name: "); - result.append(name); - result.append(')'); - return result.toString(); - } - -} //MemberDefinitionImpl diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/MetricDefinitionImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/MetricDefinitionImpl.java deleted file mode 100644 index d441b8c1..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/MetricDefinitionImpl.java +++ /dev/null @@ -1,309 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage.impl; - -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.viatra.solver.language.solverLanguage.Expression; -import org.eclipse.viatra.solver.language.solverLanguage.MetricDefinition; -import org.eclipse.viatra.solver.language.solverLanguage.NamedElement; -import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; - -/** - * - * An implementation of the model object 'Metric Definition'. - * - *

    - * The following features are implemented: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.MetricDefinitionImpl#getHead Head}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.MetricDefinitionImpl#getBody Body}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.MetricDefinitionImpl#getType Type}
    • - *
    - * - * @generated - */ -public class MetricDefinitionImpl extends StatementImpl implements MetricDefinition { - /** - * The cached value of the '{@link #getHead() Head}' containment reference. - * - * - * @see #getHead() - * @generated - * @ordered - */ - protected Expression head; - - /** - * The cached value of the '{@link #getBody() Body}' containment reference. - * - * - * @see #getBody() - * @generated - * @ordered - */ - protected Expression body; - - /** - * The cached value of the '{@link #getType() Type}' reference. - * - * - * @see #getType() - * @generated - * @ordered - */ - protected NamedElement type; - - /** - * - * - * @generated - */ - protected MetricDefinitionImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return SolverLanguagePackage.Literals.METRIC_DEFINITION; - } - - /** - * - * - * @generated - */ - @Override - public Expression getHead() { - return head; - } - - /** - * - * - * @generated - */ - public NotificationChain basicSetHead(Expression newHead, NotificationChain msgs) { - Expression oldHead = head; - head = newHead; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.METRIC_DEFINITION__HEAD, oldHead, newHead); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * - * - * @generated - */ - @Override - public void setHead(Expression newHead) { - if (newHead != head) { - NotificationChain msgs = null; - if (head != null) - msgs = ((InternalEObject)head).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.METRIC_DEFINITION__HEAD, null, msgs); - if (newHead != null) - msgs = ((InternalEObject)newHead).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.METRIC_DEFINITION__HEAD, null, msgs); - msgs = basicSetHead(newHead, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.METRIC_DEFINITION__HEAD, newHead, newHead)); - } - - /** - * - * - * @generated - */ - @Override - public Expression getBody() { - return body; - } - - /** - * - * - * @generated - */ - public NotificationChain basicSetBody(Expression newBody, NotificationChain msgs) { - Expression oldBody = body; - body = newBody; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.METRIC_DEFINITION__BODY, oldBody, newBody); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * - * - * @generated - */ - @Override - public void setBody(Expression newBody) { - if (newBody != body) { - NotificationChain msgs = null; - if (body != null) - msgs = ((InternalEObject)body).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.METRIC_DEFINITION__BODY, null, msgs); - if (newBody != null) - msgs = ((InternalEObject)newBody).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.METRIC_DEFINITION__BODY, null, msgs); - msgs = basicSetBody(newBody, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.METRIC_DEFINITION__BODY, newBody, newBody)); - } - - /** - * - * - * @generated - */ - @Override - public NamedElement getType() { - if (type != null && type.eIsProxy()) { - InternalEObject oldType = (InternalEObject)type; - type = (NamedElement)eResolveProxy(oldType); - if (type != oldType) { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, SolverLanguagePackage.METRIC_DEFINITION__TYPE, oldType, type)); - } - } - return type; - } - - /** - * - * - * @generated - */ - public NamedElement basicGetType() { - return type; - } - - /** - * - * - * @generated - */ - @Override - public void setType(NamedElement newType) { - NamedElement oldType = type; - type = newType; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.METRIC_DEFINITION__TYPE, oldType, type)); - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case SolverLanguagePackage.METRIC_DEFINITION__HEAD: - return basicSetHead(null, msgs); - case SolverLanguagePackage.METRIC_DEFINITION__BODY: - return basicSetBody(null, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case SolverLanguagePackage.METRIC_DEFINITION__HEAD: - return getHead(); - case SolverLanguagePackage.METRIC_DEFINITION__BODY: - return getBody(); - case SolverLanguagePackage.METRIC_DEFINITION__TYPE: - if (resolve) return getType(); - return basicGetType(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case SolverLanguagePackage.METRIC_DEFINITION__HEAD: - setHead((Expression)newValue); - return; - case SolverLanguagePackage.METRIC_DEFINITION__BODY: - setBody((Expression)newValue); - return; - case SolverLanguagePackage.METRIC_DEFINITION__TYPE: - setType((NamedElement)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case SolverLanguagePackage.METRIC_DEFINITION__HEAD: - setHead((Expression)null); - return; - case SolverLanguagePackage.METRIC_DEFINITION__BODY: - setBody((Expression)null); - return; - case SolverLanguagePackage.METRIC_DEFINITION__TYPE: - setType((NamedElement)null); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case SolverLanguagePackage.METRIC_DEFINITION__HEAD: - return head != null; - case SolverLanguagePackage.METRIC_DEFINITION__BODY: - return body != null; - case SolverLanguagePackage.METRIC_DEFINITION__TYPE: - return type != null; - } - return super.eIsSet(featureID); - } - -} //MetricDefinitionImpl diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/MetricImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/MetricImpl.java deleted file mode 100644 index 41fbe6de..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/MetricImpl.java +++ /dev/null @@ -1,159 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage.impl; - -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.solver.language.solverLanguage.Metric; -import org.eclipse.viatra.solver.language.solverLanguage.NamedElement; -import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; - -/** - * - * An implementation of the model object 'Metric'. - * - *

    - * The following features are implemented: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.MetricImpl#getReturnType Return Type}
    • - *
    - * - * @generated - */ -public class MetricImpl extends FunctorImpl implements Metric { - /** - * The cached value of the '{@link #getReturnType() Return Type}' reference. - * - * - * @see #getReturnType() - * @generated - * @ordered - */ - protected NamedElement returnType; - - /** - * - * - * @generated - */ - protected MetricImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return SolverLanguagePackage.Literals.METRIC; - } - - /** - * - * - * @generated - */ - @Override - public NamedElement getReturnType() { - if (returnType != null && returnType.eIsProxy()) { - InternalEObject oldReturnType = (InternalEObject)returnType; - returnType = (NamedElement)eResolveProxy(oldReturnType); - if (returnType != oldReturnType) { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, SolverLanguagePackage.METRIC__RETURN_TYPE, oldReturnType, returnType)); - } - } - return returnType; - } - - /** - * - * - * @generated - */ - public NamedElement basicGetReturnType() { - return returnType; - } - - /** - * - * - * @generated - */ - @Override - public void setReturnType(NamedElement newReturnType) { - NamedElement oldReturnType = returnType; - returnType = newReturnType; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.METRIC__RETURN_TYPE, oldReturnType, returnType)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case SolverLanguagePackage.METRIC__RETURN_TYPE: - if (resolve) return getReturnType(); - return basicGetReturnType(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case SolverLanguagePackage.METRIC__RETURN_TYPE: - setReturnType((NamedElement)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case SolverLanguagePackage.METRIC__RETURN_TYPE: - setReturnType((NamedElement)null); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case SolverLanguagePackage.METRIC__RETURN_TYPE: - return returnType != null; - } - return super.eIsSet(featureID); - } - -} //MetricImpl diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/MultiplicityImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/MultiplicityImpl.java deleted file mode 100644 index e29fe9f6..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/MultiplicityImpl.java +++ /dev/null @@ -1,40 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage.impl; - -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; - -import org.eclipse.viatra.solver.language.solverLanguage.Multiplicity; -import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; - -/** - * - * An implementation of the model object 'Multiplicity'. - * - * - * @generated - */ -public class MultiplicityImpl extends MinimalEObjectImpl.Container implements Multiplicity { - /** - * - * - * @generated - */ - protected MultiplicityImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return SolverLanguagePackage.Literals.MULTIPLICITY; - } - -} //MultiplicityImpl diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/NamedElementImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/NamedElementImpl.java deleted file mode 100644 index a6b102ac..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/NamedElementImpl.java +++ /dev/null @@ -1,166 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage.impl; - -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; - -import org.eclipse.viatra.solver.language.solverLanguage.NamedElement; -import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; - -/** - * - * An implementation of the model object 'Named Element'. - * - *

    - * The following features are implemented: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.NamedElementImpl#getName Name}
    • - *
    - * - * @generated - */ -public class NamedElementImpl extends MinimalEObjectImpl.Container implements NamedElement { - /** - * The default value of the '{@link #getName() Name}' attribute. - * - * - * @see #getName() - * @generated - * @ordered - */ - protected static final String NAME_EDEFAULT = null; - - /** - * The cached value of the '{@link #getName() Name}' attribute. - * - * - * @see #getName() - * @generated - * @ordered - */ - protected String name = NAME_EDEFAULT; - - /** - * - * - * @generated - */ - protected NamedElementImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return SolverLanguagePackage.Literals.NAMED_ELEMENT; - } - - /** - * - * - * @generated - */ - @Override - public String getName() { - return name; - } - - /** - * - * - * @generated - */ - @Override - public void setName(String newName) { - String oldName = name; - name = newName; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.NAMED_ELEMENT__NAME, oldName, name)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case SolverLanguagePackage.NAMED_ELEMENT__NAME: - return getName(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case SolverLanguagePackage.NAMED_ELEMENT__NAME: - setName((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case SolverLanguagePackage.NAMED_ELEMENT__NAME: - setName(NAME_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case SolverLanguagePackage.NAMED_ELEMENT__NAME: - return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuilder result = new StringBuilder(super.toString()); - result.append(" (name: "); - result.append(name); - result.append(')'); - return result.toString(); - } - -} //NamedElementImpl diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/NodeImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/NodeImpl.java deleted file mode 100644 index a4fcf51f..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/NodeImpl.java +++ /dev/null @@ -1,165 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage.impl; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -import org.eclipse.viatra.solver.language.solverLanguage.Node; -import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; - -/** - * - * An implementation of the model object 'Node'. - * - *

    - * The following features are implemented: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.NodeImpl#isWithId With Id}
    • - *
    - * - * @generated - */ -public class NodeImpl extends NamedElementImpl implements Node { - /** - * The default value of the '{@link #isWithId() With Id}' attribute. - * - * - * @see #isWithId() - * @generated - * @ordered - */ - protected static final boolean WITH_ID_EDEFAULT = false; - - /** - * The cached value of the '{@link #isWithId() With Id}' attribute. - * - * - * @see #isWithId() - * @generated - * @ordered - */ - protected boolean withId = WITH_ID_EDEFAULT; - - /** - * - * - * @generated - */ - protected NodeImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return SolverLanguagePackage.Literals.NODE; - } - - /** - * - * - * @generated - */ - @Override - public boolean isWithId() { - return withId; - } - - /** - * - * - * @generated - */ - @Override - public void setWithId(boolean newWithId) { - boolean oldWithId = withId; - withId = newWithId; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.NODE__WITH_ID, oldWithId, withId)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case SolverLanguagePackage.NODE__WITH_ID: - return isWithId(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case SolverLanguagePackage.NODE__WITH_ID: - setWithId((Boolean)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case SolverLanguagePackage.NODE__WITH_ID: - setWithId(WITH_ID_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case SolverLanguagePackage.NODE__WITH_ID: - return withId != WITH_ID_EDEFAULT; - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuilder result = new StringBuilder(super.toString()); - result.append(" (withId: "); - result.append(withId); - result.append(')'); - return result.toString(); - } - -} //NodeImpl diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/NumericLiteralImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/NumericLiteralImpl.java deleted file mode 100644 index ffd4294d..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/NumericLiteralImpl.java +++ /dev/null @@ -1,167 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage.impl; - -import java.math.BigDecimal; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -import org.eclipse.viatra.solver.language.solverLanguage.NumericLiteral; -import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; - -/** - * - * An implementation of the model object 'Numeric Literal'. - * - *

    - * The following features are implemented: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.NumericLiteralImpl#getValue Value}
    • - *
    - * - * @generated - */ -public class NumericLiteralImpl extends LiteralImpl implements NumericLiteral { - /** - * The default value of the '{@link #getValue() Value}' attribute. - * - * - * @see #getValue() - * @generated - * @ordered - */ - protected static final BigDecimal VALUE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getValue() Value}' attribute. - * - * - * @see #getValue() - * @generated - * @ordered - */ - protected BigDecimal value = VALUE_EDEFAULT; - - /** - * - * - * @generated - */ - protected NumericLiteralImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return SolverLanguagePackage.Literals.NUMERIC_LITERAL; - } - - /** - * - * - * @generated - */ - @Override - public BigDecimal getValue() { - return value; - } - - /** - * - * - * @generated - */ - @Override - public void setValue(BigDecimal newValue) { - BigDecimal oldValue = value; - value = newValue; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.NUMERIC_LITERAL__VALUE, oldValue, value)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case SolverLanguagePackage.NUMERIC_LITERAL__VALUE: - return getValue(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case SolverLanguagePackage.NUMERIC_LITERAL__VALUE: - setValue((BigDecimal)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case SolverLanguagePackage.NUMERIC_LITERAL__VALUE: - setValue(VALUE_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case SolverLanguagePackage.NUMERIC_LITERAL__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(); - - StringBuilder result = new StringBuilder(super.toString()); - result.append(" (value: "); - result.append(value); - result.append(')'); - return result.toString(); - } - -} //NumericLiteralImpl diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ObjectiveDefinitionImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ObjectiveDefinitionImpl.java deleted file mode 100644 index 7d0e4c50..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ObjectiveDefinitionImpl.java +++ /dev/null @@ -1,249 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage.impl; - -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.viatra.solver.language.solverLanguage.Expression; -import org.eclipse.viatra.solver.language.solverLanguage.ObjectiveDefinition; -import org.eclipse.viatra.solver.language.solverLanguage.ObjectiveKind; -import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; - -/** - * - * An implementation of the model object 'Objective Definition'. - * - *

    - * The following features are implemented: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.ObjectiveDefinitionImpl#getKind Kind}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.ObjectiveDefinitionImpl#getObjective Objective}
    • - *
    - * - * @generated - */ -public class ObjectiveDefinitionImpl extends StatementImpl implements ObjectiveDefinition { - /** - * The default value of the '{@link #getKind() Kind}' attribute. - * - * - * @see #getKind() - * @generated - * @ordered - */ - protected static final ObjectiveKind KIND_EDEFAULT = ObjectiveKind.MINIMIZE; - - /** - * The cached value of the '{@link #getKind() Kind}' attribute. - * - * - * @see #getKind() - * @generated - * @ordered - */ - protected ObjectiveKind kind = KIND_EDEFAULT; - - /** - * The cached value of the '{@link #getObjective() Objective}' containment reference. - * - * - * @see #getObjective() - * @generated - * @ordered - */ - protected Expression objective; - - /** - * - * - * @generated - */ - protected ObjectiveDefinitionImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return SolverLanguagePackage.Literals.OBJECTIVE_DEFINITION; - } - - /** - * - * - * @generated - */ - @Override - public ObjectiveKind getKind() { - return kind; - } - - /** - * - * - * @generated - */ - @Override - public void setKind(ObjectiveKind newKind) { - ObjectiveKind oldKind = kind; - kind = newKind == null ? KIND_EDEFAULT : newKind; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.OBJECTIVE_DEFINITION__KIND, oldKind, kind)); - } - - /** - * - * - * @generated - */ - @Override - public Expression getObjective() { - return objective; - } - - /** - * - * - * @generated - */ - public NotificationChain basicSetObjective(Expression newObjective, NotificationChain msgs) { - Expression oldObjective = objective; - objective = newObjective; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.OBJECTIVE_DEFINITION__OBJECTIVE, oldObjective, newObjective); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * - * - * @generated - */ - @Override - public void setObjective(Expression newObjective) { - if (newObjective != objective) { - NotificationChain msgs = null; - if (objective != null) - msgs = ((InternalEObject)objective).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.OBJECTIVE_DEFINITION__OBJECTIVE, null, msgs); - if (newObjective != null) - msgs = ((InternalEObject)newObjective).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.OBJECTIVE_DEFINITION__OBJECTIVE, null, msgs); - msgs = basicSetObjective(newObjective, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.OBJECTIVE_DEFINITION__OBJECTIVE, newObjective, newObjective)); - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case SolverLanguagePackage.OBJECTIVE_DEFINITION__OBJECTIVE: - return basicSetObjective(null, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case SolverLanguagePackage.OBJECTIVE_DEFINITION__KIND: - return getKind(); - case SolverLanguagePackage.OBJECTIVE_DEFINITION__OBJECTIVE: - return getObjective(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case SolverLanguagePackage.OBJECTIVE_DEFINITION__KIND: - setKind((ObjectiveKind)newValue); - return; - case SolverLanguagePackage.OBJECTIVE_DEFINITION__OBJECTIVE: - setObjective((Expression)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case SolverLanguagePackage.OBJECTIVE_DEFINITION__KIND: - setKind(KIND_EDEFAULT); - return; - case SolverLanguagePackage.OBJECTIVE_DEFINITION__OBJECTIVE: - setObjective((Expression)null); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case SolverLanguagePackage.OBJECTIVE_DEFINITION__KIND: - return kind != KIND_EDEFAULT; - case SolverLanguagePackage.OBJECTIVE_DEFINITION__OBJECTIVE: - return objective != null; - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuilder result = new StringBuilder(super.toString()); - result.append(" (kind: "); - result.append(kind); - result.append(')'); - return result.toString(); - } - -} //ObjectiveDefinitionImpl diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/PredicateDefinitionImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/PredicateDefinitionImpl.java deleted file mode 100644 index 251a27d9..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/PredicateDefinitionImpl.java +++ /dev/null @@ -1,372 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage.impl; - -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.viatra.solver.language.solverLanguage.Expression; -import org.eclipse.viatra.solver.language.solverLanguage.PredicateDefinition; -import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; - -/** - * - * An implementation of the model object 'Predicate Definition'. - * - *

    - * The following features are implemented: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.PredicateDefinitionImpl#getHead Head}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.PredicateDefinitionImpl#getBody Body}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.PredicateDefinitionImpl#isFunctional Functional}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.PredicateDefinitionImpl#isError Error}
    • - *
    - * - * @generated - */ -public class PredicateDefinitionImpl extends StatementImpl implements PredicateDefinition { - /** - * The cached value of the '{@link #getHead() Head}' containment reference. - * - * - * @see #getHead() - * @generated - * @ordered - */ - protected Expression head; - - /** - * The cached value of the '{@link #getBody() Body}' containment reference. - * - * - * @see #getBody() - * @generated - * @ordered - */ - protected Expression body; - - /** - * The default value of the '{@link #isFunctional() Functional}' attribute. - * - * - * @see #isFunctional() - * @generated - * @ordered - */ - protected static final boolean FUNCTIONAL_EDEFAULT = false; - - /** - * The cached value of the '{@link #isFunctional() Functional}' attribute. - * - * - * @see #isFunctional() - * @generated - * @ordered - */ - protected boolean functional = FUNCTIONAL_EDEFAULT; - - /** - * The default value of the '{@link #isError() Error}' attribute. - * - * - * @see #isError() - * @generated - * @ordered - */ - protected static final boolean ERROR_EDEFAULT = false; - - /** - * The cached value of the '{@link #isError() Error}' attribute. - * - * - * @see #isError() - * @generated - * @ordered - */ - protected boolean error = ERROR_EDEFAULT; - - /** - * - * - * @generated - */ - protected PredicateDefinitionImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return SolverLanguagePackage.Literals.PREDICATE_DEFINITION; - } - - /** - * - * - * @generated - */ - @Override - public Expression getHead() { - return head; - } - - /** - * - * - * @generated - */ - public NotificationChain basicSetHead(Expression newHead, NotificationChain msgs) { - Expression oldHead = head; - head = newHead; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.PREDICATE_DEFINITION__HEAD, oldHead, newHead); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * - * - * @generated - */ - @Override - public void setHead(Expression newHead) { - if (newHead != head) { - NotificationChain msgs = null; - if (head != null) - msgs = ((InternalEObject)head).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.PREDICATE_DEFINITION__HEAD, null, msgs); - if (newHead != null) - msgs = ((InternalEObject)newHead).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.PREDICATE_DEFINITION__HEAD, null, msgs); - msgs = basicSetHead(newHead, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.PREDICATE_DEFINITION__HEAD, newHead, newHead)); - } - - /** - * - * - * @generated - */ - @Override - public Expression getBody() { - return body; - } - - /** - * - * - * @generated - */ - public NotificationChain basicSetBody(Expression newBody, NotificationChain msgs) { - Expression oldBody = body; - body = newBody; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.PREDICATE_DEFINITION__BODY, oldBody, newBody); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * - * - * @generated - */ - @Override - public void setBody(Expression newBody) { - if (newBody != body) { - NotificationChain msgs = null; - if (body != null) - msgs = ((InternalEObject)body).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.PREDICATE_DEFINITION__BODY, null, msgs); - if (newBody != null) - msgs = ((InternalEObject)newBody).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.PREDICATE_DEFINITION__BODY, null, msgs); - msgs = basicSetBody(newBody, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.PREDICATE_DEFINITION__BODY, newBody, newBody)); - } - - /** - * - * - * @generated - */ - @Override - public boolean isFunctional() { - return functional; - } - - /** - * - * - * @generated - */ - @Override - public void setFunctional(boolean newFunctional) { - boolean oldFunctional = functional; - functional = newFunctional; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.PREDICATE_DEFINITION__FUNCTIONAL, oldFunctional, functional)); - } - - /** - * - * - * @generated - */ - @Override - public boolean isError() { - return error; - } - - /** - * - * - * @generated - */ - @Override - public void setError(boolean newError) { - boolean oldError = error; - error = newError; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.PREDICATE_DEFINITION__ERROR, oldError, error)); - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case SolverLanguagePackage.PREDICATE_DEFINITION__HEAD: - return basicSetHead(null, msgs); - case SolverLanguagePackage.PREDICATE_DEFINITION__BODY: - return basicSetBody(null, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case SolverLanguagePackage.PREDICATE_DEFINITION__HEAD: - return getHead(); - case SolverLanguagePackage.PREDICATE_DEFINITION__BODY: - return getBody(); - case SolverLanguagePackage.PREDICATE_DEFINITION__FUNCTIONAL: - return isFunctional(); - case SolverLanguagePackage.PREDICATE_DEFINITION__ERROR: - return isError(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case SolverLanguagePackage.PREDICATE_DEFINITION__HEAD: - setHead((Expression)newValue); - return; - case SolverLanguagePackage.PREDICATE_DEFINITION__BODY: - setBody((Expression)newValue); - return; - case SolverLanguagePackage.PREDICATE_DEFINITION__FUNCTIONAL: - setFunctional((Boolean)newValue); - return; - case SolverLanguagePackage.PREDICATE_DEFINITION__ERROR: - setError((Boolean)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case SolverLanguagePackage.PREDICATE_DEFINITION__HEAD: - setHead((Expression)null); - return; - case SolverLanguagePackage.PREDICATE_DEFINITION__BODY: - setBody((Expression)null); - return; - case SolverLanguagePackage.PREDICATE_DEFINITION__FUNCTIONAL: - setFunctional(FUNCTIONAL_EDEFAULT); - return; - case SolverLanguagePackage.PREDICATE_DEFINITION__ERROR: - setError(ERROR_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case SolverLanguagePackage.PREDICATE_DEFINITION__HEAD: - return head != null; - case SolverLanguagePackage.PREDICATE_DEFINITION__BODY: - return body != null; - case SolverLanguagePackage.PREDICATE_DEFINITION__FUNCTIONAL: - return functional != FUNCTIONAL_EDEFAULT; - case SolverLanguagePackage.PREDICATE_DEFINITION__ERROR: - return error != ERROR_EDEFAULT; - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuilder result = new StringBuilder(super.toString()); - result.append(" (functional: "); - result.append(functional); - result.append(", error: "); - result.append(error); - result.append(')'); - return result.toString(); - } - -} //PredicateDefinitionImpl diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/PredicateImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/PredicateImpl.java deleted file mode 100644 index 626b6419..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/PredicateImpl.java +++ /dev/null @@ -1,38 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage.impl; - -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.viatra.solver.language.solverLanguage.Predicate; -import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; - -/** - * - * An implementation of the model object 'Predicate'. - * - * - * @generated - */ -public class PredicateImpl extends FunctorImpl implements Predicate { - /** - * - * - * @generated - */ - protected PredicateImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return SolverLanguagePackage.Literals.PREDICATE; - } - -} //PredicateImpl diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ProblemImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ProblemImpl.java deleted file mode 100644 index 0a4ad5ce..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ProblemImpl.java +++ /dev/null @@ -1,154 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage.impl; - -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.impl.MinimalEObjectImpl; - -import org.eclipse.emf.ecore.util.EObjectContainmentEList; -import org.eclipse.emf.ecore.util.InternalEList; - -import org.eclipse.viatra.solver.language.solverLanguage.Problem; -import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; -import org.eclipse.viatra.solver.language.solverLanguage.Statement; - -/** - * - * An implementation of the model object 'Problem'. - * - *

    - * The following features are implemented: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.ProblemImpl#getStatements Statements}
    • - *
    - * - * @generated - */ -public class ProblemImpl extends MinimalEObjectImpl.Container implements Problem { - /** - * The cached value of the '{@link #getStatements() Statements}' containment reference list. - * - * - * @see #getStatements() - * @generated - * @ordered - */ - protected EList statements; - - /** - * - * - * @generated - */ - protected ProblemImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return SolverLanguagePackage.Literals.PROBLEM; - } - - /** - * - * - * @generated - */ - @Override - public EList getStatements() { - if (statements == null) { - statements = new EObjectContainmentEList(Statement.class, this, SolverLanguagePackage.PROBLEM__STATEMENTS); - } - return statements; - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case SolverLanguagePackage.PROBLEM__STATEMENTS: - return ((InternalEList)getStatements()).basicRemove(otherEnd, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case SolverLanguagePackage.PROBLEM__STATEMENTS: - return getStatements(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case SolverLanguagePackage.PROBLEM__STATEMENTS: - getStatements().clear(); - getStatements().addAll((Collection)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case SolverLanguagePackage.PROBLEM__STATEMENTS: - getStatements().clear(); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case SolverLanguagePackage.PROBLEM__STATEMENTS: - return statements != null && !statements.isEmpty(); - } - return super.eIsSet(featureID); - } - -} //ProblemImpl diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/QuantifiedExpressionImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/QuantifiedExpressionImpl.java deleted file mode 100644 index a1eecebd..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/QuantifiedExpressionImpl.java +++ /dev/null @@ -1,318 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage.impl; - -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.viatra.solver.language.solverLanguage.Expression; -import org.eclipse.viatra.solver.language.solverLanguage.LocalVariables; -import org.eclipse.viatra.solver.language.solverLanguage.QuantifiedExpression; -import org.eclipse.viatra.solver.language.solverLanguage.Quantifier; -import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; - -/** - * - * An implementation of the model object 'Quantified Expression'. - * - *

    - * The following features are implemented: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.QuantifiedExpressionImpl#getLocalVariables Local Variables}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.QuantifiedExpressionImpl#getBody Body}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.QuantifiedExpressionImpl#getQuantifier Quantifier}
    • - *
    - * - * @generated - */ -public class QuantifiedExpressionImpl extends ExpressionImpl implements QuantifiedExpression { - /** - * The cached value of the '{@link #getLocalVariables() Local Variables}' containment reference. - * - * - * @see #getLocalVariables() - * @generated - * @ordered - */ - protected LocalVariables localVariables; - - /** - * The cached value of the '{@link #getBody() Body}' containment reference. - * - * - * @see #getBody() - * @generated - * @ordered - */ - protected Expression body; - - /** - * The default value of the '{@link #getQuantifier() Quantifier}' attribute. - * - * - * @see #getQuantifier() - * @generated - * @ordered - */ - protected static final Quantifier QUANTIFIER_EDEFAULT = Quantifier.EXISTS; - - /** - * The cached value of the '{@link #getQuantifier() Quantifier}' attribute. - * - * - * @see #getQuantifier() - * @generated - * @ordered - */ - protected Quantifier quantifier = QUANTIFIER_EDEFAULT; - - /** - * - * - * @generated - */ - protected QuantifiedExpressionImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return SolverLanguagePackage.Literals.QUANTIFIED_EXPRESSION; - } - - /** - * - * - * @generated - */ - @Override - public LocalVariables getLocalVariables() { - return localVariables; - } - - /** - * - * - * @generated - */ - public NotificationChain basicSetLocalVariables(LocalVariables newLocalVariables, NotificationChain msgs) { - LocalVariables oldLocalVariables = localVariables; - localVariables = newLocalVariables; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.QUANTIFIED_EXPRESSION__LOCAL_VARIABLES, oldLocalVariables, newLocalVariables); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * - * - * @generated - */ - @Override - public void setLocalVariables(LocalVariables newLocalVariables) { - if (newLocalVariables != localVariables) { - NotificationChain msgs = null; - if (localVariables != null) - msgs = ((InternalEObject)localVariables).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.QUANTIFIED_EXPRESSION__LOCAL_VARIABLES, null, msgs); - if (newLocalVariables != null) - msgs = ((InternalEObject)newLocalVariables).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.QUANTIFIED_EXPRESSION__LOCAL_VARIABLES, null, msgs); - msgs = basicSetLocalVariables(newLocalVariables, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.QUANTIFIED_EXPRESSION__LOCAL_VARIABLES, newLocalVariables, newLocalVariables)); - } - - /** - * - * - * @generated - */ - @Override - public Expression getBody() { - return body; - } - - /** - * - * - * @generated - */ - public NotificationChain basicSetBody(Expression newBody, NotificationChain msgs) { - Expression oldBody = body; - body = newBody; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.QUANTIFIED_EXPRESSION__BODY, oldBody, newBody); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * - * - * @generated - */ - @Override - public void setBody(Expression newBody) { - if (newBody != body) { - NotificationChain msgs = null; - if (body != null) - msgs = ((InternalEObject)body).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.QUANTIFIED_EXPRESSION__BODY, null, msgs); - if (newBody != null) - msgs = ((InternalEObject)newBody).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.QUANTIFIED_EXPRESSION__BODY, null, msgs); - msgs = basicSetBody(newBody, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.QUANTIFIED_EXPRESSION__BODY, newBody, newBody)); - } - - /** - * - * - * @generated - */ - @Override - public Quantifier getQuantifier() { - return quantifier; - } - - /** - * - * - * @generated - */ - @Override - public void setQuantifier(Quantifier newQuantifier) { - Quantifier oldQuantifier = quantifier; - quantifier = newQuantifier == null ? QUANTIFIER_EDEFAULT : newQuantifier; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.QUANTIFIED_EXPRESSION__QUANTIFIER, oldQuantifier, quantifier)); - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case SolverLanguagePackage.QUANTIFIED_EXPRESSION__LOCAL_VARIABLES: - return basicSetLocalVariables(null, msgs); - case SolverLanguagePackage.QUANTIFIED_EXPRESSION__BODY: - return basicSetBody(null, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case SolverLanguagePackage.QUANTIFIED_EXPRESSION__LOCAL_VARIABLES: - return getLocalVariables(); - case SolverLanguagePackage.QUANTIFIED_EXPRESSION__BODY: - return getBody(); - case SolverLanguagePackage.QUANTIFIED_EXPRESSION__QUANTIFIER: - return getQuantifier(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case SolverLanguagePackage.QUANTIFIED_EXPRESSION__LOCAL_VARIABLES: - setLocalVariables((LocalVariables)newValue); - return; - case SolverLanguagePackage.QUANTIFIED_EXPRESSION__BODY: - setBody((Expression)newValue); - return; - case SolverLanguagePackage.QUANTIFIED_EXPRESSION__QUANTIFIER: - setQuantifier((Quantifier)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case SolverLanguagePackage.QUANTIFIED_EXPRESSION__LOCAL_VARIABLES: - setLocalVariables((LocalVariables)null); - return; - case SolverLanguagePackage.QUANTIFIED_EXPRESSION__BODY: - setBody((Expression)null); - return; - case SolverLanguagePackage.QUANTIFIED_EXPRESSION__QUANTIFIER: - setQuantifier(QUANTIFIER_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case SolverLanguagePackage.QUANTIFIED_EXPRESSION__LOCAL_VARIABLES: - return localVariables != null; - case SolverLanguagePackage.QUANTIFIED_EXPRESSION__BODY: - return body != null; - case SolverLanguagePackage.QUANTIFIED_EXPRESSION__QUANTIFIER: - return quantifier != QUANTIFIER_EDEFAULT; - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuilder result = new StringBuilder(super.toString()); - result.append(" (quantifier: "); - result.append(quantifier); - result.append(')'); - return result.toString(); - } - -} //QuantifiedExpressionImpl diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ReferenceImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ReferenceImpl.java deleted file mode 100644 index 0be1aac7..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ReferenceImpl.java +++ /dev/null @@ -1,159 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage.impl; - -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.solver.language.solverLanguage.NamedElement; -import org.eclipse.viatra.solver.language.solverLanguage.Reference; -import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; - -/** - * - * An implementation of the model object 'Reference'. - * - *

    - * The following features are implemented: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.ReferenceImpl#getReferred Referred}
    • - *
    - * - * @generated - */ -public class ReferenceImpl extends ExpressionImpl implements Reference { - /** - * The cached value of the '{@link #getReferred() Referred}' reference. - * - * - * @see #getReferred() - * @generated - * @ordered - */ - protected NamedElement referred; - - /** - * - * - * @generated - */ - protected ReferenceImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return SolverLanguagePackage.Literals.REFERENCE; - } - - /** - * - * - * @generated - */ - @Override - public NamedElement getReferred() { - if (referred != null && referred.eIsProxy()) { - InternalEObject oldReferred = (InternalEObject)referred; - referred = (NamedElement)eResolveProxy(oldReferred); - if (referred != oldReferred) { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, SolverLanguagePackage.REFERENCE__REFERRED, oldReferred, referred)); - } - } - return referred; - } - - /** - * - * - * @generated - */ - public NamedElement basicGetReferred() { - return referred; - } - - /** - * - * - * @generated - */ - @Override - public void setReferred(NamedElement newReferred) { - NamedElement oldReferred = referred; - referred = newReferred; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.REFERENCE__REFERRED, oldReferred, referred)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case SolverLanguagePackage.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 SolverLanguagePackage.REFERENCE__REFERRED: - setReferred((NamedElement)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case SolverLanguagePackage.REFERENCE__REFERRED: - setReferred((NamedElement)null); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case SolverLanguagePackage.REFERENCE__REFERRED: - return referred != null; - } - return super.eIsSet(featureID); - } - -} //ReferenceImpl diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ScopeDefinitionImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ScopeDefinitionImpl.java deleted file mode 100644 index a4cf94a7..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/ScopeDefinitionImpl.java +++ /dev/null @@ -1,159 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage.impl; - -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.solver.language.solverLanguage.NamedElement; -import org.eclipse.viatra.solver.language.solverLanguage.ScopeDefinition; -import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; - -/** - * - * An implementation of the model object 'Scope Definition'. - * - *

    - * The following features are implemented: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.ScopeDefinitionImpl#getType Type}
    • - *
    - * - * @generated - */ -public class ScopeDefinitionImpl extends StatementImpl implements ScopeDefinition { - /** - * The cached value of the '{@link #getType() Type}' reference. - * - * - * @see #getType() - * @generated - * @ordered - */ - protected NamedElement type; - - /** - * - * - * @generated - */ - protected ScopeDefinitionImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return SolverLanguagePackage.Literals.SCOPE_DEFINITION; - } - - /** - * - * - * @generated - */ - @Override - public NamedElement getType() { - if (type != null && type.eIsProxy()) { - InternalEObject oldType = (InternalEObject)type; - type = (NamedElement)eResolveProxy(oldType); - if (type != oldType) { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, SolverLanguagePackage.SCOPE_DEFINITION__TYPE, oldType, type)); - } - } - return type; - } - - /** - * - * - * @generated - */ - public NamedElement basicGetType() { - return type; - } - - /** - * - * - * @generated - */ - @Override - public void setType(NamedElement newType) { - NamedElement oldType = type; - type = newType; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.SCOPE_DEFINITION__TYPE, oldType, type)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case SolverLanguagePackage.SCOPE_DEFINITION__TYPE: - if (resolve) return getType(); - return basicGetType(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case SolverLanguagePackage.SCOPE_DEFINITION__TYPE: - setType((NamedElement)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case SolverLanguagePackage.SCOPE_DEFINITION__TYPE: - setType((NamedElement)null); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case SolverLanguagePackage.SCOPE_DEFINITION__TYPE: - return type != null; - } - return super.eIsSet(featureID); - } - -} //ScopeDefinitionImpl diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/SolverLanguageFactoryImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/SolverLanguageFactoryImpl.java deleted file mode 100644 index 5787175b..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/SolverLanguageFactoryImpl.java +++ /dev/null @@ -1,905 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage.impl; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EDataType; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.EPackage; - -import org.eclipse.emf.ecore.impl.EFactoryImpl; - -import org.eclipse.emf.ecore.plugin.EcorePlugin; - -import org.eclipse.viatra.solver.language.solverLanguage.*; - -/** - * - * An implementation of the model Factory. - * - * @generated - */ -public class SolverLanguageFactoryImpl extends EFactoryImpl implements SolverLanguageFactory { - /** - * Creates the default factory implementation. - * - * - * @generated - */ - public static SolverLanguageFactory init() { - try { - SolverLanguageFactory theSolverLanguageFactory = (SolverLanguageFactory)EPackage.Registry.INSTANCE.getEFactory(SolverLanguagePackage.eNS_URI); - if (theSolverLanguageFactory != null) { - return theSolverLanguageFactory; - } - } - catch (Exception exception) { - EcorePlugin.INSTANCE.log(exception); - } - return new SolverLanguageFactoryImpl(); - } - - /** - * Creates an instance of the factory. - * - * - * @generated - */ - public SolverLanguageFactoryImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - public EObject create(EClass eClass) { - switch (eClass.getClassifierID()) { - case SolverLanguagePackage.PROBLEM: return createProblem(); - case SolverLanguagePackage.STATEMENT: return createStatement(); - case SolverLanguagePackage.PREDICATE_DEFINITION: return createPredicateDefinition(); - case SolverLanguagePackage.UNNAMED_ERROR_PREDIATE_DEFINITION: return createUnnamedErrorPrediateDefinition(); - case SolverLanguagePackage.DEFAULT_DEFINITION: return createDefaultDefinition(); - case SolverLanguagePackage.METRIC_DEFINITION: return createMetricDefinition(); - case SolverLanguagePackage.EXTERN_PREDICATE_DEFINITION: return createExternPredicateDefinition(); - case SolverLanguagePackage.EXTERN_METRIC_DEFINITION: return createExternMetricDefinition(); - case SolverLanguagePackage.EXTERN_AGGREGATOR_DEFINITION: return createExternAggregatorDefinition(); - case SolverLanguagePackage.EXTERN_DATATYPE_DEFINITION: return createExternDatatypeDefinition(); - case SolverLanguagePackage.NAMED_ELEMENT: return createNamedElement(); - case SolverLanguagePackage.IF_ELSE: return createIfElse(); - case SolverLanguagePackage.LET: return createLet(); - case SolverLanguagePackage.LET_BINDING: return createLetBinding(); - case SolverLanguagePackage.CASE: return createCase(); - case SolverLanguagePackage.LOCAL_VARIABLES: return createLocalVariables(); - case SolverLanguagePackage.QUANTIFIED_EXPRESSION: return createQuantifiedExpression(); - case SolverLanguagePackage.AGGREGATION: return createAggregation(); - case SolverLanguagePackage.CALL: return createCall(); - case SolverLanguagePackage.ARGUMENT_LIST: return createArgumentList(); - case SolverLanguagePackage.ARGUMENT: return createArgument(); - case SolverLanguagePackage.EXPRESSION_ARGUMENT: return createExpressionArgument(); - case SolverLanguagePackage.STAR_ARGUMENT: return createStarArgument(); - case SolverLanguagePackage.TYPED_ARGUMENT: return createTypedArgument(); - case SolverLanguagePackage.TYPED_STAR_ARGUMENT: return createTypedStarArgument(); - case SolverLanguagePackage.REFERENCE: return createReference(); - case SolverLanguagePackage.INTERVAL: return createInterval(); - case SolverLanguagePackage.LITERAL: return createLiteral(); - case SolverLanguagePackage.LOGIC_LITERAL: return createLogicLiteral(); - case SolverLanguagePackage.NUMERIC_LITERAL: return createNumericLiteral(); - case SolverLanguagePackage.INFINITY_LITERAL: return createInfinityLiteral(); - case SolverLanguagePackage.EMPTY_INTERVAL_LITERAL: return createEmptyIntervalLiteral(); - case SolverLanguagePackage.STRING_LITERAL: return createStringLiteral(); - case SolverLanguagePackage.CLASS_DEFINITION: return createClassDefinition(); - case SolverLanguagePackage.MEMBER_DEFINITION: return createMemberDefinition(); - case SolverLanguagePackage.MULTIPLICITY: return createMultiplicity(); - case SolverLanguagePackage.MANY_MULTIPLICITY: return createManyMultiplicity(); - case SolverLanguagePackage.EXACT_MULTIPLICITY: return createExactMultiplicity(); - case SolverLanguagePackage.BOUNDED_MULTIPLICITY: return createBoundedMultiplicity(); - case SolverLanguagePackage.SCOPE_DEFINITION: return createScopeDefinition(); - case SolverLanguagePackage.EXACT_SCOPE_DEFINITION: return createExactScopeDefinition(); - case SolverLanguagePackage.BOUNDED_SCOPE_DEFINITION: return createBoundedScopeDefinition(); - case SolverLanguagePackage.LOWER_BOUNDED_SCOPE_DEFINITION: return createLowerBoundedScopeDefinition(); - case SolverLanguagePackage.OBJECTIVE_DEFINITION: return createObjectiveDefinition(); - case SolverLanguagePackage.INTERPRETATION: return createInterpretation(); - case SolverLanguagePackage.VARIABLE: return createVariable(); - case SolverLanguagePackage.DISJUNCTION: return createDisjunction(); - case SolverLanguagePackage.SWITCH: return createSwitch(); - case SolverLanguagePackage.CONJUNCTION: return createConjunction(); - case SolverLanguagePackage.COMPARISON: return createComparison(); - case SolverLanguagePackage.BINARY_EXPRESSION: return createBinaryExpression(); - case SolverLanguagePackage.CAST_EXPRESSION: return createCastExpression(); - case SolverLanguagePackage.UNARY_EXPRESSION: return createUnaryExpression(); - case SolverLanguagePackage.NODE: return createNode(); - case SolverLanguagePackage.PREDICATE: return createPredicate(); - case SolverLanguagePackage.METRIC: return createMetric(); - default: - throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); - } - } - - /** - * - * - * @generated - */ - @Override - public Object createFromString(EDataType eDataType, String initialValue) { - switch (eDataType.getClassifierID()) { - case SolverLanguagePackage.BINARY_OPERATOR: - return createBinaryOperatorFromString(eDataType, initialValue); - case SolverLanguagePackage.UNARY_OP: - return createUnaryOpFromString(eDataType, initialValue); - case SolverLanguagePackage.LOGIC_VALUE: - return createLogicValueFromString(eDataType, initialValue); - case SolverLanguagePackage.OBJECTIVE_KIND: - return createObjectiveKindFromString(eDataType, initialValue); - case SolverLanguagePackage.QUANTIFIER: - return createQuantifierFromString(eDataType, initialValue); - default: - throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); - } - } - - /** - * - * - * @generated - */ - @Override - public String convertToString(EDataType eDataType, Object instanceValue) { - switch (eDataType.getClassifierID()) { - case SolverLanguagePackage.BINARY_OPERATOR: - return convertBinaryOperatorToString(eDataType, instanceValue); - case SolverLanguagePackage.UNARY_OP: - return convertUnaryOpToString(eDataType, instanceValue); - case SolverLanguagePackage.LOGIC_VALUE: - return convertLogicValueToString(eDataType, instanceValue); - case SolverLanguagePackage.OBJECTIVE_KIND: - return convertObjectiveKindToString(eDataType, instanceValue); - case SolverLanguagePackage.QUANTIFIER: - return convertQuantifierToString(eDataType, instanceValue); - default: - throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); - } - } - - /** - * - * - * @generated - */ - @Override - public Problem createProblem() { - ProblemImpl problem = new ProblemImpl(); - return problem; - } - - /** - * - * - * @generated - */ - @Override - public Statement createStatement() { - StatementImpl statement = new StatementImpl(); - return statement; - } - - /** - * - * - * @generated - */ - @Override - public PredicateDefinition createPredicateDefinition() { - PredicateDefinitionImpl predicateDefinition = new PredicateDefinitionImpl(); - return predicateDefinition; - } - - /** - * - * - * @generated - */ - @Override - public UnnamedErrorPrediateDefinition createUnnamedErrorPrediateDefinition() { - UnnamedErrorPrediateDefinitionImpl unnamedErrorPrediateDefinition = new UnnamedErrorPrediateDefinitionImpl(); - return unnamedErrorPrediateDefinition; - } - - /** - * - * - * @generated - */ - @Override - public DefaultDefinition createDefaultDefinition() { - DefaultDefinitionImpl defaultDefinition = new DefaultDefinitionImpl(); - return defaultDefinition; - } - - /** - * - * - * @generated - */ - @Override - public MetricDefinition createMetricDefinition() { - MetricDefinitionImpl metricDefinition = new MetricDefinitionImpl(); - return metricDefinition; - } - - /** - * - * - * @generated - */ - @Override - public ExternPredicateDefinition createExternPredicateDefinition() { - ExternPredicateDefinitionImpl externPredicateDefinition = new ExternPredicateDefinitionImpl(); - return externPredicateDefinition; - } - - /** - * - * - * @generated - */ - @Override - public ExternMetricDefinition createExternMetricDefinition() { - ExternMetricDefinitionImpl externMetricDefinition = new ExternMetricDefinitionImpl(); - return externMetricDefinition; - } - - /** - * - * - * @generated - */ - @Override - public ExternAggregatorDefinition createExternAggregatorDefinition() { - ExternAggregatorDefinitionImpl externAggregatorDefinition = new ExternAggregatorDefinitionImpl(); - return externAggregatorDefinition; - } - - /** - * - * - * @generated - */ - @Override - public ExternDatatypeDefinition createExternDatatypeDefinition() { - ExternDatatypeDefinitionImpl externDatatypeDefinition = new ExternDatatypeDefinitionImpl(); - return externDatatypeDefinition; - } - - /** - * - * - * @generated - */ - @Override - public NamedElement createNamedElement() { - NamedElementImpl namedElement = new NamedElementImpl(); - return namedElement; - } - - /** - * - * - * @generated - */ - @Override - public IfElse createIfElse() { - IfElseImpl ifElse = new IfElseImpl(); - return ifElse; - } - - /** - * - * - * @generated - */ - @Override - public Let createLet() { - LetImpl let = new LetImpl(); - return let; - } - - /** - * - * - * @generated - */ - @Override - public LetBinding createLetBinding() { - LetBindingImpl letBinding = new LetBindingImpl(); - return letBinding; - } - - /** - * - * - * @generated - */ - @Override - public Case createCase() { - CaseImpl case_ = new CaseImpl(); - return case_; - } - - /** - * - * - * @generated - */ - @Override - public LocalVariables createLocalVariables() { - LocalVariablesImpl localVariables = new LocalVariablesImpl(); - return localVariables; - } - - /** - * - * - * @generated - */ - @Override - public QuantifiedExpression createQuantifiedExpression() { - QuantifiedExpressionImpl quantifiedExpression = new QuantifiedExpressionImpl(); - return quantifiedExpression; - } - - /** - * - * - * @generated - */ - @Override - public Aggregation createAggregation() { - AggregationImpl aggregation = new AggregationImpl(); - return aggregation; - } - - /** - * - * - * @generated - */ - @Override - public Call createCall() { - CallImpl call = new CallImpl(); - return call; - } - - /** - * - * - * @generated - */ - @Override - public ArgumentList createArgumentList() { - ArgumentListImpl argumentList = new ArgumentListImpl(); - return argumentList; - } - - /** - * - * - * @generated - */ - @Override - public Argument createArgument() { - ArgumentImpl argument = new ArgumentImpl(); - return argument; - } - - /** - * - * - * @generated - */ - @Override - public ExpressionArgument createExpressionArgument() { - ExpressionArgumentImpl expressionArgument = new ExpressionArgumentImpl(); - return expressionArgument; - } - - /** - * - * - * @generated - */ - @Override - public StarArgument createStarArgument() { - StarArgumentImpl starArgument = new StarArgumentImpl(); - return starArgument; - } - - /** - * - * - * @generated - */ - @Override - public TypedArgument createTypedArgument() { - TypedArgumentImpl typedArgument = new TypedArgumentImpl(); - return typedArgument; - } - - /** - * - * - * @generated - */ - @Override - public TypedStarArgument createTypedStarArgument() { - TypedStarArgumentImpl typedStarArgument = new TypedStarArgumentImpl(); - return typedStarArgument; - } - - /** - * - * - * @generated - */ - @Override - public Reference createReference() { - ReferenceImpl reference = new ReferenceImpl(); - return reference; - } - - /** - * - * - * @generated - */ - @Override - public Interval createInterval() { - IntervalImpl interval = new IntervalImpl(); - return interval; - } - - /** - * - * - * @generated - */ - @Override - public Literal createLiteral() { - LiteralImpl literal = new LiteralImpl(); - return literal; - } - - /** - * - * - * @generated - */ - @Override - public LogicLiteral createLogicLiteral() { - LogicLiteralImpl logicLiteral = new LogicLiteralImpl(); - return logicLiteral; - } - - /** - * - * - * @generated - */ - @Override - public NumericLiteral createNumericLiteral() { - NumericLiteralImpl numericLiteral = new NumericLiteralImpl(); - return numericLiteral; - } - - /** - * - * - * @generated - */ - @Override - public InfinityLiteral createInfinityLiteral() { - InfinityLiteralImpl infinityLiteral = new InfinityLiteralImpl(); - return infinityLiteral; - } - - /** - * - * - * @generated - */ - @Override - public EmptyIntervalLiteral createEmptyIntervalLiteral() { - EmptyIntervalLiteralImpl emptyIntervalLiteral = new EmptyIntervalLiteralImpl(); - return emptyIntervalLiteral; - } - - /** - * - * - * @generated - */ - @Override - public StringLiteral createStringLiteral() { - StringLiteralImpl stringLiteral = new StringLiteralImpl(); - return stringLiteral; - } - - /** - * - * - * @generated - */ - @Override - public ClassDefinition createClassDefinition() { - ClassDefinitionImpl classDefinition = new ClassDefinitionImpl(); - return classDefinition; - } - - /** - * - * - * @generated - */ - @Override - public MemberDefinition createMemberDefinition() { - MemberDefinitionImpl memberDefinition = new MemberDefinitionImpl(); - return memberDefinition; - } - - /** - * - * - * @generated - */ - @Override - public Multiplicity createMultiplicity() { - MultiplicityImpl multiplicity = new MultiplicityImpl(); - return multiplicity; - } - - /** - * - * - * @generated - */ - @Override - public ManyMultiplicity createManyMultiplicity() { - ManyMultiplicityImpl manyMultiplicity = new ManyMultiplicityImpl(); - return manyMultiplicity; - } - - /** - * - * - * @generated - */ - @Override - public ExactMultiplicity createExactMultiplicity() { - ExactMultiplicityImpl exactMultiplicity = new ExactMultiplicityImpl(); - return exactMultiplicity; - } - - /** - * - * - * @generated - */ - @Override - public BoundedMultiplicity createBoundedMultiplicity() { - BoundedMultiplicityImpl boundedMultiplicity = new BoundedMultiplicityImpl(); - return boundedMultiplicity; - } - - /** - * - * - * @generated - */ - @Override - public ScopeDefinition createScopeDefinition() { - ScopeDefinitionImpl scopeDefinition = new ScopeDefinitionImpl(); - return scopeDefinition; - } - - /** - * - * - * @generated - */ - @Override - public ExactScopeDefinition createExactScopeDefinition() { - ExactScopeDefinitionImpl exactScopeDefinition = new ExactScopeDefinitionImpl(); - return exactScopeDefinition; - } - - /** - * - * - * @generated - */ - @Override - public BoundedScopeDefinition createBoundedScopeDefinition() { - BoundedScopeDefinitionImpl boundedScopeDefinition = new BoundedScopeDefinitionImpl(); - return boundedScopeDefinition; - } - - /** - * - * - * @generated - */ - @Override - public LowerBoundedScopeDefinition createLowerBoundedScopeDefinition() { - LowerBoundedScopeDefinitionImpl lowerBoundedScopeDefinition = new LowerBoundedScopeDefinitionImpl(); - return lowerBoundedScopeDefinition; - } - - /** - * - * - * @generated - */ - @Override - public ObjectiveDefinition createObjectiveDefinition() { - ObjectiveDefinitionImpl objectiveDefinition = new ObjectiveDefinitionImpl(); - return objectiveDefinition; - } - - /** - * - * - * @generated - */ - @Override - public Interpretation createInterpretation() { - InterpretationImpl interpretation = new InterpretationImpl(); - return interpretation; - } - - /** - * - * - * @generated - */ - @Override - public Variable createVariable() { - VariableImpl variable = new VariableImpl(); - return variable; - } - - /** - * - * - * @generated - */ - @Override - public Disjunction createDisjunction() { - DisjunctionImpl disjunction = new DisjunctionImpl(); - return disjunction; - } - - /** - * - * - * @generated - */ - @Override - public Switch createSwitch() { - SwitchImpl switch_ = new SwitchImpl(); - return switch_; - } - - /** - * - * - * @generated - */ - @Override - public Conjunction createConjunction() { - ConjunctionImpl conjunction = new ConjunctionImpl(); - return conjunction; - } - - /** - * - * - * @generated - */ - @Override - public Comparison createComparison() { - ComparisonImpl comparison = new ComparisonImpl(); - return comparison; - } - - /** - * - * - * @generated - */ - @Override - public BinaryExpression createBinaryExpression() { - BinaryExpressionImpl binaryExpression = new BinaryExpressionImpl(); - return binaryExpression; - } - - /** - * - * - * @generated - */ - @Override - public CastExpression createCastExpression() { - CastExpressionImpl castExpression = new CastExpressionImpl(); - return castExpression; - } - - /** - * - * - * @generated - */ - @Override - public UnaryExpression createUnaryExpression() { - UnaryExpressionImpl unaryExpression = new UnaryExpressionImpl(); - return unaryExpression; - } - - /** - * - * - * @generated - */ - @Override - public Node createNode() { - NodeImpl node = new NodeImpl(); - return node; - } - - /** - * - * - * @generated - */ - @Override - public Predicate createPredicate() { - PredicateImpl predicate = new PredicateImpl(); - return predicate; - } - - /** - * - * - * @generated - */ - @Override - public Metric createMetric() { - MetricImpl metric = new MetricImpl(); - return metric; - } - - /** - * - * - * @generated - */ - public BinaryOperator createBinaryOperatorFromString(EDataType eDataType, String initialValue) { - BinaryOperator result = BinaryOperator.get(initialValue); - if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); - return result; - } - - /** - * - * - * @generated - */ - public String convertBinaryOperatorToString(EDataType eDataType, Object instanceValue) { - return instanceValue == null ? null : instanceValue.toString(); - } - - /** - * - * - * @generated - */ - public UnaryOp createUnaryOpFromString(EDataType eDataType, String initialValue) { - UnaryOp result = UnaryOp.get(initialValue); - if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); - return result; - } - - /** - * - * - * @generated - */ - public String convertUnaryOpToString(EDataType eDataType, Object instanceValue) { - return instanceValue == null ? null : instanceValue.toString(); - } - - /** - * - * - * @generated - */ - public LogicValue createLogicValueFromString(EDataType eDataType, String initialValue) { - LogicValue result = LogicValue.get(initialValue); - if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); - return result; - } - - /** - * - * - * @generated - */ - public String convertLogicValueToString(EDataType eDataType, Object instanceValue) { - return instanceValue == null ? null : instanceValue.toString(); - } - - /** - * - * - * @generated - */ - public ObjectiveKind createObjectiveKindFromString(EDataType eDataType, String initialValue) { - ObjectiveKind result = ObjectiveKind.get(initialValue); - if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); - return result; - } - - /** - * - * - * @generated - */ - public String convertObjectiveKindToString(EDataType eDataType, Object instanceValue) { - return instanceValue == null ? null : instanceValue.toString(); - } - - /** - * - * - * @generated - */ - public Quantifier createQuantifierFromString(EDataType eDataType, String initialValue) { - Quantifier result = Quantifier.get(initialValue); - if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); - return result; - } - - /** - * - * - * @generated - */ - public String convertQuantifierToString(EDataType eDataType, Object instanceValue) { - return instanceValue == null ? null : instanceValue.toString(); - } - - /** - * - * - * @generated - */ - @Override - public SolverLanguagePackage getSolverLanguagePackage() { - return (SolverLanguagePackage)getEPackage(); - } - - /** - * - * - * @deprecated - * @generated - */ - @Deprecated - public static SolverLanguagePackage getPackage() { - return SolverLanguagePackage.eINSTANCE; - } - -} //SolverLanguageFactoryImpl diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/SolverLanguagePackageImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/SolverLanguagePackageImpl.java deleted file mode 100644 index e8834386..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/SolverLanguagePackageImpl.java +++ /dev/null @@ -1,2726 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage.impl; - -import org.eclipse.emf.ecore.EAttribute; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EEnum; -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.emf.ecore.EReference; - -import org.eclipse.emf.ecore.impl.EPackageImpl; - -import org.eclipse.viatra.solver.language.solverLanguage.Aggregation; -import org.eclipse.viatra.solver.language.solverLanguage.Argument; -import org.eclipse.viatra.solver.language.solverLanguage.ArgumentList; -import org.eclipse.viatra.solver.language.solverLanguage.BinaryExpression; -import org.eclipse.viatra.solver.language.solverLanguage.BinaryOperator; -import org.eclipse.viatra.solver.language.solverLanguage.BoundedMultiplicity; -import org.eclipse.viatra.solver.language.solverLanguage.BoundedScopeDefinition; -import org.eclipse.viatra.solver.language.solverLanguage.Call; -import org.eclipse.viatra.solver.language.solverLanguage.Case; -import org.eclipse.viatra.solver.language.solverLanguage.CastExpression; -import org.eclipse.viatra.solver.language.solverLanguage.ClassDefinition; -import org.eclipse.viatra.solver.language.solverLanguage.Comparison; -import org.eclipse.viatra.solver.language.solverLanguage.Conjunction; -import org.eclipse.viatra.solver.language.solverLanguage.DefaultDefinition; -import org.eclipse.viatra.solver.language.solverLanguage.Disjunction; -import org.eclipse.viatra.solver.language.solverLanguage.EmptyIntervalLiteral; -import org.eclipse.viatra.solver.language.solverLanguage.ExactMultiplicity; -import org.eclipse.viatra.solver.language.solverLanguage.ExactScopeDefinition; -import org.eclipse.viatra.solver.language.solverLanguage.Expression; -import org.eclipse.viatra.solver.language.solverLanguage.ExpressionArgument; -import org.eclipse.viatra.solver.language.solverLanguage.ExternAggregatorDefinition; -import org.eclipse.viatra.solver.language.solverLanguage.ExternDatatypeDefinition; -import org.eclipse.viatra.solver.language.solverLanguage.ExternMetricDefinition; -import org.eclipse.viatra.solver.language.solverLanguage.ExternPredicateDefinition; -import org.eclipse.viatra.solver.language.solverLanguage.Functor; -import org.eclipse.viatra.solver.language.solverLanguage.IfElse; -import org.eclipse.viatra.solver.language.solverLanguage.InfinityLiteral; -import org.eclipse.viatra.solver.language.solverLanguage.Interpretation; -import org.eclipse.viatra.solver.language.solverLanguage.Interval; -import org.eclipse.viatra.solver.language.solverLanguage.Let; -import org.eclipse.viatra.solver.language.solverLanguage.LetBinding; -import org.eclipse.viatra.solver.language.solverLanguage.Literal; -import org.eclipse.viatra.solver.language.solverLanguage.LocalVariables; -import org.eclipse.viatra.solver.language.solverLanguage.LogicLiteral; -import org.eclipse.viatra.solver.language.solverLanguage.LogicValue; -import org.eclipse.viatra.solver.language.solverLanguage.LowerBoundedScopeDefinition; -import org.eclipse.viatra.solver.language.solverLanguage.ManyMultiplicity; -import org.eclipse.viatra.solver.language.solverLanguage.MemberDefinition; -import org.eclipse.viatra.solver.language.solverLanguage.Metric; -import org.eclipse.viatra.solver.language.solverLanguage.MetricDefinition; -import org.eclipse.viatra.solver.language.solverLanguage.Multiplicity; -import org.eclipse.viatra.solver.language.solverLanguage.NamedElement; -import org.eclipse.viatra.solver.language.solverLanguage.Node; -import org.eclipse.viatra.solver.language.solverLanguage.NumericLiteral; -import org.eclipse.viatra.solver.language.solverLanguage.ObjectiveDefinition; -import org.eclipse.viatra.solver.language.solverLanguage.ObjectiveKind; -import org.eclipse.viatra.solver.language.solverLanguage.Predicate; -import org.eclipse.viatra.solver.language.solverLanguage.PredicateDefinition; -import org.eclipse.viatra.solver.language.solverLanguage.Problem; -import org.eclipse.viatra.solver.language.solverLanguage.QuantifiedExpression; -import org.eclipse.viatra.solver.language.solverLanguage.Quantifier; -import org.eclipse.viatra.solver.language.solverLanguage.Reference; -import org.eclipse.viatra.solver.language.solverLanguage.ScopeDefinition; -import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguageFactory; -import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; -import org.eclipse.viatra.solver.language.solverLanguage.StarArgument; -import org.eclipse.viatra.solver.language.solverLanguage.Statement; -import org.eclipse.viatra.solver.language.solverLanguage.StringLiteral; -import org.eclipse.viatra.solver.language.solverLanguage.Switch; -import org.eclipse.viatra.solver.language.solverLanguage.TypedArgument; -import org.eclipse.viatra.solver.language.solverLanguage.TypedStarArgument; -import org.eclipse.viatra.solver.language.solverLanguage.UnaryExpression; -import org.eclipse.viatra.solver.language.solverLanguage.UnaryOp; -import org.eclipse.viatra.solver.language.solverLanguage.UnnamedErrorPrediateDefinition; -import org.eclipse.viatra.solver.language.solverLanguage.Variable; - -/** - * - * An implementation of the model Package. - * - * @generated - */ -public class SolverLanguagePackageImpl extends EPackageImpl implements SolverLanguagePackage { - /** - * - * - * @generated - */ - private EClass problemEClass = null; - - /** - * - * - * @generated - */ - private EClass statementEClass = null; - - /** - * - * - * @generated - */ - private EClass predicateDefinitionEClass = null; - - /** - * - * - * @generated - */ - private EClass unnamedErrorPrediateDefinitionEClass = null; - - /** - * - * - * @generated - */ - private EClass defaultDefinitionEClass = null; - - /** - * - * - * @generated - */ - private EClass metricDefinitionEClass = null; - - /** - * - * - * @generated - */ - private EClass externPredicateDefinitionEClass = null; - - /** - * - * - * @generated - */ - private EClass externMetricDefinitionEClass = null; - - /** - * - * - * @generated - */ - private EClass externAggregatorDefinitionEClass = null; - - /** - * - * - * @generated - */ - private EClass externDatatypeDefinitionEClass = null; - - /** - * - * - * @generated - */ - private EClass namedElementEClass = null; - - /** - * - * - * @generated - */ - private EClass expressionEClass = null; - - /** - * - * - * @generated - */ - private EClass ifElseEClass = null; - - /** - * - * - * @generated - */ - private EClass letEClass = null; - - /** - * - * - * @generated - */ - private EClass letBindingEClass = null; - - /** - * - * - * @generated - */ - private EClass caseEClass = null; - - /** - * - * - * @generated - */ - private EClass localVariablesEClass = null; - - /** - * - * - * @generated - */ - private EClass quantifiedExpressionEClass = null; - - /** - * - * - * @generated - */ - private EClass aggregationEClass = null; - - /** - * - * - * @generated - */ - private EClass callEClass = null; - - /** - * - * - * @generated - */ - private EClass argumentListEClass = null; - - /** - * - * - * @generated - */ - private EClass argumentEClass = null; - - /** - * - * - * @generated - */ - private EClass expressionArgumentEClass = null; - - /** - * - * - * @generated - */ - private EClass starArgumentEClass = null; - - /** - * - * - * @generated - */ - private EClass typedArgumentEClass = null; - - /** - * - * - * @generated - */ - private EClass typedStarArgumentEClass = null; - - /** - * - * - * @generated - */ - private EClass referenceEClass = null; - - /** - * - * - * @generated - */ - private EClass intervalEClass = null; - - /** - * - * - * @generated - */ - private EClass literalEClass = null; - - /** - * - * - * @generated - */ - private EClass logicLiteralEClass = null; - - /** - * - * - * @generated - */ - private EClass numericLiteralEClass = null; - - /** - * - * - * @generated - */ - private EClass infinityLiteralEClass = null; - - /** - * - * - * @generated - */ - private EClass emptyIntervalLiteralEClass = null; - - /** - * - * - * @generated - */ - private EClass stringLiteralEClass = null; - - /** - * - * - * @generated - */ - private EClass classDefinitionEClass = null; - - /** - * - * - * @generated - */ - private EClass memberDefinitionEClass = null; - - /** - * - * - * @generated - */ - private EClass multiplicityEClass = null; - - /** - * - * - * @generated - */ - private EClass manyMultiplicityEClass = null; - - /** - * - * - * @generated - */ - private EClass exactMultiplicityEClass = null; - - /** - * - * - * @generated - */ - private EClass boundedMultiplicityEClass = null; - - /** - * - * - * @generated - */ - private EClass scopeDefinitionEClass = null; - - /** - * - * - * @generated - */ - private EClass exactScopeDefinitionEClass = null; - - /** - * - * - * @generated - */ - private EClass boundedScopeDefinitionEClass = null; - - /** - * - * - * @generated - */ - private EClass lowerBoundedScopeDefinitionEClass = null; - - /** - * - * - * @generated - */ - private EClass objectiveDefinitionEClass = null; - - /** - * - * - * @generated - */ - private EClass interpretationEClass = null; - - /** - * - * - * @generated - */ - private EClass variableEClass = null; - - /** - * - * - * @generated - */ - private EClass disjunctionEClass = null; - - /** - * - * - * @generated - */ - private EClass switchEClass = null; - - /** - * - * - * @generated - */ - private EClass conjunctionEClass = null; - - /** - * - * - * @generated - */ - private EClass comparisonEClass = null; - - /** - * - * - * @generated - */ - private EClass binaryExpressionEClass = null; - - /** - * - * - * @generated - */ - private EClass castExpressionEClass = null; - - /** - * - * - * @generated - */ - private EClass unaryExpressionEClass = null; - - /** - * - * - * @generated - */ - private EClass nodeEClass = null; - - /** - * - * - * @generated - */ - private EClass functorEClass = null; - - /** - * - * - * @generated - */ - private EClass predicateEClass = null; - - /** - * - * - * @generated - */ - private EClass metricEClass = null; - - /** - * - * - * @generated - */ - private EEnum binaryOperatorEEnum = null; - - /** - * - * - * @generated - */ - private EEnum unaryOpEEnum = null; - - /** - * - * - * @generated - */ - private EEnum logicValueEEnum = null; - - /** - * - * - * @generated - */ - private EEnum objectiveKindEEnum = null; - - /** - * - * - * @generated - */ - private EEnum quantifierEEnum = null; - - /** - * Creates an instance of the model Package, registered with - * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package - * package URI value. - *

    Note: the correct way to create the package is via the static - * factory method {@link #init init()}, which also performs - * initialization of the package, or returns the registered package, - * if one already exists. - * - * - * @see org.eclipse.emf.ecore.EPackage.Registry - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#eNS_URI - * @see #init() - * @generated - */ - private SolverLanguagePackageImpl() { - super(eNS_URI, SolverLanguageFactory.eINSTANCE); - } - - /** - * - * - * @generated - */ - private static boolean isInited = false; - - /** - * Creates, registers, and initializes the Package for this model, and for any others upon which it depends. - * - *

    This method is used to initialize {@link SolverLanguagePackage#eINSTANCE} when that field is accessed. - * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. - * - * - * @see #eNS_URI - * @see #createPackageContents() - * @see #initializePackageContents() - * @generated - */ - public static SolverLanguagePackage init() { - if (isInited) return (SolverLanguagePackage)EPackage.Registry.INSTANCE.getEPackage(SolverLanguagePackage.eNS_URI); - - // Obtain or create and register package - Object registeredSolverLanguagePackage = EPackage.Registry.INSTANCE.get(eNS_URI); - SolverLanguagePackageImpl theSolverLanguagePackage = registeredSolverLanguagePackage instanceof SolverLanguagePackageImpl ? (SolverLanguagePackageImpl)registeredSolverLanguagePackage : new SolverLanguagePackageImpl(); - - isInited = true; - - // Create package meta-data objects - theSolverLanguagePackage.createPackageContents(); - - // Initialize created meta-data - theSolverLanguagePackage.initializePackageContents(); - - // Mark meta-data to indicate it can't be changed - theSolverLanguagePackage.freeze(); - - // Update the registry and return the package - EPackage.Registry.INSTANCE.put(SolverLanguagePackage.eNS_URI, theSolverLanguagePackage); - return theSolverLanguagePackage; - } - - /** - * - * - * @generated - */ - @Override - public EClass getProblem() { - return problemEClass; - } - - /** - * - * - * @generated - */ - @Override - public EReference getProblem_Statements() { - return (EReference)problemEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EClass getStatement() { - return statementEClass; - } - - /** - * - * - * @generated - */ - @Override - public EClass getPredicateDefinition() { - return predicateDefinitionEClass; - } - - /** - * - * - * @generated - */ - @Override - public EReference getPredicateDefinition_Head() { - return (EReference)predicateDefinitionEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EReference getPredicateDefinition_Body() { - return (EReference)predicateDefinitionEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getPredicateDefinition_Functional() { - return (EAttribute)predicateDefinitionEClass.getEStructuralFeatures().get(2); - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getPredicateDefinition_Error() { - return (EAttribute)predicateDefinitionEClass.getEStructuralFeatures().get(3); - } - - /** - * - * - * @generated - */ - @Override - public EClass getUnnamedErrorPrediateDefinition() { - return unnamedErrorPrediateDefinitionEClass; - } - - /** - * - * - * @generated - */ - @Override - public EReference getUnnamedErrorPrediateDefinition_ArgumentList() { - return (EReference)unnamedErrorPrediateDefinitionEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EReference getUnnamedErrorPrediateDefinition_Body() { - return (EReference)unnamedErrorPrediateDefinitionEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - @Override - public EClass getDefaultDefinition() { - return defaultDefinitionEClass; - } - - /** - * - * - * @generated - */ - @Override - public EReference getDefaultDefinition_Head() { - return (EReference)defaultDefinitionEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EReference getDefaultDefinition_Range() { - return (EReference)defaultDefinitionEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - @Override - public EClass getMetricDefinition() { - return metricDefinitionEClass; - } - - /** - * - * - * @generated - */ - @Override - public EReference getMetricDefinition_Head() { - return (EReference)metricDefinitionEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EReference getMetricDefinition_Body() { - return (EReference)metricDefinitionEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - @Override - public EReference getMetricDefinition_Type() { - return (EReference)metricDefinitionEClass.getEStructuralFeatures().get(2); - } - - /** - * - * - * @generated - */ - @Override - public EClass getExternPredicateDefinition() { - return externPredicateDefinitionEClass; - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getExternPredicateDefinition_Name() { - return (EAttribute)externPredicateDefinitionEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EReference getExternPredicateDefinition_ArgumentList() { - return (EReference)externPredicateDefinitionEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - @Override - public EClass getExternMetricDefinition() { - return externMetricDefinitionEClass; - } - - /** - * - * - * @generated - */ - @Override - public EReference getExternMetricDefinition_Type() { - return (EReference)externMetricDefinitionEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getExternMetricDefinition_Name() { - return (EAttribute)externMetricDefinitionEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - @Override - public EReference getExternMetricDefinition_ArgumentList() { - return (EReference)externMetricDefinitionEClass.getEStructuralFeatures().get(2); - } - - /** - * - * - * @generated - */ - @Override - public EClass getExternAggregatorDefinition() { - return externAggregatorDefinitionEClass; - } - - /** - * - * - * @generated - */ - @Override - public EReference getExternAggregatorDefinition_Type() { - return (EReference)externAggregatorDefinitionEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getExternAggregatorDefinition_Name() { - return (EAttribute)externAggregatorDefinitionEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - @Override - public EReference getExternAggregatorDefinition_InputType() { - return (EReference)externAggregatorDefinitionEClass.getEStructuralFeatures().get(2); - } - - /** - * - * - * @generated - */ - @Override - public EClass getExternDatatypeDefinition() { - return externDatatypeDefinitionEClass; - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getExternDatatypeDefinition_Name() { - return (EAttribute)externDatatypeDefinitionEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EReference getExternDatatypeDefinition_Supertypes() { - return (EReference)externDatatypeDefinitionEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - @Override - public EClass getNamedElement() { - return namedElementEClass; - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getNamedElement_Name() { - return (EAttribute)namedElementEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EClass getExpression() { - return expressionEClass; - } - - /** - * - * - * @generated - */ - @Override - public EClass getIfElse() { - return ifElseEClass; - } - - /** - * - * - * @generated - */ - @Override - public EReference getIfElse_Then() { - return (EReference)ifElseEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EReference getIfElse_Else() { - return (EReference)ifElseEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - @Override - public EReference getIfElse_Condition() { - return (EReference)ifElseEClass.getEStructuralFeatures().get(2); - } - - /** - * - * - * @generated - */ - @Override - public EClass getLet() { - return letEClass; - } - - /** - * - * - * @generated - */ - @Override - public EReference getLet_Bindings() { - return (EReference)letEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EReference getLet_Body() { - return (EReference)letEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - @Override - public EClass getLetBinding() { - return letBindingEClass; - } - - /** - * - * - * @generated - */ - @Override - public EReference getLetBinding_Variable() { - return (EReference)letBindingEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EReference getLetBinding_Value() { - return (EReference)letBindingEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - @Override - public EClass getCase() { - return caseEClass; - } - - /** - * - * - * @generated - */ - @Override - public EReference getCase_Body() { - return (EReference)caseEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EReference getCase_Condition() { - return (EReference)caseEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - @Override - public EClass getLocalVariables() { - return localVariablesEClass; - } - - /** - * - * - * @generated - */ - @Override - public EReference getLocalVariables_Variables() { - return (EReference)localVariablesEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EClass getQuantifiedExpression() { - return quantifiedExpressionEClass; - } - - /** - * - * - * @generated - */ - @Override - public EReference getQuantifiedExpression_LocalVariables() { - return (EReference)quantifiedExpressionEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EReference getQuantifiedExpression_Body() { - return (EReference)quantifiedExpressionEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getQuantifiedExpression_Quantifier() { - return (EAttribute)quantifiedExpressionEClass.getEStructuralFeatures().get(2); - } - - /** - * - * - * @generated - */ - @Override - public EClass getAggregation() { - return aggregationEClass; - } - - /** - * - * - * @generated - */ - @Override - public EReference getAggregation_Op() { - return (EReference)aggregationEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EReference getAggregation_LocalVariables() { - return (EReference)aggregationEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - @Override - public EReference getAggregation_Body() { - return (EReference)aggregationEClass.getEStructuralFeatures().get(2); - } - - /** - * - * - * @generated - */ - @Override - public EReference getAggregation_Condition() { - return (EReference)aggregationEClass.getEStructuralFeatures().get(3); - } - - /** - * - * - * @generated - */ - @Override - public EClass getCall() { - return callEClass; - } - - /** - * - * - * @generated - */ - @Override - public EReference getCall_Functor() { - return (EReference)callEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getCall_TransitiveClosure() { - return (EAttribute)callEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getCall_ReflexiveTransitiveClosure() { - return (EAttribute)callEClass.getEStructuralFeatures().get(2); - } - - /** - * - * - * @generated - */ - @Override - public EReference getCall_ArgumentList() { - return (EReference)callEClass.getEStructuralFeatures().get(3); - } - - /** - * - * - * @generated - */ - @Override - public EClass getArgumentList() { - return argumentListEClass; - } - - /** - * - * - * @generated - */ - @Override - public EReference getArgumentList_Arguments() { - return (EReference)argumentListEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EClass getArgument() { - return argumentEClass; - } - - /** - * - * - * @generated - */ - @Override - public EClass getExpressionArgument() { - return expressionArgumentEClass; - } - - /** - * - * - * @generated - */ - @Override - public EReference getExpressionArgument_Body() { - return (EReference)expressionArgumentEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EClass getStarArgument() { - return starArgumentEClass; - } - - /** - * - * - * @generated - */ - @Override - public EClass getTypedArgument() { - return typedArgumentEClass; - } - - /** - * - * - * @generated - */ - @Override - public EReference getTypedArgument_Type() { - return (EReference)typedArgumentEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EReference getTypedArgument_Variable() { - return (EReference)typedArgumentEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - @Override - public EClass getTypedStarArgument() { - return typedStarArgumentEClass; - } - - /** - * - * - * @generated - */ - @Override - public EReference getTypedStarArgument_Type() { - return (EReference)typedStarArgumentEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EClass getReference() { - return referenceEClass; - } - - /** - * - * - * @generated - */ - @Override - public EReference getReference_Referred() { - return (EReference)referenceEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EClass getInterval() { - return intervalEClass; - } - - /** - * - * - * @generated - */ - @Override - public EReference getInterval_LowerBound() { - return (EReference)intervalEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EReference getInterval_UpperBound() { - return (EReference)intervalEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - @Override - public EClass getLiteral() { - return literalEClass; - } - - /** - * - * - * @generated - */ - @Override - public EClass getLogicLiteral() { - return logicLiteralEClass; - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getLogicLiteral_Value() { - return (EAttribute)logicLiteralEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EClass getNumericLiteral() { - return numericLiteralEClass; - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getNumericLiteral_Value() { - return (EAttribute)numericLiteralEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EClass getInfinityLiteral() { - return infinityLiteralEClass; - } - - /** - * - * - * @generated - */ - @Override - public EClass getEmptyIntervalLiteral() { - return emptyIntervalLiteralEClass; - } - - /** - * - * - * @generated - */ - @Override - public EClass getStringLiteral() { - return stringLiteralEClass; - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getStringLiteral_Value() { - return (EAttribute)stringLiteralEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EClass getClassDefinition() { - return classDefinitionEClass; - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getClassDefinition_Abstract() { - return (EAttribute)classDefinitionEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getClassDefinition_Name() { - return (EAttribute)classDefinitionEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - @Override - public EReference getClassDefinition_Superclasses() { - return (EReference)classDefinitionEClass.getEStructuralFeatures().get(2); - } - - /** - * - * - * @generated - */ - @Override - public EReference getClassDefinition_Members() { - return (EReference)classDefinitionEClass.getEStructuralFeatures().get(3); - } - - /** - * - * - * @generated - */ - @Override - public EClass getMemberDefinition() { - return memberDefinitionEClass; - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getMemberDefinition_Containment() { - return (EAttribute)memberDefinitionEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EReference getMemberDefinition_Type() { - return (EReference)memberDefinitionEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - @Override - public EReference getMemberDefinition_Multiplicity() { - return (EReference)memberDefinitionEClass.getEStructuralFeatures().get(2); - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getMemberDefinition_Name() { - return (EAttribute)memberDefinitionEClass.getEStructuralFeatures().get(3); - } - - /** - * - * - * @generated - */ - @Override - public EReference getMemberDefinition_Opposite() { - return (EReference)memberDefinitionEClass.getEStructuralFeatures().get(4); - } - - /** - * - * - * @generated - */ - @Override - public EClass getMultiplicity() { - return multiplicityEClass; - } - - /** - * - * - * @generated - */ - @Override - public EClass getManyMultiplicity() { - return manyMultiplicityEClass; - } - - /** - * - * - * @generated - */ - @Override - public EClass getExactMultiplicity() { - return exactMultiplicityEClass; - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getExactMultiplicity_Multiplicity() { - return (EAttribute)exactMultiplicityEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EClass getBoundedMultiplicity() { - return boundedMultiplicityEClass; - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getBoundedMultiplicity_LowerBound() { - return (EAttribute)boundedMultiplicityEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getBoundedMultiplicity_UpperBound() { - return (EAttribute)boundedMultiplicityEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - @Override - public EClass getScopeDefinition() { - return scopeDefinitionEClass; - } - - /** - * - * - * @generated - */ - @Override - public EReference getScopeDefinition_Type() { - return (EReference)scopeDefinitionEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EClass getExactScopeDefinition() { - return exactScopeDefinitionEClass; - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getExactScopeDefinition_ExactScope() { - return (EAttribute)exactScopeDefinitionEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EClass getBoundedScopeDefinition() { - return boundedScopeDefinitionEClass; - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getBoundedScopeDefinition_LowerBound() { - return (EAttribute)boundedScopeDefinitionEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getBoundedScopeDefinition_UpperBound() { - return (EAttribute)boundedScopeDefinitionEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - @Override - public EClass getLowerBoundedScopeDefinition() { - return lowerBoundedScopeDefinitionEClass; - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getLowerBoundedScopeDefinition_LowerBound() { - return (EAttribute)lowerBoundedScopeDefinitionEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EClass getObjectiveDefinition() { - return objectiveDefinitionEClass; - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getObjectiveDefinition_Kind() { - return (EAttribute)objectiveDefinitionEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EReference getObjectiveDefinition_Objective() { - return (EReference)objectiveDefinitionEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - @Override - public EClass getInterpretation() { - return interpretationEClass; - } - - /** - * - * - * @generated - */ - @Override - public EReference getInterpretation_Body() { - return (EReference)interpretationEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EReference getInterpretation_Range() { - return (EReference)interpretationEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - @Override - public EClass getVariable() { - return variableEClass; - } - - /** - * - * - * @generated - */ - @Override - public EReference getVariable_Type() { - return (EReference)variableEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EClass getDisjunction() { - return disjunctionEClass; - } - - /** - * - * - * @generated - */ - @Override - public EReference getDisjunction_Children() { - return (EReference)disjunctionEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EClass getSwitch() { - return switchEClass; - } - - /** - * - * - * @generated - */ - @Override - public EReference getSwitch_Cases() { - return (EReference)switchEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EClass getConjunction() { - return conjunctionEClass; - } - - /** - * - * - * @generated - */ - @Override - public EReference getConjunction_Children() { - return (EReference)conjunctionEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EClass getComparison() { - return comparisonEClass; - } - - /** - * - * - * @generated - */ - @Override - public EReference getComparison_Left() { - return (EReference)comparisonEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getComparison_Op() { - return (EAttribute)comparisonEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - @Override - public EReference getComparison_Right() { - return (EReference)comparisonEClass.getEStructuralFeatures().get(2); - } - - /** - * - * - * @generated - */ - @Override - public EClass getBinaryExpression() { - return binaryExpressionEClass; - } - - /** - * - * - * @generated - */ - @Override - public EReference getBinaryExpression_Left() { - return (EReference)binaryExpressionEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getBinaryExpression_Op() { - return (EAttribute)binaryExpressionEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - @Override - public EReference getBinaryExpression_Right() { - return (EReference)binaryExpressionEClass.getEStructuralFeatures().get(2); - } - - /** - * - * - * @generated - */ - @Override - public EClass getCastExpression() { - return castExpressionEClass; - } - - /** - * - * - * @generated - */ - @Override - public EReference getCastExpression_Body() { - return (EReference)castExpressionEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EReference getCastExpression_Type() { - return (EReference)castExpressionEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - @Override - public EClass getUnaryExpression() { - return unaryExpressionEClass; - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getUnaryExpression_Op() { - return (EAttribute)unaryExpressionEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EReference getUnaryExpression_Body() { - return (EReference)unaryExpressionEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * @generated - */ - @Override - public EClass getNode() { - return nodeEClass; - } - - /** - * - * - * @generated - */ - @Override - public EAttribute getNode_WithId() { - return (EAttribute)nodeEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EClass getFunctor() { - return functorEClass; - } - - /** - * - * - * @generated - */ - @Override - public EReference getFunctor_Parameters() { - return (EReference)functorEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EClass getPredicate() { - return predicateEClass; - } - - /** - * - * - * @generated - */ - @Override - public EClass getMetric() { - return metricEClass; - } - - /** - * - * - * @generated - */ - @Override - public EReference getMetric_ReturnType() { - return (EReference)metricEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * @generated - */ - @Override - public EEnum getBinaryOperator() { - return binaryOperatorEEnum; - } - - /** - * - * - * @generated - */ - @Override - public EEnum getUnaryOp() { - return unaryOpEEnum; - } - - /** - * - * - * @generated - */ - @Override - public EEnum getLogicValue() { - return logicValueEEnum; - } - - /** - * - * - * @generated - */ - @Override - public EEnum getObjectiveKind() { - return objectiveKindEEnum; - } - - /** - * - * - * @generated - */ - @Override - public EEnum getQuantifier() { - return quantifierEEnum; - } - - /** - * - * - * @generated - */ - @Override - public SolverLanguageFactory getSolverLanguageFactory() { - return (SolverLanguageFactory)getEFactoryInstance(); - } - - /** - * - * - * @generated - */ - private boolean isCreated = false; - - /** - * Creates the meta-model objects for the package. This method is - * guarded to have no affect on any invocation but its first. - * - * - * @generated - */ - public void createPackageContents() { - if (isCreated) return; - isCreated = true; - - // Create classes and their features - problemEClass = createEClass(PROBLEM); - createEReference(problemEClass, PROBLEM__STATEMENTS); - - statementEClass = createEClass(STATEMENT); - - predicateDefinitionEClass = createEClass(PREDICATE_DEFINITION); - createEReference(predicateDefinitionEClass, PREDICATE_DEFINITION__HEAD); - createEReference(predicateDefinitionEClass, PREDICATE_DEFINITION__BODY); - createEAttribute(predicateDefinitionEClass, PREDICATE_DEFINITION__FUNCTIONAL); - createEAttribute(predicateDefinitionEClass, PREDICATE_DEFINITION__ERROR); - - unnamedErrorPrediateDefinitionEClass = createEClass(UNNAMED_ERROR_PREDIATE_DEFINITION); - createEReference(unnamedErrorPrediateDefinitionEClass, UNNAMED_ERROR_PREDIATE_DEFINITION__ARGUMENT_LIST); - createEReference(unnamedErrorPrediateDefinitionEClass, UNNAMED_ERROR_PREDIATE_DEFINITION__BODY); - - defaultDefinitionEClass = createEClass(DEFAULT_DEFINITION); - createEReference(defaultDefinitionEClass, DEFAULT_DEFINITION__HEAD); - createEReference(defaultDefinitionEClass, DEFAULT_DEFINITION__RANGE); - - metricDefinitionEClass = createEClass(METRIC_DEFINITION); - createEReference(metricDefinitionEClass, METRIC_DEFINITION__HEAD); - createEReference(metricDefinitionEClass, METRIC_DEFINITION__BODY); - createEReference(metricDefinitionEClass, METRIC_DEFINITION__TYPE); - - externPredicateDefinitionEClass = createEClass(EXTERN_PREDICATE_DEFINITION); - createEAttribute(externPredicateDefinitionEClass, EXTERN_PREDICATE_DEFINITION__NAME); - createEReference(externPredicateDefinitionEClass, EXTERN_PREDICATE_DEFINITION__ARGUMENT_LIST); - - externMetricDefinitionEClass = createEClass(EXTERN_METRIC_DEFINITION); - createEReference(externMetricDefinitionEClass, EXTERN_METRIC_DEFINITION__TYPE); - createEAttribute(externMetricDefinitionEClass, EXTERN_METRIC_DEFINITION__NAME); - createEReference(externMetricDefinitionEClass, EXTERN_METRIC_DEFINITION__ARGUMENT_LIST); - - externAggregatorDefinitionEClass = createEClass(EXTERN_AGGREGATOR_DEFINITION); - createEReference(externAggregatorDefinitionEClass, EXTERN_AGGREGATOR_DEFINITION__TYPE); - createEAttribute(externAggregatorDefinitionEClass, EXTERN_AGGREGATOR_DEFINITION__NAME); - createEReference(externAggregatorDefinitionEClass, EXTERN_AGGREGATOR_DEFINITION__INPUT_TYPE); - - externDatatypeDefinitionEClass = createEClass(EXTERN_DATATYPE_DEFINITION); - createEAttribute(externDatatypeDefinitionEClass, EXTERN_DATATYPE_DEFINITION__NAME); - createEReference(externDatatypeDefinitionEClass, EXTERN_DATATYPE_DEFINITION__SUPERTYPES); - - namedElementEClass = createEClass(NAMED_ELEMENT); - createEAttribute(namedElementEClass, NAMED_ELEMENT__NAME); - - expressionEClass = createEClass(EXPRESSION); - - ifElseEClass = createEClass(IF_ELSE); - createEReference(ifElseEClass, IF_ELSE__THEN); - createEReference(ifElseEClass, IF_ELSE__ELSE); - createEReference(ifElseEClass, IF_ELSE__CONDITION); - - letEClass = createEClass(LET); - createEReference(letEClass, LET__BINDINGS); - createEReference(letEClass, LET__BODY); - - letBindingEClass = createEClass(LET_BINDING); - createEReference(letBindingEClass, LET_BINDING__VARIABLE); - createEReference(letBindingEClass, LET_BINDING__VALUE); - - caseEClass = createEClass(CASE); - createEReference(caseEClass, CASE__BODY); - createEReference(caseEClass, CASE__CONDITION); - - localVariablesEClass = createEClass(LOCAL_VARIABLES); - createEReference(localVariablesEClass, LOCAL_VARIABLES__VARIABLES); - - quantifiedExpressionEClass = createEClass(QUANTIFIED_EXPRESSION); - createEReference(quantifiedExpressionEClass, QUANTIFIED_EXPRESSION__LOCAL_VARIABLES); - createEReference(quantifiedExpressionEClass, QUANTIFIED_EXPRESSION__BODY); - createEAttribute(quantifiedExpressionEClass, QUANTIFIED_EXPRESSION__QUANTIFIER); - - aggregationEClass = createEClass(AGGREGATION); - createEReference(aggregationEClass, AGGREGATION__OP); - createEReference(aggregationEClass, AGGREGATION__LOCAL_VARIABLES); - createEReference(aggregationEClass, AGGREGATION__BODY); - createEReference(aggregationEClass, AGGREGATION__CONDITION); - - callEClass = createEClass(CALL); - createEReference(callEClass, CALL__FUNCTOR); - createEAttribute(callEClass, CALL__TRANSITIVE_CLOSURE); - createEAttribute(callEClass, CALL__REFLEXIVE_TRANSITIVE_CLOSURE); - createEReference(callEClass, CALL__ARGUMENT_LIST); - - argumentListEClass = createEClass(ARGUMENT_LIST); - createEReference(argumentListEClass, ARGUMENT_LIST__ARGUMENTS); - - argumentEClass = createEClass(ARGUMENT); - - expressionArgumentEClass = createEClass(EXPRESSION_ARGUMENT); - createEReference(expressionArgumentEClass, EXPRESSION_ARGUMENT__BODY); - - starArgumentEClass = createEClass(STAR_ARGUMENT); - - typedArgumentEClass = createEClass(TYPED_ARGUMENT); - createEReference(typedArgumentEClass, TYPED_ARGUMENT__TYPE); - createEReference(typedArgumentEClass, TYPED_ARGUMENT__VARIABLE); - - typedStarArgumentEClass = createEClass(TYPED_STAR_ARGUMENT); - createEReference(typedStarArgumentEClass, TYPED_STAR_ARGUMENT__TYPE); - - referenceEClass = createEClass(REFERENCE); - createEReference(referenceEClass, REFERENCE__REFERRED); - - intervalEClass = createEClass(INTERVAL); - createEReference(intervalEClass, INTERVAL__LOWER_BOUND); - createEReference(intervalEClass, INTERVAL__UPPER_BOUND); - - literalEClass = createEClass(LITERAL); - - logicLiteralEClass = createEClass(LOGIC_LITERAL); - createEAttribute(logicLiteralEClass, LOGIC_LITERAL__VALUE); - - numericLiteralEClass = createEClass(NUMERIC_LITERAL); - createEAttribute(numericLiteralEClass, NUMERIC_LITERAL__VALUE); - - infinityLiteralEClass = createEClass(INFINITY_LITERAL); - - emptyIntervalLiteralEClass = createEClass(EMPTY_INTERVAL_LITERAL); - - stringLiteralEClass = createEClass(STRING_LITERAL); - createEAttribute(stringLiteralEClass, STRING_LITERAL__VALUE); - - classDefinitionEClass = createEClass(CLASS_DEFINITION); - createEAttribute(classDefinitionEClass, CLASS_DEFINITION__ABSTRACT); - createEAttribute(classDefinitionEClass, CLASS_DEFINITION__NAME); - createEReference(classDefinitionEClass, CLASS_DEFINITION__SUPERCLASSES); - createEReference(classDefinitionEClass, CLASS_DEFINITION__MEMBERS); - - memberDefinitionEClass = createEClass(MEMBER_DEFINITION); - createEAttribute(memberDefinitionEClass, MEMBER_DEFINITION__CONTAINMENT); - createEReference(memberDefinitionEClass, MEMBER_DEFINITION__TYPE); - createEReference(memberDefinitionEClass, MEMBER_DEFINITION__MULTIPLICITY); - createEAttribute(memberDefinitionEClass, MEMBER_DEFINITION__NAME); - createEReference(memberDefinitionEClass, MEMBER_DEFINITION__OPPOSITE); - - multiplicityEClass = createEClass(MULTIPLICITY); - - manyMultiplicityEClass = createEClass(MANY_MULTIPLICITY); - - exactMultiplicityEClass = createEClass(EXACT_MULTIPLICITY); - createEAttribute(exactMultiplicityEClass, EXACT_MULTIPLICITY__MULTIPLICITY); - - boundedMultiplicityEClass = createEClass(BOUNDED_MULTIPLICITY); - createEAttribute(boundedMultiplicityEClass, BOUNDED_MULTIPLICITY__LOWER_BOUND); - createEAttribute(boundedMultiplicityEClass, BOUNDED_MULTIPLICITY__UPPER_BOUND); - - scopeDefinitionEClass = createEClass(SCOPE_DEFINITION); - createEReference(scopeDefinitionEClass, SCOPE_DEFINITION__TYPE); - - exactScopeDefinitionEClass = createEClass(EXACT_SCOPE_DEFINITION); - createEAttribute(exactScopeDefinitionEClass, EXACT_SCOPE_DEFINITION__EXACT_SCOPE); - - boundedScopeDefinitionEClass = createEClass(BOUNDED_SCOPE_DEFINITION); - createEAttribute(boundedScopeDefinitionEClass, BOUNDED_SCOPE_DEFINITION__LOWER_BOUND); - createEAttribute(boundedScopeDefinitionEClass, BOUNDED_SCOPE_DEFINITION__UPPER_BOUND); - - lowerBoundedScopeDefinitionEClass = createEClass(LOWER_BOUNDED_SCOPE_DEFINITION); - createEAttribute(lowerBoundedScopeDefinitionEClass, LOWER_BOUNDED_SCOPE_DEFINITION__LOWER_BOUND); - - objectiveDefinitionEClass = createEClass(OBJECTIVE_DEFINITION); - createEAttribute(objectiveDefinitionEClass, OBJECTIVE_DEFINITION__KIND); - createEReference(objectiveDefinitionEClass, OBJECTIVE_DEFINITION__OBJECTIVE); - - interpretationEClass = createEClass(INTERPRETATION); - createEReference(interpretationEClass, INTERPRETATION__BODY); - createEReference(interpretationEClass, INTERPRETATION__RANGE); - - variableEClass = createEClass(VARIABLE); - createEReference(variableEClass, VARIABLE__TYPE); - - disjunctionEClass = createEClass(DISJUNCTION); - createEReference(disjunctionEClass, DISJUNCTION__CHILDREN); - - switchEClass = createEClass(SWITCH); - createEReference(switchEClass, SWITCH__CASES); - - conjunctionEClass = createEClass(CONJUNCTION); - createEReference(conjunctionEClass, CONJUNCTION__CHILDREN); - - comparisonEClass = createEClass(COMPARISON); - createEReference(comparisonEClass, COMPARISON__LEFT); - createEAttribute(comparisonEClass, COMPARISON__OP); - createEReference(comparisonEClass, COMPARISON__RIGHT); - - binaryExpressionEClass = createEClass(BINARY_EXPRESSION); - createEReference(binaryExpressionEClass, BINARY_EXPRESSION__LEFT); - createEAttribute(binaryExpressionEClass, BINARY_EXPRESSION__OP); - createEReference(binaryExpressionEClass, BINARY_EXPRESSION__RIGHT); - - castExpressionEClass = createEClass(CAST_EXPRESSION); - createEReference(castExpressionEClass, CAST_EXPRESSION__BODY); - createEReference(castExpressionEClass, CAST_EXPRESSION__TYPE); - - unaryExpressionEClass = createEClass(UNARY_EXPRESSION); - createEAttribute(unaryExpressionEClass, UNARY_EXPRESSION__OP); - createEReference(unaryExpressionEClass, UNARY_EXPRESSION__BODY); - - nodeEClass = createEClass(NODE); - createEAttribute(nodeEClass, NODE__WITH_ID); - - functorEClass = createEClass(FUNCTOR); - createEReference(functorEClass, FUNCTOR__PARAMETERS); - - predicateEClass = createEClass(PREDICATE); - - metricEClass = createEClass(METRIC); - createEReference(metricEClass, METRIC__RETURN_TYPE); - - // Create enums - binaryOperatorEEnum = createEEnum(BINARY_OPERATOR); - unaryOpEEnum = createEEnum(UNARY_OP); - logicValueEEnum = createEEnum(LOGIC_VALUE); - objectiveKindEEnum = createEEnum(OBJECTIVE_KIND); - quantifierEEnum = createEEnum(QUANTIFIER); - } - - /** - * - * - * @generated - */ - private boolean isInitialized = false; - - /** - * Complete the initialization of the package and its meta-model. This - * method is guarded to have no affect on any invocation but its first. - * - * - * @generated - */ - public void initializePackageContents() { - if (isInitialized) return; - isInitialized = true; - - // Initialize package - setName(eNAME); - setNsPrefix(eNS_PREFIX); - setNsURI(eNS_URI); - - // Create type parameters - - // Set bounds for type parameters - - // Add supertypes to classes - predicateDefinitionEClass.getESuperTypes().add(this.getStatement()); - unnamedErrorPrediateDefinitionEClass.getESuperTypes().add(this.getStatement()); - defaultDefinitionEClass.getESuperTypes().add(this.getStatement()); - metricDefinitionEClass.getESuperTypes().add(this.getStatement()); - externPredicateDefinitionEClass.getESuperTypes().add(this.getStatement()); - externMetricDefinitionEClass.getESuperTypes().add(this.getStatement()); - externAggregatorDefinitionEClass.getESuperTypes().add(this.getStatement()); - externDatatypeDefinitionEClass.getESuperTypes().add(this.getStatement()); - expressionEClass.getESuperTypes().add(this.getStatement()); - ifElseEClass.getESuperTypes().add(this.getExpression()); - letEClass.getESuperTypes().add(this.getExpression()); - caseEClass.getESuperTypes().add(this.getExpression()); - quantifiedExpressionEClass.getESuperTypes().add(this.getExpression()); - aggregationEClass.getESuperTypes().add(this.getExpression()); - callEClass.getESuperTypes().add(this.getExpression()); - expressionArgumentEClass.getESuperTypes().add(this.getArgument()); - starArgumentEClass.getESuperTypes().add(this.getArgument()); - typedArgumentEClass.getESuperTypes().add(this.getArgument()); - typedStarArgumentEClass.getESuperTypes().add(this.getArgument()); - referenceEClass.getESuperTypes().add(this.getExpression()); - intervalEClass.getESuperTypes().add(this.getExpression()); - literalEClass.getESuperTypes().add(this.getExpression()); - logicLiteralEClass.getESuperTypes().add(this.getLiteral()); - numericLiteralEClass.getESuperTypes().add(this.getLiteral()); - infinityLiteralEClass.getESuperTypes().add(this.getLiteral()); - emptyIntervalLiteralEClass.getESuperTypes().add(this.getLiteral()); - stringLiteralEClass.getESuperTypes().add(this.getLiteral()); - classDefinitionEClass.getESuperTypes().add(this.getStatement()); - manyMultiplicityEClass.getESuperTypes().add(this.getMultiplicity()); - exactMultiplicityEClass.getESuperTypes().add(this.getMultiplicity()); - boundedMultiplicityEClass.getESuperTypes().add(this.getMultiplicity()); - scopeDefinitionEClass.getESuperTypes().add(this.getStatement()); - exactScopeDefinitionEClass.getESuperTypes().add(this.getScopeDefinition()); - boundedScopeDefinitionEClass.getESuperTypes().add(this.getScopeDefinition()); - lowerBoundedScopeDefinitionEClass.getESuperTypes().add(this.getScopeDefinition()); - objectiveDefinitionEClass.getESuperTypes().add(this.getStatement()); - interpretationEClass.getESuperTypes().add(this.getStatement()); - variableEClass.getESuperTypes().add(this.getNamedElement()); - disjunctionEClass.getESuperTypes().add(this.getExpression()); - switchEClass.getESuperTypes().add(this.getExpression()); - conjunctionEClass.getESuperTypes().add(this.getExpression()); - comparisonEClass.getESuperTypes().add(this.getExpression()); - binaryExpressionEClass.getESuperTypes().add(this.getExpression()); - castExpressionEClass.getESuperTypes().add(this.getExpression()); - unaryExpressionEClass.getESuperTypes().add(this.getExpression()); - nodeEClass.getESuperTypes().add(this.getNamedElement()); - functorEClass.getESuperTypes().add(this.getNamedElement()); - predicateEClass.getESuperTypes().add(this.getFunctor()); - metricEClass.getESuperTypes().add(this.getFunctor()); - - // Initialize classes and features; add operations and parameters - initEClass(problemEClass, Problem.class, "Problem", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getProblem_Statements(), this.getStatement(), null, "statements", null, 0, -1, Problem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(statementEClass, Statement.class, "Statement", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - - initEClass(predicateDefinitionEClass, PredicateDefinition.class, "PredicateDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getPredicateDefinition_Head(), this.getExpression(), null, "head", null, 0, 1, PredicateDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getPredicateDefinition_Body(), this.getExpression(), null, "body", null, 0, 1, PredicateDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getPredicateDefinition_Functional(), ecorePackage.getEBoolean(), "functional", null, 0, 1, PredicateDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getPredicateDefinition_Error(), ecorePackage.getEBoolean(), "error", null, 0, 1, PredicateDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(unnamedErrorPrediateDefinitionEClass, UnnamedErrorPrediateDefinition.class, "UnnamedErrorPrediateDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getUnnamedErrorPrediateDefinition_ArgumentList(), this.getArgumentList(), null, "argumentList", null, 0, 1, UnnamedErrorPrediateDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getUnnamedErrorPrediateDefinition_Body(), this.getExpression(), null, "body", null, 0, 1, UnnamedErrorPrediateDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(defaultDefinitionEClass, DefaultDefinition.class, "DefaultDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getDefaultDefinition_Head(), this.getCall(), null, "head", null, 0, 1, DefaultDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getDefaultDefinition_Range(), this.getExpression(), null, "range", null, 0, 1, DefaultDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(metricDefinitionEClass, MetricDefinition.class, "MetricDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getMetricDefinition_Head(), this.getExpression(), null, "head", null, 0, 1, MetricDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getMetricDefinition_Body(), this.getExpression(), null, "body", null, 0, 1, MetricDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getMetricDefinition_Type(), this.getNamedElement(), null, "type", null, 0, 1, MetricDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(externPredicateDefinitionEClass, ExternPredicateDefinition.class, "ExternPredicateDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getExternPredicateDefinition_Name(), ecorePackage.getEString(), "name", null, 0, 1, ExternPredicateDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getExternPredicateDefinition_ArgumentList(), this.getArgumentList(), null, "argumentList", null, 0, 1, ExternPredicateDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(externMetricDefinitionEClass, ExternMetricDefinition.class, "ExternMetricDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getExternMetricDefinition_Type(), this.getNamedElement(), null, "type", null, 0, 1, ExternMetricDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getExternMetricDefinition_Name(), ecorePackage.getEString(), "name", null, 0, 1, ExternMetricDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getExternMetricDefinition_ArgumentList(), this.getArgumentList(), null, "argumentList", null, 0, 1, ExternMetricDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(externAggregatorDefinitionEClass, ExternAggregatorDefinition.class, "ExternAggregatorDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getExternAggregatorDefinition_Type(), this.getNamedElement(), null, "type", null, 0, 1, ExternAggregatorDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getExternAggregatorDefinition_Name(), ecorePackage.getEString(), "name", null, 0, 1, ExternAggregatorDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getExternAggregatorDefinition_InputType(), this.getNamedElement(), null, "inputType", null, 0, 1, ExternAggregatorDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(externDatatypeDefinitionEClass, ExternDatatypeDefinition.class, "ExternDatatypeDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getExternDatatypeDefinition_Name(), ecorePackage.getEString(), "name", null, 0, 1, ExternDatatypeDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getExternDatatypeDefinition_Supertypes(), this.getNamedElement(), null, "supertypes", null, 0, -1, ExternDatatypeDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(namedElementEClass, NamedElement.class, "NamedElement", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getNamedElement_Name(), ecorePackage.getEString(), "name", null, 0, 1, NamedElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(expressionEClass, Expression.class, "Expression", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - - initEClass(ifElseEClass, IfElse.class, "IfElse", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getIfElse_Then(), this.getExpression(), null, "then", null, 0, 1, IfElse.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getIfElse_Else(), this.getExpression(), null, "else", null, 0, 1, IfElse.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getIfElse_Condition(), this.getExpression(), null, "condition", null, 0, 1, IfElse.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(letEClass, Let.class, "Let", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getLet_Bindings(), this.getLetBinding(), null, "bindings", null, 0, -1, Let.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getLet_Body(), this.getExpression(), null, "body", null, 0, 1, Let.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(letBindingEClass, LetBinding.class, "LetBinding", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getLetBinding_Variable(), this.getNamedElement(), null, "variable", null, 0, 1, LetBinding.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getLetBinding_Value(), this.getExpression(), null, "value", null, 0, 1, LetBinding.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(caseEClass, Case.class, "Case", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getCase_Body(), this.getExpression(), null, "body", null, 0, 1, Case.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getCase_Condition(), this.getExpression(), null, "condition", null, 0, 1, Case.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(localVariablesEClass, LocalVariables.class, "LocalVariables", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getLocalVariables_Variables(), this.getNamedElement(), null, "variables", null, 0, -1, LocalVariables.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(quantifiedExpressionEClass, QuantifiedExpression.class, "QuantifiedExpression", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getQuantifiedExpression_LocalVariables(), this.getLocalVariables(), null, "localVariables", null, 0, 1, QuantifiedExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getQuantifiedExpression_Body(), this.getExpression(), null, "body", null, 0, 1, QuantifiedExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getQuantifiedExpression_Quantifier(), this.getQuantifier(), "quantifier", null, 0, 1, QuantifiedExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(aggregationEClass, Aggregation.class, "Aggregation", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getAggregation_Op(), this.getNamedElement(), null, "op", null, 0, 1, Aggregation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getAggregation_LocalVariables(), this.getLocalVariables(), null, "localVariables", null, 0, 1, Aggregation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getAggregation_Body(), this.getExpression(), null, "body", null, 0, 1, Aggregation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getAggregation_Condition(), this.getExpression(), null, "condition", null, 0, 1, Aggregation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(callEClass, Call.class, "Call", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getCall_Functor(), this.getReference(), null, "functor", null, 0, 1, Call.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getCall_TransitiveClosure(), ecorePackage.getEBoolean(), "transitiveClosure", null, 0, 1, Call.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getCall_ReflexiveTransitiveClosure(), ecorePackage.getEBoolean(), "reflexiveTransitiveClosure", null, 0, 1, Call.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getCall_ArgumentList(), this.getArgumentList(), null, "argumentList", null, 0, 1, Call.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(argumentListEClass, ArgumentList.class, "ArgumentList", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getArgumentList_Arguments(), this.getArgument(), null, "arguments", null, 0, -1, ArgumentList.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(argumentEClass, Argument.class, "Argument", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - - initEClass(expressionArgumentEClass, ExpressionArgument.class, "ExpressionArgument", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getExpressionArgument_Body(), this.getExpression(), null, "body", null, 0, 1, ExpressionArgument.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(starArgumentEClass, StarArgument.class, "StarArgument", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - - initEClass(typedArgumentEClass, TypedArgument.class, "TypedArgument", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getTypedArgument_Type(), this.getNamedElement(), null, "type", null, 0, 1, TypedArgument.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getTypedArgument_Variable(), this.getNamedElement(), null, "variable", null, 0, 1, TypedArgument.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(typedStarArgumentEClass, TypedStarArgument.class, "TypedStarArgument", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getTypedStarArgument_Type(), this.getNamedElement(), null, "type", null, 0, 1, TypedStarArgument.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(referenceEClass, Reference.class, "Reference", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getReference_Referred(), this.getNamedElement(), null, "referred", null, 0, 1, Reference.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(intervalEClass, Interval.class, "Interval", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getInterval_LowerBound(), this.getExpression(), null, "lowerBound", null, 0, 1, Interval.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getInterval_UpperBound(), this.getExpression(), null, "upperBound", null, 0, 1, Interval.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(literalEClass, Literal.class, "Literal", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - - initEClass(logicLiteralEClass, LogicLiteral.class, "LogicLiteral", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getLogicLiteral_Value(), this.getLogicValue(), "value", null, 0, 1, LogicLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(numericLiteralEClass, NumericLiteral.class, "NumericLiteral", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getNumericLiteral_Value(), ecorePackage.getEBigDecimal(), "value", null, 0, 1, NumericLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(infinityLiteralEClass, InfinityLiteral.class, "InfinityLiteral", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - - initEClass(emptyIntervalLiteralEClass, EmptyIntervalLiteral.class, "EmptyIntervalLiteral", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - - initEClass(stringLiteralEClass, StringLiteral.class, "StringLiteral", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getStringLiteral_Value(), ecorePackage.getEString(), "value", null, 0, 1, StringLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(classDefinitionEClass, ClassDefinition.class, "ClassDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getClassDefinition_Abstract(), ecorePackage.getEBoolean(), "abstract", null, 0, 1, ClassDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getClassDefinition_Name(), ecorePackage.getEString(), "name", null, 0, 1, ClassDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getClassDefinition_Superclasses(), this.getNamedElement(), null, "superclasses", null, 0, -1, ClassDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getClassDefinition_Members(), this.getMemberDefinition(), null, "members", null, 0, -1, ClassDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(memberDefinitionEClass, MemberDefinition.class, "MemberDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getMemberDefinition_Containment(), ecorePackage.getEBoolean(), "containment", null, 0, 1, MemberDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getMemberDefinition_Type(), this.getNamedElement(), null, "type", null, 0, 1, MemberDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getMemberDefinition_Multiplicity(), this.getMultiplicity(), null, "multiplicity", null, 0, 1, MemberDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getMemberDefinition_Name(), ecorePackage.getEString(), "name", null, 0, 1, MemberDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getMemberDefinition_Opposite(), this.getNamedElement(), null, "opposite", null, 0, 1, MemberDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(multiplicityEClass, Multiplicity.class, "Multiplicity", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - - initEClass(manyMultiplicityEClass, ManyMultiplicity.class, "ManyMultiplicity", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - - initEClass(exactMultiplicityEClass, ExactMultiplicity.class, "ExactMultiplicity", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getExactMultiplicity_Multiplicity(), ecorePackage.getEInt(), "multiplicity", null, 0, 1, ExactMultiplicity.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(boundedMultiplicityEClass, BoundedMultiplicity.class, "BoundedMultiplicity", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getBoundedMultiplicity_LowerBound(), ecorePackage.getEInt(), "lowerBound", null, 0, 1, BoundedMultiplicity.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getBoundedMultiplicity_UpperBound(), ecorePackage.getEInt(), "upperBound", null, 0, 1, BoundedMultiplicity.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(scopeDefinitionEClass, ScopeDefinition.class, "ScopeDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getScopeDefinition_Type(), this.getNamedElement(), null, "type", null, 0, 1, ScopeDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(exactScopeDefinitionEClass, ExactScopeDefinition.class, "ExactScopeDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getExactScopeDefinition_ExactScope(), ecorePackage.getEInt(), "exactScope", null, 0, 1, ExactScopeDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(boundedScopeDefinitionEClass, BoundedScopeDefinition.class, "BoundedScopeDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getBoundedScopeDefinition_LowerBound(), ecorePackage.getEInt(), "lowerBound", null, 0, 1, BoundedScopeDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getBoundedScopeDefinition_UpperBound(), ecorePackage.getEInt(), "upperBound", null, 0, 1, BoundedScopeDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(lowerBoundedScopeDefinitionEClass, LowerBoundedScopeDefinition.class, "LowerBoundedScopeDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getLowerBoundedScopeDefinition_LowerBound(), ecorePackage.getEInt(), "lowerBound", null, 0, 1, LowerBoundedScopeDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(objectiveDefinitionEClass, ObjectiveDefinition.class, "ObjectiveDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getObjectiveDefinition_Kind(), this.getObjectiveKind(), "kind", null, 0, 1, ObjectiveDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getObjectiveDefinition_Objective(), this.getExpression(), null, "objective", null, 0, 1, ObjectiveDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(interpretationEClass, Interpretation.class, "Interpretation", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getInterpretation_Body(), this.getExpression(), null, "body", null, 0, 1, Interpretation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getInterpretation_Range(), this.getExpression(), null, "range", null, 0, 1, Interpretation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(variableEClass, Variable.class, "Variable", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getVariable_Type(), this.getNamedElement(), null, "type", null, 0, 1, Variable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(disjunctionEClass, Disjunction.class, "Disjunction", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getDisjunction_Children(), this.getExpression(), null, "children", null, 0, -1, Disjunction.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(switchEClass, Switch.class, "Switch", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getSwitch_Cases(), this.getCase(), null, "cases", null, 0, -1, Switch.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(conjunctionEClass, Conjunction.class, "Conjunction", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getConjunction_Children(), this.getExpression(), null, "children", null, 0, -1, Conjunction.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(comparisonEClass, Comparison.class, "Comparison", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getComparison_Left(), this.getExpression(), null, "left", null, 0, 1, Comparison.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getComparison_Op(), this.getBinaryOperator(), "op", null, 0, 1, Comparison.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getComparison_Right(), this.getExpression(), null, "right", null, 0, 1, Comparison.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(binaryExpressionEClass, BinaryExpression.class, "BinaryExpression", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getBinaryExpression_Left(), this.getExpression(), null, "left", null, 0, 1, BinaryExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getBinaryExpression_Op(), this.getBinaryOperator(), "op", null, 0, 1, BinaryExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getBinaryExpression_Right(), this.getExpression(), null, "right", null, 0, 1, BinaryExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(castExpressionEClass, CastExpression.class, "CastExpression", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getCastExpression_Body(), this.getExpression(), null, "body", null, 0, 1, CastExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getCastExpression_Type(), this.getNamedElement(), null, "type", null, 0, 1, CastExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(unaryExpressionEClass, UnaryExpression.class, "UnaryExpression", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getUnaryExpression_Op(), this.getUnaryOp(), "op", null, 0, 1, UnaryExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getUnaryExpression_Body(), this.getExpression(), null, "body", null, 0, 1, UnaryExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(nodeEClass, Node.class, "Node", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getNode_WithId(), ecorePackage.getEBoolean(), "withId", null, 0, 1, Node.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(functorEClass, Functor.class, "Functor", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getFunctor_Parameters(), this.getVariable(), null, "parameters", null, 0, -1, Functor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(predicateEClass, Predicate.class, "Predicate", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - - initEClass(metricEClass, Metric.class, "Metric", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getMetric_ReturnType(), this.getNamedElement(), null, "returnType", null, 0, 1, Metric.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - // Initialize enums and add enum literals - initEEnum(binaryOperatorEEnum, BinaryOperator.class, "BinaryOperator"); - addEEnumLiteral(binaryOperatorEEnum, BinaryOperator.EQ); - addEEnumLiteral(binaryOperatorEEnum, BinaryOperator.NOT_EQ); - addEEnumLiteral(binaryOperatorEEnum, BinaryOperator.LESS); - addEEnumLiteral(binaryOperatorEEnum, BinaryOperator.LESS_EQ); - addEEnumLiteral(binaryOperatorEEnum, BinaryOperator.GREATER); - addEEnumLiteral(binaryOperatorEEnum, BinaryOperator.GREATER_EQ); - addEEnumLiteral(binaryOperatorEEnum, BinaryOperator.IN); - addEEnumLiteral(binaryOperatorEEnum, BinaryOperator.ADD); - addEEnumLiteral(binaryOperatorEEnum, BinaryOperator.SUB); - addEEnumLiteral(binaryOperatorEEnum, BinaryOperator.MUL); - addEEnumLiteral(binaryOperatorEEnum, BinaryOperator.DIV); - addEEnumLiteral(binaryOperatorEEnum, BinaryOperator.POW); - addEEnumLiteral(binaryOperatorEEnum, BinaryOperator.IMPLIES); - - initEEnum(unaryOpEEnum, UnaryOp.class, "UnaryOp"); - addEEnumLiteral(unaryOpEEnum, UnaryOp.NEG); - addEEnumLiteral(unaryOpEEnum, UnaryOp.PLUS); - addEEnumLiteral(unaryOpEEnum, UnaryOp.MINUS); - addEEnumLiteral(unaryOpEEnum, UnaryOp.MAY); - addEEnumLiteral(unaryOpEEnum, UnaryOp.MUST); - addEEnumLiteral(unaryOpEEnum, UnaryOp.CURRENT); - - initEEnum(logicValueEEnum, LogicValue.class, "LogicValue"); - addEEnumLiteral(logicValueEEnum, LogicValue.TRUE); - addEEnumLiteral(logicValueEEnum, LogicValue.FALSE); - addEEnumLiteral(logicValueEEnum, LogicValue.UNKNOWN); - addEEnumLiteral(logicValueEEnum, LogicValue.ERROR); - - initEEnum(objectiveKindEEnum, ObjectiveKind.class, "ObjectiveKind"); - addEEnumLiteral(objectiveKindEEnum, ObjectiveKind.MINIMIZE); - addEEnumLiteral(objectiveKindEEnum, ObjectiveKind.MAXIMIZE); - - initEEnum(quantifierEEnum, Quantifier.class, "Quantifier"); - addEEnumLiteral(quantifierEEnum, Quantifier.EXISTS); - addEEnumLiteral(quantifierEEnum, Quantifier.FORALL); - addEEnumLiteral(quantifierEEnum, Quantifier.COUNT); - - // Create resource - createResource(eNS_URI); - } - -} //SolverLanguagePackageImpl diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/StarArgumentImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/StarArgumentImpl.java deleted file mode 100644 index 93d3ce7f..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/StarArgumentImpl.java +++ /dev/null @@ -1,38 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage.impl; - -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; -import org.eclipse.viatra.solver.language.solverLanguage.StarArgument; - -/** - * - * An implementation of the model object 'Star Argument'. - * - * - * @generated - */ -public class StarArgumentImpl extends ArgumentImpl implements StarArgument { - /** - * - * - * @generated - */ - protected StarArgumentImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return SolverLanguagePackage.Literals.STAR_ARGUMENT; - } - -} //StarArgumentImpl diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/StatementImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/StatementImpl.java deleted file mode 100644 index bf4d9e6a..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/StatementImpl.java +++ /dev/null @@ -1,40 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage.impl; - -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; - -import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; -import org.eclipse.viatra.solver.language.solverLanguage.Statement; - -/** - * - * An implementation of the model object 'Statement'. - * - * - * @generated - */ -public class StatementImpl extends MinimalEObjectImpl.Container implements Statement { - /** - * - * - * @generated - */ - protected StatementImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return SolverLanguagePackage.Literals.STATEMENT; - } - -} //StatementImpl diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/StringLiteralImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/StringLiteralImpl.java deleted file mode 100644 index 30bef702..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/StringLiteralImpl.java +++ /dev/null @@ -1,165 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage.impl; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; -import org.eclipse.viatra.solver.language.solverLanguage.StringLiteral; - -/** - * - * An implementation of the model object 'String Literal'. - * - *

    - * The following features are implemented: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.StringLiteralImpl#getValue Value}
    • - *
    - * - * @generated - */ -public class StringLiteralImpl extends LiteralImpl implements StringLiteral { - /** - * 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 StringLiteralImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return SolverLanguagePackage.Literals.STRING_LITERAL; - } - - /** - * - * - * @generated - */ - @Override - public String getValue() { - return value; - } - - /** - * - * - * @generated - */ - @Override - public void setValue(String newValue) { - String oldValue = value; - value = newValue; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.STRING_LITERAL__VALUE, oldValue, value)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case SolverLanguagePackage.STRING_LITERAL__VALUE: - return getValue(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case SolverLanguagePackage.STRING_LITERAL__VALUE: - setValue((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case SolverLanguagePackage.STRING_LITERAL__VALUE: - setValue(VALUE_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case SolverLanguagePackage.STRING_LITERAL__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(); - - StringBuilder result = new StringBuilder(super.toString()); - result.append(" (value: "); - result.append(value); - result.append(')'); - return result.toString(); - } - -} //StringLiteralImpl diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/SwitchImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/SwitchImpl.java deleted file mode 100644 index 23215a72..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/SwitchImpl.java +++ /dev/null @@ -1,152 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage.impl; - -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; - -import org.eclipse.viatra.solver.language.solverLanguage.Case; -import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; -import org.eclipse.viatra.solver.language.solverLanguage.Switch; - -/** - * - * An implementation of the model object 'Switch'. - * - *

    - * The following features are implemented: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.SwitchImpl#getCases Cases}
    • - *
    - * - * @generated - */ -public class SwitchImpl extends ExpressionImpl implements Switch { - /** - * The cached value of the '{@link #getCases() Cases}' containment reference list. - * - * - * @see #getCases() - * @generated - * @ordered - */ - protected EList cases; - - /** - * - * - * @generated - */ - protected SwitchImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return SolverLanguagePackage.Literals.SWITCH; - } - - /** - * - * - * @generated - */ - @Override - public EList getCases() { - if (cases == null) { - cases = new EObjectContainmentEList(Case.class, this, SolverLanguagePackage.SWITCH__CASES); - } - return cases; - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case SolverLanguagePackage.SWITCH__CASES: - return ((InternalEList)getCases()).basicRemove(otherEnd, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case SolverLanguagePackage.SWITCH__CASES: - return getCases(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case SolverLanguagePackage.SWITCH__CASES: - getCases().clear(); - getCases().addAll((Collection)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case SolverLanguagePackage.SWITCH__CASES: - getCases().clear(); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case SolverLanguagePackage.SWITCH__CASES: - return cases != null && !cases.isEmpty(); - } - return super.eIsSet(featureID); - } - -} //SwitchImpl diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/TypedArgumentImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/TypedArgumentImpl.java deleted file mode 100644 index 03032f1c..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/TypedArgumentImpl.java +++ /dev/null @@ -1,221 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage.impl; - -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.solver.language.solverLanguage.NamedElement; -import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; -import org.eclipse.viatra.solver.language.solverLanguage.TypedArgument; - -/** - * - * An implementation of the model object 'Typed Argument'. - * - *

    - * The following features are implemented: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.TypedArgumentImpl#getType Type}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.TypedArgumentImpl#getVariable Variable}
    • - *
    - * - * @generated - */ -public class TypedArgumentImpl extends ArgumentImpl implements TypedArgument { - /** - * The cached value of the '{@link #getType() Type}' reference. - * - * - * @see #getType() - * @generated - * @ordered - */ - protected NamedElement type; - - /** - * The cached value of the '{@link #getVariable() Variable}' reference. - * - * - * @see #getVariable() - * @generated - * @ordered - */ - protected NamedElement variable; - - /** - * - * - * @generated - */ - protected TypedArgumentImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return SolverLanguagePackage.Literals.TYPED_ARGUMENT; - } - - /** - * - * - * @generated - */ - @Override - public NamedElement getType() { - if (type != null && type.eIsProxy()) { - InternalEObject oldType = (InternalEObject)type; - type = (NamedElement)eResolveProxy(oldType); - if (type != oldType) { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, SolverLanguagePackage.TYPED_ARGUMENT__TYPE, oldType, type)); - } - } - return type; - } - - /** - * - * - * @generated - */ - public NamedElement basicGetType() { - return type; - } - - /** - * - * - * @generated - */ - @Override - public void setType(NamedElement newType) { - NamedElement oldType = type; - type = newType; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.TYPED_ARGUMENT__TYPE, oldType, type)); - } - - /** - * - * - * @generated - */ - @Override - public NamedElement getVariable() { - if (variable != null && variable.eIsProxy()) { - InternalEObject oldVariable = (InternalEObject)variable; - variable = (NamedElement)eResolveProxy(oldVariable); - if (variable != oldVariable) { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, SolverLanguagePackage.TYPED_ARGUMENT__VARIABLE, oldVariable, variable)); - } - } - return variable; - } - - /** - * - * - * @generated - */ - public NamedElement basicGetVariable() { - return variable; - } - - /** - * - * - * @generated - */ - @Override - public void setVariable(NamedElement newVariable) { - NamedElement oldVariable = variable; - variable = newVariable; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.TYPED_ARGUMENT__VARIABLE, oldVariable, variable)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case SolverLanguagePackage.TYPED_ARGUMENT__TYPE: - if (resolve) return getType(); - return basicGetType(); - case SolverLanguagePackage.TYPED_ARGUMENT__VARIABLE: - if (resolve) return getVariable(); - return basicGetVariable(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case SolverLanguagePackage.TYPED_ARGUMENT__TYPE: - setType((NamedElement)newValue); - return; - case SolverLanguagePackage.TYPED_ARGUMENT__VARIABLE: - setVariable((NamedElement)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case SolverLanguagePackage.TYPED_ARGUMENT__TYPE: - setType((NamedElement)null); - return; - case SolverLanguagePackage.TYPED_ARGUMENT__VARIABLE: - setVariable((NamedElement)null); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case SolverLanguagePackage.TYPED_ARGUMENT__TYPE: - return type != null; - case SolverLanguagePackage.TYPED_ARGUMENT__VARIABLE: - return variable != null; - } - return super.eIsSet(featureID); - } - -} //TypedArgumentImpl diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/TypedStarArgumentImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/TypedStarArgumentImpl.java deleted file mode 100644 index c806b3c2..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/TypedStarArgumentImpl.java +++ /dev/null @@ -1,159 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage.impl; - -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.solver.language.solverLanguage.NamedElement; -import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; -import org.eclipse.viatra.solver.language.solverLanguage.TypedStarArgument; - -/** - * - * An implementation of the model object 'Typed Star Argument'. - * - *

    - * The following features are implemented: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.TypedStarArgumentImpl#getType Type}
    • - *
    - * - * @generated - */ -public class TypedStarArgumentImpl extends ArgumentImpl implements TypedStarArgument { - /** - * The cached value of the '{@link #getType() Type}' reference. - * - * - * @see #getType() - * @generated - * @ordered - */ - protected NamedElement type; - - /** - * - * - * @generated - */ - protected TypedStarArgumentImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return SolverLanguagePackage.Literals.TYPED_STAR_ARGUMENT; - } - - /** - * - * - * @generated - */ - @Override - public NamedElement getType() { - if (type != null && type.eIsProxy()) { - InternalEObject oldType = (InternalEObject)type; - type = (NamedElement)eResolveProxy(oldType); - if (type != oldType) { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, SolverLanguagePackage.TYPED_STAR_ARGUMENT__TYPE, oldType, type)); - } - } - return type; - } - - /** - * - * - * @generated - */ - public NamedElement basicGetType() { - return type; - } - - /** - * - * - * @generated - */ - @Override - public void setType(NamedElement newType) { - NamedElement oldType = type; - type = newType; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.TYPED_STAR_ARGUMENT__TYPE, oldType, type)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case SolverLanguagePackage.TYPED_STAR_ARGUMENT__TYPE: - if (resolve) return getType(); - return basicGetType(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case SolverLanguagePackage.TYPED_STAR_ARGUMENT__TYPE: - setType((NamedElement)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case SolverLanguagePackage.TYPED_STAR_ARGUMENT__TYPE: - setType((NamedElement)null); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case SolverLanguagePackage.TYPED_STAR_ARGUMENT__TYPE: - return type != null; - } - return super.eIsSet(featureID); - } - -} //TypedStarArgumentImpl diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/UnaryExpressionImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/UnaryExpressionImpl.java deleted file mode 100644 index a3a7b1dc..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/UnaryExpressionImpl.java +++ /dev/null @@ -1,249 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage.impl; - -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.viatra.solver.language.solverLanguage.Expression; -import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; -import org.eclipse.viatra.solver.language.solverLanguage.UnaryExpression; -import org.eclipse.viatra.solver.language.solverLanguage.UnaryOp; - -/** - * - * An implementation of the model object 'Unary Expression'. - * - *

    - * The following features are implemented: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.UnaryExpressionImpl#getOp Op}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.UnaryExpressionImpl#getBody Body}
    • - *
    - * - * @generated - */ -public class UnaryExpressionImpl extends ExpressionImpl implements UnaryExpression { - /** - * The default value of the '{@link #getOp() Op}' attribute. - * - * - * @see #getOp() - * @generated - * @ordered - */ - protected static final UnaryOp OP_EDEFAULT = UnaryOp.NEG; - - /** - * The cached value of the '{@link #getOp() Op}' attribute. - * - * - * @see #getOp() - * @generated - * @ordered - */ - protected UnaryOp op = OP_EDEFAULT; - - /** - * The cached value of the '{@link #getBody() Body}' containment reference. - * - * - * @see #getBody() - * @generated - * @ordered - */ - protected Expression body; - - /** - * - * - * @generated - */ - protected UnaryExpressionImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return SolverLanguagePackage.Literals.UNARY_EXPRESSION; - } - - /** - * - * - * @generated - */ - @Override - public UnaryOp getOp() { - return op; - } - - /** - * - * - * @generated - */ - @Override - public void setOp(UnaryOp newOp) { - UnaryOp oldOp = op; - op = newOp == null ? OP_EDEFAULT : newOp; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.UNARY_EXPRESSION__OP, oldOp, op)); - } - - /** - * - * - * @generated - */ - @Override - public Expression getBody() { - return body; - } - - /** - * - * - * @generated - */ - public NotificationChain basicSetBody(Expression newBody, NotificationChain msgs) { - Expression oldBody = body; - body = newBody; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.UNARY_EXPRESSION__BODY, oldBody, newBody); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * - * - * @generated - */ - @Override - public void setBody(Expression newBody) { - if (newBody != body) { - NotificationChain msgs = null; - if (body != null) - msgs = ((InternalEObject)body).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.UNARY_EXPRESSION__BODY, null, msgs); - if (newBody != null) - msgs = ((InternalEObject)newBody).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.UNARY_EXPRESSION__BODY, null, msgs); - msgs = basicSetBody(newBody, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.UNARY_EXPRESSION__BODY, newBody, newBody)); - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case SolverLanguagePackage.UNARY_EXPRESSION__BODY: - return basicSetBody(null, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case SolverLanguagePackage.UNARY_EXPRESSION__OP: - return getOp(); - case SolverLanguagePackage.UNARY_EXPRESSION__BODY: - return getBody(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case SolverLanguagePackage.UNARY_EXPRESSION__OP: - setOp((UnaryOp)newValue); - return; - case SolverLanguagePackage.UNARY_EXPRESSION__BODY: - setBody((Expression)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case SolverLanguagePackage.UNARY_EXPRESSION__OP: - setOp(OP_EDEFAULT); - return; - case SolverLanguagePackage.UNARY_EXPRESSION__BODY: - setBody((Expression)null); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case SolverLanguagePackage.UNARY_EXPRESSION__OP: - return op != OP_EDEFAULT; - case SolverLanguagePackage.UNARY_EXPRESSION__BODY: - return body != null; - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuilder result = new StringBuilder(super.toString()); - result.append(" (op: "); - result.append(op); - result.append(')'); - return result.toString(); - } - -} //UnaryExpressionImpl diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/UnnamedErrorPrediateDefinitionImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/UnnamedErrorPrediateDefinitionImpl.java deleted file mode 100644 index 35450b74..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/UnnamedErrorPrediateDefinitionImpl.java +++ /dev/null @@ -1,247 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage.impl; - -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.viatra.solver.language.solverLanguage.ArgumentList; -import org.eclipse.viatra.solver.language.solverLanguage.Expression; -import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; -import org.eclipse.viatra.solver.language.solverLanguage.UnnamedErrorPrediateDefinition; - -/** - * - * An implementation of the model object 'Unnamed Error Prediate Definition'. - * - *

    - * The following features are implemented: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.UnnamedErrorPrediateDefinitionImpl#getArgumentList Argument List}
    • - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.UnnamedErrorPrediateDefinitionImpl#getBody Body}
    • - *
    - * - * @generated - */ -public class UnnamedErrorPrediateDefinitionImpl extends StatementImpl implements UnnamedErrorPrediateDefinition { - /** - * The cached value of the '{@link #getArgumentList() Argument List}' containment reference. - * - * - * @see #getArgumentList() - * @generated - * @ordered - */ - protected ArgumentList argumentList; - - /** - * The cached value of the '{@link #getBody() Body}' containment reference. - * - * - * @see #getBody() - * @generated - * @ordered - */ - protected Expression body; - - /** - * - * - * @generated - */ - protected UnnamedErrorPrediateDefinitionImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return SolverLanguagePackage.Literals.UNNAMED_ERROR_PREDIATE_DEFINITION; - } - - /** - * - * - * @generated - */ - @Override - public ArgumentList getArgumentList() { - return argumentList; - } - - /** - * - * - * @generated - */ - public NotificationChain basicSetArgumentList(ArgumentList newArgumentList, NotificationChain msgs) { - ArgumentList oldArgumentList = argumentList; - argumentList = newArgumentList; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.UNNAMED_ERROR_PREDIATE_DEFINITION__ARGUMENT_LIST, oldArgumentList, newArgumentList); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * - * - * @generated - */ - @Override - public void setArgumentList(ArgumentList newArgumentList) { - if (newArgumentList != argumentList) { - NotificationChain msgs = null; - if (argumentList != null) - msgs = ((InternalEObject)argumentList).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.UNNAMED_ERROR_PREDIATE_DEFINITION__ARGUMENT_LIST, null, msgs); - if (newArgumentList != null) - msgs = ((InternalEObject)newArgumentList).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.UNNAMED_ERROR_PREDIATE_DEFINITION__ARGUMENT_LIST, null, msgs); - msgs = basicSetArgumentList(newArgumentList, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.UNNAMED_ERROR_PREDIATE_DEFINITION__ARGUMENT_LIST, newArgumentList, newArgumentList)); - } - - /** - * - * - * @generated - */ - @Override - public Expression getBody() { - return body; - } - - /** - * - * - * @generated - */ - public NotificationChain basicSetBody(Expression newBody, NotificationChain msgs) { - Expression oldBody = body; - body = newBody; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.UNNAMED_ERROR_PREDIATE_DEFINITION__BODY, oldBody, newBody); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * - * - * @generated - */ - @Override - public void setBody(Expression newBody) { - if (newBody != body) { - NotificationChain msgs = null; - if (body != null) - msgs = ((InternalEObject)body).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.UNNAMED_ERROR_PREDIATE_DEFINITION__BODY, null, msgs); - if (newBody != null) - msgs = ((InternalEObject)newBody).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SolverLanguagePackage.UNNAMED_ERROR_PREDIATE_DEFINITION__BODY, null, msgs); - msgs = basicSetBody(newBody, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.UNNAMED_ERROR_PREDIATE_DEFINITION__BODY, newBody, newBody)); - } - - /** - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case SolverLanguagePackage.UNNAMED_ERROR_PREDIATE_DEFINITION__ARGUMENT_LIST: - return basicSetArgumentList(null, msgs); - case SolverLanguagePackage.UNNAMED_ERROR_PREDIATE_DEFINITION__BODY: - return basicSetBody(null, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case SolverLanguagePackage.UNNAMED_ERROR_PREDIATE_DEFINITION__ARGUMENT_LIST: - return getArgumentList(); - case SolverLanguagePackage.UNNAMED_ERROR_PREDIATE_DEFINITION__BODY: - return getBody(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case SolverLanguagePackage.UNNAMED_ERROR_PREDIATE_DEFINITION__ARGUMENT_LIST: - setArgumentList((ArgumentList)newValue); - return; - case SolverLanguagePackage.UNNAMED_ERROR_PREDIATE_DEFINITION__BODY: - setBody((Expression)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case SolverLanguagePackage.UNNAMED_ERROR_PREDIATE_DEFINITION__ARGUMENT_LIST: - setArgumentList((ArgumentList)null); - return; - case SolverLanguagePackage.UNNAMED_ERROR_PREDIATE_DEFINITION__BODY: - setBody((Expression)null); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case SolverLanguagePackage.UNNAMED_ERROR_PREDIATE_DEFINITION__ARGUMENT_LIST: - return argumentList != null; - case SolverLanguagePackage.UNNAMED_ERROR_PREDIATE_DEFINITION__BODY: - return body != null; - } - return super.eIsSet(featureID); - } - -} //UnnamedErrorPrediateDefinitionImpl diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/VariableImpl.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/VariableImpl.java deleted file mode 100644 index 1762d35c..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/impl/VariableImpl.java +++ /dev/null @@ -1,159 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage.impl; - -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.solver.language.solverLanguage.NamedElement; -import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; -import org.eclipse.viatra.solver.language.solverLanguage.Variable; - -/** - * - * An implementation of the model object 'Variable'. - * - *

    - * The following features are implemented: - *

    - *
      - *
    • {@link org.eclipse.viatra.solver.language.solverLanguage.impl.VariableImpl#getType Type}
    • - *
    - * - * @generated - */ -public class VariableImpl extends NamedElementImpl implements Variable { - /** - * The cached value of the '{@link #getType() Type}' reference. - * - * - * @see #getType() - * @generated - * @ordered - */ - protected NamedElement type; - - /** - * - * - * @generated - */ - protected VariableImpl() { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return SolverLanguagePackage.Literals.VARIABLE; - } - - /** - * - * - * @generated - */ - @Override - public NamedElement getType() { - if (type != null && type.eIsProxy()) { - InternalEObject oldType = (InternalEObject)type; - type = (NamedElement)eResolveProxy(oldType); - if (type != oldType) { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, SolverLanguagePackage.VARIABLE__TYPE, oldType, type)); - } - } - return type; - } - - /** - * - * - * @generated - */ - public NamedElement basicGetType() { - return type; - } - - /** - * - * - * @generated - */ - @Override - public void setType(NamedElement newType) { - NamedElement oldType = type; - type = newType; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SolverLanguagePackage.VARIABLE__TYPE, oldType, type)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case SolverLanguagePackage.VARIABLE__TYPE: - if (resolve) return getType(); - return basicGetType(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case SolverLanguagePackage.VARIABLE__TYPE: - setType((NamedElement)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case SolverLanguagePackage.VARIABLE__TYPE: - setType((NamedElement)null); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case SolverLanguagePackage.VARIABLE__TYPE: - return type != null; - } - return super.eIsSet(featureID); - } - -} //VariableImpl diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/util/SolverLanguageAdapterFactory.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/util/SolverLanguageAdapterFactory.java deleted file mode 100644 index 23971e9d..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/util/SolverLanguageAdapterFactory.java +++ /dev/null @@ -1,1147 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage.util; - -import org.eclipse.emf.common.notify.Adapter; -import org.eclipse.emf.common.notify.Notifier; - -import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl; - -import org.eclipse.emf.ecore.EObject; - -import org.eclipse.viatra.solver.language.solverLanguage.*; - -/** - * - * The Adapter Factory for the model. - * It provides an adapter createXXX method for each class of the model. - * - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage - * @generated - */ -public class SolverLanguageAdapterFactory extends AdapterFactoryImpl { - /** - * The cached model package. - * - * - * @generated - */ - protected static SolverLanguagePackage modelPackage; - - /** - * Creates an instance of the adapter factory. - * - * - * @generated - */ - public SolverLanguageAdapterFactory() { - if (modelPackage == null) { - modelPackage = SolverLanguagePackage.eINSTANCE; - } - } - - /** - * Returns whether this factory is applicable for the type of the object. - * - * This implementation returns true if the object is either the model's package or is an instance object of the model. - * - * @return whether this factory is applicable for the type of the object. - * @generated - */ - @Override - public boolean isFactoryForType(Object object) { - if (object == modelPackage) { - return true; - } - if (object instanceof EObject) { - return ((EObject)object).eClass().getEPackage() == modelPackage; - } - return false; - } - - /** - * The switch that delegates to the createXXX methods. - * - * - * @generated - */ - protected SolverLanguageSwitch modelSwitch = - new SolverLanguageSwitch() { - @Override - public Adapter caseProblem(Problem object) { - return createProblemAdapter(); - } - @Override - public Adapter caseStatement(Statement object) { - return createStatementAdapter(); - } - @Override - public Adapter casePredicateDefinition(PredicateDefinition object) { - return createPredicateDefinitionAdapter(); - } - @Override - public Adapter caseUnnamedErrorPrediateDefinition(UnnamedErrorPrediateDefinition object) { - return createUnnamedErrorPrediateDefinitionAdapter(); - } - @Override - public Adapter caseDefaultDefinition(DefaultDefinition object) { - return createDefaultDefinitionAdapter(); - } - @Override - public Adapter caseMetricDefinition(MetricDefinition object) { - return createMetricDefinitionAdapter(); - } - @Override - public Adapter caseExternPredicateDefinition(ExternPredicateDefinition object) { - return createExternPredicateDefinitionAdapter(); - } - @Override - public Adapter caseExternMetricDefinition(ExternMetricDefinition object) { - return createExternMetricDefinitionAdapter(); - } - @Override - public Adapter caseExternAggregatorDefinition(ExternAggregatorDefinition object) { - return createExternAggregatorDefinitionAdapter(); - } - @Override - public Adapter caseExternDatatypeDefinition(ExternDatatypeDefinition object) { - return createExternDatatypeDefinitionAdapter(); - } - @Override - public Adapter caseNamedElement(NamedElement object) { - return createNamedElementAdapter(); - } - @Override - public Adapter caseExpression(Expression object) { - return createExpressionAdapter(); - } - @Override - public Adapter caseIfElse(IfElse object) { - return createIfElseAdapter(); - } - @Override - public Adapter caseLet(Let object) { - return createLetAdapter(); - } - @Override - public Adapter caseLetBinding(LetBinding object) { - return createLetBindingAdapter(); - } - @Override - public Adapter caseCase(Case object) { - return createCaseAdapter(); - } - @Override - public Adapter caseLocalVariables(LocalVariables object) { - return createLocalVariablesAdapter(); - } - @Override - public Adapter caseQuantifiedExpression(QuantifiedExpression object) { - return createQuantifiedExpressionAdapter(); - } - @Override - public Adapter caseAggregation(Aggregation object) { - return createAggregationAdapter(); - } - @Override - public Adapter caseCall(Call object) { - return createCallAdapter(); - } - @Override - public Adapter caseArgumentList(ArgumentList object) { - return createArgumentListAdapter(); - } - @Override - public Adapter caseArgument(Argument object) { - return createArgumentAdapter(); - } - @Override - public Adapter caseExpressionArgument(ExpressionArgument object) { - return createExpressionArgumentAdapter(); - } - @Override - public Adapter caseStarArgument(StarArgument object) { - return createStarArgumentAdapter(); - } - @Override - public Adapter caseTypedArgument(TypedArgument object) { - return createTypedArgumentAdapter(); - } - @Override - public Adapter caseTypedStarArgument(TypedStarArgument object) { - return createTypedStarArgumentAdapter(); - } - @Override - public Adapter caseReference(Reference object) { - return createReferenceAdapter(); - } - @Override - public Adapter caseInterval(Interval object) { - return createIntervalAdapter(); - } - @Override - public Adapter caseLiteral(Literal object) { - return createLiteralAdapter(); - } - @Override - public Adapter caseLogicLiteral(LogicLiteral object) { - return createLogicLiteralAdapter(); - } - @Override - public Adapter caseNumericLiteral(NumericLiteral object) { - return createNumericLiteralAdapter(); - } - @Override - public Adapter caseInfinityLiteral(InfinityLiteral object) { - return createInfinityLiteralAdapter(); - } - @Override - public Adapter caseEmptyIntervalLiteral(EmptyIntervalLiteral object) { - return createEmptyIntervalLiteralAdapter(); - } - @Override - public Adapter caseStringLiteral(StringLiteral object) { - return createStringLiteralAdapter(); - } - @Override - public Adapter caseClassDefinition(ClassDefinition object) { - return createClassDefinitionAdapter(); - } - @Override - public Adapter caseMemberDefinition(MemberDefinition object) { - return createMemberDefinitionAdapter(); - } - @Override - public Adapter caseMultiplicity(Multiplicity object) { - return createMultiplicityAdapter(); - } - @Override - public Adapter caseManyMultiplicity(ManyMultiplicity object) { - return createManyMultiplicityAdapter(); - } - @Override - public Adapter caseExactMultiplicity(ExactMultiplicity object) { - return createExactMultiplicityAdapter(); - } - @Override - public Adapter caseBoundedMultiplicity(BoundedMultiplicity object) { - return createBoundedMultiplicityAdapter(); - } - @Override - public Adapter caseScopeDefinition(ScopeDefinition object) { - return createScopeDefinitionAdapter(); - } - @Override - public Adapter caseExactScopeDefinition(ExactScopeDefinition object) { - return createExactScopeDefinitionAdapter(); - } - @Override - public Adapter caseBoundedScopeDefinition(BoundedScopeDefinition object) { - return createBoundedScopeDefinitionAdapter(); - } - @Override - public Adapter caseLowerBoundedScopeDefinition(LowerBoundedScopeDefinition object) { - return createLowerBoundedScopeDefinitionAdapter(); - } - @Override - public Adapter caseObjectiveDefinition(ObjectiveDefinition object) { - return createObjectiveDefinitionAdapter(); - } - @Override - public Adapter caseInterpretation(Interpretation object) { - return createInterpretationAdapter(); - } - @Override - public Adapter caseVariable(Variable object) { - return createVariableAdapter(); - } - @Override - public Adapter caseDisjunction(Disjunction object) { - return createDisjunctionAdapter(); - } - @Override - public Adapter caseSwitch(Switch object) { - return createSwitchAdapter(); - } - @Override - public Adapter caseConjunction(Conjunction object) { - return createConjunctionAdapter(); - } - @Override - public Adapter caseComparison(Comparison object) { - return createComparisonAdapter(); - } - @Override - public Adapter caseBinaryExpression(BinaryExpression object) { - return createBinaryExpressionAdapter(); - } - @Override - public Adapter caseCastExpression(CastExpression object) { - return createCastExpressionAdapter(); - } - @Override - public Adapter caseUnaryExpression(UnaryExpression object) { - return createUnaryExpressionAdapter(); - } - @Override - public Adapter caseNode(Node object) { - return createNodeAdapter(); - } - @Override - public Adapter caseFunctor(Functor object) { - return createFunctorAdapter(); - } - @Override - public Adapter casePredicate(Predicate object) { - return createPredicateAdapter(); - } - @Override - public Adapter caseMetric(Metric object) { - return createMetricAdapter(); - } - @Override - public Adapter defaultCase(EObject object) { - return createEObjectAdapter(); - } - }; - - /** - * Creates an adapter for the target. - * - * - * @param target the object to adapt. - * @return the adapter for the target. - * @generated - */ - @Override - public Adapter createAdapter(Notifier target) { - return modelSwitch.doSwitch((EObject)target); - } - - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.Problem Problem}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.viatra.solver.language.solverLanguage.Problem - * @generated - */ - public Adapter createProblemAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.Statement Statement}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.viatra.solver.language.solverLanguage.Statement - * @generated - */ - public Adapter createStatementAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.PredicateDefinition Predicate Definition}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.viatra.solver.language.solverLanguage.PredicateDefinition - * @generated - */ - public Adapter createPredicateDefinitionAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.UnnamedErrorPrediateDefinition Unnamed Error Prediate Definition}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.viatra.solver.language.solverLanguage.UnnamedErrorPrediateDefinition - * @generated - */ - public Adapter createUnnamedErrorPrediateDefinitionAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.DefaultDefinition Default Definition}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.viatra.solver.language.solverLanguage.DefaultDefinition - * @generated - */ - public Adapter createDefaultDefinitionAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.MetricDefinition Metric Definition}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.viatra.solver.language.solverLanguage.MetricDefinition - * @generated - */ - public Adapter createMetricDefinitionAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.ExternPredicateDefinition Extern Predicate Definition}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.viatra.solver.language.solverLanguage.ExternPredicateDefinition - * @generated - */ - public Adapter createExternPredicateDefinitionAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.ExternMetricDefinition Extern Metric Definition}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.viatra.solver.language.solverLanguage.ExternMetricDefinition - * @generated - */ - public Adapter createExternMetricDefinitionAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.ExternAggregatorDefinition Extern Aggregator Definition}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.viatra.solver.language.solverLanguage.ExternAggregatorDefinition - * @generated - */ - public Adapter createExternAggregatorDefinitionAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.ExternDatatypeDefinition Extern Datatype Definition}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.viatra.solver.language.solverLanguage.ExternDatatypeDefinition - * @generated - */ - public Adapter createExternDatatypeDefinitionAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.NamedElement Named Element}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.viatra.solver.language.solverLanguage.NamedElement - * @generated - */ - public Adapter createNamedElementAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.Expression Expression}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.viatra.solver.language.solverLanguage.Expression - * @generated - */ - public Adapter createExpressionAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.IfElse If Else}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.viatra.solver.language.solverLanguage.IfElse - * @generated - */ - public Adapter createIfElseAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.Let Let}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.viatra.solver.language.solverLanguage.Let - * @generated - */ - public Adapter createLetAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.LetBinding Let Binding}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.viatra.solver.language.solverLanguage.LetBinding - * @generated - */ - public Adapter createLetBindingAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.Case Case}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.viatra.solver.language.solverLanguage.Case - * @generated - */ - public Adapter createCaseAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.LocalVariables Local Variables}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.viatra.solver.language.solverLanguage.LocalVariables - * @generated - */ - public Adapter createLocalVariablesAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.QuantifiedExpression Quantified Expression}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.viatra.solver.language.solverLanguage.QuantifiedExpression - * @generated - */ - public Adapter createQuantifiedExpressionAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.Aggregation Aggregation}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.viatra.solver.language.solverLanguage.Aggregation - * @generated - */ - public Adapter createAggregationAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.Call Call}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.viatra.solver.language.solverLanguage.Call - * @generated - */ - public Adapter createCallAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.ArgumentList Argument List}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.viatra.solver.language.solverLanguage.ArgumentList - * @generated - */ - public Adapter createArgumentListAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.Argument Argument}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.viatra.solver.language.solverLanguage.Argument - * @generated - */ - public Adapter createArgumentAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.ExpressionArgument Expression Argument}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.viatra.solver.language.solverLanguage.ExpressionArgument - * @generated - */ - public Adapter createExpressionArgumentAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.StarArgument Star Argument}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.viatra.solver.language.solverLanguage.StarArgument - * @generated - */ - public Adapter createStarArgumentAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.TypedArgument Typed Argument}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.viatra.solver.language.solverLanguage.TypedArgument - * @generated - */ - public Adapter createTypedArgumentAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.TypedStarArgument Typed Star Argument}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.viatra.solver.language.solverLanguage.TypedStarArgument - * @generated - */ - public Adapter createTypedStarArgumentAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.Reference Reference}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.viatra.solver.language.solverLanguage.Reference - * @generated - */ - public Adapter createReferenceAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.Interval Interval}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.viatra.solver.language.solverLanguage.Interval - * @generated - */ - public Adapter createIntervalAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.Literal Literal}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.viatra.solver.language.solverLanguage.Literal - * @generated - */ - public Adapter createLiteralAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.LogicLiteral Logic Literal}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.viatra.solver.language.solverLanguage.LogicLiteral - * @generated - */ - public Adapter createLogicLiteralAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.NumericLiteral Numeric Literal}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.viatra.solver.language.solverLanguage.NumericLiteral - * @generated - */ - public Adapter createNumericLiteralAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.InfinityLiteral Infinity Literal}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.viatra.solver.language.solverLanguage.InfinityLiteral - * @generated - */ - public Adapter createInfinityLiteralAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.EmptyIntervalLiteral Empty Interval Literal}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.viatra.solver.language.solverLanguage.EmptyIntervalLiteral - * @generated - */ - public Adapter createEmptyIntervalLiteralAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.StringLiteral String Literal}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.viatra.solver.language.solverLanguage.StringLiteral - * @generated - */ - public Adapter createStringLiteralAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.ClassDefinition Class Definition}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.viatra.solver.language.solverLanguage.ClassDefinition - * @generated - */ - public Adapter createClassDefinitionAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.MemberDefinition Member Definition}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.viatra.solver.language.solverLanguage.MemberDefinition - * @generated - */ - public Adapter createMemberDefinitionAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.Multiplicity Multiplicity}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.viatra.solver.language.solverLanguage.Multiplicity - * @generated - */ - public Adapter createMultiplicityAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.ManyMultiplicity Many Multiplicity}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.viatra.solver.language.solverLanguage.ManyMultiplicity - * @generated - */ - public Adapter createManyMultiplicityAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.ExactMultiplicity Exact Multiplicity}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.viatra.solver.language.solverLanguage.ExactMultiplicity - * @generated - */ - public Adapter createExactMultiplicityAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.BoundedMultiplicity Bounded Multiplicity}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.viatra.solver.language.solverLanguage.BoundedMultiplicity - * @generated - */ - public Adapter createBoundedMultiplicityAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.ScopeDefinition Scope Definition}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.viatra.solver.language.solverLanguage.ScopeDefinition - * @generated - */ - public Adapter createScopeDefinitionAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.ExactScopeDefinition Exact Scope Definition}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.viatra.solver.language.solverLanguage.ExactScopeDefinition - * @generated - */ - public Adapter createExactScopeDefinitionAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.BoundedScopeDefinition Bounded Scope Definition}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.viatra.solver.language.solverLanguage.BoundedScopeDefinition - * @generated - */ - public Adapter createBoundedScopeDefinitionAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.LowerBoundedScopeDefinition Lower Bounded Scope Definition}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.viatra.solver.language.solverLanguage.LowerBoundedScopeDefinition - * @generated - */ - public Adapter createLowerBoundedScopeDefinitionAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.ObjectiveDefinition Objective Definition}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.viatra.solver.language.solverLanguage.ObjectiveDefinition - * @generated - */ - public Adapter createObjectiveDefinitionAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.Interpretation Interpretation}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.viatra.solver.language.solverLanguage.Interpretation - * @generated - */ - public Adapter createInterpretationAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.Variable Variable}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.viatra.solver.language.solverLanguage.Variable - * @generated - */ - public Adapter createVariableAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.Disjunction Disjunction}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.viatra.solver.language.solverLanguage.Disjunction - * @generated - */ - public Adapter createDisjunctionAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.Switch Switch}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.viatra.solver.language.solverLanguage.Switch - * @generated - */ - public Adapter createSwitchAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.Conjunction Conjunction}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.viatra.solver.language.solverLanguage.Conjunction - * @generated - */ - public Adapter createConjunctionAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.Comparison Comparison}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.viatra.solver.language.solverLanguage.Comparison - * @generated - */ - public Adapter createComparisonAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.BinaryExpression Binary Expression}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.viatra.solver.language.solverLanguage.BinaryExpression - * @generated - */ - public Adapter createBinaryExpressionAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.CastExpression Cast Expression}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.viatra.solver.language.solverLanguage.CastExpression - * @generated - */ - public Adapter createCastExpressionAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.UnaryExpression Unary Expression}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.viatra.solver.language.solverLanguage.UnaryExpression - * @generated - */ - public Adapter createUnaryExpressionAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.Node Node}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.viatra.solver.language.solverLanguage.Node - * @generated - */ - public Adapter createNodeAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.Functor Functor}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.viatra.solver.language.solverLanguage.Functor - * @generated - */ - public Adapter createFunctorAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.Predicate Predicate}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.viatra.solver.language.solverLanguage.Predicate - * @generated - */ - public Adapter createPredicateAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.solverLanguage.Metric Metric}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * @return the new adapter. - * @see org.eclipse.viatra.solver.language.solverLanguage.Metric - * @generated - */ - public Adapter createMetricAdapter() { - return null; - } - - /** - * Creates a new adapter for the default case. - * - * This default implementation returns null. - * - * @return the new adapter. - * @generated - */ - public Adapter createEObjectAdapter() { - return null; - } - -} //SolverLanguageAdapterFactory diff --git a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/util/SolverLanguageSwitch.java b/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/util/SolverLanguageSwitch.java deleted file mode 100644 index 4e5929e6..00000000 --- a/Application/org.eclipse.viatra.solver.language/ecore-gen/org/eclipse/viatra/solver/language/solverLanguage/util/SolverLanguageSwitch.java +++ /dev/null @@ -1,1388 +0,0 @@ -/** - * generated by Xtext 2.21.0 - */ -package org.eclipse.viatra.solver.language.solverLanguage.util; - -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.EPackage; - -import org.eclipse.emf.ecore.util.Switch; - -import org.eclipse.viatra.solver.language.solverLanguage.*; - -/** - * - * The Switch for the model's inheritance hierarchy. - * It supports the call {@link #doSwitch(EObject) doSwitch(object)} - * to invoke the caseXXX method for each class of the model, - * starting with the actual class of the object - * and proceeding up the inheritance hierarchy - * until a non-null result is returned, - * which is the result of the switch. - * - * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage - * @generated - */ -public class SolverLanguageSwitch extends Switch { - /** - * The cached model package - * - * - * @generated - */ - protected static SolverLanguagePackage modelPackage; - - /** - * Creates an instance of the switch. - * - * - * @generated - */ - public SolverLanguageSwitch() { - if (modelPackage == null) { - modelPackage = SolverLanguagePackage.eINSTANCE; - } - } - - /** - * Checks whether this is a switch for the given package. - * - * - * @param ePackage the package in question. - * @return whether this is a switch for the given package. - * @generated - */ - @Override - protected boolean isSwitchFor(EPackage ePackage) { - return ePackage == modelPackage; - } - - /** - * Calls caseXXX for each class of the model until one returns a non null result; it yields that result. - * - * - * @return the first non-null result returned by a caseXXX call. - * @generated - */ - @Override - protected T doSwitch(int classifierID, EObject theEObject) { - switch (classifierID) { - case SolverLanguagePackage.PROBLEM: { - Problem problem = (Problem)theEObject; - T result = caseProblem(problem); - if (result == null) result = defaultCase(theEObject); - return result; - } - case SolverLanguagePackage.STATEMENT: { - Statement statement = (Statement)theEObject; - T result = caseStatement(statement); - if (result == null) result = defaultCase(theEObject); - return result; - } - case SolverLanguagePackage.PREDICATE_DEFINITION: { - PredicateDefinition predicateDefinition = (PredicateDefinition)theEObject; - T result = casePredicateDefinition(predicateDefinition); - if (result == null) result = caseStatement(predicateDefinition); - if (result == null) result = defaultCase(theEObject); - return result; - } - case SolverLanguagePackage.UNNAMED_ERROR_PREDIATE_DEFINITION: { - UnnamedErrorPrediateDefinition unnamedErrorPrediateDefinition = (UnnamedErrorPrediateDefinition)theEObject; - T result = caseUnnamedErrorPrediateDefinition(unnamedErrorPrediateDefinition); - if (result == null) result = caseStatement(unnamedErrorPrediateDefinition); - if (result == null) result = defaultCase(theEObject); - return result; - } - case SolverLanguagePackage.DEFAULT_DEFINITION: { - DefaultDefinition defaultDefinition = (DefaultDefinition)theEObject; - T result = caseDefaultDefinition(defaultDefinition); - if (result == null) result = caseStatement(defaultDefinition); - if (result == null) result = defaultCase(theEObject); - return result; - } - case SolverLanguagePackage.METRIC_DEFINITION: { - MetricDefinition metricDefinition = (MetricDefinition)theEObject; - T result = caseMetricDefinition(metricDefinition); - if (result == null) result = caseStatement(metricDefinition); - if (result == null) result = defaultCase(theEObject); - return result; - } - case SolverLanguagePackage.EXTERN_PREDICATE_DEFINITION: { - ExternPredicateDefinition externPredicateDefinition = (ExternPredicateDefinition)theEObject; - T result = caseExternPredicateDefinition(externPredicateDefinition); - if (result == null) result = caseStatement(externPredicateDefinition); - if (result == null) result = defaultCase(theEObject); - return result; - } - case SolverLanguagePackage.EXTERN_METRIC_DEFINITION: { - ExternMetricDefinition externMetricDefinition = (ExternMetricDefinition)theEObject; - T result = caseExternMetricDefinition(externMetricDefinition); - if (result == null) result = caseStatement(externMetricDefinition); - if (result == null) result = defaultCase(theEObject); - return result; - } - case SolverLanguagePackage.EXTERN_AGGREGATOR_DEFINITION: { - ExternAggregatorDefinition externAggregatorDefinition = (ExternAggregatorDefinition)theEObject; - T result = caseExternAggregatorDefinition(externAggregatorDefinition); - if (result == null) result = caseStatement(externAggregatorDefinition); - if (result == null) result = defaultCase(theEObject); - return result; - } - case SolverLanguagePackage.EXTERN_DATATYPE_DEFINITION: { - ExternDatatypeDefinition externDatatypeDefinition = (ExternDatatypeDefinition)theEObject; - T result = caseExternDatatypeDefinition(externDatatypeDefinition); - if (result == null) result = caseStatement(externDatatypeDefinition); - if (result == null) result = defaultCase(theEObject); - return result; - } - case SolverLanguagePackage.NAMED_ELEMENT: { - NamedElement namedElement = (NamedElement)theEObject; - T result = caseNamedElement(namedElement); - if (result == null) result = defaultCase(theEObject); - return result; - } - case SolverLanguagePackage.EXPRESSION: { - Expression expression = (Expression)theEObject; - T result = caseExpression(expression); - if (result == null) result = caseStatement(expression); - if (result == null) result = defaultCase(theEObject); - return result; - } - case SolverLanguagePackage.IF_ELSE: { - IfElse ifElse = (IfElse)theEObject; - T result = caseIfElse(ifElse); - if (result == null) result = caseExpression(ifElse); - if (result == null) result = caseStatement(ifElse); - if (result == null) result = defaultCase(theEObject); - return result; - } - case SolverLanguagePackage.LET: { - Let let = (Let)theEObject; - T result = caseLet(let); - if (result == null) result = caseExpression(let); - if (result == null) result = caseStatement(let); - if (result == null) result = defaultCase(theEObject); - return result; - } - case SolverLanguagePackage.LET_BINDING: { - LetBinding letBinding = (LetBinding)theEObject; - T result = caseLetBinding(letBinding); - if (result == null) result = defaultCase(theEObject); - return result; - } - case SolverLanguagePackage.CASE: { - Case case_ = (Case)theEObject; - T result = caseCase(case_); - if (result == null) result = caseExpression(case_); - if (result == null) result = caseStatement(case_); - if (result == null) result = defaultCase(theEObject); - return result; - } - case SolverLanguagePackage.LOCAL_VARIABLES: { - LocalVariables localVariables = (LocalVariables)theEObject; - T result = caseLocalVariables(localVariables); - if (result == null) result = defaultCase(theEObject); - return result; - } - case SolverLanguagePackage.QUANTIFIED_EXPRESSION: { - QuantifiedExpression quantifiedExpression = (QuantifiedExpression)theEObject; - T result = caseQuantifiedExpression(quantifiedExpression); - if (result == null) result = caseExpression(quantifiedExpression); - if (result == null) result = caseStatement(quantifiedExpression); - if (result == null) result = defaultCase(theEObject); - return result; - } - case SolverLanguagePackage.AGGREGATION: { - Aggregation aggregation = (Aggregation)theEObject; - T result = caseAggregation(aggregation); - if (result == null) result = caseExpression(aggregation); - if (result == null) result = caseStatement(aggregation); - if (result == null) result = defaultCase(theEObject); - return result; - } - case SolverLanguagePackage.CALL: { - Call call = (Call)theEObject; - T result = caseCall(call); - if (result == null) result = caseExpression(call); - if (result == null) result = caseStatement(call); - if (result == null) result = defaultCase(theEObject); - return result; - } - case SolverLanguagePackage.ARGUMENT_LIST: { - ArgumentList argumentList = (ArgumentList)theEObject; - T result = caseArgumentList(argumentList); - if (result == null) result = defaultCase(theEObject); - return result; - } - case SolverLanguagePackage.ARGUMENT: { - Argument argument = (Argument)theEObject; - T result = caseArgument(argument); - if (result == null) result = defaultCase(theEObject); - return result; - } - case SolverLanguagePackage.EXPRESSION_ARGUMENT: { - ExpressionArgument expressionArgument = (ExpressionArgument)theEObject; - T result = caseExpressionArgument(expressionArgument); - if (result == null) result = caseArgument(expressionArgument); - if (result == null) result = defaultCase(theEObject); - return result; - } - case SolverLanguagePackage.STAR_ARGUMENT: { - StarArgument starArgument = (StarArgument)theEObject; - T result = caseStarArgument(starArgument); - if (result == null) result = caseArgument(starArgument); - if (result == null) result = defaultCase(theEObject); - return result; - } - case SolverLanguagePackage.TYPED_ARGUMENT: { - TypedArgument typedArgument = (TypedArgument)theEObject; - T result = caseTypedArgument(typedArgument); - if (result == null) result = caseArgument(typedArgument); - if (result == null) result = defaultCase(theEObject); - return result; - } - case SolverLanguagePackage.TYPED_STAR_ARGUMENT: { - TypedStarArgument typedStarArgument = (TypedStarArgument)theEObject; - T result = caseTypedStarArgument(typedStarArgument); - if (result == null) result = caseArgument(typedStarArgument); - if (result == null) result = defaultCase(theEObject); - return result; - } - case SolverLanguagePackage.REFERENCE: { - Reference reference = (Reference)theEObject; - T result = caseReference(reference); - if (result == null) result = caseExpression(reference); - if (result == null) result = caseStatement(reference); - if (result == null) result = defaultCase(theEObject); - return result; - } - case SolverLanguagePackage.INTERVAL: { - Interval interval = (Interval)theEObject; - T result = caseInterval(interval); - if (result == null) result = caseExpression(interval); - if (result == null) result = caseStatement(interval); - if (result == null) result = defaultCase(theEObject); - return result; - } - case SolverLanguagePackage.LITERAL: { - Literal literal = (Literal)theEObject; - T result = caseLiteral(literal); - if (result == null) result = caseExpression(literal); - if (result == null) result = caseStatement(literal); - if (result == null) result = defaultCase(theEObject); - return result; - } - case SolverLanguagePackage.LOGIC_LITERAL: { - LogicLiteral logicLiteral = (LogicLiteral)theEObject; - T result = caseLogicLiteral(logicLiteral); - if (result == null) result = caseLiteral(logicLiteral); - if (result == null) result = caseExpression(logicLiteral); - if (result == null) result = caseStatement(logicLiteral); - if (result == null) result = defaultCase(theEObject); - return result; - } - case SolverLanguagePackage.NUMERIC_LITERAL: { - NumericLiteral numericLiteral = (NumericLiteral)theEObject; - T result = caseNumericLiteral(numericLiteral); - if (result == null) result = caseLiteral(numericLiteral); - if (result == null) result = caseExpression(numericLiteral); - if (result == null) result = caseStatement(numericLiteral); - if (result == null) result = defaultCase(theEObject); - return result; - } - case SolverLanguagePackage.INFINITY_LITERAL: { - InfinityLiteral infinityLiteral = (InfinityLiteral)theEObject; - T result = caseInfinityLiteral(infinityLiteral); - if (result == null) result = caseLiteral(infinityLiteral); - if (result == null) result = caseExpression(infinityLiteral); - if (result == null) result = caseStatement(infinityLiteral); - if (result == null) result = defaultCase(theEObject); - return result; - } - case SolverLanguagePackage.EMPTY_INTERVAL_LITERAL: { - EmptyIntervalLiteral emptyIntervalLiteral = (EmptyIntervalLiteral)theEObject; - T result = caseEmptyIntervalLiteral(emptyIntervalLiteral); - if (result == null) result = caseLiteral(emptyIntervalLiteral); - if (result == null) result = caseExpression(emptyIntervalLiteral); - if (result == null) result = caseStatement(emptyIntervalLiteral); - if (result == null) result = defaultCase(theEObject); - return result; - } - case SolverLanguagePackage.STRING_LITERAL: { - StringLiteral stringLiteral = (StringLiteral)theEObject; - T result = caseStringLiteral(stringLiteral); - if (result == null) result = caseLiteral(stringLiteral); - if (result == null) result = caseExpression(stringLiteral); - if (result == null) result = caseStatement(stringLiteral); - if (result == null) result = defaultCase(theEObject); - return result; - } - case SolverLanguagePackage.CLASS_DEFINITION: { - ClassDefinition classDefinition = (ClassDefinition)theEObject; - T result = caseClassDefinition(classDefinition); - if (result == null) result = caseStatement(classDefinition); - if (result == null) result = defaultCase(theEObject); - return result; - } - case SolverLanguagePackage.MEMBER_DEFINITION: { - MemberDefinition memberDefinition = (MemberDefinition)theEObject; - T result = caseMemberDefinition(memberDefinition); - if (result == null) result = defaultCase(theEObject); - return result; - } - case SolverLanguagePackage.MULTIPLICITY: { - Multiplicity multiplicity = (Multiplicity)theEObject; - T result = caseMultiplicity(multiplicity); - if (result == null) result = defaultCase(theEObject); - return result; - } - case SolverLanguagePackage.MANY_MULTIPLICITY: { - ManyMultiplicity manyMultiplicity = (ManyMultiplicity)theEObject; - T result = caseManyMultiplicity(manyMultiplicity); - if (result == null) result = caseMultiplicity(manyMultiplicity); - if (result == null) result = defaultCase(theEObject); - return result; - } - case SolverLanguagePackage.EXACT_MULTIPLICITY: { - ExactMultiplicity exactMultiplicity = (ExactMultiplicity)theEObject; - T result = caseExactMultiplicity(exactMultiplicity); - if (result == null) result = caseMultiplicity(exactMultiplicity); - if (result == null) result = defaultCase(theEObject); - return result; - } - case SolverLanguagePackage.BOUNDED_MULTIPLICITY: { - BoundedMultiplicity boundedMultiplicity = (BoundedMultiplicity)theEObject; - T result = caseBoundedMultiplicity(boundedMultiplicity); - if (result == null) result = caseMultiplicity(boundedMultiplicity); - if (result == null) result = defaultCase(theEObject); - return result; - } - case SolverLanguagePackage.SCOPE_DEFINITION: { - ScopeDefinition scopeDefinition = (ScopeDefinition)theEObject; - T result = caseScopeDefinition(scopeDefinition); - if (result == null) result = caseStatement(scopeDefinition); - if (result == null) result = defaultCase(theEObject); - return result; - } - case SolverLanguagePackage.EXACT_SCOPE_DEFINITION: { - ExactScopeDefinition exactScopeDefinition = (ExactScopeDefinition)theEObject; - T result = caseExactScopeDefinition(exactScopeDefinition); - if (result == null) result = caseScopeDefinition(exactScopeDefinition); - if (result == null) result = caseStatement(exactScopeDefinition); - if (result == null) result = defaultCase(theEObject); - return result; - } - case SolverLanguagePackage.BOUNDED_SCOPE_DEFINITION: { - BoundedScopeDefinition boundedScopeDefinition = (BoundedScopeDefinition)theEObject; - T result = caseBoundedScopeDefinition(boundedScopeDefinition); - if (result == null) result = caseScopeDefinition(boundedScopeDefinition); - if (result == null) result = caseStatement(boundedScopeDefinition); - if (result == null) result = defaultCase(theEObject); - return result; - } - case SolverLanguagePackage.LOWER_BOUNDED_SCOPE_DEFINITION: { - LowerBoundedScopeDefinition lowerBoundedScopeDefinition = (LowerBoundedScopeDefinition)theEObject; - T result = caseLowerBoundedScopeDefinition(lowerBoundedScopeDefinition); - if (result == null) result = caseScopeDefinition(lowerBoundedScopeDefinition); - if (result == null) result = caseStatement(lowerBoundedScopeDefinition); - if (result == null) result = defaultCase(theEObject); - return result; - } - case SolverLanguagePackage.OBJECTIVE_DEFINITION: { - ObjectiveDefinition objectiveDefinition = (ObjectiveDefinition)theEObject; - T result = caseObjectiveDefinition(objectiveDefinition); - if (result == null) result = caseStatement(objectiveDefinition); - if (result == null) result = defaultCase(theEObject); - return result; - } - case SolverLanguagePackage.INTERPRETATION: { - Interpretation interpretation = (Interpretation)theEObject; - T result = caseInterpretation(interpretation); - if (result == null) result = caseStatement(interpretation); - if (result == null) result = defaultCase(theEObject); - return result; - } - case SolverLanguagePackage.VARIABLE: { - Variable variable = (Variable)theEObject; - T result = caseVariable(variable); - if (result == null) result = caseNamedElement(variable); - if (result == null) result = defaultCase(theEObject); - return result; - } - case SolverLanguagePackage.DISJUNCTION: { - Disjunction disjunction = (Disjunction)theEObject; - T result = caseDisjunction(disjunction); - if (result == null) result = caseExpression(disjunction); - if (result == null) result = caseStatement(disjunction); - if (result == null) result = defaultCase(theEObject); - return result; - } - case SolverLanguagePackage.SWITCH: { - org.eclipse.viatra.solver.language.solverLanguage.Switch switch_ = (org.eclipse.viatra.solver.language.solverLanguage.Switch)theEObject; - T result = caseSwitch(switch_); - if (result == null) result = caseExpression(switch_); - if (result == null) result = caseStatement(switch_); - if (result == null) result = defaultCase(theEObject); - return result; - } - case SolverLanguagePackage.CONJUNCTION: { - Conjunction conjunction = (Conjunction)theEObject; - T result = caseConjunction(conjunction); - if (result == null) result = caseExpression(conjunction); - if (result == null) result = caseStatement(conjunction); - if (result == null) result = defaultCase(theEObject); - return result; - } - case SolverLanguagePackage.COMPARISON: { - Comparison comparison = (Comparison)theEObject; - T result = caseComparison(comparison); - if (result == null) result = caseExpression(comparison); - if (result == null) result = caseStatement(comparison); - if (result == null) result = defaultCase(theEObject); - return result; - } - case SolverLanguagePackage.BINARY_EXPRESSION: { - BinaryExpression binaryExpression = (BinaryExpression)theEObject; - T result = caseBinaryExpression(binaryExpression); - if (result == null) result = caseExpression(binaryExpression); - if (result == null) result = caseStatement(binaryExpression); - if (result == null) result = defaultCase(theEObject); - return result; - } - case SolverLanguagePackage.CAST_EXPRESSION: { - CastExpression castExpression = (CastExpression)theEObject; - T result = caseCastExpression(castExpression); - if (result == null) result = caseExpression(castExpression); - if (result == null) result = caseStatement(castExpression); - if (result == null) result = defaultCase(theEObject); - return result; - } - case SolverLanguagePackage.UNARY_EXPRESSION: { - UnaryExpression unaryExpression = (UnaryExpression)theEObject; - T result = caseUnaryExpression(unaryExpression); - if (result == null) result = caseExpression(unaryExpression); - if (result == null) result = caseStatement(unaryExpression); - if (result == null) result = defaultCase(theEObject); - return result; - } - case SolverLanguagePackage.NODE: { - Node node = (Node)theEObject; - T result = caseNode(node); - if (result == null) result = caseNamedElement(node); - if (result == null) result = defaultCase(theEObject); - return result; - } - case SolverLanguagePackage.FUNCTOR: { - Functor functor = (Functor)theEObject; - T result = caseFunctor(functor); - if (result == null) result = caseNamedElement(functor); - if (result == null) result = defaultCase(theEObject); - return result; - } - case SolverLanguagePackage.PREDICATE: { - Predicate predicate = (Predicate)theEObject; - T result = casePredicate(predicate); - if (result == null) result = caseFunctor(predicate); - if (result == null) result = caseNamedElement(predicate); - if (result == null) result = defaultCase(theEObject); - return result; - } - case SolverLanguagePackage.METRIC: { - Metric metric = (Metric)theEObject; - T result = caseMetric(metric); - if (result == null) result = caseFunctor(metric); - if (result == null) result = caseNamedElement(metric); - if (result == null) result = defaultCase(theEObject); - return result; - } - default: return defaultCase(theEObject); - } - } - - /** - * Returns the result of interpreting the object as an instance of 'Problem'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Problem'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseProblem(Problem object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Statement'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Statement'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseStatement(Statement object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Predicate Definition'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Predicate Definition'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T casePredicateDefinition(PredicateDefinition object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Unnamed Error Prediate Definition'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Unnamed Error Prediate Definition'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseUnnamedErrorPrediateDefinition(UnnamedErrorPrediateDefinition object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Default Definition'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Default Definition'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseDefaultDefinition(DefaultDefinition object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Metric Definition'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Metric Definition'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseMetricDefinition(MetricDefinition object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Extern Predicate Definition'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Extern Predicate Definition'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseExternPredicateDefinition(ExternPredicateDefinition object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Extern Metric Definition'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Extern Metric Definition'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseExternMetricDefinition(ExternMetricDefinition object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Extern Aggregator Definition'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Extern Aggregator Definition'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseExternAggregatorDefinition(ExternAggregatorDefinition object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Extern Datatype Definition'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Extern Datatype Definition'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseExternDatatypeDefinition(ExternDatatypeDefinition object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Named Element'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Named Element'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseNamedElement(NamedElement object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Expression'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Expression'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseExpression(Expression object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'If Else'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'If Else'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseIfElse(IfElse object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Let'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Let'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseLet(Let object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Let Binding'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Let Binding'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseLetBinding(LetBinding object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Case'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Case'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseCase(Case object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Local Variables'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Local Variables'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseLocalVariables(LocalVariables object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Quantified Expression'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Quantified Expression'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseQuantifiedExpression(QuantifiedExpression object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Aggregation'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Aggregation'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseAggregation(Aggregation object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Call'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Call'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseCall(Call object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Argument List'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Argument List'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseArgumentList(ArgumentList object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Argument'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Argument'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseArgument(Argument object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Expression Argument'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Expression Argument'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseExpressionArgument(ExpressionArgument object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Star Argument'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Star Argument'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseStarArgument(StarArgument object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Typed Argument'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Typed Argument'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseTypedArgument(TypedArgument object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Typed Star Argument'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Typed Star Argument'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseTypedStarArgument(TypedStarArgument object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Reference'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Reference'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseReference(Reference object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Interval'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Interval'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseInterval(Interval object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Literal'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Literal'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseLiteral(Literal object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Logic Literal'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Logic Literal'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseLogicLiteral(LogicLiteral object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Numeric Literal'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Numeric Literal'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseNumericLiteral(NumericLiteral object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Infinity Literal'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Infinity Literal'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseInfinityLiteral(InfinityLiteral object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Empty Interval Literal'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Empty Interval Literal'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseEmptyIntervalLiteral(EmptyIntervalLiteral object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'String Literal'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'String Literal'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseStringLiteral(StringLiteral object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Class Definition'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Class Definition'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseClassDefinition(ClassDefinition object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Member Definition'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Member Definition'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseMemberDefinition(MemberDefinition object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Multiplicity'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Multiplicity'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseMultiplicity(Multiplicity object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Many Multiplicity'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Many Multiplicity'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseManyMultiplicity(ManyMultiplicity object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Exact Multiplicity'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Exact Multiplicity'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseExactMultiplicity(ExactMultiplicity object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Bounded Multiplicity'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Bounded Multiplicity'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseBoundedMultiplicity(BoundedMultiplicity object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Scope Definition'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Scope Definition'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseScopeDefinition(ScopeDefinition object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Exact Scope Definition'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Exact Scope Definition'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseExactScopeDefinition(ExactScopeDefinition object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Bounded Scope Definition'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Bounded Scope Definition'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseBoundedScopeDefinition(BoundedScopeDefinition object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Lower Bounded Scope Definition'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Lower Bounded Scope Definition'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseLowerBoundedScopeDefinition(LowerBoundedScopeDefinition object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Objective Definition'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Objective Definition'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseObjectiveDefinition(ObjectiveDefinition object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Interpretation'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Interpretation'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseInterpretation(Interpretation object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Variable'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Variable'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseVariable(Variable object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Disjunction'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Disjunction'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseDisjunction(Disjunction object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Switch'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Switch'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseSwitch(org.eclipse.viatra.solver.language.solverLanguage.Switch object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Conjunction'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Conjunction'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseConjunction(Conjunction object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Comparison'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Comparison'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseComparison(Comparison object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Binary Expression'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Binary Expression'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseBinaryExpression(BinaryExpression object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Cast Expression'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Cast Expression'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseCastExpression(CastExpression object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Unary Expression'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Unary Expression'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseUnaryExpression(UnaryExpression object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Node'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Node'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseNode(Node object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Functor'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Functor'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseFunctor(Functor object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Predicate'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Predicate'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T casePredicate(Predicate object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Metric'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Metric'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseMetric(Metric object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'EObject'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch, but this is the last case anyway. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'EObject'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) - * @generated - */ - @Override - public T defaultCase(EObject object) { - return null; - } - -} //SolverLanguageSwitch diff --git a/Application/org.eclipse.viatra.solver.language/model/SolverLanguage.ecore b/Application/org.eclipse.viatra.solver.language/model/SolverLanguage.ecore deleted file mode 100644 index 905e5a90..00000000 --- a/Application/org.eclipse.viatra.solver.language/model/SolverLanguage.ecore +++ /dev/null @@ -1,291 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Application/org.eclipse.viatra.solver.language/model/SolverLanguage.genmodel b/Application/org.eclipse.viatra.solver.language/model/SolverLanguage.genmodel deleted file mode 100644 index 2325d668..00000000 --- a/Application/org.eclipse.viatra.solver.language/model/SolverLanguage.genmodel +++ /dev/null @@ -1,249 +0,0 @@ - - - SolverLanguage.ecore - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Application/org.eclipse.viatra.solver.language/plugin.xml b/Application/org.eclipse.viatra.solver.language/plugin.xml index 79c1ea47..c5be3e9b 100644 --- a/Application/org.eclipse.viatra.solver.language/plugin.xml +++ b/Application/org.eclipse.viatra.solver.language/plugin.xml @@ -1,10 +1,4 @@ - - - - + diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/AbstractSolverLanguageRuntimeModule.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/AbstractSolverLanguageRuntimeModule.java index 4bf254b2..a02b3ab2 100644 --- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/AbstractSolverLanguageRuntimeModule.java +++ b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/AbstractSolverLanguageRuntimeModule.java @@ -28,9 +28,11 @@ import org.eclipse.xtext.parser.antlr.AntlrTokenDefProvider; import org.eclipse.xtext.parser.antlr.AntlrTokenToStringConverter; import org.eclipse.xtext.parser.antlr.IAntlrTokenFileProvider; import org.eclipse.xtext.parser.antlr.ITokenDefProvider; +import org.eclipse.xtext.parser.antlr.IUnorderedGroupHelper; import org.eclipse.xtext.parser.antlr.Lexer; import org.eclipse.xtext.parser.antlr.LexerBindings; import org.eclipse.xtext.parser.antlr.LexerProvider; +import org.eclipse.xtext.parser.antlr.UnorderedGroupHelper; import org.eclipse.xtext.resource.IContainer; import org.eclipse.xtext.resource.IResourceDescriptions; import org.eclipse.xtext.resource.containers.IAllContainersState; @@ -137,6 +139,11 @@ public abstract class AbstractSolverLanguageRuntimeModule extends DefaultRuntime .to(InternalSolverLanguageLexer.class); } + // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 + public Class bindIUnorderedGroupHelper() { + return UnorderedGroupHelper.class; + } + // contributed by org.eclipse.xtext.xtext.generator.validation.ValidatorFragment2 @SingletonBinding(eager=true) public Class bindSolverLanguageValidator() { diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/SolverLanguage.xtextbin b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/SolverLanguage.xtextbin index da513ba9..0fa5d0d7 100644 Binary files a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/SolverLanguage.xtextbin and b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/SolverLanguage.xtextbin differ diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/parser/antlr/internal/InternalSolverLanguageParser.g b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/parser/antlr/internal/InternalSolverLanguageParser.g index 8ec69aaa..eb6f05c7 100644 --- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/parser/antlr/internal/InternalSolverLanguageParser.g +++ b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/parser/antlr/internal/InternalSolverLanguageParser.g @@ -71,23 +71,73 @@ ruleProblem returns [EObject current=null] }: ( ( + otherlv_0=Problem { - newCompositeNode(grammarAccess.getProblemAccess().getStatementsStatementParserRuleCall_0()); + newLeafNode(otherlv_0, grammarAccess.getProblemAccess().getProblemKeyword_0_0()); } - lv_statements_0_0=ruleStatement + ( + ( + { + newCompositeNode(grammarAccess.getProblemAccess().getNameQualifiedNameParserRuleCall_0_1_0()); + } + lv_name_1_0=ruleQualifiedName + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getProblemRule()); + } + set( + $current, + "name", + lv_name_1_0, + "org.eclipse.viatra.solver.language.SolverLanguage.QualifiedName"); + afterParserOrEnumRuleCall(); + } + ) + ) + this_FULL_STOP_2=RULE_FULL_STOP { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getProblemRule()); - } - add( - $current, - "statements", - lv_statements_0_0, - "org.eclipse.viatra.solver.language.SolverLanguage.Statement"); - afterParserOrEnumRuleCall(); + newLeafNode(this_FULL_STOP_2, grammarAccess.getProblemAccess().getFULL_STOPTerminalRuleCall_0_2()); } - ) - )* + )? + ( + ( + { + newCompositeNode(grammarAccess.getProblemAccess().getImportsImportParserRuleCall_1_0()); + } + lv_imports_3_0=ruleImport + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getProblemRule()); + } + add( + $current, + "imports", + lv_imports_3_0, + "org.eclipse.viatra.solver.language.SolverLanguage.Import"); + afterParserOrEnumRuleCall(); + } + ) + )* + ( + ( + { + newCompositeNode(grammarAccess.getProblemAccess().getStatementsStatementParserRuleCall_2_0()); + } + lv_statements_4_0=ruleStatement + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getProblemRule()); + } + add( + $current, + "statements", + lv_statements_4_0, + "org.eclipse.viatra.solver.language.SolverLanguage.Statement"); + afterParserOrEnumRuleCall(); + } + ) + )* + ) ; // Entry rule entryRuleStatement @@ -106,118 +156,280 @@ ruleStatement returns [EObject current=null] leaveRule(); }: ( + { + newCompositeNode(grammarAccess.getStatementAccess().getAssertionOrDefinitionParserRuleCall_0()); + } + this_AssertionOrDefinition_0=ruleAssertionOrDefinition + { + $current = $this_AssertionOrDefinition_0.current; + afterParserOrEnumRuleCall(); + } + | + { + newCompositeNode(grammarAccess.getStatementAccess().getPredicateDefinitionParserRuleCall_1()); + } + this_PredicateDefinition_1=rulePredicateDefinition + { + $current = $this_PredicateDefinition_1.current; + afterParserOrEnumRuleCall(); + } + | + { + newCompositeNode(grammarAccess.getStatementAccess().getUnnamedErrorPredicateDefintionParserRuleCall_2()); + } + this_UnnamedErrorPredicateDefintion_2=ruleUnnamedErrorPredicateDefintion + { + $current = $this_UnnamedErrorPredicateDefintion_2.current; + afterParserOrEnumRuleCall(); + } + | + { + newCompositeNode(grammarAccess.getStatementAccess().getDefaultAssertionParserRuleCall_3()); + } + this_DefaultAssertion_3=ruleDefaultAssertion + { + $current = $this_DefaultAssertion_3.current; + afterParserOrEnumRuleCall(); + } + | + { + newCompositeNode(grammarAccess.getStatementAccess().getFunctionDefinitionParserRuleCall_4()); + } + this_FunctionDefinition_4=ruleFunctionDefinition + { + $current = $this_FunctionDefinition_4.current; + afterParserOrEnumRuleCall(); + } + | + { + newCompositeNode(grammarAccess.getStatementAccess().getAttributeParserRuleCall_5()); + } + this_Attribute_5=ruleAttribute + { + $current = $this_Attribute_5.current; + afterParserOrEnumRuleCall(); + } + | + { + newCompositeNode(grammarAccess.getStatementAccess().getExternDeclarationParserRuleCall_6()); + } + this_ExternDeclaration_6=ruleExternDeclaration + { + $current = $this_ExternDeclaration_6.current; + afterParserOrEnumRuleCall(); + } + | + { + newCompositeNode(grammarAccess.getStatementAccess().getScopeDeclarationParserRuleCall_7()); + } + this_ScopeDeclaration_7=ruleScopeDeclaration + { + $current = $this_ScopeDeclaration_7.current; + afterParserOrEnumRuleCall(); + } + | + { + newCompositeNode(grammarAccess.getStatementAccess().getObjectiveDeclarationParserRuleCall_8()); + } + this_ObjectiveDeclaration_8=ruleObjectiveDeclaration + { + $current = $this_ObjectiveDeclaration_8.current; + afterParserOrEnumRuleCall(); + } + | + { + newCompositeNode(grammarAccess.getStatementAccess().getClassDeclarationParserRuleCall_9()); + } + this_ClassDeclaration_9=ruleClassDeclaration + { + $current = $this_ClassDeclaration_9.current; + afterParserOrEnumRuleCall(); + } + | + { + newCompositeNode(grammarAccess.getStatementAccess().getEnumDeclarationParserRuleCall_10()); + } + this_EnumDeclaration_10=ruleEnumDeclaration + { + $current = $this_EnumDeclaration_10.current; + afterParserOrEnumRuleCall(); + } + ) +; + +// Entry rule entryRuleImport +entryRuleImport returns [EObject current=null]: + { newCompositeNode(grammarAccess.getImportRule()); } + iv_ruleImport=ruleImport + { $current=$iv_ruleImport.current; } + EOF; + +// Rule Import +ruleImport returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + { + newCompositeNode(grammarAccess.getImportAccess().getUriImportParserRuleCall_0()); + } + this_UriImport_0=ruleUriImport + { + $current = $this_UriImport_0.current; + afterParserOrEnumRuleCall(); + } + | + { + newCompositeNode(grammarAccess.getImportAccess().getNamespaceImportParserRuleCall_1()); + } + this_NamespaceImport_1=ruleNamespaceImport + { + $current = $this_NamespaceImport_1.current; + afterParserOrEnumRuleCall(); + } + ) +; + +// Entry rule entryRuleUriImport +entryRuleUriImport returns [EObject current=null]: + { newCompositeNode(grammarAccess.getUriImportRule()); } + iv_ruleUriImport=ruleUriImport + { $current=$iv_ruleUriImport.current; } + EOF; + +// Rule UriImport +ruleUriImport returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0=Import + { + newLeafNode(otherlv_0, grammarAccess.getUriImportAccess().getImportKeyword_0()); + } ( + ( + lv_uri_1_0=RULE_STRING + { + newLeafNode(lv_uri_1_0, grammarAccess.getUriImportAccess().getUriSTRINGTerminalRuleCall_1_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getUriImportRule()); + } + setWithLastConsumed( + $current, + "uri", + lv_uri_1_0, + "org.eclipse.viatra.solver.language.SolverLanguage.STRING"); + } + ) + ) + ( + otherlv_2=As { - newCompositeNode(grammarAccess.getStatementAccess().getAssertionOrDefinitionParserRuleCall_0_0()); - } - this_AssertionOrDefinition_0=ruleAssertionOrDefinition - { - $current = $this_AssertionOrDefinition_0.current; - afterParserOrEnumRuleCall(); - } - | - { - newCompositeNode(grammarAccess.getStatementAccess().getPredicateDefinitionParserRuleCall_0_1()); - } - this_PredicateDefinition_1=rulePredicateDefinition - { - $current = $this_PredicateDefinition_1.current; - afterParserOrEnumRuleCall(); - } - | - { - newCompositeNode(grammarAccess.getStatementAccess().getUnnamedErrorPrediateDefinitionParserRuleCall_0_2()); - } - this_UnnamedErrorPrediateDefinition_2=ruleUnnamedErrorPrediateDefinition - { - $current = $this_UnnamedErrorPrediateDefinition_2.current; - afterParserOrEnumRuleCall(); - } - | - { - newCompositeNode(grammarAccess.getStatementAccess().getDefaultDefinitionParserRuleCall_0_3()); - } - this_DefaultDefinition_3=ruleDefaultDefinition - { - $current = $this_DefaultDefinition_3.current; - afterParserOrEnumRuleCall(); - } - | - { - newCompositeNode(grammarAccess.getStatementAccess().getMetricDefinitionParserRuleCall_0_4()); - } - this_MetricDefinition_4=ruleMetricDefinition - { - $current = $this_MetricDefinition_4.current; - afterParserOrEnumRuleCall(); - } - | - { - newCompositeNode(grammarAccess.getStatementAccess().getExternPredicateDefinitionParserRuleCall_0_5()); - } - this_ExternPredicateDefinition_5=ruleExternPredicateDefinition - { - $current = $this_ExternPredicateDefinition_5.current; - afterParserOrEnumRuleCall(); - } - | - { - newCompositeNode(grammarAccess.getStatementAccess().getExternMetricDefinitionParserRuleCall_0_6()); - } - this_ExternMetricDefinition_6=ruleExternMetricDefinition - { - $current = $this_ExternMetricDefinition_6.current; - afterParserOrEnumRuleCall(); - } - | - { - newCompositeNode(grammarAccess.getStatementAccess().getExternAggregatorDefinitionParserRuleCall_0_7()); - } - this_ExternAggregatorDefinition_7=ruleExternAggregatorDefinition - { - $current = $this_ExternAggregatorDefinition_7.current; - afterParserOrEnumRuleCall(); - } - | - { - newCompositeNode(grammarAccess.getStatementAccess().getExternDatatypeDefinitionParserRuleCall_0_8()); - } - this_ExternDatatypeDefinition_8=ruleExternDatatypeDefinition - { - $current = $this_ExternDatatypeDefinition_8.current; - afterParserOrEnumRuleCall(); - } - | - { - newCompositeNode(grammarAccess.getStatementAccess().getClassDefinitionParserRuleCall_0_9()); - } - this_ClassDefinition_9=ruleClassDefinition - { - $current = $this_ClassDefinition_9.current; - afterParserOrEnumRuleCall(); - } - | - { - newCompositeNode(grammarAccess.getStatementAccess().getScopeDefinitionParserRuleCall_0_10()); - } - this_ScopeDefinition_10=ruleScopeDefinition - { - $current = $this_ScopeDefinition_10.current; - afterParserOrEnumRuleCall(); - } - | - { - newCompositeNode(grammarAccess.getStatementAccess().getObjectiveDefinitionParserRuleCall_0_11()); + newLeafNode(otherlv_2, grammarAccess.getUriImportAccess().getAsKeyword_2_0()); } - this_ObjectiveDefinition_11=ruleObjectiveDefinition + ( + ( + { + newCompositeNode(grammarAccess.getUriImportAccess().getAliasQualifiedNameParserRuleCall_2_1_0()); + } + lv_alias_3_0=ruleQualifiedName + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getUriImportRule()); + } + set( + $current, + "alias", + lv_alias_3_0, + "org.eclipse.viatra.solver.language.SolverLanguage.QualifiedName"); + afterParserOrEnumRuleCall(); + } + ) + ) + ) + this_FULL_STOP_4=RULE_FULL_STOP + { + newLeafNode(this_FULL_STOP_4, grammarAccess.getUriImportAccess().getFULL_STOPTerminalRuleCall_3()); + } + ) +; + +// Entry rule entryRuleNamespaceImport +entryRuleNamespaceImport returns [EObject current=null]: + { newCompositeNode(grammarAccess.getNamespaceImportRule()); } + iv_ruleNamespaceImport=ruleNamespaceImport + { $current=$iv_ruleNamespaceImport.current; } + EOF; + +// Rule NamespaceImport +ruleNamespaceImport returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0=Import + { + newLeafNode(otherlv_0, grammarAccess.getNamespaceImportAccess().getImportKeyword_0()); + } + ( + ( + { + newCompositeNode(grammarAccess.getNamespaceImportAccess().getImportedNamespaceQualifiedNameParserRuleCall_1_0()); + } + lv_importedNamespace_1_0=ruleQualifiedName + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getNamespaceImportRule()); + } + set( + $current, + "importedNamespace", + lv_importedNamespace_1_0, + "org.eclipse.viatra.solver.language.SolverLanguage.QualifiedName"); + afterParserOrEnumRuleCall(); + } + ) + ) + ( + otherlv_2=As { - $current = $this_ObjectiveDefinition_11.current; - afterParserOrEnumRuleCall(); + newLeafNode(otherlv_2, grammarAccess.getNamespaceImportAccess().getAsKeyword_2_0()); } + ( + ( + { + newCompositeNode(grammarAccess.getNamespaceImportAccess().getAliasQualifiedNameParserRuleCall_2_1_0()); + } + lv_alias_3_0=ruleQualifiedName + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getNamespaceImportRule()); + } + set( + $current, + "alias", + lv_alias_3_0, + "org.eclipse.viatra.solver.language.SolverLanguage.QualifiedName"); + afterParserOrEnumRuleCall(); + } + ) + ) ) - this_FULL_STOP_12=RULE_FULL_STOP + this_FULL_STOP_4=RULE_FULL_STOP { - newLeafNode(this_FULL_STOP_12, grammarAccess.getStatementAccess().getFULL_STOPTerminalRuleCall_1()); + newLeafNode(this_FULL_STOP_4, grammarAccess.getNamespaceImportAccess().getFULL_STOPTerminalRuleCall_3()); } ) ; @@ -251,33 +463,35 @@ ruleAssertionOrDefinition returns [EObject current=null] ( { $current = forceCreateModelElementAndSet( - grammarAccess.getAssertionOrDefinitionAccess().getInterpretationBodyAction_1_0_0(), + grammarAccess.getAssertionOrDefinitionAccess().getAssertionExpressionAction_1_0_0(), $current); } ) - otherlv_2=Colon - { - newLeafNode(otherlv_2, grammarAccess.getAssertionOrDefinitionAccess().getColonKeyword_1_0_1()); - } ( + otherlv_2=Colon + { + newLeafNode(otherlv_2, grammarAccess.getAssertionOrDefinitionAccess().getColonKeyword_1_0_1_0()); + } ( - { - newCompositeNode(grammarAccess.getAssertionOrDefinitionAccess().getRangeExpressionParserRuleCall_1_0_2_0()); - } - lv_range_3_0=ruleExpression - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getAssertionOrDefinitionRule()); + ( + { + newCompositeNode(grammarAccess.getAssertionOrDefinitionAccess().getRangeExpressionParserRuleCall_1_0_1_1_0()); } - set( - $current, - "range", - lv_range_3_0, - "org.eclipse.viatra.solver.language.SolverLanguage.Expression"); - afterParserOrEnumRuleCall(); - } + lv_range_3_0=ruleExpression + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getAssertionOrDefinitionRule()); + } + set( + $current, + "range", + lv_range_3_0, + "org.eclipse.viatra.solver.language.SolverLanguage.Expression"); + afterParserOrEnumRuleCall(); + } + ) ) - ) + )? ) | ( @@ -317,13 +531,13 @@ ruleAssertionOrDefinition returns [EObject current=null] ( { $current = forceCreateModelElementAndSet( - grammarAccess.getAssertionOrDefinitionAccess().getMetricDefinitionHeadAction_1_2_0(), + grammarAccess.getAssertionOrDefinitionAccess().getFunctionDefinitionHeadAction_1_2_0(), $current); } ) - otherlv_8=EqualsSign + otherlv_8=ColonEqualsSign { - newLeafNode(otherlv_8, grammarAccess.getAssertionOrDefinitionAccess().getEqualsSignKeyword_1_2_1()); + newLeafNode(otherlv_8, grammarAccess.getAssertionOrDefinitionAccess().getColonEqualsSignKeyword_1_2_1()); } ( ( @@ -345,7 +559,11 @@ ruleAssertionOrDefinition returns [EObject current=null] ) ) ) - )? + ) + this_FULL_STOP_10=RULE_FULL_STOP + { + newLeafNode(this_FULL_STOP_10, grammarAccess.getAssertionOrDefinitionAccess().getFULL_STOPTerminalRuleCall_2()); + } ) ; @@ -470,18 +688,22 @@ rulePredicateDefinition returns [EObject current=null] } ) ) + this_FULL_STOP_7=RULE_FULL_STOP + { + newLeafNode(this_FULL_STOP_7, grammarAccess.getPredicateDefinitionAccess().getFULL_STOPTerminalRuleCall_4()); + } ) ; -// Entry rule entryRuleUnnamedErrorPrediateDefinition -entryRuleUnnamedErrorPrediateDefinition returns [EObject current=null]: - { newCompositeNode(grammarAccess.getUnnamedErrorPrediateDefinitionRule()); } - iv_ruleUnnamedErrorPrediateDefinition=ruleUnnamedErrorPrediateDefinition - { $current=$iv_ruleUnnamedErrorPrediateDefinition.current; } +// Entry rule entryRuleUnnamedErrorPredicateDefintion +entryRuleUnnamedErrorPredicateDefintion returns [EObject current=null]: + { newCompositeNode(grammarAccess.getUnnamedErrorPredicateDefintionRule()); } + iv_ruleUnnamedErrorPredicateDefintion=ruleUnnamedErrorPredicateDefintion + { $current=$iv_ruleUnnamedErrorPredicateDefintion.current; } EOF; -// Rule UnnamedErrorPrediateDefinition -ruleUnnamedErrorPrediateDefinition returns [EObject current=null] +// Rule UnnamedErrorPredicateDefintion +ruleUnnamedErrorPredicateDefintion returns [EObject current=null] @init { enterRule(); } @@ -491,62 +713,137 @@ ruleUnnamedErrorPrediateDefinition returns [EObject current=null] ( otherlv_0=Error { - newLeafNode(otherlv_0, grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getErrorKeyword_0()); + newLeafNode(otherlv_0, grammarAccess.getUnnamedErrorPredicateDefintionAccess().getErrorKeyword_0()); + } + ( + ( + { + newCompositeNode(grammarAccess.getUnnamedErrorPredicateDefintionAccess().getArgumentListArgumentListParserRuleCall_1_0()); + } + lv_argumentList_1_0=ruleArgumentList + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getUnnamedErrorPredicateDefintionRule()); + } + set( + $current, + "argumentList", + lv_argumentList_1_0, + "org.eclipse.viatra.solver.language.SolverLanguage.ArgumentList"); + afterParserOrEnumRuleCall(); + } + ) + ) + otherlv_2=ColonHyphenMinus + { + newLeafNode(otherlv_2, grammarAccess.getUnnamedErrorPredicateDefintionAccess().getColonHyphenMinusKeyword_2()); + } + ( + ( + { + newCompositeNode(grammarAccess.getUnnamedErrorPredicateDefintionAccess().getBodyExpressionParserRuleCall_3_0()); + } + lv_body_3_0=ruleExpression + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getUnnamedErrorPredicateDefintionRule()); + } + set( + $current, + "body", + lv_body_3_0, + "org.eclipse.viatra.solver.language.SolverLanguage.Expression"); + afterParserOrEnumRuleCall(); + } + ) + ) + this_FULL_STOP_4=RULE_FULL_STOP + { + newLeafNode(this_FULL_STOP_4, grammarAccess.getUnnamedErrorPredicateDefintionAccess().getFULL_STOPTerminalRuleCall_4()); + } + ) +; + +// Entry rule entryRuleDefaultAssertion +entryRuleDefaultAssertion returns [EObject current=null]: + { newCompositeNode(grammarAccess.getDefaultAssertionRule()); } + iv_ruleDefaultAssertion=ruleDefaultAssertion + { $current=$iv_ruleDefaultAssertion.current; } + EOF; + +// Rule DefaultAssertion +ruleDefaultAssertion returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0=Default + { + newLeafNode(otherlv_0, grammarAccess.getDefaultAssertionAccess().getDefaultKeyword_0()); } ( ( { - newCompositeNode(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getArgumentListArgumentListParserRuleCall_1_0()); + newCompositeNode(grammarAccess.getDefaultAssertionAccess().getExpressionCallParserRuleCall_1_0()); } - lv_argumentList_1_0=ruleArgumentList + lv_expression_1_0=ruleCall { if ($current==null) { - $current = createModelElementForParent(grammarAccess.getUnnamedErrorPrediateDefinitionRule()); + $current = createModelElementForParent(grammarAccess.getDefaultAssertionRule()); } set( $current, - "argumentList", - lv_argumentList_1_0, - "org.eclipse.viatra.solver.language.SolverLanguage.ArgumentList"); + "expression", + lv_expression_1_0, + "org.eclipse.viatra.solver.language.SolverLanguage.Call"); afterParserOrEnumRuleCall(); } ) ) - otherlv_2=ColonHyphenMinus - { - newLeafNode(otherlv_2, grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getColonHyphenMinusKeyword_2()); - } ( + otherlv_2=Colon + { + newLeafNode(otherlv_2, grammarAccess.getDefaultAssertionAccess().getColonKeyword_2_0()); + } ( - { - newCompositeNode(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getBodyExpressionParserRuleCall_3_0()); - } - lv_body_3_0=ruleExpression - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getUnnamedErrorPrediateDefinitionRule()); + ( + { + newCompositeNode(grammarAccess.getDefaultAssertionAccess().getRangeExpressionParserRuleCall_2_1_0()); } - set( - $current, - "body", - lv_body_3_0, - "org.eclipse.viatra.solver.language.SolverLanguage.Expression"); - afterParserOrEnumRuleCall(); - } + lv_range_3_0=ruleExpression + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getDefaultAssertionRule()); + } + set( + $current, + "range", + lv_range_3_0, + "org.eclipse.viatra.solver.language.SolverLanguage.Expression"); + afterParserOrEnumRuleCall(); + } + ) ) - ) + )? + this_FULL_STOP_4=RULE_FULL_STOP + { + newLeafNode(this_FULL_STOP_4, grammarAccess.getDefaultAssertionAccess().getFULL_STOPTerminalRuleCall_3()); + } ) ; -// Entry rule entryRuleDefaultDefinition -entryRuleDefaultDefinition returns [EObject current=null]: - { newCompositeNode(grammarAccess.getDefaultDefinitionRule()); } - iv_ruleDefaultDefinition=ruleDefaultDefinition - { $current=$iv_ruleDefaultDefinition.current; } +// Entry rule entryRuleFunctionDefinition +entryRuleFunctionDefinition returns [EObject current=null]: + { newCompositeNode(grammarAccess.getFunctionDefinitionRule()); } + iv_ruleFunctionDefinition=ruleFunctionDefinition + { $current=$iv_ruleFunctionDefinition.current; } EOF; -// Rule DefaultDefinition -ruleDefaultDefinition returns [EObject current=null] +// Rule FunctionDefinition +ruleFunctionDefinition returns [EObject current=null] @init { enterRule(); } @@ -554,19 +851,31 @@ ruleDefaultDefinition returns [EObject current=null] leaveRule(); }: ( - otherlv_0=Default - { - newLeafNode(otherlv_0, grammarAccess.getDefaultDefinitionAccess().getDefaultKeyword_0()); - } ( ( { - newCompositeNode(grammarAccess.getDefaultDefinitionAccess().getHeadCallParserRuleCall_1_0()); + if ($current==null) { + $current = createModelElement(grammarAccess.getFunctionDefinitionRule()); + } + } + { + newCompositeNode(grammarAccess.getFunctionDefinitionAccess().getResultTypeSymbolCrossReference_0_0()); + } + ruleQualifiedName + { + afterParserOrEnumRuleCall(); + } + ) + ) + ( + ( + { + newCompositeNode(grammarAccess.getFunctionDefinitionAccess().getHeadCallParserRuleCall_1_0()); } lv_head_1_0=ruleCall { if ($current==null) { - $current = createModelElementForParent(grammarAccess.getDefaultDefinitionRule()); + $current = createModelElementForParent(grammarAccess.getFunctionDefinitionRule()); } set( $current, @@ -577,41 +886,45 @@ ruleDefaultDefinition returns [EObject current=null] } ) ) - otherlv_2=Colon + otherlv_2=ColonEqualsSign { - newLeafNode(otherlv_2, grammarAccess.getDefaultDefinitionAccess().getColonKeyword_2()); + newLeafNode(otherlv_2, grammarAccess.getFunctionDefinitionAccess().getColonEqualsSignKeyword_2()); } ( ( { - newCompositeNode(grammarAccess.getDefaultDefinitionAccess().getRangeExpressionParserRuleCall_3_0()); + newCompositeNode(grammarAccess.getFunctionDefinitionAccess().getBodyExpressionParserRuleCall_3_0()); } - lv_range_3_0=ruleExpression + lv_body_3_0=ruleExpression { if ($current==null) { - $current = createModelElementForParent(grammarAccess.getDefaultDefinitionRule()); + $current = createModelElementForParent(grammarAccess.getFunctionDefinitionRule()); } set( $current, - "range", - lv_range_3_0, + "body", + lv_body_3_0, "org.eclipse.viatra.solver.language.SolverLanguage.Expression"); afterParserOrEnumRuleCall(); } ) ) + this_FULL_STOP_4=RULE_FULL_STOP + { + newLeafNode(this_FULL_STOP_4, grammarAccess.getFunctionDefinitionAccess().getFULL_STOPTerminalRuleCall_4()); + } ) ; -// Entry rule entryRuleMetricDefinition -entryRuleMetricDefinition returns [EObject current=null]: - { newCompositeNode(grammarAccess.getMetricDefinitionRule()); } - iv_ruleMetricDefinition=ruleMetricDefinition - { $current=$iv_ruleMetricDefinition.current; } +// Entry rule entryRuleTypeReference +entryRuleTypeReference returns [EObject current=null]: + { newCompositeNode(grammarAccess.getTypeReferenceRule()); } + iv_ruleTypeReference=ruleTypeReference + { $current=$iv_ruleTypeReference.current; } EOF; -// Rule MetricDefinition -ruleMetricDefinition returns [EObject current=null] +// Rule TypeReference +ruleTypeReference returns [EObject current=null] @init { enterRule(); } @@ -623,11 +936,11 @@ ruleMetricDefinition returns [EObject current=null] ( { if ($current==null) { - $current = createModelElement(grammarAccess.getMetricDefinitionRule()); + $current = createModelElement(grammarAccess.getTypeReferenceRule()); } } { - newCompositeNode(grammarAccess.getMetricDefinitionAccess().getTypeNamedElementCrossReference_0_0()); + newCompositeNode(grammarAccess.getTypeReferenceAccess().getTypeSymbolCrossReference_0_0()); } ruleQualifiedName { @@ -637,58 +950,142 @@ ruleMetricDefinition returns [EObject current=null] ) ( ( + lv_forceObjectType_1_0=Object { - newCompositeNode(grammarAccess.getMetricDefinitionAccess().getHeadCallParserRuleCall_1_0()); + newLeafNode(lv_forceObjectType_1_0, grammarAccess.getTypeReferenceAccess().getForceObjectTypeObjectKeyword_1_0()); } - lv_head_1_0=ruleCall { if ($current==null) { - $current = createModelElementForParent(grammarAccess.getMetricDefinitionRule()); + $current = createModelElement(grammarAccess.getTypeReferenceRule()); } - set( - $current, - "head", - lv_head_1_0, - "org.eclipse.viatra.solver.language.SolverLanguage.Call"); - afterParserOrEnumRuleCall(); + setWithLastConsumed($current, "forceObjectType", true, "object"); } ) - ) - otherlv_2=EqualsSign - { - newLeafNode(otherlv_2, grammarAccess.getMetricDefinitionAccess().getEqualsSignKeyword_2()); - } + )? + ) +; + +// Entry rule entryRuleAttribute +entryRuleAttribute returns [EObject current=null]: + { newCompositeNode(grammarAccess.getAttributeRule()); } + iv_ruleAttribute=ruleAttribute + { $current=$iv_ruleAttribute.current; } + EOF; + +// Rule Attribute +ruleAttribute returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( ( ( { - newCompositeNode(grammarAccess.getMetricDefinitionAccess().getBodyExpressionParserRuleCall_3_0()); + newCompositeNode(grammarAccess.getAttributeAccess().getKindAttributeKindEnumRuleCall_0_0()); } - lv_body_3_0=ruleExpression + lv_kind_0_0=ruleAttributeKind { if ($current==null) { - $current = createModelElementForParent(grammarAccess.getMetricDefinitionRule()); + $current = createModelElementForParent(grammarAccess.getAttributeRule()); } set( $current, - "body", - lv_body_3_0, - "org.eclipse.viatra.solver.language.SolverLanguage.Expression"); + "kind", + lv_kind_0_0, + "org.eclipse.viatra.solver.language.SolverLanguage.AttributeKind"); + afterParserOrEnumRuleCall(); + } + ) + ) + ( + ( + { + if ($current==null) { + $current = createModelElement(grammarAccess.getAttributeRule()); + } + } + { + newCompositeNode(grammarAccess.getAttributeAccess().getTargetSymbolCrossReference_1_0()); + } + ruleQualifiedName + { afterParserOrEnumRuleCall(); } ) ) + this_FULL_STOP_2=RULE_FULL_STOP + { + newLeafNode(this_FULL_STOP_2, grammarAccess.getAttributeAccess().getFULL_STOPTerminalRuleCall_2()); + } + ) +; + +// Entry rule entryRuleExternDeclaration +entryRuleExternDeclaration returns [EObject current=null]: + { newCompositeNode(grammarAccess.getExternDeclarationRule()); } + iv_ruleExternDeclaration=ruleExternDeclaration + { $current=$iv_ruleExternDeclaration.current; } + EOF; + +// Rule ExternDeclaration +ruleExternDeclaration returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + { + newCompositeNode(grammarAccess.getExternDeclarationAccess().getExternPredicateDeclarationParserRuleCall_0()); + } + this_ExternPredicateDeclaration_0=ruleExternPredicateDeclaration + { + $current = $this_ExternPredicateDeclaration_0.current; + afterParserOrEnumRuleCall(); + } + | + { + newCompositeNode(grammarAccess.getExternDeclarationAccess().getExternFunctionDeclarationParserRuleCall_1()); + } + this_ExternFunctionDeclaration_1=ruleExternFunctionDeclaration + { + $current = $this_ExternFunctionDeclaration_1.current; + afterParserOrEnumRuleCall(); + } + | + { + newCompositeNode(grammarAccess.getExternDeclarationAccess().getExternAggregationOperatorDeclarationParserRuleCall_2()); + } + this_ExternAggregationOperatorDeclaration_2=ruleExternAggregationOperatorDeclaration + { + $current = $this_ExternAggregationOperatorDeclaration_2.current; + afterParserOrEnumRuleCall(); + } + | + { + newCompositeNode(grammarAccess.getExternDeclarationAccess().getExternDatatypeDeclarationParserRuleCall_3()); + } + this_ExternDatatypeDeclaration_3=ruleExternDatatypeDeclaration + { + $current = $this_ExternDatatypeDeclaration_3.current; + afterParserOrEnumRuleCall(); + } ) ; -// Entry rule entryRuleExternPredicateDefinition -entryRuleExternPredicateDefinition returns [EObject current=null]: - { newCompositeNode(grammarAccess.getExternPredicateDefinitionRule()); } - iv_ruleExternPredicateDefinition=ruleExternPredicateDefinition - { $current=$iv_ruleExternPredicateDefinition.current; } +// Entry rule entryRuleExternPredicateDeclaration +entryRuleExternPredicateDeclaration returns [EObject current=null]: + { newCompositeNode(grammarAccess.getExternPredicateDeclarationRule()); } + iv_ruleExternPredicateDeclaration=ruleExternPredicateDeclaration + { $current=$iv_ruleExternPredicateDeclaration.current; } EOF; -// Rule ExternPredicateDefinition -ruleExternPredicateDefinition returns [EObject current=null] +// Rule ExternPredicateDeclaration +ruleExternPredicateDeclaration returns [EObject current=null] @init { enterRule(); } @@ -698,22 +1095,82 @@ ruleExternPredicateDefinition returns [EObject current=null] ( otherlv_0=Extern { - newLeafNode(otherlv_0, grammarAccess.getExternPredicateDefinitionAccess().getExternKeyword_0()); + newLeafNode(otherlv_0, grammarAccess.getExternPredicateDeclarationAccess().getExternKeyword_0()); } + ( + ( + { + getUnorderedGroupHelper().enter(grammarAccess.getExternPredicateDeclarationAccess().getUnorderedGroup_1()); + } + ( + ( + ( + {getUnorderedGroupHelper().canSelect(grammarAccess.getExternPredicateDeclarationAccess().getUnorderedGroup_1(), 0)}?=>( + { + getUnorderedGroupHelper().select(grammarAccess.getExternPredicateDeclarationAccess().getUnorderedGroup_1(), 0); + } + ({true}?=>(( + lv_functional_2_0=Functional + { + newLeafNode(lv_functional_2_0, grammarAccess.getExternPredicateDeclarationAccess().getFunctionalFunctionalKeyword_1_0_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getExternPredicateDeclarationRule()); + } + setWithLastConsumed($current, "functional", true, "functional"); + } + ) + )) + { + getUnorderedGroupHelper().returnFromSelection(grammarAccess.getExternPredicateDeclarationAccess().getUnorderedGroup_1()); + } + ) + )| + ( + {getUnorderedGroupHelper().canSelect(grammarAccess.getExternPredicateDeclarationAccess().getUnorderedGroup_1(), 1)}?=>( + { + getUnorderedGroupHelper().select(grammarAccess.getExternPredicateDeclarationAccess().getUnorderedGroup_1(), 1); + } + ({true}?=>(( + lv_error_3_0=Error + { + newLeafNode(lv_error_3_0, grammarAccess.getExternPredicateDeclarationAccess().getErrorErrorKeyword_1_1_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getExternPredicateDeclarationRule()); + } + setWithLastConsumed($current, "error", true, "error"); + } + ) + )) + { + getUnorderedGroupHelper().returnFromSelection(grammarAccess.getExternPredicateDeclarationAccess().getUnorderedGroup_1()); + } + ) + ) + )* + ) + ) + { + getUnorderedGroupHelper().leave(grammarAccess.getExternPredicateDeclarationAccess().getUnorderedGroup_1()); + } + ) ( ( { - newCompositeNode(grammarAccess.getExternPredicateDefinitionAccess().getNameQualifiedNameParserRuleCall_1_0()); + newCompositeNode(grammarAccess.getExternPredicateDeclarationAccess().getNameQualifiedNameParserRuleCall_2_0()); } - lv_name_1_0=ruleQualifiedName + lv_name_4_0=ruleQualifiedName { if ($current==null) { - $current = createModelElementForParent(grammarAccess.getExternPredicateDefinitionRule()); + $current = createModelElementForParent(grammarAccess.getExternPredicateDeclarationRule()); } set( $current, "name", - lv_name_1_0, + lv_name_4_0, "org.eclipse.viatra.solver.language.SolverLanguage.QualifiedName"); afterParserOrEnumRuleCall(); } @@ -722,34 +1179,38 @@ ruleExternPredicateDefinition returns [EObject current=null] ( ( { - newCompositeNode(grammarAccess.getExternPredicateDefinitionAccess().getArgumentListArgumentListParserRuleCall_2_0()); + newCompositeNode(grammarAccess.getExternPredicateDeclarationAccess().getArgumentListArgumentListParserRuleCall_3_0()); } - lv_argumentList_2_0=ruleArgumentList + lv_argumentList_5_0=ruleArgumentList { if ($current==null) { - $current = createModelElementForParent(grammarAccess.getExternPredicateDefinitionRule()); + $current = createModelElementForParent(grammarAccess.getExternPredicateDeclarationRule()); } set( $current, "argumentList", - lv_argumentList_2_0, + lv_argumentList_5_0, "org.eclipse.viatra.solver.language.SolverLanguage.ArgumentList"); afterParserOrEnumRuleCall(); } ) ) + this_FULL_STOP_6=RULE_FULL_STOP + { + newLeafNode(this_FULL_STOP_6, grammarAccess.getExternPredicateDeclarationAccess().getFULL_STOPTerminalRuleCall_4()); + } ) ; -// Entry rule entryRuleExternMetricDefinition -entryRuleExternMetricDefinition returns [EObject current=null]: - { newCompositeNode(grammarAccess.getExternMetricDefinitionRule()); } - iv_ruleExternMetricDefinition=ruleExternMetricDefinition - { $current=$iv_ruleExternMetricDefinition.current; } +// Entry rule entryRuleExternFunctionDeclaration +entryRuleExternFunctionDeclaration returns [EObject current=null]: + { newCompositeNode(grammarAccess.getExternFunctionDeclarationRule()); } + iv_ruleExternFunctionDeclaration=ruleExternFunctionDeclaration + { $current=$iv_ruleExternFunctionDeclaration.current; } EOF; -// Rule ExternMetricDefinition -ruleExternMetricDefinition returns [EObject current=null] +// Rule ExternFunctionDeclaration +ruleExternFunctionDeclaration returns [EObject current=null] @init { enterRule(); } @@ -759,17 +1220,17 @@ ruleExternMetricDefinition returns [EObject current=null] ( otherlv_0=Extern { - newLeafNode(otherlv_0, grammarAccess.getExternMetricDefinitionAccess().getExternKeyword_0()); + newLeafNode(otherlv_0, grammarAccess.getExternFunctionDeclarationAccess().getExternKeyword_0()); } ( ( { if ($current==null) { - $current = createModelElement(grammarAccess.getExternMetricDefinitionRule()); + $current = createModelElement(grammarAccess.getExternFunctionDeclarationRule()); } } { - newCompositeNode(grammarAccess.getExternMetricDefinitionAccess().getTypeNamedElementCrossReference_1_0()); + newCompositeNode(grammarAccess.getExternFunctionDeclarationAccess().getResultTypeSymbolCrossReference_1_0()); } ruleQualifiedName { @@ -780,12 +1241,12 @@ ruleExternMetricDefinition returns [EObject current=null] ( ( { - newCompositeNode(grammarAccess.getExternMetricDefinitionAccess().getNameQualifiedNameParserRuleCall_2_0()); + newCompositeNode(grammarAccess.getExternFunctionDeclarationAccess().getNameQualifiedNameParserRuleCall_2_0()); } lv_name_2_0=ruleQualifiedName { if ($current==null) { - $current = createModelElementForParent(grammarAccess.getExternMetricDefinitionRule()); + $current = createModelElementForParent(grammarAccess.getExternFunctionDeclarationRule()); } set( $current, @@ -799,12 +1260,12 @@ ruleExternMetricDefinition returns [EObject current=null] ( ( { - newCompositeNode(grammarAccess.getExternMetricDefinitionAccess().getArgumentListArgumentListParserRuleCall_3_0()); + newCompositeNode(grammarAccess.getExternFunctionDeclarationAccess().getArgumentListArgumentListParserRuleCall_3_0()); } lv_argumentList_3_0=ruleArgumentList { if ($current==null) { - $current = createModelElementForParent(grammarAccess.getExternMetricDefinitionRule()); + $current = createModelElementForParent(grammarAccess.getExternFunctionDeclarationRule()); } set( $current, @@ -815,18 +1276,22 @@ ruleExternMetricDefinition returns [EObject current=null] } ) ) + this_FULL_STOP_4=RULE_FULL_STOP + { + newLeafNode(this_FULL_STOP_4, grammarAccess.getExternFunctionDeclarationAccess().getFULL_STOPTerminalRuleCall_4()); + } ) ; -// Entry rule entryRuleExternAggregatorDefinition -entryRuleExternAggregatorDefinition returns [EObject current=null]: - { newCompositeNode(grammarAccess.getExternAggregatorDefinitionRule()); } - iv_ruleExternAggregatorDefinition=ruleExternAggregatorDefinition - { $current=$iv_ruleExternAggregatorDefinition.current; } +// Entry rule entryRuleExternAggregationOperatorDeclaration +entryRuleExternAggregationOperatorDeclaration returns [EObject current=null]: + { newCompositeNode(grammarAccess.getExternAggregationOperatorDeclarationRule()); } + iv_ruleExternAggregationOperatorDeclaration=ruleExternAggregationOperatorDeclaration + { $current=$iv_ruleExternAggregationOperatorDeclaration.current; } EOF; -// Rule ExternAggregatorDefinition -ruleExternAggregatorDefinition returns [EObject current=null] +// Rule ExternAggregationOperatorDeclaration +ruleExternAggregationOperatorDeclaration returns [EObject current=null] @init { enterRule(); } @@ -836,17 +1301,17 @@ ruleExternAggregatorDefinition returns [EObject current=null] ( otherlv_0=Extern { - newLeafNode(otherlv_0, grammarAccess.getExternAggregatorDefinitionAccess().getExternKeyword_0()); + newLeafNode(otherlv_0, grammarAccess.getExternAggregationOperatorDeclarationAccess().getExternKeyword_0()); } ( ( { if ($current==null) { - $current = createModelElement(grammarAccess.getExternAggregatorDefinitionRule()); + $current = createModelElement(grammarAccess.getExternAggregationOperatorDeclarationRule()); } } { - newCompositeNode(grammarAccess.getExternAggregatorDefinitionAccess().getTypeNamedElementCrossReference_1_0()); + newCompositeNode(grammarAccess.getExternAggregationOperatorDeclarationAccess().getResultTypeSymbolCrossReference_1_0()); } ruleQualifiedName { @@ -857,12 +1322,12 @@ ruleExternAggregatorDefinition returns [EObject current=null] ( ( { - newCompositeNode(grammarAccess.getExternAggregatorDefinitionAccess().getNameQualifiedNameParserRuleCall_2_0()); + newCompositeNode(grammarAccess.getExternAggregationOperatorDeclarationAccess().getNameQualifiedNameParserRuleCall_2_0()); } lv_name_2_0=ruleQualifiedName { if ($current==null) { - $current = createModelElementForParent(grammarAccess.getExternAggregatorDefinitionRule()); + $current = createModelElementForParent(grammarAccess.getExternAggregationOperatorDeclarationRule()); } set( $current, @@ -875,17 +1340,17 @@ ruleExternAggregatorDefinition returns [EObject current=null] ) otherlv_3=LeftCurlyBracket { - newLeafNode(otherlv_3, grammarAccess.getExternAggregatorDefinitionAccess().getLeftCurlyBracketKeyword_3()); + newLeafNode(otherlv_3, grammarAccess.getExternAggregationOperatorDeclarationAccess().getLeftCurlyBracketKeyword_3()); } ( ( { if ($current==null) { - $current = createModelElement(grammarAccess.getExternAggregatorDefinitionRule()); + $current = createModelElement(grammarAccess.getExternAggregationOperatorDeclarationRule()); } } { - newCompositeNode(grammarAccess.getExternAggregatorDefinitionAccess().getInputTypeNamedElementCrossReference_4_0()); + newCompositeNode(grammarAccess.getExternAggregationOperatorDeclarationAccess().getArgumentTypeSymbolCrossReference_4_0()); } ruleQualifiedName { @@ -895,24 +1360,28 @@ ruleExternAggregatorDefinition returns [EObject current=null] ) otherlv_5=FullStopFullStopFullStop { - newLeafNode(otherlv_5, grammarAccess.getExternAggregatorDefinitionAccess().getFullStopFullStopFullStopKeyword_5()); + newLeafNode(otherlv_5, grammarAccess.getExternAggregationOperatorDeclarationAccess().getFullStopFullStopFullStopKeyword_5()); } otherlv_6=RightCurlyBracket { - newLeafNode(otherlv_6, grammarAccess.getExternAggregatorDefinitionAccess().getRightCurlyBracketKeyword_6()); + newLeafNode(otherlv_6, grammarAccess.getExternAggregationOperatorDeclarationAccess().getRightCurlyBracketKeyword_6()); + } + this_FULL_STOP_7=RULE_FULL_STOP + { + newLeafNode(this_FULL_STOP_7, grammarAccess.getExternAggregationOperatorDeclarationAccess().getFULL_STOPTerminalRuleCall_7()); } ) ; -// Entry rule entryRuleExternDatatypeDefinition -entryRuleExternDatatypeDefinition returns [EObject current=null]: - { newCompositeNode(grammarAccess.getExternDatatypeDefinitionRule()); } - iv_ruleExternDatatypeDefinition=ruleExternDatatypeDefinition - { $current=$iv_ruleExternDatatypeDefinition.current; } +// Entry rule entryRuleExternDatatypeDeclaration +entryRuleExternDatatypeDeclaration returns [EObject current=null]: + { newCompositeNode(grammarAccess.getExternDatatypeDeclarationRule()); } + iv_ruleExternDatatypeDeclaration=ruleExternDatatypeDeclaration + { $current=$iv_ruleExternDatatypeDeclaration.current; } EOF; -// Rule ExternDatatypeDefinition -ruleExternDatatypeDefinition returns [EObject current=null] +// Rule ExternDatatypeDeclaration +ruleExternDatatypeDeclaration returns [EObject current=null] @init { enterRule(); } @@ -922,21 +1391,21 @@ ruleExternDatatypeDefinition returns [EObject current=null] ( otherlv_0=Extern { - newLeafNode(otherlv_0, grammarAccess.getExternDatatypeDefinitionAccess().getExternKeyword_0()); + newLeafNode(otherlv_0, grammarAccess.getExternDatatypeDeclarationAccess().getExternKeyword_0()); } otherlv_1=Datatype { - newLeafNode(otherlv_1, grammarAccess.getExternDatatypeDefinitionAccess().getDatatypeKeyword_1()); + newLeafNode(otherlv_1, grammarAccess.getExternDatatypeDeclarationAccess().getDatatypeKeyword_1()); } ( ( { - newCompositeNode(grammarAccess.getExternDatatypeDefinitionAccess().getNameQualifiedNameParserRuleCall_2_0()); + newCompositeNode(grammarAccess.getExternDatatypeDeclarationAccess().getNameQualifiedNameParserRuleCall_2_0()); } lv_name_2_0=ruleQualifiedName { if ($current==null) { - $current = createModelElementForParent(grammarAccess.getExternDatatypeDefinitionRule()); + $current = createModelElementForParent(grammarAccess.getExternDatatypeDeclarationRule()); } set( $current, @@ -947,103 +1416,10 @@ ruleExternDatatypeDefinition returns [EObject current=null] } ) ) - ( - otherlv_3=Extends - { - newLeafNode(otherlv_3, grammarAccess.getExternDatatypeDefinitionAccess().getExtendsKeyword_3_0()); - } - ( - ( - { - if ($current==null) { - $current = createModelElement(grammarAccess.getExternDatatypeDefinitionRule()); - } - } - { - newCompositeNode(grammarAccess.getExternDatatypeDefinitionAccess().getSupertypesNamedElementCrossReference_3_1_0()); - } - ruleQualifiedName - { - afterParserOrEnumRuleCall(); - } - ) - ) - ( - otherlv_5=Comma - { - newLeafNode(otherlv_5, grammarAccess.getExternDatatypeDefinitionAccess().getCommaKeyword_3_2_0()); - } - ( - ( - { - if ($current==null) { - $current = createModelElement(grammarAccess.getExternDatatypeDefinitionRule()); - } - } - { - newCompositeNode(grammarAccess.getExternDatatypeDefinitionAccess().getSupertypesNamedElementCrossReference_3_2_1_0()); - } - ruleQualifiedName - { - afterParserOrEnumRuleCall(); - } - ) - ) - )* - ) - ) -; - -// Entry rule entryRuleVariable -entryRuleVariable returns [EObject current=null]: - { newCompositeNode(grammarAccess.getVariableRule()); } - iv_ruleVariable=ruleVariable - { $current=$iv_ruleVariable.current; } - EOF; - -// Rule Variable -ruleVariable returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - ( - ( - { - if ($current==null) { - $current = createModelElement(grammarAccess.getVariableRule()); - } - } - { - newCompositeNode(grammarAccess.getVariableAccess().getTypeNamedElementCrossReference_0_0()); - } - ruleQualifiedName - { - afterParserOrEnumRuleCall(); - } - ) - )? - ( - ( - lv_name_1_0=RULE_ID - { - newLeafNode(lv_name_1_0, grammarAccess.getVariableAccess().getNameIDTerminalRuleCall_1_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getVariableRule()); - } - setWithLastConsumed( - $current, - "name", - lv_name_1_0, - "org.eclipse.xtext.common.Terminals.ID"); - } - ) - ) + this_FULL_STOP_3=RULE_FULL_STOP + { + newLeafNode(this_FULL_STOP_3, grammarAccess.getExternDatatypeDeclarationAccess().getFULL_STOPTerminalRuleCall_3()); + } ) ; @@ -1064,43 +1440,77 @@ ruleExpression returns [EObject current=null] }: ( { - newCompositeNode(grammarAccess.getExpressionAccess().getIfElseParserRuleCall_0()); + newCompositeNode(grammarAccess.getExpressionAccess().getConditionalExpressionParserRuleCall_0()); } - this_IfElse_0=ruleIfElse + this_ConditionalExpression_0=ruleConditionalExpression { - $current = $this_IfElse_0.current; + $current = $this_ConditionalExpression_0.current; afterParserOrEnumRuleCall(); } | { - newCompositeNode(grammarAccess.getExpressionAccess().getLetParserRuleCall_1()); + newCompositeNode(grammarAccess.getExpressionAccess().getLetExpressionParserRuleCall_1()); } - this_Let_1=ruleLet + this_LetExpression_1=ruleLetExpression { - $current = $this_Let_1.current; + $current = $this_LetExpression_1.current; afterParserOrEnumRuleCall(); } | - { - newCompositeNode(grammarAccess.getExpressionAccess().getImplicationExpressionParserRuleCall_2()); - } - this_ImplicationExpression_2=ruleImplicationExpression - { - $current = $this_ImplicationExpression_2.current; - afterParserOrEnumRuleCall(); - } + ( + { + newCompositeNode(grammarAccess.getExpressionAccess().getDisjunctiveExpressionParserRuleCall_2_0()); + } + this_DisjunctiveExpression_2=ruleDisjunctiveExpression + { + $current = $this_DisjunctiveExpression_2.current; + afterParserOrEnumRuleCall(); + } + ( + ( + { + $current = forceCreateModelElementAndSet( + grammarAccess.getExpressionAccess().getForallConditionAction_2_1_0(), + $current); + } + ) + otherlv_4=EqualsSignGreaterThanSign + { + newLeafNode(otherlv_4, grammarAccess.getExpressionAccess().getEqualsSignGreaterThanSignKeyword_2_1_1()); + } + ( + ( + { + newCompositeNode(grammarAccess.getExpressionAccess().getBodyDisjunctiveExpressionParserRuleCall_2_1_2_0()); + } + lv_body_5_0=ruleDisjunctiveExpression + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getExpressionRule()); + } + set( + $current, + "body", + lv_body_5_0, + "org.eclipse.viatra.solver.language.SolverLanguage.DisjunctiveExpression"); + afterParserOrEnumRuleCall(); + } + ) + ) + )? + ) ) ; -// Entry rule entryRuleIfElse -entryRuleIfElse returns [EObject current=null]: - { newCompositeNode(grammarAccess.getIfElseRule()); } - iv_ruleIfElse=ruleIfElse - { $current=$iv_ruleIfElse.current; } +// Entry rule entryRuleConditionalExpression +entryRuleConditionalExpression returns [EObject current=null]: + { newCompositeNode(grammarAccess.getConditionalExpressionRule()); } + iv_ruleConditionalExpression=ruleConditionalExpression + { $current=$iv_ruleConditionalExpression.current; } EOF; -// Rule IfElse -ruleIfElse returns [EObject current=null] +// Rule ConditionalExpression +ruleConditionalExpression returns [EObject current=null] @init { enterRule(); } @@ -1110,40 +1520,40 @@ ruleIfElse returns [EObject current=null] ( otherlv_0=If { - newLeafNode(otherlv_0, grammarAccess.getIfElseAccess().getIfKeyword_0()); + newLeafNode(otherlv_0, grammarAccess.getConditionalExpressionAccess().getIfKeyword_0()); } ( ( { - newCompositeNode(grammarAccess.getIfElseAccess().getConditionExpressionParserRuleCall_1_0()); + newCompositeNode(grammarAccess.getConditionalExpressionAccess().getConditionDisjunctiveExpressionParserRuleCall_1_0()); } - lv_condition_1_0=ruleExpression + lv_condition_1_0=ruleDisjunctiveExpression { if ($current==null) { - $current = createModelElementForParent(grammarAccess.getIfElseRule()); + $current = createModelElementForParent(grammarAccess.getConditionalExpressionRule()); } set( $current, "condition", lv_condition_1_0, - "org.eclipse.viatra.solver.language.SolverLanguage.Expression"); + "org.eclipse.viatra.solver.language.SolverLanguage.DisjunctiveExpression"); afterParserOrEnumRuleCall(); } ) ) otherlv_2=Then { - newLeafNode(otherlv_2, grammarAccess.getIfElseAccess().getThenKeyword_2()); + newLeafNode(otherlv_2, grammarAccess.getConditionalExpressionAccess().getThenKeyword_2()); } ( ( { - newCompositeNode(grammarAccess.getIfElseAccess().getThenExpressionParserRuleCall_3_0()); + newCompositeNode(grammarAccess.getConditionalExpressionAccess().getThenExpressionParserRuleCall_3_0()); } lv_then_3_0=ruleExpression { if ($current==null) { - $current = createModelElementForParent(grammarAccess.getIfElseRule()); + $current = createModelElementForParent(grammarAccess.getConditionalExpressionRule()); } set( $current, @@ -1156,17 +1566,17 @@ ruleIfElse returns [EObject current=null] ) otherlv_4=Else { - newLeafNode(otherlv_4, grammarAccess.getIfElseAccess().getElseKeyword_4()); + newLeafNode(otherlv_4, grammarAccess.getConditionalExpressionAccess().getElseKeyword_4()); } ( ( { - newCompositeNode(grammarAccess.getIfElseAccess().getElseExpressionParserRuleCall_5_0()); + newCompositeNode(grammarAccess.getConditionalExpressionAccess().getElseExpressionParserRuleCall_5_0()); } lv_else_5_0=ruleExpression { if ($current==null) { - $current = createModelElementForParent(grammarAccess.getIfElseRule()); + $current = createModelElementForParent(grammarAccess.getConditionalExpressionRule()); } set( $current, @@ -1180,15 +1590,15 @@ ruleIfElse returns [EObject current=null] ) ; -// Entry rule entryRuleLet -entryRuleLet returns [EObject current=null]: - { newCompositeNode(grammarAccess.getLetRule()); } - iv_ruleLet=ruleLet - { $current=$iv_ruleLet.current; } +// Entry rule entryRuleLetExpression +entryRuleLetExpression returns [EObject current=null]: + { newCompositeNode(grammarAccess.getLetExpressionRule()); } + iv_ruleLetExpression=ruleLetExpression + { $current=$iv_ruleLetExpression.current; } EOF; -// Rule Let -ruleLet returns [EObject current=null] +// Rule LetExpression +ruleLetExpression returns [EObject current=null] @init { enterRule(); } @@ -1198,17 +1608,17 @@ ruleLet returns [EObject current=null] ( otherlv_0=Let { - newLeafNode(otherlv_0, grammarAccess.getLetAccess().getLetKeyword_0()); + newLeafNode(otherlv_0, grammarAccess.getLetExpressionAccess().getLetKeyword_0()); } ( ( { - newCompositeNode(grammarAccess.getLetAccess().getBindingsLetBindingParserRuleCall_1_0()); + newCompositeNode(grammarAccess.getLetExpressionAccess().getBindingsLetBindingParserRuleCall_1_0()); } lv_bindings_1_0=ruleLetBinding { if ($current==null) { - $current = createModelElementForParent(grammarAccess.getLetRule()); + $current = createModelElementForParent(grammarAccess.getLetExpressionRule()); } add( $current, @@ -1222,17 +1632,17 @@ ruleLet returns [EObject current=null] ( otherlv_2=Comma { - newLeafNode(otherlv_2, grammarAccess.getLetAccess().getCommaKeyword_2_0()); + newLeafNode(otherlv_2, grammarAccess.getLetExpressionAccess().getCommaKeyword_2_0()); } ( ( { - newCompositeNode(grammarAccess.getLetAccess().getBindingsLetBindingParserRuleCall_2_1_0()); + newCompositeNode(grammarAccess.getLetExpressionAccess().getBindingsLetBindingParserRuleCall_2_1_0()); } lv_bindings_3_0=ruleLetBinding { if ($current==null) { - $current = createModelElementForParent(grammarAccess.getLetRule()); + $current = createModelElementForParent(grammarAccess.getLetExpressionRule()); } add( $current, @@ -1246,17 +1656,17 @@ ruleLet returns [EObject current=null] )* otherlv_4=In { - newLeafNode(otherlv_4, grammarAccess.getLetAccess().getInKeyword_3()); + newLeafNode(otherlv_4, grammarAccess.getLetExpressionAccess().getInKeyword_3()); } ( ( { - newCompositeNode(grammarAccess.getLetAccess().getBodyExpressionParserRuleCall_4_0()); + newCompositeNode(grammarAccess.getLetExpressionAccess().getBodyExpressionParserRuleCall_4_0()); } lv_body_5_0=ruleExpression { if ($current==null) { - $current = createModelElementForParent(grammarAccess.getLetRule()); + $current = createModelElementForParent(grammarAccess.getLetExpressionRule()); } set( $current, @@ -1289,32 +1699,47 @@ ruleLetBinding returns [EObject current=null] ( ( { - newCompositeNode(grammarAccess.getLetBindingAccess().getVariableVariableParserRuleCall_0_0()); + if ($current==null) { + $current = createModelElement(grammarAccess.getLetBindingRule()); + } + } + { + newCompositeNode(grammarAccess.getLetBindingAccess().getTypeSymbolCrossReference_0_0()); + } + ruleQualifiedName + { + afterParserOrEnumRuleCall(); + } + ) + )? + ( + ( + lv_name_1_0=RULE_ID + { + newLeafNode(lv_name_1_0, grammarAccess.getLetBindingAccess().getNameIDTerminalRuleCall_1_0()); } - lv_variable_0_0=ruleVariable { if ($current==null) { - $current = createModelElementForParent(grammarAccess.getLetBindingRule()); + $current = createModelElement(grammarAccess.getLetBindingRule()); } - set( + setWithLastConsumed( $current, - "variable", - lv_variable_0_0, - "org.eclipse.viatra.solver.language.SolverLanguage.Variable"); - afterParserOrEnumRuleCall(); + "name", + lv_name_1_0, + "org.eclipse.xtext.common.Terminals.ID"); } ) ) - otherlv_1=EqualsSign + otherlv_2=EqualsSign { - newLeafNode(otherlv_1, grammarAccess.getLetBindingAccess().getEqualsSignKeyword_1()); + newLeafNode(otherlv_2, grammarAccess.getLetBindingAccess().getEqualsSignKeyword_2()); } ( ( { - newCompositeNode(grammarAccess.getLetBindingAccess().getValueAdditiveExpressionParserRuleCall_2_0()); + newCompositeNode(grammarAccess.getLetBindingAccess().getValueAdditiveExpressionParserRuleCall_3_0()); } - lv_value_2_0=ruleAdditiveExpression + lv_value_3_0=ruleAdditiveExpression { if ($current==null) { $current = createModelElementForParent(grammarAccess.getLetBindingRule()); @@ -1322,7 +1747,7 @@ ruleLetBinding returns [EObject current=null] set( $current, "value", - lv_value_2_0, + lv_value_3_0, "org.eclipse.viatra.solver.language.SolverLanguage.AdditiveExpression"); afterParserOrEnumRuleCall(); } @@ -1331,80 +1756,6 @@ ruleLetBinding returns [EObject current=null] ) ; -// Entry rule entryRuleImplicationExpression -entryRuleImplicationExpression returns [EObject current=null]: - { newCompositeNode(grammarAccess.getImplicationExpressionRule()); } - iv_ruleImplicationExpression=ruleImplicationExpression - { $current=$iv_ruleImplicationExpression.current; } - EOF; - -// Rule ImplicationExpression -ruleImplicationExpression returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - { - newCompositeNode(grammarAccess.getImplicationExpressionAccess().getDisjunctiveExpressionParserRuleCall_0()); - } - this_DisjunctiveExpression_0=ruleDisjunctiveExpression - { - $current = $this_DisjunctiveExpression_0.current; - afterParserOrEnumRuleCall(); - } - ( - ( - { - $current = forceCreateModelElementAndSet( - grammarAccess.getImplicationExpressionAccess().getBinaryExpressionLeftAction_1_0(), - $current); - } - ) - ( - ( - { - newCompositeNode(grammarAccess.getImplicationExpressionAccess().getOpImplicationOperatorEnumRuleCall_1_1_0()); - } - lv_op_2_0=ruleImplicationOperator - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getImplicationExpressionRule()); - } - set( - $current, - "op", - lv_op_2_0, - "org.eclipse.viatra.solver.language.SolverLanguage.ImplicationOperator"); - afterParserOrEnumRuleCall(); - } - ) - ) - ( - ( - { - newCompositeNode(grammarAccess.getImplicationExpressionAccess().getRightImplicationExpressionParserRuleCall_1_2_0()); - } - lv_right_3_0=ruleImplicationExpression - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getImplicationExpressionRule()); - } - set( - $current, - "right", - lv_right_3_0, - "org.eclipse.viatra.solver.language.SolverLanguage.ImplicationExpression"); - afterParserOrEnumRuleCall(); - } - ) - ) - )? - ) -; - // Entry rule entryRuleDisjunctiveExpression entryRuleDisjunctiveExpression returns [EObject current=null]: { newCompositeNode(grammarAccess.getDisjunctiveExpressionRule()); } @@ -1683,7 +2034,7 @@ ruleComparisonExpression returns [EObject current=null] ( { $current = forceCreateModelElementAndSet( - grammarAccess.getComparisonExpressionAccess().getComparisonLeftAction_1_0(), + grammarAccess.getComparisonExpressionAccess().getBinaryExpressionLeftAction_1_0(), $current); } ) @@ -1995,7 +2346,7 @@ ruleCastExpression returns [EObject current=null] } } { - newCompositeNode(grammarAccess.getCastExpressionAccess().getTypeNamedElementCrossReference_1_2_0()); + newCompositeNode(grammarAccess.getCastExpressionAccess().getTargetTypeSymbolCrossReference_1_2_0()); } ruleQualifiedName { @@ -2024,11 +2375,11 @@ ruleUnaryExpression returns [EObject current=null] }: ( { - newCompositeNode(grammarAccess.getUnaryExpressionAccess().getAggregationExpressionParserRuleCall_0()); + newCompositeNode(grammarAccess.getUnaryExpressionAccess().getBracedAggregateExpressionParserRuleCall_0()); } - this_AggregationExpression_0=ruleAggregationExpression + this_BracedAggregateExpression_0=ruleBracedAggregateExpression { - $current = $this_AggregationExpression_0.current; + $current = $this_BracedAggregateExpression_0.current; afterParserOrEnumRuleCall(); } | @@ -2043,9 +2394,9 @@ ruleUnaryExpression returns [EObject current=null] ( ( { - newCompositeNode(grammarAccess.getUnaryExpressionAccess().getOpUnaryOpEnumRuleCall_1_1_0()); + newCompositeNode(grammarAccess.getUnaryExpressionAccess().getOpUnaryOperatorEnumRuleCall_1_1_0()); } - lv_op_2_0=ruleUnaryOp + lv_op_2_0=ruleUnaryOperator { if ($current==null) { $current = createModelElementForParent(grammarAccess.getUnaryExpressionRule()); @@ -2054,7 +2405,7 @@ ruleUnaryExpression returns [EObject current=null] $current, "op", lv_op_2_0, - "org.eclipse.viatra.solver.language.SolverLanguage.UnaryOp"); + "org.eclipse.viatra.solver.language.SolverLanguage.UnaryOperator"); afterParserOrEnumRuleCall(); } ) @@ -2062,9 +2413,9 @@ ruleUnaryExpression returns [EObject current=null] ( ( { - newCompositeNode(grammarAccess.getUnaryExpressionAccess().getBodyAggregationExpressionParserRuleCall_1_2_0()); + newCompositeNode(grammarAccess.getUnaryExpressionAccess().getBodyBracedAggregateExpressionParserRuleCall_1_2_0()); } - lv_body_3_0=ruleAggregationExpression + lv_body_3_0=ruleBracedAggregateExpression { if ($current==null) { $current = createModelElementForParent(grammarAccess.getUnaryExpressionRule()); @@ -2073,7 +2424,7 @@ ruleUnaryExpression returns [EObject current=null] $current, "body", lv_body_3_0, - "org.eclipse.viatra.solver.language.SolverLanguage.AggregationExpression"); + "org.eclipse.viatra.solver.language.SolverLanguage.BracedAggregateExpression"); afterParserOrEnumRuleCall(); } ) @@ -2082,15 +2433,15 @@ ruleUnaryExpression returns [EObject current=null] ) ; -// Entry rule entryRuleAggregationExpression -entryRuleAggregationExpression returns [EObject current=null]: - { newCompositeNode(grammarAccess.getAggregationExpressionRule()); } - iv_ruleAggregationExpression=ruleAggregationExpression - { $current=$iv_ruleAggregationExpression.current; } +// Entry rule entryRuleBracedAggregateExpression +entryRuleBracedAggregateExpression returns [EObject current=null]: + { newCompositeNode(grammarAccess.getBracedAggregateExpressionRule()); } + iv_ruleBracedAggregateExpression=ruleBracedAggregateExpression + { $current=$iv_ruleBracedAggregateExpression.current; } EOF; -// Rule AggregationExpression -ruleAggregationExpression returns [EObject current=null] +// Rule BracedAggregateExpression +ruleBracedAggregateExpression returns [EObject current=null] @init { enterRule(); } @@ -2099,7 +2450,7 @@ ruleAggregationExpression returns [EObject current=null] }: ( { - newCompositeNode(grammarAccess.getAggregationExpressionAccess().getAtomicExpressionParserRuleCall_0()); + newCompositeNode(grammarAccess.getBracedAggregateExpressionAccess().getAtomicExpressionParserRuleCall_0()); } this_AtomicExpression_0=ruleAtomicExpression { @@ -2108,34 +2459,34 @@ ruleAggregationExpression returns [EObject current=null] } | { - newCompositeNode(grammarAccess.getAggregationExpressionAccess().getQuantifiedExpressionParserRuleCall_1()); + newCompositeNode(grammarAccess.getBracedAggregateExpressionAccess().getAggregationParserRuleCall_1()); } - this_QuantifiedExpression_1=ruleQuantifiedExpression + this_Aggregation_1=ruleAggregation { - $current = $this_QuantifiedExpression_1.current; + $current = $this_Aggregation_1.current; afterParserOrEnumRuleCall(); } | { - newCompositeNode(grammarAccess.getAggregationExpressionAccess().getAggregationParserRuleCall_2()); + newCompositeNode(grammarAccess.getBracedAggregateExpressionAccess().getCountParserRuleCall_2()); } - this_Aggregation_2=ruleAggregation + this_Count_2=ruleCount { - $current = $this_Aggregation_2.current; + $current = $this_Count_2.current; afterParserOrEnumRuleCall(); } ) ; -// Entry rule entryRuleLocalVariables -entryRuleLocalVariables returns [EObject current=null]: - { newCompositeNode(grammarAccess.getLocalVariablesRule()); } - iv_ruleLocalVariables=ruleLocalVariables - { $current=$iv_ruleLocalVariables.current; } +// Entry rule entryRuleAggregation +entryRuleAggregation returns [EObject current=null]: + { newCompositeNode(grammarAccess.getAggregationRule()); } + iv_ruleAggregation=ruleAggregation + { $current=$iv_ruleAggregation.current; } EOF; -// Rule LocalVariables -ruleLocalVariables returns [EObject current=null] +// Rule Aggregation +ruleAggregation returns [EObject current=null] @init { enterRule(); } @@ -2144,162 +2495,83 @@ ruleLocalVariables returns [EObject current=null] }: ( ( - { - $current = forceCreateModelElement( - grammarAccess.getLocalVariablesAccess().getLocalVariablesAction_0(), - $current); - } - ) - otherlv_1=LeftSquareBracket - { - newLeafNode(otherlv_1, grammarAccess.getLocalVariablesAccess().getLeftSquareBracketKeyword_1()); - } - ( - ( - ( - { - newCompositeNode(grammarAccess.getLocalVariablesAccess().getVariablesVariableParserRuleCall_2_0_0()); - } - lv_variables_2_0=ruleVariable - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getLocalVariablesRule()); - } - add( - $current, - "variables", - lv_variables_2_0, - "org.eclipse.viatra.solver.language.SolverLanguage.Variable"); - afterParserOrEnumRuleCall(); - } - ) - ) ( - otherlv_3=Comma { - newLeafNode(otherlv_3, grammarAccess.getLocalVariablesAccess().getCommaKeyword_2_1_0()); + if ($current==null) { + $current = createModelElement(grammarAccess.getAggregationRule()); + } } - ( - ( - { - newCompositeNode(grammarAccess.getLocalVariablesAccess().getVariablesVariableParserRuleCall_2_1_1_0()); - } - lv_variables_4_0=ruleVariable - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getLocalVariablesRule()); - } - add( - $current, - "variables", - lv_variables_4_0, - "org.eclipse.viatra.solver.language.SolverLanguage.Variable"); - afterParserOrEnumRuleCall(); - } - ) - ) - )* - )? - otherlv_5=RightSquareBracket - { - newLeafNode(otherlv_5, grammarAccess.getLocalVariablesAccess().getRightSquareBracketKeyword_3()); - } - ) -; - -// Entry rule entryRuleQuantifiedExpression -entryRuleQuantifiedExpression returns [EObject current=null]: - { newCompositeNode(grammarAccess.getQuantifiedExpressionRule()); } - iv_ruleQuantifiedExpression=ruleQuantifiedExpression - { $current=$iv_ruleQuantifiedExpression.current; } - EOF; - -// Rule QuantifiedExpression -ruleQuantifiedExpression returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - ( - ( { - newCompositeNode(grammarAccess.getQuantifiedExpressionAccess().getQuantifierQuantifierEnumRuleCall_0_0()); + newCompositeNode(grammarAccess.getAggregationAccess().getOpSymbolCrossReference_0_0()); } - lv_quantifier_0_0=ruleQuantifier + ruleQualifiedName { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getQuantifiedExpressionRule()); - } - set( - $current, - "quantifier", - lv_quantifier_0_0, - "org.eclipse.viatra.solver.language.SolverLanguage.Quantifier"); afterParserOrEnumRuleCall(); } ) ) + otherlv_1=LeftCurlyBracket + { + newLeafNode(otherlv_1, grammarAccess.getAggregationAccess().getLeftCurlyBracketKeyword_1()); + } ( ( { - newCompositeNode(grammarAccess.getQuantifiedExpressionAccess().getLocalVariablesLocalVariablesParserRuleCall_1_0()); + newCompositeNode(grammarAccess.getAggregationAccess().getValueExpressionParserRuleCall_2_0()); } - lv_localVariables_1_0=ruleLocalVariables + lv_value_2_0=ruleExpression { if ($current==null) { - $current = createModelElementForParent(grammarAccess.getQuantifiedExpressionRule()); + $current = createModelElementForParent(grammarAccess.getAggregationRule()); } set( $current, - "localVariables", - lv_localVariables_1_0, - "org.eclipse.viatra.solver.language.SolverLanguage.LocalVariables"); + "value", + lv_value_2_0, + "org.eclipse.viatra.solver.language.SolverLanguage.Expression"); afterParserOrEnumRuleCall(); } ) - )? - otherlv_2=LeftCurlyBracket + ) + otherlv_3=VerticalLine { - newLeafNode(otherlv_2, grammarAccess.getQuantifiedExpressionAccess().getLeftCurlyBracketKeyword_2()); + newLeafNode(otherlv_3, grammarAccess.getAggregationAccess().getVerticalLineKeyword_3()); } ( ( { - newCompositeNode(grammarAccess.getQuantifiedExpressionAccess().getBodyExpressionParserRuleCall_3_0()); + newCompositeNode(grammarAccess.getAggregationAccess().getConditionExpressionParserRuleCall_4_0()); } - lv_body_3_0=ruleExpression + lv_condition_4_0=ruleExpression { if ($current==null) { - $current = createModelElementForParent(grammarAccess.getQuantifiedExpressionRule()); + $current = createModelElementForParent(grammarAccess.getAggregationRule()); } set( $current, - "body", - lv_body_3_0, + "condition", + lv_condition_4_0, "org.eclipse.viatra.solver.language.SolverLanguage.Expression"); afterParserOrEnumRuleCall(); } ) ) - otherlv_4=RightCurlyBracket + otherlv_5=RightCurlyBracket { - newLeafNode(otherlv_4, grammarAccess.getQuantifiedExpressionAccess().getRightCurlyBracketKeyword_4()); + newLeafNode(otherlv_5, grammarAccess.getAggregationAccess().getRightCurlyBracketKeyword_5()); } ) ; -// Entry rule entryRuleAggregation -entryRuleAggregation returns [EObject current=null]: - { newCompositeNode(grammarAccess.getAggregationRule()); } - iv_ruleAggregation=ruleAggregation - { $current=$iv_ruleAggregation.current; } +// Entry rule entryRuleCount +entryRuleCount returns [EObject current=null]: + { newCompositeNode(grammarAccess.getCountRule()); } + iv_ruleCount=ruleCount + { $current=$iv_ruleCount.current; } EOF; -// Rule Aggregation -ruleAggregation returns [EObject current=null] +// Rule Count +ruleCount returns [EObject current=null] @init { enterRule(); } @@ -2307,92 +2579,36 @@ ruleAggregation returns [EObject current=null] leaveRule(); }: ( - ( - ( - { - if ($current==null) { - $current = createModelElement(grammarAccess.getAggregationRule()); - } - } - { - newCompositeNode(grammarAccess.getAggregationAccess().getOpNamedElementCrossReference_0_0()); - } - ruleQualifiedName - { - afterParserOrEnumRuleCall(); - } - ) - ) - ( - ( - { - newCompositeNode(grammarAccess.getAggregationAccess().getLocalVariablesLocalVariablesParserRuleCall_1_0()); - } - lv_localVariables_1_0=ruleLocalVariables - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getAggregationRule()); - } - set( - $current, - "localVariables", - lv_localVariables_1_0, - "org.eclipse.viatra.solver.language.SolverLanguage.LocalVariables"); - afterParserOrEnumRuleCall(); - } - ) - )? - otherlv_2=LeftCurlyBracket + otherlv_0=Count { - newLeafNode(otherlv_2, grammarAccess.getAggregationAccess().getLeftCurlyBracketKeyword_2()); + newLeafNode(otherlv_0, grammarAccess.getCountAccess().getCountKeyword_0()); } - ( - ( - { - newCompositeNode(grammarAccess.getAggregationAccess().getBodyExpressionParserRuleCall_3_0()); - } - lv_body_3_0=ruleExpression - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getAggregationRule()); - } - set( - $current, - "body", - lv_body_3_0, - "org.eclipse.viatra.solver.language.SolverLanguage.Expression"); - afterParserOrEnumRuleCall(); - } - ) - ) - ( - otherlv_4=VerticalLine - { - newLeafNode(otherlv_4, grammarAccess.getAggregationAccess().getVerticalLineKeyword_4_0()); - } - ( - ( - { - newCompositeNode(grammarAccess.getAggregationAccess().getConditionExpressionParserRuleCall_4_1_0()); - } - lv_condition_5_0=ruleExpression - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getAggregationRule()); - } - set( - $current, - "condition", - lv_condition_5_0, - "org.eclipse.viatra.solver.language.SolverLanguage.Expression"); - afterParserOrEnumRuleCall(); + otherlv_1=LeftCurlyBracket + { + newLeafNode(otherlv_1, grammarAccess.getCountAccess().getLeftCurlyBracketKeyword_1()); + } + ( + ( + { + newCompositeNode(grammarAccess.getCountAccess().getConditionExpressionParserRuleCall_2_0()); + } + lv_condition_2_0=ruleExpression + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getCountRule()); } - ) + set( + $current, + "condition", + lv_condition_2_0, + "org.eclipse.viatra.solver.language.SolverLanguage.Expression"); + afterParserOrEnumRuleCall(); + } ) - )? - otherlv_6=RightCurlyBracket + ) + otherlv_3=RightCurlyBracket { - newLeafNode(otherlv_6, grammarAccess.getAggregationAccess().getRightCurlyBracketKeyword_5()); + newLeafNode(otherlv_3, grammarAccess.getCountAccess().getRightCurlyBracketKeyword_3()); } ) ; @@ -2505,51 +2721,12 @@ ruleCall returns [EObject current=null] } ) ) - ( - ( - ( - lv_transitiveClosure_1_0=RULE_TRANSITIVE_CLOSURE - { - newLeafNode(lv_transitiveClosure_1_0, grammarAccess.getCallAccess().getTransitiveClosureTRANSITIVE_CLOSURETerminalRuleCall_1_0_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getCallRule()); - } - setWithLastConsumed( - $current, - "transitiveClosure", - true, - "org.eclipse.viatra.solver.language.SolverLanguage.TRANSITIVE_CLOSURE"); - } - ) - ) - | - ( - ( - lv_reflexiveTransitiveClosure_2_0=RULE_REFLEXIVE_TRANSITIVE_CLOSURE - { - newLeafNode(lv_reflexiveTransitiveClosure_2_0, grammarAccess.getCallAccess().getReflexiveTransitiveClosureREFLEXIVE_TRANSITIVE_CLOSURETerminalRuleCall_1_1_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getCallRule()); - } - setWithLastConsumed( - $current, - "reflexiveTransitiveClosure", - true, - "org.eclipse.viatra.solver.language.SolverLanguage.REFLEXIVE_TRANSITIVE_CLOSURE"); - } - ) - ) - )? ( ( { - newCompositeNode(grammarAccess.getCallAccess().getArgumentListArgumentListParserRuleCall_2_0()); + newCompositeNode(grammarAccess.getCallAccess().getArgumentListArgumentListParserRuleCall_1_0()); } - lv_argumentList_3_0=ruleArgumentList + lv_argumentList_1_0=ruleArgumentList { if ($current==null) { $current = createModelElementForParent(grammarAccess.getCallRule()); @@ -2557,7 +2734,7 @@ ruleCall returns [EObject current=null] set( $current, "argumentList", - lv_argumentList_3_0, + lv_argumentList_1_0, "org.eclipse.viatra.solver.language.SolverLanguage.ArgumentList"); afterParserOrEnumRuleCall(); } @@ -2681,11 +2858,11 @@ ruleArgument returns [EObject current=null] } | { - newCompositeNode(grammarAccess.getArgumentAccess().getTypedArgumentParserRuleCall_2()); + newCompositeNode(grammarAccess.getArgumentAccess().getTypedVariableArgumentParserRuleCall_2()); } - this_TypedArgument_2=ruleTypedArgument + this_TypedVariableArgument_2=ruleTypedVariableArgument { - $current = $this_TypedArgument_2.current; + $current = $this_TypedVariableArgument_2.current; afterParserOrEnumRuleCall(); } | @@ -2718,17 +2895,17 @@ ruleExpressionArgument returns [EObject current=null] ( ( { - newCompositeNode(grammarAccess.getExpressionArgumentAccess().getBodyComparisonExpressionParserRuleCall_0()); + newCompositeNode(grammarAccess.getExpressionArgumentAccess().getExpressionComparisonExpressionParserRuleCall_0()); } - lv_body_0_0=ruleComparisonExpression + lv_expression_0_0=ruleComparisonExpression { if ($current==null) { $current = createModelElementForParent(grammarAccess.getExpressionArgumentRule()); } set( $current, - "body", - lv_body_0_0, + "expression", + lv_expression_0_0, "org.eclipse.viatra.solver.language.SolverLanguage.ComparisonExpression"); afterParserOrEnumRuleCall(); } @@ -2766,15 +2943,15 @@ ruleStarArgument returns [EObject current=null] ) ; -// Entry rule entryRuleTypedArgument -entryRuleTypedArgument returns [EObject current=null]: - { newCompositeNode(grammarAccess.getTypedArgumentRule()); } - iv_ruleTypedArgument=ruleTypedArgument - { $current=$iv_ruleTypedArgument.current; } +// Entry rule entryRuleTypedVariableArgument +entryRuleTypedVariableArgument returns [EObject current=null]: + { newCompositeNode(grammarAccess.getTypedVariableArgumentRule()); } + iv_ruleTypedVariableArgument=ruleTypedVariableArgument + { $current=$iv_ruleTypedVariableArgument.current; } EOF; -// Rule TypedArgument -ruleTypedArgument returns [EObject current=null] +// Rule TypedVariableArgument +ruleTypedVariableArgument returns [EObject current=null] @init { enterRule(); } @@ -2785,32 +2962,37 @@ ruleTypedArgument returns [EObject current=null] ( ( { - if ($current==null) { - $current = createModelElement(grammarAccess.getTypedArgumentRule()); - } - } - { - newCompositeNode(grammarAccess.getTypedArgumentAccess().getTypeNamedElementCrossReference_0_0()); + newCompositeNode(grammarAccess.getTypedVariableArgumentAccess().getTypeReferenceTypeReferenceParserRuleCall_0_0()); } - ruleQualifiedName + lv_typeReference_0_0=ruleTypeReference { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getTypedVariableArgumentRule()); + } + set( + $current, + "typeReference", + lv_typeReference_0_0, + "org.eclipse.viatra.solver.language.SolverLanguage.TypeReference"); afterParserOrEnumRuleCall(); } ) ) ( ( + lv_name_1_0=RULE_ID { - if ($current==null) { - $current = createModelElement(grammarAccess.getTypedArgumentRule()); - } - } - { - newCompositeNode(grammarAccess.getTypedArgumentAccess().getVariableNamedElementCrossReference_1_0()); + newLeafNode(lv_name_1_0, grammarAccess.getTypedVariableArgumentAccess().getNameIDTerminalRuleCall_1_0()); } - ruleQualifiedName { - afterParserOrEnumRuleCall(); + if ($current==null) { + $current = createModelElement(grammarAccess.getTypedVariableArgumentRule()); + } + setWithLastConsumed( + $current, + "name", + lv_name_1_0, + "org.eclipse.xtext.common.Terminals.ID"); } ) ) @@ -2836,15 +3018,18 @@ ruleTypedStarArgument returns [EObject current=null] ( ( { - if ($current==null) { - $current = createModelElement(grammarAccess.getTypedStarArgumentRule()); - } - } - { - newCompositeNode(grammarAccess.getTypedStarArgumentAccess().getTypeNamedElementCrossReference_0_0()); + newCompositeNode(grammarAccess.getTypedStarArgumentAccess().getTypeReferenceTypeReferenceParserRuleCall_0_0()); } - ruleQualifiedName + lv_typeReference_0_0=ruleTypeReference { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getTypedStarArgumentRule()); + } + set( + $current, + "typeReference", + lv_typeReference_0_0, + "org.eclipse.viatra.solver.language.SolverLanguage.TypeReference"); afterParserOrEnumRuleCall(); } ) @@ -2873,19 +3058,137 @@ ruleReference returns [EObject current=null] }: ( ( - { - if ($current==null) { - $current = createModelElement(grammarAccess.getReferenceRule()); + ( + { + newCompositeNode(grammarAccess.getReferenceAccess().getComponentsPathComponentParserRuleCall_0_0()); } - } - { - newCompositeNode(grammarAccess.getReferenceAccess().getReferredNamedElementCrossReference_0()); - } - ruleQualifiedName + lv_components_0_0=rulePathComponent + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getReferenceRule()); + } + add( + $current, + "components", + lv_components_0_0, + "org.eclipse.viatra.solver.language.SolverLanguage.PathComponent"); + afterParserOrEnumRuleCall(); + } + ) + ) + ( + otherlv_1=FullStop { - afterParserOrEnumRuleCall(); + newLeafNode(otherlv_1, grammarAccess.getReferenceAccess().getFullStopKeyword_1_0()); } + ( + ( + { + newCompositeNode(grammarAccess.getReferenceAccess().getComponentsPathComponentParserRuleCall_1_1_0()); + } + lv_components_2_0=rulePathComponent + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getReferenceRule()); + } + add( + $current, + "components", + lv_components_2_0, + "org.eclipse.viatra.solver.language.SolverLanguage.PathComponent"); + afterParserOrEnumRuleCall(); + } + ) + ) + )* + ) +; + +// Entry rule entryRulePathComponent +entryRulePathComponent returns [EObject current=null]: + { newCompositeNode(grammarAccess.getPathComponentRule()); } + iv_rulePathComponent=rulePathComponent + { $current=$iv_rulePathComponent.current; } + EOF; + +// Rule PathComponent +rulePathComponent returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + ( + lv_inverse_0_0=Tilde + { + newLeafNode(lv_inverse_0_0, grammarAccess.getPathComponentAccess().getInverseTildeKeyword_0_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getPathComponentRule()); + } + setWithLastConsumed($current, "inverse", true, "~"); + } + ) + )? + ( + ( + { + if ($current==null) { + $current = createModelElement(grammarAccess.getPathComponentRule()); + } + } + { + newCompositeNode(grammarAccess.getPathComponentAccess().getSymbolSymbolCrossReference_1_0()); + } + ruleQualifiedName + { + afterParserOrEnumRuleCall(); + } + ) ) + ( + ( + ( + lv_transitiveClosure_2_0=RULE_TRANSITIVE_CLOSURE + { + newLeafNode(lv_transitiveClosure_2_0, grammarAccess.getPathComponentAccess().getTransitiveClosureTRANSITIVE_CLOSURETerminalRuleCall_2_0_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getPathComponentRule()); + } + setWithLastConsumed( + $current, + "transitiveClosure", + true, + "org.eclipse.viatra.solver.language.SolverLanguage.TRANSITIVE_CLOSURE"); + } + ) + ) + | + ( + ( + lv_reflexiveTransitiveClosure_3_0=RULE_REFLEXIVE_TRANSITIVE_CLOSURE + { + newLeafNode(lv_reflexiveTransitiveClosure_3_0, grammarAccess.getPathComponentAccess().getReflexiveTransitiveClosureREFLEXIVE_TRANSITIVE_CLOSURETerminalRuleCall_2_1_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getPathComponentRule()); + } + setWithLastConsumed( + $current, + "reflexiveTransitiveClosure", + true, + "org.eclipse.viatra.solver.language.SolverLanguage.REFLEXIVE_TRANSITIVE_CLOSURE"); + } + ) + ) + )? ) ; @@ -2912,9 +3215,9 @@ ruleInterval returns [EObject current=null] ( ( { - newCompositeNode(grammarAccess.getIntervalAccess().getLowerBoundExpressionParserRuleCall_1_0()); + newCompositeNode(grammarAccess.getIntervalAccess().getLowerBoundAdditiveExpressionParserRuleCall_1_0()); } - lv_lowerBound_1_0=ruleExpression + lv_lowerBound_1_0=ruleAdditiveExpression { if ($current==null) { $current = createModelElementForParent(grammarAccess.getIntervalRule()); @@ -2923,21 +3226,21 @@ ruleInterval returns [EObject current=null] $current, "lowerBound", lv_lowerBound_1_0, - "org.eclipse.viatra.solver.language.SolverLanguage.Expression"); + "org.eclipse.viatra.solver.language.SolverLanguage.AdditiveExpression"); afterParserOrEnumRuleCall(); } ) ) - otherlv_2=FullStopFullStop + otherlv_2=Comma { - newLeafNode(otherlv_2, grammarAccess.getIntervalAccess().getFullStopFullStopKeyword_2()); + newLeafNode(otherlv_2, grammarAccess.getIntervalAccess().getCommaKeyword_2()); } ( ( { - newCompositeNode(grammarAccess.getIntervalAccess().getUpperBoundExpressionParserRuleCall_3_0()); + newCompositeNode(grammarAccess.getIntervalAccess().getUpperBoundAdditiveExpressionParserRuleCall_3_0()); } - lv_upperBound_3_0=ruleExpression + lv_upperBound_3_0=ruleAdditiveExpression { if ($current==null) { $current = createModelElementForParent(grammarAccess.getIntervalRule()); @@ -2946,7 +3249,7 @@ ruleInterval returns [EObject current=null] $current, "upperBound", lv_upperBound_3_0, - "org.eclipse.viatra.solver.language.SolverLanguage.Expression"); + "org.eclipse.viatra.solver.language.SolverLanguage.AdditiveExpression"); afterParserOrEnumRuleCall(); } ) @@ -2984,38 +3287,47 @@ ruleLiteral returns [EObject current=null] } | { - newCompositeNode(grammarAccess.getLiteralAccess().getNumericLiteralParserRuleCall_1()); + newCompositeNode(grammarAccess.getLiteralAccess().getIntLiteralParserRuleCall_1()); + } + this_IntLiteral_1=ruleIntLiteral + { + $current = $this_IntLiteral_1.current; + afterParserOrEnumRuleCall(); + } + | + { + newCompositeNode(grammarAccess.getLiteralAccess().getRealLiteralParserRuleCall_2()); } - this_NumericLiteral_1=ruleNumericLiteral + this_RealLiteral_2=ruleRealLiteral { - $current = $this_NumericLiteral_1.current; + $current = $this_RealLiteral_2.current; afterParserOrEnumRuleCall(); } | { - newCompositeNode(grammarAccess.getLiteralAccess().getInfinityLiteralParserRuleCall_2()); + newCompositeNode(grammarAccess.getLiteralAccess().getInfinityLiteralParserRuleCall_3()); } - this_InfinityLiteral_2=ruleInfinityLiteral + this_InfinityLiteral_3=ruleInfinityLiteral { - $current = $this_InfinityLiteral_2.current; + $current = $this_InfinityLiteral_3.current; afterParserOrEnumRuleCall(); } | { - newCompositeNode(grammarAccess.getLiteralAccess().getEmptyIntervalLiteralParserRuleCall_3()); + newCompositeNode(grammarAccess.getLiteralAccess().getEmptyLiteralParserRuleCall_4()); } - this_EmptyIntervalLiteral_3=ruleEmptyIntervalLiteral + this_EmptyLiteral_4=ruleEmptyLiteral { - $current = $this_EmptyIntervalLiteral_3.current; + $current = $this_EmptyLiteral_4.current; afterParserOrEnumRuleCall(); } | { - newCompositeNode(grammarAccess.getLiteralAccess().getStringLiteralParserRuleCall_4()); + newCompositeNode(grammarAccess.getLiteralAccess().getStringLiteralParserRuleCall_5()); } - this_StringLiteral_4=ruleStringLiteral + this_StringLiteral_5=ruleStringLiteral { - $current = $this_StringLiteral_4.current; + $current = $this_StringLiteral_5.current; afterParserOrEnumRuleCall(); } ) @@ -3057,15 +3369,50 @@ ruleLogicLiteral returns [EObject current=null] ) ; -// Entry rule entryRuleNumericLiteral -entryRuleNumericLiteral returns [EObject current=null]: - { newCompositeNode(grammarAccess.getNumericLiteralRule()); } - iv_ruleNumericLiteral=ruleNumericLiteral - { $current=$iv_ruleNumericLiteral.current; } +// Entry rule entryRuleIntLiteral +entryRuleIntLiteral returns [EObject current=null]: + { newCompositeNode(grammarAccess.getIntLiteralRule()); } + iv_ruleIntLiteral=ruleIntLiteral + { $current=$iv_ruleIntLiteral.current; } + EOF; + +// Rule IntLiteral +ruleIntLiteral returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + lv_value_0_0=RULE_INT + { + newLeafNode(lv_value_0_0, grammarAccess.getIntLiteralAccess().getValueINTTerminalRuleCall_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getIntLiteralRule()); + } + setWithLastConsumed( + $current, + "value", + lv_value_0_0, + "org.eclipse.xtext.common.Terminals.INT"); + } + ) + ) +; + +// Entry rule entryRuleRealLiteral +entryRuleRealLiteral returns [EObject current=null]: + { newCompositeNode(grammarAccess.getRealLiteralRule()); } + iv_ruleRealLiteral=ruleRealLiteral + { $current=$iv_ruleRealLiteral.current; } EOF; -// Rule NumericLiteral -ruleNumericLiteral returns [EObject current=null] +// Rule RealLiteral +ruleRealLiteral returns [EObject current=null] @init { enterRule(); } @@ -3075,12 +3422,12 @@ ruleNumericLiteral returns [EObject current=null] ( ( { - newCompositeNode(grammarAccess.getNumericLiteralAccess().getValueRealParserRuleCall_0()); + newCompositeNode(grammarAccess.getRealLiteralAccess().getValueRealParserRuleCall_0()); } lv_value_0_0=ruleReal { if ($current==null) { - $current = createModelElementForParent(grammarAccess.getNumericLiteralRule()); + $current = createModelElementForParent(grammarAccess.getRealLiteralRule()); } set( $current, @@ -3123,15 +3470,15 @@ ruleInfinityLiteral returns [EObject current=null] ) ; -// Entry rule entryRuleEmptyIntervalLiteral -entryRuleEmptyIntervalLiteral returns [EObject current=null]: - { newCompositeNode(grammarAccess.getEmptyIntervalLiteralRule()); } - iv_ruleEmptyIntervalLiteral=ruleEmptyIntervalLiteral - { $current=$iv_ruleEmptyIntervalLiteral.current; } +// Entry rule entryRuleEmptyLiteral +entryRuleEmptyLiteral returns [EObject current=null]: + { newCompositeNode(grammarAccess.getEmptyLiteralRule()); } + iv_ruleEmptyLiteral=ruleEmptyLiteral + { $current=$iv_ruleEmptyLiteral.current; } EOF; -// Rule EmptyIntervalLiteral -ruleEmptyIntervalLiteral returns [EObject current=null] +// Rule EmptyLiteral +ruleEmptyLiteral returns [EObject current=null] @init { enterRule(); } @@ -3142,13 +3489,13 @@ ruleEmptyIntervalLiteral returns [EObject current=null] ( { $current = forceCreateModelElement( - grammarAccess.getEmptyIntervalLiteralAccess().getEmptyIntervalLiteralAction_0(), + grammarAccess.getEmptyLiteralAccess().getEmptyLiteralAction_0(), $current); } ) otherlv_1=Empty { - newLeafNode(otherlv_1, grammarAccess.getEmptyIntervalLiteralAccess().getEmptyKeyword_1()); + newLeafNode(otherlv_1, grammarAccess.getEmptyLiteralAccess().getEmptyKeyword_1()); } ) ; @@ -3188,15 +3535,15 @@ ruleStringLiteral returns [EObject current=null] ) ; -// Entry rule entryRuleClassDefinition -entryRuleClassDefinition returns [EObject current=null]: - { newCompositeNode(grammarAccess.getClassDefinitionRule()); } - iv_ruleClassDefinition=ruleClassDefinition - { $current=$iv_ruleClassDefinition.current; } +// Entry rule entryRuleClassDeclaration +entryRuleClassDeclaration returns [EObject current=null]: + { newCompositeNode(grammarAccess.getClassDeclarationRule()); } + iv_ruleClassDeclaration=ruleClassDeclaration + { $current=$iv_ruleClassDeclaration.current; } EOF; -// Rule ClassDefinition -ruleClassDefinition returns [EObject current=null] +// Rule ClassDeclaration +ruleClassDeclaration returns [EObject current=null] @init { enterRule(); } @@ -3206,54 +3553,100 @@ ruleClassDefinition returns [EObject current=null] ( ( ( - lv_abstract_0_0=Abstract - { - newLeafNode(lv_abstract_0_0, grammarAccess.getClassDefinitionAccess().getAbstractAbstractKeyword_0_0()); + { + getUnorderedGroupHelper().enter(grammarAccess.getClassDeclarationAccess().getUnorderedGroup_0()); } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getClassDefinitionRule()); + ( + ( + ( + {getUnorderedGroupHelper().canSelect(grammarAccess.getClassDeclarationAccess().getUnorderedGroup_0(), 0)}?=>( + { + getUnorderedGroupHelper().select(grammarAccess.getClassDeclarationAccess().getUnorderedGroup_0(), 0); } - setWithLastConsumed($current, "abstract", true, "abstract"); - } + ({true}?=>(( + lv_abstract_1_0=Abstract + { + newLeafNode(lv_abstract_1_0, grammarAccess.getClassDeclarationAccess().getAbstractAbstractKeyword_0_0_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getClassDeclarationRule()); + } + setWithLastConsumed($current, "abstract", true, "abstract"); + } + ) + )) + { + getUnorderedGroupHelper().returnFromSelection(grammarAccess.getClassDeclarationAccess().getUnorderedGroup_0()); + } + ) + )| + ( + {getUnorderedGroupHelper().canSelect(grammarAccess.getClassDeclarationAccess().getUnorderedGroup_0(), 1)}?=>( + { + getUnorderedGroupHelper().select(grammarAccess.getClassDeclarationAccess().getUnorderedGroup_0(), 1); + } + ({true}?=>(( + lv_root_2_0=Root + { + newLeafNode(lv_root_2_0, grammarAccess.getClassDeclarationAccess().getRootRootKeyword_0_1_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getClassDeclarationRule()); + } + setWithLastConsumed($current, "root", true, "root"); + } + ) + )) + { + getUnorderedGroupHelper().returnFromSelection(grammarAccess.getClassDeclarationAccess().getUnorderedGroup_0()); + } + ) ) - )? - otherlv_1=Class + )* + ) + ) + { + getUnorderedGroupHelper().leave(grammarAccess.getClassDeclarationAccess().getUnorderedGroup_0()); + } + ) + otherlv_3=Class { - newLeafNode(otherlv_1, grammarAccess.getClassDefinitionAccess().getClassKeyword_1()); + newLeafNode(otherlv_3, grammarAccess.getClassDeclarationAccess().getClassKeyword_1()); } ( ( - lv_name_2_0=RULE_ID + lv_name_4_0=RULE_ID { - newLeafNode(lv_name_2_0, grammarAccess.getClassDefinitionAccess().getNameIDTerminalRuleCall_2_0()); + newLeafNode(lv_name_4_0, grammarAccess.getClassDeclarationAccess().getNameIDTerminalRuleCall_2_0()); } { if ($current==null) { - $current = createModelElement(grammarAccess.getClassDefinitionRule()); + $current = createModelElement(grammarAccess.getClassDeclarationRule()); } setWithLastConsumed( $current, "name", - lv_name_2_0, + lv_name_4_0, "org.eclipse.xtext.common.Terminals.ID"); } ) ) ( - otherlv_3=Extends + otherlv_5=Extends { - newLeafNode(otherlv_3, grammarAccess.getClassDefinitionAccess().getExtendsKeyword_3_0()); + newLeafNode(otherlv_5, grammarAccess.getClassDeclarationAccess().getExtendsKeyword_3_0()); } ( ( { if ($current==null) { - $current = createModelElement(grammarAccess.getClassDefinitionRule()); + $current = createModelElement(grammarAccess.getClassDeclarationRule()); } } { - newCompositeNode(grammarAccess.getClassDefinitionAccess().getSuperclassesNamedElementCrossReference_3_1_0()); + newCompositeNode(grammarAccess.getClassDeclarationAccess().getSupertypesSymbolCrossReference_3_1_0()); } ruleQualifiedName { @@ -3262,19 +3655,19 @@ ruleClassDefinition returns [EObject current=null] ) ) ( - otherlv_5=Comma + otherlv_7=Comma { - newLeafNode(otherlv_5, grammarAccess.getClassDefinitionAccess().getCommaKeyword_3_2_0()); + newLeafNode(otherlv_7, grammarAccess.getClassDeclarationAccess().getCommaKeyword_3_2_0()); } ( ( { if ($current==null) { - $current = createModelElement(grammarAccess.getClassDefinitionRule()); + $current = createModelElement(grammarAccess.getClassDeclarationRule()); } } { - newCompositeNode(grammarAccess.getClassDefinitionAccess().getSuperclassesNamedElementCrossReference_3_2_1_0()); + newCompositeNode(grammarAccess.getClassDeclarationAccess().getSupertypesSymbolCrossReference_3_2_1_0()); } ruleQualifiedName { @@ -3284,45 +3677,54 @@ ruleClassDefinition returns [EObject current=null] ) )* )? - otherlv_7=LeftCurlyBracket - { - newLeafNode(otherlv_7, grammarAccess.getClassDefinitionAccess().getLeftCurlyBracketKeyword_4()); - } ( ( + otherlv_9=LeftCurlyBracket { - newCompositeNode(grammarAccess.getClassDefinitionAccess().getMembersMemberDefinitionParserRuleCall_5_0()); + newLeafNode(otherlv_9, grammarAccess.getClassDeclarationAccess().getLeftCurlyBracketKeyword_4_0_0()); } - lv_members_8_0=ruleMemberDefinition + ( + ( + { + newCompositeNode(grammarAccess.getClassDeclarationAccess().getFieldsFieldParserRuleCall_4_0_1_0()); + } + lv_fields_10_0=ruleField + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getClassDeclarationRule()); + } + add( + $current, + "fields", + lv_fields_10_0, + "org.eclipse.viatra.solver.language.SolverLanguage.Field"); + afterParserOrEnumRuleCall(); + } + ) + )* + otherlv_11=RightCurlyBracket { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getClassDefinitionRule()); - } - add( - $current, - "members", - lv_members_8_0, - "org.eclipse.viatra.solver.language.SolverLanguage.MemberDefinition"); - afterParserOrEnumRuleCall(); + newLeafNode(otherlv_11, grammarAccess.getClassDeclarationAccess().getRightCurlyBracketKeyword_4_0_2()); } ) - )* - otherlv_9=RightCurlyBracket - { - newLeafNode(otherlv_9, grammarAccess.getClassDefinitionAccess().getRightCurlyBracketKeyword_6()); - } + | + this_FULL_STOP_12=RULE_FULL_STOP + { + newLeafNode(this_FULL_STOP_12, grammarAccess.getClassDeclarationAccess().getFULL_STOPTerminalRuleCall_4_1()); + } + ) ) ; -// Entry rule entryRuleMemberDefinition -entryRuleMemberDefinition returns [EObject current=null]: - { newCompositeNode(grammarAccess.getMemberDefinitionRule()); } - iv_ruleMemberDefinition=ruleMemberDefinition - { $current=$iv_ruleMemberDefinition.current; } +// Entry rule entryRuleField +entryRuleField returns [EObject current=null]: + { newCompositeNode(grammarAccess.getFieldRule()); } + iv_ruleField=ruleField + { $current=$iv_ruleField.current; } EOF; -// Rule MemberDefinition -ruleMemberDefinition returns [EObject current=null] +// Rule Field +ruleField returns [EObject current=null] @init { enterRule(); } @@ -3332,27 +3734,44 @@ ruleMemberDefinition returns [EObject current=null] ( ( ( - lv_containment_0_0=Contains - { - newLeafNode(lv_containment_0_0, grammarAccess.getMemberDefinitionAccess().getContainmentContainsKeyword_0_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getMemberDefinitionRule()); + ( + lv_containment_0_0=Contains + { + newLeafNode(lv_containment_0_0, grammarAccess.getFieldAccess().getContainmentContainsKeyword_0_0_0()); } - setWithLastConsumed($current, "containment", true, "contains"); - } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getFieldRule()); + } + setWithLastConsumed($current, "containment", true, "contains"); + } + ) + ) + | + ( + ( + lv_crossReference_1_0=Refers + { + newLeafNode(lv_crossReference_1_0, grammarAccess.getFieldAccess().getCrossReferenceRefersKeyword_0_1_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getFieldRule()); + } + setWithLastConsumed($current, "crossReference", true, "refers"); + } + ) ) )? ( ( { if ($current==null) { - $current = createModelElement(grammarAccess.getMemberDefinitionRule()); + $current = createModelElement(grammarAccess.getFieldRule()); } } { - newCompositeNode(grammarAccess.getMemberDefinitionAccess().getTypeNamedElementCrossReference_1_0()); + newCompositeNode(grammarAccess.getFieldAccess().getTypeSymbolCrossReference_1_0()); } ruleQualifiedName { @@ -3363,17 +3782,17 @@ ruleMemberDefinition returns [EObject current=null] ( ( { - newCompositeNode(grammarAccess.getMemberDefinitionAccess().getMultiplicityMultiplicityParserRuleCall_2_0()); + newCompositeNode(grammarAccess.getFieldAccess().getMultiplicityMultiplicityParserRuleCall_2_0()); } - lv_multiplicity_2_0=ruleMultiplicity + lv_multiplicity_3_0=ruleMultiplicity { if ($current==null) { - $current = createModelElementForParent(grammarAccess.getMemberDefinitionRule()); + $current = createModelElementForParent(grammarAccess.getFieldRule()); } set( $current, "multiplicity", - lv_multiplicity_2_0, + lv_multiplicity_3_0, "org.eclipse.viatra.solver.language.SolverLanguage.Multiplicity"); afterParserOrEnumRuleCall(); } @@ -3381,36 +3800,36 @@ ruleMemberDefinition returns [EObject current=null] )? ( ( - lv_name_3_0=RULE_ID + lv_name_4_0=RULE_ID { - newLeafNode(lv_name_3_0, grammarAccess.getMemberDefinitionAccess().getNameIDTerminalRuleCall_3_0()); + newLeafNode(lv_name_4_0, grammarAccess.getFieldAccess().getNameIDTerminalRuleCall_3_0()); } { if ($current==null) { - $current = createModelElement(grammarAccess.getMemberDefinitionRule()); + $current = createModelElement(grammarAccess.getFieldRule()); } setWithLastConsumed( $current, "name", - lv_name_3_0, + lv_name_4_0, "org.eclipse.xtext.common.Terminals.ID"); } ) ) ( - otherlv_4=Opposite + otherlv_5=Opposite { - newLeafNode(otherlv_4, grammarAccess.getMemberDefinitionAccess().getOppositeKeyword_4_0()); + newLeafNode(otherlv_5, grammarAccess.getFieldAccess().getOppositeKeyword_4_0()); } ( ( { if ($current==null) { - $current = createModelElement(grammarAccess.getMemberDefinitionRule()); + $current = createModelElement(grammarAccess.getFieldRule()); } } { - newCompositeNode(grammarAccess.getMemberDefinitionAccess().getOppositeNamedElementCrossReference_4_1_0()); + newCompositeNode(grammarAccess.getFieldAccess().getOppositeSymbolCrossReference_4_1_0()); } ruleQualifiedName { @@ -3420,9 +3839,9 @@ ruleMemberDefinition returns [EObject current=null] ) )? ( - otherlv_6=Semicolon + otherlv_7=Semicolon { - newLeafNode(otherlv_6, grammarAccess.getMemberDefinitionAccess().getSemicolonKeyword_5()); + newLeafNode(otherlv_7, grammarAccess.getFieldAccess().getSemicolonKeyword_5()); } )? ) @@ -3445,11 +3864,11 @@ ruleMultiplicity returns [EObject current=null] }: ( { - newCompositeNode(grammarAccess.getMultiplicityAccess().getManyMultiplicityParserRuleCall_0()); + newCompositeNode(grammarAccess.getMultiplicityAccess().getUnboundedMultiplicityParserRuleCall_0()); } - this_ManyMultiplicity_0=ruleManyMultiplicity + this_UnboundedMultiplicity_0=ruleUnboundedMultiplicity { - $current = $this_ManyMultiplicity_0.current; + $current = $this_UnboundedMultiplicity_0.current; afterParserOrEnumRuleCall(); } | @@ -3473,15 +3892,15 @@ ruleMultiplicity returns [EObject current=null] ) ; -// Entry rule entryRuleManyMultiplicity -entryRuleManyMultiplicity returns [EObject current=null]: - { newCompositeNode(grammarAccess.getManyMultiplicityRule()); } - iv_ruleManyMultiplicity=ruleManyMultiplicity - { $current=$iv_ruleManyMultiplicity.current; } +// Entry rule entryRuleUnboundedMultiplicity +entryRuleUnboundedMultiplicity returns [EObject current=null]: + { newCompositeNode(grammarAccess.getUnboundedMultiplicityRule()); } + iv_ruleUnboundedMultiplicity=ruleUnboundedMultiplicity + { $current=$iv_ruleUnboundedMultiplicity.current; } EOF; -// Rule ManyMultiplicity -ruleManyMultiplicity returns [EObject current=null] +// Rule UnboundedMultiplicity +ruleUnboundedMultiplicity returns [EObject current=null] @init { enterRule(); } @@ -3492,17 +3911,17 @@ ruleManyMultiplicity returns [EObject current=null] ( { $current = forceCreateModelElement( - grammarAccess.getManyMultiplicityAccess().getManyMultiplicityAction_0(), + grammarAccess.getUnboundedMultiplicityAccess().getUnboundedMultiplicityAction_0(), $current); } ) otherlv_1=LeftSquareBracket { - newLeafNode(otherlv_1, grammarAccess.getManyMultiplicityAccess().getLeftSquareBracketKeyword_1()); + newLeafNode(otherlv_1, grammarAccess.getUnboundedMultiplicityAccess().getLeftSquareBracketKeyword_1()); } otherlv_2=RightSquareBracket { - newLeafNode(otherlv_2, grammarAccess.getManyMultiplicityAccess().getRightSquareBracketKeyword_2()); + newLeafNode(otherlv_2, grammarAccess.getUnboundedMultiplicityAccess().getRightSquareBracketKeyword_2()); } ) ; @@ -3530,17 +3949,17 @@ ruleExactMultiplicity returns [EObject current=null] ( ( { - newCompositeNode(grammarAccess.getExactMultiplicityAccess().getMultiplicityUpperMultiplictyParserRuleCall_1_0()); + newCompositeNode(grammarAccess.getExactMultiplicityAccess().getValueUpperMultiplictyParserRuleCall_1_0()); } - lv_multiplicity_1_0=ruleUpperMultiplicty + lv_value_1_0=ruleUpperMultiplicty { if ($current==null) { $current = createModelElementForParent(grammarAccess.getExactMultiplicityRule()); } set( $current, - "multiplicity", - lv_multiplicity_1_0, + "value", + lv_value_1_0, "org.eclipse.viatra.solver.language.SolverLanguage.UpperMultiplicty"); afterParserOrEnumRuleCall(); } @@ -3591,9 +4010,9 @@ ruleBoundedMultiplicity returns [EObject current=null] } ) ) - otherlv_2=FullStopFullStop + otherlv_2=Comma { - newLeafNode(otherlv_2, grammarAccess.getBoundedMultiplicityAccess().getFullStopFullStopKeyword_2()); + newLeafNode(otherlv_2, grammarAccess.getBoundedMultiplicityAccess().getCommaKeyword_2()); } ( ( @@ -3621,15 +4040,156 @@ ruleBoundedMultiplicity returns [EObject current=null] ) ; -// Entry rule entryRuleScopeDefinition -entryRuleScopeDefinition returns [EObject current=null]: - { newCompositeNode(grammarAccess.getScopeDefinitionRule()); } - iv_ruleScopeDefinition=ruleScopeDefinition - { $current=$iv_ruleScopeDefinition.current; } +// Entry rule entryRuleEnumDeclaration +entryRuleEnumDeclaration returns [EObject current=null]: + { newCompositeNode(grammarAccess.getEnumDeclarationRule()); } + iv_ruleEnumDeclaration=ruleEnumDeclaration + { $current=$iv_ruleEnumDeclaration.current; } + EOF; + +// Rule EnumDeclaration +ruleEnumDeclaration returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0=Enum + { + newLeafNode(otherlv_0, grammarAccess.getEnumDeclarationAccess().getEnumKeyword_0()); + } + ( + ( + lv_name_1_0=RULE_ID + { + newLeafNode(lv_name_1_0, grammarAccess.getEnumDeclarationAccess().getNameIDTerminalRuleCall_1_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getEnumDeclarationRule()); + } + setWithLastConsumed( + $current, + "name", + lv_name_1_0, + "org.eclipse.xtext.common.Terminals.ID"); + } + ) + ) + ( + ( + otherlv_2=LeftCurlyBracket + { + newLeafNode(otherlv_2, grammarAccess.getEnumDeclarationAccess().getLeftCurlyBracketKeyword_2_0_0()); + } + ( + ( + ( + { + newCompositeNode(grammarAccess.getEnumDeclarationAccess().getLiteralsEnumLiteralParserRuleCall_2_0_1_0_0()); + } + lv_literals_3_0=ruleEnumLiteral + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getEnumDeclarationRule()); + } + add( + $current, + "literals", + lv_literals_3_0, + "org.eclipse.viatra.solver.language.SolverLanguage.EnumLiteral"); + afterParserOrEnumRuleCall(); + } + ) + ) + ( + ( + otherlv_4=Comma + { + newLeafNode(otherlv_4, grammarAccess.getEnumDeclarationAccess().getCommaKeyword_2_0_1_1_0()); + } + )? + ( + ( + { + newCompositeNode(grammarAccess.getEnumDeclarationAccess().getLiteralsEnumLiteralParserRuleCall_2_0_1_1_1_0()); + } + lv_literals_5_0=ruleEnumLiteral + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getEnumDeclarationRule()); + } + add( + $current, + "literals", + lv_literals_5_0, + "org.eclipse.viatra.solver.language.SolverLanguage.EnumLiteral"); + afterParserOrEnumRuleCall(); + } + ) + ) + )* + )? + otherlv_6=RightCurlyBracket + { + newLeafNode(otherlv_6, grammarAccess.getEnumDeclarationAccess().getRightCurlyBracketKeyword_2_0_2()); + } + ) + | + this_FULL_STOP_7=RULE_FULL_STOP + { + newLeafNode(this_FULL_STOP_7, grammarAccess.getEnumDeclarationAccess().getFULL_STOPTerminalRuleCall_2_1()); + } + ) + ) +; + +// Entry rule entryRuleEnumLiteral +entryRuleEnumLiteral returns [EObject current=null]: + { newCompositeNode(grammarAccess.getEnumLiteralRule()); } + iv_ruleEnumLiteral=ruleEnumLiteral + { $current=$iv_ruleEnumLiteral.current; } + EOF; + +// Rule EnumLiteral +ruleEnumLiteral returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + lv_name_0_0=RULE_ID + { + newLeafNode(lv_name_0_0, grammarAccess.getEnumLiteralAccess().getNameIDTerminalRuleCall_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getEnumLiteralRule()); + } + setWithLastConsumed( + $current, + "name", + lv_name_0_0, + "org.eclipse.xtext.common.Terminals.ID"); + } + ) + ) +; + +// Entry rule entryRuleScopeDeclaration +entryRuleScopeDeclaration returns [EObject current=null]: + { newCompositeNode(grammarAccess.getScopeDeclarationRule()); } + iv_ruleScopeDeclaration=ruleScopeDeclaration + { $current=$iv_ruleScopeDeclaration.current; } EOF; -// Rule ScopeDefinition -ruleScopeDefinition returns [EObject current=null] +// Rule ScopeDeclaration +ruleScopeDeclaration returns [EObject current=null] @init { enterRule(); } @@ -3638,43 +4198,43 @@ ruleScopeDefinition returns [EObject current=null] }: ( { - newCompositeNode(grammarAccess.getScopeDefinitionAccess().getExactScopeDefinitionParserRuleCall_0()); + newCompositeNode(grammarAccess.getScopeDeclarationAccess().getExactScopeParserRuleCall_0()); } - this_ExactScopeDefinition_0=ruleExactScopeDefinition + this_ExactScope_0=ruleExactScope { - $current = $this_ExactScopeDefinition_0.current; + $current = $this_ExactScope_0.current; afterParserOrEnumRuleCall(); } | { - newCompositeNode(grammarAccess.getScopeDefinitionAccess().getBoundedScopeDefinitionParserRuleCall_1()); + newCompositeNode(grammarAccess.getScopeDeclarationAccess().getBoundedScopeParserRuleCall_1()); } - this_BoundedScopeDefinition_1=ruleBoundedScopeDefinition + this_BoundedScope_1=ruleBoundedScope { - $current = $this_BoundedScopeDefinition_1.current; + $current = $this_BoundedScope_1.current; afterParserOrEnumRuleCall(); } | { - newCompositeNode(grammarAccess.getScopeDefinitionAccess().getLowerBoundedScopeDefinitionParserRuleCall_2()); + newCompositeNode(grammarAccess.getScopeDeclarationAccess().getLowerBoundedScopeParserRuleCall_2()); } - this_LowerBoundedScopeDefinition_2=ruleLowerBoundedScopeDefinition + this_LowerBoundedScope_2=ruleLowerBoundedScope { - $current = $this_LowerBoundedScopeDefinition_2.current; + $current = $this_LowerBoundedScope_2.current; afterParserOrEnumRuleCall(); } ) ; -// Entry rule entryRuleExactScopeDefinition -entryRuleExactScopeDefinition returns [EObject current=null]: - { newCompositeNode(grammarAccess.getExactScopeDefinitionRule()); } - iv_ruleExactScopeDefinition=ruleExactScopeDefinition - { $current=$iv_ruleExactScopeDefinition.current; } +// Entry rule entryRuleExactScope +entryRuleExactScope returns [EObject current=null]: + { newCompositeNode(grammarAccess.getExactScopeRule()); } + iv_ruleExactScope=ruleExactScope + { $current=$iv_ruleExactScope.current; } EOF; -// Rule ExactScopeDefinition -ruleExactScopeDefinition returns [EObject current=null] +// Rule ExactScope +ruleExactScope returns [EObject current=null] @init { enterRule(); } @@ -3684,17 +4244,17 @@ ruleExactScopeDefinition returns [EObject current=null] ( otherlv_0=Scope { - newLeafNode(otherlv_0, grammarAccess.getExactScopeDefinitionAccess().getScopeKeyword_0()); + newLeafNode(otherlv_0, grammarAccess.getExactScopeAccess().getScopeKeyword_0()); } ( ( { if ($current==null) { - $current = createModelElement(grammarAccess.getExactScopeDefinitionRule()); + $current = createModelElement(grammarAccess.getExactScopeRule()); } } { - newCompositeNode(grammarAccess.getExactScopeDefinitionAccess().getTypeNamedElementCrossReference_1_0()); + newCompositeNode(grammarAccess.getExactScopeAccess().getTypeSymbolCrossReference_1_0()); } ruleQualifiedName { @@ -3704,38 +4264,42 @@ ruleExactScopeDefinition returns [EObject current=null] ) otherlv_2=EqualsSignEqualsSign { - newLeafNode(otherlv_2, grammarAccess.getExactScopeDefinitionAccess().getEqualsSignEqualsSignKeyword_2()); + newLeafNode(otherlv_2, grammarAccess.getExactScopeAccess().getEqualsSignEqualsSignKeyword_2()); } ( ( - lv_exactScope_3_0=RULE_INT + lv_size_3_0=RULE_INT { - newLeafNode(lv_exactScope_3_0, grammarAccess.getExactScopeDefinitionAccess().getExactScopeINTTerminalRuleCall_3_0()); + newLeafNode(lv_size_3_0, grammarAccess.getExactScopeAccess().getSizeINTTerminalRuleCall_3_0()); } { if ($current==null) { - $current = createModelElement(grammarAccess.getExactScopeDefinitionRule()); + $current = createModelElement(grammarAccess.getExactScopeRule()); } setWithLastConsumed( $current, - "exactScope", - lv_exactScope_3_0, + "size", + lv_size_3_0, "org.eclipse.xtext.common.Terminals.INT"); } ) ) + this_FULL_STOP_4=RULE_FULL_STOP + { + newLeafNode(this_FULL_STOP_4, grammarAccess.getExactScopeAccess().getFULL_STOPTerminalRuleCall_4()); + } ) ; -// Entry rule entryRuleBoundedScopeDefinition -entryRuleBoundedScopeDefinition returns [EObject current=null]: - { newCompositeNode(grammarAccess.getBoundedScopeDefinitionRule()); } - iv_ruleBoundedScopeDefinition=ruleBoundedScopeDefinition - { $current=$iv_ruleBoundedScopeDefinition.current; } +// Entry rule entryRuleBoundedScope +entryRuleBoundedScope returns [EObject current=null]: + { newCompositeNode(grammarAccess.getBoundedScopeRule()); } + iv_ruleBoundedScope=ruleBoundedScope + { $current=$iv_ruleBoundedScope.current; } EOF; -// Rule BoundedScopeDefinition -ruleBoundedScopeDefinition returns [EObject current=null] +// Rule BoundedScope +ruleBoundedScope returns [EObject current=null] @init { enterRule(); } @@ -3745,7 +4309,7 @@ ruleBoundedScopeDefinition returns [EObject current=null] ( otherlv_0=Scope { - newLeafNode(otherlv_0, grammarAccess.getBoundedScopeDefinitionAccess().getScopeKeyword_0()); + newLeafNode(otherlv_0, grammarAccess.getBoundedScopeAccess().getScopeKeyword_0()); } ( ( @@ -3754,11 +4318,11 @@ ruleBoundedScopeDefinition returns [EObject current=null] ( lv_lowerBound_1_0=RULE_INT { - newLeafNode(lv_lowerBound_1_0, grammarAccess.getBoundedScopeDefinitionAccess().getLowerBoundINTTerminalRuleCall_1_0_0_0_0()); + newLeafNode(lv_lowerBound_1_0, grammarAccess.getBoundedScopeAccess().getLowerBoundINTTerminalRuleCall_1_0_0_0_0()); } { if ($current==null) { - $current = createModelElement(grammarAccess.getBoundedScopeDefinitionRule()); + $current = createModelElement(grammarAccess.getBoundedScopeRule()); } setWithLastConsumed( $current, @@ -3770,18 +4334,18 @@ ruleBoundedScopeDefinition returns [EObject current=null] ) otherlv_2=LessThanSignEqualsSign { - newLeafNode(otherlv_2, grammarAccess.getBoundedScopeDefinitionAccess().getLessThanSignEqualsSignKeyword_1_0_0_1()); + newLeafNode(otherlv_2, grammarAccess.getBoundedScopeAccess().getLessThanSignEqualsSignKeyword_1_0_0_1()); } )? ( ( { if ($current==null) { - $current = createModelElement(grammarAccess.getBoundedScopeDefinitionRule()); + $current = createModelElement(grammarAccess.getBoundedScopeRule()); } } { - newCompositeNode(grammarAccess.getBoundedScopeDefinitionAccess().getTypeNamedElementCrossReference_1_0_1_0()); + newCompositeNode(grammarAccess.getBoundedScopeAccess().getTypeSymbolCrossReference_1_0_1_0()); } ruleQualifiedName { @@ -3791,17 +4355,17 @@ ruleBoundedScopeDefinition returns [EObject current=null] ) otherlv_4=LessThanSignEqualsSign { - newLeafNode(otherlv_4, grammarAccess.getBoundedScopeDefinitionAccess().getLessThanSignEqualsSignKeyword_1_0_2()); + newLeafNode(otherlv_4, grammarAccess.getBoundedScopeAccess().getLessThanSignEqualsSignKeyword_1_0_2()); } ( ( lv_upperBound_5_0=RULE_INT { - newLeafNode(lv_upperBound_5_0, grammarAccess.getBoundedScopeDefinitionAccess().getUpperBoundINTTerminalRuleCall_1_0_3_0()); + newLeafNode(lv_upperBound_5_0, grammarAccess.getBoundedScopeAccess().getUpperBoundINTTerminalRuleCall_1_0_3_0()); } { if ($current==null) { - $current = createModelElement(grammarAccess.getBoundedScopeDefinitionRule()); + $current = createModelElement(grammarAccess.getBoundedScopeRule()); } setWithLastConsumed( $current, @@ -3818,11 +4382,11 @@ ruleBoundedScopeDefinition returns [EObject current=null] ( lv_upperBound_6_0=RULE_INT { - newLeafNode(lv_upperBound_6_0, grammarAccess.getBoundedScopeDefinitionAccess().getUpperBoundINTTerminalRuleCall_1_1_0_0()); + newLeafNode(lv_upperBound_6_0, grammarAccess.getBoundedScopeAccess().getUpperBoundINTTerminalRuleCall_1_1_0_0()); } { if ($current==null) { - $current = createModelElement(grammarAccess.getBoundedScopeDefinitionRule()); + $current = createModelElement(grammarAccess.getBoundedScopeRule()); } setWithLastConsumed( $current, @@ -3834,17 +4398,17 @@ ruleBoundedScopeDefinition returns [EObject current=null] ) otherlv_7=GreaterThanSignEqualsSign { - newLeafNode(otherlv_7, grammarAccess.getBoundedScopeDefinitionAccess().getGreaterThanSignEqualsSignKeyword_1_1_1()); + newLeafNode(otherlv_7, grammarAccess.getBoundedScopeAccess().getGreaterThanSignEqualsSignKeyword_1_1_1()); } ( ( { if ($current==null) { - $current = createModelElement(grammarAccess.getBoundedScopeDefinitionRule()); + $current = createModelElement(grammarAccess.getBoundedScopeRule()); } } { - newCompositeNode(grammarAccess.getBoundedScopeDefinitionAccess().getTypeNamedElementCrossReference_1_1_2_0()); + newCompositeNode(grammarAccess.getBoundedScopeAccess().getTypeSymbolCrossReference_1_1_2_0()); } ruleQualifiedName { @@ -3855,17 +4419,17 @@ ruleBoundedScopeDefinition returns [EObject current=null] ( otherlv_9=GreaterThanSignEqualsSign { - newLeafNode(otherlv_9, grammarAccess.getBoundedScopeDefinitionAccess().getGreaterThanSignEqualsSignKeyword_1_1_3_0()); + newLeafNode(otherlv_9, grammarAccess.getBoundedScopeAccess().getGreaterThanSignEqualsSignKeyword_1_1_3_0()); } ( ( lv_lowerBound_10_0=RULE_INT { - newLeafNode(lv_lowerBound_10_0, grammarAccess.getBoundedScopeDefinitionAccess().getLowerBoundINTTerminalRuleCall_1_1_3_1_0()); + newLeafNode(lv_lowerBound_10_0, grammarAccess.getBoundedScopeAccess().getLowerBoundINTTerminalRuleCall_1_1_3_1_0()); } { if ($current==null) { - $current = createModelElement(grammarAccess.getBoundedScopeDefinitionRule()); + $current = createModelElement(grammarAccess.getBoundedScopeRule()); } setWithLastConsumed( $current, @@ -3878,18 +4442,22 @@ ruleBoundedScopeDefinition returns [EObject current=null] )? ) ) + this_FULL_STOP_11=RULE_FULL_STOP + { + newLeafNode(this_FULL_STOP_11, grammarAccess.getBoundedScopeAccess().getFULL_STOPTerminalRuleCall_2()); + } ) ; -// Entry rule entryRuleLowerBoundedScopeDefinition -entryRuleLowerBoundedScopeDefinition returns [EObject current=null]: - { newCompositeNode(grammarAccess.getLowerBoundedScopeDefinitionRule()); } - iv_ruleLowerBoundedScopeDefinition=ruleLowerBoundedScopeDefinition - { $current=$iv_ruleLowerBoundedScopeDefinition.current; } +// Entry rule entryRuleLowerBoundedScope +entryRuleLowerBoundedScope returns [EObject current=null]: + { newCompositeNode(grammarAccess.getLowerBoundedScopeRule()); } + iv_ruleLowerBoundedScope=ruleLowerBoundedScope + { $current=$iv_ruleLowerBoundedScope.current; } EOF; -// Rule LowerBoundedScopeDefinition -ruleLowerBoundedScopeDefinition returns [EObject current=null] +// Rule LowerBoundedScope +ruleLowerBoundedScope returns [EObject current=null] @init { enterRule(); } @@ -3899,7 +4467,7 @@ ruleLowerBoundedScopeDefinition returns [EObject current=null] ( otherlv_0=Scope { - newLeafNode(otherlv_0, grammarAccess.getLowerBoundedScopeDefinitionAccess().getScopeKeyword_0()); + newLeafNode(otherlv_0, grammarAccess.getLowerBoundedScopeAccess().getScopeKeyword_0()); } ( ( @@ -3907,11 +4475,11 @@ ruleLowerBoundedScopeDefinition returns [EObject current=null] ( lv_lowerBound_1_0=RULE_INT { - newLeafNode(lv_lowerBound_1_0, grammarAccess.getLowerBoundedScopeDefinitionAccess().getLowerBoundINTTerminalRuleCall_1_0_0_0()); + newLeafNode(lv_lowerBound_1_0, grammarAccess.getLowerBoundedScopeAccess().getLowerBoundINTTerminalRuleCall_1_0_0_0()); } { if ($current==null) { - $current = createModelElement(grammarAccess.getLowerBoundedScopeDefinitionRule()); + $current = createModelElement(grammarAccess.getLowerBoundedScopeRule()); } setWithLastConsumed( $current, @@ -3923,17 +4491,17 @@ ruleLowerBoundedScopeDefinition returns [EObject current=null] ) otherlv_2=LessThanSignEqualsSign { - newLeafNode(otherlv_2, grammarAccess.getLowerBoundedScopeDefinitionAccess().getLessThanSignEqualsSignKeyword_1_0_1()); + newLeafNode(otherlv_2, grammarAccess.getLowerBoundedScopeAccess().getLessThanSignEqualsSignKeyword_1_0_1()); } ( ( { if ($current==null) { - $current = createModelElement(grammarAccess.getLowerBoundedScopeDefinitionRule()); + $current = createModelElement(grammarAccess.getLowerBoundedScopeRule()); } } { - newCompositeNode(grammarAccess.getLowerBoundedScopeDefinitionAccess().getTypeNamedElementCrossReference_1_0_2_0()); + newCompositeNode(grammarAccess.getLowerBoundedScopeAccess().getTypeSymbolCrossReference_1_0_2_0()); } ruleQualifiedName { @@ -3948,11 +4516,11 @@ ruleLowerBoundedScopeDefinition returns [EObject current=null] ( { if ($current==null) { - $current = createModelElement(grammarAccess.getLowerBoundedScopeDefinitionRule()); + $current = createModelElement(grammarAccess.getLowerBoundedScopeRule()); } } { - newCompositeNode(grammarAccess.getLowerBoundedScopeDefinitionAccess().getTypeNamedElementCrossReference_1_1_0_0()); + newCompositeNode(grammarAccess.getLowerBoundedScopeAccess().getTypeSymbolCrossReference_1_1_0_0()); } ruleQualifiedName { @@ -3962,17 +4530,17 @@ ruleLowerBoundedScopeDefinition returns [EObject current=null] ) otherlv_5=GreaterThanSignEqualsSign { - newLeafNode(otherlv_5, grammarAccess.getLowerBoundedScopeDefinitionAccess().getGreaterThanSignEqualsSignKeyword_1_1_1()); + newLeafNode(otherlv_5, grammarAccess.getLowerBoundedScopeAccess().getGreaterThanSignEqualsSignKeyword_1_1_1()); } ( ( lv_lowerBound_6_0=RULE_INT { - newLeafNode(lv_lowerBound_6_0, grammarAccess.getLowerBoundedScopeDefinitionAccess().getLowerBoundINTTerminalRuleCall_1_1_2_0()); + newLeafNode(lv_lowerBound_6_0, grammarAccess.getLowerBoundedScopeAccess().getLowerBoundINTTerminalRuleCall_1_1_2_0()); } { if ($current==null) { - $current = createModelElement(grammarAccess.getLowerBoundedScopeDefinitionRule()); + $current = createModelElement(grammarAccess.getLowerBoundedScopeRule()); } setWithLastConsumed( $current, @@ -3984,18 +4552,22 @@ ruleLowerBoundedScopeDefinition returns [EObject current=null] ) ) ) + this_FULL_STOP_7=RULE_FULL_STOP + { + newLeafNode(this_FULL_STOP_7, grammarAccess.getLowerBoundedScopeAccess().getFULL_STOPTerminalRuleCall_2()); + } ) ; -// Entry rule entryRuleObjectiveDefinition -entryRuleObjectiveDefinition returns [EObject current=null]: - { newCompositeNode(grammarAccess.getObjectiveDefinitionRule()); } - iv_ruleObjectiveDefinition=ruleObjectiveDefinition - { $current=$iv_ruleObjectiveDefinition.current; } +// Entry rule entryRuleObjectiveDeclaration +entryRuleObjectiveDeclaration returns [EObject current=null]: + { newCompositeNode(grammarAccess.getObjectiveDeclarationRule()); } + iv_ruleObjectiveDeclaration=ruleObjectiveDeclaration + { $current=$iv_ruleObjectiveDeclaration.current; } EOF; -// Rule ObjectiveDefinition -ruleObjectiveDefinition returns [EObject current=null] +// Rule ObjectiveDeclaration +ruleObjectiveDeclaration returns [EObject current=null] @init { enterRule(); } @@ -4006,12 +4578,12 @@ ruleObjectiveDefinition returns [EObject current=null] ( ( { - newCompositeNode(grammarAccess.getObjectiveDefinitionAccess().getKindObjectiveKindEnumRuleCall_0_0()); + newCompositeNode(grammarAccess.getObjectiveDeclarationAccess().getKindObjectiveKindEnumRuleCall_0_0()); } lv_kind_0_0=ruleObjectiveKind { if ($current==null) { - $current = createModelElementForParent(grammarAccess.getObjectiveDefinitionRule()); + $current = createModelElementForParent(grammarAccess.getObjectiveDeclarationRule()); } set( $current, @@ -4025,12 +4597,12 @@ ruleObjectiveDefinition returns [EObject current=null] ( ( { - newCompositeNode(grammarAccess.getObjectiveDefinitionAccess().getObjectiveExpressionParserRuleCall_1_0()); + newCompositeNode(grammarAccess.getObjectiveDeclarationAccess().getObjectiveExpressionParserRuleCall_1_0()); } lv_objective_1_0=ruleExpression { if ($current==null) { - $current = createModelElementForParent(grammarAccess.getObjectiveDefinitionRule()); + $current = createModelElementForParent(grammarAccess.getObjectiveDeclarationRule()); } set( $current, @@ -4041,6 +4613,10 @@ ruleObjectiveDefinition returns [EObject current=null] } ) ) + this_FULL_STOP_2=RULE_FULL_STOP + { + newLeafNode(this_FULL_STOP_2, grammarAccess.getObjectiveDeclarationAccess().getFULL_STOPTerminalRuleCall_2()); + } ) ; @@ -4105,26 +4681,64 @@ ruleReal returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] { newLeafNode(this_INT_0, grammarAccess.getRealAccess().getINTTerminalRuleCall_0()); } - ( - kw=FullStop - { - $current.merge(kw); - newLeafNode(kw, grammarAccess.getRealAccess().getFullStopKeyword_1_0()); - } - this_INT_2=RULE_INT - { - $current.merge(this_INT_2); - } - { - newLeafNode(this_INT_2, grammarAccess.getRealAccess().getINTTerminalRuleCall_1_1()); - } - )? + kw=FullStop + { + $current.merge(kw); + newLeafNode(kw, grammarAccess.getRealAccess().getFullStopKeyword_1()); + } + this_INT_2=RULE_INT + { + $current.merge(this_INT_2); + } + { + newLeafNode(this_INT_2, grammarAccess.getRealAccess().getINTTerminalRuleCall_2()); + } ) ; finally { myHiddenTokenState.restore(); } +// Entry rule entryRuleQualifiedNameSegment +entryRuleQualifiedNameSegment returns [String current=null]: + { newCompositeNode(grammarAccess.getQualifiedNameSegmentRule()); } + iv_ruleQualifiedNameSegment=ruleQualifiedNameSegment + { $current=$iv_ruleQualifiedNameSegment.current.getText(); } + EOF; + +// Rule QualifiedNameSegment +ruleQualifiedNameSegment returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + this_ID_0=RULE_ID + { + $current.merge(this_ID_0); + } + { + newLeafNode(this_ID_0, grammarAccess.getQualifiedNameSegmentAccess().getIDTerminalRuleCall_0()); + } + | + this_QUOTED_ID_1=RULE_QUOTED_ID + { + $current.merge(this_QUOTED_ID_1); + } + { + newLeafNode(this_QUOTED_ID_1, grammarAccess.getQualifiedNameSegmentAccess().getQUOTED_IDTerminalRuleCall_1()); + } + | + kw=Object + { + $current.merge(kw); + newLeafNode(kw, grammarAccess.getQualifiedNameSegmentAccess().getObjectKeyword_2()); + } + ) +; + // Entry rule entryRuleQualifiedName entryRuleQualifiedName returns [String current=null]@init { HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens(); @@ -4147,45 +4761,41 @@ ruleQualifiedName returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleT leaveRule(); }: ( + { + newCompositeNode(grammarAccess.getQualifiedNameAccess().getQualifiedNameSegmentParserRuleCall_0()); + } + this_QualifiedNameSegment_0=ruleQualifiedNameSegment + { + $current.merge(this_QualifiedNameSegment_0); + } + { + afterParserOrEnumRuleCall(); + } ( - this_ID_0=RULE_ID + kw=ColonColon { - $current.merge(this_ID_0); + $current.merge(kw); + newLeafNode(kw, grammarAccess.getQualifiedNameAccess().getColonColonKeyword_1_0()); } { - newLeafNode(this_ID_0, grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_0_0()); + newCompositeNode(grammarAccess.getQualifiedNameAccess().getQualifiedNameSegmentParserRuleCall_1_1()); } - ( - kw=FullStop - { - $current.merge(kw); - newLeafNode(kw, grammarAccess.getQualifiedNameAccess().getFullStopKeyword_0_1_0()); - } - this_ID_2=RULE_ID - { - $current.merge(this_ID_2); - } - { - newLeafNode(this_ID_2, grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_0_1_1()); - } - )* - ) - | - this_QUOTED_ID_3=RULE_QUOTED_ID - { - $current.merge(this_QUOTED_ID_3); - } - { - newLeafNode(this_QUOTED_ID_3, grammarAccess.getQualifiedNameAccess().getQUOTED_IDTerminalRuleCall_1()); - } + this_QualifiedNameSegment_2=ruleQualifiedNameSegment + { + $current.merge(this_QualifiedNameSegment_2); + } + { + afterParserOrEnumRuleCall(); + } + )* ) ; finally { myHiddenTokenState.restore(); } -// Rule ImplicationOperator -ruleImplicationOperator returns [Enumerator current=null] +// Rule AttributeKind +ruleAttributeKind returns [Enumerator current=null] @init { enterRule(); } @@ -4193,11 +4803,37 @@ ruleImplicationOperator returns [Enumerator current=null] leaveRule(); }: ( - enumLiteral_0=EqualsSignGreaterThanSign - { - $current = grammarAccess.getImplicationOperatorAccess().getIMPLIESEnumLiteralDeclaration().getEnumLiteral().getInstance(); - newLeafNode(enumLiteral_0, grammarAccess.getImplicationOperatorAccess().getIMPLIESEnumLiteralDeclaration()); - } + ( + enumLiteral_0=Functional + { + $current = grammarAccess.getAttributeKindAccess().getFUNCTIONALEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_0, grammarAccess.getAttributeKindAccess().getFUNCTIONALEnumLiteralDeclaration_0()); + } + ) + | + ( + enumLiteral_1=Error + { + $current = grammarAccess.getAttributeKindAccess().getERROREnumLiteralDeclaration_1().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_1, grammarAccess.getAttributeKindAccess().getERROREnumLiteralDeclaration_1()); + } + ) + | + ( + enumLiteral_2=Root + { + $current = grammarAccess.getAttributeKindAccess().getROOTEnumLiteralDeclaration_2().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_2, grammarAccess.getAttributeKindAccess().getROOTEnumLiteralDeclaration_2()); + } + ) + | + ( + enumLiteral_3=Containment + { + $current = grammarAccess.getAttributeKindAccess().getCONTAINMENTEnumLiteralDeclaration_3().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_3, grammarAccess.getAttributeKindAccess().getCONTAINMENTEnumLiteralDeclaration_3()); + } + ) ) ; @@ -4213,16 +4849,16 @@ ruleComparisonOperator returns [Enumerator current=null] ( enumLiteral_0=EqualsSignEqualsSign { - $current = grammarAccess.getComparisonOperatorAccess().getEQEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); - newLeafNode(enumLiteral_0, grammarAccess.getComparisonOperatorAccess().getEQEnumLiteralDeclaration_0()); + $current = grammarAccess.getComparisonOperatorAccess().getEQUALSEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_0, grammarAccess.getComparisonOperatorAccess().getEQUALSEnumLiteralDeclaration_0()); } ) | ( enumLiteral_1=ExclamationMarkEqualsSign { - $current = grammarAccess.getComparisonOperatorAccess().getNOT_EQEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); - newLeafNode(enumLiteral_1, grammarAccess.getComparisonOperatorAccess().getNOT_EQEnumLiteralDeclaration_1()); + $current = grammarAccess.getComparisonOperatorAccess().getNOT_EQUALSEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_1, grammarAccess.getComparisonOperatorAccess().getNOT_EQUALSEnumLiteralDeclaration_1()); } ) | @@ -4237,8 +4873,8 @@ ruleComparisonOperator returns [Enumerator current=null] ( enumLiteral_3=LessThanSignEqualsSign { - $current = grammarAccess.getComparisonOperatorAccess().getLESS_EQEnumLiteralDeclaration_3().getEnumLiteral().getInstance(); - newLeafNode(enumLiteral_3, grammarAccess.getComparisonOperatorAccess().getLESS_EQEnumLiteralDeclaration_3()); + $current = grammarAccess.getComparisonOperatorAccess().getLESS_EQUALSEnumLiteralDeclaration_3().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_3, grammarAccess.getComparisonOperatorAccess().getLESS_EQUALSEnumLiteralDeclaration_3()); } ) | @@ -4253,8 +4889,8 @@ ruleComparisonOperator returns [Enumerator current=null] ( enumLiteral_5=GreaterThanSignEqualsSign { - $current = grammarAccess.getComparisonOperatorAccess().getGREATER_EQEnumLiteralDeclaration_5().getEnumLiteral().getInstance(); - newLeafNode(enumLiteral_5, grammarAccess.getComparisonOperatorAccess().getGREATER_EQEnumLiteralDeclaration_5()); + $current = grammarAccess.getComparisonOperatorAccess().getGREATER_EQUALSEnumLiteralDeclaration_5().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_5, grammarAccess.getComparisonOperatorAccess().getGREATER_EQUALSEnumLiteralDeclaration_5()); } ) | @@ -4280,16 +4916,16 @@ ruleAdditiveBinaryOperator returns [Enumerator current=null] ( enumLiteral_0=PlusSign { - $current = grammarAccess.getAdditiveBinaryOperatorAccess().getADDEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); - newLeafNode(enumLiteral_0, grammarAccess.getAdditiveBinaryOperatorAccess().getADDEnumLiteralDeclaration_0()); + $current = grammarAccess.getAdditiveBinaryOperatorAccess().getPLUSEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_0, grammarAccess.getAdditiveBinaryOperatorAccess().getPLUSEnumLiteralDeclaration_0()); } ) | ( enumLiteral_1=HyphenMinus { - $current = grammarAccess.getAdditiveBinaryOperatorAccess().getSUBEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); - newLeafNode(enumLiteral_1, grammarAccess.getAdditiveBinaryOperatorAccess().getSUBEnumLiteralDeclaration_1()); + $current = grammarAccess.getAdditiveBinaryOperatorAccess().getMINUSEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_1, grammarAccess.getAdditiveBinaryOperatorAccess().getMINUSEnumLiteralDeclaration_1()); } ) ) @@ -4307,16 +4943,16 @@ ruleMultiplicativeBinaryOperator returns [Enumerator current=null] ( enumLiteral_0=Asterisk { - $current = grammarAccess.getMultiplicativeBinaryOperatorAccess().getMULEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); - newLeafNode(enumLiteral_0, grammarAccess.getMultiplicativeBinaryOperatorAccess().getMULEnumLiteralDeclaration_0()); + $current = grammarAccess.getMultiplicativeBinaryOperatorAccess().getMULTIPLYEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_0, grammarAccess.getMultiplicativeBinaryOperatorAccess().getMULTIPLYEnumLiteralDeclaration_0()); } ) | ( enumLiteral_1=Solidus { - $current = grammarAccess.getMultiplicativeBinaryOperatorAccess().getDIVEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); - newLeafNode(enumLiteral_1, grammarAccess.getMultiplicativeBinaryOperatorAccess().getDIVEnumLiteralDeclaration_1()); + $current = grammarAccess.getMultiplicativeBinaryOperatorAccess().getDIVIDEEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_1, grammarAccess.getMultiplicativeBinaryOperatorAccess().getDIVIDEEnumLiteralDeclaration_1()); } ) ) @@ -4339,8 +4975,8 @@ ruleExponentialOp returns [Enumerator current=null] ) ; -// Rule UnaryOp -ruleUnaryOp returns [Enumerator current=null] +// Rule UnaryOperator +ruleUnaryOperator returns [Enumerator current=null] @init { enterRule(); } @@ -4351,83 +4987,32 @@ ruleUnaryOp returns [Enumerator current=null] ( enumLiteral_0=ExclamationMark { - $current = grammarAccess.getUnaryOpAccess().getNEGEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); - newLeafNode(enumLiteral_0, grammarAccess.getUnaryOpAccess().getNEGEnumLiteralDeclaration_0()); + $current = grammarAccess.getUnaryOperatorAccess().getNOTEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_0, grammarAccess.getUnaryOperatorAccess().getNOTEnumLiteralDeclaration_0()); } ) | ( enumLiteral_1=PlusSign { - $current = grammarAccess.getUnaryOpAccess().getPLUSEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); - newLeafNode(enumLiteral_1, grammarAccess.getUnaryOpAccess().getPLUSEnumLiteralDeclaration_1()); + $current = grammarAccess.getUnaryOperatorAccess().getPLUSEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_1, grammarAccess.getUnaryOperatorAccess().getPLUSEnumLiteralDeclaration_1()); } ) | ( enumLiteral_2=HyphenMinus { - $current = grammarAccess.getUnaryOpAccess().getMINUSEnumLiteralDeclaration_2().getEnumLiteral().getInstance(); - newLeafNode(enumLiteral_2, grammarAccess.getUnaryOpAccess().getMINUSEnumLiteralDeclaration_2()); - } - ) - | - ( - enumLiteral_3=May - { - $current = grammarAccess.getUnaryOpAccess().getMAYEnumLiteralDeclaration_3().getEnumLiteral().getInstance(); - newLeafNode(enumLiteral_3, grammarAccess.getUnaryOpAccess().getMAYEnumLiteralDeclaration_3()); - } - ) - | - ( - enumLiteral_4=Must - { - $current = grammarAccess.getUnaryOpAccess().getMUSTEnumLiteralDeclaration_4().getEnumLiteral().getInstance(); - newLeafNode(enumLiteral_4, grammarAccess.getUnaryOpAccess().getMUSTEnumLiteralDeclaration_4()); - } - ) - | - ( - enumLiteral_5=Current - { - $current = grammarAccess.getUnaryOpAccess().getCURRENTEnumLiteralDeclaration_5().getEnumLiteral().getInstance(); - newLeafNode(enumLiteral_5, grammarAccess.getUnaryOpAccess().getCURRENTEnumLiteralDeclaration_5()); - } - ) - ) -; - -// Rule Quantifier -ruleQuantifier returns [Enumerator current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - ( - enumLiteral_0=Exists - { - $current = grammarAccess.getQuantifierAccess().getEXISTSEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); - newLeafNode(enumLiteral_0, grammarAccess.getQuantifierAccess().getEXISTSEnumLiteralDeclaration_0()); - } - ) - | - ( - enumLiteral_1=Forall - { - $current = grammarAccess.getQuantifierAccess().getFORALLEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); - newLeafNode(enumLiteral_1, grammarAccess.getQuantifierAccess().getFORALLEnumLiteralDeclaration_1()); + $current = grammarAccess.getUnaryOperatorAccess().getMINUSEnumLiteralDeclaration_2().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_2, grammarAccess.getUnaryOperatorAccess().getMINUSEnumLiteralDeclaration_2()); } ) | ( - enumLiteral_2=Count + enumLiteral_3=QuestionMark { - $current = grammarAccess.getQuantifierAccess().getCOUNTEnumLiteralDeclaration_2().getEnumLiteral().getInstance(); - newLeafNode(enumLiteral_2, grammarAccess.getQuantifierAccess().getCOUNTEnumLiteralDeclaration_2()); + $current = grammarAccess.getUnaryOperatorAccess().getMAYBEEnumLiteralDeclaration_3().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_3, grammarAccess.getUnaryOperatorAccess().getMAYBEEnumLiteralDeclaration_3()); } ) ) @@ -4488,16 +5073,16 @@ ruleObjectiveKind returns [Enumerator current=null] ( enumLiteral_0=Minimize { - $current = grammarAccess.getObjectiveKindAccess().getMINIMIZEEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); - newLeafNode(enumLiteral_0, grammarAccess.getObjectiveKindAccess().getMINIMIZEEnumLiteralDeclaration_0()); + $current = grammarAccess.getObjectiveKindAccess().getMINIMIZATIONEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_0, grammarAccess.getObjectiveKindAccess().getMINIMIZATIONEnumLiteralDeclaration_0()); } ) | ( enumLiteral_1=Maximize { - $current = grammarAccess.getObjectiveKindAccess().getMAXIMIZEEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); - newLeafNode(enumLiteral_1, grammarAccess.getObjectiveKindAccess().getMAXIMIZEEnumLiteralDeclaration_1()); + $current = grammarAccess.getObjectiveKindAccess().getMAXIMIZATIONEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_1, grammarAccess.getObjectiveKindAccess().getMAXIMIZATIONEnumLiteralDeclaration_1()); } ) ) diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/parser/antlr/internal/InternalSolverLanguageParser.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/parser/antlr/internal/InternalSolverLanguageParser.java index 3e25746c..37223f5c 100644 --- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/parser/antlr/internal/InternalSolverLanguageParser.java +++ b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/parser/antlr/internal/InternalSolverLanguageParser.java @@ -22,79 +22,84 @@ import java.util.ArrayList; @SuppressWarnings("all") public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { public static final String[] tokenNames = new String[] { - "", "", "", "", "Functional", "Abstract", "Contains", "Datatype", "Maximize", "Minimize", "Opposite", "Current", "Default", "Extends", "Unknown", "Exists", "Extern", "Forall", "Class", "Count", "Empty", "Error", "False", "Scope", "Else", "Must", "Then", "True", "FullStopFullStopFullStop", "Inf", "Let", "May", "ExclamationMarkEqualsSign", "HyphenMinusGreaterThanSign", "FullStopFullStop", "ColonHyphenMinus", "LessThanSignEqualsSign", "EqualsSignEqualsSign", "EqualsSignGreaterThanSign", "GreaterThanSignEqualsSign", "As", "If", "In", "ExclamationMark", "LeftParenthesis", "RightParenthesis", "Asterisk", "PlusSign", "Comma", "HyphenMinus", "FullStop", "Solidus", "Colon", "Semicolon", "LessThanSign", "EqualsSign", "GreaterThanSign", "LeftSquareBracket", "RightSquareBracket", "CircumflexAccent", "LeftCurlyBracket", "VerticalLine", "RightCurlyBracket", "RULE_STRING", "RULE_QUOTED_ID", "RULE_SL_COMMENT", "RULE_TRANSITIVE_CLOSURE", "RULE_REFLEXIVE_TRANSITIVE_CLOSURE", "RULE_FULL_STOP", "RULE_ID", "RULE_INT", "RULE_ML_COMMENT", "RULE_WS", "RULE_ANY_OTHER" + "", "", "", "", "Containment", "Functional", "Abstract", "Contains", "Datatype", "Maximize", "Minimize", "Opposite", "Default", "Extends", "Problem", "Unknown", "Extern", "Import", "Object", "Refers", "Class", "Count", "Empty", "Error", "False", "Scope", "Else", "Enum", "Root", "Then", "True", "FullStopFullStopFullStop", "Inf", "Let", "ExclamationMarkEqualsSign", "HyphenMinusGreaterThanSign", "ColonHyphenMinus", "ColonColon", "ColonEqualsSign", "LessThanSignEqualsSign", "EqualsSignEqualsSign", "EqualsSignGreaterThanSign", "GreaterThanSignEqualsSign", "As", "If", "In", "ExclamationMark", "LeftParenthesis", "RightParenthesis", "Asterisk", "PlusSign", "Comma", "HyphenMinus", "FullStop", "Solidus", "Colon", "Semicolon", "LessThanSign", "EqualsSign", "GreaterThanSign", "QuestionMark", "LeftSquareBracket", "RightSquareBracket", "CircumflexAccent", "LeftCurlyBracket", "VerticalLine", "RightCurlyBracket", "Tilde", "RULE_STRING", "RULE_QUOTED_ID", "RULE_SL_COMMENT", "RULE_TRANSITIVE_CLOSURE", "RULE_REFLEXIVE_TRANSITIVE_CLOSURE", "RULE_FULL_STOP", "RULE_ID", "RULE_INT", "RULE_ML_COMMENT", "RULE_WS", "RULE_ANY_OTHER" }; - public static final int EqualsSignGreaterThanSign=38; - public static final int True=27; - public static final int Count=19; - public static final int False=22; - public static final int Must=25; - public static final int FullStopFullStopFullStop=28; - public static final int LessThanSign=54; - public static final int Datatype=7; - public static final int LeftParenthesis=44; - public static final int Unknown=14; - public static final int RULE_REFLEXIVE_TRANSITIVE_CLOSURE=67; - public static final int FullStopFullStop=34; - public static final int Then=26; + public static final int Enum=27; + public static final int Import=17; + public static final int EqualsSignGreaterThanSign=41; + public static final int True=30; + public static final int Count=21; + public static final int False=24; + public static final int FullStopFullStopFullStop=31; + public static final int LessThanSign=57; + public static final int Datatype=8; + public static final int LeftParenthesis=47; + public static final int Unknown=15; + public static final int RULE_REFLEXIVE_TRANSITIVE_CLOSURE=72; + public static final int Then=29; public static final int Extends=13; - public static final int Forall=17; - public static final int RightSquareBracket=58; - public static final int ExclamationMark=43; - public static final int Opposite=10; - public static final int GreaterThanSign=56; - public static final int RULE_ID=69; - public static final int RULE_QUOTED_ID=64; - public static final int RightParenthesis=45; - public static final int GreaterThanSignEqualsSign=39; - public static final int Functional=4; - public static final int EqualsSignEqualsSign=37; - public static final int VerticalLine=61; - public static final int PlusSign=47; - public static final int RULE_INT=70; - public static final int Contains=6; - public static final int RULE_ML_COMMENT=71; - public static final int RULE_TRANSITIVE_CLOSURE=66; - public static final int Class=18; - public static final int LeftSquareBracket=57; - public static final int RULE_FULL_STOP=68; - public static final int Current=11; - public static final int If=41; - public static final int Inf=29; - public static final int May=31; - public static final int In=42; - public static final int RULE_STRING=63; + public static final int RightSquareBracket=62; + public static final int ExclamationMark=46; + public static final int Opposite=11; + public static final int GreaterThanSign=59; + public static final int Root=28; + public static final int RULE_ID=74; + public static final int RULE_QUOTED_ID=69; + public static final int RightParenthesis=48; + public static final int ColonEqualsSign=38; + public static final int GreaterThanSignEqualsSign=42; + public static final int Functional=5; + public static final int ColonColon=37; + public static final int EqualsSignEqualsSign=40; + public static final int VerticalLine=65; + public static final int PlusSign=50; + public static final int RULE_INT=75; + public static final int Contains=7; + public static final int RULE_ML_COMMENT=76; + public static final int RULE_TRANSITIVE_CLOSURE=71; + public static final int Problem=14; + public static final int Object=18; + public static final int Class=20; + public static final int LeftSquareBracket=61; + public static final int RULE_FULL_STOP=73; + public static final int If=44; + public static final int Refers=19; + public static final int Inf=32; + public static final int In=45; + public static final int RULE_STRING=68; public static final int Extern=16; - public static final int RULE_SL_COMMENT=65; - public static final int Comma=48; - public static final int EqualsSign=55; - public static final int Empty=20; - public static final int As=40; - public static final int HyphenMinus=49; - public static final int Maximize=8; - public static final int LessThanSignEqualsSign=36; - public static final int Solidus=51; - public static final int Colon=52; - public static final int RightCurlyBracket=62; + public static final int RULE_SL_COMMENT=70; + public static final int Comma=51; + public static final int EqualsSign=58; + public static final int Empty=22; + public static final int As=43; + public static final int HyphenMinus=52; + public static final int Maximize=9; + public static final int LessThanSignEqualsSign=39; + public static final int Solidus=54; + public static final int Colon=55; + public static final int RightCurlyBracket=66; public static final int EOF=-1; - public static final int Asterisk=46; - public static final int FullStop=50; - public static final int RULE_WS=72; - public static final int Abstract=5; - public static final int Minimize=9; - public static final int LeftCurlyBracket=60; - public static final int Error=21; - public static final int RULE_ANY_OTHER=73; + public static final int Asterisk=49; + public static final int Containment=4; + public static final int FullStop=53; + public static final int RULE_WS=77; + public static final int Abstract=6; + public static final int Minimize=10; + public static final int LeftCurlyBracket=64; + public static final int Error=23; + public static final int Tilde=67; + public static final int RULE_ANY_OTHER=78; public static final int Default=12; - public static final int ColonHyphenMinus=35; - public static final int CircumflexAccent=59; - public static final int Semicolon=53; - public static final int Scope=23; - public static final int Exists=15; - public static final int Else=24; - public static final int Let=30; - public static final int ExclamationMarkEqualsSign=32; - public static final int HyphenMinusGreaterThanSign=33; + public static final int ColonHyphenMinus=36; + public static final int CircumflexAccent=63; + public static final int Semicolon=56; + public static final int Scope=25; + public static final int QuestionMark=60; + public static final int Else=26; + public static final int Let=33; + public static final int ExclamationMarkEqualsSign=34; + public static final int HyphenMinusGreaterThanSign=35; // delegates // delegators @@ -172,57 +177,171 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleProblem" - // InternalSolverLanguageParser.g:65:1: ruleProblem returns [EObject current=null] : ( (lv_statements_0_0= ruleStatement ) )* ; + // InternalSolverLanguageParser.g:65:1: ruleProblem returns [EObject current=null] : ( (otherlv_0= Problem ( (lv_name_1_0= ruleQualifiedName ) ) this_FULL_STOP_2= RULE_FULL_STOP )? ( (lv_imports_3_0= ruleImport ) )* ( (lv_statements_4_0= ruleStatement ) )* ) ; public final EObject ruleProblem() throws RecognitionException { EObject current = null; - EObject lv_statements_0_0 = null; + Token otherlv_0=null; + Token this_FULL_STOP_2=null; + AntlrDatatypeRuleToken lv_name_1_0 = null; + + EObject lv_imports_3_0 = null; + + EObject lv_statements_4_0 = null; enterRule(); try { - // InternalSolverLanguageParser.g:71:2: ( ( (lv_statements_0_0= ruleStatement ) )* ) - // InternalSolverLanguageParser.g:72:2: ( (lv_statements_0_0= ruleStatement ) )* + // InternalSolverLanguageParser.g:71:2: ( ( (otherlv_0= Problem ( (lv_name_1_0= ruleQualifiedName ) ) this_FULL_STOP_2= RULE_FULL_STOP )? ( (lv_imports_3_0= ruleImport ) )* ( (lv_statements_4_0= ruleStatement ) )* ) ) + // InternalSolverLanguageParser.g:72:2: ( (otherlv_0= Problem ( (lv_name_1_0= ruleQualifiedName ) ) this_FULL_STOP_2= RULE_FULL_STOP )? ( (lv_imports_3_0= ruleImport ) )* ( (lv_statements_4_0= ruleStatement ) )* ) { - // InternalSolverLanguageParser.g:72:2: ( (lv_statements_0_0= ruleStatement ) )* - loop1: + // InternalSolverLanguageParser.g:72:2: ( (otherlv_0= Problem ( (lv_name_1_0= ruleQualifiedName ) ) this_FULL_STOP_2= RULE_FULL_STOP )? ( (lv_imports_3_0= ruleImport ) )* ( (lv_statements_4_0= ruleStatement ) )* ) + // InternalSolverLanguageParser.g:73:3: (otherlv_0= Problem ( (lv_name_1_0= ruleQualifiedName ) ) this_FULL_STOP_2= RULE_FULL_STOP )? ( (lv_imports_3_0= ruleImport ) )* ( (lv_statements_4_0= ruleStatement ) )* + { + // InternalSolverLanguageParser.g:73:3: (otherlv_0= Problem ( (lv_name_1_0= ruleQualifiedName ) ) this_FULL_STOP_2= RULE_FULL_STOP )? + int alt1=2; + int LA1_0 = input.LA(1); + + if ( (LA1_0==Problem) ) { + alt1=1; + } + switch (alt1) { + case 1 : + // InternalSolverLanguageParser.g:74:4: otherlv_0= Problem ( (lv_name_1_0= ruleQualifiedName ) ) this_FULL_STOP_2= RULE_FULL_STOP + { + otherlv_0=(Token)match(input,Problem,FOLLOW_3); + + newLeafNode(otherlv_0, grammarAccess.getProblemAccess().getProblemKeyword_0_0()); + + // InternalSolverLanguageParser.g:78:4: ( (lv_name_1_0= ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:79:5: (lv_name_1_0= ruleQualifiedName ) + { + // InternalSolverLanguageParser.g:79:5: (lv_name_1_0= ruleQualifiedName ) + // InternalSolverLanguageParser.g:80:6: lv_name_1_0= ruleQualifiedName + { + + newCompositeNode(grammarAccess.getProblemAccess().getNameQualifiedNameParserRuleCall_0_1_0()); + + pushFollow(FOLLOW_4); + lv_name_1_0=ruleQualifiedName(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getProblemRule()); + } + set( + current, + "name", + lv_name_1_0, + "org.eclipse.viatra.solver.language.SolverLanguage.QualifiedName"); + afterParserOrEnumRuleCall(); + + + } + + + } + + this_FULL_STOP_2=(Token)match(input,RULE_FULL_STOP,FOLLOW_5); + + newLeafNode(this_FULL_STOP_2, grammarAccess.getProblemAccess().getFULL_STOPTerminalRuleCall_0_2()); + + + } + break; + + } + + // InternalSolverLanguageParser.g:102:3: ( (lv_imports_3_0= ruleImport ) )* + loop2: do { - int alt1=2; - int LA1_0 = input.LA(1); + int alt2=2; + int LA2_0 = input.LA(1); - if ( ((LA1_0>=Functional && LA1_0<=Abstract)||(LA1_0>=Maximize && LA1_0<=Minimize)||(LA1_0>=Current && LA1_0<=Default)||(LA1_0>=Unknown && LA1_0<=False)||LA1_0==Scope||LA1_0==Must||LA1_0==True||(LA1_0>=Inf && LA1_0<=May)||LA1_0==If||(LA1_0>=ExclamationMark && LA1_0<=LeftParenthesis)||LA1_0==PlusSign||LA1_0==HyphenMinus||LA1_0==LeftSquareBracket||(LA1_0>=RULE_STRING && LA1_0<=RULE_QUOTED_ID)||(LA1_0>=RULE_ID && LA1_0<=RULE_INT)) ) { - alt1=1; + if ( (LA2_0==Import) ) { + alt2=1; } - switch (alt1) { + switch (alt2) { case 1 : - // InternalSolverLanguageParser.g:73:3: (lv_statements_0_0= ruleStatement ) + // InternalSolverLanguageParser.g:103:4: (lv_imports_3_0= ruleImport ) { - // InternalSolverLanguageParser.g:73:3: (lv_statements_0_0= ruleStatement ) - // InternalSolverLanguageParser.g:74:4: lv_statements_0_0= ruleStatement + // InternalSolverLanguageParser.g:103:4: (lv_imports_3_0= ruleImport ) + // InternalSolverLanguageParser.g:104:5: lv_imports_3_0= ruleImport { - newCompositeNode(grammarAccess.getProblemAccess().getStatementsStatementParserRuleCall_0()); - - pushFollow(FOLLOW_3); - lv_statements_0_0=ruleStatement(); + newCompositeNode(grammarAccess.getProblemAccess().getImportsImportParserRuleCall_1_0()); + + pushFollow(FOLLOW_5); + lv_imports_3_0=ruleImport(); state._fsp--; - if (current==null) { - current = createModelElementForParent(grammarAccess.getProblemRule()); - } - add( - current, - "statements", - lv_statements_0_0, - "org.eclipse.viatra.solver.language.SolverLanguage.Statement"); - afterParserOrEnumRuleCall(); - + if (current==null) { + current = createModelElementForParent(grammarAccess.getProblemRule()); + } + add( + current, + "imports", + lv_imports_3_0, + "org.eclipse.viatra.solver.language.SolverLanguage.Import"); + afterParserOrEnumRuleCall(); + + + } + + + } + break; + + default : + break loop2; + } + } while (true); + + // InternalSolverLanguageParser.g:121:3: ( (lv_statements_4_0= ruleStatement ) )* + loop3: + do { + int alt3=2; + int LA3_0 = input.LA(1); + + if ( ((LA3_0>=Containment && LA3_0<=Abstract)||(LA3_0>=Maximize && LA3_0<=Minimize)||LA3_0==Default||(LA3_0>=Unknown && LA3_0<=Extern)||LA3_0==Object||(LA3_0>=Class && LA3_0<=Scope)||(LA3_0>=Enum && LA3_0<=Root)||LA3_0==True||(LA3_0>=Inf && LA3_0<=Let)||LA3_0==If||(LA3_0>=ExclamationMark && LA3_0<=LeftParenthesis)||LA3_0==PlusSign||LA3_0==HyphenMinus||(LA3_0>=QuestionMark && LA3_0<=LeftSquareBracket)||(LA3_0>=Tilde && LA3_0<=RULE_QUOTED_ID)||(LA3_0>=RULE_ID && LA3_0<=RULE_INT)) ) { + alt3=1; + } + + + switch (alt3) { + case 1 : + // InternalSolverLanguageParser.g:122:4: (lv_statements_4_0= ruleStatement ) + { + // InternalSolverLanguageParser.g:122:4: (lv_statements_4_0= ruleStatement ) + // InternalSolverLanguageParser.g:123:5: lv_statements_4_0= ruleStatement + { + + newCompositeNode(grammarAccess.getProblemAccess().getStatementsStatementParserRuleCall_2_0()); + + pushFollow(FOLLOW_6); + lv_statements_4_0=ruleStatement(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getProblemRule()); + } + add( + current, + "statements", + lv_statements_4_0, + "org.eclipse.viatra.solver.language.SolverLanguage.Statement"); + afterParserOrEnumRuleCall(); + } @@ -231,11 +350,14 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { break; default : - break loop1; + break loop3; } } while (true); + } + + } @@ -255,7 +377,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleStatement" - // InternalSolverLanguageParser.g:94:1: entryRuleStatement returns [EObject current=null] : iv_ruleStatement= ruleStatement EOF ; + // InternalSolverLanguageParser.g:144:1: entryRuleStatement returns [EObject current=null] : iv_ruleStatement= ruleStatement EOF ; public final EObject entryRuleStatement() throws RecognitionException { EObject current = null; @@ -263,8 +385,8 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { try { - // InternalSolverLanguageParser.g:94:50: (iv_ruleStatement= ruleStatement EOF ) - // InternalSolverLanguageParser.g:95:2: iv_ruleStatement= ruleStatement EOF + // InternalSolverLanguageParser.g:144:50: (iv_ruleStatement= ruleStatement EOF ) + // InternalSolverLanguageParser.g:145:2: iv_ruleStatement= ruleStatement EOF { newCompositeNode(grammarAccess.getStatementRule()); pushFollow(FOLLOW_1); @@ -291,276 +413,245 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleStatement" - // InternalSolverLanguageParser.g:101:1: ruleStatement returns [EObject current=null] : ( (this_AssertionOrDefinition_0= ruleAssertionOrDefinition | this_PredicateDefinition_1= rulePredicateDefinition | this_UnnamedErrorPrediateDefinition_2= ruleUnnamedErrorPrediateDefinition | this_DefaultDefinition_3= ruleDefaultDefinition | this_MetricDefinition_4= ruleMetricDefinition | this_ExternPredicateDefinition_5= ruleExternPredicateDefinition | this_ExternMetricDefinition_6= ruleExternMetricDefinition | this_ExternAggregatorDefinition_7= ruleExternAggregatorDefinition | this_ExternDatatypeDefinition_8= ruleExternDatatypeDefinition | this_ClassDefinition_9= ruleClassDefinition | this_ScopeDefinition_10= ruleScopeDefinition | this_ObjectiveDefinition_11= ruleObjectiveDefinition ) this_FULL_STOP_12= RULE_FULL_STOP ) ; + // InternalSolverLanguageParser.g:151:1: ruleStatement returns [EObject current=null] : (this_AssertionOrDefinition_0= ruleAssertionOrDefinition | this_PredicateDefinition_1= rulePredicateDefinition | this_UnnamedErrorPredicateDefintion_2= ruleUnnamedErrorPredicateDefintion | this_DefaultAssertion_3= ruleDefaultAssertion | this_FunctionDefinition_4= ruleFunctionDefinition | this_Attribute_5= ruleAttribute | this_ExternDeclaration_6= ruleExternDeclaration | this_ScopeDeclaration_7= ruleScopeDeclaration | this_ObjectiveDeclaration_8= ruleObjectiveDeclaration | this_ClassDeclaration_9= ruleClassDeclaration | this_EnumDeclaration_10= ruleEnumDeclaration ) ; public final EObject ruleStatement() throws RecognitionException { EObject current = null; - Token this_FULL_STOP_12=null; EObject this_AssertionOrDefinition_0 = null; EObject this_PredicateDefinition_1 = null; - EObject this_UnnamedErrorPrediateDefinition_2 = null; - - EObject this_DefaultDefinition_3 = null; + EObject this_UnnamedErrorPredicateDefintion_2 = null; - EObject this_MetricDefinition_4 = null; + EObject this_DefaultAssertion_3 = null; - EObject this_ExternPredicateDefinition_5 = null; + EObject this_FunctionDefinition_4 = null; - EObject this_ExternMetricDefinition_6 = null; + EObject this_Attribute_5 = null; - EObject this_ExternAggregatorDefinition_7 = null; + EObject this_ExternDeclaration_6 = null; - EObject this_ExternDatatypeDefinition_8 = null; + EObject this_ScopeDeclaration_7 = null; - EObject this_ClassDefinition_9 = null; + EObject this_ObjectiveDeclaration_8 = null; - EObject this_ScopeDefinition_10 = null; + EObject this_ClassDeclaration_9 = null; - EObject this_ObjectiveDefinition_11 = null; + EObject this_EnumDeclaration_10 = null; enterRule(); try { - // InternalSolverLanguageParser.g:107:2: ( ( (this_AssertionOrDefinition_0= ruleAssertionOrDefinition | this_PredicateDefinition_1= rulePredicateDefinition | this_UnnamedErrorPrediateDefinition_2= ruleUnnamedErrorPrediateDefinition | this_DefaultDefinition_3= ruleDefaultDefinition | this_MetricDefinition_4= ruleMetricDefinition | this_ExternPredicateDefinition_5= ruleExternPredicateDefinition | this_ExternMetricDefinition_6= ruleExternMetricDefinition | this_ExternAggregatorDefinition_7= ruleExternAggregatorDefinition | this_ExternDatatypeDefinition_8= ruleExternDatatypeDefinition | this_ClassDefinition_9= ruleClassDefinition | this_ScopeDefinition_10= ruleScopeDefinition | this_ObjectiveDefinition_11= ruleObjectiveDefinition ) this_FULL_STOP_12= RULE_FULL_STOP ) ) - // InternalSolverLanguageParser.g:108:2: ( (this_AssertionOrDefinition_0= ruleAssertionOrDefinition | this_PredicateDefinition_1= rulePredicateDefinition | this_UnnamedErrorPrediateDefinition_2= ruleUnnamedErrorPrediateDefinition | this_DefaultDefinition_3= ruleDefaultDefinition | this_MetricDefinition_4= ruleMetricDefinition | this_ExternPredicateDefinition_5= ruleExternPredicateDefinition | this_ExternMetricDefinition_6= ruleExternMetricDefinition | this_ExternAggregatorDefinition_7= ruleExternAggregatorDefinition | this_ExternDatatypeDefinition_8= ruleExternDatatypeDefinition | this_ClassDefinition_9= ruleClassDefinition | this_ScopeDefinition_10= ruleScopeDefinition | this_ObjectiveDefinition_11= ruleObjectiveDefinition ) this_FULL_STOP_12= RULE_FULL_STOP ) + // InternalSolverLanguageParser.g:157:2: ( (this_AssertionOrDefinition_0= ruleAssertionOrDefinition | this_PredicateDefinition_1= rulePredicateDefinition | this_UnnamedErrorPredicateDefintion_2= ruleUnnamedErrorPredicateDefintion | this_DefaultAssertion_3= ruleDefaultAssertion | this_FunctionDefinition_4= ruleFunctionDefinition | this_Attribute_5= ruleAttribute | this_ExternDeclaration_6= ruleExternDeclaration | this_ScopeDeclaration_7= ruleScopeDeclaration | this_ObjectiveDeclaration_8= ruleObjectiveDeclaration | this_ClassDeclaration_9= ruleClassDeclaration | this_EnumDeclaration_10= ruleEnumDeclaration ) ) + // InternalSolverLanguageParser.g:158:2: (this_AssertionOrDefinition_0= ruleAssertionOrDefinition | this_PredicateDefinition_1= rulePredicateDefinition | this_UnnamedErrorPredicateDefintion_2= ruleUnnamedErrorPredicateDefintion | this_DefaultAssertion_3= ruleDefaultAssertion | this_FunctionDefinition_4= ruleFunctionDefinition | this_Attribute_5= ruleAttribute | this_ExternDeclaration_6= ruleExternDeclaration | this_ScopeDeclaration_7= ruleScopeDeclaration | this_ObjectiveDeclaration_8= ruleObjectiveDeclaration | this_ClassDeclaration_9= ruleClassDeclaration | this_EnumDeclaration_10= ruleEnumDeclaration ) { - // InternalSolverLanguageParser.g:108:2: ( (this_AssertionOrDefinition_0= ruleAssertionOrDefinition | this_PredicateDefinition_1= rulePredicateDefinition | this_UnnamedErrorPrediateDefinition_2= ruleUnnamedErrorPrediateDefinition | this_DefaultDefinition_3= ruleDefaultDefinition | this_MetricDefinition_4= ruleMetricDefinition | this_ExternPredicateDefinition_5= ruleExternPredicateDefinition | this_ExternMetricDefinition_6= ruleExternMetricDefinition | this_ExternAggregatorDefinition_7= ruleExternAggregatorDefinition | this_ExternDatatypeDefinition_8= ruleExternDatatypeDefinition | this_ClassDefinition_9= ruleClassDefinition | this_ScopeDefinition_10= ruleScopeDefinition | this_ObjectiveDefinition_11= ruleObjectiveDefinition ) this_FULL_STOP_12= RULE_FULL_STOP ) - // InternalSolverLanguageParser.g:109:3: (this_AssertionOrDefinition_0= ruleAssertionOrDefinition | this_PredicateDefinition_1= rulePredicateDefinition | this_UnnamedErrorPrediateDefinition_2= ruleUnnamedErrorPrediateDefinition | this_DefaultDefinition_3= ruleDefaultDefinition | this_MetricDefinition_4= ruleMetricDefinition | this_ExternPredicateDefinition_5= ruleExternPredicateDefinition | this_ExternMetricDefinition_6= ruleExternMetricDefinition | this_ExternAggregatorDefinition_7= ruleExternAggregatorDefinition | this_ExternDatatypeDefinition_8= ruleExternDatatypeDefinition | this_ClassDefinition_9= ruleClassDefinition | this_ScopeDefinition_10= ruleScopeDefinition | this_ObjectiveDefinition_11= ruleObjectiveDefinition ) this_FULL_STOP_12= RULE_FULL_STOP - { - // InternalSolverLanguageParser.g:109:3: (this_AssertionOrDefinition_0= ruleAssertionOrDefinition | this_PredicateDefinition_1= rulePredicateDefinition | this_UnnamedErrorPrediateDefinition_2= ruleUnnamedErrorPrediateDefinition | this_DefaultDefinition_3= ruleDefaultDefinition | this_MetricDefinition_4= ruleMetricDefinition | this_ExternPredicateDefinition_5= ruleExternPredicateDefinition | this_ExternMetricDefinition_6= ruleExternMetricDefinition | this_ExternAggregatorDefinition_7= ruleExternAggregatorDefinition | this_ExternDatatypeDefinition_8= ruleExternDatatypeDefinition | this_ClassDefinition_9= ruleClassDefinition | this_ScopeDefinition_10= ruleScopeDefinition | this_ObjectiveDefinition_11= ruleObjectiveDefinition ) - int alt2=12; - alt2 = dfa2.predict(input); - switch (alt2) { + // InternalSolverLanguageParser.g:158:2: (this_AssertionOrDefinition_0= ruleAssertionOrDefinition | this_PredicateDefinition_1= rulePredicateDefinition | this_UnnamedErrorPredicateDefintion_2= ruleUnnamedErrorPredicateDefintion | this_DefaultAssertion_3= ruleDefaultAssertion | this_FunctionDefinition_4= ruleFunctionDefinition | this_Attribute_5= ruleAttribute | this_ExternDeclaration_6= ruleExternDeclaration | this_ScopeDeclaration_7= ruleScopeDeclaration | this_ObjectiveDeclaration_8= ruleObjectiveDeclaration | this_ClassDeclaration_9= ruleClassDeclaration | this_EnumDeclaration_10= ruleEnumDeclaration ) + int alt4=11; + alt4 = dfa4.predict(input); + switch (alt4) { case 1 : - // InternalSolverLanguageParser.g:110:4: this_AssertionOrDefinition_0= ruleAssertionOrDefinition + // InternalSolverLanguageParser.g:159:3: this_AssertionOrDefinition_0= ruleAssertionOrDefinition { - newCompositeNode(grammarAccess.getStatementAccess().getAssertionOrDefinitionParserRuleCall_0_0()); - - pushFollow(FOLLOW_4); + newCompositeNode(grammarAccess.getStatementAccess().getAssertionOrDefinitionParserRuleCall_0()); + + pushFollow(FOLLOW_2); this_AssertionOrDefinition_0=ruleAssertionOrDefinition(); state._fsp--; - current = this_AssertionOrDefinition_0; - afterParserOrEnumRuleCall(); - + current = this_AssertionOrDefinition_0; + afterParserOrEnumRuleCall(); + } break; case 2 : - // InternalSolverLanguageParser.g:119:4: this_PredicateDefinition_1= rulePredicateDefinition + // InternalSolverLanguageParser.g:168:3: this_PredicateDefinition_1= rulePredicateDefinition { - newCompositeNode(grammarAccess.getStatementAccess().getPredicateDefinitionParserRuleCall_0_1()); - - pushFollow(FOLLOW_4); + newCompositeNode(grammarAccess.getStatementAccess().getPredicateDefinitionParserRuleCall_1()); + + pushFollow(FOLLOW_2); this_PredicateDefinition_1=rulePredicateDefinition(); state._fsp--; - current = this_PredicateDefinition_1; - afterParserOrEnumRuleCall(); - + current = this_PredicateDefinition_1; + afterParserOrEnumRuleCall(); + } break; case 3 : - // InternalSolverLanguageParser.g:128:4: this_UnnamedErrorPrediateDefinition_2= ruleUnnamedErrorPrediateDefinition + // InternalSolverLanguageParser.g:177:3: this_UnnamedErrorPredicateDefintion_2= ruleUnnamedErrorPredicateDefintion { - newCompositeNode(grammarAccess.getStatementAccess().getUnnamedErrorPrediateDefinitionParserRuleCall_0_2()); - - pushFollow(FOLLOW_4); - this_UnnamedErrorPrediateDefinition_2=ruleUnnamedErrorPrediateDefinition(); + newCompositeNode(grammarAccess.getStatementAccess().getUnnamedErrorPredicateDefintionParserRuleCall_2()); + + pushFollow(FOLLOW_2); + this_UnnamedErrorPredicateDefintion_2=ruleUnnamedErrorPredicateDefintion(); state._fsp--; - current = this_UnnamedErrorPrediateDefinition_2; - afterParserOrEnumRuleCall(); - + current = this_UnnamedErrorPredicateDefintion_2; + afterParserOrEnumRuleCall(); + } break; case 4 : - // InternalSolverLanguageParser.g:137:4: this_DefaultDefinition_3= ruleDefaultDefinition + // InternalSolverLanguageParser.g:186:3: this_DefaultAssertion_3= ruleDefaultAssertion { - newCompositeNode(grammarAccess.getStatementAccess().getDefaultDefinitionParserRuleCall_0_3()); - - pushFollow(FOLLOW_4); - this_DefaultDefinition_3=ruleDefaultDefinition(); + newCompositeNode(grammarAccess.getStatementAccess().getDefaultAssertionParserRuleCall_3()); + + pushFollow(FOLLOW_2); + this_DefaultAssertion_3=ruleDefaultAssertion(); state._fsp--; - current = this_DefaultDefinition_3; - afterParserOrEnumRuleCall(); - + current = this_DefaultAssertion_3; + afterParserOrEnumRuleCall(); + } break; case 5 : - // InternalSolverLanguageParser.g:146:4: this_MetricDefinition_4= ruleMetricDefinition + // InternalSolverLanguageParser.g:195:3: this_FunctionDefinition_4= ruleFunctionDefinition { - newCompositeNode(grammarAccess.getStatementAccess().getMetricDefinitionParserRuleCall_0_4()); - - pushFollow(FOLLOW_4); - this_MetricDefinition_4=ruleMetricDefinition(); + newCompositeNode(grammarAccess.getStatementAccess().getFunctionDefinitionParserRuleCall_4()); + + pushFollow(FOLLOW_2); + this_FunctionDefinition_4=ruleFunctionDefinition(); state._fsp--; - current = this_MetricDefinition_4; - afterParserOrEnumRuleCall(); - + current = this_FunctionDefinition_4; + afterParserOrEnumRuleCall(); + } break; case 6 : - // InternalSolverLanguageParser.g:155:4: this_ExternPredicateDefinition_5= ruleExternPredicateDefinition + // InternalSolverLanguageParser.g:204:3: this_Attribute_5= ruleAttribute { - newCompositeNode(grammarAccess.getStatementAccess().getExternPredicateDefinitionParserRuleCall_0_5()); - - pushFollow(FOLLOW_4); - this_ExternPredicateDefinition_5=ruleExternPredicateDefinition(); + newCompositeNode(grammarAccess.getStatementAccess().getAttributeParserRuleCall_5()); + + pushFollow(FOLLOW_2); + this_Attribute_5=ruleAttribute(); state._fsp--; - current = this_ExternPredicateDefinition_5; - afterParserOrEnumRuleCall(); - + current = this_Attribute_5; + afterParserOrEnumRuleCall(); + } break; case 7 : - // InternalSolverLanguageParser.g:164:4: this_ExternMetricDefinition_6= ruleExternMetricDefinition + // InternalSolverLanguageParser.g:213:3: this_ExternDeclaration_6= ruleExternDeclaration { - newCompositeNode(grammarAccess.getStatementAccess().getExternMetricDefinitionParserRuleCall_0_6()); - - pushFollow(FOLLOW_4); - this_ExternMetricDefinition_6=ruleExternMetricDefinition(); + newCompositeNode(grammarAccess.getStatementAccess().getExternDeclarationParserRuleCall_6()); + + pushFollow(FOLLOW_2); + this_ExternDeclaration_6=ruleExternDeclaration(); state._fsp--; - current = this_ExternMetricDefinition_6; - afterParserOrEnumRuleCall(); - + current = this_ExternDeclaration_6; + afterParserOrEnumRuleCall(); + } break; case 8 : - // InternalSolverLanguageParser.g:173:4: this_ExternAggregatorDefinition_7= ruleExternAggregatorDefinition + // InternalSolverLanguageParser.g:222:3: this_ScopeDeclaration_7= ruleScopeDeclaration { - newCompositeNode(grammarAccess.getStatementAccess().getExternAggregatorDefinitionParserRuleCall_0_7()); - - pushFollow(FOLLOW_4); - this_ExternAggregatorDefinition_7=ruleExternAggregatorDefinition(); + newCompositeNode(grammarAccess.getStatementAccess().getScopeDeclarationParserRuleCall_7()); + + pushFollow(FOLLOW_2); + this_ScopeDeclaration_7=ruleScopeDeclaration(); state._fsp--; - current = this_ExternAggregatorDefinition_7; - afterParserOrEnumRuleCall(); - + current = this_ScopeDeclaration_7; + afterParserOrEnumRuleCall(); + } break; case 9 : - // InternalSolverLanguageParser.g:182:4: this_ExternDatatypeDefinition_8= ruleExternDatatypeDefinition + // InternalSolverLanguageParser.g:231:3: this_ObjectiveDeclaration_8= ruleObjectiveDeclaration { - newCompositeNode(grammarAccess.getStatementAccess().getExternDatatypeDefinitionParserRuleCall_0_8()); - - pushFollow(FOLLOW_4); - this_ExternDatatypeDefinition_8=ruleExternDatatypeDefinition(); + newCompositeNode(grammarAccess.getStatementAccess().getObjectiveDeclarationParserRuleCall_8()); + + pushFollow(FOLLOW_2); + this_ObjectiveDeclaration_8=ruleObjectiveDeclaration(); state._fsp--; - current = this_ExternDatatypeDefinition_8; - afterParserOrEnumRuleCall(); - + current = this_ObjectiveDeclaration_8; + afterParserOrEnumRuleCall(); + } break; case 10 : - // InternalSolverLanguageParser.g:191:4: this_ClassDefinition_9= ruleClassDefinition + // InternalSolverLanguageParser.g:240:3: this_ClassDeclaration_9= ruleClassDeclaration { - newCompositeNode(grammarAccess.getStatementAccess().getClassDefinitionParserRuleCall_0_9()); - - pushFollow(FOLLOW_4); - this_ClassDefinition_9=ruleClassDefinition(); + newCompositeNode(grammarAccess.getStatementAccess().getClassDeclarationParserRuleCall_9()); + + pushFollow(FOLLOW_2); + this_ClassDeclaration_9=ruleClassDeclaration(); state._fsp--; - current = this_ClassDefinition_9; - afterParserOrEnumRuleCall(); - + current = this_ClassDeclaration_9; + afterParserOrEnumRuleCall(); + } break; case 11 : - // InternalSolverLanguageParser.g:200:4: this_ScopeDefinition_10= ruleScopeDefinition - { - - newCompositeNode(grammarAccess.getStatementAccess().getScopeDefinitionParserRuleCall_0_10()); - - pushFollow(FOLLOW_4); - this_ScopeDefinition_10=ruleScopeDefinition(); - - state._fsp--; - - - current = this_ScopeDefinition_10; - afterParserOrEnumRuleCall(); - - - } - break; - case 12 : - // InternalSolverLanguageParser.g:209:4: this_ObjectiveDefinition_11= ruleObjectiveDefinition + // InternalSolverLanguageParser.g:249:3: this_EnumDeclaration_10= ruleEnumDeclaration { - newCompositeNode(grammarAccess.getStatementAccess().getObjectiveDefinitionParserRuleCall_0_11()); - - pushFollow(FOLLOW_4); - this_ObjectiveDefinition_11=ruleObjectiveDefinition(); + newCompositeNode(grammarAccess.getStatementAccess().getEnumDeclarationParserRuleCall_10()); + + pushFollow(FOLLOW_2); + this_EnumDeclaration_10=ruleEnumDeclaration(); state._fsp--; - current = this_ObjectiveDefinition_11; - afterParserOrEnumRuleCall(); - + current = this_EnumDeclaration_10; + afterParserOrEnumRuleCall(); + } break; } - this_FULL_STOP_12=(Token)match(input,RULE_FULL_STOP,FOLLOW_2); - - newLeafNode(this_FULL_STOP_12, grammarAccess.getStatementAccess().getFULL_STOPTerminalRuleCall_1()); - - - } - } @@ -580,25 +671,25 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR end "ruleStatement" - // $ANTLR start "entryRuleAssertionOrDefinition" - // InternalSolverLanguageParser.g:226:1: entryRuleAssertionOrDefinition returns [EObject current=null] : iv_ruleAssertionOrDefinition= ruleAssertionOrDefinition EOF ; - public final EObject entryRuleAssertionOrDefinition() throws RecognitionException { + // $ANTLR start "entryRuleImport" + // InternalSolverLanguageParser.g:261:1: entryRuleImport returns [EObject current=null] : iv_ruleImport= ruleImport EOF ; + public final EObject entryRuleImport() throws RecognitionException { EObject current = null; - EObject iv_ruleAssertionOrDefinition = null; + EObject iv_ruleImport = null; try { - // InternalSolverLanguageParser.g:226:62: (iv_ruleAssertionOrDefinition= ruleAssertionOrDefinition EOF ) - // InternalSolverLanguageParser.g:227:2: iv_ruleAssertionOrDefinition= ruleAssertionOrDefinition EOF + // InternalSolverLanguageParser.g:261:47: (iv_ruleImport= ruleImport EOF ) + // InternalSolverLanguageParser.g:262:2: iv_ruleImport= ruleImport EOF { - newCompositeNode(grammarAccess.getAssertionOrDefinitionRule()); + newCompositeNode(grammarAccess.getImportRule()); pushFollow(FOLLOW_1); - iv_ruleAssertionOrDefinition=ruleAssertionOrDefinition(); + iv_ruleImport=ruleImport(); state._fsp--; - current =iv_ruleAssertionOrDefinition; + current =iv_ruleImport; match(input,EOF,FOLLOW_2); } @@ -613,118 +704,596 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } return current; } - // $ANTLR end "entryRuleAssertionOrDefinition" + // $ANTLR end "entryRuleImport" - // $ANTLR start "ruleAssertionOrDefinition" - // InternalSolverLanguageParser.g:233:1: ruleAssertionOrDefinition returns [EObject current=null] : (this_Expression_0= ruleExpression ( ( () otherlv_2= Colon ( (lv_range_3_0= ruleExpression ) ) ) | ( () otherlv_5= ColonHyphenMinus ( (lv_body_6_0= ruleExpression ) ) ) | ( () otherlv_8= EqualsSign ( (lv_body_9_0= ruleExpression ) ) ) )? ) ; - public final EObject ruleAssertionOrDefinition() throws RecognitionException { + // $ANTLR start "ruleImport" + // InternalSolverLanguageParser.g:268:1: ruleImport returns [EObject current=null] : (this_UriImport_0= ruleUriImport | this_NamespaceImport_1= ruleNamespaceImport ) ; + public final EObject ruleImport() throws RecognitionException { EObject current = null; - Token otherlv_2=null; - Token otherlv_5=null; - Token otherlv_8=null; - EObject this_Expression_0 = null; - - EObject lv_range_3_0 = null; - - EObject lv_body_6_0 = null; + EObject this_UriImport_0 = null; - EObject lv_body_9_0 = null; + EObject this_NamespaceImport_1 = null; enterRule(); try { - // InternalSolverLanguageParser.g:239:2: ( (this_Expression_0= ruleExpression ( ( () otherlv_2= Colon ( (lv_range_3_0= ruleExpression ) ) ) | ( () otherlv_5= ColonHyphenMinus ( (lv_body_6_0= ruleExpression ) ) ) | ( () otherlv_8= EqualsSign ( (lv_body_9_0= ruleExpression ) ) ) )? ) ) - // InternalSolverLanguageParser.g:240:2: (this_Expression_0= ruleExpression ( ( () otherlv_2= Colon ( (lv_range_3_0= ruleExpression ) ) ) | ( () otherlv_5= ColonHyphenMinus ( (lv_body_6_0= ruleExpression ) ) ) | ( () otherlv_8= EqualsSign ( (lv_body_9_0= ruleExpression ) ) ) )? ) - { - // InternalSolverLanguageParser.g:240:2: (this_Expression_0= ruleExpression ( ( () otherlv_2= Colon ( (lv_range_3_0= ruleExpression ) ) ) | ( () otherlv_5= ColonHyphenMinus ( (lv_body_6_0= ruleExpression ) ) ) | ( () otherlv_8= EqualsSign ( (lv_body_9_0= ruleExpression ) ) ) )? ) - // InternalSolverLanguageParser.g:241:3: this_Expression_0= ruleExpression ( ( () otherlv_2= Colon ( (lv_range_3_0= ruleExpression ) ) ) | ( () otherlv_5= ColonHyphenMinus ( (lv_body_6_0= ruleExpression ) ) ) | ( () otherlv_8= EqualsSign ( (lv_body_9_0= ruleExpression ) ) ) )? + // InternalSolverLanguageParser.g:274:2: ( (this_UriImport_0= ruleUriImport | this_NamespaceImport_1= ruleNamespaceImport ) ) + // InternalSolverLanguageParser.g:275:2: (this_UriImport_0= ruleUriImport | this_NamespaceImport_1= ruleNamespaceImport ) { + // InternalSolverLanguageParser.g:275:2: (this_UriImport_0= ruleUriImport | this_NamespaceImport_1= ruleNamespaceImport ) + int alt5=2; + int LA5_0 = input.LA(1); - newCompositeNode(grammarAccess.getAssertionOrDefinitionAccess().getExpressionParserRuleCall_0()); - - pushFollow(FOLLOW_5); - this_Expression_0=ruleExpression(); - - state._fsp--; + if ( (LA5_0==Import) ) { + int LA5_1 = input.LA(2); + if ( (LA5_1==RULE_STRING) ) { + alt5=1; + } + else if ( (LA5_1==Object||LA5_1==RULE_QUOTED_ID||LA5_1==RULE_ID) ) { + alt5=2; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 5, 1, input); - current = this_Expression_0; - afterParserOrEnumRuleCall(); - - // InternalSolverLanguageParser.g:249:3: ( ( () otherlv_2= Colon ( (lv_range_3_0= ruleExpression ) ) ) | ( () otherlv_5= ColonHyphenMinus ( (lv_body_6_0= ruleExpression ) ) ) | ( () otherlv_8= EqualsSign ( (lv_body_9_0= ruleExpression ) ) ) )? - int alt3=4; - switch ( input.LA(1) ) { - case Colon: - { - alt3=1; - } - break; - case ColonHyphenMinus: - { - alt3=2; - } - break; - case EqualsSign: - { - alt3=3; - } - break; + throw nvae; + } } + else { + NoViableAltException nvae = + new NoViableAltException("", 5, 0, input); - switch (alt3) { + throw nvae; + } + switch (alt5) { case 1 : - // InternalSolverLanguageParser.g:250:4: ( () otherlv_2= Colon ( (lv_range_3_0= ruleExpression ) ) ) - { - // InternalSolverLanguageParser.g:250:4: ( () otherlv_2= Colon ( (lv_range_3_0= ruleExpression ) ) ) - // InternalSolverLanguageParser.g:251:5: () otherlv_2= Colon ( (lv_range_3_0= ruleExpression ) ) + // InternalSolverLanguageParser.g:276:3: this_UriImport_0= ruleUriImport { - // InternalSolverLanguageParser.g:251:5: () - // InternalSolverLanguageParser.g:252:6: - { - - current = forceCreateModelElementAndSet( - grammarAccess.getAssertionOrDefinitionAccess().getInterpretationBodyAction_1_0_0(), - current); - - } + newCompositeNode(grammarAccess.getImportAccess().getUriImportParserRuleCall_0()); + + pushFollow(FOLLOW_2); + this_UriImport_0=ruleUriImport(); - otherlv_2=(Token)match(input,Colon,FOLLOW_6); + state._fsp--; - newLeafNode(otherlv_2, grammarAccess.getAssertionOrDefinitionAccess().getColonKeyword_1_0_1()); - - // InternalSolverLanguageParser.g:262:5: ( (lv_range_3_0= ruleExpression ) ) - // InternalSolverLanguageParser.g:263:6: (lv_range_3_0= ruleExpression ) - { - // InternalSolverLanguageParser.g:263:6: (lv_range_3_0= ruleExpression ) - // InternalSolverLanguageParser.g:264:7: lv_range_3_0= ruleExpression - { - newCompositeNode(grammarAccess.getAssertionOrDefinitionAccess().getRangeExpressionParserRuleCall_1_0_2_0()); - + current = this_UriImport_0; + afterParserOrEnumRuleCall(); + + + } + break; + case 2 : + // InternalSolverLanguageParser.g:285:3: this_NamespaceImport_1= ruleNamespaceImport + { + + newCompositeNode(grammarAccess.getImportAccess().getNamespaceImportParserRuleCall_1()); + pushFollow(FOLLOW_2); - lv_range_3_0=ruleExpression(); + this_NamespaceImport_1=ruleNamespaceImport(); state._fsp--; - if (current==null) { - current = createModelElementForParent(grammarAccess.getAssertionOrDefinitionRule()); - } - set( - current, - "range", - lv_range_3_0, - "org.eclipse.viatra.solver.language.SolverLanguage.Expression"); - afterParserOrEnumRuleCall(); - + current = this_NamespaceImport_1; + afterParserOrEnumRuleCall(); + + + } + break; + + } + + + } + + + leaveRule(); + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleImport" + + + // $ANTLR start "entryRuleUriImport" + // InternalSolverLanguageParser.g:297:1: entryRuleUriImport returns [EObject current=null] : iv_ruleUriImport= ruleUriImport EOF ; + public final EObject entryRuleUriImport() throws RecognitionException { + EObject current = null; + + EObject iv_ruleUriImport = null; + + + try { + // InternalSolverLanguageParser.g:297:50: (iv_ruleUriImport= ruleUriImport EOF ) + // InternalSolverLanguageParser.g:298:2: iv_ruleUriImport= ruleUriImport EOF + { + newCompositeNode(grammarAccess.getUriImportRule()); + pushFollow(FOLLOW_1); + iv_ruleUriImport=ruleUriImport(); + + state._fsp--; + + current =iv_ruleUriImport; + match(input,EOF,FOLLOW_2); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleUriImport" + + + // $ANTLR start "ruleUriImport" + // InternalSolverLanguageParser.g:304:1: ruleUriImport returns [EObject current=null] : (otherlv_0= Import ( (lv_uri_1_0= RULE_STRING ) ) (otherlv_2= As ( (lv_alias_3_0= ruleQualifiedName ) ) ) this_FULL_STOP_4= RULE_FULL_STOP ) ; + public final EObject ruleUriImport() throws RecognitionException { + EObject current = null; + + Token otherlv_0=null; + Token lv_uri_1_0=null; + Token otherlv_2=null; + Token this_FULL_STOP_4=null; + AntlrDatatypeRuleToken lv_alias_3_0 = null; + + + + enterRule(); + + try { + // InternalSolverLanguageParser.g:310:2: ( (otherlv_0= Import ( (lv_uri_1_0= RULE_STRING ) ) (otherlv_2= As ( (lv_alias_3_0= ruleQualifiedName ) ) ) this_FULL_STOP_4= RULE_FULL_STOP ) ) + // InternalSolverLanguageParser.g:311:2: (otherlv_0= Import ( (lv_uri_1_0= RULE_STRING ) ) (otherlv_2= As ( (lv_alias_3_0= ruleQualifiedName ) ) ) this_FULL_STOP_4= RULE_FULL_STOP ) + { + // InternalSolverLanguageParser.g:311:2: (otherlv_0= Import ( (lv_uri_1_0= RULE_STRING ) ) (otherlv_2= As ( (lv_alias_3_0= ruleQualifiedName ) ) ) this_FULL_STOP_4= RULE_FULL_STOP ) + // InternalSolverLanguageParser.g:312:3: otherlv_0= Import ( (lv_uri_1_0= RULE_STRING ) ) (otherlv_2= As ( (lv_alias_3_0= ruleQualifiedName ) ) ) this_FULL_STOP_4= RULE_FULL_STOP + { + otherlv_0=(Token)match(input,Import,FOLLOW_7); + + newLeafNode(otherlv_0, grammarAccess.getUriImportAccess().getImportKeyword_0()); + + // InternalSolverLanguageParser.g:316:3: ( (lv_uri_1_0= RULE_STRING ) ) + // InternalSolverLanguageParser.g:317:4: (lv_uri_1_0= RULE_STRING ) + { + // InternalSolverLanguageParser.g:317:4: (lv_uri_1_0= RULE_STRING ) + // InternalSolverLanguageParser.g:318:5: lv_uri_1_0= RULE_STRING + { + lv_uri_1_0=(Token)match(input,RULE_STRING,FOLLOW_8); + + newLeafNode(lv_uri_1_0, grammarAccess.getUriImportAccess().getUriSTRINGTerminalRuleCall_1_0()); + + + if (current==null) { + current = createModelElement(grammarAccess.getUriImportRule()); + } + setWithLastConsumed( + current, + "uri", + lv_uri_1_0, + "org.eclipse.viatra.solver.language.SolverLanguage.STRING"); + + + } + + + } + + // InternalSolverLanguageParser.g:334:3: (otherlv_2= As ( (lv_alias_3_0= ruleQualifiedName ) ) ) + // InternalSolverLanguageParser.g:335:4: otherlv_2= As ( (lv_alias_3_0= ruleQualifiedName ) ) + { + otherlv_2=(Token)match(input,As,FOLLOW_3); + + newLeafNode(otherlv_2, grammarAccess.getUriImportAccess().getAsKeyword_2_0()); + + // InternalSolverLanguageParser.g:339:4: ( (lv_alias_3_0= ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:340:5: (lv_alias_3_0= ruleQualifiedName ) + { + // InternalSolverLanguageParser.g:340:5: (lv_alias_3_0= ruleQualifiedName ) + // InternalSolverLanguageParser.g:341:6: lv_alias_3_0= ruleQualifiedName + { + + newCompositeNode(grammarAccess.getUriImportAccess().getAliasQualifiedNameParserRuleCall_2_1_0()); + + pushFollow(FOLLOW_4); + lv_alias_3_0=ruleQualifiedName(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getUriImportRule()); + } + set( + current, + "alias", + lv_alias_3_0, + "org.eclipse.viatra.solver.language.SolverLanguage.QualifiedName"); + afterParserOrEnumRuleCall(); + + + } + + + } + + + } + + this_FULL_STOP_4=(Token)match(input,RULE_FULL_STOP,FOLLOW_2); + + newLeafNode(this_FULL_STOP_4, grammarAccess.getUriImportAccess().getFULL_STOPTerminalRuleCall_3()); + + + } + + + } + + + leaveRule(); + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleUriImport" + + + // $ANTLR start "entryRuleNamespaceImport" + // InternalSolverLanguageParser.g:367:1: entryRuleNamespaceImport returns [EObject current=null] : iv_ruleNamespaceImport= ruleNamespaceImport EOF ; + public final EObject entryRuleNamespaceImport() throws RecognitionException { + EObject current = null; + + EObject iv_ruleNamespaceImport = null; + + + try { + // InternalSolverLanguageParser.g:367:56: (iv_ruleNamespaceImport= ruleNamespaceImport EOF ) + // InternalSolverLanguageParser.g:368:2: iv_ruleNamespaceImport= ruleNamespaceImport EOF + { + newCompositeNode(grammarAccess.getNamespaceImportRule()); + pushFollow(FOLLOW_1); + iv_ruleNamespaceImport=ruleNamespaceImport(); + + state._fsp--; + + current =iv_ruleNamespaceImport; + match(input,EOF,FOLLOW_2); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleNamespaceImport" + + + // $ANTLR start "ruleNamespaceImport" + // InternalSolverLanguageParser.g:374:1: ruleNamespaceImport returns [EObject current=null] : (otherlv_0= Import ( (lv_importedNamespace_1_0= ruleQualifiedName ) ) (otherlv_2= As ( (lv_alias_3_0= ruleQualifiedName ) ) ) this_FULL_STOP_4= RULE_FULL_STOP ) ; + public final EObject ruleNamespaceImport() throws RecognitionException { + EObject current = null; + + Token otherlv_0=null; + Token otherlv_2=null; + Token this_FULL_STOP_4=null; + AntlrDatatypeRuleToken lv_importedNamespace_1_0 = null; + + AntlrDatatypeRuleToken lv_alias_3_0 = null; + + + + enterRule(); + + try { + // InternalSolverLanguageParser.g:380:2: ( (otherlv_0= Import ( (lv_importedNamespace_1_0= ruleQualifiedName ) ) (otherlv_2= As ( (lv_alias_3_0= ruleQualifiedName ) ) ) this_FULL_STOP_4= RULE_FULL_STOP ) ) + // InternalSolverLanguageParser.g:381:2: (otherlv_0= Import ( (lv_importedNamespace_1_0= ruleQualifiedName ) ) (otherlv_2= As ( (lv_alias_3_0= ruleQualifiedName ) ) ) this_FULL_STOP_4= RULE_FULL_STOP ) + { + // InternalSolverLanguageParser.g:381:2: (otherlv_0= Import ( (lv_importedNamespace_1_0= ruleQualifiedName ) ) (otherlv_2= As ( (lv_alias_3_0= ruleQualifiedName ) ) ) this_FULL_STOP_4= RULE_FULL_STOP ) + // InternalSolverLanguageParser.g:382:3: otherlv_0= Import ( (lv_importedNamespace_1_0= ruleQualifiedName ) ) (otherlv_2= As ( (lv_alias_3_0= ruleQualifiedName ) ) ) this_FULL_STOP_4= RULE_FULL_STOP + { + otherlv_0=(Token)match(input,Import,FOLLOW_3); + + newLeafNode(otherlv_0, grammarAccess.getNamespaceImportAccess().getImportKeyword_0()); + + // InternalSolverLanguageParser.g:386:3: ( (lv_importedNamespace_1_0= ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:387:4: (lv_importedNamespace_1_0= ruleQualifiedName ) + { + // InternalSolverLanguageParser.g:387:4: (lv_importedNamespace_1_0= ruleQualifiedName ) + // InternalSolverLanguageParser.g:388:5: lv_importedNamespace_1_0= ruleQualifiedName + { + + newCompositeNode(grammarAccess.getNamespaceImportAccess().getImportedNamespaceQualifiedNameParserRuleCall_1_0()); + + pushFollow(FOLLOW_8); + lv_importedNamespace_1_0=ruleQualifiedName(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getNamespaceImportRule()); + } + set( + current, + "importedNamespace", + lv_importedNamespace_1_0, + "org.eclipse.viatra.solver.language.SolverLanguage.QualifiedName"); + afterParserOrEnumRuleCall(); + + + } + + + } + + // InternalSolverLanguageParser.g:405:3: (otherlv_2= As ( (lv_alias_3_0= ruleQualifiedName ) ) ) + // InternalSolverLanguageParser.g:406:4: otherlv_2= As ( (lv_alias_3_0= ruleQualifiedName ) ) + { + otherlv_2=(Token)match(input,As,FOLLOW_3); + + newLeafNode(otherlv_2, grammarAccess.getNamespaceImportAccess().getAsKeyword_2_0()); + + // InternalSolverLanguageParser.g:410:4: ( (lv_alias_3_0= ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:411:5: (lv_alias_3_0= ruleQualifiedName ) + { + // InternalSolverLanguageParser.g:411:5: (lv_alias_3_0= ruleQualifiedName ) + // InternalSolverLanguageParser.g:412:6: lv_alias_3_0= ruleQualifiedName + { + + newCompositeNode(grammarAccess.getNamespaceImportAccess().getAliasQualifiedNameParserRuleCall_2_1_0()); + + pushFollow(FOLLOW_4); + lv_alias_3_0=ruleQualifiedName(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getNamespaceImportRule()); + } + set( + current, + "alias", + lv_alias_3_0, + "org.eclipse.viatra.solver.language.SolverLanguage.QualifiedName"); + afterParserOrEnumRuleCall(); + + + } + + + } + + + } + + this_FULL_STOP_4=(Token)match(input,RULE_FULL_STOP,FOLLOW_2); + + newLeafNode(this_FULL_STOP_4, grammarAccess.getNamespaceImportAccess().getFULL_STOPTerminalRuleCall_3()); + + + } + + + } + + + leaveRule(); + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleNamespaceImport" + + + // $ANTLR start "entryRuleAssertionOrDefinition" + // InternalSolverLanguageParser.g:438:1: entryRuleAssertionOrDefinition returns [EObject current=null] : iv_ruleAssertionOrDefinition= ruleAssertionOrDefinition EOF ; + public final EObject entryRuleAssertionOrDefinition() throws RecognitionException { + EObject current = null; + + EObject iv_ruleAssertionOrDefinition = null; + + + try { + // InternalSolverLanguageParser.g:438:62: (iv_ruleAssertionOrDefinition= ruleAssertionOrDefinition EOF ) + // InternalSolverLanguageParser.g:439:2: iv_ruleAssertionOrDefinition= ruleAssertionOrDefinition EOF + { + newCompositeNode(grammarAccess.getAssertionOrDefinitionRule()); + pushFollow(FOLLOW_1); + iv_ruleAssertionOrDefinition=ruleAssertionOrDefinition(); + + state._fsp--; + + current =iv_ruleAssertionOrDefinition; + match(input,EOF,FOLLOW_2); + + } + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleAssertionOrDefinition" + + + // $ANTLR start "ruleAssertionOrDefinition" + // InternalSolverLanguageParser.g:445:1: ruleAssertionOrDefinition returns [EObject current=null] : (this_Expression_0= ruleExpression ( ( () (otherlv_2= Colon ( (lv_range_3_0= ruleExpression ) ) )? ) | ( () otherlv_5= ColonHyphenMinus ( (lv_body_6_0= ruleExpression ) ) ) | ( () otherlv_8= ColonEqualsSign ( (lv_body_9_0= ruleExpression ) ) ) ) this_FULL_STOP_10= RULE_FULL_STOP ) ; + public final EObject ruleAssertionOrDefinition() throws RecognitionException { + EObject current = null; + + Token otherlv_2=null; + Token otherlv_5=null; + Token otherlv_8=null; + Token this_FULL_STOP_10=null; + EObject this_Expression_0 = null; + + EObject lv_range_3_0 = null; + + EObject lv_body_6_0 = null; + + EObject lv_body_9_0 = null; + + + + enterRule(); + + try { + // InternalSolverLanguageParser.g:451:2: ( (this_Expression_0= ruleExpression ( ( () (otherlv_2= Colon ( (lv_range_3_0= ruleExpression ) ) )? ) | ( () otherlv_5= ColonHyphenMinus ( (lv_body_6_0= ruleExpression ) ) ) | ( () otherlv_8= ColonEqualsSign ( (lv_body_9_0= ruleExpression ) ) ) ) this_FULL_STOP_10= RULE_FULL_STOP ) ) + // InternalSolverLanguageParser.g:452:2: (this_Expression_0= ruleExpression ( ( () (otherlv_2= Colon ( (lv_range_3_0= ruleExpression ) ) )? ) | ( () otherlv_5= ColonHyphenMinus ( (lv_body_6_0= ruleExpression ) ) ) | ( () otherlv_8= ColonEqualsSign ( (lv_body_9_0= ruleExpression ) ) ) ) this_FULL_STOP_10= RULE_FULL_STOP ) + { + // InternalSolverLanguageParser.g:452:2: (this_Expression_0= ruleExpression ( ( () (otherlv_2= Colon ( (lv_range_3_0= ruleExpression ) ) )? ) | ( () otherlv_5= ColonHyphenMinus ( (lv_body_6_0= ruleExpression ) ) ) | ( () otherlv_8= ColonEqualsSign ( (lv_body_9_0= ruleExpression ) ) ) ) this_FULL_STOP_10= RULE_FULL_STOP ) + // InternalSolverLanguageParser.g:453:3: this_Expression_0= ruleExpression ( ( () (otherlv_2= Colon ( (lv_range_3_0= ruleExpression ) ) )? ) | ( () otherlv_5= ColonHyphenMinus ( (lv_body_6_0= ruleExpression ) ) ) | ( () otherlv_8= ColonEqualsSign ( (lv_body_9_0= ruleExpression ) ) ) ) this_FULL_STOP_10= RULE_FULL_STOP + { + + newCompositeNode(grammarAccess.getAssertionOrDefinitionAccess().getExpressionParserRuleCall_0()); + + pushFollow(FOLLOW_9); + this_Expression_0=ruleExpression(); + + state._fsp--; + + + current = this_Expression_0; + afterParserOrEnumRuleCall(); + + // InternalSolverLanguageParser.g:461:3: ( ( () (otherlv_2= Colon ( (lv_range_3_0= ruleExpression ) ) )? ) | ( () otherlv_5= ColonHyphenMinus ( (lv_body_6_0= ruleExpression ) ) ) | ( () otherlv_8= ColonEqualsSign ( (lv_body_9_0= ruleExpression ) ) ) ) + int alt7=3; + switch ( input.LA(1) ) { + case Colon: + case RULE_FULL_STOP: + { + alt7=1; + } + break; + case ColonHyphenMinus: + { + alt7=2; + } + break; + case ColonEqualsSign: + { + alt7=3; + } + break; + default: + NoViableAltException nvae = + new NoViableAltException("", 7, 0, input); + + throw nvae; + } + + switch (alt7) { + case 1 : + // InternalSolverLanguageParser.g:462:4: ( () (otherlv_2= Colon ( (lv_range_3_0= ruleExpression ) ) )? ) + { + // InternalSolverLanguageParser.g:462:4: ( () (otherlv_2= Colon ( (lv_range_3_0= ruleExpression ) ) )? ) + // InternalSolverLanguageParser.g:463:5: () (otherlv_2= Colon ( (lv_range_3_0= ruleExpression ) ) )? + { + // InternalSolverLanguageParser.g:463:5: () + // InternalSolverLanguageParser.g:464:6: + { + + current = forceCreateModelElementAndSet( + grammarAccess.getAssertionOrDefinitionAccess().getAssertionExpressionAction_1_0_0(), + current); + + + } + + // InternalSolverLanguageParser.g:470:5: (otherlv_2= Colon ( (lv_range_3_0= ruleExpression ) ) )? + int alt6=2; + int LA6_0 = input.LA(1); + + if ( (LA6_0==Colon) ) { + alt6=1; } + switch (alt6) { + case 1 : + // InternalSolverLanguageParser.g:471:6: otherlv_2= Colon ( (lv_range_3_0= ruleExpression ) ) + { + otherlv_2=(Token)match(input,Colon,FOLLOW_10); + + newLeafNode(otherlv_2, grammarAccess.getAssertionOrDefinitionAccess().getColonKeyword_1_0_1_0()); + + // InternalSolverLanguageParser.g:475:6: ( (lv_range_3_0= ruleExpression ) ) + // InternalSolverLanguageParser.g:476:7: (lv_range_3_0= ruleExpression ) + { + // InternalSolverLanguageParser.g:476:7: (lv_range_3_0= ruleExpression ) + // InternalSolverLanguageParser.g:477:8: lv_range_3_0= ruleExpression + { + + newCompositeNode(grammarAccess.getAssertionOrDefinitionAccess().getRangeExpressionParserRuleCall_1_0_1_1_0()); + + pushFollow(FOLLOW_4); + lv_range_3_0=ruleExpression(); + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getAssertionOrDefinitionRule()); + } + set( + current, + "range", + lv_range_3_0, + "org.eclipse.viatra.solver.language.SolverLanguage.Expression"); + afterParserOrEnumRuleCall(); + + + } + + + } + + + } + break; } @@ -735,13 +1304,13 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } break; case 2 : - // InternalSolverLanguageParser.g:283:4: ( () otherlv_5= ColonHyphenMinus ( (lv_body_6_0= ruleExpression ) ) ) + // InternalSolverLanguageParser.g:497:4: ( () otherlv_5= ColonHyphenMinus ( (lv_body_6_0= ruleExpression ) ) ) { - // InternalSolverLanguageParser.g:283:4: ( () otherlv_5= ColonHyphenMinus ( (lv_body_6_0= ruleExpression ) ) ) - // InternalSolverLanguageParser.g:284:5: () otherlv_5= ColonHyphenMinus ( (lv_body_6_0= ruleExpression ) ) + // InternalSolverLanguageParser.g:497:4: ( () otherlv_5= ColonHyphenMinus ( (lv_body_6_0= ruleExpression ) ) ) + // InternalSolverLanguageParser.g:498:5: () otherlv_5= ColonHyphenMinus ( (lv_body_6_0= ruleExpression ) ) { - // InternalSolverLanguageParser.g:284:5: () - // InternalSolverLanguageParser.g:285:6: + // InternalSolverLanguageParser.g:498:5: () + // InternalSolverLanguageParser.g:499:6: { current = forceCreateModelElementAndSet( @@ -751,20 +1320,20 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } - otherlv_5=(Token)match(input,ColonHyphenMinus,FOLLOW_6); + otherlv_5=(Token)match(input,ColonHyphenMinus,FOLLOW_10); newLeafNode(otherlv_5, grammarAccess.getAssertionOrDefinitionAccess().getColonHyphenMinusKeyword_1_1_1()); - // InternalSolverLanguageParser.g:295:5: ( (lv_body_6_0= ruleExpression ) ) - // InternalSolverLanguageParser.g:296:6: (lv_body_6_0= ruleExpression ) + // InternalSolverLanguageParser.g:509:5: ( (lv_body_6_0= ruleExpression ) ) + // InternalSolverLanguageParser.g:510:6: (lv_body_6_0= ruleExpression ) { - // InternalSolverLanguageParser.g:296:6: (lv_body_6_0= ruleExpression ) - // InternalSolverLanguageParser.g:297:7: lv_body_6_0= ruleExpression + // InternalSolverLanguageParser.g:510:6: (lv_body_6_0= ruleExpression ) + // InternalSolverLanguageParser.g:511:7: lv_body_6_0= ruleExpression { newCompositeNode(grammarAccess.getAssertionOrDefinitionAccess().getBodyExpressionParserRuleCall_1_1_2_0()); - pushFollow(FOLLOW_2); + pushFollow(FOLLOW_4); lv_body_6_0=ruleExpression(); state._fsp--; @@ -793,36 +1362,36 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } break; case 3 : - // InternalSolverLanguageParser.g:316:4: ( () otherlv_8= EqualsSign ( (lv_body_9_0= ruleExpression ) ) ) + // InternalSolverLanguageParser.g:530:4: ( () otherlv_8= ColonEqualsSign ( (lv_body_9_0= ruleExpression ) ) ) { - // InternalSolverLanguageParser.g:316:4: ( () otherlv_8= EqualsSign ( (lv_body_9_0= ruleExpression ) ) ) - // InternalSolverLanguageParser.g:317:5: () otherlv_8= EqualsSign ( (lv_body_9_0= ruleExpression ) ) + // InternalSolverLanguageParser.g:530:4: ( () otherlv_8= ColonEqualsSign ( (lv_body_9_0= ruleExpression ) ) ) + // InternalSolverLanguageParser.g:531:5: () otherlv_8= ColonEqualsSign ( (lv_body_9_0= ruleExpression ) ) { - // InternalSolverLanguageParser.g:317:5: () - // InternalSolverLanguageParser.g:318:6: + // InternalSolverLanguageParser.g:531:5: () + // InternalSolverLanguageParser.g:532:6: { current = forceCreateModelElementAndSet( - grammarAccess.getAssertionOrDefinitionAccess().getMetricDefinitionHeadAction_1_2_0(), + grammarAccess.getAssertionOrDefinitionAccess().getFunctionDefinitionHeadAction_1_2_0(), current); } - otherlv_8=(Token)match(input,EqualsSign,FOLLOW_6); + otherlv_8=(Token)match(input,ColonEqualsSign,FOLLOW_10); - newLeafNode(otherlv_8, grammarAccess.getAssertionOrDefinitionAccess().getEqualsSignKeyword_1_2_1()); + newLeafNode(otherlv_8, grammarAccess.getAssertionOrDefinitionAccess().getColonEqualsSignKeyword_1_2_1()); - // InternalSolverLanguageParser.g:328:5: ( (lv_body_9_0= ruleExpression ) ) - // InternalSolverLanguageParser.g:329:6: (lv_body_9_0= ruleExpression ) + // InternalSolverLanguageParser.g:542:5: ( (lv_body_9_0= ruleExpression ) ) + // InternalSolverLanguageParser.g:543:6: (lv_body_9_0= ruleExpression ) { - // InternalSolverLanguageParser.g:329:6: (lv_body_9_0= ruleExpression ) - // InternalSolverLanguageParser.g:330:7: lv_body_9_0= ruleExpression + // InternalSolverLanguageParser.g:543:6: (lv_body_9_0= ruleExpression ) + // InternalSolverLanguageParser.g:544:7: lv_body_9_0= ruleExpression { newCompositeNode(grammarAccess.getAssertionOrDefinitionAccess().getBodyExpressionParserRuleCall_1_2_2_0()); - pushFollow(FOLLOW_2); + pushFollow(FOLLOW_4); lv_body_9_0=ruleExpression(); state._fsp--; @@ -853,6 +1422,10 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } + this_FULL_STOP_10=(Token)match(input,RULE_FULL_STOP,FOLLOW_2); + + newLeafNode(this_FULL_STOP_10, grammarAccess.getAssertionOrDefinitionAccess().getFULL_STOPTerminalRuleCall_2()); + } @@ -876,7 +1449,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRulePredicateDefinition" - // InternalSolverLanguageParser.g:353:1: entryRulePredicateDefinition returns [EObject current=null] : iv_rulePredicateDefinition= rulePredicateDefinition EOF ; + // InternalSolverLanguageParser.g:571:1: entryRulePredicateDefinition returns [EObject current=null] : iv_rulePredicateDefinition= rulePredicateDefinition EOF ; public final EObject entryRulePredicateDefinition() throws RecognitionException { EObject current = null; @@ -884,8 +1457,8 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { try { - // InternalSolverLanguageParser.g:353:60: (iv_rulePredicateDefinition= rulePredicateDefinition EOF ) - // InternalSolverLanguageParser.g:354:2: iv_rulePredicateDefinition= rulePredicateDefinition EOF + // InternalSolverLanguageParser.g:571:60: (iv_rulePredicateDefinition= rulePredicateDefinition EOF ) + // InternalSolverLanguageParser.g:572:2: iv_rulePredicateDefinition= rulePredicateDefinition EOF { newCompositeNode(grammarAccess.getPredicateDefinitionRule()); pushFollow(FOLLOW_1); @@ -912,7 +1485,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "rulePredicateDefinition" - // InternalSolverLanguageParser.g:360:1: rulePredicateDefinition returns [EObject current=null] : ( ( ( ( (lv_functional_0_0= Functional ) ) ( (lv_error_1_0= Error ) )? ) | ( ( (lv_error_2_0= Error ) ) ( (lv_functional_3_0= Functional ) )? ) ) ( (lv_head_4_0= ruleCall ) ) otherlv_5= ColonHyphenMinus ( (lv_body_6_0= ruleExpression ) ) ) ; + // InternalSolverLanguageParser.g:578:1: rulePredicateDefinition returns [EObject current=null] : ( ( ( ( (lv_functional_0_0= Functional ) ) ( (lv_error_1_0= Error ) )? ) | ( ( (lv_error_2_0= Error ) ) ( (lv_functional_3_0= Functional ) )? ) ) ( (lv_head_4_0= ruleCall ) ) otherlv_5= ColonHyphenMinus ( (lv_body_6_0= ruleExpression ) ) this_FULL_STOP_7= RULE_FULL_STOP ) ; public final EObject rulePredicateDefinition() throws RecognitionException { EObject current = null; @@ -921,6 +1494,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { Token lv_error_2_0=null; Token lv_functional_3_0=null; Token otherlv_5=null; + Token this_FULL_STOP_7=null; EObject lv_head_4_0 = null; EObject lv_body_6_0 = null; @@ -930,42 +1504,42 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { enterRule(); try { - // InternalSolverLanguageParser.g:366:2: ( ( ( ( ( (lv_functional_0_0= Functional ) ) ( (lv_error_1_0= Error ) )? ) | ( ( (lv_error_2_0= Error ) ) ( (lv_functional_3_0= Functional ) )? ) ) ( (lv_head_4_0= ruleCall ) ) otherlv_5= ColonHyphenMinus ( (lv_body_6_0= ruleExpression ) ) ) ) - // InternalSolverLanguageParser.g:367:2: ( ( ( ( (lv_functional_0_0= Functional ) ) ( (lv_error_1_0= Error ) )? ) | ( ( (lv_error_2_0= Error ) ) ( (lv_functional_3_0= Functional ) )? ) ) ( (lv_head_4_0= ruleCall ) ) otherlv_5= ColonHyphenMinus ( (lv_body_6_0= ruleExpression ) ) ) + // InternalSolverLanguageParser.g:584:2: ( ( ( ( ( (lv_functional_0_0= Functional ) ) ( (lv_error_1_0= Error ) )? ) | ( ( (lv_error_2_0= Error ) ) ( (lv_functional_3_0= Functional ) )? ) ) ( (lv_head_4_0= ruleCall ) ) otherlv_5= ColonHyphenMinus ( (lv_body_6_0= ruleExpression ) ) this_FULL_STOP_7= RULE_FULL_STOP ) ) + // InternalSolverLanguageParser.g:585:2: ( ( ( ( (lv_functional_0_0= Functional ) ) ( (lv_error_1_0= Error ) )? ) | ( ( (lv_error_2_0= Error ) ) ( (lv_functional_3_0= Functional ) )? ) ) ( (lv_head_4_0= ruleCall ) ) otherlv_5= ColonHyphenMinus ( (lv_body_6_0= ruleExpression ) ) this_FULL_STOP_7= RULE_FULL_STOP ) { - // InternalSolverLanguageParser.g:367:2: ( ( ( ( (lv_functional_0_0= Functional ) ) ( (lv_error_1_0= Error ) )? ) | ( ( (lv_error_2_0= Error ) ) ( (lv_functional_3_0= Functional ) )? ) ) ( (lv_head_4_0= ruleCall ) ) otherlv_5= ColonHyphenMinus ( (lv_body_6_0= ruleExpression ) ) ) - // InternalSolverLanguageParser.g:368:3: ( ( ( (lv_functional_0_0= Functional ) ) ( (lv_error_1_0= Error ) )? ) | ( ( (lv_error_2_0= Error ) ) ( (lv_functional_3_0= Functional ) )? ) ) ( (lv_head_4_0= ruleCall ) ) otherlv_5= ColonHyphenMinus ( (lv_body_6_0= ruleExpression ) ) + // InternalSolverLanguageParser.g:585:2: ( ( ( ( (lv_functional_0_0= Functional ) ) ( (lv_error_1_0= Error ) )? ) | ( ( (lv_error_2_0= Error ) ) ( (lv_functional_3_0= Functional ) )? ) ) ( (lv_head_4_0= ruleCall ) ) otherlv_5= ColonHyphenMinus ( (lv_body_6_0= ruleExpression ) ) this_FULL_STOP_7= RULE_FULL_STOP ) + // InternalSolverLanguageParser.g:586:3: ( ( ( (lv_functional_0_0= Functional ) ) ( (lv_error_1_0= Error ) )? ) | ( ( (lv_error_2_0= Error ) ) ( (lv_functional_3_0= Functional ) )? ) ) ( (lv_head_4_0= ruleCall ) ) otherlv_5= ColonHyphenMinus ( (lv_body_6_0= ruleExpression ) ) this_FULL_STOP_7= RULE_FULL_STOP { - // InternalSolverLanguageParser.g:368:3: ( ( ( (lv_functional_0_0= Functional ) ) ( (lv_error_1_0= Error ) )? ) | ( ( (lv_error_2_0= Error ) ) ( (lv_functional_3_0= Functional ) )? ) ) - int alt6=2; - int LA6_0 = input.LA(1); + // InternalSolverLanguageParser.g:586:3: ( ( ( (lv_functional_0_0= Functional ) ) ( (lv_error_1_0= Error ) )? ) | ( ( (lv_error_2_0= Error ) ) ( (lv_functional_3_0= Functional ) )? ) ) + int alt10=2; + int LA10_0 = input.LA(1); - if ( (LA6_0==Functional) ) { - alt6=1; + if ( (LA10_0==Functional) ) { + alt10=1; } - else if ( (LA6_0==Error) ) { - alt6=2; + else if ( (LA10_0==Error) ) { + alt10=2; } else { NoViableAltException nvae = - new NoViableAltException("", 6, 0, input); + new NoViableAltException("", 10, 0, input); throw nvae; } - switch (alt6) { + switch (alt10) { case 1 : - // InternalSolverLanguageParser.g:369:4: ( ( (lv_functional_0_0= Functional ) ) ( (lv_error_1_0= Error ) )? ) + // InternalSolverLanguageParser.g:587:4: ( ( (lv_functional_0_0= Functional ) ) ( (lv_error_1_0= Error ) )? ) { - // InternalSolverLanguageParser.g:369:4: ( ( (lv_functional_0_0= Functional ) ) ( (lv_error_1_0= Error ) )? ) - // InternalSolverLanguageParser.g:370:5: ( (lv_functional_0_0= Functional ) ) ( (lv_error_1_0= Error ) )? + // InternalSolverLanguageParser.g:587:4: ( ( (lv_functional_0_0= Functional ) ) ( (lv_error_1_0= Error ) )? ) + // InternalSolverLanguageParser.g:588:5: ( (lv_functional_0_0= Functional ) ) ( (lv_error_1_0= Error ) )? { - // InternalSolverLanguageParser.g:370:5: ( (lv_functional_0_0= Functional ) ) - // InternalSolverLanguageParser.g:371:6: (lv_functional_0_0= Functional ) + // InternalSolverLanguageParser.g:588:5: ( (lv_functional_0_0= Functional ) ) + // InternalSolverLanguageParser.g:589:6: (lv_functional_0_0= Functional ) { - // InternalSolverLanguageParser.g:371:6: (lv_functional_0_0= Functional ) - // InternalSolverLanguageParser.g:372:7: lv_functional_0_0= Functional + // InternalSolverLanguageParser.g:589:6: (lv_functional_0_0= Functional ) + // InternalSolverLanguageParser.g:590:7: lv_functional_0_0= Functional { - lv_functional_0_0=(Token)match(input,Functional,FOLLOW_7); + lv_functional_0_0=(Token)match(input,Functional,FOLLOW_11); newLeafNode(lv_functional_0_0, grammarAccess.getPredicateDefinitionAccess().getFunctionalFunctionalKeyword_0_0_0_0()); @@ -981,21 +1555,21 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } - // InternalSolverLanguageParser.g:384:5: ( (lv_error_1_0= Error ) )? - int alt4=2; - int LA4_0 = input.LA(1); + // InternalSolverLanguageParser.g:602:5: ( (lv_error_1_0= Error ) )? + int alt8=2; + int LA8_0 = input.LA(1); - if ( (LA4_0==Error) ) { - alt4=1; + if ( (LA8_0==Error) ) { + alt8=1; } - switch (alt4) { + switch (alt8) { case 1 : - // InternalSolverLanguageParser.g:385:6: (lv_error_1_0= Error ) + // InternalSolverLanguageParser.g:603:6: (lv_error_1_0= Error ) { - // InternalSolverLanguageParser.g:385:6: (lv_error_1_0= Error ) - // InternalSolverLanguageParser.g:386:7: lv_error_1_0= Error + // InternalSolverLanguageParser.g:603:6: (lv_error_1_0= Error ) + // InternalSolverLanguageParser.g:604:7: lv_error_1_0= Error { - lv_error_1_0=(Token)match(input,Error,FOLLOW_8); + lv_error_1_0=(Token)match(input,Error,FOLLOW_12); newLeafNode(lv_error_1_0, grammarAccess.getPredicateDefinitionAccess().getErrorErrorKeyword_0_0_1_0()); @@ -1021,18 +1595,18 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } break; case 2 : - // InternalSolverLanguageParser.g:400:4: ( ( (lv_error_2_0= Error ) ) ( (lv_functional_3_0= Functional ) )? ) + // InternalSolverLanguageParser.g:618:4: ( ( (lv_error_2_0= Error ) ) ( (lv_functional_3_0= Functional ) )? ) { - // InternalSolverLanguageParser.g:400:4: ( ( (lv_error_2_0= Error ) ) ( (lv_functional_3_0= Functional ) )? ) - // InternalSolverLanguageParser.g:401:5: ( (lv_error_2_0= Error ) ) ( (lv_functional_3_0= Functional ) )? + // InternalSolverLanguageParser.g:618:4: ( ( (lv_error_2_0= Error ) ) ( (lv_functional_3_0= Functional ) )? ) + // InternalSolverLanguageParser.g:619:5: ( (lv_error_2_0= Error ) ) ( (lv_functional_3_0= Functional ) )? { - // InternalSolverLanguageParser.g:401:5: ( (lv_error_2_0= Error ) ) - // InternalSolverLanguageParser.g:402:6: (lv_error_2_0= Error ) + // InternalSolverLanguageParser.g:619:5: ( (lv_error_2_0= Error ) ) + // InternalSolverLanguageParser.g:620:6: (lv_error_2_0= Error ) { - // InternalSolverLanguageParser.g:402:6: (lv_error_2_0= Error ) - // InternalSolverLanguageParser.g:403:7: lv_error_2_0= Error + // InternalSolverLanguageParser.g:620:6: (lv_error_2_0= Error ) + // InternalSolverLanguageParser.g:621:7: lv_error_2_0= Error { - lv_error_2_0=(Token)match(input,Error,FOLLOW_9); + lv_error_2_0=(Token)match(input,Error,FOLLOW_13); newLeafNode(lv_error_2_0, grammarAccess.getPredicateDefinitionAccess().getErrorErrorKeyword_0_1_0_0()); @@ -1048,71 +1622,226 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } - // InternalSolverLanguageParser.g:415:5: ( (lv_functional_3_0= Functional ) )? - int alt5=2; - int LA5_0 = input.LA(1); + // InternalSolverLanguageParser.g:633:5: ( (lv_functional_3_0= Functional ) )? + int alt9=2; + int LA9_0 = input.LA(1); - if ( (LA5_0==Functional) ) { - alt5=1; + if ( (LA9_0==Functional) ) { + alt9=1; } - switch (alt5) { + switch (alt9) { case 1 : - // InternalSolverLanguageParser.g:416:6: (lv_functional_3_0= Functional ) + // InternalSolverLanguageParser.g:634:6: (lv_functional_3_0= Functional ) { - // InternalSolverLanguageParser.g:416:6: (lv_functional_3_0= Functional ) - // InternalSolverLanguageParser.g:417:7: lv_functional_3_0= Functional + // InternalSolverLanguageParser.g:634:6: (lv_functional_3_0= Functional ) + // InternalSolverLanguageParser.g:635:7: lv_functional_3_0= Functional { - lv_functional_3_0=(Token)match(input,Functional,FOLLOW_8); + lv_functional_3_0=(Token)match(input,Functional,FOLLOW_12); + + newLeafNode(lv_functional_3_0, grammarAccess.getPredicateDefinitionAccess().getFunctionalFunctionalKeyword_0_1_1_0()); + + + if (current==null) { + current = createModelElement(grammarAccess.getPredicateDefinitionRule()); + } + setWithLastConsumed(current, "functional", true, "functional"); + + + } + + + } + break; + + } + + + } + + + } + break; + + } + + // InternalSolverLanguageParser.g:649:3: ( (lv_head_4_0= ruleCall ) ) + // InternalSolverLanguageParser.g:650:4: (lv_head_4_0= ruleCall ) + { + // InternalSolverLanguageParser.g:650:4: (lv_head_4_0= ruleCall ) + // InternalSolverLanguageParser.g:651:5: lv_head_4_0= ruleCall + { + + newCompositeNode(grammarAccess.getPredicateDefinitionAccess().getHeadCallParserRuleCall_1_0()); + + pushFollow(FOLLOW_14); + lv_head_4_0=ruleCall(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getPredicateDefinitionRule()); + } + set( + current, + "head", + lv_head_4_0, + "org.eclipse.viatra.solver.language.SolverLanguage.Call"); + afterParserOrEnumRuleCall(); + + + } + + + } + + otherlv_5=(Token)match(input,ColonHyphenMinus,FOLLOW_10); + + newLeafNode(otherlv_5, grammarAccess.getPredicateDefinitionAccess().getColonHyphenMinusKeyword_2()); + + // InternalSolverLanguageParser.g:672:3: ( (lv_body_6_0= ruleExpression ) ) + // InternalSolverLanguageParser.g:673:4: (lv_body_6_0= ruleExpression ) + { + // InternalSolverLanguageParser.g:673:4: (lv_body_6_0= ruleExpression ) + // InternalSolverLanguageParser.g:674:5: lv_body_6_0= ruleExpression + { + + newCompositeNode(grammarAccess.getPredicateDefinitionAccess().getBodyExpressionParserRuleCall_3_0()); + + pushFollow(FOLLOW_4); + lv_body_6_0=ruleExpression(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getPredicateDefinitionRule()); + } + set( + current, + "body", + lv_body_6_0, + "org.eclipse.viatra.solver.language.SolverLanguage.Expression"); + afterParserOrEnumRuleCall(); + + + } + + + } + + this_FULL_STOP_7=(Token)match(input,RULE_FULL_STOP,FOLLOW_2); + + newLeafNode(this_FULL_STOP_7, grammarAccess.getPredicateDefinitionAccess().getFULL_STOPTerminalRuleCall_4()); + + + } + + + } + + + leaveRule(); + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "rulePredicateDefinition" + + + // $ANTLR start "entryRuleUnnamedErrorPredicateDefintion" + // InternalSolverLanguageParser.g:699:1: entryRuleUnnamedErrorPredicateDefintion returns [EObject current=null] : iv_ruleUnnamedErrorPredicateDefintion= ruleUnnamedErrorPredicateDefintion EOF ; + public final EObject entryRuleUnnamedErrorPredicateDefintion() throws RecognitionException { + EObject current = null; + + EObject iv_ruleUnnamedErrorPredicateDefintion = null; + + + try { + // InternalSolverLanguageParser.g:699:71: (iv_ruleUnnamedErrorPredicateDefintion= ruleUnnamedErrorPredicateDefintion EOF ) + // InternalSolverLanguageParser.g:700:2: iv_ruleUnnamedErrorPredicateDefintion= ruleUnnamedErrorPredicateDefintion EOF + { + newCompositeNode(grammarAccess.getUnnamedErrorPredicateDefintionRule()); + pushFollow(FOLLOW_1); + iv_ruleUnnamedErrorPredicateDefintion=ruleUnnamedErrorPredicateDefintion(); + + state._fsp--; + + current =iv_ruleUnnamedErrorPredicateDefintion; + match(input,EOF,FOLLOW_2); - newLeafNode(lv_functional_3_0, grammarAccess.getPredicateDefinitionAccess().getFunctionalFunctionalKeyword_0_1_1_0()); - + } - if (current==null) { - current = createModelElement(grammarAccess.getPredicateDefinitionRule()); - } - setWithLastConsumed(current, "functional", true, "functional"); - + } - } + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleUnnamedErrorPredicateDefintion" - } - break; + // $ANTLR start "ruleUnnamedErrorPredicateDefintion" + // InternalSolverLanguageParser.g:706:1: ruleUnnamedErrorPredicateDefintion returns [EObject current=null] : (otherlv_0= Error ( (lv_argumentList_1_0= ruleArgumentList ) ) otherlv_2= ColonHyphenMinus ( (lv_body_3_0= ruleExpression ) ) this_FULL_STOP_4= RULE_FULL_STOP ) ; + public final EObject ruleUnnamedErrorPredicateDefintion() throws RecognitionException { + EObject current = null; - } + Token otherlv_0=null; + Token otherlv_2=null; + Token this_FULL_STOP_4=null; + EObject lv_argumentList_1_0 = null; + EObject lv_body_3_0 = null; - } - } - break; + enterRule(); - } + try { + // InternalSolverLanguageParser.g:712:2: ( (otherlv_0= Error ( (lv_argumentList_1_0= ruleArgumentList ) ) otherlv_2= ColonHyphenMinus ( (lv_body_3_0= ruleExpression ) ) this_FULL_STOP_4= RULE_FULL_STOP ) ) + // InternalSolverLanguageParser.g:713:2: (otherlv_0= Error ( (lv_argumentList_1_0= ruleArgumentList ) ) otherlv_2= ColonHyphenMinus ( (lv_body_3_0= ruleExpression ) ) this_FULL_STOP_4= RULE_FULL_STOP ) + { + // InternalSolverLanguageParser.g:713:2: (otherlv_0= Error ( (lv_argumentList_1_0= ruleArgumentList ) ) otherlv_2= ColonHyphenMinus ( (lv_body_3_0= ruleExpression ) ) this_FULL_STOP_4= RULE_FULL_STOP ) + // InternalSolverLanguageParser.g:714:3: otherlv_0= Error ( (lv_argumentList_1_0= ruleArgumentList ) ) otherlv_2= ColonHyphenMinus ( (lv_body_3_0= ruleExpression ) ) this_FULL_STOP_4= RULE_FULL_STOP + { + otherlv_0=(Token)match(input,Error,FOLLOW_15); - // InternalSolverLanguageParser.g:431:3: ( (lv_head_4_0= ruleCall ) ) - // InternalSolverLanguageParser.g:432:4: (lv_head_4_0= ruleCall ) + newLeafNode(otherlv_0, grammarAccess.getUnnamedErrorPredicateDefintionAccess().getErrorKeyword_0()); + + // InternalSolverLanguageParser.g:718:3: ( (lv_argumentList_1_0= ruleArgumentList ) ) + // InternalSolverLanguageParser.g:719:4: (lv_argumentList_1_0= ruleArgumentList ) { - // InternalSolverLanguageParser.g:432:4: (lv_head_4_0= ruleCall ) - // InternalSolverLanguageParser.g:433:5: lv_head_4_0= ruleCall + // InternalSolverLanguageParser.g:719:4: (lv_argumentList_1_0= ruleArgumentList ) + // InternalSolverLanguageParser.g:720:5: lv_argumentList_1_0= ruleArgumentList { - newCompositeNode(grammarAccess.getPredicateDefinitionAccess().getHeadCallParserRuleCall_1_0()); + newCompositeNode(grammarAccess.getUnnamedErrorPredicateDefintionAccess().getArgumentListArgumentListParserRuleCall_1_0()); - pushFollow(FOLLOW_10); - lv_head_4_0=ruleCall(); + pushFollow(FOLLOW_14); + lv_argumentList_1_0=ruleArgumentList(); state._fsp--; if (current==null) { - current = createModelElementForParent(grammarAccess.getPredicateDefinitionRule()); + current = createModelElementForParent(grammarAccess.getUnnamedErrorPredicateDefintionRule()); } set( current, - "head", - lv_head_4_0, - "org.eclipse.viatra.solver.language.SolverLanguage.Call"); + "argumentList", + lv_argumentList_1_0, + "org.eclipse.viatra.solver.language.SolverLanguage.ArgumentList"); afterParserOrEnumRuleCall(); @@ -1121,32 +1850,32 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } - otherlv_5=(Token)match(input,ColonHyphenMinus,FOLLOW_6); + otherlv_2=(Token)match(input,ColonHyphenMinus,FOLLOW_10); - newLeafNode(otherlv_5, grammarAccess.getPredicateDefinitionAccess().getColonHyphenMinusKeyword_2()); + newLeafNode(otherlv_2, grammarAccess.getUnnamedErrorPredicateDefintionAccess().getColonHyphenMinusKeyword_2()); - // InternalSolverLanguageParser.g:454:3: ( (lv_body_6_0= ruleExpression ) ) - // InternalSolverLanguageParser.g:455:4: (lv_body_6_0= ruleExpression ) + // InternalSolverLanguageParser.g:741:3: ( (lv_body_3_0= ruleExpression ) ) + // InternalSolverLanguageParser.g:742:4: (lv_body_3_0= ruleExpression ) { - // InternalSolverLanguageParser.g:455:4: (lv_body_6_0= ruleExpression ) - // InternalSolverLanguageParser.g:456:5: lv_body_6_0= ruleExpression + // InternalSolverLanguageParser.g:742:4: (lv_body_3_0= ruleExpression ) + // InternalSolverLanguageParser.g:743:5: lv_body_3_0= ruleExpression { - newCompositeNode(grammarAccess.getPredicateDefinitionAccess().getBodyExpressionParserRuleCall_3_0()); + newCompositeNode(grammarAccess.getUnnamedErrorPredicateDefintionAccess().getBodyExpressionParserRuleCall_3_0()); - pushFollow(FOLLOW_2); - lv_body_6_0=ruleExpression(); + pushFollow(FOLLOW_4); + lv_body_3_0=ruleExpression(); state._fsp--; if (current==null) { - current = createModelElementForParent(grammarAccess.getPredicateDefinitionRule()); + current = createModelElementForParent(grammarAccess.getUnnamedErrorPredicateDefintionRule()); } set( current, "body", - lv_body_6_0, + lv_body_3_0, "org.eclipse.viatra.solver.language.SolverLanguage.Expression"); afterParserOrEnumRuleCall(); @@ -1156,6 +1885,10 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } + this_FULL_STOP_4=(Token)match(input,RULE_FULL_STOP,FOLLOW_2); + + newLeafNode(this_FULL_STOP_4, grammarAccess.getUnnamedErrorPredicateDefintionAccess().getFULL_STOPTerminalRuleCall_4()); + } @@ -1175,28 +1908,28 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } return current; } - // $ANTLR end "rulePredicateDefinition" + // $ANTLR end "ruleUnnamedErrorPredicateDefintion" - // $ANTLR start "entryRuleUnnamedErrorPrediateDefinition" - // InternalSolverLanguageParser.g:477:1: entryRuleUnnamedErrorPrediateDefinition returns [EObject current=null] : iv_ruleUnnamedErrorPrediateDefinition= ruleUnnamedErrorPrediateDefinition EOF ; - public final EObject entryRuleUnnamedErrorPrediateDefinition() throws RecognitionException { + // $ANTLR start "entryRuleDefaultAssertion" + // InternalSolverLanguageParser.g:768:1: entryRuleDefaultAssertion returns [EObject current=null] : iv_ruleDefaultAssertion= ruleDefaultAssertion EOF ; + public final EObject entryRuleDefaultAssertion() throws RecognitionException { EObject current = null; - EObject iv_ruleUnnamedErrorPrediateDefinition = null; + EObject iv_ruleDefaultAssertion = null; try { - // InternalSolverLanguageParser.g:477:71: (iv_ruleUnnamedErrorPrediateDefinition= ruleUnnamedErrorPrediateDefinition EOF ) - // InternalSolverLanguageParser.g:478:2: iv_ruleUnnamedErrorPrediateDefinition= ruleUnnamedErrorPrediateDefinition EOF + // InternalSolverLanguageParser.g:768:57: (iv_ruleDefaultAssertion= ruleDefaultAssertion EOF ) + // InternalSolverLanguageParser.g:769:2: iv_ruleDefaultAssertion= ruleDefaultAssertion EOF { - newCompositeNode(grammarAccess.getUnnamedErrorPrediateDefinitionRule()); + newCompositeNode(grammarAccess.getDefaultAssertionRule()); pushFollow(FOLLOW_1); - iv_ruleUnnamedErrorPrediateDefinition=ruleUnnamedErrorPrediateDefinition(); + iv_ruleDefaultAssertion=ruleDefaultAssertion(); state._fsp--; - current =iv_ruleUnnamedErrorPrediateDefinition; + current =iv_ruleDefaultAssertion; match(input,EOF,FOLLOW_2); } @@ -1211,58 +1944,59 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } return current; } - // $ANTLR end "entryRuleUnnamedErrorPrediateDefinition" + // $ANTLR end "entryRuleDefaultAssertion" - // $ANTLR start "ruleUnnamedErrorPrediateDefinition" - // InternalSolverLanguageParser.g:484:1: ruleUnnamedErrorPrediateDefinition returns [EObject current=null] : (otherlv_0= Error ( (lv_argumentList_1_0= ruleArgumentList ) ) otherlv_2= ColonHyphenMinus ( (lv_body_3_0= ruleExpression ) ) ) ; - public final EObject ruleUnnamedErrorPrediateDefinition() throws RecognitionException { + // $ANTLR start "ruleDefaultAssertion" + // InternalSolverLanguageParser.g:775:1: ruleDefaultAssertion returns [EObject current=null] : (otherlv_0= Default ( (lv_expression_1_0= ruleCall ) ) (otherlv_2= Colon ( (lv_range_3_0= ruleExpression ) ) )? this_FULL_STOP_4= RULE_FULL_STOP ) ; + public final EObject ruleDefaultAssertion() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token otherlv_2=null; - EObject lv_argumentList_1_0 = null; + Token this_FULL_STOP_4=null; + EObject lv_expression_1_0 = null; - EObject lv_body_3_0 = null; + EObject lv_range_3_0 = null; enterRule(); try { - // InternalSolverLanguageParser.g:490:2: ( (otherlv_0= Error ( (lv_argumentList_1_0= ruleArgumentList ) ) otherlv_2= ColonHyphenMinus ( (lv_body_3_0= ruleExpression ) ) ) ) - // InternalSolverLanguageParser.g:491:2: (otherlv_0= Error ( (lv_argumentList_1_0= ruleArgumentList ) ) otherlv_2= ColonHyphenMinus ( (lv_body_3_0= ruleExpression ) ) ) + // InternalSolverLanguageParser.g:781:2: ( (otherlv_0= Default ( (lv_expression_1_0= ruleCall ) ) (otherlv_2= Colon ( (lv_range_3_0= ruleExpression ) ) )? this_FULL_STOP_4= RULE_FULL_STOP ) ) + // InternalSolverLanguageParser.g:782:2: (otherlv_0= Default ( (lv_expression_1_0= ruleCall ) ) (otherlv_2= Colon ( (lv_range_3_0= ruleExpression ) ) )? this_FULL_STOP_4= RULE_FULL_STOP ) { - // InternalSolverLanguageParser.g:491:2: (otherlv_0= Error ( (lv_argumentList_1_0= ruleArgumentList ) ) otherlv_2= ColonHyphenMinus ( (lv_body_3_0= ruleExpression ) ) ) - // InternalSolverLanguageParser.g:492:3: otherlv_0= Error ( (lv_argumentList_1_0= ruleArgumentList ) ) otherlv_2= ColonHyphenMinus ( (lv_body_3_0= ruleExpression ) ) + // InternalSolverLanguageParser.g:782:2: (otherlv_0= Default ( (lv_expression_1_0= ruleCall ) ) (otherlv_2= Colon ( (lv_range_3_0= ruleExpression ) ) )? this_FULL_STOP_4= RULE_FULL_STOP ) + // InternalSolverLanguageParser.g:783:3: otherlv_0= Default ( (lv_expression_1_0= ruleCall ) ) (otherlv_2= Colon ( (lv_range_3_0= ruleExpression ) ) )? this_FULL_STOP_4= RULE_FULL_STOP { - otherlv_0=(Token)match(input,Error,FOLLOW_11); + otherlv_0=(Token)match(input,Default,FOLLOW_12); - newLeafNode(otherlv_0, grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getErrorKeyword_0()); + newLeafNode(otherlv_0, grammarAccess.getDefaultAssertionAccess().getDefaultKeyword_0()); - // InternalSolverLanguageParser.g:496:3: ( (lv_argumentList_1_0= ruleArgumentList ) ) - // InternalSolverLanguageParser.g:497:4: (lv_argumentList_1_0= ruleArgumentList ) + // InternalSolverLanguageParser.g:787:3: ( (lv_expression_1_0= ruleCall ) ) + // InternalSolverLanguageParser.g:788:4: (lv_expression_1_0= ruleCall ) { - // InternalSolverLanguageParser.g:497:4: (lv_argumentList_1_0= ruleArgumentList ) - // InternalSolverLanguageParser.g:498:5: lv_argumentList_1_0= ruleArgumentList + // InternalSolverLanguageParser.g:788:4: (lv_expression_1_0= ruleCall ) + // InternalSolverLanguageParser.g:789:5: lv_expression_1_0= ruleCall { - newCompositeNode(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getArgumentListArgumentListParserRuleCall_1_0()); + newCompositeNode(grammarAccess.getDefaultAssertionAccess().getExpressionCallParserRuleCall_1_0()); - pushFollow(FOLLOW_10); - lv_argumentList_1_0=ruleArgumentList(); + pushFollow(FOLLOW_16); + lv_expression_1_0=ruleCall(); state._fsp--; if (current==null) { - current = createModelElementForParent(grammarAccess.getUnnamedErrorPrediateDefinitionRule()); + current = createModelElementForParent(grammarAccess.getDefaultAssertionRule()); } set( current, - "argumentList", - lv_argumentList_1_0, - "org.eclipse.viatra.solver.language.SolverLanguage.ArgumentList"); + "expression", + lv_expression_1_0, + "org.eclipse.viatra.solver.language.SolverLanguage.Call"); afterParserOrEnumRuleCall(); @@ -1271,41 +2005,62 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } - otherlv_2=(Token)match(input,ColonHyphenMinus,FOLLOW_6); + // InternalSolverLanguageParser.g:806:3: (otherlv_2= Colon ( (lv_range_3_0= ruleExpression ) ) )? + int alt11=2; + int LA11_0 = input.LA(1); - newLeafNode(otherlv_2, grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getColonHyphenMinusKeyword_2()); - - // InternalSolverLanguageParser.g:519:3: ( (lv_body_3_0= ruleExpression ) ) - // InternalSolverLanguageParser.g:520:4: (lv_body_3_0= ruleExpression ) - { - // InternalSolverLanguageParser.g:520:4: (lv_body_3_0= ruleExpression ) - // InternalSolverLanguageParser.g:521:5: lv_body_3_0= ruleExpression - { + if ( (LA11_0==Colon) ) { + alt11=1; + } + switch (alt11) { + case 1 : + // InternalSolverLanguageParser.g:807:4: otherlv_2= Colon ( (lv_range_3_0= ruleExpression ) ) + { + otherlv_2=(Token)match(input,Colon,FOLLOW_10); - newCompositeNode(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getBodyExpressionParserRuleCall_3_0()); - - pushFollow(FOLLOW_2); - lv_body_3_0=ruleExpression(); + newLeafNode(otherlv_2, grammarAccess.getDefaultAssertionAccess().getColonKeyword_2_0()); + + // InternalSolverLanguageParser.g:811:4: ( (lv_range_3_0= ruleExpression ) ) + // InternalSolverLanguageParser.g:812:5: (lv_range_3_0= ruleExpression ) + { + // InternalSolverLanguageParser.g:812:5: (lv_range_3_0= ruleExpression ) + // InternalSolverLanguageParser.g:813:6: lv_range_3_0= ruleExpression + { - state._fsp--; + newCompositeNode(grammarAccess.getDefaultAssertionAccess().getRangeExpressionParserRuleCall_2_1_0()); + + pushFollow(FOLLOW_4); + lv_range_3_0=ruleExpression(); + state._fsp--; - if (current==null) { - current = createModelElementForParent(grammarAccess.getUnnamedErrorPrediateDefinitionRule()); - } - set( - current, - "body", - lv_body_3_0, - "org.eclipse.viatra.solver.language.SolverLanguage.Expression"); - afterParserOrEnumRuleCall(); - - } + if (current==null) { + current = createModelElementForParent(grammarAccess.getDefaultAssertionRule()); + } + set( + current, + "range", + lv_range_3_0, + "org.eclipse.viatra.solver.language.SolverLanguage.Expression"); + afterParserOrEnumRuleCall(); + + + } + + + } + + } + break; } + this_FULL_STOP_4=(Token)match(input,RULE_FULL_STOP,FOLLOW_2); + + newLeafNode(this_FULL_STOP_4, grammarAccess.getDefaultAssertionAccess().getFULL_STOPTerminalRuleCall_3()); + } @@ -1325,28 +2080,28 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } return current; } - // $ANTLR end "ruleUnnamedErrorPrediateDefinition" + // $ANTLR end "ruleDefaultAssertion" - // $ANTLR start "entryRuleDefaultDefinition" - // InternalSolverLanguageParser.g:542:1: entryRuleDefaultDefinition returns [EObject current=null] : iv_ruleDefaultDefinition= ruleDefaultDefinition EOF ; - public final EObject entryRuleDefaultDefinition() throws RecognitionException { + // $ANTLR start "entryRuleFunctionDefinition" + // InternalSolverLanguageParser.g:839:1: entryRuleFunctionDefinition returns [EObject current=null] : iv_ruleFunctionDefinition= ruleFunctionDefinition EOF ; + public final EObject entryRuleFunctionDefinition() throws RecognitionException { EObject current = null; - EObject iv_ruleDefaultDefinition = null; + EObject iv_ruleFunctionDefinition = null; try { - // InternalSolverLanguageParser.g:542:58: (iv_ruleDefaultDefinition= ruleDefaultDefinition EOF ) - // InternalSolverLanguageParser.g:543:2: iv_ruleDefaultDefinition= ruleDefaultDefinition EOF + // InternalSolverLanguageParser.g:839:59: (iv_ruleFunctionDefinition= ruleFunctionDefinition EOF ) + // InternalSolverLanguageParser.g:840:2: iv_ruleFunctionDefinition= ruleFunctionDefinition EOF { - newCompositeNode(grammarAccess.getDefaultDefinitionRule()); + newCompositeNode(grammarAccess.getFunctionDefinitionRule()); pushFollow(FOLLOW_1); - iv_ruleDefaultDefinition=ruleDefaultDefinition(); + iv_ruleFunctionDefinition=ruleFunctionDefinition(); state._fsp--; - current =iv_ruleDefaultDefinition; + current =iv_ruleFunctionDefinition; match(input,EOF,FOLLOW_2); } @@ -1361,52 +2116,76 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } return current; } - // $ANTLR end "entryRuleDefaultDefinition" + // $ANTLR end "entryRuleFunctionDefinition" - // $ANTLR start "ruleDefaultDefinition" - // InternalSolverLanguageParser.g:549:1: ruleDefaultDefinition returns [EObject current=null] : (otherlv_0= Default ( (lv_head_1_0= ruleCall ) ) otherlv_2= Colon ( (lv_range_3_0= ruleExpression ) ) ) ; - public final EObject ruleDefaultDefinition() throws RecognitionException { + // $ANTLR start "ruleFunctionDefinition" + // InternalSolverLanguageParser.g:846:1: ruleFunctionDefinition returns [EObject current=null] : ( ( ( ruleQualifiedName ) ) ( (lv_head_1_0= ruleCall ) ) otherlv_2= ColonEqualsSign ( (lv_body_3_0= ruleExpression ) ) this_FULL_STOP_4= RULE_FULL_STOP ) ; + public final EObject ruleFunctionDefinition() throws RecognitionException { EObject current = null; - Token otherlv_0=null; Token otherlv_2=null; + Token this_FULL_STOP_4=null; EObject lv_head_1_0 = null; - EObject lv_range_3_0 = null; + EObject lv_body_3_0 = null; enterRule(); try { - // InternalSolverLanguageParser.g:555:2: ( (otherlv_0= Default ( (lv_head_1_0= ruleCall ) ) otherlv_2= Colon ( (lv_range_3_0= ruleExpression ) ) ) ) - // InternalSolverLanguageParser.g:556:2: (otherlv_0= Default ( (lv_head_1_0= ruleCall ) ) otherlv_2= Colon ( (lv_range_3_0= ruleExpression ) ) ) + // InternalSolverLanguageParser.g:852:2: ( ( ( ( ruleQualifiedName ) ) ( (lv_head_1_0= ruleCall ) ) otherlv_2= ColonEqualsSign ( (lv_body_3_0= ruleExpression ) ) this_FULL_STOP_4= RULE_FULL_STOP ) ) + // InternalSolverLanguageParser.g:853:2: ( ( ( ruleQualifiedName ) ) ( (lv_head_1_0= ruleCall ) ) otherlv_2= ColonEqualsSign ( (lv_body_3_0= ruleExpression ) ) this_FULL_STOP_4= RULE_FULL_STOP ) { - // InternalSolverLanguageParser.g:556:2: (otherlv_0= Default ( (lv_head_1_0= ruleCall ) ) otherlv_2= Colon ( (lv_range_3_0= ruleExpression ) ) ) - // InternalSolverLanguageParser.g:557:3: otherlv_0= Default ( (lv_head_1_0= ruleCall ) ) otherlv_2= Colon ( (lv_range_3_0= ruleExpression ) ) + // InternalSolverLanguageParser.g:853:2: ( ( ( ruleQualifiedName ) ) ( (lv_head_1_0= ruleCall ) ) otherlv_2= ColonEqualsSign ( (lv_body_3_0= ruleExpression ) ) this_FULL_STOP_4= RULE_FULL_STOP ) + // InternalSolverLanguageParser.g:854:3: ( ( ruleQualifiedName ) ) ( (lv_head_1_0= ruleCall ) ) otherlv_2= ColonEqualsSign ( (lv_body_3_0= ruleExpression ) ) this_FULL_STOP_4= RULE_FULL_STOP { - otherlv_0=(Token)match(input,Default,FOLLOW_8); - - newLeafNode(otherlv_0, grammarAccess.getDefaultDefinitionAccess().getDefaultKeyword_0()); - - // InternalSolverLanguageParser.g:561:3: ( (lv_head_1_0= ruleCall ) ) - // InternalSolverLanguageParser.g:562:4: (lv_head_1_0= ruleCall ) + // InternalSolverLanguageParser.g:854:3: ( ( ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:855:4: ( ruleQualifiedName ) { - // InternalSolverLanguageParser.g:562:4: (lv_head_1_0= ruleCall ) - // InternalSolverLanguageParser.g:563:5: lv_head_1_0= ruleCall + // InternalSolverLanguageParser.g:855:4: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:856:5: ruleQualifiedName { - newCompositeNode(grammarAccess.getDefaultDefinitionAccess().getHeadCallParserRuleCall_1_0()); + if (current==null) { + current = createModelElement(grammarAccess.getFunctionDefinitionRule()); + } + + + newCompositeNode(grammarAccess.getFunctionDefinitionAccess().getResultTypeSymbolCrossReference_0_0()); pushFollow(FOLLOW_12); + ruleQualifiedName(); + + state._fsp--; + + + afterParserOrEnumRuleCall(); + + + } + + + } + + // InternalSolverLanguageParser.g:870:3: ( (lv_head_1_0= ruleCall ) ) + // InternalSolverLanguageParser.g:871:4: (lv_head_1_0= ruleCall ) + { + // InternalSolverLanguageParser.g:871:4: (lv_head_1_0= ruleCall ) + // InternalSolverLanguageParser.g:872:5: lv_head_1_0= ruleCall + { + + newCompositeNode(grammarAccess.getFunctionDefinitionAccess().getHeadCallParserRuleCall_1_0()); + + pushFollow(FOLLOW_17); lv_head_1_0=ruleCall(); state._fsp--; if (current==null) { - current = createModelElementForParent(grammarAccess.getDefaultDefinitionRule()); + current = createModelElementForParent(grammarAccess.getFunctionDefinitionRule()); } set( current, @@ -1421,32 +2200,32 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } - otherlv_2=(Token)match(input,Colon,FOLLOW_6); + otherlv_2=(Token)match(input,ColonEqualsSign,FOLLOW_10); - newLeafNode(otherlv_2, grammarAccess.getDefaultDefinitionAccess().getColonKeyword_2()); + newLeafNode(otherlv_2, grammarAccess.getFunctionDefinitionAccess().getColonEqualsSignKeyword_2()); - // InternalSolverLanguageParser.g:584:3: ( (lv_range_3_0= ruleExpression ) ) - // InternalSolverLanguageParser.g:585:4: (lv_range_3_0= ruleExpression ) + // InternalSolverLanguageParser.g:893:3: ( (lv_body_3_0= ruleExpression ) ) + // InternalSolverLanguageParser.g:894:4: (lv_body_3_0= ruleExpression ) { - // InternalSolverLanguageParser.g:585:4: (lv_range_3_0= ruleExpression ) - // InternalSolverLanguageParser.g:586:5: lv_range_3_0= ruleExpression + // InternalSolverLanguageParser.g:894:4: (lv_body_3_0= ruleExpression ) + // InternalSolverLanguageParser.g:895:5: lv_body_3_0= ruleExpression { - newCompositeNode(grammarAccess.getDefaultDefinitionAccess().getRangeExpressionParserRuleCall_3_0()); + newCompositeNode(grammarAccess.getFunctionDefinitionAccess().getBodyExpressionParserRuleCall_3_0()); - pushFollow(FOLLOW_2); - lv_range_3_0=ruleExpression(); + pushFollow(FOLLOW_4); + lv_body_3_0=ruleExpression(); state._fsp--; if (current==null) { - current = createModelElementForParent(grammarAccess.getDefaultDefinitionRule()); + current = createModelElementForParent(grammarAccess.getFunctionDefinitionRule()); } set( current, - "range", - lv_range_3_0, + "body", + lv_body_3_0, "org.eclipse.viatra.solver.language.SolverLanguage.Expression"); afterParserOrEnumRuleCall(); @@ -1456,6 +2235,10 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } + this_FULL_STOP_4=(Token)match(input,RULE_FULL_STOP,FOLLOW_2); + + newLeafNode(this_FULL_STOP_4, grammarAccess.getFunctionDefinitionAccess().getFULL_STOPTerminalRuleCall_4()); + } @@ -1475,28 +2258,28 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } return current; } - // $ANTLR end "ruleDefaultDefinition" + // $ANTLR end "ruleFunctionDefinition" - // $ANTLR start "entryRuleMetricDefinition" - // InternalSolverLanguageParser.g:607:1: entryRuleMetricDefinition returns [EObject current=null] : iv_ruleMetricDefinition= ruleMetricDefinition EOF ; - public final EObject entryRuleMetricDefinition() throws RecognitionException { + // $ANTLR start "entryRuleTypeReference" + // InternalSolverLanguageParser.g:920:1: entryRuleTypeReference returns [EObject current=null] : iv_ruleTypeReference= ruleTypeReference EOF ; + public final EObject entryRuleTypeReference() throws RecognitionException { EObject current = null; - EObject iv_ruleMetricDefinition = null; + EObject iv_ruleTypeReference = null; try { - // InternalSolverLanguageParser.g:607:57: (iv_ruleMetricDefinition= ruleMetricDefinition EOF ) - // InternalSolverLanguageParser.g:608:2: iv_ruleMetricDefinition= ruleMetricDefinition EOF + // InternalSolverLanguageParser.g:920:54: (iv_ruleTypeReference= ruleTypeReference EOF ) + // InternalSolverLanguageParser.g:921:2: iv_ruleTypeReference= ruleTypeReference EOF { - newCompositeNode(grammarAccess.getMetricDefinitionRule()); + newCompositeNode(grammarAccess.getTypeReferenceRule()); pushFollow(FOLLOW_1); - iv_ruleMetricDefinition=ruleMetricDefinition(); + iv_ruleTypeReference=ruleTypeReference(); state._fsp--; - current =iv_ruleMetricDefinition; + current =iv_ruleTypeReference; match(input,EOF,FOLLOW_2); } @@ -1511,45 +2294,41 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } return current; } - // $ANTLR end "entryRuleMetricDefinition" + // $ANTLR end "entryRuleTypeReference" - // $ANTLR start "ruleMetricDefinition" - // InternalSolverLanguageParser.g:614:1: ruleMetricDefinition returns [EObject current=null] : ( ( ( ruleQualifiedName ) ) ( (lv_head_1_0= ruleCall ) ) otherlv_2= EqualsSign ( (lv_body_3_0= ruleExpression ) ) ) ; - public final EObject ruleMetricDefinition() throws RecognitionException { + // $ANTLR start "ruleTypeReference" + // InternalSolverLanguageParser.g:927:1: ruleTypeReference returns [EObject current=null] : ( ( ( ruleQualifiedName ) ) ( (lv_forceObjectType_1_0= Object ) )? ) ; + public final EObject ruleTypeReference() throws RecognitionException { EObject current = null; - Token otherlv_2=null; - EObject lv_head_1_0 = null; - - EObject lv_body_3_0 = null; - + Token lv_forceObjectType_1_0=null; enterRule(); try { - // InternalSolverLanguageParser.g:620:2: ( ( ( ( ruleQualifiedName ) ) ( (lv_head_1_0= ruleCall ) ) otherlv_2= EqualsSign ( (lv_body_3_0= ruleExpression ) ) ) ) - // InternalSolverLanguageParser.g:621:2: ( ( ( ruleQualifiedName ) ) ( (lv_head_1_0= ruleCall ) ) otherlv_2= EqualsSign ( (lv_body_3_0= ruleExpression ) ) ) + // InternalSolverLanguageParser.g:933:2: ( ( ( ( ruleQualifiedName ) ) ( (lv_forceObjectType_1_0= Object ) )? ) ) + // InternalSolverLanguageParser.g:934:2: ( ( ( ruleQualifiedName ) ) ( (lv_forceObjectType_1_0= Object ) )? ) { - // InternalSolverLanguageParser.g:621:2: ( ( ( ruleQualifiedName ) ) ( (lv_head_1_0= ruleCall ) ) otherlv_2= EqualsSign ( (lv_body_3_0= ruleExpression ) ) ) - // InternalSolverLanguageParser.g:622:3: ( ( ruleQualifiedName ) ) ( (lv_head_1_0= ruleCall ) ) otherlv_2= EqualsSign ( (lv_body_3_0= ruleExpression ) ) + // InternalSolverLanguageParser.g:934:2: ( ( ( ruleQualifiedName ) ) ( (lv_forceObjectType_1_0= Object ) )? ) + // InternalSolverLanguageParser.g:935:3: ( ( ruleQualifiedName ) ) ( (lv_forceObjectType_1_0= Object ) )? { - // InternalSolverLanguageParser.g:622:3: ( ( ruleQualifiedName ) ) - // InternalSolverLanguageParser.g:623:4: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:935:3: ( ( ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:936:4: ( ruleQualifiedName ) { - // InternalSolverLanguageParser.g:623:4: ( ruleQualifiedName ) - // InternalSolverLanguageParser.g:624:5: ruleQualifiedName + // InternalSolverLanguageParser.g:936:4: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:937:5: ruleQualifiedName { if (current==null) { - current = createModelElement(grammarAccess.getMetricDefinitionRule()); + current = createModelElement(grammarAccess.getTypeReferenceRule()); } - newCompositeNode(grammarAccess.getMetricDefinitionAccess().getTypeNamedElementCrossReference_0_0()); + newCompositeNode(grammarAccess.getTypeReferenceAccess().getTypeSymbolCrossReference_0_0()); - pushFollow(FOLLOW_8); + pushFollow(FOLLOW_18); ruleQualifiedName(); state._fsp--; @@ -1563,29 +2342,139 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } - // InternalSolverLanguageParser.g:638:3: ( (lv_head_1_0= ruleCall ) ) - // InternalSolverLanguageParser.g:639:4: (lv_head_1_0= ruleCall ) + // InternalSolverLanguageParser.g:951:3: ( (lv_forceObjectType_1_0= Object ) )? + int alt12=2; + int LA12_0 = input.LA(1); + + if ( (LA12_0==Object) ) { + alt12=1; + } + switch (alt12) { + case 1 : + // InternalSolverLanguageParser.g:952:4: (lv_forceObjectType_1_0= Object ) + { + // InternalSolverLanguageParser.g:952:4: (lv_forceObjectType_1_0= Object ) + // InternalSolverLanguageParser.g:953:5: lv_forceObjectType_1_0= Object + { + lv_forceObjectType_1_0=(Token)match(input,Object,FOLLOW_2); + + newLeafNode(lv_forceObjectType_1_0, grammarAccess.getTypeReferenceAccess().getForceObjectTypeObjectKeyword_1_0()); + + + if (current==null) { + current = createModelElement(grammarAccess.getTypeReferenceRule()); + } + setWithLastConsumed(current, "forceObjectType", true, "object"); + + + } + + + } + break; + + } + + + } + + + } + + + leaveRule(); + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleTypeReference" + + + // $ANTLR start "entryRuleAttribute" + // InternalSolverLanguageParser.g:969:1: entryRuleAttribute returns [EObject current=null] : iv_ruleAttribute= ruleAttribute EOF ; + public final EObject entryRuleAttribute() throws RecognitionException { + EObject current = null; + + EObject iv_ruleAttribute = null; + + + try { + // InternalSolverLanguageParser.g:969:50: (iv_ruleAttribute= ruleAttribute EOF ) + // InternalSolverLanguageParser.g:970:2: iv_ruleAttribute= ruleAttribute EOF + { + newCompositeNode(grammarAccess.getAttributeRule()); + pushFollow(FOLLOW_1); + iv_ruleAttribute=ruleAttribute(); + + state._fsp--; + + current =iv_ruleAttribute; + match(input,EOF,FOLLOW_2); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleAttribute" + + + // $ANTLR start "ruleAttribute" + // InternalSolverLanguageParser.g:976:1: ruleAttribute returns [EObject current=null] : ( ( (lv_kind_0_0= ruleAttributeKind ) ) ( ( ruleQualifiedName ) ) this_FULL_STOP_2= RULE_FULL_STOP ) ; + public final EObject ruleAttribute() throws RecognitionException { + EObject current = null; + + Token this_FULL_STOP_2=null; + Enumerator lv_kind_0_0 = null; + + + + enterRule(); + + try { + // InternalSolverLanguageParser.g:982:2: ( ( ( (lv_kind_0_0= ruleAttributeKind ) ) ( ( ruleQualifiedName ) ) this_FULL_STOP_2= RULE_FULL_STOP ) ) + // InternalSolverLanguageParser.g:983:2: ( ( (lv_kind_0_0= ruleAttributeKind ) ) ( ( ruleQualifiedName ) ) this_FULL_STOP_2= RULE_FULL_STOP ) + { + // InternalSolverLanguageParser.g:983:2: ( ( (lv_kind_0_0= ruleAttributeKind ) ) ( ( ruleQualifiedName ) ) this_FULL_STOP_2= RULE_FULL_STOP ) + // InternalSolverLanguageParser.g:984:3: ( (lv_kind_0_0= ruleAttributeKind ) ) ( ( ruleQualifiedName ) ) this_FULL_STOP_2= RULE_FULL_STOP { - // InternalSolverLanguageParser.g:639:4: (lv_head_1_0= ruleCall ) - // InternalSolverLanguageParser.g:640:5: lv_head_1_0= ruleCall + // InternalSolverLanguageParser.g:984:3: ( (lv_kind_0_0= ruleAttributeKind ) ) + // InternalSolverLanguageParser.g:985:4: (lv_kind_0_0= ruleAttributeKind ) + { + // InternalSolverLanguageParser.g:985:4: (lv_kind_0_0= ruleAttributeKind ) + // InternalSolverLanguageParser.g:986:5: lv_kind_0_0= ruleAttributeKind { - newCompositeNode(grammarAccess.getMetricDefinitionAccess().getHeadCallParserRuleCall_1_0()); + newCompositeNode(grammarAccess.getAttributeAccess().getKindAttributeKindEnumRuleCall_0_0()); - pushFollow(FOLLOW_13); - lv_head_1_0=ruleCall(); + pushFollow(FOLLOW_3); + lv_kind_0_0=ruleAttributeKind(); state._fsp--; if (current==null) { - current = createModelElementForParent(grammarAccess.getMetricDefinitionRule()); + current = createModelElementForParent(grammarAccess.getAttributeRule()); } set( current, - "head", - lv_head_1_0, - "org.eclipse.viatra.solver.language.SolverLanguage.Call"); + "kind", + lv_kind_0_0, + "org.eclipse.viatra.solver.language.SolverLanguage.AttributeKind"); afterParserOrEnumRuleCall(); @@ -1594,33 +2483,26 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } - otherlv_2=(Token)match(input,EqualsSign,FOLLOW_6); - - newLeafNode(otherlv_2, grammarAccess.getMetricDefinitionAccess().getEqualsSignKeyword_2()); - - // InternalSolverLanguageParser.g:661:3: ( (lv_body_3_0= ruleExpression ) ) - // InternalSolverLanguageParser.g:662:4: (lv_body_3_0= ruleExpression ) + // InternalSolverLanguageParser.g:1003:3: ( ( ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:1004:4: ( ruleQualifiedName ) { - // InternalSolverLanguageParser.g:662:4: (lv_body_3_0= ruleExpression ) - // InternalSolverLanguageParser.g:663:5: lv_body_3_0= ruleExpression + // InternalSolverLanguageParser.g:1004:4: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:1005:5: ruleQualifiedName { - newCompositeNode(grammarAccess.getMetricDefinitionAccess().getBodyExpressionParserRuleCall_3_0()); + if (current==null) { + current = createModelElement(grammarAccess.getAttributeRule()); + } - pushFollow(FOLLOW_2); - lv_body_3_0=ruleExpression(); - state._fsp--; + newCompositeNode(grammarAccess.getAttributeAccess().getTargetSymbolCrossReference_1_0()); + + pushFollow(FOLLOW_4); + ruleQualifiedName(); + + state._fsp--; - if (current==null) { - current = createModelElementForParent(grammarAccess.getMetricDefinitionRule()); - } - set( - current, - "body", - lv_body_3_0, - "org.eclipse.viatra.solver.language.SolverLanguage.Expression"); afterParserOrEnumRuleCall(); @@ -1629,6 +2511,10 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } + this_FULL_STOP_2=(Token)match(input,RULE_FULL_STOP,FOLLOW_2); + + newLeafNode(this_FULL_STOP_2, grammarAccess.getAttributeAccess().getFULL_STOPTerminalRuleCall_2()); + } @@ -1648,28 +2534,28 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } return current; } - // $ANTLR end "ruleMetricDefinition" + // $ANTLR end "ruleAttribute" - // $ANTLR start "entryRuleExternPredicateDefinition" - // InternalSolverLanguageParser.g:684:1: entryRuleExternPredicateDefinition returns [EObject current=null] : iv_ruleExternPredicateDefinition= ruleExternPredicateDefinition EOF ; - public final EObject entryRuleExternPredicateDefinition() throws RecognitionException { + // $ANTLR start "entryRuleExternDeclaration" + // InternalSolverLanguageParser.g:1027:1: entryRuleExternDeclaration returns [EObject current=null] : iv_ruleExternDeclaration= ruleExternDeclaration EOF ; + public final EObject entryRuleExternDeclaration() throws RecognitionException { EObject current = null; - EObject iv_ruleExternPredicateDefinition = null; + EObject iv_ruleExternDeclaration = null; try { - // InternalSolverLanguageParser.g:684:66: (iv_ruleExternPredicateDefinition= ruleExternPredicateDefinition EOF ) - // InternalSolverLanguageParser.g:685:2: iv_ruleExternPredicateDefinition= ruleExternPredicateDefinition EOF + // InternalSolverLanguageParser.g:1027:58: (iv_ruleExternDeclaration= ruleExternDeclaration EOF ) + // InternalSolverLanguageParser.g:1028:2: iv_ruleExternDeclaration= ruleExternDeclaration EOF { - newCompositeNode(grammarAccess.getExternPredicateDefinitionRule()); + newCompositeNode(grammarAccess.getExternDeclarationRule()); pushFollow(FOLLOW_1); - iv_ruleExternPredicateDefinition=ruleExternPredicateDefinition(); + iv_ruleExternDeclaration=ruleExternDeclaration(); state._fsp--; - current =iv_ruleExternPredicateDefinition; + current =iv_ruleExternDeclaration; match(input,EOF,FOLLOW_2); } @@ -1684,97 +2570,107 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } return current; } - // $ANTLR end "entryRuleExternPredicateDefinition" + // $ANTLR end "entryRuleExternDeclaration" - // $ANTLR start "ruleExternPredicateDefinition" - // InternalSolverLanguageParser.g:691:1: ruleExternPredicateDefinition returns [EObject current=null] : (otherlv_0= Extern ( (lv_name_1_0= ruleQualifiedName ) ) ( (lv_argumentList_2_0= ruleArgumentList ) ) ) ; - public final EObject ruleExternPredicateDefinition() throws RecognitionException { + // $ANTLR start "ruleExternDeclaration" + // InternalSolverLanguageParser.g:1034:1: ruleExternDeclaration returns [EObject current=null] : (this_ExternPredicateDeclaration_0= ruleExternPredicateDeclaration | this_ExternFunctionDeclaration_1= ruleExternFunctionDeclaration | this_ExternAggregationOperatorDeclaration_2= ruleExternAggregationOperatorDeclaration | this_ExternDatatypeDeclaration_3= ruleExternDatatypeDeclaration ) ; + public final EObject ruleExternDeclaration() throws RecognitionException { EObject current = null; - Token otherlv_0=null; - AntlrDatatypeRuleToken lv_name_1_0 = null; + EObject this_ExternPredicateDeclaration_0 = null; + + EObject this_ExternFunctionDeclaration_1 = null; - EObject lv_argumentList_2_0 = null; + EObject this_ExternAggregationOperatorDeclaration_2 = null; + + EObject this_ExternDatatypeDeclaration_3 = null; enterRule(); try { - // InternalSolverLanguageParser.g:697:2: ( (otherlv_0= Extern ( (lv_name_1_0= ruleQualifiedName ) ) ( (lv_argumentList_2_0= ruleArgumentList ) ) ) ) - // InternalSolverLanguageParser.g:698:2: (otherlv_0= Extern ( (lv_name_1_0= ruleQualifiedName ) ) ( (lv_argumentList_2_0= ruleArgumentList ) ) ) - { - // InternalSolverLanguageParser.g:698:2: (otherlv_0= Extern ( (lv_name_1_0= ruleQualifiedName ) ) ( (lv_argumentList_2_0= ruleArgumentList ) ) ) - // InternalSolverLanguageParser.g:699:3: otherlv_0= Extern ( (lv_name_1_0= ruleQualifiedName ) ) ( (lv_argumentList_2_0= ruleArgumentList ) ) + // InternalSolverLanguageParser.g:1040:2: ( (this_ExternPredicateDeclaration_0= ruleExternPredicateDeclaration | this_ExternFunctionDeclaration_1= ruleExternFunctionDeclaration | this_ExternAggregationOperatorDeclaration_2= ruleExternAggregationOperatorDeclaration | this_ExternDatatypeDeclaration_3= ruleExternDatatypeDeclaration ) ) + // InternalSolverLanguageParser.g:1041:2: (this_ExternPredicateDeclaration_0= ruleExternPredicateDeclaration | this_ExternFunctionDeclaration_1= ruleExternFunctionDeclaration | this_ExternAggregationOperatorDeclaration_2= ruleExternAggregationOperatorDeclaration | this_ExternDatatypeDeclaration_3= ruleExternDatatypeDeclaration ) { - otherlv_0=(Token)match(input,Extern,FOLLOW_8); + // InternalSolverLanguageParser.g:1041:2: (this_ExternPredicateDeclaration_0= ruleExternPredicateDeclaration | this_ExternFunctionDeclaration_1= ruleExternFunctionDeclaration | this_ExternAggregationOperatorDeclaration_2= ruleExternAggregationOperatorDeclaration | this_ExternDatatypeDeclaration_3= ruleExternDatatypeDeclaration ) + int alt13=4; + alt13 = dfa13.predict(input); + switch (alt13) { + case 1 : + // InternalSolverLanguageParser.g:1042:3: this_ExternPredicateDeclaration_0= ruleExternPredicateDeclaration + { - newLeafNode(otherlv_0, grammarAccess.getExternPredicateDefinitionAccess().getExternKeyword_0()); - - // InternalSolverLanguageParser.g:703:3: ( (lv_name_1_0= ruleQualifiedName ) ) - // InternalSolverLanguageParser.g:704:4: (lv_name_1_0= ruleQualifiedName ) - { - // InternalSolverLanguageParser.g:704:4: (lv_name_1_0= ruleQualifiedName ) - // InternalSolverLanguageParser.g:705:5: lv_name_1_0= ruleQualifiedName - { + newCompositeNode(grammarAccess.getExternDeclarationAccess().getExternPredicateDeclarationParserRuleCall_0()); + + pushFollow(FOLLOW_2); + this_ExternPredicateDeclaration_0=ruleExternPredicateDeclaration(); - newCompositeNode(grammarAccess.getExternPredicateDefinitionAccess().getNameQualifiedNameParserRuleCall_1_0()); - - pushFollow(FOLLOW_11); - lv_name_1_0=ruleQualifiedName(); + state._fsp--; - state._fsp--; + current = this_ExternPredicateDeclaration_0; + afterParserOrEnumRuleCall(); + - if (current==null) { - current = createModelElementForParent(grammarAccess.getExternPredicateDefinitionRule()); - } - set( - current, - "name", - lv_name_1_0, - "org.eclipse.viatra.solver.language.SolverLanguage.QualifiedName"); - afterParserOrEnumRuleCall(); - + } + break; + case 2 : + // InternalSolverLanguageParser.g:1051:3: this_ExternFunctionDeclaration_1= ruleExternFunctionDeclaration + { - } + newCompositeNode(grammarAccess.getExternDeclarationAccess().getExternFunctionDeclarationParserRuleCall_1()); + + pushFollow(FOLLOW_2); + this_ExternFunctionDeclaration_1=ruleExternFunctionDeclaration(); + state._fsp--; - } - // InternalSolverLanguageParser.g:722:3: ( (lv_argumentList_2_0= ruleArgumentList ) ) - // InternalSolverLanguageParser.g:723:4: (lv_argumentList_2_0= ruleArgumentList ) - { - // InternalSolverLanguageParser.g:723:4: (lv_argumentList_2_0= ruleArgumentList ) - // InternalSolverLanguageParser.g:724:5: lv_argumentList_2_0= ruleArgumentList - { + current = this_ExternFunctionDeclaration_1; + afterParserOrEnumRuleCall(); + - newCompositeNode(grammarAccess.getExternPredicateDefinitionAccess().getArgumentListArgumentListParserRuleCall_2_0()); - - pushFollow(FOLLOW_2); - lv_argumentList_2_0=ruleArgumentList(); + } + break; + case 3 : + // InternalSolverLanguageParser.g:1060:3: this_ExternAggregationOperatorDeclaration_2= ruleExternAggregationOperatorDeclaration + { - state._fsp--; + newCompositeNode(grammarAccess.getExternDeclarationAccess().getExternAggregationOperatorDeclarationParserRuleCall_2()); + + pushFollow(FOLLOW_2); + this_ExternAggregationOperatorDeclaration_2=ruleExternAggregationOperatorDeclaration(); + state._fsp--; - if (current==null) { - current = createModelElementForParent(grammarAccess.getExternPredicateDefinitionRule()); - } - set( - current, - "argumentList", - lv_argumentList_2_0, - "org.eclipse.viatra.solver.language.SolverLanguage.ArgumentList"); - afterParserOrEnumRuleCall(); - - } + current = this_ExternAggregationOperatorDeclaration_2; + afterParserOrEnumRuleCall(); + + + } + break; + case 4 : + // InternalSolverLanguageParser.g:1069:3: this_ExternDatatypeDeclaration_3= ruleExternDatatypeDeclaration + { + newCompositeNode(grammarAccess.getExternDeclarationAccess().getExternDatatypeDeclarationParserRuleCall_3()); + + pushFollow(FOLLOW_2); + this_ExternDatatypeDeclaration_3=ruleExternDatatypeDeclaration(); - } + state._fsp--; + current = this_ExternDatatypeDeclaration_3; + afterParserOrEnumRuleCall(); + + + } + break; + } @@ -1793,28 +2689,28 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } return current; } - // $ANTLR end "ruleExternPredicateDefinition" + // $ANTLR end "ruleExternDeclaration" - // $ANTLR start "entryRuleExternMetricDefinition" - // InternalSolverLanguageParser.g:745:1: entryRuleExternMetricDefinition returns [EObject current=null] : iv_ruleExternMetricDefinition= ruleExternMetricDefinition EOF ; - public final EObject entryRuleExternMetricDefinition() throws RecognitionException { + // $ANTLR start "entryRuleExternPredicateDeclaration" + // InternalSolverLanguageParser.g:1081:1: entryRuleExternPredicateDeclaration returns [EObject current=null] : iv_ruleExternPredicateDeclaration= ruleExternPredicateDeclaration EOF ; + public final EObject entryRuleExternPredicateDeclaration() throws RecognitionException { EObject current = null; - EObject iv_ruleExternMetricDefinition = null; + EObject iv_ruleExternPredicateDeclaration = null; try { - // InternalSolverLanguageParser.g:745:63: (iv_ruleExternMetricDefinition= ruleExternMetricDefinition EOF ) - // InternalSolverLanguageParser.g:746:2: iv_ruleExternMetricDefinition= ruleExternMetricDefinition EOF + // InternalSolverLanguageParser.g:1081:67: (iv_ruleExternPredicateDeclaration= ruleExternPredicateDeclaration EOF ) + // InternalSolverLanguageParser.g:1082:2: iv_ruleExternPredicateDeclaration= ruleExternPredicateDeclaration EOF { - newCompositeNode(grammarAccess.getExternMetricDefinitionRule()); + newCompositeNode(grammarAccess.getExternPredicateDeclarationRule()); pushFollow(FOLLOW_1); - iv_ruleExternMetricDefinition=ruleExternMetricDefinition(); + iv_ruleExternPredicateDeclaration=ruleExternPredicateDeclaration(); state._fsp--; - current =iv_ruleExternMetricDefinition; + current =iv_ruleExternPredicateDeclaration; match(input,EOF,FOLLOW_2); } @@ -1829,84 +2725,220 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } return current; } - // $ANTLR end "entryRuleExternMetricDefinition" + // $ANTLR end "entryRuleExternPredicateDeclaration" - // $ANTLR start "ruleExternMetricDefinition" - // InternalSolverLanguageParser.g:752:1: ruleExternMetricDefinition returns [EObject current=null] : (otherlv_0= Extern ( ( ruleQualifiedName ) ) ( (lv_name_2_0= ruleQualifiedName ) ) ( (lv_argumentList_3_0= ruleArgumentList ) ) ) ; - public final EObject ruleExternMetricDefinition() throws RecognitionException { + // $ANTLR start "ruleExternPredicateDeclaration" + // InternalSolverLanguageParser.g:1088:1: ruleExternPredicateDeclaration returns [EObject current=null] : (otherlv_0= Extern ( ( ( ( ({...}? => ( ({...}? => ( (lv_functional_2_0= Functional ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_error_3_0= Error ) ) ) ) ) )* ) ) ) ( (lv_name_4_0= ruleQualifiedName ) ) ( (lv_argumentList_5_0= ruleArgumentList ) ) this_FULL_STOP_6= RULE_FULL_STOP ) ; + public final EObject ruleExternPredicateDeclaration() throws RecognitionException { EObject current = null; Token otherlv_0=null; - AntlrDatatypeRuleToken lv_name_2_0 = null; + Token lv_functional_2_0=null; + Token lv_error_3_0=null; + Token this_FULL_STOP_6=null; + AntlrDatatypeRuleToken lv_name_4_0 = null; - EObject lv_argumentList_3_0 = null; + EObject lv_argumentList_5_0 = null; enterRule(); try { - // InternalSolverLanguageParser.g:758:2: ( (otherlv_0= Extern ( ( ruleQualifiedName ) ) ( (lv_name_2_0= ruleQualifiedName ) ) ( (lv_argumentList_3_0= ruleArgumentList ) ) ) ) - // InternalSolverLanguageParser.g:759:2: (otherlv_0= Extern ( ( ruleQualifiedName ) ) ( (lv_name_2_0= ruleQualifiedName ) ) ( (lv_argumentList_3_0= ruleArgumentList ) ) ) + // InternalSolverLanguageParser.g:1094:2: ( (otherlv_0= Extern ( ( ( ( ({...}? => ( ({...}? => ( (lv_functional_2_0= Functional ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_error_3_0= Error ) ) ) ) ) )* ) ) ) ( (lv_name_4_0= ruleQualifiedName ) ) ( (lv_argumentList_5_0= ruleArgumentList ) ) this_FULL_STOP_6= RULE_FULL_STOP ) ) + // InternalSolverLanguageParser.g:1095:2: (otherlv_0= Extern ( ( ( ( ({...}? => ( ({...}? => ( (lv_functional_2_0= Functional ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_error_3_0= Error ) ) ) ) ) )* ) ) ) ( (lv_name_4_0= ruleQualifiedName ) ) ( (lv_argumentList_5_0= ruleArgumentList ) ) this_FULL_STOP_6= RULE_FULL_STOP ) { - // InternalSolverLanguageParser.g:759:2: (otherlv_0= Extern ( ( ruleQualifiedName ) ) ( (lv_name_2_0= ruleQualifiedName ) ) ( (lv_argumentList_3_0= ruleArgumentList ) ) ) - // InternalSolverLanguageParser.g:760:3: otherlv_0= Extern ( ( ruleQualifiedName ) ) ( (lv_name_2_0= ruleQualifiedName ) ) ( (lv_argumentList_3_0= ruleArgumentList ) ) + // InternalSolverLanguageParser.g:1095:2: (otherlv_0= Extern ( ( ( ( ({...}? => ( ({...}? => ( (lv_functional_2_0= Functional ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_error_3_0= Error ) ) ) ) ) )* ) ) ) ( (lv_name_4_0= ruleQualifiedName ) ) ( (lv_argumentList_5_0= ruleArgumentList ) ) this_FULL_STOP_6= RULE_FULL_STOP ) + // InternalSolverLanguageParser.g:1096:3: otherlv_0= Extern ( ( ( ( ({...}? => ( ({...}? => ( (lv_functional_2_0= Functional ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_error_3_0= Error ) ) ) ) ) )* ) ) ) ( (lv_name_4_0= ruleQualifiedName ) ) ( (lv_argumentList_5_0= ruleArgumentList ) ) this_FULL_STOP_6= RULE_FULL_STOP { - otherlv_0=(Token)match(input,Extern,FOLLOW_8); + otherlv_0=(Token)match(input,Extern,FOLLOW_19); - newLeafNode(otherlv_0, grammarAccess.getExternMetricDefinitionAccess().getExternKeyword_0()); + newLeafNode(otherlv_0, grammarAccess.getExternPredicateDeclarationAccess().getExternKeyword_0()); - // InternalSolverLanguageParser.g:764:3: ( ( ruleQualifiedName ) ) - // InternalSolverLanguageParser.g:765:4: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:1100:3: ( ( ( ( ({...}? => ( ({...}? => ( (lv_functional_2_0= Functional ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_error_3_0= Error ) ) ) ) ) )* ) ) ) + // InternalSolverLanguageParser.g:1101:4: ( ( ( ({...}? => ( ({...}? => ( (lv_functional_2_0= Functional ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_error_3_0= Error ) ) ) ) ) )* ) ) { - // InternalSolverLanguageParser.g:765:4: ( ruleQualifiedName ) - // InternalSolverLanguageParser.g:766:5: ruleQualifiedName + // InternalSolverLanguageParser.g:1101:4: ( ( ( ({...}? => ( ({...}? => ( (lv_functional_2_0= Functional ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_error_3_0= Error ) ) ) ) ) )* ) ) + // InternalSolverLanguageParser.g:1102:5: ( ( ({...}? => ( ({...}? => ( (lv_functional_2_0= Functional ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_error_3_0= Error ) ) ) ) ) )* ) { - - if (current==null) { - current = createModelElement(grammarAccess.getExternMetricDefinitionRule()); - } + + getUnorderedGroupHelper().enter(grammarAccess.getExternPredicateDeclarationAccess().getUnorderedGroup_1()); + // InternalSolverLanguageParser.g:1105:5: ( ( ({...}? => ( ({...}? => ( (lv_functional_2_0= Functional ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_error_3_0= Error ) ) ) ) ) )* ) + // InternalSolverLanguageParser.g:1106:6: ( ({...}? => ( ({...}? => ( (lv_functional_2_0= Functional ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_error_3_0= Error ) ) ) ) ) )* + { + // InternalSolverLanguageParser.g:1106:6: ( ({...}? => ( ({...}? => ( (lv_functional_2_0= Functional ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_error_3_0= Error ) ) ) ) ) )* + loop14: + do { + int alt14=3; + int LA14_0 = input.LA(1); - newCompositeNode(grammarAccess.getExternMetricDefinitionAccess().getTypeNamedElementCrossReference_1_0()); - - pushFollow(FOLLOW_8); - ruleQualifiedName(); + if ( LA14_0 == Functional && getUnorderedGroupHelper().canSelect(grammarAccess.getExternPredicateDeclarationAccess().getUnorderedGroup_1(), 0) ) { + alt14=1; + } + else if ( LA14_0 == Error && getUnorderedGroupHelper().canSelect(grammarAccess.getExternPredicateDeclarationAccess().getUnorderedGroup_1(), 1) ) { + alt14=2; + } - state._fsp--; + switch (alt14) { + case 1 : + // InternalSolverLanguageParser.g:1107:4: ({...}? => ( ({...}? => ( (lv_functional_2_0= Functional ) ) ) ) ) + { + // InternalSolverLanguageParser.g:1107:4: ({...}? => ( ({...}? => ( (lv_functional_2_0= Functional ) ) ) ) ) + // InternalSolverLanguageParser.g:1108:5: {...}? => ( ({...}? => ( (lv_functional_2_0= Functional ) ) ) ) + { + if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getExternPredicateDeclarationAccess().getUnorderedGroup_1(), 0) ) { + throw new FailedPredicateException(input, "ruleExternPredicateDeclaration", "getUnorderedGroupHelper().canSelect(grammarAccess.getExternPredicateDeclarationAccess().getUnorderedGroup_1(), 0)"); + } + // InternalSolverLanguageParser.g:1108:123: ( ({...}? => ( (lv_functional_2_0= Functional ) ) ) ) + // InternalSolverLanguageParser.g:1109:6: ({...}? => ( (lv_functional_2_0= Functional ) ) ) + { + + getUnorderedGroupHelper().select(grammarAccess.getExternPredicateDeclarationAccess().getUnorderedGroup_1(), 0); + + // InternalSolverLanguageParser.g:1112:9: ({...}? => ( (lv_functional_2_0= Functional ) ) ) + // InternalSolverLanguageParser.g:1112:10: {...}? => ( (lv_functional_2_0= Functional ) ) + { + if ( !((true)) ) { + throw new FailedPredicateException(input, "ruleExternPredicateDeclaration", "true"); + } + // InternalSolverLanguageParser.g:1112:19: ( (lv_functional_2_0= Functional ) ) + // InternalSolverLanguageParser.g:1112:20: (lv_functional_2_0= Functional ) + { + // InternalSolverLanguageParser.g:1112:20: (lv_functional_2_0= Functional ) + // InternalSolverLanguageParser.g:1113:10: lv_functional_2_0= Functional + { + lv_functional_2_0=(Token)match(input,Functional,FOLLOW_19); + + newLeafNode(lv_functional_2_0, grammarAccess.getExternPredicateDeclarationAccess().getFunctionalFunctionalKeyword_1_0_0()); + + + if (current==null) { + current = createModelElement(grammarAccess.getExternPredicateDeclarationRule()); + } + setWithLastConsumed(current, "functional", true, "functional"); + + + } + + + } + + + } + + + getUnorderedGroupHelper().returnFromSelection(grammarAccess.getExternPredicateDeclarationAccess().getUnorderedGroup_1()); + + + } + + + } + + + } + break; + case 2 : + // InternalSolverLanguageParser.g:1130:4: ({...}? => ( ({...}? => ( (lv_error_3_0= Error ) ) ) ) ) + { + // InternalSolverLanguageParser.g:1130:4: ({...}? => ( ({...}? => ( (lv_error_3_0= Error ) ) ) ) ) + // InternalSolverLanguageParser.g:1131:5: {...}? => ( ({...}? => ( (lv_error_3_0= Error ) ) ) ) + { + if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getExternPredicateDeclarationAccess().getUnorderedGroup_1(), 1) ) { + throw new FailedPredicateException(input, "ruleExternPredicateDeclaration", "getUnorderedGroupHelper().canSelect(grammarAccess.getExternPredicateDeclarationAccess().getUnorderedGroup_1(), 1)"); + } + // InternalSolverLanguageParser.g:1131:123: ( ({...}? => ( (lv_error_3_0= Error ) ) ) ) + // InternalSolverLanguageParser.g:1132:6: ({...}? => ( (lv_error_3_0= Error ) ) ) + { + + getUnorderedGroupHelper().select(grammarAccess.getExternPredicateDeclarationAccess().getUnorderedGroup_1(), 1); + + // InternalSolverLanguageParser.g:1135:9: ({...}? => ( (lv_error_3_0= Error ) ) ) + // InternalSolverLanguageParser.g:1135:10: {...}? => ( (lv_error_3_0= Error ) ) + { + if ( !((true)) ) { + throw new FailedPredicateException(input, "ruleExternPredicateDeclaration", "true"); + } + // InternalSolverLanguageParser.g:1135:19: ( (lv_error_3_0= Error ) ) + // InternalSolverLanguageParser.g:1135:20: (lv_error_3_0= Error ) + { + // InternalSolverLanguageParser.g:1135:20: (lv_error_3_0= Error ) + // InternalSolverLanguageParser.g:1136:10: lv_error_3_0= Error + { + lv_error_3_0=(Token)match(input,Error,FOLLOW_19); + + newLeafNode(lv_error_3_0, grammarAccess.getExternPredicateDeclarationAccess().getErrorErrorKeyword_1_1_0()); + + + if (current==null) { + current = createModelElement(grammarAccess.getExternPredicateDeclarationRule()); + } + setWithLastConsumed(current, "error", true, "error"); + + + } + + + } + + + } + + + getUnorderedGroupHelper().returnFromSelection(grammarAccess.getExternPredicateDeclarationAccess().getUnorderedGroup_1()); + + + } + + + } + + + } + break; + + default : + break loop14; + } + } while (true); + + + } - afterParserOrEnumRuleCall(); - } + + getUnorderedGroupHelper().leave(grammarAccess.getExternPredicateDeclarationAccess().getUnorderedGroup_1()); + } - // InternalSolverLanguageParser.g:780:3: ( (lv_name_2_0= ruleQualifiedName ) ) - // InternalSolverLanguageParser.g:781:4: (lv_name_2_0= ruleQualifiedName ) + // InternalSolverLanguageParser.g:1160:3: ( (lv_name_4_0= ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:1161:4: (lv_name_4_0= ruleQualifiedName ) { - // InternalSolverLanguageParser.g:781:4: (lv_name_2_0= ruleQualifiedName ) - // InternalSolverLanguageParser.g:782:5: lv_name_2_0= ruleQualifiedName + // InternalSolverLanguageParser.g:1161:4: (lv_name_4_0= ruleQualifiedName ) + // InternalSolverLanguageParser.g:1162:5: lv_name_4_0= ruleQualifiedName { - newCompositeNode(grammarAccess.getExternMetricDefinitionAccess().getNameQualifiedNameParserRuleCall_2_0()); + newCompositeNode(grammarAccess.getExternPredicateDeclarationAccess().getNameQualifiedNameParserRuleCall_2_0()); - pushFollow(FOLLOW_11); - lv_name_2_0=ruleQualifiedName(); + pushFollow(FOLLOW_15); + lv_name_4_0=ruleQualifiedName(); state._fsp--; if (current==null) { - current = createModelElementForParent(grammarAccess.getExternMetricDefinitionRule()); + current = createModelElementForParent(grammarAccess.getExternPredicateDeclarationRule()); } set( current, "name", - lv_name_2_0, + lv_name_4_0, "org.eclipse.viatra.solver.language.SolverLanguage.QualifiedName"); afterParserOrEnumRuleCall(); @@ -1916,28 +2948,28 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } - // InternalSolverLanguageParser.g:799:3: ( (lv_argumentList_3_0= ruleArgumentList ) ) - // InternalSolverLanguageParser.g:800:4: (lv_argumentList_3_0= ruleArgumentList ) + // InternalSolverLanguageParser.g:1179:3: ( (lv_argumentList_5_0= ruleArgumentList ) ) + // InternalSolverLanguageParser.g:1180:4: (lv_argumentList_5_0= ruleArgumentList ) { - // InternalSolverLanguageParser.g:800:4: (lv_argumentList_3_0= ruleArgumentList ) - // InternalSolverLanguageParser.g:801:5: lv_argumentList_3_0= ruleArgumentList + // InternalSolverLanguageParser.g:1180:4: (lv_argumentList_5_0= ruleArgumentList ) + // InternalSolverLanguageParser.g:1181:5: lv_argumentList_5_0= ruleArgumentList { - newCompositeNode(grammarAccess.getExternMetricDefinitionAccess().getArgumentListArgumentListParserRuleCall_3_0()); + newCompositeNode(grammarAccess.getExternPredicateDeclarationAccess().getArgumentListArgumentListParserRuleCall_3_0()); - pushFollow(FOLLOW_2); - lv_argumentList_3_0=ruleArgumentList(); + pushFollow(FOLLOW_4); + lv_argumentList_5_0=ruleArgumentList(); state._fsp--; if (current==null) { - current = createModelElementForParent(grammarAccess.getExternMetricDefinitionRule()); + current = createModelElementForParent(grammarAccess.getExternPredicateDeclarationRule()); } set( current, "argumentList", - lv_argumentList_3_0, + lv_argumentList_5_0, "org.eclipse.viatra.solver.language.SolverLanguage.ArgumentList"); afterParserOrEnumRuleCall(); @@ -1947,6 +2979,10 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } + this_FULL_STOP_6=(Token)match(input,RULE_FULL_STOP,FOLLOW_2); + + newLeafNode(this_FULL_STOP_6, grammarAccess.getExternPredicateDeclarationAccess().getFULL_STOPTerminalRuleCall_4()); + } @@ -1966,28 +3002,28 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } return current; } - // $ANTLR end "ruleExternMetricDefinition" + // $ANTLR end "ruleExternPredicateDeclaration" - // $ANTLR start "entryRuleExternAggregatorDefinition" - // InternalSolverLanguageParser.g:822:1: entryRuleExternAggregatorDefinition returns [EObject current=null] : iv_ruleExternAggregatorDefinition= ruleExternAggregatorDefinition EOF ; - public final EObject entryRuleExternAggregatorDefinition() throws RecognitionException { + // $ANTLR start "entryRuleExternFunctionDeclaration" + // InternalSolverLanguageParser.g:1206:1: entryRuleExternFunctionDeclaration returns [EObject current=null] : iv_ruleExternFunctionDeclaration= ruleExternFunctionDeclaration EOF ; + public final EObject entryRuleExternFunctionDeclaration() throws RecognitionException { EObject current = null; - EObject iv_ruleExternAggregatorDefinition = null; + EObject iv_ruleExternFunctionDeclaration = null; try { - // InternalSolverLanguageParser.g:822:67: (iv_ruleExternAggregatorDefinition= ruleExternAggregatorDefinition EOF ) - // InternalSolverLanguageParser.g:823:2: iv_ruleExternAggregatorDefinition= ruleExternAggregatorDefinition EOF + // InternalSolverLanguageParser.g:1206:66: (iv_ruleExternFunctionDeclaration= ruleExternFunctionDeclaration EOF ) + // InternalSolverLanguageParser.g:1207:2: iv_ruleExternFunctionDeclaration= ruleExternFunctionDeclaration EOF { - newCompositeNode(grammarAccess.getExternAggregatorDefinitionRule()); + newCompositeNode(grammarAccess.getExternFunctionDeclarationRule()); pushFollow(FOLLOW_1); - iv_ruleExternAggregatorDefinition=ruleExternAggregatorDefinition(); + iv_ruleExternFunctionDeclaration=ruleExternFunctionDeclaration(); state._fsp--; - current =iv_ruleExternAggregatorDefinition; + current =iv_ruleExternFunctionDeclaration; match(input,EOF,FOLLOW_2); } @@ -2002,50 +3038,50 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } return current; } - // $ANTLR end "entryRuleExternAggregatorDefinition" + // $ANTLR end "entryRuleExternFunctionDeclaration" - // $ANTLR start "ruleExternAggregatorDefinition" - // InternalSolverLanguageParser.g:829:1: ruleExternAggregatorDefinition returns [EObject current=null] : (otherlv_0= Extern ( ( ruleQualifiedName ) ) ( (lv_name_2_0= ruleQualifiedName ) ) otherlv_3= LeftCurlyBracket ( ( ruleQualifiedName ) ) otherlv_5= FullStopFullStopFullStop otherlv_6= RightCurlyBracket ) ; - public final EObject ruleExternAggregatorDefinition() throws RecognitionException { + // $ANTLR start "ruleExternFunctionDeclaration" + // InternalSolverLanguageParser.g:1213:1: ruleExternFunctionDeclaration returns [EObject current=null] : (otherlv_0= Extern ( ( ruleQualifiedName ) ) ( (lv_name_2_0= ruleQualifiedName ) ) ( (lv_argumentList_3_0= ruleArgumentList ) ) this_FULL_STOP_4= RULE_FULL_STOP ) ; + public final EObject ruleExternFunctionDeclaration() throws RecognitionException { EObject current = null; Token otherlv_0=null; - Token otherlv_3=null; - Token otherlv_5=null; - Token otherlv_6=null; + Token this_FULL_STOP_4=null; AntlrDatatypeRuleToken lv_name_2_0 = null; + EObject lv_argumentList_3_0 = null; + enterRule(); try { - // InternalSolverLanguageParser.g:835:2: ( (otherlv_0= Extern ( ( ruleQualifiedName ) ) ( (lv_name_2_0= ruleQualifiedName ) ) otherlv_3= LeftCurlyBracket ( ( ruleQualifiedName ) ) otherlv_5= FullStopFullStopFullStop otherlv_6= RightCurlyBracket ) ) - // InternalSolverLanguageParser.g:836:2: (otherlv_0= Extern ( ( ruleQualifiedName ) ) ( (lv_name_2_0= ruleQualifiedName ) ) otherlv_3= LeftCurlyBracket ( ( ruleQualifiedName ) ) otherlv_5= FullStopFullStopFullStop otherlv_6= RightCurlyBracket ) + // InternalSolverLanguageParser.g:1219:2: ( (otherlv_0= Extern ( ( ruleQualifiedName ) ) ( (lv_name_2_0= ruleQualifiedName ) ) ( (lv_argumentList_3_0= ruleArgumentList ) ) this_FULL_STOP_4= RULE_FULL_STOP ) ) + // InternalSolverLanguageParser.g:1220:2: (otherlv_0= Extern ( ( ruleQualifiedName ) ) ( (lv_name_2_0= ruleQualifiedName ) ) ( (lv_argumentList_3_0= ruleArgumentList ) ) this_FULL_STOP_4= RULE_FULL_STOP ) { - // InternalSolverLanguageParser.g:836:2: (otherlv_0= Extern ( ( ruleQualifiedName ) ) ( (lv_name_2_0= ruleQualifiedName ) ) otherlv_3= LeftCurlyBracket ( ( ruleQualifiedName ) ) otherlv_5= FullStopFullStopFullStop otherlv_6= RightCurlyBracket ) - // InternalSolverLanguageParser.g:837:3: otherlv_0= Extern ( ( ruleQualifiedName ) ) ( (lv_name_2_0= ruleQualifiedName ) ) otherlv_3= LeftCurlyBracket ( ( ruleQualifiedName ) ) otherlv_5= FullStopFullStopFullStop otherlv_6= RightCurlyBracket + // InternalSolverLanguageParser.g:1220:2: (otherlv_0= Extern ( ( ruleQualifiedName ) ) ( (lv_name_2_0= ruleQualifiedName ) ) ( (lv_argumentList_3_0= ruleArgumentList ) ) this_FULL_STOP_4= RULE_FULL_STOP ) + // InternalSolverLanguageParser.g:1221:3: otherlv_0= Extern ( ( ruleQualifiedName ) ) ( (lv_name_2_0= ruleQualifiedName ) ) ( (lv_argumentList_3_0= ruleArgumentList ) ) this_FULL_STOP_4= RULE_FULL_STOP { - otherlv_0=(Token)match(input,Extern,FOLLOW_8); + otherlv_0=(Token)match(input,Extern,FOLLOW_3); - newLeafNode(otherlv_0, grammarAccess.getExternAggregatorDefinitionAccess().getExternKeyword_0()); + newLeafNode(otherlv_0, grammarAccess.getExternFunctionDeclarationAccess().getExternKeyword_0()); - // InternalSolverLanguageParser.g:841:3: ( ( ruleQualifiedName ) ) - // InternalSolverLanguageParser.g:842:4: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:1225:3: ( ( ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:1226:4: ( ruleQualifiedName ) { - // InternalSolverLanguageParser.g:842:4: ( ruleQualifiedName ) - // InternalSolverLanguageParser.g:843:5: ruleQualifiedName + // InternalSolverLanguageParser.g:1226:4: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:1227:5: ruleQualifiedName { if (current==null) { - current = createModelElement(grammarAccess.getExternAggregatorDefinitionRule()); + current = createModelElement(grammarAccess.getExternFunctionDeclarationRule()); } - newCompositeNode(grammarAccess.getExternAggregatorDefinitionAccess().getTypeNamedElementCrossReference_1_0()); + newCompositeNode(grammarAccess.getExternFunctionDeclarationAccess().getResultTypeSymbolCrossReference_1_0()); - pushFollow(FOLLOW_8); + pushFollow(FOLLOW_3); ruleQualifiedName(); state._fsp--; @@ -2059,23 +3095,23 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } - // InternalSolverLanguageParser.g:857:3: ( (lv_name_2_0= ruleQualifiedName ) ) - // InternalSolverLanguageParser.g:858:4: (lv_name_2_0= ruleQualifiedName ) + // InternalSolverLanguageParser.g:1241:3: ( (lv_name_2_0= ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:1242:4: (lv_name_2_0= ruleQualifiedName ) { - // InternalSolverLanguageParser.g:858:4: (lv_name_2_0= ruleQualifiedName ) - // InternalSolverLanguageParser.g:859:5: lv_name_2_0= ruleQualifiedName + // InternalSolverLanguageParser.g:1242:4: (lv_name_2_0= ruleQualifiedName ) + // InternalSolverLanguageParser.g:1243:5: lv_name_2_0= ruleQualifiedName { - newCompositeNode(grammarAccess.getExternAggregatorDefinitionAccess().getNameQualifiedNameParserRuleCall_2_0()); + newCompositeNode(grammarAccess.getExternFunctionDeclarationAccess().getNameQualifiedNameParserRuleCall_2_0()); - pushFollow(FOLLOW_14); + pushFollow(FOLLOW_15); lv_name_2_0=ruleQualifiedName(); state._fsp--; if (current==null) { - current = createModelElementForParent(grammarAccess.getExternAggregatorDefinitionRule()); + current = createModelElementForParent(grammarAccess.getExternFunctionDeclarationRule()); } set( current, @@ -2090,30 +3126,29 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } - otherlv_3=(Token)match(input,LeftCurlyBracket,FOLLOW_8); - - newLeafNode(otherlv_3, grammarAccess.getExternAggregatorDefinitionAccess().getLeftCurlyBracketKeyword_3()); - - // InternalSolverLanguageParser.g:880:3: ( ( ruleQualifiedName ) ) - // InternalSolverLanguageParser.g:881:4: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:1260:3: ( (lv_argumentList_3_0= ruleArgumentList ) ) + // InternalSolverLanguageParser.g:1261:4: (lv_argumentList_3_0= ruleArgumentList ) { - // InternalSolverLanguageParser.g:881:4: ( ruleQualifiedName ) - // InternalSolverLanguageParser.g:882:5: ruleQualifiedName + // InternalSolverLanguageParser.g:1261:4: (lv_argumentList_3_0= ruleArgumentList ) + // InternalSolverLanguageParser.g:1262:5: lv_argumentList_3_0= ruleArgumentList { - if (current==null) { - current = createModelElement(grammarAccess.getExternAggregatorDefinitionRule()); - } - - - newCompositeNode(grammarAccess.getExternAggregatorDefinitionAccess().getInputTypeNamedElementCrossReference_4_0()); + newCompositeNode(grammarAccess.getExternFunctionDeclarationAccess().getArgumentListArgumentListParserRuleCall_3_0()); - pushFollow(FOLLOW_15); - ruleQualifiedName(); + pushFollow(FOLLOW_4); + lv_argumentList_3_0=ruleArgumentList(); state._fsp--; + if (current==null) { + current = createModelElementForParent(grammarAccess.getExternFunctionDeclarationRule()); + } + set( + current, + "argumentList", + lv_argumentList_3_0, + "org.eclipse.viatra.solver.language.SolverLanguage.ArgumentList"); afterParserOrEnumRuleCall(); @@ -2122,13 +3157,9 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } - otherlv_5=(Token)match(input,FullStopFullStopFullStop,FOLLOW_16); - - newLeafNode(otherlv_5, grammarAccess.getExternAggregatorDefinitionAccess().getFullStopFullStopFullStopKeyword_5()); - - otherlv_6=(Token)match(input,RightCurlyBracket,FOLLOW_2); + this_FULL_STOP_4=(Token)match(input,RULE_FULL_STOP,FOLLOW_2); - newLeafNode(otherlv_6, grammarAccess.getExternAggregatorDefinitionAccess().getRightCurlyBracketKeyword_6()); + newLeafNode(this_FULL_STOP_4, grammarAccess.getExternFunctionDeclarationAccess().getFULL_STOPTerminalRuleCall_4()); } @@ -2149,28 +3180,28 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } return current; } - // $ANTLR end "ruleExternAggregatorDefinition" + // $ANTLR end "ruleExternFunctionDeclaration" - // $ANTLR start "entryRuleExternDatatypeDefinition" - // InternalSolverLanguageParser.g:908:1: entryRuleExternDatatypeDefinition returns [EObject current=null] : iv_ruleExternDatatypeDefinition= ruleExternDatatypeDefinition EOF ; - public final EObject entryRuleExternDatatypeDefinition() throws RecognitionException { + // $ANTLR start "entryRuleExternAggregationOperatorDeclaration" + // InternalSolverLanguageParser.g:1287:1: entryRuleExternAggregationOperatorDeclaration returns [EObject current=null] : iv_ruleExternAggregationOperatorDeclaration= ruleExternAggregationOperatorDeclaration EOF ; + public final EObject entryRuleExternAggregationOperatorDeclaration() throws RecognitionException { EObject current = null; - EObject iv_ruleExternDatatypeDefinition = null; + EObject iv_ruleExternAggregationOperatorDeclaration = null; try { - // InternalSolverLanguageParser.g:908:65: (iv_ruleExternDatatypeDefinition= ruleExternDatatypeDefinition EOF ) - // InternalSolverLanguageParser.g:909:2: iv_ruleExternDatatypeDefinition= ruleExternDatatypeDefinition EOF + // InternalSolverLanguageParser.g:1287:77: (iv_ruleExternAggregationOperatorDeclaration= ruleExternAggregationOperatorDeclaration EOF ) + // InternalSolverLanguageParser.g:1288:2: iv_ruleExternAggregationOperatorDeclaration= ruleExternAggregationOperatorDeclaration EOF { - newCompositeNode(grammarAccess.getExternDatatypeDefinitionRule()); + newCompositeNode(grammarAccess.getExternAggregationOperatorDeclarationRule()); pushFollow(FOLLOW_1); - iv_ruleExternDatatypeDefinition=ruleExternDatatypeDefinition(); + iv_ruleExternAggregationOperatorDeclaration=ruleExternAggregationOperatorDeclaration(); state._fsp--; - current =iv_ruleExternDatatypeDefinition; + current =iv_ruleExternAggregationOperatorDeclaration; match(input,EOF,FOLLOW_2); } @@ -2185,18 +3216,19 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } return current; } - // $ANTLR end "entryRuleExternDatatypeDefinition" + // $ANTLR end "entryRuleExternAggregationOperatorDeclaration" - // $ANTLR start "ruleExternDatatypeDefinition" - // InternalSolverLanguageParser.g:915:1: ruleExternDatatypeDefinition returns [EObject current=null] : (otherlv_0= Extern otherlv_1= Datatype ( (lv_name_2_0= ruleQualifiedName ) ) (otherlv_3= Extends ( ( ruleQualifiedName ) ) (otherlv_5= Comma ( ( ruleQualifiedName ) ) )* ) ) ; - public final EObject ruleExternDatatypeDefinition() throws RecognitionException { + // $ANTLR start "ruleExternAggregationOperatorDeclaration" + // InternalSolverLanguageParser.g:1294:1: ruleExternAggregationOperatorDeclaration returns [EObject current=null] : (otherlv_0= Extern ( ( ruleQualifiedName ) ) ( (lv_name_2_0= ruleQualifiedName ) ) otherlv_3= LeftCurlyBracket ( ( ruleQualifiedName ) ) otherlv_5= FullStopFullStopFullStop otherlv_6= RightCurlyBracket this_FULL_STOP_7= RULE_FULL_STOP ) ; + public final EObject ruleExternAggregationOperatorDeclaration() throws RecognitionException { EObject current = null; Token otherlv_0=null; - Token otherlv_1=null; Token otherlv_3=null; Token otherlv_5=null; + Token otherlv_6=null; + Token this_FULL_STOP_7=null; AntlrDatatypeRuleToken lv_name_2_0 = null; @@ -2204,43 +3236,36 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { enterRule(); try { - // InternalSolverLanguageParser.g:921:2: ( (otherlv_0= Extern otherlv_1= Datatype ( (lv_name_2_0= ruleQualifiedName ) ) (otherlv_3= Extends ( ( ruleQualifiedName ) ) (otherlv_5= Comma ( ( ruleQualifiedName ) ) )* ) ) ) - // InternalSolverLanguageParser.g:922:2: (otherlv_0= Extern otherlv_1= Datatype ( (lv_name_2_0= ruleQualifiedName ) ) (otherlv_3= Extends ( ( ruleQualifiedName ) ) (otherlv_5= Comma ( ( ruleQualifiedName ) ) )* ) ) + // InternalSolverLanguageParser.g:1300:2: ( (otherlv_0= Extern ( ( ruleQualifiedName ) ) ( (lv_name_2_0= ruleQualifiedName ) ) otherlv_3= LeftCurlyBracket ( ( ruleQualifiedName ) ) otherlv_5= FullStopFullStopFullStop otherlv_6= RightCurlyBracket this_FULL_STOP_7= RULE_FULL_STOP ) ) + // InternalSolverLanguageParser.g:1301:2: (otherlv_0= Extern ( ( ruleQualifiedName ) ) ( (lv_name_2_0= ruleQualifiedName ) ) otherlv_3= LeftCurlyBracket ( ( ruleQualifiedName ) ) otherlv_5= FullStopFullStopFullStop otherlv_6= RightCurlyBracket this_FULL_STOP_7= RULE_FULL_STOP ) { - // InternalSolverLanguageParser.g:922:2: (otherlv_0= Extern otherlv_1= Datatype ( (lv_name_2_0= ruleQualifiedName ) ) (otherlv_3= Extends ( ( ruleQualifiedName ) ) (otherlv_5= Comma ( ( ruleQualifiedName ) ) )* ) ) - // InternalSolverLanguageParser.g:923:3: otherlv_0= Extern otherlv_1= Datatype ( (lv_name_2_0= ruleQualifiedName ) ) (otherlv_3= Extends ( ( ruleQualifiedName ) ) (otherlv_5= Comma ( ( ruleQualifiedName ) ) )* ) + // InternalSolverLanguageParser.g:1301:2: (otherlv_0= Extern ( ( ruleQualifiedName ) ) ( (lv_name_2_0= ruleQualifiedName ) ) otherlv_3= LeftCurlyBracket ( ( ruleQualifiedName ) ) otherlv_5= FullStopFullStopFullStop otherlv_6= RightCurlyBracket this_FULL_STOP_7= RULE_FULL_STOP ) + // InternalSolverLanguageParser.g:1302:3: otherlv_0= Extern ( ( ruleQualifiedName ) ) ( (lv_name_2_0= ruleQualifiedName ) ) otherlv_3= LeftCurlyBracket ( ( ruleQualifiedName ) ) otherlv_5= FullStopFullStopFullStop otherlv_6= RightCurlyBracket this_FULL_STOP_7= RULE_FULL_STOP { - otherlv_0=(Token)match(input,Extern,FOLLOW_17); - - newLeafNode(otherlv_0, grammarAccess.getExternDatatypeDefinitionAccess().getExternKeyword_0()); - - otherlv_1=(Token)match(input,Datatype,FOLLOW_8); + otherlv_0=(Token)match(input,Extern,FOLLOW_3); - newLeafNode(otherlv_1, grammarAccess.getExternDatatypeDefinitionAccess().getDatatypeKeyword_1()); + newLeafNode(otherlv_0, grammarAccess.getExternAggregationOperatorDeclarationAccess().getExternKeyword_0()); - // InternalSolverLanguageParser.g:931:3: ( (lv_name_2_0= ruleQualifiedName ) ) - // InternalSolverLanguageParser.g:932:4: (lv_name_2_0= ruleQualifiedName ) + // InternalSolverLanguageParser.g:1306:3: ( ( ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:1307:4: ( ruleQualifiedName ) { - // InternalSolverLanguageParser.g:932:4: (lv_name_2_0= ruleQualifiedName ) - // InternalSolverLanguageParser.g:933:5: lv_name_2_0= ruleQualifiedName + // InternalSolverLanguageParser.g:1307:4: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:1308:5: ruleQualifiedName { - newCompositeNode(grammarAccess.getExternDatatypeDefinitionAccess().getNameQualifiedNameParserRuleCall_2_0()); + if (current==null) { + current = createModelElement(grammarAccess.getExternAggregationOperatorDeclarationRule()); + } - pushFollow(FOLLOW_18); - lv_name_2_0=ruleQualifiedName(); + + newCompositeNode(grammarAccess.getExternAggregationOperatorDeclarationAccess().getResultTypeSymbolCrossReference_1_0()); + + pushFollow(FOLLOW_3); + ruleQualifiedName(); state._fsp--; - if (current==null) { - current = createModelElementForParent(grammarAccess.getExternDatatypeDefinitionRule()); - } - set( - current, - "name", - lv_name_2_0, - "org.eclipse.viatra.solver.language.SolverLanguage.QualifiedName"); afterParserOrEnumRuleCall(); @@ -2249,100 +3274,81 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } - // InternalSolverLanguageParser.g:950:3: (otherlv_3= Extends ( ( ruleQualifiedName ) ) (otherlv_5= Comma ( ( ruleQualifiedName ) ) )* ) - // InternalSolverLanguageParser.g:951:4: otherlv_3= Extends ( ( ruleQualifiedName ) ) (otherlv_5= Comma ( ( ruleQualifiedName ) ) )* - { - otherlv_3=(Token)match(input,Extends,FOLLOW_8); - - newLeafNode(otherlv_3, grammarAccess.getExternDatatypeDefinitionAccess().getExtendsKeyword_3_0()); - - // InternalSolverLanguageParser.g:955:4: ( ( ruleQualifiedName ) ) - // InternalSolverLanguageParser.g:956:5: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:1322:3: ( (lv_name_2_0= ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:1323:4: (lv_name_2_0= ruleQualifiedName ) { - // InternalSolverLanguageParser.g:956:5: ( ruleQualifiedName ) - // InternalSolverLanguageParser.g:957:6: ruleQualifiedName + // InternalSolverLanguageParser.g:1323:4: (lv_name_2_0= ruleQualifiedName ) + // InternalSolverLanguageParser.g:1324:5: lv_name_2_0= ruleQualifiedName { - if (current==null) { - current = createModelElement(grammarAccess.getExternDatatypeDefinitionRule()); - } - - - newCompositeNode(grammarAccess.getExternDatatypeDefinitionAccess().getSupertypesNamedElementCrossReference_3_1_0()); - - pushFollow(FOLLOW_19); - ruleQualifiedName(); + newCompositeNode(grammarAccess.getExternAggregationOperatorDeclarationAccess().getNameQualifiedNameParserRuleCall_2_0()); + + pushFollow(FOLLOW_20); + lv_name_2_0=ruleQualifiedName(); state._fsp--; - afterParserOrEnumRuleCall(); - - - } - + if (current==null) { + current = createModelElementForParent(grammarAccess.getExternAggregationOperatorDeclarationRule()); + } + set( + current, + "name", + lv_name_2_0, + "org.eclipse.viatra.solver.language.SolverLanguage.QualifiedName"); + afterParserOrEnumRuleCall(); + } - // InternalSolverLanguageParser.g:971:4: (otherlv_5= Comma ( ( ruleQualifiedName ) ) )* - loop7: - do { - int alt7=2; - int LA7_0 = input.LA(1); - - if ( (LA7_0==Comma) ) { - alt7=1; - } - - - switch (alt7) { - case 1 : - // InternalSolverLanguageParser.g:972:5: otherlv_5= Comma ( ( ruleQualifiedName ) ) - { - otherlv_5=(Token)match(input,Comma,FOLLOW_8); - - newLeafNode(otherlv_5, grammarAccess.getExternDatatypeDefinitionAccess().getCommaKeyword_3_2_0()); - - // InternalSolverLanguageParser.g:976:5: ( ( ruleQualifiedName ) ) - // InternalSolverLanguageParser.g:977:6: ( ruleQualifiedName ) - { - // InternalSolverLanguageParser.g:977:6: ( ruleQualifiedName ) - // InternalSolverLanguageParser.g:978:7: ruleQualifiedName - { - - if (current==null) { - current = createModelElement(grammarAccess.getExternDatatypeDefinitionRule()); - } - - - newCompositeNode(grammarAccess.getExternDatatypeDefinitionAccess().getSupertypesNamedElementCrossReference_3_2_1_0()); - - pushFollow(FOLLOW_19); - ruleQualifiedName(); - state._fsp--; + } + otherlv_3=(Token)match(input,LeftCurlyBracket,FOLLOW_3); - afterParserOrEnumRuleCall(); - + newLeafNode(otherlv_3, grammarAccess.getExternAggregationOperatorDeclarationAccess().getLeftCurlyBracketKeyword_3()); + + // InternalSolverLanguageParser.g:1345:3: ( ( ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:1346:4: ( ruleQualifiedName ) + { + // InternalSolverLanguageParser.g:1346:4: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:1347:5: ruleQualifiedName + { - } + if (current==null) { + current = createModelElement(grammarAccess.getExternAggregationOperatorDeclarationRule()); + } + + newCompositeNode(grammarAccess.getExternAggregationOperatorDeclarationAccess().getArgumentTypeSymbolCrossReference_4_0()); + + pushFollow(FOLLOW_21); + ruleQualifiedName(); - } + state._fsp--; - } - break; + afterParserOrEnumRuleCall(); + - default : - break loop7; - } - } while (true); + } } + otherlv_5=(Token)match(input,FullStopFullStopFullStop,FOLLOW_22); + + newLeafNode(otherlv_5, grammarAccess.getExternAggregationOperatorDeclarationAccess().getFullStopFullStopFullStopKeyword_5()); + + otherlv_6=(Token)match(input,RightCurlyBracket,FOLLOW_4); + + newLeafNode(otherlv_6, grammarAccess.getExternAggregationOperatorDeclarationAccess().getRightCurlyBracketKeyword_6()); + + this_FULL_STOP_7=(Token)match(input,RULE_FULL_STOP,FOLLOW_2); + + newLeafNode(this_FULL_STOP_7, grammarAccess.getExternAggregationOperatorDeclarationAccess().getFULL_STOPTerminalRuleCall_7()); + } @@ -2362,28 +3368,28 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } return current; } - // $ANTLR end "ruleExternDatatypeDefinition" + // $ANTLR end "ruleExternAggregationOperatorDeclaration" - // $ANTLR start "entryRuleVariable" - // InternalSolverLanguageParser.g:998:1: entryRuleVariable returns [EObject current=null] : iv_ruleVariable= ruleVariable EOF ; - public final EObject entryRuleVariable() throws RecognitionException { + // $ANTLR start "entryRuleExternDatatypeDeclaration" + // InternalSolverLanguageParser.g:1377:1: entryRuleExternDatatypeDeclaration returns [EObject current=null] : iv_ruleExternDatatypeDeclaration= ruleExternDatatypeDeclaration EOF ; + public final EObject entryRuleExternDatatypeDeclaration() throws RecognitionException { EObject current = null; - EObject iv_ruleVariable = null; + EObject iv_ruleExternDatatypeDeclaration = null; try { - // InternalSolverLanguageParser.g:998:49: (iv_ruleVariable= ruleVariable EOF ) - // InternalSolverLanguageParser.g:999:2: iv_ruleVariable= ruleVariable EOF + // InternalSolverLanguageParser.g:1377:66: (iv_ruleExternDatatypeDeclaration= ruleExternDatatypeDeclaration EOF ) + // InternalSolverLanguageParser.g:1378:2: iv_ruleExternDatatypeDeclaration= ruleExternDatatypeDeclaration EOF { - newCompositeNode(grammarAccess.getVariableRule()); + newCompositeNode(grammarAccess.getExternDatatypeDeclarationRule()); pushFollow(FOLLOW_1); - iv_ruleVariable=ruleVariable(); + iv_ruleExternDatatypeDeclaration=ruleExternDatatypeDeclaration(); state._fsp--; - current =iv_ruleVariable; + current =iv_ruleExternDatatypeDeclaration; match(input,EOF,FOLLOW_2); } @@ -2398,91 +3404,62 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } return current; } - // $ANTLR end "entryRuleVariable" + // $ANTLR end "entryRuleExternDatatypeDeclaration" - // $ANTLR start "ruleVariable" - // InternalSolverLanguageParser.g:1005:1: ruleVariable returns [EObject current=null] : ( ( ( ruleQualifiedName ) )? ( (lv_name_1_0= RULE_ID ) ) ) ; - public final EObject ruleVariable() throws RecognitionException { + // $ANTLR start "ruleExternDatatypeDeclaration" + // InternalSolverLanguageParser.g:1384:1: ruleExternDatatypeDeclaration returns [EObject current=null] : (otherlv_0= Extern otherlv_1= Datatype ( (lv_name_2_0= ruleQualifiedName ) ) this_FULL_STOP_3= RULE_FULL_STOP ) ; + public final EObject ruleExternDatatypeDeclaration() throws RecognitionException { EObject current = null; - Token lv_name_1_0=null; + Token otherlv_0=null; + Token otherlv_1=null; + Token this_FULL_STOP_3=null; + AntlrDatatypeRuleToken lv_name_2_0 = null; + enterRule(); try { - // InternalSolverLanguageParser.g:1011:2: ( ( ( ( ruleQualifiedName ) )? ( (lv_name_1_0= RULE_ID ) ) ) ) - // InternalSolverLanguageParser.g:1012:2: ( ( ( ruleQualifiedName ) )? ( (lv_name_1_0= RULE_ID ) ) ) + // InternalSolverLanguageParser.g:1390:2: ( (otherlv_0= Extern otherlv_1= Datatype ( (lv_name_2_0= ruleQualifiedName ) ) this_FULL_STOP_3= RULE_FULL_STOP ) ) + // InternalSolverLanguageParser.g:1391:2: (otherlv_0= Extern otherlv_1= Datatype ( (lv_name_2_0= ruleQualifiedName ) ) this_FULL_STOP_3= RULE_FULL_STOP ) { - // InternalSolverLanguageParser.g:1012:2: ( ( ( ruleQualifiedName ) )? ( (lv_name_1_0= RULE_ID ) ) ) - // InternalSolverLanguageParser.g:1013:3: ( ( ruleQualifiedName ) )? ( (lv_name_1_0= RULE_ID ) ) + // InternalSolverLanguageParser.g:1391:2: (otherlv_0= Extern otherlv_1= Datatype ( (lv_name_2_0= ruleQualifiedName ) ) this_FULL_STOP_3= RULE_FULL_STOP ) + // InternalSolverLanguageParser.g:1392:3: otherlv_0= Extern otherlv_1= Datatype ( (lv_name_2_0= ruleQualifiedName ) ) this_FULL_STOP_3= RULE_FULL_STOP { - // InternalSolverLanguageParser.g:1013:3: ( ( ruleQualifiedName ) )? - int alt8=2; - int LA8_0 = input.LA(1); - - if ( (LA8_0==RULE_ID) ) { - int LA8_1 = input.LA(2); - - if ( (LA8_1==FullStop||LA8_1==RULE_ID) ) { - alt8=1; - } - } - else if ( (LA8_0==RULE_QUOTED_ID) ) { - alt8=1; - } - switch (alt8) { - case 1 : - // InternalSolverLanguageParser.g:1014:4: ( ruleQualifiedName ) - { - // InternalSolverLanguageParser.g:1014:4: ( ruleQualifiedName ) - // InternalSolverLanguageParser.g:1015:5: ruleQualifiedName - { - - if (current==null) { - current = createModelElement(grammarAccess.getVariableRule()); - } - - - newCompositeNode(grammarAccess.getVariableAccess().getTypeNamedElementCrossReference_0_0()); - - pushFollow(FOLLOW_20); - ruleQualifiedName(); + otherlv_0=(Token)match(input,Extern,FOLLOW_23); - state._fsp--; - - - afterParserOrEnumRuleCall(); - - - } - - - } - break; - - } + newLeafNode(otherlv_0, grammarAccess.getExternDatatypeDeclarationAccess().getExternKeyword_0()); + + otherlv_1=(Token)match(input,Datatype,FOLLOW_3); - // InternalSolverLanguageParser.g:1029:3: ( (lv_name_1_0= RULE_ID ) ) - // InternalSolverLanguageParser.g:1030:4: (lv_name_1_0= RULE_ID ) + newLeafNode(otherlv_1, grammarAccess.getExternDatatypeDeclarationAccess().getDatatypeKeyword_1()); + + // InternalSolverLanguageParser.g:1400:3: ( (lv_name_2_0= ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:1401:4: (lv_name_2_0= ruleQualifiedName ) { - // InternalSolverLanguageParser.g:1030:4: (lv_name_1_0= RULE_ID ) - // InternalSolverLanguageParser.g:1031:5: lv_name_1_0= RULE_ID + // InternalSolverLanguageParser.g:1401:4: (lv_name_2_0= ruleQualifiedName ) + // InternalSolverLanguageParser.g:1402:5: lv_name_2_0= ruleQualifiedName { - lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_2); - newLeafNode(lv_name_1_0, grammarAccess.getVariableAccess().getNameIDTerminalRuleCall_1_0()); + newCompositeNode(grammarAccess.getExternDatatypeDeclarationAccess().getNameQualifiedNameParserRuleCall_2_0()); + pushFollow(FOLLOW_4); + lv_name_2_0=ruleQualifiedName(); + + state._fsp--; + if (current==null) { - current = createModelElement(grammarAccess.getVariableRule()); + current = createModelElementForParent(grammarAccess.getExternDatatypeDeclarationRule()); } - setWithLastConsumed( + set( current, "name", - lv_name_1_0, - "org.eclipse.xtext.common.Terminals.ID"); + lv_name_2_0, + "org.eclipse.viatra.solver.language.SolverLanguage.QualifiedName"); + afterParserOrEnumRuleCall(); } @@ -2490,6 +3467,10 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } + this_FULL_STOP_3=(Token)match(input,RULE_FULL_STOP,FOLLOW_2); + + newLeafNode(this_FULL_STOP_3, grammarAccess.getExternDatatypeDeclarationAccess().getFULL_STOPTerminalRuleCall_3()); + } @@ -2509,11 +3490,11 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } return current; } - // $ANTLR end "ruleVariable" + // $ANTLR end "ruleExternDatatypeDeclaration" // $ANTLR start "entryRuleExpression" - // InternalSolverLanguageParser.g:1051:1: entryRuleExpression returns [EObject current=null] : iv_ruleExpression= ruleExpression EOF ; + // InternalSolverLanguageParser.g:1427:1: entryRuleExpression returns [EObject current=null] : iv_ruleExpression= ruleExpression EOF ; public final EObject entryRuleExpression() throws RecognitionException { EObject current = null; @@ -2521,8 +3502,8 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { try { - // InternalSolverLanguageParser.g:1051:51: (iv_ruleExpression= ruleExpression EOF ) - // InternalSolverLanguageParser.g:1052:2: iv_ruleExpression= ruleExpression EOF + // InternalSolverLanguageParser.g:1427:51: (iv_ruleExpression= ruleExpression EOF ) + // InternalSolverLanguageParser.g:1428:2: iv_ruleExpression= ruleExpression EOF { newCompositeNode(grammarAccess.getExpressionRule()); pushFollow(FOLLOW_1); @@ -2549,121 +3530,191 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleExpression" - // InternalSolverLanguageParser.g:1058:1: ruleExpression returns [EObject current=null] : (this_IfElse_0= ruleIfElse | this_Let_1= ruleLet | this_ImplicationExpression_2= ruleImplicationExpression ) ; + // InternalSolverLanguageParser.g:1434:1: ruleExpression returns [EObject current=null] : (this_ConditionalExpression_0= ruleConditionalExpression | this_LetExpression_1= ruleLetExpression | (this_DisjunctiveExpression_2= ruleDisjunctiveExpression ( () otherlv_4= EqualsSignGreaterThanSign ( (lv_body_5_0= ruleDisjunctiveExpression ) ) )? ) ) ; public final EObject ruleExpression() throws RecognitionException { EObject current = null; - EObject this_IfElse_0 = null; + Token otherlv_4=null; + EObject this_ConditionalExpression_0 = null; + + EObject this_LetExpression_1 = null; - EObject this_Let_1 = null; + EObject this_DisjunctiveExpression_2 = null; - EObject this_ImplicationExpression_2 = null; + EObject lv_body_5_0 = null; enterRule(); try { - // InternalSolverLanguageParser.g:1064:2: ( (this_IfElse_0= ruleIfElse | this_Let_1= ruleLet | this_ImplicationExpression_2= ruleImplicationExpression ) ) - // InternalSolverLanguageParser.g:1065:2: (this_IfElse_0= ruleIfElse | this_Let_1= ruleLet | this_ImplicationExpression_2= ruleImplicationExpression ) + // InternalSolverLanguageParser.g:1440:2: ( (this_ConditionalExpression_0= ruleConditionalExpression | this_LetExpression_1= ruleLetExpression | (this_DisjunctiveExpression_2= ruleDisjunctiveExpression ( () otherlv_4= EqualsSignGreaterThanSign ( (lv_body_5_0= ruleDisjunctiveExpression ) ) )? ) ) ) + // InternalSolverLanguageParser.g:1441:2: (this_ConditionalExpression_0= ruleConditionalExpression | this_LetExpression_1= ruleLetExpression | (this_DisjunctiveExpression_2= ruleDisjunctiveExpression ( () otherlv_4= EqualsSignGreaterThanSign ( (lv_body_5_0= ruleDisjunctiveExpression ) ) )? ) ) { - // InternalSolverLanguageParser.g:1065:2: (this_IfElse_0= ruleIfElse | this_Let_1= ruleLet | this_ImplicationExpression_2= ruleImplicationExpression ) - int alt9=3; + // InternalSolverLanguageParser.g:1441:2: (this_ConditionalExpression_0= ruleConditionalExpression | this_LetExpression_1= ruleLetExpression | (this_DisjunctiveExpression_2= ruleDisjunctiveExpression ( () otherlv_4= EqualsSignGreaterThanSign ( (lv_body_5_0= ruleDisjunctiveExpression ) ) )? ) ) + int alt16=3; switch ( input.LA(1) ) { case If: { - alt9=1; + alt16=1; } break; case Let: { - alt9=2; + alt16=2; } break; - case Current: case Unknown: - case Exists: - case Forall: + case Object: case Count: case Empty: case Error: case False: - case Must: case True: case Inf: - case May: case ExclamationMark: case LeftParenthesis: case PlusSign: case HyphenMinus: + case QuestionMark: case LeftSquareBracket: + case Tilde: case RULE_STRING: case RULE_QUOTED_ID: case RULE_ID: case RULE_INT: { - alt9=3; + alt16=3; } break; default: NoViableAltException nvae = - new NoViableAltException("", 9, 0, input); + new NoViableAltException("", 16, 0, input); throw nvae; } - switch (alt9) { + switch (alt16) { case 1 : - // InternalSolverLanguageParser.g:1066:3: this_IfElse_0= ruleIfElse + // InternalSolverLanguageParser.g:1442:3: this_ConditionalExpression_0= ruleConditionalExpression { - newCompositeNode(grammarAccess.getExpressionAccess().getIfElseParserRuleCall_0()); + newCompositeNode(grammarAccess.getExpressionAccess().getConditionalExpressionParserRuleCall_0()); pushFollow(FOLLOW_2); - this_IfElse_0=ruleIfElse(); + this_ConditionalExpression_0=ruleConditionalExpression(); state._fsp--; - current = this_IfElse_0; + current = this_ConditionalExpression_0; afterParserOrEnumRuleCall(); } break; case 2 : - // InternalSolverLanguageParser.g:1075:3: this_Let_1= ruleLet + // InternalSolverLanguageParser.g:1451:3: this_LetExpression_1= ruleLetExpression { - newCompositeNode(grammarAccess.getExpressionAccess().getLetParserRuleCall_1()); + newCompositeNode(grammarAccess.getExpressionAccess().getLetExpressionParserRuleCall_1()); pushFollow(FOLLOW_2); - this_Let_1=ruleLet(); + this_LetExpression_1=ruleLetExpression(); state._fsp--; - current = this_Let_1; + current = this_LetExpression_1; afterParserOrEnumRuleCall(); } break; case 3 : - // InternalSolverLanguageParser.g:1084:3: this_ImplicationExpression_2= ruleImplicationExpression + // InternalSolverLanguageParser.g:1460:3: (this_DisjunctiveExpression_2= ruleDisjunctiveExpression ( () otherlv_4= EqualsSignGreaterThanSign ( (lv_body_5_0= ruleDisjunctiveExpression ) ) )? ) + { + // InternalSolverLanguageParser.g:1460:3: (this_DisjunctiveExpression_2= ruleDisjunctiveExpression ( () otherlv_4= EqualsSignGreaterThanSign ( (lv_body_5_0= ruleDisjunctiveExpression ) ) )? ) + // InternalSolverLanguageParser.g:1461:4: this_DisjunctiveExpression_2= ruleDisjunctiveExpression ( () otherlv_4= EqualsSignGreaterThanSign ( (lv_body_5_0= ruleDisjunctiveExpression ) ) )? { - newCompositeNode(grammarAccess.getExpressionAccess().getImplicationExpressionParserRuleCall_2()); - - pushFollow(FOLLOW_2); - this_ImplicationExpression_2=ruleImplicationExpression(); + newCompositeNode(grammarAccess.getExpressionAccess().getDisjunctiveExpressionParserRuleCall_2_0()); + + pushFollow(FOLLOW_24); + this_DisjunctiveExpression_2=ruleDisjunctiveExpression(); state._fsp--; - current = this_ImplicationExpression_2; - afterParserOrEnumRuleCall(); - + current = this_DisjunctiveExpression_2; + afterParserOrEnumRuleCall(); + + // InternalSolverLanguageParser.g:1469:4: ( () otherlv_4= EqualsSignGreaterThanSign ( (lv_body_5_0= ruleDisjunctiveExpression ) ) )? + int alt15=2; + int LA15_0 = input.LA(1); + + if ( (LA15_0==EqualsSignGreaterThanSign) ) { + alt15=1; + } + switch (alt15) { + case 1 : + // InternalSolverLanguageParser.g:1470:5: () otherlv_4= EqualsSignGreaterThanSign ( (lv_body_5_0= ruleDisjunctiveExpression ) ) + { + // InternalSolverLanguageParser.g:1470:5: () + // InternalSolverLanguageParser.g:1471:6: + { + + current = forceCreateModelElementAndSet( + grammarAccess.getExpressionAccess().getForallConditionAction_2_1_0(), + current); + + + } + + otherlv_4=(Token)match(input,EqualsSignGreaterThanSign,FOLLOW_10); + + newLeafNode(otherlv_4, grammarAccess.getExpressionAccess().getEqualsSignGreaterThanSignKeyword_2_1_1()); + + // InternalSolverLanguageParser.g:1481:5: ( (lv_body_5_0= ruleDisjunctiveExpression ) ) + // InternalSolverLanguageParser.g:1482:6: (lv_body_5_0= ruleDisjunctiveExpression ) + { + // InternalSolverLanguageParser.g:1482:6: (lv_body_5_0= ruleDisjunctiveExpression ) + // InternalSolverLanguageParser.g:1483:7: lv_body_5_0= ruleDisjunctiveExpression + { + + newCompositeNode(grammarAccess.getExpressionAccess().getBodyDisjunctiveExpressionParserRuleCall_2_1_2_0()); + + pushFollow(FOLLOW_2); + lv_body_5_0=ruleDisjunctiveExpression(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getExpressionRule()); + } + set( + current, + "body", + lv_body_5_0, + "org.eclipse.viatra.solver.language.SolverLanguage.DisjunctiveExpression"); + afterParserOrEnumRuleCall(); + + + } + + + } + + + } + break; + + } + + + } + } break; @@ -2689,25 +3740,25 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR end "ruleExpression" - // $ANTLR start "entryRuleIfElse" - // InternalSolverLanguageParser.g:1096:1: entryRuleIfElse returns [EObject current=null] : iv_ruleIfElse= ruleIfElse EOF ; - public final EObject entryRuleIfElse() throws RecognitionException { + // $ANTLR start "entryRuleConditionalExpression" + // InternalSolverLanguageParser.g:1506:1: entryRuleConditionalExpression returns [EObject current=null] : iv_ruleConditionalExpression= ruleConditionalExpression EOF ; + public final EObject entryRuleConditionalExpression() throws RecognitionException { EObject current = null; - EObject iv_ruleIfElse = null; + EObject iv_ruleConditionalExpression = null; try { - // InternalSolverLanguageParser.g:1096:47: (iv_ruleIfElse= ruleIfElse EOF ) - // InternalSolverLanguageParser.g:1097:2: iv_ruleIfElse= ruleIfElse EOF + // InternalSolverLanguageParser.g:1506:62: (iv_ruleConditionalExpression= ruleConditionalExpression EOF ) + // InternalSolverLanguageParser.g:1507:2: iv_ruleConditionalExpression= ruleConditionalExpression EOF { - newCompositeNode(grammarAccess.getIfElseRule()); + newCompositeNode(grammarAccess.getConditionalExpressionRule()); pushFollow(FOLLOW_1); - iv_ruleIfElse=ruleIfElse(); + iv_ruleConditionalExpression=ruleConditionalExpression(); state._fsp--; - current =iv_ruleIfElse; + current =iv_ruleConditionalExpression; match(input,EOF,FOLLOW_2); } @@ -2722,12 +3773,12 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } return current; } - // $ANTLR end "entryRuleIfElse" + // $ANTLR end "entryRuleConditionalExpression" - // $ANTLR start "ruleIfElse" - // InternalSolverLanguageParser.g:1103:1: ruleIfElse returns [EObject current=null] : (otherlv_0= If ( (lv_condition_1_0= ruleExpression ) ) otherlv_2= Then ( (lv_then_3_0= ruleExpression ) ) otherlv_4= Else ( (lv_else_5_0= ruleExpression ) ) ) ; - public final EObject ruleIfElse() throws RecognitionException { + // $ANTLR start "ruleConditionalExpression" + // InternalSolverLanguageParser.g:1513:1: ruleConditionalExpression returns [EObject current=null] : (otherlv_0= If ( (lv_condition_1_0= ruleDisjunctiveExpression ) ) otherlv_2= Then ( (lv_then_3_0= ruleExpression ) ) otherlv_4= Else ( (lv_else_5_0= ruleExpression ) ) ) ; + public final EObject ruleConditionalExpression() throws RecognitionException { EObject current = null; Token otherlv_0=null; @@ -2744,39 +3795,39 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { enterRule(); try { - // InternalSolverLanguageParser.g:1109:2: ( (otherlv_0= If ( (lv_condition_1_0= ruleExpression ) ) otherlv_2= Then ( (lv_then_3_0= ruleExpression ) ) otherlv_4= Else ( (lv_else_5_0= ruleExpression ) ) ) ) - // InternalSolverLanguageParser.g:1110:2: (otherlv_0= If ( (lv_condition_1_0= ruleExpression ) ) otherlv_2= Then ( (lv_then_3_0= ruleExpression ) ) otherlv_4= Else ( (lv_else_5_0= ruleExpression ) ) ) + // InternalSolverLanguageParser.g:1519:2: ( (otherlv_0= If ( (lv_condition_1_0= ruleDisjunctiveExpression ) ) otherlv_2= Then ( (lv_then_3_0= ruleExpression ) ) otherlv_4= Else ( (lv_else_5_0= ruleExpression ) ) ) ) + // InternalSolverLanguageParser.g:1520:2: (otherlv_0= If ( (lv_condition_1_0= ruleDisjunctiveExpression ) ) otherlv_2= Then ( (lv_then_3_0= ruleExpression ) ) otherlv_4= Else ( (lv_else_5_0= ruleExpression ) ) ) { - // InternalSolverLanguageParser.g:1110:2: (otherlv_0= If ( (lv_condition_1_0= ruleExpression ) ) otherlv_2= Then ( (lv_then_3_0= ruleExpression ) ) otherlv_4= Else ( (lv_else_5_0= ruleExpression ) ) ) - // InternalSolverLanguageParser.g:1111:3: otherlv_0= If ( (lv_condition_1_0= ruleExpression ) ) otherlv_2= Then ( (lv_then_3_0= ruleExpression ) ) otherlv_4= Else ( (lv_else_5_0= ruleExpression ) ) + // InternalSolverLanguageParser.g:1520:2: (otherlv_0= If ( (lv_condition_1_0= ruleDisjunctiveExpression ) ) otherlv_2= Then ( (lv_then_3_0= ruleExpression ) ) otherlv_4= Else ( (lv_else_5_0= ruleExpression ) ) ) + // InternalSolverLanguageParser.g:1521:3: otherlv_0= If ( (lv_condition_1_0= ruleDisjunctiveExpression ) ) otherlv_2= Then ( (lv_then_3_0= ruleExpression ) ) otherlv_4= Else ( (lv_else_5_0= ruleExpression ) ) { - otherlv_0=(Token)match(input,If,FOLLOW_6); + otherlv_0=(Token)match(input,If,FOLLOW_10); - newLeafNode(otherlv_0, grammarAccess.getIfElseAccess().getIfKeyword_0()); + newLeafNode(otherlv_0, grammarAccess.getConditionalExpressionAccess().getIfKeyword_0()); - // InternalSolverLanguageParser.g:1115:3: ( (lv_condition_1_0= ruleExpression ) ) - // InternalSolverLanguageParser.g:1116:4: (lv_condition_1_0= ruleExpression ) + // InternalSolverLanguageParser.g:1525:3: ( (lv_condition_1_0= ruleDisjunctiveExpression ) ) + // InternalSolverLanguageParser.g:1526:4: (lv_condition_1_0= ruleDisjunctiveExpression ) { - // InternalSolverLanguageParser.g:1116:4: (lv_condition_1_0= ruleExpression ) - // InternalSolverLanguageParser.g:1117:5: lv_condition_1_0= ruleExpression + // InternalSolverLanguageParser.g:1526:4: (lv_condition_1_0= ruleDisjunctiveExpression ) + // InternalSolverLanguageParser.g:1527:5: lv_condition_1_0= ruleDisjunctiveExpression { - newCompositeNode(grammarAccess.getIfElseAccess().getConditionExpressionParserRuleCall_1_0()); + newCompositeNode(grammarAccess.getConditionalExpressionAccess().getConditionDisjunctiveExpressionParserRuleCall_1_0()); - pushFollow(FOLLOW_21); - lv_condition_1_0=ruleExpression(); + pushFollow(FOLLOW_25); + lv_condition_1_0=ruleDisjunctiveExpression(); state._fsp--; if (current==null) { - current = createModelElementForParent(grammarAccess.getIfElseRule()); + current = createModelElementForParent(grammarAccess.getConditionalExpressionRule()); } set( current, "condition", lv_condition_1_0, - "org.eclipse.viatra.solver.language.SolverLanguage.Expression"); + "org.eclipse.viatra.solver.language.SolverLanguage.DisjunctiveExpression"); afterParserOrEnumRuleCall(); @@ -2785,27 +3836,27 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } - otherlv_2=(Token)match(input,Then,FOLLOW_6); + otherlv_2=(Token)match(input,Then,FOLLOW_10); - newLeafNode(otherlv_2, grammarAccess.getIfElseAccess().getThenKeyword_2()); + newLeafNode(otherlv_2, grammarAccess.getConditionalExpressionAccess().getThenKeyword_2()); - // InternalSolverLanguageParser.g:1138:3: ( (lv_then_3_0= ruleExpression ) ) - // InternalSolverLanguageParser.g:1139:4: (lv_then_3_0= ruleExpression ) + // InternalSolverLanguageParser.g:1548:3: ( (lv_then_3_0= ruleExpression ) ) + // InternalSolverLanguageParser.g:1549:4: (lv_then_3_0= ruleExpression ) { - // InternalSolverLanguageParser.g:1139:4: (lv_then_3_0= ruleExpression ) - // InternalSolverLanguageParser.g:1140:5: lv_then_3_0= ruleExpression + // InternalSolverLanguageParser.g:1549:4: (lv_then_3_0= ruleExpression ) + // InternalSolverLanguageParser.g:1550:5: lv_then_3_0= ruleExpression { - newCompositeNode(grammarAccess.getIfElseAccess().getThenExpressionParserRuleCall_3_0()); + newCompositeNode(grammarAccess.getConditionalExpressionAccess().getThenExpressionParserRuleCall_3_0()); - pushFollow(FOLLOW_22); + pushFollow(FOLLOW_26); lv_then_3_0=ruleExpression(); state._fsp--; if (current==null) { - current = createModelElementForParent(grammarAccess.getIfElseRule()); + current = createModelElementForParent(grammarAccess.getConditionalExpressionRule()); } set( current, @@ -2820,18 +3871,18 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } - otherlv_4=(Token)match(input,Else,FOLLOW_6); + otherlv_4=(Token)match(input,Else,FOLLOW_10); - newLeafNode(otherlv_4, grammarAccess.getIfElseAccess().getElseKeyword_4()); + newLeafNode(otherlv_4, grammarAccess.getConditionalExpressionAccess().getElseKeyword_4()); - // InternalSolverLanguageParser.g:1161:3: ( (lv_else_5_0= ruleExpression ) ) - // InternalSolverLanguageParser.g:1162:4: (lv_else_5_0= ruleExpression ) + // InternalSolverLanguageParser.g:1571:3: ( (lv_else_5_0= ruleExpression ) ) + // InternalSolverLanguageParser.g:1572:4: (lv_else_5_0= ruleExpression ) { - // InternalSolverLanguageParser.g:1162:4: (lv_else_5_0= ruleExpression ) - // InternalSolverLanguageParser.g:1163:5: lv_else_5_0= ruleExpression + // InternalSolverLanguageParser.g:1572:4: (lv_else_5_0= ruleExpression ) + // InternalSolverLanguageParser.g:1573:5: lv_else_5_0= ruleExpression { - newCompositeNode(grammarAccess.getIfElseAccess().getElseExpressionParserRuleCall_5_0()); + newCompositeNode(grammarAccess.getConditionalExpressionAccess().getElseExpressionParserRuleCall_5_0()); pushFollow(FOLLOW_2); lv_else_5_0=ruleExpression(); @@ -2840,7 +3891,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { if (current==null) { - current = createModelElementForParent(grammarAccess.getIfElseRule()); + current = createModelElementForParent(grammarAccess.getConditionalExpressionRule()); } set( current, @@ -2874,28 +3925,28 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } return current; } - // $ANTLR end "ruleIfElse" + // $ANTLR end "ruleConditionalExpression" - // $ANTLR start "entryRuleLet" - // InternalSolverLanguageParser.g:1184:1: entryRuleLet returns [EObject current=null] : iv_ruleLet= ruleLet EOF ; - public final EObject entryRuleLet() throws RecognitionException { + // $ANTLR start "entryRuleLetExpression" + // InternalSolverLanguageParser.g:1594:1: entryRuleLetExpression returns [EObject current=null] : iv_ruleLetExpression= ruleLetExpression EOF ; + public final EObject entryRuleLetExpression() throws RecognitionException { EObject current = null; - EObject iv_ruleLet = null; + EObject iv_ruleLetExpression = null; try { - // InternalSolverLanguageParser.g:1184:44: (iv_ruleLet= ruleLet EOF ) - // InternalSolverLanguageParser.g:1185:2: iv_ruleLet= ruleLet EOF + // InternalSolverLanguageParser.g:1594:54: (iv_ruleLetExpression= ruleLetExpression EOF ) + // InternalSolverLanguageParser.g:1595:2: iv_ruleLetExpression= ruleLetExpression EOF { - newCompositeNode(grammarAccess.getLetRule()); + newCompositeNode(grammarAccess.getLetExpressionRule()); pushFollow(FOLLOW_1); - iv_ruleLet=ruleLet(); + iv_ruleLetExpression=ruleLetExpression(); state._fsp--; - current =iv_ruleLet; + current =iv_ruleLetExpression; match(input,EOF,FOLLOW_2); } @@ -2910,12 +3961,12 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } return current; } - // $ANTLR end "entryRuleLet" + // $ANTLR end "entryRuleLetExpression" - // $ANTLR start "ruleLet" - // InternalSolverLanguageParser.g:1191:1: ruleLet returns [EObject current=null] : (otherlv_0= Let ( (lv_bindings_1_0= ruleLetBinding ) ) (otherlv_2= Comma ( (lv_bindings_3_0= ruleLetBinding ) ) )* otherlv_4= In ( (lv_body_5_0= ruleExpression ) ) ) ; - public final EObject ruleLet() throws RecognitionException { + // $ANTLR start "ruleLetExpression" + // InternalSolverLanguageParser.g:1601:1: ruleLetExpression returns [EObject current=null] : (otherlv_0= Let ( (lv_bindings_1_0= ruleLetBinding ) ) (otherlv_2= Comma ( (lv_bindings_3_0= ruleLetBinding ) ) )* otherlv_4= In ( (lv_body_5_0= ruleExpression ) ) ) ; + public final EObject ruleLetExpression() throws RecognitionException { EObject current = null; Token otherlv_0=null; @@ -2932,33 +3983,33 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { enterRule(); try { - // InternalSolverLanguageParser.g:1197:2: ( (otherlv_0= Let ( (lv_bindings_1_0= ruleLetBinding ) ) (otherlv_2= Comma ( (lv_bindings_3_0= ruleLetBinding ) ) )* otherlv_4= In ( (lv_body_5_0= ruleExpression ) ) ) ) - // InternalSolverLanguageParser.g:1198:2: (otherlv_0= Let ( (lv_bindings_1_0= ruleLetBinding ) ) (otherlv_2= Comma ( (lv_bindings_3_0= ruleLetBinding ) ) )* otherlv_4= In ( (lv_body_5_0= ruleExpression ) ) ) + // InternalSolverLanguageParser.g:1607:2: ( (otherlv_0= Let ( (lv_bindings_1_0= ruleLetBinding ) ) (otherlv_2= Comma ( (lv_bindings_3_0= ruleLetBinding ) ) )* otherlv_4= In ( (lv_body_5_0= ruleExpression ) ) ) ) + // InternalSolverLanguageParser.g:1608:2: (otherlv_0= Let ( (lv_bindings_1_0= ruleLetBinding ) ) (otherlv_2= Comma ( (lv_bindings_3_0= ruleLetBinding ) ) )* otherlv_4= In ( (lv_body_5_0= ruleExpression ) ) ) { - // InternalSolverLanguageParser.g:1198:2: (otherlv_0= Let ( (lv_bindings_1_0= ruleLetBinding ) ) (otherlv_2= Comma ( (lv_bindings_3_0= ruleLetBinding ) ) )* otherlv_4= In ( (lv_body_5_0= ruleExpression ) ) ) - // InternalSolverLanguageParser.g:1199:3: otherlv_0= Let ( (lv_bindings_1_0= ruleLetBinding ) ) (otherlv_2= Comma ( (lv_bindings_3_0= ruleLetBinding ) ) )* otherlv_4= In ( (lv_body_5_0= ruleExpression ) ) + // InternalSolverLanguageParser.g:1608:2: (otherlv_0= Let ( (lv_bindings_1_0= ruleLetBinding ) ) (otherlv_2= Comma ( (lv_bindings_3_0= ruleLetBinding ) ) )* otherlv_4= In ( (lv_body_5_0= ruleExpression ) ) ) + // InternalSolverLanguageParser.g:1609:3: otherlv_0= Let ( (lv_bindings_1_0= ruleLetBinding ) ) (otherlv_2= Comma ( (lv_bindings_3_0= ruleLetBinding ) ) )* otherlv_4= In ( (lv_body_5_0= ruleExpression ) ) { - otherlv_0=(Token)match(input,Let,FOLLOW_8); + otherlv_0=(Token)match(input,Let,FOLLOW_3); - newLeafNode(otherlv_0, grammarAccess.getLetAccess().getLetKeyword_0()); + newLeafNode(otherlv_0, grammarAccess.getLetExpressionAccess().getLetKeyword_0()); - // InternalSolverLanguageParser.g:1203:3: ( (lv_bindings_1_0= ruleLetBinding ) ) - // InternalSolverLanguageParser.g:1204:4: (lv_bindings_1_0= ruleLetBinding ) + // InternalSolverLanguageParser.g:1613:3: ( (lv_bindings_1_0= ruleLetBinding ) ) + // InternalSolverLanguageParser.g:1614:4: (lv_bindings_1_0= ruleLetBinding ) { - // InternalSolverLanguageParser.g:1204:4: (lv_bindings_1_0= ruleLetBinding ) - // InternalSolverLanguageParser.g:1205:5: lv_bindings_1_0= ruleLetBinding + // InternalSolverLanguageParser.g:1614:4: (lv_bindings_1_0= ruleLetBinding ) + // InternalSolverLanguageParser.g:1615:5: lv_bindings_1_0= ruleLetBinding { - newCompositeNode(grammarAccess.getLetAccess().getBindingsLetBindingParserRuleCall_1_0()); + newCompositeNode(grammarAccess.getLetExpressionAccess().getBindingsLetBindingParserRuleCall_1_0()); - pushFollow(FOLLOW_23); + pushFollow(FOLLOW_27); lv_bindings_1_0=ruleLetBinding(); state._fsp--; if (current==null) { - current = createModelElementForParent(grammarAccess.getLetRule()); + current = createModelElementForParent(grammarAccess.getLetExpressionRule()); } add( current, @@ -2973,42 +4024,42 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } - // InternalSolverLanguageParser.g:1222:3: (otherlv_2= Comma ( (lv_bindings_3_0= ruleLetBinding ) ) )* - loop10: + // InternalSolverLanguageParser.g:1632:3: (otherlv_2= Comma ( (lv_bindings_3_0= ruleLetBinding ) ) )* + loop17: do { - int alt10=2; - int LA10_0 = input.LA(1); + int alt17=2; + int LA17_0 = input.LA(1); - if ( (LA10_0==Comma) ) { - alt10=1; + if ( (LA17_0==Comma) ) { + alt17=1; } - switch (alt10) { + switch (alt17) { case 1 : - // InternalSolverLanguageParser.g:1223:4: otherlv_2= Comma ( (lv_bindings_3_0= ruleLetBinding ) ) + // InternalSolverLanguageParser.g:1633:4: otherlv_2= Comma ( (lv_bindings_3_0= ruleLetBinding ) ) { - otherlv_2=(Token)match(input,Comma,FOLLOW_8); + otherlv_2=(Token)match(input,Comma,FOLLOW_3); - newLeafNode(otherlv_2, grammarAccess.getLetAccess().getCommaKeyword_2_0()); + newLeafNode(otherlv_2, grammarAccess.getLetExpressionAccess().getCommaKeyword_2_0()); - // InternalSolverLanguageParser.g:1227:4: ( (lv_bindings_3_0= ruleLetBinding ) ) - // InternalSolverLanguageParser.g:1228:5: (lv_bindings_3_0= ruleLetBinding ) + // InternalSolverLanguageParser.g:1637:4: ( (lv_bindings_3_0= ruleLetBinding ) ) + // InternalSolverLanguageParser.g:1638:5: (lv_bindings_3_0= ruleLetBinding ) { - // InternalSolverLanguageParser.g:1228:5: (lv_bindings_3_0= ruleLetBinding ) - // InternalSolverLanguageParser.g:1229:6: lv_bindings_3_0= ruleLetBinding + // InternalSolverLanguageParser.g:1638:5: (lv_bindings_3_0= ruleLetBinding ) + // InternalSolverLanguageParser.g:1639:6: lv_bindings_3_0= ruleLetBinding { - newCompositeNode(grammarAccess.getLetAccess().getBindingsLetBindingParserRuleCall_2_1_0()); + newCompositeNode(grammarAccess.getLetExpressionAccess().getBindingsLetBindingParserRuleCall_2_1_0()); - pushFollow(FOLLOW_23); + pushFollow(FOLLOW_27); lv_bindings_3_0=ruleLetBinding(); state._fsp--; if (current==null) { - current = createModelElementForParent(grammarAccess.getLetRule()); + current = createModelElementForParent(grammarAccess.getLetExpressionRule()); } add( current, @@ -3028,22 +4079,22 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { break; default : - break loop10; + break loop17; } } while (true); - otherlv_4=(Token)match(input,In,FOLLOW_6); + otherlv_4=(Token)match(input,In,FOLLOW_10); - newLeafNode(otherlv_4, grammarAccess.getLetAccess().getInKeyword_3()); + newLeafNode(otherlv_4, grammarAccess.getLetExpressionAccess().getInKeyword_3()); - // InternalSolverLanguageParser.g:1251:3: ( (lv_body_5_0= ruleExpression ) ) - // InternalSolverLanguageParser.g:1252:4: (lv_body_5_0= ruleExpression ) + // InternalSolverLanguageParser.g:1661:3: ( (lv_body_5_0= ruleExpression ) ) + // InternalSolverLanguageParser.g:1662:4: (lv_body_5_0= ruleExpression ) { - // InternalSolverLanguageParser.g:1252:4: (lv_body_5_0= ruleExpression ) - // InternalSolverLanguageParser.g:1253:5: lv_body_5_0= ruleExpression + // InternalSolverLanguageParser.g:1662:4: (lv_body_5_0= ruleExpression ) + // InternalSolverLanguageParser.g:1663:5: lv_body_5_0= ruleExpression { - newCompositeNode(grammarAccess.getLetAccess().getBodyExpressionParserRuleCall_4_0()); + newCompositeNode(grammarAccess.getLetExpressionAccess().getBodyExpressionParserRuleCall_4_0()); pushFollow(FOLLOW_2); lv_body_5_0=ruleExpression(); @@ -3052,7 +4103,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { if (current==null) { - current = createModelElementForParent(grammarAccess.getLetRule()); + current = createModelElementForParent(grammarAccess.getLetExpressionRule()); } set( current, @@ -3086,11 +4137,11 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } return current; } - // $ANTLR end "ruleLet" + // $ANTLR end "ruleLetExpression" // $ANTLR start "entryRuleLetBinding" - // InternalSolverLanguageParser.g:1274:1: entryRuleLetBinding returns [EObject current=null] : iv_ruleLetBinding= ruleLetBinding EOF ; + // InternalSolverLanguageParser.g:1684:1: entryRuleLetBinding returns [EObject current=null] : iv_ruleLetBinding= ruleLetBinding EOF ; public final EObject entryRuleLetBinding() throws RecognitionException { EObject current = null; @@ -3098,8 +4149,8 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { try { - // InternalSolverLanguageParser.g:1274:51: (iv_ruleLetBinding= ruleLetBinding EOF ) - // InternalSolverLanguageParser.g:1275:2: iv_ruleLetBinding= ruleLetBinding EOF + // InternalSolverLanguageParser.g:1684:51: (iv_ruleLetBinding= ruleLetBinding EOF ) + // InternalSolverLanguageParser.g:1685:2: iv_ruleLetBinding= ruleLetBinding EOF { newCompositeNode(grammarAccess.getLetBindingRule()); pushFollow(FOLLOW_1); @@ -3126,271 +4177,129 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleLetBinding" - // InternalSolverLanguageParser.g:1281:1: ruleLetBinding returns [EObject current=null] : ( ( (lv_variable_0_0= ruleVariable ) ) otherlv_1= EqualsSign ( (lv_value_2_0= ruleAdditiveExpression ) ) ) ; + // InternalSolverLanguageParser.g:1691:1: ruleLetBinding returns [EObject current=null] : ( ( ( ruleQualifiedName ) )? ( (lv_name_1_0= RULE_ID ) ) otherlv_2= EqualsSign ( (lv_value_3_0= ruleAdditiveExpression ) ) ) ; public final EObject ruleLetBinding() throws RecognitionException { EObject current = null; - Token otherlv_1=null; - EObject lv_variable_0_0 = null; - - EObject lv_value_2_0 = null; - - - - enterRule(); - - try { - // InternalSolverLanguageParser.g:1287:2: ( ( ( (lv_variable_0_0= ruleVariable ) ) otherlv_1= EqualsSign ( (lv_value_2_0= ruleAdditiveExpression ) ) ) ) - // InternalSolverLanguageParser.g:1288:2: ( ( (lv_variable_0_0= ruleVariable ) ) otherlv_1= EqualsSign ( (lv_value_2_0= ruleAdditiveExpression ) ) ) - { - // InternalSolverLanguageParser.g:1288:2: ( ( (lv_variable_0_0= ruleVariable ) ) otherlv_1= EqualsSign ( (lv_value_2_0= ruleAdditiveExpression ) ) ) - // InternalSolverLanguageParser.g:1289:3: ( (lv_variable_0_0= ruleVariable ) ) otherlv_1= EqualsSign ( (lv_value_2_0= ruleAdditiveExpression ) ) - { - // InternalSolverLanguageParser.g:1289:3: ( (lv_variable_0_0= ruleVariable ) ) - // InternalSolverLanguageParser.g:1290:4: (lv_variable_0_0= ruleVariable ) - { - // InternalSolverLanguageParser.g:1290:4: (lv_variable_0_0= ruleVariable ) - // InternalSolverLanguageParser.g:1291:5: lv_variable_0_0= ruleVariable - { - - newCompositeNode(grammarAccess.getLetBindingAccess().getVariableVariableParserRuleCall_0_0()); - - pushFollow(FOLLOW_13); - lv_variable_0_0=ruleVariable(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getLetBindingRule()); - } - set( - current, - "variable", - lv_variable_0_0, - "org.eclipse.viatra.solver.language.SolverLanguage.Variable"); - afterParserOrEnumRuleCall(); - - - } - - - } - - otherlv_1=(Token)match(input,EqualsSign,FOLLOW_6); - - newLeafNode(otherlv_1, grammarAccess.getLetBindingAccess().getEqualsSignKeyword_1()); - - // InternalSolverLanguageParser.g:1312:3: ( (lv_value_2_0= ruleAdditiveExpression ) ) - // InternalSolverLanguageParser.g:1313:4: (lv_value_2_0= ruleAdditiveExpression ) - { - // InternalSolverLanguageParser.g:1313:4: (lv_value_2_0= ruleAdditiveExpression ) - // InternalSolverLanguageParser.g:1314:5: lv_value_2_0= ruleAdditiveExpression - { - - newCompositeNode(grammarAccess.getLetBindingAccess().getValueAdditiveExpressionParserRuleCall_2_0()); - - pushFollow(FOLLOW_2); - lv_value_2_0=ruleAdditiveExpression(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getLetBindingRule()); - } - set( - current, - "value", - lv_value_2_0, - "org.eclipse.viatra.solver.language.SolverLanguage.AdditiveExpression"); - afterParserOrEnumRuleCall(); - - - } - - - } - - - } - - - } - - - leaveRule(); - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleLetBinding" - - - // $ANTLR start "entryRuleImplicationExpression" - // InternalSolverLanguageParser.g:1335:1: entryRuleImplicationExpression returns [EObject current=null] : iv_ruleImplicationExpression= ruleImplicationExpression EOF ; - public final EObject entryRuleImplicationExpression() throws RecognitionException { - EObject current = null; - - EObject iv_ruleImplicationExpression = null; - - - try { - // InternalSolverLanguageParser.g:1335:62: (iv_ruleImplicationExpression= ruleImplicationExpression EOF ) - // InternalSolverLanguageParser.g:1336:2: iv_ruleImplicationExpression= ruleImplicationExpression EOF - { - newCompositeNode(grammarAccess.getImplicationExpressionRule()); - pushFollow(FOLLOW_1); - iv_ruleImplicationExpression=ruleImplicationExpression(); - - state._fsp--; - - current =iv_ruleImplicationExpression; - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleImplicationExpression" - - - // $ANTLR start "ruleImplicationExpression" - // InternalSolverLanguageParser.g:1342:1: ruleImplicationExpression returns [EObject current=null] : (this_DisjunctiveExpression_0= ruleDisjunctiveExpression ( () ( (lv_op_2_0= ruleImplicationOperator ) ) ( (lv_right_3_0= ruleImplicationExpression ) ) )? ) ; - public final EObject ruleImplicationExpression() throws RecognitionException { - EObject current = null; - - EObject this_DisjunctiveExpression_0 = null; - - Enumerator lv_op_2_0 = null; - - EObject lv_right_3_0 = null; + Token lv_name_1_0=null; + Token otherlv_2=null; + EObject lv_value_3_0 = null; enterRule(); try { - // InternalSolverLanguageParser.g:1348:2: ( (this_DisjunctiveExpression_0= ruleDisjunctiveExpression ( () ( (lv_op_2_0= ruleImplicationOperator ) ) ( (lv_right_3_0= ruleImplicationExpression ) ) )? ) ) - // InternalSolverLanguageParser.g:1349:2: (this_DisjunctiveExpression_0= ruleDisjunctiveExpression ( () ( (lv_op_2_0= ruleImplicationOperator ) ) ( (lv_right_3_0= ruleImplicationExpression ) ) )? ) + // InternalSolverLanguageParser.g:1697:2: ( ( ( ( ruleQualifiedName ) )? ( (lv_name_1_0= RULE_ID ) ) otherlv_2= EqualsSign ( (lv_value_3_0= ruleAdditiveExpression ) ) ) ) + // InternalSolverLanguageParser.g:1698:2: ( ( ( ruleQualifiedName ) )? ( (lv_name_1_0= RULE_ID ) ) otherlv_2= EqualsSign ( (lv_value_3_0= ruleAdditiveExpression ) ) ) { - // InternalSolverLanguageParser.g:1349:2: (this_DisjunctiveExpression_0= ruleDisjunctiveExpression ( () ( (lv_op_2_0= ruleImplicationOperator ) ) ( (lv_right_3_0= ruleImplicationExpression ) ) )? ) - // InternalSolverLanguageParser.g:1350:3: this_DisjunctiveExpression_0= ruleDisjunctiveExpression ( () ( (lv_op_2_0= ruleImplicationOperator ) ) ( (lv_right_3_0= ruleImplicationExpression ) ) )? + // InternalSolverLanguageParser.g:1698:2: ( ( ( ruleQualifiedName ) )? ( (lv_name_1_0= RULE_ID ) ) otherlv_2= EqualsSign ( (lv_value_3_0= ruleAdditiveExpression ) ) ) + // InternalSolverLanguageParser.g:1699:3: ( ( ruleQualifiedName ) )? ( (lv_name_1_0= RULE_ID ) ) otherlv_2= EqualsSign ( (lv_value_3_0= ruleAdditiveExpression ) ) { + // InternalSolverLanguageParser.g:1699:3: ( ( ruleQualifiedName ) )? + int alt18=2; + int LA18_0 = input.LA(1); - newCompositeNode(grammarAccess.getImplicationExpressionAccess().getDisjunctiveExpressionParserRuleCall_0()); - - pushFollow(FOLLOW_24); - this_DisjunctiveExpression_0=ruleDisjunctiveExpression(); - - state._fsp--; - - - current = this_DisjunctiveExpression_0; - afterParserOrEnumRuleCall(); - - // InternalSolverLanguageParser.g:1358:3: ( () ( (lv_op_2_0= ruleImplicationOperator ) ) ( (lv_right_3_0= ruleImplicationExpression ) ) )? - int alt11=2; - int LA11_0 = input.LA(1); - - if ( (LA11_0==EqualsSignGreaterThanSign) ) { - alt11=1; + if ( (LA18_0==RULE_ID) ) { + int LA18_1 = input.LA(2); + + if ( (LA18_1==ColonColon||LA18_1==RULE_ID) ) { + alt18=1; + } } - switch (alt11) { + else if ( (LA18_0==Object||LA18_0==RULE_QUOTED_ID) ) { + alt18=1; + } + switch (alt18) { case 1 : - // InternalSolverLanguageParser.g:1359:4: () ( (lv_op_2_0= ruleImplicationOperator ) ) ( (lv_right_3_0= ruleImplicationExpression ) ) + // InternalSolverLanguageParser.g:1700:4: ( ruleQualifiedName ) { - // InternalSolverLanguageParser.g:1359:4: () - // InternalSolverLanguageParser.g:1360:5: + // InternalSolverLanguageParser.g:1700:4: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:1701:5: ruleQualifiedName { - current = forceCreateModelElementAndSet( - grammarAccess.getImplicationExpressionAccess().getBinaryExpressionLeftAction_1_0(), - current); + if (current==null) { + current = createModelElement(grammarAccess.getLetBindingRule()); + } - } - - // InternalSolverLanguageParser.g:1366:4: ( (lv_op_2_0= ruleImplicationOperator ) ) - // InternalSolverLanguageParser.g:1367:5: (lv_op_2_0= ruleImplicationOperator ) - { - // InternalSolverLanguageParser.g:1367:5: (lv_op_2_0= ruleImplicationOperator ) - // InternalSolverLanguageParser.g:1368:6: lv_op_2_0= ruleImplicationOperator - { - - newCompositeNode(grammarAccess.getImplicationExpressionAccess().getOpImplicationOperatorEnumRuleCall_1_1_0()); - - pushFollow(FOLLOW_6); - lv_op_2_0=ruleImplicationOperator(); + newCompositeNode(grammarAccess.getLetBindingAccess().getTypeSymbolCrossReference_0_0()); + + pushFollow(FOLLOW_28); + ruleQualifiedName(); state._fsp--; - if (current==null) { - current = createModelElementForParent(grammarAccess.getImplicationExpressionRule()); - } - set( - current, - "op", - lv_op_2_0, - "org.eclipse.viatra.solver.language.SolverLanguage.ImplicationOperator"); - afterParserOrEnumRuleCall(); - + afterParserOrEnumRuleCall(); + } } + break; - // InternalSolverLanguageParser.g:1385:4: ( (lv_right_3_0= ruleImplicationExpression ) ) - // InternalSolverLanguageParser.g:1386:5: (lv_right_3_0= ruleImplicationExpression ) - { - // InternalSolverLanguageParser.g:1386:5: (lv_right_3_0= ruleImplicationExpression ) - // InternalSolverLanguageParser.g:1387:6: lv_right_3_0= ruleImplicationExpression - { + } - newCompositeNode(grammarAccess.getImplicationExpressionAccess().getRightImplicationExpressionParserRuleCall_1_2_0()); - - pushFollow(FOLLOW_2); - lv_right_3_0=ruleImplicationExpression(); + // InternalSolverLanguageParser.g:1715:3: ( (lv_name_1_0= RULE_ID ) ) + // InternalSolverLanguageParser.g:1716:4: (lv_name_1_0= RULE_ID ) + { + // InternalSolverLanguageParser.g:1716:4: (lv_name_1_0= RULE_ID ) + // InternalSolverLanguageParser.g:1717:5: lv_name_1_0= RULE_ID + { + lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_29); - state._fsp--; + newLeafNode(lv_name_1_0, grammarAccess.getLetBindingAccess().getNameIDTerminalRuleCall_1_0()); + + if (current==null) { + current = createModelElement(grammarAccess.getLetBindingRule()); + } + setWithLastConsumed( + current, + "name", + lv_name_1_0, + "org.eclipse.xtext.common.Terminals.ID"); + - if (current==null) { - current = createModelElementForParent(grammarAccess.getImplicationExpressionRule()); - } - set( - current, - "right", - lv_right_3_0, - "org.eclipse.viatra.solver.language.SolverLanguage.ImplicationExpression"); - afterParserOrEnumRuleCall(); - + } - } + } - } + otherlv_2=(Token)match(input,EqualsSign,FOLLOW_10); + newLeafNode(otherlv_2, grammarAccess.getLetBindingAccess().getEqualsSignKeyword_2()); + + // InternalSolverLanguageParser.g:1737:3: ( (lv_value_3_0= ruleAdditiveExpression ) ) + // InternalSolverLanguageParser.g:1738:4: (lv_value_3_0= ruleAdditiveExpression ) + { + // InternalSolverLanguageParser.g:1738:4: (lv_value_3_0= ruleAdditiveExpression ) + // InternalSolverLanguageParser.g:1739:5: lv_value_3_0= ruleAdditiveExpression + { + + newCompositeNode(grammarAccess.getLetBindingAccess().getValueAdditiveExpressionParserRuleCall_3_0()); + + pushFollow(FOLLOW_2); + lv_value_3_0=ruleAdditiveExpression(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getLetBindingRule()); + } + set( + current, + "value", + lv_value_3_0, + "org.eclipse.viatra.solver.language.SolverLanguage.AdditiveExpression"); + afterParserOrEnumRuleCall(); + + + } - } - break; } @@ -3413,11 +4322,11 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } return current; } - // $ANTLR end "ruleImplicationExpression" + // $ANTLR end "ruleLetBinding" // $ANTLR start "entryRuleDisjunctiveExpression" - // InternalSolverLanguageParser.g:1409:1: entryRuleDisjunctiveExpression returns [EObject current=null] : iv_ruleDisjunctiveExpression= ruleDisjunctiveExpression EOF ; + // InternalSolverLanguageParser.g:1760:1: entryRuleDisjunctiveExpression returns [EObject current=null] : iv_ruleDisjunctiveExpression= ruleDisjunctiveExpression EOF ; public final EObject entryRuleDisjunctiveExpression() throws RecognitionException { EObject current = null; @@ -3425,8 +4334,8 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { try { - // InternalSolverLanguageParser.g:1409:62: (iv_ruleDisjunctiveExpression= ruleDisjunctiveExpression EOF ) - // InternalSolverLanguageParser.g:1410:2: iv_ruleDisjunctiveExpression= ruleDisjunctiveExpression EOF + // InternalSolverLanguageParser.g:1760:62: (iv_ruleDisjunctiveExpression= ruleDisjunctiveExpression EOF ) + // InternalSolverLanguageParser.g:1761:2: iv_ruleDisjunctiveExpression= ruleDisjunctiveExpression EOF { newCompositeNode(grammarAccess.getDisjunctiveExpressionRule()); pushFollow(FOLLOW_1); @@ -3453,7 +4362,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleDisjunctiveExpression" - // InternalSolverLanguageParser.g:1416:1: ruleDisjunctiveExpression returns [EObject current=null] : (this_ConjunctiveExpression_0= ruleConjunctiveExpression ( ( () (otherlv_2= Semicolon ( (lv_children_3_0= ruleConjunctiveExpression ) ) )+ ) | ( () otherlv_5= HyphenMinusGreaterThanSign ( (lv_body_6_0= ruleConjunctiveExpression ) ) () (otherlv_8= Semicolon ( (lv_cases_9_0= ruleCase ) ) )* ) )? ) ; + // InternalSolverLanguageParser.g:1767:1: ruleDisjunctiveExpression returns [EObject current=null] : (this_ConjunctiveExpression_0= ruleConjunctiveExpression ( ( () (otherlv_2= Semicolon ( (lv_children_3_0= ruleConjunctiveExpression ) ) )+ ) | ( () otherlv_5= HyphenMinusGreaterThanSign ( (lv_body_6_0= ruleConjunctiveExpression ) ) () (otherlv_8= Semicolon ( (lv_cases_9_0= ruleCase ) ) )* ) )? ) ; public final EObject ruleDisjunctiveExpression() throws RecognitionException { EObject current = null; @@ -3473,16 +4382,16 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { enterRule(); try { - // InternalSolverLanguageParser.g:1422:2: ( (this_ConjunctiveExpression_0= ruleConjunctiveExpression ( ( () (otherlv_2= Semicolon ( (lv_children_3_0= ruleConjunctiveExpression ) ) )+ ) | ( () otherlv_5= HyphenMinusGreaterThanSign ( (lv_body_6_0= ruleConjunctiveExpression ) ) () (otherlv_8= Semicolon ( (lv_cases_9_0= ruleCase ) ) )* ) )? ) ) - // InternalSolverLanguageParser.g:1423:2: (this_ConjunctiveExpression_0= ruleConjunctiveExpression ( ( () (otherlv_2= Semicolon ( (lv_children_3_0= ruleConjunctiveExpression ) ) )+ ) | ( () otherlv_5= HyphenMinusGreaterThanSign ( (lv_body_6_0= ruleConjunctiveExpression ) ) () (otherlv_8= Semicolon ( (lv_cases_9_0= ruleCase ) ) )* ) )? ) + // InternalSolverLanguageParser.g:1773:2: ( (this_ConjunctiveExpression_0= ruleConjunctiveExpression ( ( () (otherlv_2= Semicolon ( (lv_children_3_0= ruleConjunctiveExpression ) ) )+ ) | ( () otherlv_5= HyphenMinusGreaterThanSign ( (lv_body_6_0= ruleConjunctiveExpression ) ) () (otherlv_8= Semicolon ( (lv_cases_9_0= ruleCase ) ) )* ) )? ) ) + // InternalSolverLanguageParser.g:1774:2: (this_ConjunctiveExpression_0= ruleConjunctiveExpression ( ( () (otherlv_2= Semicolon ( (lv_children_3_0= ruleConjunctiveExpression ) ) )+ ) | ( () otherlv_5= HyphenMinusGreaterThanSign ( (lv_body_6_0= ruleConjunctiveExpression ) ) () (otherlv_8= Semicolon ( (lv_cases_9_0= ruleCase ) ) )* ) )? ) { - // InternalSolverLanguageParser.g:1423:2: (this_ConjunctiveExpression_0= ruleConjunctiveExpression ( ( () (otherlv_2= Semicolon ( (lv_children_3_0= ruleConjunctiveExpression ) ) )+ ) | ( () otherlv_5= HyphenMinusGreaterThanSign ( (lv_body_6_0= ruleConjunctiveExpression ) ) () (otherlv_8= Semicolon ( (lv_cases_9_0= ruleCase ) ) )* ) )? ) - // InternalSolverLanguageParser.g:1424:3: this_ConjunctiveExpression_0= ruleConjunctiveExpression ( ( () (otherlv_2= Semicolon ( (lv_children_3_0= ruleConjunctiveExpression ) ) )+ ) | ( () otherlv_5= HyphenMinusGreaterThanSign ( (lv_body_6_0= ruleConjunctiveExpression ) ) () (otherlv_8= Semicolon ( (lv_cases_9_0= ruleCase ) ) )* ) )? + // InternalSolverLanguageParser.g:1774:2: (this_ConjunctiveExpression_0= ruleConjunctiveExpression ( ( () (otherlv_2= Semicolon ( (lv_children_3_0= ruleConjunctiveExpression ) ) )+ ) | ( () otherlv_5= HyphenMinusGreaterThanSign ( (lv_body_6_0= ruleConjunctiveExpression ) ) () (otherlv_8= Semicolon ( (lv_cases_9_0= ruleCase ) ) )* ) )? ) + // InternalSolverLanguageParser.g:1775:3: this_ConjunctiveExpression_0= ruleConjunctiveExpression ( ( () (otherlv_2= Semicolon ( (lv_children_3_0= ruleConjunctiveExpression ) ) )+ ) | ( () otherlv_5= HyphenMinusGreaterThanSign ( (lv_body_6_0= ruleConjunctiveExpression ) ) () (otherlv_8= Semicolon ( (lv_cases_9_0= ruleCase ) ) )* ) )? { newCompositeNode(grammarAccess.getDisjunctiveExpressionAccess().getConjunctiveExpressionParserRuleCall_0()); - pushFollow(FOLLOW_25); + pushFollow(FOLLOW_30); this_ConjunctiveExpression_0=ruleConjunctiveExpression(); state._fsp--; @@ -3491,25 +4400,25 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { current = this_ConjunctiveExpression_0; afterParserOrEnumRuleCall(); - // InternalSolverLanguageParser.g:1432:3: ( ( () (otherlv_2= Semicolon ( (lv_children_3_0= ruleConjunctiveExpression ) ) )+ ) | ( () otherlv_5= HyphenMinusGreaterThanSign ( (lv_body_6_0= ruleConjunctiveExpression ) ) () (otherlv_8= Semicolon ( (lv_cases_9_0= ruleCase ) ) )* ) )? - int alt14=3; - int LA14_0 = input.LA(1); + // InternalSolverLanguageParser.g:1783:3: ( ( () (otherlv_2= Semicolon ( (lv_children_3_0= ruleConjunctiveExpression ) ) )+ ) | ( () otherlv_5= HyphenMinusGreaterThanSign ( (lv_body_6_0= ruleConjunctiveExpression ) ) () (otherlv_8= Semicolon ( (lv_cases_9_0= ruleCase ) ) )* ) )? + int alt21=3; + int LA21_0 = input.LA(1); - if ( (LA14_0==Semicolon) ) { - alt14=1; + if ( (LA21_0==Semicolon) ) { + alt21=1; } - else if ( (LA14_0==HyphenMinusGreaterThanSign) ) { - alt14=2; + else if ( (LA21_0==HyphenMinusGreaterThanSign) ) { + alt21=2; } - switch (alt14) { + switch (alt21) { case 1 : - // InternalSolverLanguageParser.g:1433:4: ( () (otherlv_2= Semicolon ( (lv_children_3_0= ruleConjunctiveExpression ) ) )+ ) + // InternalSolverLanguageParser.g:1784:4: ( () (otherlv_2= Semicolon ( (lv_children_3_0= ruleConjunctiveExpression ) ) )+ ) { - // InternalSolverLanguageParser.g:1433:4: ( () (otherlv_2= Semicolon ( (lv_children_3_0= ruleConjunctiveExpression ) ) )+ ) - // InternalSolverLanguageParser.g:1434:5: () (otherlv_2= Semicolon ( (lv_children_3_0= ruleConjunctiveExpression ) ) )+ + // InternalSolverLanguageParser.g:1784:4: ( () (otherlv_2= Semicolon ( (lv_children_3_0= ruleConjunctiveExpression ) ) )+ ) + // InternalSolverLanguageParser.g:1785:5: () (otherlv_2= Semicolon ( (lv_children_3_0= ruleConjunctiveExpression ) ) )+ { - // InternalSolverLanguageParser.g:1434:5: () - // InternalSolverLanguageParser.g:1435:6: + // InternalSolverLanguageParser.g:1785:5: () + // InternalSolverLanguageParser.g:1786:6: { current = forceCreateModelElementAndAdd( @@ -3519,36 +4428,36 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } - // InternalSolverLanguageParser.g:1441:5: (otherlv_2= Semicolon ( (lv_children_3_0= ruleConjunctiveExpression ) ) )+ - int cnt12=0; - loop12: + // InternalSolverLanguageParser.g:1792:5: (otherlv_2= Semicolon ( (lv_children_3_0= ruleConjunctiveExpression ) ) )+ + int cnt19=0; + loop19: do { - int alt12=2; - int LA12_0 = input.LA(1); + int alt19=2; + int LA19_0 = input.LA(1); - if ( (LA12_0==Semicolon) ) { - alt12=1; + if ( (LA19_0==Semicolon) ) { + alt19=1; } - switch (alt12) { + switch (alt19) { case 1 : - // InternalSolverLanguageParser.g:1442:6: otherlv_2= Semicolon ( (lv_children_3_0= ruleConjunctiveExpression ) ) + // InternalSolverLanguageParser.g:1793:6: otherlv_2= Semicolon ( (lv_children_3_0= ruleConjunctiveExpression ) ) { - otherlv_2=(Token)match(input,Semicolon,FOLLOW_6); + otherlv_2=(Token)match(input,Semicolon,FOLLOW_10); newLeafNode(otherlv_2, grammarAccess.getDisjunctiveExpressionAccess().getSemicolonKeyword_1_0_1_0()); - // InternalSolverLanguageParser.g:1446:6: ( (lv_children_3_0= ruleConjunctiveExpression ) ) - // InternalSolverLanguageParser.g:1447:7: (lv_children_3_0= ruleConjunctiveExpression ) + // InternalSolverLanguageParser.g:1797:6: ( (lv_children_3_0= ruleConjunctiveExpression ) ) + // InternalSolverLanguageParser.g:1798:7: (lv_children_3_0= ruleConjunctiveExpression ) { - // InternalSolverLanguageParser.g:1447:7: (lv_children_3_0= ruleConjunctiveExpression ) - // InternalSolverLanguageParser.g:1448:8: lv_children_3_0= ruleConjunctiveExpression + // InternalSolverLanguageParser.g:1798:7: (lv_children_3_0= ruleConjunctiveExpression ) + // InternalSolverLanguageParser.g:1799:8: lv_children_3_0= ruleConjunctiveExpression { newCompositeNode(grammarAccess.getDisjunctiveExpressionAccess().getChildrenConjunctiveExpressionParserRuleCall_1_0_1_1_0()); - pushFollow(FOLLOW_26); + pushFollow(FOLLOW_31); lv_children_3_0=ruleConjunctiveExpression(); state._fsp--; @@ -3575,12 +4484,12 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { break; default : - if ( cnt12 >= 1 ) break loop12; + if ( cnt19 >= 1 ) break loop19; EarlyExitException eee = - new EarlyExitException(12, input); + new EarlyExitException(19, input); throw eee; } - cnt12++; + cnt19++; } while (true); @@ -3590,13 +4499,13 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } break; case 2 : - // InternalSolverLanguageParser.g:1468:4: ( () otherlv_5= HyphenMinusGreaterThanSign ( (lv_body_6_0= ruleConjunctiveExpression ) ) () (otherlv_8= Semicolon ( (lv_cases_9_0= ruleCase ) ) )* ) + // InternalSolverLanguageParser.g:1819:4: ( () otherlv_5= HyphenMinusGreaterThanSign ( (lv_body_6_0= ruleConjunctiveExpression ) ) () (otherlv_8= Semicolon ( (lv_cases_9_0= ruleCase ) ) )* ) { - // InternalSolverLanguageParser.g:1468:4: ( () otherlv_5= HyphenMinusGreaterThanSign ( (lv_body_6_0= ruleConjunctiveExpression ) ) () (otherlv_8= Semicolon ( (lv_cases_9_0= ruleCase ) ) )* ) - // InternalSolverLanguageParser.g:1469:5: () otherlv_5= HyphenMinusGreaterThanSign ( (lv_body_6_0= ruleConjunctiveExpression ) ) () (otherlv_8= Semicolon ( (lv_cases_9_0= ruleCase ) ) )* + // InternalSolverLanguageParser.g:1819:4: ( () otherlv_5= HyphenMinusGreaterThanSign ( (lv_body_6_0= ruleConjunctiveExpression ) ) () (otherlv_8= Semicolon ( (lv_cases_9_0= ruleCase ) ) )* ) + // InternalSolverLanguageParser.g:1820:5: () otherlv_5= HyphenMinusGreaterThanSign ( (lv_body_6_0= ruleConjunctiveExpression ) ) () (otherlv_8= Semicolon ( (lv_cases_9_0= ruleCase ) ) )* { - // InternalSolverLanguageParser.g:1469:5: () - // InternalSolverLanguageParser.g:1470:6: + // InternalSolverLanguageParser.g:1820:5: () + // InternalSolverLanguageParser.g:1821:6: { current = forceCreateModelElementAndSet( @@ -3606,20 +4515,20 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } - otherlv_5=(Token)match(input,HyphenMinusGreaterThanSign,FOLLOW_6); + otherlv_5=(Token)match(input,HyphenMinusGreaterThanSign,FOLLOW_10); newLeafNode(otherlv_5, grammarAccess.getDisjunctiveExpressionAccess().getHyphenMinusGreaterThanSignKeyword_1_1_1()); - // InternalSolverLanguageParser.g:1480:5: ( (lv_body_6_0= ruleConjunctiveExpression ) ) - // InternalSolverLanguageParser.g:1481:6: (lv_body_6_0= ruleConjunctiveExpression ) + // InternalSolverLanguageParser.g:1831:5: ( (lv_body_6_0= ruleConjunctiveExpression ) ) + // InternalSolverLanguageParser.g:1832:6: (lv_body_6_0= ruleConjunctiveExpression ) { - // InternalSolverLanguageParser.g:1481:6: (lv_body_6_0= ruleConjunctiveExpression ) - // InternalSolverLanguageParser.g:1482:7: lv_body_6_0= ruleConjunctiveExpression + // InternalSolverLanguageParser.g:1832:6: (lv_body_6_0= ruleConjunctiveExpression ) + // InternalSolverLanguageParser.g:1833:7: lv_body_6_0= ruleConjunctiveExpression { newCompositeNode(grammarAccess.getDisjunctiveExpressionAccess().getBodyConjunctiveExpressionParserRuleCall_1_1_2_0()); - pushFollow(FOLLOW_26); + pushFollow(FOLLOW_31); lv_body_6_0=ruleConjunctiveExpression(); state._fsp--; @@ -3641,8 +4550,8 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } - // InternalSolverLanguageParser.g:1499:5: () - // InternalSolverLanguageParser.g:1500:6: + // InternalSolverLanguageParser.g:1850:5: () + // InternalSolverLanguageParser.g:1851:6: { current = forceCreateModelElementAndAdd( @@ -3652,35 +4561,35 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } - // InternalSolverLanguageParser.g:1506:5: (otherlv_8= Semicolon ( (lv_cases_9_0= ruleCase ) ) )* - loop13: + // InternalSolverLanguageParser.g:1857:5: (otherlv_8= Semicolon ( (lv_cases_9_0= ruleCase ) ) )* + loop20: do { - int alt13=2; - int LA13_0 = input.LA(1); + int alt20=2; + int LA20_0 = input.LA(1); - if ( (LA13_0==Semicolon) ) { - alt13=1; + if ( (LA20_0==Semicolon) ) { + alt20=1; } - switch (alt13) { + switch (alt20) { case 1 : - // InternalSolverLanguageParser.g:1507:6: otherlv_8= Semicolon ( (lv_cases_9_0= ruleCase ) ) + // InternalSolverLanguageParser.g:1858:6: otherlv_8= Semicolon ( (lv_cases_9_0= ruleCase ) ) { - otherlv_8=(Token)match(input,Semicolon,FOLLOW_6); + otherlv_8=(Token)match(input,Semicolon,FOLLOW_10); newLeafNode(otherlv_8, grammarAccess.getDisjunctiveExpressionAccess().getSemicolonKeyword_1_1_4_0()); - // InternalSolverLanguageParser.g:1511:6: ( (lv_cases_9_0= ruleCase ) ) - // InternalSolverLanguageParser.g:1512:7: (lv_cases_9_0= ruleCase ) + // InternalSolverLanguageParser.g:1862:6: ( (lv_cases_9_0= ruleCase ) ) + // InternalSolverLanguageParser.g:1863:7: (lv_cases_9_0= ruleCase ) { - // InternalSolverLanguageParser.g:1512:7: (lv_cases_9_0= ruleCase ) - // InternalSolverLanguageParser.g:1513:8: lv_cases_9_0= ruleCase + // InternalSolverLanguageParser.g:1863:7: (lv_cases_9_0= ruleCase ) + // InternalSolverLanguageParser.g:1864:8: lv_cases_9_0= ruleCase { newCompositeNode(grammarAccess.getDisjunctiveExpressionAccess().getCasesCaseParserRuleCall_1_1_4_1_0()); - pushFollow(FOLLOW_26); + pushFollow(FOLLOW_31); lv_cases_9_0=ruleCase(); state._fsp--; @@ -3707,7 +4616,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { break; default : - break loop13; + break loop20; } } while (true); @@ -3743,7 +4652,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleCase" - // InternalSolverLanguageParser.g:1537:1: entryRuleCase returns [EObject current=null] : iv_ruleCase= ruleCase EOF ; + // InternalSolverLanguageParser.g:1888:1: entryRuleCase returns [EObject current=null] : iv_ruleCase= ruleCase EOF ; public final EObject entryRuleCase() throws RecognitionException { EObject current = null; @@ -3751,8 +4660,8 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { try { - // InternalSolverLanguageParser.g:1537:45: (iv_ruleCase= ruleCase EOF ) - // InternalSolverLanguageParser.g:1538:2: iv_ruleCase= ruleCase EOF + // InternalSolverLanguageParser.g:1888:45: (iv_ruleCase= ruleCase EOF ) + // InternalSolverLanguageParser.g:1889:2: iv_ruleCase= ruleCase EOF { newCompositeNode(grammarAccess.getCaseRule()); pushFollow(FOLLOW_1); @@ -3779,7 +4688,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleCase" - // InternalSolverLanguageParser.g:1544:1: ruleCase returns [EObject current=null] : ( ( (lv_condition_0_0= ruleConjunctiveExpression ) ) otherlv_1= HyphenMinusGreaterThanSign ( (lv_body_2_0= ruleConjunctiveExpression ) ) ) ; + // InternalSolverLanguageParser.g:1895:1: ruleCase returns [EObject current=null] : ( ( (lv_condition_0_0= ruleConjunctiveExpression ) ) otherlv_1= HyphenMinusGreaterThanSign ( (lv_body_2_0= ruleConjunctiveExpression ) ) ) ; public final EObject ruleCase() throws RecognitionException { EObject current = null; @@ -3793,22 +4702,22 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { enterRule(); try { - // InternalSolverLanguageParser.g:1550:2: ( ( ( (lv_condition_0_0= ruleConjunctiveExpression ) ) otherlv_1= HyphenMinusGreaterThanSign ( (lv_body_2_0= ruleConjunctiveExpression ) ) ) ) - // InternalSolverLanguageParser.g:1551:2: ( ( (lv_condition_0_0= ruleConjunctiveExpression ) ) otherlv_1= HyphenMinusGreaterThanSign ( (lv_body_2_0= ruleConjunctiveExpression ) ) ) + // InternalSolverLanguageParser.g:1901:2: ( ( ( (lv_condition_0_0= ruleConjunctiveExpression ) ) otherlv_1= HyphenMinusGreaterThanSign ( (lv_body_2_0= ruleConjunctiveExpression ) ) ) ) + // InternalSolverLanguageParser.g:1902:2: ( ( (lv_condition_0_0= ruleConjunctiveExpression ) ) otherlv_1= HyphenMinusGreaterThanSign ( (lv_body_2_0= ruleConjunctiveExpression ) ) ) { - // InternalSolverLanguageParser.g:1551:2: ( ( (lv_condition_0_0= ruleConjunctiveExpression ) ) otherlv_1= HyphenMinusGreaterThanSign ( (lv_body_2_0= ruleConjunctiveExpression ) ) ) - // InternalSolverLanguageParser.g:1552:3: ( (lv_condition_0_0= ruleConjunctiveExpression ) ) otherlv_1= HyphenMinusGreaterThanSign ( (lv_body_2_0= ruleConjunctiveExpression ) ) + // InternalSolverLanguageParser.g:1902:2: ( ( (lv_condition_0_0= ruleConjunctiveExpression ) ) otherlv_1= HyphenMinusGreaterThanSign ( (lv_body_2_0= ruleConjunctiveExpression ) ) ) + // InternalSolverLanguageParser.g:1903:3: ( (lv_condition_0_0= ruleConjunctiveExpression ) ) otherlv_1= HyphenMinusGreaterThanSign ( (lv_body_2_0= ruleConjunctiveExpression ) ) { - // InternalSolverLanguageParser.g:1552:3: ( (lv_condition_0_0= ruleConjunctiveExpression ) ) - // InternalSolverLanguageParser.g:1553:4: (lv_condition_0_0= ruleConjunctiveExpression ) + // InternalSolverLanguageParser.g:1903:3: ( (lv_condition_0_0= ruleConjunctiveExpression ) ) + // InternalSolverLanguageParser.g:1904:4: (lv_condition_0_0= ruleConjunctiveExpression ) { - // InternalSolverLanguageParser.g:1553:4: (lv_condition_0_0= ruleConjunctiveExpression ) - // InternalSolverLanguageParser.g:1554:5: lv_condition_0_0= ruleConjunctiveExpression + // InternalSolverLanguageParser.g:1904:4: (lv_condition_0_0= ruleConjunctiveExpression ) + // InternalSolverLanguageParser.g:1905:5: lv_condition_0_0= ruleConjunctiveExpression { newCompositeNode(grammarAccess.getCaseAccess().getConditionConjunctiveExpressionParserRuleCall_0_0()); - pushFollow(FOLLOW_27); + pushFollow(FOLLOW_32); lv_condition_0_0=ruleConjunctiveExpression(); state._fsp--; @@ -3830,15 +4739,15 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } - otherlv_1=(Token)match(input,HyphenMinusGreaterThanSign,FOLLOW_6); + otherlv_1=(Token)match(input,HyphenMinusGreaterThanSign,FOLLOW_10); newLeafNode(otherlv_1, grammarAccess.getCaseAccess().getHyphenMinusGreaterThanSignKeyword_1()); - // InternalSolverLanguageParser.g:1575:3: ( (lv_body_2_0= ruleConjunctiveExpression ) ) - // InternalSolverLanguageParser.g:1576:4: (lv_body_2_0= ruleConjunctiveExpression ) + // InternalSolverLanguageParser.g:1926:3: ( (lv_body_2_0= ruleConjunctiveExpression ) ) + // InternalSolverLanguageParser.g:1927:4: (lv_body_2_0= ruleConjunctiveExpression ) { - // InternalSolverLanguageParser.g:1576:4: (lv_body_2_0= ruleConjunctiveExpression ) - // InternalSolverLanguageParser.g:1577:5: lv_body_2_0= ruleConjunctiveExpression + // InternalSolverLanguageParser.g:1927:4: (lv_body_2_0= ruleConjunctiveExpression ) + // InternalSolverLanguageParser.g:1928:5: lv_body_2_0= ruleConjunctiveExpression { newCompositeNode(grammarAccess.getCaseAccess().getBodyConjunctiveExpressionParserRuleCall_2_0()); @@ -3888,7 +4797,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleConjunctiveExpression" - // InternalSolverLanguageParser.g:1598:1: entryRuleConjunctiveExpression returns [EObject current=null] : iv_ruleConjunctiveExpression= ruleConjunctiveExpression EOF ; + // InternalSolverLanguageParser.g:1949:1: entryRuleConjunctiveExpression returns [EObject current=null] : iv_ruleConjunctiveExpression= ruleConjunctiveExpression EOF ; public final EObject entryRuleConjunctiveExpression() throws RecognitionException { EObject current = null; @@ -3896,8 +4805,8 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { try { - // InternalSolverLanguageParser.g:1598:62: (iv_ruleConjunctiveExpression= ruleConjunctiveExpression EOF ) - // InternalSolverLanguageParser.g:1599:2: iv_ruleConjunctiveExpression= ruleConjunctiveExpression EOF + // InternalSolverLanguageParser.g:1949:62: (iv_ruleConjunctiveExpression= ruleConjunctiveExpression EOF ) + // InternalSolverLanguageParser.g:1950:2: iv_ruleConjunctiveExpression= ruleConjunctiveExpression EOF { newCompositeNode(grammarAccess.getConjunctiveExpressionRule()); pushFollow(FOLLOW_1); @@ -3924,7 +4833,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleConjunctiveExpression" - // InternalSolverLanguageParser.g:1605:1: ruleConjunctiveExpression returns [EObject current=null] : (this_ComparisonExpression_0= ruleComparisonExpression ( () (otherlv_2= Comma ( (lv_children_3_0= ruleComparisonExpression ) ) )+ )? ) ; + // InternalSolverLanguageParser.g:1956:1: ruleConjunctiveExpression returns [EObject current=null] : (this_ComparisonExpression_0= ruleComparisonExpression ( () (otherlv_2= Comma ( (lv_children_3_0= ruleComparisonExpression ) ) )+ )? ) ; public final EObject ruleConjunctiveExpression() throws RecognitionException { EObject current = null; @@ -3938,16 +4847,16 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { enterRule(); try { - // InternalSolverLanguageParser.g:1611:2: ( (this_ComparisonExpression_0= ruleComparisonExpression ( () (otherlv_2= Comma ( (lv_children_3_0= ruleComparisonExpression ) ) )+ )? ) ) - // InternalSolverLanguageParser.g:1612:2: (this_ComparisonExpression_0= ruleComparisonExpression ( () (otherlv_2= Comma ( (lv_children_3_0= ruleComparisonExpression ) ) )+ )? ) + // InternalSolverLanguageParser.g:1962:2: ( (this_ComparisonExpression_0= ruleComparisonExpression ( () (otherlv_2= Comma ( (lv_children_3_0= ruleComparisonExpression ) ) )+ )? ) ) + // InternalSolverLanguageParser.g:1963:2: (this_ComparisonExpression_0= ruleComparisonExpression ( () (otherlv_2= Comma ( (lv_children_3_0= ruleComparisonExpression ) ) )+ )? ) { - // InternalSolverLanguageParser.g:1612:2: (this_ComparisonExpression_0= ruleComparisonExpression ( () (otherlv_2= Comma ( (lv_children_3_0= ruleComparisonExpression ) ) )+ )? ) - // InternalSolverLanguageParser.g:1613:3: this_ComparisonExpression_0= ruleComparisonExpression ( () (otherlv_2= Comma ( (lv_children_3_0= ruleComparisonExpression ) ) )+ )? + // InternalSolverLanguageParser.g:1963:2: (this_ComparisonExpression_0= ruleComparisonExpression ( () (otherlv_2= Comma ( (lv_children_3_0= ruleComparisonExpression ) ) )+ )? ) + // InternalSolverLanguageParser.g:1964:3: this_ComparisonExpression_0= ruleComparisonExpression ( () (otherlv_2= Comma ( (lv_children_3_0= ruleComparisonExpression ) ) )+ )? { newCompositeNode(grammarAccess.getConjunctiveExpressionAccess().getComparisonExpressionParserRuleCall_0()); - pushFollow(FOLLOW_19); + pushFollow(FOLLOW_33); this_ComparisonExpression_0=ruleComparisonExpression(); state._fsp--; @@ -3956,19 +4865,19 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { current = this_ComparisonExpression_0; afterParserOrEnumRuleCall(); - // InternalSolverLanguageParser.g:1621:3: ( () (otherlv_2= Comma ( (lv_children_3_0= ruleComparisonExpression ) ) )+ )? - int alt16=2; - int LA16_0 = input.LA(1); + // InternalSolverLanguageParser.g:1972:3: ( () (otherlv_2= Comma ( (lv_children_3_0= ruleComparisonExpression ) ) )+ )? + int alt23=2; + int LA23_0 = input.LA(1); - if ( (LA16_0==Comma) ) { - alt16=1; + if ( (LA23_0==Comma) ) { + alt23=1; } - switch (alt16) { + switch (alt23) { case 1 : - // InternalSolverLanguageParser.g:1622:4: () (otherlv_2= Comma ( (lv_children_3_0= ruleComparisonExpression ) ) )+ + // InternalSolverLanguageParser.g:1973:4: () (otherlv_2= Comma ( (lv_children_3_0= ruleComparisonExpression ) ) )+ { - // InternalSolverLanguageParser.g:1622:4: () - // InternalSolverLanguageParser.g:1623:5: + // InternalSolverLanguageParser.g:1973:4: () + // InternalSolverLanguageParser.g:1974:5: { current = forceCreateModelElementAndAdd( @@ -3978,36 +4887,36 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } - // InternalSolverLanguageParser.g:1629:4: (otherlv_2= Comma ( (lv_children_3_0= ruleComparisonExpression ) ) )+ - int cnt15=0; - loop15: + // InternalSolverLanguageParser.g:1980:4: (otherlv_2= Comma ( (lv_children_3_0= ruleComparisonExpression ) ) )+ + int cnt22=0; + loop22: do { - int alt15=2; - int LA15_0 = input.LA(1); + int alt22=2; + int LA22_0 = input.LA(1); - if ( (LA15_0==Comma) ) { - alt15=1; + if ( (LA22_0==Comma) ) { + alt22=1; } - switch (alt15) { + switch (alt22) { case 1 : - // InternalSolverLanguageParser.g:1630:5: otherlv_2= Comma ( (lv_children_3_0= ruleComparisonExpression ) ) + // InternalSolverLanguageParser.g:1981:5: otherlv_2= Comma ( (lv_children_3_0= ruleComparisonExpression ) ) { - otherlv_2=(Token)match(input,Comma,FOLLOW_6); + otherlv_2=(Token)match(input,Comma,FOLLOW_10); newLeafNode(otherlv_2, grammarAccess.getConjunctiveExpressionAccess().getCommaKeyword_1_1_0()); - // InternalSolverLanguageParser.g:1634:5: ( (lv_children_3_0= ruleComparisonExpression ) ) - // InternalSolverLanguageParser.g:1635:6: (lv_children_3_0= ruleComparisonExpression ) + // InternalSolverLanguageParser.g:1985:5: ( (lv_children_3_0= ruleComparisonExpression ) ) + // InternalSolverLanguageParser.g:1986:6: (lv_children_3_0= ruleComparisonExpression ) { - // InternalSolverLanguageParser.g:1635:6: (lv_children_3_0= ruleComparisonExpression ) - // InternalSolverLanguageParser.g:1636:7: lv_children_3_0= ruleComparisonExpression + // InternalSolverLanguageParser.g:1986:6: (lv_children_3_0= ruleComparisonExpression ) + // InternalSolverLanguageParser.g:1987:7: lv_children_3_0= ruleComparisonExpression { newCompositeNode(grammarAccess.getConjunctiveExpressionAccess().getChildrenComparisonExpressionParserRuleCall_1_1_1_0()); - pushFollow(FOLLOW_19); + pushFollow(FOLLOW_33); lv_children_3_0=ruleComparisonExpression(); state._fsp--; @@ -4034,12 +4943,12 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { break; default : - if ( cnt15 >= 1 ) break loop15; + if ( cnt22 >= 1 ) break loop22; EarlyExitException eee = - new EarlyExitException(15, input); + new EarlyExitException(22, input); throw eee; } - cnt15++; + cnt22++; } while (true); @@ -4071,7 +4980,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleComparisonExpression" - // InternalSolverLanguageParser.g:1659:1: entryRuleComparisonExpression returns [EObject current=null] : iv_ruleComparisonExpression= ruleComparisonExpression EOF ; + // InternalSolverLanguageParser.g:2010:1: entryRuleComparisonExpression returns [EObject current=null] : iv_ruleComparisonExpression= ruleComparisonExpression EOF ; public final EObject entryRuleComparisonExpression() throws RecognitionException { EObject current = null; @@ -4079,8 +4988,8 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { try { - // InternalSolverLanguageParser.g:1659:61: (iv_ruleComparisonExpression= ruleComparisonExpression EOF ) - // InternalSolverLanguageParser.g:1660:2: iv_ruleComparisonExpression= ruleComparisonExpression EOF + // InternalSolverLanguageParser.g:2010:61: (iv_ruleComparisonExpression= ruleComparisonExpression EOF ) + // InternalSolverLanguageParser.g:2011:2: iv_ruleComparisonExpression= ruleComparisonExpression EOF { newCompositeNode(grammarAccess.getComparisonExpressionRule()); pushFollow(FOLLOW_1); @@ -4107,7 +5016,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleComparisonExpression" - // InternalSolverLanguageParser.g:1666:1: ruleComparisonExpression returns [EObject current=null] : (this_AdditiveExpression_0= ruleAdditiveExpression ( () ( (lv_op_2_0= ruleComparisonOperator ) ) ( (lv_right_3_0= ruleAdditiveExpression ) ) )? ) ; + // InternalSolverLanguageParser.g:2017:1: ruleComparisonExpression returns [EObject current=null] : (this_AdditiveExpression_0= ruleAdditiveExpression ( () ( (lv_op_2_0= ruleComparisonOperator ) ) ( (lv_right_3_0= ruleAdditiveExpression ) ) )? ) ; public final EObject ruleComparisonExpression() throws RecognitionException { EObject current = null; @@ -4122,16 +5031,16 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { enterRule(); try { - // InternalSolverLanguageParser.g:1672:2: ( (this_AdditiveExpression_0= ruleAdditiveExpression ( () ( (lv_op_2_0= ruleComparisonOperator ) ) ( (lv_right_3_0= ruleAdditiveExpression ) ) )? ) ) - // InternalSolverLanguageParser.g:1673:2: (this_AdditiveExpression_0= ruleAdditiveExpression ( () ( (lv_op_2_0= ruleComparisonOperator ) ) ( (lv_right_3_0= ruleAdditiveExpression ) ) )? ) + // InternalSolverLanguageParser.g:2023:2: ( (this_AdditiveExpression_0= ruleAdditiveExpression ( () ( (lv_op_2_0= ruleComparisonOperator ) ) ( (lv_right_3_0= ruleAdditiveExpression ) ) )? ) ) + // InternalSolverLanguageParser.g:2024:2: (this_AdditiveExpression_0= ruleAdditiveExpression ( () ( (lv_op_2_0= ruleComparisonOperator ) ) ( (lv_right_3_0= ruleAdditiveExpression ) ) )? ) { - // InternalSolverLanguageParser.g:1673:2: (this_AdditiveExpression_0= ruleAdditiveExpression ( () ( (lv_op_2_0= ruleComparisonOperator ) ) ( (lv_right_3_0= ruleAdditiveExpression ) ) )? ) - // InternalSolverLanguageParser.g:1674:3: this_AdditiveExpression_0= ruleAdditiveExpression ( () ( (lv_op_2_0= ruleComparisonOperator ) ) ( (lv_right_3_0= ruleAdditiveExpression ) ) )? + // InternalSolverLanguageParser.g:2024:2: (this_AdditiveExpression_0= ruleAdditiveExpression ( () ( (lv_op_2_0= ruleComparisonOperator ) ) ( (lv_right_3_0= ruleAdditiveExpression ) ) )? ) + // InternalSolverLanguageParser.g:2025:3: this_AdditiveExpression_0= ruleAdditiveExpression ( () ( (lv_op_2_0= ruleComparisonOperator ) ) ( (lv_right_3_0= ruleAdditiveExpression ) ) )? { newCompositeNode(grammarAccess.getComparisonExpressionAccess().getAdditiveExpressionParserRuleCall_0()); - pushFollow(FOLLOW_28); + pushFollow(FOLLOW_34); this_AdditiveExpression_0=ruleAdditiveExpression(); state._fsp--; @@ -4140,38 +5049,38 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { current = this_AdditiveExpression_0; afterParserOrEnumRuleCall(); - // InternalSolverLanguageParser.g:1682:3: ( () ( (lv_op_2_0= ruleComparisonOperator ) ) ( (lv_right_3_0= ruleAdditiveExpression ) ) )? - int alt17=2; - int LA17_0 = input.LA(1); + // InternalSolverLanguageParser.g:2033:3: ( () ( (lv_op_2_0= ruleComparisonOperator ) ) ( (lv_right_3_0= ruleAdditiveExpression ) ) )? + int alt24=2; + int LA24_0 = input.LA(1); - if ( (LA17_0==ExclamationMarkEqualsSign||(LA17_0>=LessThanSignEqualsSign && LA17_0<=EqualsSignEqualsSign)||LA17_0==GreaterThanSignEqualsSign||LA17_0==In||LA17_0==LessThanSign||LA17_0==GreaterThanSign) ) { - alt17=1; + if ( (LA24_0==ExclamationMarkEqualsSign||(LA24_0>=LessThanSignEqualsSign && LA24_0<=EqualsSignEqualsSign)||LA24_0==GreaterThanSignEqualsSign||LA24_0==In||LA24_0==LessThanSign||LA24_0==GreaterThanSign) ) { + alt24=1; } - switch (alt17) { + switch (alt24) { case 1 : - // InternalSolverLanguageParser.g:1683:4: () ( (lv_op_2_0= ruleComparisonOperator ) ) ( (lv_right_3_0= ruleAdditiveExpression ) ) + // InternalSolverLanguageParser.g:2034:4: () ( (lv_op_2_0= ruleComparisonOperator ) ) ( (lv_right_3_0= ruleAdditiveExpression ) ) { - // InternalSolverLanguageParser.g:1683:4: () - // InternalSolverLanguageParser.g:1684:5: + // InternalSolverLanguageParser.g:2034:4: () + // InternalSolverLanguageParser.g:2035:5: { current = forceCreateModelElementAndSet( - grammarAccess.getComparisonExpressionAccess().getComparisonLeftAction_1_0(), + grammarAccess.getComparisonExpressionAccess().getBinaryExpressionLeftAction_1_0(), current); } - // InternalSolverLanguageParser.g:1690:4: ( (lv_op_2_0= ruleComparisonOperator ) ) - // InternalSolverLanguageParser.g:1691:5: (lv_op_2_0= ruleComparisonOperator ) + // InternalSolverLanguageParser.g:2041:4: ( (lv_op_2_0= ruleComparisonOperator ) ) + // InternalSolverLanguageParser.g:2042:5: (lv_op_2_0= ruleComparisonOperator ) { - // InternalSolverLanguageParser.g:1691:5: (lv_op_2_0= ruleComparisonOperator ) - // InternalSolverLanguageParser.g:1692:6: lv_op_2_0= ruleComparisonOperator + // InternalSolverLanguageParser.g:2042:5: (lv_op_2_0= ruleComparisonOperator ) + // InternalSolverLanguageParser.g:2043:6: lv_op_2_0= ruleComparisonOperator { newCompositeNode(grammarAccess.getComparisonExpressionAccess().getOpComparisonOperatorEnumRuleCall_1_1_0()); - pushFollow(FOLLOW_6); + pushFollow(FOLLOW_10); lv_op_2_0=ruleComparisonOperator(); state._fsp--; @@ -4193,11 +5102,11 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } - // InternalSolverLanguageParser.g:1709:4: ( (lv_right_3_0= ruleAdditiveExpression ) ) - // InternalSolverLanguageParser.g:1710:5: (lv_right_3_0= ruleAdditiveExpression ) + // InternalSolverLanguageParser.g:2060:4: ( (lv_right_3_0= ruleAdditiveExpression ) ) + // InternalSolverLanguageParser.g:2061:5: (lv_right_3_0= ruleAdditiveExpression ) { - // InternalSolverLanguageParser.g:1710:5: (lv_right_3_0= ruleAdditiveExpression ) - // InternalSolverLanguageParser.g:1711:6: lv_right_3_0= ruleAdditiveExpression + // InternalSolverLanguageParser.g:2061:5: (lv_right_3_0= ruleAdditiveExpression ) + // InternalSolverLanguageParser.g:2062:6: lv_right_3_0= ruleAdditiveExpression { newCompositeNode(grammarAccess.getComparisonExpressionAccess().getRightAdditiveExpressionParserRuleCall_1_2_0()); @@ -4253,7 +5162,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleAdditiveExpression" - // InternalSolverLanguageParser.g:1733:1: entryRuleAdditiveExpression returns [EObject current=null] : iv_ruleAdditiveExpression= ruleAdditiveExpression EOF ; + // InternalSolverLanguageParser.g:2084:1: entryRuleAdditiveExpression returns [EObject current=null] : iv_ruleAdditiveExpression= ruleAdditiveExpression EOF ; public final EObject entryRuleAdditiveExpression() throws RecognitionException { EObject current = null; @@ -4261,8 +5170,8 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { try { - // InternalSolverLanguageParser.g:1733:59: (iv_ruleAdditiveExpression= ruleAdditiveExpression EOF ) - // InternalSolverLanguageParser.g:1734:2: iv_ruleAdditiveExpression= ruleAdditiveExpression EOF + // InternalSolverLanguageParser.g:2084:59: (iv_ruleAdditiveExpression= ruleAdditiveExpression EOF ) + // InternalSolverLanguageParser.g:2085:2: iv_ruleAdditiveExpression= ruleAdditiveExpression EOF { newCompositeNode(grammarAccess.getAdditiveExpressionRule()); pushFollow(FOLLOW_1); @@ -4289,7 +5198,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleAdditiveExpression" - // InternalSolverLanguageParser.g:1740:1: ruleAdditiveExpression returns [EObject current=null] : (this_MultiplicativeExpression_0= ruleMultiplicativeExpression ( () ( (lv_op_2_0= ruleAdditiveBinaryOperator ) ) ( (lv_right_3_0= ruleMultiplicativeExpression ) ) )* ) ; + // InternalSolverLanguageParser.g:2091:1: ruleAdditiveExpression returns [EObject current=null] : (this_MultiplicativeExpression_0= ruleMultiplicativeExpression ( () ( (lv_op_2_0= ruleAdditiveBinaryOperator ) ) ( (lv_right_3_0= ruleMultiplicativeExpression ) ) )* ) ; public final EObject ruleAdditiveExpression() throws RecognitionException { EObject current = null; @@ -4304,16 +5213,16 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { enterRule(); try { - // InternalSolverLanguageParser.g:1746:2: ( (this_MultiplicativeExpression_0= ruleMultiplicativeExpression ( () ( (lv_op_2_0= ruleAdditiveBinaryOperator ) ) ( (lv_right_3_0= ruleMultiplicativeExpression ) ) )* ) ) - // InternalSolverLanguageParser.g:1747:2: (this_MultiplicativeExpression_0= ruleMultiplicativeExpression ( () ( (lv_op_2_0= ruleAdditiveBinaryOperator ) ) ( (lv_right_3_0= ruleMultiplicativeExpression ) ) )* ) + // InternalSolverLanguageParser.g:2097:2: ( (this_MultiplicativeExpression_0= ruleMultiplicativeExpression ( () ( (lv_op_2_0= ruleAdditiveBinaryOperator ) ) ( (lv_right_3_0= ruleMultiplicativeExpression ) ) )* ) ) + // InternalSolverLanguageParser.g:2098:2: (this_MultiplicativeExpression_0= ruleMultiplicativeExpression ( () ( (lv_op_2_0= ruleAdditiveBinaryOperator ) ) ( (lv_right_3_0= ruleMultiplicativeExpression ) ) )* ) { - // InternalSolverLanguageParser.g:1747:2: (this_MultiplicativeExpression_0= ruleMultiplicativeExpression ( () ( (lv_op_2_0= ruleAdditiveBinaryOperator ) ) ( (lv_right_3_0= ruleMultiplicativeExpression ) ) )* ) - // InternalSolverLanguageParser.g:1748:3: this_MultiplicativeExpression_0= ruleMultiplicativeExpression ( () ( (lv_op_2_0= ruleAdditiveBinaryOperator ) ) ( (lv_right_3_0= ruleMultiplicativeExpression ) ) )* + // InternalSolverLanguageParser.g:2098:2: (this_MultiplicativeExpression_0= ruleMultiplicativeExpression ( () ( (lv_op_2_0= ruleAdditiveBinaryOperator ) ) ( (lv_right_3_0= ruleMultiplicativeExpression ) ) )* ) + // InternalSolverLanguageParser.g:2099:3: this_MultiplicativeExpression_0= ruleMultiplicativeExpression ( () ( (lv_op_2_0= ruleAdditiveBinaryOperator ) ) ( (lv_right_3_0= ruleMultiplicativeExpression ) ) )* { newCompositeNode(grammarAccess.getAdditiveExpressionAccess().getMultiplicativeExpressionParserRuleCall_0()); - pushFollow(FOLLOW_29); + pushFollow(FOLLOW_35); this_MultiplicativeExpression_0=ruleMultiplicativeExpression(); state._fsp--; @@ -4322,23 +5231,23 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { current = this_MultiplicativeExpression_0; afterParserOrEnumRuleCall(); - // InternalSolverLanguageParser.g:1756:3: ( () ( (lv_op_2_0= ruleAdditiveBinaryOperator ) ) ( (lv_right_3_0= ruleMultiplicativeExpression ) ) )* - loop18: + // InternalSolverLanguageParser.g:2107:3: ( () ( (lv_op_2_0= ruleAdditiveBinaryOperator ) ) ( (lv_right_3_0= ruleMultiplicativeExpression ) ) )* + loop25: do { - int alt18=2; - int LA18_0 = input.LA(1); + int alt25=2; + int LA25_0 = input.LA(1); - if ( (LA18_0==PlusSign||LA18_0==HyphenMinus) ) { - alt18=1; + if ( (LA25_0==PlusSign||LA25_0==HyphenMinus) ) { + alt25=1; } - switch (alt18) { + switch (alt25) { case 1 : - // InternalSolverLanguageParser.g:1757:4: () ( (lv_op_2_0= ruleAdditiveBinaryOperator ) ) ( (lv_right_3_0= ruleMultiplicativeExpression ) ) + // InternalSolverLanguageParser.g:2108:4: () ( (lv_op_2_0= ruleAdditiveBinaryOperator ) ) ( (lv_right_3_0= ruleMultiplicativeExpression ) ) { - // InternalSolverLanguageParser.g:1757:4: () - // InternalSolverLanguageParser.g:1758:5: + // InternalSolverLanguageParser.g:2108:4: () + // InternalSolverLanguageParser.g:2109:5: { current = forceCreateModelElementAndSet( @@ -4348,16 +5257,16 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } - // InternalSolverLanguageParser.g:1764:4: ( (lv_op_2_0= ruleAdditiveBinaryOperator ) ) - // InternalSolverLanguageParser.g:1765:5: (lv_op_2_0= ruleAdditiveBinaryOperator ) + // InternalSolverLanguageParser.g:2115:4: ( (lv_op_2_0= ruleAdditiveBinaryOperator ) ) + // InternalSolverLanguageParser.g:2116:5: (lv_op_2_0= ruleAdditiveBinaryOperator ) { - // InternalSolverLanguageParser.g:1765:5: (lv_op_2_0= ruleAdditiveBinaryOperator ) - // InternalSolverLanguageParser.g:1766:6: lv_op_2_0= ruleAdditiveBinaryOperator + // InternalSolverLanguageParser.g:2116:5: (lv_op_2_0= ruleAdditiveBinaryOperator ) + // InternalSolverLanguageParser.g:2117:6: lv_op_2_0= ruleAdditiveBinaryOperator { newCompositeNode(grammarAccess.getAdditiveExpressionAccess().getOpAdditiveBinaryOperatorEnumRuleCall_1_1_0()); - pushFollow(FOLLOW_6); + pushFollow(FOLLOW_10); lv_op_2_0=ruleAdditiveBinaryOperator(); state._fsp--; @@ -4379,16 +5288,16 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } - // InternalSolverLanguageParser.g:1783:4: ( (lv_right_3_0= ruleMultiplicativeExpression ) ) - // InternalSolverLanguageParser.g:1784:5: (lv_right_3_0= ruleMultiplicativeExpression ) + // InternalSolverLanguageParser.g:2134:4: ( (lv_right_3_0= ruleMultiplicativeExpression ) ) + // InternalSolverLanguageParser.g:2135:5: (lv_right_3_0= ruleMultiplicativeExpression ) { - // InternalSolverLanguageParser.g:1784:5: (lv_right_3_0= ruleMultiplicativeExpression ) - // InternalSolverLanguageParser.g:1785:6: lv_right_3_0= ruleMultiplicativeExpression + // InternalSolverLanguageParser.g:2135:5: (lv_right_3_0= ruleMultiplicativeExpression ) + // InternalSolverLanguageParser.g:2136:6: lv_right_3_0= ruleMultiplicativeExpression { newCompositeNode(grammarAccess.getAdditiveExpressionAccess().getRightMultiplicativeExpressionParserRuleCall_1_2_0()); - pushFollow(FOLLOW_29); + pushFollow(FOLLOW_35); lv_right_3_0=ruleMultiplicativeExpression(); state._fsp--; @@ -4415,7 +5324,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { break; default : - break loop18; + break loop25; } } while (true); @@ -4442,7 +5351,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleMultiplicativeExpression" - // InternalSolverLanguageParser.g:1807:1: entryRuleMultiplicativeExpression returns [EObject current=null] : iv_ruleMultiplicativeExpression= ruleMultiplicativeExpression EOF ; + // InternalSolverLanguageParser.g:2158:1: entryRuleMultiplicativeExpression returns [EObject current=null] : iv_ruleMultiplicativeExpression= ruleMultiplicativeExpression EOF ; public final EObject entryRuleMultiplicativeExpression() throws RecognitionException { EObject current = null; @@ -4450,8 +5359,8 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { try { - // InternalSolverLanguageParser.g:1807:65: (iv_ruleMultiplicativeExpression= ruleMultiplicativeExpression EOF ) - // InternalSolverLanguageParser.g:1808:2: iv_ruleMultiplicativeExpression= ruleMultiplicativeExpression EOF + // InternalSolverLanguageParser.g:2158:65: (iv_ruleMultiplicativeExpression= ruleMultiplicativeExpression EOF ) + // InternalSolverLanguageParser.g:2159:2: iv_ruleMultiplicativeExpression= ruleMultiplicativeExpression EOF { newCompositeNode(grammarAccess.getMultiplicativeExpressionRule()); pushFollow(FOLLOW_1); @@ -4478,7 +5387,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleMultiplicativeExpression" - // InternalSolverLanguageParser.g:1814:1: ruleMultiplicativeExpression returns [EObject current=null] : (this_ExponentialExpression_0= ruleExponentialExpression ( () ( (lv_op_2_0= ruleMultiplicativeBinaryOperator ) ) ( (lv_right_3_0= ruleExponentialExpression ) ) )* ) ; + // InternalSolverLanguageParser.g:2165:1: ruleMultiplicativeExpression returns [EObject current=null] : (this_ExponentialExpression_0= ruleExponentialExpression ( () ( (lv_op_2_0= ruleMultiplicativeBinaryOperator ) ) ( (lv_right_3_0= ruleExponentialExpression ) ) )* ) ; public final EObject ruleMultiplicativeExpression() throws RecognitionException { EObject current = null; @@ -4493,16 +5402,16 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { enterRule(); try { - // InternalSolverLanguageParser.g:1820:2: ( (this_ExponentialExpression_0= ruleExponentialExpression ( () ( (lv_op_2_0= ruleMultiplicativeBinaryOperator ) ) ( (lv_right_3_0= ruleExponentialExpression ) ) )* ) ) - // InternalSolverLanguageParser.g:1821:2: (this_ExponentialExpression_0= ruleExponentialExpression ( () ( (lv_op_2_0= ruleMultiplicativeBinaryOperator ) ) ( (lv_right_3_0= ruleExponentialExpression ) ) )* ) + // InternalSolverLanguageParser.g:2171:2: ( (this_ExponentialExpression_0= ruleExponentialExpression ( () ( (lv_op_2_0= ruleMultiplicativeBinaryOperator ) ) ( (lv_right_3_0= ruleExponentialExpression ) ) )* ) ) + // InternalSolverLanguageParser.g:2172:2: (this_ExponentialExpression_0= ruleExponentialExpression ( () ( (lv_op_2_0= ruleMultiplicativeBinaryOperator ) ) ( (lv_right_3_0= ruleExponentialExpression ) ) )* ) { - // InternalSolverLanguageParser.g:1821:2: (this_ExponentialExpression_0= ruleExponentialExpression ( () ( (lv_op_2_0= ruleMultiplicativeBinaryOperator ) ) ( (lv_right_3_0= ruleExponentialExpression ) ) )* ) - // InternalSolverLanguageParser.g:1822:3: this_ExponentialExpression_0= ruleExponentialExpression ( () ( (lv_op_2_0= ruleMultiplicativeBinaryOperator ) ) ( (lv_right_3_0= ruleExponentialExpression ) ) )* + // InternalSolverLanguageParser.g:2172:2: (this_ExponentialExpression_0= ruleExponentialExpression ( () ( (lv_op_2_0= ruleMultiplicativeBinaryOperator ) ) ( (lv_right_3_0= ruleExponentialExpression ) ) )* ) + // InternalSolverLanguageParser.g:2173:3: this_ExponentialExpression_0= ruleExponentialExpression ( () ( (lv_op_2_0= ruleMultiplicativeBinaryOperator ) ) ( (lv_right_3_0= ruleExponentialExpression ) ) )* { newCompositeNode(grammarAccess.getMultiplicativeExpressionAccess().getExponentialExpressionParserRuleCall_0()); - pushFollow(FOLLOW_30); + pushFollow(FOLLOW_36); this_ExponentialExpression_0=ruleExponentialExpression(); state._fsp--; @@ -4511,23 +5420,23 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { current = this_ExponentialExpression_0; afterParserOrEnumRuleCall(); - // InternalSolverLanguageParser.g:1830:3: ( () ( (lv_op_2_0= ruleMultiplicativeBinaryOperator ) ) ( (lv_right_3_0= ruleExponentialExpression ) ) )* - loop19: + // InternalSolverLanguageParser.g:2181:3: ( () ( (lv_op_2_0= ruleMultiplicativeBinaryOperator ) ) ( (lv_right_3_0= ruleExponentialExpression ) ) )* + loop26: do { - int alt19=2; - int LA19_0 = input.LA(1); + int alt26=2; + int LA26_0 = input.LA(1); - if ( (LA19_0==Asterisk||LA19_0==Solidus) ) { - alt19=1; + if ( (LA26_0==Asterisk||LA26_0==Solidus) ) { + alt26=1; } - switch (alt19) { + switch (alt26) { case 1 : - // InternalSolverLanguageParser.g:1831:4: () ( (lv_op_2_0= ruleMultiplicativeBinaryOperator ) ) ( (lv_right_3_0= ruleExponentialExpression ) ) + // InternalSolverLanguageParser.g:2182:4: () ( (lv_op_2_0= ruleMultiplicativeBinaryOperator ) ) ( (lv_right_3_0= ruleExponentialExpression ) ) { - // InternalSolverLanguageParser.g:1831:4: () - // InternalSolverLanguageParser.g:1832:5: + // InternalSolverLanguageParser.g:2182:4: () + // InternalSolverLanguageParser.g:2183:5: { current = forceCreateModelElementAndSet( @@ -4537,16 +5446,16 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } - // InternalSolverLanguageParser.g:1838:4: ( (lv_op_2_0= ruleMultiplicativeBinaryOperator ) ) - // InternalSolverLanguageParser.g:1839:5: (lv_op_2_0= ruleMultiplicativeBinaryOperator ) + // InternalSolverLanguageParser.g:2189:4: ( (lv_op_2_0= ruleMultiplicativeBinaryOperator ) ) + // InternalSolverLanguageParser.g:2190:5: (lv_op_2_0= ruleMultiplicativeBinaryOperator ) { - // InternalSolverLanguageParser.g:1839:5: (lv_op_2_0= ruleMultiplicativeBinaryOperator ) - // InternalSolverLanguageParser.g:1840:6: lv_op_2_0= ruleMultiplicativeBinaryOperator + // InternalSolverLanguageParser.g:2190:5: (lv_op_2_0= ruleMultiplicativeBinaryOperator ) + // InternalSolverLanguageParser.g:2191:6: lv_op_2_0= ruleMultiplicativeBinaryOperator { newCompositeNode(grammarAccess.getMultiplicativeExpressionAccess().getOpMultiplicativeBinaryOperatorEnumRuleCall_1_1_0()); - pushFollow(FOLLOW_6); + pushFollow(FOLLOW_10); lv_op_2_0=ruleMultiplicativeBinaryOperator(); state._fsp--; @@ -4568,16 +5477,16 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } - // InternalSolverLanguageParser.g:1857:4: ( (lv_right_3_0= ruleExponentialExpression ) ) - // InternalSolverLanguageParser.g:1858:5: (lv_right_3_0= ruleExponentialExpression ) + // InternalSolverLanguageParser.g:2208:4: ( (lv_right_3_0= ruleExponentialExpression ) ) + // InternalSolverLanguageParser.g:2209:5: (lv_right_3_0= ruleExponentialExpression ) { - // InternalSolverLanguageParser.g:1858:5: (lv_right_3_0= ruleExponentialExpression ) - // InternalSolverLanguageParser.g:1859:6: lv_right_3_0= ruleExponentialExpression + // InternalSolverLanguageParser.g:2209:5: (lv_right_3_0= ruleExponentialExpression ) + // InternalSolverLanguageParser.g:2210:6: lv_right_3_0= ruleExponentialExpression { newCompositeNode(grammarAccess.getMultiplicativeExpressionAccess().getRightExponentialExpressionParserRuleCall_1_2_0()); - pushFollow(FOLLOW_30); + pushFollow(FOLLOW_36); lv_right_3_0=ruleExponentialExpression(); state._fsp--; @@ -4604,7 +5513,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { break; default : - break loop19; + break loop26; } } while (true); @@ -4631,7 +5540,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleExponentialExpression" - // InternalSolverLanguageParser.g:1881:1: entryRuleExponentialExpression returns [EObject current=null] : iv_ruleExponentialExpression= ruleExponentialExpression EOF ; + // InternalSolverLanguageParser.g:2232:1: entryRuleExponentialExpression returns [EObject current=null] : iv_ruleExponentialExpression= ruleExponentialExpression EOF ; public final EObject entryRuleExponentialExpression() throws RecognitionException { EObject current = null; @@ -4639,8 +5548,8 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { try { - // InternalSolverLanguageParser.g:1881:62: (iv_ruleExponentialExpression= ruleExponentialExpression EOF ) - // InternalSolverLanguageParser.g:1882:2: iv_ruleExponentialExpression= ruleExponentialExpression EOF + // InternalSolverLanguageParser.g:2232:62: (iv_ruleExponentialExpression= ruleExponentialExpression EOF ) + // InternalSolverLanguageParser.g:2233:2: iv_ruleExponentialExpression= ruleExponentialExpression EOF { newCompositeNode(grammarAccess.getExponentialExpressionRule()); pushFollow(FOLLOW_1); @@ -4667,7 +5576,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleExponentialExpression" - // InternalSolverLanguageParser.g:1888:1: ruleExponentialExpression returns [EObject current=null] : (this_CastExpression_0= ruleCastExpression ( () ( (lv_op_2_0= ruleExponentialOp ) ) ( (lv_right_3_0= ruleCastExpression ) ) )? ) ; + // InternalSolverLanguageParser.g:2239:1: ruleExponentialExpression returns [EObject current=null] : (this_CastExpression_0= ruleCastExpression ( () ( (lv_op_2_0= ruleExponentialOp ) ) ( (lv_right_3_0= ruleCastExpression ) ) )? ) ; public final EObject ruleExponentialExpression() throws RecognitionException { EObject current = null; @@ -4682,16 +5591,16 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { enterRule(); try { - // InternalSolverLanguageParser.g:1894:2: ( (this_CastExpression_0= ruleCastExpression ( () ( (lv_op_2_0= ruleExponentialOp ) ) ( (lv_right_3_0= ruleCastExpression ) ) )? ) ) - // InternalSolverLanguageParser.g:1895:2: (this_CastExpression_0= ruleCastExpression ( () ( (lv_op_2_0= ruleExponentialOp ) ) ( (lv_right_3_0= ruleCastExpression ) ) )? ) + // InternalSolverLanguageParser.g:2245:2: ( (this_CastExpression_0= ruleCastExpression ( () ( (lv_op_2_0= ruleExponentialOp ) ) ( (lv_right_3_0= ruleCastExpression ) ) )? ) ) + // InternalSolverLanguageParser.g:2246:2: (this_CastExpression_0= ruleCastExpression ( () ( (lv_op_2_0= ruleExponentialOp ) ) ( (lv_right_3_0= ruleCastExpression ) ) )? ) { - // InternalSolverLanguageParser.g:1895:2: (this_CastExpression_0= ruleCastExpression ( () ( (lv_op_2_0= ruleExponentialOp ) ) ( (lv_right_3_0= ruleCastExpression ) ) )? ) - // InternalSolverLanguageParser.g:1896:3: this_CastExpression_0= ruleCastExpression ( () ( (lv_op_2_0= ruleExponentialOp ) ) ( (lv_right_3_0= ruleCastExpression ) ) )? + // InternalSolverLanguageParser.g:2246:2: (this_CastExpression_0= ruleCastExpression ( () ( (lv_op_2_0= ruleExponentialOp ) ) ( (lv_right_3_0= ruleCastExpression ) ) )? ) + // InternalSolverLanguageParser.g:2247:3: this_CastExpression_0= ruleCastExpression ( () ( (lv_op_2_0= ruleExponentialOp ) ) ( (lv_right_3_0= ruleCastExpression ) ) )? { newCompositeNode(grammarAccess.getExponentialExpressionAccess().getCastExpressionParserRuleCall_0()); - pushFollow(FOLLOW_31); + pushFollow(FOLLOW_37); this_CastExpression_0=ruleCastExpression(); state._fsp--; @@ -4700,19 +5609,19 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { current = this_CastExpression_0; afterParserOrEnumRuleCall(); - // InternalSolverLanguageParser.g:1904:3: ( () ( (lv_op_2_0= ruleExponentialOp ) ) ( (lv_right_3_0= ruleCastExpression ) ) )? - int alt20=2; - int LA20_0 = input.LA(1); + // InternalSolverLanguageParser.g:2255:3: ( () ( (lv_op_2_0= ruleExponentialOp ) ) ( (lv_right_3_0= ruleCastExpression ) ) )? + int alt27=2; + int LA27_0 = input.LA(1); - if ( (LA20_0==CircumflexAccent) ) { - alt20=1; + if ( (LA27_0==CircumflexAccent) ) { + alt27=1; } - switch (alt20) { + switch (alt27) { case 1 : - // InternalSolverLanguageParser.g:1905:4: () ( (lv_op_2_0= ruleExponentialOp ) ) ( (lv_right_3_0= ruleCastExpression ) ) + // InternalSolverLanguageParser.g:2256:4: () ( (lv_op_2_0= ruleExponentialOp ) ) ( (lv_right_3_0= ruleCastExpression ) ) { - // InternalSolverLanguageParser.g:1905:4: () - // InternalSolverLanguageParser.g:1906:5: + // InternalSolverLanguageParser.g:2256:4: () + // InternalSolverLanguageParser.g:2257:5: { current = forceCreateModelElementAndSet( @@ -4722,16 +5631,16 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } - // InternalSolverLanguageParser.g:1912:4: ( (lv_op_2_0= ruleExponentialOp ) ) - // InternalSolverLanguageParser.g:1913:5: (lv_op_2_0= ruleExponentialOp ) + // InternalSolverLanguageParser.g:2263:4: ( (lv_op_2_0= ruleExponentialOp ) ) + // InternalSolverLanguageParser.g:2264:5: (lv_op_2_0= ruleExponentialOp ) { - // InternalSolverLanguageParser.g:1913:5: (lv_op_2_0= ruleExponentialOp ) - // InternalSolverLanguageParser.g:1914:6: lv_op_2_0= ruleExponentialOp + // InternalSolverLanguageParser.g:2264:5: (lv_op_2_0= ruleExponentialOp ) + // InternalSolverLanguageParser.g:2265:6: lv_op_2_0= ruleExponentialOp { newCompositeNode(grammarAccess.getExponentialExpressionAccess().getOpExponentialOpEnumRuleCall_1_1_0()); - pushFollow(FOLLOW_6); + pushFollow(FOLLOW_10); lv_op_2_0=ruleExponentialOp(); state._fsp--; @@ -4753,11 +5662,11 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } - // InternalSolverLanguageParser.g:1931:4: ( (lv_right_3_0= ruleCastExpression ) ) - // InternalSolverLanguageParser.g:1932:5: (lv_right_3_0= ruleCastExpression ) + // InternalSolverLanguageParser.g:2282:4: ( (lv_right_3_0= ruleCastExpression ) ) + // InternalSolverLanguageParser.g:2283:5: (lv_right_3_0= ruleCastExpression ) { - // InternalSolverLanguageParser.g:1932:5: (lv_right_3_0= ruleCastExpression ) - // InternalSolverLanguageParser.g:1933:6: lv_right_3_0= ruleCastExpression + // InternalSolverLanguageParser.g:2283:5: (lv_right_3_0= ruleCastExpression ) + // InternalSolverLanguageParser.g:2284:6: lv_right_3_0= ruleCastExpression { newCompositeNode(grammarAccess.getExponentialExpressionAccess().getRightCastExpressionParserRuleCall_1_2_0()); @@ -4813,7 +5722,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleCastExpression" - // InternalSolverLanguageParser.g:1955:1: entryRuleCastExpression returns [EObject current=null] : iv_ruleCastExpression= ruleCastExpression EOF ; + // InternalSolverLanguageParser.g:2306:1: entryRuleCastExpression returns [EObject current=null] : iv_ruleCastExpression= ruleCastExpression EOF ; public final EObject entryRuleCastExpression() throws RecognitionException { EObject current = null; @@ -4821,8 +5730,8 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { try { - // InternalSolverLanguageParser.g:1955:55: (iv_ruleCastExpression= ruleCastExpression EOF ) - // InternalSolverLanguageParser.g:1956:2: iv_ruleCastExpression= ruleCastExpression EOF + // InternalSolverLanguageParser.g:2306:55: (iv_ruleCastExpression= ruleCastExpression EOF ) + // InternalSolverLanguageParser.g:2307:2: iv_ruleCastExpression= ruleCastExpression EOF { newCompositeNode(grammarAccess.getCastExpressionRule()); pushFollow(FOLLOW_1); @@ -4849,7 +5758,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleCastExpression" - // InternalSolverLanguageParser.g:1962:1: ruleCastExpression returns [EObject current=null] : (this_UnaryExpression_0= ruleUnaryExpression ( () otherlv_2= As ( ( ruleQualifiedName ) ) )? ) ; + // InternalSolverLanguageParser.g:2313:1: ruleCastExpression returns [EObject current=null] : (this_UnaryExpression_0= ruleUnaryExpression ( () otherlv_2= As ( ( ruleQualifiedName ) ) )? ) ; public final EObject ruleCastExpression() throws RecognitionException { EObject current = null; @@ -4861,16 +5770,16 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { enterRule(); try { - // InternalSolverLanguageParser.g:1968:2: ( (this_UnaryExpression_0= ruleUnaryExpression ( () otherlv_2= As ( ( ruleQualifiedName ) ) )? ) ) - // InternalSolverLanguageParser.g:1969:2: (this_UnaryExpression_0= ruleUnaryExpression ( () otherlv_2= As ( ( ruleQualifiedName ) ) )? ) + // InternalSolverLanguageParser.g:2319:2: ( (this_UnaryExpression_0= ruleUnaryExpression ( () otherlv_2= As ( ( ruleQualifiedName ) ) )? ) ) + // InternalSolverLanguageParser.g:2320:2: (this_UnaryExpression_0= ruleUnaryExpression ( () otherlv_2= As ( ( ruleQualifiedName ) ) )? ) { - // InternalSolverLanguageParser.g:1969:2: (this_UnaryExpression_0= ruleUnaryExpression ( () otherlv_2= As ( ( ruleQualifiedName ) ) )? ) - // InternalSolverLanguageParser.g:1970:3: this_UnaryExpression_0= ruleUnaryExpression ( () otherlv_2= As ( ( ruleQualifiedName ) ) )? + // InternalSolverLanguageParser.g:2320:2: (this_UnaryExpression_0= ruleUnaryExpression ( () otherlv_2= As ( ( ruleQualifiedName ) ) )? ) + // InternalSolverLanguageParser.g:2321:3: this_UnaryExpression_0= ruleUnaryExpression ( () otherlv_2= As ( ( ruleQualifiedName ) ) )? { newCompositeNode(grammarAccess.getCastExpressionAccess().getUnaryExpressionParserRuleCall_0()); - pushFollow(FOLLOW_32); + pushFollow(FOLLOW_38); this_UnaryExpression_0=ruleUnaryExpression(); state._fsp--; @@ -4879,19 +5788,19 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { current = this_UnaryExpression_0; afterParserOrEnumRuleCall(); - // InternalSolverLanguageParser.g:1978:3: ( () otherlv_2= As ( ( ruleQualifiedName ) ) )? - int alt21=2; - int LA21_0 = input.LA(1); + // InternalSolverLanguageParser.g:2329:3: ( () otherlv_2= As ( ( ruleQualifiedName ) ) )? + int alt28=2; + int LA28_0 = input.LA(1); - if ( (LA21_0==As) ) { - alt21=1; + if ( (LA28_0==As) ) { + alt28=1; } - switch (alt21) { + switch (alt28) { case 1 : - // InternalSolverLanguageParser.g:1979:4: () otherlv_2= As ( ( ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:2330:4: () otherlv_2= As ( ( ruleQualifiedName ) ) { - // InternalSolverLanguageParser.g:1979:4: () - // InternalSolverLanguageParser.g:1980:5: + // InternalSolverLanguageParser.g:2330:4: () + // InternalSolverLanguageParser.g:2331:5: { current = forceCreateModelElementAndSet( @@ -4901,15 +5810,15 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } - otherlv_2=(Token)match(input,As,FOLLOW_8); + otherlv_2=(Token)match(input,As,FOLLOW_3); newLeafNode(otherlv_2, grammarAccess.getCastExpressionAccess().getAsKeyword_1_1()); - // InternalSolverLanguageParser.g:1990:4: ( ( ruleQualifiedName ) ) - // InternalSolverLanguageParser.g:1991:5: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:2341:4: ( ( ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:2342:5: ( ruleQualifiedName ) { - // InternalSolverLanguageParser.g:1991:5: ( ruleQualifiedName ) - // InternalSolverLanguageParser.g:1992:6: ruleQualifiedName + // InternalSolverLanguageParser.g:2342:5: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:2343:6: ruleQualifiedName { if (current==null) { @@ -4917,7 +5826,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } - newCompositeNode(grammarAccess.getCastExpressionAccess().getTypeNamedElementCrossReference_1_2_0()); + newCompositeNode(grammarAccess.getCastExpressionAccess().getTargetTypeSymbolCrossReference_1_2_0()); pushFollow(FOLLOW_2); ruleQualifiedName(); @@ -4962,7 +5871,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleUnaryExpression" - // InternalSolverLanguageParser.g:2011:1: entryRuleUnaryExpression returns [EObject current=null] : iv_ruleUnaryExpression= ruleUnaryExpression EOF ; + // InternalSolverLanguageParser.g:2362:1: entryRuleUnaryExpression returns [EObject current=null] : iv_ruleUnaryExpression= ruleUnaryExpression EOF ; public final EObject entryRuleUnaryExpression() throws RecognitionException { EObject current = null; @@ -4970,8 +5879,8 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { try { - // InternalSolverLanguageParser.g:2011:56: (iv_ruleUnaryExpression= ruleUnaryExpression EOF ) - // InternalSolverLanguageParser.g:2012:2: iv_ruleUnaryExpression= ruleUnaryExpression EOF + // InternalSolverLanguageParser.g:2362:56: (iv_ruleUnaryExpression= ruleUnaryExpression EOF ) + // InternalSolverLanguageParser.g:2363:2: iv_ruleUnaryExpression= ruleUnaryExpression EOF { newCompositeNode(grammarAccess.getUnaryExpressionRule()); pushFollow(FOLLOW_1); @@ -4998,11 +5907,11 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleUnaryExpression" - // InternalSolverLanguageParser.g:2018:1: ruleUnaryExpression returns [EObject current=null] : (this_AggregationExpression_0= ruleAggregationExpression | ( () ( (lv_op_2_0= ruleUnaryOp ) ) ( (lv_body_3_0= ruleAggregationExpression ) ) ) ) ; + // InternalSolverLanguageParser.g:2369:1: ruleUnaryExpression returns [EObject current=null] : (this_BracedAggregateExpression_0= ruleBracedAggregateExpression | ( () ( (lv_op_2_0= ruleUnaryOperator ) ) ( (lv_body_3_0= ruleBracedAggregateExpression ) ) ) ) ; public final EObject ruleUnaryExpression() throws RecognitionException { EObject current = null; - EObject this_AggregationExpression_0 = null; + EObject this_BracedAggregateExpression_0 = null; Enumerator lv_op_2_0 = null; @@ -5013,52 +5922,52 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { enterRule(); try { - // InternalSolverLanguageParser.g:2024:2: ( (this_AggregationExpression_0= ruleAggregationExpression | ( () ( (lv_op_2_0= ruleUnaryOp ) ) ( (lv_body_3_0= ruleAggregationExpression ) ) ) ) ) - // InternalSolverLanguageParser.g:2025:2: (this_AggregationExpression_0= ruleAggregationExpression | ( () ( (lv_op_2_0= ruleUnaryOp ) ) ( (lv_body_3_0= ruleAggregationExpression ) ) ) ) + // InternalSolverLanguageParser.g:2375:2: ( (this_BracedAggregateExpression_0= ruleBracedAggregateExpression | ( () ( (lv_op_2_0= ruleUnaryOperator ) ) ( (lv_body_3_0= ruleBracedAggregateExpression ) ) ) ) ) + // InternalSolverLanguageParser.g:2376:2: (this_BracedAggregateExpression_0= ruleBracedAggregateExpression | ( () ( (lv_op_2_0= ruleUnaryOperator ) ) ( (lv_body_3_0= ruleBracedAggregateExpression ) ) ) ) { - // InternalSolverLanguageParser.g:2025:2: (this_AggregationExpression_0= ruleAggregationExpression | ( () ( (lv_op_2_0= ruleUnaryOp ) ) ( (lv_body_3_0= ruleAggregationExpression ) ) ) ) - int alt22=2; - int LA22_0 = input.LA(1); + // InternalSolverLanguageParser.g:2376:2: (this_BracedAggregateExpression_0= ruleBracedAggregateExpression | ( () ( (lv_op_2_0= ruleUnaryOperator ) ) ( (lv_body_3_0= ruleBracedAggregateExpression ) ) ) ) + int alt29=2; + int LA29_0 = input.LA(1); - if ( ((LA22_0>=Unknown && LA22_0<=Exists)||LA22_0==Forall||(LA22_0>=Count && LA22_0<=False)||LA22_0==True||LA22_0==Inf||LA22_0==LeftParenthesis||LA22_0==LeftSquareBracket||(LA22_0>=RULE_STRING && LA22_0<=RULE_QUOTED_ID)||(LA22_0>=RULE_ID && LA22_0<=RULE_INT)) ) { - alt22=1; + if ( (LA29_0==Unknown||LA29_0==Object||(LA29_0>=Count && LA29_0<=False)||LA29_0==True||LA29_0==Inf||LA29_0==LeftParenthesis||LA29_0==LeftSquareBracket||(LA29_0>=Tilde && LA29_0<=RULE_QUOTED_ID)||(LA29_0>=RULE_ID && LA29_0<=RULE_INT)) ) { + alt29=1; } - else if ( (LA22_0==Current||LA22_0==Must||LA22_0==May||LA22_0==ExclamationMark||LA22_0==PlusSign||LA22_0==HyphenMinus) ) { - alt22=2; + else if ( (LA29_0==ExclamationMark||LA29_0==PlusSign||LA29_0==HyphenMinus||LA29_0==QuestionMark) ) { + alt29=2; } else { NoViableAltException nvae = - new NoViableAltException("", 22, 0, input); + new NoViableAltException("", 29, 0, input); throw nvae; } - switch (alt22) { + switch (alt29) { case 1 : - // InternalSolverLanguageParser.g:2026:3: this_AggregationExpression_0= ruleAggregationExpression + // InternalSolverLanguageParser.g:2377:3: this_BracedAggregateExpression_0= ruleBracedAggregateExpression { - newCompositeNode(grammarAccess.getUnaryExpressionAccess().getAggregationExpressionParserRuleCall_0()); + newCompositeNode(grammarAccess.getUnaryExpressionAccess().getBracedAggregateExpressionParserRuleCall_0()); pushFollow(FOLLOW_2); - this_AggregationExpression_0=ruleAggregationExpression(); + this_BracedAggregateExpression_0=ruleBracedAggregateExpression(); state._fsp--; - current = this_AggregationExpression_0; + current = this_BracedAggregateExpression_0; afterParserOrEnumRuleCall(); } break; case 2 : - // InternalSolverLanguageParser.g:2035:3: ( () ( (lv_op_2_0= ruleUnaryOp ) ) ( (lv_body_3_0= ruleAggregationExpression ) ) ) + // InternalSolverLanguageParser.g:2386:3: ( () ( (lv_op_2_0= ruleUnaryOperator ) ) ( (lv_body_3_0= ruleBracedAggregateExpression ) ) ) { - // InternalSolverLanguageParser.g:2035:3: ( () ( (lv_op_2_0= ruleUnaryOp ) ) ( (lv_body_3_0= ruleAggregationExpression ) ) ) - // InternalSolverLanguageParser.g:2036:4: () ( (lv_op_2_0= ruleUnaryOp ) ) ( (lv_body_3_0= ruleAggregationExpression ) ) + // InternalSolverLanguageParser.g:2386:3: ( () ( (lv_op_2_0= ruleUnaryOperator ) ) ( (lv_body_3_0= ruleBracedAggregateExpression ) ) ) + // InternalSolverLanguageParser.g:2387:4: () ( (lv_op_2_0= ruleUnaryOperator ) ) ( (lv_body_3_0= ruleBracedAggregateExpression ) ) { - // InternalSolverLanguageParser.g:2036:4: () - // InternalSolverLanguageParser.g:2037:5: + // InternalSolverLanguageParser.g:2387:4: () + // InternalSolverLanguageParser.g:2388:5: { current = forceCreateModelElement( @@ -5068,17 +5977,17 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } - // InternalSolverLanguageParser.g:2043:4: ( (lv_op_2_0= ruleUnaryOp ) ) - // InternalSolverLanguageParser.g:2044:5: (lv_op_2_0= ruleUnaryOp ) + // InternalSolverLanguageParser.g:2394:4: ( (lv_op_2_0= ruleUnaryOperator ) ) + // InternalSolverLanguageParser.g:2395:5: (lv_op_2_0= ruleUnaryOperator ) { - // InternalSolverLanguageParser.g:2044:5: (lv_op_2_0= ruleUnaryOp ) - // InternalSolverLanguageParser.g:2045:6: lv_op_2_0= ruleUnaryOp + // InternalSolverLanguageParser.g:2395:5: (lv_op_2_0= ruleUnaryOperator ) + // InternalSolverLanguageParser.g:2396:6: lv_op_2_0= ruleUnaryOperator { - newCompositeNode(grammarAccess.getUnaryExpressionAccess().getOpUnaryOpEnumRuleCall_1_1_0()); + newCompositeNode(grammarAccess.getUnaryExpressionAccess().getOpUnaryOperatorEnumRuleCall_1_1_0()); - pushFollow(FOLLOW_33); - lv_op_2_0=ruleUnaryOp(); + pushFollow(FOLLOW_39); + lv_op_2_0=ruleUnaryOperator(); state._fsp--; @@ -5090,7 +5999,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { current, "op", lv_op_2_0, - "org.eclipse.viatra.solver.language.SolverLanguage.UnaryOp"); + "org.eclipse.viatra.solver.language.SolverLanguage.UnaryOperator"); afterParserOrEnumRuleCall(); @@ -5099,17 +6008,17 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } - // InternalSolverLanguageParser.g:2062:4: ( (lv_body_3_0= ruleAggregationExpression ) ) - // InternalSolverLanguageParser.g:2063:5: (lv_body_3_0= ruleAggregationExpression ) + // InternalSolverLanguageParser.g:2413:4: ( (lv_body_3_0= ruleBracedAggregateExpression ) ) + // InternalSolverLanguageParser.g:2414:5: (lv_body_3_0= ruleBracedAggregateExpression ) { - // InternalSolverLanguageParser.g:2063:5: (lv_body_3_0= ruleAggregationExpression ) - // InternalSolverLanguageParser.g:2064:6: lv_body_3_0= ruleAggregationExpression + // InternalSolverLanguageParser.g:2414:5: (lv_body_3_0= ruleBracedAggregateExpression ) + // InternalSolverLanguageParser.g:2415:6: lv_body_3_0= ruleBracedAggregateExpression { - newCompositeNode(grammarAccess.getUnaryExpressionAccess().getBodyAggregationExpressionParserRuleCall_1_2_0()); + newCompositeNode(grammarAccess.getUnaryExpressionAccess().getBodyBracedAggregateExpressionParserRuleCall_1_2_0()); pushFollow(FOLLOW_2); - lv_body_3_0=ruleAggregationExpression(); + lv_body_3_0=ruleBracedAggregateExpression(); state._fsp--; @@ -5121,7 +6030,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { current, "body", lv_body_3_0, - "org.eclipse.viatra.solver.language.SolverLanguage.AggregationExpression"); + "org.eclipse.viatra.solver.language.SolverLanguage.BracedAggregateExpression"); afterParserOrEnumRuleCall(); @@ -5158,25 +6067,25 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR end "ruleUnaryExpression" - // $ANTLR start "entryRuleAggregationExpression" - // InternalSolverLanguageParser.g:2086:1: entryRuleAggregationExpression returns [EObject current=null] : iv_ruleAggregationExpression= ruleAggregationExpression EOF ; - public final EObject entryRuleAggregationExpression() throws RecognitionException { + // $ANTLR start "entryRuleBracedAggregateExpression" + // InternalSolverLanguageParser.g:2437:1: entryRuleBracedAggregateExpression returns [EObject current=null] : iv_ruleBracedAggregateExpression= ruleBracedAggregateExpression EOF ; + public final EObject entryRuleBracedAggregateExpression() throws RecognitionException { EObject current = null; - EObject iv_ruleAggregationExpression = null; + EObject iv_ruleBracedAggregateExpression = null; try { - // InternalSolverLanguageParser.g:2086:62: (iv_ruleAggregationExpression= ruleAggregationExpression EOF ) - // InternalSolverLanguageParser.g:2087:2: iv_ruleAggregationExpression= ruleAggregationExpression EOF + // InternalSolverLanguageParser.g:2437:66: (iv_ruleBracedAggregateExpression= ruleBracedAggregateExpression EOF ) + // InternalSolverLanguageParser.g:2438:2: iv_ruleBracedAggregateExpression= ruleBracedAggregateExpression EOF { - newCompositeNode(grammarAccess.getAggregationExpressionRule()); + newCompositeNode(grammarAccess.getBracedAggregateExpressionRule()); pushFollow(FOLLOW_1); - iv_ruleAggregationExpression=ruleAggregationExpression(); + iv_ruleBracedAggregateExpression=ruleBracedAggregateExpression(); state._fsp--; - current =iv_ruleAggregationExpression; + current =iv_ruleBracedAggregateExpression; match(input,EOF,FOLLOW_2); } @@ -5191,37 +6100,37 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } return current; } - // $ANTLR end "entryRuleAggregationExpression" + // $ANTLR end "entryRuleBracedAggregateExpression" - // $ANTLR start "ruleAggregationExpression" - // InternalSolverLanguageParser.g:2093:1: ruleAggregationExpression returns [EObject current=null] : (this_AtomicExpression_0= ruleAtomicExpression | this_QuantifiedExpression_1= ruleQuantifiedExpression | this_Aggregation_2= ruleAggregation ) ; - public final EObject ruleAggregationExpression() throws RecognitionException { + // $ANTLR start "ruleBracedAggregateExpression" + // InternalSolverLanguageParser.g:2444:1: ruleBracedAggregateExpression returns [EObject current=null] : (this_AtomicExpression_0= ruleAtomicExpression | this_Aggregation_1= ruleAggregation | this_Count_2= ruleCount ) ; + public final EObject ruleBracedAggregateExpression() throws RecognitionException { EObject current = null; EObject this_AtomicExpression_0 = null; - EObject this_QuantifiedExpression_1 = null; + EObject this_Aggregation_1 = null; - EObject this_Aggregation_2 = null; + EObject this_Count_2 = null; enterRule(); try { - // InternalSolverLanguageParser.g:2099:2: ( (this_AtomicExpression_0= ruleAtomicExpression | this_QuantifiedExpression_1= ruleQuantifiedExpression | this_Aggregation_2= ruleAggregation ) ) - // InternalSolverLanguageParser.g:2100:2: (this_AtomicExpression_0= ruleAtomicExpression | this_QuantifiedExpression_1= ruleQuantifiedExpression | this_Aggregation_2= ruleAggregation ) + // InternalSolverLanguageParser.g:2450:2: ( (this_AtomicExpression_0= ruleAtomicExpression | this_Aggregation_1= ruleAggregation | this_Count_2= ruleCount ) ) + // InternalSolverLanguageParser.g:2451:2: (this_AtomicExpression_0= ruleAtomicExpression | this_Aggregation_1= ruleAggregation | this_Count_2= ruleCount ) { - // InternalSolverLanguageParser.g:2100:2: (this_AtomicExpression_0= ruleAtomicExpression | this_QuantifiedExpression_1= ruleQuantifiedExpression | this_Aggregation_2= ruleAggregation ) - int alt23=3; - alt23 = dfa23.predict(input); - switch (alt23) { + // InternalSolverLanguageParser.g:2451:2: (this_AtomicExpression_0= ruleAtomicExpression | this_Aggregation_1= ruleAggregation | this_Count_2= ruleCount ) + int alt30=3; + alt30 = dfa30.predict(input); + switch (alt30) { case 1 : - // InternalSolverLanguageParser.g:2101:3: this_AtomicExpression_0= ruleAtomicExpression + // InternalSolverLanguageParser.g:2452:3: this_AtomicExpression_0= ruleAtomicExpression { - newCompositeNode(grammarAccess.getAggregationExpressionAccess().getAtomicExpressionParserRuleCall_0()); + newCompositeNode(grammarAccess.getBracedAggregateExpressionAccess().getAtomicExpressionParserRuleCall_0()); pushFollow(FOLLOW_2); this_AtomicExpression_0=ruleAtomicExpression(); @@ -5236,248 +6145,41 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } break; case 2 : - // InternalSolverLanguageParser.g:2110:3: this_QuantifiedExpression_1= ruleQuantifiedExpression + // InternalSolverLanguageParser.g:2461:3: this_Aggregation_1= ruleAggregation { - newCompositeNode(grammarAccess.getAggregationExpressionAccess().getQuantifiedExpressionParserRuleCall_1()); + newCompositeNode(grammarAccess.getBracedAggregateExpressionAccess().getAggregationParserRuleCall_1()); pushFollow(FOLLOW_2); - this_QuantifiedExpression_1=ruleQuantifiedExpression(); + this_Aggregation_1=ruleAggregation(); state._fsp--; - current = this_QuantifiedExpression_1; + current = this_Aggregation_1; afterParserOrEnumRuleCall(); } break; case 3 : - // InternalSolverLanguageParser.g:2119:3: this_Aggregation_2= ruleAggregation + // InternalSolverLanguageParser.g:2470:3: this_Count_2= ruleCount { - newCompositeNode(grammarAccess.getAggregationExpressionAccess().getAggregationParserRuleCall_2()); + newCompositeNode(grammarAccess.getBracedAggregateExpressionAccess().getCountParserRuleCall_2()); pushFollow(FOLLOW_2); - this_Aggregation_2=ruleAggregation(); - - state._fsp--; - - - current = this_Aggregation_2; - afterParserOrEnumRuleCall(); - - - } - break; - - } - - - } - - - leaveRule(); - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleAggregationExpression" - - - // $ANTLR start "entryRuleLocalVariables" - // InternalSolverLanguageParser.g:2131:1: entryRuleLocalVariables returns [EObject current=null] : iv_ruleLocalVariables= ruleLocalVariables EOF ; - public final EObject entryRuleLocalVariables() throws RecognitionException { - EObject current = null; - - EObject iv_ruleLocalVariables = null; - - - try { - // InternalSolverLanguageParser.g:2131:55: (iv_ruleLocalVariables= ruleLocalVariables EOF ) - // InternalSolverLanguageParser.g:2132:2: iv_ruleLocalVariables= ruleLocalVariables EOF - { - newCompositeNode(grammarAccess.getLocalVariablesRule()); - pushFollow(FOLLOW_1); - iv_ruleLocalVariables=ruleLocalVariables(); - - state._fsp--; - - current =iv_ruleLocalVariables; - match(input,EOF,FOLLOW_2); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleLocalVariables" - - - // $ANTLR start "ruleLocalVariables" - // InternalSolverLanguageParser.g:2138:1: ruleLocalVariables returns [EObject current=null] : ( () otherlv_1= LeftSquareBracket ( ( (lv_variables_2_0= ruleVariable ) ) (otherlv_3= Comma ( (lv_variables_4_0= ruleVariable ) ) )* )? otherlv_5= RightSquareBracket ) ; - public final EObject ruleLocalVariables() throws RecognitionException { - EObject current = null; - - Token otherlv_1=null; - Token otherlv_3=null; - Token otherlv_5=null; - EObject lv_variables_2_0 = null; - - EObject lv_variables_4_0 = null; - - - - enterRule(); - - try { - // InternalSolverLanguageParser.g:2144:2: ( ( () otherlv_1= LeftSquareBracket ( ( (lv_variables_2_0= ruleVariable ) ) (otherlv_3= Comma ( (lv_variables_4_0= ruleVariable ) ) )* )? otherlv_5= RightSquareBracket ) ) - // InternalSolverLanguageParser.g:2145:2: ( () otherlv_1= LeftSquareBracket ( ( (lv_variables_2_0= ruleVariable ) ) (otherlv_3= Comma ( (lv_variables_4_0= ruleVariable ) ) )* )? otherlv_5= RightSquareBracket ) - { - // InternalSolverLanguageParser.g:2145:2: ( () otherlv_1= LeftSquareBracket ( ( (lv_variables_2_0= ruleVariable ) ) (otherlv_3= Comma ( (lv_variables_4_0= ruleVariable ) ) )* )? otherlv_5= RightSquareBracket ) - // InternalSolverLanguageParser.g:2146:3: () otherlv_1= LeftSquareBracket ( ( (lv_variables_2_0= ruleVariable ) ) (otherlv_3= Comma ( (lv_variables_4_0= ruleVariable ) ) )* )? otherlv_5= RightSquareBracket - { - // InternalSolverLanguageParser.g:2146:3: () - // InternalSolverLanguageParser.g:2147:4: - { - - current = forceCreateModelElement( - grammarAccess.getLocalVariablesAccess().getLocalVariablesAction_0(), - current); - - - } - - otherlv_1=(Token)match(input,LeftSquareBracket,FOLLOW_34); - - newLeafNode(otherlv_1, grammarAccess.getLocalVariablesAccess().getLeftSquareBracketKeyword_1()); - - // InternalSolverLanguageParser.g:2157:3: ( ( (lv_variables_2_0= ruleVariable ) ) (otherlv_3= Comma ( (lv_variables_4_0= ruleVariable ) ) )* )? - int alt25=2; - int LA25_0 = input.LA(1); - - if ( (LA25_0==RULE_QUOTED_ID||LA25_0==RULE_ID) ) { - alt25=1; - } - switch (alt25) { - case 1 : - // InternalSolverLanguageParser.g:2158:4: ( (lv_variables_2_0= ruleVariable ) ) (otherlv_3= Comma ( (lv_variables_4_0= ruleVariable ) ) )* - { - // InternalSolverLanguageParser.g:2158:4: ( (lv_variables_2_0= ruleVariable ) ) - // InternalSolverLanguageParser.g:2159:5: (lv_variables_2_0= ruleVariable ) - { - // InternalSolverLanguageParser.g:2159:5: (lv_variables_2_0= ruleVariable ) - // InternalSolverLanguageParser.g:2160:6: lv_variables_2_0= ruleVariable - { - - newCompositeNode(grammarAccess.getLocalVariablesAccess().getVariablesVariableParserRuleCall_2_0_0()); - - pushFollow(FOLLOW_35); - lv_variables_2_0=ruleVariable(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getLocalVariablesRule()); - } - add( - current, - "variables", - lv_variables_2_0, - "org.eclipse.viatra.solver.language.SolverLanguage.Variable"); - afterParserOrEnumRuleCall(); - - - } - - - } - - // InternalSolverLanguageParser.g:2177:4: (otherlv_3= Comma ( (lv_variables_4_0= ruleVariable ) ) )* - loop24: - do { - int alt24=2; - int LA24_0 = input.LA(1); - - if ( (LA24_0==Comma) ) { - alt24=1; - } - - - switch (alt24) { - case 1 : - // InternalSolverLanguageParser.g:2178:5: otherlv_3= Comma ( (lv_variables_4_0= ruleVariable ) ) - { - otherlv_3=(Token)match(input,Comma,FOLLOW_8); - - newLeafNode(otherlv_3, grammarAccess.getLocalVariablesAccess().getCommaKeyword_2_1_0()); - - // InternalSolverLanguageParser.g:2182:5: ( (lv_variables_4_0= ruleVariable ) ) - // InternalSolverLanguageParser.g:2183:6: (lv_variables_4_0= ruleVariable ) - { - // InternalSolverLanguageParser.g:2183:6: (lv_variables_4_0= ruleVariable ) - // InternalSolverLanguageParser.g:2184:7: lv_variables_4_0= ruleVariable - { - - newCompositeNode(grammarAccess.getLocalVariablesAccess().getVariablesVariableParserRuleCall_2_1_1_0()); - - pushFollow(FOLLOW_35); - lv_variables_4_0=ruleVariable(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getLocalVariablesRule()); - } - add( - current, - "variables", - lv_variables_4_0, - "org.eclipse.viatra.solver.language.SolverLanguage.Variable"); - afterParserOrEnumRuleCall(); - - - } - - - } - - - } - break; - - default : - break loop24; - } - } while (true); - + this_Count_2=ruleCount(); - } - break; + state._fsp--; - } - otherlv_5=(Token)match(input,RightSquareBracket,FOLLOW_2); + current = this_Count_2; + afterParserOrEnumRuleCall(); + - newLeafNode(otherlv_5, grammarAccess.getLocalVariablesAccess().getRightSquareBracketKeyword_3()); - + } + break; } @@ -5497,28 +6199,28 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } return current; } - // $ANTLR end "ruleLocalVariables" + // $ANTLR end "ruleBracedAggregateExpression" - // $ANTLR start "entryRuleQuantifiedExpression" - // InternalSolverLanguageParser.g:2211:1: entryRuleQuantifiedExpression returns [EObject current=null] : iv_ruleQuantifiedExpression= ruleQuantifiedExpression EOF ; - public final EObject entryRuleQuantifiedExpression() throws RecognitionException { + // $ANTLR start "entryRuleAggregation" + // InternalSolverLanguageParser.g:2482:1: entryRuleAggregation returns [EObject current=null] : iv_ruleAggregation= ruleAggregation EOF ; + public final EObject entryRuleAggregation() throws RecognitionException { EObject current = null; - EObject iv_ruleQuantifiedExpression = null; + EObject iv_ruleAggregation = null; try { - // InternalSolverLanguageParser.g:2211:61: (iv_ruleQuantifiedExpression= ruleQuantifiedExpression EOF ) - // InternalSolverLanguageParser.g:2212:2: iv_ruleQuantifiedExpression= ruleQuantifiedExpression EOF + // InternalSolverLanguageParser.g:2482:52: (iv_ruleAggregation= ruleAggregation EOF ) + // InternalSolverLanguageParser.g:2483:2: iv_ruleAggregation= ruleAggregation EOF { - newCompositeNode(grammarAccess.getQuantifiedExpressionRule()); + newCompositeNode(grammarAccess.getAggregationRule()); pushFollow(FOLLOW_1); - iv_ruleQuantifiedExpression=ruleQuantifiedExpression(); + iv_ruleAggregation=ruleAggregation(); state._fsp--; - current =iv_ruleQuantifiedExpression; + current =iv_ruleAggregation; match(input,EOF,FOLLOW_2); } @@ -5533,56 +6235,52 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } return current; } - // $ANTLR end "entryRuleQuantifiedExpression" + // $ANTLR end "entryRuleAggregation" - // $ANTLR start "ruleQuantifiedExpression" - // InternalSolverLanguageParser.g:2218:1: ruleQuantifiedExpression returns [EObject current=null] : ( ( (lv_quantifier_0_0= ruleQuantifier ) ) ( (lv_localVariables_1_0= ruleLocalVariables ) )? otherlv_2= LeftCurlyBracket ( (lv_body_3_0= ruleExpression ) ) otherlv_4= RightCurlyBracket ) ; - public final EObject ruleQuantifiedExpression() throws RecognitionException { + // $ANTLR start "ruleAggregation" + // InternalSolverLanguageParser.g:2489:1: ruleAggregation returns [EObject current=null] : ( ( ( ruleQualifiedName ) ) otherlv_1= LeftCurlyBracket ( (lv_value_2_0= ruleExpression ) ) otherlv_3= VerticalLine ( (lv_condition_4_0= ruleExpression ) ) otherlv_5= RightCurlyBracket ) ; + public final EObject ruleAggregation() throws RecognitionException { EObject current = null; - Token otherlv_2=null; - Token otherlv_4=null; - Enumerator lv_quantifier_0_0 = null; - - EObject lv_localVariables_1_0 = null; + Token otherlv_1=null; + Token otherlv_3=null; + Token otherlv_5=null; + EObject lv_value_2_0 = null; - EObject lv_body_3_0 = null; + EObject lv_condition_4_0 = null; enterRule(); try { - // InternalSolverLanguageParser.g:2224:2: ( ( ( (lv_quantifier_0_0= ruleQuantifier ) ) ( (lv_localVariables_1_0= ruleLocalVariables ) )? otherlv_2= LeftCurlyBracket ( (lv_body_3_0= ruleExpression ) ) otherlv_4= RightCurlyBracket ) ) - // InternalSolverLanguageParser.g:2225:2: ( ( (lv_quantifier_0_0= ruleQuantifier ) ) ( (lv_localVariables_1_0= ruleLocalVariables ) )? otherlv_2= LeftCurlyBracket ( (lv_body_3_0= ruleExpression ) ) otherlv_4= RightCurlyBracket ) + // InternalSolverLanguageParser.g:2495:2: ( ( ( ( ruleQualifiedName ) ) otherlv_1= LeftCurlyBracket ( (lv_value_2_0= ruleExpression ) ) otherlv_3= VerticalLine ( (lv_condition_4_0= ruleExpression ) ) otherlv_5= RightCurlyBracket ) ) + // InternalSolverLanguageParser.g:2496:2: ( ( ( ruleQualifiedName ) ) otherlv_1= LeftCurlyBracket ( (lv_value_2_0= ruleExpression ) ) otherlv_3= VerticalLine ( (lv_condition_4_0= ruleExpression ) ) otherlv_5= RightCurlyBracket ) { - // InternalSolverLanguageParser.g:2225:2: ( ( (lv_quantifier_0_0= ruleQuantifier ) ) ( (lv_localVariables_1_0= ruleLocalVariables ) )? otherlv_2= LeftCurlyBracket ( (lv_body_3_0= ruleExpression ) ) otherlv_4= RightCurlyBracket ) - // InternalSolverLanguageParser.g:2226:3: ( (lv_quantifier_0_0= ruleQuantifier ) ) ( (lv_localVariables_1_0= ruleLocalVariables ) )? otherlv_2= LeftCurlyBracket ( (lv_body_3_0= ruleExpression ) ) otherlv_4= RightCurlyBracket + // InternalSolverLanguageParser.g:2496:2: ( ( ( ruleQualifiedName ) ) otherlv_1= LeftCurlyBracket ( (lv_value_2_0= ruleExpression ) ) otherlv_3= VerticalLine ( (lv_condition_4_0= ruleExpression ) ) otherlv_5= RightCurlyBracket ) + // InternalSolverLanguageParser.g:2497:3: ( ( ruleQualifiedName ) ) otherlv_1= LeftCurlyBracket ( (lv_value_2_0= ruleExpression ) ) otherlv_3= VerticalLine ( (lv_condition_4_0= ruleExpression ) ) otherlv_5= RightCurlyBracket { - // InternalSolverLanguageParser.g:2226:3: ( (lv_quantifier_0_0= ruleQuantifier ) ) - // InternalSolverLanguageParser.g:2227:4: (lv_quantifier_0_0= ruleQuantifier ) + // InternalSolverLanguageParser.g:2497:3: ( ( ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:2498:4: ( ruleQualifiedName ) { - // InternalSolverLanguageParser.g:2227:4: (lv_quantifier_0_0= ruleQuantifier ) - // InternalSolverLanguageParser.g:2228:5: lv_quantifier_0_0= ruleQuantifier + // InternalSolverLanguageParser.g:2498:4: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:2499:5: ruleQualifiedName { - newCompositeNode(grammarAccess.getQuantifiedExpressionAccess().getQuantifierQuantifierEnumRuleCall_0_0()); + if (current==null) { + current = createModelElement(grammarAccess.getAggregationRule()); + } + + + newCompositeNode(grammarAccess.getAggregationAccess().getOpSymbolCrossReference_0_0()); - pushFollow(FOLLOW_36); - lv_quantifier_0_0=ruleQuantifier(); + pushFollow(FOLLOW_20); + ruleQualifiedName(); state._fsp--; - if (current==null) { - current = createModelElementForParent(grammarAccess.getQuantifiedExpressionRule()); - } - set( - current, - "quantifier", - lv_quantifier_0_0, - "org.eclipse.viatra.solver.language.SolverLanguage.Quantifier"); afterParserOrEnumRuleCall(); @@ -5591,74 +6289,67 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } - // InternalSolverLanguageParser.g:2245:3: ( (lv_localVariables_1_0= ruleLocalVariables ) )? - int alt26=2; - int LA26_0 = input.LA(1); - - if ( (LA26_0==LeftSquareBracket) ) { - alt26=1; - } - switch (alt26) { - case 1 : - // InternalSolverLanguageParser.g:2246:4: (lv_localVariables_1_0= ruleLocalVariables ) - { - // InternalSolverLanguageParser.g:2246:4: (lv_localVariables_1_0= ruleLocalVariables ) - // InternalSolverLanguageParser.g:2247:5: lv_localVariables_1_0= ruleLocalVariables - { + otherlv_1=(Token)match(input,LeftCurlyBracket,FOLLOW_10); - newCompositeNode(grammarAccess.getQuantifiedExpressionAccess().getLocalVariablesLocalVariablesParserRuleCall_1_0()); - - pushFollow(FOLLOW_14); - lv_localVariables_1_0=ruleLocalVariables(); + newLeafNode(otherlv_1, grammarAccess.getAggregationAccess().getLeftCurlyBracketKeyword_1()); + + // InternalSolverLanguageParser.g:2517:3: ( (lv_value_2_0= ruleExpression ) ) + // InternalSolverLanguageParser.g:2518:4: (lv_value_2_0= ruleExpression ) + { + // InternalSolverLanguageParser.g:2518:4: (lv_value_2_0= ruleExpression ) + // InternalSolverLanguageParser.g:2519:5: lv_value_2_0= ruleExpression + { - state._fsp--; + newCompositeNode(grammarAccess.getAggregationAccess().getValueExpressionParserRuleCall_2_0()); + + pushFollow(FOLLOW_40); + lv_value_2_0=ruleExpression(); + state._fsp--; - if (current==null) { - current = createModelElementForParent(grammarAccess.getQuantifiedExpressionRule()); - } - set( - current, - "localVariables", - lv_localVariables_1_0, - "org.eclipse.viatra.solver.language.SolverLanguage.LocalVariables"); - afterParserOrEnumRuleCall(); - - } + if (current==null) { + current = createModelElementForParent(grammarAccess.getAggregationRule()); + } + set( + current, + "value", + lv_value_2_0, + "org.eclipse.viatra.solver.language.SolverLanguage.Expression"); + afterParserOrEnumRuleCall(); + + } - } - break; } - otherlv_2=(Token)match(input,LeftCurlyBracket,FOLLOW_6); + otherlv_3=(Token)match(input,VerticalLine,FOLLOW_10); - newLeafNode(otherlv_2, grammarAccess.getQuantifiedExpressionAccess().getLeftCurlyBracketKeyword_2()); + newLeafNode(otherlv_3, grammarAccess.getAggregationAccess().getVerticalLineKeyword_3()); - // InternalSolverLanguageParser.g:2268:3: ( (lv_body_3_0= ruleExpression ) ) - // InternalSolverLanguageParser.g:2269:4: (lv_body_3_0= ruleExpression ) + // InternalSolverLanguageParser.g:2540:3: ( (lv_condition_4_0= ruleExpression ) ) + // InternalSolverLanguageParser.g:2541:4: (lv_condition_4_0= ruleExpression ) { - // InternalSolverLanguageParser.g:2269:4: (lv_body_3_0= ruleExpression ) - // InternalSolverLanguageParser.g:2270:5: lv_body_3_0= ruleExpression + // InternalSolverLanguageParser.g:2541:4: (lv_condition_4_0= ruleExpression ) + // InternalSolverLanguageParser.g:2542:5: lv_condition_4_0= ruleExpression { - newCompositeNode(grammarAccess.getQuantifiedExpressionAccess().getBodyExpressionParserRuleCall_3_0()); + newCompositeNode(grammarAccess.getAggregationAccess().getConditionExpressionParserRuleCall_4_0()); - pushFollow(FOLLOW_16); - lv_body_3_0=ruleExpression(); + pushFollow(FOLLOW_22); + lv_condition_4_0=ruleExpression(); state._fsp--; if (current==null) { - current = createModelElementForParent(grammarAccess.getQuantifiedExpressionRule()); + current = createModelElementForParent(grammarAccess.getAggregationRule()); } set( current, - "body", - lv_body_3_0, + "condition", + lv_condition_4_0, "org.eclipse.viatra.solver.language.SolverLanguage.Expression"); afterParserOrEnumRuleCall(); @@ -5668,9 +6359,9 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } - otherlv_4=(Token)match(input,RightCurlyBracket,FOLLOW_2); + otherlv_5=(Token)match(input,RightCurlyBracket,FOLLOW_2); - newLeafNode(otherlv_4, grammarAccess.getQuantifiedExpressionAccess().getRightCurlyBracketKeyword_4()); + newLeafNode(otherlv_5, grammarAccess.getAggregationAccess().getRightCurlyBracketKeyword_5()); } @@ -5691,28 +6382,28 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } return current; } - // $ANTLR end "ruleQuantifiedExpression" + // $ANTLR end "ruleAggregation" - // $ANTLR start "entryRuleAggregation" - // InternalSolverLanguageParser.g:2295:1: entryRuleAggregation returns [EObject current=null] : iv_ruleAggregation= ruleAggregation EOF ; - public final EObject entryRuleAggregation() throws RecognitionException { + // $ANTLR start "entryRuleCount" + // InternalSolverLanguageParser.g:2567:1: entryRuleCount returns [EObject current=null] : iv_ruleCount= ruleCount EOF ; + public final EObject entryRuleCount() throws RecognitionException { EObject current = null; - EObject iv_ruleAggregation = null; + EObject iv_ruleCount = null; try { - // InternalSolverLanguageParser.g:2295:52: (iv_ruleAggregation= ruleAggregation EOF ) - // InternalSolverLanguageParser.g:2296:2: iv_ruleAggregation= ruleAggregation EOF + // InternalSolverLanguageParser.g:2567:46: (iv_ruleCount= ruleCount EOF ) + // InternalSolverLanguageParser.g:2568:2: iv_ruleCount= ruleCount EOF { - newCompositeNode(grammarAccess.getAggregationRule()); + newCompositeNode(grammarAccess.getCountRule()); pushFollow(FOLLOW_1); - iv_ruleAggregation=ruleAggregation(); + iv_ruleCount=ruleCount(); state._fsp--; - current =iv_ruleAggregation; + current =iv_ruleCount; match(input,EOF,FOLLOW_2); } @@ -5727,130 +6418,60 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } return current; } - // $ANTLR end "entryRuleAggregation" + // $ANTLR end "entryRuleCount" - // $ANTLR start "ruleAggregation" - // InternalSolverLanguageParser.g:2302:1: ruleAggregation returns [EObject current=null] : ( ( ( ruleQualifiedName ) ) ( (lv_localVariables_1_0= ruleLocalVariables ) )? otherlv_2= LeftCurlyBracket ( (lv_body_3_0= ruleExpression ) ) (otherlv_4= VerticalLine ( (lv_condition_5_0= ruleExpression ) ) )? otherlv_6= RightCurlyBracket ) ; - public final EObject ruleAggregation() throws RecognitionException { + // $ANTLR start "ruleCount" + // InternalSolverLanguageParser.g:2574:1: ruleCount returns [EObject current=null] : (otherlv_0= Count otherlv_1= LeftCurlyBracket ( (lv_condition_2_0= ruleExpression ) ) otherlv_3= RightCurlyBracket ) ; + public final EObject ruleCount() throws RecognitionException { EObject current = null; - Token otherlv_2=null; - Token otherlv_4=null; - Token otherlv_6=null; - EObject lv_localVariables_1_0 = null; - - EObject lv_body_3_0 = null; - - EObject lv_condition_5_0 = null; + Token otherlv_0=null; + Token otherlv_1=null; + Token otherlv_3=null; + EObject lv_condition_2_0 = null; enterRule(); try { - // InternalSolverLanguageParser.g:2308:2: ( ( ( ( ruleQualifiedName ) ) ( (lv_localVariables_1_0= ruleLocalVariables ) )? otherlv_2= LeftCurlyBracket ( (lv_body_3_0= ruleExpression ) ) (otherlv_4= VerticalLine ( (lv_condition_5_0= ruleExpression ) ) )? otherlv_6= RightCurlyBracket ) ) - // InternalSolverLanguageParser.g:2309:2: ( ( ( ruleQualifiedName ) ) ( (lv_localVariables_1_0= ruleLocalVariables ) )? otherlv_2= LeftCurlyBracket ( (lv_body_3_0= ruleExpression ) ) (otherlv_4= VerticalLine ( (lv_condition_5_0= ruleExpression ) ) )? otherlv_6= RightCurlyBracket ) - { - // InternalSolverLanguageParser.g:2309:2: ( ( ( ruleQualifiedName ) ) ( (lv_localVariables_1_0= ruleLocalVariables ) )? otherlv_2= LeftCurlyBracket ( (lv_body_3_0= ruleExpression ) ) (otherlv_4= VerticalLine ( (lv_condition_5_0= ruleExpression ) ) )? otherlv_6= RightCurlyBracket ) - // InternalSolverLanguageParser.g:2310:3: ( ( ruleQualifiedName ) ) ( (lv_localVariables_1_0= ruleLocalVariables ) )? otherlv_2= LeftCurlyBracket ( (lv_body_3_0= ruleExpression ) ) (otherlv_4= VerticalLine ( (lv_condition_5_0= ruleExpression ) ) )? otherlv_6= RightCurlyBracket + // InternalSolverLanguageParser.g:2580:2: ( (otherlv_0= Count otherlv_1= LeftCurlyBracket ( (lv_condition_2_0= ruleExpression ) ) otherlv_3= RightCurlyBracket ) ) + // InternalSolverLanguageParser.g:2581:2: (otherlv_0= Count otherlv_1= LeftCurlyBracket ( (lv_condition_2_0= ruleExpression ) ) otherlv_3= RightCurlyBracket ) { - // InternalSolverLanguageParser.g:2310:3: ( ( ruleQualifiedName ) ) - // InternalSolverLanguageParser.g:2311:4: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:2581:2: (otherlv_0= Count otherlv_1= LeftCurlyBracket ( (lv_condition_2_0= ruleExpression ) ) otherlv_3= RightCurlyBracket ) + // InternalSolverLanguageParser.g:2582:3: otherlv_0= Count otherlv_1= LeftCurlyBracket ( (lv_condition_2_0= ruleExpression ) ) otherlv_3= RightCurlyBracket { - // InternalSolverLanguageParser.g:2311:4: ( ruleQualifiedName ) - // InternalSolverLanguageParser.g:2312:5: ruleQualifiedName - { - - if (current==null) { - current = createModelElement(grammarAccess.getAggregationRule()); - } - - - newCompositeNode(grammarAccess.getAggregationAccess().getOpNamedElementCrossReference_0_0()); - - pushFollow(FOLLOW_36); - ruleQualifiedName(); - - state._fsp--; - - - afterParserOrEnumRuleCall(); - - - } - - - } - - // InternalSolverLanguageParser.g:2326:3: ( (lv_localVariables_1_0= ruleLocalVariables ) )? - int alt27=2; - int LA27_0 = input.LA(1); - - if ( (LA27_0==LeftSquareBracket) ) { - alt27=1; - } - switch (alt27) { - case 1 : - // InternalSolverLanguageParser.g:2327:4: (lv_localVariables_1_0= ruleLocalVariables ) - { - // InternalSolverLanguageParser.g:2327:4: (lv_localVariables_1_0= ruleLocalVariables ) - // InternalSolverLanguageParser.g:2328:5: lv_localVariables_1_0= ruleLocalVariables - { - - newCompositeNode(grammarAccess.getAggregationAccess().getLocalVariablesLocalVariablesParserRuleCall_1_0()); - - pushFollow(FOLLOW_14); - lv_localVariables_1_0=ruleLocalVariables(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getAggregationRule()); - } - set( - current, - "localVariables", - lv_localVariables_1_0, - "org.eclipse.viatra.solver.language.SolverLanguage.LocalVariables"); - afterParserOrEnumRuleCall(); - - - } - - - } - break; - - } + otherlv_0=(Token)match(input,Count,FOLLOW_20); - otherlv_2=(Token)match(input,LeftCurlyBracket,FOLLOW_6); + newLeafNode(otherlv_0, grammarAccess.getCountAccess().getCountKeyword_0()); + + otherlv_1=(Token)match(input,LeftCurlyBracket,FOLLOW_10); - newLeafNode(otherlv_2, grammarAccess.getAggregationAccess().getLeftCurlyBracketKeyword_2()); + newLeafNode(otherlv_1, grammarAccess.getCountAccess().getLeftCurlyBracketKeyword_1()); - // InternalSolverLanguageParser.g:2349:3: ( (lv_body_3_0= ruleExpression ) ) - // InternalSolverLanguageParser.g:2350:4: (lv_body_3_0= ruleExpression ) + // InternalSolverLanguageParser.g:2590:3: ( (lv_condition_2_0= ruleExpression ) ) + // InternalSolverLanguageParser.g:2591:4: (lv_condition_2_0= ruleExpression ) { - // InternalSolverLanguageParser.g:2350:4: (lv_body_3_0= ruleExpression ) - // InternalSolverLanguageParser.g:2351:5: lv_body_3_0= ruleExpression + // InternalSolverLanguageParser.g:2591:4: (lv_condition_2_0= ruleExpression ) + // InternalSolverLanguageParser.g:2592:5: lv_condition_2_0= ruleExpression { - newCompositeNode(grammarAccess.getAggregationAccess().getBodyExpressionParserRuleCall_3_0()); + newCompositeNode(grammarAccess.getCountAccess().getConditionExpressionParserRuleCall_2_0()); - pushFollow(FOLLOW_37); - lv_body_3_0=ruleExpression(); + pushFollow(FOLLOW_22); + lv_condition_2_0=ruleExpression(); state._fsp--; if (current==null) { - current = createModelElementForParent(grammarAccess.getAggregationRule()); + current = createModelElementForParent(grammarAccess.getCountRule()); } set( current, - "body", - lv_body_3_0, + "condition", + lv_condition_2_0, "org.eclipse.viatra.solver.language.SolverLanguage.Expression"); afterParserOrEnumRuleCall(); @@ -5860,61 +6481,9 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } - // InternalSolverLanguageParser.g:2368:3: (otherlv_4= VerticalLine ( (lv_condition_5_0= ruleExpression ) ) )? - int alt28=2; - int LA28_0 = input.LA(1); - - if ( (LA28_0==VerticalLine) ) { - alt28=1; - } - switch (alt28) { - case 1 : - // InternalSolverLanguageParser.g:2369:4: otherlv_4= VerticalLine ( (lv_condition_5_0= ruleExpression ) ) - { - otherlv_4=(Token)match(input,VerticalLine,FOLLOW_6); - - newLeafNode(otherlv_4, grammarAccess.getAggregationAccess().getVerticalLineKeyword_4_0()); - - // InternalSolverLanguageParser.g:2373:4: ( (lv_condition_5_0= ruleExpression ) ) - // InternalSolverLanguageParser.g:2374:5: (lv_condition_5_0= ruleExpression ) - { - // InternalSolverLanguageParser.g:2374:5: (lv_condition_5_0= ruleExpression ) - // InternalSolverLanguageParser.g:2375:6: lv_condition_5_0= ruleExpression - { - - newCompositeNode(grammarAccess.getAggregationAccess().getConditionExpressionParserRuleCall_4_1_0()); - - pushFollow(FOLLOW_16); - lv_condition_5_0=ruleExpression(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getAggregationRule()); - } - set( - current, - "condition", - lv_condition_5_0, - "org.eclipse.viatra.solver.language.SolverLanguage.Expression"); - afterParserOrEnumRuleCall(); - - - } - - - } - - - } - break; - - } - - otherlv_6=(Token)match(input,RightCurlyBracket,FOLLOW_2); + otherlv_3=(Token)match(input,RightCurlyBracket,FOLLOW_2); - newLeafNode(otherlv_6, grammarAccess.getAggregationAccess().getRightCurlyBracketKeyword_5()); + newLeafNode(otherlv_3, grammarAccess.getCountAccess().getRightCurlyBracketKeyword_3()); } @@ -5935,11 +6504,11 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } return current; } - // $ANTLR end "ruleAggregation" + // $ANTLR end "ruleCount" // $ANTLR start "entryRuleAtomicExpression" - // InternalSolverLanguageParser.g:2401:1: entryRuleAtomicExpression returns [EObject current=null] : iv_ruleAtomicExpression= ruleAtomicExpression EOF ; + // InternalSolverLanguageParser.g:2617:1: entryRuleAtomicExpression returns [EObject current=null] : iv_ruleAtomicExpression= ruleAtomicExpression EOF ; public final EObject entryRuleAtomicExpression() throws RecognitionException { EObject current = null; @@ -5947,8 +6516,8 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { try { - // InternalSolverLanguageParser.g:2401:57: (iv_ruleAtomicExpression= ruleAtomicExpression EOF ) - // InternalSolverLanguageParser.g:2402:2: iv_ruleAtomicExpression= ruleAtomicExpression EOF + // InternalSolverLanguageParser.g:2617:57: (iv_ruleAtomicExpression= ruleAtomicExpression EOF ) + // InternalSolverLanguageParser.g:2618:2: iv_ruleAtomicExpression= ruleAtomicExpression EOF { newCompositeNode(grammarAccess.getAtomicExpressionRule()); pushFollow(FOLLOW_1); @@ -5975,7 +6544,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleAtomicExpression" - // InternalSolverLanguageParser.g:2408:1: ruleAtomicExpression returns [EObject current=null] : (this_Reference_0= ruleReference | this_Call_1= ruleCall | this_Interval_2= ruleInterval | this_Literal_3= ruleLiteral | (otherlv_4= LeftParenthesis this_Expression_5= ruleExpression otherlv_6= RightParenthesis ) ) ; + // InternalSolverLanguageParser.g:2624:1: ruleAtomicExpression returns [EObject current=null] : (this_Reference_0= ruleReference | this_Call_1= ruleCall | this_Interval_2= ruleInterval | this_Literal_3= ruleLiteral | (otherlv_4= LeftParenthesis this_Expression_5= ruleExpression otherlv_6= RightParenthesis ) ) ; public final EObject ruleAtomicExpression() throws RecognitionException { EObject current = null; @@ -5996,15 +6565,15 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { enterRule(); try { - // InternalSolverLanguageParser.g:2414:2: ( (this_Reference_0= ruleReference | this_Call_1= ruleCall | this_Interval_2= ruleInterval | this_Literal_3= ruleLiteral | (otherlv_4= LeftParenthesis this_Expression_5= ruleExpression otherlv_6= RightParenthesis ) ) ) - // InternalSolverLanguageParser.g:2415:2: (this_Reference_0= ruleReference | this_Call_1= ruleCall | this_Interval_2= ruleInterval | this_Literal_3= ruleLiteral | (otherlv_4= LeftParenthesis this_Expression_5= ruleExpression otherlv_6= RightParenthesis ) ) + // InternalSolverLanguageParser.g:2630:2: ( (this_Reference_0= ruleReference | this_Call_1= ruleCall | this_Interval_2= ruleInterval | this_Literal_3= ruleLiteral | (otherlv_4= LeftParenthesis this_Expression_5= ruleExpression otherlv_6= RightParenthesis ) ) ) + // InternalSolverLanguageParser.g:2631:2: (this_Reference_0= ruleReference | this_Call_1= ruleCall | this_Interval_2= ruleInterval | this_Literal_3= ruleLiteral | (otherlv_4= LeftParenthesis this_Expression_5= ruleExpression otherlv_6= RightParenthesis ) ) { - // InternalSolverLanguageParser.g:2415:2: (this_Reference_0= ruleReference | this_Call_1= ruleCall | this_Interval_2= ruleInterval | this_Literal_3= ruleLiteral | (otherlv_4= LeftParenthesis this_Expression_5= ruleExpression otherlv_6= RightParenthesis ) ) - int alt29=5; - alt29 = dfa29.predict(input); - switch (alt29) { + // InternalSolverLanguageParser.g:2631:2: (this_Reference_0= ruleReference | this_Call_1= ruleCall | this_Interval_2= ruleInterval | this_Literal_3= ruleLiteral | (otherlv_4= LeftParenthesis this_Expression_5= ruleExpression otherlv_6= RightParenthesis ) ) + int alt31=5; + alt31 = dfa31.predict(input); + switch (alt31) { case 1 : - // InternalSolverLanguageParser.g:2416:3: this_Reference_0= ruleReference + // InternalSolverLanguageParser.g:2632:3: this_Reference_0= ruleReference { newCompositeNode(grammarAccess.getAtomicExpressionAccess().getReferenceParserRuleCall_0()); @@ -6022,7 +6591,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } break; case 2 : - // InternalSolverLanguageParser.g:2425:3: this_Call_1= ruleCall + // InternalSolverLanguageParser.g:2641:3: this_Call_1= ruleCall { newCompositeNode(grammarAccess.getAtomicExpressionAccess().getCallParserRuleCall_1()); @@ -6040,7 +6609,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } break; case 3 : - // InternalSolverLanguageParser.g:2434:3: this_Interval_2= ruleInterval + // InternalSolverLanguageParser.g:2650:3: this_Interval_2= ruleInterval { newCompositeNode(grammarAccess.getAtomicExpressionAccess().getIntervalParserRuleCall_2()); @@ -6058,7 +6627,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } break; case 4 : - // InternalSolverLanguageParser.g:2443:3: this_Literal_3= ruleLiteral + // InternalSolverLanguageParser.g:2659:3: this_Literal_3= ruleLiteral { newCompositeNode(grammarAccess.getAtomicExpressionAccess().getLiteralParserRuleCall_3()); @@ -6076,19 +6645,19 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } break; case 5 : - // InternalSolverLanguageParser.g:2452:3: (otherlv_4= LeftParenthesis this_Expression_5= ruleExpression otherlv_6= RightParenthesis ) + // InternalSolverLanguageParser.g:2668:3: (otherlv_4= LeftParenthesis this_Expression_5= ruleExpression otherlv_6= RightParenthesis ) { - // InternalSolverLanguageParser.g:2452:3: (otherlv_4= LeftParenthesis this_Expression_5= ruleExpression otherlv_6= RightParenthesis ) - // InternalSolverLanguageParser.g:2453:4: otherlv_4= LeftParenthesis this_Expression_5= ruleExpression otherlv_6= RightParenthesis + // InternalSolverLanguageParser.g:2668:3: (otherlv_4= LeftParenthesis this_Expression_5= ruleExpression otherlv_6= RightParenthesis ) + // InternalSolverLanguageParser.g:2669:4: otherlv_4= LeftParenthesis this_Expression_5= ruleExpression otherlv_6= RightParenthesis { - otherlv_4=(Token)match(input,LeftParenthesis,FOLLOW_6); + otherlv_4=(Token)match(input,LeftParenthesis,FOLLOW_10); newLeafNode(otherlv_4, grammarAccess.getAtomicExpressionAccess().getLeftParenthesisKeyword_4_0()); newCompositeNode(grammarAccess.getAtomicExpressionAccess().getExpressionParserRuleCall_4_1()); - pushFollow(FOLLOW_38); + pushFollow(FOLLOW_41); this_Expression_5=ruleExpression(); state._fsp--; @@ -6130,7 +6699,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleCall" - // InternalSolverLanguageParser.g:2474:1: entryRuleCall returns [EObject current=null] : iv_ruleCall= ruleCall EOF ; + // InternalSolverLanguageParser.g:2690:1: entryRuleCall returns [EObject current=null] : iv_ruleCall= ruleCall EOF ; public final EObject entryRuleCall() throws RecognitionException { EObject current = null; @@ -6138,8 +6707,8 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { try { - // InternalSolverLanguageParser.g:2474:45: (iv_ruleCall= ruleCall EOF ) - // InternalSolverLanguageParser.g:2475:2: iv_ruleCall= ruleCall EOF + // InternalSolverLanguageParser.g:2690:45: (iv_ruleCall= ruleCall EOF ) + // InternalSolverLanguageParser.g:2691:2: iv_ruleCall= ruleCall EOF { newCompositeNode(grammarAccess.getCallRule()); pushFollow(FOLLOW_1); @@ -6166,37 +6735,35 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleCall" - // InternalSolverLanguageParser.g:2481:1: ruleCall returns [EObject current=null] : ( ( (lv_functor_0_0= ruleReference ) ) ( ( (lv_transitiveClosure_1_0= RULE_TRANSITIVE_CLOSURE ) ) | ( (lv_reflexiveTransitiveClosure_2_0= RULE_REFLEXIVE_TRANSITIVE_CLOSURE ) ) )? ( (lv_argumentList_3_0= ruleArgumentList ) ) ) ; + // InternalSolverLanguageParser.g:2697:1: ruleCall returns [EObject current=null] : ( ( (lv_functor_0_0= ruleReference ) ) ( (lv_argumentList_1_0= ruleArgumentList ) ) ) ; public final EObject ruleCall() throws RecognitionException { EObject current = null; - Token lv_transitiveClosure_1_0=null; - Token lv_reflexiveTransitiveClosure_2_0=null; EObject lv_functor_0_0 = null; - EObject lv_argumentList_3_0 = null; + EObject lv_argumentList_1_0 = null; enterRule(); try { - // InternalSolverLanguageParser.g:2487:2: ( ( ( (lv_functor_0_0= ruleReference ) ) ( ( (lv_transitiveClosure_1_0= RULE_TRANSITIVE_CLOSURE ) ) | ( (lv_reflexiveTransitiveClosure_2_0= RULE_REFLEXIVE_TRANSITIVE_CLOSURE ) ) )? ( (lv_argumentList_3_0= ruleArgumentList ) ) ) ) - // InternalSolverLanguageParser.g:2488:2: ( ( (lv_functor_0_0= ruleReference ) ) ( ( (lv_transitiveClosure_1_0= RULE_TRANSITIVE_CLOSURE ) ) | ( (lv_reflexiveTransitiveClosure_2_0= RULE_REFLEXIVE_TRANSITIVE_CLOSURE ) ) )? ( (lv_argumentList_3_0= ruleArgumentList ) ) ) + // InternalSolverLanguageParser.g:2703:2: ( ( ( (lv_functor_0_0= ruleReference ) ) ( (lv_argumentList_1_0= ruleArgumentList ) ) ) ) + // InternalSolverLanguageParser.g:2704:2: ( ( (lv_functor_0_0= ruleReference ) ) ( (lv_argumentList_1_0= ruleArgumentList ) ) ) { - // InternalSolverLanguageParser.g:2488:2: ( ( (lv_functor_0_0= ruleReference ) ) ( ( (lv_transitiveClosure_1_0= RULE_TRANSITIVE_CLOSURE ) ) | ( (lv_reflexiveTransitiveClosure_2_0= RULE_REFLEXIVE_TRANSITIVE_CLOSURE ) ) )? ( (lv_argumentList_3_0= ruleArgumentList ) ) ) - // InternalSolverLanguageParser.g:2489:3: ( (lv_functor_0_0= ruleReference ) ) ( ( (lv_transitiveClosure_1_0= RULE_TRANSITIVE_CLOSURE ) ) | ( (lv_reflexiveTransitiveClosure_2_0= RULE_REFLEXIVE_TRANSITIVE_CLOSURE ) ) )? ( (lv_argumentList_3_0= ruleArgumentList ) ) + // InternalSolverLanguageParser.g:2704:2: ( ( (lv_functor_0_0= ruleReference ) ) ( (lv_argumentList_1_0= ruleArgumentList ) ) ) + // InternalSolverLanguageParser.g:2705:3: ( (lv_functor_0_0= ruleReference ) ) ( (lv_argumentList_1_0= ruleArgumentList ) ) { - // InternalSolverLanguageParser.g:2489:3: ( (lv_functor_0_0= ruleReference ) ) - // InternalSolverLanguageParser.g:2490:4: (lv_functor_0_0= ruleReference ) + // InternalSolverLanguageParser.g:2705:3: ( (lv_functor_0_0= ruleReference ) ) + // InternalSolverLanguageParser.g:2706:4: (lv_functor_0_0= ruleReference ) { - // InternalSolverLanguageParser.g:2490:4: (lv_functor_0_0= ruleReference ) - // InternalSolverLanguageParser.g:2491:5: lv_functor_0_0= ruleReference + // InternalSolverLanguageParser.g:2706:4: (lv_functor_0_0= ruleReference ) + // InternalSolverLanguageParser.g:2707:5: lv_functor_0_0= ruleReference { newCompositeNode(grammarAccess.getCallAccess().getFunctorReferenceParserRuleCall_0_0()); - pushFollow(FOLLOW_39); + pushFollow(FOLLOW_15); lv_functor_0_0=ruleReference(); state._fsp--; @@ -6209,104 +6776,26 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { current, "functor", lv_functor_0_0, - "org.eclipse.viatra.solver.language.SolverLanguage.Reference"); - afterParserOrEnumRuleCall(); - - - } - - - } - - // InternalSolverLanguageParser.g:2508:3: ( ( (lv_transitiveClosure_1_0= RULE_TRANSITIVE_CLOSURE ) ) | ( (lv_reflexiveTransitiveClosure_2_0= RULE_REFLEXIVE_TRANSITIVE_CLOSURE ) ) )? - int alt30=3; - int LA30_0 = input.LA(1); - - if ( (LA30_0==RULE_TRANSITIVE_CLOSURE) ) { - alt30=1; - } - else if ( (LA30_0==RULE_REFLEXIVE_TRANSITIVE_CLOSURE) ) { - alt30=2; - } - switch (alt30) { - case 1 : - // InternalSolverLanguageParser.g:2509:4: ( (lv_transitiveClosure_1_0= RULE_TRANSITIVE_CLOSURE ) ) - { - // InternalSolverLanguageParser.g:2509:4: ( (lv_transitiveClosure_1_0= RULE_TRANSITIVE_CLOSURE ) ) - // InternalSolverLanguageParser.g:2510:5: (lv_transitiveClosure_1_0= RULE_TRANSITIVE_CLOSURE ) - { - // InternalSolverLanguageParser.g:2510:5: (lv_transitiveClosure_1_0= RULE_TRANSITIVE_CLOSURE ) - // InternalSolverLanguageParser.g:2511:6: lv_transitiveClosure_1_0= RULE_TRANSITIVE_CLOSURE - { - lv_transitiveClosure_1_0=(Token)match(input,RULE_TRANSITIVE_CLOSURE,FOLLOW_11); - - newLeafNode(lv_transitiveClosure_1_0, grammarAccess.getCallAccess().getTransitiveClosureTRANSITIVE_CLOSURETerminalRuleCall_1_0_0()); - - - if (current==null) { - current = createModelElement(grammarAccess.getCallRule()); - } - setWithLastConsumed( - current, - "transitiveClosure", - true, - "org.eclipse.viatra.solver.language.SolverLanguage.TRANSITIVE_CLOSURE"); - - - } - - - } - - - } - break; - case 2 : - // InternalSolverLanguageParser.g:2528:4: ( (lv_reflexiveTransitiveClosure_2_0= RULE_REFLEXIVE_TRANSITIVE_CLOSURE ) ) - { - // InternalSolverLanguageParser.g:2528:4: ( (lv_reflexiveTransitiveClosure_2_0= RULE_REFLEXIVE_TRANSITIVE_CLOSURE ) ) - // InternalSolverLanguageParser.g:2529:5: (lv_reflexiveTransitiveClosure_2_0= RULE_REFLEXIVE_TRANSITIVE_CLOSURE ) - { - // InternalSolverLanguageParser.g:2529:5: (lv_reflexiveTransitiveClosure_2_0= RULE_REFLEXIVE_TRANSITIVE_CLOSURE ) - // InternalSolverLanguageParser.g:2530:6: lv_reflexiveTransitiveClosure_2_0= RULE_REFLEXIVE_TRANSITIVE_CLOSURE - { - lv_reflexiveTransitiveClosure_2_0=(Token)match(input,RULE_REFLEXIVE_TRANSITIVE_CLOSURE,FOLLOW_11); - - newLeafNode(lv_reflexiveTransitiveClosure_2_0, grammarAccess.getCallAccess().getReflexiveTransitiveClosureREFLEXIVE_TRANSITIVE_CLOSURETerminalRuleCall_1_1_0()); - - - if (current==null) { - current = createModelElement(grammarAccess.getCallRule()); - } - setWithLastConsumed( - current, - "reflexiveTransitiveClosure", - true, - "org.eclipse.viatra.solver.language.SolverLanguage.REFLEXIVE_TRANSITIVE_CLOSURE"); - - - } - - - } + "org.eclipse.viatra.solver.language.SolverLanguage.Reference"); + afterParserOrEnumRuleCall(); + + } - } - break; } - // InternalSolverLanguageParser.g:2547:3: ( (lv_argumentList_3_0= ruleArgumentList ) ) - // InternalSolverLanguageParser.g:2548:4: (lv_argumentList_3_0= ruleArgumentList ) + // InternalSolverLanguageParser.g:2724:3: ( (lv_argumentList_1_0= ruleArgumentList ) ) + // InternalSolverLanguageParser.g:2725:4: (lv_argumentList_1_0= ruleArgumentList ) { - // InternalSolverLanguageParser.g:2548:4: (lv_argumentList_3_0= ruleArgumentList ) - // InternalSolverLanguageParser.g:2549:5: lv_argumentList_3_0= ruleArgumentList + // InternalSolverLanguageParser.g:2725:4: (lv_argumentList_1_0= ruleArgumentList ) + // InternalSolverLanguageParser.g:2726:5: lv_argumentList_1_0= ruleArgumentList { - newCompositeNode(grammarAccess.getCallAccess().getArgumentListArgumentListParserRuleCall_2_0()); + newCompositeNode(grammarAccess.getCallAccess().getArgumentListArgumentListParserRuleCall_1_0()); pushFollow(FOLLOW_2); - lv_argumentList_3_0=ruleArgumentList(); + lv_argumentList_1_0=ruleArgumentList(); state._fsp--; @@ -6317,7 +6806,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { set( current, "argumentList", - lv_argumentList_3_0, + lv_argumentList_1_0, "org.eclipse.viatra.solver.language.SolverLanguage.ArgumentList"); afterParserOrEnumRuleCall(); @@ -6350,7 +6839,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleArgumentList" - // InternalSolverLanguageParser.g:2570:1: entryRuleArgumentList returns [EObject current=null] : iv_ruleArgumentList= ruleArgumentList EOF ; + // InternalSolverLanguageParser.g:2747:1: entryRuleArgumentList returns [EObject current=null] : iv_ruleArgumentList= ruleArgumentList EOF ; public final EObject entryRuleArgumentList() throws RecognitionException { EObject current = null; @@ -6358,8 +6847,8 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { try { - // InternalSolverLanguageParser.g:2570:53: (iv_ruleArgumentList= ruleArgumentList EOF ) - // InternalSolverLanguageParser.g:2571:2: iv_ruleArgumentList= ruleArgumentList EOF + // InternalSolverLanguageParser.g:2747:53: (iv_ruleArgumentList= ruleArgumentList EOF ) + // InternalSolverLanguageParser.g:2748:2: iv_ruleArgumentList= ruleArgumentList EOF { newCompositeNode(grammarAccess.getArgumentListRule()); pushFollow(FOLLOW_1); @@ -6386,7 +6875,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleArgumentList" - // InternalSolverLanguageParser.g:2577:1: ruleArgumentList returns [EObject current=null] : ( () otherlv_1= LeftParenthesis ( ( (lv_arguments_2_0= ruleArgument ) ) (otherlv_3= Comma ( (lv_arguments_4_0= ruleArgument ) ) )* )? otherlv_5= RightParenthesis ) ; + // InternalSolverLanguageParser.g:2754:1: ruleArgumentList returns [EObject current=null] : ( () otherlv_1= LeftParenthesis ( ( (lv_arguments_2_0= ruleArgument ) ) (otherlv_3= Comma ( (lv_arguments_4_0= ruleArgument ) ) )* )? otherlv_5= RightParenthesis ) ; public final EObject ruleArgumentList() throws RecognitionException { EObject current = null; @@ -6402,14 +6891,14 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { enterRule(); try { - // InternalSolverLanguageParser.g:2583:2: ( ( () otherlv_1= LeftParenthesis ( ( (lv_arguments_2_0= ruleArgument ) ) (otherlv_3= Comma ( (lv_arguments_4_0= ruleArgument ) ) )* )? otherlv_5= RightParenthesis ) ) - // InternalSolverLanguageParser.g:2584:2: ( () otherlv_1= LeftParenthesis ( ( (lv_arguments_2_0= ruleArgument ) ) (otherlv_3= Comma ( (lv_arguments_4_0= ruleArgument ) ) )* )? otherlv_5= RightParenthesis ) + // InternalSolverLanguageParser.g:2760:2: ( ( () otherlv_1= LeftParenthesis ( ( (lv_arguments_2_0= ruleArgument ) ) (otherlv_3= Comma ( (lv_arguments_4_0= ruleArgument ) ) )* )? otherlv_5= RightParenthesis ) ) + // InternalSolverLanguageParser.g:2761:2: ( () otherlv_1= LeftParenthesis ( ( (lv_arguments_2_0= ruleArgument ) ) (otherlv_3= Comma ( (lv_arguments_4_0= ruleArgument ) ) )* )? otherlv_5= RightParenthesis ) { - // InternalSolverLanguageParser.g:2584:2: ( () otherlv_1= LeftParenthesis ( ( (lv_arguments_2_0= ruleArgument ) ) (otherlv_3= Comma ( (lv_arguments_4_0= ruleArgument ) ) )* )? otherlv_5= RightParenthesis ) - // InternalSolverLanguageParser.g:2585:3: () otherlv_1= LeftParenthesis ( ( (lv_arguments_2_0= ruleArgument ) ) (otherlv_3= Comma ( (lv_arguments_4_0= ruleArgument ) ) )* )? otherlv_5= RightParenthesis + // InternalSolverLanguageParser.g:2761:2: ( () otherlv_1= LeftParenthesis ( ( (lv_arguments_2_0= ruleArgument ) ) (otherlv_3= Comma ( (lv_arguments_4_0= ruleArgument ) ) )* )? otherlv_5= RightParenthesis ) + // InternalSolverLanguageParser.g:2762:3: () otherlv_1= LeftParenthesis ( ( (lv_arguments_2_0= ruleArgument ) ) (otherlv_3= Comma ( (lv_arguments_4_0= ruleArgument ) ) )* )? otherlv_5= RightParenthesis { - // InternalSolverLanguageParser.g:2585:3: () - // InternalSolverLanguageParser.g:2586:4: + // InternalSolverLanguageParser.g:2762:3: () + // InternalSolverLanguageParser.g:2763:4: { current = forceCreateModelElement( @@ -6419,31 +6908,31 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } - otherlv_1=(Token)match(input,LeftParenthesis,FOLLOW_40); + otherlv_1=(Token)match(input,LeftParenthesis,FOLLOW_42); newLeafNode(otherlv_1, grammarAccess.getArgumentListAccess().getLeftParenthesisKeyword_1()); - // InternalSolverLanguageParser.g:2596:3: ( ( (lv_arguments_2_0= ruleArgument ) ) (otherlv_3= Comma ( (lv_arguments_4_0= ruleArgument ) ) )* )? - int alt32=2; - int LA32_0 = input.LA(1); + // InternalSolverLanguageParser.g:2773:3: ( ( (lv_arguments_2_0= ruleArgument ) ) (otherlv_3= Comma ( (lv_arguments_4_0= ruleArgument ) ) )* )? + int alt33=2; + int LA33_0 = input.LA(1); - if ( (LA32_0==Current||(LA32_0>=Unknown && LA32_0<=Exists)||LA32_0==Forall||(LA32_0>=Count && LA32_0<=False)||LA32_0==Must||LA32_0==True||LA32_0==Inf||LA32_0==May||(LA32_0>=ExclamationMark && LA32_0<=LeftParenthesis)||(LA32_0>=Asterisk && LA32_0<=PlusSign)||LA32_0==HyphenMinus||LA32_0==LeftSquareBracket||(LA32_0>=RULE_STRING && LA32_0<=RULE_QUOTED_ID)||(LA32_0>=RULE_ID && LA32_0<=RULE_INT)) ) { - alt32=1; + if ( (LA33_0==Unknown||LA33_0==Object||(LA33_0>=Count && LA33_0<=False)||LA33_0==True||LA33_0==Inf||(LA33_0>=ExclamationMark && LA33_0<=LeftParenthesis)||(LA33_0>=Asterisk && LA33_0<=PlusSign)||LA33_0==HyphenMinus||(LA33_0>=QuestionMark && LA33_0<=LeftSquareBracket)||(LA33_0>=Tilde && LA33_0<=RULE_QUOTED_ID)||(LA33_0>=RULE_ID && LA33_0<=RULE_INT)) ) { + alt33=1; } - switch (alt32) { + switch (alt33) { case 1 : - // InternalSolverLanguageParser.g:2597:4: ( (lv_arguments_2_0= ruleArgument ) ) (otherlv_3= Comma ( (lv_arguments_4_0= ruleArgument ) ) )* + // InternalSolverLanguageParser.g:2774:4: ( (lv_arguments_2_0= ruleArgument ) ) (otherlv_3= Comma ( (lv_arguments_4_0= ruleArgument ) ) )* { - // InternalSolverLanguageParser.g:2597:4: ( (lv_arguments_2_0= ruleArgument ) ) - // InternalSolverLanguageParser.g:2598:5: (lv_arguments_2_0= ruleArgument ) + // InternalSolverLanguageParser.g:2774:4: ( (lv_arguments_2_0= ruleArgument ) ) + // InternalSolverLanguageParser.g:2775:5: (lv_arguments_2_0= ruleArgument ) { - // InternalSolverLanguageParser.g:2598:5: (lv_arguments_2_0= ruleArgument ) - // InternalSolverLanguageParser.g:2599:6: lv_arguments_2_0= ruleArgument + // InternalSolverLanguageParser.g:2775:5: (lv_arguments_2_0= ruleArgument ) + // InternalSolverLanguageParser.g:2776:6: lv_arguments_2_0= ruleArgument { newCompositeNode(grammarAccess.getArgumentListAccess().getArgumentsArgumentParserRuleCall_2_0_0()); - pushFollow(FOLLOW_41); + pushFollow(FOLLOW_43); lv_arguments_2_0=ruleArgument(); state._fsp--; @@ -6465,35 +6954,35 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } - // InternalSolverLanguageParser.g:2616:4: (otherlv_3= Comma ( (lv_arguments_4_0= ruleArgument ) ) )* - loop31: + // InternalSolverLanguageParser.g:2793:4: (otherlv_3= Comma ( (lv_arguments_4_0= ruleArgument ) ) )* + loop32: do { - int alt31=2; - int LA31_0 = input.LA(1); + int alt32=2; + int LA32_0 = input.LA(1); - if ( (LA31_0==Comma) ) { - alt31=1; + if ( (LA32_0==Comma) ) { + alt32=1; } - switch (alt31) { + switch (alt32) { case 1 : - // InternalSolverLanguageParser.g:2617:5: otherlv_3= Comma ( (lv_arguments_4_0= ruleArgument ) ) + // InternalSolverLanguageParser.g:2794:5: otherlv_3= Comma ( (lv_arguments_4_0= ruleArgument ) ) { - otherlv_3=(Token)match(input,Comma,FOLLOW_42); + otherlv_3=(Token)match(input,Comma,FOLLOW_44); newLeafNode(otherlv_3, grammarAccess.getArgumentListAccess().getCommaKeyword_2_1_0()); - // InternalSolverLanguageParser.g:2621:5: ( (lv_arguments_4_0= ruleArgument ) ) - // InternalSolverLanguageParser.g:2622:6: (lv_arguments_4_0= ruleArgument ) + // InternalSolverLanguageParser.g:2798:5: ( (lv_arguments_4_0= ruleArgument ) ) + // InternalSolverLanguageParser.g:2799:6: (lv_arguments_4_0= ruleArgument ) { - // InternalSolverLanguageParser.g:2622:6: (lv_arguments_4_0= ruleArgument ) - // InternalSolverLanguageParser.g:2623:7: lv_arguments_4_0= ruleArgument + // InternalSolverLanguageParser.g:2799:6: (lv_arguments_4_0= ruleArgument ) + // InternalSolverLanguageParser.g:2800:7: lv_arguments_4_0= ruleArgument { newCompositeNode(grammarAccess.getArgumentListAccess().getArgumentsArgumentParserRuleCall_2_1_1_0()); - pushFollow(FOLLOW_41); + pushFollow(FOLLOW_43); lv_arguments_4_0=ruleArgument(); state._fsp--; @@ -6520,7 +7009,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { break; default : - break loop31; + break loop32; } } while (true); @@ -6557,7 +7046,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleArgument" - // InternalSolverLanguageParser.g:2650:1: entryRuleArgument returns [EObject current=null] : iv_ruleArgument= ruleArgument EOF ; + // InternalSolverLanguageParser.g:2827:1: entryRuleArgument returns [EObject current=null] : iv_ruleArgument= ruleArgument EOF ; public final EObject entryRuleArgument() throws RecognitionException { EObject current = null; @@ -6565,8 +7054,8 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { try { - // InternalSolverLanguageParser.g:2650:49: (iv_ruleArgument= ruleArgument EOF ) - // InternalSolverLanguageParser.g:2651:2: iv_ruleArgument= ruleArgument EOF + // InternalSolverLanguageParser.g:2827:49: (iv_ruleArgument= ruleArgument EOF ) + // InternalSolverLanguageParser.g:2828:2: iv_ruleArgument= ruleArgument EOF { newCompositeNode(grammarAccess.getArgumentRule()); pushFollow(FOLLOW_1); @@ -6593,7 +7082,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleArgument" - // InternalSolverLanguageParser.g:2657:1: ruleArgument returns [EObject current=null] : (this_ExpressionArgument_0= ruleExpressionArgument | this_StarArgument_1= ruleStarArgument | this_TypedArgument_2= ruleTypedArgument | this_TypedStarArgument_3= ruleTypedStarArgument ) ; + // InternalSolverLanguageParser.g:2834:1: ruleArgument returns [EObject current=null] : (this_ExpressionArgument_0= ruleExpressionArgument | this_StarArgument_1= ruleStarArgument | this_TypedVariableArgument_2= ruleTypedVariableArgument | this_TypedStarArgument_3= ruleTypedStarArgument ) ; public final EObject ruleArgument() throws RecognitionException { EObject current = null; @@ -6601,7 +7090,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { EObject this_StarArgument_1 = null; - EObject this_TypedArgument_2 = null; + EObject this_TypedVariableArgument_2 = null; EObject this_TypedStarArgument_3 = null; @@ -6610,15 +7099,15 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { enterRule(); try { - // InternalSolverLanguageParser.g:2663:2: ( (this_ExpressionArgument_0= ruleExpressionArgument | this_StarArgument_1= ruleStarArgument | this_TypedArgument_2= ruleTypedArgument | this_TypedStarArgument_3= ruleTypedStarArgument ) ) - // InternalSolverLanguageParser.g:2664:2: (this_ExpressionArgument_0= ruleExpressionArgument | this_StarArgument_1= ruleStarArgument | this_TypedArgument_2= ruleTypedArgument | this_TypedStarArgument_3= ruleTypedStarArgument ) + // InternalSolverLanguageParser.g:2840:2: ( (this_ExpressionArgument_0= ruleExpressionArgument | this_StarArgument_1= ruleStarArgument | this_TypedVariableArgument_2= ruleTypedVariableArgument | this_TypedStarArgument_3= ruleTypedStarArgument ) ) + // InternalSolverLanguageParser.g:2841:2: (this_ExpressionArgument_0= ruleExpressionArgument | this_StarArgument_1= ruleStarArgument | this_TypedVariableArgument_2= ruleTypedVariableArgument | this_TypedStarArgument_3= ruleTypedStarArgument ) { - // InternalSolverLanguageParser.g:2664:2: (this_ExpressionArgument_0= ruleExpressionArgument | this_StarArgument_1= ruleStarArgument | this_TypedArgument_2= ruleTypedArgument | this_TypedStarArgument_3= ruleTypedStarArgument ) - int alt33=4; - alt33 = dfa33.predict(input); - switch (alt33) { + // InternalSolverLanguageParser.g:2841:2: (this_ExpressionArgument_0= ruleExpressionArgument | this_StarArgument_1= ruleStarArgument | this_TypedVariableArgument_2= ruleTypedVariableArgument | this_TypedStarArgument_3= ruleTypedStarArgument ) + int alt34=4; + alt34 = dfa34.predict(input); + switch (alt34) { case 1 : - // InternalSolverLanguageParser.g:2665:3: this_ExpressionArgument_0= ruleExpressionArgument + // InternalSolverLanguageParser.g:2842:3: this_ExpressionArgument_0= ruleExpressionArgument { newCompositeNode(grammarAccess.getArgumentAccess().getExpressionArgumentParserRuleCall_0()); @@ -6636,7 +7125,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } break; case 2 : - // InternalSolverLanguageParser.g:2674:3: this_StarArgument_1= ruleStarArgument + // InternalSolverLanguageParser.g:2851:3: this_StarArgument_1= ruleStarArgument { newCompositeNode(grammarAccess.getArgumentAccess().getStarArgumentParserRuleCall_1()); @@ -6654,25 +7143,25 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } break; case 3 : - // InternalSolverLanguageParser.g:2683:3: this_TypedArgument_2= ruleTypedArgument + // InternalSolverLanguageParser.g:2860:3: this_TypedVariableArgument_2= ruleTypedVariableArgument { - newCompositeNode(grammarAccess.getArgumentAccess().getTypedArgumentParserRuleCall_2()); + newCompositeNode(grammarAccess.getArgumentAccess().getTypedVariableArgumentParserRuleCall_2()); pushFollow(FOLLOW_2); - this_TypedArgument_2=ruleTypedArgument(); + this_TypedVariableArgument_2=ruleTypedVariableArgument(); state._fsp--; - current = this_TypedArgument_2; + current = this_TypedVariableArgument_2; afterParserOrEnumRuleCall(); } break; case 4 : - // InternalSolverLanguageParser.g:2692:3: this_TypedStarArgument_3= ruleTypedStarArgument + // InternalSolverLanguageParser.g:2869:3: this_TypedStarArgument_3= ruleTypedStarArgument { newCompositeNode(grammarAccess.getArgumentAccess().getTypedStarArgumentParserRuleCall_3()); @@ -6712,7 +7201,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleExpressionArgument" - // InternalSolverLanguageParser.g:2704:1: entryRuleExpressionArgument returns [EObject current=null] : iv_ruleExpressionArgument= ruleExpressionArgument EOF ; + // InternalSolverLanguageParser.g:2881:1: entryRuleExpressionArgument returns [EObject current=null] : iv_ruleExpressionArgument= ruleExpressionArgument EOF ; public final EObject entryRuleExpressionArgument() throws RecognitionException { EObject current = null; @@ -6720,8 +7209,8 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { try { - // InternalSolverLanguageParser.g:2704:59: (iv_ruleExpressionArgument= ruleExpressionArgument EOF ) - // InternalSolverLanguageParser.g:2705:2: iv_ruleExpressionArgument= ruleExpressionArgument EOF + // InternalSolverLanguageParser.g:2881:59: (iv_ruleExpressionArgument= ruleExpressionArgument EOF ) + // InternalSolverLanguageParser.g:2882:2: iv_ruleExpressionArgument= ruleExpressionArgument EOF { newCompositeNode(grammarAccess.getExpressionArgumentRule()); pushFollow(FOLLOW_1); @@ -6748,31 +7237,31 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleExpressionArgument" - // InternalSolverLanguageParser.g:2711:1: ruleExpressionArgument returns [EObject current=null] : ( (lv_body_0_0= ruleComparisonExpression ) ) ; + // InternalSolverLanguageParser.g:2888:1: ruleExpressionArgument returns [EObject current=null] : ( (lv_expression_0_0= ruleComparisonExpression ) ) ; public final EObject ruleExpressionArgument() throws RecognitionException { EObject current = null; - EObject lv_body_0_0 = null; + EObject lv_expression_0_0 = null; enterRule(); try { - // InternalSolverLanguageParser.g:2717:2: ( ( (lv_body_0_0= ruleComparisonExpression ) ) ) - // InternalSolverLanguageParser.g:2718:2: ( (lv_body_0_0= ruleComparisonExpression ) ) + // InternalSolverLanguageParser.g:2894:2: ( ( (lv_expression_0_0= ruleComparisonExpression ) ) ) + // InternalSolverLanguageParser.g:2895:2: ( (lv_expression_0_0= ruleComparisonExpression ) ) { - // InternalSolverLanguageParser.g:2718:2: ( (lv_body_0_0= ruleComparisonExpression ) ) - // InternalSolverLanguageParser.g:2719:3: (lv_body_0_0= ruleComparisonExpression ) + // InternalSolverLanguageParser.g:2895:2: ( (lv_expression_0_0= ruleComparisonExpression ) ) + // InternalSolverLanguageParser.g:2896:3: (lv_expression_0_0= ruleComparisonExpression ) { - // InternalSolverLanguageParser.g:2719:3: (lv_body_0_0= ruleComparisonExpression ) - // InternalSolverLanguageParser.g:2720:4: lv_body_0_0= ruleComparisonExpression + // InternalSolverLanguageParser.g:2896:3: (lv_expression_0_0= ruleComparisonExpression ) + // InternalSolverLanguageParser.g:2897:4: lv_expression_0_0= ruleComparisonExpression { - newCompositeNode(grammarAccess.getExpressionArgumentAccess().getBodyComparisonExpressionParserRuleCall_0()); + newCompositeNode(grammarAccess.getExpressionArgumentAccess().getExpressionComparisonExpressionParserRuleCall_0()); pushFollow(FOLLOW_2); - lv_body_0_0=ruleComparisonExpression(); + lv_expression_0_0=ruleComparisonExpression(); state._fsp--; @@ -6782,8 +7271,8 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } set( current, - "body", - lv_body_0_0, + "expression", + lv_expression_0_0, "org.eclipse.viatra.solver.language.SolverLanguage.ComparisonExpression"); afterParserOrEnumRuleCall(); @@ -6813,7 +7302,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleStarArgument" - // InternalSolverLanguageParser.g:2740:1: entryRuleStarArgument returns [EObject current=null] : iv_ruleStarArgument= ruleStarArgument EOF ; + // InternalSolverLanguageParser.g:2917:1: entryRuleStarArgument returns [EObject current=null] : iv_ruleStarArgument= ruleStarArgument EOF ; public final EObject entryRuleStarArgument() throws RecognitionException { EObject current = null; @@ -6821,8 +7310,8 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { try { - // InternalSolverLanguageParser.g:2740:53: (iv_ruleStarArgument= ruleStarArgument EOF ) - // InternalSolverLanguageParser.g:2741:2: iv_ruleStarArgument= ruleStarArgument EOF + // InternalSolverLanguageParser.g:2917:53: (iv_ruleStarArgument= ruleStarArgument EOF ) + // InternalSolverLanguageParser.g:2918:2: iv_ruleStarArgument= ruleStarArgument EOF { newCompositeNode(grammarAccess.getStarArgumentRule()); pushFollow(FOLLOW_1); @@ -6849,7 +7338,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleStarArgument" - // InternalSolverLanguageParser.g:2747:1: ruleStarArgument returns [EObject current=null] : ( () otherlv_1= Asterisk ) ; + // InternalSolverLanguageParser.g:2924:1: ruleStarArgument returns [EObject current=null] : ( () otherlv_1= Asterisk ) ; public final EObject ruleStarArgument() throws RecognitionException { EObject current = null; @@ -6859,14 +7348,14 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { enterRule(); try { - // InternalSolverLanguageParser.g:2753:2: ( ( () otherlv_1= Asterisk ) ) - // InternalSolverLanguageParser.g:2754:2: ( () otherlv_1= Asterisk ) + // InternalSolverLanguageParser.g:2930:2: ( ( () otherlv_1= Asterisk ) ) + // InternalSolverLanguageParser.g:2931:2: ( () otherlv_1= Asterisk ) { - // InternalSolverLanguageParser.g:2754:2: ( () otherlv_1= Asterisk ) - // InternalSolverLanguageParser.g:2755:3: () otherlv_1= Asterisk + // InternalSolverLanguageParser.g:2931:2: ( () otherlv_1= Asterisk ) + // InternalSolverLanguageParser.g:2932:3: () otherlv_1= Asterisk { - // InternalSolverLanguageParser.g:2755:3: () - // InternalSolverLanguageParser.g:2756:4: + // InternalSolverLanguageParser.g:2932:3: () + // InternalSolverLanguageParser.g:2933:4: { current = forceCreateModelElement( @@ -6902,25 +7391,25 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR end "ruleStarArgument" - // $ANTLR start "entryRuleTypedArgument" - // InternalSolverLanguageParser.g:2770:1: entryRuleTypedArgument returns [EObject current=null] : iv_ruleTypedArgument= ruleTypedArgument EOF ; - public final EObject entryRuleTypedArgument() throws RecognitionException { + // $ANTLR start "entryRuleTypedVariableArgument" + // InternalSolverLanguageParser.g:2947:1: entryRuleTypedVariableArgument returns [EObject current=null] : iv_ruleTypedVariableArgument= ruleTypedVariableArgument EOF ; + public final EObject entryRuleTypedVariableArgument() throws RecognitionException { EObject current = null; - EObject iv_ruleTypedArgument = null; + EObject iv_ruleTypedVariableArgument = null; try { - // InternalSolverLanguageParser.g:2770:54: (iv_ruleTypedArgument= ruleTypedArgument EOF ) - // InternalSolverLanguageParser.g:2771:2: iv_ruleTypedArgument= ruleTypedArgument EOF + // InternalSolverLanguageParser.g:2947:62: (iv_ruleTypedVariableArgument= ruleTypedVariableArgument EOF ) + // InternalSolverLanguageParser.g:2948:2: iv_ruleTypedVariableArgument= ruleTypedVariableArgument EOF { - newCompositeNode(grammarAccess.getTypedArgumentRule()); + newCompositeNode(grammarAccess.getTypedVariableArgumentRule()); pushFollow(FOLLOW_1); - iv_ruleTypedArgument=ruleTypedArgument(); + iv_ruleTypedVariableArgument=ruleTypedVariableArgument(); state._fsp--; - current =iv_ruleTypedArgument; + current =iv_ruleTypedVariableArgument; match(input,EOF,FOLLOW_2); } @@ -6935,44 +7424,51 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } return current; } - // $ANTLR end "entryRuleTypedArgument" + // $ANTLR end "entryRuleTypedVariableArgument" - // $ANTLR start "ruleTypedArgument" - // InternalSolverLanguageParser.g:2777:1: ruleTypedArgument returns [EObject current=null] : ( ( ( ruleQualifiedName ) ) ( ( ruleQualifiedName ) ) ) ; - public final EObject ruleTypedArgument() throws RecognitionException { + // $ANTLR start "ruleTypedVariableArgument" + // InternalSolverLanguageParser.g:2954:1: ruleTypedVariableArgument returns [EObject current=null] : ( ( (lv_typeReference_0_0= ruleTypeReference ) ) ( (lv_name_1_0= RULE_ID ) ) ) ; + public final EObject ruleTypedVariableArgument() throws RecognitionException { EObject current = null; + Token lv_name_1_0=null; + EObject lv_typeReference_0_0 = null; + + enterRule(); try { - // InternalSolverLanguageParser.g:2783:2: ( ( ( ( ruleQualifiedName ) ) ( ( ruleQualifiedName ) ) ) ) - // InternalSolverLanguageParser.g:2784:2: ( ( ( ruleQualifiedName ) ) ( ( ruleQualifiedName ) ) ) + // InternalSolverLanguageParser.g:2960:2: ( ( ( (lv_typeReference_0_0= ruleTypeReference ) ) ( (lv_name_1_0= RULE_ID ) ) ) ) + // InternalSolverLanguageParser.g:2961:2: ( ( (lv_typeReference_0_0= ruleTypeReference ) ) ( (lv_name_1_0= RULE_ID ) ) ) { - // InternalSolverLanguageParser.g:2784:2: ( ( ( ruleQualifiedName ) ) ( ( ruleQualifiedName ) ) ) - // InternalSolverLanguageParser.g:2785:3: ( ( ruleQualifiedName ) ) ( ( ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:2961:2: ( ( (lv_typeReference_0_0= ruleTypeReference ) ) ( (lv_name_1_0= RULE_ID ) ) ) + // InternalSolverLanguageParser.g:2962:3: ( (lv_typeReference_0_0= ruleTypeReference ) ) ( (lv_name_1_0= RULE_ID ) ) { - // InternalSolverLanguageParser.g:2785:3: ( ( ruleQualifiedName ) ) - // InternalSolverLanguageParser.g:2786:4: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:2962:3: ( (lv_typeReference_0_0= ruleTypeReference ) ) + // InternalSolverLanguageParser.g:2963:4: (lv_typeReference_0_0= ruleTypeReference ) { - // InternalSolverLanguageParser.g:2786:4: ( ruleQualifiedName ) - // InternalSolverLanguageParser.g:2787:5: ruleQualifiedName + // InternalSolverLanguageParser.g:2963:4: (lv_typeReference_0_0= ruleTypeReference ) + // InternalSolverLanguageParser.g:2964:5: lv_typeReference_0_0= ruleTypeReference { - if (current==null) { - current = createModelElement(grammarAccess.getTypedArgumentRule()); - } - - - newCompositeNode(grammarAccess.getTypedArgumentAccess().getTypeNamedElementCrossReference_0_0()); + newCompositeNode(grammarAccess.getTypedVariableArgumentAccess().getTypeReferenceTypeReferenceParserRuleCall_0_0()); - pushFollow(FOLLOW_8); - ruleQualifiedName(); + pushFollow(FOLLOW_28); + lv_typeReference_0_0=ruleTypeReference(); state._fsp--; + if (current==null) { + current = createModelElementForParent(grammarAccess.getTypedVariableArgumentRule()); + } + set( + current, + "typeReference", + lv_typeReference_0_0, + "org.eclipse.viatra.solver.language.SolverLanguage.TypeReference"); afterParserOrEnumRuleCall(); @@ -6981,27 +7477,25 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } - // InternalSolverLanguageParser.g:2801:3: ( ( ruleQualifiedName ) ) - // InternalSolverLanguageParser.g:2802:4: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:2981:3: ( (lv_name_1_0= RULE_ID ) ) + // InternalSolverLanguageParser.g:2982:4: (lv_name_1_0= RULE_ID ) { - // InternalSolverLanguageParser.g:2802:4: ( ruleQualifiedName ) - // InternalSolverLanguageParser.g:2803:5: ruleQualifiedName + // InternalSolverLanguageParser.g:2982:4: (lv_name_1_0= RULE_ID ) + // InternalSolverLanguageParser.g:2983:5: lv_name_1_0= RULE_ID { + lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_2); - if (current==null) { - current = createModelElement(grammarAccess.getTypedArgumentRule()); - } - - - newCompositeNode(grammarAccess.getTypedArgumentAccess().getVariableNamedElementCrossReference_1_0()); + newLeafNode(lv_name_1_0, grammarAccess.getTypedVariableArgumentAccess().getNameIDTerminalRuleCall_1_0()); - pushFollow(FOLLOW_2); - ruleQualifiedName(); - - state._fsp--; - - afterParserOrEnumRuleCall(); + if (current==null) { + current = createModelElement(grammarAccess.getTypedVariableArgumentRule()); + } + setWithLastConsumed( + current, + "name", + lv_name_1_0, + "org.eclipse.xtext.common.Terminals.ID"); } @@ -7028,11 +7522,11 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } return current; } - // $ANTLR end "ruleTypedArgument" + // $ANTLR end "ruleTypedVariableArgument" // $ANTLR start "entryRuleTypedStarArgument" - // InternalSolverLanguageParser.g:2821:1: entryRuleTypedStarArgument returns [EObject current=null] : iv_ruleTypedStarArgument= ruleTypedStarArgument EOF ; + // InternalSolverLanguageParser.g:3003:1: entryRuleTypedStarArgument returns [EObject current=null] : iv_ruleTypedStarArgument= ruleTypedStarArgument EOF ; public final EObject entryRuleTypedStarArgument() throws RecognitionException { EObject current = null; @@ -7040,8 +7534,8 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { try { - // InternalSolverLanguageParser.g:2821:58: (iv_ruleTypedStarArgument= ruleTypedStarArgument EOF ) - // InternalSolverLanguageParser.g:2822:2: iv_ruleTypedStarArgument= ruleTypedStarArgument EOF + // InternalSolverLanguageParser.g:3003:58: (iv_ruleTypedStarArgument= ruleTypedStarArgument EOF ) + // InternalSolverLanguageParser.g:3004:2: iv_ruleTypedStarArgument= ruleTypedStarArgument EOF { newCompositeNode(grammarAccess.getTypedStarArgumentRule()); pushFollow(FOLLOW_1); @@ -7068,42 +7562,47 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleTypedStarArgument" - // InternalSolverLanguageParser.g:2828:1: ruleTypedStarArgument returns [EObject current=null] : ( ( ( ruleQualifiedName ) ) otherlv_1= Asterisk ) ; + // InternalSolverLanguageParser.g:3010:1: ruleTypedStarArgument returns [EObject current=null] : ( ( (lv_typeReference_0_0= ruleTypeReference ) ) otherlv_1= Asterisk ) ; public final EObject ruleTypedStarArgument() throws RecognitionException { EObject current = null; Token otherlv_1=null; + EObject lv_typeReference_0_0 = null; + enterRule(); try { - // InternalSolverLanguageParser.g:2834:2: ( ( ( ( ruleQualifiedName ) ) otherlv_1= Asterisk ) ) - // InternalSolverLanguageParser.g:2835:2: ( ( ( ruleQualifiedName ) ) otherlv_1= Asterisk ) + // InternalSolverLanguageParser.g:3016:2: ( ( ( (lv_typeReference_0_0= ruleTypeReference ) ) otherlv_1= Asterisk ) ) + // InternalSolverLanguageParser.g:3017:2: ( ( (lv_typeReference_0_0= ruleTypeReference ) ) otherlv_1= Asterisk ) { - // InternalSolverLanguageParser.g:2835:2: ( ( ( ruleQualifiedName ) ) otherlv_1= Asterisk ) - // InternalSolverLanguageParser.g:2836:3: ( ( ruleQualifiedName ) ) otherlv_1= Asterisk + // InternalSolverLanguageParser.g:3017:2: ( ( (lv_typeReference_0_0= ruleTypeReference ) ) otherlv_1= Asterisk ) + // InternalSolverLanguageParser.g:3018:3: ( (lv_typeReference_0_0= ruleTypeReference ) ) otherlv_1= Asterisk { - // InternalSolverLanguageParser.g:2836:3: ( ( ruleQualifiedName ) ) - // InternalSolverLanguageParser.g:2837:4: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:3018:3: ( (lv_typeReference_0_0= ruleTypeReference ) ) + // InternalSolverLanguageParser.g:3019:4: (lv_typeReference_0_0= ruleTypeReference ) { - // InternalSolverLanguageParser.g:2837:4: ( ruleQualifiedName ) - // InternalSolverLanguageParser.g:2838:5: ruleQualifiedName + // InternalSolverLanguageParser.g:3019:4: (lv_typeReference_0_0= ruleTypeReference ) + // InternalSolverLanguageParser.g:3020:5: lv_typeReference_0_0= ruleTypeReference { - if (current==null) { - current = createModelElement(grammarAccess.getTypedStarArgumentRule()); - } - - - newCompositeNode(grammarAccess.getTypedStarArgumentAccess().getTypeNamedElementCrossReference_0_0()); + newCompositeNode(grammarAccess.getTypedStarArgumentAccess().getTypeReferenceTypeReferenceParserRuleCall_0_0()); - pushFollow(FOLLOW_43); - ruleQualifiedName(); + pushFollow(FOLLOW_45); + lv_typeReference_0_0=ruleTypeReference(); state._fsp--; + if (current==null) { + current = createModelElementForParent(grammarAccess.getTypedStarArgumentRule()); + } + set( + current, + "typeReference", + lv_typeReference_0_0, + "org.eclipse.viatra.solver.language.SolverLanguage.TypeReference"); afterParserOrEnumRuleCall(); @@ -7139,7 +7638,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleReference" - // InternalSolverLanguageParser.g:2860:1: entryRuleReference returns [EObject current=null] : iv_ruleReference= ruleReference EOF ; + // InternalSolverLanguageParser.g:3045:1: entryRuleReference returns [EObject current=null] : iv_ruleReference= ruleReference EOF ; public final EObject entryRuleReference() throws RecognitionException { EObject current = null; @@ -7147,8 +7646,8 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { try { - // InternalSolverLanguageParser.g:2860:50: (iv_ruleReference= ruleReference EOF ) - // InternalSolverLanguageParser.g:2861:2: iv_ruleReference= ruleReference EOF + // InternalSolverLanguageParser.g:3045:50: (iv_ruleReference= ruleReference EOF ) + // InternalSolverLanguageParser.g:3046:2: iv_ruleReference= ruleReference EOF { newCompositeNode(grammarAccess.getReferenceRule()); pushFollow(FOLLOW_1); @@ -7175,39 +7674,329 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleReference" - // InternalSolverLanguageParser.g:2867:1: ruleReference returns [EObject current=null] : ( ( ruleQualifiedName ) ) ; + // InternalSolverLanguageParser.g:3052:1: ruleReference returns [EObject current=null] : ( ( (lv_components_0_0= rulePathComponent ) ) (otherlv_1= FullStop ( (lv_components_2_0= rulePathComponent ) ) )* ) ; public final EObject ruleReference() throws RecognitionException { EObject current = null; + Token otherlv_1=null; + EObject lv_components_0_0 = null; + + EObject lv_components_2_0 = null; + + + + enterRule(); + + try { + // InternalSolverLanguageParser.g:3058:2: ( ( ( (lv_components_0_0= rulePathComponent ) ) (otherlv_1= FullStop ( (lv_components_2_0= rulePathComponent ) ) )* ) ) + // InternalSolverLanguageParser.g:3059:2: ( ( (lv_components_0_0= rulePathComponent ) ) (otherlv_1= FullStop ( (lv_components_2_0= rulePathComponent ) ) )* ) + { + // InternalSolverLanguageParser.g:3059:2: ( ( (lv_components_0_0= rulePathComponent ) ) (otherlv_1= FullStop ( (lv_components_2_0= rulePathComponent ) ) )* ) + // InternalSolverLanguageParser.g:3060:3: ( (lv_components_0_0= rulePathComponent ) ) (otherlv_1= FullStop ( (lv_components_2_0= rulePathComponent ) ) )* + { + // InternalSolverLanguageParser.g:3060:3: ( (lv_components_0_0= rulePathComponent ) ) + // InternalSolverLanguageParser.g:3061:4: (lv_components_0_0= rulePathComponent ) + { + // InternalSolverLanguageParser.g:3061:4: (lv_components_0_0= rulePathComponent ) + // InternalSolverLanguageParser.g:3062:5: lv_components_0_0= rulePathComponent + { + + newCompositeNode(grammarAccess.getReferenceAccess().getComponentsPathComponentParserRuleCall_0_0()); + + pushFollow(FOLLOW_46); + lv_components_0_0=rulePathComponent(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getReferenceRule()); + } + add( + current, + "components", + lv_components_0_0, + "org.eclipse.viatra.solver.language.SolverLanguage.PathComponent"); + afterParserOrEnumRuleCall(); + + + } + + + } + + // InternalSolverLanguageParser.g:3079:3: (otherlv_1= FullStop ( (lv_components_2_0= rulePathComponent ) ) )* + loop35: + do { + int alt35=2; + int LA35_0 = input.LA(1); + + if ( (LA35_0==FullStop) ) { + alt35=1; + } + + + switch (alt35) { + case 1 : + // InternalSolverLanguageParser.g:3080:4: otherlv_1= FullStop ( (lv_components_2_0= rulePathComponent ) ) + { + otherlv_1=(Token)match(input,FullStop,FOLLOW_12); + + newLeafNode(otherlv_1, grammarAccess.getReferenceAccess().getFullStopKeyword_1_0()); + + // InternalSolverLanguageParser.g:3084:4: ( (lv_components_2_0= rulePathComponent ) ) + // InternalSolverLanguageParser.g:3085:5: (lv_components_2_0= rulePathComponent ) + { + // InternalSolverLanguageParser.g:3085:5: (lv_components_2_0= rulePathComponent ) + // InternalSolverLanguageParser.g:3086:6: lv_components_2_0= rulePathComponent + { + + newCompositeNode(grammarAccess.getReferenceAccess().getComponentsPathComponentParserRuleCall_1_1_0()); + + pushFollow(FOLLOW_46); + lv_components_2_0=rulePathComponent(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getReferenceRule()); + } + add( + current, + "components", + lv_components_2_0, + "org.eclipse.viatra.solver.language.SolverLanguage.PathComponent"); + afterParserOrEnumRuleCall(); + + + } + + + } + + + } + break; + + default : + break loop35; + } + } while (true); + + + } + + + } + + + leaveRule(); + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleReference" + + + // $ANTLR start "entryRulePathComponent" + // InternalSolverLanguageParser.g:3108:1: entryRulePathComponent returns [EObject current=null] : iv_rulePathComponent= rulePathComponent EOF ; + public final EObject entryRulePathComponent() throws RecognitionException { + EObject current = null; + + EObject iv_rulePathComponent = null; + + + try { + // InternalSolverLanguageParser.g:3108:54: (iv_rulePathComponent= rulePathComponent EOF ) + // InternalSolverLanguageParser.g:3109:2: iv_rulePathComponent= rulePathComponent EOF + { + newCompositeNode(grammarAccess.getPathComponentRule()); + pushFollow(FOLLOW_1); + iv_rulePathComponent=rulePathComponent(); + + state._fsp--; + + current =iv_rulePathComponent; + match(input,EOF,FOLLOW_2); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRulePathComponent" + + + // $ANTLR start "rulePathComponent" + // InternalSolverLanguageParser.g:3115:1: rulePathComponent returns [EObject current=null] : ( ( (lv_inverse_0_0= Tilde ) )? ( ( ruleQualifiedName ) ) ( ( (lv_transitiveClosure_2_0= RULE_TRANSITIVE_CLOSURE ) ) | ( (lv_reflexiveTransitiveClosure_3_0= RULE_REFLEXIVE_TRANSITIVE_CLOSURE ) ) )? ) ; + public final EObject rulePathComponent() throws RecognitionException { + EObject current = null; + + Token lv_inverse_0_0=null; + Token lv_transitiveClosure_2_0=null; + Token lv_reflexiveTransitiveClosure_3_0=null; + enterRule(); try { - // InternalSolverLanguageParser.g:2873:2: ( ( ( ruleQualifiedName ) ) ) - // InternalSolverLanguageParser.g:2874:2: ( ( ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:3121:2: ( ( ( (lv_inverse_0_0= Tilde ) )? ( ( ruleQualifiedName ) ) ( ( (lv_transitiveClosure_2_0= RULE_TRANSITIVE_CLOSURE ) ) | ( (lv_reflexiveTransitiveClosure_3_0= RULE_REFLEXIVE_TRANSITIVE_CLOSURE ) ) )? ) ) + // InternalSolverLanguageParser.g:3122:2: ( ( (lv_inverse_0_0= Tilde ) )? ( ( ruleQualifiedName ) ) ( ( (lv_transitiveClosure_2_0= RULE_TRANSITIVE_CLOSURE ) ) | ( (lv_reflexiveTransitiveClosure_3_0= RULE_REFLEXIVE_TRANSITIVE_CLOSURE ) ) )? ) + { + // InternalSolverLanguageParser.g:3122:2: ( ( (lv_inverse_0_0= Tilde ) )? ( ( ruleQualifiedName ) ) ( ( (lv_transitiveClosure_2_0= RULE_TRANSITIVE_CLOSURE ) ) | ( (lv_reflexiveTransitiveClosure_3_0= RULE_REFLEXIVE_TRANSITIVE_CLOSURE ) ) )? ) + // InternalSolverLanguageParser.g:3123:3: ( (lv_inverse_0_0= Tilde ) )? ( ( ruleQualifiedName ) ) ( ( (lv_transitiveClosure_2_0= RULE_TRANSITIVE_CLOSURE ) ) | ( (lv_reflexiveTransitiveClosure_3_0= RULE_REFLEXIVE_TRANSITIVE_CLOSURE ) ) )? { - // InternalSolverLanguageParser.g:2874:2: ( ( ruleQualifiedName ) ) - // InternalSolverLanguageParser.g:2875:3: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:3123:3: ( (lv_inverse_0_0= Tilde ) )? + int alt36=2; + int LA36_0 = input.LA(1); + + if ( (LA36_0==Tilde) ) { + alt36=1; + } + switch (alt36) { + case 1 : + // InternalSolverLanguageParser.g:3124:4: (lv_inverse_0_0= Tilde ) + { + // InternalSolverLanguageParser.g:3124:4: (lv_inverse_0_0= Tilde ) + // InternalSolverLanguageParser.g:3125:5: lv_inverse_0_0= Tilde + { + lv_inverse_0_0=(Token)match(input,Tilde,FOLLOW_3); + + newLeafNode(lv_inverse_0_0, grammarAccess.getPathComponentAccess().getInverseTildeKeyword_0_0()); + + + if (current==null) { + current = createModelElement(grammarAccess.getPathComponentRule()); + } + setWithLastConsumed(current, "inverse", true, "~"); + + + } + + + } + break; + + } + + // InternalSolverLanguageParser.g:3137:3: ( ( ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:3138:4: ( ruleQualifiedName ) { - // InternalSolverLanguageParser.g:2875:3: ( ruleQualifiedName ) - // InternalSolverLanguageParser.g:2876:4: ruleQualifiedName + // InternalSolverLanguageParser.g:3138:4: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:3139:5: ruleQualifiedName { - if (current==null) { - current = createModelElement(grammarAccess.getReferenceRule()); - } - + if (current==null) { + current = createModelElement(grammarAccess.getPathComponentRule()); + } + + + newCompositeNode(grammarAccess.getPathComponentAccess().getSymbolSymbolCrossReference_1_0()); + + pushFollow(FOLLOW_47); + ruleQualifiedName(); + + state._fsp--; + + + afterParserOrEnumRuleCall(); + + + } + + + } + + // InternalSolverLanguageParser.g:3153:3: ( ( (lv_transitiveClosure_2_0= RULE_TRANSITIVE_CLOSURE ) ) | ( (lv_reflexiveTransitiveClosure_3_0= RULE_REFLEXIVE_TRANSITIVE_CLOSURE ) ) )? + int alt37=3; + int LA37_0 = input.LA(1); + + if ( (LA37_0==RULE_TRANSITIVE_CLOSURE) ) { + alt37=1; + } + else if ( (LA37_0==RULE_REFLEXIVE_TRANSITIVE_CLOSURE) ) { + alt37=2; + } + switch (alt37) { + case 1 : + // InternalSolverLanguageParser.g:3154:4: ( (lv_transitiveClosure_2_0= RULE_TRANSITIVE_CLOSURE ) ) + { + // InternalSolverLanguageParser.g:3154:4: ( (lv_transitiveClosure_2_0= RULE_TRANSITIVE_CLOSURE ) ) + // InternalSolverLanguageParser.g:3155:5: (lv_transitiveClosure_2_0= RULE_TRANSITIVE_CLOSURE ) + { + // InternalSolverLanguageParser.g:3155:5: (lv_transitiveClosure_2_0= RULE_TRANSITIVE_CLOSURE ) + // InternalSolverLanguageParser.g:3156:6: lv_transitiveClosure_2_0= RULE_TRANSITIVE_CLOSURE + { + lv_transitiveClosure_2_0=(Token)match(input,RULE_TRANSITIVE_CLOSURE,FOLLOW_2); + + newLeafNode(lv_transitiveClosure_2_0, grammarAccess.getPathComponentAccess().getTransitiveClosureTRANSITIVE_CLOSURETerminalRuleCall_2_0_0()); + + + if (current==null) { + current = createModelElement(grammarAccess.getPathComponentRule()); + } + setWithLastConsumed( + current, + "transitiveClosure", + true, + "org.eclipse.viatra.solver.language.SolverLanguage.TRANSITIVE_CLOSURE"); + + + } + + + } + + + } + break; + case 2 : + // InternalSolverLanguageParser.g:3173:4: ( (lv_reflexiveTransitiveClosure_3_0= RULE_REFLEXIVE_TRANSITIVE_CLOSURE ) ) + { + // InternalSolverLanguageParser.g:3173:4: ( (lv_reflexiveTransitiveClosure_3_0= RULE_REFLEXIVE_TRANSITIVE_CLOSURE ) ) + // InternalSolverLanguageParser.g:3174:5: (lv_reflexiveTransitiveClosure_3_0= RULE_REFLEXIVE_TRANSITIVE_CLOSURE ) + { + // InternalSolverLanguageParser.g:3174:5: (lv_reflexiveTransitiveClosure_3_0= RULE_REFLEXIVE_TRANSITIVE_CLOSURE ) + // InternalSolverLanguageParser.g:3175:6: lv_reflexiveTransitiveClosure_3_0= RULE_REFLEXIVE_TRANSITIVE_CLOSURE + { + lv_reflexiveTransitiveClosure_3_0=(Token)match(input,RULE_REFLEXIVE_TRANSITIVE_CLOSURE,FOLLOW_2); + + newLeafNode(lv_reflexiveTransitiveClosure_3_0, grammarAccess.getPathComponentAccess().getReflexiveTransitiveClosureREFLEXIVE_TRANSITIVE_CLOSURETerminalRuleCall_2_1_0()); + + + if (current==null) { + current = createModelElement(grammarAccess.getPathComponentRule()); + } + setWithLastConsumed( + current, + "reflexiveTransitiveClosure", + true, + "org.eclipse.viatra.solver.language.SolverLanguage.REFLEXIVE_TRANSITIVE_CLOSURE"); + + + } - newCompositeNode(grammarAccess.getReferenceAccess().getReferredNamedElementCrossReference_0()); - - pushFollow(FOLLOW_2); - ruleQualifiedName(); - state._fsp--; + } - afterParserOrEnumRuleCall(); - + } + break; } @@ -7230,11 +8019,11 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } return current; } - // $ANTLR end "ruleReference" + // $ANTLR end "rulePathComponent" // $ANTLR start "entryRuleInterval" - // InternalSolverLanguageParser.g:2893:1: entryRuleInterval returns [EObject current=null] : iv_ruleInterval= ruleInterval EOF ; + // InternalSolverLanguageParser.g:3196:1: entryRuleInterval returns [EObject current=null] : iv_ruleInterval= ruleInterval EOF ; public final EObject entryRuleInterval() throws RecognitionException { EObject current = null; @@ -7242,8 +8031,8 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { try { - // InternalSolverLanguageParser.g:2893:49: (iv_ruleInterval= ruleInterval EOF ) - // InternalSolverLanguageParser.g:2894:2: iv_ruleInterval= ruleInterval EOF + // InternalSolverLanguageParser.g:3196:49: (iv_ruleInterval= ruleInterval EOF ) + // InternalSolverLanguageParser.g:3197:2: iv_ruleInterval= ruleInterval EOF { newCompositeNode(grammarAccess.getIntervalRule()); pushFollow(FOLLOW_1); @@ -7270,7 +8059,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleInterval" - // InternalSolverLanguageParser.g:2900:1: ruleInterval returns [EObject current=null] : (otherlv_0= LeftSquareBracket ( (lv_lowerBound_1_0= ruleExpression ) ) otherlv_2= FullStopFullStop ( (lv_upperBound_3_0= ruleExpression ) ) otherlv_4= RightSquareBracket ) ; + // InternalSolverLanguageParser.g:3203:1: ruleInterval returns [EObject current=null] : (otherlv_0= LeftSquareBracket ( (lv_lowerBound_1_0= ruleAdditiveExpression ) ) otherlv_2= Comma ( (lv_upperBound_3_0= ruleAdditiveExpression ) ) otherlv_4= RightSquareBracket ) ; public final EObject ruleInterval() throws RecognitionException { EObject current = null; @@ -7286,27 +8075,27 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { enterRule(); try { - // InternalSolverLanguageParser.g:2906:2: ( (otherlv_0= LeftSquareBracket ( (lv_lowerBound_1_0= ruleExpression ) ) otherlv_2= FullStopFullStop ( (lv_upperBound_3_0= ruleExpression ) ) otherlv_4= RightSquareBracket ) ) - // InternalSolverLanguageParser.g:2907:2: (otherlv_0= LeftSquareBracket ( (lv_lowerBound_1_0= ruleExpression ) ) otherlv_2= FullStopFullStop ( (lv_upperBound_3_0= ruleExpression ) ) otherlv_4= RightSquareBracket ) + // InternalSolverLanguageParser.g:3209:2: ( (otherlv_0= LeftSquareBracket ( (lv_lowerBound_1_0= ruleAdditiveExpression ) ) otherlv_2= Comma ( (lv_upperBound_3_0= ruleAdditiveExpression ) ) otherlv_4= RightSquareBracket ) ) + // InternalSolverLanguageParser.g:3210:2: (otherlv_0= LeftSquareBracket ( (lv_lowerBound_1_0= ruleAdditiveExpression ) ) otherlv_2= Comma ( (lv_upperBound_3_0= ruleAdditiveExpression ) ) otherlv_4= RightSquareBracket ) { - // InternalSolverLanguageParser.g:2907:2: (otherlv_0= LeftSquareBracket ( (lv_lowerBound_1_0= ruleExpression ) ) otherlv_2= FullStopFullStop ( (lv_upperBound_3_0= ruleExpression ) ) otherlv_4= RightSquareBracket ) - // InternalSolverLanguageParser.g:2908:3: otherlv_0= LeftSquareBracket ( (lv_lowerBound_1_0= ruleExpression ) ) otherlv_2= FullStopFullStop ( (lv_upperBound_3_0= ruleExpression ) ) otherlv_4= RightSquareBracket + // InternalSolverLanguageParser.g:3210:2: (otherlv_0= LeftSquareBracket ( (lv_lowerBound_1_0= ruleAdditiveExpression ) ) otherlv_2= Comma ( (lv_upperBound_3_0= ruleAdditiveExpression ) ) otherlv_4= RightSquareBracket ) + // InternalSolverLanguageParser.g:3211:3: otherlv_0= LeftSquareBracket ( (lv_lowerBound_1_0= ruleAdditiveExpression ) ) otherlv_2= Comma ( (lv_upperBound_3_0= ruleAdditiveExpression ) ) otherlv_4= RightSquareBracket { - otherlv_0=(Token)match(input,LeftSquareBracket,FOLLOW_6); + otherlv_0=(Token)match(input,LeftSquareBracket,FOLLOW_10); newLeafNode(otherlv_0, grammarAccess.getIntervalAccess().getLeftSquareBracketKeyword_0()); - // InternalSolverLanguageParser.g:2912:3: ( (lv_lowerBound_1_0= ruleExpression ) ) - // InternalSolverLanguageParser.g:2913:4: (lv_lowerBound_1_0= ruleExpression ) + // InternalSolverLanguageParser.g:3215:3: ( (lv_lowerBound_1_0= ruleAdditiveExpression ) ) + // InternalSolverLanguageParser.g:3216:4: (lv_lowerBound_1_0= ruleAdditiveExpression ) { - // InternalSolverLanguageParser.g:2913:4: (lv_lowerBound_1_0= ruleExpression ) - // InternalSolverLanguageParser.g:2914:5: lv_lowerBound_1_0= ruleExpression + // InternalSolverLanguageParser.g:3216:4: (lv_lowerBound_1_0= ruleAdditiveExpression ) + // InternalSolverLanguageParser.g:3217:5: lv_lowerBound_1_0= ruleAdditiveExpression { - newCompositeNode(grammarAccess.getIntervalAccess().getLowerBoundExpressionParserRuleCall_1_0()); + newCompositeNode(grammarAccess.getIntervalAccess().getLowerBoundAdditiveExpressionParserRuleCall_1_0()); - pushFollow(FOLLOW_44); - lv_lowerBound_1_0=ruleExpression(); + pushFollow(FOLLOW_48); + lv_lowerBound_1_0=ruleAdditiveExpression(); state._fsp--; @@ -7318,7 +8107,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { current, "lowerBound", lv_lowerBound_1_0, - "org.eclipse.viatra.solver.language.SolverLanguage.Expression"); + "org.eclipse.viatra.solver.language.SolverLanguage.AdditiveExpression"); afterParserOrEnumRuleCall(); @@ -7327,21 +8116,21 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } - otherlv_2=(Token)match(input,FullStopFullStop,FOLLOW_6); + otherlv_2=(Token)match(input,Comma,FOLLOW_10); - newLeafNode(otherlv_2, grammarAccess.getIntervalAccess().getFullStopFullStopKeyword_2()); + newLeafNode(otherlv_2, grammarAccess.getIntervalAccess().getCommaKeyword_2()); - // InternalSolverLanguageParser.g:2935:3: ( (lv_upperBound_3_0= ruleExpression ) ) - // InternalSolverLanguageParser.g:2936:4: (lv_upperBound_3_0= ruleExpression ) + // InternalSolverLanguageParser.g:3238:3: ( (lv_upperBound_3_0= ruleAdditiveExpression ) ) + // InternalSolverLanguageParser.g:3239:4: (lv_upperBound_3_0= ruleAdditiveExpression ) { - // InternalSolverLanguageParser.g:2936:4: (lv_upperBound_3_0= ruleExpression ) - // InternalSolverLanguageParser.g:2937:5: lv_upperBound_3_0= ruleExpression + // InternalSolverLanguageParser.g:3239:4: (lv_upperBound_3_0= ruleAdditiveExpression ) + // InternalSolverLanguageParser.g:3240:5: lv_upperBound_3_0= ruleAdditiveExpression { - newCompositeNode(grammarAccess.getIntervalAccess().getUpperBoundExpressionParserRuleCall_3_0()); + newCompositeNode(grammarAccess.getIntervalAccess().getUpperBoundAdditiveExpressionParserRuleCall_3_0()); - pushFollow(FOLLOW_45); - lv_upperBound_3_0=ruleExpression(); + pushFollow(FOLLOW_49); + lv_upperBound_3_0=ruleAdditiveExpression(); state._fsp--; @@ -7353,7 +8142,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { current, "upperBound", lv_upperBound_3_0, - "org.eclipse.viatra.solver.language.SolverLanguage.Expression"); + "org.eclipse.viatra.solver.language.SolverLanguage.AdditiveExpression"); afterParserOrEnumRuleCall(); @@ -7389,7 +8178,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleLiteral" - // InternalSolverLanguageParser.g:2962:1: entryRuleLiteral returns [EObject current=null] : iv_ruleLiteral= ruleLiteral EOF ; + // InternalSolverLanguageParser.g:3265:1: entryRuleLiteral returns [EObject current=null] : iv_ruleLiteral= ruleLiteral EOF ; public final EObject entryRuleLiteral() throws RecognitionException { EObject current = null; @@ -7397,8 +8186,8 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { try { - // InternalSolverLanguageParser.g:2962:48: (iv_ruleLiteral= ruleLiteral EOF ) - // InternalSolverLanguageParser.g:2963:2: iv_ruleLiteral= ruleLiteral EOF + // InternalSolverLanguageParser.g:3265:48: (iv_ruleLiteral= ruleLiteral EOF ) + // InternalSolverLanguageParser.g:3266:2: iv_ruleLiteral= ruleLiteral EOF { newCompositeNode(grammarAccess.getLiteralRule()); pushFollow(FOLLOW_1); @@ -7425,69 +8214,84 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleLiteral" - // InternalSolverLanguageParser.g:2969:1: ruleLiteral returns [EObject current=null] : (this_LogicLiteral_0= ruleLogicLiteral | this_NumericLiteral_1= ruleNumericLiteral | this_InfinityLiteral_2= ruleInfinityLiteral | this_EmptyIntervalLiteral_3= ruleEmptyIntervalLiteral | this_StringLiteral_4= ruleStringLiteral ) ; + // InternalSolverLanguageParser.g:3272:1: ruleLiteral returns [EObject current=null] : (this_LogicLiteral_0= ruleLogicLiteral | this_IntLiteral_1= ruleIntLiteral | this_RealLiteral_2= ruleRealLiteral | this_InfinityLiteral_3= ruleInfinityLiteral | this_EmptyLiteral_4= ruleEmptyLiteral | this_StringLiteral_5= ruleStringLiteral ) ; public final EObject ruleLiteral() throws RecognitionException { EObject current = null; EObject this_LogicLiteral_0 = null; - EObject this_NumericLiteral_1 = null; + EObject this_IntLiteral_1 = null; + + EObject this_RealLiteral_2 = null; - EObject this_InfinityLiteral_2 = null; + EObject this_InfinityLiteral_3 = null; - EObject this_EmptyIntervalLiteral_3 = null; + EObject this_EmptyLiteral_4 = null; - EObject this_StringLiteral_4 = null; + EObject this_StringLiteral_5 = null; enterRule(); try { - // InternalSolverLanguageParser.g:2975:2: ( (this_LogicLiteral_0= ruleLogicLiteral | this_NumericLiteral_1= ruleNumericLiteral | this_InfinityLiteral_2= ruleInfinityLiteral | this_EmptyIntervalLiteral_3= ruleEmptyIntervalLiteral | this_StringLiteral_4= ruleStringLiteral ) ) - // InternalSolverLanguageParser.g:2976:2: (this_LogicLiteral_0= ruleLogicLiteral | this_NumericLiteral_1= ruleNumericLiteral | this_InfinityLiteral_2= ruleInfinityLiteral | this_EmptyIntervalLiteral_3= ruleEmptyIntervalLiteral | this_StringLiteral_4= ruleStringLiteral ) + // InternalSolverLanguageParser.g:3278:2: ( (this_LogicLiteral_0= ruleLogicLiteral | this_IntLiteral_1= ruleIntLiteral | this_RealLiteral_2= ruleRealLiteral | this_InfinityLiteral_3= ruleInfinityLiteral | this_EmptyLiteral_4= ruleEmptyLiteral | this_StringLiteral_5= ruleStringLiteral ) ) + // InternalSolverLanguageParser.g:3279:2: (this_LogicLiteral_0= ruleLogicLiteral | this_IntLiteral_1= ruleIntLiteral | this_RealLiteral_2= ruleRealLiteral | this_InfinityLiteral_3= ruleInfinityLiteral | this_EmptyLiteral_4= ruleEmptyLiteral | this_StringLiteral_5= ruleStringLiteral ) { - // InternalSolverLanguageParser.g:2976:2: (this_LogicLiteral_0= ruleLogicLiteral | this_NumericLiteral_1= ruleNumericLiteral | this_InfinityLiteral_2= ruleInfinityLiteral | this_EmptyIntervalLiteral_3= ruleEmptyIntervalLiteral | this_StringLiteral_4= ruleStringLiteral ) - int alt34=5; + // InternalSolverLanguageParser.g:3279:2: (this_LogicLiteral_0= ruleLogicLiteral | this_IntLiteral_1= ruleIntLiteral | this_RealLiteral_2= ruleRealLiteral | this_InfinityLiteral_3= ruleInfinityLiteral | this_EmptyLiteral_4= ruleEmptyLiteral | this_StringLiteral_5= ruleStringLiteral ) + int alt38=6; switch ( input.LA(1) ) { case Unknown: case Error: case False: case True: { - alt34=1; + alt38=1; } break; case RULE_INT: { - alt34=2; + int LA38_2 = input.LA(2); + + if ( (LA38_2==EOF||LA38_2==Else||LA38_2==Then||(LA38_2>=ExclamationMarkEqualsSign && LA38_2<=ColonHyphenMinus)||(LA38_2>=ColonEqualsSign && LA38_2<=As)||LA38_2==In||(LA38_2>=RightParenthesis && LA38_2<=HyphenMinus)||(LA38_2>=Solidus && LA38_2<=LessThanSign)||LA38_2==GreaterThanSign||(LA38_2>=RightSquareBracket && LA38_2<=CircumflexAccent)||(LA38_2>=VerticalLine && LA38_2<=RightCurlyBracket)||LA38_2==RULE_FULL_STOP) ) { + alt38=2; + } + else if ( (LA38_2==FullStop) ) { + alt38=3; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 38, 2, input); + + throw nvae; + } } break; case Inf: { - alt34=3; + alt38=4; } break; case Empty: { - alt34=4; + alt38=5; } break; case RULE_STRING: { - alt34=5; + alt38=6; } break; default: NoViableAltException nvae = - new NoViableAltException("", 34, 0, input); + new NoViableAltException("", 38, 0, input); throw nvae; } - switch (alt34) { + switch (alt38) { case 1 : - // InternalSolverLanguageParser.g:2977:3: this_LogicLiteral_0= ruleLogicLiteral + // InternalSolverLanguageParser.g:3280:3: this_LogicLiteral_0= ruleLogicLiteral { newCompositeNode(grammarAccess.getLiteralAccess().getLogicLiteralParserRuleCall_0()); @@ -7505,72 +8309,90 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } break; case 2 : - // InternalSolverLanguageParser.g:2986:3: this_NumericLiteral_1= ruleNumericLiteral + // InternalSolverLanguageParser.g:3289:3: this_IntLiteral_1= ruleIntLiteral { - newCompositeNode(grammarAccess.getLiteralAccess().getNumericLiteralParserRuleCall_1()); + newCompositeNode(grammarAccess.getLiteralAccess().getIntLiteralParserRuleCall_1()); pushFollow(FOLLOW_2); - this_NumericLiteral_1=ruleNumericLiteral(); + this_IntLiteral_1=ruleIntLiteral(); state._fsp--; - current = this_NumericLiteral_1; + current = this_IntLiteral_1; afterParserOrEnumRuleCall(); } break; case 3 : - // InternalSolverLanguageParser.g:2995:3: this_InfinityLiteral_2= ruleInfinityLiteral + // InternalSolverLanguageParser.g:3298:3: this_RealLiteral_2= ruleRealLiteral { - newCompositeNode(grammarAccess.getLiteralAccess().getInfinityLiteralParserRuleCall_2()); + newCompositeNode(grammarAccess.getLiteralAccess().getRealLiteralParserRuleCall_2()); pushFollow(FOLLOW_2); - this_InfinityLiteral_2=ruleInfinityLiteral(); + this_RealLiteral_2=ruleRealLiteral(); state._fsp--; - current = this_InfinityLiteral_2; + current = this_RealLiteral_2; afterParserOrEnumRuleCall(); } break; case 4 : - // InternalSolverLanguageParser.g:3004:3: this_EmptyIntervalLiteral_3= ruleEmptyIntervalLiteral + // InternalSolverLanguageParser.g:3307:3: this_InfinityLiteral_3= ruleInfinityLiteral { - newCompositeNode(grammarAccess.getLiteralAccess().getEmptyIntervalLiteralParserRuleCall_3()); + newCompositeNode(grammarAccess.getLiteralAccess().getInfinityLiteralParserRuleCall_3()); pushFollow(FOLLOW_2); - this_EmptyIntervalLiteral_3=ruleEmptyIntervalLiteral(); + this_InfinityLiteral_3=ruleInfinityLiteral(); state._fsp--; - current = this_EmptyIntervalLiteral_3; + current = this_InfinityLiteral_3; afterParserOrEnumRuleCall(); } break; case 5 : - // InternalSolverLanguageParser.g:3013:3: this_StringLiteral_4= ruleStringLiteral + // InternalSolverLanguageParser.g:3316:3: this_EmptyLiteral_4= ruleEmptyLiteral + { + + newCompositeNode(grammarAccess.getLiteralAccess().getEmptyLiteralParserRuleCall_4()); + + pushFollow(FOLLOW_2); + this_EmptyLiteral_4=ruleEmptyLiteral(); + + state._fsp--; + + + current = this_EmptyLiteral_4; + afterParserOrEnumRuleCall(); + + + } + break; + case 6 : + // InternalSolverLanguageParser.g:3325:3: this_StringLiteral_5= ruleStringLiteral { - newCompositeNode(grammarAccess.getLiteralAccess().getStringLiteralParserRuleCall_4()); + newCompositeNode(grammarAccess.getLiteralAccess().getStringLiteralParserRuleCall_5()); pushFollow(FOLLOW_2); - this_StringLiteral_4=ruleStringLiteral(); + this_StringLiteral_5=ruleStringLiteral(); state._fsp--; - current = this_StringLiteral_4; + current = this_StringLiteral_5; afterParserOrEnumRuleCall(); @@ -7599,7 +8421,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleLogicLiteral" - // InternalSolverLanguageParser.g:3025:1: entryRuleLogicLiteral returns [EObject current=null] : iv_ruleLogicLiteral= ruleLogicLiteral EOF ; + // InternalSolverLanguageParser.g:3337:1: entryRuleLogicLiteral returns [EObject current=null] : iv_ruleLogicLiteral= ruleLogicLiteral EOF ; public final EObject entryRuleLogicLiteral() throws RecognitionException { EObject current = null; @@ -7607,8 +8429,8 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { try { - // InternalSolverLanguageParser.g:3025:53: (iv_ruleLogicLiteral= ruleLogicLiteral EOF ) - // InternalSolverLanguageParser.g:3026:2: iv_ruleLogicLiteral= ruleLogicLiteral EOF + // InternalSolverLanguageParser.g:3337:53: (iv_ruleLogicLiteral= ruleLogicLiteral EOF ) + // InternalSolverLanguageParser.g:3338:2: iv_ruleLogicLiteral= ruleLogicLiteral EOF { newCompositeNode(grammarAccess.getLogicLiteralRule()); pushFollow(FOLLOW_1); @@ -7635,7 +8457,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleLogicLiteral" - // InternalSolverLanguageParser.g:3032:1: ruleLogicLiteral returns [EObject current=null] : ( (lv_value_0_0= ruleLogicValue ) ) ; + // InternalSolverLanguageParser.g:3344:1: ruleLogicLiteral returns [EObject current=null] : ( (lv_value_0_0= ruleLogicValue ) ) ; public final EObject ruleLogicLiteral() throws RecognitionException { EObject current = null; @@ -7646,14 +8468,14 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { enterRule(); try { - // InternalSolverLanguageParser.g:3038:2: ( ( (lv_value_0_0= ruleLogicValue ) ) ) - // InternalSolverLanguageParser.g:3039:2: ( (lv_value_0_0= ruleLogicValue ) ) + // InternalSolverLanguageParser.g:3350:2: ( ( (lv_value_0_0= ruleLogicValue ) ) ) + // InternalSolverLanguageParser.g:3351:2: ( (lv_value_0_0= ruleLogicValue ) ) { - // InternalSolverLanguageParser.g:3039:2: ( (lv_value_0_0= ruleLogicValue ) ) - // InternalSolverLanguageParser.g:3040:3: (lv_value_0_0= ruleLogicValue ) + // InternalSolverLanguageParser.g:3351:2: ( (lv_value_0_0= ruleLogicValue ) ) + // InternalSolverLanguageParser.g:3352:3: (lv_value_0_0= ruleLogicValue ) { - // InternalSolverLanguageParser.g:3040:3: (lv_value_0_0= ruleLogicValue ) - // InternalSolverLanguageParser.g:3041:4: lv_value_0_0= ruleLogicValue + // InternalSolverLanguageParser.g:3352:3: (lv_value_0_0= ruleLogicValue ) + // InternalSolverLanguageParser.g:3353:4: lv_value_0_0= ruleLogicValue { newCompositeNode(grammarAccess.getLogicLiteralAccess().getValueLogicValueEnumRuleCall_0()); @@ -7699,25 +8521,120 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR end "ruleLogicLiteral" - // $ANTLR start "entryRuleNumericLiteral" - // InternalSolverLanguageParser.g:3061:1: entryRuleNumericLiteral returns [EObject current=null] : iv_ruleNumericLiteral= ruleNumericLiteral EOF ; - public final EObject entryRuleNumericLiteral() throws RecognitionException { + // $ANTLR start "entryRuleIntLiteral" + // InternalSolverLanguageParser.g:3373:1: entryRuleIntLiteral returns [EObject current=null] : iv_ruleIntLiteral= ruleIntLiteral EOF ; + public final EObject entryRuleIntLiteral() throws RecognitionException { + EObject current = null; + + EObject iv_ruleIntLiteral = null; + + + try { + // InternalSolverLanguageParser.g:3373:51: (iv_ruleIntLiteral= ruleIntLiteral EOF ) + // InternalSolverLanguageParser.g:3374:2: iv_ruleIntLiteral= ruleIntLiteral EOF + { + newCompositeNode(grammarAccess.getIntLiteralRule()); + pushFollow(FOLLOW_1); + iv_ruleIntLiteral=ruleIntLiteral(); + + state._fsp--; + + current =iv_ruleIntLiteral; + match(input,EOF,FOLLOW_2); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleIntLiteral" + + + // $ANTLR start "ruleIntLiteral" + // InternalSolverLanguageParser.g:3380:1: ruleIntLiteral returns [EObject current=null] : ( (lv_value_0_0= RULE_INT ) ) ; + public final EObject ruleIntLiteral() throws RecognitionException { + EObject current = null; + + Token lv_value_0_0=null; + + + enterRule(); + + try { + // InternalSolverLanguageParser.g:3386:2: ( ( (lv_value_0_0= RULE_INT ) ) ) + // InternalSolverLanguageParser.g:3387:2: ( (lv_value_0_0= RULE_INT ) ) + { + // InternalSolverLanguageParser.g:3387:2: ( (lv_value_0_0= RULE_INT ) ) + // InternalSolverLanguageParser.g:3388:3: (lv_value_0_0= RULE_INT ) + { + // InternalSolverLanguageParser.g:3388:3: (lv_value_0_0= RULE_INT ) + // InternalSolverLanguageParser.g:3389:4: lv_value_0_0= RULE_INT + { + lv_value_0_0=(Token)match(input,RULE_INT,FOLLOW_2); + + newLeafNode(lv_value_0_0, grammarAccess.getIntLiteralAccess().getValueINTTerminalRuleCall_0()); + + + if (current==null) { + current = createModelElement(grammarAccess.getIntLiteralRule()); + } + setWithLastConsumed( + current, + "value", + lv_value_0_0, + "org.eclipse.xtext.common.Terminals.INT"); + + + } + + + } + + + } + + + leaveRule(); + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleIntLiteral" + + + // $ANTLR start "entryRuleRealLiteral" + // InternalSolverLanguageParser.g:3408:1: entryRuleRealLiteral returns [EObject current=null] : iv_ruleRealLiteral= ruleRealLiteral EOF ; + public final EObject entryRuleRealLiteral() throws RecognitionException { EObject current = null; - EObject iv_ruleNumericLiteral = null; + EObject iv_ruleRealLiteral = null; try { - // InternalSolverLanguageParser.g:3061:55: (iv_ruleNumericLiteral= ruleNumericLiteral EOF ) - // InternalSolverLanguageParser.g:3062:2: iv_ruleNumericLiteral= ruleNumericLiteral EOF + // InternalSolverLanguageParser.g:3408:52: (iv_ruleRealLiteral= ruleRealLiteral EOF ) + // InternalSolverLanguageParser.g:3409:2: iv_ruleRealLiteral= ruleRealLiteral EOF { - newCompositeNode(grammarAccess.getNumericLiteralRule()); + newCompositeNode(grammarAccess.getRealLiteralRule()); pushFollow(FOLLOW_1); - iv_ruleNumericLiteral=ruleNumericLiteral(); + iv_ruleRealLiteral=ruleRealLiteral(); state._fsp--; - current =iv_ruleNumericLiteral; + current =iv_ruleRealLiteral; match(input,EOF,FOLLOW_2); } @@ -7732,12 +8649,12 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } return current; } - // $ANTLR end "entryRuleNumericLiteral" + // $ANTLR end "entryRuleRealLiteral" - // $ANTLR start "ruleNumericLiteral" - // InternalSolverLanguageParser.g:3068:1: ruleNumericLiteral returns [EObject current=null] : ( (lv_value_0_0= ruleReal ) ) ; - public final EObject ruleNumericLiteral() throws RecognitionException { + // $ANTLR start "ruleRealLiteral" + // InternalSolverLanguageParser.g:3415:1: ruleRealLiteral returns [EObject current=null] : ( (lv_value_0_0= ruleReal ) ) ; + public final EObject ruleRealLiteral() throws RecognitionException { EObject current = null; AntlrDatatypeRuleToken lv_value_0_0 = null; @@ -7747,17 +8664,17 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { enterRule(); try { - // InternalSolverLanguageParser.g:3074:2: ( ( (lv_value_0_0= ruleReal ) ) ) - // InternalSolverLanguageParser.g:3075:2: ( (lv_value_0_0= ruleReal ) ) + // InternalSolverLanguageParser.g:3421:2: ( ( (lv_value_0_0= ruleReal ) ) ) + // InternalSolverLanguageParser.g:3422:2: ( (lv_value_0_0= ruleReal ) ) { - // InternalSolverLanguageParser.g:3075:2: ( (lv_value_0_0= ruleReal ) ) - // InternalSolverLanguageParser.g:3076:3: (lv_value_0_0= ruleReal ) + // InternalSolverLanguageParser.g:3422:2: ( (lv_value_0_0= ruleReal ) ) + // InternalSolverLanguageParser.g:3423:3: (lv_value_0_0= ruleReal ) { - // InternalSolverLanguageParser.g:3076:3: (lv_value_0_0= ruleReal ) - // InternalSolverLanguageParser.g:3077:4: lv_value_0_0= ruleReal + // InternalSolverLanguageParser.g:3423:3: (lv_value_0_0= ruleReal ) + // InternalSolverLanguageParser.g:3424:4: lv_value_0_0= ruleReal { - newCompositeNode(grammarAccess.getNumericLiteralAccess().getValueRealParserRuleCall_0()); + newCompositeNode(grammarAccess.getRealLiteralAccess().getValueRealParserRuleCall_0()); pushFollow(FOLLOW_2); lv_value_0_0=ruleReal(); @@ -7766,7 +8683,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { if (current==null) { - current = createModelElementForParent(grammarAccess.getNumericLiteralRule()); + current = createModelElementForParent(grammarAccess.getRealLiteralRule()); } set( current, @@ -7797,11 +8714,11 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } return current; } - // $ANTLR end "ruleNumericLiteral" + // $ANTLR end "ruleRealLiteral" // $ANTLR start "entryRuleInfinityLiteral" - // InternalSolverLanguageParser.g:3097:1: entryRuleInfinityLiteral returns [EObject current=null] : iv_ruleInfinityLiteral= ruleInfinityLiteral EOF ; + // InternalSolverLanguageParser.g:3444:1: entryRuleInfinityLiteral returns [EObject current=null] : iv_ruleInfinityLiteral= ruleInfinityLiteral EOF ; public final EObject entryRuleInfinityLiteral() throws RecognitionException { EObject current = null; @@ -7809,8 +8726,8 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { try { - // InternalSolverLanguageParser.g:3097:56: (iv_ruleInfinityLiteral= ruleInfinityLiteral EOF ) - // InternalSolverLanguageParser.g:3098:2: iv_ruleInfinityLiteral= ruleInfinityLiteral EOF + // InternalSolverLanguageParser.g:3444:56: (iv_ruleInfinityLiteral= ruleInfinityLiteral EOF ) + // InternalSolverLanguageParser.g:3445:2: iv_ruleInfinityLiteral= ruleInfinityLiteral EOF { newCompositeNode(grammarAccess.getInfinityLiteralRule()); pushFollow(FOLLOW_1); @@ -7837,7 +8754,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleInfinityLiteral" - // InternalSolverLanguageParser.g:3104:1: ruleInfinityLiteral returns [EObject current=null] : ( () otherlv_1= Inf ) ; + // InternalSolverLanguageParser.g:3451:1: ruleInfinityLiteral returns [EObject current=null] : ( () otherlv_1= Inf ) ; public final EObject ruleInfinityLiteral() throws RecognitionException { EObject current = null; @@ -7847,14 +8764,14 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { enterRule(); try { - // InternalSolverLanguageParser.g:3110:2: ( ( () otherlv_1= Inf ) ) - // InternalSolverLanguageParser.g:3111:2: ( () otherlv_1= Inf ) + // InternalSolverLanguageParser.g:3457:2: ( ( () otherlv_1= Inf ) ) + // InternalSolverLanguageParser.g:3458:2: ( () otherlv_1= Inf ) { - // InternalSolverLanguageParser.g:3111:2: ( () otherlv_1= Inf ) - // InternalSolverLanguageParser.g:3112:3: () otherlv_1= Inf + // InternalSolverLanguageParser.g:3458:2: ( () otherlv_1= Inf ) + // InternalSolverLanguageParser.g:3459:3: () otherlv_1= Inf { - // InternalSolverLanguageParser.g:3112:3: () - // InternalSolverLanguageParser.g:3113:4: + // InternalSolverLanguageParser.g:3459:3: () + // InternalSolverLanguageParser.g:3460:4: { current = forceCreateModelElement( @@ -7890,25 +8807,25 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR end "ruleInfinityLiteral" - // $ANTLR start "entryRuleEmptyIntervalLiteral" - // InternalSolverLanguageParser.g:3127:1: entryRuleEmptyIntervalLiteral returns [EObject current=null] : iv_ruleEmptyIntervalLiteral= ruleEmptyIntervalLiteral EOF ; - public final EObject entryRuleEmptyIntervalLiteral() throws RecognitionException { + // $ANTLR start "entryRuleEmptyLiteral" + // InternalSolverLanguageParser.g:3474:1: entryRuleEmptyLiteral returns [EObject current=null] : iv_ruleEmptyLiteral= ruleEmptyLiteral EOF ; + public final EObject entryRuleEmptyLiteral() throws RecognitionException { EObject current = null; - EObject iv_ruleEmptyIntervalLiteral = null; + EObject iv_ruleEmptyLiteral = null; try { - // InternalSolverLanguageParser.g:3127:61: (iv_ruleEmptyIntervalLiteral= ruleEmptyIntervalLiteral EOF ) - // InternalSolverLanguageParser.g:3128:2: iv_ruleEmptyIntervalLiteral= ruleEmptyIntervalLiteral EOF + // InternalSolverLanguageParser.g:3474:53: (iv_ruleEmptyLiteral= ruleEmptyLiteral EOF ) + // InternalSolverLanguageParser.g:3475:2: iv_ruleEmptyLiteral= ruleEmptyLiteral EOF { - newCompositeNode(grammarAccess.getEmptyIntervalLiteralRule()); + newCompositeNode(grammarAccess.getEmptyLiteralRule()); pushFollow(FOLLOW_1); - iv_ruleEmptyIntervalLiteral=ruleEmptyIntervalLiteral(); + iv_ruleEmptyLiteral=ruleEmptyLiteral(); state._fsp--; - current =iv_ruleEmptyIntervalLiteral; + current =iv_ruleEmptyLiteral; match(input,EOF,FOLLOW_2); } @@ -7923,12 +8840,12 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } return current; } - // $ANTLR end "entryRuleEmptyIntervalLiteral" + // $ANTLR end "entryRuleEmptyLiteral" - // $ANTLR start "ruleEmptyIntervalLiteral" - // InternalSolverLanguageParser.g:3134:1: ruleEmptyIntervalLiteral returns [EObject current=null] : ( () otherlv_1= Empty ) ; - public final EObject ruleEmptyIntervalLiteral() throws RecognitionException { + // $ANTLR start "ruleEmptyLiteral" + // InternalSolverLanguageParser.g:3481:1: ruleEmptyLiteral returns [EObject current=null] : ( () otherlv_1= Empty ) ; + public final EObject ruleEmptyLiteral() throws RecognitionException { EObject current = null; Token otherlv_1=null; @@ -7937,18 +8854,18 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { enterRule(); try { - // InternalSolverLanguageParser.g:3140:2: ( ( () otherlv_1= Empty ) ) - // InternalSolverLanguageParser.g:3141:2: ( () otherlv_1= Empty ) + // InternalSolverLanguageParser.g:3487:2: ( ( () otherlv_1= Empty ) ) + // InternalSolverLanguageParser.g:3488:2: ( () otherlv_1= Empty ) { - // InternalSolverLanguageParser.g:3141:2: ( () otherlv_1= Empty ) - // InternalSolverLanguageParser.g:3142:3: () otherlv_1= Empty + // InternalSolverLanguageParser.g:3488:2: ( () otherlv_1= Empty ) + // InternalSolverLanguageParser.g:3489:3: () otherlv_1= Empty { - // InternalSolverLanguageParser.g:3142:3: () - // InternalSolverLanguageParser.g:3143:4: + // InternalSolverLanguageParser.g:3489:3: () + // InternalSolverLanguageParser.g:3490:4: { current = forceCreateModelElement( - grammarAccess.getEmptyIntervalLiteralAccess().getEmptyIntervalLiteralAction_0(), + grammarAccess.getEmptyLiteralAccess().getEmptyLiteralAction_0(), current); @@ -7956,7 +8873,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { otherlv_1=(Token)match(input,Empty,FOLLOW_2); - newLeafNode(otherlv_1, grammarAccess.getEmptyIntervalLiteralAccess().getEmptyKeyword_1()); + newLeafNode(otherlv_1, grammarAccess.getEmptyLiteralAccess().getEmptyKeyword_1()); } @@ -7977,11 +8894,11 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } return current; } - // $ANTLR end "ruleEmptyIntervalLiteral" + // $ANTLR end "ruleEmptyLiteral" // $ANTLR start "entryRuleStringLiteral" - // InternalSolverLanguageParser.g:3157:1: entryRuleStringLiteral returns [EObject current=null] : iv_ruleStringLiteral= ruleStringLiteral EOF ; + // InternalSolverLanguageParser.g:3504:1: entryRuleStringLiteral returns [EObject current=null] : iv_ruleStringLiteral= ruleStringLiteral EOF ; public final EObject entryRuleStringLiteral() throws RecognitionException { EObject current = null; @@ -7989,8 +8906,8 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { try { - // InternalSolverLanguageParser.g:3157:54: (iv_ruleStringLiteral= ruleStringLiteral EOF ) - // InternalSolverLanguageParser.g:3158:2: iv_ruleStringLiteral= ruleStringLiteral EOF + // InternalSolverLanguageParser.g:3504:54: (iv_ruleStringLiteral= ruleStringLiteral EOF ) + // InternalSolverLanguageParser.g:3505:2: iv_ruleStringLiteral= ruleStringLiteral EOF { newCompositeNode(grammarAccess.getStringLiteralRule()); pushFollow(FOLLOW_1); @@ -8017,7 +8934,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleStringLiteral" - // InternalSolverLanguageParser.g:3164:1: ruleStringLiteral returns [EObject current=null] : ( (lv_value_0_0= RULE_STRING ) ) ; + // InternalSolverLanguageParser.g:3511:1: ruleStringLiteral returns [EObject current=null] : ( (lv_value_0_0= RULE_STRING ) ) ; public final EObject ruleStringLiteral() throws RecognitionException { EObject current = null; @@ -8027,14 +8944,14 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { enterRule(); try { - // InternalSolverLanguageParser.g:3170:2: ( ( (lv_value_0_0= RULE_STRING ) ) ) - // InternalSolverLanguageParser.g:3171:2: ( (lv_value_0_0= RULE_STRING ) ) + // InternalSolverLanguageParser.g:3517:2: ( ( (lv_value_0_0= RULE_STRING ) ) ) + // InternalSolverLanguageParser.g:3518:2: ( (lv_value_0_0= RULE_STRING ) ) { - // InternalSolverLanguageParser.g:3171:2: ( (lv_value_0_0= RULE_STRING ) ) - // InternalSolverLanguageParser.g:3172:3: (lv_value_0_0= RULE_STRING ) + // InternalSolverLanguageParser.g:3518:2: ( (lv_value_0_0= RULE_STRING ) ) + // InternalSolverLanguageParser.g:3519:3: (lv_value_0_0= RULE_STRING ) { - // InternalSolverLanguageParser.g:3172:3: (lv_value_0_0= RULE_STRING ) - // InternalSolverLanguageParser.g:3173:4: lv_value_0_0= RULE_STRING + // InternalSolverLanguageParser.g:3519:3: (lv_value_0_0= RULE_STRING ) + // InternalSolverLanguageParser.g:3520:4: lv_value_0_0= RULE_STRING { lv_value_0_0=(Token)match(input,RULE_STRING,FOLLOW_2); @@ -8075,25 +8992,25 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR end "ruleStringLiteral" - // $ANTLR start "entryRuleClassDefinition" - // InternalSolverLanguageParser.g:3192:1: entryRuleClassDefinition returns [EObject current=null] : iv_ruleClassDefinition= ruleClassDefinition EOF ; - public final EObject entryRuleClassDefinition() throws RecognitionException { + // $ANTLR start "entryRuleClassDeclaration" + // InternalSolverLanguageParser.g:3539:1: entryRuleClassDeclaration returns [EObject current=null] : iv_ruleClassDeclaration= ruleClassDeclaration EOF ; + public final EObject entryRuleClassDeclaration() throws RecognitionException { EObject current = null; - EObject iv_ruleClassDefinition = null; + EObject iv_ruleClassDeclaration = null; try { - // InternalSolverLanguageParser.g:3192:56: (iv_ruleClassDefinition= ruleClassDefinition EOF ) - // InternalSolverLanguageParser.g:3193:2: iv_ruleClassDefinition= ruleClassDefinition EOF + // InternalSolverLanguageParser.g:3539:57: (iv_ruleClassDeclaration= ruleClassDeclaration EOF ) + // InternalSolverLanguageParser.g:3540:2: iv_ruleClassDeclaration= ruleClassDeclaration EOF { - newCompositeNode(grammarAccess.getClassDefinitionRule()); + newCompositeNode(grammarAccess.getClassDeclarationRule()); pushFollow(FOLLOW_1); - iv_ruleClassDefinition=ruleClassDefinition(); + iv_ruleClassDeclaration=ruleClassDeclaration(); state._fsp--; - current =iv_ruleClassDefinition; + current =iv_ruleClassDeclaration; match(input,EOF,FOLLOW_2); } @@ -8108,89 +9025,219 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } return current; } - // $ANTLR end "entryRuleClassDefinition" + // $ANTLR end "entryRuleClassDeclaration" - // $ANTLR start "ruleClassDefinition" - // InternalSolverLanguageParser.g:3199:1: ruleClassDefinition returns [EObject current=null] : ( ( (lv_abstract_0_0= Abstract ) )? otherlv_1= Class ( (lv_name_2_0= RULE_ID ) ) (otherlv_3= Extends ( ( ruleQualifiedName ) ) (otherlv_5= Comma ( ( ruleQualifiedName ) ) )* )? otherlv_7= LeftCurlyBracket ( (lv_members_8_0= ruleMemberDefinition ) )* otherlv_9= RightCurlyBracket ) ; - public final EObject ruleClassDefinition() throws RecognitionException { + // $ANTLR start "ruleClassDeclaration" + // InternalSolverLanguageParser.g:3546:1: ruleClassDeclaration returns [EObject current=null] : ( ( ( ( ( ({...}? => ( ({...}? => ( (lv_abstract_1_0= Abstract ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_root_2_0= Root ) ) ) ) ) )* ) ) ) otherlv_3= Class ( (lv_name_4_0= RULE_ID ) ) (otherlv_5= Extends ( ( ruleQualifiedName ) ) (otherlv_7= Comma ( ( ruleQualifiedName ) ) )* )? ( (otherlv_9= LeftCurlyBracket ( (lv_fields_10_0= ruleField ) )* otherlv_11= RightCurlyBracket ) | this_FULL_STOP_12= RULE_FULL_STOP ) ) ; + public final EObject ruleClassDeclaration() throws RecognitionException { EObject current = null; - Token lv_abstract_0_0=null; - Token otherlv_1=null; - Token lv_name_2_0=null; + Token lv_abstract_1_0=null; + Token lv_root_2_0=null; Token otherlv_3=null; + Token lv_name_4_0=null; Token otherlv_5=null; Token otherlv_7=null; Token otherlv_9=null; - EObject lv_members_8_0 = null; + Token otherlv_11=null; + Token this_FULL_STOP_12=null; + EObject lv_fields_10_0 = null; enterRule(); try { - // InternalSolverLanguageParser.g:3205:2: ( ( ( (lv_abstract_0_0= Abstract ) )? otherlv_1= Class ( (lv_name_2_0= RULE_ID ) ) (otherlv_3= Extends ( ( ruleQualifiedName ) ) (otherlv_5= Comma ( ( ruleQualifiedName ) ) )* )? otherlv_7= LeftCurlyBracket ( (lv_members_8_0= ruleMemberDefinition ) )* otherlv_9= RightCurlyBracket ) ) - // InternalSolverLanguageParser.g:3206:2: ( ( (lv_abstract_0_0= Abstract ) )? otherlv_1= Class ( (lv_name_2_0= RULE_ID ) ) (otherlv_3= Extends ( ( ruleQualifiedName ) ) (otherlv_5= Comma ( ( ruleQualifiedName ) ) )* )? otherlv_7= LeftCurlyBracket ( (lv_members_8_0= ruleMemberDefinition ) )* otherlv_9= RightCurlyBracket ) + // InternalSolverLanguageParser.g:3552:2: ( ( ( ( ( ( ({...}? => ( ({...}? => ( (lv_abstract_1_0= Abstract ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_root_2_0= Root ) ) ) ) ) )* ) ) ) otherlv_3= Class ( (lv_name_4_0= RULE_ID ) ) (otherlv_5= Extends ( ( ruleQualifiedName ) ) (otherlv_7= Comma ( ( ruleQualifiedName ) ) )* )? ( (otherlv_9= LeftCurlyBracket ( (lv_fields_10_0= ruleField ) )* otherlv_11= RightCurlyBracket ) | this_FULL_STOP_12= RULE_FULL_STOP ) ) ) + // InternalSolverLanguageParser.g:3553:2: ( ( ( ( ( ({...}? => ( ({...}? => ( (lv_abstract_1_0= Abstract ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_root_2_0= Root ) ) ) ) ) )* ) ) ) otherlv_3= Class ( (lv_name_4_0= RULE_ID ) ) (otherlv_5= Extends ( ( ruleQualifiedName ) ) (otherlv_7= Comma ( ( ruleQualifiedName ) ) )* )? ( (otherlv_9= LeftCurlyBracket ( (lv_fields_10_0= ruleField ) )* otherlv_11= RightCurlyBracket ) | this_FULL_STOP_12= RULE_FULL_STOP ) ) { - // InternalSolverLanguageParser.g:3206:2: ( ( (lv_abstract_0_0= Abstract ) )? otherlv_1= Class ( (lv_name_2_0= RULE_ID ) ) (otherlv_3= Extends ( ( ruleQualifiedName ) ) (otherlv_5= Comma ( ( ruleQualifiedName ) ) )* )? otherlv_7= LeftCurlyBracket ( (lv_members_8_0= ruleMemberDefinition ) )* otherlv_9= RightCurlyBracket ) - // InternalSolverLanguageParser.g:3207:3: ( (lv_abstract_0_0= Abstract ) )? otherlv_1= Class ( (lv_name_2_0= RULE_ID ) ) (otherlv_3= Extends ( ( ruleQualifiedName ) ) (otherlv_5= Comma ( ( ruleQualifiedName ) ) )* )? otherlv_7= LeftCurlyBracket ( (lv_members_8_0= ruleMemberDefinition ) )* otherlv_9= RightCurlyBracket + // InternalSolverLanguageParser.g:3553:2: ( ( ( ( ( ({...}? => ( ({...}? => ( (lv_abstract_1_0= Abstract ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_root_2_0= Root ) ) ) ) ) )* ) ) ) otherlv_3= Class ( (lv_name_4_0= RULE_ID ) ) (otherlv_5= Extends ( ( ruleQualifiedName ) ) (otherlv_7= Comma ( ( ruleQualifiedName ) ) )* )? ( (otherlv_9= LeftCurlyBracket ( (lv_fields_10_0= ruleField ) )* otherlv_11= RightCurlyBracket ) | this_FULL_STOP_12= RULE_FULL_STOP ) ) + // InternalSolverLanguageParser.g:3554:3: ( ( ( ( ({...}? => ( ({...}? => ( (lv_abstract_1_0= Abstract ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_root_2_0= Root ) ) ) ) ) )* ) ) ) otherlv_3= Class ( (lv_name_4_0= RULE_ID ) ) (otherlv_5= Extends ( ( ruleQualifiedName ) ) (otherlv_7= Comma ( ( ruleQualifiedName ) ) )* )? ( (otherlv_9= LeftCurlyBracket ( (lv_fields_10_0= ruleField ) )* otherlv_11= RightCurlyBracket ) | this_FULL_STOP_12= RULE_FULL_STOP ) { - // InternalSolverLanguageParser.g:3207:3: ( (lv_abstract_0_0= Abstract ) )? - int alt35=2; - int LA35_0 = input.LA(1); + // InternalSolverLanguageParser.g:3554:3: ( ( ( ( ({...}? => ( ({...}? => ( (lv_abstract_1_0= Abstract ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_root_2_0= Root ) ) ) ) ) )* ) ) ) + // InternalSolverLanguageParser.g:3555:4: ( ( ( ({...}? => ( ({...}? => ( (lv_abstract_1_0= Abstract ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_root_2_0= Root ) ) ) ) ) )* ) ) + { + // InternalSolverLanguageParser.g:3555:4: ( ( ( ({...}? => ( ({...}? => ( (lv_abstract_1_0= Abstract ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_root_2_0= Root ) ) ) ) ) )* ) ) + // InternalSolverLanguageParser.g:3556:5: ( ( ({...}? => ( ({...}? => ( (lv_abstract_1_0= Abstract ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_root_2_0= Root ) ) ) ) ) )* ) + { + + getUnorderedGroupHelper().enter(grammarAccess.getClassDeclarationAccess().getUnorderedGroup_0()); + + // InternalSolverLanguageParser.g:3559:5: ( ( ({...}? => ( ({...}? => ( (lv_abstract_1_0= Abstract ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_root_2_0= Root ) ) ) ) ) )* ) + // InternalSolverLanguageParser.g:3560:6: ( ({...}? => ( ({...}? => ( (lv_abstract_1_0= Abstract ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_root_2_0= Root ) ) ) ) ) )* + { + // InternalSolverLanguageParser.g:3560:6: ( ({...}? => ( ({...}? => ( (lv_abstract_1_0= Abstract ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_root_2_0= Root ) ) ) ) ) )* + loop39: + do { + int alt39=3; + int LA39_0 = input.LA(1); - if ( (LA35_0==Abstract) ) { - alt35=1; - } - switch (alt35) { - case 1 : - // InternalSolverLanguageParser.g:3208:4: (lv_abstract_0_0= Abstract ) - { - // InternalSolverLanguageParser.g:3208:4: (lv_abstract_0_0= Abstract ) - // InternalSolverLanguageParser.g:3209:5: lv_abstract_0_0= Abstract - { - lv_abstract_0_0=(Token)match(input,Abstract,FOLLOW_46); + if ( LA39_0 == Abstract && getUnorderedGroupHelper().canSelect(grammarAccess.getClassDeclarationAccess().getUnorderedGroup_0(), 0) ) { + alt39=1; + } + else if ( LA39_0 == Root && getUnorderedGroupHelper().canSelect(grammarAccess.getClassDeclarationAccess().getUnorderedGroup_0(), 1) ) { + alt39=2; + } - newLeafNode(lv_abstract_0_0, grammarAccess.getClassDefinitionAccess().getAbstractAbstractKeyword_0_0()); - - if (current==null) { - current = createModelElement(grammarAccess.getClassDefinitionRule()); - } - setWithLastConsumed(current, "abstract", true, "abstract"); - + switch (alt39) { + case 1 : + // InternalSolverLanguageParser.g:3561:4: ({...}? => ( ({...}? => ( (lv_abstract_1_0= Abstract ) ) ) ) ) + { + // InternalSolverLanguageParser.g:3561:4: ({...}? => ( ({...}? => ( (lv_abstract_1_0= Abstract ) ) ) ) ) + // InternalSolverLanguageParser.g:3562:5: {...}? => ( ({...}? => ( (lv_abstract_1_0= Abstract ) ) ) ) + { + if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getClassDeclarationAccess().getUnorderedGroup_0(), 0) ) { + throw new FailedPredicateException(input, "ruleClassDeclaration", "getUnorderedGroupHelper().canSelect(grammarAccess.getClassDeclarationAccess().getUnorderedGroup_0(), 0)"); + } + // InternalSolverLanguageParser.g:3562:113: ( ({...}? => ( (lv_abstract_1_0= Abstract ) ) ) ) + // InternalSolverLanguageParser.g:3563:6: ({...}? => ( (lv_abstract_1_0= Abstract ) ) ) + { - } + getUnorderedGroupHelper().select(grammarAccess.getClassDeclarationAccess().getUnorderedGroup_0(), 0); + + // InternalSolverLanguageParser.g:3566:9: ({...}? => ( (lv_abstract_1_0= Abstract ) ) ) + // InternalSolverLanguageParser.g:3566:10: {...}? => ( (lv_abstract_1_0= Abstract ) ) + { + if ( !((true)) ) { + throw new FailedPredicateException(input, "ruleClassDeclaration", "true"); + } + // InternalSolverLanguageParser.g:3566:19: ( (lv_abstract_1_0= Abstract ) ) + // InternalSolverLanguageParser.g:3566:20: (lv_abstract_1_0= Abstract ) + { + // InternalSolverLanguageParser.g:3566:20: (lv_abstract_1_0= Abstract ) + // InternalSolverLanguageParser.g:3567:10: lv_abstract_1_0= Abstract + { + lv_abstract_1_0=(Token)match(input,Abstract,FOLLOW_50); + newLeafNode(lv_abstract_1_0, grammarAccess.getClassDeclarationAccess().getAbstractAbstractKeyword_0_0_0()); + - } - break; + if (current==null) { + current = createModelElement(grammarAccess.getClassDeclarationRule()); + } + setWithLastConsumed(current, "abstract", true, "abstract"); + + + } + + + } + + + } + + + getUnorderedGroupHelper().returnFromSelection(grammarAccess.getClassDeclarationAccess().getUnorderedGroup_0()); + + + } + + + } + + + } + break; + case 2 : + // InternalSolverLanguageParser.g:3584:4: ({...}? => ( ({...}? => ( (lv_root_2_0= Root ) ) ) ) ) + { + // InternalSolverLanguageParser.g:3584:4: ({...}? => ( ({...}? => ( (lv_root_2_0= Root ) ) ) ) ) + // InternalSolverLanguageParser.g:3585:5: {...}? => ( ({...}? => ( (lv_root_2_0= Root ) ) ) ) + { + if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getClassDeclarationAccess().getUnorderedGroup_0(), 1) ) { + throw new FailedPredicateException(input, "ruleClassDeclaration", "getUnorderedGroupHelper().canSelect(grammarAccess.getClassDeclarationAccess().getUnorderedGroup_0(), 1)"); + } + // InternalSolverLanguageParser.g:3585:113: ( ({...}? => ( (lv_root_2_0= Root ) ) ) ) + // InternalSolverLanguageParser.g:3586:6: ({...}? => ( (lv_root_2_0= Root ) ) ) + { + + getUnorderedGroupHelper().select(grammarAccess.getClassDeclarationAccess().getUnorderedGroup_0(), 1); + + // InternalSolverLanguageParser.g:3589:9: ({...}? => ( (lv_root_2_0= Root ) ) ) + // InternalSolverLanguageParser.g:3589:10: {...}? => ( (lv_root_2_0= Root ) ) + { + if ( !((true)) ) { + throw new FailedPredicateException(input, "ruleClassDeclaration", "true"); + } + // InternalSolverLanguageParser.g:3589:19: ( (lv_root_2_0= Root ) ) + // InternalSolverLanguageParser.g:3589:20: (lv_root_2_0= Root ) + { + // InternalSolverLanguageParser.g:3589:20: (lv_root_2_0= Root ) + // InternalSolverLanguageParser.g:3590:10: lv_root_2_0= Root + { + lv_root_2_0=(Token)match(input,Root,FOLLOW_50); + + newLeafNode(lv_root_2_0, grammarAccess.getClassDeclarationAccess().getRootRootKeyword_0_1_0()); + + + if (current==null) { + current = createModelElement(grammarAccess.getClassDeclarationRule()); + } + setWithLastConsumed(current, "root", true, "root"); + + + } + + + } + + + } + + + getUnorderedGroupHelper().returnFromSelection(grammarAccess.getClassDeclarationAccess().getUnorderedGroup_0()); + + + } + + + } + + + } + break; + + default : + break loop39; + } + } while (true); + + + } + + + } + + + getUnorderedGroupHelper().leave(grammarAccess.getClassDeclarationAccess().getUnorderedGroup_0()); + } - otherlv_1=(Token)match(input,Class,FOLLOW_20); + otherlv_3=(Token)match(input,Class,FOLLOW_28); - newLeafNode(otherlv_1, grammarAccess.getClassDefinitionAccess().getClassKeyword_1()); + newLeafNode(otherlv_3, grammarAccess.getClassDeclarationAccess().getClassKeyword_1()); - // InternalSolverLanguageParser.g:3225:3: ( (lv_name_2_0= RULE_ID ) ) - // InternalSolverLanguageParser.g:3226:4: (lv_name_2_0= RULE_ID ) + // InternalSolverLanguageParser.g:3618:3: ( (lv_name_4_0= RULE_ID ) ) + // InternalSolverLanguageParser.g:3619:4: (lv_name_4_0= RULE_ID ) { - // InternalSolverLanguageParser.g:3226:4: (lv_name_2_0= RULE_ID ) - // InternalSolverLanguageParser.g:3227:5: lv_name_2_0= RULE_ID + // InternalSolverLanguageParser.g:3619:4: (lv_name_4_0= RULE_ID ) + // InternalSolverLanguageParser.g:3620:5: lv_name_4_0= RULE_ID { - lv_name_2_0=(Token)match(input,RULE_ID,FOLLOW_47); + lv_name_4_0=(Token)match(input,RULE_ID,FOLLOW_51); - newLeafNode(lv_name_2_0, grammarAccess.getClassDefinitionAccess().getNameIDTerminalRuleCall_2_0()); + newLeafNode(lv_name_4_0, grammarAccess.getClassDeclarationAccess().getNameIDTerminalRuleCall_2_0()); if (current==null) { - current = createModelElement(grammarAccess.getClassDefinitionRule()); + current = createModelElement(grammarAccess.getClassDeclarationRule()); } setWithLastConsumed( current, "name", - lv_name_2_0, + lv_name_4_0, "org.eclipse.xtext.common.Terminals.ID"); @@ -8199,36 +9246,36 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } - // InternalSolverLanguageParser.g:3243:3: (otherlv_3= Extends ( ( ruleQualifiedName ) ) (otherlv_5= Comma ( ( ruleQualifiedName ) ) )* )? - int alt37=2; - int LA37_0 = input.LA(1); + // InternalSolverLanguageParser.g:3636:3: (otherlv_5= Extends ( ( ruleQualifiedName ) ) (otherlv_7= Comma ( ( ruleQualifiedName ) ) )* )? + int alt41=2; + int LA41_0 = input.LA(1); - if ( (LA37_0==Extends) ) { - alt37=1; + if ( (LA41_0==Extends) ) { + alt41=1; } - switch (alt37) { + switch (alt41) { case 1 : - // InternalSolverLanguageParser.g:3244:4: otherlv_3= Extends ( ( ruleQualifiedName ) ) (otherlv_5= Comma ( ( ruleQualifiedName ) ) )* + // InternalSolverLanguageParser.g:3637:4: otherlv_5= Extends ( ( ruleQualifiedName ) ) (otherlv_7= Comma ( ( ruleQualifiedName ) ) )* { - otherlv_3=(Token)match(input,Extends,FOLLOW_8); + otherlv_5=(Token)match(input,Extends,FOLLOW_3); - newLeafNode(otherlv_3, grammarAccess.getClassDefinitionAccess().getExtendsKeyword_3_0()); + newLeafNode(otherlv_5, grammarAccess.getClassDeclarationAccess().getExtendsKeyword_3_0()); - // InternalSolverLanguageParser.g:3248:4: ( ( ruleQualifiedName ) ) - // InternalSolverLanguageParser.g:3249:5: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:3641:4: ( ( ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:3642:5: ( ruleQualifiedName ) { - // InternalSolverLanguageParser.g:3249:5: ( ruleQualifiedName ) - // InternalSolverLanguageParser.g:3250:6: ruleQualifiedName + // InternalSolverLanguageParser.g:3642:5: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:3643:6: ruleQualifiedName { if (current==null) { - current = createModelElement(grammarAccess.getClassDefinitionRule()); + current = createModelElement(grammarAccess.getClassDeclarationRule()); } - newCompositeNode(grammarAccess.getClassDefinitionAccess().getSuperclassesNamedElementCrossReference_3_1_0()); + newCompositeNode(grammarAccess.getClassDeclarationAccess().getSupertypesSymbolCrossReference_3_1_0()); - pushFollow(FOLLOW_48); + pushFollow(FOLLOW_52); ruleQualifiedName(); state._fsp--; @@ -8242,40 +9289,40 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } - // InternalSolverLanguageParser.g:3264:4: (otherlv_5= Comma ( ( ruleQualifiedName ) ) )* - loop36: + // InternalSolverLanguageParser.g:3657:4: (otherlv_7= Comma ( ( ruleQualifiedName ) ) )* + loop40: do { - int alt36=2; - int LA36_0 = input.LA(1); + int alt40=2; + int LA40_0 = input.LA(1); - if ( (LA36_0==Comma) ) { - alt36=1; + if ( (LA40_0==Comma) ) { + alt40=1; } - switch (alt36) { + switch (alt40) { case 1 : - // InternalSolverLanguageParser.g:3265:5: otherlv_5= Comma ( ( ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:3658:5: otherlv_7= Comma ( ( ruleQualifiedName ) ) { - otherlv_5=(Token)match(input,Comma,FOLLOW_8); + otherlv_7=(Token)match(input,Comma,FOLLOW_3); - newLeafNode(otherlv_5, grammarAccess.getClassDefinitionAccess().getCommaKeyword_3_2_0()); + newLeafNode(otherlv_7, grammarAccess.getClassDeclarationAccess().getCommaKeyword_3_2_0()); - // InternalSolverLanguageParser.g:3269:5: ( ( ruleQualifiedName ) ) - // InternalSolverLanguageParser.g:3270:6: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:3662:5: ( ( ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:3663:6: ( ruleQualifiedName ) { - // InternalSolverLanguageParser.g:3270:6: ( ruleQualifiedName ) - // InternalSolverLanguageParser.g:3271:7: ruleQualifiedName + // InternalSolverLanguageParser.g:3663:6: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:3664:7: ruleQualifiedName { if (current==null) { - current = createModelElement(grammarAccess.getClassDefinitionRule()); + current = createModelElement(grammarAccess.getClassDeclarationRule()); } - newCompositeNode(grammarAccess.getClassDefinitionAccess().getSuperclassesNamedElementCrossReference_3_2_1_0()); + newCompositeNode(grammarAccess.getClassDeclarationAccess().getSupertypesSymbolCrossReference_3_2_1_0()); - pushFollow(FOLLOW_48); + pushFollow(FOLLOW_52); ruleQualifiedName(); state._fsp--; @@ -8294,7 +9341,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { break; default : - break loop36; + break loop40; } } while (true); @@ -8304,63 +9351,105 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } - otherlv_7=(Token)match(input,LeftCurlyBracket,FOLLOW_49); + // InternalSolverLanguageParser.g:3680:3: ( (otherlv_9= LeftCurlyBracket ( (lv_fields_10_0= ruleField ) )* otherlv_11= RightCurlyBracket ) | this_FULL_STOP_12= RULE_FULL_STOP ) + int alt43=2; + int LA43_0 = input.LA(1); - newLeafNode(otherlv_7, grammarAccess.getClassDefinitionAccess().getLeftCurlyBracketKeyword_4()); - - // InternalSolverLanguageParser.g:3291:3: ( (lv_members_8_0= ruleMemberDefinition ) )* - loop38: - do { - int alt38=2; - int LA38_0 = input.LA(1); + if ( (LA43_0==LeftCurlyBracket) ) { + alt43=1; + } + else if ( (LA43_0==RULE_FULL_STOP) ) { + alt43=2; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 43, 0, input); + + throw nvae; + } + switch (alt43) { + case 1 : + // InternalSolverLanguageParser.g:3681:4: (otherlv_9= LeftCurlyBracket ( (lv_fields_10_0= ruleField ) )* otherlv_11= RightCurlyBracket ) + { + // InternalSolverLanguageParser.g:3681:4: (otherlv_9= LeftCurlyBracket ( (lv_fields_10_0= ruleField ) )* otherlv_11= RightCurlyBracket ) + // InternalSolverLanguageParser.g:3682:5: otherlv_9= LeftCurlyBracket ( (lv_fields_10_0= ruleField ) )* otherlv_11= RightCurlyBracket + { + otherlv_9=(Token)match(input,LeftCurlyBracket,FOLLOW_53); + + newLeafNode(otherlv_9, grammarAccess.getClassDeclarationAccess().getLeftCurlyBracketKeyword_4_0_0()); + + // InternalSolverLanguageParser.g:3686:5: ( (lv_fields_10_0= ruleField ) )* + loop42: + do { + int alt42=2; + int LA42_0 = input.LA(1); + + if ( (LA42_0==Contains||(LA42_0>=Object && LA42_0<=Refers)||LA42_0==RULE_QUOTED_ID||LA42_0==RULE_ID) ) { + alt42=1; + } + + + switch (alt42) { + case 1 : + // InternalSolverLanguageParser.g:3687:6: (lv_fields_10_0= ruleField ) + { + // InternalSolverLanguageParser.g:3687:6: (lv_fields_10_0= ruleField ) + // InternalSolverLanguageParser.g:3688:7: lv_fields_10_0= ruleField + { + + newCompositeNode(grammarAccess.getClassDeclarationAccess().getFieldsFieldParserRuleCall_4_0_1_0()); + + pushFollow(FOLLOW_53); + lv_fields_10_0=ruleField(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getClassDeclarationRule()); + } + add( + current, + "fields", + lv_fields_10_0, + "org.eclipse.viatra.solver.language.SolverLanguage.Field"); + afterParserOrEnumRuleCall(); + - if ( (LA38_0==Contains||LA38_0==RULE_QUOTED_ID||LA38_0==RULE_ID) ) { - alt38=1; - } + } - switch (alt38) { - case 1 : - // InternalSolverLanguageParser.g:3292:4: (lv_members_8_0= ruleMemberDefinition ) - { - // InternalSolverLanguageParser.g:3292:4: (lv_members_8_0= ruleMemberDefinition ) - // InternalSolverLanguageParser.g:3293:5: lv_members_8_0= ruleMemberDefinition - { + } + break; - newCompositeNode(grammarAccess.getClassDefinitionAccess().getMembersMemberDefinitionParserRuleCall_5_0()); - - pushFollow(FOLLOW_49); - lv_members_8_0=ruleMemberDefinition(); + default : + break loop42; + } + } while (true); - state._fsp--; + otherlv_11=(Token)match(input,RightCurlyBracket,FOLLOW_2); + newLeafNode(otherlv_11, grammarAccess.getClassDeclarationAccess().getRightCurlyBracketKeyword_4_0_2()); + - if (current==null) { - current = createModelElementForParent(grammarAccess.getClassDefinitionRule()); - } - add( - current, - "members", - lv_members_8_0, - "org.eclipse.viatra.solver.language.SolverLanguage.MemberDefinition"); - afterParserOrEnumRuleCall(); - + } - } + } + break; + case 2 : + // InternalSolverLanguageParser.g:3711:4: this_FULL_STOP_12= RULE_FULL_STOP + { + this_FULL_STOP_12=(Token)match(input,RULE_FULL_STOP,FOLLOW_2); - } - break; + newLeafNode(this_FULL_STOP_12, grammarAccess.getClassDeclarationAccess().getFULL_STOPTerminalRuleCall_4_1()); + - default : - break loop38; - } - } while (true); + } + break; - otherlv_9=(Token)match(input,RightCurlyBracket,FOLLOW_2); + } - newLeafNode(otherlv_9, grammarAccess.getClassDefinitionAccess().getRightCurlyBracketKeyword_6()); - } @@ -8380,28 +9469,28 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } return current; } - // $ANTLR end "ruleClassDefinition" + // $ANTLR end "ruleClassDeclaration" - // $ANTLR start "entryRuleMemberDefinition" - // InternalSolverLanguageParser.g:3318:1: entryRuleMemberDefinition returns [EObject current=null] : iv_ruleMemberDefinition= ruleMemberDefinition EOF ; - public final EObject entryRuleMemberDefinition() throws RecognitionException { + // $ANTLR start "entryRuleField" + // InternalSolverLanguageParser.g:3720:1: entryRuleField returns [EObject current=null] : iv_ruleField= ruleField EOF ; + public final EObject entryRuleField() throws RecognitionException { EObject current = null; - EObject iv_ruleMemberDefinition = null; + EObject iv_ruleField = null; try { - // InternalSolverLanguageParser.g:3318:57: (iv_ruleMemberDefinition= ruleMemberDefinition EOF ) - // InternalSolverLanguageParser.g:3319:2: iv_ruleMemberDefinition= ruleMemberDefinition EOF + // InternalSolverLanguageParser.g:3720:46: (iv_ruleField= ruleField EOF ) + // InternalSolverLanguageParser.g:3721:2: iv_ruleField= ruleField EOF { - newCompositeNode(grammarAccess.getMemberDefinitionRule()); + newCompositeNode(grammarAccess.getFieldRule()); pushFollow(FOLLOW_1); - iv_ruleMemberDefinition=ruleMemberDefinition(); + iv_ruleField=ruleField(); state._fsp--; - current =iv_ruleMemberDefinition; + current =iv_ruleField; match(input,EOF,FOLLOW_2); } @@ -8416,55 +9505,93 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } return current; } - // $ANTLR end "entryRuleMemberDefinition" + // $ANTLR end "entryRuleField" - // $ANTLR start "ruleMemberDefinition" - // InternalSolverLanguageParser.g:3325:1: ruleMemberDefinition returns [EObject current=null] : ( ( (lv_containment_0_0= Contains ) )? ( ( ruleQualifiedName ) ) ( (lv_multiplicity_2_0= ruleMultiplicity ) )? ( (lv_name_3_0= RULE_ID ) ) (otherlv_4= Opposite ( ( ruleQualifiedName ) ) )? (otherlv_6= Semicolon )? ) ; - public final EObject ruleMemberDefinition() throws RecognitionException { + // $ANTLR start "ruleField" + // InternalSolverLanguageParser.g:3727:1: ruleField returns [EObject current=null] : ( ( ( (lv_containment_0_0= Contains ) ) | ( (lv_crossReference_1_0= Refers ) ) )? ( ( ruleQualifiedName ) ) ( (lv_multiplicity_3_0= ruleMultiplicity ) )? ( (lv_name_4_0= RULE_ID ) ) (otherlv_5= Opposite ( ( ruleQualifiedName ) ) )? (otherlv_7= Semicolon )? ) ; + public final EObject ruleField() throws RecognitionException { EObject current = null; Token lv_containment_0_0=null; - Token lv_name_3_0=null; - Token otherlv_4=null; - Token otherlv_6=null; - EObject lv_multiplicity_2_0 = null; + Token lv_crossReference_1_0=null; + Token lv_name_4_0=null; + Token otherlv_5=null; + Token otherlv_7=null; + EObject lv_multiplicity_3_0 = null; enterRule(); try { - // InternalSolverLanguageParser.g:3331:2: ( ( ( (lv_containment_0_0= Contains ) )? ( ( ruleQualifiedName ) ) ( (lv_multiplicity_2_0= ruleMultiplicity ) )? ( (lv_name_3_0= RULE_ID ) ) (otherlv_4= Opposite ( ( ruleQualifiedName ) ) )? (otherlv_6= Semicolon )? ) ) - // InternalSolverLanguageParser.g:3332:2: ( ( (lv_containment_0_0= Contains ) )? ( ( ruleQualifiedName ) ) ( (lv_multiplicity_2_0= ruleMultiplicity ) )? ( (lv_name_3_0= RULE_ID ) ) (otherlv_4= Opposite ( ( ruleQualifiedName ) ) )? (otherlv_6= Semicolon )? ) + // InternalSolverLanguageParser.g:3733:2: ( ( ( ( (lv_containment_0_0= Contains ) ) | ( (lv_crossReference_1_0= Refers ) ) )? ( ( ruleQualifiedName ) ) ( (lv_multiplicity_3_0= ruleMultiplicity ) )? ( (lv_name_4_0= RULE_ID ) ) (otherlv_5= Opposite ( ( ruleQualifiedName ) ) )? (otherlv_7= Semicolon )? ) ) + // InternalSolverLanguageParser.g:3734:2: ( ( ( (lv_containment_0_0= Contains ) ) | ( (lv_crossReference_1_0= Refers ) ) )? ( ( ruleQualifiedName ) ) ( (lv_multiplicity_3_0= ruleMultiplicity ) )? ( (lv_name_4_0= RULE_ID ) ) (otherlv_5= Opposite ( ( ruleQualifiedName ) ) )? (otherlv_7= Semicolon )? ) { - // InternalSolverLanguageParser.g:3332:2: ( ( (lv_containment_0_0= Contains ) )? ( ( ruleQualifiedName ) ) ( (lv_multiplicity_2_0= ruleMultiplicity ) )? ( (lv_name_3_0= RULE_ID ) ) (otherlv_4= Opposite ( ( ruleQualifiedName ) ) )? (otherlv_6= Semicolon )? ) - // InternalSolverLanguageParser.g:3333:3: ( (lv_containment_0_0= Contains ) )? ( ( ruleQualifiedName ) ) ( (lv_multiplicity_2_0= ruleMultiplicity ) )? ( (lv_name_3_0= RULE_ID ) ) (otherlv_4= Opposite ( ( ruleQualifiedName ) ) )? (otherlv_6= Semicolon )? + // InternalSolverLanguageParser.g:3734:2: ( ( ( (lv_containment_0_0= Contains ) ) | ( (lv_crossReference_1_0= Refers ) ) )? ( ( ruleQualifiedName ) ) ( (lv_multiplicity_3_0= ruleMultiplicity ) )? ( (lv_name_4_0= RULE_ID ) ) (otherlv_5= Opposite ( ( ruleQualifiedName ) ) )? (otherlv_7= Semicolon )? ) + // InternalSolverLanguageParser.g:3735:3: ( ( (lv_containment_0_0= Contains ) ) | ( (lv_crossReference_1_0= Refers ) ) )? ( ( ruleQualifiedName ) ) ( (lv_multiplicity_3_0= ruleMultiplicity ) )? ( (lv_name_4_0= RULE_ID ) ) (otherlv_5= Opposite ( ( ruleQualifiedName ) ) )? (otherlv_7= Semicolon )? { - // InternalSolverLanguageParser.g:3333:3: ( (lv_containment_0_0= Contains ) )? - int alt39=2; - int LA39_0 = input.LA(1); + // InternalSolverLanguageParser.g:3735:3: ( ( (lv_containment_0_0= Contains ) ) | ( (lv_crossReference_1_0= Refers ) ) )? + int alt44=3; + int LA44_0 = input.LA(1); - if ( (LA39_0==Contains) ) { - alt39=1; + if ( (LA44_0==Contains) ) { + alt44=1; + } + else if ( (LA44_0==Refers) ) { + alt44=2; } - switch (alt39) { + switch (alt44) { case 1 : - // InternalSolverLanguageParser.g:3334:4: (lv_containment_0_0= Contains ) + // InternalSolverLanguageParser.g:3736:4: ( (lv_containment_0_0= Contains ) ) + { + // InternalSolverLanguageParser.g:3736:4: ( (lv_containment_0_0= Contains ) ) + // InternalSolverLanguageParser.g:3737:5: (lv_containment_0_0= Contains ) { - // InternalSolverLanguageParser.g:3334:4: (lv_containment_0_0= Contains ) - // InternalSolverLanguageParser.g:3335:5: lv_containment_0_0= Contains + // InternalSolverLanguageParser.g:3737:5: (lv_containment_0_0= Contains ) + // InternalSolverLanguageParser.g:3738:6: lv_containment_0_0= Contains { - lv_containment_0_0=(Token)match(input,Contains,FOLLOW_8); + lv_containment_0_0=(Token)match(input,Contains,FOLLOW_3); - newLeafNode(lv_containment_0_0, grammarAccess.getMemberDefinitionAccess().getContainmentContainsKeyword_0_0()); - + newLeafNode(lv_containment_0_0, grammarAccess.getFieldAccess().getContainmentContainsKeyword_0_0_0()); + + + if (current==null) { + current = createModelElement(grammarAccess.getFieldRule()); + } + setWithLastConsumed(current, "containment", true, "contains"); + + + } + + + } + + + } + break; + case 2 : + // InternalSolverLanguageParser.g:3751:4: ( (lv_crossReference_1_0= Refers ) ) + { + // InternalSolverLanguageParser.g:3751:4: ( (lv_crossReference_1_0= Refers ) ) + // InternalSolverLanguageParser.g:3752:5: (lv_crossReference_1_0= Refers ) + { + // InternalSolverLanguageParser.g:3752:5: (lv_crossReference_1_0= Refers ) + // InternalSolverLanguageParser.g:3753:6: lv_crossReference_1_0= Refers + { + lv_crossReference_1_0=(Token)match(input,Refers,FOLLOW_3); + + newLeafNode(lv_crossReference_1_0, grammarAccess.getFieldAccess().getCrossReferenceRefersKeyword_0_1_0()); + + + if (current==null) { + current = createModelElement(grammarAccess.getFieldRule()); + } + setWithLastConsumed(current, "crossReference", true, "refers"); + + + } - if (current==null) { - current = createModelElement(grammarAccess.getMemberDefinitionRule()); - } - setWithLastConsumed(current, "containment", true, "contains"); - } @@ -8474,21 +9601,21 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } - // InternalSolverLanguageParser.g:3347:3: ( ( ruleQualifiedName ) ) - // InternalSolverLanguageParser.g:3348:4: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:3766:3: ( ( ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:3767:4: ( ruleQualifiedName ) { - // InternalSolverLanguageParser.g:3348:4: ( ruleQualifiedName ) - // InternalSolverLanguageParser.g:3349:5: ruleQualifiedName + // InternalSolverLanguageParser.g:3767:4: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:3768:5: ruleQualifiedName { if (current==null) { - current = createModelElement(grammarAccess.getMemberDefinitionRule()); + current = createModelElement(grammarAccess.getFieldRule()); } - newCompositeNode(grammarAccess.getMemberDefinitionAccess().getTypeNamedElementCrossReference_1_0()); + newCompositeNode(grammarAccess.getFieldAccess().getTypeSymbolCrossReference_1_0()); - pushFollow(FOLLOW_50); + pushFollow(FOLLOW_54); ruleQualifiedName(); state._fsp--; @@ -8502,36 +9629,36 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } - // InternalSolverLanguageParser.g:3363:3: ( (lv_multiplicity_2_0= ruleMultiplicity ) )? - int alt40=2; - int LA40_0 = input.LA(1); + // InternalSolverLanguageParser.g:3782:3: ( (lv_multiplicity_3_0= ruleMultiplicity ) )? + int alt45=2; + int LA45_0 = input.LA(1); - if ( (LA40_0==LeftSquareBracket) ) { - alt40=1; + if ( (LA45_0==LeftSquareBracket) ) { + alt45=1; } - switch (alt40) { + switch (alt45) { case 1 : - // InternalSolverLanguageParser.g:3364:4: (lv_multiplicity_2_0= ruleMultiplicity ) + // InternalSolverLanguageParser.g:3783:4: (lv_multiplicity_3_0= ruleMultiplicity ) { - // InternalSolverLanguageParser.g:3364:4: (lv_multiplicity_2_0= ruleMultiplicity ) - // InternalSolverLanguageParser.g:3365:5: lv_multiplicity_2_0= ruleMultiplicity + // InternalSolverLanguageParser.g:3783:4: (lv_multiplicity_3_0= ruleMultiplicity ) + // InternalSolverLanguageParser.g:3784:5: lv_multiplicity_3_0= ruleMultiplicity { - newCompositeNode(grammarAccess.getMemberDefinitionAccess().getMultiplicityMultiplicityParserRuleCall_2_0()); + newCompositeNode(grammarAccess.getFieldAccess().getMultiplicityMultiplicityParserRuleCall_2_0()); - pushFollow(FOLLOW_20); - lv_multiplicity_2_0=ruleMultiplicity(); + pushFollow(FOLLOW_28); + lv_multiplicity_3_0=ruleMultiplicity(); state._fsp--; if (current==null) { - current = createModelElementForParent(grammarAccess.getMemberDefinitionRule()); + current = createModelElementForParent(grammarAccess.getFieldRule()); } set( current, "multiplicity", - lv_multiplicity_2_0, + lv_multiplicity_3_0, "org.eclipse.viatra.solver.language.SolverLanguage.Multiplicity"); afterParserOrEnumRuleCall(); @@ -8544,24 +9671,24 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } - // InternalSolverLanguageParser.g:3382:3: ( (lv_name_3_0= RULE_ID ) ) - // InternalSolverLanguageParser.g:3383:4: (lv_name_3_0= RULE_ID ) + // InternalSolverLanguageParser.g:3801:3: ( (lv_name_4_0= RULE_ID ) ) + // InternalSolverLanguageParser.g:3802:4: (lv_name_4_0= RULE_ID ) { - // InternalSolverLanguageParser.g:3383:4: (lv_name_3_0= RULE_ID ) - // InternalSolverLanguageParser.g:3384:5: lv_name_3_0= RULE_ID + // InternalSolverLanguageParser.g:3802:4: (lv_name_4_0= RULE_ID ) + // InternalSolverLanguageParser.g:3803:5: lv_name_4_0= RULE_ID { - lv_name_3_0=(Token)match(input,RULE_ID,FOLLOW_51); + lv_name_4_0=(Token)match(input,RULE_ID,FOLLOW_55); - newLeafNode(lv_name_3_0, grammarAccess.getMemberDefinitionAccess().getNameIDTerminalRuleCall_3_0()); + newLeafNode(lv_name_4_0, grammarAccess.getFieldAccess().getNameIDTerminalRuleCall_3_0()); if (current==null) { - current = createModelElement(grammarAccess.getMemberDefinitionRule()); + current = createModelElement(grammarAccess.getFieldRule()); } setWithLastConsumed( current, "name", - lv_name_3_0, + lv_name_4_0, "org.eclipse.xtext.common.Terminals.ID"); @@ -8570,36 +9697,36 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } - // InternalSolverLanguageParser.g:3400:3: (otherlv_4= Opposite ( ( ruleQualifiedName ) ) )? - int alt41=2; - int LA41_0 = input.LA(1); + // InternalSolverLanguageParser.g:3819:3: (otherlv_5= Opposite ( ( ruleQualifiedName ) ) )? + int alt46=2; + int LA46_0 = input.LA(1); - if ( (LA41_0==Opposite) ) { - alt41=1; + if ( (LA46_0==Opposite) ) { + alt46=1; } - switch (alt41) { + switch (alt46) { case 1 : - // InternalSolverLanguageParser.g:3401:4: otherlv_4= Opposite ( ( ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:3820:4: otherlv_5= Opposite ( ( ruleQualifiedName ) ) { - otherlv_4=(Token)match(input,Opposite,FOLLOW_8); + otherlv_5=(Token)match(input,Opposite,FOLLOW_3); - newLeafNode(otherlv_4, grammarAccess.getMemberDefinitionAccess().getOppositeKeyword_4_0()); + newLeafNode(otherlv_5, grammarAccess.getFieldAccess().getOppositeKeyword_4_0()); - // InternalSolverLanguageParser.g:3405:4: ( ( ruleQualifiedName ) ) - // InternalSolverLanguageParser.g:3406:5: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:3824:4: ( ( ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:3825:5: ( ruleQualifiedName ) { - // InternalSolverLanguageParser.g:3406:5: ( ruleQualifiedName ) - // InternalSolverLanguageParser.g:3407:6: ruleQualifiedName + // InternalSolverLanguageParser.g:3825:5: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:3826:6: ruleQualifiedName { if (current==null) { - current = createModelElement(grammarAccess.getMemberDefinitionRule()); + current = createModelElement(grammarAccess.getFieldRule()); } - newCompositeNode(grammarAccess.getMemberDefinitionAccess().getOppositeNamedElementCrossReference_4_1_0()); + newCompositeNode(grammarAccess.getFieldAccess().getOppositeSymbolCrossReference_4_1_0()); - pushFollow(FOLLOW_26); + pushFollow(FOLLOW_31); ruleQualifiedName(); state._fsp--; @@ -8619,20 +9746,20 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } - // InternalSolverLanguageParser.g:3422:3: (otherlv_6= Semicolon )? - int alt42=2; - int LA42_0 = input.LA(1); + // InternalSolverLanguageParser.g:3841:3: (otherlv_7= Semicolon )? + int alt47=2; + int LA47_0 = input.LA(1); - if ( (LA42_0==Semicolon) ) { - alt42=1; + if ( (LA47_0==Semicolon) ) { + alt47=1; } - switch (alt42) { + switch (alt47) { case 1 : - // InternalSolverLanguageParser.g:3423:4: otherlv_6= Semicolon + // InternalSolverLanguageParser.g:3842:4: otherlv_7= Semicolon { - otherlv_6=(Token)match(input,Semicolon,FOLLOW_2); + otherlv_7=(Token)match(input,Semicolon,FOLLOW_2); - newLeafNode(otherlv_6, grammarAccess.getMemberDefinitionAccess().getSemicolonKeyword_5()); + newLeafNode(otherlv_7, grammarAccess.getFieldAccess().getSemicolonKeyword_5()); } @@ -8659,11 +9786,11 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } return current; } - // $ANTLR end "ruleMemberDefinition" + // $ANTLR end "ruleField" // $ANTLR start "entryRuleMultiplicity" - // InternalSolverLanguageParser.g:3432:1: entryRuleMultiplicity returns [EObject current=null] : iv_ruleMultiplicity= ruleMultiplicity EOF ; + // InternalSolverLanguageParser.g:3851:1: entryRuleMultiplicity returns [EObject current=null] : iv_ruleMultiplicity= ruleMultiplicity EOF ; public final EObject entryRuleMultiplicity() throws RecognitionException { EObject current = null; @@ -8671,8 +9798,8 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { try { - // InternalSolverLanguageParser.g:3432:53: (iv_ruleMultiplicity= ruleMultiplicity EOF ) - // InternalSolverLanguageParser.g:3433:2: iv_ruleMultiplicity= ruleMultiplicity EOF + // InternalSolverLanguageParser.g:3851:53: (iv_ruleMultiplicity= ruleMultiplicity EOF ) + // InternalSolverLanguageParser.g:3852:2: iv_ruleMultiplicity= ruleMultiplicity EOF { newCompositeNode(grammarAccess.getMultiplicityRule()); pushFollow(FOLLOW_1); @@ -8699,11 +9826,11 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleMultiplicity" - // InternalSolverLanguageParser.g:3439:1: ruleMultiplicity returns [EObject current=null] : (this_ManyMultiplicity_0= ruleManyMultiplicity | this_ExactMultiplicity_1= ruleExactMultiplicity | this_BoundedMultiplicity_2= ruleBoundedMultiplicity ) ; + // InternalSolverLanguageParser.g:3858:1: ruleMultiplicity returns [EObject current=null] : (this_UnboundedMultiplicity_0= ruleUnboundedMultiplicity | this_ExactMultiplicity_1= ruleExactMultiplicity | this_BoundedMultiplicity_2= ruleBoundedMultiplicity ) ; public final EObject ruleMultiplicity() throws RecognitionException { EObject current = null; - EObject this_ManyMultiplicity_0 = null; + EObject this_UnboundedMultiplicity_0 = null; EObject this_ExactMultiplicity_1 = null; @@ -8714,112 +9841,324 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { enterRule(); try { - // InternalSolverLanguageParser.g:3445:2: ( (this_ManyMultiplicity_0= ruleManyMultiplicity | this_ExactMultiplicity_1= ruleExactMultiplicity | this_BoundedMultiplicity_2= ruleBoundedMultiplicity ) ) - // InternalSolverLanguageParser.g:3446:2: (this_ManyMultiplicity_0= ruleManyMultiplicity | this_ExactMultiplicity_1= ruleExactMultiplicity | this_BoundedMultiplicity_2= ruleBoundedMultiplicity ) + // InternalSolverLanguageParser.g:3864:2: ( (this_UnboundedMultiplicity_0= ruleUnboundedMultiplicity | this_ExactMultiplicity_1= ruleExactMultiplicity | this_BoundedMultiplicity_2= ruleBoundedMultiplicity ) ) + // InternalSolverLanguageParser.g:3865:2: (this_UnboundedMultiplicity_0= ruleUnboundedMultiplicity | this_ExactMultiplicity_1= ruleExactMultiplicity | this_BoundedMultiplicity_2= ruleBoundedMultiplicity ) { - // InternalSolverLanguageParser.g:3446:2: (this_ManyMultiplicity_0= ruleManyMultiplicity | this_ExactMultiplicity_1= ruleExactMultiplicity | this_BoundedMultiplicity_2= ruleBoundedMultiplicity ) - int alt43=3; - int LA43_0 = input.LA(1); + // InternalSolverLanguageParser.g:3865:2: (this_UnboundedMultiplicity_0= ruleUnboundedMultiplicity | this_ExactMultiplicity_1= ruleExactMultiplicity | this_BoundedMultiplicity_2= ruleBoundedMultiplicity ) + int alt48=3; + int LA48_0 = input.LA(1); - if ( (LA43_0==LeftSquareBracket) ) { + if ( (LA48_0==LeftSquareBracket) ) { switch ( input.LA(2) ) { case RULE_INT: { - int LA43_2 = input.LA(3); + int LA48_2 = input.LA(3); - if ( (LA43_2==FullStopFullStop) ) { - alt43=3; + if ( (LA48_2==RightSquareBracket) ) { + alt48=2; } - else if ( (LA43_2==RightSquareBracket) ) { - alt43=2; + else if ( (LA48_2==Comma) ) { + alt48=3; } else { NoViableAltException nvae = - new NoViableAltException("", 43, 2, input); + new NoViableAltException("", 48, 2, input); throw nvae; } } break; - case Asterisk: + case RightSquareBracket: { - alt43=2; + alt48=1; } break; - case RightSquareBracket: + case Asterisk: { - alt43=1; + alt48=2; } break; default: NoViableAltException nvae = - new NoViableAltException("", 43, 1, input); + new NoViableAltException("", 48, 1, input); throw nvae; } } - else { - NoViableAltException nvae = - new NoViableAltException("", 43, 0, input); + else { + NoViableAltException nvae = + new NoViableAltException("", 48, 0, input); + + throw nvae; + } + switch (alt48) { + case 1 : + // InternalSolverLanguageParser.g:3866:3: this_UnboundedMultiplicity_0= ruleUnboundedMultiplicity + { + + newCompositeNode(grammarAccess.getMultiplicityAccess().getUnboundedMultiplicityParserRuleCall_0()); + + pushFollow(FOLLOW_2); + this_UnboundedMultiplicity_0=ruleUnboundedMultiplicity(); + + state._fsp--; + + + current = this_UnboundedMultiplicity_0; + afterParserOrEnumRuleCall(); + + + } + break; + case 2 : + // InternalSolverLanguageParser.g:3875:3: this_ExactMultiplicity_1= ruleExactMultiplicity + { + + newCompositeNode(grammarAccess.getMultiplicityAccess().getExactMultiplicityParserRuleCall_1()); + + pushFollow(FOLLOW_2); + this_ExactMultiplicity_1=ruleExactMultiplicity(); + + state._fsp--; + + + current = this_ExactMultiplicity_1; + afterParserOrEnumRuleCall(); + + + } + break; + case 3 : + // InternalSolverLanguageParser.g:3884:3: this_BoundedMultiplicity_2= ruleBoundedMultiplicity + { + + newCompositeNode(grammarAccess.getMultiplicityAccess().getBoundedMultiplicityParserRuleCall_2()); + + pushFollow(FOLLOW_2); + this_BoundedMultiplicity_2=ruleBoundedMultiplicity(); + + state._fsp--; + + + current = this_BoundedMultiplicity_2; + afterParserOrEnumRuleCall(); + + + } + break; + + } + + + } + + + leaveRule(); + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleMultiplicity" + + + // $ANTLR start "entryRuleUnboundedMultiplicity" + // InternalSolverLanguageParser.g:3896:1: entryRuleUnboundedMultiplicity returns [EObject current=null] : iv_ruleUnboundedMultiplicity= ruleUnboundedMultiplicity EOF ; + public final EObject entryRuleUnboundedMultiplicity() throws RecognitionException { + EObject current = null; + + EObject iv_ruleUnboundedMultiplicity = null; + + + try { + // InternalSolverLanguageParser.g:3896:62: (iv_ruleUnboundedMultiplicity= ruleUnboundedMultiplicity EOF ) + // InternalSolverLanguageParser.g:3897:2: iv_ruleUnboundedMultiplicity= ruleUnboundedMultiplicity EOF + { + newCompositeNode(grammarAccess.getUnboundedMultiplicityRule()); + pushFollow(FOLLOW_1); + iv_ruleUnboundedMultiplicity=ruleUnboundedMultiplicity(); + + state._fsp--; + + current =iv_ruleUnboundedMultiplicity; + match(input,EOF,FOLLOW_2); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleUnboundedMultiplicity" + + + // $ANTLR start "ruleUnboundedMultiplicity" + // InternalSolverLanguageParser.g:3903:1: ruleUnboundedMultiplicity returns [EObject current=null] : ( () otherlv_1= LeftSquareBracket otherlv_2= RightSquareBracket ) ; + public final EObject ruleUnboundedMultiplicity() throws RecognitionException { + EObject current = null; + + Token otherlv_1=null; + Token otherlv_2=null; + + + enterRule(); + + try { + // InternalSolverLanguageParser.g:3909:2: ( ( () otherlv_1= LeftSquareBracket otherlv_2= RightSquareBracket ) ) + // InternalSolverLanguageParser.g:3910:2: ( () otherlv_1= LeftSquareBracket otherlv_2= RightSquareBracket ) + { + // InternalSolverLanguageParser.g:3910:2: ( () otherlv_1= LeftSquareBracket otherlv_2= RightSquareBracket ) + // InternalSolverLanguageParser.g:3911:3: () otherlv_1= LeftSquareBracket otherlv_2= RightSquareBracket + { + // InternalSolverLanguageParser.g:3911:3: () + // InternalSolverLanguageParser.g:3912:4: + { + + current = forceCreateModelElement( + grammarAccess.getUnboundedMultiplicityAccess().getUnboundedMultiplicityAction_0(), + current); + + + } + + otherlv_1=(Token)match(input,LeftSquareBracket,FOLLOW_49); + + newLeafNode(otherlv_1, grammarAccess.getUnboundedMultiplicityAccess().getLeftSquareBracketKeyword_1()); + + otherlv_2=(Token)match(input,RightSquareBracket,FOLLOW_2); + + newLeafNode(otherlv_2, grammarAccess.getUnboundedMultiplicityAccess().getRightSquareBracketKeyword_2()); + + + } + + + } + + + leaveRule(); + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleUnboundedMultiplicity" + + + // $ANTLR start "entryRuleExactMultiplicity" + // InternalSolverLanguageParser.g:3930:1: entryRuleExactMultiplicity returns [EObject current=null] : iv_ruleExactMultiplicity= ruleExactMultiplicity EOF ; + public final EObject entryRuleExactMultiplicity() throws RecognitionException { + EObject current = null; + + EObject iv_ruleExactMultiplicity = null; + + + try { + // InternalSolverLanguageParser.g:3930:58: (iv_ruleExactMultiplicity= ruleExactMultiplicity EOF ) + // InternalSolverLanguageParser.g:3931:2: iv_ruleExactMultiplicity= ruleExactMultiplicity EOF + { + newCompositeNode(grammarAccess.getExactMultiplicityRule()); + pushFollow(FOLLOW_1); + iv_ruleExactMultiplicity=ruleExactMultiplicity(); + + state._fsp--; + + current =iv_ruleExactMultiplicity; + match(input,EOF,FOLLOW_2); + + } - throw nvae; + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); } - switch (alt43) { - case 1 : - // InternalSolverLanguageParser.g:3447:3: this_ManyMultiplicity_0= ruleManyMultiplicity - { + finally { + } + return current; + } + // $ANTLR end "entryRuleExactMultiplicity" - newCompositeNode(grammarAccess.getMultiplicityAccess().getManyMultiplicityParserRuleCall_0()); - - pushFollow(FOLLOW_2); - this_ManyMultiplicity_0=ruleManyMultiplicity(); - state._fsp--; + // $ANTLR start "ruleExactMultiplicity" + // InternalSolverLanguageParser.g:3937:1: ruleExactMultiplicity returns [EObject current=null] : (otherlv_0= LeftSquareBracket ( (lv_value_1_0= ruleUpperMultiplicty ) ) otherlv_2= RightSquareBracket ) ; + public final EObject ruleExactMultiplicity() throws RecognitionException { + EObject current = null; + Token otherlv_0=null; + Token otherlv_2=null; + AntlrDatatypeRuleToken lv_value_1_0 = null; - current = this_ManyMultiplicity_0; - afterParserOrEnumRuleCall(); - - } - break; - case 2 : - // InternalSolverLanguageParser.g:3456:3: this_ExactMultiplicity_1= ruleExactMultiplicity - { - newCompositeNode(grammarAccess.getMultiplicityAccess().getExactMultiplicityParserRuleCall_1()); - - pushFollow(FOLLOW_2); - this_ExactMultiplicity_1=ruleExactMultiplicity(); + enterRule(); - state._fsp--; + try { + // InternalSolverLanguageParser.g:3943:2: ( (otherlv_0= LeftSquareBracket ( (lv_value_1_0= ruleUpperMultiplicty ) ) otherlv_2= RightSquareBracket ) ) + // InternalSolverLanguageParser.g:3944:2: (otherlv_0= LeftSquareBracket ( (lv_value_1_0= ruleUpperMultiplicty ) ) otherlv_2= RightSquareBracket ) + { + // InternalSolverLanguageParser.g:3944:2: (otherlv_0= LeftSquareBracket ( (lv_value_1_0= ruleUpperMultiplicty ) ) otherlv_2= RightSquareBracket ) + // InternalSolverLanguageParser.g:3945:3: otherlv_0= LeftSquareBracket ( (lv_value_1_0= ruleUpperMultiplicty ) ) otherlv_2= RightSquareBracket + { + otherlv_0=(Token)match(input,LeftSquareBracket,FOLLOW_56); + newLeafNode(otherlv_0, grammarAccess.getExactMultiplicityAccess().getLeftSquareBracketKeyword_0()); + + // InternalSolverLanguageParser.g:3949:3: ( (lv_value_1_0= ruleUpperMultiplicty ) ) + // InternalSolverLanguageParser.g:3950:4: (lv_value_1_0= ruleUpperMultiplicty ) + { + // InternalSolverLanguageParser.g:3950:4: (lv_value_1_0= ruleUpperMultiplicty ) + // InternalSolverLanguageParser.g:3951:5: lv_value_1_0= ruleUpperMultiplicty + { - current = this_ExactMultiplicity_1; - afterParserOrEnumRuleCall(); - + newCompositeNode(grammarAccess.getExactMultiplicityAccess().getValueUpperMultiplictyParserRuleCall_1_0()); + + pushFollow(FOLLOW_49); + lv_value_1_0=ruleUpperMultiplicty(); - } - break; - case 3 : - // InternalSolverLanguageParser.g:3465:3: this_BoundedMultiplicity_2= ruleBoundedMultiplicity - { + state._fsp--; - newCompositeNode(grammarAccess.getMultiplicityAccess().getBoundedMultiplicityParserRuleCall_2()); - - pushFollow(FOLLOW_2); - this_BoundedMultiplicity_2=ruleBoundedMultiplicity(); - state._fsp--; + if (current==null) { + current = createModelElementForParent(grammarAccess.getExactMultiplicityRule()); + } + set( + current, + "value", + lv_value_1_0, + "org.eclipse.viatra.solver.language.SolverLanguage.UpperMultiplicty"); + afterParserOrEnumRuleCall(); + + } - current = this_BoundedMultiplicity_2; - afterParserOrEnumRuleCall(); - - } - break; + } + + otherlv_2=(Token)match(input,RightSquareBracket,FOLLOW_2); + + newLeafNode(otherlv_2, grammarAccess.getExactMultiplicityAccess().getRightSquareBracketKeyword_2()); + } @@ -8839,28 +10178,28 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } return current; } - // $ANTLR end "ruleMultiplicity" + // $ANTLR end "ruleExactMultiplicity" - // $ANTLR start "entryRuleManyMultiplicity" - // InternalSolverLanguageParser.g:3477:1: entryRuleManyMultiplicity returns [EObject current=null] : iv_ruleManyMultiplicity= ruleManyMultiplicity EOF ; - public final EObject entryRuleManyMultiplicity() throws RecognitionException { + // $ANTLR start "entryRuleBoundedMultiplicity" + // InternalSolverLanguageParser.g:3976:1: entryRuleBoundedMultiplicity returns [EObject current=null] : iv_ruleBoundedMultiplicity= ruleBoundedMultiplicity EOF ; + public final EObject entryRuleBoundedMultiplicity() throws RecognitionException { EObject current = null; - EObject iv_ruleManyMultiplicity = null; + EObject iv_ruleBoundedMultiplicity = null; try { - // InternalSolverLanguageParser.g:3477:57: (iv_ruleManyMultiplicity= ruleManyMultiplicity EOF ) - // InternalSolverLanguageParser.g:3478:2: iv_ruleManyMultiplicity= ruleManyMultiplicity EOF + // InternalSolverLanguageParser.g:3976:60: (iv_ruleBoundedMultiplicity= ruleBoundedMultiplicity EOF ) + // InternalSolverLanguageParser.g:3977:2: iv_ruleBoundedMultiplicity= ruleBoundedMultiplicity EOF { - newCompositeNode(grammarAccess.getManyMultiplicityRule()); + newCompositeNode(grammarAccess.getBoundedMultiplicityRule()); pushFollow(FOLLOW_1); - iv_ruleManyMultiplicity=ruleManyMultiplicity(); + iv_ruleBoundedMultiplicity=ruleBoundedMultiplicity(); state._fsp--; - current =iv_ruleManyMultiplicity; + current =iv_ruleBoundedMultiplicity; match(input,EOF,FOLLOW_2); } @@ -8875,45 +10214,99 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } return current; } - // $ANTLR end "entryRuleManyMultiplicity" + // $ANTLR end "entryRuleBoundedMultiplicity" - // $ANTLR start "ruleManyMultiplicity" - // InternalSolverLanguageParser.g:3484:1: ruleManyMultiplicity returns [EObject current=null] : ( () otherlv_1= LeftSquareBracket otherlv_2= RightSquareBracket ) ; - public final EObject ruleManyMultiplicity() throws RecognitionException { + // $ANTLR start "ruleBoundedMultiplicity" + // InternalSolverLanguageParser.g:3983:1: ruleBoundedMultiplicity returns [EObject current=null] : (otherlv_0= LeftSquareBracket ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= Comma ( (lv_upperBound_3_0= ruleUpperMultiplicty ) ) otherlv_4= RightSquareBracket ) ; + public final EObject ruleBoundedMultiplicity() throws RecognitionException { EObject current = null; - Token otherlv_1=null; + Token otherlv_0=null; + Token lv_lowerBound_1_0=null; Token otherlv_2=null; + Token otherlv_4=null; + AntlrDatatypeRuleToken lv_upperBound_3_0 = null; + enterRule(); try { - // InternalSolverLanguageParser.g:3490:2: ( ( () otherlv_1= LeftSquareBracket otherlv_2= RightSquareBracket ) ) - // InternalSolverLanguageParser.g:3491:2: ( () otherlv_1= LeftSquareBracket otherlv_2= RightSquareBracket ) + // InternalSolverLanguageParser.g:3989:2: ( (otherlv_0= LeftSquareBracket ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= Comma ( (lv_upperBound_3_0= ruleUpperMultiplicty ) ) otherlv_4= RightSquareBracket ) ) + // InternalSolverLanguageParser.g:3990:2: (otherlv_0= LeftSquareBracket ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= Comma ( (lv_upperBound_3_0= ruleUpperMultiplicty ) ) otherlv_4= RightSquareBracket ) { - // InternalSolverLanguageParser.g:3491:2: ( () otherlv_1= LeftSquareBracket otherlv_2= RightSquareBracket ) - // InternalSolverLanguageParser.g:3492:3: () otherlv_1= LeftSquareBracket otherlv_2= RightSquareBracket + // InternalSolverLanguageParser.g:3990:2: (otherlv_0= LeftSquareBracket ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= Comma ( (lv_upperBound_3_0= ruleUpperMultiplicty ) ) otherlv_4= RightSquareBracket ) + // InternalSolverLanguageParser.g:3991:3: otherlv_0= LeftSquareBracket ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= Comma ( (lv_upperBound_3_0= ruleUpperMultiplicty ) ) otherlv_4= RightSquareBracket { - // InternalSolverLanguageParser.g:3492:3: () - // InternalSolverLanguageParser.g:3493:4: + otherlv_0=(Token)match(input,LeftSquareBracket,FOLLOW_57); + + newLeafNode(otherlv_0, grammarAccess.getBoundedMultiplicityAccess().getLeftSquareBracketKeyword_0()); + + // InternalSolverLanguageParser.g:3995:3: ( (lv_lowerBound_1_0= RULE_INT ) ) + // InternalSolverLanguageParser.g:3996:4: (lv_lowerBound_1_0= RULE_INT ) + { + // InternalSolverLanguageParser.g:3996:4: (lv_lowerBound_1_0= RULE_INT ) + // InternalSolverLanguageParser.g:3997:5: lv_lowerBound_1_0= RULE_INT { + lv_lowerBound_1_0=(Token)match(input,RULE_INT,FOLLOW_48); + + newLeafNode(lv_lowerBound_1_0, grammarAccess.getBoundedMultiplicityAccess().getLowerBoundINTTerminalRuleCall_1_0()); + + + if (current==null) { + current = createModelElement(grammarAccess.getBoundedMultiplicityRule()); + } + setWithLastConsumed( + current, + "lowerBound", + lv_lowerBound_1_0, + "org.eclipse.xtext.common.Terminals.INT"); + + + } - current = forceCreateModelElement( - grammarAccess.getManyMultiplicityAccess().getManyMultiplicityAction_0(), - current); - } - otherlv_1=(Token)match(input,LeftSquareBracket,FOLLOW_45); + otherlv_2=(Token)match(input,Comma,FOLLOW_56); - newLeafNode(otherlv_1, grammarAccess.getManyMultiplicityAccess().getLeftSquareBracketKeyword_1()); + newLeafNode(otherlv_2, grammarAccess.getBoundedMultiplicityAccess().getCommaKeyword_2()); - otherlv_2=(Token)match(input,RightSquareBracket,FOLLOW_2); + // InternalSolverLanguageParser.g:4017:3: ( (lv_upperBound_3_0= ruleUpperMultiplicty ) ) + // InternalSolverLanguageParser.g:4018:4: (lv_upperBound_3_0= ruleUpperMultiplicty ) + { + // InternalSolverLanguageParser.g:4018:4: (lv_upperBound_3_0= ruleUpperMultiplicty ) + // InternalSolverLanguageParser.g:4019:5: lv_upperBound_3_0= ruleUpperMultiplicty + { + + newCompositeNode(grammarAccess.getBoundedMultiplicityAccess().getUpperBoundUpperMultiplictyParserRuleCall_3_0()); + + pushFollow(FOLLOW_49); + lv_upperBound_3_0=ruleUpperMultiplicty(); + + state._fsp--; + - newLeafNode(otherlv_2, grammarAccess.getManyMultiplicityAccess().getRightSquareBracketKeyword_2()); + if (current==null) { + current = createModelElementForParent(grammarAccess.getBoundedMultiplicityRule()); + } + set( + current, + "upperBound", + lv_upperBound_3_0, + "org.eclipse.viatra.solver.language.SolverLanguage.UpperMultiplicty"); + afterParserOrEnumRuleCall(); + + + } + + + } + + otherlv_4=(Token)match(input,RightSquareBracket,FOLLOW_2); + + newLeafNode(otherlv_4, grammarAccess.getBoundedMultiplicityAccess().getRightSquareBracketKeyword_4()); } @@ -8934,28 +10327,28 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } return current; } - // $ANTLR end "ruleManyMultiplicity" + // $ANTLR end "ruleBoundedMultiplicity" - // $ANTLR start "entryRuleExactMultiplicity" - // InternalSolverLanguageParser.g:3511:1: entryRuleExactMultiplicity returns [EObject current=null] : iv_ruleExactMultiplicity= ruleExactMultiplicity EOF ; - public final EObject entryRuleExactMultiplicity() throws RecognitionException { + // $ANTLR start "entryRuleEnumDeclaration" + // InternalSolverLanguageParser.g:4044:1: entryRuleEnumDeclaration returns [EObject current=null] : iv_ruleEnumDeclaration= ruleEnumDeclaration EOF ; + public final EObject entryRuleEnumDeclaration() throws RecognitionException { EObject current = null; - EObject iv_ruleExactMultiplicity = null; + EObject iv_ruleEnumDeclaration = null; try { - // InternalSolverLanguageParser.g:3511:58: (iv_ruleExactMultiplicity= ruleExactMultiplicity EOF ) - // InternalSolverLanguageParser.g:3512:2: iv_ruleExactMultiplicity= ruleExactMultiplicity EOF + // InternalSolverLanguageParser.g:4044:56: (iv_ruleEnumDeclaration= ruleEnumDeclaration EOF ) + // InternalSolverLanguageParser.g:4045:2: iv_ruleEnumDeclaration= ruleEnumDeclaration EOF { - newCompositeNode(grammarAccess.getExactMultiplicityRule()); + newCompositeNode(grammarAccess.getEnumDeclarationRule()); pushFollow(FOLLOW_1); - iv_ruleExactMultiplicity=ruleExactMultiplicity(); + iv_ruleEnumDeclaration=ruleEnumDeclaration(); state._fsp--; - current =iv_ruleExactMultiplicity; + current =iv_ruleEnumDeclaration; match(input,EOF,FOLLOW_2); } @@ -8970,57 +10363,58 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } return current; } - // $ANTLR end "entryRuleExactMultiplicity" + // $ANTLR end "entryRuleEnumDeclaration" - // $ANTLR start "ruleExactMultiplicity" - // InternalSolverLanguageParser.g:3518:1: ruleExactMultiplicity returns [EObject current=null] : (otherlv_0= LeftSquareBracket ( (lv_multiplicity_1_0= ruleUpperMultiplicty ) ) otherlv_2= RightSquareBracket ) ; - public final EObject ruleExactMultiplicity() throws RecognitionException { + // $ANTLR start "ruleEnumDeclaration" + // InternalSolverLanguageParser.g:4051:1: ruleEnumDeclaration returns [EObject current=null] : (otherlv_0= Enum ( (lv_name_1_0= RULE_ID ) ) ( (otherlv_2= LeftCurlyBracket ( ( (lv_literals_3_0= ruleEnumLiteral ) ) ( (otherlv_4= Comma )? ( (lv_literals_5_0= ruleEnumLiteral ) ) )* )? otherlv_6= RightCurlyBracket ) | this_FULL_STOP_7= RULE_FULL_STOP ) ) ; + public final EObject ruleEnumDeclaration() throws RecognitionException { EObject current = null; Token otherlv_0=null; + Token lv_name_1_0=null; Token otherlv_2=null; - AntlrDatatypeRuleToken lv_multiplicity_1_0 = null; + Token otherlv_4=null; + Token otherlv_6=null; + Token this_FULL_STOP_7=null; + EObject lv_literals_3_0 = null; + + EObject lv_literals_5_0 = null; enterRule(); try { - // InternalSolverLanguageParser.g:3524:2: ( (otherlv_0= LeftSquareBracket ( (lv_multiplicity_1_0= ruleUpperMultiplicty ) ) otherlv_2= RightSquareBracket ) ) - // InternalSolverLanguageParser.g:3525:2: (otherlv_0= LeftSquareBracket ( (lv_multiplicity_1_0= ruleUpperMultiplicty ) ) otherlv_2= RightSquareBracket ) + // InternalSolverLanguageParser.g:4057:2: ( (otherlv_0= Enum ( (lv_name_1_0= RULE_ID ) ) ( (otherlv_2= LeftCurlyBracket ( ( (lv_literals_3_0= ruleEnumLiteral ) ) ( (otherlv_4= Comma )? ( (lv_literals_5_0= ruleEnumLiteral ) ) )* )? otherlv_6= RightCurlyBracket ) | this_FULL_STOP_7= RULE_FULL_STOP ) ) ) + // InternalSolverLanguageParser.g:4058:2: (otherlv_0= Enum ( (lv_name_1_0= RULE_ID ) ) ( (otherlv_2= LeftCurlyBracket ( ( (lv_literals_3_0= ruleEnumLiteral ) ) ( (otherlv_4= Comma )? ( (lv_literals_5_0= ruleEnumLiteral ) ) )* )? otherlv_6= RightCurlyBracket ) | this_FULL_STOP_7= RULE_FULL_STOP ) ) { - // InternalSolverLanguageParser.g:3525:2: (otherlv_0= LeftSquareBracket ( (lv_multiplicity_1_0= ruleUpperMultiplicty ) ) otherlv_2= RightSquareBracket ) - // InternalSolverLanguageParser.g:3526:3: otherlv_0= LeftSquareBracket ( (lv_multiplicity_1_0= ruleUpperMultiplicty ) ) otherlv_2= RightSquareBracket + // InternalSolverLanguageParser.g:4058:2: (otherlv_0= Enum ( (lv_name_1_0= RULE_ID ) ) ( (otherlv_2= LeftCurlyBracket ( ( (lv_literals_3_0= ruleEnumLiteral ) ) ( (otherlv_4= Comma )? ( (lv_literals_5_0= ruleEnumLiteral ) ) )* )? otherlv_6= RightCurlyBracket ) | this_FULL_STOP_7= RULE_FULL_STOP ) ) + // InternalSolverLanguageParser.g:4059:3: otherlv_0= Enum ( (lv_name_1_0= RULE_ID ) ) ( (otherlv_2= LeftCurlyBracket ( ( (lv_literals_3_0= ruleEnumLiteral ) ) ( (otherlv_4= Comma )? ( (lv_literals_5_0= ruleEnumLiteral ) ) )* )? otherlv_6= RightCurlyBracket ) | this_FULL_STOP_7= RULE_FULL_STOP ) { - otherlv_0=(Token)match(input,LeftSquareBracket,FOLLOW_52); + otherlv_0=(Token)match(input,Enum,FOLLOW_28); - newLeafNode(otherlv_0, grammarAccess.getExactMultiplicityAccess().getLeftSquareBracketKeyword_0()); + newLeafNode(otherlv_0, grammarAccess.getEnumDeclarationAccess().getEnumKeyword_0()); - // InternalSolverLanguageParser.g:3530:3: ( (lv_multiplicity_1_0= ruleUpperMultiplicty ) ) - // InternalSolverLanguageParser.g:3531:4: (lv_multiplicity_1_0= ruleUpperMultiplicty ) + // InternalSolverLanguageParser.g:4063:3: ( (lv_name_1_0= RULE_ID ) ) + // InternalSolverLanguageParser.g:4064:4: (lv_name_1_0= RULE_ID ) { - // InternalSolverLanguageParser.g:3531:4: (lv_multiplicity_1_0= ruleUpperMultiplicty ) - // InternalSolverLanguageParser.g:3532:5: lv_multiplicity_1_0= ruleUpperMultiplicty + // InternalSolverLanguageParser.g:4064:4: (lv_name_1_0= RULE_ID ) + // InternalSolverLanguageParser.g:4065:5: lv_name_1_0= RULE_ID { + lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_58); - newCompositeNode(grammarAccess.getExactMultiplicityAccess().getMultiplicityUpperMultiplictyParserRuleCall_1_0()); + newLeafNode(lv_name_1_0, grammarAccess.getEnumDeclarationAccess().getNameIDTerminalRuleCall_1_0()); - pushFollow(FOLLOW_45); - lv_multiplicity_1_0=ruleUpperMultiplicty(); - - state._fsp--; - if (current==null) { - current = createModelElementForParent(grammarAccess.getExactMultiplicityRule()); + current = createModelElement(grammarAccess.getEnumDeclarationRule()); } - set( + setWithLastConsumed( current, - "multiplicity", - lv_multiplicity_1_0, - "org.eclipse.viatra.solver.language.SolverLanguage.UpperMultiplicty"); - afterParserOrEnumRuleCall(); + "name", + lv_name_1_0, + "org.eclipse.xtext.common.Terminals.ID"); } @@ -9028,10 +10422,180 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } - otherlv_2=(Token)match(input,RightSquareBracket,FOLLOW_2); + // InternalSolverLanguageParser.g:4081:3: ( (otherlv_2= LeftCurlyBracket ( ( (lv_literals_3_0= ruleEnumLiteral ) ) ( (otherlv_4= Comma )? ( (lv_literals_5_0= ruleEnumLiteral ) ) )* )? otherlv_6= RightCurlyBracket ) | this_FULL_STOP_7= RULE_FULL_STOP ) + int alt52=2; + int LA52_0 = input.LA(1); + + if ( (LA52_0==LeftCurlyBracket) ) { + alt52=1; + } + else if ( (LA52_0==RULE_FULL_STOP) ) { + alt52=2; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 52, 0, input); + + throw nvae; + } + switch (alt52) { + case 1 : + // InternalSolverLanguageParser.g:4082:4: (otherlv_2= LeftCurlyBracket ( ( (lv_literals_3_0= ruleEnumLiteral ) ) ( (otherlv_4= Comma )? ( (lv_literals_5_0= ruleEnumLiteral ) ) )* )? otherlv_6= RightCurlyBracket ) + { + // InternalSolverLanguageParser.g:4082:4: (otherlv_2= LeftCurlyBracket ( ( (lv_literals_3_0= ruleEnumLiteral ) ) ( (otherlv_4= Comma )? ( (lv_literals_5_0= ruleEnumLiteral ) ) )* )? otherlv_6= RightCurlyBracket ) + // InternalSolverLanguageParser.g:4083:5: otherlv_2= LeftCurlyBracket ( ( (lv_literals_3_0= ruleEnumLiteral ) ) ( (otherlv_4= Comma )? ( (lv_literals_5_0= ruleEnumLiteral ) ) )* )? otherlv_6= RightCurlyBracket + { + otherlv_2=(Token)match(input,LeftCurlyBracket,FOLLOW_59); + + newLeafNode(otherlv_2, grammarAccess.getEnumDeclarationAccess().getLeftCurlyBracketKeyword_2_0_0()); + + // InternalSolverLanguageParser.g:4087:5: ( ( (lv_literals_3_0= ruleEnumLiteral ) ) ( (otherlv_4= Comma )? ( (lv_literals_5_0= ruleEnumLiteral ) ) )* )? + int alt51=2; + int LA51_0 = input.LA(1); + + if ( (LA51_0==RULE_ID) ) { + alt51=1; + } + switch (alt51) { + case 1 : + // InternalSolverLanguageParser.g:4088:6: ( (lv_literals_3_0= ruleEnumLiteral ) ) ( (otherlv_4= Comma )? ( (lv_literals_5_0= ruleEnumLiteral ) ) )* + { + // InternalSolverLanguageParser.g:4088:6: ( (lv_literals_3_0= ruleEnumLiteral ) ) + // InternalSolverLanguageParser.g:4089:7: (lv_literals_3_0= ruleEnumLiteral ) + { + // InternalSolverLanguageParser.g:4089:7: (lv_literals_3_0= ruleEnumLiteral ) + // InternalSolverLanguageParser.g:4090:8: lv_literals_3_0= ruleEnumLiteral + { + + newCompositeNode(grammarAccess.getEnumDeclarationAccess().getLiteralsEnumLiteralParserRuleCall_2_0_1_0_0()); + + pushFollow(FOLLOW_60); + lv_literals_3_0=ruleEnumLiteral(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getEnumDeclarationRule()); + } + add( + current, + "literals", + lv_literals_3_0, + "org.eclipse.viatra.solver.language.SolverLanguage.EnumLiteral"); + afterParserOrEnumRuleCall(); + + + } + + + } + + // InternalSolverLanguageParser.g:4107:6: ( (otherlv_4= Comma )? ( (lv_literals_5_0= ruleEnumLiteral ) ) )* + loop50: + do { + int alt50=2; + int LA50_0 = input.LA(1); + + if ( (LA50_0==Comma||LA50_0==RULE_ID) ) { + alt50=1; + } + + + switch (alt50) { + case 1 : + // InternalSolverLanguageParser.g:4108:7: (otherlv_4= Comma )? ( (lv_literals_5_0= ruleEnumLiteral ) ) + { + // InternalSolverLanguageParser.g:4108:7: (otherlv_4= Comma )? + int alt49=2; + int LA49_0 = input.LA(1); + + if ( (LA49_0==Comma) ) { + alt49=1; + } + switch (alt49) { + case 1 : + // InternalSolverLanguageParser.g:4109:8: otherlv_4= Comma + { + otherlv_4=(Token)match(input,Comma,FOLLOW_28); + + newLeafNode(otherlv_4, grammarAccess.getEnumDeclarationAccess().getCommaKeyword_2_0_1_1_0()); + + + } + break; + + } + + // InternalSolverLanguageParser.g:4114:7: ( (lv_literals_5_0= ruleEnumLiteral ) ) + // InternalSolverLanguageParser.g:4115:8: (lv_literals_5_0= ruleEnumLiteral ) + { + // InternalSolverLanguageParser.g:4115:8: (lv_literals_5_0= ruleEnumLiteral ) + // InternalSolverLanguageParser.g:4116:9: lv_literals_5_0= ruleEnumLiteral + { + + newCompositeNode(grammarAccess.getEnumDeclarationAccess().getLiteralsEnumLiteralParserRuleCall_2_0_1_1_1_0()); + + pushFollow(FOLLOW_60); + lv_literals_5_0=ruleEnumLiteral(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getEnumDeclarationRule()); + } + add( + current, + "literals", + lv_literals_5_0, + "org.eclipse.viatra.solver.language.SolverLanguage.EnumLiteral"); + afterParserOrEnumRuleCall(); + + + } + + + } + + + } + break; + + default : + break loop50; + } + } while (true); + + + } + break; + + } + + otherlv_6=(Token)match(input,RightCurlyBracket,FOLLOW_2); + + newLeafNode(otherlv_6, grammarAccess.getEnumDeclarationAccess().getRightCurlyBracketKeyword_2_0_2()); + + + } + + + } + break; + case 2 : + // InternalSolverLanguageParser.g:4141:4: this_FULL_STOP_7= RULE_FULL_STOP + { + this_FULL_STOP_7=(Token)match(input,RULE_FULL_STOP,FOLLOW_2); + + newLeafNode(this_FULL_STOP_7, grammarAccess.getEnumDeclarationAccess().getFULL_STOPTerminalRuleCall_2_1()); + + + } + break; + + } - newLeafNode(otherlv_2, grammarAccess.getExactMultiplicityAccess().getRightSquareBracketKeyword_2()); - } @@ -9051,28 +10615,28 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } return current; } - // $ANTLR end "ruleExactMultiplicity" + // $ANTLR end "ruleEnumDeclaration" - // $ANTLR start "entryRuleBoundedMultiplicity" - // InternalSolverLanguageParser.g:3557:1: entryRuleBoundedMultiplicity returns [EObject current=null] : iv_ruleBoundedMultiplicity= ruleBoundedMultiplicity EOF ; - public final EObject entryRuleBoundedMultiplicity() throws RecognitionException { + // $ANTLR start "entryRuleEnumLiteral" + // InternalSolverLanguageParser.g:4150:1: entryRuleEnumLiteral returns [EObject current=null] : iv_ruleEnumLiteral= ruleEnumLiteral EOF ; + public final EObject entryRuleEnumLiteral() throws RecognitionException { EObject current = null; - EObject iv_ruleBoundedMultiplicity = null; + EObject iv_ruleEnumLiteral = null; try { - // InternalSolverLanguageParser.g:3557:60: (iv_ruleBoundedMultiplicity= ruleBoundedMultiplicity EOF ) - // InternalSolverLanguageParser.g:3558:2: iv_ruleBoundedMultiplicity= ruleBoundedMultiplicity EOF + // InternalSolverLanguageParser.g:4150:52: (iv_ruleEnumLiteral= ruleEnumLiteral EOF ) + // InternalSolverLanguageParser.g:4151:2: iv_ruleEnumLiteral= ruleEnumLiteral EOF { - newCompositeNode(grammarAccess.getBoundedMultiplicityRule()); + newCompositeNode(grammarAccess.getEnumLiteralRule()); pushFollow(FOLLOW_1); - iv_ruleBoundedMultiplicity=ruleBoundedMultiplicity(); + iv_ruleEnumLiteral=ruleEnumLiteral(); state._fsp--; - current =iv_ruleBoundedMultiplicity; + current =iv_ruleEnumLiteral; match(input,EOF,FOLLOW_2); } @@ -9087,100 +10651,46 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } return current; } - // $ANTLR end "entryRuleBoundedMultiplicity" + // $ANTLR end "entryRuleEnumLiteral" - // $ANTLR start "ruleBoundedMultiplicity" - // InternalSolverLanguageParser.g:3564:1: ruleBoundedMultiplicity returns [EObject current=null] : (otherlv_0= LeftSquareBracket ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= FullStopFullStop ( (lv_upperBound_3_0= ruleUpperMultiplicty ) ) otherlv_4= RightSquareBracket ) ; - public final EObject ruleBoundedMultiplicity() throws RecognitionException { + // $ANTLR start "ruleEnumLiteral" + // InternalSolverLanguageParser.g:4157:1: ruleEnumLiteral returns [EObject current=null] : ( (lv_name_0_0= RULE_ID ) ) ; + public final EObject ruleEnumLiteral() throws RecognitionException { EObject current = null; - Token otherlv_0=null; - Token lv_lowerBound_1_0=null; - Token otherlv_2=null; - Token otherlv_4=null; - AntlrDatatypeRuleToken lv_upperBound_3_0 = null; - + Token lv_name_0_0=null; enterRule(); try { - // InternalSolverLanguageParser.g:3570:2: ( (otherlv_0= LeftSquareBracket ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= FullStopFullStop ( (lv_upperBound_3_0= ruleUpperMultiplicty ) ) otherlv_4= RightSquareBracket ) ) - // InternalSolverLanguageParser.g:3571:2: (otherlv_0= LeftSquareBracket ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= FullStopFullStop ( (lv_upperBound_3_0= ruleUpperMultiplicty ) ) otherlv_4= RightSquareBracket ) - { - // InternalSolverLanguageParser.g:3571:2: (otherlv_0= LeftSquareBracket ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= FullStopFullStop ( (lv_upperBound_3_0= ruleUpperMultiplicty ) ) otherlv_4= RightSquareBracket ) - // InternalSolverLanguageParser.g:3572:3: otherlv_0= LeftSquareBracket ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= FullStopFullStop ( (lv_upperBound_3_0= ruleUpperMultiplicty ) ) otherlv_4= RightSquareBracket - { - otherlv_0=(Token)match(input,LeftSquareBracket,FOLLOW_53); - - newLeafNode(otherlv_0, grammarAccess.getBoundedMultiplicityAccess().getLeftSquareBracketKeyword_0()); - - // InternalSolverLanguageParser.g:3576:3: ( (lv_lowerBound_1_0= RULE_INT ) ) - // InternalSolverLanguageParser.g:3577:4: (lv_lowerBound_1_0= RULE_INT ) + // InternalSolverLanguageParser.g:4163:2: ( ( (lv_name_0_0= RULE_ID ) ) ) + // InternalSolverLanguageParser.g:4164:2: ( (lv_name_0_0= RULE_ID ) ) { - // InternalSolverLanguageParser.g:3577:4: (lv_lowerBound_1_0= RULE_INT ) - // InternalSolverLanguageParser.g:3578:5: lv_lowerBound_1_0= RULE_INT - { - lv_lowerBound_1_0=(Token)match(input,RULE_INT,FOLLOW_44); - - newLeafNode(lv_lowerBound_1_0, grammarAccess.getBoundedMultiplicityAccess().getLowerBoundINTTerminalRuleCall_1_0()); - - - if (current==null) { - current = createModelElement(grammarAccess.getBoundedMultiplicityRule()); - } - setWithLastConsumed( - current, - "lowerBound", - lv_lowerBound_1_0, - "org.eclipse.xtext.common.Terminals.INT"); - - - } - - - } - - otherlv_2=(Token)match(input,FullStopFullStop,FOLLOW_52); - - newLeafNode(otherlv_2, grammarAccess.getBoundedMultiplicityAccess().getFullStopFullStopKeyword_2()); - - // InternalSolverLanguageParser.g:3598:3: ( (lv_upperBound_3_0= ruleUpperMultiplicty ) ) - // InternalSolverLanguageParser.g:3599:4: (lv_upperBound_3_0= ruleUpperMultiplicty ) + // InternalSolverLanguageParser.g:4164:2: ( (lv_name_0_0= RULE_ID ) ) + // InternalSolverLanguageParser.g:4165:3: (lv_name_0_0= RULE_ID ) { - // InternalSolverLanguageParser.g:3599:4: (lv_upperBound_3_0= ruleUpperMultiplicty ) - // InternalSolverLanguageParser.g:3600:5: lv_upperBound_3_0= ruleUpperMultiplicty + // InternalSolverLanguageParser.g:4165:3: (lv_name_0_0= RULE_ID ) + // InternalSolverLanguageParser.g:4166:4: lv_name_0_0= RULE_ID { + lv_name_0_0=(Token)match(input,RULE_ID,FOLLOW_2); - newCompositeNode(grammarAccess.getBoundedMultiplicityAccess().getUpperBoundUpperMultiplictyParserRuleCall_3_0()); - - pushFollow(FOLLOW_45); - lv_upperBound_3_0=ruleUpperMultiplicty(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getBoundedMultiplicityRule()); - } - set( - current, - "upperBound", - lv_upperBound_3_0, - "org.eclipse.viatra.solver.language.SolverLanguage.UpperMultiplicty"); - afterParserOrEnumRuleCall(); - - - } + newLeafNode(lv_name_0_0, grammarAccess.getEnumLiteralAccess().getNameIDTerminalRuleCall_0()); + + if (current==null) { + current = createModelElement(grammarAccess.getEnumLiteralRule()); + } + setWithLastConsumed( + current, + "name", + lv_name_0_0, + "org.eclipse.xtext.common.Terminals.ID"); + } - otherlv_4=(Token)match(input,RightSquareBracket,FOLLOW_2); - - newLeafNode(otherlv_4, grammarAccess.getBoundedMultiplicityAccess().getRightSquareBracketKeyword_4()); - } @@ -9200,28 +10710,28 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } return current; } - // $ANTLR end "ruleBoundedMultiplicity" + // $ANTLR end "ruleEnumLiteral" - // $ANTLR start "entryRuleScopeDefinition" - // InternalSolverLanguageParser.g:3625:1: entryRuleScopeDefinition returns [EObject current=null] : iv_ruleScopeDefinition= ruleScopeDefinition EOF ; - public final EObject entryRuleScopeDefinition() throws RecognitionException { + // $ANTLR start "entryRuleScopeDeclaration" + // InternalSolverLanguageParser.g:4185:1: entryRuleScopeDeclaration returns [EObject current=null] : iv_ruleScopeDeclaration= ruleScopeDeclaration EOF ; + public final EObject entryRuleScopeDeclaration() throws RecognitionException { EObject current = null; - EObject iv_ruleScopeDefinition = null; + EObject iv_ruleScopeDeclaration = null; try { - // InternalSolverLanguageParser.g:3625:56: (iv_ruleScopeDefinition= ruleScopeDefinition EOF ) - // InternalSolverLanguageParser.g:3626:2: iv_ruleScopeDefinition= ruleScopeDefinition EOF + // InternalSolverLanguageParser.g:4185:57: (iv_ruleScopeDeclaration= ruleScopeDeclaration EOF ) + // InternalSolverLanguageParser.g:4186:2: iv_ruleScopeDeclaration= ruleScopeDeclaration EOF { - newCompositeNode(grammarAccess.getScopeDefinitionRule()); + newCompositeNode(grammarAccess.getScopeDeclarationRule()); pushFollow(FOLLOW_1); - iv_ruleScopeDefinition=ruleScopeDefinition(); + iv_ruleScopeDeclaration=ruleScopeDeclaration(); state._fsp--; - current =iv_ruleScopeDefinition; + current =iv_ruleScopeDeclaration; match(input,EOF,FOLLOW_2); } @@ -9236,81 +10746,81 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } return current; } - // $ANTLR end "entryRuleScopeDefinition" + // $ANTLR end "entryRuleScopeDeclaration" - // $ANTLR start "ruleScopeDefinition" - // InternalSolverLanguageParser.g:3632:1: ruleScopeDefinition returns [EObject current=null] : (this_ExactScopeDefinition_0= ruleExactScopeDefinition | this_BoundedScopeDefinition_1= ruleBoundedScopeDefinition | this_LowerBoundedScopeDefinition_2= ruleLowerBoundedScopeDefinition ) ; - public final EObject ruleScopeDefinition() throws RecognitionException { + // $ANTLR start "ruleScopeDeclaration" + // InternalSolverLanguageParser.g:4192:1: ruleScopeDeclaration returns [EObject current=null] : (this_ExactScope_0= ruleExactScope | this_BoundedScope_1= ruleBoundedScope | this_LowerBoundedScope_2= ruleLowerBoundedScope ) ; + public final EObject ruleScopeDeclaration() throws RecognitionException { EObject current = null; - EObject this_ExactScopeDefinition_0 = null; + EObject this_ExactScope_0 = null; - EObject this_BoundedScopeDefinition_1 = null; + EObject this_BoundedScope_1 = null; - EObject this_LowerBoundedScopeDefinition_2 = null; + EObject this_LowerBoundedScope_2 = null; enterRule(); try { - // InternalSolverLanguageParser.g:3638:2: ( (this_ExactScopeDefinition_0= ruleExactScopeDefinition | this_BoundedScopeDefinition_1= ruleBoundedScopeDefinition | this_LowerBoundedScopeDefinition_2= ruleLowerBoundedScopeDefinition ) ) - // InternalSolverLanguageParser.g:3639:2: (this_ExactScopeDefinition_0= ruleExactScopeDefinition | this_BoundedScopeDefinition_1= ruleBoundedScopeDefinition | this_LowerBoundedScopeDefinition_2= ruleLowerBoundedScopeDefinition ) + // InternalSolverLanguageParser.g:4198:2: ( (this_ExactScope_0= ruleExactScope | this_BoundedScope_1= ruleBoundedScope | this_LowerBoundedScope_2= ruleLowerBoundedScope ) ) + // InternalSolverLanguageParser.g:4199:2: (this_ExactScope_0= ruleExactScope | this_BoundedScope_1= ruleBoundedScope | this_LowerBoundedScope_2= ruleLowerBoundedScope ) { - // InternalSolverLanguageParser.g:3639:2: (this_ExactScopeDefinition_0= ruleExactScopeDefinition | this_BoundedScopeDefinition_1= ruleBoundedScopeDefinition | this_LowerBoundedScopeDefinition_2= ruleLowerBoundedScopeDefinition ) - int alt44=3; - alt44 = dfa44.predict(input); - switch (alt44) { + // InternalSolverLanguageParser.g:4199:2: (this_ExactScope_0= ruleExactScope | this_BoundedScope_1= ruleBoundedScope | this_LowerBoundedScope_2= ruleLowerBoundedScope ) + int alt53=3; + alt53 = dfa53.predict(input); + switch (alt53) { case 1 : - // InternalSolverLanguageParser.g:3640:3: this_ExactScopeDefinition_0= ruleExactScopeDefinition + // InternalSolverLanguageParser.g:4200:3: this_ExactScope_0= ruleExactScope { - newCompositeNode(grammarAccess.getScopeDefinitionAccess().getExactScopeDefinitionParserRuleCall_0()); + newCompositeNode(grammarAccess.getScopeDeclarationAccess().getExactScopeParserRuleCall_0()); pushFollow(FOLLOW_2); - this_ExactScopeDefinition_0=ruleExactScopeDefinition(); + this_ExactScope_0=ruleExactScope(); state._fsp--; - current = this_ExactScopeDefinition_0; + current = this_ExactScope_0; afterParserOrEnumRuleCall(); } break; case 2 : - // InternalSolverLanguageParser.g:3649:3: this_BoundedScopeDefinition_1= ruleBoundedScopeDefinition + // InternalSolverLanguageParser.g:4209:3: this_BoundedScope_1= ruleBoundedScope { - newCompositeNode(grammarAccess.getScopeDefinitionAccess().getBoundedScopeDefinitionParserRuleCall_1()); + newCompositeNode(grammarAccess.getScopeDeclarationAccess().getBoundedScopeParserRuleCall_1()); pushFollow(FOLLOW_2); - this_BoundedScopeDefinition_1=ruleBoundedScopeDefinition(); + this_BoundedScope_1=ruleBoundedScope(); state._fsp--; - current = this_BoundedScopeDefinition_1; + current = this_BoundedScope_1; afterParserOrEnumRuleCall(); } break; case 3 : - // InternalSolverLanguageParser.g:3658:3: this_LowerBoundedScopeDefinition_2= ruleLowerBoundedScopeDefinition + // InternalSolverLanguageParser.g:4218:3: this_LowerBoundedScope_2= ruleLowerBoundedScope { - newCompositeNode(grammarAccess.getScopeDefinitionAccess().getLowerBoundedScopeDefinitionParserRuleCall_2()); + newCompositeNode(grammarAccess.getScopeDeclarationAccess().getLowerBoundedScopeParserRuleCall_2()); pushFollow(FOLLOW_2); - this_LowerBoundedScopeDefinition_2=ruleLowerBoundedScopeDefinition(); + this_LowerBoundedScope_2=ruleLowerBoundedScope(); state._fsp--; - current = this_LowerBoundedScopeDefinition_2; + current = this_LowerBoundedScope_2; afterParserOrEnumRuleCall(); @@ -9335,28 +10845,28 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } return current; } - // $ANTLR end "ruleScopeDefinition" + // $ANTLR end "ruleScopeDeclaration" - // $ANTLR start "entryRuleExactScopeDefinition" - // InternalSolverLanguageParser.g:3670:1: entryRuleExactScopeDefinition returns [EObject current=null] : iv_ruleExactScopeDefinition= ruleExactScopeDefinition EOF ; - public final EObject entryRuleExactScopeDefinition() throws RecognitionException { + // $ANTLR start "entryRuleExactScope" + // InternalSolverLanguageParser.g:4230:1: entryRuleExactScope returns [EObject current=null] : iv_ruleExactScope= ruleExactScope EOF ; + public final EObject entryRuleExactScope() throws RecognitionException { EObject current = null; - EObject iv_ruleExactScopeDefinition = null; + EObject iv_ruleExactScope = null; try { - // InternalSolverLanguageParser.g:3670:61: (iv_ruleExactScopeDefinition= ruleExactScopeDefinition EOF ) - // InternalSolverLanguageParser.g:3671:2: iv_ruleExactScopeDefinition= ruleExactScopeDefinition EOF + // InternalSolverLanguageParser.g:4230:51: (iv_ruleExactScope= ruleExactScope EOF ) + // InternalSolverLanguageParser.g:4231:2: iv_ruleExactScope= ruleExactScope EOF { - newCompositeNode(grammarAccess.getExactScopeDefinitionRule()); + newCompositeNode(grammarAccess.getExactScopeRule()); pushFollow(FOLLOW_1); - iv_ruleExactScopeDefinition=ruleExactScopeDefinition(); + iv_ruleExactScope=ruleExactScope(); state._fsp--; - current =iv_ruleExactScopeDefinition; + current =iv_ruleExactScope; match(input,EOF,FOLLOW_2); } @@ -9371,47 +10881,48 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } return current; } - // $ANTLR end "entryRuleExactScopeDefinition" + // $ANTLR end "entryRuleExactScope" - // $ANTLR start "ruleExactScopeDefinition" - // InternalSolverLanguageParser.g:3677:1: ruleExactScopeDefinition returns [EObject current=null] : (otherlv_0= Scope ( ( ruleQualifiedName ) ) otherlv_2= EqualsSignEqualsSign ( (lv_exactScope_3_0= RULE_INT ) ) ) ; - public final EObject ruleExactScopeDefinition() throws RecognitionException { + // $ANTLR start "ruleExactScope" + // InternalSolverLanguageParser.g:4237:1: ruleExactScope returns [EObject current=null] : (otherlv_0= Scope ( ( ruleQualifiedName ) ) otherlv_2= EqualsSignEqualsSign ( (lv_size_3_0= RULE_INT ) ) this_FULL_STOP_4= RULE_FULL_STOP ) ; + public final EObject ruleExactScope() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token otherlv_2=null; - Token lv_exactScope_3_0=null; + Token lv_size_3_0=null; + Token this_FULL_STOP_4=null; enterRule(); try { - // InternalSolverLanguageParser.g:3683:2: ( (otherlv_0= Scope ( ( ruleQualifiedName ) ) otherlv_2= EqualsSignEqualsSign ( (lv_exactScope_3_0= RULE_INT ) ) ) ) - // InternalSolverLanguageParser.g:3684:2: (otherlv_0= Scope ( ( ruleQualifiedName ) ) otherlv_2= EqualsSignEqualsSign ( (lv_exactScope_3_0= RULE_INT ) ) ) + // InternalSolverLanguageParser.g:4243:2: ( (otherlv_0= Scope ( ( ruleQualifiedName ) ) otherlv_2= EqualsSignEqualsSign ( (lv_size_3_0= RULE_INT ) ) this_FULL_STOP_4= RULE_FULL_STOP ) ) + // InternalSolverLanguageParser.g:4244:2: (otherlv_0= Scope ( ( ruleQualifiedName ) ) otherlv_2= EqualsSignEqualsSign ( (lv_size_3_0= RULE_INT ) ) this_FULL_STOP_4= RULE_FULL_STOP ) { - // InternalSolverLanguageParser.g:3684:2: (otherlv_0= Scope ( ( ruleQualifiedName ) ) otherlv_2= EqualsSignEqualsSign ( (lv_exactScope_3_0= RULE_INT ) ) ) - // InternalSolverLanguageParser.g:3685:3: otherlv_0= Scope ( ( ruleQualifiedName ) ) otherlv_2= EqualsSignEqualsSign ( (lv_exactScope_3_0= RULE_INT ) ) + // InternalSolverLanguageParser.g:4244:2: (otherlv_0= Scope ( ( ruleQualifiedName ) ) otherlv_2= EqualsSignEqualsSign ( (lv_size_3_0= RULE_INT ) ) this_FULL_STOP_4= RULE_FULL_STOP ) + // InternalSolverLanguageParser.g:4245:3: otherlv_0= Scope ( ( ruleQualifiedName ) ) otherlv_2= EqualsSignEqualsSign ( (lv_size_3_0= RULE_INT ) ) this_FULL_STOP_4= RULE_FULL_STOP { - otherlv_0=(Token)match(input,Scope,FOLLOW_8); + otherlv_0=(Token)match(input,Scope,FOLLOW_3); - newLeafNode(otherlv_0, grammarAccess.getExactScopeDefinitionAccess().getScopeKeyword_0()); + newLeafNode(otherlv_0, grammarAccess.getExactScopeAccess().getScopeKeyword_0()); - // InternalSolverLanguageParser.g:3689:3: ( ( ruleQualifiedName ) ) - // InternalSolverLanguageParser.g:3690:4: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:4249:3: ( ( ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:4250:4: ( ruleQualifiedName ) { - // InternalSolverLanguageParser.g:3690:4: ( ruleQualifiedName ) - // InternalSolverLanguageParser.g:3691:5: ruleQualifiedName + // InternalSolverLanguageParser.g:4250:4: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:4251:5: ruleQualifiedName { if (current==null) { - current = createModelElement(grammarAccess.getExactScopeDefinitionRule()); + current = createModelElement(grammarAccess.getExactScopeRule()); } - newCompositeNode(grammarAccess.getExactScopeDefinitionAccess().getTypeNamedElementCrossReference_1_0()); + newCompositeNode(grammarAccess.getExactScopeAccess().getTypeSymbolCrossReference_1_0()); - pushFollow(FOLLOW_54); + pushFollow(FOLLOW_61); ruleQualifiedName(); state._fsp--; @@ -9425,28 +10936,28 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } - otherlv_2=(Token)match(input,EqualsSignEqualsSign,FOLLOW_53); + otherlv_2=(Token)match(input,EqualsSignEqualsSign,FOLLOW_57); - newLeafNode(otherlv_2, grammarAccess.getExactScopeDefinitionAccess().getEqualsSignEqualsSignKeyword_2()); + newLeafNode(otherlv_2, grammarAccess.getExactScopeAccess().getEqualsSignEqualsSignKeyword_2()); - // InternalSolverLanguageParser.g:3709:3: ( (lv_exactScope_3_0= RULE_INT ) ) - // InternalSolverLanguageParser.g:3710:4: (lv_exactScope_3_0= RULE_INT ) + // InternalSolverLanguageParser.g:4269:3: ( (lv_size_3_0= RULE_INT ) ) + // InternalSolverLanguageParser.g:4270:4: (lv_size_3_0= RULE_INT ) { - // InternalSolverLanguageParser.g:3710:4: (lv_exactScope_3_0= RULE_INT ) - // InternalSolverLanguageParser.g:3711:5: lv_exactScope_3_0= RULE_INT + // InternalSolverLanguageParser.g:4270:4: (lv_size_3_0= RULE_INT ) + // InternalSolverLanguageParser.g:4271:5: lv_size_3_0= RULE_INT { - lv_exactScope_3_0=(Token)match(input,RULE_INT,FOLLOW_2); + lv_size_3_0=(Token)match(input,RULE_INT,FOLLOW_4); - newLeafNode(lv_exactScope_3_0, grammarAccess.getExactScopeDefinitionAccess().getExactScopeINTTerminalRuleCall_3_0()); + newLeafNode(lv_size_3_0, grammarAccess.getExactScopeAccess().getSizeINTTerminalRuleCall_3_0()); if (current==null) { - current = createModelElement(grammarAccess.getExactScopeDefinitionRule()); + current = createModelElement(grammarAccess.getExactScopeRule()); } setWithLastConsumed( current, - "exactScope", - lv_exactScope_3_0, + "size", + lv_size_3_0, "org.eclipse.xtext.common.Terminals.INT"); @@ -9455,6 +10966,10 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } + this_FULL_STOP_4=(Token)match(input,RULE_FULL_STOP,FOLLOW_2); + + newLeafNode(this_FULL_STOP_4, grammarAccess.getExactScopeAccess().getFULL_STOPTerminalRuleCall_4()); + } @@ -9474,28 +10989,28 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } return current; } - // $ANTLR end "ruleExactScopeDefinition" + // $ANTLR end "ruleExactScope" - // $ANTLR start "entryRuleBoundedScopeDefinition" - // InternalSolverLanguageParser.g:3731:1: entryRuleBoundedScopeDefinition returns [EObject current=null] : iv_ruleBoundedScopeDefinition= ruleBoundedScopeDefinition EOF ; - public final EObject entryRuleBoundedScopeDefinition() throws RecognitionException { + // $ANTLR start "entryRuleBoundedScope" + // InternalSolverLanguageParser.g:4295:1: entryRuleBoundedScope returns [EObject current=null] : iv_ruleBoundedScope= ruleBoundedScope EOF ; + public final EObject entryRuleBoundedScope() throws RecognitionException { EObject current = null; - EObject iv_ruleBoundedScopeDefinition = null; + EObject iv_ruleBoundedScope = null; try { - // InternalSolverLanguageParser.g:3731:63: (iv_ruleBoundedScopeDefinition= ruleBoundedScopeDefinition EOF ) - // InternalSolverLanguageParser.g:3732:2: iv_ruleBoundedScopeDefinition= ruleBoundedScopeDefinition EOF + // InternalSolverLanguageParser.g:4295:53: (iv_ruleBoundedScope= ruleBoundedScope EOF ) + // InternalSolverLanguageParser.g:4296:2: iv_ruleBoundedScope= ruleBoundedScope EOF { - newCompositeNode(grammarAccess.getBoundedScopeDefinitionRule()); + newCompositeNode(grammarAccess.getBoundedScopeRule()); pushFollow(FOLLOW_1); - iv_ruleBoundedScopeDefinition=ruleBoundedScopeDefinition(); + iv_ruleBoundedScope=ruleBoundedScope(); state._fsp--; - current =iv_ruleBoundedScopeDefinition; + current =iv_ruleBoundedScope; match(input,EOF,FOLLOW_2); } @@ -9510,12 +11025,12 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } return current; } - // $ANTLR end "entryRuleBoundedScopeDefinition" + // $ANTLR end "entryRuleBoundedScope" - // $ANTLR start "ruleBoundedScopeDefinition" - // InternalSolverLanguageParser.g:3738:1: ruleBoundedScopeDefinition returns [EObject current=null] : (otherlv_0= Scope ( ( ( ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= LessThanSignEqualsSign )? ( ( ruleQualifiedName ) ) otherlv_4= LessThanSignEqualsSign ( (lv_upperBound_5_0= RULE_INT ) ) ) | ( ( (lv_upperBound_6_0= RULE_INT ) ) otherlv_7= GreaterThanSignEqualsSign ( ( ruleQualifiedName ) ) (otherlv_9= GreaterThanSignEqualsSign ( (lv_lowerBound_10_0= RULE_INT ) ) )? ) ) ) ; - public final EObject ruleBoundedScopeDefinition() throws RecognitionException { + // $ANTLR start "ruleBoundedScope" + // InternalSolverLanguageParser.g:4302:1: ruleBoundedScope returns [EObject current=null] : (otherlv_0= Scope ( ( ( ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= LessThanSignEqualsSign )? ( ( ruleQualifiedName ) ) otherlv_4= LessThanSignEqualsSign ( (lv_upperBound_5_0= RULE_INT ) ) ) | ( ( (lv_upperBound_6_0= RULE_INT ) ) otherlv_7= GreaterThanSignEqualsSign ( ( ruleQualifiedName ) ) (otherlv_9= GreaterThanSignEqualsSign ( (lv_lowerBound_10_0= RULE_INT ) ) )? ) ) this_FULL_STOP_11= RULE_FULL_STOP ) ; + public final EObject ruleBoundedScope() throws RecognitionException { EObject current = null; Token otherlv_0=null; @@ -9527,81 +11042,82 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { Token otherlv_7=null; Token otherlv_9=null; Token lv_lowerBound_10_0=null; + Token this_FULL_STOP_11=null; enterRule(); try { - // InternalSolverLanguageParser.g:3744:2: ( (otherlv_0= Scope ( ( ( ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= LessThanSignEqualsSign )? ( ( ruleQualifiedName ) ) otherlv_4= LessThanSignEqualsSign ( (lv_upperBound_5_0= RULE_INT ) ) ) | ( ( (lv_upperBound_6_0= RULE_INT ) ) otherlv_7= GreaterThanSignEqualsSign ( ( ruleQualifiedName ) ) (otherlv_9= GreaterThanSignEqualsSign ( (lv_lowerBound_10_0= RULE_INT ) ) )? ) ) ) ) - // InternalSolverLanguageParser.g:3745:2: (otherlv_0= Scope ( ( ( ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= LessThanSignEqualsSign )? ( ( ruleQualifiedName ) ) otherlv_4= LessThanSignEqualsSign ( (lv_upperBound_5_0= RULE_INT ) ) ) | ( ( (lv_upperBound_6_0= RULE_INT ) ) otherlv_7= GreaterThanSignEqualsSign ( ( ruleQualifiedName ) ) (otherlv_9= GreaterThanSignEqualsSign ( (lv_lowerBound_10_0= RULE_INT ) ) )? ) ) ) + // InternalSolverLanguageParser.g:4308:2: ( (otherlv_0= Scope ( ( ( ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= LessThanSignEqualsSign )? ( ( ruleQualifiedName ) ) otherlv_4= LessThanSignEqualsSign ( (lv_upperBound_5_0= RULE_INT ) ) ) | ( ( (lv_upperBound_6_0= RULE_INT ) ) otherlv_7= GreaterThanSignEqualsSign ( ( ruleQualifiedName ) ) (otherlv_9= GreaterThanSignEqualsSign ( (lv_lowerBound_10_0= RULE_INT ) ) )? ) ) this_FULL_STOP_11= RULE_FULL_STOP ) ) + // InternalSolverLanguageParser.g:4309:2: (otherlv_0= Scope ( ( ( ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= LessThanSignEqualsSign )? ( ( ruleQualifiedName ) ) otherlv_4= LessThanSignEqualsSign ( (lv_upperBound_5_0= RULE_INT ) ) ) | ( ( (lv_upperBound_6_0= RULE_INT ) ) otherlv_7= GreaterThanSignEqualsSign ( ( ruleQualifiedName ) ) (otherlv_9= GreaterThanSignEqualsSign ( (lv_lowerBound_10_0= RULE_INT ) ) )? ) ) this_FULL_STOP_11= RULE_FULL_STOP ) { - // InternalSolverLanguageParser.g:3745:2: (otherlv_0= Scope ( ( ( ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= LessThanSignEqualsSign )? ( ( ruleQualifiedName ) ) otherlv_4= LessThanSignEqualsSign ( (lv_upperBound_5_0= RULE_INT ) ) ) | ( ( (lv_upperBound_6_0= RULE_INT ) ) otherlv_7= GreaterThanSignEqualsSign ( ( ruleQualifiedName ) ) (otherlv_9= GreaterThanSignEqualsSign ( (lv_lowerBound_10_0= RULE_INT ) ) )? ) ) ) - // InternalSolverLanguageParser.g:3746:3: otherlv_0= Scope ( ( ( ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= LessThanSignEqualsSign )? ( ( ruleQualifiedName ) ) otherlv_4= LessThanSignEqualsSign ( (lv_upperBound_5_0= RULE_INT ) ) ) | ( ( (lv_upperBound_6_0= RULE_INT ) ) otherlv_7= GreaterThanSignEqualsSign ( ( ruleQualifiedName ) ) (otherlv_9= GreaterThanSignEqualsSign ( (lv_lowerBound_10_0= RULE_INT ) ) )? ) ) + // InternalSolverLanguageParser.g:4309:2: (otherlv_0= Scope ( ( ( ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= LessThanSignEqualsSign )? ( ( ruleQualifiedName ) ) otherlv_4= LessThanSignEqualsSign ( (lv_upperBound_5_0= RULE_INT ) ) ) | ( ( (lv_upperBound_6_0= RULE_INT ) ) otherlv_7= GreaterThanSignEqualsSign ( ( ruleQualifiedName ) ) (otherlv_9= GreaterThanSignEqualsSign ( (lv_lowerBound_10_0= RULE_INT ) ) )? ) ) this_FULL_STOP_11= RULE_FULL_STOP ) + // InternalSolverLanguageParser.g:4310:3: otherlv_0= Scope ( ( ( ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= LessThanSignEqualsSign )? ( ( ruleQualifiedName ) ) otherlv_4= LessThanSignEqualsSign ( (lv_upperBound_5_0= RULE_INT ) ) ) | ( ( (lv_upperBound_6_0= RULE_INT ) ) otherlv_7= GreaterThanSignEqualsSign ( ( ruleQualifiedName ) ) (otherlv_9= GreaterThanSignEqualsSign ( (lv_lowerBound_10_0= RULE_INT ) ) )? ) ) this_FULL_STOP_11= RULE_FULL_STOP { - otherlv_0=(Token)match(input,Scope,FOLLOW_55); + otherlv_0=(Token)match(input,Scope,FOLLOW_62); - newLeafNode(otherlv_0, grammarAccess.getBoundedScopeDefinitionAccess().getScopeKeyword_0()); + newLeafNode(otherlv_0, grammarAccess.getBoundedScopeAccess().getScopeKeyword_0()); - // InternalSolverLanguageParser.g:3750:3: ( ( ( ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= LessThanSignEqualsSign )? ( ( ruleQualifiedName ) ) otherlv_4= LessThanSignEqualsSign ( (lv_upperBound_5_0= RULE_INT ) ) ) | ( ( (lv_upperBound_6_0= RULE_INT ) ) otherlv_7= GreaterThanSignEqualsSign ( ( ruleQualifiedName ) ) (otherlv_9= GreaterThanSignEqualsSign ( (lv_lowerBound_10_0= RULE_INT ) ) )? ) ) - int alt47=2; - int LA47_0 = input.LA(1); + // InternalSolverLanguageParser.g:4314:3: ( ( ( ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= LessThanSignEqualsSign )? ( ( ruleQualifiedName ) ) otherlv_4= LessThanSignEqualsSign ( (lv_upperBound_5_0= RULE_INT ) ) ) | ( ( (lv_upperBound_6_0= RULE_INT ) ) otherlv_7= GreaterThanSignEqualsSign ( ( ruleQualifiedName ) ) (otherlv_9= GreaterThanSignEqualsSign ( (lv_lowerBound_10_0= RULE_INT ) ) )? ) ) + int alt56=2; + int LA56_0 = input.LA(1); - if ( (LA47_0==RULE_INT) ) { - int LA47_1 = input.LA(2); + if ( (LA56_0==RULE_INT) ) { + int LA56_1 = input.LA(2); - if ( (LA47_1==GreaterThanSignEqualsSign) ) { - alt47=2; + if ( (LA56_1==LessThanSignEqualsSign) ) { + alt56=1; } - else if ( (LA47_1==LessThanSignEqualsSign) ) { - alt47=1; + else if ( (LA56_1==GreaterThanSignEqualsSign) ) { + alt56=2; } else { NoViableAltException nvae = - new NoViableAltException("", 47, 1, input); + new NoViableAltException("", 56, 1, input); throw nvae; } } - else if ( (LA47_0==RULE_QUOTED_ID||LA47_0==RULE_ID) ) { - alt47=1; + else if ( (LA56_0==Object||LA56_0==RULE_QUOTED_ID||LA56_0==RULE_ID) ) { + alt56=1; } else { NoViableAltException nvae = - new NoViableAltException("", 47, 0, input); + new NoViableAltException("", 56, 0, input); throw nvae; } - switch (alt47) { + switch (alt56) { case 1 : - // InternalSolverLanguageParser.g:3751:4: ( ( ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= LessThanSignEqualsSign )? ( ( ruleQualifiedName ) ) otherlv_4= LessThanSignEqualsSign ( (lv_upperBound_5_0= RULE_INT ) ) ) + // InternalSolverLanguageParser.g:4315:4: ( ( ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= LessThanSignEqualsSign )? ( ( ruleQualifiedName ) ) otherlv_4= LessThanSignEqualsSign ( (lv_upperBound_5_0= RULE_INT ) ) ) { - // InternalSolverLanguageParser.g:3751:4: ( ( ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= LessThanSignEqualsSign )? ( ( ruleQualifiedName ) ) otherlv_4= LessThanSignEqualsSign ( (lv_upperBound_5_0= RULE_INT ) ) ) - // InternalSolverLanguageParser.g:3752:5: ( ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= LessThanSignEqualsSign )? ( ( ruleQualifiedName ) ) otherlv_4= LessThanSignEqualsSign ( (lv_upperBound_5_0= RULE_INT ) ) + // InternalSolverLanguageParser.g:4315:4: ( ( ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= LessThanSignEqualsSign )? ( ( ruleQualifiedName ) ) otherlv_4= LessThanSignEqualsSign ( (lv_upperBound_5_0= RULE_INT ) ) ) + // InternalSolverLanguageParser.g:4316:5: ( ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= LessThanSignEqualsSign )? ( ( ruleQualifiedName ) ) otherlv_4= LessThanSignEqualsSign ( (lv_upperBound_5_0= RULE_INT ) ) { - // InternalSolverLanguageParser.g:3752:5: ( ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= LessThanSignEqualsSign )? - int alt45=2; - int LA45_0 = input.LA(1); + // InternalSolverLanguageParser.g:4316:5: ( ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= LessThanSignEqualsSign )? + int alt54=2; + int LA54_0 = input.LA(1); - if ( (LA45_0==RULE_INT) ) { - alt45=1; + if ( (LA54_0==RULE_INT) ) { + alt54=1; } - switch (alt45) { + switch (alt54) { case 1 : - // InternalSolverLanguageParser.g:3753:6: ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= LessThanSignEqualsSign + // InternalSolverLanguageParser.g:4317:6: ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= LessThanSignEqualsSign { - // InternalSolverLanguageParser.g:3753:6: ( (lv_lowerBound_1_0= RULE_INT ) ) - // InternalSolverLanguageParser.g:3754:7: (lv_lowerBound_1_0= RULE_INT ) + // InternalSolverLanguageParser.g:4317:6: ( (lv_lowerBound_1_0= RULE_INT ) ) + // InternalSolverLanguageParser.g:4318:7: (lv_lowerBound_1_0= RULE_INT ) { - // InternalSolverLanguageParser.g:3754:7: (lv_lowerBound_1_0= RULE_INT ) - // InternalSolverLanguageParser.g:3755:8: lv_lowerBound_1_0= RULE_INT + // InternalSolverLanguageParser.g:4318:7: (lv_lowerBound_1_0= RULE_INT ) + // InternalSolverLanguageParser.g:4319:8: lv_lowerBound_1_0= RULE_INT { - lv_lowerBound_1_0=(Token)match(input,RULE_INT,FOLLOW_56); + lv_lowerBound_1_0=(Token)match(input,RULE_INT,FOLLOW_63); - newLeafNode(lv_lowerBound_1_0, grammarAccess.getBoundedScopeDefinitionAccess().getLowerBoundINTTerminalRuleCall_1_0_0_0_0()); + newLeafNode(lv_lowerBound_1_0, grammarAccess.getBoundedScopeAccess().getLowerBoundINTTerminalRuleCall_1_0_0_0_0()); if (current==null) { - current = createModelElement(grammarAccess.getBoundedScopeDefinitionRule()); + current = createModelElement(grammarAccess.getBoundedScopeRule()); } setWithLastConsumed( current, @@ -9615,9 +11131,9 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } - otherlv_2=(Token)match(input,LessThanSignEqualsSign,FOLLOW_8); + otherlv_2=(Token)match(input,LessThanSignEqualsSign,FOLLOW_3); - newLeafNode(otherlv_2, grammarAccess.getBoundedScopeDefinitionAccess().getLessThanSignEqualsSignKeyword_1_0_0_1()); + newLeafNode(otherlv_2, grammarAccess.getBoundedScopeAccess().getLessThanSignEqualsSignKeyword_1_0_0_1()); } @@ -9625,21 +11141,21 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } - // InternalSolverLanguageParser.g:3776:5: ( ( ruleQualifiedName ) ) - // InternalSolverLanguageParser.g:3777:6: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:4340:5: ( ( ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:4341:6: ( ruleQualifiedName ) { - // InternalSolverLanguageParser.g:3777:6: ( ruleQualifiedName ) - // InternalSolverLanguageParser.g:3778:7: ruleQualifiedName + // InternalSolverLanguageParser.g:4341:6: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:4342:7: ruleQualifiedName { if (current==null) { - current = createModelElement(grammarAccess.getBoundedScopeDefinitionRule()); + current = createModelElement(grammarAccess.getBoundedScopeRule()); } - newCompositeNode(grammarAccess.getBoundedScopeDefinitionAccess().getTypeNamedElementCrossReference_1_0_1_0()); + newCompositeNode(grammarAccess.getBoundedScopeAccess().getTypeSymbolCrossReference_1_0_1_0()); - pushFollow(FOLLOW_56); + pushFollow(FOLLOW_63); ruleQualifiedName(); state._fsp--; @@ -9653,23 +11169,23 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } - otherlv_4=(Token)match(input,LessThanSignEqualsSign,FOLLOW_53); + otherlv_4=(Token)match(input,LessThanSignEqualsSign,FOLLOW_57); - newLeafNode(otherlv_4, grammarAccess.getBoundedScopeDefinitionAccess().getLessThanSignEqualsSignKeyword_1_0_2()); + newLeafNode(otherlv_4, grammarAccess.getBoundedScopeAccess().getLessThanSignEqualsSignKeyword_1_0_2()); - // InternalSolverLanguageParser.g:3796:5: ( (lv_upperBound_5_0= RULE_INT ) ) - // InternalSolverLanguageParser.g:3797:6: (lv_upperBound_5_0= RULE_INT ) + // InternalSolverLanguageParser.g:4360:5: ( (lv_upperBound_5_0= RULE_INT ) ) + // InternalSolverLanguageParser.g:4361:6: (lv_upperBound_5_0= RULE_INT ) { - // InternalSolverLanguageParser.g:3797:6: (lv_upperBound_5_0= RULE_INT ) - // InternalSolverLanguageParser.g:3798:7: lv_upperBound_5_0= RULE_INT + // InternalSolverLanguageParser.g:4361:6: (lv_upperBound_5_0= RULE_INT ) + // InternalSolverLanguageParser.g:4362:7: lv_upperBound_5_0= RULE_INT { - lv_upperBound_5_0=(Token)match(input,RULE_INT,FOLLOW_2); + lv_upperBound_5_0=(Token)match(input,RULE_INT,FOLLOW_4); - newLeafNode(lv_upperBound_5_0, grammarAccess.getBoundedScopeDefinitionAccess().getUpperBoundINTTerminalRuleCall_1_0_3_0()); + newLeafNode(lv_upperBound_5_0, grammarAccess.getBoundedScopeAccess().getUpperBoundINTTerminalRuleCall_1_0_3_0()); if (current==null) { - current = createModelElement(grammarAccess.getBoundedScopeDefinitionRule()); + current = createModelElement(grammarAccess.getBoundedScopeRule()); } setWithLastConsumed( current, @@ -9690,24 +11206,24 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } break; case 2 : - // InternalSolverLanguageParser.g:3816:4: ( ( (lv_upperBound_6_0= RULE_INT ) ) otherlv_7= GreaterThanSignEqualsSign ( ( ruleQualifiedName ) ) (otherlv_9= GreaterThanSignEqualsSign ( (lv_lowerBound_10_0= RULE_INT ) ) )? ) + // InternalSolverLanguageParser.g:4380:4: ( ( (lv_upperBound_6_0= RULE_INT ) ) otherlv_7= GreaterThanSignEqualsSign ( ( ruleQualifiedName ) ) (otherlv_9= GreaterThanSignEqualsSign ( (lv_lowerBound_10_0= RULE_INT ) ) )? ) { - // InternalSolverLanguageParser.g:3816:4: ( ( (lv_upperBound_6_0= RULE_INT ) ) otherlv_7= GreaterThanSignEqualsSign ( ( ruleQualifiedName ) ) (otherlv_9= GreaterThanSignEqualsSign ( (lv_lowerBound_10_0= RULE_INT ) ) )? ) - // InternalSolverLanguageParser.g:3817:5: ( (lv_upperBound_6_0= RULE_INT ) ) otherlv_7= GreaterThanSignEqualsSign ( ( ruleQualifiedName ) ) (otherlv_9= GreaterThanSignEqualsSign ( (lv_lowerBound_10_0= RULE_INT ) ) )? + // InternalSolverLanguageParser.g:4380:4: ( ( (lv_upperBound_6_0= RULE_INT ) ) otherlv_7= GreaterThanSignEqualsSign ( ( ruleQualifiedName ) ) (otherlv_9= GreaterThanSignEqualsSign ( (lv_lowerBound_10_0= RULE_INT ) ) )? ) + // InternalSolverLanguageParser.g:4381:5: ( (lv_upperBound_6_0= RULE_INT ) ) otherlv_7= GreaterThanSignEqualsSign ( ( ruleQualifiedName ) ) (otherlv_9= GreaterThanSignEqualsSign ( (lv_lowerBound_10_0= RULE_INT ) ) )? { - // InternalSolverLanguageParser.g:3817:5: ( (lv_upperBound_6_0= RULE_INT ) ) - // InternalSolverLanguageParser.g:3818:6: (lv_upperBound_6_0= RULE_INT ) + // InternalSolverLanguageParser.g:4381:5: ( (lv_upperBound_6_0= RULE_INT ) ) + // InternalSolverLanguageParser.g:4382:6: (lv_upperBound_6_0= RULE_INT ) { - // InternalSolverLanguageParser.g:3818:6: (lv_upperBound_6_0= RULE_INT ) - // InternalSolverLanguageParser.g:3819:7: lv_upperBound_6_0= RULE_INT + // InternalSolverLanguageParser.g:4382:6: (lv_upperBound_6_0= RULE_INT ) + // InternalSolverLanguageParser.g:4383:7: lv_upperBound_6_0= RULE_INT { - lv_upperBound_6_0=(Token)match(input,RULE_INT,FOLLOW_57); + lv_upperBound_6_0=(Token)match(input,RULE_INT,FOLLOW_64); - newLeafNode(lv_upperBound_6_0, grammarAccess.getBoundedScopeDefinitionAccess().getUpperBoundINTTerminalRuleCall_1_1_0_0()); + newLeafNode(lv_upperBound_6_0, grammarAccess.getBoundedScopeAccess().getUpperBoundINTTerminalRuleCall_1_1_0_0()); if (current==null) { - current = createModelElement(grammarAccess.getBoundedScopeDefinitionRule()); + current = createModelElement(grammarAccess.getBoundedScopeRule()); } setWithLastConsumed( current, @@ -9721,25 +11237,25 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } - otherlv_7=(Token)match(input,GreaterThanSignEqualsSign,FOLLOW_8); + otherlv_7=(Token)match(input,GreaterThanSignEqualsSign,FOLLOW_3); - newLeafNode(otherlv_7, grammarAccess.getBoundedScopeDefinitionAccess().getGreaterThanSignEqualsSignKeyword_1_1_1()); + newLeafNode(otherlv_7, grammarAccess.getBoundedScopeAccess().getGreaterThanSignEqualsSignKeyword_1_1_1()); - // InternalSolverLanguageParser.g:3839:5: ( ( ruleQualifiedName ) ) - // InternalSolverLanguageParser.g:3840:6: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:4403:5: ( ( ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:4404:6: ( ruleQualifiedName ) { - // InternalSolverLanguageParser.g:3840:6: ( ruleQualifiedName ) - // InternalSolverLanguageParser.g:3841:7: ruleQualifiedName + // InternalSolverLanguageParser.g:4404:6: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:4405:7: ruleQualifiedName { if (current==null) { - current = createModelElement(grammarAccess.getBoundedScopeDefinitionRule()); + current = createModelElement(grammarAccess.getBoundedScopeRule()); } - newCompositeNode(grammarAccess.getBoundedScopeDefinitionAccess().getTypeNamedElementCrossReference_1_1_2_0()); + newCompositeNode(grammarAccess.getBoundedScopeAccess().getTypeSymbolCrossReference_1_1_2_0()); - pushFollow(FOLLOW_58); + pushFollow(FOLLOW_65); ruleQualifiedName(); state._fsp--; @@ -9753,34 +11269,34 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } - // InternalSolverLanguageParser.g:3855:5: (otherlv_9= GreaterThanSignEqualsSign ( (lv_lowerBound_10_0= RULE_INT ) ) )? - int alt46=2; - int LA46_0 = input.LA(1); + // InternalSolverLanguageParser.g:4419:5: (otherlv_9= GreaterThanSignEqualsSign ( (lv_lowerBound_10_0= RULE_INT ) ) )? + int alt55=2; + int LA55_0 = input.LA(1); - if ( (LA46_0==GreaterThanSignEqualsSign) ) { - alt46=1; + if ( (LA55_0==GreaterThanSignEqualsSign) ) { + alt55=1; } - switch (alt46) { + switch (alt55) { case 1 : - // InternalSolverLanguageParser.g:3856:6: otherlv_9= GreaterThanSignEqualsSign ( (lv_lowerBound_10_0= RULE_INT ) ) + // InternalSolverLanguageParser.g:4420:6: otherlv_9= GreaterThanSignEqualsSign ( (lv_lowerBound_10_0= RULE_INT ) ) { - otherlv_9=(Token)match(input,GreaterThanSignEqualsSign,FOLLOW_53); + otherlv_9=(Token)match(input,GreaterThanSignEqualsSign,FOLLOW_57); - newLeafNode(otherlv_9, grammarAccess.getBoundedScopeDefinitionAccess().getGreaterThanSignEqualsSignKeyword_1_1_3_0()); + newLeafNode(otherlv_9, grammarAccess.getBoundedScopeAccess().getGreaterThanSignEqualsSignKeyword_1_1_3_0()); - // InternalSolverLanguageParser.g:3860:6: ( (lv_lowerBound_10_0= RULE_INT ) ) - // InternalSolverLanguageParser.g:3861:7: (lv_lowerBound_10_0= RULE_INT ) + // InternalSolverLanguageParser.g:4424:6: ( (lv_lowerBound_10_0= RULE_INT ) ) + // InternalSolverLanguageParser.g:4425:7: (lv_lowerBound_10_0= RULE_INT ) { - // InternalSolverLanguageParser.g:3861:7: (lv_lowerBound_10_0= RULE_INT ) - // InternalSolverLanguageParser.g:3862:8: lv_lowerBound_10_0= RULE_INT + // InternalSolverLanguageParser.g:4425:7: (lv_lowerBound_10_0= RULE_INT ) + // InternalSolverLanguageParser.g:4426:8: lv_lowerBound_10_0= RULE_INT { - lv_lowerBound_10_0=(Token)match(input,RULE_INT,FOLLOW_2); + lv_lowerBound_10_0=(Token)match(input,RULE_INT,FOLLOW_4); - newLeafNode(lv_lowerBound_10_0, grammarAccess.getBoundedScopeDefinitionAccess().getLowerBoundINTTerminalRuleCall_1_1_3_1_0()); + newLeafNode(lv_lowerBound_10_0, grammarAccess.getBoundedScopeAccess().getLowerBoundINTTerminalRuleCall_1_1_3_1_0()); if (current==null) { - current = createModelElement(grammarAccess.getBoundedScopeDefinitionRule()); + current = createModelElement(grammarAccess.getBoundedScopeRule()); } setWithLastConsumed( current, @@ -9809,6 +11325,10 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } + this_FULL_STOP_11=(Token)match(input,RULE_FULL_STOP,FOLLOW_2); + + newLeafNode(this_FULL_STOP_11, grammarAccess.getBoundedScopeAccess().getFULL_STOPTerminalRuleCall_2()); + } @@ -9828,28 +11348,28 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } return current; } - // $ANTLR end "ruleBoundedScopeDefinition" + // $ANTLR end "ruleBoundedScope" - // $ANTLR start "entryRuleLowerBoundedScopeDefinition" - // InternalSolverLanguageParser.g:3885:1: entryRuleLowerBoundedScopeDefinition returns [EObject current=null] : iv_ruleLowerBoundedScopeDefinition= ruleLowerBoundedScopeDefinition EOF ; - public final EObject entryRuleLowerBoundedScopeDefinition() throws RecognitionException { + // $ANTLR start "entryRuleLowerBoundedScope" + // InternalSolverLanguageParser.g:4453:1: entryRuleLowerBoundedScope returns [EObject current=null] : iv_ruleLowerBoundedScope= ruleLowerBoundedScope EOF ; + public final EObject entryRuleLowerBoundedScope() throws RecognitionException { EObject current = null; - EObject iv_ruleLowerBoundedScopeDefinition = null; + EObject iv_ruleLowerBoundedScope = null; try { - // InternalSolverLanguageParser.g:3885:68: (iv_ruleLowerBoundedScopeDefinition= ruleLowerBoundedScopeDefinition EOF ) - // InternalSolverLanguageParser.g:3886:2: iv_ruleLowerBoundedScopeDefinition= ruleLowerBoundedScopeDefinition EOF + // InternalSolverLanguageParser.g:4453:58: (iv_ruleLowerBoundedScope= ruleLowerBoundedScope EOF ) + // InternalSolverLanguageParser.g:4454:2: iv_ruleLowerBoundedScope= ruleLowerBoundedScope EOF { - newCompositeNode(grammarAccess.getLowerBoundedScopeDefinitionRule()); + newCompositeNode(grammarAccess.getLowerBoundedScopeRule()); pushFollow(FOLLOW_1); - iv_ruleLowerBoundedScopeDefinition=ruleLowerBoundedScopeDefinition(); + iv_ruleLowerBoundedScope=ruleLowerBoundedScope(); state._fsp--; - current =iv_ruleLowerBoundedScopeDefinition; + current =iv_ruleLowerBoundedScope; match(input,EOF,FOLLOW_2); } @@ -9864,12 +11384,12 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } return current; } - // $ANTLR end "entryRuleLowerBoundedScopeDefinition" + // $ANTLR end "entryRuleLowerBoundedScope" - // $ANTLR start "ruleLowerBoundedScopeDefinition" - // InternalSolverLanguageParser.g:3892:1: ruleLowerBoundedScopeDefinition returns [EObject current=null] : (otherlv_0= Scope ( ( ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= LessThanSignEqualsSign ( ( ruleQualifiedName ) ) ) | ( ( ( ruleQualifiedName ) ) otherlv_5= GreaterThanSignEqualsSign ( (lv_lowerBound_6_0= RULE_INT ) ) ) ) ) ; - public final EObject ruleLowerBoundedScopeDefinition() throws RecognitionException { + // $ANTLR start "ruleLowerBoundedScope" + // InternalSolverLanguageParser.g:4460:1: ruleLowerBoundedScope returns [EObject current=null] : (otherlv_0= Scope ( ( ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= LessThanSignEqualsSign ( ( ruleQualifiedName ) ) ) | ( ( ( ruleQualifiedName ) ) otherlv_5= GreaterThanSignEqualsSign ( (lv_lowerBound_6_0= RULE_INT ) ) ) ) this_FULL_STOP_7= RULE_FULL_STOP ) ; + public final EObject ruleLowerBoundedScope() throws RecognitionException { EObject current = null; Token otherlv_0=null; @@ -9877,57 +11397,58 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { Token otherlv_2=null; Token otherlv_5=null; Token lv_lowerBound_6_0=null; + Token this_FULL_STOP_7=null; enterRule(); try { - // InternalSolverLanguageParser.g:3898:2: ( (otherlv_0= Scope ( ( ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= LessThanSignEqualsSign ( ( ruleQualifiedName ) ) ) | ( ( ( ruleQualifiedName ) ) otherlv_5= GreaterThanSignEqualsSign ( (lv_lowerBound_6_0= RULE_INT ) ) ) ) ) ) - // InternalSolverLanguageParser.g:3899:2: (otherlv_0= Scope ( ( ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= LessThanSignEqualsSign ( ( ruleQualifiedName ) ) ) | ( ( ( ruleQualifiedName ) ) otherlv_5= GreaterThanSignEqualsSign ( (lv_lowerBound_6_0= RULE_INT ) ) ) ) ) + // InternalSolverLanguageParser.g:4466:2: ( (otherlv_0= Scope ( ( ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= LessThanSignEqualsSign ( ( ruleQualifiedName ) ) ) | ( ( ( ruleQualifiedName ) ) otherlv_5= GreaterThanSignEqualsSign ( (lv_lowerBound_6_0= RULE_INT ) ) ) ) this_FULL_STOP_7= RULE_FULL_STOP ) ) + // InternalSolverLanguageParser.g:4467:2: (otherlv_0= Scope ( ( ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= LessThanSignEqualsSign ( ( ruleQualifiedName ) ) ) | ( ( ( ruleQualifiedName ) ) otherlv_5= GreaterThanSignEqualsSign ( (lv_lowerBound_6_0= RULE_INT ) ) ) ) this_FULL_STOP_7= RULE_FULL_STOP ) { - // InternalSolverLanguageParser.g:3899:2: (otherlv_0= Scope ( ( ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= LessThanSignEqualsSign ( ( ruleQualifiedName ) ) ) | ( ( ( ruleQualifiedName ) ) otherlv_5= GreaterThanSignEqualsSign ( (lv_lowerBound_6_0= RULE_INT ) ) ) ) ) - // InternalSolverLanguageParser.g:3900:3: otherlv_0= Scope ( ( ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= LessThanSignEqualsSign ( ( ruleQualifiedName ) ) ) | ( ( ( ruleQualifiedName ) ) otherlv_5= GreaterThanSignEqualsSign ( (lv_lowerBound_6_0= RULE_INT ) ) ) ) + // InternalSolverLanguageParser.g:4467:2: (otherlv_0= Scope ( ( ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= LessThanSignEqualsSign ( ( ruleQualifiedName ) ) ) | ( ( ( ruleQualifiedName ) ) otherlv_5= GreaterThanSignEqualsSign ( (lv_lowerBound_6_0= RULE_INT ) ) ) ) this_FULL_STOP_7= RULE_FULL_STOP ) + // InternalSolverLanguageParser.g:4468:3: otherlv_0= Scope ( ( ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= LessThanSignEqualsSign ( ( ruleQualifiedName ) ) ) | ( ( ( ruleQualifiedName ) ) otherlv_5= GreaterThanSignEqualsSign ( (lv_lowerBound_6_0= RULE_INT ) ) ) ) this_FULL_STOP_7= RULE_FULL_STOP { - otherlv_0=(Token)match(input,Scope,FOLLOW_55); + otherlv_0=(Token)match(input,Scope,FOLLOW_62); - newLeafNode(otherlv_0, grammarAccess.getLowerBoundedScopeDefinitionAccess().getScopeKeyword_0()); + newLeafNode(otherlv_0, grammarAccess.getLowerBoundedScopeAccess().getScopeKeyword_0()); - // InternalSolverLanguageParser.g:3904:3: ( ( ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= LessThanSignEqualsSign ( ( ruleQualifiedName ) ) ) | ( ( ( ruleQualifiedName ) ) otherlv_5= GreaterThanSignEqualsSign ( (lv_lowerBound_6_0= RULE_INT ) ) ) ) - int alt48=2; - int LA48_0 = input.LA(1); + // InternalSolverLanguageParser.g:4472:3: ( ( ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= LessThanSignEqualsSign ( ( ruleQualifiedName ) ) ) | ( ( ( ruleQualifiedName ) ) otherlv_5= GreaterThanSignEqualsSign ( (lv_lowerBound_6_0= RULE_INT ) ) ) ) + int alt57=2; + int LA57_0 = input.LA(1); - if ( (LA48_0==RULE_INT) ) { - alt48=1; + if ( (LA57_0==RULE_INT) ) { + alt57=1; } - else if ( (LA48_0==RULE_QUOTED_ID||LA48_0==RULE_ID) ) { - alt48=2; + else if ( (LA57_0==Object||LA57_0==RULE_QUOTED_ID||LA57_0==RULE_ID) ) { + alt57=2; } else { NoViableAltException nvae = - new NoViableAltException("", 48, 0, input); + new NoViableAltException("", 57, 0, input); throw nvae; } - switch (alt48) { + switch (alt57) { case 1 : - // InternalSolverLanguageParser.g:3905:4: ( ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= LessThanSignEqualsSign ( ( ruleQualifiedName ) ) ) + // InternalSolverLanguageParser.g:4473:4: ( ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= LessThanSignEqualsSign ( ( ruleQualifiedName ) ) ) { - // InternalSolverLanguageParser.g:3905:4: ( ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= LessThanSignEqualsSign ( ( ruleQualifiedName ) ) ) - // InternalSolverLanguageParser.g:3906:5: ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= LessThanSignEqualsSign ( ( ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:4473:4: ( ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= LessThanSignEqualsSign ( ( ruleQualifiedName ) ) ) + // InternalSolverLanguageParser.g:4474:5: ( (lv_lowerBound_1_0= RULE_INT ) ) otherlv_2= LessThanSignEqualsSign ( ( ruleQualifiedName ) ) { - // InternalSolverLanguageParser.g:3906:5: ( (lv_lowerBound_1_0= RULE_INT ) ) - // InternalSolverLanguageParser.g:3907:6: (lv_lowerBound_1_0= RULE_INT ) + // InternalSolverLanguageParser.g:4474:5: ( (lv_lowerBound_1_0= RULE_INT ) ) + // InternalSolverLanguageParser.g:4475:6: (lv_lowerBound_1_0= RULE_INT ) { - // InternalSolverLanguageParser.g:3907:6: (lv_lowerBound_1_0= RULE_INT ) - // InternalSolverLanguageParser.g:3908:7: lv_lowerBound_1_0= RULE_INT + // InternalSolverLanguageParser.g:4475:6: (lv_lowerBound_1_0= RULE_INT ) + // InternalSolverLanguageParser.g:4476:7: lv_lowerBound_1_0= RULE_INT { - lv_lowerBound_1_0=(Token)match(input,RULE_INT,FOLLOW_56); + lv_lowerBound_1_0=(Token)match(input,RULE_INT,FOLLOW_63); - newLeafNode(lv_lowerBound_1_0, grammarAccess.getLowerBoundedScopeDefinitionAccess().getLowerBoundINTTerminalRuleCall_1_0_0_0()); + newLeafNode(lv_lowerBound_1_0, grammarAccess.getLowerBoundedScopeAccess().getLowerBoundINTTerminalRuleCall_1_0_0_0()); if (current==null) { - current = createModelElement(grammarAccess.getLowerBoundedScopeDefinitionRule()); + current = createModelElement(grammarAccess.getLowerBoundedScopeRule()); } setWithLastConsumed( current, @@ -9941,25 +11462,25 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } - otherlv_2=(Token)match(input,LessThanSignEqualsSign,FOLLOW_8); + otherlv_2=(Token)match(input,LessThanSignEqualsSign,FOLLOW_3); - newLeafNode(otherlv_2, grammarAccess.getLowerBoundedScopeDefinitionAccess().getLessThanSignEqualsSignKeyword_1_0_1()); + newLeafNode(otherlv_2, grammarAccess.getLowerBoundedScopeAccess().getLessThanSignEqualsSignKeyword_1_0_1()); - // InternalSolverLanguageParser.g:3928:5: ( ( ruleQualifiedName ) ) - // InternalSolverLanguageParser.g:3929:6: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:4496:5: ( ( ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:4497:6: ( ruleQualifiedName ) { - // InternalSolverLanguageParser.g:3929:6: ( ruleQualifiedName ) - // InternalSolverLanguageParser.g:3930:7: ruleQualifiedName + // InternalSolverLanguageParser.g:4497:6: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:4498:7: ruleQualifiedName { if (current==null) { - current = createModelElement(grammarAccess.getLowerBoundedScopeDefinitionRule()); + current = createModelElement(grammarAccess.getLowerBoundedScopeRule()); } - newCompositeNode(grammarAccess.getLowerBoundedScopeDefinitionAccess().getTypeNamedElementCrossReference_1_0_2_0()); + newCompositeNode(grammarAccess.getLowerBoundedScopeAccess().getTypeSymbolCrossReference_1_0_2_0()); - pushFollow(FOLLOW_2); + pushFollow(FOLLOW_4); ruleQualifiedName(); state._fsp--; @@ -9980,26 +11501,26 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } break; case 2 : - // InternalSolverLanguageParser.g:3946:4: ( ( ( ruleQualifiedName ) ) otherlv_5= GreaterThanSignEqualsSign ( (lv_lowerBound_6_0= RULE_INT ) ) ) + // InternalSolverLanguageParser.g:4514:4: ( ( ( ruleQualifiedName ) ) otherlv_5= GreaterThanSignEqualsSign ( (lv_lowerBound_6_0= RULE_INT ) ) ) { - // InternalSolverLanguageParser.g:3946:4: ( ( ( ruleQualifiedName ) ) otherlv_5= GreaterThanSignEqualsSign ( (lv_lowerBound_6_0= RULE_INT ) ) ) - // InternalSolverLanguageParser.g:3947:5: ( ( ruleQualifiedName ) ) otherlv_5= GreaterThanSignEqualsSign ( (lv_lowerBound_6_0= RULE_INT ) ) + // InternalSolverLanguageParser.g:4514:4: ( ( ( ruleQualifiedName ) ) otherlv_5= GreaterThanSignEqualsSign ( (lv_lowerBound_6_0= RULE_INT ) ) ) + // InternalSolverLanguageParser.g:4515:5: ( ( ruleQualifiedName ) ) otherlv_5= GreaterThanSignEqualsSign ( (lv_lowerBound_6_0= RULE_INT ) ) { - // InternalSolverLanguageParser.g:3947:5: ( ( ruleQualifiedName ) ) - // InternalSolverLanguageParser.g:3948:6: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:4515:5: ( ( ruleQualifiedName ) ) + // InternalSolverLanguageParser.g:4516:6: ( ruleQualifiedName ) { - // InternalSolverLanguageParser.g:3948:6: ( ruleQualifiedName ) - // InternalSolverLanguageParser.g:3949:7: ruleQualifiedName + // InternalSolverLanguageParser.g:4516:6: ( ruleQualifiedName ) + // InternalSolverLanguageParser.g:4517:7: ruleQualifiedName { if (current==null) { - current = createModelElement(grammarAccess.getLowerBoundedScopeDefinitionRule()); + current = createModelElement(grammarAccess.getLowerBoundedScopeRule()); } - newCompositeNode(grammarAccess.getLowerBoundedScopeDefinitionAccess().getTypeNamedElementCrossReference_1_1_0_0()); + newCompositeNode(grammarAccess.getLowerBoundedScopeAccess().getTypeSymbolCrossReference_1_1_0_0()); - pushFollow(FOLLOW_57); + pushFollow(FOLLOW_64); ruleQualifiedName(); state._fsp--; @@ -10013,23 +11534,23 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } - otherlv_5=(Token)match(input,GreaterThanSignEqualsSign,FOLLOW_53); + otherlv_5=(Token)match(input,GreaterThanSignEqualsSign,FOLLOW_57); - newLeafNode(otherlv_5, grammarAccess.getLowerBoundedScopeDefinitionAccess().getGreaterThanSignEqualsSignKeyword_1_1_1()); + newLeafNode(otherlv_5, grammarAccess.getLowerBoundedScopeAccess().getGreaterThanSignEqualsSignKeyword_1_1_1()); - // InternalSolverLanguageParser.g:3967:5: ( (lv_lowerBound_6_0= RULE_INT ) ) - // InternalSolverLanguageParser.g:3968:6: (lv_lowerBound_6_0= RULE_INT ) + // InternalSolverLanguageParser.g:4535:5: ( (lv_lowerBound_6_0= RULE_INT ) ) + // InternalSolverLanguageParser.g:4536:6: (lv_lowerBound_6_0= RULE_INT ) { - // InternalSolverLanguageParser.g:3968:6: (lv_lowerBound_6_0= RULE_INT ) - // InternalSolverLanguageParser.g:3969:7: lv_lowerBound_6_0= RULE_INT + // InternalSolverLanguageParser.g:4536:6: (lv_lowerBound_6_0= RULE_INT ) + // InternalSolverLanguageParser.g:4537:7: lv_lowerBound_6_0= RULE_INT { - lv_lowerBound_6_0=(Token)match(input,RULE_INT,FOLLOW_2); + lv_lowerBound_6_0=(Token)match(input,RULE_INT,FOLLOW_4); - newLeafNode(lv_lowerBound_6_0, grammarAccess.getLowerBoundedScopeDefinitionAccess().getLowerBoundINTTerminalRuleCall_1_1_2_0()); + newLeafNode(lv_lowerBound_6_0, grammarAccess.getLowerBoundedScopeAccess().getLowerBoundINTTerminalRuleCall_1_1_2_0()); if (current==null) { - current = createModelElement(grammarAccess.getLowerBoundedScopeDefinitionRule()); + current = createModelElement(grammarAccess.getLowerBoundedScopeRule()); } setWithLastConsumed( current, @@ -10052,6 +11573,10 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } + this_FULL_STOP_7=(Token)match(input,RULE_FULL_STOP,FOLLOW_2); + + newLeafNode(this_FULL_STOP_7, grammarAccess.getLowerBoundedScopeAccess().getFULL_STOPTerminalRuleCall_2()); + } @@ -10071,28 +11596,28 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } return current; } - // $ANTLR end "ruleLowerBoundedScopeDefinition" + // $ANTLR end "ruleLowerBoundedScope" - // $ANTLR start "entryRuleObjectiveDefinition" - // InternalSolverLanguageParser.g:3991:1: entryRuleObjectiveDefinition returns [EObject current=null] : iv_ruleObjectiveDefinition= ruleObjectiveDefinition EOF ; - public final EObject entryRuleObjectiveDefinition() throws RecognitionException { + // $ANTLR start "entryRuleObjectiveDeclaration" + // InternalSolverLanguageParser.g:4563:1: entryRuleObjectiveDeclaration returns [EObject current=null] : iv_ruleObjectiveDeclaration= ruleObjectiveDeclaration EOF ; + public final EObject entryRuleObjectiveDeclaration() throws RecognitionException { EObject current = null; - EObject iv_ruleObjectiveDefinition = null; + EObject iv_ruleObjectiveDeclaration = null; try { - // InternalSolverLanguageParser.g:3991:60: (iv_ruleObjectiveDefinition= ruleObjectiveDefinition EOF ) - // InternalSolverLanguageParser.g:3992:2: iv_ruleObjectiveDefinition= ruleObjectiveDefinition EOF + // InternalSolverLanguageParser.g:4563:61: (iv_ruleObjectiveDeclaration= ruleObjectiveDeclaration EOF ) + // InternalSolverLanguageParser.g:4564:2: iv_ruleObjectiveDeclaration= ruleObjectiveDeclaration EOF { - newCompositeNode(grammarAccess.getObjectiveDefinitionRule()); + newCompositeNode(grammarAccess.getObjectiveDeclarationRule()); pushFollow(FOLLOW_1); - iv_ruleObjectiveDefinition=ruleObjectiveDefinition(); + iv_ruleObjectiveDeclaration=ruleObjectiveDeclaration(); state._fsp--; - current =iv_ruleObjectiveDefinition; + current =iv_ruleObjectiveDeclaration; match(input,EOF,FOLLOW_2); } @@ -10107,14 +11632,15 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } return current; } - // $ANTLR end "entryRuleObjectiveDefinition" + // $ANTLR end "entryRuleObjectiveDeclaration" - // $ANTLR start "ruleObjectiveDefinition" - // InternalSolverLanguageParser.g:3998:1: ruleObjectiveDefinition returns [EObject current=null] : ( ( (lv_kind_0_0= ruleObjectiveKind ) ) ( (lv_objective_1_0= ruleExpression ) ) ) ; - public final EObject ruleObjectiveDefinition() throws RecognitionException { + // $ANTLR start "ruleObjectiveDeclaration" + // InternalSolverLanguageParser.g:4570:1: ruleObjectiveDeclaration returns [EObject current=null] : ( ( (lv_kind_0_0= ruleObjectiveKind ) ) ( (lv_objective_1_0= ruleExpression ) ) this_FULL_STOP_2= RULE_FULL_STOP ) ; + public final EObject ruleObjectiveDeclaration() throws RecognitionException { EObject current = null; + Token this_FULL_STOP_2=null; Enumerator lv_kind_0_0 = null; EObject lv_objective_1_0 = null; @@ -10124,29 +11650,29 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { enterRule(); try { - // InternalSolverLanguageParser.g:4004:2: ( ( ( (lv_kind_0_0= ruleObjectiveKind ) ) ( (lv_objective_1_0= ruleExpression ) ) ) ) - // InternalSolverLanguageParser.g:4005:2: ( ( (lv_kind_0_0= ruleObjectiveKind ) ) ( (lv_objective_1_0= ruleExpression ) ) ) + // InternalSolverLanguageParser.g:4576:2: ( ( ( (lv_kind_0_0= ruleObjectiveKind ) ) ( (lv_objective_1_0= ruleExpression ) ) this_FULL_STOP_2= RULE_FULL_STOP ) ) + // InternalSolverLanguageParser.g:4577:2: ( ( (lv_kind_0_0= ruleObjectiveKind ) ) ( (lv_objective_1_0= ruleExpression ) ) this_FULL_STOP_2= RULE_FULL_STOP ) { - // InternalSolverLanguageParser.g:4005:2: ( ( (lv_kind_0_0= ruleObjectiveKind ) ) ( (lv_objective_1_0= ruleExpression ) ) ) - // InternalSolverLanguageParser.g:4006:3: ( (lv_kind_0_0= ruleObjectiveKind ) ) ( (lv_objective_1_0= ruleExpression ) ) + // InternalSolverLanguageParser.g:4577:2: ( ( (lv_kind_0_0= ruleObjectiveKind ) ) ( (lv_objective_1_0= ruleExpression ) ) this_FULL_STOP_2= RULE_FULL_STOP ) + // InternalSolverLanguageParser.g:4578:3: ( (lv_kind_0_0= ruleObjectiveKind ) ) ( (lv_objective_1_0= ruleExpression ) ) this_FULL_STOP_2= RULE_FULL_STOP { - // InternalSolverLanguageParser.g:4006:3: ( (lv_kind_0_0= ruleObjectiveKind ) ) - // InternalSolverLanguageParser.g:4007:4: (lv_kind_0_0= ruleObjectiveKind ) + // InternalSolverLanguageParser.g:4578:3: ( (lv_kind_0_0= ruleObjectiveKind ) ) + // InternalSolverLanguageParser.g:4579:4: (lv_kind_0_0= ruleObjectiveKind ) { - // InternalSolverLanguageParser.g:4007:4: (lv_kind_0_0= ruleObjectiveKind ) - // InternalSolverLanguageParser.g:4008:5: lv_kind_0_0= ruleObjectiveKind + // InternalSolverLanguageParser.g:4579:4: (lv_kind_0_0= ruleObjectiveKind ) + // InternalSolverLanguageParser.g:4580:5: lv_kind_0_0= ruleObjectiveKind { - newCompositeNode(grammarAccess.getObjectiveDefinitionAccess().getKindObjectiveKindEnumRuleCall_0_0()); + newCompositeNode(grammarAccess.getObjectiveDeclarationAccess().getKindObjectiveKindEnumRuleCall_0_0()); - pushFollow(FOLLOW_6); + pushFollow(FOLLOW_10); lv_kind_0_0=ruleObjectiveKind(); state._fsp--; if (current==null) { - current = createModelElementForParent(grammarAccess.getObjectiveDefinitionRule()); + current = createModelElementForParent(grammarAccess.getObjectiveDeclarationRule()); } set( current, @@ -10161,23 +11687,23 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } - // InternalSolverLanguageParser.g:4025:3: ( (lv_objective_1_0= ruleExpression ) ) - // InternalSolverLanguageParser.g:4026:4: (lv_objective_1_0= ruleExpression ) + // InternalSolverLanguageParser.g:4597:3: ( (lv_objective_1_0= ruleExpression ) ) + // InternalSolverLanguageParser.g:4598:4: (lv_objective_1_0= ruleExpression ) { - // InternalSolverLanguageParser.g:4026:4: (lv_objective_1_0= ruleExpression ) - // InternalSolverLanguageParser.g:4027:5: lv_objective_1_0= ruleExpression + // InternalSolverLanguageParser.g:4598:4: (lv_objective_1_0= ruleExpression ) + // InternalSolverLanguageParser.g:4599:5: lv_objective_1_0= ruleExpression { - newCompositeNode(grammarAccess.getObjectiveDefinitionAccess().getObjectiveExpressionParserRuleCall_1_0()); + newCompositeNode(grammarAccess.getObjectiveDeclarationAccess().getObjectiveExpressionParserRuleCall_1_0()); - pushFollow(FOLLOW_2); + pushFollow(FOLLOW_4); lv_objective_1_0=ruleExpression(); state._fsp--; if (current==null) { - current = createModelElementForParent(grammarAccess.getObjectiveDefinitionRule()); + current = createModelElementForParent(grammarAccess.getObjectiveDeclarationRule()); } set( current, @@ -10192,6 +11718,10 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } + this_FULL_STOP_2=(Token)match(input,RULE_FULL_STOP,FOLLOW_2); + + newLeafNode(this_FULL_STOP_2, grammarAccess.getObjectiveDeclarationAccess().getFULL_STOPTerminalRuleCall_2()); + } @@ -10211,11 +11741,11 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } return current; } - // $ANTLR end "ruleObjectiveDefinition" + // $ANTLR end "ruleObjectiveDeclaration" // $ANTLR start "entryRuleUpperMultiplicty" - // InternalSolverLanguageParser.g:4048:1: entryRuleUpperMultiplicty returns [String current=null] : iv_ruleUpperMultiplicty= ruleUpperMultiplicty EOF ; + // InternalSolverLanguageParser.g:4624:1: entryRuleUpperMultiplicty returns [String current=null] : iv_ruleUpperMultiplicty= ruleUpperMultiplicty EOF ; public final String entryRuleUpperMultiplicty() throws RecognitionException { String current = null; @@ -10223,8 +11753,8 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { try { - // InternalSolverLanguageParser.g:4048:56: (iv_ruleUpperMultiplicty= ruleUpperMultiplicty EOF ) - // InternalSolverLanguageParser.g:4049:2: iv_ruleUpperMultiplicty= ruleUpperMultiplicty EOF + // InternalSolverLanguageParser.g:4624:56: (iv_ruleUpperMultiplicty= ruleUpperMultiplicty EOF ) + // InternalSolverLanguageParser.g:4625:2: iv_ruleUpperMultiplicty= ruleUpperMultiplicty EOF { newCompositeNode(grammarAccess.getUpperMultiplictyRule()); pushFollow(FOLLOW_1); @@ -10251,7 +11781,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleUpperMultiplicty" - // InternalSolverLanguageParser.g:4055:1: ruleUpperMultiplicty returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_INT_0= RULE_INT | kw= Asterisk ) ; + // InternalSolverLanguageParser.g:4631:1: ruleUpperMultiplicty returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_INT_0= RULE_INT | kw= Asterisk ) ; public final AntlrDatatypeRuleToken ruleUpperMultiplicty() throws RecognitionException { AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); @@ -10262,28 +11792,28 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { enterRule(); try { - // InternalSolverLanguageParser.g:4061:2: ( (this_INT_0= RULE_INT | kw= Asterisk ) ) - // InternalSolverLanguageParser.g:4062:2: (this_INT_0= RULE_INT | kw= Asterisk ) + // InternalSolverLanguageParser.g:4637:2: ( (this_INT_0= RULE_INT | kw= Asterisk ) ) + // InternalSolverLanguageParser.g:4638:2: (this_INT_0= RULE_INT | kw= Asterisk ) { - // InternalSolverLanguageParser.g:4062:2: (this_INT_0= RULE_INT | kw= Asterisk ) - int alt49=2; - int LA49_0 = input.LA(1); + // InternalSolverLanguageParser.g:4638:2: (this_INT_0= RULE_INT | kw= Asterisk ) + int alt58=2; + int LA58_0 = input.LA(1); - if ( (LA49_0==RULE_INT) ) { - alt49=1; + if ( (LA58_0==RULE_INT) ) { + alt58=1; } - else if ( (LA49_0==Asterisk) ) { - alt49=2; + else if ( (LA58_0==Asterisk) ) { + alt58=2; } else { NoViableAltException nvae = - new NoViableAltException("", 49, 0, input); + new NoViableAltException("", 58, 0, input); throw nvae; } - switch (alt49) { + switch (alt58) { case 1 : - // InternalSolverLanguageParser.g:4063:3: this_INT_0= RULE_INT + // InternalSolverLanguageParser.g:4639:3: this_INT_0= RULE_INT { this_INT_0=(Token)match(input,RULE_INT,FOLLOW_2); @@ -10296,7 +11826,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } break; case 2 : - // InternalSolverLanguageParser.g:4071:3: kw= Asterisk + // InternalSolverLanguageParser.g:4647:3: kw= Asterisk { kw=(Token)match(input,Asterisk,FOLLOW_2); @@ -10329,7 +11859,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleReal" - // InternalSolverLanguageParser.g:4080:1: entryRuleReal returns [String current=null] : iv_ruleReal= ruleReal EOF ; + // InternalSolverLanguageParser.g:4656:1: entryRuleReal returns [String current=null] : iv_ruleReal= ruleReal EOF ; public final String entryRuleReal() throws RecognitionException { String current = null; @@ -10340,8 +11870,8 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens(); try { - // InternalSolverLanguageParser.g:4082:2: (iv_ruleReal= ruleReal EOF ) - // InternalSolverLanguageParser.g:4083:2: iv_ruleReal= ruleReal EOF + // InternalSolverLanguageParser.g:4658:2: (iv_ruleReal= ruleReal EOF ) + // InternalSolverLanguageParser.g:4659:2: iv_ruleReal= ruleReal EOF { newCompositeNode(grammarAccess.getRealRule()); pushFollow(FOLLOW_1); @@ -10371,7 +11901,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleReal" - // InternalSolverLanguageParser.g:4092:1: ruleReal returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_INT_0= RULE_INT (kw= FullStop this_INT_2= RULE_INT )? ) ; + // InternalSolverLanguageParser.g:4668:1: ruleReal returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_INT_0= RULE_INT kw= FullStop this_INT_2= RULE_INT ) ; public final AntlrDatatypeRuleToken ruleReal() throws RecognitionException { AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); @@ -10384,48 +11914,171 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens(); try { - // InternalSolverLanguageParser.g:4099:2: ( (this_INT_0= RULE_INT (kw= FullStop this_INT_2= RULE_INT )? ) ) - // InternalSolverLanguageParser.g:4100:2: (this_INT_0= RULE_INT (kw= FullStop this_INT_2= RULE_INT )? ) + // InternalSolverLanguageParser.g:4675:2: ( (this_INT_0= RULE_INT kw= FullStop this_INT_2= RULE_INT ) ) + // InternalSolverLanguageParser.g:4676:2: (this_INT_0= RULE_INT kw= FullStop this_INT_2= RULE_INT ) { - // InternalSolverLanguageParser.g:4100:2: (this_INT_0= RULE_INT (kw= FullStop this_INT_2= RULE_INT )? ) - // InternalSolverLanguageParser.g:4101:3: this_INT_0= RULE_INT (kw= FullStop this_INT_2= RULE_INT )? + // InternalSolverLanguageParser.g:4676:2: (this_INT_0= RULE_INT kw= FullStop this_INT_2= RULE_INT ) + // InternalSolverLanguageParser.g:4677:3: this_INT_0= RULE_INT kw= FullStop this_INT_2= RULE_INT { - this_INT_0=(Token)match(input,RULE_INT,FOLLOW_59); + this_INT_0=(Token)match(input,RULE_INT,FOLLOW_66); current.merge(this_INT_0); newLeafNode(this_INT_0, grammarAccess.getRealAccess().getINTTerminalRuleCall_0()); - // InternalSolverLanguageParser.g:4108:3: (kw= FullStop this_INT_2= RULE_INT )? - int alt50=2; - int LA50_0 = input.LA(1); + kw=(Token)match(input,FullStop,FOLLOW_57); + + current.merge(kw); + newLeafNode(kw, grammarAccess.getRealAccess().getFullStopKeyword_1()); + + this_INT_2=(Token)match(input,RULE_INT,FOLLOW_2); + + current.merge(this_INT_2); + + + newLeafNode(this_INT_2, grammarAccess.getRealAccess().getINTTerminalRuleCall_2()); + + + } + + + } + + + leaveRule(); + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + + myHiddenTokenState.restore(); + + } + return current; + } + // $ANTLR end "ruleReal" + + + // $ANTLR start "entryRuleQualifiedNameSegment" + // InternalSolverLanguageParser.g:4703:1: entryRuleQualifiedNameSegment returns [String current=null] : iv_ruleQualifiedNameSegment= ruleQualifiedNameSegment EOF ; + public final String entryRuleQualifiedNameSegment() throws RecognitionException { + String current = null; + + AntlrDatatypeRuleToken iv_ruleQualifiedNameSegment = null; + + + try { + // InternalSolverLanguageParser.g:4703:60: (iv_ruleQualifiedNameSegment= ruleQualifiedNameSegment EOF ) + // InternalSolverLanguageParser.g:4704:2: iv_ruleQualifiedNameSegment= ruleQualifiedNameSegment EOF + { + newCompositeNode(grammarAccess.getQualifiedNameSegmentRule()); + pushFollow(FOLLOW_1); + iv_ruleQualifiedNameSegment=ruleQualifiedNameSegment(); + + state._fsp--; + + current =iv_ruleQualifiedNameSegment.getText(); + match(input,EOF,FOLLOW_2); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleQualifiedNameSegment" + + + // $ANTLR start "ruleQualifiedNameSegment" + // InternalSolverLanguageParser.g:4710:1: ruleQualifiedNameSegment returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_ID_0= RULE_ID | this_QUOTED_ID_1= RULE_QUOTED_ID | kw= Object ) ; + public final AntlrDatatypeRuleToken ruleQualifiedNameSegment() throws RecognitionException { + AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); + + Token this_ID_0=null; + Token this_QUOTED_ID_1=null; + Token kw=null; + + + enterRule(); + + try { + // InternalSolverLanguageParser.g:4716:2: ( (this_ID_0= RULE_ID | this_QUOTED_ID_1= RULE_QUOTED_ID | kw= Object ) ) + // InternalSolverLanguageParser.g:4717:2: (this_ID_0= RULE_ID | this_QUOTED_ID_1= RULE_QUOTED_ID | kw= Object ) + { + // InternalSolverLanguageParser.g:4717:2: (this_ID_0= RULE_ID | this_QUOTED_ID_1= RULE_QUOTED_ID | kw= Object ) + int alt59=3; + switch ( input.LA(1) ) { + case RULE_ID: + { + alt59=1; + } + break; + case RULE_QUOTED_ID: + { + alt59=2; + } + break; + case Object: + { + alt59=3; + } + break; + default: + NoViableAltException nvae = + new NoViableAltException("", 59, 0, input); - if ( (LA50_0==FullStop) ) { - alt50=1; + throw nvae; } - switch (alt50) { + + switch (alt59) { case 1 : - // InternalSolverLanguageParser.g:4109:4: kw= FullStop this_INT_2= RULE_INT + // InternalSolverLanguageParser.g:4718:3: this_ID_0= RULE_ID { - kw=(Token)match(input,FullStop,FOLLOW_53); + this_ID_0=(Token)match(input,RULE_ID,FOLLOW_2); - current.merge(kw); - newLeafNode(kw, grammarAccess.getRealAccess().getFullStopKeyword_1_0()); - - this_INT_2=(Token)match(input,RULE_INT,FOLLOW_2); + current.merge(this_ID_0); + - current.merge(this_INT_2); - + newLeafNode(this_ID_0, grammarAccess.getQualifiedNameSegmentAccess().getIDTerminalRuleCall_0()); + - newLeafNode(this_INT_2, grammarAccess.getRealAccess().getINTTerminalRuleCall_1_1()); - + } + break; + case 2 : + // InternalSolverLanguageParser.g:4726:3: this_QUOTED_ID_1= RULE_QUOTED_ID + { + this_QUOTED_ID_1=(Token)match(input,RULE_QUOTED_ID,FOLLOW_2); + + current.merge(this_QUOTED_ID_1); + + + newLeafNode(this_QUOTED_ID_1, grammarAccess.getQualifiedNameSegmentAccess().getQUOTED_IDTerminalRuleCall_1()); + } break; + case 3 : + // InternalSolverLanguageParser.g:4734:3: kw= Object + { + kw=(Token)match(input,Object,FOLLOW_2); - } + current.merge(kw); + newLeafNode(kw, grammarAccess.getQualifiedNameSegmentAccess().getObjectKeyword_2()); + + } + break; } @@ -10442,17 +12095,14 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { appendSkippedTokens(); } finally { - - myHiddenTokenState.restore(); - } return current; } - // $ANTLR end "ruleReal" + // $ANTLR end "ruleQualifiedNameSegment" // $ANTLR start "entryRuleQualifiedName" - // InternalSolverLanguageParser.g:4129:1: entryRuleQualifiedName returns [String current=null] : iv_ruleQualifiedName= ruleQualifiedName EOF ; + // InternalSolverLanguageParser.g:4743:1: entryRuleQualifiedName returns [String current=null] : iv_ruleQualifiedName= ruleQualifiedName EOF ; public final String entryRuleQualifiedName() throws RecognitionException { String current = null; @@ -10463,8 +12113,8 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens(); try { - // InternalSolverLanguageParser.g:4131:2: (iv_ruleQualifiedName= ruleQualifiedName EOF ) - // InternalSolverLanguageParser.g:4132:2: iv_ruleQualifiedName= ruleQualifiedName EOF + // InternalSolverLanguageParser.g:4745:2: (iv_ruleQualifiedName= ruleQualifiedName EOF ) + // InternalSolverLanguageParser.g:4746:2: iv_ruleQualifiedName= ruleQualifiedName EOF { newCompositeNode(grammarAccess.getQualifiedNameRule()); pushFollow(FOLLOW_1); @@ -10494,108 +12144,84 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleQualifiedName" - // InternalSolverLanguageParser.g:4141:1: ruleQualifiedName returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : ( (this_ID_0= RULE_ID (kw= FullStop this_ID_2= RULE_ID )* ) | this_QUOTED_ID_3= RULE_QUOTED_ID ) ; + // InternalSolverLanguageParser.g:4755:1: ruleQualifiedName returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_QualifiedNameSegment_0= ruleQualifiedNameSegment (kw= ColonColon this_QualifiedNameSegment_2= ruleQualifiedNameSegment )* ) ; public final AntlrDatatypeRuleToken ruleQualifiedName() throws RecognitionException { AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); - Token this_ID_0=null; Token kw=null; - Token this_ID_2=null; - Token this_QUOTED_ID_3=null; + AntlrDatatypeRuleToken this_QualifiedNameSegment_0 = null; + + AntlrDatatypeRuleToken this_QualifiedNameSegment_2 = null; + enterRule(); HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens(); try { - // InternalSolverLanguageParser.g:4148:2: ( ( (this_ID_0= RULE_ID (kw= FullStop this_ID_2= RULE_ID )* ) | this_QUOTED_ID_3= RULE_QUOTED_ID ) ) - // InternalSolverLanguageParser.g:4149:2: ( (this_ID_0= RULE_ID (kw= FullStop this_ID_2= RULE_ID )* ) | this_QUOTED_ID_3= RULE_QUOTED_ID ) + // InternalSolverLanguageParser.g:4762:2: ( (this_QualifiedNameSegment_0= ruleQualifiedNameSegment (kw= ColonColon this_QualifiedNameSegment_2= ruleQualifiedNameSegment )* ) ) + // InternalSolverLanguageParser.g:4763:2: (this_QualifiedNameSegment_0= ruleQualifiedNameSegment (kw= ColonColon this_QualifiedNameSegment_2= ruleQualifiedNameSegment )* ) + { + // InternalSolverLanguageParser.g:4763:2: (this_QualifiedNameSegment_0= ruleQualifiedNameSegment (kw= ColonColon this_QualifiedNameSegment_2= ruleQualifiedNameSegment )* ) + // InternalSolverLanguageParser.g:4764:3: this_QualifiedNameSegment_0= ruleQualifiedNameSegment (kw= ColonColon this_QualifiedNameSegment_2= ruleQualifiedNameSegment )* { - // InternalSolverLanguageParser.g:4149:2: ( (this_ID_0= RULE_ID (kw= FullStop this_ID_2= RULE_ID )* ) | this_QUOTED_ID_3= RULE_QUOTED_ID ) - int alt52=2; - int LA52_0 = input.LA(1); - - if ( (LA52_0==RULE_ID) ) { - alt52=1; - } - else if ( (LA52_0==RULE_QUOTED_ID) ) { - alt52=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 52, 0, input); - - throw nvae; - } - switch (alt52) { - case 1 : - // InternalSolverLanguageParser.g:4150:3: (this_ID_0= RULE_ID (kw= FullStop this_ID_2= RULE_ID )* ) - { - // InternalSolverLanguageParser.g:4150:3: (this_ID_0= RULE_ID (kw= FullStop this_ID_2= RULE_ID )* ) - // InternalSolverLanguageParser.g:4151:4: this_ID_0= RULE_ID (kw= FullStop this_ID_2= RULE_ID )* - { - this_ID_0=(Token)match(input,RULE_ID,FOLLOW_59); - current.merge(this_ID_0); - + newCompositeNode(grammarAccess.getQualifiedNameAccess().getQualifiedNameSegmentParserRuleCall_0()); + + pushFollow(FOLLOW_67); + this_QualifiedNameSegment_0=ruleQualifiedNameSegment(); - newLeafNode(this_ID_0, grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_0_0()); - - // InternalSolverLanguageParser.g:4158:4: (kw= FullStop this_ID_2= RULE_ID )* - loop51: - do { - int alt51=2; - int LA51_0 = input.LA(1); + state._fsp--; - if ( (LA51_0==FullStop) ) { - alt51=1; - } + current.merge(this_QualifiedNameSegment_0); + - switch (alt51) { - case 1 : - // InternalSolverLanguageParser.g:4159:5: kw= FullStop this_ID_2= RULE_ID - { - kw=(Token)match(input,FullStop,FOLLOW_20); + afterParserOrEnumRuleCall(); + + // InternalSolverLanguageParser.g:4774:3: (kw= ColonColon this_QualifiedNameSegment_2= ruleQualifiedNameSegment )* + loop60: + do { + int alt60=2; + int LA60_0 = input.LA(1); - current.merge(kw); - newLeafNode(kw, grammarAccess.getQualifiedNameAccess().getFullStopKeyword_0_1_0()); - - this_ID_2=(Token)match(input,RULE_ID,FOLLOW_59); + if ( (LA60_0==ColonColon) ) { + alt60=1; + } - current.merge(this_ID_2); - - newLeafNode(this_ID_2, grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_0_1_1()); - + switch (alt60) { + case 1 : + // InternalSolverLanguageParser.g:4775:4: kw= ColonColon this_QualifiedNameSegment_2= ruleQualifiedNameSegment + { + kw=(Token)match(input,ColonColon,FOLLOW_3); - } - break; + current.merge(kw); + newLeafNode(kw, grammarAccess.getQualifiedNameAccess().getColonColonKeyword_1_0()); + - default : - break loop51; - } - } while (true); + newCompositeNode(grammarAccess.getQualifiedNameAccess().getQualifiedNameSegmentParserRuleCall_1_1()); + + pushFollow(FOLLOW_67); + this_QualifiedNameSegment_2=ruleQualifiedNameSegment(); + state._fsp--; - } + current.merge(this_QualifiedNameSegment_2); + - } - break; - case 2 : - // InternalSolverLanguageParser.g:4174:3: this_QUOTED_ID_3= RULE_QUOTED_ID - { - this_QUOTED_ID_3=(Token)match(input,RULE_QUOTED_ID,FOLLOW_2); + afterParserOrEnumRuleCall(); + - current.merge(this_QUOTED_ID_3); - + } + break; - newLeafNode(this_QUOTED_ID_3, grammarAccess.getQualifiedNameAccess().getQUOTED_IDTerminalRuleCall_1()); - + default : + break loop60; + } + } while (true); - } - break; } @@ -10621,28 +12247,122 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR end "ruleQualifiedName" - // $ANTLR start "ruleImplicationOperator" - // InternalSolverLanguageParser.g:4188:1: ruleImplicationOperator returns [Enumerator current=null] : (enumLiteral_0= EqualsSignGreaterThanSign ) ; - public final Enumerator ruleImplicationOperator() throws RecognitionException { + // $ANTLR start "ruleAttributeKind" + // InternalSolverLanguageParser.g:4798:1: ruleAttributeKind returns [Enumerator current=null] : ( (enumLiteral_0= Functional ) | (enumLiteral_1= Error ) | (enumLiteral_2= Root ) | (enumLiteral_3= Containment ) ) ; + public final Enumerator ruleAttributeKind() throws RecognitionException { Enumerator current = null; Token enumLiteral_0=null; + Token enumLiteral_1=null; + Token enumLiteral_2=null; + Token enumLiteral_3=null; enterRule(); try { - // InternalSolverLanguageParser.g:4194:2: ( (enumLiteral_0= EqualsSignGreaterThanSign ) ) - // InternalSolverLanguageParser.g:4195:2: (enumLiteral_0= EqualsSignGreaterThanSign ) - { - // InternalSolverLanguageParser.g:4195:2: (enumLiteral_0= EqualsSignGreaterThanSign ) - // InternalSolverLanguageParser.g:4196:3: enumLiteral_0= EqualsSignGreaterThanSign + // InternalSolverLanguageParser.g:4804:2: ( ( (enumLiteral_0= Functional ) | (enumLiteral_1= Error ) | (enumLiteral_2= Root ) | (enumLiteral_3= Containment ) ) ) + // InternalSolverLanguageParser.g:4805:2: ( (enumLiteral_0= Functional ) | (enumLiteral_1= Error ) | (enumLiteral_2= Root ) | (enumLiteral_3= Containment ) ) { - enumLiteral_0=(Token)match(input,EqualsSignGreaterThanSign,FOLLOW_2); + // InternalSolverLanguageParser.g:4805:2: ( (enumLiteral_0= Functional ) | (enumLiteral_1= Error ) | (enumLiteral_2= Root ) | (enumLiteral_3= Containment ) ) + int alt61=4; + switch ( input.LA(1) ) { + case Functional: + { + alt61=1; + } + break; + case Error: + { + alt61=2; + } + break; + case Root: + { + alt61=3; + } + break; + case Containment: + { + alt61=4; + } + break; + default: + NoViableAltException nvae = + new NoViableAltException("", 61, 0, input); - current = grammarAccess.getImplicationOperatorAccess().getIMPLIESEnumLiteralDeclaration().getEnumLiteral().getInstance(); - newLeafNode(enumLiteral_0, grammarAccess.getImplicationOperatorAccess().getIMPLIESEnumLiteralDeclaration()); - + throw nvae; + } + + switch (alt61) { + case 1 : + // InternalSolverLanguageParser.g:4806:3: (enumLiteral_0= Functional ) + { + // InternalSolverLanguageParser.g:4806:3: (enumLiteral_0= Functional ) + // InternalSolverLanguageParser.g:4807:4: enumLiteral_0= Functional + { + enumLiteral_0=(Token)match(input,Functional,FOLLOW_2); + + current = grammarAccess.getAttributeKindAccess().getFUNCTIONALEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_0, grammarAccess.getAttributeKindAccess().getFUNCTIONALEnumLiteralDeclaration_0()); + + + } + + + } + break; + case 2 : + // InternalSolverLanguageParser.g:4814:3: (enumLiteral_1= Error ) + { + // InternalSolverLanguageParser.g:4814:3: (enumLiteral_1= Error ) + // InternalSolverLanguageParser.g:4815:4: enumLiteral_1= Error + { + enumLiteral_1=(Token)match(input,Error,FOLLOW_2); + + current = grammarAccess.getAttributeKindAccess().getERROREnumLiteralDeclaration_1().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_1, grammarAccess.getAttributeKindAccess().getERROREnumLiteralDeclaration_1()); + + + } + + + } + break; + case 3 : + // InternalSolverLanguageParser.g:4822:3: (enumLiteral_2= Root ) + { + // InternalSolverLanguageParser.g:4822:3: (enumLiteral_2= Root ) + // InternalSolverLanguageParser.g:4823:4: enumLiteral_2= Root + { + enumLiteral_2=(Token)match(input,Root,FOLLOW_2); + + current = grammarAccess.getAttributeKindAccess().getROOTEnumLiteralDeclaration_2().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_2, grammarAccess.getAttributeKindAccess().getROOTEnumLiteralDeclaration_2()); + + + } + + + } + break; + case 4 : + // InternalSolverLanguageParser.g:4830:3: (enumLiteral_3= Containment ) + { + // InternalSolverLanguageParser.g:4830:3: (enumLiteral_3= Containment ) + // InternalSolverLanguageParser.g:4831:4: enumLiteral_3= Containment + { + enumLiteral_3=(Token)match(input,Containment,FOLLOW_2); + + current = grammarAccess.getAttributeKindAccess().getCONTAINMENTEnumLiteralDeclaration_3().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_3, grammarAccess.getAttributeKindAccess().getCONTAINMENTEnumLiteralDeclaration_3()); + + + } + + + } + break; } @@ -10662,11 +12382,11 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } return current; } - // $ANTLR end "ruleImplicationOperator" + // $ANTLR end "ruleAttributeKind" // $ANTLR start "ruleComparisonOperator" - // InternalSolverLanguageParser.g:4205:1: ruleComparisonOperator returns [Enumerator current=null] : ( (enumLiteral_0= EqualsSignEqualsSign ) | (enumLiteral_1= ExclamationMarkEqualsSign ) | (enumLiteral_2= LessThanSign ) | (enumLiteral_3= LessThanSignEqualsSign ) | (enumLiteral_4= GreaterThanSign ) | (enumLiteral_5= GreaterThanSignEqualsSign ) | (enumLiteral_6= In ) ) ; + // InternalSolverLanguageParser.g:4841:1: ruleComparisonOperator returns [Enumerator current=null] : ( (enumLiteral_0= EqualsSignEqualsSign ) | (enumLiteral_1= ExclamationMarkEqualsSign ) | (enumLiteral_2= LessThanSign ) | (enumLiteral_3= LessThanSignEqualsSign ) | (enumLiteral_4= GreaterThanSign ) | (enumLiteral_5= GreaterThanSignEqualsSign ) | (enumLiteral_6= In ) ) ; public final Enumerator ruleComparisonOperator() throws RecognitionException { Enumerator current = null; @@ -10682,65 +12402,65 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { enterRule(); try { - // InternalSolverLanguageParser.g:4211:2: ( ( (enumLiteral_0= EqualsSignEqualsSign ) | (enumLiteral_1= ExclamationMarkEqualsSign ) | (enumLiteral_2= LessThanSign ) | (enumLiteral_3= LessThanSignEqualsSign ) | (enumLiteral_4= GreaterThanSign ) | (enumLiteral_5= GreaterThanSignEqualsSign ) | (enumLiteral_6= In ) ) ) - // InternalSolverLanguageParser.g:4212:2: ( (enumLiteral_0= EqualsSignEqualsSign ) | (enumLiteral_1= ExclamationMarkEqualsSign ) | (enumLiteral_2= LessThanSign ) | (enumLiteral_3= LessThanSignEqualsSign ) | (enumLiteral_4= GreaterThanSign ) | (enumLiteral_5= GreaterThanSignEqualsSign ) | (enumLiteral_6= In ) ) + // InternalSolverLanguageParser.g:4847:2: ( ( (enumLiteral_0= EqualsSignEqualsSign ) | (enumLiteral_1= ExclamationMarkEqualsSign ) | (enumLiteral_2= LessThanSign ) | (enumLiteral_3= LessThanSignEqualsSign ) | (enumLiteral_4= GreaterThanSign ) | (enumLiteral_5= GreaterThanSignEqualsSign ) | (enumLiteral_6= In ) ) ) + // InternalSolverLanguageParser.g:4848:2: ( (enumLiteral_0= EqualsSignEqualsSign ) | (enumLiteral_1= ExclamationMarkEqualsSign ) | (enumLiteral_2= LessThanSign ) | (enumLiteral_3= LessThanSignEqualsSign ) | (enumLiteral_4= GreaterThanSign ) | (enumLiteral_5= GreaterThanSignEqualsSign ) | (enumLiteral_6= In ) ) { - // InternalSolverLanguageParser.g:4212:2: ( (enumLiteral_0= EqualsSignEqualsSign ) | (enumLiteral_1= ExclamationMarkEqualsSign ) | (enumLiteral_2= LessThanSign ) | (enumLiteral_3= LessThanSignEqualsSign ) | (enumLiteral_4= GreaterThanSign ) | (enumLiteral_5= GreaterThanSignEqualsSign ) | (enumLiteral_6= In ) ) - int alt53=7; + // InternalSolverLanguageParser.g:4848:2: ( (enumLiteral_0= EqualsSignEqualsSign ) | (enumLiteral_1= ExclamationMarkEqualsSign ) | (enumLiteral_2= LessThanSign ) | (enumLiteral_3= LessThanSignEqualsSign ) | (enumLiteral_4= GreaterThanSign ) | (enumLiteral_5= GreaterThanSignEqualsSign ) | (enumLiteral_6= In ) ) + int alt62=7; switch ( input.LA(1) ) { case EqualsSignEqualsSign: { - alt53=1; + alt62=1; } break; case ExclamationMarkEqualsSign: { - alt53=2; + alt62=2; } break; case LessThanSign: { - alt53=3; + alt62=3; } break; case LessThanSignEqualsSign: { - alt53=4; + alt62=4; } break; case GreaterThanSign: { - alt53=5; + alt62=5; } break; case GreaterThanSignEqualsSign: { - alt53=6; + alt62=6; } break; case In: { - alt53=7; + alt62=7; } break; default: NoViableAltException nvae = - new NoViableAltException("", 53, 0, input); + new NoViableAltException("", 62, 0, input); throw nvae; } - switch (alt53) { + switch (alt62) { case 1 : - // InternalSolverLanguageParser.g:4213:3: (enumLiteral_0= EqualsSignEqualsSign ) + // InternalSolverLanguageParser.g:4849:3: (enumLiteral_0= EqualsSignEqualsSign ) { - // InternalSolverLanguageParser.g:4213:3: (enumLiteral_0= EqualsSignEqualsSign ) - // InternalSolverLanguageParser.g:4214:4: enumLiteral_0= EqualsSignEqualsSign + // InternalSolverLanguageParser.g:4849:3: (enumLiteral_0= EqualsSignEqualsSign ) + // InternalSolverLanguageParser.g:4850:4: enumLiteral_0= EqualsSignEqualsSign { enumLiteral_0=(Token)match(input,EqualsSignEqualsSign,FOLLOW_2); - current = grammarAccess.getComparisonOperatorAccess().getEQEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); - newLeafNode(enumLiteral_0, grammarAccess.getComparisonOperatorAccess().getEQEnumLiteralDeclaration_0()); + current = grammarAccess.getComparisonOperatorAccess().getEQUALSEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_0, grammarAccess.getComparisonOperatorAccess().getEQUALSEnumLiteralDeclaration_0()); } @@ -10749,15 +12469,15 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } break; case 2 : - // InternalSolverLanguageParser.g:4221:3: (enumLiteral_1= ExclamationMarkEqualsSign ) + // InternalSolverLanguageParser.g:4857:3: (enumLiteral_1= ExclamationMarkEqualsSign ) { - // InternalSolverLanguageParser.g:4221:3: (enumLiteral_1= ExclamationMarkEqualsSign ) - // InternalSolverLanguageParser.g:4222:4: enumLiteral_1= ExclamationMarkEqualsSign + // InternalSolverLanguageParser.g:4857:3: (enumLiteral_1= ExclamationMarkEqualsSign ) + // InternalSolverLanguageParser.g:4858:4: enumLiteral_1= ExclamationMarkEqualsSign { enumLiteral_1=(Token)match(input,ExclamationMarkEqualsSign,FOLLOW_2); - current = grammarAccess.getComparisonOperatorAccess().getNOT_EQEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); - newLeafNode(enumLiteral_1, grammarAccess.getComparisonOperatorAccess().getNOT_EQEnumLiteralDeclaration_1()); + current = grammarAccess.getComparisonOperatorAccess().getNOT_EQUALSEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_1, grammarAccess.getComparisonOperatorAccess().getNOT_EQUALSEnumLiteralDeclaration_1()); } @@ -10766,10 +12486,10 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } break; case 3 : - // InternalSolverLanguageParser.g:4229:3: (enumLiteral_2= LessThanSign ) + // InternalSolverLanguageParser.g:4865:3: (enumLiteral_2= LessThanSign ) { - // InternalSolverLanguageParser.g:4229:3: (enumLiteral_2= LessThanSign ) - // InternalSolverLanguageParser.g:4230:4: enumLiteral_2= LessThanSign + // InternalSolverLanguageParser.g:4865:3: (enumLiteral_2= LessThanSign ) + // InternalSolverLanguageParser.g:4866:4: enumLiteral_2= LessThanSign { enumLiteral_2=(Token)match(input,LessThanSign,FOLLOW_2); @@ -10783,15 +12503,15 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } break; case 4 : - // InternalSolverLanguageParser.g:4237:3: (enumLiteral_3= LessThanSignEqualsSign ) + // InternalSolverLanguageParser.g:4873:3: (enumLiteral_3= LessThanSignEqualsSign ) { - // InternalSolverLanguageParser.g:4237:3: (enumLiteral_3= LessThanSignEqualsSign ) - // InternalSolverLanguageParser.g:4238:4: enumLiteral_3= LessThanSignEqualsSign + // InternalSolverLanguageParser.g:4873:3: (enumLiteral_3= LessThanSignEqualsSign ) + // InternalSolverLanguageParser.g:4874:4: enumLiteral_3= LessThanSignEqualsSign { enumLiteral_3=(Token)match(input,LessThanSignEqualsSign,FOLLOW_2); - current = grammarAccess.getComparisonOperatorAccess().getLESS_EQEnumLiteralDeclaration_3().getEnumLiteral().getInstance(); - newLeafNode(enumLiteral_3, grammarAccess.getComparisonOperatorAccess().getLESS_EQEnumLiteralDeclaration_3()); + current = grammarAccess.getComparisonOperatorAccess().getLESS_EQUALSEnumLiteralDeclaration_3().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_3, grammarAccess.getComparisonOperatorAccess().getLESS_EQUALSEnumLiteralDeclaration_3()); } @@ -10800,10 +12520,10 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } break; case 5 : - // InternalSolverLanguageParser.g:4245:3: (enumLiteral_4= GreaterThanSign ) + // InternalSolverLanguageParser.g:4881:3: (enumLiteral_4= GreaterThanSign ) { - // InternalSolverLanguageParser.g:4245:3: (enumLiteral_4= GreaterThanSign ) - // InternalSolverLanguageParser.g:4246:4: enumLiteral_4= GreaterThanSign + // InternalSolverLanguageParser.g:4881:3: (enumLiteral_4= GreaterThanSign ) + // InternalSolverLanguageParser.g:4882:4: enumLiteral_4= GreaterThanSign { enumLiteral_4=(Token)match(input,GreaterThanSign,FOLLOW_2); @@ -10817,15 +12537,15 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } break; case 6 : - // InternalSolverLanguageParser.g:4253:3: (enumLiteral_5= GreaterThanSignEqualsSign ) + // InternalSolverLanguageParser.g:4889:3: (enumLiteral_5= GreaterThanSignEqualsSign ) { - // InternalSolverLanguageParser.g:4253:3: (enumLiteral_5= GreaterThanSignEqualsSign ) - // InternalSolverLanguageParser.g:4254:4: enumLiteral_5= GreaterThanSignEqualsSign + // InternalSolverLanguageParser.g:4889:3: (enumLiteral_5= GreaterThanSignEqualsSign ) + // InternalSolverLanguageParser.g:4890:4: enumLiteral_5= GreaterThanSignEqualsSign { enumLiteral_5=(Token)match(input,GreaterThanSignEqualsSign,FOLLOW_2); - current = grammarAccess.getComparisonOperatorAccess().getGREATER_EQEnumLiteralDeclaration_5().getEnumLiteral().getInstance(); - newLeafNode(enumLiteral_5, grammarAccess.getComparisonOperatorAccess().getGREATER_EQEnumLiteralDeclaration_5()); + current = grammarAccess.getComparisonOperatorAccess().getGREATER_EQUALSEnumLiteralDeclaration_5().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_5, grammarAccess.getComparisonOperatorAccess().getGREATER_EQUALSEnumLiteralDeclaration_5()); } @@ -10834,10 +12554,10 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } break; case 7 : - // InternalSolverLanguageParser.g:4261:3: (enumLiteral_6= In ) + // InternalSolverLanguageParser.g:4897:3: (enumLiteral_6= In ) { - // InternalSolverLanguageParser.g:4261:3: (enumLiteral_6= In ) - // InternalSolverLanguageParser.g:4262:4: enumLiteral_6= In + // InternalSolverLanguageParser.g:4897:3: (enumLiteral_6= In ) + // InternalSolverLanguageParser.g:4898:4: enumLiteral_6= In { enumLiteral_6=(Token)match(input,In,FOLLOW_2); @@ -10873,7 +12593,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleAdditiveBinaryOperator" - // InternalSolverLanguageParser.g:4272:1: ruleAdditiveBinaryOperator returns [Enumerator current=null] : ( (enumLiteral_0= PlusSign ) | (enumLiteral_1= HyphenMinus ) ) ; + // InternalSolverLanguageParser.g:4908:1: ruleAdditiveBinaryOperator returns [Enumerator current=null] : ( (enumLiteral_0= PlusSign ) | (enumLiteral_1= HyphenMinus ) ) ; public final Enumerator ruleAdditiveBinaryOperator() throws RecognitionException { Enumerator current = null; @@ -10884,36 +12604,36 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { enterRule(); try { - // InternalSolverLanguageParser.g:4278:2: ( ( (enumLiteral_0= PlusSign ) | (enumLiteral_1= HyphenMinus ) ) ) - // InternalSolverLanguageParser.g:4279:2: ( (enumLiteral_0= PlusSign ) | (enumLiteral_1= HyphenMinus ) ) + // InternalSolverLanguageParser.g:4914:2: ( ( (enumLiteral_0= PlusSign ) | (enumLiteral_1= HyphenMinus ) ) ) + // InternalSolverLanguageParser.g:4915:2: ( (enumLiteral_0= PlusSign ) | (enumLiteral_1= HyphenMinus ) ) { - // InternalSolverLanguageParser.g:4279:2: ( (enumLiteral_0= PlusSign ) | (enumLiteral_1= HyphenMinus ) ) - int alt54=2; - int LA54_0 = input.LA(1); + // InternalSolverLanguageParser.g:4915:2: ( (enumLiteral_0= PlusSign ) | (enumLiteral_1= HyphenMinus ) ) + int alt63=2; + int LA63_0 = input.LA(1); - if ( (LA54_0==PlusSign) ) { - alt54=1; + if ( (LA63_0==PlusSign) ) { + alt63=1; } - else if ( (LA54_0==HyphenMinus) ) { - alt54=2; + else if ( (LA63_0==HyphenMinus) ) { + alt63=2; } else { NoViableAltException nvae = - new NoViableAltException("", 54, 0, input); + new NoViableAltException("", 63, 0, input); throw nvae; } - switch (alt54) { + switch (alt63) { case 1 : - // InternalSolverLanguageParser.g:4280:3: (enumLiteral_0= PlusSign ) + // InternalSolverLanguageParser.g:4916:3: (enumLiteral_0= PlusSign ) { - // InternalSolverLanguageParser.g:4280:3: (enumLiteral_0= PlusSign ) - // InternalSolverLanguageParser.g:4281:4: enumLiteral_0= PlusSign + // InternalSolverLanguageParser.g:4916:3: (enumLiteral_0= PlusSign ) + // InternalSolverLanguageParser.g:4917:4: enumLiteral_0= PlusSign { enumLiteral_0=(Token)match(input,PlusSign,FOLLOW_2); - current = grammarAccess.getAdditiveBinaryOperatorAccess().getADDEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); - newLeafNode(enumLiteral_0, grammarAccess.getAdditiveBinaryOperatorAccess().getADDEnumLiteralDeclaration_0()); + current = grammarAccess.getAdditiveBinaryOperatorAccess().getPLUSEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_0, grammarAccess.getAdditiveBinaryOperatorAccess().getPLUSEnumLiteralDeclaration_0()); } @@ -10922,15 +12642,15 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } break; case 2 : - // InternalSolverLanguageParser.g:4288:3: (enumLiteral_1= HyphenMinus ) + // InternalSolverLanguageParser.g:4924:3: (enumLiteral_1= HyphenMinus ) { - // InternalSolverLanguageParser.g:4288:3: (enumLiteral_1= HyphenMinus ) - // InternalSolverLanguageParser.g:4289:4: enumLiteral_1= HyphenMinus + // InternalSolverLanguageParser.g:4924:3: (enumLiteral_1= HyphenMinus ) + // InternalSolverLanguageParser.g:4925:4: enumLiteral_1= HyphenMinus { enumLiteral_1=(Token)match(input,HyphenMinus,FOLLOW_2); - current = grammarAccess.getAdditiveBinaryOperatorAccess().getSUBEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); - newLeafNode(enumLiteral_1, grammarAccess.getAdditiveBinaryOperatorAccess().getSUBEnumLiteralDeclaration_1()); + current = grammarAccess.getAdditiveBinaryOperatorAccess().getMINUSEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_1, grammarAccess.getAdditiveBinaryOperatorAccess().getMINUSEnumLiteralDeclaration_1()); } @@ -10961,7 +12681,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleMultiplicativeBinaryOperator" - // InternalSolverLanguageParser.g:4299:1: ruleMultiplicativeBinaryOperator returns [Enumerator current=null] : ( (enumLiteral_0= Asterisk ) | (enumLiteral_1= Solidus ) ) ; + // InternalSolverLanguageParser.g:4935:1: ruleMultiplicativeBinaryOperator returns [Enumerator current=null] : ( (enumLiteral_0= Asterisk ) | (enumLiteral_1= Solidus ) ) ; public final Enumerator ruleMultiplicativeBinaryOperator() throws RecognitionException { Enumerator current = null; @@ -10972,36 +12692,36 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { enterRule(); try { - // InternalSolverLanguageParser.g:4305:2: ( ( (enumLiteral_0= Asterisk ) | (enumLiteral_1= Solidus ) ) ) - // InternalSolverLanguageParser.g:4306:2: ( (enumLiteral_0= Asterisk ) | (enumLiteral_1= Solidus ) ) + // InternalSolverLanguageParser.g:4941:2: ( ( (enumLiteral_0= Asterisk ) | (enumLiteral_1= Solidus ) ) ) + // InternalSolverLanguageParser.g:4942:2: ( (enumLiteral_0= Asterisk ) | (enumLiteral_1= Solidus ) ) { - // InternalSolverLanguageParser.g:4306:2: ( (enumLiteral_0= Asterisk ) | (enumLiteral_1= Solidus ) ) - int alt55=2; - int LA55_0 = input.LA(1); + // InternalSolverLanguageParser.g:4942:2: ( (enumLiteral_0= Asterisk ) | (enumLiteral_1= Solidus ) ) + int alt64=2; + int LA64_0 = input.LA(1); - if ( (LA55_0==Asterisk) ) { - alt55=1; + if ( (LA64_0==Asterisk) ) { + alt64=1; } - else if ( (LA55_0==Solidus) ) { - alt55=2; + else if ( (LA64_0==Solidus) ) { + alt64=2; } else { NoViableAltException nvae = - new NoViableAltException("", 55, 0, input); + new NoViableAltException("", 64, 0, input); throw nvae; } - switch (alt55) { + switch (alt64) { case 1 : - // InternalSolverLanguageParser.g:4307:3: (enumLiteral_0= Asterisk ) + // InternalSolverLanguageParser.g:4943:3: (enumLiteral_0= Asterisk ) { - // InternalSolverLanguageParser.g:4307:3: (enumLiteral_0= Asterisk ) - // InternalSolverLanguageParser.g:4308:4: enumLiteral_0= Asterisk + // InternalSolverLanguageParser.g:4943:3: (enumLiteral_0= Asterisk ) + // InternalSolverLanguageParser.g:4944:4: enumLiteral_0= Asterisk { enumLiteral_0=(Token)match(input,Asterisk,FOLLOW_2); - current = grammarAccess.getMultiplicativeBinaryOperatorAccess().getMULEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); - newLeafNode(enumLiteral_0, grammarAccess.getMultiplicativeBinaryOperatorAccess().getMULEnumLiteralDeclaration_0()); + current = grammarAccess.getMultiplicativeBinaryOperatorAccess().getMULTIPLYEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_0, grammarAccess.getMultiplicativeBinaryOperatorAccess().getMULTIPLYEnumLiteralDeclaration_0()); } @@ -11010,15 +12730,15 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } break; case 2 : - // InternalSolverLanguageParser.g:4315:3: (enumLiteral_1= Solidus ) + // InternalSolverLanguageParser.g:4951:3: (enumLiteral_1= Solidus ) { - // InternalSolverLanguageParser.g:4315:3: (enumLiteral_1= Solidus ) - // InternalSolverLanguageParser.g:4316:4: enumLiteral_1= Solidus + // InternalSolverLanguageParser.g:4951:3: (enumLiteral_1= Solidus ) + // InternalSolverLanguageParser.g:4952:4: enumLiteral_1= Solidus { enumLiteral_1=(Token)match(input,Solidus,FOLLOW_2); - current = grammarAccess.getMultiplicativeBinaryOperatorAccess().getDIVEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); - newLeafNode(enumLiteral_1, grammarAccess.getMultiplicativeBinaryOperatorAccess().getDIVEnumLiteralDeclaration_1()); + current = grammarAccess.getMultiplicativeBinaryOperatorAccess().getDIVIDEEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_1, grammarAccess.getMultiplicativeBinaryOperatorAccess().getDIVIDEEnumLiteralDeclaration_1()); } @@ -11049,7 +12769,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleExponentialOp" - // InternalSolverLanguageParser.g:4326:1: ruleExponentialOp returns [Enumerator current=null] : (enumLiteral_0= CircumflexAccent ) ; + // InternalSolverLanguageParser.g:4962:1: ruleExponentialOp returns [Enumerator current=null] : (enumLiteral_0= CircumflexAccent ) ; public final Enumerator ruleExponentialOp() throws RecognitionException { Enumerator current = null; @@ -11059,11 +12779,11 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { enterRule(); try { - // InternalSolverLanguageParser.g:4332:2: ( (enumLiteral_0= CircumflexAccent ) ) - // InternalSolverLanguageParser.g:4333:2: (enumLiteral_0= CircumflexAccent ) + // InternalSolverLanguageParser.g:4968:2: ( (enumLiteral_0= CircumflexAccent ) ) + // InternalSolverLanguageParser.g:4969:2: (enumLiteral_0= CircumflexAccent ) { - // InternalSolverLanguageParser.g:4333:2: (enumLiteral_0= CircumflexAccent ) - // InternalSolverLanguageParser.g:4334:3: enumLiteral_0= CircumflexAccent + // InternalSolverLanguageParser.g:4969:2: (enumLiteral_0= CircumflexAccent ) + // InternalSolverLanguageParser.g:4970:3: enumLiteral_0= CircumflexAccent { enumLiteral_0=(Token)match(input,CircumflexAccent,FOLLOW_2); @@ -11092,76 +12812,64 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR end "ruleExponentialOp" - // $ANTLR start "ruleUnaryOp" - // InternalSolverLanguageParser.g:4343:1: ruleUnaryOp returns [Enumerator current=null] : ( (enumLiteral_0= ExclamationMark ) | (enumLiteral_1= PlusSign ) | (enumLiteral_2= HyphenMinus ) | (enumLiteral_3= May ) | (enumLiteral_4= Must ) | (enumLiteral_5= Current ) ) ; - public final Enumerator ruleUnaryOp() throws RecognitionException { + // $ANTLR start "ruleUnaryOperator" + // InternalSolverLanguageParser.g:4979:1: ruleUnaryOperator returns [Enumerator current=null] : ( (enumLiteral_0= ExclamationMark ) | (enumLiteral_1= PlusSign ) | (enumLiteral_2= HyphenMinus ) | (enumLiteral_3= QuestionMark ) ) ; + public final Enumerator ruleUnaryOperator() throws RecognitionException { Enumerator current = null; Token enumLiteral_0=null; Token enumLiteral_1=null; Token enumLiteral_2=null; Token enumLiteral_3=null; - Token enumLiteral_4=null; - Token enumLiteral_5=null; enterRule(); try { - // InternalSolverLanguageParser.g:4349:2: ( ( (enumLiteral_0= ExclamationMark ) | (enumLiteral_1= PlusSign ) | (enumLiteral_2= HyphenMinus ) | (enumLiteral_3= May ) | (enumLiteral_4= Must ) | (enumLiteral_5= Current ) ) ) - // InternalSolverLanguageParser.g:4350:2: ( (enumLiteral_0= ExclamationMark ) | (enumLiteral_1= PlusSign ) | (enumLiteral_2= HyphenMinus ) | (enumLiteral_3= May ) | (enumLiteral_4= Must ) | (enumLiteral_5= Current ) ) + // InternalSolverLanguageParser.g:4985:2: ( ( (enumLiteral_0= ExclamationMark ) | (enumLiteral_1= PlusSign ) | (enumLiteral_2= HyphenMinus ) | (enumLiteral_3= QuestionMark ) ) ) + // InternalSolverLanguageParser.g:4986:2: ( (enumLiteral_0= ExclamationMark ) | (enumLiteral_1= PlusSign ) | (enumLiteral_2= HyphenMinus ) | (enumLiteral_3= QuestionMark ) ) { - // InternalSolverLanguageParser.g:4350:2: ( (enumLiteral_0= ExclamationMark ) | (enumLiteral_1= PlusSign ) | (enumLiteral_2= HyphenMinus ) | (enumLiteral_3= May ) | (enumLiteral_4= Must ) | (enumLiteral_5= Current ) ) - int alt56=6; + // InternalSolverLanguageParser.g:4986:2: ( (enumLiteral_0= ExclamationMark ) | (enumLiteral_1= PlusSign ) | (enumLiteral_2= HyphenMinus ) | (enumLiteral_3= QuestionMark ) ) + int alt65=4; switch ( input.LA(1) ) { case ExclamationMark: { - alt56=1; + alt65=1; } break; case PlusSign: { - alt56=2; + alt65=2; } break; case HyphenMinus: { - alt56=3; - } - break; - case May: - { - alt56=4; - } - break; - case Must: - { - alt56=5; + alt65=3; } break; - case Current: + case QuestionMark: { - alt56=6; + alt65=4; } break; default: NoViableAltException nvae = - new NoViableAltException("", 56, 0, input); + new NoViableAltException("", 65, 0, input); throw nvae; } - switch (alt56) { + switch (alt65) { case 1 : - // InternalSolverLanguageParser.g:4351:3: (enumLiteral_0= ExclamationMark ) + // InternalSolverLanguageParser.g:4987:3: (enumLiteral_0= ExclamationMark ) { - // InternalSolverLanguageParser.g:4351:3: (enumLiteral_0= ExclamationMark ) - // InternalSolverLanguageParser.g:4352:4: enumLiteral_0= ExclamationMark + // InternalSolverLanguageParser.g:4987:3: (enumLiteral_0= ExclamationMark ) + // InternalSolverLanguageParser.g:4988:4: enumLiteral_0= ExclamationMark { enumLiteral_0=(Token)match(input,ExclamationMark,FOLLOW_2); - current = grammarAccess.getUnaryOpAccess().getNEGEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); - newLeafNode(enumLiteral_0, grammarAccess.getUnaryOpAccess().getNEGEnumLiteralDeclaration_0()); + current = grammarAccess.getUnaryOperatorAccess().getNOTEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_0, grammarAccess.getUnaryOperatorAccess().getNOTEnumLiteralDeclaration_0()); } @@ -11170,15 +12878,15 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } break; case 2 : - // InternalSolverLanguageParser.g:4359:3: (enumLiteral_1= PlusSign ) + // InternalSolverLanguageParser.g:4995:3: (enumLiteral_1= PlusSign ) { - // InternalSolverLanguageParser.g:4359:3: (enumLiteral_1= PlusSign ) - // InternalSolverLanguageParser.g:4360:4: enumLiteral_1= PlusSign + // InternalSolverLanguageParser.g:4995:3: (enumLiteral_1= PlusSign ) + // InternalSolverLanguageParser.g:4996:4: enumLiteral_1= PlusSign { enumLiteral_1=(Token)match(input,PlusSign,FOLLOW_2); - current = grammarAccess.getUnaryOpAccess().getPLUSEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); - newLeafNode(enumLiteral_1, grammarAccess.getUnaryOpAccess().getPLUSEnumLiteralDeclaration_1()); + current = grammarAccess.getUnaryOperatorAccess().getPLUSEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_1, grammarAccess.getUnaryOperatorAccess().getPLUSEnumLiteralDeclaration_1()); } @@ -11187,15 +12895,15 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } break; case 3 : - // InternalSolverLanguageParser.g:4367:3: (enumLiteral_2= HyphenMinus ) + // InternalSolverLanguageParser.g:5003:3: (enumLiteral_2= HyphenMinus ) { - // InternalSolverLanguageParser.g:4367:3: (enumLiteral_2= HyphenMinus ) - // InternalSolverLanguageParser.g:4368:4: enumLiteral_2= HyphenMinus + // InternalSolverLanguageParser.g:5003:3: (enumLiteral_2= HyphenMinus ) + // InternalSolverLanguageParser.g:5004:4: enumLiteral_2= HyphenMinus { enumLiteral_2=(Token)match(input,HyphenMinus,FOLLOW_2); - current = grammarAccess.getUnaryOpAccess().getMINUSEnumLiteralDeclaration_2().getEnumLiteral().getInstance(); - newLeafNode(enumLiteral_2, grammarAccess.getUnaryOpAccess().getMINUSEnumLiteralDeclaration_2()); + current = grammarAccess.getUnaryOperatorAccess().getMINUSEnumLiteralDeclaration_2().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_2, grammarAccess.getUnaryOperatorAccess().getMINUSEnumLiteralDeclaration_2()); } @@ -11204,164 +12912,15 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } break; case 4 : - // InternalSolverLanguageParser.g:4375:3: (enumLiteral_3= May ) - { - // InternalSolverLanguageParser.g:4375:3: (enumLiteral_3= May ) - // InternalSolverLanguageParser.g:4376:4: enumLiteral_3= May - { - enumLiteral_3=(Token)match(input,May,FOLLOW_2); - - current = grammarAccess.getUnaryOpAccess().getMAYEnumLiteralDeclaration_3().getEnumLiteral().getInstance(); - newLeafNode(enumLiteral_3, grammarAccess.getUnaryOpAccess().getMAYEnumLiteralDeclaration_3()); - - - } - - - } - break; - case 5 : - // InternalSolverLanguageParser.g:4383:3: (enumLiteral_4= Must ) - { - // InternalSolverLanguageParser.g:4383:3: (enumLiteral_4= Must ) - // InternalSolverLanguageParser.g:4384:4: enumLiteral_4= Must - { - enumLiteral_4=(Token)match(input,Must,FOLLOW_2); - - current = grammarAccess.getUnaryOpAccess().getMUSTEnumLiteralDeclaration_4().getEnumLiteral().getInstance(); - newLeafNode(enumLiteral_4, grammarAccess.getUnaryOpAccess().getMUSTEnumLiteralDeclaration_4()); - - - } - - - } - break; - case 6 : - // InternalSolverLanguageParser.g:4391:3: (enumLiteral_5= Current ) - { - // InternalSolverLanguageParser.g:4391:3: (enumLiteral_5= Current ) - // InternalSolverLanguageParser.g:4392:4: enumLiteral_5= Current - { - enumLiteral_5=(Token)match(input,Current,FOLLOW_2); - - current = grammarAccess.getUnaryOpAccess().getCURRENTEnumLiteralDeclaration_5().getEnumLiteral().getInstance(); - newLeafNode(enumLiteral_5, grammarAccess.getUnaryOpAccess().getCURRENTEnumLiteralDeclaration_5()); - - - } - - - } - break; - - } - - - } - - - leaveRule(); - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleUnaryOp" - - - // $ANTLR start "ruleQuantifier" - // InternalSolverLanguageParser.g:4402:1: ruleQuantifier returns [Enumerator current=null] : ( (enumLiteral_0= Exists ) | (enumLiteral_1= Forall ) | (enumLiteral_2= Count ) ) ; - public final Enumerator ruleQuantifier() throws RecognitionException { - Enumerator current = null; - - Token enumLiteral_0=null; - Token enumLiteral_1=null; - Token enumLiteral_2=null; - - - enterRule(); - - try { - // InternalSolverLanguageParser.g:4408:2: ( ( (enumLiteral_0= Exists ) | (enumLiteral_1= Forall ) | (enumLiteral_2= Count ) ) ) - // InternalSolverLanguageParser.g:4409:2: ( (enumLiteral_0= Exists ) | (enumLiteral_1= Forall ) | (enumLiteral_2= Count ) ) - { - // InternalSolverLanguageParser.g:4409:2: ( (enumLiteral_0= Exists ) | (enumLiteral_1= Forall ) | (enumLiteral_2= Count ) ) - int alt57=3; - switch ( input.LA(1) ) { - case Exists: - { - alt57=1; - } - break; - case Forall: - { - alt57=2; - } - break; - case Count: - { - alt57=3; - } - break; - default: - NoViableAltException nvae = - new NoViableAltException("", 57, 0, input); - - throw nvae; - } - - switch (alt57) { - case 1 : - // InternalSolverLanguageParser.g:4410:3: (enumLiteral_0= Exists ) - { - // InternalSolverLanguageParser.g:4410:3: (enumLiteral_0= Exists ) - // InternalSolverLanguageParser.g:4411:4: enumLiteral_0= Exists - { - enumLiteral_0=(Token)match(input,Exists,FOLLOW_2); - - current = grammarAccess.getQuantifierAccess().getEXISTSEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); - newLeafNode(enumLiteral_0, grammarAccess.getQuantifierAccess().getEXISTSEnumLiteralDeclaration_0()); - - - } - - - } - break; - case 2 : - // InternalSolverLanguageParser.g:4418:3: (enumLiteral_1= Forall ) - { - // InternalSolverLanguageParser.g:4418:3: (enumLiteral_1= Forall ) - // InternalSolverLanguageParser.g:4419:4: enumLiteral_1= Forall + // InternalSolverLanguageParser.g:5011:3: (enumLiteral_3= QuestionMark ) { - enumLiteral_1=(Token)match(input,Forall,FOLLOW_2); - - current = grammarAccess.getQuantifierAccess().getFORALLEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); - newLeafNode(enumLiteral_1, grammarAccess.getQuantifierAccess().getFORALLEnumLiteralDeclaration_1()); - - - } - - - } - break; - case 3 : - // InternalSolverLanguageParser.g:4426:3: (enumLiteral_2= Count ) - { - // InternalSolverLanguageParser.g:4426:3: (enumLiteral_2= Count ) - // InternalSolverLanguageParser.g:4427:4: enumLiteral_2= Count + // InternalSolverLanguageParser.g:5011:3: (enumLiteral_3= QuestionMark ) + // InternalSolverLanguageParser.g:5012:4: enumLiteral_3= QuestionMark { - enumLiteral_2=(Token)match(input,Count,FOLLOW_2); + enumLiteral_3=(Token)match(input,QuestionMark,FOLLOW_2); - current = grammarAccess.getQuantifierAccess().getCOUNTEnumLiteralDeclaration_2().getEnumLiteral().getInstance(); - newLeafNode(enumLiteral_2, grammarAccess.getQuantifierAccess().getCOUNTEnumLiteralDeclaration_2()); + current = grammarAccess.getUnaryOperatorAccess().getMAYBEEnumLiteralDeclaration_3().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_3, grammarAccess.getUnaryOperatorAccess().getMAYBEEnumLiteralDeclaration_3()); } @@ -11388,11 +12947,11 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } return current; } - // $ANTLR end "ruleQuantifier" + // $ANTLR end "ruleUnaryOperator" // $ANTLR start "ruleLogicValue" - // InternalSolverLanguageParser.g:4437:1: ruleLogicValue returns [Enumerator current=null] : ( (enumLiteral_0= True ) | (enumLiteral_1= False ) | (enumLiteral_2= Unknown ) | (enumLiteral_3= Error ) ) ; + // InternalSolverLanguageParser.g:5022:1: ruleLogicValue returns [Enumerator current=null] : ( (enumLiteral_0= True ) | (enumLiteral_1= False ) | (enumLiteral_2= Unknown ) | (enumLiteral_3= Error ) ) ; public final Enumerator ruleLogicValue() throws RecognitionException { Enumerator current = null; @@ -11405,45 +12964,45 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { enterRule(); try { - // InternalSolverLanguageParser.g:4443:2: ( ( (enumLiteral_0= True ) | (enumLiteral_1= False ) | (enumLiteral_2= Unknown ) | (enumLiteral_3= Error ) ) ) - // InternalSolverLanguageParser.g:4444:2: ( (enumLiteral_0= True ) | (enumLiteral_1= False ) | (enumLiteral_2= Unknown ) | (enumLiteral_3= Error ) ) + // InternalSolverLanguageParser.g:5028:2: ( ( (enumLiteral_0= True ) | (enumLiteral_1= False ) | (enumLiteral_2= Unknown ) | (enumLiteral_3= Error ) ) ) + // InternalSolverLanguageParser.g:5029:2: ( (enumLiteral_0= True ) | (enumLiteral_1= False ) | (enumLiteral_2= Unknown ) | (enumLiteral_3= Error ) ) { - // InternalSolverLanguageParser.g:4444:2: ( (enumLiteral_0= True ) | (enumLiteral_1= False ) | (enumLiteral_2= Unknown ) | (enumLiteral_3= Error ) ) - int alt58=4; + // InternalSolverLanguageParser.g:5029:2: ( (enumLiteral_0= True ) | (enumLiteral_1= False ) | (enumLiteral_2= Unknown ) | (enumLiteral_3= Error ) ) + int alt66=4; switch ( input.LA(1) ) { case True: { - alt58=1; + alt66=1; } break; case False: { - alt58=2; + alt66=2; } break; case Unknown: { - alt58=3; + alt66=3; } break; case Error: { - alt58=4; + alt66=4; } break; default: NoViableAltException nvae = - new NoViableAltException("", 58, 0, input); + new NoViableAltException("", 66, 0, input); throw nvae; } - switch (alt58) { + switch (alt66) { case 1 : - // InternalSolverLanguageParser.g:4445:3: (enumLiteral_0= True ) + // InternalSolverLanguageParser.g:5030:3: (enumLiteral_0= True ) { - // InternalSolverLanguageParser.g:4445:3: (enumLiteral_0= True ) - // InternalSolverLanguageParser.g:4446:4: enumLiteral_0= True + // InternalSolverLanguageParser.g:5030:3: (enumLiteral_0= True ) + // InternalSolverLanguageParser.g:5031:4: enumLiteral_0= True { enumLiteral_0=(Token)match(input,True,FOLLOW_2); @@ -11457,10 +13016,10 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } break; case 2 : - // InternalSolverLanguageParser.g:4453:3: (enumLiteral_1= False ) + // InternalSolverLanguageParser.g:5038:3: (enumLiteral_1= False ) { - // InternalSolverLanguageParser.g:4453:3: (enumLiteral_1= False ) - // InternalSolverLanguageParser.g:4454:4: enumLiteral_1= False + // InternalSolverLanguageParser.g:5038:3: (enumLiteral_1= False ) + // InternalSolverLanguageParser.g:5039:4: enumLiteral_1= False { enumLiteral_1=(Token)match(input,False,FOLLOW_2); @@ -11474,10 +13033,10 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } break; case 3 : - // InternalSolverLanguageParser.g:4461:3: (enumLiteral_2= Unknown ) + // InternalSolverLanguageParser.g:5046:3: (enumLiteral_2= Unknown ) { - // InternalSolverLanguageParser.g:4461:3: (enumLiteral_2= Unknown ) - // InternalSolverLanguageParser.g:4462:4: enumLiteral_2= Unknown + // InternalSolverLanguageParser.g:5046:3: (enumLiteral_2= Unknown ) + // InternalSolverLanguageParser.g:5047:4: enumLiteral_2= Unknown { enumLiteral_2=(Token)match(input,Unknown,FOLLOW_2); @@ -11491,10 +13050,10 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } break; case 4 : - // InternalSolverLanguageParser.g:4469:3: (enumLiteral_3= Error ) + // InternalSolverLanguageParser.g:5054:3: (enumLiteral_3= Error ) { - // InternalSolverLanguageParser.g:4469:3: (enumLiteral_3= Error ) - // InternalSolverLanguageParser.g:4470:4: enumLiteral_3= Error + // InternalSolverLanguageParser.g:5054:3: (enumLiteral_3= Error ) + // InternalSolverLanguageParser.g:5055:4: enumLiteral_3= Error { enumLiteral_3=(Token)match(input,Error,FOLLOW_2); @@ -11530,7 +13089,7 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleObjectiveKind" - // InternalSolverLanguageParser.g:4480:1: ruleObjectiveKind returns [Enumerator current=null] : ( (enumLiteral_0= Minimize ) | (enumLiteral_1= Maximize ) ) ; + // InternalSolverLanguageParser.g:5065:1: ruleObjectiveKind returns [Enumerator current=null] : ( (enumLiteral_0= Minimize ) | (enumLiteral_1= Maximize ) ) ; public final Enumerator ruleObjectiveKind() throws RecognitionException { Enumerator current = null; @@ -11541,36 +13100,36 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { enterRule(); try { - // InternalSolverLanguageParser.g:4486:2: ( ( (enumLiteral_0= Minimize ) | (enumLiteral_1= Maximize ) ) ) - // InternalSolverLanguageParser.g:4487:2: ( (enumLiteral_0= Minimize ) | (enumLiteral_1= Maximize ) ) + // InternalSolverLanguageParser.g:5071:2: ( ( (enumLiteral_0= Minimize ) | (enumLiteral_1= Maximize ) ) ) + // InternalSolverLanguageParser.g:5072:2: ( (enumLiteral_0= Minimize ) | (enumLiteral_1= Maximize ) ) { - // InternalSolverLanguageParser.g:4487:2: ( (enumLiteral_0= Minimize ) | (enumLiteral_1= Maximize ) ) - int alt59=2; - int LA59_0 = input.LA(1); + // InternalSolverLanguageParser.g:5072:2: ( (enumLiteral_0= Minimize ) | (enumLiteral_1= Maximize ) ) + int alt67=2; + int LA67_0 = input.LA(1); - if ( (LA59_0==Minimize) ) { - alt59=1; + if ( (LA67_0==Minimize) ) { + alt67=1; } - else if ( (LA59_0==Maximize) ) { - alt59=2; + else if ( (LA67_0==Maximize) ) { + alt67=2; } else { NoViableAltException nvae = - new NoViableAltException("", 59, 0, input); + new NoViableAltException("", 67, 0, input); throw nvae; } - switch (alt59) { + switch (alt67) { case 1 : - // InternalSolverLanguageParser.g:4488:3: (enumLiteral_0= Minimize ) + // InternalSolverLanguageParser.g:5073:3: (enumLiteral_0= Minimize ) { - // InternalSolverLanguageParser.g:4488:3: (enumLiteral_0= Minimize ) - // InternalSolverLanguageParser.g:4489:4: enumLiteral_0= Minimize + // InternalSolverLanguageParser.g:5073:3: (enumLiteral_0= Minimize ) + // InternalSolverLanguageParser.g:5074:4: enumLiteral_0= Minimize { enumLiteral_0=(Token)match(input,Minimize,FOLLOW_2); - current = grammarAccess.getObjectiveKindAccess().getMINIMIZEEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); - newLeafNode(enumLiteral_0, grammarAccess.getObjectiveKindAccess().getMINIMIZEEnumLiteralDeclaration_0()); + current = grammarAccess.getObjectiveKindAccess().getMINIMIZATIONEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_0, grammarAccess.getObjectiveKindAccess().getMINIMIZATIONEnumLiteralDeclaration_0()); } @@ -11579,15 +13138,15 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { } break; case 2 : - // InternalSolverLanguageParser.g:4496:3: (enumLiteral_1= Maximize ) + // InternalSolverLanguageParser.g:5081:3: (enumLiteral_1= Maximize ) { - // InternalSolverLanguageParser.g:4496:3: (enumLiteral_1= Maximize ) - // InternalSolverLanguageParser.g:4497:4: enumLiteral_1= Maximize + // InternalSolverLanguageParser.g:5081:3: (enumLiteral_1= Maximize ) + // InternalSolverLanguageParser.g:5082:4: enumLiteral_1= Maximize { enumLiteral_1=(Token)match(input,Maximize,FOLLOW_2); - current = grammarAccess.getObjectiveKindAccess().getMAXIMIZEEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); - newLeafNode(enumLiteral_1, grammarAccess.getObjectiveKindAccess().getMAXIMIZEEnumLiteralDeclaration_1()); + current = grammarAccess.getObjectiveKindAccess().getMAXIMIZATIONEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_1, grammarAccess.getObjectiveKindAccess().getMAXIMIZATIONEnumLiteralDeclaration_1()); } @@ -11619,44 +13178,47 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { // Delegated rules - protected DFA2 dfa2 = new DFA2(this); - protected DFA23 dfa23 = new DFA23(this); - protected DFA29 dfa29 = new DFA29(this); - protected DFA33 dfa33 = new DFA33(this); - protected DFA44 dfa44 = new DFA44(this); - static final String dfa_1s = "\33\uffff"; - static final String dfa_2s = "\1\4\1\uffff\2\40\1\4\2\uffff\1\7\3\uffff\1\105\2\uffff\2\54\1\uffff\1\40\1\105\2\54\1\uffff\1\54\1\105\2\uffff\1\54"; - static final String dfa_3s = "\1\106\1\uffff\3\105\2\uffff\1\105\3\uffff\1\105\2\uffff\2\105\1\uffff\2\105\2\74\1\uffff\2\105\2\uffff\1\74"; - static final String dfa_4s = "\1\uffff\1\1\3\uffff\1\2\1\4\1\uffff\1\12\1\13\1\14\1\uffff\1\5\1\3\2\uffff\1\11\4\uffff\1\6\2\uffff\1\7\1\10\1\uffff"; - static final String dfa_5s = "\33\uffff}>"; + protected DFA4 dfa4 = new DFA4(this); + protected DFA13 dfa13 = new DFA13(this); + protected DFA30 dfa30 = new DFA30(this); + protected DFA31 dfa31 = new DFA31(this); + protected DFA34 dfa34 = new DFA34(this); + protected DFA53 dfa53 = new DFA53(this); + static final String dfa_1s = "\35\uffff"; + static final String dfa_2s = "\1\4\1\uffff\3\22\1\5\1\22\1\uffff\1\6\6\uffff\1\22\2\uffff\3\45\1\uffff\4\22\3\45"; + static final String dfa_3s = "\1\113\1\uffff\5\112\1\uffff\1\112\6\uffff\1\112\2\uffff\3\111\1\uffff\4\112\3\111"; + static final String dfa_4s = "\1\uffff\1\1\5\uffff\1\4\1\uffff\1\6\1\7\1\10\1\11\1\12\1\13\1\uffff\1\5\1\2\3\uffff\1\3\7\uffff"; + static final String dfa_5s = "\35\uffff}>"; static final String[] dfa_6s = { - "\1\5\1\10\2\uffff\2\12\1\uffff\1\1\1\6\1\uffff\2\1\1\7\1\1\1\10\2\1\1\4\1\1\1\11\1\uffff\1\1\1\uffff\1\1\1\uffff\3\1\11\uffff\1\1\1\uffff\2\1\2\uffff\1\1\1\uffff\1\1\7\uffff\1\1\5\uffff\1\1\1\3\4\uffff\1\2\1\1", + "\1\11\1\6\1\15\2\uffff\2\14\1\uffff\1\7\2\uffff\1\1\1\12\1\uffff\1\4\1\uffff\1\15\2\1\1\5\1\1\1\13\1\uffff\1\16\1\10\1\uffff\1\1\1\uffff\2\1\12\uffff\1\1\1\uffff\2\1\2\uffff\1\1\1\uffff\1\1\7\uffff\2\1\5\uffff\2\1\1\3\4\uffff\1\2\1\1", "", - "\2\1\1\uffff\6\1\1\uffff\1\1\1\uffff\1\1\1\uffff\4\1\1\13\7\1\1\uffff\2\1\3\uffff\1\14\1\uffff\3\1\1\14", - "\2\1\1\uffff\6\1\1\uffff\1\1\1\uffff\1\1\1\uffff\4\1\1\uffff\7\1\1\uffff\2\1\3\uffff\1\14\1\uffff\3\1\1\14", - "\1\5\33\uffff\2\1\1\uffff\6\1\1\uffff\1\1\1\uffff\1\15\1\uffff\4\1\1\uffff\6\1\2\uffff\1\1\4\uffff\1\5\3\uffff\1\1\1\5", + "\1\20\17\uffff\3\1\1\17\6\1\1\uffff\1\1\1\uffff\1\1\1\uffff\11\1\1\uffff\1\1\3\uffff\2\1\2\uffff\1\20\1\uffff\1\20\1\uffff\3\1\1\20", + "\1\20\17\uffff\3\1\1\17\6\1\1\uffff\1\1\1\uffff\1\1\1\uffff\11\1\1\uffff\1\1\3\uffff\2\1\2\uffff\1\20\1\uffff\1\20\1\uffff\3\1\1\20", + "\1\20\17\uffff\3\1\1\17\6\1\1\uffff\1\1\1\uffff\1\1\1\uffff\11\1\1\uffff\1\1\3\uffff\2\1\2\uffff\1\20\1\uffff\1\20\1\uffff\3\1\1\20", + "\1\21\14\uffff\1\24\17\uffff\3\1\1\uffff\6\1\1\uffff\1\1\1\uffff\1\25\1\uffff\4\1\1\uffff\4\1\1\uffff\1\1\3\uffff\1\1\3\uffff\1\21\1\uffff\1\23\3\uffff\1\1\1\22", + "\1\24\4\uffff\1\21\53\uffff\1\21\1\uffff\1\23\4\uffff\1\22", "", + "\1\15\13\uffff\1\11\1\uffff\1\15\7\uffff\1\15\50\uffff\1\11\4\uffff\1\11", "", - "\1\20\70\uffff\1\17\4\uffff\1\16", "", "", "", - "\1\21", "", "", - "\1\25\5\uffff\1\22\15\uffff\1\24\4\uffff\1\23", - "\1\25\23\uffff\1\24\4\uffff\1\23", + "\1\30\62\uffff\1\27\4\uffff\1\26", "", - "\2\1\1\uffff\6\1\1\uffff\1\1\1\uffff\1\1\1\uffff\4\1\1\13\7\1\1\uffff\2\1\3\uffff\1\14\1\uffff\3\1\1\14", - "\1\26", - "\1\30\5\uffff\1\27\11\uffff\1\31", - "\1\30\17\uffff\1\31", "", - "\1\25\5\uffff\1\22\15\uffff\1\24\4\uffff\1\23", - "\1\32", + "\1\31\11\uffff\1\21\5\uffff\1\21\21\uffff\2\21\1\11", + "\1\31\11\uffff\1\21\5\uffff\1\21\21\uffff\2\21\1\11", + "\1\31\11\uffff\1\21\5\uffff\1\21\21\uffff\2\21\1\11", "", - "", - "\1\30\5\uffff\1\27\11\uffff\1\31" + "\1\20\17\uffff\3\1\1\17\6\1\1\uffff\1\1\1\uffff\1\1\1\uffff\11\1\1\uffff\1\1\3\uffff\2\1\2\uffff\1\20\1\uffff\1\20\1\uffff\3\1\1\20", + "\1\20\17\uffff\3\1\1\17\6\1\1\uffff\1\1\1\uffff\1\1\1\uffff\11\1\1\uffff\1\1\3\uffff\2\1\2\uffff\1\20\1\uffff\1\20\1\uffff\3\1\1\20", + "\1\20\17\uffff\3\1\1\17\6\1\1\uffff\1\1\1\uffff\1\1\1\uffff\11\1\1\uffff\1\1\3\uffff\2\1\2\uffff\1\20\1\uffff\1\20\1\uffff\3\1\1\20", + "\1\34\62\uffff\1\33\4\uffff\1\32", + "\1\31\11\uffff\1\21\5\uffff\1\21\21\uffff\2\21\1\11", + "\1\31\11\uffff\1\21\5\uffff\1\21\21\uffff\2\21\1\11", + "\1\31\11\uffff\1\21\5\uffff\1\21\21\uffff\2\21\1\11" }; static final short[] dfa_1 = DFA.unpackEncodedString(dfa_1s); @@ -11666,11 +13228,11 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { static final short[] dfa_5 = DFA.unpackEncodedString(dfa_5s); static final short[][] dfa_6 = unpackEncodedStringArray(dfa_6s); - class DFA2 extends DFA { + class DFA4 extends DFA { - public DFA2(BaseRecognizer recognizer) { + public DFA4(BaseRecognizer recognizer) { this.recognizer = recognizer; - this.decisionNumber = 2; + this.decisionNumber = 4; this.eot = dfa_1; this.eof = dfa_1; this.min = dfa_2; @@ -11680,243 +13242,336 @@ public class InternalSolverLanguageParser extends AbstractInternalAntlrParser { this.transition = dfa_6; } public String getDescription() { - return "109:3: (this_AssertionOrDefinition_0= ruleAssertionOrDefinition | this_PredicateDefinition_1= rulePredicateDefinition | this_UnnamedErrorPrediateDefinition_2= ruleUnnamedErrorPrediateDefinition | this_DefaultDefinition_3= ruleDefaultDefinition | this_MetricDefinition_4= ruleMetricDefinition | this_ExternPredicateDefinition_5= ruleExternPredicateDefinition | this_ExternMetricDefinition_6= ruleExternMetricDefinition | this_ExternAggregatorDefinition_7= ruleExternAggregatorDefinition | this_ExternDatatypeDefinition_8= ruleExternDatatypeDefinition | this_ClassDefinition_9= ruleClassDefinition | this_ScopeDefinition_10= ruleScopeDefinition | this_ObjectiveDefinition_11= ruleObjectiveDefinition )"; - } - } - static final String dfa_7s = "\10\uffff"; - static final String dfa_8s = "\1\uffff\2\3\4\uffff\1\3"; - static final String dfa_9s = "\1\16\2\30\2\uffff\1\105\1\uffff\1\30"; - static final String dfa_10s = "\1\106\2\104\2\uffff\1\105\1\uffff\1\104"; - static final String dfa_11s = "\3\uffff\1\1\1\2\1\uffff\1\3\1\uffff"; - static final String dfa_12s = "\10\uffff}>"; - static final String[] dfa_13s = { - "\1\3\1\4\1\uffff\1\4\1\uffff\1\4\3\3\4\uffff\1\3\1\uffff\1\3\16\uffff\1\3\14\uffff\1\3\5\uffff\1\3\1\2\4\uffff\1\1\1\3", - "\1\3\1\uffff\1\3\5\uffff\11\3\1\uffff\1\3\1\uffff\6\3\1\5\6\3\1\6\2\3\1\6\2\3\3\uffff\3\3", - "\1\3\1\uffff\1\3\5\uffff\11\3\1\uffff\1\3\1\uffff\6\3\1\uffff\6\3\1\6\2\3\1\6\2\3\3\uffff\3\3", + return "158:2: (this_AssertionOrDefinition_0= ruleAssertionOrDefinition | this_PredicateDefinition_1= rulePredicateDefinition | this_UnnamedErrorPredicateDefintion_2= ruleUnnamedErrorPredicateDefintion | this_DefaultAssertion_3= ruleDefaultAssertion | this_FunctionDefinition_4= ruleFunctionDefinition | this_Attribute_5= ruleAttribute | this_ExternDeclaration_6= ruleExternDeclaration | this_ScopeDeclaration_7= ruleScopeDeclaration | this_ObjectiveDeclaration_8= ruleObjectiveDeclaration | this_ClassDeclaration_9= ruleClassDeclaration | this_EnumDeclaration_10= ruleEnumDeclaration )"; + } + } + static final String dfa_7s = "\24\uffff"; + static final String dfa_8s = "\1\20\1\5\2\uffff\4\22\3\45\4\22\2\uffff\3\45"; + static final String dfa_9s = "\1\20\1\112\2\uffff\4\112\3\100\4\112\2\uffff\3\100"; + static final String dfa_10s = "\2\uffff\1\4\1\1\13\uffff\1\3\1\2\3\uffff"; + static final String dfa_11s = "\24\uffff}>"; + static final String[] dfa_12s = { + "\1\1", + "\1\3\2\uffff\1\2\11\uffff\1\6\4\uffff\1\3\55\uffff\1\5\4\uffff\1\4", "", "", - "\1\7", + "\1\12\22\uffff\1\7\11\uffff\1\3\25\uffff\1\11\4\uffff\1\10", + "\1\12\22\uffff\1\7\11\uffff\1\3\25\uffff\1\11\4\uffff\1\10", + "\1\12\22\uffff\1\7\11\uffff\1\3\25\uffff\1\11\4\uffff\1\10", + "\1\15\62\uffff\1\14\4\uffff\1\13", + "\1\16\11\uffff\1\20\20\uffff\1\17", + "\1\16\11\uffff\1\20\20\uffff\1\17", + "\1\16\11\uffff\1\20\20\uffff\1\17", + "\1\12\22\uffff\1\7\11\uffff\1\3\25\uffff\1\11\4\uffff\1\10", + "\1\12\22\uffff\1\7\11\uffff\1\3\25\uffff\1\11\4\uffff\1\10", + "\1\12\22\uffff\1\7\11\uffff\1\3\25\uffff\1\11\4\uffff\1\10", + "\1\23\62\uffff\1\22\4\uffff\1\21", "", - "\1\3\1\uffff\1\3\5\uffff\11\3\1\uffff\1\3\1\uffff\6\3\1\5\6\3\1\6\2\3\1\6\2\3\3\uffff\3\3" + "", + "\1\16\11\uffff\1\20\20\uffff\1\17", + "\1\16\11\uffff\1\20\20\uffff\1\17", + "\1\16\11\uffff\1\20\20\uffff\1\17" }; static final short[] dfa_7 = DFA.unpackEncodedString(dfa_7s); - static final short[] dfa_8 = DFA.unpackEncodedString(dfa_8s); + static final char[] dfa_8 = DFA.unpackEncodedStringToUnsignedChars(dfa_8s); static final char[] dfa_9 = DFA.unpackEncodedStringToUnsignedChars(dfa_9s); - static final char[] dfa_10 = DFA.unpackEncodedStringToUnsignedChars(dfa_10s); + static final short[] dfa_10 = DFA.unpackEncodedString(dfa_10s); static final short[] dfa_11 = DFA.unpackEncodedString(dfa_11s); - static final short[] dfa_12 = DFA.unpackEncodedString(dfa_12s); - static final short[][] dfa_13 = unpackEncodedStringArray(dfa_13s); + static final short[][] dfa_12 = unpackEncodedStringArray(dfa_12s); - class DFA23 extends DFA { + class DFA13 extends DFA { - public DFA23(BaseRecognizer recognizer) { + public DFA13(BaseRecognizer recognizer) { this.recognizer = recognizer; - this.decisionNumber = 23; + this.decisionNumber = 13; this.eot = dfa_7; - this.eof = dfa_8; - this.min = dfa_9; - this.max = dfa_10; - this.accept = dfa_11; - this.special = dfa_12; - this.transition = dfa_13; + this.eof = dfa_7; + this.min = dfa_8; + this.max = dfa_9; + this.accept = dfa_10; + this.special = dfa_11; + this.transition = dfa_12; } public String getDescription() { - return "2100:2: (this_AtomicExpression_0= ruleAtomicExpression | this_QuantifiedExpression_1= ruleQuantifiedExpression | this_Aggregation_2= ruleAggregation )"; - } - } - static final String dfa_14s = "\12\uffff"; - static final String dfa_15s = "\1\uffff\2\10\6\uffff\1\10"; - static final String dfa_16s = "\1\16\2\30\3\uffff\1\105\2\uffff\1\30"; - static final String dfa_17s = "\1\106\2\104\3\uffff\1\105\2\uffff\1\104"; - static final String dfa_18s = "\3\uffff\1\3\1\4\1\5\1\uffff\1\2\1\1\1\uffff"; - static final String dfa_19s = "\12\uffff}>"; - static final String[] dfa_20s = { - "\1\4\5\uffff\3\4\4\uffff\1\4\1\uffff\1\4\16\uffff\1\5\14\uffff\1\3\5\uffff\1\4\1\2\4\uffff\1\1\1\4", - "\1\10\1\uffff\1\10\5\uffff\11\10\1\uffff\1\10\1\uffff\1\7\5\10\1\6\6\10\1\uffff\2\10\1\uffff\2\10\3\uffff\2\7\1\10", - "\1\10\1\uffff\1\10\5\uffff\11\10\1\uffff\1\10\1\uffff\1\7\5\10\1\uffff\6\10\1\uffff\2\10\1\uffff\2\10\3\uffff\2\7\1\10", - "", - "", + return "1041:2: (this_ExternPredicateDeclaration_0= ruleExternPredicateDeclaration | this_ExternFunctionDeclaration_1= ruleExternFunctionDeclaration | this_ExternAggregationOperatorDeclaration_2= ruleExternAggregationOperatorDeclaration | this_ExternDatatypeDeclaration_3= ruleExternDatatypeDeclaration )"; + } + } + static final String dfa_13s = "\13\uffff"; + static final String dfa_14s = "\2\uffff\3\1\3\uffff\3\1"; + static final String dfa_15s = "\1\17\1\uffff\3\32\1\uffff\1\22\1\uffff\3\32"; + static final String dfa_16s = "\1\113\1\uffff\3\111\1\uffff\1\112\1\uffff\3\111"; + static final String dfa_17s = "\1\uffff\1\1\3\uffff\1\3\1\uffff\1\2\3\uffff"; + static final String dfa_18s = "\13\uffff}>"; + static final String[] dfa_19s = { + "\1\1\2\uffff\1\4\2\uffff\1\5\3\1\5\uffff\1\1\1\uffff\1\1\16\uffff\1\1\15\uffff\1\1\5\uffff\2\1\1\3\4\uffff\1\2\1\1", "", - "\1\11", + "\1\1\2\uffff\1\1\4\uffff\3\1\1\6\6\1\1\uffff\1\1\1\uffff\13\1\1\uffff\1\1\2\uffff\2\1\1\7\2\1\4\uffff\3\1", + "\1\1\2\uffff\1\1\4\uffff\3\1\1\6\6\1\1\uffff\1\1\1\uffff\13\1\1\uffff\1\1\2\uffff\2\1\1\7\2\1\4\uffff\3\1", + "\1\1\2\uffff\1\1\4\uffff\3\1\1\6\6\1\1\uffff\1\1\1\uffff\13\1\1\uffff\1\1\2\uffff\2\1\1\7\2\1\4\uffff\3\1", "", + "\1\12\62\uffff\1\11\4\uffff\1\10", "", - "\1\10\1\uffff\1\10\5\uffff\11\10\1\uffff\1\10\1\uffff\1\7\5\10\1\6\6\10\1\uffff\2\10\1\uffff\2\10\3\uffff\2\7\1\10" + "\1\1\2\uffff\1\1\4\uffff\3\1\1\6\6\1\1\uffff\1\1\1\uffff\13\1\1\uffff\1\1\2\uffff\2\1\1\7\2\1\4\uffff\3\1", + "\1\1\2\uffff\1\1\4\uffff\3\1\1\6\6\1\1\uffff\1\1\1\uffff\13\1\1\uffff\1\1\2\uffff\2\1\1\7\2\1\4\uffff\3\1", + "\1\1\2\uffff\1\1\4\uffff\3\1\1\6\6\1\1\uffff\1\1\1\uffff\13\1\1\uffff\1\1\2\uffff\2\1\1\7\2\1\4\uffff\3\1" }; + static final short[] dfa_13 = DFA.unpackEncodedString(dfa_13s); static final short[] dfa_14 = DFA.unpackEncodedString(dfa_14s); - static final short[] dfa_15 = DFA.unpackEncodedString(dfa_15s); + static final char[] dfa_15 = DFA.unpackEncodedStringToUnsignedChars(dfa_15s); static final char[] dfa_16 = DFA.unpackEncodedStringToUnsignedChars(dfa_16s); - static final char[] dfa_17 = DFA.unpackEncodedStringToUnsignedChars(dfa_17s); + static final short[] dfa_17 = DFA.unpackEncodedString(dfa_17s); static final short[] dfa_18 = DFA.unpackEncodedString(dfa_18s); - static final short[] dfa_19 = DFA.unpackEncodedString(dfa_19s); - static final short[][] dfa_20 = unpackEncodedStringArray(dfa_20s); + static final short[][] dfa_19 = unpackEncodedStringArray(dfa_19s); - class DFA29 extends DFA { + class DFA30 extends DFA { - public DFA29(BaseRecognizer recognizer) { + public DFA30(BaseRecognizer recognizer) { this.recognizer = recognizer; - this.decisionNumber = 29; - this.eot = dfa_14; - this.eof = dfa_15; - this.min = dfa_16; - this.max = dfa_17; - this.accept = dfa_18; - this.special = dfa_19; - this.transition = dfa_20; + this.decisionNumber = 30; + this.eot = dfa_13; + this.eof = dfa_14; + this.min = dfa_15; + this.max = dfa_16; + this.accept = dfa_17; + this.special = dfa_18; + this.transition = dfa_19; } public String getDescription() { - return "2415:2: (this_Reference_0= ruleReference | this_Call_1= ruleCall | this_Interval_2= ruleInterval | this_Literal_3= ruleLiteral | (otherlv_4= LeftParenthesis this_Expression_5= ruleExpression otherlv_6= RightParenthesis ) )"; - } - } - static final String dfa_21s = "\1\uffff\2\3\3\uffff\1\11\1\uffff\1\3\1\uffff"; - static final String dfa_22s = "\1\13\2\40\2\uffff\1\105\1\13\1\uffff\1\40\1\uffff"; - static final String dfa_23s = "\1\106\2\105\2\uffff\1\105\1\106\1\uffff\1\105\1\uffff"; - static final String dfa_24s = "\3\uffff\1\1\1\2\2\uffff\1\3\1\uffff\1\4"; - static final String[] dfa_25s = { - "\1\3\2\uffff\2\3\1\uffff\1\3\1\uffff\4\3\2\uffff\1\3\1\uffff\1\3\1\uffff\1\3\1\uffff\1\3\13\uffff\2\3\1\uffff\1\4\1\3\1\uffff\1\3\7\uffff\1\3\5\uffff\1\3\1\2\4\uffff\1\1\1\3", - "\1\3\3\uffff\2\3\1\uffff\2\3\1\uffff\1\3\1\uffff\2\3\1\6\3\3\1\5\1\3\2\uffff\1\3\1\uffff\2\3\1\uffff\2\3\3\uffff\1\7\1\uffff\2\3\1\uffff\1\7", - "\1\3\3\uffff\2\3\1\uffff\2\3\1\uffff\1\3\1\uffff\2\3\1\6\3\3\1\uffff\1\3\2\uffff\1\3\1\uffff\2\3\1\uffff\2\3\3\uffff\1\7\1\uffff\2\3\1\uffff\1\7", + return "2451:2: (this_AtomicExpression_0= ruleAtomicExpression | this_Aggregation_1= ruleAggregation | this_Count_2= ruleCount )"; + } + } + static final String dfa_20s = "\33\uffff"; + static final String dfa_21s = "\2\uffff\3\14\4\uffff\2\14\3\uffff\3\14\1\uffff\3\14\1\uffff\5\14"; + static final String dfa_22s = "\1\17\1\22\3\32\3\uffff\1\22\2\32\1\22\2\uffff\3\32\1\22\3\32\1\22\5\32"; + static final String dfa_23s = "\1\113\1\112\3\111\3\uffff\1\112\2\111\1\112\2\uffff\3\111\1\112\3\111\1\112\5\111"; + static final String dfa_24s = "\5\uffff\1\3\1\4\1\5\4\uffff\1\1\1\2\15\uffff"; + static final String dfa_25s = "\33\uffff}>"; + static final String[] dfa_26s = { + "\1\6\2\uffff\1\4\3\uffff\3\6\5\uffff\1\6\1\uffff\1\6\16\uffff\1\7\15\uffff\1\5\5\uffff\1\1\1\6\1\3\4\uffff\1\2\1\6", + "\1\4\62\uffff\1\3\4\uffff\1\2", + "\1\14\2\uffff\1\14\4\uffff\3\14\1\10\6\14\1\uffff\1\14\1\uffff\1\15\5\14\1\13\4\14\1\uffff\1\14\2\uffff\2\14\1\uffff\2\14\4\uffff\1\11\1\12\1\14", + "\1\14\2\uffff\1\14\4\uffff\3\14\1\10\6\14\1\uffff\1\14\1\uffff\1\15\5\14\1\13\4\14\1\uffff\1\14\2\uffff\2\14\1\uffff\2\14\4\uffff\1\11\1\12\1\14", + "\1\14\2\uffff\1\14\4\uffff\3\14\1\10\6\14\1\uffff\1\14\1\uffff\1\15\5\14\1\13\4\14\1\uffff\1\14\2\uffff\2\14\1\uffff\2\14\4\uffff\1\11\1\12\1\14", "", "", - "\1\10", - "\1\3\2\uffff\2\3\1\uffff\1\3\1\uffff\4\3\2\uffff\1\3\1\uffff\1\3\1\uffff\1\3\1\uffff\1\3\13\uffff\2\3\1\11\1\uffff\1\3\1\11\1\3\7\uffff\1\3\5\uffff\2\3\4\uffff\2\3", "", - "\1\3\3\uffff\2\3\1\uffff\2\3\1\uffff\1\3\1\uffff\2\3\1\6\3\3\1\5\1\3\2\uffff\1\3\1\uffff\2\3\1\uffff\2\3\3\uffff\1\7\1\uffff\2\3\1\uffff\1\7", - "" + "\1\20\62\uffff\1\17\4\uffff\1\16", + "\1\14\2\uffff\1\14\4\uffff\3\14\1\uffff\6\14\1\uffff\1\14\1\uffff\1\15\5\14\1\13\4\14\1\uffff\1\14\2\uffff\2\14\1\uffff\2\14\6\uffff\1\14", + "\1\14\2\uffff\1\14\4\uffff\3\14\1\uffff\6\14\1\uffff\1\14\1\uffff\1\15\5\14\1\13\4\14\1\uffff\1\14\2\uffff\2\14\1\uffff\2\14\6\uffff\1\14", + "\1\24\60\uffff\1\21\1\uffff\1\23\4\uffff\1\22", + "", + "", + "\1\14\2\uffff\1\14\4\uffff\3\14\1\10\6\14\1\uffff\1\14\1\uffff\1\15\5\14\1\13\4\14\1\uffff\1\14\2\uffff\2\14\1\uffff\2\14\4\uffff\1\11\1\12\1\14", + "\1\14\2\uffff\1\14\4\uffff\3\14\1\10\6\14\1\uffff\1\14\1\uffff\1\15\5\14\1\13\4\14\1\uffff\1\14\2\uffff\2\14\1\uffff\2\14\4\uffff\1\11\1\12\1\14", + "\1\14\2\uffff\1\14\4\uffff\3\14\1\10\6\14\1\uffff\1\14\1\uffff\1\15\5\14\1\13\4\14\1\uffff\1\14\2\uffff\2\14\1\uffff\2\14\4\uffff\1\11\1\12\1\14", + "\1\24\62\uffff\1\23\4\uffff\1\22", + "\1\14\2\uffff\1\14\4\uffff\3\14\1\25\6\14\1\uffff\1\14\1\uffff\1\15\5\14\1\13\4\14\1\uffff\1\14\2\uffff\2\14\1\uffff\2\14\4\uffff\1\26\1\27\1\14", + "\1\14\2\uffff\1\14\4\uffff\3\14\1\25\6\14\1\uffff\1\14\1\uffff\1\15\5\14\1\13\4\14\1\uffff\1\14\2\uffff\2\14\1\uffff\2\14\4\uffff\1\26\1\27\1\14", + "\1\14\2\uffff\1\14\4\uffff\3\14\1\25\6\14\1\uffff\1\14\1\uffff\1\15\5\14\1\13\4\14\1\uffff\1\14\2\uffff\2\14\1\uffff\2\14\4\uffff\1\26\1\27\1\14", + "\1\32\62\uffff\1\31\4\uffff\1\30", + "\1\14\2\uffff\1\14\4\uffff\3\14\1\uffff\6\14\1\uffff\1\14\1\uffff\1\15\5\14\1\13\4\14\1\uffff\1\14\2\uffff\2\14\1\uffff\2\14\6\uffff\1\14", + "\1\14\2\uffff\1\14\4\uffff\3\14\1\uffff\6\14\1\uffff\1\14\1\uffff\1\15\5\14\1\13\4\14\1\uffff\1\14\2\uffff\2\14\1\uffff\2\14\6\uffff\1\14", + "\1\14\2\uffff\1\14\4\uffff\3\14\1\25\6\14\1\uffff\1\14\1\uffff\1\15\5\14\1\13\4\14\1\uffff\1\14\2\uffff\2\14\1\uffff\2\14\4\uffff\1\26\1\27\1\14", + "\1\14\2\uffff\1\14\4\uffff\3\14\1\25\6\14\1\uffff\1\14\1\uffff\1\15\5\14\1\13\4\14\1\uffff\1\14\2\uffff\2\14\1\uffff\2\14\4\uffff\1\26\1\27\1\14", + "\1\14\2\uffff\1\14\4\uffff\3\14\1\25\6\14\1\uffff\1\14\1\uffff\1\15\5\14\1\13\4\14\1\uffff\1\14\2\uffff\2\14\1\uffff\2\14\4\uffff\1\26\1\27\1\14" }; + + static final short[] dfa_20 = DFA.unpackEncodedString(dfa_20s); static final short[] dfa_21 = DFA.unpackEncodedString(dfa_21s); static final char[] dfa_22 = DFA.unpackEncodedStringToUnsignedChars(dfa_22s); static final char[] dfa_23 = DFA.unpackEncodedStringToUnsignedChars(dfa_23s); static final short[] dfa_24 = DFA.unpackEncodedString(dfa_24s); - static final short[][] dfa_25 = unpackEncodedStringArray(dfa_25s); + static final short[] dfa_25 = DFA.unpackEncodedString(dfa_25s); + static final short[][] dfa_26 = unpackEncodedStringArray(dfa_26s); - class DFA33 extends DFA { + class DFA31 extends DFA { - public DFA33(BaseRecognizer recognizer) { + public DFA31(BaseRecognizer recognizer) { this.recognizer = recognizer; - this.decisionNumber = 33; - this.eot = dfa_14; + this.decisionNumber = 31; + this.eot = dfa_20; this.eof = dfa_21; this.min = dfa_22; this.max = dfa_23; this.accept = dfa_24; - this.special = dfa_19; - this.transition = dfa_25; + this.special = dfa_25; + this.transition = dfa_26; } public String getDescription() { - return "2664:2: (this_ExpressionArgument_0= ruleExpressionArgument | this_StarArgument_1= ruleStarArgument | this_TypedArgument_2= ruleTypedArgument | this_TypedStarArgument_3= ruleTypedStarArgument )"; + return "2631:2: (this_Reference_0= ruleReference | this_Call_1= ruleCall | this_Interval_2= ruleInterval | this_Literal_3= ruleLiteral | (otherlv_4= LeftParenthesis this_Expression_5= ruleExpression otherlv_6= RightParenthesis ) )"; } } - static final String dfa_26s = "\17\uffff"; - static final String dfa_27s = "\12\uffff\2\10\2\uffff\1\10"; - static final String dfa_28s = "\1\27\1\100\3\44\1\100\1\uffff\1\105\2\uffff\3\44\1\105\1\44"; - static final String dfa_29s = "\1\27\1\106\1\47\1\62\1\47\1\105\1\uffff\1\105\2\uffff\2\104\1\62\1\105\1\104"; - static final String dfa_30s = "\6\uffff\1\2\1\uffff\1\3\1\1\5\uffff"; - static final String dfa_31s = "\17\uffff}>"; - static final String[] dfa_32s = { - "\1\1", - "\1\4\4\uffff\1\3\1\2", - "\1\5\2\uffff\1\6", - "\1\6\1\11\1\uffff\1\10\12\uffff\1\7", - "\1\6\1\11\1\uffff\1\10", - "\1\13\4\uffff\1\12", + static final String dfa_27s = "\16\uffff"; + static final String dfa_28s = "\2\uffff\3\1\2\uffff\1\15\2\uffff\3\1\1\uffff"; + static final String dfa_29s = "\1\17\1\uffff\3\22\1\uffff\1\22\1\17\1\61\1\uffff\3\22\1\uffff"; + static final String dfa_30s = "\1\113\1\uffff\3\112\1\uffff\1\112\1\113\1\112\1\uffff\3\112\1\uffff"; + static final String dfa_31s = "\1\uffff\1\1\3\uffff\1\2\3\uffff\1\3\3\uffff\1\4"; + static final String dfa_32s = "\16\uffff}>"; + static final String[] dfa_33s = { + "\1\1\2\uffff\1\4\2\uffff\4\1\5\uffff\1\1\1\uffff\1\1\15\uffff\2\1\1\uffff\1\5\1\1\1\uffff\1\1\7\uffff\2\1\5\uffff\2\1\1\3\4\uffff\1\2\1\1", "", - "\1\14", + "\1\10\17\uffff\1\1\2\uffff\1\6\1\uffff\2\1\1\uffff\2\1\1\uffff\1\1\1\uffff\2\1\1\7\5\1\2\uffff\1\1\1\uffff\1\1\3\uffff\2\1\6\uffff\2\1\1\uffff\1\11", + "\1\10\17\uffff\1\1\2\uffff\1\6\1\uffff\2\1\1\uffff\2\1\1\uffff\1\1\1\uffff\2\1\1\7\5\1\2\uffff\1\1\1\uffff\1\1\3\uffff\2\1\6\uffff\2\1\1\uffff\1\11", + "\1\10\17\uffff\1\1\2\uffff\1\6\1\uffff\2\1\1\uffff\2\1\1\uffff\1\1\1\uffff\2\1\1\7\5\1\2\uffff\1\1\1\uffff\1\1\3\uffff\2\1\6\uffff\2\1\1\uffff\1\11", "", + "\1\14\62\uffff\1\13\4\uffff\1\12", + "\1\1\2\uffff\1\1\2\uffff\4\1\5\uffff\1\1\1\uffff\1\1\15\uffff\2\1\1\15\1\uffff\1\1\1\15\1\1\7\uffff\2\1\5\uffff\3\1\4\uffff\2\1", + "\1\15\30\uffff\1\11", "", - "\1\6\15\uffff\1\15\21\uffff\1\10", - "\1\6\37\uffff\1\10", - "\1\6\1\11\1\uffff\1\10\12\uffff\1\7", - "\1\16", - "\1\6\15\uffff\1\15\21\uffff\1\10" + "\1\10\17\uffff\1\1\2\uffff\1\6\1\uffff\2\1\1\uffff\2\1\1\uffff\1\1\1\uffff\2\1\1\7\5\1\2\uffff\1\1\1\uffff\1\1\3\uffff\2\1\6\uffff\2\1\1\uffff\1\11", + "\1\10\17\uffff\1\1\2\uffff\1\6\1\uffff\2\1\1\uffff\2\1\1\uffff\1\1\1\uffff\2\1\1\7\5\1\2\uffff\1\1\1\uffff\1\1\3\uffff\2\1\6\uffff\2\1\1\uffff\1\11", + "\1\10\17\uffff\1\1\2\uffff\1\6\1\uffff\2\1\1\uffff\2\1\1\uffff\1\1\1\uffff\2\1\1\7\5\1\2\uffff\1\1\1\uffff\1\1\3\uffff\2\1\6\uffff\2\1\1\uffff\1\11", + "" }; - static final short[] dfa_26 = DFA.unpackEncodedString(dfa_26s); static final short[] dfa_27 = DFA.unpackEncodedString(dfa_27s); - static final char[] dfa_28 = DFA.unpackEncodedStringToUnsignedChars(dfa_28s); + static final short[] dfa_28 = DFA.unpackEncodedString(dfa_28s); static final char[] dfa_29 = DFA.unpackEncodedStringToUnsignedChars(dfa_29s); - static final short[] dfa_30 = DFA.unpackEncodedString(dfa_30s); + static final char[] dfa_30 = DFA.unpackEncodedStringToUnsignedChars(dfa_30s); static final short[] dfa_31 = DFA.unpackEncodedString(dfa_31s); - static final short[][] dfa_32 = unpackEncodedStringArray(dfa_32s); + static final short[] dfa_32 = DFA.unpackEncodedString(dfa_32s); + static final short[][] dfa_33 = unpackEncodedStringArray(dfa_33s); + + class DFA34 extends DFA { + + public DFA34(BaseRecognizer recognizer) { + this.recognizer = recognizer; + this.decisionNumber = 34; + this.eot = dfa_27; + this.eof = dfa_28; + this.min = dfa_29; + this.max = dfa_30; + this.accept = dfa_31; + this.special = dfa_32; + this.transition = dfa_33; + } + public String getDescription() { + return "2841:2: (this_ExpressionArgument_0= ruleExpressionArgument | this_StarArgument_1= ruleStarArgument | this_TypedVariableArgument_2= ruleTypedVariableArgument | this_TypedStarArgument_3= ruleTypedStarArgument )"; + } + } + static final String dfa_34s = "\25\uffff"; + static final String dfa_35s = "\1\31\1\22\1\47\3\45\1\22\1\uffff\1\22\2\uffff\6\45\1\22\3\45"; + static final String dfa_36s = "\1\31\1\113\4\52\1\112\1\uffff\1\112\2\uffff\3\111\3\52\1\112\3\111"; + static final String dfa_37s = "\7\uffff\1\2\1\uffff\1\1\1\3\12\uffff"; + static final String dfa_38s = "\25\uffff}>"; + static final String[] dfa_39s = { + "\1\1", + "\1\5\62\uffff\1\4\4\uffff\1\3\1\2", + "\1\6\2\uffff\1\7", + "\1\10\1\uffff\1\7\1\11\1\uffff\1\12", + "\1\10\1\uffff\1\7\1\11\1\uffff\1\12", + "\1\10\1\uffff\1\7\1\11\1\uffff\1\12", + "\1\15\62\uffff\1\14\4\uffff\1\13", + "", + "\1\20\62\uffff\1\17\4\uffff\1\16", + "", + "", + "\1\21\1\uffff\1\7\41\uffff\1\12", + "\1\21\1\uffff\1\7\41\uffff\1\12", + "\1\21\1\uffff\1\7\41\uffff\1\12", + "\1\10\1\uffff\1\7\1\11\1\uffff\1\12", + "\1\10\1\uffff\1\7\1\11\1\uffff\1\12", + "\1\10\1\uffff\1\7\1\11\1\uffff\1\12", + "\1\24\62\uffff\1\23\4\uffff\1\22", + "\1\21\1\uffff\1\7\41\uffff\1\12", + "\1\21\1\uffff\1\7\41\uffff\1\12", + "\1\21\1\uffff\1\7\41\uffff\1\12" + }; + + static final short[] dfa_34 = DFA.unpackEncodedString(dfa_34s); + static final char[] dfa_35 = DFA.unpackEncodedStringToUnsignedChars(dfa_35s); + static final char[] dfa_36 = DFA.unpackEncodedStringToUnsignedChars(dfa_36s); + static final short[] dfa_37 = DFA.unpackEncodedString(dfa_37s); + static final short[] dfa_38 = DFA.unpackEncodedString(dfa_38s); + static final short[][] dfa_39 = unpackEncodedStringArray(dfa_39s); - class DFA44 extends DFA { + class DFA53 extends DFA { - public DFA44(BaseRecognizer recognizer) { + public DFA53(BaseRecognizer recognizer) { this.recognizer = recognizer; - this.decisionNumber = 44; - this.eot = dfa_26; - this.eof = dfa_27; - this.min = dfa_28; - this.max = dfa_29; - this.accept = dfa_30; - this.special = dfa_31; - this.transition = dfa_32; + this.decisionNumber = 53; + this.eot = dfa_34; + this.eof = dfa_34; + this.min = dfa_35; + this.max = dfa_36; + this.accept = dfa_37; + this.special = dfa_38; + this.transition = dfa_39; } public String getDescription() { - return "3639:2: (this_ExactScopeDefinition_0= ruleExactScopeDefinition | this_BoundedScopeDefinition_1= ruleBoundedScopeDefinition | this_LowerBoundedScopeDefinition_2= ruleLowerBoundedScopeDefinition )"; + return "4199:2: (this_ExactScope_0= ruleExactScope | this_BoundedScope_1= ruleBoundedScope | this_LowerBoundedScope_2= ruleLowerBoundedScope )"; } } 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[]{0x82029A00EAFFDB32L,0x0000000000000061L}); - public static final BitSet FOLLOW_4 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000010L}); - public static final BitSet FOLLOW_5 = new BitSet(new long[]{0x0090000800000002L}); - public static final BitSet FOLLOW_6 = new BitSet(new long[]{0x82029A00EA7AC800L,0x0000000000000061L}); - public static final BitSet FOLLOW_7 = new BitSet(new long[]{0x0000000000200000L,0x0000000000000021L}); - public static final BitSet FOLLOW_8 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000021L}); - public static final BitSet FOLLOW_9 = new BitSet(new long[]{0x0000000000000010L,0x0000000000000021L}); - public static final BitSet FOLLOW_10 = new BitSet(new long[]{0x0000000800000000L}); - public static final BitSet FOLLOW_11 = new BitSet(new long[]{0x0000100000000000L}); - public static final BitSet FOLLOW_12 = new BitSet(new long[]{0x0010000000000000L}); - public static final BitSet FOLLOW_13 = new BitSet(new long[]{0x0080000000000000L}); - public static final BitSet FOLLOW_14 = new BitSet(new long[]{0x1000000000000000L}); - public static final BitSet FOLLOW_15 = new BitSet(new long[]{0x0000000010000000L}); - public static final BitSet FOLLOW_16 = new BitSet(new long[]{0x4000000000000000L}); - public static final BitSet FOLLOW_17 = new BitSet(new long[]{0x0000000000000080L}); - public static final BitSet FOLLOW_18 = new BitSet(new long[]{0x0000000000002000L}); - public static final BitSet FOLLOW_19 = new BitSet(new long[]{0x0001000000000002L}); - public static final BitSet FOLLOW_20 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000020L}); - public static final BitSet FOLLOW_21 = new BitSet(new long[]{0x0000000004000000L}); - public static final BitSet FOLLOW_22 = new BitSet(new long[]{0x0000000001000000L}); - public static final BitSet FOLLOW_23 = new BitSet(new long[]{0x0001040000000000L}); - public static final BitSet FOLLOW_24 = new BitSet(new long[]{0x0000004000000002L}); - public static final BitSet FOLLOW_25 = new BitSet(new long[]{0x0020000200000002L}); - public static final BitSet FOLLOW_26 = new BitSet(new long[]{0x0020000000000002L}); - public static final BitSet FOLLOW_27 = new BitSet(new long[]{0x0000000200000000L}); - public static final BitSet FOLLOW_28 = new BitSet(new long[]{0x014004B100000002L}); - public static final BitSet FOLLOW_29 = new BitSet(new long[]{0x0002800000000002L}); - public static final BitSet FOLLOW_30 = new BitSet(new long[]{0x0008400000000002L}); - public static final BitSet FOLLOW_31 = new BitSet(new long[]{0x0800000000000002L}); - public static final BitSet FOLLOW_32 = new BitSet(new long[]{0x0000010000000002L}); - public static final BitSet FOLLOW_33 = new BitSet(new long[]{0x82001000287AC000L,0x0000000000000061L}); - public static final BitSet FOLLOW_34 = new BitSet(new long[]{0x0400000000000000L,0x0000000000000021L}); - public static final BitSet FOLLOW_35 = new BitSet(new long[]{0x0401000000000000L}); - public static final BitSet FOLLOW_36 = new BitSet(new long[]{0x1200000000000000L}); - public static final BitSet FOLLOW_37 = new BitSet(new long[]{0x6000000000000000L}); - public static final BitSet FOLLOW_38 = new BitSet(new long[]{0x0000200000000000L}); - public static final BitSet FOLLOW_39 = new BitSet(new long[]{0x0000100000000000L,0x000000000000000CL}); - public static final BitSet FOLLOW_40 = new BitSet(new long[]{0x8202FA00EA7AC800L,0x0000000000000061L}); - public static final BitSet FOLLOW_41 = new BitSet(new long[]{0x0001200000000000L}); - public static final BitSet FOLLOW_42 = new BitSet(new long[]{0x8202DA00EA7AC800L,0x0000000000000061L}); - public static final BitSet FOLLOW_43 = new BitSet(new long[]{0x0000400000000000L}); - public static final BitSet FOLLOW_44 = new BitSet(new long[]{0x0000000400000000L}); - public static final BitSet FOLLOW_45 = new BitSet(new long[]{0x0400000000000000L}); - public static final BitSet FOLLOW_46 = new BitSet(new long[]{0x0000000000040000L}); - public static final BitSet FOLLOW_47 = new BitSet(new long[]{0x1000000000002000L}); - public static final BitSet FOLLOW_48 = new BitSet(new long[]{0x1001000000000000L}); - public static final BitSet FOLLOW_49 = new BitSet(new long[]{0x4000000000000040L,0x0000000000000021L}); - public static final BitSet FOLLOW_50 = new BitSet(new long[]{0x0200000000000000L,0x0000000000000020L}); - public static final BitSet FOLLOW_51 = new BitSet(new long[]{0x0020000000000402L}); - public static final BitSet FOLLOW_52 = new BitSet(new long[]{0x0000400000000000L,0x0000000000000040L}); - public static final BitSet FOLLOW_53 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000040L}); - public static final BitSet FOLLOW_54 = new BitSet(new long[]{0x0000002000000000L}); - public static final BitSet FOLLOW_55 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000061L}); - public static final BitSet FOLLOW_56 = new BitSet(new long[]{0x0000001000000000L}); - public static final BitSet FOLLOW_57 = new BitSet(new long[]{0x0000008000000000L}); - public static final BitSet FOLLOW_58 = new BitSet(new long[]{0x0000008000000002L}); - public static final BitSet FOLLOW_59 = new BitSet(new long[]{0x0004000000000002L}); - -} \ No newline at end of file + public static final BitSet FOLLOW_3 = new BitSet(new long[]{0x0000000000040000L,0x0000000000000420L}); + public static final BitSet FOLLOW_4 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000200L}); + public static final BitSet FOLLOW_5 = new BitSet(new long[]{0x3014D0035BF79672L,0x0000000000000C38L}); + public static final BitSet FOLLOW_6 = new BitSet(new long[]{0x3014D0035BF59672L,0x0000000000000C38L}); + public static final BitSet FOLLOW_7 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000010L}); + public static final BitSet FOLLOW_8 = new BitSet(new long[]{0x0000080000000000L}); + public static final BitSet FOLLOW_9 = new BitSet(new long[]{0x0080005000000000L,0x0000000000000200L}); + public static final BitSet FOLLOW_10 = new BitSet(new long[]{0x3014D00341E48000L,0x0000000000000C38L}); + public static final BitSet FOLLOW_11 = new BitSet(new long[]{0x0000000000840000L,0x0000000000000428L}); + public static final BitSet FOLLOW_12 = new BitSet(new long[]{0x0000000000040000L,0x0000000000000428L}); + public static final BitSet FOLLOW_13 = new BitSet(new long[]{0x0000000000040020L,0x0000000000000428L}); + public static final BitSet FOLLOW_14 = new BitSet(new long[]{0x0000001000000000L}); + public static final BitSet FOLLOW_15 = new BitSet(new long[]{0x0000800000000000L}); + public static final BitSet FOLLOW_16 = new BitSet(new long[]{0x0080000000000000L,0x0000000000000200L}); + public static final BitSet FOLLOW_17 = new BitSet(new long[]{0x0000004000000000L}); + public static final BitSet FOLLOW_18 = new BitSet(new long[]{0x0000000000040002L}); + public static final BitSet FOLLOW_19 = new BitSet(new long[]{0x0000000000840020L,0x0000000000000420L}); + public static final BitSet FOLLOW_20 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000001L}); + public static final BitSet FOLLOW_21 = new BitSet(new long[]{0x0000000080000000L}); + public static final BitSet FOLLOW_22 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000004L}); + public static final BitSet FOLLOW_23 = new BitSet(new long[]{0x0000000000000100L}); + public static final BitSet FOLLOW_24 = new BitSet(new long[]{0x0000020000000002L}); + public static final BitSet FOLLOW_25 = new BitSet(new long[]{0x0000000020000000L}); + public static final BitSet FOLLOW_26 = new BitSet(new long[]{0x0000000004000000L}); + public static final BitSet FOLLOW_27 = new BitSet(new long[]{0x0008200000000000L}); + public static final BitSet FOLLOW_28 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000400L}); + public static final BitSet FOLLOW_29 = new BitSet(new long[]{0x0400000000000000L}); + public static final BitSet FOLLOW_30 = new BitSet(new long[]{0x0100000800000002L}); + public static final BitSet FOLLOW_31 = new BitSet(new long[]{0x0100000000000002L}); + public static final BitSet FOLLOW_32 = new BitSet(new long[]{0x0000000800000000L}); + public static final BitSet FOLLOW_33 = new BitSet(new long[]{0x0008000000000002L}); + public static final BitSet FOLLOW_34 = new BitSet(new long[]{0x0A00258400000002L}); + public static final BitSet FOLLOW_35 = new BitSet(new long[]{0x0014000000000002L}); + public static final BitSet FOLLOW_36 = new BitSet(new long[]{0x0042000000000002L}); + public static final BitSet FOLLOW_37 = new BitSet(new long[]{0x8000000000000002L}); + public static final BitSet FOLLOW_38 = new BitSet(new long[]{0x0000080000000002L}); + public static final BitSet FOLLOW_39 = new BitSet(new long[]{0x2000800141E48000L,0x0000000000000C38L}); + public static final BitSet FOLLOW_40 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000002L}); + public static final BitSet FOLLOW_41 = new BitSet(new long[]{0x0001000000000000L}); + public static final BitSet FOLLOW_42 = new BitSet(new long[]{0x3017D00341E48000L,0x0000000000000C38L}); + public static final BitSet FOLLOW_43 = new BitSet(new long[]{0x0009000000000000L}); + public static final BitSet FOLLOW_44 = new BitSet(new long[]{0x3016D00341E48000L,0x0000000000000C38L}); + public static final BitSet FOLLOW_45 = new BitSet(new long[]{0x0002000000000000L}); + public static final BitSet FOLLOW_46 = new BitSet(new long[]{0x0020000000000002L}); + public static final BitSet FOLLOW_47 = new BitSet(new long[]{0x0000000000000002L,0x0000000000000180L}); + public static final BitSet FOLLOW_48 = new BitSet(new long[]{0x0008000000000000L}); + public static final BitSet FOLLOW_49 = new BitSet(new long[]{0x4000000000000000L}); + public static final BitSet FOLLOW_50 = new BitSet(new long[]{0x0000000010100040L}); + public static final BitSet FOLLOW_51 = new BitSet(new long[]{0x0000000000002000L,0x0000000000000201L}); + public static final BitSet FOLLOW_52 = new BitSet(new long[]{0x0008000000000000L,0x0000000000000201L}); + public static final BitSet FOLLOW_53 = new BitSet(new long[]{0x00000000000C0080L,0x0000000000000424L}); + public static final BitSet FOLLOW_54 = new BitSet(new long[]{0x2000000000000000L,0x0000000000000400L}); + public static final BitSet FOLLOW_55 = new BitSet(new long[]{0x0100000000000802L}); + public static final BitSet FOLLOW_56 = new BitSet(new long[]{0x0002000000000000L,0x0000000000000800L}); + public static final BitSet FOLLOW_57 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000800L}); + public static final BitSet FOLLOW_58 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000201L}); + public static final BitSet FOLLOW_59 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000404L}); + public static final BitSet FOLLOW_60 = new BitSet(new long[]{0x0008000000000000L,0x0000000000000404L}); + public static final BitSet FOLLOW_61 = new BitSet(new long[]{0x0000010000000000L}); + public static final BitSet FOLLOW_62 = new BitSet(new long[]{0x0000000000040000L,0x0000000000000C20L}); + public static final BitSet FOLLOW_63 = new BitSet(new long[]{0x0000008000000000L}); + public static final BitSet FOLLOW_64 = new BitSet(new long[]{0x0000040000000000L}); + public static final BitSet FOLLOW_65 = new BitSet(new long[]{0x0000040000000000L,0x0000000000000200L}); + public static final BitSet FOLLOW_66 = new BitSet(new long[]{0x0020000000000000L}); + public static final BitSet FOLLOW_67 = new BitSet(new long[]{0x0000002000000002L}); + +} diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/parser/antlr/internal/InternalSolverLanguageParser.tokens b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/parser/antlr/internal/InternalSolverLanguageParser.tokens index 736b2f0a..591c0e60 100644 --- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/parser/antlr/internal/InternalSolverLanguageParser.tokens +++ b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/parser/antlr/internal/InternalSolverLanguageParser.tokens @@ -1,70 +1,75 @@ -'!'=43 -'!='=32 -'('=44 -')'=45 -'*'=46 -'+'=47 -','=48 -'-'=49 -'->'=33 -'.'=50 -'..'=34 -'...'=28 -'/'=51 -':'=52 -':-'=35 -';'=53 -'<'=54 -'<='=36 -'='=55 -'=='=37 -'=>'=38 -'>'=56 -'>='=39 -'['=57 -']'=58 -'^'=59 -'abstract'=5 -'as'=40 -'class'=18 -'contains'=6 -'count'=19 -'current'=11 -'datatype'=7 +'!'=46 +'!='=34 +'('=47 +')'=48 +'*'=49 +'+'=50 +','=51 +'-'=52 +'->'=35 +'.'=53 +'...'=31 +'/'=54 +':'=55 +':-'=36 +'::'=37 +':='=38 +';'=56 +'<'=57 +'<='=39 +'='=58 +'=='=40 +'=>'=41 +'>'=59 +'>='=42 +'?'=60 +'['=61 +']'=62 +'^'=63 +'abstract'=6 +'as'=43 +'class'=20 +'containment'=4 +'contains'=7 +'count'=21 +'datatype'=8 'default'=12 -'else'=24 -'empty'=20 -'error'=21 -'exists'=15 +'else'=26 +'empty'=22 +'enum'=27 +'error'=23 'extends'=13 'extern'=16 -'false'=22 -'forall'=17 -'functional'=4 -'if'=41 -'in'=42 -'inf'=29 -'let'=30 -'maximize'=8 -'may'=31 -'minimize'=9 -'must'=25 -'opposite'=10 -'scope'=23 -'then'=26 -'true'=27 -'unknown'=14 -'{'=60 -'|'=61 -'}'=62 -RULE_ANY_OTHER=73 -RULE_FULL_STOP=68 -RULE_ID=69 -RULE_INT=70 -RULE_ML_COMMENT=71 -RULE_QUOTED_ID=64 -RULE_REFLEXIVE_TRANSITIVE_CLOSURE=67 -RULE_SL_COMMENT=65 -RULE_STRING=63 -RULE_TRANSITIVE_CLOSURE=66 -RULE_WS=72 +'false'=24 +'functional'=5 +'if'=44 +'import'=17 +'in'=45 +'inf'=32 +'let'=33 +'maximize'=9 +'minimize'=10 +'object'=18 +'opposite'=11 +'problem'=14 +'refers'=19 +'root'=28 +'scope'=25 +'then'=29 +'true'=30 +'unknown'=15 +'{'=64 +'|'=65 +'}'=66 +'~'=67 +RULE_ANY_OTHER=78 +RULE_FULL_STOP=73 +RULE_ID=74 +RULE_INT=75 +RULE_ML_COMMENT=76 +RULE_QUOTED_ID=69 +RULE_REFLEXIVE_TRANSITIVE_CLOSURE=72 +RULE_SL_COMMENT=70 +RULE_STRING=68 +RULE_TRANSITIVE_CLOSURE=71 +RULE_WS=77 diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/parser/antlr/lexer/InternalSolverLanguageLexer.g b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/parser/antlr/lexer/InternalSolverLanguageLexer.g index 3c496e8a..074932ca 100644 --- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/parser/antlr/lexer/InternalSolverLanguageLexer.g +++ b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/parser/antlr/lexer/InternalSolverLanguageLexer.g @@ -11,6 +11,8 @@ package org.eclipse.viatra.solver.language.parser.antlr.lexer; import org.eclipse.xtext.parser.antlr.Lexer; } +Containment : 'containment'; + Functional : 'functional'; Abstract : 'abstract'; @@ -25,19 +27,21 @@ Minimize : 'minimize'; Opposite : 'opposite'; -Current : 'current'; - Default : 'default'; Extends : 'extends'; -Unknown : 'unknown'; +Problem : 'problem'; -Exists : 'exists'; +Unknown : 'unknown'; Extern : 'extern'; -Forall : 'forall'; +Import : 'import'; + +Object : 'object'; + +Refers : 'refers'; Class : 'class'; @@ -53,7 +57,9 @@ Scope : 'scope'; Else : 'else'; -Must : 'must'; +Enum : 'enum'; + +Root : 'root'; Then : 'then'; @@ -65,16 +71,16 @@ Inf : 'inf'; Let : 'let'; -May : 'may'; - ExclamationMarkEqualsSign : '!='; HyphenMinusGreaterThanSign : '->'; -FullStopFullStop : '..'; - ColonHyphenMinus : ':-'; +ColonColon : '::'; + +ColonEqualsSign : ':='; + LessThanSignEqualsSign : '<='; EqualsSignEqualsSign : '=='; @@ -117,6 +123,8 @@ EqualsSign : '='; GreaterThanSign : '>'; +QuestionMark : '?'; + LeftSquareBracket : '['; RightSquareBracket : ']'; @@ -129,6 +137,8 @@ VerticalLine : '|'; RightCurlyBracket : '}'; +Tilde : '~'; + RULE_STRING : '"' ('\\' .|~(('\\'|'"')))* '"'; RULE_QUOTED_ID : '\'' ('\\' .|~(('\\'|'\'')))* '\''; diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/parser/antlr/lexer/InternalSolverLanguageLexer.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/parser/antlr/lexer/InternalSolverLanguageLexer.java index b113baaf..4281bac0 100644 --- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/parser/antlr/lexer/InternalSolverLanguageLexer.java +++ b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/parser/antlr/lexer/InternalSolverLanguageLexer.java @@ -12,77 +12,82 @@ import java.util.ArrayList; @SuppressWarnings("all") public class InternalSolverLanguageLexer extends Lexer { - public static final int EqualsSignGreaterThanSign=38; - public static final int True=27; - public static final int Count=19; - public static final int False=22; - public static final int Must=25; - public static final int FullStopFullStopFullStop=28; - public static final int LessThanSign=54; - public static final int Datatype=7; - public static final int LeftParenthesis=44; - public static final int Unknown=14; - public static final int RULE_REFLEXIVE_TRANSITIVE_CLOSURE=67; - public static final int FullStopFullStop=34; - public static final int Then=26; + public static final int Enum=27; + public static final int Import=17; + public static final int EqualsSignGreaterThanSign=41; + public static final int True=30; + public static final int Count=21; + public static final int False=24; + public static final int FullStopFullStopFullStop=31; + public static final int LessThanSign=57; + public static final int Datatype=8; + public static final int LeftParenthesis=47; + public static final int Unknown=15; + public static final int RULE_REFLEXIVE_TRANSITIVE_CLOSURE=72; + public static final int Then=29; public static final int Extends=13; - public static final int Forall=17; - public static final int RightSquareBracket=58; - public static final int ExclamationMark=43; - public static final int Opposite=10; - public static final int GreaterThanSign=56; - public static final int RULE_ID=69; - public static final int RULE_QUOTED_ID=64; - public static final int RightParenthesis=45; - public static final int GreaterThanSignEqualsSign=39; - public static final int Functional=4; - public static final int EqualsSignEqualsSign=37; - public static final int VerticalLine=61; - public static final int PlusSign=47; - public static final int RULE_INT=70; - public static final int Contains=6; - public static final int RULE_ML_COMMENT=71; - public static final int RULE_TRANSITIVE_CLOSURE=66; - public static final int Class=18; - public static final int LeftSquareBracket=57; - public static final int RULE_FULL_STOP=68; - public static final int Current=11; - public static final int If=41; - public static final int Inf=29; - public static final int May=31; - public static final int In=42; - public static final int RULE_STRING=63; + public static final int RightSquareBracket=62; + public static final int ExclamationMark=46; + public static final int Opposite=11; + public static final int GreaterThanSign=59; + public static final int Root=28; + public static final int RULE_ID=74; + public static final int RULE_QUOTED_ID=69; + public static final int RightParenthesis=48; + public static final int ColonEqualsSign=38; + public static final int GreaterThanSignEqualsSign=42; + public static final int Functional=5; + public static final int ColonColon=37; + public static final int EqualsSignEqualsSign=40; + public static final int VerticalLine=65; + public static final int PlusSign=50; + public static final int RULE_INT=75; + public static final int Contains=7; + public static final int RULE_ML_COMMENT=76; + public static final int RULE_TRANSITIVE_CLOSURE=71; + public static final int Problem=14; + public static final int Object=18; + public static final int Class=20; + public static final int LeftSquareBracket=61; + public static final int RULE_FULL_STOP=73; + public static final int If=44; + public static final int Refers=19; + public static final int Inf=32; + public static final int In=45; + public static final int RULE_STRING=68; public static final int Extern=16; - public static final int RULE_SL_COMMENT=65; - public static final int Comma=48; - public static final int EqualsSign=55; - public static final int Empty=20; - public static final int As=40; - public static final int HyphenMinus=49; - public static final int Maximize=8; - public static final int LessThanSignEqualsSign=36; - public static final int Solidus=51; - public static final int Colon=52; - public static final int RightCurlyBracket=62; + public static final int RULE_SL_COMMENT=70; + public static final int Comma=51; + public static final int EqualsSign=58; + public static final int Empty=22; + public static final int As=43; + public static final int HyphenMinus=52; + public static final int Maximize=9; + public static final int LessThanSignEqualsSign=39; + public static final int Solidus=54; + public static final int Colon=55; + public static final int RightCurlyBracket=66; public static final int EOF=-1; - public static final int Asterisk=46; - public static final int FullStop=50; - public static final int RULE_WS=72; - public static final int Abstract=5; - public static final int Minimize=9; - public static final int LeftCurlyBracket=60; - public static final int Error=21; - public static final int RULE_ANY_OTHER=73; + public static final int Asterisk=49; + public static final int Containment=4; + public static final int FullStop=53; + public static final int RULE_WS=77; + public static final int Abstract=6; + public static final int Minimize=10; + public static final int LeftCurlyBracket=64; + public static final int Error=23; + public static final int Tilde=67; + public static final int RULE_ANY_OTHER=78; public static final int Default=12; - public static final int ColonHyphenMinus=35; - public static final int CircumflexAccent=59; - public static final int Semicolon=53; - public static final int Scope=23; - public static final int Exists=15; - public static final int Else=24; - public static final int Let=30; - public static final int ExclamationMarkEqualsSign=32; - public static final int HyphenMinusGreaterThanSign=33; + public static final int ColonHyphenMinus=36; + public static final int CircumflexAccent=63; + public static final int Semicolon=56; + public static final int Scope=25; + public static final int QuestionMark=60; + public static final int Else=26; + public static final int Let=33; + public static final int ExclamationMarkEqualsSign=34; + public static final int HyphenMinusGreaterThanSign=35; // delegates // delegators @@ -97,13 +102,34 @@ public class InternalSolverLanguageLexer extends Lexer { } public String getGrammarFileName() { return "InternalSolverLanguageLexer.g"; } + // $ANTLR start "Containment" + public final void mContainment() throws RecognitionException { + try { + int _type = Containment; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalSolverLanguageLexer.g:14:13: ( 'containment' ) + // InternalSolverLanguageLexer.g:14:15: 'containment' + { + match("containment"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "Containment" + // $ANTLR start "Functional" public final void mFunctional() throws RecognitionException { try { int _type = Functional; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:14:12: ( 'functional' ) - // InternalSolverLanguageLexer.g:14:14: 'functional' + // InternalSolverLanguageLexer.g:16:12: ( 'functional' ) + // InternalSolverLanguageLexer.g:16:14: 'functional' { match("functional"); @@ -123,8 +149,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = Abstract; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:16:10: ( 'abstract' ) - // InternalSolverLanguageLexer.g:16:12: 'abstract' + // InternalSolverLanguageLexer.g:18:10: ( 'abstract' ) + // InternalSolverLanguageLexer.g:18:12: 'abstract' { match("abstract"); @@ -144,8 +170,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = Contains; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:18:10: ( 'contains' ) - // InternalSolverLanguageLexer.g:18:12: 'contains' + // InternalSolverLanguageLexer.g:20:10: ( 'contains' ) + // InternalSolverLanguageLexer.g:20:12: 'contains' { match("contains"); @@ -165,8 +191,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = Datatype; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:20:10: ( 'datatype' ) - // InternalSolverLanguageLexer.g:20:12: 'datatype' + // InternalSolverLanguageLexer.g:22:10: ( 'datatype' ) + // InternalSolverLanguageLexer.g:22:12: 'datatype' { match("datatype"); @@ -186,8 +212,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = Maximize; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:22:10: ( 'maximize' ) - // InternalSolverLanguageLexer.g:22:12: 'maximize' + // InternalSolverLanguageLexer.g:24:10: ( 'maximize' ) + // InternalSolverLanguageLexer.g:24:12: 'maximize' { match("maximize"); @@ -207,8 +233,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = Minimize; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:24:10: ( 'minimize' ) - // InternalSolverLanguageLexer.g:24:12: 'minimize' + // InternalSolverLanguageLexer.g:26:10: ( 'minimize' ) + // InternalSolverLanguageLexer.g:26:12: 'minimize' { match("minimize"); @@ -228,8 +254,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = Opposite; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:26:10: ( 'opposite' ) - // InternalSolverLanguageLexer.g:26:12: 'opposite' + // InternalSolverLanguageLexer.g:28:10: ( 'opposite' ) + // InternalSolverLanguageLexer.g:28:12: 'opposite' { match("opposite"); @@ -244,27 +270,6 @@ public class InternalSolverLanguageLexer extends Lexer { } // $ANTLR end "Opposite" - // $ANTLR start "Current" - public final void mCurrent() throws RecognitionException { - try { - int _type = Current; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:28:9: ( 'current' ) - // InternalSolverLanguageLexer.g:28:11: 'current' - { - match("current"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "Current" - // $ANTLR start "Default" public final void mDefault() throws RecognitionException { try { @@ -307,15 +312,15 @@ public class InternalSolverLanguageLexer extends Lexer { } // $ANTLR end "Extends" - // $ANTLR start "Unknown" - public final void mUnknown() throws RecognitionException { + // $ANTLR start "Problem" + public final void mProblem() throws RecognitionException { try { - int _type = Unknown; + int _type = Problem; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:34:9: ( 'unknown' ) - // InternalSolverLanguageLexer.g:34:11: 'unknown' + // InternalSolverLanguageLexer.g:34:9: ( 'problem' ) + // InternalSolverLanguageLexer.g:34:11: 'problem' { - match("unknown"); + match("problem"); } @@ -326,17 +331,17 @@ public class InternalSolverLanguageLexer extends Lexer { finally { } } - // $ANTLR end "Unknown" + // $ANTLR end "Problem" - // $ANTLR start "Exists" - public final void mExists() throws RecognitionException { + // $ANTLR start "Unknown" + public final void mUnknown() throws RecognitionException { try { - int _type = Exists; + int _type = Unknown; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:36:8: ( 'exists' ) - // InternalSolverLanguageLexer.g:36:10: 'exists' + // InternalSolverLanguageLexer.g:36:9: ( 'unknown' ) + // InternalSolverLanguageLexer.g:36:11: 'unknown' { - match("exists"); + match("unknown"); } @@ -347,7 +352,7 @@ public class InternalSolverLanguageLexer extends Lexer { finally { } } - // $ANTLR end "Exists" + // $ANTLR end "Unknown" // $ANTLR start "Extern" public final void mExtern() throws RecognitionException { @@ -370,15 +375,15 @@ public class InternalSolverLanguageLexer extends Lexer { } // $ANTLR end "Extern" - // $ANTLR start "Forall" - public final void mForall() throws RecognitionException { + // $ANTLR start "Import" + public final void mImport() throws RecognitionException { try { - int _type = Forall; + int _type = Import; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:40:8: ( 'forall' ) - // InternalSolverLanguageLexer.g:40:10: 'forall' + // InternalSolverLanguageLexer.g:40:8: ( 'import' ) + // InternalSolverLanguageLexer.g:40:10: 'import' { - match("forall"); + match("import"); } @@ -389,15 +394,57 @@ public class InternalSolverLanguageLexer extends Lexer { finally { } } - // $ANTLR end "Forall" + // $ANTLR end "Import" + + // $ANTLR start "Object" + public final void mObject() throws RecognitionException { + try { + int _type = Object; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalSolverLanguageLexer.g:42:8: ( 'object' ) + // InternalSolverLanguageLexer.g:42:10: 'object' + { + match("object"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "Object" + + // $ANTLR start "Refers" + public final void mRefers() throws RecognitionException { + try { + int _type = Refers; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalSolverLanguageLexer.g:44:8: ( 'refers' ) + // InternalSolverLanguageLexer.g:44:10: 'refers' + { + match("refers"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "Refers" // $ANTLR start "Class" public final void mClass() throws RecognitionException { try { int _type = Class; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:42:7: ( 'class' ) - // InternalSolverLanguageLexer.g:42:9: 'class' + // InternalSolverLanguageLexer.g:46:7: ( 'class' ) + // InternalSolverLanguageLexer.g:46:9: 'class' { match("class"); @@ -417,8 +464,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = Count; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:44:7: ( 'count' ) - // InternalSolverLanguageLexer.g:44:9: 'count' + // InternalSolverLanguageLexer.g:48:7: ( 'count' ) + // InternalSolverLanguageLexer.g:48:9: 'count' { match("count"); @@ -438,8 +485,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = Empty; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:46:7: ( 'empty' ) - // InternalSolverLanguageLexer.g:46:9: 'empty' + // InternalSolverLanguageLexer.g:50:7: ( 'empty' ) + // InternalSolverLanguageLexer.g:50:9: 'empty' { match("empty"); @@ -459,8 +506,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = Error; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:48:7: ( 'error' ) - // InternalSolverLanguageLexer.g:48:9: 'error' + // InternalSolverLanguageLexer.g:52:7: ( 'error' ) + // InternalSolverLanguageLexer.g:52:9: 'error' { match("error"); @@ -480,8 +527,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = False; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:50:7: ( 'false' ) - // InternalSolverLanguageLexer.g:50:9: 'false' + // InternalSolverLanguageLexer.g:54:7: ( 'false' ) + // InternalSolverLanguageLexer.g:54:9: 'false' { match("false"); @@ -501,8 +548,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = Scope; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:52:7: ( 'scope' ) - // InternalSolverLanguageLexer.g:52:9: 'scope' + // InternalSolverLanguageLexer.g:56:7: ( 'scope' ) + // InternalSolverLanguageLexer.g:56:9: 'scope' { match("scope"); @@ -522,8 +569,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = Else; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:54:6: ( 'else' ) - // InternalSolverLanguageLexer.g:54:8: 'else' + // InternalSolverLanguageLexer.g:58:6: ( 'else' ) + // InternalSolverLanguageLexer.g:58:8: 'else' { match("else"); @@ -538,15 +585,15 @@ public class InternalSolverLanguageLexer extends Lexer { } // $ANTLR end "Else" - // $ANTLR start "Must" - public final void mMust() throws RecognitionException { + // $ANTLR start "Enum" + public final void mEnum() throws RecognitionException { try { - int _type = Must; + int _type = Enum; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:56:6: ( 'must' ) - // InternalSolverLanguageLexer.g:56:8: 'must' + // InternalSolverLanguageLexer.g:60:6: ( 'enum' ) + // InternalSolverLanguageLexer.g:60:8: 'enum' { - match("must"); + match("enum"); } @@ -557,15 +604,36 @@ public class InternalSolverLanguageLexer extends Lexer { finally { } } - // $ANTLR end "Must" + // $ANTLR end "Enum" + + // $ANTLR start "Root" + public final void mRoot() throws RecognitionException { + try { + int _type = Root; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalSolverLanguageLexer.g:62:6: ( 'root' ) + // InternalSolverLanguageLexer.g:62:8: 'root' + { + match("root"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "Root" // $ANTLR start "Then" public final void mThen() throws RecognitionException { try { int _type = Then; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:58:6: ( 'then' ) - // InternalSolverLanguageLexer.g:58:8: 'then' + // InternalSolverLanguageLexer.g:64:6: ( 'then' ) + // InternalSolverLanguageLexer.g:64:8: 'then' { match("then"); @@ -585,8 +653,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = True; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:60:6: ( 'true' ) - // InternalSolverLanguageLexer.g:60:8: 'true' + // InternalSolverLanguageLexer.g:66:6: ( 'true' ) + // InternalSolverLanguageLexer.g:66:8: 'true' { match("true"); @@ -606,8 +674,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = FullStopFullStopFullStop; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:62:26: ( '...' ) - // InternalSolverLanguageLexer.g:62:28: '...' + // InternalSolverLanguageLexer.g:68:26: ( '...' ) + // InternalSolverLanguageLexer.g:68:28: '...' { match("..."); @@ -627,8 +695,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = Inf; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:64:5: ( 'inf' ) - // InternalSolverLanguageLexer.g:64:7: 'inf' + // InternalSolverLanguageLexer.g:70:5: ( 'inf' ) + // InternalSolverLanguageLexer.g:70:7: 'inf' { match("inf"); @@ -648,8 +716,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = Let; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:66:5: ( 'let' ) - // InternalSolverLanguageLexer.g:66:7: 'let' + // InternalSolverLanguageLexer.g:72:5: ( 'let' ) + // InternalSolverLanguageLexer.g:72:7: 'let' { match("let"); @@ -664,15 +732,15 @@ public class InternalSolverLanguageLexer extends Lexer { } // $ANTLR end "Let" - // $ANTLR start "May" - public final void mMay() throws RecognitionException { + // $ANTLR start "ExclamationMarkEqualsSign" + public final void mExclamationMarkEqualsSign() throws RecognitionException { try { - int _type = May; + int _type = ExclamationMarkEqualsSign; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:68:5: ( 'may' ) - // InternalSolverLanguageLexer.g:68:7: 'may' + // InternalSolverLanguageLexer.g:74:27: ( '!=' ) + // InternalSolverLanguageLexer.g:74:29: '!=' { - match("may"); + match("!="); } @@ -683,17 +751,17 @@ public class InternalSolverLanguageLexer extends Lexer { finally { } } - // $ANTLR end "May" + // $ANTLR end "ExclamationMarkEqualsSign" - // $ANTLR start "ExclamationMarkEqualsSign" - public final void mExclamationMarkEqualsSign() throws RecognitionException { + // $ANTLR start "HyphenMinusGreaterThanSign" + public final void mHyphenMinusGreaterThanSign() throws RecognitionException { try { - int _type = ExclamationMarkEqualsSign; + int _type = HyphenMinusGreaterThanSign; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:70:27: ( '!=' ) - // InternalSolverLanguageLexer.g:70:29: '!=' + // InternalSolverLanguageLexer.g:76:28: ( '->' ) + // InternalSolverLanguageLexer.g:76:30: '->' { - match("!="); + match("->"); } @@ -704,17 +772,17 @@ public class InternalSolverLanguageLexer extends Lexer { finally { } } - // $ANTLR end "ExclamationMarkEqualsSign" + // $ANTLR end "HyphenMinusGreaterThanSign" - // $ANTLR start "HyphenMinusGreaterThanSign" - public final void mHyphenMinusGreaterThanSign() throws RecognitionException { + // $ANTLR start "ColonHyphenMinus" + public final void mColonHyphenMinus() throws RecognitionException { try { - int _type = HyphenMinusGreaterThanSign; + int _type = ColonHyphenMinus; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:72:28: ( '->' ) - // InternalSolverLanguageLexer.g:72:30: '->' + // InternalSolverLanguageLexer.g:78:18: ( ':-' ) + // InternalSolverLanguageLexer.g:78:20: ':-' { - match("->"); + match(":-"); } @@ -725,17 +793,17 @@ public class InternalSolverLanguageLexer extends Lexer { finally { } } - // $ANTLR end "HyphenMinusGreaterThanSign" + // $ANTLR end "ColonHyphenMinus" - // $ANTLR start "FullStopFullStop" - public final void mFullStopFullStop() throws RecognitionException { + // $ANTLR start "ColonColon" + public final void mColonColon() throws RecognitionException { try { - int _type = FullStopFullStop; + int _type = ColonColon; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:74:18: ( '..' ) - // InternalSolverLanguageLexer.g:74:20: '..' + // InternalSolverLanguageLexer.g:80:12: ( '::' ) + // InternalSolverLanguageLexer.g:80:14: '::' { - match(".."); + match("::"); } @@ -746,17 +814,17 @@ public class InternalSolverLanguageLexer extends Lexer { finally { } } - // $ANTLR end "FullStopFullStop" + // $ANTLR end "ColonColon" - // $ANTLR start "ColonHyphenMinus" - public final void mColonHyphenMinus() throws RecognitionException { + // $ANTLR start "ColonEqualsSign" + public final void mColonEqualsSign() throws RecognitionException { try { - int _type = ColonHyphenMinus; + int _type = ColonEqualsSign; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:76:18: ( ':-' ) - // InternalSolverLanguageLexer.g:76:20: ':-' + // InternalSolverLanguageLexer.g:82:17: ( ':=' ) + // InternalSolverLanguageLexer.g:82:19: ':=' { - match(":-"); + match(":="); } @@ -767,15 +835,15 @@ public class InternalSolverLanguageLexer extends Lexer { finally { } } - // $ANTLR end "ColonHyphenMinus" + // $ANTLR end "ColonEqualsSign" // $ANTLR start "LessThanSignEqualsSign" public final void mLessThanSignEqualsSign() throws RecognitionException { try { int _type = LessThanSignEqualsSign; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:78:24: ( '<=' ) - // InternalSolverLanguageLexer.g:78:26: '<=' + // InternalSolverLanguageLexer.g:84:24: ( '<=' ) + // InternalSolverLanguageLexer.g:84:26: '<=' { match("<="); @@ -795,8 +863,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = EqualsSignEqualsSign; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:80:22: ( '==' ) - // InternalSolverLanguageLexer.g:80:24: '==' + // InternalSolverLanguageLexer.g:86:22: ( '==' ) + // InternalSolverLanguageLexer.g:86:24: '==' { match("=="); @@ -816,8 +884,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = EqualsSignGreaterThanSign; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:82:27: ( '=>' ) - // InternalSolverLanguageLexer.g:82:29: '=>' + // InternalSolverLanguageLexer.g:88:27: ( '=>' ) + // InternalSolverLanguageLexer.g:88:29: '=>' { match("=>"); @@ -837,8 +905,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = GreaterThanSignEqualsSign; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:84:27: ( '>=' ) - // InternalSolverLanguageLexer.g:84:29: '>=' + // InternalSolverLanguageLexer.g:90:27: ( '>=' ) + // InternalSolverLanguageLexer.g:90:29: '>=' { match(">="); @@ -858,8 +926,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = As; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:86:4: ( 'as' ) - // InternalSolverLanguageLexer.g:86:6: 'as' + // InternalSolverLanguageLexer.g:92:4: ( 'as' ) + // InternalSolverLanguageLexer.g:92:6: 'as' { match("as"); @@ -879,8 +947,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = If; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:88:4: ( 'if' ) - // InternalSolverLanguageLexer.g:88:6: 'if' + // InternalSolverLanguageLexer.g:94:4: ( 'if' ) + // InternalSolverLanguageLexer.g:94:6: 'if' { match("if"); @@ -900,8 +968,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = In; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:90:4: ( 'in' ) - // InternalSolverLanguageLexer.g:90:6: 'in' + // InternalSolverLanguageLexer.g:96:4: ( 'in' ) + // InternalSolverLanguageLexer.g:96:6: 'in' { match("in"); @@ -921,8 +989,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = ExclamationMark; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:92:17: ( '!' ) - // InternalSolverLanguageLexer.g:92:19: '!' + // InternalSolverLanguageLexer.g:98:17: ( '!' ) + // InternalSolverLanguageLexer.g:98:19: '!' { match('!'); @@ -941,8 +1009,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = LeftParenthesis; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:94:17: ( '(' ) - // InternalSolverLanguageLexer.g:94:19: '(' + // InternalSolverLanguageLexer.g:100:17: ( '(' ) + // InternalSolverLanguageLexer.g:100:19: '(' { match('('); @@ -961,8 +1029,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = RightParenthesis; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:96:18: ( ')' ) - // InternalSolverLanguageLexer.g:96:20: ')' + // InternalSolverLanguageLexer.g:102:18: ( ')' ) + // InternalSolverLanguageLexer.g:102:20: ')' { match(')'); @@ -981,8 +1049,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = Asterisk; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:98:10: ( '*' ) - // InternalSolverLanguageLexer.g:98:12: '*' + // InternalSolverLanguageLexer.g:104:10: ( '*' ) + // InternalSolverLanguageLexer.g:104:12: '*' { match('*'); @@ -1001,8 +1069,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = PlusSign; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:100:10: ( '+' ) - // InternalSolverLanguageLexer.g:100:12: '+' + // InternalSolverLanguageLexer.g:106:10: ( '+' ) + // InternalSolverLanguageLexer.g:106:12: '+' { match('+'); @@ -1021,8 +1089,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = Comma; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:102:7: ( ',' ) - // InternalSolverLanguageLexer.g:102:9: ',' + // InternalSolverLanguageLexer.g:108:7: ( ',' ) + // InternalSolverLanguageLexer.g:108:9: ',' { match(','); @@ -1041,8 +1109,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = HyphenMinus; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:104:13: ( '-' ) - // InternalSolverLanguageLexer.g:104:15: '-' + // InternalSolverLanguageLexer.g:110:13: ( '-' ) + // InternalSolverLanguageLexer.g:110:15: '-' { match('-'); @@ -1061,8 +1129,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = FullStop; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:106:10: ( '.' ) - // InternalSolverLanguageLexer.g:106:12: '.' + // InternalSolverLanguageLexer.g:112:10: ( '.' ) + // InternalSolverLanguageLexer.g:112:12: '.' { match('.'); @@ -1081,8 +1149,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = Solidus; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:108:9: ( '/' ) - // InternalSolverLanguageLexer.g:108:11: '/' + // InternalSolverLanguageLexer.g:114:9: ( '/' ) + // InternalSolverLanguageLexer.g:114:11: '/' { match('/'); @@ -1101,8 +1169,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = Colon; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:110:7: ( ':' ) - // InternalSolverLanguageLexer.g:110:9: ':' + // InternalSolverLanguageLexer.g:116:7: ( ':' ) + // InternalSolverLanguageLexer.g:116:9: ':' { match(':'); @@ -1121,8 +1189,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = Semicolon; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:112:11: ( ';' ) - // InternalSolverLanguageLexer.g:112:13: ';' + // InternalSolverLanguageLexer.g:118:11: ( ';' ) + // InternalSolverLanguageLexer.g:118:13: ';' { match(';'); @@ -1141,8 +1209,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = LessThanSign; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:114:14: ( '<' ) - // InternalSolverLanguageLexer.g:114:16: '<' + // InternalSolverLanguageLexer.g:120:14: ( '<' ) + // InternalSolverLanguageLexer.g:120:16: '<' { match('<'); @@ -1161,8 +1229,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = EqualsSign; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:116:12: ( '=' ) - // InternalSolverLanguageLexer.g:116:14: '=' + // InternalSolverLanguageLexer.g:122:12: ( '=' ) + // InternalSolverLanguageLexer.g:122:14: '=' { match('='); @@ -1181,8 +1249,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = GreaterThanSign; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:118:17: ( '>' ) - // InternalSolverLanguageLexer.g:118:19: '>' + // InternalSolverLanguageLexer.g:124:17: ( '>' ) + // InternalSolverLanguageLexer.g:124:19: '>' { match('>'); @@ -1196,13 +1264,33 @@ public class InternalSolverLanguageLexer extends Lexer { } // $ANTLR end "GreaterThanSign" + // $ANTLR start "QuestionMark" + public final void mQuestionMark() throws RecognitionException { + try { + int _type = QuestionMark; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalSolverLanguageLexer.g:126:14: ( '?' ) + // InternalSolverLanguageLexer.g:126:16: '?' + { + match('?'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "QuestionMark" + // $ANTLR start "LeftSquareBracket" public final void mLeftSquareBracket() throws RecognitionException { try { int _type = LeftSquareBracket; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:120:19: ( '[' ) - // InternalSolverLanguageLexer.g:120:21: '[' + // InternalSolverLanguageLexer.g:128:19: ( '[' ) + // InternalSolverLanguageLexer.g:128:21: '[' { match('['); @@ -1221,8 +1309,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = RightSquareBracket; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:122:20: ( ']' ) - // InternalSolverLanguageLexer.g:122:22: ']' + // InternalSolverLanguageLexer.g:130:20: ( ']' ) + // InternalSolverLanguageLexer.g:130:22: ']' { match(']'); @@ -1241,8 +1329,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = CircumflexAccent; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:124:18: ( '^' ) - // InternalSolverLanguageLexer.g:124:20: '^' + // InternalSolverLanguageLexer.g:132:18: ( '^' ) + // InternalSolverLanguageLexer.g:132:20: '^' { match('^'); @@ -1261,8 +1349,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = LeftCurlyBracket; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:126:18: ( '{' ) - // InternalSolverLanguageLexer.g:126:20: '{' + // InternalSolverLanguageLexer.g:134:18: ( '{' ) + // InternalSolverLanguageLexer.g:134:20: '{' { match('{'); @@ -1281,8 +1369,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = VerticalLine; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:128:14: ( '|' ) - // InternalSolverLanguageLexer.g:128:16: '|' + // InternalSolverLanguageLexer.g:136:14: ( '|' ) + // InternalSolverLanguageLexer.g:136:16: '|' { match('|'); @@ -1301,8 +1389,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = RightCurlyBracket; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:130:19: ( '}' ) - // InternalSolverLanguageLexer.g:130:21: '}' + // InternalSolverLanguageLexer.g:138:19: ( '}' ) + // InternalSolverLanguageLexer.g:138:21: '}' { match('}'); @@ -1316,16 +1404,36 @@ public class InternalSolverLanguageLexer extends Lexer { } // $ANTLR end "RightCurlyBracket" + // $ANTLR start "Tilde" + public final void mTilde() throws RecognitionException { + try { + int _type = Tilde; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalSolverLanguageLexer.g:140:7: ( '~' ) + // InternalSolverLanguageLexer.g:140:9: '~' + { + match('~'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "Tilde" + // $ANTLR start "RULE_STRING" public final void mRULE_STRING() throws RecognitionException { try { int _type = RULE_STRING; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:132:13: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' ) - // InternalSolverLanguageLexer.g:132:15: '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' + // InternalSolverLanguageLexer.g:142:13: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' ) + // InternalSolverLanguageLexer.g:142:15: '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' { match('\"'); - // InternalSolverLanguageLexer.g:132:19: ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* + // InternalSolverLanguageLexer.g:142:19: ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* loop1: do { int alt1=3; @@ -1341,7 +1449,7 @@ public class InternalSolverLanguageLexer extends Lexer { switch (alt1) { case 1 : - // InternalSolverLanguageLexer.g:132:20: '\\\\' . + // InternalSolverLanguageLexer.g:142:20: '\\\\' . { match('\\'); matchAny(); @@ -1349,7 +1457,7 @@ public class InternalSolverLanguageLexer extends Lexer { } break; case 2 : - // InternalSolverLanguageLexer.g:132:27: ~ ( ( '\\\\' | '\"' ) ) + // InternalSolverLanguageLexer.g:142:27: ~ ( ( '\\\\' | '\"' ) ) { if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { input.consume(); @@ -1386,11 +1494,11 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = RULE_QUOTED_ID; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:134:16: ( '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) - // InternalSolverLanguageLexer.g:134:18: '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' + // InternalSolverLanguageLexer.g:144:16: ( '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) + // InternalSolverLanguageLexer.g:144:18: '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' { match('\''); - // InternalSolverLanguageLexer.g:134:23: ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* + // InternalSolverLanguageLexer.g:144:23: ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* loop2: do { int alt2=3; @@ -1406,7 +1514,7 @@ public class InternalSolverLanguageLexer extends Lexer { switch (alt2) { case 1 : - // InternalSolverLanguageLexer.g:134:24: '\\\\' . + // InternalSolverLanguageLexer.g:144:24: '\\\\' . { match('\\'); matchAny(); @@ -1414,7 +1522,7 @@ public class InternalSolverLanguageLexer extends Lexer { } break; case 2 : - // InternalSolverLanguageLexer.g:134:31: ~ ( ( '\\\\' | '\\'' ) ) + // InternalSolverLanguageLexer.g:144:31: ~ ( ( '\\\\' | '\\'' ) ) { if ( (input.LA(1)>='\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { input.consume(); @@ -1451,10 +1559,10 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = RULE_SL_COMMENT; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:136:17: ( ( '%' | '//' ) (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? ) - // InternalSolverLanguageLexer.g:136:19: ( '%' | '//' ) (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? + // InternalSolverLanguageLexer.g:146:17: ( ( '%' | '//' ) (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? ) + // InternalSolverLanguageLexer.g:146:19: ( '%' | '//' ) (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? { - // InternalSolverLanguageLexer.g:136:19: ( '%' | '//' ) + // InternalSolverLanguageLexer.g:146:19: ( '%' | '//' ) int alt3=2; int LA3_0 = input.LA(1); @@ -1472,14 +1580,14 @@ public class InternalSolverLanguageLexer extends Lexer { } switch (alt3) { case 1 : - // InternalSolverLanguageLexer.g:136:20: '%' + // InternalSolverLanguageLexer.g:146:20: '%' { match('%'); } break; case 2 : - // InternalSolverLanguageLexer.g:136:24: '//' + // InternalSolverLanguageLexer.g:146:24: '//' { match("//"); @@ -1489,7 +1597,7 @@ public class InternalSolverLanguageLexer extends Lexer { } - // InternalSolverLanguageLexer.g:136:30: (~ ( ( '\\n' | '\\r' ) ) )* + // InternalSolverLanguageLexer.g:146:30: (~ ( ( '\\n' | '\\r' ) ) )* loop4: do { int alt4=2; @@ -1502,7 +1610,7 @@ public class InternalSolverLanguageLexer extends Lexer { switch (alt4) { case 1 : - // InternalSolverLanguageLexer.g:136:30: ~ ( ( '\\n' | '\\r' ) ) + // InternalSolverLanguageLexer.g:146:30: ~ ( ( '\\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(); @@ -1522,7 +1630,7 @@ public class InternalSolverLanguageLexer extends Lexer { } } while (true); - // InternalSolverLanguageLexer.g:136:46: ( ( '\\r' )? '\\n' )? + // InternalSolverLanguageLexer.g:146:46: ( ( '\\r' )? '\\n' )? int alt6=2; int LA6_0 = input.LA(1); @@ -1531,9 +1639,9 @@ public class InternalSolverLanguageLexer extends Lexer { } switch (alt6) { case 1 : - // InternalSolverLanguageLexer.g:136:47: ( '\\r' )? '\\n' + // InternalSolverLanguageLexer.g:146:47: ( '\\r' )? '\\n' { - // InternalSolverLanguageLexer.g:136:47: ( '\\r' )? + // InternalSolverLanguageLexer.g:146:47: ( '\\r' )? int alt5=2; int LA5_0 = input.LA(1); @@ -1542,7 +1650,7 @@ public class InternalSolverLanguageLexer extends Lexer { } switch (alt5) { case 1 : - // InternalSolverLanguageLexer.g:136:47: '\\r' + // InternalSolverLanguageLexer.g:146:47: '\\r' { match('\r'); @@ -1572,8 +1680,8 @@ public class InternalSolverLanguageLexer extends Lexer { // $ANTLR start "RULE_TRANSITIVE_CLOSURE" public final void mRULE_TRANSITIVE_CLOSURE() throws RecognitionException { try { - // InternalSolverLanguageLexer.g:138:34: () - // InternalSolverLanguageLexer.g:138:36: + // InternalSolverLanguageLexer.g:148:34: () + // InternalSolverLanguageLexer.g:148:36: { } @@ -1586,8 +1694,8 @@ public class InternalSolverLanguageLexer extends Lexer { // $ANTLR start "RULE_REFLEXIVE_TRANSITIVE_CLOSURE" public final void mRULE_REFLEXIVE_TRANSITIVE_CLOSURE() throws RecognitionException { try { - // InternalSolverLanguageLexer.g:140:44: () - // InternalSolverLanguageLexer.g:140:46: + // InternalSolverLanguageLexer.g:150:44: () + // InternalSolverLanguageLexer.g:150:46: { } @@ -1600,8 +1708,8 @@ public class InternalSolverLanguageLexer extends Lexer { // $ANTLR start "RULE_FULL_STOP" public final void mRULE_FULL_STOP() throws RecognitionException { try { - // InternalSolverLanguageLexer.g:142:25: () - // InternalSolverLanguageLexer.g:142:27: + // InternalSolverLanguageLexer.g:152:25: () + // InternalSolverLanguageLexer.g:152:27: { } @@ -1616,10 +1724,10 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = RULE_ID; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:144:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* ) - // InternalSolverLanguageLexer.g:144:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* + // InternalSolverLanguageLexer.g:154:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* ) + // InternalSolverLanguageLexer.g:154:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* { - // InternalSolverLanguageLexer.g:144:11: ( '^' )? + // InternalSolverLanguageLexer.g:154:11: ( '^' )? int alt7=2; int LA7_0 = input.LA(1); @@ -1628,7 +1736,7 @@ public class InternalSolverLanguageLexer extends Lexer { } switch (alt7) { case 1 : - // InternalSolverLanguageLexer.g:144:11: '^' + // InternalSolverLanguageLexer.g:154:11: '^' { match('^'); @@ -1646,7 +1754,7 @@ public class InternalSolverLanguageLexer extends Lexer { recover(mse); throw mse;} - // InternalSolverLanguageLexer.g:144:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* + // InternalSolverLanguageLexer.g:154:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* loop8: do { int alt8=2; @@ -1695,10 +1803,10 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = RULE_INT; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:146:10: ( ( '0' .. '9' )+ ) - // InternalSolverLanguageLexer.g:146:12: ( '0' .. '9' )+ + // InternalSolverLanguageLexer.g:156:10: ( ( '0' .. '9' )+ ) + // InternalSolverLanguageLexer.g:156:12: ( '0' .. '9' )+ { - // InternalSolverLanguageLexer.g:146:12: ( '0' .. '9' )+ + // InternalSolverLanguageLexer.g:156:12: ( '0' .. '9' )+ int cnt9=0; loop9: do { @@ -1712,7 +1820,7 @@ public class InternalSolverLanguageLexer extends Lexer { switch (alt9) { case 1 : - // InternalSolverLanguageLexer.g:146:13: '0' .. '9' + // InternalSolverLanguageLexer.g:156:13: '0' .. '9' { matchRange('0','9'); @@ -1744,12 +1852,12 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = RULE_ML_COMMENT; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:148:17: ( '/*' ( options {greedy=false; } : . )* '*/' ) - // InternalSolverLanguageLexer.g:148:19: '/*' ( options {greedy=false; } : . )* '*/' + // InternalSolverLanguageLexer.g:158:17: ( '/*' ( options {greedy=false; } : . )* '*/' ) + // InternalSolverLanguageLexer.g:158:19: '/*' ( options {greedy=false; } : . )* '*/' { match("/*"); - // InternalSolverLanguageLexer.g:148:24: ( options {greedy=false; } : . )* + // InternalSolverLanguageLexer.g:158:24: ( options {greedy=false; } : . )* loop10: do { int alt10=2; @@ -1774,7 +1882,7 @@ public class InternalSolverLanguageLexer extends Lexer { switch (alt10) { case 1 : - // InternalSolverLanguageLexer.g:148:52: . + // InternalSolverLanguageLexer.g:158:52: . { matchAny(); @@ -1804,10 +1912,10 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = RULE_WS; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:150:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ ) - // InternalSolverLanguageLexer.g:150:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ + // InternalSolverLanguageLexer.g:160:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ ) + // InternalSolverLanguageLexer.g:160:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ { - // InternalSolverLanguageLexer.g:150:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ + // InternalSolverLanguageLexer.g:160:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ int cnt11=0; loop11: do { @@ -1861,8 +1969,8 @@ public class InternalSolverLanguageLexer extends Lexer { try { int _type = RULE_ANY_OTHER; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSolverLanguageLexer.g:152:16: ( . ) - // InternalSolverLanguageLexer.g:152:18: . + // InternalSolverLanguageLexer.g:162:16: ( . ) + // InternalSolverLanguageLexer.g:162:18: . { matchAny(); @@ -1877,474 +1985,509 @@ public class InternalSolverLanguageLexer extends Lexer { // $ANTLR end "RULE_ANY_OTHER" public void mTokens() throws RecognitionException { - // InternalSolverLanguageLexer.g:1:8: ( Functional | Abstract | Contains | Datatype | Maximize | Minimize | Opposite | Current | Default | Extends | Unknown | Exists | Extern | Forall | Class | Count | Empty | Error | False | Scope | Else | Must | Then | True | FullStopFullStopFullStop | Inf | Let | May | ExclamationMarkEqualsSign | HyphenMinusGreaterThanSign | FullStopFullStop | ColonHyphenMinus | LessThanSignEqualsSign | EqualsSignEqualsSign | EqualsSignGreaterThanSign | GreaterThanSignEqualsSign | As | If | In | ExclamationMark | LeftParenthesis | RightParenthesis | Asterisk | PlusSign | Comma | HyphenMinus | FullStop | Solidus | Colon | Semicolon | LessThanSign | EqualsSign | GreaterThanSign | LeftSquareBracket | RightSquareBracket | CircumflexAccent | LeftCurlyBracket | VerticalLine | RightCurlyBracket | RULE_STRING | RULE_QUOTED_ID | RULE_SL_COMMENT | RULE_ID | RULE_INT | RULE_ML_COMMENT | RULE_WS | RULE_ANY_OTHER ) - int alt12=67; + // InternalSolverLanguageLexer.g:1:8: ( Containment | Functional | Abstract | Contains | Datatype | Maximize | Minimize | Opposite | Default | Extends | Problem | Unknown | Extern | Import | Object | Refers | Class | Count | Empty | Error | False | Scope | Else | Enum | Root | Then | True | FullStopFullStopFullStop | Inf | Let | ExclamationMarkEqualsSign | HyphenMinusGreaterThanSign | ColonHyphenMinus | ColonColon | ColonEqualsSign | LessThanSignEqualsSign | EqualsSignEqualsSign | EqualsSignGreaterThanSign | GreaterThanSignEqualsSign | As | If | In | ExclamationMark | LeftParenthesis | RightParenthesis | Asterisk | PlusSign | Comma | HyphenMinus | FullStop | Solidus | Colon | Semicolon | LessThanSign | EqualsSign | GreaterThanSign | QuestionMark | LeftSquareBracket | RightSquareBracket | CircumflexAccent | LeftCurlyBracket | VerticalLine | RightCurlyBracket | Tilde | RULE_STRING | RULE_QUOTED_ID | RULE_SL_COMMENT | RULE_ID | RULE_INT | RULE_ML_COMMENT | RULE_WS | RULE_ANY_OTHER ) + int alt12=72; alt12 = dfa12.predict(input); switch (alt12) { case 1 : - // InternalSolverLanguageLexer.g:1:10: Functional + // InternalSolverLanguageLexer.g:1:10: Containment { - mFunctional(); + mContainment(); } break; case 2 : - // InternalSolverLanguageLexer.g:1:21: Abstract + // InternalSolverLanguageLexer.g:1:22: Functional { - mAbstract(); + mFunctional(); } break; case 3 : - // InternalSolverLanguageLexer.g:1:30: Contains + // InternalSolverLanguageLexer.g:1:33: Abstract { - mContains(); + mAbstract(); } break; case 4 : - // InternalSolverLanguageLexer.g:1:39: Datatype + // InternalSolverLanguageLexer.g:1:42: Contains { - mDatatype(); + mContains(); } break; case 5 : - // InternalSolverLanguageLexer.g:1:48: Maximize + // InternalSolverLanguageLexer.g:1:51: Datatype { - mMaximize(); + mDatatype(); } break; case 6 : - // InternalSolverLanguageLexer.g:1:57: Minimize + // InternalSolverLanguageLexer.g:1:60: Maximize { - mMinimize(); + mMaximize(); } break; case 7 : - // InternalSolverLanguageLexer.g:1:66: Opposite + // InternalSolverLanguageLexer.g:1:69: Minimize { - mOpposite(); + mMinimize(); } break; case 8 : - // InternalSolverLanguageLexer.g:1:75: Current + // InternalSolverLanguageLexer.g:1:78: Opposite { - mCurrent(); + mOpposite(); } break; case 9 : - // InternalSolverLanguageLexer.g:1:83: Default + // InternalSolverLanguageLexer.g:1:87: Default { mDefault(); } break; case 10 : - // InternalSolverLanguageLexer.g:1:91: Extends + // InternalSolverLanguageLexer.g:1:95: Extends { mExtends(); } break; case 11 : - // InternalSolverLanguageLexer.g:1:99: Unknown + // InternalSolverLanguageLexer.g:1:103: Problem { - mUnknown(); + mProblem(); } break; case 12 : - // InternalSolverLanguageLexer.g:1:107: Exists + // InternalSolverLanguageLexer.g:1:111: Unknown { - mExists(); + mUnknown(); } break; case 13 : - // InternalSolverLanguageLexer.g:1:114: Extern + // InternalSolverLanguageLexer.g:1:119: Extern { mExtern(); } break; case 14 : - // InternalSolverLanguageLexer.g:1:121: Forall + // InternalSolverLanguageLexer.g:1:126: Import { - mForall(); + mImport(); } break; case 15 : - // InternalSolverLanguageLexer.g:1:128: Class + // InternalSolverLanguageLexer.g:1:133: Object { - mClass(); + mObject(); } break; case 16 : - // InternalSolverLanguageLexer.g:1:134: Count + // InternalSolverLanguageLexer.g:1:140: Refers { - mCount(); + mRefers(); } break; case 17 : - // InternalSolverLanguageLexer.g:1:140: Empty + // InternalSolverLanguageLexer.g:1:147: Class { - mEmpty(); + mClass(); } break; case 18 : - // InternalSolverLanguageLexer.g:1:146: Error + // InternalSolverLanguageLexer.g:1:153: Count { - mError(); + mCount(); } break; case 19 : - // InternalSolverLanguageLexer.g:1:152: False + // InternalSolverLanguageLexer.g:1:159: Empty { - mFalse(); + mEmpty(); } break; case 20 : - // InternalSolverLanguageLexer.g:1:158: Scope + // InternalSolverLanguageLexer.g:1:165: Error { - mScope(); + mError(); } break; case 21 : - // InternalSolverLanguageLexer.g:1:164: Else + // InternalSolverLanguageLexer.g:1:171: False { - mElse(); + mFalse(); } break; case 22 : - // InternalSolverLanguageLexer.g:1:169: Must + // InternalSolverLanguageLexer.g:1:177: Scope { - mMust(); + mScope(); } break; case 23 : - // InternalSolverLanguageLexer.g:1:174: Then + // InternalSolverLanguageLexer.g:1:183: Else { - mThen(); + mElse(); } break; case 24 : - // InternalSolverLanguageLexer.g:1:179: True + // InternalSolverLanguageLexer.g:1:188: Enum { - mTrue(); + mEnum(); } break; case 25 : - // InternalSolverLanguageLexer.g:1:184: FullStopFullStopFullStop + // InternalSolverLanguageLexer.g:1:193: Root { - mFullStopFullStopFullStop(); + mRoot(); } break; case 26 : - // InternalSolverLanguageLexer.g:1:209: Inf + // InternalSolverLanguageLexer.g:1:198: Then { - mInf(); + mThen(); } break; case 27 : - // InternalSolverLanguageLexer.g:1:213: Let + // InternalSolverLanguageLexer.g:1:203: True { - mLet(); + mTrue(); } break; case 28 : - // InternalSolverLanguageLexer.g:1:217: May + // InternalSolverLanguageLexer.g:1:208: FullStopFullStopFullStop { - mMay(); + mFullStopFullStopFullStop(); } break; case 29 : - // InternalSolverLanguageLexer.g:1:221: ExclamationMarkEqualsSign + // InternalSolverLanguageLexer.g:1:233: Inf { - mExclamationMarkEqualsSign(); + mInf(); } break; case 30 : - // InternalSolverLanguageLexer.g:1:247: HyphenMinusGreaterThanSign + // InternalSolverLanguageLexer.g:1:237: Let { - mHyphenMinusGreaterThanSign(); + mLet(); } break; case 31 : - // InternalSolverLanguageLexer.g:1:274: FullStopFullStop + // InternalSolverLanguageLexer.g:1:241: ExclamationMarkEqualsSign { - mFullStopFullStop(); + mExclamationMarkEqualsSign(); } break; case 32 : - // InternalSolverLanguageLexer.g:1:291: ColonHyphenMinus + // InternalSolverLanguageLexer.g:1:267: HyphenMinusGreaterThanSign { - mColonHyphenMinus(); + mHyphenMinusGreaterThanSign(); } break; case 33 : - // InternalSolverLanguageLexer.g:1:308: LessThanSignEqualsSign + // InternalSolverLanguageLexer.g:1:294: ColonHyphenMinus { - mLessThanSignEqualsSign(); + mColonHyphenMinus(); } break; case 34 : - // InternalSolverLanguageLexer.g:1:331: EqualsSignEqualsSign + // InternalSolverLanguageLexer.g:1:311: ColonColon { - mEqualsSignEqualsSign(); + mColonColon(); } break; case 35 : - // InternalSolverLanguageLexer.g:1:352: EqualsSignGreaterThanSign + // InternalSolverLanguageLexer.g:1:322: ColonEqualsSign { - mEqualsSignGreaterThanSign(); + mColonEqualsSign(); } break; case 36 : - // InternalSolverLanguageLexer.g:1:378: GreaterThanSignEqualsSign + // InternalSolverLanguageLexer.g:1:338: LessThanSignEqualsSign { - mGreaterThanSignEqualsSign(); + mLessThanSignEqualsSign(); } break; case 37 : - // InternalSolverLanguageLexer.g:1:404: As + // InternalSolverLanguageLexer.g:1:361: EqualsSignEqualsSign { - mAs(); + mEqualsSignEqualsSign(); } break; case 38 : - // InternalSolverLanguageLexer.g:1:407: If + // InternalSolverLanguageLexer.g:1:382: EqualsSignGreaterThanSign { - mIf(); + mEqualsSignGreaterThanSign(); } break; case 39 : - // InternalSolverLanguageLexer.g:1:410: In + // InternalSolverLanguageLexer.g:1:408: GreaterThanSignEqualsSign { - mIn(); + mGreaterThanSignEqualsSign(); } break; case 40 : - // InternalSolverLanguageLexer.g:1:413: ExclamationMark + // InternalSolverLanguageLexer.g:1:434: As { - mExclamationMark(); + mAs(); } break; case 41 : - // InternalSolverLanguageLexer.g:1:429: LeftParenthesis + // InternalSolverLanguageLexer.g:1:437: If { - mLeftParenthesis(); + mIf(); } break; case 42 : - // InternalSolverLanguageLexer.g:1:445: RightParenthesis + // InternalSolverLanguageLexer.g:1:440: In { - mRightParenthesis(); + mIn(); } break; case 43 : - // InternalSolverLanguageLexer.g:1:462: Asterisk + // InternalSolverLanguageLexer.g:1:443: ExclamationMark { - mAsterisk(); + mExclamationMark(); } break; case 44 : - // InternalSolverLanguageLexer.g:1:471: PlusSign + // InternalSolverLanguageLexer.g:1:459: LeftParenthesis { - mPlusSign(); + mLeftParenthesis(); } break; case 45 : - // InternalSolverLanguageLexer.g:1:480: Comma + // InternalSolverLanguageLexer.g:1:475: RightParenthesis { - mComma(); + mRightParenthesis(); } break; case 46 : - // InternalSolverLanguageLexer.g:1:486: HyphenMinus + // InternalSolverLanguageLexer.g:1:492: Asterisk { - mHyphenMinus(); + mAsterisk(); } break; case 47 : - // InternalSolverLanguageLexer.g:1:498: FullStop + // InternalSolverLanguageLexer.g:1:501: PlusSign { - mFullStop(); + mPlusSign(); } break; case 48 : - // InternalSolverLanguageLexer.g:1:507: Solidus + // InternalSolverLanguageLexer.g:1:510: Comma { - mSolidus(); + mComma(); } break; case 49 : - // InternalSolverLanguageLexer.g:1:515: Colon + // InternalSolverLanguageLexer.g:1:516: HyphenMinus { - mColon(); + mHyphenMinus(); } break; case 50 : - // InternalSolverLanguageLexer.g:1:521: Semicolon + // InternalSolverLanguageLexer.g:1:528: FullStop { - mSemicolon(); + mFullStop(); } break; case 51 : - // InternalSolverLanguageLexer.g:1:531: LessThanSign + // InternalSolverLanguageLexer.g:1:537: Solidus { - mLessThanSign(); + mSolidus(); } break; case 52 : - // InternalSolverLanguageLexer.g:1:544: EqualsSign + // InternalSolverLanguageLexer.g:1:545: Colon { - mEqualsSign(); + mColon(); } break; case 53 : - // InternalSolverLanguageLexer.g:1:555: GreaterThanSign + // InternalSolverLanguageLexer.g:1:551: Semicolon { - mGreaterThanSign(); + mSemicolon(); } break; case 54 : - // InternalSolverLanguageLexer.g:1:571: LeftSquareBracket + // InternalSolverLanguageLexer.g:1:561: LessThanSign { - mLeftSquareBracket(); + mLessThanSign(); } break; case 55 : - // InternalSolverLanguageLexer.g:1:589: RightSquareBracket + // InternalSolverLanguageLexer.g:1:574: EqualsSign { - mRightSquareBracket(); + mEqualsSign(); } break; case 56 : - // InternalSolverLanguageLexer.g:1:608: CircumflexAccent + // InternalSolverLanguageLexer.g:1:585: GreaterThanSign { - mCircumflexAccent(); + mGreaterThanSign(); } break; case 57 : - // InternalSolverLanguageLexer.g:1:625: LeftCurlyBracket + // InternalSolverLanguageLexer.g:1:601: QuestionMark { - mLeftCurlyBracket(); + mQuestionMark(); } break; case 58 : - // InternalSolverLanguageLexer.g:1:642: VerticalLine + // InternalSolverLanguageLexer.g:1:614: LeftSquareBracket { - mVerticalLine(); + mLeftSquareBracket(); } break; case 59 : - // InternalSolverLanguageLexer.g:1:655: RightCurlyBracket + // InternalSolverLanguageLexer.g:1:632: RightSquareBracket { - mRightCurlyBracket(); + mRightSquareBracket(); } break; case 60 : - // InternalSolverLanguageLexer.g:1:673: RULE_STRING + // InternalSolverLanguageLexer.g:1:651: CircumflexAccent { - mRULE_STRING(); + mCircumflexAccent(); } break; case 61 : - // InternalSolverLanguageLexer.g:1:685: RULE_QUOTED_ID + // InternalSolverLanguageLexer.g:1:668: LeftCurlyBracket { - mRULE_QUOTED_ID(); + mLeftCurlyBracket(); } break; case 62 : - // InternalSolverLanguageLexer.g:1:700: RULE_SL_COMMENT + // InternalSolverLanguageLexer.g:1:685: VerticalLine { - mRULE_SL_COMMENT(); + mVerticalLine(); } break; case 63 : - // InternalSolverLanguageLexer.g:1:716: RULE_ID + // InternalSolverLanguageLexer.g:1:698: RightCurlyBracket { - mRULE_ID(); + mRightCurlyBracket(); } break; case 64 : - // InternalSolverLanguageLexer.g:1:724: RULE_INT + // InternalSolverLanguageLexer.g:1:716: Tilde { - mRULE_INT(); + mTilde(); } break; case 65 : - // InternalSolverLanguageLexer.g:1:733: RULE_ML_COMMENT + // InternalSolverLanguageLexer.g:1:722: RULE_STRING { - mRULE_ML_COMMENT(); + mRULE_STRING(); } break; case 66 : - // InternalSolverLanguageLexer.g:1:749: RULE_WS + // InternalSolverLanguageLexer.g:1:734: RULE_QUOTED_ID { - mRULE_WS(); + mRULE_QUOTED_ID(); } break; case 67 : - // InternalSolverLanguageLexer.g:1:757: RULE_ANY_OTHER + // InternalSolverLanguageLexer.g:1:749: RULE_SL_COMMENT + { + mRULE_SL_COMMENT(); + + } + break; + case 68 : + // InternalSolverLanguageLexer.g:1:765: RULE_ID + { + mRULE_ID(); + + } + break; + case 69 : + // InternalSolverLanguageLexer.g:1:773: RULE_INT + { + mRULE_INT(); + + } + break; + case 70 : + // InternalSolverLanguageLexer.g:1:782: RULE_ML_COMMENT + { + mRULE_ML_COMMENT(); + + } + break; + case 71 : + // InternalSolverLanguageLexer.g:1:798: RULE_WS + { + mRULE_WS(); + + } + break; + case 72 : + // InternalSolverLanguageLexer.g:1:806: RULE_ANY_OTHER { mRULE_ANY_OTHER(); @@ -2358,74 +2501,69 @@ public class InternalSolverLanguageLexer extends Lexer { protected DFA12 dfa12 = new DFA12(this); static final String DFA12_eotS = - "\1\uffff\12\53\1\100\2\53\1\105\1\107\1\111\1\113\1\116\1\120\5\uffff\1\130\3\uffff\1\134\3\uffff\2\47\5\uffff\3\53\1\uffff\1\53\1\150\21\53\1\176\1\uffff\1\u0080\1\u0081\1\53\40\uffff\4\53\1\uffff\7\53\1\u008e\14\53\2\uffff\1\u009b\2\uffff\1\u009c\13\53\1\uffff\1\53\1\u00a9\5\53\1\u00b0\2\53\1\u00b3\1\u00b4\2\uffff\2\53\1\u00b7\2\53\1\u00ba\1\53\1\u00bc\4\53\1\uffff\4\53\1\u00c5\1\u00c6\1\uffff\1\53\1\u00c8\2\uffff\1\53\1\u00ca\1\uffff\2\53\1\uffff\1\53\1\uffff\6\53\1\u00d4\1\u00d5\2\uffff\1\53\1\uffff\1\53\1\uffff\2\53\1\u00da\1\53\1\u00dc\3\53\1\u00e0\2\uffff\1\u00e1\1\53\1\u00e3\1\u00e4\1\uffff\1\u00e5\1\uffff\1\u00e6\1\u00e7\1\u00e8\2\uffff\1\53\6\uffff\1\u00ea\1\uffff"; + "\1\uffff\15\56\1\111\1\56\1\114\1\116\1\122\1\124\1\127\1\131\5\uffff\1\141\4\uffff\1\146\4\uffff\2\53\5\uffff\2\56\1\uffff\3\56\1\165\16\56\1\u0085\1\u0086\5\56\2\uffff\1\56\44\uffff\6\56\1\uffff\16\56\1\u00a1\2\uffff\5\56\1\u00a7\17\56\1\u00b8\1\u00b9\3\56\1\uffff\1\56\1\u00be\1\56\1\u00c0\1\u00c1\1\uffff\1\56\1\u00c3\1\u00c4\1\56\1\u00c6\11\56\1\u00d0\1\u00d1\2\uffff\4\56\1\uffff\1\u00d6\2\uffff\1\56\2\uffff\1\56\1\uffff\6\56\1\u00df\1\56\1\u00e1\2\uffff\2\56\1\u00e4\1\u00e5\1\uffff\4\56\1\u00eb\3\56\1\uffff\1\u00ef\1\uffff\1\u00f0\1\u00f1\2\uffff\1\56\1\u00f3\1\56\1\u00f5\1\u00f6\1\uffff\1\u00f7\1\u00f8\1\u00f9\3\uffff\1\56\1\uffff\1\56\5\uffff\1\56\1\u00fd\1\u00fe\2\uffff"; static final String DFA12_eofS = - "\u00eb\uffff"; + "\u00ff\uffff"; static final String DFA12_minS = - "\1\0\1\141\1\142\1\154\2\141\1\160\1\154\1\156\1\143\1\150\1\56\1\146\1\145\1\75\1\76\1\55\3\75\5\uffff\1\52\3\uffff\1\101\3\uffff\2\0\5\uffff\1\156\1\162\1\154\1\uffff\1\163\1\60\1\156\1\162\1\141\1\164\1\146\1\170\1\156\1\163\1\160\1\151\1\160\1\162\1\163\1\153\1\157\1\145\1\165\1\56\1\uffff\2\60\1\164\40\uffff\1\143\1\141\1\163\1\164\1\uffff\1\164\1\156\1\162\1\163\2\141\1\151\1\60\1\151\1\164\1\157\1\145\1\163\1\164\1\157\1\145\1\156\1\160\1\156\1\145\2\uffff\1\60\2\uffff\1\60\1\164\1\154\1\145\1\162\1\141\1\164\1\145\1\163\1\164\1\165\1\155\1\uffff\1\155\1\60\1\163\1\156\1\164\1\171\1\162\1\60\1\157\1\145\2\60\2\uffff\1\151\1\154\1\60\1\141\1\151\1\60\1\156\1\60\1\171\1\154\2\151\1\uffff\1\151\1\144\1\156\1\163\2\60\1\uffff\1\167\1\60\2\uffff\1\157\1\60\1\uffff\1\143\1\156\1\uffff\1\164\1\uffff\1\160\1\164\2\172\1\164\1\163\2\60\2\uffff\1\156\1\uffff\1\156\1\uffff\1\164\1\163\1\60\1\145\1\60\3\145\1\60\2\uffff\1\60\1\141\2\60\1\uffff\1\60\1\uffff\3\60\2\uffff\1\154\6\uffff\1\60\1\uffff"; + "\1\0\1\154\1\141\1\142\2\141\1\142\1\154\1\162\1\156\1\146\1\145\1\143\1\150\1\56\1\145\1\75\1\76\1\55\3\75\5\uffff\1\52\4\uffff\1\101\4\uffff\2\0\5\uffff\1\156\1\141\1\uffff\1\156\1\154\1\163\1\60\1\164\1\146\1\170\1\156\1\160\1\152\1\164\1\160\1\162\1\163\1\165\1\157\1\153\1\160\2\60\1\146\2\157\1\145\1\165\2\uffff\1\164\44\uffff\1\164\1\156\1\163\1\143\1\163\1\164\1\uffff\2\141\2\151\1\157\2\145\1\164\1\157\1\145\1\155\1\142\1\156\1\157\1\60\2\uffff\1\145\1\164\1\160\1\156\1\145\1\60\1\141\1\164\1\163\1\164\1\145\1\162\1\164\1\165\2\155\1\163\1\143\1\156\1\171\1\162\2\60\1\154\1\157\1\162\1\uffff\1\162\1\60\1\145\2\60\1\uffff\1\151\2\60\1\151\1\60\1\141\1\171\1\154\3\151\1\164\1\144\1\156\2\60\2\uffff\1\145\1\167\1\164\1\163\1\uffff\1\60\2\uffff\1\156\2\uffff\1\157\1\uffff\1\143\1\160\1\164\2\172\1\164\1\60\1\163\1\60\2\uffff\1\155\1\156\2\60\1\uffff\1\155\1\156\1\164\1\145\1\60\3\145\1\uffff\1\60\1\uffff\2\60\2\uffff\1\145\1\60\1\141\2\60\1\uffff\3\60\3\uffff\1\156\1\uffff\1\154\5\uffff\1\164\2\60\2\uffff"; static final String DFA12_maxS = - "\1\uffff\1\165\1\163\1\165\1\145\1\165\1\160\1\170\1\156\1\143\1\162\1\56\1\156\1\145\1\75\1\76\1\55\1\75\1\76\1\75\5\uffff\1\57\3\uffff\1\172\3\uffff\2\uffff\5\uffff\1\156\1\162\1\154\1\uffff\1\163\1\172\1\165\1\162\1\141\1\164\1\146\1\171\1\156\1\163\1\160\1\164\1\160\1\162\1\163\1\153\1\157\1\145\1\165\1\56\1\uffff\2\172\1\164\40\uffff\1\143\1\141\1\163\1\164\1\uffff\1\164\1\156\1\162\1\163\2\141\1\151\1\172\1\151\1\164\1\157\1\145\1\163\1\164\1\157\1\145\1\156\1\160\1\156\1\145\2\uffff\1\172\2\uffff\1\172\1\164\1\154\1\145\1\162\1\141\1\164\1\145\1\163\1\164\1\165\1\155\1\uffff\1\155\1\172\1\163\1\162\1\164\1\171\1\162\1\172\1\157\1\145\2\172\2\uffff\1\151\1\154\1\172\1\141\1\151\1\172\1\156\1\172\1\171\1\154\2\151\1\uffff\1\151\1\144\1\156\1\163\2\172\1\uffff\1\167\1\172\2\uffff\1\157\1\172\1\uffff\1\143\1\156\1\uffff\1\164\1\uffff\1\160\1\164\2\172\1\164\1\163\2\172\2\uffff\1\156\1\uffff\1\156\1\uffff\1\164\1\163\1\172\1\145\1\172\3\145\1\172\2\uffff\1\172\1\141\2\172\1\uffff\1\172\1\uffff\3\172\2\uffff\1\154\6\uffff\1\172\1\uffff"; + "\1\uffff\1\157\1\165\1\163\1\145\1\151\1\160\1\170\1\162\2\156\1\157\1\143\1\162\1\56\1\145\1\75\1\76\2\75\1\76\1\75\5\uffff\1\57\4\uffff\1\172\4\uffff\2\uffff\5\uffff\1\165\1\141\1\uffff\1\156\1\154\1\163\1\172\1\164\1\146\1\170\1\156\1\160\1\152\1\164\1\160\1\162\1\163\1\165\1\157\1\153\1\160\2\172\1\146\2\157\1\145\1\165\2\uffff\1\164\44\uffff\1\164\1\156\1\163\1\143\1\163\1\164\1\uffff\2\141\2\151\1\157\2\145\1\164\1\157\1\145\1\155\1\142\1\156\1\157\1\172\2\uffff\1\145\1\164\1\160\1\156\1\145\1\172\1\141\1\164\1\163\1\164\1\145\1\162\1\164\1\165\2\155\1\163\1\143\1\162\1\171\1\162\2\172\1\154\1\157\1\162\1\uffff\1\162\1\172\1\145\2\172\1\uffff\1\151\2\172\1\151\1\172\1\141\1\171\1\154\3\151\1\164\1\144\1\156\2\172\2\uffff\1\145\1\167\1\164\1\163\1\uffff\1\172\2\uffff\1\156\2\uffff\1\157\1\uffff\1\143\1\160\1\164\2\172\1\164\1\172\1\163\1\172\2\uffff\1\155\1\156\2\172\1\uffff\1\163\1\156\1\164\1\145\1\172\3\145\1\uffff\1\172\1\uffff\2\172\2\uffff\1\145\1\172\1\141\2\172\1\uffff\3\172\3\uffff\1\156\1\uffff\1\154\5\uffff\1\164\2\172\2\uffff"; static final String DFA12_acceptS = - "\24\uffff\1\51\1\52\1\53\1\54\1\55\1\uffff\1\62\1\66\1\67\1\uffff\1\71\1\72\1\73\2\uffff\1\76\1\77\1\100\1\102\1\103\3\uffff\1\77\24\uffff\1\57\3\uffff\1\35\1\50\1\36\1\56\1\40\1\61\1\41\1\63\1\42\1\43\1\64\1\44\1\65\1\51\1\52\1\53\1\54\1\55\1\76\1\101\1\60\1\62\1\66\1\67\1\70\1\71\1\72\1\73\1\74\1\75\1\100\1\102\4\uffff\1\45\24\uffff\1\31\1\37\1\uffff\1\47\1\46\14\uffff\1\34\14\uffff\1\32\1\33\14\uffff\1\26\6\uffff\1\25\2\uffff\1\27\1\30\2\uffff\1\23\2\uffff\1\20\1\uffff\1\17\10\uffff\1\21\1\22\1\uffff\1\24\1\uffff\1\16\11\uffff\1\15\1\14\4\uffff\1\10\1\uffff\1\11\3\uffff\1\12\1\13\1\uffff\1\2\1\3\1\4\1\5\1\6\1\7\1\uffff\1\1"; + "\26\uffff\1\54\1\55\1\56\1\57\1\60\1\uffff\1\65\1\71\1\72\1\73\1\uffff\1\75\1\76\1\77\1\100\2\uffff\1\103\1\104\1\105\1\107\1\110\2\uffff\1\104\31\uffff\1\34\1\62\1\uffff\1\37\1\53\1\40\1\61\1\41\1\42\1\43\1\64\1\44\1\66\1\45\1\46\1\67\1\47\1\70\1\54\1\55\1\56\1\57\1\60\1\103\1\106\1\63\1\65\1\71\1\72\1\73\1\74\1\75\1\76\1\77\1\100\1\101\1\102\1\105\1\107\6\uffff\1\50\17\uffff\1\52\1\51\32\uffff\1\35\5\uffff\1\36\20\uffff\1\27\1\30\4\uffff\1\31\1\uffff\1\32\1\33\1\uffff\1\22\1\21\1\uffff\1\25\11\uffff\1\23\1\24\4\uffff\1\26\10\uffff\1\17\1\uffff\1\15\2\uffff\1\16\1\20\5\uffff\1\11\3\uffff\1\12\1\13\1\14\1\uffff\1\4\1\uffff\1\3\1\5\1\6\1\7\1\10\3\uffff\1\2\1\1"; static final String DFA12_specialS = - "\1\2\40\uffff\1\0\1\1\u00c8\uffff}>"; + "\1\1\44\uffff\1\0\1\2\u00d8\uffff}>"; static final String[] DFA12_transitionS = { - "\11\47\2\46\2\47\1\46\22\47\1\46\1\16\1\41\2\47\1\43\1\47\1\42\1\24\1\25\1\26\1\27\1\30\1\17\1\13\1\31\12\45\1\20\1\32\1\21\1\22\1\23\2\47\32\44\1\33\1\47\1\34\1\35\1\44\1\47\1\2\1\44\1\3\1\4\1\7\1\1\2\44\1\14\2\44\1\15\1\5\1\44\1\6\3\44\1\11\1\12\1\10\5\44\1\36\1\37\1\40\uff82\47", - "\1\52\15\uffff\1\51\5\uffff\1\50", - "\1\54\20\uffff\1\55", - "\1\60\2\uffff\1\56\5\uffff\1\57", - "\1\61\3\uffff\1\62", - "\1\63\7\uffff\1\64\13\uffff\1\65", - "\1\66", - "\1\72\1\70\4\uffff\1\71\5\uffff\1\67", - "\1\73", - "\1\74", - "\1\75\11\uffff\1\76", + "\11\53\2\52\2\53\1\52\22\53\1\52\1\20\1\45\2\53\1\47\1\53\1\46\1\26\1\27\1\30\1\31\1\32\1\21\1\16\1\33\12\51\1\22\1\34\1\23\1\24\1\25\1\35\1\53\32\50\1\36\1\53\1\37\1\40\1\50\1\53\1\3\1\50\1\1\1\4\1\7\1\2\2\50\1\12\2\50\1\17\1\5\1\50\1\6\1\10\1\50\1\13\1\14\1\15\1\11\5\50\1\41\1\42\1\43\1\44\uff81\53", + "\1\55\2\uffff\1\54", + "\1\60\23\uffff\1\57", + "\1\61\20\uffff\1\62", + "\1\63\3\uffff\1\64", + "\1\65\7\uffff\1\66", + "\1\70\15\uffff\1\67", + "\1\74\1\72\1\75\3\uffff\1\73\5\uffff\1\71", + "\1\76", "\1\77", - "\1\102\7\uffff\1\101", - "\1\103", - "\1\104", - "\1\106", + "\1\102\6\uffff\1\100\1\101", + "\1\103\11\uffff\1\104", + "\1\105", + "\1\106\11\uffff\1\107", "\1\110", "\1\112", - "\1\114\1\115", - "\1\117", + "\1\113", + "\1\115", + "\1\117\14\uffff\1\120\2\uffff\1\121", + "\1\123", + "\1\125\1\126", + "\1\130", + "", "", "", "", "", + "\1\140\4\uffff\1\137", "", - "\1\127\4\uffff\1\126", "", "", "", - "\32\53\4\uffff\1\53\1\uffff\32\53", + "\32\56\4\uffff\1\56\1\uffff\32\56", "", "", "", - "\0\140", - "\0\141", "", + "\0\153", + "\0\154", "", "", "", "", - "\1\144", - "\1\145", - "\1\146", "", - "\1\147", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", - "\1\151\6\uffff\1\152", - "\1\153", - "\1\154", - "\1\155", - "\1\156", - "\1\157\1\160", + "\1\157\6\uffff\1\160", "\1\161", + "", "\1\162", "\1\163", - "\1\165\12\uffff\1\164", + "\1\164", + "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", "\1\166", "\1\167", "\1\170", @@ -2434,10 +2572,25 @@ public class InternalSolverLanguageLexer extends Lexer { "\1\173", "\1\174", "\1\175", - "", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\5\53\1\177\24\53", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\1\176", + "\1\177", + "\1\u0080", + "\1\u0081", "\1\u0082", + "\1\u0083", + "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\5\56\1\u0084\24\56", + "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", + "\1\u0087", + "\1\u0088", + "\1\u0089", + "\1\u008a", + "\1\u008b", + "", + "", + "\1\u008c", + "", + "", + "", "", "", "", @@ -2470,23 +2623,14 @@ public class InternalSolverLanguageLexer extends Lexer { "", "", "", - "\1\u0083", - "\1\u0084", - "\1\u0085", - "\1\u0086", "", - "\1\u0087", - "\1\u0088", - "\1\u0089", - "\1\u008a", - "\1\u008b", - "\1\u008c", "\1\u008d", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\1\u008e", "\1\u008f", "\1\u0090", "\1\u0091", "\1\u0092", + "", "\1\u0093", "\1\u0094", "\1\u0095", @@ -2495,115 +2639,134 @@ public class InternalSolverLanguageLexer extends Lexer { "\1\u0098", "\1\u0099", "\1\u009a", - "", - "", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", - "", - "", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\1\u009b", + "\1\u009c", "\1\u009d", "\1\u009e", "\1\u009f", "\1\u00a0", - "\1\u00a1", + "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", + "", + "", "\1\u00a2", "\1\u00a3", "\1\u00a4", "\1\u00a5", "\1\u00a6", - "\1\u00a7", - "", + "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", "\1\u00a8", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\1\u00a9", "\1\u00aa", - "\1\u00ab\3\uffff\1\u00ac", + "\1\u00ab", + "\1\u00ac", "\1\u00ad", "\1\u00ae", "\1\u00af", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\1\u00b0", "\1\u00b1", "\1\u00b2", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", - "", - "", - "\1\u00b5", + "\1\u00b3", + "\1\u00b4\3\uffff\1\u00b5", "\1\u00b6", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", - "\1\u00b8", - "\1\u00b9", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\1\u00b7", + "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", + "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", + "\1\u00ba", "\1\u00bb", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\1\u00bc", + "", "\1\u00bd", - "\1\u00be", + "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", "\1\u00bf", - "\1\u00c0", + "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", + "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", "", - "\1\u00c1", "\1\u00c2", - "\1\u00c3", - "\1\u00c4", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", - "", + "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", + "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", + "\1\u00c5", + "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", "\1\u00c7", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", - "", - "", + "\1\u00c8", "\1\u00c9", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", - "", + "\1\u00ca", "\1\u00cb", "\1\u00cc", - "", "\1\u00cd", - "", "\1\u00ce", "\1\u00cf", - "\1\u00d0", - "\1\u00d1", + "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", + "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", + "", + "", "\1\u00d2", "\1\u00d3", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\1\u00d4", + "\1\u00d5", "", + "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", "", - "\1\u00d6", "", "\1\u00d7", "", + "", "\1\u00d8", + "", "\1\u00d9", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\1\u00da", "\1\u00db", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\1\u00dc", "\1\u00dd", "\1\u00de", - "\1\u00df", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", + "\1\u00e0", + "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", "", "", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", "\1\u00e2", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\1\u00e3", + "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", + "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", "", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\1\u00e6\5\uffff\1\u00e7", + "\1\u00e8", + "\1\u00e9", + "\1\u00ea", + "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", + "\1\u00ec", + "\1\u00ed", + "\1\u00ee", "", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", "", + "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", + "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", + "", + "", + "\1\u00f2", + "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", + "\1\u00f4", + "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", + "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", + "", + "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", + "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", + "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", "", - "\1\u00e9", "", "", + "\1\u00fa", "", + "\1\u00fb", "", "", "", - "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", + "", + "", + "\1\u00fc", + "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", + "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", + "", "" }; @@ -2637,41 +2800,31 @@ public class InternalSolverLanguageLexer extends Lexer { this.transition = DFA12_transition; } public String getDescription() { - return "1:1: Tokens : ( Functional | Abstract | Contains | Datatype | Maximize | Minimize | Opposite | Current | Default | Extends | Unknown | Exists | Extern | Forall | Class | Count | Empty | Error | False | Scope | Else | Must | Then | True | FullStopFullStopFullStop | Inf | Let | May | ExclamationMarkEqualsSign | HyphenMinusGreaterThanSign | FullStopFullStop | ColonHyphenMinus | LessThanSignEqualsSign | EqualsSignEqualsSign | EqualsSignGreaterThanSign | GreaterThanSignEqualsSign | As | If | In | ExclamationMark | LeftParenthesis | RightParenthesis | Asterisk | PlusSign | Comma | HyphenMinus | FullStop | Solidus | Colon | Semicolon | LessThanSign | EqualsSign | GreaterThanSign | LeftSquareBracket | RightSquareBracket | CircumflexAccent | LeftCurlyBracket | VerticalLine | RightCurlyBracket | RULE_STRING | RULE_QUOTED_ID | RULE_SL_COMMENT | RULE_ID | RULE_INT | RULE_ML_COMMENT | RULE_WS | RULE_ANY_OTHER );"; + return "1:1: Tokens : ( Containment | Functional | Abstract | Contains | Datatype | Maximize | Minimize | Opposite | Default | Extends | Problem | Unknown | Extern | Import | Object | Refers | Class | Count | Empty | Error | False | Scope | Else | Enum | Root | Then | True | FullStopFullStopFullStop | Inf | Let | ExclamationMarkEqualsSign | HyphenMinusGreaterThanSign | ColonHyphenMinus | ColonColon | ColonEqualsSign | LessThanSignEqualsSign | EqualsSignEqualsSign | EqualsSignGreaterThanSign | GreaterThanSignEqualsSign | As | If | In | ExclamationMark | LeftParenthesis | RightParenthesis | Asterisk | PlusSign | Comma | HyphenMinus | FullStop | Solidus | Colon | Semicolon | LessThanSign | EqualsSign | GreaterThanSign | QuestionMark | LeftSquareBracket | RightSquareBracket | CircumflexAccent | LeftCurlyBracket | VerticalLine | RightCurlyBracket | Tilde | RULE_STRING | RULE_QUOTED_ID | RULE_SL_COMMENT | RULE_ID | RULE_INT | RULE_ML_COMMENT | RULE_WS | RULE_ANY_OTHER );"; } public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { IntStream input = _input; int _s = s; switch ( s ) { case 0 : - int LA12_33 = input.LA(1); + int LA12_37 = input.LA(1); s = -1; - if ( ((LA12_33>='\u0000' && LA12_33<='\uFFFF')) ) {s = 96;} + if ( ((LA12_37>='\u0000' && LA12_37<='\uFFFF')) ) {s = 107;} - else s = 39; + else s = 43; if ( s>=0 ) return s; break; case 1 : - int LA12_34 = input.LA(1); - - s = -1; - if ( ((LA12_34>='\u0000' && LA12_34<='\uFFFF')) ) {s = 97;} - - else s = 39; - - if ( s>=0 ) return s; - break; - case 2 : int LA12_0 = input.LA(1); s = -1; - if ( (LA12_0=='f') ) {s = 1;} + if ( (LA12_0=='c') ) {s = 1;} - else if ( (LA12_0=='a') ) {s = 2;} + else if ( (LA12_0=='f') ) {s = 2;} - else if ( (LA12_0=='c') ) {s = 3;} + else if ( (LA12_0=='a') ) {s = 3;} else if ( (LA12_0=='d') ) {s = 4;} @@ -2681,69 +2834,87 @@ public class InternalSolverLanguageLexer extends Lexer { else if ( (LA12_0=='e') ) {s = 7;} - else if ( (LA12_0=='u') ) {s = 8;} + else if ( (LA12_0=='p') ) {s = 8;} + + else if ( (LA12_0=='u') ) {s = 9;} - else if ( (LA12_0=='s') ) {s = 9;} + else if ( (LA12_0=='i') ) {s = 10;} - else if ( (LA12_0=='t') ) {s = 10;} + else if ( (LA12_0=='r') ) {s = 11;} - else if ( (LA12_0=='.') ) {s = 11;} + else if ( (LA12_0=='s') ) {s = 12;} - else if ( (LA12_0=='i') ) {s = 12;} + else if ( (LA12_0=='t') ) {s = 13;} - else if ( (LA12_0=='l') ) {s = 13;} + else if ( (LA12_0=='.') ) {s = 14;} - else if ( (LA12_0=='!') ) {s = 14;} + else if ( (LA12_0=='l') ) {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==':') ) {s = 18;} - else if ( (LA12_0=='=') ) {s = 18;} + else if ( (LA12_0=='<') ) {s = 19;} - else if ( (LA12_0=='>') ) {s = 19;} + else if ( (LA12_0=='=') ) {s = 20;} - else if ( (LA12_0=='(') ) {s = 20;} + else if ( (LA12_0=='>') ) {s = 21;} - else if ( (LA12_0==')') ) {s = 21;} + else if ( (LA12_0=='(') ) {s = 22;} - else if ( (LA12_0=='*') ) {s = 22;} + else if ( (LA12_0==')') ) {s = 23;} - else if ( (LA12_0=='+') ) {s = 23;} + else if ( (LA12_0=='*') ) {s = 24;} - else if ( (LA12_0==',') ) {s = 24;} + else if ( (LA12_0=='+') ) {s = 25;} - else if ( (LA12_0=='/') ) {s = 25;} + else if ( (LA12_0==',') ) {s = 26;} - else if ( (LA12_0==';') ) {s = 26;} + else if ( (LA12_0=='/') ) {s = 27;} - else if ( (LA12_0=='[') ) {s = 27;} + else if ( (LA12_0==';') ) {s = 28;} - else if ( (LA12_0==']') ) {s = 28;} + else if ( (LA12_0=='?') ) {s = 29;} - else if ( (LA12_0=='^') ) {s = 29;} + else if ( (LA12_0=='[') ) {s = 30;} - else if ( (LA12_0=='{') ) {s = 30;} + else if ( (LA12_0==']') ) {s = 31;} - else if ( (LA12_0=='|') ) {s = 31;} + else if ( (LA12_0=='^') ) {s = 32;} - else if ( (LA12_0=='}') ) {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=='}') ) {s = 35;} - else if ( (LA12_0=='%') ) {s = 35;} + else if ( (LA12_0=='~') ) {s = 36;} - else if ( ((LA12_0>='A' && LA12_0<='Z')||LA12_0=='_'||LA12_0=='b'||(LA12_0>='g' && LA12_0<='h')||(LA12_0>='j' && LA12_0<='k')||LA12_0=='n'||(LA12_0>='p' && LA12_0<='r')||(LA12_0>='v' && LA12_0<='z')) ) {s = 36;} + else if ( (LA12_0=='\"') ) {s = 37;} - else if ( ((LA12_0>='0' && LA12_0<='9')) ) {s = 37;} + else if ( (LA12_0=='\'') ) {s = 38;} - else if ( ((LA12_0>='\t' && LA12_0<='\n')||LA12_0=='\r'||LA12_0==' ') ) {s = 38;} + else if ( (LA12_0=='%') ) {s = 39;} + + else if ( ((LA12_0>='A' && LA12_0<='Z')||LA12_0=='_'||LA12_0=='b'||(LA12_0>='g' && LA12_0<='h')||(LA12_0>='j' && LA12_0<='k')||LA12_0=='n'||LA12_0=='q'||(LA12_0>='v' && LA12_0<='z')) ) {s = 40;} + + else if ( ((LA12_0>='0' && LA12_0<='9')) ) {s = 41;} + + else if ( ((LA12_0>='\t' && LA12_0<='\n')||LA12_0=='\r'||LA12_0==' ') ) {s = 42;} + + 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>='\u007F' && LA12_0<='\uFFFF')) ) {s = 43;} + + if ( s>=0 ) return s; + break; + case 2 : + int LA12_38 = input.LA(1); + + s = -1; + if ( ((LA12_38>='\u0000' && LA12_38<='\uFFFF')) ) {s = 108;} - 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<='\uFFFF')) ) {s = 39;} + else s = 43; if ( s>=0 ) return s; break; diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/parser/antlr/lexer/InternalSolverLanguageLexer.tokens b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/parser/antlr/lexer/InternalSolverLanguageLexer.tokens index 178103e2..f6269b97 100644 --- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/parser/antlr/lexer/InternalSolverLanguageLexer.tokens +++ b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/parser/antlr/lexer/InternalSolverLanguageLexer.tokens @@ -1,70 +1,75 @@ -Abstract=5 -As=40 -Asterisk=46 -CircumflexAccent=59 -Class=18 -Colon=52 -ColonHyphenMinus=35 -Comma=48 -Contains=6 -Count=19 -Current=11 -Datatype=7 +Abstract=6 +As=43 +Asterisk=49 +CircumflexAccent=63 +Class=20 +Colon=55 +ColonColon=37 +ColonEqualsSign=38 +ColonHyphenMinus=36 +Comma=51 +Containment=4 +Contains=7 +Count=21 +Datatype=8 Default=12 -Else=24 -Empty=20 -EqualsSign=55 -EqualsSignEqualsSign=37 -EqualsSignGreaterThanSign=38 -Error=21 -ExclamationMark=43 -ExclamationMarkEqualsSign=32 -Exists=15 +Else=26 +Empty=22 +Enum=27 +EqualsSign=58 +EqualsSignEqualsSign=40 +EqualsSignGreaterThanSign=41 +Error=23 +ExclamationMark=46 +ExclamationMarkEqualsSign=34 Extends=13 Extern=16 -False=22 -Forall=17 -FullStop=50 -FullStopFullStop=34 -FullStopFullStopFullStop=28 -Functional=4 -GreaterThanSign=56 -GreaterThanSignEqualsSign=39 -HyphenMinus=49 -HyphenMinusGreaterThanSign=33 -If=41 -In=42 -Inf=29 -LeftCurlyBracket=60 -LeftParenthesis=44 -LeftSquareBracket=57 -LessThanSign=54 -LessThanSignEqualsSign=36 -Let=30 -Maximize=8 -May=31 -Minimize=9 -Must=25 -Opposite=10 -PlusSign=47 -RULE_ANY_OTHER=73 -RULE_FULL_STOP=68 -RULE_ID=69 -RULE_INT=70 -RULE_ML_COMMENT=71 -RULE_QUOTED_ID=64 -RULE_REFLEXIVE_TRANSITIVE_CLOSURE=67 -RULE_SL_COMMENT=65 -RULE_STRING=63 -RULE_TRANSITIVE_CLOSURE=66 -RULE_WS=72 -RightCurlyBracket=62 -RightParenthesis=45 -RightSquareBracket=58 -Scope=23 -Semicolon=53 -Solidus=51 -Then=26 -True=27 -Unknown=14 -VerticalLine=61 +False=24 +FullStop=53 +FullStopFullStopFullStop=31 +Functional=5 +GreaterThanSign=59 +GreaterThanSignEqualsSign=42 +HyphenMinus=52 +HyphenMinusGreaterThanSign=35 +If=44 +Import=17 +In=45 +Inf=32 +LeftCurlyBracket=64 +LeftParenthesis=47 +LeftSquareBracket=61 +LessThanSign=57 +LessThanSignEqualsSign=39 +Let=33 +Maximize=9 +Minimize=10 +Object=18 +Opposite=11 +PlusSign=50 +Problem=14 +QuestionMark=60 +RULE_ANY_OTHER=78 +RULE_FULL_STOP=73 +RULE_ID=74 +RULE_INT=75 +RULE_ML_COMMENT=76 +RULE_QUOTED_ID=69 +RULE_REFLEXIVE_TRANSITIVE_CLOSURE=72 +RULE_SL_COMMENT=70 +RULE_STRING=68 +RULE_TRANSITIVE_CLOSURE=71 +RULE_WS=77 +Refers=19 +RightCurlyBracket=66 +RightParenthesis=48 +RightSquareBracket=62 +Root=28 +Scope=25 +Semicolon=56 +Solidus=54 +Then=29 +Tilde=67 +True=30 +Unknown=15 +VerticalLine=65 diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/serializer/SolverLanguageSemanticSequencer.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/serializer/SolverLanguageSemanticSequencer.java index dc93975f..49326024 100644 --- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/serializer/SolverLanguageSemanticSequencer.java +++ b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/serializer/SolverLanguageSemanticSequencer.java @@ -10,52 +10,58 @@ import org.eclipse.emf.ecore.EPackage; import org.eclipse.viatra.solver.language.services.SolverLanguageGrammarAccess; import org.eclipse.viatra.solver.language.solverLanguage.Aggregation; import org.eclipse.viatra.solver.language.solverLanguage.ArgumentList; +import org.eclipse.viatra.solver.language.solverLanguage.Assertion; +import org.eclipse.viatra.solver.language.solverLanguage.Attribute; import org.eclipse.viatra.solver.language.solverLanguage.BinaryExpression; import org.eclipse.viatra.solver.language.solverLanguage.BoundedMultiplicity; -import org.eclipse.viatra.solver.language.solverLanguage.BoundedScopeDefinition; +import org.eclipse.viatra.solver.language.solverLanguage.BoundedScope; import org.eclipse.viatra.solver.language.solverLanguage.Call; import org.eclipse.viatra.solver.language.solverLanguage.Case; import org.eclipse.viatra.solver.language.solverLanguage.CastExpression; -import org.eclipse.viatra.solver.language.solverLanguage.ClassDefinition; -import org.eclipse.viatra.solver.language.solverLanguage.Comparison; +import org.eclipse.viatra.solver.language.solverLanguage.ClassDeclaration; +import org.eclipse.viatra.solver.language.solverLanguage.ConditionalExpression; import org.eclipse.viatra.solver.language.solverLanguage.Conjunction; -import org.eclipse.viatra.solver.language.solverLanguage.DefaultDefinition; +import org.eclipse.viatra.solver.language.solverLanguage.Count; +import org.eclipse.viatra.solver.language.solverLanguage.DefaultAssertion; import org.eclipse.viatra.solver.language.solverLanguage.Disjunction; -import org.eclipse.viatra.solver.language.solverLanguage.EmptyIntervalLiteral; +import org.eclipse.viatra.solver.language.solverLanguage.EmptyLiteral; +import org.eclipse.viatra.solver.language.solverLanguage.EnumDeclaration; +import org.eclipse.viatra.solver.language.solverLanguage.EnumLiteral; import org.eclipse.viatra.solver.language.solverLanguage.ExactMultiplicity; -import org.eclipse.viatra.solver.language.solverLanguage.ExactScopeDefinition; +import org.eclipse.viatra.solver.language.solverLanguage.ExactScope; import org.eclipse.viatra.solver.language.solverLanguage.ExpressionArgument; -import org.eclipse.viatra.solver.language.solverLanguage.ExternAggregatorDefinition; -import org.eclipse.viatra.solver.language.solverLanguage.ExternDatatypeDefinition; -import org.eclipse.viatra.solver.language.solverLanguage.ExternMetricDefinition; -import org.eclipse.viatra.solver.language.solverLanguage.ExternPredicateDefinition; -import org.eclipse.viatra.solver.language.solverLanguage.IfElse; +import org.eclipse.viatra.solver.language.solverLanguage.ExternAggregationOperatorDeclaration; +import org.eclipse.viatra.solver.language.solverLanguage.ExternDatatypeDeclaration; +import org.eclipse.viatra.solver.language.solverLanguage.ExternFunctionDeclaration; +import org.eclipse.viatra.solver.language.solverLanguage.ExternPredicateDeclaration; +import org.eclipse.viatra.solver.language.solverLanguage.Field; +import org.eclipse.viatra.solver.language.solverLanguage.Forall; +import org.eclipse.viatra.solver.language.solverLanguage.FunctionDefinition; import org.eclipse.viatra.solver.language.solverLanguage.InfinityLiteral; -import org.eclipse.viatra.solver.language.solverLanguage.Interpretation; +import org.eclipse.viatra.solver.language.solverLanguage.IntLiteral; import org.eclipse.viatra.solver.language.solverLanguage.Interval; -import org.eclipse.viatra.solver.language.solverLanguage.Let; import org.eclipse.viatra.solver.language.solverLanguage.LetBinding; -import org.eclipse.viatra.solver.language.solverLanguage.LocalVariables; +import org.eclipse.viatra.solver.language.solverLanguage.LetExpression; import org.eclipse.viatra.solver.language.solverLanguage.LogicLiteral; -import org.eclipse.viatra.solver.language.solverLanguage.LowerBoundedScopeDefinition; -import org.eclipse.viatra.solver.language.solverLanguage.ManyMultiplicity; -import org.eclipse.viatra.solver.language.solverLanguage.MemberDefinition; -import org.eclipse.viatra.solver.language.solverLanguage.MetricDefinition; -import org.eclipse.viatra.solver.language.solverLanguage.NumericLiteral; -import org.eclipse.viatra.solver.language.solverLanguage.ObjectiveDefinition; +import org.eclipse.viatra.solver.language.solverLanguage.LowerBoundedScope; +import org.eclipse.viatra.solver.language.solverLanguage.NamespaceImport; +import org.eclipse.viatra.solver.language.solverLanguage.ObjectiveDeclaration; +import org.eclipse.viatra.solver.language.solverLanguage.PathComponent; import org.eclipse.viatra.solver.language.solverLanguage.PredicateDefinition; import org.eclipse.viatra.solver.language.solverLanguage.Problem; -import org.eclipse.viatra.solver.language.solverLanguage.QuantifiedExpression; +import org.eclipse.viatra.solver.language.solverLanguage.RealLiteral; import org.eclipse.viatra.solver.language.solverLanguage.Reference; import org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage; import org.eclipse.viatra.solver.language.solverLanguage.StarArgument; import org.eclipse.viatra.solver.language.solverLanguage.StringLiteral; import org.eclipse.viatra.solver.language.solverLanguage.Switch; -import org.eclipse.viatra.solver.language.solverLanguage.TypedArgument; +import org.eclipse.viatra.solver.language.solverLanguage.TypeReference; import org.eclipse.viatra.solver.language.solverLanguage.TypedStarArgument; +import org.eclipse.viatra.solver.language.solverLanguage.TypedVariableArgument; import org.eclipse.viatra.solver.language.solverLanguage.UnaryExpression; -import org.eclipse.viatra.solver.language.solverLanguage.UnnamedErrorPrediateDefinition; -import org.eclipse.viatra.solver.language.solverLanguage.Variable; +import org.eclipse.viatra.solver.language.solverLanguage.UnboundedMultiplicity; +import org.eclipse.viatra.solver.language.solverLanguage.UnnamedErrorPredicateDefintion; +import org.eclipse.viatra.solver.language.solverLanguage.UriImport; import org.eclipse.xtext.Action; import org.eclipse.xtext.Parameter; import org.eclipse.xtext.ParserRule; @@ -84,14 +90,20 @@ public class SolverLanguageSemanticSequencer extends AbstractDelegatingSemanticS case SolverLanguagePackage.ARGUMENT_LIST: sequence_ArgumentList(context, (ArgumentList) semanticObject); return; + case SolverLanguagePackage.ASSERTION: + sequence_AssertionOrDefinition(context, (Assertion) semanticObject); + return; + case SolverLanguagePackage.ATTRIBUTE: + sequence_Attribute(context, (Attribute) semanticObject); + return; case SolverLanguagePackage.BINARY_EXPRESSION: - sequence_AdditiveExpression_ExponentialExpression_ImplicationExpression_MultiplicativeExpression(context, (BinaryExpression) semanticObject); + sequence_AdditiveExpression_ComparisonExpression_ExponentialExpression_MultiplicativeExpression(context, (BinaryExpression) semanticObject); return; case SolverLanguagePackage.BOUNDED_MULTIPLICITY: sequence_BoundedMultiplicity(context, (BoundedMultiplicity) semanticObject); return; - case SolverLanguagePackage.BOUNDED_SCOPE_DEFINITION: - sequence_BoundedScopeDefinition(context, (BoundedScopeDefinition) semanticObject); + case SolverLanguagePackage.BOUNDED_SCOPE: + sequence_BoundedScope(context, (BoundedScope) semanticObject); return; case SolverLanguagePackage.CALL: sequence_Call(context, (Call) semanticObject); @@ -109,97 +121,103 @@ public class SolverLanguageSemanticSequencer extends AbstractDelegatingSemanticS case SolverLanguagePackage.CAST_EXPRESSION: sequence_CastExpression(context, (CastExpression) semanticObject); return; - case SolverLanguagePackage.CLASS_DEFINITION: - sequence_ClassDefinition(context, (ClassDefinition) semanticObject); + case SolverLanguagePackage.CLASS_DECLARATION: + sequence_ClassDeclaration(context, (ClassDeclaration) semanticObject); return; - case SolverLanguagePackage.COMPARISON: - sequence_ComparisonExpression(context, (Comparison) semanticObject); + case SolverLanguagePackage.CONDITIONAL_EXPRESSION: + sequence_ConditionalExpression(context, (ConditionalExpression) semanticObject); return; case SolverLanguagePackage.CONJUNCTION: sequence_ConjunctiveExpression(context, (Conjunction) semanticObject); return; - case SolverLanguagePackage.DEFAULT_DEFINITION: - sequence_DefaultDefinition(context, (DefaultDefinition) semanticObject); + case SolverLanguagePackage.COUNT: + sequence_Count(context, (Count) semanticObject); + return; + case SolverLanguagePackage.DEFAULT_ASSERTION: + sequence_DefaultAssertion(context, (DefaultAssertion) semanticObject); return; case SolverLanguagePackage.DISJUNCTION: sequence_DisjunctiveExpression(context, (Disjunction) semanticObject); return; - case SolverLanguagePackage.EMPTY_INTERVAL_LITERAL: - sequence_EmptyIntervalLiteral(context, (EmptyIntervalLiteral) semanticObject); + case SolverLanguagePackage.EMPTY_LITERAL: + sequence_EmptyLiteral(context, (EmptyLiteral) semanticObject); + return; + case SolverLanguagePackage.ENUM_DECLARATION: + sequence_EnumDeclaration(context, (EnumDeclaration) semanticObject); + return; + case SolverLanguagePackage.ENUM_LITERAL: + sequence_EnumLiteral(context, (EnumLiteral) semanticObject); return; case SolverLanguagePackage.EXACT_MULTIPLICITY: sequence_ExactMultiplicity(context, (ExactMultiplicity) semanticObject); return; - case SolverLanguagePackage.EXACT_SCOPE_DEFINITION: - sequence_ExactScopeDefinition(context, (ExactScopeDefinition) semanticObject); + case SolverLanguagePackage.EXACT_SCOPE: + sequence_ExactScope(context, (ExactScope) semanticObject); return; case SolverLanguagePackage.EXPRESSION_ARGUMENT: sequence_ExpressionArgument(context, (ExpressionArgument) semanticObject); return; - case SolverLanguagePackage.EXTERN_AGGREGATOR_DEFINITION: - sequence_ExternAggregatorDefinition(context, (ExternAggregatorDefinition) semanticObject); + case SolverLanguagePackage.EXTERN_AGGREGATION_OPERATOR_DECLARATION: + sequence_ExternAggregationOperatorDeclaration(context, (ExternAggregationOperatorDeclaration) semanticObject); + return; + case SolverLanguagePackage.EXTERN_DATATYPE_DECLARATION: + sequence_ExternDatatypeDeclaration(context, (ExternDatatypeDeclaration) semanticObject); return; - case SolverLanguagePackage.EXTERN_DATATYPE_DEFINITION: - sequence_ExternDatatypeDefinition(context, (ExternDatatypeDefinition) semanticObject); + case SolverLanguagePackage.EXTERN_FUNCTION_DECLARATION: + sequence_ExternFunctionDeclaration(context, (ExternFunctionDeclaration) semanticObject); return; - case SolverLanguagePackage.EXTERN_METRIC_DEFINITION: - sequence_ExternMetricDefinition(context, (ExternMetricDefinition) semanticObject); + case SolverLanguagePackage.EXTERN_PREDICATE_DECLARATION: + sequence_ExternPredicateDeclaration(context, (ExternPredicateDeclaration) semanticObject); return; - case SolverLanguagePackage.EXTERN_PREDICATE_DEFINITION: - sequence_ExternPredicateDefinition(context, (ExternPredicateDefinition) semanticObject); + case SolverLanguagePackage.FIELD: + sequence_Field(context, (Field) semanticObject); return; - case SolverLanguagePackage.IF_ELSE: - sequence_IfElse(context, (IfElse) semanticObject); + case SolverLanguagePackage.FORALL: + sequence_Expression(context, (Forall) semanticObject); return; + case SolverLanguagePackage.FUNCTION_DEFINITION: + if (rule == grammarAccess.getAssertionOrDefinitionRule()) { + sequence_AssertionOrDefinition(context, (FunctionDefinition) semanticObject); + return; + } + else if (rule == grammarAccess.getStatementRule()) { + sequence_AssertionOrDefinition_FunctionDefinition(context, (FunctionDefinition) semanticObject); + return; + } + else if (rule == grammarAccess.getFunctionDefinitionRule()) { + sequence_FunctionDefinition(context, (FunctionDefinition) semanticObject); + return; + } + else break; case SolverLanguagePackage.INFINITY_LITERAL: sequence_InfinityLiteral(context, (InfinityLiteral) semanticObject); return; - case SolverLanguagePackage.INTERPRETATION: - sequence_AssertionOrDefinition(context, (Interpretation) semanticObject); + case SolverLanguagePackage.INT_LITERAL: + sequence_IntLiteral(context, (IntLiteral) semanticObject); return; case SolverLanguagePackage.INTERVAL: sequence_Interval(context, (Interval) semanticObject); return; - case SolverLanguagePackage.LET: - sequence_Let(context, (Let) semanticObject); - return; case SolverLanguagePackage.LET_BINDING: sequence_LetBinding(context, (LetBinding) semanticObject); return; - case SolverLanguagePackage.LOCAL_VARIABLES: - sequence_LocalVariables(context, (LocalVariables) semanticObject); + case SolverLanguagePackage.LET_EXPRESSION: + sequence_LetExpression(context, (LetExpression) semanticObject); return; case SolverLanguagePackage.LOGIC_LITERAL: sequence_LogicLiteral(context, (LogicLiteral) semanticObject); return; - case SolverLanguagePackage.LOWER_BOUNDED_SCOPE_DEFINITION: - sequence_LowerBoundedScopeDefinition(context, (LowerBoundedScopeDefinition) semanticObject); + case SolverLanguagePackage.LOWER_BOUNDED_SCOPE: + sequence_LowerBoundedScope(context, (LowerBoundedScope) semanticObject); return; - case SolverLanguagePackage.MANY_MULTIPLICITY: - sequence_ManyMultiplicity(context, (ManyMultiplicity) semanticObject); + case SolverLanguagePackage.NAMESPACE_IMPORT: + sequence_NamespaceImport(context, (NamespaceImport) semanticObject); return; - case SolverLanguagePackage.MEMBER_DEFINITION: - sequence_MemberDefinition(context, (MemberDefinition) semanticObject); + case SolverLanguagePackage.OBJECTIVE_DECLARATION: + sequence_ObjectiveDeclaration(context, (ObjectiveDeclaration) semanticObject); return; - case SolverLanguagePackage.METRIC_DEFINITION: - if (rule == grammarAccess.getAssertionOrDefinitionRule()) { - sequence_AssertionOrDefinition(context, (MetricDefinition) semanticObject); - return; - } - else if (rule == grammarAccess.getStatementRule()) { - sequence_AssertionOrDefinition_MetricDefinition(context, (MetricDefinition) semanticObject); - return; - } - else if (rule == grammarAccess.getMetricDefinitionRule()) { - sequence_MetricDefinition(context, (MetricDefinition) semanticObject); - return; - } - else break; - case SolverLanguagePackage.NUMERIC_LITERAL: - sequence_NumericLiteral(context, (NumericLiteral) semanticObject); - return; - case SolverLanguagePackage.OBJECTIVE_DEFINITION: - sequence_ObjectiveDefinition(context, (ObjectiveDefinition) semanticObject); + case SolverLanguagePackage.PATH_COMPONENT: + sequence_PathComponent(context, (PathComponent) semanticObject); return; case SolverLanguagePackage.PREDICATE_DEFINITION: if (rule == grammarAccess.getAssertionOrDefinitionRule()) { @@ -218,8 +236,8 @@ public class SolverLanguageSemanticSequencer extends AbstractDelegatingSemanticS case SolverLanguagePackage.PROBLEM: sequence_Problem(context, (Problem) semanticObject); return; - case SolverLanguagePackage.QUANTIFIED_EXPRESSION: - sequence_QuantifiedExpression(context, (QuantifiedExpression) semanticObject); + case SolverLanguagePackage.REAL_LITERAL: + sequence_RealLiteral(context, (RealLiteral) semanticObject); return; case SolverLanguagePackage.REFERENCE: sequence_Reference(context, (Reference) semanticObject); @@ -233,20 +251,26 @@ public class SolverLanguageSemanticSequencer extends AbstractDelegatingSemanticS case SolverLanguagePackage.SWITCH: sequence_DisjunctiveExpression(context, (Switch) semanticObject); return; - case SolverLanguagePackage.TYPED_ARGUMENT: - sequence_TypedArgument(context, (TypedArgument) semanticObject); + case SolverLanguagePackage.TYPE_REFERENCE: + sequence_TypeReference(context, (TypeReference) semanticObject); return; case SolverLanguagePackage.TYPED_STAR_ARGUMENT: sequence_TypedStarArgument(context, (TypedStarArgument) semanticObject); return; + case SolverLanguagePackage.TYPED_VARIABLE_ARGUMENT: + sequence_TypedVariableArgument(context, (TypedVariableArgument) semanticObject); + return; case SolverLanguagePackage.UNARY_EXPRESSION: sequence_UnaryExpression(context, (UnaryExpression) semanticObject); return; - case SolverLanguagePackage.UNNAMED_ERROR_PREDIATE_DEFINITION: - sequence_UnnamedErrorPrediateDefinition(context, (UnnamedErrorPrediateDefinition) semanticObject); + case SolverLanguagePackage.UNBOUNDED_MULTIPLICITY: + sequence_UnboundedMultiplicity(context, (UnboundedMultiplicity) semanticObject); return; - case SolverLanguagePackage.VARIABLE: - sequence_Variable(context, (Variable) semanticObject); + case SolverLanguagePackage.UNNAMED_ERROR_PREDICATE_DEFINTION: + sequence_UnnamedErrorPredicateDefintion(context, (UnnamedErrorPredicateDefintion) semanticObject); + return; + case SolverLanguagePackage.URI_IMPORT: + sequence_UriImport(context, (UriImport) semanticObject); return; } if (errorAcceptor != null) @@ -255,21 +279,18 @@ public class SolverLanguageSemanticSequencer extends AbstractDelegatingSemanticS /** * Contexts: - * Statement returns BinaryExpression - * AssertionOrDefinition returns BinaryExpression - * AssertionOrDefinition.Interpretation_1_0_0 returns BinaryExpression + * AssertionOrDefinition.Assertion_1_0_0 returns BinaryExpression * AssertionOrDefinition.PredicateDefinition_1_1_0 returns BinaryExpression - * AssertionOrDefinition.MetricDefinition_1_2_0 returns BinaryExpression + * AssertionOrDefinition.FunctionDefinition_1_2_0 returns BinaryExpression * Expression returns BinaryExpression - * ImplicationExpression returns BinaryExpression - * ImplicationExpression.BinaryExpression_1_0 returns BinaryExpression + * Expression.Forall_2_1_0 returns BinaryExpression * DisjunctiveExpression returns BinaryExpression * DisjunctiveExpression.Disjunction_1_0_0 returns BinaryExpression * DisjunctiveExpression.Case_1_1_0 returns BinaryExpression * ConjunctiveExpression returns BinaryExpression * ConjunctiveExpression.Conjunction_1_0 returns BinaryExpression * ComparisonExpression returns BinaryExpression - * ComparisonExpression.Comparison_1_0 returns BinaryExpression + * ComparisonExpression.BinaryExpression_1_0 returns BinaryExpression * AdditiveExpression returns BinaryExpression * AdditiveExpression.BinaryExpression_1_0 returns BinaryExpression * MultiplicativeExpression returns BinaryExpression @@ -279,39 +300,36 @@ public class SolverLanguageSemanticSequencer extends AbstractDelegatingSemanticS * CastExpression returns BinaryExpression * CastExpression.CastExpression_1_0 returns BinaryExpression * UnaryExpression returns BinaryExpression - * AggregationExpression returns BinaryExpression + * BracedAggregateExpression returns BinaryExpression * AtomicExpression returns BinaryExpression * * Constraint: * ( - * (left=ImplicationExpression_BinaryExpression_1_0 op=ImplicationOperator right=ImplicationExpression) | + * (left=ComparisonExpression_BinaryExpression_1_0 op=ComparisonOperator right=AdditiveExpression) | * (left=AdditiveExpression_BinaryExpression_1_0 op=AdditiveBinaryOperator right=MultiplicativeExpression) | * (left=MultiplicativeExpression_BinaryExpression_1_0 op=MultiplicativeBinaryOperator right=ExponentialExpression) | * (left=ExponentialExpression_BinaryExpression_1_0 op=ExponentialOp right=CastExpression) * ) */ - protected void sequence_AdditiveExpression_ExponentialExpression_ImplicationExpression_MultiplicativeExpression(ISerializationContext context, BinaryExpression semanticObject) { + protected void sequence_AdditiveExpression_ComparisonExpression_ExponentialExpression_MultiplicativeExpression(ISerializationContext context, BinaryExpression semanticObject) { genericSequencer.createSequence(context, semanticObject); } /** * Contexts: - * Statement returns Aggregation - * AssertionOrDefinition returns Aggregation - * AssertionOrDefinition.Interpretation_1_0_0 returns Aggregation + * AssertionOrDefinition.Assertion_1_0_0 returns Aggregation * AssertionOrDefinition.PredicateDefinition_1_1_0 returns Aggregation - * AssertionOrDefinition.MetricDefinition_1_2_0 returns Aggregation + * AssertionOrDefinition.FunctionDefinition_1_2_0 returns Aggregation * Expression returns Aggregation - * ImplicationExpression returns Aggregation - * ImplicationExpression.BinaryExpression_1_0 returns Aggregation + * Expression.Forall_2_1_0 returns Aggregation * DisjunctiveExpression returns Aggregation * DisjunctiveExpression.Disjunction_1_0_0 returns Aggregation * DisjunctiveExpression.Case_1_1_0 returns Aggregation * ConjunctiveExpression returns Aggregation * ConjunctiveExpression.Conjunction_1_0 returns Aggregation * ComparisonExpression returns Aggregation - * ComparisonExpression.Comparison_1_0 returns Aggregation + * ComparisonExpression.BinaryExpression_1_0 returns Aggregation * AdditiveExpression returns Aggregation * AdditiveExpression.BinaryExpression_1_0 returns Aggregation * MultiplicativeExpression returns Aggregation @@ -321,15 +339,27 @@ public class SolverLanguageSemanticSequencer extends AbstractDelegatingSemanticS * CastExpression returns Aggregation * CastExpression.CastExpression_1_0 returns Aggregation * UnaryExpression returns Aggregation - * AggregationExpression returns Aggregation + * BracedAggregateExpression returns Aggregation * Aggregation returns Aggregation * AtomicExpression returns Aggregation * * Constraint: - * (op=[NamedElement|QualifiedName] localVariables=LocalVariables? body=Expression condition=Expression?) + * (op=[Symbol|QualifiedName] value=Expression condition=Expression) */ protected void sequence_Aggregation(ISerializationContext context, Aggregation semanticObject) { - genericSequencer.createSequence(context, semanticObject); + if (errorAcceptor != null) { + if (transientValues.isValueTransient(semanticObject, SolverLanguagePackage.Literals.AGGREGATION__OP) == ValueTransient.YES) + errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, SolverLanguagePackage.Literals.AGGREGATION__OP)); + if (transientValues.isValueTransient(semanticObject, SolverLanguagePackage.Literals.AGGREGATION__VALUE) == ValueTransient.YES) + errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, SolverLanguagePackage.Literals.AGGREGATION__VALUE)); + if (transientValues.isValueTransient(semanticObject, SolverLanguagePackage.Literals.AGGREGATE_EXPRESSION__CONDITION) == ValueTransient.YES) + errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, SolverLanguagePackage.Literals.AGGREGATE_EXPRESSION__CONDITION)); + } + SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); + feeder.accept(grammarAccess.getAggregationAccess().getOpSymbolQualifiedNameParserRuleCall_0_0_1(), semanticObject.eGet(SolverLanguagePackage.Literals.AGGREGATION__OP, false)); + feeder.accept(grammarAccess.getAggregationAccess().getValueExpressionParserRuleCall_2_0(), semanticObject.getValue()); + feeder.accept(grammarAccess.getAggregationAccess().getConditionExpressionParserRuleCall_4_0(), semanticObject.getCondition()); + feeder.finish(); } @@ -347,42 +377,33 @@ public class SolverLanguageSemanticSequencer extends AbstractDelegatingSemanticS /** * Contexts: - * Statement returns Interpretation - * AssertionOrDefinition returns Interpretation + * Statement returns Assertion + * AssertionOrDefinition returns Assertion * * Constraint: - * (body=AssertionOrDefinition_Interpretation_1_0_0 range=Expression) + * (expression=AssertionOrDefinition_Assertion_1_0_0 range=Expression?) */ - protected void sequence_AssertionOrDefinition(ISerializationContext context, Interpretation semanticObject) { - if (errorAcceptor != null) { - if (transientValues.isValueTransient(semanticObject, SolverLanguagePackage.Literals.INTERPRETATION__BODY) == ValueTransient.YES) - errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, SolverLanguagePackage.Literals.INTERPRETATION__BODY)); - if (transientValues.isValueTransient(semanticObject, SolverLanguagePackage.Literals.INTERPRETATION__RANGE) == ValueTransient.YES) - errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, SolverLanguagePackage.Literals.INTERPRETATION__RANGE)); - } - SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); - feeder.accept(grammarAccess.getAssertionOrDefinitionAccess().getInterpretationBodyAction_1_0_0(), semanticObject.getBody()); - feeder.accept(grammarAccess.getAssertionOrDefinitionAccess().getRangeExpressionParserRuleCall_1_0_2_0(), semanticObject.getRange()); - feeder.finish(); + protected void sequence_AssertionOrDefinition(ISerializationContext context, Assertion semanticObject) { + genericSequencer.createSequence(context, semanticObject); } /** * Contexts: - * AssertionOrDefinition returns MetricDefinition + * AssertionOrDefinition returns FunctionDefinition * * Constraint: - * (head=AssertionOrDefinition_MetricDefinition_1_2_0 body=Expression) + * (head=AssertionOrDefinition_FunctionDefinition_1_2_0 body=Expression) */ - protected void sequence_AssertionOrDefinition(ISerializationContext context, MetricDefinition semanticObject) { + protected void sequence_AssertionOrDefinition(ISerializationContext context, FunctionDefinition semanticObject) { if (errorAcceptor != null) { - if (transientValues.isValueTransient(semanticObject, SolverLanguagePackage.Literals.METRIC_DEFINITION__HEAD) == ValueTransient.YES) - errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, SolverLanguagePackage.Literals.METRIC_DEFINITION__HEAD)); - if (transientValues.isValueTransient(semanticObject, SolverLanguagePackage.Literals.METRIC_DEFINITION__BODY) == ValueTransient.YES) - errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, SolverLanguagePackage.Literals.METRIC_DEFINITION__BODY)); + if (transientValues.isValueTransient(semanticObject, SolverLanguagePackage.Literals.FUNCTOR_DEFINITON__HEAD) == ValueTransient.YES) + errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, SolverLanguagePackage.Literals.FUNCTOR_DEFINITON__HEAD)); + if (transientValues.isValueTransient(semanticObject, SolverLanguagePackage.Literals.FUNCTOR_DEFINITON__BODY) == ValueTransient.YES) + errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, SolverLanguagePackage.Literals.FUNCTOR_DEFINITON__BODY)); } SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); - feeder.accept(grammarAccess.getAssertionOrDefinitionAccess().getMetricDefinitionHeadAction_1_2_0(), semanticObject.getHead()); + feeder.accept(grammarAccess.getAssertionOrDefinitionAccess().getFunctionDefinitionHeadAction_1_2_0(), semanticObject.getHead()); feeder.accept(grammarAccess.getAssertionOrDefinitionAccess().getBodyExpressionParserRuleCall_1_2_2_0(), semanticObject.getBody()); feeder.finish(); } @@ -390,12 +411,12 @@ public class SolverLanguageSemanticSequencer extends AbstractDelegatingSemanticS /** * Contexts: - * Statement returns MetricDefinition + * Statement returns FunctionDefinition * * Constraint: - * ((head=AssertionOrDefinition_MetricDefinition_1_2_0 body=Expression) | (type=[NamedElement|QualifiedName] head=Call body=Expression)) + * ((head=AssertionOrDefinition_FunctionDefinition_1_2_0 body=Expression) | (resultType=[Symbol|QualifiedName] head=Call body=Expression)) */ - protected void sequence_AssertionOrDefinition_MetricDefinition(ISerializationContext context, MetricDefinition semanticObject) { + protected void sequence_AssertionOrDefinition_FunctionDefinition(ISerializationContext context, FunctionDefinition semanticObject) { genericSequencer.createSequence(context, semanticObject); } @@ -409,10 +430,10 @@ public class SolverLanguageSemanticSequencer extends AbstractDelegatingSemanticS */ protected void sequence_AssertionOrDefinition(ISerializationContext context, PredicateDefinition semanticObject) { if (errorAcceptor != null) { - if (transientValues.isValueTransient(semanticObject, SolverLanguagePackage.Literals.PREDICATE_DEFINITION__HEAD) == ValueTransient.YES) - errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, SolverLanguagePackage.Literals.PREDICATE_DEFINITION__HEAD)); - if (transientValues.isValueTransient(semanticObject, SolverLanguagePackage.Literals.PREDICATE_DEFINITION__BODY) == ValueTransient.YES) - errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, SolverLanguagePackage.Literals.PREDICATE_DEFINITION__BODY)); + if (transientValues.isValueTransient(semanticObject, SolverLanguagePackage.Literals.FUNCTOR_DEFINITON__HEAD) == ValueTransient.YES) + errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, SolverLanguagePackage.Literals.FUNCTOR_DEFINITON__HEAD)); + if (transientValues.isValueTransient(semanticObject, SolverLanguagePackage.Literals.FUNCTOR_DEFINITON__BODY) == ValueTransient.YES) + errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, SolverLanguagePackage.Literals.FUNCTOR_DEFINITON__BODY)); } SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); feeder.accept(grammarAccess.getAssertionOrDefinitionAccess().getPredicateDefinitionHeadAction_1_1_0(), semanticObject.getHead()); @@ -436,6 +457,28 @@ public class SolverLanguageSemanticSequencer extends AbstractDelegatingSemanticS } + /** + * Contexts: + * Statement returns Attribute + * Attribute returns Attribute + * + * Constraint: + * (kind=AttributeKind target=[Symbol|QualifiedName]) + */ + protected void sequence_Attribute(ISerializationContext context, Attribute semanticObject) { + if (errorAcceptor != null) { + if (transientValues.isValueTransient(semanticObject, SolverLanguagePackage.Literals.ATTRIBUTE__KIND) == ValueTransient.YES) + errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, SolverLanguagePackage.Literals.ATTRIBUTE__KIND)); + if (transientValues.isValueTransient(semanticObject, SolverLanguagePackage.Literals.ATTRIBUTE__TARGET) == ValueTransient.YES) + errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, SolverLanguagePackage.Literals.ATTRIBUTE__TARGET)); + } + SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); + feeder.accept(grammarAccess.getAttributeAccess().getKindAttributeKindEnumRuleCall_0_0(), semanticObject.getKind()); + feeder.accept(grammarAccess.getAttributeAccess().getTargetSymbolQualifiedNameParserRuleCall_1_0_1(), semanticObject.eGet(SolverLanguagePackage.Literals.ATTRIBUTE__TARGET, false)); + feeder.finish(); + } + + /** * Contexts: * Multiplicity returns BoundedMultiplicity @@ -460,35 +503,32 @@ public class SolverLanguageSemanticSequencer extends AbstractDelegatingSemanticS /** * Contexts: - * Statement returns BoundedScopeDefinition - * ScopeDefinition returns BoundedScopeDefinition - * BoundedScopeDefinition returns BoundedScopeDefinition + * Statement returns BoundedScope + * ScopeDeclaration returns BoundedScope + * BoundedScope returns BoundedScope * * Constraint: - * ((lowerBound=INT? type=[NamedElement|QualifiedName] upperBound=INT) | (upperBound=INT type=[NamedElement|QualifiedName] lowerBound=INT?)) + * ((lowerBound=INT? type=[Symbol|QualifiedName] upperBound=INT) | (upperBound=INT type=[Symbol|QualifiedName] lowerBound=INT?)) */ - protected void sequence_BoundedScopeDefinition(ISerializationContext context, BoundedScopeDefinition semanticObject) { + protected void sequence_BoundedScope(ISerializationContext context, BoundedScope semanticObject) { genericSequencer.createSequence(context, semanticObject); } /** * Contexts: - * Statement returns Call - * AssertionOrDefinition returns Call - * AssertionOrDefinition.Interpretation_1_0_0 returns Call + * AssertionOrDefinition.Assertion_1_0_0 returns Call * AssertionOrDefinition.PredicateDefinition_1_1_0 returns Call - * AssertionOrDefinition.MetricDefinition_1_2_0 returns Call + * AssertionOrDefinition.FunctionDefinition_1_2_0 returns Call * Expression returns Call - * ImplicationExpression returns Call - * ImplicationExpression.BinaryExpression_1_0 returns Call + * Expression.Forall_2_1_0 returns Call * DisjunctiveExpression returns Call * DisjunctiveExpression.Disjunction_1_0_0 returns Call * DisjunctiveExpression.Case_1_1_0 returns Call * ConjunctiveExpression returns Call * ConjunctiveExpression.Conjunction_1_0 returns Call * ComparisonExpression returns Call - * ComparisonExpression.Comparison_1_0 returns Call + * ComparisonExpression.BinaryExpression_1_0 returns Call * AdditiveExpression returns Call * AdditiveExpression.BinaryExpression_1_0 returns Call * MultiplicativeExpression returns Call @@ -498,19 +538,24 @@ public class SolverLanguageSemanticSequencer extends AbstractDelegatingSemanticS * CastExpression returns Call * CastExpression.CastExpression_1_0 returns Call * UnaryExpression returns Call - * AggregationExpression returns Call + * BracedAggregateExpression returns Call * AtomicExpression returns Call * Call returns Call * * Constraint: - * ( - * functor=Reference - * (transitiveClosure?=TRANSITIVE_CLOSURE | reflexiveTransitiveClosure?=REFLEXIVE_TRANSITIVE_CLOSURE)? - * argumentList=ArgumentList - * ) + * (functor=Reference argumentList=ArgumentList) */ protected void sequence_Call(ISerializationContext context, Call semanticObject) { - genericSequencer.createSequence(context, semanticObject); + if (errorAcceptor != null) { + if (transientValues.isValueTransient(semanticObject, SolverLanguagePackage.Literals.CALL__FUNCTOR) == ValueTransient.YES) + errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, SolverLanguagePackage.Literals.CALL__FUNCTOR)); + if (transientValues.isValueTransient(semanticObject, SolverLanguagePackage.Literals.CALL__ARGUMENT_LIST) == ValueTransient.YES) + errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, SolverLanguagePackage.Literals.CALL__ARGUMENT_LIST)); + } + SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); + feeder.accept(grammarAccess.getCallAccess().getFunctorReferenceParserRuleCall_0_0(), semanticObject.getFunctor()); + feeder.accept(grammarAccess.getCallAccess().getArgumentListArgumentListParserRuleCall_1_0(), semanticObject.getArgumentList()); + feeder.finish(); } @@ -537,21 +582,18 @@ public class SolverLanguageSemanticSequencer extends AbstractDelegatingSemanticS /** * Contexts: - * Statement returns CastExpression - * AssertionOrDefinition returns CastExpression - * AssertionOrDefinition.Interpretation_1_0_0 returns CastExpression + * AssertionOrDefinition.Assertion_1_0_0 returns CastExpression * AssertionOrDefinition.PredicateDefinition_1_1_0 returns CastExpression - * AssertionOrDefinition.MetricDefinition_1_2_0 returns CastExpression + * AssertionOrDefinition.FunctionDefinition_1_2_0 returns CastExpression * Expression returns CastExpression - * ImplicationExpression returns CastExpression - * ImplicationExpression.BinaryExpression_1_0 returns CastExpression + * Expression.Forall_2_1_0 returns CastExpression * DisjunctiveExpression returns CastExpression * DisjunctiveExpression.Disjunction_1_0_0 returns CastExpression * DisjunctiveExpression.Case_1_1_0 returns CastExpression * ConjunctiveExpression returns CastExpression * ConjunctiveExpression.Conjunction_1_0 returns CastExpression * ComparisonExpression returns CastExpression - * ComparisonExpression.Comparison_1_0 returns CastExpression + * ComparisonExpression.BinaryExpression_1_0 returns CastExpression * AdditiveExpression returns CastExpression * AdditiveExpression.BinaryExpression_1_0 returns CastExpression * MultiplicativeExpression returns CastExpression @@ -561,110 +603,100 @@ public class SolverLanguageSemanticSequencer extends AbstractDelegatingSemanticS * CastExpression returns CastExpression * CastExpression.CastExpression_1_0 returns CastExpression * UnaryExpression returns CastExpression - * AggregationExpression returns CastExpression + * BracedAggregateExpression returns CastExpression * AtomicExpression returns CastExpression * * Constraint: - * (body=CastExpression_CastExpression_1_0 type=[NamedElement|QualifiedName]) + * (body=CastExpression_CastExpression_1_0 targetType=[Symbol|QualifiedName]) */ protected void sequence_CastExpression(ISerializationContext context, CastExpression semanticObject) { if (errorAcceptor != null) { if (transientValues.isValueTransient(semanticObject, SolverLanguagePackage.Literals.CAST_EXPRESSION__BODY) == ValueTransient.YES) errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, SolverLanguagePackage.Literals.CAST_EXPRESSION__BODY)); - if (transientValues.isValueTransient(semanticObject, SolverLanguagePackage.Literals.CAST_EXPRESSION__TYPE) == ValueTransient.YES) - errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, SolverLanguagePackage.Literals.CAST_EXPRESSION__TYPE)); + if (transientValues.isValueTransient(semanticObject, SolverLanguagePackage.Literals.CAST_EXPRESSION__TARGET_TYPE) == ValueTransient.YES) + errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, SolverLanguagePackage.Literals.CAST_EXPRESSION__TARGET_TYPE)); } SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); feeder.accept(grammarAccess.getCastExpressionAccess().getCastExpressionBodyAction_1_0(), semanticObject.getBody()); - feeder.accept(grammarAccess.getCastExpressionAccess().getTypeNamedElementQualifiedNameParserRuleCall_1_2_0_1(), semanticObject.eGet(SolverLanguagePackage.Literals.CAST_EXPRESSION__TYPE, false)); + feeder.accept(grammarAccess.getCastExpressionAccess().getTargetTypeSymbolQualifiedNameParserRuleCall_1_2_0_1(), semanticObject.eGet(SolverLanguagePackage.Literals.CAST_EXPRESSION__TARGET_TYPE, false)); feeder.finish(); } /** * Contexts: - * Statement returns ClassDefinition - * ClassDefinition returns ClassDefinition + * Statement returns ClassDeclaration + * ClassDeclaration returns ClassDeclaration * * Constraint: - * ( - * abstract?='abstract'? - * name=ID - * (superclasses+=[NamedElement|QualifiedName] superclasses+=[NamedElement|QualifiedName]*)? - * members+=MemberDefinition* - * ) + * ((abstract?='abstract' | root?='root')* name=ID (supertypes+=[Symbol|QualifiedName] supertypes+=[Symbol|QualifiedName]*)? fields+=Field*) */ - protected void sequence_ClassDefinition(ISerializationContext context, ClassDefinition semanticObject) { + protected void sequence_ClassDeclaration(ISerializationContext context, ClassDeclaration semanticObject) { genericSequencer.createSequence(context, semanticObject); } /** * Contexts: - * Statement returns Comparison - * AssertionOrDefinition returns Comparison - * AssertionOrDefinition.Interpretation_1_0_0 returns Comparison - * AssertionOrDefinition.PredicateDefinition_1_1_0 returns Comparison - * AssertionOrDefinition.MetricDefinition_1_2_0 returns Comparison - * Expression returns Comparison - * ImplicationExpression returns Comparison - * ImplicationExpression.BinaryExpression_1_0 returns Comparison - * DisjunctiveExpression returns Comparison - * DisjunctiveExpression.Disjunction_1_0_0 returns Comparison - * DisjunctiveExpression.Case_1_1_0 returns Comparison - * ConjunctiveExpression returns Comparison - * ConjunctiveExpression.Conjunction_1_0 returns Comparison - * ComparisonExpression returns Comparison - * ComparisonExpression.Comparison_1_0 returns Comparison - * AdditiveExpression returns Comparison - * AdditiveExpression.BinaryExpression_1_0 returns Comparison - * MultiplicativeExpression returns Comparison - * MultiplicativeExpression.BinaryExpression_1_0 returns Comparison - * ExponentialExpression returns Comparison - * ExponentialExpression.BinaryExpression_1_0 returns Comparison - * CastExpression returns Comparison - * CastExpression.CastExpression_1_0 returns Comparison - * UnaryExpression returns Comparison - * AggregationExpression returns Comparison - * AtomicExpression returns Comparison + * AssertionOrDefinition.Assertion_1_0_0 returns ConditionalExpression + * AssertionOrDefinition.PredicateDefinition_1_1_0 returns ConditionalExpression + * AssertionOrDefinition.FunctionDefinition_1_2_0 returns ConditionalExpression + * Expression returns ConditionalExpression + * Expression.Forall_2_1_0 returns ConditionalExpression + * ConditionalExpression returns ConditionalExpression + * DisjunctiveExpression returns ConditionalExpression + * DisjunctiveExpression.Disjunction_1_0_0 returns ConditionalExpression + * DisjunctiveExpression.Case_1_1_0 returns ConditionalExpression + * ConjunctiveExpression returns ConditionalExpression + * ConjunctiveExpression.Conjunction_1_0 returns ConditionalExpression + * ComparisonExpression returns ConditionalExpression + * ComparisonExpression.BinaryExpression_1_0 returns ConditionalExpression + * AdditiveExpression returns ConditionalExpression + * AdditiveExpression.BinaryExpression_1_0 returns ConditionalExpression + * MultiplicativeExpression returns ConditionalExpression + * MultiplicativeExpression.BinaryExpression_1_0 returns ConditionalExpression + * ExponentialExpression returns ConditionalExpression + * ExponentialExpression.BinaryExpression_1_0 returns ConditionalExpression + * CastExpression returns ConditionalExpression + * CastExpression.CastExpression_1_0 returns ConditionalExpression + * UnaryExpression returns ConditionalExpression + * BracedAggregateExpression returns ConditionalExpression + * AtomicExpression returns ConditionalExpression * * Constraint: - * (left=ComparisonExpression_Comparison_1_0 op=ComparisonOperator right=AdditiveExpression) + * (condition=DisjunctiveExpression then=Expression else=Expression) */ - protected void sequence_ComparisonExpression(ISerializationContext context, Comparison semanticObject) { + protected void sequence_ConditionalExpression(ISerializationContext context, ConditionalExpression semanticObject) { if (errorAcceptor != null) { - if (transientValues.isValueTransient(semanticObject, SolverLanguagePackage.Literals.COMPARISON__LEFT) == ValueTransient.YES) - errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, SolverLanguagePackage.Literals.COMPARISON__LEFT)); - if (transientValues.isValueTransient(semanticObject, SolverLanguagePackage.Literals.COMPARISON__OP) == ValueTransient.YES) - errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, SolverLanguagePackage.Literals.COMPARISON__OP)); - if (transientValues.isValueTransient(semanticObject, SolverLanguagePackage.Literals.COMPARISON__RIGHT) == ValueTransient.YES) - errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, SolverLanguagePackage.Literals.COMPARISON__RIGHT)); + if (transientValues.isValueTransient(semanticObject, SolverLanguagePackage.Literals.CONDITIONAL_EXPRESSION__CONDITION) == ValueTransient.YES) + errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, SolverLanguagePackage.Literals.CONDITIONAL_EXPRESSION__CONDITION)); + if (transientValues.isValueTransient(semanticObject, SolverLanguagePackage.Literals.CONDITIONAL_EXPRESSION__THEN) == ValueTransient.YES) + errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, SolverLanguagePackage.Literals.CONDITIONAL_EXPRESSION__THEN)); + if (transientValues.isValueTransient(semanticObject, SolverLanguagePackage.Literals.CONDITIONAL_EXPRESSION__ELSE) == ValueTransient.YES) + errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, SolverLanguagePackage.Literals.CONDITIONAL_EXPRESSION__ELSE)); } SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); - feeder.accept(grammarAccess.getComparisonExpressionAccess().getComparisonLeftAction_1_0(), semanticObject.getLeft()); - feeder.accept(grammarAccess.getComparisonExpressionAccess().getOpComparisonOperatorEnumRuleCall_1_1_0(), semanticObject.getOp()); - feeder.accept(grammarAccess.getComparisonExpressionAccess().getRightAdditiveExpressionParserRuleCall_1_2_0(), semanticObject.getRight()); + feeder.accept(grammarAccess.getConditionalExpressionAccess().getConditionDisjunctiveExpressionParserRuleCall_1_0(), semanticObject.getCondition()); + feeder.accept(grammarAccess.getConditionalExpressionAccess().getThenExpressionParserRuleCall_3_0(), semanticObject.getThen()); + feeder.accept(grammarAccess.getConditionalExpressionAccess().getElseExpressionParserRuleCall_5_0(), semanticObject.getElse()); feeder.finish(); } /** * Contexts: - * Statement returns Conjunction - * AssertionOrDefinition returns Conjunction - * AssertionOrDefinition.Interpretation_1_0_0 returns Conjunction + * AssertionOrDefinition.Assertion_1_0_0 returns Conjunction * AssertionOrDefinition.PredicateDefinition_1_1_0 returns Conjunction - * AssertionOrDefinition.MetricDefinition_1_2_0 returns Conjunction + * AssertionOrDefinition.FunctionDefinition_1_2_0 returns Conjunction * Expression returns Conjunction - * ImplicationExpression returns Conjunction - * ImplicationExpression.BinaryExpression_1_0 returns Conjunction + * Expression.Forall_2_1_0 returns Conjunction * DisjunctiveExpression returns Conjunction * DisjunctiveExpression.Disjunction_1_0_0 returns Conjunction * DisjunctiveExpression.Case_1_1_0 returns Conjunction * ConjunctiveExpression returns Conjunction * ConjunctiveExpression.Conjunction_1_0 returns Conjunction * ComparisonExpression returns Conjunction - * ComparisonExpression.Comparison_1_0 returns Conjunction + * ComparisonExpression.BinaryExpression_1_0 returns Conjunction * AdditiveExpression returns Conjunction * AdditiveExpression.BinaryExpression_1_0 returns Conjunction * MultiplicativeExpression returns Conjunction @@ -674,7 +706,7 @@ public class SolverLanguageSemanticSequencer extends AbstractDelegatingSemanticS * CastExpression returns Conjunction * CastExpression.CastExpression_1_0 returns Conjunction * UnaryExpression returns Conjunction - * AggregationExpression returns Conjunction + * BracedAggregateExpression returns Conjunction * AtomicExpression returns Conjunction * * Constraint: @@ -687,43 +719,72 @@ public class SolverLanguageSemanticSequencer extends AbstractDelegatingSemanticS /** * Contexts: - * Statement returns DefaultDefinition - * DefaultDefinition returns DefaultDefinition + * AssertionOrDefinition.Assertion_1_0_0 returns Count + * AssertionOrDefinition.PredicateDefinition_1_1_0 returns Count + * AssertionOrDefinition.FunctionDefinition_1_2_0 returns Count + * Expression returns Count + * Expression.Forall_2_1_0 returns Count + * DisjunctiveExpression returns Count + * DisjunctiveExpression.Disjunction_1_0_0 returns Count + * DisjunctiveExpression.Case_1_1_0 returns Count + * ConjunctiveExpression returns Count + * ConjunctiveExpression.Conjunction_1_0 returns Count + * ComparisonExpression returns Count + * ComparisonExpression.BinaryExpression_1_0 returns Count + * AdditiveExpression returns Count + * AdditiveExpression.BinaryExpression_1_0 returns Count + * MultiplicativeExpression returns Count + * MultiplicativeExpression.BinaryExpression_1_0 returns Count + * ExponentialExpression returns Count + * ExponentialExpression.BinaryExpression_1_0 returns Count + * CastExpression returns Count + * CastExpression.CastExpression_1_0 returns Count + * UnaryExpression returns Count + * BracedAggregateExpression returns Count + * Count returns Count + * AtomicExpression returns Count * * Constraint: - * (head=Call range=Expression) + * condition=Expression */ - protected void sequence_DefaultDefinition(ISerializationContext context, DefaultDefinition semanticObject) { + protected void sequence_Count(ISerializationContext context, Count semanticObject) { if (errorAcceptor != null) { - if (transientValues.isValueTransient(semanticObject, SolverLanguagePackage.Literals.DEFAULT_DEFINITION__HEAD) == ValueTransient.YES) - errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, SolverLanguagePackage.Literals.DEFAULT_DEFINITION__HEAD)); - if (transientValues.isValueTransient(semanticObject, SolverLanguagePackage.Literals.DEFAULT_DEFINITION__RANGE) == ValueTransient.YES) - errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, SolverLanguagePackage.Literals.DEFAULT_DEFINITION__RANGE)); + if (transientValues.isValueTransient(semanticObject, SolverLanguagePackage.Literals.AGGREGATE_EXPRESSION__CONDITION) == ValueTransient.YES) + errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, SolverLanguagePackage.Literals.AGGREGATE_EXPRESSION__CONDITION)); } SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); - feeder.accept(grammarAccess.getDefaultDefinitionAccess().getHeadCallParserRuleCall_1_0(), semanticObject.getHead()); - feeder.accept(grammarAccess.getDefaultDefinitionAccess().getRangeExpressionParserRuleCall_3_0(), semanticObject.getRange()); + feeder.accept(grammarAccess.getCountAccess().getConditionExpressionParserRuleCall_2_0(), semanticObject.getCondition()); feeder.finish(); } /** * Contexts: - * Statement returns Disjunction - * AssertionOrDefinition returns Disjunction - * AssertionOrDefinition.Interpretation_1_0_0 returns Disjunction + * Statement returns DefaultAssertion + * DefaultAssertion returns DefaultAssertion + * + * Constraint: + * (expression=Call range=Expression?) + */ + protected void sequence_DefaultAssertion(ISerializationContext context, DefaultAssertion semanticObject) { + genericSequencer.createSequence(context, semanticObject); + } + + + /** + * Contexts: + * AssertionOrDefinition.Assertion_1_0_0 returns Disjunction * AssertionOrDefinition.PredicateDefinition_1_1_0 returns Disjunction - * AssertionOrDefinition.MetricDefinition_1_2_0 returns Disjunction + * AssertionOrDefinition.FunctionDefinition_1_2_0 returns Disjunction * Expression returns Disjunction - * ImplicationExpression returns Disjunction - * ImplicationExpression.BinaryExpression_1_0 returns Disjunction + * Expression.Forall_2_1_0 returns Disjunction * DisjunctiveExpression returns Disjunction * DisjunctiveExpression.Disjunction_1_0_0 returns Disjunction * DisjunctiveExpression.Case_1_1_0 returns Disjunction * ConjunctiveExpression returns Disjunction * ConjunctiveExpression.Conjunction_1_0 returns Disjunction * ComparisonExpression returns Disjunction - * ComparisonExpression.Comparison_1_0 returns Disjunction + * ComparisonExpression.BinaryExpression_1_0 returns Disjunction * AdditiveExpression returns Disjunction * AdditiveExpression.BinaryExpression_1_0 returns Disjunction * MultiplicativeExpression returns Disjunction @@ -733,7 +794,7 @@ public class SolverLanguageSemanticSequencer extends AbstractDelegatingSemanticS * CastExpression returns Disjunction * CastExpression.CastExpression_1_0 returns Disjunction * UnaryExpression returns Disjunction - * AggregationExpression returns Disjunction + * BracedAggregateExpression returns Disjunction * AtomicExpression returns Disjunction * * Constraint: @@ -746,21 +807,18 @@ public class SolverLanguageSemanticSequencer extends AbstractDelegatingSemanticS /** * Contexts: - * Statement returns Switch - * AssertionOrDefinition returns Switch - * AssertionOrDefinition.Interpretation_1_0_0 returns Switch + * AssertionOrDefinition.Assertion_1_0_0 returns Switch * AssertionOrDefinition.PredicateDefinition_1_1_0 returns Switch - * AssertionOrDefinition.MetricDefinition_1_2_0 returns Switch + * AssertionOrDefinition.FunctionDefinition_1_2_0 returns Switch * Expression returns Switch - * ImplicationExpression returns Switch - * ImplicationExpression.BinaryExpression_1_0 returns Switch + * Expression.Forall_2_1_0 returns Switch * DisjunctiveExpression returns Switch * DisjunctiveExpression.Disjunction_1_0_0 returns Switch * DisjunctiveExpression.Case_1_1_0 returns Switch * ConjunctiveExpression returns Switch * ConjunctiveExpression.Conjunction_1_0 returns Switch * ComparisonExpression returns Switch - * ComparisonExpression.Comparison_1_0 returns Switch + * ComparisonExpression.BinaryExpression_1_0 returns Switch * AdditiveExpression returns Switch * AdditiveExpression.BinaryExpression_1_0 returns Switch * MultiplicativeExpression returns Switch @@ -770,7 +828,7 @@ public class SolverLanguageSemanticSequencer extends AbstractDelegatingSemanticS * CastExpression returns Switch * CastExpression.CastExpression_1_0 returns Switch * UnaryExpression returns Switch - * AggregationExpression returns Switch + * BracedAggregateExpression returns Switch * AtomicExpression returns Switch * * Constraint: @@ -804,81 +862,109 @@ public class SolverLanguageSemanticSequencer extends AbstractDelegatingSemanticS /** * Contexts: - * Statement returns EmptyIntervalLiteral - * AssertionOrDefinition returns EmptyIntervalLiteral - * AssertionOrDefinition.Interpretation_1_0_0 returns EmptyIntervalLiteral - * AssertionOrDefinition.PredicateDefinition_1_1_0 returns EmptyIntervalLiteral - * AssertionOrDefinition.MetricDefinition_1_2_0 returns EmptyIntervalLiteral - * Expression returns EmptyIntervalLiteral - * ImplicationExpression returns EmptyIntervalLiteral - * ImplicationExpression.BinaryExpression_1_0 returns EmptyIntervalLiteral - * DisjunctiveExpression returns EmptyIntervalLiteral - * DisjunctiveExpression.Disjunction_1_0_0 returns EmptyIntervalLiteral - * DisjunctiveExpression.Case_1_1_0 returns EmptyIntervalLiteral - * ConjunctiveExpression returns EmptyIntervalLiteral - * ConjunctiveExpression.Conjunction_1_0 returns EmptyIntervalLiteral - * ComparisonExpression returns EmptyIntervalLiteral - * ComparisonExpression.Comparison_1_0 returns EmptyIntervalLiteral - * AdditiveExpression returns EmptyIntervalLiteral - * AdditiveExpression.BinaryExpression_1_0 returns EmptyIntervalLiteral - * MultiplicativeExpression returns EmptyIntervalLiteral - * MultiplicativeExpression.BinaryExpression_1_0 returns EmptyIntervalLiteral - * ExponentialExpression returns EmptyIntervalLiteral - * ExponentialExpression.BinaryExpression_1_0 returns EmptyIntervalLiteral - * CastExpression returns EmptyIntervalLiteral - * CastExpression.CastExpression_1_0 returns EmptyIntervalLiteral - * UnaryExpression returns EmptyIntervalLiteral - * AggregationExpression returns EmptyIntervalLiteral - * AtomicExpression returns EmptyIntervalLiteral - * Literal returns EmptyIntervalLiteral - * EmptyIntervalLiteral returns EmptyIntervalLiteral + * AssertionOrDefinition.Assertion_1_0_0 returns EmptyLiteral + * AssertionOrDefinition.PredicateDefinition_1_1_0 returns EmptyLiteral + * AssertionOrDefinition.FunctionDefinition_1_2_0 returns EmptyLiteral + * Expression returns EmptyLiteral + * Expression.Forall_2_1_0 returns EmptyLiteral + * DisjunctiveExpression returns EmptyLiteral + * DisjunctiveExpression.Disjunction_1_0_0 returns EmptyLiteral + * DisjunctiveExpression.Case_1_1_0 returns EmptyLiteral + * ConjunctiveExpression returns EmptyLiteral + * ConjunctiveExpression.Conjunction_1_0 returns EmptyLiteral + * ComparisonExpression returns EmptyLiteral + * ComparisonExpression.BinaryExpression_1_0 returns EmptyLiteral + * AdditiveExpression returns EmptyLiteral + * AdditiveExpression.BinaryExpression_1_0 returns EmptyLiteral + * MultiplicativeExpression returns EmptyLiteral + * MultiplicativeExpression.BinaryExpression_1_0 returns EmptyLiteral + * ExponentialExpression returns EmptyLiteral + * ExponentialExpression.BinaryExpression_1_0 returns EmptyLiteral + * CastExpression returns EmptyLiteral + * CastExpression.CastExpression_1_0 returns EmptyLiteral + * UnaryExpression returns EmptyLiteral + * BracedAggregateExpression returns EmptyLiteral + * AtomicExpression returns EmptyLiteral + * Literal returns EmptyLiteral + * EmptyLiteral returns EmptyLiteral * * Constraint: - * {EmptyIntervalLiteral} + * {EmptyLiteral} */ - protected void sequence_EmptyIntervalLiteral(ISerializationContext context, EmptyIntervalLiteral semanticObject) { + protected void sequence_EmptyLiteral(ISerializationContext context, EmptyLiteral semanticObject) { genericSequencer.createSequence(context, semanticObject); } + /** + * Contexts: + * Statement returns EnumDeclaration + * EnumDeclaration returns EnumDeclaration + * + * Constraint: + * (name=ID (literals+=EnumLiteral literals+=EnumLiteral*)?) + */ + protected void sequence_EnumDeclaration(ISerializationContext context, EnumDeclaration semanticObject) { + genericSequencer.createSequence(context, semanticObject); + } + + + /** + * Contexts: + * EnumLiteral returns EnumLiteral + * + * Constraint: + * name=ID + */ + protected void sequence_EnumLiteral(ISerializationContext context, EnumLiteral semanticObject) { + if (errorAcceptor != null) { + if (transientValues.isValueTransient(semanticObject, SolverLanguagePackage.Literals.ENUM_LITERAL__NAME) == ValueTransient.YES) + errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, SolverLanguagePackage.Literals.ENUM_LITERAL__NAME)); + } + SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); + feeder.accept(grammarAccess.getEnumLiteralAccess().getNameIDTerminalRuleCall_0(), semanticObject.getName()); + feeder.finish(); + } + + /** * Contexts: * Multiplicity returns ExactMultiplicity * ExactMultiplicity returns ExactMultiplicity * * Constraint: - * multiplicity=UpperMultiplicty + * value=UpperMultiplicty */ protected void sequence_ExactMultiplicity(ISerializationContext context, ExactMultiplicity semanticObject) { if (errorAcceptor != null) { - if (transientValues.isValueTransient(semanticObject, SolverLanguagePackage.Literals.EXACT_MULTIPLICITY__MULTIPLICITY) == ValueTransient.YES) - errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, SolverLanguagePackage.Literals.EXACT_MULTIPLICITY__MULTIPLICITY)); + if (transientValues.isValueTransient(semanticObject, SolverLanguagePackage.Literals.EXACT_MULTIPLICITY__VALUE) == ValueTransient.YES) + errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, SolverLanguagePackage.Literals.EXACT_MULTIPLICITY__VALUE)); } SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); - feeder.accept(grammarAccess.getExactMultiplicityAccess().getMultiplicityUpperMultiplictyParserRuleCall_1_0(), semanticObject.getMultiplicity()); + feeder.accept(grammarAccess.getExactMultiplicityAccess().getValueUpperMultiplictyParserRuleCall_1_0(), semanticObject.getValue()); feeder.finish(); } /** * Contexts: - * Statement returns ExactScopeDefinition - * ScopeDefinition returns ExactScopeDefinition - * ExactScopeDefinition returns ExactScopeDefinition + * Statement returns ExactScope + * ScopeDeclaration returns ExactScope + * ExactScope returns ExactScope * * Constraint: - * (type=[NamedElement|QualifiedName] exactScope=INT) + * (type=[Symbol|QualifiedName] size=INT) */ - protected void sequence_ExactScopeDefinition(ISerializationContext context, ExactScopeDefinition semanticObject) { + protected void sequence_ExactScope(ISerializationContext context, ExactScope semanticObject) { if (errorAcceptor != null) { - if (transientValues.isValueTransient(semanticObject, SolverLanguagePackage.Literals.SCOPE_DEFINITION__TYPE) == ValueTransient.YES) - errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, SolverLanguagePackage.Literals.SCOPE_DEFINITION__TYPE)); - if (transientValues.isValueTransient(semanticObject, SolverLanguagePackage.Literals.EXACT_SCOPE_DEFINITION__EXACT_SCOPE) == ValueTransient.YES) - errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, SolverLanguagePackage.Literals.EXACT_SCOPE_DEFINITION__EXACT_SCOPE)); + if (transientValues.isValueTransient(semanticObject, SolverLanguagePackage.Literals.SCOPE_DECLARATION__TYPE) == ValueTransient.YES) + errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, SolverLanguagePackage.Literals.SCOPE_DECLARATION__TYPE)); + if (transientValues.isValueTransient(semanticObject, SolverLanguagePackage.Literals.EXACT_SCOPE__SIZE) == ValueTransient.YES) + errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, SolverLanguagePackage.Literals.EXACT_SCOPE__SIZE)); } SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); - feeder.accept(grammarAccess.getExactScopeDefinitionAccess().getTypeNamedElementQualifiedNameParserRuleCall_1_0_1(), semanticObject.eGet(SolverLanguagePackage.Literals.SCOPE_DEFINITION__TYPE, false)); - feeder.accept(grammarAccess.getExactScopeDefinitionAccess().getExactScopeINTTerminalRuleCall_3_0(), semanticObject.getExactScope()); + feeder.accept(grammarAccess.getExactScopeAccess().getTypeSymbolQualifiedNameParserRuleCall_1_0_1(), semanticObject.eGet(SolverLanguagePackage.Literals.SCOPE_DECLARATION__TYPE, false)); + feeder.accept(grammarAccess.getExactScopeAccess().getSizeINTTerminalRuleCall_3_0(), semanticObject.getSize()); feeder.finish(); } @@ -889,171 +975,204 @@ public class SolverLanguageSemanticSequencer extends AbstractDelegatingSemanticS * ExpressionArgument returns ExpressionArgument * * Constraint: - * body=ComparisonExpression + * expression=ComparisonExpression */ protected void sequence_ExpressionArgument(ISerializationContext context, ExpressionArgument semanticObject) { if (errorAcceptor != null) { - if (transientValues.isValueTransient(semanticObject, SolverLanguagePackage.Literals.EXPRESSION_ARGUMENT__BODY) == ValueTransient.YES) - errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, SolverLanguagePackage.Literals.EXPRESSION_ARGUMENT__BODY)); + if (transientValues.isValueTransient(semanticObject, SolverLanguagePackage.Literals.EXPRESSION_ARGUMENT__EXPRESSION) == ValueTransient.YES) + errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, SolverLanguagePackage.Literals.EXPRESSION_ARGUMENT__EXPRESSION)); } SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); - feeder.accept(grammarAccess.getExpressionArgumentAccess().getBodyComparisonExpressionParserRuleCall_0(), semanticObject.getBody()); + feeder.accept(grammarAccess.getExpressionArgumentAccess().getExpressionComparisonExpressionParserRuleCall_0(), semanticObject.getExpression()); feeder.finish(); } /** * Contexts: - * Statement returns ExternAggregatorDefinition - * ExternAggregatorDefinition returns ExternAggregatorDefinition + * AssertionOrDefinition.Assertion_1_0_0 returns Forall + * AssertionOrDefinition.PredicateDefinition_1_1_0 returns Forall + * AssertionOrDefinition.FunctionDefinition_1_2_0 returns Forall + * Expression returns Forall + * Expression.Forall_2_1_0 returns Forall + * DisjunctiveExpression returns Forall + * DisjunctiveExpression.Disjunction_1_0_0 returns Forall + * DisjunctiveExpression.Case_1_1_0 returns Forall + * ConjunctiveExpression returns Forall + * ConjunctiveExpression.Conjunction_1_0 returns Forall + * ComparisonExpression returns Forall + * ComparisonExpression.BinaryExpression_1_0 returns Forall + * AdditiveExpression returns Forall + * AdditiveExpression.BinaryExpression_1_0 returns Forall + * MultiplicativeExpression returns Forall + * MultiplicativeExpression.BinaryExpression_1_0 returns Forall + * ExponentialExpression returns Forall + * ExponentialExpression.BinaryExpression_1_0 returns Forall + * CastExpression returns Forall + * CastExpression.CastExpression_1_0 returns Forall + * UnaryExpression returns Forall + * BracedAggregateExpression returns Forall + * AtomicExpression returns Forall * * Constraint: - * (type=[NamedElement|QualifiedName] name=QualifiedName inputType=[NamedElement|QualifiedName]) + * (condition=Expression_Forall_2_1_0 body=DisjunctiveExpression) */ - protected void sequence_ExternAggregatorDefinition(ISerializationContext context, ExternAggregatorDefinition semanticObject) { + protected void sequence_Expression(ISerializationContext context, Forall semanticObject) { if (errorAcceptor != null) { - if (transientValues.isValueTransient(semanticObject, SolverLanguagePackage.Literals.EXTERN_AGGREGATOR_DEFINITION__TYPE) == ValueTransient.YES) - errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, SolverLanguagePackage.Literals.EXTERN_AGGREGATOR_DEFINITION__TYPE)); - if (transientValues.isValueTransient(semanticObject, SolverLanguagePackage.Literals.EXTERN_AGGREGATOR_DEFINITION__NAME) == ValueTransient.YES) - errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, SolverLanguagePackage.Literals.EXTERN_AGGREGATOR_DEFINITION__NAME)); - if (transientValues.isValueTransient(semanticObject, SolverLanguagePackage.Literals.EXTERN_AGGREGATOR_DEFINITION__INPUT_TYPE) == ValueTransient.YES) - errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, SolverLanguagePackage.Literals.EXTERN_AGGREGATOR_DEFINITION__INPUT_TYPE)); + if (transientValues.isValueTransient(semanticObject, SolverLanguagePackage.Literals.AGGREGATE_EXPRESSION__CONDITION) == ValueTransient.YES) + errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, SolverLanguagePackage.Literals.AGGREGATE_EXPRESSION__CONDITION)); + if (transientValues.isValueTransient(semanticObject, SolverLanguagePackage.Literals.FORALL__BODY) == ValueTransient.YES) + errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, SolverLanguagePackage.Literals.FORALL__BODY)); } SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); - feeder.accept(grammarAccess.getExternAggregatorDefinitionAccess().getTypeNamedElementQualifiedNameParserRuleCall_1_0_1(), semanticObject.eGet(SolverLanguagePackage.Literals.EXTERN_AGGREGATOR_DEFINITION__TYPE, false)); - feeder.accept(grammarAccess.getExternAggregatorDefinitionAccess().getNameQualifiedNameParserRuleCall_2_0(), semanticObject.getName()); - feeder.accept(grammarAccess.getExternAggregatorDefinitionAccess().getInputTypeNamedElementQualifiedNameParserRuleCall_4_0_1(), semanticObject.eGet(SolverLanguagePackage.Literals.EXTERN_AGGREGATOR_DEFINITION__INPUT_TYPE, false)); + feeder.accept(grammarAccess.getExpressionAccess().getForallConditionAction_2_1_0(), semanticObject.getCondition()); + feeder.accept(grammarAccess.getExpressionAccess().getBodyDisjunctiveExpressionParserRuleCall_2_1_2_0(), semanticObject.getBody()); feeder.finish(); } /** * Contexts: - * Statement returns ExternDatatypeDefinition - * ExternDatatypeDefinition returns ExternDatatypeDefinition + * Statement returns ExternAggregationOperatorDeclaration + * ExternDeclaration returns ExternAggregationOperatorDeclaration + * ExternAggregationOperatorDeclaration returns ExternAggregationOperatorDeclaration * * Constraint: - * (name=QualifiedName supertypes+=[NamedElement|QualifiedName] supertypes+=[NamedElement|QualifiedName]*) + * (resultType=[Symbol|QualifiedName] name=QualifiedName argumentType=[Symbol|QualifiedName]) */ - protected void sequence_ExternDatatypeDefinition(ISerializationContext context, ExternDatatypeDefinition semanticObject) { - genericSequencer.createSequence(context, semanticObject); + protected void sequence_ExternAggregationOperatorDeclaration(ISerializationContext context, ExternAggregationOperatorDeclaration semanticObject) { + if (errorAcceptor != null) { + if (transientValues.isValueTransient(semanticObject, SolverLanguagePackage.Literals.EXTERN_AGGREGATION_OPERATOR_DECLARATION__RESULT_TYPE) == ValueTransient.YES) + errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, SolverLanguagePackage.Literals.EXTERN_AGGREGATION_OPERATOR_DECLARATION__RESULT_TYPE)); + if (transientValues.isValueTransient(semanticObject, SolverLanguagePackage.Literals.EXTERN_DECLARATION__NAME) == ValueTransient.YES) + errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, SolverLanguagePackage.Literals.EXTERN_DECLARATION__NAME)); + if (transientValues.isValueTransient(semanticObject, SolverLanguagePackage.Literals.EXTERN_AGGREGATION_OPERATOR_DECLARATION__ARGUMENT_TYPE) == ValueTransient.YES) + errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, SolverLanguagePackage.Literals.EXTERN_AGGREGATION_OPERATOR_DECLARATION__ARGUMENT_TYPE)); + } + SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); + feeder.accept(grammarAccess.getExternAggregationOperatorDeclarationAccess().getResultTypeSymbolQualifiedNameParserRuleCall_1_0_1(), semanticObject.eGet(SolverLanguagePackage.Literals.EXTERN_AGGREGATION_OPERATOR_DECLARATION__RESULT_TYPE, false)); + feeder.accept(grammarAccess.getExternAggregationOperatorDeclarationAccess().getNameQualifiedNameParserRuleCall_2_0(), semanticObject.getName()); + feeder.accept(grammarAccess.getExternAggregationOperatorDeclarationAccess().getArgumentTypeSymbolQualifiedNameParserRuleCall_4_0_1(), semanticObject.eGet(SolverLanguagePackage.Literals.EXTERN_AGGREGATION_OPERATOR_DECLARATION__ARGUMENT_TYPE, false)); + feeder.finish(); } /** * Contexts: - * Statement returns ExternMetricDefinition - * ExternMetricDefinition returns ExternMetricDefinition + * Statement returns ExternDatatypeDeclaration + * ExternDeclaration returns ExternDatatypeDeclaration + * ExternDatatypeDeclaration returns ExternDatatypeDeclaration * * Constraint: - * (type=[NamedElement|QualifiedName] name=QualifiedName argumentList=ArgumentList) + * name=QualifiedName */ - protected void sequence_ExternMetricDefinition(ISerializationContext context, ExternMetricDefinition semanticObject) { + protected void sequence_ExternDatatypeDeclaration(ISerializationContext context, ExternDatatypeDeclaration semanticObject) { if (errorAcceptor != null) { - if (transientValues.isValueTransient(semanticObject, SolverLanguagePackage.Literals.EXTERN_METRIC_DEFINITION__TYPE) == ValueTransient.YES) - errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, SolverLanguagePackage.Literals.EXTERN_METRIC_DEFINITION__TYPE)); - if (transientValues.isValueTransient(semanticObject, SolverLanguagePackage.Literals.EXTERN_METRIC_DEFINITION__NAME) == ValueTransient.YES) - errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, SolverLanguagePackage.Literals.EXTERN_METRIC_DEFINITION__NAME)); - if (transientValues.isValueTransient(semanticObject, SolverLanguagePackage.Literals.EXTERN_METRIC_DEFINITION__ARGUMENT_LIST) == ValueTransient.YES) - errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, SolverLanguagePackage.Literals.EXTERN_METRIC_DEFINITION__ARGUMENT_LIST)); + if (transientValues.isValueTransient(semanticObject, SolverLanguagePackage.Literals.EXTERN_DECLARATION__NAME) == ValueTransient.YES) + errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, SolverLanguagePackage.Literals.EXTERN_DECLARATION__NAME)); } SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); - feeder.accept(grammarAccess.getExternMetricDefinitionAccess().getTypeNamedElementQualifiedNameParserRuleCall_1_0_1(), semanticObject.eGet(SolverLanguagePackage.Literals.EXTERN_METRIC_DEFINITION__TYPE, false)); - feeder.accept(grammarAccess.getExternMetricDefinitionAccess().getNameQualifiedNameParserRuleCall_2_0(), semanticObject.getName()); - feeder.accept(grammarAccess.getExternMetricDefinitionAccess().getArgumentListArgumentListParserRuleCall_3_0(), semanticObject.getArgumentList()); + feeder.accept(grammarAccess.getExternDatatypeDeclarationAccess().getNameQualifiedNameParserRuleCall_2_0(), semanticObject.getName()); feeder.finish(); } /** * Contexts: - * Statement returns ExternPredicateDefinition - * ExternPredicateDefinition returns ExternPredicateDefinition + * Statement returns ExternFunctionDeclaration + * ExternDeclaration returns ExternFunctionDeclaration + * ExternFunctionDeclaration returns ExternFunctionDeclaration * * Constraint: - * (name=QualifiedName argumentList=ArgumentList) + * (resultType=[Symbol|QualifiedName] name=QualifiedName argumentList=ArgumentList) */ - protected void sequence_ExternPredicateDefinition(ISerializationContext context, ExternPredicateDefinition semanticObject) { + protected void sequence_ExternFunctionDeclaration(ISerializationContext context, ExternFunctionDeclaration semanticObject) { if (errorAcceptor != null) { - if (transientValues.isValueTransient(semanticObject, SolverLanguagePackage.Literals.EXTERN_PREDICATE_DEFINITION__NAME) == ValueTransient.YES) - errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, SolverLanguagePackage.Literals.EXTERN_PREDICATE_DEFINITION__NAME)); - if (transientValues.isValueTransient(semanticObject, SolverLanguagePackage.Literals.EXTERN_PREDICATE_DEFINITION__ARGUMENT_LIST) == ValueTransient.YES) - errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, SolverLanguagePackage.Literals.EXTERN_PREDICATE_DEFINITION__ARGUMENT_LIST)); + if (transientValues.isValueTransient(semanticObject, SolverLanguagePackage.Literals.EXTERN_FUNCTION_DECLARATION__RESULT_TYPE) == ValueTransient.YES) + errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, SolverLanguagePackage.Literals.EXTERN_FUNCTION_DECLARATION__RESULT_TYPE)); + if (transientValues.isValueTransient(semanticObject, SolverLanguagePackage.Literals.EXTERN_DECLARATION__NAME) == ValueTransient.YES) + errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, SolverLanguagePackage.Literals.EXTERN_DECLARATION__NAME)); + if (transientValues.isValueTransient(semanticObject, SolverLanguagePackage.Literals.EXTERN_FUNCTOR_DECLARATION__ARGUMENT_LIST) == ValueTransient.YES) + errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, SolverLanguagePackage.Literals.EXTERN_FUNCTOR_DECLARATION__ARGUMENT_LIST)); } SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); - feeder.accept(grammarAccess.getExternPredicateDefinitionAccess().getNameQualifiedNameParserRuleCall_1_0(), semanticObject.getName()); - feeder.accept(grammarAccess.getExternPredicateDefinitionAccess().getArgumentListArgumentListParserRuleCall_2_0(), semanticObject.getArgumentList()); + feeder.accept(grammarAccess.getExternFunctionDeclarationAccess().getResultTypeSymbolQualifiedNameParserRuleCall_1_0_1(), semanticObject.eGet(SolverLanguagePackage.Literals.EXTERN_FUNCTION_DECLARATION__RESULT_TYPE, false)); + feeder.accept(grammarAccess.getExternFunctionDeclarationAccess().getNameQualifiedNameParserRuleCall_2_0(), semanticObject.getName()); + feeder.accept(grammarAccess.getExternFunctionDeclarationAccess().getArgumentListArgumentListParserRuleCall_3_0(), semanticObject.getArgumentList()); feeder.finish(); } /** * Contexts: - * Statement returns IfElse - * AssertionOrDefinition returns IfElse - * AssertionOrDefinition.Interpretation_1_0_0 returns IfElse - * AssertionOrDefinition.PredicateDefinition_1_1_0 returns IfElse - * AssertionOrDefinition.MetricDefinition_1_2_0 returns IfElse - * Expression returns IfElse - * IfElse returns IfElse - * ImplicationExpression returns IfElse - * ImplicationExpression.BinaryExpression_1_0 returns IfElse - * DisjunctiveExpression returns IfElse - * DisjunctiveExpression.Disjunction_1_0_0 returns IfElse - * DisjunctiveExpression.Case_1_1_0 returns IfElse - * ConjunctiveExpression returns IfElse - * ConjunctiveExpression.Conjunction_1_0 returns IfElse - * ComparisonExpression returns IfElse - * ComparisonExpression.Comparison_1_0 returns IfElse - * AdditiveExpression returns IfElse - * AdditiveExpression.BinaryExpression_1_0 returns IfElse - * MultiplicativeExpression returns IfElse - * MultiplicativeExpression.BinaryExpression_1_0 returns IfElse - * ExponentialExpression returns IfElse - * ExponentialExpression.BinaryExpression_1_0 returns IfElse - * CastExpression returns IfElse - * CastExpression.CastExpression_1_0 returns IfElse - * UnaryExpression returns IfElse - * AggregationExpression returns IfElse - * AtomicExpression returns IfElse + * Statement returns ExternPredicateDeclaration + * ExternDeclaration returns ExternPredicateDeclaration + * ExternPredicateDeclaration returns ExternPredicateDeclaration + * + * Constraint: + * ((functional?='functional' | error?='error')* name=QualifiedName argumentList=ArgumentList) + */ + protected void sequence_ExternPredicateDeclaration(ISerializationContext context, ExternPredicateDeclaration semanticObject) { + genericSequencer.createSequence(context, semanticObject); + } + + + /** + * Contexts: + * Field returns Field + * + * Constraint: + * ( + * (containment?='contains' | crossReference?='refers')? + * type=[Symbol|QualifiedName] + * multiplicity=Multiplicity? + * name=ID + * opposite=[Symbol|QualifiedName]? + * ) + */ + protected void sequence_Field(ISerializationContext context, Field semanticObject) { + genericSequencer.createSequence(context, semanticObject); + } + + + /** + * Contexts: + * FunctionDefinition returns FunctionDefinition * * Constraint: - * (condition=Expression then=Expression else=Expression) + * (resultType=[Symbol|QualifiedName] head=Call body=Expression) */ - protected void sequence_IfElse(ISerializationContext context, IfElse semanticObject) { + protected void sequence_FunctionDefinition(ISerializationContext context, FunctionDefinition semanticObject) { if (errorAcceptor != null) { - if (transientValues.isValueTransient(semanticObject, SolverLanguagePackage.Literals.IF_ELSE__CONDITION) == ValueTransient.YES) - errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, SolverLanguagePackage.Literals.IF_ELSE__CONDITION)); - if (transientValues.isValueTransient(semanticObject, SolverLanguagePackage.Literals.IF_ELSE__THEN) == ValueTransient.YES) - errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, SolverLanguagePackage.Literals.IF_ELSE__THEN)); - if (transientValues.isValueTransient(semanticObject, SolverLanguagePackage.Literals.IF_ELSE__ELSE) == ValueTransient.YES) - errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, SolverLanguagePackage.Literals.IF_ELSE__ELSE)); + if (transientValues.isValueTransient(semanticObject, SolverLanguagePackage.Literals.FUNCTION_DEFINITION__RESULT_TYPE) == ValueTransient.YES) + errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, SolverLanguagePackage.Literals.FUNCTION_DEFINITION__RESULT_TYPE)); + if (transientValues.isValueTransient(semanticObject, SolverLanguagePackage.Literals.FUNCTOR_DEFINITON__HEAD) == ValueTransient.YES) + errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, SolverLanguagePackage.Literals.FUNCTOR_DEFINITON__HEAD)); + if (transientValues.isValueTransient(semanticObject, SolverLanguagePackage.Literals.FUNCTOR_DEFINITON__BODY) == ValueTransient.YES) + errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, SolverLanguagePackage.Literals.FUNCTOR_DEFINITON__BODY)); } SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); - feeder.accept(grammarAccess.getIfElseAccess().getConditionExpressionParserRuleCall_1_0(), semanticObject.getCondition()); - feeder.accept(grammarAccess.getIfElseAccess().getThenExpressionParserRuleCall_3_0(), semanticObject.getThen()); - feeder.accept(grammarAccess.getIfElseAccess().getElseExpressionParserRuleCall_5_0(), semanticObject.getElse()); + feeder.accept(grammarAccess.getFunctionDefinitionAccess().getResultTypeSymbolQualifiedNameParserRuleCall_0_0_1(), semanticObject.eGet(SolverLanguagePackage.Literals.FUNCTION_DEFINITION__RESULT_TYPE, false)); + feeder.accept(grammarAccess.getFunctionDefinitionAccess().getHeadCallParserRuleCall_1_0(), semanticObject.getHead()); + feeder.accept(grammarAccess.getFunctionDefinitionAccess().getBodyExpressionParserRuleCall_3_0(), semanticObject.getBody()); feeder.finish(); } /** * Contexts: - * Statement returns InfinityLiteral - * AssertionOrDefinition returns InfinityLiteral - * AssertionOrDefinition.Interpretation_1_0_0 returns InfinityLiteral + * AssertionOrDefinition.Assertion_1_0_0 returns InfinityLiteral * AssertionOrDefinition.PredicateDefinition_1_1_0 returns InfinityLiteral - * AssertionOrDefinition.MetricDefinition_1_2_0 returns InfinityLiteral + * AssertionOrDefinition.FunctionDefinition_1_2_0 returns InfinityLiteral * Expression returns InfinityLiteral - * ImplicationExpression returns InfinityLiteral - * ImplicationExpression.BinaryExpression_1_0 returns InfinityLiteral + * Expression.Forall_2_1_0 returns InfinityLiteral * DisjunctiveExpression returns InfinityLiteral * DisjunctiveExpression.Disjunction_1_0_0 returns InfinityLiteral * DisjunctiveExpression.Case_1_1_0 returns InfinityLiteral * ConjunctiveExpression returns InfinityLiteral * ConjunctiveExpression.Conjunction_1_0 returns InfinityLiteral * ComparisonExpression returns InfinityLiteral - * ComparisonExpression.Comparison_1_0 returns InfinityLiteral + * ComparisonExpression.BinaryExpression_1_0 returns InfinityLiteral * AdditiveExpression returns InfinityLiteral * AdditiveExpression.BinaryExpression_1_0 returns InfinityLiteral * MultiplicativeExpression returns InfinityLiteral @@ -1063,7 +1182,7 @@ public class SolverLanguageSemanticSequencer extends AbstractDelegatingSemanticS * CastExpression returns InfinityLiteral * CastExpression.CastExpression_1_0 returns InfinityLiteral * UnaryExpression returns InfinityLiteral - * AggregationExpression returns InfinityLiteral + * BracedAggregateExpression returns InfinityLiteral * AtomicExpression returns InfinityLiteral * Literal returns InfinityLiteral * InfinityLiteral returns InfinityLiteral @@ -1078,21 +1197,60 @@ public class SolverLanguageSemanticSequencer extends AbstractDelegatingSemanticS /** * Contexts: - * Statement returns Interval - * AssertionOrDefinition returns Interval - * AssertionOrDefinition.Interpretation_1_0_0 returns Interval + * AssertionOrDefinition.Assertion_1_0_0 returns IntLiteral + * AssertionOrDefinition.PredicateDefinition_1_1_0 returns IntLiteral + * AssertionOrDefinition.FunctionDefinition_1_2_0 returns IntLiteral + * Expression returns IntLiteral + * Expression.Forall_2_1_0 returns IntLiteral + * DisjunctiveExpression returns IntLiteral + * DisjunctiveExpression.Disjunction_1_0_0 returns IntLiteral + * DisjunctiveExpression.Case_1_1_0 returns IntLiteral + * ConjunctiveExpression returns IntLiteral + * ConjunctiveExpression.Conjunction_1_0 returns IntLiteral + * ComparisonExpression returns IntLiteral + * ComparisonExpression.BinaryExpression_1_0 returns IntLiteral + * AdditiveExpression returns IntLiteral + * AdditiveExpression.BinaryExpression_1_0 returns IntLiteral + * MultiplicativeExpression returns IntLiteral + * MultiplicativeExpression.BinaryExpression_1_0 returns IntLiteral + * ExponentialExpression returns IntLiteral + * ExponentialExpression.BinaryExpression_1_0 returns IntLiteral + * CastExpression returns IntLiteral + * CastExpression.CastExpression_1_0 returns IntLiteral + * UnaryExpression returns IntLiteral + * BracedAggregateExpression returns IntLiteral + * AtomicExpression returns IntLiteral + * Literal returns IntLiteral + * IntLiteral returns IntLiteral + * + * Constraint: + * value=INT + */ + protected void sequence_IntLiteral(ISerializationContext context, IntLiteral semanticObject) { + if (errorAcceptor != null) { + if (transientValues.isValueTransient(semanticObject, SolverLanguagePackage.Literals.INT_LITERAL__VALUE) == ValueTransient.YES) + errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, SolverLanguagePackage.Literals.INT_LITERAL__VALUE)); + } + SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); + feeder.accept(grammarAccess.getIntLiteralAccess().getValueINTTerminalRuleCall_0(), semanticObject.getValue()); + feeder.finish(); + } + + + /** + * Contexts: + * AssertionOrDefinition.Assertion_1_0_0 returns Interval * AssertionOrDefinition.PredicateDefinition_1_1_0 returns Interval - * AssertionOrDefinition.MetricDefinition_1_2_0 returns Interval + * AssertionOrDefinition.FunctionDefinition_1_2_0 returns Interval * Expression returns Interval - * ImplicationExpression returns Interval - * ImplicationExpression.BinaryExpression_1_0 returns Interval + * Expression.Forall_2_1_0 returns Interval * DisjunctiveExpression returns Interval * DisjunctiveExpression.Disjunction_1_0_0 returns Interval * DisjunctiveExpression.Case_1_1_0 returns Interval * ConjunctiveExpression returns Interval * ConjunctiveExpression.Conjunction_1_0 returns Interval * ComparisonExpression returns Interval - * ComparisonExpression.Comparison_1_0 returns Interval + * ComparisonExpression.BinaryExpression_1_0 returns Interval * AdditiveExpression returns Interval * AdditiveExpression.BinaryExpression_1_0 returns Interval * MultiplicativeExpression returns Interval @@ -1102,12 +1260,12 @@ public class SolverLanguageSemanticSequencer extends AbstractDelegatingSemanticS * CastExpression returns Interval * CastExpression.CastExpression_1_0 returns Interval * UnaryExpression returns Interval - * AggregationExpression returns Interval + * BracedAggregateExpression returns Interval * AtomicExpression returns Interval * Interval returns Interval * * Constraint: - * (lowerBound=Expression upperBound=Expression) + * (lowerBound=AdditiveExpression upperBound=AdditiveExpression) */ protected void sequence_Interval(ISerializationContext context, Interval semanticObject) { if (errorAcceptor != null) { @@ -1117,8 +1275,8 @@ public class SolverLanguageSemanticSequencer extends AbstractDelegatingSemanticS errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, SolverLanguagePackage.Literals.INTERVAL__UPPER_BOUND)); } SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); - feeder.accept(grammarAccess.getIntervalAccess().getLowerBoundExpressionParserRuleCall_1_0(), semanticObject.getLowerBound()); - feeder.accept(grammarAccess.getIntervalAccess().getUpperBoundExpressionParserRuleCall_3_0(), semanticObject.getUpperBound()); + feeder.accept(grammarAccess.getIntervalAccess().getLowerBoundAdditiveExpressionParserRuleCall_1_0(), semanticObject.getLowerBound()); + feeder.accept(grammarAccess.getIntervalAccess().getUpperBoundAdditiveExpressionParserRuleCall_3_0(), semanticObject.getUpperBound()); feeder.finish(); } @@ -1128,89 +1286,62 @@ public class SolverLanguageSemanticSequencer extends AbstractDelegatingSemanticS * LetBinding returns LetBinding * * Constraint: - * (variable=Variable value=AdditiveExpression) + * (type=[Symbol|QualifiedName]? name=ID value=AdditiveExpression) */ protected void sequence_LetBinding(ISerializationContext context, LetBinding semanticObject) { - if (errorAcceptor != null) { - if (transientValues.isValueTransient(semanticObject, SolverLanguagePackage.Literals.LET_BINDING__VARIABLE) == ValueTransient.YES) - errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, SolverLanguagePackage.Literals.LET_BINDING__VARIABLE)); - if (transientValues.isValueTransient(semanticObject, SolverLanguagePackage.Literals.LET_BINDING__VALUE) == ValueTransient.YES) - errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, SolverLanguagePackage.Literals.LET_BINDING__VALUE)); - } - SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); - feeder.accept(grammarAccess.getLetBindingAccess().getVariableVariableParserRuleCall_0_0(), semanticObject.getVariable()); - feeder.accept(grammarAccess.getLetBindingAccess().getValueAdditiveExpressionParserRuleCall_2_0(), semanticObject.getValue()); - feeder.finish(); - } - - - /** - * Contexts: - * Statement returns Let - * AssertionOrDefinition returns Let - * AssertionOrDefinition.Interpretation_1_0_0 returns Let - * AssertionOrDefinition.PredicateDefinition_1_1_0 returns Let - * AssertionOrDefinition.MetricDefinition_1_2_0 returns Let - * Expression returns Let - * Let returns Let - * ImplicationExpression returns Let - * ImplicationExpression.BinaryExpression_1_0 returns Let - * DisjunctiveExpression returns Let - * DisjunctiveExpression.Disjunction_1_0_0 returns Let - * DisjunctiveExpression.Case_1_1_0 returns Let - * ConjunctiveExpression returns Let - * ConjunctiveExpression.Conjunction_1_0 returns Let - * ComparisonExpression returns Let - * ComparisonExpression.Comparison_1_0 returns Let - * AdditiveExpression returns Let - * AdditiveExpression.BinaryExpression_1_0 returns Let - * MultiplicativeExpression returns Let - * MultiplicativeExpression.BinaryExpression_1_0 returns Let - * ExponentialExpression returns Let - * ExponentialExpression.BinaryExpression_1_0 returns Let - * CastExpression returns Let - * CastExpression.CastExpression_1_0 returns Let - * UnaryExpression returns Let - * AggregationExpression returns Let - * AtomicExpression returns Let - * - * Constraint: - * (bindings+=LetBinding bindings+=LetBinding* body=Expression) - */ - protected void sequence_Let(ISerializationContext context, Let semanticObject) { genericSequencer.createSequence(context, semanticObject); } /** * Contexts: - * LocalVariables returns LocalVariables + * AssertionOrDefinition.Assertion_1_0_0 returns LetExpression + * AssertionOrDefinition.PredicateDefinition_1_1_0 returns LetExpression + * AssertionOrDefinition.FunctionDefinition_1_2_0 returns LetExpression + * Expression returns LetExpression + * Expression.Forall_2_1_0 returns LetExpression + * LetExpression returns LetExpression + * DisjunctiveExpression returns LetExpression + * DisjunctiveExpression.Disjunction_1_0_0 returns LetExpression + * DisjunctiveExpression.Case_1_1_0 returns LetExpression + * ConjunctiveExpression returns LetExpression + * ConjunctiveExpression.Conjunction_1_0 returns LetExpression + * ComparisonExpression returns LetExpression + * ComparisonExpression.BinaryExpression_1_0 returns LetExpression + * AdditiveExpression returns LetExpression + * AdditiveExpression.BinaryExpression_1_0 returns LetExpression + * MultiplicativeExpression returns LetExpression + * MultiplicativeExpression.BinaryExpression_1_0 returns LetExpression + * ExponentialExpression returns LetExpression + * ExponentialExpression.BinaryExpression_1_0 returns LetExpression + * CastExpression returns LetExpression + * CastExpression.CastExpression_1_0 returns LetExpression + * UnaryExpression returns LetExpression + * BracedAggregateExpression returns LetExpression + * AtomicExpression returns LetExpression * * Constraint: - * (variables+=Variable variables+=Variable*)? + * (bindings+=LetBinding bindings+=LetBinding* body=Expression) */ - protected void sequence_LocalVariables(ISerializationContext context, LocalVariables semanticObject) { + protected void sequence_LetExpression(ISerializationContext context, LetExpression semanticObject) { genericSequencer.createSequence(context, semanticObject); } /** * Contexts: - * Statement returns LogicLiteral - * AssertionOrDefinition returns LogicLiteral - * AssertionOrDefinition.Interpretation_1_0_0 returns LogicLiteral + * AssertionOrDefinition.Assertion_1_0_0 returns LogicLiteral * AssertionOrDefinition.PredicateDefinition_1_1_0 returns LogicLiteral - * AssertionOrDefinition.MetricDefinition_1_2_0 returns LogicLiteral + * AssertionOrDefinition.FunctionDefinition_1_2_0 returns LogicLiteral * Expression returns LogicLiteral - * ImplicationExpression returns LogicLiteral - * ImplicationExpression.BinaryExpression_1_0 returns LogicLiteral + * Expression.Forall_2_1_0 returns LogicLiteral * DisjunctiveExpression returns LogicLiteral * DisjunctiveExpression.Disjunction_1_0_0 returns LogicLiteral * DisjunctiveExpression.Case_1_1_0 returns LogicLiteral * ConjunctiveExpression returns LogicLiteral * ConjunctiveExpression.Conjunction_1_0 returns LogicLiteral * ComparisonExpression returns LogicLiteral - * ComparisonExpression.Comparison_1_0 returns LogicLiteral + * ComparisonExpression.BinaryExpression_1_0 returns LogicLiteral * AdditiveExpression returns LogicLiteral * AdditiveExpression.BinaryExpression_1_0 returns LogicLiteral * MultiplicativeExpression returns LogicLiteral @@ -1220,7 +1351,7 @@ public class SolverLanguageSemanticSequencer extends AbstractDelegatingSemanticS * CastExpression returns LogicLiteral * CastExpression.CastExpression_1_0 returns LogicLiteral * UnaryExpression returns LogicLiteral - * AggregationExpression returns LogicLiteral + * BracedAggregateExpression returns LogicLiteral * AtomicExpression returns LogicLiteral * Literal returns LogicLiteral * LogicLiteral returns LogicLiteral @@ -1241,131 +1372,75 @@ public class SolverLanguageSemanticSequencer extends AbstractDelegatingSemanticS /** * Contexts: - * Statement returns LowerBoundedScopeDefinition - * ScopeDefinition returns LowerBoundedScopeDefinition - * LowerBoundedScopeDefinition returns LowerBoundedScopeDefinition - * - * Constraint: - * ((lowerBound=INT type=[NamedElement|QualifiedName]) | (type=[NamedElement|QualifiedName] lowerBound=INT)) - */ - protected void sequence_LowerBoundedScopeDefinition(ISerializationContext context, LowerBoundedScopeDefinition semanticObject) { - genericSequencer.createSequence(context, semanticObject); - } - - - /** - * Contexts: - * Multiplicity returns ManyMultiplicity - * ManyMultiplicity returns ManyMultiplicity + * Statement returns LowerBoundedScope + * ScopeDeclaration returns LowerBoundedScope + * LowerBoundedScope returns LowerBoundedScope * * Constraint: - * {ManyMultiplicity} + * ((lowerBound=INT type=[Symbol|QualifiedName]) | (type=[Symbol|QualifiedName] lowerBound=INT)) */ - protected void sequence_ManyMultiplicity(ISerializationContext context, ManyMultiplicity semanticObject) { + protected void sequence_LowerBoundedScope(ISerializationContext context, LowerBoundedScope semanticObject) { genericSequencer.createSequence(context, semanticObject); } /** * Contexts: - * MemberDefinition returns MemberDefinition + * Import returns NamespaceImport + * NamespaceImport returns NamespaceImport * * Constraint: - * (containment?='contains'? type=[NamedElement|QualifiedName] multiplicity=Multiplicity? name=ID opposite=[NamedElement|QualifiedName]?) + * (importedNamespace=QualifiedName alias=QualifiedName) */ - protected void sequence_MemberDefinition(ISerializationContext context, MemberDefinition semanticObject) { - genericSequencer.createSequence(context, semanticObject); - } - - - /** - * Contexts: - * MetricDefinition returns MetricDefinition - * - * Constraint: - * (type=[NamedElement|QualifiedName] head=Call body=Expression) - */ - protected void sequence_MetricDefinition(ISerializationContext context, MetricDefinition semanticObject) { + protected void sequence_NamespaceImport(ISerializationContext context, NamespaceImport semanticObject) { if (errorAcceptor != null) { - if (transientValues.isValueTransient(semanticObject, SolverLanguagePackage.Literals.METRIC_DEFINITION__TYPE) == ValueTransient.YES) - errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, SolverLanguagePackage.Literals.METRIC_DEFINITION__TYPE)); - if (transientValues.isValueTransient(semanticObject, SolverLanguagePackage.Literals.METRIC_DEFINITION__HEAD) == ValueTransient.YES) - errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, SolverLanguagePackage.Literals.METRIC_DEFINITION__HEAD)); - if (transientValues.isValueTransient(semanticObject, SolverLanguagePackage.Literals.METRIC_DEFINITION__BODY) == ValueTransient.YES) - errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, SolverLanguagePackage.Literals.METRIC_DEFINITION__BODY)); + if (transientValues.isValueTransient(semanticObject, SolverLanguagePackage.Literals.NAMESPACE_IMPORT__IMPORTED_NAMESPACE) == ValueTransient.YES) + errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, SolverLanguagePackage.Literals.NAMESPACE_IMPORT__IMPORTED_NAMESPACE)); + if (transientValues.isValueTransient(semanticObject, SolverLanguagePackage.Literals.IMPORT__ALIAS) == ValueTransient.YES) + errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, SolverLanguagePackage.Literals.IMPORT__ALIAS)); } SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); - feeder.accept(grammarAccess.getMetricDefinitionAccess().getTypeNamedElementQualifiedNameParserRuleCall_0_0_1(), semanticObject.eGet(SolverLanguagePackage.Literals.METRIC_DEFINITION__TYPE, false)); - feeder.accept(grammarAccess.getMetricDefinitionAccess().getHeadCallParserRuleCall_1_0(), semanticObject.getHead()); - feeder.accept(grammarAccess.getMetricDefinitionAccess().getBodyExpressionParserRuleCall_3_0(), semanticObject.getBody()); + feeder.accept(grammarAccess.getNamespaceImportAccess().getImportedNamespaceQualifiedNameParserRuleCall_1_0(), semanticObject.getImportedNamespace()); + feeder.accept(grammarAccess.getNamespaceImportAccess().getAliasQualifiedNameParserRuleCall_2_1_0(), semanticObject.getAlias()); feeder.finish(); } /** * Contexts: - * Statement returns NumericLiteral - * AssertionOrDefinition returns NumericLiteral - * AssertionOrDefinition.Interpretation_1_0_0 returns NumericLiteral - * AssertionOrDefinition.PredicateDefinition_1_1_0 returns NumericLiteral - * AssertionOrDefinition.MetricDefinition_1_2_0 returns NumericLiteral - * Expression returns NumericLiteral - * ImplicationExpression returns NumericLiteral - * ImplicationExpression.BinaryExpression_1_0 returns NumericLiteral - * DisjunctiveExpression returns NumericLiteral - * DisjunctiveExpression.Disjunction_1_0_0 returns NumericLiteral - * DisjunctiveExpression.Case_1_1_0 returns NumericLiteral - * ConjunctiveExpression returns NumericLiteral - * ConjunctiveExpression.Conjunction_1_0 returns NumericLiteral - * ComparisonExpression returns NumericLiteral - * ComparisonExpression.Comparison_1_0 returns NumericLiteral - * AdditiveExpression returns NumericLiteral - * AdditiveExpression.BinaryExpression_1_0 returns NumericLiteral - * MultiplicativeExpression returns NumericLiteral - * MultiplicativeExpression.BinaryExpression_1_0 returns NumericLiteral - * ExponentialExpression returns NumericLiteral - * ExponentialExpression.BinaryExpression_1_0 returns NumericLiteral - * CastExpression returns NumericLiteral - * CastExpression.CastExpression_1_0 returns NumericLiteral - * UnaryExpression returns NumericLiteral - * AggregationExpression returns NumericLiteral - * AtomicExpression returns NumericLiteral - * Literal returns NumericLiteral - * NumericLiteral returns NumericLiteral + * Statement returns ObjectiveDeclaration + * ObjectiveDeclaration returns ObjectiveDeclaration * * Constraint: - * value=Real + * (kind=ObjectiveKind objective=Expression) */ - protected void sequence_NumericLiteral(ISerializationContext context, NumericLiteral semanticObject) { + protected void sequence_ObjectiveDeclaration(ISerializationContext context, ObjectiveDeclaration semanticObject) { if (errorAcceptor != null) { - if (transientValues.isValueTransient(semanticObject, SolverLanguagePackage.Literals.NUMERIC_LITERAL__VALUE) == ValueTransient.YES) - errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, SolverLanguagePackage.Literals.NUMERIC_LITERAL__VALUE)); + if (transientValues.isValueTransient(semanticObject, SolverLanguagePackage.Literals.OBJECTIVE_DECLARATION__KIND) == ValueTransient.YES) + errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, SolverLanguagePackage.Literals.OBJECTIVE_DECLARATION__KIND)); + if (transientValues.isValueTransient(semanticObject, SolverLanguagePackage.Literals.OBJECTIVE_DECLARATION__OBJECTIVE) == ValueTransient.YES) + errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, SolverLanguagePackage.Literals.OBJECTIVE_DECLARATION__OBJECTIVE)); } SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); - feeder.accept(grammarAccess.getNumericLiteralAccess().getValueRealParserRuleCall_0(), semanticObject.getValue()); + feeder.accept(grammarAccess.getObjectiveDeclarationAccess().getKindObjectiveKindEnumRuleCall_0_0(), semanticObject.getKind()); + feeder.accept(grammarAccess.getObjectiveDeclarationAccess().getObjectiveExpressionParserRuleCall_1_0(), semanticObject.getObjective()); feeder.finish(); } /** * Contexts: - * Statement returns ObjectiveDefinition - * ObjectiveDefinition returns ObjectiveDefinition + * PathComponent returns PathComponent * * Constraint: - * (kind=ObjectiveKind objective=Expression) + * ( + * inverse?='~'? + * symbol=[Symbol|QualifiedName] + * (transitiveClosure?=TRANSITIVE_CLOSURE | reflexiveTransitiveClosure?=REFLEXIVE_TRANSITIVE_CLOSURE)? + * ) */ - protected void sequence_ObjectiveDefinition(ISerializationContext context, ObjectiveDefinition semanticObject) { - if (errorAcceptor != null) { - if (transientValues.isValueTransient(semanticObject, SolverLanguagePackage.Literals.OBJECTIVE_DEFINITION__KIND) == ValueTransient.YES) - errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, SolverLanguagePackage.Literals.OBJECTIVE_DEFINITION__KIND)); - if (transientValues.isValueTransient(semanticObject, SolverLanguagePackage.Literals.OBJECTIVE_DEFINITION__OBJECTIVE) == ValueTransient.YES) - errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, SolverLanguagePackage.Literals.OBJECTIVE_DEFINITION__OBJECTIVE)); - } - SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); - feeder.accept(grammarAccess.getObjectiveDefinitionAccess().getKindObjectiveKindEnumRuleCall_0_0(), semanticObject.getKind()); - feeder.accept(grammarAccess.getObjectiveDefinitionAccess().getObjectiveExpressionParserRuleCall_1_0(), semanticObject.getObjective()); - feeder.finish(); + protected void sequence_PathComponent(ISerializationContext context, PathComponent semanticObject) { + genericSequencer.createSequence(context, semanticObject); } @@ -1386,7 +1461,7 @@ public class SolverLanguageSemanticSequencer extends AbstractDelegatingSemanticS * Problem returns Problem * * Constraint: - * statements+=Statement+ + * ((name=QualifiedName? imports+=Import+ statements+=Statement+) | (name=QualifiedName? statements+=Statement+) | statements+=Statement+)? */ protected void sequence_Problem(ISerializationContext context, Problem semanticObject) { genericSequencer.createSequence(context, semanticObject); @@ -1395,59 +1470,60 @@ public class SolverLanguageSemanticSequencer extends AbstractDelegatingSemanticS /** * Contexts: - * Statement returns QuantifiedExpression - * AssertionOrDefinition returns QuantifiedExpression - * AssertionOrDefinition.Interpretation_1_0_0 returns QuantifiedExpression - * AssertionOrDefinition.PredicateDefinition_1_1_0 returns QuantifiedExpression - * AssertionOrDefinition.MetricDefinition_1_2_0 returns QuantifiedExpression - * Expression returns QuantifiedExpression - * ImplicationExpression returns QuantifiedExpression - * ImplicationExpression.BinaryExpression_1_0 returns QuantifiedExpression - * DisjunctiveExpression returns QuantifiedExpression - * DisjunctiveExpression.Disjunction_1_0_0 returns QuantifiedExpression - * DisjunctiveExpression.Case_1_1_0 returns QuantifiedExpression - * ConjunctiveExpression returns QuantifiedExpression - * ConjunctiveExpression.Conjunction_1_0 returns QuantifiedExpression - * ComparisonExpression returns QuantifiedExpression - * ComparisonExpression.Comparison_1_0 returns QuantifiedExpression - * AdditiveExpression returns QuantifiedExpression - * AdditiveExpression.BinaryExpression_1_0 returns QuantifiedExpression - * MultiplicativeExpression returns QuantifiedExpression - * MultiplicativeExpression.BinaryExpression_1_0 returns QuantifiedExpression - * ExponentialExpression returns QuantifiedExpression - * ExponentialExpression.BinaryExpression_1_0 returns QuantifiedExpression - * CastExpression returns QuantifiedExpression - * CastExpression.CastExpression_1_0 returns QuantifiedExpression - * UnaryExpression returns QuantifiedExpression - * AggregationExpression returns QuantifiedExpression - * QuantifiedExpression returns QuantifiedExpression - * AtomicExpression returns QuantifiedExpression + * AssertionOrDefinition.Assertion_1_0_0 returns RealLiteral + * AssertionOrDefinition.PredicateDefinition_1_1_0 returns RealLiteral + * AssertionOrDefinition.FunctionDefinition_1_2_0 returns RealLiteral + * Expression returns RealLiteral + * Expression.Forall_2_1_0 returns RealLiteral + * DisjunctiveExpression returns RealLiteral + * DisjunctiveExpression.Disjunction_1_0_0 returns RealLiteral + * DisjunctiveExpression.Case_1_1_0 returns RealLiteral + * ConjunctiveExpression returns RealLiteral + * ConjunctiveExpression.Conjunction_1_0 returns RealLiteral + * ComparisonExpression returns RealLiteral + * ComparisonExpression.BinaryExpression_1_0 returns RealLiteral + * AdditiveExpression returns RealLiteral + * AdditiveExpression.BinaryExpression_1_0 returns RealLiteral + * MultiplicativeExpression returns RealLiteral + * MultiplicativeExpression.BinaryExpression_1_0 returns RealLiteral + * ExponentialExpression returns RealLiteral + * ExponentialExpression.BinaryExpression_1_0 returns RealLiteral + * CastExpression returns RealLiteral + * CastExpression.CastExpression_1_0 returns RealLiteral + * UnaryExpression returns RealLiteral + * BracedAggregateExpression returns RealLiteral + * AtomicExpression returns RealLiteral + * Literal returns RealLiteral + * RealLiteral returns RealLiteral * * Constraint: - * (quantifier=Quantifier localVariables=LocalVariables? body=Expression) + * value=Real */ - protected void sequence_QuantifiedExpression(ISerializationContext context, QuantifiedExpression semanticObject) { - genericSequencer.createSequence(context, semanticObject); + protected void sequence_RealLiteral(ISerializationContext context, RealLiteral semanticObject) { + if (errorAcceptor != null) { + if (transientValues.isValueTransient(semanticObject, SolverLanguagePackage.Literals.REAL_LITERAL__VALUE) == ValueTransient.YES) + errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, SolverLanguagePackage.Literals.REAL_LITERAL__VALUE)); + } + SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); + feeder.accept(grammarAccess.getRealLiteralAccess().getValueRealParserRuleCall_0(), semanticObject.getValue()); + feeder.finish(); } /** * Contexts: - * Statement returns Reference - * AssertionOrDefinition returns Reference - * AssertionOrDefinition.Interpretation_1_0_0 returns Reference + * AssertionOrDefinition.Assertion_1_0_0 returns Reference * AssertionOrDefinition.PredicateDefinition_1_1_0 returns Reference - * AssertionOrDefinition.MetricDefinition_1_2_0 returns Reference + * AssertionOrDefinition.FunctionDefinition_1_2_0 returns Reference * Expression returns Reference - * ImplicationExpression returns Reference - * ImplicationExpression.BinaryExpression_1_0 returns Reference + * Expression.Forall_2_1_0 returns Reference * DisjunctiveExpression returns Reference * DisjunctiveExpression.Disjunction_1_0_0 returns Reference * DisjunctiveExpression.Case_1_1_0 returns Reference * ConjunctiveExpression returns Reference * ConjunctiveExpression.Conjunction_1_0 returns Reference * ComparisonExpression returns Reference - * ComparisonExpression.Comparison_1_0 returns Reference + * ComparisonExpression.BinaryExpression_1_0 returns Reference * AdditiveExpression returns Reference * AdditiveExpression.BinaryExpression_1_0 returns Reference * MultiplicativeExpression returns Reference @@ -1457,21 +1533,15 @@ public class SolverLanguageSemanticSequencer extends AbstractDelegatingSemanticS * CastExpression returns Reference * CastExpression.CastExpression_1_0 returns Reference * UnaryExpression returns Reference - * AggregationExpression returns Reference + * BracedAggregateExpression returns Reference * AtomicExpression returns Reference * Reference returns Reference * * Constraint: - * referred=[NamedElement|QualifiedName] + * (components+=PathComponent components+=PathComponent*) */ protected void sequence_Reference(ISerializationContext context, Reference semanticObject) { - if (errorAcceptor != null) { - if (transientValues.isValueTransient(semanticObject, SolverLanguagePackage.Literals.REFERENCE__REFERRED) == ValueTransient.YES) - errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, SolverLanguagePackage.Literals.REFERENCE__REFERRED)); - } - SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); - feeder.accept(grammarAccess.getReferenceAccess().getReferredNamedElementQualifiedNameParserRuleCall_0_1(), semanticObject.eGet(SolverLanguagePackage.Literals.REFERENCE__REFERRED, false)); - feeder.finish(); + genericSequencer.createSequence(context, semanticObject); } @@ -1490,21 +1560,18 @@ public class SolverLanguageSemanticSequencer extends AbstractDelegatingSemanticS /** * Contexts: - * Statement returns StringLiteral - * AssertionOrDefinition returns StringLiteral - * AssertionOrDefinition.Interpretation_1_0_0 returns StringLiteral + * AssertionOrDefinition.Assertion_1_0_0 returns StringLiteral * AssertionOrDefinition.PredicateDefinition_1_1_0 returns StringLiteral - * AssertionOrDefinition.MetricDefinition_1_2_0 returns StringLiteral + * AssertionOrDefinition.FunctionDefinition_1_2_0 returns StringLiteral * Expression returns StringLiteral - * ImplicationExpression returns StringLiteral - * ImplicationExpression.BinaryExpression_1_0 returns StringLiteral + * Expression.Forall_2_1_0 returns StringLiteral * DisjunctiveExpression returns StringLiteral * DisjunctiveExpression.Disjunction_1_0_0 returns StringLiteral * DisjunctiveExpression.Case_1_1_0 returns StringLiteral * ConjunctiveExpression returns StringLiteral * ConjunctiveExpression.Conjunction_1_0 returns StringLiteral * ComparisonExpression returns StringLiteral - * ComparisonExpression.Comparison_1_0 returns StringLiteral + * ComparisonExpression.BinaryExpression_1_0 returns StringLiteral * AdditiveExpression returns StringLiteral * AdditiveExpression.BinaryExpression_1_0 returns StringLiteral * MultiplicativeExpression returns StringLiteral @@ -1514,7 +1581,7 @@ public class SolverLanguageSemanticSequencer extends AbstractDelegatingSemanticS * CastExpression returns StringLiteral * CastExpression.CastExpression_1_0 returns StringLiteral * UnaryExpression returns StringLiteral - * AggregationExpression returns StringLiteral + * BracedAggregateExpression returns StringLiteral * AtomicExpression returns StringLiteral * Literal returns StringLiteral * StringLiteral returns StringLiteral @@ -1535,62 +1602,71 @@ public class SolverLanguageSemanticSequencer extends AbstractDelegatingSemanticS /** * Contexts: - * Argument returns TypedArgument - * TypedArgument returns TypedArgument + * TypeReference returns TypeReference + * + * Constraint: + * (type=[Symbol|QualifiedName] forceObjectType?='object'?) + */ + protected void sequence_TypeReference(ISerializationContext context, TypeReference semanticObject) { + genericSequencer.createSequence(context, semanticObject); + } + + + /** + * Contexts: + * Argument returns TypedStarArgument + * TypedStarArgument returns TypedStarArgument * * Constraint: - * (type=[NamedElement|QualifiedName] variable=[NamedElement|QualifiedName]) + * typeReference=TypeReference */ - protected void sequence_TypedArgument(ISerializationContext context, TypedArgument semanticObject) { + protected void sequence_TypedStarArgument(ISerializationContext context, TypedStarArgument semanticObject) { if (errorAcceptor != null) { - if (transientValues.isValueTransient(semanticObject, SolverLanguagePackage.Literals.TYPED_ARGUMENT__TYPE) == ValueTransient.YES) - errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, SolverLanguagePackage.Literals.TYPED_ARGUMENT__TYPE)); - if (transientValues.isValueTransient(semanticObject, SolverLanguagePackage.Literals.TYPED_ARGUMENT__VARIABLE) == ValueTransient.YES) - errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, SolverLanguagePackage.Literals.TYPED_ARGUMENT__VARIABLE)); + if (transientValues.isValueTransient(semanticObject, SolverLanguagePackage.Literals.TYPED_ARGUMENT__TYPE_REFERENCE) == ValueTransient.YES) + errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, SolverLanguagePackage.Literals.TYPED_ARGUMENT__TYPE_REFERENCE)); } SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); - feeder.accept(grammarAccess.getTypedArgumentAccess().getTypeNamedElementQualifiedNameParserRuleCall_0_0_1(), semanticObject.eGet(SolverLanguagePackage.Literals.TYPED_ARGUMENT__TYPE, false)); - feeder.accept(grammarAccess.getTypedArgumentAccess().getVariableNamedElementQualifiedNameParserRuleCall_1_0_1(), semanticObject.eGet(SolverLanguagePackage.Literals.TYPED_ARGUMENT__VARIABLE, false)); + feeder.accept(grammarAccess.getTypedStarArgumentAccess().getTypeReferenceTypeReferenceParserRuleCall_0_0(), semanticObject.getTypeReference()); feeder.finish(); } /** * Contexts: - * Argument returns TypedStarArgument - * TypedStarArgument returns TypedStarArgument + * Argument returns TypedVariableArgument + * TypedVariableArgument returns TypedVariableArgument * * Constraint: - * type=[NamedElement|QualifiedName] + * (typeReference=TypeReference name=ID) */ - protected void sequence_TypedStarArgument(ISerializationContext context, TypedStarArgument semanticObject) { + protected void sequence_TypedVariableArgument(ISerializationContext context, TypedVariableArgument semanticObject) { if (errorAcceptor != null) { - if (transientValues.isValueTransient(semanticObject, SolverLanguagePackage.Literals.TYPED_STAR_ARGUMENT__TYPE) == ValueTransient.YES) - errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, SolverLanguagePackage.Literals.TYPED_STAR_ARGUMENT__TYPE)); + if (transientValues.isValueTransient(semanticObject, SolverLanguagePackage.Literals.TYPED_ARGUMENT__TYPE_REFERENCE) == ValueTransient.YES) + errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, SolverLanguagePackage.Literals.TYPED_ARGUMENT__TYPE_REFERENCE)); + if (transientValues.isValueTransient(semanticObject, SolverLanguagePackage.Literals.TYPED_VARIABLE_ARGUMENT__NAME) == ValueTransient.YES) + errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, SolverLanguagePackage.Literals.TYPED_VARIABLE_ARGUMENT__NAME)); } SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); - feeder.accept(grammarAccess.getTypedStarArgumentAccess().getTypeNamedElementQualifiedNameParserRuleCall_0_0_1(), semanticObject.eGet(SolverLanguagePackage.Literals.TYPED_STAR_ARGUMENT__TYPE, false)); + feeder.accept(grammarAccess.getTypedVariableArgumentAccess().getTypeReferenceTypeReferenceParserRuleCall_0_0(), semanticObject.getTypeReference()); + feeder.accept(grammarAccess.getTypedVariableArgumentAccess().getNameIDTerminalRuleCall_1_0(), semanticObject.getName()); feeder.finish(); } /** * Contexts: - * Statement returns UnaryExpression - * AssertionOrDefinition returns UnaryExpression - * AssertionOrDefinition.Interpretation_1_0_0 returns UnaryExpression + * AssertionOrDefinition.Assertion_1_0_0 returns UnaryExpression * AssertionOrDefinition.PredicateDefinition_1_1_0 returns UnaryExpression - * AssertionOrDefinition.MetricDefinition_1_2_0 returns UnaryExpression + * AssertionOrDefinition.FunctionDefinition_1_2_0 returns UnaryExpression * Expression returns UnaryExpression - * ImplicationExpression returns UnaryExpression - * ImplicationExpression.BinaryExpression_1_0 returns UnaryExpression + * Expression.Forall_2_1_0 returns UnaryExpression * DisjunctiveExpression returns UnaryExpression * DisjunctiveExpression.Disjunction_1_0_0 returns UnaryExpression * DisjunctiveExpression.Case_1_1_0 returns UnaryExpression * ConjunctiveExpression returns UnaryExpression * ConjunctiveExpression.Conjunction_1_0 returns UnaryExpression * ComparisonExpression returns UnaryExpression - * ComparisonExpression.Comparison_1_0 returns UnaryExpression + * ComparisonExpression.BinaryExpression_1_0 returns UnaryExpression * AdditiveExpression returns UnaryExpression * AdditiveExpression.BinaryExpression_1_0 returns UnaryExpression * MultiplicativeExpression returns UnaryExpression @@ -1600,11 +1676,11 @@ public class SolverLanguageSemanticSequencer extends AbstractDelegatingSemanticS * CastExpression returns UnaryExpression * CastExpression.CastExpression_1_0 returns UnaryExpression * UnaryExpression returns UnaryExpression - * AggregationExpression returns UnaryExpression + * BracedAggregateExpression returns UnaryExpression * AtomicExpression returns UnaryExpression * * Constraint: - * (op=UnaryOp body=AggregationExpression) + * (op=UnaryOperator body=BracedAggregateExpression) */ protected void sequence_UnaryExpression(ISerializationContext context, UnaryExpression semanticObject) { if (errorAcceptor != null) { @@ -1614,43 +1690,66 @@ public class SolverLanguageSemanticSequencer extends AbstractDelegatingSemanticS errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, SolverLanguagePackage.Literals.UNARY_EXPRESSION__BODY)); } SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); - feeder.accept(grammarAccess.getUnaryExpressionAccess().getOpUnaryOpEnumRuleCall_1_1_0(), semanticObject.getOp()); - feeder.accept(grammarAccess.getUnaryExpressionAccess().getBodyAggregationExpressionParserRuleCall_1_2_0(), semanticObject.getBody()); + feeder.accept(grammarAccess.getUnaryExpressionAccess().getOpUnaryOperatorEnumRuleCall_1_1_0(), semanticObject.getOp()); + feeder.accept(grammarAccess.getUnaryExpressionAccess().getBodyBracedAggregateExpressionParserRuleCall_1_2_0(), semanticObject.getBody()); feeder.finish(); } /** * Contexts: - * Statement returns UnnamedErrorPrediateDefinition - * UnnamedErrorPrediateDefinition returns UnnamedErrorPrediateDefinition + * Multiplicity returns UnboundedMultiplicity + * UnboundedMultiplicity returns UnboundedMultiplicity + * + * Constraint: + * {UnboundedMultiplicity} + */ + protected void sequence_UnboundedMultiplicity(ISerializationContext context, UnboundedMultiplicity semanticObject) { + genericSequencer.createSequence(context, semanticObject); + } + + + /** + * Contexts: + * Statement returns UnnamedErrorPredicateDefintion + * UnnamedErrorPredicateDefintion returns UnnamedErrorPredicateDefintion * * Constraint: * (argumentList=ArgumentList body=Expression) */ - protected void sequence_UnnamedErrorPrediateDefinition(ISerializationContext context, UnnamedErrorPrediateDefinition semanticObject) { + protected void sequence_UnnamedErrorPredicateDefintion(ISerializationContext context, UnnamedErrorPredicateDefintion semanticObject) { if (errorAcceptor != null) { - if (transientValues.isValueTransient(semanticObject, SolverLanguagePackage.Literals.UNNAMED_ERROR_PREDIATE_DEFINITION__ARGUMENT_LIST) == ValueTransient.YES) - errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, SolverLanguagePackage.Literals.UNNAMED_ERROR_PREDIATE_DEFINITION__ARGUMENT_LIST)); - if (transientValues.isValueTransient(semanticObject, SolverLanguagePackage.Literals.UNNAMED_ERROR_PREDIATE_DEFINITION__BODY) == ValueTransient.YES) - errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, SolverLanguagePackage.Literals.UNNAMED_ERROR_PREDIATE_DEFINITION__BODY)); + if (transientValues.isValueTransient(semanticObject, SolverLanguagePackage.Literals.UNNAMED_ERROR_PREDICATE_DEFINTION__ARGUMENT_LIST) == ValueTransient.YES) + errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, SolverLanguagePackage.Literals.UNNAMED_ERROR_PREDICATE_DEFINTION__ARGUMENT_LIST)); + if (transientValues.isValueTransient(semanticObject, SolverLanguagePackage.Literals.UNNAMED_ERROR_PREDICATE_DEFINTION__BODY) == ValueTransient.YES) + errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, SolverLanguagePackage.Literals.UNNAMED_ERROR_PREDICATE_DEFINTION__BODY)); } SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); - feeder.accept(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getArgumentListArgumentListParserRuleCall_1_0(), semanticObject.getArgumentList()); - feeder.accept(grammarAccess.getUnnamedErrorPrediateDefinitionAccess().getBodyExpressionParserRuleCall_3_0(), semanticObject.getBody()); + feeder.accept(grammarAccess.getUnnamedErrorPredicateDefintionAccess().getArgumentListArgumentListParserRuleCall_1_0(), semanticObject.getArgumentList()); + feeder.accept(grammarAccess.getUnnamedErrorPredicateDefintionAccess().getBodyExpressionParserRuleCall_3_0(), semanticObject.getBody()); feeder.finish(); } /** * Contexts: - * Variable returns Variable + * Import returns UriImport + * UriImport returns UriImport * * Constraint: - * (type=[NamedElement|QualifiedName]? name=ID) + * (uri=STRING alias=QualifiedName) */ - protected void sequence_Variable(ISerializationContext context, Variable semanticObject) { - genericSequencer.createSequence(context, semanticObject); + protected void sequence_UriImport(ISerializationContext context, UriImport semanticObject) { + if (errorAcceptor != null) { + if (transientValues.isValueTransient(semanticObject, SolverLanguagePackage.Literals.URI_IMPORT__URI) == ValueTransient.YES) + errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, SolverLanguagePackage.Literals.URI_IMPORT__URI)); + if (transientValues.isValueTransient(semanticObject, SolverLanguagePackage.Literals.IMPORT__ALIAS) == ValueTransient.YES) + errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, SolverLanguagePackage.Literals.IMPORT__ALIAS)); + } + SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); + feeder.accept(grammarAccess.getUriImportAccess().getUriSTRINGTerminalRuleCall_1_0(), semanticObject.getUri()); + feeder.accept(grammarAccess.getUriImportAccess().getAliasQualifiedNameParserRuleCall_2_1_0(), semanticObject.getAlias()); + feeder.finish(); } diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/serializer/SolverLanguageSyntacticSequencer.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/serializer/SolverLanguageSyntacticSequencer.java index 8b187721..2f9ea8a3 100644 --- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/serializer/SolverLanguageSyntacticSequencer.java +++ b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/serializer/SolverLanguageSyntacticSequencer.java @@ -11,6 +11,8 @@ import org.eclipse.xtext.IGrammarAccess; import org.eclipse.xtext.RuleCall; import org.eclipse.xtext.nodemodel.INode; import org.eclipse.xtext.serializer.analysis.GrammarAlias.AbstractElementAlias; +import org.eclipse.xtext.serializer.analysis.GrammarAlias.AlternativeAlias; +import org.eclipse.xtext.serializer.analysis.GrammarAlias.GroupAlias; import org.eclipse.xtext.serializer.analysis.GrammarAlias.TokenAlias; import org.eclipse.xtext.serializer.analysis.ISyntacticSequencerPDAProvider.ISynNavigable; import org.eclipse.xtext.serializer.analysis.ISyntacticSequencerPDAProvider.ISynTransition; @@ -22,14 +24,20 @@ public class SolverLanguageSyntacticSequencer extends AbstractSyntacticSequencer protected SolverLanguageGrammarAccess grammarAccess; protected AbstractElementAlias match_AtomicExpression_LeftParenthesisKeyword_4_0_a; protected AbstractElementAlias match_AtomicExpression_LeftParenthesisKeyword_4_0_p; - protected AbstractElementAlias match_MemberDefinition_SemicolonKeyword_5_q; + protected AbstractElementAlias match_ClassDeclaration_FULL_STOPTerminalRuleCall_4_1_or___LeftCurlyBracketKeyword_4_0_0_RightCurlyBracketKeyword_4_0_2__; + protected AbstractElementAlias match_EnumDeclaration_CommaKeyword_2_0_1_1_0_q; + protected AbstractElementAlias match_EnumDeclaration_FULL_STOPTerminalRuleCall_2_1_or___LeftCurlyBracketKeyword_2_0_0_RightCurlyBracketKeyword_2_0_2__; + protected AbstractElementAlias match_Field_SemicolonKeyword_5_q; @Inject protected void init(IGrammarAccess access) { grammarAccess = (SolverLanguageGrammarAccess) access; match_AtomicExpression_LeftParenthesisKeyword_4_0_a = new TokenAlias(true, true, grammarAccess.getAtomicExpressionAccess().getLeftParenthesisKeyword_4_0()); match_AtomicExpression_LeftParenthesisKeyword_4_0_p = new TokenAlias(true, false, grammarAccess.getAtomicExpressionAccess().getLeftParenthesisKeyword_4_0()); - match_MemberDefinition_SemicolonKeyword_5_q = new TokenAlias(false, true, grammarAccess.getMemberDefinitionAccess().getSemicolonKeyword_5()); + match_ClassDeclaration_FULL_STOPTerminalRuleCall_4_1_or___LeftCurlyBracketKeyword_4_0_0_RightCurlyBracketKeyword_4_0_2__ = new AlternativeAlias(false, false, new GroupAlias(false, false, new TokenAlias(false, false, grammarAccess.getClassDeclarationAccess().getLeftCurlyBracketKeyword_4_0_0()), new TokenAlias(false, false, grammarAccess.getClassDeclarationAccess().getRightCurlyBracketKeyword_4_0_2())), new TokenAlias(false, false, grammarAccess.getClassDeclarationAccess().getFULL_STOPTerminalRuleCall_4_1())); + match_EnumDeclaration_CommaKeyword_2_0_1_1_0_q = new TokenAlias(false, true, grammarAccess.getEnumDeclarationAccess().getCommaKeyword_2_0_1_1_0()); + match_EnumDeclaration_FULL_STOPTerminalRuleCall_2_1_or___LeftCurlyBracketKeyword_2_0_0_RightCurlyBracketKeyword_2_0_2__ = new AlternativeAlias(false, false, new GroupAlias(false, false, new TokenAlias(false, false, grammarAccess.getEnumDeclarationAccess().getLeftCurlyBracketKeyword_2_0_0()), new TokenAlias(false, false, grammarAccess.getEnumDeclarationAccess().getRightCurlyBracketKeyword_2_0_2())), new TokenAlias(false, false, grammarAccess.getEnumDeclarationAccess().getFULL_STOPTerminalRuleCall_2_1())); + match_Field_SemicolonKeyword_5_q = new TokenAlias(false, true, grammarAccess.getFieldAccess().getSemicolonKeyword_5()); } @Override @@ -71,8 +79,14 @@ public class SolverLanguageSyntacticSequencer extends AbstractSyntacticSequencer emit_AtomicExpression_LeftParenthesisKeyword_4_0_a(semanticObject, getLastNavigableState(), syntaxNodes); else if (match_AtomicExpression_LeftParenthesisKeyword_4_0_p.equals(syntax)) emit_AtomicExpression_LeftParenthesisKeyword_4_0_p(semanticObject, getLastNavigableState(), syntaxNodes); - else if (match_MemberDefinition_SemicolonKeyword_5_q.equals(syntax)) - emit_MemberDefinition_SemicolonKeyword_5_q(semanticObject, getLastNavigableState(), syntaxNodes); + else if (match_ClassDeclaration_FULL_STOPTerminalRuleCall_4_1_or___LeftCurlyBracketKeyword_4_0_0_RightCurlyBracketKeyword_4_0_2__.equals(syntax)) + emit_ClassDeclaration_FULL_STOPTerminalRuleCall_4_1_or___LeftCurlyBracketKeyword_4_0_0_RightCurlyBracketKeyword_4_0_2__(semanticObject, getLastNavigableState(), syntaxNodes); + else if (match_EnumDeclaration_CommaKeyword_2_0_1_1_0_q.equals(syntax)) + emit_EnumDeclaration_CommaKeyword_2_0_1_1_0_q(semanticObject, getLastNavigableState(), syntaxNodes); + else if (match_EnumDeclaration_FULL_STOPTerminalRuleCall_2_1_or___LeftCurlyBracketKeyword_2_0_0_RightCurlyBracketKeyword_2_0_2__.equals(syntax)) + emit_EnumDeclaration_FULL_STOPTerminalRuleCall_2_1_or___LeftCurlyBracketKeyword_2_0_0_RightCurlyBracketKeyword_2_0_2__(semanticObject, getLastNavigableState(), syntaxNodes); + else if (match_Field_SemicolonKeyword_5_q.equals(syntax)) + emit_Field_SemicolonKeyword_5_q(semanticObject, getLastNavigableState(), syntaxNodes); else acceptNodes(getLastNavigableState(), syntaxNodes); } } @@ -82,26 +96,25 @@ public class SolverLanguageSyntacticSequencer extends AbstractSyntacticSequencer * '('* * * This ambiguous syntax occurs at: - * (rule start) (ambiguity) '[' lowerBound=Expression + * (rule start) (ambiguity) '[' lowerBound=AdditiveExpression + * (rule start) (ambiguity) 'count' '{' condition=Expression * (rule start) (ambiguity) 'empty' (rule start) - * (rule start) (ambiguity) 'empty' FULL_STOP (rule start) - * (rule start) (ambiguity) 'if' condition=Expression + * (rule start) (ambiguity) 'if' condition=DisjunctiveExpression * (rule start) (ambiguity) 'inf' (rule start) - * (rule start) (ambiguity) 'inf' FULL_STOP (rule start) * (rule start) (ambiguity) 'let' bindings+=LetBinding + * (rule start) (ambiguity) components+=PathComponent * (rule start) (ambiguity) functor=Reference - * (rule start) (ambiguity) op=UnaryOp - * (rule start) (ambiguity) op=[NamedElement|QualifiedName] - * (rule start) (ambiguity) quantifier=Quantifier - * (rule start) (ambiguity) referred=[NamedElement|QualifiedName] + * (rule start) (ambiguity) op=UnaryOperator + * (rule start) (ambiguity) op=[Symbol|QualifiedName] + * (rule start) (ambiguity) value=INT * (rule start) (ambiguity) value=LogicValue * (rule start) (ambiguity) value=Real * (rule start) (ambiguity) value=STRING * (rule start) (ambiguity) {BinaryExpression.left=} * (rule start) (ambiguity) {CastExpression.body=} - * (rule start) (ambiguity) {Comparison.left=} * (rule start) (ambiguity) {Conjunction.children+=} * (rule start) (ambiguity) {Disjunction.children+=} + * (rule start) (ambiguity) {Forall.condition=} * (rule start) (ambiguity) {Switch.cases+=} */ protected void emit_AtomicExpression_LeftParenthesisKeyword_4_0_a(EObject semanticObject, ISynNavigable transition, List nodes) { @@ -113,31 +126,65 @@ public class SolverLanguageSyntacticSequencer extends AbstractSyntacticSequencer * '('+ * * This ambiguous syntax occurs at: - * (rule start) (ambiguity) 'if' condition=Expression + * (rule start) (ambiguity) 'count' '{' condition=Expression + * (rule start) (ambiguity) 'if' condition=DisjunctiveExpression * (rule start) (ambiguity) 'let' bindings+=LetBinding - * (rule start) (ambiguity) op=UnaryOp - * (rule start) (ambiguity) op=[NamedElement|QualifiedName] - * (rule start) (ambiguity) quantifier=Quantifier + * (rule start) (ambiguity) op=UnaryOperator + * (rule start) (ambiguity) op=[Symbol|QualifiedName] * (rule start) (ambiguity) {BinaryExpression.left=} * (rule start) (ambiguity) {CastExpression.body=} - * (rule start) (ambiguity) {Comparison.left=} * (rule start) (ambiguity) {Conjunction.children+=} * (rule start) (ambiguity) {Disjunction.children+=} + * (rule start) (ambiguity) {Forall.condition=} * (rule start) (ambiguity) {Switch.cases+=} */ protected void emit_AtomicExpression_LeftParenthesisKeyword_4_0_p(EObject semanticObject, ISynNavigable transition, List nodes) { acceptNodes(transition, nodes); } + /** + * Ambiguous syntax: + * ('{' '}') | FULL_STOP + * + * This ambiguous syntax occurs at: + * name=ID (ambiguity) (rule end) + * supertypes+=[Symbol|QualifiedName] (ambiguity) (rule end) + */ + protected void emit_ClassDeclaration_FULL_STOPTerminalRuleCall_4_1_or___LeftCurlyBracketKeyword_4_0_0_RightCurlyBracketKeyword_4_0_2__(EObject semanticObject, ISynNavigable transition, List nodes) { + acceptNodes(transition, nodes); + } + + /** + * Ambiguous syntax: + * ','? + * + * This ambiguous syntax occurs at: + * literals+=EnumLiteral (ambiguity) literals+=EnumLiteral + */ + protected void emit_EnumDeclaration_CommaKeyword_2_0_1_1_0_q(EObject semanticObject, ISynNavigable transition, List nodes) { + acceptNodes(transition, nodes); + } + + /** + * Ambiguous syntax: + * ('{' '}') | FULL_STOP + * + * This ambiguous syntax occurs at: + * name=ID (ambiguity) (rule end) + */ + protected void emit_EnumDeclaration_FULL_STOPTerminalRuleCall_2_1_or___LeftCurlyBracketKeyword_2_0_0_RightCurlyBracketKeyword_2_0_2__(EObject semanticObject, ISynNavigable transition, List nodes) { + acceptNodes(transition, nodes); + } + /** * Ambiguous syntax: * ';'? * * This ambiguous syntax occurs at: * name=ID (ambiguity) (rule end) - * opposite=[NamedElement|QualifiedName] (ambiguity) (rule end) + * opposite=[Symbol|QualifiedName] (ambiguity) (rule end) */ - protected void emit_MemberDefinition_SemicolonKeyword_5_q(EObject semanticObject, ISynNavigable transition, List nodes) { + protected void emit_Field_SemicolonKeyword_5_q(EObject semanticObject, ISynNavigable transition, List nodes) { acceptNodes(transition, nodes); } diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/services/SolverLanguageGrammarAccess.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/services/SolverLanguageGrammarAccess.java index ed1569a5..a70729d4 100644 --- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/services/SolverLanguageGrammarAccess.java +++ b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/services/SolverLanguageGrammarAccess.java @@ -19,6 +19,7 @@ import org.eclipse.xtext.Keyword; import org.eclipse.xtext.ParserRule; import org.eclipse.xtext.RuleCall; import org.eclipse.xtext.TerminalRule; +import org.eclipse.xtext.UnorderedGroup; import org.eclipse.xtext.common.services.TerminalsGrammarAccess; import org.eclipse.xtext.service.AbstractElementFinder.AbstractEnumRuleElementFinder; import org.eclipse.xtext.service.AbstractElementFinder.AbstractGrammarElementFinder; @@ -29,91 +30,214 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder { public class ProblemElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.Problem"); - private final Assignment cStatementsAssignment = (Assignment)rule.eContents().get(1); - private final RuleCall cStatementsStatementParserRuleCall_0 = (RuleCall)cStatementsAssignment.eContents().get(0); + private final Group cGroup = (Group)rule.eContents().get(1); + private final Group cGroup_0 = (Group)cGroup.eContents().get(0); + private final Keyword cProblemKeyword_0_0 = (Keyword)cGroup_0.eContents().get(0); + private final Assignment cNameAssignment_0_1 = (Assignment)cGroup_0.eContents().get(1); + private final RuleCall cNameQualifiedNameParserRuleCall_0_1_0 = (RuleCall)cNameAssignment_0_1.eContents().get(0); + private final RuleCall cFULL_STOPTerminalRuleCall_0_2 = (RuleCall)cGroup_0.eContents().get(2); + private final Assignment cImportsAssignment_1 = (Assignment)cGroup.eContents().get(1); + private final RuleCall cImportsImportParserRuleCall_1_0 = (RuleCall)cImportsAssignment_1.eContents().get(0); + private final Assignment cStatementsAssignment_2 = (Assignment)cGroup.eContents().get(2); + private final RuleCall cStatementsStatementParserRuleCall_2_0 = (RuleCall)cStatementsAssignment_2.eContents().get(0); //Problem: + // ("problem" name=QualifiedName FULL_STOP)? + // imports+=Import* // statements+=Statement*; @Override public ParserRule getRule() { return rule; } + //("problem" name=QualifiedName FULL_STOP)? imports+=Import* statements+=Statement* + public Group getGroup() { return cGroup; } + + //("problem" name=QualifiedName FULL_STOP)? + public Group getGroup_0() { return cGroup_0; } + + //"problem" + public Keyword getProblemKeyword_0_0() { return cProblemKeyword_0_0; } + + //name=QualifiedName + public Assignment getNameAssignment_0_1() { return cNameAssignment_0_1; } + + //QualifiedName + public RuleCall getNameQualifiedNameParserRuleCall_0_1_0() { return cNameQualifiedNameParserRuleCall_0_1_0; } + + //FULL_STOP + public RuleCall getFULL_STOPTerminalRuleCall_0_2() { return cFULL_STOPTerminalRuleCall_0_2; } + + //imports+=Import* + public Assignment getImportsAssignment_1() { return cImportsAssignment_1; } + + //Import + public RuleCall getImportsImportParserRuleCall_1_0() { return cImportsImportParserRuleCall_1_0; } + //statements+=Statement* - public Assignment getStatementsAssignment() { return cStatementsAssignment; } + public Assignment getStatementsAssignment_2() { return cStatementsAssignment_2; } //Statement - public RuleCall getStatementsStatementParserRuleCall_0() { return cStatementsStatementParserRuleCall_0; } + public RuleCall getStatementsStatementParserRuleCall_2_0() { return cStatementsStatementParserRuleCall_2_0; } } public class StatementElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.Statement"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final Alternatives cAlternatives_0 = (Alternatives)cGroup.eContents().get(0); - private final RuleCall cAssertionOrDefinitionParserRuleCall_0_0 = (RuleCall)cAlternatives_0.eContents().get(0); - private final RuleCall cPredicateDefinitionParserRuleCall_0_1 = (RuleCall)cAlternatives_0.eContents().get(1); - private final RuleCall cUnnamedErrorPrediateDefinitionParserRuleCall_0_2 = (RuleCall)cAlternatives_0.eContents().get(2); - private final RuleCall cDefaultDefinitionParserRuleCall_0_3 = (RuleCall)cAlternatives_0.eContents().get(3); - private final RuleCall cMetricDefinitionParserRuleCall_0_4 = (RuleCall)cAlternatives_0.eContents().get(4); - private final RuleCall cExternPredicateDefinitionParserRuleCall_0_5 = (RuleCall)cAlternatives_0.eContents().get(5); - private final RuleCall cExternMetricDefinitionParserRuleCall_0_6 = (RuleCall)cAlternatives_0.eContents().get(6); - private final RuleCall cExternAggregatorDefinitionParserRuleCall_0_7 = (RuleCall)cAlternatives_0.eContents().get(7); - private final RuleCall cExternDatatypeDefinitionParserRuleCall_0_8 = (RuleCall)cAlternatives_0.eContents().get(8); - private final RuleCall cClassDefinitionParserRuleCall_0_9 = (RuleCall)cAlternatives_0.eContents().get(9); - private final RuleCall cScopeDefinitionParserRuleCall_0_10 = (RuleCall)cAlternatives_0.eContents().get(10); - private final RuleCall cObjectiveDefinitionParserRuleCall_0_11 = (RuleCall)cAlternatives_0.eContents().get(11); - private final RuleCall cFULL_STOPTerminalRuleCall_1 = (RuleCall)cGroup.eContents().get(1); + private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); + private final RuleCall cAssertionOrDefinitionParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); + private final RuleCall cPredicateDefinitionParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); + private final RuleCall cUnnamedErrorPredicateDefintionParserRuleCall_2 = (RuleCall)cAlternatives.eContents().get(2); + private final RuleCall cDefaultAssertionParserRuleCall_3 = (RuleCall)cAlternatives.eContents().get(3); + private final RuleCall cFunctionDefinitionParserRuleCall_4 = (RuleCall)cAlternatives.eContents().get(4); + private final RuleCall cAttributeParserRuleCall_5 = (RuleCall)cAlternatives.eContents().get(5); + private final RuleCall cExternDeclarationParserRuleCall_6 = (RuleCall)cAlternatives.eContents().get(6); + private final RuleCall cScopeDeclarationParserRuleCall_7 = (RuleCall)cAlternatives.eContents().get(7); + private final RuleCall cObjectiveDeclarationParserRuleCall_8 = (RuleCall)cAlternatives.eContents().get(8); + private final RuleCall cClassDeclarationParserRuleCall_9 = (RuleCall)cAlternatives.eContents().get(9); + private final RuleCall cEnumDeclarationParserRuleCall_10 = (RuleCall)cAlternatives.eContents().get(10); //Statement: - // (AssertionOrDefinition | PredicateDefinition | UnnamedErrorPrediateDefinition | DefaultDefinition | MetricDefinition - // | ExternPredicateDefinition | ExternMetricDefinition | ExternAggregatorDefinition | ExternDatatypeDefinition | - // ClassDefinition | ScopeDefinition | ObjectiveDefinition) FULL_STOP; + // AssertionOrDefinition | PredicateDefinition | UnnamedErrorPredicateDefintion | DefaultAssertion | FunctionDefinition + // | Attribute | ExternDeclaration | ScopeDeclaration | ObjectiveDeclaration | ClassDeclaration | EnumDeclaration; @Override public ParserRule getRule() { return rule; } - //(AssertionOrDefinition | PredicateDefinition | UnnamedErrorPrediateDefinition | DefaultDefinition | MetricDefinition | - //ExternPredicateDefinition | ExternMetricDefinition | ExternAggregatorDefinition | ExternDatatypeDefinition | - //ClassDefinition | ScopeDefinition | ObjectiveDefinition) FULL_STOP - public Group getGroup() { return cGroup; } - - //(AssertionOrDefinition | PredicateDefinition | UnnamedErrorPrediateDefinition | DefaultDefinition | MetricDefinition | - //ExternPredicateDefinition | ExternMetricDefinition | ExternAggregatorDefinition | ExternDatatypeDefinition | - //ClassDefinition | ScopeDefinition | ObjectiveDefinition) - public Alternatives getAlternatives_0() { return cAlternatives_0; } + //AssertionOrDefinition | PredicateDefinition | UnnamedErrorPredicateDefintion | DefaultAssertion | FunctionDefinition | + //Attribute | ExternDeclaration | ScopeDeclaration | ObjectiveDeclaration | ClassDeclaration | EnumDeclaration + public Alternatives getAlternatives() { return cAlternatives; } //AssertionOrDefinition - public RuleCall getAssertionOrDefinitionParserRuleCall_0_0() { return cAssertionOrDefinitionParserRuleCall_0_0; } + public RuleCall getAssertionOrDefinitionParserRuleCall_0() { return cAssertionOrDefinitionParserRuleCall_0; } //PredicateDefinition - public RuleCall getPredicateDefinitionParserRuleCall_0_1() { return cPredicateDefinitionParserRuleCall_0_1; } + public RuleCall getPredicateDefinitionParserRuleCall_1() { return cPredicateDefinitionParserRuleCall_1; } - //UnnamedErrorPrediateDefinition - public RuleCall getUnnamedErrorPrediateDefinitionParserRuleCall_0_2() { return cUnnamedErrorPrediateDefinitionParserRuleCall_0_2; } + //UnnamedErrorPredicateDefintion + public RuleCall getUnnamedErrorPredicateDefintionParserRuleCall_2() { return cUnnamedErrorPredicateDefintionParserRuleCall_2; } - //DefaultDefinition - public RuleCall getDefaultDefinitionParserRuleCall_0_3() { return cDefaultDefinitionParserRuleCall_0_3; } + //DefaultAssertion + public RuleCall getDefaultAssertionParserRuleCall_3() { return cDefaultAssertionParserRuleCall_3; } - //MetricDefinition - public RuleCall getMetricDefinitionParserRuleCall_0_4() { return cMetricDefinitionParserRuleCall_0_4; } + //FunctionDefinition + public RuleCall getFunctionDefinitionParserRuleCall_4() { return cFunctionDefinitionParserRuleCall_4; } - //ExternPredicateDefinition - public RuleCall getExternPredicateDefinitionParserRuleCall_0_5() { return cExternPredicateDefinitionParserRuleCall_0_5; } + //Attribute + public RuleCall getAttributeParserRuleCall_5() { return cAttributeParserRuleCall_5; } - //ExternMetricDefinition - public RuleCall getExternMetricDefinitionParserRuleCall_0_6() { return cExternMetricDefinitionParserRuleCall_0_6; } + //ExternDeclaration + public RuleCall getExternDeclarationParserRuleCall_6() { return cExternDeclarationParserRuleCall_6; } - //ExternAggregatorDefinition - public RuleCall getExternAggregatorDefinitionParserRuleCall_0_7() { return cExternAggregatorDefinitionParserRuleCall_0_7; } + //ScopeDeclaration + public RuleCall getScopeDeclarationParserRuleCall_7() { return cScopeDeclarationParserRuleCall_7; } - //ExternDatatypeDefinition - public RuleCall getExternDatatypeDefinitionParserRuleCall_0_8() { return cExternDatatypeDefinitionParserRuleCall_0_8; } + //ObjectiveDeclaration + public RuleCall getObjectiveDeclarationParserRuleCall_8() { return cObjectiveDeclarationParserRuleCall_8; } - //ClassDefinition - public RuleCall getClassDefinitionParserRuleCall_0_9() { return cClassDefinitionParserRuleCall_0_9; } + //ClassDeclaration + public RuleCall getClassDeclarationParserRuleCall_9() { return cClassDeclarationParserRuleCall_9; } - //ScopeDefinition - public RuleCall getScopeDefinitionParserRuleCall_0_10() { return cScopeDefinitionParserRuleCall_0_10; } + //EnumDeclaration + public RuleCall getEnumDeclarationParserRuleCall_10() { return cEnumDeclarationParserRuleCall_10; } + } + public class ImportElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.Import"); + private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); + private final RuleCall cUriImportParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); + private final RuleCall cNamespaceImportParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); - //ObjectiveDefinition - public RuleCall getObjectiveDefinitionParserRuleCall_0_11() { return cObjectiveDefinitionParserRuleCall_0_11; } + //Import: + // UriImport | NamespaceImport; + @Override public ParserRule getRule() { return rule; } + + //UriImport | NamespaceImport + public Alternatives getAlternatives() { return cAlternatives; } + + //UriImport + public RuleCall getUriImportParserRuleCall_0() { return cUriImportParserRuleCall_0; } + + //NamespaceImport + public RuleCall getNamespaceImportParserRuleCall_1() { return cNamespaceImportParserRuleCall_1; } + } + public class UriImportElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.UriImport"); + private final Group cGroup = (Group)rule.eContents().get(1); + private final Keyword cImportKeyword_0 = (Keyword)cGroup.eContents().get(0); + private final Assignment cUriAssignment_1 = (Assignment)cGroup.eContents().get(1); + private final RuleCall cUriSTRINGTerminalRuleCall_1_0 = (RuleCall)cUriAssignment_1.eContents().get(0); + private final Group cGroup_2 = (Group)cGroup.eContents().get(2); + private final Keyword cAsKeyword_2_0 = (Keyword)cGroup_2.eContents().get(0); + private final Assignment cAliasAssignment_2_1 = (Assignment)cGroup_2.eContents().get(1); + private final RuleCall cAliasQualifiedNameParserRuleCall_2_1_0 = (RuleCall)cAliasAssignment_2_1.eContents().get(0); + private final RuleCall cFULL_STOPTerminalRuleCall_3 = (RuleCall)cGroup.eContents().get(3); + + //UriImport: + // "import" uri=STRING ("as" alias=QualifiedName) FULL_STOP; + @Override public ParserRule getRule() { return rule; } + + //"import" uri=STRING ("as" alias=QualifiedName) FULL_STOP + public Group getGroup() { return cGroup; } + + //"import" + public Keyword getImportKeyword_0() { return cImportKeyword_0; } + + //uri=STRING + public Assignment getUriAssignment_1() { return cUriAssignment_1; } + + //STRING + public RuleCall getUriSTRINGTerminalRuleCall_1_0() { return cUriSTRINGTerminalRuleCall_1_0; } + + //("as" alias=QualifiedName) + public Group getGroup_2() { return cGroup_2; } + + //"as" + public Keyword getAsKeyword_2_0() { return cAsKeyword_2_0; } + + //alias=QualifiedName + public Assignment getAliasAssignment_2_1() { return cAliasAssignment_2_1; } + + //QualifiedName + public RuleCall getAliasQualifiedNameParserRuleCall_2_1_0() { return cAliasQualifiedNameParserRuleCall_2_1_0; } + + //FULL_STOP + public RuleCall getFULL_STOPTerminalRuleCall_3() { return cFULL_STOPTerminalRuleCall_3; } + } + public class NamespaceImportElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.NamespaceImport"); + private final Group cGroup = (Group)rule.eContents().get(1); + private final Keyword cImportKeyword_0 = (Keyword)cGroup.eContents().get(0); + private final Assignment cImportedNamespaceAssignment_1 = (Assignment)cGroup.eContents().get(1); + private final RuleCall cImportedNamespaceQualifiedNameParserRuleCall_1_0 = (RuleCall)cImportedNamespaceAssignment_1.eContents().get(0); + private final Group cGroup_2 = (Group)cGroup.eContents().get(2); + private final Keyword cAsKeyword_2_0 = (Keyword)cGroup_2.eContents().get(0); + private final Assignment cAliasAssignment_2_1 = (Assignment)cGroup_2.eContents().get(1); + private final RuleCall cAliasQualifiedNameParserRuleCall_2_1_0 = (RuleCall)cAliasAssignment_2_1.eContents().get(0); + private final RuleCall cFULL_STOPTerminalRuleCall_3 = (RuleCall)cGroup.eContents().get(3); + + //NamespaceImport: + // "import" importedNamespace=QualifiedName ("as" alias=QualifiedName) FULL_STOP; + @Override public ParserRule getRule() { return rule; } + + //"import" importedNamespace=QualifiedName ("as" alias=QualifiedName) FULL_STOP + public Group getGroup() { return cGroup; } + + //"import" + public Keyword getImportKeyword_0() { return cImportKeyword_0; } + + //importedNamespace=QualifiedName + public Assignment getImportedNamespaceAssignment_1() { return cImportedNamespaceAssignment_1; } + + //QualifiedName + public RuleCall getImportedNamespaceQualifiedNameParserRuleCall_1_0() { return cImportedNamespaceQualifiedNameParserRuleCall_1_0; } + + //("as" alias=QualifiedName) + public Group getGroup_2() { return cGroup_2; } + + //"as" + public Keyword getAsKeyword_2_0() { return cAsKeyword_2_0; } + + //alias=QualifiedName + public Assignment getAliasAssignment_2_1() { return cAliasAssignment_2_1; } + + //QualifiedName + public RuleCall getAliasQualifiedNameParserRuleCall_2_1_0() { return cAliasQualifiedNameParserRuleCall_2_1_0; } //FULL_STOP - public RuleCall getFULL_STOPTerminalRuleCall_1() { return cFULL_STOPTerminalRuleCall_1; } + public RuleCall getFULL_STOPTerminalRuleCall_3() { return cFULL_STOPTerminalRuleCall_3; } } public class AssertionOrDefinitionElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.AssertionOrDefinition"); @@ -121,51 +245,56 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder { private final RuleCall cExpressionParserRuleCall_0 = (RuleCall)cGroup.eContents().get(0); private final Alternatives cAlternatives_1 = (Alternatives)cGroup.eContents().get(1); private final Group cGroup_1_0 = (Group)cAlternatives_1.eContents().get(0); - private final Action cInterpretationBodyAction_1_0_0 = (Action)cGroup_1_0.eContents().get(0); - private final Keyword cColonKeyword_1_0_1 = (Keyword)cGroup_1_0.eContents().get(1); - private final Assignment cRangeAssignment_1_0_2 = (Assignment)cGroup_1_0.eContents().get(2); - private final RuleCall cRangeExpressionParserRuleCall_1_0_2_0 = (RuleCall)cRangeAssignment_1_0_2.eContents().get(0); + private final Action cAssertionExpressionAction_1_0_0 = (Action)cGroup_1_0.eContents().get(0); + private final Group cGroup_1_0_1 = (Group)cGroup_1_0.eContents().get(1); + private final Keyword cColonKeyword_1_0_1_0 = (Keyword)cGroup_1_0_1.eContents().get(0); + private final Assignment cRangeAssignment_1_0_1_1 = (Assignment)cGroup_1_0_1.eContents().get(1); + private final RuleCall cRangeExpressionParserRuleCall_1_0_1_1_0 = (RuleCall)cRangeAssignment_1_0_1_1.eContents().get(0); private final Group cGroup_1_1 = (Group)cAlternatives_1.eContents().get(1); private final Action cPredicateDefinitionHeadAction_1_1_0 = (Action)cGroup_1_1.eContents().get(0); private final Keyword cColonHyphenMinusKeyword_1_1_1 = (Keyword)cGroup_1_1.eContents().get(1); private final Assignment cBodyAssignment_1_1_2 = (Assignment)cGroup_1_1.eContents().get(2); private final RuleCall cBodyExpressionParserRuleCall_1_1_2_0 = (RuleCall)cBodyAssignment_1_1_2.eContents().get(0); private final Group cGroup_1_2 = (Group)cAlternatives_1.eContents().get(2); - private final Action cMetricDefinitionHeadAction_1_2_0 = (Action)cGroup_1_2.eContents().get(0); - private final Keyword cEqualsSignKeyword_1_2_1 = (Keyword)cGroup_1_2.eContents().get(1); + private final Action cFunctionDefinitionHeadAction_1_2_0 = (Action)cGroup_1_2.eContents().get(0); + private final Keyword cColonEqualsSignKeyword_1_2_1 = (Keyword)cGroup_1_2.eContents().get(1); private final Assignment cBodyAssignment_1_2_2 = (Assignment)cGroup_1_2.eContents().get(2); private final RuleCall cBodyExpressionParserRuleCall_1_2_2_0 = (RuleCall)cBodyAssignment_1_2_2.eContents().get(0); + private final RuleCall cFULL_STOPTerminalRuleCall_2 = (RuleCall)cGroup.eContents().get(2); //AssertionOrDefinition Statement: - // Expression ({Interpretation.body=current} ":" range=Expression | {PredicateDefinition.head=current} ":-" - // body=Expression | {MetricDefinition.head=current} "=" body=Expression)?; + // Expression ({Assertion.expression=current} (":" range=Expression)? | {PredicateDefinition.head=current} ":-" + // body=Expression | {FunctionDefinition.head=current} ":=" body=Expression) FULL_STOP; @Override public ParserRule getRule() { return rule; } - //Expression ({Interpretation.body=current} ":" range=Expression | {PredicateDefinition.head=current} ":-" body=Expression - //| {MetricDefinition.head=current} "=" body=Expression)? + //Expression ({Assertion.expression=current} (":" range=Expression)? | {PredicateDefinition.head=current} ":-" + //body=Expression | {FunctionDefinition.head=current} ":=" body=Expression) FULL_STOP public Group getGroup() { return cGroup; } //Expression public RuleCall getExpressionParserRuleCall_0() { return cExpressionParserRuleCall_0; } - //({Interpretation.body=current} ":" range=Expression | {PredicateDefinition.head=current} ":-" body=Expression | - //{MetricDefinition.head=current} "=" body=Expression)? + //({Assertion.expression=current} (":" range=Expression)? | {PredicateDefinition.head=current} ":-" body=Expression | + //{FunctionDefinition.head=current} ":=" body=Expression) public Alternatives getAlternatives_1() { return cAlternatives_1; } - //{Interpretation.body=current} ":" range=Expression + //{Assertion.expression=current} (":" range=Expression)? public Group getGroup_1_0() { return cGroup_1_0; } - //{Interpretation.body=current} - public Action getInterpretationBodyAction_1_0_0() { return cInterpretationBodyAction_1_0_0; } + //{Assertion.expression=current} + public Action getAssertionExpressionAction_1_0_0() { return cAssertionExpressionAction_1_0_0; } + + //(":" range=Expression)? + public Group getGroup_1_0_1() { return cGroup_1_0_1; } //":" - public Keyword getColonKeyword_1_0_1() { return cColonKeyword_1_0_1; } + public Keyword getColonKeyword_1_0_1_0() { return cColonKeyword_1_0_1_0; } //range=Expression - public Assignment getRangeAssignment_1_0_2() { return cRangeAssignment_1_0_2; } + public Assignment getRangeAssignment_1_0_1_1() { return cRangeAssignment_1_0_1_1; } //Expression - public RuleCall getRangeExpressionParserRuleCall_1_0_2_0() { return cRangeExpressionParserRuleCall_1_0_2_0; } + public RuleCall getRangeExpressionParserRuleCall_1_0_1_1_0() { return cRangeExpressionParserRuleCall_1_0_1_1_0; } //{PredicateDefinition.head=current} ":-" body=Expression public Group getGroup_1_1() { return cGroup_1_1; } @@ -182,20 +311,23 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder { //Expression public RuleCall getBodyExpressionParserRuleCall_1_1_2_0() { return cBodyExpressionParserRuleCall_1_1_2_0; } - //{MetricDefinition.head=current} "=" body=Expression + //{FunctionDefinition.head=current} ":=" body=Expression public Group getGroup_1_2() { return cGroup_1_2; } - //{MetricDefinition.head=current} - public Action getMetricDefinitionHeadAction_1_2_0() { return cMetricDefinitionHeadAction_1_2_0; } + //{FunctionDefinition.head=current} + public Action getFunctionDefinitionHeadAction_1_2_0() { return cFunctionDefinitionHeadAction_1_2_0; } - //"=" - public Keyword getEqualsSignKeyword_1_2_1() { return cEqualsSignKeyword_1_2_1; } + //":=" + public Keyword getColonEqualsSignKeyword_1_2_1() { return cColonEqualsSignKeyword_1_2_1; } //body=Expression public Assignment getBodyAssignment_1_2_2() { return cBodyAssignment_1_2_2; } //Expression public RuleCall getBodyExpressionParserRuleCall_1_2_2_0() { return cBodyExpressionParserRuleCall_1_2_2_0; } + + //FULL_STOP + public RuleCall getFULL_STOPTerminalRuleCall_2() { return cFULL_STOPTerminalRuleCall_2; } } public class PredicateDefinitionElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.PredicateDefinition"); @@ -216,12 +348,15 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder { private final Keyword cColonHyphenMinusKeyword_2 = (Keyword)cGroup.eContents().get(2); private final Assignment cBodyAssignment_3 = (Assignment)cGroup.eContents().get(3); private final RuleCall cBodyExpressionParserRuleCall_3_0 = (RuleCall)cBodyAssignment_3.eContents().get(0); + private final RuleCall cFULL_STOPTerminalRuleCall_4 = (RuleCall)cGroup.eContents().get(4); //PredicateDefinition: - // (functional?="functional" error?="error"? | error?="error" functional?="functional"?) head=Call ":-" body=Expression; + // (functional?="functional" error?="error"? | error?="error" functional?="functional"?) head=Call ":-" body=Expression + // FULL_STOP; @Override public ParserRule getRule() { return rule; } //(functional?="functional" error?="error"? | error?="error" functional?="functional"?) head=Call ":-" body=Expression + //FULL_STOP public Group getGroup() { return cGroup; } //(functional?="functional" error?="error"? | error?="error" functional?="functional"?) @@ -271,9 +406,12 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder { //Expression public RuleCall getBodyExpressionParserRuleCall_3_0() { return cBodyExpressionParserRuleCall_3_0; } + + //FULL_STOP + public RuleCall getFULL_STOPTerminalRuleCall_4() { return cFULL_STOPTerminalRuleCall_4; } } - public class UnnamedErrorPrediateDefinitionElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.UnnamedErrorPrediateDefinition"); + public class UnnamedErrorPredicateDefintionElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.UnnamedErrorPredicateDefintion"); private final Group cGroup = (Group)rule.eContents().get(1); private final Keyword cErrorKeyword_0 = (Keyword)cGroup.eContents().get(0); private final Assignment cArgumentListAssignment_1 = (Assignment)cGroup.eContents().get(1); @@ -281,12 +419,13 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder { private final Keyword cColonHyphenMinusKeyword_2 = (Keyword)cGroup.eContents().get(2); private final Assignment cBodyAssignment_3 = (Assignment)cGroup.eContents().get(3); private final RuleCall cBodyExpressionParserRuleCall_3_0 = (RuleCall)cBodyAssignment_3.eContents().get(0); + private final RuleCall cFULL_STOPTerminalRuleCall_4 = (RuleCall)cGroup.eContents().get(4); - //UnnamedErrorPrediateDefinition: - // "error" argumentList=ArgumentList ":-" body=Expression; + //UnnamedErrorPredicateDefintion: + // "error" argumentList=ArgumentList ":-" body=Expression FULL_STOP; @Override public ParserRule getRule() { return rule; } - //"error" argumentList=ArgumentList ":-" body=Expression + //"error" argumentList=ArgumentList ":-" body=Expression FULL_STOP public Group getGroup() { return cGroup; } //"error" @@ -306,69 +445,81 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder { //Expression public RuleCall getBodyExpressionParserRuleCall_3_0() { return cBodyExpressionParserRuleCall_3_0; } + + //FULL_STOP + public RuleCall getFULL_STOPTerminalRuleCall_4() { return cFULL_STOPTerminalRuleCall_4; } } - public class DefaultDefinitionElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.DefaultDefinition"); + public class DefaultAssertionElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.DefaultAssertion"); private final Group cGroup = (Group)rule.eContents().get(1); private final Keyword cDefaultKeyword_0 = (Keyword)cGroup.eContents().get(0); - private final Assignment cHeadAssignment_1 = (Assignment)cGroup.eContents().get(1); - private final RuleCall cHeadCallParserRuleCall_1_0 = (RuleCall)cHeadAssignment_1.eContents().get(0); - private final Keyword cColonKeyword_2 = (Keyword)cGroup.eContents().get(2); - private final Assignment cRangeAssignment_3 = (Assignment)cGroup.eContents().get(3); - private final RuleCall cRangeExpressionParserRuleCall_3_0 = (RuleCall)cRangeAssignment_3.eContents().get(0); + private final Assignment cExpressionAssignment_1 = (Assignment)cGroup.eContents().get(1); + private final RuleCall cExpressionCallParserRuleCall_1_0 = (RuleCall)cExpressionAssignment_1.eContents().get(0); + private final Group cGroup_2 = (Group)cGroup.eContents().get(2); + private final Keyword cColonKeyword_2_0 = (Keyword)cGroup_2.eContents().get(0); + private final Assignment cRangeAssignment_2_1 = (Assignment)cGroup_2.eContents().get(1); + private final RuleCall cRangeExpressionParserRuleCall_2_1_0 = (RuleCall)cRangeAssignment_2_1.eContents().get(0); + private final RuleCall cFULL_STOPTerminalRuleCall_3 = (RuleCall)cGroup.eContents().get(3); - //DefaultDefinition: - // "default" head=Call ":" range=Expression; + //DefaultAssertion: + // "default" expression=Call (":" range=Expression)? FULL_STOP; @Override public ParserRule getRule() { return rule; } - //"default" head=Call ":" range=Expression + //"default" expression=Call (":" range=Expression)? FULL_STOP public Group getGroup() { return cGroup; } //"default" public Keyword getDefaultKeyword_0() { return cDefaultKeyword_0; } - //head=Call - public Assignment getHeadAssignment_1() { return cHeadAssignment_1; } + //expression=Call + public Assignment getExpressionAssignment_1() { return cExpressionAssignment_1; } //Call - public RuleCall getHeadCallParserRuleCall_1_0() { return cHeadCallParserRuleCall_1_0; } + public RuleCall getExpressionCallParserRuleCall_1_0() { return cExpressionCallParserRuleCall_1_0; } + + //(":" range=Expression)? + public Group getGroup_2() { return cGroup_2; } //":" - public Keyword getColonKeyword_2() { return cColonKeyword_2; } + public Keyword getColonKeyword_2_0() { return cColonKeyword_2_0; } //range=Expression - public Assignment getRangeAssignment_3() { return cRangeAssignment_3; } + public Assignment getRangeAssignment_2_1() { return cRangeAssignment_2_1; } //Expression - public RuleCall getRangeExpressionParserRuleCall_3_0() { return cRangeExpressionParserRuleCall_3_0; } + public RuleCall getRangeExpressionParserRuleCall_2_1_0() { return cRangeExpressionParserRuleCall_2_1_0; } + + //FULL_STOP + public RuleCall getFULL_STOPTerminalRuleCall_3() { return cFULL_STOPTerminalRuleCall_3; } } - public class MetricDefinitionElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.MetricDefinition"); + public class FunctionDefinitionElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.FunctionDefinition"); private final Group cGroup = (Group)rule.eContents().get(1); - private final Assignment cTypeAssignment_0 = (Assignment)cGroup.eContents().get(0); - private final CrossReference cTypeNamedElementCrossReference_0_0 = (CrossReference)cTypeAssignment_0.eContents().get(0); - private final RuleCall cTypeNamedElementQualifiedNameParserRuleCall_0_0_1 = (RuleCall)cTypeNamedElementCrossReference_0_0.eContents().get(1); + private final Assignment cResultTypeAssignment_0 = (Assignment)cGroup.eContents().get(0); + private final CrossReference cResultTypeSymbolCrossReference_0_0 = (CrossReference)cResultTypeAssignment_0.eContents().get(0); + private final RuleCall cResultTypeSymbolQualifiedNameParserRuleCall_0_0_1 = (RuleCall)cResultTypeSymbolCrossReference_0_0.eContents().get(1); private final Assignment cHeadAssignment_1 = (Assignment)cGroup.eContents().get(1); private final RuleCall cHeadCallParserRuleCall_1_0 = (RuleCall)cHeadAssignment_1.eContents().get(0); - private final Keyword cEqualsSignKeyword_2 = (Keyword)cGroup.eContents().get(2); + private final Keyword cColonEqualsSignKeyword_2 = (Keyword)cGroup.eContents().get(2); private final Assignment cBodyAssignment_3 = (Assignment)cGroup.eContents().get(3); private final RuleCall cBodyExpressionParserRuleCall_3_0 = (RuleCall)cBodyAssignment_3.eContents().get(0); + private final RuleCall cFULL_STOPTerminalRuleCall_4 = (RuleCall)cGroup.eContents().get(4); - //MetricDefinition: - // type=[NamedElement|QualifiedName] head=Call "=" body=Expression; + //FunctionDefinition: + // resultType=[Symbol|QualifiedName] head=Call ":=" body=Expression FULL_STOP; @Override public ParserRule getRule() { return rule; } - //type=[NamedElement|QualifiedName] head=Call "=" body=Expression + //resultType=[Symbol|QualifiedName] head=Call ":=" body=Expression FULL_STOP public Group getGroup() { return cGroup; } - //type=[NamedElement|QualifiedName] - public Assignment getTypeAssignment_0() { return cTypeAssignment_0; } + //resultType=[Symbol|QualifiedName] + public Assignment getResultTypeAssignment_0() { return cResultTypeAssignment_0; } - //[NamedElement|QualifiedName] - public CrossReference getTypeNamedElementCrossReference_0_0() { return cTypeNamedElementCrossReference_0_0; } + //[Symbol|QualifiedName] + public CrossReference getResultTypeSymbolCrossReference_0_0() { return cResultTypeSymbolCrossReference_0_0; } //QualifiedName - public RuleCall getTypeNamedElementQualifiedNameParserRuleCall_0_0_1() { return cTypeNamedElementQualifiedNameParserRuleCall_0_0_1; } + public RuleCall getResultTypeSymbolQualifiedNameParserRuleCall_0_0_1() { return cResultTypeSymbolQualifiedNameParserRuleCall_0_0_1; } //head=Call public Assignment getHeadAssignment_1() { return cHeadAssignment_1; } @@ -376,76 +527,199 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder { //Call public RuleCall getHeadCallParserRuleCall_1_0() { return cHeadCallParserRuleCall_1_0; } - //"=" - public Keyword getEqualsSignKeyword_2() { return cEqualsSignKeyword_2; } + //":=" + public Keyword getColonEqualsSignKeyword_2() { return cColonEqualsSignKeyword_2; } //body=Expression public Assignment getBodyAssignment_3() { return cBodyAssignment_3; } //Expression public RuleCall getBodyExpressionParserRuleCall_3_0() { return cBodyExpressionParserRuleCall_3_0; } + + //FULL_STOP + public RuleCall getFULL_STOPTerminalRuleCall_4() { return cFULL_STOPTerminalRuleCall_4; } + } + public class TypeReferenceElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.TypeReference"); + private final Group cGroup = (Group)rule.eContents().get(1); + private final Assignment cTypeAssignment_0 = (Assignment)cGroup.eContents().get(0); + private final CrossReference cTypeSymbolCrossReference_0_0 = (CrossReference)cTypeAssignment_0.eContents().get(0); + private final RuleCall cTypeSymbolQualifiedNameParserRuleCall_0_0_1 = (RuleCall)cTypeSymbolCrossReference_0_0.eContents().get(1); + private final Assignment cForceObjectTypeAssignment_1 = (Assignment)cGroup.eContents().get(1); + private final Keyword cForceObjectTypeObjectKeyword_1_0 = (Keyword)cForceObjectTypeAssignment_1.eContents().get(0); + + //TypeReference: + // type=[Symbol|QualifiedName] forceObjectType?="object"?; + @Override public ParserRule getRule() { return rule; } + + //type=[Symbol|QualifiedName] forceObjectType?="object"? + public Group getGroup() { return cGroup; } + + //type=[Symbol|QualifiedName] + public Assignment getTypeAssignment_0() { return cTypeAssignment_0; } + + //[Symbol|QualifiedName] + public CrossReference getTypeSymbolCrossReference_0_0() { return cTypeSymbolCrossReference_0_0; } + + //QualifiedName + public RuleCall getTypeSymbolQualifiedNameParserRuleCall_0_0_1() { return cTypeSymbolQualifiedNameParserRuleCall_0_0_1; } + + //forceObjectType?="object"? + public Assignment getForceObjectTypeAssignment_1() { return cForceObjectTypeAssignment_1; } + + //"object" + public Keyword getForceObjectTypeObjectKeyword_1_0() { return cForceObjectTypeObjectKeyword_1_0; } + } + public class AttributeElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.Attribute"); + private final Group cGroup = (Group)rule.eContents().get(1); + private final Assignment cKindAssignment_0 = (Assignment)cGroup.eContents().get(0); + private final RuleCall cKindAttributeKindEnumRuleCall_0_0 = (RuleCall)cKindAssignment_0.eContents().get(0); + private final Assignment cTargetAssignment_1 = (Assignment)cGroup.eContents().get(1); + private final CrossReference cTargetSymbolCrossReference_1_0 = (CrossReference)cTargetAssignment_1.eContents().get(0); + private final RuleCall cTargetSymbolQualifiedNameParserRuleCall_1_0_1 = (RuleCall)cTargetSymbolCrossReference_1_0.eContents().get(1); + private final RuleCall cFULL_STOPTerminalRuleCall_2 = (RuleCall)cGroup.eContents().get(2); + + //Attribute: + // kind=AttributeKind target=[Symbol|QualifiedName] FULL_STOP; + @Override public ParserRule getRule() { return rule; } + + //kind=AttributeKind target=[Symbol|QualifiedName] FULL_STOP + public Group getGroup() { return cGroup; } + + //kind=AttributeKind + public Assignment getKindAssignment_0() { return cKindAssignment_0; } + + //AttributeKind + public RuleCall getKindAttributeKindEnumRuleCall_0_0() { return cKindAttributeKindEnumRuleCall_0_0; } + + //target=[Symbol|QualifiedName] + public Assignment getTargetAssignment_1() { return cTargetAssignment_1; } + + //[Symbol|QualifiedName] + public CrossReference getTargetSymbolCrossReference_1_0() { return cTargetSymbolCrossReference_1_0; } + + //QualifiedName + public RuleCall getTargetSymbolQualifiedNameParserRuleCall_1_0_1() { return cTargetSymbolQualifiedNameParserRuleCall_1_0_1; } + + //FULL_STOP + public RuleCall getFULL_STOPTerminalRuleCall_2() { return cFULL_STOPTerminalRuleCall_2; } } - public class ExternPredicateDefinitionElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.ExternPredicateDefinition"); + public class ExternDeclarationElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.ExternDeclaration"); + private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); + private final RuleCall cExternPredicateDeclarationParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); + private final RuleCall cExternFunctionDeclarationParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); + private final RuleCall cExternAggregationOperatorDeclarationParserRuleCall_2 = (RuleCall)cAlternatives.eContents().get(2); + private final RuleCall cExternDatatypeDeclarationParserRuleCall_3 = (RuleCall)cAlternatives.eContents().get(3); + + //ExternDeclaration: + // ExternPredicateDeclaration | ExternFunctionDeclaration | ExternAggregationOperatorDeclaration | + // ExternDatatypeDeclaration; + @Override public ParserRule getRule() { return rule; } + + //ExternPredicateDeclaration | ExternFunctionDeclaration | ExternAggregationOperatorDeclaration | + //ExternDatatypeDeclaration + public Alternatives getAlternatives() { return cAlternatives; } + + //ExternPredicateDeclaration + public RuleCall getExternPredicateDeclarationParserRuleCall_0() { return cExternPredicateDeclarationParserRuleCall_0; } + + //ExternFunctionDeclaration + public RuleCall getExternFunctionDeclarationParserRuleCall_1() { return cExternFunctionDeclarationParserRuleCall_1; } + + //ExternAggregationOperatorDeclaration + public RuleCall getExternAggregationOperatorDeclarationParserRuleCall_2() { return cExternAggregationOperatorDeclarationParserRuleCall_2; } + + //ExternDatatypeDeclaration + public RuleCall getExternDatatypeDeclarationParserRuleCall_3() { return cExternDatatypeDeclarationParserRuleCall_3; } + } + public class ExternPredicateDeclarationElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.ExternPredicateDeclaration"); private final Group cGroup = (Group)rule.eContents().get(1); private final Keyword cExternKeyword_0 = (Keyword)cGroup.eContents().get(0); - private final Assignment cNameAssignment_1 = (Assignment)cGroup.eContents().get(1); - private final RuleCall cNameQualifiedNameParserRuleCall_1_0 = (RuleCall)cNameAssignment_1.eContents().get(0); - private final Assignment cArgumentListAssignment_2 = (Assignment)cGroup.eContents().get(2); - private final RuleCall cArgumentListArgumentListParserRuleCall_2_0 = (RuleCall)cArgumentListAssignment_2.eContents().get(0); + private final UnorderedGroup cUnorderedGroup_1 = (UnorderedGroup)cGroup.eContents().get(1); + private final Assignment cFunctionalAssignment_1_0 = (Assignment)cUnorderedGroup_1.eContents().get(0); + private final Keyword cFunctionalFunctionalKeyword_1_0_0 = (Keyword)cFunctionalAssignment_1_0.eContents().get(0); + private final Assignment cErrorAssignment_1_1 = (Assignment)cUnorderedGroup_1.eContents().get(1); + private final Keyword cErrorErrorKeyword_1_1_0 = (Keyword)cErrorAssignment_1_1.eContents().get(0); + private final Assignment cNameAssignment_2 = (Assignment)cGroup.eContents().get(2); + private final RuleCall cNameQualifiedNameParserRuleCall_2_0 = (RuleCall)cNameAssignment_2.eContents().get(0); + private final Assignment cArgumentListAssignment_3 = (Assignment)cGroup.eContents().get(3); + private final RuleCall cArgumentListArgumentListParserRuleCall_3_0 = (RuleCall)cArgumentListAssignment_3.eContents().get(0); + private final RuleCall cFULL_STOPTerminalRuleCall_4 = (RuleCall)cGroup.eContents().get(4); - //ExternPredicateDefinition: - // "extern" name=QualifiedName argumentList=ArgumentList; + //ExternPredicateDeclaration: + // "extern" (functional?="functional"? & error?="error"?) name=QualifiedName argumentList=ArgumentList FULL_STOP; @Override public ParserRule getRule() { return rule; } - //"extern" name=QualifiedName argumentList=ArgumentList + //"extern" (functional?="functional"? & error?="error"?) name=QualifiedName argumentList=ArgumentList FULL_STOP public Group getGroup() { return cGroup; } //"extern" public Keyword getExternKeyword_0() { return cExternKeyword_0; } + //(functional?="functional"? & error?="error"?) + public UnorderedGroup getUnorderedGroup_1() { return cUnorderedGroup_1; } + + //functional?="functional"? + public Assignment getFunctionalAssignment_1_0() { return cFunctionalAssignment_1_0; } + + //"functional" + public Keyword getFunctionalFunctionalKeyword_1_0_0() { return cFunctionalFunctionalKeyword_1_0_0; } + + //error?="error"? + public Assignment getErrorAssignment_1_1() { return cErrorAssignment_1_1; } + + //"error" + public Keyword getErrorErrorKeyword_1_1_0() { return cErrorErrorKeyword_1_1_0; } + //name=QualifiedName - public Assignment getNameAssignment_1() { return cNameAssignment_1; } + public Assignment getNameAssignment_2() { return cNameAssignment_2; } //QualifiedName - public RuleCall getNameQualifiedNameParserRuleCall_1_0() { return cNameQualifiedNameParserRuleCall_1_0; } + public RuleCall getNameQualifiedNameParserRuleCall_2_0() { return cNameQualifiedNameParserRuleCall_2_0; } //argumentList=ArgumentList - public Assignment getArgumentListAssignment_2() { return cArgumentListAssignment_2; } + public Assignment getArgumentListAssignment_3() { return cArgumentListAssignment_3; } //ArgumentList - public RuleCall getArgumentListArgumentListParserRuleCall_2_0() { return cArgumentListArgumentListParserRuleCall_2_0; } + public RuleCall getArgumentListArgumentListParserRuleCall_3_0() { return cArgumentListArgumentListParserRuleCall_3_0; } + + //FULL_STOP + public RuleCall getFULL_STOPTerminalRuleCall_4() { return cFULL_STOPTerminalRuleCall_4; } } - public class ExternMetricDefinitionElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.ExternMetricDefinition"); + public class ExternFunctionDeclarationElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.ExternFunctionDeclaration"); private final Group cGroup = (Group)rule.eContents().get(1); private final Keyword cExternKeyword_0 = (Keyword)cGroup.eContents().get(0); - private final Assignment cTypeAssignment_1 = (Assignment)cGroup.eContents().get(1); - private final CrossReference cTypeNamedElementCrossReference_1_0 = (CrossReference)cTypeAssignment_1.eContents().get(0); - private final RuleCall cTypeNamedElementQualifiedNameParserRuleCall_1_0_1 = (RuleCall)cTypeNamedElementCrossReference_1_0.eContents().get(1); + private final Assignment cResultTypeAssignment_1 = (Assignment)cGroup.eContents().get(1); + private final CrossReference cResultTypeSymbolCrossReference_1_0 = (CrossReference)cResultTypeAssignment_1.eContents().get(0); + private final RuleCall cResultTypeSymbolQualifiedNameParserRuleCall_1_0_1 = (RuleCall)cResultTypeSymbolCrossReference_1_0.eContents().get(1); private final Assignment cNameAssignment_2 = (Assignment)cGroup.eContents().get(2); private final RuleCall cNameQualifiedNameParserRuleCall_2_0 = (RuleCall)cNameAssignment_2.eContents().get(0); private final Assignment cArgumentListAssignment_3 = (Assignment)cGroup.eContents().get(3); private final RuleCall cArgumentListArgumentListParserRuleCall_3_0 = (RuleCall)cArgumentListAssignment_3.eContents().get(0); + private final RuleCall cFULL_STOPTerminalRuleCall_4 = (RuleCall)cGroup.eContents().get(4); - //ExternMetricDefinition: - // "extern" type=[NamedElement|QualifiedName] name=QualifiedName argumentList=ArgumentList; + //ExternFunctionDeclaration: + // "extern" resultType=[Symbol|QualifiedName] name=QualifiedName argumentList=ArgumentList FULL_STOP; @Override public ParserRule getRule() { return rule; } - //"extern" type=[NamedElement|QualifiedName] name=QualifiedName argumentList=ArgumentList + //"extern" resultType=[Symbol|QualifiedName] name=QualifiedName argumentList=ArgumentList FULL_STOP public Group getGroup() { return cGroup; } //"extern" public Keyword getExternKeyword_0() { return cExternKeyword_0; } - //type=[NamedElement|QualifiedName] - public Assignment getTypeAssignment_1() { return cTypeAssignment_1; } + //resultType=[Symbol|QualifiedName] + public Assignment getResultTypeAssignment_1() { return cResultTypeAssignment_1; } - //[NamedElement|QualifiedName] - public CrossReference getTypeNamedElementCrossReference_1_0() { return cTypeNamedElementCrossReference_1_0; } + //[Symbol|QualifiedName] + public CrossReference getResultTypeSymbolCrossReference_1_0() { return cResultTypeSymbolCrossReference_1_0; } //QualifiedName - public RuleCall getTypeNamedElementQualifiedNameParserRuleCall_1_0_1() { return cTypeNamedElementQualifiedNameParserRuleCall_1_0_1; } + public RuleCall getResultTypeSymbolQualifiedNameParserRuleCall_1_0_1() { return cResultTypeSymbolQualifiedNameParserRuleCall_1_0_1; } //name=QualifiedName public Assignment getNameAssignment_2() { return cNameAssignment_2; } @@ -458,41 +732,47 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder { //ArgumentList public RuleCall getArgumentListArgumentListParserRuleCall_3_0() { return cArgumentListArgumentListParserRuleCall_3_0; } + + //FULL_STOP + public RuleCall getFULL_STOPTerminalRuleCall_4() { return cFULL_STOPTerminalRuleCall_4; } } - public class ExternAggregatorDefinitionElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.ExternAggregatorDefinition"); + public class ExternAggregationOperatorDeclarationElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.ExternAggregationOperatorDeclaration"); private final Group cGroup = (Group)rule.eContents().get(1); private final Keyword cExternKeyword_0 = (Keyword)cGroup.eContents().get(0); - private final Assignment cTypeAssignment_1 = (Assignment)cGroup.eContents().get(1); - private final CrossReference cTypeNamedElementCrossReference_1_0 = (CrossReference)cTypeAssignment_1.eContents().get(0); - private final RuleCall cTypeNamedElementQualifiedNameParserRuleCall_1_0_1 = (RuleCall)cTypeNamedElementCrossReference_1_0.eContents().get(1); + private final Assignment cResultTypeAssignment_1 = (Assignment)cGroup.eContents().get(1); + private final CrossReference cResultTypeSymbolCrossReference_1_0 = (CrossReference)cResultTypeAssignment_1.eContents().get(0); + private final RuleCall cResultTypeSymbolQualifiedNameParserRuleCall_1_0_1 = (RuleCall)cResultTypeSymbolCrossReference_1_0.eContents().get(1); private final Assignment cNameAssignment_2 = (Assignment)cGroup.eContents().get(2); private final RuleCall cNameQualifiedNameParserRuleCall_2_0 = (RuleCall)cNameAssignment_2.eContents().get(0); private final Keyword cLeftCurlyBracketKeyword_3 = (Keyword)cGroup.eContents().get(3); - private final Assignment cInputTypeAssignment_4 = (Assignment)cGroup.eContents().get(4); - private final CrossReference cInputTypeNamedElementCrossReference_4_0 = (CrossReference)cInputTypeAssignment_4.eContents().get(0); - private final RuleCall cInputTypeNamedElementQualifiedNameParserRuleCall_4_0_1 = (RuleCall)cInputTypeNamedElementCrossReference_4_0.eContents().get(1); + private final Assignment cArgumentTypeAssignment_4 = (Assignment)cGroup.eContents().get(4); + private final CrossReference cArgumentTypeSymbolCrossReference_4_0 = (CrossReference)cArgumentTypeAssignment_4.eContents().get(0); + private final RuleCall cArgumentTypeSymbolQualifiedNameParserRuleCall_4_0_1 = (RuleCall)cArgumentTypeSymbolCrossReference_4_0.eContents().get(1); private final Keyword cFullStopFullStopFullStopKeyword_5 = (Keyword)cGroup.eContents().get(5); private final Keyword cRightCurlyBracketKeyword_6 = (Keyword)cGroup.eContents().get(6); + private final RuleCall cFULL_STOPTerminalRuleCall_7 = (RuleCall)cGroup.eContents().get(7); - //ExternAggregatorDefinition: - // "extern" type=[NamedElement|QualifiedName] name=QualifiedName "{" inputType=[NamedElement|QualifiedName] "..." "}"; + //ExternAggregationOperatorDeclaration: + // "extern" resultType=[Symbol|QualifiedName] name=QualifiedName "{" argumentType=[Symbol|QualifiedName] "..." "}" + // FULL_STOP; @Override public ParserRule getRule() { return rule; } - //"extern" type=[NamedElement|QualifiedName] name=QualifiedName "{" inputType=[NamedElement|QualifiedName] "..." "}" + //"extern" resultType=[Symbol|QualifiedName] name=QualifiedName "{" argumentType=[Symbol|QualifiedName] "..." "}" + //FULL_STOP public Group getGroup() { return cGroup; } //"extern" public Keyword getExternKeyword_0() { return cExternKeyword_0; } - //type=[NamedElement|QualifiedName] - public Assignment getTypeAssignment_1() { return cTypeAssignment_1; } + //resultType=[Symbol|QualifiedName] + public Assignment getResultTypeAssignment_1() { return cResultTypeAssignment_1; } - //[NamedElement|QualifiedName] - public CrossReference getTypeNamedElementCrossReference_1_0() { return cTypeNamedElementCrossReference_1_0; } + //[Symbol|QualifiedName] + public CrossReference getResultTypeSymbolCrossReference_1_0() { return cResultTypeSymbolCrossReference_1_0; } //QualifiedName - public RuleCall getTypeNamedElementQualifiedNameParserRuleCall_1_0_1() { return cTypeNamedElementQualifiedNameParserRuleCall_1_0_1; } + public RuleCall getResultTypeSymbolQualifiedNameParserRuleCall_1_0_1() { return cResultTypeSymbolQualifiedNameParserRuleCall_1_0_1; } //name=QualifiedName public Assignment getNameAssignment_2() { return cNameAssignment_2; } @@ -503,46 +783,38 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder { //"{" public Keyword getLeftCurlyBracketKeyword_3() { return cLeftCurlyBracketKeyword_3; } - //inputType=[NamedElement|QualifiedName] - public Assignment getInputTypeAssignment_4() { return cInputTypeAssignment_4; } + //argumentType=[Symbol|QualifiedName] + public Assignment getArgumentTypeAssignment_4() { return cArgumentTypeAssignment_4; } - //[NamedElement|QualifiedName] - public CrossReference getInputTypeNamedElementCrossReference_4_0() { return cInputTypeNamedElementCrossReference_4_0; } + //[Symbol|QualifiedName] + public CrossReference getArgumentTypeSymbolCrossReference_4_0() { return cArgumentTypeSymbolCrossReference_4_0; } //QualifiedName - public RuleCall getInputTypeNamedElementQualifiedNameParserRuleCall_4_0_1() { return cInputTypeNamedElementQualifiedNameParserRuleCall_4_0_1; } + public RuleCall getArgumentTypeSymbolQualifiedNameParserRuleCall_4_0_1() { return cArgumentTypeSymbolQualifiedNameParserRuleCall_4_0_1; } //"..." public Keyword getFullStopFullStopFullStopKeyword_5() { return cFullStopFullStopFullStopKeyword_5; } //"}" public Keyword getRightCurlyBracketKeyword_6() { return cRightCurlyBracketKeyword_6; } + + //FULL_STOP + public RuleCall getFULL_STOPTerminalRuleCall_7() { return cFULL_STOPTerminalRuleCall_7; } } - public class ExternDatatypeDefinitionElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.ExternDatatypeDefinition"); + public class ExternDatatypeDeclarationElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.ExternDatatypeDeclaration"); private final Group cGroup = (Group)rule.eContents().get(1); private final Keyword cExternKeyword_0 = (Keyword)cGroup.eContents().get(0); private final Keyword cDatatypeKeyword_1 = (Keyword)cGroup.eContents().get(1); private final Assignment cNameAssignment_2 = (Assignment)cGroup.eContents().get(2); private final RuleCall cNameQualifiedNameParserRuleCall_2_0 = (RuleCall)cNameAssignment_2.eContents().get(0); - private final Group cGroup_3 = (Group)cGroup.eContents().get(3); - private final Keyword cExtendsKeyword_3_0 = (Keyword)cGroup_3.eContents().get(0); - private final Assignment cSupertypesAssignment_3_1 = (Assignment)cGroup_3.eContents().get(1); - private final CrossReference cSupertypesNamedElementCrossReference_3_1_0 = (CrossReference)cSupertypesAssignment_3_1.eContents().get(0); - private final RuleCall cSupertypesNamedElementQualifiedNameParserRuleCall_3_1_0_1 = (RuleCall)cSupertypesNamedElementCrossReference_3_1_0.eContents().get(1); - private final Group cGroup_3_2 = (Group)cGroup_3.eContents().get(2); - private final Keyword cCommaKeyword_3_2_0 = (Keyword)cGroup_3_2.eContents().get(0); - private final Assignment cSupertypesAssignment_3_2_1 = (Assignment)cGroup_3_2.eContents().get(1); - private final CrossReference cSupertypesNamedElementCrossReference_3_2_1_0 = (CrossReference)cSupertypesAssignment_3_2_1.eContents().get(0); - private final RuleCall cSupertypesNamedElementQualifiedNameParserRuleCall_3_2_1_0_1 = (RuleCall)cSupertypesNamedElementCrossReference_3_2_1_0.eContents().get(1); + private final RuleCall cFULL_STOPTerminalRuleCall_3 = (RuleCall)cGroup.eContents().get(3); - //ExternDatatypeDefinition: - // "extern" "datatype" name=QualifiedName ("extends" supertypes+=[NamedElement|QualifiedName] ("," - // supertypes+=[NamedElement|QualifiedName])*); + //ExternDatatypeDeclaration: + // "extern" "datatype" name=QualifiedName FULL_STOP; @Override public ParserRule getRule() { return rule; } - //"extern" "datatype" name=QualifiedName ("extends" supertypes+=[NamedElement|QualifiedName] ("," - //supertypes+=[NamedElement|QualifiedName])*) + //"extern" "datatype" name=QualifiedName FULL_STOP public Group getGroup() { return cGroup; } //"extern" @@ -557,96 +829,64 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder { //QualifiedName public RuleCall getNameQualifiedNameParserRuleCall_2_0() { return cNameQualifiedNameParserRuleCall_2_0; } - //("extends" supertypes+=[NamedElement|QualifiedName] ("," supertypes+=[NamedElement|QualifiedName])*) - public Group getGroup_3() { return cGroup_3; } - - //"extends" - public Keyword getExtendsKeyword_3_0() { return cExtendsKeyword_3_0; } - - //supertypes+=[NamedElement|QualifiedName] - public Assignment getSupertypesAssignment_3_1() { return cSupertypesAssignment_3_1; } - - //[NamedElement|QualifiedName] - public CrossReference getSupertypesNamedElementCrossReference_3_1_0() { return cSupertypesNamedElementCrossReference_3_1_0; } - - //QualifiedName - public RuleCall getSupertypesNamedElementQualifiedNameParserRuleCall_3_1_0_1() { return cSupertypesNamedElementQualifiedNameParserRuleCall_3_1_0_1; } - - //("," supertypes+=[NamedElement|QualifiedName])* - public Group getGroup_3_2() { return cGroup_3_2; } - - //"," - public Keyword getCommaKeyword_3_2_0() { return cCommaKeyword_3_2_0; } - - //supertypes+=[NamedElement|QualifiedName] - public Assignment getSupertypesAssignment_3_2_1() { return cSupertypesAssignment_3_2_1; } - - //[NamedElement|QualifiedName] - public CrossReference getSupertypesNamedElementCrossReference_3_2_1_0() { return cSupertypesNamedElementCrossReference_3_2_1_0; } - - //QualifiedName - public RuleCall getSupertypesNamedElementQualifiedNameParserRuleCall_3_2_1_0_1() { return cSupertypesNamedElementQualifiedNameParserRuleCall_3_2_1_0_1; } + //FULL_STOP + public RuleCall getFULL_STOPTerminalRuleCall_3() { return cFULL_STOPTerminalRuleCall_3; } } - public class VariableElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.Variable"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final Assignment cTypeAssignment_0 = (Assignment)cGroup.eContents().get(0); - private final CrossReference cTypeNamedElementCrossReference_0_0 = (CrossReference)cTypeAssignment_0.eContents().get(0); - private final RuleCall cTypeNamedElementQualifiedNameParserRuleCall_0_0_1 = (RuleCall)cTypeNamedElementCrossReference_0_0.eContents().get(1); - private final Assignment cNameAssignment_1 = (Assignment)cGroup.eContents().get(1); - private final RuleCall cNameIDTerminalRuleCall_1_0 = (RuleCall)cNameAssignment_1.eContents().get(0); + public class ExpressionElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.Expression"); + private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); + private final RuleCall cConditionalExpressionParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); + private final RuleCall cLetExpressionParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); + private final Group cGroup_2 = (Group)cAlternatives.eContents().get(2); + private final RuleCall cDisjunctiveExpressionParserRuleCall_2_0 = (RuleCall)cGroup_2.eContents().get(0); + private final Group cGroup_2_1 = (Group)cGroup_2.eContents().get(1); + private final Action cForallConditionAction_2_1_0 = (Action)cGroup_2_1.eContents().get(0); + private final Keyword cEqualsSignGreaterThanSignKeyword_2_1_1 = (Keyword)cGroup_2_1.eContents().get(1); + private final Assignment cBodyAssignment_2_1_2 = (Assignment)cGroup_2_1.eContents().get(2); + private final RuleCall cBodyDisjunctiveExpressionParserRuleCall_2_1_2_0 = (RuleCall)cBodyAssignment_2_1_2.eContents().get(0); - //Variable: - // type=[NamedElement|QualifiedName]? name=ID; + //Expression: + // ConditionalExpression | LetExpression | DisjunctiveExpression ({Forall.condition=current} "=>" + // body=DisjunctiveExpression)?; @Override public ParserRule getRule() { return rule; } - //type=[NamedElement|QualifiedName]? name=ID - public Group getGroup() { return cGroup; } - - //type=[NamedElement|QualifiedName]? - public Assignment getTypeAssignment_0() { return cTypeAssignment_0; } + //ConditionalExpression | LetExpression | DisjunctiveExpression ({Forall.condition=current} "=>" + //body=DisjunctiveExpression)? + public Alternatives getAlternatives() { return cAlternatives; } - //[NamedElement|QualifiedName] - public CrossReference getTypeNamedElementCrossReference_0_0() { return cTypeNamedElementCrossReference_0_0; } + //ConditionalExpression + public RuleCall getConditionalExpressionParserRuleCall_0() { return cConditionalExpressionParserRuleCall_0; } - //QualifiedName - public RuleCall getTypeNamedElementQualifiedNameParserRuleCall_0_0_1() { return cTypeNamedElementQualifiedNameParserRuleCall_0_0_1; } + //LetExpression + public RuleCall getLetExpressionParserRuleCall_1() { return cLetExpressionParserRuleCall_1; } - //name=ID - public Assignment getNameAssignment_1() { return cNameAssignment_1; } + //DisjunctiveExpression ({Forall.condition=current} "=>" body=DisjunctiveExpression)? + public Group getGroup_2() { return cGroup_2; } - //ID - public RuleCall getNameIDTerminalRuleCall_1_0() { return cNameIDTerminalRuleCall_1_0; } - } - public class ExpressionElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.Expression"); - private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); - private final RuleCall cIfElseParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); - private final RuleCall cLetParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); - private final RuleCall cImplicationExpressionParserRuleCall_2 = (RuleCall)cAlternatives.eContents().get(2); + //DisjunctiveExpression + public RuleCall getDisjunctiveExpressionParserRuleCall_2_0() { return cDisjunctiveExpressionParserRuleCall_2_0; } - //Expression: - // IfElse | Let | ImplicationExpression; - @Override public ParserRule getRule() { return rule; } + //({Forall.condition=current} "=>" body=DisjunctiveExpression)? + public Group getGroup_2_1() { return cGroup_2_1; } - //IfElse | Let | ImplicationExpression - public Alternatives getAlternatives() { return cAlternatives; } + //{Forall.condition=current} + public Action getForallConditionAction_2_1_0() { return cForallConditionAction_2_1_0; } - //IfElse - public RuleCall getIfElseParserRuleCall_0() { return cIfElseParserRuleCall_0; } + //"=>" + public Keyword getEqualsSignGreaterThanSignKeyword_2_1_1() { return cEqualsSignGreaterThanSignKeyword_2_1_1; } - //Let - public RuleCall getLetParserRuleCall_1() { return cLetParserRuleCall_1; } + //body=DisjunctiveExpression + public Assignment getBodyAssignment_2_1_2() { return cBodyAssignment_2_1_2; } - //ImplicationExpression - public RuleCall getImplicationExpressionParserRuleCall_2() { return cImplicationExpressionParserRuleCall_2; } + //DisjunctiveExpression + public RuleCall getBodyDisjunctiveExpressionParserRuleCall_2_1_2_0() { return cBodyDisjunctiveExpressionParserRuleCall_2_1_2_0; } } - public class IfElseElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.IfElse"); + public class ConditionalExpressionElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.ConditionalExpression"); private final Group cGroup = (Group)rule.eContents().get(1); private final Keyword cIfKeyword_0 = (Keyword)cGroup.eContents().get(0); private final Assignment cConditionAssignment_1 = (Assignment)cGroup.eContents().get(1); - private final RuleCall cConditionExpressionParserRuleCall_1_0 = (RuleCall)cConditionAssignment_1.eContents().get(0); + private final RuleCall cConditionDisjunctiveExpressionParserRuleCall_1_0 = (RuleCall)cConditionAssignment_1.eContents().get(0); private final Keyword cThenKeyword_2 = (Keyword)cGroup.eContents().get(2); private final Assignment cThenAssignment_3 = (Assignment)cGroup.eContents().get(3); private final RuleCall cThenExpressionParserRuleCall_3_0 = (RuleCall)cThenAssignment_3.eContents().get(0); @@ -654,21 +894,21 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder { private final Assignment cElseAssignment_5 = (Assignment)cGroup.eContents().get(5); private final RuleCall cElseExpressionParserRuleCall_5_0 = (RuleCall)cElseAssignment_5.eContents().get(0); - //IfElse: - // "if" condition=Expression "then" then=Expression "else" else=Expression; + //ConditionalExpression: + // "if" condition=DisjunctiveExpression "then" then=Expression "else" else=Expression; @Override public ParserRule getRule() { return rule; } - //"if" condition=Expression "then" then=Expression "else" else=Expression + //"if" condition=DisjunctiveExpression "then" then=Expression "else" else=Expression public Group getGroup() { return cGroup; } //"if" public Keyword getIfKeyword_0() { return cIfKeyword_0; } - //condition=Expression + //condition=DisjunctiveExpression public Assignment getConditionAssignment_1() { return cConditionAssignment_1; } - //Expression - public RuleCall getConditionExpressionParserRuleCall_1_0() { return cConditionExpressionParserRuleCall_1_0; } + //DisjunctiveExpression + public RuleCall getConditionDisjunctiveExpressionParserRuleCall_1_0() { return cConditionDisjunctiveExpressionParserRuleCall_1_0; } //"then" public Keyword getThenKeyword_2() { return cThenKeyword_2; } @@ -688,8 +928,8 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder { //Expression public RuleCall getElseExpressionParserRuleCall_5_0() { return cElseExpressionParserRuleCall_5_0; } } - public class LetElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.Let"); + public class LetExpressionElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.LetExpression"); private final Group cGroup = (Group)rule.eContents().get(1); private final Keyword cLetKeyword_0 = (Keyword)cGroup.eContents().get(0); private final Assignment cBindingsAssignment_1 = (Assignment)cGroup.eContents().get(1); @@ -702,7 +942,7 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder { private final Assignment cBodyAssignment_4 = (Assignment)cGroup.eContents().get(4); private final RuleCall cBodyExpressionParserRuleCall_4_0 = (RuleCall)cBodyAssignment_4.eContents().get(0); - //Let: + //LetExpression: // "let" bindings+=LetBinding ("," bindings+=LetBinding)* "in" body=Expression; @Override public ParserRule getRule() { return rule; } @@ -742,72 +982,45 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder { public class LetBindingElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.LetBinding"); private final Group cGroup = (Group)rule.eContents().get(1); - private final Assignment cVariableAssignment_0 = (Assignment)cGroup.eContents().get(0); - private final RuleCall cVariableVariableParserRuleCall_0_0 = (RuleCall)cVariableAssignment_0.eContents().get(0); - private final Keyword cEqualsSignKeyword_1 = (Keyword)cGroup.eContents().get(1); - private final Assignment cValueAssignment_2 = (Assignment)cGroup.eContents().get(2); - private final RuleCall cValueAdditiveExpressionParserRuleCall_2_0 = (RuleCall)cValueAssignment_2.eContents().get(0); + private final Assignment cTypeAssignment_0 = (Assignment)cGroup.eContents().get(0); + private final CrossReference cTypeSymbolCrossReference_0_0 = (CrossReference)cTypeAssignment_0.eContents().get(0); + private final RuleCall cTypeSymbolQualifiedNameParserRuleCall_0_0_1 = (RuleCall)cTypeSymbolCrossReference_0_0.eContents().get(1); + private final Assignment cNameAssignment_1 = (Assignment)cGroup.eContents().get(1); + private final RuleCall cNameIDTerminalRuleCall_1_0 = (RuleCall)cNameAssignment_1.eContents().get(0); + private final Keyword cEqualsSignKeyword_2 = (Keyword)cGroup.eContents().get(2); + private final Assignment cValueAssignment_3 = (Assignment)cGroup.eContents().get(3); + private final RuleCall cValueAdditiveExpressionParserRuleCall_3_0 = (RuleCall)cValueAssignment_3.eContents().get(0); //LetBinding: - // variable=Variable "=" value=AdditiveExpression; + // type=[Symbol|QualifiedName]? name=ID "=" value=AdditiveExpression; @Override public ParserRule getRule() { return rule; } - //variable=Variable "=" value=AdditiveExpression + //type=[Symbol|QualifiedName]? name=ID "=" value=AdditiveExpression public Group getGroup() { return cGroup; } - //variable=Variable - public Assignment getVariableAssignment_0() { return cVariableAssignment_0; } - - //Variable - public RuleCall getVariableVariableParserRuleCall_0_0() { return cVariableVariableParserRuleCall_0_0; } - - //"=" - public Keyword getEqualsSignKeyword_1() { return cEqualsSignKeyword_1; } - - //value=AdditiveExpression - public Assignment getValueAssignment_2() { return cValueAssignment_2; } - - //AdditiveExpression - public RuleCall getValueAdditiveExpressionParserRuleCall_2_0() { return cValueAdditiveExpressionParserRuleCall_2_0; } - } - public class ImplicationExpressionElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.ImplicationExpression"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final RuleCall cDisjunctiveExpressionParserRuleCall_0 = (RuleCall)cGroup.eContents().get(0); - private final Group cGroup_1 = (Group)cGroup.eContents().get(1); - private final Action cBinaryExpressionLeftAction_1_0 = (Action)cGroup_1.eContents().get(0); - private final Assignment cOpAssignment_1_1 = (Assignment)cGroup_1.eContents().get(1); - private final RuleCall cOpImplicationOperatorEnumRuleCall_1_1_0 = (RuleCall)cOpAssignment_1_1.eContents().get(0); - private final Assignment cRightAssignment_1_2 = (Assignment)cGroup_1.eContents().get(2); - private final RuleCall cRightImplicationExpressionParserRuleCall_1_2_0 = (RuleCall)cRightAssignment_1_2.eContents().get(0); - - //ImplicationExpression Expression: - // DisjunctiveExpression ({BinaryExpression.left=current} op=ImplicationOperator right=ImplicationExpression)?; - @Override public ParserRule getRule() { return rule; } - - //DisjunctiveExpression ({BinaryExpression.left=current} op=ImplicationOperator right=ImplicationExpression)? - public Group getGroup() { return cGroup; } + //type=[Symbol|QualifiedName]? + public Assignment getTypeAssignment_0() { return cTypeAssignment_0; } - //DisjunctiveExpression - public RuleCall getDisjunctiveExpressionParserRuleCall_0() { return cDisjunctiveExpressionParserRuleCall_0; } + //[Symbol|QualifiedName] + public CrossReference getTypeSymbolCrossReference_0_0() { return cTypeSymbolCrossReference_0_0; } - //({BinaryExpression.left=current} op=ImplicationOperator right=ImplicationExpression)? - public Group getGroup_1() { return cGroup_1; } + //QualifiedName + public RuleCall getTypeSymbolQualifiedNameParserRuleCall_0_0_1() { return cTypeSymbolQualifiedNameParserRuleCall_0_0_1; } - //{BinaryExpression.left=current} - public Action getBinaryExpressionLeftAction_1_0() { return cBinaryExpressionLeftAction_1_0; } + //name=ID + public Assignment getNameAssignment_1() { return cNameAssignment_1; } - //op=ImplicationOperator - public Assignment getOpAssignment_1_1() { return cOpAssignment_1_1; } + //ID + public RuleCall getNameIDTerminalRuleCall_1_0() { return cNameIDTerminalRuleCall_1_0; } - //ImplicationOperator - public RuleCall getOpImplicationOperatorEnumRuleCall_1_1_0() { return cOpImplicationOperatorEnumRuleCall_1_1_0; } + //"=" + public Keyword getEqualsSignKeyword_2() { return cEqualsSignKeyword_2; } - //right=ImplicationExpression - public Assignment getRightAssignment_1_2() { return cRightAssignment_1_2; } + //value=AdditiveExpression + public Assignment getValueAssignment_3() { return cValueAssignment_3; } - //ImplicationExpression - public RuleCall getRightImplicationExpressionParserRuleCall_1_2_0() { return cRightImplicationExpressionParserRuleCall_1_2_0; } + //AdditiveExpression + public RuleCall getValueAdditiveExpressionParserRuleCall_3_0() { return cValueAdditiveExpressionParserRuleCall_3_0; } } public class DisjunctiveExpressionElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.DisjunctiveExpression"); @@ -970,27 +1183,27 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder { private final Group cGroup = (Group)rule.eContents().get(1); private final RuleCall cAdditiveExpressionParserRuleCall_0 = (RuleCall)cGroup.eContents().get(0); private final Group cGroup_1 = (Group)cGroup.eContents().get(1); - private final Action cComparisonLeftAction_1_0 = (Action)cGroup_1.eContents().get(0); + private final Action cBinaryExpressionLeftAction_1_0 = (Action)cGroup_1.eContents().get(0); private final Assignment cOpAssignment_1_1 = (Assignment)cGroup_1.eContents().get(1); private final RuleCall cOpComparisonOperatorEnumRuleCall_1_1_0 = (RuleCall)cOpAssignment_1_1.eContents().get(0); private final Assignment cRightAssignment_1_2 = (Assignment)cGroup_1.eContents().get(2); private final RuleCall cRightAdditiveExpressionParserRuleCall_1_2_0 = (RuleCall)cRightAssignment_1_2.eContents().get(0); //ComparisonExpression Expression: - // AdditiveExpression ({Comparison.left=current} op=ComparisonOperator right=AdditiveExpression)?; + // AdditiveExpression ({BinaryExpression.left=current} op=ComparisonOperator right=AdditiveExpression)?; @Override public ParserRule getRule() { return rule; } - //AdditiveExpression ({Comparison.left=current} op=ComparisonOperator right=AdditiveExpression)? + //AdditiveExpression ({BinaryExpression.left=current} op=ComparisonOperator right=AdditiveExpression)? public Group getGroup() { return cGroup; } //AdditiveExpression public RuleCall getAdditiveExpressionParserRuleCall_0() { return cAdditiveExpressionParserRuleCall_0; } - //({Comparison.left=current} op=ComparisonOperator right=AdditiveExpression)? + //({BinaryExpression.left=current} op=ComparisonOperator right=AdditiveExpression)? public Group getGroup_1() { return cGroup_1; } - //{Comparison.left=current} - public Action getComparisonLeftAction_1_0() { return cComparisonLeftAction_1_0; } + //{BinaryExpression.left=current} + public Action getBinaryExpressionLeftAction_1_0() { return cBinaryExpressionLeftAction_1_0; } //op=ComparisonOperator public Assignment getOpAssignment_1_1() { return cOpAssignment_1_1; } @@ -1128,21 +1341,21 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder { private final Group cGroup_1 = (Group)cGroup.eContents().get(1); private final Action cCastExpressionBodyAction_1_0 = (Action)cGroup_1.eContents().get(0); private final Keyword cAsKeyword_1_1 = (Keyword)cGroup_1.eContents().get(1); - private final Assignment cTypeAssignment_1_2 = (Assignment)cGroup_1.eContents().get(2); - private final CrossReference cTypeNamedElementCrossReference_1_2_0 = (CrossReference)cTypeAssignment_1_2.eContents().get(0); - private final RuleCall cTypeNamedElementQualifiedNameParserRuleCall_1_2_0_1 = (RuleCall)cTypeNamedElementCrossReference_1_2_0.eContents().get(1); + private final Assignment cTargetTypeAssignment_1_2 = (Assignment)cGroup_1.eContents().get(2); + private final CrossReference cTargetTypeSymbolCrossReference_1_2_0 = (CrossReference)cTargetTypeAssignment_1_2.eContents().get(0); + private final RuleCall cTargetTypeSymbolQualifiedNameParserRuleCall_1_2_0_1 = (RuleCall)cTargetTypeSymbolCrossReference_1_2_0.eContents().get(1); //CastExpression Expression: - // UnaryExpression ({CastExpression.body=current} "as" type=[NamedElement|QualifiedName])?; + // UnaryExpression ({CastExpression.body=current} "as" targetType=[Symbol|QualifiedName])?; @Override public ParserRule getRule() { return rule; } - //UnaryExpression ({CastExpression.body=current} "as" type=[NamedElement|QualifiedName])? + //UnaryExpression ({CastExpression.body=current} "as" targetType=[Symbol|QualifiedName])? public Group getGroup() { return cGroup; } //UnaryExpression public RuleCall getUnaryExpressionParserRuleCall_0() { return cUnaryExpressionParserRuleCall_0; } - //({CastExpression.body=current} "as" type=[NamedElement|QualifiedName])? + //({CastExpression.body=current} "as" targetType=[Symbol|QualifiedName])? public Group getGroup_1() { return cGroup_1; } //{CastExpression.body=current} @@ -1151,233 +1364,158 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder { //"as" public Keyword getAsKeyword_1_1() { return cAsKeyword_1_1; } - //type=[NamedElement|QualifiedName] - public Assignment getTypeAssignment_1_2() { return cTypeAssignment_1_2; } + //targetType=[Symbol|QualifiedName] + public Assignment getTargetTypeAssignment_1_2() { return cTargetTypeAssignment_1_2; } - //[NamedElement|QualifiedName] - public CrossReference getTypeNamedElementCrossReference_1_2_0() { return cTypeNamedElementCrossReference_1_2_0; } + //[Symbol|QualifiedName] + public CrossReference getTargetTypeSymbolCrossReference_1_2_0() { return cTargetTypeSymbolCrossReference_1_2_0; } //QualifiedName - public RuleCall getTypeNamedElementQualifiedNameParserRuleCall_1_2_0_1() { return cTypeNamedElementQualifiedNameParserRuleCall_1_2_0_1; } + public RuleCall getTargetTypeSymbolQualifiedNameParserRuleCall_1_2_0_1() { return cTargetTypeSymbolQualifiedNameParserRuleCall_1_2_0_1; } } public class UnaryExpressionElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.UnaryExpression"); private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); - private final RuleCall cAggregationExpressionParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); + private final RuleCall cBracedAggregateExpressionParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); private final Group cGroup_1 = (Group)cAlternatives.eContents().get(1); private final Action cUnaryExpressionAction_1_0 = (Action)cGroup_1.eContents().get(0); private final Assignment cOpAssignment_1_1 = (Assignment)cGroup_1.eContents().get(1); - private final RuleCall cOpUnaryOpEnumRuleCall_1_1_0 = (RuleCall)cOpAssignment_1_1.eContents().get(0); + private final RuleCall cOpUnaryOperatorEnumRuleCall_1_1_0 = (RuleCall)cOpAssignment_1_1.eContents().get(0); private final Assignment cBodyAssignment_1_2 = (Assignment)cGroup_1.eContents().get(2); - private final RuleCall cBodyAggregationExpressionParserRuleCall_1_2_0 = (RuleCall)cBodyAssignment_1_2.eContents().get(0); + private final RuleCall cBodyBracedAggregateExpressionParserRuleCall_1_2_0 = (RuleCall)cBodyAssignment_1_2.eContents().get(0); //UnaryExpression Expression: - // AggregationExpression | {UnaryExpression} op=UnaryOp body=AggregationExpression; + // BracedAggregateExpression | {UnaryExpression} op=UnaryOperator body=BracedAggregateExpression; @Override public ParserRule getRule() { return rule; } - //AggregationExpression | {UnaryExpression} op=UnaryOp body=AggregationExpression + //BracedAggregateExpression | {UnaryExpression} op=UnaryOperator body=BracedAggregateExpression public Alternatives getAlternatives() { return cAlternatives; } - //AggregationExpression - public RuleCall getAggregationExpressionParserRuleCall_0() { return cAggregationExpressionParserRuleCall_0; } + //BracedAggregateExpression + public RuleCall getBracedAggregateExpressionParserRuleCall_0() { return cBracedAggregateExpressionParserRuleCall_0; } - //{UnaryExpression} op=UnaryOp body=AggregationExpression + //{UnaryExpression} op=UnaryOperator body=BracedAggregateExpression public Group getGroup_1() { return cGroup_1; } //{UnaryExpression} public Action getUnaryExpressionAction_1_0() { return cUnaryExpressionAction_1_0; } - //op=UnaryOp + //op=UnaryOperator public Assignment getOpAssignment_1_1() { return cOpAssignment_1_1; } - //UnaryOp - public RuleCall getOpUnaryOpEnumRuleCall_1_1_0() { return cOpUnaryOpEnumRuleCall_1_1_0; } + //UnaryOperator + public RuleCall getOpUnaryOperatorEnumRuleCall_1_1_0() { return cOpUnaryOperatorEnumRuleCall_1_1_0; } - //body=AggregationExpression + //body=BracedAggregateExpression public Assignment getBodyAssignment_1_2() { return cBodyAssignment_1_2; } - //AggregationExpression - public RuleCall getBodyAggregationExpressionParserRuleCall_1_2_0() { return cBodyAggregationExpressionParserRuleCall_1_2_0; } + //BracedAggregateExpression + public RuleCall getBodyBracedAggregateExpressionParserRuleCall_1_2_0() { return cBodyBracedAggregateExpressionParserRuleCall_1_2_0; } } - public class AggregationExpressionElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.AggregationExpression"); + public class BracedAggregateExpressionElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.BracedAggregateExpression"); private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); private final RuleCall cAtomicExpressionParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); - private final RuleCall cQuantifiedExpressionParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); - private final RuleCall cAggregationParserRuleCall_2 = (RuleCall)cAlternatives.eContents().get(2); + private final RuleCall cAggregationParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); + private final RuleCall cCountParserRuleCall_2 = (RuleCall)cAlternatives.eContents().get(2); - //AggregationExpression Expression: - // AtomicExpression | QuantifiedExpression | Aggregation; + //BracedAggregateExpression Expression: + // AtomicExpression | Aggregation | Count; @Override public ParserRule getRule() { return rule; } - //AtomicExpression | QuantifiedExpression | Aggregation + //AtomicExpression | Aggregation | Count public Alternatives getAlternatives() { return cAlternatives; } //AtomicExpression public RuleCall getAtomicExpressionParserRuleCall_0() { return cAtomicExpressionParserRuleCall_0; } - //QuantifiedExpression - public RuleCall getQuantifiedExpressionParserRuleCall_1() { return cQuantifiedExpressionParserRuleCall_1; } - //Aggregation - public RuleCall getAggregationParserRuleCall_2() { return cAggregationParserRuleCall_2; } + public RuleCall getAggregationParserRuleCall_1() { return cAggregationParserRuleCall_1; } + + //Count + public RuleCall getCountParserRuleCall_2() { return cCountParserRuleCall_2; } } - public class LocalVariablesElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.LocalVariables"); + public class AggregationElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.Aggregation"); private final Group cGroup = (Group)rule.eContents().get(1); - private final Action cLocalVariablesAction_0 = (Action)cGroup.eContents().get(0); - private final Keyword cLeftSquareBracketKeyword_1 = (Keyword)cGroup.eContents().get(1); - private final Group cGroup_2 = (Group)cGroup.eContents().get(2); - private final Assignment cVariablesAssignment_2_0 = (Assignment)cGroup_2.eContents().get(0); - private final RuleCall cVariablesVariableParserRuleCall_2_0_0 = (RuleCall)cVariablesAssignment_2_0.eContents().get(0); - private final Group cGroup_2_1 = (Group)cGroup_2.eContents().get(1); - private final Keyword cCommaKeyword_2_1_0 = (Keyword)cGroup_2_1.eContents().get(0); - private final Assignment cVariablesAssignment_2_1_1 = (Assignment)cGroup_2_1.eContents().get(1); - private final RuleCall cVariablesVariableParserRuleCall_2_1_1_0 = (RuleCall)cVariablesAssignment_2_1_1.eContents().get(0); - private final Keyword cRightSquareBracketKeyword_3 = (Keyword)cGroup.eContents().get(3); + private final Assignment cOpAssignment_0 = (Assignment)cGroup.eContents().get(0); + private final CrossReference cOpSymbolCrossReference_0_0 = (CrossReference)cOpAssignment_0.eContents().get(0); + private final RuleCall cOpSymbolQualifiedNameParserRuleCall_0_0_1 = (RuleCall)cOpSymbolCrossReference_0_0.eContents().get(1); + private final Keyword cLeftCurlyBracketKeyword_1 = (Keyword)cGroup.eContents().get(1); + private final Assignment cValueAssignment_2 = (Assignment)cGroup.eContents().get(2); + private final RuleCall cValueExpressionParserRuleCall_2_0 = (RuleCall)cValueAssignment_2.eContents().get(0); + private final Keyword cVerticalLineKeyword_3 = (Keyword)cGroup.eContents().get(3); + private final Assignment cConditionAssignment_4 = (Assignment)cGroup.eContents().get(4); + private final RuleCall cConditionExpressionParserRuleCall_4_0 = (RuleCall)cConditionAssignment_4.eContents().get(0); + private final Keyword cRightCurlyBracketKeyword_5 = (Keyword)cGroup.eContents().get(5); - //LocalVariables: - // {LocalVariables} "[" (variables+=Variable ("," variables+=Variable)*)? "]"; + //Aggregation: + // op=[Symbol|QualifiedName] "{" value=Expression "|" condition=Expression "}"; @Override public ParserRule getRule() { return rule; } - //{LocalVariables} "[" (variables+=Variable ("," variables+=Variable)*)? "]" + //op=[Symbol|QualifiedName] "{" value=Expression "|" condition=Expression "}" public Group getGroup() { return cGroup; } - //{LocalVariables} - public Action getLocalVariablesAction_0() { return cLocalVariablesAction_0; } - - //"[" - public Keyword getLeftSquareBracketKeyword_1() { return cLeftSquareBracketKeyword_1; } - - //(variables+=Variable ("," variables+=Variable)*)? - public Group getGroup_2() { return cGroup_2; } - - //variables+=Variable - public Assignment getVariablesAssignment_2_0() { return cVariablesAssignment_2_0; } - - //Variable - public RuleCall getVariablesVariableParserRuleCall_2_0_0() { return cVariablesVariableParserRuleCall_2_0_0; } - - //("," variables+=Variable)* - public Group getGroup_2_1() { return cGroup_2_1; } - - //"," - public Keyword getCommaKeyword_2_1_0() { return cCommaKeyword_2_1_0; } - - //variables+=Variable - public Assignment getVariablesAssignment_2_1_1() { return cVariablesAssignment_2_1_1; } - - //Variable - public RuleCall getVariablesVariableParserRuleCall_2_1_1_0() { return cVariablesVariableParserRuleCall_2_1_1_0; } - - //"]" - public Keyword getRightSquareBracketKeyword_3() { return cRightSquareBracketKeyword_3; } - } - public class QuantifiedExpressionElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.QuantifiedExpression"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final Assignment cQuantifierAssignment_0 = (Assignment)cGroup.eContents().get(0); - private final RuleCall cQuantifierQuantifierEnumRuleCall_0_0 = (RuleCall)cQuantifierAssignment_0.eContents().get(0); - private final Assignment cLocalVariablesAssignment_1 = (Assignment)cGroup.eContents().get(1); - private final RuleCall cLocalVariablesLocalVariablesParserRuleCall_1_0 = (RuleCall)cLocalVariablesAssignment_1.eContents().get(0); - private final Keyword cLeftCurlyBracketKeyword_2 = (Keyword)cGroup.eContents().get(2); - private final Assignment cBodyAssignment_3 = (Assignment)cGroup.eContents().get(3); - private final RuleCall cBodyExpressionParserRuleCall_3_0 = (RuleCall)cBodyAssignment_3.eContents().get(0); - private final Keyword cRightCurlyBracketKeyword_4 = (Keyword)cGroup.eContents().get(4); - - //QuantifiedExpression: - // quantifier=Quantifier localVariables=LocalVariables? "{" body=Expression "}"; - @Override public ParserRule getRule() { return rule; } + //op=[Symbol|QualifiedName] + public Assignment getOpAssignment_0() { return cOpAssignment_0; } - //quantifier=Quantifier localVariables=LocalVariables? "{" body=Expression "}" - public Group getGroup() { return cGroup; } + //[Symbol|QualifiedName] + public CrossReference getOpSymbolCrossReference_0_0() { return cOpSymbolCrossReference_0_0; } - //quantifier=Quantifier - public Assignment getQuantifierAssignment_0() { return cQuantifierAssignment_0; } + //QualifiedName + public RuleCall getOpSymbolQualifiedNameParserRuleCall_0_0_1() { return cOpSymbolQualifiedNameParserRuleCall_0_0_1; } - //Quantifier - public RuleCall getQuantifierQuantifierEnumRuleCall_0_0() { return cQuantifierQuantifierEnumRuleCall_0_0; } + //"{" + public Keyword getLeftCurlyBracketKeyword_1() { return cLeftCurlyBracketKeyword_1; } - //localVariables=LocalVariables? - public Assignment getLocalVariablesAssignment_1() { return cLocalVariablesAssignment_1; } + //value=Expression + public Assignment getValueAssignment_2() { return cValueAssignment_2; } - //LocalVariables - public RuleCall getLocalVariablesLocalVariablesParserRuleCall_1_0() { return cLocalVariablesLocalVariablesParserRuleCall_1_0; } + //Expression + public RuleCall getValueExpressionParserRuleCall_2_0() { return cValueExpressionParserRuleCall_2_0; } - //"{" - public Keyword getLeftCurlyBracketKeyword_2() { return cLeftCurlyBracketKeyword_2; } + //"|" + public Keyword getVerticalLineKeyword_3() { return cVerticalLineKeyword_3; } - //body=Expression - public Assignment getBodyAssignment_3() { return cBodyAssignment_3; } + //condition=Expression + public Assignment getConditionAssignment_4() { return cConditionAssignment_4; } //Expression - public RuleCall getBodyExpressionParserRuleCall_3_0() { return cBodyExpressionParserRuleCall_3_0; } + public RuleCall getConditionExpressionParserRuleCall_4_0() { return cConditionExpressionParserRuleCall_4_0; } //"}" - public Keyword getRightCurlyBracketKeyword_4() { return cRightCurlyBracketKeyword_4; } + public Keyword getRightCurlyBracketKeyword_5() { return cRightCurlyBracketKeyword_5; } } - public class AggregationElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.Aggregation"); + public class CountElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.Count"); private final Group cGroup = (Group)rule.eContents().get(1); - private final Assignment cOpAssignment_0 = (Assignment)cGroup.eContents().get(0); - private final CrossReference cOpNamedElementCrossReference_0_0 = (CrossReference)cOpAssignment_0.eContents().get(0); - private final RuleCall cOpNamedElementQualifiedNameParserRuleCall_0_0_1 = (RuleCall)cOpNamedElementCrossReference_0_0.eContents().get(1); - private final Assignment cLocalVariablesAssignment_1 = (Assignment)cGroup.eContents().get(1); - private final RuleCall cLocalVariablesLocalVariablesParserRuleCall_1_0 = (RuleCall)cLocalVariablesAssignment_1.eContents().get(0); - private final Keyword cLeftCurlyBracketKeyword_2 = (Keyword)cGroup.eContents().get(2); - private final Assignment cBodyAssignment_3 = (Assignment)cGroup.eContents().get(3); - private final RuleCall cBodyExpressionParserRuleCall_3_0 = (RuleCall)cBodyAssignment_3.eContents().get(0); - private final Group cGroup_4 = (Group)cGroup.eContents().get(4); - private final Keyword cVerticalLineKeyword_4_0 = (Keyword)cGroup_4.eContents().get(0); - private final Assignment cConditionAssignment_4_1 = (Assignment)cGroup_4.eContents().get(1); - private final RuleCall cConditionExpressionParserRuleCall_4_1_0 = (RuleCall)cConditionAssignment_4_1.eContents().get(0); - private final Keyword cRightCurlyBracketKeyword_5 = (Keyword)cGroup.eContents().get(5); - - //Aggregation: - // op=[NamedElement|QualifiedName] localVariables=LocalVariables? "{" body=Expression ("|" condition=Expression)? "}"; + private final Keyword cCountKeyword_0 = (Keyword)cGroup.eContents().get(0); + private final Keyword cLeftCurlyBracketKeyword_1 = (Keyword)cGroup.eContents().get(1); + private final Assignment cConditionAssignment_2 = (Assignment)cGroup.eContents().get(2); + private final RuleCall cConditionExpressionParserRuleCall_2_0 = (RuleCall)cConditionAssignment_2.eContents().get(0); + private final Keyword cRightCurlyBracketKeyword_3 = (Keyword)cGroup.eContents().get(3); + + //Count: + // "count" "{" condition=Expression "}"; @Override public ParserRule getRule() { return rule; } - //op=[NamedElement|QualifiedName] localVariables=LocalVariables? "{" body=Expression ("|" condition=Expression)? "}" + //"count" "{" condition=Expression "}" public Group getGroup() { return cGroup; } - //op=[NamedElement|QualifiedName] - public Assignment getOpAssignment_0() { return cOpAssignment_0; } - - //[NamedElement|QualifiedName] - public CrossReference getOpNamedElementCrossReference_0_0() { return cOpNamedElementCrossReference_0_0; } - - //QualifiedName - public RuleCall getOpNamedElementQualifiedNameParserRuleCall_0_0_1() { return cOpNamedElementQualifiedNameParserRuleCall_0_0_1; } - - //localVariables=LocalVariables? - public Assignment getLocalVariablesAssignment_1() { return cLocalVariablesAssignment_1; } - - //LocalVariables - public RuleCall getLocalVariablesLocalVariablesParserRuleCall_1_0() { return cLocalVariablesLocalVariablesParserRuleCall_1_0; } + //"count" + public Keyword getCountKeyword_0() { return cCountKeyword_0; } //"{" - public Keyword getLeftCurlyBracketKeyword_2() { return cLeftCurlyBracketKeyword_2; } - - //body=Expression - public Assignment getBodyAssignment_3() { return cBodyAssignment_3; } - - //Expression - public RuleCall getBodyExpressionParserRuleCall_3_0() { return cBodyExpressionParserRuleCall_3_0; } - - //("|" condition=Expression)? - public Group getGroup_4() { return cGroup_4; } - - //"|" - public Keyword getVerticalLineKeyword_4_0() { return cVerticalLineKeyword_4_0; } + public Keyword getLeftCurlyBracketKeyword_1() { return cLeftCurlyBracketKeyword_1; } //condition=Expression - public Assignment getConditionAssignment_4_1() { return cConditionAssignment_4_1; } + public Assignment getConditionAssignment_2() { return cConditionAssignment_2; } //Expression - public RuleCall getConditionExpressionParserRuleCall_4_1_0() { return cConditionExpressionParserRuleCall_4_1_0; } + public RuleCall getConditionExpressionParserRuleCall_2_0() { return cConditionExpressionParserRuleCall_2_0; } //"}" - public Keyword getRightCurlyBracketKeyword_5() { return cRightCurlyBracketKeyword_5; } + public Keyword getRightCurlyBracketKeyword_3() { return cRightCurlyBracketKeyword_3; } } public class AtomicExpressionElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.AtomicExpression"); @@ -1427,21 +1565,14 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder { private final Group cGroup = (Group)rule.eContents().get(1); private final Assignment cFunctorAssignment_0 = (Assignment)cGroup.eContents().get(0); private final RuleCall cFunctorReferenceParserRuleCall_0_0 = (RuleCall)cFunctorAssignment_0.eContents().get(0); - private final Alternatives cAlternatives_1 = (Alternatives)cGroup.eContents().get(1); - private final Assignment cTransitiveClosureAssignment_1_0 = (Assignment)cAlternatives_1.eContents().get(0); - private final RuleCall cTransitiveClosureTRANSITIVE_CLOSURETerminalRuleCall_1_0_0 = (RuleCall)cTransitiveClosureAssignment_1_0.eContents().get(0); - private final Assignment cReflexiveTransitiveClosureAssignment_1_1 = (Assignment)cAlternatives_1.eContents().get(1); - private final RuleCall cReflexiveTransitiveClosureREFLEXIVE_TRANSITIVE_CLOSURETerminalRuleCall_1_1_0 = (RuleCall)cReflexiveTransitiveClosureAssignment_1_1.eContents().get(0); - private final Assignment cArgumentListAssignment_2 = (Assignment)cGroup.eContents().get(2); - private final RuleCall cArgumentListArgumentListParserRuleCall_2_0 = (RuleCall)cArgumentListAssignment_2.eContents().get(0); + private final Assignment cArgumentListAssignment_1 = (Assignment)cGroup.eContents().get(1); + private final RuleCall cArgumentListArgumentListParserRuleCall_1_0 = (RuleCall)cArgumentListAssignment_1.eContents().get(0); //Call: - // functor=Reference (transitiveClosure?=TRANSITIVE_CLOSURE | reflexiveTransitiveClosure?=REFLEXIVE_TRANSITIVE_CLOSURE)? - // argumentList=ArgumentList; + // functor=Reference argumentList=ArgumentList; @Override public ParserRule getRule() { return rule; } - //functor=Reference (transitiveClosure?=TRANSITIVE_CLOSURE | reflexiveTransitiveClosure?=REFLEXIVE_TRANSITIVE_CLOSURE)? - //argumentList=ArgumentList + //functor=Reference argumentList=ArgumentList public Group getGroup() { return cGroup; } //functor=Reference @@ -1450,26 +1581,11 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder { //Reference public RuleCall getFunctorReferenceParserRuleCall_0_0() { return cFunctorReferenceParserRuleCall_0_0; } - //(transitiveClosure?=TRANSITIVE_CLOSURE | reflexiveTransitiveClosure?=REFLEXIVE_TRANSITIVE_CLOSURE)? - public Alternatives getAlternatives_1() { return cAlternatives_1; } - - //transitiveClosure?=TRANSITIVE_CLOSURE - public Assignment getTransitiveClosureAssignment_1_0() { return cTransitiveClosureAssignment_1_0; } - - //TRANSITIVE_CLOSURE - public RuleCall getTransitiveClosureTRANSITIVE_CLOSURETerminalRuleCall_1_0_0() { return cTransitiveClosureTRANSITIVE_CLOSURETerminalRuleCall_1_0_0; } - - //reflexiveTransitiveClosure?=REFLEXIVE_TRANSITIVE_CLOSURE - public Assignment getReflexiveTransitiveClosureAssignment_1_1() { return cReflexiveTransitiveClosureAssignment_1_1; } - - //REFLEXIVE_TRANSITIVE_CLOSURE - public RuleCall getReflexiveTransitiveClosureREFLEXIVE_TRANSITIVE_CLOSURETerminalRuleCall_1_1_0() { return cReflexiveTransitiveClosureREFLEXIVE_TRANSITIVE_CLOSURETerminalRuleCall_1_1_0; } - //argumentList=ArgumentList - public Assignment getArgumentListAssignment_2() { return cArgumentListAssignment_2; } + public Assignment getArgumentListAssignment_1() { return cArgumentListAssignment_1; } //ArgumentList - public RuleCall getArgumentListArgumentListParserRuleCall_2_0() { return cArgumentListArgumentListParserRuleCall_2_0; } + public RuleCall getArgumentListArgumentListParserRuleCall_1_0() { return cArgumentListArgumentListParserRuleCall_1_0; } } public class ArgumentListElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.ArgumentList"); @@ -1527,14 +1643,14 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder { private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); private final RuleCall cExpressionArgumentParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); private final RuleCall cStarArgumentParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); - private final RuleCall cTypedArgumentParserRuleCall_2 = (RuleCall)cAlternatives.eContents().get(2); + private final RuleCall cTypedVariableArgumentParserRuleCall_2 = (RuleCall)cAlternatives.eContents().get(2); private final RuleCall cTypedStarArgumentParserRuleCall_3 = (RuleCall)cAlternatives.eContents().get(3); //Argument: - // ExpressionArgument | StarArgument | TypedArgument | TypedStarArgument; + // ExpressionArgument | StarArgument | TypedVariableArgument | TypedStarArgument; @Override public ParserRule getRule() { return rule; } - //ExpressionArgument | StarArgument | TypedArgument | TypedStarArgument + //ExpressionArgument | StarArgument | TypedVariableArgument | TypedStarArgument public Alternatives getAlternatives() { return cAlternatives; } //ExpressionArgument @@ -1543,26 +1659,26 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder { //StarArgument public RuleCall getStarArgumentParserRuleCall_1() { return cStarArgumentParserRuleCall_1; } - //TypedArgument - public RuleCall getTypedArgumentParserRuleCall_2() { return cTypedArgumentParserRuleCall_2; } + //TypedVariableArgument + public RuleCall getTypedVariableArgumentParserRuleCall_2() { return cTypedVariableArgumentParserRuleCall_2; } //TypedStarArgument public RuleCall getTypedStarArgumentParserRuleCall_3() { return cTypedStarArgumentParserRuleCall_3; } } public class ExpressionArgumentElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.ExpressionArgument"); - private final Assignment cBodyAssignment = (Assignment)rule.eContents().get(1); - private final RuleCall cBodyComparisonExpressionParserRuleCall_0 = (RuleCall)cBodyAssignment.eContents().get(0); + private final Assignment cExpressionAssignment = (Assignment)rule.eContents().get(1); + private final RuleCall cExpressionComparisonExpressionParserRuleCall_0 = (RuleCall)cExpressionAssignment.eContents().get(0); //ExpressionArgument: - // body=ComparisonExpression; + // expression=ComparisonExpression; @Override public ParserRule getRule() { return rule; } - //body=ComparisonExpression - public Assignment getBodyAssignment() { return cBodyAssignment; } + //expression=ComparisonExpression + public Assignment getExpressionAssignment() { return cExpressionAssignment; } //ComparisonExpression - public RuleCall getBodyComparisonExpressionParserRuleCall_0() { return cBodyComparisonExpressionParserRuleCall_0; } + public RuleCall getExpressionComparisonExpressionParserRuleCall_0() { return cExpressionComparisonExpressionParserRuleCall_0; } } public class StarArgumentElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.StarArgument"); @@ -1583,122 +1699,179 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder { //"*" public Keyword getAsteriskKeyword_1() { return cAsteriskKeyword_1; } } - public class TypedArgumentElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.TypedArgument"); + public class TypedVariableArgumentElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.TypedVariableArgument"); private final Group cGroup = (Group)rule.eContents().get(1); - private final Assignment cTypeAssignment_0 = (Assignment)cGroup.eContents().get(0); - private final CrossReference cTypeNamedElementCrossReference_0_0 = (CrossReference)cTypeAssignment_0.eContents().get(0); - private final RuleCall cTypeNamedElementQualifiedNameParserRuleCall_0_0_1 = (RuleCall)cTypeNamedElementCrossReference_0_0.eContents().get(1); - private final Assignment cVariableAssignment_1 = (Assignment)cGroup.eContents().get(1); - private final CrossReference cVariableNamedElementCrossReference_1_0 = (CrossReference)cVariableAssignment_1.eContents().get(0); - private final RuleCall cVariableNamedElementQualifiedNameParserRuleCall_1_0_1 = (RuleCall)cVariableNamedElementCrossReference_1_0.eContents().get(1); + private final Assignment cTypeReferenceAssignment_0 = (Assignment)cGroup.eContents().get(0); + private final RuleCall cTypeReferenceTypeReferenceParserRuleCall_0_0 = (RuleCall)cTypeReferenceAssignment_0.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); - //TypedArgument: - // type=[NamedElement|QualifiedName] variable=[NamedElement|QualifiedName]; + //TypedVariableArgument: + // typeReference=TypeReference name=ID; @Override public ParserRule getRule() { return rule; } - //type=[NamedElement|QualifiedName] variable=[NamedElement|QualifiedName] + //typeReference=TypeReference name=ID public Group getGroup() { return cGroup; } - //type=[NamedElement|QualifiedName] - public Assignment getTypeAssignment_0() { return cTypeAssignment_0; } - - //[NamedElement|QualifiedName] - public CrossReference getTypeNamedElementCrossReference_0_0() { return cTypeNamedElementCrossReference_0_0; } - - //QualifiedName - public RuleCall getTypeNamedElementQualifiedNameParserRuleCall_0_0_1() { return cTypeNamedElementQualifiedNameParserRuleCall_0_0_1; } + //typeReference=TypeReference + public Assignment getTypeReferenceAssignment_0() { return cTypeReferenceAssignment_0; } - //variable=[NamedElement|QualifiedName] - public Assignment getVariableAssignment_1() { return cVariableAssignment_1; } + //TypeReference + public RuleCall getTypeReferenceTypeReferenceParserRuleCall_0_0() { return cTypeReferenceTypeReferenceParserRuleCall_0_0; } - //[NamedElement|QualifiedName] - public CrossReference getVariableNamedElementCrossReference_1_0() { return cVariableNamedElementCrossReference_1_0; } + //name=ID + public Assignment getNameAssignment_1() { return cNameAssignment_1; } - //QualifiedName - public RuleCall getVariableNamedElementQualifiedNameParserRuleCall_1_0_1() { return cVariableNamedElementQualifiedNameParserRuleCall_1_0_1; } + //ID + public RuleCall getNameIDTerminalRuleCall_1_0() { return cNameIDTerminalRuleCall_1_0; } } public class TypedStarArgumentElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.TypedStarArgument"); private final Group cGroup = (Group)rule.eContents().get(1); - private final Assignment cTypeAssignment_0 = (Assignment)cGroup.eContents().get(0); - private final CrossReference cTypeNamedElementCrossReference_0_0 = (CrossReference)cTypeAssignment_0.eContents().get(0); - private final RuleCall cTypeNamedElementQualifiedNameParserRuleCall_0_0_1 = (RuleCall)cTypeNamedElementCrossReference_0_0.eContents().get(1); + private final Assignment cTypeReferenceAssignment_0 = (Assignment)cGroup.eContents().get(0); + private final RuleCall cTypeReferenceTypeReferenceParserRuleCall_0_0 = (RuleCall)cTypeReferenceAssignment_0.eContents().get(0); private final Keyword cAsteriskKeyword_1 = (Keyword)cGroup.eContents().get(1); //TypedStarArgument: - // type=[NamedElement|QualifiedName] "*"; + // typeReference=TypeReference "*"; @Override public ParserRule getRule() { return rule; } - //type=[NamedElement|QualifiedName] "*" + //typeReference=TypeReference "*" public Group getGroup() { return cGroup; } - //type=[NamedElement|QualifiedName] - public Assignment getTypeAssignment_0() { return cTypeAssignment_0; } - - //[NamedElement|QualifiedName] - public CrossReference getTypeNamedElementCrossReference_0_0() { return cTypeNamedElementCrossReference_0_0; } + //typeReference=TypeReference + public Assignment getTypeReferenceAssignment_0() { return cTypeReferenceAssignment_0; } - //QualifiedName - public RuleCall getTypeNamedElementQualifiedNameParserRuleCall_0_0_1() { return cTypeNamedElementQualifiedNameParserRuleCall_0_0_1; } + //TypeReference + public RuleCall getTypeReferenceTypeReferenceParserRuleCall_0_0() { return cTypeReferenceTypeReferenceParserRuleCall_0_0; } //"*" public Keyword getAsteriskKeyword_1() { return cAsteriskKeyword_1; } } public class ReferenceElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.Reference"); - private final Assignment cReferredAssignment = (Assignment)rule.eContents().get(1); - private final CrossReference cReferredNamedElementCrossReference_0 = (CrossReference)cReferredAssignment.eContents().get(0); - private final RuleCall cReferredNamedElementQualifiedNameParserRuleCall_0_1 = (RuleCall)cReferredNamedElementCrossReference_0.eContents().get(1); + private final Group cGroup = (Group)rule.eContents().get(1); + private final Assignment cComponentsAssignment_0 = (Assignment)cGroup.eContents().get(0); + private final RuleCall cComponentsPathComponentParserRuleCall_0_0 = (RuleCall)cComponentsAssignment_0.eContents().get(0); + private final Group cGroup_1 = (Group)cGroup.eContents().get(1); + private final Keyword cFullStopKeyword_1_0 = (Keyword)cGroup_1.eContents().get(0); + private final Assignment cComponentsAssignment_1_1 = (Assignment)cGroup_1.eContents().get(1); + private final RuleCall cComponentsPathComponentParserRuleCall_1_1_0 = (RuleCall)cComponentsAssignment_1_1.eContents().get(0); //Reference: - // referred=[NamedElement|QualifiedName]; + // components+=PathComponent ("." components+=PathComponent)*; + @Override public ParserRule getRule() { return rule; } + + //components+=PathComponent ("." components+=PathComponent)* + public Group getGroup() { return cGroup; } + + //components+=PathComponent + public Assignment getComponentsAssignment_0() { return cComponentsAssignment_0; } + + //PathComponent + public RuleCall getComponentsPathComponentParserRuleCall_0_0() { return cComponentsPathComponentParserRuleCall_0_0; } + + //("." components+=PathComponent)* + public Group getGroup_1() { return cGroup_1; } + + //"." + public Keyword getFullStopKeyword_1_0() { return cFullStopKeyword_1_0; } + + //components+=PathComponent + public Assignment getComponentsAssignment_1_1() { return cComponentsAssignment_1_1; } + + //PathComponent + public RuleCall getComponentsPathComponentParserRuleCall_1_1_0() { return cComponentsPathComponentParserRuleCall_1_1_0; } + } + public class PathComponentElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.PathComponent"); + private final Group cGroup = (Group)rule.eContents().get(1); + private final Assignment cInverseAssignment_0 = (Assignment)cGroup.eContents().get(0); + private final Keyword cInverseTildeKeyword_0_0 = (Keyword)cInverseAssignment_0.eContents().get(0); + private final Assignment cSymbolAssignment_1 = (Assignment)cGroup.eContents().get(1); + private final CrossReference cSymbolSymbolCrossReference_1_0 = (CrossReference)cSymbolAssignment_1.eContents().get(0); + private final RuleCall cSymbolSymbolQualifiedNameParserRuleCall_1_0_1 = (RuleCall)cSymbolSymbolCrossReference_1_0.eContents().get(1); + private final Alternatives cAlternatives_2 = (Alternatives)cGroup.eContents().get(2); + private final Assignment cTransitiveClosureAssignment_2_0 = (Assignment)cAlternatives_2.eContents().get(0); + private final RuleCall cTransitiveClosureTRANSITIVE_CLOSURETerminalRuleCall_2_0_0 = (RuleCall)cTransitiveClosureAssignment_2_0.eContents().get(0); + private final Assignment cReflexiveTransitiveClosureAssignment_2_1 = (Assignment)cAlternatives_2.eContents().get(1); + private final RuleCall cReflexiveTransitiveClosureREFLEXIVE_TRANSITIVE_CLOSURETerminalRuleCall_2_1_0 = (RuleCall)cReflexiveTransitiveClosureAssignment_2_1.eContents().get(0); + + //PathComponent: + // inverse?="~"? symbol=[Symbol|QualifiedName] (transitiveClosure?=TRANSITIVE_CLOSURE | + // reflexiveTransitiveClosure?=REFLEXIVE_TRANSITIVE_CLOSURE)?; @Override public ParserRule getRule() { return rule; } - //referred=[NamedElement|QualifiedName] - public Assignment getReferredAssignment() { return cReferredAssignment; } + //inverse?="~"? symbol=[Symbol|QualifiedName] (transitiveClosure?=TRANSITIVE_CLOSURE | + //reflexiveTransitiveClosure?=REFLEXIVE_TRANSITIVE_CLOSURE)? + public Group getGroup() { return cGroup; } + + //inverse?="~"? + public Assignment getInverseAssignment_0() { return cInverseAssignment_0; } + + //"~" + public Keyword getInverseTildeKeyword_0_0() { return cInverseTildeKeyword_0_0; } - //[NamedElement|QualifiedName] - public CrossReference getReferredNamedElementCrossReference_0() { return cReferredNamedElementCrossReference_0; } + //symbol=[Symbol|QualifiedName] + public Assignment getSymbolAssignment_1() { return cSymbolAssignment_1; } + + //[Symbol|QualifiedName] + public CrossReference getSymbolSymbolCrossReference_1_0() { return cSymbolSymbolCrossReference_1_0; } //QualifiedName - public RuleCall getReferredNamedElementQualifiedNameParserRuleCall_0_1() { return cReferredNamedElementQualifiedNameParserRuleCall_0_1; } + public RuleCall getSymbolSymbolQualifiedNameParserRuleCall_1_0_1() { return cSymbolSymbolQualifiedNameParserRuleCall_1_0_1; } + + //(transitiveClosure?=TRANSITIVE_CLOSURE | reflexiveTransitiveClosure?=REFLEXIVE_TRANSITIVE_CLOSURE)? + public Alternatives getAlternatives_2() { return cAlternatives_2; } + + //transitiveClosure?=TRANSITIVE_CLOSURE + public Assignment getTransitiveClosureAssignment_2_0() { return cTransitiveClosureAssignment_2_0; } + + //TRANSITIVE_CLOSURE + public RuleCall getTransitiveClosureTRANSITIVE_CLOSURETerminalRuleCall_2_0_0() { return cTransitiveClosureTRANSITIVE_CLOSURETerminalRuleCall_2_0_0; } + + //reflexiveTransitiveClosure?=REFLEXIVE_TRANSITIVE_CLOSURE + public Assignment getReflexiveTransitiveClosureAssignment_2_1() { return cReflexiveTransitiveClosureAssignment_2_1; } + + //REFLEXIVE_TRANSITIVE_CLOSURE + public RuleCall getReflexiveTransitiveClosureREFLEXIVE_TRANSITIVE_CLOSURETerminalRuleCall_2_1_0() { return cReflexiveTransitiveClosureREFLEXIVE_TRANSITIVE_CLOSURETerminalRuleCall_2_1_0; } } public class IntervalElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.Interval"); private final Group cGroup = (Group)rule.eContents().get(1); private final Keyword cLeftSquareBracketKeyword_0 = (Keyword)cGroup.eContents().get(0); private final Assignment cLowerBoundAssignment_1 = (Assignment)cGroup.eContents().get(1); - private final RuleCall cLowerBoundExpressionParserRuleCall_1_0 = (RuleCall)cLowerBoundAssignment_1.eContents().get(0); - private final Keyword cFullStopFullStopKeyword_2 = (Keyword)cGroup.eContents().get(2); + private final RuleCall cLowerBoundAdditiveExpressionParserRuleCall_1_0 = (RuleCall)cLowerBoundAssignment_1.eContents().get(0); + private final Keyword cCommaKeyword_2 = (Keyword)cGroup.eContents().get(2); private final Assignment cUpperBoundAssignment_3 = (Assignment)cGroup.eContents().get(3); - private final RuleCall cUpperBoundExpressionParserRuleCall_3_0 = (RuleCall)cUpperBoundAssignment_3.eContents().get(0); + private final RuleCall cUpperBoundAdditiveExpressionParserRuleCall_3_0 = (RuleCall)cUpperBoundAssignment_3.eContents().get(0); private final Keyword cRightSquareBracketKeyword_4 = (Keyword)cGroup.eContents().get(4); //Interval: - // "[" lowerBound=Expression ".." upperBound=Expression "]"; + // "[" lowerBound=AdditiveExpression "," upperBound=AdditiveExpression "]"; @Override public ParserRule getRule() { return rule; } - //"[" lowerBound=Expression ".." upperBound=Expression "]" + //"[" lowerBound=AdditiveExpression "," upperBound=AdditiveExpression "]" public Group getGroup() { return cGroup; } //"[" public Keyword getLeftSquareBracketKeyword_0() { return cLeftSquareBracketKeyword_0; } - //lowerBound=Expression + //lowerBound=AdditiveExpression public Assignment getLowerBoundAssignment_1() { return cLowerBoundAssignment_1; } - //Expression - public RuleCall getLowerBoundExpressionParserRuleCall_1_0() { return cLowerBoundExpressionParserRuleCall_1_0; } + //AdditiveExpression + public RuleCall getLowerBoundAdditiveExpressionParserRuleCall_1_0() { return cLowerBoundAdditiveExpressionParserRuleCall_1_0; } - //".." - public Keyword getFullStopFullStopKeyword_2() { return cFullStopFullStopKeyword_2; } + //"," + public Keyword getCommaKeyword_2() { return cCommaKeyword_2; } - //upperBound=Expression + //upperBound=AdditiveExpression public Assignment getUpperBoundAssignment_3() { return cUpperBoundAssignment_3; } - //Expression - public RuleCall getUpperBoundExpressionParserRuleCall_3_0() { return cUpperBoundExpressionParserRuleCall_3_0; } + //AdditiveExpression + public RuleCall getUpperBoundAdditiveExpressionParserRuleCall_3_0() { return cUpperBoundAdditiveExpressionParserRuleCall_3_0; } //"]" public Keyword getRightSquareBracketKeyword_4() { return cRightSquareBracketKeyword_4; } @@ -1707,32 +1880,36 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.Literal"); private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); private final RuleCall cLogicLiteralParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); - private final RuleCall cNumericLiteralParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); - private final RuleCall cInfinityLiteralParserRuleCall_2 = (RuleCall)cAlternatives.eContents().get(2); - private final RuleCall cEmptyIntervalLiteralParserRuleCall_3 = (RuleCall)cAlternatives.eContents().get(3); - private final RuleCall cStringLiteralParserRuleCall_4 = (RuleCall)cAlternatives.eContents().get(4); + private final RuleCall cIntLiteralParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); + private final RuleCall cRealLiteralParserRuleCall_2 = (RuleCall)cAlternatives.eContents().get(2); + private final RuleCall cInfinityLiteralParserRuleCall_3 = (RuleCall)cAlternatives.eContents().get(3); + private final RuleCall cEmptyLiteralParserRuleCall_4 = (RuleCall)cAlternatives.eContents().get(4); + private final RuleCall cStringLiteralParserRuleCall_5 = (RuleCall)cAlternatives.eContents().get(5); //Literal: - // LogicLiteral | NumericLiteral | InfinityLiteral | EmptyIntervalLiteral | StringLiteral; + // LogicLiteral | IntLiteral | RealLiteral | InfinityLiteral | EmptyLiteral | StringLiteral; @Override public ParserRule getRule() { return rule; } - //LogicLiteral | NumericLiteral | InfinityLiteral | EmptyIntervalLiteral | StringLiteral + //LogicLiteral | IntLiteral | RealLiteral | InfinityLiteral | EmptyLiteral | StringLiteral public Alternatives getAlternatives() { return cAlternatives; } //LogicLiteral public RuleCall getLogicLiteralParserRuleCall_0() { return cLogicLiteralParserRuleCall_0; } - //NumericLiteral - public RuleCall getNumericLiteralParserRuleCall_1() { return cNumericLiteralParserRuleCall_1; } + //IntLiteral + public RuleCall getIntLiteralParserRuleCall_1() { return cIntLiteralParserRuleCall_1; } + + //RealLiteral + public RuleCall getRealLiteralParserRuleCall_2() { return cRealLiteralParserRuleCall_2; } //InfinityLiteral - public RuleCall getInfinityLiteralParserRuleCall_2() { return cInfinityLiteralParserRuleCall_2; } + public RuleCall getInfinityLiteralParserRuleCall_3() { return cInfinityLiteralParserRuleCall_3; } - //EmptyIntervalLiteral - public RuleCall getEmptyIntervalLiteralParserRuleCall_3() { return cEmptyIntervalLiteralParserRuleCall_3; } + //EmptyLiteral + public RuleCall getEmptyLiteralParserRuleCall_4() { return cEmptyLiteralParserRuleCall_4; } //StringLiteral - public RuleCall getStringLiteralParserRuleCall_4() { return cStringLiteralParserRuleCall_4; } + public RuleCall getStringLiteralParserRuleCall_5() { return cStringLiteralParserRuleCall_5; } } public class LogicLiteralElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.LogicLiteral"); @@ -1749,12 +1926,27 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder { //LogicValue public RuleCall getValueLogicValueEnumRuleCall_0() { return cValueLogicValueEnumRuleCall_0; } } - public class NumericLiteralElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.NumericLiteral"); + public class IntLiteralElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.IntLiteral"); + private final Assignment cValueAssignment = (Assignment)rule.eContents().get(1); + private final RuleCall cValueINTTerminalRuleCall_0 = (RuleCall)cValueAssignment.eContents().get(0); + + //IntLiteral: + // value=INT; + @Override public ParserRule getRule() { return rule; } + + //value=INT + public Assignment getValueAssignment() { return cValueAssignment; } + + //INT + public RuleCall getValueINTTerminalRuleCall_0() { return cValueINTTerminalRuleCall_0; } + } + public class RealLiteralElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.RealLiteral"); private final Assignment cValueAssignment = (Assignment)rule.eContents().get(1); private final RuleCall cValueRealParserRuleCall_0 = (RuleCall)cValueAssignment.eContents().get(0); - //NumericLiteral: + //RealLiteral: // value=Real; @Override public ParserRule getRule() { return rule; } @@ -1783,21 +1975,21 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder { //"inf" public Keyword getInfKeyword_1() { return cInfKeyword_1; } } - public class EmptyIntervalLiteralElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.EmptyIntervalLiteral"); + public class EmptyLiteralElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.EmptyLiteral"); private final Group cGroup = (Group)rule.eContents().get(1); - private final Action cEmptyIntervalLiteralAction_0 = (Action)cGroup.eContents().get(0); + private final Action cEmptyLiteralAction_0 = (Action)cGroup.eContents().get(0); private final Keyword cEmptyKeyword_1 = (Keyword)cGroup.eContents().get(1); - //EmptyIntervalLiteral: - // {EmptyIntervalLiteral} "empty"; + //EmptyLiteral: + // {EmptyLiteral} "empty"; @Override public ParserRule getRule() { return rule; } - //{EmptyIntervalLiteral} "empty" + //{EmptyLiteral} "empty" public Group getGroup() { return cGroup; } - //{EmptyIntervalLiteral} - public Action getEmptyIntervalLiteralAction_0() { return cEmptyIntervalLiteralAction_0; } + //{EmptyLiteral} + public Action getEmptyLiteralAction_0() { return cEmptyLiteralAction_0; } //"empty" public Keyword getEmptyKeyword_1() { return cEmptyKeyword_1; } @@ -1817,44 +2009,58 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder { //STRING public RuleCall getValueSTRINGTerminalRuleCall_0() { return cValueSTRINGTerminalRuleCall_0; } } - public class ClassDefinitionElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.ClassDefinition"); + public class ClassDeclarationElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.ClassDeclaration"); private final Group cGroup = (Group)rule.eContents().get(1); - private final Assignment cAbstractAssignment_0 = (Assignment)cGroup.eContents().get(0); - private final Keyword cAbstractAbstractKeyword_0_0 = (Keyword)cAbstractAssignment_0.eContents().get(0); + private final UnorderedGroup cUnorderedGroup_0 = (UnorderedGroup)cGroup.eContents().get(0); + private final Assignment cAbstractAssignment_0_0 = (Assignment)cUnorderedGroup_0.eContents().get(0); + private final Keyword cAbstractAbstractKeyword_0_0_0 = (Keyword)cAbstractAssignment_0_0.eContents().get(0); + private final Assignment cRootAssignment_0_1 = (Assignment)cUnorderedGroup_0.eContents().get(1); + private final Keyword cRootRootKeyword_0_1_0 = (Keyword)cRootAssignment_0_1.eContents().get(0); private final Keyword cClassKeyword_1 = (Keyword)cGroup.eContents().get(1); private final Assignment cNameAssignment_2 = (Assignment)cGroup.eContents().get(2); private final RuleCall cNameIDTerminalRuleCall_2_0 = (RuleCall)cNameAssignment_2.eContents().get(0); private final Group cGroup_3 = (Group)cGroup.eContents().get(3); private final Keyword cExtendsKeyword_3_0 = (Keyword)cGroup_3.eContents().get(0); - private final Assignment cSuperclassesAssignment_3_1 = (Assignment)cGroup_3.eContents().get(1); - private final CrossReference cSuperclassesNamedElementCrossReference_3_1_0 = (CrossReference)cSuperclassesAssignment_3_1.eContents().get(0); - private final RuleCall cSuperclassesNamedElementQualifiedNameParserRuleCall_3_1_0_1 = (RuleCall)cSuperclassesNamedElementCrossReference_3_1_0.eContents().get(1); + private final Assignment cSupertypesAssignment_3_1 = (Assignment)cGroup_3.eContents().get(1); + private final CrossReference cSupertypesSymbolCrossReference_3_1_0 = (CrossReference)cSupertypesAssignment_3_1.eContents().get(0); + private final RuleCall cSupertypesSymbolQualifiedNameParserRuleCall_3_1_0_1 = (RuleCall)cSupertypesSymbolCrossReference_3_1_0.eContents().get(1); private final Group cGroup_3_2 = (Group)cGroup_3.eContents().get(2); private final Keyword cCommaKeyword_3_2_0 = (Keyword)cGroup_3_2.eContents().get(0); - private final Assignment cSuperclassesAssignment_3_2_1 = (Assignment)cGroup_3_2.eContents().get(1); - private final CrossReference cSuperclassesNamedElementCrossReference_3_2_1_0 = (CrossReference)cSuperclassesAssignment_3_2_1.eContents().get(0); - private final RuleCall cSuperclassesNamedElementQualifiedNameParserRuleCall_3_2_1_0_1 = (RuleCall)cSuperclassesNamedElementCrossReference_3_2_1_0.eContents().get(1); - private final Keyword cLeftCurlyBracketKeyword_4 = (Keyword)cGroup.eContents().get(4); - private final Assignment cMembersAssignment_5 = (Assignment)cGroup.eContents().get(5); - private final RuleCall cMembersMemberDefinitionParserRuleCall_5_0 = (RuleCall)cMembersAssignment_5.eContents().get(0); - private final Keyword cRightCurlyBracketKeyword_6 = (Keyword)cGroup.eContents().get(6); - - //ClassDefinition: - // abstract?="abstract"? "class" name=ID ("extends" superclasses+=[NamedElement|QualifiedName] ("," - // superclasses+=[NamedElement|QualifiedName])*)? - // "{" members+=MemberDefinition* "}"; + private final Assignment cSupertypesAssignment_3_2_1 = (Assignment)cGroup_3_2.eContents().get(1); + private final CrossReference cSupertypesSymbolCrossReference_3_2_1_0 = (CrossReference)cSupertypesAssignment_3_2_1.eContents().get(0); + private final RuleCall cSupertypesSymbolQualifiedNameParserRuleCall_3_2_1_0_1 = (RuleCall)cSupertypesSymbolCrossReference_3_2_1_0.eContents().get(1); + private final Alternatives cAlternatives_4 = (Alternatives)cGroup.eContents().get(4); + private final Group cGroup_4_0 = (Group)cAlternatives_4.eContents().get(0); + private final Keyword cLeftCurlyBracketKeyword_4_0_0 = (Keyword)cGroup_4_0.eContents().get(0); + private final Assignment cFieldsAssignment_4_0_1 = (Assignment)cGroup_4_0.eContents().get(1); + private final RuleCall cFieldsFieldParserRuleCall_4_0_1_0 = (RuleCall)cFieldsAssignment_4_0_1.eContents().get(0); + private final Keyword cRightCurlyBracketKeyword_4_0_2 = (Keyword)cGroup_4_0.eContents().get(2); + private final RuleCall cFULL_STOPTerminalRuleCall_4_1 = (RuleCall)cAlternatives_4.eContents().get(1); + + //ClassDeclaration: + // (abstract?="abstract"? & root?="root"?) "class" name=ID ("extends" supertypes+=[Symbol|QualifiedName] ("," + // supertypes+=[Symbol|QualifiedName])*)? ("{" fields+=Field* "}" | FULL_STOP); @Override public ParserRule getRule() { return rule; } - //abstract?="abstract"? "class" name=ID ("extends" superclasses+=[NamedElement|QualifiedName] ("," - //superclasses+=[NamedElement|QualifiedName])*)? "{" members+=MemberDefinition* "}" + //(abstract?="abstract"? & root?="root"?) "class" name=ID ("extends" supertypes+=[Symbol|QualifiedName] ("," + //supertypes+=[Symbol|QualifiedName])*)? ("{" fields+=Field* "}" | FULL_STOP) public Group getGroup() { return cGroup; } + //(abstract?="abstract"? & root?="root"?) + public UnorderedGroup getUnorderedGroup_0() { return cUnorderedGroup_0; } + //abstract?="abstract"? - public Assignment getAbstractAssignment_0() { return cAbstractAssignment_0; } + public Assignment getAbstractAssignment_0_0() { return cAbstractAssignment_0_0; } //"abstract" - public Keyword getAbstractAbstractKeyword_0_0() { return cAbstractAbstractKeyword_0_0; } + public Keyword getAbstractAbstractKeyword_0_0_0() { return cAbstractAbstractKeyword_0_0_0; } + + //root?="root"? + public Assignment getRootAssignment_0_1() { return cRootAssignment_0_1; } + + //"root" + public Keyword getRootRootKeyword_0_1_0() { return cRootRootKeyword_0_1_0; } //"class" public Keyword getClassKeyword_1() { return cClassKeyword_1; } @@ -1865,56 +2071,68 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder { //ID public RuleCall getNameIDTerminalRuleCall_2_0() { return cNameIDTerminalRuleCall_2_0; } - //("extends" superclasses+=[NamedElement|QualifiedName] ("," superclasses+=[NamedElement|QualifiedName])*)? + //("extends" supertypes+=[Symbol|QualifiedName] ("," supertypes+=[Symbol|QualifiedName])*)? public Group getGroup_3() { return cGroup_3; } //"extends" public Keyword getExtendsKeyword_3_0() { return cExtendsKeyword_3_0; } - //superclasses+=[NamedElement|QualifiedName] - public Assignment getSuperclassesAssignment_3_1() { return cSuperclassesAssignment_3_1; } + //supertypes+=[Symbol|QualifiedName] + public Assignment getSupertypesAssignment_3_1() { return cSupertypesAssignment_3_1; } - //[NamedElement|QualifiedName] - public CrossReference getSuperclassesNamedElementCrossReference_3_1_0() { return cSuperclassesNamedElementCrossReference_3_1_0; } + //[Symbol|QualifiedName] + public CrossReference getSupertypesSymbolCrossReference_3_1_0() { return cSupertypesSymbolCrossReference_3_1_0; } //QualifiedName - public RuleCall getSuperclassesNamedElementQualifiedNameParserRuleCall_3_1_0_1() { return cSuperclassesNamedElementQualifiedNameParserRuleCall_3_1_0_1; } + public RuleCall getSupertypesSymbolQualifiedNameParserRuleCall_3_1_0_1() { return cSupertypesSymbolQualifiedNameParserRuleCall_3_1_0_1; } - //("," superclasses+=[NamedElement|QualifiedName])* + //("," supertypes+=[Symbol|QualifiedName])* public Group getGroup_3_2() { return cGroup_3_2; } //"," public Keyword getCommaKeyword_3_2_0() { return cCommaKeyword_3_2_0; } - //superclasses+=[NamedElement|QualifiedName] - public Assignment getSuperclassesAssignment_3_2_1() { return cSuperclassesAssignment_3_2_1; } + //supertypes+=[Symbol|QualifiedName] + public Assignment getSupertypesAssignment_3_2_1() { return cSupertypesAssignment_3_2_1; } - //[NamedElement|QualifiedName] - public CrossReference getSuperclassesNamedElementCrossReference_3_2_1_0() { return cSuperclassesNamedElementCrossReference_3_2_1_0; } + //[Symbol|QualifiedName] + public CrossReference getSupertypesSymbolCrossReference_3_2_1_0() { return cSupertypesSymbolCrossReference_3_2_1_0; } //QualifiedName - public RuleCall getSuperclassesNamedElementQualifiedNameParserRuleCall_3_2_1_0_1() { return cSuperclassesNamedElementQualifiedNameParserRuleCall_3_2_1_0_1; } + public RuleCall getSupertypesSymbolQualifiedNameParserRuleCall_3_2_1_0_1() { return cSupertypesSymbolQualifiedNameParserRuleCall_3_2_1_0_1; } + + //("{" fields+=Field* "}" | FULL_STOP) + public Alternatives getAlternatives_4() { return cAlternatives_4; } + + //"{" fields+=Field* "}" + public Group getGroup_4_0() { return cGroup_4_0; } //"{" - public Keyword getLeftCurlyBracketKeyword_4() { return cLeftCurlyBracketKeyword_4; } + public Keyword getLeftCurlyBracketKeyword_4_0_0() { return cLeftCurlyBracketKeyword_4_0_0; } - //members+=MemberDefinition* - public Assignment getMembersAssignment_5() { return cMembersAssignment_5; } + //fields+=Field* + public Assignment getFieldsAssignment_4_0_1() { return cFieldsAssignment_4_0_1; } - //MemberDefinition - public RuleCall getMembersMemberDefinitionParserRuleCall_5_0() { return cMembersMemberDefinitionParserRuleCall_5_0; } + //Field + public RuleCall getFieldsFieldParserRuleCall_4_0_1_0() { return cFieldsFieldParserRuleCall_4_0_1_0; } //"}" - public Keyword getRightCurlyBracketKeyword_6() { return cRightCurlyBracketKeyword_6; } + public Keyword getRightCurlyBracketKeyword_4_0_2() { return cRightCurlyBracketKeyword_4_0_2; } + + //FULL_STOP + public RuleCall getFULL_STOPTerminalRuleCall_4_1() { return cFULL_STOPTerminalRuleCall_4_1; } } - public class MemberDefinitionElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.MemberDefinition"); + public class FieldElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.Field"); private final Group cGroup = (Group)rule.eContents().get(1); - private final Assignment cContainmentAssignment_0 = (Assignment)cGroup.eContents().get(0); - private final Keyword cContainmentContainsKeyword_0_0 = (Keyword)cContainmentAssignment_0.eContents().get(0); + private final Alternatives cAlternatives_0 = (Alternatives)cGroup.eContents().get(0); + private final Assignment cContainmentAssignment_0_0 = (Assignment)cAlternatives_0.eContents().get(0); + private final Keyword cContainmentContainsKeyword_0_0_0 = (Keyword)cContainmentAssignment_0_0.eContents().get(0); + private final Assignment cCrossReferenceAssignment_0_1 = (Assignment)cAlternatives_0.eContents().get(1); + private final Keyword cCrossReferenceRefersKeyword_0_1_0 = (Keyword)cCrossReferenceAssignment_0_1.eContents().get(0); private final Assignment cTypeAssignment_1 = (Assignment)cGroup.eContents().get(1); - private final CrossReference cTypeNamedElementCrossReference_1_0 = (CrossReference)cTypeAssignment_1.eContents().get(0); - private final RuleCall cTypeNamedElementQualifiedNameParserRuleCall_1_0_1 = (RuleCall)cTypeNamedElementCrossReference_1_0.eContents().get(1); + private final CrossReference cTypeSymbolCrossReference_1_0 = (CrossReference)cTypeAssignment_1.eContents().get(0); + private final RuleCall cTypeSymbolQualifiedNameParserRuleCall_1_0_1 = (RuleCall)cTypeSymbolCrossReference_1_0.eContents().get(1); private final Assignment cMultiplicityAssignment_2 = (Assignment)cGroup.eContents().get(2); private final RuleCall cMultiplicityMultiplicityParserRuleCall_2_0 = (RuleCall)cMultiplicityAssignment_2.eContents().get(0); private final Assignment cNameAssignment_3 = (Assignment)cGroup.eContents().get(3); @@ -1922,33 +2140,42 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder { private final Group cGroup_4 = (Group)cGroup.eContents().get(4); private final Keyword cOppositeKeyword_4_0 = (Keyword)cGroup_4.eContents().get(0); private final Assignment cOppositeAssignment_4_1 = (Assignment)cGroup_4.eContents().get(1); - private final CrossReference cOppositeNamedElementCrossReference_4_1_0 = (CrossReference)cOppositeAssignment_4_1.eContents().get(0); - private final RuleCall cOppositeNamedElementQualifiedNameParserRuleCall_4_1_0_1 = (RuleCall)cOppositeNamedElementCrossReference_4_1_0.eContents().get(1); + private final CrossReference cOppositeSymbolCrossReference_4_1_0 = (CrossReference)cOppositeAssignment_4_1.eContents().get(0); + private final RuleCall cOppositeSymbolQualifiedNameParserRuleCall_4_1_0_1 = (RuleCall)cOppositeSymbolCrossReference_4_1_0.eContents().get(1); private final Keyword cSemicolonKeyword_5 = (Keyword)cGroup.eContents().get(5); - //MemberDefinition: - // containment?="contains"? type=[NamedElement|QualifiedName] multiplicity=Multiplicity? name=ID ("opposite" - // opposite=[NamedElement|QualifiedName])? ";"?; + //Field: + // (containment?="contains" | crossReference?="refers")? type=[Symbol|QualifiedName] multiplicity=Multiplicity? + // name=ID ("opposite" opposite=[Symbol|QualifiedName])? ";"?; @Override public ParserRule getRule() { return rule; } - //containment?="contains"? type=[NamedElement|QualifiedName] multiplicity=Multiplicity? name=ID ("opposite" - //opposite=[NamedElement|QualifiedName])? ";"? + //(containment?="contains" | crossReference?="refers")? type=[Symbol|QualifiedName] multiplicity=Multiplicity? name=ID + //("opposite" opposite=[Symbol|QualifiedName])? ";"? public Group getGroup() { return cGroup; } - //containment?="contains"? - public Assignment getContainmentAssignment_0() { return cContainmentAssignment_0; } + //(containment?="contains" | crossReference?="refers")? + public Alternatives getAlternatives_0() { return cAlternatives_0; } + + //containment?="contains" + public Assignment getContainmentAssignment_0_0() { return cContainmentAssignment_0_0; } //"contains" - public Keyword getContainmentContainsKeyword_0_0() { return cContainmentContainsKeyword_0_0; } + public Keyword getContainmentContainsKeyword_0_0_0() { return cContainmentContainsKeyword_0_0_0; } + + //crossReference?="refers" + public Assignment getCrossReferenceAssignment_0_1() { return cCrossReferenceAssignment_0_1; } + + //"refers" + public Keyword getCrossReferenceRefersKeyword_0_1_0() { return cCrossReferenceRefersKeyword_0_1_0; } - //type=[NamedElement|QualifiedName] + //type=[Symbol|QualifiedName] public Assignment getTypeAssignment_1() { return cTypeAssignment_1; } - //[NamedElement|QualifiedName] - public CrossReference getTypeNamedElementCrossReference_1_0() { return cTypeNamedElementCrossReference_1_0; } + //[Symbol|QualifiedName] + public CrossReference getTypeSymbolCrossReference_1_0() { return cTypeSymbolCrossReference_1_0; } //QualifiedName - public RuleCall getTypeNamedElementQualifiedNameParserRuleCall_1_0_1() { return cTypeNamedElementQualifiedNameParserRuleCall_1_0_1; } + public RuleCall getTypeSymbolQualifiedNameParserRuleCall_1_0_1() { return cTypeSymbolQualifiedNameParserRuleCall_1_0_1; } //multiplicity=Multiplicity? public Assignment getMultiplicityAssignment_2() { return cMultiplicityAssignment_2; } @@ -1962,20 +2189,20 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder { //ID public RuleCall getNameIDTerminalRuleCall_3_0() { return cNameIDTerminalRuleCall_3_0; } - //("opposite" opposite=[NamedElement|QualifiedName])? + //("opposite" opposite=[Symbol|QualifiedName])? public Group getGroup_4() { return cGroup_4; } //"opposite" public Keyword getOppositeKeyword_4_0() { return cOppositeKeyword_4_0; } - //opposite=[NamedElement|QualifiedName] + //opposite=[Symbol|QualifiedName] public Assignment getOppositeAssignment_4_1() { return cOppositeAssignment_4_1; } - //[NamedElement|QualifiedName] - public CrossReference getOppositeNamedElementCrossReference_4_1_0() { return cOppositeNamedElementCrossReference_4_1_0; } + //[Symbol|QualifiedName] + public CrossReference getOppositeSymbolCrossReference_4_1_0() { return cOppositeSymbolCrossReference_4_1_0; } //QualifiedName - public RuleCall getOppositeNamedElementQualifiedNameParserRuleCall_4_1_0_1() { return cOppositeNamedElementQualifiedNameParserRuleCall_4_1_0_1; } + public RuleCall getOppositeSymbolQualifiedNameParserRuleCall_4_1_0_1() { return cOppositeSymbolQualifiedNameParserRuleCall_4_1_0_1; } //";"? public Keyword getSemicolonKeyword_5() { return cSemicolonKeyword_5; } @@ -1983,19 +2210,19 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder { public class MultiplicityElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.Multiplicity"); private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); - private final RuleCall cManyMultiplicityParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); + private final RuleCall cUnboundedMultiplicityParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); private final RuleCall cExactMultiplicityParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); private final RuleCall cBoundedMultiplicityParserRuleCall_2 = (RuleCall)cAlternatives.eContents().get(2); //Multiplicity: - // ManyMultiplicity | ExactMultiplicity | BoundedMultiplicity; + // UnboundedMultiplicity | ExactMultiplicity | BoundedMultiplicity; @Override public ParserRule getRule() { return rule; } - //ManyMultiplicity | ExactMultiplicity | BoundedMultiplicity + //UnboundedMultiplicity | ExactMultiplicity | BoundedMultiplicity public Alternatives getAlternatives() { return cAlternatives; } - //ManyMultiplicity - public RuleCall getManyMultiplicityParserRuleCall_0() { return cManyMultiplicityParserRuleCall_0; } + //UnboundedMultiplicity + public RuleCall getUnboundedMultiplicityParserRuleCall_0() { return cUnboundedMultiplicityParserRuleCall_0; } //ExactMultiplicity public RuleCall getExactMultiplicityParserRuleCall_1() { return cExactMultiplicityParserRuleCall_1; } @@ -2003,22 +2230,22 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder { //BoundedMultiplicity public RuleCall getBoundedMultiplicityParserRuleCall_2() { return cBoundedMultiplicityParserRuleCall_2; } } - public class ManyMultiplicityElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.ManyMultiplicity"); + public class UnboundedMultiplicityElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.UnboundedMultiplicity"); private final Group cGroup = (Group)rule.eContents().get(1); - private final Action cManyMultiplicityAction_0 = (Action)cGroup.eContents().get(0); + private final Action cUnboundedMultiplicityAction_0 = (Action)cGroup.eContents().get(0); private final Keyword cLeftSquareBracketKeyword_1 = (Keyword)cGroup.eContents().get(1); private final Keyword cRightSquareBracketKeyword_2 = (Keyword)cGroup.eContents().get(2); - //ManyMultiplicity: - // {ManyMultiplicity} "[" "]"; + //UnboundedMultiplicity: + // {UnboundedMultiplicity} "[" "]"; @Override public ParserRule getRule() { return rule; } - //{ManyMultiplicity} "[" "]" + //{UnboundedMultiplicity} "[" "]" public Group getGroup() { return cGroup; } - //{ManyMultiplicity} - public Action getManyMultiplicityAction_0() { return cManyMultiplicityAction_0; } + //{UnboundedMultiplicity} + public Action getUnboundedMultiplicityAction_0() { return cUnboundedMultiplicityAction_0; } //"[" public Keyword getLeftSquareBracketKeyword_1() { return cLeftSquareBracketKeyword_1; } @@ -2030,25 +2257,25 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.ExactMultiplicity"); private final Group cGroup = (Group)rule.eContents().get(1); private final Keyword cLeftSquareBracketKeyword_0 = (Keyword)cGroup.eContents().get(0); - private final Assignment cMultiplicityAssignment_1 = (Assignment)cGroup.eContents().get(1); - private final RuleCall cMultiplicityUpperMultiplictyParserRuleCall_1_0 = (RuleCall)cMultiplicityAssignment_1.eContents().get(0); + private final Assignment cValueAssignment_1 = (Assignment)cGroup.eContents().get(1); + private final RuleCall cValueUpperMultiplictyParserRuleCall_1_0 = (RuleCall)cValueAssignment_1.eContents().get(0); private final Keyword cRightSquareBracketKeyword_2 = (Keyword)cGroup.eContents().get(2); //ExactMultiplicity: - // "[" multiplicity=UpperMultiplicty "]"; + // "[" value=UpperMultiplicty "]"; @Override public ParserRule getRule() { return rule; } - //"[" multiplicity=UpperMultiplicty "]" + //"[" value=UpperMultiplicty "]" public Group getGroup() { return cGroup; } //"[" public Keyword getLeftSquareBracketKeyword_0() { return cLeftSquareBracketKeyword_0; } - //multiplicity=UpperMultiplicty - public Assignment getMultiplicityAssignment_1() { return cMultiplicityAssignment_1; } + //value=UpperMultiplicty + public Assignment getValueAssignment_1() { return cValueAssignment_1; } //UpperMultiplicty - public RuleCall getMultiplicityUpperMultiplictyParserRuleCall_1_0() { return cMultiplicityUpperMultiplictyParserRuleCall_1_0; } + public RuleCall getValueUpperMultiplictyParserRuleCall_1_0() { return cValueUpperMultiplictyParserRuleCall_1_0; } //"]" public Keyword getRightSquareBracketKeyword_2() { return cRightSquareBracketKeyword_2; } @@ -2059,16 +2286,16 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder { private final Keyword cLeftSquareBracketKeyword_0 = (Keyword)cGroup.eContents().get(0); private final Assignment cLowerBoundAssignment_1 = (Assignment)cGroup.eContents().get(1); private final RuleCall cLowerBoundINTTerminalRuleCall_1_0 = (RuleCall)cLowerBoundAssignment_1.eContents().get(0); - private final Keyword cFullStopFullStopKeyword_2 = (Keyword)cGroup.eContents().get(2); + private final Keyword cCommaKeyword_2 = (Keyword)cGroup.eContents().get(2); private final Assignment cUpperBoundAssignment_3 = (Assignment)cGroup.eContents().get(3); private final RuleCall cUpperBoundUpperMultiplictyParserRuleCall_3_0 = (RuleCall)cUpperBoundAssignment_3.eContents().get(0); private final Keyword cRightSquareBracketKeyword_4 = (Keyword)cGroup.eContents().get(4); //BoundedMultiplicity: - // "[" lowerBound=INT ".." upperBound=UpperMultiplicty "]"; + // "[" lowerBound=INT "," upperBound=UpperMultiplicty "]"; @Override public ParserRule getRule() { return rule; } - //"[" lowerBound=INT ".." upperBound=UpperMultiplicty "]" + //"[" lowerBound=INT "," upperBound=UpperMultiplicty "]" public Group getGroup() { return cGroup; } //"[" @@ -2080,8 +2307,8 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder { //INT public RuleCall getLowerBoundINTTerminalRuleCall_1_0() { return cLowerBoundINTTerminalRuleCall_1_0; } - //".." - public Keyword getFullStopFullStopKeyword_2() { return cFullStopFullStopKeyword_2; } + //"," + public Keyword getCommaKeyword_2() { return cCommaKeyword_2; } //upperBound=UpperMultiplicty public Assignment getUpperBoundAssignment_3() { return cUpperBoundAssignment_3; } @@ -2092,70 +2319,160 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder { //"]" public Keyword getRightSquareBracketKeyword_4() { return cRightSquareBracketKeyword_4; } } - public class ScopeDefinitionElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.ScopeDefinition"); + public class EnumDeclarationElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.EnumDeclaration"); + private final Group cGroup = (Group)rule.eContents().get(1); + private final Keyword cEnumKeyword_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 Alternatives cAlternatives_2 = (Alternatives)cGroup.eContents().get(2); + private final Group cGroup_2_0 = (Group)cAlternatives_2.eContents().get(0); + private final Keyword cLeftCurlyBracketKeyword_2_0_0 = (Keyword)cGroup_2_0.eContents().get(0); + private final Group cGroup_2_0_1 = (Group)cGroup_2_0.eContents().get(1); + private final Assignment cLiteralsAssignment_2_0_1_0 = (Assignment)cGroup_2_0_1.eContents().get(0); + private final RuleCall cLiteralsEnumLiteralParserRuleCall_2_0_1_0_0 = (RuleCall)cLiteralsAssignment_2_0_1_0.eContents().get(0); + private final Group cGroup_2_0_1_1 = (Group)cGroup_2_0_1.eContents().get(1); + private final Keyword cCommaKeyword_2_0_1_1_0 = (Keyword)cGroup_2_0_1_1.eContents().get(0); + private final Assignment cLiteralsAssignment_2_0_1_1_1 = (Assignment)cGroup_2_0_1_1.eContents().get(1); + private final RuleCall cLiteralsEnumLiteralParserRuleCall_2_0_1_1_1_0 = (RuleCall)cLiteralsAssignment_2_0_1_1_1.eContents().get(0); + private final Keyword cRightCurlyBracketKeyword_2_0_2 = (Keyword)cGroup_2_0.eContents().get(2); + private final RuleCall cFULL_STOPTerminalRuleCall_2_1 = (RuleCall)cAlternatives_2.eContents().get(1); + + //EnumDeclaration: + // "enum" name=ID ("{" (literals+=EnumLiteral (","? literals+=EnumLiteral)*)? "}" | FULL_STOP); + @Override public ParserRule getRule() { return rule; } + + //"enum" name=ID ("{" (literals+=EnumLiteral (","? literals+=EnumLiteral)*)? "}" | FULL_STOP) + public Group getGroup() { return cGroup; } + + //"enum" + public Keyword getEnumKeyword_0() { return cEnumKeyword_0; } + + //name=ID + public Assignment getNameAssignment_1() { return cNameAssignment_1; } + + //ID + public RuleCall getNameIDTerminalRuleCall_1_0() { return cNameIDTerminalRuleCall_1_0; } + + //("{" (literals+=EnumLiteral (","? literals+=EnumLiteral)*)? "}" | FULL_STOP) + public Alternatives getAlternatives_2() { return cAlternatives_2; } + + //"{" (literals+=EnumLiteral (","? literals+=EnumLiteral)*)? "}" + public Group getGroup_2_0() { return cGroup_2_0; } + + //"{" + public Keyword getLeftCurlyBracketKeyword_2_0_0() { return cLeftCurlyBracketKeyword_2_0_0; } + + //(literals+=EnumLiteral (","? literals+=EnumLiteral)*)? + public Group getGroup_2_0_1() { return cGroup_2_0_1; } + + //literals+=EnumLiteral + public Assignment getLiteralsAssignment_2_0_1_0() { return cLiteralsAssignment_2_0_1_0; } + + //EnumLiteral + public RuleCall getLiteralsEnumLiteralParserRuleCall_2_0_1_0_0() { return cLiteralsEnumLiteralParserRuleCall_2_0_1_0_0; } + + //(","? literals+=EnumLiteral)* + public Group getGroup_2_0_1_1() { return cGroup_2_0_1_1; } + + //","? + public Keyword getCommaKeyword_2_0_1_1_0() { return cCommaKeyword_2_0_1_1_0; } + + //literals+=EnumLiteral + public Assignment getLiteralsAssignment_2_0_1_1_1() { return cLiteralsAssignment_2_0_1_1_1; } + + //EnumLiteral + public RuleCall getLiteralsEnumLiteralParserRuleCall_2_0_1_1_1_0() { return cLiteralsEnumLiteralParserRuleCall_2_0_1_1_1_0; } + + //"}" + public Keyword getRightCurlyBracketKeyword_2_0_2() { return cRightCurlyBracketKeyword_2_0_2; } + + //FULL_STOP + public RuleCall getFULL_STOPTerminalRuleCall_2_1() { return cFULL_STOPTerminalRuleCall_2_1; } + } + public class EnumLiteralElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.EnumLiteral"); + private final Assignment cNameAssignment = (Assignment)rule.eContents().get(1); + private final RuleCall cNameIDTerminalRuleCall_0 = (RuleCall)cNameAssignment.eContents().get(0); + + //EnumLiteral: + // name=ID; + @Override public ParserRule getRule() { return rule; } + + //name=ID + public Assignment getNameAssignment() { return cNameAssignment; } + + //ID + public RuleCall getNameIDTerminalRuleCall_0() { return cNameIDTerminalRuleCall_0; } + } + public class ScopeDeclarationElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.ScopeDeclaration"); private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); - private final RuleCall cExactScopeDefinitionParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); - private final RuleCall cBoundedScopeDefinitionParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); - private final RuleCall cLowerBoundedScopeDefinitionParserRuleCall_2 = (RuleCall)cAlternatives.eContents().get(2); + private final RuleCall cExactScopeParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); + private final RuleCall cBoundedScopeParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); + private final RuleCall cLowerBoundedScopeParserRuleCall_2 = (RuleCall)cAlternatives.eContents().get(2); - //ScopeDefinition: - // ExactScopeDefinition | BoundedScopeDefinition | LowerBoundedScopeDefinition; + //ScopeDeclaration: + // ExactScope | BoundedScope | LowerBoundedScope; @Override public ParserRule getRule() { return rule; } - //ExactScopeDefinition | BoundedScopeDefinition | LowerBoundedScopeDefinition + //ExactScope | BoundedScope | LowerBoundedScope public Alternatives getAlternatives() { return cAlternatives; } - //ExactScopeDefinition - public RuleCall getExactScopeDefinitionParserRuleCall_0() { return cExactScopeDefinitionParserRuleCall_0; } + //ExactScope + public RuleCall getExactScopeParserRuleCall_0() { return cExactScopeParserRuleCall_0; } - //BoundedScopeDefinition - public RuleCall getBoundedScopeDefinitionParserRuleCall_1() { return cBoundedScopeDefinitionParserRuleCall_1; } + //BoundedScope + public RuleCall getBoundedScopeParserRuleCall_1() { return cBoundedScopeParserRuleCall_1; } - //LowerBoundedScopeDefinition - public RuleCall getLowerBoundedScopeDefinitionParserRuleCall_2() { return cLowerBoundedScopeDefinitionParserRuleCall_2; } + //LowerBoundedScope + public RuleCall getLowerBoundedScopeParserRuleCall_2() { return cLowerBoundedScopeParserRuleCall_2; } } - public class ExactScopeDefinitionElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.ExactScopeDefinition"); + public class ExactScopeElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.ExactScope"); private final Group cGroup = (Group)rule.eContents().get(1); private final Keyword cScopeKeyword_0 = (Keyword)cGroup.eContents().get(0); private final Assignment cTypeAssignment_1 = (Assignment)cGroup.eContents().get(1); - private final CrossReference cTypeNamedElementCrossReference_1_0 = (CrossReference)cTypeAssignment_1.eContents().get(0); - private final RuleCall cTypeNamedElementQualifiedNameParserRuleCall_1_0_1 = (RuleCall)cTypeNamedElementCrossReference_1_0.eContents().get(1); + private final CrossReference cTypeSymbolCrossReference_1_0 = (CrossReference)cTypeAssignment_1.eContents().get(0); + private final RuleCall cTypeSymbolQualifiedNameParserRuleCall_1_0_1 = (RuleCall)cTypeSymbolCrossReference_1_0.eContents().get(1); private final Keyword cEqualsSignEqualsSignKeyword_2 = (Keyword)cGroup.eContents().get(2); - private final Assignment cExactScopeAssignment_3 = (Assignment)cGroup.eContents().get(3); - private final RuleCall cExactScopeINTTerminalRuleCall_3_0 = (RuleCall)cExactScopeAssignment_3.eContents().get(0); + private final Assignment cSizeAssignment_3 = (Assignment)cGroup.eContents().get(3); + private final RuleCall cSizeINTTerminalRuleCall_3_0 = (RuleCall)cSizeAssignment_3.eContents().get(0); + private final RuleCall cFULL_STOPTerminalRuleCall_4 = (RuleCall)cGroup.eContents().get(4); - //ExactScopeDefinition: - // "scope" type=[NamedElement|QualifiedName] "==" exactScope=INT; + //ExactScope: + // "scope" type=[Symbol|QualifiedName] "==" size=INT FULL_STOP; @Override public ParserRule getRule() { return rule; } - //"scope" type=[NamedElement|QualifiedName] "==" exactScope=INT + //"scope" type=[Symbol|QualifiedName] "==" size=INT FULL_STOP public Group getGroup() { return cGroup; } //"scope" public Keyword getScopeKeyword_0() { return cScopeKeyword_0; } - //type=[NamedElement|QualifiedName] + //type=[Symbol|QualifiedName] public Assignment getTypeAssignment_1() { return cTypeAssignment_1; } - //[NamedElement|QualifiedName] - public CrossReference getTypeNamedElementCrossReference_1_0() { return cTypeNamedElementCrossReference_1_0; } + //[Symbol|QualifiedName] + public CrossReference getTypeSymbolCrossReference_1_0() { return cTypeSymbolCrossReference_1_0; } //QualifiedName - public RuleCall getTypeNamedElementQualifiedNameParserRuleCall_1_0_1() { return cTypeNamedElementQualifiedNameParserRuleCall_1_0_1; } + public RuleCall getTypeSymbolQualifiedNameParserRuleCall_1_0_1() { return cTypeSymbolQualifiedNameParserRuleCall_1_0_1; } //"==" public Keyword getEqualsSignEqualsSignKeyword_2() { return cEqualsSignEqualsSignKeyword_2; } - //exactScope=INT - public Assignment getExactScopeAssignment_3() { return cExactScopeAssignment_3; } + //size=INT + public Assignment getSizeAssignment_3() { return cSizeAssignment_3; } //INT - public RuleCall getExactScopeINTTerminalRuleCall_3_0() { return cExactScopeINTTerminalRuleCall_3_0; } + public RuleCall getSizeINTTerminalRuleCall_3_0() { return cSizeINTTerminalRuleCall_3_0; } + + //FULL_STOP + public RuleCall getFULL_STOPTerminalRuleCall_4() { return cFULL_STOPTerminalRuleCall_4; } } - public class BoundedScopeDefinitionElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.BoundedScopeDefinition"); + public class BoundedScopeElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.BoundedScope"); private final Group cGroup = (Group)rule.eContents().get(1); private final Keyword cScopeKeyword_0 = (Keyword)cGroup.eContents().get(0); private final Alternatives cAlternatives_1 = (Alternatives)cGroup.eContents().get(1); @@ -2165,8 +2482,8 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder { private final RuleCall cLowerBoundINTTerminalRuleCall_1_0_0_0_0 = (RuleCall)cLowerBoundAssignment_1_0_0_0.eContents().get(0); private final Keyword cLessThanSignEqualsSignKeyword_1_0_0_1 = (Keyword)cGroup_1_0_0.eContents().get(1); private final Assignment cTypeAssignment_1_0_1 = (Assignment)cGroup_1_0.eContents().get(1); - private final CrossReference cTypeNamedElementCrossReference_1_0_1_0 = (CrossReference)cTypeAssignment_1_0_1.eContents().get(0); - private final RuleCall cTypeNamedElementQualifiedNameParserRuleCall_1_0_1_0_1 = (RuleCall)cTypeNamedElementCrossReference_1_0_1_0.eContents().get(1); + private final CrossReference cTypeSymbolCrossReference_1_0_1_0 = (CrossReference)cTypeAssignment_1_0_1.eContents().get(0); + private final RuleCall cTypeSymbolQualifiedNameParserRuleCall_1_0_1_0_1 = (RuleCall)cTypeSymbolCrossReference_1_0_1_0.eContents().get(1); private final Keyword cLessThanSignEqualsSignKeyword_1_0_2 = (Keyword)cGroup_1_0.eContents().get(2); private final Assignment cUpperBoundAssignment_1_0_3 = (Assignment)cGroup_1_0.eContents().get(3); private final RuleCall cUpperBoundINTTerminalRuleCall_1_0_3_0 = (RuleCall)cUpperBoundAssignment_1_0_3.eContents().get(0); @@ -2175,30 +2492,31 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder { private final RuleCall cUpperBoundINTTerminalRuleCall_1_1_0_0 = (RuleCall)cUpperBoundAssignment_1_1_0.eContents().get(0); private final Keyword cGreaterThanSignEqualsSignKeyword_1_1_1 = (Keyword)cGroup_1_1.eContents().get(1); private final Assignment cTypeAssignment_1_1_2 = (Assignment)cGroup_1_1.eContents().get(2); - private final CrossReference cTypeNamedElementCrossReference_1_1_2_0 = (CrossReference)cTypeAssignment_1_1_2.eContents().get(0); - private final RuleCall cTypeNamedElementQualifiedNameParserRuleCall_1_1_2_0_1 = (RuleCall)cTypeNamedElementCrossReference_1_1_2_0.eContents().get(1); + private final CrossReference cTypeSymbolCrossReference_1_1_2_0 = (CrossReference)cTypeAssignment_1_1_2.eContents().get(0); + private final RuleCall cTypeSymbolQualifiedNameParserRuleCall_1_1_2_0_1 = (RuleCall)cTypeSymbolCrossReference_1_1_2_0.eContents().get(1); private final Group cGroup_1_1_3 = (Group)cGroup_1_1.eContents().get(3); private final Keyword cGreaterThanSignEqualsSignKeyword_1_1_3_0 = (Keyword)cGroup_1_1_3.eContents().get(0); private final Assignment cLowerBoundAssignment_1_1_3_1 = (Assignment)cGroup_1_1_3.eContents().get(1); private final RuleCall cLowerBoundINTTerminalRuleCall_1_1_3_1_0 = (RuleCall)cLowerBoundAssignment_1_1_3_1.eContents().get(0); + private final RuleCall cFULL_STOPTerminalRuleCall_2 = (RuleCall)cGroup.eContents().get(2); - //BoundedScopeDefinition: - // "scope" ((lowerBound=INT "<=")? type=[NamedElement|QualifiedName] "<=" upperBound=INT | upperBound=INT ">=" - // type=[NamedElement|QualifiedName] (">=" lowerBound=INT)?); + //BoundedScope: + // "scope" ((lowerBound=INT "<=")? type=[Symbol|QualifiedName] "<=" upperBound=INT | upperBound=INT ">=" + // type=[Symbol|QualifiedName] (">=" lowerBound=INT)?) FULL_STOP; @Override public ParserRule getRule() { return rule; } - //"scope" ((lowerBound=INT "<=")? type=[NamedElement|QualifiedName] "<=" upperBound=INT | upperBound=INT ">=" - //type=[NamedElement|QualifiedName] (">=" lowerBound=INT)?) + //"scope" ((lowerBound=INT "<=")? type=[Symbol|QualifiedName] "<=" upperBound=INT | upperBound=INT ">=" + //type=[Symbol|QualifiedName] (">=" lowerBound=INT)?) FULL_STOP public Group getGroup() { return cGroup; } //"scope" public Keyword getScopeKeyword_0() { return cScopeKeyword_0; } - //((lowerBound=INT "<=")? type=[NamedElement|QualifiedName] "<=" upperBound=INT | upperBound=INT ">=" - //type=[NamedElement|QualifiedName] (">=" lowerBound=INT)?) + //((lowerBound=INT "<=")? type=[Symbol|QualifiedName] "<=" upperBound=INT | upperBound=INT ">=" + //type=[Symbol|QualifiedName] (">=" lowerBound=INT)?) public Alternatives getAlternatives_1() { return cAlternatives_1; } - //(lowerBound=INT "<=")? type=[NamedElement|QualifiedName] "<=" upperBound=INT + //(lowerBound=INT "<=")? type=[Symbol|QualifiedName] "<=" upperBound=INT public Group getGroup_1_0() { return cGroup_1_0; } //(lowerBound=INT "<=")? @@ -2213,14 +2531,14 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder { //"<=" public Keyword getLessThanSignEqualsSignKeyword_1_0_0_1() { return cLessThanSignEqualsSignKeyword_1_0_0_1; } - //type=[NamedElement|QualifiedName] + //type=[Symbol|QualifiedName] public Assignment getTypeAssignment_1_0_1() { return cTypeAssignment_1_0_1; } - //[NamedElement|QualifiedName] - public CrossReference getTypeNamedElementCrossReference_1_0_1_0() { return cTypeNamedElementCrossReference_1_0_1_0; } + //[Symbol|QualifiedName] + public CrossReference getTypeSymbolCrossReference_1_0_1_0() { return cTypeSymbolCrossReference_1_0_1_0; } //QualifiedName - public RuleCall getTypeNamedElementQualifiedNameParserRuleCall_1_0_1_0_1() { return cTypeNamedElementQualifiedNameParserRuleCall_1_0_1_0_1; } + public RuleCall getTypeSymbolQualifiedNameParserRuleCall_1_0_1_0_1() { return cTypeSymbolQualifiedNameParserRuleCall_1_0_1_0_1; } //"<=" public Keyword getLessThanSignEqualsSignKeyword_1_0_2() { return cLessThanSignEqualsSignKeyword_1_0_2; } @@ -2231,7 +2549,7 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder { //INT public RuleCall getUpperBoundINTTerminalRuleCall_1_0_3_0() { return cUpperBoundINTTerminalRuleCall_1_0_3_0; } - //upperBound=INT ">=" type=[NamedElement|QualifiedName] (">=" lowerBound=INT)? + //upperBound=INT ">=" type=[Symbol|QualifiedName] (">=" lowerBound=INT)? public Group getGroup_1_1() { return cGroup_1_1; } //upperBound=INT @@ -2243,14 +2561,14 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder { //">=" public Keyword getGreaterThanSignEqualsSignKeyword_1_1_1() { return cGreaterThanSignEqualsSignKeyword_1_1_1; } - //type=[NamedElement|QualifiedName] + //type=[Symbol|QualifiedName] public Assignment getTypeAssignment_1_1_2() { return cTypeAssignment_1_1_2; } - //[NamedElement|QualifiedName] - public CrossReference getTypeNamedElementCrossReference_1_1_2_0() { return cTypeNamedElementCrossReference_1_1_2_0; } + //[Symbol|QualifiedName] + public CrossReference getTypeSymbolCrossReference_1_1_2_0() { return cTypeSymbolCrossReference_1_1_2_0; } //QualifiedName - public RuleCall getTypeNamedElementQualifiedNameParserRuleCall_1_1_2_0_1() { return cTypeNamedElementQualifiedNameParserRuleCall_1_1_2_0_1; } + public RuleCall getTypeSymbolQualifiedNameParserRuleCall_1_1_2_0_1() { return cTypeSymbolQualifiedNameParserRuleCall_1_1_2_0_1; } //(">=" lowerBound=INT)? public Group getGroup_1_1_3() { return cGroup_1_1_3; } @@ -2263,9 +2581,12 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder { //INT public RuleCall getLowerBoundINTTerminalRuleCall_1_1_3_1_0() { return cLowerBoundINTTerminalRuleCall_1_1_3_1_0; } + + //FULL_STOP + public RuleCall getFULL_STOPTerminalRuleCall_2() { return cFULL_STOPTerminalRuleCall_2; } } - public class LowerBoundedScopeDefinitionElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.LowerBoundedScopeDefinition"); + public class LowerBoundedScopeElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.LowerBoundedScope"); private final Group cGroup = (Group)rule.eContents().get(1); private final Keyword cScopeKeyword_0 = (Keyword)cGroup.eContents().get(0); private final Alternatives cAlternatives_1 = (Alternatives)cGroup.eContents().get(1); @@ -2274,31 +2595,32 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder { private final RuleCall cLowerBoundINTTerminalRuleCall_1_0_0_0 = (RuleCall)cLowerBoundAssignment_1_0_0.eContents().get(0); private final Keyword cLessThanSignEqualsSignKeyword_1_0_1 = (Keyword)cGroup_1_0.eContents().get(1); private final Assignment cTypeAssignment_1_0_2 = (Assignment)cGroup_1_0.eContents().get(2); - private final CrossReference cTypeNamedElementCrossReference_1_0_2_0 = (CrossReference)cTypeAssignment_1_0_2.eContents().get(0); - private final RuleCall cTypeNamedElementQualifiedNameParserRuleCall_1_0_2_0_1 = (RuleCall)cTypeNamedElementCrossReference_1_0_2_0.eContents().get(1); + private final CrossReference cTypeSymbolCrossReference_1_0_2_0 = (CrossReference)cTypeAssignment_1_0_2.eContents().get(0); + private final RuleCall cTypeSymbolQualifiedNameParserRuleCall_1_0_2_0_1 = (RuleCall)cTypeSymbolCrossReference_1_0_2_0.eContents().get(1); private final Group cGroup_1_1 = (Group)cAlternatives_1.eContents().get(1); private final Assignment cTypeAssignment_1_1_0 = (Assignment)cGroup_1_1.eContents().get(0); - private final CrossReference cTypeNamedElementCrossReference_1_1_0_0 = (CrossReference)cTypeAssignment_1_1_0.eContents().get(0); - private final RuleCall cTypeNamedElementQualifiedNameParserRuleCall_1_1_0_0_1 = (RuleCall)cTypeNamedElementCrossReference_1_1_0_0.eContents().get(1); + private final CrossReference cTypeSymbolCrossReference_1_1_0_0 = (CrossReference)cTypeAssignment_1_1_0.eContents().get(0); + private final RuleCall cTypeSymbolQualifiedNameParserRuleCall_1_1_0_0_1 = (RuleCall)cTypeSymbolCrossReference_1_1_0_0.eContents().get(1); private final Keyword cGreaterThanSignEqualsSignKeyword_1_1_1 = (Keyword)cGroup_1_1.eContents().get(1); private final Assignment cLowerBoundAssignment_1_1_2 = (Assignment)cGroup_1_1.eContents().get(2); private final RuleCall cLowerBoundINTTerminalRuleCall_1_1_2_0 = (RuleCall)cLowerBoundAssignment_1_1_2.eContents().get(0); + private final RuleCall cFULL_STOPTerminalRuleCall_2 = (RuleCall)cGroup.eContents().get(2); - //LowerBoundedScopeDefinition: - // "scope" (lowerBound=INT "<=" type=[NamedElement|QualifiedName] | type=[NamedElement|QualifiedName] ">=" - // lowerBound=INT); + //LowerBoundedScope: + // "scope" (lowerBound=INT "<=" type=[Symbol|QualifiedName] | type=[Symbol|QualifiedName] ">=" lowerBound=INT) + // FULL_STOP; @Override public ParserRule getRule() { return rule; } - //"scope" (lowerBound=INT "<=" type=[NamedElement|QualifiedName] | type=[NamedElement|QualifiedName] ">=" lowerBound=INT) + //"scope" (lowerBound=INT "<=" type=[Symbol|QualifiedName] | type=[Symbol|QualifiedName] ">=" lowerBound=INT) FULL_STOP public Group getGroup() { return cGroup; } //"scope" public Keyword getScopeKeyword_0() { return cScopeKeyword_0; } - //(lowerBound=INT "<=" type=[NamedElement|QualifiedName] | type=[NamedElement|QualifiedName] ">=" lowerBound=INT) + //(lowerBound=INT "<=" type=[Symbol|QualifiedName] | type=[Symbol|QualifiedName] ">=" lowerBound=INT) public Alternatives getAlternatives_1() { return cAlternatives_1; } - //lowerBound=INT "<=" type=[NamedElement|QualifiedName] + //lowerBound=INT "<=" type=[Symbol|QualifiedName] public Group getGroup_1_0() { return cGroup_1_0; } //lowerBound=INT @@ -2310,26 +2632,26 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder { //"<=" public Keyword getLessThanSignEqualsSignKeyword_1_0_1() { return cLessThanSignEqualsSignKeyword_1_0_1; } - //type=[NamedElement|QualifiedName] + //type=[Symbol|QualifiedName] public Assignment getTypeAssignment_1_0_2() { return cTypeAssignment_1_0_2; } - //[NamedElement|QualifiedName] - public CrossReference getTypeNamedElementCrossReference_1_0_2_0() { return cTypeNamedElementCrossReference_1_0_2_0; } + //[Symbol|QualifiedName] + public CrossReference getTypeSymbolCrossReference_1_0_2_0() { return cTypeSymbolCrossReference_1_0_2_0; } //QualifiedName - public RuleCall getTypeNamedElementQualifiedNameParserRuleCall_1_0_2_0_1() { return cTypeNamedElementQualifiedNameParserRuleCall_1_0_2_0_1; } + public RuleCall getTypeSymbolQualifiedNameParserRuleCall_1_0_2_0_1() { return cTypeSymbolQualifiedNameParserRuleCall_1_0_2_0_1; } - //type=[NamedElement|QualifiedName] ">=" lowerBound=INT + //type=[Symbol|QualifiedName] ">=" lowerBound=INT public Group getGroup_1_1() { return cGroup_1_1; } - //type=[NamedElement|QualifiedName] + //type=[Symbol|QualifiedName] public Assignment getTypeAssignment_1_1_0() { return cTypeAssignment_1_1_0; } - //[NamedElement|QualifiedName] - public CrossReference getTypeNamedElementCrossReference_1_1_0_0() { return cTypeNamedElementCrossReference_1_1_0_0; } + //[Symbol|QualifiedName] + public CrossReference getTypeSymbolCrossReference_1_1_0_0() { return cTypeSymbolCrossReference_1_1_0_0; } //QualifiedName - public RuleCall getTypeNamedElementQualifiedNameParserRuleCall_1_1_0_0_1() { return cTypeNamedElementQualifiedNameParserRuleCall_1_1_0_0_1; } + public RuleCall getTypeSymbolQualifiedNameParserRuleCall_1_1_0_0_1() { return cTypeSymbolQualifiedNameParserRuleCall_1_1_0_0_1; } //">=" public Keyword getGreaterThanSignEqualsSignKeyword_1_1_1() { return cGreaterThanSignEqualsSignKeyword_1_1_1; } @@ -2339,20 +2661,24 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder { //INT public RuleCall getLowerBoundINTTerminalRuleCall_1_1_2_0() { return cLowerBoundINTTerminalRuleCall_1_1_2_0; } + + //FULL_STOP + public RuleCall getFULL_STOPTerminalRuleCall_2() { return cFULL_STOPTerminalRuleCall_2; } } - public class ObjectiveDefinitionElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.ObjectiveDefinition"); + public class ObjectiveDeclarationElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.ObjectiveDeclaration"); private final Group cGroup = (Group)rule.eContents().get(1); private final Assignment cKindAssignment_0 = (Assignment)cGroup.eContents().get(0); private final RuleCall cKindObjectiveKindEnumRuleCall_0_0 = (RuleCall)cKindAssignment_0.eContents().get(0); private final Assignment cObjectiveAssignment_1 = (Assignment)cGroup.eContents().get(1); private final RuleCall cObjectiveExpressionParserRuleCall_1_0 = (RuleCall)cObjectiveAssignment_1.eContents().get(0); + private final RuleCall cFULL_STOPTerminalRuleCall_2 = (RuleCall)cGroup.eContents().get(2); - //ObjectiveDefinition: - // kind=ObjectiveKind objective=Expression; + //ObjectiveDeclaration: + // kind=ObjectiveKind objective=Expression FULL_STOP; @Override public ParserRule getRule() { return rule; } - //kind=ObjectiveKind objective=Expression + //kind=ObjectiveKind objective=Expression FULL_STOP public Group getGroup() { return cGroup; } //kind=ObjectiveKind @@ -2366,6 +2692,9 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder { //Expression public RuleCall getObjectiveExpressionParserRuleCall_1_0() { return cObjectiveExpressionParserRuleCall_1_0; } + + //FULL_STOP + public RuleCall getFULL_STOPTerminalRuleCall_2() { return cFULL_STOPTerminalRuleCall_2; } } public class UpperMultiplictyElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.UpperMultiplicty"); @@ -2390,116 +2719,155 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.Real"); private final Group cGroup = (Group)rule.eContents().get(1); private final RuleCall cINTTerminalRuleCall_0 = (RuleCall)cGroup.eContents().get(0); - private final Group cGroup_1 = (Group)cGroup.eContents().get(1); - private final Keyword cFullStopKeyword_1_0 = (Keyword)cGroup_1.eContents().get(0); - private final RuleCall cINTTerminalRuleCall_1_1 = (RuleCall)cGroup_1.eContents().get(1); + private final Keyword cFullStopKeyword_1 = (Keyword)cGroup.eContents().get(1); + private final RuleCall cINTTerminalRuleCall_2 = (RuleCall)cGroup.eContents().get(2); //Real ecore::EBigDecimal hidden(): - // INT ("." INT)?; + // INT "." INT; @Override public ParserRule getRule() { return rule; } - //INT ("." INT)? + //INT "." INT public Group getGroup() { return cGroup; } //INT public RuleCall getINTTerminalRuleCall_0() { return cINTTerminalRuleCall_0; } - //("." INT)? - public Group getGroup_1() { return cGroup_1; } - //"." - public Keyword getFullStopKeyword_1_0() { return cFullStopKeyword_1_0; } + public Keyword getFullStopKeyword_1() { return cFullStopKeyword_1; } //INT - public RuleCall getINTTerminalRuleCall_1_1() { return cINTTerminalRuleCall_1_1; } + public RuleCall getINTTerminalRuleCall_2() { return cINTTerminalRuleCall_2; } } - public class QualifiedNameElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.QualifiedName"); + public class QualifiedNameSegmentElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.QualifiedNameSegment"); private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); - private final Group cGroup_0 = (Group)cAlternatives.eContents().get(0); - private final RuleCall cIDTerminalRuleCall_0_0 = (RuleCall)cGroup_0.eContents().get(0); - private final Group cGroup_0_1 = (Group)cGroup_0.eContents().get(1); - private final Keyword cFullStopKeyword_0_1_0 = (Keyword)cGroup_0_1.eContents().get(0); - private final RuleCall cIDTerminalRuleCall_0_1_1 = (RuleCall)cGroup_0_1.eContents().get(1); + private final RuleCall cIDTerminalRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); private final RuleCall cQUOTED_IDTerminalRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); + private final Keyword cObjectKeyword_2 = (Keyword)cAlternatives.eContents().get(2); - //QualifiedName hidden(): - // ID ("." ID)* | QUOTED_ID; + //QualifiedNameSegment: + // ID | QUOTED_ID | "object"; @Override public ParserRule getRule() { return rule; } - //ID ("." ID)* | QUOTED_ID + //ID | QUOTED_ID | "object" public Alternatives getAlternatives() { return cAlternatives; } - //ID ("." ID)* - public Group getGroup_0() { return cGroup_0; } - //ID - public RuleCall getIDTerminalRuleCall_0_0() { return cIDTerminalRuleCall_0_0; } + public RuleCall getIDTerminalRuleCall_0() { return cIDTerminalRuleCall_0; } - //("." ID)* - public Group getGroup_0_1() { return cGroup_0_1; } + //QUOTED_ID + public RuleCall getQUOTED_IDTerminalRuleCall_1() { return cQUOTED_IDTerminalRuleCall_1; } - //"." - public Keyword getFullStopKeyword_0_1_0() { return cFullStopKeyword_0_1_0; } + //"object" + public Keyword getObjectKeyword_2() { return cObjectKeyword_2; } + } + public class QualifiedNameElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.QualifiedName"); + private final Group cGroup = (Group)rule.eContents().get(1); + private final RuleCall cQualifiedNameSegmentParserRuleCall_0 = (RuleCall)cGroup.eContents().get(0); + private final Group cGroup_1 = (Group)cGroup.eContents().get(1); + private final Keyword cColonColonKeyword_1_0 = (Keyword)cGroup_1.eContents().get(0); + private final RuleCall cQualifiedNameSegmentParserRuleCall_1_1 = (RuleCall)cGroup_1.eContents().get(1); - //ID - public RuleCall getIDTerminalRuleCall_0_1_1() { return cIDTerminalRuleCall_0_1_1; } + //QualifiedName hidden(): + // QualifiedNameSegment ("::" QualifiedNameSegment)*; + @Override public ParserRule getRule() { return rule; } - //QUOTED_ID - public RuleCall getQUOTED_IDTerminalRuleCall_1() { return cQUOTED_IDTerminalRuleCall_1; } + //QualifiedNameSegment ("::" QualifiedNameSegment)* + public Group getGroup() { return cGroup; } + + //QualifiedNameSegment + public RuleCall getQualifiedNameSegmentParserRuleCall_0() { return cQualifiedNameSegmentParserRuleCall_0; } + + //("::" QualifiedNameSegment)* + public Group getGroup_1() { return cGroup_1; } + + //"::" + public Keyword getColonColonKeyword_1_0() { return cColonColonKeyword_1_0; } + + //QualifiedNameSegment + public RuleCall getQualifiedNameSegmentParserRuleCall_1_1() { return cQualifiedNameSegmentParserRuleCall_1_1; } } - public class ImplicationOperatorElements extends AbstractEnumRuleElementFinder { - private final EnumRule rule = (EnumRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.ImplicationOperator"); - private final EnumLiteralDeclaration cIMPLIESEnumLiteralDeclaration = (EnumLiteralDeclaration)rule.eContents().get(1); - private final Keyword cIMPLIESEqualsSignGreaterThanSignKeyword_0 = (Keyword)cIMPLIESEnumLiteralDeclaration.eContents().get(0); - - //enum ImplicationOperator returns BinaryOperator: - // IMPLIES="=>"; + public class AttributeKindElements extends AbstractEnumRuleElementFinder { + private final EnumRule rule = (EnumRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.AttributeKind"); + private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); + private final EnumLiteralDeclaration cFUNCTIONALEnumLiteralDeclaration_0 = (EnumLiteralDeclaration)cAlternatives.eContents().get(0); + private final Keyword cFUNCTIONALFunctionalKeyword_0_0 = (Keyword)cFUNCTIONALEnumLiteralDeclaration_0.eContents().get(0); + private final EnumLiteralDeclaration cERROREnumLiteralDeclaration_1 = (EnumLiteralDeclaration)cAlternatives.eContents().get(1); + private final Keyword cERRORErrorKeyword_1_0 = (Keyword)cERROREnumLiteralDeclaration_1.eContents().get(0); + private final EnumLiteralDeclaration cROOTEnumLiteralDeclaration_2 = (EnumLiteralDeclaration)cAlternatives.eContents().get(2); + private final Keyword cROOTRootKeyword_2_0 = (Keyword)cROOTEnumLiteralDeclaration_2.eContents().get(0); + private final EnumLiteralDeclaration cCONTAINMENTEnumLiteralDeclaration_3 = (EnumLiteralDeclaration)cAlternatives.eContents().get(3); + private final Keyword cCONTAINMENTContainmentKeyword_3_0 = (Keyword)cCONTAINMENTEnumLiteralDeclaration_3.eContents().get(0); + + //enum AttributeKind: + // FUNCTIONAL="functional" | ERROR="error" | ROOT="root" | CONTAINMENT="containment"; public EnumRule getRule() { return rule; } - //IMPLIES="=>" - public EnumLiteralDeclaration getIMPLIESEnumLiteralDeclaration() { return cIMPLIESEnumLiteralDeclaration; } + //FUNCTIONAL="functional" | ERROR="error" | ROOT="root" | CONTAINMENT="containment" + public Alternatives getAlternatives() { return cAlternatives; } + + //FUNCTIONAL="functional" + public EnumLiteralDeclaration getFUNCTIONALEnumLiteralDeclaration_0() { return cFUNCTIONALEnumLiteralDeclaration_0; } - //"=>" - public Keyword getIMPLIESEqualsSignGreaterThanSignKeyword_0() { return cIMPLIESEqualsSignGreaterThanSignKeyword_0; } + //"functional" + public Keyword getFUNCTIONALFunctionalKeyword_0_0() { return cFUNCTIONALFunctionalKeyword_0_0; } + + //ERROR="error" + public EnumLiteralDeclaration getERROREnumLiteralDeclaration_1() { return cERROREnumLiteralDeclaration_1; } + + //"error" + public Keyword getERRORErrorKeyword_1_0() { return cERRORErrorKeyword_1_0; } + + //ROOT="root" + public EnumLiteralDeclaration getROOTEnumLiteralDeclaration_2() { return cROOTEnumLiteralDeclaration_2; } + + //"root" + public Keyword getROOTRootKeyword_2_0() { return cROOTRootKeyword_2_0; } + + //CONTAINMENT="containment" + public EnumLiteralDeclaration getCONTAINMENTEnumLiteralDeclaration_3() { return cCONTAINMENTEnumLiteralDeclaration_3; } + + //"containment" + public Keyword getCONTAINMENTContainmentKeyword_3_0() { return cCONTAINMENTContainmentKeyword_3_0; } } public class ComparisonOperatorElements extends AbstractEnumRuleElementFinder { private final EnumRule rule = (EnumRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.ComparisonOperator"); private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); - private final EnumLiteralDeclaration cEQEnumLiteralDeclaration_0 = (EnumLiteralDeclaration)cAlternatives.eContents().get(0); - private final Keyword cEQEqualsSignEqualsSignKeyword_0_0 = (Keyword)cEQEnumLiteralDeclaration_0.eContents().get(0); - private final EnumLiteralDeclaration cNOT_EQEnumLiteralDeclaration_1 = (EnumLiteralDeclaration)cAlternatives.eContents().get(1); - private final Keyword cNOT_EQExclamationMarkEqualsSignKeyword_1_0 = (Keyword)cNOT_EQEnumLiteralDeclaration_1.eContents().get(0); + private final EnumLiteralDeclaration cEQUALSEnumLiteralDeclaration_0 = (EnumLiteralDeclaration)cAlternatives.eContents().get(0); + private final Keyword cEQUALSEqualsSignEqualsSignKeyword_0_0 = (Keyword)cEQUALSEnumLiteralDeclaration_0.eContents().get(0); + private final EnumLiteralDeclaration cNOT_EQUALSEnumLiteralDeclaration_1 = (EnumLiteralDeclaration)cAlternatives.eContents().get(1); + private final Keyword cNOT_EQUALSExclamationMarkEqualsSignKeyword_1_0 = (Keyword)cNOT_EQUALSEnumLiteralDeclaration_1.eContents().get(0); private final EnumLiteralDeclaration cLESSEnumLiteralDeclaration_2 = (EnumLiteralDeclaration)cAlternatives.eContents().get(2); private final Keyword cLESSLessThanSignKeyword_2_0 = (Keyword)cLESSEnumLiteralDeclaration_2.eContents().get(0); - private final EnumLiteralDeclaration cLESS_EQEnumLiteralDeclaration_3 = (EnumLiteralDeclaration)cAlternatives.eContents().get(3); - private final Keyword cLESS_EQLessThanSignEqualsSignKeyword_3_0 = (Keyword)cLESS_EQEnumLiteralDeclaration_3.eContents().get(0); + private final EnumLiteralDeclaration cLESS_EQUALSEnumLiteralDeclaration_3 = (EnumLiteralDeclaration)cAlternatives.eContents().get(3); + private final Keyword cLESS_EQUALSLessThanSignEqualsSignKeyword_3_0 = (Keyword)cLESS_EQUALSEnumLiteralDeclaration_3.eContents().get(0); private final EnumLiteralDeclaration cGREATEREnumLiteralDeclaration_4 = (EnumLiteralDeclaration)cAlternatives.eContents().get(4); private final Keyword cGREATERGreaterThanSignKeyword_4_0 = (Keyword)cGREATEREnumLiteralDeclaration_4.eContents().get(0); - private final EnumLiteralDeclaration cGREATER_EQEnumLiteralDeclaration_5 = (EnumLiteralDeclaration)cAlternatives.eContents().get(5); - private final Keyword cGREATER_EQGreaterThanSignEqualsSignKeyword_5_0 = (Keyword)cGREATER_EQEnumLiteralDeclaration_5.eContents().get(0); + private final EnumLiteralDeclaration cGREATER_EQUALSEnumLiteralDeclaration_5 = (EnumLiteralDeclaration)cAlternatives.eContents().get(5); + private final Keyword cGREATER_EQUALSGreaterThanSignEqualsSignKeyword_5_0 = (Keyword)cGREATER_EQUALSEnumLiteralDeclaration_5.eContents().get(0); private final EnumLiteralDeclaration cINEnumLiteralDeclaration_6 = (EnumLiteralDeclaration)cAlternatives.eContents().get(6); private final Keyword cINInKeyword_6_0 = (Keyword)cINEnumLiteralDeclaration_6.eContents().get(0); //enum ComparisonOperator returns BinaryOperator: - // EQ="==" | NOT_EQ="!=" | LESS="<" | LESS_EQ="<=" | GREATER=">" | GREATER_EQ=">=" | IN="in"; + // EQUALS="==" | NOT_EQUALS="!=" | LESS="<" | LESS_EQUALS="<=" | GREATER=">" | GREATER_EQUALS=">=" | IN="in"; public EnumRule getRule() { return rule; } - //EQ="==" | NOT_EQ="!=" | LESS="<" | LESS_EQ="<=" | GREATER=">" | GREATER_EQ=">=" | IN="in" + //EQUALS="==" | NOT_EQUALS="!=" | LESS="<" | LESS_EQUALS="<=" | GREATER=">" | GREATER_EQUALS=">=" | IN="in" public Alternatives getAlternatives() { return cAlternatives; } - //EQ="==" - public EnumLiteralDeclaration getEQEnumLiteralDeclaration_0() { return cEQEnumLiteralDeclaration_0; } + //EQUALS="==" + public EnumLiteralDeclaration getEQUALSEnumLiteralDeclaration_0() { return cEQUALSEnumLiteralDeclaration_0; } //"==" - public Keyword getEQEqualsSignEqualsSignKeyword_0_0() { return cEQEqualsSignEqualsSignKeyword_0_0; } + public Keyword getEQUALSEqualsSignEqualsSignKeyword_0_0() { return cEQUALSEqualsSignEqualsSignKeyword_0_0; } - //NOT_EQ="!=" - public EnumLiteralDeclaration getNOT_EQEnumLiteralDeclaration_1() { return cNOT_EQEnumLiteralDeclaration_1; } + //NOT_EQUALS="!=" + public EnumLiteralDeclaration getNOT_EQUALSEnumLiteralDeclaration_1() { return cNOT_EQUALSEnumLiteralDeclaration_1; } //"!=" - public Keyword getNOT_EQExclamationMarkEqualsSignKeyword_1_0() { return cNOT_EQExclamationMarkEqualsSignKeyword_1_0; } + public Keyword getNOT_EQUALSExclamationMarkEqualsSignKeyword_1_0() { return cNOT_EQUALSExclamationMarkEqualsSignKeyword_1_0; } //LESS="<" public EnumLiteralDeclaration getLESSEnumLiteralDeclaration_2() { return cLESSEnumLiteralDeclaration_2; } @@ -2507,11 +2875,11 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder { //"<" public Keyword getLESSLessThanSignKeyword_2_0() { return cLESSLessThanSignKeyword_2_0; } - //LESS_EQ="<=" - public EnumLiteralDeclaration getLESS_EQEnumLiteralDeclaration_3() { return cLESS_EQEnumLiteralDeclaration_3; } + //LESS_EQUALS="<=" + public EnumLiteralDeclaration getLESS_EQUALSEnumLiteralDeclaration_3() { return cLESS_EQUALSEnumLiteralDeclaration_3; } //"<=" - public Keyword getLESS_EQLessThanSignEqualsSignKeyword_3_0() { return cLESS_EQLessThanSignEqualsSignKeyword_3_0; } + public Keyword getLESS_EQUALSLessThanSignEqualsSignKeyword_3_0() { return cLESS_EQUALSLessThanSignEqualsSignKeyword_3_0; } //GREATER=">" public EnumLiteralDeclaration getGREATEREnumLiteralDeclaration_4() { return cGREATEREnumLiteralDeclaration_4; } @@ -2519,11 +2887,11 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder { //">" public Keyword getGREATERGreaterThanSignKeyword_4_0() { return cGREATERGreaterThanSignKeyword_4_0; } - //GREATER_EQ=">=" - public EnumLiteralDeclaration getGREATER_EQEnumLiteralDeclaration_5() { return cGREATER_EQEnumLiteralDeclaration_5; } + //GREATER_EQUALS=">=" + public EnumLiteralDeclaration getGREATER_EQUALSEnumLiteralDeclaration_5() { return cGREATER_EQUALSEnumLiteralDeclaration_5; } //">=" - public Keyword getGREATER_EQGreaterThanSignEqualsSignKeyword_5_0() { return cGREATER_EQGreaterThanSignEqualsSignKeyword_5_0; } + public Keyword getGREATER_EQUALSGreaterThanSignEqualsSignKeyword_5_0() { return cGREATER_EQUALSGreaterThanSignEqualsSignKeyword_5_0; } //IN="in" public EnumLiteralDeclaration getINEnumLiteralDeclaration_6() { return cINEnumLiteralDeclaration_6; } @@ -2534,56 +2902,56 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder { public class AdditiveBinaryOperatorElements extends AbstractEnumRuleElementFinder { private final EnumRule rule = (EnumRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.AdditiveBinaryOperator"); private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); - private final EnumLiteralDeclaration cADDEnumLiteralDeclaration_0 = (EnumLiteralDeclaration)cAlternatives.eContents().get(0); - private final Keyword cADDPlusSignKeyword_0_0 = (Keyword)cADDEnumLiteralDeclaration_0.eContents().get(0); - private final EnumLiteralDeclaration cSUBEnumLiteralDeclaration_1 = (EnumLiteralDeclaration)cAlternatives.eContents().get(1); - private final Keyword cSUBHyphenMinusKeyword_1_0 = (Keyword)cSUBEnumLiteralDeclaration_1.eContents().get(0); + private final EnumLiteralDeclaration cPLUSEnumLiteralDeclaration_0 = (EnumLiteralDeclaration)cAlternatives.eContents().get(0); + private final Keyword cPLUSPlusSignKeyword_0_0 = (Keyword)cPLUSEnumLiteralDeclaration_0.eContents().get(0); + private final EnumLiteralDeclaration cMINUSEnumLiteralDeclaration_1 = (EnumLiteralDeclaration)cAlternatives.eContents().get(1); + private final Keyword cMINUSHyphenMinusKeyword_1_0 = (Keyword)cMINUSEnumLiteralDeclaration_1.eContents().get(0); //enum AdditiveBinaryOperator returns BinaryOperator: - // ADD="+" | SUB="-"; + // PLUS="+" | MINUS="-"; public EnumRule getRule() { return rule; } - //ADD="+" | SUB="-" + //PLUS="+" | MINUS="-" public Alternatives getAlternatives() { return cAlternatives; } - //ADD="+" - public EnumLiteralDeclaration getADDEnumLiteralDeclaration_0() { return cADDEnumLiteralDeclaration_0; } + //PLUS="+" + public EnumLiteralDeclaration getPLUSEnumLiteralDeclaration_0() { return cPLUSEnumLiteralDeclaration_0; } //"+" - public Keyword getADDPlusSignKeyword_0_0() { return cADDPlusSignKeyword_0_0; } + public Keyword getPLUSPlusSignKeyword_0_0() { return cPLUSPlusSignKeyword_0_0; } - //SUB="-" - public EnumLiteralDeclaration getSUBEnumLiteralDeclaration_1() { return cSUBEnumLiteralDeclaration_1; } + //MINUS="-" + public EnumLiteralDeclaration getMINUSEnumLiteralDeclaration_1() { return cMINUSEnumLiteralDeclaration_1; } //"-" - public Keyword getSUBHyphenMinusKeyword_1_0() { return cSUBHyphenMinusKeyword_1_0; } + public Keyword getMINUSHyphenMinusKeyword_1_0() { return cMINUSHyphenMinusKeyword_1_0; } } public class MultiplicativeBinaryOperatorElements extends AbstractEnumRuleElementFinder { private final EnumRule rule = (EnumRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.MultiplicativeBinaryOperator"); private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); - private final EnumLiteralDeclaration cMULEnumLiteralDeclaration_0 = (EnumLiteralDeclaration)cAlternatives.eContents().get(0); - private final Keyword cMULAsteriskKeyword_0_0 = (Keyword)cMULEnumLiteralDeclaration_0.eContents().get(0); - private final EnumLiteralDeclaration cDIVEnumLiteralDeclaration_1 = (EnumLiteralDeclaration)cAlternatives.eContents().get(1); - private final Keyword cDIVSolidusKeyword_1_0 = (Keyword)cDIVEnumLiteralDeclaration_1.eContents().get(0); + private final EnumLiteralDeclaration cMULTIPLYEnumLiteralDeclaration_0 = (EnumLiteralDeclaration)cAlternatives.eContents().get(0); + private final Keyword cMULTIPLYAsteriskKeyword_0_0 = (Keyword)cMULTIPLYEnumLiteralDeclaration_0.eContents().get(0); + private final EnumLiteralDeclaration cDIVIDEEnumLiteralDeclaration_1 = (EnumLiteralDeclaration)cAlternatives.eContents().get(1); + private final Keyword cDIVIDESolidusKeyword_1_0 = (Keyword)cDIVIDEEnumLiteralDeclaration_1.eContents().get(0); //enum MultiplicativeBinaryOperator returns BinaryOperator: - // MUL="*" | DIV="/"; + // MULTIPLY="*" | DIVIDE="/"; public EnumRule getRule() { return rule; } - //MUL="*" | DIV="/" + //MULTIPLY="*" | DIVIDE="/" public Alternatives getAlternatives() { return cAlternatives; } - //MUL="*" - public EnumLiteralDeclaration getMULEnumLiteralDeclaration_0() { return cMULEnumLiteralDeclaration_0; } + //MULTIPLY="*" + public EnumLiteralDeclaration getMULTIPLYEnumLiteralDeclaration_0() { return cMULTIPLYEnumLiteralDeclaration_0; } //"*" - public Keyword getMULAsteriskKeyword_0_0() { return cMULAsteriskKeyword_0_0; } + public Keyword getMULTIPLYAsteriskKeyword_0_0() { return cMULTIPLYAsteriskKeyword_0_0; } - //DIV="/" - public EnumLiteralDeclaration getDIVEnumLiteralDeclaration_1() { return cDIVEnumLiteralDeclaration_1; } + //DIVIDE="/" + public EnumLiteralDeclaration getDIVIDEEnumLiteralDeclaration_1() { return cDIVIDEEnumLiteralDeclaration_1; } //"/" - public Keyword getDIVSolidusKeyword_1_0() { return cDIVSolidusKeyword_1_0; } + public Keyword getDIVIDESolidusKeyword_1_0() { return cDIVIDESolidusKeyword_1_0; } } public class ExponentialOpElements extends AbstractEnumRuleElementFinder { private final EnumRule rule = (EnumRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.ExponentialOp"); @@ -2600,34 +2968,30 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder { //"^" public Keyword getPOWCircumflexAccentKeyword_0() { return cPOWCircumflexAccentKeyword_0; } } - public class UnaryOpElements extends AbstractEnumRuleElementFinder { - private final EnumRule rule = (EnumRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.UnaryOp"); + public class UnaryOperatorElements extends AbstractEnumRuleElementFinder { + private final EnumRule rule = (EnumRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.UnaryOperator"); private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); - private final EnumLiteralDeclaration cNEGEnumLiteralDeclaration_0 = (EnumLiteralDeclaration)cAlternatives.eContents().get(0); - private final Keyword cNEGExclamationMarkKeyword_0_0 = (Keyword)cNEGEnumLiteralDeclaration_0.eContents().get(0); + private final EnumLiteralDeclaration cNOTEnumLiteralDeclaration_0 = (EnumLiteralDeclaration)cAlternatives.eContents().get(0); + private final Keyword cNOTExclamationMarkKeyword_0_0 = (Keyword)cNOTEnumLiteralDeclaration_0.eContents().get(0); private final EnumLiteralDeclaration cPLUSEnumLiteralDeclaration_1 = (EnumLiteralDeclaration)cAlternatives.eContents().get(1); private final Keyword cPLUSPlusSignKeyword_1_0 = (Keyword)cPLUSEnumLiteralDeclaration_1.eContents().get(0); private final EnumLiteralDeclaration cMINUSEnumLiteralDeclaration_2 = (EnumLiteralDeclaration)cAlternatives.eContents().get(2); private final Keyword cMINUSHyphenMinusKeyword_2_0 = (Keyword)cMINUSEnumLiteralDeclaration_2.eContents().get(0); - private final EnumLiteralDeclaration cMAYEnumLiteralDeclaration_3 = (EnumLiteralDeclaration)cAlternatives.eContents().get(3); - private final Keyword cMAYMayKeyword_3_0 = (Keyword)cMAYEnumLiteralDeclaration_3.eContents().get(0); - private final EnumLiteralDeclaration cMUSTEnumLiteralDeclaration_4 = (EnumLiteralDeclaration)cAlternatives.eContents().get(4); - private final Keyword cMUSTMustKeyword_4_0 = (Keyword)cMUSTEnumLiteralDeclaration_4.eContents().get(0); - private final EnumLiteralDeclaration cCURRENTEnumLiteralDeclaration_5 = (EnumLiteralDeclaration)cAlternatives.eContents().get(5); - private final Keyword cCURRENTCurrentKeyword_5_0 = (Keyword)cCURRENTEnumLiteralDeclaration_5.eContents().get(0); - - //enum UnaryOp: - // NEG="!" | PLUS="+" | MINUS="-" | MAY="may" | MUST="must" | CURRENT="current"; + private final EnumLiteralDeclaration cMAYBEEnumLiteralDeclaration_3 = (EnumLiteralDeclaration)cAlternatives.eContents().get(3); + private final Keyword cMAYBEQuestionMarkKeyword_3_0 = (Keyword)cMAYBEEnumLiteralDeclaration_3.eContents().get(0); + + //enum UnaryOperator: + // NOT="!" | PLUS="+" | MINUS="-" | MAYBE="?"; public EnumRule getRule() { return rule; } - //NEG="!" | PLUS="+" | MINUS="-" | MAY="may" | MUST="must" | CURRENT="current" + //NOT="!" | PLUS="+" | MINUS="-" | MAYBE="?" public Alternatives getAlternatives() { return cAlternatives; } - //NEG="!" - public EnumLiteralDeclaration getNEGEnumLiteralDeclaration_0() { return cNEGEnumLiteralDeclaration_0; } + //NOT="!" + public EnumLiteralDeclaration getNOTEnumLiteralDeclaration_0() { return cNOTEnumLiteralDeclaration_0; } //"!" - public Keyword getNEGExclamationMarkKeyword_0_0() { return cNEGExclamationMarkKeyword_0_0; } + public Keyword getNOTExclamationMarkKeyword_0_0() { return cNOTExclamationMarkKeyword_0_0; } //PLUS="+" public EnumLiteralDeclaration getPLUSEnumLiteralDeclaration_1() { return cPLUSEnumLiteralDeclaration_1; } @@ -2641,58 +3005,11 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder { //"-" public Keyword getMINUSHyphenMinusKeyword_2_0() { return cMINUSHyphenMinusKeyword_2_0; } - //MAY="may" - public EnumLiteralDeclaration getMAYEnumLiteralDeclaration_3() { return cMAYEnumLiteralDeclaration_3; } - - //"may" - public Keyword getMAYMayKeyword_3_0() { return cMAYMayKeyword_3_0; } - - //MUST="must" - public EnumLiteralDeclaration getMUSTEnumLiteralDeclaration_4() { return cMUSTEnumLiteralDeclaration_4; } - - //"must" - public Keyword getMUSTMustKeyword_4_0() { return cMUSTMustKeyword_4_0; } - - //CURRENT="current" - public EnumLiteralDeclaration getCURRENTEnumLiteralDeclaration_5() { return cCURRENTEnumLiteralDeclaration_5; } + //MAYBE="?" + public EnumLiteralDeclaration getMAYBEEnumLiteralDeclaration_3() { return cMAYBEEnumLiteralDeclaration_3; } - //"current" - public Keyword getCURRENTCurrentKeyword_5_0() { return cCURRENTCurrentKeyword_5_0; } - } - public class QuantifierElements extends AbstractEnumRuleElementFinder { - private final EnumRule rule = (EnumRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.Quantifier"); - private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); - private final EnumLiteralDeclaration cEXISTSEnumLiteralDeclaration_0 = (EnumLiteralDeclaration)cAlternatives.eContents().get(0); - private final Keyword cEXISTSExistsKeyword_0_0 = (Keyword)cEXISTSEnumLiteralDeclaration_0.eContents().get(0); - private final EnumLiteralDeclaration cFORALLEnumLiteralDeclaration_1 = (EnumLiteralDeclaration)cAlternatives.eContents().get(1); - private final Keyword cFORALLForallKeyword_1_0 = (Keyword)cFORALLEnumLiteralDeclaration_1.eContents().get(0); - private final EnumLiteralDeclaration cCOUNTEnumLiteralDeclaration_2 = (EnumLiteralDeclaration)cAlternatives.eContents().get(2); - private final Keyword cCOUNTCountKeyword_2_0 = (Keyword)cCOUNTEnumLiteralDeclaration_2.eContents().get(0); - - //enum Quantifier: - // EXISTS="exists" | FORALL="forall" | COUNT="count"; - public EnumRule getRule() { return rule; } - - //EXISTS="exists" | FORALL="forall" | COUNT="count" - public Alternatives getAlternatives() { return cAlternatives; } - - //EXISTS="exists" - public EnumLiteralDeclaration getEXISTSEnumLiteralDeclaration_0() { return cEXISTSEnumLiteralDeclaration_0; } - - //"exists" - public Keyword getEXISTSExistsKeyword_0_0() { return cEXISTSExistsKeyword_0_0; } - - //FORALL="forall" - public EnumLiteralDeclaration getFORALLEnumLiteralDeclaration_1() { return cFORALLEnumLiteralDeclaration_1; } - - //"forall" - public Keyword getFORALLForallKeyword_1_0() { return cFORALLForallKeyword_1_0; } - - //COUNT="count" - public EnumLiteralDeclaration getCOUNTEnumLiteralDeclaration_2() { return cCOUNTEnumLiteralDeclaration_2; } - - //"count" - public Keyword getCOUNTCountKeyword_2_0() { return cCOUNTCountKeyword_2_0; } + //"?" + public Keyword getMAYBEQuestionMarkKeyword_3_0() { return cMAYBEQuestionMarkKeyword_3_0; } } public class LogicValueElements extends AbstractEnumRuleElementFinder { private final EnumRule rule = (EnumRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.LogicValue"); @@ -2740,49 +3057,53 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder { public class ObjectiveKindElements extends AbstractEnumRuleElementFinder { private final EnumRule rule = (EnumRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.ObjectiveKind"); private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); - private final EnumLiteralDeclaration cMINIMIZEEnumLiteralDeclaration_0 = (EnumLiteralDeclaration)cAlternatives.eContents().get(0); - private final Keyword cMINIMIZEMinimizeKeyword_0_0 = (Keyword)cMINIMIZEEnumLiteralDeclaration_0.eContents().get(0); - private final EnumLiteralDeclaration cMAXIMIZEEnumLiteralDeclaration_1 = (EnumLiteralDeclaration)cAlternatives.eContents().get(1); - private final Keyword cMAXIMIZEMaximizeKeyword_1_0 = (Keyword)cMAXIMIZEEnumLiteralDeclaration_1.eContents().get(0); + private final EnumLiteralDeclaration cMINIMIZATIONEnumLiteralDeclaration_0 = (EnumLiteralDeclaration)cAlternatives.eContents().get(0); + private final Keyword cMINIMIZATIONMinimizeKeyword_0_0 = (Keyword)cMINIMIZATIONEnumLiteralDeclaration_0.eContents().get(0); + private final EnumLiteralDeclaration cMAXIMIZATIONEnumLiteralDeclaration_1 = (EnumLiteralDeclaration)cAlternatives.eContents().get(1); + private final Keyword cMAXIMIZATIONMaximizeKeyword_1_0 = (Keyword)cMAXIMIZATIONEnumLiteralDeclaration_1.eContents().get(0); //enum ObjectiveKind: - // MINIMIZE="minimize" | MAXIMIZE="maximize"; + // MINIMIZATION="minimize" | MAXIMIZATION="maximize"; public EnumRule getRule() { return rule; } - //MINIMIZE="minimize" | MAXIMIZE="maximize" + //MINIMIZATION="minimize" | MAXIMIZATION="maximize" public Alternatives getAlternatives() { return cAlternatives; } - //MINIMIZE="minimize" - public EnumLiteralDeclaration getMINIMIZEEnumLiteralDeclaration_0() { return cMINIMIZEEnumLiteralDeclaration_0; } + //MINIMIZATION="minimize" + public EnumLiteralDeclaration getMINIMIZATIONEnumLiteralDeclaration_0() { return cMINIMIZATIONEnumLiteralDeclaration_0; } //"minimize" - public Keyword getMINIMIZEMinimizeKeyword_0_0() { return cMINIMIZEMinimizeKeyword_0_0; } + public Keyword getMINIMIZATIONMinimizeKeyword_0_0() { return cMINIMIZATIONMinimizeKeyword_0_0; } - //MAXIMIZE="maximize" - public EnumLiteralDeclaration getMAXIMIZEEnumLiteralDeclaration_1() { return cMAXIMIZEEnumLiteralDeclaration_1; } + //MAXIMIZATION="maximize" + public EnumLiteralDeclaration getMAXIMIZATIONEnumLiteralDeclaration_1() { return cMAXIMIZATIONEnumLiteralDeclaration_1; } //"maximize" - public Keyword getMAXIMIZEMaximizeKeyword_1_0() { return cMAXIMIZEMaximizeKeyword_1_0; } + public Keyword getMAXIMIZATIONMaximizeKeyword_1_0() { return cMAXIMIZATIONMaximizeKeyword_1_0; } } private final ProblemElements pProblem; private final StatementElements pStatement; + private final ImportElements pImport; + private final UriImportElements pUriImport; + private final NamespaceImportElements pNamespaceImport; private final AssertionOrDefinitionElements pAssertionOrDefinition; private final PredicateDefinitionElements pPredicateDefinition; - private final UnnamedErrorPrediateDefinitionElements pUnnamedErrorPrediateDefinition; - private final DefaultDefinitionElements pDefaultDefinition; - private final MetricDefinitionElements pMetricDefinition; - private final ExternPredicateDefinitionElements pExternPredicateDefinition; - private final ExternMetricDefinitionElements pExternMetricDefinition; - private final ExternAggregatorDefinitionElements pExternAggregatorDefinition; - private final ExternDatatypeDefinitionElements pExternDatatypeDefinition; - private final VariableElements pVariable; + private final UnnamedErrorPredicateDefintionElements pUnnamedErrorPredicateDefintion; + private final DefaultAssertionElements pDefaultAssertion; + private final FunctionDefinitionElements pFunctionDefinition; + private final TypeReferenceElements pTypeReference; + private final AttributeKindElements eAttributeKind; + private final AttributeElements pAttribute; + private final ExternDeclarationElements pExternDeclaration; + private final ExternPredicateDeclarationElements pExternPredicateDeclaration; + private final ExternFunctionDeclarationElements pExternFunctionDeclaration; + private final ExternAggregationOperatorDeclarationElements pExternAggregationOperatorDeclaration; + private final ExternDatatypeDeclarationElements pExternDatatypeDeclaration; private final ExpressionElements pExpression; - private final IfElseElements pIfElse; - private final LetElements pLet; + private final ConditionalExpressionElements pConditionalExpression; + private final LetExpressionElements pLetExpression; private final LetBindingElements pLetBinding; - private final ImplicationOperatorElements eImplicationOperator; - private final ImplicationExpressionElements pImplicationExpression; private final DisjunctiveExpressionElements pDisjunctiveExpression; private final CaseElements pCase; private final ConjunctiveExpressionElements pConjunctiveExpression; @@ -2795,44 +3116,47 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder { private final ExponentialOpElements eExponentialOp; private final ExponentialExpressionElements pExponentialExpression; private final CastExpressionElements pCastExpression; - private final UnaryOpElements eUnaryOp; + private final UnaryOperatorElements eUnaryOperator; private final UnaryExpressionElements pUnaryExpression; - private final AggregationExpressionElements pAggregationExpression; - private final LocalVariablesElements pLocalVariables; - private final QuantifierElements eQuantifier; - private final QuantifiedExpressionElements pQuantifiedExpression; + private final BracedAggregateExpressionElements pBracedAggregateExpression; private final AggregationElements pAggregation; + private final CountElements pCount; private final AtomicExpressionElements pAtomicExpression; private final CallElements pCall; private final ArgumentListElements pArgumentList; private final ArgumentElements pArgument; private final ExpressionArgumentElements pExpressionArgument; private final StarArgumentElements pStarArgument; - private final TypedArgumentElements pTypedArgument; + private final TypedVariableArgumentElements pTypedVariableArgument; private final TypedStarArgumentElements pTypedStarArgument; private final ReferenceElements pReference; + private final PathComponentElements pPathComponent; private final IntervalElements pInterval; private final LiteralElements pLiteral; private final LogicValueElements eLogicValue; private final LogicLiteralElements pLogicLiteral; - private final NumericLiteralElements pNumericLiteral; + private final IntLiteralElements pIntLiteral; + private final RealLiteralElements pRealLiteral; private final InfinityLiteralElements pInfinityLiteral; - private final EmptyIntervalLiteralElements pEmptyIntervalLiteral; + private final EmptyLiteralElements pEmptyLiteral; private final StringLiteralElements pStringLiteral; - private final ClassDefinitionElements pClassDefinition; - private final MemberDefinitionElements pMemberDefinition; + private final ClassDeclarationElements pClassDeclaration; + private final FieldElements pField; private final MultiplicityElements pMultiplicity; - private final ManyMultiplicityElements pManyMultiplicity; + private final UnboundedMultiplicityElements pUnboundedMultiplicity; private final ExactMultiplicityElements pExactMultiplicity; private final BoundedMultiplicityElements pBoundedMultiplicity; - private final ScopeDefinitionElements pScopeDefinition; - private final ExactScopeDefinitionElements pExactScopeDefinition; - private final BoundedScopeDefinitionElements pBoundedScopeDefinition; - private final LowerBoundedScopeDefinitionElements pLowerBoundedScopeDefinition; + private final EnumDeclarationElements pEnumDeclaration; + private final EnumLiteralElements pEnumLiteral; + private final ScopeDeclarationElements pScopeDeclaration; + private final ExactScopeElements pExactScope; + private final BoundedScopeElements pBoundedScope; + private final LowerBoundedScopeElements pLowerBoundedScope; private final ObjectiveKindElements eObjectiveKind; - private final ObjectiveDefinitionElements pObjectiveDefinition; + private final ObjectiveDeclarationElements pObjectiveDeclaration; private final UpperMultiplictyElements pUpperMultiplicty; private final RealElements pReal; + private final QualifiedNameSegmentElements pQualifiedNameSegment; private final QualifiedNameElements pQualifiedName; private final TerminalRule tSTRING; private final TerminalRule tQUOTED_ID; @@ -2852,22 +3176,26 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder { this.gaTerminals = gaTerminals; this.pProblem = new ProblemElements(); this.pStatement = new StatementElements(); + this.pImport = new ImportElements(); + this.pUriImport = new UriImportElements(); + this.pNamespaceImport = new NamespaceImportElements(); this.pAssertionOrDefinition = new AssertionOrDefinitionElements(); this.pPredicateDefinition = new PredicateDefinitionElements(); - this.pUnnamedErrorPrediateDefinition = new UnnamedErrorPrediateDefinitionElements(); - this.pDefaultDefinition = new DefaultDefinitionElements(); - this.pMetricDefinition = new MetricDefinitionElements(); - this.pExternPredicateDefinition = new ExternPredicateDefinitionElements(); - this.pExternMetricDefinition = new ExternMetricDefinitionElements(); - this.pExternAggregatorDefinition = new ExternAggregatorDefinitionElements(); - this.pExternDatatypeDefinition = new ExternDatatypeDefinitionElements(); - this.pVariable = new VariableElements(); + this.pUnnamedErrorPredicateDefintion = new UnnamedErrorPredicateDefintionElements(); + this.pDefaultAssertion = new DefaultAssertionElements(); + this.pFunctionDefinition = new FunctionDefinitionElements(); + this.pTypeReference = new TypeReferenceElements(); + this.eAttributeKind = new AttributeKindElements(); + this.pAttribute = new AttributeElements(); + this.pExternDeclaration = new ExternDeclarationElements(); + this.pExternPredicateDeclaration = new ExternPredicateDeclarationElements(); + this.pExternFunctionDeclaration = new ExternFunctionDeclarationElements(); + this.pExternAggregationOperatorDeclaration = new ExternAggregationOperatorDeclarationElements(); + this.pExternDatatypeDeclaration = new ExternDatatypeDeclarationElements(); this.pExpression = new ExpressionElements(); - this.pIfElse = new IfElseElements(); - this.pLet = new LetElements(); + this.pConditionalExpression = new ConditionalExpressionElements(); + this.pLetExpression = new LetExpressionElements(); this.pLetBinding = new LetBindingElements(); - this.eImplicationOperator = new ImplicationOperatorElements(); - this.pImplicationExpression = new ImplicationExpressionElements(); this.pDisjunctiveExpression = new DisjunctiveExpressionElements(); this.pCase = new CaseElements(); this.pConjunctiveExpression = new ConjunctiveExpressionElements(); @@ -2880,44 +3208,47 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder { this.eExponentialOp = new ExponentialOpElements(); this.pExponentialExpression = new ExponentialExpressionElements(); this.pCastExpression = new CastExpressionElements(); - this.eUnaryOp = new UnaryOpElements(); + this.eUnaryOperator = new UnaryOperatorElements(); this.pUnaryExpression = new UnaryExpressionElements(); - this.pAggregationExpression = new AggregationExpressionElements(); - this.pLocalVariables = new LocalVariablesElements(); - this.eQuantifier = new QuantifierElements(); - this.pQuantifiedExpression = new QuantifiedExpressionElements(); + this.pBracedAggregateExpression = new BracedAggregateExpressionElements(); this.pAggregation = new AggregationElements(); + this.pCount = new CountElements(); this.pAtomicExpression = new AtomicExpressionElements(); this.pCall = new CallElements(); this.pArgumentList = new ArgumentListElements(); this.pArgument = new ArgumentElements(); this.pExpressionArgument = new ExpressionArgumentElements(); this.pStarArgument = new StarArgumentElements(); - this.pTypedArgument = new TypedArgumentElements(); + this.pTypedVariableArgument = new TypedVariableArgumentElements(); this.pTypedStarArgument = new TypedStarArgumentElements(); this.pReference = new ReferenceElements(); + this.pPathComponent = new PathComponentElements(); this.pInterval = new IntervalElements(); this.pLiteral = new LiteralElements(); this.eLogicValue = new LogicValueElements(); this.pLogicLiteral = new LogicLiteralElements(); - this.pNumericLiteral = new NumericLiteralElements(); + this.pIntLiteral = new IntLiteralElements(); + this.pRealLiteral = new RealLiteralElements(); this.pInfinityLiteral = new InfinityLiteralElements(); - this.pEmptyIntervalLiteral = new EmptyIntervalLiteralElements(); + this.pEmptyLiteral = new EmptyLiteralElements(); this.pStringLiteral = new StringLiteralElements(); - this.pClassDefinition = new ClassDefinitionElements(); - this.pMemberDefinition = new MemberDefinitionElements(); + this.pClassDeclaration = new ClassDeclarationElements(); + this.pField = new FieldElements(); this.pMultiplicity = new MultiplicityElements(); - this.pManyMultiplicity = new ManyMultiplicityElements(); + this.pUnboundedMultiplicity = new UnboundedMultiplicityElements(); this.pExactMultiplicity = new ExactMultiplicityElements(); this.pBoundedMultiplicity = new BoundedMultiplicityElements(); - this.pScopeDefinition = new ScopeDefinitionElements(); - this.pExactScopeDefinition = new ExactScopeDefinitionElements(); - this.pBoundedScopeDefinition = new BoundedScopeDefinitionElements(); - this.pLowerBoundedScopeDefinition = new LowerBoundedScopeDefinitionElements(); + this.pEnumDeclaration = new EnumDeclarationElements(); + this.pEnumLiteral = new EnumLiteralElements(); + this.pScopeDeclaration = new ScopeDeclarationElements(); + this.pExactScope = new ExactScopeElements(); + this.pBoundedScope = new BoundedScopeElements(); + this.pLowerBoundedScope = new LowerBoundedScopeElements(); this.eObjectiveKind = new ObjectiveKindElements(); - this.pObjectiveDefinition = new ObjectiveDefinitionElements(); + this.pObjectiveDeclaration = new ObjectiveDeclarationElements(); this.pUpperMultiplicty = new UpperMultiplictyElements(); this.pReal = new RealElements(); + this.pQualifiedNameSegment = new QualifiedNameSegmentElements(); this.pQualifiedName = new QualifiedNameElements(); this.tSTRING = (TerminalRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.STRING"); this.tQUOTED_ID = (TerminalRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.viatra.solver.language.SolverLanguage.QUOTED_ID"); @@ -2955,6 +3286,8 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder { //Problem: + // ("problem" name=QualifiedName FULL_STOP)? + // imports+=Import* // statements+=Statement*; public ProblemElements getProblemAccess() { return pProblem; @@ -2965,9 +3298,8 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder { } //Statement: - // (AssertionOrDefinition | PredicateDefinition | UnnamedErrorPrediateDefinition | DefaultDefinition | MetricDefinition - // | ExternPredicateDefinition | ExternMetricDefinition | ExternAggregatorDefinition | ExternDatatypeDefinition | - // ClassDefinition | ScopeDefinition | ObjectiveDefinition) FULL_STOP; + // AssertionOrDefinition | PredicateDefinition | UnnamedErrorPredicateDefintion | DefaultAssertion | FunctionDefinition + // | Attribute | ExternDeclaration | ScopeDeclaration | ObjectiveDeclaration | ClassDeclaration | EnumDeclaration; public StatementElements getStatementAccess() { return pStatement; } @@ -2976,9 +3308,39 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder { return getStatementAccess().getRule(); } + //Import: + // UriImport | NamespaceImport; + public ImportElements getImportAccess() { + return pImport; + } + + public ParserRule getImportRule() { + return getImportAccess().getRule(); + } + + //UriImport: + // "import" uri=STRING ("as" alias=QualifiedName) FULL_STOP; + public UriImportElements getUriImportAccess() { + return pUriImport; + } + + public ParserRule getUriImportRule() { + return getUriImportAccess().getRule(); + } + + //NamespaceImport: + // "import" importedNamespace=QualifiedName ("as" alias=QualifiedName) FULL_STOP; + public NamespaceImportElements getNamespaceImportAccess() { + return pNamespaceImport; + } + + public ParserRule getNamespaceImportRule() { + return getNamespaceImportAccess().getRule(); + } + //AssertionOrDefinition Statement: - // Expression ({Interpretation.body=current} ":" range=Expression | {PredicateDefinition.head=current} ":-" - // body=Expression | {MetricDefinition.head=current} "=" body=Expression)?; + // Expression ({Assertion.expression=current} (":" range=Expression)? | {PredicateDefinition.head=current} ":-" + // body=Expression | {FunctionDefinition.head=current} ":=" body=Expression) FULL_STOP; public AssertionOrDefinitionElements getAssertionOrDefinitionAccess() { return pAssertionOrDefinition; } @@ -2988,7 +3350,8 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder { } //PredicateDefinition: - // (functional?="functional" error?="error"? | error?="error" functional?="functional"?) head=Call ":-" body=Expression; + // (functional?="functional" error?="error"? | error?="error" functional?="functional"?) head=Call ":-" body=Expression + // FULL_STOP; public PredicateDefinitionElements getPredicateDefinitionAccess() { return pPredicateDefinition; } @@ -2997,89 +3360,121 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder { return getPredicateDefinitionAccess().getRule(); } - //UnnamedErrorPrediateDefinition: - // "error" argumentList=ArgumentList ":-" body=Expression; - public UnnamedErrorPrediateDefinitionElements getUnnamedErrorPrediateDefinitionAccess() { - return pUnnamedErrorPrediateDefinition; + //UnnamedErrorPredicateDefintion: + // "error" argumentList=ArgumentList ":-" body=Expression FULL_STOP; + public UnnamedErrorPredicateDefintionElements getUnnamedErrorPredicateDefintionAccess() { + return pUnnamedErrorPredicateDefintion; + } + + public ParserRule getUnnamedErrorPredicateDefintionRule() { + return getUnnamedErrorPredicateDefintionAccess().getRule(); + } + + //DefaultAssertion: + // "default" expression=Call (":" range=Expression)? FULL_STOP; + public DefaultAssertionElements getDefaultAssertionAccess() { + return pDefaultAssertion; + } + + public ParserRule getDefaultAssertionRule() { + return getDefaultAssertionAccess().getRule(); + } + + //FunctionDefinition: + // resultType=[Symbol|QualifiedName] head=Call ":=" body=Expression FULL_STOP; + public FunctionDefinitionElements getFunctionDefinitionAccess() { + return pFunctionDefinition; } - public ParserRule getUnnamedErrorPrediateDefinitionRule() { - return getUnnamedErrorPrediateDefinitionAccess().getRule(); + public ParserRule getFunctionDefinitionRule() { + return getFunctionDefinitionAccess().getRule(); } - //DefaultDefinition: - // "default" head=Call ":" range=Expression; - public DefaultDefinitionElements getDefaultDefinitionAccess() { - return pDefaultDefinition; + //TypeReference: + // type=[Symbol|QualifiedName] forceObjectType?="object"?; + public TypeReferenceElements getTypeReferenceAccess() { + return pTypeReference; } - public ParserRule getDefaultDefinitionRule() { - return getDefaultDefinitionAccess().getRule(); + public ParserRule getTypeReferenceRule() { + return getTypeReferenceAccess().getRule(); } - //MetricDefinition: - // type=[NamedElement|QualifiedName] head=Call "=" body=Expression; - public MetricDefinitionElements getMetricDefinitionAccess() { - return pMetricDefinition; + //enum AttributeKind: + // FUNCTIONAL="functional" | ERROR="error" | ROOT="root" | CONTAINMENT="containment"; + public AttributeKindElements getAttributeKindAccess() { + return eAttributeKind; } - public ParserRule getMetricDefinitionRule() { - return getMetricDefinitionAccess().getRule(); + public EnumRule getAttributeKindRule() { + return getAttributeKindAccess().getRule(); } - //ExternPredicateDefinition: - // "extern" name=QualifiedName argumentList=ArgumentList; - public ExternPredicateDefinitionElements getExternPredicateDefinitionAccess() { - return pExternPredicateDefinition; + //Attribute: + // kind=AttributeKind target=[Symbol|QualifiedName] FULL_STOP; + public AttributeElements getAttributeAccess() { + return pAttribute; } - public ParserRule getExternPredicateDefinitionRule() { - return getExternPredicateDefinitionAccess().getRule(); + public ParserRule getAttributeRule() { + return getAttributeAccess().getRule(); } - //ExternMetricDefinition: - // "extern" type=[NamedElement|QualifiedName] name=QualifiedName argumentList=ArgumentList; - public ExternMetricDefinitionElements getExternMetricDefinitionAccess() { - return pExternMetricDefinition; + //ExternDeclaration: + // ExternPredicateDeclaration | ExternFunctionDeclaration | ExternAggregationOperatorDeclaration | + // ExternDatatypeDeclaration; + public ExternDeclarationElements getExternDeclarationAccess() { + return pExternDeclaration; } - public ParserRule getExternMetricDefinitionRule() { - return getExternMetricDefinitionAccess().getRule(); + public ParserRule getExternDeclarationRule() { + return getExternDeclarationAccess().getRule(); } - //ExternAggregatorDefinition: - // "extern" type=[NamedElement|QualifiedName] name=QualifiedName "{" inputType=[NamedElement|QualifiedName] "..." "}"; - public ExternAggregatorDefinitionElements getExternAggregatorDefinitionAccess() { - return pExternAggregatorDefinition; + //ExternPredicateDeclaration: + // "extern" (functional?="functional"? & error?="error"?) name=QualifiedName argumentList=ArgumentList FULL_STOP; + public ExternPredicateDeclarationElements getExternPredicateDeclarationAccess() { + return pExternPredicateDeclaration; } - public ParserRule getExternAggregatorDefinitionRule() { - return getExternAggregatorDefinitionAccess().getRule(); + public ParserRule getExternPredicateDeclarationRule() { + return getExternPredicateDeclarationAccess().getRule(); } - //ExternDatatypeDefinition: - // "extern" "datatype" name=QualifiedName ("extends" supertypes+=[NamedElement|QualifiedName] ("," - // supertypes+=[NamedElement|QualifiedName])*); - public ExternDatatypeDefinitionElements getExternDatatypeDefinitionAccess() { - return pExternDatatypeDefinition; + //ExternFunctionDeclaration: + // "extern" resultType=[Symbol|QualifiedName] name=QualifiedName argumentList=ArgumentList FULL_STOP; + public ExternFunctionDeclarationElements getExternFunctionDeclarationAccess() { + return pExternFunctionDeclaration; } - public ParserRule getExternDatatypeDefinitionRule() { - return getExternDatatypeDefinitionAccess().getRule(); + public ParserRule getExternFunctionDeclarationRule() { + return getExternFunctionDeclarationAccess().getRule(); } - //Variable: - // type=[NamedElement|QualifiedName]? name=ID; - public VariableElements getVariableAccess() { - return pVariable; + //ExternAggregationOperatorDeclaration: + // "extern" resultType=[Symbol|QualifiedName] name=QualifiedName "{" argumentType=[Symbol|QualifiedName] "..." "}" + // FULL_STOP; + public ExternAggregationOperatorDeclarationElements getExternAggregationOperatorDeclarationAccess() { + return pExternAggregationOperatorDeclaration; } - public ParserRule getVariableRule() { - return getVariableAccess().getRule(); + public ParserRule getExternAggregationOperatorDeclarationRule() { + return getExternAggregationOperatorDeclarationAccess().getRule(); + } + + //ExternDatatypeDeclaration: + // "extern" "datatype" name=QualifiedName FULL_STOP; + public ExternDatatypeDeclarationElements getExternDatatypeDeclarationAccess() { + return pExternDatatypeDeclaration; + } + + public ParserRule getExternDatatypeDeclarationRule() { + return getExternDatatypeDeclarationAccess().getRule(); } //Expression: - // IfElse | Let | ImplicationExpression; + // ConditionalExpression | LetExpression | DisjunctiveExpression ({Forall.condition=current} "=>" + // body=DisjunctiveExpression)?; public ExpressionElements getExpressionAccess() { return pExpression; } @@ -3088,28 +3483,28 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder { return getExpressionAccess().getRule(); } - //IfElse: - // "if" condition=Expression "then" then=Expression "else" else=Expression; - public IfElseElements getIfElseAccess() { - return pIfElse; + //ConditionalExpression: + // "if" condition=DisjunctiveExpression "then" then=Expression "else" else=Expression; + public ConditionalExpressionElements getConditionalExpressionAccess() { + return pConditionalExpression; } - public ParserRule getIfElseRule() { - return getIfElseAccess().getRule(); + public ParserRule getConditionalExpressionRule() { + return getConditionalExpressionAccess().getRule(); } - //Let: + //LetExpression: // "let" bindings+=LetBinding ("," bindings+=LetBinding)* "in" body=Expression; - public LetElements getLetAccess() { - return pLet; + public LetExpressionElements getLetExpressionAccess() { + return pLetExpression; } - public ParserRule getLetRule() { - return getLetAccess().getRule(); + public ParserRule getLetExpressionRule() { + return getLetExpressionAccess().getRule(); } //LetBinding: - // variable=Variable "=" value=AdditiveExpression; + // type=[Symbol|QualifiedName]? name=ID "=" value=AdditiveExpression; public LetBindingElements getLetBindingAccess() { return pLetBinding; } @@ -3118,26 +3513,6 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder { return getLetBindingAccess().getRule(); } - //enum ImplicationOperator returns BinaryOperator: - // IMPLIES="=>"; - public ImplicationOperatorElements getImplicationOperatorAccess() { - return eImplicationOperator; - } - - public EnumRule getImplicationOperatorRule() { - return getImplicationOperatorAccess().getRule(); - } - - //ImplicationExpression Expression: - // DisjunctiveExpression ({BinaryExpression.left=current} op=ImplicationOperator right=ImplicationExpression)?; - public ImplicationExpressionElements getImplicationExpressionAccess() { - return pImplicationExpression; - } - - public ParserRule getImplicationExpressionRule() { - return getImplicationExpressionAccess().getRule(); - } - //DisjunctiveExpression Expression: // ConjunctiveExpression ({Disjunction.children+=current} (";" children+=ConjunctiveExpression)+ | // {Case.condition=current} "->" body=ConjunctiveExpression {Switch.cases+=current} (";" cases+=Case)*)?; @@ -3170,7 +3545,7 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder { } //enum ComparisonOperator returns BinaryOperator: - // EQ="==" | NOT_EQ="!=" | LESS="<" | LESS_EQ="<=" | GREATER=">" | GREATER_EQ=">=" | IN="in"; + // EQUALS="==" | NOT_EQUALS="!=" | LESS="<" | LESS_EQUALS="<=" | GREATER=">" | GREATER_EQUALS=">=" | IN="in"; public ComparisonOperatorElements getComparisonOperatorAccess() { return eComparisonOperator; } @@ -3180,7 +3555,7 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder { } //ComparisonExpression Expression: - // AdditiveExpression ({Comparison.left=current} op=ComparisonOperator right=AdditiveExpression)?; + // AdditiveExpression ({BinaryExpression.left=current} op=ComparisonOperator right=AdditiveExpression)?; public ComparisonExpressionElements getComparisonExpressionAccess() { return pComparisonExpression; } @@ -3190,7 +3565,7 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder { } //enum AdditiveBinaryOperator returns BinaryOperator: - // ADD="+" | SUB="-"; + // PLUS="+" | MINUS="-"; public AdditiveBinaryOperatorElements getAdditiveBinaryOperatorAccess() { return eAdditiveBinaryOperator; } @@ -3210,7 +3585,7 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder { } //enum MultiplicativeBinaryOperator returns BinaryOperator: - // MUL="*" | DIV="/"; + // MULTIPLY="*" | DIVIDE="/"; public MultiplicativeBinaryOperatorElements getMultiplicativeBinaryOperatorAccess() { return eMultiplicativeBinaryOperator; } @@ -3250,7 +3625,7 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder { } //CastExpression Expression: - // UnaryExpression ({CastExpression.body=current} "as" type=[NamedElement|QualifiedName])?; + // UnaryExpression ({CastExpression.body=current} "as" targetType=[Symbol|QualifiedName])?; public CastExpressionElements getCastExpressionAccess() { return pCastExpression; } @@ -3259,18 +3634,18 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder { return getCastExpressionAccess().getRule(); } - //enum UnaryOp: - // NEG="!" | PLUS="+" | MINUS="-" | MAY="may" | MUST="must" | CURRENT="current"; - public UnaryOpElements getUnaryOpAccess() { - return eUnaryOp; + //enum UnaryOperator: + // NOT="!" | PLUS="+" | MINUS="-" | MAYBE="?"; + public UnaryOperatorElements getUnaryOperatorAccess() { + return eUnaryOperator; } - public EnumRule getUnaryOpRule() { - return getUnaryOpAccess().getRule(); + public EnumRule getUnaryOperatorRule() { + return getUnaryOperatorAccess().getRule(); } //UnaryExpression Expression: - // AggregationExpression | {UnaryExpression} op=UnaryOp body=AggregationExpression; + // BracedAggregateExpression | {UnaryExpression} op=UnaryOperator body=BracedAggregateExpression; public UnaryExpressionElements getUnaryExpressionAccess() { return pUnaryExpression; } @@ -3279,48 +3654,18 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder { return getUnaryExpressionAccess().getRule(); } - //AggregationExpression Expression: - // AtomicExpression | QuantifiedExpression | Aggregation; - public AggregationExpressionElements getAggregationExpressionAccess() { - return pAggregationExpression; - } - - public ParserRule getAggregationExpressionRule() { - return getAggregationExpressionAccess().getRule(); - } - - //LocalVariables: - // {LocalVariables} "[" (variables+=Variable ("," variables+=Variable)*)? "]"; - public LocalVariablesElements getLocalVariablesAccess() { - return pLocalVariables; + //BracedAggregateExpression Expression: + // AtomicExpression | Aggregation | Count; + public BracedAggregateExpressionElements getBracedAggregateExpressionAccess() { + return pBracedAggregateExpression; } - public ParserRule getLocalVariablesRule() { - return getLocalVariablesAccess().getRule(); - } - - //enum Quantifier: - // EXISTS="exists" | FORALL="forall" | COUNT="count"; - public QuantifierElements getQuantifierAccess() { - return eQuantifier; - } - - public EnumRule getQuantifierRule() { - return getQuantifierAccess().getRule(); - } - - //QuantifiedExpression: - // quantifier=Quantifier localVariables=LocalVariables? "{" body=Expression "}"; - public QuantifiedExpressionElements getQuantifiedExpressionAccess() { - return pQuantifiedExpression; - } - - public ParserRule getQuantifiedExpressionRule() { - return getQuantifiedExpressionAccess().getRule(); + public ParserRule getBracedAggregateExpressionRule() { + return getBracedAggregateExpressionAccess().getRule(); } //Aggregation: - // op=[NamedElement|QualifiedName] localVariables=LocalVariables? "{" body=Expression ("|" condition=Expression)? "}"; + // op=[Symbol|QualifiedName] "{" value=Expression "|" condition=Expression "}"; public AggregationElements getAggregationAccess() { return pAggregation; } @@ -3329,6 +3674,16 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder { return getAggregationAccess().getRule(); } + //Count: + // "count" "{" condition=Expression "}"; + public CountElements getCountAccess() { + return pCount; + } + + public ParserRule getCountRule() { + return getCountAccess().getRule(); + } + //AtomicExpression Expression: // Reference | Call | Interval | Literal | "(" Expression ")"; public AtomicExpressionElements getAtomicExpressionAccess() { @@ -3340,8 +3695,7 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder { } //Call: - // functor=Reference (transitiveClosure?=TRANSITIVE_CLOSURE | reflexiveTransitiveClosure?=REFLEXIVE_TRANSITIVE_CLOSURE)? - // argumentList=ArgumentList; + // functor=Reference argumentList=ArgumentList; public CallElements getCallAccess() { return pCall; } @@ -3361,7 +3715,7 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder { } //Argument: - // ExpressionArgument | StarArgument | TypedArgument | TypedStarArgument; + // ExpressionArgument | StarArgument | TypedVariableArgument | TypedStarArgument; public ArgumentElements getArgumentAccess() { return pArgument; } @@ -3371,7 +3725,7 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder { } //ExpressionArgument: - // body=ComparisonExpression; + // expression=ComparisonExpression; public ExpressionArgumentElements getExpressionArgumentAccess() { return pExpressionArgument; } @@ -3390,18 +3744,18 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder { return getStarArgumentAccess().getRule(); } - //TypedArgument: - // type=[NamedElement|QualifiedName] variable=[NamedElement|QualifiedName]; - public TypedArgumentElements getTypedArgumentAccess() { - return pTypedArgument; + //TypedVariableArgument: + // typeReference=TypeReference name=ID; + public TypedVariableArgumentElements getTypedVariableArgumentAccess() { + return pTypedVariableArgument; } - public ParserRule getTypedArgumentRule() { - return getTypedArgumentAccess().getRule(); + public ParserRule getTypedVariableArgumentRule() { + return getTypedVariableArgumentAccess().getRule(); } //TypedStarArgument: - // type=[NamedElement|QualifiedName] "*"; + // typeReference=TypeReference "*"; public TypedStarArgumentElements getTypedStarArgumentAccess() { return pTypedStarArgument; } @@ -3411,7 +3765,7 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder { } //Reference: - // referred=[NamedElement|QualifiedName]; + // components+=PathComponent ("." components+=PathComponent)*; public ReferenceElements getReferenceAccess() { return pReference; } @@ -3420,8 +3774,19 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder { return getReferenceAccess().getRule(); } + //PathComponent: + // inverse?="~"? symbol=[Symbol|QualifiedName] (transitiveClosure?=TRANSITIVE_CLOSURE | + // reflexiveTransitiveClosure?=REFLEXIVE_TRANSITIVE_CLOSURE)?; + public PathComponentElements getPathComponentAccess() { + return pPathComponent; + } + + public ParserRule getPathComponentRule() { + return getPathComponentAccess().getRule(); + } + //Interval: - // "[" lowerBound=Expression ".." upperBound=Expression "]"; + // "[" lowerBound=AdditiveExpression "," upperBound=AdditiveExpression "]"; public IntervalElements getIntervalAccess() { return pInterval; } @@ -3431,7 +3796,7 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder { } //Literal: - // LogicLiteral | NumericLiteral | InfinityLiteral | EmptyIntervalLiteral | StringLiteral; + // LogicLiteral | IntLiteral | RealLiteral | InfinityLiteral | EmptyLiteral | StringLiteral; public LiteralElements getLiteralAccess() { return pLiteral; } @@ -3460,14 +3825,24 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder { return getLogicLiteralAccess().getRule(); } - //NumericLiteral: + //IntLiteral: + // value=INT; + public IntLiteralElements getIntLiteralAccess() { + return pIntLiteral; + } + + public ParserRule getIntLiteralRule() { + return getIntLiteralAccess().getRule(); + } + + //RealLiteral: // value=Real; - public NumericLiteralElements getNumericLiteralAccess() { - return pNumericLiteral; + public RealLiteralElements getRealLiteralAccess() { + return pRealLiteral; } - public ParserRule getNumericLiteralRule() { - return getNumericLiteralAccess().getRule(); + public ParserRule getRealLiteralRule() { + return getRealLiteralAccess().getRule(); } //InfinityLiteral: @@ -3480,14 +3855,14 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder { return getInfinityLiteralAccess().getRule(); } - //EmptyIntervalLiteral: - // {EmptyIntervalLiteral} "empty"; - public EmptyIntervalLiteralElements getEmptyIntervalLiteralAccess() { - return pEmptyIntervalLiteral; + //EmptyLiteral: + // {EmptyLiteral} "empty"; + public EmptyLiteralElements getEmptyLiteralAccess() { + return pEmptyLiteral; } - public ParserRule getEmptyIntervalLiteralRule() { - return getEmptyIntervalLiteralAccess().getRule(); + public ParserRule getEmptyLiteralRule() { + return getEmptyLiteralAccess().getRule(); } //StringLiteral: @@ -3500,31 +3875,30 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder { return getStringLiteralAccess().getRule(); } - //ClassDefinition: - // abstract?="abstract"? "class" name=ID ("extends" superclasses+=[NamedElement|QualifiedName] ("," - // superclasses+=[NamedElement|QualifiedName])*)? - // "{" members+=MemberDefinition* "}"; - public ClassDefinitionElements getClassDefinitionAccess() { - return pClassDefinition; + //ClassDeclaration: + // (abstract?="abstract"? & root?="root"?) "class" name=ID ("extends" supertypes+=[Symbol|QualifiedName] ("," + // supertypes+=[Symbol|QualifiedName])*)? ("{" fields+=Field* "}" | FULL_STOP); + public ClassDeclarationElements getClassDeclarationAccess() { + return pClassDeclaration; } - public ParserRule getClassDefinitionRule() { - return getClassDefinitionAccess().getRule(); + public ParserRule getClassDeclarationRule() { + return getClassDeclarationAccess().getRule(); } - //MemberDefinition: - // containment?="contains"? type=[NamedElement|QualifiedName] multiplicity=Multiplicity? name=ID ("opposite" - // opposite=[NamedElement|QualifiedName])? ";"?; - public MemberDefinitionElements getMemberDefinitionAccess() { - return pMemberDefinition; + //Field: + // (containment?="contains" | crossReference?="refers")? type=[Symbol|QualifiedName] multiplicity=Multiplicity? + // name=ID ("opposite" opposite=[Symbol|QualifiedName])? ";"?; + public FieldElements getFieldAccess() { + return pField; } - public ParserRule getMemberDefinitionRule() { - return getMemberDefinitionAccess().getRule(); + public ParserRule getFieldRule() { + return getFieldAccess().getRule(); } //Multiplicity: - // ManyMultiplicity | ExactMultiplicity | BoundedMultiplicity; + // UnboundedMultiplicity | ExactMultiplicity | BoundedMultiplicity; public MultiplicityElements getMultiplicityAccess() { return pMultiplicity; } @@ -3533,18 +3907,18 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder { return getMultiplicityAccess().getRule(); } - //ManyMultiplicity: - // {ManyMultiplicity} "[" "]"; - public ManyMultiplicityElements getManyMultiplicityAccess() { - return pManyMultiplicity; + //UnboundedMultiplicity: + // {UnboundedMultiplicity} "[" "]"; + public UnboundedMultiplicityElements getUnboundedMultiplicityAccess() { + return pUnboundedMultiplicity; } - public ParserRule getManyMultiplicityRule() { - return getManyMultiplicityAccess().getRule(); + public ParserRule getUnboundedMultiplicityRule() { + return getUnboundedMultiplicityAccess().getRule(); } //ExactMultiplicity: - // "[" multiplicity=UpperMultiplicty "]"; + // "[" value=UpperMultiplicty "]"; public ExactMultiplicityElements getExactMultiplicityAccess() { return pExactMultiplicity; } @@ -3554,7 +3928,7 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder { } //BoundedMultiplicity: - // "[" lowerBound=INT ".." upperBound=UpperMultiplicty "]"; + // "[" lowerBound=INT "," upperBound=UpperMultiplicty "]"; public BoundedMultiplicityElements getBoundedMultiplicityAccess() { return pBoundedMultiplicity; } @@ -3563,50 +3937,70 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder { return getBoundedMultiplicityAccess().getRule(); } - //ScopeDefinition: - // ExactScopeDefinition | BoundedScopeDefinition | LowerBoundedScopeDefinition; - public ScopeDefinitionElements getScopeDefinitionAccess() { - return pScopeDefinition; + //EnumDeclaration: + // "enum" name=ID ("{" (literals+=EnumLiteral (","? literals+=EnumLiteral)*)? "}" | FULL_STOP); + public EnumDeclarationElements getEnumDeclarationAccess() { + return pEnumDeclaration; + } + + public ParserRule getEnumDeclarationRule() { + return getEnumDeclarationAccess().getRule(); + } + + //EnumLiteral: + // name=ID; + public EnumLiteralElements getEnumLiteralAccess() { + return pEnumLiteral; } - public ParserRule getScopeDefinitionRule() { - return getScopeDefinitionAccess().getRule(); + public ParserRule getEnumLiteralRule() { + return getEnumLiteralAccess().getRule(); } - //ExactScopeDefinition: - // "scope" type=[NamedElement|QualifiedName] "==" exactScope=INT; - public ExactScopeDefinitionElements getExactScopeDefinitionAccess() { - return pExactScopeDefinition; + //ScopeDeclaration: + // ExactScope | BoundedScope | LowerBoundedScope; + public ScopeDeclarationElements getScopeDeclarationAccess() { + return pScopeDeclaration; } - public ParserRule getExactScopeDefinitionRule() { - return getExactScopeDefinitionAccess().getRule(); + public ParserRule getScopeDeclarationRule() { + return getScopeDeclarationAccess().getRule(); } - //BoundedScopeDefinition: - // "scope" ((lowerBound=INT "<=")? type=[NamedElement|QualifiedName] "<=" upperBound=INT | upperBound=INT ">=" - // type=[NamedElement|QualifiedName] (">=" lowerBound=INT)?); - public BoundedScopeDefinitionElements getBoundedScopeDefinitionAccess() { - return pBoundedScopeDefinition; + //ExactScope: + // "scope" type=[Symbol|QualifiedName] "==" size=INT FULL_STOP; + public ExactScopeElements getExactScopeAccess() { + return pExactScope; } - public ParserRule getBoundedScopeDefinitionRule() { - return getBoundedScopeDefinitionAccess().getRule(); + public ParserRule getExactScopeRule() { + return getExactScopeAccess().getRule(); } - //LowerBoundedScopeDefinition: - // "scope" (lowerBound=INT "<=" type=[NamedElement|QualifiedName] | type=[NamedElement|QualifiedName] ">=" - // lowerBound=INT); - public LowerBoundedScopeDefinitionElements getLowerBoundedScopeDefinitionAccess() { - return pLowerBoundedScopeDefinition; + //BoundedScope: + // "scope" ((lowerBound=INT "<=")? type=[Symbol|QualifiedName] "<=" upperBound=INT | upperBound=INT ">=" + // type=[Symbol|QualifiedName] (">=" lowerBound=INT)?) FULL_STOP; + public BoundedScopeElements getBoundedScopeAccess() { + return pBoundedScope; } - public ParserRule getLowerBoundedScopeDefinitionRule() { - return getLowerBoundedScopeDefinitionAccess().getRule(); + public ParserRule getBoundedScopeRule() { + return getBoundedScopeAccess().getRule(); + } + + //LowerBoundedScope: + // "scope" (lowerBound=INT "<=" type=[Symbol|QualifiedName] | type=[Symbol|QualifiedName] ">=" lowerBound=INT) + // FULL_STOP; + public LowerBoundedScopeElements getLowerBoundedScopeAccess() { + return pLowerBoundedScope; + } + + public ParserRule getLowerBoundedScopeRule() { + return getLowerBoundedScopeAccess().getRule(); } //enum ObjectiveKind: - // MINIMIZE="minimize" | MAXIMIZE="maximize"; + // MINIMIZATION="minimize" | MAXIMIZATION="maximize"; public ObjectiveKindElements getObjectiveKindAccess() { return eObjectiveKind; } @@ -3615,14 +4009,14 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder { return getObjectiveKindAccess().getRule(); } - //ObjectiveDefinition: - // kind=ObjectiveKind objective=Expression; - public ObjectiveDefinitionElements getObjectiveDefinitionAccess() { - return pObjectiveDefinition; + //ObjectiveDeclaration: + // kind=ObjectiveKind objective=Expression FULL_STOP; + public ObjectiveDeclarationElements getObjectiveDeclarationAccess() { + return pObjectiveDeclaration; } - public ParserRule getObjectiveDefinitionRule() { - return getObjectiveDefinitionAccess().getRule(); + public ParserRule getObjectiveDeclarationRule() { + return getObjectiveDeclarationAccess().getRule(); } //UpperMultiplicty ecore::EInt: @@ -3636,7 +4030,7 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder { } //Real ecore::EBigDecimal hidden(): - // INT ("." INT)?; + // INT "." INT; public RealElements getRealAccess() { return pReal; } @@ -3645,8 +4039,18 @@ public class SolverLanguageGrammarAccess extends AbstractGrammarElementFinder { return getRealAccess().getRule(); } + //QualifiedNameSegment: + // ID | QUOTED_ID | "object"; + public QualifiedNameSegmentElements getQualifiedNameSegmentAccess() { + return pQualifiedNameSegment; + } + + public ParserRule getQualifiedNameSegmentRule() { + return getQualifiedNameSegmentAccess().getRule(); + } + //QualifiedName hidden(): - // ID ("." ID)* | QUOTED_ID; + // QualifiedNameSegment ("::" QualifiedNameSegment)*; public QualifiedNameElements getQualifiedNameAccess() { return pQualifiedName; } diff --git a/Application/org.eclipse.viatra.solver.language/src/org/eclipse/viatra/solver/language/GenerateSolverLanguage.mwe2 b/Application/org.eclipse.viatra.solver.language/src/org/eclipse/viatra/solver/language/GenerateSolverLanguage.mwe2 index 50072f0d..644e681d 100644 --- a/Application/org.eclipse.viatra.solver.language/src/org/eclipse/viatra/solver/language/GenerateSolverLanguage.mwe2 +++ b/Application/org.eclipse.viatra.solver.language/src/org/eclipse/viatra/solver/language/GenerateSolverLanguage.mwe2 @@ -32,7 +32,7 @@ Workflow { language = StandardLanguage { name = "org.eclipse.viatra.solver.language.SolverLanguage" fileExtensions = "vsc" - referencedResource = "platform:/resource/org.eclipse.viatra.solver.language/model/SolverLanguage.genmodel" + referencedResource = "platform:/resource/org.eclipse.viatra.solver.language.model/model/model.genmodel" serializer = { generateStub = false diff --git a/Application/org.eclipse.viatra.solver.language/src/org/eclipse/viatra/solver/language/SolverLanguage.xtext b/Application/org.eclipse.viatra.solver.language/src/org/eclipse/viatra/solver/language/SolverLanguage.xtext index d0578d78..51115da0 100644 --- a/Application/org.eclipse.viatra.solver.language/src/org/eclipse/viatra/solver/language/SolverLanguage.xtext +++ b/Application/org.eclipse.viatra.solver.language/src/org/eclipse/viatra/solver/language/SolverLanguage.xtext @@ -3,66 +3,80 @@ import "http://www.eclipse.org/emf/2002/Ecore" as ecore import "http://www.eclipse.org/viatra/solver/language/SolverLanguage" Problem: - (statements+=Statement)*; + ("problem" name=QualifiedName FULL_STOP)? + imports+=Import* + statements+=Statement*; Statement: ( - AssertionOrDefinition | PredicateDefinition | UnnamedErrorPrediateDefinition | DefaultDefinition | MetricDefinition | - ExternPredicateDefinition | ExternMetricDefinition | ExternAggregatorDefinition | ExternDatatypeDefinition | - ClassDefinition | ScopeDefinition | ObjectiveDefinition - ) FULL_STOP; + AssertionOrDefinition | PredicateDefinition | UnnamedErrorPredicateDefintion | DefaultAssertion | + FunctionDefinition | Attribute | ExternDeclaration | ScopeDeclaration | ObjectiveDeclaration | + ClassDeclaration | EnumDeclaration + ); + +Import: + UriImport | NamespaceImport; + +UriImport: + "import" uri=STRING ("as" alias=QualifiedName) FULL_STOP; + +NamespaceImport: + "import" importedNamespace=QualifiedName ("as" alias=QualifiedName) FULL_STOP; AssertionOrDefinition returns Statement: Expression ( - {Interpretation.body=current} ":" range=Expression | + {Assertion.expression=current} (":" range=Expression)? | {PredicateDefinition.head=current} ":-" body=Expression | - {MetricDefinition.head=current} "=" body=Expression - )?; + {FunctionDefinition.head=current} ":=" body=Expression + ) FULL_STOP; PredicateDefinition: - (functional?="functional" error?="error"? | error?="error" functional?="functional"?) head=Call ":-" body=Expression; + (functional?="functional" error?="error"? | error?="error" functional?="functional"?) head=Call ":-" body=Expression FULL_STOP; -UnnamedErrorPrediateDefinition: - "error" argumentList=ArgumentList ":-" body=Expression; +UnnamedErrorPredicateDefintion: + "error" argumentList=ArgumentList ":-" body=Expression FULL_STOP; -DefaultDefinition: - "default" head=Call ":" range=Expression; +DefaultAssertion: + "default" expression=Call (":" range=Expression)? FULL_STOP; -MetricDefinition: - type=[NamedElement|QualifiedName] head=Call "=" body=Expression; +FunctionDefinition: + resultType=[Symbol|QualifiedName] head=Call ":=" body=Expression FULL_STOP; -ExternPredicateDefinition: - "extern" name=QualifiedName argumentList=ArgumentList; +TypeReference: + type=[Symbol|QualifiedName] forceObjectType?="object"?; -ExternMetricDefinition: - "extern" type=[NamedElement|QualifiedName] name=QualifiedName argumentList=ArgumentList; +enum AttributeKind: + FUNCTIONAL="functional" | ERROR="error" | ROOT="root" | CONTAINMENT="containment"; -ExternAggregatorDefinition: - "extern" type=[NamedElement|QualifiedName] name=QualifiedName "{" inputType=[NamedElement|QualifiedName] "..." "}"; +Attribute: + kind=AttributeKind target=[Symbol|QualifiedName] FULL_STOP; -ExternDatatypeDefinition: - "extern" "datatype" name=QualifiedName ("extends" supertypes+=[NamedElement|QualifiedName] ("," supertypes+=[NamedElement|QualifiedName])*); +ExternDeclaration: + ExternPredicateDeclaration | ExternFunctionDeclaration | ExternAggregationOperatorDeclaration | ExternDatatypeDeclaration; -Variable: - type=[NamedElement|QualifiedName]? name=ID; +ExternPredicateDeclaration: + "extern" (functional?="functional"? & error?="error"?) name=QualifiedName argumentList=ArgumentList FULL_STOP; + +ExternFunctionDeclaration: + "extern" resultType=[Symbol|QualifiedName] name=QualifiedName argumentList=ArgumentList FULL_STOP; + +ExternAggregationOperatorDeclaration: + "extern" resultType=[Symbol|QualifiedName] name=QualifiedName "{" argumentType=[Symbol|QualifiedName] "..." "}" FULL_STOP; + +ExternDatatypeDeclaration: + "extern" "datatype" name=QualifiedName FULL_STOP; Expression: - IfElse | Let | ImplicationExpression; + ConditionalExpression | LetExpression | DisjunctiveExpression ({Forall.condition=current} "=>" body=DisjunctiveExpression)?; -IfElse: - "if" condition=Expression "then" then=Expression "else" else=Expression; +ConditionalExpression: + "if" condition=DisjunctiveExpression "then" then=Expression "else" else=Expression; -Let: +LetExpression: "let" bindings+=LetBinding ("," bindings+=LetBinding)* "in" body=Expression; LetBinding: - variable=Variable "=" value=AdditiveExpression; - -enum ImplicationOperator returns BinaryOperator: - IMPLIES = "=>"; - -ImplicationExpression returns Expression: - DisjunctiveExpression ({BinaryExpression.left=current} op=ImplicationOperator right=ImplicationExpression)?; + type=[Symbol|QualifiedName]? name=ID "=" value=AdditiveExpression; DisjunctiveExpression returns Expression: ConjunctiveExpression ( @@ -77,19 +91,19 @@ ConjunctiveExpression returns Expression: ComparisonExpression ({Conjunction.children+=current} ("," children+=ComparisonExpression)+)?; enum ComparisonOperator returns BinaryOperator: - EQ="==" | NOT_EQ="!=" | LESS="<" | LESS_EQ="<=" | GREATER=">" | GREATER_EQ=">=" | IN="in"; + EQUALS="==" | NOT_EQUALS="!=" | LESS="<" | LESS_EQUALS="<=" | GREATER=">" | GREATER_EQUALS=">=" | IN="in"; ComparisonExpression returns Expression: - AdditiveExpression ({Comparison.left=current} op=ComparisonOperator right=AdditiveExpression)?; + AdditiveExpression ({BinaryExpression.left=current} op=ComparisonOperator right=AdditiveExpression)?; enum AdditiveBinaryOperator returns BinaryOperator: - ADD="+" | SUB="-"; + PLUS="+" | MINUS="-"; AdditiveExpression returns Expression: MultiplicativeExpression ({BinaryExpression.left=current} op=AdditiveBinaryOperator right=MultiplicativeExpression)*; enum MultiplicativeBinaryOperator returns BinaryOperator: - MUL="*" | DIV="/"; + MULTIPLY="*" | DIVIDE="/"; MultiplicativeExpression returns Expression: ExponentialExpression ({BinaryExpression.left=current} op=MultiplicativeBinaryOperator right=ExponentialExpression)*; @@ -101,61 +115,59 @@ ExponentialExpression returns Expression: CastExpression ({BinaryExpression.left=current} op=ExponentialOp right=CastExpression)?; CastExpression returns Expression: - UnaryExpression ({CastExpression.body=current} "as" type=[NamedElement|QualifiedName])?; + UnaryExpression ({CastExpression.body=current} "as" targetType=[Symbol|QualifiedName])?; -enum UnaryOp: - NEG="!" | PLUS="+" | MINUS="-" | MAY="may" | MUST="must" | CURRENT="current"; +enum UnaryOperator: + NOT="!" | PLUS="+" | MINUS="-" | MAYBE="?"; UnaryExpression returns Expression: - AggregationExpression | {UnaryExpression} op=UnaryOp body=AggregationExpression; - -AggregationExpression returns Expression: - AtomicExpression | QuantifiedExpression | Aggregation; + BracedAggregateExpression | {UnaryExpression} op=UnaryOperator body=BracedAggregateExpression; -LocalVariables: - {LocalVariables} "[" (variables+=Variable ("," variables+=Variable)*)? "]"; - -enum Quantifier: - EXISTS="exists" | FORALL="forall" | COUNT="count"; - -QuantifiedExpression: - quantifier=Quantifier localVariables=LocalVariables? "{" body=Expression "}"; +BracedAggregateExpression returns Expression: + AtomicExpression | Aggregation | Count ; Aggregation: - op=[NamedElement|QualifiedName] localVariables=LocalVariables? "{" body=Expression ("|" condition=Expression)? "}"; + op=[Symbol|QualifiedName] "{" value=Expression "|" condition=Expression "}"; + +Count: + "count" "{" condition=Expression "}"; AtomicExpression returns Expression: Reference | Call | Interval | Literal | "(" Expression ")"; Call: - functor=Reference (transitiveClosure?=TRANSITIVE_CLOSURE | reflexiveTransitiveClosure?=REFLEXIVE_TRANSITIVE_CLOSURE)? argumentList=ArgumentList; + functor=Reference argumentList=ArgumentList; ArgumentList: {ArgumentList} "(" (arguments+=Argument ("," arguments+=Argument)*)? ")"; Argument: - ExpressionArgument | StarArgument | TypedArgument | TypedStarArgument; + ExpressionArgument | StarArgument | TypedVariableArgument | TypedStarArgument; ExpressionArgument: - body=ComparisonExpression; + expression=ComparisonExpression; StarArgument: {StarArgument} "*"; -TypedArgument: - type=[NamedElement|QualifiedName] variable=[NamedElement|QualifiedName]; +TypedVariableArgument: + typeReference=TypeReference name=ID; TypedStarArgument: - type=[NamedElement|QualifiedName] "*"; + typeReference=TypeReference "*"; Reference: - referred=[NamedElement|QualifiedName]; + components+=PathComponent ("." components+=PathComponent)*; + +PathComponent: + inverse?="~"? symbol=[Symbol|QualifiedName] + (transitiveClosure?=TRANSITIVE_CLOSURE | reflexiveTransitiveClosure?=REFLEXIVE_TRANSITIVE_CLOSURE)?; Interval: - "[" lowerBound=Expression ".." upperBound=Expression "]"; + "[" lowerBound=AdditiveExpression "," upperBound=AdditiveExpression "]"; Literal: - LogicLiteral | NumericLiteral | InfinityLiteral | EmptyIntervalLiteral | StringLiteral; + LogicLiteral | IntLiteral | RealLiteral | InfinityLiteral | EmptyLiteral | StringLiteral; enum LogicValue: TRUE="true" | FALSE="false" | UNKNOWN="unknown" | ERROR="error"; @@ -163,69 +175,82 @@ enum LogicValue: LogicLiteral: value=LogicValue; -NumericLiteral: +IntLiteral: + value=INT; + +RealLiteral: value=Real; InfinityLiteral: {InfinityLiteral} "inf"; -EmptyIntervalLiteral: - {EmptyIntervalLiteral} "empty"; +EmptyLiteral: + {EmptyLiteral} "empty"; StringLiteral: value=STRING; -ClassDefinition: - abstract?="abstract"? "class" name=ID ("extends" superclasses+=[NamedElement|QualifiedName] ("," superclasses+=[NamedElement|QualifiedName])*)? - "{" members+=MemberDefinition* "}"; +ClassDeclaration: + (abstract?="abstract"? & root?="root"?) "class" name=ID ("extends" supertypes+=[Symbol|QualifiedName] ("," supertypes+=[Symbol|QualifiedName])*)? + ("{" fields+=Field* "}" | FULL_STOP); -MemberDefinition: - containment?="contains"? type=[NamedElement|QualifiedName] multiplicity=Multiplicity? name=ID ("opposite" opposite=[NamedElement|QualifiedName])? ";"?; +Field: + (containment?="contains" | crossReference?="refers")? type=[Symbol|QualifiedName] multiplicity=Multiplicity? + name=ID ("opposite" opposite=[Symbol|QualifiedName])? ";"?; Multiplicity: - ManyMultiplicity | ExactMultiplicity | BoundedMultiplicity; + UnboundedMultiplicity | ExactMultiplicity | BoundedMultiplicity; -ManyMultiplicity: - {ManyMultiplicity} "[" "]"; +UnboundedMultiplicity: + {UnboundedMultiplicity} "[" "]"; ExactMultiplicity: - "[" multiplicity=UpperMultiplicty "]"; + "[" value=UpperMultiplicty "]"; BoundedMultiplicity: - "[" lowerBound=INT ".." upperBound=UpperMultiplicty "]"; + "[" lowerBound=INT "," upperBound=UpperMultiplicty "]"; + +EnumDeclaration: + "enum" name=ID ("{" (literals+=EnumLiteral (","? literals+=EnumLiteral)*)? "}" | FULL_STOP); -ScopeDefinition: - ExactScopeDefinition | BoundedScopeDefinition | LowerBoundedScopeDefinition; +EnumLiteral: + name=ID; -ExactScopeDefinition: - "scope" type=[NamedElement|QualifiedName] "==" exactScope=INT; +ScopeDeclaration: + ExactScope | BoundedScope | LowerBoundedScope; -BoundedScopeDefinition: +ExactScope: + "scope" type=[Symbol|QualifiedName] "==" size=INT FULL_STOP; + +BoundedScope: "scope" ( - (lowerBound=INT "<=")? type=[NamedElement|QualifiedName] "<=" upperBound=INT | - upperBound=INT ">=" type=[NamedElement|QualifiedName] (">=" lowerBound=INT)? - ); + (lowerBound=INT "<=")? type=[Symbol|QualifiedName] "<=" upperBound=INT | + upperBound=INT ">=" type=[Symbol|QualifiedName] (">=" lowerBound=INT)? + ) FULL_STOP; -LowerBoundedScopeDefinition: +LowerBoundedScope: "scope" ( - lowerBound=INT "<=" type=[NamedElement|QualifiedName] | - type=[NamedElement|QualifiedName] ">=" lowerBound=INT - ); + lowerBound=INT "<=" type=[Symbol|QualifiedName] | + type=[Symbol|QualifiedName] ">=" lowerBound=INT + ) FULL_STOP; enum ObjectiveKind: - MINIMIZE="minimize" | MAXIMIZE="maximize"; + MINIMIZATION="minimize" | MAXIMIZATION="maximize"; -ObjectiveDefinition: - kind=ObjectiveKind objective=Expression; +ObjectiveDeclaration: + kind=ObjectiveKind objective=Expression FULL_STOP; UpperMultiplicty returns ecore::EInt: INT | "*"; Real returns ecore::EBigDecimal hidden(): - INT ("." INT)?; + INT "." INT; + +QualifiedNameSegment: + ID | QUOTED_ID | "object"; QualifiedName hidden(): - ID ("." ID)* | QUOTED_ID; + QualifiedNameSegment ("::" QualifiedNameSegment)*; @Override terminal STRING returns ecore::EString: diff --git a/Application/org.eclipse.viatra.solver.language/src/org/eclipse/viatra/solver/language/parser/antlr/SolverLanguageTokenSource.java b/Application/org.eclipse.viatra.solver.language/src/org/eclipse/viatra/solver/language/parser/antlr/SolverLanguageTokenSource.java index 4c1dacd5..70e7e492 100644 --- a/Application/org.eclipse.viatra.solver.language/src/org/eclipse/viatra/solver/language/parser/antlr/SolverLanguageTokenSource.java +++ b/Application/org.eclipse.viatra.solver.language/src/org/eclipse/viatra/solver/language/parser/antlr/SolverLanguageTokenSource.java @@ -29,6 +29,7 @@ public class SolverLanguageTokenSource implements TokenSource { private int plusTokenId = -1; private int starTokenId = -1; private int dotTokenId = -1; + private int tildeTokenId = -1; private int openParenTokenId = -1; public SolverLanguageTokenSource(TokenSource delegate) { @@ -42,33 +43,49 @@ public class SolverLanguageTokenSource implements TokenSource { @Override public Token nextToken() { - Token token = internalNextToken(); + Token token; + if (acceptor.hasNext()) { + token = acceptor.next(); + } else { + token = delegate.nextToken(); + } + postProcessToken(token); lastTokenId = token.getType(); return token; } - protected Token internalNextToken() { - if (acceptor.hasNext()) { - return acceptor.next(); - } - Token token = delegate.nextToken(); + protected void postProcessToken(Token token) { int type = token.getType(); if (type == plusTokenId) { - if ((lastTokenId == RULE_ID || lastTokenId == RULE_QUOTED_ID) - && peekUntilVisible().getType() == openParenTokenId) { + if (isTransitiveClosureInReferenceContext()) { token.setType(RULE_TRANSITIVE_CLOSURE); } } else if (type == starTokenId) { - if ((lastTokenId == RULE_ID || lastTokenId == RULE_QUOTED_ID) - && peekUntilVisible().getType() == openParenTokenId) { + if (isTransitiveClosureInReferenceContext()) { token.setType(RULE_REFLEXIVE_TRANSITIVE_CLOSURE); } } else if (type == dotTokenId) { - if ((lastTokenId != RULE_ID && lastTokenId != RULE_INT) || peekToken().getType() != lastTokenId) { + if (isFullStopContext()) { token.setType(RULE_FULL_STOP); } } - return token; + } + + private boolean isIdFragment(int tokenId) { + return tokenId == RULE_ID || tokenId == RULE_QUOTED_ID; + } + + private boolean isTransitiveClosureInReferenceContext() { + int nextVisibleTokenId = peekUntilVisible().getType(); + return isIdFragment(lastTokenId) + && (nextVisibleTokenId == dotTokenId || nextVisibleTokenId == openParenTokenId); + } + + private boolean isFullStopContext() { + int nextTokenId = peekToken().getType(); + boolean inReference = isIdFragment(lastTokenId) && (isIdFragment(nextTokenId) || nextTokenId == tildeTokenId); + boolean inReal = lastTokenId == RULE_INT && nextTokenId == RULE_INT; + return !(inReference || inReal); } protected Token peekUntilVisible() { @@ -101,6 +118,9 @@ public class SolverLanguageTokenSource implements TokenSource { case "'.'": dotTokenId = entry.getKey(); break; + case "'~'": + tildeTokenId = entry.getKey(); + break; case "'('": openParenTokenId = entry.getKey(); break; @@ -115,6 +135,9 @@ public class SolverLanguageTokenSource implements TokenSource { if (dotTokenId == -1) { throw new IllegalStateException("Token '.' was not found"); } + if (tildeTokenId == -1) { + throw new IllegalStateException("Token '~' was not found"); + } if (openParenTokenId == -1) { throw new IllegalStateException("Token '(' was not found"); } diff --git a/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/parser/antlr/.SolverLanguageTokenDefInjectingParser.xtendbin b/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/parser/antlr/.SolverLanguageTokenDefInjectingParser.xtendbin index c8d4144d..61001113 100644 Binary files a/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/parser/antlr/.SolverLanguageTokenDefInjectingParser.xtendbin and b/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/parser/antlr/.SolverLanguageTokenDefInjectingParser.xtendbin differ diff --git a/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/serializer/.SolverLanguageSyntheticTokenSyntacticSequencer.xtendbin b/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/serializer/.SolverLanguageSyntheticTokenSyntacticSequencer.xtendbin index b16c52f7..5ab360c2 100644 Binary files a/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/serializer/.SolverLanguageSyntheticTokenSyntacticSequencer.xtendbin and b/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/serializer/.SolverLanguageSyntheticTokenSyntacticSequencer.xtendbin differ diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.originalFiles/xtend-gen/converter/.UML2TGF.xtendbin b/Tests/MODELS2020-CaseStudies/case.study.pledge.originalFiles/xtend-gen/converter/.UML2TGF.xtendbin index 4c739228..5c5071cc 100644 Binary files a/Tests/MODELS2020-CaseStudies/case.study.pledge.originalFiles/xtend-gen/converter/.UML2TGF.xtendbin and b/Tests/MODELS2020-CaseStudies/case.study.pledge.originalFiles/xtend-gen/converter/.UML2TGF.xtendbin differ -- cgit v1.2.3-70-g09d2 From 957082776dbb7efed53a783c5e5be6b443a9bb86 Mon Sep 17 00:00:00 2001 From: Kristóf Marussy Date: Sat, 27 Jun 2020 17:56:46 +0200 Subject: Fix scope + numerical propagation WIP --- .../.ApplicationConfigurationIdeModule.xtendbin | Bin 1701 -> 1701 bytes .../ide/.ApplicationConfigurationIdeSetup.xtendbin | Bin 2526 -> 2526 bytes .../.SolverSemanticHighlightCalculator.xtendbin | Bin 5334 -> 5334 bytes .../.SolverSemanticTextAttributeProvider.xtendbin | Bin 4902 -> 4902 bytes .../validation/.SolverLanguageValidator.xtendbin | Bin 1717 -> 1717 bytes ....SolverLanguageTokenDefInjectingParser.xtendbin | Bin 2742 -> 2742 bytes ...nguageSyntheticTokenSyntacticSequencer.xtendbin | Bin 2758 -> 2758 bytes .../hu.bme.mit.inf.dslreasoner.ilp.cbc/.classpath | 6 +- .../.settings/org.eclipse.jdt.core.prefs | 8 ++ .../lib/libviatracbc.so | Bin 33944 -> 46416 bytes .../MultiplicityGoalConstraintCalculator.xtend | 15 +-- .../cardinality/PolyhedronScopePropagator.xtend | 8 +- .../logic2viatra/cardinality/ScopePropagator.xtend | 14 +- .../rules/GoalConstraintProvider.xtend | 3 +- .../rules/RefinementRuleProvider.xtend | 150 ++++++++++++--------- .../PartialInterpretationInitialiser.xtend | 29 ++-- .../reasoner/ViatraReasonerConfiguration.xtend | 5 +- .../dse/BestFirstStrategyForModelGeneration.java | 22 +-- .../dse/ModelGenerationCompositeObjective.xtend | 2 +- .../viatrasolver/reasoner/dse/ScopeObjective.xtend | 2 +- .../case.study.familyTree.run/bin/.gitignore | 1 - .../inputs/SatelliteInstance.xmi | 2 +- .../src/run/RunGeneratorConfig.xtend | 6 +- 23 files changed, 136 insertions(+), 137 deletions(-) create mode 100644 Solvers/ILP-Solver/hu.bme.mit.inf.dslreasoner.ilp.cbc/.settings/org.eclipse.jdt.core.prefs delete mode 100644 Tests/MODELS2020-CaseStudies/case.study.familyTree.run/bin/.gitignore (limited to 'Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner') diff --git a/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeModule.xtendbin b/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeModule.xtendbin index b5a7c99c..94c786eb 100644 Binary files a/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeModule.xtendbin and b/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeModule.xtendbin differ diff --git a/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeSetup.xtendbin b/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeSetup.xtendbin index 9274eee0..46ab9b95 100644 Binary files a/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeSetup.xtendbin and b/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeSetup.xtendbin differ diff --git a/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/ui/syntaxcoloring/.SolverSemanticHighlightCalculator.xtendbin b/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/ui/syntaxcoloring/.SolverSemanticHighlightCalculator.xtendbin index 8e8e8c70..27dc1dd4 100644 Binary files a/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/ui/syntaxcoloring/.SolverSemanticHighlightCalculator.xtendbin and b/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/ui/syntaxcoloring/.SolverSemanticHighlightCalculator.xtendbin differ diff --git a/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/ui/syntaxcoloring/.SolverSemanticTextAttributeProvider.xtendbin b/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/ui/syntaxcoloring/.SolverSemanticTextAttributeProvider.xtendbin index 741776d1..d71f4f21 100644 Binary files a/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/ui/syntaxcoloring/.SolverSemanticTextAttributeProvider.xtendbin and b/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/ui/syntaxcoloring/.SolverSemanticTextAttributeProvider.xtendbin differ diff --git a/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/validation/.SolverLanguageValidator.xtendbin b/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/validation/.SolverLanguageValidator.xtendbin index 73356e7f..801783da 100644 Binary files a/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/validation/.SolverLanguageValidator.xtendbin and b/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/validation/.SolverLanguageValidator.xtendbin differ diff --git a/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/parser/antlr/.SolverLanguageTokenDefInjectingParser.xtendbin b/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/parser/antlr/.SolverLanguageTokenDefInjectingParser.xtendbin index 24f61d80..30c2ff9e 100644 Binary files a/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/parser/antlr/.SolverLanguageTokenDefInjectingParser.xtendbin and b/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/parser/antlr/.SolverLanguageTokenDefInjectingParser.xtendbin differ diff --git a/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/serializer/.SolverLanguageSyntheticTokenSyntacticSequencer.xtendbin b/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/serializer/.SolverLanguageSyntheticTokenSyntacticSequencer.xtendbin index eae3bd77..261f466c 100644 Binary files a/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/serializer/.SolverLanguageSyntheticTokenSyntacticSequencer.xtendbin and b/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/serializer/.SolverLanguageSyntheticTokenSyntacticSequencer.xtendbin differ diff --git a/Solvers/ILP-Solver/hu.bme.mit.inf.dslreasoner.ilp.cbc/.classpath b/Solvers/ILP-Solver/hu.bme.mit.inf.dslreasoner.ilp.cbc/.classpath index e19039ae..93829d26 100644 --- a/Solvers/ILP-Solver/hu.bme.mit.inf.dslreasoner.ilp.cbc/.classpath +++ b/Solvers/ILP-Solver/hu.bme.mit.inf.dslreasoner.ilp.cbc/.classpath @@ -1,10 +1,6 @@ - - - - - + diff --git a/Solvers/ILP-Solver/hu.bme.mit.inf.dslreasoner.ilp.cbc/.settings/org.eclipse.jdt.core.prefs b/Solvers/ILP-Solver/hu.bme.mit.inf.dslreasoner.ilp.cbc/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 00000000..9f6ece88 --- /dev/null +++ b/Solvers/ILP-Solver/hu.bme.mit.inf.dslreasoner.ilp.cbc/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,8 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8 +org.eclipse.jdt.core.compiler.compliance=1.8 +org.eclipse.jdt.core.compiler.problem.assertIdentifier=error +org.eclipse.jdt.core.compiler.problem.enumIdentifier=error +org.eclipse.jdt.core.compiler.release=disabled +org.eclipse.jdt.core.compiler.source=1.8 diff --git a/Solvers/ILP-Solver/hu.bme.mit.inf.dslreasoner.ilp.cbc/lib/libviatracbc.so b/Solvers/ILP-Solver/hu.bme.mit.inf.dslreasoner.ilp.cbc/lib/libviatracbc.so index 96289216..ba3cdc06 100755 Binary files a/Solvers/ILP-Solver/hu.bme.mit.inf.dslreasoner.ilp.cbc/lib/libviatracbc.so and b/Solvers/ILP-Solver/hu.bme.mit.inf.dslreasoner.ilp.cbc/lib/libviatracbc.so differ diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/cardinality/MultiplicityGoalConstraintCalculator.xtend b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/cardinality/MultiplicityGoalConstraintCalculator.xtend index 034420d6..b28cd584 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/cardinality/MultiplicityGoalConstraintCalculator.xtend +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/cardinality/MultiplicityGoalConstraintCalculator.xtend @@ -10,15 +10,13 @@ class MultiplicityGoalConstraintCalculator { val String targetRelationName val IQuerySpecification querySpecification var ViatraQueryMatcher matcher - val int minValue val boolean containment val int cost - public new(String targetRelationName, IQuerySpecification querySpecification, int minValue, boolean containment, int cost) { + public new(String targetRelationName, IQuerySpecification querySpecification, boolean containment, int cost) { this.targetRelationName = targetRelationName this.querySpecification = querySpecification this.matcher = null - this.minValue = minValue this.containment = containment this.cost = cost } @@ -27,7 +25,6 @@ class MultiplicityGoalConstraintCalculator { this.targetRelationName = other.targetRelationName this.querySpecification = other.querySpecification this.matcher = null - this.minValue = other.minValue this.containment = other.containment this.cost = other.cost } @@ -49,14 +46,8 @@ class MultiplicityGoalConstraintCalculator { var res = 0 val allMatches = this.matcher.allMatches for(match : allMatches) { - val existingMultiplicity = match.get(4) as Integer - if(existingMultiplicity < this.minValue) { - val missingMultiplicity = this.minValue-existingMultiplicity - res += missingMultiplicity - } -// if(missingMultiplicity!=0) { -// println(targetRelationName+ " missing multiplicity: "+missingMultiplicity) -// } + val missingMultiplicity = match.get(2) as Integer + res += missingMultiplicity } // if(res>0) // println(targetRelationName+ " all missing multiplicities: "+res + "*"+cost+"="+res*cost) diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/cardinality/PolyhedronScopePropagator.xtend b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/cardinality/PolyhedronScopePropagator.xtend index 120fb18a..9b4dff0f 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/cardinality/PolyhedronScopePropagator.xtend +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/cardinality/PolyhedronScopePropagator.xtend @@ -88,6 +88,7 @@ class PolyhedronScopePropagator extends TypeHierarchyScopePropagator { val result = operator.saturate() if (result == PolyhedronSaturationResult.EMPTY) { cache.put(signature, PolyhedronSignature.EMPTY) +// println("INVALID") setScopesInvalid() } else { val resultSignature = polyhedron.createSignature @@ -110,11 +111,8 @@ class PolyhedronScopePropagator extends TypeHierarchyScopePropagator { } } - override propagateAdditionToRelation(Relation r) { - super.propagateAdditionToRelation(r) - if (relevantRelations.contains(r)) { - propagateAllScopeConstraints() - } + override isPropagationNeededAfterAdditionToRelation(Relation r) { + relevantRelations.contains(r) || super.isPropagationNeededAfterAdditionToRelation(r) } def resetBounds() { diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/cardinality/ScopePropagator.xtend b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/cardinality/ScopePropagator.xtend index 8f3a5bb0..8350c7f4 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/cardinality/ScopePropagator.xtend +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/cardinality/ScopePropagator.xtend @@ -114,21 +114,21 @@ class ScopePropagator { } } - def void propagateAdditionToRelation(Relation r) { - // Nothing to propagate. + def isPropagationNeededAfterAdditionToRelation(Relation r) { + false } private def removeOne(Scope scope) { - if (scope.maxNewElements === 0) { - throw new IllegalArgumentException('''Inconsistent object creation: «scope.targetTypeInterpretation»''') - } else if (scope.maxNewElements > 0) { - scope.maxNewElements = scope.maxNewElements - 1 - } if (scope.minNewElements > 0) { scope.minNewElements = scope.minNewElements - 1 } if (scope.minNewElementsHeuristic > 0) { scope.minNewElementsHeuristic = scope.minNewElementsHeuristic - 1 } + if (scope.maxNewElements > 0) { + scope.maxNewElements = scope.maxNewElements - 1 + } else if (scope.maxNewElements === 0) { + setScopesInvalid() + } } } diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/rules/GoalConstraintProvider.xtend b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/rules/GoalConstraintProvider.xtend index 238ade5b..d2ee80dc 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/rules/GoalConstraintProvider.xtend +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/rules/GoalConstraintProvider.xtend @@ -15,9 +15,8 @@ class GoalConstraintProvider { val queries = entry.value val targetRelationName = constraint.relation.name val query = queries.unfinishedMultiplicityQuery - val minValue = constraint.lowerBound val containment = constraint.containment - res += new MultiplicityGoalConstraintCalculator(targetRelationName, query, minValue, containment, 1) + res += new MultiplicityGoalConstraintCalculator(targetRelationName, query, containment, 1) } } return res diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/rules/RefinementRuleProvider.xtend b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/rules/RefinementRuleProvider.xtend index 0b8a9019..863ee18b 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/rules/RefinementRuleProvider.xtend +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/rules/RefinementRuleProvider.xtend @@ -32,9 +32,12 @@ import java.util.LinkedHashMap import java.util.LinkedList import java.util.List import java.util.Map +import org.eclipse.viatra.query.runtime.api.AdvancedViatraQueryEngine import org.eclipse.viatra.query.runtime.api.GenericPatternMatch import org.eclipse.viatra.query.runtime.api.IQuerySpecification +import org.eclipse.viatra.query.runtime.api.ViatraQueryEngine import org.eclipse.viatra.query.runtime.api.ViatraQueryMatcher +import org.eclipse.viatra.query.runtime.emf.EMFScope import org.eclipse.viatra.transformation.runtime.emf.rules.batch.BatchTransformationRule import org.eclipse.viatra.transformation.runtime.emf.rules.batch.BatchTransformationRuleFactory import org.eclipse.xtend.lib.annotations.Data @@ -45,6 +48,8 @@ class RefinementRuleProvider { val extension PartialinterpretationFactory factory2 = PartialinterpretationFactory.eINSTANCE val extension LogiclanguageFactory factory3 = LogiclanguageFactory.eINSTANCE + var AdvancedViatraQueryEngine queryEngine + def canonizeName(String name) { return name.replace(' ','_') } @@ -60,6 +65,7 @@ class RefinementRuleProvider { { val res = new LinkedHashMap val recursiveObjectCreation = recursiveObjectCreation(p,i) + queryEngine = ViatraQueryEngine.on(new EMFScope(i)) as AdvancedViatraQueryEngine for(LHSEntry: patterns.refineObjectQueries.entrySet) { val containmentRelation = LHSEntry.key.containmentRelation val inverseRelation = LHSEntry.key.inverseContainment @@ -90,8 +96,7 @@ class RefinementRuleProvider { if(inverseRelation!== null) { ruleBuilder.action[match | statistics.incrementTransformationCount -// println(name) - val startTime = System.nanoTime +// println(name) //val problem = match.get(0) as LogicProblem val interpretation = match.get(1) as PartialInterpretation val relationInterpretation = match.get(2) as PartialRelationInterpretation @@ -99,79 +104,89 @@ class RefinementRuleProvider { val typeInterpretation = match.get(4) as PartialComplexTypeInterpretation val container = match.get(5) as DefinedElement - createObjectActionWithContainmentAndInverse( - nameNewElement, - interpretation, - typeInterpretation, - container, - relationInterpretation, - inverseRelationInterpretation, - [createDefinedElement], - recursiceObjectCreations, - scopePropagator - ) - - val propagatorStartTime = System.nanoTime - statistics.addExecutionTime(propagatorStartTime-startTime) + queryEngine.delayUpdatePropagation [ + val startTime = System.nanoTime + createObjectActionWithContainmentAndInverse( + nameNewElement, + interpretation, + typeInterpretation, + container, + relationInterpretation, + inverseRelationInterpretation, + [createDefinedElement], + recursiceObjectCreations, + scopePropagator + ) + statistics.addExecutionTime(System.nanoTime-startTime) + ] // Scope propagation - scopePropagator.propagateAllScopeConstraints() - statistics.addScopePropagationTime(System.nanoTime-propagatorStartTime) + queryEngine.delayUpdatePropagation [ + val propagatorStartTime = System.nanoTime + scopePropagator.propagateAllScopeConstraints() + statistics.addScopePropagationTime(System.nanoTime-propagatorStartTime) + ] ] } else { ruleBuilder.action[match | statistics.incrementTransformationCount // println(name) - val startTime = System.nanoTime //val problem = match.get(0) as LogicProblem val interpretation = match.get(1) as PartialInterpretation val relationInterpretation = match.get(2) as PartialRelationInterpretation val typeInterpretation = match.get(3) as PartialComplexTypeInterpretation val container = match.get(4) as DefinedElement - createObjectActionWithContainment( - nameNewElement, - interpretation, - typeInterpretation, - container, - relationInterpretation, - [createDefinedElement], - recursiceObjectCreations, - scopePropagator - ) - - val propagatorStartTime = System.nanoTime - statistics.addExecutionTime(propagatorStartTime-startTime) + queryEngine.delayUpdatePropagation [ + val startTime = System.nanoTime + createObjectActionWithContainment( + nameNewElement, + interpretation, + typeInterpretation, + container, + relationInterpretation, + [createDefinedElement], + recursiceObjectCreations, + scopePropagator + ) + statistics.addExecutionTime(System.nanoTime-startTime) + ] // Scope propagation - scopePropagator.propagateAllScopeConstraints() - statistics.addScopePropagationTime(System.nanoTime-propagatorStartTime) + queryEngine.delayUpdatePropagation [ + val propagatorStartTime = System.nanoTime + scopePropagator.propagateAllScopeConstraints() + statistics.addScopePropagationTime(System.nanoTime-propagatorStartTime) + ] ] } } else { ruleBuilder.action[match | statistics.incrementTransformationCount // println(name) - val startTime = System.nanoTime //val problem = match.get(0) as LogicProblem val interpretation = match.get(1) as PartialInterpretation val typeInterpretation = match.get(2) as PartialComplexTypeInterpretation - createObjectAction( - nameNewElement, - interpretation, - typeInterpretation, - [createDefinedElement], - recursiceObjectCreations, - scopePropagator - ) - - val propagatorStartTime = System.nanoTime - statistics.addExecutionTime(propagatorStartTime-startTime) + queryEngine.delayUpdatePropagation [ + val startTime = System.nanoTime + createObjectAction( + nameNewElement, + interpretation, + typeInterpretation, + [createDefinedElement], + recursiceObjectCreations, + scopePropagator + ) + statistics.addExecutionTime(System.nanoTime-startTime) + ] // Scope propagation - scopePropagator.propagateAllScopeConstraints() - statistics.addScopePropagationTime(System.nanoTime-propagatorStartTime) + queryEngine.delayUpdatePropagation [ + val propagatorStartTime = System.nanoTime + scopePropagator.propagateAllScopeConstraints() + statistics.addScopePropagationTime(System.nanoTime-propagatorStartTime) + ] ] } return ruleBuilder.build @@ -342,7 +357,7 @@ class RefinementRuleProvider { if (inverseRelation === null) { ruleBuilder.action [ match | statistics.incrementTransformationCount - val startTime = System.nanoTime + // println(name) // val problem = match.get(0) as LogicProblem // val interpretation = match.get(1) as PartialInterpretation @@ -350,19 +365,24 @@ class RefinementRuleProvider { val src = match.get(3) as DefinedElement val trg = match.get(4) as DefinedElement - createRelationLinkAction(src, trg, relationInterpretation) - - val propagatorStartTime = System.nanoTime - statistics.addExecutionTime(propagatorStartTime-startTime) + queryEngine.delayUpdatePropagation [ + val startTime = System.nanoTime + createRelationLinkAction(src, trg, relationInterpretation) + statistics.addExecutionTime(System.nanoTime-startTime) + ] // Scope propagation - scopePropagator.propagateAdditionToRelation(declaration) - statistics.addScopePropagationTime(System.nanoTime-propagatorStartTime) + if (scopePropagator.isPropagationNeededAfterAdditionToRelation(declaration)) { + queryEngine.delayUpdatePropagation [ + val propagatorStartTime = System.nanoTime + scopePropagator.propagateAllScopeConstraints() + statistics.addScopePropagationTime(System.nanoTime-propagatorStartTime) + ] + } ] } else { ruleBuilder.action [ match | statistics.incrementTransformationCount - val startTime = System.nanoTime // println(name) // val problem = match.get(0) as LogicProblem // val interpretation = match.get(1) as PartialInterpretation @@ -371,14 +391,20 @@ class RefinementRuleProvider { val src = match.get(4) as DefinedElement val trg = match.get(5) as DefinedElement - createRelationLinkWithInverse(src, trg, relationInterpretation, inverseInterpretation) - - val propagatorStartTime = System.nanoTime - statistics.addExecutionTime(propagatorStartTime-startTime) + queryEngine.delayUpdatePropagation [ + val startTime = System.nanoTime + createRelationLinkWithInverse(src, trg, relationInterpretation, inverseInterpretation) + statistics.addExecutionTime(System.nanoTime-startTime) + ] // Scope propagation - scopePropagator.propagateAdditionToRelation(declaration) - statistics.addScopePropagationTime(System.nanoTime-propagatorStartTime) + if (scopePropagator.isPropagationNeededAfterAdditionToRelation(declaration)) { + queryEngine.delayUpdatePropagation [ + val propagatorStartTime = System.nanoTime + scopePropagator.propagateAllScopeConstraints() + statistics.addScopePropagationTime(System.nanoTime-propagatorStartTime) + ] + } ] } diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/src/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/PartialInterpretationInitialiser.xtend b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/src/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/PartialInterpretationInitialiser.xtend index d37acb6d..20ff58f2 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/src/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/PartialInterpretationInitialiser.xtend +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/src/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/PartialInterpretationInitialiser.xtend @@ -2,19 +2,24 @@ package hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage import hu.bme.mit.inf.dslreasoner.logic.model.builder.TracedOutput import hu.bme.mit.inf.dslreasoner.logic.model.builder.TypeScopes +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.And +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.BoolLiteral import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.DefinedElement +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.IntLiteral import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguageFactory +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.RealLiteral import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.RelationDeclaration +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.RelationDefinition +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.StringLiteral +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.SymbolicValue import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Type import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.TypeDeclaration import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.TypeDefinition import hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicProblem import hu.bme.mit.inf.dslreasoner.logic.model.patterns.SupertypeStar import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partial2logicannotations.PartialModelRelation2Assertion -import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.BinaryElementRelationLink import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.BooleanElement import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.IntegerElement -import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.NaryRelationLink import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.PartialBooleanInterpretation import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.PartialComplexTypeInterpretation import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.PartialIntegerInterpretation @@ -22,10 +27,10 @@ import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.par import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.PartialRealInterpretation import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.PartialRelationInterpretation import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.PartialStringInterpretation +import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.PartialTypeInterpratation import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.PartialinterpretationFactory import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.RealElement import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.StringElement -import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.UnaryElementRelationLink import java.math.BigDecimal import java.util.HashMap import java.util.Map @@ -35,14 +40,6 @@ import org.eclipse.viatra.query.runtime.emf.EMFScope import org.eclipse.xtend.lib.annotations.Data import static extension hu.bme.mit.inf.dslreasoner.util.CollectionsUtil.* -import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.SymbolicValue -import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.And -import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.BoolLiteral -import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.IntLiteral -import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.RealLiteral -import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.StringLiteral -import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.PartialTypeInterpratation -import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.RelationDefinition @Data class Problem2PartialInterpretationTrace { Map type2Interpretation @@ -194,7 +191,7 @@ class PartialInterpretationInitialiser { interpretation.minNewElements = minNewElements interpretation.maxNewElements = maxNewElements // elements from problem are included - if(maxNewElements>0) { + if(maxNewElements != 0) { val newElements = createDefinedElement => [it.name = "New Objects"] interpretation.openWorldElements += newElements } @@ -213,12 +210,8 @@ class PartialInterpretationInitialiser { def private initialiseTypeScope(PartialTypeInterpratation interpretation, Integer min, Integer max) { val res = createScope res.targetTypeInterpretation = interpretation - if(min !== null) { - res.minNewElements = min - } - if(max !== null) { - res.maxNewElements = max - } + res.minNewElements = min ?: 0 + res.maxNewElements = max ?: -1 return res } diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/ViatraReasonerConfiguration.xtend b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/ViatraReasonerConfiguration.xtend index ddd25aac..e33a2590 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/ViatraReasonerConfiguration.xtend +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/ViatraReasonerConfiguration.xtend @@ -58,13 +58,14 @@ class ViatraReasonerConfiguration extends LogicSolverConfiguration { public var runIntermediateNumericalConsistencyChecks = true public var punishSize = true - public var scopeWeight = 1 - public var conaintmentWeight = 2 + public var scopeWeight = 2 + public var conaintmentWeight = 1 public var nonContainmentWeight = 1 public var unfinishedWFWeight = 1 public var ScopePropagatorStrategy scopePropagatorStrategy = new ScopePropagatorStrategy.Polyhedral( PolyhedralScopePropagatorConstraints.Relational, PolyhedralScopePropagatorSolver.Clp) +// public var ScopePropagatorStrategy scopePropagatorStrategy = ScopePropagatorStrategy.BasicTypeHierarchy public var List hints = newArrayList diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/BestFirstStrategyForModelGeneration.java b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/BestFirstStrategyForModelGeneration.java index e529892c..09575384 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/BestFirstStrategyForModelGeneration.java +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/BestFirstStrategyForModelGeneration.java @@ -18,6 +18,7 @@ import java.util.List; import java.util.PriorityQueue; import java.util.Random; +import org.apache.log4j.Level; import org.apache.log4j.Logger; import org.eclipse.emf.ecore.EObject; import org.eclipse.emf.ecore.util.EcoreUtil; @@ -76,7 +77,7 @@ public class BestFirstStrategyForModelGeneration implements IStrategy { private volatile boolean isInterrupted = false; private ModelResult modelResultByInternalSolver = null; private Random random = new Random(); - //private Collection> matchers; +// private Collection> matchers; public ActivationSelector activationSelector = new EvenActivationSelector(random); public ViatraReasonerSolutionSaver solutionSaver; public NumericSolver numericSolver; @@ -100,7 +101,7 @@ public class BestFirstStrategyForModelGeneration implements IStrategy { this.method = method; this.solutionSaver = solutionSaver; this.numericSolver = numericSolver; - //logger.setLevel(Level.DEBUG); +// logger.setLevel(Level.DEBUG); } public int getNumberOfStatecoderFail() { @@ -136,7 +137,6 @@ public class BestFirstStrategyForModelGeneration implements IStrategy { // ViatraQueryEngine engine = context.getQueryEngine(); // matchers = new LinkedList>(); // for(IQuerySpecification> p : this.method.getAllPatterns()) { -// //System.out.println(p.getSimpleName()); // ViatraQueryMatcher matcher = p.getMatcher(engine); // matchers.add(matcher); // } @@ -154,13 +154,6 @@ public class BestFirstStrategyForModelGeneration implements IStrategy { @Override public void explore() { -// System.out.println("press enter"); -// try { -// new BufferedReader(new InputStreamReader(System.in)).readLine(); -// } catch (IOException e) { -// // TODO Auto-generated catch block -// e.printStackTrace(); -// } this.explorationStarted=System.nanoTime(); if (!checkGlobalConstraints()) { logger.info("Global contraint is not satisifed in the first state. Terminate."); @@ -219,10 +212,6 @@ public class BestFirstStrategyForModelGeneration implements IStrategy { while (!isInterrupted && !configuration.progressMonitor.isCancelled() && iterator.hasNext()) { final Object nextActivation = iterator.next(); -// if (!iterator.hasNext()) { -// logger.debug("Last untraversed activation of the state."); -// trajectoiresToExplore.remove(currentTrajectoryWithfitness); -// } logger.debug("Executing new activation: " + nextActivation); context.executeAcitvationId(nextActivation); method.getStatistics().incrementDecisionCount(); @@ -230,10 +219,9 @@ public class BestFirstStrategyForModelGeneration implements IStrategy { visualiseCurrentState(); // for(ViatraQueryMatcher matcher : matchers) { // int c = matcher.countMatches(); -// if(c>=100) { +// if(c>=1) { // System.out.println(c+ " " +matcher.getPatternName()); -// } -// +// } // } boolean consistencyCheckResult = checkConsistency(currentTrajectoryWithFitness); diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/ModelGenerationCompositeObjective.xtend b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/ModelGenerationCompositeObjective.xtend index d2faaa65..481f4ce1 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/ModelGenerationCompositeObjective.xtend +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/ModelGenerationCompositeObjective.xtend @@ -112,7 +112,7 @@ class ModelGenerationCompositeObjective implements IThreeValuedObjective { override isHardObjective() { true } - override satisifiesHardObjective(Double fitness) { fitness <= 0.001 } + override satisifiesHardObjective(Double fitness) { fitness <= 0.9 } override setComparator(Comparator comparator) { throw new UnsupportedOperationException("Model generation objective comparator cannot be set.") diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/ScopeObjective.xtend b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/ScopeObjective.xtend index 69a734f8..7abc5cb8 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/ScopeObjective.xtend +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/ScopeObjective.xtend @@ -25,7 +25,7 @@ class ScopeObjective implements IObjective{ val interpretation = context.model as PartialInterpretation var res = interpretation.minNewElementsHeuristic.doubleValue for(scope : interpretation.scopes) { - res += scope.minNewElementsHeuristic*2 + res += scope.minNewElementsHeuristic } return res } diff --git a/Tests/MODELS2020-CaseStudies/case.study.familyTree.run/bin/.gitignore b/Tests/MODELS2020-CaseStudies/case.study.familyTree.run/bin/.gitignore deleted file mode 100644 index 7050a7e3..00000000 --- a/Tests/MODELS2020-CaseStudies/case.study.familyTree.run/bin/.gitignore +++ /dev/null @@ -1 +0,0 @@ -/queries/ diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/inputs/SatelliteInstance.xmi b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/inputs/SatelliteInstance.xmi index 3d07a199..66512878 100644 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/inputs/SatelliteInstance.xmi +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/inputs/SatelliteInstance.xmi @@ -4,4 +4,4 @@ xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:satellite="http://www.example.org/satellite" - xsi:schemaLocation="http://www.example.org/satellite ../model/satellite.ecore"/> + xsi:schemaLocation="http://www.example.org/satellite ../../hu.bme.mit.inf.dslreasoner.domains.satellite/model/satellite.ecore"/> diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/src/run/RunGeneratorConfig.xtend b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/src/run/RunGeneratorConfig.xtend index 20eed2e2..e4d6fe9f 100644 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/src/run/RunGeneratorConfig.xtend +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/src/run/RunGeneratorConfig.xtend @@ -12,7 +12,9 @@ import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RuntimeEn import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ScopeSpecification import hu.bme.mit.inf.dslreasoner.application.execution.ScriptExecutor import hu.bme.mit.inf.dslreasoner.application.execution.StandaloneScriptExecutor +import hu.bme.mit.inf.dslreasoner.application.execution.StandardOutputBasedScriptConsole import java.io.File +import java.io.PrintWriter import java.text.SimpleDateFormat import java.util.Date import org.apache.commons.cli.BasicParser @@ -23,8 +25,6 @@ import org.apache.commons.cli.Option import org.apache.commons.cli.Options import org.apache.commons.cli.ParseException import org.eclipse.core.runtime.NullProgressMonitor -import com.google.common.io.Files -import java.io.PrintWriter class RunGeneratorConfig { static var SIZE_LB = 20 @@ -102,7 +102,7 @@ class RunGeneratorConfig { val SimpleDateFormat format = new SimpleDateFormat("dd-HHmm") val formattedDate = format.format(date) - val executor = new ScriptExecutor + val executor = new ScriptExecutor(StandardOutputBasedScriptConsole.FACTORY) val path = "config//generic" + DOMAIN + ".vsconfig" var ConfigurationScript config = StandaloneScriptExecutor.loadScript(path) -- cgit v1.2.3-70-g09d2 From 07ae9155ce0ab9407566b075356f9b7220ee8380 Mon Sep 17 00:00:00 2001 From: Kristóf Marussy Date: Sun, 28 Jun 2020 20:33:48 +0200 Subject: Fix scope + numerical solver interaction --- .../.ApplicationConfigurationIdeModule.xtendbin | Bin 1701 -> 1701 bytes .../ide/.ApplicationConfigurationIdeSetup.xtendbin | Bin 2526 -> 2526 bytes .../.SolverSemanticHighlightCalculator.xtendbin | Bin 5334 -> 5334 bytes .../.SolverSemanticTextAttributeProvider.xtendbin | Bin 4902 -> 4902 bytes .../validation/.SolverLanguageValidator.xtendbin | Bin 1717 -> 1717 bytes ....SolverLanguageTokenDefInjectingParser.xtendbin | Bin 2742 -> 2742 bytes ...nguageSyntheticTokenSyntacticSequencer.xtendbin | Bin 2758 -> 2758 bytes .../ModelGenerationMethodProvider.xtend | 6 + .../MultiplicityGoalConstraintCalculator.xtend | 22 +- .../cardinality/PolyhedronScopePropagator.xtend | 133 +- .../cardinality/RelationConstraintCalculator.xtend | 33 +- .../RemainingMultiplicityCalculator.xtend | 111 + .../logic2viatra/cardinality/ScopePropagator.xtend | 5 + .../logic2viatra/patterns/PatternProvider.xtend | 11 +- .../logic2viatra/patterns/UnfinishedIndexer.xtend | 189 +- .../rules/GoalConstraintProvider.xtend | 5 +- .../viatrasolver/reasoner/ViatraReasoner.xtend | 2 +- .../model/TaxationWithRoot.aird | 10302 +++++++++---------- 18 files changed, 5436 insertions(+), 5383 deletions(-) create mode 100644 Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/cardinality/RemainingMultiplicityCalculator.xtend (limited to 'Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner') diff --git a/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeModule.xtendbin b/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeModule.xtendbin index 94c786eb..11aee788 100644 Binary files a/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeModule.xtendbin and b/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeModule.xtendbin differ diff --git a/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeSetup.xtendbin b/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeSetup.xtendbin index 46ab9b95..d0ad3ab3 100644 Binary files a/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeSetup.xtendbin and b/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeSetup.xtendbin differ diff --git a/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/ui/syntaxcoloring/.SolverSemanticHighlightCalculator.xtendbin b/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/ui/syntaxcoloring/.SolverSemanticHighlightCalculator.xtendbin index 27dc1dd4..173a7c4d 100644 Binary files a/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/ui/syntaxcoloring/.SolverSemanticHighlightCalculator.xtendbin and b/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/ui/syntaxcoloring/.SolverSemanticHighlightCalculator.xtendbin differ diff --git a/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/ui/syntaxcoloring/.SolverSemanticTextAttributeProvider.xtendbin b/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/ui/syntaxcoloring/.SolverSemanticTextAttributeProvider.xtendbin index d71f4f21..ad60e239 100644 Binary files a/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/ui/syntaxcoloring/.SolverSemanticTextAttributeProvider.xtendbin and b/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/ui/syntaxcoloring/.SolverSemanticTextAttributeProvider.xtendbin differ diff --git a/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/validation/.SolverLanguageValidator.xtendbin b/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/validation/.SolverLanguageValidator.xtendbin index 801783da..01242ec7 100644 Binary files a/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/validation/.SolverLanguageValidator.xtendbin and b/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/validation/.SolverLanguageValidator.xtendbin differ diff --git a/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/parser/antlr/.SolverLanguageTokenDefInjectingParser.xtendbin b/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/parser/antlr/.SolverLanguageTokenDefInjectingParser.xtendbin index 30c2ff9e..1bdcce7f 100644 Binary files a/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/parser/antlr/.SolverLanguageTokenDefInjectingParser.xtendbin and b/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/parser/antlr/.SolverLanguageTokenDefInjectingParser.xtendbin differ diff --git a/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/serializer/.SolverLanguageSyntheticTokenSyntacticSequencer.xtendbin b/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/serializer/.SolverLanguageSyntheticTokenSyntacticSequencer.xtendbin index 261f466c..2c9fbbb2 100644 Binary files a/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/serializer/.SolverLanguageSyntheticTokenSyntacticSequencer.xtendbin and b/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/serializer/.SolverLanguageSyntheticTokenSyntacticSequencer.xtendbin differ diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/ModelGenerationMethodProvider.xtend b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/ModelGenerationMethodProvider.xtend index 6fbbc779..78eda150 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/ModelGenerationMethodProvider.xtend +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/ModelGenerationMethodProvider.xtend @@ -24,9 +24,12 @@ import java.util.Collection import java.util.List import java.util.Map import java.util.Set +import org.eclipse.viatra.query.runtime.api.GenericQueryGroup import org.eclipse.viatra.query.runtime.api.IPatternMatch import org.eclipse.viatra.query.runtime.api.IQuerySpecification +import org.eclipse.viatra.query.runtime.api.ViatraQueryEngine import org.eclipse.viatra.query.runtime.api.ViatraQueryMatcher +import org.eclipse.viatra.query.runtime.emf.EMFScope import org.eclipse.viatra.query.runtime.matchers.psystem.PConstraint import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PQuery import org.eclipse.viatra.transformation.runtime.emf.rules.batch.BatchTransformationRule @@ -122,6 +125,9 @@ class ModelGenerationMethodProvider { val relationConstraints = relationConstraintCalculator.calculateRelationConstraints(logicProblem) val queries = patternProvider.generateQueries(logicProblem, emptySolution, statistics, existingQueries, workspace, typeInferenceMethod, scopePropagatorStrategy, relationConstraints, hints, writeFiles) + val queryEngine = ViatraQueryEngine.on(new EMFScope(emptySolution)) + GenericQueryGroup.of(queries.allQueries).prepare(queryEngine) + val scopePropagator = createScopePropagator(scopePropagatorStrategy, emptySolution, hints, queries, statistics) scopePropagator.propagateAllScopeConstraints val objectRefinementRules = refinementRuleProvider.createObjectRefinementRules(logicProblem, emptySolution, diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/cardinality/MultiplicityGoalConstraintCalculator.xtend b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/cardinality/MultiplicityGoalConstraintCalculator.xtend index b28cd584..392ab3ee 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/cardinality/MultiplicityGoalConstraintCalculator.xtend +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/cardinality/MultiplicityGoalConstraintCalculator.xtend @@ -3,29 +3,31 @@ package hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.cardinality import org.eclipse.emf.common.notify.Notifier import org.eclipse.viatra.query.runtime.api.IQuerySpecification import org.eclipse.viatra.query.runtime.api.ViatraQueryEngine -import org.eclipse.viatra.query.runtime.api.ViatraQueryMatcher import org.eclipse.viatra.query.runtime.emf.EMFScope class MultiplicityGoalConstraintCalculator { val String targetRelationName val IQuerySpecification querySpecification - var ViatraQueryMatcher matcher + var MultiplicityCalculator calculator val boolean containment + val int lowerBound val int cost - public new(String targetRelationName, IQuerySpecification querySpecification, boolean containment, int cost) { + new(String targetRelationName, IQuerySpecification querySpecification, boolean containment, int lowerBound, int cost) { this.targetRelationName = targetRelationName this.querySpecification = querySpecification - this.matcher = null + this.calculator = null this.containment = containment + this.lowerBound = lowerBound this.cost = cost } new(MultiplicityGoalConstraintCalculator other) { this.targetRelationName = other.targetRelationName this.querySpecification = other.querySpecification - this.matcher = null + this.calculator = null this.containment = other.containment + this.lowerBound = other.lowerBound this.cost = other.cost } @@ -39,16 +41,12 @@ class MultiplicityGoalConstraintCalculator { def init(Notifier notifier) { val engine = ViatraQueryEngine.on(new EMFScope(notifier)) - matcher = querySpecification.getMatcher(engine) + val matcher = querySpecification.getMatcher(engine) + calculator = RemainingMultiplicityCalculator.of(matcher, lowerBound) } def calculateValue() { - var res = 0 - val allMatches = this.matcher.allMatches - for(match : allMatches) { - val missingMultiplicity = match.get(2) as Integer - res += missingMultiplicity - } + val res = calculator.multiplicity // if(res>0) // println(targetRelationName+ " all missing multiplicities: "+res + "*"+cost+"="+res*cost) return res*cost diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/cardinality/PolyhedronScopePropagator.xtend b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/cardinality/PolyhedronScopePropagator.xtend index 9b4dff0f..db22b95c 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/cardinality/PolyhedronScopePropagator.xtend +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/cardinality/PolyhedronScopePropagator.xtend @@ -33,7 +33,7 @@ import org.eclipse.xtend.lib.annotations.FinalFieldsConstructor class PolyhedronScopePropagator extends TypeHierarchyScopePropagator { static val CACHE_SIZE = 10000 - + val boolean updateHeuristic val Map scopeBounds val LinearBoundedExpression topLevelBounds @@ -185,22 +185,6 @@ class PolyhedronScopePropagator extends TypeHierarchyScopePropagator { if (bounds.upperBound !== null && bounds.upperBound < 0) { throw new IllegalArgumentException("Negative upper bound: " + bounds) } - } - - private static def getCalculatedMultiplicity(ViatraQueryMatcher matcher, - PartialInterpretation p) { - val match = matcher.newEmptyMatch - match.set(0, p.problem) - match.set(1, p) - val iterator = matcher.streamAllMatches(match).iterator - if (!iterator.hasNext) { - return null - } - val value = iterator.next.get(2) as Integer - if (iterator.hasNext) { - throw new IllegalArgumentException("Multiplicity calculation query has more than one match") - } - value } @FinalFieldsConstructor @@ -243,7 +227,12 @@ class PolyhedronScopePropagator extends TypeHierarchyScopePropagator { IQuerySpecification> hasElementInContainmentQuery, Map>> allPatternsByName, Collection hints, int maximumNuberOfNewNodes) { - infinity = maximumNuberOfNewNodes * INFINITY_SCALE + infinity = if (maximumNuberOfNewNodes <= Integer.MAX_VALUE / INFINITY_SCALE) { + maximumNuberOfNewNodes * INFINITY_SCALE + } else { + Integer.MAX_VALUE + } + queryEngine = ViatraQueryEngine.on(new EMFScope(p)) this.allPatternsByName = allPatternsByName updatersBuilder = ImmutableList.builder @@ -254,7 +243,7 @@ class PolyhedronScopePropagator extends TypeHierarchyScopePropagator { buildConstainmentRootConstraints(containmentConstraints.keySet, hasElementInContainmentQuery) for (pair : constraints.entrySet) { val constraint = pair.key - if (!constraint.containment) { + if (!constraint.containment && !constraint.container) { buildNonContainmentConstraints(constraint, pair.value) } } @@ -289,8 +278,8 @@ class PolyhedronScopePropagator extends TypeHierarchyScopePropagator { val typeCoefficients = subtypeDimensions.get(containedType) val orphansLowerBoundCoefficients = new HashMap(typeCoefficients) val orphansUpperBoundCoefficients = new HashMap(typeCoefficients) - val unfinishedMultiplicitiesMatchersBuilder = ImmutableList.builder - val remainingContentsQueriesBuilder = ImmutableList.builder + val unfinishedMultiplicitiesBuilder = ImmutableList.builder + val remainingContentsBuilder = ImmutableList.builder for (pair : constraints) { val constraint = pair.key val containerCoefficients = subtypeDimensions.get(constraint.sourceType) @@ -301,23 +290,21 @@ class PolyhedronScopePropagator extends TypeHierarchyScopePropagator { } orphansUpperBoundCoefficients.addCoefficients(-constraint.lowerBound, containerCoefficients) val queries = pair.value - if (constraint.constrainsUnfinished) { - if (queries.unfinishedMultiplicityQuery === null) { - throw new IllegalArgumentException( - "Containment constraints need unfinished multiplicity queries") + if (queries.existingMultiplicityQuery !== null) { + val matcher = queries.existingMultiplicityQuery.getMatcher(queryEngine) + if (constraint.constrainsUnfinished) { + unfinishedMultiplicitiesBuilder.add( + RemainingMultiplicityCalculator.of(matcher, constraint.lowerBound)) } - unfinishedMultiplicitiesMatchersBuilder.add( - queries.unfinishedMultiplicityQuery.getMatcher(queryEngine)) - } - if (queries.remainingContentsQuery === null) { - throw new IllegalArgumentException("Containment constraints need remaining contents queries") + remainingContentsBuilder.add(RemainingMultiplicityCalculator.of(matcher, constraint.upperBound)) + } else if (constraint.constrainsUnfinished) { + throw new IllegalArgumentException("Containment constraints need multiplicity queries") } - remainingContentsQueriesBuilder.add(queries.remainingContentsQuery.getMatcher(queryEngine)) } val orphanLowerBound = orphansLowerBoundCoefficients.toExpression val orphanUpperBound = orphansUpperBoundCoefficients.toExpression - val updater = new ContainmentConstraintUpdater(containedType.name, orphanLowerBound, orphanUpperBound, - unfinishedMultiplicitiesMatchersBuilder.build, remainingContentsQueriesBuilder.build) + val updater = new ContainmentConstraintUpdater(orphanLowerBound, orphanUpperBound, + unfinishedMultiplicitiesBuilder.build, remainingContentsBuilder.build) updatersBuilder.add(updater) } @@ -336,17 +323,21 @@ class PolyhedronScopePropagator extends TypeHierarchyScopePropagator { private def buildNonContainmentConstraints(RelationMultiplicityConstraint constraint, UnifinishedMultiplicityQueries queries) { + if (!constraint.reference) { + return + } if (constraint.constrainsRemainingInverse) { - if (queries.unfinishedMultiplicityQuery === null) { - throw new IllegalArgumentException("Reference constraints need unfinished multiplicity queries") - } - val unfinishedMultiplicityMatcher = queries.unfinishedMultiplicityQuery.getMatcher(queryEngine) - if (queries.remainingInverseMultiplicityQuery === null) { - throw new IllegalArgumentException( - "Reference constraints need remaining inverse multiplicity queries") + if (queries.getExistingMultiplicityQuery === null) { + throw new IllegalArgumentException("Reference constraints need unfinished multiplicity queries: " + + constraint.relation) } - val remainingInverseMultiplicityMatcher = queries.remainingInverseMultiplicityQuery.getMatcher( + val existingMultiplicityMatcher = queries.getExistingMultiplicityQuery.getMatcher(queryEngine) + val unfinishedMultiplicityCalculator = RemainingMultiplicityCalculator.of(existingMultiplicityMatcher, + constraint.lowerBound) + val existingInverseMultiplicityMatcher = queries.existingInverseMultiplicityQuery.getMatcher( queryEngine) + val remainingInverseMultiplicityCalculator = new RemainingInverseMultiplicityCalculator( + existingInverseMultiplicityMatcher, constraint.upperBound) val availableMultiplicityCoefficients = new HashMap availableMultiplicityCoefficients.addCoefficients(constraint.inverseUpperBound, subtypeDimensions.get(constraint.targetType)) @@ -354,18 +345,18 @@ class PolyhedronScopePropagator extends TypeHierarchyScopePropagator { subtypeDimensions.get(constraint.targetType)) val availableMultiplicity = availableMultiplicityCoefficients.toExpression updatersBuilder.add( - new UnfinishedMultiplicityConstraintUpdater(constraint.relation.name, availableMultiplicity, - unfinishedMultiplicityMatcher, remainingInverseMultiplicityMatcher)) + new UnfinishedMultiplicityConstraintUpdater(availableMultiplicity, unfinishedMultiplicityCalculator, + remainingInverseMultiplicityCalculator)) } if (constraint.constrainsUnrepairable) { - if (queries.unrepairableMultiplicityQuery === null) { - throw new IllegalArgumentException("Reference constraints need unrepairable multiplicity queries") + if (queries.existingMultiplicityQuery.parameters.size < 5) { + throw new IllegalArgumentException("Reference constraints need repairable multiplicity queries: " + + constraint.relation) } - val unrepairableMultiplicityMatcher = queries.unrepairableMultiplicityQuery.getMatcher(queryEngine) + val matcher = queries.existingMultiplicityQuery.getMatcher(queryEngine) + val calculator = new UnrepairableMultiplicityCalculator(matcher, constraint.lowerBound) val targetTypeCardinality = typeBounds.get(constraint.targetType) - updatersBuilder.add( - new UnrepairableMultiplicityConstraintUpdater(constraint.relation.name, targetTypeCardinality, - unrepairableMultiplicityMatcher)) + updatersBuilder.add(new UnrepairableMultiplicityConstraintUpdater(targetTypeCardinality, calculator)) } } @@ -470,11 +461,10 @@ class PolyhedronScopePropagator extends TypeHierarchyScopePropagator { @FinalFieldsConstructor private static class ContainmentConstraintUpdater implements RelationConstraintUpdater { - val String name val LinearBoundedExpression orphansLowerBound val LinearBoundedExpression orphansUpperBound - val List> unfinishedMultiplicitiesMatchers - val List> remainingContentsQueries + val List> unfinishedMultiplicities + val List> remainingContents override update(PartialInterpretation p) { tightenLowerBound(p) @@ -483,12 +473,9 @@ class PolyhedronScopePropagator extends TypeHierarchyScopePropagator { private def tightenLowerBound(PartialInterpretation p) { var int sum = 0 - for (matcher : remainingContentsQueries) { - val value = matcher.getCalculatedMultiplicity(p) - if (value === null) { - throw new IllegalArgumentException("Remaining contents count is missing for " + name) - } - if (value == -1) { + for (calculator : remainingContents) { + val value = calculator.getMultiplicity(p) + if (value < 0) { // Infinite upper bound, no need to tighten. return } @@ -499,11 +486,8 @@ class PolyhedronScopePropagator extends TypeHierarchyScopePropagator { private def tightenUpperBound(PartialInterpretation p) { var int sum = 0 - for (matcher : unfinishedMultiplicitiesMatchers) { - val value = matcher.getCalculatedMultiplicity(p) - if (value === null) { - throw new IllegalArgumentException("Unfinished multiplicity is missing for " + name) - } + for (calculator : unfinishedMultiplicities) { + val value = calculator.getMultiplicity(p) sum += value } orphansUpperBound.tightenLowerBound(sum) @@ -531,20 +515,13 @@ class PolyhedronScopePropagator extends TypeHierarchyScopePropagator { @FinalFieldsConstructor private static class UnfinishedMultiplicityConstraintUpdater implements RelationConstraintUpdater { - val String name val LinearBoundedExpression availableMultiplicityExpression - val ViatraQueryMatcher unfinishedMultiplicityMatcher - val ViatraQueryMatcher remainingInverseMultiplicityMatcher + val MultiplicityCalculator unfinishedMultiplicityCalculator + val MultiplicityCalculator remainingInverseMultiplcityCalculator override update(PartialInterpretation p) { - val unfinishedMultiplicity = unfinishedMultiplicityMatcher.getCalculatedMultiplicity(p) - if (unfinishedMultiplicity === null) { - throw new IllegalArgumentException("Unfinished multiplicity is missing for " + name) - } - val remainingInverseMultiplicity = remainingInverseMultiplicityMatcher.getCalculatedMultiplicity(p) - if (remainingInverseMultiplicity === null) { - throw new IllegalArgumentException("Remaining inverse multiplicity is missing for " + name) - } + val unfinishedMultiplicity = unfinishedMultiplicityCalculator.getMultiplicity(p) + val remainingInverseMultiplicity = remainingInverseMultiplcityCalculator.getMultiplicity(p) val int requiredMultiplicity = unfinishedMultiplicity - remainingInverseMultiplicity availableMultiplicityExpression.tightenLowerBound(requiredMultiplicity) } @@ -552,15 +529,11 @@ class PolyhedronScopePropagator extends TypeHierarchyScopePropagator { @FinalFieldsConstructor private static class UnrepairableMultiplicityConstraintUpdater implements RelationConstraintUpdater { - val String name val LinearBoundedExpression targetCardinalityExpression - val ViatraQueryMatcher unrepairableMultiplicityMatcher + val MultiplicityCalculator calculator override update(PartialInterpretation p) { - val value = unrepairableMultiplicityMatcher.getCalculatedMultiplicity(p) - if (value === null) { - throw new IllegalArgumentException("Unrepairable multiplicity is missing for " + name) - } + val value = calculator.getMultiplicity(p) targetCardinalityExpression.tightenLowerBound(value) } } diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/cardinality/RelationConstraintCalculator.xtend b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/cardinality/RelationConstraintCalculator.xtend index 3e4fea8a..7fec452f 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/cardinality/RelationConstraintCalculator.xtend +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/cardinality/RelationConstraintCalculator.xtend @@ -46,11 +46,11 @@ class RelationMultiplicityConstraint { def constrainsUnrepairable() { // TODO Optimize the unrepairable matches computation, // or come up with a heuristic when does computing unrepairables worth the overhead. - constrainsUnfinished && canHaveMultipleSourcesPerTarget && false + constrainsUnfinished && canHaveMultipleSourcesPerTarget && reference } def constrainsRemainingInverse() { - lowerBound >= 1 && !containment && inverseUpperBoundFinite + lowerBound >= 1 && !containment && !container && inverseUpperBoundFinite && reference } def constrainsRemainingContents() { @@ -61,6 +61,18 @@ class RelationMultiplicityConstraint { constrainsUnfinished || constrainsUnrepairable || constrainsRemainingInverse || constrainsRemainingContents } + def isSourceTypeComplex() { + getParamTypeReference(0) instanceof ComplexTypeReference + } + + def isTargetTypeComplex() { + getParamTypeReference(1) instanceof ComplexTypeReference + } + + def isReference() { + sourceTypeComplex && targetTypeComplex + } + def getSourceType() { getParamType(0) } @@ -69,15 +81,20 @@ class RelationMultiplicityConstraint { getParamType(1) } - private def getParamType(int i) { + private def getParamTypeReference(int i) { val parameters = relation.parameters if (i < parameters.size) { - val firstParam = parameters.get(i) - if (firstParam instanceof ComplexTypeReference) { - return firstParam.referred - } + return parameters.get(i) + } + throw new IllegalArgumentException("Argument index out of range") + } + + private def getParamType(int i) { + val reference = getParamTypeReference(i) + if (reference instanceof ComplexTypeReference) { + return reference.referred } - throw new IllegalArgumentException("Constraint with unknown source type") + throw new IllegalArgumentException("Constraint with primitive type") } } diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/cardinality/RemainingMultiplicityCalculator.xtend b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/cardinality/RemainingMultiplicityCalculator.xtend new file mode 100644 index 00000000..48b52d28 --- /dev/null +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/cardinality/RemainingMultiplicityCalculator.xtend @@ -0,0 +1,111 @@ +package hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.cardinality + +import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.PartialInterpretation +import java.util.Iterator +import org.eclipse.viatra.query.runtime.api.IPatternMatch +import org.eclipse.viatra.query.runtime.api.ViatraQueryMatcher +import org.eclipse.xtend.lib.annotations.FinalFieldsConstructor + +@FinalFieldsConstructor +abstract class MultiplicityCalculator { + val ViatraQueryMatcher matcher + + def getMultiplicity() { + val iterator = matcher.streamAllMatches.iterator + getMultiplicity(iterator) + } + + def getMultiplicity(PartialInterpretation interpretation) { + val partialMatch = matcher.newEmptyMatch + partialMatch.set(0, interpretation.problem) + partialMatch.set(1, interpretation) + val iterator = matcher.streamAllMatches(partialMatch).iterator + getMultiplicity(iterator) + } + + protected def int getMultiplicity(Iterator iterator) +} + +class RemainingMultiplicityCalculator extends MultiplicityCalculator { + val int bound + + @FinalFieldsConstructor + private new() { + } + + protected override getMultiplicity(Iterator iterator) { + var res = 0 + while (iterator.hasNext) { + val match = iterator.next + val existingMultiplicity = match.get(3) as Integer + if (existingMultiplicity < bound) { + res += bound - existingMultiplicity + } + } + res + } + + static def of(ViatraQueryMatcher matcher, int bound) { + if (bound < 0) { + new RemainingInfiniteMultiplicityCalculator(matcher) + } else { + new RemainingMultiplicityCalculator(matcher, bound) + } + } +} + +package class RemainingInfiniteMultiplicityCalculator extends MultiplicityCalculator { + + @FinalFieldsConstructor + package new() { + } + + protected override getMultiplicity(Iterator iterator) { + if (iterator.hasNext) { + -1 + } else { + 0 + } + } +} + +@FinalFieldsConstructor +class UnrepairableMultiplicityCalculator extends MultiplicityCalculator { + val int lowerBound + + override protected getMultiplicity(Iterator iterator) { + var res = 0 + while (iterator.hasNext) { + val match = iterator.next + val existingMultiplicity = match.get(3) as Integer + if (existingMultiplicity < lowerBound) { + val missingMultiplcity = lowerBound - existingMultiplicity + val numerOfRepairMatches = match.get(4) as Integer + val unrepairableMultiplicty = missingMultiplcity - numerOfRepairMatches + if (unrepairableMultiplicty > res) { + res = unrepairableMultiplicty + } + } + } + res + } +} + +@FinalFieldsConstructor +class RemainingInverseMultiplicityCalculator extends MultiplicityCalculator { + val int upperBound + + override protected getMultiplicity(Iterator iterator) { + var res = 0 + while (iterator.hasNext) { + val match = iterator.next + val existingMultiplicity = match.get(3) as Integer + if (existingMultiplicity < upperBound) { + val availableMultiplicity = upperBound - existingMultiplicity + val numberOfRepairMatches = match.get(4) as Integer + res += Math.min(availableMultiplicity, numberOfRepairMatches) + } + } + res + } +} diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/cardinality/ScopePropagator.xtend b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/cardinality/ScopePropagator.xtend index 8350c7f4..132ca8e8 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/cardinality/ScopePropagator.xtend +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/cardinality/ScopePropagator.xtend @@ -4,6 +4,7 @@ import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Relation import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.ModelGenerationStatistics import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.PartialComplexTypeInterpretation import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.PartialInterpretation +import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.PartialPrimitiveInterpretation import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.PartialTypeInterpratation import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.Scope import java.util.HashMap @@ -80,6 +81,10 @@ class ScopePropagator { } def decrementTypeScope(PartialTypeInterpratation t) { + val isPrimitive = t instanceof PartialPrimitiveInterpretation || t === null + if (isPrimitive) { + return + } // println('''Adding to «(t as PartialComplexTypeInterpretation).interpretationOf.name»''') val targetScope = type2Scope.get(t) if (targetScope !== null) { diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/patterns/PatternProvider.xtend b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/patterns/PatternProvider.xtend index ac4a0855..2f7c9e2d 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/patterns/PatternProvider.xtend +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/patterns/PatternProvider.xtend @@ -53,10 +53,8 @@ class ModalPatternQueries { @Data class UnifinishedMultiplicityQueries { - val IQuerySpecification> unfinishedMultiplicityQuery - val IQuerySpecification> unrepairableMultiplicityQuery - val IQuerySpecification> remainingInverseMultiplicityQuery - val IQuerySpecification> remainingContentsQuery + val IQuerySpecification> existingMultiplicityQuery + val IQuerySpecification> existingInverseMultiplicityQuery } class PatternProvider { @@ -108,9 +106,8 @@ class PatternProvider { val unfinishedMultiplicities = patternGenerator.unfinishedIndexer.getUnfinishedMultiplicityQueries(relationConstraints.multiplicityConstraints) val multiplicityConstraintQueries = unfinishedMultiplicities.mapValues [ - new UnifinishedMultiplicityQueries(unfinishedMultiplicityQueryName?.lookup(queries), - unrepairableMultiplicityQueryName?.lookup(queries), - remainingInverseMultiplicityQueryName?.lookup(queries), remainingContentsQueryName?.lookup(queries)) + new UnifinishedMultiplicityQueries(existingMultiplicityQueryName?.lookup(queries), + existingInverseMultiplicityQueryName?.lookup(queries)) ] val hasElementInContainmentQuery = patternGenerator.typeRefinementGenerator.hasElementInContainmentName.lookup( queries) diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/patterns/UnfinishedIndexer.xtend b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/patterns/UnfinishedIndexer.xtend index a8a07756..65ad3d48 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/patterns/UnfinishedIndexer.xtend +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/patterns/UnfinishedIndexer.xtend @@ -14,10 +14,8 @@ import static extension hu.bme.mit.inf.dslreasoner.util.CollectionsUtil.* @Data class UnifinishedMultiplicityQueryNames { - val String unfinishedMultiplicityQueryName - val String unrepairableMultiplicityQueryName - val String remainingInverseMultiplicityQueryName - val String remainingContentsQueryName + val String existingMultiplicityQueryName + val String existingInverseMultiplicityQueryName } class UnfinishedIndexer { @@ -58,147 +56,94 @@ class UnfinishedIndexer { def generateUnfinishedMultiplicityQueries(List constraints, Map fqn2PQuery) ''' «FOR constraint : constraints» - «IF constraint.constrainsUnfinished» - private pattern «unfinishedMultiplicityName(constraint)»_helper(problem:LogicProblem, interpretation:PartialInterpretation, object:DefinedElement, missingMultiplicity:java Integer) { + «IF constraint.shouldIndexExistingMultiplicites(indexUpperMultiplicities)» + private pattern «existingMultiplicityName(constraint)»(problem:LogicProblem, interpretation:PartialInterpretation, object:DefinedElement, numberOfExistingReferences:java Integer«IF constraint.shouldIndexRepairMultiplcities(indexUpperMultiplicities)», numberOfRepairMatches: java Integer«ENDIF») { find interpretation(problem,interpretation); find mustExist(problem,interpretation,object); «base.typeIndexer.referInstanceOf(constraint.sourceType,Modality::MUST,"object")» numberOfExistingReferences == count «base.referRelation(constraint.relation,"object","_",Modality.MUST,fqn2PQuery)» - check(numberOfExistingReferences < «constraint.lowerBound»); - missingMultiplicity == eval(«constraint.lowerBound»-numberOfExistingReferences); - } - - pattern «unfinishedMultiplicityName(constraint)»(problem:LogicProblem, interpretation:PartialInterpretation, missingMultiplicity:java Integer) { - find interpretation(problem,interpretation); - missingMultiplicity == sum find «unfinishedMultiplicityName(constraint)»_helper(problem, interpretation, _, #_); + «IF constraint.shouldIndexRepairMultiplcities(indexUpperMultiplicities)» + numberOfRepairMatches == count find «repairMatchName(constraint)»(problem, interpretation, object, _); + «ENDIF» } «ENDIF» - «IF indexUpperMultiplicities» - «IF constraint.constrainsUnrepairable || constraint.constrainsRemainingInverse» - private pattern «repairMatchName(constraint)»(problem:LogicProblem, interpretation:PartialInterpretation, source:DefinedElement, target:DefinedElement) { - «IF base.isRepresentative(constraint.relation, constraint.inverseRelation) && constraint.relation instanceof RelationDeclaration» - «base.relationRefinementGenerator.referRefinementQuery(constraint.relation as RelationDeclaration, constraint.inverseRelation, "_", "_", "source", "target")» - «ELSE» - «IF base.isRepresentative(constraint.inverseRelation, constraint.relation) && constraint.inverseRelation instanceof RelationDeclaration» - «base.relationRefinementGenerator.referRefinementQuery(constraint.inverseRelation as RelationDeclaration, constraint.relation, "_", "_", "target", "source")» - «ELSE» - find interpretation(problem,interpretation); - find mustExist(problem,interpretation,source); - «base.typeIndexer.referInstanceOf(constraint.sourceType,Modality::MUST,"source")» - find mustExist(problem,interpretation,target); - «base.typeIndexer.referInstanceOf(constraint.targetType,Modality::MUST,"target")» - neg «base.referRelation(constraint.relation,"source","target",Modality.MUST,fqn2PQuery)» - «base.referRelation(constraint.relation,"source","target",Modality.MAY,fqn2PQuery)» - «ENDIF» - «ENDIF» - } - «ENDIF» - - «IF constraint.constrainsUnrepairable» - private pattern «unrepairableMultiplicityName(constraint)»_helper(problem:LogicProblem, interpretation:PartialInterpretation, object:DefinedElement, unrepairableMultiplicity:java Integer) { - find «unfinishedMultiplicityName(constraint)»_helper(problem, interpretation, object, missingMultiplicity); - numberOfRepairMatches == count find «repairMatchName(constraint)»(problem, interpretation, object, _); - check(numberOfRepairMatches < missingMultiplicity); - unrepairableMultiplicity == eval(missingMultiplicity-numberOfRepairMatches); - } - - private pattern «unrepairableMultiplicityName(constraint)»(problem:LogicProblem, interpretation:PartialInterpretation, unrepairableMultiplicity:java Integer) { - find interpretation(problem,interpretation); - unrepairableMultiplicity == max find «unrepairableMultiplicityName(constraint)»_helper(problem, interpretation, _, #_); - } or { - find interpretation(problem,interpretation); - neg find «unrepairableMultiplicityName(constraint)»_helper(problem, interpretation, _, _); - unrepairableMultiplicity == 0; - } - «ENDIF» - - «IF constraint.constrainsRemainingInverse» - private pattern «remainingMultiplicityName(constraint)»_helper(problem:LogicProblem, interpretation:PartialInterpretation, object:DefinedElement, remainingMultiplicity:java Integer) { - find interpretation(problem,interpretation); - find mustExist(problem,interpretation,object); - «base.typeIndexer.referInstanceOf(constraint.targetType,Modality::MUST,"object")» - numberOfExistingReferences == count «base.referRelation(constraint.relation,"_","object",Modality.MUST,fqn2PQuery)» - check(numberOfExistingReferences < «constraint.inverseUpperBound»); - numberOfRepairMatches == count find «repairMatchName(constraint)»(problem, interpretation, _, object); - remainingMultiplicity == eval(Math.min(«constraint.inverseUpperBound»-numberOfExistingReferences, numberOfRepairMatches)); - } - - pattern «remainingMultiplicityName(constraint)»(problem:LogicProblem, interpretation:PartialInterpretation, remainingMultiplicity:java Integer) { - find interpretation(problem,interpretation); - remainingMultiplicity == sum find «remainingMultiplicityName(constraint)»_helper(problem, interpretation, _, #_); - } - «ENDIF» - - «IF constraint.constrainsRemainingContents» - «IF constraint.upperBoundFinite» - private pattern «remainingContentsName(constraint)»_helper(problem:LogicProblem, interpretation:PartialInterpretation, object:DefinedElement, remainingMultiplicity:java Integer) { - find interpretation(problem,interpretation); - find mustExist(problem,interpretation,object); - «base.typeIndexer.referInstanceOf(constraint.sourceType,Modality::MUST,"object")» - numberOfExistingReferences == count «base.referRelation(constraint.relation,"object","_",Modality.MUST,fqn2PQuery)» - check(numberOfExistingReferences < «constraint.upperBound»); - remainingMultiplicity == eval(«constraint.upperBound»-numberOfExistingReferences); - } - - pattern «remainingContentsName(constraint)»(problem:LogicProblem, interpretation:PartialInterpretation, remainingMultiplicity:java Integer) { - find interpretation(problem,interpretation); - remainingMultiplicity == sum find «remainingContentsName(constraint)»_helper(problem, interpretation, _, #_); - } + «IF constraint.shouldIndexRepairMatches(indexUpperMultiplicities)» + private pattern «repairMatchName(constraint)»(problem:LogicProblem, interpretation:PartialInterpretation, source:DefinedElement, target:DefinedElement) { + «IF constraint.containment || constraint.container» + «repairMatchFallback(constraint, fqn2PQuery)» + «ELSEIF base.isRepresentative(constraint.relation, constraint.inverseRelation) && constraint.relation instanceof RelationDeclaration» + «base.relationRefinementGenerator.referRefinementQuery(constraint.relation as RelationDeclaration, constraint.inverseRelation, "_", "_", "source", "target")» + «ELSEIF base.isRepresentative(constraint.inverseRelation, constraint.relation) && constraint.inverseRelation instanceof RelationDeclaration» + «base.relationRefinementGenerator.referRefinementQuery(constraint.inverseRelation as RelationDeclaration, constraint.relation, "_", "_", "target", "source")» «ELSE» - pattern «remainingContentsName(constraint)»_helper(problem:LogicProblem, interpretation:PartialInterpretation) { - find interpretation(problem,interpretation); - find mustExist(problem,interpretation,object); - «base.typeIndexer.referInstanceOf(constraint.sourceType,Modality::MUST,"object")» - } - - pattern «remainingContentsName(constraint)»(problem:LogicProblem, interpretation:PartialInterpretation, remainingMultiplicity:java Integer) { - find interpretation(problem,interpretation); - find «remainingContentsName(constraint)»_helper(problem, interpretation); - remainingMultiplicity == -1; - } or { - find interpretation(problem,interpretation); - neg find «remainingContentsName(constraint)»_helper(problem, interpretation); - remainingMultiplicity == 0; - } + «repairMatchFallback(constraint, fqn2PQuery)» «ENDIF» - «ENDIF» + } + «ENDIF» + + «IF constraint.shouldIndexInverseMultiplicites(indexUpperMultiplicities)» + private pattern «existingInverseMultiplicityName(constraint)»(problem:LogicProblem, interpretation:PartialInterpretation, object:DefinedElement, numberOfExistingReferences:java Integer, numberOfRepairMatches: java Integer) { + find interpretation(problem,interpretation); + find mustExist(problem,interpretation,object); + «base.typeIndexer.referInstanceOf(constraint.targetType,Modality::MUST,"object")» + numberOfExistingReferences == count «base.referRelation(constraint.relation,"_","object",Modality.MUST,fqn2PQuery)» + numberOfRepairMatches == count find «repairMatchName(constraint)»(problem, interpretation, _, object); + } «ENDIF» «ENDFOR» ''' - def String unfinishedMultiplicityName( - RelationMultiplicityConstraint constraint) '''unfinishedLowerMultiplicity_«base.canonizeName(constraint.relation.name)»''' + private def repairMatchFallback(RelationMultiplicityConstraint constraint, Map fqn2PQuery) ''' + find interpretation(problem,interpretation); + find mustExist(problem,interpretation,source); + «base.typeIndexer.referInstanceOf(constraint.sourceType,Modality::MUST,"source")» + find mustExist(problem,interpretation,target); + «base.typeIndexer.referInstanceOf(constraint.targetType,Modality::MUST,"target")» + neg «base.referRelation(constraint.relation,"source","target",Modality.MUST,fqn2PQuery)» + «base.referRelation(constraint.relation,"source","target",Modality.MAY,fqn2PQuery)» + ''' + + def String existingMultiplicityName( + RelationMultiplicityConstraint constraint) '''existingMultiplicity_«base.canonizeName(constraint.relation.name)»''' - def String unrepairableMultiplicityName( - RelationMultiplicityConstraint constraint) '''unrepairableLowerMultiplicity_«base.canonizeName(constraint.relation.name)»''' + def String existingInverseMultiplicityName( + RelationMultiplicityConstraint constraint) '''existingInverseMultiplicity_«base.canonizeName(constraint.relation.name)»''' private def String repairMatchName( RelationMultiplicityConstraint constraint) '''repair_«base.canonizeName(constraint.relation.name)»''' - def String remainingMultiplicityName( - RelationMultiplicityConstraint constraint) '''remainingInverseUpperMultiplicity_«base.canonizeName(constraint.relation.name)»''' - - def String remainingContentsName( - RelationMultiplicityConstraint constraint) '''remainingContents_«base.canonizeName(constraint.relation.name)»''' - def getUnfinishedMultiplicityQueries(List constraints) { constraints.toInvertedMap [ constraint | new UnifinishedMultiplicityQueryNames( - if(constraint.constrainsUnfinished) unfinishedMultiplicityName(constraint) else null, - if (indexUpperMultiplicities && constraint.constrainsUnrepairable) - unrepairableMultiplicityName(constraint) - else - null, - if (indexUpperMultiplicities && constraint.constrainsRemainingInverse) - remainingMultiplicityName(constraint) - else - null, - if (indexUpperMultiplicities && constraint.constrainsRemainingContents) - remainingContentsName(constraint) - else + if (constraint.shouldIndexExistingMultiplicites(indexUpperMultiplicities)) { + existingMultiplicityName(constraint) + } else { + null + }, + if (constraint.shouldIndexInverseMultiplicites(indexUpperMultiplicities)) { + existingInverseMultiplicityName(constraint) + } else { null + } ) ] } + + static def shouldIndexExistingMultiplicites(RelationMultiplicityConstraint it, boolean indexUpperMultiplicities) { + constrainsUnfinished || (indexUpperMultiplicities && constrainsRemainingContents) + } + + static def shouldIndexRepairMultiplcities(RelationMultiplicityConstraint it, boolean indexUpperMultiplicities) { + shouldIndexExistingMultiplicites(indexUpperMultiplicities) && constrainsUnrepairable + } + + static def shouldIndexInverseMultiplicites(RelationMultiplicityConstraint it, boolean indexUpperMultiplicities) { + indexUpperMultiplicities && constrainsRemainingInverse + } + + static def shouldIndexRepairMatches(RelationMultiplicityConstraint it, boolean indexUpperMultiplicities) { + shouldIndexRepairMultiplcities(indexUpperMultiplicities) || + shouldIndexInverseMultiplicites(indexUpperMultiplicities) + } } diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/rules/GoalConstraintProvider.xtend b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/rules/GoalConstraintProvider.xtend index d2ee80dc..7dc21410 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/rules/GoalConstraintProvider.xtend +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/rules/GoalConstraintProvider.xtend @@ -14,9 +14,10 @@ class GoalConstraintProvider { if (constraint.constrainsUnfinished) { val queries = entry.value val targetRelationName = constraint.relation.name - val query = queries.unfinishedMultiplicityQuery + val query = queries.existingMultiplicityQuery val containment = constraint.containment - res += new MultiplicityGoalConstraintCalculator(targetRelationName, query, containment, 1) + val lowerBound = constraint.lowerBound + res += new MultiplicityGoalConstraintCalculator(targetRelationName, query, containment, 1, lowerBound) } } return res diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/ViatraReasoner.xtend b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/ViatraReasoner.xtend index 3033eca7..b9056685 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/ViatraReasoner.xtend +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/ViatraReasoner.xtend @@ -26,6 +26,7 @@ import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.dse.DiversityChecker import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.dse.InconsistentScopeGlobalConstraint import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.dse.LoggerSolutionFoundHandler import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.dse.ModelGenerationCompositeObjective +import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.dse.NumericSolver import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.dse.PartialModelAsLogicInterpretation import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.dse.ScopeObjective import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.dse.SurelyViolatedObjectiveGlobalConstraint @@ -42,7 +43,6 @@ import org.eclipse.viatra.dse.api.DesignSpaceExplorer import org.eclipse.viatra.dse.api.DesignSpaceExplorer.DseLoggingLevel import org.eclipse.viatra.dse.solutionstore.SolutionStore import org.eclipse.viatra.dse.statecode.IStateCoderFactory -import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.dse.NumericSolver class ViatraReasoner extends LogicReasoner { val PartialInterpretationInitialiser initialiser = new PartialInterpretationInitialiser() diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/model/TaxationWithRoot.aird b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/model/TaxationWithRoot.aird index e5bce79e..a4252796 100644 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/model/TaxationWithRoot.aird +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/model/TaxationWithRoot.aird @@ -1,5151 +1,5151 @@ - - - - TaxationWithRoot.ecore - TaxationWithRoot.genmodel - platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore - - - - - - - - - - - - - - - - - - - - - - - bold - - - - - - - bold - - - - - - - - - - bold - - - - - - - - - - bold - - - - bold - - - - - - - bold - - - - bold - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - italic - - - - - - - - bold - - - - - - - - bold - - - - - - - - bold - - - - - - - - bold - - - - - - - - bold - - - - - - - - bold - - - - - - - - bold - - - - - - - - bold - - - - - - - - bold - - - - - - - - bold - - - - - - - - bold - - - - - - - - bold - - - - - - - - bold - - - - - - - - bold - - - - - - - - bold - - - - - - - - bold - - - - - - - - bold - - - - - - - - bold - - - - - - - - bold - - - - - - - - bold - - - - - - - - bold - - - - - - - - bold - - - - - - - - bold - - - - - - - - bold - - - - - - - - bold - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - bold - - - - - - - - bold - - - - - - - - bold - - - - - - - - - italic - - - - - - - - - - - - - - - - bold - - - - - - - - bold - - - - - - - - bold - - - - - - - - bold - - - - - - - - bold - - - - - - - - bold - - - - - - - - bold - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - bold - - - - - - - - bold - - - - - - - - bold - - - - - - - - bold - - - - - - - - bold - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - bold - - - - - - - - bold - - - - - - - - bold - - - - - - - - - - - - - - - - bold - - - - - - - - bold - - - - - - - - - - - - - - - - bold - - - - - - - - bold - - - - - - - - bold - - - - - - - - bold - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - bold - - - - - - - - - italic - - - - - - - - bold - - - - - - - - bold - - - - - - - - bold - - - - - - - - bold - - - - - - - - bold - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - bold - - - - - - - - bold - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - italic - - - - - - - - - - - - - - - - bold - - - - - - - - bold - - - - - - - - - italic - - - - - - - - bold - - - - - - - - bold - - - - - - - - bold - - - - - - - - - italic - - - - - - - - bold - - - - - - - - - - - - - - - - - - - - - - - - bold - - - - - - - - bold - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - bold - - - - - - - - bold - - - - - - - - bold - - - - - - - - bold - - - - - - - - bold - - - - - - - - bold - - - - - - - - bold - - - - - - - - bold - - - - - - - - bold - - - - - - - - bold - - - - - - - - bold - - - - - - - - bold - - - - - - - - bold - - - - - - - - bold - - - - - - - - bold - - - - - - - - bold - - - - - - - - bold - - - - - - - - bold - - - - - - - - bold - - - - - - - - bold - - - - - - - - bold - - - - - - - - bold - - - - - - - - - - - - - - - - bold - - - - - - - - bold - - - - - - - - bold - - - - - - - - bold - - - - - - - - bold - - - - - - - - bold - - - - - - - - - - - - - - - - bold - - - - - - - - bold - - - - - - - - bold - - - - - - - - bold - - - - - - - - bold - - - - - - - - bold - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - bold - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - bold - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - bold - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - bold - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - bold - - - - - - - - bold - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - bold - - - - - - - - bold - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - bold - - - - - - - - bold - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - bold - - - - - - - - bold - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - - - - - - - - - - labelSize - bold - - - labelSize - - - - - - - - - - labelSize - bold - - - labelSize - - - - - - - - - - labelSize - bold - - - labelSize - - - - - - - - - - labelSize - bold - - - labelSize - - - - - - - - - - - labelSize - - - labelSize - - - - - - - - - - - labelSize - - - labelSize - - - - - - - - - - - italic - - - - - - - - - - - - italic - - - - - - - - - - - - italic - - - - - - - - - - - - italic - - - - - - - - - - - - italic - - - - - - - - - - - - italic - - - - - - - - - - - - italic - - - - - - - - - - - - italic - - - - - - - - - - - - italic - - - - - - - - - - - - italic - - - - - - - - - - - - italic - - - - - - - - - - - - italic - - - - - - - - - - - - italic - - - - - - - - - - - - italic - - - - - - - - - - - - italic - - - - - - - - - - - - italic - - - - - - - - - - - - italic - - - - - - - - - - - - italic - - - - - - - - - - - - italic - - - - - - - - - - - - italic - - - - - - - - - - - - italic - - - - - - - - - - - - italic - - - - - - - - - - - - italic - - - - - - - - - - - - italic - - - - - - - - - - - - italic - - - - - - - - - - - - italic - - - - - - - - - - - - italic - - - - - - - - - - - - italic - - - - - - - - - - - - italic - - - - - - - - - - - - italic - - - - - - - - - - - - italic - - - - - - - - - - - - italic - - - - - - - - - - - - italic - - - - - - - - - - - - bold - - - bold - - - - - - - - - - - bold - - - bold - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - bold - - - bold - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - bold - - - bold - - - - - - - - - - - bold - - - bold - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - bold - - - bold - - - - - - - - - - - bold - - - bold - - - - - - - - - - - - - - - - - - - - - - bold - - - bold - - - - - - - - - - labelSize - - - labelSize - - - - - - - - - - - - - + + + + TaxationWithRoot.ecore + TaxationWithRoot.genmodel + platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore + + + + + + + + + + + + + + + + + + + + + + + bold + + + + + + + bold + + + + + + + + + + bold + + + + + + + + + + bold + + + + bold + + + + + + + bold + + + + bold + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + italic + + + + + + + + bold + + + + + + + + bold + + + + + + + + bold + + + + + + + + bold + + + + + + + + bold + + + + + + + + bold + + + + + + + + bold + + + + + + + + bold + + + + + + + + bold + + + + + + + + bold + + + + + + + + bold + + + + + + + + bold + + + + + + + + bold + + + + + + + + bold + + + + + + + + bold + + + + + + + + bold + + + + + + + + bold + + + + + + + + bold + + + + + + + + bold + + + + + + + + bold + + + + + + + + bold + + + + + + + + bold + + + + + + + + bold + + + + + + + + bold + + + + + + + + bold + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + bold + + + + + + + + bold + + + + + + + + bold + + + + + + + + + italic + + + + + + + + + + + + + + + + bold + + + + + + + + bold + + + + + + + + bold + + + + + + + + bold + + + + + + + + bold + + + + + + + + bold + + + + + + + + bold + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + bold + + + + + + + + bold + + + + + + + + bold + + + + + + + + bold + + + + + + + + bold + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + bold + + + + + + + + bold + + + + + + + + bold + + + + + + + + + + + + + + + + bold + + + + + + + + bold + + + + + + + + + + + + + + + + bold + + + + + + + + bold + + + + + + + + bold + + + + + + + + bold + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + bold + + + + + + + + + italic + + + + + + + + bold + + + + + + + + bold + + + + + + + + bold + + + + + + + + bold + + + + + + + + bold + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + bold + + + + + + + + bold + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + italic + + + + + + + + + + + + + + + + bold + + + + + + + + bold + + + + + + + + + italic + + + + + + + + bold + + + + + + + + bold + + + + + + + + bold + + + + + + + + + italic + + + + + + + + bold + + + + + + + + + + + + + + + + + + + + + + + + bold + + + + + + + + bold + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + bold + + + + + + + + bold + + + + + + + + bold + + + + + + + + bold + + + + + + + + bold + + + + + + + + bold + + + + + + + + bold + + + + + + + + bold + + + + + + + + bold + + + + + + + + bold + + + + + + + + bold + + + + + + + + bold + + + + + + + + bold + + + + + + + + bold + + + + + + + + bold + + + + + + + + bold + + + + + + + + bold + + + + + + + + bold + + + + + + + + bold + + + + + + + + bold + + + + + + + + bold + + + + + + + + bold + + + + + + + + + + + + + + + + bold + + + + + + + + bold + + + + + + + + bold + + + + + + + + bold + + + + + + + + bold + + + + + + + + bold + + + + + + + + + + + + + + + + bold + + + + + + + + bold + + + + + + + + bold + + + + + + + + bold + + + + + + + + bold + + + + + + + + bold + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + bold + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + bold + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + bold + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + bold + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + bold + + + + + + + + bold + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + bold + + + + + + + + bold + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + bold + + + + + + + + bold + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + bold + + + + + + + + bold + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + + + + + + + + + + labelSize + bold + + + labelSize + + + + + + + + + + labelSize + bold + + + labelSize + + + + + + + + + + labelSize + bold + + + labelSize + + + + + + + + + + labelSize + bold + + + labelSize + + + + + + + + + + + labelSize + + + labelSize + + + + + + + + + + + labelSize + + + labelSize + + + + + + + + + + + italic + + + + + + + + + + + + italic + + + + + + + + + + + + italic + + + + + + + + + + + + italic + + + + + + + + + + + + italic + + + + + + + + + + + + italic + + + + + + + + + + + + italic + + + + + + + + + + + + italic + + + + + + + + + + + + italic + + + + + + + + + + + + italic + + + + + + + + + + + + italic + + + + + + + + + + + + italic + + + + + + + + + + + + italic + + + + + + + + + + + + italic + + + + + + + + + + + + italic + + + + + + + + + + + + italic + + + + + + + + + + + + italic + + + + + + + + + + + + italic + + + + + + + + + + + + italic + + + + + + + + + + + + italic + + + + + + + + + + + + italic + + + + + + + + + + + + italic + + + + + + + + + + + + italic + + + + + + + + + + + + italic + + + + + + + + + + + + italic + + + + + + + + + + + + italic + + + + + + + + + + + + italic + + + + + + + + + + + + italic + + + + + + + + + + + + italic + + + + + + + + + + + + italic + + + + + + + + + + + + italic + + + + + + + + + + + + italic + + + + + + + + + + + + italic + + + + + + + + + + + + bold + + + bold + + + + + + + + + + + bold + + + bold + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + bold + + + bold + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + bold + + + bold + + + + + + + + + + + bold + + + bold + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + bold + + + bold + + + + + + + + + + + bold + + + bold + + + + + + + + + + + + + + + + + + + + + + bold + + + bold + + + + + + + + + + labelSize + + + labelSize + + + + + + + + + + + + + -- cgit v1.2.3-70-g09d2 From d8b56feaf72c1a9cb402c1cb4dc0c893df86bcc0 Mon Sep 17 00:00:00 2001 From: Kristóf Marussy Date: Tue, 30 Jun 2020 17:58:37 +0200 Subject: Disable unrepairable match scoping for now --- .../ide/.ApplicationConfigurationIdeModule.xtendbin | Bin 1701 -> 1701 bytes .../ide/.ApplicationConfigurationIdeSetup.xtendbin | Bin 2526 -> 2526 bytes .../.SolverSemanticHighlightCalculator.xtendbin | Bin 5334 -> 5334 bytes .../.SolverSemanticTextAttributeProvider.xtendbin | Bin 4902 -> 4902 bytes .../validation/.SolverLanguageValidator.xtendbin | Bin 1717 -> 1717 bytes .../.SolverLanguageTokenDefInjectingParser.xtendbin | Bin 2742 -> 2742 bytes ...rLanguageSyntheticTokenSyntacticSequencer.xtendbin | Bin 2758 -> 2758 bytes .../cardinality/RelationConstraintCalculator.xtend | 2 +- 8 files changed, 1 insertion(+), 1 deletion(-) (limited to 'Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner') diff --git a/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeModule.xtendbin b/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeModule.xtendbin index 11aee788..1641af7c 100644 Binary files a/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeModule.xtendbin and b/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeModule.xtendbin differ diff --git a/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeSetup.xtendbin b/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeSetup.xtendbin index d0ad3ab3..d06f6684 100644 Binary files a/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeSetup.xtendbin and b/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeSetup.xtendbin differ diff --git a/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/ui/syntaxcoloring/.SolverSemanticHighlightCalculator.xtendbin b/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/ui/syntaxcoloring/.SolverSemanticHighlightCalculator.xtendbin index 173a7c4d..b54e44de 100644 Binary files a/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/ui/syntaxcoloring/.SolverSemanticHighlightCalculator.xtendbin and b/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/ui/syntaxcoloring/.SolverSemanticHighlightCalculator.xtendbin differ diff --git a/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/ui/syntaxcoloring/.SolverSemanticTextAttributeProvider.xtendbin b/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/ui/syntaxcoloring/.SolverSemanticTextAttributeProvider.xtendbin index ad60e239..4976e388 100644 Binary files a/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/ui/syntaxcoloring/.SolverSemanticTextAttributeProvider.xtendbin and b/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/ui/syntaxcoloring/.SolverSemanticTextAttributeProvider.xtendbin differ diff --git a/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/validation/.SolverLanguageValidator.xtendbin b/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/validation/.SolverLanguageValidator.xtendbin index 01242ec7..6cd15573 100644 Binary files a/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/validation/.SolverLanguageValidator.xtendbin and b/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/validation/.SolverLanguageValidator.xtendbin differ diff --git a/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/parser/antlr/.SolverLanguageTokenDefInjectingParser.xtendbin b/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/parser/antlr/.SolverLanguageTokenDefInjectingParser.xtendbin index 1bdcce7f..3663bdb4 100644 Binary files a/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/parser/antlr/.SolverLanguageTokenDefInjectingParser.xtendbin and b/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/parser/antlr/.SolverLanguageTokenDefInjectingParser.xtendbin differ diff --git a/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/serializer/.SolverLanguageSyntheticTokenSyntacticSequencer.xtendbin b/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/serializer/.SolverLanguageSyntheticTokenSyntacticSequencer.xtendbin index 2c9fbbb2..08e3330b 100644 Binary files a/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/serializer/.SolverLanguageSyntheticTokenSyntacticSequencer.xtendbin and b/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/serializer/.SolverLanguageSyntheticTokenSyntacticSequencer.xtendbin differ diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/cardinality/RelationConstraintCalculator.xtend b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/cardinality/RelationConstraintCalculator.xtend index 7fec452f..abf65be3 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/cardinality/RelationConstraintCalculator.xtend +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/cardinality/RelationConstraintCalculator.xtend @@ -46,7 +46,7 @@ class RelationMultiplicityConstraint { def constrainsUnrepairable() { // TODO Optimize the unrepairable matches computation, // or come up with a heuristic when does computing unrepairables worth the overhead. - constrainsUnfinished && canHaveMultipleSourcesPerTarget && reference + false && constrainsUnfinished && canHaveMultipleSourcesPerTarget && reference } def constrainsRemainingInverse() { -- cgit v1.2.3-70-g09d2 From a7b9a3eef14fc165909d00c65bb6fc1744a8ebd8 Mon Sep 17 00:00:00 2001 From: Kristóf Marussy Date: Tue, 7 Jul 2020 15:00:13 +0200 Subject: Trying to fix performance regressions --- .../.ApplicationConfigurationIdeModule.xtendbin | Bin 1701 -> 1701 bytes .../ide/.ApplicationConfigurationIdeSetup.xtendbin | Bin 2526 -> 2526 bytes .../application/execution/SolverLoader.xtend | 56 +++++++++------- .../.SolverSemanticHighlightCalculator.xtendbin | Bin 5334 -> 5334 bytes .../.SolverSemanticTextAttributeProvider.xtendbin | Bin 4902 -> 4902 bytes .../validation/.SolverLanguageValidator.xtendbin | Bin 1717 -> 1717 bytes ....SolverLanguageTokenDefInjectingParser.xtendbin | Bin 2742 -> 2742 bytes ...nguageSyntheticTokenSyntacticSequencer.xtendbin | Bin 2758 -> 2758 bytes .../ModelGenerationMethodProvider.xtend | 3 +- .../MultiplicityGoalConstraintCalculator.xtend | 3 + .../logic2viatra/cardinality/ScopePropagator.xtend | 14 +++- .../logic2viatra/patterns/PatternGenerator.xtend | 2 +- .../patterns/RelationDeclarationIndexer.xtend | 4 +- .../patterns/RelationRefinementGenerator.xtend | 3 +- .../rules/GoalConstraintProvider.xtend | 71 +++++++++++++++++++-- .../viatrasolver/reasoner/ViatraReasoner.xtend | 12 +++- .../reasoner/ViatraReasonerConfiguration.xtend | 7 +- .../dse/BestFirstStrategyForModelGeneration.java | 8 +-- .../dse/ModelGenerationCompositeObjective.xtend | 27 ++++---- .../reasoner/dse/PunishSizeObjective.xtend | 70 ++++++++++++++++++++ .../viatrasolver/reasoner/dse/ScopeObjective.xtend | 2 +- .../case.study.familyTree.run/bin/.gitignore | 1 + .../config/genericSatellite.vsconfig | 7 +- 23 files changed, 227 insertions(+), 63 deletions(-) create mode 100644 Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/PunishSizeObjective.xtend create mode 100644 Tests/MODELS2020-CaseStudies/case.study.familyTree.run/bin/.gitignore (limited to 'Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner') diff --git a/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeModule.xtendbin b/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeModule.xtendbin index 1641af7c..27ebff86 100644 Binary files a/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeModule.xtendbin and b/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeModule.xtendbin differ diff --git a/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeSetup.xtendbin b/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeSetup.xtendbin index d06f6684..4c3dcf43 100644 Binary files a/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeSetup.xtendbin and b/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeSetup.xtendbin differ diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/execution/SolverLoader.xtend b/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/execution/SolverLoader.xtend index b1be56cb..bc4fa42f 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/execution/SolverLoader.xtend +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/execution/SolverLoader.xtend @@ -10,6 +10,9 @@ import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Threshold import hu.bme.mit.inf.dslreasoner.logic.model.builder.LogicSolverConfiguration import hu.bme.mit.inf.dslreasoner.smt.reasoner.SMTSolver import hu.bme.mit.inf.dslreasoner.smt.reasoner.SmtSolverConfiguration +import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.cardinality.PolyhedralScopePropagatorConstraints +import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.cardinality.PolyhedralScopePropagatorSolver +import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.cardinality.ScopePropagatorStrategy import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.CostObjectiveConfiguration import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.CostObjectiveElementConfiguration import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.DiversityDescriptor @@ -98,42 +101,47 @@ class SolverLoader { console.writeError('''Malformed number format: «e.message»''') } } - if(config.containsKey("numeric-solver-at-end")) { + if (config.containsKey("numeric-solver-at-end")) { val stringValue = config.get("numeric-solver-at-end") - if(stringValue.equals("true")) { + if (stringValue.equals("true")) { println("numeric-solver-at-end") c.runIntermediateNumericalConsistencyChecks = false } } - if(config.containsKey("fitness-punishSize")) { + if (config.containsKey("fitness-punishSize")) { val stringValue = config.get("fitness-punishSize") - try { - c.punishSize = Boolean.parseBoolean(stringValue) - } catch(Exception e) {} + c.punishSize = Boolean.parseBoolean(stringValue) } - if(config.containsKey("fitness-scope")) { + if (config.containsKey("fitness-scope")) { val stringValue = config.get("fitness-scope") - try { - c.scopeWeight = Integer.parseInt(stringValue) - } catch(Exception e) {} + c.scopeWeight = Integer.parseInt(stringValue) } - if(config.containsKey("fitness-missing-containent")) { - val stringValue = config.get("fitness-missing-containent") - try { - c.conaintmentWeight = Integer.parseInt(stringValue) - } catch(Exception e) {} + if (config.containsKey("fitness-missing-containment")) { + val stringValue = config.get("fitness-missing-containment") + c.conaintmentWeight = Integer.parseInt(stringValue) } - if(config.containsKey("fitness-missing-noncontainent")) { - val stringValue = config.get("fitness-missing-noncontainent") - try { - c.nonContainmentWeight = Integer.parseInt(stringValue) - } catch(Exception e) {} + if (config.containsKey("fitness-missing-noncontainment")) { + val stringValue = config.get("fitness-missing-noncontainment") + c.nonContainmentWeight = Integer.parseInt(stringValue) } - if(config.containsKey("fitness-missing-wf")) { + if (config.containsKey("fitness-missing-wf")) { val stringValue = config.get("fitness-missing-wf") - try { - c.unfinishedWFWeight = Integer.parseInt(stringValue) - } catch(Exception e) {} + c.unfinishedWFWeight = Integer.parseInt(stringValue) + } + if (config.containsKey("fitness-objectCreationCosts")) { + val stringValue = config.get("fitness-objectCreationCosts") + c.calculateObjectCreationCosts = Boolean.parseBoolean(stringValue) + } + if (config.containsKey("scopePropagator")) { + val stringValue = config.get("scopePropagator") + c.scopePropagatorStrategy = switch (stringValue) { + case "polyhedral": new ScopePropagatorStrategy.Polyhedral( + PolyhedralScopePropagatorConstraints.Relational, PolyhedralScopePropagatorSolver.Clp, true) + case "hybrid": new ScopePropagatorStrategy.Polyhedral( + PolyhedralScopePropagatorConstraints.Relational, PolyhedralScopePropagatorSolver.Clp, false) + case "typeHierarchy": ScopePropagatorStrategy.BasicTypeHierarchy + default: throw new IllegalArgumentException("Unknown scope propagator: " + stringValue) + } } for (objectiveEntry : objectiveEntries) { val costObjectiveConfig = new CostObjectiveConfiguration diff --git a/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/ui/syntaxcoloring/.SolverSemanticHighlightCalculator.xtendbin b/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/ui/syntaxcoloring/.SolverSemanticHighlightCalculator.xtendbin index b54e44de..dbdd38d8 100644 Binary files a/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/ui/syntaxcoloring/.SolverSemanticHighlightCalculator.xtendbin and b/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/ui/syntaxcoloring/.SolverSemanticHighlightCalculator.xtendbin differ diff --git a/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/ui/syntaxcoloring/.SolverSemanticTextAttributeProvider.xtendbin b/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/ui/syntaxcoloring/.SolverSemanticTextAttributeProvider.xtendbin index 4976e388..6b2259b5 100644 Binary files a/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/ui/syntaxcoloring/.SolverSemanticTextAttributeProvider.xtendbin and b/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/ui/syntaxcoloring/.SolverSemanticTextAttributeProvider.xtendbin differ diff --git a/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/validation/.SolverLanguageValidator.xtendbin b/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/validation/.SolverLanguageValidator.xtendbin index 6cd15573..5437df8f 100644 Binary files a/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/validation/.SolverLanguageValidator.xtendbin and b/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/validation/.SolverLanguageValidator.xtendbin differ diff --git a/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/parser/antlr/.SolverLanguageTokenDefInjectingParser.xtendbin b/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/parser/antlr/.SolverLanguageTokenDefInjectingParser.xtendbin index 3663bdb4..26756ae5 100644 Binary files a/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/parser/antlr/.SolverLanguageTokenDefInjectingParser.xtendbin and b/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/parser/antlr/.SolverLanguageTokenDefInjectingParser.xtendbin differ diff --git a/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/serializer/.SolverLanguageSyntheticTokenSyntacticSequencer.xtendbin b/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/serializer/.SolverLanguageSyntheticTokenSyntacticSequencer.xtendbin index 08e3330b..6f7cebd0 100644 Binary files a/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/serializer/.SolverLanguageSyntheticTokenSyntacticSequencer.xtendbin and b/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/serializer/.SolverLanguageSyntheticTokenSyntacticSequencer.xtendbin differ diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/ModelGenerationMethodProvider.xtend b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/ModelGenerationMethodProvider.xtend index 78eda150..b79039cb 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/ModelGenerationMethodProvider.xtend +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/ModelGenerationMethodProvider.xtend @@ -112,6 +112,7 @@ class ModelGenerationMethodProvider { ReasonerWorkspace workspace, boolean nameNewElements, TypeInferenceMethod typeInferenceMethod, + boolean calculateObjectCreationCosts, ScopePropagatorStrategy scopePropagatorStrategy, Collection hints, DocumentationLevel debugLevel @@ -135,7 +136,7 @@ class ModelGenerationMethodProvider { val relationRefinementRules = refinementRuleProvider.createRelationRefinementRules(queries, scopePropagator, statistics) - val unfinishedMultiplicities = goalConstraintProvider.getUnfinishedMultiplicityQueries(logicProblem,queries) + val unfinishedMultiplicities = goalConstraintProvider.getUnfinishedMultiplicityQueries(logicProblem,queries,calculateObjectCreationCosts) val unfinishedWF = queries.getUnfinishedWFQueries.values diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/cardinality/MultiplicityGoalConstraintCalculator.xtend b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/cardinality/MultiplicityGoalConstraintCalculator.xtend index 392ab3ee..273e0ac3 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/cardinality/MultiplicityGoalConstraintCalculator.xtend +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/cardinality/MultiplicityGoalConstraintCalculator.xtend @@ -14,6 +14,9 @@ class MultiplicityGoalConstraintCalculator { val int cost new(String targetRelationName, IQuerySpecification querySpecification, boolean containment, int lowerBound, int cost) { + if (lowerBound <= 0) { + throw new IllegalArgumentException("Invalid lower bound: " + lowerBound) + } this.targetRelationName = targetRelationName this.querySpecification = querySpecification this.calculator = null diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/cardinality/ScopePropagator.xtend b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/cardinality/ScopePropagator.xtend index 132ca8e8..3e95b2cc 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/cardinality/ScopePropagator.xtend +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/cardinality/ScopePropagator.xtend @@ -60,15 +60,23 @@ class ScopePropagator { } } } while (changed) - + copyScopeBoundsToHeuristic() } def propagateAllScopeConstraints() { + if (!valid) { + return + } statistics.incrementScopePropagationCount() doPropagateAllScopeConstraints() } - + + def isValid() { + partialInterpretation.maxNewElements == -1 || + partialInterpretation.minNewElements <= partialInterpretation.maxNewElements + } + protected def copyScopeBoundsToHeuristic() { partialInterpretation.minNewElementsHeuristic = partialInterpretation.minNewElements for (scope : partialInterpretation.scopes) { @@ -109,7 +117,7 @@ class ScopePropagator { // this.partialInterpretation.scopes.forEach[println(''' «(it.targetTypeInterpretation as PartialComplexTypeInterpretation).interpretationOf.name»: «it.minNewElements»-«it.maxNewElements»''')] // println('''All constraints are propagated upon increasing «(t as PartialComplexTypeInterpretation).interpretationOf.name»''') } - + protected def setScopesInvalid() { partialInterpretation.minNewElements = Integer.MAX_VALUE partialInterpretation.maxNewElements = 0 diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/patterns/PatternGenerator.xtend b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/patterns/PatternGenerator.xtend index f3125b80..80bc3844 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/patterns/PatternGenerator.xtend +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/patterns/PatternGenerator.xtend @@ -51,7 +51,7 @@ class PatternGenerator { @Accessors(PUBLIC_GETTER) val RelationRefinementGenerator relationRefinementGenerator = new RelationRefinementGenerator(this) @Accessors(PUBLIC_GETTER) val UnitPropagationPreconditionGenerator unitPropagationPreconditionGenerator = new UnitPropagationPreconditionGenerator(this) - public new(TypeInferenceMethod typeInferenceMethod, ScopePropagatorStrategy scopePropagatorStrategy) { + new(TypeInferenceMethod typeInferenceMethod, ScopePropagatorStrategy scopePropagatorStrategy) { if(typeInferenceMethod == TypeInferenceMethod.Generic) { this.typeIndexer = new GenericTypeIndexer(this) this.typeRefinementGenerator = new GenericTypeRefinementGenerator(this) diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/patterns/RelationDeclarationIndexer.xtend b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/patterns/RelationDeclarationIndexer.xtend index cef707c5..b4403979 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/patterns/RelationDeclarationIndexer.xtend +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/patterns/RelationDeclarationIndexer.xtend @@ -19,7 +19,7 @@ class RelationDeclarationIndexer { this.base = base } - public def generateRelationIndexers(LogicProblem problem, Iterable relations, Map fqn2PQuery) { + def generateRelationIndexers(LogicProblem problem, Iterable relations, Map fqn2PQuery) { val upperMultiplicities = new HashMap problem.annotations.filter(UpperMultiplicityAssertion).forEach[ upperMultiplicities.put(it.relation,it.upper) @@ -42,7 +42,7 @@ class RelationDeclarationIndexer { '''«modality.name.toLowerCase»InRelation«base.canonizeName(r.name)»''' } - public def referRelation( + def referRelation( RelationDeclaration referred, String sourceVariable, String targetVariable, diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/patterns/RelationRefinementGenerator.xtend b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/patterns/RelationRefinementGenerator.xtend index d915d47e..783cd36b 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/patterns/RelationRefinementGenerator.xtend +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/patterns/RelationRefinementGenerator.xtend @@ -5,12 +5,11 @@ import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.RelationDeclaration import hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicProblem import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.Modality import java.util.LinkedList -import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.ComplexTypeReference class RelationRefinementGenerator { PatternGenerator base; - public new(PatternGenerator base) { + new(PatternGenerator base) { this.base = base } diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/rules/GoalConstraintProvider.xtend b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/rules/GoalConstraintProvider.xtend index 7dc21410..732c135d 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/rules/GoalConstraintProvider.xtend +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/rules/GoalConstraintProvider.xtend @@ -1,13 +1,25 @@ package hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.rules +import hu.bme.mit.inf.dslreasoner.ecore2logic.ecore2logicannotations.LowerMultiplicityAssertion +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.ComplexTypeReference +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Type import hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicProblem import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.cardinality.MultiplicityGoalConstraintCalculator import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.patterns.GeneratedPatterns import java.util.ArrayList +import java.util.HashMap +import java.util.LinkedList +import java.util.List +import java.util.Map class GoalConstraintProvider { - - def getUnfinishedMultiplicityQueries(LogicProblem p, GeneratedPatterns patterns) { + + def getUnfinishedMultiplicityQueries(LogicProblem p, GeneratedPatterns patterns, boolean calculateObjectCost) { + val objectCosts = if (calculateObjectCost) { + calculateMissingObjectCost(p) + } else { + emptyMap + } val res = new ArrayList() for (entry : patterns.multiplicityConstraintQueries.entrySet) { val constraint = entry.key @@ -17,10 +29,61 @@ class GoalConstraintProvider { val query = queries.existingMultiplicityQuery val containment = constraint.containment val lowerBound = constraint.lowerBound - res += new MultiplicityGoalConstraintCalculator(targetRelationName, query, containment, 1, lowerBound) + val cost = objectCosts.getOrDefault(constraint.relation, 1) + res += new MultiplicityGoalConstraintCalculator( + targetRelationName, + query, + containment, + lowerBound, + cost + ) } } return res } -} \ No newline at end of file + private def calculateMissingObjectCost(LogicProblem p) { + val containments = p.containmentHierarchies.head.containmentRelations + val containment2Lower = containments.toInvertedMap [ containment | + val lower = p.annotations.filter(LowerMultiplicityAssertion).filter[it.relation === containment].head + if (lower !== null) { + lower.lower + } else { + 0 + } + ] + val types = p.types + val Map>> type2NewCost = new HashMap + for (type : types) { + val allSupertypes = (#[type] + type.supertypes).toSet + val allOutgoingContainments = containments.filter [ + allSupertypes.contains((it.parameters.get(0) as ComplexTypeReference).referred) + ] + val list = new LinkedList + for (outgoingContainment : allOutgoingContainments) { + val value = containment2Lower.get(outgoingContainment) + if (value > 0) { + list.add((outgoingContainment.parameters.get(1) as ComplexTypeReference).referred -> value) + } + } + type2NewCost.put(type, list) + } + val res = new HashMap + for (containment : containments) { + val key = containment + val value = (containment.parameters.get(1) as ComplexTypeReference).referred.count(type2NewCost) +// println('''«key.name» --> «value» new''') + res.put(key, value) + } + return res + } + + private def int count(Type t, Map>> containments) { + val list = containments.get(t) + var r = 1 + for (element : list) { + r += element.value * element.key.count(containments) + } + return r + } +} diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/ViatraReasoner.xtend b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/ViatraReasoner.xtend index b9056685..b58033d7 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/ViatraReasoner.xtend +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/ViatraReasoner.xtend @@ -43,6 +43,7 @@ import org.eclipse.viatra.dse.api.DesignSpaceExplorer import org.eclipse.viatra.dse.api.DesignSpaceExplorer.DseLoggingLevel import org.eclipse.viatra.dse.solutionstore.SolutionStore import org.eclipse.viatra.dse.statecode.IStateCoderFactory +import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.dse.PunishSizeObjective class ViatraReasoner extends LogicReasoner { val PartialInterpretationInitialiser initialiser = new PartialInterpretationInitialiser() @@ -86,17 +87,24 @@ class ViatraReasoner extends LogicReasoner { workspace, viatraConfig.nameNewElements, viatraConfig.typeInferenceMethod, + viatraConfig.calculateObjectCreationCosts, viatraConfig.scopePropagatorStrategy, viatraConfig.hints, viatraConfig.documentationLevel ) - dse.addObjective(new ModelGenerationCompositeObjective( + val compositeObjective = new ModelGenerationCompositeObjective( basicScopeGlobalConstraint ?: new ScopeObjective, method.unfinishedMultiplicities.map[new UnfinishedMultiplicityObjective(it)], wf2ObjectiveConverter.createCompletenessObjective(method.unfinishedWF), viatraConfig - )) + ) + dse.addObjective(compositeObjective) + if (viatraConfig.punishSize) { + val punishObjective = new PunishSizeObjective + punishObjective.level = compositeObjective.level + 1 + dse.addObjective(punishObjective) + } val extremalObjectives = Lists.newArrayListWithExpectedSize(viatraConfig.costObjectives.size) for (entry : viatraConfig.costObjectives.indexed) { diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/ViatraReasonerConfiguration.xtend b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/ViatraReasonerConfiguration.xtend index e33a2590..a2f6de22 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/ViatraReasonerConfiguration.xtend +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/ViatraReasonerConfiguration.xtend @@ -57,11 +57,12 @@ class ViatraReasonerConfiguration extends LogicSolverConfiguration { public var runIntermediateNumericalConsistencyChecks = true - public var punishSize = true - public var scopeWeight = 2 - public var conaintmentWeight = 1 + public var punishSize = false + public var scopeWeight = 1 + public var conaintmentWeight = 2 public var nonContainmentWeight = 1 public var unfinishedWFWeight = 1 + public var calculateObjectCreationCosts = false public var ScopePropagatorStrategy scopePropagatorStrategy = new ScopePropagatorStrategy.Polyhedral( PolyhedralScopePropagatorConstraints.Relational, PolyhedralScopePropagatorSolver.Clp) diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/BestFirstStrategyForModelGeneration.java b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/BestFirstStrategyForModelGeneration.java index 09575384..a2de1abc 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/BestFirstStrategyForModelGeneration.java +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/BestFirstStrategyForModelGeneration.java @@ -18,7 +18,6 @@ import java.util.List; import java.util.PriorityQueue; import java.util.Random; -import org.apache.log4j.Level; import org.apache.log4j.Logger; import org.eclipse.emf.ecore.EObject; import org.eclipse.emf.ecore.util.EcoreUtil; @@ -29,6 +28,8 @@ import org.eclipse.viatra.dse.objectives.Fitness; import org.eclipse.viatra.dse.objectives.ObjectiveComparatorHelper; import org.eclipse.viatra.dse.solutionstore.ISolutionFoundHandler; import org.eclipse.viatra.dse.solutionstore.SolutionStore; +import org.eclipse.viatra.query.runtime.api.IPatternMatch; +import org.eclipse.viatra.query.runtime.api.ViatraQueryMatcher; import hu.bme.mit.inf.dslreasoner.logic.model.builder.DocumentationLevel; import hu.bme.mit.inf.dslreasoner.logic.model.builder.LogicReasoner; @@ -137,10 +138,9 @@ public class BestFirstStrategyForModelGeneration implements IStrategy { // ViatraQueryEngine engine = context.getQueryEngine(); // matchers = new LinkedList>(); // for(IQuerySpecification> p : this.method.getAllPatterns()) { -// ViatraQueryMatcher matcher = p.getMatcher(engine); -// matchers.add(matcher); +// ViatraQueryMatcher matcher = p.getMatcher(engine); // } - +// final ObjectiveComparatorHelper objectiveComparatorHelper = context.getObjectiveComparatorHelper(); this.comparator = new Comparator() { @Override diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/ModelGenerationCompositeObjective.xtend b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/ModelGenerationCompositeObjective.xtend index 481f4ce1..27208cf4 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/ModelGenerationCompositeObjective.xtend +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/ModelGenerationCompositeObjective.xtend @@ -9,13 +9,13 @@ import java.util.List import org.eclipse.viatra.dse.base.ThreadContext import org.eclipse.viatra.dse.objectives.Comparators import org.eclipse.viatra.dse.objectives.IObjective +import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.PrimitiveElement class ModelGenerationCompositeObjective implements IThreeValuedObjective { val IObjective scopeObjective val List unfinishedMultiplicityObjectives val UnfinishedWFObjective unfinishedWFObjective var PartialInterpretation model = null - val boolean punishSize val int scopeWeight val int conaintmentWeight val int nonContainmentWeight @@ -28,7 +28,7 @@ class ModelGenerationCompositeObjective implements IThreeValuedObjective { ViatraReasonerConfiguration configuration) { this( - scopeObjective, unfinishedMultiplicityObjectives, unfinishedWFObjective, configuration.punishSize, + scopeObjective, unfinishedMultiplicityObjectives, unfinishedWFObjective, configuration.scopeWeight, configuration.conaintmentWeight, configuration.nonContainmentWeight, configuration.unfinishedWFWeight ) @@ -38,13 +38,12 @@ class ModelGenerationCompositeObjective implements IThreeValuedObjective { IObjective scopeObjective, List unfinishedMultiplicityObjectives, UnfinishedWFObjective unfinishedWFObjective, - boolean punishSize, int scopeWeight, int conaintmentWeight, int nonContainmentWeight, int unfinishedWFWeight) + int scopeWeight, int conaintmentWeight, int nonContainmentWeight, int unfinishedWFWeight) { this.scopeObjective = scopeObjective this.unfinishedMultiplicityObjectives = unfinishedMultiplicityObjectives this.unfinishedWFObjective = unfinishedWFObjective - this.punishSize = punishSize this.scopeWeight = scopeWeight this.conaintmentWeight = conaintmentWeight this.nonContainmentWeight = nonContainmentWeight @@ -63,7 +62,7 @@ class ModelGenerationCompositeObjective implements IThreeValuedObjective { scopeObjective.createNew, ImmutableList.copyOf(unfinishedMultiplicityObjectives.map[createNew as UnfinishedMultiplicityObjective]), unfinishedWFObjective.createNew as UnfinishedWFObjective, - punishSize, scopeWeight, conaintmentWeight, nonContainmentWeight, unfinishedWFWeight + scopeWeight, conaintmentWeight, nonContainmentWeight, unfinishedWFWeight ) } @@ -77,16 +76,14 @@ class ModelGenerationCompositeObjective implements IThreeValuedObjective { var containmentMultiplicity = 0.0 var nonContainmentMultiplicity = 0.0 for(multiplicityObjective : unfinishedMultiplicityObjectives) { + val multiplicity = multiplicityObjective.getFitness(context) +// println(multiplicityObjective.name + "=" + multiplicity) if(multiplicityObjective.containment) { - containmentMultiplicity+=multiplicityObjective.getFitness(context) + containmentMultiplicity+=multiplicity } else { - nonContainmentMultiplicity+=multiplicityObjective.getFitness(context) + nonContainmentMultiplicity+=multiplicity } - } - val size = if(punishSize) { - 0.9/model.newElements.size - } else { - 0 + } var sum = 0.0 @@ -94,7 +91,9 @@ class ModelGenerationCompositeObjective implements IThreeValuedObjective { sum += containmentMultiplicity*conaintmentWeight sum += nonContainmentMultiplicity*nonContainmentWeight sum += unfinishedWFsFitness*unfinishedWFWeight - sum+=size + +// println('''scope=«scopeFitnes», containment=«containmentMultiplicity», nonContainment=«nonContainmentMultiplicity», wf=«unfinishedWFsFitness», sum=«sum»''') + return sum } @@ -112,7 +111,7 @@ class ModelGenerationCompositeObjective implements IThreeValuedObjective { override isHardObjective() { true } - override satisifiesHardObjective(Double fitness) { fitness <= 0.9 } + override satisifiesHardObjective(Double fitness) { fitness < 0.01 } override setComparator(Comparator comparator) { throw new UnsupportedOperationException("Model generation objective comparator cannot be set.") diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/PunishSizeObjective.xtend b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/PunishSizeObjective.xtend new file mode 100644 index 00000000..8505661c --- /dev/null +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/PunishSizeObjective.xtend @@ -0,0 +1,70 @@ +package hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.dse + +import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.PartialInterpretation +import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.PrimitiveElement +import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.optimization.IThreeValuedObjective +import java.util.Comparator +import org.eclipse.viatra.dse.base.ThreadContext +import org.eclipse.viatra.dse.objectives.Comparators +import org.eclipse.xtend.lib.annotations.Accessors + +class PunishSizeObjective implements IThreeValuedObjective { + @Accessors int level = 3 + + override createNew() { + this + } + + override init(ThreadContext context) { + // Nothing to initialize. + } + + override getComparator() { + Comparators.LOWER_IS_BETTER + } + + override getFitness(ThreadContext threadContext) { + val model = threadContext.model + if (model instanceof PartialInterpretation) { + val size = model.newObjectCount +// println('''size=«size»''') + size as double + } else { + throw new IllegalArgumentException("notifier must be a PartialInterpretation") + } + } + + override getBestPossibleFitness(ThreadContext threadContext) { + getFitness(threadContext) + } + + override getWorstPossibleFitness(ThreadContext threadContext) { + val model = threadContext.model + if (model instanceof PartialInterpretation) { + (model.newObjectCount + model.maxNewElements) as double + } else { + throw new IllegalArgumentException("notifier must be a PartialInterpretation") + } + } + + private def getNewObjectCount(PartialInterpretation interpretation) { + interpretation.newElements.reject[it instanceof PrimitiveElement].size + } + + override getName() { + typeof(PunishSizeObjective).name + } + + override isHardObjective() { + false + } + + override satisifiesHardObjective(Double fitness) { + true + } + + override setComparator(Comparator comparator) { + throw new UnsupportedOperationException("Model generation objective comparator cannot be set.") + } + +} \ No newline at end of file diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/ScopeObjective.xtend b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/ScopeObjective.xtend index 7abc5cb8..b61bd20b 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/ScopeObjective.xtend +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/ScopeObjective.xtend @@ -25,7 +25,7 @@ class ScopeObjective implements IObjective{ val interpretation = context.model as PartialInterpretation var res = interpretation.minNewElementsHeuristic.doubleValue for(scope : interpretation.scopes) { - res += scope.minNewElementsHeuristic + res += scope.minNewElementsHeuristic * 2 } return res } diff --git a/Tests/MODELS2020-CaseStudies/case.study.familyTree.run/bin/.gitignore b/Tests/MODELS2020-CaseStudies/case.study.familyTree.run/bin/.gitignore new file mode 100644 index 00000000..7050a7e3 --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/case.study.familyTree.run/bin/.gitignore @@ -0,0 +1 @@ +/queries/ diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/config/genericSatellite.vsconfig b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/config/genericSatellite.vsconfig index 127b174d..2ff20880 100644 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/config/genericSatellite.vsconfig +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/config/genericSatellite.vsconfig @@ -23,7 +23,7 @@ generate { generate { metamodel = { package satellite } constraints = { package hu.bme.mit.inf.dslreasoner.domains.satellite.queries } - partial-model = { "inputs/SatelliteInstance.xmi"} + partial-model = { "inputs/SatelliteInstance.xmi" } solver = ViatraSolver scope = { #node += 64..* @@ -33,7 +33,10 @@ generate { runtime = 10000, log-level = normal, "fitness-scope" = "3", - "fitness-objectCreationCosts" = "true" + "fitness-punishSize" = "true", + "fitness-objectCreationCosts" = "true", + "scopePropagator" = "typeHierarchy", + "fitness-missing-containment" = "2" } runs = 1 -- cgit v1.2.3-70-g09d2 From b13b083b683d28365f4956bae1c6e3e7ac8fab1c Mon Sep 17 00:00:00 2001 From: Kristóf Marussy Date: Tue, 7 Jul 2020 17:48:54 +0200 Subject: Restore inverse punishSize --- .../.ApplicationConfigurationIdeModule.xtendbin | Bin 1701 -> 1701 bytes .../ide/.ApplicationConfigurationIdeSetup.xtendbin | Bin 2526 -> 2526 bytes .../application/execution/SolverLoader.xtend | 8 +++- .../.SolverSemanticHighlightCalculator.xtendbin | Bin 5334 -> 5334 bytes .../.SolverSemanticTextAttributeProvider.xtendbin | Bin 4902 -> 4902 bytes .../validation/.SolverLanguageValidator.xtendbin | Bin 1717 -> 1717 bytes ....SolverLanguageTokenDefInjectingParser.xtendbin | Bin 2742 -> 2742 bytes ...nguageSyntheticTokenSyntacticSequencer.xtendbin | Bin 2758 -> 2758 bytes .../viatrasolver/reasoner/ViatraReasoner.xtend | 13 ++++-- .../reasoner/ViatraReasonerConfiguration.xtend | 8 +++- .../reasoner/dse/PunishSizeObjective.xtend | 46 +++++++-------------- .../case.study.familyTree.run/bin/.gitignore | 1 - .../config/genericSatellite.vsconfig | 2 +- 13 files changed, 38 insertions(+), 40 deletions(-) delete mode 100644 Tests/MODELS2020-CaseStudies/case.study.familyTree.run/bin/.gitignore (limited to 'Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner') diff --git a/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeModule.xtendbin b/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeModule.xtendbin index 27ebff86..51a755e5 100644 Binary files a/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeModule.xtendbin and b/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeModule.xtendbin differ diff --git a/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeSetup.xtendbin b/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeSetup.xtendbin index 4c3dcf43..27588633 100644 Binary files a/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeSetup.xtendbin and b/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeSetup.xtendbin differ diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/execution/SolverLoader.xtend b/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/execution/SolverLoader.xtend index bc4fa42f..a549df00 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/execution/SolverLoader.xtend +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/execution/SolverLoader.xtend @@ -16,6 +16,7 @@ import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.cardinality.ScopePro import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.CostObjectiveConfiguration import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.CostObjectiveElementConfiguration import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.DiversityDescriptor +import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.PunishSizeStrategy import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.ViatraReasoner import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.ViatraReasonerConfiguration import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.optimization.ObjectiveKind @@ -110,7 +111,12 @@ class SolverLoader { } if (config.containsKey("fitness-punishSize")) { val stringValue = config.get("fitness-punishSize") - c.punishSize = Boolean.parseBoolean(stringValue) + c.punishSize = switch (stringValue) { + case "false": PunishSizeStrategy.NONE + case "true": PunishSizeStrategy.SMALLER_IS_BETTER + case "inverse": PunishSizeStrategy.LARGER_IS_BETTER + default: throw new IllegalArgumentException("Unknown punish size strategy: " + stringValue) + } } if (config.containsKey("fitness-scope")) { val stringValue = config.get("fitness-scope") diff --git a/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/ui/syntaxcoloring/.SolverSemanticHighlightCalculator.xtendbin b/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/ui/syntaxcoloring/.SolverSemanticHighlightCalculator.xtendbin index dbdd38d8..816f1516 100644 Binary files a/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/ui/syntaxcoloring/.SolverSemanticHighlightCalculator.xtendbin and b/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/ui/syntaxcoloring/.SolverSemanticHighlightCalculator.xtendbin differ diff --git a/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/ui/syntaxcoloring/.SolverSemanticTextAttributeProvider.xtendbin b/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/ui/syntaxcoloring/.SolverSemanticTextAttributeProvider.xtendbin index 6b2259b5..bc22802d 100644 Binary files a/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/ui/syntaxcoloring/.SolverSemanticTextAttributeProvider.xtendbin and b/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/ui/syntaxcoloring/.SolverSemanticTextAttributeProvider.xtendbin differ diff --git a/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/validation/.SolverLanguageValidator.xtendbin b/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/validation/.SolverLanguageValidator.xtendbin index 5437df8f..6086ad61 100644 Binary files a/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/validation/.SolverLanguageValidator.xtendbin and b/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/validation/.SolverLanguageValidator.xtendbin differ diff --git a/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/parser/antlr/.SolverLanguageTokenDefInjectingParser.xtendbin b/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/parser/antlr/.SolverLanguageTokenDefInjectingParser.xtendbin index 26756ae5..1fe63cb7 100644 Binary files a/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/parser/antlr/.SolverLanguageTokenDefInjectingParser.xtendbin and b/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/parser/antlr/.SolverLanguageTokenDefInjectingParser.xtendbin differ diff --git a/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/serializer/.SolverLanguageSyntheticTokenSyntacticSequencer.xtendbin b/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/serializer/.SolverLanguageSyntheticTokenSyntacticSequencer.xtendbin index 6f7cebd0..1c7b8eb2 100644 Binary files a/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/serializer/.SolverLanguageSyntheticTokenSyntacticSequencer.xtendbin and b/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/serializer/.SolverLanguageSyntheticTokenSyntacticSequencer.xtendbin differ diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/ViatraReasoner.xtend b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/ViatraReasoner.xtend index b58033d7..fd871615 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/ViatraReasoner.xtend +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/ViatraReasoner.xtend @@ -28,11 +28,13 @@ import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.dse.LoggerSolutionFoundH import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.dse.ModelGenerationCompositeObjective import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.dse.NumericSolver import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.dse.PartialModelAsLogicInterpretation +import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.dse.PunishSizeObjective import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.dse.ScopeObjective import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.dse.SurelyViolatedObjectiveGlobalConstraint import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.dse.UnfinishedMultiplicityObjective import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.dse.ViatraReasonerSolutionSaver import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.dse.WF2ObjectiveConverter +import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.optimization.ObjectiveKind import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.optimization.ThreeValuedCostElement import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.optimization.ThreeValuedCostObjective import hu.bme.mit.inf.dslreasoner.workspace.ReasonerWorkspace @@ -43,7 +45,6 @@ import org.eclipse.viatra.dse.api.DesignSpaceExplorer import org.eclipse.viatra.dse.api.DesignSpaceExplorer.DseLoggingLevel import org.eclipse.viatra.dse.solutionstore.SolutionStore import org.eclipse.viatra.dse.statecode.IStateCoderFactory -import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.dse.PunishSizeObjective class ViatraReasoner extends LogicReasoner { val PartialInterpretationInitialiser initialiser = new PartialInterpretationInitialiser() @@ -100,9 +101,13 @@ class ViatraReasoner extends LogicReasoner { viatraConfig ) dse.addObjective(compositeObjective) - if (viatraConfig.punishSize) { - val punishObjective = new PunishSizeObjective - punishObjective.level = compositeObjective.level + 1 + if (viatraConfig.punishSize != PunishSizeStrategy.NONE) { + val punishSizeStrategy = switch (viatraConfig.punishSize) { + case SMALLER_IS_BETTER: ObjectiveKind.LOWER_IS_BETTER + case LARGER_IS_BETTER: ObjectiveKind.HIGHER_IS_BETTER + default: throw new IllegalArgumentException("Unknown PunishSizeStrategy: " + viatraConfig.punishSize) + } + val punishObjective = new PunishSizeObjective(punishSizeStrategy, compositeObjective.level + 1) dse.addObjective(punishObjective) } diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/ViatraReasonerConfiguration.xtend b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/ViatraReasonerConfiguration.xtend index a2f6de22..0173124c 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/ViatraReasonerConfiguration.xtend +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/ViatraReasonerConfiguration.xtend @@ -26,6 +26,12 @@ enum StateCoderStrategy { DefinedByDiversity } +enum PunishSizeStrategy { + NONE, + SMALLER_IS_BETTER, + LARGER_IS_BETTER +} + class ViatraReasonerConfiguration extends LogicSolverConfiguration { // public var Iterable existingQueries public var nameNewElements = false @@ -57,7 +63,7 @@ class ViatraReasonerConfiguration extends LogicSolverConfiguration { public var runIntermediateNumericalConsistencyChecks = true - public var punishSize = false + public var punishSize = PunishSizeStrategy.NONE public var scopeWeight = 1 public var conaintmentWeight = 2 public var nonContainmentWeight = 1 diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/PunishSizeObjective.xtend b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/PunishSizeObjective.xtend index 8505661c..bad8e4d1 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/PunishSizeObjective.xtend +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/PunishSizeObjective.xtend @@ -2,28 +2,27 @@ package hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.dse import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.PartialInterpretation import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.PrimitiveElement -import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.optimization.IThreeValuedObjective -import java.util.Comparator +import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.optimization.AbstractThreeValuedObjective +import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.optimization.ObjectiveKind +import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.optimization.ObjectiveThreshold import org.eclipse.viatra.dse.base.ThreadContext -import org.eclipse.viatra.dse.objectives.Comparators -import org.eclipse.xtend.lib.annotations.Accessors -class PunishSizeObjective implements IThreeValuedObjective { - @Accessors int level = 3 +class PunishSizeObjective extends AbstractThreeValuedObjective { + static val NAME = typeof(PunishSizeObjective).name + + new(ObjectiveKind kind, int level) { + super(NAME, kind, ObjectiveThreshold.NO_THRESHOLD, level) + } override createNew() { - this + new PunishSizeObjective(kind, level) } override init(ThreadContext context) { // Nothing to initialize. } - override getComparator() { - Comparators.LOWER_IS_BETTER - } - - override getFitness(ThreadContext threadContext) { + override getRawFitness(ThreadContext threadContext) { val model = threadContext.model if (model instanceof PartialInterpretation) { val size = model.newObjectCount @@ -34,11 +33,11 @@ class PunishSizeObjective implements IThreeValuedObjective { } } - override getBestPossibleFitness(ThreadContext threadContext) { - getFitness(threadContext) + override getLowestPossibleFitness(ThreadContext threadContext) { + getRawFitness(threadContext) } - override getWorstPossibleFitness(ThreadContext threadContext) { + override getHighestPossibleFitness(ThreadContext threadContext) { val model = threadContext.model if (model instanceof PartialInterpretation) { (model.newObjectCount + model.maxNewElements) as double @@ -50,21 +49,4 @@ class PunishSizeObjective implements IThreeValuedObjective { private def getNewObjectCount(PartialInterpretation interpretation) { interpretation.newElements.reject[it instanceof PrimitiveElement].size } - - override getName() { - typeof(PunishSizeObjective).name - } - - override isHardObjective() { - false - } - - override satisifiesHardObjective(Double fitness) { - true - } - - override setComparator(Comparator comparator) { - throw new UnsupportedOperationException("Model generation objective comparator cannot be set.") - } - } \ No newline at end of file diff --git a/Tests/MODELS2020-CaseStudies/case.study.familyTree.run/bin/.gitignore b/Tests/MODELS2020-CaseStudies/case.study.familyTree.run/bin/.gitignore deleted file mode 100644 index 7050a7e3..00000000 --- a/Tests/MODELS2020-CaseStudies/case.study.familyTree.run/bin/.gitignore +++ /dev/null @@ -1 +0,0 @@ -/queries/ diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/config/genericSatellite.vsconfig b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/config/genericSatellite.vsconfig index 2ff20880..57eaf326 100644 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/config/genericSatellite.vsconfig +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/config/genericSatellite.vsconfig @@ -33,7 +33,7 @@ generate { runtime = 10000, log-level = normal, "fitness-scope" = "3", - "fitness-punishSize" = "true", + "fitness-punishSize" = "inverse", "fitness-objectCreationCosts" = "true", "scopePropagator" = "typeHierarchy", "fitness-missing-containment" = "2" -- cgit v1.2.3-70-g09d2 From b0e3359574eb00e1eaab5a7286a6f8e163b7b87f Mon Sep 17 00:00:00 2001 From: Kristóf Marussy Date: Wed, 8 Jul 2020 02:33:06 +0200 Subject: Fix event storm on EMF transaction finish --- .../.ApplicationConfigurationIdeModule.xtendbin | Bin 1701 -> 1701 bytes .../ide/.ApplicationConfigurationIdeSetup.xtendbin | Bin 2526 -> 2526 bytes .../.SolverSemanticHighlightCalculator.xtendbin | Bin 5334 -> 5334 bytes .../.SolverSemanticTextAttributeProvider.xtendbin | Bin 4902 -> 4902 bytes .../validation/.SolverLanguageValidator.xtendbin | Bin 1717 -> 1717 bytes ....SolverLanguageTokenDefInjectingParser.xtendbin | Bin 2742 -> 2742 bytes ...nguageSyntheticTokenSyntacticSequencer.xtendbin | Bin 2758 -> 2758 bytes .../META-INF/MANIFEST.MF | 11 +- .../rules/RefinementRuleProvider.xtend | 516 +++++++++++---------- .../eclipse/viatra/dse/api/SolutionTrajectory.java | 9 +- .../viatra/dse/base/DesignSpaceManager.java | 18 +- 11 files changed, 293 insertions(+), 261 deletions(-) (limited to 'Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner') diff --git a/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeModule.xtendbin b/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeModule.xtendbin index 51a755e5..bd1eabaf 100644 Binary files a/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeModule.xtendbin and b/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeModule.xtendbin differ diff --git a/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeSetup.xtendbin b/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeSetup.xtendbin index 27588633..f4956ec0 100644 Binary files a/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeSetup.xtendbin and b/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeSetup.xtendbin differ diff --git a/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/ui/syntaxcoloring/.SolverSemanticHighlightCalculator.xtendbin b/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/ui/syntaxcoloring/.SolverSemanticHighlightCalculator.xtendbin index 816f1516..0ee6ab93 100644 Binary files a/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/ui/syntaxcoloring/.SolverSemanticHighlightCalculator.xtendbin and b/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/ui/syntaxcoloring/.SolverSemanticHighlightCalculator.xtendbin differ diff --git a/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/ui/syntaxcoloring/.SolverSemanticTextAttributeProvider.xtendbin b/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/ui/syntaxcoloring/.SolverSemanticTextAttributeProvider.xtendbin index bc22802d..1fbc1b5a 100644 Binary files a/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/ui/syntaxcoloring/.SolverSemanticTextAttributeProvider.xtendbin and b/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/ui/syntaxcoloring/.SolverSemanticTextAttributeProvider.xtendbin differ diff --git a/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/validation/.SolverLanguageValidator.xtendbin b/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/validation/.SolverLanguageValidator.xtendbin index 6086ad61..6dfd9bdd 100644 Binary files a/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/validation/.SolverLanguageValidator.xtendbin and b/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/validation/.SolverLanguageValidator.xtendbin differ diff --git a/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/parser/antlr/.SolverLanguageTokenDefInjectingParser.xtendbin b/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/parser/antlr/.SolverLanguageTokenDefInjectingParser.xtendbin index 1fe63cb7..9e4a0e33 100644 Binary files a/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/parser/antlr/.SolverLanguageTokenDefInjectingParser.xtendbin and b/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/parser/antlr/.SolverLanguageTokenDefInjectingParser.xtendbin differ diff --git a/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/serializer/.SolverLanguageSyntheticTokenSyntacticSequencer.xtendbin b/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/serializer/.SolverLanguageSyntheticTokenSyntacticSequencer.xtendbin index 1c7b8eb2..2a1c8746 100644 Binary files a/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/serializer/.SolverLanguageSyntheticTokenSyntacticSequencer.xtendbin and b/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/serializer/.SolverLanguageSyntheticTokenSyntacticSequencer.xtendbin differ diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/META-INF/MANIFEST.MF b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/META-INF/MANIFEST.MF index f9090901..b9da0f0b 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/META-INF/MANIFEST.MF +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/META-INF/MANIFEST.MF @@ -17,15 +17,16 @@ Require-Bundle: hu.bme.mit.inf.dslreasoner.logic.model;bundle-version="1.0.0", org.eclipse.xtext.xbase.lib, org.eclipse.xtend.lib, org.eclipse.xtend.lib.macro, - org.eclipse.viatra.query.runtime;bundle-version="1.5.0", - org.eclipse.viatra.query.runtime.base.itc;bundle-version="1.5.0", - org.eclipse.viatra.query.patternlanguage.emf;bundle-version="1.5.0", + org.eclipse.viatra.query.runtime;bundle-version="2.0.0", + org.eclipse.viatra.query.runtime.base.itc;bundle-version="2.0.0", + org.eclipse.viatra.query.patternlanguage.emf;bundle-version="2.0.0", com.google.inject;bundle-version="3.0.0", org.eclipse.xtext;bundle-version="2.10.0", - org.eclipse.viatra.transformation.runtime.emf;bundle-version="1.5.0", + org.eclipse.viatra.transformation.runtime.emf;bundle-version="2.0.0", org.eclipse.xtext.xbase;bundle-version="2.10.0", com.microsoft.z3;bundle-version="4.8.5", - hu.bme.mit.inf.dslreasoner.ilp.cbc;bundle-version="1.0.0" + hu.bme.mit.inf.dslreasoner.ilp.cbc;bundle-version="1.0.0", + org.eclipse.viatra.query.runtime.rete;bundle-version="2.0.0" Bundle-RequiredExecutionEnvironment: JavaSE-1.8 Import-Package: org.apache.log4j Automatic-Module-Name: hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatraquery diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/rules/RefinementRuleProvider.xtend b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/rules/RefinementRuleProvider.xtend index 863ee18b..1d976e14 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/rules/RefinementRuleProvider.xtend +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/rules/RefinementRuleProvider.xtend @@ -27,6 +27,7 @@ import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.par import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.PartialStringInterpretation import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.PartialTypeInterpratation import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.PartialinterpretationFactory +import java.lang.reflect.Field import java.util.HashMap import java.util.LinkedHashMap import java.util.LinkedList @@ -38,6 +39,7 @@ import org.eclipse.viatra.query.runtime.api.IQuerySpecification import org.eclipse.viatra.query.runtime.api.ViatraQueryEngine import org.eclipse.viatra.query.runtime.api.ViatraQueryMatcher import org.eclipse.viatra.query.runtime.emf.EMFScope +import org.eclipse.viatra.query.runtime.rete.matcher.ReteBackendFactory import org.eclipse.viatra.transformation.runtime.emf.rules.batch.BatchTransformationRule import org.eclipse.viatra.transformation.runtime.emf.rules.batch.BatchTransformationRuleFactory import org.eclipse.xtend.lib.annotations.Data @@ -47,186 +49,180 @@ class RefinementRuleProvider { val extension BatchTransformationRuleFactory factory = new BatchTransformationRuleFactory val extension PartialinterpretationFactory factory2 = PartialinterpretationFactory.eINSTANCE val extension LogiclanguageFactory factory3 = LogiclanguageFactory.eINSTANCE - + var AdvancedViatraQueryEngine queryEngine - + var Field delayMessageDelivery + def canonizeName(String name) { - return name.replace(' ','_') + return name.replace(' ', '_') } - + def LinkedHashMap>> createObjectRefinementRules( - LogicProblem p, - PartialInterpretation i, - GeneratedPatterns patterns, - ScopePropagator scopePropagator, - boolean nameNewElement, - ModelGenerationStatistics statistics - ) - { + LogicProblem p, + PartialInterpretation i, + GeneratedPatterns patterns, + ScopePropagator scopePropagator, + boolean nameNewElement, + ModelGenerationStatistics statistics + ) { val res = new LinkedHashMap - val recursiveObjectCreation = recursiveObjectCreation(p,i) + val recursiveObjectCreation = recursiveObjectCreation(p, i) queryEngine = ViatraQueryEngine.on(new EMFScope(i)) as AdvancedViatraQueryEngine - for(LHSEntry: patterns.refineObjectQueries.entrySet) { + delayMessageDelivery = queryEngine.class.getDeclaredField("delayMessageDelivery") + delayMessageDelivery.accessible = true + for (LHSEntry : patterns.refineObjectQueries.entrySet) { val containmentRelation = LHSEntry.key.containmentRelation val inverseRelation = LHSEntry.key.inverseContainment val type = LHSEntry.key.newType val lhs = LHSEntry.value as IQuerySpecification> - val rule = createObjectCreationRule(p,containmentRelation,inverseRelation,type,recursiveObjectCreation.get(type),lhs,nameNewElement,scopePropagator,statistics) - res.put(LHSEntry.key,rule) + val rule = createObjectCreationRule(p, containmentRelation, inverseRelation, type, + recursiveObjectCreation.get(type), lhs, nameNewElement, scopePropagator, statistics) + res.put(LHSEntry.key, rule) } return res } - - def private createObjectCreationRule( - LogicProblem p, - Relation containmentRelation, - Relation inverseRelation, - Type type, - List recursiceObjectCreations, - IQuerySpecification> lhs, - boolean nameNewElement, - ScopePropagator scopePropagator, - ModelGenerationStatistics statistics) - { - val name = '''addObject_«type.name.canonizeName»« - IF containmentRelation!==null»_by_«containmentRelation.name.canonizeName»«ENDIF»''' - val ruleBuilder = factory.createRule(lhs) - .name(name) - if(containmentRelation !== null) { - if(inverseRelation!== null) { - ruleBuilder.action[match | + + def private createObjectCreationRule(LogicProblem p, Relation containmentRelation, Relation inverseRelation, + Type type, List recursiceObjectCreations, + IQuerySpecification> lhs, boolean nameNewElement, + ScopePropagator scopePropagator, ModelGenerationStatistics statistics) { + val name = '''addObject_«type.name.canonizeName»«IF containmentRelation!==null»_by_«containmentRelation.name.canonizeName»«ENDIF»''' + val ruleBuilder = factory.createRule(lhs).name(name) + if (containmentRelation !== null) { + if (inverseRelation !== null) { + ruleBuilder.action [ match | statistics.incrementTransformationCount // println(name) - //val problem = match.get(0) as LogicProblem + // val problem = match.get(0) as LogicProblem val interpretation = match.get(1) as PartialInterpretation val relationInterpretation = match.get(2) as PartialRelationInterpretation val inverseRelationInterpretation = match.get(3) as PartialRelationInterpretation val typeInterpretation = match.get(4) as PartialComplexTypeInterpretation val container = match.get(5) as DefinedElement - - queryEngine.delayUpdatePropagation [ - val startTime = System.nanoTime - createObjectActionWithContainmentAndInverse( - nameNewElement, - interpretation, - typeInterpretation, - container, - relationInterpretation, - inverseRelationInterpretation, - [createDefinedElement], - recursiceObjectCreations, - scopePropagator - ) - statistics.addExecutionTime(System.nanoTime-startTime) - ] - + + val startTime = System.nanoTime + createObjectActionWithContainmentAndInverse( + nameNewElement, + interpretation, + typeInterpretation, + container, + relationInterpretation, + inverseRelationInterpretation, + [createDefinedElement], + recursiceObjectCreations, + scopePropagator + ) + statistics.addExecutionTime(System.nanoTime - startTime) + + flushQueryEngine + // Scope propagation - queryEngine.delayUpdatePropagation [ - val propagatorStartTime = System.nanoTime - scopePropagator.propagateAllScopeConstraints() - statistics.addScopePropagationTime(System.nanoTime-propagatorStartTime) - ] + val propagatorStartTime = System.nanoTime + scopePropagator.propagateAllScopeConstraints() + statistics.addScopePropagationTime(System.nanoTime - propagatorStartTime) ] } else { - ruleBuilder.action[match | + ruleBuilder.action [ match | statistics.incrementTransformationCount // println(name) - //val problem = match.get(0) as LogicProblem + // val problem = match.get(0) as LogicProblem val interpretation = match.get(1) as PartialInterpretation val relationInterpretation = match.get(2) as PartialRelationInterpretation val typeInterpretation = match.get(3) as PartialComplexTypeInterpretation val container = match.get(4) as DefinedElement - - queryEngine.delayUpdatePropagation [ - val startTime = System.nanoTime - createObjectActionWithContainment( - nameNewElement, - interpretation, - typeInterpretation, - container, - relationInterpretation, - [createDefinedElement], - recursiceObjectCreations, - scopePropagator - ) - statistics.addExecutionTime(System.nanoTime-startTime) - ] - - // Scope propagation - queryEngine.delayUpdatePropagation [ - val propagatorStartTime = System.nanoTime - scopePropagator.propagateAllScopeConstraints() - statistics.addScopePropagationTime(System.nanoTime-propagatorStartTime) - ] - ] - } - } else { - ruleBuilder.action[match | - statistics.incrementTransformationCount -// println(name) - //val problem = match.get(0) as LogicProblem - val interpretation = match.get(1) as PartialInterpretation - val typeInterpretation = match.get(2) as PartialComplexTypeInterpretation - queryEngine.delayUpdatePropagation [ val startTime = System.nanoTime - createObjectAction( + createObjectActionWithContainment( nameNewElement, interpretation, typeInterpretation, + container, + relationInterpretation, [createDefinedElement], recursiceObjectCreations, scopePropagator ) - statistics.addExecutionTime(System.nanoTime-startTime) - ] - - // Scope propagation - queryEngine.delayUpdatePropagation [ + statistics.addExecutionTime(System.nanoTime - startTime) + + flushQueryEngine + + // Scope propagation val propagatorStartTime = System.nanoTime scopePropagator.propagateAllScopeConstraints() - statistics.addScopePropagationTime(System.nanoTime-propagatorStartTime) + statistics.addScopePropagationTime(System.nanoTime - propagatorStartTime) ] + } + } else { + ruleBuilder.action [ match | + statistics.incrementTransformationCount +// println(name) + // val problem = match.get(0) as LogicProblem + val interpretation = match.get(1) as PartialInterpretation + val typeInterpretation = match.get(2) as PartialComplexTypeInterpretation + + val startTime = System.nanoTime + createObjectAction( + nameNewElement, + interpretation, + typeInterpretation, + [createDefinedElement], + recursiceObjectCreations, + scopePropagator + ) + statistics.addExecutionTime(System.nanoTime - startTime) + + flushQueryEngine + + // Scope propagation + val propagatorStartTime = System.nanoTime + scopePropagator.propagateAllScopeConstraints() + statistics.addScopePropagationTime(System.nanoTime - propagatorStartTime) ] } return ruleBuilder.build } - + def private recursiveObjectCreation(LogicProblem p, PartialInterpretation i) { - val Map> recursiveObjectCreation = new HashMap - for(type : p.types) { - recursiveObjectCreation.put(type,new LinkedList) + val Map> recursiveObjectCreation = new HashMap + for (type : p.types) { + recursiveObjectCreation.put(type, new LinkedList) } - + val containmentReferences = p.containmentHierarchies.head.containmentRelations - - for(relationInterpretation : i.partialrelationinterpretation) { + + for (relationInterpretation : i.partialrelationinterpretation) { val relation = relationInterpretation.interpretationOf val lowermultiplicities = p.annotations.filter(LowerMultiplicityAssertion).filter[it.relation === relation] - if((!lowermultiplicities.empty)) { + if ((!lowermultiplicities.empty)) { val number = lowermultiplicities.head.lower - if(number > 0) { - val sourceTypeInterpretation = getTypeInterpretation(i, relation, 0) as PartialComplexTypeInterpretation - val subtypeInterpretations = i.partialtypeinterpratation.filter(PartialComplexTypeInterpretation).filter[ - it === sourceTypeInterpretation || - it.supertypeInterpretation.contains(sourceTypeInterpretation) - ] - - if(containmentReferences.contains(relation)) { + if (number > 0) { + val sourceTypeInterpretation = getTypeInterpretation(i, relation, + 0) as PartialComplexTypeInterpretation + val subtypeInterpretations = i.partialtypeinterpratation.filter(PartialComplexTypeInterpretation). + filter [ + it === sourceTypeInterpretation || + it.supertypeInterpretation.contains(sourceTypeInterpretation) + ] + + if (containmentReferences.contains(relation)) { val targetTypeInterpretation = getTypeInterpretation(i, relation, 1) val targetType = (targetTypeInterpretation as PartialComplexTypeInterpretation).interpretationOf - if((!targetType.isIsAbstract) && (targetType.supertypes.empty)) { - val inverseAnnotation = p.annotations.filter(InverseRelationAssertion).filter[it.inverseA === relation || it.inverseB === relation] - if(!inverseAnnotation.empty) { - val onlyInverseAnnotation = if(inverseAnnotation.head.inverseA===relation) { - inverseAnnotation.head.inverseB - } else { - inverseAnnotation.head.inverseA - } - val inverseRelationInterpretation = i.partialrelationinterpretation.filter[it.interpretationOf === onlyInverseAnnotation].head - for(subTypeInterpretation : subtypeInterpretations) { - for(var times=0; times getTypeConstructor(PartialComplexTypeInterpretation reference) { + [createDefinedElement] + } + + private dispatch def Function0 getTypeConstructor(PartialBooleanInterpretation reference) { + [createBooleanElement] } - private dispatch def Function0 getTypeConstructor(PartialComplexTypeInterpretation reference) { [createDefinedElement] } - private dispatch def Function0 getTypeConstructor(PartialBooleanInterpretation reference) { [createBooleanElement] } - private dispatch def Function0 getTypeConstructor(PartialIntegerInterpretation reference) { [createIntegerElement] } - private dispatch def Function0 getTypeConstructor(PartialRealInterpretation reference) { [createRealElement] } - private dispatch def Function0 getTypeConstructor(PartialStringInterpretation reference) { [createStringElement] } - - - def createRelationRefinementRules(GeneratedPatterns patterns, ScopePropagator scopePropagator, ModelGenerationStatistics statistics) { + + private dispatch def Function0 getTypeConstructor(PartialIntegerInterpretation reference) { + [createIntegerElement] + } + + private dispatch def Function0 getTypeConstructor(PartialRealInterpretation reference) { + [createRealElement] + } + + private dispatch def Function0 getTypeConstructor(PartialStringInterpretation reference) { + [createStringElement] + } + + def createRelationRefinementRules(GeneratedPatterns patterns, ScopePropagator scopePropagator, + ModelGenerationStatistics statistics) { val res = new LinkedHashMap - for(LHSEntry: patterns.refinerelationQueries.entrySet) { + for (LHSEntry : patterns.refinerelationQueries.entrySet) { val declaration = LHSEntry.key.key val inverseReference = LHSEntry.key.value val lhs = LHSEntry.value as IQuerySpecification> - val rule = createRelationRefinementRule(declaration,inverseReference,lhs,scopePropagator,statistics) - res.put(LHSEntry.key,rule) + val rule = createRelationRefinementRule(declaration, inverseReference, lhs, scopePropagator, statistics) + res.put(LHSEntry.key, rule) } return res } - - def private BatchTransformationRule> - createRelationRefinementRule(RelationDeclaration declaration, Relation inverseRelation, IQuerySpecification> lhs, ScopePropagator scopePropagator, ModelGenerationStatistics statistics) - { + + def private BatchTransformationRule> createRelationRefinementRule( + RelationDeclaration declaration, Relation inverseRelation, + IQuerySpecification> lhs, ScopePropagator scopePropagator, + ModelGenerationStatistics statistics) { val name = '''addRelation_«declaration.name.canonizeName»«IF inverseRelation !== null»_and_«inverseRelation.name.canonizeName»«ENDIF»''' - val ruleBuilder = factory.createRule(lhs) - .name(name) + val ruleBuilder = factory.createRule(lhs).name(name) if (inverseRelation === null) { ruleBuilder.action [ match | statistics.incrementTransformationCount - + // println(name) // val problem = match.get(0) as LogicProblem // val interpretation = match.get(1) as PartialInterpretation val relationInterpretation = match.get(2) as PartialRelationInterpretation val src = match.get(3) as DefinedElement val trg = match.get(4) as DefinedElement - + queryEngine.delayUpdatePropagation [ val startTime = System.nanoTime createRelationLinkAction(src, trg, relationInterpretation) - statistics.addExecutionTime(System.nanoTime-startTime) + statistics.addExecutionTime(System.nanoTime - startTime) ] - + // Scope propagation if (scopePropagator.isPropagationNeededAfterAdditionToRelation(declaration)) { queryEngine.delayUpdatePropagation [ val propagatorStartTime = System.nanoTime scopePropagator.propagateAllScopeConstraints() - statistics.addScopePropagationTime(System.nanoTime-propagatorStartTime) + statistics.addScopePropagationTime(System.nanoTime - propagatorStartTime) ] } ] @@ -391,33 +398,31 @@ class RefinementRuleProvider { val src = match.get(4) as DefinedElement val trg = match.get(5) as DefinedElement - queryEngine.delayUpdatePropagation [ - val startTime = System.nanoTime - createRelationLinkWithInverse(src, trg, relationInterpretation, inverseInterpretation) - statistics.addExecutionTime(System.nanoTime-startTime) - ] - + val startTime = System.nanoTime + createRelationLinkWithInverse(src, trg, relationInterpretation, inverseInterpretation) + statistics.addExecutionTime(System.nanoTime - startTime) + // Scope propagation if (scopePropagator.isPropagationNeededAfterAdditionToRelation(declaration)) { - queryEngine.delayUpdatePropagation [ - val propagatorStartTime = System.nanoTime - scopePropagator.propagateAllScopeConstraints() - statistics.addScopePropagationTime(System.nanoTime-propagatorStartTime) - ] + flushQueryEngine + + val propagatorStartTime = System.nanoTime + scopePropagator.propagateAllScopeConstraints() + statistics.addScopePropagationTime(System.nanoTime - propagatorStartTime) } ] } return ruleBuilder.build } - - ///////////////////////// + + // /////////////////////// // Actions - ///////////////////////// - - protected def void createObjectAction(boolean nameNewElement, ObjectCreationInterpretationData data, DefinedElement container, ScopePropagator scopePropagator) { - if(data.containerInterpretation !== null) { - if(data.containerInverseInterpretation !== null) { + // /////////////////////// + protected def void createObjectAction(boolean nameNewElement, ObjectCreationInterpretationData data, + DefinedElement container, ScopePropagator scopePropagator) { + if (data.containerInterpretation !== null) { + if (data.containerInverseInterpretation !== null) { createObjectActionWithContainmentAndInverse( nameNewElement, data.interpretation, @@ -451,9 +456,9 @@ class RefinementRuleProvider { scopePropagator ) } - + } - + protected def createObjectActionWithContainmentAndInverse( boolean nameNewElement, PartialInterpretation interpretation, @@ -466,36 +471,36 @@ class RefinementRuleProvider { ScopePropagator scopePropagator ) { val newElement = constructor.apply - if(nameNewElement) { + if (nameNewElement) { newElement.name = '''new «interpretation.newElements.size»''' } - + // Types typeInterpretation.elements += newElement - if(typeInterpretation instanceof PartialComplexTypeInterpretation) { + if (typeInterpretation instanceof PartialComplexTypeInterpretation) { typeInterpretation.supertypeInterpretation.forEach[it.elements += newElement] } // ContainmentRelation val newLink1 = factory2.createBinaryElementRelationLink => [it.param1 = container it.param2 = newElement] - relationInterpretation.relationlinks+=newLink1 + relationInterpretation.relationlinks += newLink1 // Inverse Containment val newLink2 = factory2.createBinaryElementRelationLink => [it.param1 = newElement it.param2 = container] - inverseRelationInterpretation.relationlinks+=newLink2 - + inverseRelationInterpretation.relationlinks += newLink2 + // Scope propagation scopePropagator.decrementTypeScope(typeInterpretation) - + // Existence - interpretation.newElements+=newElement - + interpretation.newElements += newElement + // Do recursive object creation - for(newConstructor : recursiceObjectCreations) { - createObjectAction(nameNewElement,newConstructor,newElement,scopePropagator) + for (newConstructor : recursiceObjectCreations) { + createObjectAction(nameNewElement, newConstructor, newElement, scopePropagator) } - + return newElement } - + protected def createObjectActionWithContainment( boolean nameNewElement, PartialInterpretation interpretation, @@ -507,77 +512,82 @@ class RefinementRuleProvider { ScopePropagator scopePropagator ) { val newElement = constructor.apply - if(nameNewElement) { + if (nameNewElement) { newElement.name = '''new «interpretation.newElements.size»''' } - + // Types typeInterpretation.elements += newElement - if(typeInterpretation instanceof PartialComplexTypeInterpretation) { + if (typeInterpretation instanceof PartialComplexTypeInterpretation) { typeInterpretation.supertypeInterpretation.forEach[it.elements += newElement] } // ContainmentRelation val newLink = factory2.createBinaryElementRelationLink => [it.param1 = container it.param2 = newElement] - relationInterpretation.relationlinks+=newLink - + relationInterpretation.relationlinks += newLink + // Scope propagation scopePropagator.decrementTypeScope(typeInterpretation) - + // Existence - interpretation.newElements+=newElement - + interpretation.newElements += newElement + // Do recursive object creation - for(newConstructor : recursiceObjectCreations) { - createObjectAction(nameNewElement,newConstructor,newElement,scopePropagator) + for (newConstructor : recursiceObjectCreations) { + createObjectAction(nameNewElement, newConstructor, newElement, scopePropagator) } - + return newElement } - - protected def createObjectAction( - boolean nameNewElement, - PartialInterpretation interpretation, - PartialTypeInterpratation typeInterpretation, - Function0 constructor, - List recursiceObjectCreations, - ScopePropagator scopePropagator) - { + + protected def createObjectAction(boolean nameNewElement, PartialInterpretation interpretation, + PartialTypeInterpratation typeInterpretation, Function0 constructor, + List recursiceObjectCreations, ScopePropagator scopePropagator) { val newElement = constructor.apply - if(nameNewElement) { + if (nameNewElement) { newElement.name = '''new «interpretation.newElements.size»''' } - + // Types typeInterpretation.elements += newElement - if(typeInterpretation instanceof PartialComplexTypeInterpretation) { + if (typeInterpretation instanceof PartialComplexTypeInterpretation) { typeInterpretation.supertypeInterpretation.forEach[it.elements += newElement] } - + // Scope propagation scopePropagator.decrementTypeScope(typeInterpretation) - + // Existence - interpretation.newElements+=newElement - + interpretation.newElements += newElement + // Do recursive object creation - for(newConstructor : recursiceObjectCreations) { - createObjectAction(nameNewElement,newConstructor,newElement,scopePropagator) + for (newConstructor : recursiceObjectCreations) { + createObjectAction(nameNewElement, newConstructor, newElement, scopePropagator) } - + return newElement } - - protected def boolean createRelationLinkAction(DefinedElement src, DefinedElement trg, PartialRelationInterpretation relationInterpretation) { + + protected def boolean createRelationLinkAction(DefinedElement src, DefinedElement trg, + PartialRelationInterpretation relationInterpretation) { val link = createBinaryElementRelationLink => [it.param1 = src it.param2 = trg] relationInterpretation.relationlinks += link } - - protected def boolean createRelationLinkWithInverse(DefinedElement src, DefinedElement trg, PartialRelationInterpretation relationInterpretation, PartialRelationInterpretation inverseInterpretation) { + + protected def boolean createRelationLinkWithInverse(DefinedElement src, DefinedElement trg, + PartialRelationInterpretation relationInterpretation, PartialRelationInterpretation inverseInterpretation) { val link = createBinaryElementRelationLink => [it.param1 = src it.param2 = trg] relationInterpretation.relationlinks += link val inverseLink = createBinaryElementRelationLink => [it.param1 = trg it.param2 = src] inverseInterpretation.relationlinks += inverseLink } + + protected def flushQueryEngine() { + if (queryEngine.updatePropagationDelayed) { + delayMessageDelivery.setBoolean(queryEngine, false) + queryEngine.getQueryBackend(ReteBackendFactory.INSTANCE).flushUpdates + delayMessageDelivery.setBoolean(queryEngine, true) + } + } } @Data diff --git a/Solvers/VIATRA-Solver/org.eclipse.viatra.dse/src/org/eclipse/viatra/dse/api/SolutionTrajectory.java b/Solvers/VIATRA-Solver/org.eclipse.viatra.dse/src/org/eclipse/viatra/dse/api/SolutionTrajectory.java index d1a41065..500dd7d2 100644 --- a/Solvers/VIATRA-Solver/org.eclipse.viatra.dse/src/org/eclipse/viatra/dse/api/SolutionTrajectory.java +++ b/Solvers/VIATRA-Solver/org.eclipse.viatra.dse/src/org/eclipse/viatra/dse/api/SolutionTrajectory.java @@ -206,7 +206,14 @@ public class SolutionTrajectory { } }; long start = System.nanoTime(); - editingDomain.getCommandStack().execute(cc); + try { + ((AdvancedViatraQueryEngine) engine).delayUpdatePropagation(() -> { + editingDomain.getCommandStack().execute(cc); + return null; + }); + } catch (InvocationTargetException e) { + throw new RuntimeException(e); + } listener.forwardWorked(System.nanoTime() - start); } diff --git a/Solvers/VIATRA-Solver/org.eclipse.viatra.dse/src/org/eclipse/viatra/dse/base/DesignSpaceManager.java b/Solvers/VIATRA-Solver/org.eclipse.viatra.dse/src/org/eclipse/viatra/dse/base/DesignSpaceManager.java index 4c6b4097..7e7a6e51 100644 --- a/Solvers/VIATRA-Solver/org.eclipse.viatra.dse/src/org/eclipse/viatra/dse/base/DesignSpaceManager.java +++ b/Solvers/VIATRA-Solver/org.eclipse.viatra.dse/src/org/eclipse/viatra/dse/base/DesignSpaceManager.java @@ -151,7 +151,14 @@ public class DesignSpaceManager implements IBacktrackListener { Object previousState = trajectory.getCurrentStateId(); long start = System.nanoTime(); - domain.getCommandStack().execute(rc); + try { + engine.delayUpdatePropagation(() -> { + domain.getCommandStack().execute(rc); + return null; + }); + } catch (InvocationTargetException e) { + throw new RuntimeException(e); + } forwardTime += System.nanoTime() - start; Object newStateId = stateCoder.createStateCode(); @@ -270,7 +277,14 @@ public class DesignSpaceManager implements IBacktrackListener { }; long start = System.nanoTime(); - domain.getCommandStack().execute(rc); + try { + engine.delayUpdatePropagation(() -> { + domain.getCommandStack().execute(rc); + return null; + }); + } catch (InvocationTargetException e) { + throw new RuntimeException(e); + } forwardTime += System.nanoTime() - start; Object newStateId = null; -- cgit v1.2.3-70-g09d2 From 329ac27dfa84e9a07760bea75b36476dddcf29a7 Mon Sep 17 00:00:00 2001 From: Kristóf Marussy Date: Tue, 14 Jul 2020 10:45:03 +0200 Subject: Optimizations --- .../.ApplicationConfigurationIdeModule.xtendbin | Bin 1701 -> 1701 bytes .../ide/.ApplicationConfigurationIdeSetup.xtendbin | Bin 2526 -> 2526 bytes .../.SolverSemanticHighlightCalculator.xtendbin | Bin 5334 -> 5334 bytes .../.SolverSemanticTextAttributeProvider.xtendbin | Bin 4902 -> 4902 bytes .../validation/.SolverLanguageValidator.xtendbin | Bin 1717 -> 1717 bytes ....SolverLanguageTokenDefInjectingParser.xtendbin | Bin 2742 -> 2742 bytes ...nguageSyntheticTokenSyntacticSequencer.xtendbin | Bin 2758 -> 2758 bytes .../ModelGenerationMethodProvider.xtend | 22 +++-- .../cardinality/PolyhedronScopePropagator.xtend | 4 + .../logic2viatra/cardinality/ScopePropagator.xtend | 4 + .../logic2viatra/patterns/PatternProvider.xtend | 12 +++ .../rules/RefinementRuleProvider.xtend | 12 +-- .../META-INF/MANIFEST.MF | 3 +- .../neighbourhood/Descriptor.xtend | 106 ++++++--------------- .../neighbourhood/PartialInterpretation2Hash.xtend | 14 ++- ...nterpretation2NeighbourhoodRepresentation.xtend | 63 ++++++------ .../NeighbourhoodBasedStateCoderFactory.xtend | 21 +++- .../viatrasolver/reasoner/ViatraReasoner.xtend | 2 +- .../config/genericSatellite.vsconfig | 6 +- .../config/genericTaxation.vsconfig | 6 +- .../case.study.pledge.run/inputs/Resource50hh.xmi | 59 ++++++++++++ 21 files changed, 196 insertions(+), 138 deletions(-) create mode 100644 Tests/MODELS2020-CaseStudies/case.study.pledge.run/inputs/Resource50hh.xmi (limited to 'Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner') diff --git a/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeModule.xtendbin b/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeModule.xtendbin index bd1eabaf..35e3fe34 100644 Binary files a/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeModule.xtendbin and b/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeModule.xtendbin differ diff --git a/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeSetup.xtendbin b/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeSetup.xtendbin index f4956ec0..b597e715 100644 Binary files a/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeSetup.xtendbin and b/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeSetup.xtendbin differ diff --git a/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/ui/syntaxcoloring/.SolverSemanticHighlightCalculator.xtendbin b/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/ui/syntaxcoloring/.SolverSemanticHighlightCalculator.xtendbin index 0ee6ab93..5d90d470 100644 Binary files a/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/ui/syntaxcoloring/.SolverSemanticHighlightCalculator.xtendbin and b/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/ui/syntaxcoloring/.SolverSemanticHighlightCalculator.xtendbin differ diff --git a/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/ui/syntaxcoloring/.SolverSemanticTextAttributeProvider.xtendbin b/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/ui/syntaxcoloring/.SolverSemanticTextAttributeProvider.xtendbin index 1fbc1b5a..f054d52c 100644 Binary files a/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/ui/syntaxcoloring/.SolverSemanticTextAttributeProvider.xtendbin and b/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/ui/syntaxcoloring/.SolverSemanticTextAttributeProvider.xtendbin differ diff --git a/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/validation/.SolverLanguageValidator.xtendbin b/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/validation/.SolverLanguageValidator.xtendbin index 6dfd9bdd..faaea19c 100644 Binary files a/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/validation/.SolverLanguageValidator.xtendbin and b/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/validation/.SolverLanguageValidator.xtendbin differ diff --git a/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/parser/antlr/.SolverLanguageTokenDefInjectingParser.xtendbin b/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/parser/antlr/.SolverLanguageTokenDefInjectingParser.xtendbin index 9e4a0e33..704006b4 100644 Binary files a/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/parser/antlr/.SolverLanguageTokenDefInjectingParser.xtendbin and b/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/parser/antlr/.SolverLanguageTokenDefInjectingParser.xtendbin differ diff --git a/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/serializer/.SolverLanguageSyntheticTokenSyntacticSequencer.xtendbin b/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/serializer/.SolverLanguageSyntheticTokenSyntacticSequencer.xtendbin index 2a1c8746..76be2b25 100644 Binary files a/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/serializer/.SolverLanguageSyntheticTokenSyntacticSequencer.xtendbin and b/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/serializer/.SolverLanguageSyntheticTokenSyntacticSequencer.xtendbin differ diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/ModelGenerationMethodProvider.xtend b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/ModelGenerationMethodProvider.xtend index b79039cb..56beacfa 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/ModelGenerationMethodProvider.xtend +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/ModelGenerationMethodProvider.xtend @@ -1,6 +1,7 @@ package hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra import com.google.common.collect.ImmutableMap +import com.google.common.collect.ImmutableSet import hu.bme.mit.inf.dslreasoner.logic.model.builder.DocumentationLevel import hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicProblem import hu.bme.mit.inf.dslreasoner.viatra2logic.viatra2logicannotations.TransfomedViatraQuery @@ -57,7 +58,7 @@ class ModelGenerationStatistics { } public var int transformationInvocations - + synchronized def incrementTransformationCount() { transformationInvocations++ } @@ -67,7 +68,7 @@ class ModelGenerationStatistics { synchronized def incrementScopePropagationCount() { scopePropagatorInvocations++ } - + public var int scopePropagatorSolverInvocations synchronized def incrementScopePropagationSolverCount() { @@ -126,9 +127,7 @@ class ModelGenerationMethodProvider { val relationConstraints = relationConstraintCalculator.calculateRelationConstraints(logicProblem) val queries = patternProvider.generateQueries(logicProblem, emptySolution, statistics, existingQueries, workspace, typeInferenceMethod, scopePropagatorStrategy, relationConstraints, hints, writeFiles) - val queryEngine = ViatraQueryEngine.on(new EMFScope(emptySolution)) - GenericQueryGroup.of(queries.allQueries).prepare(queryEngine) - + val scopePropagator = createScopePropagator(scopePropagatorStrategy, emptySolution, hints, queries, statistics) scopePropagator.propagateAllScopeConstraints val objectRefinementRules = refinementRuleProvider.createObjectRefinementRules(logicProblem, emptySolution, @@ -136,7 +135,8 @@ class ModelGenerationMethodProvider { val relationRefinementRules = refinementRuleProvider.createRelationRefinementRules(queries, scopePropagator, statistics) - val unfinishedMultiplicities = goalConstraintProvider.getUnfinishedMultiplicityQueries(logicProblem,queries,calculateObjectCreationCosts) + val unfinishedMultiplicities = goalConstraintProvider.getUnfinishedMultiplicityQueries(logicProblem, queries, + calculateObjectCreationCosts) val unfinishedWF = queries.getUnfinishedWFQueries.values @@ -150,10 +150,18 @@ class ModelGenerationMethodProvider { val modalRelationQueries = modalRelationQueriesBuilder.build val invalidWF = queries.getInvalidWFQueries.values - + val mustUnitPropagationPreconditions = queries.getMustUnitPropagationPreconditionPatterns val currentUnitPropagationPreconditions = queries.getCurrentUnitPropagationPreconditionPatterns + val queriesToPrepare = ImmutableSet.builder.addAll(queries.refineObjectQueries.values).addAll( + queries.refineTypeQueries.values).addAll(queries.refinerelationQueries.values).addAll(queries. + multiplicityConstraintQueries.values.flatMap[allQueries]).addAll(queries.unfinishedWFQueries.values).addAll( + queries.invalidWFQueries.values).addAll(queries.mustUnitPropagationPreconditionPatterns.values).addAll( + queries.currentUnitPropagationPreconditionPatterns.values).add(queries.hasElementInContainmentQuery).build + val queryEngine = ViatraQueryEngine.on(new EMFScope(emptySolution)) + GenericQueryGroup.of(queriesToPrepare).prepare(queryEngine) + return new ModelGenerationMethod( statistics, objectRefinementRules.values, diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/cardinality/PolyhedronScopePropagator.xtend b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/cardinality/PolyhedronScopePropagator.xtend index db22b95c..c28d4caa 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/cardinality/PolyhedronScopePropagator.xtend +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/cardinality/PolyhedronScopePropagator.xtend @@ -114,6 +114,10 @@ class PolyhedronScopePropagator extends TypeHierarchyScopePropagator { override isPropagationNeededAfterAdditionToRelation(Relation r) { relevantRelations.contains(r) || super.isPropagationNeededAfterAdditionToRelation(r) } + + override isQueryEngineFlushRequiredBeforePropagation() { + true + } def resetBounds() { for (dimension : polyhedron.dimensions) { diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/cardinality/ScopePropagator.xtend b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/cardinality/ScopePropagator.xtend index 3e95b2cc..93b83577 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/cardinality/ScopePropagator.xtend +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/cardinality/ScopePropagator.xtend @@ -130,6 +130,10 @@ class ScopePropagator { def isPropagationNeededAfterAdditionToRelation(Relation r) { false } + + def isQueryEngineFlushRequiredBeforePropagation() { + false + } private def removeOne(Scope scope) { if (scope.minNewElements > 0) { diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/patterns/PatternProvider.xtend b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/patterns/PatternProvider.xtend index 2f7c9e2d..d57705ce 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/patterns/PatternProvider.xtend +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/patterns/PatternProvider.xtend @@ -1,5 +1,6 @@ package hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.patterns +import com.google.common.collect.ImmutableSet import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Relation import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.RelationDeclaration import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.RelationDefinition @@ -55,6 +56,17 @@ class ModalPatternQueries { class UnifinishedMultiplicityQueries { val IQuerySpecification> existingMultiplicityQuery val IQuerySpecification> existingInverseMultiplicityQuery + + def Set>> getAllQueries() { + val builder = ImmutableSet.builder + if (existingMultiplicityQuery !== null) { + builder.add(existingMultiplicityQuery) + } + if (existingInverseMultiplicityQuery !== null) { + builder.add(existingInverseMultiplicityQuery) + } + builder.build + } } class PatternProvider { diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/rules/RefinementRuleProvider.xtend b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/rules/RefinementRuleProvider.xtend index 1d976e14..f7fe97a3 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/rules/RefinementRuleProvider.xtend +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/rules/RefinementRuleProvider.xtend @@ -114,7 +114,7 @@ class RefinementRuleProvider { ) statistics.addExecutionTime(System.nanoTime - startTime) - flushQueryEngine + flushQueryEngine(scopePropagator) // Scope propagation val propagatorStartTime = System.nanoTime @@ -144,7 +144,7 @@ class RefinementRuleProvider { ) statistics.addExecutionTime(System.nanoTime - startTime) - flushQueryEngine + flushQueryEngine(scopePropagator) // Scope propagation val propagatorStartTime = System.nanoTime @@ -171,7 +171,7 @@ class RefinementRuleProvider { ) statistics.addExecutionTime(System.nanoTime - startTime) - flushQueryEngine + flushQueryEngine(scopePropagator) // Scope propagation val propagatorStartTime = System.nanoTime @@ -404,7 +404,7 @@ class RefinementRuleProvider { // Scope propagation if (scopePropagator.isPropagationNeededAfterAdditionToRelation(declaration)) { - flushQueryEngine + flushQueryEngine(scopePropagator) val propagatorStartTime = System.nanoTime scopePropagator.propagateAllScopeConstraints() @@ -581,8 +581,8 @@ class RefinementRuleProvider { inverseInterpretation.relationlinks += inverseLink } - protected def flushQueryEngine() { - if (queryEngine.updatePropagationDelayed) { + protected def flushQueryEngine(ScopePropagator scopePropagator) { + if (scopePropagator.queryEngineFlushRequiredBeforePropagation && queryEngine.updatePropagationDelayed) { delayMessageDelivery.setBoolean(queryEngine, false) queryEngine.getQueryBackend(ReteBackendFactory.INSTANCE).flushUpdates delayMessageDelivery.setBoolean(queryEngine, true) diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/META-INF/MANIFEST.MF b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/META-INF/MANIFEST.MF index 83c90829..639a8a9c 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/META-INF/MANIFEST.MF +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/META-INF/MANIFEST.MF @@ -28,7 +28,8 @@ Require-Bundle: org.eclipse.core.runtime, org.eclipse.xtend.lib.macro, org.eclipse.viatra.query.runtime;bundle-version="1.5.0", org.eclipse.viatra.dse;bundle-version="0.15.0", - hu.bme.mit.inf.dslreasoner.ecore2logic;bundle-version="1.0.0" + hu.bme.mit.inf.dslreasoner.ecore2logic;bundle-version="1.0.0", + org.eclipse.collections;bundle-version="10.1.0" Bundle-ActivationPolicy: lazy Automatic-Module-Name: hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/src/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/neighbourhood/Descriptor.xtend b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/src/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/neighbourhood/Descriptor.xtend index e4bdb086..685a1f5a 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/src/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/neighbourhood/Descriptor.xtend +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/src/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/neighbourhood/Descriptor.xtend @@ -7,7 +7,7 @@ import org.eclipse.xtend.lib.annotations.Data import org.eclipse.xtend2.lib.StringConcatenationClient @Data abstract class AbstractNodeDescriptor { - long dataHash + int dataHash protected def StringConcatenationClient prettyPrint() { '''(«dataHash»)[«class.simpleName»]''' @@ -57,7 +57,7 @@ import org.eclipse.xtend2.lib.StringConcatenationClient } override hashCode() { - return this.dataHash.hashCode + return this.dataHash } override equals(Object other) { @@ -119,7 +119,6 @@ import org.eclipse.xtend2.lib.StringConcatenationClient } @Data class FurtherNodeDescriptor extends AbstractNodeDescriptor { - NodeRep previousRepresentation Map, Integer> incomingEdges Map, Integer> outgoingEdges @@ -128,8 +127,8 @@ import org.eclipse.xtend2.lib.StringConcatenationClient Map, Integer> outgoingEdges) { super(calculateDataHash(previousRepresentation, incomingEdges, outgoingEdges)) this.previousRepresentation = previousRepresentation - this.incomingEdges = new HashMap(incomingEdges) - this.outgoingEdges = new HashMap(outgoingEdges) + this.incomingEdges = incomingEdges + this.outgoingEdges = outgoingEdges } static def private int calculateDataHash(NodeRep previousRepresentation, @@ -137,14 +136,14 @@ import org.eclipse.xtend2.lib.StringConcatenationClient val int prime = 31; var int result = previousRepresentation.hashCode; if (incomingEdges !== null) - result = prime * result + incomingEdges.hashCode(); + result = prime * result + hashIncomingNeighborhood(incomingEdges) if (outgoingEdges !== null) - result = prime * result + outgoingEdges.hashCode(); + result = prime * result + hashOutgoingNeighborhood(outgoingEdges) return result; } override hashCode() { - return this.dataHash.hashCode + return this.dataHash } override equals(Object other) { @@ -179,80 +178,31 @@ import org.eclipse.xtend2.lib.StringConcatenationClient '''«rep»''' } } + + private static def hashIncomingNeighborhood(Map, Integer> neighborhood) { + val int prime = 31 + var int hash = 0 + for (entry : neighborhood.entrySet) { + val relation = entry.key + hash += (prime * relation.from.hashCode + relation.type.hashCode).bitwiseXor(entry.value.hashCode) + } + hash + } + + private static def hashOutgoingNeighborhood(Map, Integer> neighborhood) { + val int prime = 31 + var int hash = 0 + for (entry : neighborhood.entrySet) { + val relation = entry.key + hash += (prime * relation.to.hashCode + relation.type.hashCode).bitwiseXor(entry.value.hashCode) + } + hash + } override toString() { ''' «prettyPrint» ''' } - -// @Pure -// @Override -// override public boolean equals(Object obj) { -// if (this === obj) -// return true; -// if (obj === null) -// return false; -// if (getClass() != obj.getClass()) -// return false; -// val AbstractNodeDescriptor other = obj as AbstractNodeDescriptor; -// if (other.dataHash != this.dataHash) -// return false; -// return true; -// } -// @Pure -// override public boolean equals(Object obj) { -// if (this === obj) -// return true; -// if (obj === null) -// return false; -// if (getClass() != obj.getClass()) -// return false; -// if (!super.equals(obj)) -// return false; -// val FurtherNodeDescriptor other = obj as FurtherNodeDescriptor; -// if (this.previousRepresentation === null) { -// if (other.previousRepresentation != null) -// return false; -// -// } -//// } else if (!this.previousRepresentation.equals(other.previousRepresentation)) -//// return false; -// if (this.incomingEdges === null) { -// if (other.incomingEdges != null) -// return false; -// } else if (!this.incomingEdges.equals(other.incomingEdges)) -// return false; -// if (this.outgoingEdges === null) { -// if (other.outgoingEdges != null) -// return false; -// } else if (!this.outgoingEdges.equals(other.outgoingEdges)) -// return false; -// if (this.attributeValues === null) { -// if (other.attributeValues != null) -// return false; -// } else if (!this.attributeValues.equals(other.attributeValues)) -// return false; -// return true; -// } } -/* - * @Data - * class ModelDescriptor { - * int dataHash - * int unknownElements - * Map knownElements - * - * public new(Map knownElements, int unknownElements) { - * this.dataHash = calculateDataHash(knownElements,unknownElements) - * this.unknownElements = unknownElements - * this.knownElements = knownElements - * } - * - * def private static calculateDataHash(Map knownElements, int unknownElements) - * { - * val int prime = 31; - * return knownElements.hashCode * prime + unknownElements.hashCode - * } - * } - */ + diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/src/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/neighbourhood/PartialInterpretation2Hash.xtend b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/src/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/neighbourhood/PartialInterpretation2Hash.xtend index ddf7d712..5da202eb 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/src/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/neighbourhood/PartialInterpretation2Hash.xtend +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/src/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/neighbourhood/PartialInterpretation2Hash.xtend @@ -1,7 +1,8 @@ package hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.neighbourhood -import java.util.Map import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.DefinedElement +import java.util.Map +import org.eclipse.collections.api.factory.Maps class PartialInterpretation2Hash extends PartialInterpretation2NeighbourhoodRepresentation{ @@ -11,15 +12,22 @@ class PartialInterpretation2Hash extends PartialInterpretation2NeighbourhoodRepr override protected createLocalRepresentation(Map node2Representation, Map representation2Amount) { return new NeighbourhoodWithTraces( - representation2Amount.hashCode,node2Representation.mapValues[it.hashCode], + representation2Amount.hashCode,node2Representation.hashValues, null) } override protected createFurtherRepresentation(Map, Integer> nodeDescriptors, Map> node2Representation, NeighbourhoodWithTraces previous, boolean deepRepresentation) { return new NeighbourhoodWithTraces( nodeDescriptors.hashCode, - node2Representation.mapValues[it.hashCode], + node2Representation.hashValues, if(deepRepresentation) {previous} else {null}) } + private def hashValues(Map map) { + val hashedMap = Maps.mutable.ofInitialCapacity(map.size) + for (entry : map.entrySet) { + hashedMap.put(entry.key, entry.value.hashCode) + } + hashedMap + } } diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/src/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/neighbourhood/PartialInterpretation2NeighbourhoodRepresentation.xtend b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/src/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/neighbourhood/PartialInterpretation2NeighbourhoodRepresentation.xtend index 3048167e..93eab816 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/src/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/neighbourhood/PartialInterpretation2NeighbourhoodRepresentation.xtend +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/src/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/neighbourhood/PartialInterpretation2NeighbourhoodRepresentation.xtend @@ -8,11 +8,11 @@ import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.par import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.PartialInterpretation import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.PartialPrimitiveInterpretation import java.util.ArrayList -import java.util.HashMap -import java.util.HashSet import java.util.List import java.util.Map import java.util.Set +import org.eclipse.collections.api.factory.Maps +import org.eclipse.collections.impl.factory.Sets import static extension hu.bme.mit.inf.dslreasoner.util.CollectionsUtil.* @@ -68,10 +68,11 @@ abstract class PartialInterpretation2NeighbourhoodRepresentation relevantTypes, Set relevantRelations, DefinedElement focusedElement) { - val Map> types = new HashMap + val initialSize = model.elements.size + val Map> types = Maps.mutable.ofInitialCapacity(initialSize) fillTypes(model, types, relevantTypes) - val Map>> IncomingRelations = new HashMap; - val Map>> OutgoingRelations = new HashMap; + val Map>> IncomingRelations = Maps.mutable.ofInitialCapacity(initialSize); + val Map>> OutgoingRelations = Maps.mutable.ofInitialCapacity(initialSize); fillReferences(model, IncomingRelations, OutgoingRelations, relevantRelations) val res = doRecursiveNeighbourCalculation(model, types, IncomingRelations, OutgoingRelations, range, parallels, @@ -103,12 +104,12 @@ abstract class PartialInterpretation2NeighbourhoodRepresentation>> IncomingRelations, Map>> OutgoingRelations) { val elements = types.keySet - var Map> reachable = new HashMap - var Map> newReachable = new HashMap + var Map> reachable = Maps.mutable.ofInitialCapacity(elements.size) + var Map> newReachable = Maps.mutable.ofInitialCapacity(elements.size) for (element : elements) { - val set = new HashSet + val set = Sets.mutable.of set.add(element) - reachable.put(element, new HashSet) + reachable.put(element, Sets.mutable.of) newReachable.put(element, set) } @@ -201,8 +202,8 @@ abstract class PartialInterpretation2NeighbourhoodRepresentation previousNumberOfTypes lastRange = nextRange @@ -224,7 +225,7 @@ abstract class PartialInterpretation2NeighbourhoodRepresentation> node2Type, Set relevantTypes) { for (element : model.elements) { - node2Type.put(element, new HashSet) + node2Type.put(element, Sets.mutable.of) } // for(typeDefinition : model.problem.types.filter(TypeDefinition)) { @@ -286,7 +287,11 @@ abstract class PartialInterpretation2NeighbourhoodRepresentation max) return Integer.MAX_VALUE else return original + 1 } @@ -294,15 +299,11 @@ abstract class PartialInterpretation2NeighbourhoodRepresentation>> IncomingRelations, DefinedElement object, Map previousNodeRepresentations, int parallel) { - val Map, Integer> res = new HashMap + val Map, Integer> res = Maps.mutable.of for (incomingConcreteEdge : IncomingRelations.get(object)) { val IncomingRelation e = new IncomingRelation( previousNodeRepresentations.get(incomingConcreteEdge.from), incomingConcreteEdge.type) - if (res.containsKey(e)) { - res.put(e, addOne(res.get(e), parallel)) - } else { - res.put(e, 1) - } + res.compute(e, [key, value | addOne(value, parallel)]) } return res } @@ -310,17 +311,13 @@ abstract class PartialInterpretation2NeighbourhoodRepresentation>> OutgoingRelations, DefinedElement object, Map previousNodeRepresentations, int parallel) { - val Map, Integer> res = new HashMap + val Map, Integer> res = Maps.mutable.of for (outgoingConcreteEdge : OutgoingRelations.get(object)) { val OutgoingRelation e = new OutgoingRelation( previousNodeRepresentations.get(outgoingConcreteEdge.to), outgoingConcreteEdge.type) - if (res.containsKey(e)) { - res.put(e, addOne(res.get(e), parallel)) - } else { - res.put(e, 1) - } + res.compute(e, [key, value | addOne(value, parallel)]) } - return res; + return res } /*def private void addOrCreate_Set(Map> map, KEY key, VALUE value) { @@ -338,16 +335,17 @@ abstract class PartialInterpretation2NeighbourhoodRepresentation>> IncomingRelations, Map>> OutgoingRelations, int parallels, int maxNumber) { val previousNodeRepresentations = previous.nodeRepresentations - val node2Representation = new HashMap> + val size = previousNodeRepresentations.size + val node2Representation = Maps.mutable.>ofInitialCapacity(size) val Map, Integer> descriptor2Number = if (this. mergeSimilarNeighbourhood) { - new HashMap + Maps.mutable.ofInitialCapacity(size) } else { null } val Map, FurtherNodeDescriptor> uniqueDescription = if (this. mergeSimilarNeighbourhood) { - new HashMap + Maps.mutable.ofInitialCapacity(size) } else { null } @@ -392,14 +390,15 @@ abstract class PartialInterpretation2NeighbourhoodRepresentation> types, int maxNumber, DefinedElement focusedElement) { - val Map node2Representation = new HashMap + val size = types.size + val Map node2Representation = Maps.mutable.ofInitialCapacity(size) val Map representation2Amount = if (mergeSimilarNeighbourhood) { - new HashMap + Maps.mutable.ofInitialCapacity(size) } else { null } val Map uniqueRepresentation = if (this.mergeSimilarNeighbourhood) { - new HashMap + Maps.mutable.ofInitialCapacity(size) } else { null } diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/src/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/statecoder/NeighbourhoodBasedStateCoderFactory.xtend b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/src/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/statecoder/NeighbourhoodBasedStateCoderFactory.xtend index f19ac30f..04c49506 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/src/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/statecoder/NeighbourhoodBasedStateCoderFactory.xtend +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/src/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/statecoder/NeighbourhoodBasedStateCoderFactory.xtend @@ -9,6 +9,7 @@ import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.par import java.util.ArrayList import java.util.Map import org.eclipse.viatra.query.runtime.api.IPatternMatch +import org.eclipse.viatra.query.runtime.api.IQuerySpecification class NeighbourhoodBasedStateCoderFactory extends AbstractNeighbourhoodBasedStateCoderFactory { new() { @@ -38,6 +39,7 @@ class NeighbourhoodBasedHashStateCoderFactory extends AbstractNeighbourhoodBased class NeighbourhoodBasedPartialInterpretationStateCoder extends AbstractNeighbourhoodBasedPartialInterpretationStateCoder { val PartialInterpretation2NeighbourhoodRepresentation calculator + val Map, String> fullyQualifiedNames = newHashMap var Map nodeRepresentations = null var ModelRep modelRepresentation = null @@ -55,27 +57,36 @@ class NeighbourhoodBasedPartialInterpretationStateCoder exten modelRepresentation = code.modelRepresentation nodeRepresentations = code.nodeRepresentations } + + private def getFullyQualifiedNameCached(IQuerySpecification specification) { + fullyQualifiedNames.computeIfAbsent(specification, [fullyQualifiedName]) + } override doCreateActivationCode(IPatternMatch match) { val size = match.specification.parameters.size - val res = new ArrayList(size) - var int equivalenceHash = 0 + var int hash = 0 val prime = 31 for (var int index = 0; index < size; index++) { val matchArgument = match.get(index) - res.add(getCode(matchArgument)) + val code = getCode(matchArgument) + val codeNumber = if (code === null) { + 0 + } else { + code.hashCode + } + hash = prime * hash + codeNumber for (var i = 0; i < index; i++) { val number = if (matchArgument === match.get(i)) { 1 } else { 0 } - equivalenceHash = prime * equivalenceHash + number + hash = prime * hash + number } } - match.specification.fullyQualifiedName -> (res -> equivalenceHash).hashCode + match.specification.fullyQualifiedNameCached -> hash } def private getCode(Object o) { diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/ViatraReasoner.xtend b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/ViatraReasoner.xtend index fd871615..c333feca 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/ViatraReasoner.xtend +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/ViatraReasoner.xtend @@ -206,7 +206,7 @@ class ViatraReasoner extends LogicReasoner { it.transformationTime = (transformationTime / 1000000) as int for (pair : solutionCopier.getAllCopierRuntimes(true).indexed) { it.entries += createIntStatisticEntry => [ - it.name = '''_Solution«pair.key»FoundAt''' + it.name = '''Solution«pair.key»FoundAt''' it.value = (pair.value / 1000000) as int ] } diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/config/genericSatellite.vsconfig b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/config/genericSatellite.vsconfig index 57eaf326..192dac7b 100644 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/config/genericSatellite.vsconfig +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/config/genericSatellite.vsconfig @@ -33,10 +33,8 @@ generate { runtime = 10000, log-level = normal, "fitness-scope" = "3", - "fitness-punishSize" = "inverse", - "fitness-objectCreationCosts" = "true", - "scopePropagator" = "typeHierarchy", - "fitness-missing-containment" = "2" + "fitness-punishSize" = "true", + "scopePropagator" = "polyhedral" } runs = 1 diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/config/genericTaxation.vsconfig b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/config/genericTaxation.vsconfig index 7d742202..ee3c3631 100644 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/config/genericTaxation.vsconfig +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/config/genericTaxation.vsconfig @@ -35,7 +35,11 @@ generate { config = { runtime = 10000, log-level = normal, - "fitness-objectCreationCosts" = "true" + "fitness-scope" = "1", + "fitness-punishSize" = "inverse", + "fitness-objectCreationCosts" = "true", + "scopePropagator" = "typeHierarchy", + "fitness-missing-containment" = "2" } runs = 1 diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/inputs/Resource50hh.xmi b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/inputs/Resource50hh.xmi new file mode 100644 index 00000000..5b110b76 --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/inputs/Resource50hh.xmi @@ -0,0 +1,59 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- cgit v1.2.3-70-g09d2 From 454dc3d1d54e943970db4c6794cca9acac272459 Mon Sep 17 00:00:00 2001 From: Kristóf Marussy Date: Thu, 16 Jul 2020 00:23:40 +0200 Subject: Fix numeric-solver-at-end --- .../ide/.ApplicationConfigurationIdeModule.xtendbin | Bin 1701 -> 1701 bytes .../ide/.ApplicationConfigurationIdeSetup.xtendbin | Bin 2526 -> 2526 bytes .../.SolverSemanticHighlightCalculator.xtendbin | Bin 5334 -> 5334 bytes .../.SolverSemanticTextAttributeProvider.xtendbin | Bin 4902 -> 4902 bytes .../validation/.SolverLanguageValidator.xtendbin | Bin 1717 -> 1717 bytes .../.SolverLanguageTokenDefInjectingParser.xtendbin | Bin 2742 -> 2742 bytes ...rLanguageSyntheticTokenSyntacticSequencer.xtendbin | Bin 2758 -> 2758 bytes .../reasoner/dse/ViatraReasonerSolutionSaver.xtend | 4 +++- 8 files changed, 3 insertions(+), 1 deletion(-) (limited to 'Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner') diff --git a/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeModule.xtendbin b/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeModule.xtendbin index 35e3fe34..96d7f77b 100644 Binary files a/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeModule.xtendbin and b/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeModule.xtendbin differ diff --git a/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeSetup.xtendbin b/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeSetup.xtendbin index b597e715..85768640 100644 Binary files a/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeSetup.xtendbin and b/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeSetup.xtendbin differ diff --git a/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/ui/syntaxcoloring/.SolverSemanticHighlightCalculator.xtendbin b/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/ui/syntaxcoloring/.SolverSemanticHighlightCalculator.xtendbin index 5d90d470..287aa50d 100644 Binary files a/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/ui/syntaxcoloring/.SolverSemanticHighlightCalculator.xtendbin and b/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/ui/syntaxcoloring/.SolverSemanticHighlightCalculator.xtendbin differ diff --git a/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/ui/syntaxcoloring/.SolverSemanticTextAttributeProvider.xtendbin b/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/ui/syntaxcoloring/.SolverSemanticTextAttributeProvider.xtendbin index f054d52c..e9b25b0a 100644 Binary files a/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/ui/syntaxcoloring/.SolverSemanticTextAttributeProvider.xtendbin and b/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/ui/syntaxcoloring/.SolverSemanticTextAttributeProvider.xtendbin differ diff --git a/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/validation/.SolverLanguageValidator.xtendbin b/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/validation/.SolverLanguageValidator.xtendbin index faaea19c..79d18e32 100644 Binary files a/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/validation/.SolverLanguageValidator.xtendbin and b/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/validation/.SolverLanguageValidator.xtendbin differ diff --git a/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/parser/antlr/.SolverLanguageTokenDefInjectingParser.xtendbin b/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/parser/antlr/.SolverLanguageTokenDefInjectingParser.xtendbin index 704006b4..c529b829 100644 Binary files a/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/parser/antlr/.SolverLanguageTokenDefInjectingParser.xtendbin and b/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/parser/antlr/.SolverLanguageTokenDefInjectingParser.xtendbin differ diff --git a/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/serializer/.SolverLanguageSyntheticTokenSyntacticSequencer.xtendbin b/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/serializer/.SolverLanguageSyntheticTokenSyntacticSequencer.xtendbin index 76be2b25..9ff56ed9 100644 Binary files a/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/serializer/.SolverLanguageSyntheticTokenSyntacticSequencer.xtendbin and b/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/serializer/.SolverLanguageSyntheticTokenSyntacticSequencer.xtendbin differ diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/ViatraReasonerSolutionSaver.xtend b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/ViatraReasonerSolutionSaver.xtend index d879d4cc..c0b5008c 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/ViatraReasonerSolutionSaver.xtend +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/ViatraReasonerSolutionSaver.xtend @@ -20,6 +20,7 @@ import org.eclipse.xtend.lib.annotations.Accessors */ class ViatraReasonerSolutionSaver implements ISolutionSaver { @Accessors val SolutionCopier solutionCopier + val NumericSolver numericSolver @Accessors val DiversityChecker diversityChecker val boolean hasExtremalObjectives val int numberOfRequiredSolutions @@ -34,6 +35,7 @@ class ViatraReasonerSolutionSaver implements ISolutionSaver { hasExtremalObjectives = leveledExtremalObjectives.exists[!empty] this.numberOfRequiredSolutions = numberOfRequiredSolutions this.solutionCopier = new SolutionCopier(numericSolver) + this.numericSolver = numericSolver } override saveSolution(ThreadContext context, Object id, SolutionTrajectory solutionTrajectory) { @@ -97,7 +99,7 @@ class ViatraReasonerSolutionSaver implements ISolutionSaver { } private def shouldSaveSolution(Fitness fitness, ThreadContext context) { - return fitness.satisifiesHardObjectives + return fitness.satisifiesHardObjectives && numericSolver.currentSatisfiable } private def basicSaveSolution(ThreadContext context, Object id, SolutionTrajectory solutionTrajectory, -- cgit v1.2.3-70-g09d2 From 18d8ff15abeb2aecc3cdedb0eabb076b4b8f058c Mon Sep 17 00:00:00 2001 From: Kristóf Marussy Date: Wed, 29 Jul 2020 16:40:45 +0200 Subject: Fix time measurement --- .../.ApplicationConfigurationIdeModule.xtendbin | Bin 1701 -> 1701 bytes .../ide/.ApplicationConfigurationIdeSetup.xtendbin | Bin 2526 -> 2526 bytes .../.SolverSemanticHighlightCalculator.xtendbin | Bin 5334 -> 5334 bytes .../.SolverSemanticTextAttributeProvider.xtendbin | Bin 4902 -> 4902 bytes .../validation/.SolverLanguageValidator.xtendbin | Bin 1717 -> 1717 bytes ....SolverLanguageTokenDefInjectingParser.xtendbin | Bin 2742 -> 2742 bytes ...nguageSyntheticTokenSyntacticSequencer.xtendbin | Bin 2758 -> 2758 bytes .../rules/RefinementRuleProvider.xtend | 18 ++- .../viatra/dse/base/DesignSpaceManager.java | 2 +- .../case.study.familyTree.run/bin/.gitignore | 1 - .../config/genericFamilyTreeSMTQual.vsconfig | 3 + .../queries/SatelliteQueries.vql | 144 +-------------------- 12 files changed, 13 insertions(+), 155 deletions(-) delete mode 100644 Tests/MODELS2020-CaseStudies/case.study.familyTree.run/bin/.gitignore (limited to 'Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner') diff --git a/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeModule.xtendbin b/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeModule.xtendbin index 96d7f77b..2a740f24 100644 Binary files a/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeModule.xtendbin and b/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeModule.xtendbin differ diff --git a/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeSetup.xtendbin b/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeSetup.xtendbin index 85768640..6fd0f505 100644 Binary files a/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeSetup.xtendbin and b/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeSetup.xtendbin differ diff --git a/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/ui/syntaxcoloring/.SolverSemanticHighlightCalculator.xtendbin b/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/ui/syntaxcoloring/.SolverSemanticHighlightCalculator.xtendbin index 287aa50d..0b252347 100644 Binary files a/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/ui/syntaxcoloring/.SolverSemanticHighlightCalculator.xtendbin and b/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/ui/syntaxcoloring/.SolverSemanticHighlightCalculator.xtendbin differ diff --git a/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/ui/syntaxcoloring/.SolverSemanticTextAttributeProvider.xtendbin b/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/ui/syntaxcoloring/.SolverSemanticTextAttributeProvider.xtendbin index e9b25b0a..930ba6bf 100644 Binary files a/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/ui/syntaxcoloring/.SolverSemanticTextAttributeProvider.xtendbin and b/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/ui/syntaxcoloring/.SolverSemanticTextAttributeProvider.xtendbin differ diff --git a/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/validation/.SolverLanguageValidator.xtendbin b/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/validation/.SolverLanguageValidator.xtendbin index 79d18e32..65fea578 100644 Binary files a/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/validation/.SolverLanguageValidator.xtendbin and b/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/validation/.SolverLanguageValidator.xtendbin differ diff --git a/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/parser/antlr/.SolverLanguageTokenDefInjectingParser.xtendbin b/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/parser/antlr/.SolverLanguageTokenDefInjectingParser.xtendbin index c529b829..340908fe 100644 Binary files a/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/parser/antlr/.SolverLanguageTokenDefInjectingParser.xtendbin and b/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/parser/antlr/.SolverLanguageTokenDefInjectingParser.xtendbin differ diff --git a/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/serializer/.SolverLanguageSyntheticTokenSyntacticSequencer.xtendbin b/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/serializer/.SolverLanguageSyntheticTokenSyntacticSequencer.xtendbin index 9ff56ed9..21b52163 100644 Binary files a/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/serializer/.SolverLanguageSyntheticTokenSyntacticSequencer.xtendbin and b/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/serializer/.SolverLanguageSyntheticTokenSyntacticSequencer.xtendbin differ diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/rules/RefinementRuleProvider.xtend b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/rules/RefinementRuleProvider.xtend index f7fe97a3..699b095d 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/rules/RefinementRuleProvider.xtend +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/rules/RefinementRuleProvider.xtend @@ -372,19 +372,17 @@ class RefinementRuleProvider { val src = match.get(3) as DefinedElement val trg = match.get(4) as DefinedElement - queryEngine.delayUpdatePropagation [ - val startTime = System.nanoTime - createRelationLinkAction(src, trg, relationInterpretation) - statistics.addExecutionTime(System.nanoTime - startTime) - ] + val startTime = System.nanoTime + createRelationLinkAction(src, trg, relationInterpretation) + statistics.addExecutionTime(System.nanoTime - startTime) // Scope propagation if (scopePropagator.isPropagationNeededAfterAdditionToRelation(declaration)) { - queryEngine.delayUpdatePropagation [ - val propagatorStartTime = System.nanoTime - scopePropagator.propagateAllScopeConstraints() - statistics.addScopePropagationTime(System.nanoTime - propagatorStartTime) - ] + flushQueryEngine(scopePropagator) + + val propagatorStartTime = System.nanoTime + scopePropagator.propagateAllScopeConstraints() + statistics.addScopePropagationTime(System.nanoTime - propagatorStartTime) } ] } else { diff --git a/Solvers/VIATRA-Solver/org.eclipse.viatra.dse/src/org/eclipse/viatra/dse/base/DesignSpaceManager.java b/Solvers/VIATRA-Solver/org.eclipse.viatra.dse/src/org/eclipse/viatra/dse/base/DesignSpaceManager.java index 7e7a6e51..133ef948 100644 --- a/Solvers/VIATRA-Solver/org.eclipse.viatra.dse/src/org/eclipse/viatra/dse/base/DesignSpaceManager.java +++ b/Solvers/VIATRA-Solver/org.eclipse.viatra.dse/src/org/eclipse/viatra/dse/base/DesignSpaceManager.java @@ -369,6 +369,7 @@ public class DesignSpaceManager implements IBacktrackListener { } catch (InvocationTargetException e) { throw new RuntimeException(e); } + backtrackingTime += System.nanoTime() - start; updateActivationCodes(); Object lastActivationId = trajectory.getLastActivationId(); @@ -382,7 +383,6 @@ public class DesignSpaceManager implements IBacktrackListener { } logger.debug("Backtrack."); - backtrackingTime += System.nanoTime() - start; return true; } diff --git a/Tests/MODELS2020-CaseStudies/case.study.familyTree.run/bin/.gitignore b/Tests/MODELS2020-CaseStudies/case.study.familyTree.run/bin/.gitignore deleted file mode 100644 index 7050a7e3..00000000 --- a/Tests/MODELS2020-CaseStudies/case.study.familyTree.run/bin/.gitignore +++ /dev/null @@ -1 +0,0 @@ -/queries/ diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/config/genericFamilyTreeSMTQual.vsconfig b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/config/genericFamilyTreeSMTQual.vsconfig index 80ab2906..fa9cd6e2 100644 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/config/genericFamilyTreeSMTQual.vsconfig +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/config/genericFamilyTreeSMTQual.vsconfig @@ -36,6 +36,9 @@ generate { log-level = normal, "fitness-punishSize" = "false", "fitness-scope" = "3", + "fitness-objectCreationCosts" = "true", + "scopePropagator" = "typeHierarchy", + "fitness-missing-containment" = "2", "numeric-solver-at-end" = "true" } diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/queries/SatelliteQueries.vql b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/queries/SatelliteQueries.vql index 57b5933a..da889032 100644 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/queries/SatelliteQueries.vql +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/queries/SatelliteQueries.vql @@ -245,146 +245,4 @@ pattern tooLowPathLengthForGroundStation(s:CommSubsystem) { GroundStationNetwork.commSubsystem(_,ts); check(l!=385000);//385.000km } -//// -//// Metrics -//// -// -//// Coverage -// -//pattern coverageMetric(Coverage : java Double) { -// Coverage == sum find missionCoverage(_, #_); -//} -// -//private pattern missionCoverage(Mission : InterferometryMission, Coverage : java Double) { -// InterferometryMission.observationTime(Mission, ObservationTime); -// ObserverCount == count find spacecraftWithInterferometryPayload(Mission, _); -// Coverage == eval(Math.pow(1 - 2.0 / ObserverCount, 1 + 9 * (1.0 / ObservationTime)) + 0.05 * ObservationTime / 3); -//} -// -//// Time -// -//pattern timeMetric(Time : java Double) { -// Time == sum find missionTime(_, #_); -//} -// -//private pattern missionTime(Mission : InterferometryMission, Time : java Double) { -// InterferometryMission.observationTime(Mission, ObservationTime); -// TrasmitTime == sum find transmitTime(Mission, _, #_); -// Time == eval(TrasmitTime + 60.0 * ObservationTime); -//} -// -//private pattern transmitTime(Mission : InterferometryMission, Spacecraft : Spacecraft, TransmitTime : java Double) { -// ConstellationMission.spacecraft(Mission, Spacecraft); -// find scienceData(Spacecraft, ScienceData); -// IncomingData == sum find incomingData(Spacecraft, _, #_); -// find transmitRate(Spacecraft, TransmitRate); -// TransmitTime == eval((ScienceData + IncomingData) / (7.5 * TransmitRate)); -//} -// -//private pattern incomingData(Spacecraft : Spacecraft, Source : Spacecraft, Data : java Double) { -// find indirectCommunicationLink(Source, Spacecraft); -// find scienceData(Source, Data); -//} -// -//private pattern scienceData(Spacecraft : Spacecraft, Data : java Double) { -// ConstellationMission.spacecraft(Mission, Spacecraft); -// InterferometryMission.observationTime(Mission, ObservationTime); -// Data == eval(12.0 * ObservationTime); -//} -// -//private pattern transmitRate(Spacecraft : Spacecraft, TransmitRate : java Double) { -// find spacecraftUplink(Spacecraft, Comm, Target); -// UHFCommSubsystem(Comm); -// Spacecraft(Target); -// TransmitRate == 5.0; -//} or { -// find spacecraftUplink(Spacecraft, Comm, Target); -// XCommSubsystem(Comm); -// Spacecraft(Target); -// TransmitRate == 1.6; -//} or { -// find spacecraftUplink(Spacecraft, Comm, Target); -// XCommSubsystem(Comm); -// GroundStationNetwork(Target); -// TransmitRate == 0.7; -//} or { -// find spacecraftUplink(Spacecraft, Comm, Target); -// KaCommSubsystem(Comm); -// Spacecraft(Target); -// TransmitRate == 220.0; -//} or { -// find spacecraftUplink(Spacecraft, Comm, Target); -// KaCommSubsystem(Comm); -// GroundStationNetwork(Target); -// TransmitRate == 80.0; -//} -// -//private pattern spacecraftUplink(Spacecraft : Spacecraft, TargetSubsystem : CommSubsystem, Target : CommunicatingElement) { -// CommunicatingElement.commSubsystem.target(Spacecraft, TargetSubsystem); -// CommunicatingElement.commSubsystem(Target, TargetSubsystem); -//} -// -//// Cost -// -//pattern costMetric(Cost : java Double) { -// Cost == sum find missionCost(_, #_); -//} -// -//private pattern missionCost(Mission : InterferometryMission, Cost : java Double) { -// InterferometryMission.observationTime(Mission, ObservationTime); -// SpacecraftCost == sum find spacecraftCost(Mission, _, #_); -// Cost == eval(SpacecraftCost + 100000.0 * ObservationTime); -//} -// -//private pattern spacecraftCost(Mission : InterferometryMission, Spacecraft : Spacecraft, Cost : java Double) { -// ConstellationMission.spacecraft(Mission, Spacecraft); -// find spacecraftOfKindCount(Spacecraft, KindCount); -// find basePrice(Spacecraft, BasePrice); -// find interferometryPayloadCost(Spacecraft, InterferometryPayloadCost); -// find additionalCommSubsystemCost(Spacecraft, AdditionalCommSubsystemCost); -// Cost == eval(BasePrice * Math.pow(KindCount, -0.25) + InterferometryPayloadCost + AdditionalCommSubsystemCost); -//} -// -//private pattern spacecraftOfKindCount(Sat : Spacecraft, Count : java Integer) { -// CubeSat3U(Sat); -// Count == count find cubeSat3U(_); -//} or { -// CubeSat6U(Sat); -// Count == count find cubeSat6U(_); -//} or { -// SmallSat(Sat); -// Count == count find smallSat(_); -//} -// -//private pattern basePrice(Spacecraft : Spacecraft, BasePrice : java Double) { -// CubeSat3U(Spacecraft); -// BasePrice == 250000.0; -//} or { -// CubeSat6U(Spacecraft); -// BasePrice == 750000.0; -//} or { -// SmallSat(Spacecraft); -// BasePrice == 3000000.0; -//} -// -//private pattern interferometryPayloadCost(Spacecraft : Spacecraft, Cost : java Double) { -// find spacecraftWithInterferometryPayload(_, Spacecraft); -// Cost == 50000.0; -//} or { -// neg find spacecraftWithInterferometryPayload(_, Spacecraft); -// Cost == 0.0; -//} -// -//private pattern additionalCommSubsystemCost(Spacecraft : Spacecraft, Cost : java Double) { -// find spacecraftWithTwoCommSubsystems(Spacecraft); -// Cost == 100000.0; -//} or { -// neg find spacecraftWithTwoCommSubsystems(Spacecraft); -// Cost == 0.0; -//} -// -//private pattern spacecraftWithTwoCommSubsystems(Spacecraft : Spacecraft) { -// Spacecraft.commSubsystem(Spacecraft, Subsystem1); -// Spacecraft.commSubsystem(Spacecraft, Subsystem2); -// Subsystem1 != Subsystem2; -//} + -- cgit v1.2.3-70-g09d2 From a620f07468780778bd55dcffc30245def37ece69 Mon Sep 17 00:00:00 2001 From: Kristóf Marussy Date: Thu, 6 Aug 2020 16:07:16 +0200 Subject: MoDeS3 unit propagation WIP --- .../.ApplicationConfigurationIdeModule.xtendbin | Bin 1701 -> 1700 bytes .../ide/.ApplicationConfigurationIdeSetup.xtendbin | Bin 2526 -> 2525 bytes .../.SolverSemanticHighlightCalculator.xtendbin | Bin 5334 -> 5333 bytes .../.SolverSemanticTextAttributeProvider.xtendbin | Bin 4902 -> 4902 bytes .../validation/.SolverLanguageValidator.xtendbin | Bin 1717 -> 1716 bytes ....SolverLanguageTokenDefInjectingParser.xtendbin | Bin 2742 -> 2741 bytes ...nguageSyntheticTokenSyntacticSequencer.xtendbin | Bin 2758 -> 2757 bytes Domains/ca.mcgill.rtgmrt.example.modes3/.classpath | 10 + Domains/ca.mcgill.rtgmrt.example.modes3/.gitignore | 1 + Domains/ca.mcgill.rtgmrt.example.modes3/.project | 40 + ...ry.patternlanguage.emf.EMFPatternLanguage.prefs | 27 + .../META-INF/MANIFEST.MF | 34 + .../build.properties | 11 + .../ecore-gen/modes3/Modes3Factory.java | 69 + .../ecore-gen/modes3/Modes3ModelRoot.java | 87 ++ .../ecore-gen/modes3/Modes3Package.java | 640 ++++++++ .../ecore-gen/modes3/Segment.java | 86 ++ .../ecore-gen/modes3/Train.java | 94 ++ .../ecore-gen/modes3/Turnout.java | 68 + .../ecore-gen/modes3/impl/Modes3FactoryImpl.java | 128 ++ .../ecore-gen/modes3/impl/Modes3ModelRootImpl.java | 296 ++++ .../ecore-gen/modes3/impl/Modes3PackageImpl.java | 363 +++++ .../ecore-gen/modes3/impl/SegmentImpl.java | 319 ++++ .../ecore-gen/modes3/impl/TrainImpl.java | 332 +++++ .../ecore-gen/modes3/impl/TurnoutImpl.java | 216 +++ .../modes3/util/Modes3AdapterFactory.java | 174 +++ .../ecore-gen/modes3/util/Modes3Switch.java | 174 +++ .../model/modes3.aird_deactivated | 1531 ++++++++++++++++++++ .../model/modes3.ecore | 32 + .../model/modes3.genmodel | 30 + .../output/solution.partialinterpretation | 1068 ++++++++++++++ .../output/solution1.gml | 1191 +++++++++++++++ .../output/solution1.partialinterpretation | 1037 +++++++++++++ .../output/solution1.png | Bin 0 -> 105065 bytes .../plugin.properties | 4 + Domains/ca.mcgill.rtgmrt.example.modes3/plugin.xml | 28 + .../src/modes3/queries/Modes3Queries.vql | 112 ++ .../src/modes3/run/Modes3ModelGenerator.xtend | 222 +++ .../run/Modes3UnitPropagationGenerator.xtend | 205 +++ .../vql-gen/modes3/queries/.gitignore | 26 + .../vql-gen/modes3/queries/Adjacent.java | 719 +++++++++ .../vql-gen/modes3/queries/ConnectedTo.java | 704 +++++++++ .../modes3/queries/ConnectedToNotSymmetric.java | 724 +++++++++ .../modes3/queries/ConnectedToReflexive.java | 563 +++++++ .../modes3/queries/ExtraInputOfTurnout.java | 730 ++++++++++ .../vql-gen/modes3/queries/Modes3Queries.java | 229 +++ .../modes3/queries/NoExtraInputOfTurnout.java | 560 +++++++ .../vql-gen/modes3/queries/Output.java | 724 +++++++++ .../vql-gen/modes3/queries/OutputReflexive.java | 559 +++++++ .../vql-gen/modes3/queries/Reachable.java | 719 +++++++++ .../queries/TooManyExtraInputsOfTurnout.java | 570 ++++++++ .../modes3/queries/TooManyInputsOfSegment.java | 601 ++++++++ .../vql-gen/modes3/queries/Turnout.java | 543 +++++++ .../queries/TurnoutConnectedToBothOutputs.java | 589 ++++++++ .../vql-gen/modes3/queries/TurnoutInSegments.java | 564 +++++++ .../vql-gen/modes3/queries/TurnoutOutput.java | 727 ++++++++++ .../modes3/queries/TurnoutOutputsAreSame.java | 572 ++++++++ .../vql-gen/modes3/queries/Unreachable.java | 714 +++++++++ .../modes3/run/.Modes3ModelGenerator.xtendbin | Bin 0 -> 14631 bytes .../run/.Modes3UnitPropagationGenerator.xtendbin | Bin 0 -> 9899 bytes .../xtend-gen/modes3/run/.gitignore | 2 + .../xtend-gen/modes3/run/Modes3ModelGenerator.java | 381 +++++ .../modes3/run/Modes3UnitPropagationGenerator.java | 585 ++++++++ .../ModelGenerationMethodProvider.xtend | 5 +- .../logic2viatra/patterns/PatternGenerator.xtend | 21 +- .../logic2viatra/patterns/PatternProvider.xtend | 56 +- .../patterns/RelationDeclarationIndexer.xtend | 158 +- .../viatrasolver/reasoner/ViatraReasoner.xtend | 1 + .../reasoner/ViatraReasonerConfiguration.xtend | 5 +- 69 files changed, 20874 insertions(+), 106 deletions(-) create mode 100644 Domains/ca.mcgill.rtgmrt.example.modes3/.classpath create mode 100644 Domains/ca.mcgill.rtgmrt.example.modes3/.gitignore create mode 100644 Domains/ca.mcgill.rtgmrt.example.modes3/.project create mode 100644 Domains/ca.mcgill.rtgmrt.example.modes3/.settings/org.eclipse.viatra.query.patternlanguage.emf.EMFPatternLanguage.prefs create mode 100644 Domains/ca.mcgill.rtgmrt.example.modes3/META-INF/MANIFEST.MF create mode 100644 Domains/ca.mcgill.rtgmrt.example.modes3/build.properties create mode 100644 Domains/ca.mcgill.rtgmrt.example.modes3/ecore-gen/modes3/Modes3Factory.java create mode 100644 Domains/ca.mcgill.rtgmrt.example.modes3/ecore-gen/modes3/Modes3ModelRoot.java create mode 100644 Domains/ca.mcgill.rtgmrt.example.modes3/ecore-gen/modes3/Modes3Package.java create mode 100644 Domains/ca.mcgill.rtgmrt.example.modes3/ecore-gen/modes3/Segment.java create mode 100644 Domains/ca.mcgill.rtgmrt.example.modes3/ecore-gen/modes3/Train.java create mode 100644 Domains/ca.mcgill.rtgmrt.example.modes3/ecore-gen/modes3/Turnout.java create mode 100644 Domains/ca.mcgill.rtgmrt.example.modes3/ecore-gen/modes3/impl/Modes3FactoryImpl.java create mode 100644 Domains/ca.mcgill.rtgmrt.example.modes3/ecore-gen/modes3/impl/Modes3ModelRootImpl.java create mode 100644 Domains/ca.mcgill.rtgmrt.example.modes3/ecore-gen/modes3/impl/Modes3PackageImpl.java create mode 100644 Domains/ca.mcgill.rtgmrt.example.modes3/ecore-gen/modes3/impl/SegmentImpl.java create mode 100644 Domains/ca.mcgill.rtgmrt.example.modes3/ecore-gen/modes3/impl/TrainImpl.java create mode 100644 Domains/ca.mcgill.rtgmrt.example.modes3/ecore-gen/modes3/impl/TurnoutImpl.java create mode 100644 Domains/ca.mcgill.rtgmrt.example.modes3/ecore-gen/modes3/util/Modes3AdapterFactory.java create mode 100644 Domains/ca.mcgill.rtgmrt.example.modes3/ecore-gen/modes3/util/Modes3Switch.java create mode 100644 Domains/ca.mcgill.rtgmrt.example.modes3/model/modes3.aird_deactivated create mode 100644 Domains/ca.mcgill.rtgmrt.example.modes3/model/modes3.ecore create mode 100644 Domains/ca.mcgill.rtgmrt.example.modes3/model/modes3.genmodel create mode 100644 Domains/ca.mcgill.rtgmrt.example.modes3/output/solution.partialinterpretation create mode 100644 Domains/ca.mcgill.rtgmrt.example.modes3/output/solution1.gml create mode 100644 Domains/ca.mcgill.rtgmrt.example.modes3/output/solution1.partialinterpretation create mode 100644 Domains/ca.mcgill.rtgmrt.example.modes3/output/solution1.png create mode 100644 Domains/ca.mcgill.rtgmrt.example.modes3/plugin.properties create mode 100644 Domains/ca.mcgill.rtgmrt.example.modes3/plugin.xml create mode 100644 Domains/ca.mcgill.rtgmrt.example.modes3/src/modes3/queries/Modes3Queries.vql create mode 100644 Domains/ca.mcgill.rtgmrt.example.modes3/src/modes3/run/Modes3ModelGenerator.xtend create mode 100644 Domains/ca.mcgill.rtgmrt.example.modes3/src/modes3/run/Modes3UnitPropagationGenerator.xtend create mode 100644 Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/.gitignore create mode 100644 Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/Adjacent.java create mode 100644 Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/ConnectedTo.java create mode 100644 Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/ConnectedToNotSymmetric.java create mode 100644 Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/ConnectedToReflexive.java create mode 100644 Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/ExtraInputOfTurnout.java create mode 100644 Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/Modes3Queries.java create mode 100644 Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/NoExtraInputOfTurnout.java create mode 100644 Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/Output.java create mode 100644 Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/OutputReflexive.java create mode 100644 Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/Reachable.java create mode 100644 Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/TooManyExtraInputsOfTurnout.java create mode 100644 Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/TooManyInputsOfSegment.java create mode 100644 Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/Turnout.java create mode 100644 Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/TurnoutConnectedToBothOutputs.java create mode 100644 Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/TurnoutInSegments.java create mode 100644 Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/TurnoutOutput.java create mode 100644 Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/TurnoutOutputsAreSame.java create mode 100644 Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/Unreachable.java create mode 100644 Domains/ca.mcgill.rtgmrt.example.modes3/xtend-gen/modes3/run/.Modes3ModelGenerator.xtendbin create mode 100644 Domains/ca.mcgill.rtgmrt.example.modes3/xtend-gen/modes3/run/.Modes3UnitPropagationGenerator.xtendbin create mode 100644 Domains/ca.mcgill.rtgmrt.example.modes3/xtend-gen/modes3/run/.gitignore create mode 100644 Domains/ca.mcgill.rtgmrt.example.modes3/xtend-gen/modes3/run/Modes3ModelGenerator.java create mode 100644 Domains/ca.mcgill.rtgmrt.example.modes3/xtend-gen/modes3/run/Modes3UnitPropagationGenerator.java (limited to 'Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner') diff --git a/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeModule.xtendbin b/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeModule.xtendbin index 2a740f24..1e457bb2 100644 Binary files a/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeModule.xtendbin and b/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeModule.xtendbin differ diff --git a/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeSetup.xtendbin b/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeSetup.xtendbin index 6fd0f505..6ad24fc0 100644 Binary files a/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeSetup.xtendbin and b/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeSetup.xtendbin differ diff --git a/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/ui/syntaxcoloring/.SolverSemanticHighlightCalculator.xtendbin b/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/ui/syntaxcoloring/.SolverSemanticHighlightCalculator.xtendbin index 0b252347..18c9aee3 100644 Binary files a/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/ui/syntaxcoloring/.SolverSemanticHighlightCalculator.xtendbin and b/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/ui/syntaxcoloring/.SolverSemanticHighlightCalculator.xtendbin differ diff --git a/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/ui/syntaxcoloring/.SolverSemanticTextAttributeProvider.xtendbin b/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/ui/syntaxcoloring/.SolverSemanticTextAttributeProvider.xtendbin index 930ba6bf..0ebd4493 100644 Binary files a/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/ui/syntaxcoloring/.SolverSemanticTextAttributeProvider.xtendbin and b/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/ui/syntaxcoloring/.SolverSemanticTextAttributeProvider.xtendbin differ diff --git a/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/validation/.SolverLanguageValidator.xtendbin b/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/validation/.SolverLanguageValidator.xtendbin index 65fea578..bb484ba1 100644 Binary files a/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/validation/.SolverLanguageValidator.xtendbin and b/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/validation/.SolverLanguageValidator.xtendbin differ diff --git a/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/parser/antlr/.SolverLanguageTokenDefInjectingParser.xtendbin b/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/parser/antlr/.SolverLanguageTokenDefInjectingParser.xtendbin index 340908fe..61448536 100644 Binary files a/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/parser/antlr/.SolverLanguageTokenDefInjectingParser.xtendbin and b/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/parser/antlr/.SolverLanguageTokenDefInjectingParser.xtendbin differ diff --git a/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/serializer/.SolverLanguageSyntheticTokenSyntacticSequencer.xtendbin b/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/serializer/.SolverLanguageSyntheticTokenSyntacticSequencer.xtendbin index 21b52163..9af9309d 100644 Binary files a/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/serializer/.SolverLanguageSyntheticTokenSyntacticSequencer.xtendbin and b/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/serializer/.SolverLanguageSyntheticTokenSyntacticSequencer.xtendbin differ diff --git a/Domains/ca.mcgill.rtgmrt.example.modes3/.classpath b/Domains/ca.mcgill.rtgmrt.example.modes3/.classpath new file mode 100644 index 00000000..73ebde52 --- /dev/null +++ b/Domains/ca.mcgill.rtgmrt.example.modes3/.classpath @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/Domains/ca.mcgill.rtgmrt.example.modes3/.gitignore b/Domains/ca.mcgill.rtgmrt.example.modes3/.gitignore new file mode 100644 index 00000000..ae3c1726 --- /dev/null +++ b/Domains/ca.mcgill.rtgmrt.example.modes3/.gitignore @@ -0,0 +1 @@ +/bin/ diff --git a/Domains/ca.mcgill.rtgmrt.example.modes3/.project b/Domains/ca.mcgill.rtgmrt.example.modes3/.project new file mode 100644 index 00000000..5e0fbc45 --- /dev/null +++ b/Domains/ca.mcgill.rtgmrt.example.modes3/.project @@ -0,0 +1,40 @@ + + + ca.mcgill.rtgmrt.example.modes3 + + + + + + org.eclipse.viatra.query.tooling.ui.projectbuilder + + + + + org.eclipse.xtext.ui.shared.xtextBuilder + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.pde.ManifestBuilder + + + + + org.eclipse.pde.SchemaBuilder + + + + + + org.eclipse.jdt.core.javanature + org.eclipse.pde.PluginNature + org.eclipse.xtext.ui.shared.xtextNature + org.eclipse.viatra.query.projectnature + + diff --git a/Domains/ca.mcgill.rtgmrt.example.modes3/.settings/org.eclipse.viatra.query.patternlanguage.emf.EMFPatternLanguage.prefs b/Domains/ca.mcgill.rtgmrt.example.modes3/.settings/org.eclipse.viatra.query.patternlanguage.emf.EMFPatternLanguage.prefs new file mode 100644 index 00000000..31cda49a --- /dev/null +++ b/Domains/ca.mcgill.rtgmrt.example.modes3/.settings/org.eclipse.viatra.query.patternlanguage.emf.EMFPatternLanguage.prefs @@ -0,0 +1,27 @@ +BuilderConfiguration.is_project_specific=true +autobuilding=true +eclipse.preferences.version=1 +generateEclipseExtensions=true +generateGeneratedAnnotation=false +generateManifestEntries=true +generateMatchProcessors=false +generateMatchers=NESTED_CLASS +generateSuppressWarnings=true +generatedAnnotationComment= +includeDateInGenerated=false +outlet.DEFAULT_OUTPUT.cleanDirectory=false +outlet.DEFAULT_OUTPUT.cleanupDerived=true +outlet.DEFAULT_OUTPUT.createDirectory=true +outlet.DEFAULT_OUTPUT.derived=true +outlet.DEFAULT_OUTPUT.directory=./vql-gen +outlet.DEFAULT_OUTPUT.hideLocalSyntheticVariables=true +outlet.DEFAULT_OUTPUT.installDslAsPrimarySource=false +outlet.DEFAULT_OUTPUT.keepLocalHistory=true +outlet.DEFAULT_OUTPUT.override=true +outlet.DEFAULT_OUTPUT.sourceFolder.ecore-gen.directory= +outlet.DEFAULT_OUTPUT.sourceFolder.ecore-gen.ignore= +outlet.DEFAULT_OUTPUT.sourceFolder.src.directory= +outlet.DEFAULT_OUTPUT.sourceFolder.src.ignore= +outlet.DEFAULT_OUTPUT.userOutputPerSourceFolder= +targetJavaVersion=JAVA5 +useJavaCompilerCompliance=true diff --git a/Domains/ca.mcgill.rtgmrt.example.modes3/META-INF/MANIFEST.MF b/Domains/ca.mcgill.rtgmrt.example.modes3/META-INF/MANIFEST.MF new file mode 100644 index 00000000..53e4a39c --- /dev/null +++ b/Domains/ca.mcgill.rtgmrt.example.modes3/META-INF/MANIFEST.MF @@ -0,0 +1,34 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: %pluginName +Bundle-SymbolicName: ca.mcgill.rtgmrt.example.modes3;singleton:=true +Bundle-Version: 0.1.0.qualifier +Bundle-Vendor: %providerName +Bundle-Localization: plugin +Export-Package: modes3, + modes3.impl, + modes3.queries, + modes3.util +Require-Bundle: org.eclipse.viatra.query.runtime, + org.eclipse.viatra.query.runtime.rete, + org.eclipse.viatra.query.runtime.localsearch, + org.eclipse.xtext.xbase.lib, + org.eclipse.emf.ecore;visibility:=reexport, + org.eclipse.core.runtime, + org.eclipse.xtend.lib;bundle-version="2.21.0", + org.eclipse.xtend.lib.macro;bundle-version="2.21.0", + hu.bme.mit.inf.dslreasoner.application;bundle-version="1.0.0", + hu.bme.mit.inf.dslreasoner.logic.model;bundle-version="1.0.0", + hu.bme.mit.inf.dslreasoner.logic2ecore;bundle-version="1.0.0", + hu.bme.mit.inf.dslreasoner.viatra2logic;bundle-version="1.0.0", + hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatraquery;bundle-version="1.0.0", + hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage;bundle-version="1.0.0", + hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner;bundle-version="1.0.0", + hu.bme.mit.inf.dslreasoner.ecore2logic;bundle-version="1.0.0", + org.eclipse.emf.ecore.xmi;bundle-version="2.16.0", + hu.bme.mit.inf.dslreasoner.visualisation;bundle-version="1.0.0", + org.eclipse.viatra.query.patternlanguage.emf;bundle-version="2.4.0" +Bundle-RequiredExecutionEnvironment: J2SE-1.5 +Bundle-ActivationPolicy: lazy +Import-Package: org.apache.log4j +Automatic-Module-Name: ca.mcgill.rtgmrt.example.modes3 diff --git a/Domains/ca.mcgill.rtgmrt.example.modes3/build.properties b/Domains/ca.mcgill.rtgmrt.example.modes3/build.properties new file mode 100644 index 00000000..a431f6b2 --- /dev/null +++ b/Domains/ca.mcgill.rtgmrt.example.modes3/build.properties @@ -0,0 +1,11 @@ +bin.includes = .,\ + model/,\ + META-INF/,\ + plugin.xml,\ + plugin.properties +jars.compile.order = . +source.. = src/,\ + ecore-gen/,\ + vql-gen/,\ + xtend-gen/ +output.. = bin/ diff --git a/Domains/ca.mcgill.rtgmrt.example.modes3/ecore-gen/modes3/Modes3Factory.java b/Domains/ca.mcgill.rtgmrt.example.modes3/ecore-gen/modes3/Modes3Factory.java new file mode 100644 index 00000000..73188db1 --- /dev/null +++ b/Domains/ca.mcgill.rtgmrt.example.modes3/ecore-gen/modes3/Modes3Factory.java @@ -0,0 +1,69 @@ +/** + */ +package modes3; + +import org.eclipse.emf.ecore.EFactory; + +/** + * + * The Factory for the model. + * It provides a create method for each non-abstract class of the model. + * + * @see modes3.Modes3Package + * @generated + */ +public interface Modes3Factory extends EFactory { + /** + * The singleton instance of the factory. + * + * + * @generated + */ + Modes3Factory eINSTANCE = modes3.impl.Modes3FactoryImpl.init(); + + /** + * Returns a new object of class 'Segment'. + * + * + * @return a new object of class 'Segment'. + * @generated + */ + Segment createSegment(); + + /** + * Returns a new object of class 'Model Root'. + * + * + * @return a new object of class 'Model Root'. + * @generated + */ + Modes3ModelRoot createModes3ModelRoot(); + + /** + * Returns a new object of class 'Turnout'. + * + * + * @return a new object of class 'Turnout'. + * @generated + */ + Turnout createTurnout(); + + /** + * Returns a new object of class 'Train'. + * + * + * @return a new object of class 'Train'. + * @generated + */ + Train createTrain(); + + /** + * Returns the package supported by this factory. + * + * + * @return the package supported by this factory. + * @generated + */ + Modes3Package getModes3Package(); + +} //Modes3Factory diff --git a/Domains/ca.mcgill.rtgmrt.example.modes3/ecore-gen/modes3/Modes3ModelRoot.java b/Domains/ca.mcgill.rtgmrt.example.modes3/ecore-gen/modes3/Modes3ModelRoot.java new file mode 100644 index 00000000..4f925b7a --- /dev/null +++ b/Domains/ca.mcgill.rtgmrt.example.modes3/ecore-gen/modes3/Modes3ModelRoot.java @@ -0,0 +1,87 @@ +/** + */ +package modes3; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EObject; + +/** + * + * A representation of the model object 'Model Root'. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link modes3.Modes3ModelRoot#getId Id}
    • + *
    • {@link modes3.Modes3ModelRoot#getTrains Trains}
    • + *
    • {@link modes3.Modes3ModelRoot#getSegments Segments}
    • + *
    • {@link modes3.Modes3ModelRoot#getTurnouts Turnouts}
    • + *
    + * + * @see modes3.Modes3Package#getModes3ModelRoot() + * @model + * @generated + */ +public interface Modes3ModelRoot extends EObject { + /** + * Returns the value of the 'Id' attribute. + * + * + * @return the value of the 'Id' attribute. + * @see #setId(int) + * @see modes3.Modes3Package#getModes3ModelRoot_Id() + * @model + * @generated + */ + int getId(); + + /** + * Sets the value of the '{@link modes3.Modes3ModelRoot#getId Id}' attribute. + * + * + * @param value the new value of the 'Id' attribute. + * @see #getId() + * @generated + */ + void setId(int value); + + /** + * Returns the value of the 'Trains' containment reference list. + * The list contents are of type {@link modes3.Train}. + * + * + * @return the value of the 'Trains' containment reference list. + * @see modes3.Modes3Package#getModes3ModelRoot_Trains() + * @model containment="true" + * @generated + */ + EList getTrains(); + + /** + * Returns the value of the 'Segments' containment reference list. + * The list contents are of type {@link modes3.Segment}. + * + * + * @return the value of the 'Segments' containment reference list. + * @see modes3.Modes3Package#getModes3ModelRoot_Segments() + * @model containment="true" + * @generated + */ + EList getSegments(); + + /** + * Returns the value of the 'Turnouts' containment reference list. + * The list contents are of type {@link modes3.Turnout}. + * + * + * @return the value of the 'Turnouts' containment reference list. + * @see modes3.Modes3Package#getModes3ModelRoot_Turnouts() + * @model containment="true" + * @generated + */ + EList getTurnouts(); + +} // Modes3ModelRoot diff --git a/Domains/ca.mcgill.rtgmrt.example.modes3/ecore-gen/modes3/Modes3Package.java b/Domains/ca.mcgill.rtgmrt.example.modes3/ecore-gen/modes3/Modes3Package.java new file mode 100644 index 00000000..4760af9d --- /dev/null +++ b/Domains/ca.mcgill.rtgmrt.example.modes3/ecore-gen/modes3/Modes3Package.java @@ -0,0 +1,640 @@ +/** + */ +package modes3; + +import org.eclipse.emf.ecore.EAttribute; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EPackage; +import org.eclipse.emf.ecore.EReference; + +/** + * + * The Package for the model. + * It contains accessors for the meta objects to represent + *
      + *
    • each class,
    • + *
    • each feature of each class,
    • + *
    • each operation of each class,
    • + *
    • each enum,
    • + *
    • and each data type
    • + *
    + * + * @see modes3.Modes3Factory + * @model kind="package" + * @generated + */ +public interface Modes3Package extends EPackage { + /** + * The package name. + * + * + * @generated + */ + String eNAME = "modes3"; + + /** + * The package namespace URI. + * + * + * @generated + */ + String eNS_URI = "http://www.ece.mcgill.ca/wcet/modes3"; + + /** + * The package namespace name. + * + * + * @generated + */ + String eNS_PREFIX = "modes3"; + + /** + * The singleton instance of the package. + * + * + * @generated + */ + Modes3Package eINSTANCE = modes3.impl.Modes3PackageImpl.init(); + + /** + * The meta object id for the '{@link modes3.impl.SegmentImpl Segment}' class. + * + * + * @see modes3.impl.SegmentImpl + * @see modes3.impl.Modes3PackageImpl#getSegment() + * @generated + */ + int SEGMENT = 0; + + /** + * The feature id for the 'Connected To' reference list. + * + * + * @generated + * @ordered + */ + int SEGMENT__CONNECTED_TO = 0; + + /** + * The feature id for the 'Occupied By' reference. + * + * + * @generated + * @ordered + */ + int SEGMENT__OCCUPIED_BY = 1; + + /** + * The feature id for the 'Id' attribute. + * + * + * @generated + * @ordered + */ + int SEGMENT__ID = 2; + + /** + * The number of structural features of the 'Segment' class. + * + * + * @generated + * @ordered + */ + int SEGMENT_FEATURE_COUNT = 3; + + /** + * The number of operations of the 'Segment' class. + * + * + * @generated + * @ordered + */ + int SEGMENT_OPERATION_COUNT = 0; + + /** + * The meta object id for the '{@link modes3.impl.Modes3ModelRootImpl Model Root}' class. + * + * + * @see modes3.impl.Modes3ModelRootImpl + * @see modes3.impl.Modes3PackageImpl#getModes3ModelRoot() + * @generated + */ + int MODES3_MODEL_ROOT = 1; + + /** + * The feature id for the 'Id' attribute. + * + * + * @generated + * @ordered + */ + int MODES3_MODEL_ROOT__ID = 0; + + /** + * The feature id for the 'Trains' containment reference list. + * + * + * @generated + * @ordered + */ + int MODES3_MODEL_ROOT__TRAINS = 1; + + /** + * The feature id for the 'Segments' containment reference list. + * + * + * @generated + * @ordered + */ + int MODES3_MODEL_ROOT__SEGMENTS = 2; + + /** + * The feature id for the 'Turnouts' containment reference list. + * + * + * @generated + * @ordered + */ + int MODES3_MODEL_ROOT__TURNOUTS = 3; + + /** + * The number of structural features of the 'Model Root' class. + * + * + * @generated + * @ordered + */ + int MODES3_MODEL_ROOT_FEATURE_COUNT = 4; + + /** + * The number of operations of the 'Model Root' class. + * + * + * @generated + * @ordered + */ + int MODES3_MODEL_ROOT_OPERATION_COUNT = 0; + + /** + * The meta object id for the '{@link modes3.impl.TurnoutImpl Turnout}' class. + * + * + * @see modes3.impl.TurnoutImpl + * @see modes3.impl.Modes3PackageImpl#getTurnout() + * @generated + */ + int TURNOUT = 2; + + /** + * The feature id for the 'Connected To' reference list. + * + * + * @generated + * @ordered + */ + int TURNOUT__CONNECTED_TO = SEGMENT__CONNECTED_TO; + + /** + * The feature id for the 'Occupied By' reference. + * + * + * @generated + * @ordered + */ + int TURNOUT__OCCUPIED_BY = SEGMENT__OCCUPIED_BY; + + /** + * The feature id for the 'Id' attribute. + * + * + * @generated + * @ordered + */ + int TURNOUT__ID = SEGMENT__ID; + + /** + * The feature id for the 'Straight' reference. + * + * + * @generated + * @ordered + */ + int TURNOUT__STRAIGHT = SEGMENT_FEATURE_COUNT + 0; + + /** + * The feature id for the 'Divergent' reference. + * + * + * @generated + * @ordered + */ + int TURNOUT__DIVERGENT = SEGMENT_FEATURE_COUNT + 1; + + /** + * The number of structural features of the 'Turnout' class. + * + * + * @generated + * @ordered + */ + int TURNOUT_FEATURE_COUNT = SEGMENT_FEATURE_COUNT + 2; + + /** + * The number of operations of the 'Turnout' class. + * + * + * @generated + * @ordered + */ + int TURNOUT_OPERATION_COUNT = SEGMENT_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link modes3.impl.TrainImpl Train}' class. + * + * + * @see modes3.impl.TrainImpl + * @see modes3.impl.Modes3PackageImpl#getTrain() + * @generated + */ + int TRAIN = 3; + + /** + * The feature id for the 'Location' reference. + * + * + * @generated + * @ordered + */ + int TRAIN__LOCATION = 0; + + /** + * The feature id for the 'Id' attribute. + * + * + * @generated + * @ordered + */ + int TRAIN__ID = 1; + + /** + * The feature id for the 'Speed' attribute. + * + * + * @generated + * @ordered + */ + int TRAIN__SPEED = 2; + + /** + * The number of structural features of the 'Train' class. + * + * + * @generated + * @ordered + */ + int TRAIN_FEATURE_COUNT = 3; + + /** + * The number of operations of the 'Train' class. + * + * + * @generated + * @ordered + */ + int TRAIN_OPERATION_COUNT = 0; + + + /** + * Returns the meta object for class '{@link modes3.Segment Segment}'. + * + * + * @return the meta object for class 'Segment'. + * @see modes3.Segment + * @generated + */ + EClass getSegment(); + + /** + * Returns the meta object for the reference list '{@link modes3.Segment#getConnectedTo Connected To}'. + * + * + * @return the meta object for the reference list 'Connected To'. + * @see modes3.Segment#getConnectedTo() + * @see #getSegment() + * @generated + */ + EReference getSegment_ConnectedTo(); + + /** + * Returns the meta object for the reference '{@link modes3.Segment#getOccupiedBy Occupied By}'. + * + * + * @return the meta object for the reference 'Occupied By'. + * @see modes3.Segment#getOccupiedBy() + * @see #getSegment() + * @generated + */ + EReference getSegment_OccupiedBy(); + + /** + * Returns the meta object for the attribute '{@link modes3.Segment#getId Id}'. + * + * + * @return the meta object for the attribute 'Id'. + * @see modes3.Segment#getId() + * @see #getSegment() + * @generated + */ + EAttribute getSegment_Id(); + + /** + * Returns the meta object for class '{@link modes3.Modes3ModelRoot Model Root}'. + * + * + * @return the meta object for class 'Model Root'. + * @see modes3.Modes3ModelRoot + * @generated + */ + EClass getModes3ModelRoot(); + + /** + * Returns the meta object for the attribute '{@link modes3.Modes3ModelRoot#getId Id}'. + * + * + * @return the meta object for the attribute 'Id'. + * @see modes3.Modes3ModelRoot#getId() + * @see #getModes3ModelRoot() + * @generated + */ + EAttribute getModes3ModelRoot_Id(); + + /** + * Returns the meta object for the containment reference list '{@link modes3.Modes3ModelRoot#getTrains Trains}'. + * + * + * @return the meta object for the containment reference list 'Trains'. + * @see modes3.Modes3ModelRoot#getTrains() + * @see #getModes3ModelRoot() + * @generated + */ + EReference getModes3ModelRoot_Trains(); + + /** + * Returns the meta object for the containment reference list '{@link modes3.Modes3ModelRoot#getSegments Segments}'. + * + * + * @return the meta object for the containment reference list 'Segments'. + * @see modes3.Modes3ModelRoot#getSegments() + * @see #getModes3ModelRoot() + * @generated + */ + EReference getModes3ModelRoot_Segments(); + + /** + * Returns the meta object for the containment reference list '{@link modes3.Modes3ModelRoot#getTurnouts Turnouts}'. + * + * + * @return the meta object for the containment reference list 'Turnouts'. + * @see modes3.Modes3ModelRoot#getTurnouts() + * @see #getModes3ModelRoot() + * @generated + */ + EReference getModes3ModelRoot_Turnouts(); + + /** + * Returns the meta object for class '{@link modes3.Turnout Turnout}'. + * + * + * @return the meta object for class 'Turnout'. + * @see modes3.Turnout + * @generated + */ + EClass getTurnout(); + + /** + * Returns the meta object for the reference '{@link modes3.Turnout#getStraight Straight}'. + * + * + * @return the meta object for the reference 'Straight'. + * @see modes3.Turnout#getStraight() + * @see #getTurnout() + * @generated + */ + EReference getTurnout_Straight(); + + /** + * Returns the meta object for the reference '{@link modes3.Turnout#getDivergent Divergent}'. + * + * + * @return the meta object for the reference 'Divergent'. + * @see modes3.Turnout#getDivergent() + * @see #getTurnout() + * @generated + */ + EReference getTurnout_Divergent(); + + /** + * Returns the meta object for class '{@link modes3.Train Train}'. + * + * + * @return the meta object for class 'Train'. + * @see modes3.Train + * @generated + */ + EClass getTrain(); + + /** + * Returns the meta object for the reference '{@link modes3.Train#getLocation Location}'. + * + * + * @return the meta object for the reference 'Location'. + * @see modes3.Train#getLocation() + * @see #getTrain() + * @generated + */ + EReference getTrain_Location(); + + /** + * Returns the meta object for the attribute '{@link modes3.Train#getId Id}'. + * + * + * @return the meta object for the attribute 'Id'. + * @see modes3.Train#getId() + * @see #getTrain() + * @generated + */ + EAttribute getTrain_Id(); + + /** + * Returns the meta object for the attribute '{@link modes3.Train#getSpeed Speed}'. + * + * + * @return the meta object for the attribute 'Speed'. + * @see modes3.Train#getSpeed() + * @see #getTrain() + * @generated + */ + EAttribute getTrain_Speed(); + + /** + * Returns the factory that creates the instances of the model. + * + * + * @return the factory that creates the instances of the model. + * @generated + */ + Modes3Factory getModes3Factory(); + + /** + * + * Defines literals for the meta objects that represent + *
      + *
    • each class,
    • + *
    • each feature of each class,
    • + *
    • each operation of each class,
    • + *
    • each enum,
    • + *
    • and each data type
    • + *
    + * + * @generated + */ + interface Literals { + /** + * The meta object literal for the '{@link modes3.impl.SegmentImpl Segment}' class. + * + * + * @see modes3.impl.SegmentImpl + * @see modes3.impl.Modes3PackageImpl#getSegment() + * @generated + */ + EClass SEGMENT = eINSTANCE.getSegment(); + + /** + * The meta object literal for the 'Connected To' reference list feature. + * + * + * @generated + */ + EReference SEGMENT__CONNECTED_TO = eINSTANCE.getSegment_ConnectedTo(); + + /** + * The meta object literal for the 'Occupied By' reference feature. + * + * + * @generated + */ + EReference SEGMENT__OCCUPIED_BY = eINSTANCE.getSegment_OccupiedBy(); + + /** + * The meta object literal for the 'Id' attribute feature. + * + * + * @generated + */ + EAttribute SEGMENT__ID = eINSTANCE.getSegment_Id(); + + /** + * The meta object literal for the '{@link modes3.impl.Modes3ModelRootImpl Model Root}' class. + * + * + * @see modes3.impl.Modes3ModelRootImpl + * @see modes3.impl.Modes3PackageImpl#getModes3ModelRoot() + * @generated + */ + EClass MODES3_MODEL_ROOT = eINSTANCE.getModes3ModelRoot(); + + /** + * The meta object literal for the 'Id' attribute feature. + * + * + * @generated + */ + EAttribute MODES3_MODEL_ROOT__ID = eINSTANCE.getModes3ModelRoot_Id(); + + /** + * The meta object literal for the 'Trains' containment reference list feature. + * + * + * @generated + */ + EReference MODES3_MODEL_ROOT__TRAINS = eINSTANCE.getModes3ModelRoot_Trains(); + + /** + * The meta object literal for the 'Segments' containment reference list feature. + * + * + * @generated + */ + EReference MODES3_MODEL_ROOT__SEGMENTS = eINSTANCE.getModes3ModelRoot_Segments(); + + /** + * The meta object literal for the 'Turnouts' containment reference list feature. + * + * + * @generated + */ + EReference MODES3_MODEL_ROOT__TURNOUTS = eINSTANCE.getModes3ModelRoot_Turnouts(); + + /** + * The meta object literal for the '{@link modes3.impl.TurnoutImpl Turnout}' class. + * + * + * @see modes3.impl.TurnoutImpl + * @see modes3.impl.Modes3PackageImpl#getTurnout() + * @generated + */ + EClass TURNOUT = eINSTANCE.getTurnout(); + + /** + * The meta object literal for the 'Straight' reference feature. + * + * + * @generated + */ + EReference TURNOUT__STRAIGHT = eINSTANCE.getTurnout_Straight(); + + /** + * The meta object literal for the 'Divergent' reference feature. + * + * + * @generated + */ + EReference TURNOUT__DIVERGENT = eINSTANCE.getTurnout_Divergent(); + + /** + * The meta object literal for the '{@link modes3.impl.TrainImpl Train}' class. + * + * + * @see modes3.impl.TrainImpl + * @see modes3.impl.Modes3PackageImpl#getTrain() + * @generated + */ + EClass TRAIN = eINSTANCE.getTrain(); + + /** + * The meta object literal for the 'Location' reference feature. + * + * + * @generated + */ + EReference TRAIN__LOCATION = eINSTANCE.getTrain_Location(); + + /** + * The meta object literal for the 'Id' attribute feature. + * + * + * @generated + */ + EAttribute TRAIN__ID = eINSTANCE.getTrain_Id(); + + /** + * The meta object literal for the 'Speed' attribute feature. + * + * + * @generated + */ + EAttribute TRAIN__SPEED = eINSTANCE.getTrain_Speed(); + + } + +} //Modes3Package diff --git a/Domains/ca.mcgill.rtgmrt.example.modes3/ecore-gen/modes3/Segment.java b/Domains/ca.mcgill.rtgmrt.example.modes3/ecore-gen/modes3/Segment.java new file mode 100644 index 00000000..002f25a5 --- /dev/null +++ b/Domains/ca.mcgill.rtgmrt.example.modes3/ecore-gen/modes3/Segment.java @@ -0,0 +1,86 @@ +/** + */ +package modes3; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EObject; + +/** + * + * A representation of the model object 'Segment'. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link modes3.Segment#getConnectedTo Connected To}
    • + *
    • {@link modes3.Segment#getOccupiedBy Occupied By}
    • + *
    • {@link modes3.Segment#getId Id}
    • + *
    + * + * @see modes3.Modes3Package#getSegment() + * @model + * @generated + */ +public interface Segment extends EObject { + /** + * Returns the value of the 'Connected To' reference list. + * The list contents are of type {@link modes3.Segment}. + * + * + * @return the value of the 'Connected To' reference list. + * @see modes3.Modes3Package#getSegment_ConnectedTo() + * @model upper="2" + * @generated + */ + EList getConnectedTo(); + + /** + * Returns the value of the 'Occupied By' reference. + * It is bidirectional and its opposite is '{@link modes3.Train#getLocation Location}'. + * + * + * @return the value of the 'Occupied By' reference. + * @see #setOccupiedBy(Train) + * @see modes3.Modes3Package#getSegment_OccupiedBy() + * @see modes3.Train#getLocation + * @model opposite="location" + * @generated + */ + Train getOccupiedBy(); + + /** + * Sets the value of the '{@link modes3.Segment#getOccupiedBy Occupied By}' reference. + * + * + * @param value the new value of the 'Occupied By' reference. + * @see #getOccupiedBy() + * @generated + */ + void setOccupiedBy(Train value); + + /** + * Returns the value of the 'Id' attribute. + * + * + * @return the value of the 'Id' attribute. + * @see #setId(int) + * @see modes3.Modes3Package#getSegment_Id() + * @model + * @generated + */ + int getId(); + + /** + * Sets the value of the '{@link modes3.Segment#getId Id}' attribute. + * + * + * @param value the new value of the 'Id' attribute. + * @see #getId() + * @generated + */ + void setId(int value); + +} // Segment diff --git a/Domains/ca.mcgill.rtgmrt.example.modes3/ecore-gen/modes3/Train.java b/Domains/ca.mcgill.rtgmrt.example.modes3/ecore-gen/modes3/Train.java new file mode 100644 index 00000000..1829586d --- /dev/null +++ b/Domains/ca.mcgill.rtgmrt.example.modes3/ecore-gen/modes3/Train.java @@ -0,0 +1,94 @@ +/** + */ +package modes3; + +import org.eclipse.emf.ecore.EObject; + +/** + * + * A representation of the model object 'Train'. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link modes3.Train#getLocation Location}
    • + *
    • {@link modes3.Train#getId Id}
    • + *
    • {@link modes3.Train#getSpeed Speed}
    • + *
    + * + * @see modes3.Modes3Package#getTrain() + * @model + * @generated + */ +public interface Train extends EObject { + /** + * Returns the value of the 'Location' reference. + * It is bidirectional and its opposite is '{@link modes3.Segment#getOccupiedBy Occupied By}'. + * + * + * @return the value of the 'Location' reference. + * @see #setLocation(Segment) + * @see modes3.Modes3Package#getTrain_Location() + * @see modes3.Segment#getOccupiedBy + * @model opposite="occupiedBy" required="true" + * @generated + */ + Segment getLocation(); + + /** + * Sets the value of the '{@link modes3.Train#getLocation Location}' reference. + * + * + * @param value the new value of the 'Location' reference. + * @see #getLocation() + * @generated + */ + void setLocation(Segment value); + + /** + * Returns the value of the 'Id' attribute. + * + * + * @return the value of the 'Id' attribute. + * @see #setId(int) + * @see modes3.Modes3Package#getTrain_Id() + * @model + * @generated + */ + int getId(); + + /** + * Sets the value of the '{@link modes3.Train#getId Id}' attribute. + * + * + * @param value the new value of the 'Id' attribute. + * @see #getId() + * @generated + */ + void setId(int value); + + /** + * Returns the value of the 'Speed' attribute. + * + * + * @return the value of the 'Speed' attribute. + * @see #setSpeed(double) + * @see modes3.Modes3Package#getTrain_Speed() + * @model + * @generated + */ + double getSpeed(); + + /** + * Sets the value of the '{@link modes3.Train#getSpeed Speed}' attribute. + * + * + * @param value the new value of the 'Speed' attribute. + * @see #getSpeed() + * @generated + */ + void setSpeed(double value); + +} // Train diff --git a/Domains/ca.mcgill.rtgmrt.example.modes3/ecore-gen/modes3/Turnout.java b/Domains/ca.mcgill.rtgmrt.example.modes3/ecore-gen/modes3/Turnout.java new file mode 100644 index 00000000..799f8d7b --- /dev/null +++ b/Domains/ca.mcgill.rtgmrt.example.modes3/ecore-gen/modes3/Turnout.java @@ -0,0 +1,68 @@ +/** + */ +package modes3; + + +/** + * + * A representation of the model object 'Turnout'. + * + * + *

    + * The following features are supported: + *

    + *
      + *
    • {@link modes3.Turnout#getStraight Straight}
    • + *
    • {@link modes3.Turnout#getDivergent Divergent}
    • + *
    + * + * @see modes3.Modes3Package#getTurnout() + * @model + * @generated + */ +public interface Turnout extends Segment { + /** + * Returns the value of the 'Straight' reference. + * + * + * @return the value of the 'Straight' reference. + * @see #setStraight(Segment) + * @see modes3.Modes3Package#getTurnout_Straight() + * @model required="true" + * @generated + */ + Segment getStraight(); + + /** + * Sets the value of the '{@link modes3.Turnout#getStraight Straight}' reference. + * + * + * @param value the new value of the 'Straight' reference. + * @see #getStraight() + * @generated + */ + void setStraight(Segment value); + + /** + * Returns the value of the 'Divergent' reference. + * + * + * @return the value of the 'Divergent' reference. + * @see #setDivergent(Segment) + * @see modes3.Modes3Package#getTurnout_Divergent() + * @model required="true" + * @generated + */ + Segment getDivergent(); + + /** + * Sets the value of the '{@link modes3.Turnout#getDivergent Divergent}' reference. + * + * + * @param value the new value of the 'Divergent' reference. + * @see #getDivergent() + * @generated + */ + void setDivergent(Segment value); + +} // Turnout diff --git a/Domains/ca.mcgill.rtgmrt.example.modes3/ecore-gen/modes3/impl/Modes3FactoryImpl.java b/Domains/ca.mcgill.rtgmrt.example.modes3/ecore-gen/modes3/impl/Modes3FactoryImpl.java new file mode 100644 index 00000000..6ec86cb6 --- /dev/null +++ b/Domains/ca.mcgill.rtgmrt.example.modes3/ecore-gen/modes3/impl/Modes3FactoryImpl.java @@ -0,0 +1,128 @@ +/** + */ +package modes3.impl; + +import modes3.*; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.EPackage; + +import org.eclipse.emf.ecore.impl.EFactoryImpl; + +import org.eclipse.emf.ecore.plugin.EcorePlugin; + +/** + * + * An implementation of the model Factory. + * + * @generated + */ +public class Modes3FactoryImpl extends EFactoryImpl implements Modes3Factory { + /** + * Creates the default factory implementation. + * + * + * @generated + */ + public static Modes3Factory init() { + try { + Modes3Factory theModes3Factory = (Modes3Factory)EPackage.Registry.INSTANCE.getEFactory(Modes3Package.eNS_URI); + if (theModes3Factory != null) { + return theModes3Factory; + } + } + catch (Exception exception) { + EcorePlugin.INSTANCE.log(exception); + } + return new Modes3FactoryImpl(); + } + + /** + * Creates an instance of the factory. + * + * + * @generated + */ + public Modes3FactoryImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + public EObject create(EClass eClass) { + switch (eClass.getClassifierID()) { + case Modes3Package.SEGMENT: return createSegment(); + case Modes3Package.MODES3_MODEL_ROOT: return createModes3ModelRoot(); + case Modes3Package.TURNOUT: return createTurnout(); + case Modes3Package.TRAIN: return createTrain(); + default: + throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); + } + } + + /** + * + * + * @generated + */ + public Segment createSegment() { + SegmentImpl segment = new SegmentImpl(); + return segment; + } + + /** + * + * + * @generated + */ + public Modes3ModelRoot createModes3ModelRoot() { + Modes3ModelRootImpl modes3ModelRoot = new Modes3ModelRootImpl(); + return modes3ModelRoot; + } + + /** + * + * + * @generated + */ + public Turnout createTurnout() { + TurnoutImpl turnout = new TurnoutImpl(); + return turnout; + } + + /** + * + * + * @generated + */ + public Train createTrain() { + TrainImpl train = new TrainImpl(); + return train; + } + + /** + * + * + * @generated + */ + public Modes3Package getModes3Package() { + return (Modes3Package)getEPackage(); + } + + /** + * + * + * @deprecated + * @generated + */ + @Deprecated + public static Modes3Package getPackage() { + return Modes3Package.eINSTANCE; + } + +} //Modes3FactoryImpl diff --git a/Domains/ca.mcgill.rtgmrt.example.modes3/ecore-gen/modes3/impl/Modes3ModelRootImpl.java b/Domains/ca.mcgill.rtgmrt.example.modes3/ecore-gen/modes3/impl/Modes3ModelRootImpl.java new file mode 100644 index 00000000..d1ee25ff --- /dev/null +++ b/Domains/ca.mcgill.rtgmrt.example.modes3/ecore-gen/modes3/impl/Modes3ModelRootImpl.java @@ -0,0 +1,296 @@ +/** + */ +package modes3.impl; + +import java.util.Collection; + +import modes3.Modes3ModelRoot; +import modes3.Modes3Package; +import modes3.Segment; +import modes3.Train; +import modes3.Turnout; + +import org.eclipse.emf.common.notify.Notification; +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.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +import org.eclipse.emf.ecore.util.EObjectContainmentEList; +import org.eclipse.emf.ecore.util.InternalEList; + +/** + * + * An implementation of the model object 'Model Root'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link modes3.impl.Modes3ModelRootImpl#getId Id}
    • + *
    • {@link modes3.impl.Modes3ModelRootImpl#getTrains Trains}
    • + *
    • {@link modes3.impl.Modes3ModelRootImpl#getSegments Segments}
    • + *
    • {@link modes3.impl.Modes3ModelRootImpl#getTurnouts Turnouts}
    • + *
    + * + * @generated + */ +public class Modes3ModelRootImpl extends MinimalEObjectImpl.Container implements Modes3ModelRoot { + /** + * The default value of the '{@link #getId() Id}' attribute. + * + * + * @see #getId() + * @generated + * @ordered + */ + protected static final int ID_EDEFAULT = 0; + + /** + * The cached value of the '{@link #getId() Id}' attribute. + * + * + * @see #getId() + * @generated + * @ordered + */ + protected int id = ID_EDEFAULT; + + /** + * The cached value of the '{@link #getTrains() Trains}' containment reference list. + * + * + * @see #getTrains() + * @generated + * @ordered + */ + protected EList trains; + + /** + * The cached value of the '{@link #getSegments() Segments}' containment reference list. + * + * + * @see #getSegments() + * @generated + * @ordered + */ + protected EList segments; + + /** + * The cached value of the '{@link #getTurnouts() Turnouts}' containment reference list. + * + * + * @see #getTurnouts() + * @generated + * @ordered + */ + protected EList turnouts; + + /** + * + * + * @generated + */ + protected Modes3ModelRootImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return Modes3Package.Literals.MODES3_MODEL_ROOT; + } + + /** + * + * + * @generated + */ + public int getId() { + return id; + } + + /** + * + * + * @generated + */ + public void setId(int newId) { + int oldId = id; + id = newId; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, Modes3Package.MODES3_MODEL_ROOT__ID, oldId, id)); + } + + /** + * + * + * @generated + */ + public EList getTrains() { + if (trains == null) { + trains = new EObjectContainmentEList(Train.class, this, Modes3Package.MODES3_MODEL_ROOT__TRAINS); + } + return trains; + } + + /** + * + * + * @generated + */ + public EList getSegments() { + if (segments == null) { + segments = new EObjectContainmentEList(Segment.class, this, Modes3Package.MODES3_MODEL_ROOT__SEGMENTS); + } + return segments; + } + + /** + * + * + * @generated + */ + public EList getTurnouts() { + if (turnouts == null) { + turnouts = new EObjectContainmentEList(Turnout.class, this, Modes3Package.MODES3_MODEL_ROOT__TURNOUTS); + } + return turnouts; + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case Modes3Package.MODES3_MODEL_ROOT__TRAINS: + return ((InternalEList)getTrains()).basicRemove(otherEnd, msgs); + case Modes3Package.MODES3_MODEL_ROOT__SEGMENTS: + return ((InternalEList)getSegments()).basicRemove(otherEnd, msgs); + case Modes3Package.MODES3_MODEL_ROOT__TURNOUTS: + return ((InternalEList)getTurnouts()).basicRemove(otherEnd, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case Modes3Package.MODES3_MODEL_ROOT__ID: + return getId(); + case Modes3Package.MODES3_MODEL_ROOT__TRAINS: + return getTrains(); + case Modes3Package.MODES3_MODEL_ROOT__SEGMENTS: + return getSegments(); + case Modes3Package.MODES3_MODEL_ROOT__TURNOUTS: + return getTurnouts(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case Modes3Package.MODES3_MODEL_ROOT__ID: + setId((Integer)newValue); + return; + case Modes3Package.MODES3_MODEL_ROOT__TRAINS: + getTrains().clear(); + getTrains().addAll((Collection)newValue); + return; + case Modes3Package.MODES3_MODEL_ROOT__SEGMENTS: + getSegments().clear(); + getSegments().addAll((Collection)newValue); + return; + case Modes3Package.MODES3_MODEL_ROOT__TURNOUTS: + getTurnouts().clear(); + getTurnouts().addAll((Collection)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case Modes3Package.MODES3_MODEL_ROOT__ID: + setId(ID_EDEFAULT); + return; + case Modes3Package.MODES3_MODEL_ROOT__TRAINS: + getTrains().clear(); + return; + case Modes3Package.MODES3_MODEL_ROOT__SEGMENTS: + getSegments().clear(); + return; + case Modes3Package.MODES3_MODEL_ROOT__TURNOUTS: + getTurnouts().clear(); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case Modes3Package.MODES3_MODEL_ROOT__ID: + return id != ID_EDEFAULT; + case Modes3Package.MODES3_MODEL_ROOT__TRAINS: + return trains != null && !trains.isEmpty(); + case Modes3Package.MODES3_MODEL_ROOT__SEGMENTS: + return segments != null && !segments.isEmpty(); + case Modes3Package.MODES3_MODEL_ROOT__TURNOUTS: + return turnouts != null && !turnouts.isEmpty(); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuilder result = new StringBuilder(super.toString()); + result.append(" (id: "); + result.append(id); + result.append(')'); + return result.toString(); + } + +} //Modes3ModelRootImpl diff --git a/Domains/ca.mcgill.rtgmrt.example.modes3/ecore-gen/modes3/impl/Modes3PackageImpl.java b/Domains/ca.mcgill.rtgmrt.example.modes3/ecore-gen/modes3/impl/Modes3PackageImpl.java new file mode 100644 index 00000000..2b9e828c --- /dev/null +++ b/Domains/ca.mcgill.rtgmrt.example.modes3/ecore-gen/modes3/impl/Modes3PackageImpl.java @@ -0,0 +1,363 @@ +/** + */ +package modes3.impl; + +import modes3.Modes3Factory; +import modes3.Modes3ModelRoot; +import modes3.Modes3Package; +import modes3.Segment; +import modes3.Train; +import modes3.Turnout; + +import org.eclipse.emf.ecore.EAttribute; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EPackage; +import org.eclipse.emf.ecore.EReference; + +import org.eclipse.emf.ecore.impl.EPackageImpl; + +/** + * + * An implementation of the model Package. + * + * @generated + */ +public class Modes3PackageImpl extends EPackageImpl implements Modes3Package { + /** + * + * + * @generated + */ + private EClass segmentEClass = null; + + /** + * + * + * @generated + */ + private EClass modes3ModelRootEClass = null; + + /** + * + * + * @generated + */ + private EClass turnoutEClass = null; + + /** + * + * + * @generated + */ + private EClass trainEClass = null; + + /** + * Creates an instance of the model Package, registered with + * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package + * package URI value. + *

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

    This method is used to initialize {@link Modes3Package#eINSTANCE} when that field is accessed. + * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. + * + * + * @see #eNS_URI + * @see #createPackageContents() + * @see #initializePackageContents() + * @generated + */ + public static Modes3Package init() { + if (isInited) return (Modes3Package)EPackage.Registry.INSTANCE.getEPackage(Modes3Package.eNS_URI); + + // Obtain or create and register package + Object registeredModes3Package = EPackage.Registry.INSTANCE.get(eNS_URI); + Modes3PackageImpl theModes3Package = registeredModes3Package instanceof Modes3PackageImpl ? (Modes3PackageImpl)registeredModes3Package : new Modes3PackageImpl(); + + isInited = true; + + // Create package meta-data objects + theModes3Package.createPackageContents(); + + // Initialize created meta-data + theModes3Package.initializePackageContents(); + + // Mark meta-data to indicate it can't be changed + theModes3Package.freeze(); + + // Update the registry and return the package + EPackage.Registry.INSTANCE.put(Modes3Package.eNS_URI, theModes3Package); + return theModes3Package; + } + + /** + * + * + * @generated + */ + public EClass getSegment() { + return segmentEClass; + } + + /** + * + * + * @generated + */ + public EReference getSegment_ConnectedTo() { + return (EReference)segmentEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EReference getSegment_OccupiedBy() { + return (EReference)segmentEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EAttribute getSegment_Id() { + return (EAttribute)segmentEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + public EClass getModes3ModelRoot() { + return modes3ModelRootEClass; + } + + /** + * + * + * @generated + */ + public EAttribute getModes3ModelRoot_Id() { + return (EAttribute)modes3ModelRootEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EReference getModes3ModelRoot_Trains() { + return (EReference)modes3ModelRootEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EReference getModes3ModelRoot_Segments() { + return (EReference)modes3ModelRootEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + public EReference getModes3ModelRoot_Turnouts() { + return (EReference)modes3ModelRootEClass.getEStructuralFeatures().get(3); + } + + /** + * + * + * @generated + */ + public EClass getTurnout() { + return turnoutEClass; + } + + /** + * + * + * @generated + */ + public EReference getTurnout_Straight() { + return (EReference)turnoutEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EReference getTurnout_Divergent() { + return (EReference)turnoutEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EClass getTrain() { + return trainEClass; + } + + /** + * + * + * @generated + */ + public EReference getTrain_Location() { + return (EReference)trainEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EAttribute getTrain_Id() { + return (EAttribute)trainEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EAttribute getTrain_Speed() { + return (EAttribute)trainEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + public Modes3Factory getModes3Factory() { + return (Modes3Factory)getEFactoryInstance(); + } + + /** + * + * + * @generated + */ + private boolean isCreated = false; + + /** + * Creates the meta-model objects for the package. This method is + * guarded to have no affect on any invocation but its first. + * + * + * @generated + */ + public void createPackageContents() { + if (isCreated) return; + isCreated = true; + + // Create classes and their features + segmentEClass = createEClass(SEGMENT); + createEReference(segmentEClass, SEGMENT__CONNECTED_TO); + createEReference(segmentEClass, SEGMENT__OCCUPIED_BY); + createEAttribute(segmentEClass, SEGMENT__ID); + + modes3ModelRootEClass = createEClass(MODES3_MODEL_ROOT); + createEAttribute(modes3ModelRootEClass, MODES3_MODEL_ROOT__ID); + createEReference(modes3ModelRootEClass, MODES3_MODEL_ROOT__TRAINS); + createEReference(modes3ModelRootEClass, MODES3_MODEL_ROOT__SEGMENTS); + createEReference(modes3ModelRootEClass, MODES3_MODEL_ROOT__TURNOUTS); + + turnoutEClass = createEClass(TURNOUT); + createEReference(turnoutEClass, TURNOUT__STRAIGHT); + createEReference(turnoutEClass, TURNOUT__DIVERGENT); + + trainEClass = createEClass(TRAIN); + createEReference(trainEClass, TRAIN__LOCATION); + createEAttribute(trainEClass, TRAIN__ID); + createEAttribute(trainEClass, TRAIN__SPEED); + } + + /** + * + * + * @generated + */ + private boolean isInitialized = false; + + /** + * Complete the initialization of the package and its meta-model. This + * method is guarded to have no affect on any invocation but its first. + * + * + * @generated + */ + public void initializePackageContents() { + if (isInitialized) return; + isInitialized = true; + + // Initialize package + setName(eNAME); + setNsPrefix(eNS_PREFIX); + setNsURI(eNS_URI); + + // Create type parameters + + // Set bounds for type parameters + + // Add supertypes to classes + turnoutEClass.getESuperTypes().add(this.getSegment()); + + // Initialize classes, features, and operations; add parameters + initEClass(segmentEClass, Segment.class, "Segment", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getSegment_ConnectedTo(), this.getSegment(), null, "connectedTo", null, 0, 2, Segment.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getSegment_OccupiedBy(), this.getTrain(), this.getTrain_Location(), "occupiedBy", null, 0, 1, Segment.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getSegment_Id(), ecorePackage.getEInt(), "id", null, 0, 1, Segment.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(modes3ModelRootEClass, Modes3ModelRoot.class, "Modes3ModelRoot", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getModes3ModelRoot_Id(), ecorePackage.getEInt(), "id", null, 0, 1, Modes3ModelRoot.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getModes3ModelRoot_Trains(), this.getTrain(), null, "trains", null, 0, -1, Modes3ModelRoot.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getModes3ModelRoot_Segments(), this.getSegment(), null, "segments", null, 0, -1, Modes3ModelRoot.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getModes3ModelRoot_Turnouts(), this.getTurnout(), null, "turnouts", null, 0, -1, Modes3ModelRoot.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(turnoutEClass, Turnout.class, "Turnout", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getTurnout_Straight(), this.getSegment(), null, "straight", null, 1, 1, Turnout.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getTurnout_Divergent(), this.getSegment(), null, "divergent", null, 1, 1, Turnout.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(trainEClass, Train.class, "Train", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getTrain_Location(), this.getSegment(), this.getSegment_OccupiedBy(), "location", null, 1, 1, Train.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getTrain_Id(), ecorePackage.getEInt(), "id", null, 0, 1, Train.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getTrain_Speed(), ecorePackage.getEDouble(), "speed", null, 0, 1, Train.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + // Create resource + createResource(eNS_URI); + } + +} //Modes3PackageImpl diff --git a/Domains/ca.mcgill.rtgmrt.example.modes3/ecore-gen/modes3/impl/SegmentImpl.java b/Domains/ca.mcgill.rtgmrt.example.modes3/ecore-gen/modes3/impl/SegmentImpl.java new file mode 100644 index 00000000..905bcec1 --- /dev/null +++ b/Domains/ca.mcgill.rtgmrt.example.modes3/ecore-gen/modes3/impl/SegmentImpl.java @@ -0,0 +1,319 @@ +/** + */ +package modes3.impl; + +import java.util.Collection; + +import modes3.Modes3Package; +import modes3.Segment; +import modes3.Train; + +import org.eclipse.emf.common.notify.Notification; +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.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +import org.eclipse.emf.ecore.util.EObjectResolvingEList; + +/** + * + * An implementation of the model object 'Segment'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link modes3.impl.SegmentImpl#getConnectedTo Connected To}
    • + *
    • {@link modes3.impl.SegmentImpl#getOccupiedBy Occupied By}
    • + *
    • {@link modes3.impl.SegmentImpl#getId Id}
    • + *
    + * + * @generated + */ +public class SegmentImpl extends MinimalEObjectImpl.Container implements Segment { + /** + * The cached value of the '{@link #getConnectedTo() Connected To}' reference list. + * + * + * @see #getConnectedTo() + * @generated + * @ordered + */ + protected EList connectedTo; + + /** + * The cached value of the '{@link #getOccupiedBy() Occupied By}' reference. + * + * + * @see #getOccupiedBy() + * @generated + * @ordered + */ + protected Train occupiedBy; + + /** + * The default value of the '{@link #getId() Id}' attribute. + * + * + * @see #getId() + * @generated + * @ordered + */ + protected static final int ID_EDEFAULT = 0; + + /** + * The cached value of the '{@link #getId() Id}' attribute. + * + * + * @see #getId() + * @generated + * @ordered + */ + protected int id = ID_EDEFAULT; + + /** + * + * + * @generated + */ + protected SegmentImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return Modes3Package.Literals.SEGMENT; + } + + /** + * + * + * @generated + */ + public EList getConnectedTo() { + if (connectedTo == null) { + connectedTo = new EObjectResolvingEList(Segment.class, this, Modes3Package.SEGMENT__CONNECTED_TO); + } + return connectedTo; + } + + /** + * + * + * @generated + */ + public Train getOccupiedBy() { + if (occupiedBy != null && occupiedBy.eIsProxy()) { + InternalEObject oldOccupiedBy = (InternalEObject)occupiedBy; + occupiedBy = (Train)eResolveProxy(oldOccupiedBy); + if (occupiedBy != oldOccupiedBy) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, Modes3Package.SEGMENT__OCCUPIED_BY, oldOccupiedBy, occupiedBy)); + } + } + return occupiedBy; + } + + /** + * + * + * @generated + */ + public Train basicGetOccupiedBy() { + return occupiedBy; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetOccupiedBy(Train newOccupiedBy, NotificationChain msgs) { + Train oldOccupiedBy = occupiedBy; + occupiedBy = newOccupiedBy; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Modes3Package.SEGMENT__OCCUPIED_BY, oldOccupiedBy, newOccupiedBy); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + public void setOccupiedBy(Train newOccupiedBy) { + if (newOccupiedBy != occupiedBy) { + NotificationChain msgs = null; + if (occupiedBy != null) + msgs = ((InternalEObject)occupiedBy).eInverseRemove(this, Modes3Package.TRAIN__LOCATION, Train.class, msgs); + if (newOccupiedBy != null) + msgs = ((InternalEObject)newOccupiedBy).eInverseAdd(this, Modes3Package.TRAIN__LOCATION, Train.class, msgs); + msgs = basicSetOccupiedBy(newOccupiedBy, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, Modes3Package.SEGMENT__OCCUPIED_BY, newOccupiedBy, newOccupiedBy)); + } + + /** + * + * + * @generated + */ + public int getId() { + return id; + } + + /** + * + * + * @generated + */ + public void setId(int newId) { + int oldId = id; + id = newId; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, Modes3Package.SEGMENT__ID, oldId, id)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case Modes3Package.SEGMENT__OCCUPIED_BY: + if (occupiedBy != null) + msgs = ((InternalEObject)occupiedBy).eInverseRemove(this, Modes3Package.TRAIN__LOCATION, Train.class, msgs); + return basicSetOccupiedBy((Train)otherEnd, msgs); + } + return super.eInverseAdd(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case Modes3Package.SEGMENT__OCCUPIED_BY: + return basicSetOccupiedBy(null, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case Modes3Package.SEGMENT__CONNECTED_TO: + return getConnectedTo(); + case Modes3Package.SEGMENT__OCCUPIED_BY: + if (resolve) return getOccupiedBy(); + return basicGetOccupiedBy(); + case Modes3Package.SEGMENT__ID: + return getId(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case Modes3Package.SEGMENT__CONNECTED_TO: + getConnectedTo().clear(); + getConnectedTo().addAll((Collection)newValue); + return; + case Modes3Package.SEGMENT__OCCUPIED_BY: + setOccupiedBy((Train)newValue); + return; + case Modes3Package.SEGMENT__ID: + setId((Integer)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case Modes3Package.SEGMENT__CONNECTED_TO: + getConnectedTo().clear(); + return; + case Modes3Package.SEGMENT__OCCUPIED_BY: + setOccupiedBy((Train)null); + return; + case Modes3Package.SEGMENT__ID: + setId(ID_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case Modes3Package.SEGMENT__CONNECTED_TO: + return connectedTo != null && !connectedTo.isEmpty(); + case Modes3Package.SEGMENT__OCCUPIED_BY: + return occupiedBy != null; + case Modes3Package.SEGMENT__ID: + return id != ID_EDEFAULT; + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuilder result = new StringBuilder(super.toString()); + result.append(" (id: "); + result.append(id); + result.append(')'); + return result.toString(); + } + +} //SegmentImpl diff --git a/Domains/ca.mcgill.rtgmrt.example.modes3/ecore-gen/modes3/impl/TrainImpl.java b/Domains/ca.mcgill.rtgmrt.example.modes3/ecore-gen/modes3/impl/TrainImpl.java new file mode 100644 index 00000000..f096dca8 --- /dev/null +++ b/Domains/ca.mcgill.rtgmrt.example.modes3/ecore-gen/modes3/impl/TrainImpl.java @@ -0,0 +1,332 @@ +/** + */ +package modes3.impl; + +import modes3.Modes3Package; +import modes3.Segment; +import modes3.Train; + +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 'Train'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link modes3.impl.TrainImpl#getLocation Location}
    • + *
    • {@link modes3.impl.TrainImpl#getId Id}
    • + *
    • {@link modes3.impl.TrainImpl#getSpeed Speed}
    • + *
    + * + * @generated + */ +public class TrainImpl extends MinimalEObjectImpl.Container implements Train { + /** + * The cached value of the '{@link #getLocation() Location}' reference. + * + * + * @see #getLocation() + * @generated + * @ordered + */ + protected Segment location; + + /** + * The default value of the '{@link #getId() Id}' attribute. + * + * + * @see #getId() + * @generated + * @ordered + */ + protected static final int ID_EDEFAULT = 0; + + /** + * The cached value of the '{@link #getId() Id}' attribute. + * + * + * @see #getId() + * @generated + * @ordered + */ + protected int id = ID_EDEFAULT; + + /** + * The default value of the '{@link #getSpeed() Speed}' attribute. + * + * + * @see #getSpeed() + * @generated + * @ordered + */ + protected static final double SPEED_EDEFAULT = 0.0; + + /** + * The cached value of the '{@link #getSpeed() Speed}' attribute. + * + * + * @see #getSpeed() + * @generated + * @ordered + */ + protected double speed = SPEED_EDEFAULT; + + /** + * + * + * @generated + */ + protected TrainImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return Modes3Package.Literals.TRAIN; + } + + /** + * + * + * @generated + */ + public Segment getLocation() { + if (location != null && location.eIsProxy()) { + InternalEObject oldLocation = (InternalEObject)location; + location = (Segment)eResolveProxy(oldLocation); + if (location != oldLocation) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, Modes3Package.TRAIN__LOCATION, oldLocation, location)); + } + } + return location; + } + + /** + * + * + * @generated + */ + public Segment basicGetLocation() { + return location; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetLocation(Segment newLocation, NotificationChain msgs) { + Segment oldLocation = location; + location = newLocation; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Modes3Package.TRAIN__LOCATION, oldLocation, newLocation); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + public void setLocation(Segment newLocation) { + if (newLocation != location) { + NotificationChain msgs = null; + if (location != null) + msgs = ((InternalEObject)location).eInverseRemove(this, Modes3Package.SEGMENT__OCCUPIED_BY, Segment.class, msgs); + if (newLocation != null) + msgs = ((InternalEObject)newLocation).eInverseAdd(this, Modes3Package.SEGMENT__OCCUPIED_BY, Segment.class, msgs); + msgs = basicSetLocation(newLocation, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, Modes3Package.TRAIN__LOCATION, newLocation, newLocation)); + } + + /** + * + * + * @generated + */ + public int getId() { + return id; + } + + /** + * + * + * @generated + */ + public void setId(int newId) { + int oldId = id; + id = newId; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, Modes3Package.TRAIN__ID, oldId, id)); + } + + /** + * + * + * @generated + */ + public double getSpeed() { + return speed; + } + + /** + * + * + * @generated + */ + public void setSpeed(double newSpeed) { + double oldSpeed = speed; + speed = newSpeed; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, Modes3Package.TRAIN__SPEED, oldSpeed, speed)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case Modes3Package.TRAIN__LOCATION: + if (location != null) + msgs = ((InternalEObject)location).eInverseRemove(this, Modes3Package.SEGMENT__OCCUPIED_BY, Segment.class, msgs); + return basicSetLocation((Segment)otherEnd, msgs); + } + return super.eInverseAdd(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case Modes3Package.TRAIN__LOCATION: + return basicSetLocation(null, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case Modes3Package.TRAIN__LOCATION: + if (resolve) return getLocation(); + return basicGetLocation(); + case Modes3Package.TRAIN__ID: + return getId(); + case Modes3Package.TRAIN__SPEED: + return getSpeed(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case Modes3Package.TRAIN__LOCATION: + setLocation((Segment)newValue); + return; + case Modes3Package.TRAIN__ID: + setId((Integer)newValue); + return; + case Modes3Package.TRAIN__SPEED: + setSpeed((Double)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case Modes3Package.TRAIN__LOCATION: + setLocation((Segment)null); + return; + case Modes3Package.TRAIN__ID: + setId(ID_EDEFAULT); + return; + case Modes3Package.TRAIN__SPEED: + setSpeed(SPEED_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case Modes3Package.TRAIN__LOCATION: + return location != null; + case Modes3Package.TRAIN__ID: + return id != ID_EDEFAULT; + case Modes3Package.TRAIN__SPEED: + return speed != SPEED_EDEFAULT; + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuilder result = new StringBuilder(super.toString()); + result.append(" (id: "); + result.append(id); + result.append(", speed: "); + result.append(speed); + result.append(')'); + return result.toString(); + } + +} //TrainImpl diff --git a/Domains/ca.mcgill.rtgmrt.example.modes3/ecore-gen/modes3/impl/TurnoutImpl.java b/Domains/ca.mcgill.rtgmrt.example.modes3/ecore-gen/modes3/impl/TurnoutImpl.java new file mode 100644 index 00000000..d20a104e --- /dev/null +++ b/Domains/ca.mcgill.rtgmrt.example.modes3/ecore-gen/modes3/impl/TurnoutImpl.java @@ -0,0 +1,216 @@ +/** + */ +package modes3.impl; + +import modes3.Modes3Package; +import modes3.Segment; +import modes3.Turnout; + +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 'Turnout'. + * + *

    + * The following features are implemented: + *

    + *
      + *
    • {@link modes3.impl.TurnoutImpl#getStraight Straight}
    • + *
    • {@link modes3.impl.TurnoutImpl#getDivergent Divergent}
    • + *
    + * + * @generated + */ +public class TurnoutImpl extends SegmentImpl implements Turnout { + /** + * The cached value of the '{@link #getStraight() Straight}' reference. + * + * + * @see #getStraight() + * @generated + * @ordered + */ + protected Segment straight; + + /** + * The cached value of the '{@link #getDivergent() Divergent}' reference. + * + * + * @see #getDivergent() + * @generated + * @ordered + */ + protected Segment divergent; + + /** + * + * + * @generated + */ + protected TurnoutImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return Modes3Package.Literals.TURNOUT; + } + + /** + * + * + * @generated + */ + public Segment getStraight() { + if (straight != null && straight.eIsProxy()) { + InternalEObject oldStraight = (InternalEObject)straight; + straight = (Segment)eResolveProxy(oldStraight); + if (straight != oldStraight) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, Modes3Package.TURNOUT__STRAIGHT, oldStraight, straight)); + } + } + return straight; + } + + /** + * + * + * @generated + */ + public Segment basicGetStraight() { + return straight; + } + + /** + * + * + * @generated + */ + public void setStraight(Segment newStraight) { + Segment oldStraight = straight; + straight = newStraight; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, Modes3Package.TURNOUT__STRAIGHT, oldStraight, straight)); + } + + /** + * + * + * @generated + */ + public Segment getDivergent() { + if (divergent != null && divergent.eIsProxy()) { + InternalEObject oldDivergent = (InternalEObject)divergent; + divergent = (Segment)eResolveProxy(oldDivergent); + if (divergent != oldDivergent) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, Modes3Package.TURNOUT__DIVERGENT, oldDivergent, divergent)); + } + } + return divergent; + } + + /** + * + * + * @generated + */ + public Segment basicGetDivergent() { + return divergent; + } + + /** + * + * + * @generated + */ + public void setDivergent(Segment newDivergent) { + Segment oldDivergent = divergent; + divergent = newDivergent; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, Modes3Package.TURNOUT__DIVERGENT, oldDivergent, divergent)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case Modes3Package.TURNOUT__STRAIGHT: + if (resolve) return getStraight(); + return basicGetStraight(); + case Modes3Package.TURNOUT__DIVERGENT: + if (resolve) return getDivergent(); + return basicGetDivergent(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case Modes3Package.TURNOUT__STRAIGHT: + setStraight((Segment)newValue); + return; + case Modes3Package.TURNOUT__DIVERGENT: + setDivergent((Segment)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case Modes3Package.TURNOUT__STRAIGHT: + setStraight((Segment)null); + return; + case Modes3Package.TURNOUT__DIVERGENT: + setDivergent((Segment)null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case Modes3Package.TURNOUT__STRAIGHT: + return straight != null; + case Modes3Package.TURNOUT__DIVERGENT: + return divergent != null; + } + return super.eIsSet(featureID); + } + +} //TurnoutImpl diff --git a/Domains/ca.mcgill.rtgmrt.example.modes3/ecore-gen/modes3/util/Modes3AdapterFactory.java b/Domains/ca.mcgill.rtgmrt.example.modes3/ecore-gen/modes3/util/Modes3AdapterFactory.java new file mode 100644 index 00000000..86568e9d --- /dev/null +++ b/Domains/ca.mcgill.rtgmrt.example.modes3/ecore-gen/modes3/util/Modes3AdapterFactory.java @@ -0,0 +1,174 @@ +/** + */ +package modes3.util; + +import modes3.*; + +import org.eclipse.emf.common.notify.Adapter; +import org.eclipse.emf.common.notify.Notifier; + +import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl; + +import org.eclipse.emf.ecore.EObject; + +/** + * + * The Adapter Factory for the model. + * It provides an adapter createXXX method for each class of the model. + * + * @see modes3.Modes3Package + * @generated + */ +public class Modes3AdapterFactory extends AdapterFactoryImpl { + /** + * The cached model package. + * + * + * @generated + */ + protected static Modes3Package modelPackage; + + /** + * Creates an instance of the adapter factory. + * + * + * @generated + */ + public Modes3AdapterFactory() { + if (modelPackage == null) { + modelPackage = Modes3Package.eINSTANCE; + } + } + + /** + * Returns whether this factory is applicable for the type of the object. + * + * This implementation returns true if the object is either the model's package or is an instance object of the model. + * + * @return whether this factory is applicable for the type of the object. + * @generated + */ + @Override + public boolean isFactoryForType(Object object) { + if (object == modelPackage) { + return true; + } + if (object instanceof EObject) { + return ((EObject)object).eClass().getEPackage() == modelPackage; + } + return false; + } + + /** + * The switch that delegates to the createXXX methods. + * + * + * @generated + */ + protected Modes3Switch modelSwitch = + new Modes3Switch() { + @Override + public Adapter caseSegment(Segment object) { + return createSegmentAdapter(); + } + @Override + public Adapter caseModes3ModelRoot(Modes3ModelRoot object) { + return createModes3ModelRootAdapter(); + } + @Override + public Adapter caseTurnout(Turnout object) { + return createTurnoutAdapter(); + } + @Override + public Adapter caseTrain(Train object) { + return createTrainAdapter(); + } + @Override + public Adapter defaultCase(EObject object) { + return createEObjectAdapter(); + } + }; + + /** + * Creates an adapter for the target. + * + * + * @param target the object to adapt. + * @return the adapter for the target. + * @generated + */ + @Override + public Adapter createAdapter(Notifier target) { + return modelSwitch.doSwitch((EObject)target); + } + + + /** + * Creates a new adapter for an object of class '{@link modes3.Segment Segment}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see modes3.Segment + * @generated + */ + public Adapter createSegmentAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link modes3.Modes3ModelRoot Model Root}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see modes3.Modes3ModelRoot + * @generated + */ + public Adapter createModes3ModelRootAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link modes3.Turnout Turnout}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see modes3.Turnout + * @generated + */ + public Adapter createTurnoutAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link modes3.Train Train}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see modes3.Train + * @generated + */ + public Adapter createTrainAdapter() { + return null; + } + + /** + * Creates a new adapter for the default case. + * + * This default implementation returns null. + * + * @return the new adapter. + * @generated + */ + public Adapter createEObjectAdapter() { + return null; + } + +} //Modes3AdapterFactory diff --git a/Domains/ca.mcgill.rtgmrt.example.modes3/ecore-gen/modes3/util/Modes3Switch.java b/Domains/ca.mcgill.rtgmrt.example.modes3/ecore-gen/modes3/util/Modes3Switch.java new file mode 100644 index 00000000..5dab272b --- /dev/null +++ b/Domains/ca.mcgill.rtgmrt.example.modes3/ecore-gen/modes3/util/Modes3Switch.java @@ -0,0 +1,174 @@ +/** + */ +package modes3.util; + +import modes3.*; + +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.EPackage; + +import org.eclipse.emf.ecore.util.Switch; + +/** + * + * The Switch for the model's inheritance hierarchy. + * It supports the call {@link #doSwitch(EObject) doSwitch(object)} + * to invoke the caseXXX method for each class of the model, + * starting with the actual class of the object + * and proceeding up the inheritance hierarchy + * until a non-null result is returned, + * which is the result of the switch. + * + * @see modes3.Modes3Package + * @generated + */ +public class Modes3Switch extends Switch { + /** + * The cached model package + * + * + * @generated + */ + protected static Modes3Package modelPackage; + + /** + * Creates an instance of the switch. + * + * + * @generated + */ + public Modes3Switch() { + if (modelPackage == null) { + modelPackage = Modes3Package.eINSTANCE; + } + } + + /** + * Checks whether this is a switch for the given package. + * + * + * @param ePackage the package in question. + * @return whether this is a switch for the given package. + * @generated + */ + @Override + protected boolean isSwitchFor(EPackage ePackage) { + return ePackage == modelPackage; + } + + /** + * Calls caseXXX for each class of the model until one returns a non null result; it yields that result. + * + * + * @return the first non-null result returned by a caseXXX call. + * @generated + */ + @Override + protected T doSwitch(int classifierID, EObject theEObject) { + switch (classifierID) { + case Modes3Package.SEGMENT: { + Segment segment = (Segment)theEObject; + T result = caseSegment(segment); + if (result == null) result = defaultCase(theEObject); + return result; + } + case Modes3Package.MODES3_MODEL_ROOT: { + Modes3ModelRoot modes3ModelRoot = (Modes3ModelRoot)theEObject; + T result = caseModes3ModelRoot(modes3ModelRoot); + if (result == null) result = defaultCase(theEObject); + return result; + } + case Modes3Package.TURNOUT: { + Turnout turnout = (Turnout)theEObject; + T result = caseTurnout(turnout); + if (result == null) result = caseSegment(turnout); + if (result == null) result = defaultCase(theEObject); + return result; + } + case Modes3Package.TRAIN: { + Train train = (Train)theEObject; + T result = caseTrain(train); + if (result == null) result = defaultCase(theEObject); + return result; + } + default: return defaultCase(theEObject); + } + } + + /** + * Returns the result of interpreting the object as an instance of 'Segment'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Segment'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseSegment(Segment object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Model Root'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Model Root'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseModes3ModelRoot(Modes3ModelRoot object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Turnout'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Turnout'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseTurnout(Turnout object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Train'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Train'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseTrain(Train object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'EObject'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch, but this is the last case anyway. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'EObject'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) + * @generated + */ + @Override + public T defaultCase(EObject object) { + return null; + } + +} //Modes3Switch diff --git a/Domains/ca.mcgill.rtgmrt.example.modes3/model/modes3.aird_deactivated b/Domains/ca.mcgill.rtgmrt.example.modes3/model/modes3.aird_deactivated new file mode 100644 index 00000000..f5400732 --- /dev/null +++ b/Domains/ca.mcgill.rtgmrt.example.modes3/model/modes3.aird_deactivated @@ -0,0 +1,1531 @@ + + + + http://www.eclipse.org/emf/2002/Ecore + modes3.ecore + modes3.genmodel + ../src/modes3/queries/Modes3Queries.vql + java:/Objects/org.eclipse.viatra.query.runtime.api.impl.BasePatternMatch + java:/Objects/java.lang.Object + java:/Objects/jdk.internal.HotSpotIntrinsicCandidate + java:/Objects/java.lang.annotation.Target + java:/Objects/java.lang.annotation.ElementType + java:/Objects/java.lang.Enum + java:/Objects/java.lang.Comparable + java:/Primitives + java:/Objects/java.lang.CloneNotSupportedException + java:/Objects/java.lang.Exception + java:/Objects/java.lang.Throwable + java:/Objects/java.io.Serializable + java:/Objects/java.lang.Deprecated + java:/Objects/java.lang.annotation.Retention + java:/Objects/java.lang.annotation.RetentionPolicy + java:/Objects/java.lang.String + java:/Objects/java.lang.CharSequence + java:/Objects/java.util.stream.IntStream + java:/Objects/java.util.stream.BaseStream + java:/Objects/java.lang.AutoCloseable + java:/Objects/java.lang.Class + java:/Objects/java.lang.reflect.GenericDeclaration + java:/Objects/java.lang.reflect.AnnotatedElement + java:/Objects/java.lang.annotation.Annotation + java:/Objects/java.lang.InterruptedException + java:/Objects/java.lang.StackTraceElement + java:/Objects/java.lang.Module + java:/Objects/java.lang.WeakPairMap + java:/Objects/java.lang.ref.ReferenceQueue + java:/Objects/java.lang.ref.Reference + java:/Objects/java.lang.Thread + java:/Objects/java.lang.Runnable + java:/Objects/java.lang.FunctionalInterface + java:/Objects/java.lang.annotation.Documented + java:/Objects/java.io.ObjectInputStream + java:/Objects/java.io.InputStream + java:/Objects/java.io.Closeable + java:/Objects/java.io.IOException + java:/Objects/java.util.Comparator + java:/Objects/java.util.function.Function + java:/Objects/java.lang.ClassNotFoundException + java:/Objects/java.lang.ReflectiveOperationException + java:/Objects/java.lang.StringBuffer + java:/Objects/java.lang.AbstractStringBuilder + java:/Objects/java.lang.Appendable + java:/Objects/java.io.ObjectStreamException + java:/Objects/java.io.PrintStream + java:/Objects/java.io.FilterOutputStream + java:/Objects/java.io.OutputStream + java:/Objects/java.io.Flushable + java:/Objects/java.io.ObjectInput + java:/Objects/java.io.DataInput + java:/Objects/java.io.ObjectStreamConstants + java:/Objects/java.io.SerializablePermission + java:/Objects/java.security.BasicPermission + java:/Objects/java.security.Permission + java:/Objects/java.security.Guard + java:/Objects/java.lang.SecurityException + java:/Objects/java.lang.RuntimeException + java:/Objects/java.lang.StringBuilder + java:/Objects/java.io.ObjectOutputStream + java:/Objects/java.io.ObjectOutput + java:/Objects/java.io.DataOutput + java:/Objects/java.io.DataInputStream + java:/Objects/java.io.FilterInputStream + java:/Objects/java.util.concurrent.ConcurrentMap + java:/Objects/java.util.Map + java:/Objects/java.util.function.BiFunction + java:/Objects/java.io.PrintWriter + java:/Objects/java.io.Writer + java:/Objects/java.io.ObjectStreamClass + java:/Objects/java.io.InvalidClassException + java:/Objects/java.util.Set + java:/Objects/java.util.Collection + java:/Objects/java.lang.Iterable + java:/Objects/java.util.function.Consumer + java:/Objects/java.util.List + java:/Objects/java.util.Iterator + java:/Objects/java.lang.Boolean + java:/Objects/java.lang.StackFrameInfo + java:/Objects/java.lang.StackWalker + java:/Objects/java.lang.invoke.MethodType + java:/Objects/java.lang.ref.WeakReference + java:/Objects/java.lang.ThreadGroup + java:/Objects/java.lang.Void + java:/Objects/java.io.ObjectInputFilter + java:/Objects/java.lang.IllegalArgumentException + java:/Objects/java.io.UnsupportedEncodingException + java:/Objects/java.lang.reflect.Type + java:/Objects/java.lang.System + java:/Objects/java.util.function.Supplier + java:/Objects/java.lang.ClassLoader + java:/Objects/java.util.Deque + java:/Objects/java.util.Queue + java:/Objects/java.util.stream.Stream + java:/Objects/java.util.function.Predicate + java:/Objects/java.lang.module.ModuleDescriptor + java:/Objects/java.util.Optional + java:/Objects/java.io.ObjectInputValidation + java:/Objects/java.io.InvalidObjectException + java:/Objects/sun.reflect.annotation.AnnotationType + java:/Objects/java.lang.reflect.Method + java:/Objects/java.lang.reflect.Executable + java:/Objects/java.lang.reflect.AccessibleObject + java:/Objects/jdk.internal.reflect.CallerSensitive + java:/Objects/java.lang.ModuleLayer + java:/Objects/java.lang.module.Configuration + java:/Objects/java.lang.module.Resolver + java:/Objects/java.lang.module.ModuleFinder + java:/Objects/java.lang.module.ModuleReference + java:/Objects/java.net.URI + java:/Objects/java.net.URISyntaxException + java:/Objects/java.lang.ref.SoftReference + java:/Objects/jdk.internal.vm.annotation.ForceInline + java:/Objects/java.lang.module.ResolvedModule + java:/Objects/java.security.AccessControlContext + java:/Objects/java.security.ProtectionDomain + java:/Objects/sun.security.util.Debug + java:/Objects/java.math.BigInteger + java:/Objects/java.lang.Number + java:/Objects/java.io.StreamCorruptedException + java:/Objects/jdk.internal.misc.Unsafe + java:/Objects/java.lang.InstantiationException + java:/Objects/java.lang.reflect.Constructor + java:/Objects/jdk.internal.reflect.ConstructorAccessor + java:/Objects/java.lang.reflect.InvocationTargetException + java:/Objects/java.lang.reflect.Field + java:/Objects/java.lang.reflect.Member + java:/Objects/java.io.Externalizable + java:/Objects/java.io.NotActiveException + java:/Objects/java.lang.SecurityManager + java:/Objects/java.net.InetAddress + java:/Objects/java.net.UnknownHostException + java:/Objects/java.lang.reflect.AnnotatedType + java:/Objects/java.io.SerialCallbackContext + java:/Objects/java.security.PermissionCollection + java:/Objects/java.util.Enumeration + java:/Objects/java.util.stream.Collector + java:/Objects/java.util.function.BiConsumer + java:/Objects/java.util.concurrent.ConcurrentHashMap + java:/Objects/java.util.AbstractMap + java:/Objects/java.util.stream.DoubleStream + java:/Objects/java.lang.Double + java:/Objects/java.lang.NumberFormatException + java:/Objects/jdk.internal.reflect.ConstantPool + java:/Objects/sun.nio.ch.Interruptible + java:/Objects/java.util.stream.LongStream + java:/Objects/java.lang.Long + java:/Objects/java.lang.ThreadLocal + java:/Objects/java.util.concurrent.atomic.AtomicInteger + java:/Objects/java.util.function.IntBinaryOperator + java:/Objects/jdk.internal.vm.annotation.Contended + java:/Objects/java.security.DomainCombiner + java:/Objects/java.util.function.UnaryOperator + java:/Objects/java.security.AccessControlException + java:/Objects/java.lang.NoSuchMethodException + java:/Objects/java.lang.NoSuchFieldException + java:/Objects/sun.reflect.generics.factory.GenericsFactory + java:/Objects/java.lang.reflect.TypeVariable + java:/Objects/java.util.function.ToDoubleFunction + java:/Objects/jdk.internal.misc.JavaSecurityAccess + java:/Objects/java.security.PrivilegedAction + java:/Objects/java.util.function.ToIntFunction + java:/Objects/java.security.CodeSource + java:/Objects/java.net.URL + java:/Objects/java.net.URLStreamHandlerFactory + java:/Objects/java.net.URLStreamHandler + java:/Objects/java.net.URLConnection + java:/Objects/java.net.UnknownServiceException + java:/Objects/sun.reflect.generics.repository.ClassRepository + java:/Objects/sun.reflect.generics.repository.GenericDeclRepository + java:/Objects/sun.reflect.generics.repository.AbstractRepository + java:/Objects/sun.reflect.generics.visitor.Reifier + java:/Objects/sun.reflect.generics.visitor.TypeTreeVisitor + java:/Objects/sun.reflect.generics.tree.ArrayTypeSignature + java:/Objects/sun.reflect.generics.tree.FieldTypeSignature + java:/Objects/sun.reflect.generics.tree.BaseType + java:/Objects/sun.reflect.generics.tree.TypeSignature + java:/Objects/sun.reflect.generics.tree.ReturnType + java:/Objects/sun.reflect.generics.tree.TypeTree + java:/Objects/sun.reflect.generics.tree.Tree + java:/Objects/java.util.function.ToLongFunction + java:/Objects/java.security.Principal + java:/Objects/javax.security.auth.Subject + java:/Objects/javax.security.auth.AuthPermission + java:/Objects/java.security.cert.Certificate + java:/Objects/java.security.cert.CertificateEncodingException + java:/Objects/java.security.cert.CertificateException + java:/Objects/java.security.GeneralSecurityException + java:/Objects/java.nio.charset.Charset + java:/Objects/java.nio.charset.spi.CharsetProvider + java:/Objects/java.lang.SafeVarargs + java:/Objects/java.security.CodeSigner + java:/Objects/java.security.cert.CertPath + java:/Objects/java.util.function.BinaryOperator + java:/Objects/java.security.cert.CertificateFactory + java:/Objects/java.security.cert.CertificateFactorySpi + java:/Objects/java.security.cert.CRLException + java:/Objects/java.util.Locale + java:/Objects/java.lang.Cloneable + java:/Objects/java.util.function.IntFunction + java:/Objects/java.net.SocketPermission + java:/Objects/java.net.MalformedURLException + java:/Objects/java.lang.PublicMethods + java:/Objects/jdk.internal.reflect.ReflectionFactory + java:/Objects/java.lang.invoke.MethodHandle + java:/Objects/java.lang.invoke.LambdaForm + java:/Objects/sun.invoke.util.Wrapper + java:/Objects/java.lang.ClassCastException + java:/Objects/java.lang.Package + java:/Objects/java.lang.NamedPackage + java:/Objects/java.util.Spliterator + java:/Objects/java.util.function.DoubleConsumer + java:/Objects/java.net.Proxy + java:/Objects/java.net.SocketAddress + java:/Objects/java.lang.Integer + java:/Objects/java.net.spi.URLStreamHandlerProvider + java:/Objects/java.util.function.IntConsumer + java:/Objects/java.util.Hashtable + java:/Objects/java.util.Dictionary + java:/Objects/java.util.function.LongConsumer + java:/Objects/java.io.ObjectStreamField + java:/Objects/java.util.Random + java:/Objects/java.util.concurrent.atomic.AtomicLong + java:/Objects/java.util.function.LongBinaryOperator + java:/Objects/java.net.UrlDeserializedState + java:/Objects/java.util.function.LongUnaryOperator + java:/Objects/java.io.FileDescriptor + java:/Objects/jdk.internal.ref.PhantomCleanable + java:/Objects/java.lang.ref.PhantomReference + java:/Objects/java.io.DataOutputStream + java:/Objects/java.util.ListIterator + java:/Objects/java.io.SyncFailedException + java:/Objects/java.lang.IllegalAccessException + java:/Objects/java.lang.ClassValue + java:/Objects/java.util.WeakHashMap + java:/Objects/java.util.AbstractSet + java:/Objects/java.util.AbstractCollection + java:/Objects/jdk.internal.reflect.FieldAccessor + java:/Objects/sun.reflect.generics.repository.FieldRepository + java:/Objects/jdk.internal.reflect.MethodAccessor + java:/Objects/jdk.internal.reflect.LangReflectAccess + java:/Objects/java.util.function.DoublePredicate + java:/Objects/java.lang.ref.Cleaner + java:/Objects/java.util.concurrent.ThreadFactory + java:/Objects/java.io.OptionalDataException + java:/Objects/java.util.OptionalDouble + java:/Objects/java.util.function.DoubleSupplier + java:/Objects/jdk.internal.ref.CleanerImpl + java:/Objects/jdk.internal.ref.SoftCleanable + java:/Objects/sun.reflect.generics.repository.ConstructorRepository + java:/Objects/sun.reflect.generics.tree.MethodTypeSignature + java:/Objects/sun.reflect.generics.tree.Signature + java:/Objects/sun.reflect.generics.tree.FormalTypeParameter + java:/Objects/sun.reflect.generics.tree.TypeArgument + java:/Objects/sun.reflect.generics.tree.BooleanSignature + java:/Objects/sun.reflect.generics.tree.BottomSignature + java:/Objects/sun.reflect.generics.tree.ByteSignature + java:/Objects/sun.reflect.generics.tree.CharSignature + java:/Objects/sun.reflect.generics.tree.ClassTypeSignature + java:/Objects/sun.reflect.generics.tree.SimpleClassTypeSignature + java:/Objects/sun.reflect.generics.tree.DoubleSignature + java:/Objects/sun.reflect.generics.tree.FloatSignature + java:/Objects/sun.reflect.generics.tree.IntSignature + java:/Objects/sun.reflect.generics.tree.LongSignature + java:/Objects/sun.reflect.generics.tree.ShortSignature + java:/Objects/sun.reflect.generics.tree.TypeVariableSignature + java:/Objects/sun.reflect.generics.tree.VoidDescriptor + java:/Objects/sun.reflect.generics.tree.Wildcard + java:/Objects/sun.reflect.generics.visitor.Visitor + java:/Objects/sun.reflect.generics.tree.ClassSignature + java:/Objects/sun.reflect.generics.repository.MethodRepository + java:/Objects/jdk.internal.ref.WeakCleanable + java:/Objects/java.lang.invoke.BoundMethodHandle + java:/Objects/java.lang.invoke.ClassSpecializer + java:/Objects/jdk.internal.org.objectweb.asm.MethodVisitor + java:/Objects/jdk.internal.org.objectweb.asm.AnnotationVisitor + java:/Objects/java.lang.invoke.MemberName + java:/Objects/java.lang.invoke.ResolvedMethodName + java:/Objects/java.lang.invoke.MethodHandleImpl + java:/Objects/java.lang.invoke.DelegatingMethodHandle + java:/Objects/java.lang.reflect.Parameter + java:/Objects/java.lang.invoke.MethodTypeForm + java:/Objects/jdk.internal.vm.annotation.Stable + java:/Objects/java.util.function.IntUnaryOperator + java:/Objects/java.util.function.IntPredicate + java:/Objects/java.util.function.ObjIntConsumer + java:/Objects/java.util.OptionalInt + java:/Objects/java.util.function.IntSupplier + java:/Objects/java.util.PrimitiveIterator + java:/Objects/java.util.function.IntToDoubleFunction + java:/Objects/java.util.function.IntToLongFunction + java:/Objects/java.util.IntSummaryStatistics + java:/Objects/java.lang.TypeNotPresentException + java:/Objects/java.lang.UnsupportedOperationException + java:/Objects/java.io.FileNotFoundException + java:/Objects/java.util.function.ObjDoubleConsumer + java:/Objects/java.util.function.DoubleFunction + java:/Objects/java.util.function.DoubleUnaryOperator + java:/Objects/java.util.function.DoubleToIntFunction + java:/Objects/java.util.function.DoubleToLongFunction + java:/Objects/java.util.function.DoubleBinaryOperator + java:/Objects/java.util.DoubleSummaryStatistics + java:/Objects/java.lang.invoke.Invokers + java:/Objects/java.lang.invoke.VarHandle + java:/Objects/java.lang.invoke.VarForm + java:/Objects/java.lang.invoke.LambdaFormEditor + java:/Objects/java.lang.invoke.LambdaFormBuffer + java:/Objects/java.util.ArrayList + java:/Objects/java.util.AbstractList + java:/Objects/java.util.RandomAccess + java:/Objects/java.lang.IndexOutOfBoundsException + java:/Objects/java.util.function.LongPredicate + java:/Objects/java.util.function.ObjLongConsumer + java:/Objects/java.util.OptionalLong + java:/Objects/java.util.function.LongSupplier + java:/Objects/java.util.function.LongFunction + java:/Objects/java.util.function.LongToDoubleFunction + java:/Objects/java.util.function.LongToIntFunction + java:/Objects/java.util.LongSummaryStatistics + java:/Objects/java.util.concurrent.CountedCompleter + java:/Objects/java.util.concurrent.ForkJoinTask + java:/Objects/java.util.concurrent.Future + java:/Objects/java.util.concurrent.ExecutionException + java:/Objects/java.io.File + java:/Objects/java.security.SecureRandom + java:/Objects/java.util.regex.Pattern + java:/Objects/java.util.regex.Matcher + java:/Objects/java.util.regex.MatchResult + java:/Objects/java.util.function.ToDoubleBiFunction + java:/Objects/java.lang.invoke.CallSite + java:/Objects/java.lang.invoke.WrongMethodTypeException + java:/Objects/java.io.OutputStreamWriter + java:/Objects/java.nio.charset.CharsetEncoder + java:/Objects/java.nio.CharBuffer + java:/Objects/java.nio.Buffer + java:/Objects/java.util.function.ToIntBiFunction + java:/Objects/jdk.internal.vm.annotation.DontInline + java:/Objects/java.lang.ArrayIndexOutOfBoundsException + java:/Objects/java.lang.ClassFormatError + java:/Objects/java.lang.LinkageError + java:/Objects/java.lang.Error + java:/Objects/java.nio.ByteBuffer + java:/Objects/java.nio.DoubleBuffer + java:/Objects/java.nio.ByteOrder + java:/Objects/java.util.function.ToLongBiFunction + java:/Objects/java.lang.invoke.MethodHandleNatives + java:/Objects/java.lang.NoSuchMethodError + java:/Objects/java.lang.IncompatibleClassChangeError + java:/Objects/java.lang.AssertionStatusDirectives + java:/Objects/java.util.concurrent.atomic.AtomicReference + java:/Objects/java.util.concurrent.locks.ReentrantLock + java:/Objects/java.util.concurrent.locks.Lock + java:/Objects/java.util.concurrent.locks.Condition + java:/Objects/java.util.concurrent.TimeUnit + java:/Objects/java.time.Duration + java:/Objects/java.time.temporal.TemporalAmount + java:/Objects/java.time.temporal.Temporal + java:/Objects/java.time.temporal.TemporalAccessor + java:/Objects/java.time.temporal.TemporalField + java:/Objects/java.time.temporal.TemporalUnit + java:/Objects/java.util.concurrent.RunnableFuture + java:/Objects/jdk.internal.perf.PerfCounter + java:/Objects/java.nio.LongBuffer + java:/Objects/java.net.ContentHandler + java:/Objects/java.util.concurrent.Callable + java:/Objects/jdk.internal.misc.JavaLangInvokeAccess + java:/Objects/java.util.HashMap + java:/Objects/java.util.LinkedHashMap + java:/Objects/jdk.internal.perf.Perf + java:/Objects/java.util.concurrent.TimeoutException + java:/Objects/java.util.Vector + java:/Objects/java.nio.FloatBuffer + java:/Objects/java.net.FileNameMap + java:/Objects/java.util.concurrent.ForkJoinPool + java:/Objects/java.util.concurrent.AbstractExecutorService + java:/Objects/java.util.concurrent.ExecutorService + java:/Objects/java.util.concurrent.Executor + java:/Objects/java.time.temporal.ChronoUnit + java:/Objects/java.nio.IntBuffer + java:/Objects/java.net.ContentHandlerFactory + java:/Objects/java.math.BigDecimal + java:/Objects/java.math.MathContext + java:/Objects/java.math.RoundingMode + java:/Objects/java.nio.ShortBuffer + java:/Objects/sun.net.www.MessageHeader + java:/Objects/java.util.regex.PatternSyntaxException + java:/Objects/java.security.Timestamp + java:/Objects/java.util.Date + java:/Objects/java.time.Instant + java:/Objects/java.time.temporal.TemporalAdjuster + java:/Objects/java.lang.Readable + java:/Objects/java.util.regex.IntHashSet + java:/Objects/java.time.temporal.TemporalQuery + java:/Objects/jdk.internal.org.objectweb.asm.Attribute + java:/Objects/jdk.internal.org.objectweb.asm.ClassReader + java:/Objects/jdk.internal.org.objectweb.asm.ClassVisitor + java:/Objects/jdk.internal.org.objectweb.asm.FieldVisitor + java:/Objects/jdk.internal.org.objectweb.asm.TypePath + java:/Objects/java.time.temporal.ValueRange + java:/Objects/jdk.internal.org.objectweb.asm.Handle + java:/Objects/java.time.format.ResolverStyle + java:/Objects/jdk.internal.org.objectweb.asm.Label + java:/Objects/jdk.internal.org.objectweb.asm.MethodWriter + java:/Objects/jdk.internal.org.objectweb.asm.ClassWriter + java:/Objects/jdk.internal.org.objectweb.asm.Item + java:/Objects/sun.util.locale.InternalLocaleBuilder + java:/Objects/sun.util.locale.LocaleSyntaxException + java:/Objects/sun.util.calendar.BaseCalendar + java:/Objects/sun.util.calendar.AbstractCalendar + java:/Objects/sun.util.calendar.CalendarSystem + java:/Objects/sun.util.calendar.CalendarDate + java:/Objects/java.util.TimeZone + java:/Objects/java.time.ZoneId + java:/Objects/java.time.format.TextStyle + java:/Objects/jdk.internal.org.objectweb.asm.ByteVector + java:/Objects/sun.util.locale.LocaleObjectCache + java:/Objects/sun.util.locale.BaseLocale + java:/Objects/sun.util.locale.LocaleExtensions + java:/Objects/java.lang.Character + java:/Objects/jdk.internal.org.objectweb.asm.Context + java:/Objects/sun.util.locale.provider.LocaleServiceProviderPool + java:/Objects/java.util.spi.LocaleServiceProvider + java:/Objects/java.math.MutableBigInteger + java:/Objects/java.util.spi.LocaleNameProvider + java:/Objects/java.util.concurrent.ForkJoinWorkerThread + java:/Objects/java.util.ResourceBundle + java:/Objects/java.util.ServiceLoader + java:/Objects/jdk.internal.module.ServicesCatalog + java:/Objects/jdk.internal.loader.ClassLoaderValue + java:/Objects/jdk.internal.loader.AbstractClassLoaderValue + java:/Objects/java.lang.IllegalStateException + java:/Objects/java.util.Formatter + java:/Objects/java.util.Calendar + java:/Objects/java.text.DateFormatSymbols + java:/Objects/java.lang.RuntimePermission + java:/Objects/jdk.internal.org.objectweb.asm.ModuleVisitor + java:/Objects/sun.util.locale.provider.LocaleResources + java:/Objects/sun.util.locale.provider.ResourceBundleBasedAdapter + java:/Objects/sun.util.resources.LocaleData + java:/Objects/java.util.spi.ResourceBundleProvider + java:/Objects/jdk.internal.vm.annotation.ReservedStackAccess + java:/Objects/jdk.internal.org.objectweb.asm.AnnotationWriter + java:/Objects/jdk.internal.org.objectweb.asm.FieldWriter + java:/Objects/jdk.internal.org.objectweb.asm.ModuleWriter + java:/Objects/java.util.MissingResourceException + java:/Objects/java.io.BufferedWriter + java:/Objects/sun.util.locale.LanguageTag + java:/Objects/sun.util.locale.ParseStatus + java:/Objects/sun.util.locale.StringTokenIterator + java:/Objects/sun.util.locale.Extension + java:/Objects/java.util.SortedMap + java:/Objects/jdk.internal.org.objectweb.asm.Frame + java:/Objects/jdk.internal.org.objectweb.asm.Type + java:/Objects/sun.util.locale.provider.LocaleProviderAdapter + java:/Objects/sun.util.locale.provider.FallbackLocaleProviderAdapter + java:/Objects/sun.util.locale.provider.JRELocaleProviderAdapter + java:/Objects/java.text.spi.BreakIteratorProvider + java:/Objects/java.text.BreakIterator + java:/Objects/java.text.CharacterIterator + java:/Objects/sun.util.calendar.Era + java:/Objects/java.util.concurrent.locks.AbstractQueuedSynchronizer + java:/Objects/java.util.concurrent.locks.AbstractOwnableSynchronizer + java:/Objects/java.io.FilenameFilter + java:/Objects/jdk.internal.org.objectweb.asm.Handler + java:/Objects/sun.util.calendar.Gregorian + java:/Objects/java.time.ZoneOffset + java:/Objects/java.time.zone.ZoneRules + java:/Objects/java.time.zone.ZoneOffsetTransition + java:/Objects/java.time.LocalDateTime + java:/Objects/java.time.chrono.ChronoLocalDateTime + java:/Objects/java.time.chrono.ChronoZonedDateTime + java:/Objects/java.time.format.DateTimeFormatter + java:/Objects/java.text.Format + java:/Objects/java.text.AttributedCharacterIterator + java:/Objects/java.time.zone.ZoneOffsetTransitionRule + java:/Objects/java.time.Month + java:/Objects/jdk.internal.org.objectweb.asm.Edge + java:/Objects/java.time.DayOfWeek + java:/Objects/sun.invoke.empty.Empty + java:/Objects/java.time.LocalTime + java:/Objects/java.time.LocalDate + java:/Objects/java.time.chrono.ChronoLocalDate + java:/Objects/java.time.chrono.Chronology + java:/Objects/java.time.chrono.Era + java:/Objects/java.lang.InternalError + java:/Objects/java.lang.VirtualMachineError + java:/Objects/java.io.FileFilter + java:/Objects/java.lang.reflect.ParameterizedType + java:/Objects/java.time.OffsetTime + java:/Objects/java.time.OffsetDateTime + java:/Objects/java.time.ZonedDateTime + java:/Objects/java.time.Clock + java:/Objects/java.lang.reflect.WildcardType + java:/Objects/java.time.Period + java:/Objects/java.time.chrono.ChronoPeriod + java:/Objects/java.net.NetworkInterface + java:/Objects/java.net.SocketException + java:/Objects/java.util.spi.ResourceBundleControlProvider + java:/Objects/java.time.chrono.IsoChronology + java:/Objects/java.time.chrono.AbstractChronology + java:/Objects/java.time.temporal.ChronoField + java:/Objects/java.net.InetAddressImpl + java:/Objects/java.time.chrono.IsoEra + java:/Objects/java.util.NavigableSet + java:/Objects/java.util.SortedSet + java:/Objects/java.net.InterfaceAddress + java:/Objects/java.net.Inet4Address + java:/Objects/java.security.PublicKey + java:/Objects/java.security.Key + java:/Objects/java.text.FieldPosition + java:/Objects/java.text.ParseException + java:/Objects/java.util.ServiceConfigurationError + java:/Objects/java.nio.file.Path + java:/Objects/java.nio.file.Watchable + java:/Objects/java.nio.file.WatchService + java:/Objects/java.nio.file.WatchKey + java:/Objects/java.nio.file.WatchEvent + java:/Objects/java.text.ParsePosition + java:/Objects/java.time.format.DateTimeFormatterBuilder + java:/Objects/java.time.format.DateTimePrintContext + java:/Objects/java.time.format.DecimalStyle + java:/Objects/java.time.format.DateTimeParseException + java:/Objects/java.time.DateTimeException + java:/Objects/java.io.FileSystem + java:/Objects/java.time.format.FormatStyle + java:/Objects/java.security.NoSuchAlgorithmException + java:/Objects/java.security.SecureRandomSpi + java:/Objects/java.security.SecureRandomParameters + java:/Objects/java.time.format.DateTimeParseContext + java:/Objects/java.time.format.Parsed + java:/Objects/java.io.BufferedReader + java:/Objects/java.io.Reader + java:/Objects/java.time.format.SignStyle + java:/Objects/java.security.InvalidKeyException + java:/Objects/java.security.KeyException + java:/Objects/java.security.Provider + java:/Objects/java.util.Properties + java:/Objects/java.util.InvalidPropertiesFormatException + java:/Objects/java.io.NotSerializableException + java:/Objects/jdk.internal.misc.JavaLangAccess + java:/Objects/java.nio.charset.CharacterCodingException + java:/Objects/java.security.NoSuchProviderException + java:/Objects/java.lang.LayerInstantiationException + java:/Objects/java.security.MessageDigest + java:/Objects/java.security.MessageDigestSpi + java:/Objects/java.security.DigestException + java:/Objects/java.time.format.DateTimeTextProvider + java:/Objects/sun.security.util.MessageDigestSpi2 + java:/Objects/javax.crypto.SecretKey + java:/Objects/javax.security.auth.Destroyable + java:/Objects/javax.security.auth.DestroyFailedException + java:/Objects/jdk.internal.module.ModuleTarget + java:/Objects/java.nio.file.FileSystem + java:/Objects/java.nio.file.FileStore + java:/Objects/java.nio.file.attribute.FileStoreAttributeView + java:/Objects/java.nio.file.attribute.AttributeView + java:/Objects/java.nio.file.LinkOption + java:/Objects/java.nio.file.OpenOption + java:/Objects/java.nio.file.PathMatcher + java:/Objects/java.security.SignatureException + java:/Objects/java.nio.file.attribute.UserPrincipalLookupService + java:/Objects/java.nio.file.attribute.GroupPrincipal + java:/Objects/java.nio.file.attribute.UserPrincipal + java:/Objects/java.nio.file.spi.FileSystemProvider + java:/Objects/java.nio.file.AccessMode + java:/Objects/java.nio.charset.CharsetDecoder + java:/Objects/java.nio.charset.CoderResult + java:/Objects/java.nio.file.attribute.FileAttributeView + java:/Objects/java.util.LinkedList + java:/Objects/java.util.AbstractSequentialList + java:/Objects/sun.util.resources.Bundles + java:/Objects/jdk.internal.misc.JavaUtilResourceBundleAccess + java:/Objects/java.util.EnumSet + java:/Objects/java.security.cert.CRL + java:/Objects/java.security.PrivilegedExceptionAction + java:/Objects/java.security.PrivilegedActionException + java:/Objects/java.lang.module.ModuleReader + java:/Objects/java.nio.file.CopyOption + java:/Objects/java.nio.file.attribute.FileAttribute + java:/Objects/java.nio.channels.AsynchronousFileChannel + java:/Objects/java.nio.channels.AsynchronousChannel + java:/Objects/java.nio.channels.Channel + java:/Objects/java.nio.channels.SeekableByteChannel + java:/Objects/java.nio.channels.ByteChannel + java:/Objects/java.nio.channels.ReadableByteChannel + java:/Objects/java.nio.file.DirectoryStream + java:/Objects/sun.util.resources.OpenListResourceBundle + java:/Objects/java.nio.channels.FileChannel + java:/Objects/java.nio.channels.spi.AbstractInterruptibleChannel + java:/Objects/java.nio.channels.InterruptibleChannel + java:/Objects/java.nio.file.attribute.BasicFileAttributes + java:/Objects/java.nio.file.attribute.FileTime + java:/Objects/java.nio.channels.FileLock + java:/Objects/java.nio.channels.WritableByteChannel + java:/Objects/java.nio.channels.CompletionHandler + java:/Objects/java.nio.channels.GatheringByteChannel + java:/Objects/java.nio.channels.ScatteringByteChannel + java:/Objects/java.nio.MappedByteBuffer + java:/Objects/sun.util.resources.TimeZoneNamesBundle + java:/Objects/java.nio.channels.AsynchronousCloseException + java:/Objects/java.nio.channels.ClosedChannelException + java:/Objects/sun.nio.cs.StreamEncoder + java:/Objects/sun.util.resources.ParallelListResourceBundle + java:/Objects/java.util.concurrent.atomic.AtomicMarkableReference + java:/Objects/java.nio.charset.CodingErrorAction + java:/Objects/java.util.spi.CalendarDataProvider + java:/Objects/java.io.Console + java:/Objects/java.util.spi.CalendarNameProvider + java:/Objects/java.io.FileOutputStream + java:/Objects/jdk.internal.misc.JavaIOFileDescriptorAccess + java:/Objects/sun.util.spi.CalendarProvider + java:/Objects/java.text.spi.CollatorProvider + java:/Objects/java.text.Collator + java:/Objects/java.text.CollationKey + java:/Objects/java.util.spi.CurrencyNameProvider + java:/Objects/java.text.spi.DateFormatProvider + java:/Objects/java.text.DateFormat + java:/Objects/java.text.NumberFormat + java:/Objects/java.util.Currency + java:/Objects/java.util.HashSet + java:/Objects/java.text.spi.DateFormatSymbolsProvider + java:/Objects/java.text.spi.DecimalFormatSymbolsProvider + java:/Objects/java.text.DecimalFormatSymbols + java:/Objects/sun.text.spi.JavaTimeDateTimePatternProvider + java:/Objects/java.text.spi.NumberFormatProvider + java:/Objects/java.util.spi.TimeZoneNameProvider + java:/Objects/org.eclipse.viatra.query.runtime.api.IPatternMatch + java:/Objects/org.eclipse.viatra.query.runtime.api.IQuerySpecification + java:/Objects/org.eclipse.viatra.query.runtime.matchers.psystem.queries.PQueryHeader + java:/Objects/org.eclipse.viatra.query.runtime.matchers.psystem.annotations.PAnnotation + java:/Objects/org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameter + java:/Objects/org.eclipse.viatra.query.runtime.matchers.context.IInputKey + java:/Objects/org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameterDirection + java:/Objects/org.eclipse.viatra.query.runtime.matchers.psystem.queries.PVisibility + java:/Objects/org.eclipse.viatra.query.runtime.matchers.psystem.queries.PQuery + java:/Objects/org.eclipse.viatra.query.runtime.matchers.psystem.PTraceable + java:/Objects/org.eclipse.viatra.query.runtime.matchers.psystem.queries.PDisjunction + java:/Objects/org.eclipse.viatra.query.runtime.matchers.psystem.PBody + java:/Objects/org.eclipse.viatra.query.runtime.matchers.psystem.PVariable + java:/Objects/org.eclipse.viatra.query.runtime.matchers.psystem.PConstraint + java:/Objects/org.eclipse.viatra.query.runtime.matchers.context.IQueryMetaContext + java:/Objects/org.eclipse.viatra.query.runtime.matchers.context.InputKeyImplication + java:/Objects/org.eclipse.viatra.query.runtime.matchers.context.IPosetComparator + java:/Objects/org.eclipse.viatra.query.runtime.matchers.tuple.Tuple + java:/Objects/org.eclipse.viatra.query.runtime.matchers.tuple.AbstractTuple + java:/Objects/org.eclipse.viatra.query.runtime.matchers.tuple.ITuple + java:/Objects/org.eclipse.viatra.query.runtime.matchers.psystem.TypeJudgement + java:/Objects/org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.ExportedParameter + java:/Objects/org.eclipse.viatra.query.runtime.matchers.psystem.VariableDeferredPConstraint + java:/Objects/org.eclipse.viatra.query.runtime.matchers.psystem.DeferredPConstraint + java:/Objects/org.eclipse.viatra.query.runtime.matchers.psystem.BasePConstraint + java:/Objects/org.eclipse.viatra.query.runtime.matchers.backend.QueryEvaluationHint + java:/Objects/org.eclipse.viatra.query.runtime.matchers.backend.QueryHintOption + java:/Objects/org.eclipse.viatra.query.runtime.matchers.backend.IQueryBackendFactory + java:/Objects/org.eclipse.viatra.query.runtime.matchers.backend.IMatcherCapability + java:/Objects/org.eclipse.viatra.query.runtime.matchers.context.IQueryBackendContext + java:/Objects/org.eclipse.viatra.query.runtime.matchers.backend.IQueryBackendHintProvider + java:/Objects/org.eclipse.viatra.query.runtime.matchers.psystem.queries.PProblem + java:/Objects/org.eclipse.viatra.query.runtime.matchers.planning.QueryProcessingException + java:/Objects/org.eclipse.viatra.query.runtime.matchers.ViatraQueryRuntimeException + java:/Objects/org.eclipse.viatra.query.runtime.matchers.planning.SubPlan + java:/Objects/org.eclipse.viatra.query.runtime.matchers.planning.operations.POperation + java:/Objects/org.eclipse.viatra.query.runtime.matchers.backend.IQueryBackend + java:/Objects/org.eclipse.viatra.query.runtime.matchers.backend.IQueryResultProvider + java:/Objects/org.eclipse.viatra.query.runtime.matchers.backend.IUpdateable + java:/Objects/org.eclipse.viatra.query.runtime.matchers.tuple.TupleMask + java:/Objects/org.eclipse.viatra.query.runtime.matchers.tuple.IModifiableTuple + java:/Objects/org.eclipse.viatra.query.runtime.matchers.util.Accuracy + java:/Objects/org.apache.log4j.Logger + java:/Objects/org.apache.log4j.Category + java:/Objects/org.apache.log4j.spi.AppenderAttachable + java:/Objects/org.apache.log4j.Appender + java:/Objects/org.apache.log4j.spi.Filter + java:/Objects/org.apache.log4j.spi.OptionHandler + java:/Objects/org.apache.log4j.spi.LoggingEvent + java:/Objects/org.apache.log4j.Priority + java:/Objects/org.apache.log4j.Level + java:/Objects/org.apache.log4j.spi.ThrowableInformation + java:/Objects/org.apache.log4j.spi.LocationInfo + java:/Objects/java.io.StringWriter + java:/Objects/org.apache.log4j.spi.LoggerRepository + java:/Objects/org.apache.log4j.spi.HierarchyEventListener + java:/Objects/org.apache.log4j.helpers.AppenderAttachableImpl + java:/Objects/org.apache.log4j.spi.ErrorHandler + java:/Objects/org.apache.log4j.spi.LoggerFactory + java:/Objects/org.apache.log4j.Layout + java:/Objects/org.eclipse.viatra.query.runtime.matchers.psystem.analysis.QueryAnalyzer + java:/Objects/org.eclipse.viatra.query.runtime.matchers.context.IQueryCacheContext + java:/Objects/org.eclipse.viatra.query.runtime.matchers.context.IQueryResultProviderAccess + java:/Objects/org.eclipse.viatra.query.runtime.matchers.context.IQueryRuntimeContext + java:/Objects/org.eclipse.viatra.query.runtime.matchers.context.IQueryRuntimeContextListener + java:/Objects/org.eclipse.viatra.query.runtime.matchers.context.IndexingService + java:/Objects/org.eclipse.viatra.query.runtime.api.ViatraQueryEngine + java:/Objects/org.eclipse.viatra.query.runtime.api.scope.IBaseIndex + java:/Objects/org.eclipse.viatra.query.runtime.api.scope.ViatraBaseIndexChangeListener + java:/Objects/org.eclipse.viatra.query.runtime.api.scope.IIndexingErrorListener + java:/Objects/org.eclipse.viatra.query.runtime.api.scope.IInstanceObserver + java:/Objects/org.eclipse.viatra.query.runtime.api.ViatraQueryMatcher + java:/Objects/org.eclipse.viatra.query.runtime.api.scope.QueryScope + java:/Objects/org.eclipse.viatra.query.runtime.internal.apiimpl.EngineContextFactory + java:/Objects/org.eclipse.viatra.query.runtime.api.scope.IEngineContext + java:/Objects/org.eclipse.viatra.query.runtime.api.ViatraQueryEngineOptions + java:/Objects/org.eclipse.viatra.query.runtime.api.impl.BaseMatcher + java:/Objects/org.eclipse.viatra.query.runtime.internal.apiimpl.QueryResultWrapper + java:/Objects/org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFQuerySpecification + java:/Objects/org.eclipse.viatra.query.runtime.api.impl.BaseQuerySpecification + java:/Objects/java.lang.ExceptionInInitializerError + java:/Objects/org.eclipse.viatra.query.runtime.exception.ViatraQueryException + java:/Objects/org.eclipse.viatra.query.runtime.matchers.psystem.queries.QueryInitializationException + java:/Objects/org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedPatternGroup + java:/Objects/org.eclipse.viatra.query.runtime.api.impl.BaseQueryGroup + java:/Objects/org.eclipse.viatra.query.runtime.api.IQueryGroup + java:/Objects/org.eclipse.viatra.query.runtime.api.AdvancedViatraQueryEngine + java:/Objects/org.eclipse.viatra.query.runtime.api.ViatraQueryEngineLifecycleListener + java:/Objects/org.eclipse.viatra.query.runtime.api.IMatchUpdateListener + java:/Objects/org.eclipse.viatra.query.runtime.api.ViatraQueryModelUpdateListener + java:/Objects/java.lang.Override + java:/Objects/org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFPQuery + java:/Objects/org.eclipse.viatra.query.runtime.matchers.psystem.queries.BasePQuery + java:/Objects/org.eclipse.emf.ecore.EClassifier + java:/Objects/org.eclipse.emf.ecore.ENamedElement + java:/Objects/org.eclipse.emf.ecore.EModelElement + java:/Objects/org.eclipse.emf.ecore.EObject + java:/Objects/org.eclipse.emf.common.notify.Notifier + java:/Objects/org.eclipse.emf.common.util.EList + java:/Objects/org.eclipse.emf.common.notify.Adapter + java:/Objects/org.eclipse.emf.common.notify.Notification + java:/Objects/org.eclipse.emf.common.util.TreeIterator + java:/Objects/org.eclipse.emf.ecore.EClass + java:/Objects/org.eclipse.emf.ecore.EAttribute + java:/Objects/org.eclipse.emf.ecore.EStructuralFeature + java:/Objects/org.eclipse.emf.ecore.ETypedElement + java:/Objects/org.eclipse.emf.ecore.EGenericType + java:/Objects/org.eclipse.emf.ecore.ETypeParameter + java:/Objects/org.eclipse.emf.ecore.EAnnotation + java:/Objects/org.eclipse.emf.common.util.EMap + java:/Objects/org.eclipse.emf.ecore.EReference + java:/Objects/org.eclipse.emf.ecore.InternalEObject + java:/Objects/org.eclipse.emf.common.notify.NotificationChain + java:/Objects/org.eclipse.emf.ecore.resource.Resource + java:/Objects/org.eclipse.emf.common.util.URI + java:/Objects/org.eclipse.emf.common.util.Pool + java:/Objects/org.eclipse.emf.common.util.WeakInterningHashSet + java:/Objects/org.eclipse.emf.common.util.InterningSet + java:/Objects/java.util.concurrent.locks.ReentrantReadWriteLock + java:/Objects/java.util.concurrent.locks.ReadWriteLock + java:/Objects/java.lang.IllegalMonitorStateException + java:/Objects/org.eclipse.emf.common.util.SegmentSequence + java:/Objects/org.eclipse.emf.common.util.CommonUtil + java:/Objects/org.eclipse.emf.ecore.resource.ResourceSet + java:/Objects/org.eclipse.emf.common.notify.AdapterFactory + java:/Objects/org.eclipse.emf.ecore.EPackage + java:/Objects/org.eclipse.emf.ecore.EFactory + java:/Objects/org.eclipse.emf.ecore.EDataType + java:/Objects/org.eclipse.emf.common.CommonPlugin + java:/Objects/org.eclipse.emf.common.EMFPlugin + java:/Objects/org.eclipse.emf.common.util.DelegatingResourceLocator + java:/Objects/org.eclipse.emf.common.util.ResourceLocator + java:/Objects/org.eclipse.emf.common.util.Logger + java:/Objects/org.eclipse.core.runtime.Plugin + java:/Objects/org.osgi.framework.BundleActivator + java:/Objects/org.osgi.framework.BundleContext + java:/Objects/org.osgi.framework.BundleReference + java:/Objects/org.osgi.framework.Bundle + java:/Objects/org.osgi.framework.ServiceReference + java:/Objects/java.security.cert.X509Certificate + java:/Objects/java.security.cert.X509Extension + java:/Objects/java.security.cert.CertificateExpiredException + java:/Objects/java.security.cert.CertificateNotYetValidException + java:/Objects/java.security.cert.CertificateParsingException + java:/Objects/javax.security.auth.x500.X500Principal + java:/Objects/sun.security.x509.X500Name + java:/Objects/sun.security.x509.GeneralNameInterface + java:/Objects/sun.security.util.DerOutputStream + java:/Objects/java.io.ByteArrayOutputStream + java:/Objects/sun.security.util.DerEncoder + java:/Objects/sun.security.util.DerValue + java:/Objects/sun.security.util.DerInputBuffer + java:/Objects/java.io.ByteArrayInputStream + java:/Objects/sun.security.util.BitArray + java:/Objects/sun.security.util.DerInputStream + java:/Objects/sun.security.util.ObjectIdentifier + java:/Objects/sun.security.util.ByteArrayLexOrder + java:/Objects/sun.security.util.ByteArrayTagOrder + java:/Objects/sun.security.x509.RDN + java:/Objects/sun.security.x509.AVA + java:/Objects/java.lang.Byte + java:/Objects/org.osgi.framework.Version + java:/Objects/org.osgi.framework.BundleException + java:/Objects/org.osgi.framework.BundleListener + java:/Objects/java.util.EventListener + java:/Objects/org.osgi.framework.BundleEvent + java:/Objects/java.util.EventObject + java:/Objects/org.osgi.framework.FrameworkListener + java:/Objects/org.osgi.framework.FrameworkEvent + java:/Objects/org.osgi.framework.ServiceListener + java:/Objects/org.osgi.framework.ServiceEvent + java:/Objects/org.osgi.framework.InvalidSyntaxException + java:/Objects/org.osgi.framework.Filter + java:/Objects/org.osgi.framework.ServiceObjects + java:/Objects/org.osgi.framework.ServiceRegistration + java:/Objects/org.osgi.framework.ServiceFactory + java:/Objects/org.eclipse.core.runtime.IPath + java:/Objects/org.eclipse.osgi.service.debug.DebugOptions + java:/Objects/org.eclipse.osgi.service.debug.DebugTrace + java:/Objects/org.eclipse.core.runtime.ILog + java:/Objects/org.eclipse.core.runtime.ILogListener + java:/Objects/org.eclipse.core.runtime.IStatus + java:/Objects/org.eclipse.core.runtime.Preferences + java:/Objects/org.eclipse.core.runtime.CoreException + java:/Objects/org.eclipse.core.runtime.ListenerList + java:/Objects/org.osgi.util.tracker.ServiceTracker + java:/Objects/org.osgi.util.tracker.ServiceTrackerCustomizer + java:/Objects/org.osgi.framework.AllServiceListener + java:/Objects/org.osgi.util.tracker.AbstractTracked + java:/Objects/org.eclipse.emf.ecore.EOperation + java:/Objects/org.eclipse.emf.ecore.EParameter + java:/Objects/org.eclipse.emf.ecore.util.FeatureMap + java:/Objects/org.eclipse.emf.ecore.util.InternalEList + java:/Objects/org.eclipse.emf.ecore.util.EContentsEList + java:/Objects/org.eclipse.emf.ecore.util.AbstractSequentialInternalEList + java:/Objects/org.eclipse.emf.ecore.resource.URIConverter + java:/Objects/java.io.InputStreamReader + java:/Objects/sun.nio.cs.StreamDecoder + java:/Objects/java.io.FileInputStream + java:/Objects/org.eclipse.emf.ecore.resource.ContentHandler + java:/Objects/org.eclipse.emf.ecore.resource.URIHandler + java:/Objects/org.eclipse.emf.ecore.EEnumLiteral + java:/Objects/org.eclipse.emf.common.util.Enumerator + java:/Objects/org.eclipse.emf.ecore.EEnum + java:/Objects/modes3.Segment + java:/Objects/modes3.Train + java:/Objects/java.lang.SuppressWarnings + java:/Objects/modes3.Turnout + ../src/modes3/run/Modes3ModelGenerator.xtend + java:/Objects/org.eclipse.xtend.lib.annotations.FinalFieldsConstructor + java:/Objects/org.eclipse.xtend.lib.macro.Active + java:/Objects/com.google.common.annotations.Beta + java:/Objects/com.google.common.annotations.GwtCompatible + java:/Objects/org.eclipse.xtend.lib.annotations.FinalFieldsConstructorProcessor + java:/Objects/org.eclipse.xtend.lib.macro.TransformationParticipant + java:/Objects/org.eclipse.xtext.xbase.lib.Extension + java:/Objects/org.eclipse.xtend.lib.macro.TransformationContext + java:/Objects/org.eclipse.xtend.lib.macro.services.Tracability + java:/Objects/org.eclipse.xtend.lib.macro.declaration.Element + java:/Objects/org.eclipse.xtend.lib.macro.services.ProblemSupport + java:/Objects/org.eclipse.xtend.lib.macro.services.Problem + java:/Objects/org.eclipse.xtext.xbase.lib.Procedures + java:/Objects/org.eclipse.xtend.lib.macro.services.TypeReferenceProvider + java:/Objects/org.eclipse.xtend.lib.macro.declaration.TypeReference + java:/Objects/org.eclipse.xtend.lib.macro.declaration.ResolvedMethod + java:/Objects/org.eclipse.xtend.lib.macro.declaration.ResolvedExecutable + java:/Objects/org.eclipse.xtend.lib.macro.declaration.ExecutableDeclaration + java:/Objects/org.eclipse.xtend.lib.macro.declaration.TypeParameterDeclarator + java:/Objects/org.eclipse.xtend.lib.macro.declaration.MemberDeclaration + java:/Objects/org.eclipse.xtend.lib.macro.declaration.Declaration + java:/Objects/org.eclipse.xtend.lib.macro.declaration.AnnotationTarget + java:/Objects/org.eclipse.xtend.lib.macro.declaration.NamedElement + java:/Objects/org.eclipse.xtend.lib.macro.declaration.CompilationUnit + java:/Objects/org.eclipse.xtend.lib.macro.file.Path + java:/Objects/com.google.common.collect.ImmutableList + java:/Objects/com.google.common.collect.ImmutableCollection + java:/Objects/com.google.common.collect.UnmodifiableIterator + java:/Objects/com.google.common.annotations.VisibleForTesting + java:/Objects/com.google.common.collect.UnmodifiableListIterator + java:/Objects/com.google.common.base.Splitter + java:/Objects/com.google.common.base.AbstractIterator + java:/Objects/com.google.common.base.CharMatcher + java:/Objects/com.google.common.base.Predicate + java:/Objects/com.google.common.annotations.GwtIncompatible + java:/Objects/java.util.BitSet + java:/Objects/com.google.common.base.CommonPattern + java:/Objects/com.google.common.base.CommonMatcher + java:/Objects/org.eclipse.xtend.lib.macro.declaration.TypeDeclaration + java:/Objects/org.eclipse.xtend.lib.macro.declaration.Type + java:/Objects/org.eclipse.xtend.lib.macro.declaration.AnnotationReference + java:/Objects/org.eclipse.xtend.lib.macro.declaration.AnnotationTypeDeclaration + java:/Objects/org.eclipse.xtend.lib.macro.declaration.AnnotationTypeElementDeclaration + java:/Objects/org.eclipse.xtend.lib.macro.expression.Expression + java:/Objects/org.eclipse.xtend.lib.macro.declaration.Modifier + java:/Objects/org.eclipse.xtend.lib.macro.declaration.Visibility + java:/Objects/org.eclipse.xtend.lib.macro.declaration.EnumerationValueDeclaration + java:/Objects/org.eclipse.xtend.lib.macro.declaration.EnumerationTypeDeclaration + java:/Objects/org.eclipse.xtend.lib.macro.declaration.ConstructorDeclaration + java:/Objects/org.eclipse.xtend.lib.macro.declaration.ParameterDeclaration + java:/Objects/org.eclipse.xtend.lib.macro.declaration.FieldDeclaration + java:/Objects/org.eclipse.xtend.lib.macro.declaration.MethodDeclaration + java:/Objects/org.eclipse.xtend.lib.macro.declaration.TypeParameterDeclaration + java:/Objects/org.eclipse.xtend.lib.macro.declaration.ClassDeclaration + java:/Objects/org.eclipse.xtend.lib.macro.declaration.InterfaceDeclaration + java:/Objects/org.eclipse.xtend.lib.macro.declaration.ResolvedConstructor + java:/Objects/org.eclipse.xtend.lib.macro.declaration.ResolvedParameter + java:/Objects/org.eclipse.xtend.lib.macro.declaration.ResolvedTypeParameter + java:/Objects/org.eclipse.xtend.lib.macro.services.TypeLookup + java:/Objects/org.eclipse.xtend.lib.macro.services.GlobalTypeLookup + java:/Objects/org.eclipse.xtend.lib.macro.declaration.MutableAnnotationTypeDeclaration + java:/Objects/org.eclipse.xtend.lib.macro.declaration.MutableTypeDeclaration + java:/Objects/org.eclipse.xtend.lib.macro.declaration.MutableMemberDeclaration + java:/Objects/org.eclipse.xtend.lib.macro.declaration.MutableDeclaration + java:/Objects/org.eclipse.xtend.lib.macro.declaration.MutableAnnotationTarget + java:/Objects/org.eclipse.xtend.lib.macro.declaration.MutableNamedElement + java:/Objects/org.eclipse.xtend.lib.macro.declaration.MutableElement + java:/Objects/org.eclipse.xtend.lib.macro.declaration.MutableConstructorDeclaration + java:/Objects/org.eclipse.xtend.lib.macro.declaration.MutableExecutableDeclaration + java:/Objects/org.eclipse.xtend.lib.macro.declaration.MutableTypeParameterDeclarator + java:/Objects/org.eclipse.xtend.lib.macro.declaration.MutableTypeParameterDeclaration + java:/Objects/org.eclipse.xtend.lib.macro.declaration.MutableFieldDeclaration + java:/Objects/org.eclipse.xtend.lib.macro.declaration.CompilationStrategy + java:/Objects/org.eclipse.xtend2.lib.StringConcatenationClient + java:/Objects/org.eclipse.xtend.lib.macro.declaration.MutableMethodDeclaration + java:/Objects/org.eclipse.xtend.lib.macro.declaration.MutableParameterDeclaration + java:/Objects/org.eclipse.xtend.lib.macro.declaration.MutableClassDeclaration + java:/Objects/org.eclipse.xtend.lib.macro.declaration.MutableEnumerationTypeDeclaration + java:/Objects/org.eclipse.xtend.lib.macro.declaration.MutableEnumerationValueDeclaration + java:/Objects/org.eclipse.xtend.lib.macro.declaration.MutableInterfaceDeclaration + java:/Objects/org.eclipse.xtend.lib.macro.declaration.MutableAnnotationTypeElementDeclaration + java:/Objects/org.eclipse.xtend.lib.macro.file.FileSystemSupport + java:/Objects/org.eclipse.xtend.lib.macro.file.FileLocations + java:/Objects/org.eclipse.xtend.lib.macro.services.AnnotationReferenceProvider + java:/Objects/org.eclipse.xtend.lib.macro.services.AnnotationReferenceBuildContext + java:/Objects/org.eclipse.xtend.lib.macro.services.Associator + java:/Objects/org.eclipse.xtend.lib.annotations.Data + java:/Objects/org.eclipse.xtend.lib.annotations.DataProcessor + java:/Objects/org.eclipse.xtend.lib.macro.AbstractClassProcessor + java:/Objects/org.eclipse.xtend.lib.macro.RegisterGlobalsParticipant + java:/Objects/org.eclipse.xtend.lib.macro.RegisterGlobalsContext + java:/Objects/org.eclipse.xtend.lib.macro.services.UpstreamTypeLookup + java:/Objects/org.eclipse.xtend.lib.macro.services.SourceTypeLookup + java:/Objects/org.eclipse.xtend.lib.macro.CodeGenerationParticipant + java:/Objects/org.eclipse.xtend.lib.macro.CodeGenerationContext + java:/Objects/org.eclipse.xtend.lib.macro.file.MutableFileSystemSupport + java:/Objects/org.eclipse.xtend.lib.macro.ValidationParticipant + java:/Objects/org.eclipse.xtend.lib.macro.ValidationContext + java:/Objects/org.eclipse.xtend.lib.annotations.Accessors + java:/Objects/org.eclipse.xtend.lib.annotations.AccessorsProcessor + java:/Objects/org.eclipse.xtend.lib.annotations.AccessorType + java:/Objects/org.eclipse.xtext.xbase.lib.ArrayLiterals + java:/Objects/org.eclipse.xtext.xbase.lib.Pure + java:/Objects/org.eclipse.xtext.xbase.lib.Inline + java:/Objects/org.eclipse.xtext.xbase.lib.CollectionLiterals + java:/Objects/org.eclipse.xtext.xbase.lib.Pair + java:/Objects/java.util.LinkedHashSet + java:/Objects/java.util.TreeMap + java:/Objects/java.util.NavigableMap + java:/Objects/java.util.TreeSet + java:/Objects/org.eclipse.xtext.xbase.lib.InputOutput + java:/Objects/org.eclipse.xtext.xbase.lib.ArrayExtensions + java:/Objects/org.eclipse.xtext.xbase.lib.BigDecimalExtensions + java:/Objects/org.eclipse.xtext.xbase.lib.BigIntegerExtensions + java:/Objects/org.eclipse.xtext.xbase.lib.BooleanExtensions + java:/Objects/com.google.common.primitives.Booleans + java:/Objects/org.eclipse.xtext.xbase.lib.ByteExtensions + java:/Objects/java.lang.Math + java:/Objects/org.eclipse.xtext.xbase.lib.CharacterExtensions + java:/Objects/org.eclipse.xtext.xbase.lib.CollectionExtensions + java:/Objects/com.google.common.collect.Iterables + java:/Objects/com.google.common.collect.FluentIterable + java:/Objects/com.google.common.base.Function + java:/Objects/com.google.common.base.Optional + java:/Objects/com.google.common.base.Supplier + java:/Objects/com.google.common.collect.ImmutableListMultimap + java:/Objects/com.google.common.collect.ImmutableMultimap + java:/Objects/com.google.common.collect.BaseImmutableMultimap + java:/Objects/com.google.common.collect.AbstractMultimap + java:/Objects/com.google.common.collect.Multimap + java:/Objects/com.google.common.collect.Multiset + java:/Objects/com.google.common.collect.Multimaps + java:/Objects/com.google.common.collect.Maps + java:/Objects/com.google.common.collect.ImmutableMap + java:/Objects/com.google.common.collect.ImmutableSet + java:/Objects/com.google.common.collect.ImmutableSetMultimap + java:/Objects/com.google.common.collect.SetMultimap + java:/Objects/com.google.common.collect.Serialization + java:/Objects/com.google.common.collect.ImmutableMultiset + java:/Objects/com.google.common.collect.ImmutableMultisetGwtSerializationDependencies + java:/Objects/com.google.common.collect.IndexedImmutableSet + java:/Objects/com.google.common.collect.AbstractListMultimap + java:/Objects/com.google.common.collect.AbstractMapBasedMultimap + java:/Objects/com.google.common.collect.AbstractSetMultimap + java:/Objects/com.google.common.collect.AbstractSortedSetMultimap + java:/Objects/com.google.common.collect.SortedSetMultimap + java:/Objects/com.google.common.collect.AbstractMultiset + java:/Objects/com.google.common.collect.Multisets + java:/Objects/com.google.common.collect.Sets + java:/Objects/com.google.common.collect.ForwardingCollection + java:/Objects/com.google.common.collect.ForwardingObject + java:/Objects/com.google.common.collect.CartesianList + java:/Objects/com.google.common.collect.ForwardingNavigableSet + java:/Objects/com.google.common.collect.ForwardingSortedSet + java:/Objects/com.google.common.collect.ForwardingSet + java:/Objects/com.google.common.collect.Ordering + java:/Objects/com.google.common.collect.Collections2 + java:/Objects/com.google.common.collect.AbstractIterator + java:/Objects/java.util.concurrent.CopyOnWriteArraySet + java:/Objects/java.util.concurrent.CopyOnWriteArrayList + java:/Objects/com.google.common.collect.Range + java:/Objects/com.google.common.collect.RangeGwtSerializationDependencies + java:/Objects/com.google.common.collect.Cut + java:/Objects/com.google.common.collect.DiscreteDomain + java:/Objects/com.google.common.collect.BoundType + java:/Objects/java.util.EnumMap + java:/Objects/com.google.common.collect.ListMultimap + java:/Objects/com.google.common.collect.ForwardingMultimap + java:/Objects/com.google.common.collect.FilteredMultimap + java:/Objects/com.google.common.collect.FilteredSetMultimap + java:/Objects/com.google.common.base.Converter + java:/Objects/com.google.common.collect.BiMap + java:/Objects/com.google.common.collect.ForwardingMap + java:/Objects/com.google.common.collect.AbstractNavigableMap + java:/Objects/com.google.common.collect.MapDifference + java:/Objects/com.google.common.collect.SortedMapDifference + java:/Objects/com.google.common.collect.ForwardingSortedMap + java:/Objects/com.google.common.base.Equivalence + java:/Objects/java.util.function.BiPredicate + java:/Objects/java.util.IdentityHashMap + java:/Objects/com.google.common.collect.ForwardingMultiset + java:/Objects/com.google.common.collect.SortedMultiset + java:/Objects/com.google.common.collect.SortedMultisetBridge + java:/Objects/com.google.common.collect.SortedIterable + java:/Objects/com.google.common.base.Joiner + java:/Objects/com.google.common.collect.ImmutableSortedSet + java:/Objects/com.google.common.collect.ImmutableSortedSetFauxverideShim + java:/Objects/com.google.common.collect.RegularImmutableSortedSet + java:/Objects/com.google.common.collect.ImmutableSortedMap + java:/Objects/com.google.common.collect.ImmutableSortedMapFauxverideShim + java:/Objects/java.util.Collections + java:/Objects/java.util.AbstractQueue + java:/Objects/org.eclipse.xtext.xbase.lib.ComparableExtensions + java:/Objects/org.eclipse.xtext.xbase.lib.DoubleExtensions + java:/Objects/org.eclipse.xtext.xbase.lib.FloatExtensions + java:/Objects/java.lang.Float + java:/Objects/org.eclipse.xtext.xbase.lib.FunctionExtensions + java:/Objects/org.eclipse.xtext.xbase.lib.Functions + java:/Objects/org.eclipse.xtext.xbase.lib.IntegerExtensions + java:/Objects/org.eclipse.xtext.xbase.lib.ExclusiveRange + java:/Objects/org.eclipse.xtext.xbase.lib.IntegerRange + java:/Objects/org.eclipse.xtext.xbase.lib.IterableExtensions + java:/Objects/org.eclipse.xtext.xbase.lib.IteratorExtensions + java:/Objects/com.google.common.collect.Iterators + java:/Objects/com.google.common.collect.AbstractIndexedListIterator + java:/Objects/com.google.common.collect.PeekingIterator + java:/Objects/org.eclipse.xtext.xbase.lib.ListExtensions + java:/Objects/org.eclipse.xtext.xbase.lib.LongExtensions + java:/Objects/org.eclipse.xtext.xbase.lib.MapExtensions + java:/Objects/org.eclipse.xtext.xbase.lib.internal.UnmodifiableMergingMapView + java:/Objects/org.eclipse.xtext.xbase.lib.ObjectExtensions + java:/Objects/com.google.common.base.Objects + java:/Objects/com.google.common.base.ExtraObjectsMethodsForWeb + java:/Objects/org.eclipse.xtext.xbase.lib.ProcedureExtensions + java:/Objects/org.eclipse.xtext.xbase.lib.ShortExtensions + java:/Objects/java.lang.Short + java:/Objects/org.eclipse.xtext.xbase.lib.StringExtensions + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + bold + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + backgroundColor + foregroundColor + + + + + + + + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + labelColor + backgroundColor + foregroundColor + + + + + + + + + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + backgroundColor + foregroundColor + + + + + + + + KEEP_LOCATION + KEEP_SIZE + KEEP_RATIO + + backgroundColor + foregroundColor + + + + + + + + + + + + + + + + + + + + + + + + + + bold + + + + + + + + + + + bold + + + + + + + + + + + + labelSize + + + labelSize + + + + + + + + + + + + + + + + + + + + + labelSize + + + labelSize + + + + + + + + + + labelSize + + + labelSize + + + + + + + + + + labelSize + + + labelSize + + + + + + + + + + + italic + + + + + + + + + + + + + + diff --git a/Domains/ca.mcgill.rtgmrt.example.modes3/model/modes3.ecore b/Domains/ca.mcgill.rtgmrt.example.modes3/model/modes3.ecore new file mode 100644 index 00000000..aa50b778 --- /dev/null +++ b/Domains/ca.mcgill.rtgmrt.example.modes3/model/modes3.ecore @@ -0,0 +1,32 @@ + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Domains/ca.mcgill.rtgmrt.example.modes3/model/modes3.genmodel b/Domains/ca.mcgill.rtgmrt.example.modes3/model/modes3.genmodel new file mode 100644 index 00000000..1a6c7a84 --- /dev/null +++ b/Domains/ca.mcgill.rtgmrt.example.modes3/model/modes3.genmodel @@ -0,0 +1,30 @@ + + + modes3.ecore + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Domains/ca.mcgill.rtgmrt.example.modes3/output/solution.partialinterpretation b/Domains/ca.mcgill.rtgmrt.example.modes3/output/solution.partialinterpretation new file mode 100644 index 00000000..bbf46091 --- /dev/null +++ b/Domains/ca.mcgill.rtgmrt.example.modes3/output/solution.partialinterpretation @@ -0,0 +1,1068 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Domains/ca.mcgill.rtgmrt.example.modes3/output/solution1.gml b/Domains/ca.mcgill.rtgmrt.example.modes3/output/solution1.gml new file mode 100644 index 00000000..66b57d1a --- /dev/null +++ b/Domains/ca.mcgill.rtgmrt.example.modes3/output/solution1.gml @@ -0,0 +1,1191 @@ +graph +[ + node + [ + id 0 + graphics + [ + w 269.5 + h 54 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "o 1" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Modes3ModelRoot class DefinedPart + Modes3ModelRoot class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 1 + graphics + [ + w 41.800000000000004 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "true" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 2 + graphics + [ + w 50.6 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "false" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 3 + graphics + [ + w 115.50000000000001 + h 54 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Segment class + Turnout class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 4 + graphics + [ + w 100.10000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Train class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 5 + graphics + [ + w 115.50000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Segment class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 6 + graphics + [ + w 100.10000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Train class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 7 + graphics + [ + w 115.50000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Segment class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 8 + graphics + [ + w 100.10000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Train class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 9 + graphics + [ + w 115.50000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Segment class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 10 + graphics + [ + w 100.10000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Train class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 11 + graphics + [ + w 115.50000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Segment class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 12 + graphics + [ + w 100.10000000000001 + h 40 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "null" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + Train class + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 13 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "?" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 14 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "?" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 15 + graphics + [ + w 15.400000000000002 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "?" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + + node + [ + id 16 + graphics + [ + w 103.4 + h 26 + type "rectangle" + fill "#FFFFFF" + fill2 "#FFFFFF" + outline "#000000" + ] + LabelGraphics + [ + text "New Objects" + outline "#000000" + fill "#FFFFFF" + fontSize 16 + fontName "Monospace" + autoSizePolicy "node_width" + anchor "t" + borderDistance 0.0 + ] + LabelGraphics + [ + text " + " + fontSize 14 + fontName "Consolas" + alignment "left" + anchor "tl" + borderDistance 6 + ] + ] + edge + [ + source 5 + target 3 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "connectedTo reference Segment" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 3 + target 5 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "connectedTo reference Segment" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 7 + target 3 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "connectedTo reference Segment" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 3 + target 7 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "connectedTo reference Segment" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 7 + target 9 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "connectedTo reference Segment" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 9 + target 7 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "connectedTo reference Segment" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 11 + target 5 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "connectedTo reference Segment" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 5 + target 11 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "connectedTo reference Segment" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 5 + target 6 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "occupiedBy reference Segment" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 3 + target 4 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "occupiedBy reference Segment" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 7 + target 8 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "occupiedBy reference Segment" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 9 + target 10 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "occupiedBy reference Segment" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 11 + target 12 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "occupiedBy reference Segment" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 0 + target 4 + graphics + [ + fill "#000000" + width 3 + targetArrow "standard" + ] + LabelGraphics + [ + text "trains reference Modes3ModelRoot" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 0 + target 6 + graphics + [ + fill "#000000" + width 3 + targetArrow "standard" + ] + LabelGraphics + [ + text "trains reference Modes3ModelRoot" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 0 + target 8 + graphics + [ + fill "#000000" + width 3 + targetArrow "standard" + ] + LabelGraphics + [ + text "trains reference Modes3ModelRoot" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 0 + target 10 + graphics + [ + fill "#000000" + width 3 + targetArrow "standard" + ] + LabelGraphics + [ + text "trains reference Modes3ModelRoot" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 0 + target 12 + graphics + [ + fill "#000000" + width 3 + targetArrow "standard" + ] + LabelGraphics + [ + text "trains reference Modes3ModelRoot" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 0 + target 5 + graphics + [ + fill "#000000" + width 3 + targetArrow "standard" + ] + LabelGraphics + [ + text "segments reference Modes3ModelRoot" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 0 + target 7 + graphics + [ + fill "#000000" + width 3 + targetArrow "standard" + ] + LabelGraphics + [ + text "segments reference Modes3ModelRoot" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 0 + target 9 + graphics + [ + fill "#000000" + width 3 + targetArrow "standard" + ] + LabelGraphics + [ + text "segments reference Modes3ModelRoot" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 0 + target 11 + graphics + [ + fill "#000000" + width 3 + targetArrow "standard" + ] + LabelGraphics + [ + text "segments reference Modes3ModelRoot" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 0 + target 3 + graphics + [ + fill "#000000" + width 3 + targetArrow "standard" + ] + LabelGraphics + [ + text "turnouts reference Modes3ModelRoot" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 3 + target 9 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "straight reference Turnout" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 3 + target 5 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "divergent reference Turnout" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 6 + target 5 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "location reference Train" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 4 + target 3 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "location reference Train" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 8 + target 7 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "location reference Train" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 10 + target 9 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "location reference Train" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] + edge + [ + source 12 + target 11 + graphics + [ + fill "#000000" + targetArrow "standard" + ] + LabelGraphics + [ + text "location reference Train" + fontSize 14 + fontName "Consolas" + configuration "AutoFlippingLabel" + model "six_pos" + position "thead" + ] + ] +] + diff --git a/Domains/ca.mcgill.rtgmrt.example.modes3/output/solution1.partialinterpretation b/Domains/ca.mcgill.rtgmrt.example.modes3/output/solution1.partialinterpretation new file mode 100644 index 00000000..8b50e17f --- /dev/null +++ b/Domains/ca.mcgill.rtgmrt.example.modes3/output/solution1.partialinterpretation @@ -0,0 +1,1037 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Domains/ca.mcgill.rtgmrt.example.modes3/output/solution1.png b/Domains/ca.mcgill.rtgmrt.example.modes3/output/solution1.png new file mode 100644 index 00000000..b6fa6e4e Binary files /dev/null and b/Domains/ca.mcgill.rtgmrt.example.modes3/output/solution1.png differ diff --git a/Domains/ca.mcgill.rtgmrt.example.modes3/plugin.properties b/Domains/ca.mcgill.rtgmrt.example.modes3/plugin.properties new file mode 100644 index 00000000..4eba0dd8 --- /dev/null +++ b/Domains/ca.mcgill.rtgmrt.example.modes3/plugin.properties @@ -0,0 +1,4 @@ +# + +pluginName = ca.mcgill.rtgmrt.example.modes3 +providerName = www.example.org diff --git a/Domains/ca.mcgill.rtgmrt.example.modes3/plugin.xml b/Domains/ca.mcgill.rtgmrt.example.modes3/plugin.xml new file mode 100644 index 00000000..7341e19c --- /dev/null +++ b/Domains/ca.mcgill.rtgmrt.example.modes3/plugin.xml @@ -0,0 +1,28 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Domains/ca.mcgill.rtgmrt.example.modes3/src/modes3/queries/Modes3Queries.vql b/Domains/ca.mcgill.rtgmrt.example.modes3/src/modes3/queries/Modes3Queries.vql new file mode 100644 index 00000000..982e6cec --- /dev/null +++ b/Domains/ca.mcgill.rtgmrt.example.modes3/src/modes3/queries/Modes3Queries.vql @@ -0,0 +1,112 @@ +package modes3.queries + +import "http://www.ece.mcgill.ca/wcet/modes3" + +@Constraint(message = "turnoutInSegments", severity = "error", key = { T }) +pattern turnoutInSegments(T : Turnout) { + Modes3ModelRoot.segments(_, T); +} + +pattern connectedTo(S1 : Segment, S2 : Segment) { + Segment.connectedTo(S1, S2); +} + +@Constraint(message = "connectedToNotSymmetric", severity = "error", key = { S1, S2 }) +pattern connectedToNotSymmetric(S1 : Segment, S2 : Segment) { + Segment.connectedTo(S1, S2); + neg find connectedTo(S2, S1); +} + +@Constraint(message = "connectedToReflexive", severity = "error", key = { S }) +pattern connectedToReflexive(S : Segment) { + Segment.connectedTo(S, S); +} + +pattern turnoutOutput(T : Turnout, S : Segment) { + Turnout.straight(T, S); +} or { + Turnout.divergent(T, S); +} + +@Constraint(message = "outputReflexive", severity = "error", key = { T }) +pattern outputReflexive(T : Turnout) { + find turnoutOutput(T, T); +} + +@Constraint(message = "turnoutOutputsAreSame", severity = "error", key = { T }) +pattern turnoutOutputsAreSame(T : Turnout) { + Turnout.straight(T, S); + Turnout.divergent(T, S); +} + +pattern turnout(T : Turnout) { + Turnout(T); +} + +pattern output(S1 : Segment, S2 : Segment) { + Segment.connectedTo(S1, S2); +} or { + find turnoutOutput(S1, S2); +} + +//@Constraint(message = "noInputOfSegment", severity = "error", key = { S }) +//pattern noInputOfSegment(S : Segment) { +// neg find turnout(S); +// neg find output(_, S); +//} + +@Constraint(message = "tooManyInputsOfSegment", severity = "error", key = { S }) +pattern tooManyInputsOfSegment(S : Segment) { + neg find turnout(S); + find output(I1, S); + find output(I2, S); + find output(I3, S); + I1 != I2; + I1 != I3; + I2 != I3; +} + +@Constraint(message = "turnoutConnectedToBothOutputs", severity = "error", key = { T }) +pattern turnoutConnectedToBothOutputs(T : Turnout) { + Turnout.straight(T, Straight); + Turnout.divergent(T, Divergent); + Segment.connectedTo(T, Straight); + Segment.connectedTo(T, Divergent); +} + +pattern extraInputOfTurnout(T : Turnout, S : Segment) { + Turnout.straight(T, Straight); + Turnout.divergent(T, Divergent); + find output(S, T); + S != Straight; + S != Divergent; +} + +@Constraint(message = "noExtraInputOfTurnout", severity = "error", key = { T }) +pattern noExtraInputOfTurnout(T : Turnout) { + neg find extraInputOfTurnout(T, _); +} + +@Constraint(message = "tooManyExtraInputsOfTurnout", severity = "error", key = { T }) +pattern tooManyExtraInputsOfTurnout(T : Turnout) { + find extraInputOfTurnout(T, I1); + find extraInputOfTurnout(T, I2); + I1 != I2; +} + +pattern adjacent(S1 : Segment, S2 : Segment) { + find output(S1, S2); +} or { + find turnoutOutput(S2, S1); +} + +pattern reachable(S1 : Segment, S2 : Segment) { + S1 == S2; +} or { + find adjacent+(S1, S2); +} + +@Constraint(message = "unreachable", severity = "error", key = { S1, S2 }) +pattern unreachable(S1 : Segment, S2 : Segment) { + neg find reachable(S1, S2); +} diff --git a/Domains/ca.mcgill.rtgmrt.example.modes3/src/modes3/run/Modes3ModelGenerator.xtend b/Domains/ca.mcgill.rtgmrt.example.modes3/src/modes3/run/Modes3ModelGenerator.xtend new file mode 100644 index 00000000..71d1798f --- /dev/null +++ b/Domains/ca.mcgill.rtgmrt.example.modes3/src/modes3/run/Modes3ModelGenerator.xtend @@ -0,0 +1,222 @@ +package modes3.run + +import com.google.common.collect.ImmutableList +import com.google.common.collect.ImmutableSet +import hu.bme.mit.inf.dslreasoner.ecore2logic.EReferenceMapper_RelationsOverTypes_Trace +import hu.bme.mit.inf.dslreasoner.ecore2logic.Ecore2Logic +import hu.bme.mit.inf.dslreasoner.ecore2logic.Ecore2LogicConfiguration +import hu.bme.mit.inf.dslreasoner.ecore2logic.EcoreMetamodelDescriptor +import hu.bme.mit.inf.dslreasoner.ecore2logic.ecore2logicannotations.Ecore2logicannotationsFactory +import hu.bme.mit.inf.dslreasoner.ecore2logic.ecore2logicannotations.Ecore2logicannotationsPackage +import hu.bme.mit.inf.dslreasoner.logic.model.builder.LogicProblemBuilder +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.TypeDefinition +import hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicproblemPackage +import hu.bme.mit.inf.dslreasoner.logic.model.logicresult.ModelResult +import hu.bme.mit.inf.dslreasoner.viatra2logic.Viatra2Logic +import hu.bme.mit.inf.dslreasoner.viatra2logic.Viatra2LogicConfiguration +import hu.bme.mit.inf.dslreasoner.viatra2logic.ViatraQuerySetDescriptor +import hu.bme.mit.inf.dslreasoner.viatra2logic.viatra2logicannotations.Viatra2LogicAnnotationsPackage +import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.TypeInferenceMethod +import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.cardinality.PolyhedralScopePropagatorConstraints +import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.cardinality.PolyhedralScopePropagatorSolver +import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.cardinality.ScopePropagatorStrategy +import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretation2logic.InstanceModel2Logic +import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.PartialComplexTypeInterpretation +import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.PartialInterpretation +import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.PartialinterpretationPackage +import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.visualisation.PartialInterpretation2Gml +import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.StateCoderStrategy +import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.ViatraReasoner +import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.ViatraReasonerConfiguration +import hu.bme.mit.inf.dslreasoner.visualisation.pi2graphviz.GraphvizVisualiser +import hu.bme.mit.inf.dslreasoner.workspace.FileSystemWorkspace +import java.util.List +import modes3.Modes3Factory +import modes3.Modes3Package +import modes3.queries.Modes3Queries +import org.eclipse.emf.ecore.EClass +import org.eclipse.emf.ecore.EObject +import org.eclipse.emf.ecore.resource.Resource +import org.eclipse.emf.ecore.xmi.impl.XMIResourceFactoryImpl +import org.eclipse.viatra.query.patternlanguage.emf.EMFPatternLanguageStandaloneSetup +import org.eclipse.viatra.query.runtime.api.ViatraQueryEngineOptions +import org.eclipse.viatra.query.runtime.localsearch.matcher.integration.LocalSearchEMFBackendFactory +import org.eclipse.viatra.query.runtime.rete.matcher.ReteBackendFactory +import org.eclipse.xtend.lib.annotations.FinalFieldsConstructor +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.RelationDefinition +import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.BinaryElementRelationLink + +@FinalFieldsConstructor +class Modes3ModelGenerator { + val MonitoringQuery monitoringQuery + val int modelSize + + val ecore2Logic = new Ecore2Logic + val instanceModel2Logic = new InstanceModel2Logic + val viatra2Logic = new Viatra2Logic(ecore2Logic) + val solver = new ViatraReasoner + extension val LogicProblemBuilder = new LogicProblemBuilder + + def generate() { + val metamodel = createMetamodelDescriptor() + val metamodelLogic = ecore2Logic.transformMetamodel(metamodel, new Ecore2LogicConfiguration) + val segment = ecore2Logic.TypeofEClass(metamodelLogic.trace, Modes3Package.eINSTANCE.segment) + val connectedTo = ecore2Logic.relationOfReference(metamodelLogic.trace, + Modes3Package.eINSTANCE.segment_ConnectedTo) + val connectedToIndicator = (metamodelLogic.trace. + referenceMapperTrace as EReferenceMapper_RelationsOverTypes_Trace).indicators.get( + Modes3Package.eINSTANCE.segment_ConnectedTo) + val inverseAssertion = Assertion( + '''oppositeReference «connectedTo.name» «connectedTo.name»''', + Forall[ + val src = addVar('''src''', segment) + val trg = addVar('''trg''', segment) + connectedToIndicator.call(src, trg) <=> connectedToIndicator.call(trg, src) + ] + ) + metamodelLogic.output.assertions += inverseAssertion + val inverseAnnotation = Ecore2logicannotationsFactory.eINSTANCE.createInverseRelationAssertion => [ + target = inverseAssertion + inverseA = connectedTo + inverseB = connectedTo + ] + metamodelLogic.output.annotations += inverseAnnotation + val initialModel = loadInitialModel() + val initialModelLogic = instanceModel2Logic.transform(metamodelLogic, initialModel) + val queries = loadQueries + val logic = viatra2Logic.transformQueries(queries, initialModelLogic, new Viatra2LogicConfiguration) + val config = new ViatraReasonerConfiguration => [ + runtimeLimit = 3600 + typeScopes => [ + minNewElements = modelSize + maxNewElements = modelSize + minNewElementsByType => [ + put(ecore2Logic.TypeofEClass(metamodelLogic.trace, Modes3Package.eINSTANCE.turnout), 1) + ] + maxNewElementsByType => [ + put(ecore2Logic.TypeofEClass(metamodelLogic.trace, Modes3Package.eINSTANCE.train), 5) + ] + ] + solutionScope.numberOfRequiredSolutions = 1 + nameNewElements = false + typeInferenceMethod = TypeInferenceMethod.PreliminaryAnalysis + stateCoderStrategy = StateCoderStrategy::Neighbourhood + scopePropagatorStrategy = new ScopePropagatorStrategy.Polyhedral( + PolyhedralScopePropagatorConstraints.Relational, PolyhedralScopePropagatorSolver.Clp) +// unitPropagationPatternGenerators += new Modes3UnitPropagationGenerator(ecore2Logic, metamodelLogic.trace) + debugConfiguration.partialInterpretatioVisualiser = null + ] + val workspace = new FileSystemWorkspace("output/", "") + val solution = solver.solve(logic.output, config, workspace) + if (solution instanceof ModelResult) { + println("Saving generated solutions") + val representations = solution.representation + for (representationIndex : 0 ..< representations.size) { + val representation = representations.get(representationIndex) + val representationNumber = representationIndex + 1 + if (representation instanceof PartialInterpretation) { + workspace.writeModel(representation, '''solution«representationNumber».partialinterpretation''') + val partialInterpretation2GML = new PartialInterpretation2Gml + val gml = partialInterpretation2GML.transform(representation) + workspace.writeText('''solution«representationNumber».gml''', gml) + if (representation.newElements.size < 160) { + if (representation instanceof PartialInterpretation) { + representation.problem.types.forEach[println(name)] + val rootType = (representation.problem.types.findFirst [ + name == "Modes3ModelRoot class DefinedPart" + ] as TypeDefinition) + val rootIntepretation = representation.partialtypeinterpratation.filter( + PartialComplexTypeInterpretation).findFirst [ + interpretationOf.name == "Modes3ModelRoot class" + ] + rootIntepretation.elements.removeAll(rootType.elements) + representation.problem.elements.removeAll(rootType.elements) + for (relationInterpretation : representation.partialrelationinterpretation) { + relationInterpretation.relationlinks.removeIf [ link | + if (link instanceof BinaryElementRelationLink) { + rootType.elements.contains(link.param1) || rootType.elements.contains(link.param2) + } else { + false + } + ] + } + rootType.elements.clear + } + val visualiser = new GraphvizVisualiser + val visualisation = visualiser.visualiseConcretization(representation) + visualisation.writeToFile(workspace, '''solution«representationNumber».png''') + } + } else { + workspace.writeText('''solution«representationNumber».txt''', representation.toString) + } + } + } else { + println("Failed to solver problem") + val partial = logic.output + workspace.writeModel(partial, "solution.partialinterpretation") + } + } + + static def createMetamodelDescriptor() { + val eClasses = ImmutableList.copyOf(Modes3Package.eINSTANCE.EClassifiers.filter(EClass)) + new EcoreMetamodelDescriptor( + eClasses, + emptySet, + false, + emptyList, + emptyList, + ImmutableList.copyOf(eClasses.flatMap[EReferences]), + emptyList + ) + } + + static def List loadInitialModel() { + #[Modes3Factory.eINSTANCE.createModes3ModelRoot] + } + + def loadQueries() { + val patternsBuilder = ImmutableList.builder + patternsBuilder.addAll(Modes3Queries.instance.specifications) + val patterns = patternsBuilder.build + val validationPatterns = ImmutableSet.copyOf(patterns.filter [ pattern | + pattern.allAnnotations.exists[name == "Constraint"] + ]) + new ViatraQuerySetDescriptor( + patterns, + validationPatterns, + emptyMap + ) + } + + def static init() { + EMFPatternLanguageStandaloneSetup.doSetup + ViatraQueryEngineOptions.setSystemDefaultBackends(ReteBackendFactory.INSTANCE, ReteBackendFactory.INSTANCE, + LocalSearchEMFBackendFactory.INSTANCE) + LogiclanguagePackage.eINSTANCE.class + LogicproblemPackage.eINSTANCE.class + PartialinterpretationPackage.eINSTANCE.class + Ecore2logicannotationsPackage.eINSTANCE.class + Viatra2LogicAnnotationsPackage.eINSTANCE.class + Resource.Factory.Registry.INSTANCE.extensionToFactoryMap.put("ecore", new XMIResourceFactoryImpl) + Resource.Factory.Registry.INSTANCE.extensionToFactoryMap.put("logicproblem", new XMIResourceFactoryImpl) + Resource.Factory.Registry.INSTANCE.extensionToFactoryMap.put("partialinterpretation", + new XMIResourceFactoryImpl) + } + + def static void main(String[] args) { + if (args.length != 2) { + System.err.println("Usage: ") + } + val monitoringQuery = MonitoringQuery.valueOf(args.get(0)) + val modelSize = Integer.parseInt(args.get(1)) + init() + val generator = new Modes3ModelGenerator(monitoringQuery, modelSize) + generator.generate() + } + + private static enum MonitoringQuery { + closeTrains, + misalignedTurnout + } +} diff --git a/Domains/ca.mcgill.rtgmrt.example.modes3/src/modes3/run/Modes3UnitPropagationGenerator.xtend b/Domains/ca.mcgill.rtgmrt.example.modes3/src/modes3/run/Modes3UnitPropagationGenerator.xtend new file mode 100644 index 00000000..61bd2814 --- /dev/null +++ b/Domains/ca.mcgill.rtgmrt.example.modes3/src/modes3/run/Modes3UnitPropagationGenerator.xtend @@ -0,0 +1,205 @@ +package modes3.run + +import hu.bme.mit.inf.dslreasoner.ecore2logic.Ecore2Logic +import hu.bme.mit.inf.dslreasoner.ecore2logic.Ecore2Logic_Trace +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Relation +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Type +import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.Modality +import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.patterns.PatternGenerator +import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.patterns.UnitPropagationPatternGenerator +import java.util.Map +import modes3.Modes3Package +import modes3.queries.ExtraInputOfTurnout +import modes3.queries.Output +import modes3.queries.TurnoutOutput +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PQuery +import org.eclipse.xtend2.lib.StringConcatenationClient + +class Modes3UnitPropagationGenerator implements UnitPropagationPatternGenerator { + static val MUST_NOT_CONNECTED_TO = "mustNotConnectedTo" + static val MUST_NOT_CONNECTED_TO_HELPER = "mustNotConnectedTo_helper" + static val MUST_NOT_TURNOUT_OUTPUT = "mustNotTurnoutOutput" + static val MUST_NOT_STRAIGHT = "mustNotStraight" + static val MUST_NOT_DIVERGENT = "mustNotDivergent" + + val Type segmentType + val Type turnoutType + val Relation connectedToRelation + val Relation straightRelation + val Relation divergentRelation + + new(extension Ecore2Logic ecore2Logic, Ecore2Logic_Trace ecore2LogicTrace) { + extension val Modes3Package = Modes3Package.eINSTANCE + segmentType = ecore2LogicTrace.TypeofEClass(segment) + turnoutType = ecore2LogicTrace.TypeofEClass(turnout) + connectedToRelation = ecore2LogicTrace.relationOfReference(segment_ConnectedTo) + straightRelation = ecore2LogicTrace.relationOfReference(turnout_Straight) + divergentRelation = ecore2LogicTrace.relationOfReference(turnout_Divergent) + } + + override getMustPatterns() { + emptyMap + } + + override getMustNotPatterns() { + #{ + connectedToRelation -> MUST_NOT_CONNECTED_TO, + straightRelation -> MUST_NOT_STRAIGHT, + divergentRelation -> MUST_NOT_DIVERGENT + } + } + + override getAdditionalPatterns(extension PatternGenerator generator, Map fqnToPQuery) { + val StringConcatenationClient parameters = ''' + problem: LogicProblem, interpretation: PartialInterpretation, + source: DefinedElement, target: DefinedElement + ''' + + val StringConcatenationClient commonParameterConstraints = ''' + find interpretation(problem, interpretation); + find mustExist(problem, interpretation, source); + find mustExist(problem, interpretation, target); + ''' + + ''' + pattern «MUST_NOT_CONNECTED_TO_HELPER»(«parameters») { + // connectedToReflexive unit propagation + «commonParameterConstraints» + «typeIndexer.referInstanceOf(segmentType, Modality.MUST, "source")» + «typeIndexer.referInstanceOf(segmentType, Modality.MUST, "target")» + source == target; + } or { + // tooManyInputsOfSegment unit propagation + «commonParameterConstraints» + «typeIndexer.referInstanceOf(segmentType, Modality.MUST, "source")» + «typeIndexer.referInstanceOf(segmentType, Modality.MUST, "target")» + «typeIndexer.referInstanceOf(segmentType, Modality.MUST, "input1")» + «typeIndexer.referInstanceOf(segmentType, Modality.MUST, "input2")» + neg «typeIndexer.referInstanceOf(turnoutType, Modality.MAY, "source")» + «relationDefinitionIndexer.referPattern(fqnToPQuery.get(Output.instance.fullyQualifiedName), #["input1", "source"], Modality.MUST, true, false)» + «relationDefinitionIndexer.referPattern(fqnToPQuery.get(Output.instance.fullyQualifiedName), #["input2", "source"], Modality.MUST, true, false)» + input1 != input2; + input1 != target; + input2 != target; + } or { + // turnoutConnectedToBothOutputs unit propagation 1 + «commonParameterConstraints» + «typeIndexer.referInstanceOf(turnoutType, Modality.MUST, "source")» + «typeIndexer.referInstanceOf(segmentType, Modality.MUST, "target")» + «typeIndexer.referInstanceOf(segmentType, Modality.MUST, "divergent")» + «referRelation(straightRelation, "source", "target", Modality.MUST, fqnToPQuery)» + «referRelation(divergentRelation, "source", "divergent", Modality.MUST, fqnToPQuery)» + «referRelation(connectedToRelation, "source", "divergent", Modality.MUST, fqnToPQuery)» + } or { + // turnoutConnectedToBothOutputs unit propagation 2 + «commonParameterConstraints» + «typeIndexer.referInstanceOf(turnoutType, Modality.MUST, "source")» + «typeIndexer.referInstanceOf(segmentType, Modality.MUST, "target")» + «typeIndexer.referInstanceOf(segmentType, Modality.MUST, "straight")» + «referRelation(straightRelation, "source", "straight", Modality.MUST, fqnToPQuery)» + «referRelation(divergentRelation, "source", "target", Modality.MUST, fqnToPQuery)» + «referRelation(connectedToRelation, "source", "straight", Modality.MUST, fqnToPQuery)» + } or { + // tooManyExtraInputsOfTurnout unit propagation + «commonParameterConstraints» + «typeIndexer.referInstanceOf(turnoutType, Modality.MUST, "source")» + «typeIndexer.referInstanceOf(segmentType, Modality.MUST, "target")» + «typeIndexer.referInstanceOf(segmentType, Modality.MUST, "extraInput")» + «relationDefinitionIndexer.referPattern(fqnToPQuery.get(TurnoutOutput.instance.fullyQualifiedName), #["source", "target"], Modality.MAY, false, false)» + «relationDefinitionIndexer.referPattern(fqnToPQuery.get(ExtraInputOfTurnout.instance.fullyQualifiedName), #["source", "extraInput"], Modality.MUST, true, false)» + target != extraInput; + } + + pattern «MUST_NOT_CONNECTED_TO»(«parameters») { + find «MUST_NOT_CONNECTED_TO_HELPER»(problem, interpretation, source, target); + } or { + find «MUST_NOT_CONNECTED_TO_HELPER»(problem, interpretation, target, source); + } + + pattern «MUST_NOT_TURNOUT_OUTPUT»(«parameters») { + // outputReflexive unit propagation + «commonParameterConstraints» + «typeIndexer.referInstanceOf(turnoutType, Modality.MUST, "source")» + «typeIndexer.referInstanceOf(turnoutType, Modality.MUST, "target")» + source == target; + } or { + // tooManyInputsOfSegment unit propagation + «commonParameterConstraints» + «typeIndexer.referInstanceOf(turnoutType, Modality.MUST, "source")» + «typeIndexer.referInstanceOf(segmentType, Modality.MUST, "target")» + «typeIndexer.referInstanceOf(segmentType, Modality.MUST, "input1")» + «typeIndexer.referInstanceOf(segmentType, Modality.MUST, "input2")» + neg «typeIndexer.referInstanceOf(turnoutType, Modality.MAY, "target")» + «relationDefinitionIndexer.referPattern(fqnToPQuery.get(Output.instance.fullyQualifiedName), #["input1", "target"], Modality.MUST, true, false)» + «relationDefinitionIndexer.referPattern(fqnToPQuery.get(Output.instance.fullyQualifiedName), #["input2", "target"], Modality.MUST, true, false)» + input1 != input2; + input1 != source; + input2 != source; + } + + pattern «MUST_NOT_STRAIGHT»(«parameters») { + find «MUST_NOT_TURNOUT_OUTPUT»(problem, interpretation, source, target); + } or { + // turnoutOutputsAreSame unit propagation + «commonParameterConstraints» + «typeIndexer.referInstanceOf(turnoutType, Modality.MUST, "source")» + «typeIndexer.referInstanceOf(segmentType, Modality.MUST, "target")» + «referRelation(divergentRelation, "source", "target", Modality.MUST, fqnToPQuery)» + } or { + // turnoutConnectedToBothOutputs unit propagation + «commonParameterConstraints» + «typeIndexer.referInstanceOf(turnoutType, Modality.MUST, "source")» + «typeIndexer.referInstanceOf(segmentType, Modality.MUST, "target")» + «typeIndexer.referInstanceOf(turnoutType, Modality.MUST, "divergent")» + «referRelation(connectedToRelation, "source", "target", Modality.MUST, fqnToPQuery)» + «referRelation(divergentRelation, "source", "divergent", Modality.MUST, fqnToPQuery)» + «referRelation(connectedToRelation, "source", "divergent", Modality.MUST, fqnToPQuery)» + } or { + // tooManyExtraInputsOfTurnout unit propagation + «commonParameterConstraints» + «typeIndexer.referInstanceOf(turnoutType, Modality.MUST, "source")» + «typeIndexer.referInstanceOf(segmentType, Modality.MUST, "target")» + «typeIndexer.referInstanceOf(segmentType, Modality.MUST, "extraInput")» + «typeIndexer.referInstanceOf(segmentType, Modality.MUST, "potentialExtraInput")» + «relationDefinitionIndexer.referPattern(fqnToPQuery.get(ExtraInputOfTurnout.instance.fullyQualifiedName), #["source", "extraInput"], Modality.MUST, true, false)» + «referRelation(connectedToRelation, "source", "potentialExtraInput", Modality.MUST, fqnToPQuery)» + neg «referRelation(divergentRelation, "source", "potentialExtraInput", Modality.MAY, fqnToPQuery)» + extraInput != potentialExtraInput; + extraInput != target; + potentialExtraInput != target; + } + + pattern «MUST_NOT_DIVERGENT»(«parameters») { + find «MUST_NOT_TURNOUT_OUTPUT»(problem, interpretation, source, target); + } or { + // turnoutOutputsAreSame unit propagation + «commonParameterConstraints» + «typeIndexer.referInstanceOf(turnoutType, Modality.MUST, "source")» + «typeIndexer.referInstanceOf(segmentType, Modality.MUST, "target")» + «referRelation(straightRelation, "source", "target", Modality.MUST, fqnToPQuery)» + } or { + // turnoutConnectedToBothOutputs unit propagation + «commonParameterConstraints» + «typeIndexer.referInstanceOf(turnoutType, Modality.MUST, "source")» + «typeIndexer.referInstanceOf(segmentType, Modality.MUST, "target")» + «typeIndexer.referInstanceOf(turnoutType, Modality.MUST, "straight")» + «referRelation(connectedToRelation, "source", "target", Modality.MUST, fqnToPQuery)» + «referRelation(straightRelation, "source", "straight", Modality.MUST, fqnToPQuery)» + «referRelation(connectedToRelation, "source", "straight", Modality.MUST, fqnToPQuery)» + } or { + // tooManyExtraInputsOfTurnout unit propagation + «commonParameterConstraints» + «typeIndexer.referInstanceOf(turnoutType, Modality.MUST, "source")» + «typeIndexer.referInstanceOf(segmentType, Modality.MUST, "target")» + «typeIndexer.referInstanceOf(segmentType, Modality.MUST, "extraInput")» + «typeIndexer.referInstanceOf(segmentType, Modality.MUST, "potentialExtraInput")» + «relationDefinitionIndexer.referPattern(fqnToPQuery.get(ExtraInputOfTurnout.instance.fullyQualifiedName), #["source", "extraInput"], Modality.MUST, true, false)» + «referRelation(connectedToRelation, "source", "potentialExtraInput", Modality.MUST, fqnToPQuery)» + neg «referRelation(straightRelation, "source", "potentialExtraInput", Modality.MAY, fqnToPQuery)» + extraInput != potentialExtraInput; + extraInput != target; + potentialExtraInput != target; + } + ''' + } +} diff --git a/Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/.gitignore b/Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/.gitignore new file mode 100644 index 00000000..e3a0ad7e --- /dev/null +++ b/Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/.gitignore @@ -0,0 +1,26 @@ +/.ConnectedToReflexive.java._trace +/.Modes3Queries.java._trace +/.StraightReflexive.java._trace +/.DivergentReflexive.java._trace +/.TurnoutOutputsAreSame.java._trace +/.Adjacent.java._trace +/.Output.java._trace +/.OutputReflexive.java._trace +/.TooManyAdjacentSegmentsOfSegment.java._trace +/.Turnout.java._trace +/.ConnectedTo.java._trace +/.TurnoutNotConnectedToOutput.java._trace +/.DisjointNetwork.java._trace +/.Reachable.java._trace +/.Unreachable.java._trace +/.TurnoutInSegments.java._trace +/.ConnectedToNotSymmetric.java._trace +/.TurnoutConnectedToBothOutputs.java._trace +/.TooManyAdjacentTurnouts.java._trace +/.NoAdjacentSegmentOfSegment.java._trace +/.TurnoutOutput.java._trace +/.NoInputOfSegment.java._trace +/.TooManyInputsOfSegment.java._trace +/.ExtraInputOfTurnout.java._trace +/.NoExtraInputOfTurnout.java._trace +/.TooManyExtraInputsOfTurnout.java._trace diff --git a/Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/Adjacent.java b/Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/Adjacent.java new file mode 100644 index 00000000..e87f9c18 --- /dev/null +++ b/Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/Adjacent.java @@ -0,0 +1,719 @@ +/** + * Generated from platform:/resource/ca.mcgill.rtgmrt.example.modes3/src/modes3/queries/Modes3Queries.vql + */ +package modes3.queries; + +import java.util.Arrays; +import java.util.Collection; +import java.util.LinkedHashSet; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import java.util.Set; +import java.util.function.Consumer; +import java.util.stream.Collectors; +import java.util.stream.Stream; +import modes3.Segment; +import modes3.queries.Output; +import modes3.queries.TurnoutOutput; +import org.apache.log4j.Logger; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.viatra.query.runtime.api.IPatternMatch; +import org.eclipse.viatra.query.runtime.api.IQuerySpecification; +import org.eclipse.viatra.query.runtime.api.ViatraQueryEngine; +import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFPQuery; +import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFQuerySpecification; +import org.eclipse.viatra.query.runtime.api.impl.BaseMatcher; +import org.eclipse.viatra.query.runtime.api.impl.BasePatternMatch; +import org.eclipse.viatra.query.runtime.emf.types.EClassTransitiveInstancesKey; +import org.eclipse.viatra.query.runtime.matchers.backend.QueryEvaluationHint; +import org.eclipse.viatra.query.runtime.matchers.psystem.PBody; +import org.eclipse.viatra.query.runtime.matchers.psystem.PVariable; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.ExportedParameter; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicenumerables.PositivePatternCall; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicenumerables.TypeConstraint; +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameter; +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameterDirection; +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PVisibility; +import org.eclipse.viatra.query.runtime.matchers.tuple.Tuple; +import org.eclipse.viatra.query.runtime.matchers.tuple.Tuples; +import org.eclipse.viatra.query.runtime.util.ViatraQueryLoggingUtil; + +/** + * A pattern-specific query specification that can instantiate Matcher in a type-safe way. + * + *

    Original source: + *

    + *         pattern adjacent(S1 : Segment, S2 : Segment) {
    + *         	find output(S1, S2);
    + *         } or {
    + *         	find turnoutOutput(S2, S1);
    + *         }
    + * 
    + * + * @see Matcher + * @see Match + * + */ +@SuppressWarnings("all") +public final class Adjacent extends BaseGeneratedEMFQuerySpecification { + /** + * Pattern-specific match representation of the modes3.queries.adjacent pattern, + * to be used in conjunction with {@link Matcher}. + * + *

    Class fields correspond to parameters of the pattern. Fields with value null are considered unassigned. + * Each instance is a (possibly partial) substitution of pattern parameters, + * usable to represent a match of the pattern in the result of a query, + * or to specify the bound (fixed) input parameters when issuing a query. + * + * @see Matcher + * + */ + public static abstract class Match extends BasePatternMatch { + private Segment fS1; + + private Segment fS2; + + private static List parameterNames = makeImmutableList("S1", "S2"); + + private Match(final Segment pS1, final Segment pS2) { + this.fS1 = pS1; + this.fS2 = pS2; + } + + @Override + public Object get(final String parameterName) { + switch(parameterName) { + case "S1": return this.fS1; + case "S2": return this.fS2; + default: return null; + } + } + + @Override + public Object get(final int index) { + switch(index) { + case 0: return this.fS1; + case 1: return this.fS2; + default: return null; + } + } + + public Segment getS1() { + return this.fS1; + } + + public Segment getS2() { + return this.fS2; + } + + @Override + public boolean set(final String parameterName, final Object newValue) { + if (!isMutable()) throw new java.lang.UnsupportedOperationException(); + if ("S1".equals(parameterName) ) { + this.fS1 = (Segment) newValue; + return true; + } + if ("S2".equals(parameterName) ) { + this.fS2 = (Segment) newValue; + return true; + } + return false; + } + + public void setS1(final Segment pS1) { + if (!isMutable()) throw new java.lang.UnsupportedOperationException(); + this.fS1 = pS1; + } + + public void setS2(final Segment pS2) { + if (!isMutable()) throw new java.lang.UnsupportedOperationException(); + this.fS2 = pS2; + } + + @Override + public String patternName() { + return "modes3.queries.adjacent"; + } + + @Override + public List parameterNames() { + return Adjacent.Match.parameterNames; + } + + @Override + public Object[] toArray() { + return new Object[]{fS1, fS2}; + } + + @Override + public Adjacent.Match toImmutable() { + return isMutable() ? newMatch(fS1, fS2) : this; + } + + @Override + public String prettyPrint() { + StringBuilder result = new StringBuilder(); + result.append("\"S1\"=" + prettyPrintValue(fS1) + ", "); + result.append("\"S2\"=" + prettyPrintValue(fS2)); + return result.toString(); + } + + @Override + public int hashCode() { + return Objects.hash(fS1, fS2); + } + + @Override + public boolean equals(final Object obj) { + if (this == obj) + return true; + if (obj == null) { + return false; + } + if ((obj instanceof Adjacent.Match)) { + Adjacent.Match other = (Adjacent.Match) obj; + return Objects.equals(fS1, other.fS1) && Objects.equals(fS2, other.fS2); + } else { + // this should be infrequent + if (!(obj instanceof IPatternMatch)) { + return false; + } + IPatternMatch otherSig = (IPatternMatch) obj; + return Objects.equals(specification(), otherSig.specification()) && Arrays.deepEquals(toArray(), otherSig.toArray()); + } + } + + @Override + public Adjacent specification() { + return Adjacent.instance(); + } + + /** + * Returns an empty, mutable match. + * Fields of the mutable match can be filled to create a partial match, usable as matcher input. + * + * @return the empty match. + * + */ + public static Adjacent.Match newEmptyMatch() { + return new Mutable(null, null); + } + + /** + * Returns a mutable (partial) match. + * Fields of the mutable match can be filled to create a partial match, usable as matcher input. + * + * @param pS1 the fixed value of pattern parameter S1, or null if not bound. + * @param pS2 the fixed value of pattern parameter S2, or null if not bound. + * @return the new, mutable (partial) match object. + * + */ + public static Adjacent.Match newMutableMatch(final Segment pS1, final Segment pS2) { + return new Mutable(pS1, pS2); + } + + /** + * Returns a new (partial) match. + * This can be used e.g. to call the matcher with a partial match. + *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. + * @param pS1 the fixed value of pattern parameter S1, or null if not bound. + * @param pS2 the fixed value of pattern parameter S2, or null if not bound. + * @return the (partial) match object. + * + */ + public static Adjacent.Match newMatch(final Segment pS1, final Segment pS2) { + return new Immutable(pS1, pS2); + } + + private static final class Mutable extends Adjacent.Match { + Mutable(final Segment pS1, final Segment pS2) { + super(pS1, pS2); + } + + @Override + public boolean isMutable() { + return true; + } + } + + private static final class Immutable extends Adjacent.Match { + Immutable(final Segment pS1, final Segment pS2) { + super(pS1, pS2); + } + + @Override + public boolean isMutable() { + return false; + } + } + } + + /** + * Generated pattern matcher API of the modes3.queries.adjacent pattern, + * providing pattern-specific query methods. + * + *

    Use the pattern matcher on a given model via {@link #on(ViatraQueryEngine)}, + * e.g. in conjunction with {@link ViatraQueryEngine#on(QueryScope)}. + * + *

    Matches of the pattern will be represented as {@link Match}. + * + *

    Original source: + *

    +   * pattern adjacent(S1 : Segment, S2 : Segment) {
    +   * 	find output(S1, S2);
    +   * } or {
    +   * 	find turnoutOutput(S2, S1);
    +   * }
    +   * 
    + * + * @see Match + * @see Adjacent + * + */ + public static class Matcher extends BaseMatcher { + /** + * Initializes the pattern matcher within an existing VIATRA Query engine. + * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. + * + * @param engine the existing VIATRA Query engine in which this matcher will be created. + * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation + * + */ + public static Adjacent.Matcher on(final ViatraQueryEngine engine) { + // check if matcher already exists + Matcher matcher = engine.getExistingMatcher(querySpecification()); + if (matcher == null) { + matcher = (Matcher)engine.getMatcher(querySpecification()); + } + return matcher; + } + + /** + * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation + * @return an initialized matcher + * @noreference This method is for internal matcher initialization by the framework, do not call it manually. + * + */ + public static Adjacent.Matcher create() { + return new Matcher(); + } + + private static final int POSITION_S1 = 0; + + private static final int POSITION_S2 = 1; + + private static final Logger LOGGER = ViatraQueryLoggingUtil.getLogger(Adjacent.Matcher.class); + + /** + * Initializes the pattern matcher within an existing VIATRA Query engine. + * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. + * + * @param engine the existing VIATRA Query engine in which this matcher will be created. + * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation + * + */ + private Matcher() { + super(querySpecification()); + } + + /** + * Returns the set of all matches of the pattern that conform to the given fixed values of some parameters. + * @param pS1 the fixed value of pattern parameter S1, or null if not bound. + * @param pS2 the fixed value of pattern parameter S2, or null if not bound. + * @return matches represented as a Match object. + * + */ + public Collection getAllMatches(final Segment pS1, final Segment pS2) { + return rawStreamAllMatches(new Object[]{pS1, pS2}).collect(Collectors.toSet()); + } + + /** + * Returns a stream of all matches of the pattern that conform to the given fixed values of some parameters. + *

    + * NOTE: It is important not to modify the source model while the stream is being processed. + * If the match set of the pattern changes during processing, the contents of the stream is undefined. + * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. + * @param pS1 the fixed value of pattern parameter S1, or null if not bound. + * @param pS2 the fixed value of pattern parameter S2, or null if not bound. + * @return a stream of matches represented as a Match object. + * + */ + public Stream streamAllMatches(final Segment pS1, final Segment pS2) { + return rawStreamAllMatches(new Object[]{pS1, pS2}); + } + + /** + * Returns an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. + * Neither determinism nor randomness of selection is guaranteed. + * @param pS1 the fixed value of pattern parameter S1, or null if not bound. + * @param pS2 the fixed value of pattern parameter S2, or null if not bound. + * @return a match represented as a Match object, or null if no match is found. + * + */ + public Optional getOneArbitraryMatch(final Segment pS1, final Segment pS2) { + return rawGetOneArbitraryMatch(new Object[]{pS1, pS2}); + } + + /** + * Indicates whether the given combination of specified pattern parameters constitute a valid pattern match, + * under any possible substitution of the unspecified parameters (if any). + * @param pS1 the fixed value of pattern parameter S1, or null if not bound. + * @param pS2 the fixed value of pattern parameter S2, or null if not bound. + * @return true if the input is a valid (partial) match of the pattern. + * + */ + public boolean hasMatch(final Segment pS1, final Segment pS2) { + return rawHasMatch(new Object[]{pS1, pS2}); + } + + /** + * Returns the number of all matches of the pattern that conform to the given fixed values of some parameters. + * @param pS1 the fixed value of pattern parameter S1, or null if not bound. + * @param pS2 the fixed value of pattern parameter S2, or null if not bound. + * @return the number of pattern matches found. + * + */ + public int countMatches(final Segment pS1, final Segment pS2) { + return rawCountMatches(new Object[]{pS1, pS2}); + } + + /** + * Executes the given processor on an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. + * Neither determinism nor randomness of selection is guaranteed. + * @param pS1 the fixed value of pattern parameter S1, or null if not bound. + * @param pS2 the fixed value of pattern parameter S2, or null if not bound. + * @param processor the action that will process the selected match. + * @return true if the pattern has at least one match with the given parameter values, false if the processor was not invoked + * + */ + public boolean forOneArbitraryMatch(final Segment pS1, final Segment pS2, final Consumer processor) { + return rawForOneArbitraryMatch(new Object[]{pS1, pS2}, processor); + } + + /** + * Returns a new (partial) match. + * This can be used e.g. to call the matcher with a partial match. + *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. + * @param pS1 the fixed value of pattern parameter S1, or null if not bound. + * @param pS2 the fixed value of pattern parameter S2, or null if not bound. + * @return the (partial) match object. + * + */ + public Adjacent.Match newMatch(final Segment pS1, final Segment pS2) { + return Adjacent.Match.newMatch(pS1, pS2); + } + + /** + * Retrieve the set of values that occur in matches for S1. + * @return the Set of all values or empty set if there are no matches + * + */ + protected Stream rawStreamAllValuesOfS1(final Object[] parameters) { + return rawStreamAllValues(POSITION_S1, parameters).map(Segment.class::cast); + } + + /** + * Retrieve the set of values that occur in matches for S1. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOfS1() { + return rawStreamAllValuesOfS1(emptyArray()).collect(Collectors.toSet()); + } + + /** + * Retrieve the set of values that occur in matches for S1. + * @return the Set of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOfS1() { + return rawStreamAllValuesOfS1(emptyArray()); + } + + /** + * Retrieve the set of values that occur in matches for S1. + *

    + * NOTE: It is important not to modify the source model while the stream is being processed. + * If the match set of the pattern changes during processing, the contents of the stream is undefined. + * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. + * + * @return the Stream of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOfS1(final Adjacent.Match partialMatch) { + return rawStreamAllValuesOfS1(partialMatch.toArray()); + } + + /** + * Retrieve the set of values that occur in matches for S1. + *

    + * NOTE: It is important not to modify the source model while the stream is being processed. + * If the match set of the pattern changes during processing, the contents of the stream is undefined. + * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. + * + * @return the Stream of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOfS1(final Segment pS2) { + return rawStreamAllValuesOfS1(new Object[]{null, pS2}); + } + + /** + * Retrieve the set of values that occur in matches for S1. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOfS1(final Adjacent.Match partialMatch) { + return rawStreamAllValuesOfS1(partialMatch.toArray()).collect(Collectors.toSet()); + } + + /** + * Retrieve the set of values that occur in matches for S1. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOfS1(final Segment pS2) { + return rawStreamAllValuesOfS1(new Object[]{null, pS2}).collect(Collectors.toSet()); + } + + /** + * Retrieve the set of values that occur in matches for S2. + * @return the Set of all values or empty set if there are no matches + * + */ + protected Stream rawStreamAllValuesOfS2(final Object[] parameters) { + return rawStreamAllValues(POSITION_S2, parameters).map(Segment.class::cast); + } + + /** + * Retrieve the set of values that occur in matches for S2. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOfS2() { + return rawStreamAllValuesOfS2(emptyArray()).collect(Collectors.toSet()); + } + + /** + * Retrieve the set of values that occur in matches for S2. + * @return the Set of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOfS2() { + return rawStreamAllValuesOfS2(emptyArray()); + } + + /** + * Retrieve the set of values that occur in matches for S2. + *

    + * NOTE: It is important not to modify the source model while the stream is being processed. + * If the match set of the pattern changes during processing, the contents of the stream is undefined. + * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. + * + * @return the Stream of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOfS2(final Adjacent.Match partialMatch) { + return rawStreamAllValuesOfS2(partialMatch.toArray()); + } + + /** + * Retrieve the set of values that occur in matches for S2. + *

    + * NOTE: It is important not to modify the source model while the stream is being processed. + * If the match set of the pattern changes during processing, the contents of the stream is undefined. + * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. + * + * @return the Stream of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOfS2(final Segment pS1) { + return rawStreamAllValuesOfS2(new Object[]{pS1, null}); + } + + /** + * Retrieve the set of values that occur in matches for S2. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOfS2(final Adjacent.Match partialMatch) { + return rawStreamAllValuesOfS2(partialMatch.toArray()).collect(Collectors.toSet()); + } + + /** + * Retrieve the set of values that occur in matches for S2. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOfS2(final Segment pS1) { + return rawStreamAllValuesOfS2(new Object[]{pS1, null}).collect(Collectors.toSet()); + } + + @Override + protected Adjacent.Match tupleToMatch(final Tuple t) { + try { + return Adjacent.Match.newMatch((Segment) t.get(POSITION_S1), (Segment) t.get(POSITION_S2)); + } catch(ClassCastException e) { + LOGGER.error("Element(s) in tuple not properly typed!",e); + return null; + } + } + + @Override + protected Adjacent.Match arrayToMatch(final Object[] match) { + try { + return Adjacent.Match.newMatch((Segment) match[POSITION_S1], (Segment) match[POSITION_S2]); + } catch(ClassCastException e) { + LOGGER.error("Element(s) in array not properly typed!",e); + return null; + } + } + + @Override + protected Adjacent.Match arrayToMatchMutable(final Object[] match) { + try { + return Adjacent.Match.newMutableMatch((Segment) match[POSITION_S1], (Segment) match[POSITION_S2]); + } catch(ClassCastException e) { + LOGGER.error("Element(s) in array not properly typed!",e); + return null; + } + } + + /** + * @return the singleton instance of the query specification of this pattern + * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded + * + */ + public static IQuerySpecification querySpecification() { + return Adjacent.instance(); + } + } + + private Adjacent() { + super(GeneratedPQuery.INSTANCE); + } + + /** + * @return the singleton instance of the query specification + * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded + * + */ + public static Adjacent instance() { + try{ + return LazyHolder.INSTANCE; + } catch (ExceptionInInitializerError err) { + throw processInitializerError(err); + } + } + + @Override + protected Adjacent.Matcher instantiate(final ViatraQueryEngine engine) { + return Adjacent.Matcher.on(engine); + } + + @Override + public Adjacent.Matcher instantiate() { + return Adjacent.Matcher.create(); + } + + @Override + public Adjacent.Match newEmptyMatch() { + return Adjacent.Match.newEmptyMatch(); + } + + @Override + public Adjacent.Match newMatch(final Object... parameters) { + return Adjacent.Match.newMatch((modes3.Segment) parameters[0], (modes3.Segment) parameters[1]); + } + + /** + * Inner class allowing the singleton instance of {@link Adjacent} to be created + * not at the class load time of the outer class, + * but rather at the first call to {@link Adjacent#instance()}. + * + *

    This workaround is required e.g. to support recursion. + * + */ + private static class LazyHolder { + private static final Adjacent INSTANCE = new Adjacent(); + + /** + * Statically initializes the query specification after the field {@link #INSTANCE} is assigned. + * This initialization order is required to support indirect recursion. + * + *

    The static initializer is defined using a helper field to work around limitations of the code generator. + * + */ + private static final Object STATIC_INITIALIZER = ensureInitialized(); + + public static Object ensureInitialized() { + INSTANCE.ensureInitializedInternal(); + return null; + } + } + + private static class GeneratedPQuery extends BaseGeneratedEMFPQuery { + private static final Adjacent.GeneratedPQuery INSTANCE = new GeneratedPQuery(); + + private final PParameter parameter_S1 = new PParameter("S1", "modes3.Segment", new EClassTransitiveInstancesKey((EClass)getClassifierLiteralSafe("http://www.ece.mcgill.ca/wcet/modes3", "Segment")), PParameterDirection.INOUT); + + private final PParameter parameter_S2 = new PParameter("S2", "modes3.Segment", new EClassTransitiveInstancesKey((EClass)getClassifierLiteralSafe("http://www.ece.mcgill.ca/wcet/modes3", "Segment")), PParameterDirection.INOUT); + + private final List parameters = Arrays.asList(parameter_S1, parameter_S2); + + private GeneratedPQuery() { + super(PVisibility.PUBLIC); + } + + @Override + public String getFullyQualifiedName() { + return "modes3.queries.adjacent"; + } + + @Override + public List getParameterNames() { + return Arrays.asList("S1","S2"); + } + + @Override + public List getParameters() { + return parameters; + } + + @Override + public Set doGetContainedBodies() { + setEvaluationHints(new QueryEvaluationHint(null, QueryEvaluationHint.BackendRequirement.UNSPECIFIED)); + Set bodies = new LinkedHashSet<>(); + { + PBody body = new PBody(this); + PVariable var_S1 = body.getOrCreateVariableByName("S1"); + PVariable var_S2 = body.getOrCreateVariableByName("S2"); + new TypeConstraint(body, Tuples.flatTupleOf(var_S1), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.ece.mcgill.ca/wcet/modes3", "Segment"))); + new TypeConstraint(body, Tuples.flatTupleOf(var_S2), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.ece.mcgill.ca/wcet/modes3", "Segment"))); + body.setSymbolicParameters(Arrays.asList( + new ExportedParameter(body, var_S1, parameter_S1), + new ExportedParameter(body, var_S2, parameter_S2) + )); + // find output(S1, S2) + new PositivePatternCall(body, Tuples.flatTupleOf(var_S1, var_S2), Output.instance().getInternalQueryRepresentation()); + bodies.add(body); + } + { + PBody body = new PBody(this); + PVariable var_S1 = body.getOrCreateVariableByName("S1"); + PVariable var_S2 = body.getOrCreateVariableByName("S2"); + new TypeConstraint(body, Tuples.flatTupleOf(var_S1), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.ece.mcgill.ca/wcet/modes3", "Segment"))); + new TypeConstraint(body, Tuples.flatTupleOf(var_S2), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.ece.mcgill.ca/wcet/modes3", "Segment"))); + body.setSymbolicParameters(Arrays.asList( + new ExportedParameter(body, var_S1, parameter_S1), + new ExportedParameter(body, var_S2, parameter_S2) + )); + // find turnoutOutput(S2, S1) + new PositivePatternCall(body, Tuples.flatTupleOf(var_S2, var_S1), TurnoutOutput.instance().getInternalQueryRepresentation()); + bodies.add(body); + } + return bodies; + } + } +} diff --git a/Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/ConnectedTo.java b/Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/ConnectedTo.java new file mode 100644 index 00000000..a0f14958 --- /dev/null +++ b/Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/ConnectedTo.java @@ -0,0 +1,704 @@ +/** + * Generated from platform:/resource/ca.mcgill.rtgmrt.example.modes3/src/modes3/queries/Modes3Queries.vql + */ +package modes3.queries; + +import java.util.Arrays; +import java.util.Collection; +import java.util.LinkedHashSet; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import java.util.Set; +import java.util.function.Consumer; +import java.util.stream.Collectors; +import java.util.stream.Stream; +import modes3.Segment; +import org.apache.log4j.Logger; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.viatra.query.runtime.api.IPatternMatch; +import org.eclipse.viatra.query.runtime.api.IQuerySpecification; +import org.eclipse.viatra.query.runtime.api.ViatraQueryEngine; +import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFPQuery; +import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFQuerySpecification; +import org.eclipse.viatra.query.runtime.api.impl.BaseMatcher; +import org.eclipse.viatra.query.runtime.api.impl.BasePatternMatch; +import org.eclipse.viatra.query.runtime.emf.types.EClassTransitiveInstancesKey; +import org.eclipse.viatra.query.runtime.emf.types.EStructuralFeatureInstancesKey; +import org.eclipse.viatra.query.runtime.matchers.backend.QueryEvaluationHint; +import org.eclipse.viatra.query.runtime.matchers.psystem.PBody; +import org.eclipse.viatra.query.runtime.matchers.psystem.PVariable; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.Equality; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.ExportedParameter; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicenumerables.TypeConstraint; +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameter; +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameterDirection; +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PVisibility; +import org.eclipse.viatra.query.runtime.matchers.tuple.Tuple; +import org.eclipse.viatra.query.runtime.matchers.tuple.Tuples; +import org.eclipse.viatra.query.runtime.util.ViatraQueryLoggingUtil; + +/** + * A pattern-specific query specification that can instantiate Matcher in a type-safe way. + * + *

    Original source: + *

    + *         pattern connectedTo(S1 : Segment, S2 : Segment) {
    + *         	Segment.connectedTo(S1, S2);
    + *         }
    + * 
    + * + * @see Matcher + * @see Match + * + */ +@SuppressWarnings("all") +public final class ConnectedTo extends BaseGeneratedEMFQuerySpecification { + /** + * Pattern-specific match representation of the modes3.queries.connectedTo pattern, + * to be used in conjunction with {@link Matcher}. + * + *

    Class fields correspond to parameters of the pattern. Fields with value null are considered unassigned. + * Each instance is a (possibly partial) substitution of pattern parameters, + * usable to represent a match of the pattern in the result of a query, + * or to specify the bound (fixed) input parameters when issuing a query. + * + * @see Matcher + * + */ + public static abstract class Match extends BasePatternMatch { + private Segment fS1; + + private Segment fS2; + + private static List parameterNames = makeImmutableList("S1", "S2"); + + private Match(final Segment pS1, final Segment pS2) { + this.fS1 = pS1; + this.fS2 = pS2; + } + + @Override + public Object get(final String parameterName) { + switch(parameterName) { + case "S1": return this.fS1; + case "S2": return this.fS2; + default: return null; + } + } + + @Override + public Object get(final int index) { + switch(index) { + case 0: return this.fS1; + case 1: return this.fS2; + default: return null; + } + } + + public Segment getS1() { + return this.fS1; + } + + public Segment getS2() { + return this.fS2; + } + + @Override + public boolean set(final String parameterName, final Object newValue) { + if (!isMutable()) throw new java.lang.UnsupportedOperationException(); + if ("S1".equals(parameterName) ) { + this.fS1 = (Segment) newValue; + return true; + } + if ("S2".equals(parameterName) ) { + this.fS2 = (Segment) newValue; + return true; + } + return false; + } + + public void setS1(final Segment pS1) { + if (!isMutable()) throw new java.lang.UnsupportedOperationException(); + this.fS1 = pS1; + } + + public void setS2(final Segment pS2) { + if (!isMutable()) throw new java.lang.UnsupportedOperationException(); + this.fS2 = pS2; + } + + @Override + public String patternName() { + return "modes3.queries.connectedTo"; + } + + @Override + public List parameterNames() { + return ConnectedTo.Match.parameterNames; + } + + @Override + public Object[] toArray() { + return new Object[]{fS1, fS2}; + } + + @Override + public ConnectedTo.Match toImmutable() { + return isMutable() ? newMatch(fS1, fS2) : this; + } + + @Override + public String prettyPrint() { + StringBuilder result = new StringBuilder(); + result.append("\"S1\"=" + prettyPrintValue(fS1) + ", "); + result.append("\"S2\"=" + prettyPrintValue(fS2)); + return result.toString(); + } + + @Override + public int hashCode() { + return Objects.hash(fS1, fS2); + } + + @Override + public boolean equals(final Object obj) { + if (this == obj) + return true; + if (obj == null) { + return false; + } + if ((obj instanceof ConnectedTo.Match)) { + ConnectedTo.Match other = (ConnectedTo.Match) obj; + return Objects.equals(fS1, other.fS1) && Objects.equals(fS2, other.fS2); + } else { + // this should be infrequent + if (!(obj instanceof IPatternMatch)) { + return false; + } + IPatternMatch otherSig = (IPatternMatch) obj; + return Objects.equals(specification(), otherSig.specification()) && Arrays.deepEquals(toArray(), otherSig.toArray()); + } + } + + @Override + public ConnectedTo specification() { + return ConnectedTo.instance(); + } + + /** + * Returns an empty, mutable match. + * Fields of the mutable match can be filled to create a partial match, usable as matcher input. + * + * @return the empty match. + * + */ + public static ConnectedTo.Match newEmptyMatch() { + return new Mutable(null, null); + } + + /** + * Returns a mutable (partial) match. + * Fields of the mutable match can be filled to create a partial match, usable as matcher input. + * + * @param pS1 the fixed value of pattern parameter S1, or null if not bound. + * @param pS2 the fixed value of pattern parameter S2, or null if not bound. + * @return the new, mutable (partial) match object. + * + */ + public static ConnectedTo.Match newMutableMatch(final Segment pS1, final Segment pS2) { + return new Mutable(pS1, pS2); + } + + /** + * Returns a new (partial) match. + * This can be used e.g. to call the matcher with a partial match. + *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. + * @param pS1 the fixed value of pattern parameter S1, or null if not bound. + * @param pS2 the fixed value of pattern parameter S2, or null if not bound. + * @return the (partial) match object. + * + */ + public static ConnectedTo.Match newMatch(final Segment pS1, final Segment pS2) { + return new Immutable(pS1, pS2); + } + + private static final class Mutable extends ConnectedTo.Match { + Mutable(final Segment pS1, final Segment pS2) { + super(pS1, pS2); + } + + @Override + public boolean isMutable() { + return true; + } + } + + private static final class Immutable extends ConnectedTo.Match { + Immutable(final Segment pS1, final Segment pS2) { + super(pS1, pS2); + } + + @Override + public boolean isMutable() { + return false; + } + } + } + + /** + * Generated pattern matcher API of the modes3.queries.connectedTo pattern, + * providing pattern-specific query methods. + * + *

    Use the pattern matcher on a given model via {@link #on(ViatraQueryEngine)}, + * e.g. in conjunction with {@link ViatraQueryEngine#on(QueryScope)}. + * + *

    Matches of the pattern will be represented as {@link Match}. + * + *

    Original source: + *

    +   * pattern connectedTo(S1 : Segment, S2 : Segment) {
    +   * 	Segment.connectedTo(S1, S2);
    +   * }
    +   * 
    + * + * @see Match + * @see ConnectedTo + * + */ + public static class Matcher extends BaseMatcher { + /** + * Initializes the pattern matcher within an existing VIATRA Query engine. + * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. + * + * @param engine the existing VIATRA Query engine in which this matcher will be created. + * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation + * + */ + public static ConnectedTo.Matcher on(final ViatraQueryEngine engine) { + // check if matcher already exists + Matcher matcher = engine.getExistingMatcher(querySpecification()); + if (matcher == null) { + matcher = (Matcher)engine.getMatcher(querySpecification()); + } + return matcher; + } + + /** + * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation + * @return an initialized matcher + * @noreference This method is for internal matcher initialization by the framework, do not call it manually. + * + */ + public static ConnectedTo.Matcher create() { + return new Matcher(); + } + + private static final int POSITION_S1 = 0; + + private static final int POSITION_S2 = 1; + + private static final Logger LOGGER = ViatraQueryLoggingUtil.getLogger(ConnectedTo.Matcher.class); + + /** + * Initializes the pattern matcher within an existing VIATRA Query engine. + * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. + * + * @param engine the existing VIATRA Query engine in which this matcher will be created. + * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation + * + */ + private Matcher() { + super(querySpecification()); + } + + /** + * Returns the set of all matches of the pattern that conform to the given fixed values of some parameters. + * @param pS1 the fixed value of pattern parameter S1, or null if not bound. + * @param pS2 the fixed value of pattern parameter S2, or null if not bound. + * @return matches represented as a Match object. + * + */ + public Collection getAllMatches(final Segment pS1, final Segment pS2) { + return rawStreamAllMatches(new Object[]{pS1, pS2}).collect(Collectors.toSet()); + } + + /** + * Returns a stream of all matches of the pattern that conform to the given fixed values of some parameters. + *

    + * NOTE: It is important not to modify the source model while the stream is being processed. + * If the match set of the pattern changes during processing, the contents of the stream is undefined. + * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. + * @param pS1 the fixed value of pattern parameter S1, or null if not bound. + * @param pS2 the fixed value of pattern parameter S2, or null if not bound. + * @return a stream of matches represented as a Match object. + * + */ + public Stream streamAllMatches(final Segment pS1, final Segment pS2) { + return rawStreamAllMatches(new Object[]{pS1, pS2}); + } + + /** + * Returns an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. + * Neither determinism nor randomness of selection is guaranteed. + * @param pS1 the fixed value of pattern parameter S1, or null if not bound. + * @param pS2 the fixed value of pattern parameter S2, or null if not bound. + * @return a match represented as a Match object, or null if no match is found. + * + */ + public Optional getOneArbitraryMatch(final Segment pS1, final Segment pS2) { + return rawGetOneArbitraryMatch(new Object[]{pS1, pS2}); + } + + /** + * Indicates whether the given combination of specified pattern parameters constitute a valid pattern match, + * under any possible substitution of the unspecified parameters (if any). + * @param pS1 the fixed value of pattern parameter S1, or null if not bound. + * @param pS2 the fixed value of pattern parameter S2, or null if not bound. + * @return true if the input is a valid (partial) match of the pattern. + * + */ + public boolean hasMatch(final Segment pS1, final Segment pS2) { + return rawHasMatch(new Object[]{pS1, pS2}); + } + + /** + * Returns the number of all matches of the pattern that conform to the given fixed values of some parameters. + * @param pS1 the fixed value of pattern parameter S1, or null if not bound. + * @param pS2 the fixed value of pattern parameter S2, or null if not bound. + * @return the number of pattern matches found. + * + */ + public int countMatches(final Segment pS1, final Segment pS2) { + return rawCountMatches(new Object[]{pS1, pS2}); + } + + /** + * Executes the given processor on an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. + * Neither determinism nor randomness of selection is guaranteed. + * @param pS1 the fixed value of pattern parameter S1, or null if not bound. + * @param pS2 the fixed value of pattern parameter S2, or null if not bound. + * @param processor the action that will process the selected match. + * @return true if the pattern has at least one match with the given parameter values, false if the processor was not invoked + * + */ + public boolean forOneArbitraryMatch(final Segment pS1, final Segment pS2, final Consumer processor) { + return rawForOneArbitraryMatch(new Object[]{pS1, pS2}, processor); + } + + /** + * Returns a new (partial) match. + * This can be used e.g. to call the matcher with a partial match. + *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. + * @param pS1 the fixed value of pattern parameter S1, or null if not bound. + * @param pS2 the fixed value of pattern parameter S2, or null if not bound. + * @return the (partial) match object. + * + */ + public ConnectedTo.Match newMatch(final Segment pS1, final Segment pS2) { + return ConnectedTo.Match.newMatch(pS1, pS2); + } + + /** + * Retrieve the set of values that occur in matches for S1. + * @return the Set of all values or empty set if there are no matches + * + */ + protected Stream rawStreamAllValuesOfS1(final Object[] parameters) { + return rawStreamAllValues(POSITION_S1, parameters).map(Segment.class::cast); + } + + /** + * Retrieve the set of values that occur in matches for S1. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOfS1() { + return rawStreamAllValuesOfS1(emptyArray()).collect(Collectors.toSet()); + } + + /** + * Retrieve the set of values that occur in matches for S1. + * @return the Set of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOfS1() { + return rawStreamAllValuesOfS1(emptyArray()); + } + + /** + * Retrieve the set of values that occur in matches for S1. + *

    + * NOTE: It is important not to modify the source model while the stream is being processed. + * If the match set of the pattern changes during processing, the contents of the stream is undefined. + * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. + * + * @return the Stream of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOfS1(final ConnectedTo.Match partialMatch) { + return rawStreamAllValuesOfS1(partialMatch.toArray()); + } + + /** + * Retrieve the set of values that occur in matches for S1. + *

    + * NOTE: It is important not to modify the source model while the stream is being processed. + * If the match set of the pattern changes during processing, the contents of the stream is undefined. + * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. + * + * @return the Stream of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOfS1(final Segment pS2) { + return rawStreamAllValuesOfS1(new Object[]{null, pS2}); + } + + /** + * Retrieve the set of values that occur in matches for S1. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOfS1(final ConnectedTo.Match partialMatch) { + return rawStreamAllValuesOfS1(partialMatch.toArray()).collect(Collectors.toSet()); + } + + /** + * Retrieve the set of values that occur in matches for S1. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOfS1(final Segment pS2) { + return rawStreamAllValuesOfS1(new Object[]{null, pS2}).collect(Collectors.toSet()); + } + + /** + * Retrieve the set of values that occur in matches for S2. + * @return the Set of all values or empty set if there are no matches + * + */ + protected Stream rawStreamAllValuesOfS2(final Object[] parameters) { + return rawStreamAllValues(POSITION_S2, parameters).map(Segment.class::cast); + } + + /** + * Retrieve the set of values that occur in matches for S2. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOfS2() { + return rawStreamAllValuesOfS2(emptyArray()).collect(Collectors.toSet()); + } + + /** + * Retrieve the set of values that occur in matches for S2. + * @return the Set of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOfS2() { + return rawStreamAllValuesOfS2(emptyArray()); + } + + /** + * Retrieve the set of values that occur in matches for S2. + *

    + * NOTE: It is important not to modify the source model while the stream is being processed. + * If the match set of the pattern changes during processing, the contents of the stream is undefined. + * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. + * + * @return the Stream of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOfS2(final ConnectedTo.Match partialMatch) { + return rawStreamAllValuesOfS2(partialMatch.toArray()); + } + + /** + * Retrieve the set of values that occur in matches for S2. + *

    + * NOTE: It is important not to modify the source model while the stream is being processed. + * If the match set of the pattern changes during processing, the contents of the stream is undefined. + * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. + * + * @return the Stream of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOfS2(final Segment pS1) { + return rawStreamAllValuesOfS2(new Object[]{pS1, null}); + } + + /** + * Retrieve the set of values that occur in matches for S2. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOfS2(final ConnectedTo.Match partialMatch) { + return rawStreamAllValuesOfS2(partialMatch.toArray()).collect(Collectors.toSet()); + } + + /** + * Retrieve the set of values that occur in matches for S2. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOfS2(final Segment pS1) { + return rawStreamAllValuesOfS2(new Object[]{pS1, null}).collect(Collectors.toSet()); + } + + @Override + protected ConnectedTo.Match tupleToMatch(final Tuple t) { + try { + return ConnectedTo.Match.newMatch((Segment) t.get(POSITION_S1), (Segment) t.get(POSITION_S2)); + } catch(ClassCastException e) { + LOGGER.error("Element(s) in tuple not properly typed!",e); + return null; + } + } + + @Override + protected ConnectedTo.Match arrayToMatch(final Object[] match) { + try { + return ConnectedTo.Match.newMatch((Segment) match[POSITION_S1], (Segment) match[POSITION_S2]); + } catch(ClassCastException e) { + LOGGER.error("Element(s) in array not properly typed!",e); + return null; + } + } + + @Override + protected ConnectedTo.Match arrayToMatchMutable(final Object[] match) { + try { + return ConnectedTo.Match.newMutableMatch((Segment) match[POSITION_S1], (Segment) match[POSITION_S2]); + } catch(ClassCastException e) { + LOGGER.error("Element(s) in array not properly typed!",e); + return null; + } + } + + /** + * @return the singleton instance of the query specification of this pattern + * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded + * + */ + public static IQuerySpecification querySpecification() { + return ConnectedTo.instance(); + } + } + + private ConnectedTo() { + super(GeneratedPQuery.INSTANCE); + } + + /** + * @return the singleton instance of the query specification + * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded + * + */ + public static ConnectedTo instance() { + try{ + return LazyHolder.INSTANCE; + } catch (ExceptionInInitializerError err) { + throw processInitializerError(err); + } + } + + @Override + protected ConnectedTo.Matcher instantiate(final ViatraQueryEngine engine) { + return ConnectedTo.Matcher.on(engine); + } + + @Override + public ConnectedTo.Matcher instantiate() { + return ConnectedTo.Matcher.create(); + } + + @Override + public ConnectedTo.Match newEmptyMatch() { + return ConnectedTo.Match.newEmptyMatch(); + } + + @Override + public ConnectedTo.Match newMatch(final Object... parameters) { + return ConnectedTo.Match.newMatch((modes3.Segment) parameters[0], (modes3.Segment) parameters[1]); + } + + /** + * Inner class allowing the singleton instance of {@link ConnectedTo} to be created + * not at the class load time of the outer class, + * but rather at the first call to {@link ConnectedTo#instance()}. + * + *

    This workaround is required e.g. to support recursion. + * + */ + private static class LazyHolder { + private static final ConnectedTo INSTANCE = new ConnectedTo(); + + /** + * Statically initializes the query specification after the field {@link #INSTANCE} is assigned. + * This initialization order is required to support indirect recursion. + * + *

    The static initializer is defined using a helper field to work around limitations of the code generator. + * + */ + private static final Object STATIC_INITIALIZER = ensureInitialized(); + + public static Object ensureInitialized() { + INSTANCE.ensureInitializedInternal(); + return null; + } + } + + private static class GeneratedPQuery extends BaseGeneratedEMFPQuery { + private static final ConnectedTo.GeneratedPQuery INSTANCE = new GeneratedPQuery(); + + private final PParameter parameter_S1 = new PParameter("S1", "modes3.Segment", new EClassTransitiveInstancesKey((EClass)getClassifierLiteralSafe("http://www.ece.mcgill.ca/wcet/modes3", "Segment")), PParameterDirection.INOUT); + + private final PParameter parameter_S2 = new PParameter("S2", "modes3.Segment", new EClassTransitiveInstancesKey((EClass)getClassifierLiteralSafe("http://www.ece.mcgill.ca/wcet/modes3", "Segment")), PParameterDirection.INOUT); + + private final List parameters = Arrays.asList(parameter_S1, parameter_S2); + + private GeneratedPQuery() { + super(PVisibility.PUBLIC); + } + + @Override + public String getFullyQualifiedName() { + return "modes3.queries.connectedTo"; + } + + @Override + public List getParameterNames() { + return Arrays.asList("S1","S2"); + } + + @Override + public List getParameters() { + return parameters; + } + + @Override + public Set doGetContainedBodies() { + setEvaluationHints(new QueryEvaluationHint(null, QueryEvaluationHint.BackendRequirement.UNSPECIFIED)); + Set bodies = new LinkedHashSet<>(); + { + PBody body = new PBody(this); + PVariable var_S1 = body.getOrCreateVariableByName("S1"); + PVariable var_S2 = body.getOrCreateVariableByName("S2"); + new TypeConstraint(body, Tuples.flatTupleOf(var_S1), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.ece.mcgill.ca/wcet/modes3", "Segment"))); + new TypeConstraint(body, Tuples.flatTupleOf(var_S2), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.ece.mcgill.ca/wcet/modes3", "Segment"))); + body.setSymbolicParameters(Arrays.asList( + new ExportedParameter(body, var_S1, parameter_S1), + new ExportedParameter(body, var_S2, parameter_S2) + )); + // Segment.connectedTo(S1, S2) + new TypeConstraint(body, Tuples.flatTupleOf(var_S1), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.ece.mcgill.ca/wcet/modes3", "Segment"))); + PVariable var__virtual_0_ = body.getOrCreateVariableByName(".virtual{0}"); + new TypeConstraint(body, Tuples.flatTupleOf(var_S1, var__virtual_0_), new EStructuralFeatureInstancesKey(getFeatureLiteral("http://www.ece.mcgill.ca/wcet/modes3", "Segment", "connectedTo"))); + new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_0_), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.ece.mcgill.ca/wcet/modes3", "Segment"))); + new Equality(body, var__virtual_0_, var_S2); + bodies.add(body); + } + return bodies; + } + } +} diff --git a/Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/ConnectedToNotSymmetric.java b/Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/ConnectedToNotSymmetric.java new file mode 100644 index 00000000..91b74c7e --- /dev/null +++ b/Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/ConnectedToNotSymmetric.java @@ -0,0 +1,724 @@ +/** + * Generated from platform:/resource/ca.mcgill.rtgmrt.example.modes3/src/modes3/queries/Modes3Queries.vql + */ +package modes3.queries; + +import java.util.Arrays; +import java.util.Collection; +import java.util.LinkedHashSet; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import java.util.Set; +import java.util.function.Consumer; +import java.util.stream.Collectors; +import java.util.stream.Stream; +import modes3.Segment; +import modes3.queries.ConnectedTo; +import org.apache.log4j.Logger; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.viatra.query.runtime.api.IPatternMatch; +import org.eclipse.viatra.query.runtime.api.IQuerySpecification; +import org.eclipse.viatra.query.runtime.api.ViatraQueryEngine; +import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFPQuery; +import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFQuerySpecification; +import org.eclipse.viatra.query.runtime.api.impl.BaseMatcher; +import org.eclipse.viatra.query.runtime.api.impl.BasePatternMatch; +import org.eclipse.viatra.query.runtime.emf.types.EClassTransitiveInstancesKey; +import org.eclipse.viatra.query.runtime.emf.types.EStructuralFeatureInstancesKey; +import org.eclipse.viatra.query.runtime.matchers.backend.QueryEvaluationHint; +import org.eclipse.viatra.query.runtime.matchers.psystem.PBody; +import org.eclipse.viatra.query.runtime.matchers.psystem.PVariable; +import org.eclipse.viatra.query.runtime.matchers.psystem.annotations.PAnnotation; +import org.eclipse.viatra.query.runtime.matchers.psystem.annotations.ParameterReference; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.Equality; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.ExportedParameter; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.NegativePatternCall; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicenumerables.TypeConstraint; +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameter; +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameterDirection; +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PVisibility; +import org.eclipse.viatra.query.runtime.matchers.tuple.Tuple; +import org.eclipse.viatra.query.runtime.matchers.tuple.Tuples; +import org.eclipse.viatra.query.runtime.util.ViatraQueryLoggingUtil; + +/** + * A pattern-specific query specification that can instantiate Matcher in a type-safe way. + * + *

    Original source: + *

    + *         {@literal @}Constraint(message = "connectedToNotSymmetric", severity = "error", key = { S1, S2 })
    + *         pattern connectedToNotSymmetric(S1 : Segment, S2 : Segment) {
    + *         	Segment.connectedTo(S1, S2);
    + *         	neg find connectedTo(S2, S1);
    + *         }
    + * 
    + * + * @see Matcher + * @see Match + * + */ +@SuppressWarnings("all") +public final class ConnectedToNotSymmetric extends BaseGeneratedEMFQuerySpecification { + /** + * Pattern-specific match representation of the modes3.queries.connectedToNotSymmetric pattern, + * to be used in conjunction with {@link Matcher}. + * + *

    Class fields correspond to parameters of the pattern. Fields with value null are considered unassigned. + * Each instance is a (possibly partial) substitution of pattern parameters, + * usable to represent a match of the pattern in the result of a query, + * or to specify the bound (fixed) input parameters when issuing a query. + * + * @see Matcher + * + */ + public static abstract class Match extends BasePatternMatch { + private Segment fS1; + + private Segment fS2; + + private static List parameterNames = makeImmutableList("S1", "S2"); + + private Match(final Segment pS1, final Segment pS2) { + this.fS1 = pS1; + this.fS2 = pS2; + } + + @Override + public Object get(final String parameterName) { + switch(parameterName) { + case "S1": return this.fS1; + case "S2": return this.fS2; + default: return null; + } + } + + @Override + public Object get(final int index) { + switch(index) { + case 0: return this.fS1; + case 1: return this.fS2; + default: return null; + } + } + + public Segment getS1() { + return this.fS1; + } + + public Segment getS2() { + return this.fS2; + } + + @Override + public boolean set(final String parameterName, final Object newValue) { + if (!isMutable()) throw new java.lang.UnsupportedOperationException(); + if ("S1".equals(parameterName) ) { + this.fS1 = (Segment) newValue; + return true; + } + if ("S2".equals(parameterName) ) { + this.fS2 = (Segment) newValue; + return true; + } + return false; + } + + public void setS1(final Segment pS1) { + if (!isMutable()) throw new java.lang.UnsupportedOperationException(); + this.fS1 = pS1; + } + + public void setS2(final Segment pS2) { + if (!isMutable()) throw new java.lang.UnsupportedOperationException(); + this.fS2 = pS2; + } + + @Override + public String patternName() { + return "modes3.queries.connectedToNotSymmetric"; + } + + @Override + public List parameterNames() { + return ConnectedToNotSymmetric.Match.parameterNames; + } + + @Override + public Object[] toArray() { + return new Object[]{fS1, fS2}; + } + + @Override + public ConnectedToNotSymmetric.Match toImmutable() { + return isMutable() ? newMatch(fS1, fS2) : this; + } + + @Override + public String prettyPrint() { + StringBuilder result = new StringBuilder(); + result.append("\"S1\"=" + prettyPrintValue(fS1) + ", "); + result.append("\"S2\"=" + prettyPrintValue(fS2)); + return result.toString(); + } + + @Override + public int hashCode() { + return Objects.hash(fS1, fS2); + } + + @Override + public boolean equals(final Object obj) { + if (this == obj) + return true; + if (obj == null) { + return false; + } + if ((obj instanceof ConnectedToNotSymmetric.Match)) { + ConnectedToNotSymmetric.Match other = (ConnectedToNotSymmetric.Match) obj; + return Objects.equals(fS1, other.fS1) && Objects.equals(fS2, other.fS2); + } else { + // this should be infrequent + if (!(obj instanceof IPatternMatch)) { + return false; + } + IPatternMatch otherSig = (IPatternMatch) obj; + return Objects.equals(specification(), otherSig.specification()) && Arrays.deepEquals(toArray(), otherSig.toArray()); + } + } + + @Override + public ConnectedToNotSymmetric specification() { + return ConnectedToNotSymmetric.instance(); + } + + /** + * Returns an empty, mutable match. + * Fields of the mutable match can be filled to create a partial match, usable as matcher input. + * + * @return the empty match. + * + */ + public static ConnectedToNotSymmetric.Match newEmptyMatch() { + return new Mutable(null, null); + } + + /** + * Returns a mutable (partial) match. + * Fields of the mutable match can be filled to create a partial match, usable as matcher input. + * + * @param pS1 the fixed value of pattern parameter S1, or null if not bound. + * @param pS2 the fixed value of pattern parameter S2, or null if not bound. + * @return the new, mutable (partial) match object. + * + */ + public static ConnectedToNotSymmetric.Match newMutableMatch(final Segment pS1, final Segment pS2) { + return new Mutable(pS1, pS2); + } + + /** + * Returns a new (partial) match. + * This can be used e.g. to call the matcher with a partial match. + *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. + * @param pS1 the fixed value of pattern parameter S1, or null if not bound. + * @param pS2 the fixed value of pattern parameter S2, or null if not bound. + * @return the (partial) match object. + * + */ + public static ConnectedToNotSymmetric.Match newMatch(final Segment pS1, final Segment pS2) { + return new Immutable(pS1, pS2); + } + + private static final class Mutable extends ConnectedToNotSymmetric.Match { + Mutable(final Segment pS1, final Segment pS2) { + super(pS1, pS2); + } + + @Override + public boolean isMutable() { + return true; + } + } + + private static final class Immutable extends ConnectedToNotSymmetric.Match { + Immutable(final Segment pS1, final Segment pS2) { + super(pS1, pS2); + } + + @Override + public boolean isMutable() { + return false; + } + } + } + + /** + * Generated pattern matcher API of the modes3.queries.connectedToNotSymmetric pattern, + * providing pattern-specific query methods. + * + *

    Use the pattern matcher on a given model via {@link #on(ViatraQueryEngine)}, + * e.g. in conjunction with {@link ViatraQueryEngine#on(QueryScope)}. + * + *

    Matches of the pattern will be represented as {@link Match}. + * + *

    Original source: + *

    +   * {@literal @}Constraint(message = "connectedToNotSymmetric", severity = "error", key = { S1, S2 })
    +   * pattern connectedToNotSymmetric(S1 : Segment, S2 : Segment) {
    +   * 	Segment.connectedTo(S1, S2);
    +   * 	neg find connectedTo(S2, S1);
    +   * }
    +   * 
    + * + * @see Match + * @see ConnectedToNotSymmetric + * + */ + public static class Matcher extends BaseMatcher { + /** + * Initializes the pattern matcher within an existing VIATRA Query engine. + * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. + * + * @param engine the existing VIATRA Query engine in which this matcher will be created. + * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation + * + */ + public static ConnectedToNotSymmetric.Matcher on(final ViatraQueryEngine engine) { + // check if matcher already exists + Matcher matcher = engine.getExistingMatcher(querySpecification()); + if (matcher == null) { + matcher = (Matcher)engine.getMatcher(querySpecification()); + } + return matcher; + } + + /** + * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation + * @return an initialized matcher + * @noreference This method is for internal matcher initialization by the framework, do not call it manually. + * + */ + public static ConnectedToNotSymmetric.Matcher create() { + return new Matcher(); + } + + private static final int POSITION_S1 = 0; + + private static final int POSITION_S2 = 1; + + private static final Logger LOGGER = ViatraQueryLoggingUtil.getLogger(ConnectedToNotSymmetric.Matcher.class); + + /** + * Initializes the pattern matcher within an existing VIATRA Query engine. + * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. + * + * @param engine the existing VIATRA Query engine in which this matcher will be created. + * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation + * + */ + private Matcher() { + super(querySpecification()); + } + + /** + * Returns the set of all matches of the pattern that conform to the given fixed values of some parameters. + * @param pS1 the fixed value of pattern parameter S1, or null if not bound. + * @param pS2 the fixed value of pattern parameter S2, or null if not bound. + * @return matches represented as a Match object. + * + */ + public Collection getAllMatches(final Segment pS1, final Segment pS2) { + return rawStreamAllMatches(new Object[]{pS1, pS2}).collect(Collectors.toSet()); + } + + /** + * Returns a stream of all matches of the pattern that conform to the given fixed values of some parameters. + *

    + * NOTE: It is important not to modify the source model while the stream is being processed. + * If the match set of the pattern changes during processing, the contents of the stream is undefined. + * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. + * @param pS1 the fixed value of pattern parameter S1, or null if not bound. + * @param pS2 the fixed value of pattern parameter S2, or null if not bound. + * @return a stream of matches represented as a Match object. + * + */ + public Stream streamAllMatches(final Segment pS1, final Segment pS2) { + return rawStreamAllMatches(new Object[]{pS1, pS2}); + } + + /** + * Returns an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. + * Neither determinism nor randomness of selection is guaranteed. + * @param pS1 the fixed value of pattern parameter S1, or null if not bound. + * @param pS2 the fixed value of pattern parameter S2, or null if not bound. + * @return a match represented as a Match object, or null if no match is found. + * + */ + public Optional getOneArbitraryMatch(final Segment pS1, final Segment pS2) { + return rawGetOneArbitraryMatch(new Object[]{pS1, pS2}); + } + + /** + * Indicates whether the given combination of specified pattern parameters constitute a valid pattern match, + * under any possible substitution of the unspecified parameters (if any). + * @param pS1 the fixed value of pattern parameter S1, or null if not bound. + * @param pS2 the fixed value of pattern parameter S2, or null if not bound. + * @return true if the input is a valid (partial) match of the pattern. + * + */ + public boolean hasMatch(final Segment pS1, final Segment pS2) { + return rawHasMatch(new Object[]{pS1, pS2}); + } + + /** + * Returns the number of all matches of the pattern that conform to the given fixed values of some parameters. + * @param pS1 the fixed value of pattern parameter S1, or null if not bound. + * @param pS2 the fixed value of pattern parameter S2, or null if not bound. + * @return the number of pattern matches found. + * + */ + public int countMatches(final Segment pS1, final Segment pS2) { + return rawCountMatches(new Object[]{pS1, pS2}); + } + + /** + * Executes the given processor on an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. + * Neither determinism nor randomness of selection is guaranteed. + * @param pS1 the fixed value of pattern parameter S1, or null if not bound. + * @param pS2 the fixed value of pattern parameter S2, or null if not bound. + * @param processor the action that will process the selected match. + * @return true if the pattern has at least one match with the given parameter values, false if the processor was not invoked + * + */ + public boolean forOneArbitraryMatch(final Segment pS1, final Segment pS2, final Consumer processor) { + return rawForOneArbitraryMatch(new Object[]{pS1, pS2}, processor); + } + + /** + * Returns a new (partial) match. + * This can be used e.g. to call the matcher with a partial match. + *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. + * @param pS1 the fixed value of pattern parameter S1, or null if not bound. + * @param pS2 the fixed value of pattern parameter S2, or null if not bound. + * @return the (partial) match object. + * + */ + public ConnectedToNotSymmetric.Match newMatch(final Segment pS1, final Segment pS2) { + return ConnectedToNotSymmetric.Match.newMatch(pS1, pS2); + } + + /** + * Retrieve the set of values that occur in matches for S1. + * @return the Set of all values or empty set if there are no matches + * + */ + protected Stream rawStreamAllValuesOfS1(final Object[] parameters) { + return rawStreamAllValues(POSITION_S1, parameters).map(Segment.class::cast); + } + + /** + * Retrieve the set of values that occur in matches for S1. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOfS1() { + return rawStreamAllValuesOfS1(emptyArray()).collect(Collectors.toSet()); + } + + /** + * Retrieve the set of values that occur in matches for S1. + * @return the Set of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOfS1() { + return rawStreamAllValuesOfS1(emptyArray()); + } + + /** + * Retrieve the set of values that occur in matches for S1. + *

    + * NOTE: It is important not to modify the source model while the stream is being processed. + * If the match set of the pattern changes during processing, the contents of the stream is undefined. + * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. + * + * @return the Stream of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOfS1(final ConnectedToNotSymmetric.Match partialMatch) { + return rawStreamAllValuesOfS1(partialMatch.toArray()); + } + + /** + * Retrieve the set of values that occur in matches for S1. + *

    + * NOTE: It is important not to modify the source model while the stream is being processed. + * If the match set of the pattern changes during processing, the contents of the stream is undefined. + * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. + * + * @return the Stream of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOfS1(final Segment pS2) { + return rawStreamAllValuesOfS1(new Object[]{null, pS2}); + } + + /** + * Retrieve the set of values that occur in matches for S1. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOfS1(final ConnectedToNotSymmetric.Match partialMatch) { + return rawStreamAllValuesOfS1(partialMatch.toArray()).collect(Collectors.toSet()); + } + + /** + * Retrieve the set of values that occur in matches for S1. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOfS1(final Segment pS2) { + return rawStreamAllValuesOfS1(new Object[]{null, pS2}).collect(Collectors.toSet()); + } + + /** + * Retrieve the set of values that occur in matches for S2. + * @return the Set of all values or empty set if there are no matches + * + */ + protected Stream rawStreamAllValuesOfS2(final Object[] parameters) { + return rawStreamAllValues(POSITION_S2, parameters).map(Segment.class::cast); + } + + /** + * Retrieve the set of values that occur in matches for S2. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOfS2() { + return rawStreamAllValuesOfS2(emptyArray()).collect(Collectors.toSet()); + } + + /** + * Retrieve the set of values that occur in matches for S2. + * @return the Set of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOfS2() { + return rawStreamAllValuesOfS2(emptyArray()); + } + + /** + * Retrieve the set of values that occur in matches for S2. + *

    + * NOTE: It is important not to modify the source model while the stream is being processed. + * If the match set of the pattern changes during processing, the contents of the stream is undefined. + * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. + * + * @return the Stream of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOfS2(final ConnectedToNotSymmetric.Match partialMatch) { + return rawStreamAllValuesOfS2(partialMatch.toArray()); + } + + /** + * Retrieve the set of values that occur in matches for S2. + *

    + * NOTE: It is important not to modify the source model while the stream is being processed. + * If the match set of the pattern changes during processing, the contents of the stream is undefined. + * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. + * + * @return the Stream of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOfS2(final Segment pS1) { + return rawStreamAllValuesOfS2(new Object[]{pS1, null}); + } + + /** + * Retrieve the set of values that occur in matches for S2. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOfS2(final ConnectedToNotSymmetric.Match partialMatch) { + return rawStreamAllValuesOfS2(partialMatch.toArray()).collect(Collectors.toSet()); + } + + /** + * Retrieve the set of values that occur in matches for S2. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOfS2(final Segment pS1) { + return rawStreamAllValuesOfS2(new Object[]{pS1, null}).collect(Collectors.toSet()); + } + + @Override + protected ConnectedToNotSymmetric.Match tupleToMatch(final Tuple t) { + try { + return ConnectedToNotSymmetric.Match.newMatch((Segment) t.get(POSITION_S1), (Segment) t.get(POSITION_S2)); + } catch(ClassCastException e) { + LOGGER.error("Element(s) in tuple not properly typed!",e); + return null; + } + } + + @Override + protected ConnectedToNotSymmetric.Match arrayToMatch(final Object[] match) { + try { + return ConnectedToNotSymmetric.Match.newMatch((Segment) match[POSITION_S1], (Segment) match[POSITION_S2]); + } catch(ClassCastException e) { + LOGGER.error("Element(s) in array not properly typed!",e); + return null; + } + } + + @Override + protected ConnectedToNotSymmetric.Match arrayToMatchMutable(final Object[] match) { + try { + return ConnectedToNotSymmetric.Match.newMutableMatch((Segment) match[POSITION_S1], (Segment) match[POSITION_S2]); + } catch(ClassCastException e) { + LOGGER.error("Element(s) in array not properly typed!",e); + return null; + } + } + + /** + * @return the singleton instance of the query specification of this pattern + * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded + * + */ + public static IQuerySpecification querySpecification() { + return ConnectedToNotSymmetric.instance(); + } + } + + private ConnectedToNotSymmetric() { + super(GeneratedPQuery.INSTANCE); + } + + /** + * @return the singleton instance of the query specification + * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded + * + */ + public static ConnectedToNotSymmetric instance() { + try{ + return LazyHolder.INSTANCE; + } catch (ExceptionInInitializerError err) { + throw processInitializerError(err); + } + } + + @Override + protected ConnectedToNotSymmetric.Matcher instantiate(final ViatraQueryEngine engine) { + return ConnectedToNotSymmetric.Matcher.on(engine); + } + + @Override + public ConnectedToNotSymmetric.Matcher instantiate() { + return ConnectedToNotSymmetric.Matcher.create(); + } + + @Override + public ConnectedToNotSymmetric.Match newEmptyMatch() { + return ConnectedToNotSymmetric.Match.newEmptyMatch(); + } + + @Override + public ConnectedToNotSymmetric.Match newMatch(final Object... parameters) { + return ConnectedToNotSymmetric.Match.newMatch((modes3.Segment) parameters[0], (modes3.Segment) parameters[1]); + } + + /** + * Inner class allowing the singleton instance of {@link ConnectedToNotSymmetric} to be created + * not at the class load time of the outer class, + * but rather at the first call to {@link ConnectedToNotSymmetric#instance()}. + * + *

    This workaround is required e.g. to support recursion. + * + */ + private static class LazyHolder { + private static final ConnectedToNotSymmetric INSTANCE = new ConnectedToNotSymmetric(); + + /** + * Statically initializes the query specification after the field {@link #INSTANCE} is assigned. + * This initialization order is required to support indirect recursion. + * + *

    The static initializer is defined using a helper field to work around limitations of the code generator. + * + */ + private static final Object STATIC_INITIALIZER = ensureInitialized(); + + public static Object ensureInitialized() { + INSTANCE.ensureInitializedInternal(); + return null; + } + } + + private static class GeneratedPQuery extends BaseGeneratedEMFPQuery { + private static final ConnectedToNotSymmetric.GeneratedPQuery INSTANCE = new GeneratedPQuery(); + + private final PParameter parameter_S1 = new PParameter("S1", "modes3.Segment", new EClassTransitiveInstancesKey((EClass)getClassifierLiteralSafe("http://www.ece.mcgill.ca/wcet/modes3", "Segment")), PParameterDirection.INOUT); + + private final PParameter parameter_S2 = new PParameter("S2", "modes3.Segment", new EClassTransitiveInstancesKey((EClass)getClassifierLiteralSafe("http://www.ece.mcgill.ca/wcet/modes3", "Segment")), PParameterDirection.INOUT); + + private final List parameters = Arrays.asList(parameter_S1, parameter_S2); + + private GeneratedPQuery() { + super(PVisibility.PUBLIC); + } + + @Override + public String getFullyQualifiedName() { + return "modes3.queries.connectedToNotSymmetric"; + } + + @Override + public List getParameterNames() { + return Arrays.asList("S1","S2"); + } + + @Override + public List getParameters() { + return parameters; + } + + @Override + public Set doGetContainedBodies() { + setEvaluationHints(new QueryEvaluationHint(null, QueryEvaluationHint.BackendRequirement.UNSPECIFIED)); + Set bodies = new LinkedHashSet<>(); + { + PBody body = new PBody(this); + PVariable var_S1 = body.getOrCreateVariableByName("S1"); + PVariable var_S2 = body.getOrCreateVariableByName("S2"); + new TypeConstraint(body, Tuples.flatTupleOf(var_S1), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.ece.mcgill.ca/wcet/modes3", "Segment"))); + new TypeConstraint(body, Tuples.flatTupleOf(var_S2), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.ece.mcgill.ca/wcet/modes3", "Segment"))); + body.setSymbolicParameters(Arrays.asList( + new ExportedParameter(body, var_S1, parameter_S1), + new ExportedParameter(body, var_S2, parameter_S2) + )); + // Segment.connectedTo(S1, S2) + new TypeConstraint(body, Tuples.flatTupleOf(var_S1), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.ece.mcgill.ca/wcet/modes3", "Segment"))); + PVariable var__virtual_0_ = body.getOrCreateVariableByName(".virtual{0}"); + new TypeConstraint(body, Tuples.flatTupleOf(var_S1, var__virtual_0_), new EStructuralFeatureInstancesKey(getFeatureLiteral("http://www.ece.mcgill.ca/wcet/modes3", "Segment", "connectedTo"))); + new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_0_), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.ece.mcgill.ca/wcet/modes3", "Segment"))); + new Equality(body, var__virtual_0_, var_S2); + // neg find connectedTo(S2, S1) + new NegativePatternCall(body, Tuples.flatTupleOf(var_S2, var_S1), ConnectedTo.instance().getInternalQueryRepresentation()); + bodies.add(body); + } + { + PAnnotation annotation = new PAnnotation("Constraint"); + annotation.addAttribute("message", "connectedToNotSymmetric"); + annotation.addAttribute("severity", "error"); + annotation.addAttribute("key", Arrays.asList(new Object[] { + new ParameterReference("S1"), + new ParameterReference("S2") + })); + addAnnotation(annotation); + } + return bodies; + } + } +} diff --git a/Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/ConnectedToReflexive.java b/Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/ConnectedToReflexive.java new file mode 100644 index 00000000..948fec73 --- /dev/null +++ b/Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/ConnectedToReflexive.java @@ -0,0 +1,563 @@ +/** + * Generated from platform:/resource/ca.mcgill.rtgmrt.example.modes3/src/modes3/queries/Modes3Queries.vql + */ +package modes3.queries; + +import java.util.Arrays; +import java.util.Collection; +import java.util.LinkedHashSet; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import java.util.Set; +import java.util.function.Consumer; +import java.util.stream.Collectors; +import java.util.stream.Stream; +import modes3.Segment; +import org.apache.log4j.Logger; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.viatra.query.runtime.api.IPatternMatch; +import org.eclipse.viatra.query.runtime.api.IQuerySpecification; +import org.eclipse.viatra.query.runtime.api.ViatraQueryEngine; +import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFPQuery; +import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFQuerySpecification; +import org.eclipse.viatra.query.runtime.api.impl.BaseMatcher; +import org.eclipse.viatra.query.runtime.api.impl.BasePatternMatch; +import org.eclipse.viatra.query.runtime.emf.types.EClassTransitiveInstancesKey; +import org.eclipse.viatra.query.runtime.emf.types.EStructuralFeatureInstancesKey; +import org.eclipse.viatra.query.runtime.matchers.backend.QueryEvaluationHint; +import org.eclipse.viatra.query.runtime.matchers.psystem.PBody; +import org.eclipse.viatra.query.runtime.matchers.psystem.PVariable; +import org.eclipse.viatra.query.runtime.matchers.psystem.annotations.PAnnotation; +import org.eclipse.viatra.query.runtime.matchers.psystem.annotations.ParameterReference; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.Equality; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.ExportedParameter; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicenumerables.TypeConstraint; +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameter; +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameterDirection; +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PVisibility; +import org.eclipse.viatra.query.runtime.matchers.tuple.Tuple; +import org.eclipse.viatra.query.runtime.matchers.tuple.Tuples; +import org.eclipse.viatra.query.runtime.util.ViatraQueryLoggingUtil; + +/** + * A pattern-specific query specification that can instantiate Matcher in a type-safe way. + * + *

    Original source: + *

    + *         {@literal @}Constraint(message = "connectedToReflexive", severity = "error", key = { S })
    + *         pattern connectedToReflexive(S : Segment) {
    + *         	Segment.connectedTo(S, S);
    + *         }
    + * 
    + * + * @see Matcher + * @see Match + * + */ +@SuppressWarnings("all") +public final class ConnectedToReflexive extends BaseGeneratedEMFQuerySpecification { + /** + * Pattern-specific match representation of the modes3.queries.connectedToReflexive pattern, + * to be used in conjunction with {@link Matcher}. + * + *

    Class fields correspond to parameters of the pattern. Fields with value null are considered unassigned. + * Each instance is a (possibly partial) substitution of pattern parameters, + * usable to represent a match of the pattern in the result of a query, + * or to specify the bound (fixed) input parameters when issuing a query. + * + * @see Matcher + * + */ + public static abstract class Match extends BasePatternMatch { + private Segment fS; + + private static List parameterNames = makeImmutableList("S"); + + private Match(final Segment pS) { + this.fS = pS; + } + + @Override + public Object get(final String parameterName) { + switch(parameterName) { + case "S": return this.fS; + default: return null; + } + } + + @Override + public Object get(final int index) { + switch(index) { + case 0: return this.fS; + default: return null; + } + } + + public Segment getS() { + return this.fS; + } + + @Override + public boolean set(final String parameterName, final Object newValue) { + if (!isMutable()) throw new java.lang.UnsupportedOperationException(); + if ("S".equals(parameterName) ) { + this.fS = (Segment) newValue; + return true; + } + return false; + } + + public void setS(final Segment pS) { + if (!isMutable()) throw new java.lang.UnsupportedOperationException(); + this.fS = pS; + } + + @Override + public String patternName() { + return "modes3.queries.connectedToReflexive"; + } + + @Override + public List parameterNames() { + return ConnectedToReflexive.Match.parameterNames; + } + + @Override + public Object[] toArray() { + return new Object[]{fS}; + } + + @Override + public ConnectedToReflexive.Match toImmutable() { + return isMutable() ? newMatch(fS) : this; + } + + @Override + public String prettyPrint() { + StringBuilder result = new StringBuilder(); + result.append("\"S\"=" + prettyPrintValue(fS)); + return result.toString(); + } + + @Override + public int hashCode() { + return Objects.hash(fS); + } + + @Override + public boolean equals(final Object obj) { + if (this == obj) + return true; + if (obj == null) { + return false; + } + if ((obj instanceof ConnectedToReflexive.Match)) { + ConnectedToReflexive.Match other = (ConnectedToReflexive.Match) obj; + return Objects.equals(fS, other.fS); + } else { + // this should be infrequent + if (!(obj instanceof IPatternMatch)) { + return false; + } + IPatternMatch otherSig = (IPatternMatch) obj; + return Objects.equals(specification(), otherSig.specification()) && Arrays.deepEquals(toArray(), otherSig.toArray()); + } + } + + @Override + public ConnectedToReflexive specification() { + return ConnectedToReflexive.instance(); + } + + /** + * Returns an empty, mutable match. + * Fields of the mutable match can be filled to create a partial match, usable as matcher input. + * + * @return the empty match. + * + */ + public static ConnectedToReflexive.Match newEmptyMatch() { + return new Mutable(null); + } + + /** + * Returns a mutable (partial) match. + * Fields of the mutable match can be filled to create a partial match, usable as matcher input. + * + * @param pS the fixed value of pattern parameter S, or null if not bound. + * @return the new, mutable (partial) match object. + * + */ + public static ConnectedToReflexive.Match newMutableMatch(final Segment pS) { + return new Mutable(pS); + } + + /** + * Returns a new (partial) match. + * This can be used e.g. to call the matcher with a partial match. + *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. + * @param pS the fixed value of pattern parameter S, or null if not bound. + * @return the (partial) match object. + * + */ + public static ConnectedToReflexive.Match newMatch(final Segment pS) { + return new Immutable(pS); + } + + private static final class Mutable extends ConnectedToReflexive.Match { + Mutable(final Segment pS) { + super(pS); + } + + @Override + public boolean isMutable() { + return true; + } + } + + private static final class Immutable extends ConnectedToReflexive.Match { + Immutable(final Segment pS) { + super(pS); + } + + @Override + public boolean isMutable() { + return false; + } + } + } + + /** + * Generated pattern matcher API of the modes3.queries.connectedToReflexive pattern, + * providing pattern-specific query methods. + * + *

    Use the pattern matcher on a given model via {@link #on(ViatraQueryEngine)}, + * e.g. in conjunction with {@link ViatraQueryEngine#on(QueryScope)}. + * + *

    Matches of the pattern will be represented as {@link Match}. + * + *

    Original source: + *

    +   * {@literal @}Constraint(message = "connectedToReflexive", severity = "error", key = { S })
    +   * pattern connectedToReflexive(S : Segment) {
    +   * 	Segment.connectedTo(S, S);
    +   * }
    +   * 
    + * + * @see Match + * @see ConnectedToReflexive + * + */ + public static class Matcher extends BaseMatcher { + /** + * Initializes the pattern matcher within an existing VIATRA Query engine. + * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. + * + * @param engine the existing VIATRA Query engine in which this matcher will be created. + * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation + * + */ + public static ConnectedToReflexive.Matcher on(final ViatraQueryEngine engine) { + // check if matcher already exists + Matcher matcher = engine.getExistingMatcher(querySpecification()); + if (matcher == null) { + matcher = (Matcher)engine.getMatcher(querySpecification()); + } + return matcher; + } + + /** + * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation + * @return an initialized matcher + * @noreference This method is for internal matcher initialization by the framework, do not call it manually. + * + */ + public static ConnectedToReflexive.Matcher create() { + return new Matcher(); + } + + private static final int POSITION_S = 0; + + private static final Logger LOGGER = ViatraQueryLoggingUtil.getLogger(ConnectedToReflexive.Matcher.class); + + /** + * Initializes the pattern matcher within an existing VIATRA Query engine. + * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. + * + * @param engine the existing VIATRA Query engine in which this matcher will be created. + * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation + * + */ + private Matcher() { + super(querySpecification()); + } + + /** + * Returns the set of all matches of the pattern that conform to the given fixed values of some parameters. + * @param pS the fixed value of pattern parameter S, or null if not bound. + * @return matches represented as a Match object. + * + */ + public Collection getAllMatches(final Segment pS) { + return rawStreamAllMatches(new Object[]{pS}).collect(Collectors.toSet()); + } + + /** + * Returns a stream of all matches of the pattern that conform to the given fixed values of some parameters. + *

    + * NOTE: It is important not to modify the source model while the stream is being processed. + * If the match set of the pattern changes during processing, the contents of the stream is undefined. + * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. + * @param pS the fixed value of pattern parameter S, or null if not bound. + * @return a stream of matches represented as a Match object. + * + */ + public Stream streamAllMatches(final Segment pS) { + return rawStreamAllMatches(new Object[]{pS}); + } + + /** + * Returns an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. + * Neither determinism nor randomness of selection is guaranteed. + * @param pS the fixed value of pattern parameter S, or null if not bound. + * @return a match represented as a Match object, or null if no match is found. + * + */ + public Optional getOneArbitraryMatch(final Segment pS) { + return rawGetOneArbitraryMatch(new Object[]{pS}); + } + + /** + * Indicates whether the given combination of specified pattern parameters constitute a valid pattern match, + * under any possible substitution of the unspecified parameters (if any). + * @param pS the fixed value of pattern parameter S, or null if not bound. + * @return true if the input is a valid (partial) match of the pattern. + * + */ + public boolean hasMatch(final Segment pS) { + return rawHasMatch(new Object[]{pS}); + } + + /** + * Returns the number of all matches of the pattern that conform to the given fixed values of some parameters. + * @param pS the fixed value of pattern parameter S, or null if not bound. + * @return the number of pattern matches found. + * + */ + public int countMatches(final Segment pS) { + return rawCountMatches(new Object[]{pS}); + } + + /** + * Executes the given processor on an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. + * Neither determinism nor randomness of selection is guaranteed. + * @param pS the fixed value of pattern parameter S, or null if not bound. + * @param processor the action that will process the selected match. + * @return true if the pattern has at least one match with the given parameter values, false if the processor was not invoked + * + */ + public boolean forOneArbitraryMatch(final Segment pS, final Consumer processor) { + return rawForOneArbitraryMatch(new Object[]{pS}, processor); + } + + /** + * Returns a new (partial) match. + * This can be used e.g. to call the matcher with a partial match. + *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. + * @param pS the fixed value of pattern parameter S, or null if not bound. + * @return the (partial) match object. + * + */ + public ConnectedToReflexive.Match newMatch(final Segment pS) { + return ConnectedToReflexive.Match.newMatch(pS); + } + + /** + * Retrieve the set of values that occur in matches for S. + * @return the Set of all values or empty set if there are no matches + * + */ + protected Stream rawStreamAllValuesOfS(final Object[] parameters) { + return rawStreamAllValues(POSITION_S, parameters).map(Segment.class::cast); + } + + /** + * Retrieve the set of values that occur in matches for S. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOfS() { + return rawStreamAllValuesOfS(emptyArray()).collect(Collectors.toSet()); + } + + /** + * Retrieve the set of values that occur in matches for S. + * @return the Set of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOfS() { + return rawStreamAllValuesOfS(emptyArray()); + } + + @Override + protected ConnectedToReflexive.Match tupleToMatch(final Tuple t) { + try { + return ConnectedToReflexive.Match.newMatch((Segment) t.get(POSITION_S)); + } catch(ClassCastException e) { + LOGGER.error("Element(s) in tuple not properly typed!",e); + return null; + } + } + + @Override + protected ConnectedToReflexive.Match arrayToMatch(final Object[] match) { + try { + return ConnectedToReflexive.Match.newMatch((Segment) match[POSITION_S]); + } catch(ClassCastException e) { + LOGGER.error("Element(s) in array not properly typed!",e); + return null; + } + } + + @Override + protected ConnectedToReflexive.Match arrayToMatchMutable(final Object[] match) { + try { + return ConnectedToReflexive.Match.newMutableMatch((Segment) match[POSITION_S]); + } catch(ClassCastException e) { + LOGGER.error("Element(s) in array not properly typed!",e); + return null; + } + } + + /** + * @return the singleton instance of the query specification of this pattern + * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded + * + */ + public static IQuerySpecification querySpecification() { + return ConnectedToReflexive.instance(); + } + } + + private ConnectedToReflexive() { + super(GeneratedPQuery.INSTANCE); + } + + /** + * @return the singleton instance of the query specification + * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded + * + */ + public static ConnectedToReflexive instance() { + try{ + return LazyHolder.INSTANCE; + } catch (ExceptionInInitializerError err) { + throw processInitializerError(err); + } + } + + @Override + protected ConnectedToReflexive.Matcher instantiate(final ViatraQueryEngine engine) { + return ConnectedToReflexive.Matcher.on(engine); + } + + @Override + public ConnectedToReflexive.Matcher instantiate() { + return ConnectedToReflexive.Matcher.create(); + } + + @Override + public ConnectedToReflexive.Match newEmptyMatch() { + return ConnectedToReflexive.Match.newEmptyMatch(); + } + + @Override + public ConnectedToReflexive.Match newMatch(final Object... parameters) { + return ConnectedToReflexive.Match.newMatch((modes3.Segment) parameters[0]); + } + + /** + * Inner class allowing the singleton instance of {@link ConnectedToReflexive} to be created + * not at the class load time of the outer class, + * but rather at the first call to {@link ConnectedToReflexive#instance()}. + * + *

    This workaround is required e.g. to support recursion. + * + */ + private static class LazyHolder { + private static final ConnectedToReflexive INSTANCE = new ConnectedToReflexive(); + + /** + * Statically initializes the query specification after the field {@link #INSTANCE} is assigned. + * This initialization order is required to support indirect recursion. + * + *

    The static initializer is defined using a helper field to work around limitations of the code generator. + * + */ + private static final Object STATIC_INITIALIZER = ensureInitialized(); + + public static Object ensureInitialized() { + INSTANCE.ensureInitializedInternal(); + return null; + } + } + + private static class GeneratedPQuery extends BaseGeneratedEMFPQuery { + private static final ConnectedToReflexive.GeneratedPQuery INSTANCE = new GeneratedPQuery(); + + private final PParameter parameter_S = new PParameter("S", "modes3.Segment", new EClassTransitiveInstancesKey((EClass)getClassifierLiteralSafe("http://www.ece.mcgill.ca/wcet/modes3", "Segment")), PParameterDirection.INOUT); + + private final List parameters = Arrays.asList(parameter_S); + + private GeneratedPQuery() { + super(PVisibility.PUBLIC); + } + + @Override + public String getFullyQualifiedName() { + return "modes3.queries.connectedToReflexive"; + } + + @Override + public List getParameterNames() { + return Arrays.asList("S"); + } + + @Override + public List getParameters() { + return parameters; + } + + @Override + public Set doGetContainedBodies() { + setEvaluationHints(new QueryEvaluationHint(null, QueryEvaluationHint.BackendRequirement.UNSPECIFIED)); + Set bodies = new LinkedHashSet<>(); + { + PBody body = new PBody(this); + PVariable var_S = body.getOrCreateVariableByName("S"); + new TypeConstraint(body, Tuples.flatTupleOf(var_S), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.ece.mcgill.ca/wcet/modes3", "Segment"))); + body.setSymbolicParameters(Arrays.asList( + new ExportedParameter(body, var_S, parameter_S) + )); + // Segment.connectedTo(S, S) + new TypeConstraint(body, Tuples.flatTupleOf(var_S), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.ece.mcgill.ca/wcet/modes3", "Segment"))); + PVariable var__virtual_0_ = body.getOrCreateVariableByName(".virtual{0}"); + new TypeConstraint(body, Tuples.flatTupleOf(var_S, var__virtual_0_), new EStructuralFeatureInstancesKey(getFeatureLiteral("http://www.ece.mcgill.ca/wcet/modes3", "Segment", "connectedTo"))); + new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_0_), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.ece.mcgill.ca/wcet/modes3", "Segment"))); + new Equality(body, var__virtual_0_, var_S); + bodies.add(body); + } + { + PAnnotation annotation = new PAnnotation("Constraint"); + annotation.addAttribute("message", "connectedToReflexive"); + annotation.addAttribute("severity", "error"); + annotation.addAttribute("key", Arrays.asList(new Object[] { + new ParameterReference("S") + })); + addAnnotation(annotation); + } + return bodies; + } + } +} diff --git a/Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/ExtraInputOfTurnout.java b/Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/ExtraInputOfTurnout.java new file mode 100644 index 00000000..62e2a54d --- /dev/null +++ b/Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/ExtraInputOfTurnout.java @@ -0,0 +1,730 @@ +/** + * Generated from platform:/resource/ca.mcgill.rtgmrt.example.modes3/src/modes3/queries/Modes3Queries.vql + */ +package modes3.queries; + +import java.util.Arrays; +import java.util.Collection; +import java.util.LinkedHashSet; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import java.util.Set; +import java.util.function.Consumer; +import java.util.stream.Collectors; +import java.util.stream.Stream; +import modes3.Segment; +import modes3.Turnout; +import modes3.queries.Output; +import org.apache.log4j.Logger; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.viatra.query.runtime.api.IPatternMatch; +import org.eclipse.viatra.query.runtime.api.IQuerySpecification; +import org.eclipse.viatra.query.runtime.api.ViatraQueryEngine; +import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFPQuery; +import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFQuerySpecification; +import org.eclipse.viatra.query.runtime.api.impl.BaseMatcher; +import org.eclipse.viatra.query.runtime.api.impl.BasePatternMatch; +import org.eclipse.viatra.query.runtime.emf.types.EClassTransitiveInstancesKey; +import org.eclipse.viatra.query.runtime.emf.types.EStructuralFeatureInstancesKey; +import org.eclipse.viatra.query.runtime.matchers.backend.QueryEvaluationHint; +import org.eclipse.viatra.query.runtime.matchers.psystem.PBody; +import org.eclipse.viatra.query.runtime.matchers.psystem.PVariable; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.Equality; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.ExportedParameter; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.Inequality; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicenumerables.PositivePatternCall; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicenumerables.TypeConstraint; +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameter; +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameterDirection; +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PVisibility; +import org.eclipse.viatra.query.runtime.matchers.tuple.Tuple; +import org.eclipse.viatra.query.runtime.matchers.tuple.Tuples; +import org.eclipse.viatra.query.runtime.util.ViatraQueryLoggingUtil; + +/** + * A pattern-specific query specification that can instantiate Matcher in a type-safe way. + * + *

    Original source: + *

    + *         pattern extraInputOfTurnout(T : Turnout, S : Segment) {
    + *         	Turnout.straight(T, Straight);
    + *         	Turnout.divergent(T, Divergent);
    + *         	find output(S, T);
    + *         	S != Straight;
    + *         	S != Divergent;
    + *         }
    + * 
    + * + * @see Matcher + * @see Match + * + */ +@SuppressWarnings("all") +public final class ExtraInputOfTurnout extends BaseGeneratedEMFQuerySpecification { + /** + * Pattern-specific match representation of the modes3.queries.extraInputOfTurnout pattern, + * to be used in conjunction with {@link Matcher}. + * + *

    Class fields correspond to parameters of the pattern. Fields with value null are considered unassigned. + * Each instance is a (possibly partial) substitution of pattern parameters, + * usable to represent a match of the pattern in the result of a query, + * or to specify the bound (fixed) input parameters when issuing a query. + * + * @see Matcher + * + */ + public static abstract class Match extends BasePatternMatch { + private Turnout fT; + + private Segment fS; + + private static List parameterNames = makeImmutableList("T", "S"); + + private Match(final Turnout pT, final Segment pS) { + this.fT = pT; + this.fS = pS; + } + + @Override + public Object get(final String parameterName) { + switch(parameterName) { + case "T": return this.fT; + case "S": return this.fS; + default: return null; + } + } + + @Override + public Object get(final int index) { + switch(index) { + case 0: return this.fT; + case 1: return this.fS; + default: return null; + } + } + + public Turnout getT() { + return this.fT; + } + + public Segment getS() { + return this.fS; + } + + @Override + public boolean set(final String parameterName, final Object newValue) { + if (!isMutable()) throw new java.lang.UnsupportedOperationException(); + if ("T".equals(parameterName) ) { + this.fT = (Turnout) newValue; + return true; + } + if ("S".equals(parameterName) ) { + this.fS = (Segment) newValue; + return true; + } + return false; + } + + public void setT(final Turnout pT) { + if (!isMutable()) throw new java.lang.UnsupportedOperationException(); + this.fT = pT; + } + + public void setS(final Segment pS) { + if (!isMutable()) throw new java.lang.UnsupportedOperationException(); + this.fS = pS; + } + + @Override + public String patternName() { + return "modes3.queries.extraInputOfTurnout"; + } + + @Override + public List parameterNames() { + return ExtraInputOfTurnout.Match.parameterNames; + } + + @Override + public Object[] toArray() { + return new Object[]{fT, fS}; + } + + @Override + public ExtraInputOfTurnout.Match toImmutable() { + return isMutable() ? newMatch(fT, fS) : this; + } + + @Override + public String prettyPrint() { + StringBuilder result = new StringBuilder(); + result.append("\"T\"=" + prettyPrintValue(fT) + ", "); + result.append("\"S\"=" + prettyPrintValue(fS)); + return result.toString(); + } + + @Override + public int hashCode() { + return Objects.hash(fT, fS); + } + + @Override + public boolean equals(final Object obj) { + if (this == obj) + return true; + if (obj == null) { + return false; + } + if ((obj instanceof ExtraInputOfTurnout.Match)) { + ExtraInputOfTurnout.Match other = (ExtraInputOfTurnout.Match) obj; + return Objects.equals(fT, other.fT) && Objects.equals(fS, other.fS); + } else { + // this should be infrequent + if (!(obj instanceof IPatternMatch)) { + return false; + } + IPatternMatch otherSig = (IPatternMatch) obj; + return Objects.equals(specification(), otherSig.specification()) && Arrays.deepEquals(toArray(), otherSig.toArray()); + } + } + + @Override + public ExtraInputOfTurnout specification() { + return ExtraInputOfTurnout.instance(); + } + + /** + * Returns an empty, mutable match. + * Fields of the mutable match can be filled to create a partial match, usable as matcher input. + * + * @return the empty match. + * + */ + public static ExtraInputOfTurnout.Match newEmptyMatch() { + return new Mutable(null, null); + } + + /** + * Returns a mutable (partial) match. + * Fields of the mutable match can be filled to create a partial match, usable as matcher input. + * + * @param pT the fixed value of pattern parameter T, or null if not bound. + * @param pS the fixed value of pattern parameter S, or null if not bound. + * @return the new, mutable (partial) match object. + * + */ + public static ExtraInputOfTurnout.Match newMutableMatch(final Turnout pT, final Segment pS) { + return new Mutable(pT, pS); + } + + /** + * Returns a new (partial) match. + * This can be used e.g. to call the matcher with a partial match. + *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. + * @param pT the fixed value of pattern parameter T, or null if not bound. + * @param pS the fixed value of pattern parameter S, or null if not bound. + * @return the (partial) match object. + * + */ + public static ExtraInputOfTurnout.Match newMatch(final Turnout pT, final Segment pS) { + return new Immutable(pT, pS); + } + + private static final class Mutable extends ExtraInputOfTurnout.Match { + Mutable(final Turnout pT, final Segment pS) { + super(pT, pS); + } + + @Override + public boolean isMutable() { + return true; + } + } + + private static final class Immutable extends ExtraInputOfTurnout.Match { + Immutable(final Turnout pT, final Segment pS) { + super(pT, pS); + } + + @Override + public boolean isMutable() { + return false; + } + } + } + + /** + * Generated pattern matcher API of the modes3.queries.extraInputOfTurnout pattern, + * providing pattern-specific query methods. + * + *

    Use the pattern matcher on a given model via {@link #on(ViatraQueryEngine)}, + * e.g. in conjunction with {@link ViatraQueryEngine#on(QueryScope)}. + * + *

    Matches of the pattern will be represented as {@link Match}. + * + *

    Original source: + *

    +   * pattern extraInputOfTurnout(T : Turnout, S : Segment) {
    +   * 	Turnout.straight(T, Straight);
    +   * 	Turnout.divergent(T, Divergent);
    +   * 	find output(S, T);
    +   * 	S != Straight;
    +   * 	S != Divergent;
    +   * }
    +   * 
    + * + * @see Match + * @see ExtraInputOfTurnout + * + */ + public static class Matcher extends BaseMatcher { + /** + * Initializes the pattern matcher within an existing VIATRA Query engine. + * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. + * + * @param engine the existing VIATRA Query engine in which this matcher will be created. + * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation + * + */ + public static ExtraInputOfTurnout.Matcher on(final ViatraQueryEngine engine) { + // check if matcher already exists + Matcher matcher = engine.getExistingMatcher(querySpecification()); + if (matcher == null) { + matcher = (Matcher)engine.getMatcher(querySpecification()); + } + return matcher; + } + + /** + * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation + * @return an initialized matcher + * @noreference This method is for internal matcher initialization by the framework, do not call it manually. + * + */ + public static ExtraInputOfTurnout.Matcher create() { + return new Matcher(); + } + + private static final int POSITION_T = 0; + + private static final int POSITION_S = 1; + + private static final Logger LOGGER = ViatraQueryLoggingUtil.getLogger(ExtraInputOfTurnout.Matcher.class); + + /** + * Initializes the pattern matcher within an existing VIATRA Query engine. + * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. + * + * @param engine the existing VIATRA Query engine in which this matcher will be created. + * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation + * + */ + private Matcher() { + super(querySpecification()); + } + + /** + * Returns the set of all matches of the pattern that conform to the given fixed values of some parameters. + * @param pT the fixed value of pattern parameter T, or null if not bound. + * @param pS the fixed value of pattern parameter S, or null if not bound. + * @return matches represented as a Match object. + * + */ + public Collection getAllMatches(final Turnout pT, final Segment pS) { + return rawStreamAllMatches(new Object[]{pT, pS}).collect(Collectors.toSet()); + } + + /** + * Returns a stream of all matches of the pattern that conform to the given fixed values of some parameters. + *

    + * NOTE: It is important not to modify the source model while the stream is being processed. + * If the match set of the pattern changes during processing, the contents of the stream is undefined. + * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. + * @param pT the fixed value of pattern parameter T, or null if not bound. + * @param pS the fixed value of pattern parameter S, or null if not bound. + * @return a stream of matches represented as a Match object. + * + */ + public Stream streamAllMatches(final Turnout pT, final Segment pS) { + return rawStreamAllMatches(new Object[]{pT, pS}); + } + + /** + * Returns an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. + * Neither determinism nor randomness of selection is guaranteed. + * @param pT the fixed value of pattern parameter T, or null if not bound. + * @param pS the fixed value of pattern parameter S, or null if not bound. + * @return a match represented as a Match object, or null if no match is found. + * + */ + public Optional getOneArbitraryMatch(final Turnout pT, final Segment pS) { + return rawGetOneArbitraryMatch(new Object[]{pT, pS}); + } + + /** + * Indicates whether the given combination of specified pattern parameters constitute a valid pattern match, + * under any possible substitution of the unspecified parameters (if any). + * @param pT the fixed value of pattern parameter T, or null if not bound. + * @param pS the fixed value of pattern parameter S, or null if not bound. + * @return true if the input is a valid (partial) match of the pattern. + * + */ + public boolean hasMatch(final Turnout pT, final Segment pS) { + return rawHasMatch(new Object[]{pT, pS}); + } + + /** + * Returns the number of all matches of the pattern that conform to the given fixed values of some parameters. + * @param pT the fixed value of pattern parameter T, or null if not bound. + * @param pS the fixed value of pattern parameter S, or null if not bound. + * @return the number of pattern matches found. + * + */ + public int countMatches(final Turnout pT, final Segment pS) { + return rawCountMatches(new Object[]{pT, pS}); + } + + /** + * Executes the given processor on an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. + * Neither determinism nor randomness of selection is guaranteed. + * @param pT the fixed value of pattern parameter T, or null if not bound. + * @param pS the fixed value of pattern parameter S, or null if not bound. + * @param processor the action that will process the selected match. + * @return true if the pattern has at least one match with the given parameter values, false if the processor was not invoked + * + */ + public boolean forOneArbitraryMatch(final Turnout pT, final Segment pS, final Consumer processor) { + return rawForOneArbitraryMatch(new Object[]{pT, pS}, processor); + } + + /** + * Returns a new (partial) match. + * This can be used e.g. to call the matcher with a partial match. + *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. + * @param pT the fixed value of pattern parameter T, or null if not bound. + * @param pS the fixed value of pattern parameter S, or null if not bound. + * @return the (partial) match object. + * + */ + public ExtraInputOfTurnout.Match newMatch(final Turnout pT, final Segment pS) { + return ExtraInputOfTurnout.Match.newMatch(pT, pS); + } + + /** + * Retrieve the set of values that occur in matches for T. + * @return the Set of all values or empty set if there are no matches + * + */ + protected Stream rawStreamAllValuesOfT(final Object[] parameters) { + return rawStreamAllValues(POSITION_T, parameters).map(Turnout.class::cast); + } + + /** + * Retrieve the set of values that occur in matches for T. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOfT() { + return rawStreamAllValuesOfT(emptyArray()).collect(Collectors.toSet()); + } + + /** + * Retrieve the set of values that occur in matches for T. + * @return the Set of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOfT() { + return rawStreamAllValuesOfT(emptyArray()); + } + + /** + * Retrieve the set of values that occur in matches for T. + *

    + * NOTE: It is important not to modify the source model while the stream is being processed. + * If the match set of the pattern changes during processing, the contents of the stream is undefined. + * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. + * + * @return the Stream of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOfT(final ExtraInputOfTurnout.Match partialMatch) { + return rawStreamAllValuesOfT(partialMatch.toArray()); + } + + /** + * Retrieve the set of values that occur in matches for T. + *

    + * NOTE: It is important not to modify the source model while the stream is being processed. + * If the match set of the pattern changes during processing, the contents of the stream is undefined. + * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. + * + * @return the Stream of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOfT(final Segment pS) { + return rawStreamAllValuesOfT(new Object[]{null, pS}); + } + + /** + * Retrieve the set of values that occur in matches for T. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOfT(final ExtraInputOfTurnout.Match partialMatch) { + return rawStreamAllValuesOfT(partialMatch.toArray()).collect(Collectors.toSet()); + } + + /** + * Retrieve the set of values that occur in matches for T. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOfT(final Segment pS) { + return rawStreamAllValuesOfT(new Object[]{null, pS}).collect(Collectors.toSet()); + } + + /** + * Retrieve the set of values that occur in matches for S. + * @return the Set of all values or empty set if there are no matches + * + */ + protected Stream rawStreamAllValuesOfS(final Object[] parameters) { + return rawStreamAllValues(POSITION_S, parameters).map(Segment.class::cast); + } + + /** + * Retrieve the set of values that occur in matches for S. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOfS() { + return rawStreamAllValuesOfS(emptyArray()).collect(Collectors.toSet()); + } + + /** + * Retrieve the set of values that occur in matches for S. + * @return the Set of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOfS() { + return rawStreamAllValuesOfS(emptyArray()); + } + + /** + * Retrieve the set of values that occur in matches for S. + *

    + * NOTE: It is important not to modify the source model while the stream is being processed. + * If the match set of the pattern changes during processing, the contents of the stream is undefined. + * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. + * + * @return the Stream of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOfS(final ExtraInputOfTurnout.Match partialMatch) { + return rawStreamAllValuesOfS(partialMatch.toArray()); + } + + /** + * Retrieve the set of values that occur in matches for S. + *

    + * NOTE: It is important not to modify the source model while the stream is being processed. + * If the match set of the pattern changes during processing, the contents of the stream is undefined. + * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. + * + * @return the Stream of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOfS(final Turnout pT) { + return rawStreamAllValuesOfS(new Object[]{pT, null}); + } + + /** + * Retrieve the set of values that occur in matches for S. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOfS(final ExtraInputOfTurnout.Match partialMatch) { + return rawStreamAllValuesOfS(partialMatch.toArray()).collect(Collectors.toSet()); + } + + /** + * Retrieve the set of values that occur in matches for S. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOfS(final Turnout pT) { + return rawStreamAllValuesOfS(new Object[]{pT, null}).collect(Collectors.toSet()); + } + + @Override + protected ExtraInputOfTurnout.Match tupleToMatch(final Tuple t) { + try { + return ExtraInputOfTurnout.Match.newMatch((Turnout) t.get(POSITION_T), (Segment) t.get(POSITION_S)); + } catch(ClassCastException e) { + LOGGER.error("Element(s) in tuple not properly typed!",e); + return null; + } + } + + @Override + protected ExtraInputOfTurnout.Match arrayToMatch(final Object[] match) { + try { + return ExtraInputOfTurnout.Match.newMatch((Turnout) match[POSITION_T], (Segment) match[POSITION_S]); + } catch(ClassCastException e) { + LOGGER.error("Element(s) in array not properly typed!",e); + return null; + } + } + + @Override + protected ExtraInputOfTurnout.Match arrayToMatchMutable(final Object[] match) { + try { + return ExtraInputOfTurnout.Match.newMutableMatch((Turnout) match[POSITION_T], (Segment) match[POSITION_S]); + } catch(ClassCastException e) { + LOGGER.error("Element(s) in array not properly typed!",e); + return null; + } + } + + /** + * @return the singleton instance of the query specification of this pattern + * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded + * + */ + public static IQuerySpecification querySpecification() { + return ExtraInputOfTurnout.instance(); + } + } + + private ExtraInputOfTurnout() { + super(GeneratedPQuery.INSTANCE); + } + + /** + * @return the singleton instance of the query specification + * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded + * + */ + public static ExtraInputOfTurnout instance() { + try{ + return LazyHolder.INSTANCE; + } catch (ExceptionInInitializerError err) { + throw processInitializerError(err); + } + } + + @Override + protected ExtraInputOfTurnout.Matcher instantiate(final ViatraQueryEngine engine) { + return ExtraInputOfTurnout.Matcher.on(engine); + } + + @Override + public ExtraInputOfTurnout.Matcher instantiate() { + return ExtraInputOfTurnout.Matcher.create(); + } + + @Override + public ExtraInputOfTurnout.Match newEmptyMatch() { + return ExtraInputOfTurnout.Match.newEmptyMatch(); + } + + @Override + public ExtraInputOfTurnout.Match newMatch(final Object... parameters) { + return ExtraInputOfTurnout.Match.newMatch((modes3.Turnout) parameters[0], (modes3.Segment) parameters[1]); + } + + /** + * Inner class allowing the singleton instance of {@link ExtraInputOfTurnout} to be created + * not at the class load time of the outer class, + * but rather at the first call to {@link ExtraInputOfTurnout#instance()}. + * + *

    This workaround is required e.g. to support recursion. + * + */ + private static class LazyHolder { + private static final ExtraInputOfTurnout INSTANCE = new ExtraInputOfTurnout(); + + /** + * Statically initializes the query specification after the field {@link #INSTANCE} is assigned. + * This initialization order is required to support indirect recursion. + * + *

    The static initializer is defined using a helper field to work around limitations of the code generator. + * + */ + private static final Object STATIC_INITIALIZER = ensureInitialized(); + + public static Object ensureInitialized() { + INSTANCE.ensureInitializedInternal(); + return null; + } + } + + private static class GeneratedPQuery extends BaseGeneratedEMFPQuery { + private static final ExtraInputOfTurnout.GeneratedPQuery INSTANCE = new GeneratedPQuery(); + + private final PParameter parameter_T = new PParameter("T", "modes3.Turnout", new EClassTransitiveInstancesKey((EClass)getClassifierLiteralSafe("http://www.ece.mcgill.ca/wcet/modes3", "Turnout")), PParameterDirection.INOUT); + + private final PParameter parameter_S = new PParameter("S", "modes3.Segment", new EClassTransitiveInstancesKey((EClass)getClassifierLiteralSafe("http://www.ece.mcgill.ca/wcet/modes3", "Segment")), PParameterDirection.INOUT); + + private final List parameters = Arrays.asList(parameter_T, parameter_S); + + private GeneratedPQuery() { + super(PVisibility.PUBLIC); + } + + @Override + public String getFullyQualifiedName() { + return "modes3.queries.extraInputOfTurnout"; + } + + @Override + public List getParameterNames() { + return Arrays.asList("T","S"); + } + + @Override + public List getParameters() { + return parameters; + } + + @Override + public Set doGetContainedBodies() { + setEvaluationHints(new QueryEvaluationHint(null, QueryEvaluationHint.BackendRequirement.UNSPECIFIED)); + Set bodies = new LinkedHashSet<>(); + { + PBody body = new PBody(this); + PVariable var_T = body.getOrCreateVariableByName("T"); + PVariable var_S = body.getOrCreateVariableByName("S"); + PVariable var_Straight = body.getOrCreateVariableByName("Straight"); + PVariable var_Divergent = body.getOrCreateVariableByName("Divergent"); + new TypeConstraint(body, Tuples.flatTupleOf(var_T), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.ece.mcgill.ca/wcet/modes3", "Turnout"))); + new TypeConstraint(body, Tuples.flatTupleOf(var_S), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.ece.mcgill.ca/wcet/modes3", "Segment"))); + body.setSymbolicParameters(Arrays.asList( + new ExportedParameter(body, var_T, parameter_T), + new ExportedParameter(body, var_S, parameter_S) + )); + // Turnout.straight(T, Straight) + new TypeConstraint(body, Tuples.flatTupleOf(var_T), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.ece.mcgill.ca/wcet/modes3", "Turnout"))); + PVariable var__virtual_0_ = body.getOrCreateVariableByName(".virtual{0}"); + new TypeConstraint(body, Tuples.flatTupleOf(var_T, var__virtual_0_), new EStructuralFeatureInstancesKey(getFeatureLiteral("http://www.ece.mcgill.ca/wcet/modes3", "Turnout", "straight"))); + new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_0_), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.ece.mcgill.ca/wcet/modes3", "Segment"))); + new Equality(body, var__virtual_0_, var_Straight); + // Turnout.divergent(T, Divergent) + new TypeConstraint(body, Tuples.flatTupleOf(var_T), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.ece.mcgill.ca/wcet/modes3", "Turnout"))); + PVariable var__virtual_1_ = body.getOrCreateVariableByName(".virtual{1}"); + new TypeConstraint(body, Tuples.flatTupleOf(var_T, var__virtual_1_), new EStructuralFeatureInstancesKey(getFeatureLiteral("http://www.ece.mcgill.ca/wcet/modes3", "Turnout", "divergent"))); + new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_1_), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.ece.mcgill.ca/wcet/modes3", "Segment"))); + new Equality(body, var__virtual_1_, var_Divergent); + // find output(S, T) + new PositivePatternCall(body, Tuples.flatTupleOf(var_S, var_T), Output.instance().getInternalQueryRepresentation()); + // S != Straight + new Inequality(body, var_S, var_Straight); + // S != Divergent + new Inequality(body, var_S, var_Divergent); + bodies.add(body); + } + return bodies; + } + } +} diff --git a/Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/Modes3Queries.java b/Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/Modes3Queries.java new file mode 100644 index 00000000..01ec77a1 --- /dev/null +++ b/Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/Modes3Queries.java @@ -0,0 +1,229 @@ +/** + * Generated from platform:/resource/ca.mcgill.rtgmrt.example.modes3/src/modes3/queries/Modes3Queries.vql + */ +package modes3.queries; + +import modes3.queries.Adjacent; +import modes3.queries.ConnectedTo; +import modes3.queries.ConnectedToNotSymmetric; +import modes3.queries.ConnectedToReflexive; +import modes3.queries.ExtraInputOfTurnout; +import modes3.queries.NoExtraInputOfTurnout; +import modes3.queries.Output; +import modes3.queries.OutputReflexive; +import modes3.queries.Reachable; +import modes3.queries.TooManyExtraInputsOfTurnout; +import modes3.queries.TooManyInputsOfSegment; +import modes3.queries.Turnout; +import modes3.queries.TurnoutConnectedToBothOutputs; +import modes3.queries.TurnoutInSegments; +import modes3.queries.TurnoutOutput; +import modes3.queries.TurnoutOutputsAreSame; +import modes3.queries.Unreachable; +import org.eclipse.viatra.query.runtime.api.ViatraQueryEngine; +import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedPatternGroup; + +/** + * A pattern group formed of all public patterns defined in Modes3Queries.vql. + * + *

    Use the static instance as any {@link interface org.eclipse.viatra.query.runtime.api.IQueryGroup}, to conveniently prepare + * a VIATRA Query engine for matching all patterns originally defined in file Modes3Queries.vql, + * in order to achieve better performance than one-by-one on-demand matcher initialization. + * + *

    From package modes3.queries, the group contains the definition of the following patterns:

      + *
    • turnoutInSegments
    • + *
    • connectedTo
    • + *
    • connectedToNotSymmetric
    • + *
    • connectedToReflexive
    • + *
    • turnoutOutput
    • + *
    • outputReflexive
    • + *
    • turnoutOutputsAreSame
    • + *
    • turnout
    • + *
    • output
    • + *
    • tooManyInputsOfSegment
    • + *
    • turnoutConnectedToBothOutputs
    • + *
    • extraInputOfTurnout
    • + *
    • noExtraInputOfTurnout
    • + *
    • tooManyExtraInputsOfTurnout
    • + *
    • adjacent
    • + *
    • reachable
    • + *
    • unreachable
    • + *
    + * + * @see IQueryGroup + * + */ +@SuppressWarnings("all") +public final class Modes3Queries extends BaseGeneratedPatternGroup { + /** + * Access the pattern group. + * + * @return the singleton instance of the group + * @throws ViatraQueryRuntimeException if there was an error loading the generated code of pattern specifications + * + */ + public static Modes3Queries instance() { + if (INSTANCE == null) { + INSTANCE = new Modes3Queries(); + } + return INSTANCE; + } + + private static Modes3Queries INSTANCE; + + private Modes3Queries() { + querySpecifications.add(TurnoutInSegments.instance()); + querySpecifications.add(ConnectedTo.instance()); + querySpecifications.add(ConnectedToNotSymmetric.instance()); + querySpecifications.add(ConnectedToReflexive.instance()); + querySpecifications.add(TurnoutOutput.instance()); + querySpecifications.add(OutputReflexive.instance()); + querySpecifications.add(TurnoutOutputsAreSame.instance()); + querySpecifications.add(Turnout.instance()); + querySpecifications.add(Output.instance()); + querySpecifications.add(TooManyInputsOfSegment.instance()); + querySpecifications.add(TurnoutConnectedToBothOutputs.instance()); + querySpecifications.add(ExtraInputOfTurnout.instance()); + querySpecifications.add(NoExtraInputOfTurnout.instance()); + querySpecifications.add(TooManyExtraInputsOfTurnout.instance()); + querySpecifications.add(Adjacent.instance()); + querySpecifications.add(Reachable.instance()); + querySpecifications.add(Unreachable.instance()); + } + + public TurnoutInSegments getTurnoutInSegments() { + return TurnoutInSegments.instance(); + } + + public TurnoutInSegments.Matcher getTurnoutInSegments(final ViatraQueryEngine engine) { + return TurnoutInSegments.Matcher.on(engine); + } + + public ConnectedTo getConnectedTo() { + return ConnectedTo.instance(); + } + + public ConnectedTo.Matcher getConnectedTo(final ViatraQueryEngine engine) { + return ConnectedTo.Matcher.on(engine); + } + + public ConnectedToNotSymmetric getConnectedToNotSymmetric() { + return ConnectedToNotSymmetric.instance(); + } + + public ConnectedToNotSymmetric.Matcher getConnectedToNotSymmetric(final ViatraQueryEngine engine) { + return ConnectedToNotSymmetric.Matcher.on(engine); + } + + public ConnectedToReflexive getConnectedToReflexive() { + return ConnectedToReflexive.instance(); + } + + public ConnectedToReflexive.Matcher getConnectedToReflexive(final ViatraQueryEngine engine) { + return ConnectedToReflexive.Matcher.on(engine); + } + + public TurnoutOutput getTurnoutOutput() { + return TurnoutOutput.instance(); + } + + public TurnoutOutput.Matcher getTurnoutOutput(final ViatraQueryEngine engine) { + return TurnoutOutput.Matcher.on(engine); + } + + public OutputReflexive getOutputReflexive() { + return OutputReflexive.instance(); + } + + public OutputReflexive.Matcher getOutputReflexive(final ViatraQueryEngine engine) { + return OutputReflexive.Matcher.on(engine); + } + + public TurnoutOutputsAreSame getTurnoutOutputsAreSame() { + return TurnoutOutputsAreSame.instance(); + } + + public TurnoutOutputsAreSame.Matcher getTurnoutOutputsAreSame(final ViatraQueryEngine engine) { + return TurnoutOutputsAreSame.Matcher.on(engine); + } + + public Turnout getTurnout() { + return Turnout.instance(); + } + + public Turnout.Matcher getTurnout(final ViatraQueryEngine engine) { + return Turnout.Matcher.on(engine); + } + + public Output getOutput() { + return Output.instance(); + } + + public Output.Matcher getOutput(final ViatraQueryEngine engine) { + return Output.Matcher.on(engine); + } + + public TooManyInputsOfSegment getTooManyInputsOfSegment() { + return TooManyInputsOfSegment.instance(); + } + + public TooManyInputsOfSegment.Matcher getTooManyInputsOfSegment(final ViatraQueryEngine engine) { + return TooManyInputsOfSegment.Matcher.on(engine); + } + + public TurnoutConnectedToBothOutputs getTurnoutConnectedToBothOutputs() { + return TurnoutConnectedToBothOutputs.instance(); + } + + public TurnoutConnectedToBothOutputs.Matcher getTurnoutConnectedToBothOutputs(final ViatraQueryEngine engine) { + return TurnoutConnectedToBothOutputs.Matcher.on(engine); + } + + public ExtraInputOfTurnout getExtraInputOfTurnout() { + return ExtraInputOfTurnout.instance(); + } + + public ExtraInputOfTurnout.Matcher getExtraInputOfTurnout(final ViatraQueryEngine engine) { + return ExtraInputOfTurnout.Matcher.on(engine); + } + + public NoExtraInputOfTurnout getNoExtraInputOfTurnout() { + return NoExtraInputOfTurnout.instance(); + } + + public NoExtraInputOfTurnout.Matcher getNoExtraInputOfTurnout(final ViatraQueryEngine engine) { + return NoExtraInputOfTurnout.Matcher.on(engine); + } + + public TooManyExtraInputsOfTurnout getTooManyExtraInputsOfTurnout() { + return TooManyExtraInputsOfTurnout.instance(); + } + + public TooManyExtraInputsOfTurnout.Matcher getTooManyExtraInputsOfTurnout(final ViatraQueryEngine engine) { + return TooManyExtraInputsOfTurnout.Matcher.on(engine); + } + + public Adjacent getAdjacent() { + return Adjacent.instance(); + } + + public Adjacent.Matcher getAdjacent(final ViatraQueryEngine engine) { + return Adjacent.Matcher.on(engine); + } + + public Reachable getReachable() { + return Reachable.instance(); + } + + public Reachable.Matcher getReachable(final ViatraQueryEngine engine) { + return Reachable.Matcher.on(engine); + } + + public Unreachable getUnreachable() { + return Unreachable.instance(); + } + + public Unreachable.Matcher getUnreachable(final ViatraQueryEngine engine) { + return Unreachable.Matcher.on(engine); + } +} diff --git a/Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/NoExtraInputOfTurnout.java b/Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/NoExtraInputOfTurnout.java new file mode 100644 index 00000000..621d736f --- /dev/null +++ b/Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/NoExtraInputOfTurnout.java @@ -0,0 +1,560 @@ +/** + * Generated from platform:/resource/ca.mcgill.rtgmrt.example.modes3/src/modes3/queries/Modes3Queries.vql + */ +package modes3.queries; + +import java.util.Arrays; +import java.util.Collection; +import java.util.LinkedHashSet; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import java.util.Set; +import java.util.function.Consumer; +import java.util.stream.Collectors; +import java.util.stream.Stream; +import modes3.Turnout; +import modes3.queries.ExtraInputOfTurnout; +import org.apache.log4j.Logger; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.viatra.query.runtime.api.IPatternMatch; +import org.eclipse.viatra.query.runtime.api.IQuerySpecification; +import org.eclipse.viatra.query.runtime.api.ViatraQueryEngine; +import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFPQuery; +import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFQuerySpecification; +import org.eclipse.viatra.query.runtime.api.impl.BaseMatcher; +import org.eclipse.viatra.query.runtime.api.impl.BasePatternMatch; +import org.eclipse.viatra.query.runtime.emf.types.EClassTransitiveInstancesKey; +import org.eclipse.viatra.query.runtime.matchers.backend.QueryEvaluationHint; +import org.eclipse.viatra.query.runtime.matchers.psystem.PBody; +import org.eclipse.viatra.query.runtime.matchers.psystem.PVariable; +import org.eclipse.viatra.query.runtime.matchers.psystem.annotations.PAnnotation; +import org.eclipse.viatra.query.runtime.matchers.psystem.annotations.ParameterReference; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.ExportedParameter; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.NegativePatternCall; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicenumerables.TypeConstraint; +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameter; +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameterDirection; +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PVisibility; +import org.eclipse.viatra.query.runtime.matchers.tuple.Tuple; +import org.eclipse.viatra.query.runtime.matchers.tuple.Tuples; +import org.eclipse.viatra.query.runtime.util.ViatraQueryLoggingUtil; + +/** + * A pattern-specific query specification that can instantiate Matcher in a type-safe way. + * + *

    Original source: + *

    + *         {@literal @}Constraint(message = "noExtraInputOfTurnout", severity = "error", key = { T })
    + *         pattern noExtraInputOfTurnout(T : Turnout) {
    + *         	neg find extraInputOfTurnout(T, _);
    + *         }
    + * 
    + * + * @see Matcher + * @see Match + * + */ +@SuppressWarnings("all") +public final class NoExtraInputOfTurnout extends BaseGeneratedEMFQuerySpecification { + /** + * Pattern-specific match representation of the modes3.queries.noExtraInputOfTurnout pattern, + * to be used in conjunction with {@link Matcher}. + * + *

    Class fields correspond to parameters of the pattern. Fields with value null are considered unassigned. + * Each instance is a (possibly partial) substitution of pattern parameters, + * usable to represent a match of the pattern in the result of a query, + * or to specify the bound (fixed) input parameters when issuing a query. + * + * @see Matcher + * + */ + public static abstract class Match extends BasePatternMatch { + private Turnout fT; + + private static List parameterNames = makeImmutableList("T"); + + private Match(final Turnout pT) { + this.fT = pT; + } + + @Override + public Object get(final String parameterName) { + switch(parameterName) { + case "T": return this.fT; + default: return null; + } + } + + @Override + public Object get(final int index) { + switch(index) { + case 0: return this.fT; + default: return null; + } + } + + public Turnout getT() { + return this.fT; + } + + @Override + public boolean set(final String parameterName, final Object newValue) { + if (!isMutable()) throw new java.lang.UnsupportedOperationException(); + if ("T".equals(parameterName) ) { + this.fT = (Turnout) newValue; + return true; + } + return false; + } + + public void setT(final Turnout pT) { + if (!isMutable()) throw new java.lang.UnsupportedOperationException(); + this.fT = pT; + } + + @Override + public String patternName() { + return "modes3.queries.noExtraInputOfTurnout"; + } + + @Override + public List parameterNames() { + return NoExtraInputOfTurnout.Match.parameterNames; + } + + @Override + public Object[] toArray() { + return new Object[]{fT}; + } + + @Override + public NoExtraInputOfTurnout.Match toImmutable() { + return isMutable() ? newMatch(fT) : this; + } + + @Override + public String prettyPrint() { + StringBuilder result = new StringBuilder(); + result.append("\"T\"=" + prettyPrintValue(fT)); + return result.toString(); + } + + @Override + public int hashCode() { + return Objects.hash(fT); + } + + @Override + public boolean equals(final Object obj) { + if (this == obj) + return true; + if (obj == null) { + return false; + } + if ((obj instanceof NoExtraInputOfTurnout.Match)) { + NoExtraInputOfTurnout.Match other = (NoExtraInputOfTurnout.Match) obj; + return Objects.equals(fT, other.fT); + } else { + // this should be infrequent + if (!(obj instanceof IPatternMatch)) { + return false; + } + IPatternMatch otherSig = (IPatternMatch) obj; + return Objects.equals(specification(), otherSig.specification()) && Arrays.deepEquals(toArray(), otherSig.toArray()); + } + } + + @Override + public NoExtraInputOfTurnout specification() { + return NoExtraInputOfTurnout.instance(); + } + + /** + * Returns an empty, mutable match. + * Fields of the mutable match can be filled to create a partial match, usable as matcher input. + * + * @return the empty match. + * + */ + public static NoExtraInputOfTurnout.Match newEmptyMatch() { + return new Mutable(null); + } + + /** + * Returns a mutable (partial) match. + * Fields of the mutable match can be filled to create a partial match, usable as matcher input. + * + * @param pT the fixed value of pattern parameter T, or null if not bound. + * @return the new, mutable (partial) match object. + * + */ + public static NoExtraInputOfTurnout.Match newMutableMatch(final Turnout pT) { + return new Mutable(pT); + } + + /** + * Returns a new (partial) match. + * This can be used e.g. to call the matcher with a partial match. + *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. + * @param pT the fixed value of pattern parameter T, or null if not bound. + * @return the (partial) match object. + * + */ + public static NoExtraInputOfTurnout.Match newMatch(final Turnout pT) { + return new Immutable(pT); + } + + private static final class Mutable extends NoExtraInputOfTurnout.Match { + Mutable(final Turnout pT) { + super(pT); + } + + @Override + public boolean isMutable() { + return true; + } + } + + private static final class Immutable extends NoExtraInputOfTurnout.Match { + Immutable(final Turnout pT) { + super(pT); + } + + @Override + public boolean isMutable() { + return false; + } + } + } + + /** + * Generated pattern matcher API of the modes3.queries.noExtraInputOfTurnout pattern, + * providing pattern-specific query methods. + * + *

    Use the pattern matcher on a given model via {@link #on(ViatraQueryEngine)}, + * e.g. in conjunction with {@link ViatraQueryEngine#on(QueryScope)}. + * + *

    Matches of the pattern will be represented as {@link Match}. + * + *

    Original source: + *

    +   * {@literal @}Constraint(message = "noExtraInputOfTurnout", severity = "error", key = { T })
    +   * pattern noExtraInputOfTurnout(T : Turnout) {
    +   * 	neg find extraInputOfTurnout(T, _);
    +   * }
    +   * 
    + * + * @see Match + * @see NoExtraInputOfTurnout + * + */ + public static class Matcher extends BaseMatcher { + /** + * Initializes the pattern matcher within an existing VIATRA Query engine. + * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. + * + * @param engine the existing VIATRA Query engine in which this matcher will be created. + * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation + * + */ + public static NoExtraInputOfTurnout.Matcher on(final ViatraQueryEngine engine) { + // check if matcher already exists + Matcher matcher = engine.getExistingMatcher(querySpecification()); + if (matcher == null) { + matcher = (Matcher)engine.getMatcher(querySpecification()); + } + return matcher; + } + + /** + * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation + * @return an initialized matcher + * @noreference This method is for internal matcher initialization by the framework, do not call it manually. + * + */ + public static NoExtraInputOfTurnout.Matcher create() { + return new Matcher(); + } + + private static final int POSITION_T = 0; + + private static final Logger LOGGER = ViatraQueryLoggingUtil.getLogger(NoExtraInputOfTurnout.Matcher.class); + + /** + * Initializes the pattern matcher within an existing VIATRA Query engine. + * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. + * + * @param engine the existing VIATRA Query engine in which this matcher will be created. + * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation + * + */ + private Matcher() { + super(querySpecification()); + } + + /** + * Returns the set of all matches of the pattern that conform to the given fixed values of some parameters. + * @param pT the fixed value of pattern parameter T, or null if not bound. + * @return matches represented as a Match object. + * + */ + public Collection getAllMatches(final Turnout pT) { + return rawStreamAllMatches(new Object[]{pT}).collect(Collectors.toSet()); + } + + /** + * Returns a stream of all matches of the pattern that conform to the given fixed values of some parameters. + *

    + * NOTE: It is important not to modify the source model while the stream is being processed. + * If the match set of the pattern changes during processing, the contents of the stream is undefined. + * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. + * @param pT the fixed value of pattern parameter T, or null if not bound. + * @return a stream of matches represented as a Match object. + * + */ + public Stream streamAllMatches(final Turnout pT) { + return rawStreamAllMatches(new Object[]{pT}); + } + + /** + * Returns an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. + * Neither determinism nor randomness of selection is guaranteed. + * @param pT the fixed value of pattern parameter T, or null if not bound. + * @return a match represented as a Match object, or null if no match is found. + * + */ + public Optional getOneArbitraryMatch(final Turnout pT) { + return rawGetOneArbitraryMatch(new Object[]{pT}); + } + + /** + * Indicates whether the given combination of specified pattern parameters constitute a valid pattern match, + * under any possible substitution of the unspecified parameters (if any). + * @param pT the fixed value of pattern parameter T, or null if not bound. + * @return true if the input is a valid (partial) match of the pattern. + * + */ + public boolean hasMatch(final Turnout pT) { + return rawHasMatch(new Object[]{pT}); + } + + /** + * Returns the number of all matches of the pattern that conform to the given fixed values of some parameters. + * @param pT the fixed value of pattern parameter T, or null if not bound. + * @return the number of pattern matches found. + * + */ + public int countMatches(final Turnout pT) { + return rawCountMatches(new Object[]{pT}); + } + + /** + * Executes the given processor on an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. + * Neither determinism nor randomness of selection is guaranteed. + * @param pT the fixed value of pattern parameter T, or null if not bound. + * @param processor the action that will process the selected match. + * @return true if the pattern has at least one match with the given parameter values, false if the processor was not invoked + * + */ + public boolean forOneArbitraryMatch(final Turnout pT, final Consumer processor) { + return rawForOneArbitraryMatch(new Object[]{pT}, processor); + } + + /** + * Returns a new (partial) match. + * This can be used e.g. to call the matcher with a partial match. + *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. + * @param pT the fixed value of pattern parameter T, or null if not bound. + * @return the (partial) match object. + * + */ + public NoExtraInputOfTurnout.Match newMatch(final Turnout pT) { + return NoExtraInputOfTurnout.Match.newMatch(pT); + } + + /** + * Retrieve the set of values that occur in matches for T. + * @return the Set of all values or empty set if there are no matches + * + */ + protected Stream rawStreamAllValuesOfT(final Object[] parameters) { + return rawStreamAllValues(POSITION_T, parameters).map(Turnout.class::cast); + } + + /** + * Retrieve the set of values that occur in matches for T. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOfT() { + return rawStreamAllValuesOfT(emptyArray()).collect(Collectors.toSet()); + } + + /** + * Retrieve the set of values that occur in matches for T. + * @return the Set of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOfT() { + return rawStreamAllValuesOfT(emptyArray()); + } + + @Override + protected NoExtraInputOfTurnout.Match tupleToMatch(final Tuple t) { + try { + return NoExtraInputOfTurnout.Match.newMatch((Turnout) t.get(POSITION_T)); + } catch(ClassCastException e) { + LOGGER.error("Element(s) in tuple not properly typed!",e); + return null; + } + } + + @Override + protected NoExtraInputOfTurnout.Match arrayToMatch(final Object[] match) { + try { + return NoExtraInputOfTurnout.Match.newMatch((Turnout) match[POSITION_T]); + } catch(ClassCastException e) { + LOGGER.error("Element(s) in array not properly typed!",e); + return null; + } + } + + @Override + protected NoExtraInputOfTurnout.Match arrayToMatchMutable(final Object[] match) { + try { + return NoExtraInputOfTurnout.Match.newMutableMatch((Turnout) match[POSITION_T]); + } catch(ClassCastException e) { + LOGGER.error("Element(s) in array not properly typed!",e); + return null; + } + } + + /** + * @return the singleton instance of the query specification of this pattern + * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded + * + */ + public static IQuerySpecification querySpecification() { + return NoExtraInputOfTurnout.instance(); + } + } + + private NoExtraInputOfTurnout() { + super(GeneratedPQuery.INSTANCE); + } + + /** + * @return the singleton instance of the query specification + * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded + * + */ + public static NoExtraInputOfTurnout instance() { + try{ + return LazyHolder.INSTANCE; + } catch (ExceptionInInitializerError err) { + throw processInitializerError(err); + } + } + + @Override + protected NoExtraInputOfTurnout.Matcher instantiate(final ViatraQueryEngine engine) { + return NoExtraInputOfTurnout.Matcher.on(engine); + } + + @Override + public NoExtraInputOfTurnout.Matcher instantiate() { + return NoExtraInputOfTurnout.Matcher.create(); + } + + @Override + public NoExtraInputOfTurnout.Match newEmptyMatch() { + return NoExtraInputOfTurnout.Match.newEmptyMatch(); + } + + @Override + public NoExtraInputOfTurnout.Match newMatch(final Object... parameters) { + return NoExtraInputOfTurnout.Match.newMatch((modes3.Turnout) parameters[0]); + } + + /** + * Inner class allowing the singleton instance of {@link NoExtraInputOfTurnout} to be created + * not at the class load time of the outer class, + * but rather at the first call to {@link NoExtraInputOfTurnout#instance()}. + * + *

    This workaround is required e.g. to support recursion. + * + */ + private static class LazyHolder { + private static final NoExtraInputOfTurnout INSTANCE = new NoExtraInputOfTurnout(); + + /** + * Statically initializes the query specification after the field {@link #INSTANCE} is assigned. + * This initialization order is required to support indirect recursion. + * + *

    The static initializer is defined using a helper field to work around limitations of the code generator. + * + */ + private static final Object STATIC_INITIALIZER = ensureInitialized(); + + public static Object ensureInitialized() { + INSTANCE.ensureInitializedInternal(); + return null; + } + } + + private static class GeneratedPQuery extends BaseGeneratedEMFPQuery { + private static final NoExtraInputOfTurnout.GeneratedPQuery INSTANCE = new GeneratedPQuery(); + + private final PParameter parameter_T = new PParameter("T", "modes3.Turnout", new EClassTransitiveInstancesKey((EClass)getClassifierLiteralSafe("http://www.ece.mcgill.ca/wcet/modes3", "Turnout")), PParameterDirection.INOUT); + + private final List parameters = Arrays.asList(parameter_T); + + private GeneratedPQuery() { + super(PVisibility.PUBLIC); + } + + @Override + public String getFullyQualifiedName() { + return "modes3.queries.noExtraInputOfTurnout"; + } + + @Override + public List getParameterNames() { + return Arrays.asList("T"); + } + + @Override + public List getParameters() { + return parameters; + } + + @Override + public Set doGetContainedBodies() { + setEvaluationHints(new QueryEvaluationHint(null, QueryEvaluationHint.BackendRequirement.UNSPECIFIED)); + Set bodies = new LinkedHashSet<>(); + { + PBody body = new PBody(this); + PVariable var_T = body.getOrCreateVariableByName("T"); + PVariable var___0_ = body.getOrCreateVariableByName("_<0>"); + new TypeConstraint(body, Tuples.flatTupleOf(var_T), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.ece.mcgill.ca/wcet/modes3", "Turnout"))); + body.setSymbolicParameters(Arrays.asList( + new ExportedParameter(body, var_T, parameter_T) + )); + // neg find extraInputOfTurnout(T, _) + new NegativePatternCall(body, Tuples.flatTupleOf(var_T, var___0_), ExtraInputOfTurnout.instance().getInternalQueryRepresentation()); + bodies.add(body); + } + { + PAnnotation annotation = new PAnnotation("Constraint"); + annotation.addAttribute("message", "noExtraInputOfTurnout"); + annotation.addAttribute("severity", "error"); + annotation.addAttribute("key", Arrays.asList(new Object[] { + new ParameterReference("T") + })); + addAnnotation(annotation); + } + return bodies; + } + } +} diff --git a/Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/Output.java b/Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/Output.java new file mode 100644 index 00000000..615b33af --- /dev/null +++ b/Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/Output.java @@ -0,0 +1,724 @@ +/** + * Generated from platform:/resource/ca.mcgill.rtgmrt.example.modes3/src/modes3/queries/Modes3Queries.vql + */ +package modes3.queries; + +import java.util.Arrays; +import java.util.Collection; +import java.util.LinkedHashSet; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import java.util.Set; +import java.util.function.Consumer; +import java.util.stream.Collectors; +import java.util.stream.Stream; +import modes3.Segment; +import modes3.queries.TurnoutOutput; +import org.apache.log4j.Logger; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.viatra.query.runtime.api.IPatternMatch; +import org.eclipse.viatra.query.runtime.api.IQuerySpecification; +import org.eclipse.viatra.query.runtime.api.ViatraQueryEngine; +import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFPQuery; +import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFQuerySpecification; +import org.eclipse.viatra.query.runtime.api.impl.BaseMatcher; +import org.eclipse.viatra.query.runtime.api.impl.BasePatternMatch; +import org.eclipse.viatra.query.runtime.emf.types.EClassTransitiveInstancesKey; +import org.eclipse.viatra.query.runtime.emf.types.EStructuralFeatureInstancesKey; +import org.eclipse.viatra.query.runtime.matchers.backend.QueryEvaluationHint; +import org.eclipse.viatra.query.runtime.matchers.psystem.PBody; +import org.eclipse.viatra.query.runtime.matchers.psystem.PVariable; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.Equality; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.ExportedParameter; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicenumerables.PositivePatternCall; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicenumerables.TypeConstraint; +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameter; +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameterDirection; +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PVisibility; +import org.eclipse.viatra.query.runtime.matchers.tuple.Tuple; +import org.eclipse.viatra.query.runtime.matchers.tuple.Tuples; +import org.eclipse.viatra.query.runtime.util.ViatraQueryLoggingUtil; + +/** + * A pattern-specific query specification that can instantiate Matcher in a type-safe way. + * + *

    Original source: + *

    + *         pattern output(S1 : Segment, S2 : Segment) {
    + *         	Segment.connectedTo(S1, S2);
    + *         } or {
    + *         	find turnoutOutput(S1, S2);
    + *         }
    + * 
    + * + * @see Matcher + * @see Match + * + */ +@SuppressWarnings("all") +public final class Output extends BaseGeneratedEMFQuerySpecification { + /** + * Pattern-specific match representation of the modes3.queries.output pattern, + * to be used in conjunction with {@link Matcher}. + * + *

    Class fields correspond to parameters of the pattern. Fields with value null are considered unassigned. + * Each instance is a (possibly partial) substitution of pattern parameters, + * usable to represent a match of the pattern in the result of a query, + * or to specify the bound (fixed) input parameters when issuing a query. + * + * @see Matcher + * + */ + public static abstract class Match extends BasePatternMatch { + private Segment fS1; + + private Segment fS2; + + private static List parameterNames = makeImmutableList("S1", "S2"); + + private Match(final Segment pS1, final Segment pS2) { + this.fS1 = pS1; + this.fS2 = pS2; + } + + @Override + public Object get(final String parameterName) { + switch(parameterName) { + case "S1": return this.fS1; + case "S2": return this.fS2; + default: return null; + } + } + + @Override + public Object get(final int index) { + switch(index) { + case 0: return this.fS1; + case 1: return this.fS2; + default: return null; + } + } + + public Segment getS1() { + return this.fS1; + } + + public Segment getS2() { + return this.fS2; + } + + @Override + public boolean set(final String parameterName, final Object newValue) { + if (!isMutable()) throw new java.lang.UnsupportedOperationException(); + if ("S1".equals(parameterName) ) { + this.fS1 = (Segment) newValue; + return true; + } + if ("S2".equals(parameterName) ) { + this.fS2 = (Segment) newValue; + return true; + } + return false; + } + + public void setS1(final Segment pS1) { + if (!isMutable()) throw new java.lang.UnsupportedOperationException(); + this.fS1 = pS1; + } + + public void setS2(final Segment pS2) { + if (!isMutable()) throw new java.lang.UnsupportedOperationException(); + this.fS2 = pS2; + } + + @Override + public String patternName() { + return "modes3.queries.output"; + } + + @Override + public List parameterNames() { + return Output.Match.parameterNames; + } + + @Override + public Object[] toArray() { + return new Object[]{fS1, fS2}; + } + + @Override + public Output.Match toImmutable() { + return isMutable() ? newMatch(fS1, fS2) : this; + } + + @Override + public String prettyPrint() { + StringBuilder result = new StringBuilder(); + result.append("\"S1\"=" + prettyPrintValue(fS1) + ", "); + result.append("\"S2\"=" + prettyPrintValue(fS2)); + return result.toString(); + } + + @Override + public int hashCode() { + return Objects.hash(fS1, fS2); + } + + @Override + public boolean equals(final Object obj) { + if (this == obj) + return true; + if (obj == null) { + return false; + } + if ((obj instanceof Output.Match)) { + Output.Match other = (Output.Match) obj; + return Objects.equals(fS1, other.fS1) && Objects.equals(fS2, other.fS2); + } else { + // this should be infrequent + if (!(obj instanceof IPatternMatch)) { + return false; + } + IPatternMatch otherSig = (IPatternMatch) obj; + return Objects.equals(specification(), otherSig.specification()) && Arrays.deepEquals(toArray(), otherSig.toArray()); + } + } + + @Override + public Output specification() { + return Output.instance(); + } + + /** + * Returns an empty, mutable match. + * Fields of the mutable match can be filled to create a partial match, usable as matcher input. + * + * @return the empty match. + * + */ + public static Output.Match newEmptyMatch() { + return new Mutable(null, null); + } + + /** + * Returns a mutable (partial) match. + * Fields of the mutable match can be filled to create a partial match, usable as matcher input. + * + * @param pS1 the fixed value of pattern parameter S1, or null if not bound. + * @param pS2 the fixed value of pattern parameter S2, or null if not bound. + * @return the new, mutable (partial) match object. + * + */ + public static Output.Match newMutableMatch(final Segment pS1, final Segment pS2) { + return new Mutable(pS1, pS2); + } + + /** + * Returns a new (partial) match. + * This can be used e.g. to call the matcher with a partial match. + *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. + * @param pS1 the fixed value of pattern parameter S1, or null if not bound. + * @param pS2 the fixed value of pattern parameter S2, or null if not bound. + * @return the (partial) match object. + * + */ + public static Output.Match newMatch(final Segment pS1, final Segment pS2) { + return new Immutable(pS1, pS2); + } + + private static final class Mutable extends Output.Match { + Mutable(final Segment pS1, final Segment pS2) { + super(pS1, pS2); + } + + @Override + public boolean isMutable() { + return true; + } + } + + private static final class Immutable extends Output.Match { + Immutable(final Segment pS1, final Segment pS2) { + super(pS1, pS2); + } + + @Override + public boolean isMutable() { + return false; + } + } + } + + /** + * Generated pattern matcher API of the modes3.queries.output pattern, + * providing pattern-specific query methods. + * + *

    Use the pattern matcher on a given model via {@link #on(ViatraQueryEngine)}, + * e.g. in conjunction with {@link ViatraQueryEngine#on(QueryScope)}. + * + *

    Matches of the pattern will be represented as {@link Match}. + * + *

    Original source: + *

    +   * pattern output(S1 : Segment, S2 : Segment) {
    +   * 	Segment.connectedTo(S1, S2);
    +   * } or {
    +   * 	find turnoutOutput(S1, S2);
    +   * }
    +   * 
    + * + * @see Match + * @see Output + * + */ + public static class Matcher extends BaseMatcher { + /** + * Initializes the pattern matcher within an existing VIATRA Query engine. + * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. + * + * @param engine the existing VIATRA Query engine in which this matcher will be created. + * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation + * + */ + public static Output.Matcher on(final ViatraQueryEngine engine) { + // check if matcher already exists + Matcher matcher = engine.getExistingMatcher(querySpecification()); + if (matcher == null) { + matcher = (Matcher)engine.getMatcher(querySpecification()); + } + return matcher; + } + + /** + * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation + * @return an initialized matcher + * @noreference This method is for internal matcher initialization by the framework, do not call it manually. + * + */ + public static Output.Matcher create() { + return new Matcher(); + } + + private static final int POSITION_S1 = 0; + + private static final int POSITION_S2 = 1; + + private static final Logger LOGGER = ViatraQueryLoggingUtil.getLogger(Output.Matcher.class); + + /** + * Initializes the pattern matcher within an existing VIATRA Query engine. + * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. + * + * @param engine the existing VIATRA Query engine in which this matcher will be created. + * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation + * + */ + private Matcher() { + super(querySpecification()); + } + + /** + * Returns the set of all matches of the pattern that conform to the given fixed values of some parameters. + * @param pS1 the fixed value of pattern parameter S1, or null if not bound. + * @param pS2 the fixed value of pattern parameter S2, or null if not bound. + * @return matches represented as a Match object. + * + */ + public Collection getAllMatches(final Segment pS1, final Segment pS2) { + return rawStreamAllMatches(new Object[]{pS1, pS2}).collect(Collectors.toSet()); + } + + /** + * Returns a stream of all matches of the pattern that conform to the given fixed values of some parameters. + *

    + * NOTE: It is important not to modify the source model while the stream is being processed. + * If the match set of the pattern changes during processing, the contents of the stream is undefined. + * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. + * @param pS1 the fixed value of pattern parameter S1, or null if not bound. + * @param pS2 the fixed value of pattern parameter S2, or null if not bound. + * @return a stream of matches represented as a Match object. + * + */ + public Stream streamAllMatches(final Segment pS1, final Segment pS2) { + return rawStreamAllMatches(new Object[]{pS1, pS2}); + } + + /** + * Returns an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. + * Neither determinism nor randomness of selection is guaranteed. + * @param pS1 the fixed value of pattern parameter S1, or null if not bound. + * @param pS2 the fixed value of pattern parameter S2, or null if not bound. + * @return a match represented as a Match object, or null if no match is found. + * + */ + public Optional getOneArbitraryMatch(final Segment pS1, final Segment pS2) { + return rawGetOneArbitraryMatch(new Object[]{pS1, pS2}); + } + + /** + * Indicates whether the given combination of specified pattern parameters constitute a valid pattern match, + * under any possible substitution of the unspecified parameters (if any). + * @param pS1 the fixed value of pattern parameter S1, or null if not bound. + * @param pS2 the fixed value of pattern parameter S2, or null if not bound. + * @return true if the input is a valid (partial) match of the pattern. + * + */ + public boolean hasMatch(final Segment pS1, final Segment pS2) { + return rawHasMatch(new Object[]{pS1, pS2}); + } + + /** + * Returns the number of all matches of the pattern that conform to the given fixed values of some parameters. + * @param pS1 the fixed value of pattern parameter S1, or null if not bound. + * @param pS2 the fixed value of pattern parameter S2, or null if not bound. + * @return the number of pattern matches found. + * + */ + public int countMatches(final Segment pS1, final Segment pS2) { + return rawCountMatches(new Object[]{pS1, pS2}); + } + + /** + * Executes the given processor on an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. + * Neither determinism nor randomness of selection is guaranteed. + * @param pS1 the fixed value of pattern parameter S1, or null if not bound. + * @param pS2 the fixed value of pattern parameter S2, or null if not bound. + * @param processor the action that will process the selected match. + * @return true if the pattern has at least one match with the given parameter values, false if the processor was not invoked + * + */ + public boolean forOneArbitraryMatch(final Segment pS1, final Segment pS2, final Consumer processor) { + return rawForOneArbitraryMatch(new Object[]{pS1, pS2}, processor); + } + + /** + * Returns a new (partial) match. + * This can be used e.g. to call the matcher with a partial match. + *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. + * @param pS1 the fixed value of pattern parameter S1, or null if not bound. + * @param pS2 the fixed value of pattern parameter S2, or null if not bound. + * @return the (partial) match object. + * + */ + public Output.Match newMatch(final Segment pS1, final Segment pS2) { + return Output.Match.newMatch(pS1, pS2); + } + + /** + * Retrieve the set of values that occur in matches for S1. + * @return the Set of all values or empty set if there are no matches + * + */ + protected Stream rawStreamAllValuesOfS1(final Object[] parameters) { + return rawStreamAllValues(POSITION_S1, parameters).map(Segment.class::cast); + } + + /** + * Retrieve the set of values that occur in matches for S1. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOfS1() { + return rawStreamAllValuesOfS1(emptyArray()).collect(Collectors.toSet()); + } + + /** + * Retrieve the set of values that occur in matches for S1. + * @return the Set of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOfS1() { + return rawStreamAllValuesOfS1(emptyArray()); + } + + /** + * Retrieve the set of values that occur in matches for S1. + *

    + * NOTE: It is important not to modify the source model while the stream is being processed. + * If the match set of the pattern changes during processing, the contents of the stream is undefined. + * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. + * + * @return the Stream of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOfS1(final Output.Match partialMatch) { + return rawStreamAllValuesOfS1(partialMatch.toArray()); + } + + /** + * Retrieve the set of values that occur in matches for S1. + *

    + * NOTE: It is important not to modify the source model while the stream is being processed. + * If the match set of the pattern changes during processing, the contents of the stream is undefined. + * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. + * + * @return the Stream of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOfS1(final Segment pS2) { + return rawStreamAllValuesOfS1(new Object[]{null, pS2}); + } + + /** + * Retrieve the set of values that occur in matches for S1. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOfS1(final Output.Match partialMatch) { + return rawStreamAllValuesOfS1(partialMatch.toArray()).collect(Collectors.toSet()); + } + + /** + * Retrieve the set of values that occur in matches for S1. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOfS1(final Segment pS2) { + return rawStreamAllValuesOfS1(new Object[]{null, pS2}).collect(Collectors.toSet()); + } + + /** + * Retrieve the set of values that occur in matches for S2. + * @return the Set of all values or empty set if there are no matches + * + */ + protected Stream rawStreamAllValuesOfS2(final Object[] parameters) { + return rawStreamAllValues(POSITION_S2, parameters).map(Segment.class::cast); + } + + /** + * Retrieve the set of values that occur in matches for S2. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOfS2() { + return rawStreamAllValuesOfS2(emptyArray()).collect(Collectors.toSet()); + } + + /** + * Retrieve the set of values that occur in matches for S2. + * @return the Set of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOfS2() { + return rawStreamAllValuesOfS2(emptyArray()); + } + + /** + * Retrieve the set of values that occur in matches for S2. + *

    + * NOTE: It is important not to modify the source model while the stream is being processed. + * If the match set of the pattern changes during processing, the contents of the stream is undefined. + * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. + * + * @return the Stream of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOfS2(final Output.Match partialMatch) { + return rawStreamAllValuesOfS2(partialMatch.toArray()); + } + + /** + * Retrieve the set of values that occur in matches for S2. + *

    + * NOTE: It is important not to modify the source model while the stream is being processed. + * If the match set of the pattern changes during processing, the contents of the stream is undefined. + * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. + * + * @return the Stream of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOfS2(final Segment pS1) { + return rawStreamAllValuesOfS2(new Object[]{pS1, null}); + } + + /** + * Retrieve the set of values that occur in matches for S2. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOfS2(final Output.Match partialMatch) { + return rawStreamAllValuesOfS2(partialMatch.toArray()).collect(Collectors.toSet()); + } + + /** + * Retrieve the set of values that occur in matches for S2. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOfS2(final Segment pS1) { + return rawStreamAllValuesOfS2(new Object[]{pS1, null}).collect(Collectors.toSet()); + } + + @Override + protected Output.Match tupleToMatch(final Tuple t) { + try { + return Output.Match.newMatch((Segment) t.get(POSITION_S1), (Segment) t.get(POSITION_S2)); + } catch(ClassCastException e) { + LOGGER.error("Element(s) in tuple not properly typed!",e); + return null; + } + } + + @Override + protected Output.Match arrayToMatch(final Object[] match) { + try { + return Output.Match.newMatch((Segment) match[POSITION_S1], (Segment) match[POSITION_S2]); + } catch(ClassCastException e) { + LOGGER.error("Element(s) in array not properly typed!",e); + return null; + } + } + + @Override + protected Output.Match arrayToMatchMutable(final Object[] match) { + try { + return Output.Match.newMutableMatch((Segment) match[POSITION_S1], (Segment) match[POSITION_S2]); + } catch(ClassCastException e) { + LOGGER.error("Element(s) in array not properly typed!",e); + return null; + } + } + + /** + * @return the singleton instance of the query specification of this pattern + * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded + * + */ + public static IQuerySpecification querySpecification() { + return Output.instance(); + } + } + + private Output() { + super(GeneratedPQuery.INSTANCE); + } + + /** + * @return the singleton instance of the query specification + * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded + * + */ + public static Output instance() { + try{ + return LazyHolder.INSTANCE; + } catch (ExceptionInInitializerError err) { + throw processInitializerError(err); + } + } + + @Override + protected Output.Matcher instantiate(final ViatraQueryEngine engine) { + return Output.Matcher.on(engine); + } + + @Override + public Output.Matcher instantiate() { + return Output.Matcher.create(); + } + + @Override + public Output.Match newEmptyMatch() { + return Output.Match.newEmptyMatch(); + } + + @Override + public Output.Match newMatch(final Object... parameters) { + return Output.Match.newMatch((modes3.Segment) parameters[0], (modes3.Segment) parameters[1]); + } + + /** + * Inner class allowing the singleton instance of {@link Output} to be created + * not at the class load time of the outer class, + * but rather at the first call to {@link Output#instance()}. + * + *

    This workaround is required e.g. to support recursion. + * + */ + private static class LazyHolder { + private static final Output INSTANCE = new Output(); + + /** + * Statically initializes the query specification after the field {@link #INSTANCE} is assigned. + * This initialization order is required to support indirect recursion. + * + *

    The static initializer is defined using a helper field to work around limitations of the code generator. + * + */ + private static final Object STATIC_INITIALIZER = ensureInitialized(); + + public static Object ensureInitialized() { + INSTANCE.ensureInitializedInternal(); + return null; + } + } + + private static class GeneratedPQuery extends BaseGeneratedEMFPQuery { + private static final Output.GeneratedPQuery INSTANCE = new GeneratedPQuery(); + + private final PParameter parameter_S1 = new PParameter("S1", "modes3.Segment", new EClassTransitiveInstancesKey((EClass)getClassifierLiteralSafe("http://www.ece.mcgill.ca/wcet/modes3", "Segment")), PParameterDirection.INOUT); + + private final PParameter parameter_S2 = new PParameter("S2", "modes3.Segment", new EClassTransitiveInstancesKey((EClass)getClassifierLiteralSafe("http://www.ece.mcgill.ca/wcet/modes3", "Segment")), PParameterDirection.INOUT); + + private final List parameters = Arrays.asList(parameter_S1, parameter_S2); + + private GeneratedPQuery() { + super(PVisibility.PUBLIC); + } + + @Override + public String getFullyQualifiedName() { + return "modes3.queries.output"; + } + + @Override + public List getParameterNames() { + return Arrays.asList("S1","S2"); + } + + @Override + public List getParameters() { + return parameters; + } + + @Override + public Set doGetContainedBodies() { + setEvaluationHints(new QueryEvaluationHint(null, QueryEvaluationHint.BackendRequirement.UNSPECIFIED)); + Set bodies = new LinkedHashSet<>(); + { + PBody body = new PBody(this); + PVariable var_S1 = body.getOrCreateVariableByName("S1"); + PVariable var_S2 = body.getOrCreateVariableByName("S2"); + new TypeConstraint(body, Tuples.flatTupleOf(var_S1), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.ece.mcgill.ca/wcet/modes3", "Segment"))); + new TypeConstraint(body, Tuples.flatTupleOf(var_S2), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.ece.mcgill.ca/wcet/modes3", "Segment"))); + body.setSymbolicParameters(Arrays.asList( + new ExportedParameter(body, var_S1, parameter_S1), + new ExportedParameter(body, var_S2, parameter_S2) + )); + // Segment.connectedTo(S1, S2) + new TypeConstraint(body, Tuples.flatTupleOf(var_S1), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.ece.mcgill.ca/wcet/modes3", "Segment"))); + PVariable var__virtual_0_ = body.getOrCreateVariableByName(".virtual{0}"); + new TypeConstraint(body, Tuples.flatTupleOf(var_S1, var__virtual_0_), new EStructuralFeatureInstancesKey(getFeatureLiteral("http://www.ece.mcgill.ca/wcet/modes3", "Segment", "connectedTo"))); + new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_0_), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.ece.mcgill.ca/wcet/modes3", "Segment"))); + new Equality(body, var__virtual_0_, var_S2); + bodies.add(body); + } + { + PBody body = new PBody(this); + PVariable var_S1 = body.getOrCreateVariableByName("S1"); + PVariable var_S2 = body.getOrCreateVariableByName("S2"); + new TypeConstraint(body, Tuples.flatTupleOf(var_S1), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.ece.mcgill.ca/wcet/modes3", "Segment"))); + new TypeConstraint(body, Tuples.flatTupleOf(var_S2), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.ece.mcgill.ca/wcet/modes3", "Segment"))); + body.setSymbolicParameters(Arrays.asList( + new ExportedParameter(body, var_S1, parameter_S1), + new ExportedParameter(body, var_S2, parameter_S2) + )); + // find turnoutOutput(S1, S2) + new PositivePatternCall(body, Tuples.flatTupleOf(var_S1, var_S2), TurnoutOutput.instance().getInternalQueryRepresentation()); + bodies.add(body); + } + return bodies; + } + } +} diff --git a/Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/OutputReflexive.java b/Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/OutputReflexive.java new file mode 100644 index 00000000..3d90ede5 --- /dev/null +++ b/Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/OutputReflexive.java @@ -0,0 +1,559 @@ +/** + * Generated from platform:/resource/ca.mcgill.rtgmrt.example.modes3/src/modes3/queries/Modes3Queries.vql + */ +package modes3.queries; + +import java.util.Arrays; +import java.util.Collection; +import java.util.LinkedHashSet; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import java.util.Set; +import java.util.function.Consumer; +import java.util.stream.Collectors; +import java.util.stream.Stream; +import modes3.Turnout; +import modes3.queries.TurnoutOutput; +import org.apache.log4j.Logger; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.viatra.query.runtime.api.IPatternMatch; +import org.eclipse.viatra.query.runtime.api.IQuerySpecification; +import org.eclipse.viatra.query.runtime.api.ViatraQueryEngine; +import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFPQuery; +import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFQuerySpecification; +import org.eclipse.viatra.query.runtime.api.impl.BaseMatcher; +import org.eclipse.viatra.query.runtime.api.impl.BasePatternMatch; +import org.eclipse.viatra.query.runtime.emf.types.EClassTransitiveInstancesKey; +import org.eclipse.viatra.query.runtime.matchers.backend.QueryEvaluationHint; +import org.eclipse.viatra.query.runtime.matchers.psystem.PBody; +import org.eclipse.viatra.query.runtime.matchers.psystem.PVariable; +import org.eclipse.viatra.query.runtime.matchers.psystem.annotations.PAnnotation; +import org.eclipse.viatra.query.runtime.matchers.psystem.annotations.ParameterReference; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.ExportedParameter; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicenumerables.PositivePatternCall; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicenumerables.TypeConstraint; +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameter; +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameterDirection; +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PVisibility; +import org.eclipse.viatra.query.runtime.matchers.tuple.Tuple; +import org.eclipse.viatra.query.runtime.matchers.tuple.Tuples; +import org.eclipse.viatra.query.runtime.util.ViatraQueryLoggingUtil; + +/** + * A pattern-specific query specification that can instantiate Matcher in a type-safe way. + * + *

    Original source: + *

    + *         {@literal @}Constraint(message = "outputReflexive", severity = "error", key = { T })
    + *         pattern outputReflexive(T : Turnout) {
    + *         	find turnoutOutput(T, T);
    + *         }
    + * 
    + * + * @see Matcher + * @see Match + * + */ +@SuppressWarnings("all") +public final class OutputReflexive extends BaseGeneratedEMFQuerySpecification { + /** + * Pattern-specific match representation of the modes3.queries.outputReflexive pattern, + * to be used in conjunction with {@link Matcher}. + * + *

    Class fields correspond to parameters of the pattern. Fields with value null are considered unassigned. + * Each instance is a (possibly partial) substitution of pattern parameters, + * usable to represent a match of the pattern in the result of a query, + * or to specify the bound (fixed) input parameters when issuing a query. + * + * @see Matcher + * + */ + public static abstract class Match extends BasePatternMatch { + private Turnout fT; + + private static List parameterNames = makeImmutableList("T"); + + private Match(final Turnout pT) { + this.fT = pT; + } + + @Override + public Object get(final String parameterName) { + switch(parameterName) { + case "T": return this.fT; + default: return null; + } + } + + @Override + public Object get(final int index) { + switch(index) { + case 0: return this.fT; + default: return null; + } + } + + public Turnout getT() { + return this.fT; + } + + @Override + public boolean set(final String parameterName, final Object newValue) { + if (!isMutable()) throw new java.lang.UnsupportedOperationException(); + if ("T".equals(parameterName) ) { + this.fT = (Turnout) newValue; + return true; + } + return false; + } + + public void setT(final Turnout pT) { + if (!isMutable()) throw new java.lang.UnsupportedOperationException(); + this.fT = pT; + } + + @Override + public String patternName() { + return "modes3.queries.outputReflexive"; + } + + @Override + public List parameterNames() { + return OutputReflexive.Match.parameterNames; + } + + @Override + public Object[] toArray() { + return new Object[]{fT}; + } + + @Override + public OutputReflexive.Match toImmutable() { + return isMutable() ? newMatch(fT) : this; + } + + @Override + public String prettyPrint() { + StringBuilder result = new StringBuilder(); + result.append("\"T\"=" + prettyPrintValue(fT)); + return result.toString(); + } + + @Override + public int hashCode() { + return Objects.hash(fT); + } + + @Override + public boolean equals(final Object obj) { + if (this == obj) + return true; + if (obj == null) { + return false; + } + if ((obj instanceof OutputReflexive.Match)) { + OutputReflexive.Match other = (OutputReflexive.Match) obj; + return Objects.equals(fT, other.fT); + } else { + // this should be infrequent + if (!(obj instanceof IPatternMatch)) { + return false; + } + IPatternMatch otherSig = (IPatternMatch) obj; + return Objects.equals(specification(), otherSig.specification()) && Arrays.deepEquals(toArray(), otherSig.toArray()); + } + } + + @Override + public OutputReflexive specification() { + return OutputReflexive.instance(); + } + + /** + * Returns an empty, mutable match. + * Fields of the mutable match can be filled to create a partial match, usable as matcher input. + * + * @return the empty match. + * + */ + public static OutputReflexive.Match newEmptyMatch() { + return new Mutable(null); + } + + /** + * Returns a mutable (partial) match. + * Fields of the mutable match can be filled to create a partial match, usable as matcher input. + * + * @param pT the fixed value of pattern parameter T, or null if not bound. + * @return the new, mutable (partial) match object. + * + */ + public static OutputReflexive.Match newMutableMatch(final Turnout pT) { + return new Mutable(pT); + } + + /** + * Returns a new (partial) match. + * This can be used e.g. to call the matcher with a partial match. + *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. + * @param pT the fixed value of pattern parameter T, or null if not bound. + * @return the (partial) match object. + * + */ + public static OutputReflexive.Match newMatch(final Turnout pT) { + return new Immutable(pT); + } + + private static final class Mutable extends OutputReflexive.Match { + Mutable(final Turnout pT) { + super(pT); + } + + @Override + public boolean isMutable() { + return true; + } + } + + private static final class Immutable extends OutputReflexive.Match { + Immutable(final Turnout pT) { + super(pT); + } + + @Override + public boolean isMutable() { + return false; + } + } + } + + /** + * Generated pattern matcher API of the modes3.queries.outputReflexive pattern, + * providing pattern-specific query methods. + * + *

    Use the pattern matcher on a given model via {@link #on(ViatraQueryEngine)}, + * e.g. in conjunction with {@link ViatraQueryEngine#on(QueryScope)}. + * + *

    Matches of the pattern will be represented as {@link Match}. + * + *

    Original source: + *

    +   * {@literal @}Constraint(message = "outputReflexive", severity = "error", key = { T })
    +   * pattern outputReflexive(T : Turnout) {
    +   * 	find turnoutOutput(T, T);
    +   * }
    +   * 
    + * + * @see Match + * @see OutputReflexive + * + */ + public static class Matcher extends BaseMatcher { + /** + * Initializes the pattern matcher within an existing VIATRA Query engine. + * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. + * + * @param engine the existing VIATRA Query engine in which this matcher will be created. + * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation + * + */ + public static OutputReflexive.Matcher on(final ViatraQueryEngine engine) { + // check if matcher already exists + Matcher matcher = engine.getExistingMatcher(querySpecification()); + if (matcher == null) { + matcher = (Matcher)engine.getMatcher(querySpecification()); + } + return matcher; + } + + /** + * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation + * @return an initialized matcher + * @noreference This method is for internal matcher initialization by the framework, do not call it manually. + * + */ + public static OutputReflexive.Matcher create() { + return new Matcher(); + } + + private static final int POSITION_T = 0; + + private static final Logger LOGGER = ViatraQueryLoggingUtil.getLogger(OutputReflexive.Matcher.class); + + /** + * Initializes the pattern matcher within an existing VIATRA Query engine. + * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. + * + * @param engine the existing VIATRA Query engine in which this matcher will be created. + * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation + * + */ + private Matcher() { + super(querySpecification()); + } + + /** + * Returns the set of all matches of the pattern that conform to the given fixed values of some parameters. + * @param pT the fixed value of pattern parameter T, or null if not bound. + * @return matches represented as a Match object. + * + */ + public Collection getAllMatches(final Turnout pT) { + return rawStreamAllMatches(new Object[]{pT}).collect(Collectors.toSet()); + } + + /** + * Returns a stream of all matches of the pattern that conform to the given fixed values of some parameters. + *

    + * NOTE: It is important not to modify the source model while the stream is being processed. + * If the match set of the pattern changes during processing, the contents of the stream is undefined. + * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. + * @param pT the fixed value of pattern parameter T, or null if not bound. + * @return a stream of matches represented as a Match object. + * + */ + public Stream streamAllMatches(final Turnout pT) { + return rawStreamAllMatches(new Object[]{pT}); + } + + /** + * Returns an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. + * Neither determinism nor randomness of selection is guaranteed. + * @param pT the fixed value of pattern parameter T, or null if not bound. + * @return a match represented as a Match object, or null if no match is found. + * + */ + public Optional getOneArbitraryMatch(final Turnout pT) { + return rawGetOneArbitraryMatch(new Object[]{pT}); + } + + /** + * Indicates whether the given combination of specified pattern parameters constitute a valid pattern match, + * under any possible substitution of the unspecified parameters (if any). + * @param pT the fixed value of pattern parameter T, or null if not bound. + * @return true if the input is a valid (partial) match of the pattern. + * + */ + public boolean hasMatch(final Turnout pT) { + return rawHasMatch(new Object[]{pT}); + } + + /** + * Returns the number of all matches of the pattern that conform to the given fixed values of some parameters. + * @param pT the fixed value of pattern parameter T, or null if not bound. + * @return the number of pattern matches found. + * + */ + public int countMatches(final Turnout pT) { + return rawCountMatches(new Object[]{pT}); + } + + /** + * Executes the given processor on an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. + * Neither determinism nor randomness of selection is guaranteed. + * @param pT the fixed value of pattern parameter T, or null if not bound. + * @param processor the action that will process the selected match. + * @return true if the pattern has at least one match with the given parameter values, false if the processor was not invoked + * + */ + public boolean forOneArbitraryMatch(final Turnout pT, final Consumer processor) { + return rawForOneArbitraryMatch(new Object[]{pT}, processor); + } + + /** + * Returns a new (partial) match. + * This can be used e.g. to call the matcher with a partial match. + *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. + * @param pT the fixed value of pattern parameter T, or null if not bound. + * @return the (partial) match object. + * + */ + public OutputReflexive.Match newMatch(final Turnout pT) { + return OutputReflexive.Match.newMatch(pT); + } + + /** + * Retrieve the set of values that occur in matches for T. + * @return the Set of all values or empty set if there are no matches + * + */ + protected Stream rawStreamAllValuesOfT(final Object[] parameters) { + return rawStreamAllValues(POSITION_T, parameters).map(Turnout.class::cast); + } + + /** + * Retrieve the set of values that occur in matches for T. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOfT() { + return rawStreamAllValuesOfT(emptyArray()).collect(Collectors.toSet()); + } + + /** + * Retrieve the set of values that occur in matches for T. + * @return the Set of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOfT() { + return rawStreamAllValuesOfT(emptyArray()); + } + + @Override + protected OutputReflexive.Match tupleToMatch(final Tuple t) { + try { + return OutputReflexive.Match.newMatch((Turnout) t.get(POSITION_T)); + } catch(ClassCastException e) { + LOGGER.error("Element(s) in tuple not properly typed!",e); + return null; + } + } + + @Override + protected OutputReflexive.Match arrayToMatch(final Object[] match) { + try { + return OutputReflexive.Match.newMatch((Turnout) match[POSITION_T]); + } catch(ClassCastException e) { + LOGGER.error("Element(s) in array not properly typed!",e); + return null; + } + } + + @Override + protected OutputReflexive.Match arrayToMatchMutable(final Object[] match) { + try { + return OutputReflexive.Match.newMutableMatch((Turnout) match[POSITION_T]); + } catch(ClassCastException e) { + LOGGER.error("Element(s) in array not properly typed!",e); + return null; + } + } + + /** + * @return the singleton instance of the query specification of this pattern + * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded + * + */ + public static IQuerySpecification querySpecification() { + return OutputReflexive.instance(); + } + } + + private OutputReflexive() { + super(GeneratedPQuery.INSTANCE); + } + + /** + * @return the singleton instance of the query specification + * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded + * + */ + public static OutputReflexive instance() { + try{ + return LazyHolder.INSTANCE; + } catch (ExceptionInInitializerError err) { + throw processInitializerError(err); + } + } + + @Override + protected OutputReflexive.Matcher instantiate(final ViatraQueryEngine engine) { + return OutputReflexive.Matcher.on(engine); + } + + @Override + public OutputReflexive.Matcher instantiate() { + return OutputReflexive.Matcher.create(); + } + + @Override + public OutputReflexive.Match newEmptyMatch() { + return OutputReflexive.Match.newEmptyMatch(); + } + + @Override + public OutputReflexive.Match newMatch(final Object... parameters) { + return OutputReflexive.Match.newMatch((modes3.Turnout) parameters[0]); + } + + /** + * Inner class allowing the singleton instance of {@link OutputReflexive} to be created + * not at the class load time of the outer class, + * but rather at the first call to {@link OutputReflexive#instance()}. + * + *

    This workaround is required e.g. to support recursion. + * + */ + private static class LazyHolder { + private static final OutputReflexive INSTANCE = new OutputReflexive(); + + /** + * Statically initializes the query specification after the field {@link #INSTANCE} is assigned. + * This initialization order is required to support indirect recursion. + * + *

    The static initializer is defined using a helper field to work around limitations of the code generator. + * + */ + private static final Object STATIC_INITIALIZER = ensureInitialized(); + + public static Object ensureInitialized() { + INSTANCE.ensureInitializedInternal(); + return null; + } + } + + private static class GeneratedPQuery extends BaseGeneratedEMFPQuery { + private static final OutputReflexive.GeneratedPQuery INSTANCE = new GeneratedPQuery(); + + private final PParameter parameter_T = new PParameter("T", "modes3.Turnout", new EClassTransitiveInstancesKey((EClass)getClassifierLiteralSafe("http://www.ece.mcgill.ca/wcet/modes3", "Turnout")), PParameterDirection.INOUT); + + private final List parameters = Arrays.asList(parameter_T); + + private GeneratedPQuery() { + super(PVisibility.PUBLIC); + } + + @Override + public String getFullyQualifiedName() { + return "modes3.queries.outputReflexive"; + } + + @Override + public List getParameterNames() { + return Arrays.asList("T"); + } + + @Override + public List getParameters() { + return parameters; + } + + @Override + public Set doGetContainedBodies() { + setEvaluationHints(new QueryEvaluationHint(null, QueryEvaluationHint.BackendRequirement.UNSPECIFIED)); + Set bodies = new LinkedHashSet<>(); + { + PBody body = new PBody(this); + PVariable var_T = body.getOrCreateVariableByName("T"); + new TypeConstraint(body, Tuples.flatTupleOf(var_T), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.ece.mcgill.ca/wcet/modes3", "Turnout"))); + body.setSymbolicParameters(Arrays.asList( + new ExportedParameter(body, var_T, parameter_T) + )); + // find turnoutOutput(T, T) + new PositivePatternCall(body, Tuples.flatTupleOf(var_T, var_T), TurnoutOutput.instance().getInternalQueryRepresentation()); + bodies.add(body); + } + { + PAnnotation annotation = new PAnnotation("Constraint"); + annotation.addAttribute("message", "outputReflexive"); + annotation.addAttribute("severity", "error"); + annotation.addAttribute("key", Arrays.asList(new Object[] { + new ParameterReference("T") + })); + addAnnotation(annotation); + } + return bodies; + } + } +} diff --git a/Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/Reachable.java b/Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/Reachable.java new file mode 100644 index 00000000..93d43c21 --- /dev/null +++ b/Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/Reachable.java @@ -0,0 +1,719 @@ +/** + * Generated from platform:/resource/ca.mcgill.rtgmrt.example.modes3/src/modes3/queries/Modes3Queries.vql + */ +package modes3.queries; + +import java.util.Arrays; +import java.util.Collection; +import java.util.LinkedHashSet; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import java.util.Set; +import java.util.function.Consumer; +import java.util.stream.Collectors; +import java.util.stream.Stream; +import modes3.Segment; +import modes3.queries.Adjacent; +import org.apache.log4j.Logger; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.viatra.query.runtime.api.IPatternMatch; +import org.eclipse.viatra.query.runtime.api.IQuerySpecification; +import org.eclipse.viatra.query.runtime.api.ViatraQueryEngine; +import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFPQuery; +import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFQuerySpecification; +import org.eclipse.viatra.query.runtime.api.impl.BaseMatcher; +import org.eclipse.viatra.query.runtime.api.impl.BasePatternMatch; +import org.eclipse.viatra.query.runtime.emf.types.EClassTransitiveInstancesKey; +import org.eclipse.viatra.query.runtime.matchers.backend.QueryEvaluationHint; +import org.eclipse.viatra.query.runtime.matchers.psystem.PBody; +import org.eclipse.viatra.query.runtime.matchers.psystem.PVariable; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.Equality; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.ExportedParameter; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicenumerables.BinaryTransitiveClosure; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicenumerables.TypeConstraint; +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameter; +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameterDirection; +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PVisibility; +import org.eclipse.viatra.query.runtime.matchers.tuple.Tuple; +import org.eclipse.viatra.query.runtime.matchers.tuple.Tuples; +import org.eclipse.viatra.query.runtime.util.ViatraQueryLoggingUtil; + +/** + * A pattern-specific query specification that can instantiate Matcher in a type-safe way. + * + *

    Original source: + *

    + *         pattern reachable(S1 : Segment, S2 : Segment) {
    + *         	S1 == S2;
    + *         } or {
    + *         	find adjacent+(S1, S2);
    + *         }
    + * 
    + * + * @see Matcher + * @see Match + * + */ +@SuppressWarnings("all") +public final class Reachable extends BaseGeneratedEMFQuerySpecification { + /** + * Pattern-specific match representation of the modes3.queries.reachable pattern, + * to be used in conjunction with {@link Matcher}. + * + *

    Class fields correspond to parameters of the pattern. Fields with value null are considered unassigned. + * Each instance is a (possibly partial) substitution of pattern parameters, + * usable to represent a match of the pattern in the result of a query, + * or to specify the bound (fixed) input parameters when issuing a query. + * + * @see Matcher + * + */ + public static abstract class Match extends BasePatternMatch { + private Segment fS1; + + private Segment fS2; + + private static List parameterNames = makeImmutableList("S1", "S2"); + + private Match(final Segment pS1, final Segment pS2) { + this.fS1 = pS1; + this.fS2 = pS2; + } + + @Override + public Object get(final String parameterName) { + switch(parameterName) { + case "S1": return this.fS1; + case "S2": return this.fS2; + default: return null; + } + } + + @Override + public Object get(final int index) { + switch(index) { + case 0: return this.fS1; + case 1: return this.fS2; + default: return null; + } + } + + public Segment getS1() { + return this.fS1; + } + + public Segment getS2() { + return this.fS2; + } + + @Override + public boolean set(final String parameterName, final Object newValue) { + if (!isMutable()) throw new java.lang.UnsupportedOperationException(); + if ("S1".equals(parameterName) ) { + this.fS1 = (Segment) newValue; + return true; + } + if ("S2".equals(parameterName) ) { + this.fS2 = (Segment) newValue; + return true; + } + return false; + } + + public void setS1(final Segment pS1) { + if (!isMutable()) throw new java.lang.UnsupportedOperationException(); + this.fS1 = pS1; + } + + public void setS2(final Segment pS2) { + if (!isMutable()) throw new java.lang.UnsupportedOperationException(); + this.fS2 = pS2; + } + + @Override + public String patternName() { + return "modes3.queries.reachable"; + } + + @Override + public List parameterNames() { + return Reachable.Match.parameterNames; + } + + @Override + public Object[] toArray() { + return new Object[]{fS1, fS2}; + } + + @Override + public Reachable.Match toImmutable() { + return isMutable() ? newMatch(fS1, fS2) : this; + } + + @Override + public String prettyPrint() { + StringBuilder result = new StringBuilder(); + result.append("\"S1\"=" + prettyPrintValue(fS1) + ", "); + result.append("\"S2\"=" + prettyPrintValue(fS2)); + return result.toString(); + } + + @Override + public int hashCode() { + return Objects.hash(fS1, fS2); + } + + @Override + public boolean equals(final Object obj) { + if (this == obj) + return true; + if (obj == null) { + return false; + } + if ((obj instanceof Reachable.Match)) { + Reachable.Match other = (Reachable.Match) obj; + return Objects.equals(fS1, other.fS1) && Objects.equals(fS2, other.fS2); + } else { + // this should be infrequent + if (!(obj instanceof IPatternMatch)) { + return false; + } + IPatternMatch otherSig = (IPatternMatch) obj; + return Objects.equals(specification(), otherSig.specification()) && Arrays.deepEquals(toArray(), otherSig.toArray()); + } + } + + @Override + public Reachable specification() { + return Reachable.instance(); + } + + /** + * Returns an empty, mutable match. + * Fields of the mutable match can be filled to create a partial match, usable as matcher input. + * + * @return the empty match. + * + */ + public static Reachable.Match newEmptyMatch() { + return new Mutable(null, null); + } + + /** + * Returns a mutable (partial) match. + * Fields of the mutable match can be filled to create a partial match, usable as matcher input. + * + * @param pS1 the fixed value of pattern parameter S1, or null if not bound. + * @param pS2 the fixed value of pattern parameter S2, or null if not bound. + * @return the new, mutable (partial) match object. + * + */ + public static Reachable.Match newMutableMatch(final Segment pS1, final Segment pS2) { + return new Mutable(pS1, pS2); + } + + /** + * Returns a new (partial) match. + * This can be used e.g. to call the matcher with a partial match. + *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. + * @param pS1 the fixed value of pattern parameter S1, or null if not bound. + * @param pS2 the fixed value of pattern parameter S2, or null if not bound. + * @return the (partial) match object. + * + */ + public static Reachable.Match newMatch(final Segment pS1, final Segment pS2) { + return new Immutable(pS1, pS2); + } + + private static final class Mutable extends Reachable.Match { + Mutable(final Segment pS1, final Segment pS2) { + super(pS1, pS2); + } + + @Override + public boolean isMutable() { + return true; + } + } + + private static final class Immutable extends Reachable.Match { + Immutable(final Segment pS1, final Segment pS2) { + super(pS1, pS2); + } + + @Override + public boolean isMutable() { + return false; + } + } + } + + /** + * Generated pattern matcher API of the modes3.queries.reachable pattern, + * providing pattern-specific query methods. + * + *

    Use the pattern matcher on a given model via {@link #on(ViatraQueryEngine)}, + * e.g. in conjunction with {@link ViatraQueryEngine#on(QueryScope)}. + * + *

    Matches of the pattern will be represented as {@link Match}. + * + *

    Original source: + *

    +   * pattern reachable(S1 : Segment, S2 : Segment) {
    +   * 	S1 == S2;
    +   * } or {
    +   * 	find adjacent+(S1, S2);
    +   * }
    +   * 
    + * + * @see Match + * @see Reachable + * + */ + public static class Matcher extends BaseMatcher { + /** + * Initializes the pattern matcher within an existing VIATRA Query engine. + * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. + * + * @param engine the existing VIATRA Query engine in which this matcher will be created. + * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation + * + */ + public static Reachable.Matcher on(final ViatraQueryEngine engine) { + // check if matcher already exists + Matcher matcher = engine.getExistingMatcher(querySpecification()); + if (matcher == null) { + matcher = (Matcher)engine.getMatcher(querySpecification()); + } + return matcher; + } + + /** + * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation + * @return an initialized matcher + * @noreference This method is for internal matcher initialization by the framework, do not call it manually. + * + */ + public static Reachable.Matcher create() { + return new Matcher(); + } + + private static final int POSITION_S1 = 0; + + private static final int POSITION_S2 = 1; + + private static final Logger LOGGER = ViatraQueryLoggingUtil.getLogger(Reachable.Matcher.class); + + /** + * Initializes the pattern matcher within an existing VIATRA Query engine. + * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. + * + * @param engine the existing VIATRA Query engine in which this matcher will be created. + * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation + * + */ + private Matcher() { + super(querySpecification()); + } + + /** + * Returns the set of all matches of the pattern that conform to the given fixed values of some parameters. + * @param pS1 the fixed value of pattern parameter S1, or null if not bound. + * @param pS2 the fixed value of pattern parameter S2, or null if not bound. + * @return matches represented as a Match object. + * + */ + public Collection getAllMatches(final Segment pS1, final Segment pS2) { + return rawStreamAllMatches(new Object[]{pS1, pS2}).collect(Collectors.toSet()); + } + + /** + * Returns a stream of all matches of the pattern that conform to the given fixed values of some parameters. + *

    + * NOTE: It is important not to modify the source model while the stream is being processed. + * If the match set of the pattern changes during processing, the contents of the stream is undefined. + * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. + * @param pS1 the fixed value of pattern parameter S1, or null if not bound. + * @param pS2 the fixed value of pattern parameter S2, or null if not bound. + * @return a stream of matches represented as a Match object. + * + */ + public Stream streamAllMatches(final Segment pS1, final Segment pS2) { + return rawStreamAllMatches(new Object[]{pS1, pS2}); + } + + /** + * Returns an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. + * Neither determinism nor randomness of selection is guaranteed. + * @param pS1 the fixed value of pattern parameter S1, or null if not bound. + * @param pS2 the fixed value of pattern parameter S2, or null if not bound. + * @return a match represented as a Match object, or null if no match is found. + * + */ + public Optional getOneArbitraryMatch(final Segment pS1, final Segment pS2) { + return rawGetOneArbitraryMatch(new Object[]{pS1, pS2}); + } + + /** + * Indicates whether the given combination of specified pattern parameters constitute a valid pattern match, + * under any possible substitution of the unspecified parameters (if any). + * @param pS1 the fixed value of pattern parameter S1, or null if not bound. + * @param pS2 the fixed value of pattern parameter S2, or null if not bound. + * @return true if the input is a valid (partial) match of the pattern. + * + */ + public boolean hasMatch(final Segment pS1, final Segment pS2) { + return rawHasMatch(new Object[]{pS1, pS2}); + } + + /** + * Returns the number of all matches of the pattern that conform to the given fixed values of some parameters. + * @param pS1 the fixed value of pattern parameter S1, or null if not bound. + * @param pS2 the fixed value of pattern parameter S2, or null if not bound. + * @return the number of pattern matches found. + * + */ + public int countMatches(final Segment pS1, final Segment pS2) { + return rawCountMatches(new Object[]{pS1, pS2}); + } + + /** + * Executes the given processor on an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. + * Neither determinism nor randomness of selection is guaranteed. + * @param pS1 the fixed value of pattern parameter S1, or null if not bound. + * @param pS2 the fixed value of pattern parameter S2, or null if not bound. + * @param processor the action that will process the selected match. + * @return true if the pattern has at least one match with the given parameter values, false if the processor was not invoked + * + */ + public boolean forOneArbitraryMatch(final Segment pS1, final Segment pS2, final Consumer processor) { + return rawForOneArbitraryMatch(new Object[]{pS1, pS2}, processor); + } + + /** + * Returns a new (partial) match. + * This can be used e.g. to call the matcher with a partial match. + *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. + * @param pS1 the fixed value of pattern parameter S1, or null if not bound. + * @param pS2 the fixed value of pattern parameter S2, or null if not bound. + * @return the (partial) match object. + * + */ + public Reachable.Match newMatch(final Segment pS1, final Segment pS2) { + return Reachable.Match.newMatch(pS1, pS2); + } + + /** + * Retrieve the set of values that occur in matches for S1. + * @return the Set of all values or empty set if there are no matches + * + */ + protected Stream rawStreamAllValuesOfS1(final Object[] parameters) { + return rawStreamAllValues(POSITION_S1, parameters).map(Segment.class::cast); + } + + /** + * Retrieve the set of values that occur in matches for S1. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOfS1() { + return rawStreamAllValuesOfS1(emptyArray()).collect(Collectors.toSet()); + } + + /** + * Retrieve the set of values that occur in matches for S1. + * @return the Set of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOfS1() { + return rawStreamAllValuesOfS1(emptyArray()); + } + + /** + * Retrieve the set of values that occur in matches for S1. + *

    + * NOTE: It is important not to modify the source model while the stream is being processed. + * If the match set of the pattern changes during processing, the contents of the stream is undefined. + * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. + * + * @return the Stream of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOfS1(final Reachable.Match partialMatch) { + return rawStreamAllValuesOfS1(partialMatch.toArray()); + } + + /** + * Retrieve the set of values that occur in matches for S1. + *

    + * NOTE: It is important not to modify the source model while the stream is being processed. + * If the match set of the pattern changes during processing, the contents of the stream is undefined. + * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. + * + * @return the Stream of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOfS1(final Segment pS2) { + return rawStreamAllValuesOfS1(new Object[]{null, pS2}); + } + + /** + * Retrieve the set of values that occur in matches for S1. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOfS1(final Reachable.Match partialMatch) { + return rawStreamAllValuesOfS1(partialMatch.toArray()).collect(Collectors.toSet()); + } + + /** + * Retrieve the set of values that occur in matches for S1. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOfS1(final Segment pS2) { + return rawStreamAllValuesOfS1(new Object[]{null, pS2}).collect(Collectors.toSet()); + } + + /** + * Retrieve the set of values that occur in matches for S2. + * @return the Set of all values or empty set if there are no matches + * + */ + protected Stream rawStreamAllValuesOfS2(final Object[] parameters) { + return rawStreamAllValues(POSITION_S2, parameters).map(Segment.class::cast); + } + + /** + * Retrieve the set of values that occur in matches for S2. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOfS2() { + return rawStreamAllValuesOfS2(emptyArray()).collect(Collectors.toSet()); + } + + /** + * Retrieve the set of values that occur in matches for S2. + * @return the Set of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOfS2() { + return rawStreamAllValuesOfS2(emptyArray()); + } + + /** + * Retrieve the set of values that occur in matches for S2. + *

    + * NOTE: It is important not to modify the source model while the stream is being processed. + * If the match set of the pattern changes during processing, the contents of the stream is undefined. + * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. + * + * @return the Stream of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOfS2(final Reachable.Match partialMatch) { + return rawStreamAllValuesOfS2(partialMatch.toArray()); + } + + /** + * Retrieve the set of values that occur in matches for S2. + *

    + * NOTE: It is important not to modify the source model while the stream is being processed. + * If the match set of the pattern changes during processing, the contents of the stream is undefined. + * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. + * + * @return the Stream of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOfS2(final Segment pS1) { + return rawStreamAllValuesOfS2(new Object[]{pS1, null}); + } + + /** + * Retrieve the set of values that occur in matches for S2. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOfS2(final Reachable.Match partialMatch) { + return rawStreamAllValuesOfS2(partialMatch.toArray()).collect(Collectors.toSet()); + } + + /** + * Retrieve the set of values that occur in matches for S2. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOfS2(final Segment pS1) { + return rawStreamAllValuesOfS2(new Object[]{pS1, null}).collect(Collectors.toSet()); + } + + @Override + protected Reachable.Match tupleToMatch(final Tuple t) { + try { + return Reachable.Match.newMatch((Segment) t.get(POSITION_S1), (Segment) t.get(POSITION_S2)); + } catch(ClassCastException e) { + LOGGER.error("Element(s) in tuple not properly typed!",e); + return null; + } + } + + @Override + protected Reachable.Match arrayToMatch(final Object[] match) { + try { + return Reachable.Match.newMatch((Segment) match[POSITION_S1], (Segment) match[POSITION_S2]); + } catch(ClassCastException e) { + LOGGER.error("Element(s) in array not properly typed!",e); + return null; + } + } + + @Override + protected Reachable.Match arrayToMatchMutable(final Object[] match) { + try { + return Reachable.Match.newMutableMatch((Segment) match[POSITION_S1], (Segment) match[POSITION_S2]); + } catch(ClassCastException e) { + LOGGER.error("Element(s) in array not properly typed!",e); + return null; + } + } + + /** + * @return the singleton instance of the query specification of this pattern + * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded + * + */ + public static IQuerySpecification querySpecification() { + return Reachable.instance(); + } + } + + private Reachable() { + super(GeneratedPQuery.INSTANCE); + } + + /** + * @return the singleton instance of the query specification + * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded + * + */ + public static Reachable instance() { + try{ + return LazyHolder.INSTANCE; + } catch (ExceptionInInitializerError err) { + throw processInitializerError(err); + } + } + + @Override + protected Reachable.Matcher instantiate(final ViatraQueryEngine engine) { + return Reachable.Matcher.on(engine); + } + + @Override + public Reachable.Matcher instantiate() { + return Reachable.Matcher.create(); + } + + @Override + public Reachable.Match newEmptyMatch() { + return Reachable.Match.newEmptyMatch(); + } + + @Override + public Reachable.Match newMatch(final Object... parameters) { + return Reachable.Match.newMatch((modes3.Segment) parameters[0], (modes3.Segment) parameters[1]); + } + + /** + * Inner class allowing the singleton instance of {@link Reachable} to be created + * not at the class load time of the outer class, + * but rather at the first call to {@link Reachable#instance()}. + * + *

    This workaround is required e.g. to support recursion. + * + */ + private static class LazyHolder { + private static final Reachable INSTANCE = new Reachable(); + + /** + * Statically initializes the query specification after the field {@link #INSTANCE} is assigned. + * This initialization order is required to support indirect recursion. + * + *

    The static initializer is defined using a helper field to work around limitations of the code generator. + * + */ + private static final Object STATIC_INITIALIZER = ensureInitialized(); + + public static Object ensureInitialized() { + INSTANCE.ensureInitializedInternal(); + return null; + } + } + + private static class GeneratedPQuery extends BaseGeneratedEMFPQuery { + private static final Reachable.GeneratedPQuery INSTANCE = new GeneratedPQuery(); + + private final PParameter parameter_S1 = new PParameter("S1", "modes3.Segment", new EClassTransitiveInstancesKey((EClass)getClassifierLiteralSafe("http://www.ece.mcgill.ca/wcet/modes3", "Segment")), PParameterDirection.INOUT); + + private final PParameter parameter_S2 = new PParameter("S2", "modes3.Segment", new EClassTransitiveInstancesKey((EClass)getClassifierLiteralSafe("http://www.ece.mcgill.ca/wcet/modes3", "Segment")), PParameterDirection.INOUT); + + private final List parameters = Arrays.asList(parameter_S1, parameter_S2); + + private GeneratedPQuery() { + super(PVisibility.PUBLIC); + } + + @Override + public String getFullyQualifiedName() { + return "modes3.queries.reachable"; + } + + @Override + public List getParameterNames() { + return Arrays.asList("S1","S2"); + } + + @Override + public List getParameters() { + return parameters; + } + + @Override + public Set doGetContainedBodies() { + setEvaluationHints(new QueryEvaluationHint(null, QueryEvaluationHint.BackendRequirement.UNSPECIFIED)); + Set bodies = new LinkedHashSet<>(); + { + PBody body = new PBody(this); + PVariable var_S1 = body.getOrCreateVariableByName("S1"); + PVariable var_S2 = body.getOrCreateVariableByName("S2"); + new TypeConstraint(body, Tuples.flatTupleOf(var_S1), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.ece.mcgill.ca/wcet/modes3", "Segment"))); + new TypeConstraint(body, Tuples.flatTupleOf(var_S2), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.ece.mcgill.ca/wcet/modes3", "Segment"))); + body.setSymbolicParameters(Arrays.asList( + new ExportedParameter(body, var_S1, parameter_S1), + new ExportedParameter(body, var_S2, parameter_S2) + )); + // S1 == S2 + new Equality(body, var_S1, var_S2); + bodies.add(body); + } + { + PBody body = new PBody(this); + PVariable var_S1 = body.getOrCreateVariableByName("S1"); + PVariable var_S2 = body.getOrCreateVariableByName("S2"); + new TypeConstraint(body, Tuples.flatTupleOf(var_S1), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.ece.mcgill.ca/wcet/modes3", "Segment"))); + new TypeConstraint(body, Tuples.flatTupleOf(var_S2), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.ece.mcgill.ca/wcet/modes3", "Segment"))); + body.setSymbolicParameters(Arrays.asList( + new ExportedParameter(body, var_S1, parameter_S1), + new ExportedParameter(body, var_S2, parameter_S2) + )); + // find adjacent+(S1, S2) + new BinaryTransitiveClosure(body, Tuples.flatTupleOf(var_S1, var_S2), Adjacent.instance().getInternalQueryRepresentation()); + bodies.add(body); + } + return bodies; + } + } +} diff --git a/Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/TooManyExtraInputsOfTurnout.java b/Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/TooManyExtraInputsOfTurnout.java new file mode 100644 index 00000000..9f417795 --- /dev/null +++ b/Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/TooManyExtraInputsOfTurnout.java @@ -0,0 +1,570 @@ +/** + * Generated from platform:/resource/ca.mcgill.rtgmrt.example.modes3/src/modes3/queries/Modes3Queries.vql + */ +package modes3.queries; + +import java.util.Arrays; +import java.util.Collection; +import java.util.LinkedHashSet; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import java.util.Set; +import java.util.function.Consumer; +import java.util.stream.Collectors; +import java.util.stream.Stream; +import modes3.Turnout; +import modes3.queries.ExtraInputOfTurnout; +import org.apache.log4j.Logger; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.viatra.query.runtime.api.IPatternMatch; +import org.eclipse.viatra.query.runtime.api.IQuerySpecification; +import org.eclipse.viatra.query.runtime.api.ViatraQueryEngine; +import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFPQuery; +import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFQuerySpecification; +import org.eclipse.viatra.query.runtime.api.impl.BaseMatcher; +import org.eclipse.viatra.query.runtime.api.impl.BasePatternMatch; +import org.eclipse.viatra.query.runtime.emf.types.EClassTransitiveInstancesKey; +import org.eclipse.viatra.query.runtime.matchers.backend.QueryEvaluationHint; +import org.eclipse.viatra.query.runtime.matchers.psystem.PBody; +import org.eclipse.viatra.query.runtime.matchers.psystem.PVariable; +import org.eclipse.viatra.query.runtime.matchers.psystem.annotations.PAnnotation; +import org.eclipse.viatra.query.runtime.matchers.psystem.annotations.ParameterReference; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.ExportedParameter; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.Inequality; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicenumerables.PositivePatternCall; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicenumerables.TypeConstraint; +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameter; +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameterDirection; +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PVisibility; +import org.eclipse.viatra.query.runtime.matchers.tuple.Tuple; +import org.eclipse.viatra.query.runtime.matchers.tuple.Tuples; +import org.eclipse.viatra.query.runtime.util.ViatraQueryLoggingUtil; + +/** + * A pattern-specific query specification that can instantiate Matcher in a type-safe way. + * + *

    Original source: + *

    + *         {@literal @}Constraint(message = "tooManyExtraInputsOfTurnout", severity = "error", key = { T })
    + *         pattern tooManyExtraInputsOfTurnout(T : Turnout) {
    + *         	find extraInputOfTurnout(T, I1);
    + *         	find extraInputOfTurnout(T, I2);
    + *         	I1 != I2;
    + *         }
    + * 
    + * + * @see Matcher + * @see Match + * + */ +@SuppressWarnings("all") +public final class TooManyExtraInputsOfTurnout extends BaseGeneratedEMFQuerySpecification { + /** + * Pattern-specific match representation of the modes3.queries.tooManyExtraInputsOfTurnout pattern, + * to be used in conjunction with {@link Matcher}. + * + *

    Class fields correspond to parameters of the pattern. Fields with value null are considered unassigned. + * Each instance is a (possibly partial) substitution of pattern parameters, + * usable to represent a match of the pattern in the result of a query, + * or to specify the bound (fixed) input parameters when issuing a query. + * + * @see Matcher + * + */ + public static abstract class Match extends BasePatternMatch { + private Turnout fT; + + private static List parameterNames = makeImmutableList("T"); + + private Match(final Turnout pT) { + this.fT = pT; + } + + @Override + public Object get(final String parameterName) { + switch(parameterName) { + case "T": return this.fT; + default: return null; + } + } + + @Override + public Object get(final int index) { + switch(index) { + case 0: return this.fT; + default: return null; + } + } + + public Turnout getT() { + return this.fT; + } + + @Override + public boolean set(final String parameterName, final Object newValue) { + if (!isMutable()) throw new java.lang.UnsupportedOperationException(); + if ("T".equals(parameterName) ) { + this.fT = (Turnout) newValue; + return true; + } + return false; + } + + public void setT(final Turnout pT) { + if (!isMutable()) throw new java.lang.UnsupportedOperationException(); + this.fT = pT; + } + + @Override + public String patternName() { + return "modes3.queries.tooManyExtraInputsOfTurnout"; + } + + @Override + public List parameterNames() { + return TooManyExtraInputsOfTurnout.Match.parameterNames; + } + + @Override + public Object[] toArray() { + return new Object[]{fT}; + } + + @Override + public TooManyExtraInputsOfTurnout.Match toImmutable() { + return isMutable() ? newMatch(fT) : this; + } + + @Override + public String prettyPrint() { + StringBuilder result = new StringBuilder(); + result.append("\"T\"=" + prettyPrintValue(fT)); + return result.toString(); + } + + @Override + public int hashCode() { + return Objects.hash(fT); + } + + @Override + public boolean equals(final Object obj) { + if (this == obj) + return true; + if (obj == null) { + return false; + } + if ((obj instanceof TooManyExtraInputsOfTurnout.Match)) { + TooManyExtraInputsOfTurnout.Match other = (TooManyExtraInputsOfTurnout.Match) obj; + return Objects.equals(fT, other.fT); + } else { + // this should be infrequent + if (!(obj instanceof IPatternMatch)) { + return false; + } + IPatternMatch otherSig = (IPatternMatch) obj; + return Objects.equals(specification(), otherSig.specification()) && Arrays.deepEquals(toArray(), otherSig.toArray()); + } + } + + @Override + public TooManyExtraInputsOfTurnout specification() { + return TooManyExtraInputsOfTurnout.instance(); + } + + /** + * Returns an empty, mutable match. + * Fields of the mutable match can be filled to create a partial match, usable as matcher input. + * + * @return the empty match. + * + */ + public static TooManyExtraInputsOfTurnout.Match newEmptyMatch() { + return new Mutable(null); + } + + /** + * Returns a mutable (partial) match. + * Fields of the mutable match can be filled to create a partial match, usable as matcher input. + * + * @param pT the fixed value of pattern parameter T, or null if not bound. + * @return the new, mutable (partial) match object. + * + */ + public static TooManyExtraInputsOfTurnout.Match newMutableMatch(final Turnout pT) { + return new Mutable(pT); + } + + /** + * Returns a new (partial) match. + * This can be used e.g. to call the matcher with a partial match. + *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. + * @param pT the fixed value of pattern parameter T, or null if not bound. + * @return the (partial) match object. + * + */ + public static TooManyExtraInputsOfTurnout.Match newMatch(final Turnout pT) { + return new Immutable(pT); + } + + private static final class Mutable extends TooManyExtraInputsOfTurnout.Match { + Mutable(final Turnout pT) { + super(pT); + } + + @Override + public boolean isMutable() { + return true; + } + } + + private static final class Immutable extends TooManyExtraInputsOfTurnout.Match { + Immutable(final Turnout pT) { + super(pT); + } + + @Override + public boolean isMutable() { + return false; + } + } + } + + /** + * Generated pattern matcher API of the modes3.queries.tooManyExtraInputsOfTurnout pattern, + * providing pattern-specific query methods. + * + *

    Use the pattern matcher on a given model via {@link #on(ViatraQueryEngine)}, + * e.g. in conjunction with {@link ViatraQueryEngine#on(QueryScope)}. + * + *

    Matches of the pattern will be represented as {@link Match}. + * + *

    Original source: + *

    +   * {@literal @}Constraint(message = "tooManyExtraInputsOfTurnout", severity = "error", key = { T })
    +   * pattern tooManyExtraInputsOfTurnout(T : Turnout) {
    +   * 	find extraInputOfTurnout(T, I1);
    +   * 	find extraInputOfTurnout(T, I2);
    +   * 	I1 != I2;
    +   * }
    +   * 
    + * + * @see Match + * @see TooManyExtraInputsOfTurnout + * + */ + public static class Matcher extends BaseMatcher { + /** + * Initializes the pattern matcher within an existing VIATRA Query engine. + * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. + * + * @param engine the existing VIATRA Query engine in which this matcher will be created. + * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation + * + */ + public static TooManyExtraInputsOfTurnout.Matcher on(final ViatraQueryEngine engine) { + // check if matcher already exists + Matcher matcher = engine.getExistingMatcher(querySpecification()); + if (matcher == null) { + matcher = (Matcher)engine.getMatcher(querySpecification()); + } + return matcher; + } + + /** + * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation + * @return an initialized matcher + * @noreference This method is for internal matcher initialization by the framework, do not call it manually. + * + */ + public static TooManyExtraInputsOfTurnout.Matcher create() { + return new Matcher(); + } + + private static final int POSITION_T = 0; + + private static final Logger LOGGER = ViatraQueryLoggingUtil.getLogger(TooManyExtraInputsOfTurnout.Matcher.class); + + /** + * Initializes the pattern matcher within an existing VIATRA Query engine. + * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. + * + * @param engine the existing VIATRA Query engine in which this matcher will be created. + * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation + * + */ + private Matcher() { + super(querySpecification()); + } + + /** + * Returns the set of all matches of the pattern that conform to the given fixed values of some parameters. + * @param pT the fixed value of pattern parameter T, or null if not bound. + * @return matches represented as a Match object. + * + */ + public Collection getAllMatches(final Turnout pT) { + return rawStreamAllMatches(new Object[]{pT}).collect(Collectors.toSet()); + } + + /** + * Returns a stream of all matches of the pattern that conform to the given fixed values of some parameters. + *

    + * NOTE: It is important not to modify the source model while the stream is being processed. + * If the match set of the pattern changes during processing, the contents of the stream is undefined. + * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. + * @param pT the fixed value of pattern parameter T, or null if not bound. + * @return a stream of matches represented as a Match object. + * + */ + public Stream streamAllMatches(final Turnout pT) { + return rawStreamAllMatches(new Object[]{pT}); + } + + /** + * Returns an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. + * Neither determinism nor randomness of selection is guaranteed. + * @param pT the fixed value of pattern parameter T, or null if not bound. + * @return a match represented as a Match object, or null if no match is found. + * + */ + public Optional getOneArbitraryMatch(final Turnout pT) { + return rawGetOneArbitraryMatch(new Object[]{pT}); + } + + /** + * Indicates whether the given combination of specified pattern parameters constitute a valid pattern match, + * under any possible substitution of the unspecified parameters (if any). + * @param pT the fixed value of pattern parameter T, or null if not bound. + * @return true if the input is a valid (partial) match of the pattern. + * + */ + public boolean hasMatch(final Turnout pT) { + return rawHasMatch(new Object[]{pT}); + } + + /** + * Returns the number of all matches of the pattern that conform to the given fixed values of some parameters. + * @param pT the fixed value of pattern parameter T, or null if not bound. + * @return the number of pattern matches found. + * + */ + public int countMatches(final Turnout pT) { + return rawCountMatches(new Object[]{pT}); + } + + /** + * Executes the given processor on an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. + * Neither determinism nor randomness of selection is guaranteed. + * @param pT the fixed value of pattern parameter T, or null if not bound. + * @param processor the action that will process the selected match. + * @return true if the pattern has at least one match with the given parameter values, false if the processor was not invoked + * + */ + public boolean forOneArbitraryMatch(final Turnout pT, final Consumer processor) { + return rawForOneArbitraryMatch(new Object[]{pT}, processor); + } + + /** + * Returns a new (partial) match. + * This can be used e.g. to call the matcher with a partial match. + *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. + * @param pT the fixed value of pattern parameter T, or null if not bound. + * @return the (partial) match object. + * + */ + public TooManyExtraInputsOfTurnout.Match newMatch(final Turnout pT) { + return TooManyExtraInputsOfTurnout.Match.newMatch(pT); + } + + /** + * Retrieve the set of values that occur in matches for T. + * @return the Set of all values or empty set if there are no matches + * + */ + protected Stream rawStreamAllValuesOfT(final Object[] parameters) { + return rawStreamAllValues(POSITION_T, parameters).map(Turnout.class::cast); + } + + /** + * Retrieve the set of values that occur in matches for T. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOfT() { + return rawStreamAllValuesOfT(emptyArray()).collect(Collectors.toSet()); + } + + /** + * Retrieve the set of values that occur in matches for T. + * @return the Set of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOfT() { + return rawStreamAllValuesOfT(emptyArray()); + } + + @Override + protected TooManyExtraInputsOfTurnout.Match tupleToMatch(final Tuple t) { + try { + return TooManyExtraInputsOfTurnout.Match.newMatch((Turnout) t.get(POSITION_T)); + } catch(ClassCastException e) { + LOGGER.error("Element(s) in tuple not properly typed!",e); + return null; + } + } + + @Override + protected TooManyExtraInputsOfTurnout.Match arrayToMatch(final Object[] match) { + try { + return TooManyExtraInputsOfTurnout.Match.newMatch((Turnout) match[POSITION_T]); + } catch(ClassCastException e) { + LOGGER.error("Element(s) in array not properly typed!",e); + return null; + } + } + + @Override + protected TooManyExtraInputsOfTurnout.Match arrayToMatchMutable(final Object[] match) { + try { + return TooManyExtraInputsOfTurnout.Match.newMutableMatch((Turnout) match[POSITION_T]); + } catch(ClassCastException e) { + LOGGER.error("Element(s) in array not properly typed!",e); + return null; + } + } + + /** + * @return the singleton instance of the query specification of this pattern + * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded + * + */ + public static IQuerySpecification querySpecification() { + return TooManyExtraInputsOfTurnout.instance(); + } + } + + private TooManyExtraInputsOfTurnout() { + super(GeneratedPQuery.INSTANCE); + } + + /** + * @return the singleton instance of the query specification + * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded + * + */ + public static TooManyExtraInputsOfTurnout instance() { + try{ + return LazyHolder.INSTANCE; + } catch (ExceptionInInitializerError err) { + throw processInitializerError(err); + } + } + + @Override + protected TooManyExtraInputsOfTurnout.Matcher instantiate(final ViatraQueryEngine engine) { + return TooManyExtraInputsOfTurnout.Matcher.on(engine); + } + + @Override + public TooManyExtraInputsOfTurnout.Matcher instantiate() { + return TooManyExtraInputsOfTurnout.Matcher.create(); + } + + @Override + public TooManyExtraInputsOfTurnout.Match newEmptyMatch() { + return TooManyExtraInputsOfTurnout.Match.newEmptyMatch(); + } + + @Override + public TooManyExtraInputsOfTurnout.Match newMatch(final Object... parameters) { + return TooManyExtraInputsOfTurnout.Match.newMatch((modes3.Turnout) parameters[0]); + } + + /** + * Inner class allowing the singleton instance of {@link TooManyExtraInputsOfTurnout} to be created + * not at the class load time of the outer class, + * but rather at the first call to {@link TooManyExtraInputsOfTurnout#instance()}. + * + *

    This workaround is required e.g. to support recursion. + * + */ + private static class LazyHolder { + private static final TooManyExtraInputsOfTurnout INSTANCE = new TooManyExtraInputsOfTurnout(); + + /** + * Statically initializes the query specification after the field {@link #INSTANCE} is assigned. + * This initialization order is required to support indirect recursion. + * + *

    The static initializer is defined using a helper field to work around limitations of the code generator. + * + */ + private static final Object STATIC_INITIALIZER = ensureInitialized(); + + public static Object ensureInitialized() { + INSTANCE.ensureInitializedInternal(); + return null; + } + } + + private static class GeneratedPQuery extends BaseGeneratedEMFPQuery { + private static final TooManyExtraInputsOfTurnout.GeneratedPQuery INSTANCE = new GeneratedPQuery(); + + private final PParameter parameter_T = new PParameter("T", "modes3.Turnout", new EClassTransitiveInstancesKey((EClass)getClassifierLiteralSafe("http://www.ece.mcgill.ca/wcet/modes3", "Turnout")), PParameterDirection.INOUT); + + private final List parameters = Arrays.asList(parameter_T); + + private GeneratedPQuery() { + super(PVisibility.PUBLIC); + } + + @Override + public String getFullyQualifiedName() { + return "modes3.queries.tooManyExtraInputsOfTurnout"; + } + + @Override + public List getParameterNames() { + return Arrays.asList("T"); + } + + @Override + public List getParameters() { + return parameters; + } + + @Override + public Set doGetContainedBodies() { + setEvaluationHints(new QueryEvaluationHint(null, QueryEvaluationHint.BackendRequirement.UNSPECIFIED)); + Set bodies = new LinkedHashSet<>(); + { + PBody body = new PBody(this); + PVariable var_T = body.getOrCreateVariableByName("T"); + PVariable var_I1 = body.getOrCreateVariableByName("I1"); + PVariable var_I2 = body.getOrCreateVariableByName("I2"); + new TypeConstraint(body, Tuples.flatTupleOf(var_T), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.ece.mcgill.ca/wcet/modes3", "Turnout"))); + body.setSymbolicParameters(Arrays.asList( + new ExportedParameter(body, var_T, parameter_T) + )); + // find extraInputOfTurnout(T, I1) + new PositivePatternCall(body, Tuples.flatTupleOf(var_T, var_I1), ExtraInputOfTurnout.instance().getInternalQueryRepresentation()); + // find extraInputOfTurnout(T, I2) + new PositivePatternCall(body, Tuples.flatTupleOf(var_T, var_I2), ExtraInputOfTurnout.instance().getInternalQueryRepresentation()); + // I1 != I2 + new Inequality(body, var_I1, var_I2); + bodies.add(body); + } + { + PAnnotation annotation = new PAnnotation("Constraint"); + annotation.addAttribute("message", "tooManyExtraInputsOfTurnout"); + annotation.addAttribute("severity", "error"); + annotation.addAttribute("key", Arrays.asList(new Object[] { + new ParameterReference("T") + })); + addAnnotation(annotation); + } + return bodies; + } + } +} diff --git a/Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/TooManyInputsOfSegment.java b/Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/TooManyInputsOfSegment.java new file mode 100644 index 00000000..e5e8827c --- /dev/null +++ b/Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/TooManyInputsOfSegment.java @@ -0,0 +1,601 @@ +/** + * Generated from platform:/resource/ca.mcgill.rtgmrt.example.modes3/src/modes3/queries/Modes3Queries.vql + */ +package modes3.queries; + +import java.util.Arrays; +import java.util.Collection; +import java.util.LinkedHashSet; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import java.util.Set; +import java.util.function.Consumer; +import java.util.stream.Collectors; +import java.util.stream.Stream; +import modes3.Segment; +import modes3.queries.Output; +import modes3.queries.Turnout; +import org.apache.log4j.Logger; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.viatra.query.runtime.api.IPatternMatch; +import org.eclipse.viatra.query.runtime.api.IQuerySpecification; +import org.eclipse.viatra.query.runtime.api.ViatraQueryEngine; +import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFPQuery; +import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFQuerySpecification; +import org.eclipse.viatra.query.runtime.api.impl.BaseMatcher; +import org.eclipse.viatra.query.runtime.api.impl.BasePatternMatch; +import org.eclipse.viatra.query.runtime.emf.types.EClassTransitiveInstancesKey; +import org.eclipse.viatra.query.runtime.matchers.backend.QueryEvaluationHint; +import org.eclipse.viatra.query.runtime.matchers.psystem.PBody; +import org.eclipse.viatra.query.runtime.matchers.psystem.PVariable; +import org.eclipse.viatra.query.runtime.matchers.psystem.annotations.PAnnotation; +import org.eclipse.viatra.query.runtime.matchers.psystem.annotations.ParameterReference; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.ExportedParameter; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.Inequality; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.NegativePatternCall; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicenumerables.PositivePatternCall; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicenumerables.TypeConstraint; +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameter; +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameterDirection; +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PVisibility; +import org.eclipse.viatra.query.runtime.matchers.tuple.Tuple; +import org.eclipse.viatra.query.runtime.matchers.tuple.Tuples; +import org.eclipse.viatra.query.runtime.util.ViatraQueryLoggingUtil; + +/** + * A pattern-specific query specification that can instantiate Matcher in a type-safe way. + * + *

    Original source: + *

    + *         //{@literal @}Constraint(message = "noInputOfSegment", severity = "error", key = { S })
    + *         //pattern noInputOfSegment(S : Segment) {
    + *         //	neg find turnout(S);
    + *         //	neg find output(_, S);
    + *         //}
    + *         
    + *         {@literal @}Constraint(message = "tooManyInputsOfSegment", severity = "error", key = { S })
    + *         pattern tooManyInputsOfSegment(S : Segment) {
    + *         	neg find turnout(S);
    + *         	find output(I1, S);
    + *         	find output(I2, S);
    + *         	find output(I3, S);
    + *         	I1 != I2;
    + *         	I1 != I3;
    + *         	I2 != I3;
    + *         }
    + * 
    + * + * @see Matcher + * @see Match + * + */ +@SuppressWarnings("all") +public final class TooManyInputsOfSegment extends BaseGeneratedEMFQuerySpecification { + /** + * Pattern-specific match representation of the modes3.queries.tooManyInputsOfSegment pattern, + * to be used in conjunction with {@link Matcher}. + * + *

    Class fields correspond to parameters of the pattern. Fields with value null are considered unassigned. + * Each instance is a (possibly partial) substitution of pattern parameters, + * usable to represent a match of the pattern in the result of a query, + * or to specify the bound (fixed) input parameters when issuing a query. + * + * @see Matcher + * + */ + public static abstract class Match extends BasePatternMatch { + private Segment fS; + + private static List parameterNames = makeImmutableList("S"); + + private Match(final Segment pS) { + this.fS = pS; + } + + @Override + public Object get(final String parameterName) { + switch(parameterName) { + case "S": return this.fS; + default: return null; + } + } + + @Override + public Object get(final int index) { + switch(index) { + case 0: return this.fS; + default: return null; + } + } + + public Segment getS() { + return this.fS; + } + + @Override + public boolean set(final String parameterName, final Object newValue) { + if (!isMutable()) throw new java.lang.UnsupportedOperationException(); + if ("S".equals(parameterName) ) { + this.fS = (Segment) newValue; + return true; + } + return false; + } + + public void setS(final Segment pS) { + if (!isMutable()) throw new java.lang.UnsupportedOperationException(); + this.fS = pS; + } + + @Override + public String patternName() { + return "modes3.queries.tooManyInputsOfSegment"; + } + + @Override + public List parameterNames() { + return TooManyInputsOfSegment.Match.parameterNames; + } + + @Override + public Object[] toArray() { + return new Object[]{fS}; + } + + @Override + public TooManyInputsOfSegment.Match toImmutable() { + return isMutable() ? newMatch(fS) : this; + } + + @Override + public String prettyPrint() { + StringBuilder result = new StringBuilder(); + result.append("\"S\"=" + prettyPrintValue(fS)); + return result.toString(); + } + + @Override + public int hashCode() { + return Objects.hash(fS); + } + + @Override + public boolean equals(final Object obj) { + if (this == obj) + return true; + if (obj == null) { + return false; + } + if ((obj instanceof TooManyInputsOfSegment.Match)) { + TooManyInputsOfSegment.Match other = (TooManyInputsOfSegment.Match) obj; + return Objects.equals(fS, other.fS); + } else { + // this should be infrequent + if (!(obj instanceof IPatternMatch)) { + return false; + } + IPatternMatch otherSig = (IPatternMatch) obj; + return Objects.equals(specification(), otherSig.specification()) && Arrays.deepEquals(toArray(), otherSig.toArray()); + } + } + + @Override + public TooManyInputsOfSegment specification() { + return TooManyInputsOfSegment.instance(); + } + + /** + * Returns an empty, mutable match. + * Fields of the mutable match can be filled to create a partial match, usable as matcher input. + * + * @return the empty match. + * + */ + public static TooManyInputsOfSegment.Match newEmptyMatch() { + return new Mutable(null); + } + + /** + * Returns a mutable (partial) match. + * Fields of the mutable match can be filled to create a partial match, usable as matcher input. + * + * @param pS the fixed value of pattern parameter S, or null if not bound. + * @return the new, mutable (partial) match object. + * + */ + public static TooManyInputsOfSegment.Match newMutableMatch(final Segment pS) { + return new Mutable(pS); + } + + /** + * Returns a new (partial) match. + * This can be used e.g. to call the matcher with a partial match. + *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. + * @param pS the fixed value of pattern parameter S, or null if not bound. + * @return the (partial) match object. + * + */ + public static TooManyInputsOfSegment.Match newMatch(final Segment pS) { + return new Immutable(pS); + } + + private static final class Mutable extends TooManyInputsOfSegment.Match { + Mutable(final Segment pS) { + super(pS); + } + + @Override + public boolean isMutable() { + return true; + } + } + + private static final class Immutable extends TooManyInputsOfSegment.Match { + Immutable(final Segment pS) { + super(pS); + } + + @Override + public boolean isMutable() { + return false; + } + } + } + + /** + * Generated pattern matcher API of the modes3.queries.tooManyInputsOfSegment pattern, + * providing pattern-specific query methods. + * + *

    Use the pattern matcher on a given model via {@link #on(ViatraQueryEngine)}, + * e.g. in conjunction with {@link ViatraQueryEngine#on(QueryScope)}. + * + *

    Matches of the pattern will be represented as {@link Match}. + * + *

    Original source: + *

    +   * //{@literal @}Constraint(message = "noInputOfSegment", severity = "error", key = { S })
    +   * //pattern noInputOfSegment(S : Segment) {
    +   * //	neg find turnout(S);
    +   * //	neg find output(_, S);
    +   * //}
    +   * 
    +   * {@literal @}Constraint(message = "tooManyInputsOfSegment", severity = "error", key = { S })
    +   * pattern tooManyInputsOfSegment(S : Segment) {
    +   * 	neg find turnout(S);
    +   * 	find output(I1, S);
    +   * 	find output(I2, S);
    +   * 	find output(I3, S);
    +   * 	I1 != I2;
    +   * 	I1 != I3;
    +   * 	I2 != I3;
    +   * }
    +   * 
    + * + * @see Match + * @see TooManyInputsOfSegment + * + */ + public static class Matcher extends BaseMatcher { + /** + * Initializes the pattern matcher within an existing VIATRA Query engine. + * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. + * + * @param engine the existing VIATRA Query engine in which this matcher will be created. + * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation + * + */ + public static TooManyInputsOfSegment.Matcher on(final ViatraQueryEngine engine) { + // check if matcher already exists + Matcher matcher = engine.getExistingMatcher(querySpecification()); + if (matcher == null) { + matcher = (Matcher)engine.getMatcher(querySpecification()); + } + return matcher; + } + + /** + * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation + * @return an initialized matcher + * @noreference This method is for internal matcher initialization by the framework, do not call it manually. + * + */ + public static TooManyInputsOfSegment.Matcher create() { + return new Matcher(); + } + + private static final int POSITION_S = 0; + + private static final Logger LOGGER = ViatraQueryLoggingUtil.getLogger(TooManyInputsOfSegment.Matcher.class); + + /** + * Initializes the pattern matcher within an existing VIATRA Query engine. + * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. + * + * @param engine the existing VIATRA Query engine in which this matcher will be created. + * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation + * + */ + private Matcher() { + super(querySpecification()); + } + + /** + * Returns the set of all matches of the pattern that conform to the given fixed values of some parameters. + * @param pS the fixed value of pattern parameter S, or null if not bound. + * @return matches represented as a Match object. + * + */ + public Collection getAllMatches(final Segment pS) { + return rawStreamAllMatches(new Object[]{pS}).collect(Collectors.toSet()); + } + + /** + * Returns a stream of all matches of the pattern that conform to the given fixed values of some parameters. + *

    + * NOTE: It is important not to modify the source model while the stream is being processed. + * If the match set of the pattern changes during processing, the contents of the stream is undefined. + * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. + * @param pS the fixed value of pattern parameter S, or null if not bound. + * @return a stream of matches represented as a Match object. + * + */ + public Stream streamAllMatches(final Segment pS) { + return rawStreamAllMatches(new Object[]{pS}); + } + + /** + * Returns an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. + * Neither determinism nor randomness of selection is guaranteed. + * @param pS the fixed value of pattern parameter S, or null if not bound. + * @return a match represented as a Match object, or null if no match is found. + * + */ + public Optional getOneArbitraryMatch(final Segment pS) { + return rawGetOneArbitraryMatch(new Object[]{pS}); + } + + /** + * Indicates whether the given combination of specified pattern parameters constitute a valid pattern match, + * under any possible substitution of the unspecified parameters (if any). + * @param pS the fixed value of pattern parameter S, or null if not bound. + * @return true if the input is a valid (partial) match of the pattern. + * + */ + public boolean hasMatch(final Segment pS) { + return rawHasMatch(new Object[]{pS}); + } + + /** + * Returns the number of all matches of the pattern that conform to the given fixed values of some parameters. + * @param pS the fixed value of pattern parameter S, or null if not bound. + * @return the number of pattern matches found. + * + */ + public int countMatches(final Segment pS) { + return rawCountMatches(new Object[]{pS}); + } + + /** + * Executes the given processor on an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. + * Neither determinism nor randomness of selection is guaranteed. + * @param pS the fixed value of pattern parameter S, or null if not bound. + * @param processor the action that will process the selected match. + * @return true if the pattern has at least one match with the given parameter values, false if the processor was not invoked + * + */ + public boolean forOneArbitraryMatch(final Segment pS, final Consumer processor) { + return rawForOneArbitraryMatch(new Object[]{pS}, processor); + } + + /** + * Returns a new (partial) match. + * This can be used e.g. to call the matcher with a partial match. + *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. + * @param pS the fixed value of pattern parameter S, or null if not bound. + * @return the (partial) match object. + * + */ + public TooManyInputsOfSegment.Match newMatch(final Segment pS) { + return TooManyInputsOfSegment.Match.newMatch(pS); + } + + /** + * Retrieve the set of values that occur in matches for S. + * @return the Set of all values or empty set if there are no matches + * + */ + protected Stream rawStreamAllValuesOfS(final Object[] parameters) { + return rawStreamAllValues(POSITION_S, parameters).map(Segment.class::cast); + } + + /** + * Retrieve the set of values that occur in matches for S. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOfS() { + return rawStreamAllValuesOfS(emptyArray()).collect(Collectors.toSet()); + } + + /** + * Retrieve the set of values that occur in matches for S. + * @return the Set of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOfS() { + return rawStreamAllValuesOfS(emptyArray()); + } + + @Override + protected TooManyInputsOfSegment.Match tupleToMatch(final Tuple t) { + try { + return TooManyInputsOfSegment.Match.newMatch((Segment) t.get(POSITION_S)); + } catch(ClassCastException e) { + LOGGER.error("Element(s) in tuple not properly typed!",e); + return null; + } + } + + @Override + protected TooManyInputsOfSegment.Match arrayToMatch(final Object[] match) { + try { + return TooManyInputsOfSegment.Match.newMatch((Segment) match[POSITION_S]); + } catch(ClassCastException e) { + LOGGER.error("Element(s) in array not properly typed!",e); + return null; + } + } + + @Override + protected TooManyInputsOfSegment.Match arrayToMatchMutable(final Object[] match) { + try { + return TooManyInputsOfSegment.Match.newMutableMatch((Segment) match[POSITION_S]); + } catch(ClassCastException e) { + LOGGER.error("Element(s) in array not properly typed!",e); + return null; + } + } + + /** + * @return the singleton instance of the query specification of this pattern + * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded + * + */ + public static IQuerySpecification querySpecification() { + return TooManyInputsOfSegment.instance(); + } + } + + private TooManyInputsOfSegment() { + super(GeneratedPQuery.INSTANCE); + } + + /** + * @return the singleton instance of the query specification + * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded + * + */ + public static TooManyInputsOfSegment instance() { + try{ + return LazyHolder.INSTANCE; + } catch (ExceptionInInitializerError err) { + throw processInitializerError(err); + } + } + + @Override + protected TooManyInputsOfSegment.Matcher instantiate(final ViatraQueryEngine engine) { + return TooManyInputsOfSegment.Matcher.on(engine); + } + + @Override + public TooManyInputsOfSegment.Matcher instantiate() { + return TooManyInputsOfSegment.Matcher.create(); + } + + @Override + public TooManyInputsOfSegment.Match newEmptyMatch() { + return TooManyInputsOfSegment.Match.newEmptyMatch(); + } + + @Override + public TooManyInputsOfSegment.Match newMatch(final Object... parameters) { + return TooManyInputsOfSegment.Match.newMatch((modes3.Segment) parameters[0]); + } + + /** + * Inner class allowing the singleton instance of {@link TooManyInputsOfSegment} to be created + * not at the class load time of the outer class, + * but rather at the first call to {@link TooManyInputsOfSegment#instance()}. + * + *

    This workaround is required e.g. to support recursion. + * + */ + private static class LazyHolder { + private static final TooManyInputsOfSegment INSTANCE = new TooManyInputsOfSegment(); + + /** + * Statically initializes the query specification after the field {@link #INSTANCE} is assigned. + * This initialization order is required to support indirect recursion. + * + *

    The static initializer is defined using a helper field to work around limitations of the code generator. + * + */ + private static final Object STATIC_INITIALIZER = ensureInitialized(); + + public static Object ensureInitialized() { + INSTANCE.ensureInitializedInternal(); + return null; + } + } + + private static class GeneratedPQuery extends BaseGeneratedEMFPQuery { + private static final TooManyInputsOfSegment.GeneratedPQuery INSTANCE = new GeneratedPQuery(); + + private final PParameter parameter_S = new PParameter("S", "modes3.Segment", new EClassTransitiveInstancesKey((EClass)getClassifierLiteralSafe("http://www.ece.mcgill.ca/wcet/modes3", "Segment")), PParameterDirection.INOUT); + + private final List parameters = Arrays.asList(parameter_S); + + private GeneratedPQuery() { + super(PVisibility.PUBLIC); + } + + @Override + public String getFullyQualifiedName() { + return "modes3.queries.tooManyInputsOfSegment"; + } + + @Override + public List getParameterNames() { + return Arrays.asList("S"); + } + + @Override + public List getParameters() { + return parameters; + } + + @Override + public Set doGetContainedBodies() { + setEvaluationHints(new QueryEvaluationHint(null, QueryEvaluationHint.BackendRequirement.UNSPECIFIED)); + Set bodies = new LinkedHashSet<>(); + { + PBody body = new PBody(this); + PVariable var_S = body.getOrCreateVariableByName("S"); + PVariable var_I1 = body.getOrCreateVariableByName("I1"); + PVariable var_I2 = body.getOrCreateVariableByName("I2"); + PVariable var_I3 = body.getOrCreateVariableByName("I3"); + new TypeConstraint(body, Tuples.flatTupleOf(var_S), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.ece.mcgill.ca/wcet/modes3", "Segment"))); + body.setSymbolicParameters(Arrays.asList( + new ExportedParameter(body, var_S, parameter_S) + )); + // neg find turnout(S) + new NegativePatternCall(body, Tuples.flatTupleOf(var_S), Turnout.instance().getInternalQueryRepresentation()); + // find output(I1, S) + new PositivePatternCall(body, Tuples.flatTupleOf(var_I1, var_S), Output.instance().getInternalQueryRepresentation()); + // find output(I2, S) + new PositivePatternCall(body, Tuples.flatTupleOf(var_I2, var_S), Output.instance().getInternalQueryRepresentation()); + // find output(I3, S) + new PositivePatternCall(body, Tuples.flatTupleOf(var_I3, var_S), Output.instance().getInternalQueryRepresentation()); + // I1 != I2 + new Inequality(body, var_I1, var_I2); + // I1 != I3 + new Inequality(body, var_I1, var_I3); + // I2 != I3 + new Inequality(body, var_I2, var_I3); + bodies.add(body); + } + { + PAnnotation annotation = new PAnnotation("Constraint"); + annotation.addAttribute("message", "tooManyInputsOfSegment"); + annotation.addAttribute("severity", "error"); + annotation.addAttribute("key", Arrays.asList(new Object[] { + new ParameterReference("S") + })); + addAnnotation(annotation); + } + return bodies; + } + } +} diff --git a/Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/Turnout.java b/Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/Turnout.java new file mode 100644 index 00000000..34c7631c --- /dev/null +++ b/Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/Turnout.java @@ -0,0 +1,543 @@ +/** + * Generated from platform:/resource/ca.mcgill.rtgmrt.example.modes3/src/modes3/queries/Modes3Queries.vql + */ +package modes3.queries; + +import java.util.Arrays; +import java.util.Collection; +import java.util.LinkedHashSet; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import java.util.Set; +import java.util.function.Consumer; +import java.util.stream.Collectors; +import java.util.stream.Stream; +import org.apache.log4j.Logger; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.viatra.query.runtime.api.IPatternMatch; +import org.eclipse.viatra.query.runtime.api.IQuerySpecification; +import org.eclipse.viatra.query.runtime.api.ViatraQueryEngine; +import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFPQuery; +import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFQuerySpecification; +import org.eclipse.viatra.query.runtime.api.impl.BaseMatcher; +import org.eclipse.viatra.query.runtime.api.impl.BasePatternMatch; +import org.eclipse.viatra.query.runtime.emf.types.EClassTransitiveInstancesKey; +import org.eclipse.viatra.query.runtime.matchers.backend.QueryEvaluationHint; +import org.eclipse.viatra.query.runtime.matchers.psystem.PBody; +import org.eclipse.viatra.query.runtime.matchers.psystem.PVariable; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.ExportedParameter; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicenumerables.TypeConstraint; +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameter; +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameterDirection; +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PVisibility; +import org.eclipse.viatra.query.runtime.matchers.tuple.Tuple; +import org.eclipse.viatra.query.runtime.matchers.tuple.Tuples; +import org.eclipse.viatra.query.runtime.util.ViatraQueryLoggingUtil; + +/** + * A pattern-specific query specification that can instantiate Matcher in a type-safe way. + * + *

    Original source: + *

    + *         pattern turnout(T : Turnout) {
    + *         	Turnout(T);
    + *         }
    + * 
    + * + * @see Matcher + * @see Match + * + */ +@SuppressWarnings("all") +public final class Turnout extends BaseGeneratedEMFQuerySpecification { + /** + * Pattern-specific match representation of the modes3.queries.turnout pattern, + * to be used in conjunction with {@link Matcher}. + * + *

    Class fields correspond to parameters of the pattern. Fields with value null are considered unassigned. + * Each instance is a (possibly partial) substitution of pattern parameters, + * usable to represent a match of the pattern in the result of a query, + * or to specify the bound (fixed) input parameters when issuing a query. + * + * @see Matcher + * + */ + public static abstract class Match extends BasePatternMatch { + private modes3.Turnout fT; + + private static List parameterNames = makeImmutableList("T"); + + private Match(final modes3.Turnout pT) { + this.fT = pT; + } + + @Override + public Object get(final String parameterName) { + switch(parameterName) { + case "T": return this.fT; + default: return null; + } + } + + @Override + public Object get(final int index) { + switch(index) { + case 0: return this.fT; + default: return null; + } + } + + public modes3.Turnout getT() { + return this.fT; + } + + @Override + public boolean set(final String parameterName, final Object newValue) { + if (!isMutable()) throw new java.lang.UnsupportedOperationException(); + if ("T".equals(parameterName) ) { + this.fT = (modes3.Turnout) newValue; + return true; + } + return false; + } + + public void setT(final modes3.Turnout pT) { + if (!isMutable()) throw new java.lang.UnsupportedOperationException(); + this.fT = pT; + } + + @Override + public String patternName() { + return "modes3.queries.turnout"; + } + + @Override + public List parameterNames() { + return Turnout.Match.parameterNames; + } + + @Override + public Object[] toArray() { + return new Object[]{fT}; + } + + @Override + public Turnout.Match toImmutable() { + return isMutable() ? newMatch(fT) : this; + } + + @Override + public String prettyPrint() { + StringBuilder result = new StringBuilder(); + result.append("\"T\"=" + prettyPrintValue(fT)); + return result.toString(); + } + + @Override + public int hashCode() { + return Objects.hash(fT); + } + + @Override + public boolean equals(final Object obj) { + if (this == obj) + return true; + if (obj == null) { + return false; + } + if ((obj instanceof Turnout.Match)) { + Turnout.Match other = (Turnout.Match) obj; + return Objects.equals(fT, other.fT); + } else { + // this should be infrequent + if (!(obj instanceof IPatternMatch)) { + return false; + } + IPatternMatch otherSig = (IPatternMatch) obj; + return Objects.equals(specification(), otherSig.specification()) && Arrays.deepEquals(toArray(), otherSig.toArray()); + } + } + + @Override + public Turnout specification() { + return Turnout.instance(); + } + + /** + * Returns an empty, mutable match. + * Fields of the mutable match can be filled to create a partial match, usable as matcher input. + * + * @return the empty match. + * + */ + public static Turnout.Match newEmptyMatch() { + return new Mutable(null); + } + + /** + * Returns a mutable (partial) match. + * Fields of the mutable match can be filled to create a partial match, usable as matcher input. + * + * @param pT the fixed value of pattern parameter T, or null if not bound. + * @return the new, mutable (partial) match object. + * + */ + public static Turnout.Match newMutableMatch(final modes3.Turnout pT) { + return new Mutable(pT); + } + + /** + * Returns a new (partial) match. + * This can be used e.g. to call the matcher with a partial match. + *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. + * @param pT the fixed value of pattern parameter T, or null if not bound. + * @return the (partial) match object. + * + */ + public static Turnout.Match newMatch(final modes3.Turnout pT) { + return new Immutable(pT); + } + + private static final class Mutable extends Turnout.Match { + Mutable(final modes3.Turnout pT) { + super(pT); + } + + @Override + public boolean isMutable() { + return true; + } + } + + private static final class Immutable extends Turnout.Match { + Immutable(final modes3.Turnout pT) { + super(pT); + } + + @Override + public boolean isMutable() { + return false; + } + } + } + + /** + * Generated pattern matcher API of the modes3.queries.turnout pattern, + * providing pattern-specific query methods. + * + *

    Use the pattern matcher on a given model via {@link #on(ViatraQueryEngine)}, + * e.g. in conjunction with {@link ViatraQueryEngine#on(QueryScope)}. + * + *

    Matches of the pattern will be represented as {@link Match}. + * + *

    Original source: + *

    +   * pattern turnout(T : Turnout) {
    +   * 	Turnout(T);
    +   * }
    +   * 
    + * + * @see Match + * @see Turnout + * + */ + public static class Matcher extends BaseMatcher { + /** + * Initializes the pattern matcher within an existing VIATRA Query engine. + * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. + * + * @param engine the existing VIATRA Query engine in which this matcher will be created. + * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation + * + */ + public static Turnout.Matcher on(final ViatraQueryEngine engine) { + // check if matcher already exists + Matcher matcher = engine.getExistingMatcher(querySpecification()); + if (matcher == null) { + matcher = (Matcher)engine.getMatcher(querySpecification()); + } + return matcher; + } + + /** + * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation + * @return an initialized matcher + * @noreference This method is for internal matcher initialization by the framework, do not call it manually. + * + */ + public static Turnout.Matcher create() { + return new Matcher(); + } + + private static final int POSITION_T = 0; + + private static final Logger LOGGER = ViatraQueryLoggingUtil.getLogger(Turnout.Matcher.class); + + /** + * Initializes the pattern matcher within an existing VIATRA Query engine. + * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. + * + * @param engine the existing VIATRA Query engine in which this matcher will be created. + * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation + * + */ + private Matcher() { + super(querySpecification()); + } + + /** + * Returns the set of all matches of the pattern that conform to the given fixed values of some parameters. + * @param pT the fixed value of pattern parameter T, or null if not bound. + * @return matches represented as a Match object. + * + */ + public Collection getAllMatches(final modes3.Turnout pT) { + return rawStreamAllMatches(new Object[]{pT}).collect(Collectors.toSet()); + } + + /** + * Returns a stream of all matches of the pattern that conform to the given fixed values of some parameters. + *

    + * NOTE: It is important not to modify the source model while the stream is being processed. + * If the match set of the pattern changes during processing, the contents of the stream is undefined. + * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. + * @param pT the fixed value of pattern parameter T, or null if not bound. + * @return a stream of matches represented as a Match object. + * + */ + public Stream streamAllMatches(final modes3.Turnout pT) { + return rawStreamAllMatches(new Object[]{pT}); + } + + /** + * Returns an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. + * Neither determinism nor randomness of selection is guaranteed. + * @param pT the fixed value of pattern parameter T, or null if not bound. + * @return a match represented as a Match object, or null if no match is found. + * + */ + public Optional getOneArbitraryMatch(final modes3.Turnout pT) { + return rawGetOneArbitraryMatch(new Object[]{pT}); + } + + /** + * Indicates whether the given combination of specified pattern parameters constitute a valid pattern match, + * under any possible substitution of the unspecified parameters (if any). + * @param pT the fixed value of pattern parameter T, or null if not bound. + * @return true if the input is a valid (partial) match of the pattern. + * + */ + public boolean hasMatch(final modes3.Turnout pT) { + return rawHasMatch(new Object[]{pT}); + } + + /** + * Returns the number of all matches of the pattern that conform to the given fixed values of some parameters. + * @param pT the fixed value of pattern parameter T, or null if not bound. + * @return the number of pattern matches found. + * + */ + public int countMatches(final modes3.Turnout pT) { + return rawCountMatches(new Object[]{pT}); + } + + /** + * Executes the given processor on an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. + * Neither determinism nor randomness of selection is guaranteed. + * @param pT the fixed value of pattern parameter T, or null if not bound. + * @param processor the action that will process the selected match. + * @return true if the pattern has at least one match with the given parameter values, false if the processor was not invoked + * + */ + public boolean forOneArbitraryMatch(final modes3.Turnout pT, final Consumer processor) { + return rawForOneArbitraryMatch(new Object[]{pT}, processor); + } + + /** + * Returns a new (partial) match. + * This can be used e.g. to call the matcher with a partial match. + *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. + * @param pT the fixed value of pattern parameter T, or null if not bound. + * @return the (partial) match object. + * + */ + public Turnout.Match newMatch(final modes3.Turnout pT) { + return Turnout.Match.newMatch(pT); + } + + /** + * Retrieve the set of values that occur in matches for T. + * @return the Set of all values or empty set if there are no matches + * + */ + protected Stream rawStreamAllValuesOfT(final Object[] parameters) { + return rawStreamAllValues(POSITION_T, parameters).map(modes3.Turnout.class::cast); + } + + /** + * Retrieve the set of values that occur in matches for T. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOfT() { + return rawStreamAllValuesOfT(emptyArray()).collect(Collectors.toSet()); + } + + /** + * Retrieve the set of values that occur in matches for T. + * @return the Set of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOfT() { + return rawStreamAllValuesOfT(emptyArray()); + } + + @Override + protected Turnout.Match tupleToMatch(final Tuple t) { + try { + return Turnout.Match.newMatch((modes3.Turnout) t.get(POSITION_T)); + } catch(ClassCastException e) { + LOGGER.error("Element(s) in tuple not properly typed!",e); + return null; + } + } + + @Override + protected Turnout.Match arrayToMatch(final Object[] match) { + try { + return Turnout.Match.newMatch((modes3.Turnout) match[POSITION_T]); + } catch(ClassCastException e) { + LOGGER.error("Element(s) in array not properly typed!",e); + return null; + } + } + + @Override + protected Turnout.Match arrayToMatchMutable(final Object[] match) { + try { + return Turnout.Match.newMutableMatch((modes3.Turnout) match[POSITION_T]); + } catch(ClassCastException e) { + LOGGER.error("Element(s) in array not properly typed!",e); + return null; + } + } + + /** + * @return the singleton instance of the query specification of this pattern + * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded + * + */ + public static IQuerySpecification querySpecification() { + return Turnout.instance(); + } + } + + private Turnout() { + super(GeneratedPQuery.INSTANCE); + } + + /** + * @return the singleton instance of the query specification + * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded + * + */ + public static Turnout instance() { + try{ + return LazyHolder.INSTANCE; + } catch (ExceptionInInitializerError err) { + throw processInitializerError(err); + } + } + + @Override + protected Turnout.Matcher instantiate(final ViatraQueryEngine engine) { + return Turnout.Matcher.on(engine); + } + + @Override + public Turnout.Matcher instantiate() { + return Turnout.Matcher.create(); + } + + @Override + public Turnout.Match newEmptyMatch() { + return Turnout.Match.newEmptyMatch(); + } + + @Override + public Turnout.Match newMatch(final Object... parameters) { + return Turnout.Match.newMatch((modes3.Turnout) parameters[0]); + } + + /** + * Inner class allowing the singleton instance of {@link Turnout} to be created + * not at the class load time of the outer class, + * but rather at the first call to {@link Turnout#instance()}. + * + *

    This workaround is required e.g. to support recursion. + * + */ + private static class LazyHolder { + private static final Turnout INSTANCE = new Turnout(); + + /** + * Statically initializes the query specification after the field {@link #INSTANCE} is assigned. + * This initialization order is required to support indirect recursion. + * + *

    The static initializer is defined using a helper field to work around limitations of the code generator. + * + */ + private static final Object STATIC_INITIALIZER = ensureInitialized(); + + public static Object ensureInitialized() { + INSTANCE.ensureInitializedInternal(); + return null; + } + } + + private static class GeneratedPQuery extends BaseGeneratedEMFPQuery { + private static final Turnout.GeneratedPQuery INSTANCE = new GeneratedPQuery(); + + private final PParameter parameter_T = new PParameter("T", "modes3.Turnout", new EClassTransitiveInstancesKey((EClass)getClassifierLiteralSafe("http://www.ece.mcgill.ca/wcet/modes3", "Turnout")), PParameterDirection.INOUT); + + private final List parameters = Arrays.asList(parameter_T); + + private GeneratedPQuery() { + super(PVisibility.PUBLIC); + } + + @Override + public String getFullyQualifiedName() { + return "modes3.queries.turnout"; + } + + @Override + public List getParameterNames() { + return Arrays.asList("T"); + } + + @Override + public List getParameters() { + return parameters; + } + + @Override + public Set doGetContainedBodies() { + setEvaluationHints(new QueryEvaluationHint(null, QueryEvaluationHint.BackendRequirement.UNSPECIFIED)); + Set bodies = new LinkedHashSet<>(); + { + PBody body = new PBody(this); + PVariable var_T = body.getOrCreateVariableByName("T"); + new TypeConstraint(body, Tuples.flatTupleOf(var_T), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.ece.mcgill.ca/wcet/modes3", "Turnout"))); + body.setSymbolicParameters(Arrays.asList( + new ExportedParameter(body, var_T, parameter_T) + )); + // Turnout(T) + new TypeConstraint(body, Tuples.flatTupleOf(var_T), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.ece.mcgill.ca/wcet/modes3", "Turnout"))); + bodies.add(body); + } + return bodies; + } + } +} diff --git a/Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/TurnoutConnectedToBothOutputs.java b/Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/TurnoutConnectedToBothOutputs.java new file mode 100644 index 00000000..674bb275 --- /dev/null +++ b/Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/TurnoutConnectedToBothOutputs.java @@ -0,0 +1,589 @@ +/** + * Generated from platform:/resource/ca.mcgill.rtgmrt.example.modes3/src/modes3/queries/Modes3Queries.vql + */ +package modes3.queries; + +import java.util.Arrays; +import java.util.Collection; +import java.util.LinkedHashSet; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import java.util.Set; +import java.util.function.Consumer; +import java.util.stream.Collectors; +import java.util.stream.Stream; +import modes3.Turnout; +import org.apache.log4j.Logger; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.viatra.query.runtime.api.IPatternMatch; +import org.eclipse.viatra.query.runtime.api.IQuerySpecification; +import org.eclipse.viatra.query.runtime.api.ViatraQueryEngine; +import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFPQuery; +import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFQuerySpecification; +import org.eclipse.viatra.query.runtime.api.impl.BaseMatcher; +import org.eclipse.viatra.query.runtime.api.impl.BasePatternMatch; +import org.eclipse.viatra.query.runtime.emf.types.EClassTransitiveInstancesKey; +import org.eclipse.viatra.query.runtime.emf.types.EStructuralFeatureInstancesKey; +import org.eclipse.viatra.query.runtime.matchers.backend.QueryEvaluationHint; +import org.eclipse.viatra.query.runtime.matchers.psystem.PBody; +import org.eclipse.viatra.query.runtime.matchers.psystem.PVariable; +import org.eclipse.viatra.query.runtime.matchers.psystem.annotations.PAnnotation; +import org.eclipse.viatra.query.runtime.matchers.psystem.annotations.ParameterReference; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.Equality; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.ExportedParameter; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicenumerables.TypeConstraint; +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameter; +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameterDirection; +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PVisibility; +import org.eclipse.viatra.query.runtime.matchers.tuple.Tuple; +import org.eclipse.viatra.query.runtime.matchers.tuple.Tuples; +import org.eclipse.viatra.query.runtime.util.ViatraQueryLoggingUtil; + +/** + * A pattern-specific query specification that can instantiate Matcher in a type-safe way. + * + *

    Original source: + *

    + *         {@literal @}Constraint(message = "turnoutConnectedToBothOutputs", severity = "error", key = { T })
    + *         pattern turnoutConnectedToBothOutputs(T : Turnout) {
    + *         	Turnout.straight(T, Straight);
    + *         	Turnout.divergent(T, Divergent);
    + *         	Segment.connectedTo(T, Straight);
    + *         	Segment.connectedTo(T, Divergent);
    + *         }
    + * 
    + * + * @see Matcher + * @see Match + * + */ +@SuppressWarnings("all") +public final class TurnoutConnectedToBothOutputs extends BaseGeneratedEMFQuerySpecification { + /** + * Pattern-specific match representation of the modes3.queries.turnoutConnectedToBothOutputs pattern, + * to be used in conjunction with {@link Matcher}. + * + *

    Class fields correspond to parameters of the pattern. Fields with value null are considered unassigned. + * Each instance is a (possibly partial) substitution of pattern parameters, + * usable to represent a match of the pattern in the result of a query, + * or to specify the bound (fixed) input parameters when issuing a query. + * + * @see Matcher + * + */ + public static abstract class Match extends BasePatternMatch { + private Turnout fT; + + private static List parameterNames = makeImmutableList("T"); + + private Match(final Turnout pT) { + this.fT = pT; + } + + @Override + public Object get(final String parameterName) { + switch(parameterName) { + case "T": return this.fT; + default: return null; + } + } + + @Override + public Object get(final int index) { + switch(index) { + case 0: return this.fT; + default: return null; + } + } + + public Turnout getT() { + return this.fT; + } + + @Override + public boolean set(final String parameterName, final Object newValue) { + if (!isMutable()) throw new java.lang.UnsupportedOperationException(); + if ("T".equals(parameterName) ) { + this.fT = (Turnout) newValue; + return true; + } + return false; + } + + public void setT(final Turnout pT) { + if (!isMutable()) throw new java.lang.UnsupportedOperationException(); + this.fT = pT; + } + + @Override + public String patternName() { + return "modes3.queries.turnoutConnectedToBothOutputs"; + } + + @Override + public List parameterNames() { + return TurnoutConnectedToBothOutputs.Match.parameterNames; + } + + @Override + public Object[] toArray() { + return new Object[]{fT}; + } + + @Override + public TurnoutConnectedToBothOutputs.Match toImmutable() { + return isMutable() ? newMatch(fT) : this; + } + + @Override + public String prettyPrint() { + StringBuilder result = new StringBuilder(); + result.append("\"T\"=" + prettyPrintValue(fT)); + return result.toString(); + } + + @Override + public int hashCode() { + return Objects.hash(fT); + } + + @Override + public boolean equals(final Object obj) { + if (this == obj) + return true; + if (obj == null) { + return false; + } + if ((obj instanceof TurnoutConnectedToBothOutputs.Match)) { + TurnoutConnectedToBothOutputs.Match other = (TurnoutConnectedToBothOutputs.Match) obj; + return Objects.equals(fT, other.fT); + } else { + // this should be infrequent + if (!(obj instanceof IPatternMatch)) { + return false; + } + IPatternMatch otherSig = (IPatternMatch) obj; + return Objects.equals(specification(), otherSig.specification()) && Arrays.deepEquals(toArray(), otherSig.toArray()); + } + } + + @Override + public TurnoutConnectedToBothOutputs specification() { + return TurnoutConnectedToBothOutputs.instance(); + } + + /** + * Returns an empty, mutable match. + * Fields of the mutable match can be filled to create a partial match, usable as matcher input. + * + * @return the empty match. + * + */ + public static TurnoutConnectedToBothOutputs.Match newEmptyMatch() { + return new Mutable(null); + } + + /** + * Returns a mutable (partial) match. + * Fields of the mutable match can be filled to create a partial match, usable as matcher input. + * + * @param pT the fixed value of pattern parameter T, or null if not bound. + * @return the new, mutable (partial) match object. + * + */ + public static TurnoutConnectedToBothOutputs.Match newMutableMatch(final Turnout pT) { + return new Mutable(pT); + } + + /** + * Returns a new (partial) match. + * This can be used e.g. to call the matcher with a partial match. + *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. + * @param pT the fixed value of pattern parameter T, or null if not bound. + * @return the (partial) match object. + * + */ + public static TurnoutConnectedToBothOutputs.Match newMatch(final Turnout pT) { + return new Immutable(pT); + } + + private static final class Mutable extends TurnoutConnectedToBothOutputs.Match { + Mutable(final Turnout pT) { + super(pT); + } + + @Override + public boolean isMutable() { + return true; + } + } + + private static final class Immutable extends TurnoutConnectedToBothOutputs.Match { + Immutable(final Turnout pT) { + super(pT); + } + + @Override + public boolean isMutable() { + return false; + } + } + } + + /** + * Generated pattern matcher API of the modes3.queries.turnoutConnectedToBothOutputs pattern, + * providing pattern-specific query methods. + * + *

    Use the pattern matcher on a given model via {@link #on(ViatraQueryEngine)}, + * e.g. in conjunction with {@link ViatraQueryEngine#on(QueryScope)}. + * + *

    Matches of the pattern will be represented as {@link Match}. + * + *

    Original source: + *

    +   * {@literal @}Constraint(message = "turnoutConnectedToBothOutputs", severity = "error", key = { T })
    +   * pattern turnoutConnectedToBothOutputs(T : Turnout) {
    +   * 	Turnout.straight(T, Straight);
    +   * 	Turnout.divergent(T, Divergent);
    +   * 	Segment.connectedTo(T, Straight);
    +   * 	Segment.connectedTo(T, Divergent);
    +   * }
    +   * 
    + * + * @see Match + * @see TurnoutConnectedToBothOutputs + * + */ + public static class Matcher extends BaseMatcher { + /** + * Initializes the pattern matcher within an existing VIATRA Query engine. + * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. + * + * @param engine the existing VIATRA Query engine in which this matcher will be created. + * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation + * + */ + public static TurnoutConnectedToBothOutputs.Matcher on(final ViatraQueryEngine engine) { + // check if matcher already exists + Matcher matcher = engine.getExistingMatcher(querySpecification()); + if (matcher == null) { + matcher = (Matcher)engine.getMatcher(querySpecification()); + } + return matcher; + } + + /** + * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation + * @return an initialized matcher + * @noreference This method is for internal matcher initialization by the framework, do not call it manually. + * + */ + public static TurnoutConnectedToBothOutputs.Matcher create() { + return new Matcher(); + } + + private static final int POSITION_T = 0; + + private static final Logger LOGGER = ViatraQueryLoggingUtil.getLogger(TurnoutConnectedToBothOutputs.Matcher.class); + + /** + * Initializes the pattern matcher within an existing VIATRA Query engine. + * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. + * + * @param engine the existing VIATRA Query engine in which this matcher will be created. + * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation + * + */ + private Matcher() { + super(querySpecification()); + } + + /** + * Returns the set of all matches of the pattern that conform to the given fixed values of some parameters. + * @param pT the fixed value of pattern parameter T, or null if not bound. + * @return matches represented as a Match object. + * + */ + public Collection getAllMatches(final Turnout pT) { + return rawStreamAllMatches(new Object[]{pT}).collect(Collectors.toSet()); + } + + /** + * Returns a stream of all matches of the pattern that conform to the given fixed values of some parameters. + *

    + * NOTE: It is important not to modify the source model while the stream is being processed. + * If the match set of the pattern changes during processing, the contents of the stream is undefined. + * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. + * @param pT the fixed value of pattern parameter T, or null if not bound. + * @return a stream of matches represented as a Match object. + * + */ + public Stream streamAllMatches(final Turnout pT) { + return rawStreamAllMatches(new Object[]{pT}); + } + + /** + * Returns an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. + * Neither determinism nor randomness of selection is guaranteed. + * @param pT the fixed value of pattern parameter T, or null if not bound. + * @return a match represented as a Match object, or null if no match is found. + * + */ + public Optional getOneArbitraryMatch(final Turnout pT) { + return rawGetOneArbitraryMatch(new Object[]{pT}); + } + + /** + * Indicates whether the given combination of specified pattern parameters constitute a valid pattern match, + * under any possible substitution of the unspecified parameters (if any). + * @param pT the fixed value of pattern parameter T, or null if not bound. + * @return true if the input is a valid (partial) match of the pattern. + * + */ + public boolean hasMatch(final Turnout pT) { + return rawHasMatch(new Object[]{pT}); + } + + /** + * Returns the number of all matches of the pattern that conform to the given fixed values of some parameters. + * @param pT the fixed value of pattern parameter T, or null if not bound. + * @return the number of pattern matches found. + * + */ + public int countMatches(final Turnout pT) { + return rawCountMatches(new Object[]{pT}); + } + + /** + * Executes the given processor on an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. + * Neither determinism nor randomness of selection is guaranteed. + * @param pT the fixed value of pattern parameter T, or null if not bound. + * @param processor the action that will process the selected match. + * @return true if the pattern has at least one match with the given parameter values, false if the processor was not invoked + * + */ + public boolean forOneArbitraryMatch(final Turnout pT, final Consumer processor) { + return rawForOneArbitraryMatch(new Object[]{pT}, processor); + } + + /** + * Returns a new (partial) match. + * This can be used e.g. to call the matcher with a partial match. + *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. + * @param pT the fixed value of pattern parameter T, or null if not bound. + * @return the (partial) match object. + * + */ + public TurnoutConnectedToBothOutputs.Match newMatch(final Turnout pT) { + return TurnoutConnectedToBothOutputs.Match.newMatch(pT); + } + + /** + * Retrieve the set of values that occur in matches for T. + * @return the Set of all values or empty set if there are no matches + * + */ + protected Stream rawStreamAllValuesOfT(final Object[] parameters) { + return rawStreamAllValues(POSITION_T, parameters).map(Turnout.class::cast); + } + + /** + * Retrieve the set of values that occur in matches for T. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOfT() { + return rawStreamAllValuesOfT(emptyArray()).collect(Collectors.toSet()); + } + + /** + * Retrieve the set of values that occur in matches for T. + * @return the Set of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOfT() { + return rawStreamAllValuesOfT(emptyArray()); + } + + @Override + protected TurnoutConnectedToBothOutputs.Match tupleToMatch(final Tuple t) { + try { + return TurnoutConnectedToBothOutputs.Match.newMatch((Turnout) t.get(POSITION_T)); + } catch(ClassCastException e) { + LOGGER.error("Element(s) in tuple not properly typed!",e); + return null; + } + } + + @Override + protected TurnoutConnectedToBothOutputs.Match arrayToMatch(final Object[] match) { + try { + return TurnoutConnectedToBothOutputs.Match.newMatch((Turnout) match[POSITION_T]); + } catch(ClassCastException e) { + LOGGER.error("Element(s) in array not properly typed!",e); + return null; + } + } + + @Override + protected TurnoutConnectedToBothOutputs.Match arrayToMatchMutable(final Object[] match) { + try { + return TurnoutConnectedToBothOutputs.Match.newMutableMatch((Turnout) match[POSITION_T]); + } catch(ClassCastException e) { + LOGGER.error("Element(s) in array not properly typed!",e); + return null; + } + } + + /** + * @return the singleton instance of the query specification of this pattern + * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded + * + */ + public static IQuerySpecification querySpecification() { + return TurnoutConnectedToBothOutputs.instance(); + } + } + + private TurnoutConnectedToBothOutputs() { + super(GeneratedPQuery.INSTANCE); + } + + /** + * @return the singleton instance of the query specification + * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded + * + */ + public static TurnoutConnectedToBothOutputs instance() { + try{ + return LazyHolder.INSTANCE; + } catch (ExceptionInInitializerError err) { + throw processInitializerError(err); + } + } + + @Override + protected TurnoutConnectedToBothOutputs.Matcher instantiate(final ViatraQueryEngine engine) { + return TurnoutConnectedToBothOutputs.Matcher.on(engine); + } + + @Override + public TurnoutConnectedToBothOutputs.Matcher instantiate() { + return TurnoutConnectedToBothOutputs.Matcher.create(); + } + + @Override + public TurnoutConnectedToBothOutputs.Match newEmptyMatch() { + return TurnoutConnectedToBothOutputs.Match.newEmptyMatch(); + } + + @Override + public TurnoutConnectedToBothOutputs.Match newMatch(final Object... parameters) { + return TurnoutConnectedToBothOutputs.Match.newMatch((modes3.Turnout) parameters[0]); + } + + /** + * Inner class allowing the singleton instance of {@link TurnoutConnectedToBothOutputs} to be created + * not at the class load time of the outer class, + * but rather at the first call to {@link TurnoutConnectedToBothOutputs#instance()}. + * + *

    This workaround is required e.g. to support recursion. + * + */ + private static class LazyHolder { + private static final TurnoutConnectedToBothOutputs INSTANCE = new TurnoutConnectedToBothOutputs(); + + /** + * Statically initializes the query specification after the field {@link #INSTANCE} is assigned. + * This initialization order is required to support indirect recursion. + * + *

    The static initializer is defined using a helper field to work around limitations of the code generator. + * + */ + private static final Object STATIC_INITIALIZER = ensureInitialized(); + + public static Object ensureInitialized() { + INSTANCE.ensureInitializedInternal(); + return null; + } + } + + private static class GeneratedPQuery extends BaseGeneratedEMFPQuery { + private static final TurnoutConnectedToBothOutputs.GeneratedPQuery INSTANCE = new GeneratedPQuery(); + + private final PParameter parameter_T = new PParameter("T", "modes3.Turnout", new EClassTransitiveInstancesKey((EClass)getClassifierLiteralSafe("http://www.ece.mcgill.ca/wcet/modes3", "Turnout")), PParameterDirection.INOUT); + + private final List parameters = Arrays.asList(parameter_T); + + private GeneratedPQuery() { + super(PVisibility.PUBLIC); + } + + @Override + public String getFullyQualifiedName() { + return "modes3.queries.turnoutConnectedToBothOutputs"; + } + + @Override + public List getParameterNames() { + return Arrays.asList("T"); + } + + @Override + public List getParameters() { + return parameters; + } + + @Override + public Set doGetContainedBodies() { + setEvaluationHints(new QueryEvaluationHint(null, QueryEvaluationHint.BackendRequirement.UNSPECIFIED)); + Set bodies = new LinkedHashSet<>(); + { + PBody body = new PBody(this); + PVariable var_T = body.getOrCreateVariableByName("T"); + PVariable var_Straight = body.getOrCreateVariableByName("Straight"); + PVariable var_Divergent = body.getOrCreateVariableByName("Divergent"); + new TypeConstraint(body, Tuples.flatTupleOf(var_T), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.ece.mcgill.ca/wcet/modes3", "Turnout"))); + body.setSymbolicParameters(Arrays.asList( + new ExportedParameter(body, var_T, parameter_T) + )); + // Turnout.straight(T, Straight) + new TypeConstraint(body, Tuples.flatTupleOf(var_T), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.ece.mcgill.ca/wcet/modes3", "Turnout"))); + PVariable var__virtual_0_ = body.getOrCreateVariableByName(".virtual{0}"); + new TypeConstraint(body, Tuples.flatTupleOf(var_T, var__virtual_0_), new EStructuralFeatureInstancesKey(getFeatureLiteral("http://www.ece.mcgill.ca/wcet/modes3", "Turnout", "straight"))); + new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_0_), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.ece.mcgill.ca/wcet/modes3", "Segment"))); + new Equality(body, var__virtual_0_, var_Straight); + // Turnout.divergent(T, Divergent) + new TypeConstraint(body, Tuples.flatTupleOf(var_T), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.ece.mcgill.ca/wcet/modes3", "Turnout"))); + PVariable var__virtual_1_ = body.getOrCreateVariableByName(".virtual{1}"); + new TypeConstraint(body, Tuples.flatTupleOf(var_T, var__virtual_1_), new EStructuralFeatureInstancesKey(getFeatureLiteral("http://www.ece.mcgill.ca/wcet/modes3", "Turnout", "divergent"))); + new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_1_), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.ece.mcgill.ca/wcet/modes3", "Segment"))); + new Equality(body, var__virtual_1_, var_Divergent); + // Segment.connectedTo(T, Straight) + new TypeConstraint(body, Tuples.flatTupleOf(var_T), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.ece.mcgill.ca/wcet/modes3", "Segment"))); + PVariable var__virtual_2_ = body.getOrCreateVariableByName(".virtual{2}"); + new TypeConstraint(body, Tuples.flatTupleOf(var_T, var__virtual_2_), new EStructuralFeatureInstancesKey(getFeatureLiteral("http://www.ece.mcgill.ca/wcet/modes3", "Segment", "connectedTo"))); + new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_2_), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.ece.mcgill.ca/wcet/modes3", "Segment"))); + new Equality(body, var__virtual_2_, var_Straight); + // Segment.connectedTo(T, Divergent) + new TypeConstraint(body, Tuples.flatTupleOf(var_T), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.ece.mcgill.ca/wcet/modes3", "Segment"))); + PVariable var__virtual_3_ = body.getOrCreateVariableByName(".virtual{3}"); + new TypeConstraint(body, Tuples.flatTupleOf(var_T, var__virtual_3_), new EStructuralFeatureInstancesKey(getFeatureLiteral("http://www.ece.mcgill.ca/wcet/modes3", "Segment", "connectedTo"))); + new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_3_), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.ece.mcgill.ca/wcet/modes3", "Segment"))); + new Equality(body, var__virtual_3_, var_Divergent); + bodies.add(body); + } + { + PAnnotation annotation = new PAnnotation("Constraint"); + annotation.addAttribute("message", "turnoutConnectedToBothOutputs"); + annotation.addAttribute("severity", "error"); + annotation.addAttribute("key", Arrays.asList(new Object[] { + new ParameterReference("T") + })); + addAnnotation(annotation); + } + return bodies; + } + } +} diff --git a/Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/TurnoutInSegments.java b/Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/TurnoutInSegments.java new file mode 100644 index 00000000..9c9a5d18 --- /dev/null +++ b/Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/TurnoutInSegments.java @@ -0,0 +1,564 @@ +/** + * Generated from platform:/resource/ca.mcgill.rtgmrt.example.modes3/src/modes3/queries/Modes3Queries.vql + */ +package modes3.queries; + +import java.util.Arrays; +import java.util.Collection; +import java.util.LinkedHashSet; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import java.util.Set; +import java.util.function.Consumer; +import java.util.stream.Collectors; +import java.util.stream.Stream; +import modes3.Turnout; +import org.apache.log4j.Logger; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.viatra.query.runtime.api.IPatternMatch; +import org.eclipse.viatra.query.runtime.api.IQuerySpecification; +import org.eclipse.viatra.query.runtime.api.ViatraQueryEngine; +import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFPQuery; +import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFQuerySpecification; +import org.eclipse.viatra.query.runtime.api.impl.BaseMatcher; +import org.eclipse.viatra.query.runtime.api.impl.BasePatternMatch; +import org.eclipse.viatra.query.runtime.emf.types.EClassTransitiveInstancesKey; +import org.eclipse.viatra.query.runtime.emf.types.EStructuralFeatureInstancesKey; +import org.eclipse.viatra.query.runtime.matchers.backend.QueryEvaluationHint; +import org.eclipse.viatra.query.runtime.matchers.psystem.PBody; +import org.eclipse.viatra.query.runtime.matchers.psystem.PVariable; +import org.eclipse.viatra.query.runtime.matchers.psystem.annotations.PAnnotation; +import org.eclipse.viatra.query.runtime.matchers.psystem.annotations.ParameterReference; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.Equality; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.ExportedParameter; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicenumerables.TypeConstraint; +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameter; +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameterDirection; +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PVisibility; +import org.eclipse.viatra.query.runtime.matchers.tuple.Tuple; +import org.eclipse.viatra.query.runtime.matchers.tuple.Tuples; +import org.eclipse.viatra.query.runtime.util.ViatraQueryLoggingUtil; + +/** + * A pattern-specific query specification that can instantiate Matcher in a type-safe way. + * + *

    Original source: + *

    + *         {@literal @}Constraint(message = "turnoutInSegments", severity = "error", key = { T })
    + *         pattern turnoutInSegments(T : Turnout) {
    + *         	Modes3ModelRoot.segments(_, T);
    + *         }
    + * 
    + * + * @see Matcher + * @see Match + * + */ +@SuppressWarnings("all") +public final class TurnoutInSegments extends BaseGeneratedEMFQuerySpecification { + /** + * Pattern-specific match representation of the modes3.queries.turnoutInSegments pattern, + * to be used in conjunction with {@link Matcher}. + * + *

    Class fields correspond to parameters of the pattern. Fields with value null are considered unassigned. + * Each instance is a (possibly partial) substitution of pattern parameters, + * usable to represent a match of the pattern in the result of a query, + * or to specify the bound (fixed) input parameters when issuing a query. + * + * @see Matcher + * + */ + public static abstract class Match extends BasePatternMatch { + private Turnout fT; + + private static List parameterNames = makeImmutableList("T"); + + private Match(final Turnout pT) { + this.fT = pT; + } + + @Override + public Object get(final String parameterName) { + switch(parameterName) { + case "T": return this.fT; + default: return null; + } + } + + @Override + public Object get(final int index) { + switch(index) { + case 0: return this.fT; + default: return null; + } + } + + public Turnout getT() { + return this.fT; + } + + @Override + public boolean set(final String parameterName, final Object newValue) { + if (!isMutable()) throw new java.lang.UnsupportedOperationException(); + if ("T".equals(parameterName) ) { + this.fT = (Turnout) newValue; + return true; + } + return false; + } + + public void setT(final Turnout pT) { + if (!isMutable()) throw new java.lang.UnsupportedOperationException(); + this.fT = pT; + } + + @Override + public String patternName() { + return "modes3.queries.turnoutInSegments"; + } + + @Override + public List parameterNames() { + return TurnoutInSegments.Match.parameterNames; + } + + @Override + public Object[] toArray() { + return new Object[]{fT}; + } + + @Override + public TurnoutInSegments.Match toImmutable() { + return isMutable() ? newMatch(fT) : this; + } + + @Override + public String prettyPrint() { + StringBuilder result = new StringBuilder(); + result.append("\"T\"=" + prettyPrintValue(fT)); + return result.toString(); + } + + @Override + public int hashCode() { + return Objects.hash(fT); + } + + @Override + public boolean equals(final Object obj) { + if (this == obj) + return true; + if (obj == null) { + return false; + } + if ((obj instanceof TurnoutInSegments.Match)) { + TurnoutInSegments.Match other = (TurnoutInSegments.Match) obj; + return Objects.equals(fT, other.fT); + } else { + // this should be infrequent + if (!(obj instanceof IPatternMatch)) { + return false; + } + IPatternMatch otherSig = (IPatternMatch) obj; + return Objects.equals(specification(), otherSig.specification()) && Arrays.deepEquals(toArray(), otherSig.toArray()); + } + } + + @Override + public TurnoutInSegments specification() { + return TurnoutInSegments.instance(); + } + + /** + * Returns an empty, mutable match. + * Fields of the mutable match can be filled to create a partial match, usable as matcher input. + * + * @return the empty match. + * + */ + public static TurnoutInSegments.Match newEmptyMatch() { + return new Mutable(null); + } + + /** + * Returns a mutable (partial) match. + * Fields of the mutable match can be filled to create a partial match, usable as matcher input. + * + * @param pT the fixed value of pattern parameter T, or null if not bound. + * @return the new, mutable (partial) match object. + * + */ + public static TurnoutInSegments.Match newMutableMatch(final Turnout pT) { + return new Mutable(pT); + } + + /** + * Returns a new (partial) match. + * This can be used e.g. to call the matcher with a partial match. + *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. + * @param pT the fixed value of pattern parameter T, or null if not bound. + * @return the (partial) match object. + * + */ + public static TurnoutInSegments.Match newMatch(final Turnout pT) { + return new Immutable(pT); + } + + private static final class Mutable extends TurnoutInSegments.Match { + Mutable(final Turnout pT) { + super(pT); + } + + @Override + public boolean isMutable() { + return true; + } + } + + private static final class Immutable extends TurnoutInSegments.Match { + Immutable(final Turnout pT) { + super(pT); + } + + @Override + public boolean isMutable() { + return false; + } + } + } + + /** + * Generated pattern matcher API of the modes3.queries.turnoutInSegments pattern, + * providing pattern-specific query methods. + * + *

    Use the pattern matcher on a given model via {@link #on(ViatraQueryEngine)}, + * e.g. in conjunction with {@link ViatraQueryEngine#on(QueryScope)}. + * + *

    Matches of the pattern will be represented as {@link Match}. + * + *

    Original source: + *

    +   * {@literal @}Constraint(message = "turnoutInSegments", severity = "error", key = { T })
    +   * pattern turnoutInSegments(T : Turnout) {
    +   * 	Modes3ModelRoot.segments(_, T);
    +   * }
    +   * 
    + * + * @see Match + * @see TurnoutInSegments + * + */ + public static class Matcher extends BaseMatcher { + /** + * Initializes the pattern matcher within an existing VIATRA Query engine. + * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. + * + * @param engine the existing VIATRA Query engine in which this matcher will be created. + * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation + * + */ + public static TurnoutInSegments.Matcher on(final ViatraQueryEngine engine) { + // check if matcher already exists + Matcher matcher = engine.getExistingMatcher(querySpecification()); + if (matcher == null) { + matcher = (Matcher)engine.getMatcher(querySpecification()); + } + return matcher; + } + + /** + * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation + * @return an initialized matcher + * @noreference This method is for internal matcher initialization by the framework, do not call it manually. + * + */ + public static TurnoutInSegments.Matcher create() { + return new Matcher(); + } + + private static final int POSITION_T = 0; + + private static final Logger LOGGER = ViatraQueryLoggingUtil.getLogger(TurnoutInSegments.Matcher.class); + + /** + * Initializes the pattern matcher within an existing VIATRA Query engine. + * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. + * + * @param engine the existing VIATRA Query engine in which this matcher will be created. + * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation + * + */ + private Matcher() { + super(querySpecification()); + } + + /** + * Returns the set of all matches of the pattern that conform to the given fixed values of some parameters. + * @param pT the fixed value of pattern parameter T, or null if not bound. + * @return matches represented as a Match object. + * + */ + public Collection getAllMatches(final Turnout pT) { + return rawStreamAllMatches(new Object[]{pT}).collect(Collectors.toSet()); + } + + /** + * Returns a stream of all matches of the pattern that conform to the given fixed values of some parameters. + *

    + * NOTE: It is important not to modify the source model while the stream is being processed. + * If the match set of the pattern changes during processing, the contents of the stream is undefined. + * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. + * @param pT the fixed value of pattern parameter T, or null if not bound. + * @return a stream of matches represented as a Match object. + * + */ + public Stream streamAllMatches(final Turnout pT) { + return rawStreamAllMatches(new Object[]{pT}); + } + + /** + * Returns an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. + * Neither determinism nor randomness of selection is guaranteed. + * @param pT the fixed value of pattern parameter T, or null if not bound. + * @return a match represented as a Match object, or null if no match is found. + * + */ + public Optional getOneArbitraryMatch(final Turnout pT) { + return rawGetOneArbitraryMatch(new Object[]{pT}); + } + + /** + * Indicates whether the given combination of specified pattern parameters constitute a valid pattern match, + * under any possible substitution of the unspecified parameters (if any). + * @param pT the fixed value of pattern parameter T, or null if not bound. + * @return true if the input is a valid (partial) match of the pattern. + * + */ + public boolean hasMatch(final Turnout pT) { + return rawHasMatch(new Object[]{pT}); + } + + /** + * Returns the number of all matches of the pattern that conform to the given fixed values of some parameters. + * @param pT the fixed value of pattern parameter T, or null if not bound. + * @return the number of pattern matches found. + * + */ + public int countMatches(final Turnout pT) { + return rawCountMatches(new Object[]{pT}); + } + + /** + * Executes the given processor on an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. + * Neither determinism nor randomness of selection is guaranteed. + * @param pT the fixed value of pattern parameter T, or null if not bound. + * @param processor the action that will process the selected match. + * @return true if the pattern has at least one match with the given parameter values, false if the processor was not invoked + * + */ + public boolean forOneArbitraryMatch(final Turnout pT, final Consumer processor) { + return rawForOneArbitraryMatch(new Object[]{pT}, processor); + } + + /** + * Returns a new (partial) match. + * This can be used e.g. to call the matcher with a partial match. + *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. + * @param pT the fixed value of pattern parameter T, or null if not bound. + * @return the (partial) match object. + * + */ + public TurnoutInSegments.Match newMatch(final Turnout pT) { + return TurnoutInSegments.Match.newMatch(pT); + } + + /** + * Retrieve the set of values that occur in matches for T. + * @return the Set of all values or empty set if there are no matches + * + */ + protected Stream rawStreamAllValuesOfT(final Object[] parameters) { + return rawStreamAllValues(POSITION_T, parameters).map(Turnout.class::cast); + } + + /** + * Retrieve the set of values that occur in matches for T. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOfT() { + return rawStreamAllValuesOfT(emptyArray()).collect(Collectors.toSet()); + } + + /** + * Retrieve the set of values that occur in matches for T. + * @return the Set of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOfT() { + return rawStreamAllValuesOfT(emptyArray()); + } + + @Override + protected TurnoutInSegments.Match tupleToMatch(final Tuple t) { + try { + return TurnoutInSegments.Match.newMatch((Turnout) t.get(POSITION_T)); + } catch(ClassCastException e) { + LOGGER.error("Element(s) in tuple not properly typed!",e); + return null; + } + } + + @Override + protected TurnoutInSegments.Match arrayToMatch(final Object[] match) { + try { + return TurnoutInSegments.Match.newMatch((Turnout) match[POSITION_T]); + } catch(ClassCastException e) { + LOGGER.error("Element(s) in array not properly typed!",e); + return null; + } + } + + @Override + protected TurnoutInSegments.Match arrayToMatchMutable(final Object[] match) { + try { + return TurnoutInSegments.Match.newMutableMatch((Turnout) match[POSITION_T]); + } catch(ClassCastException e) { + LOGGER.error("Element(s) in array not properly typed!",e); + return null; + } + } + + /** + * @return the singleton instance of the query specification of this pattern + * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded + * + */ + public static IQuerySpecification querySpecification() { + return TurnoutInSegments.instance(); + } + } + + private TurnoutInSegments() { + super(GeneratedPQuery.INSTANCE); + } + + /** + * @return the singleton instance of the query specification + * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded + * + */ + public static TurnoutInSegments instance() { + try{ + return LazyHolder.INSTANCE; + } catch (ExceptionInInitializerError err) { + throw processInitializerError(err); + } + } + + @Override + protected TurnoutInSegments.Matcher instantiate(final ViatraQueryEngine engine) { + return TurnoutInSegments.Matcher.on(engine); + } + + @Override + public TurnoutInSegments.Matcher instantiate() { + return TurnoutInSegments.Matcher.create(); + } + + @Override + public TurnoutInSegments.Match newEmptyMatch() { + return TurnoutInSegments.Match.newEmptyMatch(); + } + + @Override + public TurnoutInSegments.Match newMatch(final Object... parameters) { + return TurnoutInSegments.Match.newMatch((modes3.Turnout) parameters[0]); + } + + /** + * Inner class allowing the singleton instance of {@link TurnoutInSegments} to be created + * not at the class load time of the outer class, + * but rather at the first call to {@link TurnoutInSegments#instance()}. + * + *

    This workaround is required e.g. to support recursion. + * + */ + private static class LazyHolder { + private static final TurnoutInSegments INSTANCE = new TurnoutInSegments(); + + /** + * Statically initializes the query specification after the field {@link #INSTANCE} is assigned. + * This initialization order is required to support indirect recursion. + * + *

    The static initializer is defined using a helper field to work around limitations of the code generator. + * + */ + private static final Object STATIC_INITIALIZER = ensureInitialized(); + + public static Object ensureInitialized() { + INSTANCE.ensureInitializedInternal(); + return null; + } + } + + private static class GeneratedPQuery extends BaseGeneratedEMFPQuery { + private static final TurnoutInSegments.GeneratedPQuery INSTANCE = new GeneratedPQuery(); + + private final PParameter parameter_T = new PParameter("T", "modes3.Turnout", new EClassTransitiveInstancesKey((EClass)getClassifierLiteralSafe("http://www.ece.mcgill.ca/wcet/modes3", "Turnout")), PParameterDirection.INOUT); + + private final List parameters = Arrays.asList(parameter_T); + + private GeneratedPQuery() { + super(PVisibility.PUBLIC); + } + + @Override + public String getFullyQualifiedName() { + return "modes3.queries.turnoutInSegments"; + } + + @Override + public List getParameterNames() { + return Arrays.asList("T"); + } + + @Override + public List getParameters() { + return parameters; + } + + @Override + public Set doGetContainedBodies() { + setEvaluationHints(new QueryEvaluationHint(null, QueryEvaluationHint.BackendRequirement.UNSPECIFIED)); + Set bodies = new LinkedHashSet<>(); + { + PBody body = new PBody(this); + PVariable var_T = body.getOrCreateVariableByName("T"); + PVariable var___0_ = body.getOrCreateVariableByName("_<0>"); + new TypeConstraint(body, Tuples.flatTupleOf(var_T), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.ece.mcgill.ca/wcet/modes3", "Turnout"))); + body.setSymbolicParameters(Arrays.asList( + new ExportedParameter(body, var_T, parameter_T) + )); + // Modes3ModelRoot.segments(_, T) + new TypeConstraint(body, Tuples.flatTupleOf(var___0_), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.ece.mcgill.ca/wcet/modes3", "Modes3ModelRoot"))); + PVariable var__virtual_0_ = body.getOrCreateVariableByName(".virtual{0}"); + new TypeConstraint(body, Tuples.flatTupleOf(var___0_, var__virtual_0_), new EStructuralFeatureInstancesKey(getFeatureLiteral("http://www.ece.mcgill.ca/wcet/modes3", "Modes3ModelRoot", "segments"))); + new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_0_), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.ece.mcgill.ca/wcet/modes3", "Segment"))); + new Equality(body, var__virtual_0_, var_T); + bodies.add(body); + } + { + PAnnotation annotation = new PAnnotation("Constraint"); + annotation.addAttribute("message", "turnoutInSegments"); + annotation.addAttribute("severity", "error"); + annotation.addAttribute("key", Arrays.asList(new Object[] { + new ParameterReference("T") + })); + addAnnotation(annotation); + } + return bodies; + } + } +} diff --git a/Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/TurnoutOutput.java b/Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/TurnoutOutput.java new file mode 100644 index 00000000..87cccfde --- /dev/null +++ b/Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/TurnoutOutput.java @@ -0,0 +1,727 @@ +/** + * Generated from platform:/resource/ca.mcgill.rtgmrt.example.modes3/src/modes3/queries/Modes3Queries.vql + */ +package modes3.queries; + +import java.util.Arrays; +import java.util.Collection; +import java.util.LinkedHashSet; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import java.util.Set; +import java.util.function.Consumer; +import java.util.stream.Collectors; +import java.util.stream.Stream; +import modes3.Segment; +import modes3.Turnout; +import org.apache.log4j.Logger; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.viatra.query.runtime.api.IPatternMatch; +import org.eclipse.viatra.query.runtime.api.IQuerySpecification; +import org.eclipse.viatra.query.runtime.api.ViatraQueryEngine; +import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFPQuery; +import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFQuerySpecification; +import org.eclipse.viatra.query.runtime.api.impl.BaseMatcher; +import org.eclipse.viatra.query.runtime.api.impl.BasePatternMatch; +import org.eclipse.viatra.query.runtime.emf.types.EClassTransitiveInstancesKey; +import org.eclipse.viatra.query.runtime.emf.types.EStructuralFeatureInstancesKey; +import org.eclipse.viatra.query.runtime.matchers.backend.QueryEvaluationHint; +import org.eclipse.viatra.query.runtime.matchers.psystem.PBody; +import org.eclipse.viatra.query.runtime.matchers.psystem.PVariable; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.Equality; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.ExportedParameter; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicenumerables.TypeConstraint; +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameter; +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameterDirection; +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PVisibility; +import org.eclipse.viatra.query.runtime.matchers.tuple.Tuple; +import org.eclipse.viatra.query.runtime.matchers.tuple.Tuples; +import org.eclipse.viatra.query.runtime.util.ViatraQueryLoggingUtil; + +/** + * A pattern-specific query specification that can instantiate Matcher in a type-safe way. + * + *

    Original source: + *

    + *         pattern turnoutOutput(T : Turnout, S : Segment) {
    + *         	Turnout.straight(T, S);
    + *         } or {
    + *         	Turnout.divergent(T, S);
    + *         }
    + * 
    + * + * @see Matcher + * @see Match + * + */ +@SuppressWarnings("all") +public final class TurnoutOutput extends BaseGeneratedEMFQuerySpecification { + /** + * Pattern-specific match representation of the modes3.queries.turnoutOutput pattern, + * to be used in conjunction with {@link Matcher}. + * + *

    Class fields correspond to parameters of the pattern. Fields with value null are considered unassigned. + * Each instance is a (possibly partial) substitution of pattern parameters, + * usable to represent a match of the pattern in the result of a query, + * or to specify the bound (fixed) input parameters when issuing a query. + * + * @see Matcher + * + */ + public static abstract class Match extends BasePatternMatch { + private Turnout fT; + + private Segment fS; + + private static List parameterNames = makeImmutableList("T", "S"); + + private Match(final Turnout pT, final Segment pS) { + this.fT = pT; + this.fS = pS; + } + + @Override + public Object get(final String parameterName) { + switch(parameterName) { + case "T": return this.fT; + case "S": return this.fS; + default: return null; + } + } + + @Override + public Object get(final int index) { + switch(index) { + case 0: return this.fT; + case 1: return this.fS; + default: return null; + } + } + + public Turnout getT() { + return this.fT; + } + + public Segment getS() { + return this.fS; + } + + @Override + public boolean set(final String parameterName, final Object newValue) { + if (!isMutable()) throw new java.lang.UnsupportedOperationException(); + if ("T".equals(parameterName) ) { + this.fT = (Turnout) newValue; + return true; + } + if ("S".equals(parameterName) ) { + this.fS = (Segment) newValue; + return true; + } + return false; + } + + public void setT(final Turnout pT) { + if (!isMutable()) throw new java.lang.UnsupportedOperationException(); + this.fT = pT; + } + + public void setS(final Segment pS) { + if (!isMutable()) throw new java.lang.UnsupportedOperationException(); + this.fS = pS; + } + + @Override + public String patternName() { + return "modes3.queries.turnoutOutput"; + } + + @Override + public List parameterNames() { + return TurnoutOutput.Match.parameterNames; + } + + @Override + public Object[] toArray() { + return new Object[]{fT, fS}; + } + + @Override + public TurnoutOutput.Match toImmutable() { + return isMutable() ? newMatch(fT, fS) : this; + } + + @Override + public String prettyPrint() { + StringBuilder result = new StringBuilder(); + result.append("\"T\"=" + prettyPrintValue(fT) + ", "); + result.append("\"S\"=" + prettyPrintValue(fS)); + return result.toString(); + } + + @Override + public int hashCode() { + return Objects.hash(fT, fS); + } + + @Override + public boolean equals(final Object obj) { + if (this == obj) + return true; + if (obj == null) { + return false; + } + if ((obj instanceof TurnoutOutput.Match)) { + TurnoutOutput.Match other = (TurnoutOutput.Match) obj; + return Objects.equals(fT, other.fT) && Objects.equals(fS, other.fS); + } else { + // this should be infrequent + if (!(obj instanceof IPatternMatch)) { + return false; + } + IPatternMatch otherSig = (IPatternMatch) obj; + return Objects.equals(specification(), otherSig.specification()) && Arrays.deepEquals(toArray(), otherSig.toArray()); + } + } + + @Override + public TurnoutOutput specification() { + return TurnoutOutput.instance(); + } + + /** + * Returns an empty, mutable match. + * Fields of the mutable match can be filled to create a partial match, usable as matcher input. + * + * @return the empty match. + * + */ + public static TurnoutOutput.Match newEmptyMatch() { + return new Mutable(null, null); + } + + /** + * Returns a mutable (partial) match. + * Fields of the mutable match can be filled to create a partial match, usable as matcher input. + * + * @param pT the fixed value of pattern parameter T, or null if not bound. + * @param pS the fixed value of pattern parameter S, or null if not bound. + * @return the new, mutable (partial) match object. + * + */ + public static TurnoutOutput.Match newMutableMatch(final Turnout pT, final Segment pS) { + return new Mutable(pT, pS); + } + + /** + * Returns a new (partial) match. + * This can be used e.g. to call the matcher with a partial match. + *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. + * @param pT the fixed value of pattern parameter T, or null if not bound. + * @param pS the fixed value of pattern parameter S, or null if not bound. + * @return the (partial) match object. + * + */ + public static TurnoutOutput.Match newMatch(final Turnout pT, final Segment pS) { + return new Immutable(pT, pS); + } + + private static final class Mutable extends TurnoutOutput.Match { + Mutable(final Turnout pT, final Segment pS) { + super(pT, pS); + } + + @Override + public boolean isMutable() { + return true; + } + } + + private static final class Immutable extends TurnoutOutput.Match { + Immutable(final Turnout pT, final Segment pS) { + super(pT, pS); + } + + @Override + public boolean isMutable() { + return false; + } + } + } + + /** + * Generated pattern matcher API of the modes3.queries.turnoutOutput pattern, + * providing pattern-specific query methods. + * + *

    Use the pattern matcher on a given model via {@link #on(ViatraQueryEngine)}, + * e.g. in conjunction with {@link ViatraQueryEngine#on(QueryScope)}. + * + *

    Matches of the pattern will be represented as {@link Match}. + * + *

    Original source: + *

    +   * pattern turnoutOutput(T : Turnout, S : Segment) {
    +   * 	Turnout.straight(T, S);
    +   * } or {
    +   * 	Turnout.divergent(T, S);
    +   * }
    +   * 
    + * + * @see Match + * @see TurnoutOutput + * + */ + public static class Matcher extends BaseMatcher { + /** + * Initializes the pattern matcher within an existing VIATRA Query engine. + * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. + * + * @param engine the existing VIATRA Query engine in which this matcher will be created. + * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation + * + */ + public static TurnoutOutput.Matcher on(final ViatraQueryEngine engine) { + // check if matcher already exists + Matcher matcher = engine.getExistingMatcher(querySpecification()); + if (matcher == null) { + matcher = (Matcher)engine.getMatcher(querySpecification()); + } + return matcher; + } + + /** + * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation + * @return an initialized matcher + * @noreference This method is for internal matcher initialization by the framework, do not call it manually. + * + */ + public static TurnoutOutput.Matcher create() { + return new Matcher(); + } + + private static final int POSITION_T = 0; + + private static final int POSITION_S = 1; + + private static final Logger LOGGER = ViatraQueryLoggingUtil.getLogger(TurnoutOutput.Matcher.class); + + /** + * Initializes the pattern matcher within an existing VIATRA Query engine. + * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. + * + * @param engine the existing VIATRA Query engine in which this matcher will be created. + * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation + * + */ + private Matcher() { + super(querySpecification()); + } + + /** + * Returns the set of all matches of the pattern that conform to the given fixed values of some parameters. + * @param pT the fixed value of pattern parameter T, or null if not bound. + * @param pS the fixed value of pattern parameter S, or null if not bound. + * @return matches represented as a Match object. + * + */ + public Collection getAllMatches(final Turnout pT, final Segment pS) { + return rawStreamAllMatches(new Object[]{pT, pS}).collect(Collectors.toSet()); + } + + /** + * Returns a stream of all matches of the pattern that conform to the given fixed values of some parameters. + *

    + * NOTE: It is important not to modify the source model while the stream is being processed. + * If the match set of the pattern changes during processing, the contents of the stream is undefined. + * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. + * @param pT the fixed value of pattern parameter T, or null if not bound. + * @param pS the fixed value of pattern parameter S, or null if not bound. + * @return a stream of matches represented as a Match object. + * + */ + public Stream streamAllMatches(final Turnout pT, final Segment pS) { + return rawStreamAllMatches(new Object[]{pT, pS}); + } + + /** + * Returns an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. + * Neither determinism nor randomness of selection is guaranteed. + * @param pT the fixed value of pattern parameter T, or null if not bound. + * @param pS the fixed value of pattern parameter S, or null if not bound. + * @return a match represented as a Match object, or null if no match is found. + * + */ + public Optional getOneArbitraryMatch(final Turnout pT, final Segment pS) { + return rawGetOneArbitraryMatch(new Object[]{pT, pS}); + } + + /** + * Indicates whether the given combination of specified pattern parameters constitute a valid pattern match, + * under any possible substitution of the unspecified parameters (if any). + * @param pT the fixed value of pattern parameter T, or null if not bound. + * @param pS the fixed value of pattern parameter S, or null if not bound. + * @return true if the input is a valid (partial) match of the pattern. + * + */ + public boolean hasMatch(final Turnout pT, final Segment pS) { + return rawHasMatch(new Object[]{pT, pS}); + } + + /** + * Returns the number of all matches of the pattern that conform to the given fixed values of some parameters. + * @param pT the fixed value of pattern parameter T, or null if not bound. + * @param pS the fixed value of pattern parameter S, or null if not bound. + * @return the number of pattern matches found. + * + */ + public int countMatches(final Turnout pT, final Segment pS) { + return rawCountMatches(new Object[]{pT, pS}); + } + + /** + * Executes the given processor on an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. + * Neither determinism nor randomness of selection is guaranteed. + * @param pT the fixed value of pattern parameter T, or null if not bound. + * @param pS the fixed value of pattern parameter S, or null if not bound. + * @param processor the action that will process the selected match. + * @return true if the pattern has at least one match with the given parameter values, false if the processor was not invoked + * + */ + public boolean forOneArbitraryMatch(final Turnout pT, final Segment pS, final Consumer processor) { + return rawForOneArbitraryMatch(new Object[]{pT, pS}, processor); + } + + /** + * Returns a new (partial) match. + * This can be used e.g. to call the matcher with a partial match. + *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. + * @param pT the fixed value of pattern parameter T, or null if not bound. + * @param pS the fixed value of pattern parameter S, or null if not bound. + * @return the (partial) match object. + * + */ + public TurnoutOutput.Match newMatch(final Turnout pT, final Segment pS) { + return TurnoutOutput.Match.newMatch(pT, pS); + } + + /** + * Retrieve the set of values that occur in matches for T. + * @return the Set of all values or empty set if there are no matches + * + */ + protected Stream rawStreamAllValuesOfT(final Object[] parameters) { + return rawStreamAllValues(POSITION_T, parameters).map(Turnout.class::cast); + } + + /** + * Retrieve the set of values that occur in matches for T. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOfT() { + return rawStreamAllValuesOfT(emptyArray()).collect(Collectors.toSet()); + } + + /** + * Retrieve the set of values that occur in matches for T. + * @return the Set of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOfT() { + return rawStreamAllValuesOfT(emptyArray()); + } + + /** + * Retrieve the set of values that occur in matches for T. + *

    + * NOTE: It is important not to modify the source model while the stream is being processed. + * If the match set of the pattern changes during processing, the contents of the stream is undefined. + * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. + * + * @return the Stream of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOfT(final TurnoutOutput.Match partialMatch) { + return rawStreamAllValuesOfT(partialMatch.toArray()); + } + + /** + * Retrieve the set of values that occur in matches for T. + *

    + * NOTE: It is important not to modify the source model while the stream is being processed. + * If the match set of the pattern changes during processing, the contents of the stream is undefined. + * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. + * + * @return the Stream of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOfT(final Segment pS) { + return rawStreamAllValuesOfT(new Object[]{null, pS}); + } + + /** + * Retrieve the set of values that occur in matches for T. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOfT(final TurnoutOutput.Match partialMatch) { + return rawStreamAllValuesOfT(partialMatch.toArray()).collect(Collectors.toSet()); + } + + /** + * Retrieve the set of values that occur in matches for T. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOfT(final Segment pS) { + return rawStreamAllValuesOfT(new Object[]{null, pS}).collect(Collectors.toSet()); + } + + /** + * Retrieve the set of values that occur in matches for S. + * @return the Set of all values or empty set if there are no matches + * + */ + protected Stream rawStreamAllValuesOfS(final Object[] parameters) { + return rawStreamAllValues(POSITION_S, parameters).map(Segment.class::cast); + } + + /** + * Retrieve the set of values that occur in matches for S. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOfS() { + return rawStreamAllValuesOfS(emptyArray()).collect(Collectors.toSet()); + } + + /** + * Retrieve the set of values that occur in matches for S. + * @return the Set of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOfS() { + return rawStreamAllValuesOfS(emptyArray()); + } + + /** + * Retrieve the set of values that occur in matches for S. + *

    + * NOTE: It is important not to modify the source model while the stream is being processed. + * If the match set of the pattern changes during processing, the contents of the stream is undefined. + * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. + * + * @return the Stream of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOfS(final TurnoutOutput.Match partialMatch) { + return rawStreamAllValuesOfS(partialMatch.toArray()); + } + + /** + * Retrieve the set of values that occur in matches for S. + *

    + * NOTE: It is important not to modify the source model while the stream is being processed. + * If the match set of the pattern changes during processing, the contents of the stream is undefined. + * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. + * + * @return the Stream of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOfS(final Turnout pT) { + return rawStreamAllValuesOfS(new Object[]{pT, null}); + } + + /** + * Retrieve the set of values that occur in matches for S. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOfS(final TurnoutOutput.Match partialMatch) { + return rawStreamAllValuesOfS(partialMatch.toArray()).collect(Collectors.toSet()); + } + + /** + * Retrieve the set of values that occur in matches for S. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOfS(final Turnout pT) { + return rawStreamAllValuesOfS(new Object[]{pT, null}).collect(Collectors.toSet()); + } + + @Override + protected TurnoutOutput.Match tupleToMatch(final Tuple t) { + try { + return TurnoutOutput.Match.newMatch((Turnout) t.get(POSITION_T), (Segment) t.get(POSITION_S)); + } catch(ClassCastException e) { + LOGGER.error("Element(s) in tuple not properly typed!",e); + return null; + } + } + + @Override + protected TurnoutOutput.Match arrayToMatch(final Object[] match) { + try { + return TurnoutOutput.Match.newMatch((Turnout) match[POSITION_T], (Segment) match[POSITION_S]); + } catch(ClassCastException e) { + LOGGER.error("Element(s) in array not properly typed!",e); + return null; + } + } + + @Override + protected TurnoutOutput.Match arrayToMatchMutable(final Object[] match) { + try { + return TurnoutOutput.Match.newMutableMatch((Turnout) match[POSITION_T], (Segment) match[POSITION_S]); + } catch(ClassCastException e) { + LOGGER.error("Element(s) in array not properly typed!",e); + return null; + } + } + + /** + * @return the singleton instance of the query specification of this pattern + * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded + * + */ + public static IQuerySpecification querySpecification() { + return TurnoutOutput.instance(); + } + } + + private TurnoutOutput() { + super(GeneratedPQuery.INSTANCE); + } + + /** + * @return the singleton instance of the query specification + * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded + * + */ + public static TurnoutOutput instance() { + try{ + return LazyHolder.INSTANCE; + } catch (ExceptionInInitializerError err) { + throw processInitializerError(err); + } + } + + @Override + protected TurnoutOutput.Matcher instantiate(final ViatraQueryEngine engine) { + return TurnoutOutput.Matcher.on(engine); + } + + @Override + public TurnoutOutput.Matcher instantiate() { + return TurnoutOutput.Matcher.create(); + } + + @Override + public TurnoutOutput.Match newEmptyMatch() { + return TurnoutOutput.Match.newEmptyMatch(); + } + + @Override + public TurnoutOutput.Match newMatch(final Object... parameters) { + return TurnoutOutput.Match.newMatch((modes3.Turnout) parameters[0], (modes3.Segment) parameters[1]); + } + + /** + * Inner class allowing the singleton instance of {@link TurnoutOutput} to be created + * not at the class load time of the outer class, + * but rather at the first call to {@link TurnoutOutput#instance()}. + * + *

    This workaround is required e.g. to support recursion. + * + */ + private static class LazyHolder { + private static final TurnoutOutput INSTANCE = new TurnoutOutput(); + + /** + * Statically initializes the query specification after the field {@link #INSTANCE} is assigned. + * This initialization order is required to support indirect recursion. + * + *

    The static initializer is defined using a helper field to work around limitations of the code generator. + * + */ + private static final Object STATIC_INITIALIZER = ensureInitialized(); + + public static Object ensureInitialized() { + INSTANCE.ensureInitializedInternal(); + return null; + } + } + + private static class GeneratedPQuery extends BaseGeneratedEMFPQuery { + private static final TurnoutOutput.GeneratedPQuery INSTANCE = new GeneratedPQuery(); + + private final PParameter parameter_T = new PParameter("T", "modes3.Turnout", new EClassTransitiveInstancesKey((EClass)getClassifierLiteralSafe("http://www.ece.mcgill.ca/wcet/modes3", "Turnout")), PParameterDirection.INOUT); + + private final PParameter parameter_S = new PParameter("S", "modes3.Segment", new EClassTransitiveInstancesKey((EClass)getClassifierLiteralSafe("http://www.ece.mcgill.ca/wcet/modes3", "Segment")), PParameterDirection.INOUT); + + private final List parameters = Arrays.asList(parameter_T, parameter_S); + + private GeneratedPQuery() { + super(PVisibility.PUBLIC); + } + + @Override + public String getFullyQualifiedName() { + return "modes3.queries.turnoutOutput"; + } + + @Override + public List getParameterNames() { + return Arrays.asList("T","S"); + } + + @Override + public List getParameters() { + return parameters; + } + + @Override + public Set doGetContainedBodies() { + setEvaluationHints(new QueryEvaluationHint(null, QueryEvaluationHint.BackendRequirement.UNSPECIFIED)); + Set bodies = new LinkedHashSet<>(); + { + PBody body = new PBody(this); + PVariable var_T = body.getOrCreateVariableByName("T"); + PVariable var_S = body.getOrCreateVariableByName("S"); + new TypeConstraint(body, Tuples.flatTupleOf(var_T), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.ece.mcgill.ca/wcet/modes3", "Turnout"))); + new TypeConstraint(body, Tuples.flatTupleOf(var_S), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.ece.mcgill.ca/wcet/modes3", "Segment"))); + body.setSymbolicParameters(Arrays.asList( + new ExportedParameter(body, var_T, parameter_T), + new ExportedParameter(body, var_S, parameter_S) + )); + // Turnout.straight(T, S) + new TypeConstraint(body, Tuples.flatTupleOf(var_T), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.ece.mcgill.ca/wcet/modes3", "Turnout"))); + PVariable var__virtual_0_ = body.getOrCreateVariableByName(".virtual{0}"); + new TypeConstraint(body, Tuples.flatTupleOf(var_T, var__virtual_0_), new EStructuralFeatureInstancesKey(getFeatureLiteral("http://www.ece.mcgill.ca/wcet/modes3", "Turnout", "straight"))); + new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_0_), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.ece.mcgill.ca/wcet/modes3", "Segment"))); + new Equality(body, var__virtual_0_, var_S); + bodies.add(body); + } + { + PBody body = new PBody(this); + PVariable var_T = body.getOrCreateVariableByName("T"); + PVariable var_S = body.getOrCreateVariableByName("S"); + new TypeConstraint(body, Tuples.flatTupleOf(var_T), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.ece.mcgill.ca/wcet/modes3", "Turnout"))); + new TypeConstraint(body, Tuples.flatTupleOf(var_S), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.ece.mcgill.ca/wcet/modes3", "Segment"))); + body.setSymbolicParameters(Arrays.asList( + new ExportedParameter(body, var_T, parameter_T), + new ExportedParameter(body, var_S, parameter_S) + )); + // Turnout.divergent(T, S) + new TypeConstraint(body, Tuples.flatTupleOf(var_T), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.ece.mcgill.ca/wcet/modes3", "Turnout"))); + PVariable var__virtual_0_ = body.getOrCreateVariableByName(".virtual{0}"); + new TypeConstraint(body, Tuples.flatTupleOf(var_T, var__virtual_0_), new EStructuralFeatureInstancesKey(getFeatureLiteral("http://www.ece.mcgill.ca/wcet/modes3", "Turnout", "divergent"))); + new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_0_), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.ece.mcgill.ca/wcet/modes3", "Segment"))); + new Equality(body, var__virtual_0_, var_S); + bodies.add(body); + } + return bodies; + } + } +} diff --git a/Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/TurnoutOutputsAreSame.java b/Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/TurnoutOutputsAreSame.java new file mode 100644 index 00000000..ba59d45c --- /dev/null +++ b/Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/TurnoutOutputsAreSame.java @@ -0,0 +1,572 @@ +/** + * Generated from platform:/resource/ca.mcgill.rtgmrt.example.modes3/src/modes3/queries/Modes3Queries.vql + */ +package modes3.queries; + +import java.util.Arrays; +import java.util.Collection; +import java.util.LinkedHashSet; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import java.util.Set; +import java.util.function.Consumer; +import java.util.stream.Collectors; +import java.util.stream.Stream; +import modes3.Turnout; +import org.apache.log4j.Logger; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.viatra.query.runtime.api.IPatternMatch; +import org.eclipse.viatra.query.runtime.api.IQuerySpecification; +import org.eclipse.viatra.query.runtime.api.ViatraQueryEngine; +import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFPQuery; +import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFQuerySpecification; +import org.eclipse.viatra.query.runtime.api.impl.BaseMatcher; +import org.eclipse.viatra.query.runtime.api.impl.BasePatternMatch; +import org.eclipse.viatra.query.runtime.emf.types.EClassTransitiveInstancesKey; +import org.eclipse.viatra.query.runtime.emf.types.EStructuralFeatureInstancesKey; +import org.eclipse.viatra.query.runtime.matchers.backend.QueryEvaluationHint; +import org.eclipse.viatra.query.runtime.matchers.psystem.PBody; +import org.eclipse.viatra.query.runtime.matchers.psystem.PVariable; +import org.eclipse.viatra.query.runtime.matchers.psystem.annotations.PAnnotation; +import org.eclipse.viatra.query.runtime.matchers.psystem.annotations.ParameterReference; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.Equality; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.ExportedParameter; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicenumerables.TypeConstraint; +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameter; +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameterDirection; +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PVisibility; +import org.eclipse.viatra.query.runtime.matchers.tuple.Tuple; +import org.eclipse.viatra.query.runtime.matchers.tuple.Tuples; +import org.eclipse.viatra.query.runtime.util.ViatraQueryLoggingUtil; + +/** + * A pattern-specific query specification that can instantiate Matcher in a type-safe way. + * + *

    Original source: + *

    + *         {@literal @}Constraint(message = "turnoutOutputsAreSame", severity = "error", key = { T })
    + *         pattern turnoutOutputsAreSame(T : Turnout) {
    + *         	Turnout.straight(T, S);
    + *         	Turnout.divergent(T, S);
    + *         }
    + * 
    + * + * @see Matcher + * @see Match + * + */ +@SuppressWarnings("all") +public final class TurnoutOutputsAreSame extends BaseGeneratedEMFQuerySpecification { + /** + * Pattern-specific match representation of the modes3.queries.turnoutOutputsAreSame pattern, + * to be used in conjunction with {@link Matcher}. + * + *

    Class fields correspond to parameters of the pattern. Fields with value null are considered unassigned. + * Each instance is a (possibly partial) substitution of pattern parameters, + * usable to represent a match of the pattern in the result of a query, + * or to specify the bound (fixed) input parameters when issuing a query. + * + * @see Matcher + * + */ + public static abstract class Match extends BasePatternMatch { + private Turnout fT; + + private static List parameterNames = makeImmutableList("T"); + + private Match(final Turnout pT) { + this.fT = pT; + } + + @Override + public Object get(final String parameterName) { + switch(parameterName) { + case "T": return this.fT; + default: return null; + } + } + + @Override + public Object get(final int index) { + switch(index) { + case 0: return this.fT; + default: return null; + } + } + + public Turnout getT() { + return this.fT; + } + + @Override + public boolean set(final String parameterName, final Object newValue) { + if (!isMutable()) throw new java.lang.UnsupportedOperationException(); + if ("T".equals(parameterName) ) { + this.fT = (Turnout) newValue; + return true; + } + return false; + } + + public void setT(final Turnout pT) { + if (!isMutable()) throw new java.lang.UnsupportedOperationException(); + this.fT = pT; + } + + @Override + public String patternName() { + return "modes3.queries.turnoutOutputsAreSame"; + } + + @Override + public List parameterNames() { + return TurnoutOutputsAreSame.Match.parameterNames; + } + + @Override + public Object[] toArray() { + return new Object[]{fT}; + } + + @Override + public TurnoutOutputsAreSame.Match toImmutable() { + return isMutable() ? newMatch(fT) : this; + } + + @Override + public String prettyPrint() { + StringBuilder result = new StringBuilder(); + result.append("\"T\"=" + prettyPrintValue(fT)); + return result.toString(); + } + + @Override + public int hashCode() { + return Objects.hash(fT); + } + + @Override + public boolean equals(final Object obj) { + if (this == obj) + return true; + if (obj == null) { + return false; + } + if ((obj instanceof TurnoutOutputsAreSame.Match)) { + TurnoutOutputsAreSame.Match other = (TurnoutOutputsAreSame.Match) obj; + return Objects.equals(fT, other.fT); + } else { + // this should be infrequent + if (!(obj instanceof IPatternMatch)) { + return false; + } + IPatternMatch otherSig = (IPatternMatch) obj; + return Objects.equals(specification(), otherSig.specification()) && Arrays.deepEquals(toArray(), otherSig.toArray()); + } + } + + @Override + public TurnoutOutputsAreSame specification() { + return TurnoutOutputsAreSame.instance(); + } + + /** + * Returns an empty, mutable match. + * Fields of the mutable match can be filled to create a partial match, usable as matcher input. + * + * @return the empty match. + * + */ + public static TurnoutOutputsAreSame.Match newEmptyMatch() { + return new Mutable(null); + } + + /** + * Returns a mutable (partial) match. + * Fields of the mutable match can be filled to create a partial match, usable as matcher input. + * + * @param pT the fixed value of pattern parameter T, or null if not bound. + * @return the new, mutable (partial) match object. + * + */ + public static TurnoutOutputsAreSame.Match newMutableMatch(final Turnout pT) { + return new Mutable(pT); + } + + /** + * Returns a new (partial) match. + * This can be used e.g. to call the matcher with a partial match. + *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. + * @param pT the fixed value of pattern parameter T, or null if not bound. + * @return the (partial) match object. + * + */ + public static TurnoutOutputsAreSame.Match newMatch(final Turnout pT) { + return new Immutable(pT); + } + + private static final class Mutable extends TurnoutOutputsAreSame.Match { + Mutable(final Turnout pT) { + super(pT); + } + + @Override + public boolean isMutable() { + return true; + } + } + + private static final class Immutable extends TurnoutOutputsAreSame.Match { + Immutable(final Turnout pT) { + super(pT); + } + + @Override + public boolean isMutable() { + return false; + } + } + } + + /** + * Generated pattern matcher API of the modes3.queries.turnoutOutputsAreSame pattern, + * providing pattern-specific query methods. + * + *

    Use the pattern matcher on a given model via {@link #on(ViatraQueryEngine)}, + * e.g. in conjunction with {@link ViatraQueryEngine#on(QueryScope)}. + * + *

    Matches of the pattern will be represented as {@link Match}. + * + *

    Original source: + *

    +   * {@literal @}Constraint(message = "turnoutOutputsAreSame", severity = "error", key = { T })
    +   * pattern turnoutOutputsAreSame(T : Turnout) {
    +   * 	Turnout.straight(T, S);
    +   * 	Turnout.divergent(T, S);
    +   * }
    +   * 
    + * + * @see Match + * @see TurnoutOutputsAreSame + * + */ + public static class Matcher extends BaseMatcher { + /** + * Initializes the pattern matcher within an existing VIATRA Query engine. + * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. + * + * @param engine the existing VIATRA Query engine in which this matcher will be created. + * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation + * + */ + public static TurnoutOutputsAreSame.Matcher on(final ViatraQueryEngine engine) { + // check if matcher already exists + Matcher matcher = engine.getExistingMatcher(querySpecification()); + if (matcher == null) { + matcher = (Matcher)engine.getMatcher(querySpecification()); + } + return matcher; + } + + /** + * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation + * @return an initialized matcher + * @noreference This method is for internal matcher initialization by the framework, do not call it manually. + * + */ + public static TurnoutOutputsAreSame.Matcher create() { + return new Matcher(); + } + + private static final int POSITION_T = 0; + + private static final Logger LOGGER = ViatraQueryLoggingUtil.getLogger(TurnoutOutputsAreSame.Matcher.class); + + /** + * Initializes the pattern matcher within an existing VIATRA Query engine. + * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. + * + * @param engine the existing VIATRA Query engine in which this matcher will be created. + * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation + * + */ + private Matcher() { + super(querySpecification()); + } + + /** + * Returns the set of all matches of the pattern that conform to the given fixed values of some parameters. + * @param pT the fixed value of pattern parameter T, or null if not bound. + * @return matches represented as a Match object. + * + */ + public Collection getAllMatches(final Turnout pT) { + return rawStreamAllMatches(new Object[]{pT}).collect(Collectors.toSet()); + } + + /** + * Returns a stream of all matches of the pattern that conform to the given fixed values of some parameters. + *

    + * NOTE: It is important not to modify the source model while the stream is being processed. + * If the match set of the pattern changes during processing, the contents of the stream is undefined. + * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. + * @param pT the fixed value of pattern parameter T, or null if not bound. + * @return a stream of matches represented as a Match object. + * + */ + public Stream streamAllMatches(final Turnout pT) { + return rawStreamAllMatches(new Object[]{pT}); + } + + /** + * Returns an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. + * Neither determinism nor randomness of selection is guaranteed. + * @param pT the fixed value of pattern parameter T, or null if not bound. + * @return a match represented as a Match object, or null if no match is found. + * + */ + public Optional getOneArbitraryMatch(final Turnout pT) { + return rawGetOneArbitraryMatch(new Object[]{pT}); + } + + /** + * Indicates whether the given combination of specified pattern parameters constitute a valid pattern match, + * under any possible substitution of the unspecified parameters (if any). + * @param pT the fixed value of pattern parameter T, or null if not bound. + * @return true if the input is a valid (partial) match of the pattern. + * + */ + public boolean hasMatch(final Turnout pT) { + return rawHasMatch(new Object[]{pT}); + } + + /** + * Returns the number of all matches of the pattern that conform to the given fixed values of some parameters. + * @param pT the fixed value of pattern parameter T, or null if not bound. + * @return the number of pattern matches found. + * + */ + public int countMatches(final Turnout pT) { + return rawCountMatches(new Object[]{pT}); + } + + /** + * Executes the given processor on an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. + * Neither determinism nor randomness of selection is guaranteed. + * @param pT the fixed value of pattern parameter T, or null if not bound. + * @param processor the action that will process the selected match. + * @return true if the pattern has at least one match with the given parameter values, false if the processor was not invoked + * + */ + public boolean forOneArbitraryMatch(final Turnout pT, final Consumer processor) { + return rawForOneArbitraryMatch(new Object[]{pT}, processor); + } + + /** + * Returns a new (partial) match. + * This can be used e.g. to call the matcher with a partial match. + *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. + * @param pT the fixed value of pattern parameter T, or null if not bound. + * @return the (partial) match object. + * + */ + public TurnoutOutputsAreSame.Match newMatch(final Turnout pT) { + return TurnoutOutputsAreSame.Match.newMatch(pT); + } + + /** + * Retrieve the set of values that occur in matches for T. + * @return the Set of all values or empty set if there are no matches + * + */ + protected Stream rawStreamAllValuesOfT(final Object[] parameters) { + return rawStreamAllValues(POSITION_T, parameters).map(Turnout.class::cast); + } + + /** + * Retrieve the set of values that occur in matches for T. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOfT() { + return rawStreamAllValuesOfT(emptyArray()).collect(Collectors.toSet()); + } + + /** + * Retrieve the set of values that occur in matches for T. + * @return the Set of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOfT() { + return rawStreamAllValuesOfT(emptyArray()); + } + + @Override + protected TurnoutOutputsAreSame.Match tupleToMatch(final Tuple t) { + try { + return TurnoutOutputsAreSame.Match.newMatch((Turnout) t.get(POSITION_T)); + } catch(ClassCastException e) { + LOGGER.error("Element(s) in tuple not properly typed!",e); + return null; + } + } + + @Override + protected TurnoutOutputsAreSame.Match arrayToMatch(final Object[] match) { + try { + return TurnoutOutputsAreSame.Match.newMatch((Turnout) match[POSITION_T]); + } catch(ClassCastException e) { + LOGGER.error("Element(s) in array not properly typed!",e); + return null; + } + } + + @Override + protected TurnoutOutputsAreSame.Match arrayToMatchMutable(final Object[] match) { + try { + return TurnoutOutputsAreSame.Match.newMutableMatch((Turnout) match[POSITION_T]); + } catch(ClassCastException e) { + LOGGER.error("Element(s) in array not properly typed!",e); + return null; + } + } + + /** + * @return the singleton instance of the query specification of this pattern + * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded + * + */ + public static IQuerySpecification querySpecification() { + return TurnoutOutputsAreSame.instance(); + } + } + + private TurnoutOutputsAreSame() { + super(GeneratedPQuery.INSTANCE); + } + + /** + * @return the singleton instance of the query specification + * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded + * + */ + public static TurnoutOutputsAreSame instance() { + try{ + return LazyHolder.INSTANCE; + } catch (ExceptionInInitializerError err) { + throw processInitializerError(err); + } + } + + @Override + protected TurnoutOutputsAreSame.Matcher instantiate(final ViatraQueryEngine engine) { + return TurnoutOutputsAreSame.Matcher.on(engine); + } + + @Override + public TurnoutOutputsAreSame.Matcher instantiate() { + return TurnoutOutputsAreSame.Matcher.create(); + } + + @Override + public TurnoutOutputsAreSame.Match newEmptyMatch() { + return TurnoutOutputsAreSame.Match.newEmptyMatch(); + } + + @Override + public TurnoutOutputsAreSame.Match newMatch(final Object... parameters) { + return TurnoutOutputsAreSame.Match.newMatch((modes3.Turnout) parameters[0]); + } + + /** + * Inner class allowing the singleton instance of {@link TurnoutOutputsAreSame} to be created + * not at the class load time of the outer class, + * but rather at the first call to {@link TurnoutOutputsAreSame#instance()}. + * + *

    This workaround is required e.g. to support recursion. + * + */ + private static class LazyHolder { + private static final TurnoutOutputsAreSame INSTANCE = new TurnoutOutputsAreSame(); + + /** + * Statically initializes the query specification after the field {@link #INSTANCE} is assigned. + * This initialization order is required to support indirect recursion. + * + *

    The static initializer is defined using a helper field to work around limitations of the code generator. + * + */ + private static final Object STATIC_INITIALIZER = ensureInitialized(); + + public static Object ensureInitialized() { + INSTANCE.ensureInitializedInternal(); + return null; + } + } + + private static class GeneratedPQuery extends BaseGeneratedEMFPQuery { + private static final TurnoutOutputsAreSame.GeneratedPQuery INSTANCE = new GeneratedPQuery(); + + private final PParameter parameter_T = new PParameter("T", "modes3.Turnout", new EClassTransitiveInstancesKey((EClass)getClassifierLiteralSafe("http://www.ece.mcgill.ca/wcet/modes3", "Turnout")), PParameterDirection.INOUT); + + private final List parameters = Arrays.asList(parameter_T); + + private GeneratedPQuery() { + super(PVisibility.PUBLIC); + } + + @Override + public String getFullyQualifiedName() { + return "modes3.queries.turnoutOutputsAreSame"; + } + + @Override + public List getParameterNames() { + return Arrays.asList("T"); + } + + @Override + public List getParameters() { + return parameters; + } + + @Override + public Set doGetContainedBodies() { + setEvaluationHints(new QueryEvaluationHint(null, QueryEvaluationHint.BackendRequirement.UNSPECIFIED)); + Set bodies = new LinkedHashSet<>(); + { + PBody body = new PBody(this); + PVariable var_T = body.getOrCreateVariableByName("T"); + PVariable var_S = body.getOrCreateVariableByName("S"); + new TypeConstraint(body, Tuples.flatTupleOf(var_T), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.ece.mcgill.ca/wcet/modes3", "Turnout"))); + body.setSymbolicParameters(Arrays.asList( + new ExportedParameter(body, var_T, parameter_T) + )); + // Turnout.straight(T, S) + new TypeConstraint(body, Tuples.flatTupleOf(var_T), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.ece.mcgill.ca/wcet/modes3", "Turnout"))); + PVariable var__virtual_0_ = body.getOrCreateVariableByName(".virtual{0}"); + new TypeConstraint(body, Tuples.flatTupleOf(var_T, var__virtual_0_), new EStructuralFeatureInstancesKey(getFeatureLiteral("http://www.ece.mcgill.ca/wcet/modes3", "Turnout", "straight"))); + new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_0_), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.ece.mcgill.ca/wcet/modes3", "Segment"))); + new Equality(body, var__virtual_0_, var_S); + // Turnout.divergent(T, S) + new TypeConstraint(body, Tuples.flatTupleOf(var_T), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.ece.mcgill.ca/wcet/modes3", "Turnout"))); + PVariable var__virtual_1_ = body.getOrCreateVariableByName(".virtual{1}"); + new TypeConstraint(body, Tuples.flatTupleOf(var_T, var__virtual_1_), new EStructuralFeatureInstancesKey(getFeatureLiteral("http://www.ece.mcgill.ca/wcet/modes3", "Turnout", "divergent"))); + new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_1_), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.ece.mcgill.ca/wcet/modes3", "Segment"))); + new Equality(body, var__virtual_1_, var_S); + bodies.add(body); + } + { + PAnnotation annotation = new PAnnotation("Constraint"); + annotation.addAttribute("message", "turnoutOutputsAreSame"); + annotation.addAttribute("severity", "error"); + annotation.addAttribute("key", Arrays.asList(new Object[] { + new ParameterReference("T") + })); + addAnnotation(annotation); + } + return bodies; + } + } +} diff --git a/Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/Unreachable.java b/Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/Unreachable.java new file mode 100644 index 00000000..a1b76f83 --- /dev/null +++ b/Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/Unreachable.java @@ -0,0 +1,714 @@ +/** + * Generated from platform:/resource/ca.mcgill.rtgmrt.example.modes3/src/modes3/queries/Modes3Queries.vql + */ +package modes3.queries; + +import java.util.Arrays; +import java.util.Collection; +import java.util.LinkedHashSet; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import java.util.Set; +import java.util.function.Consumer; +import java.util.stream.Collectors; +import java.util.stream.Stream; +import modes3.Segment; +import modes3.queries.Reachable; +import org.apache.log4j.Logger; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.viatra.query.runtime.api.IPatternMatch; +import org.eclipse.viatra.query.runtime.api.IQuerySpecification; +import org.eclipse.viatra.query.runtime.api.ViatraQueryEngine; +import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFPQuery; +import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFQuerySpecification; +import org.eclipse.viatra.query.runtime.api.impl.BaseMatcher; +import org.eclipse.viatra.query.runtime.api.impl.BasePatternMatch; +import org.eclipse.viatra.query.runtime.emf.types.EClassTransitiveInstancesKey; +import org.eclipse.viatra.query.runtime.matchers.backend.QueryEvaluationHint; +import org.eclipse.viatra.query.runtime.matchers.psystem.PBody; +import org.eclipse.viatra.query.runtime.matchers.psystem.PVariable; +import org.eclipse.viatra.query.runtime.matchers.psystem.annotations.PAnnotation; +import org.eclipse.viatra.query.runtime.matchers.psystem.annotations.ParameterReference; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.ExportedParameter; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.NegativePatternCall; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicenumerables.TypeConstraint; +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameter; +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameterDirection; +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PVisibility; +import org.eclipse.viatra.query.runtime.matchers.tuple.Tuple; +import org.eclipse.viatra.query.runtime.matchers.tuple.Tuples; +import org.eclipse.viatra.query.runtime.util.ViatraQueryLoggingUtil; + +/** + * A pattern-specific query specification that can instantiate Matcher in a type-safe way. + * + *

    Original source: + *

    + *         {@literal @}Constraint(message = "unreachable", severity = "error", key = { S1, S2 })
    + *         pattern unreachable(S1 : Segment, S2 : Segment) {
    + *         	neg find reachable(S1, S2);
    + *         }
    + * 
    + * + * @see Matcher + * @see Match + * + */ +@SuppressWarnings("all") +public final class Unreachable extends BaseGeneratedEMFQuerySpecification { + /** + * Pattern-specific match representation of the modes3.queries.unreachable pattern, + * to be used in conjunction with {@link Matcher}. + * + *

    Class fields correspond to parameters of the pattern. Fields with value null are considered unassigned. + * Each instance is a (possibly partial) substitution of pattern parameters, + * usable to represent a match of the pattern in the result of a query, + * or to specify the bound (fixed) input parameters when issuing a query. + * + * @see Matcher + * + */ + public static abstract class Match extends BasePatternMatch { + private Segment fS1; + + private Segment fS2; + + private static List parameterNames = makeImmutableList("S1", "S2"); + + private Match(final Segment pS1, final Segment pS2) { + this.fS1 = pS1; + this.fS2 = pS2; + } + + @Override + public Object get(final String parameterName) { + switch(parameterName) { + case "S1": return this.fS1; + case "S2": return this.fS2; + default: return null; + } + } + + @Override + public Object get(final int index) { + switch(index) { + case 0: return this.fS1; + case 1: return this.fS2; + default: return null; + } + } + + public Segment getS1() { + return this.fS1; + } + + public Segment getS2() { + return this.fS2; + } + + @Override + public boolean set(final String parameterName, final Object newValue) { + if (!isMutable()) throw new java.lang.UnsupportedOperationException(); + if ("S1".equals(parameterName) ) { + this.fS1 = (Segment) newValue; + return true; + } + if ("S2".equals(parameterName) ) { + this.fS2 = (Segment) newValue; + return true; + } + return false; + } + + public void setS1(final Segment pS1) { + if (!isMutable()) throw new java.lang.UnsupportedOperationException(); + this.fS1 = pS1; + } + + public void setS2(final Segment pS2) { + if (!isMutable()) throw new java.lang.UnsupportedOperationException(); + this.fS2 = pS2; + } + + @Override + public String patternName() { + return "modes3.queries.unreachable"; + } + + @Override + public List parameterNames() { + return Unreachable.Match.parameterNames; + } + + @Override + public Object[] toArray() { + return new Object[]{fS1, fS2}; + } + + @Override + public Unreachable.Match toImmutable() { + return isMutable() ? newMatch(fS1, fS2) : this; + } + + @Override + public String prettyPrint() { + StringBuilder result = new StringBuilder(); + result.append("\"S1\"=" + prettyPrintValue(fS1) + ", "); + result.append("\"S2\"=" + prettyPrintValue(fS2)); + return result.toString(); + } + + @Override + public int hashCode() { + return Objects.hash(fS1, fS2); + } + + @Override + public boolean equals(final Object obj) { + if (this == obj) + return true; + if (obj == null) { + return false; + } + if ((obj instanceof Unreachable.Match)) { + Unreachable.Match other = (Unreachable.Match) obj; + return Objects.equals(fS1, other.fS1) && Objects.equals(fS2, other.fS2); + } else { + // this should be infrequent + if (!(obj instanceof IPatternMatch)) { + return false; + } + IPatternMatch otherSig = (IPatternMatch) obj; + return Objects.equals(specification(), otherSig.specification()) && Arrays.deepEquals(toArray(), otherSig.toArray()); + } + } + + @Override + public Unreachable specification() { + return Unreachable.instance(); + } + + /** + * Returns an empty, mutable match. + * Fields of the mutable match can be filled to create a partial match, usable as matcher input. + * + * @return the empty match. + * + */ + public static Unreachable.Match newEmptyMatch() { + return new Mutable(null, null); + } + + /** + * Returns a mutable (partial) match. + * Fields of the mutable match can be filled to create a partial match, usable as matcher input. + * + * @param pS1 the fixed value of pattern parameter S1, or null if not bound. + * @param pS2 the fixed value of pattern parameter S2, or null if not bound. + * @return the new, mutable (partial) match object. + * + */ + public static Unreachable.Match newMutableMatch(final Segment pS1, final Segment pS2) { + return new Mutable(pS1, pS2); + } + + /** + * Returns a new (partial) match. + * This can be used e.g. to call the matcher with a partial match. + *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. + * @param pS1 the fixed value of pattern parameter S1, or null if not bound. + * @param pS2 the fixed value of pattern parameter S2, or null if not bound. + * @return the (partial) match object. + * + */ + public static Unreachable.Match newMatch(final Segment pS1, final Segment pS2) { + return new Immutable(pS1, pS2); + } + + private static final class Mutable extends Unreachable.Match { + Mutable(final Segment pS1, final Segment pS2) { + super(pS1, pS2); + } + + @Override + public boolean isMutable() { + return true; + } + } + + private static final class Immutable extends Unreachable.Match { + Immutable(final Segment pS1, final Segment pS2) { + super(pS1, pS2); + } + + @Override + public boolean isMutable() { + return false; + } + } + } + + /** + * Generated pattern matcher API of the modes3.queries.unreachable pattern, + * providing pattern-specific query methods. + * + *

    Use the pattern matcher on a given model via {@link #on(ViatraQueryEngine)}, + * e.g. in conjunction with {@link ViatraQueryEngine#on(QueryScope)}. + * + *

    Matches of the pattern will be represented as {@link Match}. + * + *

    Original source: + *

    +   * {@literal @}Constraint(message = "unreachable", severity = "error", key = { S1, S2 })
    +   * pattern unreachable(S1 : Segment, S2 : Segment) {
    +   * 	neg find reachable(S1, S2);
    +   * }
    +   * 
    + * + * @see Match + * @see Unreachable + * + */ + public static class Matcher extends BaseMatcher { + /** + * Initializes the pattern matcher within an existing VIATRA Query engine. + * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. + * + * @param engine the existing VIATRA Query engine in which this matcher will be created. + * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation + * + */ + public static Unreachable.Matcher on(final ViatraQueryEngine engine) { + // check if matcher already exists + Matcher matcher = engine.getExistingMatcher(querySpecification()); + if (matcher == null) { + matcher = (Matcher)engine.getMatcher(querySpecification()); + } + return matcher; + } + + /** + * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation + * @return an initialized matcher + * @noreference This method is for internal matcher initialization by the framework, do not call it manually. + * + */ + public static Unreachable.Matcher create() { + return new Matcher(); + } + + private static final int POSITION_S1 = 0; + + private static final int POSITION_S2 = 1; + + private static final Logger LOGGER = ViatraQueryLoggingUtil.getLogger(Unreachable.Matcher.class); + + /** + * Initializes the pattern matcher within an existing VIATRA Query engine. + * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. + * + * @param engine the existing VIATRA Query engine in which this matcher will be created. + * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation + * + */ + private Matcher() { + super(querySpecification()); + } + + /** + * Returns the set of all matches of the pattern that conform to the given fixed values of some parameters. + * @param pS1 the fixed value of pattern parameter S1, or null if not bound. + * @param pS2 the fixed value of pattern parameter S2, or null if not bound. + * @return matches represented as a Match object. + * + */ + public Collection getAllMatches(final Segment pS1, final Segment pS2) { + return rawStreamAllMatches(new Object[]{pS1, pS2}).collect(Collectors.toSet()); + } + + /** + * Returns a stream of all matches of the pattern that conform to the given fixed values of some parameters. + *

    + * NOTE: It is important not to modify the source model while the stream is being processed. + * If the match set of the pattern changes during processing, the contents of the stream is undefined. + * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. + * @param pS1 the fixed value of pattern parameter S1, or null if not bound. + * @param pS2 the fixed value of pattern parameter S2, or null if not bound. + * @return a stream of matches represented as a Match object. + * + */ + public Stream streamAllMatches(final Segment pS1, final Segment pS2) { + return rawStreamAllMatches(new Object[]{pS1, pS2}); + } + + /** + * Returns an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. + * Neither determinism nor randomness of selection is guaranteed. + * @param pS1 the fixed value of pattern parameter S1, or null if not bound. + * @param pS2 the fixed value of pattern parameter S2, or null if not bound. + * @return a match represented as a Match object, or null if no match is found. + * + */ + public Optional getOneArbitraryMatch(final Segment pS1, final Segment pS2) { + return rawGetOneArbitraryMatch(new Object[]{pS1, pS2}); + } + + /** + * Indicates whether the given combination of specified pattern parameters constitute a valid pattern match, + * under any possible substitution of the unspecified parameters (if any). + * @param pS1 the fixed value of pattern parameter S1, or null if not bound. + * @param pS2 the fixed value of pattern parameter S2, or null if not bound. + * @return true if the input is a valid (partial) match of the pattern. + * + */ + public boolean hasMatch(final Segment pS1, final Segment pS2) { + return rawHasMatch(new Object[]{pS1, pS2}); + } + + /** + * Returns the number of all matches of the pattern that conform to the given fixed values of some parameters. + * @param pS1 the fixed value of pattern parameter S1, or null if not bound. + * @param pS2 the fixed value of pattern parameter S2, or null if not bound. + * @return the number of pattern matches found. + * + */ + public int countMatches(final Segment pS1, final Segment pS2) { + return rawCountMatches(new Object[]{pS1, pS2}); + } + + /** + * Executes the given processor on an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. + * Neither determinism nor randomness of selection is guaranteed. + * @param pS1 the fixed value of pattern parameter S1, or null if not bound. + * @param pS2 the fixed value of pattern parameter S2, or null if not bound. + * @param processor the action that will process the selected match. + * @return true if the pattern has at least one match with the given parameter values, false if the processor was not invoked + * + */ + public boolean forOneArbitraryMatch(final Segment pS1, final Segment pS2, final Consumer processor) { + return rawForOneArbitraryMatch(new Object[]{pS1, pS2}, processor); + } + + /** + * Returns a new (partial) match. + * This can be used e.g. to call the matcher with a partial match. + *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. + * @param pS1 the fixed value of pattern parameter S1, or null if not bound. + * @param pS2 the fixed value of pattern parameter S2, or null if not bound. + * @return the (partial) match object. + * + */ + public Unreachable.Match newMatch(final Segment pS1, final Segment pS2) { + return Unreachable.Match.newMatch(pS1, pS2); + } + + /** + * Retrieve the set of values that occur in matches for S1. + * @return the Set of all values or empty set if there are no matches + * + */ + protected Stream rawStreamAllValuesOfS1(final Object[] parameters) { + return rawStreamAllValues(POSITION_S1, parameters).map(Segment.class::cast); + } + + /** + * Retrieve the set of values that occur in matches for S1. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOfS1() { + return rawStreamAllValuesOfS1(emptyArray()).collect(Collectors.toSet()); + } + + /** + * Retrieve the set of values that occur in matches for S1. + * @return the Set of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOfS1() { + return rawStreamAllValuesOfS1(emptyArray()); + } + + /** + * Retrieve the set of values that occur in matches for S1. + *

    + * NOTE: It is important not to modify the source model while the stream is being processed. + * If the match set of the pattern changes during processing, the contents of the stream is undefined. + * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. + * + * @return the Stream of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOfS1(final Unreachable.Match partialMatch) { + return rawStreamAllValuesOfS1(partialMatch.toArray()); + } + + /** + * Retrieve the set of values that occur in matches for S1. + *

    + * NOTE: It is important not to modify the source model while the stream is being processed. + * If the match set of the pattern changes during processing, the contents of the stream is undefined. + * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. + * + * @return the Stream of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOfS1(final Segment pS2) { + return rawStreamAllValuesOfS1(new Object[]{null, pS2}); + } + + /** + * Retrieve the set of values that occur in matches for S1. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOfS1(final Unreachable.Match partialMatch) { + return rawStreamAllValuesOfS1(partialMatch.toArray()).collect(Collectors.toSet()); + } + + /** + * Retrieve the set of values that occur in matches for S1. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOfS1(final Segment pS2) { + return rawStreamAllValuesOfS1(new Object[]{null, pS2}).collect(Collectors.toSet()); + } + + /** + * Retrieve the set of values that occur in matches for S2. + * @return the Set of all values or empty set if there are no matches + * + */ + protected Stream rawStreamAllValuesOfS2(final Object[] parameters) { + return rawStreamAllValues(POSITION_S2, parameters).map(Segment.class::cast); + } + + /** + * Retrieve the set of values that occur in matches for S2. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOfS2() { + return rawStreamAllValuesOfS2(emptyArray()).collect(Collectors.toSet()); + } + + /** + * Retrieve the set of values that occur in matches for S2. + * @return the Set of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOfS2() { + return rawStreamAllValuesOfS2(emptyArray()); + } + + /** + * Retrieve the set of values that occur in matches for S2. + *

    + * NOTE: It is important not to modify the source model while the stream is being processed. + * If the match set of the pattern changes during processing, the contents of the stream is undefined. + * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. + * + * @return the Stream of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOfS2(final Unreachable.Match partialMatch) { + return rawStreamAllValuesOfS2(partialMatch.toArray()); + } + + /** + * Retrieve the set of values that occur in matches for S2. + *

    + * NOTE: It is important not to modify the source model while the stream is being processed. + * If the match set of the pattern changes during processing, the contents of the stream is undefined. + * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. + * + * @return the Stream of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOfS2(final Segment pS1) { + return rawStreamAllValuesOfS2(new Object[]{pS1, null}); + } + + /** + * Retrieve the set of values that occur in matches for S2. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOfS2(final Unreachable.Match partialMatch) { + return rawStreamAllValuesOfS2(partialMatch.toArray()).collect(Collectors.toSet()); + } + + /** + * Retrieve the set of values that occur in matches for S2. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOfS2(final Segment pS1) { + return rawStreamAllValuesOfS2(new Object[]{pS1, null}).collect(Collectors.toSet()); + } + + @Override + protected Unreachable.Match tupleToMatch(final Tuple t) { + try { + return Unreachable.Match.newMatch((Segment) t.get(POSITION_S1), (Segment) t.get(POSITION_S2)); + } catch(ClassCastException e) { + LOGGER.error("Element(s) in tuple not properly typed!",e); + return null; + } + } + + @Override + protected Unreachable.Match arrayToMatch(final Object[] match) { + try { + return Unreachable.Match.newMatch((Segment) match[POSITION_S1], (Segment) match[POSITION_S2]); + } catch(ClassCastException e) { + LOGGER.error("Element(s) in array not properly typed!",e); + return null; + } + } + + @Override + protected Unreachable.Match arrayToMatchMutable(final Object[] match) { + try { + return Unreachable.Match.newMutableMatch((Segment) match[POSITION_S1], (Segment) match[POSITION_S2]); + } catch(ClassCastException e) { + LOGGER.error("Element(s) in array not properly typed!",e); + return null; + } + } + + /** + * @return the singleton instance of the query specification of this pattern + * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded + * + */ + public static IQuerySpecification querySpecification() { + return Unreachable.instance(); + } + } + + private Unreachable() { + super(GeneratedPQuery.INSTANCE); + } + + /** + * @return the singleton instance of the query specification + * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded + * + */ + public static Unreachable instance() { + try{ + return LazyHolder.INSTANCE; + } catch (ExceptionInInitializerError err) { + throw processInitializerError(err); + } + } + + @Override + protected Unreachable.Matcher instantiate(final ViatraQueryEngine engine) { + return Unreachable.Matcher.on(engine); + } + + @Override + public Unreachable.Matcher instantiate() { + return Unreachable.Matcher.create(); + } + + @Override + public Unreachable.Match newEmptyMatch() { + return Unreachable.Match.newEmptyMatch(); + } + + @Override + public Unreachable.Match newMatch(final Object... parameters) { + return Unreachable.Match.newMatch((modes3.Segment) parameters[0], (modes3.Segment) parameters[1]); + } + + /** + * Inner class allowing the singleton instance of {@link Unreachable} to be created + * not at the class load time of the outer class, + * but rather at the first call to {@link Unreachable#instance()}. + * + *

    This workaround is required e.g. to support recursion. + * + */ + private static class LazyHolder { + private static final Unreachable INSTANCE = new Unreachable(); + + /** + * Statically initializes the query specification after the field {@link #INSTANCE} is assigned. + * This initialization order is required to support indirect recursion. + * + *

    The static initializer is defined using a helper field to work around limitations of the code generator. + * + */ + private static final Object STATIC_INITIALIZER = ensureInitialized(); + + public static Object ensureInitialized() { + INSTANCE.ensureInitializedInternal(); + return null; + } + } + + private static class GeneratedPQuery extends BaseGeneratedEMFPQuery { + private static final Unreachable.GeneratedPQuery INSTANCE = new GeneratedPQuery(); + + private final PParameter parameter_S1 = new PParameter("S1", "modes3.Segment", new EClassTransitiveInstancesKey((EClass)getClassifierLiteralSafe("http://www.ece.mcgill.ca/wcet/modes3", "Segment")), PParameterDirection.INOUT); + + private final PParameter parameter_S2 = new PParameter("S2", "modes3.Segment", new EClassTransitiveInstancesKey((EClass)getClassifierLiteralSafe("http://www.ece.mcgill.ca/wcet/modes3", "Segment")), PParameterDirection.INOUT); + + private final List parameters = Arrays.asList(parameter_S1, parameter_S2); + + private GeneratedPQuery() { + super(PVisibility.PUBLIC); + } + + @Override + public String getFullyQualifiedName() { + return "modes3.queries.unreachable"; + } + + @Override + public List getParameterNames() { + return Arrays.asList("S1","S2"); + } + + @Override + public List getParameters() { + return parameters; + } + + @Override + public Set doGetContainedBodies() { + setEvaluationHints(new QueryEvaluationHint(null, QueryEvaluationHint.BackendRequirement.UNSPECIFIED)); + Set bodies = new LinkedHashSet<>(); + { + PBody body = new PBody(this); + PVariable var_S1 = body.getOrCreateVariableByName("S1"); + PVariable var_S2 = body.getOrCreateVariableByName("S2"); + new TypeConstraint(body, Tuples.flatTupleOf(var_S1), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.ece.mcgill.ca/wcet/modes3", "Segment"))); + new TypeConstraint(body, Tuples.flatTupleOf(var_S2), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.ece.mcgill.ca/wcet/modes3", "Segment"))); + body.setSymbolicParameters(Arrays.asList( + new ExportedParameter(body, var_S1, parameter_S1), + new ExportedParameter(body, var_S2, parameter_S2) + )); + // neg find reachable(S1, S2) + new NegativePatternCall(body, Tuples.flatTupleOf(var_S1, var_S2), Reachable.instance().getInternalQueryRepresentation()); + bodies.add(body); + } + { + PAnnotation annotation = new PAnnotation("Constraint"); + annotation.addAttribute("message", "unreachable"); + annotation.addAttribute("severity", "error"); + annotation.addAttribute("key", Arrays.asList(new Object[] { + new ParameterReference("S1"), + new ParameterReference("S2") + })); + addAnnotation(annotation); + } + return bodies; + } + } +} diff --git a/Domains/ca.mcgill.rtgmrt.example.modes3/xtend-gen/modes3/run/.Modes3ModelGenerator.xtendbin b/Domains/ca.mcgill.rtgmrt.example.modes3/xtend-gen/modes3/run/.Modes3ModelGenerator.xtendbin new file mode 100644 index 00000000..4f542a67 Binary files /dev/null and b/Domains/ca.mcgill.rtgmrt.example.modes3/xtend-gen/modes3/run/.Modes3ModelGenerator.xtendbin differ diff --git a/Domains/ca.mcgill.rtgmrt.example.modes3/xtend-gen/modes3/run/.Modes3UnitPropagationGenerator.xtendbin b/Domains/ca.mcgill.rtgmrt.example.modes3/xtend-gen/modes3/run/.Modes3UnitPropagationGenerator.xtendbin new file mode 100644 index 00000000..28e763b9 Binary files /dev/null and b/Domains/ca.mcgill.rtgmrt.example.modes3/xtend-gen/modes3/run/.Modes3UnitPropagationGenerator.xtendbin differ diff --git a/Domains/ca.mcgill.rtgmrt.example.modes3/xtend-gen/modes3/run/.gitignore b/Domains/ca.mcgill.rtgmrt.example.modes3/xtend-gen/modes3/run/.gitignore new file mode 100644 index 00000000..53dcf60f --- /dev/null +++ b/Domains/ca.mcgill.rtgmrt.example.modes3/xtend-gen/modes3/run/.gitignore @@ -0,0 +1,2 @@ +/.Modes3ModelGenerator.java._trace +/.Modes3UnitPropagationGenerator.java._trace diff --git a/Domains/ca.mcgill.rtgmrt.example.modes3/xtend-gen/modes3/run/Modes3ModelGenerator.java b/Domains/ca.mcgill.rtgmrt.example.modes3/xtend-gen/modes3/run/Modes3ModelGenerator.java new file mode 100644 index 00000000..c7364257 --- /dev/null +++ b/Domains/ca.mcgill.rtgmrt.example.modes3/xtend-gen/modes3/run/Modes3ModelGenerator.java @@ -0,0 +1,381 @@ +package modes3.run; + +import com.google.common.base.Objects; +import com.google.common.collect.ImmutableList; +import com.google.common.collect.ImmutableSet; +import com.google.common.collect.Iterables; +import hu.bme.mit.inf.dslreasoner.ecore2logic.EReferenceMapper_RelationsOverTypes_Trace; +import hu.bme.mit.inf.dslreasoner.ecore2logic.Ecore2Logic; +import hu.bme.mit.inf.dslreasoner.ecore2logic.Ecore2LogicConfiguration; +import hu.bme.mit.inf.dslreasoner.ecore2logic.Ecore2Logic_Trace; +import hu.bme.mit.inf.dslreasoner.ecore2logic.EcoreMetamodelDescriptor; +import hu.bme.mit.inf.dslreasoner.ecore2logic.ecore2logicannotations.Ecore2logicannotationsFactory; +import hu.bme.mit.inf.dslreasoner.ecore2logic.ecore2logicannotations.Ecore2logicannotationsPackage; +import hu.bme.mit.inf.dslreasoner.ecore2logic.ecore2logicannotations.InverseRelationAssertion; +import hu.bme.mit.inf.dslreasoner.logic.model.builder.LogicProblemBuilder; +import hu.bme.mit.inf.dslreasoner.logic.model.builder.TracedOutput; +import hu.bme.mit.inf.dslreasoner.logic.model.builder.TypeScopes; +import hu.bme.mit.inf.dslreasoner.logic.model.builder.VariableContext; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Assertion; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Iff; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.RelationDeclaration; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.SymbolicValue; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.TermDescription; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Type; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.TypeDefinition; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Variable; +import hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.Annotation; +import hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicProblem; +import hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicproblemPackage; +import hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicResult; +import hu.bme.mit.inf.dslreasoner.logic.model.logicresult.ModelResult; +import hu.bme.mit.inf.dslreasoner.viatra2logic.Viatra2Logic; +import hu.bme.mit.inf.dslreasoner.viatra2logic.Viatra2LogicConfiguration; +import hu.bme.mit.inf.dslreasoner.viatra2logic.Viatra2LogicTrace; +import hu.bme.mit.inf.dslreasoner.viatra2logic.ViatraQuerySetDescriptor; +import hu.bme.mit.inf.dslreasoner.viatra2logic.viatra2logicannotations.Viatra2LogicAnnotationsPackage; +import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.TypeInferenceMethod; +import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.cardinality.PolyhedralScopePropagatorConstraints; +import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.cardinality.PolyhedralScopePropagatorSolver; +import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.cardinality.ScopePropagatorStrategy; +import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretation2logic.InstanceModel2Logic; +import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.BinaryElementRelationLink; +import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.PartialComplexTypeInterpretation; +import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.PartialInterpretation; +import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.PartialRelationInterpretation; +import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.PartialinterpretationPackage; +import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.RelationLink; +import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.visualisation.PartialInterpretation2Gml; +import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.visualisation.PartialInterpretationVisualisation; +import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.StateCoderStrategy; +import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.ViatraReasoner; +import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.ViatraReasonerConfiguration; +import hu.bme.mit.inf.dslreasoner.visualisation.pi2graphviz.GraphvizVisualiser; +import hu.bme.mit.inf.dslreasoner.workspace.FileSystemWorkspace; +import java.util.Collections; +import java.util.List; +import java.util.Map; +import java.util.Set; +import java.util.function.Consumer; +import java.util.function.Predicate; +import modes3.Modes3Factory; +import modes3.Modes3ModelRoot; +import modes3.Modes3Package; +import modes3.queries.Modes3Queries; +import org.eclipse.emf.common.util.EList; +import org.eclipse.emf.common.util.URI; +import org.eclipse.emf.ecore.EAttribute; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EEnum; +import org.eclipse.emf.ecore.EEnumLiteral; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.EReference; +import org.eclipse.emf.ecore.EStructuralFeature; +import org.eclipse.emf.ecore.resource.Resource; +import org.eclipse.emf.ecore.xmi.impl.XMIResourceFactoryImpl; +import org.eclipse.viatra.query.patternlanguage.emf.EMFPatternLanguageStandaloneSetup; +import org.eclipse.viatra.query.runtime.api.IQuerySpecification; +import org.eclipse.viatra.query.runtime.api.ViatraQueryEngineOptions; +import org.eclipse.viatra.query.runtime.localsearch.matcher.integration.LocalSearchEMFBackendFactory; +import org.eclipse.viatra.query.runtime.matchers.psystem.annotations.PAnnotation; +import org.eclipse.viatra.query.runtime.rete.matcher.ReteBackendFactory; +import org.eclipse.xtend.lib.annotations.FinalFieldsConstructor; +import org.eclipse.xtend2.lib.StringConcatenation; +import org.eclipse.xtext.xbase.lib.CollectionLiterals; +import org.eclipse.xtext.xbase.lib.Exceptions; +import org.eclipse.xtext.xbase.lib.ExclusiveRange; +import org.eclipse.xtext.xbase.lib.Extension; +import org.eclipse.xtext.xbase.lib.Functions.Function1; +import org.eclipse.xtext.xbase.lib.InputOutput; +import org.eclipse.xtext.xbase.lib.IterableExtensions; +import org.eclipse.xtext.xbase.lib.ObjectExtensions; +import org.eclipse.xtext.xbase.lib.Procedures.Procedure1; + +@FinalFieldsConstructor +@SuppressWarnings("all") +public class Modes3ModelGenerator { + private enum MonitoringQuery { + closeTrains, + + misalignedTurnout; + } + + private final Modes3ModelGenerator.MonitoringQuery monitoringQuery; + + private final int modelSize; + + private final Ecore2Logic ecore2Logic = new Ecore2Logic(); + + private final InstanceModel2Logic instanceModel2Logic = new InstanceModel2Logic(); + + private final Viatra2Logic viatra2Logic = new Viatra2Logic(this.ecore2Logic); + + private final ViatraReasoner solver = new ViatraReasoner(); + + @Extension + private final LogicProblemBuilder _logicProblemBuilder = new LogicProblemBuilder(); + + public URI generate() { + try { + URI _xblockexpression = null; + { + final EcoreMetamodelDescriptor metamodel = Modes3ModelGenerator.createMetamodelDescriptor(); + Ecore2LogicConfiguration _ecore2LogicConfiguration = new Ecore2LogicConfiguration(); + final TracedOutput metamodelLogic = this.ecore2Logic.transformMetamodel(metamodel, _ecore2LogicConfiguration); + final Type segment = this.ecore2Logic.TypeofEClass(metamodelLogic.getTrace(), Modes3Package.eINSTANCE.getSegment()); + final RelationDeclaration connectedTo = this.ecore2Logic.relationOfReference(metamodelLogic.getTrace(), + Modes3Package.eINSTANCE.getSegment_ConnectedTo()); + final RelationDeclaration connectedToIndicator = ((EReferenceMapper_RelationsOverTypes_Trace) metamodelLogic.getTrace().referenceMapperTrace).indicators.get( + Modes3Package.eINSTANCE.getSegment_ConnectedTo()); + StringConcatenation _builder = new StringConcatenation(); + _builder.append("oppositeReference "); + String _name = connectedTo.getName(); + _builder.append(_name); + _builder.append(" "); + String _name_1 = connectedTo.getName(); + _builder.append(_name_1); + final Function1 _function = (VariableContext it) -> { + Iff _xblockexpression_1 = null; + { + StringConcatenation _builder_1 = new StringConcatenation(); + _builder_1.append("src"); + final Variable src = it.addVar(_builder_1, segment); + StringConcatenation _builder_2 = new StringConcatenation(); + _builder_2.append("trg"); + final Variable trg = it.addVar(_builder_2, segment); + SymbolicValue _call = this._logicProblemBuilder.call(connectedToIndicator, src, trg); + SymbolicValue _call_1 = this._logicProblemBuilder.call(connectedToIndicator, trg, src); + _xblockexpression_1 = this._logicProblemBuilder.operator_spaceship(_call, _call_1); + } + return _xblockexpression_1; + }; + final Assertion inverseAssertion = this._logicProblemBuilder.Assertion(_builder, + this._logicProblemBuilder.Forall(_function)); + EList _assertions = metamodelLogic.getOutput().getAssertions(); + _assertions.add(inverseAssertion); + InverseRelationAssertion _createInverseRelationAssertion = Ecore2logicannotationsFactory.eINSTANCE.createInverseRelationAssertion(); + final Procedure1 _function_1 = (InverseRelationAssertion it) -> { + it.setTarget(inverseAssertion); + it.setInverseA(connectedTo); + it.setInverseB(connectedTo); + }; + final InverseRelationAssertion inverseAnnotation = ObjectExtensions.operator_doubleArrow(_createInverseRelationAssertion, _function_1); + EList _annotations = metamodelLogic.getOutput().getAnnotations(); + _annotations.add(inverseAnnotation); + final List initialModel = Modes3ModelGenerator.loadInitialModel(); + final TracedOutput initialModelLogic = this.instanceModel2Logic.transform(metamodelLogic, initialModel); + final ViatraQuerySetDescriptor queries = this.loadQueries(); + Viatra2LogicConfiguration _viatra2LogicConfiguration = new Viatra2LogicConfiguration(); + final TracedOutput logic = this.viatra2Logic.transformQueries(queries, initialModelLogic, _viatra2LogicConfiguration); + ViatraReasonerConfiguration _viatraReasonerConfiguration = new ViatraReasonerConfiguration(); + final Procedure1 _function_2 = (ViatraReasonerConfiguration it) -> { + it.runtimeLimit = 3600; + final Procedure1 _function_3 = (TypeScopes it_1) -> { + it_1.minNewElements = this.modelSize; + it_1.maxNewElements = this.modelSize; + final Procedure1> _function_4 = (Map it_2) -> { + it_2.put(this.ecore2Logic.TypeofEClass(metamodelLogic.getTrace(), Modes3Package.eINSTANCE.getTurnout()), Integer.valueOf(1)); + }; + ObjectExtensions.>operator_doubleArrow( + it_1.minNewElementsByType, _function_4); + final Procedure1> _function_5 = (Map it_2) -> { + it_2.put(this.ecore2Logic.TypeofEClass(metamodelLogic.getTrace(), Modes3Package.eINSTANCE.getTrain()), Integer.valueOf(5)); + }; + ObjectExtensions.>operator_doubleArrow( + it_1.maxNewElementsByType, _function_5); + }; + ObjectExtensions.operator_doubleArrow( + it.typeScopes, _function_3); + it.solutionScope.numberOfRequiredSolutions = 1; + it.nameNewElements = false; + it.typeInferenceMethod = TypeInferenceMethod.PreliminaryAnalysis; + it.stateCoderStrategy = StateCoderStrategy.Neighbourhood; + ScopePropagatorStrategy.Polyhedral _polyhedral = new ScopePropagatorStrategy.Polyhedral( + PolyhedralScopePropagatorConstraints.Relational, PolyhedralScopePropagatorSolver.Clp); + it.scopePropagatorStrategy = _polyhedral; + it.debugConfiguration.partialInterpretatioVisualiser = null; + }; + final ViatraReasonerConfiguration config = ObjectExtensions.operator_doubleArrow(_viatraReasonerConfiguration, _function_2); + final FileSystemWorkspace workspace = new FileSystemWorkspace("output/", ""); + final LogicResult solution = this.solver.solve(logic.getOutput(), config, workspace); + URI _xifexpression = null; + if ((solution instanceof ModelResult)) { + InputOutput.println("Saving generated solutions"); + final EList representations = ((ModelResult)solution).getRepresentation(); + int _size = representations.size(); + ExclusiveRange _doubleDotLessThan = new ExclusiveRange(0, _size, true); + for (final Integer representationIndex : _doubleDotLessThan) { + { + final Object representation = representations.get((representationIndex).intValue()); + final int representationNumber = ((representationIndex).intValue() + 1); + if ((representation instanceof PartialInterpretation)) { + StringConcatenation _builder_1 = new StringConcatenation(); + _builder_1.append("solution"); + _builder_1.append(representationNumber); + _builder_1.append(".partialinterpretation"); + workspace.writeModel(((EObject)representation), _builder_1.toString()); + final PartialInterpretation2Gml partialInterpretation2GML = new PartialInterpretation2Gml(); + final String gml = partialInterpretation2GML.transform(((PartialInterpretation)representation)); + StringConcatenation _builder_2 = new StringConcatenation(); + _builder_2.append("solution"); + _builder_2.append(representationNumber); + _builder_2.append(".gml"); + workspace.writeText(_builder_2.toString(), gml); + int _size_1 = ((PartialInterpretation)representation).getNewElements().size(); + boolean _lessThan = (_size_1 < 160); + if (_lessThan) { + if ((representation instanceof PartialInterpretation)) { + final Consumer _function_3 = (Type it) -> { + InputOutput.println(it.getName()); + }; + ((PartialInterpretation)representation).getProblem().getTypes().forEach(_function_3); + final Function1 _function_4 = (Type it) -> { + String _name_2 = it.getName(); + return Boolean.valueOf(Objects.equal(_name_2, "Modes3ModelRoot class DefinedPart")); + }; + Type _findFirst = IterableExtensions.findFirst(((PartialInterpretation)representation).getProblem().getTypes(), _function_4); + final TypeDefinition rootType = ((TypeDefinition) _findFirst); + final Function1 _function_5 = (PartialComplexTypeInterpretation it) -> { + String _name_2 = it.getInterpretationOf().getName(); + return Boolean.valueOf(Objects.equal(_name_2, "Modes3ModelRoot class")); + }; + final PartialComplexTypeInterpretation rootIntepretation = IterableExtensions.findFirst(Iterables.filter(((PartialInterpretation)representation).getPartialtypeinterpratation(), + PartialComplexTypeInterpretation.class), _function_5); + rootIntepretation.getElements().removeAll(rootType.getElements()); + ((PartialInterpretation)representation).getProblem().getElements().removeAll(rootType.getElements()); + EList _partialrelationinterpretation = ((PartialInterpretation)representation).getPartialrelationinterpretation(); + for (final PartialRelationInterpretation relationInterpretation : _partialrelationinterpretation) { + final Predicate _function_6 = (RelationLink link) -> { + boolean _xifexpression_1 = false; + if ((link instanceof BinaryElementRelationLink)) { + _xifexpression_1 = (rootType.getElements().contains(((BinaryElementRelationLink)link).getParam1()) || rootType.getElements().contains(((BinaryElementRelationLink)link).getParam2())); + } else { + _xifexpression_1 = false; + } + return _xifexpression_1; + }; + relationInterpretation.getRelationlinks().removeIf(_function_6); + } + rootType.getElements().clear(); + } + final GraphvizVisualiser visualiser = new GraphvizVisualiser(); + final PartialInterpretationVisualisation visualisation = visualiser.visualiseConcretization(((PartialInterpretation)representation)); + StringConcatenation _builder_3 = new StringConcatenation(); + _builder_3.append("solution"); + _builder_3.append(representationNumber); + _builder_3.append(".png"); + visualisation.writeToFile(workspace, _builder_3.toString()); + } + } else { + StringConcatenation _builder_4 = new StringConcatenation(); + _builder_4.append("solution"); + _builder_4.append(representationNumber); + _builder_4.append(".txt"); + workspace.writeText(_builder_4.toString(), representation.toString()); + } + } + } + } else { + URI _xblockexpression_1 = null; + { + InputOutput.println("Failed to solver problem"); + final LogicProblem partial = logic.getOutput(); + _xblockexpression_1 = workspace.writeModel(partial, "solution.partialinterpretation"); + } + _xifexpression = _xblockexpression_1; + } + _xblockexpression = _xifexpression; + } + return _xblockexpression; + } catch (Throwable _e) { + throw Exceptions.sneakyThrow(_e); + } + } + + public static EcoreMetamodelDescriptor createMetamodelDescriptor() { + EcoreMetamodelDescriptor _xblockexpression = null; + { + final ImmutableList eClasses = ImmutableList.copyOf(Iterables.filter(Modes3Package.eINSTANCE.getEClassifiers(), EClass.class)); + Set _emptySet = CollectionLiterals.emptySet(); + List _emptyList = CollectionLiterals.emptyList(); + List _emptyList_1 = CollectionLiterals.emptyList(); + final Function1> _function = (EClass it) -> { + return it.getEReferences(); + }; + ImmutableList _copyOf = ImmutableList.copyOf(IterableExtensions.flatMap(eClasses, _function)); + List _emptyList_2 = CollectionLiterals.emptyList(); + _xblockexpression = new EcoreMetamodelDescriptor(eClasses, _emptySet, + false, _emptyList, _emptyList_1, _copyOf, _emptyList_2); + } + return _xblockexpression; + } + + public static List loadInitialModel() { + Modes3ModelRoot _createModes3ModelRoot = Modes3Factory.eINSTANCE.createModes3ModelRoot(); + return Collections.unmodifiableList(CollectionLiterals.newArrayList(_createModes3ModelRoot)); + } + + public ViatraQuerySetDescriptor loadQueries() { + ViatraQuerySetDescriptor _xblockexpression = null; + { + final ImmutableList.Builder> patternsBuilder = ImmutableList.>builder(); + patternsBuilder.addAll(Modes3Queries.instance().getSpecifications()); + final ImmutableList> patterns = patternsBuilder.build(); + final Function1, Boolean> _function = (IQuerySpecification pattern) -> { + final Function1 _function_1 = (PAnnotation it) -> { + String _name = it.getName(); + return Boolean.valueOf(Objects.equal(_name, "Constraint")); + }; + return Boolean.valueOf(IterableExtensions.exists(pattern.getAllAnnotations(), _function_1)); + }; + final ImmutableSet> validationPatterns = ImmutableSet.>copyOf(IterableExtensions.>filter(patterns, _function)); + Map, EStructuralFeature> _emptyMap = CollectionLiterals., EStructuralFeature>emptyMap(); + _xblockexpression = new ViatraQuerySetDescriptor(patterns, validationPatterns, _emptyMap); + } + return _xblockexpression; + } + + public static Object init() { + Object _xblockexpression = null; + { + EMFPatternLanguageStandaloneSetup.doSetup(); + ViatraQueryEngineOptions.setSystemDefaultBackends(ReteBackendFactory.INSTANCE, ReteBackendFactory.INSTANCE, + LocalSearchEMFBackendFactory.INSTANCE); + LogiclanguagePackage.eINSTANCE.getClass(); + LogicproblemPackage.eINSTANCE.getClass(); + PartialinterpretationPackage.eINSTANCE.getClass(); + Ecore2logicannotationsPackage.eINSTANCE.getClass(); + Viatra2LogicAnnotationsPackage.eINSTANCE.getClass(); + Map _extensionToFactoryMap = Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap(); + XMIResourceFactoryImpl _xMIResourceFactoryImpl = new XMIResourceFactoryImpl(); + _extensionToFactoryMap.put("ecore", _xMIResourceFactoryImpl); + Map _extensionToFactoryMap_1 = Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap(); + XMIResourceFactoryImpl _xMIResourceFactoryImpl_1 = new XMIResourceFactoryImpl(); + _extensionToFactoryMap_1.put("logicproblem", _xMIResourceFactoryImpl_1); + Map _extensionToFactoryMap_2 = Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap(); + XMIResourceFactoryImpl _xMIResourceFactoryImpl_2 = new XMIResourceFactoryImpl(); + _xblockexpression = _extensionToFactoryMap_2.put("partialinterpretation", _xMIResourceFactoryImpl_2); + } + return _xblockexpression; + } + + public static void main(final String[] args) { + int _length = args.length; + boolean _notEquals = (_length != 2); + if (_notEquals) { + System.err.println("Usage: "); + } + final Modes3ModelGenerator.MonitoringQuery monitoringQuery = Modes3ModelGenerator.MonitoringQuery.valueOf(args[0]); + final int modelSize = Integer.parseInt(args[1]); + Modes3ModelGenerator.init(); + final Modes3ModelGenerator generator = new Modes3ModelGenerator(monitoringQuery, modelSize); + generator.generate(); + } + + public Modes3ModelGenerator(final Modes3ModelGenerator.MonitoringQuery monitoringQuery, final int modelSize) { + super(); + this.monitoringQuery = monitoringQuery; + this.modelSize = modelSize; + } +} diff --git a/Domains/ca.mcgill.rtgmrt.example.modes3/xtend-gen/modes3/run/Modes3UnitPropagationGenerator.java b/Domains/ca.mcgill.rtgmrt.example.modes3/xtend-gen/modes3/run/Modes3UnitPropagationGenerator.java new file mode 100644 index 00000000..91adaaaa --- /dev/null +++ b/Domains/ca.mcgill.rtgmrt.example.modes3/xtend-gen/modes3/run/Modes3UnitPropagationGenerator.java @@ -0,0 +1,585 @@ +package modes3.run; + +import hu.bme.mit.inf.dslreasoner.ecore2logic.Ecore2Logic; +import hu.bme.mit.inf.dslreasoner.ecore2logic.Ecore2Logic_Trace; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Relation; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Type; +import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.Modality; +import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.patterns.PatternGenerator; +import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.patterns.UnitPropagationPatternGenerator; +import java.util.Collections; +import java.util.Map; +import modes3.Modes3Package; +import modes3.queries.ExtraInputOfTurnout; +import modes3.queries.Output; +import modes3.queries.TurnoutOutput; +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PQuery; +import org.eclipse.xtend2.lib.StringConcatenationClient; +import org.eclipse.xtext.xbase.lib.CollectionLiterals; +import org.eclipse.xtext.xbase.lib.Extension; +import org.eclipse.xtext.xbase.lib.Pair; + +@SuppressWarnings("all") +public class Modes3UnitPropagationGenerator implements UnitPropagationPatternGenerator { + private static final String MUST_NOT_CONNECTED_TO = "mustNotConnectedTo"; + + private static final String MUST_NOT_CONNECTED_TO_HELPER = "mustNotConnectedTo_helper"; + + private static final String MUST_NOT_TURNOUT_OUTPUT = "mustNotTurnoutOutput"; + + private static final String MUST_NOT_STRAIGHT = "mustNotStraight"; + + private static final String MUST_NOT_DIVERGENT = "mustNotDivergent"; + + private final Type segmentType; + + private final Type turnoutType; + + private final Relation connectedToRelation; + + private final Relation straightRelation; + + private final Relation divergentRelation; + + public Modes3UnitPropagationGenerator(@Extension final Ecore2Logic ecore2Logic, final Ecore2Logic_Trace ecore2LogicTrace) { + @Extension + final Modes3Package Modes3Package = modes3.Modes3Package.eINSTANCE; + this.segmentType = ecore2Logic.TypeofEClass(ecore2LogicTrace, Modes3Package.getSegment()); + this.turnoutType = ecore2Logic.TypeofEClass(ecore2LogicTrace, Modes3Package.getTurnout()); + this.connectedToRelation = ecore2Logic.relationOfReference(ecore2LogicTrace, Modes3Package.getSegment_ConnectedTo()); + this.straightRelation = ecore2Logic.relationOfReference(ecore2LogicTrace, Modes3Package.getTurnout_Straight()); + this.divergentRelation = ecore2Logic.relationOfReference(ecore2LogicTrace, Modes3Package.getTurnout_Divergent()); + } + + @Override + public Map getMustPatterns() { + return CollectionLiterals.emptyMap(); + } + + @Override + public Map getMustNotPatterns() { + Pair _mappedTo = Pair.of(this.connectedToRelation, Modes3UnitPropagationGenerator.MUST_NOT_CONNECTED_TO); + Pair _mappedTo_1 = Pair.of(this.straightRelation, Modes3UnitPropagationGenerator.MUST_NOT_STRAIGHT); + Pair _mappedTo_2 = Pair.of(this.divergentRelation, Modes3UnitPropagationGenerator.MUST_NOT_DIVERGENT); + return Collections.unmodifiableMap(CollectionLiterals.newHashMap(_mappedTo, _mappedTo_1, _mappedTo_2)); + } + + @Override + public StringConcatenationClient getAdditionalPatterns(@Extension final PatternGenerator generator, final Map fqnToPQuery) { + StringConcatenationClient _xblockexpression = null; + { + StringConcatenationClient _client = new StringConcatenationClient() { + @Override + protected void appendTo(StringConcatenationClient.TargetStringConcatenation _builder) { + _builder.append("problem: LogicProblem, interpretation: PartialInterpretation,"); + _builder.newLine(); + _builder.append("source: DefinedElement, target: DefinedElement"); + _builder.newLine(); + } + }; + final StringConcatenationClient parameters = _client; + StringConcatenationClient _client_1 = new StringConcatenationClient() { + @Override + protected void appendTo(StringConcatenationClient.TargetStringConcatenation _builder) { + _builder.append("find interpretation(problem, interpretation);"); + _builder.newLine(); + _builder.append("find mustExist(problem, interpretation, source);"); + _builder.newLine(); + _builder.append("find mustExist(problem, interpretation, target);"); + _builder.newLine(); + } + }; + final StringConcatenationClient commonParameterConstraints = _client_1; + StringConcatenationClient _client_2 = new StringConcatenationClient() { + @Override + protected void appendTo(StringConcatenationClient.TargetStringConcatenation _builder) { + _builder.append("pattern "); + _builder.append(Modes3UnitPropagationGenerator.MUST_NOT_CONNECTED_TO_HELPER); + _builder.append("("); + _builder.append(parameters); + _builder.append(") {"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + _builder.append("// connectedToReflexive unit propagation"); + _builder.newLine(); + _builder.append("\t"); + _builder.append(commonParameterConstraints, "\t"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + CharSequence _referInstanceOf = generator.getTypeIndexer().referInstanceOf(Modes3UnitPropagationGenerator.this.segmentType, Modality.MUST, "source"); + _builder.append(_referInstanceOf, "\t"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + CharSequence _referInstanceOf_1 = generator.getTypeIndexer().referInstanceOf(Modes3UnitPropagationGenerator.this.segmentType, Modality.MUST, "target"); + _builder.append(_referInstanceOf_1, "\t"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + _builder.append("source == target;"); + _builder.newLine(); + _builder.append("} or {"); + _builder.newLine(); + _builder.append("\t"); + _builder.append("// tooManyInputsOfSegment unit propagation"); + _builder.newLine(); + _builder.append("\t"); + _builder.append(commonParameterConstraints, "\t"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + CharSequence _referInstanceOf_2 = generator.getTypeIndexer().referInstanceOf(Modes3UnitPropagationGenerator.this.segmentType, Modality.MUST, "source"); + _builder.append(_referInstanceOf_2, "\t"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + CharSequence _referInstanceOf_3 = generator.getTypeIndexer().referInstanceOf(Modes3UnitPropagationGenerator.this.segmentType, Modality.MUST, "target"); + _builder.append(_referInstanceOf_3, "\t"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + CharSequence _referInstanceOf_4 = generator.getTypeIndexer().referInstanceOf(Modes3UnitPropagationGenerator.this.segmentType, Modality.MUST, "input1"); + _builder.append(_referInstanceOf_4, "\t"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + CharSequence _referInstanceOf_5 = generator.getTypeIndexer().referInstanceOf(Modes3UnitPropagationGenerator.this.segmentType, Modality.MUST, "input2"); + _builder.append(_referInstanceOf_5, "\t"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + _builder.append("neg "); + CharSequence _referInstanceOf_6 = generator.getTypeIndexer().referInstanceOf(Modes3UnitPropagationGenerator.this.turnoutType, Modality.MAY, "source"); + _builder.append(_referInstanceOf_6, "\t"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + CharSequence _referPattern = generator.getRelationDefinitionIndexer().referPattern(fqnToPQuery.get(Output.instance().getFullyQualifiedName()), new String[] { "input1", "source" }, Modality.MUST, true, false); + _builder.append(_referPattern, "\t"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + CharSequence _referPattern_1 = generator.getRelationDefinitionIndexer().referPattern(fqnToPQuery.get(Output.instance().getFullyQualifiedName()), new String[] { "input2", "source" }, Modality.MUST, true, false); + _builder.append(_referPattern_1, "\t"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + _builder.append("input1 != input2;"); + _builder.newLine(); + _builder.append("\t"); + _builder.append("input1 != target;"); + _builder.newLine(); + _builder.append("\t"); + _builder.append("input2 != target;"); + _builder.newLine(); + _builder.append("} or {"); + _builder.newLine(); + _builder.append("\t"); + _builder.append("// turnoutConnectedToBothOutputs unit propagation 1"); + _builder.newLine(); + _builder.append("\t"); + _builder.append(commonParameterConstraints, "\t"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + CharSequence _referInstanceOf_7 = generator.getTypeIndexer().referInstanceOf(Modes3UnitPropagationGenerator.this.turnoutType, Modality.MUST, "source"); + _builder.append(_referInstanceOf_7, "\t"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + CharSequence _referInstanceOf_8 = generator.getTypeIndexer().referInstanceOf(Modes3UnitPropagationGenerator.this.segmentType, Modality.MUST, "target"); + _builder.append(_referInstanceOf_8, "\t"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + CharSequence _referInstanceOf_9 = generator.getTypeIndexer().referInstanceOf(Modes3UnitPropagationGenerator.this.segmentType, Modality.MUST, "divergent"); + _builder.append(_referInstanceOf_9, "\t"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + CharSequence _referRelation = generator.referRelation(Modes3UnitPropagationGenerator.this.straightRelation, "source", "target", Modality.MUST, fqnToPQuery); + _builder.append(_referRelation, "\t"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + CharSequence _referRelation_1 = generator.referRelation(Modes3UnitPropagationGenerator.this.divergentRelation, "source", "divergent", Modality.MUST, fqnToPQuery); + _builder.append(_referRelation_1, "\t"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + CharSequence _referRelation_2 = generator.referRelation(Modes3UnitPropagationGenerator.this.connectedToRelation, "source", "divergent", Modality.MUST, fqnToPQuery); + _builder.append(_referRelation_2, "\t"); + _builder.newLineIfNotEmpty(); + _builder.append("} or {"); + _builder.newLine(); + _builder.append("\t"); + _builder.append("// turnoutConnectedToBothOutputs unit propagation 2"); + _builder.newLine(); + _builder.append("\t"); + _builder.append(commonParameterConstraints, "\t"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + CharSequence _referInstanceOf_10 = generator.getTypeIndexer().referInstanceOf(Modes3UnitPropagationGenerator.this.turnoutType, Modality.MUST, "source"); + _builder.append(_referInstanceOf_10, "\t"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + CharSequence _referInstanceOf_11 = generator.getTypeIndexer().referInstanceOf(Modes3UnitPropagationGenerator.this.segmentType, Modality.MUST, "target"); + _builder.append(_referInstanceOf_11, "\t"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + CharSequence _referInstanceOf_12 = generator.getTypeIndexer().referInstanceOf(Modes3UnitPropagationGenerator.this.segmentType, Modality.MUST, "straight"); + _builder.append(_referInstanceOf_12, "\t"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + CharSequence _referRelation_3 = generator.referRelation(Modes3UnitPropagationGenerator.this.straightRelation, "source", "straight", Modality.MUST, fqnToPQuery); + _builder.append(_referRelation_3, "\t"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + CharSequence _referRelation_4 = generator.referRelation(Modes3UnitPropagationGenerator.this.divergentRelation, "source", "target", Modality.MUST, fqnToPQuery); + _builder.append(_referRelation_4, "\t"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + CharSequence _referRelation_5 = generator.referRelation(Modes3UnitPropagationGenerator.this.connectedToRelation, "source", "straight", Modality.MUST, fqnToPQuery); + _builder.append(_referRelation_5, "\t"); + _builder.newLineIfNotEmpty(); + _builder.append("} or {"); + _builder.newLine(); + _builder.append("\t"); + _builder.append("// tooManyExtraInputsOfTurnout unit propagation"); + _builder.newLine(); + _builder.append("\t"); + _builder.append(commonParameterConstraints, "\t"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + CharSequence _referInstanceOf_13 = generator.getTypeIndexer().referInstanceOf(Modes3UnitPropagationGenerator.this.turnoutType, Modality.MUST, "source"); + _builder.append(_referInstanceOf_13, "\t"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + CharSequence _referInstanceOf_14 = generator.getTypeIndexer().referInstanceOf(Modes3UnitPropagationGenerator.this.segmentType, Modality.MUST, "target"); + _builder.append(_referInstanceOf_14, "\t"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + CharSequence _referInstanceOf_15 = generator.getTypeIndexer().referInstanceOf(Modes3UnitPropagationGenerator.this.segmentType, Modality.MUST, "extraInput"); + _builder.append(_referInstanceOf_15, "\t"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + CharSequence _referPattern_2 = generator.getRelationDefinitionIndexer().referPattern(fqnToPQuery.get(TurnoutOutput.instance().getFullyQualifiedName()), new String[] { "source", "target" }, Modality.MAY, false, false); + _builder.append(_referPattern_2, "\t"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + CharSequence _referPattern_3 = generator.getRelationDefinitionIndexer().referPattern(fqnToPQuery.get(ExtraInputOfTurnout.instance().getFullyQualifiedName()), new String[] { "source", "extraInput" }, Modality.MUST, true, false); + _builder.append(_referPattern_3, "\t"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + _builder.append("target != extraInput;"); + _builder.newLine(); + _builder.append("}"); + _builder.newLine(); + _builder.newLine(); + _builder.append("pattern "); + _builder.append(Modes3UnitPropagationGenerator.MUST_NOT_CONNECTED_TO); + _builder.append("("); + _builder.append(parameters); + _builder.append(") {"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + _builder.append("find "); + _builder.append(Modes3UnitPropagationGenerator.MUST_NOT_CONNECTED_TO_HELPER, "\t"); + _builder.append("(problem, interpretation, source, target);"); + _builder.newLineIfNotEmpty(); + _builder.append("} or {"); + _builder.newLine(); + _builder.append("\t"); + _builder.append("find "); + _builder.append(Modes3UnitPropagationGenerator.MUST_NOT_CONNECTED_TO_HELPER, "\t"); + _builder.append("(problem, interpretation, target, source);"); + _builder.newLineIfNotEmpty(); + _builder.append("}"); + _builder.newLine(); + _builder.newLine(); + _builder.append("pattern "); + _builder.append(Modes3UnitPropagationGenerator.MUST_NOT_TURNOUT_OUTPUT); + _builder.append("("); + _builder.append(parameters); + _builder.append(") {"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + _builder.append("// outputReflexive unit propagation"); + _builder.newLine(); + _builder.append("\t"); + _builder.append(commonParameterConstraints, "\t"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + CharSequence _referInstanceOf_16 = generator.getTypeIndexer().referInstanceOf(Modes3UnitPropagationGenerator.this.turnoutType, Modality.MUST, "source"); + _builder.append(_referInstanceOf_16, "\t"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + CharSequence _referInstanceOf_17 = generator.getTypeIndexer().referInstanceOf(Modes3UnitPropagationGenerator.this.turnoutType, Modality.MUST, "target"); + _builder.append(_referInstanceOf_17, "\t"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + _builder.append("source == target;"); + _builder.newLine(); + _builder.append("} or {"); + _builder.newLine(); + _builder.append("\t"); + _builder.append("// tooManyInputsOfSegment unit propagation"); + _builder.newLine(); + _builder.append("\t"); + _builder.append(commonParameterConstraints, "\t"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + CharSequence _referInstanceOf_18 = generator.getTypeIndexer().referInstanceOf(Modes3UnitPropagationGenerator.this.turnoutType, Modality.MUST, "source"); + _builder.append(_referInstanceOf_18, "\t"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + CharSequence _referInstanceOf_19 = generator.getTypeIndexer().referInstanceOf(Modes3UnitPropagationGenerator.this.segmentType, Modality.MUST, "target"); + _builder.append(_referInstanceOf_19, "\t"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + CharSequence _referInstanceOf_20 = generator.getTypeIndexer().referInstanceOf(Modes3UnitPropagationGenerator.this.segmentType, Modality.MUST, "input1"); + _builder.append(_referInstanceOf_20, "\t"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + CharSequence _referInstanceOf_21 = generator.getTypeIndexer().referInstanceOf(Modes3UnitPropagationGenerator.this.segmentType, Modality.MUST, "input2"); + _builder.append(_referInstanceOf_21, "\t"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + _builder.append("neg "); + CharSequence _referInstanceOf_22 = generator.getTypeIndexer().referInstanceOf(Modes3UnitPropagationGenerator.this.turnoutType, Modality.MAY, "target"); + _builder.append(_referInstanceOf_22, "\t"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + CharSequence _referPattern_4 = generator.getRelationDefinitionIndexer().referPattern(fqnToPQuery.get(Output.instance().getFullyQualifiedName()), new String[] { "input1", "target" }, Modality.MUST, true, false); + _builder.append(_referPattern_4, "\t"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + CharSequence _referPattern_5 = generator.getRelationDefinitionIndexer().referPattern(fqnToPQuery.get(Output.instance().getFullyQualifiedName()), new String[] { "input2", "target" }, Modality.MUST, true, false); + _builder.append(_referPattern_5, "\t"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + _builder.append("input1 != input2;"); + _builder.newLine(); + _builder.append("\t"); + _builder.append("input1 != source;"); + _builder.newLine(); + _builder.append("\t"); + _builder.append("input2 != source;"); + _builder.newLine(); + _builder.append("}"); + _builder.newLine(); + _builder.newLine(); + _builder.append("pattern "); + _builder.append(Modes3UnitPropagationGenerator.MUST_NOT_STRAIGHT); + _builder.append("("); + _builder.append(parameters); + _builder.append(") {"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + _builder.append("find "); + _builder.append(Modes3UnitPropagationGenerator.MUST_NOT_TURNOUT_OUTPUT, "\t"); + _builder.append("(problem, interpretation, source, target);"); + _builder.newLineIfNotEmpty(); + _builder.append("} or {"); + _builder.newLine(); + _builder.append("\t"); + _builder.append("// turnoutOutputsAreSame unit propagation"); + _builder.newLine(); + _builder.append("\t"); + _builder.append(commonParameterConstraints, "\t"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + CharSequence _referInstanceOf_23 = generator.getTypeIndexer().referInstanceOf(Modes3UnitPropagationGenerator.this.turnoutType, Modality.MUST, "source"); + _builder.append(_referInstanceOf_23, "\t"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + CharSequence _referInstanceOf_24 = generator.getTypeIndexer().referInstanceOf(Modes3UnitPropagationGenerator.this.segmentType, Modality.MUST, "target"); + _builder.append(_referInstanceOf_24, "\t"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + CharSequence _referRelation_6 = generator.referRelation(Modes3UnitPropagationGenerator.this.divergentRelation, "source", "target", Modality.MUST, fqnToPQuery); + _builder.append(_referRelation_6, "\t"); + _builder.newLineIfNotEmpty(); + _builder.append("} or {"); + _builder.newLine(); + _builder.append("\t"); + _builder.append("// turnoutConnectedToBothOutputs unit propagation"); + _builder.newLine(); + _builder.append("\t"); + _builder.append(commonParameterConstraints, "\t"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + CharSequence _referInstanceOf_25 = generator.getTypeIndexer().referInstanceOf(Modes3UnitPropagationGenerator.this.turnoutType, Modality.MUST, "source"); + _builder.append(_referInstanceOf_25, "\t"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + CharSequence _referInstanceOf_26 = generator.getTypeIndexer().referInstanceOf(Modes3UnitPropagationGenerator.this.segmentType, Modality.MUST, "target"); + _builder.append(_referInstanceOf_26, "\t"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + CharSequence _referInstanceOf_27 = generator.getTypeIndexer().referInstanceOf(Modes3UnitPropagationGenerator.this.turnoutType, Modality.MUST, "divergent"); + _builder.append(_referInstanceOf_27, "\t"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + CharSequence _referRelation_7 = generator.referRelation(Modes3UnitPropagationGenerator.this.connectedToRelation, "source", "target", Modality.MUST, fqnToPQuery); + _builder.append(_referRelation_7, "\t"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + CharSequence _referRelation_8 = generator.referRelation(Modes3UnitPropagationGenerator.this.divergentRelation, "source", "divergent", Modality.MUST, fqnToPQuery); + _builder.append(_referRelation_8, "\t"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + CharSequence _referRelation_9 = generator.referRelation(Modes3UnitPropagationGenerator.this.connectedToRelation, "source", "divergent", Modality.MUST, fqnToPQuery); + _builder.append(_referRelation_9, "\t"); + _builder.newLineIfNotEmpty(); + _builder.append("} or {"); + _builder.newLine(); + _builder.append("\t"); + _builder.append("// tooManyExtraInputsOfTurnout unit propagation"); + _builder.newLine(); + _builder.append("\t"); + _builder.append(commonParameterConstraints, "\t"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + CharSequence _referInstanceOf_28 = generator.getTypeIndexer().referInstanceOf(Modes3UnitPropagationGenerator.this.turnoutType, Modality.MUST, "source"); + _builder.append(_referInstanceOf_28, "\t"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + CharSequence _referInstanceOf_29 = generator.getTypeIndexer().referInstanceOf(Modes3UnitPropagationGenerator.this.segmentType, Modality.MUST, "target"); + _builder.append(_referInstanceOf_29, "\t"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + CharSequence _referInstanceOf_30 = generator.getTypeIndexer().referInstanceOf(Modes3UnitPropagationGenerator.this.segmentType, Modality.MUST, "extraInput"); + _builder.append(_referInstanceOf_30, "\t"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + CharSequence _referInstanceOf_31 = generator.getTypeIndexer().referInstanceOf(Modes3UnitPropagationGenerator.this.segmentType, Modality.MUST, "potentialExtraInput"); + _builder.append(_referInstanceOf_31, "\t"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + CharSequence _referPattern_6 = generator.getRelationDefinitionIndexer().referPattern(fqnToPQuery.get(ExtraInputOfTurnout.instance().getFullyQualifiedName()), new String[] { "source", "extraInput" }, Modality.MUST, true, false); + _builder.append(_referPattern_6, "\t"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + CharSequence _referRelation_10 = generator.referRelation(Modes3UnitPropagationGenerator.this.connectedToRelation, "source", "potentialExtraInput", Modality.MUST, fqnToPQuery); + _builder.append(_referRelation_10, "\t"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + _builder.append("neg "); + CharSequence _referRelation_11 = generator.referRelation(Modes3UnitPropagationGenerator.this.divergentRelation, "source", "potentialExtraInput", Modality.MAY, fqnToPQuery); + _builder.append(_referRelation_11, "\t"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + _builder.append("extraInput != potentialExtraInput;"); + _builder.newLine(); + _builder.append("\t"); + _builder.append("extraInput != target;"); + _builder.newLine(); + _builder.append("\t"); + _builder.append("potentialExtraInput != target;"); + _builder.newLine(); + _builder.append("}"); + _builder.newLine(); + _builder.newLine(); + _builder.append("pattern "); + _builder.append(Modes3UnitPropagationGenerator.MUST_NOT_DIVERGENT); + _builder.append("("); + _builder.append(parameters); + _builder.append(") {"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + _builder.append("find "); + _builder.append(Modes3UnitPropagationGenerator.MUST_NOT_TURNOUT_OUTPUT, "\t"); + _builder.append("(problem, interpretation, source, target);"); + _builder.newLineIfNotEmpty(); + _builder.append("} or {"); + _builder.newLine(); + _builder.append("\t"); + _builder.append("// turnoutOutputsAreSame unit propagation"); + _builder.newLine(); + _builder.append("\t"); + _builder.append(commonParameterConstraints, "\t"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + CharSequence _referInstanceOf_32 = generator.getTypeIndexer().referInstanceOf(Modes3UnitPropagationGenerator.this.turnoutType, Modality.MUST, "source"); + _builder.append(_referInstanceOf_32, "\t"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + CharSequence _referInstanceOf_33 = generator.getTypeIndexer().referInstanceOf(Modes3UnitPropagationGenerator.this.segmentType, Modality.MUST, "target"); + _builder.append(_referInstanceOf_33, "\t"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + CharSequence _referRelation_12 = generator.referRelation(Modes3UnitPropagationGenerator.this.straightRelation, "source", "target", Modality.MUST, fqnToPQuery); + _builder.append(_referRelation_12, "\t"); + _builder.newLineIfNotEmpty(); + _builder.append("} or {"); + _builder.newLine(); + _builder.append("\t"); + _builder.append("// turnoutConnectedToBothOutputs unit propagation"); + _builder.newLine(); + _builder.append("\t"); + _builder.append(commonParameterConstraints, "\t"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + CharSequence _referInstanceOf_34 = generator.getTypeIndexer().referInstanceOf(Modes3UnitPropagationGenerator.this.turnoutType, Modality.MUST, "source"); + _builder.append(_referInstanceOf_34, "\t"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + CharSequence _referInstanceOf_35 = generator.getTypeIndexer().referInstanceOf(Modes3UnitPropagationGenerator.this.segmentType, Modality.MUST, "target"); + _builder.append(_referInstanceOf_35, "\t"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + CharSequence _referInstanceOf_36 = generator.getTypeIndexer().referInstanceOf(Modes3UnitPropagationGenerator.this.turnoutType, Modality.MUST, "straight"); + _builder.append(_referInstanceOf_36, "\t"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + CharSequence _referRelation_13 = generator.referRelation(Modes3UnitPropagationGenerator.this.connectedToRelation, "source", "target", Modality.MUST, fqnToPQuery); + _builder.append(_referRelation_13, "\t"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + CharSequence _referRelation_14 = generator.referRelation(Modes3UnitPropagationGenerator.this.straightRelation, "source", "straight", Modality.MUST, fqnToPQuery); + _builder.append(_referRelation_14, "\t"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + CharSequence _referRelation_15 = generator.referRelation(Modes3UnitPropagationGenerator.this.connectedToRelation, "source", "straight", Modality.MUST, fqnToPQuery); + _builder.append(_referRelation_15, "\t"); + _builder.newLineIfNotEmpty(); + _builder.append("} or {"); + _builder.newLine(); + _builder.append("\t"); + _builder.append("// tooManyExtraInputsOfTurnout unit propagation"); + _builder.newLine(); + _builder.append("\t"); + _builder.append(commonParameterConstraints, "\t"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + CharSequence _referInstanceOf_37 = generator.getTypeIndexer().referInstanceOf(Modes3UnitPropagationGenerator.this.turnoutType, Modality.MUST, "source"); + _builder.append(_referInstanceOf_37, "\t"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + CharSequence _referInstanceOf_38 = generator.getTypeIndexer().referInstanceOf(Modes3UnitPropagationGenerator.this.segmentType, Modality.MUST, "target"); + _builder.append(_referInstanceOf_38, "\t"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + CharSequence _referInstanceOf_39 = generator.getTypeIndexer().referInstanceOf(Modes3UnitPropagationGenerator.this.segmentType, Modality.MUST, "extraInput"); + _builder.append(_referInstanceOf_39, "\t"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + CharSequence _referInstanceOf_40 = generator.getTypeIndexer().referInstanceOf(Modes3UnitPropagationGenerator.this.segmentType, Modality.MUST, "potentialExtraInput"); + _builder.append(_referInstanceOf_40, "\t"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + CharSequence _referPattern_7 = generator.getRelationDefinitionIndexer().referPattern(fqnToPQuery.get(ExtraInputOfTurnout.instance().getFullyQualifiedName()), new String[] { "source", "extraInput" }, Modality.MUST, true, false); + _builder.append(_referPattern_7, "\t"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + CharSequence _referRelation_16 = generator.referRelation(Modes3UnitPropagationGenerator.this.connectedToRelation, "source", "potentialExtraInput", Modality.MUST, fqnToPQuery); + _builder.append(_referRelation_16, "\t"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + _builder.append("neg "); + CharSequence _referRelation_17 = generator.referRelation(Modes3UnitPropagationGenerator.this.straightRelation, "source", "potentialExtraInput", Modality.MAY, fqnToPQuery); + _builder.append(_referRelation_17, "\t"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + _builder.append("extraInput != potentialExtraInput;"); + _builder.newLine(); + _builder.append("\t"); + _builder.append("extraInput != target;"); + _builder.newLine(); + _builder.append("\t"); + _builder.append("potentialExtraInput != target;"); + _builder.newLine(); + _builder.append("}"); + _builder.newLine(); + } + }; + _xblockexpression = _client_2; + } + return _xblockexpression; + } +} diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/ModelGenerationMethodProvider.xtend b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/ModelGenerationMethodProvider.xtend index 56beacfa..431ae386 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/ModelGenerationMethodProvider.xtend +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/ModelGenerationMethodProvider.xtend @@ -17,6 +17,7 @@ import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.cardinality.Z3Polyhe import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.patterns.GeneratedPatterns import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.patterns.ModalPatternQueries import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.patterns.PatternProvider +import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.patterns.UnitPropagationPatternGenerator import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.rules.GoalConstraintProvider import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.rules.RefinementRuleProvider import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.PartialInterpretation @@ -116,6 +117,7 @@ class ModelGenerationMethodProvider { boolean calculateObjectCreationCosts, ScopePropagatorStrategy scopePropagatorStrategy, Collection hints, + Collection unitPropagationPatternGenerators, DocumentationLevel debugLevel ) { val statistics = new ModelGenerationStatistics @@ -126,7 +128,8 @@ class ModelGenerationMethodProvider { val relationConstraints = relationConstraintCalculator.calculateRelationConstraints(logicProblem) val queries = patternProvider.generateQueries(logicProblem, emptySolution, statistics, existingQueries, - workspace, typeInferenceMethod, scopePropagatorStrategy, relationConstraints, hints, writeFiles) + workspace, typeInferenceMethod, scopePropagatorStrategy, relationConstraints, hints, + unitPropagationPatternGenerators, writeFiles) val scopePropagator = createScopePropagator(scopePropagatorStrategy, emptySolution, hints, queries, statistics) scopePropagator.propagateAllScopeConstraints diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/patterns/PatternGenerator.xtend b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/patterns/PatternGenerator.xtend index 80bc3844..a3efcf76 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/patterns/PatternGenerator.xtend +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/patterns/PatternGenerator.xtend @@ -25,12 +25,13 @@ import java.util.HashMap import java.util.Map import org.eclipse.emf.ecore.EAttribute import org.eclipse.emf.ecore.EReference +import org.eclipse.viatra.query.runtime.matchers.psystem.PConstraint import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PQuery import org.eclipse.xtend.lib.annotations.Accessors +import org.eclipse.xtend.lib.annotations.Data +import org.eclipse.xtend2.lib.StringConcatenationClient import static extension hu.bme.mit.inf.dslreasoner.util.CollectionsUtil.* -import org.eclipse.xtend.lib.annotations.Data -import org.eclipse.viatra.query.runtime.matchers.psystem.PConstraint @Data class PatternGeneratorResult { CharSequence patternText @@ -38,6 +39,14 @@ import org.eclipse.viatra.query.runtime.matchers.psystem.PConstraint HashMap constraint2CurrentPreconditionName } +interface UnitPropagationPatternGenerator { + def Map getMustPatterns() + + def Map getMustNotPatterns() + + def StringConcatenationClient getAdditionalPatterns(PatternGenerator generator, Map fqn2PQuery) +} + class PatternGenerator { @Accessors(PUBLIC_GETTER) val TypeIndexer typeIndexer // = new TypeIndexer(this) @Accessors(PUBLIC_GETTER) val RelationDeclarationIndexer relationDeclarationIndexer = new RelationDeclarationIndexer( @@ -157,7 +166,8 @@ class PatternGenerator { Map fqn2PQuery, TypeAnalysisResult typeAnalysisResult, RelationConstraints constraints, - Collection hints + Collection hints, + Collection unitPropagationPatternGenerators ) { val first = ''' @@ -313,7 +323,7 @@ class PatternGenerator { ////////// // 1.2 Relation Declaration Indexers ////////// - «relationDeclarationIndexer.generateRelationIndexers(problem,problem.relations.filter(RelationDeclaration),fqn2PQuery)» + «relationDeclarationIndexer.generateRelationIndexers(problem,problem.relations.filter(RelationDeclaration),unitPropagationPatternGenerators,fqn2PQuery)» ////////// // 1.3 Relation Definition Indexers @@ -367,6 +377,9 @@ class PatternGenerator { «FOR hint : hints» «hint.getAdditionalPatterns(this)» «ENDFOR» + «FOR generator : unitPropagationPatternGenerators» + «generator.getAdditionalPatterns(this, fqn2PQuery)» + «ENDFOR» ////////// // 6 Unit Propagations diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/patterns/PatternProvider.xtend b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/patterns/PatternProvider.xtend index d57705ce..21fd1989 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/patterns/PatternProvider.xtend +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/patterns/PatternProvider.xtend @@ -36,9 +36,9 @@ import static extension hu.bme.mit.inf.dslreasoner.util.CollectionsUtil.* public Map>> unfinishedWFQueries public Map multiplicityConstraintQueries public IQuerySpecification> hasElementInContainmentQuery - public Map>> refineObjectQueries + public Map>> refineObjectQueries public Map>> refineTypeQueries - public Map, IQuerySpecification>> refinerelationQueries + public Map, IQuerySpecification>> refinerelationQueries public Map>> mustUnitPropagationPreconditionPatterns public Map>> currentUnitPropagationPreconditionPatterns public Map modalRelationQueries @@ -56,7 +56,7 @@ class ModalPatternQueries { class UnifinishedMultiplicityQueries { val IQuerySpecification> existingMultiplicityQuery val IQuerySpecification> existingInverseMultiplicityQuery - + def Set>> getAllQueries() { val builder = ImmutableSet.builder if (existingMultiplicityQuery !== null) { @@ -75,8 +75,9 @@ class PatternProvider { def generateQueries(LogicProblem problem, PartialInterpretation emptySolution, ModelGenerationStatistics statistics, Set existingQueries, ReasonerWorkspace workspace, TypeInferenceMethod typeInferenceMethod, - ScopePropagatorStrategy scopePropagatorStrategy, RelationConstraints relationConstraints, - Collection hints, boolean writeToFile) { + ScopePropagatorStrategy scopePropagatorStrategy, RelationConstraints relationConstraints, + Collection hints, + Collection unitPropagationPatternGenerators, boolean writeToFile) { val fqn2Query = existingQueries.toMap[it.fullyQualifiedName] val PatternGenerator patternGenerator = new PatternGenerator(typeInferenceMethod, scopePropagatorStrategy) val typeAnalysisResult = if (patternGenerator.requiresTypeAnalysis) { @@ -89,15 +90,15 @@ class PatternProvider { null } val patternGeneratorResult = patternGenerator.transformBaseProperties(problem, emptySolution, fqn2Query, - typeAnalysisResult, relationConstraints, hints) + typeAnalysisResult, relationConstraints, hints, unitPropagationPatternGenerators) if (writeToFile) { workspace.writeText('''generated3valued.vql_deactivated''', patternGeneratorResult.patternText) } val ParseUtil parseUtil = new ParseUtil val generatedQueries = parseUtil.parse(patternGeneratorResult.patternText) val runtimeQueries = calclulateRuntimeQueries(patternGenerator, problem, emptySolution, typeAnalysisResult, - patternGeneratorResult.constraint2MustPreconditionName, patternGeneratorResult.constraint2CurrentPreconditionName, - relationConstraints, generatedQueries) + patternGeneratorResult.constraint2MustPreconditionName, + patternGeneratorResult.constraint2CurrentPreconditionName, relationConstraints, generatedQueries) return runtimeQueries } @@ -111,12 +112,13 @@ class PatternProvider { RelationConstraints relationConstraints, Map>> queries ) { - val Map>> - invalidWFQueries = patternGenerator.invalidIndexer.getInvalidateByWfQueryNames(problem).mapValues[it.lookup(queries)] - val Map>> - unfinishedWFQueries = patternGenerator.unfinishedIndexer.getUnfinishedWFQueryNames(problem).mapValues[it.lookup(queries)] - - val unfinishedMultiplicities = patternGenerator.unfinishedIndexer.getUnfinishedMultiplicityQueries(relationConstraints.multiplicityConstraints) + val Map>> invalidWFQueries = patternGenerator. + invalidIndexer.getInvalidateByWfQueryNames(problem).mapValues[it.lookup(queries)] + val Map>> unfinishedWFQueries = patternGenerator. + unfinishedIndexer.getUnfinishedWFQueryNames(problem).mapValues[it.lookup(queries)] + + val unfinishedMultiplicities = patternGenerator.unfinishedIndexer.getUnfinishedMultiplicityQueries( + relationConstraints.multiplicityConstraints) val multiplicityConstraintQueries = unfinishedMultiplicities.mapValues [ new UnifinishedMultiplicityQueries(existingMultiplicityQueryName?.lookup(queries), existingInverseMultiplicityQueryName?.lookup(queries)) @@ -124,16 +126,20 @@ class PatternProvider { val hasElementInContainmentQuery = patternGenerator.typeRefinementGenerator.hasElementInContainmentName.lookup( queries) - val Map>> - refineObjectsQueries = patternGenerator.typeRefinementGenerator.getRefineObjectQueryNames(problem,emptySolution,typeAnalysisResult).mapValues[it.lookup(queries)] - val Map>> - refineTypeQueries = patternGenerator.typeRefinementGenerator.getRefineTypeQueryNames(problem,emptySolution,typeAnalysisResult).mapValues[it.lookup(queries)] - val Map, IQuerySpecification>> - refineRelationQueries = patternGenerator.relationRefinementGenerator.getRefineRelationQueries(problem).mapValues[it.lookup(queries)] - val Map>> - mustUnitPropagationPreconditionPatterns = mustUnitPropagationTrace.mapValues[it.lookup(queries)] - val Map>> - currentUnitPropagationPreconditionPatterns = currentUnitPropagationTrace.mapValues[it.lookup(queries)] + val Map>> refineObjectsQueries = patternGenerator. + typeRefinementGenerator.getRefineObjectQueryNames(problem, emptySolution, typeAnalysisResult).mapValues [ + it.lookup(queries) + ] + val Map>> refineTypeQueries = patternGenerator. + typeRefinementGenerator.getRefineTypeQueryNames(problem, emptySolution, typeAnalysisResult).mapValues [ + it.lookup(queries) + ] + val Map, IQuerySpecification>> refineRelationQueries = patternGenerator. + relationRefinementGenerator.getRefineRelationQueries(problem).mapValues[it.lookup(queries)] + val Map>> mustUnitPropagationPreconditionPatterns = mustUnitPropagationTrace. + mapValues[it.lookup(queries)] + val Map>> currentUnitPropagationPreconditionPatterns = currentUnitPropagationTrace. + mapValues[it.lookup(queries)] val modalRelationQueries = problem.relations.filter(RelationDefinition).toMap([it], [ relationDefinition | val indexer = patternGenerator.relationDefinitionIndexer @@ -143,7 +149,7 @@ class PatternProvider { indexer.relationDefinitionName(relationDefinition, Modality.CURRENT).lookup(queries) ) ]) - + return new GeneratedPatterns( invalidWFQueries, unfinishedWFQueries, diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/patterns/RelationDeclarationIndexer.xtend b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/patterns/RelationDeclarationIndexer.xtend index b4403979..29d3eb61 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/patterns/RelationDeclarationIndexer.xtend +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/patterns/RelationDeclarationIndexer.xtend @@ -1,10 +1,13 @@ package hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.patterns +import com.google.common.collect.ImmutableMap +import com.google.common.collect.ImmutableSet import hu.bme.mit.inf.dslreasoner.ecore2logic.ecore2logicannotations.UpperMultiplicityAssertion import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Relation import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.RelationDeclaration import hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicProblem import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.Modality +import java.util.Collection import java.util.HashMap import java.util.List import java.util.Map @@ -14,41 +17,40 @@ import static extension hu.bme.mit.inf.dslreasoner.util.CollectionsUtil.* class RelationDeclarationIndexer { val PatternGenerator base; - + new(PatternGenerator base) { this.base = base } - - def generateRelationIndexers(LogicProblem problem, Iterable relations, Map fqn2PQuery) { + + def generateRelationIndexers(LogicProblem problem, Iterable relations, + Iterable unitPropagationPatternGenerators, Map fqn2PQuery) { val upperMultiplicities = new HashMap - problem.annotations.filter(UpperMultiplicityAssertion).forEach[ - upperMultiplicities.put(it.relation,it.upper) + problem.annotations.filter(UpperMultiplicityAssertion).forEach [ + upperMultiplicities.put(it.relation, it.upper) ] - + val mustNotRelations = ImmutableMap.copyOf(unitPropagationPatternGenerators.flatMap[mustNotPatterns.entrySet]. + groupBy[key].mapValues[ImmutableSet.copyOf(map[value])]) + return ''' - «FOR relation : relations» - «IF base.isDerived(relation)» - «generateDerivedMustRelation(problem,relation,base.getDerivedDefinition(relation).patternFullyQualifiedName.lookup(fqn2PQuery))» - «generateDerivedMayRelation(problem,relation,base.getDerivedDefinition(relation).patternFullyQualifiedName.lookup(fqn2PQuery))» - «ELSE» - «generateMustRelation(problem,relation)» - «generateMayRelation(problem,relation,upperMultiplicities,base.getContainments(problem),base.getInverseRelations(problem),fqn2PQuery)» - «ENDIF» - «ENDFOR» + «FOR relation : relations» + «IF base.isDerived(relation)» + «generateDerivedMustRelation(problem,relation,base.getDerivedDefinition(relation).patternFullyQualifiedName.lookup(fqn2PQuery))» + «generateDerivedMayRelation(problem,relation,base.getDerivedDefinition(relation).patternFullyQualifiedName.lookup(fqn2PQuery))» + «ELSE» + «generateMustRelation(problem, relation)» + «generateMayRelation(problem, relation, upperMultiplicities, base.getContainments(problem), base.getInverseRelations(problem), mustNotRelations.get(relation) ?: emptySet, fqn2PQuery)» + «ENDIF» + «ENDFOR» ''' } - + def private patternName(RelationDeclaration r, Modality modality) { '''«modality.name.toLowerCase»InRelation«base.canonizeName(r.name)»''' } - - def referRelation( - RelationDeclaration referred, - String sourceVariable, - String targetVariable, - Modality modality) - '''find «referred.patternName(modality)»(problem,interpretation,«sourceVariable»,«targetVariable»);''' - + + def referRelation(RelationDeclaration referred, String sourceVariable, String targetVariable, + Modality modality) '''find «referred.patternName(modality)»(problem,interpretation,«sourceVariable»,«targetVariable»);''' + def generateMustRelation(LogicProblem problem, RelationDeclaration relation) ''' /** * Matcher for detecting tuples t where []«relation.name»(source,target) @@ -65,59 +67,64 @@ class RelationDeclarationIndexer { BinaryElementRelationLink.param2(link,target); } ''' + def generateMayRelation(LogicProblem problem, RelationDeclaration relation, - Map upperMultiplicities, - List containments, - HashMap inverseRelations, - Map fqn2PQuery) - { + Map upperMultiplicities, List containments, + HashMap inverseRelations, Collection mustNotRelations, + Map fqn2PQuery) { return ''' - /** - * Matcher for detecting tuples t where <>«relation.name»(source,target) - */ - private pattern «relation.patternName(Modality.MAY)»( - problem:LogicProblem, interpretation:PartialInterpretation, - source: DefinedElement, target:DefinedElement) - { - find interpretation(problem,interpretation); - // The two endpoint of the link have to exist - find mayExist(problem, interpretation, source); - find mayExist(problem, interpretation, target); - // Type consistency - «base.typeIndexer.referInstanceOfByReference(relation.parameters.get(0),Modality.MAY,"source")» - «base.typeIndexer.referInstanceOfByReference(relation.parameters.get(1),Modality.MAY,"target")» - «IF upperMultiplicities.containsKey(relation)» - // There are "numberOfExistingReferences" currently existing instances of the reference from the source, - // the upper bound of the multiplicity should be considered. - numberOfExistingReferences == count «referRelation(relation,"source","_",Modality.MUST)» - numberOfExistingReferences != «upperMultiplicities.get(relation)»; - «ENDIF» - «IF inverseRelations.containsKey(relation) && upperMultiplicities.containsKey(inverseRelations.get(relation))» - // There are "numberOfExistingReferences" currently existing instances of the reference to the target, - // the upper bound of the opposite reference multiplicity should be considered. - numberOfExistingOppositeReferences == count «base.referRelation(inverseRelations.get(relation),"target","_",Modality.MUST,fqn2PQuery)» - numberOfExistingOppositeReferences != «upperMultiplicities.get(inverseRelations.get(relation))»; - «ENDIF» - «IF containments.contains(relation)» - // The reference is containment, then a new reference cannot be create if: - // 1. Multiple parents - neg «base.containmentIndexer.referMustContaint("_","target")» - // 2. Circle in the containment hierarchy - neg «base.containmentIndexer.referTransitiveMustContains("target","source")» - «ENDIF» - «IF inverseRelations.containsKey(relation) && containments.contains(inverseRelations.get(relation))» - // The eOpposite of the reference is containment, then a referene cannot be created if - // 1. Multiple parents - neg «base.containmentIndexer.referMustContaint("source","_")» - // 2. Circle in the containment hierarchy - neg «base.containmentIndexer.referTransitiveMustContains("source","target")» - «ENDIF» - } or { - «relation.referRelation("source","target",Modality.MUST)» - } - ''' + /** + * Matcher for detecting tuples t where <>«relation.name»(source,target) + */ + private pattern «relation.patternName(Modality.MAY)»( + problem:LogicProblem, interpretation:PartialInterpretation, + source: DefinedElement, target:DefinedElement) + { + find interpretation(problem,interpretation); + // The two endpoint of the link have to exist + find mayExist(problem, interpretation, source); + find mayExist(problem, interpretation, target); + // Type consistency + «base.typeIndexer.referInstanceOfByReference(relation.parameters.get(0),Modality.MAY,"source")» + «base.typeIndexer.referInstanceOfByReference(relation.parameters.get(1),Modality.MAY,"target")» + «IF upperMultiplicities.containsKey(relation)» + // There are "numberOfExistingReferences" currently existing instances of the reference from the source, + // the upper bound of the multiplicity should be considered. + numberOfExistingReferences == count «referRelation(relation,"source","_",Modality.MUST)» + numberOfExistingReferences != «upperMultiplicities.get(relation)»; + «ENDIF» + «IF inverseRelations.containsKey(relation) && upperMultiplicities.containsKey(inverseRelations.get(relation))» + // There are "numberOfExistingReferences" currently existing instances of the reference to the target, + // the upper bound of the opposite reference multiplicity should be considered. + numberOfExistingOppositeReferences == count «base.referRelation(inverseRelations.get(relation),"target","_",Modality.MUST,fqn2PQuery)» + numberOfExistingOppositeReferences != «upperMultiplicities.get(inverseRelations.get(relation))»; + «ENDIF» + «IF containments.contains(relation)» + // The reference is containment, then a new reference cannot be create if: + // 1. Multiple parents + neg «base.containmentIndexer.referMustContaint("_","target")» + // 2. Circle in the containment hierarchy + neg «base.containmentIndexer.referTransitiveMustContains("target","source")» + «ENDIF» + «IF inverseRelations.containsKey(relation) && containments.contains(inverseRelations.get(relation))» + // The eOpposite of the reference is containment, then a referene cannot be created if + // 1. Multiple parents + neg «base.containmentIndexer.referMustContaint("source","_")» + // 2. Circle in the containment hierarchy + neg «base.containmentIndexer.referTransitiveMustContains("source","target")» + «ENDIF» + «IF mustNotRelations.empty» + // ![] unit propagation relations + «FOR mustNotRelation : mustNotRelations» + neg find «mustNotRelation»(problem, interpretation, source, target); + «ENDFOR» + «ENDIF» + } or { + «relation.referRelation("source","target",Modality.MUST)» + } + ''' } - + def generateDerivedMustRelation(LogicProblem problem, RelationDeclaration relation, PQuery definition) ''' /** * Matcher for detecting tuples t where []«relation.name»(source,target) @@ -129,6 +136,7 @@ class RelationDeclarationIndexer { «base.relationDefinitionIndexer.referPattern(definition,#["source","target"],Modality::MUST,true,false)» } ''' + def generateDerivedMayRelation(LogicProblem problem, RelationDeclaration relation, PQuery definition) ''' /** * Matcher for detecting tuples t where []«relation.name»(source,target) @@ -140,4 +148,4 @@ class RelationDeclarationIndexer { «base.relationDefinitionIndexer.referPattern(definition,#["source","target"],Modality::MAY,true,false)» } ''' -} \ No newline at end of file +} diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/ViatraReasoner.xtend b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/ViatraReasoner.xtend index c333feca..67d25208 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/ViatraReasoner.xtend +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/ViatraReasoner.xtend @@ -91,6 +91,7 @@ class ViatraReasoner extends LogicReasoner { viatraConfig.calculateObjectCreationCosts, viatraConfig.scopePropagatorStrategy, viatraConfig.hints, + viatraConfig.unitPropagationPatternGenerators, viatraConfig.documentationLevel ) diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/ViatraReasonerConfiguration.xtend b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/ViatraReasonerConfiguration.xtend index 0173124c..a2ed6016 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/ViatraReasonerConfiguration.xtend +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/ViatraReasonerConfiguration.xtend @@ -6,9 +6,11 @@ import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.RelationDeclaration import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.TypeDeclaration import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.ModelGenerationMethod import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.TypeInferenceMethod +import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.cardinality.LinearTypeConstraintHint import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.cardinality.PolyhedralScopePropagatorConstraints import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.cardinality.PolyhedralScopePropagatorSolver import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.cardinality.ScopePropagatorStrategy +import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.patterns.UnitPropagationPatternGenerator import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.visualisation.PartialInterpretationVisualiser import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.optimization.ObjectiveKind import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.optimization.ObjectiveThreshold @@ -16,7 +18,6 @@ import java.util.LinkedList import java.util.List import java.util.Set import org.eclipse.xtext.xbase.lib.Functions.Function1 -import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.cardinality.LinearTypeConstraintHint enum StateCoderStrategy { Neighbourhood, @@ -77,6 +78,8 @@ class ViatraReasonerConfiguration extends LogicSolverConfiguration { public var List hints = newArrayList public var List costObjectives = newArrayList + + public var List unitPropagationPatternGenerators = newArrayList } class DiversityDescriptor { -- cgit v1.2.3-70-g09d2 From 4fe7fce97aedbd516109ef81afc33e00112b7b68 Mon Sep 17 00:00:00 2001 From: Kristóf Marussy Date: Fri, 28 Aug 2020 18:58:37 +0200 Subject: Must unit propagation --- .../.ApplicationConfigurationIdeModule.xtendbin | Bin 1700 -> 1700 bytes .../ide/.ApplicationConfigurationIdeSetup.xtendbin | Bin 2525 -> 2525 bytes .../.SolverSemanticHighlightCalculator.xtendbin | Bin 5333 -> 5333 bytes .../.SolverSemanticTextAttributeProvider.xtendbin | Bin 4902 -> 4902 bytes .../validation/.SolverLanguageValidator.xtendbin | Bin 1716 -> 1716 bytes ....SolverLanguageTokenDefInjectingParser.xtendbin | Bin 2741 -> 2741 bytes ...nguageSyntheticTokenSyntacticSequencer.xtendbin | Bin 2757 -> 2757 bytes Domains/ca.mcgill.rtgmrt.example.modes3/.gitignore | 1 + .../META-INF/MANIFEST.MF | 5 +- .../ecore-gen/modes3/Modes3Factory.java | 9 + .../ecore-gen/modes3/Modes3ModelRoot.java | 4 +- .../ecore-gen/modes3/Modes3Package.java | 76 + .../ecore-gen/modes3/SimpleSegment.java | 17 + .../ecore-gen/modes3/impl/Modes3FactoryImpl.java | 11 + .../ecore-gen/modes3/impl/Modes3ModelRootImpl.java | 10 +- .../ecore-gen/modes3/impl/Modes3PackageImpl.java | 24 +- .../ecore-gen/modes3/impl/SimpleSegmentImpl.java | 37 + .../modes3/util/Modes3AdapterFactory.java | 18 + .../ecore-gen/modes3/util/Modes3Switch.java | 22 + .../model/modes3.aird_deactivated | 1531 -------------------- .../model/modes3.ecore | 3 +- .../model/modes3.genmodel | 1 + .../output/solution.partialinterpretation | 1068 -------------- .../output/solution1.gml | 1191 --------------- .../output/solution1.partialinterpretation | 1037 ------------- .../output/solution1.png | Bin 105065 -> 0 bytes Domains/ca.mcgill.rtgmrt.example.modes3/plugin.xml | 8 +- .../src/modes3/queries/Modes3Queries.vql | 54 +- .../src/modes3/run/Modes3ModelGenerator.xtend | 30 +- .../src/modes3/run/Modes3TypeScopeHint.xtend | 79 + .../run/Modes3UnitPropagationGenerator.xtend | 470 ++++-- .../vql-gen/modes3/queries/.gitignore | 7 + .../modes3/queries/ExtraInputOfTurnout.java | 730 ---------- .../vql-gen/modes3/queries/InputsOfTurnout.java | 570 ++++++++ .../vql-gen/modes3/queries/Modes3Queries.java | 72 +- .../modes3/queries/NoExtraInputOfTurnout.java | 560 ------- .../modes3/queries/TooFewInputsOfTurnout.java | 559 +++++++ .../queries/TooManyExtraInputsOfTurnout.java | 570 -------- .../modes3/queries/TooManyInputsOfSegment.java | 64 +- .../modes3/queries/TooManyInputsOfTurnout.java | 600 ++++++++ .../vql-gen/modes3/queries/Turnout.java | 543 ------- .../vql-gen/modes3/queries/TurnoutInSegments.java | 564 ------- .../modes3/run/.Modes3ModelGenerator.xtendbin | Bin 14631 -> 15038 bytes .../modes3/run/.Modes3TypeScopeHint.xtendbin | Bin 0 -> 7179 bytes .../run/.Modes3UnitPropagationGenerator.xtendbin | Bin 9899 -> 11735 bytes .../xtend-gen/modes3/run/.gitignore | 1 + .../xtend-gen/modes3/run/Modes3ModelGenerator.java | 56 +- .../xtend-gen/modes3/run/Modes3TypeScopeHint.java | 133 ++ .../modes3/run/Modes3UnitPropagationGenerator.java | 1133 +++++++++++---- .../plugin.xml | 68 - .../ModelGenerationMethodProvider.xtend | 14 +- .../cardinality/LinearTypeConstraintHint.xtend | 4 +- .../logic2viatra/cardinality/ScopePropagator.xtend | 14 +- .../logic2viatra/patterns/PatternGenerator.xtend | 4 +- .../logic2viatra/patterns/PatternProvider.xtend | 11 +- .../patterns/RelationDeclarationIndexer.xtend | 2 +- .../patterns/RelationRefinementGenerator.xtend | 137 +- .../rules/RefinementRuleProvider.xtend | 338 +++-- .../viatrasolver/reasoner/ViatraReasoner.xtend | 4 + .../dse/BestFirstStrategyForModelGeneration.java | 4 +- .../mit/inf/dslreasoner/run/FileSystemHint.xtend | 4 +- .../bme/mit/inf/dslreasoner/run/SGraphHint.xtend | 4 +- .../mit/inf/dslreasoner/run/SatelliteHint.xtend | 4 +- .../hu/bme/mit/inf/dslreasoner/run/SimpleRun.xtend | 6 +- 64 files changed, 3907 insertions(+), 8579 deletions(-) create mode 100644 Domains/ca.mcgill.rtgmrt.example.modes3/ecore-gen/modes3/SimpleSegment.java create mode 100644 Domains/ca.mcgill.rtgmrt.example.modes3/ecore-gen/modes3/impl/SimpleSegmentImpl.java delete mode 100644 Domains/ca.mcgill.rtgmrt.example.modes3/model/modes3.aird_deactivated delete mode 100644 Domains/ca.mcgill.rtgmrt.example.modes3/output/solution.partialinterpretation delete mode 100644 Domains/ca.mcgill.rtgmrt.example.modes3/output/solution1.gml delete mode 100644 Domains/ca.mcgill.rtgmrt.example.modes3/output/solution1.partialinterpretation delete mode 100644 Domains/ca.mcgill.rtgmrt.example.modes3/output/solution1.png create mode 100644 Domains/ca.mcgill.rtgmrt.example.modes3/src/modes3/run/Modes3TypeScopeHint.xtend delete mode 100644 Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/ExtraInputOfTurnout.java create mode 100644 Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/InputsOfTurnout.java delete mode 100644 Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/NoExtraInputOfTurnout.java create mode 100644 Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/TooFewInputsOfTurnout.java delete mode 100644 Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/TooManyExtraInputsOfTurnout.java create mode 100644 Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/TooManyInputsOfTurnout.java delete mode 100644 Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/Turnout.java delete mode 100644 Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/TurnoutInSegments.java create mode 100644 Domains/ca.mcgill.rtgmrt.example.modes3/xtend-gen/modes3/run/.Modes3TypeScopeHint.xtendbin create mode 100644 Domains/ca.mcgill.rtgmrt.example.modes3/xtend-gen/modes3/run/Modes3TypeScopeHint.java (limited to 'Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner') diff --git a/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeModule.xtendbin b/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeModule.xtendbin index 1e457bb2..e697e27d 100644 Binary files a/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeModule.xtendbin and b/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeModule.xtendbin differ diff --git a/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeSetup.xtendbin b/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeSetup.xtendbin index 6ad24fc0..ddbe1979 100644 Binary files a/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeSetup.xtendbin and b/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeSetup.xtendbin differ diff --git a/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/ui/syntaxcoloring/.SolverSemanticHighlightCalculator.xtendbin b/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/ui/syntaxcoloring/.SolverSemanticHighlightCalculator.xtendbin index 18c9aee3..e1e21292 100644 Binary files a/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/ui/syntaxcoloring/.SolverSemanticHighlightCalculator.xtendbin and b/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/ui/syntaxcoloring/.SolverSemanticHighlightCalculator.xtendbin differ diff --git a/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/ui/syntaxcoloring/.SolverSemanticTextAttributeProvider.xtendbin b/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/ui/syntaxcoloring/.SolverSemanticTextAttributeProvider.xtendbin index 0ebd4493..b967ea7c 100644 Binary files a/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/ui/syntaxcoloring/.SolverSemanticTextAttributeProvider.xtendbin and b/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/ui/syntaxcoloring/.SolverSemanticTextAttributeProvider.xtendbin differ diff --git a/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/validation/.SolverLanguageValidator.xtendbin b/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/validation/.SolverLanguageValidator.xtendbin index bb484ba1..2c271c98 100644 Binary files a/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/validation/.SolverLanguageValidator.xtendbin and b/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/validation/.SolverLanguageValidator.xtendbin differ diff --git a/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/parser/antlr/.SolverLanguageTokenDefInjectingParser.xtendbin b/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/parser/antlr/.SolverLanguageTokenDefInjectingParser.xtendbin index 61448536..40f87b4c 100644 Binary files a/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/parser/antlr/.SolverLanguageTokenDefInjectingParser.xtendbin and b/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/parser/antlr/.SolverLanguageTokenDefInjectingParser.xtendbin differ diff --git a/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/serializer/.SolverLanguageSyntheticTokenSyntacticSequencer.xtendbin b/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/serializer/.SolverLanguageSyntheticTokenSyntacticSequencer.xtendbin index 9af9309d..d0715440 100644 Binary files a/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/serializer/.SolverLanguageSyntheticTokenSyntacticSequencer.xtendbin and b/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/serializer/.SolverLanguageSyntheticTokenSyntacticSequencer.xtendbin differ diff --git a/Domains/ca.mcgill.rtgmrt.example.modes3/.gitignore b/Domains/ca.mcgill.rtgmrt.example.modes3/.gitignore index ae3c1726..6cef8ea6 100644 --- a/Domains/ca.mcgill.rtgmrt.example.modes3/.gitignore +++ b/Domains/ca.mcgill.rtgmrt.example.modes3/.gitignore @@ -1 +1,2 @@ /bin/ +output/ diff --git a/Domains/ca.mcgill.rtgmrt.example.modes3/META-INF/MANIFEST.MF b/Domains/ca.mcgill.rtgmrt.example.modes3/META-INF/MANIFEST.MF index 53e4a39c..96bd2113 100644 --- a/Domains/ca.mcgill.rtgmrt.example.modes3/META-INF/MANIFEST.MF +++ b/Domains/ca.mcgill.rtgmrt.example.modes3/META-INF/MANIFEST.MF @@ -3,6 +3,7 @@ Bundle-ManifestVersion: 2 Bundle-Name: %pluginName Bundle-SymbolicName: ca.mcgill.rtgmrt.example.modes3;singleton:=true Bundle-Version: 0.1.0.qualifier +Bundle-ClassPath: . Bundle-Vendor: %providerName Bundle-Localization: plugin Export-Package: modes3, @@ -28,7 +29,7 @@ Require-Bundle: org.eclipse.viatra.query.runtime, org.eclipse.emf.ecore.xmi;bundle-version="2.16.0", hu.bme.mit.inf.dslreasoner.visualisation;bundle-version="1.0.0", org.eclipse.viatra.query.patternlanguage.emf;bundle-version="2.4.0" -Bundle-RequiredExecutionEnvironment: J2SE-1.5 -Bundle-ActivationPolicy: lazy Import-Package: org.apache.log4j Automatic-Module-Name: ca.mcgill.rtgmrt.example.modes3 +Bundle-ActivationPolicy: lazy +Bundle-RequiredExecutionEnvironment: J2SE-1.5 diff --git a/Domains/ca.mcgill.rtgmrt.example.modes3/ecore-gen/modes3/Modes3Factory.java b/Domains/ca.mcgill.rtgmrt.example.modes3/ecore-gen/modes3/Modes3Factory.java index 73188db1..10ce47a1 100644 --- a/Domains/ca.mcgill.rtgmrt.example.modes3/ecore-gen/modes3/Modes3Factory.java +++ b/Domains/ca.mcgill.rtgmrt.example.modes3/ecore-gen/modes3/Modes3Factory.java @@ -57,6 +57,15 @@ public interface Modes3Factory extends EFactory { */ Train createTrain(); + /** + * Returns a new object of class 'Simple Segment'. + * + * + * @return a new object of class 'Simple Segment'. + * @generated + */ + SimpleSegment createSimpleSegment(); + /** * Returns the package supported by this factory. * diff --git a/Domains/ca.mcgill.rtgmrt.example.modes3/ecore-gen/modes3/Modes3ModelRoot.java b/Domains/ca.mcgill.rtgmrt.example.modes3/ecore-gen/modes3/Modes3ModelRoot.java index 4f925b7a..d46ee305 100644 --- a/Domains/ca.mcgill.rtgmrt.example.modes3/ecore-gen/modes3/Modes3ModelRoot.java +++ b/Domains/ca.mcgill.rtgmrt.example.modes3/ecore-gen/modes3/Modes3ModelRoot.java @@ -62,7 +62,7 @@ public interface Modes3ModelRoot extends EObject { /** * Returns the value of the 'Segments' containment reference list. - * The list contents are of type {@link modes3.Segment}. + * The list contents are of type {@link modes3.SimpleSegment}. * * * @return the value of the 'Segments' containment reference list. @@ -70,7 +70,7 @@ public interface Modes3ModelRoot extends EObject { * @model containment="true" * @generated */ - EList getSegments(); + EList getSegments(); /** * Returns the value of the 'Turnouts' containment reference list. diff --git a/Domains/ca.mcgill.rtgmrt.example.modes3/ecore-gen/modes3/Modes3Package.java b/Domains/ca.mcgill.rtgmrt.example.modes3/ecore-gen/modes3/Modes3Package.java index 4760af9d..a19c1955 100644 --- a/Domains/ca.mcgill.rtgmrt.example.modes3/ecore-gen/modes3/Modes3Package.java +++ b/Domains/ca.mcgill.rtgmrt.example.modes3/ecore-gen/modes3/Modes3Package.java @@ -304,6 +304,62 @@ public interface Modes3Package extends EPackage { int TRAIN_OPERATION_COUNT = 0; + /** + * The meta object id for the '{@link modes3.impl.SimpleSegmentImpl Simple Segment}' class. + * + * + * @see modes3.impl.SimpleSegmentImpl + * @see modes3.impl.Modes3PackageImpl#getSimpleSegment() + * @generated + */ + int SIMPLE_SEGMENT = 4; + + /** + * The feature id for the 'Connected To' reference list. + * + * + * @generated + * @ordered + */ + int SIMPLE_SEGMENT__CONNECTED_TO = SEGMENT__CONNECTED_TO; + + /** + * The feature id for the 'Occupied By' reference. + * + * + * @generated + * @ordered + */ + int SIMPLE_SEGMENT__OCCUPIED_BY = SEGMENT__OCCUPIED_BY; + + /** + * The feature id for the 'Id' attribute. + * + * + * @generated + * @ordered + */ + int SIMPLE_SEGMENT__ID = SEGMENT__ID; + + /** + * The number of structural features of the 'Simple Segment' class. + * + * + * @generated + * @ordered + */ + int SIMPLE_SEGMENT_FEATURE_COUNT = SEGMENT_FEATURE_COUNT + 0; + + /** + * The number of operations of the 'Simple Segment' class. + * + * + * @generated + * @ordered + */ + int SIMPLE_SEGMENT_OPERATION_COUNT = SEGMENT_OPERATION_COUNT + 0; + + /** * Returns the meta object for class '{@link modes3.Segment Segment}'. * @@ -476,6 +532,16 @@ public interface Modes3Package extends EPackage { */ EAttribute getTrain_Speed(); + /** + * Returns the meta object for class '{@link modes3.SimpleSegment Simple Segment}'. + * + * + * @return the meta object for class 'Simple Segment'. + * @see modes3.SimpleSegment + * @generated + */ + EClass getSimpleSegment(); + /** * Returns the factory that creates the instances of the model. * @@ -635,6 +701,16 @@ public interface Modes3Package extends EPackage { */ EAttribute TRAIN__SPEED = eINSTANCE.getTrain_Speed(); + /** + * The meta object literal for the '{@link modes3.impl.SimpleSegmentImpl Simple Segment}' class. + * + * + * @see modes3.impl.SimpleSegmentImpl + * @see modes3.impl.Modes3PackageImpl#getSimpleSegment() + * @generated + */ + EClass SIMPLE_SEGMENT = eINSTANCE.getSimpleSegment(); + } } //Modes3Package diff --git a/Domains/ca.mcgill.rtgmrt.example.modes3/ecore-gen/modes3/SimpleSegment.java b/Domains/ca.mcgill.rtgmrt.example.modes3/ecore-gen/modes3/SimpleSegment.java new file mode 100644 index 00000000..da77510f --- /dev/null +++ b/Domains/ca.mcgill.rtgmrt.example.modes3/ecore-gen/modes3/SimpleSegment.java @@ -0,0 +1,17 @@ +/** + */ +package modes3; + + +/** + * + * A representation of the model object 'Simple Segment'. + * + * + * + * @see modes3.Modes3Package#getSimpleSegment() + * @model + * @generated + */ +public interface SimpleSegment extends Segment { +} // SimpleSegment diff --git a/Domains/ca.mcgill.rtgmrt.example.modes3/ecore-gen/modes3/impl/Modes3FactoryImpl.java b/Domains/ca.mcgill.rtgmrt.example.modes3/ecore-gen/modes3/impl/Modes3FactoryImpl.java index 6ec86cb6..60947533 100644 --- a/Domains/ca.mcgill.rtgmrt.example.modes3/ecore-gen/modes3/impl/Modes3FactoryImpl.java +++ b/Domains/ca.mcgill.rtgmrt.example.modes3/ecore-gen/modes3/impl/Modes3FactoryImpl.java @@ -60,6 +60,7 @@ public class Modes3FactoryImpl extends EFactoryImpl implements Modes3Factory { case Modes3Package.MODES3_MODEL_ROOT: return createModes3ModelRoot(); case Modes3Package.TURNOUT: return createTurnout(); case Modes3Package.TRAIN: return createTrain(); + case Modes3Package.SIMPLE_SEGMENT: return createSimpleSegment(); default: throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); } @@ -105,6 +106,16 @@ public class Modes3FactoryImpl extends EFactoryImpl implements Modes3Factory { return train; } + /** + * + * + * @generated + */ + public SimpleSegment createSimpleSegment() { + SimpleSegmentImpl simpleSegment = new SimpleSegmentImpl(); + return simpleSegment; + } + /** * * diff --git a/Domains/ca.mcgill.rtgmrt.example.modes3/ecore-gen/modes3/impl/Modes3ModelRootImpl.java b/Domains/ca.mcgill.rtgmrt.example.modes3/ecore-gen/modes3/impl/Modes3ModelRootImpl.java index d1ee25ff..ccab1f29 100644 --- a/Domains/ca.mcgill.rtgmrt.example.modes3/ecore-gen/modes3/impl/Modes3ModelRootImpl.java +++ b/Domains/ca.mcgill.rtgmrt.example.modes3/ecore-gen/modes3/impl/Modes3ModelRootImpl.java @@ -6,7 +6,7 @@ import java.util.Collection; import modes3.Modes3ModelRoot; import modes3.Modes3Package; -import modes3.Segment; +import modes3.SimpleSegment; import modes3.Train; import modes3.Turnout; @@ -79,7 +79,7 @@ public class Modes3ModelRootImpl extends MinimalEObjectImpl.Container implements * @generated * @ordered */ - protected EList segments; + protected EList segments; /** * The cached value of the '{@link #getTurnouts() Turnouts}' containment reference list. @@ -148,9 +148,9 @@ public class Modes3ModelRootImpl extends MinimalEObjectImpl.Container implements * * @generated */ - public EList getSegments() { + public EList getSegments() { if (segments == null) { - segments = new EObjectContainmentEList(Segment.class, this, Modes3Package.MODES3_MODEL_ROOT__SEGMENTS); + segments = new EObjectContainmentEList(SimpleSegment.class, this, Modes3Package.MODES3_MODEL_ROOT__SEGMENTS); } return segments; } @@ -223,7 +223,7 @@ public class Modes3ModelRootImpl extends MinimalEObjectImpl.Container implements return; case Modes3Package.MODES3_MODEL_ROOT__SEGMENTS: getSegments().clear(); - getSegments().addAll((Collection)newValue); + getSegments().addAll((Collection)newValue); return; case Modes3Package.MODES3_MODEL_ROOT__TURNOUTS: getTurnouts().clear(); diff --git a/Domains/ca.mcgill.rtgmrt.example.modes3/ecore-gen/modes3/impl/Modes3PackageImpl.java b/Domains/ca.mcgill.rtgmrt.example.modes3/ecore-gen/modes3/impl/Modes3PackageImpl.java index 2b9e828c..557da4c1 100644 --- a/Domains/ca.mcgill.rtgmrt.example.modes3/ecore-gen/modes3/impl/Modes3PackageImpl.java +++ b/Domains/ca.mcgill.rtgmrt.example.modes3/ecore-gen/modes3/impl/Modes3PackageImpl.java @@ -6,6 +6,7 @@ import modes3.Modes3Factory; import modes3.Modes3ModelRoot; import modes3.Modes3Package; import modes3.Segment; +import modes3.SimpleSegment; import modes3.Train; import modes3.Turnout; @@ -51,6 +52,13 @@ public class Modes3PackageImpl extends EPackageImpl implements Modes3Package { */ private EClass trainEClass = null; + /** + * + * + * @generated + */ + private EClass simpleSegmentEClass = null; + /** * Creates an instance of the model Package, registered with * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package @@ -256,6 +264,15 @@ public class Modes3PackageImpl extends EPackageImpl implements Modes3Package { return (EAttribute)trainEClass.getEStructuralFeatures().get(2); } + /** + * + * + * @generated + */ + public EClass getSimpleSegment() { + return simpleSegmentEClass; + } + /** * * @@ -303,6 +320,8 @@ public class Modes3PackageImpl extends EPackageImpl implements Modes3Package { createEReference(trainEClass, TRAIN__LOCATION); createEAttribute(trainEClass, TRAIN__ID); createEAttribute(trainEClass, TRAIN__SPEED); + + simpleSegmentEClass = createEClass(SIMPLE_SEGMENT); } /** @@ -334,6 +353,7 @@ public class Modes3PackageImpl extends EPackageImpl implements Modes3Package { // Add supertypes to classes turnoutEClass.getESuperTypes().add(this.getSegment()); + simpleSegmentEClass.getESuperTypes().add(this.getSegment()); // Initialize classes, features, and operations; add parameters initEClass(segmentEClass, Segment.class, "Segment", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); @@ -344,7 +364,7 @@ public class Modes3PackageImpl extends EPackageImpl implements Modes3Package { initEClass(modes3ModelRootEClass, Modes3ModelRoot.class, "Modes3ModelRoot", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEAttribute(getModes3ModelRoot_Id(), ecorePackage.getEInt(), "id", null, 0, 1, Modes3ModelRoot.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getModes3ModelRoot_Trains(), this.getTrain(), null, "trains", null, 0, -1, Modes3ModelRoot.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getModes3ModelRoot_Segments(), this.getSegment(), null, "segments", null, 0, -1, Modes3ModelRoot.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getModes3ModelRoot_Segments(), this.getSimpleSegment(), null, "segments", null, 0, -1, Modes3ModelRoot.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getModes3ModelRoot_Turnouts(), this.getTurnout(), null, "turnouts", null, 0, -1, Modes3ModelRoot.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(turnoutEClass, Turnout.class, "Turnout", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); @@ -356,6 +376,8 @@ public class Modes3PackageImpl extends EPackageImpl implements Modes3Package { initEAttribute(getTrain_Id(), ecorePackage.getEInt(), "id", null, 0, 1, Train.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getTrain_Speed(), ecorePackage.getEDouble(), "speed", null, 0, 1, Train.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEClass(simpleSegmentEClass, SimpleSegment.class, "SimpleSegment", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + // Create resource createResource(eNS_URI); } diff --git a/Domains/ca.mcgill.rtgmrt.example.modes3/ecore-gen/modes3/impl/SimpleSegmentImpl.java b/Domains/ca.mcgill.rtgmrt.example.modes3/ecore-gen/modes3/impl/SimpleSegmentImpl.java new file mode 100644 index 00000000..e3fd6c34 --- /dev/null +++ b/Domains/ca.mcgill.rtgmrt.example.modes3/ecore-gen/modes3/impl/SimpleSegmentImpl.java @@ -0,0 +1,37 @@ +/** + */ +package modes3.impl; + +import modes3.Modes3Package; +import modes3.SimpleSegment; + +import org.eclipse.emf.ecore.EClass; + +/** + * + * An implementation of the model object 'Simple Segment'. + * + * + * @generated + */ +public class SimpleSegmentImpl extends SegmentImpl implements SimpleSegment { + /** + * + * + * @generated + */ + protected SimpleSegmentImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return Modes3Package.Literals.SIMPLE_SEGMENT; + } + +} //SimpleSegmentImpl diff --git a/Domains/ca.mcgill.rtgmrt.example.modes3/ecore-gen/modes3/util/Modes3AdapterFactory.java b/Domains/ca.mcgill.rtgmrt.example.modes3/ecore-gen/modes3/util/Modes3AdapterFactory.java index 86568e9d..9c5c8d2d 100644 --- a/Domains/ca.mcgill.rtgmrt.example.modes3/ecore-gen/modes3/util/Modes3AdapterFactory.java +++ b/Domains/ca.mcgill.rtgmrt.example.modes3/ecore-gen/modes3/util/Modes3AdapterFactory.java @@ -84,6 +84,10 @@ public class Modes3AdapterFactory extends AdapterFactoryImpl { return createTrainAdapter(); } @Override + public Adapter caseSimpleSegment(SimpleSegment object) { + return createSimpleSegmentAdapter(); + } + @Override public Adapter defaultCase(EObject object) { return createEObjectAdapter(); } @@ -159,6 +163,20 @@ public class Modes3AdapterFactory extends AdapterFactoryImpl { return null; } + /** + * Creates a new adapter for an object of class '{@link modes3.SimpleSegment Simple Segment}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see modes3.SimpleSegment + * @generated + */ + public Adapter createSimpleSegmentAdapter() { + return null; + } + /** * Creates a new adapter for the default case. * diff --git a/Domains/ca.mcgill.rtgmrt.example.modes3/ecore-gen/modes3/util/Modes3Switch.java b/Domains/ca.mcgill.rtgmrt.example.modes3/ecore-gen/modes3/util/Modes3Switch.java index 5dab272b..0c28861a 100644 --- a/Domains/ca.mcgill.rtgmrt.example.modes3/ecore-gen/modes3/util/Modes3Switch.java +++ b/Domains/ca.mcgill.rtgmrt.example.modes3/ecore-gen/modes3/util/Modes3Switch.java @@ -91,6 +91,13 @@ public class Modes3Switch extends Switch { if (result == null) result = defaultCase(theEObject); return result; } + case Modes3Package.SIMPLE_SEGMENT: { + SimpleSegment simpleSegment = (SimpleSegment)theEObject; + T result = caseSimpleSegment(simpleSegment); + if (result == null) result = caseSegment(simpleSegment); + if (result == null) result = defaultCase(theEObject); + return result; + } default: return defaultCase(theEObject); } } @@ -155,6 +162,21 @@ public class Modes3Switch extends Switch { return null; } + /** + * Returns the result of interpreting the object as an instance of 'Simple Segment'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Simple Segment'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseSimpleSegment(SimpleSegment object) { + return null; + } + /** * Returns the result of interpreting the object as an instance of 'EObject'. * diff --git a/Domains/ca.mcgill.rtgmrt.example.modes3/model/modes3.aird_deactivated b/Domains/ca.mcgill.rtgmrt.example.modes3/model/modes3.aird_deactivated deleted file mode 100644 index f5400732..00000000 --- a/Domains/ca.mcgill.rtgmrt.example.modes3/model/modes3.aird_deactivated +++ /dev/null @@ -1,1531 +0,0 @@ - - - - http://www.eclipse.org/emf/2002/Ecore - modes3.ecore - modes3.genmodel - ../src/modes3/queries/Modes3Queries.vql - java:/Objects/org.eclipse.viatra.query.runtime.api.impl.BasePatternMatch - java:/Objects/java.lang.Object - java:/Objects/jdk.internal.HotSpotIntrinsicCandidate - java:/Objects/java.lang.annotation.Target - java:/Objects/java.lang.annotation.ElementType - java:/Objects/java.lang.Enum - java:/Objects/java.lang.Comparable - java:/Primitives - java:/Objects/java.lang.CloneNotSupportedException - java:/Objects/java.lang.Exception - java:/Objects/java.lang.Throwable - java:/Objects/java.io.Serializable - java:/Objects/java.lang.Deprecated - java:/Objects/java.lang.annotation.Retention - java:/Objects/java.lang.annotation.RetentionPolicy - java:/Objects/java.lang.String - java:/Objects/java.lang.CharSequence - java:/Objects/java.util.stream.IntStream - java:/Objects/java.util.stream.BaseStream - java:/Objects/java.lang.AutoCloseable - java:/Objects/java.lang.Class - java:/Objects/java.lang.reflect.GenericDeclaration - java:/Objects/java.lang.reflect.AnnotatedElement - java:/Objects/java.lang.annotation.Annotation - java:/Objects/java.lang.InterruptedException - java:/Objects/java.lang.StackTraceElement - java:/Objects/java.lang.Module - java:/Objects/java.lang.WeakPairMap - java:/Objects/java.lang.ref.ReferenceQueue - java:/Objects/java.lang.ref.Reference - java:/Objects/java.lang.Thread - java:/Objects/java.lang.Runnable - java:/Objects/java.lang.FunctionalInterface - java:/Objects/java.lang.annotation.Documented - java:/Objects/java.io.ObjectInputStream - java:/Objects/java.io.InputStream - java:/Objects/java.io.Closeable - java:/Objects/java.io.IOException - java:/Objects/java.util.Comparator - java:/Objects/java.util.function.Function - java:/Objects/java.lang.ClassNotFoundException - java:/Objects/java.lang.ReflectiveOperationException - java:/Objects/java.lang.StringBuffer - java:/Objects/java.lang.AbstractStringBuilder - java:/Objects/java.lang.Appendable - java:/Objects/java.io.ObjectStreamException - java:/Objects/java.io.PrintStream - java:/Objects/java.io.FilterOutputStream - java:/Objects/java.io.OutputStream - java:/Objects/java.io.Flushable - java:/Objects/java.io.ObjectInput - java:/Objects/java.io.DataInput - java:/Objects/java.io.ObjectStreamConstants - java:/Objects/java.io.SerializablePermission - java:/Objects/java.security.BasicPermission - java:/Objects/java.security.Permission - java:/Objects/java.security.Guard - java:/Objects/java.lang.SecurityException - java:/Objects/java.lang.RuntimeException - java:/Objects/java.lang.StringBuilder - java:/Objects/java.io.ObjectOutputStream - java:/Objects/java.io.ObjectOutput - java:/Objects/java.io.DataOutput - java:/Objects/java.io.DataInputStream - java:/Objects/java.io.FilterInputStream - java:/Objects/java.util.concurrent.ConcurrentMap - java:/Objects/java.util.Map - java:/Objects/java.util.function.BiFunction - java:/Objects/java.io.PrintWriter - java:/Objects/java.io.Writer - java:/Objects/java.io.ObjectStreamClass - java:/Objects/java.io.InvalidClassException - java:/Objects/java.util.Set - java:/Objects/java.util.Collection - java:/Objects/java.lang.Iterable - java:/Objects/java.util.function.Consumer - java:/Objects/java.util.List - java:/Objects/java.util.Iterator - java:/Objects/java.lang.Boolean - java:/Objects/java.lang.StackFrameInfo - java:/Objects/java.lang.StackWalker - java:/Objects/java.lang.invoke.MethodType - java:/Objects/java.lang.ref.WeakReference - java:/Objects/java.lang.ThreadGroup - java:/Objects/java.lang.Void - java:/Objects/java.io.ObjectInputFilter - java:/Objects/java.lang.IllegalArgumentException - java:/Objects/java.io.UnsupportedEncodingException - java:/Objects/java.lang.reflect.Type - java:/Objects/java.lang.System - java:/Objects/java.util.function.Supplier - java:/Objects/java.lang.ClassLoader - java:/Objects/java.util.Deque - java:/Objects/java.util.Queue - java:/Objects/java.util.stream.Stream - java:/Objects/java.util.function.Predicate - java:/Objects/java.lang.module.ModuleDescriptor - java:/Objects/java.util.Optional - java:/Objects/java.io.ObjectInputValidation - java:/Objects/java.io.InvalidObjectException - java:/Objects/sun.reflect.annotation.AnnotationType - java:/Objects/java.lang.reflect.Method - java:/Objects/java.lang.reflect.Executable - java:/Objects/java.lang.reflect.AccessibleObject - java:/Objects/jdk.internal.reflect.CallerSensitive - java:/Objects/java.lang.ModuleLayer - java:/Objects/java.lang.module.Configuration - java:/Objects/java.lang.module.Resolver - java:/Objects/java.lang.module.ModuleFinder - java:/Objects/java.lang.module.ModuleReference - java:/Objects/java.net.URI - java:/Objects/java.net.URISyntaxException - java:/Objects/java.lang.ref.SoftReference - java:/Objects/jdk.internal.vm.annotation.ForceInline - java:/Objects/java.lang.module.ResolvedModule - java:/Objects/java.security.AccessControlContext - java:/Objects/java.security.ProtectionDomain - java:/Objects/sun.security.util.Debug - java:/Objects/java.math.BigInteger - java:/Objects/java.lang.Number - java:/Objects/java.io.StreamCorruptedException - java:/Objects/jdk.internal.misc.Unsafe - java:/Objects/java.lang.InstantiationException - java:/Objects/java.lang.reflect.Constructor - java:/Objects/jdk.internal.reflect.ConstructorAccessor - java:/Objects/java.lang.reflect.InvocationTargetException - java:/Objects/java.lang.reflect.Field - java:/Objects/java.lang.reflect.Member - java:/Objects/java.io.Externalizable - java:/Objects/java.io.NotActiveException - java:/Objects/java.lang.SecurityManager - java:/Objects/java.net.InetAddress - java:/Objects/java.net.UnknownHostException - java:/Objects/java.lang.reflect.AnnotatedType - java:/Objects/java.io.SerialCallbackContext - java:/Objects/java.security.PermissionCollection - java:/Objects/java.util.Enumeration - java:/Objects/java.util.stream.Collector - java:/Objects/java.util.function.BiConsumer - java:/Objects/java.util.concurrent.ConcurrentHashMap - java:/Objects/java.util.AbstractMap - java:/Objects/java.util.stream.DoubleStream - java:/Objects/java.lang.Double - java:/Objects/java.lang.NumberFormatException - java:/Objects/jdk.internal.reflect.ConstantPool - java:/Objects/sun.nio.ch.Interruptible - java:/Objects/java.util.stream.LongStream - java:/Objects/java.lang.Long - java:/Objects/java.lang.ThreadLocal - java:/Objects/java.util.concurrent.atomic.AtomicInteger - java:/Objects/java.util.function.IntBinaryOperator - java:/Objects/jdk.internal.vm.annotation.Contended - java:/Objects/java.security.DomainCombiner - java:/Objects/java.util.function.UnaryOperator - java:/Objects/java.security.AccessControlException - java:/Objects/java.lang.NoSuchMethodException - java:/Objects/java.lang.NoSuchFieldException - java:/Objects/sun.reflect.generics.factory.GenericsFactory - java:/Objects/java.lang.reflect.TypeVariable - java:/Objects/java.util.function.ToDoubleFunction - java:/Objects/jdk.internal.misc.JavaSecurityAccess - java:/Objects/java.security.PrivilegedAction - java:/Objects/java.util.function.ToIntFunction - java:/Objects/java.security.CodeSource - java:/Objects/java.net.URL - java:/Objects/java.net.URLStreamHandlerFactory - java:/Objects/java.net.URLStreamHandler - java:/Objects/java.net.URLConnection - java:/Objects/java.net.UnknownServiceException - java:/Objects/sun.reflect.generics.repository.ClassRepository - java:/Objects/sun.reflect.generics.repository.GenericDeclRepository - java:/Objects/sun.reflect.generics.repository.AbstractRepository - java:/Objects/sun.reflect.generics.visitor.Reifier - java:/Objects/sun.reflect.generics.visitor.TypeTreeVisitor - java:/Objects/sun.reflect.generics.tree.ArrayTypeSignature - java:/Objects/sun.reflect.generics.tree.FieldTypeSignature - java:/Objects/sun.reflect.generics.tree.BaseType - java:/Objects/sun.reflect.generics.tree.TypeSignature - java:/Objects/sun.reflect.generics.tree.ReturnType - java:/Objects/sun.reflect.generics.tree.TypeTree - java:/Objects/sun.reflect.generics.tree.Tree - java:/Objects/java.util.function.ToLongFunction - java:/Objects/java.security.Principal - java:/Objects/javax.security.auth.Subject - java:/Objects/javax.security.auth.AuthPermission - java:/Objects/java.security.cert.Certificate - java:/Objects/java.security.cert.CertificateEncodingException - java:/Objects/java.security.cert.CertificateException - java:/Objects/java.security.GeneralSecurityException - java:/Objects/java.nio.charset.Charset - java:/Objects/java.nio.charset.spi.CharsetProvider - java:/Objects/java.lang.SafeVarargs - java:/Objects/java.security.CodeSigner - java:/Objects/java.security.cert.CertPath - java:/Objects/java.util.function.BinaryOperator - java:/Objects/java.security.cert.CertificateFactory - java:/Objects/java.security.cert.CertificateFactorySpi - java:/Objects/java.security.cert.CRLException - java:/Objects/java.util.Locale - java:/Objects/java.lang.Cloneable - java:/Objects/java.util.function.IntFunction - java:/Objects/java.net.SocketPermission - java:/Objects/java.net.MalformedURLException - java:/Objects/java.lang.PublicMethods - java:/Objects/jdk.internal.reflect.ReflectionFactory - java:/Objects/java.lang.invoke.MethodHandle - java:/Objects/java.lang.invoke.LambdaForm - java:/Objects/sun.invoke.util.Wrapper - java:/Objects/java.lang.ClassCastException - java:/Objects/java.lang.Package - java:/Objects/java.lang.NamedPackage - java:/Objects/java.util.Spliterator - java:/Objects/java.util.function.DoubleConsumer - java:/Objects/java.net.Proxy - java:/Objects/java.net.SocketAddress - java:/Objects/java.lang.Integer - java:/Objects/java.net.spi.URLStreamHandlerProvider - java:/Objects/java.util.function.IntConsumer - java:/Objects/java.util.Hashtable - java:/Objects/java.util.Dictionary - java:/Objects/java.util.function.LongConsumer - java:/Objects/java.io.ObjectStreamField - java:/Objects/java.util.Random - java:/Objects/java.util.concurrent.atomic.AtomicLong - java:/Objects/java.util.function.LongBinaryOperator - java:/Objects/java.net.UrlDeserializedState - java:/Objects/java.util.function.LongUnaryOperator - java:/Objects/java.io.FileDescriptor - java:/Objects/jdk.internal.ref.PhantomCleanable - java:/Objects/java.lang.ref.PhantomReference - java:/Objects/java.io.DataOutputStream - java:/Objects/java.util.ListIterator - java:/Objects/java.io.SyncFailedException - java:/Objects/java.lang.IllegalAccessException - java:/Objects/java.lang.ClassValue - java:/Objects/java.util.WeakHashMap - java:/Objects/java.util.AbstractSet - java:/Objects/java.util.AbstractCollection - java:/Objects/jdk.internal.reflect.FieldAccessor - java:/Objects/sun.reflect.generics.repository.FieldRepository - java:/Objects/jdk.internal.reflect.MethodAccessor - java:/Objects/jdk.internal.reflect.LangReflectAccess - java:/Objects/java.util.function.DoublePredicate - java:/Objects/java.lang.ref.Cleaner - java:/Objects/java.util.concurrent.ThreadFactory - java:/Objects/java.io.OptionalDataException - java:/Objects/java.util.OptionalDouble - java:/Objects/java.util.function.DoubleSupplier - java:/Objects/jdk.internal.ref.CleanerImpl - java:/Objects/jdk.internal.ref.SoftCleanable - java:/Objects/sun.reflect.generics.repository.ConstructorRepository - java:/Objects/sun.reflect.generics.tree.MethodTypeSignature - java:/Objects/sun.reflect.generics.tree.Signature - java:/Objects/sun.reflect.generics.tree.FormalTypeParameter - java:/Objects/sun.reflect.generics.tree.TypeArgument - java:/Objects/sun.reflect.generics.tree.BooleanSignature - java:/Objects/sun.reflect.generics.tree.BottomSignature - java:/Objects/sun.reflect.generics.tree.ByteSignature - java:/Objects/sun.reflect.generics.tree.CharSignature - java:/Objects/sun.reflect.generics.tree.ClassTypeSignature - java:/Objects/sun.reflect.generics.tree.SimpleClassTypeSignature - java:/Objects/sun.reflect.generics.tree.DoubleSignature - java:/Objects/sun.reflect.generics.tree.FloatSignature - java:/Objects/sun.reflect.generics.tree.IntSignature - java:/Objects/sun.reflect.generics.tree.LongSignature - java:/Objects/sun.reflect.generics.tree.ShortSignature - java:/Objects/sun.reflect.generics.tree.TypeVariableSignature - java:/Objects/sun.reflect.generics.tree.VoidDescriptor - java:/Objects/sun.reflect.generics.tree.Wildcard - java:/Objects/sun.reflect.generics.visitor.Visitor - java:/Objects/sun.reflect.generics.tree.ClassSignature - java:/Objects/sun.reflect.generics.repository.MethodRepository - java:/Objects/jdk.internal.ref.WeakCleanable - java:/Objects/java.lang.invoke.BoundMethodHandle - java:/Objects/java.lang.invoke.ClassSpecializer - java:/Objects/jdk.internal.org.objectweb.asm.MethodVisitor - java:/Objects/jdk.internal.org.objectweb.asm.AnnotationVisitor - java:/Objects/java.lang.invoke.MemberName - java:/Objects/java.lang.invoke.ResolvedMethodName - java:/Objects/java.lang.invoke.MethodHandleImpl - java:/Objects/java.lang.invoke.DelegatingMethodHandle - java:/Objects/java.lang.reflect.Parameter - java:/Objects/java.lang.invoke.MethodTypeForm - java:/Objects/jdk.internal.vm.annotation.Stable - java:/Objects/java.util.function.IntUnaryOperator - java:/Objects/java.util.function.IntPredicate - java:/Objects/java.util.function.ObjIntConsumer - java:/Objects/java.util.OptionalInt - java:/Objects/java.util.function.IntSupplier - java:/Objects/java.util.PrimitiveIterator - java:/Objects/java.util.function.IntToDoubleFunction - java:/Objects/java.util.function.IntToLongFunction - java:/Objects/java.util.IntSummaryStatistics - java:/Objects/java.lang.TypeNotPresentException - java:/Objects/java.lang.UnsupportedOperationException - java:/Objects/java.io.FileNotFoundException - java:/Objects/java.util.function.ObjDoubleConsumer - java:/Objects/java.util.function.DoubleFunction - java:/Objects/java.util.function.DoubleUnaryOperator - java:/Objects/java.util.function.DoubleToIntFunction - java:/Objects/java.util.function.DoubleToLongFunction - java:/Objects/java.util.function.DoubleBinaryOperator - java:/Objects/java.util.DoubleSummaryStatistics - java:/Objects/java.lang.invoke.Invokers - java:/Objects/java.lang.invoke.VarHandle - java:/Objects/java.lang.invoke.VarForm - java:/Objects/java.lang.invoke.LambdaFormEditor - java:/Objects/java.lang.invoke.LambdaFormBuffer - java:/Objects/java.util.ArrayList - java:/Objects/java.util.AbstractList - java:/Objects/java.util.RandomAccess - java:/Objects/java.lang.IndexOutOfBoundsException - java:/Objects/java.util.function.LongPredicate - java:/Objects/java.util.function.ObjLongConsumer - java:/Objects/java.util.OptionalLong - java:/Objects/java.util.function.LongSupplier - java:/Objects/java.util.function.LongFunction - java:/Objects/java.util.function.LongToDoubleFunction - java:/Objects/java.util.function.LongToIntFunction - java:/Objects/java.util.LongSummaryStatistics - java:/Objects/java.util.concurrent.CountedCompleter - java:/Objects/java.util.concurrent.ForkJoinTask - java:/Objects/java.util.concurrent.Future - java:/Objects/java.util.concurrent.ExecutionException - java:/Objects/java.io.File - java:/Objects/java.security.SecureRandom - java:/Objects/java.util.regex.Pattern - java:/Objects/java.util.regex.Matcher - java:/Objects/java.util.regex.MatchResult - java:/Objects/java.util.function.ToDoubleBiFunction - java:/Objects/java.lang.invoke.CallSite - java:/Objects/java.lang.invoke.WrongMethodTypeException - java:/Objects/java.io.OutputStreamWriter - java:/Objects/java.nio.charset.CharsetEncoder - java:/Objects/java.nio.CharBuffer - java:/Objects/java.nio.Buffer - java:/Objects/java.util.function.ToIntBiFunction - java:/Objects/jdk.internal.vm.annotation.DontInline - java:/Objects/java.lang.ArrayIndexOutOfBoundsException - java:/Objects/java.lang.ClassFormatError - java:/Objects/java.lang.LinkageError - java:/Objects/java.lang.Error - java:/Objects/java.nio.ByteBuffer - java:/Objects/java.nio.DoubleBuffer - java:/Objects/java.nio.ByteOrder - java:/Objects/java.util.function.ToLongBiFunction - java:/Objects/java.lang.invoke.MethodHandleNatives - java:/Objects/java.lang.NoSuchMethodError - java:/Objects/java.lang.IncompatibleClassChangeError - java:/Objects/java.lang.AssertionStatusDirectives - java:/Objects/java.util.concurrent.atomic.AtomicReference - java:/Objects/java.util.concurrent.locks.ReentrantLock - java:/Objects/java.util.concurrent.locks.Lock - java:/Objects/java.util.concurrent.locks.Condition - java:/Objects/java.util.concurrent.TimeUnit - java:/Objects/java.time.Duration - java:/Objects/java.time.temporal.TemporalAmount - java:/Objects/java.time.temporal.Temporal - java:/Objects/java.time.temporal.TemporalAccessor - java:/Objects/java.time.temporal.TemporalField - java:/Objects/java.time.temporal.TemporalUnit - java:/Objects/java.util.concurrent.RunnableFuture - java:/Objects/jdk.internal.perf.PerfCounter - java:/Objects/java.nio.LongBuffer - java:/Objects/java.net.ContentHandler - java:/Objects/java.util.concurrent.Callable - java:/Objects/jdk.internal.misc.JavaLangInvokeAccess - java:/Objects/java.util.HashMap - java:/Objects/java.util.LinkedHashMap - java:/Objects/jdk.internal.perf.Perf - java:/Objects/java.util.concurrent.TimeoutException - java:/Objects/java.util.Vector - java:/Objects/java.nio.FloatBuffer - java:/Objects/java.net.FileNameMap - java:/Objects/java.util.concurrent.ForkJoinPool - java:/Objects/java.util.concurrent.AbstractExecutorService - java:/Objects/java.util.concurrent.ExecutorService - java:/Objects/java.util.concurrent.Executor - java:/Objects/java.time.temporal.ChronoUnit - java:/Objects/java.nio.IntBuffer - java:/Objects/java.net.ContentHandlerFactory - java:/Objects/java.math.BigDecimal - java:/Objects/java.math.MathContext - java:/Objects/java.math.RoundingMode - java:/Objects/java.nio.ShortBuffer - java:/Objects/sun.net.www.MessageHeader - java:/Objects/java.util.regex.PatternSyntaxException - java:/Objects/java.security.Timestamp - java:/Objects/java.util.Date - java:/Objects/java.time.Instant - java:/Objects/java.time.temporal.TemporalAdjuster - java:/Objects/java.lang.Readable - java:/Objects/java.util.regex.IntHashSet - java:/Objects/java.time.temporal.TemporalQuery - java:/Objects/jdk.internal.org.objectweb.asm.Attribute - java:/Objects/jdk.internal.org.objectweb.asm.ClassReader - java:/Objects/jdk.internal.org.objectweb.asm.ClassVisitor - java:/Objects/jdk.internal.org.objectweb.asm.FieldVisitor - java:/Objects/jdk.internal.org.objectweb.asm.TypePath - java:/Objects/java.time.temporal.ValueRange - java:/Objects/jdk.internal.org.objectweb.asm.Handle - java:/Objects/java.time.format.ResolverStyle - java:/Objects/jdk.internal.org.objectweb.asm.Label - java:/Objects/jdk.internal.org.objectweb.asm.MethodWriter - java:/Objects/jdk.internal.org.objectweb.asm.ClassWriter - java:/Objects/jdk.internal.org.objectweb.asm.Item - java:/Objects/sun.util.locale.InternalLocaleBuilder - java:/Objects/sun.util.locale.LocaleSyntaxException - java:/Objects/sun.util.calendar.BaseCalendar - java:/Objects/sun.util.calendar.AbstractCalendar - java:/Objects/sun.util.calendar.CalendarSystem - java:/Objects/sun.util.calendar.CalendarDate - java:/Objects/java.util.TimeZone - java:/Objects/java.time.ZoneId - java:/Objects/java.time.format.TextStyle - java:/Objects/jdk.internal.org.objectweb.asm.ByteVector - java:/Objects/sun.util.locale.LocaleObjectCache - java:/Objects/sun.util.locale.BaseLocale - java:/Objects/sun.util.locale.LocaleExtensions - java:/Objects/java.lang.Character - java:/Objects/jdk.internal.org.objectweb.asm.Context - java:/Objects/sun.util.locale.provider.LocaleServiceProviderPool - java:/Objects/java.util.spi.LocaleServiceProvider - java:/Objects/java.math.MutableBigInteger - java:/Objects/java.util.spi.LocaleNameProvider - java:/Objects/java.util.concurrent.ForkJoinWorkerThread - java:/Objects/java.util.ResourceBundle - java:/Objects/java.util.ServiceLoader - java:/Objects/jdk.internal.module.ServicesCatalog - java:/Objects/jdk.internal.loader.ClassLoaderValue - java:/Objects/jdk.internal.loader.AbstractClassLoaderValue - java:/Objects/java.lang.IllegalStateException - java:/Objects/java.util.Formatter - java:/Objects/java.util.Calendar - java:/Objects/java.text.DateFormatSymbols - java:/Objects/java.lang.RuntimePermission - java:/Objects/jdk.internal.org.objectweb.asm.ModuleVisitor - java:/Objects/sun.util.locale.provider.LocaleResources - java:/Objects/sun.util.locale.provider.ResourceBundleBasedAdapter - java:/Objects/sun.util.resources.LocaleData - java:/Objects/java.util.spi.ResourceBundleProvider - java:/Objects/jdk.internal.vm.annotation.ReservedStackAccess - java:/Objects/jdk.internal.org.objectweb.asm.AnnotationWriter - java:/Objects/jdk.internal.org.objectweb.asm.FieldWriter - java:/Objects/jdk.internal.org.objectweb.asm.ModuleWriter - java:/Objects/java.util.MissingResourceException - java:/Objects/java.io.BufferedWriter - java:/Objects/sun.util.locale.LanguageTag - java:/Objects/sun.util.locale.ParseStatus - java:/Objects/sun.util.locale.StringTokenIterator - java:/Objects/sun.util.locale.Extension - java:/Objects/java.util.SortedMap - java:/Objects/jdk.internal.org.objectweb.asm.Frame - java:/Objects/jdk.internal.org.objectweb.asm.Type - java:/Objects/sun.util.locale.provider.LocaleProviderAdapter - java:/Objects/sun.util.locale.provider.FallbackLocaleProviderAdapter - java:/Objects/sun.util.locale.provider.JRELocaleProviderAdapter - java:/Objects/java.text.spi.BreakIteratorProvider - java:/Objects/java.text.BreakIterator - java:/Objects/java.text.CharacterIterator - java:/Objects/sun.util.calendar.Era - java:/Objects/java.util.concurrent.locks.AbstractQueuedSynchronizer - java:/Objects/java.util.concurrent.locks.AbstractOwnableSynchronizer - java:/Objects/java.io.FilenameFilter - java:/Objects/jdk.internal.org.objectweb.asm.Handler - java:/Objects/sun.util.calendar.Gregorian - java:/Objects/java.time.ZoneOffset - java:/Objects/java.time.zone.ZoneRules - java:/Objects/java.time.zone.ZoneOffsetTransition - java:/Objects/java.time.LocalDateTime - java:/Objects/java.time.chrono.ChronoLocalDateTime - java:/Objects/java.time.chrono.ChronoZonedDateTime - java:/Objects/java.time.format.DateTimeFormatter - java:/Objects/java.text.Format - java:/Objects/java.text.AttributedCharacterIterator - java:/Objects/java.time.zone.ZoneOffsetTransitionRule - java:/Objects/java.time.Month - java:/Objects/jdk.internal.org.objectweb.asm.Edge - java:/Objects/java.time.DayOfWeek - java:/Objects/sun.invoke.empty.Empty - java:/Objects/java.time.LocalTime - java:/Objects/java.time.LocalDate - java:/Objects/java.time.chrono.ChronoLocalDate - java:/Objects/java.time.chrono.Chronology - java:/Objects/java.time.chrono.Era - java:/Objects/java.lang.InternalError - java:/Objects/java.lang.VirtualMachineError - java:/Objects/java.io.FileFilter - java:/Objects/java.lang.reflect.ParameterizedType - java:/Objects/java.time.OffsetTime - java:/Objects/java.time.OffsetDateTime - java:/Objects/java.time.ZonedDateTime - java:/Objects/java.time.Clock - java:/Objects/java.lang.reflect.WildcardType - java:/Objects/java.time.Period - java:/Objects/java.time.chrono.ChronoPeriod - java:/Objects/java.net.NetworkInterface - java:/Objects/java.net.SocketException - java:/Objects/java.util.spi.ResourceBundleControlProvider - java:/Objects/java.time.chrono.IsoChronology - java:/Objects/java.time.chrono.AbstractChronology - java:/Objects/java.time.temporal.ChronoField - java:/Objects/java.net.InetAddressImpl - java:/Objects/java.time.chrono.IsoEra - java:/Objects/java.util.NavigableSet - java:/Objects/java.util.SortedSet - java:/Objects/java.net.InterfaceAddress - java:/Objects/java.net.Inet4Address - java:/Objects/java.security.PublicKey - java:/Objects/java.security.Key - java:/Objects/java.text.FieldPosition - java:/Objects/java.text.ParseException - java:/Objects/java.util.ServiceConfigurationError - java:/Objects/java.nio.file.Path - java:/Objects/java.nio.file.Watchable - java:/Objects/java.nio.file.WatchService - java:/Objects/java.nio.file.WatchKey - java:/Objects/java.nio.file.WatchEvent - java:/Objects/java.text.ParsePosition - java:/Objects/java.time.format.DateTimeFormatterBuilder - java:/Objects/java.time.format.DateTimePrintContext - java:/Objects/java.time.format.DecimalStyle - java:/Objects/java.time.format.DateTimeParseException - java:/Objects/java.time.DateTimeException - java:/Objects/java.io.FileSystem - java:/Objects/java.time.format.FormatStyle - java:/Objects/java.security.NoSuchAlgorithmException - java:/Objects/java.security.SecureRandomSpi - java:/Objects/java.security.SecureRandomParameters - java:/Objects/java.time.format.DateTimeParseContext - java:/Objects/java.time.format.Parsed - java:/Objects/java.io.BufferedReader - java:/Objects/java.io.Reader - java:/Objects/java.time.format.SignStyle - java:/Objects/java.security.InvalidKeyException - java:/Objects/java.security.KeyException - java:/Objects/java.security.Provider - java:/Objects/java.util.Properties - java:/Objects/java.util.InvalidPropertiesFormatException - java:/Objects/java.io.NotSerializableException - java:/Objects/jdk.internal.misc.JavaLangAccess - java:/Objects/java.nio.charset.CharacterCodingException - java:/Objects/java.security.NoSuchProviderException - java:/Objects/java.lang.LayerInstantiationException - java:/Objects/java.security.MessageDigest - java:/Objects/java.security.MessageDigestSpi - java:/Objects/java.security.DigestException - java:/Objects/java.time.format.DateTimeTextProvider - java:/Objects/sun.security.util.MessageDigestSpi2 - java:/Objects/javax.crypto.SecretKey - java:/Objects/javax.security.auth.Destroyable - java:/Objects/javax.security.auth.DestroyFailedException - java:/Objects/jdk.internal.module.ModuleTarget - java:/Objects/java.nio.file.FileSystem - java:/Objects/java.nio.file.FileStore - java:/Objects/java.nio.file.attribute.FileStoreAttributeView - java:/Objects/java.nio.file.attribute.AttributeView - java:/Objects/java.nio.file.LinkOption - java:/Objects/java.nio.file.OpenOption - java:/Objects/java.nio.file.PathMatcher - java:/Objects/java.security.SignatureException - java:/Objects/java.nio.file.attribute.UserPrincipalLookupService - java:/Objects/java.nio.file.attribute.GroupPrincipal - java:/Objects/java.nio.file.attribute.UserPrincipal - java:/Objects/java.nio.file.spi.FileSystemProvider - java:/Objects/java.nio.file.AccessMode - java:/Objects/java.nio.charset.CharsetDecoder - java:/Objects/java.nio.charset.CoderResult - java:/Objects/java.nio.file.attribute.FileAttributeView - java:/Objects/java.util.LinkedList - java:/Objects/java.util.AbstractSequentialList - java:/Objects/sun.util.resources.Bundles - java:/Objects/jdk.internal.misc.JavaUtilResourceBundleAccess - java:/Objects/java.util.EnumSet - java:/Objects/java.security.cert.CRL - java:/Objects/java.security.PrivilegedExceptionAction - java:/Objects/java.security.PrivilegedActionException - java:/Objects/java.lang.module.ModuleReader - java:/Objects/java.nio.file.CopyOption - java:/Objects/java.nio.file.attribute.FileAttribute - java:/Objects/java.nio.channels.AsynchronousFileChannel - java:/Objects/java.nio.channels.AsynchronousChannel - java:/Objects/java.nio.channels.Channel - java:/Objects/java.nio.channels.SeekableByteChannel - java:/Objects/java.nio.channels.ByteChannel - java:/Objects/java.nio.channels.ReadableByteChannel - java:/Objects/java.nio.file.DirectoryStream - java:/Objects/sun.util.resources.OpenListResourceBundle - java:/Objects/java.nio.channels.FileChannel - java:/Objects/java.nio.channels.spi.AbstractInterruptibleChannel - java:/Objects/java.nio.channels.InterruptibleChannel - java:/Objects/java.nio.file.attribute.BasicFileAttributes - java:/Objects/java.nio.file.attribute.FileTime - java:/Objects/java.nio.channels.FileLock - java:/Objects/java.nio.channels.WritableByteChannel - java:/Objects/java.nio.channels.CompletionHandler - java:/Objects/java.nio.channels.GatheringByteChannel - java:/Objects/java.nio.channels.ScatteringByteChannel - java:/Objects/java.nio.MappedByteBuffer - java:/Objects/sun.util.resources.TimeZoneNamesBundle - java:/Objects/java.nio.channels.AsynchronousCloseException - java:/Objects/java.nio.channels.ClosedChannelException - java:/Objects/sun.nio.cs.StreamEncoder - java:/Objects/sun.util.resources.ParallelListResourceBundle - java:/Objects/java.util.concurrent.atomic.AtomicMarkableReference - java:/Objects/java.nio.charset.CodingErrorAction - java:/Objects/java.util.spi.CalendarDataProvider - java:/Objects/java.io.Console - java:/Objects/java.util.spi.CalendarNameProvider - java:/Objects/java.io.FileOutputStream - java:/Objects/jdk.internal.misc.JavaIOFileDescriptorAccess - java:/Objects/sun.util.spi.CalendarProvider - java:/Objects/java.text.spi.CollatorProvider - java:/Objects/java.text.Collator - java:/Objects/java.text.CollationKey - java:/Objects/java.util.spi.CurrencyNameProvider - java:/Objects/java.text.spi.DateFormatProvider - java:/Objects/java.text.DateFormat - java:/Objects/java.text.NumberFormat - java:/Objects/java.util.Currency - java:/Objects/java.util.HashSet - java:/Objects/java.text.spi.DateFormatSymbolsProvider - java:/Objects/java.text.spi.DecimalFormatSymbolsProvider - java:/Objects/java.text.DecimalFormatSymbols - java:/Objects/sun.text.spi.JavaTimeDateTimePatternProvider - java:/Objects/java.text.spi.NumberFormatProvider - java:/Objects/java.util.spi.TimeZoneNameProvider - java:/Objects/org.eclipse.viatra.query.runtime.api.IPatternMatch - java:/Objects/org.eclipse.viatra.query.runtime.api.IQuerySpecification - java:/Objects/org.eclipse.viatra.query.runtime.matchers.psystem.queries.PQueryHeader - java:/Objects/org.eclipse.viatra.query.runtime.matchers.psystem.annotations.PAnnotation - java:/Objects/org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameter - java:/Objects/org.eclipse.viatra.query.runtime.matchers.context.IInputKey - java:/Objects/org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameterDirection - java:/Objects/org.eclipse.viatra.query.runtime.matchers.psystem.queries.PVisibility - java:/Objects/org.eclipse.viatra.query.runtime.matchers.psystem.queries.PQuery - java:/Objects/org.eclipse.viatra.query.runtime.matchers.psystem.PTraceable - java:/Objects/org.eclipse.viatra.query.runtime.matchers.psystem.queries.PDisjunction - java:/Objects/org.eclipse.viatra.query.runtime.matchers.psystem.PBody - java:/Objects/org.eclipse.viatra.query.runtime.matchers.psystem.PVariable - java:/Objects/org.eclipse.viatra.query.runtime.matchers.psystem.PConstraint - java:/Objects/org.eclipse.viatra.query.runtime.matchers.context.IQueryMetaContext - java:/Objects/org.eclipse.viatra.query.runtime.matchers.context.InputKeyImplication - java:/Objects/org.eclipse.viatra.query.runtime.matchers.context.IPosetComparator - java:/Objects/org.eclipse.viatra.query.runtime.matchers.tuple.Tuple - java:/Objects/org.eclipse.viatra.query.runtime.matchers.tuple.AbstractTuple - java:/Objects/org.eclipse.viatra.query.runtime.matchers.tuple.ITuple - java:/Objects/org.eclipse.viatra.query.runtime.matchers.psystem.TypeJudgement - java:/Objects/org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.ExportedParameter - java:/Objects/org.eclipse.viatra.query.runtime.matchers.psystem.VariableDeferredPConstraint - java:/Objects/org.eclipse.viatra.query.runtime.matchers.psystem.DeferredPConstraint - java:/Objects/org.eclipse.viatra.query.runtime.matchers.psystem.BasePConstraint - java:/Objects/org.eclipse.viatra.query.runtime.matchers.backend.QueryEvaluationHint - java:/Objects/org.eclipse.viatra.query.runtime.matchers.backend.QueryHintOption - java:/Objects/org.eclipse.viatra.query.runtime.matchers.backend.IQueryBackendFactory - java:/Objects/org.eclipse.viatra.query.runtime.matchers.backend.IMatcherCapability - java:/Objects/org.eclipse.viatra.query.runtime.matchers.context.IQueryBackendContext - java:/Objects/org.eclipse.viatra.query.runtime.matchers.backend.IQueryBackendHintProvider - java:/Objects/org.eclipse.viatra.query.runtime.matchers.psystem.queries.PProblem - java:/Objects/org.eclipse.viatra.query.runtime.matchers.planning.QueryProcessingException - java:/Objects/org.eclipse.viatra.query.runtime.matchers.ViatraQueryRuntimeException - java:/Objects/org.eclipse.viatra.query.runtime.matchers.planning.SubPlan - java:/Objects/org.eclipse.viatra.query.runtime.matchers.planning.operations.POperation - java:/Objects/org.eclipse.viatra.query.runtime.matchers.backend.IQueryBackend - java:/Objects/org.eclipse.viatra.query.runtime.matchers.backend.IQueryResultProvider - java:/Objects/org.eclipse.viatra.query.runtime.matchers.backend.IUpdateable - java:/Objects/org.eclipse.viatra.query.runtime.matchers.tuple.TupleMask - java:/Objects/org.eclipse.viatra.query.runtime.matchers.tuple.IModifiableTuple - java:/Objects/org.eclipse.viatra.query.runtime.matchers.util.Accuracy - java:/Objects/org.apache.log4j.Logger - java:/Objects/org.apache.log4j.Category - java:/Objects/org.apache.log4j.spi.AppenderAttachable - java:/Objects/org.apache.log4j.Appender - java:/Objects/org.apache.log4j.spi.Filter - java:/Objects/org.apache.log4j.spi.OptionHandler - java:/Objects/org.apache.log4j.spi.LoggingEvent - java:/Objects/org.apache.log4j.Priority - java:/Objects/org.apache.log4j.Level - java:/Objects/org.apache.log4j.spi.ThrowableInformation - java:/Objects/org.apache.log4j.spi.LocationInfo - java:/Objects/java.io.StringWriter - java:/Objects/org.apache.log4j.spi.LoggerRepository - java:/Objects/org.apache.log4j.spi.HierarchyEventListener - java:/Objects/org.apache.log4j.helpers.AppenderAttachableImpl - java:/Objects/org.apache.log4j.spi.ErrorHandler - java:/Objects/org.apache.log4j.spi.LoggerFactory - java:/Objects/org.apache.log4j.Layout - java:/Objects/org.eclipse.viatra.query.runtime.matchers.psystem.analysis.QueryAnalyzer - java:/Objects/org.eclipse.viatra.query.runtime.matchers.context.IQueryCacheContext - java:/Objects/org.eclipse.viatra.query.runtime.matchers.context.IQueryResultProviderAccess - java:/Objects/org.eclipse.viatra.query.runtime.matchers.context.IQueryRuntimeContext - java:/Objects/org.eclipse.viatra.query.runtime.matchers.context.IQueryRuntimeContextListener - java:/Objects/org.eclipse.viatra.query.runtime.matchers.context.IndexingService - java:/Objects/org.eclipse.viatra.query.runtime.api.ViatraQueryEngine - java:/Objects/org.eclipse.viatra.query.runtime.api.scope.IBaseIndex - java:/Objects/org.eclipse.viatra.query.runtime.api.scope.ViatraBaseIndexChangeListener - java:/Objects/org.eclipse.viatra.query.runtime.api.scope.IIndexingErrorListener - java:/Objects/org.eclipse.viatra.query.runtime.api.scope.IInstanceObserver - java:/Objects/org.eclipse.viatra.query.runtime.api.ViatraQueryMatcher - java:/Objects/org.eclipse.viatra.query.runtime.api.scope.QueryScope - java:/Objects/org.eclipse.viatra.query.runtime.internal.apiimpl.EngineContextFactory - java:/Objects/org.eclipse.viatra.query.runtime.api.scope.IEngineContext - java:/Objects/org.eclipse.viatra.query.runtime.api.ViatraQueryEngineOptions - java:/Objects/org.eclipse.viatra.query.runtime.api.impl.BaseMatcher - java:/Objects/org.eclipse.viatra.query.runtime.internal.apiimpl.QueryResultWrapper - java:/Objects/org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFQuerySpecification - java:/Objects/org.eclipse.viatra.query.runtime.api.impl.BaseQuerySpecification - java:/Objects/java.lang.ExceptionInInitializerError - java:/Objects/org.eclipse.viatra.query.runtime.exception.ViatraQueryException - java:/Objects/org.eclipse.viatra.query.runtime.matchers.psystem.queries.QueryInitializationException - java:/Objects/org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedPatternGroup - java:/Objects/org.eclipse.viatra.query.runtime.api.impl.BaseQueryGroup - java:/Objects/org.eclipse.viatra.query.runtime.api.IQueryGroup - java:/Objects/org.eclipse.viatra.query.runtime.api.AdvancedViatraQueryEngine - java:/Objects/org.eclipse.viatra.query.runtime.api.ViatraQueryEngineLifecycleListener - java:/Objects/org.eclipse.viatra.query.runtime.api.IMatchUpdateListener - java:/Objects/org.eclipse.viatra.query.runtime.api.ViatraQueryModelUpdateListener - java:/Objects/java.lang.Override - java:/Objects/org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFPQuery - java:/Objects/org.eclipse.viatra.query.runtime.matchers.psystem.queries.BasePQuery - java:/Objects/org.eclipse.emf.ecore.EClassifier - java:/Objects/org.eclipse.emf.ecore.ENamedElement - java:/Objects/org.eclipse.emf.ecore.EModelElement - java:/Objects/org.eclipse.emf.ecore.EObject - java:/Objects/org.eclipse.emf.common.notify.Notifier - java:/Objects/org.eclipse.emf.common.util.EList - java:/Objects/org.eclipse.emf.common.notify.Adapter - java:/Objects/org.eclipse.emf.common.notify.Notification - java:/Objects/org.eclipse.emf.common.util.TreeIterator - java:/Objects/org.eclipse.emf.ecore.EClass - java:/Objects/org.eclipse.emf.ecore.EAttribute - java:/Objects/org.eclipse.emf.ecore.EStructuralFeature - java:/Objects/org.eclipse.emf.ecore.ETypedElement - java:/Objects/org.eclipse.emf.ecore.EGenericType - java:/Objects/org.eclipse.emf.ecore.ETypeParameter - java:/Objects/org.eclipse.emf.ecore.EAnnotation - java:/Objects/org.eclipse.emf.common.util.EMap - java:/Objects/org.eclipse.emf.ecore.EReference - java:/Objects/org.eclipse.emf.ecore.InternalEObject - java:/Objects/org.eclipse.emf.common.notify.NotificationChain - java:/Objects/org.eclipse.emf.ecore.resource.Resource - java:/Objects/org.eclipse.emf.common.util.URI - java:/Objects/org.eclipse.emf.common.util.Pool - java:/Objects/org.eclipse.emf.common.util.WeakInterningHashSet - java:/Objects/org.eclipse.emf.common.util.InterningSet - java:/Objects/java.util.concurrent.locks.ReentrantReadWriteLock - java:/Objects/java.util.concurrent.locks.ReadWriteLock - java:/Objects/java.lang.IllegalMonitorStateException - java:/Objects/org.eclipse.emf.common.util.SegmentSequence - java:/Objects/org.eclipse.emf.common.util.CommonUtil - java:/Objects/org.eclipse.emf.ecore.resource.ResourceSet - java:/Objects/org.eclipse.emf.common.notify.AdapterFactory - java:/Objects/org.eclipse.emf.ecore.EPackage - java:/Objects/org.eclipse.emf.ecore.EFactory - java:/Objects/org.eclipse.emf.ecore.EDataType - java:/Objects/org.eclipse.emf.common.CommonPlugin - java:/Objects/org.eclipse.emf.common.EMFPlugin - java:/Objects/org.eclipse.emf.common.util.DelegatingResourceLocator - java:/Objects/org.eclipse.emf.common.util.ResourceLocator - java:/Objects/org.eclipse.emf.common.util.Logger - java:/Objects/org.eclipse.core.runtime.Plugin - java:/Objects/org.osgi.framework.BundleActivator - java:/Objects/org.osgi.framework.BundleContext - java:/Objects/org.osgi.framework.BundleReference - java:/Objects/org.osgi.framework.Bundle - java:/Objects/org.osgi.framework.ServiceReference - java:/Objects/java.security.cert.X509Certificate - java:/Objects/java.security.cert.X509Extension - java:/Objects/java.security.cert.CertificateExpiredException - java:/Objects/java.security.cert.CertificateNotYetValidException - java:/Objects/java.security.cert.CertificateParsingException - java:/Objects/javax.security.auth.x500.X500Principal - java:/Objects/sun.security.x509.X500Name - java:/Objects/sun.security.x509.GeneralNameInterface - java:/Objects/sun.security.util.DerOutputStream - java:/Objects/java.io.ByteArrayOutputStream - java:/Objects/sun.security.util.DerEncoder - java:/Objects/sun.security.util.DerValue - java:/Objects/sun.security.util.DerInputBuffer - java:/Objects/java.io.ByteArrayInputStream - java:/Objects/sun.security.util.BitArray - java:/Objects/sun.security.util.DerInputStream - java:/Objects/sun.security.util.ObjectIdentifier - java:/Objects/sun.security.util.ByteArrayLexOrder - java:/Objects/sun.security.util.ByteArrayTagOrder - java:/Objects/sun.security.x509.RDN - java:/Objects/sun.security.x509.AVA - java:/Objects/java.lang.Byte - java:/Objects/org.osgi.framework.Version - java:/Objects/org.osgi.framework.BundleException - java:/Objects/org.osgi.framework.BundleListener - java:/Objects/java.util.EventListener - java:/Objects/org.osgi.framework.BundleEvent - java:/Objects/java.util.EventObject - java:/Objects/org.osgi.framework.FrameworkListener - java:/Objects/org.osgi.framework.FrameworkEvent - java:/Objects/org.osgi.framework.ServiceListener - java:/Objects/org.osgi.framework.ServiceEvent - java:/Objects/org.osgi.framework.InvalidSyntaxException - java:/Objects/org.osgi.framework.Filter - java:/Objects/org.osgi.framework.ServiceObjects - java:/Objects/org.osgi.framework.ServiceRegistration - java:/Objects/org.osgi.framework.ServiceFactory - java:/Objects/org.eclipse.core.runtime.IPath - java:/Objects/org.eclipse.osgi.service.debug.DebugOptions - java:/Objects/org.eclipse.osgi.service.debug.DebugTrace - java:/Objects/org.eclipse.core.runtime.ILog - java:/Objects/org.eclipse.core.runtime.ILogListener - java:/Objects/org.eclipse.core.runtime.IStatus - java:/Objects/org.eclipse.core.runtime.Preferences - java:/Objects/org.eclipse.core.runtime.CoreException - java:/Objects/org.eclipse.core.runtime.ListenerList - java:/Objects/org.osgi.util.tracker.ServiceTracker - java:/Objects/org.osgi.util.tracker.ServiceTrackerCustomizer - java:/Objects/org.osgi.framework.AllServiceListener - java:/Objects/org.osgi.util.tracker.AbstractTracked - java:/Objects/org.eclipse.emf.ecore.EOperation - java:/Objects/org.eclipse.emf.ecore.EParameter - java:/Objects/org.eclipse.emf.ecore.util.FeatureMap - java:/Objects/org.eclipse.emf.ecore.util.InternalEList - java:/Objects/org.eclipse.emf.ecore.util.EContentsEList - java:/Objects/org.eclipse.emf.ecore.util.AbstractSequentialInternalEList - java:/Objects/org.eclipse.emf.ecore.resource.URIConverter - java:/Objects/java.io.InputStreamReader - java:/Objects/sun.nio.cs.StreamDecoder - java:/Objects/java.io.FileInputStream - java:/Objects/org.eclipse.emf.ecore.resource.ContentHandler - java:/Objects/org.eclipse.emf.ecore.resource.URIHandler - java:/Objects/org.eclipse.emf.ecore.EEnumLiteral - java:/Objects/org.eclipse.emf.common.util.Enumerator - java:/Objects/org.eclipse.emf.ecore.EEnum - java:/Objects/modes3.Segment - java:/Objects/modes3.Train - java:/Objects/java.lang.SuppressWarnings - java:/Objects/modes3.Turnout - ../src/modes3/run/Modes3ModelGenerator.xtend - java:/Objects/org.eclipse.xtend.lib.annotations.FinalFieldsConstructor - java:/Objects/org.eclipse.xtend.lib.macro.Active - java:/Objects/com.google.common.annotations.Beta - java:/Objects/com.google.common.annotations.GwtCompatible - java:/Objects/org.eclipse.xtend.lib.annotations.FinalFieldsConstructorProcessor - java:/Objects/org.eclipse.xtend.lib.macro.TransformationParticipant - java:/Objects/org.eclipse.xtext.xbase.lib.Extension - java:/Objects/org.eclipse.xtend.lib.macro.TransformationContext - java:/Objects/org.eclipse.xtend.lib.macro.services.Tracability - java:/Objects/org.eclipse.xtend.lib.macro.declaration.Element - java:/Objects/org.eclipse.xtend.lib.macro.services.ProblemSupport - java:/Objects/org.eclipse.xtend.lib.macro.services.Problem - java:/Objects/org.eclipse.xtext.xbase.lib.Procedures - java:/Objects/org.eclipse.xtend.lib.macro.services.TypeReferenceProvider - java:/Objects/org.eclipse.xtend.lib.macro.declaration.TypeReference - java:/Objects/org.eclipse.xtend.lib.macro.declaration.ResolvedMethod - java:/Objects/org.eclipse.xtend.lib.macro.declaration.ResolvedExecutable - java:/Objects/org.eclipse.xtend.lib.macro.declaration.ExecutableDeclaration - java:/Objects/org.eclipse.xtend.lib.macro.declaration.TypeParameterDeclarator - java:/Objects/org.eclipse.xtend.lib.macro.declaration.MemberDeclaration - java:/Objects/org.eclipse.xtend.lib.macro.declaration.Declaration - java:/Objects/org.eclipse.xtend.lib.macro.declaration.AnnotationTarget - java:/Objects/org.eclipse.xtend.lib.macro.declaration.NamedElement - java:/Objects/org.eclipse.xtend.lib.macro.declaration.CompilationUnit - java:/Objects/org.eclipse.xtend.lib.macro.file.Path - java:/Objects/com.google.common.collect.ImmutableList - java:/Objects/com.google.common.collect.ImmutableCollection - java:/Objects/com.google.common.collect.UnmodifiableIterator - java:/Objects/com.google.common.annotations.VisibleForTesting - java:/Objects/com.google.common.collect.UnmodifiableListIterator - java:/Objects/com.google.common.base.Splitter - java:/Objects/com.google.common.base.AbstractIterator - java:/Objects/com.google.common.base.CharMatcher - java:/Objects/com.google.common.base.Predicate - java:/Objects/com.google.common.annotations.GwtIncompatible - java:/Objects/java.util.BitSet - java:/Objects/com.google.common.base.CommonPattern - java:/Objects/com.google.common.base.CommonMatcher - java:/Objects/org.eclipse.xtend.lib.macro.declaration.TypeDeclaration - java:/Objects/org.eclipse.xtend.lib.macro.declaration.Type - java:/Objects/org.eclipse.xtend.lib.macro.declaration.AnnotationReference - java:/Objects/org.eclipse.xtend.lib.macro.declaration.AnnotationTypeDeclaration - java:/Objects/org.eclipse.xtend.lib.macro.declaration.AnnotationTypeElementDeclaration - java:/Objects/org.eclipse.xtend.lib.macro.expression.Expression - java:/Objects/org.eclipse.xtend.lib.macro.declaration.Modifier - java:/Objects/org.eclipse.xtend.lib.macro.declaration.Visibility - java:/Objects/org.eclipse.xtend.lib.macro.declaration.EnumerationValueDeclaration - java:/Objects/org.eclipse.xtend.lib.macro.declaration.EnumerationTypeDeclaration - java:/Objects/org.eclipse.xtend.lib.macro.declaration.ConstructorDeclaration - java:/Objects/org.eclipse.xtend.lib.macro.declaration.ParameterDeclaration - java:/Objects/org.eclipse.xtend.lib.macro.declaration.FieldDeclaration - java:/Objects/org.eclipse.xtend.lib.macro.declaration.MethodDeclaration - java:/Objects/org.eclipse.xtend.lib.macro.declaration.TypeParameterDeclaration - java:/Objects/org.eclipse.xtend.lib.macro.declaration.ClassDeclaration - java:/Objects/org.eclipse.xtend.lib.macro.declaration.InterfaceDeclaration - java:/Objects/org.eclipse.xtend.lib.macro.declaration.ResolvedConstructor - java:/Objects/org.eclipse.xtend.lib.macro.declaration.ResolvedParameter - java:/Objects/org.eclipse.xtend.lib.macro.declaration.ResolvedTypeParameter - java:/Objects/org.eclipse.xtend.lib.macro.services.TypeLookup - java:/Objects/org.eclipse.xtend.lib.macro.services.GlobalTypeLookup - java:/Objects/org.eclipse.xtend.lib.macro.declaration.MutableAnnotationTypeDeclaration - java:/Objects/org.eclipse.xtend.lib.macro.declaration.MutableTypeDeclaration - java:/Objects/org.eclipse.xtend.lib.macro.declaration.MutableMemberDeclaration - java:/Objects/org.eclipse.xtend.lib.macro.declaration.MutableDeclaration - java:/Objects/org.eclipse.xtend.lib.macro.declaration.MutableAnnotationTarget - java:/Objects/org.eclipse.xtend.lib.macro.declaration.MutableNamedElement - java:/Objects/org.eclipse.xtend.lib.macro.declaration.MutableElement - java:/Objects/org.eclipse.xtend.lib.macro.declaration.MutableConstructorDeclaration - java:/Objects/org.eclipse.xtend.lib.macro.declaration.MutableExecutableDeclaration - java:/Objects/org.eclipse.xtend.lib.macro.declaration.MutableTypeParameterDeclarator - java:/Objects/org.eclipse.xtend.lib.macro.declaration.MutableTypeParameterDeclaration - java:/Objects/org.eclipse.xtend.lib.macro.declaration.MutableFieldDeclaration - java:/Objects/org.eclipse.xtend.lib.macro.declaration.CompilationStrategy - java:/Objects/org.eclipse.xtend2.lib.StringConcatenationClient - java:/Objects/org.eclipse.xtend.lib.macro.declaration.MutableMethodDeclaration - java:/Objects/org.eclipse.xtend.lib.macro.declaration.MutableParameterDeclaration - java:/Objects/org.eclipse.xtend.lib.macro.declaration.MutableClassDeclaration - java:/Objects/org.eclipse.xtend.lib.macro.declaration.MutableEnumerationTypeDeclaration - java:/Objects/org.eclipse.xtend.lib.macro.declaration.MutableEnumerationValueDeclaration - java:/Objects/org.eclipse.xtend.lib.macro.declaration.MutableInterfaceDeclaration - java:/Objects/org.eclipse.xtend.lib.macro.declaration.MutableAnnotationTypeElementDeclaration - java:/Objects/org.eclipse.xtend.lib.macro.file.FileSystemSupport - java:/Objects/org.eclipse.xtend.lib.macro.file.FileLocations - java:/Objects/org.eclipse.xtend.lib.macro.services.AnnotationReferenceProvider - java:/Objects/org.eclipse.xtend.lib.macro.services.AnnotationReferenceBuildContext - java:/Objects/org.eclipse.xtend.lib.macro.services.Associator - java:/Objects/org.eclipse.xtend.lib.annotations.Data - java:/Objects/org.eclipse.xtend.lib.annotations.DataProcessor - java:/Objects/org.eclipse.xtend.lib.macro.AbstractClassProcessor - java:/Objects/org.eclipse.xtend.lib.macro.RegisterGlobalsParticipant - java:/Objects/org.eclipse.xtend.lib.macro.RegisterGlobalsContext - java:/Objects/org.eclipse.xtend.lib.macro.services.UpstreamTypeLookup - java:/Objects/org.eclipse.xtend.lib.macro.services.SourceTypeLookup - java:/Objects/org.eclipse.xtend.lib.macro.CodeGenerationParticipant - java:/Objects/org.eclipse.xtend.lib.macro.CodeGenerationContext - java:/Objects/org.eclipse.xtend.lib.macro.file.MutableFileSystemSupport - java:/Objects/org.eclipse.xtend.lib.macro.ValidationParticipant - java:/Objects/org.eclipse.xtend.lib.macro.ValidationContext - java:/Objects/org.eclipse.xtend.lib.annotations.Accessors - java:/Objects/org.eclipse.xtend.lib.annotations.AccessorsProcessor - java:/Objects/org.eclipse.xtend.lib.annotations.AccessorType - java:/Objects/org.eclipse.xtext.xbase.lib.ArrayLiterals - java:/Objects/org.eclipse.xtext.xbase.lib.Pure - java:/Objects/org.eclipse.xtext.xbase.lib.Inline - java:/Objects/org.eclipse.xtext.xbase.lib.CollectionLiterals - java:/Objects/org.eclipse.xtext.xbase.lib.Pair - java:/Objects/java.util.LinkedHashSet - java:/Objects/java.util.TreeMap - java:/Objects/java.util.NavigableMap - java:/Objects/java.util.TreeSet - java:/Objects/org.eclipse.xtext.xbase.lib.InputOutput - java:/Objects/org.eclipse.xtext.xbase.lib.ArrayExtensions - java:/Objects/org.eclipse.xtext.xbase.lib.BigDecimalExtensions - java:/Objects/org.eclipse.xtext.xbase.lib.BigIntegerExtensions - java:/Objects/org.eclipse.xtext.xbase.lib.BooleanExtensions - java:/Objects/com.google.common.primitives.Booleans - java:/Objects/org.eclipse.xtext.xbase.lib.ByteExtensions - java:/Objects/java.lang.Math - java:/Objects/org.eclipse.xtext.xbase.lib.CharacterExtensions - java:/Objects/org.eclipse.xtext.xbase.lib.CollectionExtensions - java:/Objects/com.google.common.collect.Iterables - java:/Objects/com.google.common.collect.FluentIterable - java:/Objects/com.google.common.base.Function - java:/Objects/com.google.common.base.Optional - java:/Objects/com.google.common.base.Supplier - java:/Objects/com.google.common.collect.ImmutableListMultimap - java:/Objects/com.google.common.collect.ImmutableMultimap - java:/Objects/com.google.common.collect.BaseImmutableMultimap - java:/Objects/com.google.common.collect.AbstractMultimap - java:/Objects/com.google.common.collect.Multimap - java:/Objects/com.google.common.collect.Multiset - java:/Objects/com.google.common.collect.Multimaps - java:/Objects/com.google.common.collect.Maps - java:/Objects/com.google.common.collect.ImmutableMap - java:/Objects/com.google.common.collect.ImmutableSet - java:/Objects/com.google.common.collect.ImmutableSetMultimap - java:/Objects/com.google.common.collect.SetMultimap - java:/Objects/com.google.common.collect.Serialization - java:/Objects/com.google.common.collect.ImmutableMultiset - java:/Objects/com.google.common.collect.ImmutableMultisetGwtSerializationDependencies - java:/Objects/com.google.common.collect.IndexedImmutableSet - java:/Objects/com.google.common.collect.AbstractListMultimap - java:/Objects/com.google.common.collect.AbstractMapBasedMultimap - java:/Objects/com.google.common.collect.AbstractSetMultimap - java:/Objects/com.google.common.collect.AbstractSortedSetMultimap - java:/Objects/com.google.common.collect.SortedSetMultimap - java:/Objects/com.google.common.collect.AbstractMultiset - java:/Objects/com.google.common.collect.Multisets - java:/Objects/com.google.common.collect.Sets - java:/Objects/com.google.common.collect.ForwardingCollection - java:/Objects/com.google.common.collect.ForwardingObject - java:/Objects/com.google.common.collect.CartesianList - java:/Objects/com.google.common.collect.ForwardingNavigableSet - java:/Objects/com.google.common.collect.ForwardingSortedSet - java:/Objects/com.google.common.collect.ForwardingSet - java:/Objects/com.google.common.collect.Ordering - java:/Objects/com.google.common.collect.Collections2 - java:/Objects/com.google.common.collect.AbstractIterator - java:/Objects/java.util.concurrent.CopyOnWriteArraySet - java:/Objects/java.util.concurrent.CopyOnWriteArrayList - java:/Objects/com.google.common.collect.Range - java:/Objects/com.google.common.collect.RangeGwtSerializationDependencies - java:/Objects/com.google.common.collect.Cut - java:/Objects/com.google.common.collect.DiscreteDomain - java:/Objects/com.google.common.collect.BoundType - java:/Objects/java.util.EnumMap - java:/Objects/com.google.common.collect.ListMultimap - java:/Objects/com.google.common.collect.ForwardingMultimap - java:/Objects/com.google.common.collect.FilteredMultimap - java:/Objects/com.google.common.collect.FilteredSetMultimap - java:/Objects/com.google.common.base.Converter - java:/Objects/com.google.common.collect.BiMap - java:/Objects/com.google.common.collect.ForwardingMap - java:/Objects/com.google.common.collect.AbstractNavigableMap - java:/Objects/com.google.common.collect.MapDifference - java:/Objects/com.google.common.collect.SortedMapDifference - java:/Objects/com.google.common.collect.ForwardingSortedMap - java:/Objects/com.google.common.base.Equivalence - java:/Objects/java.util.function.BiPredicate - java:/Objects/java.util.IdentityHashMap - java:/Objects/com.google.common.collect.ForwardingMultiset - java:/Objects/com.google.common.collect.SortedMultiset - java:/Objects/com.google.common.collect.SortedMultisetBridge - java:/Objects/com.google.common.collect.SortedIterable - java:/Objects/com.google.common.base.Joiner - java:/Objects/com.google.common.collect.ImmutableSortedSet - java:/Objects/com.google.common.collect.ImmutableSortedSetFauxverideShim - java:/Objects/com.google.common.collect.RegularImmutableSortedSet - java:/Objects/com.google.common.collect.ImmutableSortedMap - java:/Objects/com.google.common.collect.ImmutableSortedMapFauxverideShim - java:/Objects/java.util.Collections - java:/Objects/java.util.AbstractQueue - java:/Objects/org.eclipse.xtext.xbase.lib.ComparableExtensions - java:/Objects/org.eclipse.xtext.xbase.lib.DoubleExtensions - java:/Objects/org.eclipse.xtext.xbase.lib.FloatExtensions - java:/Objects/java.lang.Float - java:/Objects/org.eclipse.xtext.xbase.lib.FunctionExtensions - java:/Objects/org.eclipse.xtext.xbase.lib.Functions - java:/Objects/org.eclipse.xtext.xbase.lib.IntegerExtensions - java:/Objects/org.eclipse.xtext.xbase.lib.ExclusiveRange - java:/Objects/org.eclipse.xtext.xbase.lib.IntegerRange - java:/Objects/org.eclipse.xtext.xbase.lib.IterableExtensions - java:/Objects/org.eclipse.xtext.xbase.lib.IteratorExtensions - java:/Objects/com.google.common.collect.Iterators - java:/Objects/com.google.common.collect.AbstractIndexedListIterator - java:/Objects/com.google.common.collect.PeekingIterator - java:/Objects/org.eclipse.xtext.xbase.lib.ListExtensions - java:/Objects/org.eclipse.xtext.xbase.lib.LongExtensions - java:/Objects/org.eclipse.xtext.xbase.lib.MapExtensions - java:/Objects/org.eclipse.xtext.xbase.lib.internal.UnmodifiableMergingMapView - java:/Objects/org.eclipse.xtext.xbase.lib.ObjectExtensions - java:/Objects/com.google.common.base.Objects - java:/Objects/com.google.common.base.ExtraObjectsMethodsForWeb - java:/Objects/org.eclipse.xtext.xbase.lib.ProcedureExtensions - java:/Objects/org.eclipse.xtext.xbase.lib.ShortExtensions - java:/Objects/java.lang.Short - java:/Objects/org.eclipse.xtext.xbase.lib.StringExtensions - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - bold - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - backgroundColor - foregroundColor - - - - - - - - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - labelColor - backgroundColor - foregroundColor - - - - - - - - - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - backgroundColor - foregroundColor - - - - - - - - KEEP_LOCATION - KEEP_SIZE - KEEP_RATIO - - backgroundColor - foregroundColor - - - - - - - - - - - - - - - - - - - - - - - - - - bold - - - - - - - - - - - bold - - - - - - - - - - - - labelSize - - - labelSize - - - - - - - - - - - - - - - - - - - - - labelSize - - - labelSize - - - - - - - - - - labelSize - - - labelSize - - - - - - - - - - labelSize - - - labelSize - - - - - - - - - - - italic - - - - - - - - - - - - - - diff --git a/Domains/ca.mcgill.rtgmrt.example.modes3/model/modes3.ecore b/Domains/ca.mcgill.rtgmrt.example.modes3/model/modes3.ecore index aa50b778..f7cb28be 100644 --- a/Domains/ca.mcgill.rtgmrt.example.modes3/model/modes3.ecore +++ b/Domains/ca.mcgill.rtgmrt.example.modes3/model/modes3.ecore @@ -13,7 +13,7 @@ + eType="#//SimpleSegment" containment="true"/> @@ -29,4 +29,5 @@ + diff --git a/Domains/ca.mcgill.rtgmrt.example.modes3/model/modes3.genmodel b/Domains/ca.mcgill.rtgmrt.example.modes3/model/modes3.genmodel index 1a6c7a84..1cd4ac41 100644 --- a/Domains/ca.mcgill.rtgmrt.example.modes3/model/modes3.genmodel +++ b/Domains/ca.mcgill.rtgmrt.example.modes3/model/modes3.genmodel @@ -26,5 +26,6 @@ + diff --git a/Domains/ca.mcgill.rtgmrt.example.modes3/output/solution.partialinterpretation b/Domains/ca.mcgill.rtgmrt.example.modes3/output/solution.partialinterpretation deleted file mode 100644 index bbf46091..00000000 --- a/Domains/ca.mcgill.rtgmrt.example.modes3/output/solution.partialinterpretation +++ /dev/null @@ -1,1068 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Domains/ca.mcgill.rtgmrt.example.modes3/output/solution1.gml b/Domains/ca.mcgill.rtgmrt.example.modes3/output/solution1.gml deleted file mode 100644 index 66b57d1a..00000000 --- a/Domains/ca.mcgill.rtgmrt.example.modes3/output/solution1.gml +++ /dev/null @@ -1,1191 +0,0 @@ -graph -[ - node - [ - id 0 - graphics - [ - w 269.5 - h 54 - type "rectangle" - fill "#FFFFFF" - fill2 "#FFFFFF" - outline "#000000" - ] - LabelGraphics - [ - text "o 1" - outline "#000000" - fill "#FFFFFF" - fontSize 16 - fontName "Monospace" - autoSizePolicy "node_width" - anchor "t" - borderDistance 0.0 - ] - LabelGraphics - [ - text " - Modes3ModelRoot class DefinedPart - Modes3ModelRoot class - " - fontSize 14 - fontName "Consolas" - alignment "left" - anchor "tl" - borderDistance 6 - ] - ] - - node - [ - id 1 - graphics - [ - w 41.800000000000004 - h 26 - type "rectangle" - fill "#FFFFFF" - fill2 "#FFFFFF" - outline "#000000" - ] - LabelGraphics - [ - text "true" - outline "#000000" - fill "#FFFFFF" - fontSize 16 - fontName "Monospace" - autoSizePolicy "node_width" - anchor "t" - borderDistance 0.0 - ] - LabelGraphics - [ - text " - " - fontSize 14 - fontName "Consolas" - alignment "left" - anchor "tl" - borderDistance 6 - ] - ] - - node - [ - id 2 - graphics - [ - w 50.6 - h 26 - type "rectangle" - fill "#FFFFFF" - fill2 "#FFFFFF" - outline "#000000" - ] - LabelGraphics - [ - text "false" - outline "#000000" - fill "#FFFFFF" - fontSize 16 - fontName "Monospace" - autoSizePolicy "node_width" - anchor "t" - borderDistance 0.0 - ] - LabelGraphics - [ - text " - " - fontSize 14 - fontName "Consolas" - alignment "left" - anchor "tl" - borderDistance 6 - ] - ] - - node - [ - id 3 - graphics - [ - w 115.50000000000001 - h 54 - type "rectangle" - fill "#FFFFFF" - fill2 "#FFFFFF" - outline "#000000" - ] - LabelGraphics - [ - text "null" - outline "#000000" - fill "#FFFFFF" - fontSize 16 - fontName "Monospace" - autoSizePolicy "node_width" - anchor "t" - borderDistance 0.0 - ] - LabelGraphics - [ - text " - Segment class - Turnout class - " - fontSize 14 - fontName "Consolas" - alignment "left" - anchor "tl" - borderDistance 6 - ] - ] - - node - [ - id 4 - graphics - [ - w 100.10000000000001 - h 40 - type "rectangle" - fill "#FFFFFF" - fill2 "#FFFFFF" - outline "#000000" - ] - LabelGraphics - [ - text "null" - outline "#000000" - fill "#FFFFFF" - fontSize 16 - fontName "Monospace" - autoSizePolicy "node_width" - anchor "t" - borderDistance 0.0 - ] - LabelGraphics - [ - text " - Train class - " - fontSize 14 - fontName "Consolas" - alignment "left" - anchor "tl" - borderDistance 6 - ] - ] - - node - [ - id 5 - graphics - [ - w 115.50000000000001 - h 40 - type "rectangle" - fill "#FFFFFF" - fill2 "#FFFFFF" - outline "#000000" - ] - LabelGraphics - [ - text "null" - outline "#000000" - fill "#FFFFFF" - fontSize 16 - fontName "Monospace" - autoSizePolicy "node_width" - anchor "t" - borderDistance 0.0 - ] - LabelGraphics - [ - text " - Segment class - " - fontSize 14 - fontName "Consolas" - alignment "left" - anchor "tl" - borderDistance 6 - ] - ] - - node - [ - id 6 - graphics - [ - w 100.10000000000001 - h 40 - type "rectangle" - fill "#FFFFFF" - fill2 "#FFFFFF" - outline "#000000" - ] - LabelGraphics - [ - text "null" - outline "#000000" - fill "#FFFFFF" - fontSize 16 - fontName "Monospace" - autoSizePolicy "node_width" - anchor "t" - borderDistance 0.0 - ] - LabelGraphics - [ - text " - Train class - " - fontSize 14 - fontName "Consolas" - alignment "left" - anchor "tl" - borderDistance 6 - ] - ] - - node - [ - id 7 - graphics - [ - w 115.50000000000001 - h 40 - type "rectangle" - fill "#FFFFFF" - fill2 "#FFFFFF" - outline "#000000" - ] - LabelGraphics - [ - text "null" - outline "#000000" - fill "#FFFFFF" - fontSize 16 - fontName "Monospace" - autoSizePolicy "node_width" - anchor "t" - borderDistance 0.0 - ] - LabelGraphics - [ - text " - Segment class - " - fontSize 14 - fontName "Consolas" - alignment "left" - anchor "tl" - borderDistance 6 - ] - ] - - node - [ - id 8 - graphics - [ - w 100.10000000000001 - h 40 - type "rectangle" - fill "#FFFFFF" - fill2 "#FFFFFF" - outline "#000000" - ] - LabelGraphics - [ - text "null" - outline "#000000" - fill "#FFFFFF" - fontSize 16 - fontName "Monospace" - autoSizePolicy "node_width" - anchor "t" - borderDistance 0.0 - ] - LabelGraphics - [ - text " - Train class - " - fontSize 14 - fontName "Consolas" - alignment "left" - anchor "tl" - borderDistance 6 - ] - ] - - node - [ - id 9 - graphics - [ - w 115.50000000000001 - h 40 - type "rectangle" - fill "#FFFFFF" - fill2 "#FFFFFF" - outline "#000000" - ] - LabelGraphics - [ - text "null" - outline "#000000" - fill "#FFFFFF" - fontSize 16 - fontName "Monospace" - autoSizePolicy "node_width" - anchor "t" - borderDistance 0.0 - ] - LabelGraphics - [ - text " - Segment class - " - fontSize 14 - fontName "Consolas" - alignment "left" - anchor "tl" - borderDistance 6 - ] - ] - - node - [ - id 10 - graphics - [ - w 100.10000000000001 - h 40 - type "rectangle" - fill "#FFFFFF" - fill2 "#FFFFFF" - outline "#000000" - ] - LabelGraphics - [ - text "null" - outline "#000000" - fill "#FFFFFF" - fontSize 16 - fontName "Monospace" - autoSizePolicy "node_width" - anchor "t" - borderDistance 0.0 - ] - LabelGraphics - [ - text " - Train class - " - fontSize 14 - fontName "Consolas" - alignment "left" - anchor "tl" - borderDistance 6 - ] - ] - - node - [ - id 11 - graphics - [ - w 115.50000000000001 - h 40 - type "rectangle" - fill "#FFFFFF" - fill2 "#FFFFFF" - outline "#000000" - ] - LabelGraphics - [ - text "null" - outline "#000000" - fill "#FFFFFF" - fontSize 16 - fontName "Monospace" - autoSizePolicy "node_width" - anchor "t" - borderDistance 0.0 - ] - LabelGraphics - [ - text " - Segment class - " - fontSize 14 - fontName "Consolas" - alignment "left" - anchor "tl" - borderDistance 6 - ] - ] - - node - [ - id 12 - graphics - [ - w 100.10000000000001 - h 40 - type "rectangle" - fill "#FFFFFF" - fill2 "#FFFFFF" - outline "#000000" - ] - LabelGraphics - [ - text "null" - outline "#000000" - fill "#FFFFFF" - fontSize 16 - fontName "Monospace" - autoSizePolicy "node_width" - anchor "t" - borderDistance 0.0 - ] - LabelGraphics - [ - text " - Train class - " - fontSize 14 - fontName "Consolas" - alignment "left" - anchor "tl" - borderDistance 6 - ] - ] - - node - [ - id 13 - graphics - [ - w 15.400000000000002 - h 26 - type "rectangle" - fill "#FFFFFF" - fill2 "#FFFFFF" - outline "#000000" - ] - LabelGraphics - [ - text "?" - outline "#000000" - fill "#FFFFFF" - fontSize 16 - fontName "Monospace" - autoSizePolicy "node_width" - anchor "t" - borderDistance 0.0 - ] - LabelGraphics - [ - text " - " - fontSize 14 - fontName "Consolas" - alignment "left" - anchor "tl" - borderDistance 6 - ] - ] - - node - [ - id 14 - graphics - [ - w 15.400000000000002 - h 26 - type "rectangle" - fill "#FFFFFF" - fill2 "#FFFFFF" - outline "#000000" - ] - LabelGraphics - [ - text "?" - outline "#000000" - fill "#FFFFFF" - fontSize 16 - fontName "Monospace" - autoSizePolicy "node_width" - anchor "t" - borderDistance 0.0 - ] - LabelGraphics - [ - text " - " - fontSize 14 - fontName "Consolas" - alignment "left" - anchor "tl" - borderDistance 6 - ] - ] - - node - [ - id 15 - graphics - [ - w 15.400000000000002 - h 26 - type "rectangle" - fill "#FFFFFF" - fill2 "#FFFFFF" - outline "#000000" - ] - LabelGraphics - [ - text "?" - outline "#000000" - fill "#FFFFFF" - fontSize 16 - fontName "Monospace" - autoSizePolicy "node_width" - anchor "t" - borderDistance 0.0 - ] - LabelGraphics - [ - text " - " - fontSize 14 - fontName "Consolas" - alignment "left" - anchor "tl" - borderDistance 6 - ] - ] - - node - [ - id 16 - graphics - [ - w 103.4 - h 26 - type "rectangle" - fill "#FFFFFF" - fill2 "#FFFFFF" - outline "#000000" - ] - LabelGraphics - [ - text "New Objects" - outline "#000000" - fill "#FFFFFF" - fontSize 16 - fontName "Monospace" - autoSizePolicy "node_width" - anchor "t" - borderDistance 0.0 - ] - LabelGraphics - [ - text " - " - fontSize 14 - fontName "Consolas" - alignment "left" - anchor "tl" - borderDistance 6 - ] - ] - edge - [ - source 5 - target 3 - graphics - [ - fill "#000000" - targetArrow "standard" - ] - LabelGraphics - [ - text "connectedTo reference Segment" - fontSize 14 - fontName "Consolas" - configuration "AutoFlippingLabel" - model "six_pos" - position "thead" - ] - ] - edge - [ - source 3 - target 5 - graphics - [ - fill "#000000" - targetArrow "standard" - ] - LabelGraphics - [ - text "connectedTo reference Segment" - fontSize 14 - fontName "Consolas" - configuration "AutoFlippingLabel" - model "six_pos" - position "thead" - ] - ] - edge - [ - source 7 - target 3 - graphics - [ - fill "#000000" - targetArrow "standard" - ] - LabelGraphics - [ - text "connectedTo reference Segment" - fontSize 14 - fontName "Consolas" - configuration "AutoFlippingLabel" - model "six_pos" - position "thead" - ] - ] - edge - [ - source 3 - target 7 - graphics - [ - fill "#000000" - targetArrow "standard" - ] - LabelGraphics - [ - text "connectedTo reference Segment" - fontSize 14 - fontName "Consolas" - configuration "AutoFlippingLabel" - model "six_pos" - position "thead" - ] - ] - edge - [ - source 7 - target 9 - graphics - [ - fill "#000000" - targetArrow "standard" - ] - LabelGraphics - [ - text "connectedTo reference Segment" - fontSize 14 - fontName "Consolas" - configuration "AutoFlippingLabel" - model "six_pos" - position "thead" - ] - ] - edge - [ - source 9 - target 7 - graphics - [ - fill "#000000" - targetArrow "standard" - ] - LabelGraphics - [ - text "connectedTo reference Segment" - fontSize 14 - fontName "Consolas" - configuration "AutoFlippingLabel" - model "six_pos" - position "thead" - ] - ] - edge - [ - source 11 - target 5 - graphics - [ - fill "#000000" - targetArrow "standard" - ] - LabelGraphics - [ - text "connectedTo reference Segment" - fontSize 14 - fontName "Consolas" - configuration "AutoFlippingLabel" - model "six_pos" - position "thead" - ] - ] - edge - [ - source 5 - target 11 - graphics - [ - fill "#000000" - targetArrow "standard" - ] - LabelGraphics - [ - text "connectedTo reference Segment" - fontSize 14 - fontName "Consolas" - configuration "AutoFlippingLabel" - model "six_pos" - position "thead" - ] - ] - edge - [ - source 5 - target 6 - graphics - [ - fill "#000000" - targetArrow "standard" - ] - LabelGraphics - [ - text "occupiedBy reference Segment" - fontSize 14 - fontName "Consolas" - configuration "AutoFlippingLabel" - model "six_pos" - position "thead" - ] - ] - edge - [ - source 3 - target 4 - graphics - [ - fill "#000000" - targetArrow "standard" - ] - LabelGraphics - [ - text "occupiedBy reference Segment" - fontSize 14 - fontName "Consolas" - configuration "AutoFlippingLabel" - model "six_pos" - position "thead" - ] - ] - edge - [ - source 7 - target 8 - graphics - [ - fill "#000000" - targetArrow "standard" - ] - LabelGraphics - [ - text "occupiedBy reference Segment" - fontSize 14 - fontName "Consolas" - configuration "AutoFlippingLabel" - model "six_pos" - position "thead" - ] - ] - edge - [ - source 9 - target 10 - graphics - [ - fill "#000000" - targetArrow "standard" - ] - LabelGraphics - [ - text "occupiedBy reference Segment" - fontSize 14 - fontName "Consolas" - configuration "AutoFlippingLabel" - model "six_pos" - position "thead" - ] - ] - edge - [ - source 11 - target 12 - graphics - [ - fill "#000000" - targetArrow "standard" - ] - LabelGraphics - [ - text "occupiedBy reference Segment" - fontSize 14 - fontName "Consolas" - configuration "AutoFlippingLabel" - model "six_pos" - position "thead" - ] - ] - edge - [ - source 0 - target 4 - graphics - [ - fill "#000000" - width 3 - targetArrow "standard" - ] - LabelGraphics - [ - text "trains reference Modes3ModelRoot" - fontSize 14 - fontName "Consolas" - configuration "AutoFlippingLabel" - model "six_pos" - position "thead" - ] - ] - edge - [ - source 0 - target 6 - graphics - [ - fill "#000000" - width 3 - targetArrow "standard" - ] - LabelGraphics - [ - text "trains reference Modes3ModelRoot" - fontSize 14 - fontName "Consolas" - configuration "AutoFlippingLabel" - model "six_pos" - position "thead" - ] - ] - edge - [ - source 0 - target 8 - graphics - [ - fill "#000000" - width 3 - targetArrow "standard" - ] - LabelGraphics - [ - text "trains reference Modes3ModelRoot" - fontSize 14 - fontName "Consolas" - configuration "AutoFlippingLabel" - model "six_pos" - position "thead" - ] - ] - edge - [ - source 0 - target 10 - graphics - [ - fill "#000000" - width 3 - targetArrow "standard" - ] - LabelGraphics - [ - text "trains reference Modes3ModelRoot" - fontSize 14 - fontName "Consolas" - configuration "AutoFlippingLabel" - model "six_pos" - position "thead" - ] - ] - edge - [ - source 0 - target 12 - graphics - [ - fill "#000000" - width 3 - targetArrow "standard" - ] - LabelGraphics - [ - text "trains reference Modes3ModelRoot" - fontSize 14 - fontName "Consolas" - configuration "AutoFlippingLabel" - model "six_pos" - position "thead" - ] - ] - edge - [ - source 0 - target 5 - graphics - [ - fill "#000000" - width 3 - targetArrow "standard" - ] - LabelGraphics - [ - text "segments reference Modes3ModelRoot" - fontSize 14 - fontName "Consolas" - configuration "AutoFlippingLabel" - model "six_pos" - position "thead" - ] - ] - edge - [ - source 0 - target 7 - graphics - [ - fill "#000000" - width 3 - targetArrow "standard" - ] - LabelGraphics - [ - text "segments reference Modes3ModelRoot" - fontSize 14 - fontName "Consolas" - configuration "AutoFlippingLabel" - model "six_pos" - position "thead" - ] - ] - edge - [ - source 0 - target 9 - graphics - [ - fill "#000000" - width 3 - targetArrow "standard" - ] - LabelGraphics - [ - text "segments reference Modes3ModelRoot" - fontSize 14 - fontName "Consolas" - configuration "AutoFlippingLabel" - model "six_pos" - position "thead" - ] - ] - edge - [ - source 0 - target 11 - graphics - [ - fill "#000000" - width 3 - targetArrow "standard" - ] - LabelGraphics - [ - text "segments reference Modes3ModelRoot" - fontSize 14 - fontName "Consolas" - configuration "AutoFlippingLabel" - model "six_pos" - position "thead" - ] - ] - edge - [ - source 0 - target 3 - graphics - [ - fill "#000000" - width 3 - targetArrow "standard" - ] - LabelGraphics - [ - text "turnouts reference Modes3ModelRoot" - fontSize 14 - fontName "Consolas" - configuration "AutoFlippingLabel" - model "six_pos" - position "thead" - ] - ] - edge - [ - source 3 - target 9 - graphics - [ - fill "#000000" - targetArrow "standard" - ] - LabelGraphics - [ - text "straight reference Turnout" - fontSize 14 - fontName "Consolas" - configuration "AutoFlippingLabel" - model "six_pos" - position "thead" - ] - ] - edge - [ - source 3 - target 5 - graphics - [ - fill "#000000" - targetArrow "standard" - ] - LabelGraphics - [ - text "divergent reference Turnout" - fontSize 14 - fontName "Consolas" - configuration "AutoFlippingLabel" - model "six_pos" - position "thead" - ] - ] - edge - [ - source 6 - target 5 - graphics - [ - fill "#000000" - targetArrow "standard" - ] - LabelGraphics - [ - text "location reference Train" - fontSize 14 - fontName "Consolas" - configuration "AutoFlippingLabel" - model "six_pos" - position "thead" - ] - ] - edge - [ - source 4 - target 3 - graphics - [ - fill "#000000" - targetArrow "standard" - ] - LabelGraphics - [ - text "location reference Train" - fontSize 14 - fontName "Consolas" - configuration "AutoFlippingLabel" - model "six_pos" - position "thead" - ] - ] - edge - [ - source 8 - target 7 - graphics - [ - fill "#000000" - targetArrow "standard" - ] - LabelGraphics - [ - text "location reference Train" - fontSize 14 - fontName "Consolas" - configuration "AutoFlippingLabel" - model "six_pos" - position "thead" - ] - ] - edge - [ - source 10 - target 9 - graphics - [ - fill "#000000" - targetArrow "standard" - ] - LabelGraphics - [ - text "location reference Train" - fontSize 14 - fontName "Consolas" - configuration "AutoFlippingLabel" - model "six_pos" - position "thead" - ] - ] - edge - [ - source 12 - target 11 - graphics - [ - fill "#000000" - targetArrow "standard" - ] - LabelGraphics - [ - text "location reference Train" - fontSize 14 - fontName "Consolas" - configuration "AutoFlippingLabel" - model "six_pos" - position "thead" - ] - ] -] - diff --git a/Domains/ca.mcgill.rtgmrt.example.modes3/output/solution1.partialinterpretation b/Domains/ca.mcgill.rtgmrt.example.modes3/output/solution1.partialinterpretation deleted file mode 100644 index 8b50e17f..00000000 --- a/Domains/ca.mcgill.rtgmrt.example.modes3/output/solution1.partialinterpretation +++ /dev/null @@ -1,1037 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Domains/ca.mcgill.rtgmrt.example.modes3/output/solution1.png b/Domains/ca.mcgill.rtgmrt.example.modes3/output/solution1.png deleted file mode 100644 index b6fa6e4e..00000000 Binary files a/Domains/ca.mcgill.rtgmrt.example.modes3/output/solution1.png and /dev/null differ diff --git a/Domains/ca.mcgill.rtgmrt.example.modes3/plugin.xml b/Domains/ca.mcgill.rtgmrt.example.modes3/plugin.xml index 7341e19c..a105a729 100644 --- a/Domains/ca.mcgill.rtgmrt.example.modes3/plugin.xml +++ b/Domains/ca.mcgill.rtgmrt.example.modes3/plugin.xml @@ -6,21 +6,19 @@ - - - - - + + + diff --git a/Domains/ca.mcgill.rtgmrt.example.modes3/src/modes3/queries/Modes3Queries.vql b/Domains/ca.mcgill.rtgmrt.example.modes3/src/modes3/queries/Modes3Queries.vql index 982e6cec..b8841928 100644 --- a/Domains/ca.mcgill.rtgmrt.example.modes3/src/modes3/queries/Modes3Queries.vql +++ b/Domains/ca.mcgill.rtgmrt.example.modes3/src/modes3/queries/Modes3Queries.vql @@ -2,11 +2,6 @@ package modes3.queries import "http://www.ece.mcgill.ca/wcet/modes3" -@Constraint(message = "turnoutInSegments", severity = "error", key = { T }) -pattern turnoutInSegments(T : Turnout) { - Modes3ModelRoot.segments(_, T); -} - pattern connectedTo(S1 : Segment, S2 : Segment) { Segment.connectedTo(S1, S2); } @@ -39,10 +34,6 @@ pattern turnoutOutputsAreSame(T : Turnout) { Turnout.divergent(T, S); } -pattern turnout(T : Turnout) { - Turnout(T); -} - pattern output(S1 : Segment, S2 : Segment) { Segment.connectedTo(S1, S2); } or { @@ -56,8 +47,7 @@ pattern output(S1 : Segment, S2 : Segment) { //} @Constraint(message = "tooManyInputsOfSegment", severity = "error", key = { S }) -pattern tooManyInputsOfSegment(S : Segment) { - neg find turnout(S); +pattern tooManyInputsOfSegment(S : SimpleSegment) { find output(I1, S); find output(I2, S); find output(I3, S); @@ -74,30 +64,38 @@ pattern turnoutConnectedToBothOutputs(T : Turnout) { Segment.connectedTo(T, Divergent); } -pattern extraInputOfTurnout(T : Turnout, S : Segment) { - Turnout.straight(T, Straight); - Turnout.divergent(T, Divergent); - find output(S, T); - S != Straight; - S != Divergent; +pattern adjacent(S1 : Segment, S2 : Segment) { + find output(S1, S2); +} or { + find turnoutOutput(S2, S1); } -@Constraint(message = "noExtraInputOfTurnout", severity = "error", key = { T }) -pattern noExtraInputOfTurnout(T : Turnout) { - neg find extraInputOfTurnout(T, _); +@Constraint(message = "turnoutConnectedToBothOutputs", severity = "error", key = { T }) +pattern tooManyInputsOfTurnout(T : Turnout) { + find adjacent(I1, T); + find adjacent(I2, T); + find adjacent(I3, T); + find adjacent(I4, T); + I1 != I2; + I1 != I3; + I1 != I4; + I2 != I3; + I2 != I4; + I3 != I4; } -@Constraint(message = "tooManyExtraInputsOfTurnout", severity = "error", key = { T }) -pattern tooManyExtraInputsOfTurnout(T : Turnout) { - find extraInputOfTurnout(T, I1); - find extraInputOfTurnout(T, I2); +pattern inputsOfTurnout(T : Turnout) { + find adjacent(I1, T); + find adjacent(I2, T); + find adjacent(I3, T); I1 != I2; + I1 != I3; + I2 != I3; } -pattern adjacent(S1 : Segment, S2 : Segment) { - find output(S1, S2); -} or { - find turnoutOutput(S2, S1); +@Constraint(message = "tooFewInputsOfTurnout", severity = "error", key = { T }) +pattern tooFewInputsOfTurnout(T : Turnout) { + neg find inputsOfTurnout(T); } pattern reachable(S1 : Segment, S2 : Segment) { diff --git a/Domains/ca.mcgill.rtgmrt.example.modes3/src/modes3/run/Modes3ModelGenerator.xtend b/Domains/ca.mcgill.rtgmrt.example.modes3/src/modes3/run/Modes3ModelGenerator.xtend index 71d1798f..fac7c496 100644 --- a/Domains/ca.mcgill.rtgmrt.example.modes3/src/modes3/run/Modes3ModelGenerator.xtend +++ b/Domains/ca.mcgill.rtgmrt.example.modes3/src/modes3/run/Modes3ModelGenerator.xtend @@ -8,6 +8,7 @@ import hu.bme.mit.inf.dslreasoner.ecore2logic.Ecore2LogicConfiguration import hu.bme.mit.inf.dslreasoner.ecore2logic.EcoreMetamodelDescriptor import hu.bme.mit.inf.dslreasoner.ecore2logic.ecore2logicannotations.Ecore2logicannotationsFactory import hu.bme.mit.inf.dslreasoner.ecore2logic.ecore2logicannotations.Ecore2logicannotationsPackage +import hu.bme.mit.inf.dslreasoner.logic.model.builder.DocumentationLevel import hu.bme.mit.inf.dslreasoner.logic.model.builder.LogicProblemBuilder import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.TypeDefinition @@ -22,6 +23,7 @@ import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.cardinality.Polyhedr import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.cardinality.PolyhedralScopePropagatorSolver import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.cardinality.ScopePropagatorStrategy import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretation2logic.InstanceModel2Logic +import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.BinaryElementRelationLink import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.PartialComplexTypeInterpretation import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.PartialInterpretation import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.PartialinterpretationPackage @@ -44,8 +46,6 @@ import org.eclipse.viatra.query.runtime.api.ViatraQueryEngineOptions import org.eclipse.viatra.query.runtime.localsearch.matcher.integration.LocalSearchEMFBackendFactory import org.eclipse.viatra.query.runtime.rete.matcher.ReteBackendFactory import org.eclipse.xtend.lib.annotations.FinalFieldsConstructor -import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.RelationDefinition -import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.BinaryElementRelationLink @FinalFieldsConstructor class Modes3ModelGenerator { @@ -92,22 +92,32 @@ class Modes3ModelGenerator { minNewElements = modelSize maxNewElements = modelSize minNewElementsByType => [ - put(ecore2Logic.TypeofEClass(metamodelLogic.trace, Modes3Package.eINSTANCE.turnout), 1) +// put(ecore2Logic.TypeofEClass(metamodelLogic.trace, Modes3Package.eINSTANCE.turnout), 5) ] maxNewElementsByType => [ put(ecore2Logic.TypeofEClass(metamodelLogic.trace, Modes3Package.eINSTANCE.train), 5) + put(ecore2Logic.TypeofEClass(metamodelLogic.trace, Modes3Package.eINSTANCE.turnout), 5) ] ] - solutionScope.numberOfRequiredSolutions = 1 + solutionScope => [ + numberOfRequiredSolutions = 1 + ] + scopeWeight = 5 nameNewElements = false typeInferenceMethod = TypeInferenceMethod.PreliminaryAnalysis - stateCoderStrategy = StateCoderStrategy::Neighbourhood + stateCoderStrategy = StateCoderStrategy.PairwiseNeighbourhood scopePropagatorStrategy = new ScopePropagatorStrategy.Polyhedral( PolyhedralScopePropagatorConstraints.Relational, PolyhedralScopePropagatorSolver.Clp) -// unitPropagationPatternGenerators += new Modes3UnitPropagationGenerator(ecore2Logic, metamodelLogic.trace) - debugConfiguration.partialInterpretatioVisualiser = null + hints += new Modes3TypeScopeHint(ecore2Logic, metamodelLogic.trace) + unitPropagationPatternGenerators += new Modes3UnitPropagationGenerator(ecore2Logic, metamodelLogic.trace) + debugConfiguration => [ + partialInterpretatioVisualiser = new GraphvizVisualiser +// partalInterpretationVisualisationFrequency = 50 + ] + documentationLevel = DocumentationLevel.NORMAL ] val workspace = new FileSystemWorkspace("output/", "") + workspace.writeModel(logic.output, "problem.logicproblem") val solution = solver.solve(logic.output, config, workspace) if (solution instanceof ModelResult) { println("Saving generated solutions") @@ -122,7 +132,6 @@ class Modes3ModelGenerator { workspace.writeText('''solution«representationNumber».gml''', gml) if (representation.newElements.size < 160) { if (representation instanceof PartialInterpretation) { - representation.problem.types.forEach[println(name)] val rootType = (representation.problem.types.findFirst [ name == "Modes3ModelRoot class DefinedPart" ] as TypeDefinition) @@ -198,10 +207,7 @@ class Modes3ModelGenerator { PartialinterpretationPackage.eINSTANCE.class Ecore2logicannotationsPackage.eINSTANCE.class Viatra2LogicAnnotationsPackage.eINSTANCE.class - Resource.Factory.Registry.INSTANCE.extensionToFactoryMap.put("ecore", new XMIResourceFactoryImpl) - Resource.Factory.Registry.INSTANCE.extensionToFactoryMap.put("logicproblem", new XMIResourceFactoryImpl) - Resource.Factory.Registry.INSTANCE.extensionToFactoryMap.put("partialinterpretation", - new XMIResourceFactoryImpl) + Resource.Factory.Registry.INSTANCE.extensionToFactoryMap.put("*", new XMIResourceFactoryImpl) } def static void main(String[] args) { diff --git a/Domains/ca.mcgill.rtgmrt.example.modes3/src/modes3/run/Modes3TypeScopeHint.xtend b/Domains/ca.mcgill.rtgmrt.example.modes3/src/modes3/run/Modes3TypeScopeHint.xtend new file mode 100644 index 00000000..94e5eb08 --- /dev/null +++ b/Domains/ca.mcgill.rtgmrt.example.modes3/src/modes3/run/Modes3TypeScopeHint.xtend @@ -0,0 +1,79 @@ +package modes3.run + +import hu.bme.mit.inf.dslreasoner.ecore2logic.Ecore2Logic +import hu.bme.mit.inf.dslreasoner.ecore2logic.Ecore2Logic_Trace +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Type +import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.Modality +import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.cardinality.LinearTypeConstraintHint +import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.cardinality.LinearTypeExpressionBuilderFactory +import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.patterns.PatternGenerator +import java.util.Map +import modes3.Modes3Package +import modes3.queries.Adjacent +import org.eclipse.viatra.query.runtime.api.IPatternMatch +import org.eclipse.viatra.query.runtime.api.ViatraQueryMatcher +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PQuery +import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.PartialInterpretation + +class Modes3TypeScopeHint implements LinearTypeConstraintHint { + static val TURNOUT_NEIGHBOR_COUNT = "turnoutNeighborCount" + + val Type segmentType + val Type turnoutType + + new(extension Ecore2Logic ecore2Logic, Ecore2Logic_Trace ecore2LogicTrace) { + extension val Modes3Package = Modes3Package.eINSTANCE + segmentType = ecore2LogicTrace.TypeofEClass(segment) + turnoutType = ecore2LogicTrace.TypeofEClass(turnout) + } + + override getAdditionalPatterns(extension PatternGenerator patternGenerator, Map fqnToPQuery) { + ''' + pattern «TURNOUT_NEIGHBOR_COUNT»_helper(problem: LogicProblem, interpretation: PartialInterpretation, source: DefinedElement, target: DefinedElement) { + find interpretation(problem, interpretation); + find mustExist(problem, interpretation, source); + find mustExist(problem, interpretation, target); + «typeIndexer.referInstanceOf(turnoutType, Modality.MUST, "source")» + «typeIndexer.referInstanceOf(segmentType, Modality.MUST, "target")» + «relationDefinitionIndexer.referPattern(fqnToPQuery.get(Adjacent.instance.fullyQualifiedName), #["source", "target"], Modality.MUST, true, false)» + } + + pattern «TURNOUT_NEIGHBOR_COUNT»(problem: LogicProblem, interpretation: PartialInterpretation, element: DefinedElement, N) { + find interpretation(problem, interpretation); + find mustExist(problem, interpretation, element); + «typeIndexer.referInstanceOf(turnoutType, Modality.MUST, "element")» + N == count find «TURNOUT_NEIGHBOR_COUNT»_helper(problem, interpretation, element, _); + } + ''' + } + + override createConstraintUpdater(LinearTypeExpressionBuilderFactory builderFactory) { + val turnoutNeighborCountMatcher = builderFactory.createMatcher(TURNOUT_NEIGHBOR_COUNT) + val newNeighbors = builderFactory.createBuilder.add(1, segmentType).build + + return [ partialInterpretation | + val requiredNeighbbors = turnoutNeighborCountMatcher.getRemainingCount(partialInterpretation, 3) + newNeighbors.tightenLowerBound(requiredNeighbbors) + ] + } + + private static def getRemainingCount(ViatraQueryMatcher matcher, + PartialInterpretation partialInterpretation, int capacity) { + val partialMatch = matcher.newEmptyMatch + partialMatch.set(0, partialInterpretation.problem) + partialMatch.set(1, partialInterpretation) + val iterator = matcher.streamAllMatches(partialMatch).iterator + var int max = 0 + while (iterator.hasNext) { + val match = iterator.next + val n = (match.get(3) as Integer).intValue + if (n < capacity) { + val required = capacity - n + if (max < required) { + max = required + } + } + } + max + } +} diff --git a/Domains/ca.mcgill.rtgmrt.example.modes3/src/modes3/run/Modes3UnitPropagationGenerator.xtend b/Domains/ca.mcgill.rtgmrt.example.modes3/src/modes3/run/Modes3UnitPropagationGenerator.xtend index 61bd2814..953a21d4 100644 --- a/Domains/ca.mcgill.rtgmrt.example.modes3/src/modes3/run/Modes3UnitPropagationGenerator.xtend +++ b/Domains/ca.mcgill.rtgmrt.example.modes3/src/modes3/run/Modes3UnitPropagationGenerator.xtend @@ -9,20 +9,21 @@ import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.patterns.PatternGene import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.patterns.UnitPropagationPatternGenerator import java.util.Map import modes3.Modes3Package -import modes3.queries.ExtraInputOfTurnout +import modes3.queries.Adjacent import modes3.queries.Output -import modes3.queries.TurnoutOutput import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PQuery import org.eclipse.xtend2.lib.StringConcatenationClient class Modes3UnitPropagationGenerator implements UnitPropagationPatternGenerator { static val MUST_NOT_CONNECTED_TO = "mustNotConnectedTo" - static val MUST_NOT_CONNECTED_TO_HELPER = "mustNotConnectedTo_helper" - static val MUST_NOT_TURNOUT_OUTPUT = "mustNotTurnoutOutput" static val MUST_NOT_STRAIGHT = "mustNotStraight" static val MUST_NOT_DIVERGENT = "mustNotDivergent" + static val MUST_CONNECTED_TO = "mustConnectedTo" + static val MUST_STRAIGHT = "mustStraight" + static val MUST_DIVERGENT = "mustDivergent" val Type segmentType + val Type simpleSegmentType val Type turnoutType val Relation connectedToRelation val Relation straightRelation @@ -31,6 +32,7 @@ class Modes3UnitPropagationGenerator implements UnitPropagationPatternGenerator new(extension Ecore2Logic ecore2Logic, Ecore2Logic_Trace ecore2LogicTrace) { extension val Modes3Package = Modes3Package.eINSTANCE segmentType = ecore2LogicTrace.TypeofEClass(segment) + simpleSegmentType = ecore2LogicTrace.TypeofEClass(simpleSegment) turnoutType = ecore2LogicTrace.TypeofEClass(turnout) connectedToRelation = ecore2LogicTrace.relationOfReference(segment_ConnectedTo) straightRelation = ecore2LogicTrace.relationOfReference(turnout_Straight) @@ -38,7 +40,11 @@ class Modes3UnitPropagationGenerator implements UnitPropagationPatternGenerator } override getMustPatterns() { - emptyMap + #{ + connectedToRelation -> MUST_CONNECTED_TO, + straightRelation -> MUST_STRAIGHT, + divergentRelation -> MUST_DIVERGENT + } } override getMustNotPatterns() { @@ -55,150 +61,356 @@ class Modes3UnitPropagationGenerator implements UnitPropagationPatternGenerator source: DefinedElement, target: DefinedElement ''' - val StringConcatenationClient commonParameterConstraints = ''' + val StringConcatenationClient commonMustParameterConstraints = ''' find interpretation(problem, interpretation); find mustExist(problem, interpretation, source); find mustExist(problem, interpretation, target); ''' + + val StringConcatenationClient commonMayParameterConstraints = ''' + find interpretation(problem, interpretation); + find mayExist(problem, interpretation, source); + find mayExist(problem, interpretation, target); + ''' ''' - pattern «MUST_NOT_CONNECTED_TO_HELPER»(«parameters») { - // connectedToReflexive unit propagation - «commonParameterConstraints» - «typeIndexer.referInstanceOf(segmentType, Modality.MUST, "source")» - «typeIndexer.referInstanceOf(segmentType, Modality.MUST, "target")» - source == target; + pattern mayInput(«parameters») { + «commonMayParameterConstraints» + «typeIndexer.referInstanceOf(segmentType, Modality.MAY, "target")» + «relationDefinitionIndexer.referPattern(fqnToPQuery.get(Adjacent.instance.fullyQualifiedName), #["target", "source"], Modality.MAY, true, false)» + neg «referRelation(straightRelation, "target", "source", Modality.MUST, fqnToPQuery)» + neg «referRelation(straightRelation, "target", "source", Modality.MUST, fqnToPQuery)» + } + + pattern multipleMayInput(problem: LogicProblem, interpretation: PartialInterpretation, + target: DefinedElement) { + find interpretation(problem, interpretation); + find mustExist(problem, interpretation, target); + find mayInput(problem, interpretaton, source1, target); + find mayInput(problem, interpretaton, source2, target); + neg find mustEquivalent(problem, interpretation, source1, source2); + } + + pattern multipleMayStraight(problem: LogicProblem, interpretation: PartialInterpretation, + source: DefinedElement) { + find interpretation(problem, interpretation); + find mustExist(problem, interpretation, source); + «typeIndexer.referInstanceOf(turnoutType, Modality.MAY, "source")» + «referRelation(straightRelation, "source", "target1", Modality.MAY, fqnToPQuery)» + «referRelation(straightRelation, "source", "target2", Modality.MAY, fqnToPQuery)» + neg find mustEquivalent(problem, interpretation, target1, target2); + } + + pattern multipleMayDivergent(problem: LogicProblem, interpretation: PartialInterpretation, + source: DefinedElement) { + find interpretation(problem, interpretation); + find mustExist(problem, interpretation, source); + «typeIndexer.referInstanceOf(turnoutType, Modality.MAY, "source")» + «referRelation(divergentRelation, "source", "target1", Modality.MAY, fqnToPQuery)» + «referRelation(divergentRelation, "source", "target2", Modality.MAY, fqnToPQuery)» + neg find mustEquivalent(problem, interpretation, target1, target2); + } + + pattern «MUST_CONNECTED_TO»(«parameters») { + «commonMustParameterConstraints» + «typeIndexer.referInstanceOf(segmentType, Modality.MAY, "target")» + find mayInput(problem, interpretaton, source, target); + neg find multipleMayInput(problem, interpretaton, target); + «referRelation(connectedToRelation, "source", "target", Modality.MAY, fqnToPQuery)» + neg «referRelation(connectedToRelation, "source", "target", Modality.MUST, fqnToPQuery)» + neg «referRelation(straightRelation, "source", "target", Modality.MAY, fqnToPQuery)» + neg «referRelation(divergentRelation, "source", "target", Modality.MAY, fqnToPQuery)» + } + + pattern «MUST_STRAIGHT»(«parameters») { + «commonMustParameterConstraints» + neg «referRelation(straightRelation, "source", "_", Modality.MUST, fqnToPQuery)» + neg find multipleMayStraight(problem, interpretation, source); + «referRelation(straightRelation, "source", "target", Modality.MAY, fqnToPQuery)» + neg «referRelation(straightRelation, "source", "target", Modality.MUST, fqnToPQuery)» } or { - // tooManyInputsOfSegment unit propagation - «commonParameterConstraints» + «commonMustParameterConstraints» + «typeIndexer.referInstanceOf(segmentType, Modality.MAY, "target")» + find mayInput(problem, interpretaton, source, target); + neg find multipleMayInput(problem, interpretaton, target); + neg «referRelation(connectedToRelation, "source", "target", Modality.MAY, fqnToPQuery)» + «referRelation(straightRelation, "source", "target", Modality.MAY, fqnToPQuery)» + neg «referRelation(straightRelation, "source", "target", Modality.MUST, fqnToPQuery)» + neg «referRelation(divergentRelation, "source", "target", Modality.MAY, fqnToPQuery)» + } + + pattern «MUST_DIVERGENT»(«parameters») { + «commonMustParameterConstraints» + neg «referRelation(divergentRelation, "source", "_", Modality.MUST, fqnToPQuery)» + neg find multipleMayDivergent(problem, interpretation, source); + «referRelation(divergentRelation, "source", "target", Modality.MAY, fqnToPQuery)» + neg «referRelation(divergentRelation, "source", "target", Modality.MUST, fqnToPQuery)» + } or { + «commonMustParameterConstraints» + «typeIndexer.referInstanceOf(segmentType, Modality.MAY, "target")» + find mayInput(problem, interpretaton, source, target); + neg find multipleMayInput(problem, interpretaton, target); + neg «referRelation(connectedToRelation, "source", "target", Modality.MAY, fqnToPQuery)» + neg «referRelation(straightRelation, "source", "target", Modality.MAY, fqnToPQuery)» + «referRelation(divergentRelation, "source", "target", Modality.MAY, fqnToPQuery)» + neg «referRelation(divergentRelation, "source", "target", Modality.MUST, fqnToPQuery)» + } + + pattern turnoutOutput_must_to_true_by_straight(«parameters», T : DefinedElement, S : DefinedElement) { + «commonMayParameterConstraints» + «typeIndexer.referInstanceOf(turnoutType, Modality.MAY, "source")» + «typeIndexer.referInstanceOf(segmentType, Modality.MAY, "target")» + T == source; + S == target; + } + + pattern turnoutOutput_must_to_true_by_divergent(«parameters», T : DefinedElement, S : DefinedElement) { + «commonMayParameterConstraints» + «typeIndexer.referInstanceOf(turnoutType, Modality.MAY, "source")» + «typeIndexer.referInstanceOf(segmentType, Modality.MAY, "target")» + T == source; + S == target; + } + + pattern output_must_to_true_by_connectedTo(«parameters», S1 : DefinedElement, S2 : DefinedElement) { + «commonMayParameterConstraints» + «typeIndexer.referInstanceOf(segmentType, Modality.MAY, "source")» + «typeIndexer.referInstanceOf(segmentType, Modality.MAY, "target")» + S1 == source; + S2 == target; + } + + pattern output_must_to_true_by_straight(«parameters», S1 : DefinedElement, S2 : DefinedElement) { + find turnoutOutput_must_to_true_by_straight(problem, interpretation, source, target, S1, S2); + } + + pattern output_must_to_true_by_divergent(«parameters», S1 : DefinedElement, S2 : DefinedElement) { + find turnoutOutput_must_to_true_by_divergent(problem, interpretation, source, target, S1, S2); + } + + pattern adjacent_must_to_true_by_connectedTo(«parameters», S1 : DefinedElement, S2 : DefinedElement) { + find output_must_to_true_by_connectedTo(problem, interpretation, source, target, S1, S2); + } + + pattern adjacent_must_to_true_by_straight(«parameters», S1 : DefinedElement, S2 : DefinedElement) { + find output_must_to_true_by_straight(problem, interpretation, source, target, S1, S2); + } or { + find turnoutOutput_must_to_true_by_straight(problem, interpretation, source, target, S2, S1); + } + + pattern adjacent_must_to_true_by_divergent(«parameters», S1 : DefinedElement, S2 : DefinedElement) { + find output_must_to_true_by_divergent(problem, interpretation, source, target, S1, S2); + } or { + find turnoutOutput_must_to_true_by_divergent(problem, interpretation, source, target, S2, S1); + } + + pattern connectedToReflexive_must_to_true_by_connectedTo(«parameters», S : DefinedElement) { + find mustExist(problem, interpretation, source); «typeIndexer.referInstanceOf(segmentType, Modality.MUST, "source")» - «typeIndexer.referInstanceOf(segmentType, Modality.MUST, "target")» - «typeIndexer.referInstanceOf(segmentType, Modality.MUST, "input1")» - «typeIndexer.referInstanceOf(segmentType, Modality.MUST, "input2")» - neg «typeIndexer.referInstanceOf(turnoutType, Modality.MAY, "source")» - «relationDefinitionIndexer.referPattern(fqnToPQuery.get(Output.instance.fullyQualifiedName), #["input1", "source"], Modality.MUST, true, false)» - «relationDefinitionIndexer.referPattern(fqnToPQuery.get(Output.instance.fullyQualifiedName), #["input2", "source"], Modality.MUST, true, false)» - input1 != input2; - input1 != target; - input2 != target; - } or { - // turnoutConnectedToBothOutputs unit propagation 1 - «commonParameterConstraints» - «typeIndexer.referInstanceOf(turnoutType, Modality.MUST, "source")» - «typeIndexer.referInstanceOf(segmentType, Modality.MUST, "target")» - «typeIndexer.referInstanceOf(segmentType, Modality.MUST, "divergent")» - «referRelation(straightRelation, "source", "target", Modality.MUST, fqnToPQuery)» - «referRelation(divergentRelation, "source", "divergent", Modality.MUST, fqnToPQuery)» - «referRelation(connectedToRelation, "source", "divergent", Modality.MUST, fqnToPQuery)» - } or { - // turnoutConnectedToBothOutputs unit propagation 2 - «commonParameterConstraints» - «typeIndexer.referInstanceOf(turnoutType, Modality.MUST, "source")» - «typeIndexer.referInstanceOf(segmentType, Modality.MUST, "target")» - «typeIndexer.referInstanceOf(segmentType, Modality.MUST, "straight")» - «referRelation(straightRelation, "source", "straight", Modality.MUST, fqnToPQuery)» - «referRelation(divergentRelation, "source", "target", Modality.MUST, fqnToPQuery)» - «referRelation(connectedToRelation, "source", "straight", Modality.MUST, fqnToPQuery)» - } or { - // tooManyExtraInputsOfTurnout unit propagation - «commonParameterConstraints» - «typeIndexer.referInstanceOf(turnoutType, Modality.MUST, "source")» - «typeIndexer.referInstanceOf(segmentType, Modality.MUST, "target")» - «typeIndexer.referInstanceOf(segmentType, Modality.MUST, "extraInput")» - «relationDefinitionIndexer.referPattern(fqnToPQuery.get(TurnoutOutput.instance.fullyQualifiedName), #["source", "target"], Modality.MAY, false, false)» - «relationDefinitionIndexer.referPattern(fqnToPQuery.get(ExtraInputOfTurnout.instance.fullyQualifiedName), #["source", "extraInput"], Modality.MUST, true, false)» - target != extraInput; + S == source; + S == target; } - pattern «MUST_NOT_CONNECTED_TO»(«parameters») { - find «MUST_NOT_CONNECTED_TO_HELPER»(problem, interpretation, source, target); + pattern outputReflexive_must_to_true_by_straight(«parameters», T : DefinedElement) { + find turnoutOutput_must_to_true_by_straight(problem, interpretation, source, target, T, T); + } + + pattern outputReflexive_must_to_true_by_divergent(«parameters», T : DefinedElement) { + find turnoutOutput_must_to_true_by_divergent(problem, interpretation, source, target, T, T); + } + + pattern turnoutOutputsAreSame_must_to_true_by_straight(«parameters», T : DefinedElement) { + «commonMayParameterConstraints» + «typeIndexer.referInstanceOf(turnoutType, Modality.MAY, "source")» + «typeIndexer.referInstanceOf(segmentType, Modality.MAY, "target")» + T == source; + S == target; + «referRelation(divergentRelation, "T", "S", Modality.MUST, fqnToPQuery)» + } + + pattern turnoutOutputsAreSame_must_to_true_by_divergent(«parameters», T : DefinedElement) { + «commonMayParameterConstraints» + «typeIndexer.referInstanceOf(turnoutType, Modality.MAY, "source")» + «typeIndexer.referInstanceOf(segmentType, Modality.MAY, "target")» + T == source; + S == target; + «referRelation(straightRelation, "T", "S", Modality.MUST, fqnToPQuery)» + } + + pattern tooManyInputsOfSegment_must_to_true_by_connectedTo(«parameters», S : DefinedElement) { + find mustExist(problem, interpretation, S); + «typeIndexer.referInstanceOf(simpleSegmentType, Modality.MUST, "S")» + find output_must_to_true_by_connectedTo(problem, interpretation, source, target, I1, S); + «relationDefinitionIndexer.referPattern(fqnToPQuery.get(Output.instance.fullyQualifiedName), #["I2", "S"], Modality.MUST, true, false)» + «relationDefinitionIndexer.referPattern(fqnToPQuery.get(Output.instance.fullyQualifiedName), #["I3", "S"], Modality.MUST, true, false)» + I1 != I2; + I1 != I3; + I2 != I3; + } + + pattern tooManyInputsOfSegment_must_to_true_by_straight(«parameters», S : DefinedElement) { + find mustExist(problem, interpretation, S); + «typeIndexer.referInstanceOf(simpleSegmentType, Modality.MUST, "S")» + find output_must_to_true_by_straight(problem, interpretation, source, target, I1, S); + «relationDefinitionIndexer.referPattern(fqnToPQuery.get(Output.instance.fullyQualifiedName), #["I2", "S"], Modality.MUST, true, false)» + «relationDefinitionIndexer.referPattern(fqnToPQuery.get(Output.instance.fullyQualifiedName), #["I3", "S"], Modality.MUST, true, false)» + I1 != I2; + I1 != I3; + I2 != I3; + } + + pattern tooManyInputsOfSegment_must_to_true_by_divergent(«parameters», S : DefinedElement) { + find mustExist(problem, interpretation, S); + «typeIndexer.referInstanceOf(simpleSegmentType, Modality.MUST, "S")» + find output_must_to_true_by_divergent(problem, interpretation, source, target, I1, S); + «relationDefinitionIndexer.referPattern(fqnToPQuery.get(Output.instance.fullyQualifiedName), #["I2", "S"], Modality.MUST, true, false)» + «relationDefinitionIndexer.referPattern(fqnToPQuery.get(Output.instance.fullyQualifiedName), #["I3", "S"], Modality.MUST, true, false)» + I1 != I2; + I1 != I3; + I2 != I3; + } + + pattern turnoutConnectedToBothOutputs_must_to_true_by_connectedTo(«parameters», T : DefinedElement) { + «commonMayParameterConstraints» + find mustExist(problem, interpretation, Straight); + find mustExist(problem, interpretation, Divergent); + «typeIndexer.referInstanceOf(turnoutType, Modality.MAY, "source")» + «typeIndexer.referInstanceOf(segmentType, Modality.MAY, "target")» + «typeIndexer.referInstanceOf(segmentType, Modality.MUST, "Straight")» + «typeIndexer.referInstanceOf(segmentType, Modality.MUST, "Divergent")» + «referRelation(straightRelation, "T", "Straight", Modality.MUST, fqnToPQuery)» + «referRelation(divergentRelation, "T", "Divergent", Modality.MUST, fqnToPQuery)» + T == source; + Straight == target; + «referRelation(connectedToRelation, "T", "Divergent", Modality.MUST, fqnToPQuery)» } or { - find «MUST_NOT_CONNECTED_TO_HELPER»(problem, interpretation, target, source); + «commonMayParameterConstraints» + find mustExist(problem, interpretation, Straight); + find mustExist(problem, interpretation, Divergent); + «typeIndexer.referInstanceOf(turnoutType, Modality.MAY, "source")» + «typeIndexer.referInstanceOf(segmentType, Modality.MAY, "target")» + «typeIndexer.referInstanceOf(segmentType, Modality.MUST, "Straight")» + «typeIndexer.referInstanceOf(segmentType, Modality.MUST, "Divergent")» + «referRelation(straightRelation, "T", "Straight", Modality.MUST, fqnToPQuery)» + «referRelation(divergentRelation, "T", "Divergent", Modality.MUST, fqnToPQuery)» + «referRelation(connectedToRelation, "T", "Straight", Modality.MUST, fqnToPQuery)» + T == source; + Straight == target; } - pattern «MUST_NOT_TURNOUT_OUTPUT»(«parameters») { - // outputReflexive unit propagation - «commonParameterConstraints» - «typeIndexer.referInstanceOf(turnoutType, Modality.MUST, "source")» - «typeIndexer.referInstanceOf(turnoutType, Modality.MUST, "target")» - source == target; + pattern turnoutConnectedToBothOutputs_must_to_true_by_straight(«parameters», T : DefinedElement) { + «commonMayParameterConstraints» + find mustExist(problem, interpretation, Straight); + find mustExist(problem, interpretation, Divergent); + «typeIndexer.referInstanceOf(turnoutType, Modality.MAY, "source")» + «typeIndexer.referInstanceOf(segmentType, Modality.MAY, "target")» + «typeIndexer.referInstanceOf(segmentType, Modality.MUST, "Straight")» + «typeIndexer.referInstanceOf(segmentType, Modality.MUST, "Divergent")» + T == source; + Straight == target; + «referRelation(divergentRelation, "T", "Divergent", Modality.MUST, fqnToPQuery)» + «referRelation(connectedToRelation, "T", "Straight", Modality.MUST, fqnToPQuery)» + «referRelation(connectedToRelation, "T", "Divergent", Modality.MUST, fqnToPQuery)» + } + + pattern turnoutConnectedToBothOutputs_must_to_true_by_divergent(«parameters», T : DefinedElement) { + «commonMayParameterConstraints» + find mustExist(problem, interpretation, Straight); + find mustExist(problem, interpretation, Divergent); + «typeIndexer.referInstanceOf(turnoutType, Modality.MAY, "source")» + «typeIndexer.referInstanceOf(segmentType, Modality.MAY, "target")» + «typeIndexer.referInstanceOf(segmentType, Modality.MUST, "Straight")» + «typeIndexer.referInstanceOf(segmentType, Modality.MUST, "Divergent")» + «referRelation(straightRelation, "T", "Straight", Modality.MUST, fqnToPQuery)» + T == source; + Divergent == target; + «referRelation(connectedToRelation, "T", "Straight", Modality.MUST, fqnToPQuery)» + «referRelation(connectedToRelation, "T", "Divergent", Modality.MUST, fqnToPQuery)» + } + + pattern tooManyInputsOfTurnout_must_to_true_by_connectedTo(«parameters», T : DefinedElement) { + find mustExist(problem, interpretation, S); + «typeIndexer.referInstanceOf(turnoutType, Modality.MUST, "S")» + find adjacent_must_to_true_by_connectedTo(problem, interpretation, source, target, I1, S); + «relationDefinitionIndexer.referPattern(fqnToPQuery.get(Adjacent.instance.fullyQualifiedName), #["I2", "S"], Modality.MUST, true, false)» + «relationDefinitionIndexer.referPattern(fqnToPQuery.get(Adjacent.instance.fullyQualifiedName), #["I3", "S"], Modality.MUST, true, false)» + «relationDefinitionIndexer.referPattern(fqnToPQuery.get(Adjacent.instance.fullyQualifiedName), #["I4", "S"], Modality.MUST, true, false)» + I1 != I2; + I1 != I3; + I1 != I4; + I2 != I3; + I2 != I4; + I3 != I4; + } + + pattern tooManyInputsOfTurnout_must_to_true_by_straight(«parameters», T : DefinedElement) { + find mustExist(problem, interpretation, S); + «typeIndexer.referInstanceOf(turnoutType, Modality.MUST, "S")» + find adjacent_must_to_true_by_straight(problem, interpretation, source, target, I1, S); + «relationDefinitionIndexer.referPattern(fqnToPQuery.get(Adjacent.instance.fullyQualifiedName), #["I2", "S"], Modality.MUST, true, false)» + «relationDefinitionIndexer.referPattern(fqnToPQuery.get(Adjacent.instance.fullyQualifiedName), #["I3", "S"], Modality.MUST, true, false)» + «relationDefinitionIndexer.referPattern(fqnToPQuery.get(Adjacent.instance.fullyQualifiedName), #["I4", "S"], Modality.MUST, true, false)» + I1 != I2; + I1 != I3; + I1 != I4; + I2 != I3; + I2 != I4; + I3 != I4; + } + + pattern tooManyInputsOfTurnout_must_to_true_by_divergent(«parameters», T : DefinedElement) { + find mustExist(problem, interpretation, S); + «typeIndexer.referInstanceOf(turnoutType, Modality.MUST, "S")» + find adjacent_must_to_true_by_divergent(problem, interpretation, source, target, I1, S); + «relationDefinitionIndexer.referPattern(fqnToPQuery.get(Adjacent.instance.fullyQualifiedName), #["I2", "S"], Modality.MUST, true, false)» + «relationDefinitionIndexer.referPattern(fqnToPQuery.get(Adjacent.instance.fullyQualifiedName), #["I3", "S"], Modality.MUST, true, false)» + «relationDefinitionIndexer.referPattern(fqnToPQuery.get(Adjacent.instance.fullyQualifiedName), #["I4", "S"], Modality.MUST, true, false)» + I1 != I2; + I1 != I3; + I1 != I4; + I2 != I3; + I2 != I4; + I3 != I4; + } + + pattern «MUST_NOT_CONNECTED_TO»_helper(«parameters») { + find connectedToReflexive_must_to_true_by_connectedTo(problem, interpretation, source, target, _); } or { - // tooManyInputsOfSegment unit propagation - «commonParameterConstraints» - «typeIndexer.referInstanceOf(turnoutType, Modality.MUST, "source")» - «typeIndexer.referInstanceOf(segmentType, Modality.MUST, "target")» - «typeIndexer.referInstanceOf(segmentType, Modality.MUST, "input1")» - «typeIndexer.referInstanceOf(segmentType, Modality.MUST, "input2")» - neg «typeIndexer.referInstanceOf(turnoutType, Modality.MAY, "target")» - «relationDefinitionIndexer.referPattern(fqnToPQuery.get(Output.instance.fullyQualifiedName), #["input1", "target"], Modality.MUST, true, false)» - «relationDefinitionIndexer.referPattern(fqnToPQuery.get(Output.instance.fullyQualifiedName), #["input2", "target"], Modality.MUST, true, false)» - input1 != input2; - input1 != source; - input2 != source; + find tooManyInputsOfSegment_must_to_true_by_connectedTo(problem, interpretation, source, target, _); + } or { + find turnoutConnectedToBothOutputs_must_to_true_by_connectedTo(problem, interpretation, source, target, _); + } or { + find tooManyInputsOfTurnout_must_to_true_by_connectedTo(problem, interpretation, source, target, _); + } + + pattern «MUST_NOT_CONNECTED_TO»(«parameters») { + find «MUST_NOT_CONNECTED_TO»_helper(problem, interpretation, source, target); + } or { + find «MUST_NOT_CONNECTED_TO»_helper(problem, interpretation, target, source); } pattern «MUST_NOT_STRAIGHT»(«parameters») { - find «MUST_NOT_TURNOUT_OUTPUT»(problem, interpretation, source, target); - } or { - // turnoutOutputsAreSame unit propagation - «commonParameterConstraints» - «typeIndexer.referInstanceOf(turnoutType, Modality.MUST, "source")» - «typeIndexer.referInstanceOf(segmentType, Modality.MUST, "target")» - «referRelation(divergentRelation, "source", "target", Modality.MUST, fqnToPQuery)» - } or { - // turnoutConnectedToBothOutputs unit propagation - «commonParameterConstraints» - «typeIndexer.referInstanceOf(turnoutType, Modality.MUST, "source")» - «typeIndexer.referInstanceOf(segmentType, Modality.MUST, "target")» - «typeIndexer.referInstanceOf(turnoutType, Modality.MUST, "divergent")» - «referRelation(connectedToRelation, "source", "target", Modality.MUST, fqnToPQuery)» - «referRelation(divergentRelation, "source", "divergent", Modality.MUST, fqnToPQuery)» - «referRelation(connectedToRelation, "source", "divergent", Modality.MUST, fqnToPQuery)» - } or { - // tooManyExtraInputsOfTurnout unit propagation - «commonParameterConstraints» - «typeIndexer.referInstanceOf(turnoutType, Modality.MUST, "source")» - «typeIndexer.referInstanceOf(segmentType, Modality.MUST, "target")» - «typeIndexer.referInstanceOf(segmentType, Modality.MUST, "extraInput")» - «typeIndexer.referInstanceOf(segmentType, Modality.MUST, "potentialExtraInput")» - «relationDefinitionIndexer.referPattern(fqnToPQuery.get(ExtraInputOfTurnout.instance.fullyQualifiedName), #["source", "extraInput"], Modality.MUST, true, false)» - «referRelation(connectedToRelation, "source", "potentialExtraInput", Modality.MUST, fqnToPQuery)» - neg «referRelation(divergentRelation, "source", "potentialExtraInput", Modality.MAY, fqnToPQuery)» - extraInput != potentialExtraInput; - extraInput != target; - potentialExtraInput != target; + find outputReflexive_must_to_true_by_straight(problem, interpretation, source, target, _); + } or { + find turnoutOutputsAreSame_must_to_true_by_straight(problem, interpretation, source, target, _); + } or { + find tooManyInputsOfSegment_must_to_true_by_straight(problem, interpretation, source, target, _); + } or { + find turnoutConnectedToBothOutputs_must_to_true_by_straight(problem, interpretation, source, target, _); + } or { + find tooManyInputsOfTurnout_must_to_true_by_straight(problem, interpretation, source, target, _); } pattern «MUST_NOT_DIVERGENT»(«parameters») { - find «MUST_NOT_TURNOUT_OUTPUT»(problem, interpretation, source, target); - } or { - // turnoutOutputsAreSame unit propagation - «commonParameterConstraints» - «typeIndexer.referInstanceOf(turnoutType, Modality.MUST, "source")» - «typeIndexer.referInstanceOf(segmentType, Modality.MUST, "target")» - «referRelation(straightRelation, "source", "target", Modality.MUST, fqnToPQuery)» - } or { - // turnoutConnectedToBothOutputs unit propagation - «commonParameterConstraints» - «typeIndexer.referInstanceOf(turnoutType, Modality.MUST, "source")» - «typeIndexer.referInstanceOf(segmentType, Modality.MUST, "target")» - «typeIndexer.referInstanceOf(turnoutType, Modality.MUST, "straight")» - «referRelation(connectedToRelation, "source", "target", Modality.MUST, fqnToPQuery)» - «referRelation(straightRelation, "source", "straight", Modality.MUST, fqnToPQuery)» - «referRelation(connectedToRelation, "source", "straight", Modality.MUST, fqnToPQuery)» - } or { - // tooManyExtraInputsOfTurnout unit propagation - «commonParameterConstraints» - «typeIndexer.referInstanceOf(turnoutType, Modality.MUST, "source")» - «typeIndexer.referInstanceOf(segmentType, Modality.MUST, "target")» - «typeIndexer.referInstanceOf(segmentType, Modality.MUST, "extraInput")» - «typeIndexer.referInstanceOf(segmentType, Modality.MUST, "potentialExtraInput")» - «relationDefinitionIndexer.referPattern(fqnToPQuery.get(ExtraInputOfTurnout.instance.fullyQualifiedName), #["source", "extraInput"], Modality.MUST, true, false)» - «referRelation(connectedToRelation, "source", "potentialExtraInput", Modality.MUST, fqnToPQuery)» - neg «referRelation(straightRelation, "source", "potentialExtraInput", Modality.MAY, fqnToPQuery)» - extraInput != potentialExtraInput; - extraInput != target; - potentialExtraInput != target; + find outputReflexive_must_to_true_by_divergent(problem, interpretation, source, target, _); + } or { + find turnoutOutputsAreSame_must_to_true_by_divergent(problem, interpretation, source, target, _); + } or { + find tooManyInputsOfSegment_must_to_true_by_divergent(problem, interpretation, source, target, _); + } or { + find turnoutConnectedToBothOutputs_must_to_true_by_divergent(problem, interpretation, source, target, _); + } or { + find tooManyInputsOfTurnout_must_to_true_by_divergent(problem, interpretation, source, target, _); } ''' } diff --git a/Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/.gitignore b/Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/.gitignore index e3a0ad7e..b3e38571 100644 --- a/Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/.gitignore +++ b/Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/.gitignore @@ -24,3 +24,10 @@ /.ExtraInputOfTurnout.java._trace /.NoExtraInputOfTurnout.java._trace /.TooManyExtraInputsOfTurnout.java._trace +/.TooManyInputsOfTurnout.java._trace +/.NonDivergentInputOfTurnout.java._trace +/.NonStraightInputOfTurnout.java._trace +/.TooManyNonDivergentInputsOfTurnout.java._trace +/.TooManyNonStraightInputsOfTurnout.java._trace +/.InputsOfTurnout.java._trace +/.TooFewInputsOfTurnout.java._trace diff --git a/Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/ExtraInputOfTurnout.java b/Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/ExtraInputOfTurnout.java deleted file mode 100644 index 62e2a54d..00000000 --- a/Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/ExtraInputOfTurnout.java +++ /dev/null @@ -1,730 +0,0 @@ -/** - * Generated from platform:/resource/ca.mcgill.rtgmrt.example.modes3/src/modes3/queries/Modes3Queries.vql - */ -package modes3.queries; - -import java.util.Arrays; -import java.util.Collection; -import java.util.LinkedHashSet; -import java.util.List; -import java.util.Objects; -import java.util.Optional; -import java.util.Set; -import java.util.function.Consumer; -import java.util.stream.Collectors; -import java.util.stream.Stream; -import modes3.Segment; -import modes3.Turnout; -import modes3.queries.Output; -import org.apache.log4j.Logger; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.viatra.query.runtime.api.IPatternMatch; -import org.eclipse.viatra.query.runtime.api.IQuerySpecification; -import org.eclipse.viatra.query.runtime.api.ViatraQueryEngine; -import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFPQuery; -import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFQuerySpecification; -import org.eclipse.viatra.query.runtime.api.impl.BaseMatcher; -import org.eclipse.viatra.query.runtime.api.impl.BasePatternMatch; -import org.eclipse.viatra.query.runtime.emf.types.EClassTransitiveInstancesKey; -import org.eclipse.viatra.query.runtime.emf.types.EStructuralFeatureInstancesKey; -import org.eclipse.viatra.query.runtime.matchers.backend.QueryEvaluationHint; -import org.eclipse.viatra.query.runtime.matchers.psystem.PBody; -import org.eclipse.viatra.query.runtime.matchers.psystem.PVariable; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.Equality; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.ExportedParameter; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.Inequality; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicenumerables.PositivePatternCall; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicenumerables.TypeConstraint; -import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameter; -import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameterDirection; -import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PVisibility; -import org.eclipse.viatra.query.runtime.matchers.tuple.Tuple; -import org.eclipse.viatra.query.runtime.matchers.tuple.Tuples; -import org.eclipse.viatra.query.runtime.util.ViatraQueryLoggingUtil; - -/** - * A pattern-specific query specification that can instantiate Matcher in a type-safe way. - * - *

    Original source: - *

    - *         pattern extraInputOfTurnout(T : Turnout, S : Segment) {
    - *         	Turnout.straight(T, Straight);
    - *         	Turnout.divergent(T, Divergent);
    - *         	find output(S, T);
    - *         	S != Straight;
    - *         	S != Divergent;
    - *         }
    - * 
    - * - * @see Matcher - * @see Match - * - */ -@SuppressWarnings("all") -public final class ExtraInputOfTurnout extends BaseGeneratedEMFQuerySpecification { - /** - * Pattern-specific match representation of the modes3.queries.extraInputOfTurnout pattern, - * to be used in conjunction with {@link Matcher}. - * - *

    Class fields correspond to parameters of the pattern. Fields with value null are considered unassigned. - * Each instance is a (possibly partial) substitution of pattern parameters, - * usable to represent a match of the pattern in the result of a query, - * or to specify the bound (fixed) input parameters when issuing a query. - * - * @see Matcher - * - */ - public static abstract class Match extends BasePatternMatch { - private Turnout fT; - - private Segment fS; - - private static List parameterNames = makeImmutableList("T", "S"); - - private Match(final Turnout pT, final Segment pS) { - this.fT = pT; - this.fS = pS; - } - - @Override - public Object get(final String parameterName) { - switch(parameterName) { - case "T": return this.fT; - case "S": return this.fS; - default: return null; - } - } - - @Override - public Object get(final int index) { - switch(index) { - case 0: return this.fT; - case 1: return this.fS; - default: return null; - } - } - - public Turnout getT() { - return this.fT; - } - - public Segment getS() { - return this.fS; - } - - @Override - public boolean set(final String parameterName, final Object newValue) { - if (!isMutable()) throw new java.lang.UnsupportedOperationException(); - if ("T".equals(parameterName) ) { - this.fT = (Turnout) newValue; - return true; - } - if ("S".equals(parameterName) ) { - this.fS = (Segment) newValue; - return true; - } - return false; - } - - public void setT(final Turnout pT) { - if (!isMutable()) throw new java.lang.UnsupportedOperationException(); - this.fT = pT; - } - - public void setS(final Segment pS) { - if (!isMutable()) throw new java.lang.UnsupportedOperationException(); - this.fS = pS; - } - - @Override - public String patternName() { - return "modes3.queries.extraInputOfTurnout"; - } - - @Override - public List parameterNames() { - return ExtraInputOfTurnout.Match.parameterNames; - } - - @Override - public Object[] toArray() { - return new Object[]{fT, fS}; - } - - @Override - public ExtraInputOfTurnout.Match toImmutable() { - return isMutable() ? newMatch(fT, fS) : this; - } - - @Override - public String prettyPrint() { - StringBuilder result = new StringBuilder(); - result.append("\"T\"=" + prettyPrintValue(fT) + ", "); - result.append("\"S\"=" + prettyPrintValue(fS)); - return result.toString(); - } - - @Override - public int hashCode() { - return Objects.hash(fT, fS); - } - - @Override - public boolean equals(final Object obj) { - if (this == obj) - return true; - if (obj == null) { - return false; - } - if ((obj instanceof ExtraInputOfTurnout.Match)) { - ExtraInputOfTurnout.Match other = (ExtraInputOfTurnout.Match) obj; - return Objects.equals(fT, other.fT) && Objects.equals(fS, other.fS); - } else { - // this should be infrequent - if (!(obj instanceof IPatternMatch)) { - return false; - } - IPatternMatch otherSig = (IPatternMatch) obj; - return Objects.equals(specification(), otherSig.specification()) && Arrays.deepEquals(toArray(), otherSig.toArray()); - } - } - - @Override - public ExtraInputOfTurnout specification() { - return ExtraInputOfTurnout.instance(); - } - - /** - * Returns an empty, mutable match. - * Fields of the mutable match can be filled to create a partial match, usable as matcher input. - * - * @return the empty match. - * - */ - public static ExtraInputOfTurnout.Match newEmptyMatch() { - return new Mutable(null, null); - } - - /** - * Returns a mutable (partial) match. - * Fields of the mutable match can be filled to create a partial match, usable as matcher input. - * - * @param pT the fixed value of pattern parameter T, or null if not bound. - * @param pS the fixed value of pattern parameter S, or null if not bound. - * @return the new, mutable (partial) match object. - * - */ - public static ExtraInputOfTurnout.Match newMutableMatch(final Turnout pT, final Segment pS) { - return new Mutable(pT, pS); - } - - /** - * Returns a new (partial) match. - * This can be used e.g. to call the matcher with a partial match. - *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. - * @param pT the fixed value of pattern parameter T, or null if not bound. - * @param pS the fixed value of pattern parameter S, or null if not bound. - * @return the (partial) match object. - * - */ - public static ExtraInputOfTurnout.Match newMatch(final Turnout pT, final Segment pS) { - return new Immutable(pT, pS); - } - - private static final class Mutable extends ExtraInputOfTurnout.Match { - Mutable(final Turnout pT, final Segment pS) { - super(pT, pS); - } - - @Override - public boolean isMutable() { - return true; - } - } - - private static final class Immutable extends ExtraInputOfTurnout.Match { - Immutable(final Turnout pT, final Segment pS) { - super(pT, pS); - } - - @Override - public boolean isMutable() { - return false; - } - } - } - - /** - * Generated pattern matcher API of the modes3.queries.extraInputOfTurnout pattern, - * providing pattern-specific query methods. - * - *

    Use the pattern matcher on a given model via {@link #on(ViatraQueryEngine)}, - * e.g. in conjunction with {@link ViatraQueryEngine#on(QueryScope)}. - * - *

    Matches of the pattern will be represented as {@link Match}. - * - *

    Original source: - *

    -   * pattern extraInputOfTurnout(T : Turnout, S : Segment) {
    -   * 	Turnout.straight(T, Straight);
    -   * 	Turnout.divergent(T, Divergent);
    -   * 	find output(S, T);
    -   * 	S != Straight;
    -   * 	S != Divergent;
    -   * }
    -   * 
    - * - * @see Match - * @see ExtraInputOfTurnout - * - */ - public static class Matcher extends BaseMatcher { - /** - * Initializes the pattern matcher within an existing VIATRA Query engine. - * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. - * - * @param engine the existing VIATRA Query engine in which this matcher will be created. - * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation - * - */ - public static ExtraInputOfTurnout.Matcher on(final ViatraQueryEngine engine) { - // check if matcher already exists - Matcher matcher = engine.getExistingMatcher(querySpecification()); - if (matcher == null) { - matcher = (Matcher)engine.getMatcher(querySpecification()); - } - return matcher; - } - - /** - * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation - * @return an initialized matcher - * @noreference This method is for internal matcher initialization by the framework, do not call it manually. - * - */ - public static ExtraInputOfTurnout.Matcher create() { - return new Matcher(); - } - - private static final int POSITION_T = 0; - - private static final int POSITION_S = 1; - - private static final Logger LOGGER = ViatraQueryLoggingUtil.getLogger(ExtraInputOfTurnout.Matcher.class); - - /** - * Initializes the pattern matcher within an existing VIATRA Query engine. - * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. - * - * @param engine the existing VIATRA Query engine in which this matcher will be created. - * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation - * - */ - private Matcher() { - super(querySpecification()); - } - - /** - * Returns the set of all matches of the pattern that conform to the given fixed values of some parameters. - * @param pT the fixed value of pattern parameter T, or null if not bound. - * @param pS the fixed value of pattern parameter S, or null if not bound. - * @return matches represented as a Match object. - * - */ - public Collection getAllMatches(final Turnout pT, final Segment pS) { - return rawStreamAllMatches(new Object[]{pT, pS}).collect(Collectors.toSet()); - } - - /** - * Returns a stream of all matches of the pattern that conform to the given fixed values of some parameters. - *

    - * NOTE: It is important not to modify the source model while the stream is being processed. - * If the match set of the pattern changes during processing, the contents of the stream is undefined. - * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. - * @param pT the fixed value of pattern parameter T, or null if not bound. - * @param pS the fixed value of pattern parameter S, or null if not bound. - * @return a stream of matches represented as a Match object. - * - */ - public Stream streamAllMatches(final Turnout pT, final Segment pS) { - return rawStreamAllMatches(new Object[]{pT, pS}); - } - - /** - * Returns an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. - * Neither determinism nor randomness of selection is guaranteed. - * @param pT the fixed value of pattern parameter T, or null if not bound. - * @param pS the fixed value of pattern parameter S, or null if not bound. - * @return a match represented as a Match object, or null if no match is found. - * - */ - public Optional getOneArbitraryMatch(final Turnout pT, final Segment pS) { - return rawGetOneArbitraryMatch(new Object[]{pT, pS}); - } - - /** - * Indicates whether the given combination of specified pattern parameters constitute a valid pattern match, - * under any possible substitution of the unspecified parameters (if any). - * @param pT the fixed value of pattern parameter T, or null if not bound. - * @param pS the fixed value of pattern parameter S, or null if not bound. - * @return true if the input is a valid (partial) match of the pattern. - * - */ - public boolean hasMatch(final Turnout pT, final Segment pS) { - return rawHasMatch(new Object[]{pT, pS}); - } - - /** - * Returns the number of all matches of the pattern that conform to the given fixed values of some parameters. - * @param pT the fixed value of pattern parameter T, or null if not bound. - * @param pS the fixed value of pattern parameter S, or null if not bound. - * @return the number of pattern matches found. - * - */ - public int countMatches(final Turnout pT, final Segment pS) { - return rawCountMatches(new Object[]{pT, pS}); - } - - /** - * Executes the given processor on an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. - * Neither determinism nor randomness of selection is guaranteed. - * @param pT the fixed value of pattern parameter T, or null if not bound. - * @param pS the fixed value of pattern parameter S, or null if not bound. - * @param processor the action that will process the selected match. - * @return true if the pattern has at least one match with the given parameter values, false if the processor was not invoked - * - */ - public boolean forOneArbitraryMatch(final Turnout pT, final Segment pS, final Consumer processor) { - return rawForOneArbitraryMatch(new Object[]{pT, pS}, processor); - } - - /** - * Returns a new (partial) match. - * This can be used e.g. to call the matcher with a partial match. - *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. - * @param pT the fixed value of pattern parameter T, or null if not bound. - * @param pS the fixed value of pattern parameter S, or null if not bound. - * @return the (partial) match object. - * - */ - public ExtraInputOfTurnout.Match newMatch(final Turnout pT, final Segment pS) { - return ExtraInputOfTurnout.Match.newMatch(pT, pS); - } - - /** - * Retrieve the set of values that occur in matches for T. - * @return the Set of all values or empty set if there are no matches - * - */ - protected Stream rawStreamAllValuesOfT(final Object[] parameters) { - return rawStreamAllValues(POSITION_T, parameters).map(Turnout.class::cast); - } - - /** - * Retrieve the set of values that occur in matches for T. - * @return the Set of all values or empty set if there are no matches - * - */ - public Set getAllValuesOfT() { - return rawStreamAllValuesOfT(emptyArray()).collect(Collectors.toSet()); - } - - /** - * Retrieve the set of values that occur in matches for T. - * @return the Set of all values or empty set if there are no matches - * - */ - public Stream streamAllValuesOfT() { - return rawStreamAllValuesOfT(emptyArray()); - } - - /** - * Retrieve the set of values that occur in matches for T. - *

    - * NOTE: It is important not to modify the source model while the stream is being processed. - * If the match set of the pattern changes during processing, the contents of the stream is undefined. - * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. - * - * @return the Stream of all values or empty set if there are no matches - * - */ - public Stream streamAllValuesOfT(final ExtraInputOfTurnout.Match partialMatch) { - return rawStreamAllValuesOfT(partialMatch.toArray()); - } - - /** - * Retrieve the set of values that occur in matches for T. - *

    - * NOTE: It is important not to modify the source model while the stream is being processed. - * If the match set of the pattern changes during processing, the contents of the stream is undefined. - * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. - * - * @return the Stream of all values or empty set if there are no matches - * - */ - public Stream streamAllValuesOfT(final Segment pS) { - return rawStreamAllValuesOfT(new Object[]{null, pS}); - } - - /** - * Retrieve the set of values that occur in matches for T. - * @return the Set of all values or empty set if there are no matches - * - */ - public Set getAllValuesOfT(final ExtraInputOfTurnout.Match partialMatch) { - return rawStreamAllValuesOfT(partialMatch.toArray()).collect(Collectors.toSet()); - } - - /** - * Retrieve the set of values that occur in matches for T. - * @return the Set of all values or empty set if there are no matches - * - */ - public Set getAllValuesOfT(final Segment pS) { - return rawStreamAllValuesOfT(new Object[]{null, pS}).collect(Collectors.toSet()); - } - - /** - * Retrieve the set of values that occur in matches for S. - * @return the Set of all values or empty set if there are no matches - * - */ - protected Stream rawStreamAllValuesOfS(final Object[] parameters) { - return rawStreamAllValues(POSITION_S, parameters).map(Segment.class::cast); - } - - /** - * Retrieve the set of values that occur in matches for S. - * @return the Set of all values or empty set if there are no matches - * - */ - public Set getAllValuesOfS() { - return rawStreamAllValuesOfS(emptyArray()).collect(Collectors.toSet()); - } - - /** - * Retrieve the set of values that occur in matches for S. - * @return the Set of all values or empty set if there are no matches - * - */ - public Stream streamAllValuesOfS() { - return rawStreamAllValuesOfS(emptyArray()); - } - - /** - * Retrieve the set of values that occur in matches for S. - *

    - * NOTE: It is important not to modify the source model while the stream is being processed. - * If the match set of the pattern changes during processing, the contents of the stream is undefined. - * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. - * - * @return the Stream of all values or empty set if there are no matches - * - */ - public Stream streamAllValuesOfS(final ExtraInputOfTurnout.Match partialMatch) { - return rawStreamAllValuesOfS(partialMatch.toArray()); - } - - /** - * Retrieve the set of values that occur in matches for S. - *

    - * NOTE: It is important not to modify the source model while the stream is being processed. - * If the match set of the pattern changes during processing, the contents of the stream is undefined. - * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. - * - * @return the Stream of all values or empty set if there are no matches - * - */ - public Stream streamAllValuesOfS(final Turnout pT) { - return rawStreamAllValuesOfS(new Object[]{pT, null}); - } - - /** - * Retrieve the set of values that occur in matches for S. - * @return the Set of all values or empty set if there are no matches - * - */ - public Set getAllValuesOfS(final ExtraInputOfTurnout.Match partialMatch) { - return rawStreamAllValuesOfS(partialMatch.toArray()).collect(Collectors.toSet()); - } - - /** - * Retrieve the set of values that occur in matches for S. - * @return the Set of all values or empty set if there are no matches - * - */ - public Set getAllValuesOfS(final Turnout pT) { - return rawStreamAllValuesOfS(new Object[]{pT, null}).collect(Collectors.toSet()); - } - - @Override - protected ExtraInputOfTurnout.Match tupleToMatch(final Tuple t) { - try { - return ExtraInputOfTurnout.Match.newMatch((Turnout) t.get(POSITION_T), (Segment) t.get(POSITION_S)); - } catch(ClassCastException e) { - LOGGER.error("Element(s) in tuple not properly typed!",e); - return null; - } - } - - @Override - protected ExtraInputOfTurnout.Match arrayToMatch(final Object[] match) { - try { - return ExtraInputOfTurnout.Match.newMatch((Turnout) match[POSITION_T], (Segment) match[POSITION_S]); - } catch(ClassCastException e) { - LOGGER.error("Element(s) in array not properly typed!",e); - return null; - } - } - - @Override - protected ExtraInputOfTurnout.Match arrayToMatchMutable(final Object[] match) { - try { - return ExtraInputOfTurnout.Match.newMutableMatch((Turnout) match[POSITION_T], (Segment) match[POSITION_S]); - } catch(ClassCastException e) { - LOGGER.error("Element(s) in array not properly typed!",e); - return null; - } - } - - /** - * @return the singleton instance of the query specification of this pattern - * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded - * - */ - public static IQuerySpecification querySpecification() { - return ExtraInputOfTurnout.instance(); - } - } - - private ExtraInputOfTurnout() { - super(GeneratedPQuery.INSTANCE); - } - - /** - * @return the singleton instance of the query specification - * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded - * - */ - public static ExtraInputOfTurnout instance() { - try{ - return LazyHolder.INSTANCE; - } catch (ExceptionInInitializerError err) { - throw processInitializerError(err); - } - } - - @Override - protected ExtraInputOfTurnout.Matcher instantiate(final ViatraQueryEngine engine) { - return ExtraInputOfTurnout.Matcher.on(engine); - } - - @Override - public ExtraInputOfTurnout.Matcher instantiate() { - return ExtraInputOfTurnout.Matcher.create(); - } - - @Override - public ExtraInputOfTurnout.Match newEmptyMatch() { - return ExtraInputOfTurnout.Match.newEmptyMatch(); - } - - @Override - public ExtraInputOfTurnout.Match newMatch(final Object... parameters) { - return ExtraInputOfTurnout.Match.newMatch((modes3.Turnout) parameters[0], (modes3.Segment) parameters[1]); - } - - /** - * Inner class allowing the singleton instance of {@link ExtraInputOfTurnout} to be created - * not at the class load time of the outer class, - * but rather at the first call to {@link ExtraInputOfTurnout#instance()}. - * - *

    This workaround is required e.g. to support recursion. - * - */ - private static class LazyHolder { - private static final ExtraInputOfTurnout INSTANCE = new ExtraInputOfTurnout(); - - /** - * Statically initializes the query specification after the field {@link #INSTANCE} is assigned. - * This initialization order is required to support indirect recursion. - * - *

    The static initializer is defined using a helper field to work around limitations of the code generator. - * - */ - private static final Object STATIC_INITIALIZER = ensureInitialized(); - - public static Object ensureInitialized() { - INSTANCE.ensureInitializedInternal(); - return null; - } - } - - private static class GeneratedPQuery extends BaseGeneratedEMFPQuery { - private static final ExtraInputOfTurnout.GeneratedPQuery INSTANCE = new GeneratedPQuery(); - - private final PParameter parameter_T = new PParameter("T", "modes3.Turnout", new EClassTransitiveInstancesKey((EClass)getClassifierLiteralSafe("http://www.ece.mcgill.ca/wcet/modes3", "Turnout")), PParameterDirection.INOUT); - - private final PParameter parameter_S = new PParameter("S", "modes3.Segment", new EClassTransitiveInstancesKey((EClass)getClassifierLiteralSafe("http://www.ece.mcgill.ca/wcet/modes3", "Segment")), PParameterDirection.INOUT); - - private final List parameters = Arrays.asList(parameter_T, parameter_S); - - private GeneratedPQuery() { - super(PVisibility.PUBLIC); - } - - @Override - public String getFullyQualifiedName() { - return "modes3.queries.extraInputOfTurnout"; - } - - @Override - public List getParameterNames() { - return Arrays.asList("T","S"); - } - - @Override - public List getParameters() { - return parameters; - } - - @Override - public Set doGetContainedBodies() { - setEvaluationHints(new QueryEvaluationHint(null, QueryEvaluationHint.BackendRequirement.UNSPECIFIED)); - Set bodies = new LinkedHashSet<>(); - { - PBody body = new PBody(this); - PVariable var_T = body.getOrCreateVariableByName("T"); - PVariable var_S = body.getOrCreateVariableByName("S"); - PVariable var_Straight = body.getOrCreateVariableByName("Straight"); - PVariable var_Divergent = body.getOrCreateVariableByName("Divergent"); - new TypeConstraint(body, Tuples.flatTupleOf(var_T), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.ece.mcgill.ca/wcet/modes3", "Turnout"))); - new TypeConstraint(body, Tuples.flatTupleOf(var_S), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.ece.mcgill.ca/wcet/modes3", "Segment"))); - body.setSymbolicParameters(Arrays.asList( - new ExportedParameter(body, var_T, parameter_T), - new ExportedParameter(body, var_S, parameter_S) - )); - // Turnout.straight(T, Straight) - new TypeConstraint(body, Tuples.flatTupleOf(var_T), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.ece.mcgill.ca/wcet/modes3", "Turnout"))); - PVariable var__virtual_0_ = body.getOrCreateVariableByName(".virtual{0}"); - new TypeConstraint(body, Tuples.flatTupleOf(var_T, var__virtual_0_), new EStructuralFeatureInstancesKey(getFeatureLiteral("http://www.ece.mcgill.ca/wcet/modes3", "Turnout", "straight"))); - new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_0_), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.ece.mcgill.ca/wcet/modes3", "Segment"))); - new Equality(body, var__virtual_0_, var_Straight); - // Turnout.divergent(T, Divergent) - new TypeConstraint(body, Tuples.flatTupleOf(var_T), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.ece.mcgill.ca/wcet/modes3", "Turnout"))); - PVariable var__virtual_1_ = body.getOrCreateVariableByName(".virtual{1}"); - new TypeConstraint(body, Tuples.flatTupleOf(var_T, var__virtual_1_), new EStructuralFeatureInstancesKey(getFeatureLiteral("http://www.ece.mcgill.ca/wcet/modes3", "Turnout", "divergent"))); - new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_1_), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.ece.mcgill.ca/wcet/modes3", "Segment"))); - new Equality(body, var__virtual_1_, var_Divergent); - // find output(S, T) - new PositivePatternCall(body, Tuples.flatTupleOf(var_S, var_T), Output.instance().getInternalQueryRepresentation()); - // S != Straight - new Inequality(body, var_S, var_Straight); - // S != Divergent - new Inequality(body, var_S, var_Divergent); - bodies.add(body); - } - return bodies; - } - } -} diff --git a/Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/InputsOfTurnout.java b/Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/InputsOfTurnout.java new file mode 100644 index 00000000..2f2eea11 --- /dev/null +++ b/Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/InputsOfTurnout.java @@ -0,0 +1,570 @@ +/** + * Generated from platform:/resource/ca.mcgill.rtgmrt.example.modes3/src/modes3/queries/Modes3Queries.vql + */ +package modes3.queries; + +import java.util.Arrays; +import java.util.Collection; +import java.util.LinkedHashSet; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import java.util.Set; +import java.util.function.Consumer; +import java.util.stream.Collectors; +import java.util.stream.Stream; +import modes3.Turnout; +import modes3.queries.Adjacent; +import org.apache.log4j.Logger; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.viatra.query.runtime.api.IPatternMatch; +import org.eclipse.viatra.query.runtime.api.IQuerySpecification; +import org.eclipse.viatra.query.runtime.api.ViatraQueryEngine; +import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFPQuery; +import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFQuerySpecification; +import org.eclipse.viatra.query.runtime.api.impl.BaseMatcher; +import org.eclipse.viatra.query.runtime.api.impl.BasePatternMatch; +import org.eclipse.viatra.query.runtime.emf.types.EClassTransitiveInstancesKey; +import org.eclipse.viatra.query.runtime.matchers.backend.QueryEvaluationHint; +import org.eclipse.viatra.query.runtime.matchers.psystem.PBody; +import org.eclipse.viatra.query.runtime.matchers.psystem.PVariable; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.ExportedParameter; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.Inequality; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicenumerables.PositivePatternCall; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicenumerables.TypeConstraint; +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameter; +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameterDirection; +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PVisibility; +import org.eclipse.viatra.query.runtime.matchers.tuple.Tuple; +import org.eclipse.viatra.query.runtime.matchers.tuple.Tuples; +import org.eclipse.viatra.query.runtime.util.ViatraQueryLoggingUtil; + +/** + * A pattern-specific query specification that can instantiate Matcher in a type-safe way. + * + *

    Original source: + *

    + *         pattern inputsOfTurnout(T : Turnout) {
    + *         	find adjacent(I1, T);
    + *         	find adjacent(I2, T);
    + *         	find adjacent(I3, T);
    + *         	I1 != I2;
    + *         	I1 != I3;
    + *         	I2 != I3;
    + *         }
    + * 
    + * + * @see Matcher + * @see Match + * + */ +@SuppressWarnings("all") +public final class InputsOfTurnout extends BaseGeneratedEMFQuerySpecification { + /** + * Pattern-specific match representation of the modes3.queries.inputsOfTurnout pattern, + * to be used in conjunction with {@link Matcher}. + * + *

    Class fields correspond to parameters of the pattern. Fields with value null are considered unassigned. + * Each instance is a (possibly partial) substitution of pattern parameters, + * usable to represent a match of the pattern in the result of a query, + * or to specify the bound (fixed) input parameters when issuing a query. + * + * @see Matcher + * + */ + public static abstract class Match extends BasePatternMatch { + private Turnout fT; + + private static List parameterNames = makeImmutableList("T"); + + private Match(final Turnout pT) { + this.fT = pT; + } + + @Override + public Object get(final String parameterName) { + switch(parameterName) { + case "T": return this.fT; + default: return null; + } + } + + @Override + public Object get(final int index) { + switch(index) { + case 0: return this.fT; + default: return null; + } + } + + public Turnout getT() { + return this.fT; + } + + @Override + public boolean set(final String parameterName, final Object newValue) { + if (!isMutable()) throw new java.lang.UnsupportedOperationException(); + if ("T".equals(parameterName) ) { + this.fT = (Turnout) newValue; + return true; + } + return false; + } + + public void setT(final Turnout pT) { + if (!isMutable()) throw new java.lang.UnsupportedOperationException(); + this.fT = pT; + } + + @Override + public String patternName() { + return "modes3.queries.inputsOfTurnout"; + } + + @Override + public List parameterNames() { + return InputsOfTurnout.Match.parameterNames; + } + + @Override + public Object[] toArray() { + return new Object[]{fT}; + } + + @Override + public InputsOfTurnout.Match toImmutable() { + return isMutable() ? newMatch(fT) : this; + } + + @Override + public String prettyPrint() { + StringBuilder result = new StringBuilder(); + result.append("\"T\"=" + prettyPrintValue(fT)); + return result.toString(); + } + + @Override + public int hashCode() { + return Objects.hash(fT); + } + + @Override + public boolean equals(final Object obj) { + if (this == obj) + return true; + if (obj == null) { + return false; + } + if ((obj instanceof InputsOfTurnout.Match)) { + InputsOfTurnout.Match other = (InputsOfTurnout.Match) obj; + return Objects.equals(fT, other.fT); + } else { + // this should be infrequent + if (!(obj instanceof IPatternMatch)) { + return false; + } + IPatternMatch otherSig = (IPatternMatch) obj; + return Objects.equals(specification(), otherSig.specification()) && Arrays.deepEquals(toArray(), otherSig.toArray()); + } + } + + @Override + public InputsOfTurnout specification() { + return InputsOfTurnout.instance(); + } + + /** + * Returns an empty, mutable match. + * Fields of the mutable match can be filled to create a partial match, usable as matcher input. + * + * @return the empty match. + * + */ + public static InputsOfTurnout.Match newEmptyMatch() { + return new Mutable(null); + } + + /** + * Returns a mutable (partial) match. + * Fields of the mutable match can be filled to create a partial match, usable as matcher input. + * + * @param pT the fixed value of pattern parameter T, or null if not bound. + * @return the new, mutable (partial) match object. + * + */ + public static InputsOfTurnout.Match newMutableMatch(final Turnout pT) { + return new Mutable(pT); + } + + /** + * Returns a new (partial) match. + * This can be used e.g. to call the matcher with a partial match. + *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. + * @param pT the fixed value of pattern parameter T, or null if not bound. + * @return the (partial) match object. + * + */ + public static InputsOfTurnout.Match newMatch(final Turnout pT) { + return new Immutable(pT); + } + + private static final class Mutable extends InputsOfTurnout.Match { + Mutable(final Turnout pT) { + super(pT); + } + + @Override + public boolean isMutable() { + return true; + } + } + + private static final class Immutable extends InputsOfTurnout.Match { + Immutable(final Turnout pT) { + super(pT); + } + + @Override + public boolean isMutable() { + return false; + } + } + } + + /** + * Generated pattern matcher API of the modes3.queries.inputsOfTurnout pattern, + * providing pattern-specific query methods. + * + *

    Use the pattern matcher on a given model via {@link #on(ViatraQueryEngine)}, + * e.g. in conjunction with {@link ViatraQueryEngine#on(QueryScope)}. + * + *

    Matches of the pattern will be represented as {@link Match}. + * + *

    Original source: + *

    +   * pattern inputsOfTurnout(T : Turnout) {
    +   * 	find adjacent(I1, T);
    +   * 	find adjacent(I2, T);
    +   * 	find adjacent(I3, T);
    +   * 	I1 != I2;
    +   * 	I1 != I3;
    +   * 	I2 != I3;
    +   * }
    +   * 
    + * + * @see Match + * @see InputsOfTurnout + * + */ + public static class Matcher extends BaseMatcher { + /** + * Initializes the pattern matcher within an existing VIATRA Query engine. + * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. + * + * @param engine the existing VIATRA Query engine in which this matcher will be created. + * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation + * + */ + public static InputsOfTurnout.Matcher on(final ViatraQueryEngine engine) { + // check if matcher already exists + Matcher matcher = engine.getExistingMatcher(querySpecification()); + if (matcher == null) { + matcher = (Matcher)engine.getMatcher(querySpecification()); + } + return matcher; + } + + /** + * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation + * @return an initialized matcher + * @noreference This method is for internal matcher initialization by the framework, do not call it manually. + * + */ + public static InputsOfTurnout.Matcher create() { + return new Matcher(); + } + + private static final int POSITION_T = 0; + + private static final Logger LOGGER = ViatraQueryLoggingUtil.getLogger(InputsOfTurnout.Matcher.class); + + /** + * Initializes the pattern matcher within an existing VIATRA Query engine. + * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. + * + * @param engine the existing VIATRA Query engine in which this matcher will be created. + * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation + * + */ + private Matcher() { + super(querySpecification()); + } + + /** + * Returns the set of all matches of the pattern that conform to the given fixed values of some parameters. + * @param pT the fixed value of pattern parameter T, or null if not bound. + * @return matches represented as a Match object. + * + */ + public Collection getAllMatches(final Turnout pT) { + return rawStreamAllMatches(new Object[]{pT}).collect(Collectors.toSet()); + } + + /** + * Returns a stream of all matches of the pattern that conform to the given fixed values of some parameters. + *

    + * NOTE: It is important not to modify the source model while the stream is being processed. + * If the match set of the pattern changes during processing, the contents of the stream is undefined. + * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. + * @param pT the fixed value of pattern parameter T, or null if not bound. + * @return a stream of matches represented as a Match object. + * + */ + public Stream streamAllMatches(final Turnout pT) { + return rawStreamAllMatches(new Object[]{pT}); + } + + /** + * Returns an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. + * Neither determinism nor randomness of selection is guaranteed. + * @param pT the fixed value of pattern parameter T, or null if not bound. + * @return a match represented as a Match object, or null if no match is found. + * + */ + public Optional getOneArbitraryMatch(final Turnout pT) { + return rawGetOneArbitraryMatch(new Object[]{pT}); + } + + /** + * Indicates whether the given combination of specified pattern parameters constitute a valid pattern match, + * under any possible substitution of the unspecified parameters (if any). + * @param pT the fixed value of pattern parameter T, or null if not bound. + * @return true if the input is a valid (partial) match of the pattern. + * + */ + public boolean hasMatch(final Turnout pT) { + return rawHasMatch(new Object[]{pT}); + } + + /** + * Returns the number of all matches of the pattern that conform to the given fixed values of some parameters. + * @param pT the fixed value of pattern parameter T, or null if not bound. + * @return the number of pattern matches found. + * + */ + public int countMatches(final Turnout pT) { + return rawCountMatches(new Object[]{pT}); + } + + /** + * Executes the given processor on an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. + * Neither determinism nor randomness of selection is guaranteed. + * @param pT the fixed value of pattern parameter T, or null if not bound. + * @param processor the action that will process the selected match. + * @return true if the pattern has at least one match with the given parameter values, false if the processor was not invoked + * + */ + public boolean forOneArbitraryMatch(final Turnout pT, final Consumer processor) { + return rawForOneArbitraryMatch(new Object[]{pT}, processor); + } + + /** + * Returns a new (partial) match. + * This can be used e.g. to call the matcher with a partial match. + *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. + * @param pT the fixed value of pattern parameter T, or null if not bound. + * @return the (partial) match object. + * + */ + public InputsOfTurnout.Match newMatch(final Turnout pT) { + return InputsOfTurnout.Match.newMatch(pT); + } + + /** + * Retrieve the set of values that occur in matches for T. + * @return the Set of all values or empty set if there are no matches + * + */ + protected Stream rawStreamAllValuesOfT(final Object[] parameters) { + return rawStreamAllValues(POSITION_T, parameters).map(Turnout.class::cast); + } + + /** + * Retrieve the set of values that occur in matches for T. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOfT() { + return rawStreamAllValuesOfT(emptyArray()).collect(Collectors.toSet()); + } + + /** + * Retrieve the set of values that occur in matches for T. + * @return the Set of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOfT() { + return rawStreamAllValuesOfT(emptyArray()); + } + + @Override + protected InputsOfTurnout.Match tupleToMatch(final Tuple t) { + try { + return InputsOfTurnout.Match.newMatch((Turnout) t.get(POSITION_T)); + } catch(ClassCastException e) { + LOGGER.error("Element(s) in tuple not properly typed!",e); + return null; + } + } + + @Override + protected InputsOfTurnout.Match arrayToMatch(final Object[] match) { + try { + return InputsOfTurnout.Match.newMatch((Turnout) match[POSITION_T]); + } catch(ClassCastException e) { + LOGGER.error("Element(s) in array not properly typed!",e); + return null; + } + } + + @Override + protected InputsOfTurnout.Match arrayToMatchMutable(final Object[] match) { + try { + return InputsOfTurnout.Match.newMutableMatch((Turnout) match[POSITION_T]); + } catch(ClassCastException e) { + LOGGER.error("Element(s) in array not properly typed!",e); + return null; + } + } + + /** + * @return the singleton instance of the query specification of this pattern + * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded + * + */ + public static IQuerySpecification querySpecification() { + return InputsOfTurnout.instance(); + } + } + + private InputsOfTurnout() { + super(GeneratedPQuery.INSTANCE); + } + + /** + * @return the singleton instance of the query specification + * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded + * + */ + public static InputsOfTurnout instance() { + try{ + return LazyHolder.INSTANCE; + } catch (ExceptionInInitializerError err) { + throw processInitializerError(err); + } + } + + @Override + protected InputsOfTurnout.Matcher instantiate(final ViatraQueryEngine engine) { + return InputsOfTurnout.Matcher.on(engine); + } + + @Override + public InputsOfTurnout.Matcher instantiate() { + return InputsOfTurnout.Matcher.create(); + } + + @Override + public InputsOfTurnout.Match newEmptyMatch() { + return InputsOfTurnout.Match.newEmptyMatch(); + } + + @Override + public InputsOfTurnout.Match newMatch(final Object... parameters) { + return InputsOfTurnout.Match.newMatch((modes3.Turnout) parameters[0]); + } + + /** + * Inner class allowing the singleton instance of {@link InputsOfTurnout} to be created + * not at the class load time of the outer class, + * but rather at the first call to {@link InputsOfTurnout#instance()}. + * + *

    This workaround is required e.g. to support recursion. + * + */ + private static class LazyHolder { + private static final InputsOfTurnout INSTANCE = new InputsOfTurnout(); + + /** + * Statically initializes the query specification after the field {@link #INSTANCE} is assigned. + * This initialization order is required to support indirect recursion. + * + *

    The static initializer is defined using a helper field to work around limitations of the code generator. + * + */ + private static final Object STATIC_INITIALIZER = ensureInitialized(); + + public static Object ensureInitialized() { + INSTANCE.ensureInitializedInternal(); + return null; + } + } + + private static class GeneratedPQuery extends BaseGeneratedEMFPQuery { + private static final InputsOfTurnout.GeneratedPQuery INSTANCE = new GeneratedPQuery(); + + private final PParameter parameter_T = new PParameter("T", "modes3.Turnout", new EClassTransitiveInstancesKey((EClass)getClassifierLiteralSafe("http://www.ece.mcgill.ca/wcet/modes3", "Turnout")), PParameterDirection.INOUT); + + private final List parameters = Arrays.asList(parameter_T); + + private GeneratedPQuery() { + super(PVisibility.PUBLIC); + } + + @Override + public String getFullyQualifiedName() { + return "modes3.queries.inputsOfTurnout"; + } + + @Override + public List getParameterNames() { + return Arrays.asList("T"); + } + + @Override + public List getParameters() { + return parameters; + } + + @Override + public Set doGetContainedBodies() { + setEvaluationHints(new QueryEvaluationHint(null, QueryEvaluationHint.BackendRequirement.UNSPECIFIED)); + Set bodies = new LinkedHashSet<>(); + { + PBody body = new PBody(this); + PVariable var_T = body.getOrCreateVariableByName("T"); + PVariable var_I1 = body.getOrCreateVariableByName("I1"); + PVariable var_I2 = body.getOrCreateVariableByName("I2"); + PVariable var_I3 = body.getOrCreateVariableByName("I3"); + new TypeConstraint(body, Tuples.flatTupleOf(var_T), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.ece.mcgill.ca/wcet/modes3", "Turnout"))); + body.setSymbolicParameters(Arrays.asList( + new ExportedParameter(body, var_T, parameter_T) + )); + // find adjacent(I1, T) + new PositivePatternCall(body, Tuples.flatTupleOf(var_I1, var_T), Adjacent.instance().getInternalQueryRepresentation()); + // find adjacent(I2, T) + new PositivePatternCall(body, Tuples.flatTupleOf(var_I2, var_T), Adjacent.instance().getInternalQueryRepresentation()); + // find adjacent(I3, T) + new PositivePatternCall(body, Tuples.flatTupleOf(var_I3, var_T), Adjacent.instance().getInternalQueryRepresentation()); + // I1 != I2 + new Inequality(body, var_I1, var_I2); + // I1 != I3 + new Inequality(body, var_I1, var_I3); + // I2 != I3 + new Inequality(body, var_I2, var_I3); + bodies.add(body); + } + return bodies; + } + } +} diff --git a/Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/Modes3Queries.java b/Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/Modes3Queries.java index 01ec77a1..6e244430 100644 --- a/Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/Modes3Queries.java +++ b/Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/Modes3Queries.java @@ -7,16 +7,14 @@ import modes3.queries.Adjacent; import modes3.queries.ConnectedTo; import modes3.queries.ConnectedToNotSymmetric; import modes3.queries.ConnectedToReflexive; -import modes3.queries.ExtraInputOfTurnout; -import modes3.queries.NoExtraInputOfTurnout; +import modes3.queries.InputsOfTurnout; import modes3.queries.Output; import modes3.queries.OutputReflexive; import modes3.queries.Reachable; -import modes3.queries.TooManyExtraInputsOfTurnout; +import modes3.queries.TooFewInputsOfTurnout; import modes3.queries.TooManyInputsOfSegment; -import modes3.queries.Turnout; +import modes3.queries.TooManyInputsOfTurnout; import modes3.queries.TurnoutConnectedToBothOutputs; -import modes3.queries.TurnoutInSegments; import modes3.queries.TurnoutOutput; import modes3.queries.TurnoutOutputsAreSame; import modes3.queries.Unreachable; @@ -31,21 +29,19 @@ import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedPatternGroup; * in order to achieve better performance than one-by-one on-demand matcher initialization. * *

    From package modes3.queries, the group contains the definition of the following patterns:

      - *
    • turnoutInSegments
    • *
    • connectedTo
    • *
    • connectedToNotSymmetric
    • *
    • connectedToReflexive
    • *
    • turnoutOutput
    • *
    • outputReflexive
    • *
    • turnoutOutputsAreSame
    • - *
    • turnout
    • *
    • output
    • *
    • tooManyInputsOfSegment
    • *
    • turnoutConnectedToBothOutputs
    • - *
    • extraInputOfTurnout
    • - *
    • noExtraInputOfTurnout
    • - *
    • tooManyExtraInputsOfTurnout
    • *
    • adjacent
    • + *
    • tooManyInputsOfTurnout
    • + *
    • inputsOfTurnout
    • + *
    • tooFewInputsOfTurnout
    • *
    • reachable
    • *
    • unreachable
    • *
    @@ -72,33 +68,23 @@ public final class Modes3Queries extends BaseGeneratedPatternGroup { private static Modes3Queries INSTANCE; private Modes3Queries() { - querySpecifications.add(TurnoutInSegments.instance()); querySpecifications.add(ConnectedTo.instance()); querySpecifications.add(ConnectedToNotSymmetric.instance()); querySpecifications.add(ConnectedToReflexive.instance()); querySpecifications.add(TurnoutOutput.instance()); querySpecifications.add(OutputReflexive.instance()); querySpecifications.add(TurnoutOutputsAreSame.instance()); - querySpecifications.add(Turnout.instance()); querySpecifications.add(Output.instance()); querySpecifications.add(TooManyInputsOfSegment.instance()); querySpecifications.add(TurnoutConnectedToBothOutputs.instance()); - querySpecifications.add(ExtraInputOfTurnout.instance()); - querySpecifications.add(NoExtraInputOfTurnout.instance()); - querySpecifications.add(TooManyExtraInputsOfTurnout.instance()); querySpecifications.add(Adjacent.instance()); + querySpecifications.add(TooManyInputsOfTurnout.instance()); + querySpecifications.add(InputsOfTurnout.instance()); + querySpecifications.add(TooFewInputsOfTurnout.instance()); querySpecifications.add(Reachable.instance()); querySpecifications.add(Unreachable.instance()); } - public TurnoutInSegments getTurnoutInSegments() { - return TurnoutInSegments.instance(); - } - - public TurnoutInSegments.Matcher getTurnoutInSegments(final ViatraQueryEngine engine) { - return TurnoutInSegments.Matcher.on(engine); - } - public ConnectedTo getConnectedTo() { return ConnectedTo.instance(); } @@ -147,14 +133,6 @@ public final class Modes3Queries extends BaseGeneratedPatternGroup { return TurnoutOutputsAreSame.Matcher.on(engine); } - public Turnout getTurnout() { - return Turnout.instance(); - } - - public Turnout.Matcher getTurnout(final ViatraQueryEngine engine) { - return Turnout.Matcher.on(engine); - } - public Output getOutput() { return Output.instance(); } @@ -179,36 +157,36 @@ public final class Modes3Queries extends BaseGeneratedPatternGroup { return TurnoutConnectedToBothOutputs.Matcher.on(engine); } - public ExtraInputOfTurnout getExtraInputOfTurnout() { - return ExtraInputOfTurnout.instance(); + public Adjacent getAdjacent() { + return Adjacent.instance(); } - public ExtraInputOfTurnout.Matcher getExtraInputOfTurnout(final ViatraQueryEngine engine) { - return ExtraInputOfTurnout.Matcher.on(engine); + public Adjacent.Matcher getAdjacent(final ViatraQueryEngine engine) { + return Adjacent.Matcher.on(engine); } - public NoExtraInputOfTurnout getNoExtraInputOfTurnout() { - return NoExtraInputOfTurnout.instance(); + public TooManyInputsOfTurnout getTooManyInputsOfTurnout() { + return TooManyInputsOfTurnout.instance(); } - public NoExtraInputOfTurnout.Matcher getNoExtraInputOfTurnout(final ViatraQueryEngine engine) { - return NoExtraInputOfTurnout.Matcher.on(engine); + public TooManyInputsOfTurnout.Matcher getTooManyInputsOfTurnout(final ViatraQueryEngine engine) { + return TooManyInputsOfTurnout.Matcher.on(engine); } - public TooManyExtraInputsOfTurnout getTooManyExtraInputsOfTurnout() { - return TooManyExtraInputsOfTurnout.instance(); + public InputsOfTurnout getInputsOfTurnout() { + return InputsOfTurnout.instance(); } - public TooManyExtraInputsOfTurnout.Matcher getTooManyExtraInputsOfTurnout(final ViatraQueryEngine engine) { - return TooManyExtraInputsOfTurnout.Matcher.on(engine); + public InputsOfTurnout.Matcher getInputsOfTurnout(final ViatraQueryEngine engine) { + return InputsOfTurnout.Matcher.on(engine); } - public Adjacent getAdjacent() { - return Adjacent.instance(); + public TooFewInputsOfTurnout getTooFewInputsOfTurnout() { + return TooFewInputsOfTurnout.instance(); } - public Adjacent.Matcher getAdjacent(final ViatraQueryEngine engine) { - return Adjacent.Matcher.on(engine); + public TooFewInputsOfTurnout.Matcher getTooFewInputsOfTurnout(final ViatraQueryEngine engine) { + return TooFewInputsOfTurnout.Matcher.on(engine); } public Reachable getReachable() { diff --git a/Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/NoExtraInputOfTurnout.java b/Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/NoExtraInputOfTurnout.java deleted file mode 100644 index 621d736f..00000000 --- a/Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/NoExtraInputOfTurnout.java +++ /dev/null @@ -1,560 +0,0 @@ -/** - * Generated from platform:/resource/ca.mcgill.rtgmrt.example.modes3/src/modes3/queries/Modes3Queries.vql - */ -package modes3.queries; - -import java.util.Arrays; -import java.util.Collection; -import java.util.LinkedHashSet; -import java.util.List; -import java.util.Objects; -import java.util.Optional; -import java.util.Set; -import java.util.function.Consumer; -import java.util.stream.Collectors; -import java.util.stream.Stream; -import modes3.Turnout; -import modes3.queries.ExtraInputOfTurnout; -import org.apache.log4j.Logger; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.viatra.query.runtime.api.IPatternMatch; -import org.eclipse.viatra.query.runtime.api.IQuerySpecification; -import org.eclipse.viatra.query.runtime.api.ViatraQueryEngine; -import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFPQuery; -import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFQuerySpecification; -import org.eclipse.viatra.query.runtime.api.impl.BaseMatcher; -import org.eclipse.viatra.query.runtime.api.impl.BasePatternMatch; -import org.eclipse.viatra.query.runtime.emf.types.EClassTransitiveInstancesKey; -import org.eclipse.viatra.query.runtime.matchers.backend.QueryEvaluationHint; -import org.eclipse.viatra.query.runtime.matchers.psystem.PBody; -import org.eclipse.viatra.query.runtime.matchers.psystem.PVariable; -import org.eclipse.viatra.query.runtime.matchers.psystem.annotations.PAnnotation; -import org.eclipse.viatra.query.runtime.matchers.psystem.annotations.ParameterReference; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.ExportedParameter; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.NegativePatternCall; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicenumerables.TypeConstraint; -import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameter; -import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameterDirection; -import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PVisibility; -import org.eclipse.viatra.query.runtime.matchers.tuple.Tuple; -import org.eclipse.viatra.query.runtime.matchers.tuple.Tuples; -import org.eclipse.viatra.query.runtime.util.ViatraQueryLoggingUtil; - -/** - * A pattern-specific query specification that can instantiate Matcher in a type-safe way. - * - *

    Original source: - *

    - *         {@literal @}Constraint(message = "noExtraInputOfTurnout", severity = "error", key = { T })
    - *         pattern noExtraInputOfTurnout(T : Turnout) {
    - *         	neg find extraInputOfTurnout(T, _);
    - *         }
    - * 
    - * - * @see Matcher - * @see Match - * - */ -@SuppressWarnings("all") -public final class NoExtraInputOfTurnout extends BaseGeneratedEMFQuerySpecification { - /** - * Pattern-specific match representation of the modes3.queries.noExtraInputOfTurnout pattern, - * to be used in conjunction with {@link Matcher}. - * - *

    Class fields correspond to parameters of the pattern. Fields with value null are considered unassigned. - * Each instance is a (possibly partial) substitution of pattern parameters, - * usable to represent a match of the pattern in the result of a query, - * or to specify the bound (fixed) input parameters when issuing a query. - * - * @see Matcher - * - */ - public static abstract class Match extends BasePatternMatch { - private Turnout fT; - - private static List parameterNames = makeImmutableList("T"); - - private Match(final Turnout pT) { - this.fT = pT; - } - - @Override - public Object get(final String parameterName) { - switch(parameterName) { - case "T": return this.fT; - default: return null; - } - } - - @Override - public Object get(final int index) { - switch(index) { - case 0: return this.fT; - default: return null; - } - } - - public Turnout getT() { - return this.fT; - } - - @Override - public boolean set(final String parameterName, final Object newValue) { - if (!isMutable()) throw new java.lang.UnsupportedOperationException(); - if ("T".equals(parameterName) ) { - this.fT = (Turnout) newValue; - return true; - } - return false; - } - - public void setT(final Turnout pT) { - if (!isMutable()) throw new java.lang.UnsupportedOperationException(); - this.fT = pT; - } - - @Override - public String patternName() { - return "modes3.queries.noExtraInputOfTurnout"; - } - - @Override - public List parameterNames() { - return NoExtraInputOfTurnout.Match.parameterNames; - } - - @Override - public Object[] toArray() { - return new Object[]{fT}; - } - - @Override - public NoExtraInputOfTurnout.Match toImmutable() { - return isMutable() ? newMatch(fT) : this; - } - - @Override - public String prettyPrint() { - StringBuilder result = new StringBuilder(); - result.append("\"T\"=" + prettyPrintValue(fT)); - return result.toString(); - } - - @Override - public int hashCode() { - return Objects.hash(fT); - } - - @Override - public boolean equals(final Object obj) { - if (this == obj) - return true; - if (obj == null) { - return false; - } - if ((obj instanceof NoExtraInputOfTurnout.Match)) { - NoExtraInputOfTurnout.Match other = (NoExtraInputOfTurnout.Match) obj; - return Objects.equals(fT, other.fT); - } else { - // this should be infrequent - if (!(obj instanceof IPatternMatch)) { - return false; - } - IPatternMatch otherSig = (IPatternMatch) obj; - return Objects.equals(specification(), otherSig.specification()) && Arrays.deepEquals(toArray(), otherSig.toArray()); - } - } - - @Override - public NoExtraInputOfTurnout specification() { - return NoExtraInputOfTurnout.instance(); - } - - /** - * Returns an empty, mutable match. - * Fields of the mutable match can be filled to create a partial match, usable as matcher input. - * - * @return the empty match. - * - */ - public static NoExtraInputOfTurnout.Match newEmptyMatch() { - return new Mutable(null); - } - - /** - * Returns a mutable (partial) match. - * Fields of the mutable match can be filled to create a partial match, usable as matcher input. - * - * @param pT the fixed value of pattern parameter T, or null if not bound. - * @return the new, mutable (partial) match object. - * - */ - public static NoExtraInputOfTurnout.Match newMutableMatch(final Turnout pT) { - return new Mutable(pT); - } - - /** - * Returns a new (partial) match. - * This can be used e.g. to call the matcher with a partial match. - *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. - * @param pT the fixed value of pattern parameter T, or null if not bound. - * @return the (partial) match object. - * - */ - public static NoExtraInputOfTurnout.Match newMatch(final Turnout pT) { - return new Immutable(pT); - } - - private static final class Mutable extends NoExtraInputOfTurnout.Match { - Mutable(final Turnout pT) { - super(pT); - } - - @Override - public boolean isMutable() { - return true; - } - } - - private static final class Immutable extends NoExtraInputOfTurnout.Match { - Immutable(final Turnout pT) { - super(pT); - } - - @Override - public boolean isMutable() { - return false; - } - } - } - - /** - * Generated pattern matcher API of the modes3.queries.noExtraInputOfTurnout pattern, - * providing pattern-specific query methods. - * - *

    Use the pattern matcher on a given model via {@link #on(ViatraQueryEngine)}, - * e.g. in conjunction with {@link ViatraQueryEngine#on(QueryScope)}. - * - *

    Matches of the pattern will be represented as {@link Match}. - * - *

    Original source: - *

    -   * {@literal @}Constraint(message = "noExtraInputOfTurnout", severity = "error", key = { T })
    -   * pattern noExtraInputOfTurnout(T : Turnout) {
    -   * 	neg find extraInputOfTurnout(T, _);
    -   * }
    -   * 
    - * - * @see Match - * @see NoExtraInputOfTurnout - * - */ - public static class Matcher extends BaseMatcher { - /** - * Initializes the pattern matcher within an existing VIATRA Query engine. - * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. - * - * @param engine the existing VIATRA Query engine in which this matcher will be created. - * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation - * - */ - public static NoExtraInputOfTurnout.Matcher on(final ViatraQueryEngine engine) { - // check if matcher already exists - Matcher matcher = engine.getExistingMatcher(querySpecification()); - if (matcher == null) { - matcher = (Matcher)engine.getMatcher(querySpecification()); - } - return matcher; - } - - /** - * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation - * @return an initialized matcher - * @noreference This method is for internal matcher initialization by the framework, do not call it manually. - * - */ - public static NoExtraInputOfTurnout.Matcher create() { - return new Matcher(); - } - - private static final int POSITION_T = 0; - - private static final Logger LOGGER = ViatraQueryLoggingUtil.getLogger(NoExtraInputOfTurnout.Matcher.class); - - /** - * Initializes the pattern matcher within an existing VIATRA Query engine. - * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. - * - * @param engine the existing VIATRA Query engine in which this matcher will be created. - * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation - * - */ - private Matcher() { - super(querySpecification()); - } - - /** - * Returns the set of all matches of the pattern that conform to the given fixed values of some parameters. - * @param pT the fixed value of pattern parameter T, or null if not bound. - * @return matches represented as a Match object. - * - */ - public Collection getAllMatches(final Turnout pT) { - return rawStreamAllMatches(new Object[]{pT}).collect(Collectors.toSet()); - } - - /** - * Returns a stream of all matches of the pattern that conform to the given fixed values of some parameters. - *

    - * NOTE: It is important not to modify the source model while the stream is being processed. - * If the match set of the pattern changes during processing, the contents of the stream is undefined. - * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. - * @param pT the fixed value of pattern parameter T, or null if not bound. - * @return a stream of matches represented as a Match object. - * - */ - public Stream streamAllMatches(final Turnout pT) { - return rawStreamAllMatches(new Object[]{pT}); - } - - /** - * Returns an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. - * Neither determinism nor randomness of selection is guaranteed. - * @param pT the fixed value of pattern parameter T, or null if not bound. - * @return a match represented as a Match object, or null if no match is found. - * - */ - public Optional getOneArbitraryMatch(final Turnout pT) { - return rawGetOneArbitraryMatch(new Object[]{pT}); - } - - /** - * Indicates whether the given combination of specified pattern parameters constitute a valid pattern match, - * under any possible substitution of the unspecified parameters (if any). - * @param pT the fixed value of pattern parameter T, or null if not bound. - * @return true if the input is a valid (partial) match of the pattern. - * - */ - public boolean hasMatch(final Turnout pT) { - return rawHasMatch(new Object[]{pT}); - } - - /** - * Returns the number of all matches of the pattern that conform to the given fixed values of some parameters. - * @param pT the fixed value of pattern parameter T, or null if not bound. - * @return the number of pattern matches found. - * - */ - public int countMatches(final Turnout pT) { - return rawCountMatches(new Object[]{pT}); - } - - /** - * Executes the given processor on an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. - * Neither determinism nor randomness of selection is guaranteed. - * @param pT the fixed value of pattern parameter T, or null if not bound. - * @param processor the action that will process the selected match. - * @return true if the pattern has at least one match with the given parameter values, false if the processor was not invoked - * - */ - public boolean forOneArbitraryMatch(final Turnout pT, final Consumer processor) { - return rawForOneArbitraryMatch(new Object[]{pT}, processor); - } - - /** - * Returns a new (partial) match. - * This can be used e.g. to call the matcher with a partial match. - *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. - * @param pT the fixed value of pattern parameter T, or null if not bound. - * @return the (partial) match object. - * - */ - public NoExtraInputOfTurnout.Match newMatch(final Turnout pT) { - return NoExtraInputOfTurnout.Match.newMatch(pT); - } - - /** - * Retrieve the set of values that occur in matches for T. - * @return the Set of all values or empty set if there are no matches - * - */ - protected Stream rawStreamAllValuesOfT(final Object[] parameters) { - return rawStreamAllValues(POSITION_T, parameters).map(Turnout.class::cast); - } - - /** - * Retrieve the set of values that occur in matches for T. - * @return the Set of all values or empty set if there are no matches - * - */ - public Set getAllValuesOfT() { - return rawStreamAllValuesOfT(emptyArray()).collect(Collectors.toSet()); - } - - /** - * Retrieve the set of values that occur in matches for T. - * @return the Set of all values or empty set if there are no matches - * - */ - public Stream streamAllValuesOfT() { - return rawStreamAllValuesOfT(emptyArray()); - } - - @Override - protected NoExtraInputOfTurnout.Match tupleToMatch(final Tuple t) { - try { - return NoExtraInputOfTurnout.Match.newMatch((Turnout) t.get(POSITION_T)); - } catch(ClassCastException e) { - LOGGER.error("Element(s) in tuple not properly typed!",e); - return null; - } - } - - @Override - protected NoExtraInputOfTurnout.Match arrayToMatch(final Object[] match) { - try { - return NoExtraInputOfTurnout.Match.newMatch((Turnout) match[POSITION_T]); - } catch(ClassCastException e) { - LOGGER.error("Element(s) in array not properly typed!",e); - return null; - } - } - - @Override - protected NoExtraInputOfTurnout.Match arrayToMatchMutable(final Object[] match) { - try { - return NoExtraInputOfTurnout.Match.newMutableMatch((Turnout) match[POSITION_T]); - } catch(ClassCastException e) { - LOGGER.error("Element(s) in array not properly typed!",e); - return null; - } - } - - /** - * @return the singleton instance of the query specification of this pattern - * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded - * - */ - public static IQuerySpecification querySpecification() { - return NoExtraInputOfTurnout.instance(); - } - } - - private NoExtraInputOfTurnout() { - super(GeneratedPQuery.INSTANCE); - } - - /** - * @return the singleton instance of the query specification - * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded - * - */ - public static NoExtraInputOfTurnout instance() { - try{ - return LazyHolder.INSTANCE; - } catch (ExceptionInInitializerError err) { - throw processInitializerError(err); - } - } - - @Override - protected NoExtraInputOfTurnout.Matcher instantiate(final ViatraQueryEngine engine) { - return NoExtraInputOfTurnout.Matcher.on(engine); - } - - @Override - public NoExtraInputOfTurnout.Matcher instantiate() { - return NoExtraInputOfTurnout.Matcher.create(); - } - - @Override - public NoExtraInputOfTurnout.Match newEmptyMatch() { - return NoExtraInputOfTurnout.Match.newEmptyMatch(); - } - - @Override - public NoExtraInputOfTurnout.Match newMatch(final Object... parameters) { - return NoExtraInputOfTurnout.Match.newMatch((modes3.Turnout) parameters[0]); - } - - /** - * Inner class allowing the singleton instance of {@link NoExtraInputOfTurnout} to be created - * not at the class load time of the outer class, - * but rather at the first call to {@link NoExtraInputOfTurnout#instance()}. - * - *

    This workaround is required e.g. to support recursion. - * - */ - private static class LazyHolder { - private static final NoExtraInputOfTurnout INSTANCE = new NoExtraInputOfTurnout(); - - /** - * Statically initializes the query specification after the field {@link #INSTANCE} is assigned. - * This initialization order is required to support indirect recursion. - * - *

    The static initializer is defined using a helper field to work around limitations of the code generator. - * - */ - private static final Object STATIC_INITIALIZER = ensureInitialized(); - - public static Object ensureInitialized() { - INSTANCE.ensureInitializedInternal(); - return null; - } - } - - private static class GeneratedPQuery extends BaseGeneratedEMFPQuery { - private static final NoExtraInputOfTurnout.GeneratedPQuery INSTANCE = new GeneratedPQuery(); - - private final PParameter parameter_T = new PParameter("T", "modes3.Turnout", new EClassTransitiveInstancesKey((EClass)getClassifierLiteralSafe("http://www.ece.mcgill.ca/wcet/modes3", "Turnout")), PParameterDirection.INOUT); - - private final List parameters = Arrays.asList(parameter_T); - - private GeneratedPQuery() { - super(PVisibility.PUBLIC); - } - - @Override - public String getFullyQualifiedName() { - return "modes3.queries.noExtraInputOfTurnout"; - } - - @Override - public List getParameterNames() { - return Arrays.asList("T"); - } - - @Override - public List getParameters() { - return parameters; - } - - @Override - public Set doGetContainedBodies() { - setEvaluationHints(new QueryEvaluationHint(null, QueryEvaluationHint.BackendRequirement.UNSPECIFIED)); - Set bodies = new LinkedHashSet<>(); - { - PBody body = new PBody(this); - PVariable var_T = body.getOrCreateVariableByName("T"); - PVariable var___0_ = body.getOrCreateVariableByName("_<0>"); - new TypeConstraint(body, Tuples.flatTupleOf(var_T), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.ece.mcgill.ca/wcet/modes3", "Turnout"))); - body.setSymbolicParameters(Arrays.asList( - new ExportedParameter(body, var_T, parameter_T) - )); - // neg find extraInputOfTurnout(T, _) - new NegativePatternCall(body, Tuples.flatTupleOf(var_T, var___0_), ExtraInputOfTurnout.instance().getInternalQueryRepresentation()); - bodies.add(body); - } - { - PAnnotation annotation = new PAnnotation("Constraint"); - annotation.addAttribute("message", "noExtraInputOfTurnout"); - annotation.addAttribute("severity", "error"); - annotation.addAttribute("key", Arrays.asList(new Object[] { - new ParameterReference("T") - })); - addAnnotation(annotation); - } - return bodies; - } - } -} diff --git a/Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/TooFewInputsOfTurnout.java b/Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/TooFewInputsOfTurnout.java new file mode 100644 index 00000000..088640ca --- /dev/null +++ b/Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/TooFewInputsOfTurnout.java @@ -0,0 +1,559 @@ +/** + * Generated from platform:/resource/ca.mcgill.rtgmrt.example.modes3/src/modes3/queries/Modes3Queries.vql + */ +package modes3.queries; + +import java.util.Arrays; +import java.util.Collection; +import java.util.LinkedHashSet; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import java.util.Set; +import java.util.function.Consumer; +import java.util.stream.Collectors; +import java.util.stream.Stream; +import modes3.Turnout; +import modes3.queries.InputsOfTurnout; +import org.apache.log4j.Logger; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.viatra.query.runtime.api.IPatternMatch; +import org.eclipse.viatra.query.runtime.api.IQuerySpecification; +import org.eclipse.viatra.query.runtime.api.ViatraQueryEngine; +import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFPQuery; +import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFQuerySpecification; +import org.eclipse.viatra.query.runtime.api.impl.BaseMatcher; +import org.eclipse.viatra.query.runtime.api.impl.BasePatternMatch; +import org.eclipse.viatra.query.runtime.emf.types.EClassTransitiveInstancesKey; +import org.eclipse.viatra.query.runtime.matchers.backend.QueryEvaluationHint; +import org.eclipse.viatra.query.runtime.matchers.psystem.PBody; +import org.eclipse.viatra.query.runtime.matchers.psystem.PVariable; +import org.eclipse.viatra.query.runtime.matchers.psystem.annotations.PAnnotation; +import org.eclipse.viatra.query.runtime.matchers.psystem.annotations.ParameterReference; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.ExportedParameter; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.NegativePatternCall; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicenumerables.TypeConstraint; +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameter; +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameterDirection; +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PVisibility; +import org.eclipse.viatra.query.runtime.matchers.tuple.Tuple; +import org.eclipse.viatra.query.runtime.matchers.tuple.Tuples; +import org.eclipse.viatra.query.runtime.util.ViatraQueryLoggingUtil; + +/** + * A pattern-specific query specification that can instantiate Matcher in a type-safe way. + * + *

    Original source: + *

    + *         {@literal @}Constraint(message = "tooFewInputsOfTurnout", severity = "error", key = { T })
    + *         pattern tooFewInputsOfTurnout(T : Turnout) {
    + *         	neg find inputsOfTurnout(T);
    + *         }
    + * 
    + * + * @see Matcher + * @see Match + * + */ +@SuppressWarnings("all") +public final class TooFewInputsOfTurnout extends BaseGeneratedEMFQuerySpecification { + /** + * Pattern-specific match representation of the modes3.queries.tooFewInputsOfTurnout pattern, + * to be used in conjunction with {@link Matcher}. + * + *

    Class fields correspond to parameters of the pattern. Fields with value null are considered unassigned. + * Each instance is a (possibly partial) substitution of pattern parameters, + * usable to represent a match of the pattern in the result of a query, + * or to specify the bound (fixed) input parameters when issuing a query. + * + * @see Matcher + * + */ + public static abstract class Match extends BasePatternMatch { + private Turnout fT; + + private static List parameterNames = makeImmutableList("T"); + + private Match(final Turnout pT) { + this.fT = pT; + } + + @Override + public Object get(final String parameterName) { + switch(parameterName) { + case "T": return this.fT; + default: return null; + } + } + + @Override + public Object get(final int index) { + switch(index) { + case 0: return this.fT; + default: return null; + } + } + + public Turnout getT() { + return this.fT; + } + + @Override + public boolean set(final String parameterName, final Object newValue) { + if (!isMutable()) throw new java.lang.UnsupportedOperationException(); + if ("T".equals(parameterName) ) { + this.fT = (Turnout) newValue; + return true; + } + return false; + } + + public void setT(final Turnout pT) { + if (!isMutable()) throw new java.lang.UnsupportedOperationException(); + this.fT = pT; + } + + @Override + public String patternName() { + return "modes3.queries.tooFewInputsOfTurnout"; + } + + @Override + public List parameterNames() { + return TooFewInputsOfTurnout.Match.parameterNames; + } + + @Override + public Object[] toArray() { + return new Object[]{fT}; + } + + @Override + public TooFewInputsOfTurnout.Match toImmutable() { + return isMutable() ? newMatch(fT) : this; + } + + @Override + public String prettyPrint() { + StringBuilder result = new StringBuilder(); + result.append("\"T\"=" + prettyPrintValue(fT)); + return result.toString(); + } + + @Override + public int hashCode() { + return Objects.hash(fT); + } + + @Override + public boolean equals(final Object obj) { + if (this == obj) + return true; + if (obj == null) { + return false; + } + if ((obj instanceof TooFewInputsOfTurnout.Match)) { + TooFewInputsOfTurnout.Match other = (TooFewInputsOfTurnout.Match) obj; + return Objects.equals(fT, other.fT); + } else { + // this should be infrequent + if (!(obj instanceof IPatternMatch)) { + return false; + } + IPatternMatch otherSig = (IPatternMatch) obj; + return Objects.equals(specification(), otherSig.specification()) && Arrays.deepEquals(toArray(), otherSig.toArray()); + } + } + + @Override + public TooFewInputsOfTurnout specification() { + return TooFewInputsOfTurnout.instance(); + } + + /** + * Returns an empty, mutable match. + * Fields of the mutable match can be filled to create a partial match, usable as matcher input. + * + * @return the empty match. + * + */ + public static TooFewInputsOfTurnout.Match newEmptyMatch() { + return new Mutable(null); + } + + /** + * Returns a mutable (partial) match. + * Fields of the mutable match can be filled to create a partial match, usable as matcher input. + * + * @param pT the fixed value of pattern parameter T, or null if not bound. + * @return the new, mutable (partial) match object. + * + */ + public static TooFewInputsOfTurnout.Match newMutableMatch(final Turnout pT) { + return new Mutable(pT); + } + + /** + * Returns a new (partial) match. + * This can be used e.g. to call the matcher with a partial match. + *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. + * @param pT the fixed value of pattern parameter T, or null if not bound. + * @return the (partial) match object. + * + */ + public static TooFewInputsOfTurnout.Match newMatch(final Turnout pT) { + return new Immutable(pT); + } + + private static final class Mutable extends TooFewInputsOfTurnout.Match { + Mutable(final Turnout pT) { + super(pT); + } + + @Override + public boolean isMutable() { + return true; + } + } + + private static final class Immutable extends TooFewInputsOfTurnout.Match { + Immutable(final Turnout pT) { + super(pT); + } + + @Override + public boolean isMutable() { + return false; + } + } + } + + /** + * Generated pattern matcher API of the modes3.queries.tooFewInputsOfTurnout pattern, + * providing pattern-specific query methods. + * + *

    Use the pattern matcher on a given model via {@link #on(ViatraQueryEngine)}, + * e.g. in conjunction with {@link ViatraQueryEngine#on(QueryScope)}. + * + *

    Matches of the pattern will be represented as {@link Match}. + * + *

    Original source: + *

    +   * {@literal @}Constraint(message = "tooFewInputsOfTurnout", severity = "error", key = { T })
    +   * pattern tooFewInputsOfTurnout(T : Turnout) {
    +   * 	neg find inputsOfTurnout(T);
    +   * }
    +   * 
    + * + * @see Match + * @see TooFewInputsOfTurnout + * + */ + public static class Matcher extends BaseMatcher { + /** + * Initializes the pattern matcher within an existing VIATRA Query engine. + * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. + * + * @param engine the existing VIATRA Query engine in which this matcher will be created. + * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation + * + */ + public static TooFewInputsOfTurnout.Matcher on(final ViatraQueryEngine engine) { + // check if matcher already exists + Matcher matcher = engine.getExistingMatcher(querySpecification()); + if (matcher == null) { + matcher = (Matcher)engine.getMatcher(querySpecification()); + } + return matcher; + } + + /** + * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation + * @return an initialized matcher + * @noreference This method is for internal matcher initialization by the framework, do not call it manually. + * + */ + public static TooFewInputsOfTurnout.Matcher create() { + return new Matcher(); + } + + private static final int POSITION_T = 0; + + private static final Logger LOGGER = ViatraQueryLoggingUtil.getLogger(TooFewInputsOfTurnout.Matcher.class); + + /** + * Initializes the pattern matcher within an existing VIATRA Query engine. + * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. + * + * @param engine the existing VIATRA Query engine in which this matcher will be created. + * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation + * + */ + private Matcher() { + super(querySpecification()); + } + + /** + * Returns the set of all matches of the pattern that conform to the given fixed values of some parameters. + * @param pT the fixed value of pattern parameter T, or null if not bound. + * @return matches represented as a Match object. + * + */ + public Collection getAllMatches(final Turnout pT) { + return rawStreamAllMatches(new Object[]{pT}).collect(Collectors.toSet()); + } + + /** + * Returns a stream of all matches of the pattern that conform to the given fixed values of some parameters. + *

    + * NOTE: It is important not to modify the source model while the stream is being processed. + * If the match set of the pattern changes during processing, the contents of the stream is undefined. + * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. + * @param pT the fixed value of pattern parameter T, or null if not bound. + * @return a stream of matches represented as a Match object. + * + */ + public Stream streamAllMatches(final Turnout pT) { + return rawStreamAllMatches(new Object[]{pT}); + } + + /** + * Returns an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. + * Neither determinism nor randomness of selection is guaranteed. + * @param pT the fixed value of pattern parameter T, or null if not bound. + * @return a match represented as a Match object, or null if no match is found. + * + */ + public Optional getOneArbitraryMatch(final Turnout pT) { + return rawGetOneArbitraryMatch(new Object[]{pT}); + } + + /** + * Indicates whether the given combination of specified pattern parameters constitute a valid pattern match, + * under any possible substitution of the unspecified parameters (if any). + * @param pT the fixed value of pattern parameter T, or null if not bound. + * @return true if the input is a valid (partial) match of the pattern. + * + */ + public boolean hasMatch(final Turnout pT) { + return rawHasMatch(new Object[]{pT}); + } + + /** + * Returns the number of all matches of the pattern that conform to the given fixed values of some parameters. + * @param pT the fixed value of pattern parameter T, or null if not bound. + * @return the number of pattern matches found. + * + */ + public int countMatches(final Turnout pT) { + return rawCountMatches(new Object[]{pT}); + } + + /** + * Executes the given processor on an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. + * Neither determinism nor randomness of selection is guaranteed. + * @param pT the fixed value of pattern parameter T, or null if not bound. + * @param processor the action that will process the selected match. + * @return true if the pattern has at least one match with the given parameter values, false if the processor was not invoked + * + */ + public boolean forOneArbitraryMatch(final Turnout pT, final Consumer processor) { + return rawForOneArbitraryMatch(new Object[]{pT}, processor); + } + + /** + * Returns a new (partial) match. + * This can be used e.g. to call the matcher with a partial match. + *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. + * @param pT the fixed value of pattern parameter T, or null if not bound. + * @return the (partial) match object. + * + */ + public TooFewInputsOfTurnout.Match newMatch(final Turnout pT) { + return TooFewInputsOfTurnout.Match.newMatch(pT); + } + + /** + * Retrieve the set of values that occur in matches for T. + * @return the Set of all values or empty set if there are no matches + * + */ + protected Stream rawStreamAllValuesOfT(final Object[] parameters) { + return rawStreamAllValues(POSITION_T, parameters).map(Turnout.class::cast); + } + + /** + * Retrieve the set of values that occur in matches for T. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOfT() { + return rawStreamAllValuesOfT(emptyArray()).collect(Collectors.toSet()); + } + + /** + * Retrieve the set of values that occur in matches for T. + * @return the Set of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOfT() { + return rawStreamAllValuesOfT(emptyArray()); + } + + @Override + protected TooFewInputsOfTurnout.Match tupleToMatch(final Tuple t) { + try { + return TooFewInputsOfTurnout.Match.newMatch((Turnout) t.get(POSITION_T)); + } catch(ClassCastException e) { + LOGGER.error("Element(s) in tuple not properly typed!",e); + return null; + } + } + + @Override + protected TooFewInputsOfTurnout.Match arrayToMatch(final Object[] match) { + try { + return TooFewInputsOfTurnout.Match.newMatch((Turnout) match[POSITION_T]); + } catch(ClassCastException e) { + LOGGER.error("Element(s) in array not properly typed!",e); + return null; + } + } + + @Override + protected TooFewInputsOfTurnout.Match arrayToMatchMutable(final Object[] match) { + try { + return TooFewInputsOfTurnout.Match.newMutableMatch((Turnout) match[POSITION_T]); + } catch(ClassCastException e) { + LOGGER.error("Element(s) in array not properly typed!",e); + return null; + } + } + + /** + * @return the singleton instance of the query specification of this pattern + * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded + * + */ + public static IQuerySpecification querySpecification() { + return TooFewInputsOfTurnout.instance(); + } + } + + private TooFewInputsOfTurnout() { + super(GeneratedPQuery.INSTANCE); + } + + /** + * @return the singleton instance of the query specification + * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded + * + */ + public static TooFewInputsOfTurnout instance() { + try{ + return LazyHolder.INSTANCE; + } catch (ExceptionInInitializerError err) { + throw processInitializerError(err); + } + } + + @Override + protected TooFewInputsOfTurnout.Matcher instantiate(final ViatraQueryEngine engine) { + return TooFewInputsOfTurnout.Matcher.on(engine); + } + + @Override + public TooFewInputsOfTurnout.Matcher instantiate() { + return TooFewInputsOfTurnout.Matcher.create(); + } + + @Override + public TooFewInputsOfTurnout.Match newEmptyMatch() { + return TooFewInputsOfTurnout.Match.newEmptyMatch(); + } + + @Override + public TooFewInputsOfTurnout.Match newMatch(final Object... parameters) { + return TooFewInputsOfTurnout.Match.newMatch((modes3.Turnout) parameters[0]); + } + + /** + * Inner class allowing the singleton instance of {@link TooFewInputsOfTurnout} to be created + * not at the class load time of the outer class, + * but rather at the first call to {@link TooFewInputsOfTurnout#instance()}. + * + *

    This workaround is required e.g. to support recursion. + * + */ + private static class LazyHolder { + private static final TooFewInputsOfTurnout INSTANCE = new TooFewInputsOfTurnout(); + + /** + * Statically initializes the query specification after the field {@link #INSTANCE} is assigned. + * This initialization order is required to support indirect recursion. + * + *

    The static initializer is defined using a helper field to work around limitations of the code generator. + * + */ + private static final Object STATIC_INITIALIZER = ensureInitialized(); + + public static Object ensureInitialized() { + INSTANCE.ensureInitializedInternal(); + return null; + } + } + + private static class GeneratedPQuery extends BaseGeneratedEMFPQuery { + private static final TooFewInputsOfTurnout.GeneratedPQuery INSTANCE = new GeneratedPQuery(); + + private final PParameter parameter_T = new PParameter("T", "modes3.Turnout", new EClassTransitiveInstancesKey((EClass)getClassifierLiteralSafe("http://www.ece.mcgill.ca/wcet/modes3", "Turnout")), PParameterDirection.INOUT); + + private final List parameters = Arrays.asList(parameter_T); + + private GeneratedPQuery() { + super(PVisibility.PUBLIC); + } + + @Override + public String getFullyQualifiedName() { + return "modes3.queries.tooFewInputsOfTurnout"; + } + + @Override + public List getParameterNames() { + return Arrays.asList("T"); + } + + @Override + public List getParameters() { + return parameters; + } + + @Override + public Set doGetContainedBodies() { + setEvaluationHints(new QueryEvaluationHint(null, QueryEvaluationHint.BackendRequirement.UNSPECIFIED)); + Set bodies = new LinkedHashSet<>(); + { + PBody body = new PBody(this); + PVariable var_T = body.getOrCreateVariableByName("T"); + new TypeConstraint(body, Tuples.flatTupleOf(var_T), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.ece.mcgill.ca/wcet/modes3", "Turnout"))); + body.setSymbolicParameters(Arrays.asList( + new ExportedParameter(body, var_T, parameter_T) + )); + // neg find inputsOfTurnout(T) + new NegativePatternCall(body, Tuples.flatTupleOf(var_T), InputsOfTurnout.instance().getInternalQueryRepresentation()); + bodies.add(body); + } + { + PAnnotation annotation = new PAnnotation("Constraint"); + annotation.addAttribute("message", "tooFewInputsOfTurnout"); + annotation.addAttribute("severity", "error"); + annotation.addAttribute("key", Arrays.asList(new Object[] { + new ParameterReference("T") + })); + addAnnotation(annotation); + } + return bodies; + } + } +} diff --git a/Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/TooManyExtraInputsOfTurnout.java b/Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/TooManyExtraInputsOfTurnout.java deleted file mode 100644 index 9f417795..00000000 --- a/Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/TooManyExtraInputsOfTurnout.java +++ /dev/null @@ -1,570 +0,0 @@ -/** - * Generated from platform:/resource/ca.mcgill.rtgmrt.example.modes3/src/modes3/queries/Modes3Queries.vql - */ -package modes3.queries; - -import java.util.Arrays; -import java.util.Collection; -import java.util.LinkedHashSet; -import java.util.List; -import java.util.Objects; -import java.util.Optional; -import java.util.Set; -import java.util.function.Consumer; -import java.util.stream.Collectors; -import java.util.stream.Stream; -import modes3.Turnout; -import modes3.queries.ExtraInputOfTurnout; -import org.apache.log4j.Logger; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.viatra.query.runtime.api.IPatternMatch; -import org.eclipse.viatra.query.runtime.api.IQuerySpecification; -import org.eclipse.viatra.query.runtime.api.ViatraQueryEngine; -import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFPQuery; -import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFQuerySpecification; -import org.eclipse.viatra.query.runtime.api.impl.BaseMatcher; -import org.eclipse.viatra.query.runtime.api.impl.BasePatternMatch; -import org.eclipse.viatra.query.runtime.emf.types.EClassTransitiveInstancesKey; -import org.eclipse.viatra.query.runtime.matchers.backend.QueryEvaluationHint; -import org.eclipse.viatra.query.runtime.matchers.psystem.PBody; -import org.eclipse.viatra.query.runtime.matchers.psystem.PVariable; -import org.eclipse.viatra.query.runtime.matchers.psystem.annotations.PAnnotation; -import org.eclipse.viatra.query.runtime.matchers.psystem.annotations.ParameterReference; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.ExportedParameter; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.Inequality; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicenumerables.PositivePatternCall; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicenumerables.TypeConstraint; -import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameter; -import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameterDirection; -import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PVisibility; -import org.eclipse.viatra.query.runtime.matchers.tuple.Tuple; -import org.eclipse.viatra.query.runtime.matchers.tuple.Tuples; -import org.eclipse.viatra.query.runtime.util.ViatraQueryLoggingUtil; - -/** - * A pattern-specific query specification that can instantiate Matcher in a type-safe way. - * - *

    Original source: - *

    - *         {@literal @}Constraint(message = "tooManyExtraInputsOfTurnout", severity = "error", key = { T })
    - *         pattern tooManyExtraInputsOfTurnout(T : Turnout) {
    - *         	find extraInputOfTurnout(T, I1);
    - *         	find extraInputOfTurnout(T, I2);
    - *         	I1 != I2;
    - *         }
    - * 
    - * - * @see Matcher - * @see Match - * - */ -@SuppressWarnings("all") -public final class TooManyExtraInputsOfTurnout extends BaseGeneratedEMFQuerySpecification { - /** - * Pattern-specific match representation of the modes3.queries.tooManyExtraInputsOfTurnout pattern, - * to be used in conjunction with {@link Matcher}. - * - *

    Class fields correspond to parameters of the pattern. Fields with value null are considered unassigned. - * Each instance is a (possibly partial) substitution of pattern parameters, - * usable to represent a match of the pattern in the result of a query, - * or to specify the bound (fixed) input parameters when issuing a query. - * - * @see Matcher - * - */ - public static abstract class Match extends BasePatternMatch { - private Turnout fT; - - private static List parameterNames = makeImmutableList("T"); - - private Match(final Turnout pT) { - this.fT = pT; - } - - @Override - public Object get(final String parameterName) { - switch(parameterName) { - case "T": return this.fT; - default: return null; - } - } - - @Override - public Object get(final int index) { - switch(index) { - case 0: return this.fT; - default: return null; - } - } - - public Turnout getT() { - return this.fT; - } - - @Override - public boolean set(final String parameterName, final Object newValue) { - if (!isMutable()) throw new java.lang.UnsupportedOperationException(); - if ("T".equals(parameterName) ) { - this.fT = (Turnout) newValue; - return true; - } - return false; - } - - public void setT(final Turnout pT) { - if (!isMutable()) throw new java.lang.UnsupportedOperationException(); - this.fT = pT; - } - - @Override - public String patternName() { - return "modes3.queries.tooManyExtraInputsOfTurnout"; - } - - @Override - public List parameterNames() { - return TooManyExtraInputsOfTurnout.Match.parameterNames; - } - - @Override - public Object[] toArray() { - return new Object[]{fT}; - } - - @Override - public TooManyExtraInputsOfTurnout.Match toImmutable() { - return isMutable() ? newMatch(fT) : this; - } - - @Override - public String prettyPrint() { - StringBuilder result = new StringBuilder(); - result.append("\"T\"=" + prettyPrintValue(fT)); - return result.toString(); - } - - @Override - public int hashCode() { - return Objects.hash(fT); - } - - @Override - public boolean equals(final Object obj) { - if (this == obj) - return true; - if (obj == null) { - return false; - } - if ((obj instanceof TooManyExtraInputsOfTurnout.Match)) { - TooManyExtraInputsOfTurnout.Match other = (TooManyExtraInputsOfTurnout.Match) obj; - return Objects.equals(fT, other.fT); - } else { - // this should be infrequent - if (!(obj instanceof IPatternMatch)) { - return false; - } - IPatternMatch otherSig = (IPatternMatch) obj; - return Objects.equals(specification(), otherSig.specification()) && Arrays.deepEquals(toArray(), otherSig.toArray()); - } - } - - @Override - public TooManyExtraInputsOfTurnout specification() { - return TooManyExtraInputsOfTurnout.instance(); - } - - /** - * Returns an empty, mutable match. - * Fields of the mutable match can be filled to create a partial match, usable as matcher input. - * - * @return the empty match. - * - */ - public static TooManyExtraInputsOfTurnout.Match newEmptyMatch() { - return new Mutable(null); - } - - /** - * Returns a mutable (partial) match. - * Fields of the mutable match can be filled to create a partial match, usable as matcher input. - * - * @param pT the fixed value of pattern parameter T, or null if not bound. - * @return the new, mutable (partial) match object. - * - */ - public static TooManyExtraInputsOfTurnout.Match newMutableMatch(final Turnout pT) { - return new Mutable(pT); - } - - /** - * Returns a new (partial) match. - * This can be used e.g. to call the matcher with a partial match. - *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. - * @param pT the fixed value of pattern parameter T, or null if not bound. - * @return the (partial) match object. - * - */ - public static TooManyExtraInputsOfTurnout.Match newMatch(final Turnout pT) { - return new Immutable(pT); - } - - private static final class Mutable extends TooManyExtraInputsOfTurnout.Match { - Mutable(final Turnout pT) { - super(pT); - } - - @Override - public boolean isMutable() { - return true; - } - } - - private static final class Immutable extends TooManyExtraInputsOfTurnout.Match { - Immutable(final Turnout pT) { - super(pT); - } - - @Override - public boolean isMutable() { - return false; - } - } - } - - /** - * Generated pattern matcher API of the modes3.queries.tooManyExtraInputsOfTurnout pattern, - * providing pattern-specific query methods. - * - *

    Use the pattern matcher on a given model via {@link #on(ViatraQueryEngine)}, - * e.g. in conjunction with {@link ViatraQueryEngine#on(QueryScope)}. - * - *

    Matches of the pattern will be represented as {@link Match}. - * - *

    Original source: - *

    -   * {@literal @}Constraint(message = "tooManyExtraInputsOfTurnout", severity = "error", key = { T })
    -   * pattern tooManyExtraInputsOfTurnout(T : Turnout) {
    -   * 	find extraInputOfTurnout(T, I1);
    -   * 	find extraInputOfTurnout(T, I2);
    -   * 	I1 != I2;
    -   * }
    -   * 
    - * - * @see Match - * @see TooManyExtraInputsOfTurnout - * - */ - public static class Matcher extends BaseMatcher { - /** - * Initializes the pattern matcher within an existing VIATRA Query engine. - * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. - * - * @param engine the existing VIATRA Query engine in which this matcher will be created. - * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation - * - */ - public static TooManyExtraInputsOfTurnout.Matcher on(final ViatraQueryEngine engine) { - // check if matcher already exists - Matcher matcher = engine.getExistingMatcher(querySpecification()); - if (matcher == null) { - matcher = (Matcher)engine.getMatcher(querySpecification()); - } - return matcher; - } - - /** - * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation - * @return an initialized matcher - * @noreference This method is for internal matcher initialization by the framework, do not call it manually. - * - */ - public static TooManyExtraInputsOfTurnout.Matcher create() { - return new Matcher(); - } - - private static final int POSITION_T = 0; - - private static final Logger LOGGER = ViatraQueryLoggingUtil.getLogger(TooManyExtraInputsOfTurnout.Matcher.class); - - /** - * Initializes the pattern matcher within an existing VIATRA Query engine. - * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. - * - * @param engine the existing VIATRA Query engine in which this matcher will be created. - * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation - * - */ - private Matcher() { - super(querySpecification()); - } - - /** - * Returns the set of all matches of the pattern that conform to the given fixed values of some parameters. - * @param pT the fixed value of pattern parameter T, or null if not bound. - * @return matches represented as a Match object. - * - */ - public Collection getAllMatches(final Turnout pT) { - return rawStreamAllMatches(new Object[]{pT}).collect(Collectors.toSet()); - } - - /** - * Returns a stream of all matches of the pattern that conform to the given fixed values of some parameters. - *

    - * NOTE: It is important not to modify the source model while the stream is being processed. - * If the match set of the pattern changes during processing, the contents of the stream is undefined. - * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. - * @param pT the fixed value of pattern parameter T, or null if not bound. - * @return a stream of matches represented as a Match object. - * - */ - public Stream streamAllMatches(final Turnout pT) { - return rawStreamAllMatches(new Object[]{pT}); - } - - /** - * Returns an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. - * Neither determinism nor randomness of selection is guaranteed. - * @param pT the fixed value of pattern parameter T, or null if not bound. - * @return a match represented as a Match object, or null if no match is found. - * - */ - public Optional getOneArbitraryMatch(final Turnout pT) { - return rawGetOneArbitraryMatch(new Object[]{pT}); - } - - /** - * Indicates whether the given combination of specified pattern parameters constitute a valid pattern match, - * under any possible substitution of the unspecified parameters (if any). - * @param pT the fixed value of pattern parameter T, or null if not bound. - * @return true if the input is a valid (partial) match of the pattern. - * - */ - public boolean hasMatch(final Turnout pT) { - return rawHasMatch(new Object[]{pT}); - } - - /** - * Returns the number of all matches of the pattern that conform to the given fixed values of some parameters. - * @param pT the fixed value of pattern parameter T, or null if not bound. - * @return the number of pattern matches found. - * - */ - public int countMatches(final Turnout pT) { - return rawCountMatches(new Object[]{pT}); - } - - /** - * Executes the given processor on an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. - * Neither determinism nor randomness of selection is guaranteed. - * @param pT the fixed value of pattern parameter T, or null if not bound. - * @param processor the action that will process the selected match. - * @return true if the pattern has at least one match with the given parameter values, false if the processor was not invoked - * - */ - public boolean forOneArbitraryMatch(final Turnout pT, final Consumer processor) { - return rawForOneArbitraryMatch(new Object[]{pT}, processor); - } - - /** - * Returns a new (partial) match. - * This can be used e.g. to call the matcher with a partial match. - *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. - * @param pT the fixed value of pattern parameter T, or null if not bound. - * @return the (partial) match object. - * - */ - public TooManyExtraInputsOfTurnout.Match newMatch(final Turnout pT) { - return TooManyExtraInputsOfTurnout.Match.newMatch(pT); - } - - /** - * Retrieve the set of values that occur in matches for T. - * @return the Set of all values or empty set if there are no matches - * - */ - protected Stream rawStreamAllValuesOfT(final Object[] parameters) { - return rawStreamAllValues(POSITION_T, parameters).map(Turnout.class::cast); - } - - /** - * Retrieve the set of values that occur in matches for T. - * @return the Set of all values or empty set if there are no matches - * - */ - public Set getAllValuesOfT() { - return rawStreamAllValuesOfT(emptyArray()).collect(Collectors.toSet()); - } - - /** - * Retrieve the set of values that occur in matches for T. - * @return the Set of all values or empty set if there are no matches - * - */ - public Stream streamAllValuesOfT() { - return rawStreamAllValuesOfT(emptyArray()); - } - - @Override - protected TooManyExtraInputsOfTurnout.Match tupleToMatch(final Tuple t) { - try { - return TooManyExtraInputsOfTurnout.Match.newMatch((Turnout) t.get(POSITION_T)); - } catch(ClassCastException e) { - LOGGER.error("Element(s) in tuple not properly typed!",e); - return null; - } - } - - @Override - protected TooManyExtraInputsOfTurnout.Match arrayToMatch(final Object[] match) { - try { - return TooManyExtraInputsOfTurnout.Match.newMatch((Turnout) match[POSITION_T]); - } catch(ClassCastException e) { - LOGGER.error("Element(s) in array not properly typed!",e); - return null; - } - } - - @Override - protected TooManyExtraInputsOfTurnout.Match arrayToMatchMutable(final Object[] match) { - try { - return TooManyExtraInputsOfTurnout.Match.newMutableMatch((Turnout) match[POSITION_T]); - } catch(ClassCastException e) { - LOGGER.error("Element(s) in array not properly typed!",e); - return null; - } - } - - /** - * @return the singleton instance of the query specification of this pattern - * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded - * - */ - public static IQuerySpecification querySpecification() { - return TooManyExtraInputsOfTurnout.instance(); - } - } - - private TooManyExtraInputsOfTurnout() { - super(GeneratedPQuery.INSTANCE); - } - - /** - * @return the singleton instance of the query specification - * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded - * - */ - public static TooManyExtraInputsOfTurnout instance() { - try{ - return LazyHolder.INSTANCE; - } catch (ExceptionInInitializerError err) { - throw processInitializerError(err); - } - } - - @Override - protected TooManyExtraInputsOfTurnout.Matcher instantiate(final ViatraQueryEngine engine) { - return TooManyExtraInputsOfTurnout.Matcher.on(engine); - } - - @Override - public TooManyExtraInputsOfTurnout.Matcher instantiate() { - return TooManyExtraInputsOfTurnout.Matcher.create(); - } - - @Override - public TooManyExtraInputsOfTurnout.Match newEmptyMatch() { - return TooManyExtraInputsOfTurnout.Match.newEmptyMatch(); - } - - @Override - public TooManyExtraInputsOfTurnout.Match newMatch(final Object... parameters) { - return TooManyExtraInputsOfTurnout.Match.newMatch((modes3.Turnout) parameters[0]); - } - - /** - * Inner class allowing the singleton instance of {@link TooManyExtraInputsOfTurnout} to be created - * not at the class load time of the outer class, - * but rather at the first call to {@link TooManyExtraInputsOfTurnout#instance()}. - * - *

    This workaround is required e.g. to support recursion. - * - */ - private static class LazyHolder { - private static final TooManyExtraInputsOfTurnout INSTANCE = new TooManyExtraInputsOfTurnout(); - - /** - * Statically initializes the query specification after the field {@link #INSTANCE} is assigned. - * This initialization order is required to support indirect recursion. - * - *

    The static initializer is defined using a helper field to work around limitations of the code generator. - * - */ - private static final Object STATIC_INITIALIZER = ensureInitialized(); - - public static Object ensureInitialized() { - INSTANCE.ensureInitializedInternal(); - return null; - } - } - - private static class GeneratedPQuery extends BaseGeneratedEMFPQuery { - private static final TooManyExtraInputsOfTurnout.GeneratedPQuery INSTANCE = new GeneratedPQuery(); - - private final PParameter parameter_T = new PParameter("T", "modes3.Turnout", new EClassTransitiveInstancesKey((EClass)getClassifierLiteralSafe("http://www.ece.mcgill.ca/wcet/modes3", "Turnout")), PParameterDirection.INOUT); - - private final List parameters = Arrays.asList(parameter_T); - - private GeneratedPQuery() { - super(PVisibility.PUBLIC); - } - - @Override - public String getFullyQualifiedName() { - return "modes3.queries.tooManyExtraInputsOfTurnout"; - } - - @Override - public List getParameterNames() { - return Arrays.asList("T"); - } - - @Override - public List getParameters() { - return parameters; - } - - @Override - public Set doGetContainedBodies() { - setEvaluationHints(new QueryEvaluationHint(null, QueryEvaluationHint.BackendRequirement.UNSPECIFIED)); - Set bodies = new LinkedHashSet<>(); - { - PBody body = new PBody(this); - PVariable var_T = body.getOrCreateVariableByName("T"); - PVariable var_I1 = body.getOrCreateVariableByName("I1"); - PVariable var_I2 = body.getOrCreateVariableByName("I2"); - new TypeConstraint(body, Tuples.flatTupleOf(var_T), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.ece.mcgill.ca/wcet/modes3", "Turnout"))); - body.setSymbolicParameters(Arrays.asList( - new ExportedParameter(body, var_T, parameter_T) - )); - // find extraInputOfTurnout(T, I1) - new PositivePatternCall(body, Tuples.flatTupleOf(var_T, var_I1), ExtraInputOfTurnout.instance().getInternalQueryRepresentation()); - // find extraInputOfTurnout(T, I2) - new PositivePatternCall(body, Tuples.flatTupleOf(var_T, var_I2), ExtraInputOfTurnout.instance().getInternalQueryRepresentation()); - // I1 != I2 - new Inequality(body, var_I1, var_I2); - bodies.add(body); - } - { - PAnnotation annotation = new PAnnotation("Constraint"); - annotation.addAttribute("message", "tooManyExtraInputsOfTurnout"); - annotation.addAttribute("severity", "error"); - annotation.addAttribute("key", Arrays.asList(new Object[] { - new ParameterReference("T") - })); - addAnnotation(annotation); - } - return bodies; - } - } -} diff --git a/Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/TooManyInputsOfSegment.java b/Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/TooManyInputsOfSegment.java index e5e8827c..ff82dda1 100644 --- a/Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/TooManyInputsOfSegment.java +++ b/Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/TooManyInputsOfSegment.java @@ -13,9 +13,8 @@ import java.util.Set; import java.util.function.Consumer; import java.util.stream.Collectors; import java.util.stream.Stream; -import modes3.Segment; +import modes3.SimpleSegment; import modes3.queries.Output; -import modes3.queries.Turnout; import org.apache.log4j.Logger; import org.eclipse.emf.ecore.EClass; import org.eclipse.viatra.query.runtime.api.IPatternMatch; @@ -33,7 +32,6 @@ import org.eclipse.viatra.query.runtime.matchers.psystem.annotations.PAnnotation import org.eclipse.viatra.query.runtime.matchers.psystem.annotations.ParameterReference; import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.ExportedParameter; import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.Inequality; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.NegativePatternCall; import org.eclipse.viatra.query.runtime.matchers.psystem.basicenumerables.PositivePatternCall; import org.eclipse.viatra.query.runtime.matchers.psystem.basicenumerables.TypeConstraint; import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameter; @@ -55,8 +53,7 @@ import org.eclipse.viatra.query.runtime.util.ViatraQueryLoggingUtil; * //} * * {@literal @}Constraint(message = "tooManyInputsOfSegment", severity = "error", key = { S }) - * pattern tooManyInputsOfSegment(S : Segment) { - * neg find turnout(S); + * pattern tooManyInputsOfSegment(S : SimpleSegment) { * find output(I1, S); * find output(I2, S); * find output(I3, S); @@ -85,11 +82,11 @@ public final class TooManyInputsOfSegment extends BaseGeneratedEMFQuerySpecifica * */ public static abstract class Match extends BasePatternMatch { - private Segment fS; + private SimpleSegment fS; private static List parameterNames = makeImmutableList("S"); - private Match(final Segment pS) { + private Match(final SimpleSegment pS) { this.fS = pS; } @@ -109,7 +106,7 @@ public final class TooManyInputsOfSegment extends BaseGeneratedEMFQuerySpecifica } } - public Segment getS() { + public SimpleSegment getS() { return this.fS; } @@ -117,13 +114,13 @@ public final class TooManyInputsOfSegment extends BaseGeneratedEMFQuerySpecifica public boolean set(final String parameterName, final Object newValue) { if (!isMutable()) throw new java.lang.UnsupportedOperationException(); if ("S".equals(parameterName) ) { - this.fS = (Segment) newValue; + this.fS = (SimpleSegment) newValue; return true; } return false; } - public void setS(final Segment pS) { + public void setS(final SimpleSegment pS) { if (!isMutable()) throw new java.lang.UnsupportedOperationException(); this.fS = pS; } @@ -204,7 +201,7 @@ public final class TooManyInputsOfSegment extends BaseGeneratedEMFQuerySpecifica * @return the new, mutable (partial) match object. * */ - public static TooManyInputsOfSegment.Match newMutableMatch(final Segment pS) { + public static TooManyInputsOfSegment.Match newMutableMatch(final SimpleSegment pS) { return new Mutable(pS); } @@ -216,12 +213,12 @@ public final class TooManyInputsOfSegment extends BaseGeneratedEMFQuerySpecifica * @return the (partial) match object. * */ - public static TooManyInputsOfSegment.Match newMatch(final Segment pS) { + public static TooManyInputsOfSegment.Match newMatch(final SimpleSegment pS) { return new Immutable(pS); } private static final class Mutable extends TooManyInputsOfSegment.Match { - Mutable(final Segment pS) { + Mutable(final SimpleSegment pS) { super(pS); } @@ -232,7 +229,7 @@ public final class TooManyInputsOfSegment extends BaseGeneratedEMFQuerySpecifica } private static final class Immutable extends TooManyInputsOfSegment.Match { - Immutable(final Segment pS) { + Immutable(final SimpleSegment pS) { super(pS); } @@ -261,8 +258,7 @@ public final class TooManyInputsOfSegment extends BaseGeneratedEMFQuerySpecifica * //} * * {@literal @}Constraint(message = "tooManyInputsOfSegment", severity = "error", key = { S }) - * pattern tooManyInputsOfSegment(S : Segment) { - * neg find turnout(S); + * pattern tooManyInputsOfSegment(S : SimpleSegment) { * find output(I1, S); * find output(I2, S); * find output(I3, S); @@ -326,7 +322,7 @@ public final class TooManyInputsOfSegment extends BaseGeneratedEMFQuerySpecifica * @return matches represented as a Match object. * */ - public Collection getAllMatches(final Segment pS) { + public Collection getAllMatches(final SimpleSegment pS) { return rawStreamAllMatches(new Object[]{pS}).collect(Collectors.toSet()); } @@ -340,7 +336,7 @@ public final class TooManyInputsOfSegment extends BaseGeneratedEMFQuerySpecifica * @return a stream of matches represented as a Match object. * */ - public Stream streamAllMatches(final Segment pS) { + public Stream streamAllMatches(final SimpleSegment pS) { return rawStreamAllMatches(new Object[]{pS}); } @@ -351,7 +347,7 @@ public final class TooManyInputsOfSegment extends BaseGeneratedEMFQuerySpecifica * @return a match represented as a Match object, or null if no match is found. * */ - public Optional getOneArbitraryMatch(final Segment pS) { + public Optional getOneArbitraryMatch(final SimpleSegment pS) { return rawGetOneArbitraryMatch(new Object[]{pS}); } @@ -362,7 +358,7 @@ public final class TooManyInputsOfSegment extends BaseGeneratedEMFQuerySpecifica * @return true if the input is a valid (partial) match of the pattern. * */ - public boolean hasMatch(final Segment pS) { + public boolean hasMatch(final SimpleSegment pS) { return rawHasMatch(new Object[]{pS}); } @@ -372,7 +368,7 @@ public final class TooManyInputsOfSegment extends BaseGeneratedEMFQuerySpecifica * @return the number of pattern matches found. * */ - public int countMatches(final Segment pS) { + public int countMatches(final SimpleSegment pS) { return rawCountMatches(new Object[]{pS}); } @@ -384,7 +380,7 @@ public final class TooManyInputsOfSegment extends BaseGeneratedEMFQuerySpecifica * @return true if the pattern has at least one match with the given parameter values, false if the processor was not invoked * */ - public boolean forOneArbitraryMatch(final Segment pS, final Consumer processor) { + public boolean forOneArbitraryMatch(final SimpleSegment pS, final Consumer processor) { return rawForOneArbitraryMatch(new Object[]{pS}, processor); } @@ -396,7 +392,7 @@ public final class TooManyInputsOfSegment extends BaseGeneratedEMFQuerySpecifica * @return the (partial) match object. * */ - public TooManyInputsOfSegment.Match newMatch(final Segment pS) { + public TooManyInputsOfSegment.Match newMatch(final SimpleSegment pS) { return TooManyInputsOfSegment.Match.newMatch(pS); } @@ -405,8 +401,8 @@ public final class TooManyInputsOfSegment extends BaseGeneratedEMFQuerySpecifica * @return the Set of all values or empty set if there are no matches * */ - protected Stream rawStreamAllValuesOfS(final Object[] parameters) { - return rawStreamAllValues(POSITION_S, parameters).map(Segment.class::cast); + protected Stream rawStreamAllValuesOfS(final Object[] parameters) { + return rawStreamAllValues(POSITION_S, parameters).map(SimpleSegment.class::cast); } /** @@ -414,7 +410,7 @@ public final class TooManyInputsOfSegment extends BaseGeneratedEMFQuerySpecifica * @return the Set of all values or empty set if there are no matches * */ - public Set getAllValuesOfS() { + public Set getAllValuesOfS() { return rawStreamAllValuesOfS(emptyArray()).collect(Collectors.toSet()); } @@ -423,14 +419,14 @@ public final class TooManyInputsOfSegment extends BaseGeneratedEMFQuerySpecifica * @return the Set of all values or empty set if there are no matches * */ - public Stream streamAllValuesOfS() { + public Stream streamAllValuesOfS() { return rawStreamAllValuesOfS(emptyArray()); } @Override protected TooManyInputsOfSegment.Match tupleToMatch(final Tuple t) { try { - return TooManyInputsOfSegment.Match.newMatch((Segment) t.get(POSITION_S)); + return TooManyInputsOfSegment.Match.newMatch((SimpleSegment) t.get(POSITION_S)); } catch(ClassCastException e) { LOGGER.error("Element(s) in tuple not properly typed!",e); return null; @@ -440,7 +436,7 @@ public final class TooManyInputsOfSegment extends BaseGeneratedEMFQuerySpecifica @Override protected TooManyInputsOfSegment.Match arrayToMatch(final Object[] match) { try { - return TooManyInputsOfSegment.Match.newMatch((Segment) match[POSITION_S]); + return TooManyInputsOfSegment.Match.newMatch((SimpleSegment) match[POSITION_S]); } catch(ClassCastException e) { LOGGER.error("Element(s) in array not properly typed!",e); return null; @@ -450,7 +446,7 @@ public final class TooManyInputsOfSegment extends BaseGeneratedEMFQuerySpecifica @Override protected TooManyInputsOfSegment.Match arrayToMatchMutable(final Object[] match) { try { - return TooManyInputsOfSegment.Match.newMutableMatch((Segment) match[POSITION_S]); + return TooManyInputsOfSegment.Match.newMutableMatch((SimpleSegment) match[POSITION_S]); } catch(ClassCastException e) { LOGGER.error("Element(s) in array not properly typed!",e); return null; @@ -501,7 +497,7 @@ public final class TooManyInputsOfSegment extends BaseGeneratedEMFQuerySpecifica @Override public TooManyInputsOfSegment.Match newMatch(final Object... parameters) { - return TooManyInputsOfSegment.Match.newMatch((modes3.Segment) parameters[0]); + return TooManyInputsOfSegment.Match.newMatch((modes3.SimpleSegment) parameters[0]); } /** @@ -533,7 +529,7 @@ public final class TooManyInputsOfSegment extends BaseGeneratedEMFQuerySpecifica private static class GeneratedPQuery extends BaseGeneratedEMFPQuery { private static final TooManyInputsOfSegment.GeneratedPQuery INSTANCE = new GeneratedPQuery(); - private final PParameter parameter_S = new PParameter("S", "modes3.Segment", new EClassTransitiveInstancesKey((EClass)getClassifierLiteralSafe("http://www.ece.mcgill.ca/wcet/modes3", "Segment")), PParameterDirection.INOUT); + private final PParameter parameter_S = new PParameter("S", "modes3.SimpleSegment", new EClassTransitiveInstancesKey((EClass)getClassifierLiteralSafe("http://www.ece.mcgill.ca/wcet/modes3", "SimpleSegment")), PParameterDirection.INOUT); private final List parameters = Arrays.asList(parameter_S); @@ -566,12 +562,10 @@ public final class TooManyInputsOfSegment extends BaseGeneratedEMFQuerySpecifica PVariable var_I1 = body.getOrCreateVariableByName("I1"); PVariable var_I2 = body.getOrCreateVariableByName("I2"); PVariable var_I3 = body.getOrCreateVariableByName("I3"); - new TypeConstraint(body, Tuples.flatTupleOf(var_S), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.ece.mcgill.ca/wcet/modes3", "Segment"))); + new TypeConstraint(body, Tuples.flatTupleOf(var_S), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.ece.mcgill.ca/wcet/modes3", "SimpleSegment"))); body.setSymbolicParameters(Arrays.asList( new ExportedParameter(body, var_S, parameter_S) )); - // neg find turnout(S) - new NegativePatternCall(body, Tuples.flatTupleOf(var_S), Turnout.instance().getInternalQueryRepresentation()); // find output(I1, S) new PositivePatternCall(body, Tuples.flatTupleOf(var_I1, var_S), Output.instance().getInternalQueryRepresentation()); // find output(I2, S) diff --git a/Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/TooManyInputsOfTurnout.java b/Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/TooManyInputsOfTurnout.java new file mode 100644 index 00000000..93076cbb --- /dev/null +++ b/Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/TooManyInputsOfTurnout.java @@ -0,0 +1,600 @@ +/** + * Generated from platform:/resource/ca.mcgill.rtgmrt.example.modes3/src/modes3/queries/Modes3Queries.vql + */ +package modes3.queries; + +import java.util.Arrays; +import java.util.Collection; +import java.util.LinkedHashSet; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import java.util.Set; +import java.util.function.Consumer; +import java.util.stream.Collectors; +import java.util.stream.Stream; +import modes3.Turnout; +import modes3.queries.Adjacent; +import org.apache.log4j.Logger; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.viatra.query.runtime.api.IPatternMatch; +import org.eclipse.viatra.query.runtime.api.IQuerySpecification; +import org.eclipse.viatra.query.runtime.api.ViatraQueryEngine; +import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFPQuery; +import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFQuerySpecification; +import org.eclipse.viatra.query.runtime.api.impl.BaseMatcher; +import org.eclipse.viatra.query.runtime.api.impl.BasePatternMatch; +import org.eclipse.viatra.query.runtime.emf.types.EClassTransitiveInstancesKey; +import org.eclipse.viatra.query.runtime.matchers.backend.QueryEvaluationHint; +import org.eclipse.viatra.query.runtime.matchers.psystem.PBody; +import org.eclipse.viatra.query.runtime.matchers.psystem.PVariable; +import org.eclipse.viatra.query.runtime.matchers.psystem.annotations.PAnnotation; +import org.eclipse.viatra.query.runtime.matchers.psystem.annotations.ParameterReference; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.ExportedParameter; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.Inequality; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicenumerables.PositivePatternCall; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicenumerables.TypeConstraint; +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameter; +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameterDirection; +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PVisibility; +import org.eclipse.viatra.query.runtime.matchers.tuple.Tuple; +import org.eclipse.viatra.query.runtime.matchers.tuple.Tuples; +import org.eclipse.viatra.query.runtime.util.ViatraQueryLoggingUtil; + +/** + * A pattern-specific query specification that can instantiate Matcher in a type-safe way. + * + *

    Original source: + *

    + *         {@literal @}Constraint(message = "turnoutConnectedToBothOutputs", severity = "error", key = { T })
    + *         pattern tooManyInputsOfTurnout(T : Turnout) {
    + *         	find adjacent(I1, T);
    + *         	find adjacent(I2, T);
    + *         	find adjacent(I3, T);
    + *         	find adjacent(I4, T);
    + *         	I1 != I2;
    + *         	I1 != I3;
    + *         	I1 != I4;
    + *         	I2 != I3;
    + *         	I2 != I4;
    + *         	I3 != I4;
    + *         }
    + * 
    + * + * @see Matcher + * @see Match + * + */ +@SuppressWarnings("all") +public final class TooManyInputsOfTurnout extends BaseGeneratedEMFQuerySpecification { + /** + * Pattern-specific match representation of the modes3.queries.tooManyInputsOfTurnout pattern, + * to be used in conjunction with {@link Matcher}. + * + *

    Class fields correspond to parameters of the pattern. Fields with value null are considered unassigned. + * Each instance is a (possibly partial) substitution of pattern parameters, + * usable to represent a match of the pattern in the result of a query, + * or to specify the bound (fixed) input parameters when issuing a query. + * + * @see Matcher + * + */ + public static abstract class Match extends BasePatternMatch { + private Turnout fT; + + private static List parameterNames = makeImmutableList("T"); + + private Match(final Turnout pT) { + this.fT = pT; + } + + @Override + public Object get(final String parameterName) { + switch(parameterName) { + case "T": return this.fT; + default: return null; + } + } + + @Override + public Object get(final int index) { + switch(index) { + case 0: return this.fT; + default: return null; + } + } + + public Turnout getT() { + return this.fT; + } + + @Override + public boolean set(final String parameterName, final Object newValue) { + if (!isMutable()) throw new java.lang.UnsupportedOperationException(); + if ("T".equals(parameterName) ) { + this.fT = (Turnout) newValue; + return true; + } + return false; + } + + public void setT(final Turnout pT) { + if (!isMutable()) throw new java.lang.UnsupportedOperationException(); + this.fT = pT; + } + + @Override + public String patternName() { + return "modes3.queries.tooManyInputsOfTurnout"; + } + + @Override + public List parameterNames() { + return TooManyInputsOfTurnout.Match.parameterNames; + } + + @Override + public Object[] toArray() { + return new Object[]{fT}; + } + + @Override + public TooManyInputsOfTurnout.Match toImmutable() { + return isMutable() ? newMatch(fT) : this; + } + + @Override + public String prettyPrint() { + StringBuilder result = new StringBuilder(); + result.append("\"T\"=" + prettyPrintValue(fT)); + return result.toString(); + } + + @Override + public int hashCode() { + return Objects.hash(fT); + } + + @Override + public boolean equals(final Object obj) { + if (this == obj) + return true; + if (obj == null) { + return false; + } + if ((obj instanceof TooManyInputsOfTurnout.Match)) { + TooManyInputsOfTurnout.Match other = (TooManyInputsOfTurnout.Match) obj; + return Objects.equals(fT, other.fT); + } else { + // this should be infrequent + if (!(obj instanceof IPatternMatch)) { + return false; + } + IPatternMatch otherSig = (IPatternMatch) obj; + return Objects.equals(specification(), otherSig.specification()) && Arrays.deepEquals(toArray(), otherSig.toArray()); + } + } + + @Override + public TooManyInputsOfTurnout specification() { + return TooManyInputsOfTurnout.instance(); + } + + /** + * Returns an empty, mutable match. + * Fields of the mutable match can be filled to create a partial match, usable as matcher input. + * + * @return the empty match. + * + */ + public static TooManyInputsOfTurnout.Match newEmptyMatch() { + return new Mutable(null); + } + + /** + * Returns a mutable (partial) match. + * Fields of the mutable match can be filled to create a partial match, usable as matcher input. + * + * @param pT the fixed value of pattern parameter T, or null if not bound. + * @return the new, mutable (partial) match object. + * + */ + public static TooManyInputsOfTurnout.Match newMutableMatch(final Turnout pT) { + return new Mutable(pT); + } + + /** + * Returns a new (partial) match. + * This can be used e.g. to call the matcher with a partial match. + *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. + * @param pT the fixed value of pattern parameter T, or null if not bound. + * @return the (partial) match object. + * + */ + public static TooManyInputsOfTurnout.Match newMatch(final Turnout pT) { + return new Immutable(pT); + } + + private static final class Mutable extends TooManyInputsOfTurnout.Match { + Mutable(final Turnout pT) { + super(pT); + } + + @Override + public boolean isMutable() { + return true; + } + } + + private static final class Immutable extends TooManyInputsOfTurnout.Match { + Immutable(final Turnout pT) { + super(pT); + } + + @Override + public boolean isMutable() { + return false; + } + } + } + + /** + * Generated pattern matcher API of the modes3.queries.tooManyInputsOfTurnout pattern, + * providing pattern-specific query methods. + * + *

    Use the pattern matcher on a given model via {@link #on(ViatraQueryEngine)}, + * e.g. in conjunction with {@link ViatraQueryEngine#on(QueryScope)}. + * + *

    Matches of the pattern will be represented as {@link Match}. + * + *

    Original source: + *

    +   * {@literal @}Constraint(message = "turnoutConnectedToBothOutputs", severity = "error", key = { T })
    +   * pattern tooManyInputsOfTurnout(T : Turnout) {
    +   * 	find adjacent(I1, T);
    +   * 	find adjacent(I2, T);
    +   * 	find adjacent(I3, T);
    +   * 	find adjacent(I4, T);
    +   * 	I1 != I2;
    +   * 	I1 != I3;
    +   * 	I1 != I4;
    +   * 	I2 != I3;
    +   * 	I2 != I4;
    +   * 	I3 != I4;
    +   * }
    +   * 
    + * + * @see Match + * @see TooManyInputsOfTurnout + * + */ + public static class Matcher extends BaseMatcher { + /** + * Initializes the pattern matcher within an existing VIATRA Query engine. + * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. + * + * @param engine the existing VIATRA Query engine in which this matcher will be created. + * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation + * + */ + public static TooManyInputsOfTurnout.Matcher on(final ViatraQueryEngine engine) { + // check if matcher already exists + Matcher matcher = engine.getExistingMatcher(querySpecification()); + if (matcher == null) { + matcher = (Matcher)engine.getMatcher(querySpecification()); + } + return matcher; + } + + /** + * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation + * @return an initialized matcher + * @noreference This method is for internal matcher initialization by the framework, do not call it manually. + * + */ + public static TooManyInputsOfTurnout.Matcher create() { + return new Matcher(); + } + + private static final int POSITION_T = 0; + + private static final Logger LOGGER = ViatraQueryLoggingUtil.getLogger(TooManyInputsOfTurnout.Matcher.class); + + /** + * Initializes the pattern matcher within an existing VIATRA Query engine. + * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. + * + * @param engine the existing VIATRA Query engine in which this matcher will be created. + * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation + * + */ + private Matcher() { + super(querySpecification()); + } + + /** + * Returns the set of all matches of the pattern that conform to the given fixed values of some parameters. + * @param pT the fixed value of pattern parameter T, or null if not bound. + * @return matches represented as a Match object. + * + */ + public Collection getAllMatches(final Turnout pT) { + return rawStreamAllMatches(new Object[]{pT}).collect(Collectors.toSet()); + } + + /** + * Returns a stream of all matches of the pattern that conform to the given fixed values of some parameters. + *

    + * NOTE: It is important not to modify the source model while the stream is being processed. + * If the match set of the pattern changes during processing, the contents of the stream is undefined. + * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. + * @param pT the fixed value of pattern parameter T, or null if not bound. + * @return a stream of matches represented as a Match object. + * + */ + public Stream streamAllMatches(final Turnout pT) { + return rawStreamAllMatches(new Object[]{pT}); + } + + /** + * Returns an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. + * Neither determinism nor randomness of selection is guaranteed. + * @param pT the fixed value of pattern parameter T, or null if not bound. + * @return a match represented as a Match object, or null if no match is found. + * + */ + public Optional getOneArbitraryMatch(final Turnout pT) { + return rawGetOneArbitraryMatch(new Object[]{pT}); + } + + /** + * Indicates whether the given combination of specified pattern parameters constitute a valid pattern match, + * under any possible substitution of the unspecified parameters (if any). + * @param pT the fixed value of pattern parameter T, or null if not bound. + * @return true if the input is a valid (partial) match of the pattern. + * + */ + public boolean hasMatch(final Turnout pT) { + return rawHasMatch(new Object[]{pT}); + } + + /** + * Returns the number of all matches of the pattern that conform to the given fixed values of some parameters. + * @param pT the fixed value of pattern parameter T, or null if not bound. + * @return the number of pattern matches found. + * + */ + public int countMatches(final Turnout pT) { + return rawCountMatches(new Object[]{pT}); + } + + /** + * Executes the given processor on an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. + * Neither determinism nor randomness of selection is guaranteed. + * @param pT the fixed value of pattern parameter T, or null if not bound. + * @param processor the action that will process the selected match. + * @return true if the pattern has at least one match with the given parameter values, false if the processor was not invoked + * + */ + public boolean forOneArbitraryMatch(final Turnout pT, final Consumer processor) { + return rawForOneArbitraryMatch(new Object[]{pT}, processor); + } + + /** + * Returns a new (partial) match. + * This can be used e.g. to call the matcher with a partial match. + *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. + * @param pT the fixed value of pattern parameter T, or null if not bound. + * @return the (partial) match object. + * + */ + public TooManyInputsOfTurnout.Match newMatch(final Turnout pT) { + return TooManyInputsOfTurnout.Match.newMatch(pT); + } + + /** + * Retrieve the set of values that occur in matches for T. + * @return the Set of all values or empty set if there are no matches + * + */ + protected Stream rawStreamAllValuesOfT(final Object[] parameters) { + return rawStreamAllValues(POSITION_T, parameters).map(Turnout.class::cast); + } + + /** + * Retrieve the set of values that occur in matches for T. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOfT() { + return rawStreamAllValuesOfT(emptyArray()).collect(Collectors.toSet()); + } + + /** + * Retrieve the set of values that occur in matches for T. + * @return the Set of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOfT() { + return rawStreamAllValuesOfT(emptyArray()); + } + + @Override + protected TooManyInputsOfTurnout.Match tupleToMatch(final Tuple t) { + try { + return TooManyInputsOfTurnout.Match.newMatch((Turnout) t.get(POSITION_T)); + } catch(ClassCastException e) { + LOGGER.error("Element(s) in tuple not properly typed!",e); + return null; + } + } + + @Override + protected TooManyInputsOfTurnout.Match arrayToMatch(final Object[] match) { + try { + return TooManyInputsOfTurnout.Match.newMatch((Turnout) match[POSITION_T]); + } catch(ClassCastException e) { + LOGGER.error("Element(s) in array not properly typed!",e); + return null; + } + } + + @Override + protected TooManyInputsOfTurnout.Match arrayToMatchMutable(final Object[] match) { + try { + return TooManyInputsOfTurnout.Match.newMutableMatch((Turnout) match[POSITION_T]); + } catch(ClassCastException e) { + LOGGER.error("Element(s) in array not properly typed!",e); + return null; + } + } + + /** + * @return the singleton instance of the query specification of this pattern + * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded + * + */ + public static IQuerySpecification querySpecification() { + return TooManyInputsOfTurnout.instance(); + } + } + + private TooManyInputsOfTurnout() { + super(GeneratedPQuery.INSTANCE); + } + + /** + * @return the singleton instance of the query specification + * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded + * + */ + public static TooManyInputsOfTurnout instance() { + try{ + return LazyHolder.INSTANCE; + } catch (ExceptionInInitializerError err) { + throw processInitializerError(err); + } + } + + @Override + protected TooManyInputsOfTurnout.Matcher instantiate(final ViatraQueryEngine engine) { + return TooManyInputsOfTurnout.Matcher.on(engine); + } + + @Override + public TooManyInputsOfTurnout.Matcher instantiate() { + return TooManyInputsOfTurnout.Matcher.create(); + } + + @Override + public TooManyInputsOfTurnout.Match newEmptyMatch() { + return TooManyInputsOfTurnout.Match.newEmptyMatch(); + } + + @Override + public TooManyInputsOfTurnout.Match newMatch(final Object... parameters) { + return TooManyInputsOfTurnout.Match.newMatch((modes3.Turnout) parameters[0]); + } + + /** + * Inner class allowing the singleton instance of {@link TooManyInputsOfTurnout} to be created + * not at the class load time of the outer class, + * but rather at the first call to {@link TooManyInputsOfTurnout#instance()}. + * + *

    This workaround is required e.g. to support recursion. + * + */ + private static class LazyHolder { + private static final TooManyInputsOfTurnout INSTANCE = new TooManyInputsOfTurnout(); + + /** + * Statically initializes the query specification after the field {@link #INSTANCE} is assigned. + * This initialization order is required to support indirect recursion. + * + *

    The static initializer is defined using a helper field to work around limitations of the code generator. + * + */ + private static final Object STATIC_INITIALIZER = ensureInitialized(); + + public static Object ensureInitialized() { + INSTANCE.ensureInitializedInternal(); + return null; + } + } + + private static class GeneratedPQuery extends BaseGeneratedEMFPQuery { + private static final TooManyInputsOfTurnout.GeneratedPQuery INSTANCE = new GeneratedPQuery(); + + private final PParameter parameter_T = new PParameter("T", "modes3.Turnout", new EClassTransitiveInstancesKey((EClass)getClassifierLiteralSafe("http://www.ece.mcgill.ca/wcet/modes3", "Turnout")), PParameterDirection.INOUT); + + private final List parameters = Arrays.asList(parameter_T); + + private GeneratedPQuery() { + super(PVisibility.PUBLIC); + } + + @Override + public String getFullyQualifiedName() { + return "modes3.queries.tooManyInputsOfTurnout"; + } + + @Override + public List getParameterNames() { + return Arrays.asList("T"); + } + + @Override + public List getParameters() { + return parameters; + } + + @Override + public Set doGetContainedBodies() { + setEvaluationHints(new QueryEvaluationHint(null, QueryEvaluationHint.BackendRequirement.UNSPECIFIED)); + Set bodies = new LinkedHashSet<>(); + { + PBody body = new PBody(this); + PVariable var_T = body.getOrCreateVariableByName("T"); + PVariable var_I1 = body.getOrCreateVariableByName("I1"); + PVariable var_I2 = body.getOrCreateVariableByName("I2"); + PVariable var_I3 = body.getOrCreateVariableByName("I3"); + PVariable var_I4 = body.getOrCreateVariableByName("I4"); + new TypeConstraint(body, Tuples.flatTupleOf(var_T), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.ece.mcgill.ca/wcet/modes3", "Turnout"))); + body.setSymbolicParameters(Arrays.asList( + new ExportedParameter(body, var_T, parameter_T) + )); + // find adjacent(I1, T) + new PositivePatternCall(body, Tuples.flatTupleOf(var_I1, var_T), Adjacent.instance().getInternalQueryRepresentation()); + // find adjacent(I2, T) + new PositivePatternCall(body, Tuples.flatTupleOf(var_I2, var_T), Adjacent.instance().getInternalQueryRepresentation()); + // find adjacent(I3, T) + new PositivePatternCall(body, Tuples.flatTupleOf(var_I3, var_T), Adjacent.instance().getInternalQueryRepresentation()); + // find adjacent(I4, T) + new PositivePatternCall(body, Tuples.flatTupleOf(var_I4, var_T), Adjacent.instance().getInternalQueryRepresentation()); + // I1 != I2 + new Inequality(body, var_I1, var_I2); + // I1 != I3 + new Inequality(body, var_I1, var_I3); + // I1 != I4 + new Inequality(body, var_I1, var_I4); + // I2 != I3 + new Inequality(body, var_I2, var_I3); + // I2 != I4 + new Inequality(body, var_I2, var_I4); + // I3 != I4 + new Inequality(body, var_I3, var_I4); + bodies.add(body); + } + { + PAnnotation annotation = new PAnnotation("Constraint"); + annotation.addAttribute("message", "turnoutConnectedToBothOutputs"); + annotation.addAttribute("severity", "error"); + annotation.addAttribute("key", Arrays.asList(new Object[] { + new ParameterReference("T") + })); + addAnnotation(annotation); + } + return bodies; + } + } +} diff --git a/Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/Turnout.java b/Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/Turnout.java deleted file mode 100644 index 34c7631c..00000000 --- a/Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/Turnout.java +++ /dev/null @@ -1,543 +0,0 @@ -/** - * Generated from platform:/resource/ca.mcgill.rtgmrt.example.modes3/src/modes3/queries/Modes3Queries.vql - */ -package modes3.queries; - -import java.util.Arrays; -import java.util.Collection; -import java.util.LinkedHashSet; -import java.util.List; -import java.util.Objects; -import java.util.Optional; -import java.util.Set; -import java.util.function.Consumer; -import java.util.stream.Collectors; -import java.util.stream.Stream; -import org.apache.log4j.Logger; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.viatra.query.runtime.api.IPatternMatch; -import org.eclipse.viatra.query.runtime.api.IQuerySpecification; -import org.eclipse.viatra.query.runtime.api.ViatraQueryEngine; -import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFPQuery; -import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFQuerySpecification; -import org.eclipse.viatra.query.runtime.api.impl.BaseMatcher; -import org.eclipse.viatra.query.runtime.api.impl.BasePatternMatch; -import org.eclipse.viatra.query.runtime.emf.types.EClassTransitiveInstancesKey; -import org.eclipse.viatra.query.runtime.matchers.backend.QueryEvaluationHint; -import org.eclipse.viatra.query.runtime.matchers.psystem.PBody; -import org.eclipse.viatra.query.runtime.matchers.psystem.PVariable; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.ExportedParameter; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicenumerables.TypeConstraint; -import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameter; -import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameterDirection; -import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PVisibility; -import org.eclipse.viatra.query.runtime.matchers.tuple.Tuple; -import org.eclipse.viatra.query.runtime.matchers.tuple.Tuples; -import org.eclipse.viatra.query.runtime.util.ViatraQueryLoggingUtil; - -/** - * A pattern-specific query specification that can instantiate Matcher in a type-safe way. - * - *

    Original source: - *

    - *         pattern turnout(T : Turnout) {
    - *         	Turnout(T);
    - *         }
    - * 
    - * - * @see Matcher - * @see Match - * - */ -@SuppressWarnings("all") -public final class Turnout extends BaseGeneratedEMFQuerySpecification { - /** - * Pattern-specific match representation of the modes3.queries.turnout pattern, - * to be used in conjunction with {@link Matcher}. - * - *

    Class fields correspond to parameters of the pattern. Fields with value null are considered unassigned. - * Each instance is a (possibly partial) substitution of pattern parameters, - * usable to represent a match of the pattern in the result of a query, - * or to specify the bound (fixed) input parameters when issuing a query. - * - * @see Matcher - * - */ - public static abstract class Match extends BasePatternMatch { - private modes3.Turnout fT; - - private static List parameterNames = makeImmutableList("T"); - - private Match(final modes3.Turnout pT) { - this.fT = pT; - } - - @Override - public Object get(final String parameterName) { - switch(parameterName) { - case "T": return this.fT; - default: return null; - } - } - - @Override - public Object get(final int index) { - switch(index) { - case 0: return this.fT; - default: return null; - } - } - - public modes3.Turnout getT() { - return this.fT; - } - - @Override - public boolean set(final String parameterName, final Object newValue) { - if (!isMutable()) throw new java.lang.UnsupportedOperationException(); - if ("T".equals(parameterName) ) { - this.fT = (modes3.Turnout) newValue; - return true; - } - return false; - } - - public void setT(final modes3.Turnout pT) { - if (!isMutable()) throw new java.lang.UnsupportedOperationException(); - this.fT = pT; - } - - @Override - public String patternName() { - return "modes3.queries.turnout"; - } - - @Override - public List parameterNames() { - return Turnout.Match.parameterNames; - } - - @Override - public Object[] toArray() { - return new Object[]{fT}; - } - - @Override - public Turnout.Match toImmutable() { - return isMutable() ? newMatch(fT) : this; - } - - @Override - public String prettyPrint() { - StringBuilder result = new StringBuilder(); - result.append("\"T\"=" + prettyPrintValue(fT)); - return result.toString(); - } - - @Override - public int hashCode() { - return Objects.hash(fT); - } - - @Override - public boolean equals(final Object obj) { - if (this == obj) - return true; - if (obj == null) { - return false; - } - if ((obj instanceof Turnout.Match)) { - Turnout.Match other = (Turnout.Match) obj; - return Objects.equals(fT, other.fT); - } else { - // this should be infrequent - if (!(obj instanceof IPatternMatch)) { - return false; - } - IPatternMatch otherSig = (IPatternMatch) obj; - return Objects.equals(specification(), otherSig.specification()) && Arrays.deepEquals(toArray(), otherSig.toArray()); - } - } - - @Override - public Turnout specification() { - return Turnout.instance(); - } - - /** - * Returns an empty, mutable match. - * Fields of the mutable match can be filled to create a partial match, usable as matcher input. - * - * @return the empty match. - * - */ - public static Turnout.Match newEmptyMatch() { - return new Mutable(null); - } - - /** - * Returns a mutable (partial) match. - * Fields of the mutable match can be filled to create a partial match, usable as matcher input. - * - * @param pT the fixed value of pattern parameter T, or null if not bound. - * @return the new, mutable (partial) match object. - * - */ - public static Turnout.Match newMutableMatch(final modes3.Turnout pT) { - return new Mutable(pT); - } - - /** - * Returns a new (partial) match. - * This can be used e.g. to call the matcher with a partial match. - *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. - * @param pT the fixed value of pattern parameter T, or null if not bound. - * @return the (partial) match object. - * - */ - public static Turnout.Match newMatch(final modes3.Turnout pT) { - return new Immutable(pT); - } - - private static final class Mutable extends Turnout.Match { - Mutable(final modes3.Turnout pT) { - super(pT); - } - - @Override - public boolean isMutable() { - return true; - } - } - - private static final class Immutable extends Turnout.Match { - Immutable(final modes3.Turnout pT) { - super(pT); - } - - @Override - public boolean isMutable() { - return false; - } - } - } - - /** - * Generated pattern matcher API of the modes3.queries.turnout pattern, - * providing pattern-specific query methods. - * - *

    Use the pattern matcher on a given model via {@link #on(ViatraQueryEngine)}, - * e.g. in conjunction with {@link ViatraQueryEngine#on(QueryScope)}. - * - *

    Matches of the pattern will be represented as {@link Match}. - * - *

    Original source: - *

    -   * pattern turnout(T : Turnout) {
    -   * 	Turnout(T);
    -   * }
    -   * 
    - * - * @see Match - * @see Turnout - * - */ - public static class Matcher extends BaseMatcher { - /** - * Initializes the pattern matcher within an existing VIATRA Query engine. - * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. - * - * @param engine the existing VIATRA Query engine in which this matcher will be created. - * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation - * - */ - public static Turnout.Matcher on(final ViatraQueryEngine engine) { - // check if matcher already exists - Matcher matcher = engine.getExistingMatcher(querySpecification()); - if (matcher == null) { - matcher = (Matcher)engine.getMatcher(querySpecification()); - } - return matcher; - } - - /** - * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation - * @return an initialized matcher - * @noreference This method is for internal matcher initialization by the framework, do not call it manually. - * - */ - public static Turnout.Matcher create() { - return new Matcher(); - } - - private static final int POSITION_T = 0; - - private static final Logger LOGGER = ViatraQueryLoggingUtil.getLogger(Turnout.Matcher.class); - - /** - * Initializes the pattern matcher within an existing VIATRA Query engine. - * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. - * - * @param engine the existing VIATRA Query engine in which this matcher will be created. - * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation - * - */ - private Matcher() { - super(querySpecification()); - } - - /** - * Returns the set of all matches of the pattern that conform to the given fixed values of some parameters. - * @param pT the fixed value of pattern parameter T, or null if not bound. - * @return matches represented as a Match object. - * - */ - public Collection getAllMatches(final modes3.Turnout pT) { - return rawStreamAllMatches(new Object[]{pT}).collect(Collectors.toSet()); - } - - /** - * Returns a stream of all matches of the pattern that conform to the given fixed values of some parameters. - *

    - * NOTE: It is important not to modify the source model while the stream is being processed. - * If the match set of the pattern changes during processing, the contents of the stream is undefined. - * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. - * @param pT the fixed value of pattern parameter T, or null if not bound. - * @return a stream of matches represented as a Match object. - * - */ - public Stream streamAllMatches(final modes3.Turnout pT) { - return rawStreamAllMatches(new Object[]{pT}); - } - - /** - * Returns an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. - * Neither determinism nor randomness of selection is guaranteed. - * @param pT the fixed value of pattern parameter T, or null if not bound. - * @return a match represented as a Match object, or null if no match is found. - * - */ - public Optional getOneArbitraryMatch(final modes3.Turnout pT) { - return rawGetOneArbitraryMatch(new Object[]{pT}); - } - - /** - * Indicates whether the given combination of specified pattern parameters constitute a valid pattern match, - * under any possible substitution of the unspecified parameters (if any). - * @param pT the fixed value of pattern parameter T, or null if not bound. - * @return true if the input is a valid (partial) match of the pattern. - * - */ - public boolean hasMatch(final modes3.Turnout pT) { - return rawHasMatch(new Object[]{pT}); - } - - /** - * Returns the number of all matches of the pattern that conform to the given fixed values of some parameters. - * @param pT the fixed value of pattern parameter T, or null if not bound. - * @return the number of pattern matches found. - * - */ - public int countMatches(final modes3.Turnout pT) { - return rawCountMatches(new Object[]{pT}); - } - - /** - * Executes the given processor on an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. - * Neither determinism nor randomness of selection is guaranteed. - * @param pT the fixed value of pattern parameter T, or null if not bound. - * @param processor the action that will process the selected match. - * @return true if the pattern has at least one match with the given parameter values, false if the processor was not invoked - * - */ - public boolean forOneArbitraryMatch(final modes3.Turnout pT, final Consumer processor) { - return rawForOneArbitraryMatch(new Object[]{pT}, processor); - } - - /** - * Returns a new (partial) match. - * This can be used e.g. to call the matcher with a partial match. - *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. - * @param pT the fixed value of pattern parameter T, or null if not bound. - * @return the (partial) match object. - * - */ - public Turnout.Match newMatch(final modes3.Turnout pT) { - return Turnout.Match.newMatch(pT); - } - - /** - * Retrieve the set of values that occur in matches for T. - * @return the Set of all values or empty set if there are no matches - * - */ - protected Stream rawStreamAllValuesOfT(final Object[] parameters) { - return rawStreamAllValues(POSITION_T, parameters).map(modes3.Turnout.class::cast); - } - - /** - * Retrieve the set of values that occur in matches for T. - * @return the Set of all values or empty set if there are no matches - * - */ - public Set getAllValuesOfT() { - return rawStreamAllValuesOfT(emptyArray()).collect(Collectors.toSet()); - } - - /** - * Retrieve the set of values that occur in matches for T. - * @return the Set of all values or empty set if there are no matches - * - */ - public Stream streamAllValuesOfT() { - return rawStreamAllValuesOfT(emptyArray()); - } - - @Override - protected Turnout.Match tupleToMatch(final Tuple t) { - try { - return Turnout.Match.newMatch((modes3.Turnout) t.get(POSITION_T)); - } catch(ClassCastException e) { - LOGGER.error("Element(s) in tuple not properly typed!",e); - return null; - } - } - - @Override - protected Turnout.Match arrayToMatch(final Object[] match) { - try { - return Turnout.Match.newMatch((modes3.Turnout) match[POSITION_T]); - } catch(ClassCastException e) { - LOGGER.error("Element(s) in array not properly typed!",e); - return null; - } - } - - @Override - protected Turnout.Match arrayToMatchMutable(final Object[] match) { - try { - return Turnout.Match.newMutableMatch((modes3.Turnout) match[POSITION_T]); - } catch(ClassCastException e) { - LOGGER.error("Element(s) in array not properly typed!",e); - return null; - } - } - - /** - * @return the singleton instance of the query specification of this pattern - * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded - * - */ - public static IQuerySpecification querySpecification() { - return Turnout.instance(); - } - } - - private Turnout() { - super(GeneratedPQuery.INSTANCE); - } - - /** - * @return the singleton instance of the query specification - * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded - * - */ - public static Turnout instance() { - try{ - return LazyHolder.INSTANCE; - } catch (ExceptionInInitializerError err) { - throw processInitializerError(err); - } - } - - @Override - protected Turnout.Matcher instantiate(final ViatraQueryEngine engine) { - return Turnout.Matcher.on(engine); - } - - @Override - public Turnout.Matcher instantiate() { - return Turnout.Matcher.create(); - } - - @Override - public Turnout.Match newEmptyMatch() { - return Turnout.Match.newEmptyMatch(); - } - - @Override - public Turnout.Match newMatch(final Object... parameters) { - return Turnout.Match.newMatch((modes3.Turnout) parameters[0]); - } - - /** - * Inner class allowing the singleton instance of {@link Turnout} to be created - * not at the class load time of the outer class, - * but rather at the first call to {@link Turnout#instance()}. - * - *

    This workaround is required e.g. to support recursion. - * - */ - private static class LazyHolder { - private static final Turnout INSTANCE = new Turnout(); - - /** - * Statically initializes the query specification after the field {@link #INSTANCE} is assigned. - * This initialization order is required to support indirect recursion. - * - *

    The static initializer is defined using a helper field to work around limitations of the code generator. - * - */ - private static final Object STATIC_INITIALIZER = ensureInitialized(); - - public static Object ensureInitialized() { - INSTANCE.ensureInitializedInternal(); - return null; - } - } - - private static class GeneratedPQuery extends BaseGeneratedEMFPQuery { - private static final Turnout.GeneratedPQuery INSTANCE = new GeneratedPQuery(); - - private final PParameter parameter_T = new PParameter("T", "modes3.Turnout", new EClassTransitiveInstancesKey((EClass)getClassifierLiteralSafe("http://www.ece.mcgill.ca/wcet/modes3", "Turnout")), PParameterDirection.INOUT); - - private final List parameters = Arrays.asList(parameter_T); - - private GeneratedPQuery() { - super(PVisibility.PUBLIC); - } - - @Override - public String getFullyQualifiedName() { - return "modes3.queries.turnout"; - } - - @Override - public List getParameterNames() { - return Arrays.asList("T"); - } - - @Override - public List getParameters() { - return parameters; - } - - @Override - public Set doGetContainedBodies() { - setEvaluationHints(new QueryEvaluationHint(null, QueryEvaluationHint.BackendRequirement.UNSPECIFIED)); - Set bodies = new LinkedHashSet<>(); - { - PBody body = new PBody(this); - PVariable var_T = body.getOrCreateVariableByName("T"); - new TypeConstraint(body, Tuples.flatTupleOf(var_T), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.ece.mcgill.ca/wcet/modes3", "Turnout"))); - body.setSymbolicParameters(Arrays.asList( - new ExportedParameter(body, var_T, parameter_T) - )); - // Turnout(T) - new TypeConstraint(body, Tuples.flatTupleOf(var_T), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.ece.mcgill.ca/wcet/modes3", "Turnout"))); - bodies.add(body); - } - return bodies; - } - } -} diff --git a/Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/TurnoutInSegments.java b/Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/TurnoutInSegments.java deleted file mode 100644 index 9c9a5d18..00000000 --- a/Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/TurnoutInSegments.java +++ /dev/null @@ -1,564 +0,0 @@ -/** - * Generated from platform:/resource/ca.mcgill.rtgmrt.example.modes3/src/modes3/queries/Modes3Queries.vql - */ -package modes3.queries; - -import java.util.Arrays; -import java.util.Collection; -import java.util.LinkedHashSet; -import java.util.List; -import java.util.Objects; -import java.util.Optional; -import java.util.Set; -import java.util.function.Consumer; -import java.util.stream.Collectors; -import java.util.stream.Stream; -import modes3.Turnout; -import org.apache.log4j.Logger; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.viatra.query.runtime.api.IPatternMatch; -import org.eclipse.viatra.query.runtime.api.IQuerySpecification; -import org.eclipse.viatra.query.runtime.api.ViatraQueryEngine; -import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFPQuery; -import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFQuerySpecification; -import org.eclipse.viatra.query.runtime.api.impl.BaseMatcher; -import org.eclipse.viatra.query.runtime.api.impl.BasePatternMatch; -import org.eclipse.viatra.query.runtime.emf.types.EClassTransitiveInstancesKey; -import org.eclipse.viatra.query.runtime.emf.types.EStructuralFeatureInstancesKey; -import org.eclipse.viatra.query.runtime.matchers.backend.QueryEvaluationHint; -import org.eclipse.viatra.query.runtime.matchers.psystem.PBody; -import org.eclipse.viatra.query.runtime.matchers.psystem.PVariable; -import org.eclipse.viatra.query.runtime.matchers.psystem.annotations.PAnnotation; -import org.eclipse.viatra.query.runtime.matchers.psystem.annotations.ParameterReference; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.Equality; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.ExportedParameter; -import org.eclipse.viatra.query.runtime.matchers.psystem.basicenumerables.TypeConstraint; -import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameter; -import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameterDirection; -import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PVisibility; -import org.eclipse.viatra.query.runtime.matchers.tuple.Tuple; -import org.eclipse.viatra.query.runtime.matchers.tuple.Tuples; -import org.eclipse.viatra.query.runtime.util.ViatraQueryLoggingUtil; - -/** - * A pattern-specific query specification that can instantiate Matcher in a type-safe way. - * - *

    Original source: - *

    - *         {@literal @}Constraint(message = "turnoutInSegments", severity = "error", key = { T })
    - *         pattern turnoutInSegments(T : Turnout) {
    - *         	Modes3ModelRoot.segments(_, T);
    - *         }
    - * 
    - * - * @see Matcher - * @see Match - * - */ -@SuppressWarnings("all") -public final class TurnoutInSegments extends BaseGeneratedEMFQuerySpecification { - /** - * Pattern-specific match representation of the modes3.queries.turnoutInSegments pattern, - * to be used in conjunction with {@link Matcher}. - * - *

    Class fields correspond to parameters of the pattern. Fields with value null are considered unassigned. - * Each instance is a (possibly partial) substitution of pattern parameters, - * usable to represent a match of the pattern in the result of a query, - * or to specify the bound (fixed) input parameters when issuing a query. - * - * @see Matcher - * - */ - public static abstract class Match extends BasePatternMatch { - private Turnout fT; - - private static List parameterNames = makeImmutableList("T"); - - private Match(final Turnout pT) { - this.fT = pT; - } - - @Override - public Object get(final String parameterName) { - switch(parameterName) { - case "T": return this.fT; - default: return null; - } - } - - @Override - public Object get(final int index) { - switch(index) { - case 0: return this.fT; - default: return null; - } - } - - public Turnout getT() { - return this.fT; - } - - @Override - public boolean set(final String parameterName, final Object newValue) { - if (!isMutable()) throw new java.lang.UnsupportedOperationException(); - if ("T".equals(parameterName) ) { - this.fT = (Turnout) newValue; - return true; - } - return false; - } - - public void setT(final Turnout pT) { - if (!isMutable()) throw new java.lang.UnsupportedOperationException(); - this.fT = pT; - } - - @Override - public String patternName() { - return "modes3.queries.turnoutInSegments"; - } - - @Override - public List parameterNames() { - return TurnoutInSegments.Match.parameterNames; - } - - @Override - public Object[] toArray() { - return new Object[]{fT}; - } - - @Override - public TurnoutInSegments.Match toImmutable() { - return isMutable() ? newMatch(fT) : this; - } - - @Override - public String prettyPrint() { - StringBuilder result = new StringBuilder(); - result.append("\"T\"=" + prettyPrintValue(fT)); - return result.toString(); - } - - @Override - public int hashCode() { - return Objects.hash(fT); - } - - @Override - public boolean equals(final Object obj) { - if (this == obj) - return true; - if (obj == null) { - return false; - } - if ((obj instanceof TurnoutInSegments.Match)) { - TurnoutInSegments.Match other = (TurnoutInSegments.Match) obj; - return Objects.equals(fT, other.fT); - } else { - // this should be infrequent - if (!(obj instanceof IPatternMatch)) { - return false; - } - IPatternMatch otherSig = (IPatternMatch) obj; - return Objects.equals(specification(), otherSig.specification()) && Arrays.deepEquals(toArray(), otherSig.toArray()); - } - } - - @Override - public TurnoutInSegments specification() { - return TurnoutInSegments.instance(); - } - - /** - * Returns an empty, mutable match. - * Fields of the mutable match can be filled to create a partial match, usable as matcher input. - * - * @return the empty match. - * - */ - public static TurnoutInSegments.Match newEmptyMatch() { - return new Mutable(null); - } - - /** - * Returns a mutable (partial) match. - * Fields of the mutable match can be filled to create a partial match, usable as matcher input. - * - * @param pT the fixed value of pattern parameter T, or null if not bound. - * @return the new, mutable (partial) match object. - * - */ - public static TurnoutInSegments.Match newMutableMatch(final Turnout pT) { - return new Mutable(pT); - } - - /** - * Returns a new (partial) match. - * This can be used e.g. to call the matcher with a partial match. - *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. - * @param pT the fixed value of pattern parameter T, or null if not bound. - * @return the (partial) match object. - * - */ - public static TurnoutInSegments.Match newMatch(final Turnout pT) { - return new Immutable(pT); - } - - private static final class Mutable extends TurnoutInSegments.Match { - Mutable(final Turnout pT) { - super(pT); - } - - @Override - public boolean isMutable() { - return true; - } - } - - private static final class Immutable extends TurnoutInSegments.Match { - Immutable(final Turnout pT) { - super(pT); - } - - @Override - public boolean isMutable() { - return false; - } - } - } - - /** - * Generated pattern matcher API of the modes3.queries.turnoutInSegments pattern, - * providing pattern-specific query methods. - * - *

    Use the pattern matcher on a given model via {@link #on(ViatraQueryEngine)}, - * e.g. in conjunction with {@link ViatraQueryEngine#on(QueryScope)}. - * - *

    Matches of the pattern will be represented as {@link Match}. - * - *

    Original source: - *

    -   * {@literal @}Constraint(message = "turnoutInSegments", severity = "error", key = { T })
    -   * pattern turnoutInSegments(T : Turnout) {
    -   * 	Modes3ModelRoot.segments(_, T);
    -   * }
    -   * 
    - * - * @see Match - * @see TurnoutInSegments - * - */ - public static class Matcher extends BaseMatcher { - /** - * Initializes the pattern matcher within an existing VIATRA Query engine. - * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. - * - * @param engine the existing VIATRA Query engine in which this matcher will be created. - * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation - * - */ - public static TurnoutInSegments.Matcher on(final ViatraQueryEngine engine) { - // check if matcher already exists - Matcher matcher = engine.getExistingMatcher(querySpecification()); - if (matcher == null) { - matcher = (Matcher)engine.getMatcher(querySpecification()); - } - return matcher; - } - - /** - * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation - * @return an initialized matcher - * @noreference This method is for internal matcher initialization by the framework, do not call it manually. - * - */ - public static TurnoutInSegments.Matcher create() { - return new Matcher(); - } - - private static final int POSITION_T = 0; - - private static final Logger LOGGER = ViatraQueryLoggingUtil.getLogger(TurnoutInSegments.Matcher.class); - - /** - * Initializes the pattern matcher within an existing VIATRA Query engine. - * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. - * - * @param engine the existing VIATRA Query engine in which this matcher will be created. - * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation - * - */ - private Matcher() { - super(querySpecification()); - } - - /** - * Returns the set of all matches of the pattern that conform to the given fixed values of some parameters. - * @param pT the fixed value of pattern parameter T, or null if not bound. - * @return matches represented as a Match object. - * - */ - public Collection getAllMatches(final Turnout pT) { - return rawStreamAllMatches(new Object[]{pT}).collect(Collectors.toSet()); - } - - /** - * Returns a stream of all matches of the pattern that conform to the given fixed values of some parameters. - *

    - * NOTE: It is important not to modify the source model while the stream is being processed. - * If the match set of the pattern changes during processing, the contents of the stream is undefined. - * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. - * @param pT the fixed value of pattern parameter T, or null if not bound. - * @return a stream of matches represented as a Match object. - * - */ - public Stream streamAllMatches(final Turnout pT) { - return rawStreamAllMatches(new Object[]{pT}); - } - - /** - * Returns an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. - * Neither determinism nor randomness of selection is guaranteed. - * @param pT the fixed value of pattern parameter T, or null if not bound. - * @return a match represented as a Match object, or null if no match is found. - * - */ - public Optional getOneArbitraryMatch(final Turnout pT) { - return rawGetOneArbitraryMatch(new Object[]{pT}); - } - - /** - * Indicates whether the given combination of specified pattern parameters constitute a valid pattern match, - * under any possible substitution of the unspecified parameters (if any). - * @param pT the fixed value of pattern parameter T, or null if not bound. - * @return true if the input is a valid (partial) match of the pattern. - * - */ - public boolean hasMatch(final Turnout pT) { - return rawHasMatch(new Object[]{pT}); - } - - /** - * Returns the number of all matches of the pattern that conform to the given fixed values of some parameters. - * @param pT the fixed value of pattern parameter T, or null if not bound. - * @return the number of pattern matches found. - * - */ - public int countMatches(final Turnout pT) { - return rawCountMatches(new Object[]{pT}); - } - - /** - * Executes the given processor on an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. - * Neither determinism nor randomness of selection is guaranteed. - * @param pT the fixed value of pattern parameter T, or null if not bound. - * @param processor the action that will process the selected match. - * @return true if the pattern has at least one match with the given parameter values, false if the processor was not invoked - * - */ - public boolean forOneArbitraryMatch(final Turnout pT, final Consumer processor) { - return rawForOneArbitraryMatch(new Object[]{pT}, processor); - } - - /** - * Returns a new (partial) match. - * This can be used e.g. to call the matcher with a partial match. - *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. - * @param pT the fixed value of pattern parameter T, or null if not bound. - * @return the (partial) match object. - * - */ - public TurnoutInSegments.Match newMatch(final Turnout pT) { - return TurnoutInSegments.Match.newMatch(pT); - } - - /** - * Retrieve the set of values that occur in matches for T. - * @return the Set of all values or empty set if there are no matches - * - */ - protected Stream rawStreamAllValuesOfT(final Object[] parameters) { - return rawStreamAllValues(POSITION_T, parameters).map(Turnout.class::cast); - } - - /** - * Retrieve the set of values that occur in matches for T. - * @return the Set of all values or empty set if there are no matches - * - */ - public Set getAllValuesOfT() { - return rawStreamAllValuesOfT(emptyArray()).collect(Collectors.toSet()); - } - - /** - * Retrieve the set of values that occur in matches for T. - * @return the Set of all values or empty set if there are no matches - * - */ - public Stream streamAllValuesOfT() { - return rawStreamAllValuesOfT(emptyArray()); - } - - @Override - protected TurnoutInSegments.Match tupleToMatch(final Tuple t) { - try { - return TurnoutInSegments.Match.newMatch((Turnout) t.get(POSITION_T)); - } catch(ClassCastException e) { - LOGGER.error("Element(s) in tuple not properly typed!",e); - return null; - } - } - - @Override - protected TurnoutInSegments.Match arrayToMatch(final Object[] match) { - try { - return TurnoutInSegments.Match.newMatch((Turnout) match[POSITION_T]); - } catch(ClassCastException e) { - LOGGER.error("Element(s) in array not properly typed!",e); - return null; - } - } - - @Override - protected TurnoutInSegments.Match arrayToMatchMutable(final Object[] match) { - try { - return TurnoutInSegments.Match.newMutableMatch((Turnout) match[POSITION_T]); - } catch(ClassCastException e) { - LOGGER.error("Element(s) in array not properly typed!",e); - return null; - } - } - - /** - * @return the singleton instance of the query specification of this pattern - * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded - * - */ - public static IQuerySpecification querySpecification() { - return TurnoutInSegments.instance(); - } - } - - private TurnoutInSegments() { - super(GeneratedPQuery.INSTANCE); - } - - /** - * @return the singleton instance of the query specification - * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded - * - */ - public static TurnoutInSegments instance() { - try{ - return LazyHolder.INSTANCE; - } catch (ExceptionInInitializerError err) { - throw processInitializerError(err); - } - } - - @Override - protected TurnoutInSegments.Matcher instantiate(final ViatraQueryEngine engine) { - return TurnoutInSegments.Matcher.on(engine); - } - - @Override - public TurnoutInSegments.Matcher instantiate() { - return TurnoutInSegments.Matcher.create(); - } - - @Override - public TurnoutInSegments.Match newEmptyMatch() { - return TurnoutInSegments.Match.newEmptyMatch(); - } - - @Override - public TurnoutInSegments.Match newMatch(final Object... parameters) { - return TurnoutInSegments.Match.newMatch((modes3.Turnout) parameters[0]); - } - - /** - * Inner class allowing the singleton instance of {@link TurnoutInSegments} to be created - * not at the class load time of the outer class, - * but rather at the first call to {@link TurnoutInSegments#instance()}. - * - *

    This workaround is required e.g. to support recursion. - * - */ - private static class LazyHolder { - private static final TurnoutInSegments INSTANCE = new TurnoutInSegments(); - - /** - * Statically initializes the query specification after the field {@link #INSTANCE} is assigned. - * This initialization order is required to support indirect recursion. - * - *

    The static initializer is defined using a helper field to work around limitations of the code generator. - * - */ - private static final Object STATIC_INITIALIZER = ensureInitialized(); - - public static Object ensureInitialized() { - INSTANCE.ensureInitializedInternal(); - return null; - } - } - - private static class GeneratedPQuery extends BaseGeneratedEMFPQuery { - private static final TurnoutInSegments.GeneratedPQuery INSTANCE = new GeneratedPQuery(); - - private final PParameter parameter_T = new PParameter("T", "modes3.Turnout", new EClassTransitiveInstancesKey((EClass)getClassifierLiteralSafe("http://www.ece.mcgill.ca/wcet/modes3", "Turnout")), PParameterDirection.INOUT); - - private final List parameters = Arrays.asList(parameter_T); - - private GeneratedPQuery() { - super(PVisibility.PUBLIC); - } - - @Override - public String getFullyQualifiedName() { - return "modes3.queries.turnoutInSegments"; - } - - @Override - public List getParameterNames() { - return Arrays.asList("T"); - } - - @Override - public List getParameters() { - return parameters; - } - - @Override - public Set doGetContainedBodies() { - setEvaluationHints(new QueryEvaluationHint(null, QueryEvaluationHint.BackendRequirement.UNSPECIFIED)); - Set bodies = new LinkedHashSet<>(); - { - PBody body = new PBody(this); - PVariable var_T = body.getOrCreateVariableByName("T"); - PVariable var___0_ = body.getOrCreateVariableByName("_<0>"); - new TypeConstraint(body, Tuples.flatTupleOf(var_T), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.ece.mcgill.ca/wcet/modes3", "Turnout"))); - body.setSymbolicParameters(Arrays.asList( - new ExportedParameter(body, var_T, parameter_T) - )); - // Modes3ModelRoot.segments(_, T) - new TypeConstraint(body, Tuples.flatTupleOf(var___0_), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.ece.mcgill.ca/wcet/modes3", "Modes3ModelRoot"))); - PVariable var__virtual_0_ = body.getOrCreateVariableByName(".virtual{0}"); - new TypeConstraint(body, Tuples.flatTupleOf(var___0_, var__virtual_0_), new EStructuralFeatureInstancesKey(getFeatureLiteral("http://www.ece.mcgill.ca/wcet/modes3", "Modes3ModelRoot", "segments"))); - new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_0_), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.ece.mcgill.ca/wcet/modes3", "Segment"))); - new Equality(body, var__virtual_0_, var_T); - bodies.add(body); - } - { - PAnnotation annotation = new PAnnotation("Constraint"); - annotation.addAttribute("message", "turnoutInSegments"); - annotation.addAttribute("severity", "error"); - annotation.addAttribute("key", Arrays.asList(new Object[] { - new ParameterReference("T") - })); - addAnnotation(annotation); - } - return bodies; - } - } -} diff --git a/Domains/ca.mcgill.rtgmrt.example.modes3/xtend-gen/modes3/run/.Modes3ModelGenerator.xtendbin b/Domains/ca.mcgill.rtgmrt.example.modes3/xtend-gen/modes3/run/.Modes3ModelGenerator.xtendbin index 4f542a67..77f1ea6e 100644 Binary files a/Domains/ca.mcgill.rtgmrt.example.modes3/xtend-gen/modes3/run/.Modes3ModelGenerator.xtendbin and b/Domains/ca.mcgill.rtgmrt.example.modes3/xtend-gen/modes3/run/.Modes3ModelGenerator.xtendbin differ diff --git a/Domains/ca.mcgill.rtgmrt.example.modes3/xtend-gen/modes3/run/.Modes3TypeScopeHint.xtendbin b/Domains/ca.mcgill.rtgmrt.example.modes3/xtend-gen/modes3/run/.Modes3TypeScopeHint.xtendbin new file mode 100644 index 00000000..4fdbb71b Binary files /dev/null and b/Domains/ca.mcgill.rtgmrt.example.modes3/xtend-gen/modes3/run/.Modes3TypeScopeHint.xtendbin differ diff --git a/Domains/ca.mcgill.rtgmrt.example.modes3/xtend-gen/modes3/run/.Modes3UnitPropagationGenerator.xtendbin b/Domains/ca.mcgill.rtgmrt.example.modes3/xtend-gen/modes3/run/.Modes3UnitPropagationGenerator.xtendbin index 28e763b9..e5e1b63e 100644 Binary files a/Domains/ca.mcgill.rtgmrt.example.modes3/xtend-gen/modes3/run/.Modes3UnitPropagationGenerator.xtendbin and b/Domains/ca.mcgill.rtgmrt.example.modes3/xtend-gen/modes3/run/.Modes3UnitPropagationGenerator.xtendbin differ diff --git a/Domains/ca.mcgill.rtgmrt.example.modes3/xtend-gen/modes3/run/.gitignore b/Domains/ca.mcgill.rtgmrt.example.modes3/xtend-gen/modes3/run/.gitignore index 53dcf60f..fb94df96 100644 --- a/Domains/ca.mcgill.rtgmrt.example.modes3/xtend-gen/modes3/run/.gitignore +++ b/Domains/ca.mcgill.rtgmrt.example.modes3/xtend-gen/modes3/run/.gitignore @@ -1,2 +1,3 @@ /.Modes3ModelGenerator.java._trace /.Modes3UnitPropagationGenerator.java._trace +/.Modes3TypeScopeHint.java._trace diff --git a/Domains/ca.mcgill.rtgmrt.example.modes3/xtend-gen/modes3/run/Modes3ModelGenerator.java b/Domains/ca.mcgill.rtgmrt.example.modes3/xtend-gen/modes3/run/Modes3ModelGenerator.java index c7364257..f32a7172 100644 --- a/Domains/ca.mcgill.rtgmrt.example.modes3/xtend-gen/modes3/run/Modes3ModelGenerator.java +++ b/Domains/ca.mcgill.rtgmrt.example.modes3/xtend-gen/modes3/run/Modes3ModelGenerator.java @@ -12,7 +12,9 @@ import hu.bme.mit.inf.dslreasoner.ecore2logic.EcoreMetamodelDescriptor; import hu.bme.mit.inf.dslreasoner.ecore2logic.ecore2logicannotations.Ecore2logicannotationsFactory; import hu.bme.mit.inf.dslreasoner.ecore2logic.ecore2logicannotations.Ecore2logicannotationsPackage; import hu.bme.mit.inf.dslreasoner.ecore2logic.ecore2logicannotations.InverseRelationAssertion; +import hu.bme.mit.inf.dslreasoner.logic.model.builder.DocumentationLevel; import hu.bme.mit.inf.dslreasoner.logic.model.builder.LogicProblemBuilder; +import hu.bme.mit.inf.dslreasoner.logic.model.builder.SolutionScope; import hu.bme.mit.inf.dslreasoner.logic.model.builder.TracedOutput; import hu.bme.mit.inf.dslreasoner.logic.model.builder.TypeScopes; import hu.bme.mit.inf.dslreasoner.logic.model.builder.VariableContext; @@ -48,6 +50,7 @@ import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.par import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.RelationLink; import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.visualisation.PartialInterpretation2Gml; import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.visualisation.PartialInterpretationVisualisation; +import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.DebugConfiguration; import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.StateCoderStrategy; import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.ViatraReasoner; import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.ViatraReasonerConfiguration; @@ -57,12 +60,13 @@ import java.util.Collections; import java.util.List; import java.util.Map; import java.util.Set; -import java.util.function.Consumer; import java.util.function.Predicate; import modes3.Modes3Factory; import modes3.Modes3ModelRoot; import modes3.Modes3Package; import modes3.queries.Modes3Queries; +import modes3.run.Modes3TypeScopeHint; +import modes3.run.Modes3UnitPropagationGenerator; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.common.util.URI; import org.eclipse.emf.ecore.EAttribute; @@ -175,29 +179,47 @@ public class Modes3ModelGenerator { it_1.minNewElements = this.modelSize; it_1.maxNewElements = this.modelSize; final Procedure1> _function_4 = (Map it_2) -> { - it_2.put(this.ecore2Logic.TypeofEClass(metamodelLogic.getTrace(), Modes3Package.eINSTANCE.getTurnout()), Integer.valueOf(1)); }; ObjectExtensions.>operator_doubleArrow( it_1.minNewElementsByType, _function_4); final Procedure1> _function_5 = (Map it_2) -> { it_2.put(this.ecore2Logic.TypeofEClass(metamodelLogic.getTrace(), Modes3Package.eINSTANCE.getTrain()), Integer.valueOf(5)); + it_2.put(this.ecore2Logic.TypeofEClass(metamodelLogic.getTrace(), Modes3Package.eINSTANCE.getTurnout()), Integer.valueOf(5)); }; ObjectExtensions.>operator_doubleArrow( it_1.maxNewElementsByType, _function_5); }; ObjectExtensions.operator_doubleArrow( it.typeScopes, _function_3); - it.solutionScope.numberOfRequiredSolutions = 1; + final Procedure1 _function_4 = (SolutionScope it_1) -> { + it_1.numberOfRequiredSolutions = 1; + }; + ObjectExtensions.operator_doubleArrow( + it.solutionScope, _function_4); + it.scopeWeight = 5; it.nameNewElements = false; it.typeInferenceMethod = TypeInferenceMethod.PreliminaryAnalysis; - it.stateCoderStrategy = StateCoderStrategy.Neighbourhood; + it.stateCoderStrategy = StateCoderStrategy.PairwiseNeighbourhood; ScopePropagatorStrategy.Polyhedral _polyhedral = new ScopePropagatorStrategy.Polyhedral( PolyhedralScopePropagatorConstraints.Relational, PolyhedralScopePropagatorSolver.Clp); it.scopePropagatorStrategy = _polyhedral; - it.debugConfiguration.partialInterpretatioVisualiser = null; + Ecore2Logic_Trace _trace = metamodelLogic.getTrace(); + Modes3TypeScopeHint _modes3TypeScopeHint = new Modes3TypeScopeHint(this.ecore2Logic, _trace); + it.hints.add(_modes3TypeScopeHint); + Ecore2Logic_Trace _trace_1 = metamodelLogic.getTrace(); + Modes3UnitPropagationGenerator _modes3UnitPropagationGenerator = new Modes3UnitPropagationGenerator(this.ecore2Logic, _trace_1); + it.unitPropagationPatternGenerators.add(_modes3UnitPropagationGenerator); + final Procedure1 _function_5 = (DebugConfiguration it_1) -> { + GraphvizVisualiser _graphvizVisualiser = new GraphvizVisualiser(); + it_1.partialInterpretatioVisualiser = _graphvizVisualiser; + }; + ObjectExtensions.operator_doubleArrow( + it.debugConfiguration, _function_5); + it.documentationLevel = DocumentationLevel.NORMAL; }; final ViatraReasonerConfiguration config = ObjectExtensions.operator_doubleArrow(_viatraReasonerConfiguration, _function_2); final FileSystemWorkspace workspace = new FileSystemWorkspace("output/", ""); + workspace.writeModel(logic.getOutput(), "problem.logicproblem"); final LogicResult solution = this.solver.solve(logic.getOutput(), config, workspace); URI _xifexpression = null; if ((solution instanceof ModelResult)) { @@ -226,27 +248,23 @@ public class Modes3ModelGenerator { boolean _lessThan = (_size_1 < 160); if (_lessThan) { if ((representation instanceof PartialInterpretation)) { - final Consumer _function_3 = (Type it) -> { - InputOutput.println(it.getName()); - }; - ((PartialInterpretation)representation).getProblem().getTypes().forEach(_function_3); - final Function1 _function_4 = (Type it) -> { + final Function1 _function_3 = (Type it) -> { String _name_2 = it.getName(); return Boolean.valueOf(Objects.equal(_name_2, "Modes3ModelRoot class DefinedPart")); }; - Type _findFirst = IterableExtensions.findFirst(((PartialInterpretation)representation).getProblem().getTypes(), _function_4); + Type _findFirst = IterableExtensions.findFirst(((PartialInterpretation)representation).getProblem().getTypes(), _function_3); final TypeDefinition rootType = ((TypeDefinition) _findFirst); - final Function1 _function_5 = (PartialComplexTypeInterpretation it) -> { + final Function1 _function_4 = (PartialComplexTypeInterpretation it) -> { String _name_2 = it.getInterpretationOf().getName(); return Boolean.valueOf(Objects.equal(_name_2, "Modes3ModelRoot class")); }; final PartialComplexTypeInterpretation rootIntepretation = IterableExtensions.findFirst(Iterables.filter(((PartialInterpretation)representation).getPartialtypeinterpratation(), - PartialComplexTypeInterpretation.class), _function_5); + PartialComplexTypeInterpretation.class), _function_4); rootIntepretation.getElements().removeAll(rootType.getElements()); ((PartialInterpretation)representation).getProblem().getElements().removeAll(rootType.getElements()); EList _partialrelationinterpretation = ((PartialInterpretation)representation).getPartialrelationinterpretation(); for (final PartialRelationInterpretation relationInterpretation : _partialrelationinterpretation) { - final Predicate _function_6 = (RelationLink link) -> { + final Predicate _function_5 = (RelationLink link) -> { boolean _xifexpression_1 = false; if ((link instanceof BinaryElementRelationLink)) { _xifexpression_1 = (rootType.getElements().contains(((BinaryElementRelationLink)link).getParam1()) || rootType.getElements().contains(((BinaryElementRelationLink)link).getParam2())); @@ -255,7 +273,7 @@ public class Modes3ModelGenerator { } return _xifexpression_1; }; - relationInterpretation.getRelationlinks().removeIf(_function_6); + relationInterpretation.getRelationlinks().removeIf(_function_5); } rootType.getElements().clear(); } @@ -349,13 +367,7 @@ public class Modes3ModelGenerator { Viatra2LogicAnnotationsPackage.eINSTANCE.getClass(); Map _extensionToFactoryMap = Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap(); XMIResourceFactoryImpl _xMIResourceFactoryImpl = new XMIResourceFactoryImpl(); - _extensionToFactoryMap.put("ecore", _xMIResourceFactoryImpl); - Map _extensionToFactoryMap_1 = Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap(); - XMIResourceFactoryImpl _xMIResourceFactoryImpl_1 = new XMIResourceFactoryImpl(); - _extensionToFactoryMap_1.put("logicproblem", _xMIResourceFactoryImpl_1); - Map _extensionToFactoryMap_2 = Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap(); - XMIResourceFactoryImpl _xMIResourceFactoryImpl_2 = new XMIResourceFactoryImpl(); - _xblockexpression = _extensionToFactoryMap_2.put("partialinterpretation", _xMIResourceFactoryImpl_2); + _xblockexpression = _extensionToFactoryMap.put("*", _xMIResourceFactoryImpl); } return _xblockexpression; } diff --git a/Domains/ca.mcgill.rtgmrt.example.modes3/xtend-gen/modes3/run/Modes3TypeScopeHint.java b/Domains/ca.mcgill.rtgmrt.example.modes3/xtend-gen/modes3/run/Modes3TypeScopeHint.java new file mode 100644 index 00000000..adb69760 --- /dev/null +++ b/Domains/ca.mcgill.rtgmrt.example.modes3/xtend-gen/modes3/run/Modes3TypeScopeHint.java @@ -0,0 +1,133 @@ +package modes3.run; + +import hu.bme.mit.inf.dslreasoner.ecore2logic.Ecore2Logic; +import hu.bme.mit.inf.dslreasoner.ecore2logic.Ecore2Logic_Trace; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Type; +import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.Modality; +import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.cardinality.LinearBoundedExpression; +import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.cardinality.LinearTypeConstraintHint; +import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.cardinality.LinearTypeExpressionBuilderFactory; +import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.cardinality.RelationConstraintUpdater; +import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.patterns.PatternGenerator; +import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.PartialInterpretation; +import java.util.Iterator; +import java.util.Map; +import modes3.Modes3Package; +import modes3.queries.Adjacent; +import org.eclipse.viatra.query.runtime.api.IPatternMatch; +import org.eclipse.viatra.query.runtime.api.ViatraQueryMatcher; +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PQuery; +import org.eclipse.xtend2.lib.StringConcatenation; +import org.eclipse.xtext.xbase.lib.Extension; + +@SuppressWarnings("all") +public class Modes3TypeScopeHint implements LinearTypeConstraintHint { + private static final String TURNOUT_NEIGHBOR_COUNT = "turnoutNeighborCount"; + + private final Type segmentType; + + private final Type turnoutType; + + public Modes3TypeScopeHint(@Extension final Ecore2Logic ecore2Logic, final Ecore2Logic_Trace ecore2LogicTrace) { + @Extension + final Modes3Package Modes3Package = modes3.Modes3Package.eINSTANCE; + this.segmentType = ecore2Logic.TypeofEClass(ecore2LogicTrace, Modes3Package.getSegment()); + this.turnoutType = ecore2Logic.TypeofEClass(ecore2LogicTrace, Modes3Package.getTurnout()); + } + + @Override + public CharSequence getAdditionalPatterns(@Extension final PatternGenerator patternGenerator, final Map fqnToPQuery) { + StringConcatenation _builder = new StringConcatenation(); + _builder.append("\t"); + _builder.append("pattern "); + _builder.append(Modes3TypeScopeHint.TURNOUT_NEIGHBOR_COUNT, "\t"); + _builder.append("_helper(problem: LogicProblem, interpretation: PartialInterpretation, source: DefinedElement, target: DefinedElement) {"); + _builder.newLineIfNotEmpty(); + _builder.append("\t\t"); + _builder.append("find interpretation(problem, interpretation);"); + _builder.newLine(); + _builder.append("\t\t"); + _builder.append("find mustExist(problem, interpretation, source);"); + _builder.newLine(); + _builder.append("\t\t"); + _builder.append("find mustExist(problem, interpretation, target);"); + _builder.newLine(); + _builder.append("\t\t"); + CharSequence _referInstanceOf = patternGenerator.getTypeIndexer().referInstanceOf(this.turnoutType, Modality.MUST, "source"); + _builder.append(_referInstanceOf, "\t\t"); + _builder.newLineIfNotEmpty(); + _builder.append("\t\t"); + CharSequence _referInstanceOf_1 = patternGenerator.getTypeIndexer().referInstanceOf(this.segmentType, Modality.MUST, "target"); + _builder.append(_referInstanceOf_1, "\t\t"); + _builder.newLineIfNotEmpty(); + _builder.append("\t\t"); + CharSequence _referPattern = patternGenerator.getRelationDefinitionIndexer().referPattern(fqnToPQuery.get(Adjacent.instance().getFullyQualifiedName()), new String[] { "source", "target" }, Modality.MUST, true, false); + _builder.append(_referPattern, "\t\t"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + _builder.append("}"); + _builder.newLine(); + _builder.newLine(); + _builder.append("\t"); + _builder.append("pattern "); + _builder.append(Modes3TypeScopeHint.TURNOUT_NEIGHBOR_COUNT, "\t"); + _builder.append("(problem: LogicProblem, interpretation: PartialInterpretation, element: DefinedElement, N) {"); + _builder.newLineIfNotEmpty(); + _builder.append("\t\t"); + _builder.append("find interpretation(problem, interpretation);"); + _builder.newLine(); + _builder.append("\t\t"); + _builder.append("find mustExist(problem, interpretation, element);"); + _builder.newLine(); + _builder.append("\t\t"); + CharSequence _referInstanceOf_2 = patternGenerator.getTypeIndexer().referInstanceOf(this.turnoutType, Modality.MUST, "element"); + _builder.append(_referInstanceOf_2, "\t\t"); + _builder.newLineIfNotEmpty(); + _builder.append("\t\t"); + _builder.append("N == count find "); + _builder.append(Modes3TypeScopeHint.TURNOUT_NEIGHBOR_COUNT, "\t\t"); + _builder.append("_helper(problem, interpretation, element, _);"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + _builder.append("}"); + _builder.newLine(); + return _builder; + } + + @Override + public RelationConstraintUpdater createConstraintUpdater(final LinearTypeExpressionBuilderFactory builderFactory) { + final ViatraQueryMatcher turnoutNeighborCountMatcher = builderFactory.createMatcher(Modes3TypeScopeHint.TURNOUT_NEIGHBOR_COUNT); + final LinearBoundedExpression newNeighbors = builderFactory.createBuilder().add(1, this.segmentType).build(); + final RelationConstraintUpdater _function = (PartialInterpretation partialInterpretation) -> { + final int requiredNeighbbors = Modes3TypeScopeHint.getRemainingCount(turnoutNeighborCountMatcher, partialInterpretation, 3); + newNeighbors.tightenLowerBound(Integer.valueOf(requiredNeighbbors)); + }; + return _function; + } + + private static int getRemainingCount(final ViatraQueryMatcher matcher, final PartialInterpretation partialInterpretation, final int capacity) { + int _xblockexpression = (int) 0; + { + final T partialMatch = matcher.newEmptyMatch(); + partialMatch.set(0, partialInterpretation.getProblem()); + partialMatch.set(1, partialInterpretation); + final Iterator iterator = matcher.streamAllMatches(partialMatch).iterator(); + int max = 0; + while (iterator.hasNext()) { + { + final T match = iterator.next(); + Object _get = match.get(3); + final int n = ((Integer) _get).intValue(); + if ((n < capacity)) { + final int required = (capacity - n); + if ((max < required)) { + max = required; + } + } + } + } + _xblockexpression = max; + } + return _xblockexpression; + } +} diff --git a/Domains/ca.mcgill.rtgmrt.example.modes3/xtend-gen/modes3/run/Modes3UnitPropagationGenerator.java b/Domains/ca.mcgill.rtgmrt.example.modes3/xtend-gen/modes3/run/Modes3UnitPropagationGenerator.java index 91adaaaa..5c5f82c5 100644 --- a/Domains/ca.mcgill.rtgmrt.example.modes3/xtend-gen/modes3/run/Modes3UnitPropagationGenerator.java +++ b/Domains/ca.mcgill.rtgmrt.example.modes3/xtend-gen/modes3/run/Modes3UnitPropagationGenerator.java @@ -10,9 +10,8 @@ import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.patterns.UnitPropaga import java.util.Collections; import java.util.Map; import modes3.Modes3Package; -import modes3.queries.ExtraInputOfTurnout; +import modes3.queries.Adjacent; import modes3.queries.Output; -import modes3.queries.TurnoutOutput; import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PQuery; import org.eclipse.xtend2.lib.StringConcatenationClient; import org.eclipse.xtext.xbase.lib.CollectionLiterals; @@ -23,16 +22,20 @@ import org.eclipse.xtext.xbase.lib.Pair; public class Modes3UnitPropagationGenerator implements UnitPropagationPatternGenerator { private static final String MUST_NOT_CONNECTED_TO = "mustNotConnectedTo"; - private static final String MUST_NOT_CONNECTED_TO_HELPER = "mustNotConnectedTo_helper"; - - private static final String MUST_NOT_TURNOUT_OUTPUT = "mustNotTurnoutOutput"; - private static final String MUST_NOT_STRAIGHT = "mustNotStraight"; private static final String MUST_NOT_DIVERGENT = "mustNotDivergent"; + private static final String MUST_CONNECTED_TO = "mustConnectedTo"; + + private static final String MUST_STRAIGHT = "mustStraight"; + + private static final String MUST_DIVERGENT = "mustDivergent"; + private final Type segmentType; + private final Type simpleSegmentType; + private final Type turnoutType; private final Relation connectedToRelation; @@ -45,6 +48,7 @@ public class Modes3UnitPropagationGenerator implements UnitPropagationPatternGen @Extension final Modes3Package Modes3Package = modes3.Modes3Package.eINSTANCE; this.segmentType = ecore2Logic.TypeofEClass(ecore2LogicTrace, Modes3Package.getSegment()); + this.simpleSegmentType = ecore2Logic.TypeofEClass(ecore2LogicTrace, Modes3Package.getSimpleSegment()); this.turnoutType = ecore2Logic.TypeofEClass(ecore2LogicTrace, Modes3Package.getTurnout()); this.connectedToRelation = ecore2Logic.relationOfReference(ecore2LogicTrace, Modes3Package.getSegment_ConnectedTo()); this.straightRelation = ecore2Logic.relationOfReference(ecore2LogicTrace, Modes3Package.getTurnout_Straight()); @@ -53,7 +57,10 @@ public class Modes3UnitPropagationGenerator implements UnitPropagationPatternGen @Override public Map getMustPatterns() { - return CollectionLiterals.emptyMap(); + Pair _mappedTo = Pair.of(this.connectedToRelation, Modes3UnitPropagationGenerator.MUST_CONNECTED_TO); + Pair _mappedTo_1 = Pair.of(this.straightRelation, Modes3UnitPropagationGenerator.MUST_STRAIGHT); + Pair _mappedTo_2 = Pair.of(this.divergentRelation, Modes3UnitPropagationGenerator.MUST_DIVERGENT); + return Collections.unmodifiableMap(CollectionLiterals.newHashMap(_mappedTo, _mappedTo_1, _mappedTo_2)); } @Override @@ -89,496 +96,1078 @@ public class Modes3UnitPropagationGenerator implements UnitPropagationPatternGen _builder.newLine(); } }; - final StringConcatenationClient commonParameterConstraints = _client_1; + final StringConcatenationClient commonMustParameterConstraints = _client_1; StringConcatenationClient _client_2 = new StringConcatenationClient() { @Override protected void appendTo(StringConcatenationClient.TargetStringConcatenation _builder) { - _builder.append("pattern "); - _builder.append(Modes3UnitPropagationGenerator.MUST_NOT_CONNECTED_TO_HELPER); - _builder.append("("); - _builder.append(parameters); - _builder.append(") {"); - _builder.newLineIfNotEmpty(); - _builder.append("\t"); - _builder.append("// connectedToReflexive unit propagation"); - _builder.newLine(); - _builder.append("\t"); - _builder.append(commonParameterConstraints, "\t"); - _builder.newLineIfNotEmpty(); - _builder.append("\t"); - CharSequence _referInstanceOf = generator.getTypeIndexer().referInstanceOf(Modes3UnitPropagationGenerator.this.segmentType, Modality.MUST, "source"); - _builder.append(_referInstanceOf, "\t"); - _builder.newLineIfNotEmpty(); - _builder.append("\t"); - CharSequence _referInstanceOf_1 = generator.getTypeIndexer().referInstanceOf(Modes3UnitPropagationGenerator.this.segmentType, Modality.MUST, "target"); - _builder.append(_referInstanceOf_1, "\t"); - _builder.newLineIfNotEmpty(); - _builder.append("\t"); - _builder.append("source == target;"); + _builder.append("find interpretation(problem, interpretation);"); _builder.newLine(); - _builder.append("} or {"); + _builder.append("find mayExist(problem, interpretation, source);"); _builder.newLine(); - _builder.append("\t"); - _builder.append("// tooManyInputsOfSegment unit propagation"); + _builder.append("find mayExist(problem, interpretation, target);"); _builder.newLine(); - _builder.append("\t"); - _builder.append(commonParameterConstraints, "\t"); + } + }; + final StringConcatenationClient commonMayParameterConstraints = _client_2; + StringConcatenationClient _client_3 = new StringConcatenationClient() { + @Override + protected void appendTo(StringConcatenationClient.TargetStringConcatenation _builder) { + _builder.append("pattern mayInput("); + _builder.append(parameters); + _builder.append(") {"); _builder.newLineIfNotEmpty(); _builder.append("\t"); - CharSequence _referInstanceOf_2 = generator.getTypeIndexer().referInstanceOf(Modes3UnitPropagationGenerator.this.segmentType, Modality.MUST, "source"); - _builder.append(_referInstanceOf_2, "\t"); + _builder.append(commonMayParameterConstraints, "\t"); _builder.newLineIfNotEmpty(); _builder.append("\t"); - CharSequence _referInstanceOf_3 = generator.getTypeIndexer().referInstanceOf(Modes3UnitPropagationGenerator.this.segmentType, Modality.MUST, "target"); - _builder.append(_referInstanceOf_3, "\t"); + CharSequence _referInstanceOf = generator.getTypeIndexer().referInstanceOf(Modes3UnitPropagationGenerator.this.segmentType, Modality.MAY, "target"); + _builder.append(_referInstanceOf, "\t"); _builder.newLineIfNotEmpty(); _builder.append("\t"); - CharSequence _referInstanceOf_4 = generator.getTypeIndexer().referInstanceOf(Modes3UnitPropagationGenerator.this.segmentType, Modality.MUST, "input1"); - _builder.append(_referInstanceOf_4, "\t"); + CharSequence _referPattern = generator.getRelationDefinitionIndexer().referPattern(fqnToPQuery.get(Adjacent.instance().getFullyQualifiedName()), new String[] { "target", "source" }, Modality.MAY, true, false); + _builder.append(_referPattern, "\t"); _builder.newLineIfNotEmpty(); _builder.append("\t"); - CharSequence _referInstanceOf_5 = generator.getTypeIndexer().referInstanceOf(Modes3UnitPropagationGenerator.this.segmentType, Modality.MUST, "input2"); - _builder.append(_referInstanceOf_5, "\t"); + _builder.append("neg "); + CharSequence _referRelation = generator.referRelation(Modes3UnitPropagationGenerator.this.straightRelation, "target", "source", Modality.MUST, fqnToPQuery); + _builder.append(_referRelation, "\t"); _builder.newLineIfNotEmpty(); _builder.append("\t"); _builder.append("neg "); - CharSequence _referInstanceOf_6 = generator.getTypeIndexer().referInstanceOf(Modes3UnitPropagationGenerator.this.turnoutType, Modality.MAY, "source"); - _builder.append(_referInstanceOf_6, "\t"); + CharSequence _referRelation_1 = generator.referRelation(Modes3UnitPropagationGenerator.this.straightRelation, "target", "source", Modality.MUST, fqnToPQuery); + _builder.append(_referRelation_1, "\t"); _builder.newLineIfNotEmpty(); + _builder.append("}"); + _builder.newLine(); + _builder.newLine(); + _builder.append("pattern multipleMayInput(problem: LogicProblem, interpretation: PartialInterpretation,"); + _builder.newLine(); + _builder.append("\t\t\t"); + _builder.append("target: DefinedElement) {"); + _builder.newLine(); _builder.append("\t"); - CharSequence _referPattern = generator.getRelationDefinitionIndexer().referPattern(fqnToPQuery.get(Output.instance().getFullyQualifiedName()), new String[] { "input1", "source" }, Modality.MUST, true, false); - _builder.append(_referPattern, "\t"); - _builder.newLineIfNotEmpty(); + _builder.append("find interpretation(problem, interpretation);"); + _builder.newLine(); _builder.append("\t"); - CharSequence _referPattern_1 = generator.getRelationDefinitionIndexer().referPattern(fqnToPQuery.get(Output.instance().getFullyQualifiedName()), new String[] { "input2", "source" }, Modality.MUST, true, false); - _builder.append(_referPattern_1, "\t"); - _builder.newLineIfNotEmpty(); + _builder.append("find mustExist(problem, interpretation, target);"); + _builder.newLine(); _builder.append("\t"); - _builder.append("input1 != input2;"); + _builder.append("find mayInput(problem, interpretaton, source1, target);"); _builder.newLine(); _builder.append("\t"); - _builder.append("input1 != target;"); + _builder.append("find mayInput(problem, interpretaton, source2, target);"); _builder.newLine(); _builder.append("\t"); - _builder.append("input2 != target;"); + _builder.append("neg find mustEquivalent(problem, interpretation, source1, source2);"); _builder.newLine(); - _builder.append("} or {"); + _builder.append("}"); _builder.newLine(); - _builder.append("\t"); - _builder.append("// turnoutConnectedToBothOutputs unit propagation 1"); + _builder.newLine(); + _builder.append("pattern multipleMayStraight(problem: LogicProblem, interpretation: PartialInterpretation,"); + _builder.newLine(); + _builder.append("\t\t\t"); + _builder.append("source: DefinedElement) {"); _builder.newLine(); _builder.append("\t"); - _builder.append(commonParameterConstraints, "\t"); - _builder.newLineIfNotEmpty(); + _builder.append("find interpretation(problem, interpretation);"); + _builder.newLine(); _builder.append("\t"); - CharSequence _referInstanceOf_7 = generator.getTypeIndexer().referInstanceOf(Modes3UnitPropagationGenerator.this.turnoutType, Modality.MUST, "source"); - _builder.append(_referInstanceOf_7, "\t"); - _builder.newLineIfNotEmpty(); + _builder.append("find mustExist(problem, interpretation, source);"); + _builder.newLine(); _builder.append("\t"); - CharSequence _referInstanceOf_8 = generator.getTypeIndexer().referInstanceOf(Modes3UnitPropagationGenerator.this.segmentType, Modality.MUST, "target"); - _builder.append(_referInstanceOf_8, "\t"); + CharSequence _referInstanceOf_1 = generator.getTypeIndexer().referInstanceOf(Modes3UnitPropagationGenerator.this.turnoutType, Modality.MAY, "source"); + _builder.append(_referInstanceOf_1, "\t"); _builder.newLineIfNotEmpty(); _builder.append("\t"); - CharSequence _referInstanceOf_9 = generator.getTypeIndexer().referInstanceOf(Modes3UnitPropagationGenerator.this.segmentType, Modality.MUST, "divergent"); - _builder.append(_referInstanceOf_9, "\t"); + CharSequence _referRelation_2 = generator.referRelation(Modes3UnitPropagationGenerator.this.straightRelation, "source", "target1", Modality.MAY, fqnToPQuery); + _builder.append(_referRelation_2, "\t"); _builder.newLineIfNotEmpty(); _builder.append("\t"); - CharSequence _referRelation = generator.referRelation(Modes3UnitPropagationGenerator.this.straightRelation, "source", "target", Modality.MUST, fqnToPQuery); - _builder.append(_referRelation, "\t"); + CharSequence _referRelation_3 = generator.referRelation(Modes3UnitPropagationGenerator.this.straightRelation, "source", "target2", Modality.MAY, fqnToPQuery); + _builder.append(_referRelation_3, "\t"); _builder.newLineIfNotEmpty(); _builder.append("\t"); - CharSequence _referRelation_1 = generator.referRelation(Modes3UnitPropagationGenerator.this.divergentRelation, "source", "divergent", Modality.MUST, fqnToPQuery); - _builder.append(_referRelation_1, "\t"); - _builder.newLineIfNotEmpty(); + _builder.append("neg find mustEquivalent(problem, interpretation, target1, target2);"); + _builder.newLine(); + _builder.append("}"); + _builder.newLine(); + _builder.newLine(); + _builder.append("pattern multipleMayDivergent(problem: LogicProblem, interpretation: PartialInterpretation,"); + _builder.newLine(); + _builder.append("\t\t\t"); + _builder.append("source: DefinedElement) {"); + _builder.newLine(); _builder.append("\t"); - CharSequence _referRelation_2 = generator.referRelation(Modes3UnitPropagationGenerator.this.connectedToRelation, "source", "divergent", Modality.MUST, fqnToPQuery); - _builder.append(_referRelation_2, "\t"); - _builder.newLineIfNotEmpty(); - _builder.append("} or {"); + _builder.append("find interpretation(problem, interpretation);"); _builder.newLine(); _builder.append("\t"); - _builder.append("// turnoutConnectedToBothOutputs unit propagation 2"); + _builder.append("find mustExist(problem, interpretation, source);"); _builder.newLine(); _builder.append("\t"); - _builder.append(commonParameterConstraints, "\t"); + CharSequence _referInstanceOf_2 = generator.getTypeIndexer().referInstanceOf(Modes3UnitPropagationGenerator.this.turnoutType, Modality.MAY, "source"); + _builder.append(_referInstanceOf_2, "\t"); _builder.newLineIfNotEmpty(); _builder.append("\t"); - CharSequence _referInstanceOf_10 = generator.getTypeIndexer().referInstanceOf(Modes3UnitPropagationGenerator.this.turnoutType, Modality.MUST, "source"); - _builder.append(_referInstanceOf_10, "\t"); + CharSequence _referRelation_4 = generator.referRelation(Modes3UnitPropagationGenerator.this.divergentRelation, "source", "target1", Modality.MAY, fqnToPQuery); + _builder.append(_referRelation_4, "\t"); _builder.newLineIfNotEmpty(); _builder.append("\t"); - CharSequence _referInstanceOf_11 = generator.getTypeIndexer().referInstanceOf(Modes3UnitPropagationGenerator.this.segmentType, Modality.MUST, "target"); - _builder.append(_referInstanceOf_11, "\t"); + CharSequence _referRelation_5 = generator.referRelation(Modes3UnitPropagationGenerator.this.divergentRelation, "source", "target2", Modality.MAY, fqnToPQuery); + _builder.append(_referRelation_5, "\t"); _builder.newLineIfNotEmpty(); _builder.append("\t"); - CharSequence _referInstanceOf_12 = generator.getTypeIndexer().referInstanceOf(Modes3UnitPropagationGenerator.this.segmentType, Modality.MUST, "straight"); - _builder.append(_referInstanceOf_12, "\t"); + _builder.append("neg find mustEquivalent(problem, interpretation, target1, target2);"); + _builder.newLine(); + _builder.append("}"); + _builder.newLine(); + _builder.newLine(); + _builder.append("pattern "); + _builder.append(Modes3UnitPropagationGenerator.MUST_CONNECTED_TO); + _builder.append("("); + _builder.append(parameters); + _builder.append(") {"); _builder.newLineIfNotEmpty(); _builder.append("\t"); - CharSequence _referRelation_3 = generator.referRelation(Modes3UnitPropagationGenerator.this.straightRelation, "source", "straight", Modality.MUST, fqnToPQuery); - _builder.append(_referRelation_3, "\t"); + _builder.append(commonMustParameterConstraints, "\t"); _builder.newLineIfNotEmpty(); _builder.append("\t"); - CharSequence _referRelation_4 = generator.referRelation(Modes3UnitPropagationGenerator.this.divergentRelation, "source", "target", Modality.MUST, fqnToPQuery); - _builder.append(_referRelation_4, "\t"); + CharSequence _referInstanceOf_3 = generator.getTypeIndexer().referInstanceOf(Modes3UnitPropagationGenerator.this.segmentType, Modality.MAY, "target"); + _builder.append(_referInstanceOf_3, "\t"); _builder.newLineIfNotEmpty(); _builder.append("\t"); - CharSequence _referRelation_5 = generator.referRelation(Modes3UnitPropagationGenerator.this.connectedToRelation, "source", "straight", Modality.MUST, fqnToPQuery); - _builder.append(_referRelation_5, "\t"); - _builder.newLineIfNotEmpty(); - _builder.append("} or {"); + _builder.append("find mayInput(problem, interpretaton, source, target);"); _builder.newLine(); _builder.append("\t"); - _builder.append("// tooManyExtraInputsOfTurnout unit propagation"); + _builder.append("neg find multipleMayInput(problem, interpretaton, target);"); _builder.newLine(); _builder.append("\t"); - _builder.append(commonParameterConstraints, "\t"); - _builder.newLineIfNotEmpty(); - _builder.append("\t"); - CharSequence _referInstanceOf_13 = generator.getTypeIndexer().referInstanceOf(Modes3UnitPropagationGenerator.this.turnoutType, Modality.MUST, "source"); - _builder.append(_referInstanceOf_13, "\t"); - _builder.newLineIfNotEmpty(); - _builder.append("\t"); - CharSequence _referInstanceOf_14 = generator.getTypeIndexer().referInstanceOf(Modes3UnitPropagationGenerator.this.segmentType, Modality.MUST, "target"); - _builder.append(_referInstanceOf_14, "\t"); + CharSequence _referRelation_6 = generator.referRelation(Modes3UnitPropagationGenerator.this.connectedToRelation, "source", "target", Modality.MAY, fqnToPQuery); + _builder.append(_referRelation_6, "\t"); _builder.newLineIfNotEmpty(); _builder.append("\t"); - CharSequence _referInstanceOf_15 = generator.getTypeIndexer().referInstanceOf(Modes3UnitPropagationGenerator.this.segmentType, Modality.MUST, "extraInput"); - _builder.append(_referInstanceOf_15, "\t"); + _builder.append("neg "); + CharSequence _referRelation_7 = generator.referRelation(Modes3UnitPropagationGenerator.this.connectedToRelation, "source", "target", Modality.MUST, fqnToPQuery); + _builder.append(_referRelation_7, "\t"); _builder.newLineIfNotEmpty(); _builder.append("\t"); - CharSequence _referPattern_2 = generator.getRelationDefinitionIndexer().referPattern(fqnToPQuery.get(TurnoutOutput.instance().getFullyQualifiedName()), new String[] { "source", "target" }, Modality.MAY, false, false); - _builder.append(_referPattern_2, "\t"); + _builder.append("neg "); + CharSequence _referRelation_8 = generator.referRelation(Modes3UnitPropagationGenerator.this.straightRelation, "source", "target", Modality.MAY, fqnToPQuery); + _builder.append(_referRelation_8, "\t"); _builder.newLineIfNotEmpty(); _builder.append("\t"); - CharSequence _referPattern_3 = generator.getRelationDefinitionIndexer().referPattern(fqnToPQuery.get(ExtraInputOfTurnout.instance().getFullyQualifiedName()), new String[] { "source", "extraInput" }, Modality.MUST, true, false); - _builder.append(_referPattern_3, "\t"); + _builder.append("neg "); + CharSequence _referRelation_9 = generator.referRelation(Modes3UnitPropagationGenerator.this.divergentRelation, "source", "target", Modality.MAY, fqnToPQuery); + _builder.append(_referRelation_9, "\t"); _builder.newLineIfNotEmpty(); - _builder.append("\t"); - _builder.append("target != extraInput;"); - _builder.newLine(); _builder.append("}"); _builder.newLine(); _builder.newLine(); _builder.append("pattern "); - _builder.append(Modes3UnitPropagationGenerator.MUST_NOT_CONNECTED_TO); + _builder.append(Modes3UnitPropagationGenerator.MUST_STRAIGHT); _builder.append("("); _builder.append(parameters); _builder.append(") {"); _builder.newLineIfNotEmpty(); _builder.append("\t"); - _builder.append("find "); - _builder.append(Modes3UnitPropagationGenerator.MUST_NOT_CONNECTED_TO_HELPER, "\t"); - _builder.append("(problem, interpretation, source, target);"); + _builder.append(commonMustParameterConstraints, "\t"); _builder.newLineIfNotEmpty(); - _builder.append("} or {"); - _builder.newLine(); _builder.append("\t"); - _builder.append("find "); - _builder.append(Modes3UnitPropagationGenerator.MUST_NOT_CONNECTED_TO_HELPER, "\t"); - _builder.append("(problem, interpretation, target, source);"); - _builder.newLineIfNotEmpty(); - _builder.append("}"); - _builder.newLine(); - _builder.newLine(); - _builder.append("pattern "); - _builder.append(Modes3UnitPropagationGenerator.MUST_NOT_TURNOUT_OUTPUT); - _builder.append("("); - _builder.append(parameters); - _builder.append(") {"); + _builder.append("neg "); + CharSequence _referRelation_10 = generator.referRelation(Modes3UnitPropagationGenerator.this.straightRelation, "source", "_", Modality.MUST, fqnToPQuery); + _builder.append(_referRelation_10, "\t"); _builder.newLineIfNotEmpty(); _builder.append("\t"); - _builder.append("// outputReflexive unit propagation"); + _builder.append("neg find multipleMayStraight(problem, interpretation, source);"); _builder.newLine(); _builder.append("\t"); - _builder.append(commonParameterConstraints, "\t"); - _builder.newLineIfNotEmpty(); - _builder.append("\t"); - CharSequence _referInstanceOf_16 = generator.getTypeIndexer().referInstanceOf(Modes3UnitPropagationGenerator.this.turnoutType, Modality.MUST, "source"); - _builder.append(_referInstanceOf_16, "\t"); + CharSequence _referRelation_11 = generator.referRelation(Modes3UnitPropagationGenerator.this.straightRelation, "source", "target", Modality.MAY, fqnToPQuery); + _builder.append(_referRelation_11, "\t"); _builder.newLineIfNotEmpty(); _builder.append("\t"); - CharSequence _referInstanceOf_17 = generator.getTypeIndexer().referInstanceOf(Modes3UnitPropagationGenerator.this.turnoutType, Modality.MUST, "target"); - _builder.append(_referInstanceOf_17, "\t"); + _builder.append("neg "); + CharSequence _referRelation_12 = generator.referRelation(Modes3UnitPropagationGenerator.this.straightRelation, "source", "target", Modality.MUST, fqnToPQuery); + _builder.append(_referRelation_12, "\t"); _builder.newLineIfNotEmpty(); - _builder.append("\t"); - _builder.append("source == target;"); - _builder.newLine(); _builder.append("} or {"); _builder.newLine(); _builder.append("\t"); - _builder.append("// tooManyInputsOfSegment unit propagation"); - _builder.newLine(); - _builder.append("\t"); - _builder.append(commonParameterConstraints, "\t"); - _builder.newLineIfNotEmpty(); - _builder.append("\t"); - CharSequence _referInstanceOf_18 = generator.getTypeIndexer().referInstanceOf(Modes3UnitPropagationGenerator.this.turnoutType, Modality.MUST, "source"); - _builder.append(_referInstanceOf_18, "\t"); + _builder.append(commonMustParameterConstraints, "\t"); _builder.newLineIfNotEmpty(); _builder.append("\t"); - CharSequence _referInstanceOf_19 = generator.getTypeIndexer().referInstanceOf(Modes3UnitPropagationGenerator.this.segmentType, Modality.MUST, "target"); - _builder.append(_referInstanceOf_19, "\t"); + CharSequence _referInstanceOf_4 = generator.getTypeIndexer().referInstanceOf(Modes3UnitPropagationGenerator.this.segmentType, Modality.MAY, "target"); + _builder.append(_referInstanceOf_4, "\t"); _builder.newLineIfNotEmpty(); _builder.append("\t"); - CharSequence _referInstanceOf_20 = generator.getTypeIndexer().referInstanceOf(Modes3UnitPropagationGenerator.this.segmentType, Modality.MUST, "input1"); - _builder.append(_referInstanceOf_20, "\t"); - _builder.newLineIfNotEmpty(); + _builder.append("find mayInput(problem, interpretaton, source, target);"); + _builder.newLine(); _builder.append("\t"); - CharSequence _referInstanceOf_21 = generator.getTypeIndexer().referInstanceOf(Modes3UnitPropagationGenerator.this.segmentType, Modality.MUST, "input2"); - _builder.append(_referInstanceOf_21, "\t"); - _builder.newLineIfNotEmpty(); + _builder.append("neg find multipleMayInput(problem, interpretaton, target);"); + _builder.newLine(); _builder.append("\t"); _builder.append("neg "); - CharSequence _referInstanceOf_22 = generator.getTypeIndexer().referInstanceOf(Modes3UnitPropagationGenerator.this.turnoutType, Modality.MAY, "target"); - _builder.append(_referInstanceOf_22, "\t"); + CharSequence _referRelation_13 = generator.referRelation(Modes3UnitPropagationGenerator.this.connectedToRelation, "source", "target", Modality.MAY, fqnToPQuery); + _builder.append(_referRelation_13, "\t"); _builder.newLineIfNotEmpty(); _builder.append("\t"); - CharSequence _referPattern_4 = generator.getRelationDefinitionIndexer().referPattern(fqnToPQuery.get(Output.instance().getFullyQualifiedName()), new String[] { "input1", "target" }, Modality.MUST, true, false); - _builder.append(_referPattern_4, "\t"); + CharSequence _referRelation_14 = generator.referRelation(Modes3UnitPropagationGenerator.this.straightRelation, "source", "target", Modality.MAY, fqnToPQuery); + _builder.append(_referRelation_14, "\t"); _builder.newLineIfNotEmpty(); _builder.append("\t"); - CharSequence _referPattern_5 = generator.getRelationDefinitionIndexer().referPattern(fqnToPQuery.get(Output.instance().getFullyQualifiedName()), new String[] { "input2", "target" }, Modality.MUST, true, false); - _builder.append(_referPattern_5, "\t"); + _builder.append("neg "); + CharSequence _referRelation_15 = generator.referRelation(Modes3UnitPropagationGenerator.this.straightRelation, "source", "target", Modality.MUST, fqnToPQuery); + _builder.append(_referRelation_15, "\t"); _builder.newLineIfNotEmpty(); _builder.append("\t"); - _builder.append("input1 != input2;"); - _builder.newLine(); - _builder.append("\t"); - _builder.append("input1 != source;"); - _builder.newLine(); - _builder.append("\t"); - _builder.append("input2 != source;"); - _builder.newLine(); + _builder.append("neg "); + CharSequence _referRelation_16 = generator.referRelation(Modes3UnitPropagationGenerator.this.divergentRelation, "source", "target", Modality.MAY, fqnToPQuery); + _builder.append(_referRelation_16, "\t"); + _builder.newLineIfNotEmpty(); _builder.append("}"); _builder.newLine(); _builder.newLine(); _builder.append("pattern "); - _builder.append(Modes3UnitPropagationGenerator.MUST_NOT_STRAIGHT); + _builder.append(Modes3UnitPropagationGenerator.MUST_DIVERGENT); _builder.append("("); _builder.append(parameters); _builder.append(") {"); _builder.newLineIfNotEmpty(); _builder.append("\t"); - _builder.append("find "); - _builder.append(Modes3UnitPropagationGenerator.MUST_NOT_TURNOUT_OUTPUT, "\t"); - _builder.append("(problem, interpretation, source, target);"); + _builder.append(commonMustParameterConstraints, "\t"); _builder.newLineIfNotEmpty(); - _builder.append("} or {"); - _builder.newLine(); _builder.append("\t"); - _builder.append("// turnoutOutputsAreSame unit propagation"); + _builder.append("neg "); + CharSequence _referRelation_17 = generator.referRelation(Modes3UnitPropagationGenerator.this.divergentRelation, "source", "_", Modality.MUST, fqnToPQuery); + _builder.append(_referRelation_17, "\t"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + _builder.append("neg find multipleMayDivergent(problem, interpretation, source);"); _builder.newLine(); _builder.append("\t"); - _builder.append(commonParameterConstraints, "\t"); + CharSequence _referRelation_18 = generator.referRelation(Modes3UnitPropagationGenerator.this.divergentRelation, "source", "target", Modality.MAY, fqnToPQuery); + _builder.append(_referRelation_18, "\t"); _builder.newLineIfNotEmpty(); _builder.append("\t"); - CharSequence _referInstanceOf_23 = generator.getTypeIndexer().referInstanceOf(Modes3UnitPropagationGenerator.this.turnoutType, Modality.MUST, "source"); - _builder.append(_referInstanceOf_23, "\t"); + _builder.append("neg "); + CharSequence _referRelation_19 = generator.referRelation(Modes3UnitPropagationGenerator.this.divergentRelation, "source", "target", Modality.MUST, fqnToPQuery); + _builder.append(_referRelation_19, "\t"); _builder.newLineIfNotEmpty(); + _builder.append("} or {"); + _builder.newLine(); _builder.append("\t"); - CharSequence _referInstanceOf_24 = generator.getTypeIndexer().referInstanceOf(Modes3UnitPropagationGenerator.this.segmentType, Modality.MUST, "target"); - _builder.append(_referInstanceOf_24, "\t"); + _builder.append(commonMustParameterConstraints, "\t"); _builder.newLineIfNotEmpty(); _builder.append("\t"); - CharSequence _referRelation_6 = generator.referRelation(Modes3UnitPropagationGenerator.this.divergentRelation, "source", "target", Modality.MUST, fqnToPQuery); - _builder.append(_referRelation_6, "\t"); + CharSequence _referInstanceOf_5 = generator.getTypeIndexer().referInstanceOf(Modes3UnitPropagationGenerator.this.segmentType, Modality.MAY, "target"); + _builder.append(_referInstanceOf_5, "\t"); _builder.newLineIfNotEmpty(); - _builder.append("} or {"); + _builder.append("\t"); + _builder.append("find mayInput(problem, interpretaton, source, target);"); _builder.newLine(); _builder.append("\t"); - _builder.append("// turnoutConnectedToBothOutputs unit propagation"); + _builder.append("neg find multipleMayInput(problem, interpretaton, target);"); _builder.newLine(); _builder.append("\t"); - _builder.append(commonParameterConstraints, "\t"); + _builder.append("neg "); + CharSequence _referRelation_20 = generator.referRelation(Modes3UnitPropagationGenerator.this.connectedToRelation, "source", "target", Modality.MAY, fqnToPQuery); + _builder.append(_referRelation_20, "\t"); _builder.newLineIfNotEmpty(); _builder.append("\t"); - CharSequence _referInstanceOf_25 = generator.getTypeIndexer().referInstanceOf(Modes3UnitPropagationGenerator.this.turnoutType, Modality.MUST, "source"); - _builder.append(_referInstanceOf_25, "\t"); + _builder.append("neg "); + CharSequence _referRelation_21 = generator.referRelation(Modes3UnitPropagationGenerator.this.straightRelation, "source", "target", Modality.MAY, fqnToPQuery); + _builder.append(_referRelation_21, "\t"); _builder.newLineIfNotEmpty(); _builder.append("\t"); - CharSequence _referInstanceOf_26 = generator.getTypeIndexer().referInstanceOf(Modes3UnitPropagationGenerator.this.segmentType, Modality.MUST, "target"); - _builder.append(_referInstanceOf_26, "\t"); + CharSequence _referRelation_22 = generator.referRelation(Modes3UnitPropagationGenerator.this.divergentRelation, "source", "target", Modality.MAY, fqnToPQuery); + _builder.append(_referRelation_22, "\t"); _builder.newLineIfNotEmpty(); _builder.append("\t"); - CharSequence _referInstanceOf_27 = generator.getTypeIndexer().referInstanceOf(Modes3UnitPropagationGenerator.this.turnoutType, Modality.MUST, "divergent"); - _builder.append(_referInstanceOf_27, "\t"); + _builder.append("neg "); + CharSequence _referRelation_23 = generator.referRelation(Modes3UnitPropagationGenerator.this.divergentRelation, "source", "target", Modality.MUST, fqnToPQuery); + _builder.append(_referRelation_23, "\t"); + _builder.newLineIfNotEmpty(); + _builder.append("}"); + _builder.newLine(); + _builder.newLine(); + _builder.append("pattern turnoutOutput_must_to_true_by_straight("); + _builder.append(parameters); + _builder.append(", T : DefinedElement, S : DefinedElement) {"); _builder.newLineIfNotEmpty(); _builder.append("\t"); - CharSequence _referRelation_7 = generator.referRelation(Modes3UnitPropagationGenerator.this.connectedToRelation, "source", "target", Modality.MUST, fqnToPQuery); - _builder.append(_referRelation_7, "\t"); + _builder.append(commonMayParameterConstraints, "\t"); _builder.newLineIfNotEmpty(); _builder.append("\t"); - CharSequence _referRelation_8 = generator.referRelation(Modes3UnitPropagationGenerator.this.divergentRelation, "source", "divergent", Modality.MUST, fqnToPQuery); - _builder.append(_referRelation_8, "\t"); + CharSequence _referInstanceOf_6 = generator.getTypeIndexer().referInstanceOf(Modes3UnitPropagationGenerator.this.turnoutType, Modality.MAY, "source"); + _builder.append(_referInstanceOf_6, "\t"); _builder.newLineIfNotEmpty(); _builder.append("\t"); - CharSequence _referRelation_9 = generator.referRelation(Modes3UnitPropagationGenerator.this.connectedToRelation, "source", "divergent", Modality.MUST, fqnToPQuery); - _builder.append(_referRelation_9, "\t"); + CharSequence _referInstanceOf_7 = generator.getTypeIndexer().referInstanceOf(Modes3UnitPropagationGenerator.this.segmentType, Modality.MAY, "target"); + _builder.append(_referInstanceOf_7, "\t"); _builder.newLineIfNotEmpty(); - _builder.append("} or {"); - _builder.newLine(); _builder.append("\t"); - _builder.append("// tooManyExtraInputsOfTurnout unit propagation"); + _builder.append("T == source;"); _builder.newLine(); _builder.append("\t"); - _builder.append(commonParameterConstraints, "\t"); + _builder.append("S == target;"); + _builder.newLine(); + _builder.append("}"); + _builder.newLine(); + _builder.newLine(); + _builder.append("pattern turnoutOutput_must_to_true_by_divergent("); + _builder.append(parameters); + _builder.append(", T : DefinedElement, S : DefinedElement) {"); _builder.newLineIfNotEmpty(); _builder.append("\t"); - CharSequence _referInstanceOf_28 = generator.getTypeIndexer().referInstanceOf(Modes3UnitPropagationGenerator.this.turnoutType, Modality.MUST, "source"); - _builder.append(_referInstanceOf_28, "\t"); + _builder.append(commonMayParameterConstraints, "\t"); _builder.newLineIfNotEmpty(); _builder.append("\t"); - CharSequence _referInstanceOf_29 = generator.getTypeIndexer().referInstanceOf(Modes3UnitPropagationGenerator.this.segmentType, Modality.MUST, "target"); - _builder.append(_referInstanceOf_29, "\t"); + CharSequence _referInstanceOf_8 = generator.getTypeIndexer().referInstanceOf(Modes3UnitPropagationGenerator.this.turnoutType, Modality.MAY, "source"); + _builder.append(_referInstanceOf_8, "\t"); _builder.newLineIfNotEmpty(); _builder.append("\t"); - CharSequence _referInstanceOf_30 = generator.getTypeIndexer().referInstanceOf(Modes3UnitPropagationGenerator.this.segmentType, Modality.MUST, "extraInput"); - _builder.append(_referInstanceOf_30, "\t"); + CharSequence _referInstanceOf_9 = generator.getTypeIndexer().referInstanceOf(Modes3UnitPropagationGenerator.this.segmentType, Modality.MAY, "target"); + _builder.append(_referInstanceOf_9, "\t"); _builder.newLineIfNotEmpty(); _builder.append("\t"); - CharSequence _referInstanceOf_31 = generator.getTypeIndexer().referInstanceOf(Modes3UnitPropagationGenerator.this.segmentType, Modality.MUST, "potentialExtraInput"); - _builder.append(_referInstanceOf_31, "\t"); - _builder.newLineIfNotEmpty(); + _builder.append("T == source;"); + _builder.newLine(); _builder.append("\t"); - CharSequence _referPattern_6 = generator.getRelationDefinitionIndexer().referPattern(fqnToPQuery.get(ExtraInputOfTurnout.instance().getFullyQualifiedName()), new String[] { "source", "extraInput" }, Modality.MUST, true, false); - _builder.append(_referPattern_6, "\t"); + _builder.append("S == target;"); + _builder.newLine(); + _builder.append("}"); + _builder.newLine(); + _builder.newLine(); + _builder.append("pattern output_must_to_true_by_connectedTo("); + _builder.append(parameters); + _builder.append(", S1 : DefinedElement, S2 : DefinedElement) {"); _builder.newLineIfNotEmpty(); _builder.append("\t"); - CharSequence _referRelation_10 = generator.referRelation(Modes3UnitPropagationGenerator.this.connectedToRelation, "source", "potentialExtraInput", Modality.MUST, fqnToPQuery); - _builder.append(_referRelation_10, "\t"); + _builder.append(commonMayParameterConstraints, "\t"); _builder.newLineIfNotEmpty(); _builder.append("\t"); - _builder.append("neg "); - CharSequence _referRelation_11 = generator.referRelation(Modes3UnitPropagationGenerator.this.divergentRelation, "source", "potentialExtraInput", Modality.MAY, fqnToPQuery); - _builder.append(_referRelation_11, "\t"); + CharSequence _referInstanceOf_10 = generator.getTypeIndexer().referInstanceOf(Modes3UnitPropagationGenerator.this.segmentType, Modality.MAY, "source"); + _builder.append(_referInstanceOf_10, "\t"); _builder.newLineIfNotEmpty(); _builder.append("\t"); - _builder.append("extraInput != potentialExtraInput;"); - _builder.newLine(); + CharSequence _referInstanceOf_11 = generator.getTypeIndexer().referInstanceOf(Modes3UnitPropagationGenerator.this.segmentType, Modality.MAY, "target"); + _builder.append(_referInstanceOf_11, "\t"); + _builder.newLineIfNotEmpty(); _builder.append("\t"); - _builder.append("extraInput != target;"); + _builder.append("S1 == source;"); _builder.newLine(); _builder.append("\t"); - _builder.append("potentialExtraInput != target;"); + _builder.append("S2 == target;"); _builder.newLine(); _builder.append("}"); _builder.newLine(); _builder.newLine(); - _builder.append("pattern "); - _builder.append(Modes3UnitPropagationGenerator.MUST_NOT_DIVERGENT); - _builder.append("("); + _builder.append("pattern output_must_to_true_by_straight("); _builder.append(parameters); - _builder.append(") {"); + _builder.append(", S1 : DefinedElement, S2 : DefinedElement) {"); _builder.newLineIfNotEmpty(); _builder.append("\t"); - _builder.append("find "); - _builder.append(Modes3UnitPropagationGenerator.MUST_NOT_TURNOUT_OUTPUT, "\t"); - _builder.append("(problem, interpretation, source, target);"); - _builder.newLineIfNotEmpty(); - _builder.append("} or {"); + _builder.append("find turnoutOutput_must_to_true_by_straight(problem, interpretation, source, target, S1, S2);"); _builder.newLine(); - _builder.append("\t"); - _builder.append("// turnoutOutputsAreSame unit propagation"); + _builder.append("}"); _builder.newLine(); - _builder.append("\t"); - _builder.append(commonParameterConstraints, "\t"); + _builder.newLine(); + _builder.append("pattern output_must_to_true_by_divergent("); + _builder.append(parameters); + _builder.append(", S1 : DefinedElement, S2 : DefinedElement) {"); _builder.newLineIfNotEmpty(); _builder.append("\t"); - CharSequence _referInstanceOf_32 = generator.getTypeIndexer().referInstanceOf(Modes3UnitPropagationGenerator.this.turnoutType, Modality.MUST, "source"); - _builder.append(_referInstanceOf_32, "\t"); + _builder.append("find turnoutOutput_must_to_true_by_divergent(problem, interpretation, source, target, S1, S2);"); + _builder.newLine(); + _builder.append("}"); + _builder.newLine(); + _builder.newLine(); + _builder.append("pattern adjacent_must_to_true_by_connectedTo("); + _builder.append(parameters); + _builder.append(", S1 : DefinedElement, S2 : DefinedElement) {"); _builder.newLineIfNotEmpty(); _builder.append("\t"); - CharSequence _referInstanceOf_33 = generator.getTypeIndexer().referInstanceOf(Modes3UnitPropagationGenerator.this.segmentType, Modality.MUST, "target"); - _builder.append(_referInstanceOf_33, "\t"); + _builder.append("find output_must_to_true_by_connectedTo(problem, interpretation, source, target, S1, S2);"); + _builder.newLine(); + _builder.append("}"); + _builder.newLine(); + _builder.newLine(); + _builder.append("pattern adjacent_must_to_true_by_straight("); + _builder.append(parameters); + _builder.append(", S1 : DefinedElement, S2 : DefinedElement) {"); _builder.newLineIfNotEmpty(); _builder.append("\t"); - CharSequence _referRelation_12 = generator.referRelation(Modes3UnitPropagationGenerator.this.straightRelation, "source", "target", Modality.MUST, fqnToPQuery); - _builder.append(_referRelation_12, "\t"); + _builder.append("find output_must_to_true_by_straight(problem, interpretation, source, target, S1, S2);"); + _builder.newLine(); + _builder.append("} or {"); + _builder.newLine(); + _builder.append("\t"); + _builder.append("find turnoutOutput_must_to_true_by_straight(problem, interpretation, source, target, S2, S1);"); + _builder.newLine(); + _builder.append("}"); + _builder.newLine(); + _builder.newLine(); + _builder.append("pattern adjacent_must_to_true_by_divergent("); + _builder.append(parameters); + _builder.append(", S1 : DefinedElement, S2 : DefinedElement) {"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + _builder.append("find output_must_to_true_by_divergent(problem, interpretation, source, target, S1, S2);"); + _builder.newLine(); + _builder.append("} or {"); + _builder.newLine(); + _builder.append("\t"); + _builder.append("find turnoutOutput_must_to_true_by_divergent(problem, interpretation, source, target, S2, S1);"); + _builder.newLine(); + _builder.append("}"); + _builder.newLine(); + _builder.newLine(); + _builder.append("pattern connectedToReflexive_must_to_true_by_connectedTo("); + _builder.append(parameters); + _builder.append(", S : DefinedElement) {"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + _builder.append("find mustExist(problem, interpretation, source);"); + _builder.newLine(); + _builder.append("\t"); + CharSequence _referInstanceOf_12 = generator.getTypeIndexer().referInstanceOf(Modes3UnitPropagationGenerator.this.segmentType, Modality.MUST, "source"); + _builder.append(_referInstanceOf_12, "\t"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + _builder.append("S == source;"); + _builder.newLine(); + _builder.append("\t"); + _builder.append("S == target;"); + _builder.newLine(); + _builder.append("}"); + _builder.newLine(); + _builder.newLine(); + _builder.append("pattern outputReflexive_must_to_true_by_straight("); + _builder.append(parameters); + _builder.append(", T : DefinedElement) {"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + _builder.append("find turnoutOutput_must_to_true_by_straight(problem, interpretation, source, target, T, T);"); + _builder.newLine(); + _builder.append("}"); + _builder.newLine(); + _builder.newLine(); + _builder.append("pattern outputReflexive_must_to_true_by_divergent("); + _builder.append(parameters); + _builder.append(", T : DefinedElement) {"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + _builder.append("find turnoutOutput_must_to_true_by_divergent(problem, interpretation, source, target, T, T);"); + _builder.newLine(); + _builder.append("}"); + _builder.newLine(); + _builder.newLine(); + _builder.append("pattern turnoutOutputsAreSame_must_to_true_by_straight("); + _builder.append(parameters); + _builder.append(", T : DefinedElement) {"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + _builder.append(commonMayParameterConstraints, "\t"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + CharSequence _referInstanceOf_13 = generator.getTypeIndexer().referInstanceOf(Modes3UnitPropagationGenerator.this.turnoutType, Modality.MAY, "source"); + _builder.append(_referInstanceOf_13, "\t"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + CharSequence _referInstanceOf_14 = generator.getTypeIndexer().referInstanceOf(Modes3UnitPropagationGenerator.this.segmentType, Modality.MAY, "target"); + _builder.append(_referInstanceOf_14, "\t"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + _builder.append("T == source;"); + _builder.newLine(); + _builder.append("\t"); + _builder.append("S == target;"); + _builder.newLine(); + _builder.append("\t"); + CharSequence _referRelation_24 = generator.referRelation(Modes3UnitPropagationGenerator.this.divergentRelation, "T", "S", Modality.MUST, fqnToPQuery); + _builder.append(_referRelation_24, "\t"); + _builder.newLineIfNotEmpty(); + _builder.append("}"); + _builder.newLine(); + _builder.newLine(); + _builder.append("pattern turnoutOutputsAreSame_must_to_true_by_divergent("); + _builder.append(parameters); + _builder.append(", T : DefinedElement) {"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + _builder.append(commonMayParameterConstraints, "\t"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + CharSequence _referInstanceOf_15 = generator.getTypeIndexer().referInstanceOf(Modes3UnitPropagationGenerator.this.turnoutType, Modality.MAY, "source"); + _builder.append(_referInstanceOf_15, "\t"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + CharSequence _referInstanceOf_16 = generator.getTypeIndexer().referInstanceOf(Modes3UnitPropagationGenerator.this.segmentType, Modality.MAY, "target"); + _builder.append(_referInstanceOf_16, "\t"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + _builder.append("T == source;"); + _builder.newLine(); + _builder.append("\t"); + _builder.append("S == target;"); + _builder.newLine(); + _builder.append("\t"); + CharSequence _referRelation_25 = generator.referRelation(Modes3UnitPropagationGenerator.this.straightRelation, "T", "S", Modality.MUST, fqnToPQuery); + _builder.append(_referRelation_25, "\t"); + _builder.newLineIfNotEmpty(); + _builder.append("}"); + _builder.newLine(); + _builder.newLine(); + _builder.append("pattern tooManyInputsOfSegment_must_to_true_by_connectedTo("); + _builder.append(parameters); + _builder.append(", S : DefinedElement) {"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + _builder.append("find mustExist(problem, interpretation, S);"); + _builder.newLine(); + _builder.append("\t"); + CharSequence _referInstanceOf_17 = generator.getTypeIndexer().referInstanceOf(Modes3UnitPropagationGenerator.this.simpleSegmentType, Modality.MUST, "S"); + _builder.append(_referInstanceOf_17, "\t"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + _builder.append("find output_must_to_true_by_connectedTo(problem, interpretation, source, target, I1, S);"); + _builder.newLine(); + _builder.append("\t"); + CharSequence _referPattern_1 = generator.getRelationDefinitionIndexer().referPattern(fqnToPQuery.get(Output.instance().getFullyQualifiedName()), new String[] { "I2", "S" }, Modality.MUST, true, false); + _builder.append(_referPattern_1, "\t"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + CharSequence _referPattern_2 = generator.getRelationDefinitionIndexer().referPattern(fqnToPQuery.get(Output.instance().getFullyQualifiedName()), new String[] { "I3", "S" }, Modality.MUST, true, false); + _builder.append(_referPattern_2, "\t"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + _builder.append("I1 != I2;"); + _builder.newLine(); + _builder.append("\t"); + _builder.append("I1 != I3;"); + _builder.newLine(); + _builder.append("\t"); + _builder.append("I2 != I3;"); + _builder.newLine(); + _builder.append("}"); + _builder.newLine(); + _builder.newLine(); + _builder.append("pattern tooManyInputsOfSegment_must_to_true_by_straight("); + _builder.append(parameters); + _builder.append(", S : DefinedElement) {"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + _builder.append("find mustExist(problem, interpretation, S);"); + _builder.newLine(); + _builder.append("\t"); + CharSequence _referInstanceOf_18 = generator.getTypeIndexer().referInstanceOf(Modes3UnitPropagationGenerator.this.simpleSegmentType, Modality.MUST, "S"); + _builder.append(_referInstanceOf_18, "\t"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + _builder.append("find output_must_to_true_by_straight(problem, interpretation, source, target, I1, S);"); + _builder.newLine(); + _builder.append("\t"); + CharSequence _referPattern_3 = generator.getRelationDefinitionIndexer().referPattern(fqnToPQuery.get(Output.instance().getFullyQualifiedName()), new String[] { "I2", "S" }, Modality.MUST, true, false); + _builder.append(_referPattern_3, "\t"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + CharSequence _referPattern_4 = generator.getRelationDefinitionIndexer().referPattern(fqnToPQuery.get(Output.instance().getFullyQualifiedName()), new String[] { "I3", "S" }, Modality.MUST, true, false); + _builder.append(_referPattern_4, "\t"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + _builder.append("I1 != I2;"); + _builder.newLine(); + _builder.append("\t"); + _builder.append("I1 != I3;"); + _builder.newLine(); + _builder.append("\t"); + _builder.append("I2 != I3;"); + _builder.newLine(); + _builder.append("}"); + _builder.newLine(); + _builder.newLine(); + _builder.append("pattern tooManyInputsOfSegment_must_to_true_by_divergent("); + _builder.append(parameters); + _builder.append(", S : DefinedElement) {"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + _builder.append("find mustExist(problem, interpretation, S);"); + _builder.newLine(); + _builder.append("\t"); + CharSequence _referInstanceOf_19 = generator.getTypeIndexer().referInstanceOf(Modes3UnitPropagationGenerator.this.simpleSegmentType, Modality.MUST, "S"); + _builder.append(_referInstanceOf_19, "\t"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + _builder.append("find output_must_to_true_by_divergent(problem, interpretation, source, target, I1, S);"); + _builder.newLine(); + _builder.append("\t"); + CharSequence _referPattern_5 = generator.getRelationDefinitionIndexer().referPattern(fqnToPQuery.get(Output.instance().getFullyQualifiedName()), new String[] { "I2", "S" }, Modality.MUST, true, false); + _builder.append(_referPattern_5, "\t"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + CharSequence _referPattern_6 = generator.getRelationDefinitionIndexer().referPattern(fqnToPQuery.get(Output.instance().getFullyQualifiedName()), new String[] { "I3", "S" }, Modality.MUST, true, false); + _builder.append(_referPattern_6, "\t"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + _builder.append("I1 != I2;"); + _builder.newLine(); + _builder.append("\t"); + _builder.append("I1 != I3;"); + _builder.newLine(); + _builder.append("\t"); + _builder.append("I2 != I3;"); + _builder.newLine(); + _builder.append("}"); + _builder.newLine(); + _builder.newLine(); + _builder.append("pattern turnoutConnectedToBothOutputs_must_to_true_by_connectedTo("); + _builder.append(parameters); + _builder.append(", T : DefinedElement) {"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + _builder.append(commonMayParameterConstraints, "\t"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + _builder.append("find mustExist(problem, interpretation, Straight);"); + _builder.newLine(); + _builder.append("\t"); + _builder.append("find mustExist(problem, interpretation, Divergent);"); + _builder.newLine(); + _builder.append("\t"); + CharSequence _referInstanceOf_20 = generator.getTypeIndexer().referInstanceOf(Modes3UnitPropagationGenerator.this.turnoutType, Modality.MAY, "source"); + _builder.append(_referInstanceOf_20, "\t"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + CharSequence _referInstanceOf_21 = generator.getTypeIndexer().referInstanceOf(Modes3UnitPropagationGenerator.this.segmentType, Modality.MAY, "target"); + _builder.append(_referInstanceOf_21, "\t"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + CharSequence _referInstanceOf_22 = generator.getTypeIndexer().referInstanceOf(Modes3UnitPropagationGenerator.this.segmentType, Modality.MUST, "Straight"); + _builder.append(_referInstanceOf_22, "\t"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + CharSequence _referInstanceOf_23 = generator.getTypeIndexer().referInstanceOf(Modes3UnitPropagationGenerator.this.segmentType, Modality.MUST, "Divergent"); + _builder.append(_referInstanceOf_23, "\t"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + CharSequence _referRelation_26 = generator.referRelation(Modes3UnitPropagationGenerator.this.straightRelation, "T", "Straight", Modality.MUST, fqnToPQuery); + _builder.append(_referRelation_26, "\t"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + CharSequence _referRelation_27 = generator.referRelation(Modes3UnitPropagationGenerator.this.divergentRelation, "T", "Divergent", Modality.MUST, fqnToPQuery); + _builder.append(_referRelation_27, "\t"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + _builder.append("T == source;"); + _builder.newLine(); + _builder.append("\t"); + _builder.append("Straight == target;"); + _builder.newLine(); + _builder.append("\t"); + CharSequence _referRelation_28 = generator.referRelation(Modes3UnitPropagationGenerator.this.connectedToRelation, "T", "Divergent", Modality.MUST, fqnToPQuery); + _builder.append(_referRelation_28, "\t"); _builder.newLineIfNotEmpty(); _builder.append("} or {"); _builder.newLine(); _builder.append("\t"); - _builder.append("// turnoutConnectedToBothOutputs unit propagation"); + _builder.append(commonMayParameterConstraints, "\t"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + _builder.append("find mustExist(problem, interpretation, Straight);"); + _builder.newLine(); + _builder.append("\t"); + _builder.append("find mustExist(problem, interpretation, Divergent);"); + _builder.newLine(); + _builder.append("\t"); + CharSequence _referInstanceOf_24 = generator.getTypeIndexer().referInstanceOf(Modes3UnitPropagationGenerator.this.turnoutType, Modality.MAY, "source"); + _builder.append(_referInstanceOf_24, "\t"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + CharSequence _referInstanceOf_25 = generator.getTypeIndexer().referInstanceOf(Modes3UnitPropagationGenerator.this.segmentType, Modality.MAY, "target"); + _builder.append(_referInstanceOf_25, "\t"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + CharSequence _referInstanceOf_26 = generator.getTypeIndexer().referInstanceOf(Modes3UnitPropagationGenerator.this.segmentType, Modality.MUST, "Straight"); + _builder.append(_referInstanceOf_26, "\t"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + CharSequence _referInstanceOf_27 = generator.getTypeIndexer().referInstanceOf(Modes3UnitPropagationGenerator.this.segmentType, Modality.MUST, "Divergent"); + _builder.append(_referInstanceOf_27, "\t"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + CharSequence _referRelation_29 = generator.referRelation(Modes3UnitPropagationGenerator.this.straightRelation, "T", "Straight", Modality.MUST, fqnToPQuery); + _builder.append(_referRelation_29, "\t"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + CharSequence _referRelation_30 = generator.referRelation(Modes3UnitPropagationGenerator.this.divergentRelation, "T", "Divergent", Modality.MUST, fqnToPQuery); + _builder.append(_referRelation_30, "\t"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + CharSequence _referRelation_31 = generator.referRelation(Modes3UnitPropagationGenerator.this.connectedToRelation, "T", "Straight", Modality.MUST, fqnToPQuery); + _builder.append(_referRelation_31, "\t"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + _builder.append("T == source;"); + _builder.newLine(); + _builder.append("\t"); + _builder.append("Straight == target;"); + _builder.newLine(); + _builder.append("}"); + _builder.newLine(); + _builder.newLine(); + _builder.append("pattern turnoutConnectedToBothOutputs_must_to_true_by_straight("); + _builder.append(parameters); + _builder.append(", T : DefinedElement) {"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + _builder.append(commonMayParameterConstraints, "\t"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + _builder.append("find mustExist(problem, interpretation, Straight);"); + _builder.newLine(); + _builder.append("\t"); + _builder.append("find mustExist(problem, interpretation, Divergent);"); _builder.newLine(); _builder.append("\t"); - _builder.append(commonParameterConstraints, "\t"); + CharSequence _referInstanceOf_28 = generator.getTypeIndexer().referInstanceOf(Modes3UnitPropagationGenerator.this.turnoutType, Modality.MAY, "source"); + _builder.append(_referInstanceOf_28, "\t"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + CharSequence _referInstanceOf_29 = generator.getTypeIndexer().referInstanceOf(Modes3UnitPropagationGenerator.this.segmentType, Modality.MAY, "target"); + _builder.append(_referInstanceOf_29, "\t"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + CharSequence _referInstanceOf_30 = generator.getTypeIndexer().referInstanceOf(Modes3UnitPropagationGenerator.this.segmentType, Modality.MUST, "Straight"); + _builder.append(_referInstanceOf_30, "\t"); _builder.newLineIfNotEmpty(); _builder.append("\t"); - CharSequence _referInstanceOf_34 = generator.getTypeIndexer().referInstanceOf(Modes3UnitPropagationGenerator.this.turnoutType, Modality.MUST, "source"); + CharSequence _referInstanceOf_31 = generator.getTypeIndexer().referInstanceOf(Modes3UnitPropagationGenerator.this.segmentType, Modality.MUST, "Divergent"); + _builder.append(_referInstanceOf_31, "\t"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + _builder.append("T == source;"); + _builder.newLine(); + _builder.append("\t"); + _builder.append("Straight == target;"); + _builder.newLine(); + _builder.append("\t"); + CharSequence _referRelation_32 = generator.referRelation(Modes3UnitPropagationGenerator.this.divergentRelation, "T", "Divergent", Modality.MUST, fqnToPQuery); + _builder.append(_referRelation_32, "\t"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + CharSequence _referRelation_33 = generator.referRelation(Modes3UnitPropagationGenerator.this.connectedToRelation, "T", "Straight", Modality.MUST, fqnToPQuery); + _builder.append(_referRelation_33, "\t"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + CharSequence _referRelation_34 = generator.referRelation(Modes3UnitPropagationGenerator.this.connectedToRelation, "T", "Divergent", Modality.MUST, fqnToPQuery); + _builder.append(_referRelation_34, "\t"); + _builder.newLineIfNotEmpty(); + _builder.append("}"); + _builder.newLine(); + _builder.newLine(); + _builder.append("pattern turnoutConnectedToBothOutputs_must_to_true_by_divergent("); + _builder.append(parameters); + _builder.append(", T : DefinedElement) {"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + _builder.append(commonMayParameterConstraints, "\t"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + _builder.append("find mustExist(problem, interpretation, Straight);"); + _builder.newLine(); + _builder.append("\t"); + _builder.append("find mustExist(problem, interpretation, Divergent);"); + _builder.newLine(); + _builder.append("\t"); + CharSequence _referInstanceOf_32 = generator.getTypeIndexer().referInstanceOf(Modes3UnitPropagationGenerator.this.turnoutType, Modality.MAY, "source"); + _builder.append(_referInstanceOf_32, "\t"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + CharSequence _referInstanceOf_33 = generator.getTypeIndexer().referInstanceOf(Modes3UnitPropagationGenerator.this.segmentType, Modality.MAY, "target"); + _builder.append(_referInstanceOf_33, "\t"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + CharSequence _referInstanceOf_34 = generator.getTypeIndexer().referInstanceOf(Modes3UnitPropagationGenerator.this.segmentType, Modality.MUST, "Straight"); _builder.append(_referInstanceOf_34, "\t"); _builder.newLineIfNotEmpty(); _builder.append("\t"); - CharSequence _referInstanceOf_35 = generator.getTypeIndexer().referInstanceOf(Modes3UnitPropagationGenerator.this.segmentType, Modality.MUST, "target"); + CharSequence _referInstanceOf_35 = generator.getTypeIndexer().referInstanceOf(Modes3UnitPropagationGenerator.this.segmentType, Modality.MUST, "Divergent"); _builder.append(_referInstanceOf_35, "\t"); _builder.newLineIfNotEmpty(); _builder.append("\t"); - CharSequence _referInstanceOf_36 = generator.getTypeIndexer().referInstanceOf(Modes3UnitPropagationGenerator.this.turnoutType, Modality.MUST, "straight"); + CharSequence _referRelation_35 = generator.referRelation(Modes3UnitPropagationGenerator.this.straightRelation, "T", "Straight", Modality.MUST, fqnToPQuery); + _builder.append(_referRelation_35, "\t"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + _builder.append("T == source;"); + _builder.newLine(); + _builder.append("\t"); + _builder.append("Divergent == target;"); + _builder.newLine(); + _builder.append("\t"); + CharSequence _referRelation_36 = generator.referRelation(Modes3UnitPropagationGenerator.this.connectedToRelation, "T", "Straight", Modality.MUST, fqnToPQuery); + _builder.append(_referRelation_36, "\t"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + CharSequence _referRelation_37 = generator.referRelation(Modes3UnitPropagationGenerator.this.connectedToRelation, "T", "Divergent", Modality.MUST, fqnToPQuery); + _builder.append(_referRelation_37, "\t"); + _builder.newLineIfNotEmpty(); + _builder.append("}"); + _builder.newLine(); + _builder.newLine(); + _builder.append("pattern tooManyInputsOfTurnout_must_to_true_by_connectedTo("); + _builder.append(parameters); + _builder.append(", T : DefinedElement) {"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + _builder.append("find mustExist(problem, interpretation, S);"); + _builder.newLine(); + _builder.append("\t"); + CharSequence _referInstanceOf_36 = generator.getTypeIndexer().referInstanceOf(Modes3UnitPropagationGenerator.this.turnoutType, Modality.MUST, "S"); _builder.append(_referInstanceOf_36, "\t"); _builder.newLineIfNotEmpty(); _builder.append("\t"); - CharSequence _referRelation_13 = generator.referRelation(Modes3UnitPropagationGenerator.this.connectedToRelation, "source", "target", Modality.MUST, fqnToPQuery); - _builder.append(_referRelation_13, "\t"); + _builder.append("find adjacent_must_to_true_by_connectedTo(problem, interpretation, source, target, I1, S);"); + _builder.newLine(); + _builder.append("\t"); + CharSequence _referPattern_7 = generator.getRelationDefinitionIndexer().referPattern(fqnToPQuery.get(Adjacent.instance().getFullyQualifiedName()), new String[] { "I2", "S" }, Modality.MUST, true, false); + _builder.append(_referPattern_7, "\t"); _builder.newLineIfNotEmpty(); _builder.append("\t"); - CharSequence _referRelation_14 = generator.referRelation(Modes3UnitPropagationGenerator.this.straightRelation, "source", "straight", Modality.MUST, fqnToPQuery); - _builder.append(_referRelation_14, "\t"); + CharSequence _referPattern_8 = generator.getRelationDefinitionIndexer().referPattern(fqnToPQuery.get(Adjacent.instance().getFullyQualifiedName()), new String[] { "I3", "S" }, Modality.MUST, true, false); + _builder.append(_referPattern_8, "\t"); _builder.newLineIfNotEmpty(); _builder.append("\t"); - CharSequence _referRelation_15 = generator.referRelation(Modes3UnitPropagationGenerator.this.connectedToRelation, "source", "straight", Modality.MUST, fqnToPQuery); - _builder.append(_referRelation_15, "\t"); + CharSequence _referPattern_9 = generator.getRelationDefinitionIndexer().referPattern(fqnToPQuery.get(Adjacent.instance().getFullyQualifiedName()), new String[] { "I4", "S" }, Modality.MUST, true, false); + _builder.append(_referPattern_9, "\t"); _builder.newLineIfNotEmpty(); - _builder.append("} or {"); + _builder.append("\t"); + _builder.append("I1 != I2;"); + _builder.newLine(); + _builder.append("\t"); + _builder.append("I1 != I3;"); + _builder.newLine(); + _builder.append("\t"); + _builder.append("I1 != I4;"); _builder.newLine(); _builder.append("\t"); - _builder.append("// tooManyExtraInputsOfTurnout unit propagation"); + _builder.append("I2 != I3;"); _builder.newLine(); _builder.append("\t"); - _builder.append(commonParameterConstraints, "\t"); + _builder.append("I2 != I4;"); + _builder.newLine(); + _builder.append("\t"); + _builder.append("I3 != I4;"); + _builder.newLine(); + _builder.append("}"); + _builder.newLine(); + _builder.newLine(); + _builder.append("pattern tooManyInputsOfTurnout_must_to_true_by_straight("); + _builder.append(parameters); + _builder.append(", T : DefinedElement) {"); _builder.newLineIfNotEmpty(); _builder.append("\t"); - CharSequence _referInstanceOf_37 = generator.getTypeIndexer().referInstanceOf(Modes3UnitPropagationGenerator.this.turnoutType, Modality.MUST, "source"); + _builder.append("find mustExist(problem, interpretation, S);"); + _builder.newLine(); + _builder.append("\t"); + CharSequence _referInstanceOf_37 = generator.getTypeIndexer().referInstanceOf(Modes3UnitPropagationGenerator.this.turnoutType, Modality.MUST, "S"); _builder.append(_referInstanceOf_37, "\t"); _builder.newLineIfNotEmpty(); _builder.append("\t"); - CharSequence _referInstanceOf_38 = generator.getTypeIndexer().referInstanceOf(Modes3UnitPropagationGenerator.this.segmentType, Modality.MUST, "target"); + _builder.append("find adjacent_must_to_true_by_straight(problem, interpretation, source, target, I1, S);"); + _builder.newLine(); + _builder.append("\t"); + CharSequence _referPattern_10 = generator.getRelationDefinitionIndexer().referPattern(fqnToPQuery.get(Adjacent.instance().getFullyQualifiedName()), new String[] { "I2", "S" }, Modality.MUST, true, false); + _builder.append(_referPattern_10, "\t"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + CharSequence _referPattern_11 = generator.getRelationDefinitionIndexer().referPattern(fqnToPQuery.get(Adjacent.instance().getFullyQualifiedName()), new String[] { "I3", "S" }, Modality.MUST, true, false); + _builder.append(_referPattern_11, "\t"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + CharSequence _referPattern_12 = generator.getRelationDefinitionIndexer().referPattern(fqnToPQuery.get(Adjacent.instance().getFullyQualifiedName()), new String[] { "I4", "S" }, Modality.MUST, true, false); + _builder.append(_referPattern_12, "\t"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + _builder.append("I1 != I2;"); + _builder.newLine(); + _builder.append("\t"); + _builder.append("I1 != I3;"); + _builder.newLine(); + _builder.append("\t"); + _builder.append("I1 != I4;"); + _builder.newLine(); + _builder.append("\t"); + _builder.append("I2 != I3;"); + _builder.newLine(); + _builder.append("\t"); + _builder.append("I2 != I4;"); + _builder.newLine(); + _builder.append("\t"); + _builder.append("I3 != I4;"); + _builder.newLine(); + _builder.append("}"); + _builder.newLine(); + _builder.newLine(); + _builder.append("pattern tooManyInputsOfTurnout_must_to_true_by_divergent("); + _builder.append(parameters); + _builder.append(", T : DefinedElement) {"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + _builder.append("find mustExist(problem, interpretation, S);"); + _builder.newLine(); + _builder.append("\t"); + CharSequence _referInstanceOf_38 = generator.getTypeIndexer().referInstanceOf(Modes3UnitPropagationGenerator.this.turnoutType, Modality.MUST, "S"); _builder.append(_referInstanceOf_38, "\t"); _builder.newLineIfNotEmpty(); _builder.append("\t"); - CharSequence _referInstanceOf_39 = generator.getTypeIndexer().referInstanceOf(Modes3UnitPropagationGenerator.this.segmentType, Modality.MUST, "extraInput"); - _builder.append(_referInstanceOf_39, "\t"); + _builder.append("find adjacent_must_to_true_by_divergent(problem, interpretation, source, target, I1, S);"); + _builder.newLine(); + _builder.append("\t"); + CharSequence _referPattern_13 = generator.getRelationDefinitionIndexer().referPattern(fqnToPQuery.get(Adjacent.instance().getFullyQualifiedName()), new String[] { "I2", "S" }, Modality.MUST, true, false); + _builder.append(_referPattern_13, "\t"); _builder.newLineIfNotEmpty(); _builder.append("\t"); - CharSequence _referInstanceOf_40 = generator.getTypeIndexer().referInstanceOf(Modes3UnitPropagationGenerator.this.segmentType, Modality.MUST, "potentialExtraInput"); - _builder.append(_referInstanceOf_40, "\t"); + CharSequence _referPattern_14 = generator.getRelationDefinitionIndexer().referPattern(fqnToPQuery.get(Adjacent.instance().getFullyQualifiedName()), new String[] { "I3", "S" }, Modality.MUST, true, false); + _builder.append(_referPattern_14, "\t"); _builder.newLineIfNotEmpty(); _builder.append("\t"); - CharSequence _referPattern_7 = generator.getRelationDefinitionIndexer().referPattern(fqnToPQuery.get(ExtraInputOfTurnout.instance().getFullyQualifiedName()), new String[] { "source", "extraInput" }, Modality.MUST, true, false); - _builder.append(_referPattern_7, "\t"); + CharSequence _referPattern_15 = generator.getRelationDefinitionIndexer().referPattern(fqnToPQuery.get(Adjacent.instance().getFullyQualifiedName()), new String[] { "I4", "S" }, Modality.MUST, true, false); + _builder.append(_referPattern_15, "\t"); _builder.newLineIfNotEmpty(); _builder.append("\t"); - CharSequence _referRelation_16 = generator.referRelation(Modes3UnitPropagationGenerator.this.connectedToRelation, "source", "potentialExtraInput", Modality.MUST, fqnToPQuery); - _builder.append(_referRelation_16, "\t"); + _builder.append("I1 != I2;"); + _builder.newLine(); + _builder.append("\t"); + _builder.append("I1 != I3;"); + _builder.newLine(); + _builder.append("\t"); + _builder.append("I1 != I4;"); + _builder.newLine(); + _builder.append("\t"); + _builder.append("I2 != I3;"); + _builder.newLine(); + _builder.append("\t"); + _builder.append("I2 != I4;"); + _builder.newLine(); + _builder.append("\t"); + _builder.append("I3 != I4;"); + _builder.newLine(); + _builder.append("}"); + _builder.newLine(); + _builder.newLine(); + _builder.append("pattern "); + _builder.append(Modes3UnitPropagationGenerator.MUST_NOT_CONNECTED_TO); + _builder.append("_helper("); + _builder.append(parameters); + _builder.append(") {"); _builder.newLineIfNotEmpty(); _builder.append("\t"); - _builder.append("neg "); - CharSequence _referRelation_17 = generator.referRelation(Modes3UnitPropagationGenerator.this.straightRelation, "source", "potentialExtraInput", Modality.MAY, fqnToPQuery); - _builder.append(_referRelation_17, "\t"); + _builder.append("find connectedToReflexive_must_to_true_by_connectedTo(problem, interpretation, source, target, _);"); + _builder.newLine(); + _builder.append("} or {"); + _builder.newLine(); + _builder.append("\t"); + _builder.append("find tooManyInputsOfSegment_must_to_true_by_connectedTo(problem, interpretation, source, target, _);"); + _builder.newLine(); + _builder.append("} or {"); + _builder.newLine(); + _builder.append("\t"); + _builder.append("find turnoutConnectedToBothOutputs_must_to_true_by_connectedTo(problem, interpretation, source, target, _);"); + _builder.newLine(); + _builder.append("} or {"); + _builder.newLine(); + _builder.append("\t"); + _builder.append("find tooManyInputsOfTurnout_must_to_true_by_connectedTo(problem, interpretation, source, target, _);"); + _builder.newLine(); + _builder.append("}"); + _builder.newLine(); + _builder.newLine(); + _builder.append("pattern "); + _builder.append(Modes3UnitPropagationGenerator.MUST_NOT_CONNECTED_TO); + _builder.append("("); + _builder.append(parameters); + _builder.append(") {"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + _builder.append("find "); + _builder.append(Modes3UnitPropagationGenerator.MUST_NOT_CONNECTED_TO, "\t"); + _builder.append("_helper(problem, interpretation, source, target);"); + _builder.newLineIfNotEmpty(); + _builder.append("} or {"); + _builder.newLine(); + _builder.append("\t"); + _builder.append("find "); + _builder.append(Modes3UnitPropagationGenerator.MUST_NOT_CONNECTED_TO, "\t"); + _builder.append("_helper(problem, interpretation, target, source);"); + _builder.newLineIfNotEmpty(); + _builder.append("}"); + _builder.newLine(); + _builder.newLine(); + _builder.append("pattern "); + _builder.append(Modes3UnitPropagationGenerator.MUST_NOT_STRAIGHT); + _builder.append("("); + _builder.append(parameters); + _builder.append(") {"); _builder.newLineIfNotEmpty(); _builder.append("\t"); - _builder.append("extraInput != potentialExtraInput;"); + _builder.append("find outputReflexive_must_to_true_by_straight(problem, interpretation, source, target, _);"); + _builder.newLine(); + _builder.append("} or {"); + _builder.newLine(); + _builder.append("\t"); + _builder.append("find turnoutOutputsAreSame_must_to_true_by_straight(problem, interpretation, source, target, _);"); + _builder.newLine(); + _builder.append("} or {"); + _builder.newLine(); + _builder.append("\t"); + _builder.append("find tooManyInputsOfSegment_must_to_true_by_straight(problem, interpretation, source, target, _);"); + _builder.newLine(); + _builder.append("} or {"); _builder.newLine(); _builder.append("\t"); - _builder.append("extraInput != target;"); + _builder.append("find turnoutConnectedToBothOutputs_must_to_true_by_straight(problem, interpretation, source, target, _);"); + _builder.newLine(); + _builder.append("} or {"); + _builder.newLine(); + _builder.append("\t"); + _builder.append("find tooManyInputsOfTurnout_must_to_true_by_straight(problem, interpretation, source, target, _);"); + _builder.newLine(); + _builder.append("}"); + _builder.newLine(); + _builder.newLine(); + _builder.append("pattern "); + _builder.append(Modes3UnitPropagationGenerator.MUST_NOT_DIVERGENT); + _builder.append("("); + _builder.append(parameters); + _builder.append(") {"); + _builder.newLineIfNotEmpty(); + _builder.append("\t"); + _builder.append("find outputReflexive_must_to_true_by_divergent(problem, interpretation, source, target, _);"); + _builder.newLine(); + _builder.append("} or {"); + _builder.newLine(); + _builder.append("\t"); + _builder.append("find turnoutOutputsAreSame_must_to_true_by_divergent(problem, interpretation, source, target, _);"); + _builder.newLine(); + _builder.append("} or {"); + _builder.newLine(); + _builder.append("\t"); + _builder.append("find tooManyInputsOfSegment_must_to_true_by_divergent(problem, interpretation, source, target, _);"); + _builder.newLine(); + _builder.append("} or {"); + _builder.newLine(); + _builder.append("\t"); + _builder.append("find turnoutConnectedToBothOutputs_must_to_true_by_divergent(problem, interpretation, source, target, _);"); + _builder.newLine(); + _builder.append("} or {"); _builder.newLine(); _builder.append("\t"); - _builder.append("potentialExtraInput != target;"); + _builder.append("find tooManyInputsOfTurnout_must_to_true_by_divergent(problem, interpretation, source, target, _);"); _builder.newLine(); _builder.append("}"); _builder.newLine(); } }; - _xblockexpression = _client_2; + _xblockexpression = _client_3; } return _xblockexpression; } diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.yakindu.sgraph/plugin.xml b/Domains/hu.bme.mit.inf.dslreasoner.domains.yakindu.sgraph/plugin.xml index 331e2b61..d4ab204e 100644 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.yakindu.sgraph/plugin.xml +++ b/Domains/hu.bme.mit.inf.dslreasoner.domains.yakindu.sgraph/plugin.xml @@ -39,72 +39,4 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/ModelGenerationMethodProvider.xtend b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/ModelGenerationMethodProvider.xtend index 431ae386..3bcd9116 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/ModelGenerationMethodProvider.xtend +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/ModelGenerationMethodProvider.xtend @@ -49,6 +49,12 @@ class ModelGenerationStatistics { synchronized def addScopePropagationTime(long amount) { scopePropagationTime += amount } + + public var long mustRelationPropagationTime = 0 + + synchronized def addMustRelationPropagationTime(long amount) { + mustRelationPropagationTime += amount + } public var long preliminaryTypeAnalisisTime = 0 @@ -133,9 +139,11 @@ class ModelGenerationMethodProvider { val scopePropagator = createScopePropagator(scopePropagatorStrategy, emptySolution, hints, queries, statistics) scopePropagator.propagateAllScopeConstraints + val unitRulePropagator = refinementRuleProvider.createUnitPrulePropagator(logicProblem, emptySolution, + queries, scopePropagator, statistics) val objectRefinementRules = refinementRuleProvider.createObjectRefinementRules(logicProblem, emptySolution, - queries, scopePropagator, nameNewElements, statistics) - val relationRefinementRules = refinementRuleProvider.createRelationRefinementRules(queries, scopePropagator, + queries, unitRulePropagator, nameNewElements, statistics) + val relationRefinementRules = refinementRuleProvider.createRelationRefinementRules(queries, unitRulePropagator, statistics) val unfinishedMultiplicities = goalConstraintProvider.getUnfinishedMultiplicityQueries(logicProblem, queries, @@ -158,7 +166,7 @@ class ModelGenerationMethodProvider { val currentUnitPropagationPreconditions = queries.getCurrentUnitPropagationPreconditionPatterns val queriesToPrepare = ImmutableSet.builder.addAll(queries.refineObjectQueries.values).addAll( - queries.refineTypeQueries.values).addAll(queries.refinerelationQueries.values).addAll(queries. + queries.refineTypeQueries.values).addAll(queries.refineRelationQueries.values).addAll(queries. multiplicityConstraintQueries.values.flatMap[allQueries]).addAll(queries.unfinishedWFQueries.values).addAll( queries.invalidWFQueries.values).addAll(queries.mustUnitPropagationPreconditionPatterns.values).addAll( queries.currentUnitPropagationPreconditionPatterns.values).add(queries.hasElementInContainmentQuery).build diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/cardinality/LinearTypeConstraintHint.xtend b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/cardinality/LinearTypeConstraintHint.xtend index 8c21ca1d..31f98e36 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/cardinality/LinearTypeConstraintHint.xtend +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/cardinality/LinearTypeConstraintHint.xtend @@ -3,8 +3,10 @@ package hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.cardinality import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Type import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.patterns.PatternGenerator import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.PartialInterpretation +import java.util.Map import org.eclipse.viatra.query.runtime.api.IPatternMatch import org.eclipse.viatra.query.runtime.api.ViatraQueryMatcher +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PQuery interface LinearTypeExpressionBuilderFactory { def ViatraQueryMatcher createMatcher(String queryName) @@ -24,7 +26,7 @@ interface RelationConstraintUpdater { } interface LinearTypeConstraintHint { - def CharSequence getAdditionalPatterns(PatternGenerator patternGenerator) + def CharSequence getAdditionalPatterns(PatternGenerator patternGenerator, Map fqnToPQuery) def RelationConstraintUpdater createConstraintUpdater(LinearTypeExpressionBuilderFactory builderFactory) } diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/cardinality/ScopePropagator.xtend b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/cardinality/ScopePropagator.xtend index 93b83577..cacba3c6 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/cardinality/ScopePropagator.xtend +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/cardinality/ScopePropagator.xtend @@ -19,6 +19,8 @@ class ScopePropagator { val Map type2Scope @Accessors(PROTECTED_GETTER) val Map> superScopes @Accessors(PROTECTED_GETTER) val Map> subScopes + + @Accessors(PUBLIC_GETTER) var scopePropagationNeeded = false new(PartialInterpretation p, ModelGenerationStatistics statistics) { partialInterpretation = p @@ -64,7 +66,8 @@ class ScopePropagator { copyScopeBoundsToHeuristic() } - def propagateAllScopeConstraints() { + def void propagateAllScopeConstraints() { + scopePropagationNeeded = false if (!valid) { return } @@ -93,6 +96,7 @@ class ScopePropagator { if (isPrimitive) { return } + scopePropagationNeeded = true // println('''Adding to «(t as PartialComplexTypeInterpretation).interpretationOf.name»''') val targetScope = type2Scope.get(t) if (targetScope !== null) { @@ -117,6 +121,12 @@ class ScopePropagator { // this.partialInterpretation.scopes.forEach[println(''' «(it.targetTypeInterpretation as PartialComplexTypeInterpretation).interpretationOf.name»: «it.minNewElements»-«it.maxNewElements»''')] // println('''All constraints are propagated upon increasing «(t as PartialComplexTypeInterpretation).interpretationOf.name»''') } + + def addedToRelation(Relation r) { + if (isPropagationNeededAfterAdditionToRelation(r)) { + scopePropagationNeeded = true + } + } protected def setScopesInvalid() { partialInterpretation.minNewElements = Integer.MAX_VALUE @@ -127,7 +137,7 @@ class ScopePropagator { } } - def isPropagationNeededAfterAdditionToRelation(Relation r) { + protected def isPropagationNeededAfterAdditionToRelation(Relation r) { false } diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/patterns/PatternGenerator.xtend b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/patterns/PatternGenerator.xtend index a3efcf76..edf92343 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/patterns/PatternGenerator.xtend +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/patterns/PatternGenerator.xtend @@ -369,13 +369,13 @@ class PatternGenerator { ////////// // 4.3 Relation refinement ////////// - «relationRefinementGenerator.generateRefineReference(problem)» + «relationRefinementGenerator.generateRefineReference(problem, unitPropagationPatternGenerators)» ////////// // 5 Hints ////////// «FOR hint : hints» - «hint.getAdditionalPatterns(this)» + «hint.getAdditionalPatterns(this, fqn2PQuery)» «ENDFOR» «FOR generator : unitPropagationPatternGenerators» «generator.getAdditionalPatterns(this, fqn2PQuery)» diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/patterns/PatternProvider.xtend b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/patterns/PatternProvider.xtend index 21fd1989..2e786286 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/patterns/PatternProvider.xtend +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/patterns/PatternProvider.xtend @@ -38,7 +38,8 @@ import static extension hu.bme.mit.inf.dslreasoner.util.CollectionsUtil.* public IQuerySpecification> hasElementInContainmentQuery public Map>> refineObjectQueries public Map>> refineTypeQueries - public Map, IQuerySpecification>> refinerelationQueries + public Map, IQuerySpecification>> refineRelationQueries + public Map, IQuerySpecification>> mustRelationPropagationQueries public Map>> mustUnitPropagationPreconditionPatterns public Map>> currentUnitPropagationPreconditionPatterns public Map modalRelationQueries @@ -70,7 +71,6 @@ class UnifinishedMultiplicityQueries { } class PatternProvider { - val TypeAnalysis typeAnalysis = new TypeAnalysis def generateQueries(LogicProblem problem, PartialInterpretation emptySolution, ModelGenerationStatistics statistics, @@ -98,7 +98,8 @@ class PatternProvider { val generatedQueries = parseUtil.parse(patternGeneratorResult.patternText) val runtimeQueries = calclulateRuntimeQueries(patternGenerator, problem, emptySolution, typeAnalysisResult, patternGeneratorResult.constraint2MustPreconditionName, - patternGeneratorResult.constraint2CurrentPreconditionName, relationConstraints, generatedQueries) + patternGeneratorResult.constraint2CurrentPreconditionName, relationConstraints, + unitPropagationPatternGenerators, generatedQueries) return runtimeQueries } @@ -110,6 +111,7 @@ class PatternProvider { HashMap mustUnitPropagationTrace, HashMap currentUnitPropagationTrace, RelationConstraints relationConstraints, + Collection unitPropagationPatternGenerators, Map>> queries ) { val Map>> invalidWFQueries = patternGenerator. @@ -136,6 +138,8 @@ class PatternProvider { ] val Map, IQuerySpecification>> refineRelationQueries = patternGenerator. relationRefinementGenerator.getRefineRelationQueries(problem).mapValues[it.lookup(queries)] + val Map, IQuerySpecification>> mustRelationPropagationQueries = patternGenerator. + relationRefinementGenerator.getMustPropagationQueries(problem, unitPropagationPatternGenerators).mapValues[it.lookup(queries)] val Map>> mustUnitPropagationPreconditionPatterns = mustUnitPropagationTrace. mapValues[it.lookup(queries)] val Map>> currentUnitPropagationPreconditionPatterns = currentUnitPropagationTrace. @@ -158,6 +162,7 @@ class PatternProvider { refineObjectsQueries, refineTypeQueries, refineRelationQueries, + mustRelationPropagationQueries, mustUnitPropagationPreconditionPatterns, currentUnitPropagationPreconditionPatterns, modalRelationQueries, diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/patterns/RelationDeclarationIndexer.xtend b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/patterns/RelationDeclarationIndexer.xtend index 29d3eb61..23ba3cad 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/patterns/RelationDeclarationIndexer.xtend +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/patterns/RelationDeclarationIndexer.xtend @@ -113,7 +113,7 @@ class RelationDeclarationIndexer { // 2. Circle in the containment hierarchy neg «base.containmentIndexer.referTransitiveMustContains("source","target")» «ENDIF» - «IF mustNotRelations.empty» + «IF !mustNotRelations.empty» // ![] unit propagation relations «FOR mustNotRelation : mustNotRelations» neg find «mustNotRelation»(problem, interpretation, source, target); diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/patterns/RelationRefinementGenerator.xtend b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/patterns/RelationRefinementGenerator.xtend index 783cd36b..6f5f2402 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/patterns/RelationRefinementGenerator.xtend +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/patterns/RelationRefinementGenerator.xtend @@ -1,10 +1,17 @@ package hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.patterns +import com.google.common.collect.ImmutableList +import com.google.common.collect.ImmutableMap +import com.google.common.collect.ImmutableSet import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Relation import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.RelationDeclaration import hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicProblem import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.Modality +import java.util.Collection import java.util.LinkedList +import java.util.Map +import java.util.Set +import org.eclipse.xtend2.lib.StringConcatenationClient class RelationRefinementGenerator { PatternGenerator base; @@ -13,53 +20,61 @@ class RelationRefinementGenerator { this.base = base } - def CharSequence generateRefineReference(LogicProblem p) ''' - «FOR relationRefinement : this.getRelationRefinements(p)» - pattern «relationRefinementQueryName(relationRefinement.key,relationRefinement.value)»( - problem:LogicProblem, interpretation:PartialInterpretation, - relationIterpretation:PartialRelationInterpretation«IF relationRefinement.value !== null», oppositeInterpretation:PartialRelationInterpretation«ENDIF», - from: DefinedElement, to: DefinedElement) - { - find interpretation(problem,interpretation); - PartialInterpretation.partialrelationinterpretation(interpretation,relationIterpretation); - PartialRelationInterpretation.interpretationOf.name(relationIterpretation,"«relationRefinement.key.name»"); - «IF relationRefinement.value !== null» - PartialInterpretation.partialrelationinterpretation(interpretation,oppositeInterpretation); - PartialRelationInterpretation.interpretationOf.name(oppositeInterpretation,"«relationRefinement.value.name»"); + def CharSequence generateRefineReference(LogicProblem p, + Collection unitPropagationPatternGenerators) { + val mustRelations = getMustRelations(unitPropagationPatternGenerators) + + ''' + «FOR relationRefinement : this.getRelationRefinements(p)» + pattern «relationRefinementQueryName(relationRefinement.key,relationRefinement.value)»( + problem:LogicProblem, interpretation:PartialInterpretation, + relationIterpretation:PartialRelationInterpretation«IF relationRefinement.value !== null», oppositeInterpretation:PartialRelationInterpretation«ENDIF», + from: DefinedElement, to: DefinedElement) + { + find interpretation(problem,interpretation); + PartialInterpretation.partialrelationinterpretation(interpretation,relationIterpretation); + PartialRelationInterpretation.interpretationOf.name(relationIterpretation,"«relationRefinement.key.name»"); + «IF relationRefinement.value !== null» + PartialInterpretation.partialrelationinterpretation(interpretation,oppositeInterpretation); + PartialRelationInterpretation.interpretationOf.name(oppositeInterpretation,"«relationRefinement.value.name»"); + «ENDIF» + find mustExist(problem, interpretation, from); + find mustExist(problem, interpretation, to); + «base.typeIndexer.referInstanceOfByReference(relationRefinement.key.parameters.get(0), Modality::MUST,"from")» + «base.typeIndexer.referInstanceOfByReference(relationRefinement.key.parameters.get(1), Modality::MUST,"to")» + «base.relationDeclarationIndexer.referRelation(relationRefinement.key,"from","to",Modality.MAY)» + neg «base.relationDeclarationIndexer.referRelation(relationRefinement.key,"from","to",Modality.MUST)» + } + + «IF isMustPropagationQueryNeeded(relationRefinement.key, relationRefinement.value, mustRelations)» + pattern «mustPropagationQueryName(relationRefinement.key)»( + problem:LogicProblem, interpretation:PartialInterpretation, + relationIterpretation:PartialRelationInterpretation«IF relationRefinement.value !== null», oppositeInterpretation:PartialRelationInterpretation«ENDIF», + from: DefinedElement, to: DefinedElement) + «FOR body : getMustPropagationBodies(relationRefinement.key, relationRefinement.value, mustRelations) SEPARATOR " or "» + { + «referRefinementQuery(relationRefinement.key, relationRefinement.value, "relationIterpretation", "oppositeInterpretation", "from", "to")» + «body» + } + «ENDFOR» «ENDIF» - find mustExist(problem, interpretation, from); - find mustExist(problem, interpretation, to); - «base.typeIndexer.referInstanceOfByReference(relationRefinement.key.parameters.get(0), Modality::MUST,"from")» - «base.typeIndexer.referInstanceOfByReference(relationRefinement.key.parameters.get(1), Modality::MUST,"to")» - «base.relationDeclarationIndexer.referRelation(relationRefinement.key,"from","to",Modality.MAY)» - neg «base.relationDeclarationIndexer.referRelation(relationRefinement.key,"from","to",Modality.MUST)» - } - «ENDFOR» - ''' + «ENDFOR» + ''' + } def String relationRefinementQueryName(RelationDeclaration relation, Relation inverseRelation) { '''«IF inverseRelation !== null»refineRelation_«base.canonizeName(relation.name)»_and_«base.canonizeName(inverseRelation.name)»«ELSE»refineRelation_«base.canonizeName(relation.name)»«ENDIF»''' } + def String mustPropagationQueryName(RelationDeclaration relation) { + '''mustPropagation_«base.canonizeName(relation.name)»''' + } + def referRefinementQuery(RelationDeclaration relation, Relation inverseRelation, String relInterpretationName, String inverseInterpretationName, String sourceName, String targetName) '''find «this.relationRefinementQueryName(relation,inverseRelation)»(problem, interpretation, «relInterpretationName», «IF inverseRelation !== null»«inverseInterpretationName», «ENDIF»«sourceName», «targetName»);''' def getRefineRelationQueries(LogicProblem p) { -// val containmentRelations = p.containmentHierarchies.map[containmentRelations].flatten.toSet -// p.relations.filter(RelationDeclaration).filter[!containmentRelations.contains(it)].toInvertedMap['''refineRelation_«base.canonizeName(it.name)»'''] - /* - * val res = new LinkedHashMap - * for(relation: getRelationRefinements(p)) { - * if(inverseRelations.containsKey(relation)) { - * val name = '''refineRelation_«base.canonizeName(relation.name)»_and_«base.canonizeName(inverseRelations.get(relation).name)»''' - * res.put(relation -> inverseRelations.get(relation),name) - * } else { - * val name = '''refineRelation_«base.canonizeName(relation.name)»''' - * res.put(relation -> null,name) - * } - * } - return res*/ getRelationRefinements(p).toInvertedMap[relationRefinementQueryName(it.key, it.value)] } @@ -83,4 +98,54 @@ class RelationRefinementGenerator { } return list } + + def getMustPropagationQueries(LogicProblem p, + Collection unitPropagationPatternGenerators) { + val refinements = getRelationRefinements(p) + val mustRelations = getMustRelations(unitPropagationPatternGenerators) + refinements.filter[isMustPropagationQueryNeeded(key, value, mustRelations)].toInvertedMap [ + mustPropagationQueryName(key) + ] + } + + private def getMustRelations(Collection unitPropagationPatternGenerators) { + ImmutableMap.copyOf(unitPropagationPatternGenerators.flatMap[mustPatterns.entrySet].groupBy[key].mapValues [ + ImmutableSet.copyOf(map[value]) + ]) + } + + private def isMustPropagationQueryNeeded(Relation relation, Relation inverseRelation, + Map> mustRelations) { + val mustSet = mustRelations.get(relation) + if (mustSet !== null && !mustSet.empty) { + return true + } + if (inverseRelation !== null) { + val inverseMustSet = mustRelations.get(inverseRelation) + if (inverseMustSet !== null && !inverseMustSet.empty) { + return true + } + } + false + } + + private def getMustPropagationBodies(Relation relation, Relation inverseRelation, + Map> mustRelations) { + val builder = ImmutableList.builder() + val mustSet = mustRelations.get(relation) + if (mustSet !== null) { + for (refinementQuery : mustSet) { + builder.add('''find «refinementQuery»(problem, interpretation, from, to);''') + } + } + if (inverseRelation !== null && inverseRelation != relation) { + val inverseMustSet = mustRelations.get(inverseRelation) + if (inverseMustSet !== null) { + for (refinementQuery : inverseMustSet) { + builder.add('''find «refinementQuery»(problem, interpretation, to, from);''') + } + } + } + builder.build + } } diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/rules/RefinementRuleProvider.xtend b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/rules/RefinementRuleProvider.xtend index 699b095d..dca10baf 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/rules/RefinementRuleProvider.xtend +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/rules/RefinementRuleProvider.xtend @@ -1,5 +1,6 @@ package hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.rules +import com.google.common.collect.ImmutableList import hu.bme.mit.inf.dslreasoner.ecore2logic.ecore2logicannotations.InverseRelationAssertion import hu.bme.mit.inf.dslreasoner.ecore2logic.ecore2logicannotations.LowerMultiplicityAssertion import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.BoolTypeReference @@ -29,12 +30,14 @@ import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.par import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.PartialinterpretationFactory import java.lang.reflect.Field import java.util.HashMap +import java.util.Iterator import java.util.LinkedHashMap import java.util.LinkedList import java.util.List import java.util.Map import org.eclipse.viatra.query.runtime.api.AdvancedViatraQueryEngine import org.eclipse.viatra.query.runtime.api.GenericPatternMatch +import org.eclipse.viatra.query.runtime.api.IPatternMatch import org.eclipse.viatra.query.runtime.api.IQuerySpecification import org.eclipse.viatra.query.runtime.api.ViatraQueryEngine import org.eclipse.viatra.query.runtime.api.ViatraQueryMatcher @@ -43,6 +46,7 @@ import org.eclipse.viatra.query.runtime.rete.matcher.ReteBackendFactory import org.eclipse.viatra.transformation.runtime.emf.rules.batch.BatchTransformationRule import org.eclipse.viatra.transformation.runtime.emf.rules.batch.BatchTransformationRuleFactory import org.eclipse.xtend.lib.annotations.Data +import org.eclipse.xtend.lib.annotations.FinalFieldsConstructor import org.eclipse.xtext.xbase.lib.Functions.Function0 class RefinementRuleProvider { @@ -50,57 +54,55 @@ class RefinementRuleProvider { val extension PartialinterpretationFactory factory2 = PartialinterpretationFactory.eINSTANCE val extension LogiclanguageFactory factory3 = LogiclanguageFactory.eINSTANCE - var AdvancedViatraQueryEngine queryEngine - var Field delayMessageDelivery - def canonizeName(String name) { return name.replace(' ', '_') } + def createUnitPrulePropagator(LogicProblem p, PartialInterpretation i, GeneratedPatterns patterns, + ScopePropagator scopePropagator, ModelGenerationStatistics statistics) { + new UnitRulePropagator(p, i, this, scopePropagator, patterns.mustRelationPropagationQueries, statistics) + } + def LinkedHashMap>> createObjectRefinementRules( LogicProblem p, PartialInterpretation i, GeneratedPatterns patterns, - ScopePropagator scopePropagator, + UnitRulePropagator unitRulePropagator, boolean nameNewElement, ModelGenerationStatistics statistics ) { val res = new LinkedHashMap val recursiveObjectCreation = recursiveObjectCreation(p, i) - queryEngine = ViatraQueryEngine.on(new EMFScope(i)) as AdvancedViatraQueryEngine - delayMessageDelivery = queryEngine.class.getDeclaredField("delayMessageDelivery") - delayMessageDelivery.accessible = true for (LHSEntry : patterns.refineObjectQueries.entrySet) { val containmentRelation = LHSEntry.key.containmentRelation val inverseRelation = LHSEntry.key.inverseContainment val type = LHSEntry.key.newType val lhs = LHSEntry.value as IQuerySpecification> val rule = createObjectCreationRule(p, containmentRelation, inverseRelation, type, - recursiveObjectCreation.get(type), lhs, nameNewElement, scopePropagator, statistics) + recursiveObjectCreation.get(type), lhs, nameNewElement, unitRulePropagator, statistics) res.put(LHSEntry.key, rule) } return res } def private createObjectCreationRule(LogicProblem p, Relation containmentRelation, Relation inverseRelation, - Type type, List recursiceObjectCreations, + Type type, List recursiveObjectCreations, IQuerySpecification> lhs, boolean nameNewElement, - ScopePropagator scopePropagator, ModelGenerationStatistics statistics) { + UnitRulePropagator unitRulePropagator, ModelGenerationStatistics statistics) { val name = '''addObject_«type.name.canonizeName»«IF containmentRelation!==null»_by_«containmentRelation.name.canonizeName»«ENDIF»''' val ruleBuilder = factory.createRule(lhs).name(name) if (containmentRelation !== null) { if (inverseRelation !== null) { ruleBuilder.action [ match | statistics.incrementTransformationCount -// println(name) +// println(name) + val startTime = System.nanoTime // val problem = match.get(0) as LogicProblem val interpretation = match.get(1) as PartialInterpretation val relationInterpretation = match.get(2) as PartialRelationInterpretation val inverseRelationInterpretation = match.get(3) as PartialRelationInterpretation val typeInterpretation = match.get(4) as PartialComplexTypeInterpretation val container = match.get(5) as DefinedElement - - val startTime = System.nanoTime createObjectActionWithContainmentAndInverse( nameNewElement, interpretation, @@ -109,29 +111,24 @@ class RefinementRuleProvider { relationInterpretation, inverseRelationInterpretation, [createDefinedElement], - recursiceObjectCreations, - scopePropagator + recursiveObjectCreations, + unitRulePropagator ) statistics.addExecutionTime(System.nanoTime - startTime) - flushQueryEngine(scopePropagator) - - // Scope propagation - val propagatorStartTime = System.nanoTime - scopePropagator.propagateAllScopeConstraints() - statistics.addScopePropagationTime(System.nanoTime - propagatorStartTime) + unitRulePropagator.propagate ] } else { ruleBuilder.action [ match | statistics.incrementTransformationCount // println(name) + val startTime = System.nanoTime // val problem = match.get(0) as LogicProblem val interpretation = match.get(1) as PartialInterpretation val relationInterpretation = match.get(2) as PartialRelationInterpretation val typeInterpretation = match.get(3) as PartialComplexTypeInterpretation val container = match.get(4) as DefinedElement - val startTime = System.nanoTime createObjectActionWithContainment( nameNewElement, interpretation, @@ -139,44 +136,34 @@ class RefinementRuleProvider { container, relationInterpretation, [createDefinedElement], - recursiceObjectCreations, - scopePropagator + recursiveObjectCreations, + unitRulePropagator ) statistics.addExecutionTime(System.nanoTime - startTime) - flushQueryEngine(scopePropagator) - - // Scope propagation - val propagatorStartTime = System.nanoTime - scopePropagator.propagateAllScopeConstraints() - statistics.addScopePropagationTime(System.nanoTime - propagatorStartTime) + unitRulePropagator.propagate ] } } else { ruleBuilder.action [ match | statistics.incrementTransformationCount // println(name) + val startTime = System.nanoTime // val problem = match.get(0) as LogicProblem val interpretation = match.get(1) as PartialInterpretation val typeInterpretation = match.get(2) as PartialComplexTypeInterpretation - val startTime = System.nanoTime createObjectAction( nameNewElement, interpretation, typeInterpretation, [createDefinedElement], - recursiceObjectCreations, - scopePropagator + recursiveObjectCreations, + unitRulePropagator ) statistics.addExecutionTime(System.nanoTime - startTime) - flushQueryEngine(scopePropagator) - - // Scope propagation - val propagatorStartTime = System.nanoTime - scopePropagator.propagateAllScopeConstraints() - statistics.addScopePropagationTime(System.nanoTime - propagatorStartTime) + unitRulePropagator.propagate ] } return ruleBuilder.build @@ -342,14 +329,14 @@ class RefinementRuleProvider { [createStringElement] } - def createRelationRefinementRules(GeneratedPatterns patterns, ScopePropagator scopePropagator, + def createRelationRefinementRules(GeneratedPatterns patterns, UnitRulePropagator unitRulePropagator, ModelGenerationStatistics statistics) { val res = new LinkedHashMap - for (LHSEntry : patterns.refinerelationQueries.entrySet) { + for (LHSEntry : patterns.refineRelationQueries.entrySet) { val declaration = LHSEntry.key.key val inverseReference = LHSEntry.key.value val lhs = LHSEntry.value as IQuerySpecification> - val rule = createRelationRefinementRule(declaration, inverseReference, lhs, scopePropagator, statistics) + val rule = createRelationRefinementRule(declaration, inverseReference, lhs, unitRulePropagator, statistics) res.put(LHSEntry.key, rule) } return res @@ -357,57 +344,29 @@ class RefinementRuleProvider { def private BatchTransformationRule> createRelationRefinementRule( RelationDeclaration declaration, Relation inverseRelation, - IQuerySpecification> lhs, ScopePropagator scopePropagator, + IQuerySpecification> lhs, UnitRulePropagator unitRulePropagator, ModelGenerationStatistics statistics) { val name = '''addRelation_«declaration.name.canonizeName»«IF inverseRelation !== null»_and_«inverseRelation.name.canonizeName»«ENDIF»''' val ruleBuilder = factory.createRule(lhs).name(name) if (inverseRelation === null) { ruleBuilder.action [ match | statistics.incrementTransformationCount - // println(name) - // val problem = match.get(0) as LogicProblem - // val interpretation = match.get(1) as PartialInterpretation - val relationInterpretation = match.get(2) as PartialRelationInterpretation - val src = match.get(3) as DefinedElement - val trg = match.get(4) as DefinedElement - val startTime = System.nanoTime - createRelationLinkAction(src, trg, relationInterpretation) + createRelationLinkAction(match, unitRulePropagator) statistics.addExecutionTime(System.nanoTime - startTime) - // Scope propagation - if (scopePropagator.isPropagationNeededAfterAdditionToRelation(declaration)) { - flushQueryEngine(scopePropagator) - - val propagatorStartTime = System.nanoTime - scopePropagator.propagateAllScopeConstraints() - statistics.addScopePropagationTime(System.nanoTime - propagatorStartTime) - } + unitRulePropagator.propagate ] } else { ruleBuilder.action [ match | statistics.incrementTransformationCount // println(name) - // val problem = match.get(0) as LogicProblem - // val interpretation = match.get(1) as PartialInterpretation - val relationInterpretation = match.get(2) as PartialRelationInterpretation - val inverseInterpretation = match.get(3) as PartialRelationInterpretation - val src = match.get(4) as DefinedElement - val trg = match.get(5) as DefinedElement - val startTime = System.nanoTime - createRelationLinkWithInverse(src, trg, relationInterpretation, inverseInterpretation) + createRelationLinkWithInverse(match, unitRulePropagator) statistics.addExecutionTime(System.nanoTime - startTime) - // Scope propagation - if (scopePropagator.isPropagationNeededAfterAdditionToRelation(declaration)) { - flushQueryEngine(scopePropagator) - - val propagatorStartTime = System.nanoTime - scopePropagator.propagateAllScopeConstraints() - statistics.addScopePropagationTime(System.nanoTime - propagatorStartTime) - } + unitRulePropagator.propagate ] } @@ -418,7 +377,7 @@ class RefinementRuleProvider { // Actions // /////////////////////// protected def void createObjectAction(boolean nameNewElement, ObjectCreationInterpretationData data, - DefinedElement container, ScopePropagator scopePropagator) { + DefinedElement container, UnitRulePropagator unitRulePropagator) { if (data.containerInterpretation !== null) { if (data.containerInverseInterpretation !== null) { createObjectActionWithContainmentAndInverse( @@ -430,7 +389,7 @@ class RefinementRuleProvider { data.containerInverseInterpretation, data.constructor, data.recursiveConstructors, - scopePropagator + unitRulePropagator ) } else { createObjectActionWithContainment( @@ -441,7 +400,7 @@ class RefinementRuleProvider { data.containerInterpretation, data.constructor, data.recursiveConstructors, - scopePropagator + unitRulePropagator ) } } else { @@ -451,7 +410,7 @@ class RefinementRuleProvider { data.typeInterpretation, data.constructor, data.recursiveConstructors, - scopePropagator + unitRulePropagator ) } @@ -466,7 +425,7 @@ class RefinementRuleProvider { PartialRelationInterpretation inverseRelationInterpretation, Function0 constructor, List recursiceObjectCreations, - ScopePropagator scopePropagator + UnitRulePropagator unitRulePropagator ) { val newElement = constructor.apply if (nameNewElement) { @@ -486,14 +445,16 @@ class RefinementRuleProvider { inverseRelationInterpretation.relationlinks += newLink2 // Scope propagation - scopePropagator.decrementTypeScope(typeInterpretation) + unitRulePropagator.decrementTypeScope(typeInterpretation) + unitRulePropagator.addedToRelation(relationInterpretation.interpretationOf) + unitRulePropagator.addedToRelation(inverseRelationInterpretation.interpretationOf) // Existence interpretation.newElements += newElement // Do recursive object creation for (newConstructor : recursiceObjectCreations) { - createObjectAction(nameNewElement, newConstructor, newElement, scopePropagator) + createObjectAction(nameNewElement, newConstructor, newElement, unitRulePropagator) } return newElement @@ -507,7 +468,7 @@ class RefinementRuleProvider { PartialRelationInterpretation relationInterpretation, Function0 constructor, List recursiceObjectCreations, - ScopePropagator scopePropagator + UnitRulePropagator unitRulePropagator ) { val newElement = constructor.apply if (nameNewElement) { @@ -522,16 +483,17 @@ class RefinementRuleProvider { // ContainmentRelation val newLink = factory2.createBinaryElementRelationLink => [it.param1 = container it.param2 = newElement] relationInterpretation.relationlinks += newLink + unitRulePropagator.addedToRelation(relationInterpretation.interpretationOf) // Scope propagation - scopePropagator.decrementTypeScope(typeInterpretation) + unitRulePropagator.decrementTypeScope(typeInterpretation) // Existence interpretation.newElements += newElement // Do recursive object creation for (newConstructor : recursiceObjectCreations) { - createObjectAction(nameNewElement, newConstructor, newElement, scopePropagator) + createObjectAction(nameNewElement, newConstructor, newElement, unitRulePropagator) } return newElement @@ -539,7 +501,7 @@ class RefinementRuleProvider { protected def createObjectAction(boolean nameNewElement, PartialInterpretation interpretation, PartialTypeInterpratation typeInterpretation, Function0 constructor, - List recursiceObjectCreations, ScopePropagator scopePropagator) { + List recursiceObjectCreations, UnitRulePropagator unitRulePropagator) { val newElement = constructor.apply if (nameNewElement) { newElement.name = '''new «interpretation.newElements.size»''' @@ -552,38 +514,220 @@ class RefinementRuleProvider { } // Scope propagation - scopePropagator.decrementTypeScope(typeInterpretation) + unitRulePropagator.decrementTypeScope(typeInterpretation) // Existence interpretation.newElements += newElement // Do recursive object creation for (newConstructor : recursiceObjectCreations) { - createObjectAction(nameNewElement, newConstructor, newElement, scopePropagator) + createObjectAction(nameNewElement, newConstructor, newElement, unitRulePropagator) } return newElement } - protected def boolean createRelationLinkAction(DefinedElement src, DefinedElement trg, - PartialRelationInterpretation relationInterpretation) { + protected def createRelationLinkAction(IPatternMatch match, UnitRulePropagator unitRulePropagator) { + // val problem = match.get(0) as LogicProblem + // val interpretation = match.get(1) as PartialInterpretation + val relationInterpretation = match.get(2) as PartialRelationInterpretation + val src = match.get(3) as DefinedElement + val trg = match.get(4) as DefinedElement + createRelationLinkAction(src, trg, relationInterpretation, unitRulePropagator) + } + + protected def void createRelationLinkAction(DefinedElement src, DefinedElement trg, + PartialRelationInterpretation relationInterpretation, UnitRulePropagator unitRulePropagator) { val link = createBinaryElementRelationLink => [it.param1 = src it.param2 = trg] relationInterpretation.relationlinks += link + unitRulePropagator.addedToRelation(relationInterpretation.interpretationOf) } - protected def boolean createRelationLinkWithInverse(DefinedElement src, DefinedElement trg, - PartialRelationInterpretation relationInterpretation, PartialRelationInterpretation inverseInterpretation) { + protected def void createRelationLinkWithInverse(IPatternMatch match, UnitRulePropagator unitRulePropagator) { + // val problem = match.get(0) as LogicProblem + // val interpretation = match.get(1) as PartialInterpretation + val relationInterpretation = match.get(2) as PartialRelationInterpretation + val inverseInterpretation = match.get(3) as PartialRelationInterpretation + val src = match.get(4) as DefinedElement + val trg = match.get(5) as DefinedElement + createRelationLinkWithInverse(src, trg, relationInterpretation, inverseInterpretation, unitRulePropagator) + } + + protected def void createRelationLinkWithInverse(DefinedElement src, DefinedElement trg, + PartialRelationInterpretation relationInterpretation, PartialRelationInterpretation inverseInterpretation, + UnitRulePropagator unitRulePropagator) { val link = createBinaryElementRelationLink => [it.param1 = src it.param2 = trg] relationInterpretation.relationlinks += link val inverseLink = createBinaryElementRelationLink => [it.param1 = trg it.param2 = src] inverseInterpretation.relationlinks += inverseLink + unitRulePropagator.addedToRelation(relationInterpretation.interpretationOf) + unitRulePropagator.addedToRelation(inverseInterpretation.interpretationOf) } - protected def flushQueryEngine(ScopePropagator scopePropagator) { - if (scopePropagator.queryEngineFlushRequiredBeforePropagation && queryEngine.updatePropagationDelayed) { - delayMessageDelivery.setBoolean(queryEngine, false) - queryEngine.getQueryBackend(ReteBackendFactory.INSTANCE).flushUpdates - delayMessageDelivery.setBoolean(queryEngine, true) + static class UnitRulePropagator { + val LogicProblem p + val PartialInterpretation i + val RefinementRuleProvider refinementRuleProvider + var AdvancedViatraQueryEngine queryEngine + var Field delayMessageDelivery + val ScopePropagator scopePropagator + val List> propagators + val ModelGenerationStatistics statistics + + new(LogicProblem p, PartialInterpretation i, RefinementRuleProvider refinementRuleProvider, + ScopePropagator scopePropagator, + Map, IQuerySpecification>> mustRelationPropagationQueries, + ModelGenerationStatistics statistics) { + this.p = p + this.i = i + this.refinementRuleProvider = refinementRuleProvider + queryEngine = ViatraQueryEngine.on(new EMFScope(i)) as AdvancedViatraQueryEngine + delayMessageDelivery = queryEngine.class.getDeclaredField("delayMessageDelivery") + delayMessageDelivery.accessible = true + this.scopePropagator = scopePropagator + propagators = ImmutableList.copyOf(mustRelationPropagationQueries.entrySet.map [ entry | + val matcher = queryEngine.getMatcher(entry.value) + getPropagator(entry.key.key, entry.key.value, matcher) + ]) + this.statistics = statistics + } + + def decrementTypeScope(PartialTypeInterpratation partialTypeInterpratation) { + scopePropagator.decrementTypeScope(partialTypeInterpratation) + } + + def addedToRelation(Relation r) { + scopePropagator.addedToRelation(r) + } + + def propagate() { + var boolean changed + do { + val scopeChanged = propagateScope() + val mustChanged = propagateMustRelations() + changed = scopeChanged || mustChanged + } while (changed) + } + + protected def flushQueryEngine() { + if (queryEngine.updatePropagationDelayed) { + delayMessageDelivery.setBoolean(queryEngine, false) + queryEngine.getQueryBackend(ReteBackendFactory.INSTANCE).flushUpdates + delayMessageDelivery.setBoolean(queryEngine, true) + } + } + + protected def propagateScope() { + if (scopePropagator.scopePropagationNeeded) { + if (scopePropagator.queryEngineFlushRequiredBeforePropagation) { + flushQueryEngine() + } + val propagatorStartTime = System.nanoTime + scopePropagator.propagateAllScopeConstraints() + statistics.addScopePropagationTime(System.nanoTime - propagatorStartTime) + true + } else { + false + } + } + + protected def propagateMustRelations() { + if (propagators.empty) { + return false + } + flushQueryEngine() + val propagatorStartTime = System.nanoTime + var changed = false + for (propagator : propagators) { + changed = propagator.propagate(p, i, refinementRuleProvider, this) || changed + } + statistics.addMustRelationPropagationTime(System.nanoTime - propagatorStartTime) + changed + } + + private static def getPropagator(Relation relation, Relation inverseRelation, + ViatraQueryMatcher matcher) { + if (inverseRelation === null) { + new MustRelationPropagator(matcher) + } else if (relation == inverseRelation) { + new MustRelationPropagatorWithSelfInverse(matcher) + } else { + new MustRelationPropagatorWithInverse(matcher) + } + } + + @FinalFieldsConstructor + private static abstract class AbstractMustRelationPropagator { + val ViatraQueryMatcher matcher + + def propagate(LogicProblem p, PartialInterpretation i, RefinementRuleProvider refinementRuleProvider, + UnitRulePropagator unitRulePropagator) { + val iterator = getIterator(p, i) + if (!iterator.hasNext) { + return false + } + iterate(iterator, refinementRuleProvider, unitRulePropagator) + true + } + + def iterate(Iterator iterator, RefinementRuleProvider refinementRuleProvider, + UnitRulePropagator unitRulePropagator) { + while (iterator.hasNext) { + doPropagate(iterator.next, refinementRuleProvider, unitRulePropagator) + } + } + + protected def getIterator(LogicProblem p, PartialInterpretation i) { + val partialMatch = matcher.newEmptyMatch + partialMatch.set(0, p) + partialMatch.set(1, i) + matcher.streamAllMatches(partialMatch).iterator + } + + protected def void doPropagate(T match, RefinementRuleProvider refinementRuleProvider, + UnitRulePropagator unitRulePropagator) + } + + private static class MustRelationPropagator extends AbstractMustRelationPropagator { + new(ViatraQueryMatcher matcher) { + super(matcher) + } + + override protected doPropagate(T match, RefinementRuleProvider refinementRuleProvider, + UnitRulePropagator unitRulePropagator) { + refinementRuleProvider.createRelationLinkAction(match, unitRulePropagator) + } + } + + private static class MustRelationPropagatorWithInverse extends AbstractMustRelationPropagator { + new(ViatraQueryMatcher matcher) { + super(matcher) + } + + override protected doPropagate(T match, RefinementRuleProvider refinementRuleProvider, + UnitRulePropagator unitRulePropagator) { + refinementRuleProvider.createRelationLinkWithInverse(match, unitRulePropagator) + } + } + + private static class MustRelationPropagatorWithSelfInverse extends MustRelationPropagatorWithInverse { + new(ViatraQueryMatcher matcher) { + super(matcher) + } + + override iterate(Iterator iterator, RefinementRuleProvider refinementRuleProvider, + UnitRulePropagator unitRulePropagator) { + val pairs = newHashSet + while (iterator.hasNext) { + val match = iterator.next + val src = match.get(4) as DefinedElement + val trg = match.get(5) as DefinedElement + if (!pairs.contains(trg -> src)) { + pairs.add(src -> trg) + doPropagate(match, refinementRuleProvider, unitRulePropagator) + } + } + } } } } diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/ViatraReasoner.xtend b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/ViatraReasoner.xtend index 67d25208..8e05665c 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/ViatraReasoner.xtend +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/ViatraReasoner.xtend @@ -228,6 +228,10 @@ class ViatraReasoner extends LogicReasoner { it.name = "ScopePropagationTime" it.value = (method.statistics.scopePropagationTime / 1000000) as int ] + it.entries += createIntStatisticEntry => [ + it.name = "MustRelationPropagationTime" + it.value = (method.statistics.mustRelationPropagationTime / 1000000) as int + ] it.entries += createIntStatisticEntry => [ it.name = "TypeAnalysisTime" it.value = (method.statistics.preliminaryTypeAnalisisTime / 1000000) as int diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/BestFirstStrategyForModelGeneration.java b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/BestFirstStrategyForModelGeneration.java index a2de1abc..4800f71d 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/BestFirstStrategyForModelGeneration.java +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/BestFirstStrategyForModelGeneration.java @@ -307,7 +307,6 @@ public class BestFirstStrategyForModelGeneration implements IStrategy { public List times = new LinkedList(); private void saveTimes() { - long statecoderTime = ((NeighbourhoodBasedPartialInterpretationStateCoder)this.context.getStateCoder()).getStatecoderRuntime()/1000000; long forwardTime = context.getDesignSpaceManager().getForwardTime()/1000000; long backtrackingTime = context.getDesignSpaceManager().getBacktrackingTime()/1000000; long activationSelection = this.activationSelector.getRuntime()/1000000; @@ -317,8 +316,7 @@ public class BestFirstStrategyForModelGeneration implements IStrategy { long numericalSolverSolving = this.numericSolver.getSolverSolvingProblem()/1000000; long numericalSolverInterpreting = this.numericSolver.getSolverSolution()/1000000; this.times.add( - "(TransformationExecutionTime"+method.getStatistics().transformationExecutionTime/1000000+ - "|StateCoderTime:"+statecoderTime+ + "(TransformationExecutionTime"+method.getStatistics().transformationExecutionTime/1000000+ "|ForwardTime:"+forwardTime+ "|Backtrackingtime:"+backtrackingTime+ "|GlobalConstraintEvaluationTime:"+(globalConstraintEvaluationTime/1000000)+ diff --git a/Tests/hu.bme.mit.inf.dslreasoner.run/src/hu/bme/mit/inf/dslreasoner/run/FileSystemHint.xtend b/Tests/hu.bme.mit.inf.dslreasoner.run/src/hu/bme/mit/inf/dslreasoner/run/FileSystemHint.xtend index 8d6523b1..300f8b51 100644 --- a/Tests/hu.bme.mit.inf.dslreasoner.run/src/hu/bme/mit/inf/dslreasoner/run/FileSystemHint.xtend +++ b/Tests/hu.bme.mit.inf.dslreasoner.run/src/hu/bme/mit/inf/dslreasoner/run/FileSystemHint.xtend @@ -4,6 +4,8 @@ import hu.bme.mit.inf.dslreasoner.ecore2logic.Ecore2Logic import hu.bme.mit.inf.dslreasoner.ecore2logic.Ecore2Logic_Trace import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.cardinality.LinearTypeExpressionBuilderFactory import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.patterns.PatternGenerator +import java.util.Map +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PQuery class FileSystemHint extends Ecore2LogicTraceBasedHint { static val REMAINING_CONTENTS_ROOT = "hint_root" @@ -12,7 +14,7 @@ class FileSystemHint extends Ecore2LogicTraceBasedHint { super(ecore2Logic, trace) } - override getAdditionalPatterns(PatternGenerator it) ''' + override getAdditionalPatterns(PatternGenerator it, Map fqnToPQuery) ''' pattern «REMAINING_CONTENTS_ROOT»(problem:LogicProblem, interpretation:PartialInterpretation, remainingContents:java Integer) { find interpretation(problem, interpretation); remainingContents == sum find remainingContents_root_reference_Dir_helper(problem, interpretation, _, #_) diff --git a/Tests/hu.bme.mit.inf.dslreasoner.run/src/hu/bme/mit/inf/dslreasoner/run/SGraphHint.xtend b/Tests/hu.bme.mit.inf.dslreasoner.run/src/hu/bme/mit/inf/dslreasoner/run/SGraphHint.xtend index 97ce4ee6..9a84f777 100644 --- a/Tests/hu.bme.mit.inf.dslreasoner.run/src/hu/bme/mit/inf/dslreasoner/run/SGraphHint.xtend +++ b/Tests/hu.bme.mit.inf.dslreasoner.run/src/hu/bme/mit/inf/dslreasoner/run/SGraphHint.xtend @@ -4,13 +4,15 @@ import hu.bme.mit.inf.dslreasoner.ecore2logic.Ecore2Logic import hu.bme.mit.inf.dslreasoner.ecore2logic.Ecore2Logic_Trace import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.cardinality.LinearTypeExpressionBuilderFactory import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.patterns.PatternGenerator +import java.util.Map +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PQuery class SGraphHint extends Ecore2LogicTraceBasedHint { new(Ecore2Logic ecore2Logic, Ecore2Logic_Trace trace) { super(ecore2Logic, trace) } - override getAdditionalPatterns(extension PatternGenerator patternGenerator) { + override getAdditionalPatterns(extension PatternGenerator patternGenerator, Map fqnToPQuery) { "" } diff --git a/Tests/hu.bme.mit.inf.dslreasoner.run/src/hu/bme/mit/inf/dslreasoner/run/SatelliteHint.xtend b/Tests/hu.bme.mit.inf.dslreasoner.run/src/hu/bme/mit/inf/dslreasoner/run/SatelliteHint.xtend index ef5b779e..28954d60 100644 --- a/Tests/hu.bme.mit.inf.dslreasoner.run/src/hu/bme/mit/inf/dslreasoner/run/SatelliteHint.xtend +++ b/Tests/hu.bme.mit.inf.dslreasoner.run/src/hu/bme/mit/inf/dslreasoner/run/SatelliteHint.xtend @@ -5,6 +5,8 @@ import hu.bme.mit.inf.dslreasoner.ecore2logic.Ecore2Logic_Trace import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.Modality import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.cardinality.LinearTypeExpressionBuilderFactory import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.patterns.PatternGenerator +import java.util.Map +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PQuery class SatelliteHint extends Ecore2LogicTraceBasedHint { static val INTERFEROMETY_PAYLOAD = "hint_interferometryPayload" @@ -14,7 +16,7 @@ class SatelliteHint extends Ecore2LogicTraceBasedHint { super(ecore2Logic, trace) } - override getAdditionalPatterns(PatternGenerator it) ''' + override getAdditionalPatterns(PatternGenerator it, Map fqnToPQuery) ''' pattern «INTERFEROMETY_PAYLOAD»(problem:LogicProblem, interpretation:PartialInterpretation, object:DefinedElement) { find interpretation(problem, interpretation); find mustExist(problem, interpretation, object); diff --git a/Tests/hu.bme.mit.inf.dslreasoner.run/src/hu/bme/mit/inf/dslreasoner/run/SimpleRun.xtend b/Tests/hu.bme.mit.inf.dslreasoner.run/src/hu/bme/mit/inf/dslreasoner/run/SimpleRun.xtend index b65826ad..5e2d0920 100644 --- a/Tests/hu.bme.mit.inf.dslreasoner.run/src/hu/bme/mit/inf/dslreasoner/run/SimpleRun.xtend +++ b/Tests/hu.bme.mit.inf.dslreasoner.run/src/hu/bme/mit/inf/dslreasoner/run/SimpleRun.xtend @@ -1,9 +1,8 @@ package hu.bme.mit.inf.dslreasoner.run import functionalarchitecture.FunctionalarchitecturePackage +import hu.bme.mit.inf.dslreasoner.domains.alloyexamples.Filesystem.Model import hu.bme.mit.inf.dslreasoner.domains.transima.fam.FamPatterns -import hu.bme.mit.inf.dslreasoner.domains.transima.fam.Model -import hu.bme.mit.inf.dslreasoner.domains.transima.fam.Type import hu.bme.mit.inf.dslreasoner.ecore2logic.Ecore2Logic import hu.bme.mit.inf.dslreasoner.ecore2logic.Ecore2LogicConfiguration import hu.bme.mit.inf.dslreasoner.ecore2logic.EcoreMetamodelDescriptor @@ -15,7 +14,6 @@ import hu.bme.mit.inf.dslreasoner.logic2ecore.Logic2Ecore import hu.bme.mit.inf.dslreasoner.viatra2logic.Viatra2Logic import hu.bme.mit.inf.dslreasoner.viatra2logic.Viatra2LogicConfiguration import hu.bme.mit.inf.dslreasoner.viatra2logic.ViatraQuerySetDescriptor -import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.cardinality.ScopePropagatorStrategy import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretation2logic.InstanceModel2Logic import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.PartialInterpretation import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.visualisation.PartialInterpretation2Gml @@ -121,8 +119,6 @@ class SimpleRun { val patterns = i.specifications.toList val wfPatterns = patterns.filter[it.allAnnotations.exists[it.name== "Constraint"]].toSet val derivedFeatures = new LinkedHashMap - derivedFeatures.put(Type.instance,metamodel.attributes.filter[it.name == "type"].head) - derivedFeatures.put(Model.instance,metamodel.references.filter[it.name == "model"].head) val res = new ViatraQuerySetDescriptor( patterns, wfPatterns, -- cgit v1.2.3-70-g09d2 From f06427cd7375551582461f91b3458339a8227f9b Mon Sep 17 00:00:00 2001 From: Kristóf Marussy Date: Mon, 2 Nov 2020 02:02:40 +0100 Subject: Optimizing generator with linear objective functions --- .../.ApplicationConfigurationIdeModule.xtendbin | Bin 1700 -> 1700 bytes .../ide/.ApplicationConfigurationIdeSetup.xtendbin | Bin 2525 -> 2525 bytes .../.SolverSemanticHighlightCalculator.xtendbin | Bin 5333 -> 5333 bytes .../.SolverSemanticTextAttributeProvider.xtendbin | Bin 4902 -> 4902 bytes .../solver/language/ui/syntaxcoloring/.gitignore | 4 + .../validation/.SolverLanguageValidator.xtendbin | Bin 1716 -> 1716 bytes .../viatra/solver/language/validation/.gitignore | 2 + ....SolverLanguageTokenDefInjectingParser.xtendbin | Bin 2741 -> 2741 bytes .../viatra/solver/language/parser/antlr/.gitignore | 2 + ...nguageSyntheticTokenSyntacticSequencer.xtendbin | Bin 2757 -> 2757 bytes .../viatra/solver/language/serializer/.gitignore | 2 + .../META-INF/MANIFEST.MF | 3 +- Domains/ca.mcgill.rtgmrt.example.modes3/plugin.xml | 18 + .../src/modes3/queries/Modes3Queries.vql | 197 ++++- .../src/modes3/run/CloseTrainsObjectiveHint.xtend | 201 +++++ .../src/modes3/run/EndOfSidingObjectiveHint.xtend | 139 ++++ .../run/MisalignedTurnoutObjectiveHint.xtend | 140 ++++ .../src/modes3/run/Modes3ModelGenerator.xtend | 189 ++++- .../modes3/run/TrainLocationsObjectiveHint.xtend | 85 +++ .../vql-gen/modes3/queries/.gitignore | 45 ++ .../vql-gen/modes3/queries/EndOfSiding_step_2.java | 564 ++++++++++++++ .../vql-gen/modes3/queries/EndOfSiding_step_3.java | 717 +++++++++++++++++ .../vql-gen/modes3/queries/EndOfSiding_step_4.java | 847 +++++++++++++++++++++ .../vql-gen/modes3/queries/EndOfSiding_step_5.java | 841 ++++++++++++++++++++ .../vql-gen/modes3/queries/Modes3Queries.java | 198 +++++ .../modes3/queries/MultipleConnectedTo.java | 565 ++++++++++++++ .../modes3/queries/TooManyInputsOfSegment.java | 12 - .../modes3/queries/TrainLocations_step_2.java | 564 ++++++++++++++ .../modes3/queries/TrainLocations_step_3.java | 713 +++++++++++++++++ .../modes3/run/.CloseTrainsObjectiveHint.xtendbin | Bin 0 -> 8218 bytes .../modes3/run/.EndOfSidingObjectiveHint.xtendbin | Bin 0 -> 7190 bytes .../run/.MisalignedTurnoutObjectiveHint.xtendbin | Bin 0 -> 7395 bytes .../modes3/run/.Modes3ModelGenerator.xtendbin | Bin 15038 -> 18637 bytes .../modes3/run/.Modes3TypeScopeHint.xtendbin | Bin 7179 -> 6927 bytes .../run/.Modes3UnitPropagationGenerator.xtendbin | Bin 11735 -> 11284 bytes .../run/.TrainLocationsObjectiveHint.xtendbin | Bin 0 -> 6269 bytes .../xtend-gen/modes3/run/.gitignore | 10 + .../modes3/run/CloseTrainsObjectiveHint.java | 279 +++++++ .../modes3/run/EndOfSidingObjectiveHint.java | 193 +++++ .../modes3/run/MisalignedTurnoutObjectiveHint.java | 195 +++++ .../xtend-gen/modes3/run/Modes3ModelGenerator.java | 305 ++++++-- .../modes3/run/TrainLocationsObjectiveHint.java | 117 +++ .../META-INF/MANIFEST.MF | 1 - .../META-INF/MANIFEST.MF | 3 +- .../ModelGenerationMethodProvider.xtend | 226 ------ .../logic2viatra/ModelGenerationStatistics.xtend | 47 ++ .../logic2viatra/TypeInferenceMethod.xtend | 44 ++ .../ExtendedLinearExpressionBuilderFactory.xtend | 140 ++++ ...ExtendedPolyhedronScopePropagatorStrategy.xtend | 63 ++ .../cardinality/PolyhedronScopePropagator.xtend | 54 +- .../PolyhedronScopePropagatorStrategy.xtend | 92 +++ .../cardinality/PolyhedronSolver.xtend | 13 +- .../META-INF/MANIFEST.MF | 1 + ...odelGenerationMethodBasedGlobalConstraint.xtend | 1 - .../reasoner/ModelGenerationMethodProvider.xtend | 201 +++++ .../viatrasolver/reasoner/ViatraReasoner.xtend | 102 +-- .../reasoner/ViatraReasonerConfiguration.xtend | 4 +- .../dse/BestFirstStrategyForModelGeneration.java | 7 +- .../viatrasolver/reasoner/dse/NumericSolver.xtend | 2 +- .../dse/PartialModelAsLogicInterpretation.xtend | 3 +- .../viatrasolver/reasoner/dse/SolutionCopier.xtend | 8 +- .../reasoner/dse/ViatraReasonerSolutionSaver.xtend | 112 ++- .../optimization/CostElementMatchers.xtend | 137 ++++ .../reasoner/optimization/CostObjectiveHint.xtend | 68 ++ .../optimization/IObjectiveBoundsProvider.xtend | 8 + .../optimization/ThreeValuedCostObjective.xtend | 99 ++- .../ThreeValuedCostObjectiveProvider.xtend | 205 +++++ .../case.study.familyTree.run/bin/.gitignore | 1 + .../bin/queries/.gitignore | 4 + .../src-gen/queries/.gitignore | 4 + .../xtend-gen/converter/.UML2TGF.xtendbin | Bin 6885 -> 6885 bytes .../run/FileSystemInconsistencyDetector.xtend | 4 +- .../mit/inf/dslreasoner/run/MetamodelLoader.xtend | 2 +- .../run/SGraphInconsistencyDetector.xtend | 2 +- 74 files changed, 8297 insertions(+), 508 deletions(-) create mode 100644 Domains/ca.mcgill.rtgmrt.example.modes3/src/modes3/run/CloseTrainsObjectiveHint.xtend create mode 100644 Domains/ca.mcgill.rtgmrt.example.modes3/src/modes3/run/EndOfSidingObjectiveHint.xtend create mode 100644 Domains/ca.mcgill.rtgmrt.example.modes3/src/modes3/run/MisalignedTurnoutObjectiveHint.xtend create mode 100644 Domains/ca.mcgill.rtgmrt.example.modes3/src/modes3/run/TrainLocationsObjectiveHint.xtend create mode 100644 Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/EndOfSiding_step_2.java create mode 100644 Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/EndOfSiding_step_3.java create mode 100644 Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/EndOfSiding_step_4.java create mode 100644 Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/EndOfSiding_step_5.java create mode 100644 Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/MultipleConnectedTo.java create mode 100644 Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/TrainLocations_step_2.java create mode 100644 Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/TrainLocations_step_3.java create mode 100644 Domains/ca.mcgill.rtgmrt.example.modes3/xtend-gen/modes3/run/.CloseTrainsObjectiveHint.xtendbin create mode 100644 Domains/ca.mcgill.rtgmrt.example.modes3/xtend-gen/modes3/run/.EndOfSidingObjectiveHint.xtendbin create mode 100644 Domains/ca.mcgill.rtgmrt.example.modes3/xtend-gen/modes3/run/.MisalignedTurnoutObjectiveHint.xtendbin create mode 100644 Domains/ca.mcgill.rtgmrt.example.modes3/xtend-gen/modes3/run/.TrainLocationsObjectiveHint.xtendbin create mode 100644 Domains/ca.mcgill.rtgmrt.example.modes3/xtend-gen/modes3/run/CloseTrainsObjectiveHint.java create mode 100644 Domains/ca.mcgill.rtgmrt.example.modes3/xtend-gen/modes3/run/EndOfSidingObjectiveHint.java create mode 100644 Domains/ca.mcgill.rtgmrt.example.modes3/xtend-gen/modes3/run/MisalignedTurnoutObjectiveHint.java create mode 100644 Domains/ca.mcgill.rtgmrt.example.modes3/xtend-gen/modes3/run/TrainLocationsObjectiveHint.java delete mode 100644 Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/ModelGenerationMethodProvider.xtend create mode 100644 Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/ModelGenerationStatistics.xtend create mode 100644 Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/TypeInferenceMethod.xtend create mode 100644 Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/cardinality/ExtendedLinearExpressionBuilderFactory.xtend create mode 100644 Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/cardinality/ExtendedPolyhedronScopePropagatorStrategy.xtend create mode 100644 Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/cardinality/PolyhedronScopePropagatorStrategy.xtend create mode 100644 Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/ModelGenerationMethodProvider.xtend create mode 100644 Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/optimization/CostElementMatchers.xtend create mode 100644 Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/optimization/CostObjectiveHint.xtend create mode 100644 Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/optimization/IObjectiveBoundsProvider.xtend create mode 100644 Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/optimization/ThreeValuedCostObjectiveProvider.xtend create mode 100644 Tests/MODELS2020-CaseStudies/case.study.familyTree.run/bin/.gitignore (limited to 'Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner') diff --git a/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeModule.xtendbin b/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeModule.xtendbin index e697e27d..81ae9937 100644 Binary files a/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeModule.xtendbin and b/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeModule.xtendbin differ diff --git a/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeSetup.xtendbin b/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeSetup.xtendbin index ddbe1979..10371590 100644 Binary files a/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeSetup.xtendbin and b/Application/hu.bme.mit.inf.dslreasoner.application.ide/xtend-gen/hu/bme/mit/inf/dslreasoner/application/ide/.ApplicationConfigurationIdeSetup.xtendbin differ diff --git a/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/ui/syntaxcoloring/.SolverSemanticHighlightCalculator.xtendbin b/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/ui/syntaxcoloring/.SolverSemanticHighlightCalculator.xtendbin index e1e21292..49fafab3 100644 Binary files a/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/ui/syntaxcoloring/.SolverSemanticHighlightCalculator.xtendbin and b/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/ui/syntaxcoloring/.SolverSemanticHighlightCalculator.xtendbin differ diff --git a/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/ui/syntaxcoloring/.SolverSemanticTextAttributeProvider.xtendbin b/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/ui/syntaxcoloring/.SolverSemanticTextAttributeProvider.xtendbin index b967ea7c..968ecef8 100644 Binary files a/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/ui/syntaxcoloring/.SolverSemanticTextAttributeProvider.xtendbin and b/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/ui/syntaxcoloring/.SolverSemanticTextAttributeProvider.xtendbin differ diff --git a/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/ui/syntaxcoloring/.gitignore b/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/ui/syntaxcoloring/.gitignore index 1764b462..61ce5bef 100644 --- a/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/ui/syntaxcoloring/.gitignore +++ b/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/ui/syntaxcoloring/.gitignore @@ -1,2 +1,6 @@ /.SolverSemanticHighlightCalculator.java._trace /.SolverSemanticTextAttributeProvider.java._trace +/.SolverSemanticHighlightCalculator.xtendbin +/.SolverSemanticTextAttributeProvider.xtendbin +/SolverSemanticHighlightCalculator.java +/SolverSemanticTextAttributeProvider.java diff --git a/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/validation/.SolverLanguageValidator.xtendbin b/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/validation/.SolverLanguageValidator.xtendbin index 2c271c98..afb2c8de 100644 Binary files a/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/validation/.SolverLanguageValidator.xtendbin and b/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/validation/.SolverLanguageValidator.xtendbin differ diff --git a/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/validation/.gitignore b/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/validation/.gitignore index f1cb387a..565d4b27 100644 --- a/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/validation/.gitignore +++ b/Application/org.eclipse.viatra.solver.language.ui/xtend-gen/org/eclipse/viatra/solver/language/validation/.gitignore @@ -1 +1,3 @@ /.SolverLanguageValidator.java._trace +/.SolverLanguageValidator.xtendbin +/SolverLanguageValidator.java diff --git a/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/parser/antlr/.SolverLanguageTokenDefInjectingParser.xtendbin b/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/parser/antlr/.SolverLanguageTokenDefInjectingParser.xtendbin index 40f87b4c..c1d5cb5e 100644 Binary files a/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/parser/antlr/.SolverLanguageTokenDefInjectingParser.xtendbin and b/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/parser/antlr/.SolverLanguageTokenDefInjectingParser.xtendbin differ diff --git a/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/parser/antlr/.gitignore b/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/parser/antlr/.gitignore index 9cf14147..5fbb81c3 100644 --- a/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/parser/antlr/.gitignore +++ b/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/parser/antlr/.gitignore @@ -5,3 +5,5 @@ /.SolverLanguageSyntheticTokenParser.java._trace /.SolverLanguageTokenSource.java._trace /.SolverLanguageTokenDefInjectingParser.java._trace +/.SolverLanguageTokenDefInjectingParser.xtendbin +/SolverLanguageTokenDefInjectingParser.java diff --git a/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/serializer/.SolverLanguageSyntheticTokenSyntacticSequencer.xtendbin b/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/serializer/.SolverLanguageSyntheticTokenSyntacticSequencer.xtendbin index d0715440..7fb5f085 100644 Binary files a/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/serializer/.SolverLanguageSyntheticTokenSyntacticSequencer.xtendbin and b/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/serializer/.SolverLanguageSyntheticTokenSyntacticSequencer.xtendbin differ diff --git a/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/serializer/.gitignore b/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/serializer/.gitignore index b8132d70..1f04090d 100644 --- a/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/serializer/.gitignore +++ b/Application/org.eclipse.viatra.solver.language/xtend-gen/org/eclipse/viatra/solver/language/serializer/.gitignore @@ -1 +1,3 @@ /.SolverLanguageSyntheticTokenSyntacticSequencer.java._trace +/.SolverLanguageSyntheticTokenSyntacticSequencer.xtendbin +/SolverLanguageSyntheticTokenSyntacticSequencer.java diff --git a/Domains/ca.mcgill.rtgmrt.example.modes3/META-INF/MANIFEST.MF b/Domains/ca.mcgill.rtgmrt.example.modes3/META-INF/MANIFEST.MF index 96bd2113..8f900199 100644 --- a/Domains/ca.mcgill.rtgmrt.example.modes3/META-INF/MANIFEST.MF +++ b/Domains/ca.mcgill.rtgmrt.example.modes3/META-INF/MANIFEST.MF @@ -28,7 +28,8 @@ Require-Bundle: org.eclipse.viatra.query.runtime, hu.bme.mit.inf.dslreasoner.ecore2logic;bundle-version="1.0.0", org.eclipse.emf.ecore.xmi;bundle-version="2.16.0", hu.bme.mit.inf.dslreasoner.visualisation;bundle-version="1.0.0", - org.eclipse.viatra.query.patternlanguage.emf;bundle-version="2.4.0" + org.eclipse.viatra.query.patternlanguage.emf;bundle-version="2.4.0", + org.eclipse.viatra.dse;bundle-version="0.24.0" Import-Package: org.apache.log4j Automatic-Module-Name: ca.mcgill.rtgmrt.example.modes3 Bundle-ActivationPolicy: lazy diff --git a/Domains/ca.mcgill.rtgmrt.example.modes3/plugin.xml b/Domains/ca.mcgill.rtgmrt.example.modes3/plugin.xml index a105a729..f7d32541 100644 --- a/Domains/ca.mcgill.rtgmrt.example.modes3/plugin.xml +++ b/Domains/ca.mcgill.rtgmrt.example.modes3/plugin.xml @@ -21,6 +21,24 @@ + + + + + + + + + + + + + + + + + + diff --git a/Domains/ca.mcgill.rtgmrt.example.modes3/src/modes3/queries/Modes3Queries.vql b/Domains/ca.mcgill.rtgmrt.example.modes3/src/modes3/queries/Modes3Queries.vql index b8841928..d22bdd8b 100644 --- a/Domains/ca.mcgill.rtgmrt.example.modes3/src/modes3/queries/Modes3Queries.vql +++ b/Domains/ca.mcgill.rtgmrt.example.modes3/src/modes3/queries/Modes3Queries.vql @@ -40,12 +40,6 @@ pattern output(S1 : Segment, S2 : Segment) { find turnoutOutput(S1, S2); } -//@Constraint(message = "noInputOfSegment", severity = "error", key = { S }) -//pattern noInputOfSegment(S : Segment) { -// neg find turnout(S); -// neg find output(_, S); -//} - @Constraint(message = "tooManyInputsOfSegment", severity = "error", key = { S }) pattern tooManyInputsOfSegment(S : SimpleSegment) { find output(I1, S); @@ -108,3 +102,194 @@ pattern reachable(S1 : Segment, S2 : Segment) { pattern unreachable(S1 : Segment, S2 : Segment) { neg find reachable(S1, S2); } + +// +// closeTrains +// + +pattern closeTrains_step_2(in train : Train) { +// frame->t1 = model->trains[i0]; +// frame->start = frame->t1->location; +// if(frame->start != 0){ +// ... +// } +// + OUTER FOR LOOP COUNTER INCREMENT + Train(train); +} + +pattern closeTrains_step_3(in train : Train, in start : Segment) { +// int loop_bound1 = frame->start->connected_to_count; +// for (int i1 = 0; i1 < loop_bound1; i1++) { LOOP COUNTER INCREMENT IS NOT INCLUDED HERE +// ... +// } + Train.location(train, start); +} + +pattern closeTrains_step_4(in train : Train, in start : Segment, in middle : Segment) { +// frame->middle = frame->start->connected_to[i1]; +// int loop_bound2 = frame->middle->connected_to_count; + +// for (int i2 = 0; i2 < loop_bound2; i2++) { LOOP COUNTER INCREMENT IS NOT INCLUDED HERE +// ... +// } +// + OUTER FOR LOOP COUNTER INCREMENT + Train.location(train, start); + Segment.connectedTo(start, middle); +} + +pattern closeTrains_step_5(in train : Train, in start : Segment, in middle : Segment, in end : Segment) { +// frame->end = frame->middle->connected_to[i2]; +// if (frame->start != frame->end) { +// ... +// } +// + OUTER FOR LOOP COUNTER INCREMENT + Train.location(train, start); + Segment.connectedTo(start, middle); + Segment.connectedTo(middle, end); +} + +pattern closeTrains_step_6(in train : Train, in start : Segment, in middle : Segment, in end : Segment) { +// frame->t2 = frame->end->train; +// if (frame->t2 != 0) { +// ... +// } + Train.location(train, start); + Segment.connectedTo(start, middle); + Segment.connectedTo(middle, end); + start != end; +} + +pattern closeTrains_step_7(in train : Train, in start : Segment, in middle : Segment, in end : Segment, in otherTrain : Train) { +// results->matches[match_cntr].start = frame->start; +// results->matches[match_cntr++].end = frame->end; + Train.location(train, start); + Segment.connectedTo(start, middle); + Segment.connectedTo(middle, end); + start != end; + Segment.occupiedBy(end, otherTrain); +} + +// +// trainLocations +// + +pattern trainLocations_step_2(in train : Train) { +// frame->train = model->trains[i0]; +// frame->location = frame->train->location; +// if (frame->location != NULL) { +// ... +// } + + Train(train); +} + +pattern trainLocations_step_3(in train : Train, in location : Segment) { +// results->matches[match_cntr].location = frame->location; +// results->matches[match_cntr++].train = frame->train; + Train(train); + Train.location(train, location); +} + +// +// misalignedTurnout +// + +pattern misalignedTurnout_step_2(in turnout : Turnout) { +// frame->turnout = model->turnouts[i0]; +// frame->location = frame->turnout->straight; +// if (frame->location != NULL) { +// ... +// } + Turnout(turnout); +} + +pattern misalignedTurnout_step_3(in turnout : Turnout, in location : Segment) { +// Segment *disconnected = ((Segment *)frame->turnout); +// if (disconnected->connected_to[0] != frame->location && +// disconnected->connected_to[1] != frame->location) { +// ... +// } + Turnout(turnout); + Turnout.straight(turnout, location); +} + +pattern misalignedTurnout_step_4(in turnout : Turnout, in location : Segment) { +// frame->train = frame->location->train; +// if (frame->train != NULL) { +// ... +// } + Turnout(turnout); + Turnout.straight(turnout, location); + neg find connectedSegmentsDirected(turnout, location); +} + +pattern misalignedTurnout_step_5(in turnout : Turnout, in location : Segment, in train : Train) { +// results->matches[match_cntr].start = frame->start; +// results->matches[match_cntr++].end = frame->end; + Turnout(turnout); + Turnout.straight(turnout, location); + neg find connectedSegmentsDirected(turnout, location); + Segment.occupiedBy(location, train); +} + +pattern connectedSegmentsDirected(s1 : Segment, s2 : Segment) { + Segment.connectedTo(s1, s2); +} + +// +// endOfSiding +// + +pattern endOfSiding_step_2(in train : Train) { +// frame->train = model->trains[i0]; +// frame->location = frame->train->location; +// if (frame->location != NULL) { +// ... +// } + + Train(train); +} + +pattern endOfSiding_step_3(in train : Train, in location : Segment) { +// int loop_bound1 = frame->location->connected_to_count; +// for (int i1 = 0; i1 < loop_bound1; i1++) { +// ... +// } + Train(train); + Train.location(train, location); +} + +pattern endOfSiding_step_4(in train : Train, in location : Segment, in end : Segment) { +// frame->end = frame->location->connected_to[i1]; +// if (frame->end != NULL && +// frame->end->connected_to[1] == frame->location && +// frame->end->connected_to[0] == NULL) { +// ... +// } +// if (frame->end != NULL && +// frame->end->connected_to[0] == frame->location && +// frame->end->connected_to[1] == NULL) { +// ... +// } + Train(train); + Train.location(train, location); + Segment.connectedTo(location, end); +} + +pattern endOfSiding_step_5(in train : Train, in location : Segment, in end : Segment) { +// results->matches[match_cntr].location = frame->location; +// results->matches[match_cntr++].train = frame->train; +// ...OR... +// results->matches[match_cntr].location = frame->location; +// results->matches[match_cntr++].train = frame->train; + Train(train); + Train.location(train, location); + Segment.connectedTo(location, end); + neg find multipleConnectedTo(end); +} + +pattern multipleConnectedTo(s : Segment) { + Segment.connectedTo(s, n1); + Segment.connectedTo(s, n2); + n1 != n2; +} diff --git a/Domains/ca.mcgill.rtgmrt.example.modes3/src/modes3/run/CloseTrainsObjectiveHint.xtend b/Domains/ca.mcgill.rtgmrt.example.modes3/src/modes3/run/CloseTrainsObjectiveHint.xtend new file mode 100644 index 00000000..519a228a --- /dev/null +++ b/Domains/ca.mcgill.rtgmrt.example.modes3/src/modes3/run/CloseTrainsObjectiveHint.xtend @@ -0,0 +1,201 @@ +package modes3.run + +import hu.bme.mit.inf.dslreasoner.ecore2logic.Ecore2Logic +import hu.bme.mit.inf.dslreasoner.ecore2logic.Ecore2Logic_Trace +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Type +import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.cardinality.ExtendedLinearExpressionBuilderFactory +import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.optimization.CostElementMatch +import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.optimization.CostElementMatchers +import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.optimization.CostObjectiveHint +import java.util.Collection +import java.util.Map +import modes3.Modes3Package +import modes3.queries.CloseTrains_step_2 +import modes3.queries.CloseTrains_step_3 +import modes3.queries.CloseTrains_step_4 +import modes3.queries.CloseTrains_step_5 +import modes3.queries.CloseTrains_step_6 +import modes3.queries.CloseTrains_step_7 + +class CloseTrainsObjectiveHint extends CostObjectiveHint { + val Type segmentType + val Type trainType + + new(extension Ecore2Logic ecore2Logic, Ecore2Logic_Trace ecore2LogicTrace) { + extension val Modes3Package = Modes3Package.eINSTANCE + segmentType = ecore2LogicTrace.TypeofEClass(segment) + trainType = ecore2LogicTrace.TypeofEClass(train) + } + + override isExact() { + true + } + + override createPolyhedronExtensionOperator(Map costElementMatchers) { + val step2 = costElementMatchers.get(CloseTrains_step_2.instance.fullyQualifiedName) + val step3 = costElementMatchers.get(CloseTrains_step_3.instance.fullyQualifiedName) + val step4 = costElementMatchers.get(CloseTrains_step_4.instance.fullyQualifiedName) + val step5 = costElementMatchers.get(CloseTrains_step_5.instance.fullyQualifiedName) + val step6 = costElementMatchers.get(CloseTrains_step_6.instance.fullyQualifiedName) + val step7 = costElementMatchers.get(CloseTrains_step_7.instance.fullyQualifiedName); + + [ + val objectiveBuilder = createBuilder + + for (m : step2.matches) { + val dimension = getDimension(m.match) + objectiveBuilder.add(step2.weight, dimension) + dimension.tightenLowerBound(0) + if (m.multi) { + createBuilder.add(1, dimension).add(-1, trainType).build.assertEqualsTo(0) + } else { + dimension.tightenUpperBound(1) + if (m.must) { + dimension.tightenLowerBound(1) + } + } + } + + val step3Matches = step3.matches + for (m : step3Matches) { + val dimension = getDimension(m.match) + objectiveBuilder.add(step3.weight, dimension) + dimension.tightenLowerBound(0) + if (!m.multi) { + dimension.tightenUpperBound(1) + if (m.must) { + dimension.tightenLowerBound(1) + } + } + } + for (pair : step3Matches.groupBy[step2.projectMayMatch(match, 2)].entrySet) { + val multiplicityBuilder = createBuilder + for (m : pair.value) { + multiplicityBuilder.add(1, m.match) + } + multiplicityBuilder.add(-1, pair.key) + multiplicityBuilder.build.assertEqualsTo(0) + } + boundLimit(step3Matches, 2, trainType, 1) + boundLimit(step3Matches, 3, segmentType, 1) + + val step4Matches = step4.matches + for (m : step4Matches) { + val dimension = getDimension(m.match) + objectiveBuilder.add(step4.weight, dimension) + dimension.tightenLowerBound(0) + if (!m.multi) { + dimension.tightenUpperBound(1) + if (m.must) { + dimension.tightenLowerBound(1) + } + } + } + for (pair : step4Matches.groupBy[step3.projectMayMatch(match, 2, 3)].entrySet) { + val multiplicityBuilder = createBuilder + for (m : pair.value) { + multiplicityBuilder.add(1, m.match) + } + multiplicityBuilder.add(-2, pair.key) + multiplicityBuilder.build.tightenUpperBound(0) + } + boundLimit(step4Matches, 2, trainType, 2) + boundLimit(step4Matches, 3, segmentType, 2) + boundLimit(step4Matches, 4, segmentType, 2) + + val step5Matches = step5.matches + for (m : step5Matches) { + val dimension = getDimension(m.match) + objectiveBuilder.add(step5.weight, dimension) + dimension.tightenLowerBound(0) + if (!m.multi) { + dimension.tightenUpperBound(1) + if (m.must) { + dimension.tightenLowerBound(1) + } + } + } + for (pair : step5Matches.groupBy[step4.projectMayMatch(match, 2, 3, 4)].entrySet) { + val multiplicityBuilder = createBuilder + for (m : pair.value) { + multiplicityBuilder.add(1, m.match) + } + multiplicityBuilder.add(-2, pair.key) + multiplicityBuilder.build.tightenUpperBound(0) + } + boundLimit(step5Matches, 2, trainType, 4) + boundLimit(step5Matches, 3, segmentType, 4) + boundLimit(step5Matches, 4, segmentType, 4) + boundLimit(step5Matches, 5, segmentType, 4) + + val step6Matches = step6.matches + for (m : step6Matches) { + val dimension = getDimension(m.match) + objectiveBuilder.add(step6.weight, dimension) + dimension.tightenLowerBound(0) + if (m.multi) { + if (m.match.get(3) == m.match.get(5)) { + createBuilder.add(2, m.match).add(-1, step5.projectMayMatch(m.match, 2, 3, 4, 5)).build. + assertEqualsTo(0) + } else { + createBuilder.add(1, m.match).add(-1, step5.projectMayMatch(m.match, 2, 3, 4, 5)).build. + assertEqualsTo(0) + } + } else { + dimension.tightenUpperBound(1) + if (m.must) { + dimension.tightenLowerBound(1) + } + } + } + boundLimit(step6Matches, 2, trainType, 2) + boundLimit(step6Matches, 3, segmentType, 2) + boundLimit(step6Matches, 4, segmentType, 2) + boundLimit(step6Matches, 5, segmentType, 2) + + val step7Matches = step7.matches + for (m : step7Matches) { + val dimension = getDimension(m.match) + objectiveBuilder.add(step7.weight, dimension) + dimension.tightenLowerBound(0) + if (!m.multi) { + dimension.tightenUpperBound(1) + if (m.must) { + dimension.tightenLowerBound(1) + } + } + } + for (pair : step7Matches.groupBy[step6.projectMayMatch(match, 2, 3, 4, 5)].entrySet) { + val multiplicityBuilder = createBuilder + for (m : pair.value) { + multiplicityBuilder.add(1, m.match) + } + multiplicityBuilder.add(-1, pair.key) + multiplicityBuilder.build.tightenUpperBound(0) + } + boundLimit(step7Matches, 2, trainType, 2) + boundLimit(step7Matches, 3, segmentType, 2) + boundLimit(step7Matches, 4, segmentType, 2) + boundLimit(step7Matches, 5, segmentType, 2) + boundLimit(step7Matches, 6, trainType, 2) + + objectiveBuilder.buildWithBounds + ] + } + + private static def boundLimit(extension ExtendedLinearExpressionBuilderFactory factory, + Collection matches, int index, Type type, int count) { + for (pair : matches.groupBy[match.get(index)].entrySet) { + val multiplicityBuilder = createBuilder + for (m : pair.value) { + multiplicityBuilder.add(1, m.match) + } + if (CostElementMatchers.isMulti(pair.key)) { + multiplicityBuilder.add(-count, type) + multiplicityBuilder.build.tightenUpperBound(0) + } else { + multiplicityBuilder.build.tightenUpperBound(count) + } + } + } +} diff --git a/Domains/ca.mcgill.rtgmrt.example.modes3/src/modes3/run/EndOfSidingObjectiveHint.xtend b/Domains/ca.mcgill.rtgmrt.example.modes3/src/modes3/run/EndOfSidingObjectiveHint.xtend new file mode 100644 index 00000000..f7e23a57 --- /dev/null +++ b/Domains/ca.mcgill.rtgmrt.example.modes3/src/modes3/run/EndOfSidingObjectiveHint.xtend @@ -0,0 +1,139 @@ +package modes3.run + +import hu.bme.mit.inf.dslreasoner.ecore2logic.Ecore2Logic +import hu.bme.mit.inf.dslreasoner.ecore2logic.Ecore2Logic_Trace +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Type +import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.cardinality.ExtendedLinearExpressionBuilderFactory +import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.optimization.CostElementMatch +import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.optimization.CostElementMatchers +import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.optimization.CostObjectiveHint +import java.util.Collection +import java.util.Map +import modes3.Modes3Package +import modes3.queries.EndOfSiding_step_2 +import modes3.queries.EndOfSiding_step_3 +import modes3.queries.EndOfSiding_step_4 +import modes3.queries.EndOfSiding_step_5 + +class EndOfSidingObjectiveHint extends CostObjectiveHint { + val Type segmentType + val Type trainType + + new(extension Ecore2Logic ecore2Logic, Ecore2Logic_Trace ecore2LogicTrace) { + extension val Modes3Package = Modes3Package.eINSTANCE + segmentType = ecore2LogicTrace.TypeofEClass(segment) + trainType = ecore2LogicTrace.TypeofEClass(train) + } + + override isExact() { + true +// false + } + + override createPolyhedronExtensionOperator(Map costElementMatchers) { + val step2 = costElementMatchers.get(EndOfSiding_step_2.instance.fullyQualifiedName) + val step3 = costElementMatchers.get(EndOfSiding_step_3.instance.fullyQualifiedName) + val step4 = costElementMatchers.get(EndOfSiding_step_4.instance.fullyQualifiedName) + val step5 = costElementMatchers.get(EndOfSiding_step_5.instance.fullyQualifiedName); + + [ + val objectiveBuilder = createBuilder + + for (m : step2.matches) { + val dimension = getDimension(m.match) + objectiveBuilder.add(step2.weight, dimension) + dimension.tightenLowerBound(0) + if (m.multi) { + createBuilder.add(1, dimension).add(-1, trainType).build.assertEqualsTo(0) + } else { + dimension.tightenUpperBound(1) + if (m.must) { + dimension.tightenLowerBound(1) + } + } + } + + val step3Matches = step3.matches + for (m : step3Matches) { + val dimension = getDimension(m.match) + objectiveBuilder.add(step3.weight, dimension) + dimension.tightenLowerBound(0) + if (!m.multi) { + dimension.tightenUpperBound(1) + if (m.must) { + dimension.tightenLowerBound(1) + } + } + } + for (pair : step3Matches.groupBy[step2.projectMayMatch(match, 2)].entrySet) { + val multiplicityBuilder = createBuilder + for (m : pair.value) { + multiplicityBuilder.add(1, m.match) + } + multiplicityBuilder.add(-1, pair.key) + multiplicityBuilder.build.assertEqualsTo(0) + } + boundLimit(step3Matches, 2, trainType, 1) + boundLimit(step3Matches, 3, segmentType, 1) + + val step4Matches = step4.matches + for (m : step4Matches) { + val dimension = getDimension(m.match) + objectiveBuilder.add(step4.weight, dimension) + dimension.tightenLowerBound(0) + if (!m.multi) { + dimension.tightenUpperBound(1) + if (m.must) { + dimension.tightenLowerBound(1) + } + } + } + for (pair : step4Matches.groupBy[step3.projectMayMatch(match, 2, 3)].entrySet) { + val multiplicityBuilder = createBuilder + for (m : pair.value) { + multiplicityBuilder.add(1, m.match) + } + multiplicityBuilder.add(-2, pair.key) + multiplicityBuilder.build.tightenUpperBound(0) + } + boundLimit(step4Matches, 2, trainType, 2) + boundLimit(step4Matches, 3, segmentType, 2) + boundLimit(step4Matches, 4, segmentType, 2) + + val step5Matches = step5.matches + for (m : step5Matches) { + val dimension = getDimension(m.match) + objectiveBuilder.add(step5.weight, dimension) + dimension.tightenLowerBound(0) + if (!m.multi) { + dimension.tightenUpperBound(1) + if (m.must) { + dimension.tightenLowerBound(1) + } + } + createBuilder.add(1, m.match).add(-1, step4.projectMayMatch(m.match, 2, 3, 4)).build.tightenUpperBound(0) + } + boundLimit(step5Matches, 2, trainType, 1) + boundLimit(step5Matches, 3, segmentType, 2) + boundLimit(step5Matches, 4, segmentType, 1) + + objectiveBuilder.buildWithBounds + ] + } + + private static def boundLimit(extension ExtendedLinearExpressionBuilderFactory factory, + Collection matches, int index, Type type, int count) { + for (pair : matches.groupBy[match.get(index)].entrySet) { + val multiplicityBuilder = createBuilder + for (m : pair.value) { + multiplicityBuilder.add(1, m.match) + } + if (CostElementMatchers.isMulti(pair.key)) { + multiplicityBuilder.add(-count, type) + multiplicityBuilder.build.tightenUpperBound(0) + } else { + multiplicityBuilder.build.tightenUpperBound(count) + } + } + } +} \ No newline at end of file diff --git a/Domains/ca.mcgill.rtgmrt.example.modes3/src/modes3/run/MisalignedTurnoutObjectiveHint.xtend b/Domains/ca.mcgill.rtgmrt.example.modes3/src/modes3/run/MisalignedTurnoutObjectiveHint.xtend new file mode 100644 index 00000000..cb014dea --- /dev/null +++ b/Domains/ca.mcgill.rtgmrt.example.modes3/src/modes3/run/MisalignedTurnoutObjectiveHint.xtend @@ -0,0 +1,140 @@ +package modes3.run + +import hu.bme.mit.inf.dslreasoner.ecore2logic.Ecore2Logic +import hu.bme.mit.inf.dslreasoner.ecore2logic.Ecore2Logic_Trace +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Type +import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.cardinality.ExtendedLinearExpressionBuilderFactory +import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.optimization.CostElementMatch +import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.optimization.CostElementMatchers +import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.optimization.CostObjectiveHint +import java.util.Collection +import java.util.Map +import modes3.Modes3Package +import modes3.queries.MisalignedTurnout_step_2 +import modes3.queries.MisalignedTurnout_step_3 +import modes3.queries.MisalignedTurnout_step_4 +import modes3.queries.MisalignedTurnout_step_5 + +class MisalignedTurnoutObjectiveHint extends CostObjectiveHint { + val Type segmentType + val Type turnoutType + val Type trainType + + new(extension Ecore2Logic ecore2Logic, Ecore2Logic_Trace ecore2LogicTrace) { + extension val Modes3Package = Modes3Package.eINSTANCE + segmentType = ecore2LogicTrace.TypeofEClass(segment) + turnoutType = ecore2LogicTrace.TypeofEClass(turnout) + trainType = ecore2LogicTrace.TypeofEClass(train) + } + + override isExact() { + true +// false + } + + override createPolyhedronExtensionOperator(Map costElementMatchers) { + val step2 = costElementMatchers.get(MisalignedTurnout_step_2.instance.fullyQualifiedName) + val step3 = costElementMatchers.get(MisalignedTurnout_step_3.instance.fullyQualifiedName) + val step4 = costElementMatchers.get(MisalignedTurnout_step_4.instance.fullyQualifiedName) + val step5 = costElementMatchers.get(MisalignedTurnout_step_5.instance.fullyQualifiedName); + + [ + val objectiveBuilder = createBuilder + + for (m : step2.matches) { + val dimension = getDimension(m.match) + objectiveBuilder.add(step2.weight, dimension) + dimension.tightenLowerBound(0) + if (m.multi) { + createBuilder.add(1, dimension).add(-1, turnoutType).build.assertEqualsTo(0) + } else { + dimension.tightenUpperBound(1) + if (m.must) { + dimension.tightenLowerBound(1) + } + } + } + + val step3Matches = step3.matches + for (m : step3Matches) { + val dimension = getDimension(m.match) + objectiveBuilder.add(step3.weight, dimension) + dimension.tightenLowerBound(0) + if (!m.multi) { + dimension.tightenUpperBound(1) + if (m.must) { + dimension.tightenLowerBound(1) + } + } + } + for (pair : step3Matches.groupBy[step2.projectMayMatch(match, 2)].entrySet) { + val multiplicityBuilder = createBuilder + for (m : pair.value) { + multiplicityBuilder.add(1, m.match) + } + multiplicityBuilder.add(-1, pair.key) + multiplicityBuilder.build.tightenUpperBound(0) + } + boundLimit(step3Matches, 2, turnoutType, 1) + boundLimit(step3Matches, 3, segmentType, 2) + + val step4Matches = step4.matches + for (m : step4Matches) { + val dimension = getDimension(m.match) + objectiveBuilder.add(step4.weight, dimension) + dimension.tightenLowerBound(0) + if (!m.multi) { + dimension.tightenUpperBound(1) + if (m.must) { + dimension.tightenLowerBound(1) + } + } + createBuilder.add(1, m.match).add(-1, step3.projectMayMatch(m.match, 2, 3)).build.tightenUpperBound(0) + } + boundLimit(step4Matches, 2, turnoutType, 1) + boundLimit(step4Matches, 3, segmentType, 2) + + val step5Matches = step5.matches + for (m : step5Matches) { + val dimension = getDimension(m.match) + objectiveBuilder.add(step5.weight, dimension) + dimension.tightenLowerBound(0) + if (!m.multi) { + dimension.tightenUpperBound(1) + if (m.must) { + dimension.tightenLowerBound(1) + } + } + } + for (pair : step5Matches.groupBy[step4.projectMayMatch(match, 2, 3)].entrySet) { + val multiplicityBuilder = createBuilder + for (m : pair.value) { + multiplicityBuilder.add(1, m.match) + } + multiplicityBuilder.add(-1, pair.key) + multiplicityBuilder.build.tightenUpperBound(0) + } + boundLimit(step5Matches, 2, turnoutType, 1) + boundLimit(step5Matches, 3, segmentType, 2) + boundLimit(step5Matches, 4, trainType, 2) + + objectiveBuilder.buildWithBounds + ] + } + + private static def boundLimit(extension ExtendedLinearExpressionBuilderFactory factory, + Collection matches, int index, Type type, int count) { + for (pair : matches.groupBy[match.get(index)].entrySet) { + val multiplicityBuilder = createBuilder + for (m : pair.value) { + multiplicityBuilder.add(1, m.match) + } + if (CostElementMatchers.isMulti(pair.key)) { + multiplicityBuilder.add(-count, type) + multiplicityBuilder.build.tightenUpperBound(0) + } else { + multiplicityBuilder.build.tightenUpperBound(count) + } + } + } +} diff --git a/Domains/ca.mcgill.rtgmrt.example.modes3/src/modes3/run/Modes3ModelGenerator.xtend b/Domains/ca.mcgill.rtgmrt.example.modes3/src/modes3/run/Modes3ModelGenerator.xtend index fac7c496..613cb3e4 100644 --- a/Domains/ca.mcgill.rtgmrt.example.modes3/src/modes3/run/Modes3ModelGenerator.xtend +++ b/Domains/ca.mcgill.rtgmrt.example.modes3/src/modes3/run/Modes3ModelGenerator.xtend @@ -5,6 +5,7 @@ import com.google.common.collect.ImmutableSet import hu.bme.mit.inf.dslreasoner.ecore2logic.EReferenceMapper_RelationsOverTypes_Trace import hu.bme.mit.inf.dslreasoner.ecore2logic.Ecore2Logic import hu.bme.mit.inf.dslreasoner.ecore2logic.Ecore2LogicConfiguration +import hu.bme.mit.inf.dslreasoner.ecore2logic.Ecore2Logic_Trace import hu.bme.mit.inf.dslreasoner.ecore2logic.EcoreMetamodelDescriptor import hu.bme.mit.inf.dslreasoner.ecore2logic.ecore2logicannotations.Ecore2logicannotationsFactory import hu.bme.mit.inf.dslreasoner.ecore2logic.ecore2logicannotations.Ecore2logicannotationsPackage @@ -14,6 +15,7 @@ import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.TypeDefinition import hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicproblemPackage import hu.bme.mit.inf.dslreasoner.logic.model.logicresult.ModelResult +import hu.bme.mit.inf.dslreasoner.logic2ecore.Logic2Ecore import hu.bme.mit.inf.dslreasoner.viatra2logic.Viatra2Logic import hu.bme.mit.inf.dslreasoner.viatra2logic.Viatra2LogicConfiguration import hu.bme.mit.inf.dslreasoner.viatra2logic.ViatraQuerySetDescriptor @@ -25,18 +27,38 @@ import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.cardinality.ScopePro import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretation2logic.InstanceModel2Logic import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.BinaryElementRelationLink import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.PartialComplexTypeInterpretation -import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.PartialInterpretation import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.PartialinterpretationPackage import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.visualisation.PartialInterpretation2Gml +import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.CostObjectiveConfiguration +import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.CostObjectiveElementConfiguration import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.StateCoderStrategy import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.ViatraReasoner import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.ViatraReasonerConfiguration +import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.dse.PartialModelAsLogicInterpretation +import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.optimization.ObjectiveKind +import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.optimization.ObjectiveThreshold import hu.bme.mit.inf.dslreasoner.visualisation.pi2graphviz.GraphvizVisualiser import hu.bme.mit.inf.dslreasoner.workspace.FileSystemWorkspace import java.util.List import modes3.Modes3Factory import modes3.Modes3Package +import modes3.queries.CloseTrains_step_2 +import modes3.queries.CloseTrains_step_3 +import modes3.queries.CloseTrains_step_4 +import modes3.queries.CloseTrains_step_5 +import modes3.queries.CloseTrains_step_6 +import modes3.queries.CloseTrains_step_7 +import modes3.queries.EndOfSiding_step_2 +import modes3.queries.EndOfSiding_step_3 +import modes3.queries.EndOfSiding_step_4 +import modes3.queries.EndOfSiding_step_5 +import modes3.queries.MisalignedTurnout_step_2 +import modes3.queries.MisalignedTurnout_step_3 +import modes3.queries.MisalignedTurnout_step_4 +import modes3.queries.MisalignedTurnout_step_5 import modes3.queries.Modes3Queries +import modes3.queries.TrainLocations_step_2 +import modes3.queries.TrainLocations_step_3 import org.eclipse.emf.ecore.EClass import org.eclipse.emf.ecore.EObject import org.eclipse.emf.ecore.resource.Resource @@ -92,17 +114,21 @@ class Modes3ModelGenerator { minNewElements = modelSize maxNewElements = modelSize minNewElementsByType => [ -// put(ecore2Logic.TypeofEClass(metamodelLogic.trace, Modes3Package.eINSTANCE.turnout), 5) +// put(ecore2Logic.TypeofEClass(metamodelLogic.trace, Modes3Package.eINSTANCE.train), modelSize / 5) +// put(ecore2Logic.TypeofEClass(metamodelLogic.trace, Modes3Package.eINSTANCE.turnout), modelSize / 5) +// put(ecore2Logic.TypeofEClass(metamodelLogic.trace, Modes3Package.eINSTANCE.simpleSegment), 3 * modelSize / 5) ] maxNewElementsByType => [ - put(ecore2Logic.TypeofEClass(metamodelLogic.trace, Modes3Package.eINSTANCE.train), 5) - put(ecore2Logic.TypeofEClass(metamodelLogic.trace, Modes3Package.eINSTANCE.turnout), 5) + put(ecore2Logic.TypeofEClass(metamodelLogic.trace, Modes3Package.eINSTANCE.train), modelSize / 5) + put(ecore2Logic.TypeofEClass(metamodelLogic.trace, Modes3Package.eINSTANCE.turnout), modelSize / 5) + put(ecore2Logic.TypeofEClass(metamodelLogic.trace, Modes3Package.eINSTANCE.simpleSegment), 3 * modelSize / 5) ] ] solutionScope => [ numberOfRequiredSolutions = 1 ] - scopeWeight = 5 + costObjectives += getObjective(ecore2Logic, metamodelLogic.trace) + scopeWeight = 6 nameNewElements = false typeInferenceMethod = TypeInferenceMethod.PreliminaryAnalysis stateCoderStrategy = StateCoderStrategy.PairwiseNeighbourhood @@ -121,47 +147,60 @@ class Modes3ModelGenerator { val solution = solver.solve(logic.output, config, workspace) if (solution instanceof ModelResult) { println("Saving generated solutions") - val representations = solution.representation - for (representationIndex : 0 ..< representations.size) { - val representation = representations.get(representationIndex) + val logic2Ecore = new Logic2Ecore(ecore2Logic) + val interpretations = solver.getInterpretations(solution) + for (representationIndex : 0 ..< interpretations.size) { + val interpretation = interpretations.get(representationIndex) val representationNumber = representationIndex + 1 - if (representation instanceof PartialInterpretation) { + if (interpretation instanceof PartialModelAsLogicInterpretation) { + val representation = interpretation.partialInterpretation workspace.writeModel(representation, '''solution«representationNumber».partialinterpretation''') val partialInterpretation2GML = new PartialInterpretation2Gml val gml = partialInterpretation2GML.transform(representation) workspace.writeText('''solution«representationNumber».gml''', gml) + val model = logic2Ecore.transformInterpretation(interpretation, metamodelLogic.trace) + val iterator = model.eAllContents + var int id = 0 + while (iterator.hasNext) { + val obj = iterator.next + val idFeature = obj.eClass.EAllAttributes.findFirst[name == 'id'] + if (idFeature !== null) { + obj.eSet(idFeature, id) + id++ + } + } + workspace.writeModel(model, '''solution«representationNumber».modes3''') if (representation.newElements.size < 160) { - if (representation instanceof PartialInterpretation) { - val rootType = (representation.problem.types.findFirst [ - name == "Modes3ModelRoot class DefinedPart" - ] as TypeDefinition) - val rootIntepretation = representation.partialtypeinterpratation.filter( - PartialComplexTypeInterpretation).findFirst [ - interpretationOf.name == "Modes3ModelRoot class" + val rootType = (representation.problem.types.findFirst [ + name == "Modes3ModelRoot class DefinedPart" + ] as TypeDefinition) + val rootIntepretation = representation.partialtypeinterpratation.filter( + PartialComplexTypeInterpretation).findFirst [ + interpretationOf.name == "Modes3ModelRoot class" + ] + rootIntepretation.elements.removeAll(rootType.elements) + representation.problem.elements.removeAll(rootType.elements) + for (relationInterpretation : representation.partialrelationinterpretation) { + relationInterpretation.relationlinks.removeIf [ link | + if (link instanceof BinaryElementRelationLink) { + rootType.elements.contains(link.param1) || + rootType.elements.contains(link.param2) + } else { + false + } ] - rootIntepretation.elements.removeAll(rootType.elements) - representation.problem.elements.removeAll(rootType.elements) - for (relationInterpretation : representation.partialrelationinterpretation) { - relationInterpretation.relationlinks.removeIf [ link | - if (link instanceof BinaryElementRelationLink) { - rootType.elements.contains(link.param1) || rootType.elements.contains(link.param2) - } else { - false - } - ] - } - rootType.elements.clear } + rootType.elements.clear val visualiser = new GraphvizVisualiser val visualisation = visualiser.visualiseConcretization(representation) visualisation.writeToFile(workspace, '''solution«representationNumber».png''') } } else { - workspace.writeText('''solution«representationNumber».txt''', representation.toString) + workspace.writeText('''solution«representationNumber».txt''', interpretation.toString) } } } else { - println("Failed to solver problem") + println("Failed to solve problem") val partial = logic.output workspace.writeModel(partial, "solution.partialinterpretation") } @@ -198,6 +237,94 @@ class Modes3ModelGenerator { ) } + def getObjective(Ecore2Logic ecore2Logic, Ecore2Logic_Trace ecore2LogicTrace) { + new CostObjectiveConfiguration => [ + switch (monitoringQuery) { + case closeTrains: { + elements += new CostObjectiveElementConfiguration => [ + patternQualifiedName = CloseTrains_step_2.instance.fullyQualifiedName + weight = 14 + 53 + 11 + ] + elements += new CostObjectiveElementConfiguration => [ + patternQualifiedName = CloseTrains_step_3.instance.fullyQualifiedName + weight = 21 + 14 + ] + elements += new CostObjectiveElementConfiguration => [ + patternQualifiedName = CloseTrains_step_4.instance.fullyQualifiedName + weight = 14 + 44 + 14 + 9 + ] + elements += new CostObjectiveElementConfiguration => [ + patternQualifiedName = CloseTrains_step_5.instance.fullyQualifiedName + weight = 14 + 41 + 11 + ] + elements += new CostObjectiveElementConfiguration => [ + patternQualifiedName = CloseTrains_step_6.instance.fullyQualifiedName + weight = 27 + ] + elements += new CostObjectiveElementConfiguration => [ + patternQualifiedName = CloseTrains_step_7.instance.fullyQualifiedName + weight = 48 + ] + hint = new CloseTrainsObjectiveHint(ecore2Logic, ecore2LogicTrace) + } + case trainLocations: { + elements += new CostObjectiveElementConfiguration => [ + patternQualifiedName = TrainLocations_step_2.instance.fullyQualifiedName + weight = 14 + 53 + 11 + ] + elements += new CostObjectiveElementConfiguration => [ + patternQualifiedName = TrainLocations_step_3.instance.fullyQualifiedName + weight = 48 + ] + hint = new TrainLocationsObjectiveHint(ecore2Logic, ecore2LogicTrace) + } + case misalignedTurnout: { + elements += new CostObjectiveElementConfiguration => [ + patternQualifiedName = MisalignedTurnout_step_2.instance.fullyQualifiedName + weight = 14 + 53 + 11 + ] + elements += new CostObjectiveElementConfiguration => [ + patternQualifiedName = MisalignedTurnout_step_3.instance.fullyQualifiedName + weight = 108 + ] + elements += new CostObjectiveElementConfiguration => [ + patternQualifiedName = MisalignedTurnout_step_4.instance.fullyQualifiedName + weight = 27 + ] + elements += new CostObjectiveElementConfiguration => [ + patternQualifiedName = MisalignedTurnout_step_5.instance.fullyQualifiedName + weight = 48 + ] + hint = new MisalignedTurnoutObjectiveHint(ecore2Logic, ecore2LogicTrace) + } + case endOfSiding: { + elements += new CostObjectiveElementConfiguration => [ + patternQualifiedName = EndOfSiding_step_2.instance.fullyQualifiedName + weight = 14 + 53 + 11 + ] + elements += new CostObjectiveElementConfiguration => [ + patternQualifiedName = EndOfSiding_step_3.instance.fullyQualifiedName + weight = 21 + 14 + ] + elements += new CostObjectiveElementConfiguration => [ + patternQualifiedName = EndOfSiding_step_4.instance.fullyQualifiedName + weight = 14 + 35 + 21 + 15 + 14 + 21 + 15 + 11 + ] + elements += new CostObjectiveElementConfiguration => [ + patternQualifiedName = EndOfSiding_step_5.instance.fullyQualifiedName + weight = 48 + ] + hint = new EndOfSidingObjectiveHint(ecore2Logic, ecore2LogicTrace) + } + default: + throw new IllegalArgumentException("Unknown monitoring query: " + monitoringQuery) + } + kind = ObjectiveKind.HIGHER_IS_BETTER + threshold = ObjectiveThreshold.NO_THRESHOLD + findExtremum = true + ] + } + def static init() { EMFPatternLanguageStandaloneSetup.doSetup ViatraQueryEngineOptions.setSystemDefaultBackends(ReteBackendFactory.INSTANCE, ReteBackendFactory.INSTANCE, @@ -223,6 +350,8 @@ class Modes3ModelGenerator { private static enum MonitoringQuery { closeTrains, + trainLocations, + endOfSiding, misalignedTurnout } } diff --git a/Domains/ca.mcgill.rtgmrt.example.modes3/src/modes3/run/TrainLocationsObjectiveHint.xtend b/Domains/ca.mcgill.rtgmrt.example.modes3/src/modes3/run/TrainLocationsObjectiveHint.xtend new file mode 100644 index 00000000..cc2d7925 --- /dev/null +++ b/Domains/ca.mcgill.rtgmrt.example.modes3/src/modes3/run/TrainLocationsObjectiveHint.xtend @@ -0,0 +1,85 @@ +package modes3.run + +import hu.bme.mit.inf.dslreasoner.ecore2logic.Ecore2Logic +import hu.bme.mit.inf.dslreasoner.ecore2logic.Ecore2Logic_Trace +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Type +import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.cardinality.ExtendedLinearExpressionBuilderFactory +import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.optimization.CostElementMatch +import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.optimization.CostElementMatchers +import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.optimization.CostObjectiveHint +import java.util.Collection +import java.util.Map +import modes3.Modes3Package +import modes3.queries.TrainLocations_step_2 +import modes3.queries.TrainLocations_step_3 + +class TrainLocationsObjectiveHint extends CostObjectiveHint { + val Type segmentType + val Type trainType + + new(extension Ecore2Logic ecore2Logic, Ecore2Logic_Trace ecore2LogicTrace) { + extension val Modes3Package = Modes3Package.eINSTANCE + segmentType = ecore2LogicTrace.TypeofEClass(segment) + trainType = ecore2LogicTrace.TypeofEClass(train) + } + + override isExact() { + true + } + + override createPolyhedronExtensionOperator(Map costElementMatchers) { + val step2 = costElementMatchers.get(TrainLocations_step_2.instance.fullyQualifiedName) + val step3 = costElementMatchers.get(TrainLocations_step_3.instance.fullyQualifiedName); + + [ + val objectiveBuilder = createBuilder + + for (m : step2.matches) { + val dimension = getDimension(m.match) + objectiveBuilder.add(step2.weight, dimension) + dimension.tightenLowerBound(0) + if (m.multi) { + createBuilder.add(1, dimension).add(-1, trainType).build.assertEqualsTo(0) + } else { + dimension.tightenUpperBound(1) + if (m.must) { + dimension.tightenLowerBound(1) + } + } + } + + val step3Matches = step3.matches + for (m : step3Matches) { + val dimension = getDimension(m.match) + objectiveBuilder.add(step3.weight, dimension) + dimension.tightenLowerBound(0) + if (!m.multi) { + dimension.tightenUpperBound(1) + if (m.must) { + dimension.tightenLowerBound(1) + } + } + } + boundLimit(step3Matches, 2, trainType, 1) + boundLimit(step3Matches, 3, segmentType, 1) + + objectiveBuilder.buildWithBounds + ] + } + + private static def boundLimit(extension ExtendedLinearExpressionBuilderFactory factory, + Collection matches, int index, Type type, int count) { + for (pair : matches.groupBy[match.get(index)].entrySet) { + val multiplicityBuilder = createBuilder + for (m : pair.value) { + multiplicityBuilder.add(1, m.match) + } + if (CostElementMatchers.isMulti(pair.key)) { + multiplicityBuilder.add(-count, type) + multiplicityBuilder.build.tightenUpperBound(0) + } else { + multiplicityBuilder.build.tightenUpperBound(count) + } + } + } +} \ No newline at end of file diff --git a/Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/.gitignore b/Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/.gitignore index b3e38571..a84c2906 100644 --- a/Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/.gitignore +++ b/Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/.gitignore @@ -31,3 +31,48 @@ /.TooManyNonStraightInputsOfTurnout.java._trace /.InputsOfTurnout.java._trace /.TooFewInputsOfTurnout.java._trace +/.CloseTrains_step_2.java._trace +/.CloseTrains_step_3.java._trace +/.CloseTrains_step_4.java._trace +/.CloseTrains_step_5.java._trace +/.CloseTrains_step_6.java._trace +/.CloseTrains_step_7.java._trace +/.MisalignedTurnout_step_2.java._trace +/.MisalignedTurnout_step_3.java._trace +/.MisalignedTurnout_step_4.java._trace +/.MisalignedTurnout_step_5.java._trace +/.ConnectedSegmentsDirected.java._trace +/Adjacent.java +/CloseTrains_step_2.java +/CloseTrains_step_3.java +/CloseTrains_step_4.java +/CloseTrains_step_5.java +/CloseTrains_step_6.java +/CloseTrains_step_7.java +/ConnectedSegmentsDirected.java +/ConnectedTo.java +/ConnectedToNotSymmetric.java +/ConnectedToReflexive.java +/InputsOfTurnout.java +/MisalignedTurnout_step_2.java +/MisalignedTurnout_step_3.java +/MisalignedTurnout_step_4.java +/MisalignedTurnout_step_5.java +/Modes3Queries.java +/Output.java +/OutputReflexive.java +/Reachable.java +/TooFewInputsOfTurnout.java +/TooManyInputsOfSegment.java +/TooManyInputsOfTurnout.java +/TurnoutConnectedToBothOutputs.java +/TurnoutOutput.java +/TurnoutOutputsAreSame.java +/Unreachable.java +/.TrainLocations_step_2.java._trace +/.TrainLocations_step_3.java._trace +/.EndOfSiding_step_2.java._trace +/.EndOfSiding_step_3.java._trace +/.EndOfSiding_step_4.java._trace +/.EndOfSiding_step_5.java._trace +/.MultipleConnectedTo.java._trace diff --git a/Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/EndOfSiding_step_2.java b/Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/EndOfSiding_step_2.java new file mode 100644 index 00000000..a8f68dca --- /dev/null +++ b/Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/EndOfSiding_step_2.java @@ -0,0 +1,564 @@ +/** + * Generated from platform:/resource/ca.mcgill.rtgmrt.example.modes3/src/modes3/queries/Modes3Queries.vql + */ +package modes3.queries; + +import java.util.Arrays; +import java.util.Collection; +import java.util.LinkedHashSet; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import java.util.Set; +import java.util.function.Consumer; +import java.util.stream.Collectors; +import java.util.stream.Stream; +import modes3.Train; +import org.apache.log4j.Logger; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.viatra.query.runtime.api.IPatternMatch; +import org.eclipse.viatra.query.runtime.api.IQuerySpecification; +import org.eclipse.viatra.query.runtime.api.ViatraQueryEngine; +import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFPQuery; +import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFQuerySpecification; +import org.eclipse.viatra.query.runtime.api.impl.BaseMatcher; +import org.eclipse.viatra.query.runtime.api.impl.BasePatternMatch; +import org.eclipse.viatra.query.runtime.emf.types.EClassTransitiveInstancesKey; +import org.eclipse.viatra.query.runtime.matchers.backend.QueryEvaluationHint; +import org.eclipse.viatra.query.runtime.matchers.psystem.PBody; +import org.eclipse.viatra.query.runtime.matchers.psystem.PVariable; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.ExportedParameter; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicenumerables.TypeConstraint; +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameter; +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameterDirection; +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PVisibility; +import org.eclipse.viatra.query.runtime.matchers.tuple.Tuple; +import org.eclipse.viatra.query.runtime.matchers.tuple.Tuples; +import org.eclipse.viatra.query.runtime.util.ViatraQueryLoggingUtil; + +/** + * A pattern-specific query specification that can instantiate Matcher in a type-safe way. + * + *

    Original source: + *

    + *         //
    + *         // endOfSiding
    + *         //
    + *         
    + *         pattern endOfSiding_step_2(in train : Train) {
    + *         //   frame-{@literal >}train = model-{@literal >}trains[i0];
    + *         //   frame-{@literal >}location = frame-{@literal >}train-{@literal >}location;
    + *         //   if (frame-{@literal >}location != NULL) {
    + *         //     ...
    + *         //   }
    + *         
    + *         	Train(train);
    + *         }
    + * 
    + * + * @see Matcher + * @see Match + * + */ +@SuppressWarnings("all") +public final class EndOfSiding_step_2 extends BaseGeneratedEMFQuerySpecification { + /** + * Pattern-specific match representation of the modes3.queries.endOfSiding_step_2 pattern, + * to be used in conjunction with {@link Matcher}. + * + *

    Class fields correspond to parameters of the pattern. Fields with value null are considered unassigned. + * Each instance is a (possibly partial) substitution of pattern parameters, + * usable to represent a match of the pattern in the result of a query, + * or to specify the bound (fixed) input parameters when issuing a query. + * + * @see Matcher + * + */ + public static abstract class Match extends BasePatternMatch { + private Train fTrain; + + private static List parameterNames = makeImmutableList("train"); + + private Match(final Train pTrain) { + this.fTrain = pTrain; + } + + @Override + public Object get(final String parameterName) { + switch(parameterName) { + case "train": return this.fTrain; + default: return null; + } + } + + @Override + public Object get(final int index) { + switch(index) { + case 0: return this.fTrain; + default: return null; + } + } + + public Train getTrain() { + return this.fTrain; + } + + @Override + public boolean set(final String parameterName, final Object newValue) { + if (!isMutable()) throw new java.lang.UnsupportedOperationException(); + if ("train".equals(parameterName) ) { + this.fTrain = (Train) newValue; + return true; + } + return false; + } + + public void setTrain(final Train pTrain) { + if (!isMutable()) throw new java.lang.UnsupportedOperationException(); + this.fTrain = pTrain; + } + + @Override + public String patternName() { + return "modes3.queries.endOfSiding_step_2"; + } + + @Override + public List parameterNames() { + return EndOfSiding_step_2.Match.parameterNames; + } + + @Override + public Object[] toArray() { + return new Object[]{fTrain}; + } + + @Override + public EndOfSiding_step_2.Match toImmutable() { + return isMutable() ? newMatch(fTrain) : this; + } + + @Override + public String prettyPrint() { + StringBuilder result = new StringBuilder(); + result.append("\"train\"=" + prettyPrintValue(fTrain)); + return result.toString(); + } + + @Override + public int hashCode() { + return Objects.hash(fTrain); + } + + @Override + public boolean equals(final Object obj) { + if (this == obj) + return true; + if (obj == null) { + return false; + } + if ((obj instanceof EndOfSiding_step_2.Match)) { + EndOfSiding_step_2.Match other = (EndOfSiding_step_2.Match) obj; + return Objects.equals(fTrain, other.fTrain); + } else { + // this should be infrequent + if (!(obj instanceof IPatternMatch)) { + return false; + } + IPatternMatch otherSig = (IPatternMatch) obj; + return Objects.equals(specification(), otherSig.specification()) && Arrays.deepEquals(toArray(), otherSig.toArray()); + } + } + + @Override + public EndOfSiding_step_2 specification() { + return EndOfSiding_step_2.instance(); + } + + /** + * Returns an empty, mutable match. + * Fields of the mutable match can be filled to create a partial match, usable as matcher input. + * + * @return the empty match. + * + */ + public static EndOfSiding_step_2.Match newEmptyMatch() { + return new Mutable(null); + } + + /** + * Returns a mutable (partial) match. + * Fields of the mutable match can be filled to create a partial match, usable as matcher input. + * + * @param pTrain the fixed value of pattern parameter train, or null if not bound. + * @return the new, mutable (partial) match object. + * + */ + public static EndOfSiding_step_2.Match newMutableMatch(final Train pTrain) { + return new Mutable(pTrain); + } + + /** + * Returns a new (partial) match. + * This can be used e.g. to call the matcher with a partial match. + *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. + * @param pTrain the fixed value of pattern parameter train, or null if not bound. + * @return the (partial) match object. + * + */ + public static EndOfSiding_step_2.Match newMatch(final Train pTrain) { + return new Immutable(pTrain); + } + + private static final class Mutable extends EndOfSiding_step_2.Match { + Mutable(final Train pTrain) { + super(pTrain); + } + + @Override + public boolean isMutable() { + return true; + } + } + + private static final class Immutable extends EndOfSiding_step_2.Match { + Immutable(final Train pTrain) { + super(pTrain); + } + + @Override + public boolean isMutable() { + return false; + } + } + } + + /** + * Generated pattern matcher API of the modes3.queries.endOfSiding_step_2 pattern, + * providing pattern-specific query methods. + * + *

    Use the pattern matcher on a given model via {@link #on(ViatraQueryEngine)}, + * e.g. in conjunction with {@link ViatraQueryEngine#on(QueryScope)}. + * + *

    Matches of the pattern will be represented as {@link Match}. + * + *

    Original source: + *

    +   * //
    +   * // endOfSiding
    +   * //
    +   * 
    +   * pattern endOfSiding_step_2(in train : Train) {
    +   * //   frame-{@literal >}train = model-{@literal >}trains[i0];
    +   * //   frame-{@literal >}location = frame-{@literal >}train-{@literal >}location;
    +   * //   if (frame-{@literal >}location != NULL) {
    +   * //     ...
    +   * //   }
    +   * 
    +   * 	Train(train);
    +   * }
    +   * 
    + * + * @see Match + * @see EndOfSiding_step_2 + * + */ + public static class Matcher extends BaseMatcher { + /** + * Initializes the pattern matcher within an existing VIATRA Query engine. + * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. + * + * @param engine the existing VIATRA Query engine in which this matcher will be created. + * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation + * + */ + public static EndOfSiding_step_2.Matcher on(final ViatraQueryEngine engine) { + // check if matcher already exists + Matcher matcher = engine.getExistingMatcher(querySpecification()); + if (matcher == null) { + matcher = (Matcher)engine.getMatcher(querySpecification()); + } + return matcher; + } + + /** + * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation + * @return an initialized matcher + * @noreference This method is for internal matcher initialization by the framework, do not call it manually. + * + */ + public static EndOfSiding_step_2.Matcher create() { + return new Matcher(); + } + + private static final int POSITION_TRAIN = 0; + + private static final Logger LOGGER = ViatraQueryLoggingUtil.getLogger(EndOfSiding_step_2.Matcher.class); + + /** + * Initializes the pattern matcher within an existing VIATRA Query engine. + * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. + * + * @param engine the existing VIATRA Query engine in which this matcher will be created. + * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation + * + */ + private Matcher() { + super(querySpecification()); + } + + /** + * Returns the set of all matches of the pattern that conform to the given fixed values of some parameters. + * @param pTrain the fixed value of pattern parameter train, or null if not bound. + * @return matches represented as a Match object. + * + */ + public Collection getAllMatches(final Train pTrain) { + return rawStreamAllMatches(new Object[]{pTrain}).collect(Collectors.toSet()); + } + + /** + * Returns a stream of all matches of the pattern that conform to the given fixed values of some parameters. + *

    + * NOTE: It is important not to modify the source model while the stream is being processed. + * If the match set of the pattern changes during processing, the contents of the stream is undefined. + * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. + * @param pTrain the fixed value of pattern parameter train, or null if not bound. + * @return a stream of matches represented as a Match object. + * + */ + public Stream streamAllMatches(final Train pTrain) { + return rawStreamAllMatches(new Object[]{pTrain}); + } + + /** + * Returns an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. + * Neither determinism nor randomness of selection is guaranteed. + * @param pTrain the fixed value of pattern parameter train, or null if not bound. + * @return a match represented as a Match object, or null if no match is found. + * + */ + public Optional getOneArbitraryMatch(final Train pTrain) { + return rawGetOneArbitraryMatch(new Object[]{pTrain}); + } + + /** + * Indicates whether the given combination of specified pattern parameters constitute a valid pattern match, + * under any possible substitution of the unspecified parameters (if any). + * @param pTrain the fixed value of pattern parameter train, or null if not bound. + * @return true if the input is a valid (partial) match of the pattern. + * + */ + public boolean hasMatch(final Train pTrain) { + return rawHasMatch(new Object[]{pTrain}); + } + + /** + * Returns the number of all matches of the pattern that conform to the given fixed values of some parameters. + * @param pTrain the fixed value of pattern parameter train, or null if not bound. + * @return the number of pattern matches found. + * + */ + public int countMatches(final Train pTrain) { + return rawCountMatches(new Object[]{pTrain}); + } + + /** + * Executes the given processor on an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. + * Neither determinism nor randomness of selection is guaranteed. + * @param pTrain the fixed value of pattern parameter train, or null if not bound. + * @param processor the action that will process the selected match. + * @return true if the pattern has at least one match with the given parameter values, false if the processor was not invoked + * + */ + public boolean forOneArbitraryMatch(final Train pTrain, final Consumer processor) { + return rawForOneArbitraryMatch(new Object[]{pTrain}, processor); + } + + /** + * Returns a new (partial) match. + * This can be used e.g. to call the matcher with a partial match. + *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. + * @param pTrain the fixed value of pattern parameter train, or null if not bound. + * @return the (partial) match object. + * + */ + public EndOfSiding_step_2.Match newMatch(final Train pTrain) { + return EndOfSiding_step_2.Match.newMatch(pTrain); + } + + /** + * Retrieve the set of values that occur in matches for train. + * @return the Set of all values or empty set if there are no matches + * + */ + protected Stream rawStreamAllValuesOftrain(final Object[] parameters) { + return rawStreamAllValues(POSITION_TRAIN, parameters).map(Train.class::cast); + } + + /** + * Retrieve the set of values that occur in matches for train. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOftrain() { + return rawStreamAllValuesOftrain(emptyArray()).collect(Collectors.toSet()); + } + + /** + * Retrieve the set of values that occur in matches for train. + * @return the Set of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOftrain() { + return rawStreamAllValuesOftrain(emptyArray()); + } + + @Override + protected EndOfSiding_step_2.Match tupleToMatch(final Tuple t) { + try { + return EndOfSiding_step_2.Match.newMatch((Train) t.get(POSITION_TRAIN)); + } catch(ClassCastException e) { + LOGGER.error("Element(s) in tuple not properly typed!",e); + return null; + } + } + + @Override + protected EndOfSiding_step_2.Match arrayToMatch(final Object[] match) { + try { + return EndOfSiding_step_2.Match.newMatch((Train) match[POSITION_TRAIN]); + } catch(ClassCastException e) { + LOGGER.error("Element(s) in array not properly typed!",e); + return null; + } + } + + @Override + protected EndOfSiding_step_2.Match arrayToMatchMutable(final Object[] match) { + try { + return EndOfSiding_step_2.Match.newMutableMatch((Train) match[POSITION_TRAIN]); + } catch(ClassCastException e) { + LOGGER.error("Element(s) in array not properly typed!",e); + return null; + } + } + + /** + * @return the singleton instance of the query specification of this pattern + * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded + * + */ + public static IQuerySpecification querySpecification() { + return EndOfSiding_step_2.instance(); + } + } + + private EndOfSiding_step_2() { + super(GeneratedPQuery.INSTANCE); + } + + /** + * @return the singleton instance of the query specification + * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded + * + */ + public static EndOfSiding_step_2 instance() { + try{ + return LazyHolder.INSTANCE; + } catch (ExceptionInInitializerError err) { + throw processInitializerError(err); + } + } + + @Override + protected EndOfSiding_step_2.Matcher instantiate(final ViatraQueryEngine engine) { + return EndOfSiding_step_2.Matcher.on(engine); + } + + @Override + public EndOfSiding_step_2.Matcher instantiate() { + return EndOfSiding_step_2.Matcher.create(); + } + + @Override + public EndOfSiding_step_2.Match newEmptyMatch() { + return EndOfSiding_step_2.Match.newEmptyMatch(); + } + + @Override + public EndOfSiding_step_2.Match newMatch(final Object... parameters) { + return EndOfSiding_step_2.Match.newMatch((modes3.Train) parameters[0]); + } + + /** + * Inner class allowing the singleton instance of {@link EndOfSiding_step_2} to be created + * not at the class load time of the outer class, + * but rather at the first call to {@link EndOfSiding_step_2#instance()}. + * + *

    This workaround is required e.g. to support recursion. + * + */ + private static class LazyHolder { + private static final EndOfSiding_step_2 INSTANCE = new EndOfSiding_step_2(); + + /** + * Statically initializes the query specification after the field {@link #INSTANCE} is assigned. + * This initialization order is required to support indirect recursion. + * + *

    The static initializer is defined using a helper field to work around limitations of the code generator. + * + */ + private static final Object STATIC_INITIALIZER = ensureInitialized(); + + public static Object ensureInitialized() { + INSTANCE.ensureInitializedInternal(); + return null; + } + } + + private static class GeneratedPQuery extends BaseGeneratedEMFPQuery { + private static final EndOfSiding_step_2.GeneratedPQuery INSTANCE = new GeneratedPQuery(); + + private final PParameter parameter_train = new PParameter("train", "modes3.Train", new EClassTransitiveInstancesKey((EClass)getClassifierLiteralSafe("http://www.ece.mcgill.ca/wcet/modes3", "Train")), PParameterDirection.INOUT); + + private final List parameters = Arrays.asList(parameter_train); + + private GeneratedPQuery() { + super(PVisibility.PUBLIC); + } + + @Override + public String getFullyQualifiedName() { + return "modes3.queries.endOfSiding_step_2"; + } + + @Override + public List getParameterNames() { + return Arrays.asList("train"); + } + + @Override + public List getParameters() { + return parameters; + } + + @Override + public Set doGetContainedBodies() { + setEvaluationHints(new QueryEvaluationHint(null, QueryEvaluationHint.BackendRequirement.UNSPECIFIED)); + Set bodies = new LinkedHashSet<>(); + { + PBody body = new PBody(this); + PVariable var_train = body.getOrCreateVariableByName("train"); + new TypeConstraint(body, Tuples.flatTupleOf(var_train), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.ece.mcgill.ca/wcet/modes3", "Train"))); + body.setSymbolicParameters(Arrays.asList( + new ExportedParameter(body, var_train, parameter_train) + )); + // // frame->train = model->trains[i0];// frame->location = frame->train->location;// if (frame->location != NULL) {// ...// } Train(train) + new TypeConstraint(body, Tuples.flatTupleOf(var_train), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.ece.mcgill.ca/wcet/modes3", "Train"))); + bodies.add(body); + } + return bodies; + } + } +} diff --git a/Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/EndOfSiding_step_3.java b/Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/EndOfSiding_step_3.java new file mode 100644 index 00000000..16b28a9f --- /dev/null +++ b/Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/EndOfSiding_step_3.java @@ -0,0 +1,717 @@ +/** + * Generated from platform:/resource/ca.mcgill.rtgmrt.example.modes3/src/modes3/queries/Modes3Queries.vql + */ +package modes3.queries; + +import java.util.Arrays; +import java.util.Collection; +import java.util.LinkedHashSet; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import java.util.Set; +import java.util.function.Consumer; +import java.util.stream.Collectors; +import java.util.stream.Stream; +import modes3.Segment; +import modes3.Train; +import org.apache.log4j.Logger; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.viatra.query.runtime.api.IPatternMatch; +import org.eclipse.viatra.query.runtime.api.IQuerySpecification; +import org.eclipse.viatra.query.runtime.api.ViatraQueryEngine; +import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFPQuery; +import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFQuerySpecification; +import org.eclipse.viatra.query.runtime.api.impl.BaseMatcher; +import org.eclipse.viatra.query.runtime.api.impl.BasePatternMatch; +import org.eclipse.viatra.query.runtime.emf.types.EClassTransitiveInstancesKey; +import org.eclipse.viatra.query.runtime.emf.types.EStructuralFeatureInstancesKey; +import org.eclipse.viatra.query.runtime.matchers.backend.QueryEvaluationHint; +import org.eclipse.viatra.query.runtime.matchers.psystem.PBody; +import org.eclipse.viatra.query.runtime.matchers.psystem.PVariable; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.Equality; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.ExportedParameter; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicenumerables.TypeConstraint; +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameter; +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameterDirection; +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PVisibility; +import org.eclipse.viatra.query.runtime.matchers.tuple.Tuple; +import org.eclipse.viatra.query.runtime.matchers.tuple.Tuples; +import org.eclipse.viatra.query.runtime.util.ViatraQueryLoggingUtil; + +/** + * A pattern-specific query specification that can instantiate Matcher in a type-safe way. + * + *

    Original source: + *

    + *         pattern endOfSiding_step_3(in train : Train, in location : Segment) {
    + *         //     int loop_bound1 = frame-{@literal >}location-{@literal >}connected_to_count;
    + *         //     for (int i1 = 0; i1 {@literal <} loop_bound1; i1++) {
    + *         //       ...
    + *         //     }
    + *         	Train(train);
    + *             Train.location(train, location);
    + *         }
    + * 
    + * + * @see Matcher + * @see Match + * + */ +@SuppressWarnings("all") +public final class EndOfSiding_step_3 extends BaseGeneratedEMFQuerySpecification { + /** + * Pattern-specific match representation of the modes3.queries.endOfSiding_step_3 pattern, + * to be used in conjunction with {@link Matcher}. + * + *

    Class fields correspond to parameters of the pattern. Fields with value null are considered unassigned. + * Each instance is a (possibly partial) substitution of pattern parameters, + * usable to represent a match of the pattern in the result of a query, + * or to specify the bound (fixed) input parameters when issuing a query. + * + * @see Matcher + * + */ + public static abstract class Match extends BasePatternMatch { + private Train fTrain; + + private Segment fLocation; + + private static List parameterNames = makeImmutableList("train", "location"); + + private Match(final Train pTrain, final Segment pLocation) { + this.fTrain = pTrain; + this.fLocation = pLocation; + } + + @Override + public Object get(final String parameterName) { + switch(parameterName) { + case "train": return this.fTrain; + case "location": return this.fLocation; + default: return null; + } + } + + @Override + public Object get(final int index) { + switch(index) { + case 0: return this.fTrain; + case 1: return this.fLocation; + default: return null; + } + } + + public Train getTrain() { + return this.fTrain; + } + + public Segment getLocation() { + return this.fLocation; + } + + @Override + public boolean set(final String parameterName, final Object newValue) { + if (!isMutable()) throw new java.lang.UnsupportedOperationException(); + if ("train".equals(parameterName) ) { + this.fTrain = (Train) newValue; + return true; + } + if ("location".equals(parameterName) ) { + this.fLocation = (Segment) newValue; + return true; + } + return false; + } + + public void setTrain(final Train pTrain) { + if (!isMutable()) throw new java.lang.UnsupportedOperationException(); + this.fTrain = pTrain; + } + + public void setLocation(final Segment pLocation) { + if (!isMutable()) throw new java.lang.UnsupportedOperationException(); + this.fLocation = pLocation; + } + + @Override + public String patternName() { + return "modes3.queries.endOfSiding_step_3"; + } + + @Override + public List parameterNames() { + return EndOfSiding_step_3.Match.parameterNames; + } + + @Override + public Object[] toArray() { + return new Object[]{fTrain, fLocation}; + } + + @Override + public EndOfSiding_step_3.Match toImmutable() { + return isMutable() ? newMatch(fTrain, fLocation) : this; + } + + @Override + public String prettyPrint() { + StringBuilder result = new StringBuilder(); + result.append("\"train\"=" + prettyPrintValue(fTrain) + ", "); + result.append("\"location\"=" + prettyPrintValue(fLocation)); + return result.toString(); + } + + @Override + public int hashCode() { + return Objects.hash(fTrain, fLocation); + } + + @Override + public boolean equals(final Object obj) { + if (this == obj) + return true; + if (obj == null) { + return false; + } + if ((obj instanceof EndOfSiding_step_3.Match)) { + EndOfSiding_step_3.Match other = (EndOfSiding_step_3.Match) obj; + return Objects.equals(fTrain, other.fTrain) && Objects.equals(fLocation, other.fLocation); + } else { + // this should be infrequent + if (!(obj instanceof IPatternMatch)) { + return false; + } + IPatternMatch otherSig = (IPatternMatch) obj; + return Objects.equals(specification(), otherSig.specification()) && Arrays.deepEquals(toArray(), otherSig.toArray()); + } + } + + @Override + public EndOfSiding_step_3 specification() { + return EndOfSiding_step_3.instance(); + } + + /** + * Returns an empty, mutable match. + * Fields of the mutable match can be filled to create a partial match, usable as matcher input. + * + * @return the empty match. + * + */ + public static EndOfSiding_step_3.Match newEmptyMatch() { + return new Mutable(null, null); + } + + /** + * Returns a mutable (partial) match. + * Fields of the mutable match can be filled to create a partial match, usable as matcher input. + * + * @param pTrain the fixed value of pattern parameter train, or null if not bound. + * @param pLocation the fixed value of pattern parameter location, or null if not bound. + * @return the new, mutable (partial) match object. + * + */ + public static EndOfSiding_step_3.Match newMutableMatch(final Train pTrain, final Segment pLocation) { + return new Mutable(pTrain, pLocation); + } + + /** + * Returns a new (partial) match. + * This can be used e.g. to call the matcher with a partial match. + *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. + * @param pTrain the fixed value of pattern parameter train, or null if not bound. + * @param pLocation the fixed value of pattern parameter location, or null if not bound. + * @return the (partial) match object. + * + */ + public static EndOfSiding_step_3.Match newMatch(final Train pTrain, final Segment pLocation) { + return new Immutable(pTrain, pLocation); + } + + private static final class Mutable extends EndOfSiding_step_3.Match { + Mutable(final Train pTrain, final Segment pLocation) { + super(pTrain, pLocation); + } + + @Override + public boolean isMutable() { + return true; + } + } + + private static final class Immutable extends EndOfSiding_step_3.Match { + Immutable(final Train pTrain, final Segment pLocation) { + super(pTrain, pLocation); + } + + @Override + public boolean isMutable() { + return false; + } + } + } + + /** + * Generated pattern matcher API of the modes3.queries.endOfSiding_step_3 pattern, + * providing pattern-specific query methods. + * + *

    Use the pattern matcher on a given model via {@link #on(ViatraQueryEngine)}, + * e.g. in conjunction with {@link ViatraQueryEngine#on(QueryScope)}. + * + *

    Matches of the pattern will be represented as {@link Match}. + * + *

    Original source: + *

    +   * pattern endOfSiding_step_3(in train : Train, in location : Segment) {
    +   * //     int loop_bound1 = frame-{@literal >}location-{@literal >}connected_to_count;
    +   * //     for (int i1 = 0; i1 {@literal <} loop_bound1; i1++) {
    +   * //       ...
    +   * //     }
    +   * 	Train(train);
    +   *     Train.location(train, location);
    +   * }
    +   * 
    + * + * @see Match + * @see EndOfSiding_step_3 + * + */ + public static class Matcher extends BaseMatcher { + /** + * Initializes the pattern matcher within an existing VIATRA Query engine. + * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. + * + * @param engine the existing VIATRA Query engine in which this matcher will be created. + * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation + * + */ + public static EndOfSiding_step_3.Matcher on(final ViatraQueryEngine engine) { + // check if matcher already exists + Matcher matcher = engine.getExistingMatcher(querySpecification()); + if (matcher == null) { + matcher = (Matcher)engine.getMatcher(querySpecification()); + } + return matcher; + } + + /** + * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation + * @return an initialized matcher + * @noreference This method is for internal matcher initialization by the framework, do not call it manually. + * + */ + public static EndOfSiding_step_3.Matcher create() { + return new Matcher(); + } + + private static final int POSITION_TRAIN = 0; + + private static final int POSITION_LOCATION = 1; + + private static final Logger LOGGER = ViatraQueryLoggingUtil.getLogger(EndOfSiding_step_3.Matcher.class); + + /** + * Initializes the pattern matcher within an existing VIATRA Query engine. + * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. + * + * @param engine the existing VIATRA Query engine in which this matcher will be created. + * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation + * + */ + private Matcher() { + super(querySpecification()); + } + + /** + * Returns the set of all matches of the pattern that conform to the given fixed values of some parameters. + * @param pTrain the fixed value of pattern parameter train, or null if not bound. + * @param pLocation the fixed value of pattern parameter location, or null if not bound. + * @return matches represented as a Match object. + * + */ + public Collection getAllMatches(final Train pTrain, final Segment pLocation) { + return rawStreamAllMatches(new Object[]{pTrain, pLocation}).collect(Collectors.toSet()); + } + + /** + * Returns a stream of all matches of the pattern that conform to the given fixed values of some parameters. + *

    + * NOTE: It is important not to modify the source model while the stream is being processed. + * If the match set of the pattern changes during processing, the contents of the stream is undefined. + * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. + * @param pTrain the fixed value of pattern parameter train, or null if not bound. + * @param pLocation the fixed value of pattern parameter location, or null if not bound. + * @return a stream of matches represented as a Match object. + * + */ + public Stream streamAllMatches(final Train pTrain, final Segment pLocation) { + return rawStreamAllMatches(new Object[]{pTrain, pLocation}); + } + + /** + * Returns an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. + * Neither determinism nor randomness of selection is guaranteed. + * @param pTrain the fixed value of pattern parameter train, or null if not bound. + * @param pLocation the fixed value of pattern parameter location, or null if not bound. + * @return a match represented as a Match object, or null if no match is found. + * + */ + public Optional getOneArbitraryMatch(final Train pTrain, final Segment pLocation) { + return rawGetOneArbitraryMatch(new Object[]{pTrain, pLocation}); + } + + /** + * Indicates whether the given combination of specified pattern parameters constitute a valid pattern match, + * under any possible substitution of the unspecified parameters (if any). + * @param pTrain the fixed value of pattern parameter train, or null if not bound. + * @param pLocation the fixed value of pattern parameter location, or null if not bound. + * @return true if the input is a valid (partial) match of the pattern. + * + */ + public boolean hasMatch(final Train pTrain, final Segment pLocation) { + return rawHasMatch(new Object[]{pTrain, pLocation}); + } + + /** + * Returns the number of all matches of the pattern that conform to the given fixed values of some parameters. + * @param pTrain the fixed value of pattern parameter train, or null if not bound. + * @param pLocation the fixed value of pattern parameter location, or null if not bound. + * @return the number of pattern matches found. + * + */ + public int countMatches(final Train pTrain, final Segment pLocation) { + return rawCountMatches(new Object[]{pTrain, pLocation}); + } + + /** + * Executes the given processor on an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. + * Neither determinism nor randomness of selection is guaranteed. + * @param pTrain the fixed value of pattern parameter train, or null if not bound. + * @param pLocation the fixed value of pattern parameter location, or null if not bound. + * @param processor the action that will process the selected match. + * @return true if the pattern has at least one match with the given parameter values, false if the processor was not invoked + * + */ + public boolean forOneArbitraryMatch(final Train pTrain, final Segment pLocation, final Consumer processor) { + return rawForOneArbitraryMatch(new Object[]{pTrain, pLocation}, processor); + } + + /** + * Returns a new (partial) match. + * This can be used e.g. to call the matcher with a partial match. + *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. + * @param pTrain the fixed value of pattern parameter train, or null if not bound. + * @param pLocation the fixed value of pattern parameter location, or null if not bound. + * @return the (partial) match object. + * + */ + public EndOfSiding_step_3.Match newMatch(final Train pTrain, final Segment pLocation) { + return EndOfSiding_step_3.Match.newMatch(pTrain, pLocation); + } + + /** + * Retrieve the set of values that occur in matches for train. + * @return the Set of all values or empty set if there are no matches + * + */ + protected Stream rawStreamAllValuesOftrain(final Object[] parameters) { + return rawStreamAllValues(POSITION_TRAIN, parameters).map(Train.class::cast); + } + + /** + * Retrieve the set of values that occur in matches for train. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOftrain() { + return rawStreamAllValuesOftrain(emptyArray()).collect(Collectors.toSet()); + } + + /** + * Retrieve the set of values that occur in matches for train. + * @return the Set of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOftrain() { + return rawStreamAllValuesOftrain(emptyArray()); + } + + /** + * Retrieve the set of values that occur in matches for train. + *

    + * NOTE: It is important not to modify the source model while the stream is being processed. + * If the match set of the pattern changes during processing, the contents of the stream is undefined. + * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. + * + * @return the Stream of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOftrain(final EndOfSiding_step_3.Match partialMatch) { + return rawStreamAllValuesOftrain(partialMatch.toArray()); + } + + /** + * Retrieve the set of values that occur in matches for train. + *

    + * NOTE: It is important not to modify the source model while the stream is being processed. + * If the match set of the pattern changes during processing, the contents of the stream is undefined. + * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. + * + * @return the Stream of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOftrain(final Segment pLocation) { + return rawStreamAllValuesOftrain(new Object[]{null, pLocation}); + } + + /** + * Retrieve the set of values that occur in matches for train. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOftrain(final EndOfSiding_step_3.Match partialMatch) { + return rawStreamAllValuesOftrain(partialMatch.toArray()).collect(Collectors.toSet()); + } + + /** + * Retrieve the set of values that occur in matches for train. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOftrain(final Segment pLocation) { + return rawStreamAllValuesOftrain(new Object[]{null, pLocation}).collect(Collectors.toSet()); + } + + /** + * Retrieve the set of values that occur in matches for location. + * @return the Set of all values or empty set if there are no matches + * + */ + protected Stream rawStreamAllValuesOflocation(final Object[] parameters) { + return rawStreamAllValues(POSITION_LOCATION, parameters).map(Segment.class::cast); + } + + /** + * Retrieve the set of values that occur in matches for location. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOflocation() { + return rawStreamAllValuesOflocation(emptyArray()).collect(Collectors.toSet()); + } + + /** + * Retrieve the set of values that occur in matches for location. + * @return the Set of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOflocation() { + return rawStreamAllValuesOflocation(emptyArray()); + } + + /** + * Retrieve the set of values that occur in matches for location. + *

    + * NOTE: It is important not to modify the source model while the stream is being processed. + * If the match set of the pattern changes during processing, the contents of the stream is undefined. + * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. + * + * @return the Stream of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOflocation(final EndOfSiding_step_3.Match partialMatch) { + return rawStreamAllValuesOflocation(partialMatch.toArray()); + } + + /** + * Retrieve the set of values that occur in matches for location. + *

    + * NOTE: It is important not to modify the source model while the stream is being processed. + * If the match set of the pattern changes during processing, the contents of the stream is undefined. + * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. + * + * @return the Stream of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOflocation(final Train pTrain) { + return rawStreamAllValuesOflocation(new Object[]{pTrain, null}); + } + + /** + * Retrieve the set of values that occur in matches for location. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOflocation(final EndOfSiding_step_3.Match partialMatch) { + return rawStreamAllValuesOflocation(partialMatch.toArray()).collect(Collectors.toSet()); + } + + /** + * Retrieve the set of values that occur in matches for location. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOflocation(final Train pTrain) { + return rawStreamAllValuesOflocation(new Object[]{pTrain, null}).collect(Collectors.toSet()); + } + + @Override + protected EndOfSiding_step_3.Match tupleToMatch(final Tuple t) { + try { + return EndOfSiding_step_3.Match.newMatch((Train) t.get(POSITION_TRAIN), (Segment) t.get(POSITION_LOCATION)); + } catch(ClassCastException e) { + LOGGER.error("Element(s) in tuple not properly typed!",e); + return null; + } + } + + @Override + protected EndOfSiding_step_3.Match arrayToMatch(final Object[] match) { + try { + return EndOfSiding_step_3.Match.newMatch((Train) match[POSITION_TRAIN], (Segment) match[POSITION_LOCATION]); + } catch(ClassCastException e) { + LOGGER.error("Element(s) in array not properly typed!",e); + return null; + } + } + + @Override + protected EndOfSiding_step_3.Match arrayToMatchMutable(final Object[] match) { + try { + return EndOfSiding_step_3.Match.newMutableMatch((Train) match[POSITION_TRAIN], (Segment) match[POSITION_LOCATION]); + } catch(ClassCastException e) { + LOGGER.error("Element(s) in array not properly typed!",e); + return null; + } + } + + /** + * @return the singleton instance of the query specification of this pattern + * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded + * + */ + public static IQuerySpecification querySpecification() { + return EndOfSiding_step_3.instance(); + } + } + + private EndOfSiding_step_3() { + super(GeneratedPQuery.INSTANCE); + } + + /** + * @return the singleton instance of the query specification + * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded + * + */ + public static EndOfSiding_step_3 instance() { + try{ + return LazyHolder.INSTANCE; + } catch (ExceptionInInitializerError err) { + throw processInitializerError(err); + } + } + + @Override + protected EndOfSiding_step_3.Matcher instantiate(final ViatraQueryEngine engine) { + return EndOfSiding_step_3.Matcher.on(engine); + } + + @Override + public EndOfSiding_step_3.Matcher instantiate() { + return EndOfSiding_step_3.Matcher.create(); + } + + @Override + public EndOfSiding_step_3.Match newEmptyMatch() { + return EndOfSiding_step_3.Match.newEmptyMatch(); + } + + @Override + public EndOfSiding_step_3.Match newMatch(final Object... parameters) { + return EndOfSiding_step_3.Match.newMatch((modes3.Train) parameters[0], (modes3.Segment) parameters[1]); + } + + /** + * Inner class allowing the singleton instance of {@link EndOfSiding_step_3} to be created + * not at the class load time of the outer class, + * but rather at the first call to {@link EndOfSiding_step_3#instance()}. + * + *

    This workaround is required e.g. to support recursion. + * + */ + private static class LazyHolder { + private static final EndOfSiding_step_3 INSTANCE = new EndOfSiding_step_3(); + + /** + * Statically initializes the query specification after the field {@link #INSTANCE} is assigned. + * This initialization order is required to support indirect recursion. + * + *

    The static initializer is defined using a helper field to work around limitations of the code generator. + * + */ + private static final Object STATIC_INITIALIZER = ensureInitialized(); + + public static Object ensureInitialized() { + INSTANCE.ensureInitializedInternal(); + return null; + } + } + + private static class GeneratedPQuery extends BaseGeneratedEMFPQuery { + private static final EndOfSiding_step_3.GeneratedPQuery INSTANCE = new GeneratedPQuery(); + + private final PParameter parameter_train = new PParameter("train", "modes3.Train", new EClassTransitiveInstancesKey((EClass)getClassifierLiteralSafe("http://www.ece.mcgill.ca/wcet/modes3", "Train")), PParameterDirection.INOUT); + + private final PParameter parameter_location = new PParameter("location", "modes3.Segment", new EClassTransitiveInstancesKey((EClass)getClassifierLiteralSafe("http://www.ece.mcgill.ca/wcet/modes3", "Segment")), PParameterDirection.INOUT); + + private final List parameters = Arrays.asList(parameter_train, parameter_location); + + private GeneratedPQuery() { + super(PVisibility.PUBLIC); + } + + @Override + public String getFullyQualifiedName() { + return "modes3.queries.endOfSiding_step_3"; + } + + @Override + public List getParameterNames() { + return Arrays.asList("train","location"); + } + + @Override + public List getParameters() { + return parameters; + } + + @Override + public Set doGetContainedBodies() { + setEvaluationHints(new QueryEvaluationHint(null, QueryEvaluationHint.BackendRequirement.UNSPECIFIED)); + Set bodies = new LinkedHashSet<>(); + { + PBody body = new PBody(this); + PVariable var_train = body.getOrCreateVariableByName("train"); + PVariable var_location = body.getOrCreateVariableByName("location"); + new TypeConstraint(body, Tuples.flatTupleOf(var_train), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.ece.mcgill.ca/wcet/modes3", "Train"))); + new TypeConstraint(body, Tuples.flatTupleOf(var_location), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.ece.mcgill.ca/wcet/modes3", "Segment"))); + body.setSymbolicParameters(Arrays.asList( + new ExportedParameter(body, var_train, parameter_train), + new ExportedParameter(body, var_location, parameter_location) + )); + // // int loop_bound1 = frame->location->connected_to_count;// for (int i1 = 0; i1 < loop_bound1; i1++) {// ...// } Train(train) + new TypeConstraint(body, Tuples.flatTupleOf(var_train), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.ece.mcgill.ca/wcet/modes3", "Train"))); + // Train.location(train, location) + new TypeConstraint(body, Tuples.flatTupleOf(var_train), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.ece.mcgill.ca/wcet/modes3", "Train"))); + PVariable var__virtual_0_ = body.getOrCreateVariableByName(".virtual{0}"); + new TypeConstraint(body, Tuples.flatTupleOf(var_train, var__virtual_0_), new EStructuralFeatureInstancesKey(getFeatureLiteral("http://www.ece.mcgill.ca/wcet/modes3", "Train", "location"))); + new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_0_), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.ece.mcgill.ca/wcet/modes3", "Segment"))); + new Equality(body, var__virtual_0_, var_location); + bodies.add(body); + } + return bodies; + } + } +} diff --git a/Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/EndOfSiding_step_4.java b/Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/EndOfSiding_step_4.java new file mode 100644 index 00000000..73df8514 --- /dev/null +++ b/Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/EndOfSiding_step_4.java @@ -0,0 +1,847 @@ +/** + * Generated from platform:/resource/ca.mcgill.rtgmrt.example.modes3/src/modes3/queries/Modes3Queries.vql + */ +package modes3.queries; + +import java.util.Arrays; +import java.util.Collection; +import java.util.LinkedHashSet; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import java.util.Set; +import java.util.function.Consumer; +import java.util.stream.Collectors; +import java.util.stream.Stream; +import modes3.Segment; +import modes3.Train; +import org.apache.log4j.Logger; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.viatra.query.runtime.api.IPatternMatch; +import org.eclipse.viatra.query.runtime.api.IQuerySpecification; +import org.eclipse.viatra.query.runtime.api.ViatraQueryEngine; +import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFPQuery; +import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFQuerySpecification; +import org.eclipse.viatra.query.runtime.api.impl.BaseMatcher; +import org.eclipse.viatra.query.runtime.api.impl.BasePatternMatch; +import org.eclipse.viatra.query.runtime.emf.types.EClassTransitiveInstancesKey; +import org.eclipse.viatra.query.runtime.emf.types.EStructuralFeatureInstancesKey; +import org.eclipse.viatra.query.runtime.matchers.backend.QueryEvaluationHint; +import org.eclipse.viatra.query.runtime.matchers.psystem.PBody; +import org.eclipse.viatra.query.runtime.matchers.psystem.PVariable; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.Equality; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.ExportedParameter; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicenumerables.TypeConstraint; +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameter; +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameterDirection; +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PVisibility; +import org.eclipse.viatra.query.runtime.matchers.tuple.Tuple; +import org.eclipse.viatra.query.runtime.matchers.tuple.Tuples; +import org.eclipse.viatra.query.runtime.util.ViatraQueryLoggingUtil; + +/** + * A pattern-specific query specification that can instantiate Matcher in a type-safe way. + * + *

    Original source: + *

    + *         pattern endOfSiding_step_4(in train : Train, in location : Segment, in end : Segment) {
    + *         //       frame-{@literal >}end = frame-{@literal >}location-{@literal >}connected_to[i1];
    + *         //       if (frame-{@literal >}end != NULL &&
    + *         //			 frame-{@literal >}end-{@literal >}connected_to[1] == frame-{@literal >}location &&
    + *         //           frame-{@literal >}end-{@literal >}connected_to[0] == NULL) {
    + *         //         ...
    + *         //       } 
    + *         //     	 if (frame-{@literal >}end != NULL &&
    + *         //			 frame-{@literal >}end-{@literal >}connected_to[0] == frame-{@literal >}location &&
    + *         //           frame-{@literal >}end-{@literal >}connected_to[1] == NULL) {
    + *         //         ...
    + *         //       }
    + *         	Train(train);
    + *             Train.location(train, location);
    + *             Segment.connectedTo(location, end);
    + *         }
    + * 
    + * + * @see Matcher + * @see Match + * + */ +@SuppressWarnings("all") +public final class EndOfSiding_step_4 extends BaseGeneratedEMFQuerySpecification { + /** + * Pattern-specific match representation of the modes3.queries.endOfSiding_step_4 pattern, + * to be used in conjunction with {@link Matcher}. + * + *

    Class fields correspond to parameters of the pattern. Fields with value null are considered unassigned. + * Each instance is a (possibly partial) substitution of pattern parameters, + * usable to represent a match of the pattern in the result of a query, + * or to specify the bound (fixed) input parameters when issuing a query. + * + * @see Matcher + * + */ + public static abstract class Match extends BasePatternMatch { + private Train fTrain; + + private Segment fLocation; + + private Segment fEnd; + + private static List parameterNames = makeImmutableList("train", "location", "end"); + + private Match(final Train pTrain, final Segment pLocation, final Segment pEnd) { + this.fTrain = pTrain; + this.fLocation = pLocation; + this.fEnd = pEnd; + } + + @Override + public Object get(final String parameterName) { + switch(parameterName) { + case "train": return this.fTrain; + case "location": return this.fLocation; + case "end": return this.fEnd; + default: return null; + } + } + + @Override + public Object get(final int index) { + switch(index) { + case 0: return this.fTrain; + case 1: return this.fLocation; + case 2: return this.fEnd; + default: return null; + } + } + + public Train getTrain() { + return this.fTrain; + } + + public Segment getLocation() { + return this.fLocation; + } + + public Segment getEnd() { + return this.fEnd; + } + + @Override + public boolean set(final String parameterName, final Object newValue) { + if (!isMutable()) throw new java.lang.UnsupportedOperationException(); + if ("train".equals(parameterName) ) { + this.fTrain = (Train) newValue; + return true; + } + if ("location".equals(parameterName) ) { + this.fLocation = (Segment) newValue; + return true; + } + if ("end".equals(parameterName) ) { + this.fEnd = (Segment) newValue; + return true; + } + return false; + } + + public void setTrain(final Train pTrain) { + if (!isMutable()) throw new java.lang.UnsupportedOperationException(); + this.fTrain = pTrain; + } + + public void setLocation(final Segment pLocation) { + if (!isMutable()) throw new java.lang.UnsupportedOperationException(); + this.fLocation = pLocation; + } + + public void setEnd(final Segment pEnd) { + if (!isMutable()) throw new java.lang.UnsupportedOperationException(); + this.fEnd = pEnd; + } + + @Override + public String patternName() { + return "modes3.queries.endOfSiding_step_4"; + } + + @Override + public List parameterNames() { + return EndOfSiding_step_4.Match.parameterNames; + } + + @Override + public Object[] toArray() { + return new Object[]{fTrain, fLocation, fEnd}; + } + + @Override + public EndOfSiding_step_4.Match toImmutable() { + return isMutable() ? newMatch(fTrain, fLocation, fEnd) : this; + } + + @Override + public String prettyPrint() { + StringBuilder result = new StringBuilder(); + result.append("\"train\"=" + prettyPrintValue(fTrain) + ", "); + result.append("\"location\"=" + prettyPrintValue(fLocation) + ", "); + result.append("\"end\"=" + prettyPrintValue(fEnd)); + return result.toString(); + } + + @Override + public int hashCode() { + return Objects.hash(fTrain, fLocation, fEnd); + } + + @Override + public boolean equals(final Object obj) { + if (this == obj) + return true; + if (obj == null) { + return false; + } + if ((obj instanceof EndOfSiding_step_4.Match)) { + EndOfSiding_step_4.Match other = (EndOfSiding_step_4.Match) obj; + return Objects.equals(fTrain, other.fTrain) && Objects.equals(fLocation, other.fLocation) && Objects.equals(fEnd, other.fEnd); + } else { + // this should be infrequent + if (!(obj instanceof IPatternMatch)) { + return false; + } + IPatternMatch otherSig = (IPatternMatch) obj; + return Objects.equals(specification(), otherSig.specification()) && Arrays.deepEquals(toArray(), otherSig.toArray()); + } + } + + @Override + public EndOfSiding_step_4 specification() { + return EndOfSiding_step_4.instance(); + } + + /** + * Returns an empty, mutable match. + * Fields of the mutable match can be filled to create a partial match, usable as matcher input. + * + * @return the empty match. + * + */ + public static EndOfSiding_step_4.Match newEmptyMatch() { + return new Mutable(null, null, null); + } + + /** + * Returns a mutable (partial) match. + * Fields of the mutable match can be filled to create a partial match, usable as matcher input. + * + * @param pTrain the fixed value of pattern parameter train, or null if not bound. + * @param pLocation the fixed value of pattern parameter location, or null if not bound. + * @param pEnd the fixed value of pattern parameter end, or null if not bound. + * @return the new, mutable (partial) match object. + * + */ + public static EndOfSiding_step_4.Match newMutableMatch(final Train pTrain, final Segment pLocation, final Segment pEnd) { + return new Mutable(pTrain, pLocation, pEnd); + } + + /** + * Returns a new (partial) match. + * This can be used e.g. to call the matcher with a partial match. + *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. + * @param pTrain the fixed value of pattern parameter train, or null if not bound. + * @param pLocation the fixed value of pattern parameter location, or null if not bound. + * @param pEnd the fixed value of pattern parameter end, or null if not bound. + * @return the (partial) match object. + * + */ + public static EndOfSiding_step_4.Match newMatch(final Train pTrain, final Segment pLocation, final Segment pEnd) { + return new Immutable(pTrain, pLocation, pEnd); + } + + private static final class Mutable extends EndOfSiding_step_4.Match { + Mutable(final Train pTrain, final Segment pLocation, final Segment pEnd) { + super(pTrain, pLocation, pEnd); + } + + @Override + public boolean isMutable() { + return true; + } + } + + private static final class Immutable extends EndOfSiding_step_4.Match { + Immutable(final Train pTrain, final Segment pLocation, final Segment pEnd) { + super(pTrain, pLocation, pEnd); + } + + @Override + public boolean isMutable() { + return false; + } + } + } + + /** + * Generated pattern matcher API of the modes3.queries.endOfSiding_step_4 pattern, + * providing pattern-specific query methods. + * + *

    Use the pattern matcher on a given model via {@link #on(ViatraQueryEngine)}, + * e.g. in conjunction with {@link ViatraQueryEngine#on(QueryScope)}. + * + *

    Matches of the pattern will be represented as {@link Match}. + * + *

    Original source: + *

    +   * pattern endOfSiding_step_4(in train : Train, in location : Segment, in end : Segment) {
    +   * //       frame-{@literal >}end = frame-{@literal >}location-{@literal >}connected_to[i1];
    +   * //       if (frame-{@literal >}end != NULL &&
    +   * //			 frame-{@literal >}end-{@literal >}connected_to[1] == frame-{@literal >}location &&
    +   * //           frame-{@literal >}end-{@literal >}connected_to[0] == NULL) {
    +   * //         ...
    +   * //       } 
    +   * //     	 if (frame-{@literal >}end != NULL &&
    +   * //			 frame-{@literal >}end-{@literal >}connected_to[0] == frame-{@literal >}location &&
    +   * //           frame-{@literal >}end-{@literal >}connected_to[1] == NULL) {
    +   * //         ...
    +   * //       }
    +   * 	Train(train);
    +   *     Train.location(train, location);
    +   *     Segment.connectedTo(location, end);
    +   * }
    +   * 
    + * + * @see Match + * @see EndOfSiding_step_4 + * + */ + public static class Matcher extends BaseMatcher { + /** + * Initializes the pattern matcher within an existing VIATRA Query engine. + * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. + * + * @param engine the existing VIATRA Query engine in which this matcher will be created. + * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation + * + */ + public static EndOfSiding_step_4.Matcher on(final ViatraQueryEngine engine) { + // check if matcher already exists + Matcher matcher = engine.getExistingMatcher(querySpecification()); + if (matcher == null) { + matcher = (Matcher)engine.getMatcher(querySpecification()); + } + return matcher; + } + + /** + * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation + * @return an initialized matcher + * @noreference This method is for internal matcher initialization by the framework, do not call it manually. + * + */ + public static EndOfSiding_step_4.Matcher create() { + return new Matcher(); + } + + private static final int POSITION_TRAIN = 0; + + private static final int POSITION_LOCATION = 1; + + private static final int POSITION_END = 2; + + private static final Logger LOGGER = ViatraQueryLoggingUtil.getLogger(EndOfSiding_step_4.Matcher.class); + + /** + * Initializes the pattern matcher within an existing VIATRA Query engine. + * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. + * + * @param engine the existing VIATRA Query engine in which this matcher will be created. + * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation + * + */ + private Matcher() { + super(querySpecification()); + } + + /** + * Returns the set of all matches of the pattern that conform to the given fixed values of some parameters. + * @param pTrain the fixed value of pattern parameter train, or null if not bound. + * @param pLocation the fixed value of pattern parameter location, or null if not bound. + * @param pEnd the fixed value of pattern parameter end, or null if not bound. + * @return matches represented as a Match object. + * + */ + public Collection getAllMatches(final Train pTrain, final Segment pLocation, final Segment pEnd) { + return rawStreamAllMatches(new Object[]{pTrain, pLocation, pEnd}).collect(Collectors.toSet()); + } + + /** + * Returns a stream of all matches of the pattern that conform to the given fixed values of some parameters. + *

    + * NOTE: It is important not to modify the source model while the stream is being processed. + * If the match set of the pattern changes during processing, the contents of the stream is undefined. + * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. + * @param pTrain the fixed value of pattern parameter train, or null if not bound. + * @param pLocation the fixed value of pattern parameter location, or null if not bound. + * @param pEnd the fixed value of pattern parameter end, or null if not bound. + * @return a stream of matches represented as a Match object. + * + */ + public Stream streamAllMatches(final Train pTrain, final Segment pLocation, final Segment pEnd) { + return rawStreamAllMatches(new Object[]{pTrain, pLocation, pEnd}); + } + + /** + * Returns an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. + * Neither determinism nor randomness of selection is guaranteed. + * @param pTrain the fixed value of pattern parameter train, or null if not bound. + * @param pLocation the fixed value of pattern parameter location, or null if not bound. + * @param pEnd the fixed value of pattern parameter end, or null if not bound. + * @return a match represented as a Match object, or null if no match is found. + * + */ + public Optional getOneArbitraryMatch(final Train pTrain, final Segment pLocation, final Segment pEnd) { + return rawGetOneArbitraryMatch(new Object[]{pTrain, pLocation, pEnd}); + } + + /** + * Indicates whether the given combination of specified pattern parameters constitute a valid pattern match, + * under any possible substitution of the unspecified parameters (if any). + * @param pTrain the fixed value of pattern parameter train, or null if not bound. + * @param pLocation the fixed value of pattern parameter location, or null if not bound. + * @param pEnd the fixed value of pattern parameter end, or null if not bound. + * @return true if the input is a valid (partial) match of the pattern. + * + */ + public boolean hasMatch(final Train pTrain, final Segment pLocation, final Segment pEnd) { + return rawHasMatch(new Object[]{pTrain, pLocation, pEnd}); + } + + /** + * Returns the number of all matches of the pattern that conform to the given fixed values of some parameters. + * @param pTrain the fixed value of pattern parameter train, or null if not bound. + * @param pLocation the fixed value of pattern parameter location, or null if not bound. + * @param pEnd the fixed value of pattern parameter end, or null if not bound. + * @return the number of pattern matches found. + * + */ + public int countMatches(final Train pTrain, final Segment pLocation, final Segment pEnd) { + return rawCountMatches(new Object[]{pTrain, pLocation, pEnd}); + } + + /** + * Executes the given processor on an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. + * Neither determinism nor randomness of selection is guaranteed. + * @param pTrain the fixed value of pattern parameter train, or null if not bound. + * @param pLocation the fixed value of pattern parameter location, or null if not bound. + * @param pEnd the fixed value of pattern parameter end, or null if not bound. + * @param processor the action that will process the selected match. + * @return true if the pattern has at least one match with the given parameter values, false if the processor was not invoked + * + */ + public boolean forOneArbitraryMatch(final Train pTrain, final Segment pLocation, final Segment pEnd, final Consumer processor) { + return rawForOneArbitraryMatch(new Object[]{pTrain, pLocation, pEnd}, processor); + } + + /** + * Returns a new (partial) match. + * This can be used e.g. to call the matcher with a partial match. + *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. + * @param pTrain the fixed value of pattern parameter train, or null if not bound. + * @param pLocation the fixed value of pattern parameter location, or null if not bound. + * @param pEnd the fixed value of pattern parameter end, or null if not bound. + * @return the (partial) match object. + * + */ + public EndOfSiding_step_4.Match newMatch(final Train pTrain, final Segment pLocation, final Segment pEnd) { + return EndOfSiding_step_4.Match.newMatch(pTrain, pLocation, pEnd); + } + + /** + * Retrieve the set of values that occur in matches for train. + * @return the Set of all values or empty set if there are no matches + * + */ + protected Stream rawStreamAllValuesOftrain(final Object[] parameters) { + return rawStreamAllValues(POSITION_TRAIN, parameters).map(Train.class::cast); + } + + /** + * Retrieve the set of values that occur in matches for train. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOftrain() { + return rawStreamAllValuesOftrain(emptyArray()).collect(Collectors.toSet()); + } + + /** + * Retrieve the set of values that occur in matches for train. + * @return the Set of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOftrain() { + return rawStreamAllValuesOftrain(emptyArray()); + } + + /** + * Retrieve the set of values that occur in matches for train. + *

    + * NOTE: It is important not to modify the source model while the stream is being processed. + * If the match set of the pattern changes during processing, the contents of the stream is undefined. + * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. + * + * @return the Stream of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOftrain(final EndOfSiding_step_4.Match partialMatch) { + return rawStreamAllValuesOftrain(partialMatch.toArray()); + } + + /** + * Retrieve the set of values that occur in matches for train. + *

    + * NOTE: It is important not to modify the source model while the stream is being processed. + * If the match set of the pattern changes during processing, the contents of the stream is undefined. + * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. + * + * @return the Stream of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOftrain(final Segment pLocation, final Segment pEnd) { + return rawStreamAllValuesOftrain(new Object[]{null, pLocation, pEnd}); + } + + /** + * Retrieve the set of values that occur in matches for train. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOftrain(final EndOfSiding_step_4.Match partialMatch) { + return rawStreamAllValuesOftrain(partialMatch.toArray()).collect(Collectors.toSet()); + } + + /** + * Retrieve the set of values that occur in matches for train. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOftrain(final Segment pLocation, final Segment pEnd) { + return rawStreamAllValuesOftrain(new Object[]{null, pLocation, pEnd}).collect(Collectors.toSet()); + } + + /** + * Retrieve the set of values that occur in matches for location. + * @return the Set of all values or empty set if there are no matches + * + */ + protected Stream rawStreamAllValuesOflocation(final Object[] parameters) { + return rawStreamAllValues(POSITION_LOCATION, parameters).map(Segment.class::cast); + } + + /** + * Retrieve the set of values that occur in matches for location. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOflocation() { + return rawStreamAllValuesOflocation(emptyArray()).collect(Collectors.toSet()); + } + + /** + * Retrieve the set of values that occur in matches for location. + * @return the Set of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOflocation() { + return rawStreamAllValuesOflocation(emptyArray()); + } + + /** + * Retrieve the set of values that occur in matches for location. + *

    + * NOTE: It is important not to modify the source model while the stream is being processed. + * If the match set of the pattern changes during processing, the contents of the stream is undefined. + * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. + * + * @return the Stream of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOflocation(final EndOfSiding_step_4.Match partialMatch) { + return rawStreamAllValuesOflocation(partialMatch.toArray()); + } + + /** + * Retrieve the set of values that occur in matches for location. + *

    + * NOTE: It is important not to modify the source model while the stream is being processed. + * If the match set of the pattern changes during processing, the contents of the stream is undefined. + * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. + * + * @return the Stream of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOflocation(final Train pTrain, final Segment pEnd) { + return rawStreamAllValuesOflocation(new Object[]{pTrain, null, pEnd}); + } + + /** + * Retrieve the set of values that occur in matches for location. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOflocation(final EndOfSiding_step_4.Match partialMatch) { + return rawStreamAllValuesOflocation(partialMatch.toArray()).collect(Collectors.toSet()); + } + + /** + * Retrieve the set of values that occur in matches for location. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOflocation(final Train pTrain, final Segment pEnd) { + return rawStreamAllValuesOflocation(new Object[]{pTrain, null, pEnd}).collect(Collectors.toSet()); + } + + /** + * Retrieve the set of values that occur in matches for end. + * @return the Set of all values or empty set if there are no matches + * + */ + protected Stream rawStreamAllValuesOfend(final Object[] parameters) { + return rawStreamAllValues(POSITION_END, parameters).map(Segment.class::cast); + } + + /** + * Retrieve the set of values that occur in matches for end. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOfend() { + return rawStreamAllValuesOfend(emptyArray()).collect(Collectors.toSet()); + } + + /** + * Retrieve the set of values that occur in matches for end. + * @return the Set of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOfend() { + return rawStreamAllValuesOfend(emptyArray()); + } + + /** + * Retrieve the set of values that occur in matches for end. + *

    + * NOTE: It is important not to modify the source model while the stream is being processed. + * If the match set of the pattern changes during processing, the contents of the stream is undefined. + * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. + * + * @return the Stream of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOfend(final EndOfSiding_step_4.Match partialMatch) { + return rawStreamAllValuesOfend(partialMatch.toArray()); + } + + /** + * Retrieve the set of values that occur in matches for end. + *

    + * NOTE: It is important not to modify the source model while the stream is being processed. + * If the match set of the pattern changes during processing, the contents of the stream is undefined. + * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. + * + * @return the Stream of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOfend(final Train pTrain, final Segment pLocation) { + return rawStreamAllValuesOfend(new Object[]{pTrain, pLocation, null}); + } + + /** + * Retrieve the set of values that occur in matches for end. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOfend(final EndOfSiding_step_4.Match partialMatch) { + return rawStreamAllValuesOfend(partialMatch.toArray()).collect(Collectors.toSet()); + } + + /** + * Retrieve the set of values that occur in matches for end. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOfend(final Train pTrain, final Segment pLocation) { + return rawStreamAllValuesOfend(new Object[]{pTrain, pLocation, null}).collect(Collectors.toSet()); + } + + @Override + protected EndOfSiding_step_4.Match tupleToMatch(final Tuple t) { + try { + return EndOfSiding_step_4.Match.newMatch((Train) t.get(POSITION_TRAIN), (Segment) t.get(POSITION_LOCATION), (Segment) t.get(POSITION_END)); + } catch(ClassCastException e) { + LOGGER.error("Element(s) in tuple not properly typed!",e); + return null; + } + } + + @Override + protected EndOfSiding_step_4.Match arrayToMatch(final Object[] match) { + try { + return EndOfSiding_step_4.Match.newMatch((Train) match[POSITION_TRAIN], (Segment) match[POSITION_LOCATION], (Segment) match[POSITION_END]); + } catch(ClassCastException e) { + LOGGER.error("Element(s) in array not properly typed!",e); + return null; + } + } + + @Override + protected EndOfSiding_step_4.Match arrayToMatchMutable(final Object[] match) { + try { + return EndOfSiding_step_4.Match.newMutableMatch((Train) match[POSITION_TRAIN], (Segment) match[POSITION_LOCATION], (Segment) match[POSITION_END]); + } catch(ClassCastException e) { + LOGGER.error("Element(s) in array not properly typed!",e); + return null; + } + } + + /** + * @return the singleton instance of the query specification of this pattern + * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded + * + */ + public static IQuerySpecification querySpecification() { + return EndOfSiding_step_4.instance(); + } + } + + private EndOfSiding_step_4() { + super(GeneratedPQuery.INSTANCE); + } + + /** + * @return the singleton instance of the query specification + * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded + * + */ + public static EndOfSiding_step_4 instance() { + try{ + return LazyHolder.INSTANCE; + } catch (ExceptionInInitializerError err) { + throw processInitializerError(err); + } + } + + @Override + protected EndOfSiding_step_4.Matcher instantiate(final ViatraQueryEngine engine) { + return EndOfSiding_step_4.Matcher.on(engine); + } + + @Override + public EndOfSiding_step_4.Matcher instantiate() { + return EndOfSiding_step_4.Matcher.create(); + } + + @Override + public EndOfSiding_step_4.Match newEmptyMatch() { + return EndOfSiding_step_4.Match.newEmptyMatch(); + } + + @Override + public EndOfSiding_step_4.Match newMatch(final Object... parameters) { + return EndOfSiding_step_4.Match.newMatch((modes3.Train) parameters[0], (modes3.Segment) parameters[1], (modes3.Segment) parameters[2]); + } + + /** + * Inner class allowing the singleton instance of {@link EndOfSiding_step_4} to be created + * not at the class load time of the outer class, + * but rather at the first call to {@link EndOfSiding_step_4#instance()}. + * + *

    This workaround is required e.g. to support recursion. + * + */ + private static class LazyHolder { + private static final EndOfSiding_step_4 INSTANCE = new EndOfSiding_step_4(); + + /** + * Statically initializes the query specification after the field {@link #INSTANCE} is assigned. + * This initialization order is required to support indirect recursion. + * + *

    The static initializer is defined using a helper field to work around limitations of the code generator. + * + */ + private static final Object STATIC_INITIALIZER = ensureInitialized(); + + public static Object ensureInitialized() { + INSTANCE.ensureInitializedInternal(); + return null; + } + } + + private static class GeneratedPQuery extends BaseGeneratedEMFPQuery { + private static final EndOfSiding_step_4.GeneratedPQuery INSTANCE = new GeneratedPQuery(); + + private final PParameter parameter_train = new PParameter("train", "modes3.Train", new EClassTransitiveInstancesKey((EClass)getClassifierLiteralSafe("http://www.ece.mcgill.ca/wcet/modes3", "Train")), PParameterDirection.INOUT); + + private final PParameter parameter_location = new PParameter("location", "modes3.Segment", new EClassTransitiveInstancesKey((EClass)getClassifierLiteralSafe("http://www.ece.mcgill.ca/wcet/modes3", "Segment")), PParameterDirection.INOUT); + + private final PParameter parameter_end = new PParameter("end", "modes3.Segment", new EClassTransitiveInstancesKey((EClass)getClassifierLiteralSafe("http://www.ece.mcgill.ca/wcet/modes3", "Segment")), PParameterDirection.INOUT); + + private final List parameters = Arrays.asList(parameter_train, parameter_location, parameter_end); + + private GeneratedPQuery() { + super(PVisibility.PUBLIC); + } + + @Override + public String getFullyQualifiedName() { + return "modes3.queries.endOfSiding_step_4"; + } + + @Override + public List getParameterNames() { + return Arrays.asList("train","location","end"); + } + + @Override + public List getParameters() { + return parameters; + } + + @Override + public Set doGetContainedBodies() { + setEvaluationHints(new QueryEvaluationHint(null, QueryEvaluationHint.BackendRequirement.UNSPECIFIED)); + Set bodies = new LinkedHashSet<>(); + { + PBody body = new PBody(this); + PVariable var_train = body.getOrCreateVariableByName("train"); + PVariable var_location = body.getOrCreateVariableByName("location"); + PVariable var_end = body.getOrCreateVariableByName("end"); + new TypeConstraint(body, Tuples.flatTupleOf(var_train), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.ece.mcgill.ca/wcet/modes3", "Train"))); + new TypeConstraint(body, Tuples.flatTupleOf(var_location), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.ece.mcgill.ca/wcet/modes3", "Segment"))); + new TypeConstraint(body, Tuples.flatTupleOf(var_end), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.ece.mcgill.ca/wcet/modes3", "Segment"))); + body.setSymbolicParameters(Arrays.asList( + new ExportedParameter(body, var_train, parameter_train), + new ExportedParameter(body, var_location, parameter_location), + new ExportedParameter(body, var_end, parameter_end) + )); + // // frame->end = frame->location->connected_to[i1];// if (frame->end != NULL &&// frame->end->connected_to[1] == frame->location &&// frame->end->connected_to[0] == NULL) {// ...// } // if (frame->end != NULL &&// frame->end->connected_to[0] == frame->location &&// frame->end->connected_to[1] == NULL) {// ...// } Train(train) + new TypeConstraint(body, Tuples.flatTupleOf(var_train), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.ece.mcgill.ca/wcet/modes3", "Train"))); + // Train.location(train, location) + new TypeConstraint(body, Tuples.flatTupleOf(var_train), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.ece.mcgill.ca/wcet/modes3", "Train"))); + PVariable var__virtual_0_ = body.getOrCreateVariableByName(".virtual{0}"); + new TypeConstraint(body, Tuples.flatTupleOf(var_train, var__virtual_0_), new EStructuralFeatureInstancesKey(getFeatureLiteral("http://www.ece.mcgill.ca/wcet/modes3", "Train", "location"))); + new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_0_), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.ece.mcgill.ca/wcet/modes3", "Segment"))); + new Equality(body, var__virtual_0_, var_location); + // Segment.connectedTo(location, end) + new TypeConstraint(body, Tuples.flatTupleOf(var_location), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.ece.mcgill.ca/wcet/modes3", "Segment"))); + PVariable var__virtual_1_ = body.getOrCreateVariableByName(".virtual{1}"); + new TypeConstraint(body, Tuples.flatTupleOf(var_location, var__virtual_1_), new EStructuralFeatureInstancesKey(getFeatureLiteral("http://www.ece.mcgill.ca/wcet/modes3", "Segment", "connectedTo"))); + new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_1_), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.ece.mcgill.ca/wcet/modes3", "Segment"))); + new Equality(body, var__virtual_1_, var_end); + bodies.add(body); + } + return bodies; + } + } +} diff --git a/Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/EndOfSiding_step_5.java b/Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/EndOfSiding_step_5.java new file mode 100644 index 00000000..48a2697d --- /dev/null +++ b/Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/EndOfSiding_step_5.java @@ -0,0 +1,841 @@ +/** + * Generated from platform:/resource/ca.mcgill.rtgmrt.example.modes3/src/modes3/queries/Modes3Queries.vql + */ +package modes3.queries; + +import java.util.Arrays; +import java.util.Collection; +import java.util.LinkedHashSet; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import java.util.Set; +import java.util.function.Consumer; +import java.util.stream.Collectors; +import java.util.stream.Stream; +import modes3.Segment; +import modes3.Train; +import modes3.queries.MultipleConnectedTo; +import org.apache.log4j.Logger; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.viatra.query.runtime.api.IPatternMatch; +import org.eclipse.viatra.query.runtime.api.IQuerySpecification; +import org.eclipse.viatra.query.runtime.api.ViatraQueryEngine; +import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFPQuery; +import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFQuerySpecification; +import org.eclipse.viatra.query.runtime.api.impl.BaseMatcher; +import org.eclipse.viatra.query.runtime.api.impl.BasePatternMatch; +import org.eclipse.viatra.query.runtime.emf.types.EClassTransitiveInstancesKey; +import org.eclipse.viatra.query.runtime.emf.types.EStructuralFeatureInstancesKey; +import org.eclipse.viatra.query.runtime.matchers.backend.QueryEvaluationHint; +import org.eclipse.viatra.query.runtime.matchers.psystem.PBody; +import org.eclipse.viatra.query.runtime.matchers.psystem.PVariable; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.Equality; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.ExportedParameter; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.NegativePatternCall; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicenumerables.TypeConstraint; +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameter; +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameterDirection; +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PVisibility; +import org.eclipse.viatra.query.runtime.matchers.tuple.Tuple; +import org.eclipse.viatra.query.runtime.matchers.tuple.Tuples; +import org.eclipse.viatra.query.runtime.util.ViatraQueryLoggingUtil; + +/** + * A pattern-specific query specification that can instantiate Matcher in a type-safe way. + * + *

    Original source: + *

    + *         pattern endOfSiding_step_5(in train : Train, in location : Segment, in end : Segment) {
    + *         //         results-{@literal >}matches[match_cntr].location = frame-{@literal >}location;
    + *         //         results-{@literal >}matches[match_cntr++].train = frame-{@literal >}train;
    + *         //         ...OR...
    + *         //         results-{@literal >}matches[match_cntr].location = frame-{@literal >}location;
    + *         //         results-{@literal >}matches[match_cntr++].train = frame-{@literal >}train;
    + *         	Train(train);
    + *             Train.location(train, location);
    + *             Segment.connectedTo(location, end);
    + *         	neg find multipleConnectedTo(end);
    + *         }
    + * 
    + * + * @see Matcher + * @see Match + * + */ +@SuppressWarnings("all") +public final class EndOfSiding_step_5 extends BaseGeneratedEMFQuerySpecification { + /** + * Pattern-specific match representation of the modes3.queries.endOfSiding_step_5 pattern, + * to be used in conjunction with {@link Matcher}. + * + *

    Class fields correspond to parameters of the pattern. Fields with value null are considered unassigned. + * Each instance is a (possibly partial) substitution of pattern parameters, + * usable to represent a match of the pattern in the result of a query, + * or to specify the bound (fixed) input parameters when issuing a query. + * + * @see Matcher + * + */ + public static abstract class Match extends BasePatternMatch { + private Train fTrain; + + private Segment fLocation; + + private Segment fEnd; + + private static List parameterNames = makeImmutableList("train", "location", "end"); + + private Match(final Train pTrain, final Segment pLocation, final Segment pEnd) { + this.fTrain = pTrain; + this.fLocation = pLocation; + this.fEnd = pEnd; + } + + @Override + public Object get(final String parameterName) { + switch(parameterName) { + case "train": return this.fTrain; + case "location": return this.fLocation; + case "end": return this.fEnd; + default: return null; + } + } + + @Override + public Object get(final int index) { + switch(index) { + case 0: return this.fTrain; + case 1: return this.fLocation; + case 2: return this.fEnd; + default: return null; + } + } + + public Train getTrain() { + return this.fTrain; + } + + public Segment getLocation() { + return this.fLocation; + } + + public Segment getEnd() { + return this.fEnd; + } + + @Override + public boolean set(final String parameterName, final Object newValue) { + if (!isMutable()) throw new java.lang.UnsupportedOperationException(); + if ("train".equals(parameterName) ) { + this.fTrain = (Train) newValue; + return true; + } + if ("location".equals(parameterName) ) { + this.fLocation = (Segment) newValue; + return true; + } + if ("end".equals(parameterName) ) { + this.fEnd = (Segment) newValue; + return true; + } + return false; + } + + public void setTrain(final Train pTrain) { + if (!isMutable()) throw new java.lang.UnsupportedOperationException(); + this.fTrain = pTrain; + } + + public void setLocation(final Segment pLocation) { + if (!isMutable()) throw new java.lang.UnsupportedOperationException(); + this.fLocation = pLocation; + } + + public void setEnd(final Segment pEnd) { + if (!isMutable()) throw new java.lang.UnsupportedOperationException(); + this.fEnd = pEnd; + } + + @Override + public String patternName() { + return "modes3.queries.endOfSiding_step_5"; + } + + @Override + public List parameterNames() { + return EndOfSiding_step_5.Match.parameterNames; + } + + @Override + public Object[] toArray() { + return new Object[]{fTrain, fLocation, fEnd}; + } + + @Override + public EndOfSiding_step_5.Match toImmutable() { + return isMutable() ? newMatch(fTrain, fLocation, fEnd) : this; + } + + @Override + public String prettyPrint() { + StringBuilder result = new StringBuilder(); + result.append("\"train\"=" + prettyPrintValue(fTrain) + ", "); + result.append("\"location\"=" + prettyPrintValue(fLocation) + ", "); + result.append("\"end\"=" + prettyPrintValue(fEnd)); + return result.toString(); + } + + @Override + public int hashCode() { + return Objects.hash(fTrain, fLocation, fEnd); + } + + @Override + public boolean equals(final Object obj) { + if (this == obj) + return true; + if (obj == null) { + return false; + } + if ((obj instanceof EndOfSiding_step_5.Match)) { + EndOfSiding_step_5.Match other = (EndOfSiding_step_5.Match) obj; + return Objects.equals(fTrain, other.fTrain) && Objects.equals(fLocation, other.fLocation) && Objects.equals(fEnd, other.fEnd); + } else { + // this should be infrequent + if (!(obj instanceof IPatternMatch)) { + return false; + } + IPatternMatch otherSig = (IPatternMatch) obj; + return Objects.equals(specification(), otherSig.specification()) && Arrays.deepEquals(toArray(), otherSig.toArray()); + } + } + + @Override + public EndOfSiding_step_5 specification() { + return EndOfSiding_step_5.instance(); + } + + /** + * Returns an empty, mutable match. + * Fields of the mutable match can be filled to create a partial match, usable as matcher input. + * + * @return the empty match. + * + */ + public static EndOfSiding_step_5.Match newEmptyMatch() { + return new Mutable(null, null, null); + } + + /** + * Returns a mutable (partial) match. + * Fields of the mutable match can be filled to create a partial match, usable as matcher input. + * + * @param pTrain the fixed value of pattern parameter train, or null if not bound. + * @param pLocation the fixed value of pattern parameter location, or null if not bound. + * @param pEnd the fixed value of pattern parameter end, or null if not bound. + * @return the new, mutable (partial) match object. + * + */ + public static EndOfSiding_step_5.Match newMutableMatch(final Train pTrain, final Segment pLocation, final Segment pEnd) { + return new Mutable(pTrain, pLocation, pEnd); + } + + /** + * Returns a new (partial) match. + * This can be used e.g. to call the matcher with a partial match. + *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. + * @param pTrain the fixed value of pattern parameter train, or null if not bound. + * @param pLocation the fixed value of pattern parameter location, or null if not bound. + * @param pEnd the fixed value of pattern parameter end, or null if not bound. + * @return the (partial) match object. + * + */ + public static EndOfSiding_step_5.Match newMatch(final Train pTrain, final Segment pLocation, final Segment pEnd) { + return new Immutable(pTrain, pLocation, pEnd); + } + + private static final class Mutable extends EndOfSiding_step_5.Match { + Mutable(final Train pTrain, final Segment pLocation, final Segment pEnd) { + super(pTrain, pLocation, pEnd); + } + + @Override + public boolean isMutable() { + return true; + } + } + + private static final class Immutable extends EndOfSiding_step_5.Match { + Immutable(final Train pTrain, final Segment pLocation, final Segment pEnd) { + super(pTrain, pLocation, pEnd); + } + + @Override + public boolean isMutable() { + return false; + } + } + } + + /** + * Generated pattern matcher API of the modes3.queries.endOfSiding_step_5 pattern, + * providing pattern-specific query methods. + * + *

    Use the pattern matcher on a given model via {@link #on(ViatraQueryEngine)}, + * e.g. in conjunction with {@link ViatraQueryEngine#on(QueryScope)}. + * + *

    Matches of the pattern will be represented as {@link Match}. + * + *

    Original source: + *

    +   * pattern endOfSiding_step_5(in train : Train, in location : Segment, in end : Segment) {
    +   * //         results-{@literal >}matches[match_cntr].location = frame-{@literal >}location;
    +   * //         results-{@literal >}matches[match_cntr++].train = frame-{@literal >}train;
    +   * //         ...OR...
    +   * //         results-{@literal >}matches[match_cntr].location = frame-{@literal >}location;
    +   * //         results-{@literal >}matches[match_cntr++].train = frame-{@literal >}train;
    +   * 	Train(train);
    +   *     Train.location(train, location);
    +   *     Segment.connectedTo(location, end);
    +   * 	neg find multipleConnectedTo(end);
    +   * }
    +   * 
    + * + * @see Match + * @see EndOfSiding_step_5 + * + */ + public static class Matcher extends BaseMatcher { + /** + * Initializes the pattern matcher within an existing VIATRA Query engine. + * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. + * + * @param engine the existing VIATRA Query engine in which this matcher will be created. + * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation + * + */ + public static EndOfSiding_step_5.Matcher on(final ViatraQueryEngine engine) { + // check if matcher already exists + Matcher matcher = engine.getExistingMatcher(querySpecification()); + if (matcher == null) { + matcher = (Matcher)engine.getMatcher(querySpecification()); + } + return matcher; + } + + /** + * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation + * @return an initialized matcher + * @noreference This method is for internal matcher initialization by the framework, do not call it manually. + * + */ + public static EndOfSiding_step_5.Matcher create() { + return new Matcher(); + } + + private static final int POSITION_TRAIN = 0; + + private static final int POSITION_LOCATION = 1; + + private static final int POSITION_END = 2; + + private static final Logger LOGGER = ViatraQueryLoggingUtil.getLogger(EndOfSiding_step_5.Matcher.class); + + /** + * Initializes the pattern matcher within an existing VIATRA Query engine. + * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. + * + * @param engine the existing VIATRA Query engine in which this matcher will be created. + * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation + * + */ + private Matcher() { + super(querySpecification()); + } + + /** + * Returns the set of all matches of the pattern that conform to the given fixed values of some parameters. + * @param pTrain the fixed value of pattern parameter train, or null if not bound. + * @param pLocation the fixed value of pattern parameter location, or null if not bound. + * @param pEnd the fixed value of pattern parameter end, or null if not bound. + * @return matches represented as a Match object. + * + */ + public Collection getAllMatches(final Train pTrain, final Segment pLocation, final Segment pEnd) { + return rawStreamAllMatches(new Object[]{pTrain, pLocation, pEnd}).collect(Collectors.toSet()); + } + + /** + * Returns a stream of all matches of the pattern that conform to the given fixed values of some parameters. + *

    + * NOTE: It is important not to modify the source model while the stream is being processed. + * If the match set of the pattern changes during processing, the contents of the stream is undefined. + * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. + * @param pTrain the fixed value of pattern parameter train, or null if not bound. + * @param pLocation the fixed value of pattern parameter location, or null if not bound. + * @param pEnd the fixed value of pattern parameter end, or null if not bound. + * @return a stream of matches represented as a Match object. + * + */ + public Stream streamAllMatches(final Train pTrain, final Segment pLocation, final Segment pEnd) { + return rawStreamAllMatches(new Object[]{pTrain, pLocation, pEnd}); + } + + /** + * Returns an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. + * Neither determinism nor randomness of selection is guaranteed. + * @param pTrain the fixed value of pattern parameter train, or null if not bound. + * @param pLocation the fixed value of pattern parameter location, or null if not bound. + * @param pEnd the fixed value of pattern parameter end, or null if not bound. + * @return a match represented as a Match object, or null if no match is found. + * + */ + public Optional getOneArbitraryMatch(final Train pTrain, final Segment pLocation, final Segment pEnd) { + return rawGetOneArbitraryMatch(new Object[]{pTrain, pLocation, pEnd}); + } + + /** + * Indicates whether the given combination of specified pattern parameters constitute a valid pattern match, + * under any possible substitution of the unspecified parameters (if any). + * @param pTrain the fixed value of pattern parameter train, or null if not bound. + * @param pLocation the fixed value of pattern parameter location, or null if not bound. + * @param pEnd the fixed value of pattern parameter end, or null if not bound. + * @return true if the input is a valid (partial) match of the pattern. + * + */ + public boolean hasMatch(final Train pTrain, final Segment pLocation, final Segment pEnd) { + return rawHasMatch(new Object[]{pTrain, pLocation, pEnd}); + } + + /** + * Returns the number of all matches of the pattern that conform to the given fixed values of some parameters. + * @param pTrain the fixed value of pattern parameter train, or null if not bound. + * @param pLocation the fixed value of pattern parameter location, or null if not bound. + * @param pEnd the fixed value of pattern parameter end, or null if not bound. + * @return the number of pattern matches found. + * + */ + public int countMatches(final Train pTrain, final Segment pLocation, final Segment pEnd) { + return rawCountMatches(new Object[]{pTrain, pLocation, pEnd}); + } + + /** + * Executes the given processor on an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. + * Neither determinism nor randomness of selection is guaranteed. + * @param pTrain the fixed value of pattern parameter train, or null if not bound. + * @param pLocation the fixed value of pattern parameter location, or null if not bound. + * @param pEnd the fixed value of pattern parameter end, or null if not bound. + * @param processor the action that will process the selected match. + * @return true if the pattern has at least one match with the given parameter values, false if the processor was not invoked + * + */ + public boolean forOneArbitraryMatch(final Train pTrain, final Segment pLocation, final Segment pEnd, final Consumer processor) { + return rawForOneArbitraryMatch(new Object[]{pTrain, pLocation, pEnd}, processor); + } + + /** + * Returns a new (partial) match. + * This can be used e.g. to call the matcher with a partial match. + *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. + * @param pTrain the fixed value of pattern parameter train, or null if not bound. + * @param pLocation the fixed value of pattern parameter location, or null if not bound. + * @param pEnd the fixed value of pattern parameter end, or null if not bound. + * @return the (partial) match object. + * + */ + public EndOfSiding_step_5.Match newMatch(final Train pTrain, final Segment pLocation, final Segment pEnd) { + return EndOfSiding_step_5.Match.newMatch(pTrain, pLocation, pEnd); + } + + /** + * Retrieve the set of values that occur in matches for train. + * @return the Set of all values or empty set if there are no matches + * + */ + protected Stream rawStreamAllValuesOftrain(final Object[] parameters) { + return rawStreamAllValues(POSITION_TRAIN, parameters).map(Train.class::cast); + } + + /** + * Retrieve the set of values that occur in matches for train. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOftrain() { + return rawStreamAllValuesOftrain(emptyArray()).collect(Collectors.toSet()); + } + + /** + * Retrieve the set of values that occur in matches for train. + * @return the Set of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOftrain() { + return rawStreamAllValuesOftrain(emptyArray()); + } + + /** + * Retrieve the set of values that occur in matches for train. + *

    + * NOTE: It is important not to modify the source model while the stream is being processed. + * If the match set of the pattern changes during processing, the contents of the stream is undefined. + * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. + * + * @return the Stream of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOftrain(final EndOfSiding_step_5.Match partialMatch) { + return rawStreamAllValuesOftrain(partialMatch.toArray()); + } + + /** + * Retrieve the set of values that occur in matches for train. + *

    + * NOTE: It is important not to modify the source model while the stream is being processed. + * If the match set of the pattern changes during processing, the contents of the stream is undefined. + * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. + * + * @return the Stream of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOftrain(final Segment pLocation, final Segment pEnd) { + return rawStreamAllValuesOftrain(new Object[]{null, pLocation, pEnd}); + } + + /** + * Retrieve the set of values that occur in matches for train. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOftrain(final EndOfSiding_step_5.Match partialMatch) { + return rawStreamAllValuesOftrain(partialMatch.toArray()).collect(Collectors.toSet()); + } + + /** + * Retrieve the set of values that occur in matches for train. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOftrain(final Segment pLocation, final Segment pEnd) { + return rawStreamAllValuesOftrain(new Object[]{null, pLocation, pEnd}).collect(Collectors.toSet()); + } + + /** + * Retrieve the set of values that occur in matches for location. + * @return the Set of all values or empty set if there are no matches + * + */ + protected Stream rawStreamAllValuesOflocation(final Object[] parameters) { + return rawStreamAllValues(POSITION_LOCATION, parameters).map(Segment.class::cast); + } + + /** + * Retrieve the set of values that occur in matches for location. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOflocation() { + return rawStreamAllValuesOflocation(emptyArray()).collect(Collectors.toSet()); + } + + /** + * Retrieve the set of values that occur in matches for location. + * @return the Set of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOflocation() { + return rawStreamAllValuesOflocation(emptyArray()); + } + + /** + * Retrieve the set of values that occur in matches for location. + *

    + * NOTE: It is important not to modify the source model while the stream is being processed. + * If the match set of the pattern changes during processing, the contents of the stream is undefined. + * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. + * + * @return the Stream of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOflocation(final EndOfSiding_step_5.Match partialMatch) { + return rawStreamAllValuesOflocation(partialMatch.toArray()); + } + + /** + * Retrieve the set of values that occur in matches for location. + *

    + * NOTE: It is important not to modify the source model while the stream is being processed. + * If the match set of the pattern changes during processing, the contents of the stream is undefined. + * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. + * + * @return the Stream of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOflocation(final Train pTrain, final Segment pEnd) { + return rawStreamAllValuesOflocation(new Object[]{pTrain, null, pEnd}); + } + + /** + * Retrieve the set of values that occur in matches for location. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOflocation(final EndOfSiding_step_5.Match partialMatch) { + return rawStreamAllValuesOflocation(partialMatch.toArray()).collect(Collectors.toSet()); + } + + /** + * Retrieve the set of values that occur in matches for location. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOflocation(final Train pTrain, final Segment pEnd) { + return rawStreamAllValuesOflocation(new Object[]{pTrain, null, pEnd}).collect(Collectors.toSet()); + } + + /** + * Retrieve the set of values that occur in matches for end. + * @return the Set of all values or empty set if there are no matches + * + */ + protected Stream rawStreamAllValuesOfend(final Object[] parameters) { + return rawStreamAllValues(POSITION_END, parameters).map(Segment.class::cast); + } + + /** + * Retrieve the set of values that occur in matches for end. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOfend() { + return rawStreamAllValuesOfend(emptyArray()).collect(Collectors.toSet()); + } + + /** + * Retrieve the set of values that occur in matches for end. + * @return the Set of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOfend() { + return rawStreamAllValuesOfend(emptyArray()); + } + + /** + * Retrieve the set of values that occur in matches for end. + *

    + * NOTE: It is important not to modify the source model while the stream is being processed. + * If the match set of the pattern changes during processing, the contents of the stream is undefined. + * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. + * + * @return the Stream of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOfend(final EndOfSiding_step_5.Match partialMatch) { + return rawStreamAllValuesOfend(partialMatch.toArray()); + } + + /** + * Retrieve the set of values that occur in matches for end. + *

    + * NOTE: It is important not to modify the source model while the stream is being processed. + * If the match set of the pattern changes during processing, the contents of the stream is undefined. + * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. + * + * @return the Stream of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOfend(final Train pTrain, final Segment pLocation) { + return rawStreamAllValuesOfend(new Object[]{pTrain, pLocation, null}); + } + + /** + * Retrieve the set of values that occur in matches for end. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOfend(final EndOfSiding_step_5.Match partialMatch) { + return rawStreamAllValuesOfend(partialMatch.toArray()).collect(Collectors.toSet()); + } + + /** + * Retrieve the set of values that occur in matches for end. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOfend(final Train pTrain, final Segment pLocation) { + return rawStreamAllValuesOfend(new Object[]{pTrain, pLocation, null}).collect(Collectors.toSet()); + } + + @Override + protected EndOfSiding_step_5.Match tupleToMatch(final Tuple t) { + try { + return EndOfSiding_step_5.Match.newMatch((Train) t.get(POSITION_TRAIN), (Segment) t.get(POSITION_LOCATION), (Segment) t.get(POSITION_END)); + } catch(ClassCastException e) { + LOGGER.error("Element(s) in tuple not properly typed!",e); + return null; + } + } + + @Override + protected EndOfSiding_step_5.Match arrayToMatch(final Object[] match) { + try { + return EndOfSiding_step_5.Match.newMatch((Train) match[POSITION_TRAIN], (Segment) match[POSITION_LOCATION], (Segment) match[POSITION_END]); + } catch(ClassCastException e) { + LOGGER.error("Element(s) in array not properly typed!",e); + return null; + } + } + + @Override + protected EndOfSiding_step_5.Match arrayToMatchMutable(final Object[] match) { + try { + return EndOfSiding_step_5.Match.newMutableMatch((Train) match[POSITION_TRAIN], (Segment) match[POSITION_LOCATION], (Segment) match[POSITION_END]); + } catch(ClassCastException e) { + LOGGER.error("Element(s) in array not properly typed!",e); + return null; + } + } + + /** + * @return the singleton instance of the query specification of this pattern + * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded + * + */ + public static IQuerySpecification querySpecification() { + return EndOfSiding_step_5.instance(); + } + } + + private EndOfSiding_step_5() { + super(GeneratedPQuery.INSTANCE); + } + + /** + * @return the singleton instance of the query specification + * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded + * + */ + public static EndOfSiding_step_5 instance() { + try{ + return LazyHolder.INSTANCE; + } catch (ExceptionInInitializerError err) { + throw processInitializerError(err); + } + } + + @Override + protected EndOfSiding_step_5.Matcher instantiate(final ViatraQueryEngine engine) { + return EndOfSiding_step_5.Matcher.on(engine); + } + + @Override + public EndOfSiding_step_5.Matcher instantiate() { + return EndOfSiding_step_5.Matcher.create(); + } + + @Override + public EndOfSiding_step_5.Match newEmptyMatch() { + return EndOfSiding_step_5.Match.newEmptyMatch(); + } + + @Override + public EndOfSiding_step_5.Match newMatch(final Object... parameters) { + return EndOfSiding_step_5.Match.newMatch((modes3.Train) parameters[0], (modes3.Segment) parameters[1], (modes3.Segment) parameters[2]); + } + + /** + * Inner class allowing the singleton instance of {@link EndOfSiding_step_5} to be created + * not at the class load time of the outer class, + * but rather at the first call to {@link EndOfSiding_step_5#instance()}. + * + *

    This workaround is required e.g. to support recursion. + * + */ + private static class LazyHolder { + private static final EndOfSiding_step_5 INSTANCE = new EndOfSiding_step_5(); + + /** + * Statically initializes the query specification after the field {@link #INSTANCE} is assigned. + * This initialization order is required to support indirect recursion. + * + *

    The static initializer is defined using a helper field to work around limitations of the code generator. + * + */ + private static final Object STATIC_INITIALIZER = ensureInitialized(); + + public static Object ensureInitialized() { + INSTANCE.ensureInitializedInternal(); + return null; + } + } + + private static class GeneratedPQuery extends BaseGeneratedEMFPQuery { + private static final EndOfSiding_step_5.GeneratedPQuery INSTANCE = new GeneratedPQuery(); + + private final PParameter parameter_train = new PParameter("train", "modes3.Train", new EClassTransitiveInstancesKey((EClass)getClassifierLiteralSafe("http://www.ece.mcgill.ca/wcet/modes3", "Train")), PParameterDirection.INOUT); + + private final PParameter parameter_location = new PParameter("location", "modes3.Segment", new EClassTransitiveInstancesKey((EClass)getClassifierLiteralSafe("http://www.ece.mcgill.ca/wcet/modes3", "Segment")), PParameterDirection.INOUT); + + private final PParameter parameter_end = new PParameter("end", "modes3.Segment", new EClassTransitiveInstancesKey((EClass)getClassifierLiteralSafe("http://www.ece.mcgill.ca/wcet/modes3", "Segment")), PParameterDirection.INOUT); + + private final List parameters = Arrays.asList(parameter_train, parameter_location, parameter_end); + + private GeneratedPQuery() { + super(PVisibility.PUBLIC); + } + + @Override + public String getFullyQualifiedName() { + return "modes3.queries.endOfSiding_step_5"; + } + + @Override + public List getParameterNames() { + return Arrays.asList("train","location","end"); + } + + @Override + public List getParameters() { + return parameters; + } + + @Override + public Set doGetContainedBodies() { + setEvaluationHints(new QueryEvaluationHint(null, QueryEvaluationHint.BackendRequirement.UNSPECIFIED)); + Set bodies = new LinkedHashSet<>(); + { + PBody body = new PBody(this); + PVariable var_train = body.getOrCreateVariableByName("train"); + PVariable var_location = body.getOrCreateVariableByName("location"); + PVariable var_end = body.getOrCreateVariableByName("end"); + new TypeConstraint(body, Tuples.flatTupleOf(var_train), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.ece.mcgill.ca/wcet/modes3", "Train"))); + new TypeConstraint(body, Tuples.flatTupleOf(var_location), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.ece.mcgill.ca/wcet/modes3", "Segment"))); + new TypeConstraint(body, Tuples.flatTupleOf(var_end), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.ece.mcgill.ca/wcet/modes3", "Segment"))); + body.setSymbolicParameters(Arrays.asList( + new ExportedParameter(body, var_train, parameter_train), + new ExportedParameter(body, var_location, parameter_location), + new ExportedParameter(body, var_end, parameter_end) + )); + // // results->matches[match_cntr].location = frame->location;// results->matches[match_cntr++].train = frame->train;// ...OR...// results->matches[match_cntr].location = frame->location;// results->matches[match_cntr++].train = frame->train; Train(train) + new TypeConstraint(body, Tuples.flatTupleOf(var_train), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.ece.mcgill.ca/wcet/modes3", "Train"))); + // Train.location(train, location) + new TypeConstraint(body, Tuples.flatTupleOf(var_train), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.ece.mcgill.ca/wcet/modes3", "Train"))); + PVariable var__virtual_0_ = body.getOrCreateVariableByName(".virtual{0}"); + new TypeConstraint(body, Tuples.flatTupleOf(var_train, var__virtual_0_), new EStructuralFeatureInstancesKey(getFeatureLiteral("http://www.ece.mcgill.ca/wcet/modes3", "Train", "location"))); + new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_0_), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.ece.mcgill.ca/wcet/modes3", "Segment"))); + new Equality(body, var__virtual_0_, var_location); + // Segment.connectedTo(location, end) + new TypeConstraint(body, Tuples.flatTupleOf(var_location), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.ece.mcgill.ca/wcet/modes3", "Segment"))); + PVariable var__virtual_1_ = body.getOrCreateVariableByName(".virtual{1}"); + new TypeConstraint(body, Tuples.flatTupleOf(var_location, var__virtual_1_), new EStructuralFeatureInstancesKey(getFeatureLiteral("http://www.ece.mcgill.ca/wcet/modes3", "Segment", "connectedTo"))); + new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_1_), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.ece.mcgill.ca/wcet/modes3", "Segment"))); + new Equality(body, var__virtual_1_, var_end); + // neg find multipleConnectedTo(end) + new NegativePatternCall(body, Tuples.flatTupleOf(var_end), MultipleConnectedTo.instance().getInternalQueryRepresentation()); + bodies.add(body); + } + return bodies; + } + } +} diff --git a/Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/Modes3Queries.java b/Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/Modes3Queries.java index 6e244430..d1238d61 100644 --- a/Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/Modes3Queries.java +++ b/Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/Modes3Queries.java @@ -4,16 +4,34 @@ package modes3.queries; import modes3.queries.Adjacent; +import modes3.queries.CloseTrains_step_2; +import modes3.queries.CloseTrains_step_3; +import modes3.queries.CloseTrains_step_4; +import modes3.queries.CloseTrains_step_5; +import modes3.queries.CloseTrains_step_6; +import modes3.queries.CloseTrains_step_7; +import modes3.queries.ConnectedSegmentsDirected; import modes3.queries.ConnectedTo; import modes3.queries.ConnectedToNotSymmetric; import modes3.queries.ConnectedToReflexive; +import modes3.queries.EndOfSiding_step_2; +import modes3.queries.EndOfSiding_step_3; +import modes3.queries.EndOfSiding_step_4; +import modes3.queries.EndOfSiding_step_5; import modes3.queries.InputsOfTurnout; +import modes3.queries.MisalignedTurnout_step_2; +import modes3.queries.MisalignedTurnout_step_3; +import modes3.queries.MisalignedTurnout_step_4; +import modes3.queries.MisalignedTurnout_step_5; +import modes3.queries.MultipleConnectedTo; import modes3.queries.Output; import modes3.queries.OutputReflexive; import modes3.queries.Reachable; import modes3.queries.TooFewInputsOfTurnout; import modes3.queries.TooManyInputsOfSegment; import modes3.queries.TooManyInputsOfTurnout; +import modes3.queries.TrainLocations_step_2; +import modes3.queries.TrainLocations_step_3; import modes3.queries.TurnoutConnectedToBothOutputs; import modes3.queries.TurnoutOutput; import modes3.queries.TurnoutOutputsAreSame; @@ -44,6 +62,24 @@ import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedPatternGroup; *

  • tooFewInputsOfTurnout
  • *
  • reachable
  • *
  • unreachable
  • + *
  • closeTrains_step_2
  • + *
  • closeTrains_step_3
  • + *
  • closeTrains_step_4
  • + *
  • closeTrains_step_5
  • + *
  • closeTrains_step_6
  • + *
  • closeTrains_step_7
  • + *
  • trainLocations_step_2
  • + *
  • trainLocations_step_3
  • + *
  • misalignedTurnout_step_2
  • + *
  • misalignedTurnout_step_3
  • + *
  • misalignedTurnout_step_4
  • + *
  • misalignedTurnout_step_5
  • + *
  • connectedSegmentsDirected
  • + *
  • endOfSiding_step_2
  • + *
  • endOfSiding_step_3
  • + *
  • endOfSiding_step_4
  • + *
  • endOfSiding_step_5
  • + *
  • multipleConnectedTo
  • * * * @see IQueryGroup @@ -83,6 +119,24 @@ public final class Modes3Queries extends BaseGeneratedPatternGroup { querySpecifications.add(TooFewInputsOfTurnout.instance()); querySpecifications.add(Reachable.instance()); querySpecifications.add(Unreachable.instance()); + querySpecifications.add(CloseTrains_step_2.instance()); + querySpecifications.add(CloseTrains_step_3.instance()); + querySpecifications.add(CloseTrains_step_4.instance()); + querySpecifications.add(CloseTrains_step_5.instance()); + querySpecifications.add(CloseTrains_step_6.instance()); + querySpecifications.add(CloseTrains_step_7.instance()); + querySpecifications.add(TrainLocations_step_2.instance()); + querySpecifications.add(TrainLocations_step_3.instance()); + querySpecifications.add(MisalignedTurnout_step_2.instance()); + querySpecifications.add(MisalignedTurnout_step_3.instance()); + querySpecifications.add(MisalignedTurnout_step_4.instance()); + querySpecifications.add(MisalignedTurnout_step_5.instance()); + querySpecifications.add(ConnectedSegmentsDirected.instance()); + querySpecifications.add(EndOfSiding_step_2.instance()); + querySpecifications.add(EndOfSiding_step_3.instance()); + querySpecifications.add(EndOfSiding_step_4.instance()); + querySpecifications.add(EndOfSiding_step_5.instance()); + querySpecifications.add(MultipleConnectedTo.instance()); } public ConnectedTo getConnectedTo() { @@ -204,4 +258,148 @@ public final class Modes3Queries extends BaseGeneratedPatternGroup { public Unreachable.Matcher getUnreachable(final ViatraQueryEngine engine) { return Unreachable.Matcher.on(engine); } + + public CloseTrains_step_2 getCloseTrains_step_2() { + return CloseTrains_step_2.instance(); + } + + public CloseTrains_step_2.Matcher getCloseTrains_step_2(final ViatraQueryEngine engine) { + return CloseTrains_step_2.Matcher.on(engine); + } + + public CloseTrains_step_3 getCloseTrains_step_3() { + return CloseTrains_step_3.instance(); + } + + public CloseTrains_step_3.Matcher getCloseTrains_step_3(final ViatraQueryEngine engine) { + return CloseTrains_step_3.Matcher.on(engine); + } + + public CloseTrains_step_4 getCloseTrains_step_4() { + return CloseTrains_step_4.instance(); + } + + public CloseTrains_step_4.Matcher getCloseTrains_step_4(final ViatraQueryEngine engine) { + return CloseTrains_step_4.Matcher.on(engine); + } + + public CloseTrains_step_5 getCloseTrains_step_5() { + return CloseTrains_step_5.instance(); + } + + public CloseTrains_step_5.Matcher getCloseTrains_step_5(final ViatraQueryEngine engine) { + return CloseTrains_step_5.Matcher.on(engine); + } + + public CloseTrains_step_6 getCloseTrains_step_6() { + return CloseTrains_step_6.instance(); + } + + public CloseTrains_step_6.Matcher getCloseTrains_step_6(final ViatraQueryEngine engine) { + return CloseTrains_step_6.Matcher.on(engine); + } + + public CloseTrains_step_7 getCloseTrains_step_7() { + return CloseTrains_step_7.instance(); + } + + public CloseTrains_step_7.Matcher getCloseTrains_step_7(final ViatraQueryEngine engine) { + return CloseTrains_step_7.Matcher.on(engine); + } + + public TrainLocations_step_2 getTrainLocations_step_2() { + return TrainLocations_step_2.instance(); + } + + public TrainLocations_step_2.Matcher getTrainLocations_step_2(final ViatraQueryEngine engine) { + return TrainLocations_step_2.Matcher.on(engine); + } + + public TrainLocations_step_3 getTrainLocations_step_3() { + return TrainLocations_step_3.instance(); + } + + public TrainLocations_step_3.Matcher getTrainLocations_step_3(final ViatraQueryEngine engine) { + return TrainLocations_step_3.Matcher.on(engine); + } + + public MisalignedTurnout_step_2 getMisalignedTurnout_step_2() { + return MisalignedTurnout_step_2.instance(); + } + + public MisalignedTurnout_step_2.Matcher getMisalignedTurnout_step_2(final ViatraQueryEngine engine) { + return MisalignedTurnout_step_2.Matcher.on(engine); + } + + public MisalignedTurnout_step_3 getMisalignedTurnout_step_3() { + return MisalignedTurnout_step_3.instance(); + } + + public MisalignedTurnout_step_3.Matcher getMisalignedTurnout_step_3(final ViatraQueryEngine engine) { + return MisalignedTurnout_step_3.Matcher.on(engine); + } + + public MisalignedTurnout_step_4 getMisalignedTurnout_step_4() { + return MisalignedTurnout_step_4.instance(); + } + + public MisalignedTurnout_step_4.Matcher getMisalignedTurnout_step_4(final ViatraQueryEngine engine) { + return MisalignedTurnout_step_4.Matcher.on(engine); + } + + public MisalignedTurnout_step_5 getMisalignedTurnout_step_5() { + return MisalignedTurnout_step_5.instance(); + } + + public MisalignedTurnout_step_5.Matcher getMisalignedTurnout_step_5(final ViatraQueryEngine engine) { + return MisalignedTurnout_step_5.Matcher.on(engine); + } + + public ConnectedSegmentsDirected getConnectedSegmentsDirected() { + return ConnectedSegmentsDirected.instance(); + } + + public ConnectedSegmentsDirected.Matcher getConnectedSegmentsDirected(final ViatraQueryEngine engine) { + return ConnectedSegmentsDirected.Matcher.on(engine); + } + + public EndOfSiding_step_2 getEndOfSiding_step_2() { + return EndOfSiding_step_2.instance(); + } + + public EndOfSiding_step_2.Matcher getEndOfSiding_step_2(final ViatraQueryEngine engine) { + return EndOfSiding_step_2.Matcher.on(engine); + } + + public EndOfSiding_step_3 getEndOfSiding_step_3() { + return EndOfSiding_step_3.instance(); + } + + public EndOfSiding_step_3.Matcher getEndOfSiding_step_3(final ViatraQueryEngine engine) { + return EndOfSiding_step_3.Matcher.on(engine); + } + + public EndOfSiding_step_4 getEndOfSiding_step_4() { + return EndOfSiding_step_4.instance(); + } + + public EndOfSiding_step_4.Matcher getEndOfSiding_step_4(final ViatraQueryEngine engine) { + return EndOfSiding_step_4.Matcher.on(engine); + } + + public EndOfSiding_step_5 getEndOfSiding_step_5() { + return EndOfSiding_step_5.instance(); + } + + public EndOfSiding_step_5.Matcher getEndOfSiding_step_5(final ViatraQueryEngine engine) { + return EndOfSiding_step_5.Matcher.on(engine); + } + + public MultipleConnectedTo getMultipleConnectedTo() { + return MultipleConnectedTo.instance(); + } + + public MultipleConnectedTo.Matcher getMultipleConnectedTo(final ViatraQueryEngine engine) { + return MultipleConnectedTo.Matcher.on(engine); + } } diff --git a/Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/MultipleConnectedTo.java b/Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/MultipleConnectedTo.java new file mode 100644 index 00000000..277006c9 --- /dev/null +++ b/Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/MultipleConnectedTo.java @@ -0,0 +1,565 @@ +/** + * Generated from platform:/resource/ca.mcgill.rtgmrt.example.modes3/src/modes3/queries/Modes3Queries.vql + */ +package modes3.queries; + +import java.util.Arrays; +import java.util.Collection; +import java.util.LinkedHashSet; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import java.util.Set; +import java.util.function.Consumer; +import java.util.stream.Collectors; +import java.util.stream.Stream; +import modes3.Segment; +import org.apache.log4j.Logger; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.viatra.query.runtime.api.IPatternMatch; +import org.eclipse.viatra.query.runtime.api.IQuerySpecification; +import org.eclipse.viatra.query.runtime.api.ViatraQueryEngine; +import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFPQuery; +import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFQuerySpecification; +import org.eclipse.viatra.query.runtime.api.impl.BaseMatcher; +import org.eclipse.viatra.query.runtime.api.impl.BasePatternMatch; +import org.eclipse.viatra.query.runtime.emf.types.EClassTransitiveInstancesKey; +import org.eclipse.viatra.query.runtime.emf.types.EStructuralFeatureInstancesKey; +import org.eclipse.viatra.query.runtime.matchers.backend.QueryEvaluationHint; +import org.eclipse.viatra.query.runtime.matchers.psystem.PBody; +import org.eclipse.viatra.query.runtime.matchers.psystem.PVariable; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.Equality; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.ExportedParameter; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.Inequality; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicenumerables.TypeConstraint; +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameter; +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameterDirection; +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PVisibility; +import org.eclipse.viatra.query.runtime.matchers.tuple.Tuple; +import org.eclipse.viatra.query.runtime.matchers.tuple.Tuples; +import org.eclipse.viatra.query.runtime.util.ViatraQueryLoggingUtil; + +/** + * A pattern-specific query specification that can instantiate Matcher in a type-safe way. + * + *

    Original source: + *

    + *         pattern multipleConnectedTo(s : Segment) {
    + *         	Segment.connectedTo(s, n1);
    + *         	Segment.connectedTo(s, n2);
    + *         	n1 != n2;
    + *         }
    + * 
    + * + * @see Matcher + * @see Match + * + */ +@SuppressWarnings("all") +public final class MultipleConnectedTo extends BaseGeneratedEMFQuerySpecification { + /** + * Pattern-specific match representation of the modes3.queries.multipleConnectedTo pattern, + * to be used in conjunction with {@link Matcher}. + * + *

    Class fields correspond to parameters of the pattern. Fields with value null are considered unassigned. + * Each instance is a (possibly partial) substitution of pattern parameters, + * usable to represent a match of the pattern in the result of a query, + * or to specify the bound (fixed) input parameters when issuing a query. + * + * @see Matcher + * + */ + public static abstract class Match extends BasePatternMatch { + private Segment fS; + + private static List parameterNames = makeImmutableList("s"); + + private Match(final Segment pS) { + this.fS = pS; + } + + @Override + public Object get(final String parameterName) { + switch(parameterName) { + case "s": return this.fS; + default: return null; + } + } + + @Override + public Object get(final int index) { + switch(index) { + case 0: return this.fS; + default: return null; + } + } + + public Segment getS() { + return this.fS; + } + + @Override + public boolean set(final String parameterName, final Object newValue) { + if (!isMutable()) throw new java.lang.UnsupportedOperationException(); + if ("s".equals(parameterName) ) { + this.fS = (Segment) newValue; + return true; + } + return false; + } + + public void setS(final Segment pS) { + if (!isMutable()) throw new java.lang.UnsupportedOperationException(); + this.fS = pS; + } + + @Override + public String patternName() { + return "modes3.queries.multipleConnectedTo"; + } + + @Override + public List parameterNames() { + return MultipleConnectedTo.Match.parameterNames; + } + + @Override + public Object[] toArray() { + return new Object[]{fS}; + } + + @Override + public MultipleConnectedTo.Match toImmutable() { + return isMutable() ? newMatch(fS) : this; + } + + @Override + public String prettyPrint() { + StringBuilder result = new StringBuilder(); + result.append("\"s\"=" + prettyPrintValue(fS)); + return result.toString(); + } + + @Override + public int hashCode() { + return Objects.hash(fS); + } + + @Override + public boolean equals(final Object obj) { + if (this == obj) + return true; + if (obj == null) { + return false; + } + if ((obj instanceof MultipleConnectedTo.Match)) { + MultipleConnectedTo.Match other = (MultipleConnectedTo.Match) obj; + return Objects.equals(fS, other.fS); + } else { + // this should be infrequent + if (!(obj instanceof IPatternMatch)) { + return false; + } + IPatternMatch otherSig = (IPatternMatch) obj; + return Objects.equals(specification(), otherSig.specification()) && Arrays.deepEquals(toArray(), otherSig.toArray()); + } + } + + @Override + public MultipleConnectedTo specification() { + return MultipleConnectedTo.instance(); + } + + /** + * Returns an empty, mutable match. + * Fields of the mutable match can be filled to create a partial match, usable as matcher input. + * + * @return the empty match. + * + */ + public static MultipleConnectedTo.Match newEmptyMatch() { + return new Mutable(null); + } + + /** + * Returns a mutable (partial) match. + * Fields of the mutable match can be filled to create a partial match, usable as matcher input. + * + * @param pS the fixed value of pattern parameter s, or null if not bound. + * @return the new, mutable (partial) match object. + * + */ + public static MultipleConnectedTo.Match newMutableMatch(final Segment pS) { + return new Mutable(pS); + } + + /** + * Returns a new (partial) match. + * This can be used e.g. to call the matcher with a partial match. + *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. + * @param pS the fixed value of pattern parameter s, or null if not bound. + * @return the (partial) match object. + * + */ + public static MultipleConnectedTo.Match newMatch(final Segment pS) { + return new Immutable(pS); + } + + private static final class Mutable extends MultipleConnectedTo.Match { + Mutable(final Segment pS) { + super(pS); + } + + @Override + public boolean isMutable() { + return true; + } + } + + private static final class Immutable extends MultipleConnectedTo.Match { + Immutable(final Segment pS) { + super(pS); + } + + @Override + public boolean isMutable() { + return false; + } + } + } + + /** + * Generated pattern matcher API of the modes3.queries.multipleConnectedTo pattern, + * providing pattern-specific query methods. + * + *

    Use the pattern matcher on a given model via {@link #on(ViatraQueryEngine)}, + * e.g. in conjunction with {@link ViatraQueryEngine#on(QueryScope)}. + * + *

    Matches of the pattern will be represented as {@link Match}. + * + *

    Original source: + *

    +   * pattern multipleConnectedTo(s : Segment) {
    +   * 	Segment.connectedTo(s, n1);
    +   * 	Segment.connectedTo(s, n2);
    +   * 	n1 != n2;
    +   * }
    +   * 
    + * + * @see Match + * @see MultipleConnectedTo + * + */ + public static class Matcher extends BaseMatcher { + /** + * Initializes the pattern matcher within an existing VIATRA Query engine. + * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. + * + * @param engine the existing VIATRA Query engine in which this matcher will be created. + * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation + * + */ + public static MultipleConnectedTo.Matcher on(final ViatraQueryEngine engine) { + // check if matcher already exists + Matcher matcher = engine.getExistingMatcher(querySpecification()); + if (matcher == null) { + matcher = (Matcher)engine.getMatcher(querySpecification()); + } + return matcher; + } + + /** + * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation + * @return an initialized matcher + * @noreference This method is for internal matcher initialization by the framework, do not call it manually. + * + */ + public static MultipleConnectedTo.Matcher create() { + return new Matcher(); + } + + private static final int POSITION_S = 0; + + private static final Logger LOGGER = ViatraQueryLoggingUtil.getLogger(MultipleConnectedTo.Matcher.class); + + /** + * Initializes the pattern matcher within an existing VIATRA Query engine. + * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. + * + * @param engine the existing VIATRA Query engine in which this matcher will be created. + * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation + * + */ + private Matcher() { + super(querySpecification()); + } + + /** + * Returns the set of all matches of the pattern that conform to the given fixed values of some parameters. + * @param pS the fixed value of pattern parameter s, or null if not bound. + * @return matches represented as a Match object. + * + */ + public Collection getAllMatches(final Segment pS) { + return rawStreamAllMatches(new Object[]{pS}).collect(Collectors.toSet()); + } + + /** + * Returns a stream of all matches of the pattern that conform to the given fixed values of some parameters. + *

    + * NOTE: It is important not to modify the source model while the stream is being processed. + * If the match set of the pattern changes during processing, the contents of the stream is undefined. + * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. + * @param pS the fixed value of pattern parameter s, or null if not bound. + * @return a stream of matches represented as a Match object. + * + */ + public Stream streamAllMatches(final Segment pS) { + return rawStreamAllMatches(new Object[]{pS}); + } + + /** + * Returns an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. + * Neither determinism nor randomness of selection is guaranteed. + * @param pS the fixed value of pattern parameter s, or null if not bound. + * @return a match represented as a Match object, or null if no match is found. + * + */ + public Optional getOneArbitraryMatch(final Segment pS) { + return rawGetOneArbitraryMatch(new Object[]{pS}); + } + + /** + * Indicates whether the given combination of specified pattern parameters constitute a valid pattern match, + * under any possible substitution of the unspecified parameters (if any). + * @param pS the fixed value of pattern parameter s, or null if not bound. + * @return true if the input is a valid (partial) match of the pattern. + * + */ + public boolean hasMatch(final Segment pS) { + return rawHasMatch(new Object[]{pS}); + } + + /** + * Returns the number of all matches of the pattern that conform to the given fixed values of some parameters. + * @param pS the fixed value of pattern parameter s, or null if not bound. + * @return the number of pattern matches found. + * + */ + public int countMatches(final Segment pS) { + return rawCountMatches(new Object[]{pS}); + } + + /** + * Executes the given processor on an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. + * Neither determinism nor randomness of selection is guaranteed. + * @param pS the fixed value of pattern parameter s, or null if not bound. + * @param processor the action that will process the selected match. + * @return true if the pattern has at least one match with the given parameter values, false if the processor was not invoked + * + */ + public boolean forOneArbitraryMatch(final Segment pS, final Consumer processor) { + return rawForOneArbitraryMatch(new Object[]{pS}, processor); + } + + /** + * Returns a new (partial) match. + * This can be used e.g. to call the matcher with a partial match. + *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. + * @param pS the fixed value of pattern parameter s, or null if not bound. + * @return the (partial) match object. + * + */ + public MultipleConnectedTo.Match newMatch(final Segment pS) { + return MultipleConnectedTo.Match.newMatch(pS); + } + + /** + * Retrieve the set of values that occur in matches for s. + * @return the Set of all values or empty set if there are no matches + * + */ + protected Stream rawStreamAllValuesOfs(final Object[] parameters) { + return rawStreamAllValues(POSITION_S, parameters).map(Segment.class::cast); + } + + /** + * Retrieve the set of values that occur in matches for s. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOfs() { + return rawStreamAllValuesOfs(emptyArray()).collect(Collectors.toSet()); + } + + /** + * Retrieve the set of values that occur in matches for s. + * @return the Set of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOfs() { + return rawStreamAllValuesOfs(emptyArray()); + } + + @Override + protected MultipleConnectedTo.Match tupleToMatch(final Tuple t) { + try { + return MultipleConnectedTo.Match.newMatch((Segment) t.get(POSITION_S)); + } catch(ClassCastException e) { + LOGGER.error("Element(s) in tuple not properly typed!",e); + return null; + } + } + + @Override + protected MultipleConnectedTo.Match arrayToMatch(final Object[] match) { + try { + return MultipleConnectedTo.Match.newMatch((Segment) match[POSITION_S]); + } catch(ClassCastException e) { + LOGGER.error("Element(s) in array not properly typed!",e); + return null; + } + } + + @Override + protected MultipleConnectedTo.Match arrayToMatchMutable(final Object[] match) { + try { + return MultipleConnectedTo.Match.newMutableMatch((Segment) match[POSITION_S]); + } catch(ClassCastException e) { + LOGGER.error("Element(s) in array not properly typed!",e); + return null; + } + } + + /** + * @return the singleton instance of the query specification of this pattern + * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded + * + */ + public static IQuerySpecification querySpecification() { + return MultipleConnectedTo.instance(); + } + } + + private MultipleConnectedTo() { + super(GeneratedPQuery.INSTANCE); + } + + /** + * @return the singleton instance of the query specification + * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded + * + */ + public static MultipleConnectedTo instance() { + try{ + return LazyHolder.INSTANCE; + } catch (ExceptionInInitializerError err) { + throw processInitializerError(err); + } + } + + @Override + protected MultipleConnectedTo.Matcher instantiate(final ViatraQueryEngine engine) { + return MultipleConnectedTo.Matcher.on(engine); + } + + @Override + public MultipleConnectedTo.Matcher instantiate() { + return MultipleConnectedTo.Matcher.create(); + } + + @Override + public MultipleConnectedTo.Match newEmptyMatch() { + return MultipleConnectedTo.Match.newEmptyMatch(); + } + + @Override + public MultipleConnectedTo.Match newMatch(final Object... parameters) { + return MultipleConnectedTo.Match.newMatch((modes3.Segment) parameters[0]); + } + + /** + * Inner class allowing the singleton instance of {@link MultipleConnectedTo} to be created + * not at the class load time of the outer class, + * but rather at the first call to {@link MultipleConnectedTo#instance()}. + * + *

    This workaround is required e.g. to support recursion. + * + */ + private static class LazyHolder { + private static final MultipleConnectedTo INSTANCE = new MultipleConnectedTo(); + + /** + * Statically initializes the query specification after the field {@link #INSTANCE} is assigned. + * This initialization order is required to support indirect recursion. + * + *

    The static initializer is defined using a helper field to work around limitations of the code generator. + * + */ + private static final Object STATIC_INITIALIZER = ensureInitialized(); + + public static Object ensureInitialized() { + INSTANCE.ensureInitializedInternal(); + return null; + } + } + + private static class GeneratedPQuery extends BaseGeneratedEMFPQuery { + private static final MultipleConnectedTo.GeneratedPQuery INSTANCE = new GeneratedPQuery(); + + private final PParameter parameter_s = new PParameter("s", "modes3.Segment", new EClassTransitiveInstancesKey((EClass)getClassifierLiteralSafe("http://www.ece.mcgill.ca/wcet/modes3", "Segment")), PParameterDirection.INOUT); + + private final List parameters = Arrays.asList(parameter_s); + + private GeneratedPQuery() { + super(PVisibility.PUBLIC); + } + + @Override + public String getFullyQualifiedName() { + return "modes3.queries.multipleConnectedTo"; + } + + @Override + public List getParameterNames() { + return Arrays.asList("s"); + } + + @Override + public List getParameters() { + return parameters; + } + + @Override + public Set doGetContainedBodies() { + setEvaluationHints(new QueryEvaluationHint(null, QueryEvaluationHint.BackendRequirement.UNSPECIFIED)); + Set bodies = new LinkedHashSet<>(); + { + PBody body = new PBody(this); + PVariable var_s = body.getOrCreateVariableByName("s"); + PVariable var_n1 = body.getOrCreateVariableByName("n1"); + PVariable var_n2 = body.getOrCreateVariableByName("n2"); + new TypeConstraint(body, Tuples.flatTupleOf(var_s), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.ece.mcgill.ca/wcet/modes3", "Segment"))); + body.setSymbolicParameters(Arrays.asList( + new ExportedParameter(body, var_s, parameter_s) + )); + // Segment.connectedTo(s, n1) + new TypeConstraint(body, Tuples.flatTupleOf(var_s), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.ece.mcgill.ca/wcet/modes3", "Segment"))); + PVariable var__virtual_0_ = body.getOrCreateVariableByName(".virtual{0}"); + new TypeConstraint(body, Tuples.flatTupleOf(var_s, var__virtual_0_), new EStructuralFeatureInstancesKey(getFeatureLiteral("http://www.ece.mcgill.ca/wcet/modes3", "Segment", "connectedTo"))); + new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_0_), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.ece.mcgill.ca/wcet/modes3", "Segment"))); + new Equality(body, var__virtual_0_, var_n1); + // Segment.connectedTo(s, n2) + new TypeConstraint(body, Tuples.flatTupleOf(var_s), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.ece.mcgill.ca/wcet/modes3", "Segment"))); + PVariable var__virtual_1_ = body.getOrCreateVariableByName(".virtual{1}"); + new TypeConstraint(body, Tuples.flatTupleOf(var_s, var__virtual_1_), new EStructuralFeatureInstancesKey(getFeatureLiteral("http://www.ece.mcgill.ca/wcet/modes3", "Segment", "connectedTo"))); + new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_1_), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.ece.mcgill.ca/wcet/modes3", "Segment"))); + new Equality(body, var__virtual_1_, var_n2); + // n1 != n2 + new Inequality(body, var_n1, var_n2); + bodies.add(body); + } + return bodies; + } + } +} diff --git a/Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/TooManyInputsOfSegment.java b/Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/TooManyInputsOfSegment.java index ff82dda1..d12ec23e 100644 --- a/Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/TooManyInputsOfSegment.java +++ b/Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/TooManyInputsOfSegment.java @@ -46,12 +46,6 @@ import org.eclipse.viatra.query.runtime.util.ViatraQueryLoggingUtil; * *

    Original source: *

    - *         //{@literal @}Constraint(message = "noInputOfSegment", severity = "error", key = { S })
    - *         //pattern noInputOfSegment(S : Segment) {
    - *         //	neg find turnout(S);
    - *         //	neg find output(_, S);
    - *         //}
    - *         
      *         {@literal @}Constraint(message = "tooManyInputsOfSegment", severity = "error", key = { S })
      *         pattern tooManyInputsOfSegment(S : SimpleSegment) {
      *         	find output(I1, S);
    @@ -251,12 +245,6 @@ public final class TooManyInputsOfSegment extends BaseGeneratedEMFQuerySpecifica
        * 
        * 

    Original source: *

    -   * //{@literal @}Constraint(message = "noInputOfSegment", severity = "error", key = { S })
    -   * //pattern noInputOfSegment(S : Segment) {
    -   * //	neg find turnout(S);
    -   * //	neg find output(_, S);
    -   * //}
    -   * 
        * {@literal @}Constraint(message = "tooManyInputsOfSegment", severity = "error", key = { S })
        * pattern tooManyInputsOfSegment(S : SimpleSegment) {
        * 	find output(I1, S);
    diff --git a/Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/TrainLocations_step_2.java b/Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/TrainLocations_step_2.java
    new file mode 100644
    index 00000000..5bf153c3
    --- /dev/null
    +++ b/Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/TrainLocations_step_2.java
    @@ -0,0 +1,564 @@
    +/**
    + * Generated from platform:/resource/ca.mcgill.rtgmrt.example.modes3/src/modes3/queries/Modes3Queries.vql
    + */
    +package modes3.queries;
    +
    +import java.util.Arrays;
    +import java.util.Collection;
    +import java.util.LinkedHashSet;
    +import java.util.List;
    +import java.util.Objects;
    +import java.util.Optional;
    +import java.util.Set;
    +import java.util.function.Consumer;
    +import java.util.stream.Collectors;
    +import java.util.stream.Stream;
    +import modes3.Train;
    +import org.apache.log4j.Logger;
    +import org.eclipse.emf.ecore.EClass;
    +import org.eclipse.viatra.query.runtime.api.IPatternMatch;
    +import org.eclipse.viatra.query.runtime.api.IQuerySpecification;
    +import org.eclipse.viatra.query.runtime.api.ViatraQueryEngine;
    +import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFPQuery;
    +import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFQuerySpecification;
    +import org.eclipse.viatra.query.runtime.api.impl.BaseMatcher;
    +import org.eclipse.viatra.query.runtime.api.impl.BasePatternMatch;
    +import org.eclipse.viatra.query.runtime.emf.types.EClassTransitiveInstancesKey;
    +import org.eclipse.viatra.query.runtime.matchers.backend.QueryEvaluationHint;
    +import org.eclipse.viatra.query.runtime.matchers.psystem.PBody;
    +import org.eclipse.viatra.query.runtime.matchers.psystem.PVariable;
    +import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.ExportedParameter;
    +import org.eclipse.viatra.query.runtime.matchers.psystem.basicenumerables.TypeConstraint;
    +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameter;
    +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameterDirection;
    +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PVisibility;
    +import org.eclipse.viatra.query.runtime.matchers.tuple.Tuple;
    +import org.eclipse.viatra.query.runtime.matchers.tuple.Tuples;
    +import org.eclipse.viatra.query.runtime.util.ViatraQueryLoggingUtil;
    +
    +/**
    + * A pattern-specific query specification that can instantiate Matcher in a type-safe way.
    + * 
    + * 

    Original source: + *

    + *         //
    + *         // trainLocations
    + *         //
    + *         
    + *         pattern trainLocations_step_2(in train : Train) {
    + *         //   frame-{@literal >}train = model-{@literal >}trains[i0];
    + *         //   frame-{@literal >}location = frame-{@literal >}train-{@literal >}location;
    + *         //   if (frame-{@literal >}location != NULL) {
    + *         //     ...
    + *         //   }
    + *         
    + *         	Train(train);
    + *         }
    + * 
    + * + * @see Matcher + * @see Match + * + */ +@SuppressWarnings("all") +public final class TrainLocations_step_2 extends BaseGeneratedEMFQuerySpecification { + /** + * Pattern-specific match representation of the modes3.queries.trainLocations_step_2 pattern, + * to be used in conjunction with {@link Matcher}. + * + *

    Class fields correspond to parameters of the pattern. Fields with value null are considered unassigned. + * Each instance is a (possibly partial) substitution of pattern parameters, + * usable to represent a match of the pattern in the result of a query, + * or to specify the bound (fixed) input parameters when issuing a query. + * + * @see Matcher + * + */ + public static abstract class Match extends BasePatternMatch { + private Train fTrain; + + private static List parameterNames = makeImmutableList("train"); + + private Match(final Train pTrain) { + this.fTrain = pTrain; + } + + @Override + public Object get(final String parameterName) { + switch(parameterName) { + case "train": return this.fTrain; + default: return null; + } + } + + @Override + public Object get(final int index) { + switch(index) { + case 0: return this.fTrain; + default: return null; + } + } + + public Train getTrain() { + return this.fTrain; + } + + @Override + public boolean set(final String parameterName, final Object newValue) { + if (!isMutable()) throw new java.lang.UnsupportedOperationException(); + if ("train".equals(parameterName) ) { + this.fTrain = (Train) newValue; + return true; + } + return false; + } + + public void setTrain(final Train pTrain) { + if (!isMutable()) throw new java.lang.UnsupportedOperationException(); + this.fTrain = pTrain; + } + + @Override + public String patternName() { + return "modes3.queries.trainLocations_step_2"; + } + + @Override + public List parameterNames() { + return TrainLocations_step_2.Match.parameterNames; + } + + @Override + public Object[] toArray() { + return new Object[]{fTrain}; + } + + @Override + public TrainLocations_step_2.Match toImmutable() { + return isMutable() ? newMatch(fTrain) : this; + } + + @Override + public String prettyPrint() { + StringBuilder result = new StringBuilder(); + result.append("\"train\"=" + prettyPrintValue(fTrain)); + return result.toString(); + } + + @Override + public int hashCode() { + return Objects.hash(fTrain); + } + + @Override + public boolean equals(final Object obj) { + if (this == obj) + return true; + if (obj == null) { + return false; + } + if ((obj instanceof TrainLocations_step_2.Match)) { + TrainLocations_step_2.Match other = (TrainLocations_step_2.Match) obj; + return Objects.equals(fTrain, other.fTrain); + } else { + // this should be infrequent + if (!(obj instanceof IPatternMatch)) { + return false; + } + IPatternMatch otherSig = (IPatternMatch) obj; + return Objects.equals(specification(), otherSig.specification()) && Arrays.deepEquals(toArray(), otherSig.toArray()); + } + } + + @Override + public TrainLocations_step_2 specification() { + return TrainLocations_step_2.instance(); + } + + /** + * Returns an empty, mutable match. + * Fields of the mutable match can be filled to create a partial match, usable as matcher input. + * + * @return the empty match. + * + */ + public static TrainLocations_step_2.Match newEmptyMatch() { + return new Mutable(null); + } + + /** + * Returns a mutable (partial) match. + * Fields of the mutable match can be filled to create a partial match, usable as matcher input. + * + * @param pTrain the fixed value of pattern parameter train, or null if not bound. + * @return the new, mutable (partial) match object. + * + */ + public static TrainLocations_step_2.Match newMutableMatch(final Train pTrain) { + return new Mutable(pTrain); + } + + /** + * Returns a new (partial) match. + * This can be used e.g. to call the matcher with a partial match. + *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. + * @param pTrain the fixed value of pattern parameter train, or null if not bound. + * @return the (partial) match object. + * + */ + public static TrainLocations_step_2.Match newMatch(final Train pTrain) { + return new Immutable(pTrain); + } + + private static final class Mutable extends TrainLocations_step_2.Match { + Mutable(final Train pTrain) { + super(pTrain); + } + + @Override + public boolean isMutable() { + return true; + } + } + + private static final class Immutable extends TrainLocations_step_2.Match { + Immutable(final Train pTrain) { + super(pTrain); + } + + @Override + public boolean isMutable() { + return false; + } + } + } + + /** + * Generated pattern matcher API of the modes3.queries.trainLocations_step_2 pattern, + * providing pattern-specific query methods. + * + *

    Use the pattern matcher on a given model via {@link #on(ViatraQueryEngine)}, + * e.g. in conjunction with {@link ViatraQueryEngine#on(QueryScope)}. + * + *

    Matches of the pattern will be represented as {@link Match}. + * + *

    Original source: + *

    +   * //
    +   * // trainLocations
    +   * //
    +   * 
    +   * pattern trainLocations_step_2(in train : Train) {
    +   * //   frame-{@literal >}train = model-{@literal >}trains[i0];
    +   * //   frame-{@literal >}location = frame-{@literal >}train-{@literal >}location;
    +   * //   if (frame-{@literal >}location != NULL) {
    +   * //     ...
    +   * //   }
    +   * 
    +   * 	Train(train);
    +   * }
    +   * 
    + * + * @see Match + * @see TrainLocations_step_2 + * + */ + public static class Matcher extends BaseMatcher { + /** + * Initializes the pattern matcher within an existing VIATRA Query engine. + * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. + * + * @param engine the existing VIATRA Query engine in which this matcher will be created. + * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation + * + */ + public static TrainLocations_step_2.Matcher on(final ViatraQueryEngine engine) { + // check if matcher already exists + Matcher matcher = engine.getExistingMatcher(querySpecification()); + if (matcher == null) { + matcher = (Matcher)engine.getMatcher(querySpecification()); + } + return matcher; + } + + /** + * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation + * @return an initialized matcher + * @noreference This method is for internal matcher initialization by the framework, do not call it manually. + * + */ + public static TrainLocations_step_2.Matcher create() { + return new Matcher(); + } + + private static final int POSITION_TRAIN = 0; + + private static final Logger LOGGER = ViatraQueryLoggingUtil.getLogger(TrainLocations_step_2.Matcher.class); + + /** + * Initializes the pattern matcher within an existing VIATRA Query engine. + * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. + * + * @param engine the existing VIATRA Query engine in which this matcher will be created. + * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation + * + */ + private Matcher() { + super(querySpecification()); + } + + /** + * Returns the set of all matches of the pattern that conform to the given fixed values of some parameters. + * @param pTrain the fixed value of pattern parameter train, or null if not bound. + * @return matches represented as a Match object. + * + */ + public Collection getAllMatches(final Train pTrain) { + return rawStreamAllMatches(new Object[]{pTrain}).collect(Collectors.toSet()); + } + + /** + * Returns a stream of all matches of the pattern that conform to the given fixed values of some parameters. + *

    + * NOTE: It is important not to modify the source model while the stream is being processed. + * If the match set of the pattern changes during processing, the contents of the stream is undefined. + * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. + * @param pTrain the fixed value of pattern parameter train, or null if not bound. + * @return a stream of matches represented as a Match object. + * + */ + public Stream streamAllMatches(final Train pTrain) { + return rawStreamAllMatches(new Object[]{pTrain}); + } + + /** + * Returns an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. + * Neither determinism nor randomness of selection is guaranteed. + * @param pTrain the fixed value of pattern parameter train, or null if not bound. + * @return a match represented as a Match object, or null if no match is found. + * + */ + public Optional getOneArbitraryMatch(final Train pTrain) { + return rawGetOneArbitraryMatch(new Object[]{pTrain}); + } + + /** + * Indicates whether the given combination of specified pattern parameters constitute a valid pattern match, + * under any possible substitution of the unspecified parameters (if any). + * @param pTrain the fixed value of pattern parameter train, or null if not bound. + * @return true if the input is a valid (partial) match of the pattern. + * + */ + public boolean hasMatch(final Train pTrain) { + return rawHasMatch(new Object[]{pTrain}); + } + + /** + * Returns the number of all matches of the pattern that conform to the given fixed values of some parameters. + * @param pTrain the fixed value of pattern parameter train, or null if not bound. + * @return the number of pattern matches found. + * + */ + public int countMatches(final Train pTrain) { + return rawCountMatches(new Object[]{pTrain}); + } + + /** + * Executes the given processor on an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. + * Neither determinism nor randomness of selection is guaranteed. + * @param pTrain the fixed value of pattern parameter train, or null if not bound. + * @param processor the action that will process the selected match. + * @return true if the pattern has at least one match with the given parameter values, false if the processor was not invoked + * + */ + public boolean forOneArbitraryMatch(final Train pTrain, final Consumer processor) { + return rawForOneArbitraryMatch(new Object[]{pTrain}, processor); + } + + /** + * Returns a new (partial) match. + * This can be used e.g. to call the matcher with a partial match. + *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. + * @param pTrain the fixed value of pattern parameter train, or null if not bound. + * @return the (partial) match object. + * + */ + public TrainLocations_step_2.Match newMatch(final Train pTrain) { + return TrainLocations_step_2.Match.newMatch(pTrain); + } + + /** + * Retrieve the set of values that occur in matches for train. + * @return the Set of all values or empty set if there are no matches + * + */ + protected Stream rawStreamAllValuesOftrain(final Object[] parameters) { + return rawStreamAllValues(POSITION_TRAIN, parameters).map(Train.class::cast); + } + + /** + * Retrieve the set of values that occur in matches for train. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOftrain() { + return rawStreamAllValuesOftrain(emptyArray()).collect(Collectors.toSet()); + } + + /** + * Retrieve the set of values that occur in matches for train. + * @return the Set of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOftrain() { + return rawStreamAllValuesOftrain(emptyArray()); + } + + @Override + protected TrainLocations_step_2.Match tupleToMatch(final Tuple t) { + try { + return TrainLocations_step_2.Match.newMatch((Train) t.get(POSITION_TRAIN)); + } catch(ClassCastException e) { + LOGGER.error("Element(s) in tuple not properly typed!",e); + return null; + } + } + + @Override + protected TrainLocations_step_2.Match arrayToMatch(final Object[] match) { + try { + return TrainLocations_step_2.Match.newMatch((Train) match[POSITION_TRAIN]); + } catch(ClassCastException e) { + LOGGER.error("Element(s) in array not properly typed!",e); + return null; + } + } + + @Override + protected TrainLocations_step_2.Match arrayToMatchMutable(final Object[] match) { + try { + return TrainLocations_step_2.Match.newMutableMatch((Train) match[POSITION_TRAIN]); + } catch(ClassCastException e) { + LOGGER.error("Element(s) in array not properly typed!",e); + return null; + } + } + + /** + * @return the singleton instance of the query specification of this pattern + * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded + * + */ + public static IQuerySpecification querySpecification() { + return TrainLocations_step_2.instance(); + } + } + + private TrainLocations_step_2() { + super(GeneratedPQuery.INSTANCE); + } + + /** + * @return the singleton instance of the query specification + * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded + * + */ + public static TrainLocations_step_2 instance() { + try{ + return LazyHolder.INSTANCE; + } catch (ExceptionInInitializerError err) { + throw processInitializerError(err); + } + } + + @Override + protected TrainLocations_step_2.Matcher instantiate(final ViatraQueryEngine engine) { + return TrainLocations_step_2.Matcher.on(engine); + } + + @Override + public TrainLocations_step_2.Matcher instantiate() { + return TrainLocations_step_2.Matcher.create(); + } + + @Override + public TrainLocations_step_2.Match newEmptyMatch() { + return TrainLocations_step_2.Match.newEmptyMatch(); + } + + @Override + public TrainLocations_step_2.Match newMatch(final Object... parameters) { + return TrainLocations_step_2.Match.newMatch((modes3.Train) parameters[0]); + } + + /** + * Inner class allowing the singleton instance of {@link TrainLocations_step_2} to be created + * not at the class load time of the outer class, + * but rather at the first call to {@link TrainLocations_step_2#instance()}. + * + *

    This workaround is required e.g. to support recursion. + * + */ + private static class LazyHolder { + private static final TrainLocations_step_2 INSTANCE = new TrainLocations_step_2(); + + /** + * Statically initializes the query specification after the field {@link #INSTANCE} is assigned. + * This initialization order is required to support indirect recursion. + * + *

    The static initializer is defined using a helper field to work around limitations of the code generator. + * + */ + private static final Object STATIC_INITIALIZER = ensureInitialized(); + + public static Object ensureInitialized() { + INSTANCE.ensureInitializedInternal(); + return null; + } + } + + private static class GeneratedPQuery extends BaseGeneratedEMFPQuery { + private static final TrainLocations_step_2.GeneratedPQuery INSTANCE = new GeneratedPQuery(); + + private final PParameter parameter_train = new PParameter("train", "modes3.Train", new EClassTransitiveInstancesKey((EClass)getClassifierLiteralSafe("http://www.ece.mcgill.ca/wcet/modes3", "Train")), PParameterDirection.INOUT); + + private final List parameters = Arrays.asList(parameter_train); + + private GeneratedPQuery() { + super(PVisibility.PUBLIC); + } + + @Override + public String getFullyQualifiedName() { + return "modes3.queries.trainLocations_step_2"; + } + + @Override + public List getParameterNames() { + return Arrays.asList("train"); + } + + @Override + public List getParameters() { + return parameters; + } + + @Override + public Set doGetContainedBodies() { + setEvaluationHints(new QueryEvaluationHint(null, QueryEvaluationHint.BackendRequirement.UNSPECIFIED)); + Set bodies = new LinkedHashSet<>(); + { + PBody body = new PBody(this); + PVariable var_train = body.getOrCreateVariableByName("train"); + new TypeConstraint(body, Tuples.flatTupleOf(var_train), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.ece.mcgill.ca/wcet/modes3", "Train"))); + body.setSymbolicParameters(Arrays.asList( + new ExportedParameter(body, var_train, parameter_train) + )); + // // frame->train = model->trains[i0];// frame->location = frame->train->location;// if (frame->location != NULL) {// ...// } Train(train) + new TypeConstraint(body, Tuples.flatTupleOf(var_train), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.ece.mcgill.ca/wcet/modes3", "Train"))); + bodies.add(body); + } + return bodies; + } + } +} diff --git a/Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/TrainLocations_step_3.java b/Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/TrainLocations_step_3.java new file mode 100644 index 00000000..edbd4af3 --- /dev/null +++ b/Domains/ca.mcgill.rtgmrt.example.modes3/vql-gen/modes3/queries/TrainLocations_step_3.java @@ -0,0 +1,713 @@ +/** + * Generated from platform:/resource/ca.mcgill.rtgmrt.example.modes3/src/modes3/queries/Modes3Queries.vql + */ +package modes3.queries; + +import java.util.Arrays; +import java.util.Collection; +import java.util.LinkedHashSet; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import java.util.Set; +import java.util.function.Consumer; +import java.util.stream.Collectors; +import java.util.stream.Stream; +import modes3.Segment; +import modes3.Train; +import org.apache.log4j.Logger; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.viatra.query.runtime.api.IPatternMatch; +import org.eclipse.viatra.query.runtime.api.IQuerySpecification; +import org.eclipse.viatra.query.runtime.api.ViatraQueryEngine; +import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFPQuery; +import org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFQuerySpecification; +import org.eclipse.viatra.query.runtime.api.impl.BaseMatcher; +import org.eclipse.viatra.query.runtime.api.impl.BasePatternMatch; +import org.eclipse.viatra.query.runtime.emf.types.EClassTransitiveInstancesKey; +import org.eclipse.viatra.query.runtime.emf.types.EStructuralFeatureInstancesKey; +import org.eclipse.viatra.query.runtime.matchers.backend.QueryEvaluationHint; +import org.eclipse.viatra.query.runtime.matchers.psystem.PBody; +import org.eclipse.viatra.query.runtime.matchers.psystem.PVariable; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.Equality; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicdeferred.ExportedParameter; +import org.eclipse.viatra.query.runtime.matchers.psystem.basicenumerables.TypeConstraint; +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameter; +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PParameterDirection; +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PVisibility; +import org.eclipse.viatra.query.runtime.matchers.tuple.Tuple; +import org.eclipse.viatra.query.runtime.matchers.tuple.Tuples; +import org.eclipse.viatra.query.runtime.util.ViatraQueryLoggingUtil; + +/** + * A pattern-specific query specification that can instantiate Matcher in a type-safe way. + * + *

    Original source: + *

    + *         pattern trainLocations_step_3(in train : Train, in location : Segment) {
    + *         //     results-{@literal >}matches[match_cntr].location = frame-{@literal >}location;
    + *         //     results-{@literal >}matches[match_cntr++].train = frame-{@literal >}train;
    + *         	Train(train);
    + *             Train.location(train, location);
    + *         }
    + * 
    + * + * @see Matcher + * @see Match + * + */ +@SuppressWarnings("all") +public final class TrainLocations_step_3 extends BaseGeneratedEMFQuerySpecification { + /** + * Pattern-specific match representation of the modes3.queries.trainLocations_step_3 pattern, + * to be used in conjunction with {@link Matcher}. + * + *

    Class fields correspond to parameters of the pattern. Fields with value null are considered unassigned. + * Each instance is a (possibly partial) substitution of pattern parameters, + * usable to represent a match of the pattern in the result of a query, + * or to specify the bound (fixed) input parameters when issuing a query. + * + * @see Matcher + * + */ + public static abstract class Match extends BasePatternMatch { + private Train fTrain; + + private Segment fLocation; + + private static List parameterNames = makeImmutableList("train", "location"); + + private Match(final Train pTrain, final Segment pLocation) { + this.fTrain = pTrain; + this.fLocation = pLocation; + } + + @Override + public Object get(final String parameterName) { + switch(parameterName) { + case "train": return this.fTrain; + case "location": return this.fLocation; + default: return null; + } + } + + @Override + public Object get(final int index) { + switch(index) { + case 0: return this.fTrain; + case 1: return this.fLocation; + default: return null; + } + } + + public Train getTrain() { + return this.fTrain; + } + + public Segment getLocation() { + return this.fLocation; + } + + @Override + public boolean set(final String parameterName, final Object newValue) { + if (!isMutable()) throw new java.lang.UnsupportedOperationException(); + if ("train".equals(parameterName) ) { + this.fTrain = (Train) newValue; + return true; + } + if ("location".equals(parameterName) ) { + this.fLocation = (Segment) newValue; + return true; + } + return false; + } + + public void setTrain(final Train pTrain) { + if (!isMutable()) throw new java.lang.UnsupportedOperationException(); + this.fTrain = pTrain; + } + + public void setLocation(final Segment pLocation) { + if (!isMutable()) throw new java.lang.UnsupportedOperationException(); + this.fLocation = pLocation; + } + + @Override + public String patternName() { + return "modes3.queries.trainLocations_step_3"; + } + + @Override + public List parameterNames() { + return TrainLocations_step_3.Match.parameterNames; + } + + @Override + public Object[] toArray() { + return new Object[]{fTrain, fLocation}; + } + + @Override + public TrainLocations_step_3.Match toImmutable() { + return isMutable() ? newMatch(fTrain, fLocation) : this; + } + + @Override + public String prettyPrint() { + StringBuilder result = new StringBuilder(); + result.append("\"train\"=" + prettyPrintValue(fTrain) + ", "); + result.append("\"location\"=" + prettyPrintValue(fLocation)); + return result.toString(); + } + + @Override + public int hashCode() { + return Objects.hash(fTrain, fLocation); + } + + @Override + public boolean equals(final Object obj) { + if (this == obj) + return true; + if (obj == null) { + return false; + } + if ((obj instanceof TrainLocations_step_3.Match)) { + TrainLocations_step_3.Match other = (TrainLocations_step_3.Match) obj; + return Objects.equals(fTrain, other.fTrain) && Objects.equals(fLocation, other.fLocation); + } else { + // this should be infrequent + if (!(obj instanceof IPatternMatch)) { + return false; + } + IPatternMatch otherSig = (IPatternMatch) obj; + return Objects.equals(specification(), otherSig.specification()) && Arrays.deepEquals(toArray(), otherSig.toArray()); + } + } + + @Override + public TrainLocations_step_3 specification() { + return TrainLocations_step_3.instance(); + } + + /** + * Returns an empty, mutable match. + * Fields of the mutable match can be filled to create a partial match, usable as matcher input. + * + * @return the empty match. + * + */ + public static TrainLocations_step_3.Match newEmptyMatch() { + return new Mutable(null, null); + } + + /** + * Returns a mutable (partial) match. + * Fields of the mutable match can be filled to create a partial match, usable as matcher input. + * + * @param pTrain the fixed value of pattern parameter train, or null if not bound. + * @param pLocation the fixed value of pattern parameter location, or null if not bound. + * @return the new, mutable (partial) match object. + * + */ + public static TrainLocations_step_3.Match newMutableMatch(final Train pTrain, final Segment pLocation) { + return new Mutable(pTrain, pLocation); + } + + /** + * Returns a new (partial) match. + * This can be used e.g. to call the matcher with a partial match. + *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. + * @param pTrain the fixed value of pattern parameter train, or null if not bound. + * @param pLocation the fixed value of pattern parameter location, or null if not bound. + * @return the (partial) match object. + * + */ + public static TrainLocations_step_3.Match newMatch(final Train pTrain, final Segment pLocation) { + return new Immutable(pTrain, pLocation); + } + + private static final class Mutable extends TrainLocations_step_3.Match { + Mutable(final Train pTrain, final Segment pLocation) { + super(pTrain, pLocation); + } + + @Override + public boolean isMutable() { + return true; + } + } + + private static final class Immutable extends TrainLocations_step_3.Match { + Immutable(final Train pTrain, final Segment pLocation) { + super(pTrain, pLocation); + } + + @Override + public boolean isMutable() { + return false; + } + } + } + + /** + * Generated pattern matcher API of the modes3.queries.trainLocations_step_3 pattern, + * providing pattern-specific query methods. + * + *

    Use the pattern matcher on a given model via {@link #on(ViatraQueryEngine)}, + * e.g. in conjunction with {@link ViatraQueryEngine#on(QueryScope)}. + * + *

    Matches of the pattern will be represented as {@link Match}. + * + *

    Original source: + *

    +   * pattern trainLocations_step_3(in train : Train, in location : Segment) {
    +   * //     results-{@literal >}matches[match_cntr].location = frame-{@literal >}location;
    +   * //     results-{@literal >}matches[match_cntr++].train = frame-{@literal >}train;
    +   * 	Train(train);
    +   *     Train.location(train, location);
    +   * }
    +   * 
    + * + * @see Match + * @see TrainLocations_step_3 + * + */ + public static class Matcher extends BaseMatcher { + /** + * Initializes the pattern matcher within an existing VIATRA Query engine. + * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. + * + * @param engine the existing VIATRA Query engine in which this matcher will be created. + * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation + * + */ + public static TrainLocations_step_3.Matcher on(final ViatraQueryEngine engine) { + // check if matcher already exists + Matcher matcher = engine.getExistingMatcher(querySpecification()); + if (matcher == null) { + matcher = (Matcher)engine.getMatcher(querySpecification()); + } + return matcher; + } + + /** + * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation + * @return an initialized matcher + * @noreference This method is for internal matcher initialization by the framework, do not call it manually. + * + */ + public static TrainLocations_step_3.Matcher create() { + return new Matcher(); + } + + private static final int POSITION_TRAIN = 0; + + private static final int POSITION_LOCATION = 1; + + private static final Logger LOGGER = ViatraQueryLoggingUtil.getLogger(TrainLocations_step_3.Matcher.class); + + /** + * Initializes the pattern matcher within an existing VIATRA Query engine. + * If the pattern matcher is already constructed in the engine, only a light-weight reference is returned. + * + * @param engine the existing VIATRA Query engine in which this matcher will be created. + * @throws ViatraQueryRuntimeException if an error occurs during pattern matcher creation + * + */ + private Matcher() { + super(querySpecification()); + } + + /** + * Returns the set of all matches of the pattern that conform to the given fixed values of some parameters. + * @param pTrain the fixed value of pattern parameter train, or null if not bound. + * @param pLocation the fixed value of pattern parameter location, or null if not bound. + * @return matches represented as a Match object. + * + */ + public Collection getAllMatches(final Train pTrain, final Segment pLocation) { + return rawStreamAllMatches(new Object[]{pTrain, pLocation}).collect(Collectors.toSet()); + } + + /** + * Returns a stream of all matches of the pattern that conform to the given fixed values of some parameters. + *

    + * NOTE: It is important not to modify the source model while the stream is being processed. + * If the match set of the pattern changes during processing, the contents of the stream is undefined. + * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. + * @param pTrain the fixed value of pattern parameter train, or null if not bound. + * @param pLocation the fixed value of pattern parameter location, or null if not bound. + * @return a stream of matches represented as a Match object. + * + */ + public Stream streamAllMatches(final Train pTrain, final Segment pLocation) { + return rawStreamAllMatches(new Object[]{pTrain, pLocation}); + } + + /** + * Returns an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. + * Neither determinism nor randomness of selection is guaranteed. + * @param pTrain the fixed value of pattern parameter train, or null if not bound. + * @param pLocation the fixed value of pattern parameter location, or null if not bound. + * @return a match represented as a Match object, or null if no match is found. + * + */ + public Optional getOneArbitraryMatch(final Train pTrain, final Segment pLocation) { + return rawGetOneArbitraryMatch(new Object[]{pTrain, pLocation}); + } + + /** + * Indicates whether the given combination of specified pattern parameters constitute a valid pattern match, + * under any possible substitution of the unspecified parameters (if any). + * @param pTrain the fixed value of pattern parameter train, or null if not bound. + * @param pLocation the fixed value of pattern parameter location, or null if not bound. + * @return true if the input is a valid (partial) match of the pattern. + * + */ + public boolean hasMatch(final Train pTrain, final Segment pLocation) { + return rawHasMatch(new Object[]{pTrain, pLocation}); + } + + /** + * Returns the number of all matches of the pattern that conform to the given fixed values of some parameters. + * @param pTrain the fixed value of pattern parameter train, or null if not bound. + * @param pLocation the fixed value of pattern parameter location, or null if not bound. + * @return the number of pattern matches found. + * + */ + public int countMatches(final Train pTrain, final Segment pLocation) { + return rawCountMatches(new Object[]{pTrain, pLocation}); + } + + /** + * Executes the given processor on an arbitrarily chosen match of the pattern that conforms to the given fixed values of some parameters. + * Neither determinism nor randomness of selection is guaranteed. + * @param pTrain the fixed value of pattern parameter train, or null if not bound. + * @param pLocation the fixed value of pattern parameter location, or null if not bound. + * @param processor the action that will process the selected match. + * @return true if the pattern has at least one match with the given parameter values, false if the processor was not invoked + * + */ + public boolean forOneArbitraryMatch(final Train pTrain, final Segment pLocation, final Consumer processor) { + return rawForOneArbitraryMatch(new Object[]{pTrain, pLocation}, processor); + } + + /** + * Returns a new (partial) match. + * This can be used e.g. to call the matcher with a partial match. + *

    The returned match will be immutable. Use {@link #newEmptyMatch()} to obtain a mutable match object. + * @param pTrain the fixed value of pattern parameter train, or null if not bound. + * @param pLocation the fixed value of pattern parameter location, or null if not bound. + * @return the (partial) match object. + * + */ + public TrainLocations_step_3.Match newMatch(final Train pTrain, final Segment pLocation) { + return TrainLocations_step_3.Match.newMatch(pTrain, pLocation); + } + + /** + * Retrieve the set of values that occur in matches for train. + * @return the Set of all values or empty set if there are no matches + * + */ + protected Stream rawStreamAllValuesOftrain(final Object[] parameters) { + return rawStreamAllValues(POSITION_TRAIN, parameters).map(Train.class::cast); + } + + /** + * Retrieve the set of values that occur in matches for train. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOftrain() { + return rawStreamAllValuesOftrain(emptyArray()).collect(Collectors.toSet()); + } + + /** + * Retrieve the set of values that occur in matches for train. + * @return the Set of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOftrain() { + return rawStreamAllValuesOftrain(emptyArray()); + } + + /** + * Retrieve the set of values that occur in matches for train. + *

    + * NOTE: It is important not to modify the source model while the stream is being processed. + * If the match set of the pattern changes during processing, the contents of the stream is undefined. + * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. + * + * @return the Stream of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOftrain(final TrainLocations_step_3.Match partialMatch) { + return rawStreamAllValuesOftrain(partialMatch.toArray()); + } + + /** + * Retrieve the set of values that occur in matches for train. + *

    + * NOTE: It is important not to modify the source model while the stream is being processed. + * If the match set of the pattern changes during processing, the contents of the stream is undefined. + * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. + * + * @return the Stream of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOftrain(final Segment pLocation) { + return rawStreamAllValuesOftrain(new Object[]{null, pLocation}); + } + + /** + * Retrieve the set of values that occur in matches for train. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOftrain(final TrainLocations_step_3.Match partialMatch) { + return rawStreamAllValuesOftrain(partialMatch.toArray()).collect(Collectors.toSet()); + } + + /** + * Retrieve the set of values that occur in matches for train. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOftrain(final Segment pLocation) { + return rawStreamAllValuesOftrain(new Object[]{null, pLocation}).collect(Collectors.toSet()); + } + + /** + * Retrieve the set of values that occur in matches for location. + * @return the Set of all values or empty set if there are no matches + * + */ + protected Stream rawStreamAllValuesOflocation(final Object[] parameters) { + return rawStreamAllValues(POSITION_LOCATION, parameters).map(Segment.class::cast); + } + + /** + * Retrieve the set of values that occur in matches for location. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOflocation() { + return rawStreamAllValuesOflocation(emptyArray()).collect(Collectors.toSet()); + } + + /** + * Retrieve the set of values that occur in matches for location. + * @return the Set of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOflocation() { + return rawStreamAllValuesOflocation(emptyArray()); + } + + /** + * Retrieve the set of values that occur in matches for location. + *

    + * NOTE: It is important not to modify the source model while the stream is being processed. + * If the match set of the pattern changes during processing, the contents of the stream is undefined. + * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. + * + * @return the Stream of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOflocation(final TrainLocations_step_3.Match partialMatch) { + return rawStreamAllValuesOflocation(partialMatch.toArray()); + } + + /** + * Retrieve the set of values that occur in matches for location. + *

    + * NOTE: It is important not to modify the source model while the stream is being processed. + * If the match set of the pattern changes during processing, the contents of the stream is undefined. + * In such cases, either rely on {@link #getAllMatches()} or collect the results of the stream in end-user code. + * + * @return the Stream of all values or empty set if there are no matches + * + */ + public Stream streamAllValuesOflocation(final Train pTrain) { + return rawStreamAllValuesOflocation(new Object[]{pTrain, null}); + } + + /** + * Retrieve the set of values that occur in matches for location. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOflocation(final TrainLocations_step_3.Match partialMatch) { + return rawStreamAllValuesOflocation(partialMatch.toArray()).collect(Collectors.toSet()); + } + + /** + * Retrieve the set of values that occur in matches for location. + * @return the Set of all values or empty set if there are no matches + * + */ + public Set getAllValuesOflocation(final Train pTrain) { + return rawStreamAllValuesOflocation(new Object[]{pTrain, null}).collect(Collectors.toSet()); + } + + @Override + protected TrainLocations_step_3.Match tupleToMatch(final Tuple t) { + try { + return TrainLocations_step_3.Match.newMatch((Train) t.get(POSITION_TRAIN), (Segment) t.get(POSITION_LOCATION)); + } catch(ClassCastException e) { + LOGGER.error("Element(s) in tuple not properly typed!",e); + return null; + } + } + + @Override + protected TrainLocations_step_3.Match arrayToMatch(final Object[] match) { + try { + return TrainLocations_step_3.Match.newMatch((Train) match[POSITION_TRAIN], (Segment) match[POSITION_LOCATION]); + } catch(ClassCastException e) { + LOGGER.error("Element(s) in array not properly typed!",e); + return null; + } + } + + @Override + protected TrainLocations_step_3.Match arrayToMatchMutable(final Object[] match) { + try { + return TrainLocations_step_3.Match.newMutableMatch((Train) match[POSITION_TRAIN], (Segment) match[POSITION_LOCATION]); + } catch(ClassCastException e) { + LOGGER.error("Element(s) in array not properly typed!",e); + return null; + } + } + + /** + * @return the singleton instance of the query specification of this pattern + * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded + * + */ + public static IQuerySpecification querySpecification() { + return TrainLocations_step_3.instance(); + } + } + + private TrainLocations_step_3() { + super(GeneratedPQuery.INSTANCE); + } + + /** + * @return the singleton instance of the query specification + * @throws ViatraQueryRuntimeException if the pattern definition could not be loaded + * + */ + public static TrainLocations_step_3 instance() { + try{ + return LazyHolder.INSTANCE; + } catch (ExceptionInInitializerError err) { + throw processInitializerError(err); + } + } + + @Override + protected TrainLocations_step_3.Matcher instantiate(final ViatraQueryEngine engine) { + return TrainLocations_step_3.Matcher.on(engine); + } + + @Override + public TrainLocations_step_3.Matcher instantiate() { + return TrainLocations_step_3.Matcher.create(); + } + + @Override + public TrainLocations_step_3.Match newEmptyMatch() { + return TrainLocations_step_3.Match.newEmptyMatch(); + } + + @Override + public TrainLocations_step_3.Match newMatch(final Object... parameters) { + return TrainLocations_step_3.Match.newMatch((modes3.Train) parameters[0], (modes3.Segment) parameters[1]); + } + + /** + * Inner class allowing the singleton instance of {@link TrainLocations_step_3} to be created + * not at the class load time of the outer class, + * but rather at the first call to {@link TrainLocations_step_3#instance()}. + * + *

    This workaround is required e.g. to support recursion. + * + */ + private static class LazyHolder { + private static final TrainLocations_step_3 INSTANCE = new TrainLocations_step_3(); + + /** + * Statically initializes the query specification after the field {@link #INSTANCE} is assigned. + * This initialization order is required to support indirect recursion. + * + *

    The static initializer is defined using a helper field to work around limitations of the code generator. + * + */ + private static final Object STATIC_INITIALIZER = ensureInitialized(); + + public static Object ensureInitialized() { + INSTANCE.ensureInitializedInternal(); + return null; + } + } + + private static class GeneratedPQuery extends BaseGeneratedEMFPQuery { + private static final TrainLocations_step_3.GeneratedPQuery INSTANCE = new GeneratedPQuery(); + + private final PParameter parameter_train = new PParameter("train", "modes3.Train", new EClassTransitiveInstancesKey((EClass)getClassifierLiteralSafe("http://www.ece.mcgill.ca/wcet/modes3", "Train")), PParameterDirection.INOUT); + + private final PParameter parameter_location = new PParameter("location", "modes3.Segment", new EClassTransitiveInstancesKey((EClass)getClassifierLiteralSafe("http://www.ece.mcgill.ca/wcet/modes3", "Segment")), PParameterDirection.INOUT); + + private final List parameters = Arrays.asList(parameter_train, parameter_location); + + private GeneratedPQuery() { + super(PVisibility.PUBLIC); + } + + @Override + public String getFullyQualifiedName() { + return "modes3.queries.trainLocations_step_3"; + } + + @Override + public List getParameterNames() { + return Arrays.asList("train","location"); + } + + @Override + public List getParameters() { + return parameters; + } + + @Override + public Set doGetContainedBodies() { + setEvaluationHints(new QueryEvaluationHint(null, QueryEvaluationHint.BackendRequirement.UNSPECIFIED)); + Set bodies = new LinkedHashSet<>(); + { + PBody body = new PBody(this); + PVariable var_train = body.getOrCreateVariableByName("train"); + PVariable var_location = body.getOrCreateVariableByName("location"); + new TypeConstraint(body, Tuples.flatTupleOf(var_train), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.ece.mcgill.ca/wcet/modes3", "Train"))); + new TypeConstraint(body, Tuples.flatTupleOf(var_location), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.ece.mcgill.ca/wcet/modes3", "Segment"))); + body.setSymbolicParameters(Arrays.asList( + new ExportedParameter(body, var_train, parameter_train), + new ExportedParameter(body, var_location, parameter_location) + )); + // // results->matches[match_cntr].location = frame->location;// results->matches[match_cntr++].train = frame->train; Train(train) + new TypeConstraint(body, Tuples.flatTupleOf(var_train), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.ece.mcgill.ca/wcet/modes3", "Train"))); + // Train.location(train, location) + new TypeConstraint(body, Tuples.flatTupleOf(var_train), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.ece.mcgill.ca/wcet/modes3", "Train"))); + PVariable var__virtual_0_ = body.getOrCreateVariableByName(".virtual{0}"); + new TypeConstraint(body, Tuples.flatTupleOf(var_train, var__virtual_0_), new EStructuralFeatureInstancesKey(getFeatureLiteral("http://www.ece.mcgill.ca/wcet/modes3", "Train", "location"))); + new TypeConstraint(body, Tuples.flatTupleOf(var__virtual_0_), new EClassTransitiveInstancesKey((EClass)getClassifierLiteral("http://www.ece.mcgill.ca/wcet/modes3", "Segment"))); + new Equality(body, var__virtual_0_, var_location); + bodies.add(body); + } + return bodies; + } + } +} diff --git a/Domains/ca.mcgill.rtgmrt.example.modes3/xtend-gen/modes3/run/.CloseTrainsObjectiveHint.xtendbin b/Domains/ca.mcgill.rtgmrt.example.modes3/xtend-gen/modes3/run/.CloseTrainsObjectiveHint.xtendbin new file mode 100644 index 00000000..87975792 Binary files /dev/null and b/Domains/ca.mcgill.rtgmrt.example.modes3/xtend-gen/modes3/run/.CloseTrainsObjectiveHint.xtendbin differ diff --git a/Domains/ca.mcgill.rtgmrt.example.modes3/xtend-gen/modes3/run/.EndOfSidingObjectiveHint.xtendbin b/Domains/ca.mcgill.rtgmrt.example.modes3/xtend-gen/modes3/run/.EndOfSidingObjectiveHint.xtendbin new file mode 100644 index 00000000..f243e180 Binary files /dev/null and b/Domains/ca.mcgill.rtgmrt.example.modes3/xtend-gen/modes3/run/.EndOfSidingObjectiveHint.xtendbin differ diff --git a/Domains/ca.mcgill.rtgmrt.example.modes3/xtend-gen/modes3/run/.MisalignedTurnoutObjectiveHint.xtendbin b/Domains/ca.mcgill.rtgmrt.example.modes3/xtend-gen/modes3/run/.MisalignedTurnoutObjectiveHint.xtendbin new file mode 100644 index 00000000..cdef4dc7 Binary files /dev/null and b/Domains/ca.mcgill.rtgmrt.example.modes3/xtend-gen/modes3/run/.MisalignedTurnoutObjectiveHint.xtendbin differ diff --git a/Domains/ca.mcgill.rtgmrt.example.modes3/xtend-gen/modes3/run/.Modes3ModelGenerator.xtendbin b/Domains/ca.mcgill.rtgmrt.example.modes3/xtend-gen/modes3/run/.Modes3ModelGenerator.xtendbin index 77f1ea6e..759ac9e4 100644 Binary files a/Domains/ca.mcgill.rtgmrt.example.modes3/xtend-gen/modes3/run/.Modes3ModelGenerator.xtendbin and b/Domains/ca.mcgill.rtgmrt.example.modes3/xtend-gen/modes3/run/.Modes3ModelGenerator.xtendbin differ diff --git a/Domains/ca.mcgill.rtgmrt.example.modes3/xtend-gen/modes3/run/.Modes3TypeScopeHint.xtendbin b/Domains/ca.mcgill.rtgmrt.example.modes3/xtend-gen/modes3/run/.Modes3TypeScopeHint.xtendbin index 4fdbb71b..386baeda 100644 Binary files a/Domains/ca.mcgill.rtgmrt.example.modes3/xtend-gen/modes3/run/.Modes3TypeScopeHint.xtendbin and b/Domains/ca.mcgill.rtgmrt.example.modes3/xtend-gen/modes3/run/.Modes3TypeScopeHint.xtendbin differ diff --git a/Domains/ca.mcgill.rtgmrt.example.modes3/xtend-gen/modes3/run/.Modes3UnitPropagationGenerator.xtendbin b/Domains/ca.mcgill.rtgmrt.example.modes3/xtend-gen/modes3/run/.Modes3UnitPropagationGenerator.xtendbin index e5e1b63e..79059b7f 100644 Binary files a/Domains/ca.mcgill.rtgmrt.example.modes3/xtend-gen/modes3/run/.Modes3UnitPropagationGenerator.xtendbin and b/Domains/ca.mcgill.rtgmrt.example.modes3/xtend-gen/modes3/run/.Modes3UnitPropagationGenerator.xtendbin differ diff --git a/Domains/ca.mcgill.rtgmrt.example.modes3/xtend-gen/modes3/run/.TrainLocationsObjectiveHint.xtendbin b/Domains/ca.mcgill.rtgmrt.example.modes3/xtend-gen/modes3/run/.TrainLocationsObjectiveHint.xtendbin new file mode 100644 index 00000000..3c3a380e Binary files /dev/null and b/Domains/ca.mcgill.rtgmrt.example.modes3/xtend-gen/modes3/run/.TrainLocationsObjectiveHint.xtendbin differ diff --git a/Domains/ca.mcgill.rtgmrt.example.modes3/xtend-gen/modes3/run/.gitignore b/Domains/ca.mcgill.rtgmrt.example.modes3/xtend-gen/modes3/run/.gitignore index fb94df96..1a7df1d9 100644 --- a/Domains/ca.mcgill.rtgmrt.example.modes3/xtend-gen/modes3/run/.gitignore +++ b/Domains/ca.mcgill.rtgmrt.example.modes3/xtend-gen/modes3/run/.gitignore @@ -1,3 +1,13 @@ /.Modes3ModelGenerator.java._trace /.Modes3UnitPropagationGenerator.java._trace /.Modes3TypeScopeHint.java._trace +/.Modes3TypeScopeHint.xtendbin +/.Modes3UnitPropagationGenerator.xtendbin +/Modes3TypeScopeHint.java +/.Modes3ModelGenerator.xtendbin +/Modes3ModelGenerator.java +/Modes3UnitPropagationGenerator.java +/.CloseTrainsObjectiveHint.java._trace +/.TrainLocationsObjectiveHint.java._trace +/.MisalignedTurnoutObjectiveHint.java._trace +/.EndOfSidingObjectiveHint.java._trace diff --git a/Domains/ca.mcgill.rtgmrt.example.modes3/xtend-gen/modes3/run/CloseTrainsObjectiveHint.java b/Domains/ca.mcgill.rtgmrt.example.modes3/xtend-gen/modes3/run/CloseTrainsObjectiveHint.java new file mode 100644 index 00000000..babfa7e1 --- /dev/null +++ b/Domains/ca.mcgill.rtgmrt.example.modes3/xtend-gen/modes3/run/CloseTrainsObjectiveHint.java @@ -0,0 +1,279 @@ +package modes3.run; + +import com.google.common.base.Objects; +import com.google.common.collect.ImmutableList; +import hu.bme.mit.inf.dslreasoner.ecore2logic.Ecore2Logic; +import hu.bme.mit.inf.dslreasoner.ecore2logic.Ecore2Logic_Trace; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Type; +import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.cardinality.Dimension; +import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.cardinality.ExtendedLinearExpressionBuilder; +import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.cardinality.ExtendedLinearExpressionBuilderFactory; +import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.cardinality.PolyhedronExtensionOperator; +import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.optimization.CostElementMatch; +import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.optimization.CostElementMatchers; +import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.optimization.CostObjectiveHint; +import java.util.Collection; +import java.util.List; +import java.util.Map; +import java.util.Set; +import modes3.Modes3Package; +import modes3.queries.CloseTrains_step_2; +import modes3.queries.CloseTrains_step_3; +import modes3.queries.CloseTrains_step_4; +import modes3.queries.CloseTrains_step_5; +import modes3.queries.CloseTrains_step_6; +import modes3.queries.CloseTrains_step_7; +import org.eclipse.viatra.query.runtime.api.IPatternMatch; +import org.eclipse.xtext.xbase.lib.Extension; +import org.eclipse.xtext.xbase.lib.Functions.Function1; +import org.eclipse.xtext.xbase.lib.IterableExtensions; + +@SuppressWarnings("all") +public class CloseTrainsObjectiveHint extends CostObjectiveHint { + private final Type segmentType; + + private final Type trainType; + + public CloseTrainsObjectiveHint(@Extension final Ecore2Logic ecore2Logic, final Ecore2Logic_Trace ecore2LogicTrace) { + @Extension + final Modes3Package Modes3Package = modes3.Modes3Package.eINSTANCE; + this.segmentType = ecore2Logic.TypeofEClass(ecore2LogicTrace, Modes3Package.getSegment()); + this.trainType = ecore2Logic.TypeofEClass(ecore2LogicTrace, Modes3Package.getTrain()); + } + + @Override + public boolean isExact() { + return true; + } + + @Override + public PolyhedronExtensionOperator createPolyhedronExtensionOperator(final Map costElementMatchers) { + PolyhedronExtensionOperator _xblockexpression = null; + { + final CostElementMatchers step2 = costElementMatchers.get(CloseTrains_step_2.instance().getFullyQualifiedName()); + final CostElementMatchers step3 = costElementMatchers.get(CloseTrains_step_3.instance().getFullyQualifiedName()); + final CostElementMatchers step4 = costElementMatchers.get(CloseTrains_step_4.instance().getFullyQualifiedName()); + final CostElementMatchers step5 = costElementMatchers.get(CloseTrains_step_5.instance().getFullyQualifiedName()); + final CostElementMatchers step6 = costElementMatchers.get(CloseTrains_step_6.instance().getFullyQualifiedName()); + final CostElementMatchers step7 = costElementMatchers.get(CloseTrains_step_7.instance().getFullyQualifiedName()); + final PolyhedronExtensionOperator _function = (ExtendedLinearExpressionBuilderFactory it) -> { + final ExtendedLinearExpressionBuilder objectiveBuilder = it.createBuilder(); + ImmutableList _matches = step2.getMatches(); + for (final CostElementMatch m : _matches) { + { + final Dimension dimension = it.getDimension(m.getMatch()); + objectiveBuilder.add(step2.getWeight(), dimension); + dimension.tightenLowerBound(Integer.valueOf(0)); + boolean _isMulti = m.isMulti(); + if (_isMulti) { + it.createBuilder().add(1, dimension).add((-1), this.trainType).build().assertEqualsTo(0); + } else { + dimension.tightenUpperBound(Integer.valueOf(1)); + boolean _isMust = m.isMust(); + if (_isMust) { + dimension.tightenLowerBound(Integer.valueOf(1)); + } + } + } + } + final ImmutableList step3Matches = step3.getMatches(); + for (final CostElementMatch m_1 : step3Matches) { + { + final Dimension dimension = it.getDimension(m_1.getMatch()); + objectiveBuilder.add(step3.getWeight(), dimension); + dimension.tightenLowerBound(Integer.valueOf(0)); + boolean _isMulti = m_1.isMulti(); + boolean _not = (!_isMulti); + if (_not) { + dimension.tightenUpperBound(Integer.valueOf(1)); + boolean _isMust = m_1.isMust(); + if (_isMust) { + dimension.tightenLowerBound(Integer.valueOf(1)); + } + } + } + } + final Function1 _function_1 = (CostElementMatch it_1) -> { + return step2.projectMayMatch(it_1.getMatch(), 2); + }; + Set>> _entrySet = IterableExtensions.groupBy(step3Matches, _function_1).entrySet(); + for (final Map.Entry> pair : _entrySet) { + { + final ExtendedLinearExpressionBuilder multiplicityBuilder = it.createBuilder(); + List _value = pair.getValue(); + for (final CostElementMatch m_2 : _value) { + multiplicityBuilder.add(1, m_2.getMatch()); + } + multiplicityBuilder.add((-1), pair.getKey()); + multiplicityBuilder.build().assertEqualsTo(0); + } + } + CloseTrainsObjectiveHint.boundLimit(it, step3Matches, 2, this.trainType, 1); + CloseTrainsObjectiveHint.boundLimit(it, step3Matches, 3, this.segmentType, 1); + final ImmutableList step4Matches = step4.getMatches(); + for (final CostElementMatch m_2 : step4Matches) { + { + final Dimension dimension = it.getDimension(m_2.getMatch()); + objectiveBuilder.add(step4.getWeight(), dimension); + dimension.tightenLowerBound(Integer.valueOf(0)); + boolean _isMulti = m_2.isMulti(); + boolean _not = (!_isMulti); + if (_not) { + dimension.tightenUpperBound(Integer.valueOf(1)); + boolean _isMust = m_2.isMust(); + if (_isMust) { + dimension.tightenLowerBound(Integer.valueOf(1)); + } + } + } + } + final Function1 _function_2 = (CostElementMatch it_1) -> { + return step3.projectMayMatch(it_1.getMatch(), 2, 3); + }; + Set>> _entrySet_1 = IterableExtensions.groupBy(step4Matches, _function_2).entrySet(); + for (final Map.Entry> pair_1 : _entrySet_1) { + { + final ExtendedLinearExpressionBuilder multiplicityBuilder = it.createBuilder(); + List _value = pair_1.getValue(); + for (final CostElementMatch m_3 : _value) { + multiplicityBuilder.add(1, m_3.getMatch()); + } + multiplicityBuilder.add((-2), pair_1.getKey()); + multiplicityBuilder.build().tightenUpperBound(Integer.valueOf(0)); + } + } + CloseTrainsObjectiveHint.boundLimit(it, step4Matches, 2, this.trainType, 2); + CloseTrainsObjectiveHint.boundLimit(it, step4Matches, 3, this.segmentType, 2); + CloseTrainsObjectiveHint.boundLimit(it, step4Matches, 4, this.segmentType, 2); + final ImmutableList step5Matches = step5.getMatches(); + for (final CostElementMatch m_3 : step5Matches) { + { + final Dimension dimension = it.getDimension(m_3.getMatch()); + objectiveBuilder.add(step5.getWeight(), dimension); + dimension.tightenLowerBound(Integer.valueOf(0)); + boolean _isMulti = m_3.isMulti(); + boolean _not = (!_isMulti); + if (_not) { + dimension.tightenUpperBound(Integer.valueOf(1)); + boolean _isMust = m_3.isMust(); + if (_isMust) { + dimension.tightenLowerBound(Integer.valueOf(1)); + } + } + } + } + final Function1 _function_3 = (CostElementMatch it_1) -> { + return step4.projectMayMatch(it_1.getMatch(), 2, 3, 4); + }; + Set>> _entrySet_2 = IterableExtensions.groupBy(step5Matches, _function_3).entrySet(); + for (final Map.Entry> pair_2 : _entrySet_2) { + { + final ExtendedLinearExpressionBuilder multiplicityBuilder = it.createBuilder(); + List _value = pair_2.getValue(); + for (final CostElementMatch m_4 : _value) { + multiplicityBuilder.add(1, m_4.getMatch()); + } + multiplicityBuilder.add((-2), pair_2.getKey()); + multiplicityBuilder.build().tightenUpperBound(Integer.valueOf(0)); + } + } + CloseTrainsObjectiveHint.boundLimit(it, step5Matches, 2, this.trainType, 4); + CloseTrainsObjectiveHint.boundLimit(it, step5Matches, 3, this.segmentType, 4); + CloseTrainsObjectiveHint.boundLimit(it, step5Matches, 4, this.segmentType, 4); + CloseTrainsObjectiveHint.boundLimit(it, step5Matches, 5, this.segmentType, 4); + final ImmutableList step6Matches = step6.getMatches(); + for (final CostElementMatch m_4 : step6Matches) { + { + final Dimension dimension = it.getDimension(m_4.getMatch()); + objectiveBuilder.add(step6.getWeight(), dimension); + dimension.tightenLowerBound(Integer.valueOf(0)); + boolean _isMulti = m_4.isMulti(); + if (_isMulti) { + Object _get = m_4.getMatch().get(3); + Object _get_1 = m_4.getMatch().get(5); + boolean _equals = Objects.equal(_get, _get_1); + if (_equals) { + it.createBuilder().add(2, m_4.getMatch()).add((-1), step5.projectMayMatch(m_4.getMatch(), 2, 3, 4, 5)).build().assertEqualsTo(0); + } else { + it.createBuilder().add(1, m_4.getMatch()).add((-1), step5.projectMayMatch(m_4.getMatch(), 2, 3, 4, 5)).build().assertEqualsTo(0); + } + } else { + dimension.tightenUpperBound(Integer.valueOf(1)); + boolean _isMust = m_4.isMust(); + if (_isMust) { + dimension.tightenLowerBound(Integer.valueOf(1)); + } + } + } + } + CloseTrainsObjectiveHint.boundLimit(it, step6Matches, 2, this.trainType, 2); + CloseTrainsObjectiveHint.boundLimit(it, step6Matches, 3, this.segmentType, 2); + CloseTrainsObjectiveHint.boundLimit(it, step6Matches, 4, this.segmentType, 2); + CloseTrainsObjectiveHint.boundLimit(it, step6Matches, 5, this.segmentType, 2); + final ImmutableList step7Matches = step7.getMatches(); + for (final CostElementMatch m_5 : step7Matches) { + { + final Dimension dimension = it.getDimension(m_5.getMatch()); + objectiveBuilder.add(step7.getWeight(), dimension); + dimension.tightenLowerBound(Integer.valueOf(0)); + boolean _isMulti = m_5.isMulti(); + boolean _not = (!_isMulti); + if (_not) { + dimension.tightenUpperBound(Integer.valueOf(1)); + boolean _isMust = m_5.isMust(); + if (_isMust) { + dimension.tightenLowerBound(Integer.valueOf(1)); + } + } + } + } + final Function1 _function_4 = (CostElementMatch it_1) -> { + return step6.projectMayMatch(it_1.getMatch(), 2, 3, 4, 5); + }; + Set>> _entrySet_3 = IterableExtensions.groupBy(step7Matches, _function_4).entrySet(); + for (final Map.Entry> pair_3 : _entrySet_3) { + { + final ExtendedLinearExpressionBuilder multiplicityBuilder = it.createBuilder(); + List _value = pair_3.getValue(); + for (final CostElementMatch m_6 : _value) { + multiplicityBuilder.add(1, m_6.getMatch()); + } + multiplicityBuilder.add((-1), pair_3.getKey()); + multiplicityBuilder.build().tightenUpperBound(Integer.valueOf(0)); + } + } + CloseTrainsObjectiveHint.boundLimit(it, step7Matches, 2, this.trainType, 2); + CloseTrainsObjectiveHint.boundLimit(it, step7Matches, 3, this.segmentType, 2); + CloseTrainsObjectiveHint.boundLimit(it, step7Matches, 4, this.segmentType, 2); + CloseTrainsObjectiveHint.boundLimit(it, step7Matches, 5, this.segmentType, 2); + CloseTrainsObjectiveHint.boundLimit(it, step7Matches, 6, this.trainType, 2); + this.buildWithBounds(objectiveBuilder); + }; + _xblockexpression = _function; + } + return _xblockexpression; + } + + private static void boundLimit(@Extension final ExtendedLinearExpressionBuilderFactory factory, final Collection matches, final int index, final Type type, final int count) { + final Function1 _function = (CostElementMatch it) -> { + return it.getMatch().get(index); + }; + Set>> _entrySet = IterableExtensions.groupBy(matches, _function).entrySet(); + for (final Map.Entry> pair : _entrySet) { + { + final ExtendedLinearExpressionBuilder multiplicityBuilder = factory.createBuilder(); + List _value = pair.getValue(); + for (final CostElementMatch m : _value) { + multiplicityBuilder.add(1, m.getMatch()); + } + boolean _isMulti = CostElementMatchers.isMulti(pair.getKey()); + if (_isMulti) { + multiplicityBuilder.add((-count), type); + multiplicityBuilder.build().tightenUpperBound(Integer.valueOf(0)); + } else { + multiplicityBuilder.build().tightenUpperBound(Integer.valueOf(count)); + } + } + } + } +} diff --git a/Domains/ca.mcgill.rtgmrt.example.modes3/xtend-gen/modes3/run/EndOfSidingObjectiveHint.java b/Domains/ca.mcgill.rtgmrt.example.modes3/xtend-gen/modes3/run/EndOfSidingObjectiveHint.java new file mode 100644 index 00000000..77c513e1 --- /dev/null +++ b/Domains/ca.mcgill.rtgmrt.example.modes3/xtend-gen/modes3/run/EndOfSidingObjectiveHint.java @@ -0,0 +1,193 @@ +package modes3.run; + +import com.google.common.collect.ImmutableList; +import hu.bme.mit.inf.dslreasoner.ecore2logic.Ecore2Logic; +import hu.bme.mit.inf.dslreasoner.ecore2logic.Ecore2Logic_Trace; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Type; +import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.cardinality.Dimension; +import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.cardinality.ExtendedLinearExpressionBuilder; +import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.cardinality.ExtendedLinearExpressionBuilderFactory; +import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.cardinality.PolyhedronExtensionOperator; +import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.optimization.CostElementMatch; +import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.optimization.CostElementMatchers; +import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.optimization.CostObjectiveHint; +import java.util.Collection; +import java.util.List; +import java.util.Map; +import java.util.Set; +import modes3.Modes3Package; +import modes3.queries.EndOfSiding_step_2; +import modes3.queries.EndOfSiding_step_3; +import modes3.queries.EndOfSiding_step_4; +import modes3.queries.EndOfSiding_step_5; +import org.eclipse.viatra.query.runtime.api.IPatternMatch; +import org.eclipse.xtext.xbase.lib.Extension; +import org.eclipse.xtext.xbase.lib.Functions.Function1; +import org.eclipse.xtext.xbase.lib.IterableExtensions; + +@SuppressWarnings("all") +public class EndOfSidingObjectiveHint extends CostObjectiveHint { + private final Type segmentType; + + private final Type trainType; + + public EndOfSidingObjectiveHint(@Extension final Ecore2Logic ecore2Logic, final Ecore2Logic_Trace ecore2LogicTrace) { + @Extension + final Modes3Package Modes3Package = modes3.Modes3Package.eINSTANCE; + this.segmentType = ecore2Logic.TypeofEClass(ecore2LogicTrace, Modes3Package.getSegment()); + this.trainType = ecore2Logic.TypeofEClass(ecore2LogicTrace, Modes3Package.getTrain()); + } + + @Override + public boolean isExact() { + return true; + } + + @Override + public PolyhedronExtensionOperator createPolyhedronExtensionOperator(final Map costElementMatchers) { + PolyhedronExtensionOperator _xblockexpression = null; + { + final CostElementMatchers step2 = costElementMatchers.get(EndOfSiding_step_2.instance().getFullyQualifiedName()); + final CostElementMatchers step3 = costElementMatchers.get(EndOfSiding_step_3.instance().getFullyQualifiedName()); + final CostElementMatchers step4 = costElementMatchers.get(EndOfSiding_step_4.instance().getFullyQualifiedName()); + final CostElementMatchers step5 = costElementMatchers.get(EndOfSiding_step_5.instance().getFullyQualifiedName()); + final PolyhedronExtensionOperator _function = (ExtendedLinearExpressionBuilderFactory it) -> { + final ExtendedLinearExpressionBuilder objectiveBuilder = it.createBuilder(); + ImmutableList _matches = step2.getMatches(); + for (final CostElementMatch m : _matches) { + { + final Dimension dimension = it.getDimension(m.getMatch()); + objectiveBuilder.add(step2.getWeight(), dimension); + dimension.tightenLowerBound(Integer.valueOf(0)); + boolean _isMulti = m.isMulti(); + if (_isMulti) { + it.createBuilder().add(1, dimension).add((-1), this.trainType).build().assertEqualsTo(0); + } else { + dimension.tightenUpperBound(Integer.valueOf(1)); + boolean _isMust = m.isMust(); + if (_isMust) { + dimension.tightenLowerBound(Integer.valueOf(1)); + } + } + } + } + final ImmutableList step3Matches = step3.getMatches(); + for (final CostElementMatch m_1 : step3Matches) { + { + final Dimension dimension = it.getDimension(m_1.getMatch()); + objectiveBuilder.add(step3.getWeight(), dimension); + dimension.tightenLowerBound(Integer.valueOf(0)); + boolean _isMulti = m_1.isMulti(); + boolean _not = (!_isMulti); + if (_not) { + dimension.tightenUpperBound(Integer.valueOf(1)); + boolean _isMust = m_1.isMust(); + if (_isMust) { + dimension.tightenLowerBound(Integer.valueOf(1)); + } + } + } + } + final Function1 _function_1 = (CostElementMatch it_1) -> { + return step2.projectMayMatch(it_1.getMatch(), 2); + }; + Set>> _entrySet = IterableExtensions.groupBy(step3Matches, _function_1).entrySet(); + for (final Map.Entry> pair : _entrySet) { + { + final ExtendedLinearExpressionBuilder multiplicityBuilder = it.createBuilder(); + List _value = pair.getValue(); + for (final CostElementMatch m_2 : _value) { + multiplicityBuilder.add(1, m_2.getMatch()); + } + multiplicityBuilder.add((-1), pair.getKey()); + multiplicityBuilder.build().assertEqualsTo(0); + } + } + EndOfSidingObjectiveHint.boundLimit(it, step3Matches, 2, this.trainType, 1); + EndOfSidingObjectiveHint.boundLimit(it, step3Matches, 3, this.segmentType, 1); + final ImmutableList step4Matches = step4.getMatches(); + for (final CostElementMatch m_2 : step4Matches) { + { + final Dimension dimension = it.getDimension(m_2.getMatch()); + objectiveBuilder.add(step4.getWeight(), dimension); + dimension.tightenLowerBound(Integer.valueOf(0)); + boolean _isMulti = m_2.isMulti(); + boolean _not = (!_isMulti); + if (_not) { + dimension.tightenUpperBound(Integer.valueOf(1)); + boolean _isMust = m_2.isMust(); + if (_isMust) { + dimension.tightenLowerBound(Integer.valueOf(1)); + } + } + } + } + final Function1 _function_2 = (CostElementMatch it_1) -> { + return step3.projectMayMatch(it_1.getMatch(), 2, 3); + }; + Set>> _entrySet_1 = IterableExtensions.groupBy(step4Matches, _function_2).entrySet(); + for (final Map.Entry> pair_1 : _entrySet_1) { + { + final ExtendedLinearExpressionBuilder multiplicityBuilder = it.createBuilder(); + List _value = pair_1.getValue(); + for (final CostElementMatch m_3 : _value) { + multiplicityBuilder.add(1, m_3.getMatch()); + } + multiplicityBuilder.add((-2), pair_1.getKey()); + multiplicityBuilder.build().tightenUpperBound(Integer.valueOf(0)); + } + } + EndOfSidingObjectiveHint.boundLimit(it, step4Matches, 2, this.trainType, 2); + EndOfSidingObjectiveHint.boundLimit(it, step4Matches, 3, this.segmentType, 2); + EndOfSidingObjectiveHint.boundLimit(it, step4Matches, 4, this.segmentType, 2); + final ImmutableList step5Matches = step5.getMatches(); + for (final CostElementMatch m_3 : step5Matches) { + { + final Dimension dimension = it.getDimension(m_3.getMatch()); + objectiveBuilder.add(step5.getWeight(), dimension); + dimension.tightenLowerBound(Integer.valueOf(0)); + boolean _isMulti = m_3.isMulti(); + boolean _not = (!_isMulti); + if (_not) { + dimension.tightenUpperBound(Integer.valueOf(1)); + boolean _isMust = m_3.isMust(); + if (_isMust) { + dimension.tightenLowerBound(Integer.valueOf(1)); + } + } + it.createBuilder().add(1, m_3.getMatch()).add((-1), step4.projectMayMatch(m_3.getMatch(), 2, 3, 4)).build().tightenUpperBound(Integer.valueOf(0)); + } + } + EndOfSidingObjectiveHint.boundLimit(it, step5Matches, 2, this.trainType, 1); + EndOfSidingObjectiveHint.boundLimit(it, step5Matches, 3, this.segmentType, 2); + EndOfSidingObjectiveHint.boundLimit(it, step5Matches, 4, this.segmentType, 1); + this.buildWithBounds(objectiveBuilder); + }; + _xblockexpression = _function; + } + return _xblockexpression; + } + + private static void boundLimit(@Extension final ExtendedLinearExpressionBuilderFactory factory, final Collection matches, final int index, final Type type, final int count) { + final Function1 _function = (CostElementMatch it) -> { + return it.getMatch().get(index); + }; + Set>> _entrySet = IterableExtensions.groupBy(matches, _function).entrySet(); + for (final Map.Entry> pair : _entrySet) { + { + final ExtendedLinearExpressionBuilder multiplicityBuilder = factory.createBuilder(); + List _value = pair.getValue(); + for (final CostElementMatch m : _value) { + multiplicityBuilder.add(1, m.getMatch()); + } + boolean _isMulti = CostElementMatchers.isMulti(pair.getKey()); + if (_isMulti) { + multiplicityBuilder.add((-count), type); + multiplicityBuilder.build().tightenUpperBound(Integer.valueOf(0)); + } else { + multiplicityBuilder.build().tightenUpperBound(Integer.valueOf(count)); + } + } + } + } +} diff --git a/Domains/ca.mcgill.rtgmrt.example.modes3/xtend-gen/modes3/run/MisalignedTurnoutObjectiveHint.java b/Domains/ca.mcgill.rtgmrt.example.modes3/xtend-gen/modes3/run/MisalignedTurnoutObjectiveHint.java new file mode 100644 index 00000000..835a6559 --- /dev/null +++ b/Domains/ca.mcgill.rtgmrt.example.modes3/xtend-gen/modes3/run/MisalignedTurnoutObjectiveHint.java @@ -0,0 +1,195 @@ +package modes3.run; + +import com.google.common.collect.ImmutableList; +import hu.bme.mit.inf.dslreasoner.ecore2logic.Ecore2Logic; +import hu.bme.mit.inf.dslreasoner.ecore2logic.Ecore2Logic_Trace; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Type; +import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.cardinality.Dimension; +import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.cardinality.ExtendedLinearExpressionBuilder; +import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.cardinality.ExtendedLinearExpressionBuilderFactory; +import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.cardinality.PolyhedronExtensionOperator; +import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.optimization.CostElementMatch; +import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.optimization.CostElementMatchers; +import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.optimization.CostObjectiveHint; +import java.util.Collection; +import java.util.List; +import java.util.Map; +import java.util.Set; +import modes3.Modes3Package; +import modes3.queries.MisalignedTurnout_step_2; +import modes3.queries.MisalignedTurnout_step_3; +import modes3.queries.MisalignedTurnout_step_4; +import modes3.queries.MisalignedTurnout_step_5; +import org.eclipse.viatra.query.runtime.api.IPatternMatch; +import org.eclipse.xtext.xbase.lib.Extension; +import org.eclipse.xtext.xbase.lib.Functions.Function1; +import org.eclipse.xtext.xbase.lib.IterableExtensions; + +@SuppressWarnings("all") +public class MisalignedTurnoutObjectiveHint extends CostObjectiveHint { + private final Type segmentType; + + private final Type turnoutType; + + private final Type trainType; + + public MisalignedTurnoutObjectiveHint(@Extension final Ecore2Logic ecore2Logic, final Ecore2Logic_Trace ecore2LogicTrace) { + @Extension + final Modes3Package Modes3Package = modes3.Modes3Package.eINSTANCE; + this.segmentType = ecore2Logic.TypeofEClass(ecore2LogicTrace, Modes3Package.getSegment()); + this.turnoutType = ecore2Logic.TypeofEClass(ecore2LogicTrace, Modes3Package.getTurnout()); + this.trainType = ecore2Logic.TypeofEClass(ecore2LogicTrace, Modes3Package.getTrain()); + } + + @Override + public boolean isExact() { + return true; + } + + @Override + public PolyhedronExtensionOperator createPolyhedronExtensionOperator(final Map costElementMatchers) { + PolyhedronExtensionOperator _xblockexpression = null; + { + final CostElementMatchers step2 = costElementMatchers.get(MisalignedTurnout_step_2.instance().getFullyQualifiedName()); + final CostElementMatchers step3 = costElementMatchers.get(MisalignedTurnout_step_3.instance().getFullyQualifiedName()); + final CostElementMatchers step4 = costElementMatchers.get(MisalignedTurnout_step_4.instance().getFullyQualifiedName()); + final CostElementMatchers step5 = costElementMatchers.get(MisalignedTurnout_step_5.instance().getFullyQualifiedName()); + final PolyhedronExtensionOperator _function = (ExtendedLinearExpressionBuilderFactory it) -> { + final ExtendedLinearExpressionBuilder objectiveBuilder = it.createBuilder(); + ImmutableList _matches = step2.getMatches(); + for (final CostElementMatch m : _matches) { + { + final Dimension dimension = it.getDimension(m.getMatch()); + objectiveBuilder.add(step2.getWeight(), dimension); + dimension.tightenLowerBound(Integer.valueOf(0)); + boolean _isMulti = m.isMulti(); + if (_isMulti) { + it.createBuilder().add(1, dimension).add((-1), this.turnoutType).build().assertEqualsTo(0); + } else { + dimension.tightenUpperBound(Integer.valueOf(1)); + boolean _isMust = m.isMust(); + if (_isMust) { + dimension.tightenLowerBound(Integer.valueOf(1)); + } + } + } + } + final ImmutableList step3Matches = step3.getMatches(); + for (final CostElementMatch m_1 : step3Matches) { + { + final Dimension dimension = it.getDimension(m_1.getMatch()); + objectiveBuilder.add(step3.getWeight(), dimension); + dimension.tightenLowerBound(Integer.valueOf(0)); + boolean _isMulti = m_1.isMulti(); + boolean _not = (!_isMulti); + if (_not) { + dimension.tightenUpperBound(Integer.valueOf(1)); + boolean _isMust = m_1.isMust(); + if (_isMust) { + dimension.tightenLowerBound(Integer.valueOf(1)); + } + } + } + } + final Function1 _function_1 = (CostElementMatch it_1) -> { + return step2.projectMayMatch(it_1.getMatch(), 2); + }; + Set>> _entrySet = IterableExtensions.groupBy(step3Matches, _function_1).entrySet(); + for (final Map.Entry> pair : _entrySet) { + { + final ExtendedLinearExpressionBuilder multiplicityBuilder = it.createBuilder(); + List _value = pair.getValue(); + for (final CostElementMatch m_2 : _value) { + multiplicityBuilder.add(1, m_2.getMatch()); + } + multiplicityBuilder.add((-1), pair.getKey()); + multiplicityBuilder.build().tightenUpperBound(Integer.valueOf(0)); + } + } + MisalignedTurnoutObjectiveHint.boundLimit(it, step3Matches, 2, this.turnoutType, 1); + MisalignedTurnoutObjectiveHint.boundLimit(it, step3Matches, 3, this.segmentType, 2); + final ImmutableList step4Matches = step4.getMatches(); + for (final CostElementMatch m_2 : step4Matches) { + { + final Dimension dimension = it.getDimension(m_2.getMatch()); + objectiveBuilder.add(step4.getWeight(), dimension); + dimension.tightenLowerBound(Integer.valueOf(0)); + boolean _isMulti = m_2.isMulti(); + boolean _not = (!_isMulti); + if (_not) { + dimension.tightenUpperBound(Integer.valueOf(1)); + boolean _isMust = m_2.isMust(); + if (_isMust) { + dimension.tightenLowerBound(Integer.valueOf(1)); + } + } + it.createBuilder().add(1, m_2.getMatch()).add((-1), step3.projectMayMatch(m_2.getMatch(), 2, 3)).build().tightenUpperBound(Integer.valueOf(0)); + } + } + MisalignedTurnoutObjectiveHint.boundLimit(it, step4Matches, 2, this.turnoutType, 1); + MisalignedTurnoutObjectiveHint.boundLimit(it, step4Matches, 3, this.segmentType, 2); + final ImmutableList step5Matches = step5.getMatches(); + for (final CostElementMatch m_3 : step5Matches) { + { + final Dimension dimension = it.getDimension(m_3.getMatch()); + objectiveBuilder.add(step5.getWeight(), dimension); + dimension.tightenLowerBound(Integer.valueOf(0)); + boolean _isMulti = m_3.isMulti(); + boolean _not = (!_isMulti); + if (_not) { + dimension.tightenUpperBound(Integer.valueOf(1)); + boolean _isMust = m_3.isMust(); + if (_isMust) { + dimension.tightenLowerBound(Integer.valueOf(1)); + } + } + } + } + final Function1 _function_2 = (CostElementMatch it_1) -> { + return step4.projectMayMatch(it_1.getMatch(), 2, 3); + }; + Set>> _entrySet_1 = IterableExtensions.groupBy(step5Matches, _function_2).entrySet(); + for (final Map.Entry> pair_1 : _entrySet_1) { + { + final ExtendedLinearExpressionBuilder multiplicityBuilder = it.createBuilder(); + List _value = pair_1.getValue(); + for (final CostElementMatch m_4 : _value) { + multiplicityBuilder.add(1, m_4.getMatch()); + } + multiplicityBuilder.add((-1), pair_1.getKey()); + multiplicityBuilder.build().tightenUpperBound(Integer.valueOf(0)); + } + } + MisalignedTurnoutObjectiveHint.boundLimit(it, step5Matches, 2, this.turnoutType, 1); + MisalignedTurnoutObjectiveHint.boundLimit(it, step5Matches, 3, this.segmentType, 2); + MisalignedTurnoutObjectiveHint.boundLimit(it, step5Matches, 4, this.trainType, 2); + this.buildWithBounds(objectiveBuilder); + }; + _xblockexpression = _function; + } + return _xblockexpression; + } + + private static void boundLimit(@Extension final ExtendedLinearExpressionBuilderFactory factory, final Collection matches, final int index, final Type type, final int count) { + final Function1 _function = (CostElementMatch it) -> { + return it.getMatch().get(index); + }; + Set>> _entrySet = IterableExtensions.groupBy(matches, _function).entrySet(); + for (final Map.Entry> pair : _entrySet) { + { + final ExtendedLinearExpressionBuilder multiplicityBuilder = factory.createBuilder(); + List _value = pair.getValue(); + for (final CostElementMatch m : _value) { + multiplicityBuilder.add(1, m.getMatch()); + } + boolean _isMulti = CostElementMatchers.isMulti(pair.getKey()); + if (_isMulti) { + multiplicityBuilder.add((-count), type); + multiplicityBuilder.build().tightenUpperBound(Integer.valueOf(0)); + } else { + multiplicityBuilder.build().tightenUpperBound(Integer.valueOf(count)); + } + } + } + } +} diff --git a/Domains/ca.mcgill.rtgmrt.example.modes3/xtend-gen/modes3/run/Modes3ModelGenerator.java b/Domains/ca.mcgill.rtgmrt.example.modes3/xtend-gen/modes3/run/Modes3ModelGenerator.java index f32a7172..16db7053 100644 --- a/Domains/ca.mcgill.rtgmrt.example.modes3/xtend-gen/modes3/run/Modes3ModelGenerator.java +++ b/Domains/ca.mcgill.rtgmrt.example.modes3/xtend-gen/modes3/run/Modes3ModelGenerator.java @@ -13,6 +13,7 @@ import hu.bme.mit.inf.dslreasoner.ecore2logic.ecore2logicannotations.Ecore2logic import hu.bme.mit.inf.dslreasoner.ecore2logic.ecore2logicannotations.Ecore2logicannotationsPackage; import hu.bme.mit.inf.dslreasoner.ecore2logic.ecore2logicannotations.InverseRelationAssertion; import hu.bme.mit.inf.dslreasoner.logic.model.builder.DocumentationLevel; +import hu.bme.mit.inf.dslreasoner.logic.model.builder.LogicModelInterpretation; import hu.bme.mit.inf.dslreasoner.logic.model.builder.LogicProblemBuilder; import hu.bme.mit.inf.dslreasoner.logic.model.builder.SolutionScope; import hu.bme.mit.inf.dslreasoner.logic.model.builder.TracedOutput; @@ -32,6 +33,7 @@ import hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicProblem; import hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicproblemPackage; import hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicResult; import hu.bme.mit.inf.dslreasoner.logic.model.logicresult.ModelResult; +import hu.bme.mit.inf.dslreasoner.logic2ecore.Logic2Ecore; import hu.bme.mit.inf.dslreasoner.viatra2logic.Viatra2Logic; import hu.bme.mit.inf.dslreasoner.viatra2logic.Viatra2LogicConfiguration; import hu.bme.mit.inf.dslreasoner.viatra2logic.Viatra2LogicTrace; @@ -50,10 +52,15 @@ import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.par import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.RelationLink; import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.visualisation.PartialInterpretation2Gml; import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.visualisation.PartialInterpretationVisualisation; +import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.CostObjectiveConfiguration; +import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.CostObjectiveElementConfiguration; import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.DebugConfiguration; import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.StateCoderStrategy; import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.ViatraReasoner; import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.ViatraReasonerConfiguration; +import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.dse.PartialModelAsLogicInterpretation; +import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.optimization.ObjectiveKind; +import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.optimization.ObjectiveThreshold; import hu.bme.mit.inf.dslreasoner.visualisation.pi2graphviz.GraphvizVisualiser; import hu.bme.mit.inf.dslreasoner.workspace.FileSystemWorkspace; import java.util.Collections; @@ -64,10 +71,31 @@ import java.util.function.Predicate; import modes3.Modes3Factory; import modes3.Modes3ModelRoot; import modes3.Modes3Package; +import modes3.queries.CloseTrains_step_2; +import modes3.queries.CloseTrains_step_3; +import modes3.queries.CloseTrains_step_4; +import modes3.queries.CloseTrains_step_5; +import modes3.queries.CloseTrains_step_6; +import modes3.queries.CloseTrains_step_7; +import modes3.queries.EndOfSiding_step_2; +import modes3.queries.EndOfSiding_step_3; +import modes3.queries.EndOfSiding_step_4; +import modes3.queries.EndOfSiding_step_5; +import modes3.queries.MisalignedTurnout_step_2; +import modes3.queries.MisalignedTurnout_step_3; +import modes3.queries.MisalignedTurnout_step_4; +import modes3.queries.MisalignedTurnout_step_5; import modes3.queries.Modes3Queries; +import modes3.queries.TrainLocations_step_2; +import modes3.queries.TrainLocations_step_3; +import modes3.run.CloseTrainsObjectiveHint; +import modes3.run.EndOfSidingObjectiveHint; +import modes3.run.MisalignedTurnoutObjectiveHint; import modes3.run.Modes3TypeScopeHint; import modes3.run.Modes3UnitPropagationGenerator; +import modes3.run.TrainLocationsObjectiveHint; import org.eclipse.emf.common.util.EList; +import org.eclipse.emf.common.util.TreeIterator; import org.eclipse.emf.common.util.URI; import org.eclipse.emf.ecore.EAttribute; import org.eclipse.emf.ecore.EClass; @@ -102,6 +130,10 @@ public class Modes3ModelGenerator { private enum MonitoringQuery { closeTrains, + trainLocations, + + endOfSiding, + misalignedTurnout; } @@ -183,8 +215,9 @@ public class Modes3ModelGenerator { ObjectExtensions.>operator_doubleArrow( it_1.minNewElementsByType, _function_4); final Procedure1> _function_5 = (Map it_2) -> { - it_2.put(this.ecore2Logic.TypeofEClass(metamodelLogic.getTrace(), Modes3Package.eINSTANCE.getTrain()), Integer.valueOf(5)); - it_2.put(this.ecore2Logic.TypeofEClass(metamodelLogic.getTrace(), Modes3Package.eINSTANCE.getTurnout()), Integer.valueOf(5)); + it_2.put(this.ecore2Logic.TypeofEClass(metamodelLogic.getTrace(), Modes3Package.eINSTANCE.getTrain()), Integer.valueOf((this.modelSize / 5))); + it_2.put(this.ecore2Logic.TypeofEClass(metamodelLogic.getTrace(), Modes3Package.eINSTANCE.getTurnout()), Integer.valueOf((this.modelSize / 5))); + it_2.put(this.ecore2Logic.TypeofEClass(metamodelLogic.getTrace(), Modes3Package.eINSTANCE.getSimpleSegment()), Integer.valueOf(((3 * this.modelSize) / 5))); }; ObjectExtensions.>operator_doubleArrow( it_1.maxNewElementsByType, _function_5); @@ -196,7 +229,9 @@ public class Modes3ModelGenerator { }; ObjectExtensions.operator_doubleArrow( it.solutionScope, _function_4); - it.scopeWeight = 5; + CostObjectiveConfiguration _objective = this.getObjective(this.ecore2Logic, metamodelLogic.getTrace()); + it.costObjectives.add(_objective); + it.scopeWeight = 6; it.nameNewElements = false; it.typeInferenceMethod = TypeInferenceMethod.PreliminaryAnalysis; it.stateCoderStrategy = StateCoderStrategy.PairwiseNeighbourhood; @@ -224,80 +259,103 @@ public class Modes3ModelGenerator { URI _xifexpression = null; if ((solution instanceof ModelResult)) { InputOutput.println("Saving generated solutions"); - final EList representations = ((ModelResult)solution).getRepresentation(); - int _size = representations.size(); + final Logic2Ecore logic2Ecore = new Logic2Ecore(this.ecore2Logic); + final List interpretations = this.solver.getInterpretations(((ModelResult)solution)); + int _size = interpretations.size(); ExclusiveRange _doubleDotLessThan = new ExclusiveRange(0, _size, true); for (final Integer representationIndex : _doubleDotLessThan) { { - final Object representation = representations.get((representationIndex).intValue()); + final LogicModelInterpretation interpretation = interpretations.get((representationIndex).intValue()); final int representationNumber = ((representationIndex).intValue() + 1); - if ((representation instanceof PartialInterpretation)) { + if ((interpretation instanceof PartialModelAsLogicInterpretation)) { + final PartialInterpretation representation = ((PartialModelAsLogicInterpretation)interpretation).getPartialInterpretation(); StringConcatenation _builder_1 = new StringConcatenation(); _builder_1.append("solution"); _builder_1.append(representationNumber); _builder_1.append(".partialinterpretation"); - workspace.writeModel(((EObject)representation), _builder_1.toString()); + workspace.writeModel(representation, _builder_1.toString()); final PartialInterpretation2Gml partialInterpretation2GML = new PartialInterpretation2Gml(); - final String gml = partialInterpretation2GML.transform(((PartialInterpretation)representation)); + final String gml = partialInterpretation2GML.transform(representation); StringConcatenation _builder_2 = new StringConcatenation(); _builder_2.append("solution"); _builder_2.append(representationNumber); _builder_2.append(".gml"); workspace.writeText(_builder_2.toString(), gml); - int _size_1 = ((PartialInterpretation)representation).getNewElements().size(); - boolean _lessThan = (_size_1 < 160); - if (_lessThan) { - if ((representation instanceof PartialInterpretation)) { - final Function1 _function_3 = (Type it) -> { + final EObject model = logic2Ecore.transformInterpretation(interpretation, metamodelLogic.getTrace()); + final TreeIterator iterator = model.eAllContents(); + int id = 0; + while (iterator.hasNext()) { + { + final EObject obj = iterator.next(); + final Function1 _function_3 = (EAttribute it) -> { String _name_2 = it.getName(); - return Boolean.valueOf(Objects.equal(_name_2, "Modes3ModelRoot class DefinedPart")); + return Boolean.valueOf(Objects.equal(_name_2, "id")); }; - Type _findFirst = IterableExtensions.findFirst(((PartialInterpretation)representation).getProblem().getTypes(), _function_3); - final TypeDefinition rootType = ((TypeDefinition) _findFirst); - final Function1 _function_4 = (PartialComplexTypeInterpretation it) -> { - String _name_2 = it.getInterpretationOf().getName(); - return Boolean.valueOf(Objects.equal(_name_2, "Modes3ModelRoot class")); - }; - final PartialComplexTypeInterpretation rootIntepretation = IterableExtensions.findFirst(Iterables.filter(((PartialInterpretation)representation).getPartialtypeinterpratation(), - PartialComplexTypeInterpretation.class), _function_4); - rootIntepretation.getElements().removeAll(rootType.getElements()); - ((PartialInterpretation)representation).getProblem().getElements().removeAll(rootType.getElements()); - EList _partialrelationinterpretation = ((PartialInterpretation)representation).getPartialrelationinterpretation(); - for (final PartialRelationInterpretation relationInterpretation : _partialrelationinterpretation) { - final Predicate _function_5 = (RelationLink link) -> { - boolean _xifexpression_1 = false; - if ((link instanceof BinaryElementRelationLink)) { - _xifexpression_1 = (rootType.getElements().contains(((BinaryElementRelationLink)link).getParam1()) || rootType.getElements().contains(((BinaryElementRelationLink)link).getParam2())); - } else { - _xifexpression_1 = false; - } - return _xifexpression_1; - }; - relationInterpretation.getRelationlinks().removeIf(_function_5); + final EAttribute idFeature = IterableExtensions.findFirst(obj.eClass().getEAllAttributes(), _function_3); + if ((idFeature != null)) { + obj.eSet(idFeature, Integer.valueOf(id)); + id++; } - rootType.getElements().clear(); } + } + StringConcatenation _builder_3 = new StringConcatenation(); + _builder_3.append("solution"); + _builder_3.append(representationNumber); + _builder_3.append(".modes3"); + workspace.writeModel(model, _builder_3.toString()); + int _size_1 = representation.getNewElements().size(); + boolean _lessThan = (_size_1 < 160); + if (_lessThan) { + final Function1 _function_3 = (Type it) -> { + String _name_2 = it.getName(); + return Boolean.valueOf(Objects.equal(_name_2, "Modes3ModelRoot class DefinedPart")); + }; + Type _findFirst = IterableExtensions.findFirst(representation.getProblem().getTypes(), _function_3); + final TypeDefinition rootType = ((TypeDefinition) _findFirst); + final Function1 _function_4 = (PartialComplexTypeInterpretation it) -> { + String _name_2 = it.getInterpretationOf().getName(); + return Boolean.valueOf(Objects.equal(_name_2, "Modes3ModelRoot class")); + }; + final PartialComplexTypeInterpretation rootIntepretation = IterableExtensions.findFirst(Iterables.filter(representation.getPartialtypeinterpratation(), + PartialComplexTypeInterpretation.class), _function_4); + rootIntepretation.getElements().removeAll(rootType.getElements()); + representation.getProblem().getElements().removeAll(rootType.getElements()); + EList _partialrelationinterpretation = representation.getPartialrelationinterpretation(); + for (final PartialRelationInterpretation relationInterpretation : _partialrelationinterpretation) { + final Predicate _function_5 = (RelationLink link) -> { + boolean _xifexpression_1 = false; + if ((link instanceof BinaryElementRelationLink)) { + _xifexpression_1 = (rootType.getElements().contains(((BinaryElementRelationLink)link).getParam1()) || + rootType.getElements().contains(((BinaryElementRelationLink)link).getParam2())); + } else { + _xifexpression_1 = false; + } + return _xifexpression_1; + }; + relationInterpretation.getRelationlinks().removeIf(_function_5); + } + rootType.getElements().clear(); final GraphvizVisualiser visualiser = new GraphvizVisualiser(); - final PartialInterpretationVisualisation visualisation = visualiser.visualiseConcretization(((PartialInterpretation)representation)); - StringConcatenation _builder_3 = new StringConcatenation(); - _builder_3.append("solution"); - _builder_3.append(representationNumber); - _builder_3.append(".png"); - visualisation.writeToFile(workspace, _builder_3.toString()); + final PartialInterpretationVisualisation visualisation = visualiser.visualiseConcretization(representation); + StringConcatenation _builder_4 = new StringConcatenation(); + _builder_4.append("solution"); + _builder_4.append(representationNumber); + _builder_4.append(".png"); + visualisation.writeToFile(workspace, _builder_4.toString()); } } else { - StringConcatenation _builder_4 = new StringConcatenation(); - _builder_4.append("solution"); - _builder_4.append(representationNumber); - _builder_4.append(".txt"); - workspace.writeText(_builder_4.toString(), representation.toString()); + StringConcatenation _builder_5 = new StringConcatenation(); + _builder_5.append("solution"); + _builder_5.append(representationNumber); + _builder_5.append(".txt"); + workspace.writeText(_builder_5.toString(), interpretation.toString()); } } } } else { URI _xblockexpression_1 = null; { - InputOutput.println("Failed to solver problem"); + InputOutput.println("Failed to solve problem"); final LogicProblem partial = logic.getOutput(); _xblockexpression_1 = workspace.writeModel(partial, "solution.partialinterpretation"); } @@ -354,6 +412,153 @@ public class Modes3ModelGenerator { return _xblockexpression; } + public CostObjectiveConfiguration getObjective(final Ecore2Logic ecore2Logic, final Ecore2Logic_Trace ecore2LogicTrace) { + CostObjectiveConfiguration _costObjectiveConfiguration = new CostObjectiveConfiguration(); + final Procedure1 _function = (CostObjectiveConfiguration it) -> { + final Modes3ModelGenerator.MonitoringQuery monitoringQuery = this.monitoringQuery; + if (monitoringQuery != null) { + switch (monitoringQuery) { + case closeTrains: + CostObjectiveElementConfiguration _costObjectiveElementConfiguration = new CostObjectiveElementConfiguration(); + final Procedure1 _function_1 = (CostObjectiveElementConfiguration it_1) -> { + it_1.patternQualifiedName = CloseTrains_step_2.instance().getFullyQualifiedName(); + it_1.weight = ((14 + 53) + 11); + }; + CostObjectiveElementConfiguration _doubleArrow = ObjectExtensions.operator_doubleArrow(_costObjectiveElementConfiguration, _function_1); + it.elements.add(_doubleArrow); + CostObjectiveElementConfiguration _costObjectiveElementConfiguration_1 = new CostObjectiveElementConfiguration(); + final Procedure1 _function_2 = (CostObjectiveElementConfiguration it_1) -> { + it_1.patternQualifiedName = CloseTrains_step_3.instance().getFullyQualifiedName(); + it_1.weight = (21 + 14); + }; + CostObjectiveElementConfiguration _doubleArrow_1 = ObjectExtensions.operator_doubleArrow(_costObjectiveElementConfiguration_1, _function_2); + it.elements.add(_doubleArrow_1); + CostObjectiveElementConfiguration _costObjectiveElementConfiguration_2 = new CostObjectiveElementConfiguration(); + final Procedure1 _function_3 = (CostObjectiveElementConfiguration it_1) -> { + it_1.patternQualifiedName = CloseTrains_step_4.instance().getFullyQualifiedName(); + it_1.weight = (((14 + 44) + 14) + 9); + }; + CostObjectiveElementConfiguration _doubleArrow_2 = ObjectExtensions.operator_doubleArrow(_costObjectiveElementConfiguration_2, _function_3); + it.elements.add(_doubleArrow_2); + CostObjectiveElementConfiguration _costObjectiveElementConfiguration_3 = new CostObjectiveElementConfiguration(); + final Procedure1 _function_4 = (CostObjectiveElementConfiguration it_1) -> { + it_1.patternQualifiedName = CloseTrains_step_5.instance().getFullyQualifiedName(); + it_1.weight = ((14 + 41) + 11); + }; + CostObjectiveElementConfiguration _doubleArrow_3 = ObjectExtensions.operator_doubleArrow(_costObjectiveElementConfiguration_3, _function_4); + it.elements.add(_doubleArrow_3); + CostObjectiveElementConfiguration _costObjectiveElementConfiguration_4 = new CostObjectiveElementConfiguration(); + final Procedure1 _function_5 = (CostObjectiveElementConfiguration it_1) -> { + it_1.patternQualifiedName = CloseTrains_step_6.instance().getFullyQualifiedName(); + it_1.weight = 27; + }; + CostObjectiveElementConfiguration _doubleArrow_4 = ObjectExtensions.operator_doubleArrow(_costObjectiveElementConfiguration_4, _function_5); + it.elements.add(_doubleArrow_4); + CostObjectiveElementConfiguration _costObjectiveElementConfiguration_5 = new CostObjectiveElementConfiguration(); + final Procedure1 _function_6 = (CostObjectiveElementConfiguration it_1) -> { + it_1.patternQualifiedName = CloseTrains_step_7.instance().getFullyQualifiedName(); + it_1.weight = 48; + }; + CostObjectiveElementConfiguration _doubleArrow_5 = ObjectExtensions.operator_doubleArrow(_costObjectiveElementConfiguration_5, _function_6); + it.elements.add(_doubleArrow_5); + CloseTrainsObjectiveHint _closeTrainsObjectiveHint = new CloseTrainsObjectiveHint(ecore2Logic, ecore2LogicTrace); + it.hint = _closeTrainsObjectiveHint; + break; + case trainLocations: + CostObjectiveElementConfiguration _costObjectiveElementConfiguration_6 = new CostObjectiveElementConfiguration(); + final Procedure1 _function_7 = (CostObjectiveElementConfiguration it_1) -> { + it_1.patternQualifiedName = TrainLocations_step_2.instance().getFullyQualifiedName(); + it_1.weight = ((14 + 53) + 11); + }; + CostObjectiveElementConfiguration _doubleArrow_6 = ObjectExtensions.operator_doubleArrow(_costObjectiveElementConfiguration_6, _function_7); + it.elements.add(_doubleArrow_6); + CostObjectiveElementConfiguration _costObjectiveElementConfiguration_7 = new CostObjectiveElementConfiguration(); + final Procedure1 _function_8 = (CostObjectiveElementConfiguration it_1) -> { + it_1.patternQualifiedName = TrainLocations_step_3.instance().getFullyQualifiedName(); + it_1.weight = 48; + }; + CostObjectiveElementConfiguration _doubleArrow_7 = ObjectExtensions.operator_doubleArrow(_costObjectiveElementConfiguration_7, _function_8); + it.elements.add(_doubleArrow_7); + TrainLocationsObjectiveHint _trainLocationsObjectiveHint = new TrainLocationsObjectiveHint(ecore2Logic, ecore2LogicTrace); + it.hint = _trainLocationsObjectiveHint; + break; + case misalignedTurnout: + CostObjectiveElementConfiguration _costObjectiveElementConfiguration_8 = new CostObjectiveElementConfiguration(); + final Procedure1 _function_9 = (CostObjectiveElementConfiguration it_1) -> { + it_1.patternQualifiedName = MisalignedTurnout_step_2.instance().getFullyQualifiedName(); + it_1.weight = ((14 + 53) + 11); + }; + CostObjectiveElementConfiguration _doubleArrow_8 = ObjectExtensions.operator_doubleArrow(_costObjectiveElementConfiguration_8, _function_9); + it.elements.add(_doubleArrow_8); + CostObjectiveElementConfiguration _costObjectiveElementConfiguration_9 = new CostObjectiveElementConfiguration(); + final Procedure1 _function_10 = (CostObjectiveElementConfiguration it_1) -> { + it_1.patternQualifiedName = MisalignedTurnout_step_3.instance().getFullyQualifiedName(); + it_1.weight = 108; + }; + CostObjectiveElementConfiguration _doubleArrow_9 = ObjectExtensions.operator_doubleArrow(_costObjectiveElementConfiguration_9, _function_10); + it.elements.add(_doubleArrow_9); + CostObjectiveElementConfiguration _costObjectiveElementConfiguration_10 = new CostObjectiveElementConfiguration(); + final Procedure1 _function_11 = (CostObjectiveElementConfiguration it_1) -> { + it_1.patternQualifiedName = MisalignedTurnout_step_4.instance().getFullyQualifiedName(); + it_1.weight = 27; + }; + CostObjectiveElementConfiguration _doubleArrow_10 = ObjectExtensions.operator_doubleArrow(_costObjectiveElementConfiguration_10, _function_11); + it.elements.add(_doubleArrow_10); + CostObjectiveElementConfiguration _costObjectiveElementConfiguration_11 = new CostObjectiveElementConfiguration(); + final Procedure1 _function_12 = (CostObjectiveElementConfiguration it_1) -> { + it_1.patternQualifiedName = MisalignedTurnout_step_5.instance().getFullyQualifiedName(); + it_1.weight = 48; + }; + CostObjectiveElementConfiguration _doubleArrow_11 = ObjectExtensions.operator_doubleArrow(_costObjectiveElementConfiguration_11, _function_12); + it.elements.add(_doubleArrow_11); + MisalignedTurnoutObjectiveHint _misalignedTurnoutObjectiveHint = new MisalignedTurnoutObjectiveHint(ecore2Logic, ecore2LogicTrace); + it.hint = _misalignedTurnoutObjectiveHint; + break; + case endOfSiding: + CostObjectiveElementConfiguration _costObjectiveElementConfiguration_12 = new CostObjectiveElementConfiguration(); + final Procedure1 _function_13 = (CostObjectiveElementConfiguration it_1) -> { + it_1.patternQualifiedName = EndOfSiding_step_2.instance().getFullyQualifiedName(); + it_1.weight = ((14 + 53) + 11); + }; + CostObjectiveElementConfiguration _doubleArrow_12 = ObjectExtensions.operator_doubleArrow(_costObjectiveElementConfiguration_12, _function_13); + it.elements.add(_doubleArrow_12); + CostObjectiveElementConfiguration _costObjectiveElementConfiguration_13 = new CostObjectiveElementConfiguration(); + final Procedure1 _function_14 = (CostObjectiveElementConfiguration it_1) -> { + it_1.patternQualifiedName = EndOfSiding_step_3.instance().getFullyQualifiedName(); + it_1.weight = (21 + 14); + }; + CostObjectiveElementConfiguration _doubleArrow_13 = ObjectExtensions.operator_doubleArrow(_costObjectiveElementConfiguration_13, _function_14); + it.elements.add(_doubleArrow_13); + CostObjectiveElementConfiguration _costObjectiveElementConfiguration_14 = new CostObjectiveElementConfiguration(); + final Procedure1 _function_15 = (CostObjectiveElementConfiguration it_1) -> { + it_1.patternQualifiedName = EndOfSiding_step_4.instance().getFullyQualifiedName(); + it_1.weight = (((((((14 + 35) + 21) + 15) + 14) + 21) + 15) + 11); + }; + CostObjectiveElementConfiguration _doubleArrow_14 = ObjectExtensions.operator_doubleArrow(_costObjectiveElementConfiguration_14, _function_15); + it.elements.add(_doubleArrow_14); + CostObjectiveElementConfiguration _costObjectiveElementConfiguration_15 = new CostObjectiveElementConfiguration(); + final Procedure1 _function_16 = (CostObjectiveElementConfiguration it_1) -> { + it_1.patternQualifiedName = EndOfSiding_step_5.instance().getFullyQualifiedName(); + it_1.weight = 48; + }; + CostObjectiveElementConfiguration _doubleArrow_15 = ObjectExtensions.operator_doubleArrow(_costObjectiveElementConfiguration_15, _function_16); + it.elements.add(_doubleArrow_15); + EndOfSidingObjectiveHint _endOfSidingObjectiveHint = new EndOfSidingObjectiveHint(ecore2Logic, ecore2LogicTrace); + it.hint = _endOfSidingObjectiveHint; + break; + default: + throw new IllegalArgumentException(("Unknown monitoring query: " + this.monitoringQuery)); + } + } else { + throw new IllegalArgumentException(("Unknown monitoring query: " + this.monitoringQuery)); + } + it.kind = ObjectiveKind.HIGHER_IS_BETTER; + it.threshold = ObjectiveThreshold.NO_THRESHOLD; + it.findExtremum = true; + }; + return ObjectExtensions.operator_doubleArrow(_costObjectiveConfiguration, _function); + } + public static Object init() { Object _xblockexpression = null; { diff --git a/Domains/ca.mcgill.rtgmrt.example.modes3/xtend-gen/modes3/run/TrainLocationsObjectiveHint.java b/Domains/ca.mcgill.rtgmrt.example.modes3/xtend-gen/modes3/run/TrainLocationsObjectiveHint.java new file mode 100644 index 00000000..570f9deb --- /dev/null +++ b/Domains/ca.mcgill.rtgmrt.example.modes3/xtend-gen/modes3/run/TrainLocationsObjectiveHint.java @@ -0,0 +1,117 @@ +package modes3.run; + +import com.google.common.collect.ImmutableList; +import hu.bme.mit.inf.dslreasoner.ecore2logic.Ecore2Logic; +import hu.bme.mit.inf.dslreasoner.ecore2logic.Ecore2Logic_Trace; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Type; +import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.cardinality.Dimension; +import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.cardinality.ExtendedLinearExpressionBuilder; +import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.cardinality.ExtendedLinearExpressionBuilderFactory; +import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.cardinality.PolyhedronExtensionOperator; +import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.optimization.CostElementMatch; +import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.optimization.CostElementMatchers; +import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.optimization.CostObjectiveHint; +import java.util.Collection; +import java.util.List; +import java.util.Map; +import java.util.Set; +import modes3.Modes3Package; +import modes3.queries.TrainLocations_step_2; +import modes3.queries.TrainLocations_step_3; +import org.eclipse.xtext.xbase.lib.Extension; +import org.eclipse.xtext.xbase.lib.Functions.Function1; +import org.eclipse.xtext.xbase.lib.IterableExtensions; + +@SuppressWarnings("all") +public class TrainLocationsObjectiveHint extends CostObjectiveHint { + private final Type segmentType; + + private final Type trainType; + + public TrainLocationsObjectiveHint(@Extension final Ecore2Logic ecore2Logic, final Ecore2Logic_Trace ecore2LogicTrace) { + @Extension + final Modes3Package Modes3Package = modes3.Modes3Package.eINSTANCE; + this.segmentType = ecore2Logic.TypeofEClass(ecore2LogicTrace, Modes3Package.getSegment()); + this.trainType = ecore2Logic.TypeofEClass(ecore2LogicTrace, Modes3Package.getTrain()); + } + + @Override + public boolean isExact() { + return true; + } + + @Override + public PolyhedronExtensionOperator createPolyhedronExtensionOperator(final Map costElementMatchers) { + PolyhedronExtensionOperator _xblockexpression = null; + { + final CostElementMatchers step2 = costElementMatchers.get(TrainLocations_step_2.instance().getFullyQualifiedName()); + final CostElementMatchers step3 = costElementMatchers.get(TrainLocations_step_3.instance().getFullyQualifiedName()); + final PolyhedronExtensionOperator _function = (ExtendedLinearExpressionBuilderFactory it) -> { + final ExtendedLinearExpressionBuilder objectiveBuilder = it.createBuilder(); + ImmutableList _matches = step2.getMatches(); + for (final CostElementMatch m : _matches) { + { + final Dimension dimension = it.getDimension(m.getMatch()); + objectiveBuilder.add(step2.getWeight(), dimension); + dimension.tightenLowerBound(Integer.valueOf(0)); + boolean _isMulti = m.isMulti(); + if (_isMulti) { + it.createBuilder().add(1, dimension).add((-1), this.trainType).build().assertEqualsTo(0); + } else { + dimension.tightenUpperBound(Integer.valueOf(1)); + boolean _isMust = m.isMust(); + if (_isMust) { + dimension.tightenLowerBound(Integer.valueOf(1)); + } + } + } + } + final ImmutableList step3Matches = step3.getMatches(); + for (final CostElementMatch m_1 : step3Matches) { + { + final Dimension dimension = it.getDimension(m_1.getMatch()); + objectiveBuilder.add(step3.getWeight(), dimension); + dimension.tightenLowerBound(Integer.valueOf(0)); + boolean _isMulti = m_1.isMulti(); + boolean _not = (!_isMulti); + if (_not) { + dimension.tightenUpperBound(Integer.valueOf(1)); + boolean _isMust = m_1.isMust(); + if (_isMust) { + dimension.tightenLowerBound(Integer.valueOf(1)); + } + } + } + } + TrainLocationsObjectiveHint.boundLimit(it, step3Matches, 2, this.trainType, 1); + TrainLocationsObjectiveHint.boundLimit(it, step3Matches, 3, this.segmentType, 1); + this.buildWithBounds(objectiveBuilder); + }; + _xblockexpression = _function; + } + return _xblockexpression; + } + + private static void boundLimit(@Extension final ExtendedLinearExpressionBuilderFactory factory, final Collection matches, final int index, final Type type, final int count) { + final Function1 _function = (CostElementMatch it) -> { + return it.getMatch().get(index); + }; + Set>> _entrySet = IterableExtensions.groupBy(matches, _function).entrySet(); + for (final Map.Entry> pair : _entrySet) { + { + final ExtendedLinearExpressionBuilder multiplicityBuilder = factory.createBuilder(); + List _value = pair.getValue(); + for (final CostElementMatch m : _value) { + multiplicityBuilder.add(1, m.getMatch()); + } + boolean _isMulti = CostElementMatchers.isMulti(pair.getKey()); + if (_isMulti) { + multiplicityBuilder.add((-count), type); + multiplicityBuilder.build().tightenUpperBound(Integer.valueOf(0)); + } else { + multiplicityBuilder.build().tightenUpperBound(Integer.valueOf(count)); + } + } + } + } +} diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.alloyexamples/META-INF/MANIFEST.MF b/Domains/hu.bme.mit.inf.dslreasoner.domains.alloyexamples/META-INF/MANIFEST.MF index 5fb85170..cc71bd06 100644 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.alloyexamples/META-INF/MANIFEST.MF +++ b/Domains/hu.bme.mit.inf.dslreasoner.domains.alloyexamples/META-INF/MANIFEST.MF @@ -15,7 +15,6 @@ Require-Bundle: org.eclipse.viatra.addon.querybasedfeatures.runtime, org.eclipse.viatra.query.runtime, org.eclipse.core.runtime, org.eclipse.emf.ecore;visibility:=reexport, - org.eclipse.emf.emfstore.common, com.google.guava, org.eclipse.xtext.xbase.lib, org.eclipse.xtend.lib, diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/META-INF/MANIFEST.MF b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/META-INF/MANIFEST.MF index b9da0f0b..ec1557e8 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/META-INF/MANIFEST.MF +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/META-INF/MANIFEST.MF @@ -8,7 +8,8 @@ Export-Package: hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra, hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.interval, hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.interval.aggregators, hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.patterns, - hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.queries + hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.queries, + hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.rules Require-Bundle: hu.bme.mit.inf.dslreasoner.logic.model;bundle-version="1.0.0", hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage;bundle-version="1.0.0", hu.bme.mit.inf.dslreasoner.ecore2logic;bundle-version="1.0.0", diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/ModelGenerationMethodProvider.xtend b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/ModelGenerationMethodProvider.xtend deleted file mode 100644 index 3bcd9116..00000000 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/ModelGenerationMethodProvider.xtend +++ /dev/null @@ -1,226 +0,0 @@ -package hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra - -import com.google.common.collect.ImmutableMap -import com.google.common.collect.ImmutableSet -import hu.bme.mit.inf.dslreasoner.logic.model.builder.DocumentationLevel -import hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicProblem -import hu.bme.mit.inf.dslreasoner.viatra2logic.viatra2logicannotations.TransfomedViatraQuery -import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.cardinality.CbcPolyhedronSolver -import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.cardinality.LinearTypeConstraintHint -import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.cardinality.MultiplicityGoalConstraintCalculator -import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.cardinality.PolyhedronScopePropagator -import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.cardinality.RelationConstraintCalculator -import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.cardinality.ScopePropagator -import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.cardinality.ScopePropagatorStrategy -import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.cardinality.TypeHierarchyScopePropagator -import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.cardinality.Z3PolyhedronSolver -import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.patterns.GeneratedPatterns -import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.patterns.ModalPatternQueries -import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.patterns.PatternProvider -import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.patterns.UnitPropagationPatternGenerator -import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.rules.GoalConstraintProvider -import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.rules.RefinementRuleProvider -import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.PartialInterpretation -import hu.bme.mit.inf.dslreasoner.workspace.ReasonerWorkspace -import java.util.Collection -import java.util.List -import java.util.Map -import java.util.Set -import org.eclipse.viatra.query.runtime.api.GenericQueryGroup -import org.eclipse.viatra.query.runtime.api.IPatternMatch -import org.eclipse.viatra.query.runtime.api.IQuerySpecification -import org.eclipse.viatra.query.runtime.api.ViatraQueryEngine -import org.eclipse.viatra.query.runtime.api.ViatraQueryMatcher -import org.eclipse.viatra.query.runtime.emf.EMFScope -import org.eclipse.viatra.query.runtime.matchers.psystem.PConstraint -import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PQuery -import org.eclipse.viatra.transformation.runtime.emf.rules.batch.BatchTransformationRule -import org.eclipse.xtend.lib.annotations.Data - -class ModelGenerationStatistics { - public var long transformationExecutionTime = 0 - - synchronized def addExecutionTime(long amount) { - transformationExecutionTime += amount - } - - public var long scopePropagationTime = 0 - - synchronized def addScopePropagationTime(long amount) { - scopePropagationTime += amount - } - - public var long mustRelationPropagationTime = 0 - - synchronized def addMustRelationPropagationTime(long amount) { - mustRelationPropagationTime += amount - } - - public var long preliminaryTypeAnalisisTime = 0 - - public var int decisionsTried = 0 - - synchronized def incrementDecisionCount() { - decisionsTried++ - } - - public var int transformationInvocations - - synchronized def incrementTransformationCount() { - transformationInvocations++ - } - - public var int scopePropagatorInvocations - - synchronized def incrementScopePropagationCount() { - scopePropagatorInvocations++ - } - - public var int scopePropagatorSolverInvocations - - synchronized def incrementScopePropagationSolverCount() { - scopePropagatorSolverInvocations++ - } -} - -@Data class ModelGenerationMethod { - ModelGenerationStatistics statistics - - Collection> objectRefinementRules - Collection> relationRefinementRules - - List unfinishedMultiplicities - - Collection>> unfinishedWF - - Collection>> invalidWF - - Map>> mustUnitPropagationPreconditions - Map>> currentUnitPropagationPreconditions - - Map modalRelationQueries - - Collection>> allPatterns -} - -enum TypeInferenceMethod { - Generic, - PreliminaryAnalysis -} - -class ModelGenerationMethodProvider { - val PatternProvider patternProvider = new PatternProvider - val RefinementRuleProvider refinementRuleProvider = new RefinementRuleProvider - val GoalConstraintProvider goalConstraintProvider = new GoalConstraintProvider - val relationConstraintCalculator = new RelationConstraintCalculator - - def ModelGenerationMethod createModelGenerationMethod( - LogicProblem logicProblem, - PartialInterpretation emptySolution, - ReasonerWorkspace workspace, - boolean nameNewElements, - TypeInferenceMethod typeInferenceMethod, - boolean calculateObjectCreationCosts, - ScopePropagatorStrategy scopePropagatorStrategy, - Collection hints, - Collection unitPropagationPatternGenerators, - DocumentationLevel debugLevel - ) { - val statistics = new ModelGenerationStatistics - val writeFiles = (debugLevel === DocumentationLevel.NORMAL || debugLevel === DocumentationLevel.FULL) - - val Set existingQueries = logicProblem.relations.map[annotations].flatten.filter(TransfomedViatraQuery). - map[it.patternPQuery as PQuery].toSet - - val relationConstraints = relationConstraintCalculator.calculateRelationConstraints(logicProblem) - val queries = patternProvider.generateQueries(logicProblem, emptySolution, statistics, existingQueries, - workspace, typeInferenceMethod, scopePropagatorStrategy, relationConstraints, hints, - unitPropagationPatternGenerators, writeFiles) - - val scopePropagator = createScopePropagator(scopePropagatorStrategy, emptySolution, hints, queries, statistics) - scopePropagator.propagateAllScopeConstraints - val unitRulePropagator = refinementRuleProvider.createUnitPrulePropagator(logicProblem, emptySolution, - queries, scopePropagator, statistics) - val objectRefinementRules = refinementRuleProvider.createObjectRefinementRules(logicProblem, emptySolution, - queries, unitRulePropagator, nameNewElements, statistics) - val relationRefinementRules = refinementRuleProvider.createRelationRefinementRules(queries, unitRulePropagator, - statistics) - - val unfinishedMultiplicities = goalConstraintProvider.getUnfinishedMultiplicityQueries(logicProblem, queries, - calculateObjectCreationCosts) - - val unfinishedWF = queries.getUnfinishedWFQueries.values - - val modalRelationQueriesBuilder = ImmutableMap.builder - for (entry : queries.modalRelationQueries.entrySet) { - val annotation = entry.key.annotations.filter(TransfomedViatraQuery).head - if (annotation !== null) { - modalRelationQueriesBuilder.put(annotation.patternFullyQualifiedName, entry.value) - } - } - val modalRelationQueries = modalRelationQueriesBuilder.build - - val invalidWF = queries.getInvalidWFQueries.values - - val mustUnitPropagationPreconditions = queries.getMustUnitPropagationPreconditionPatterns - val currentUnitPropagationPreconditions = queries.getCurrentUnitPropagationPreconditionPatterns - - val queriesToPrepare = ImmutableSet.builder.addAll(queries.refineObjectQueries.values).addAll( - queries.refineTypeQueries.values).addAll(queries.refineRelationQueries.values).addAll(queries. - multiplicityConstraintQueries.values.flatMap[allQueries]).addAll(queries.unfinishedWFQueries.values).addAll( - queries.invalidWFQueries.values).addAll(queries.mustUnitPropagationPreconditionPatterns.values).addAll( - queries.currentUnitPropagationPreconditionPatterns.values).add(queries.hasElementInContainmentQuery).build - val queryEngine = ViatraQueryEngine.on(new EMFScope(emptySolution)) - GenericQueryGroup.of(queriesToPrepare).prepare(queryEngine) - - return new ModelGenerationMethod( - statistics, - objectRefinementRules.values, - relationRefinementRules.values, - unfinishedMultiplicities, - unfinishedWF, - invalidWF, - mustUnitPropagationPreconditions, - currentUnitPropagationPreconditions, - modalRelationQueries, - queries.allQueries - ) - } - - private def createScopePropagator(ScopePropagatorStrategy scopePropagatorStrategy, - PartialInterpretation emptySolution, Collection hints, GeneratedPatterns queries, - ModelGenerationStatistics statistics) { - if (!hints.empty && !(scopePropagatorStrategy instanceof ScopePropagatorStrategy.Polyhedral)) { - throw new IllegalArgumentException("Only the Polyhedral scope propagator strategy can use hints.") - } - switch (scopePropagatorStrategy) { - case ScopePropagatorStrategy.None, - case ScopePropagatorStrategy.Basic: - new ScopePropagator(emptySolution, statistics) - case ScopePropagatorStrategy.BasicTypeHierarchy: - new TypeHierarchyScopePropagator(emptySolution, statistics) - ScopePropagatorStrategy.Polyhedral: { - val types = queries.refineObjectQueries.keySet.map[newType].toSet - val allPatternsByName = queries.allQueries.toMap[fullyQualifiedName] - val solver = switch (scopePropagatorStrategy.solver) { - case Z3Integer: - new Z3PolyhedronSolver(false, scopePropagatorStrategy.timeoutSeconds) - case Z3Real: - new Z3PolyhedronSolver(true, scopePropagatorStrategy.timeoutSeconds) - case Cbc: - new CbcPolyhedronSolver(false, scopePropagatorStrategy.timeoutSeconds, true) - case Clp: - new CbcPolyhedronSolver(true, scopePropagatorStrategy.timeoutSeconds, true) - default: - throw new IllegalArgumentException("Unknown polyhedron solver: " + - scopePropagatorStrategy.solver) - } - new PolyhedronScopePropagator(emptySolution, statistics, types, queries.multiplicityConstraintQueries, - queries.hasElementInContainmentQuery, allPatternsByName, hints, solver, - scopePropagatorStrategy.requiresUpperBoundIndexing, scopePropagatorStrategy.updateHeuristic) - } - default: - throw new IllegalArgumentException("Unknown scope propagator strategy: " + scopePropagatorStrategy) - } - } -} diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/ModelGenerationStatistics.xtend b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/ModelGenerationStatistics.xtend new file mode 100644 index 00000000..bd5bf807 --- /dev/null +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/ModelGenerationStatistics.xtend @@ -0,0 +1,47 @@ +package hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra + +class ModelGenerationStatistics { + public var long transformationExecutionTime = 0 + + synchronized def addExecutionTime(long amount) { + transformationExecutionTime += amount + } + + public var long scopePropagationTime = 0 + + synchronized def addScopePropagationTime(long amount) { + scopePropagationTime += amount + } + + public var long mustRelationPropagationTime = 0 + + synchronized def addMustRelationPropagationTime(long amount) { + mustRelationPropagationTime += amount + } + + public var long preliminaryTypeAnalisisTime = 0 + + public var int decisionsTried = 0 + + synchronized def incrementDecisionCount() { + decisionsTried++ + } + + public var int transformationInvocations + + synchronized def incrementTransformationCount() { + transformationInvocations++ + } + + public var int scopePropagatorInvocations + + synchronized def incrementScopePropagationCount() { + scopePropagatorInvocations++ + } + + public var int scopePropagatorSolverInvocations + + synchronized def incrementScopePropagationSolverCount() { + scopePropagatorSolverInvocations++ + } +} diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/TypeInferenceMethod.xtend b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/TypeInferenceMethod.xtend new file mode 100644 index 00000000..9296a0be --- /dev/null +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/TypeInferenceMethod.xtend @@ -0,0 +1,44 @@ +package hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra + +import com.google.common.collect.ImmutableMap +import com.google.common.collect.ImmutableSet +import hu.bme.mit.inf.dslreasoner.logic.model.builder.DocumentationLevel +import hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicProblem +import hu.bme.mit.inf.dslreasoner.viatra2logic.viatra2logicannotations.TransfomedViatraQuery +import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.cardinality.CachingSimplePolyhedronScopePropagatorStrategy +import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.cardinality.CbcPolyhedronSolver +import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.cardinality.LinearTypeConstraintHint +import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.cardinality.MultiplicityGoalConstraintCalculator +import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.cardinality.PolyhedronScopePropagator +import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.cardinality.RelationConstraintCalculator +import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.cardinality.ScopePropagator +import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.cardinality.ScopePropagatorStrategy +import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.cardinality.TypeHierarchyScopePropagator +import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.cardinality.Z3PolyhedronSolver +import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.patterns.GeneratedPatterns +import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.patterns.ModalPatternQueries +import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.patterns.PatternProvider +import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.patterns.UnitPropagationPatternGenerator +import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.rules.GoalConstraintProvider +import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.rules.RefinementRuleProvider +import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.PartialInterpretation +import hu.bme.mit.inf.dslreasoner.workspace.ReasonerWorkspace +import java.util.Collection +import java.util.List +import java.util.Map +import java.util.Set +import org.eclipse.viatra.query.runtime.api.GenericQueryGroup +import org.eclipse.viatra.query.runtime.api.IPatternMatch +import org.eclipse.viatra.query.runtime.api.IQuerySpecification +import org.eclipse.viatra.query.runtime.api.ViatraQueryEngine +import org.eclipse.viatra.query.runtime.api.ViatraQueryMatcher +import org.eclipse.viatra.query.runtime.emf.EMFScope +import org.eclipse.viatra.query.runtime.matchers.psystem.PConstraint +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PQuery +import org.eclipse.viatra.transformation.runtime.emf.rules.batch.BatchTransformationRule +import org.eclipse.xtend.lib.annotations.Data + +enum TypeInferenceMethod { + Generic, + PreliminaryAnalysis +} \ No newline at end of file diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/cardinality/ExtendedLinearExpressionBuilderFactory.xtend b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/cardinality/ExtendedLinearExpressionBuilderFactory.xtend new file mode 100644 index 00000000..6054affe --- /dev/null +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/cardinality/ExtendedLinearExpressionBuilderFactory.xtend @@ -0,0 +1,140 @@ +package hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.cardinality + +import com.google.common.collect.ImmutableList +import com.google.common.collect.ImmutableMap +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Type +import java.util.ArrayList +import java.util.HashMap +import java.util.HashSet +import java.util.List +import java.util.Map +import java.util.Set +import org.eclipse.viatra.query.runtime.api.IPatternMatch +import org.eclipse.xtend.lib.annotations.Accessors +import org.eclipse.xtend.lib.annotations.FinalFieldsConstructor + +interface BoundSaturationListener { + def void boundsSaturated(Integer lower, Integer upper) +} + +interface ExtendedLinearExpressionBuilderFactory { + def ExtendedLinearExpressionBuilder createBuilder() + + def Dimension getDimension(IPatternMatch patternMatch) +} + +interface ExtendedLinearExpressionBuilder extends LinearTypeExpressionBuilder { + override ExtendedLinearExpressionBuilder add(int scale, Type type) + + def ExtendedLinearExpressionBuilder add(int scale, IPatternMatch patternMatch) + + def ExtendedLinearExpressionBuilder add(int scale, Dimension dimension) + + def LinearBoundedExpression build(BoundSaturationListener listener) +} + +class ExtendedPolyhedronBuilder implements ExtendedLinearExpressionBuilderFactory { + val Map typeBounds + val Map, LinearBoundedExpression> expressionsCache + + val ImmutableList.Builder dimensions = ImmutableList.builder + val Set constraints = new HashSet + val Set expressionsToSaturate = new HashSet + val Map patternMatchCounts = new HashMap + @Accessors(PUBLIC_GETTER) val List> saturationListeners = new ArrayList + + new(Polyhedron polyhedron, Map typeBounds, + Map, LinearBoundedExpression> initialExpressionsCache) { + this.typeBounds = typeBounds + this.expressionsCache = new HashMap(initialExpressionsCache) + dimensions.addAll(polyhedron.dimensions) + constraints.addAll(polyhedron.constraints) + expressionsToSaturate.addAll(polyhedron.expressionsToSaturate) + } + + override createBuilder() { + new ExtendedLinearExpressionBuilderImpl(this) + } + + override getDimension(IPatternMatch patternMatch) { + patternMatchCounts.computeIfAbsent(patternMatch) [ key | + val dimension = new Dimension(key.toString, 0, null) + dimensions.add(dimension) + dimension + ] + } + + def buildPolyhedron() { + new Polyhedron( + dimensions.build, + ImmutableList.copyOf(constraints), + ImmutableList.copyOf(expressionsToSaturate) + ) + } + + @FinalFieldsConstructor + private static class ExtendedLinearExpressionBuilderImpl implements ExtendedLinearExpressionBuilder { + val ExtendedPolyhedronBuilder polyhedronBuilder + + val Map coefficients = new HashMap + + override add(int scale, Type type) { + val expression = polyhedronBuilder.typeBounds.get(type) + if (expression === null) { + throw new IllegalArgumentException("Unknown Type: " + type) + } + add(scale, expression) + } + + override add(int scale, IPatternMatch patternMatch) { + val dimension = polyhedronBuilder.getDimension(patternMatch) + add(scale, dimension) + } + + private def add(int scale, LinearBoundedExpression expression) { + switch (expression) { + Dimension: add(scale, expression) + LinearConstraint: add(scale, expression.coefficients) + default: throw new IllegalArgumentException("Unknown LinearBoundedExpression: " + expression) + } + } + + private def add(int scale, Map coefficients) { + for (pair : coefficients.entrySet) { + add(scale * pair.value, pair.key) + } + this + } + + override add(int scale, Dimension dimension) { + coefficients.merge(dimension, scale)[a, b|a + b] + this + } + + override build() { + val filteredCoefficients = ImmutableMap.copyOf(coefficients.filter [ _, coefficient | + coefficient != 0 + ]) + polyhedronBuilder.expressionsCache.computeIfAbsent(filteredCoefficients) [ map | + if (map.size == 1) { + val pair = map.entrySet.head + if (pair.value == 1) { + return pair.key + } + } + val constraint = new LinearConstraint(map) + polyhedronBuilder.constraints.add(constraint) + constraint + ] + } + + override build(BoundSaturationListener listener) { + val expression = build() + if (listener !== null) { + polyhedronBuilder.expressionsToSaturate.add(expression) + polyhedronBuilder.saturationListeners.add(expression -> listener) + } + expression + } + } +} diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/cardinality/ExtendedPolyhedronScopePropagatorStrategy.xtend b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/cardinality/ExtendedPolyhedronScopePropagatorStrategy.xtend new file mode 100644 index 00000000..32923396 --- /dev/null +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/cardinality/ExtendedPolyhedronScopePropagatorStrategy.xtend @@ -0,0 +1,63 @@ +package hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.cardinality + +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Type +import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.ModelGenerationStatistics +import java.util.Collection +import java.util.Map +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Relation + +interface PolyhedronExtensionOperator { + def void extendPolyhedron(ExtendedLinearExpressionBuilderFactory factory) +} + +class ExtendedPolyhedronScopePropagatorStrategy extends PolyhedronScopePropagatorStrategy { + val PolyhedronSolver solver + val Collection extensionOperators + + var Map typeBounds + var Map, LinearBoundedExpression> initialExpressionsCache + + new(PolyhedronSolver solver, Collection extensionOperators, + ModelGenerationStatistics statistics) { + super(statistics) + this.solver = solver + this.extensionOperators = extensionOperators + } + + override setPolyhedron(Polyhedron polyhedron, Map typeBounds, + Map, LinearBoundedExpression> initialExpressionsCache) { + super.setPolyhedron(polyhedron, typeBounds, initialExpressionsCache) + this.typeBounds = typeBounds + this.initialExpressionsCache = initialExpressionsCache + } + + override isRelevantRelation(Relation relation) { + true + } + + override protected doSaturate() { + val builder = new ExtendedPolyhedronBuilder(polyhedron, typeBounds, initialExpressionsCache) + for (extensionOperator : extensionOperators) { + extensionOperator.extendPolyhedron(builder) + } + val extendedPolyhedron = builder.buildPolyhedron() + val saturationOperator = solver.createSaturationOperator(extendedPolyhedron) + val result = try { + saturationOperator.saturate() + } finally { + saturationOperator.close() + } + if (result == PolyhedronSaturationResult.EMPTY) { + // The partial model cannot be refined any more, we can't provide objective bounds. + for (pair : builder.saturationListeners) { + pair.value.boundsSaturated(null, null) + } + return false + } + for (pair : builder.saturationListeners) { + val expression = pair.key + pair.value.boundsSaturated(expression.lowerBound, expression.upperBound) + } + true + } +} diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/cardinality/PolyhedronScopePropagator.xtend b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/cardinality/PolyhedronScopePropagator.xtend index c28d4caa..ad8f94ab 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/cardinality/PolyhedronScopePropagator.xtend +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/cardinality/PolyhedronScopePropagator.xtend @@ -1,7 +1,5 @@ package hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.cardinality -import com.google.common.cache.Cache -import com.google.common.cache.CacheBuilder import com.google.common.collect.ImmutableList import com.google.common.collect.ImmutableMap import com.google.common.collect.ImmutableSet @@ -23,7 +21,6 @@ import java.util.HashSet import java.util.List import java.util.Map import java.util.Set -import javax.naming.OperationNotSupportedException import org.eclipse.viatra.query.runtime.api.IPatternMatch import org.eclipse.viatra.query.runtime.api.IQuerySpecification import org.eclipse.viatra.query.runtime.api.ViatraQueryEngine @@ -32,31 +29,29 @@ import org.eclipse.viatra.query.runtime.emf.EMFScope import org.eclipse.xtend.lib.annotations.FinalFieldsConstructor class PolyhedronScopePropagator extends TypeHierarchyScopePropagator { - static val CACHE_SIZE = 10000 - val boolean updateHeuristic val Map scopeBounds val LinearBoundedExpression topLevelBounds val Polyhedron polyhedron - val PolyhedronSaturationOperator operator + val PolyhedronScopePropagatorStrategy strategy val Set relevantRelations - val Cache cache = CacheBuilder.newBuilder.maximumSize(CACHE_SIZE).build List updaters = emptyList new(PartialInterpretation p, ModelGenerationStatistics statistics, Set possibleNewDynamicTypes, Map unfinishedMultiplicityQueries, IQuerySpecification> hasElementInContainmentQuery, Map>> allPatternsByName, - Collection hints, PolyhedronSolver solver, boolean propagateRelations, - boolean updateHeuristic) { + Collection hints, PolyhedronScopePropagatorStrategy strategy, + boolean propagateRelations, boolean updateHeuristic) { super(p, statistics) this.updateHeuristic = updateHeuristic + this.strategy = strategy val builder = new PolyhedronBuilder(p) builder.buildPolyhedron(possibleNewDynamicTypes) scopeBounds = builder.scopeBounds topLevelBounds = builder.topLevelBounds polyhedron = builder.polyhedron - operator = solver.createSaturationOperator(polyhedron) + strategy.setPolyhedron(polyhedron, builder.typeBounds, builder.expressionsCache) propagateAllScopeConstraints() if (propagateRelations) { val maximumNumberOfNewNodes = topLevelBounds.upperBound @@ -80,30 +75,10 @@ class PolyhedronScopePropagator extends TypeHierarchyScopePropagator { resetBounds() populatePolyhedronFromScope() // println(polyhedron) - val signature = polyhedron.createSignature - val cachedSignature = cache.getIfPresent(signature) - switch (cachedSignature) { - case null: { - statistics.incrementScopePropagationSolverCount - val result = operator.saturate() - if (result == PolyhedronSaturationResult.EMPTY) { - cache.put(signature, PolyhedronSignature.EMPTY) -// println("INVALID") - setScopesInvalid() - } else { - val resultSignature = polyhedron.createSignature - cache.put(signature, resultSignature) - populateScopesFromPolyhedron() - } - } - case PolyhedronSignature.EMPTY: - setScopesInvalid() - PolyhedronSignature.Bounds: { - polyhedron.applySignature(signature) - populateScopesFromPolyhedron() - } - default: - throw new IllegalStateException("Unknown polyhedron signature: " + signature) + if (strategy.saturate) { + populateScopesFromPolyhedron() + } else { + setScopesInvalid() } // println(polyhedron) if (updateHeuristic) { @@ -112,9 +87,9 @@ class PolyhedronScopePropagator extends TypeHierarchyScopePropagator { } override isPropagationNeededAfterAdditionToRelation(Relation r) { - relevantRelations.contains(r) || super.isPropagationNeededAfterAdditionToRelation(r) + relevantRelations.contains(r) || strategy.isRelevantRelation(r) || super.isPropagationNeededAfterAdditionToRelation(r) } - + override isQueryEngineFlushRequiredBeforePropagation() { true } @@ -253,7 +228,10 @@ class PolyhedronScopePropagator extends TypeHierarchyScopePropagator { } buildRelevantRelations(constraints.keySet) for (hint : hints) { - updatersBuilder.add(hint.createConstraintUpdater(this)) + val updater = hint.createConstraintUpdater(this) + if (updater !== null) { + updatersBuilder.add(updater) + } } updaters = updatersBuilder.build addCachedConstraintsToPolyhedron() @@ -410,7 +388,7 @@ class PolyhedronScopePropagator extends TypeHierarchyScopePropagator { for (scope : p.scopes) { switch (targetTypeInterpretation : scope.targetTypeInterpretation) { PartialPrimitiveInterpretation: - throw new OperationNotSupportedException("Primitive type scopes are not yet implemented") + throw new IllegalStateException("Primitive type scopes are not yet implemented") PartialComplexTypeInterpretation: { val complexType = targetTypeInterpretation.interpretationOf val typeBound = typeBounds.get(complexType) diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/cardinality/PolyhedronScopePropagatorStrategy.xtend b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/cardinality/PolyhedronScopePropagatorStrategy.xtend new file mode 100644 index 00000000..f93dcd18 --- /dev/null +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/cardinality/PolyhedronScopePropagatorStrategy.xtend @@ -0,0 +1,92 @@ +package hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.cardinality + +import com.google.common.cache.Cache +import com.google.common.cache.CacheBuilder +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Relation +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Type +import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.ModelGenerationStatistics +import java.util.Map +import org.eclipse.xtend.lib.annotations.Accessors +import org.eclipse.xtend.lib.annotations.FinalFieldsConstructor + +@FinalFieldsConstructor +abstract class PolyhedronScopePropagatorStrategy { + val ModelGenerationStatistics statistics + + @Accessors(PUBLIC_GETTER) var Polyhedron polyhedron + + def void setPolyhedron(Polyhedron polyhedron, Map typeBounds, + Map, LinearBoundedExpression> initialExpressionsCache) { + if (this.polyhedron !== null) { + throw new IllegalStateException("polyhedron was already set") + } + this.polyhedron = polyhedron + initialize() + } + + def boolean saturate() { + if (polyhedron === null) { + throw new IllegalStateException("polyhedron was not set") + } + doSaturate() + } + + def boolean isRelevantRelation(Relation relation) { + false + } + + protected def incrementScopePropagationSolverCount() { + statistics.incrementScopePropagationSolverCount() + } + + protected def void initialize() { + } + + protected def boolean doSaturate() +} + +@FinalFieldsConstructor +class CachingSimplePolyhedronScopePropagatorStrategy extends PolyhedronScopePropagatorStrategy { + static val CACHE_SIZE = 10000 + + val PolyhedronSolver solver + + val Cache cache = CacheBuilder.newBuilder.maximumSize(CACHE_SIZE).build + var PolyhedronSaturationOperator operator + + new(PolyhedronSolver solver, ModelGenerationStatistics statistics) { + super(statistics) + this.solver = solver + } + + override protected initialize() { + operator = solver.createSaturationOperator(polyhedron) + } + + override protected doSaturate() { + val signature = polyhedron.createSignature + val cachedSignature = cache.getIfPresent(signature) + switch (cachedSignature) { + case null: { + incrementScopePropagationSolverCount() + val result = operator.saturate() + if (result == PolyhedronSaturationResult.EMPTY) { + cache.put(signature, PolyhedronSignature.EMPTY) + false + } else { + val resultSignature = polyhedron.createSignature + cache.put(signature, resultSignature) + true + } + } + case PolyhedronSignature.EMPTY: + false + PolyhedronSignature.Bounds: { + polyhedron.applySignature(signature) + true + } + default: + throw new IllegalStateException("Unknown polyhedron signature: " + signature) + } + } +} diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/cardinality/PolyhedronSolver.xtend b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/cardinality/PolyhedronSolver.xtend index 4e046190..21bd2d9e 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/cardinality/PolyhedronSolver.xtend +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/cardinality/PolyhedronSolver.xtend @@ -116,7 +116,7 @@ abstract class PolyhedronSignature { } @Accessors -abstract class LinearBoundedExpression { +class Bounds { var Integer lowerBound var Integer upperBound @@ -132,12 +132,19 @@ abstract class LinearBoundedExpression { } } + def void assertBetween(Integer tighterLowerBound, Integer tighterUpperBound) { + tightenLowerBound(tighterLowerBound) + tightenUpperBound(tighterUpperBound) + } + def void assertEqualsTo(int bound) { - tightenLowerBound(bound) - tightenUpperBound(bound) + assertBetween(bound, bound) } } +abstract class LinearBoundedExpression extends Bounds { +} + @Accessors class Dimension extends LinearBoundedExpression { val String name diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/META-INF/MANIFEST.MF b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/META-INF/MANIFEST.MF index 4ad61ccb..402a0b7d 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/META-INF/MANIFEST.MF +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/META-INF/MANIFEST.MF @@ -4,6 +4,7 @@ Bundle-Name: Reasoner Bundle-SymbolicName: hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner Bundle-Version: 1.0.0.qualifier Export-Package: hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner, + hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.dse, hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.optimization Require-Bundle: hu.bme.mit.inf.dslreasoner.ecore2logic;bundle-version="1.0.0", hu.bme.mit.inf.dslreasoner.logic.model;bundle-version="1.0.0", diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/ModelGenerationMethodBasedGlobalConstraint.xtend b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/ModelGenerationMethodBasedGlobalConstraint.xtend index 9ef5e091..691e0645 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/ModelGenerationMethodBasedGlobalConstraint.xtend +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/ModelGenerationMethodBasedGlobalConstraint.xtend @@ -1,7 +1,6 @@ package hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner import org.eclipse.viatra.dse.objectives.IGlobalConstraint -import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.ModelGenerationMethod abstract class ModelGenerationMethodBasedGlobalConstraint implements IGlobalConstraint { val protected ModelGenerationMethod method diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/ModelGenerationMethodProvider.xtend b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/ModelGenerationMethodProvider.xtend new file mode 100644 index 00000000..25137eba --- /dev/null +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/ModelGenerationMethodProvider.xtend @@ -0,0 +1,201 @@ +package hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner + +import com.google.common.collect.ImmutableMap +import com.google.common.collect.ImmutableSet +import hu.bme.mit.inf.dslreasoner.logic.model.builder.DocumentationLevel +import hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicProblem +import hu.bme.mit.inf.dslreasoner.viatra2logic.viatra2logicannotations.TransfomedViatraQuery +import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.ModelGenerationStatistics +import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.cardinality.CachingSimplePolyhedronScopePropagatorStrategy +import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.cardinality.CbcPolyhedronSolver +import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.cardinality.LinearTypeConstraintHint +import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.cardinality.MultiplicityGoalConstraintCalculator +import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.cardinality.PolyhedronExtensionOperator +import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.cardinality.PolyhedronScopePropagator +import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.cardinality.RelationConstraintCalculator +import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.cardinality.ScopePropagator +import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.cardinality.ScopePropagatorStrategy +import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.cardinality.TypeHierarchyScopePropagator +import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.cardinality.Z3PolyhedronSolver +import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.patterns.GeneratedPatterns +import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.patterns.ModalPatternQueries +import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.patterns.PatternProvider +import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.rules.GoalConstraintProvider +import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.rules.RefinementRuleProvider +import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.PartialInterpretation +import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.dse.DiversityChecker +import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.dse.ViatraReasonerSolutionSaver +import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.optimization.ThreeValuedCostObjectiveProvider +import hu.bme.mit.inf.dslreasoner.workspace.ReasonerWorkspace +import java.util.Collection +import java.util.List +import java.util.Map +import java.util.Set +import org.eclipse.viatra.dse.objectives.IObjective +import org.eclipse.viatra.query.runtime.api.GenericQueryGroup +import org.eclipse.viatra.query.runtime.api.IPatternMatch +import org.eclipse.viatra.query.runtime.api.IQuerySpecification +import org.eclipse.viatra.query.runtime.api.ViatraQueryEngine +import org.eclipse.viatra.query.runtime.api.ViatraQueryMatcher +import org.eclipse.viatra.query.runtime.emf.EMFScope +import org.eclipse.viatra.query.runtime.matchers.psystem.PConstraint +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PQuery +import org.eclipse.viatra.transformation.runtime.emf.rules.batch.BatchTransformationRule +import org.eclipse.xtend.lib.annotations.Data +import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.cardinality.ExtendedPolyhedronScopePropagatorStrategy + +@Data class ModelGenerationMethod { + ModelGenerationStatistics statistics + + Collection> objectRefinementRules + Collection> relationRefinementRules + + List unfinishedMultiplicities + + Collection>> unfinishedWF + + Collection>> invalidWF + + Map>> mustUnitPropagationPreconditions + Map>> currentUnitPropagationPreconditions + + Map modalRelationQueries + + Collection>> allPatterns + + Collection costObjectives + boolean optimizationProblem + ViatraReasonerSolutionSaver solutionSaver +} + +class ModelGenerationMethodProvider { + val PatternProvider patternProvider = new PatternProvider + val RefinementRuleProvider refinementRuleProvider = new RefinementRuleProvider + val GoalConstraintProvider goalConstraintProvider = new GoalConstraintProvider + val relationConstraintCalculator = new RelationConstraintCalculator + + def ModelGenerationMethod createModelGenerationMethod( + LogicProblem logicProblem, + PartialInterpretation emptySolution, + ReasonerWorkspace workspace, + ViatraReasonerConfiguration config + ) { + val statistics = new ModelGenerationStatistics + val debugLevel = config.documentationLevel + val writeFiles = (debugLevel === DocumentationLevel.NORMAL || debugLevel === DocumentationLevel.FULL) + + val Set existingQueries = logicProblem.relations.map[annotations].flatten.filter(TransfomedViatraQuery). + map[it.patternPQuery as PQuery].toSet + + val relationConstraints = relationConstraintCalculator.calculateRelationConstraints(logicProblem) + val queries = patternProvider.generateQueries(logicProblem, emptySolution, statistics, existingQueries, + workspace, config.typeInferenceMethod, config.scopePropagatorStrategy, relationConstraints, config.hints, + config.unitPropagationPatternGenerators, writeFiles) + + val unfinishedMultiplicities = goalConstraintProvider.getUnfinishedMultiplicityQueries(logicProblem, queries, + config.calculateObjectCreationCosts) + val unfinishedWF = queries.getUnfinishedWFQueries.values + val modalRelationQueriesBuilder = ImmutableMap.builder + for (entry : queries.modalRelationQueries.entrySet) { + val annotation = entry.key.annotations.filter(TransfomedViatraQuery).head + if (annotation !== null) { + modalRelationQueriesBuilder.put(annotation.patternFullyQualifiedName, entry.value) + } + } + val modalRelationQueries = modalRelationQueriesBuilder.build + val invalidWF = queries.getInvalidWFQueries.values + val mustUnitPropagationPreconditions = queries.getMustUnitPropagationPreconditionPatterns + val currentUnitPropagationPreconditions = queries.getCurrentUnitPropagationPreconditionPatterns + val queriesToPrepare = ImmutableSet.builder.addAll(queries.refineObjectQueries.values).addAll( + queries.refineTypeQueries.values).addAll(queries.refineRelationQueries.values).addAll( + queries.mustRelationPropagationQueries.values).addAll(queries.multiplicityConstraintQueries.values.flatMap [ + allQueries + ]).addAll(queries.unfinishedWFQueries.values).addAll(queries.invalidWFQueries.values).addAll( + queries.mustUnitPropagationPreconditionPatterns.values).addAll( + queries.currentUnitPropagationPreconditionPatterns.values).add(queries.hasElementInContainmentQuery).build + val queryEngine = ViatraQueryEngine.on(new EMFScope(emptySolution)) + GenericQueryGroup.of(queriesToPrepare).prepare(queryEngine) + + val objectiveProvider = new ThreeValuedCostObjectiveProvider(queryEngine, emptySolution, modalRelationQueries) + val transformedObjectives = objectiveProvider.getCostObjectives(config.costObjectives) + + val solutionSaver = new ViatraReasonerSolutionSaver(transformedObjectives.leveledExtremalObjectives, + config.solutionScope.numberOfRequiredSolutions, DiversityChecker.of(config.diversityRequirement)) + + val allHints = ImmutableSet.builder + allHints.addAll(config.hints) + for (hint : transformedObjectives.hints) { + hint.boundsProvider = solutionSaver + allHints.add(hint) + } + + val scopePropagator = createScopePropagator(config.scopePropagatorStrategy, emptySolution, allHints.build, + transformedObjectives.extensionOperators, queries, statistics) + scopePropagator.propagateAllScopeConstraints + val unitRulePropagator = refinementRuleProvider.createUnitPrulePropagator(logicProblem, emptySolution, queries, + scopePropagator, statistics) + val objectRefinementRules = refinementRuleProvider.createObjectRefinementRules(logicProblem, emptySolution, + queries, unitRulePropagator, config.nameNewElements, statistics) + val relationRefinementRules = refinementRuleProvider.createRelationRefinementRules(queries, unitRulePropagator, + statistics) + + return new ModelGenerationMethod( + statistics, + objectRefinementRules.values, + relationRefinementRules.values, + unfinishedMultiplicities, + unfinishedWF, + invalidWF, + mustUnitPropagationPreconditions, + currentUnitPropagationPreconditions, + modalRelationQueries, + queries.allQueries, + transformedObjectives.objectives, + transformedObjectives.optimizationProblem, + solutionSaver + ) + } + + private def createScopePropagator(ScopePropagatorStrategy scopePropagatorStrategy, + PartialInterpretation emptySolution, Collection hints, + Collection extensionOperators, GeneratedPatterns queries, + ModelGenerationStatistics statistics) { + if (!hints.empty && !(scopePropagatorStrategy instanceof ScopePropagatorStrategy.Polyhedral)) { + throw new IllegalArgumentException("Only the Polyhedral scope propagator strategy can use hints.") + } + switch (scopePropagatorStrategy) { + case ScopePropagatorStrategy.None, + case ScopePropagatorStrategy.Basic: + new ScopePropagator(emptySolution, statistics) + case ScopePropagatorStrategy.BasicTypeHierarchy: + new TypeHierarchyScopePropagator(emptySolution, statistics) + ScopePropagatorStrategy.Polyhedral: { + val types = queries.refineObjectQueries.keySet.map[newType].toSet + val allPatternsByName = queries.allQueries.toMap[fullyQualifiedName] + val solver = switch (scopePropagatorStrategy.solver) { + case Z3Integer: + new Z3PolyhedronSolver(false, scopePropagatorStrategy.timeoutSeconds) + case Z3Real: + new Z3PolyhedronSolver(true, scopePropagatorStrategy.timeoutSeconds) + case Cbc: + new CbcPolyhedronSolver(false, scopePropagatorStrategy.timeoutSeconds, true) + case Clp: + new CbcPolyhedronSolver(true, scopePropagatorStrategy.timeoutSeconds, true) + default: + throw new IllegalArgumentException("Unknown polyhedron solver: " + + scopePropagatorStrategy.solver) + } + val strategy = if (extensionOperators.empty) { + new CachingSimplePolyhedronScopePropagatorStrategy(solver, statistics) + } else { + new ExtendedPolyhedronScopePropagatorStrategy(solver, extensionOperators, statistics) + } + new PolyhedronScopePropagator(emptySolution, statistics, types, queries.multiplicityConstraintQueries, + queries.hasElementInContainmentQuery, allPatternsByName, hints, strategy, + scopePropagatorStrategy.requiresUpperBoundIndexing, scopePropagatorStrategy.updateHeuristic) + } + default: + throw new IllegalArgumentException("Unknown scope propagator strategy: " + scopePropagatorStrategy) + } + } +} diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/ViatraReasoner.xtend b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/ViatraReasoner.xtend index 8e05665c..8e992741 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/ViatraReasoner.xtend +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/ViatraReasoner.xtend @@ -1,7 +1,5 @@ package hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner -import com.google.common.collect.ImmutableList -import com.google.common.collect.Lists import hu.bme.mit.inf.dslreasoner.logic.model.builder.DocumentationLevel import hu.bme.mit.inf.dslreasoner.logic.model.builder.LogicReasoner import hu.bme.mit.inf.dslreasoner.logic.model.builder.LogicReasonerException @@ -11,7 +9,6 @@ import hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicProblem import hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicproblemPackage import hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicresultFactory import hu.bme.mit.inf.dslreasoner.logic.model.logicresult.ModelResult -import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.ModelGenerationMethodProvider import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.cardinality.ScopePropagatorStrategy import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.PartialInterpretationInitialiser import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.PartialInterpretation @@ -22,7 +19,6 @@ import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.sta import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.statecoder.PairwiseNeighbourhoodBasedStateCoderFactory import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.dse.BasicScopeGlobalConstraint import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.dse.BestFirstStrategyForModelGeneration -import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.dse.DiversityChecker import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.dse.InconsistentScopeGlobalConstraint import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.dse.LoggerSolutionFoundHandler import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.dse.ModelGenerationCompositeObjective @@ -32,11 +28,8 @@ import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.dse.PunishSizeObjective import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.dse.ScopeObjective import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.dse.SurelyViolatedObjectiveGlobalConstraint import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.dse.UnfinishedMultiplicityObjective -import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.dse.ViatraReasonerSolutionSaver import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.dse.WF2ObjectiveConverter import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.optimization.ObjectiveKind -import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.optimization.ThreeValuedCostElement -import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.optimization.ThreeValuedCostObjective import hu.bme.mit.inf.dslreasoner.workspace.ReasonerWorkspace import java.util.List import java.util.Map @@ -86,13 +79,7 @@ class ViatraReasoner extends LogicReasoner { problem, emptySolution, workspace, - viatraConfig.nameNewElements, - viatraConfig.typeInferenceMethod, - viatraConfig.calculateObjectCreationCosts, - viatraConfig.scopePropagatorStrategy, - viatraConfig.hints, - viatraConfig.unitPropagationPatternGenerators, - viatraConfig.documentationLevel + viatraConfig ) val compositeObjective = new ModelGenerationCompositeObjective( @@ -112,45 +99,21 @@ class ViatraReasoner extends LogicReasoner { dse.addObjective(punishObjective) } - val extremalObjectives = Lists.newArrayListWithExpectedSize(viatraConfig.costObjectives.size) - for (entry : viatraConfig.costObjectives.indexed) { - val objectiveName = '''costObjective«entry.key»''' - val objectiveConfig = entry.value - val elementsBuilder = ImmutableList.builder - for (elementConfig : objectiveConfig.elements) { - val relationName = elementConfig.patternQualifiedName - val modalQueries = method.modalRelationQueries.get(relationName) - if (modalQueries === null) { - throw new IllegalArgumentException("Unknown relation: " + relationName) - } - elementsBuilder.add(new ThreeValuedCostElement( - modalQueries.currentQuery, - modalQueries.mayQuery, - modalQueries.mustQuery, - elementConfig.weight - )) - } - val costElements = elementsBuilder.build - val costObjective = new ThreeValuedCostObjective(objectiveName, costElements, objectiveConfig.kind, - objectiveConfig.threshold, 3) + for (costObjective : method.costObjectives) { dse.addObjective(costObjective) - if (objectiveConfig.findExtremum) { - extremalObjectives += costObjective - } } - val numberOfRequiredSolutions = configuration.solutionScope.numberOfRequiredSolutions - val solutionStore = if (extremalObjectives.empty) { - new SolutionStore(numberOfRequiredSolutions) - } else { + val solutionStore = if (method.optimizationProblem) { new SolutionStore() + } else { + new SolutionStore(numberOfRequiredSolutions) } solutionStore.registerSolutionFoundHandler(new LoggerSolutionFoundHandler(viatraConfig)) - val diversityChecker = DiversityChecker.of(viatraConfig.diversityRequirement) val numericSolver = new NumericSolver(method, viatraConfig.runIntermediateNumericalConsistencyChecks, false) - val solutionSaver = new ViatraReasonerSolutionSaver(newArrayList(extremalObjectives), numberOfRequiredSolutions, - diversityChecker, numericSolver) + val solutionSaver = method.solutionSaver + solutionSaver.numericSolver = numericSolver val solutionCopier = solutionSaver.solutionCopier + val diversityChecker = solutionSaver.diversityChecker solutionStore.withSolutionSaver(solutionSaver) dse.solutionStore = solutionStore @@ -185,7 +148,8 @@ class ViatraReasoner extends LogicReasoner { dse.addTransformationRule(rule) } - val strategy = new BestFirstStrategyForModelGeneration(workspace, viatraConfig, method, solutionSaver, numericSolver) + val strategy = new BestFirstStrategyForModelGeneration(workspace, viatraConfig, method, solutionSaver, + numericSolver) viatraConfig.progressMonitor.workedForwardTransformation val transformationFinished = System.nanoTime val transformationTime = transformationFinished - transformationStartTime @@ -211,14 +175,15 @@ class ViatraReasoner extends LogicReasoner { it.value = (pair.value / 1000000) as int ] } - for(x: 0.. [ it.name = '''Solution«x+1»DetailedStatistics''' it.value = strategy.times.get(x) ] } it.entries += createIntStatisticEntry => [ - it.name = "ExplorationInitializationTime" it.value = ((strategy.explorationStarted-transformationFinished)/1000000) as int + it.name = "ExplorationInitializationTime" + it.value = ((strategy.explorationStarted - transformationFinished) / 1000000) as int ] it.entries += createIntStatisticEntry => [ it.name = "TransformationExecutionTime" @@ -253,22 +218,28 @@ class ViatraReasoner extends LogicReasoner { it.value = dse.numberOfStates as int ] it.entries += createIntStatisticEntry => [ - it.name = "ForwardTime" it.value = (strategy.forwardTime/1000000) as int + it.name = "ForwardTime" + it.value = (strategy.forwardTime / 1000000) as int ] it.entries += createIntStatisticEntry => [ - it.name = "BacktrackingTime" it.value = (strategy.backtrackingTime/1000000) as int + it.name = "BacktrackingTime" + it.value = (strategy.backtrackingTime / 1000000) as int ] it.entries += createIntStatisticEntry => [ - it.name = "GlobalConstraintEvaluationTime" it.value = (strategy.globalConstraintEvaluationTime/1000000) as int + it.name = "GlobalConstraintEvaluationTime" + it.value = (strategy.globalConstraintEvaluationTime / 1000000) as int ] it.entries += createIntStatisticEntry => [ - it.name = "FitnessCalculationTime" it.value = (strategy.fitnessCalculationTime/1000000) as int + it.name = "FitnessCalculationTime" + it.value = (strategy.fitnessCalculationTime / 1000000) as int ] it.entries += createIntStatisticEntry => [ - it.name = "SolutionCopyTime" it.value = (solutionSaver.totalCopierRuntime/1000000) as int + it.name = "SolutionCopyTime" + it.value = (solutionSaver.totalCopierRuntime / 1000000) as int ] it.entries += createIntStatisticEntry => [ - it.name = "ActivationSelectionTime" it.value = (strategy.activationSelector.runtime/1000000) as int + it.name = "ActivationSelectionTime" + it.value = (strategy.activationSelector.runtime / 1000000) as int ] it.entries += createIntStatisticEntry => [ it.name = "Decisions" @@ -287,27 +258,34 @@ class ViatraReasoner extends LogicReasoner { it.value = method.statistics.scopePropagatorSolverInvocations ] it.entries += createIntStatisticEntry => [ - it.name = "NumericalSolverSumTime" it.value = (strategy.numericSolver.runtime/1000000) as int + it.name = "NumericalSolverSumTime" + it.value = (strategy.numericSolver.runtime / 1000000) as int ] it.entries += createIntStatisticEntry => [ - it.name = "NumericalSolverProblemFormingTime" it.value = (strategy.numericSolver.solverFormingProblem/1000000) as int + it.name = "NumericalSolverProblemFormingTime" + it.value = (strategy.numericSolver.solverFormingProblem / 1000000) as int ] it.entries += createIntStatisticEntry => [ - it.name = "NumericalSolverSolvingTime" it.value = (strategy.numericSolver.solverSolvingProblem/1000000) as int + it.name = "NumericalSolverSolvingTime" + it.value = (strategy.numericSolver.solverSolvingProblem / 1000000) as int ] it.entries += createIntStatisticEntry => [ - it.name = "NumericalSolverInterpretingSolution" it.value = (strategy.numericSolver.solverSolution/1000000) as int + it.name = "NumericalSolverInterpretingSolution" + it.value = (strategy.numericSolver.solverSolution / 1000000) as int ] it.entries += createIntStatisticEntry => [ - it.name = "NumericalSolverCachingTime" it.value = (strategy.numericSolver.cachingTime/1000000) as int + it.name = "NumericalSolverCachingTime" + it.value = (strategy.numericSolver.cachingTime / 1000000) as int ] it.entries += createIntStatisticEntry => [ - it.name = "NumericalSolverCallNumber" it.value = strategy.numericSolver.numberOfSolverCalls + it.name = "NumericalSolverCallNumber" + it.value = strategy.numericSolver.numberOfSolverCalls ] it.entries += createIntStatisticEntry => [ - it.name = "NumericalSolverCachedAnswerNumber" it.value = strategy.numericSolver.numberOfCachedSolverCalls + it.name = "NumericalSolverCachedAnswerNumber" + it.value = strategy.numericSolver.numberOfCachedSolverCalls ] - if(diversityChecker.active) { + if (diversityChecker.active) { it.entries += createIntStatisticEntry => [ it.name = "SolutionDiversityCheckTime" it.value = (diversityChecker.totalRuntime / 1000000) as int diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/ViatraReasonerConfiguration.xtend b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/ViatraReasonerConfiguration.xtend index a2ed6016..fbe6da9d 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/ViatraReasonerConfiguration.xtend +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/ViatraReasonerConfiguration.xtend @@ -4,7 +4,6 @@ import hu.bme.mit.inf.dslreasoner.logic.model.builder.LogicReasoner import hu.bme.mit.inf.dslreasoner.logic.model.builder.LogicSolverConfiguration import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.RelationDeclaration import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.TypeDeclaration -import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.ModelGenerationMethod import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.TypeInferenceMethod import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.cardinality.LinearTypeConstraintHint import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.cardinality.PolyhedralScopePropagatorConstraints @@ -12,6 +11,7 @@ import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.cardinality.Polyhedr import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.cardinality.ScopePropagatorStrategy import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.patterns.UnitPropagationPatternGenerator import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.visualisation.PartialInterpretationVisualiser +import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.optimization.CostObjectiveHint import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.optimization.ObjectiveKind import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.optimization.ObjectiveThreshold import java.util.LinkedList @@ -114,9 +114,11 @@ class CostObjectiveConfiguration { public var ObjectiveKind kind public var ObjectiveThreshold threshold public var boolean findExtremum + public var CostObjectiveHint hint } class CostObjectiveElementConfiguration { public var String patternQualifiedName public var int weight } + diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/BestFirstStrategyForModelGeneration.java b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/BestFirstStrategyForModelGeneration.java index 4800f71d..4b7cead1 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/BestFirstStrategyForModelGeneration.java +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/BestFirstStrategyForModelGeneration.java @@ -28,8 +28,6 @@ import org.eclipse.viatra.dse.objectives.Fitness; import org.eclipse.viatra.dse.objectives.ObjectiveComparatorHelper; import org.eclipse.viatra.dse.solutionstore.ISolutionFoundHandler; import org.eclipse.viatra.dse.solutionstore.SolutionStore; -import org.eclipse.viatra.query.runtime.api.IPatternMatch; -import org.eclipse.viatra.query.runtime.api.ViatraQueryMatcher; import hu.bme.mit.inf.dslreasoner.logic.model.builder.DocumentationLevel; import hu.bme.mit.inf.dslreasoner.logic.model.builder.LogicReasoner; @@ -37,12 +35,11 @@ import hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicProblem; import hu.bme.mit.inf.dslreasoner.logic.model.logicresult.InconsistencyResult; import hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicResult; import hu.bme.mit.inf.dslreasoner.logic.model.logicresult.ModelResult; -import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.ModelGenerationMethod; import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretation2logic.PartialInterpretation2Logic; import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.PartialInterpretation; -import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.statecoder.NeighbourhoodBasedPartialInterpretationStateCoder; import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.visualisation.PartialInterpretationVisualisation; import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.visualisation.PartialInterpretationVisualiser; +import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.ModelGenerationMethod; import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.ViatraReasonerConfiguration; import hu.bme.mit.inf.dslreasoner.workspace.ReasonerWorkspace; @@ -301,7 +298,7 @@ public class BestFirstStrategyForModelGeneration implements IStrategy { return activationIds; } - private void checkForSolution(final Fitness fittness) { + private void checkForSolution(final Fitness fitness) { solutionStore.newSolution(context); } diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/NumericSolver.xtend b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/NumericSolver.xtend index 066040a0..70e8e9c2 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/NumericSolver.xtend +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/NumericSolver.xtend @@ -1,13 +1,13 @@ package hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.dse import hu.bme.mit.inf.dslreasoner.viatra2logic.NumericTranslator -import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.ModelGenerationMethod import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.BooleanElement import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.IntegerElement import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.PartialInterpretation import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.PrimitiveElement import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.RealElement import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.StringElement +import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.ModelGenerationMethod import java.math.BigDecimal import java.util.HashMap import java.util.LinkedHashMap diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/PartialModelAsLogicInterpretation.xtend b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/PartialModelAsLogicInterpretation.xtend index cfd11816..b48d0831 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/PartialModelAsLogicInterpretation.xtend +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/PartialModelAsLogicInterpretation.xtend @@ -22,12 +22,13 @@ import java.util.List import java.util.Map import java.util.TreeSet import org.eclipse.emf.ecore.EObject +import org.eclipse.xtend.lib.annotations.Accessors import org.eclipse.xtext.xbase.lib.Functions.Function1 import static extension hu.bme.mit.inf.dslreasoner.util.CollectionsUtil.* class PartialModelAsLogicInterpretation implements LogicModelInterpretation{ - val PartialInterpretation partialInterpretation + @Accessors val PartialInterpretation partialInterpretation val Map trace; val Map type2Interpretation val Map relation2Interpretation diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/SolutionCopier.xtend b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/SolutionCopier.xtend index 38c8f5a1..33b69436 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/SolutionCopier.xtend +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/SolutionCopier.xtend @@ -26,16 +26,12 @@ class CopiedSolution { * using the supplied {@link NumericSolver}. */ class SolutionCopier { - val NumericSolver numericSolver val copiedSolutions = new LinkedHashMap + @Accessors NumericSolver numericSolver long startTime = System.nanoTime @Accessors(PUBLIC_GETTER) long totalCopierRuntime = 0 - new(NumericSolver numericSolver) { - this.numericSolver = numericSolver - } - def void copySolution(ThreadContext context, Object solutionId) { val existingCopy = copiedSolutions.get(solutionId) if (existingCopy === null) { @@ -47,7 +43,7 @@ class SolutionCopier { totalCopierRuntime += System.nanoTime - copyStart val copierRuntime = System.nanoTime - startTime val copiedSolution = new CopiedSolution(copiedPartialInterpretation, copier, copierRuntime) - numericSolver.fillSolutionCopy(copiedSolution.trace) + numericSolver?.fillSolutionCopy(copiedSolution.trace) copiedSolutions.put(solutionId, copiedSolution) } else { existingCopy.current = true diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/ViatraReasonerSolutionSaver.xtend b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/ViatraReasonerSolutionSaver.xtend index c0b5008c..e00f76ff 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/ViatraReasonerSolutionSaver.xtend +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/ViatraReasonerSolutionSaver.xtend @@ -1,5 +1,9 @@ package hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.dse +import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.cardinality.Bounds +import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.optimization.DirectionalThresholdObjective +import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.optimization.IObjectiveBoundsProvider +import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.optimization.ObjectiveThreshold import java.util.HashMap import java.util.Map import org.eclipse.viatra.dse.api.DSEException @@ -18,24 +22,32 @@ import org.eclipse.xtend.lib.annotations.Accessors * Will also automatically fill any missing numerical values in the saved solutions * using the supplied {@link NumericSolver}. */ -class ViatraReasonerSolutionSaver implements ISolutionSaver { +class ViatraReasonerSolutionSaver implements ISolutionSaver, IObjectiveBoundsProvider { + static val TOLERANCE = 1e-10 + @Accessors val SolutionCopier solutionCopier - val NumericSolver numericSolver @Accessors val DiversityChecker diversityChecker + val IObjective[][] leveledExtremalObjectives val boolean hasExtremalObjectives val int numberOfRequiredSolutions val ObjectiveComparatorHelper comparatorHelper val Map trajectories = new HashMap - @Accessors(PUBLIC_SETTER) var Map solutionsCollection + @Accessors var NumericSolver numericSolver + @Accessors var Map solutionsCollection - new(IObjective[][] leveledExtremalObjectives, int numberOfRequiredSolutions, DiversityChecker diversityChecker, NumericSolver numericSolver) { + new(IObjective[][] leveledExtremalObjectives, int numberOfRequiredSolutions, DiversityChecker diversityChecker) { this.diversityChecker = diversityChecker comparatorHelper = new ObjectiveComparatorHelper(leveledExtremalObjectives) + this.leveledExtremalObjectives = leveledExtremalObjectives hasExtremalObjectives = leveledExtremalObjectives.exists[!empty] this.numberOfRequiredSolutions = numberOfRequiredSolutions - this.solutionCopier = new SolutionCopier(numericSolver) + this.solutionCopier = new SolutionCopier + } + + def setNumericSolver(NumericSolver numericSolver) { this.numericSolver = numericSolver + solutionCopier.numericSolver = numericSolver } override saveSolution(ThreadContext context, Object id, SolutionTrajectory solutionTrajectory) { @@ -51,6 +63,7 @@ class ViatraReasonerSolutionSaver implements ISolutionSaver { if (!shouldSaveSolution(fitness, context)) { return false } + println("Found: " + fitness) val dominatedTrajectories = newArrayList for (entry : trajectories.entrySet) { val isLastFitnessBetter = comparatorHelper.compare(fitness, entry.value) @@ -99,7 +112,7 @@ class ViatraReasonerSolutionSaver implements ISolutionSaver { } private def shouldSaveSolution(Fitness fitness, ThreadContext context) { - return fitness.satisifiesHardObjectives && numericSolver.currentSatisfiable + fitness.satisifiesHardObjectives && (numericSolver === null || numericSolver.currentSatisfiable) } private def basicSaveSolution(ThreadContext context, Object id, SolutionTrajectory solutionTrajectory, @@ -145,8 +158,93 @@ class ViatraReasonerSolutionSaver implements ISolutionSaver { } solutionsCollection.size < numberOfRequiredSolutions } - + def getTotalCopierRuntime() { solutionCopier.totalCopierRuntime } + + override computeRequiredBounds(IObjective objective, Bounds bounds) { + if (!hasExtremalObjectives) { + return + } + if (objective instanceof DirectionalThresholdObjective) { + switch (threshold : objective.threshold) { + case ObjectiveThreshold.NO_THRESHOLD: { + // No threshold to set. + } + ObjectiveThreshold.Exclusive: { + switch (kind : objective.kind) { + case HIGHER_IS_BETTER: + bounds.tightenLowerBound(Math.floor(threshold.threshold + 1) as int) + case LOWER_IS_BETTER: + bounds.tightenUpperBound(Math.ceil(threshold.threshold - 1) as int) + default: + throw new IllegalArgumentException("Unknown objective kind" + kind) + } + if (threshold.clampToThreshold) { + return + } + } + ObjectiveThreshold.Inclusive: { + switch (kind : objective.kind) { + case HIGHER_IS_BETTER: + bounds.tightenLowerBound(Math.ceil(threshold.threshold) as int) + case LOWER_IS_BETTER: + bounds.tightenUpperBound(Math.floor(threshold.threshold) as int) + default: + throw new IllegalArgumentException("Unknown objective kind" + kind) + } + if (threshold.clampToThreshold) { + return + } + } + default: + throw new IllegalArgumentException("Unknown threshold: " + threshold) + } + for (level : leveledExtremalObjectives) { + switch (level.size) { + case 0: { + // Nothing to do, wait for the next level. + } + case 1: { + val primaryObjective = level.get(0) + if (primaryObjective != objective) { + // There are no worst-case bounds for secondary objectives. + return + } + } + default: + // There are no worst-case bounds for Pareto front calculation. + return + } + } + val fitnessIterator = trajectories.values.iterator + if (!fitnessIterator.hasNext) { + return + } + val fitness = fitnessIterator.next.get(objective.name) + while (fitnessIterator.hasNext) { + val otherFitness = fitnessIterator.next.get(objective.name) + if (Math.abs(fitness - otherFitness) > TOLERANCE) { + throw new IllegalStateException("Inconsistent fitness: " + objective.name) + } + } + switch (kind : objective.kind) { + case HIGHER_IS_BETTER: + if (needsMoreSolutionsWithSameFitness) { + bounds.tightenLowerBound(Math.floor(fitness) as int) + } else { + bounds.tightenLowerBound(Math.floor(fitness + 1) as int) + } + case LOWER_IS_BETTER: + if (needsMoreSolutionsWithSameFitness) { + bounds.tightenUpperBound(Math.ceil(fitness) as int) + } else { + bounds.tightenUpperBound(Math.ceil(fitness - 1) as int) + } + default: + throw new IllegalArgumentException("Unknown objective kind" + kind) + } + } + } } diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/optimization/CostElementMatchers.xtend b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/optimization/CostElementMatchers.xtend new file mode 100644 index 00000000..885b14e8 --- /dev/null +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/optimization/CostElementMatchers.xtend @@ -0,0 +1,137 @@ +package hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.optimization + +import com.google.common.collect.ImmutableList +import hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicproblemPackage +import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.PartialinterpretationPackage +import java.util.List +import org.eclipse.emf.ecore.EObject +import org.eclipse.viatra.query.runtime.api.IPatternMatch +import org.eclipse.viatra.query.runtime.api.ViatraQueryMatcher +import org.eclipse.xtend.lib.annotations.Data +import hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicProblem +import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.PartialInterpretation + +@FunctionalInterface +interface ParameterScopeBound { + def double getUpperBound() +} + +@Data +class CostElementMatch { + val IPatternMatch match + val boolean must + + def isMulti() { + CostElementMatchers.isMultiMatch(match) + } +} + +@Data +class CostElementMatchers { + val ViatraQueryMatcher currentMatcher + val ViatraQueryMatcher mayMatcher + val ViatraQueryMatcher mustMatcher + val List parameterScopeBounds + val int weight + + def getCurrentNumberOfMatches() { + currentMatcher.countMatches + } + + def getMinimumNumberOfMatches() { + mustMatcher.countMatches + } + + def getMaximumNumberOfMatches() { + var double sum = 0 + val iterator = mayMatcher.streamAllMatches.iterator + while (iterator.hasNext) { + val match = iterator.next + var double product = 1 + val numberOfParameters = parameterScopeBounds.size + for (var int i = 0; i < numberOfParameters; i++) { + if (isMulti(match.get(i + 2))) { + val scopeBound = parameterScopeBounds.get(i) + product *= scopeBound.upperBound + } + + } + sum += product + } + sum + } + + def getMatches() { + ImmutableList.copyOf(mayMatcher.streamAllMatches.iterator.map [ match | + new CostElementMatch(match, mustMatcher.isMatch(match)) + ]) + } + + def projectMayMatch(IPatternMatch match, int... indices) { + mayMatcher.projectMatch(match, indices) + } + + private static def projectMatch(ViatraQueryMatcher matcher, IPatternMatch match, int... indices) { + checkMatch(match) + val n = matcher.specification.parameters.length - 2 + if (indices.length != n) { + throw new IllegalArgumentException("Invalid number of projection indices") + } + val newMatch = matcher.newEmptyMatch + newMatch.set(0, match.get(0)) + newMatch.set(1, match.get(1)) + for (var int i = 0; i < n; i++) { + newMatch.set(i + 2, match.get(indices.get(i))) + } + if (!matcher.hasMatch(newMatch)) { + throw new IllegalArgumentException("Projected match does not exist") + } + return newMatch + } + + private static def isMatch(ViatraQueryMatcher matcher, IPatternMatch match) { + val n = matcher.specification.parameters.length + if (n != match.specification.parameters.length) { + throw new IllegalArgumentException("Invalid number of match arguments") + } + val newMatch = matcher.newEmptyMatch + for (var int i = 0; i < n; i++) { + newMatch.set(i, match.get(i)) + } + return matcher.hasMatch(newMatch) + } + + static def isMulti(Object o) { + if (o instanceof EObject) { + switch (feature : o.eContainmentFeature) { + case LogicproblemPackage.eINSTANCE.logicProblem_Elements, + case PartialinterpretationPackage.eINSTANCE.partialInterpretation_NewElements: + false + case PartialinterpretationPackage.eINSTANCE.partialInterpretation_OpenWorldElements: + true + default: + throw new IllegalStateException("Unknown containment feature for element: " + feature) + } + } else { + false + } + } + + static def isMultiMatch(IPatternMatch match) { + checkMatch(match) + val n = match.specification.parameters.length + for (var int i = 2; i < n; i++) { + if (isMulti(match.get(i))) { + return true + } + } + false + } + + private static def checkMatch(IPatternMatch match) { + val n = match.specification.parameters.length + if (n < 2 || !(match.get(0) instanceof LogicProblem) || !(match.get(1) instanceof PartialInterpretation)) { + throw new IllegalArgumentException("Match is not from the partial interpretation") + } + } +} diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/optimization/CostObjectiveHint.xtend b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/optimization/CostObjectiveHint.xtend new file mode 100644 index 00000000..2434073d --- /dev/null +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/optimization/CostObjectiveHint.xtend @@ -0,0 +1,68 @@ +package hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.optimization + +import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.cardinality.BoundSaturationListener +import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.cardinality.ExtendedLinearExpressionBuilder +import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.cardinality.LinearTypeConstraintHint +import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.cardinality.LinearTypeExpressionBuilderFactory +import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.cardinality.PolyhedronExtensionOperator +import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.patterns.PatternGenerator +import java.util.Map +import org.eclipse.viatra.query.runtime.matchers.psystem.queries.PQuery +import org.eclipse.xtend.lib.annotations.Accessors + +abstract class CostObjectiveHint implements LinearTypeConstraintHint, BoundSaturationListener { + @Accessors ThreeValuedCostObjective objective + @Accessors IObjectiveBoundsProvider boundsProvider + + Integer bestUpper = null + + override getAdditionalPatterns(PatternGenerator patternGenerator, Map fqnToPQuery) { + '''''' + } + + override createConstraintUpdater(LinearTypeExpressionBuilderFactory builderFactory) { + null + } + + def isExact() { + false + } + + def PolyhedronExtensionOperator createPolyhedronExtensionOperator( + Map costElementMatchers) { + null + } + + def setObjective(ThreeValuedCostObjective objective) { + if (this.objective !== null) { + throw new IllegalStateException("Objective was already set") + } + this.objective = objective + } + + def setBoundsProvider(IObjectiveBoundsProvider boundsProvider) { + if (this.boundsProvider !== null) { + throw new IllegalStateException("Objective bounds provider was already set") + } + this.boundsProvider = boundsProvider + } + + protected def buildWithBounds(ExtendedLinearExpressionBuilder builder) { + val bounds = builder.build(this) + if (objective !== null && boundsProvider !== null) { + boundsProvider.computeRequiredBounds(objective, bounds) + } + if (exact && bestUpper !== null) { + bounds.tightenLowerBound(bestUpper) + } + bounds + } + + override boundsSaturated(Integer lower, Integer upper) { + if (upper !== null && (bestUpper === null || bestUpper < upper)) { + bestUpper = upper + } + objective?.boundsSaturated(lower, upper) + } + +} diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/optimization/IObjectiveBoundsProvider.xtend b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/optimization/IObjectiveBoundsProvider.xtend new file mode 100644 index 00000000..3c4d36a5 --- /dev/null +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/optimization/IObjectiveBoundsProvider.xtend @@ -0,0 +1,8 @@ +package hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.optimization + +import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.cardinality.Bounds +import org.eclipse.viatra.dse.objectives.IObjective + +interface IObjectiveBoundsProvider { + def void computeRequiredBounds(IObjective objective, Bounds bounds) +} diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/optimization/ThreeValuedCostObjective.xtend b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/optimization/ThreeValuedCostObjective.xtend index 0a6fd55b..9b1a7e9f 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/optimization/ThreeValuedCostObjective.xtend +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/optimization/ThreeValuedCostObjective.xtend @@ -1,85 +1,80 @@ package hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.optimization -import com.google.common.collect.ImmutableList -import java.util.Collection +import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.cardinality.BoundSaturationListener +import java.util.Map import org.eclipse.viatra.dse.base.ThreadContext -import org.eclipse.viatra.query.runtime.api.IPatternMatch -import org.eclipse.viatra.query.runtime.api.IQuerySpecification -import org.eclipse.viatra.query.runtime.api.ViatraQueryMatcher -import org.eclipse.xtend.lib.annotations.Data +import org.eclipse.xtend.lib.annotations.Accessors -@Data -class ThreeValuedCostElement { - val IQuerySpecification> currentMatchQuery - val IQuerySpecification> mayMatchQuery - val IQuerySpecification> mustMatchQuery - val int weight -} - -class ThreeValuedCostObjective extends AbstractThreeValuedObjective { - val Collection costElements - Collection matchers +class ThreeValuedCostObjective extends AbstractThreeValuedObjective implements BoundSaturationListener { + @Accessors val Map matchers + double lowerBoundHint = Double.NEGATIVE_INFINITY + double upperBoundHint = Double.POSITIVE_INFINITY - new(String name, Collection costElements, ObjectiveKind kind, ObjectiveThreshold threshold, + new(String name, Map matchers, ObjectiveKind kind, ObjectiveThreshold threshold, int level) { super(name, kind, threshold, level) - this.costElements = costElements + this.matchers = matchers } override createNew() { - new ThreeValuedCostObjective(name, costElements, kind, threshold, level) + // new ThreeValuedCostObjective(name, matchers, kind, threshold, level) + throw new UnsupportedOperationException("ThreeValuedCostObjective can only be used from a single thread") } override init(ThreadContext context) { - val queryEngine = context.queryEngine - matchers = ImmutableList.copyOf(costElements.map [ element | - new CostElementMatchers( - queryEngine.getMatcher(element.currentMatchQuery), - queryEngine.getMatcher(element.mayMatchQuery), - queryEngine.getMatcher(element.mustMatchQuery), - element.weight - ) - ]) } override getRawFitness(ThreadContext context) { - var int cost = 0 - for (matcher : matchers) { - cost += matcher.weight * matcher.currentMatcher.countMatches + var double cost = 0 + for (matcher : matchers.values) { + cost += matcher.weight * matcher.currentNumberOfMatches } - cost as double + cost } override getLowestPossibleFitness(ThreadContext threadContext) { - var int cost = 0 - for (matcher : matchers) { + var double cost = 0 + for (matcher : matchers.values) { if (matcher.weight >= 0) { - cost += matcher.weight * matcher.mustMatcher.countMatches - } else if (matcher.mayMatcher.countMatches > 0) { - // TODO Count may matches. - return Double.NEGATIVE_INFINITY + cost += matcher.weight * matcher.minimumNumberOfMatches + } else { + cost += matcher.weight * matcher.maximumNumberOfMatches } } - cost as double + val boundWithHint = Math.max(lowerBoundHint, cost) + if (boundWithHint > upperBoundHint) { + throw new IllegalStateException("Inconsistent cost bounds") + } + boundWithHint } override getHighestPossibleFitness(ThreadContext threadContext) { - var int cost = 0 - for (matcher : matchers) { + var double cost = 0 + for (matcher : matchers.values) { if (matcher.weight <= 0) { - cost += matcher.weight * matcher.mustMatcher.countMatches - } else if (matcher.mayMatcher.countMatches > 0) { - return Double.POSITIVE_INFINITY + cost += matcher.weight * matcher.minimumNumberOfMatches + } else { + cost += matcher.weight * matcher.maximumNumberOfMatches } } - cost as double + val boundWithHint = Math.min(upperBoundHint, cost) + if (boundWithHint < lowerBoundHint) { + throw new IllegalStateException("Inconsistent cost bounds") + } + boundWithHint } - @Data - private static class CostElementMatchers { - val ViatraQueryMatcher currentMatcher - val ViatraQueryMatcher mayMatcher - val ViatraQueryMatcher mustMatcher - val int weight + override boundsSaturated(Integer lower, Integer upper) { + lowerBoundHint = if (lower === null) { + Double.NEGATIVE_INFINITY + } else { + lower + } + upperBoundHint = if (upper === null) { + Double.POSITIVE_INFINITY + } else { + upper + } + println('''Bounds saturated: «lower»..«upper»''') } } diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/optimization/ThreeValuedCostObjectiveProvider.xtend b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/optimization/ThreeValuedCostObjectiveProvider.xtend new file mode 100644 index 00000000..c2750acd --- /dev/null +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/optimization/ThreeValuedCostObjectiveProvider.xtend @@ -0,0 +1,205 @@ +package hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.optimization + +import com.google.common.collect.ImmutableList +import com.google.common.collect.ImmutableMap +import com.google.common.collect.Lists +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.BoolTypeReference +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.ComplexTypeReference +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.IntTypeReference +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.RealTypeReference +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Relation +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.StringTypeReference +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.TypeDeclaration +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.TypeReference +import hu.bme.mit.inf.dslreasoner.viatra2logic.viatra2logicannotations.TransfomedViatraQuery +import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.cardinality.PolyhedronExtensionOperator +import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.patterns.ModalPatternQueries +import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.PartialBooleanInterpretation +import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.PartialComplexTypeInterpretation +import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.PartialIntegerInterpretation +import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.PartialInterpretation +import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.PartialRealInterpretation +import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.PartialStringInterpretation +import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.Scope +import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.CostObjectiveConfiguration +import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.CostObjectiveElementConfiguration +import java.util.Collection +import java.util.Map +import org.eclipse.viatra.dse.objectives.IObjective +import org.eclipse.viatra.query.runtime.api.ViatraQueryEngine +import org.eclipse.xtend.lib.annotations.Data + +@Data +class ThreeValuedCostObjectiveProviderResult { + val Collection objectives + val Collection hints + val Collection extensionOperators + val IObjective[][] leveledExtremalObjectives + val boolean optimizationProblem +} + +class ThreeValuedCostObjectiveProvider { + static val COST_OBJECTIVE_LEVEL = 3 + + val ViatraQueryEngine queryEngine + val Map modalRelationQueries + val Map qualifiedNameToRelationMap + val ParameterScopeBound defaultBounds + val ParameterScopeBound booleanBounds + val ParameterScopeBound integerBounds + val ParameterScopeBound realBounds + val ParameterScopeBound stringBounds + val Map typeDeclarationToBoundsMap + + new(ViatraQueryEngine queryEngine, PartialInterpretation interpretation, + Map modalRelationQueries) { + this.queryEngine = queryEngine + this.modalRelationQueries = modalRelationQueries + qualifiedNameToRelationMap = ImmutableMap.copyOf( + interpretation.problem.annotations.filter(TransfomedViatraQuery). + toMap([patternFullyQualifiedName], [target])) + defaultBounds = new PartialInterpretationBasedParameterScopeBound(interpretation) + var ParameterScopeBound booleanBounds = null + var ParameterScopeBound integerBounds = null + var ParameterScopeBound realBounds = null + var ParameterScopeBound stringBounds = null + val typeDeclarationToBoundsMapBuilder = ImmutableMap.builder + for (scope : interpretation.scopes) { + val bounds = new ScopeBasedParameterScopeBound(scope) + switch (typeInterpretation : scope.targetTypeInterpretation) { + PartialBooleanInterpretation: + if (booleanBounds === null) { + booleanBounds = bounds + } else { + throw new IllegalStateException("Duplicate partial boolean interpretation") + } + PartialIntegerInterpretation: + if (integerBounds === null) { + integerBounds = bounds + } else { + throw new IllegalStateException("Duplicate partial integer interpretation") + } + PartialRealInterpretation: + if (realBounds === null) { + realBounds = bounds + } else { + throw new IllegalStateException("Duplicate partial real interpretation") + } + PartialStringInterpretation: + if (stringBounds === null) { + stringBounds = bounds + } else { + throw new IllegalStateException("Duplicate partial string interpretation") + } + PartialComplexTypeInterpretation: + typeDeclarationToBoundsMapBuilder.put(typeInterpretation.interpretationOf, bounds) + } + } + this.booleanBounds = booleanBounds ?: defaultBounds + this.integerBounds = integerBounds ?: defaultBounds + this.realBounds = realBounds ?: defaultBounds + this.stringBounds = stringBounds ?: defaultBounds + typeDeclarationToBoundsMap = typeDeclarationToBoundsMapBuilder.build + } + + def getCostObjectives(Collection costObjectives) { + val objectives = ImmutableList.builder + val hints = ImmutableList.builder + val extensionOperators = ImmutableList.builder + val extremalObjectives = Lists.newArrayListWithExpectedSize(costObjectives.size) + for (entry : costObjectives.indexed) { + val objectiveName = '''costObjective«entry.key»''' + val objectiveConfig = entry.value + val costObjective = transformCostObjective(objectiveConfig, objectiveName) + objectives.add(costObjective) + if (objectiveConfig.findExtremum) { + extremalObjectives += costObjective + } + val hint = objectiveConfig.hint + if (hint !== null) { + hints.add(hint) + hint.objective = costObjective + val extensionOperator = hint.createPolyhedronExtensionOperator(costObjective.matchers) + if (extensionOperator !== null) { + extensionOperators.add(extensionOperator) + } + } + } + new ThreeValuedCostObjectiveProviderResult( + objectives.build, + hints.build, + extensionOperators.build, + newArrayList(extremalObjectives), + !extremalObjectives.empty + ) + } + + private def transformCostObjective(CostObjectiveConfiguration configuration, String name) { + val costElements = ImmutableMap.copyOf(configuration.elements.toMap([patternQualifiedName], [ + transformCostElement + ])) + new ThreeValuedCostObjective(name, costElements, configuration.kind, configuration.threshold, + COST_OBJECTIVE_LEVEL) + } + + private def transformCostElement(CostObjectiveElementConfiguration elementConfig) { + val relationName = elementConfig.patternQualifiedName + val modalQueries = modalRelationQueries.get(relationName) + if (modalQueries === null) { + throw new IllegalArgumentException("Unknown relation queries: " + relationName) + } + val relation = qualifiedNameToRelationMap.get(relationName) + if (relation === null) { + throw new IllegalArgumentException("Unknown transformed relation: " + relationName) + } + val parameterBounds = ImmutableList.copyOf(relation.parameters.map[parameterBound]) + new CostElementMatchers( + queryEngine.getMatcher(modalQueries.currentQuery), + queryEngine.getMatcher(modalQueries.mayQuery), + queryEngine.getMatcher(modalQueries.mustQuery), + parameterBounds, + elementConfig.weight + ) + } + + private def getParameterBound(TypeReference typeReference) { + switch (typeReference) { + BoolTypeReference: booleanBounds + IntTypeReference: integerBounds + RealTypeReference: realBounds + StringTypeReference: stringBounds + ComplexTypeReference: typeDeclarationToBoundsMap.getOrDefault(typeReference.referred, defaultBounds) + } + } + + private static abstract class AbstractParameterScopeBound implements ParameterScopeBound { + override getUpperBound() { + val rawValue = rawUpperBound + if (rawValue < 0) { + Double.POSITIVE_INFINITY + } else { + rawValue + } + } + + protected def int getRawUpperBound() + } + + @Data + private static class ScopeBasedParameterScopeBound extends AbstractParameterScopeBound { + val Scope scope + + override protected getRawUpperBound() { + scope.maxNewElements + } + } + + @Data + private static class PartialInterpretationBasedParameterScopeBound extends AbstractParameterScopeBound { + val PartialInterpretation interpretation + + override protected getRawUpperBound() { + interpretation.maxNewElements + } + } +} diff --git a/Tests/MODELS2020-CaseStudies/case.study.familyTree.run/bin/.gitignore b/Tests/MODELS2020-CaseStudies/case.study.familyTree.run/bin/.gitignore new file mode 100644 index 00000000..7050a7e3 --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/case.study.familyTree.run/bin/.gitignore @@ -0,0 +1 @@ +/queries/ diff --git a/Tests/MODELS2020-CaseStudies/case.study.familyTree.run/bin/queries/.gitignore b/Tests/MODELS2020-CaseStudies/case.study.familyTree.run/bin/queries/.gitignore index 3b9ccef7..19bc3cc8 100644 --- a/Tests/MODELS2020-CaseStudies/case.study.familyTree.run/bin/queries/.gitignore +++ b/Tests/MODELS2020-CaseStudies/case.study.familyTree.run/bin/queries/.gitignore @@ -7,3 +7,7 @@ /.MemberHasParent.java._trace /.TwoMembersHaveNoParent.java._trace /.NegativeAge.java._trace +/MemberHasParent.java +/NegativeAge.java +/ParentTooYoung.java +/TwoMembersHaveNoParent.java diff --git a/Tests/MODELS2020-CaseStudies/case.study.familyTree.run/src-gen/queries/.gitignore b/Tests/MODELS2020-CaseStudies/case.study.familyTree.run/src-gen/queries/.gitignore index 3b9ccef7..19bc3cc8 100644 --- a/Tests/MODELS2020-CaseStudies/case.study.familyTree.run/src-gen/queries/.gitignore +++ b/Tests/MODELS2020-CaseStudies/case.study.familyTree.run/src-gen/queries/.gitignore @@ -7,3 +7,7 @@ /.MemberHasParent.java._trace /.TwoMembersHaveNoParent.java._trace /.NegativeAge.java._trace +/MemberHasParent.java +/NegativeAge.java +/ParentTooYoung.java +/TwoMembersHaveNoParent.java diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.originalFiles/xtend-gen/converter/.UML2TGF.xtendbin b/Tests/MODELS2020-CaseStudies/case.study.pledge.originalFiles/xtend-gen/converter/.UML2TGF.xtendbin index 5c5071cc..23513b51 100644 Binary files a/Tests/MODELS2020-CaseStudies/case.study.pledge.originalFiles/xtend-gen/converter/.UML2TGF.xtendbin and b/Tests/MODELS2020-CaseStudies/case.study.pledge.originalFiles/xtend-gen/converter/.UML2TGF.xtendbin differ diff --git a/Tests/hu.bme.mit.inf.dslreasoner.run/src/hu/bme/mit/inf/dslreasoner/run/FileSystemInconsistencyDetector.xtend b/Tests/hu.bme.mit.inf.dslreasoner.run/src/hu/bme/mit/inf/dslreasoner/run/FileSystemInconsistencyDetector.xtend index f4f36951..9cc6e415 100644 --- a/Tests/hu.bme.mit.inf.dslreasoner.run/src/hu/bme/mit/inf/dslreasoner/run/FileSystemInconsistencyDetector.xtend +++ b/Tests/hu.bme.mit.inf.dslreasoner.run/src/hu/bme/mit/inf/dslreasoner/run/FileSystemInconsistencyDetector.xtend @@ -1,10 +1,10 @@ package hu.bme.mit.inf.dslreasoner.run -import org.eclipse.viatra.query.runtime.api.ViatraQueryMatcher import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.PartialInterpretation +import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.ModelGenerationMethod import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.ModelGenerationMethodBasedGlobalConstraint -import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.ModelGenerationMethod import org.eclipse.viatra.dse.base.ThreadContext +import org.eclipse.viatra.query.runtime.api.ViatraQueryMatcher class FileSystemInconsistencyDetector extends ModelGenerationMethodBasedGlobalConstraint { var PartialInterpretation partialInterpretation diff --git a/Tests/hu.bme.mit.inf.dslreasoner.run/src/hu/bme/mit/inf/dslreasoner/run/MetamodelLoader.xtend b/Tests/hu.bme.mit.inf.dslreasoner.run/src/hu/bme/mit/inf/dslreasoner/run/MetamodelLoader.xtend index bf9ca274..cbc692b3 100644 --- a/Tests/hu.bme.mit.inf.dslreasoner.run/src/hu/bme/mit/inf/dslreasoner/run/MetamodelLoader.xtend +++ b/Tests/hu.bme.mit.inf.dslreasoner.run/src/hu/bme/mit/inf/dslreasoner/run/MetamodelLoader.xtend @@ -12,8 +12,8 @@ import hu.bme.mit.inf.dslreasoner.ecore2logic.Ecore2Logic_Trace import hu.bme.mit.inf.dslreasoner.ecore2logic.EcoreMetamodelDescriptor import hu.bme.mit.inf.dslreasoner.partialsnapshot_mavo.yakindu.Patterns import hu.bme.mit.inf.dslreasoner.viatra2logic.ViatraQuerySetDescriptor -import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.ModelGenerationMethod import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.cardinality.LinearTypeConstraintHint +import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.ModelGenerationMethod import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.ModelGenerationMethodBasedGlobalConstraint import hu.bme.mit.inf.dslreasoner.workspace.ReasonerWorkspace import java.util.Collection diff --git a/Tests/hu.bme.mit.inf.dslreasoner.run/src/hu/bme/mit/inf/dslreasoner/run/SGraphInconsistencyDetector.xtend b/Tests/hu.bme.mit.inf.dslreasoner.run/src/hu/bme/mit/inf/dslreasoner/run/SGraphInconsistencyDetector.xtend index 22addd3d..b8167566 100644 --- a/Tests/hu.bme.mit.inf.dslreasoner.run/src/hu/bme/mit/inf/dslreasoner/run/SGraphInconsistencyDetector.xtend +++ b/Tests/hu.bme.mit.inf.dslreasoner.run/src/hu/bme/mit/inf/dslreasoner/run/SGraphInconsistencyDetector.xtend @@ -1,7 +1,7 @@ package hu.bme.mit.inf.dslreasoner.run -import hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra.ModelGenerationMethod import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.PartialInterpretation +import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.ModelGenerationMethod import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.ModelGenerationMethodBasedGlobalConstraint import org.eclipse.viatra.dse.base.ThreadContext import org.eclipse.viatra.query.runtime.api.ViatraQueryMatcher -- cgit v1.2.3-70-g09d2